@univerjs-pro/docs-shape-ui 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ar-SA.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/de-DE.js +1 -1
  5. package/lib/cjs/locale/en-US.js +1 -1
  6. package/lib/cjs/locale/es-ES.js +1 -1
  7. package/lib/cjs/locale/fa-IR.js +1 -1
  8. package/lib/cjs/locale/fr-FR.js +1 -1
  9. package/lib/cjs/locale/id-ID.js +1 -1
  10. package/lib/cjs/locale/it-IT.js +1 -1
  11. package/lib/cjs/locale/ja-JP.js +1 -1
  12. package/lib/cjs/locale/ko-KR.js +1 -1
  13. package/lib/cjs/locale/pl-PL.js +1 -1
  14. package/lib/cjs/locale/pt-BR.js +1 -1
  15. package/lib/cjs/locale/ru-RU.js +1 -1
  16. package/lib/cjs/locale/sk-SK.js +1 -1
  17. package/lib/cjs/locale/vi-VN.js +1 -1
  18. package/lib/cjs/locale/zh-CN.js +1 -1
  19. package/lib/cjs/locale/zh-HK.js +1 -1
  20. package/lib/cjs/locale/zh-TW.js +1 -1
  21. package/lib/es/index.js +1 -1
  22. package/lib/es/locale/ar-SA.js +1 -1
  23. package/lib/es/locale/ca-ES.js +1 -1
  24. package/lib/es/locale/de-DE.js +1 -1
  25. package/lib/es/locale/en-US.js +1 -1
  26. package/lib/es/locale/es-ES.js +1 -1
  27. package/lib/es/locale/fa-IR.js +1 -1
  28. package/lib/es/locale/fr-FR.js +1 -1
  29. package/lib/es/locale/id-ID.js +1 -1
  30. package/lib/es/locale/it-IT.js +1 -1
  31. package/lib/es/locale/ja-JP.js +1 -1
  32. package/lib/es/locale/ko-KR.js +1 -1
  33. package/lib/es/locale/pl-PL.js +1 -1
  34. package/lib/es/locale/pt-BR.js +1 -1
  35. package/lib/es/locale/ru-RU.js +1 -1
  36. package/lib/es/locale/sk-SK.js +1 -1
  37. package/lib/es/locale/vi-VN.js +1 -1
  38. package/lib/es/locale/zh-CN.js +1 -1
  39. package/lib/es/locale/zh-HK.js +1 -1
  40. package/lib/es/locale/zh-TW.js +1 -1
  41. package/lib/index.js +1 -1
  42. package/lib/locale/ar-SA.js +1 -1
  43. package/lib/locale/ca-ES.js +1 -1
  44. package/lib/locale/de-DE.js +1 -1
  45. package/lib/locale/en-US.js +1 -1
  46. package/lib/locale/es-ES.js +1 -1
  47. package/lib/locale/fa-IR.js +1 -1
  48. package/lib/locale/fr-FR.js +1 -1
  49. package/lib/locale/id-ID.js +1 -1
  50. package/lib/locale/it-IT.js +1 -1
  51. package/lib/locale/ja-JP.js +1 -1
  52. package/lib/locale/ko-KR.js +1 -1
  53. package/lib/locale/pl-PL.js +1 -1
  54. package/lib/locale/pt-BR.js +1 -1
  55. package/lib/locale/ru-RU.js +1 -1
  56. package/lib/locale/sk-SK.js +1 -1
  57. package/lib/locale/vi-VN.js +1 -1
  58. package/lib/locale/zh-CN.js +1 -1
  59. package/lib/locale/zh-HK.js +1 -1
  60. package/lib/locale/zh-TW.js +1 -1
  61. package/lib/umd/index.js +1 -1
  62. package/lib/umd/locale/ar-SA.js +1 -1
  63. package/lib/umd/locale/ca-ES.js +1 -1
  64. package/lib/umd/locale/de-DE.js +1 -1
  65. package/lib/umd/locale/en-US.js +1 -1
  66. package/lib/umd/locale/es-ES.js +1 -1
  67. package/lib/umd/locale/fa-IR.js +1 -1
  68. package/lib/umd/locale/fr-FR.js +1 -1
  69. package/lib/umd/locale/id-ID.js +1 -1
  70. package/lib/umd/locale/it-IT.js +1 -1
  71. package/lib/umd/locale/ja-JP.js +1 -1
  72. package/lib/umd/locale/ko-KR.js +1 -1
  73. package/lib/umd/locale/pl-PL.js +1 -1
  74. package/lib/umd/locale/pt-BR.js +1 -1
  75. package/lib/umd/locale/ru-RU.js +1 -1
  76. package/lib/umd/locale/sk-SK.js +1 -1
  77. package/lib/umd/locale/vi-VN.js +1 -1
  78. package/lib/umd/locale/zh-CN.js +1 -1
  79. package/lib/umd/locale/zh-HK.js +1 -1
  80. package/lib/umd/locale/zh-TW.js +1 -1
  81. package/package.json +21 -21
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x596e(){const _0x2bcba6=['@univerjs/drawing','_getShapePopup','getShapeQuickStylePreset','_shapeEditPanelVersion','getDrawingOKey','insertGroupObject','objects','ObjectPermissionButton','stopPropagation','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','find','attrs','docs-shape-ui.quickStyles','adjHandleSize','ShapeStyleRibbonControl','object','_drawingManagerService','_layoutInteraction','_registerObjectListPanel','_attachAdjustEvent','docs-shape-ui.textWrap.behindText','DRAWING_DOM','wrapStrategy','adjName','string','top','skeDrawings','shape-editor-ui.arrange.forward','_getShapeInfo','getRealBound','completeEditing','MoveUpIcon','drawing-ui.objectListPanel.moveBackward','autoFitType','getDrawingTypeNameKey','_initEvents','getSnapshot','backward','hidden','description','docs-shape-text-','SELECTOR','UpdateDocDrawingWrappingStyleCommand','registerClipDelegate','_initEditingParams','mask','http://www.w3.org/2000/svg','@univerjs/docs-drawing','clearActiveDrawingObjects','getShapeData','_adjHandlerPointerMove','getUnitId','function','cells','element','PaintIcon','shape-editor-ui.arrange.front','_urlImageService','ISidebarService','register','calcAdjValues','SetDocumentPermissionCommand','_isShouldShowDrawingShapeAdjust','getObjectListPanelSectionIdForDrawingType','use','_completionFrame','version','HorizontalAlign','DocsShapeWrapInlineIcon','MobileShapePickerPanel','_handleCreateControl','SolidFill','docs-shape-ui.ribbon.shape-format.arrange-forward','_shapeRenderController','7Uoavod','defs','_injector','IConfigService','toFixed','DocDrawingTextWrap','pick','viewBound','getShapeModel','skeTables','DrawingCommonPanel','useFormulaShapeToolbar','_sidebarService','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','_drawSimpleText','onPointerUp$','@univerjs/design','map','sectionFloating','getFocusDrawings','univer-grid\x20univer-gap-3','buildShapeTextDataUpdate','UniverDocsShapePlugin','DependentOn','invert','drawingType','entries','_updateAdjustControlPositions','UpdateDocShapeDataCommand','setPresentation','classType','doc.operation.apply-shape-quick-style','xlink:href','setShapeData','_registerFloatingToolbar','_context','resolveFormulaShapeAutoFitSize','setPrstGeom','Path','shapeModel','getAutoFitPresentations','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','getParagraphContentStartOffset','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','useObservable','formulaBinding','getAdjustValueByName','registerDependencies','createShapeFormulaDocument','inline','disableObjectsEvent','segmentId','ShapePickerDropdown','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','IN_FRONT_OF_TEXT','getParent','UniverDocsDrawing','vertical-center','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','DocumentViewModel','path','attachPopupToObject','canEditDocumentTargets','exports','CROSSHAIR','cos','EMPTY_PARAGRAPH_MENU_ID','resolveActiveShapeQuickStylePresetId','evenodd','startIndex','UniverProLicense','ShapeTypeEnum','_instanceService','current','featurePluginUpdateNotification','actualHeight','UpdateDrawingDocTransformCommand','_shapeFloatingToolbarService','querySelectorAll','add','getDrawingVisible','permissionPointUpdate$','ShapePickerPanel','docs-shape-ui.mobile.delete','round','scale','shape-editor-ui.toolbar.changeShape','toPrimitive','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','set','_registerComponents','clear','setFallbackVisible','getFocusedUnit','isFinite','setAdjustValueByName','getBody','_docPrintInterceptorService','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','_renderWithCache','startArrow','getSelectedObjectMap','doc.operation.open-doc-shape-format-panel','docs-shape-ui.shape-format.quick-style-gallery','getObjectIncludeInGroup','pluginName','_init','_addShapeAdjustControl','getValue','getSkeletonData','DOC_PARAGRAPH_T_INSERT_MENU_ID','515312qkDNTj','applyQuickStyleToShapeData','VerticalAlign','FOCUSING_SHAPE_TEXT_EDITOR','currentColor','DocLayoutInteractionService','TOP','drawing-ui.objectListPanel.show','startOffset','Large','_imageIoService','getDrawingPoints','_baseShapeLeft','onload','UniverShapeEditorPlugin','_activeShapeAdjustPointList','_adjustPointObjects','drawing-ui.objectListPanel.filterAll','shapeId','isHit','isMainScene','DRAWING_SHAPE','_activeAdjustInfo','contentHeight','_createShapeAdjustControls','context-bar','isReleased','src','distinctUntilChanged','docs-shape-ui.formatShape','DocDrawingPosition','DEFAULT_DOC_SHAPE_WIDTH','DocSelectionRenderService','UniverCore','MoveDownIcon','memo','top-bottom','square','toStringTag','UniverProtocol','style','onTransformChange$','DocsShapeWrapInFrontOfTextIcon','doc.shape.floating-toolbar','ShapeFormulaService','currentAdjustValues','remove$','shapeData','_baseShapeHeight','UniverLicensePlugin','vertical','_formulaAnimation','canvas','updateShapeFillImage','react','Rect','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','title','M7.55\x205.45C6.50066\x205.45\x205.65\x206.30066\x205.65\x207.35V12.65C5.65\x2013.6993\x206.50066\x2014.55\x207.55\x2014.55H12.45C13.4993\x2014.55\x2014.35\x2013.6993\x2014.35\x2012.65V7.35C14.35\x206.30066\x2013.4993\x205.45\x2012.45\x205.45H7.55ZM7.8\x206.75C7.24772\x206.75\x206.8\x207.19772\x206.8\x207.75V12.25C6.8\x2012.8023\x207.24772\x2013.25\x207.8\x2013.25H12.2C12.7523\x2013.25\x2013.2\x2012.8023\x2013.2\x2012.25V7.75C13.2\x207.19772\x2012.7523\x206.75\x2012.2\x206.75H7.8Z','getDocumentEntityPermissionObjectId','univerjs-icon\x20univerjs-icon-','spaceBelowApply','_disposePopupsByUnit','resolveShapeTextEditorWrapStrategy','UniverShapeEditorMobileUIPlugin','drawings','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','@univerjs/docs-drawing-ui','onReady','PositionedObjectLayoutType','Line','with','splice','more-up-icon','text-wrap-shape-icon','ShapeTextHyperLinkPopupService','get','doc.shape.edit.panel','applyPoint','TopmostIcon','VIEW_MAIN','getSelfOrHeaderFooterModel','viewBox','div','getShapeType','executeCommand','@univerjs/docs-ui','_loadAndSetImage','jsxs','behindText','update$','create','_formulaShapes','DocsShapeUIMenuSchema','FormatPainterSessionService','gradientEndColor','DrawingTypeEnum','_releaseRenderCache','IContextService','getBoundingClientRect','jsx','GROUP','.below','layoutType','formulaPresentation','fontFamily','_subUnitId','DocCanvasPopManagerService','getCurrentUnitOfType','120YXtLzK','drawing-ui.objectListPanel.lockAll','UniverProDocsShapeUi','ShapeDefaultConfig','522FWhwwE','_initialize','@univerjs/ui','UNIVER_DOC','DEFAULT_DOC_SHAPE_HEIGHT','5.5','ShapeFillEnum','M2\x203.5h16M2\x2016.5h16M2\x2010h5M13\x2010h5','Module','focus$','62072hTjXJt','has','save','popup','shape-editor-ui.arrange.back','_formulaKey','ShapeFormulaRibbonControl','editingParams$','LEFT','colorChannel1','ancestorTransform','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','_initPrinting','paragraphMenuPlacement','_getDisposePopups','_registerDrawingFocusChangeHandler','_isStartAdjusting','shapeType','_clearShapeAdjustControls','_isOpenedShapeEditPanel','_activeShapeId','bindRenderTransformerLifecycle','assign','_componentManager','MobileDocDrawingPosition','stroke','prototype','getPropertyPriority','onerror','scene','1584037vyQDXn','object-layers-icon','createShapeTextBoxShapeData','docs-shape-ui.shape-format.style-ribbon-control','125880icVuJY','clone','UniverDocsShapeUIPlugin','baseVal','DocInterceptorService','UniverIcon','_popupTargetKeys','back','_configService','idSuffix','clipHeight','pipe','getScene','UniverShapeEditorUIPlugin','hadStyleAttribute','_initCommands','fillImageSourceType','_univerInstanceService','SHAPE','parseFloat','docs-shape-format-font-family-menu','drawing-ui.objectListPanel.locate','complete','getShapePopupMenus','DocsShapeWrapSquareIcon','#3B82F6','type','_shapeFormulaService','_transform','M4.64645\x209.85355C4.45118\x209.65829\x204.45118\x209.34171\x204.64645\x209.14645L7.64645\x206.14645C7.84171\x205.95118\x208.15829\x205.95118\x208.35355\x206.14645L11.3536\x209.14645C11.5488\x209.34171\x2011.5488\x209.65829\x2011.3536\x209.85355C11.1583\x2010.0488\x2010.8417\x2010.0488\x2010.6464\x209.85355L8\x207.20711L5.35355\x209.85355C5.15829\x2010.0488\x204.84171\x2010.0488\x204.64645\x209.85355Z','docs-shape-ui.objectListPanel.open','setSrcRect','DRAWING_OBJECT_LAYER_INDEX','docs-shape-ui.crop.shape','MobileShapeEditorService','size','DOC_CONTENT_INSERT_MENU_ID','interceptor','getUnitType','subscribe','setConfig','#2563EB','docs-shape-contextual-ribbon','appliedStrokeWidth','stroke-width','_toScenePoint','DocEventManagerService','@univerjs-pro/engine-shape','getInverseCoord','drawing-ui.objectListPanel.unlockHint','presentation','getInterceptPoints','SetDrawingSelectedOperation','_clearPopups','hasAttribute','registerCommand','_toVisualAdjustPoint','unsubscribe','BooleanNumber','updateDocumentStyle','getDocumentEntityParentPermissionObjectIds','fill','DocPrintInterceptorService','getShapeTypeById','ArrangeTypeEnum','-layout','restore','sectionCanvas','RENDER_CLASS_TYPE','intercept','CommandType','label','useMemo','OTHERS','visible$','menu','Observable','FloatingObjectToolbarPosition','target','RibbonInsertGroup','plainShapeTextToDocumentData','changing$','_onSavingEditorData$','close','IRenderManagerService','children','from','OBJECT_LIST_FLOATING_SECTION_ID','ShapeArrowSizeEnum','UniverDocsUi','M4.2\x205.5H10.5','8851962wXRuuF','_permissionService','strokeWidth','srcRect','syncExecuteCommand','resolveShapeTextDocumentPageHeight','setOnSavingEditorData','WRAP_SQUARE','makeDirty','MobileActionRow','M2\x203h16M2\x207.5h3M15\x207.5h3M2\x2010h3M15\x2010h3M2\x2012.5h3M15\x2012.5h3M2\x2017h16','ShapeRenderModeEnum','addImageSourceCache','onCommandExecuted','clip','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','clipTop','ShapeFloatingToolbarService','dispose','docs-shape-ui.ribbon.shape-format.arrange-back','OPERATION','getDrawingData','visible','IUniverInstanceService','getPropertyValue','topmost-icon','_setTransForm','actions','fallbackWidth','_adjName','min','TRUE','getActiveTextRange','registerRenderModule','priority','DRAWING_IMAGE','ShapeEditPanel','width','setCursor','merge','getCanvasElement','cloneShapeDataForType','IDrawingManagerService','_iconManager','drawWith','IUIPartsService','1.2','docs-shape-ui.shape-format.formula-ribbon-control','UniverInstanceType','INLINE','refreshAdjustControls','Fragment','engine','getDocumentDrawingSegmentId','_registerPickers','MobileObjectListPanel','shape-format-setting-icon','rows','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','animateFormulaPresentation','doc','cancelEditing','UniverDrawingPlugin','add$','getActualSize','_activeShapeModel','VIEWPORT_KEY','doc.command.menu-insert-shape','docs-shape-ui.ribbon.shape-format.text-control','doc.operation.close-doc-shape-format-panel','ShapeTextAutoFitType','getActiveViewportByCoord','_drawingType','_getFocusedShapeAtPoint','flipY','none','value','_docDrawingShapeRenderController','defineProperty','open','_clearCompletionFrame','docs-shape-ui.config','UniverEngineRender','Shape','unregister','getShapeQuickStyleType','flipX','getImageSourceCache','UniverDrawingMobileUIPlugin','_popupMenuListener','updateContext','forwardRef','_registerDrawingTransformHandler','getMenuHiddenObservable','left','drawing-ui.objectListPanel.typeNames.','localName','IMenuManagerService','UniverProShapeEditorUi','resize','flatMap','resolveShapeTextDocumentRenderLayout','getDrawingSearch','_ribbonService','_contextService','height','isInGroup','strokeOpacity','front','selectable','_adjHandlerPointerUp','drawing-ui.objectListPanel.dragToReorder','_editingParams$','FOCUSING_COMMON_DRAWINGS','BottomIcon','_unitId','ShapeQuickStyleGallery','filter','generateRandomId','UnitObject','_canEditShape','0.8','_docCanvasPopManagerService','setFillImage','_measure','useEffect','RemoveDocDrawingCommand','endOffset','@univerjs-pro/license','_drawRichText','DocumentSkeleton','getContextValue','bottom','drawing-ui.objectListPanel.sectionFloating','_getActiveDrawingShape','useReducer','URL','call','clearAdjustControls','forward','docs-shape-ui.mobile.text','isHorizontal','custom','UniverDocsPlugin','skeFooters','_visible','shapeKey','params','isLineShape','subscribeEvent','fallbackHeight','transform','clearControl$','IPermissionService','CURSOR_TYPE','Arrow','isEditing','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','drawing-ui.objectListPanel.unlockAll','packageName','_updateShape','DocsShapeTextEditorContainer','default','Injector','drawing-ui.objectListPanel.noSelection','setShapeProps','render','beginPath','setDocsCustomBlockRenderViewportProvider','move-up-icon','docs-shape-ui.objectListPanel.title','DocSelectionManagerService','RIBBON','_baseShapeTop','composeMatrix','_applyFormulaAutoFitSize','OFFSET','paragraphId','IDocDrawingService','Documents','next','drawing-ui.objectListPanel.collapse','canDispose','IRibbonService','_initMenu','color','Medium','values','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','getShapeDataById','useId','_getShapeAdjustPointListById','createControl$','_getSceneByUnitId','icon','docs-shape-ui.ribbon.shape-format.arrange-backward','ContextMenuPosition','getImage','6966980hzMeNe','mergeMenu','reduce','docs-shape-ui.insertShape','setContextValue','@univerjs-pro/shape-editor-ui','getTextModel','getViewports','_commandService','paragraphs','COMMAND','createElement','_initSelection','unitId','rect','_shapeTextEditingService','ICommandService','getState','horizontal','_endLayoutInteraction','UniverDrawingUIPlugin','adjHandleStroke','setProperty','TextWrapShapeIcon','getShapeTextRect','multiply','1em','_docsShapeService','FromArray','behindDoc','onDblclick$','_getRenderModules','SHAPE_EDITOR_TRANSFORMER_CONFIG','Inject','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','ContextMenuGroup','setFormulaPresentation','useState','FormulaShapeAnimationController','drawing-ui.objectListPanel.filterLocked','getDrawingDataForUnit','2skHOlg','DocumentDataModel','_registerIcons','contentVerticalOffset','Plugin','adjHandleFill','activeTarget','asObservable','DOCS_COMPONENT_MAIN_LAYER_INDEX','calculate','@univerjs-pro/shape-editor','IImageIoService','replace','UNIVER_SHEET','pages','trim','ImageSourceTypeEnum','endArrow','_update','SetDocDrawingArrangeCommand','removeProperty','isolated','docs-shape-ui.deleteShape','clipByShape','doc.image-clip.shape-picker.component','originalStrokeWidth','updateDocumentDataMargin','docs-shape-ui.textWrap.topAndBottom','_menuManagerService','renderDrawingShape','drawing-ui.objectListPanel.description','connectInjector','_sidebarDisposable','DisposableCollection','parent','subUnitId','transformForAngle','ObjectLayersIcon','useImperativeHandle','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','getDrawingEditable','0\x200\x2017\x2016','UniverDocsUIPlugin','ShapeArrowTypeEnum','drawing-ui.objectListPanel.hideAll','shapeText','BehaviorSubject','_closeShapeEditPanel','shape-editor-ui.arrange.backward','_localeService','_canEdit','univer-box-border\x20univer-px-4\x20univer-text-sm','image','resolveShapeTextBodyBehavior','offsetX','docs-shape-ui.ribbon.shape-format.wrapping-style','ShapeTextFloatToolbar','_lastEditingShapeKey','UniverDocs','isRichText','drawing-ui.objectListPanel.nameInput','PARAGRAPH','_getShapeAdjustInfosById','_baseShapeWidth','transformByState','getUnit','buildClipPath','DocsShapeService','prepareShapeTextDocumentData','drawFormulaShapeAnimationLayers','React','disposeWithMe','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','M4.2\x208.3H6.8','MobileShapeEditorControls','length','getLastLine','getDrawingShapeKeyByDrawingSearch','drawing-ui.objectListPanel.lock','drawing-ui.objectListPanel.expand','marginTop','LocaleService','moveRange','univer-grid\x20univer-gap-5\x20univer-p-3','0\x200\x2020\x2020','_updateShapeAdjustControls','getDrawingOrder','docs-shape-ui.openPanel','_props','UniverProEngineShape','_clipService','UniverDrawingUi','_openShapeEditPanel','tag','MEDIA','getPresentation','@univerjs-pro/docs-shape-ui','getMatrix','IconManager','ShapeGroupEnum','span','Circle','move-down-icon','preValue','order','Vector2','prstGeom','drawing-ui.objectListPanel.moveForward','enableObjectsEvent','_registerOperations','_getActiveDrawingParam','keys','shape-editor-ui.toolbar.quickStyles','_mobileEditorService','vectorEffect','useRef','forEach','_hide','includes','getShapeTextData','drawing-ui.objectListPanel.unlock','setEditing','toDisposable','M11.3536\x206.14645C11.5488\x206.34171\x2011.5488\x206.65829\x2011.3536\x206.85355L8.35355\x209.85355C8.15829\x2010.0488\x207.84171\x2010.0488\x207.64645\x209.85355L4.64645\x206.85355C4.45118\x206.65829\x204.45118\x206.34171\x204.64645\x206.14645C4.84171\x205.95118\x205.15829\x205.95118\x205.35355\x206.14645L8\x208.79289L10.6464\x206.14645C10.8417\x205.95118\x2011.1583\x205.95118\x2011.3536\x206.14645Z','MenuManagerPosition','_initUIPart','focusDrawing','MoreUpIcon','DOCS_SHAPE_UI_PLUGIN','doc.shape.text.float-menu','menuRange','_getDependencies','svg','true','drawingId','UniverDocsDrawingUIPlugin','UniverDocsShapeMobileUIPlugin','@univerjs/core','docs-shape-ui.hidePanel','dataModel','ShapeFormatSettingIcon','text','error','onSavingEditorData$','_renderManagerService','indexOf','isHitLine','drawing-ui.objectListPanel.close','_refreshShapeData','_draw','normalizeShapeTextModel','getCurrentTypeOfUnit$','_insertShapes','getPageDrawingIds','_activeShapeInfo','DocsShapeWrapTopBottomIcon','disableShapeOption','WRAP_NONE','transformVector2SceneCoord','registerShapeFormatPainter','offsetY','rxjs','extensionGroups','touchDependencies','_docLayoutInteractionService','some','@univerjs/drawing-ui','LAYOUT','4764056HMjOxC','defIds','useLayoutEffect','translateWithPrecision','getOwnPropertyDescriptor','isRender','_drawShapeText','attachTransformerTo','WRAP_TOP_AND_BOTTOM','Transform','drawing','UniverDesign','amd','0.14','BEHIND_TEXT','useDependency','fillImageSource','name','observe','UpdateDocShapeDataMutation','drawing-ui.objectListPanel.details','max','push','warn','Disposable','DocParagraphMenuService','_updateSrcRectByTransform','ComponentManager','MenuItemType','PRINTING_COMPONENT_COLLECT','enhanceParams','data','InsertDocShapeCommand','docs-shape-ui.shape-format.wrapping-style-label','fillType','setCanUseShapeClip','beginInteraction','angle','getAllRenderersOfType','addObject','getTransformerByCreate','disconnect','@univerjs/docs','0\x200\x2016\x2016','_config','BUTTON','debounceRefreshControls','getDrawingByParam','TextWrappingStyle','doc-shape-adjust-point-','ShapeLineTypeEnum','url(#$1','getRenderUnitById','_loadShapePictureFill','hideContextualTab','delete','refreshFormulaPresentation','docs-shape-ui.textWrap.square','M2\x203h16M2\x207.5h16M2\x2010h16M2\x2012.5h16M2\x2017h16','oKey','docs-shape-ui.textWrap.inFrontText','displayName','isConnectorShape','getEditing','Image','removeAttribute','DocShapeAnchorPosition','localeService','DrawingImageClipService','_shapeId','docs-shape-ui.textWrap.inline','animationEnabled'];_0x596e=function(){return _0x2bcba6;};return _0x596e();}function _0x3f06(_0x3dd4d9,_0x4cdb6a){_0x3dd4d9=_0x3dd4d9-0x111;const _0x596ed7=_0x596e();let _0x3f063d=_0x596ed7[_0x3dd4d9];return _0x3f063d;}(function(_0x353b68,_0x1b391c){const _0x5e4453=_0x3f06,_0x411324=_0x353b68();while(!![]){try{const _0x21d583=parseInt(_0x5e4453(0x11b))/0x1*(parseInt(_0x5e4453(0x269))/0x2)+-parseInt(_0x5e4453(0x47f))/0x3*(-parseInt(_0x5e4453(0x48d))/0x4)+parseInt(_0x5e4453(0x240))/0x5+-parseInt(_0x5e4453(0x17a))/0x6*(parseInt(_0x5e4453(0x3a3))/0x7)+-parseInt(_0x5e4453(0x412))/0x8+parseInt(_0x5e4453(0x483))/0x9*(-parseInt(_0x5e4453(0x11f))/0xa)+-parseInt(_0x5e4453(0x311))/0xb;if(_0x21d583===_0x1b391c)break;else _0x411324['push'](_0x411324['shift']());}catch(_0x13a3c8){_0x411324['push'](_0x411324['shift']());}}}(_0x596e,0xda8ec),function(_0x1c4b90,_0x4c6cd2){const _0x48913d=_0x3f06;typeof exports==_0x48913d(0x368)&&typeof module<'u'?_0x4c6cd2(exports,require('@univerjs-pro/shape-editor-ui'),require('@univerjs/docs-ui'),require('@univerjs/ui'),require('@univerjs-pro/docs-shape'),require('@univerjs-pro/engine-shape'),require('@univerjs-pro/shape-editor'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/docs-drawing'),require('@univerjs/engine-render'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('react/jsx-runtime'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/docs-drawing-ui'),require('react'),require('@univerjs/design'),require('@univerjs/protocol')):typeof define=='function'&&define[_0x48913d(0x31d)]?define([_0x48913d(0x3e2),_0x48913d(0x245),_0x48913d(0x468),_0x48913d(0x485),'@univerjs-pro/docs-shape',_0x48913d(0x14e),_0x48913d(0x273),_0x48913d(0x2f2),_0x48913d(0x33b),_0x48913d(0x388),'@univerjs/engine-render',_0x48913d(0x359),_0x48913d(0x30f),'react/jsx-runtime','rxjs',_0x48913d(0x1fa),_0x48913d(0x455),_0x48913d(0x448),_0x48913d(0x3b3),'@univerjs/protocol'],_0x4c6cd2):(_0x1c4b90=typeof globalThis<'u'?globalThis:_0x1c4b90||self,_0x4c6cd2(_0x1c4b90[_0x48913d(0x481)]={},_0x1c4b90[_0x48913d(0x1dc)],_0x1c4b90[_0x48913d(0x178)],_0x1c4b90['UniverUi'],_0x1c4b90['UniverProDocsShape'],_0x1c4b90[_0x48913d(0x2c2)],_0x1c4b90['UniverProShapeEditor'],_0x1c4b90[_0x48913d(0x433)],_0x1c4b90[_0x48913d(0x2a3)],_0x1c4b90[_0x48913d(0x3db)],_0x1c4b90[_0x48913d(0x1cc)],_0x1c4b90['UniverDrawing'],_0x1c4b90[_0x48913d(0x2c4)],_0x1c4b90[_0x48913d(0x2af)],_0x1c4b90[_0x48913d(0x30a)],_0x1c4b90[_0x48913d(0x3e9)],_0x1c4b90['UniverDocsDrawingUi'],_0x1c4b90[_0x48913d(0x2af)],_0x1c4b90[_0x48913d(0x31c)],_0x1c4b90[_0x48913d(0x439)]));}(this,function(_0x47b7a8,_0x56d51f,_0x130604,_0x86086d,_0x284855,_0x3becc2,_0x48b72a,_0x47c402,_0x18b339,_0x13d142,_0x54839f,_0x4152b2,_0x459a9e,_0x932776,_0x21926c,_0x2a35ca,_0x1d2176,_0x8303f3,_0x5c76ee,_0xad5fb1){const _0x7db477=_0x3f06;Object[_0x7db477(0x1c8)](_0x47b7a8,Symbol[_0x7db477(0x438)],{'value':_0x7db477(0x48b)});function _0xffe531(_0x540487,_0x2b0c60){const _0x2955a0=_0x7db477;if(_0x2b0c60){if((0x0,_0x3becc2[_0x2955a0(0x34f)])(_0x540487)&&(_0x2b0c60[_0x2955a0(0x407)]||_0x2b0c60['endArrow']))return{'ln':{'startArrow':_0x2b0c60['startArrow']?{'type':_0x3becc2[_0x2955a0(0x294)][_0x2955a0(0x215)],'size':_0x3becc2[_0x2955a0(0x177)][_0x2955a0(0x234)]}:void 0x0,'endArrow':_0x2b0c60[_0x2955a0(0x27a)]?{'type':_0x3becc2['ShapeArrowTypeEnum'][_0x2955a0(0x215)],'size':_0x3becc2[_0x2955a0(0x177)][_0x2955a0(0x41b)]}:void 0x0}};if(_0x540487===_0x3becc2[_0x2955a0(0x3ea)][_0x2955a0(0x449)]&&(_0x2b0c60['horizontal']||_0x2b0c60[_0x2955a0(0x444)]))return(0x0,_0x48b72a[_0x2955a0(0x11d)])({'fill':{'fillType':_0x3becc2[_0x2955a0(0x489)][_0x2955a0(0x3a0)],'color':_0x2955a0(0x138)},'isHorizontal':!!_0x2b0c60[_0x2955a0(0x252)],'stroke':{'lineStrokeType':_0x3becc2[_0x2955a0(0x343)]['SolidLine'],'width':0x1,'color':_0x2955a0(0x148)}});}}function _0x2b60c5(_0x5b6ade,_0x5725c6){const _0xbe6c58=_0x7db477;var _0x1a1c2c;let _0x42204f=_0x5725c6[_0xbe6c58(0x3d6)]??'',_0xc0b76c=(_0x1a1c2c=_0x5b6ade[_0xbe6c58(0x463)](_0x42204f))==null?void 0x0:_0x1a1c2c[_0xbe6c58(0x403)]();if(!_0xc0b76c)return null;let _0x431893=_0xc0b76c[_0xbe6c58(0x249)]??[],_0x5eb87b=_0x431893['find'](_0x511692=>{const _0x152686=_0xbe6c58;let _0x20ca6a=(0x0,_0x47c402[_0x152686(0x3cd)])(_0xc0b76c,_0x511692);return _0x5725c6[_0x152686(0x41a)]>=_0x20ca6a&&_0x5725c6[_0x152686(0x41a)]<=_0x511692[_0x152686(0x3e8)];})??_0x431893[_0x431893[_0xbe6c58(0x2b4)]-0x1];return _0x5eb87b?{'paragraphId':_0x5eb87b[_0xbe6c58(0x22b)],'segmentId':_0x42204f,'position':_0x284855[_0xbe6c58(0x353)][_0xbe6c58(0x22a)],'offset':_0x5725c6[_0xbe6c58(0x41a)]-(0x0,_0x47c402[_0xbe6c58(0x3cd)])(_0xc0b76c,_0x5eb87b)}:null;}function _0x48e532(_0x5dc0bd,_0x292648,_0x508e0e){const _0x45e397=_0x7db477;var _0x24058f,_0x113b05;if(!_0x508e0e)return null;let _0x54182d=(_0x24058f=_0x5dc0bd[_0x45e397(0x45e)](_0x54839f[_0x45e397(0x173)])[_0x45e397(0x345)](_0x292648))==null?void 0x0:_0x24058f[_0x45e397(0x459)](_0x130604[_0x45e397(0x32a)])[_0x45e397(0x26f)];if(!_0x54182d)return null;let _0x1e6d81=_0x508e0e==='below'?{'startOffset':_0x54182d[_0x45e397(0x2bb)][_0x45e397(0x1f9)],'endOffset':_0x54182d[_0x45e397(0x2bb)][_0x45e397(0x1f9)]}:_0x54182d[_0x45e397(0x2eb)];return{'startOffset':_0x1e6d81[_0x45e397(0x41a)],'endOffset':_0x1e6d81['endOffset'],'collapsed':_0x1e6d81[_0x45e397(0x41a)]===_0x1e6d81[_0x45e397(0x1f9)],'segmentId':((_0x113b05=_0x54182d['paragraph'])==null?void 0x0:_0x113b05[_0x45e397(0x3d6)])??''};}let _0x4654b3={'type':_0x47c402[_0x7db477(0x165)]['COMMAND'],'id':_0x7db477(0x1bd),'handler':async(_0x23ea01,_0xde4998)=>{const _0xe6f3d=_0x7db477;let _0x4954be=_0x23ea01[_0xe6f3d(0x45e)](_0x47c402[_0xe6f3d(0x191)])[_0xe6f3d(0x47e)](_0x47c402['UniverInstanceType'][_0xe6f3d(0x486)]);if(!_0x4954be)return!0x1;let _0x1da3fc=_0x23ea01[_0xe6f3d(0x45e)](_0x47c402[_0xe6f3d(0x250)]),_0x2abe32=_0x4954be[_0xe6f3d(0x38c)](),_0xeff554=_0xde4998[_0xe6f3d(0x424)]??(0x0,_0x47c402[_0xe6f3d(0x1f0)])(),_0x15ad1f=_0xde4998[_0xe6f3d(0x19f)]??_0x284855[_0xe6f3d(0x431)],_0x27802b=_0xde4998[_0xe6f3d(0x1e3)]??_0x284855[_0xe6f3d(0x487)],_0x4f797f=_0xde4998[_0xe6f3d(0x441)]??_0xffe531(_0xde4998[_0xe6f3d(0x1c6)],_0xde4998[_0xe6f3d(0x32f)]),_0x353b2c=_0x48e532(_0x23ea01,_0x2abe32,_0xde4998[_0xe6f3d(0x49a)])??_0x23ea01['get'](_0x18b339[_0xe6f3d(0x225)])[_0xe6f3d(0x19a)]();if(!_0x353b2c)return!0x1;let _0x5c4e57=_0x2b60c5(_0x4954be,_0x353b2c);return _0x5c4e57?!!_0x1da3fc[_0xe6f3d(0x17e)](_0x284855[_0xe6f3d(0x331)]['id'],{'unitId':_0x2abe32,'shapeId':_0xeff554,'shapeType':_0xde4998[_0xe6f3d(0x1c6)],'shapeData':_0x4f797f,'transform':{'width':_0x15ad1f,'height':_0x27802b},'placement':{'wrappingStyle':_0x13d142[_0xe6f3d(0x341)]['INLINE'],'anchor':_0x5c4e57}}):!0x1;}},_0x52a209=_0x7db477(0x45f),_0x2bcc29='docs-shape-ui.ribbon.shape-format',_0x4378d7='doc.shape.object-list.panel',_0x4e500d=(0x0,_0x47c402['createInternalEditorID'])('SHAPE_TEXT'),_0x469608=_0x7db477(0x2ea),_0x3a6f6f=_0x7db477(0x21b),_0x3c123e={'id':'doc.operation.open-shape-object-list-panel','type':_0x47c402['CommandType'][_0x7db477(0x24a)],'handler':(_0x15c3d6,_0x20d87e)=>{const _0x4c859b=_0x7db477;let _0x47f21c=_0x15c3d6[_0x4c859b(0x45e)](_0x86086d['ISidebarService']),_0x4def23=_0x15c3d6[_0x4c859b(0x45e)](_0x47c402['LocaleService']),_0x5273b9=_0x15c3d6[_0x4c859b(0x45e)](_0x4152b2['IDrawingManagerService']);return(_0x20d87e==null?void 0x0:_0x20d87e[_0x4c859b(0x1c6)])===_0x4c859b(0x172)?(_0x47f21c['close'](_0x4378d7),!0x0):(_0x47f21c['open']({'id':_0x4378d7,'header':{'title':_0x4def23['t'](_0x4c859b(0x224))},'children':{'label':_0x4378d7},'onClose':()=>{const _0xf18beb=_0x4c859b;_0x5273b9[_0xf18beb(0x2e7)](null);},'width':0x168}),!0x0);}},_0x39980d={'type':_0x47c402[_0x7db477(0x165)][_0x7db477(0x18e)],'id':_0x7db477(0x409),'handler'(){return!0x0;}};function _0x1dc900(_0x14980c){const _0x57881c=_0x7db477;let _0x83e026=_0x14980c['get'](_0x4152b2[_0x57881c(0x1a4)])[_0x57881c(0x3b6)](),_0x3edbd7=_0x83e026['length']===0x1?_0x83e026[0x0]:null;if(!_0x3edbd7||_0x3edbd7[_0x57881c(0x3bc)]!==_0x47c402[_0x57881c(0x472)][_0x57881c(0x427)])return null;let _0x278219=_0x14980c['get'](_0x284855[_0x57881c(0x2ac)]),_0xa4c8a4=_0x278219[_0x57881c(0x15e)](_0x3edbd7['unitId'],_0x3edbd7[_0x57881c(0x28c)],_0x3edbd7[_0x57881c(0x2ef)]),_0x2523b3=_0x278219['getShapeDataById'](_0x3edbd7[_0x57881c(0x24d)],_0x3edbd7['subUnitId'],_0x3edbd7[_0x57881c(0x2ef)]);return _0xa4c8a4===void 0x0||!_0x2523b3?null:{'drawing':_0x3edbd7,'shapeData':_0x2523b3,'shapeType':_0xa4c8a4};}let _0x5bf868={'id':_0x7db477(0x3c2),'type':_0x47c402[_0x7db477(0x165)]['OPERATION'],'handler':(_0x17b86d,_0x59f595)=>{const _0x4adf06=_0x7db477;let _0x31607d=_0x1dc900(_0x17b86d),_0x124dc6=(0x0,_0x48b72a[_0x4adf06(0x35b)])((_0x59f595==null?void 0x0:_0x59f595['presetId'])??(_0x59f595==null?void 0x0:_0x59f595['value'])??'');if(!_0x31607d||!_0x124dc6||_0x124dc6[_0x4adf06(0x139)]!==(0x0,_0x48b72a[_0x4adf06(0x1cf)])(_0x31607d[_0x4adf06(0x441)]))return!0x1;let _0x4f4ef9=(0x0,_0x48b72a[_0x4adf06(0x413)])(_0x31607d[_0x4adf06(0x441)],_0x124dc6);if(!_0x4f4ef9)return!0x1;let {drawing:_0x240452}=_0x31607d;return _0x17b86d[_0x4adf06(0x45e)](_0x47c402[_0x4adf06(0x250)])[_0x4adf06(0x467)](_0x284855[_0x4adf06(0x3bf)]['id'],{'unitId':_0x240452[_0x4adf06(0x24d)],'shapeId':_0x240452[_0x4adf06(0x2ef)],'shapeData':_0x4f4ef9,'oldShapeJSON':{'oldShapeData':_0x31607d['shapeData']}});}},_0x58df16={'id':'doc.operation.update-shape-type','type':_0x47c402[_0x7db477(0x165)][_0x7db477(0x18e)],'handler':(_0x4511ed,_0x2cfa2d)=>{const _0x4020f1=_0x7db477;let _0x21265f=_0x1dc900(_0x4511ed),_0x3597b5=(_0x2cfa2d==null?void 0x0:_0x2cfa2d[_0x4020f1(0x49e)])??(_0x2cfa2d==null?void 0x0:_0x2cfa2d[_0x4020f1(0x1c6)]);if(!_0x21265f||!_0x3597b5||(0x0,_0x3becc2[_0x4020f1(0x34f)])(_0x21265f[_0x4020f1(0x49e)])||(0x0,_0x3becc2[_0x4020f1(0x34f)])(_0x3597b5))return!0x1;let _0x36c0cc=(0x0,_0x48b72a[_0x4020f1(0x1a3)])(_0x21265f['shapeData'],_0x3597b5);if(!_0x36c0cc)return!0x1;let {drawing:_0x120b0c}=_0x21265f;return _0x4511ed['get'](_0x47c402[_0x4020f1(0x250)])['executeCommand'](_0x284855[_0x4020f1(0x3bf)]['id'],{'unitId':_0x120b0c[_0x4020f1(0x24d)],'shapeId':_0x120b0c[_0x4020f1(0x2ef)],'shapeType':_0x3597b5,'shapeData':_0x36c0cc,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x21265f[_0x4020f1(0x49e)],'oldShapeData':_0x21265f[_0x4020f1(0x441)]}});}};function _0x15d88a(_0x52ca52,_0x2b0495){return function(_0x2a2dd0,_0x13a8c3){_0x2b0495(_0x2a2dd0,_0x13a8c3,_0x52ca52);};}function _0x1cbdb5(_0x1f352,_0x49031b,_0x30922d,_0x4ec7d1){const _0xb857e7=_0x7db477;var _0x1cfd0e=arguments[_0xb857e7(0x2b4)],_0x449d93=_0x1cfd0e<0x3?_0x49031b:_0x4ec7d1===null?_0x4ec7d1=Object[_0xb857e7(0x315)](_0x49031b,_0x30922d):_0x4ec7d1,_0x5e9115;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0xb857e7(0x38d))_0x449d93=Reflect['decorate'](_0x1f352,_0x49031b,_0x30922d,_0x4ec7d1);else{for(var _0x4b3f40=_0x1f352[_0xb857e7(0x2b4)]-0x1;_0x4b3f40>=0x0;_0x4b3f40--)(_0x5e9115=_0x1f352[_0x4b3f40])&&(_0x449d93=(_0x1cfd0e<0x3?_0x5e9115(_0x449d93):_0x1cfd0e>0x3?_0x5e9115(_0x49031b,_0x30922d,_0x449d93):_0x5e9115(_0x49031b,_0x30922d))||_0x449d93);}return _0x1cfd0e>0x3&&_0x449d93&&Object[_0xb857e7(0x1c8)](_0x49031b,_0x30922d,_0x449d93),_0x449d93;}let _0x1471d7=class extends _0x47c402['Disposable']{constructor(_0x389036,_0x500e17){const _0x485411=_0x7db477;super(),this['_clipService']=_0x389036,this[_0x485411(0x369)]=_0x500e17,this['_registerImageShapeClipDelegate'](),this[_0x485411(0x2c3)][_0x485411(0x334)](!0x0),this[_0x485411(0x2b0)]({'dispose':()=>this['_clipService'][_0x485411(0x334)](!0x1)});}['_registerImageShapeClipDelegate'](){const _0x1689ab=_0x7db477;let _0xe164e5=new Map(),_0x344a9a=this['_clipService'][_0x1689ab(0x384)]((_0x120375,_0x195670,_0x47d0af,_0xea2061,_0x3ec7f4)=>{const _0x39fdba=_0x1689ab;let _0x228fb6=_0x195670;if(_0x228fb6===_0x3becc2['ShapeTypeEnum']['None']||_0x195670===_0x39fdba(0x208))return!0x1;try{let _0x354203=_0xe164e5[_0x39fdba(0x45e)](_0x195670);return _0x354203||(_0x354203=new _0x3becc2['ShapeModel'](_0x228fb6,'clip-'+_0x195670),_0xe164e5[_0x39fdba(0x3fc)](_0x195670,_0x354203)),_0x354203['clearAdjustValue'](),_0x3ec7f4&&Object[_0x39fdba(0x2d8)](_0x3ec7f4)[_0x39fdba(0x2b4)]>0x0&&_0x354203[_0x39fdba(0x3c4)]({'adjustValues':_0x3ec7f4},!0x0),_0x354203['updateContext']({'width':_0x47d0af,'height':_0xea2061}),_0x354203[_0x39fdba(0x2ab)](_0x120375,{'left':0x0,'top':0x0,'width':_0x47d0af,'height':_0xea2061});}catch{return!0x1;}});this[_0x1689ab(0x2b0)](_0x344a9a),this[_0x1689ab(0x2b0)]({'dispose':()=>_0xe164e5[_0x1689ab(0x3fe)]()});}[_0x7db477(0x280)](_0x3e5ae7,_0x3ab461,_0x48ab3d,_0x3bb4e1,_0x243ddf){const _0x7a1268=_0x7db477;let _0x15f320=this[_0x7a1268(0x369)][_0x7a1268(0x18f)](_0x3e5ae7,_0x3ab461)[_0x48ab3d];_0x15f320&&_0x15f320[_0x7a1268(0x3bc)]===_0x47c402['DrawingTypeEnum'][_0x7a1268(0x19d)]&&this[_0x7a1268(0x369)][_0x7a1268(0x3ed)]([{..._0x15f320,'prstGeom':_0x3bb4e1,'adjustValues':_0x243ddf}]);}};_0x1471d7=_0x1cbdb5([_0x15d88a(0x0,(0x0,_0x47c402['Inject'])(_0x459a9e[_0x7db477(0x355)])),_0x15d88a(0x1,(0x0,_0x47c402[_0x7db477(0x261)])(_0x4152b2[_0x7db477(0x1a4)]))],_0x1471d7);let _0xc138a4='doc.shape.picker.component',_0x5e6476=_0x7db477(0x281);function _0x58d0e7({onShapeClick:_0x58eeb0,excludeGroups:_0x4e87c5}){const _0x311dee=_0x7db477;return(0x0,_0x932776[_0x311dee(0x476)])(_0x56d51f[_0x311dee(0x3f5)],{'excludeGroups':_0x4e87c5,'onShapeClick':_0x58eeb0,'scrollContainer':_0x311dee(0x28b)});}function _0x2ede24(){const _0x486420=_0x7db477;let _0x5c4f11=(0x0,_0x86086d[_0x486420(0x320)])(_0x4152b2[_0x486420(0x1a4)]),_0x12bf03=(0x0,_0x86086d[_0x486420(0x320)])(_0x1471d7);return _0x1ef8d7=>{const _0x5674b1=_0x486420;let _0x53e340=_0x5c4f11[_0x5674b1(0x3b6)]()[_0x5674b1(0x363)](_0x2b1b4c=>_0x2b1b4c[_0x5674b1(0x3bc)]===_0x47c402[_0x5674b1(0x472)][_0x5674b1(0x19d)]);_0x53e340&&_0x12bf03[_0x5674b1(0x280)](_0x53e340[_0x5674b1(0x24d)],_0x53e340[_0x5674b1(0x28c)],_0x53e340[_0x5674b1(0x2ef)],_0x1ef8d7[_0x5674b1(0x139)]);};}function _0x50210b(){const _0x5742fb=_0x7db477;let _0x1bcd25=_0x2ede24();return(0x0,_0x932776['jsx'])(_0x56d51f[_0x5742fb(0x3d7)],{'buttonLabel':_0x5742fb(0x140),'excludeGroups':[_0x56d51f[_0x5742fb(0x2cc)][_0x5742fb(0x458)]],'onShapeClick':_0x1bcd25});}function _0x34fc80(){const _0x3ec43a=_0x7db477;let _0x56911a=(0x0,_0x86086d[_0x3ec43a(0x320)])(_0x86086d[_0x3ec43a(0x32c)]),_0x3c82d9=(0x0,_0x86086d[_0x3ec43a(0x320)])(_0x4152b2[_0x3ec43a(0x1a4)]),_0x58fd2f=(0x0,_0x86086d['useDependency'])(_0x47c402[_0x3ec43a(0x191)]),_0x355011=_0x3c82d9['getFocusDrawings']()[0x0],_0x3c301a=_0x355011?_0x58fd2f[_0x3ec43a(0x145)](_0x355011[_0x3ec43a(0x24d)]):void 0x0,_0x76e0d0=_0x3c301a===_0x47c402[_0x3ec43a(0x1aa)][_0x3ec43a(0x486)]?_0x5e6476:_0x3c301a===_0x47c402[_0x3ec43a(0x1aa)][_0x3ec43a(0x276)]?'sheet.image-clip.shape-picker.component':void 0x0,_0xef72ed=_0x76e0d0?_0x56911a[_0x3ec43a(0x45e)](_0x76e0d0):void 0x0;return _0xef72ed?(0x0,_0x932776['jsx'])(_0xef72ed,{}):null;}function _0x3be8f4({paragraphMenuPlacement:_0x165b61,PickerComponent:_0x2c5fb8=_0x58d0e7}){const _0x5660e5=_0x7db477;let _0x4daa1d=(0x0,_0x86086d['useDependency'])(_0x47c402['ICommandService']);return(0x0,_0x932776[_0x5660e5(0x476)])(_0x2c5fb8,{'onShapeClick':_0x42460c=>{const _0x44d26a=_0x5660e5;_0x4daa1d[_0x44d26a(0x467)](_0x4654b3['id'],{'paragraphMenuPlacement':_0x165b61,'value':_0x42460c[_0x44d26a(0x139)],'enhanceParams':{'endArrow':_0x42460c[_0x44d26a(0x27a)],'startArrow':_0x42460c[_0x44d26a(0x407)],'horizontal':_0x42460c['horizontal'],'vertical':_0x42460c['vertical']}});}});}function _0xc5dc5b(_0x2ae39c){const _0x56258b=_0x7db477;return _0x1511ce=>({'id':_0x4654b3['id'],'type':_0x86086d[_0x56258b(0x32d)][_0x56258b(0x382)],'selections':[{'label':{'name':_0xc138a4,'hoverable':!0x1,'selectable':!0x1,'props':_0x2ae39c?{'id':_0x4654b3['id'],'paragraphMenuPlacement':_0x2ae39c}:{'id':_0x4654b3['id']}}}],'icon':'ShapeIcon','title':_0x56258b(0x243),'tooltip':_0x56258b(0x243),'hidden$':(0x0,_0x86086d[_0x56258b(0x1d7)])(_0x1511ce,_0x47c402['UniverInstanceType'][_0x56258b(0x486)])});}let _0x287851=_0xc5dc5b(),_0x2f28bc=_0xc5dc5b('below'),_0x1f07e9=_0xc5dc5b(_0x7db477(0x16d));function _0x2f690f(_0x42ae86){const _0x8d5e04=_0x7db477;return{'id':_0x3c123e['id'],'type':_0x86086d[_0x8d5e04(0x32d)][_0x8d5e04(0x33e)],'icon':_0x8d5e04(0x28e),'title':'docs-shape-ui.objectListPanel.open','tooltip':_0x8d5e04(0x13d),'hidden$':(0x0,_0x86086d[_0x8d5e04(0x1d7)])(_0x42ae86,_0x47c402[_0x8d5e04(0x1aa)][_0x8d5e04(0x486)])};}function _0x59074d(_0x4a1069,_0x16ba35,_0x4b552d,_0x41aec3,_0x3b302b,_0x11e296){const _0x205211=_0x7db477;let _0x3649de={'unitId':_0x16ba35,'shapeId':_0x41aec3,'shapeData':_0x11e296,'oldShapeJSON':_0x3b302b};return _0x4a1069[_0x205211(0x467)](_0x284855['UpdateDocShapeDataCommand']['id'],_0x3649de);}function _0x205aee(_0x2fd570,_0x2b138c,_0x1b9dc2,_0x2e75a1,_0x566bc5,_0xb12dc0){const _0x177924=_0x7db477;let _0x1a2592={'unitId':_0x2b138c,'shapeId':_0x2e75a1,'shapeData':_0xb12dc0,'oldShapeJSON':_0x566bc5};return _0x2fd570[_0x177924(0x467)](_0x284855[_0x177924(0x3bf)]['id'],_0x1a2592);}let _0x560d2a=_0x7db477(0x40a),_0x4850a6=_0x7db477(0x11e),_0x19a0d7='docs-shape-ui.shape-format.text-ribbon-control',_0x2084e0=_0x7db477(0x1a9),_0x5ac958=_0x7db477(0x332),_0x2979c9=[{'value':_0x13d142[_0x7db477(0x341)][_0x7db477(0x1ab)],'label':'docs-shape-ui.textWrap.inline','icon':_0x7db477(0x39d)},{'value':_0x13d142[_0x7db477(0x341)]['WRAP_SQUARE'],'label':_0x7db477(0x34a),'icon':_0x7db477(0x137)},{'value':_0x13d142['TextWrappingStyle'][_0x7db477(0x319)],'label':_0x7db477(0x284),'icon':_0x7db477(0x304)},{'value':_0x13d142[_0x7db477(0x341)][_0x7db477(0x31f)],'label':'docs-shape-ui.textWrap.behindText','icon':'DocsShapeWrapBehindTextIcon'},{'value':_0x13d142[_0x7db477(0x341)][_0x7db477(0x3d9)],'label':'docs-shape-ui.textWrap.inFrontText','icon':_0x7db477(0x43c)}];function _0x490714(){const _0x5d39f8=_0x7db477;let _0x265fd9=(0x0,_0x86086d[_0x5d39f8(0x320)])(_0x47c402['ICommandService']),_0x219a6b=(0x0,_0x86086d[_0x5d39f8(0x320)])(_0x4152b2[_0x5d39f8(0x1a4)]),_0x2aa699=(0x0,_0x86086d[_0x5d39f8(0x320)])(_0x284855[_0x5d39f8(0x2ac)]),_0x26d0f7=()=>{const _0x268939=_0x5d39f8;var _0x4a7e4f;let _0x5d7384=_0x219a6b['getFocusDrawings']();if(_0x5d7384['length']!==0x1||((_0x4a7e4f=_0x5d7384[0x0])==null?void 0x0:_0x4a7e4f[_0x268939(0x3bc)])!==_0x47c402[_0x268939(0x472)][_0x268939(0x427)])return null;let {unitId:_0x3f1428,subUnitId:_0x36b3e8,drawingId:_0x1da3f8}=_0x5d7384[0x0],_0x4e5159=_0x2aa699[_0x268939(0x15e)](_0x3f1428,_0x36b3e8,_0x1da3f8),_0x7afb97=_0x2aa699[_0x268939(0x237)](_0x3f1428,_0x36b3e8,_0x1da3f8);return _0x4e5159===void 0x0||!_0x7afb97?null:{'unitId':_0x3f1428,'subUnitId':_0x36b3e8,'drawingId':_0x1da3f8,'shapeType':_0x4e5159,'shapeData':_0x7afb97};},_0x416d53=(0x0,_0x86086d[_0x5d39f8(0x3cf)])(()=>new _0x21926c[(_0x5d39f8(0x16b))](_0x3bc57c=>{const _0x304f4d=_0x5d39f8;let _0xf4a60a=()=>_0x3bc57c[_0x304f4d(0x22e)](_0x26d0f7()),_0x5c874e=_0x219a6b[_0x304f4d(0x48c)][_0x304f4d(0x146)](_0xf4a60a),_0x2dc94a=_0x265fd9[_0x304f4d(0x187)](_0x2b7f42=>{const _0x4293cd=_0x304f4d;_0x2b7f42['id']===_0x284855[_0x4293cd(0x324)]['id']&&_0xf4a60a();});return _0xf4a60a(),()=>{const _0x53160e=_0x304f4d;_0x5c874e[_0x53160e(0x158)](),_0x2dc94a[_0x53160e(0x18c)]();};}),_0x26d0f7(),!0x1,[_0x265fd9,_0x2aa699,_0x219a6b]);return{'selection':_0x416d53,'updateShapeData':_0x4df35d=>{const _0x5a5ca4=_0x5d39f8;_0x416d53&&_0x59074d(_0x265fd9,_0x416d53[_0x5a5ca4(0x24d)],_0x416d53[_0x5a5ca4(0x28c)],_0x416d53[_0x5a5ca4(0x2ef)],{'oldShapeData':_0x416d53[_0x5a5ca4(0x441)]},_0x4df35d);}};}function _0x532467(){const _0x4fc816=_0x7db477;let {selection:_0x38fdd3,updateShapeData:_0x4b0d7b}=_0x490714();return _0x38fdd3?(0x0,_0x932776[_0x4fc816(0x476)])(_0x56d51f[_0x4fc816(0x367)],{'shapeData':_0x38fdd3[_0x4fc816(0x441)],'shapeType':_0x38fdd3[_0x4fc816(0x49e)],'onUpdateShapeData':_0x4b0d7b}):null;}function _0x533993(){const _0x58799e=_0x7db477;let _0x11816f=(0x0,_0x86086d[_0x58799e(0x320)])(_0x47c402[_0x58799e(0x250)]),_0x31a77d=(0x0,_0x86086d[_0x58799e(0x320)])(_0x47c402[_0x58799e(0x2ba)]),{selection:_0x261a18}=_0x490714();return _0x261a18?(0x0,_0x932776[_0x58799e(0x476)])(_0x56d51f[_0x58799e(0x1ee)],{'type':(0x0,_0x48b72a[_0x58799e(0x1cf)])(_0x261a18[_0x58799e(0x441)]),'ariaLabel':_0x31a77d['t'](_0x58799e(0x365)),'activePresetId':(0x0,_0x48b72a[_0x58799e(0x3e6)])(_0x261a18[_0x58799e(0x441)]),'onSelect':_0x46327c=>_0x11816f[_0x58799e(0x467)](_0x5bf868['id'],{'presetId':_0x46327c})}):null;}function _0x5e650e(){const _0x7dc1f3=_0x7db477;let {selection:_0x32121e,updateShapeData:_0x2837a4}=_0x490714();return _0x32121e?(0x0,_0x932776[_0x7dc1f3(0x476)])(_0x56d51f['ShapeTextRibbonControl'],{'fontFamilyPopupDataComponent':_0x7dc1f3(0x133),'shapeData':_0x32121e[_0x7dc1f3(0x441)],'onUpdateShapeData':_0x2837a4}):null;}function _0x14a76c(){const _0x55ecdd=_0x7db477;var _0x5d1cd1;let {selection:_0x5d26a5,updateShapeData:_0x17f5e2}=_0x490714(),_0x59014f=(0x0,_0x56d51f['useFormulaShapeToolbar'])({'hostType':_0x47c402['UniverInstanceType']['UNIVER_DOC'],'unitId':(_0x5d26a5==null?void 0x0:_0x5d26a5[_0x55ecdd(0x24d)])??'','subUnitId':(_0x5d26a5==null?void 0x0:_0x5d26a5[_0x55ecdd(0x28c)])??'','shapeId':(_0x5d26a5==null?void 0x0:_0x5d26a5[_0x55ecdd(0x2ef)])??'','shapeData':_0x5d26a5==null?void 0x0:_0x5d26a5[_0x55ecdd(0x441)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x55ecdd(0x1fe),'onUpdateBinding':_0x412da0=>_0x17f5e2({'formulaBinding':_0x412da0})}),_0x5f472e=((_0x5d1cd1=_0x59014f[_0x55ecdd(0x30b)])==null?void 0x0:_0x5d1cd1[_0x55ecdd(0x1de)](_0x1a10c3=>_0x1a10c3[_0x55ecdd(0x195)])[_0x55ecdd(0x1ef)](_0x2f3f26=>_0x2f3f26['visible']!==!0x1))??[];return _0x5d26a5!=null&&_0x5d26a5['shapeData'][_0x55ecdd(0x3d0)]?(0x0,_0x932776[_0x55ecdd(0x476)])(_0x56d51f[_0x55ecdd(0x493)],{'actions':_0x5f472e,'panel':_0x59014f['panel']}):null;}function _0x45324f({value:_0x3f91ac}){const _0x4a1736=_0x7db477;let _0x1a3e09=(0x0,_0x86086d[_0x4a1736(0x320)])(_0x47c402[_0x4a1736(0x2ba)]),_0x2fc29c=_0x2979c9[_0x4a1736(0x363)](_0x38eed0=>_0x38eed0[_0x4a1736(0x1c6)]===_0x3f91ac)??_0x2979c9[0x0];return _0x2fc29c?(0x0,_0x932776[_0x4a1736(0x476)])(_0x4a1736(0x2cd),{'children':_0x1a3e09['t'](_0x2fc29c[_0x4a1736(0x166)])}):null;}let _0x2184b3='docs-shape-ui.ribbon.shape-format.style-control',_0x507dea=_0x7db477(0x1be),_0x2355bf='docs-shape-ui.ribbon.shape-format.formula-control',_0x3e66f1=_0x7db477(0x3a1),_0x8b18ed=_0x7db477(0x23d),_0x147939='docs-shape-ui.ribbon.shape-format.arrange-front',_0x48673f=_0x7db477(0x18d),_0xaf97ed=_0x7db477(0x2a0);function _0x3fa344(_0x1a4de2){const _0x36b6e8=_0x7db477;let _0x2552af=_0x1a4de2[_0x36b6e8(0x45e)](_0x47c402['ICommandService']),_0x2085a7=_0x1a4de2[_0x36b6e8(0x45e)](_0x4152b2[_0x36b6e8(0x1a4)]),_0xb7d451=_0x1a4de2[_0x36b6e8(0x45e)](_0x284855[_0x36b6e8(0x2ac)]);return new _0x21926c[(_0x36b6e8(0x16b))](_0x12a98f=>{const _0x520239=_0x36b6e8;let _0x3460a9=()=>{const _0xa793dd=_0x3f06;let _0x4e44fb=_0x4648f7(_0x1a4de2),_0x282ec3=_0x4e44fb?_0xb7d451[_0xa793dd(0x237)](_0x4e44fb[_0xa793dd(0x24d)],_0x4e44fb[_0xa793dd(0x28c)],_0x4e44fb['drawingId']):null;_0x12a98f[_0xa793dd(0x22e)](_0x282ec3?(0x0,_0x48b72a[_0xa793dd(0x3e6)])(_0x282ec3)??'':'');},_0xba82d9=_0x2085a7['focus$'][_0x520239(0x146)](_0x3460a9),_0x47b37b=_0x2552af[_0x520239(0x187)](_0x4b07fe=>{const _0x99b4ab=_0x520239;_0x4b07fe['id']===_0x284855[_0x99b4ab(0x324)]['id']&&_0x3460a9();});return _0x3460a9(),()=>{const _0x5a47a6=_0x520239;_0xba82d9[_0x5a47a6(0x158)](),_0x47b37b[_0x5a47a6(0x18c)]();};});}function _0x4648f7(_0x54d16a){const _0x4e9942=_0x7db477;var _0x15340e;let _0x57df39=_0x54d16a[_0x4e9942(0x45e)](_0x4152b2[_0x4e9942(0x1a4)])[_0x4e9942(0x3b6)]();return _0x57df39[_0x4e9942(0x2b4)]===0x1&&((_0x15340e=_0x57df39[0x0])==null?void 0x0:_0x15340e[_0x4e9942(0x3bc)])===_0x47c402[_0x4e9942(0x472)][_0x4e9942(0x427)]?_0x57df39[0x0]:null;}function _0x390bbe(_0x53efe2){const _0x30e278=_0x7db477;return(_0x53efe2==null?void 0x0:_0x53efe2['layoutType'])===_0x47c402[_0x30e278(0x457)][_0x30e278(0x306)]?_0x53efe2[_0x30e278(0x25d)]===_0x47c402[_0x30e278(0x159)][_0x30e278(0x199)]?_0x13d142[_0x30e278(0x341)]['BEHIND_TEXT']:_0x13d142['TextWrappingStyle'][_0x30e278(0x3d9)]:(_0x53efe2==null?void 0x0:_0x53efe2['layoutType'])===_0x47c402[_0x30e278(0x457)][_0x30e278(0x181)]?_0x13d142[_0x30e278(0x341)]['WRAP_SQUARE']:(_0x53efe2==null?void 0x0:_0x53efe2[_0x30e278(0x479)])===_0x47c402[_0x30e278(0x457)][_0x30e278(0x319)]?_0x13d142[_0x30e278(0x341)][_0x30e278(0x319)]:_0x13d142[_0x30e278(0x341)]['INLINE'];}function _0x506810(_0x54ba55){const _0x408d37=_0x7db477;let _0x3bf9f0=_0x54ba55[_0x408d37(0x45e)](_0x47c402[_0x408d37(0x250)]),_0x305025=_0x54ba55[_0x408d37(0x45e)](_0x4152b2[_0x408d37(0x1a4)]),_0x1e8d69=_0x54ba55[_0x408d37(0x45e)](_0x47c402[_0x408d37(0x191)]);return new _0x21926c['Observable'](_0x2f507c=>{const _0xc209de=_0x408d37;let _0x304ece=()=>{const _0x2b0cb3=_0x3f06;var _0x4052c4;let _0x5b60b6=_0x4648f7(_0x54ba55),_0x592c39=_0x5b60b6?_0x1e8d69['getUnit'](_0x5b60b6[_0x2b0cb3(0x24d)],_0x47c402[_0x2b0cb3(0x1aa)][_0x2b0cb3(0x486)]):void 0x0;_0x2f507c[_0x2b0cb3(0x22e)](_0x390bbe(_0x5b60b6?_0x592c39==null||(_0x4052c4=_0x592c39['getSnapshot']()[_0x2b0cb3(0x453)])==null?void 0x0:_0x4052c4[_0x5b60b6['drawingId']]:void 0x0));},_0x42c632=_0x305025[_0xc209de(0x48c)][_0xc209de(0x146)](_0x304ece),_0x1d8ad5=_0x3bf9f0[_0xc209de(0x187)](_0x28d4bd=>{_0x28d4bd['id']===_0x18b339['RichTextEditingMutation']['id']&&_0x304ece();});return _0x304ece(),()=>{const _0x2fa717=_0xc209de;_0x42c632['unsubscribe'](),_0x1d8ad5[_0x2fa717(0x18c)]();};})[_0x408d37(0x12a)]((0x0,_0x21926c[_0x408d37(0x42e)])());}function _0x4a1498(_0x29a13d,_0x29f4d7=!0x1){const _0x2ae55f=_0x7db477;let _0x44a6e7=_0x29a13d[_0x2ae55f(0x45e)](_0x47c402[_0x2ae55f(0x250)]),_0x4735df=_0x29a13d[_0x2ae55f(0x45e)](_0x4152b2[_0x2ae55f(0x1a4)]),_0x3333d9=_0x29a13d[_0x2ae55f(0x45e)](_0x284855[_0x2ae55f(0x2ac)]);return new _0x21926c[(_0x2ae55f(0x16b))](_0x434d9f=>{const _0x5c072f=_0x2ae55f;let _0x3e825d=()=>{const _0x5baf28=_0x3f06;let _0x1d3550=_0x4648f7(_0x29a13d);if(!_0x1d3550){_0x434d9f['next'](!0x0);return;}let _0x4e7716=_0x3333d9[_0x5baf28(0x237)](_0x1d3550[_0x5baf28(0x24d)],_0x1d3550['subUnitId'],_0x1d3550[_0x5baf28(0x2ef)]);_0x434d9f[_0x5baf28(0x22e)](!_0x4e7716||_0x29f4d7&&_0x4e7716['formulaBinding']==null);},_0x1ce144=_0x4735df[_0x5c072f(0x48c)][_0x5c072f(0x146)](_0x3e825d),_0x492b7f=_0x44a6e7[_0x5c072f(0x187)](_0x269d8a=>{const _0x393260=_0x5c072f;_0x269d8a['id']===_0x284855[_0x393260(0x324)]['id']&&_0x3e825d();});return _0x3e825d(),()=>{const _0x2009d6=_0x5c072f;_0x1ce144[_0x2009d6(0x158)](),_0x492b7f[_0x2009d6(0x18c)]();};});}function _0x16c615(_0x2a99fc){const _0x415728=_0x7db477;let _0x519b36=_0x2a99fc[_0x415728(0x45e)](_0x4152b2['IDrawingManagerService']),_0x2b1e76=_0x2a99fc[_0x415728(0x45e)](_0x284855['DocsShapeService']);return _0x519b36[_0x415728(0x48c)][_0x415728(0x12a)]((0x0,_0x21926c['startWith'])(_0x519b36[_0x415728(0x3b6)]()),(0x0,_0x21926c[_0x415728(0x3b4)])(()=>{const _0x4b5572=_0x415728;let _0x3efce6=_0x4648f7(_0x2a99fc),_0xea1805=_0x3efce6?_0x2b1e76['getShapeTypeById'](_0x3efce6['unitId'],_0x3efce6['subUnitId'],_0x3efce6['drawingId']):void 0x0;return _0xea1805===void 0x0||(0x0,_0x3becc2[_0x4b5572(0x34f)])(_0xea1805);}));}function _0x1a15c1(_0x540f8e){const _0x3f1785=_0x7db477;return{'id':_0x5bf868['id'],'type':_0x86086d[_0x3f1785(0x32d)][_0x3f1785(0x382)],'icon':_0x3f1785(0x390),'title':_0x3f1785(0x2d9),'tooltip':_0x3f1785(0x2d9),'selections':[{'label':{'name':_0x560d2a,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x3fa344(_0x540f8e),'hidden$':_0x4a1498(_0x540f8e)};}function _0x2f8034(_0x241078){const _0x2c9394=_0x7db477;return{'id':_0x58df16['id'],'type':_0x86086d['MenuItemType'][_0x2c9394(0x382)],'icon':'ShapeIcon','title':_0x2c9394(0x3f9),'tooltip':'shape-editor-ui.toolbar.changeShape','slot':!0x0,'selections':[{'label':{'name':_0x56d51f['SHAPE_CHANGE_PICKER_COMPONENT'],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x16c615(_0x241078)};}function _0xea25f2(_0x19618,_0x5e94d5,_0xd832cf=!0x1){const _0x5ef637=_0x7db477;return _0x31bea7=>({'id':_0x19618,'type':_0x86086d[_0x5ef637(0x32d)][_0x5ef637(0x33e)],'label':{'name':_0x5e94d5,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x4a1498(_0x31bea7,_0xd832cf)});}let _0x39ac22=_0xea25f2(_0x2184b3,_0x4850a6),_0x5e4760=_0xea25f2(_0x507dea,_0x19a0d7),_0x592943=_0xea25f2(_0x2355bf,_0x2084e0,!0x0);function _0x4c61d6(_0x322948){const _0x4e22ab=_0x7db477;return{'id':_0xaf97ed,'type':_0x86086d[_0x4e22ab(0x32d)]['SELECTOR'],'icon':_0x2979c9[0x0][_0x4e22ab(0x23c)],'label':_0x5ac958,'selectionsCommandId':_0x13d142[_0x4e22ab(0x383)]['id'],'selections':_0x2979c9[_0x4e22ab(0x3b4)](({icon:_0x62d4ab,label:_0x38ec6e,value:_0x1c2fad})=>({'value':_0x1c2fad,'label':_0x38ec6e,'icon':_0x62d4ab,'params':()=>{const _0x32959f=_0x4e22ab;let _0x1b1861=_0x4648f7(_0x322948);return _0x1b1861?{'unitId':_0x1b1861[_0x32959f(0x24d)],'subUnitId':_0x1b1861[_0x32959f(0x28c)],'drawings':[{'unitId':_0x1b1861['unitId'],'subUnitId':_0x1b1861[_0x32959f(0x28c)],'drawingId':_0x1b1861[_0x32959f(0x2ef)]}],'wrappingStyle':_0x1c2fad}:void 0x0;}})),'value$':_0x506810(_0x322948),'hidden$':_0x4a1498(_0x322948)};}function _0x2d3256(_0x444412,_0x3886ba,_0x5a9146,_0x414f69){const _0x4785fb=_0x7db477;return _0x460a89=>({'id':_0x444412,'commandId':_0x13d142['SetDocDrawingArrangeCommand']['id'],'type':_0x86086d[_0x4785fb(0x32d)][_0x4785fb(0x33e)],'icon':_0x5a9146,'title':_0x414f69,'tooltip':_0x414f69,'hidden$':_0x4a1498(_0x460a89),'params':()=>{const _0x5719df=_0x4785fb;let _0x44c971=_0x4648f7(_0x460a89);return _0x44c971?{'unitId':_0x44c971[_0x5719df(0x24d)],'subUnitId':_0x44c971[_0x5719df(0x28c)],'drawingIds':[_0x44c971['drawingId']],'arrangeType':_0x3886ba}:void 0x0;}});}let _0x57389e=_0x2d3256(_0x3e66f1,_0x47c402[_0x7db477(0x15f)][_0x7db477(0x205)],'MoveUpIcon',_0x7db477(0x374)),_0x52656a=_0x2d3256(_0x8b18ed,_0x47c402['ArrangeTypeEnum'][_0x7db477(0x37e)],'MoveDownIcon',_0x7db477(0x299)),_0x39441a=_0x2d3256(_0x147939,_0x47c402[_0x7db477(0x15f)]['front'],_0x7db477(0x461),_0x7db477(0x391)),_0x1b703f=_0x2d3256(_0x48673f,_0x47c402[_0x7db477(0x15f)][_0x7db477(0x126)],_0x7db477(0x1ec),_0x7db477(0x491));function _0x53cb1a(_0x151fab){const _0x59b0f0=_0x7db477;return{'id':_0x39980d['id'],'type':_0x86086d[_0x59b0f0(0x32d)]['BUTTON'],'icon':_0x59b0f0(0x2f5),'title':_0x59b0f0(0x42f),'tooltip':_0x59b0f0(0x42f),'hidden$':_0x4a1498(_0x151fab),'params':()=>{const _0x354768=_0x59b0f0;let _0x38586f=_0x4648f7(_0x151fab);return _0x38586f?{'unitId':_0x38586f[_0x354768(0x24d)],'subUnitId':_0x38586f[_0x354768(0x28c)],'drawingId':_0x38586f[_0x354768(0x2ef)]}:void 0x0;}};}let _0x391af2={[_0x86086d[_0x7db477(0x2e5)][_0x7db477(0x226)]]:{[_0x2bcc29]:{'order':0x64,'title':_0x7db477(0x42f),'contextual':!0x0,'docs-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x5bf868['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x1a15c1},[_0x58df16['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x2f8034}},'docs-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x2184b3]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x39ac22}},'docs-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x507dea]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x5e4760}},'docs-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0xaf97ed]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'columnSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x4c61d6},[_0x3e66f1]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x57389e},[_0x8b18ed]:{'order':0x2,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x52656a},[_0x147939]:{'order':0x3,'gridLayout':{'row':0x1,'column':0x4},'menuItemFactory':_0x39441a},[_0x48673f]:{'order':0x4,'gridLayout':{'row':0x2,'column':0x4},'menuItemFactory':_0x1b703f}},'docs-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x2355bf]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x592943}},'docs-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x39980d['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x53cb1a},[_0x56d51f['ToggleShapeFloatingToolbarOperation']['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x56d51f['ShapeFloatingToolbarToggleFactory']}}}}},_0x317aa8={[_0x86086d[_0x7db477(0x16e)][_0x7db477(0x2c7)]]:{[_0x4654b3['id']]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x2c3a45=>({..._0x287851(_0x2c3a45),'title':void 0x0})}},[_0x86086d[_0x7db477(0x16e)][_0x7db477(0x168)]]:{[_0x3c123e['id']]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x2,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x2f690f}},[_0x86086d[_0x7db477(0x23e)][_0x7db477(0x2a6)]]:{[_0x86086d[_0x7db477(0x263)]['LAYOUT']]:{[_0x130604['INSERT_BELLOW_MENU_ID']]:{[_0x4654b3['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x2f28bc}}},[_0x130604[_0x7db477(0x143)]]:{[_0x86086d['ContextMenuGroup'][_0x7db477(0x310)]]:{[_0x4654b3['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x2f28bc}}},[_0x130604[_0x7db477(0x3e5)]]:{[_0x86086d[_0x7db477(0x263)][_0x7db477(0x310)]]:{[_0x4654b3['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x1f07e9}}},[_0x130604[_0x7db477(0x411)]]:{'insert':{[_0x4654b3['id']]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x287851}}},[_0x130604['DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID']]:{'insert':{[_0x4654b3['id']+_0x7db477(0x478)]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x2f28bc}}}}};var _0x45c6c8=_0x7db477(0x2c9),_0x279654='1.0.1';let _0x87b80e={'type':_0x47c402[_0x7db477(0x165)]['OPERATION'],'id':_0x7db477(0x1bf),'handler'(){return!0x0;}},_0x3c8ab9=_0x7db477(0x1cb),_0x1bd49e={};function _0x3f6c35(_0x4bc77b){'@babel/helpers - typeof';const _0x41d81e=_0x7db477;return _0x3f6c35=typeof Symbol==_0x41d81e(0x38d)&&typeof Symbol['iterator']=='symbol'?function(_0x2d6bbd){return typeof _0x2d6bbd;}:function(_0x1ae5c3){const _0x2b3ae8=_0x41d81e;return _0x1ae5c3&&typeof Symbol=='function'&&_0x1ae5c3['constructor']===Symbol&&_0x1ae5c3!==Symbol[_0x2b3ae8(0x117)]?'symbol':typeof _0x1ae5c3;},_0x3f6c35(_0x4bc77b);}function _0x3a811f(_0x2beaa6,_0x252636){const _0x250e8d=_0x7db477;if(_0x3f6c35(_0x2beaa6)!='object'||!_0x2beaa6)return _0x2beaa6;var _0x3d5387=_0x2beaa6[Symbol[_0x250e8d(0x3fa)]];if(_0x3d5387!==void 0x0){var _0x4e27e6=_0x3d5387[_0x250e8d(0x203)](_0x2beaa6,_0x252636||_0x250e8d(0x21c));if(_0x3f6c35(_0x4e27e6)!=_0x250e8d(0x368))return _0x4e27e6;throw TypeError(_0x250e8d(0x3fb));}return(_0x252636===_0x250e8d(0x371)?String:Number)(_0x2beaa6);}function _0x562ffa(_0x4b85d2){var _0x52d5cb=_0x3a811f(_0x4b85d2,'string');return _0x3f6c35(_0x52d5cb)=='symbol'?_0x52d5cb:_0x52d5cb+'';}function _0x38c0c9(_0x3bdc25,_0x12226c,_0x12947c){const _0x6943ee=_0x7db477;return(_0x12226c=_0x562ffa(_0x12226c))in _0x3bdc25?Object[_0x6943ee(0x1c8)](_0x3bdc25,_0x12226c,{'value':_0x12947c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3bdc25[_0x12226c]=_0x12947c,_0x3bdc25;}var _0x39a34d=class extends _0x54839f[_0x7db477(0x1cd)]{constructor(_0x574a5a,_0x27a999){const _0x56eb69=_0x7db477;super(_0x574a5a,_0x27a999),_0x38c0c9(this,_0x56eb69(0x356),null),_0x38c0c9(this,'_adjName',null),_0x38c0c9(this,_0x56eb69(0x1ed),null),_0x38c0c9(this,_0x56eb69(0x47c),null),_0x27a999&&this[_0x56eb69(0x21f)](_0x27a999);}[_0x7db477(0x1e0)](){const _0x36910b=_0x7db477;return{'unitId':this[_0x36910b(0x1ed)],'subUnitId':this[_0x36910b(0x47c)],'drawingId':this[_0x36910b(0x356)]};}['setShapeProps'](_0x356bcd){const _0x55c6c6=_0x7db477;_0x356bcd['shapeId']!==void 0x0&&(this[_0x55c6c6(0x356)]=_0x356bcd['shapeId']),_0x356bcd[_0x55c6c6(0x370)]!==void 0x0&&(this[_0x55c6c6(0x197)]=_0x356bcd[_0x55c6c6(0x370)]),_0x356bcd['unitId']!==void 0x0&&(this[_0x55c6c6(0x1ed)]=_0x356bcd[_0x55c6c6(0x24d)]),_0x356bcd[_0x55c6c6(0x28c)]!==void 0x0&&(this[_0x55c6c6(0x47c)]=_0x356bcd[_0x55c6c6(0x28c)]),this[_0x55c6c6(0x2a9)]({'width':_0x356bcd[_0x55c6c6(0x19f)],'height':_0x356bcd[_0x55c6c6(0x1e3)]});}[_0x7db477(0x2fe)](_0x27b711){const _0x23cabd=_0x7db477;_0x54839f[_0x23cabd(0x2ce)][_0x23cabd(0x1a6)](_0x27b711,{'radius':_0x3becc2[_0x23cabd(0x482)][_0x23cabd(0x366)],'fill':_0x3becc2[_0x23cabd(0x482)][_0x23cabd(0x26e)],'stroke':_0x3becc2[_0x23cabd(0x482)][_0x23cabd(0x255)],'strokeWidth':0x1,'evented':!0x0});}};function _0x4c90b5(_0x207abd,_0xa365e2,_0x1a6b98){const _0x1b4d92=_0x7db477;let _0x258065={..._0xa365e2,'dataModel':{..._0xa365e2[_0x1b4d92(0x2f4)]??{},..._0x1a6b98?{'doc':_0x1a6b98}:null}},_0x16348d=(0x0,_0x56d51f['resolveShapeTextEditorBehaviorShapeData'])(_0x207abd,_0x258065),_0x436e14=(0x0,_0x56d51f[_0x1b4d92(0x451)])(_0x16348d);return{'clip':(0x0,_0x56d51f['shouldClipShapeTextDocument'])(_0x16348d,_0x436e14),'wrapStrategy':_0x436e14};}var _0x5777c9=class extends _0x54839f['Shape']{constructor(_0xa28674,_0x3f892a){const _0x250d28=_0x7db477;super(_0xa28674,_0x3f892a),_0x38c0c9(this,_0x250d28(0x2c1),void 0x0),_0x38c0c9(this,'_formulaAnimation',new _0x56d51f[(_0x250d28(0x266))](()=>this['makeDirty'](!0x0),()=>this['_applyFormulaAutoFitSize']())),_0x38c0c9(this,'_transformCalculateSrcRect',!0x0),_0x38c0c9(this,_0x250d28(0x1c2),_0x47c402[_0x250d28(0x472)]['DRAWING_SHAPE']),_0x38c0c9(this,'isDrawingObject',!0x0),this[_0x250d28(0x2c1)]={..._0x3f892a},this['_formulaAnimation']['setPresentation'](_0x3f892a[_0x250d28(0x47a)],_0x3f892a[_0x250d28(0x1b5)]!==!0x1),this[_0x250d28(0x40d)](),this['_applyFormulaAutoFitSize']();}[_0x7db477(0x40d)](){const _0x29cb54=_0x7db477;this[_0x29cb54(0x43b)]['subscribeEvent'](_0x204aa3=>{const _0x52c78e=_0x29cb54;this[_0x52c78e(0x32b)](_0x204aa3);});}[_0x7db477(0x3c8)](_0x4d9e38){const _0x381bef=_0x7db477;this[_0x381bef(0x2c1)][_0x381bef(0x2d3)]=_0x4d9e38;}[_0x7db477(0x2e2)](_0x508552){const _0xcdca5d=_0x7db477;this[_0xcdca5d(0x2c1)][_0xcdca5d(0x216)]=_0x508552,this['makeDirty'](!0x0);}[_0x7db477(0x264)](_0x401aea,_0x4a5271=!0x0){const _0x33852f=_0x7db477;this['_formulaAnimation'][_0x33852f(0x3c0)](_0x401aea,_0x4a5271),this[_0x33852f(0x2c1)][_0x33852f(0x47a)]=_0x401aea,this[_0x33852f(0x229)](),this[_0x33852f(0x182)](!0x0);}[_0x7db477(0x229)](){const _0x154e11=_0x7db477;let _0x35f781=this[_0x154e11(0x2c1)][_0x154e11(0x3ca)],_0x47b9e4=_0x35f781[_0x154e11(0x2e0)](),_0x2cf376=(0x0,_0x56d51f[_0x154e11(0x2ff)])(_0x47b9e4==null?void 0x0:_0x47b9e4[_0x154e11(0x2f4)]),_0x34c897=_0x2cf376==null?void 0x0:_0x2cf376['doc'],_0x3452b6=this['_formulaAnimation'][_0x154e11(0x3cb)]();if(!_0x34c897||_0x3452b6[_0x154e11(0x2b4)]===0x0)return;_0x35f781['updateContext']({'width':this[_0x154e11(0x19f)],'height':this[_0x154e11(0x1e3)]});let _0x5b0384=(0x0,_0x56d51f[_0x154e11(0x3c7)])({'documentData':_0x3452b6[_0x154e11(0x3b4)](_0x4ae805=>(0x0,_0x48b72a[_0x154e11(0x3d3)])(_0x34c897,_0x4ae805)),'height':this[_0x154e11(0x1e3)],'shapeData':_0x35f781['getShapeData'](),'textRect':_0x35f781[_0x154e11(0x258)]({'left':0x0,'top':0x0,'width':this[_0x154e11(0x19f)],'height':this['height']}),'width':this[_0x154e11(0x19f)]});if(_0x5b0384){var _0x118d4d;this[_0x154e11(0x1dd)](_0x5b0384[_0x154e11(0x19f)],_0x5b0384['height']),(_0x118d4d=this[_0x154e11(0x12b)]())==null||(_0x118d4d=_0x118d4d['getTransformer']())==null||_0x118d4d[_0x154e11(0x33f)]();}}get[_0x7db477(0x24d)](){const _0x2d15f1=_0x7db477;return this[_0x2d15f1(0x2c1)][_0x2d15f1(0x24d)];}get[_0x7db477(0x28c)](){const _0x299eb9=_0x7db477;return this[_0x299eb9(0x2c1)][_0x299eb9(0x28c)];}[_0x7db477(0x32b)](_0x4f290c){const _0x4ae238=_0x7db477;if(this[_0x4ae238(0x2c1)][_0x4ae238(0x17d)]==null||!this['_transformCalculateSrcRect'])return;let {width:_0x35db10,height:_0xf2f383}=this,{width:_0x4f11da=0x0,height:_0x4c8ddd=0x0}=_0x4f290c[_0x4ae238(0x2d0)],{left:_0x151ebe=0x0,top:_0x40f484=0x0,right:_0x15200c=0x0,bottom:_0x49660c=0x0}=this[_0x4ae238(0x2c1)][_0x4ae238(0x17d)],_0x5e7a0b=_0x151ebe,_0x3a1148=_0x40f484,_0x3975a7=_0x15200c,_0x546f87=_0x49660c,_0x22dc14=!0x1;if(_0x4f11da!==0x0&&_0x4f11da!==_0x35db10){let _0x57ca0b=_0x151ebe/_0x4f11da,_0x3bd9ef=_0x15200c/_0x4f11da;_0x5e7a0b=_0x35db10*_0x57ca0b,_0x3975a7=_0x35db10*_0x3bd9ef,_0x22dc14=!0x0;}if(_0x4c8ddd!==0x0&&_0x4c8ddd!==_0xf2f383){let _0x2e3aff=_0x40f484/_0x4c8ddd,_0x3d73f8=_0x49660c/_0x4c8ddd;_0x3a1148=_0xf2f383*_0x2e3aff,_0x546f87=_0xf2f383*_0x3d73f8,_0x22dc14=!0x0;}_0x22dc14&&this['setSrcRect']({'left':_0x5e7a0b,'top':_0x3a1148,'right':_0x3975a7,'bottom':_0x546f87});}[_0x7db477(0x13e)](_0x116d9d){const _0x11d0b4=_0x7db477;this['_props'][_0x11d0b4(0x17d)]=_0x116d9d,this[_0x11d0b4(0x182)](!0x0);}[_0x7db477(0x1f5)](_0x25a880){const _0x43386a=_0x7db477;this[_0x43386a(0x2c1)]['image']=_0x25a880,this[_0x43386a(0x182)](!0x0);}set[_0x7db477(0x211)](_0xf7856b){const _0x919a31=_0x7db477;this[_0x919a31(0x13b)]=_0xf7856b;}get[_0x7db477(0x211)](){const _0x91e519=_0x7db477;this[_0x91e519(0x13b)]||this[_0x91e519(0x194)]();let _0x171d16=this[_0x91e519(0x13b)][_0x91e519(0x120)]();return this[_0x91e519(0x28d)](_0x171d16);}get['shapeModel'](){const _0x37d4e2=_0x7db477;return this['_props'][_0x37d4e2(0x3ca)];}get[_0x7db477(0x424)](){const _0x192a31=_0x7db477;return this[_0x192a31(0x2c1)][_0x192a31(0x424)];}get['classType'](){const _0x11116a=_0x7db477;return _0x54839f['RENDER_CLASS_TYPE'][_0x11116a(0x131)];}[_0x7db477(0x2fe)](_0x28737f,_0x399ddc,_0x375b05,_0x518923){const _0x154d6f=_0x7db477;let _0x12a584=this[_0x154d6f(0x2c1)][_0x154d6f(0x3ca)];if(!_0x12a584||!_0x399ddc)return;let _0x4a927a=_0x375b05??this[_0x154d6f(0x19f)],_0x3711dc=_0x518923??this[_0x154d6f(0x1e3)],_0xef6bb1={'shapeType':_0x12a584[_0x154d6f(0x466)](),'width':_0x4a927a,'height':_0x3711dc},_0x203bc8={'renderMode':_0x3becc2[_0x154d6f(0x185)][_0x154d6f(0x3c9)],'oKey':this[_0x154d6f(0x34c)],'image':this[_0x154d6f(0x2c1)][_0x154d6f(0x29d)],'angle':this[_0x154d6f(0x336)]};_0x12a584[_0x154d6f(0x1d4)](_0xef6bb1),_0x28737f['save']();let _0x53f3a2={'top':0x0,'left':0x0,'width':_0x4a927a,'height':_0x3711dc},_0x251f72=_0x12a584['getDrawingEffectBounds'](_0x53f3a2);_0x251f72?this[_0x154d6f(0x406)](_0x28737f,_0x251f72,_0x2d1ab8=>{const _0x31dddc=_0x154d6f;_0x12a584[_0x31dddc(0x220)](_0x2d1ab8,_0x53f3a2,_0x203bc8);}):(this[_0x154d6f(0x473)](),_0x12a584['render'](_0x28737f,_0x53f3a2,_0x203bc8)),_0x28737f[_0x154d6f(0x161)]();let _0x2e844b=_0x12a584[_0x154d6f(0x2e0)](),_0x5d77c0=_0x12a584[_0x154d6f(0x258)](_0x53f3a2),_0x4db5b8=_0x12a584[_0x154d6f(0x20e)]();if(_0x2e844b&&_0x5d77c0&&!_0x4db5b8){_0x28737f[_0x154d6f(0x48f)](),this[_0x154d6f(0x251)]()[_0x154d6f(0x1d0)]&&_0x28737f[_0x154d6f(0x3f8)](-0x1,0x1);let _0xa26c95=_0x4a927a/0x2,_0x59be47=_0x3711dc/0x2;_0x28737f['translate'](-_0xa26c95,-_0x59be47),_0x28737f['beginPath'](),this[_0x154d6f(0x317)](_0x28737f,_0x2e844b,_0x5d77c0),_0x28737f[_0x154d6f(0x161)]();}}[_0x7db477(0x41d)](_0x50ddfb){}['_drawShapeText'](_0x3747a1,_0x7f9644,_0x29d66d){const _0x195dab=_0x7db477;var _0x17d9ea;this['_props']['isEditing']||(!((_0x17d9ea=_0x7f9644[_0x195dab(0x2f4)])!=null&&_0x17d9ea['doc'])&&_0x195dab(0x2a4)in _0x7f9644&&_0x7f9644[_0x195dab(0x2a4)]===!0x1?this['_drawSimpleText'](_0x3747a1,_0x7f9644,_0x29d66d):this[_0x195dab(0x1fb)](_0x3747a1,_0x7f9644,_0x29d66d));}[_0x7db477(0x3b1)](_0x29102d,_0x4b67d8,_0x4b5e5a){const _0x4c9aca=_0x7db477;this[_0x4c9aca(0x1fb)](_0x29102d,{..._0x4b67d8,'text':_0x4b67d8[_0x4c9aca(0x2f6)]??'','dataModel':{'doc':(0x0,_0x56d51f['plainShapeTextToDocumentData'])(_0x4b67d8,_0x4c9aca(0x381)+this[_0x4c9aca(0x34c)])}},_0x4b5e5a);}[_0x7db477(0x1fb)](_0x1ab48e,_0x4b75f7,_0x2d7c00){const _0x478ac6=_0x7db477;(0x0,_0x56d51f[_0x478ac6(0x2ae)])(_0x1ab48e,this[_0x478ac6(0x445)],(_0x4cfc46,_0x1ac121)=>{this['_drawRichTextLayer'](_0x4cfc46,_0x4b75f7,_0x2d7c00,_0x1ac121);});}['_drawRichTextLayer'](_0x10bf3d,_0x107f4c,_0x2dc28a,_0x37f760){const _0x3ab7b1=_0x7db477;let _0xf42edd=this['_props'][_0x3ab7b1(0x354)];if(!_0x107f4c[_0x3ab7b1(0x2f4)]||!_0xf42edd){_0xf42edd||console[_0x3ab7b1(0x328)](_0x3ab7b1(0x290));return;}let _0x469f42=(0x0,_0x56d51f[_0x3ab7b1(0x2ff)])(_0x107f4c['dataModel']);if(!_0x469f42)return;let _0x49cbca=_0x469f42[_0x3ab7b1(0x1b6)];if(!_0x49cbca)return;let _0x1db8a9=(0x0,_0x48b72a[_0x3ab7b1(0x3d3)])(_0x49cbca,_0x37f760),_0x2fb761=_0x469f42['va']??_0x47c402[_0x3ab7b1(0x414)][_0x3ab7b1(0x418)],_0x368395=_0x469f42['ha']??_0x47c402[_0x3ab7b1(0x39c)]['LEFT'],_0x54d0c5=_0x4c90b5(this['_props'][_0x3ab7b1(0x3ca)][_0x3ab7b1(0x38a)](),_0x107f4c,_0x1db8a9),_0x39ed8e=_0x107f4c[_0x3ab7b1(0x207)],_0x398600=(0x0,_0x56d51f[_0x3ab7b1(0x2ad)])(_0x1db8a9,{'isHorizontal':_0x39ed8e!==!0x1,'textRect':_0x2dc28a,'verticalAlign':_0x2fb761,'horizontalAlign':_0x368395,'wrapStrategy':_0x54d0c5[_0x3ab7b1(0x36f)]}),_0x1c8385=new _0x47c402[(_0x3ab7b1(0x26a))](_0x398600),_0xeb804f=new _0x54839f[(_0x3ab7b1(0x3de))](_0x1c8385),_0x3c8afa=_0x54839f[_0x3ab7b1(0x1fc)][_0x3ab7b1(0x46d)](_0xeb804f,_0xf42edd);_0x3c8afa[_0x3ab7b1(0x272)]();let _0x55c4c4=_0x3c8afa[_0x3ab7b1(0x1ba)]()[_0x3ab7b1(0x3ee)],_0x1c60db=(0x0,_0x56d51f[_0x3ab7b1(0x1df)])({'contentHeight':_0x55c4c4,'verticalAlign':_0x2fb761,'viewportHeight':_0x2dc28a['height']});_0x1c8385[_0x3ab7b1(0x15a)]({'pageSize':{'width':_0x39ed8e===!0x1?_0x2dc28a['height']:_0x2dc28a[_0x3ab7b1(0x19f)],'height':(0x0,_0x56d51f[_0x3ab7b1(0x17f)])(_0x1db8a9,_0x1c60db[_0x3ab7b1(0x429)])}}),_0x1c8385[_0x3ab7b1(0x283)]({'t':_0x1c60db[_0x3ab7b1(0x2b9)]}),_0x3c8afa[_0x3ab7b1(0x272)]();let _0x3b8fea=new _0x54839f[(_0x3ab7b1(0x22d))]('shape-text-'+this[_0x3ab7b1(0x34c)],_0x3c8afa,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this['makeDirty'](!0x0)});_0x3b8fea[_0x3ab7b1(0x1dd)](_0x2dc28a['width'],_0x1c60db[_0x3ab7b1(0x429)]),_0x10bf3d[_0x3ab7b1(0x48f)](),_0x10bf3d['translateWithPrecision'](_0x2dc28a['left'],_0x2dc28a[_0x3ab7b1(0x372)]),_0x54d0c5[_0x3ab7b1(0x188)]&&(_0x10bf3d[_0x3ab7b1(0x221)](),_0x10bf3d['rect'](0x0,_0x1c60db[_0x3ab7b1(0x18a)],_0x2dc28a[_0x3ab7b1(0x19f)],_0x1c60db[_0x3ab7b1(0x129)]),_0x10bf3d[_0x3ab7b1(0x188)]()),_0x1c60db[_0x3ab7b1(0x26c)]&&_0x10bf3d[_0x3ab7b1(0x314)](0x0,_0x1c60db[_0x3ab7b1(0x26c)]),_0x3b8fea['draw'](_0x10bf3d),_0x10bf3d[_0x3ab7b1(0x161)](),_0x3b8fea['dispose'](),_0x3c8afa[_0x3ab7b1(0x18c)](),_0xeb804f[_0x3ab7b1(0x18c)](),_0x1c8385[_0x3ab7b1(0x18c)]();}[_0x7db477(0x220)](_0x5f2c81,_0x51e36e,_0xf9dc95=!0x1){const _0x5066f8=_0x7db477;if(!this[_0x5066f8(0x190)])return this[_0x5066f8(0x182)](!0x1),this;let {width:_0x5bdc59,height:_0x183707,left:_0x2f8328,top:_0x4bab6}=this,_0x4d07ae=this[_0x5066f8(0x376)]();if(_0x5bdc59=_0x4d07ae[_0x5066f8(0x19f)],_0x183707=_0x4d07ae[_0x5066f8(0x1e3)],_0x2f8328=_0x4d07ae[_0x5066f8(0x1d8)],_0x4bab6=_0x4d07ae[_0x5066f8(0x372)],this[_0x5066f8(0x316)](_0x51e36e)){let {top:_0x45409e,left:_0x43fd74,bottom:_0x188e70,right:_0x484c84}=_0x51e36e[_0x5066f8(0x3aa)];if(_0x5bdc59+this[_0x5066f8(0x17c)]+_0x2f8328<_0x43fd74||_0x484c84<_0x2f8328||_0x183707+this[_0x5066f8(0x17c)]+_0x4bab6<_0x45409e||_0x188e70<_0x4bab6)return this;}let _0x526f7b=_0x2f8328+_0x5bdc59/0x2,_0x7bba4a=_0x4bab6+_0x183707/0x2,_0x5e4583=this[_0x5066f8(0x211)][_0x5066f8(0x2ca)]();if(this[_0x5066f8(0x2c1)]['isEditing']){let _0x38814e=this[_0x5066f8(0x251)](),_0x71c090=new _0x54839f['Transform']();_0x71c090[_0x5066f8(0x228)]({..._0x38814e}),_0x5e4583=_0x71c090[_0x5066f8(0x2ca)]();}return _0x5f2c81[_0x5066f8(0x48f)](),this['_props'][_0x5066f8(0x3ca)]['isRenderLinePointsMode']===!0x0||_0x5f2c81[_0x5066f8(0x211)](_0x5e4583[0x0],_0x5e4583[0x1],_0x5e4583[0x2],_0x5e4583[0x3],_0x526f7b,_0x7bba4a),this[_0x5066f8(0x2fe)](_0x5f2c81,_0x51e36e,_0x5bdc59,_0x183707),_0x5f2c81[_0x5066f8(0x161)](),this['makeDirty'](!0x1),this;}[_0x7db477(0x14f)](_0x1e3634){const _0x872025=_0x7db477;let {left:_0x8b5c84,top:_0x765d33,width:_0x22862e,height:_0x57de51}=this[_0x872025(0x376)](),_0x17f3a2=this[_0x872025(0x211)][_0x872025(0x2ca)](),_0x359df8=_0x8b5c84+_0x22862e/0x2,_0x21714e=_0x765d33+_0x57de51/0x2,_0x44742b=new _0x54839f[(_0x872025(0x31a))]([_0x17f3a2[0x0],_0x17f3a2[0x1],_0x17f3a2[0x2],_0x17f3a2[0x3],_0x359df8,_0x21714e]),_0x21d305=this['getParent']();return(this[_0x872025(0x1e4)]&&(_0x21d305==null?void 0x0:_0x21d305[_0x872025(0x3c1)])===_0x54839f[_0x872025(0x163)][_0x872025(0x477)]?_0x21d305[_0x872025(0x497)][_0x872025(0x259)](_0x44742b):_0x44742b)['invert']()[_0x872025(0x460)](_0x1e3634);}[_0x7db477(0x425)](_0x416cef){const _0x4974fb=_0x7db477;let {left:_0x3273f1,top:_0x10e5ab,width:_0x4ce185,height:_0x2d4e57}=this[_0x4974fb(0x376)](),_0x3b0223=_0x3273f1+_0x4ce185/0x2,_0x4a74ae=_0x10e5ab+_0x2d4e57/0x2,_0x5178d4=this[_0x4974fb(0x211)][_0x4974fb(0x2ca)](),_0x3170a4=new _0x54839f[(_0x4974fb(0x31a))]([_0x5178d4[0x0],_0x5178d4[0x1],_0x5178d4[0x2],_0x5178d4[0x3],_0x3b0223,_0x4a74ae]),_0x2eaec3=this['getParent'](),_0x711911=(this[_0x4974fb(0x1e4)]&&(_0x2eaec3==null?void 0x0:_0x2eaec3['classType'])===_0x54839f[_0x4974fb(0x163)][_0x4974fb(0x477)]?_0x2eaec3[_0x4974fb(0x497)]['multiply'](_0x3170a4):_0x3170a4)[_0x4974fb(0x3bb)]()['applyPoint'](_0x416cef),_0x5bcbfe=_0x4ce185/0x2,_0xc6a222=_0x2d4e57/0x2,_0x303a94=this[_0x4974fb(0x2c1)][_0x4974fb(0x3ca)];return _0x303a94&&_0x303a94[_0x4974fb(0x20e)]()?_0x303a94[_0x4974fb(0x2fb)](_0x711911['x'],_0x711911['y'],_0x4ce185,_0x2d4e57):_0x711911['x']>=-_0x5bcbfe-this[_0x4974fb(0x17c)]/0x2&&_0x711911['x']<=_0x5bcbfe+this[_0x4974fb(0x17c)]/0x2&&_0x711911['y']>=-_0xc6a222-this[_0x4974fb(0x17c)]/0x2&&_0x711911['y']<=_0xc6a222+this[_0x4974fb(0x17c)]/0x2;}['dispose'](){const _0x80ee45=_0x7db477;this['_formulaAnimation'][_0x80ee45(0x18c)](),this['_props'][_0x80ee45(0x3ca)]=null,super['dispose']();}};let _0x3e66ac=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0x451955,_0x1fab29,_0xa250ce,_0x924ac1){const _0x133e5b=_0x7db477;super(),this[_0x133e5b(0x3c6)]=_0x451955,this[_0x133e5b(0x369)]=_0x1fab29,this[_0x133e5b(0x25b)]=_0xa250ce,this[_0x133e5b(0x248)]=_0x924ac1,_0x38c0c9(this,_0x133e5b(0x111),null),_0x38c0c9(this,_0x133e5b(0x1ed),null),_0x38c0c9(this,_0x133e5b(0x47c),null),_0x38c0c9(this,_0x133e5b(0x421),void 0x0),_0x38c0c9(this,'_adjustPointObjects',[]),_0x38c0c9(this,_0x133e5b(0x41e),0x0),_0x38c0c9(this,'_baseShapeTop',0x0),_0x38c0c9(this,_0x133e5b(0x2a8),0x0),_0x38c0c9(this,_0x133e5b(0x442),0x0),_0x38c0c9(this,_0x133e5b(0x49d),!0x1),_0x38c0c9(this,_0x133e5b(0x397),!0x1),_0x38c0c9(this,'_activeAdjustInfo',void 0x0),_0x38c0c9(this,'_activeShapeModel',void 0x0),_0x38c0c9(this,'_adjHandlerPointerMove',void 0x0),_0x38c0c9(this,_0x133e5b(0x1e8),void 0x0),this[_0x133e5b(0x49c)](),this['_registerDrawingTransformHandler']();}[_0x7db477(0x204)](){const _0x53a063=_0x7db477;this[_0x53a063(0x49f)]();}[_0x7db477(0x1ac)](){const _0x3ecaec=_0x7db477;this[_0x3ecaec(0x2be)](!0x0);}[_0x7db477(0x239)](_0x478ab7,_0x5ad853,_0x161848){const _0x188a28=_0x7db477;var _0x5cbd2c;return(_0x5cbd2c=this[_0x188a28(0x25b)][_0x188a28(0x3ab)](_0x478ab7,_0x5ad853,_0x161848))==null?void 0x0:_0x5cbd2c[_0x188a28(0x41d)]();}[_0x7db477(0x2a7)](_0x2f34cf,_0x4b2c1f,_0x3707fb,_0x17acc1){const _0x2c0e12=_0x7db477;var _0x4e6c6e;return(_0x4e6c6e=this[_0x2c0e12(0x25b)][_0x2c0e12(0x3ab)](_0x2f34cf,_0x4b2c1f,_0x3707fb))==null?void 0x0:_0x4e6c6e['getAdjustInfoByName'](_0x17acc1);}['_getActiveDrawingParam'](){const _0x2ea2e0=_0x7db477;return this[_0x2ea2e0(0x1ed)]===null||this['_subUnitId']===null||this[_0x2ea2e0(0x111)]===null?null:this[_0x2ea2e0(0x369)][_0x2ea2e0(0x340)]({'unitId':this[_0x2ea2e0(0x1ed)],'subUnitId':this[_0x2ea2e0(0x47c)],'drawingId':this[_0x2ea2e0(0x111)]})??null;}[_0x7db477(0x200)](_0x4002cd){const _0x169d40=_0x7db477;if(this[_0x169d40(0x1ed)]===null||this['_subUnitId']===null||this['_activeShapeId']===null)return null;let _0x3382ce=(0x0,_0x4152b2[_0x169d40(0x2b6)])({'unitId':this[_0x169d40(0x1ed)],'subUnitId':this[_0x169d40(0x47c)],'drawingId':this[_0x169d40(0x111)]}),_0x128650=_0x4002cd['getObjectIncludeInGroup'](_0x3382ce);return _0x128650 instanceof _0x5777c9?_0x128650:null;}[_0x7db477(0x42a)](_0x1526b1=!0x1){const _0x710878=_0x7db477;if(this['_unitId']===null||this['_subUnitId']===null||this[_0x710878(0x111)]===null)return;let _0x3ba8b5=this[_0x710878(0x2d7)]();if((_0x3ba8b5==null?void 0x0:_0x3ba8b5[_0x710878(0x3bc)])!==_0x47c402[_0x710878(0x472)]['DRAWING_SHAPE']||!_0x3ba8b5[_0x710878(0x211)])return;let _0x5c7ef0=this[_0x710878(0x25b)]['getShapeModel'](this[_0x710878(0x1ed)],this['_subUnitId'],this[_0x710878(0x111)]);if(!_0x5c7ef0||_0x5c7ef0[_0x710878(0x20e)]())return;let {left:_0x5c07d9=0x0,top:_0x280373=0x0,width:_0x2fc832=0x0,height:_0x399f31=0x0,flipX:_0x7b1cd8,flipY:_0x4f2c01,angle:_0x4bd794=0x0}=_0x3ba8b5[_0x710878(0x211)];(_0x1526b1||!this[_0x710878(0x421)])&&(_0x5c7ef0[_0x710878(0x1d4)]({'width':_0x2fc832,'height':_0x399f31}),this[_0x710878(0x421)]=_0x5c7ef0[_0x710878(0x41d)]());let _0x8b961a=this[_0x710878(0x421)];if(!(_0x8b961a!=null&&_0x8b961a[_0x710878(0x2b4)]))return;let {scene:_0xdeae23}=this['_context'];for(let _0x16fd4c of _0x8b961a){let _0x4c9cc9=this[_0x710878(0x157)](_0x16fd4c,_0x2fc832,_0x399f31,!!_0x7b1cd8,!!_0x4f2c01,_0x4bd794);this['_addShapeAdjustControl'](_0xdeae23,_0x4c9cc9,_0x4c9cc9[_0x710878(0x370)],_0x5c07d9,_0x280373,this[_0x710878(0x1ed)],this[_0x710878(0x47c)]);}}[_0x7db477(0x157)](_0x582d58,_0xe36328,_0x108201,_0x5a66d9,_0x316b33,_0x4a6363){const _0x5a8794=_0x7db477;let _0x28d704=_0x582d58['x'],_0x109692=_0x582d58['y'];if(_0x5a66d9&&(_0x28d704=_0xe36328-_0x28d704),_0x316b33&&(_0x109692=_0x108201-_0x109692),_0x4a6363!==0x0){let _0x228482=_0xe36328/0x2,_0x2d9a32=_0x108201/0x2,_0x32abf6=_0x4a6363*Math['PI']/0xb4,_0x31ab50=Math['cos'](_0x32abf6),_0x4871d6=Math['sin'](_0x32abf6),_0x286f9f=_0x28d704-_0x228482,_0x1e860d=_0x109692-_0x2d9a32;_0x28d704=_0x228482+(_0x286f9f*_0x31ab50-_0x1e860d*_0x4871d6),_0x109692=_0x2d9a32+(_0x286f9f*_0x4871d6+_0x1e860d*_0x31ab50);}return{'x':_0x28d704,'y':_0x109692,'adjName':_0x582d58[_0x5a8794(0x370)]};}[_0x7db477(0x2be)](_0x2f39cf=!0x1){const _0x46048d=_0x7db477;_0x2f39cf&&this[_0x46048d(0x49f)](),this['_createShapeAdjustControls'](_0x2f39cf);}[_0x7db477(0x40e)](_0x261245,_0x4490fa,_0x53c87f,_0x5f31c9,_0x56fc0d,_0x5480b2,_0x2c5afc){const _0xbd18c1=_0x7db477;if(!this['_activeShapeId'])return;let _0x589f09=_0xbd18c1(0x342)+this['_activeShapeId']+'-'+_0x53c87f,_0xa473f4=_0x261245['getObjectIncludeInGroup'](_0x589f09);if(_0xa473f4){_0xa473f4[_0xbd18c1(0x2a9)]({'left':_0x4490fa['x']+_0x5f31c9-_0x3becc2['ShapeDefaultConfig'][_0xbd18c1(0x366)],'top':_0x4490fa['y']+_0x56fc0d-_0x3becc2[_0xbd18c1(0x482)]['adjHandleSize']}),_0xa473f4[_0xbd18c1(0x182)](!0x0);return;}let _0x376e4e=new _0x39a34d(_0x589f09,{'left':_0x4490fa['x']+_0x5f31c9-_0x3becc2[_0xbd18c1(0x482)][_0xbd18c1(0x366)],'top':_0x4490fa['y']+_0x56fc0d-_0x3becc2[_0xbd18c1(0x482)][_0xbd18c1(0x366)],'adjName':_0x53c87f,'shapeId':this['_activeShapeId'],'unitId':_0x5480b2,'subUnitId':_0x2c5afc,'width':_0x3becc2['ShapeDefaultConfig']['adjHandleSize']+0x8,'height':_0x3becc2[_0xbd18c1(0x482)][_0xbd18c1(0x366)]+0x8,'zIndex':_0x54839f[_0xbd18c1(0x13f)]+0x1,'evented':!0x0});this[_0xbd18c1(0x422)][_0xbd18c1(0x327)](_0x376e4e),this[_0xbd18c1(0x36c)](_0x376e4e,_0x261245,_0x53c87f),_0x261245[_0xbd18c1(0x338)](_0x376e4e,_0x54839f[_0xbd18c1(0x13f)]+0x1);}[_0x7db477(0x49f)](){const _0x5c6551=_0x7db477;this[_0x5c6551(0x422)][_0x5c6551(0x2dd)](_0xf99783=>_0xf99783[_0x5c6551(0x18c)]()),this[_0x5c6551(0x422)]=[];}['_updateAdjustControlPositions'](){const _0x13f718=_0x7db477;this[_0x13f718(0x42a)]();}['_toScenePoint'](_0xe06f07,_0x2078c8,_0x358ca1){const _0x3a9855=_0x7db477;let _0x273f63=_0x54839f[_0x3a9855(0x2d2)]['FromArray']([_0x2078c8,_0x358ca1]),_0x2f8145=_0xe06f07[_0x3a9855(0x1c1)](_0x273f63)??_0xe06f07[_0x3a9855(0x247)]()[0x0];return(_0x2f8145==null?void 0x0:_0x2f8145[_0x3a9855(0x307)](_0x273f63))??_0x273f63;}[_0x7db477(0x36c)](_0x5c5c7d,_0x105328,_0x3e6808){const _0x56a61c=_0x7db477;this[_0x56a61c(0x2b0)]((0x0,_0x47c402[_0x56a61c(0x2e3)])(_0x5c5c7d['onPointerDown$']['subscribeEvent']((_0x3a9f80,_0x1682ba)=>{const _0x43e9e8=_0x56a61c;var _0xf494dd;let _0x4722b8=_0x5c5c7d[_0x43e9e8(0x1e0)]();this['_activeAdjustInfo']=this[_0x43e9e8(0x2a7)](_0x4722b8[_0x43e9e8(0x24d)],_0x4722b8[_0x43e9e8(0x28c)],_0x4722b8[_0x43e9e8(0x2ef)],_0x3e6808),this[_0x43e9e8(0x1bb)]=this[_0x43e9e8(0x25b)][_0x43e9e8(0x3ab)](_0x4722b8['unitId'],_0x4722b8[_0x43e9e8(0x28c)],_0x4722b8['drawingId']);let _0x48ad23=this[_0x43e9e8(0x2d7)](),_0x577134=_0x48ad23==null?void 0x0:_0x48ad23['transform'];if(!_0x48ad23||!_0x577134||!this[_0x43e9e8(0x1bb)])return;this[_0x43e9e8(0x41e)]=_0x577134[_0x43e9e8(0x1d8)]||0x0,this[_0x43e9e8(0x227)]=_0x577134['top']||0x0,this['_baseShapeWidth']=_0x577134['width']||0x0,this['_baseShapeHeight']=_0x577134[_0x43e9e8(0x1e3)]||0x0;let _0x46c221=!!_0x577134['flipX'],_0x561121=!!_0x577134[_0x43e9e8(0x1c4)],_0x3734c6=_0x577134['angle']||0x0,_0x459c21={...((_0xf494dd=this['_activeAdjustInfo'])==null?void 0x0:_0xf494dd['currentAdjustValues'])??{}};this[_0x43e9e8(0x49d)]=!0x0,_0x105328[_0x43e9e8(0x3d5)](),this[_0x43e9e8(0x38b)]=_0x105328['onPointerMove$']['subscribeEvent']((_0x3696a7,_0xcd63cf)=>{const _0x264c1e=_0x43e9e8;var _0x1fdb3e;if(!this[_0x264c1e(0x49d)]||!this[_0x264c1e(0x1bb)]||!this[_0x264c1e(0x428)])return;_0x105328['disableObjectsEvent'](),_0x105328[_0x264c1e(0x1a0)](_0x54839f[_0x264c1e(0x214)][_0x264c1e(0x3e3)]);let _0xa87fe0=this[_0x264c1e(0x14c)](_0x105328,_0x3696a7[_0x264c1e(0x29f)],_0x3696a7[_0x264c1e(0x309)]),_0x1a3866=_0xa87fe0['x']-this[_0x264c1e(0x41e)],_0x56e55e=_0xa87fe0['y']-this[_0x264c1e(0x227)];if(_0x3734c6!==0x0){let _0x14cf1f=this[_0x264c1e(0x2a8)]/0x2,_0x55b1ce=this[_0x264c1e(0x442)]/0x2,_0x41e11c=_0x3734c6*Math['PI']/0xb4,_0x305d2f=Math[_0x264c1e(0x3e4)](_0x41e11c),_0x3c6461=Math['sin'](_0x41e11c),_0x3df95c=_0x1a3866-_0x14cf1f,_0xc3289=_0x56e55e-_0x55b1ce;_0x1a3866=_0x14cf1f+(_0x3df95c*_0x305d2f+_0xc3289*_0x3c6461),_0x56e55e=_0x55b1ce+(-_0x3df95c*_0x3c6461+_0xc3289*_0x305d2f);}_0x46c221&&(_0x1a3866=this[_0x264c1e(0x2a8)]-_0x1a3866),_0x561121&&(_0x56e55e=this['_baseShapeHeight']-_0x56e55e);let _0x567911={'left':0x0,'top':0x0,'width':this[_0x264c1e(0x2a8)],'height':this[_0x264c1e(0x442)]},_0xf228b6=this['_activeShapeModel'][_0x264c1e(0x395)](_0x567911,{'x':_0x1a3866,'y':_0x56e55e},this[_0x264c1e(0x428)],_0x46c221,_0x561121);if(Object[_0x264c1e(0x2d8)](_0xf228b6)[_0x264c1e(0x2b4)]!==0x0){for(let [_0x2e7c54,_0x4df8a5]of Object[_0x264c1e(0x3bd)](_0xf228b6))this[_0x264c1e(0x1bb)][_0x264c1e(0x402)](_0x2e7c54,_0x4df8a5);this[_0x264c1e(0x1bb)][_0x264c1e(0x1d4)]({'width':this[_0x264c1e(0x2a8)],'height':this['_baseShapeHeight']}),(_0x1fdb3e=this[_0x264c1e(0x200)](_0x105328))==null||_0x1fdb3e['makeDirty'](!0x0),this[_0x264c1e(0x421)]=this[_0x264c1e(0x239)](_0x4722b8[_0x264c1e(0x24d)],_0x4722b8[_0x264c1e(0x28c)],_0x4722b8[_0x264c1e(0x2ef)]),this[_0x264c1e(0x3be)](),_0xcd63cf[_0x264c1e(0x361)]();}}),this[_0x43e9e8(0x1e8)]=_0x105328[_0x43e9e8(0x3b2)][_0x43e9e8(0x20f)]((_0x2b255c,_0x220816)=>{const _0x5a8a8b=_0x43e9e8;var _0x4523aa,_0x968ff3;(_0x4523aa=this[_0x5a8a8b(0x38b)])==null||_0x4523aa[_0x5a8a8b(0x158)](),(_0x968ff3=this[_0x5a8a8b(0x1e8)])==null||_0x968ff3['unsubscribe'](),_0x105328['resetCursor']();let _0x26c5ee=this[_0x5a8a8b(0x428)];if(_0x26c5ee&&this['_activeShapeModel']){let _0x5270e9={};for(let _0x291725 of Object[_0x5a8a8b(0x2d8)](_0x26c5ee[_0x5a8a8b(0x43f)])){let _0x19f553=this['_activeShapeModel'][_0x5a8a8b(0x3d1)](_0x291725);_0x19f553!==void 0x0&&(_0x5270e9[_0x291725]=_0x19f553);}Object[_0x5a8a8b(0x2d8)](_0x5270e9)[_0x5a8a8b(0x2b4)]>0x0&&_0x59074d(this['_commandService'],_0x4722b8[_0x5a8a8b(0x24d)],_0x4722b8['subUnitId'],_0x4722b8[_0x5a8a8b(0x2ef)],{'oldShapeData':{'adjustValues':_0x459c21}},{'adjustValues':_0x5270e9});}this[_0x5a8a8b(0x428)]=void 0x0,this[_0x5a8a8b(0x1bb)]=void 0x0,this[_0x5a8a8b(0x49d)]=!0x1,_0x105328[_0x5a8a8b(0x2d5)](),_0x220816[_0x5a8a8b(0x361)]();}),_0x1682ba[_0x43e9e8(0x361)]();})));}[_0x7db477(0x1d6)](){const _0x12af19=_0x7db477;let {scene:_0x429416}=this[_0x12af19(0x3c6)],_0x512b45=_0x429416[_0x12af19(0x339)]();this[_0x12af19(0x2b0)](_0x512b45['changeStart$'][_0x12af19(0x146)](_0x5b32b3=>{const _0xd890d4=_0x12af19;this['_createShapeAdjustControls'](),_0x5b32b3[_0xd890d4(0x35f)]!==null&&_0x5b32b3[_0xd890d4(0x35f)][_0xd890d4(0x142)]===0x1&&_0x5b32b3[_0xd890d4(0x35f)][_0xd890d4(0x235)]()[_0xd890d4(0x22e)]()[_0xd890d4(0x1c6)]instanceof _0x5777c9&&(this[_0xd890d4(0x397)]=!0x0);})),this[_0x12af19(0x2b0)](_0x512b45[_0x12af19(0x170)][_0x12af19(0x146)](()=>{const _0x4e5af5=_0x12af19;this[_0x4e5af5(0x397)]&&this[_0x4e5af5(0x49f)]();})),this[_0x12af19(0x2b0)](_0x429416['onPointerUp$'][_0x12af19(0x20f)](()=>{const _0x3dca41=_0x12af19;this[_0x3dca41(0x397)]&&(this[_0x3dca41(0x397)]=!0x1,this['_createShapeAdjustControls']());})),this['disposeWithMe'](_0x512b45['changeEnd$']['subscribe'](()=>{const _0x1c127f=_0x12af19;this['_unitId']&&this['_subUnitId']&&this[_0x1c127f(0x111)]&&(this[_0x1c127f(0x421)]=this[_0x1c127f(0x239)](this['_unitId'],this['_subUnitId'],this[_0x1c127f(0x111)]),this[_0x1c127f(0x3be)]());}));}[_0x7db477(0x49c)](){const _0x9f8f06=_0x7db477;this[_0x9f8f06(0x2b0)](this[_0x9f8f06(0x248)]['onCommandExecuted'](_0x24cc79=>{const _0x4606de=_0x9f8f06;if(_0x24cc79['id']!==_0x284855[_0x4606de(0x324)]['id'])return;let {unitId:_0x19046a,shapeId:_0x431c58}=_0x24cc79['params'];_0x19046a===this[_0x4606de(0x1ed)]&&_0x431c58===this[_0x4606de(0x111)]&&this['refreshAdjustControls']();})),this[_0x9f8f06(0x2b0)](this[_0x9f8f06(0x369)][_0x9f8f06(0x48c)][_0x9f8f06(0x146)](_0x1f1691=>{const _0xa9f889=_0x9f8f06;if(_0x1f1691[_0xa9f889(0x2b4)]===0x1){let _0x5a57b0=_0x1f1691[0x0],_0x47781f=this['_drawingManagerService'][_0xa9f889(0x340)](_0x5a57b0);if((_0x47781f==null?void 0x0:_0x47781f[_0xa9f889(0x3bc)])===_0x47c402[_0xa9f889(0x472)][_0xa9f889(0x427)]){this[_0xa9f889(0x111)]=_0x5a57b0[_0xa9f889(0x2ef)],this[_0xa9f889(0x1ed)]=_0x5a57b0[_0xa9f889(0x24d)],this[_0xa9f889(0x47c)]=_0x5a57b0['subUnitId'],this['_activeShapeAdjustPointList']=this[_0xa9f889(0x239)](_0x5a57b0[_0xa9f889(0x24d)],_0x5a57b0[_0xa9f889(0x28c)],_0x5a57b0['drawingId']),this[_0xa9f889(0x49f)](),this[_0xa9f889(0x42a)]();return;}}this['_activeShapeId']=null,this[_0xa9f889(0x421)]=void 0x0,this['_unitId']=null,this[_0xa9f889(0x47c)]=null,this['_clearShapeAdjustControls']();})),this[_0x9f8f06(0x2b0)]((0x0,_0x21926c[_0x9f8f06(0x1a1)])(this[_0x9f8f06(0x369)][_0x9f8f06(0x46c)],this[_0x9f8f06(0x369)]['refreshTransform$'])['subscribe'](_0x5f511c=>{const _0x368787=_0x9f8f06;var _0x88a18e;let _0x37a3e9=_0x5f511c[_0x368787(0x363)](_0x13185f=>_0x13185f[_0x368787(0x2ef)]===this[_0x368787(0x111)]&&_0x13185f[_0x368787(0x24d)]===this['_unitId']&&_0x13185f[_0x368787(0x28c)]===this['_subUnitId']);_0x37a3e9&&((_0x88a18e=this[_0x368787(0x369)][_0x368787(0x340)](_0x37a3e9))==null?void 0x0:_0x88a18e['drawingType'])===_0x47c402[_0x368787(0x472)][_0x368787(0x427)]&&this[_0x368787(0x2be)](!0x0);})),this[_0x9f8f06(0x2b0)](this[_0x9f8f06(0x369)][_0x9f8f06(0x440)][_0x9f8f06(0x146)](_0x3749ed=>{const _0x463b2f=_0x9f8f06;for(let _0x1f6735 of _0x3749ed)this[_0x463b2f(0x111)]===_0x1f6735[_0x463b2f(0x2ef)]&&(this['_activeShapeId']=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x463b2f(0x1ed)]=null,this[_0x463b2f(0x47c)]=null,this['_clearShapeAdjustControls']());}));}};_0x3e66ac=_0x1cbdb5([_0x15d88a(0x1,_0x4152b2[_0x7db477(0x1a4)]),_0x15d88a(0x2,(0x0,_0x47c402[_0x7db477(0x261)])(_0x284855[_0x7db477(0x2ac)])),_0x15d88a(0x3,_0x47c402[_0x7db477(0x250)])],_0x3e66ac);let _0x43257f=class extends _0x47c402['Disposable']{constructor(_0x66de1,_0x10d321){const _0x8ea4db=_0x7db477;super(),this[_0x8ea4db(0x17b)]=_0x66de1,this[_0x8ea4db(0x3eb)]=_0x10d321,_0x38c0c9(this,_0x8ea4db(0x1ea),new _0x21926c[(_0x8ea4db(0x297))](null)),_0x38c0c9(this,_0x8ea4db(0x494),this[_0x8ea4db(0x1ea)]['asObservable']()),_0x38c0c9(this,_0x8ea4db(0x171),new _0x21926c[(_0x8ea4db(0x297))](!0x1)),_0x38c0c9(this,_0x8ea4db(0x2f8),this[_0x8ea4db(0x171)][_0x8ea4db(0x270)]()),_0x38c0c9(this,_0x8ea4db(0x39a),void 0x0),this[_0x8ea4db(0x2b0)](this[_0x8ea4db(0x17b)][_0x8ea4db(0x3f4)]['subscribe'](()=>{const _0x51eea0=_0x8ea4db;let _0x4bf172=this[_0x51eea0(0x350)]();_0x4bf172!=null&&_0x4bf172[_0x51eea0(0x190)]&&!this['_canEdit'](_0x4bf172)&&this[_0x51eea0(0x2e2)](null);}));}['dispose'](){const _0x4d1bc7=_0x7db477;this[_0x4d1bc7(0x1ca)](),this[_0x4d1bc7(0x1ea)][_0x4d1bc7(0x22e)](null),this[_0x4d1bc7(0x1ea)][_0x4d1bc7(0x135)](),this[_0x4d1bc7(0x171)][_0x4d1bc7(0x22e)](!0x1),this['_onSavingEditorData$'][_0x4d1bc7(0x135)](),super[_0x4d1bc7(0x18c)]();}['setEditing'](_0x343bbf){const _0x3f5fef=_0x7db477;(_0x343bbf==null||!_0x343bbf[_0x3f5fef(0x190)]||this[_0x3f5fef(0x29b)](_0x343bbf))&&(this['_clearCompletionFrame'](),this['_editingParams$'][_0x3f5fef(0x22e)](_0x343bbf),(_0x343bbf==null||_0x343bbf[_0x3f5fef(0x190)]&&this[_0x3f5fef(0x171)][_0x3f5fef(0x40f)]())&&this['_onSavingEditorData$']['next'](!0x1));}[_0x7db477(0x180)](_0x1b1f0b){const _0x9aeca=_0x7db477;this[_0x9aeca(0x171)][_0x9aeca(0x22e)](_0x1b1f0b);}[_0x7db477(0x350)](){const _0xf24ff6=_0x7db477;return this['_editingParams$'][_0xf24ff6(0x40f)]();}[_0x7db477(0x29b)](_0x398c2a){const _0x216e01=_0x7db477;let _0x4f6a5c=this['_instanceService'][_0x216e01(0x2aa)](_0x398c2a[_0x216e01(0x24d)],_0x47c402[_0x216e01(0x1aa)][_0x216e01(0x486)]);if(!_0x4f6a5c)return!0x0;let _0x1a40b5=(0x0,_0x18b339[_0x216e01(0x1af)])(_0x4f6a5c,_0x398c2a[_0x216e01(0x424)]);return(0x0,_0x18b339[_0x216e01(0x3e1)])(this['_permissionService'],_0x398c2a[_0x216e01(0x24d)],[...(0x0,_0x18b339[_0x216e01(0x15b)])(_0x4f6a5c,_0x1a40b5,_0x216e01(0x31b),_0x398c2a[_0x216e01(0x424)]),(0x0,_0x18b339[_0x216e01(0x44d)])(_0x1a40b5,'drawing',_0x398c2a[_0x216e01(0x424)])]);}[_0x7db477(0x377)](_0x1dd933){const _0x44d25b=_0x7db477;let _0x4bf767=this['getEditing']();_0x4bf767&&this['_completionFrame']===void 0x0&&(this[_0x44d25b(0x180)](!0x0),this[_0x44d25b(0x39a)]=requestAnimationFrame(()=>{const _0x2fbc24=_0x44d25b;this['_completionFrame']=void 0x0,this[_0x2fbc24(0x350)]()===_0x4bf767&&this[_0x2fbc24(0x2e2)](null);}));}[_0x7db477(0x1ca)](){const _0x46ef34=_0x7db477;this[_0x46ef34(0x39a)]!==void 0x0&&(cancelAnimationFrame(this['_completionFrame']),this['_completionFrame']=void 0x0);}[_0x7db477(0x1b7)](){const _0x4f9898=_0x7db477;this[_0x4f9898(0x350)]()&&this[_0x4f9898(0x2e2)](null);}};_0x43257f=_0x1cbdb5([_0x15d88a(0x0,_0x47c402[_0x7db477(0x213)]),_0x15d88a(0x1,_0x47c402['IUniverInstanceService'])],_0x43257f);function _0x5312b2(_0x5530cb){const _0xdcf6c8=_0x7db477;return _0x5530cb[_0xdcf6c8(0x46b)]===!0x0||_0x5530cb['behindText']===_0x47c402[_0xdcf6c8(0x159)][_0xdcf6c8(0x199)]||_0x5530cb[_0xdcf6c8(0x479)]===_0x47c402[_0xdcf6c8(0x457)]['WRAP_NONE']&&_0x5530cb[_0xdcf6c8(0x25d)]===_0x47c402['BooleanNumber'][_0xdcf6c8(0x199)]?_0x130604[_0xdcf6c8(0x271)]-0x1:_0x54839f['DRAWING_OBJECT_LAYER_INDEX'];}let _0x5b7161=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0x438aeb,_0x4f16da,_0x2c8cc2,_0x3f637c,_0xd087,_0x3280e7,_0x313c53){const _0x48e798=_0x7db477;super(),this[_0x48e798(0x369)]=_0x438aeb,this[_0x48e798(0x25b)]=_0x4f16da,this['_localeService']=_0x2c8cc2,this[_0x48e798(0x41c)]=_0x3f637c,this['_urlImageService']=_0xd087,this[_0x48e798(0x24f)]=_0x3280e7,this[_0x48e798(0x13a)]=_0x313c53,_0x38c0c9(this,'_formulaShapes',new Map()),this[_0x48e798(0x2b0)](this['_shapeFormulaService']['presentationChanged$'][_0x48e798(0x146)](_0x54df86=>{const _0x9df44c=_0x48e798;var _0x44412d;(_0x44412d=this[_0x9df44c(0x46e)]['get'](this[_0x9df44c(0x492)](_0x54df86[_0x9df44c(0x24d)],_0x54df86[_0x9df44c(0x28c)],_0x54df86['shapeId'])))==null||_0x44412d[_0x9df44c(0x2dd)](_0xd1dc27=>_0xd1dc27['setFormulaPresentation'](_0x54df86[_0x9df44c(0x151)],_0x54df86[_0x9df44c(0x358)]));})),this['disposeWithMe'](this[_0x48e798(0x369)][_0x48e798(0x440)][_0x48e798(0x146)](_0x13d1f9=>{_0x13d1f9['forEach'](_0x3ff60a=>{const _0x52ca3e=_0x3f06;this['_shapeFormulaService'][_0x52ca3e(0x1ce)]({'unitId':_0x3ff60a[_0x52ca3e(0x24d)],'subUnitId':_0x3ff60a[_0x52ca3e(0x28c)],'shapeId':_0x3ff60a[_0x52ca3e(0x2ef)]}),this['_formulaShapes'][_0x52ca3e(0x348)](this[_0x52ca3e(0x492)](_0x3ff60a['unitId'],_0x3ff60a['subUnitId'],_0x3ff60a['drawingId']));});}));}['renderDrawingShape'](_0x2306fd,_0x341950){const _0x5df161=_0x7db477;let {transform:_0x5eb29c,drawingType:_0x35a392,srcRect:_0x5bc62b,prstGeom:_0x221892,groupId:_0x1b6e54,unitId:_0x44dfe4,subUnitId:_0x1c0ce4,drawingId:_0x59c933,isMultiTransform:_0x5dc999,transforms:_0x5c0371,hidden:_0x3b1e99,selectable:_0x3eb63f}=_0x2306fd;if(_0x35a392!==_0x47c402[_0x5df161(0x472)][_0x5df161(0x427)]||!this['_drawingManagerService'][_0x5df161(0x3f3)]()||_0x5eb29c==null)return;let _0x31fe78=this['_drawingManagerService'][_0x5df161(0x291)](),_0x531c09=_0x5dc999&&_0x5c0371?_0x5c0371:[_0x5eb29c],_0x318023=[];for(let [_0x3b32d5,_0xe803d4]of _0x531c09[_0x5df161(0x3bd)]()){let {left:_0x123023,top:_0x10d152,width:_0x28cfe2,height:_0x2a4db5,angle:_0x144160,flipX:_0x270e40,flipY:_0xc93720,skewX:_0x5f2dd8,skewY:_0x66a8d5}=_0xe803d4,_0x45d996=(0x0,_0x4152b2[_0x5df161(0x2b6)])({'unitId':_0x44dfe4,'subUnitId':_0x1c0ce4,'drawingId':_0x59c933},_0x5dc999?_0x3b32d5:void 0x0),_0x1b8f78=_0x341950[_0x5df161(0x40b)](_0x45d996);if(_0x1b8f78!=null){let _0xc2820f={'unitId':_0x44dfe4,'subUnitId':_0x1c0ce4,'shapeId':_0x59c933};_0x1b8f78 instanceof _0x5777c9&&this[_0x5df161(0x349)](_0x1b8f78,_0xc2820f),_0x1b8f78[_0x5df161(0x2a9)]({'left':_0x123023,'top':_0x10d152,'width':_0x28cfe2,'height':_0x2a4db5,'angle':_0x144160,'flipX':_0x270e40,'flipY':_0xc93720,'skewX':_0x5f2dd8,'skewY':_0x66a8d5});continue;}let _0x1467be=this[_0x5df161(0x369)][_0x5df161(0x2bf)](_0x44dfe4,_0x1c0ce4),_0x3c99ab=_0x1467be[_0x5df161(0x2fa)](_0x59c933);if(_0x341950['getObjectIncludeInGroup'](_0x45d996)||!this['_drawingManagerService'][_0x5df161(0x3f3)]())continue;let _0x272b20=this['_docsShapeService']['getShapeModel'](_0x44dfe4,_0x1c0ce4,_0x59c933);if(!_0x272b20)continue;let _0x47182e=(0x0,_0x3becc2[_0x5df161(0x34f)])(_0x272b20[_0x5df161(0x466)]())?{..._0x56d51f['SHAPE_EDITOR_TRANSFORMER_CONFIG'],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x56d51f[_0x5df161(0x260)],_0x44bcb2=_0x272b20[_0x5df161(0x38a)]()[_0x5df161(0x3d0)],_0x483ea6={'unitId':_0x44dfe4,'subUnitId':_0x1c0ce4,'shapeId':_0x59c933};_0x44bcb2&&this[_0x5df161(0x13a)][_0x5df161(0x394)](_0x483ea6,_0x44bcb2);let _0x5de748=new _0x5777c9(_0x45d996,{..._0xe803d4,'zIndex':_0x3c99ab===-0x1?_0x1467be[_0x5df161(0x2b4)]-0x1:_0x3c99ab,'shapeModel':_0x272b20,'localeService':this[_0x5df161(0x29a)],'shapeId':_0x59c933,'unitId':_0x44dfe4,'subUnitId':_0x1c0ce4,'visible':_0x3b1e99!==!0x0,'evented':_0x3eb63f!==!0x1,'formulaPresentation':_0x44bcb2?this['_shapeFormulaService']['getPresentation'](_0x483ea6):void 0x0,'animateFormulaPresentation':(_0x44bcb2==null?void 0x0:_0x44bcb2[_0x5df161(0x358)])!==!0x1,'transformerConfig':_0x47182e});if(_0x44bcb2){let _0x4a74a5=this[_0x5df161(0x492)](_0x44dfe4,_0x1c0ce4,_0x59c933),_0xf635d=this['_formulaShapes'][_0x5df161(0x45e)](_0x4a74a5)??new Set();_0xf635d[_0x5df161(0x3f2)](_0x5de748),this[_0x5df161(0x46e)][_0x5df161(0x3fc)](_0x4a74a5,_0xf635d);}this[_0x5df161(0x2b0)]((0x0,_0x47c402['toDisposable'])(_0x5de748[_0x5df161(0x25e)][_0x5df161(0x20f)]((_0x51490d,_0x470c75)=>{const _0x5819d5=_0x5df161;_0x272b20[_0x5819d5(0x20e)]()||_0x44bcb2||(this[_0x5819d5(0x24f)][_0x5819d5(0x2e2)]({'visible':!0x0,'unitId':_0x44dfe4,'subUnitId':_0x1c0ce4,'shapeId':_0x59c933,'shapeKey':_0x5de748[_0x5819d5(0x34c)]}),_0x470c75[_0x5819d5(0x361)]());}))),_0x341950[_0x5df161(0x338)](_0x5de748,_0x5312b2(_0x2306fd)),_0x31fe78&&_0x341950[_0x5df161(0x318)](_0x5de748),_0x1b6e54&&(0x0,_0x459a9e[_0x5df161(0x35e)])({'drawingId':_0x1b6e54,'unitId':_0x44dfe4,'subUnitId':_0x1c0ce4},_0x5de748,_0x341950,this['_drawingManagerService'],_0x5dc999?_0x3b32d5:void 0x0),_0x221892!=null&&_0x5de748[_0x5df161(0x3c8)](_0x221892),_0x5bc62b!=null&&_0x5de748[_0x5df161(0x13e)](_0x5bc62b),this['_loadShapePictureFill'](_0x5de748,_0x272b20[_0x5df161(0x38a)]()),_0x318023[_0x5df161(0x327)](_0x5de748);}return _0x318023;}[_0x7db477(0x492)](_0x305f57,_0x247778,_0x5c9896){return _0x305f57+'\x00'+_0x247778+'\x00'+_0x5c9896;}[_0x7db477(0x349)](_0x2cd3ec,_0x505b36){const _0x290bbb=_0x7db477;let _0x554e52=this['_docsShapeService']['getShapeModel'](_0x505b36[_0x290bbb(0x24d)],_0x505b36[_0x290bbb(0x28c)],_0x505b36[_0x290bbb(0x424)]),_0x48fc38=_0x554e52==null?void 0x0:_0x554e52[_0x290bbb(0x38a)]()[_0x290bbb(0x3d0)],_0x5e0772=this['_formulaKey'](_0x505b36[_0x290bbb(0x24d)],_0x505b36[_0x290bbb(0x28c)],_0x505b36[_0x290bbb(0x424)]);if(_0x48fc38){this[_0x290bbb(0x13a)]['register'](_0x505b36,_0x48fc38);let _0x319754=this[_0x290bbb(0x46e)][_0x290bbb(0x45e)](_0x5e0772)??new Set();_0x319754[_0x290bbb(0x3f2)](_0x2cd3ec),this[_0x290bbb(0x46e)][_0x290bbb(0x3fc)](_0x5e0772,_0x319754);}else{var _0x575b37;this[_0x290bbb(0x13a)]['unregister'](_0x505b36),(_0x575b37=this[_0x290bbb(0x46e)]['get'](_0x5e0772))==null||_0x575b37[_0x290bbb(0x348)](_0x2cd3ec);}_0x2cd3ec[_0x290bbb(0x264)](_0x48fc38?this[_0x290bbb(0x13a)][_0x290bbb(0x2c8)](_0x505b36):void 0x0,(_0x48fc38==null?void 0x0:_0x48fc38['animationEnabled'])!==!0x1);}['refreshShapeFillImage'](_0x1db94d){const _0x4054bc=_0x7db477;let _0x530886=_0x1db94d['shapeModel'][_0x4054bc(0x38a)](),_0x4b3d68=_0x530886[_0x4054bc(0x15c)];if(!_0x4b3d68||_0x4b3d68[_0x4054bc(0x333)]!==_0x3becc2[_0x4054bc(0x489)]['PictureFill']||!_0x4b3d68[_0x4054bc(0x321)]){_0x1db94d[_0x4054bc(0x1f5)](void 0x0);return;}this[_0x4054bc(0x346)](_0x1db94d,_0x530886);}[_0x7db477(0x346)](_0x559ec5,_0x35990e){const _0x399324=_0x7db477;let _0x4b4bbf=_0x35990e[_0x399324(0x15c)];if(!_0x4b4bbf||_0x4b4bbf[_0x399324(0x333)]!==_0x3becc2[_0x399324(0x489)]['PictureFill']||!_0x4b4bbf['fillImageSource'])return;let _0x48eecf=_0x4b4bbf[_0x399324(0x321)],_0x422499=_0x4b4bbf[_0x399324(0x12f)]??_0x3becc2[_0x399324(0x279)]['URL'],_0x58bd51=this[_0x399324(0x41c)][_0x399324(0x1d1)](_0x48eecf,_0x422499);if(_0x58bd51){_0x559ec5['setFillImage'](_0x58bd51);return;}this['_loadAndSetImage'](_0x559ec5,_0x48eecf,_0x422499);}async[_0x7db477(0x469)](_0x10c304,_0x52459d,_0x4bcc3e){const _0x5991ad=_0x7db477;let _0x1a74c0;try{if(_0x4bcc3e===_0x3becc2[_0x5991ad(0x279)]['UUID'])_0x1a74c0=await this[_0x5991ad(0x41c)][_0x5991ad(0x23f)](_0x52459d);else{if(_0x4bcc3e===_0x3becc2[_0x5991ad(0x279)][_0x5991ad(0x202)])try{_0x1a74c0=await this[_0x5991ad(0x392)][_0x5991ad(0x23f)](_0x52459d);}catch{_0x1a74c0=_0x52459d;}else _0x1a74c0=_0x52459d;}}catch(_0x599a21){console[_0x5991ad(0x2f7)]('[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source',_0x599a21);return;}let _0x2fb7c5=new window[(_0x5991ad(0x351))]();_0x2fb7c5[_0x5991ad(0x41f)]=()=>{const _0xd063be=_0x5991ad;this[_0xd063be(0x41c)][_0xd063be(0x186)](_0x52459d,_0x4bcc3e,_0x2fb7c5),_0x10c304[_0xd063be(0x1f5)](_0x2fb7c5);},_0x2fb7c5[_0x5991ad(0x119)]=()=>{const _0xa0a01b=_0x5991ad;console[_0xa0a01b(0x2f7)]('[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image',_0x52459d);},_0x2fb7c5[_0x5991ad(0x42d)]=_0x1a74c0;}};_0x5b7161=_0x1cbdb5([_0x15d88a(0x0,_0x4152b2[_0x7db477(0x1a4)]),_0x15d88a(0x1,(0x0,_0x47c402[_0x7db477(0x261)])(_0x284855['DocsShapeService'])),_0x15d88a(0x2,(0x0,_0x47c402[_0x7db477(0x261)])(_0x47c402[_0x7db477(0x2ba)])),_0x15d88a(0x3,_0x47c402[_0x7db477(0x274)]),_0x15d88a(0x4,_0x47c402['IURLImageService']),_0x15d88a(0x5,(0x0,_0x47c402[_0x7db477(0x261)])(_0x43257f)),_0x15d88a(0x6,(0x0,_0x47c402[_0x7db477(0x261)])(_0x48b72a[_0x7db477(0x43e)]))],_0x5b7161);let _0x2cac68=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0xee8ab2,_0x5627d9,_0x10e974){const _0x5caa8d=_0x7db477;super(),this[_0x5caa8d(0x404)]=_0xee8ab2,this[_0x5caa8d(0x369)]=_0x5627d9,this[_0x5caa8d(0x3a2)]=_0x10e974,this[_0x5caa8d(0x499)]();}[_0x7db477(0x499)](){const _0xa82fb2=_0x7db477;this[_0xa82fb2(0x2b0)](this[_0xa82fb2(0x404)][_0xa82fb2(0x144)][_0xa82fb2(0x164)](this['_docPrintInterceptorService']['interceptor'][_0xa82fb2(0x152)]()[_0xa82fb2(0x32e)],{'handler':(_0x42709e,_0x223223,_0x5bff80)=>{const _0x37e708=_0xa82fb2;var _0x4948ba;let {unitId:_0x13afaf,scene:_0x572ccd,skeleton:_0x3b38bc}=_0x223223,{pageIndex:_0x18130e}=_0x223223,_0x1df6c9=(_0x4948ba=this['_drawingManagerService'][_0x37e708(0x268)](_0x13afaf))==null?void 0x0:_0x4948ba[_0x13afaf],_0x5ecb15=_0x26fa7c(this['_docPrintInterceptorService'],_0x3b38bc,_0x18130e);return _0x1df6c9==null||_0x1df6c9[_0x37e708(0x2d1)][_0x37e708(0x2dd)](_0x6efae7=>{const _0x45f16b=_0x37e708;if(_0x5ecb15&&!_0x5ecb15[_0x45f16b(0x48e)](_0x6efae7))return;let _0x59ebc1=_0x1df6c9[_0x45f16b(0x330)][_0x6efae7];_0x59ebc1[_0x45f16b(0x3bc)]===_0x47c402['DrawingTypeEnum']['DRAWING_SHAPE']&&!_0x59ebc1[_0x45f16b(0x37f)]&&this[_0x45f16b(0x3a2)]['renderDrawingShape'](_0x59ebc1,_0x572ccd);}),_0x5bff80(_0x42709e);}}));}};_0x2cac68=_0x1cbdb5([_0x15d88a(0x0,(0x0,_0x47c402[_0x7db477(0x261)])(_0x130604[_0x7db477(0x15d)])),_0x15d88a(0x1,_0x4152b2['IDrawingManagerService']),_0x15d88a(0x2,(0x0,_0x47c402['Inject'])(_0x5b7161))],_0x2cac68);function _0x26fa7c(_0xda5fcb,_0x2a526c,_0x110c29){const _0x46405d=_0x7db477;var _0x24b75a,_0x1cc5c4;let _0x2860a2=_0xda5fcb;if(_0x2860a2[_0x46405d(0x302)])return _0x2860a2[_0x46405d(0x302)](_0x2a526c,_0x110c29);let _0x4ad935=_0x2a526c['getSkeletonData']();if(!_0x4ad935||_0x4ad935[_0x46405d(0x277)][_0x46405d(0x2b4)]<=0x1||_0x110c29==null)return null;let _0x4cd01a=new Set(),_0x3cea2f=_0x4ad935[_0x46405d(0x277)][_0x110c29];if(!_0x3cea2f)return _0x4cd01a;_0x2025ed(_0x3cea2f,_0x4cd01a);let _0x1408b6=(_0x24b75a=_0x4ad935['skeHeaders'][_0x46405d(0x45e)](_0x3cea2f['headerId']))==null?void 0x0:_0x24b75a['get'](_0x3cea2f['pageWidth']),_0x1ff6dc=(_0x1cc5c4=_0x4ad935[_0x46405d(0x20a)][_0x46405d(0x45e)](_0x3cea2f['footerId']))==null?void 0x0:_0x1cc5c4[_0x46405d(0x45e)](_0x3cea2f['pageWidth']);return _0x1408b6&&_0x2025ed(_0x1408b6,_0x4cd01a),_0x1ff6dc&&_0x2025ed(_0x1ff6dc,_0x4cd01a),_0x4cd01a;}function _0x2025ed(_0x1dee8b,_0x427b17){const _0x3a92fe=_0x7db477;for(let _0x15ceb0 of _0x1dee8b[_0x3a92fe(0x373)]['keys']())_0x427b17[_0x3a92fe(0x3f2)](_0x15ceb0);for(let _0xaaa208 of _0x1dee8b[_0x3a92fe(0x3ac)][_0x3a92fe(0x235)]())for(let _0x3be938 of _0xaaa208[_0x3a92fe(0x1b3)])for(let _0x261406 of _0x3be938[_0x3a92fe(0x38e)])_0x2025ed(_0x261406,_0x427b17);}function _0x1dfb3a({ref:_0x1c739b,..._0x4b9794}){const _0x28fc56=_0x7db477;let {preserveStrokeWidth:_0x1dc424,icon:_0x59e172,id:_0xcbb597,className:_0x5a6ecc,extend:_0x1938b4,..._0x4c8b2c}=_0x4b9794,_0x2580a4=(_0x28fc56(0x44e)+_0xcbb597+'\x20'+(_0x5a6ecc||''))[_0x28fc56(0x278)](),_0xa10081='_'+(0x0,_0x8303f3[_0x28fc56(0x238)])(),_0x314495=(0x0,_0x8303f3[_0x28fc56(0x2dc)])(null);return(0x0,_0x8303f3[_0x28fc56(0x28f)])(_0x1c739b,()=>_0x314495[_0x28fc56(0x3ec)]),(0x0,_0x8303f3[_0x28fc56(0x313)])(()=>{const _0x2fe906=_0x28fc56;if(_0x1dc424&&_0x314495[_0x2fe906(0x3ec)]&&_0x314495[_0x2fe906(0x3ec)][_0x2fe906(0x1da)]===_0x59e172['tag'])return _0x32951d(_0x314495['current']);},[_0x1dc424,_0x59e172]),_0x215e67(_0x59e172,''+_0xcbb597,{'defIds':_0x59e172[_0x28fc56(0x312)],'idSuffix':_0xa10081},{'ref':_0x314495,'className':_0x2580a4,..._0x4c8b2c},_0x1938b4);}function _0x215e67(_0x168040,_0x254f47,_0x3f3666,_0x55af0d,_0x1d7730){const _0x2a319f=_0x7db477;return(0x0,_0x8303f3[_0x2a319f(0x24b)])(_0x168040[_0x2a319f(0x2c6)],{'key':_0x254f47,..._0x5869eb(_0x168040,_0x3f3666,_0x1d7730),..._0x55af0d},(_0x2a09db(_0x168040,_0x3f3666)['children']||[])[_0x2a319f(0x3b4)]((_0x19db55,_0x1b855d)=>_0x215e67(_0x19db55,_0x254f47+'-'+_0x168040[_0x2a319f(0x2c6)]+'-'+_0x1b855d,_0x3f3666,void 0x0,_0x1d7730)));}function _0x5869eb(_0x4e2224,_0x3f4c4a,_0x7d2236){const _0x5550a6=_0x7db477;let _0x352833={..._0x4e2224[_0x5550a6(0x364)]};_0x7d2236!=null&&_0x7d2236[_0x5550a6(0x496)]&&_0x352833[_0x5550a6(0x15c)]===_0x5550a6(0x496)&&(_0x352833['fill']=_0x7d2236[_0x5550a6(0x496)]),_0x7d2236!=null&&_0x7d2236[_0x5550a6(0x496)]&&_0x352833[_0x5550a6(0x116)]===_0x5550a6(0x496)&&(_0x352833[_0x5550a6(0x116)]=_0x7d2236[_0x5550a6(0x496)]),_0x4e2224[_0x5550a6(0x2c6)]==='mask'&&_0x352833['id']&&(_0x352833['id']+=_0x3f4c4a[_0x5550a6(0x128)]),Object[_0x5550a6(0x3bd)](_0x352833)[_0x5550a6(0x2dd)](([_0x44f1b4,_0xf3b959])=>{const _0x1dfcbc=_0x5550a6;_0x44f1b4===_0x1dfcbc(0x386)&&typeof _0xf3b959==_0x1dfcbc(0x371)&&(_0x352833[_0x44f1b4]=_0xf3b959[_0x1dfcbc(0x275)](/url\(#(.*)\)/,_0x1dfcbc(0x344)+_0x3f4c4a[_0x1dfcbc(0x128)]+')'));});let {defIds:_0x3f58a6}=_0x3f4c4a;return!_0x3f58a6||_0x3f58a6[_0x5550a6(0x2b4)]===0x0?_0x352833:(_0x4e2224[_0x5550a6(0x2c6)]===_0x5550a6(0x399)&&_0x352833[_0x5550a6(0x3c3)]&&(_0x352833[_0x5550a6(0x3c3)]+=_0x3f4c4a[_0x5550a6(0x128)]),Object[_0x5550a6(0x3bd)](_0x352833)[_0x5550a6(0x2dd)](([_0x98a0e3,_0x537bdf])=>{const _0x50f00e=_0x5550a6;typeof _0x537bdf==_0x50f00e(0x371)&&(_0x352833[_0x98a0e3]=_0x537bdf['replace'](/url\(#(.*)\)/,_0x50f00e(0x344)+_0x3f4c4a[_0x50f00e(0x128)]+')'));}),_0x352833);}function _0x2a09db(_0x783e71,_0x324d6d){const _0x5948a7=_0x7db477;var _0x1254e1;let {defIds:_0x3dd055}=_0x324d6d;return!_0x3dd055||_0x3dd055['length']===0x0?_0x783e71:_0x783e71[_0x5948a7(0x2c6)]===_0x5948a7(0x3a4)&&(_0x1254e1=_0x783e71[_0x5948a7(0x174)])!=null&&_0x1254e1[_0x5948a7(0x2b4)]?{..._0x783e71,'children':_0x783e71[_0x5948a7(0x174)][_0x5948a7(0x3b4)](_0x3bee49=>typeof _0x3bee49[_0x5948a7(0x364)]['id']=='string'&&_0x3dd055&&_0x3dd055[_0x5948a7(0x2df)](_0x3bee49[_0x5948a7(0x364)]['id'])?{..._0x3bee49,'attrs':{..._0x3bee49[_0x5948a7(0x364)],'id':_0x3bee49[_0x5948a7(0x364)]['id']+_0x324d6d[_0x5948a7(0x128)]}}:_0x3bee49)}:_0x783e71;}function _0x32951d(_0x28a435){const _0x14ead9=_0x7db477;let _0x22135d=_0x28a435[_0x14ead9(0x464)][_0x14ead9(0x122)],_0x59b2b1=Math[_0x14ead9(0x326)](_0x22135d[_0x14ead9(0x19f)],_0x22135d['height']);if(!Number[_0x14ead9(0x401)](_0x59b2b1)||_0x59b2b1<=0x0||_0x22135d['width']<=0x0||_0x22135d[_0x14ead9(0x1e3)]<=0x0)return()=>void 0x0;let _0x29193a=0x10/_0x59b2b1,_0x7cab18=Array[_0x14ead9(0x175)](_0x28a435[_0x14ead9(0x3f1)](_0x14ead9(0x3b0)))[_0x14ead9(0x1de)](_0x113480=>{const _0x41541b=_0x14ead9;let _0x19e6a6=getComputedStyle(_0x113480),_0x2c853c=Number[_0x41541b(0x132)](_0x19e6a6['strokeWidth']);return _0x19e6a6['stroke']===_0x41541b(0x1c5)||Number['parseFloat'](_0x19e6a6[_0x41541b(0x1e5)])===0x0||_0x19e6a6[_0x41541b(0x2db)]==='non-scaling-stroke'||!Number[_0x41541b(0x401)](_0x2c853c)||_0x2c853c<=0x0?[]:[{'element':_0x113480,'hadStyleAttribute':_0x113480[_0x41541b(0x155)](_0x41541b(0x43a)),'originalStrokeWidth':_0x2c853c,'strokeWidth':_0x447f92(_0x113480[_0x41541b(0x43a)],_0x41541b(0x14b))}];})[_0x14ead9(0x3b4)](_0x1a663c=>({'appliedStrokeWidth':null,'element':_0x1a663c['element'],'hadStyleAttribute':_0x1a663c[_0x14ead9(0x12d)],'isReleased':!0x1,'originalStrokeWidth':_0x1a663c[_0x14ead9(0x282)],'strokeWidth':_0x1a663c[_0x14ead9(0x17c)]}));if(_0x7cab18[_0x14ead9(0x2b4)]===0x0)return()=>void 0x0;let _0xc276b=(_0x43de45,_0x42d01f)=>{const _0x554701=_0x14ead9;if(_0x22135d[_0x554701(0x19f)]<=0x0||_0x22135d[_0x554701(0x1e3)]<=0x0||_0x43de45<=0x0||_0x42d01f<=0x0)return;let _0x27b96d=Math[_0x554701(0x198)](_0x43de45/_0x22135d[_0x554701(0x19f)],_0x42d01f/_0x22135d[_0x554701(0x1e3)]);!Number[_0x554701(0x401)](_0x27b96d)||_0x27b96d<=0x0||_0x7cab18['forEach'](_0x49986e=>{const _0x1e13b8=_0x554701;if(_0x49986e[_0x1e13b8(0x42c)])return;if(_0x49986e[_0x1e13b8(0x14a)]!==null&&(_0x49986e[_0x1e13b8(0x38f)][_0x1e13b8(0x43a)]['getPropertyValue'](_0x1e13b8(0x14b))!==_0x49986e['appliedStrokeWidth']||_0x49986e[_0x1e13b8(0x38f)][_0x1e13b8(0x43a)][_0x1e13b8(0x118)](_0x1e13b8(0x14b))!==_0x49986e['strokeWidth'][_0x1e13b8(0x19c)])){_0x49986e[_0x1e13b8(0x14a)]=null,_0x49986e[_0x1e13b8(0x42c)]=!0x0;return;}let _0x3ec477=_0x49986e[_0x1e13b8(0x282)]*_0x29193a/_0x27b96d,_0x33d377=Number(_0x3ec477[_0x1e13b8(0x3a7)](0xc))+'px';_0x49986e['element'][_0x1e13b8(0x43a)][_0x1e13b8(0x256)](_0x1e13b8(0x14b),_0x33d377,_0x49986e['strokeWidth'][_0x1e13b8(0x19c)]),_0x49986e['appliedStrokeWidth']=_0x33d377;});},_0x5cca29=_0x28a435[_0x14ead9(0x475)]();_0xc276b(_0x5cca29[_0x14ead9(0x19f)],_0x5cca29[_0x14ead9(0x1e3)]);let _0x3bf56d=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x22edf6=>{const _0x5344ad=_0x14ead9;if(_0x22edf6[_0x5344ad(0x30e)](_0x106f7b=>_0x106f7b['target']===_0x28a435)){let _0x5552a2=_0x28a435['getBoundingClientRect']();_0xc276b(_0x5552a2[_0x5344ad(0x19f)],_0x5552a2[_0x5344ad(0x1e3)]);}});return _0x3bf56d==null||_0x3bf56d[_0x14ead9(0x323)](_0x28a435),()=>{const _0x590400=_0x14ead9;_0x3bf56d==null||_0x3bf56d[_0x590400(0x33a)](),_0x7cab18['forEach'](_0x3dcfcc=>{const _0x2a3c44=_0x590400;_0x3dcfcc[_0x2a3c44(0x14a)]!==null&&(_0x39a905(_0x3dcfcc[_0x2a3c44(0x38f)][_0x2a3c44(0x43a)],_0x2a3c44(0x14b),_0x3dcfcc['appliedStrokeWidth'],_0x3dcfcc[_0x2a3c44(0x17c)][_0x2a3c44(0x19c)],_0x3dcfcc['strokeWidth']),!_0x3dcfcc['hadStyleAttribute']&&_0x3dcfcc[_0x2a3c44(0x38f)][_0x2a3c44(0x43a)][_0x2a3c44(0x2b4)]===0x0&&_0x3dcfcc[_0x2a3c44(0x38f)][_0x2a3c44(0x352)](_0x2a3c44(0x43a)));});};}function _0x447f92(_0x9d88b6,_0x2a9faa){const _0x3af7ac=_0x7db477;return{'priority':_0x9d88b6[_0x3af7ac(0x118)](_0x2a9faa),'value':_0x9d88b6[_0x3af7ac(0x192)](_0x2a9faa)};}function _0x39a905(_0x11144a,_0x959eab,_0x2ee5e4,_0x552139,_0x3d48f5){const _0x4b70a1=_0x7db477;_0x11144a[_0x4b70a1(0x192)](_0x959eab)===_0x2ee5e4&&_0x11144a[_0x4b70a1(0x118)](_0x959eab)===_0x552139&&(_0x3d48f5[_0x4b70a1(0x1c6)]?_0x11144a[_0x4b70a1(0x256)](_0x959eab,_0x3d48f5[_0x4b70a1(0x1c6)],_0x3d48f5[_0x4b70a1(0x19c)]):_0x11144a[_0x4b70a1(0x27d)](_0x959eab));}_0x1dfb3a[_0x7db477(0x34e)]=_0x7db477(0x124);let _0x39fa14={'tag':_0x7db477(0x2ed),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x7db477(0x1c5),'viewBox':_0x7db477(0x292),'width':_0x7db477(0x25a),'height':_0x7db477(0x25a)},'children':[{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x189),'fillRule':_0x7db477(0x3e7),'clipRule':_0x7db477(0x3e7)}},{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x3ce),'fillRule':_0x7db477(0x3e7),'clipRule':_0x7db477(0x3e7)}},{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x236)}},{'tag':'path','attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x2b1)}}]},_0x48e3a1=(0x0,_0x8303f3[_0x7db477(0x1d5)])(function(_0x3e499d,_0x293cf0){const _0x171528=_0x7db477;return(0x0,_0x8303f3[_0x171528(0x24b)])(_0x1dfb3a,Object[_0x171528(0x113)]({},_0x3e499d,{'id':'bottom-icon','ref':_0x293cf0,'icon':_0x39fa14}));});_0x48e3a1[_0x7db477(0x34e)]=_0x7db477(0x1ec);let _0xadd8e9={'tag':_0x7db477(0x2ed),'attrs':{'xmlns':_0x7db477(0x387),'fill':'none','viewBox':_0x7db477(0x33c),'width':'1em','height':_0x7db477(0x25a)},'children':[{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x2e4),'fillRule':_0x7db477(0x3e7),'clipRule':_0x7db477(0x3e7)}}]},_0x33c5c4=(0x0,_0x8303f3['forwardRef'])(function(_0x2a234e,_0xce44e4){const _0x20e723=_0x7db477;return(0x0,_0x8303f3[_0x20e723(0x24b)])(_0x1dfb3a,Object[_0x20e723(0x113)]({},_0x2a234e,{'id':'more-down-icon','ref':_0xce44e4,'icon':_0xadd8e9}));});_0x33c5c4[_0x7db477(0x34e)]='MoreDownIcon';let _0x28a193={'tag':_0x7db477(0x2ed),'attrs':{'xmlns':_0x7db477(0x387),'fill':_0x7db477(0x1c5),'viewBox':_0x7db477(0x33c),'width':'1em','height':'1em'},'children':[{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x13c),'fillRule':_0x7db477(0x3e7),'clipRule':_0x7db477(0x3e7)}}]},_0x106a87=(0x0,_0x8303f3[_0x7db477(0x1d5)])(function(_0x260a34,_0x115fce){const _0x3ebcfa=_0x7db477;return(0x0,_0x8303f3['createElement'])(_0x1dfb3a,Object['assign']({},_0x260a34,{'id':_0x3ebcfa(0x45b),'ref':_0x115fce,'icon':_0x28a193}));});_0x106a87['displayName']=_0x7db477(0x2e8);let _0x24b9f8={'tag':_0x7db477(0x2ed),'attrs':{'xmlns':_0x7db477(0x387),'fill':_0x7db477(0x1c5),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x7db477(0x25a)},'children':[{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'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':_0x7db477(0x3e7),'clipRule':_0x7db477(0x3e7)}},{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x362)}}]},_0x29fbfe=(0x0,_0x8303f3[_0x7db477(0x1d5)])(function(_0x120be7,_0x3b6150){const _0x1752ff=_0x7db477;return(0x0,_0x8303f3[_0x1752ff(0x24b)])(_0x1dfb3a,Object[_0x1752ff(0x113)]({},_0x120be7,{'id':_0x1752ff(0x2cf),'ref':_0x3b6150,'icon':_0x24b9f8}));});_0x29fbfe[_0x7db477(0x34e)]=_0x7db477(0x434);let _0x2017d6={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x7db477(0x1c5),'viewBox':_0x7db477(0x33c),'width':_0x7db477(0x25a),'height':_0x7db477(0x25a)},'children':[{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x3dd),'fillRule':'evenodd','clipRule':'evenodd'}},{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x3d8)}}]},_0x2d9da1=(0x0,_0x8303f3['forwardRef'])(function(_0x14d802,_0x26a245){const _0x3ce777=_0x7db477;return(0x0,_0x8303f3[_0x3ce777(0x24b)])(_0x1dfb3a,Object[_0x3ce777(0x113)]({},_0x14d802,{'id':_0x3ce777(0x223),'ref':_0x26a245,'icon':_0x2017d6}));});_0x2d9da1['displayName']=_0x7db477(0x378);let _0x563dc2={'tag':_0x7db477(0x2ed),'attrs':{'xmlns':_0x7db477(0x387),'fill':'none','viewBox':_0x7db477(0x33c),'width':_0x7db477(0x25a),'height':_0x7db477(0x25a)},'children':[{'tag':'path','attrs':{'stroke':_0x7db477(0x416),'d':'M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','strokeLinecap':_0x7db477(0x3f7),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x7db477(0x3df),'attrs':{'stroke':_0x7db477(0x416),'d':_0x7db477(0x498),'strokeLinecap':_0x7db477(0x3f7),'strokeLinejoin':_0x7db477(0x3f7),'strokeWidth':1.3}}]},_0x1f286e=(0x0,_0x8303f3[_0x7db477(0x1d5)])(function(_0x49114e,_0x53934a){const _0x27b6c1=_0x7db477;return(0x0,_0x8303f3[_0x27b6c1(0x24b)])(_0x1dfb3a,Object[_0x27b6c1(0x113)]({},_0x49114e,{'id':_0x27b6c1(0x11c),'ref':_0x53934a,'icon':_0x563dc2}));});_0x1f286e[_0x7db477(0x34e)]=_0x7db477(0x28e);let _0x86b240={'tag':_0x7db477(0x2ed),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x7db477(0x1c5),'viewBox':_0x7db477(0x33c),'width':_0x7db477(0x25a),'height':'1em'},'children':[{'tag':_0x7db477(0x3df),'attrs':{'stroke':'currentColor','d':_0x7db477(0x454),'strokeLinecap':_0x7db477(0x3f7),'strokeLinejoin':_0x7db477(0x3f7),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':'currentColor','d':_0x7db477(0x179),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x7db477(0x3df),'attrs':{'stroke':_0x7db477(0x416),'d':_0x7db477(0x2b2),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x7db477(0x3df),'attrs':{'stroke':'currentColor','d':_0x7db477(0x262),'strokeLinejoin':_0x7db477(0x3f7)}},{'tag':'path','attrs':{'stroke':_0x7db477(0x416),'d':_0x7db477(0x3cc)}}]},_0x660fb1=(0x0,_0x8303f3[_0x7db477(0x1d5)])(function(_0x25346c,_0x45ddc8){const _0x31f723=_0x7db477;return(0x0,_0x8303f3[_0x31f723(0x24b)])(_0x1dfb3a,Object[_0x31f723(0x113)]({},_0x25346c,{'id':_0x31f723(0x1b2),'ref':_0x45ddc8,'icon':_0x86b240}));});_0x660fb1[_0x7db477(0x34e)]='ShapeFormatSettingIcon';let _0x5a7ac5={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x7db477(0x1c5),'viewBox':_0x7db477(0x2bd),'width':_0x7db477(0x25a),'height':'1em'},'children':[{'tag':_0x7db477(0x24e),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':2.45,'fill':_0x7db477(0x416),'rx':0.6}},{'tag':_0x7db477(0x24e),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':6.1,'fill':'currentColor','rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':15.25,'y':6.1,'fill':'currentColor','rx':0.6}},{'tag':_0x7db477(0x24e),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':9.4,'fill':_0x7db477(0x416),'rx':0.6}},{'tag':_0x7db477(0x24e),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':9.4,'fill':_0x7db477(0x416),'rx':0.6}},{'tag':_0x7db477(0x24e),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':12.7,'fill':_0x7db477(0x416),'rx':0.6}},{'tag':_0x7db477(0x24e),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':12.7,'fill':'currentColor','rx':0.6}},{'tag':_0x7db477(0x24e),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':16.35,'fill':_0x7db477(0x416),'rx':0.6}},{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x44c),'fillRule':_0x7db477(0x3e7),'clipRule':_0x7db477(0x3e7)}}]},_0x272d53=(0x0,_0x8303f3[_0x7db477(0x1d5)])(function(_0x156121,_0x5d9cfa){const _0x4dabd9=_0x7db477;return(0x0,_0x8303f3['createElement'])(_0x1dfb3a,Object['assign']({},_0x156121,{'id':_0x4dabd9(0x45c),'ref':_0x5d9cfa,'icon':_0x5a7ac5}));});_0x272d53['displayName']=_0x7db477(0x257);let _0x721411={'tag':'svg','attrs':{'xmlns':_0x7db477(0x387),'fill':'none','viewBox':_0x7db477(0x292),'width':_0x7db477(0x25a),'height':_0x7db477(0x25a)},'children':[{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x1b4)}},{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'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':'evenodd','clipRule':'evenodd'}},{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':'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','fillRule':'evenodd','clipRule':'evenodd'}}]},_0x2ac36e=(0x0,_0x8303f3[_0x7db477(0x1d5)])(function(_0x1ccf8f,_0x9383c1){const _0x25ed18=_0x7db477;return(0x0,_0x8303f3[_0x25ed18(0x24b)])(_0x1dfb3a,Object[_0x25ed18(0x113)]({},_0x1ccf8f,{'id':_0x25ed18(0x193),'ref':_0x9383c1,'icon':_0x721411}));});_0x2ac36e[_0x7db477(0x34e)]='TopmostIcon';function _0x4eeaa2(_0x1871d4){const _0x2058f2=_0x7db477;return(0x0,_0x932776[_0x2058f2(0x476)])(_0x3be8f4,{..._0x1871d4,'PickerComponent':_0x56d51f[_0x2058f2(0x39e)]});}function _0x2facba(){const _0x289c09=_0x7db477;let _0x58dde1=(0x0,_0x86086d[_0x289c09(0x320)])(_0x47c402[_0x289c09(0x2ba)]),_0x3a937a=_0x2ede24(),[_0x3fc931,_0x4b60df]=(0x0,_0x8303f3[_0x289c09(0x265)])(!0x1);return(0x0,_0x932776['jsxs'])(_0x289c09(0x465),{'className':_0x289c09(0x3b7),'children':[(0x0,_0x932776[_0x289c09(0x476)])(_0x5c76ee[_0x289c09(0x183)],{'title':_0x58dde1['t']('docs-shape-ui.crop.shape'),'aria-expanded':_0x3fc931,'variant':'subtle','trailing':_0x3fc931?(0x0,_0x932776[_0x289c09(0x476)])(_0x106a87,{}):(0x0,_0x932776[_0x289c09(0x476)])(_0x33c5c4,{}),'onClick':()=>_0x4b60df(_0x32229e=>!_0x32229e)}),_0x3fc931&&(0x0,_0x932776['jsx'])(_0x56d51f[_0x289c09(0x39e)],{'excludeGroups':[_0x56d51f[_0x289c09(0x2cc)][_0x289c09(0x458)]],'onShapeClick':_0xce96bd=>{_0x3a937a(_0xce96bd),_0x4b60df(!0x1);}})]});}function _0xb20ec8(_0x41909a){const _0x3d63e8=_0x7db477;return _0x41909a[_0x3d63e8(0x278)]()||void 0x0;}function _0x52ed91(_0xeb70c4,_0xdb2dbd,_0x5b9df7){const _0x4fdd0c=_0x7db477;var _0x559810,_0x1e9ed6;return((_0x559810=_0xeb70c4[_0x4fdd0c(0x322)])==null?void 0x0:_0x559810[_0x4fdd0c(0x278)]())||((_0x1e9ed6=_0xeb70c4[_0x4fdd0c(0x44b)])==null?void 0x0:_0x1e9ed6[_0x4fdd0c(0x278)]())||_0x5b9df7['t'](_0x4fdd0c(0x1d9)+(0x0,_0x56d51f[_0x4fdd0c(0x37b)])(_0xeb70c4[_0x4fdd0c(0x3bc)]))+'\x20'+(_0xdb2dbd+0x1);}function _0x2413ae({PanelComponent:_0x2da89e=_0x459a9e['ObjectListPanelBase']}){const _0x22fad5=_0x7db477;let _0x534d17=(0x0,_0x86086d['useDependency'])(_0x47c402['LocaleService']),_0x42ed7f={'title':_0x534d17['t']('drawing-ui.objectListPanel.title'),'empty':_0x534d17['t']('drawing-ui.objectListPanel.empty'),'showAll':_0x534d17['t']('drawing-ui.objectListPanel.showAll'),'hideAll':_0x534d17['t'](_0x22fad5(0x295)),'lockAll':_0x534d17['t'](_0x22fad5(0x480)),'unlockAll':_0x534d17['t'](_0x22fad5(0x218)),'moveForward':_0x534d17['t'](_0x22fad5(0x2d4)),'moveBackward':_0x534d17['t'](_0x22fad5(0x379)),'close':_0x534d17['t'](_0x22fad5(0x2fc)),'show':_0x534d17['t'](_0x22fad5(0x419)),'hide':_0x534d17['t']('drawing-ui.objectListPanel.hide'),'lock':_0x534d17['t'](_0x22fad5(0x2b7)),'unlock':_0x534d17['t'](_0x22fad5(0x2e1)),'lockHint':_0x534d17['t']('drawing-ui.objectListPanel.lockHint'),'unlockHint':_0x534d17['t'](_0x22fad5(0x150)),'name':_0x534d17['t']('drawing-ui.objectListPanel.name'),'nameInput':_0x534d17['t'](_0x22fad5(0x2a5)),'description':_0x534d17['t'](_0x22fad5(0x287)),'descriptionPlaceholder':_0x534d17['t']('drawing-ui.objectListPanel.descriptionPlaceholder'),'details':_0x534d17['t'](_0x22fad5(0x325)),'noSelection':_0x534d17['t'](_0x22fad5(0x21e)),'locate':_0x534d17['t'](_0x22fad5(0x134)),'expand':_0x534d17['t'](_0x22fad5(0x2b8)),'collapse':_0x534d17['t'](_0x22fad5(0x22f)),'dragToReorder':_0x534d17['t'](_0x22fad5(0x1e9)),'search':_0x534d17['t']('drawing-ui.objectListPanel.search'),'filterAll':_0x534d17['t'](_0x22fad5(0x423)),'filterHidden':_0x534d17['t']('drawing-ui.objectListPanel.filterHidden'),'filterLocked':_0x534d17['t'](_0x22fad5(0x267)),'sectionCanvas':_0x534d17['t']('drawing-ui.objectListPanel.sectionCanvas'),'sectionFloating':_0x534d17['t'](_0x22fad5(0x1ff))},_0x3adfc8=(0x0,_0x86086d[_0x22fad5(0x320)])(_0x47c402[_0x22fad5(0x250)]),_0x11b730=(0x0,_0x86086d[_0x22fad5(0x320)])(_0x47c402['IUniverInstanceService']),_0x5d9646=(0x0,_0x86086d[_0x22fad5(0x320)])(_0x13d142[_0x22fad5(0x22c)]),_0x4b1c49=(0x0,_0x86086d[_0x22fad5(0x320)])(_0x4152b2[_0x22fad5(0x1a4)]),_0x305639=(0x0,_0x86086d[_0x22fad5(0x320)])(_0x54839f[_0x22fad5(0x173)]),[,_0x5bf5cd]=(0x0,_0x8303f3[_0x22fad5(0x201)])(_0x3c55d4=>_0x3c55d4+0x1,0x0),_0x379cd1=_0x11b730[_0x22fad5(0x47e)](_0x47c402['UniverInstanceType']['UNIVER_DOC']),_0x41d36e=(_0x379cd1==null?void 0x0:_0x379cd1[_0x22fad5(0x38c)]())??'',_0xc19d3b=_0x41d36e,_0x2d8eab=(0x0,_0x86086d[_0x22fad5(0x3cf)])(()=>_0x4b1c49[_0x22fad5(0x48c)],_0x4b1c49[_0x22fad5(0x3b6)](),!0x1,[_0x4b1c49]);(0x0,_0x8303f3['useEffect'])(()=>{const _0x411e3c=_0x22fad5;let _0x1c5ba9=_0x3adfc8[_0x411e3c(0x187)](()=>_0x5bf5cd());return()=>_0x1c5ba9[_0x411e3c(0x18c)]();},[_0x3adfc8]);let _0x1a3c07=_0x41d36e?_0x5d9646[_0x22fad5(0x18f)](_0x41d36e,_0xc19d3b):{},_0x53b1ca=(_0x41d36e?_0x5d9646['getDrawingOrder'](_0x41d36e,_0xc19d3b):[])[_0x22fad5(0x3b4)](_0x3cc2f1=>_0x1a3c07[_0x3cc2f1])[_0x22fad5(0x1ef)](_0x7dae04=>!!_0x7dae04)['reverse'](),_0x41db47=_0x53b1ca[_0x22fad5(0x242)]((_0xb51a41,_0x4d33)=>(_0xb51a41[(0x0,_0x459a9e['getObjectListPanelSectionIdForDrawingType'])(_0x4d33[_0x22fad5(0x3bc)])]+=0x1,_0xb51a41),{'canvas':0x0,'floating':0x0}),_0x55b2b0={'canvas':0x0,'floating':0x0},_0x44d857=_0x53b1ca[_0x22fad5(0x3b4)]((_0x2cdfca,_0x451888)=>{const _0x461ec7=_0x22fad5;let _0x8fac4a=(0x0,_0x459a9e[_0x461ec7(0x398)])(_0x2cdfca[_0x461ec7(0x3bc)]),_0x1ffec9=_0x8fac4a===_0x459a9e[_0x461ec7(0x176)],_0x53fc21=_0x55b2b0[_0x8fac4a]++;return{'id':_0x2cdfca[_0x461ec7(0x2ef)],'name':_0x52ed91(_0x2cdfca,_0x451888,_0x534d17),'description':_0x2cdfca[_0x461ec7(0x380)],'visible':_0x2cdfca[_0x461ec7(0x37f)]!==!0x0,'selectable':_0x2cdfca[_0x461ec7(0x1e7)]!==!0x1,'sectionId':_0x8fac4a,'sectionTitle':_0x1ffec9?_0x42ed7f[_0x461ec7(0x3b5)]:_0x42ed7f[_0x461ec7(0x162)],'capabilities':_0x1ffec9?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x1ffec9&&_0x53fc21>0x0,'canMoveBackward':!_0x1ffec9&&_0x53fc21<_0x41db47[_0x461ec7(0x446)]-0x1,'canReorder':!_0x1ffec9};}),_0x151728=(0x0,_0x8303f3['useMemo'])(()=>(_0x2d8eab??[])[_0x22fad5(0x1ef)](_0x5edc6f=>_0x5edc6f[_0x22fad5(0x24d)]===_0x41d36e&&_0x5edc6f[_0x22fad5(0x28c)]===_0xc19d3b)[_0x22fad5(0x3b4)](_0x37741e=>_0x37741e[_0x22fad5(0x2ef)]),[_0x2d8eab,_0xc19d3b,_0x41d36e]),_0x584add=_0x151728[_0x151728[_0x22fad5(0x2b4)]-0x1]??null,_0x469bc9=_0x12f19b=>_0x5d9646['getDrawingByParam']({'unitId':_0x41d36e,'subUnitId':_0xc19d3b,'drawingId':_0x12f19b})??null,_0x59ef72=async _0x1808cb=>{const _0x39895e=_0x22fad5;_0x41d36e&&_0x1808cb[_0x39895e(0x2b4)]&&await _0x3adfc8[_0x39895e(0x467)](_0x284855['UpdateDocDrawingMetadataCommand']['id'],{'unitId':_0x41d36e,'patches':_0x1808cb});},_0x4e142b=(_0x4f844a,_0x32a424)=>{const _0xa74e84=_0x22fad5;if(!_0x41d36e)return;let _0x48f5e7=_0x32a424?_0x151728['includes'](_0x4f844a)?_0x151728[_0xa74e84(0x1ef)](_0x1c7afc=>_0x1c7afc!==_0x4f844a):[..._0x151728,_0x4f844a]:[_0x4f844a];_0x3adfc8[_0xa74e84(0x17e)](_0x4152b2[_0xa74e84(0x153)]['id'],_0x48f5e7[_0xa74e84(0x3b4)](_0x1901e3=>({'unitId':_0x41d36e,'subUnitId':_0xc19d3b,'drawingId':_0x1901e3})));let _0x368a97=_0x48f5e7[_0x48f5e7[_0xa74e84(0x2b4)]-0x1];_0x368a97?(0x0,_0x56d51f['activateDrawingObject'])(_0x305639,{'unitId':_0x41d36e,'subUnitId':_0xc19d3b,'drawingId':_0x368a97}):(0x0,_0x56d51f[_0xa74e84(0x389)])(_0x305639,_0x41d36e);},_0x483573=async(_0x45825a,_0x48e756)=>{const _0x590fe9=_0x22fad5;await _0x59ef72(_0x45825a[_0x590fe9(0x3b4)](_0x345542=>_0x469bc9(_0x345542))[_0x590fe9(0x1ef)](_0x7d5c7f=>!!_0x7d5c7f)[_0x590fe9(0x1ef)](_0x54efcf=>_0x54efcf[_0x590fe9(0x37f)]!==!0x0!==_0x48e756)[_0x590fe9(0x3b4)](_0x45c640=>({'drawingId':_0x45c640['drawingId'],'hidden':!_0x48e756})));},_0x4cda5e=async(_0x2ea8f0,_0x5d738f)=>{const _0x396b70=_0x22fad5;await _0x59ef72(_0x2ea8f0[_0x396b70(0x3b4)](_0x205b7b=>_0x469bc9(_0x205b7b))[_0x396b70(0x1ef)](_0x2d4c27=>!!_0x2d4c27)['filter'](_0x1b5a0c=>_0x1b5a0c['selectable']!==!0x1!==_0x5d738f)['map'](_0xe7c91e=>({'drawingId':_0xe7c91e[_0x396b70(0x2ef)],'selectable':_0x5d738f})));},_0x2bb1cf=_0xf9a9c2=>{const _0x156dc6=_0x22fad5;let _0x19d1b8=_0x469bc9(_0xf9a9c2);if(_0x19d1b8)return _0x4cda5e([_0xf9a9c2],_0x19d1b8[_0x156dc6(0x1e7)]===!0x1);},_0x40fc92=async(_0x4904a2,_0x5d67f0)=>{const _0x86a36d=_0x22fad5;let _0xe84caf=_0x469bc9(_0x4904a2),_0x41258a=_0xb20ec8(_0x5d67f0);!_0xe84caf||(_0xe84caf[_0x86a36d(0x322)]??void 0x0)===_0x41258a&&(_0xe84caf[_0x86a36d(0x44b)]||void 0x0)===_0x41258a||await _0x59ef72([{'drawingId':_0x4904a2,'name':_0x41258a,'title':_0x41258a}]);},_0x3c3fdd=async(_0x28bb09,_0x13efb6)=>{const _0x34b033=_0x22fad5;let _0x68f4ae=_0x469bc9(_0x28bb09),_0x1361e6=_0xb20ec8(_0x13efb6);_0x68f4ae&&(_0x68f4ae[_0x34b033(0x380)]??void 0x0)!==_0x1361e6&&await _0x59ef72([{'drawingId':_0x28bb09,'description':_0x1361e6}]);},_0x168109=async(_0x3f1871,_0x30c217)=>{const _0x424556=_0x22fad5;_0x41d36e&&await _0x3adfc8[_0x424556(0x467)](_0x13d142[_0x424556(0x27c)]['id'],{'unitId':_0x41d36e,'subUnitId':_0xc19d3b,'drawingIds':[_0x3f1871],'arrangeType':_0x30c217});};return _0x41d36e?(0x0,_0x932776[_0x22fad5(0x476)])(_0x2da89e,{'labels':_0x42ed7f,'renderPermissionAction':_0x2a474f=>_0x379cd1?(0x0,_0x932776['jsx'])(_0x86086d[_0x22fad5(0x360)],{'target':{'unitId':_0x41d36e,'objectId':(0x0,_0x18b339[_0x22fad5(0x44d)])((0x0,_0x18b339[_0x22fad5(0x1af)])(_0x379cd1,_0x2a474f['id']),'drawing',_0x2a474f['id']),'objectType':_0xad5fb1[_0x22fad5(0x1f1)]['DocumentEntity']},'name':_0x2a474f[_0x22fad5(0x322)],'commandId':_0x18b339[_0x22fad5(0x396)]['id'],'exists':()=>!!_0x469bc9(_0x2a474f['id'])},_0x41d36e+'/'+_0x2a474f['id']):null,'items':_0x44d857,'selectedIds':_0x151728,'focusedId':_0x584add,'showHeader':!0x1,'onSelect':_0x4e142b,'onSetVisible':_0x483573,'onSetSelectable':_0x4cda5e,'onCommitName':_0x40fc92,'onCommitDescription':_0x3c3fdd,'onMoveForward':async _0x1a90e1=>_0x168109(_0x1a90e1,_0x47c402['ArrangeTypeEnum'][_0x22fad5(0x205)]),'onMoveBackward':async _0x5046d5=>_0x168109(_0x5046d5,_0x47c402[_0x22fad5(0x15f)][_0x22fad5(0x37e)]),'onToggleSelectable':_0x2bb1cf}):(0x0,_0x932776[_0x22fad5(0x476)])('div',{'className':_0x22fad5(0x405),'children':_0x42ed7f[_0x22fad5(0x44b)]});}function _0x264d9e(){const _0xbe0b38=_0x7db477;return(0x0,_0x932776[_0xbe0b38(0x476)])(_0x2413ae,{'PanelComponent':_0x459a9e[_0xbe0b38(0x1b1)]});}let _0xab8686=class{constructor(_0x2e86a6){this['_renderManagerService']=_0x2e86a6;}[_0x7db477(0x447)](_0x1540c4,_0xd88fac){const _0x39909a=_0x7db477;let _0x481ba3=this['_renderManagerService'][_0x39909a(0x345)](_0x1540c4[_0x39909a(0x24d)]),_0x5ac5cb=_0x481ba3==null?void 0x0:_0x481ba3[_0x39909a(0x11a)];if(!_0x5ac5cb)return;let _0x4daf57=(0x0,_0x4152b2[_0x39909a(0x2b6)])(_0x1540c4),_0x42bbdf=_0x5ac5cb[_0x39909a(0x40b)](_0x4daf57);_0x42bbdf==null||_0x42bbdf['setFillImage'](_0xd88fac);}};_0xab8686=_0x1cbdb5([_0x15d88a(0x0,_0x54839f[_0x7db477(0x173)])],_0xab8686);function _0x3d845d(){const _0x3260e2=_0x7db477;let _0x1b0a54=(0x0,_0x86086d[_0x3260e2(0x320)])(_0x4152b2[_0x3260e2(0x1a4)]),_0x208417=(0x0,_0x86086d['useObservable'])(()=>_0x1b0a54['focus$'],_0x1b0a54[_0x3260e2(0x3b6)](),!0x1,[_0x1b0a54]);return _0x208417[_0x3260e2(0x2b4)]===0x0?null:(0x0,_0x932776[_0x3260e2(0x476)])(_0x3260e2(0x465),{'children':(0x0,_0x932776['jsxs'])(_0x3260e2(0x465),{'className':_0x3260e2(0x29c),'children':[(0x0,_0x932776[_0x3260e2(0x476)])(_0x459a9e['DrawingCommonPanel'],{'drawings':_0x208417,'hasCropper':!0x1}),(0x0,_0x932776[_0x3260e2(0x476)])(_0x1d2176[_0x3260e2(0x3a8)],{'drawings':_0x208417}),(0x0,_0x932776[_0x3260e2(0x476)])(_0x1d2176[_0x3260e2(0x430)],{'drawings':_0x208417})]})});}function _0x38ef89(_0x1827da){const _0x34c377=_0x7db477;let {unitId:_0x11bc08,subUnitId:_0xc52106,shapeId:_0xeb5bc7,PositionComponent:_0x20c7b4=_0x3d845d}=_0x1827da,_0x2aea27=(0x0,_0x86086d[_0x34c377(0x320)])(_0x47c402['ICommandService']),_0x199171=(0x0,_0x86086d[_0x34c377(0x320)])(_0xab8686);return(0x0,_0x932776[_0x34c377(0x476)])(_0x56d51f[_0x34c377(0x19e)],{..._0x1827da,'positionEditor':(0x0,_0x932776[_0x34c377(0x476)])(_0x20c7b4,{}),'onUpdateShapeData':(_0x5b7fd3,_0x4e7624)=>{_0x59074d(_0x2aea27,_0x11bc08,_0xc52106,_0xeb5bc7,_0x5b7fd3,_0x4e7624);},'onUpdateLineShapeData':(_0x4d6c56,_0x3bf988)=>{_0x205aee(_0x2aea27,_0x11bc08,_0xc52106,_0xeb5bc7,_0x4d6c56,_0x3bf988);},'onUpdateShapeFillImage':_0x182688=>{const _0x36f9a2=_0x34c377;_0x199171[_0x36f9a2(0x447)]({'unitId':_0x11bc08,'subUnitId':_0xc52106,'drawingId':_0xeb5bc7},_0x182688);}});}function _0xa2d85d(){const _0x1bf670=_0x7db477;let _0x38b62e=(0x0,_0x86086d[_0x1bf670(0x320)])(_0x4152b2['IDrawingManagerService']),_0x5a3112=(0x0,_0x86086d[_0x1bf670(0x3cf)])(_0x38b62e['focus$'],_0x38b62e[_0x1bf670(0x3b6)]());return _0x5a3112[_0x1bf670(0x2b4)]===0x0?null:(0x0,_0x932776[_0x1bf670(0x46a)])('div',{'className':_0x1bf670(0x2bc),'children':[(0x0,_0x932776[_0x1bf670(0x476)])(_0x459a9e[_0x1bf670(0x3ad)],{'drawings':_0x5a3112,'hasCropper':!0x1}),(0x0,_0x932776['jsx'])(_0x1d2176['MobileDocDrawingTextWrap'],{'drawings':_0x5a3112}),(0x0,_0x932776[_0x1bf670(0x476)])(_0x1d2176[_0x1bf670(0x115)],{'drawings':_0x5a3112})]});}function _0x290e71(_0x2e7d11){const _0x32cb47=_0x7db477;return(0x0,_0x932776[_0x32cb47(0x476)])(_0x56d51f[_0x32cb47(0x2b3)],{'children':(0x0,_0x932776['jsx'])(_0x38ef89,{..._0x2e7d11,'PositionComponent':_0xa2d85d})});}function _0x170c97({popup:_0x40e156}){const _0x296844=_0x7db477;let _0x1586fb=(0x0,_0x86086d['useDependency'])(_0x47c402[_0x296844(0x2ba)]),{shapeType:_0x1a9aba,onText:_0x35844c,onStyle:_0x3a09c6,onDelete:_0x39a5e8}=_0x40e156['extraProps'],_0x373df4=[{'key':_0x296844(0x2f6),'order':0x0,'item':{'id':_0x296844(0x2f6),'type':_0x86086d[_0x296844(0x32d)]['BUTTON'],'title':_0x1586fb['t'](_0x296844(0x206)),'disabled$':(0x0,_0x21926c['of'])((0x0,_0x3becc2[_0x296844(0x34f)])(_0x1a9aba))}},{'key':_0x296844(0x43a),'order':0x1,'item':{'id':_0x296844(0x43a),'type':_0x86086d[_0x296844(0x32d)]['BUTTON'],'title':_0x1586fb['t']('docs-shape-ui.mobile.style')}},{'key':_0x296844(0x348),'order':0x2,'item':{'id':_0x296844(0x348),'type':_0x86086d[_0x296844(0x32d)][_0x296844(0x33e)],'title':_0x1586fb['t'](_0x296844(0x3f6))}}];return(0x0,_0x932776['jsx'])(_0x86086d['MobileMenu'],{'schemas':_0x373df4,'presentation':_0x296844(0x42b),'onOptionSelect':async({id:_0x417b57})=>{const _0x309916=_0x296844;_0x417b57==='text'?await _0x35844c():_0x417b57===_0x309916(0x43a)?await _0x3a09c6():_0x417b57===_0x309916(0x348)&&await _0x39a5e8();}});}let _0x384936=_0x7db477(0x43d);function _0x7160b5(_0x2c2317,_0x4ea443){const _0x390d3d=_0x7db477;var _0x30133c;let _0x169f89=_0x2c2317==null||(_0x30133c=_0x2c2317[_0x390d3d(0x37d)]()[_0x390d3d(0x453)])==null?void 0x0:_0x30133c[_0x4ea443];return _0x169f89?_0x169f89['layoutType']===_0x47c402[_0x390d3d(0x457)][_0x390d3d(0x306)]?_0x169f89['behindDoc']===_0x47c402[_0x390d3d(0x159)][_0x390d3d(0x199)]?_0x13d142[_0x390d3d(0x341)][_0x390d3d(0x31f)]:_0x13d142['TextWrappingStyle'][_0x390d3d(0x3d9)]:_0x169f89[_0x390d3d(0x479)]===_0x47c402[_0x390d3d(0x457)]['WRAP_SQUARE']?_0x13d142[_0x390d3d(0x341)][_0x390d3d(0x181)]:_0x169f89['layoutType']===_0x47c402[_0x390d3d(0x457)][_0x390d3d(0x319)]?_0x13d142[_0x390d3d(0x341)]['WRAP_TOP_AND_BOTTOM']:_0x13d142[_0x390d3d(0x341)][_0x390d3d(0x1ab)]:_0x13d142[_0x390d3d(0x341)][_0x390d3d(0x1ab)];}function _0x14cedd(_0x429404){const _0x21a322=_0x7db477;let _0x2d88ca=(0x0,_0x86086d['useDependency'])(_0x56d51f[_0x21a322(0x18b)]),_0x41a1c3=(0x0,_0x86086d[_0x21a322(0x3cf)])(()=>_0x2d88ca[_0x21a322(0x169)],_0x2d88ca['getVisible'](),!0x1,[_0x2d88ca]),_0xbffb8c=_0x429404['popup']['extraProps'];return _0x41a1c3?(0x0,_0x932776['jsx'])(_0x20247b,{..._0xbffb8c,'canvasElement':_0x429404[_0x21a322(0x490)]['canvasElement']}):null;}function _0x20247b(_0x2c3422){const _0x22c4cb=_0x7db477;let _0x32e432=(0x0,_0x86086d[_0x22c4cb(0x320)])(_0x47c402[_0x22c4cb(0x250)]),_0x4d5051=(0x0,_0x86086d[_0x22c4cb(0x320)])(_0x47c402[_0x22c4cb(0x2ba)]),_0x5b7f6b=(0x0,_0x86086d[_0x22c4cb(0x320)])(_0x284855['DocsShapeService']),_0x24872e=(0x0,_0x86086d[_0x22c4cb(0x320)])(_0x47c402[_0x22c4cb(0x191)]),{unitId:_0x335424,subUnitId:_0x3656cb,drawingId:_0x4cf1ee,shapeType:_0x2b0436}=_0x2c3422,[_0x119449,_0x31c76d]=(0x0,_0x8303f3['useState'])(_0x2c3422[_0x22c4cb(0x441)]),_0x32b8aa=_0x24872e[_0x22c4cb(0x2aa)](_0x335424,_0x47c402[_0x22c4cb(0x1aa)][_0x22c4cb(0x486)])??void 0x0,[_0x38cb71,_0x69c4ce]=(0x0,_0x8303f3['useState'])(()=>_0x7160b5(_0x32b8aa,_0x4cf1ee)),_0x1fd130=(0x0,_0x8303f3[_0x22c4cb(0x167)])(()=>(0x0,_0x56d51f['getTextStyle'])(_0x119449),[_0x119449]),_0x264123=(0x0,_0x8303f3[_0x22c4cb(0x167)])(()=>(0x0,_0x56d51f[_0x22c4cb(0x246)])(_0x119449),[_0x119449]);(0x0,_0x8303f3[_0x22c4cb(0x1f7)])(()=>{const _0x472193=_0x22c4cb;let _0x1073c5=_0x32e432[_0x472193(0x187)](_0x45d9f9=>{const _0x9f0e2a=_0x472193;if(_0x45d9f9['id']!==_0x284855[_0x9f0e2a(0x324)]['id'])return;let _0x14cc44=_0x5b7f6b['getShapeDataById'](_0x335424,_0x3656cb,_0x4cf1ee);_0x14cc44&&_0x31c76d(_0x14cc44);});return()=>_0x1073c5[_0x472193(0x18c)]();},[_0x32e432,_0x5b7f6b,_0x4cf1ee,_0x3656cb,_0x335424]);let _0x3d1e7f=_0xbd03a4=>{_0x31c76d(_0x395d95=>({..._0x395d95,..._0xbd03a4}));},_0xe6d18e=_0x445ed0=>{const _0x174f3b=_0x22c4cb;let _0x3286eb=(0x0,_0x56d51f[_0x174f3b(0x3b8)])(_0x119449,_0x445ed0);_0x59074d(_0x32e432,_0x335424,_0x3656cb,_0x4cf1ee,{'oldShapeData':{'shapeText':_0x119449[_0x174f3b(0x296)]}},_0x3286eb),_0x3d1e7f(_0x3286eb);},_0x2db053=_0x22c337=>{const _0x566400=_0x22c4cb;_0x69c4ce(_0x22c337),_0x32e432['executeCommand'](_0x13d142[_0x566400(0x383)]['id'],{'unitId':_0x335424,'subUnitId':_0x3656cb,'drawings':[{'unitId':_0x335424,'subUnitId':_0x3656cb,'drawingId':_0x4cf1ee}],'wrappingStyle':_0x22c337});},_0x3a04a1=(0x0,_0x56d51f[_0x22c4cb(0x3ae)])({'hostType':_0x47c402[_0x22c4cb(0x1aa)][_0x22c4cb(0x486)],'unitId':_0x335424,'subUnitId':_0x3656cb,'shapeId':_0x4cf1ee,'shapeData':_0x119449,'onUpdateBinding':_0x41e83e=>{let _0x42843c={'formulaBinding':_0x41e83e};_0x59074d(_0x32e432,_0x335424,_0x3656cb,_0x4cf1ee,{'oldShapeData':{'formulaBinding':_0x119449['formulaBinding']}},_0x42843c),_0x3d1e7f(_0x42843c);}}),_0x4fbe63=[{'label':_0x4d5051['t'](_0x22c4cb(0x357)),'value':_0x13d142['TextWrappingStyle']['INLINE'],'icon':(0x0,_0x932776[_0x22c4cb(0x476)])(_0x272d53,{})},{'label':_0x4d5051['t']('docs-shape-ui.textWrap.square'),'value':_0x13d142[_0x22c4cb(0x341)][_0x22c4cb(0x181)],'icon':(0x0,_0x932776['jsx'])(_0x272d53,{})},{'label':_0x4d5051['t'](_0x22c4cb(0x284)),'value':_0x13d142[_0x22c4cb(0x341)]['WRAP_TOP_AND_BOTTOM'],'icon':(0x0,_0x932776['jsx'])(_0x272d53,{})},{'label':_0x4d5051['t'](_0x22c4cb(0x36d)),'value':_0x13d142['TextWrappingStyle']['BEHIND_TEXT'],'icon':(0x0,_0x932776[_0x22c4cb(0x476)])(_0x272d53,{})},{'label':_0x4d5051['t'](_0x22c4cb(0x34d)),'value':_0x13d142[_0x22c4cb(0x341)][_0x22c4cb(0x3d9)],'icon':(0x0,_0x932776[_0x22c4cb(0x476)])(_0x272d53,{})}];return(0x0,_0x932776['jsxs'])(_0x932776[_0x22c4cb(0x1ad)],{'children':[(0x0,_0x932776[_0x22c4cb(0x476)])(_0x56d51f['ShapeFloatingToolbar'],{'canvasElement':_0x2c3422['canvasElement'],'shapeData':_0x119449,'shapeType':_0x2b0436,'textStyle':{'ff':_0x3becc2[_0x22c4cb(0x482)][_0x22c4cb(0x296)][_0x22c4cb(0x47b)],'fs':_0x3becc2[_0x22c4cb(0x482)][_0x22c4cb(0x296)]['fontSize'],'cl':{'rgb':_0x3becc2[_0x22c4cb(0x482)]['shapeText'][_0x22c4cb(0x233)]},..._0x1fd130},'textModel':_0x264123?{'ha':_0x264123['ha']??_0x47c402[_0x22c4cb(0x39c)][_0x22c4cb(0x495)],'va':_0x264123['va']??_0x47c402[_0x22c4cb(0x414)][_0x22c4cb(0x418)]}:null,'wrappingStyle':_0x38cb71,'wrappingStyleOptions':_0x4fbe63,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x3becc2[_0x22c4cb(0x482)][_0x22c4cb(0x15c)],'defaultGradientEndColor':_0x3becc2['ShapeDefaultConfig'][_0x22c4cb(0x471)],'defaultStrokeColor':_0x3becc2['ShapeDefaultConfig'][_0x22c4cb(0x116)],'extensionGroups':_0x3a04a1[_0x22c4cb(0x30b)],'floatingObjectToolbarPosition':_0x86086d[_0x22c4cb(0x16c)]['DOC'],'onUpdateShapeData':(_0x413016,_0x1d18f7)=>{_0x59074d(_0x32e432,_0x335424,_0x3656cb,_0x4cf1ee,_0x413016,_0x1d18f7),_0x1d18f7&&_0x3d1e7f(_0x1d18f7);},'onUpdateText':_0xe6d18e,'onUpdateWrappingStyle':_0x2a1fd9=>_0x2db053(_0x2a1fd9),'onOpenPanel':()=>{_0x32e432['executeCommand'](_0x39980d['id'],{'unitId':_0x335424,'subUnitId':_0x3656cb,'drawingId':_0x4cf1ee});},'onDelete':()=>{const _0x4aff1c=_0x22c4cb;_0x32e432[_0x4aff1c(0x467)](_0x13d142['RemoveDocDrawingCommand']['id'],{'unitId':_0x335424,'drawings':[{'unitId':_0x335424,'subUnitId':_0x3656cb,'drawingId':_0x4cf1ee}]});}}),_0x3a04a1['panel']]});}function _0x2438dd({variant:_0x42b12a,extend:_0x5ee8cc,..._0x762831}){const _0x3c0abe=_0x7db477;let _0x40e265=(0x0,_0x932776['jsx'])(_0x3c0abe(0x24e),{'x':'7','y':_0x3c0abe(0x488),'width':'6','height':'9','rx':'1','fill':_0x3c0abe(0x416),'fillOpacity':_0x3c0abe(0x31e),'stroke':_0x3c0abe(0x416),'strokeWidth':_0x3c0abe(0x1a8)});return(0x0,_0x932776[_0x3c0abe(0x46a)])(_0x3c0abe(0x2ed),{'aria-hidden':_0x3c0abe(0x2ee),'fill':_0x3c0abe(0x1c5),'height':_0x3c0abe(0x25a),'viewBox':_0x3c0abe(0x2bd),'width':_0x3c0abe(0x25a),..._0x762831,'children':[_0x42b12a===_0x3c0abe(0x3d4)&&(0x0,_0x932776['jsxs'])(_0x932776[_0x3c0abe(0x1ad)],{'children':[(0x0,_0x932776[_0x3c0abe(0x476)])(_0x3c0abe(0x3df),{'d':_0x3c0abe(0x48a),'stroke':_0x3c0abe(0x416),'strokeLinecap':_0x3c0abe(0x3f7),'strokeWidth':'1.2'}),(0x0,_0x932776[_0x3c0abe(0x476)])('rect',{'x':'8','y':'7','width':'4','height':'6','rx':_0x3c0abe(0x1f3),'fill':_0x3c0abe(0x416),'fillOpacity':_0x3c0abe(0x31e),'stroke':_0x3c0abe(0x416),'strokeWidth':_0x3c0abe(0x1a8)})]}),_0x42b12a===_0x3c0abe(0x437)&&(0x0,_0x932776[_0x3c0abe(0x46a)])(_0x932776['Fragment'],{'children':[(0x0,_0x932776['jsx'])(_0x3c0abe(0x3df),{'d':_0x3c0abe(0x184),'stroke':_0x3c0abe(0x416),'strokeLinecap':_0x3c0abe(0x3f7),'strokeWidth':_0x3c0abe(0x1a8)}),_0x40e265]}),_0x42b12a===_0x3c0abe(0x436)&&(0x0,_0x932776['jsxs'])(_0x932776[_0x3c0abe(0x1ad)],{'children':[(0x0,_0x932776[_0x3c0abe(0x476)])(_0x3c0abe(0x3df),{'d':'M2\x203h16M2\x2017h16','stroke':'currentColor','strokeLinecap':_0x3c0abe(0x3f7),'strokeWidth':_0x3c0abe(0x1a8)}),_0x40e265]}),_0x42b12a==='behind'&&(0x0,_0x932776[_0x3c0abe(0x46a)])(_0x932776['Fragment'],{'children':[_0x40e265,(0x0,_0x932776[_0x3c0abe(0x476)])(_0x3c0abe(0x3df),{'d':'M2\x203h16M2\x207.5h16M2\x2010h16M2\x2012.5h16M2\x2017h16','stroke':'currentColor','strokeLinecap':'round','strokeWidth':_0x3c0abe(0x1a8)})]}),_0x42b12a===_0x3c0abe(0x1e6)&&(0x0,_0x932776[_0x3c0abe(0x46a)])(_0x932776[_0x3c0abe(0x1ad)],{'children':[(0x0,_0x932776[_0x3c0abe(0x476)])(_0x3c0abe(0x3df),{'d':_0x3c0abe(0x34b),'stroke':_0x3c0abe(0x416),'strokeLinecap':_0x3c0abe(0x3f7),'strokeWidth':'1.2'}),(0x0,_0x932776[_0x3c0abe(0x476)])(_0x3c0abe(0x24e),{'x':'7','y':_0x3c0abe(0x488),'width':'6','height':'9','rx':'1','fill':_0x3c0abe(0x416)})]})]});}let _0x3e01ca=_0x35900=>_0x16b867=>(0x0,_0x932776[_0x7db477(0x476)])(_0x2438dd,{..._0x16b867,'variant':_0x35900}),_0xa1bd39={'DocsShapeWrapInlineIcon':_0x3e01ca(_0x7db477(0x3d4)),'DocsShapeWrapSquareIcon':_0x3e01ca(_0x7db477(0x437)),'DocsShapeWrapTopBottomIcon':_0x3e01ca('top-bottom'),'DocsShapeWrapBehindTextIcon':_0x3e01ca('behind'),'DocsShapeWrapInFrontOfTextIcon':_0x3e01ca('front')},_0x1e8cf0=(0x0,_0x8303f3[_0x7db477(0x435)])(()=>{const _0x4887c7=_0x7db477;let _0x94ade7=(0x0,_0x86086d[_0x4887c7(0x320)])(_0x43257f),_0x277d2d=(0x0,_0x86086d[_0x4887c7(0x320)])(_0x284855[_0x4887c7(0x2ac)]),_0x258e12=(0x0,_0x86086d['useDependency'])(_0x4152b2[_0x4887c7(0x1a4)]),_0x2575c1=(0x0,_0x86086d[_0x4887c7(0x320)])(_0x47c402[_0x4887c7(0x250)]),_0x3c6f5d=(0x0,_0x8303f3[_0x4887c7(0x167)])(()=>({'getShapeModel':(_0x4247db,_0xe06b20,_0x1b7324)=>_0x277d2d[_0x4887c7(0x3ab)](_0x4247db,_0xe06b20,_0x1b7324),'getShapeData':(_0x13ae7f,_0x4bf2ee,_0xd94ba9)=>_0x277d2d['getShapeDataById'](_0x13ae7f,_0x4bf2ee,_0xd94ba9),'getDrawingTransform':(_0x2953e7,_0x378e01,_0x4afde2)=>{const _0x14cca5=_0x4887c7;let _0x33203f=_0x258e12[_0x14cca5(0x340)]({'unitId':_0x2953e7,'subUnitId':_0x378e01,'drawingId':_0x4afde2});return _0x33203f==null?void 0x0:_0x33203f[_0x14cca5(0x211)];},'updateShapeText':({unitId:_0x9cb067,shapeId:_0x1c1783,shapeText:_0x2bafbe,oldShapeText:_0x2678ff})=>{const _0x34c50f=_0x4887c7;_0x2575c1[_0x34c50f(0x467)](_0x284855[_0x34c50f(0x3bf)]['id'],{'unitId':_0x9cb067,'shapeId':_0x1c1783,'shapeData':{'shapeText':_0x2bafbe},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x2678ff}}});},'updateHostSize':({unitId:_0x4f9380,subUnitId:_0xd38253,shapeId:_0x1c6a0c,width:_0x1bf126,height:_0x4067b2})=>{const _0x73b421=_0x4887c7;_0x2575c1[_0x73b421(0x467)](_0x13d142[_0x73b421(0x3ef)]['id'],{'unitId':_0x4f9380,'subUnitId':_0xd38253,'drawings':[{'drawingId':_0x1c6a0c,'key':_0x73b421(0x142),'value':{'width':_0x1bf126,'height':_0x4067b2}}]});},'allowHostSizeShrink':({unitId:_0x49c97d,subUnitId:_0x1e9934,shapeId:_0x53a3c2})=>(0x0,_0x56d51f['shouldAllowShapeTextEditorHostSizeShrink'])(_0x277d2d[_0x4887c7(0x237)](_0x49c97d,_0x1e9934,_0x53a3c2))}),[_0x2575c1,_0x277d2d,_0x258e12]),_0xbaca04=(0x0,_0x8303f3['useMemo'])(()=>({'viewportKeys':{'main':_0x130604[_0x4887c7(0x1bc)][_0x4887c7(0x462)]}}),[]);return(0x0,_0x932776['jsx'])(_0x56d51f['ShapeTextEditorContainer'],{'adapter':_0x3c6f5d,'editingService':_0x94ade7,'editorUnitId':_0x4e500d,'positionOptions':_0xbaca04});}),_0x33d9ae=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0x3c7515,_0x252a6b){const _0x3ccb00=_0x7db477;super(),this[_0x3ccb00(0x114)]=_0x3c7515,this[_0x3ccb00(0x1a5)]=_0x252a6b,this[_0x3ccb00(0x26b)](),this[_0x3ccb00(0x3fd)]();}['_registerIcons'](){const _0x5d2a34=_0x7db477;this[_0x5d2a34(0x1a5)][_0x5d2a34(0x48e)](_0x5d2a34(0x28e))||this[_0x5d2a34(0x2b0)](this[_0x5d2a34(0x1a5)]['register']({'ObjectLayersIcon':_0x1f286e})),this[_0x5d2a34(0x1a5)][_0x5d2a34(0x48e)]('BottomIcon')||this[_0x5d2a34(0x2b0)](this[_0x5d2a34(0x1a5)][_0x5d2a34(0x394)]({'BottomIcon':_0x48e3a1})),this[_0x5d2a34(0x1a5)]['has'](_0x5d2a34(0x434))||this[_0x5d2a34(0x2b0)](this[_0x5d2a34(0x1a5)][_0x5d2a34(0x394)]({'MoveDownIcon':_0x29fbfe})),this['_iconManager']['has']('MoveUpIcon')||this[_0x5d2a34(0x2b0)](this[_0x5d2a34(0x1a5)][_0x5d2a34(0x394)]({'MoveUpIcon':_0x2d9da1})),this['_iconManager']['has']('ShapeFormatSettingIcon')||this[_0x5d2a34(0x2b0)](this[_0x5d2a34(0x1a5)][_0x5d2a34(0x394)]({'ShapeFormatSettingIcon':_0x660fb1})),this[_0x5d2a34(0x1a5)][_0x5d2a34(0x48e)](_0x5d2a34(0x461))||this['disposeWithMe'](this['_iconManager'][_0x5d2a34(0x394)]({'TopmostIcon':_0x2ac36e})),this[_0x5d2a34(0x2b0)](this[_0x5d2a34(0x1a5)]['register'](_0xa1bd39));}[_0x7db477(0x3fd)](){const _0x485ee8=_0x7db477;this[_0x485ee8(0x2b0)](this[_0x485ee8(0x114)]['register'](_0x52a209,_0x290e71)),this[_0x485ee8(0x36b)](),this[_0x485ee8(0x3c5)](),this[_0x485ee8(0x2b0)](this[_0x485ee8(0x114)][_0x485ee8(0x394)](_0x4850a6,_0x532467)),this[_0x485ee8(0x2b0)](this['_componentManager'][_0x485ee8(0x394)](_0x560d2a,_0x533993)),this[_0x485ee8(0x2b0)](this[_0x485ee8(0x114)][_0x485ee8(0x394)](_0x19a0d7,_0x5e650e)),this[_0x485ee8(0x2b0)](this[_0x485ee8(0x114)][_0x485ee8(0x394)](_0x2084e0,_0x14a76c)),this[_0x485ee8(0x2b0)](this[_0x485ee8(0x114)][_0x485ee8(0x394)](_0x5ac958,_0x45324f)),this[_0x485ee8(0x2b0)](this['_componentManager']['register'](_0x469608,_0x56d51f['ShapeTextFloatToolbar'])),this['_registerPickers'](),this[_0x485ee8(0x114)]['get'](_0x459a9e[_0x485ee8(0x44a)])||this['disposeWithMe'](this[_0x485ee8(0x114)][_0x485ee8(0x394)](_0x459a9e['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'],_0x34fc80)),this[_0x485ee8(0x2b0)](this['_componentManager'][_0x485ee8(0x394)](_0x3a6f6f,_0x1e8cf0));}[_0x7db477(0x36b)](){const _0x3c07be=_0x7db477;this['disposeWithMe'](this[_0x3c07be(0x114)][_0x3c07be(0x394)](_0x4378d7,_0x264d9e));}[_0x7db477(0x3c5)](){const _0x3a7d0b=_0x7db477;this[_0x3a7d0b(0x2b0)](this[_0x3a7d0b(0x114)][_0x3a7d0b(0x394)](_0x384936,_0x170c97));}[_0x7db477(0x1b0)](){const _0x2ec621=_0x7db477;this[_0x2ec621(0x2b0)](this['_componentManager'][_0x2ec621(0x394)](_0xc138a4,_0x4eeaa2)),this['disposeWithMe'](this[_0x2ec621(0x114)][_0x2ec621(0x394)](_0x5e6476,_0x2facba));}};_0x33d9ae=_0x1cbdb5([_0x15d88a(0x0,(0x0,_0x47c402[_0x7db477(0x261)])(_0x86086d[_0x7db477(0x32c)])),_0x15d88a(0x1,(0x0,_0x47c402[_0x7db477(0x261)])(_0x86086d[_0x7db477(0x2cb)]))],_0x33d9ae);let _0x3a06ff=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0xc8aaed,_0x2fdf4a,_0x2f51bd,_0x4b1d49,_0x3d0e49,_0x3f9724,_0x947914,_0x223c2c,_0x38404d,_0x482828,_0x10dfc4,_0x4c44c1,_0x2e3649){const _0x2c59fc=_0x7db477;super(),this['_univerInstanceService']=_0xc8aaed,this[_0x2c59fc(0x3af)]=_0x2fdf4a,this[_0x2c59fc(0x285)]=_0x2f51bd,this[_0x2c59fc(0x25b)]=_0x4b1d49,this['_localeService']=_0x3d0e49,this['_commandService']=_0x3f9724,this[_0x2c59fc(0x369)]=_0x947914,this[_0x2c59fc(0x1f4)]=_0x223c2c,this[_0x2c59fc(0x2f9)]=_0x38404d,this['_contextService']=_0x482828,this[_0x2c59fc(0x24f)]=_0x10dfc4,this[_0x2c59fc(0x17b)]=_0x4c44c1,this[_0x2c59fc(0x2da)]=_0x2e3649,_0x38c0c9(this,'_sidebarDisposable',null),_0x38c0c9(this,_0x2c59fc(0x303),null),_0x38c0c9(this,_0x2c59fc(0x4a0),!0x1),_0x38c0c9(this,_0x2c59fc(0x35c),0x0),_0x38c0c9(this,_0x2c59fc(0x450),new Map()),_0x38c0c9(this,'_popupTargetKeys',new Map()),this[_0x2c59fc(0x232)](),this[_0x2c59fc(0x2b0)](this['_univerInstanceService'][_0x2c59fc(0x300)](_0x47c402['UniverInstanceType']['UNIVER_DOC'])[_0x2c59fc(0x146)](_0x3c7bdc=>{const _0x2ef768=_0x2c59fc;if(!_0x3c7bdc){var _0x5ec1e4;(_0x5ec1e4=this['_sidebarDisposable'])==null||_0x5ec1e4[_0x2ef768(0x18c)]();}})),this[_0x2c59fc(0x2d6)](),this[_0x2c59fc(0x2b0)]((0x0,_0x56d51f[_0x2c59fc(0x112)])(this[_0x2c59fc(0x2f9)],_0x47c402['UniverInstanceType']['UNIVER_DOC'],_0x49718a=>this[_0x2c59fc(0x1d3)](_0x49718a))),this['disposeWithMe'](this[_0x2c59fc(0x24f)]['editingParams$'][_0x2c59fc(0x146)](_0x49b248=>{const _0x117b2e=_0x2c59fc;_0x49b248&&this[_0x117b2e(0x154)](void 0x0,!0x0);})),this[_0x2c59fc(0x2b0)](this[_0x2c59fc(0x17b)][_0x2c59fc(0x3f4)]['subscribe'](()=>{const _0x262619=_0x2c59fc;this['_drawingManagerService'][_0x262619(0x3b6)]()['some'](_0x358d75=>_0x358d75[_0x262619(0x3bc)]===_0x47c402[_0x262619(0x472)][_0x262619(0x427)]&&this['_univerInstanceService']['getUnitType'](_0x358d75[_0x262619(0x24d)])===_0x47c402[_0x262619(0x1aa)][_0x262619(0x486)]&&!this['_canEditShape'](_0x358d75[_0x262619(0x24d)],_0x358d75[_0x262619(0x2ef)]))&&(this['_clearPopups'](void 0x0,!0x0),this['_closeShapeEditPanel']());}));}[_0x7db477(0x136)](_0x221dc6,_0xf3f593,_0x6e119b,_0x3696e0){const _0x2fb9b4=_0x7db477;return[{'label':_0x2fb9b4(0x2c0),'index':0x0,'commandId':_0x39980d['id'],'commandParams':{'unitId':_0x221dc6,'subUnitId':_0xf3f593,'drawingId':_0x6e119b},'disable':_0x3696e0===_0x47c402[_0x2fb9b4(0x472)]['DRAWING_DOM']},{'label':_0x2fb9b4(0x27f),'index':0x1,'commandId':_0x13d142[_0x2fb9b4(0x1f8)]['id'],'commandParams':{'unitId':_0x221dc6,'drawings':[{'unitId':_0x221dc6,'subUnitId':_0xf3f593,'drawingId':_0x6e119b}]},'disable':!0x1},{'label':_0x2fb9b4(0x2f3),'index':0x2,'commandId':_0x87b80e['id'],'commandParams':{'unitId':_0x221dc6,'subUnitId':_0xf3f593,'drawingId':_0x6e119b},'disable':!0x1}];}['_initMenu'](){const _0x1fffb7=_0x7db477;this[_0x1fffb7(0x285)][_0x1fffb7(0x241)](_0x317aa8);}[_0x7db477(0x375)](_0x58c886,_0x4ed663,_0x541e09){const _0x445305=_0x7db477;let _0x2d0347=this[_0x445305(0x25b)][_0x445305(0x15e)](_0x58c886,_0x4ed663,_0x541e09),_0x58cd8f=this[_0x445305(0x25b)][_0x445305(0x237)](_0x58c886,_0x4ed663,_0x541e09);return _0x2d0347===void 0x0||_0x58cd8f===void 0x0?null:{'shapeData':_0x58cd8f,'shapeId':_0x541e09,'shapeType':_0x2d0347,'unitId':_0x58c886,'subUnitId':_0x4ed663,'version':this[_0x445305(0x35c)],'disableShapeOption':!0x1};}[_0x7db477(0x154)](_0x1da2d7,_0x46b7f6=!0x1){const _0x18edd3=_0x7db477;if(_0x1da2d7==null){[...this['_disposePopupsByUnit'][_0x18edd3(0x2d8)]()]['forEach'](_0x3ff6c9=>this[_0x18edd3(0x154)](_0x3ff6c9,_0x46b7f6));return;}let _0x3fc994=this[_0x18edd3(0x450)]['get'](_0x1da2d7);if(_0x3fc994){for(let _0x21b594=_0x3fc994[_0x18edd3(0x2b4)]-0x1;_0x21b594>=0x0;--_0x21b594){let _0x327353=_0x3fc994[_0x21b594];(_0x46b7f6||_0x327353[_0x18edd3(0x230)]())&&(_0x327353[_0x18edd3(0x18c)](),_0x3fc994[_0x18edd3(0x45a)](_0x21b594,0x1));}_0x3fc994[_0x18edd3(0x2b4)]===0x0&&(this[_0x18edd3(0x450)][_0x18edd3(0x348)](_0x1da2d7),this[_0x18edd3(0x125)]['delete'](_0x1da2d7));}}['_getDisposePopups'](_0x1d5d4e){const _0x46ab1f=_0x7db477;let _0x159e60=this[_0x46ab1f(0x450)][_0x46ab1f(0x45e)](_0x1d5d4e);if(_0x159e60)return _0x159e60;let _0x159d35=[];return this[_0x46ab1f(0x450)][_0x46ab1f(0x3fc)](_0x1d5d4e,_0x159d35),_0x159d35;}[_0x7db477(0x1d3)](_0x49cb01){const _0x2827a5=_0x7db477;var _0x28c135;let _0x463d59=new _0x47c402[(_0x2827a5(0x28a))](),_0x44a623=(_0x28c135=this['_renderManagerService']['getAllRenderersOfType'](_0x47c402[_0x2827a5(0x1aa)][_0x2827a5(0x486)])[_0x2827a5(0x363)](_0x5b31bb=>_0x5b31bb['scene'][_0x2827a5(0x339)]()===_0x49cb01))==null?void 0x0:_0x28c135[_0x2827a5(0x24d)];return _0x44a623?(_0x463d59['add'](_0x49cb01[_0x2827a5(0x23a)][_0x2827a5(0x146)](()=>this[_0x2827a5(0x39f)](_0x49cb01,_0x44a623))),_0x463d59['add'](_0x49cb01[_0x2827a5(0x212)][_0x2827a5(0x146)](()=>{const _0x33c33f=_0x2827a5;this[_0x33c33f(0x154)](_0x44a623),queueMicrotask(()=>{const _0x34de94=_0x33c33f;_0x49cb01[_0x34de94(0x408)]()[_0x34de94(0x142)]>0x0||(this[_0x34de94(0x1e2)][_0x34de94(0x244)](_0x47c402['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x34de94(0x369)][_0x34de94(0x2e7)](null));});})),_0x463d59[_0x2827a5(0x3f2)](_0x49cb01[_0x2827a5(0x170)][_0x2827a5(0x146)](()=>{const _0x3828d6=_0x2827a5;this[_0x3828d6(0x154)](_0x44a623,!0x0);})),_0x463d59):_0x463d59;}[_0x7db477(0x39f)](_0x3d607f,_0x5765cc){const _0xa9193b=_0x7db477;let _0x3b0c4e=_0x3d607f['getSelectedObjectMap']();if(this['_isOpenedShapeEditPanel']){this['_clearPopups'](_0x5765cc,!0x0);return;}if(_0x3b0c4e[_0xa9193b(0x142)]>0x1){this[_0xa9193b(0x154)](_0x5765cc);return;}let _0x44a110=_0x3b0c4e[_0xa9193b(0x235)]()['next']()['value'];if(!_0x44a110){this[_0xa9193b(0x154)](_0x5765cc);return;}let _0x47160e=this['_drawingManagerService'][_0xa9193b(0x35d)](_0x44a110[_0xa9193b(0x34c)]);if(!_0x47160e||_0x47160e[_0xa9193b(0x3bc)]!==_0x47c402[_0xa9193b(0x472)][_0xa9193b(0x427)]){this[_0xa9193b(0x154)](_0x5765cc);return;}let {unitId:_0x4d3fd7,subUnitId:_0x2a3f48,drawingId:_0x32f541}=_0x47160e;if(!this[_0xa9193b(0x1f2)](_0x4d3fd7,_0x32f541)){this[_0xa9193b(0x154)](_0x5765cc,!0x0);return;}let _0x4dc5da=this[_0xa9193b(0x375)](_0x4d3fd7,_0x2a3f48,_0x32f541);if(!_0x4dc5da){this[_0xa9193b(0x154)](_0x5765cc);return;}let _0x6d8242=this[_0xa9193b(0x450)][_0xa9193b(0x45e)](_0x5765cc),_0x3c7e58=_0x4d3fd7+':'+_0x2a3f48+':'+_0x32f541;if(this['_popupTargetKeys'][_0xa9193b(0x45e)](_0x5765cc)===_0x3c7e58&&_0x6d8242!=null&&_0x6d8242[_0xa9193b(0x2b4)])return;this[_0xa9193b(0x154)](_0x5765cc);let _0x2d248a=this[_0xa9193b(0x2f9)][_0xa9193b(0x345)](_0x4d3fd7),_0x6dae8=((_0x2d248a==null?void 0x0:_0x2d248a[_0xa9193b(0x426)])===!0x1?_0x2d248a[_0xa9193b(0x459)](_0x130604[_0xa9193b(0x47d)]):this[_0xa9193b(0x1f4)])[_0xa9193b(0x3e0)](_0x44a110,this[_0xa9193b(0x35a)](_0x4dc5da,()=>this[_0xa9193b(0x154)](_0x5765cc,!0x0)),_0x4d3fd7);this[_0xa9193b(0x2b0)](_0x6dae8),this[_0xa9193b(0x49b)](_0x5765cc)[_0xa9193b(0x327)](_0x6dae8),this[_0xa9193b(0x125)][_0xa9193b(0x3fc)](_0x5765cc,_0x3c7e58),this[_0xa9193b(0x369)]['getFocusDrawings']()[_0xa9193b(0x30e)](_0x2ce5d2=>_0x2ce5d2['unitId']===_0x4d3fd7&&_0x2ce5d2[_0xa9193b(0x28c)]===_0x2a3f48&&_0x2ce5d2[_0xa9193b(0x2ef)]===_0x32f541)||this[_0xa9193b(0x369)][_0xa9193b(0x2e7)]([{'unitId':_0x4d3fd7,'subUnitId':_0x2a3f48,'drawingId':_0x32f541}]);}[_0x7db477(0x35a)](_0x454f6a,_0xcfbddc){const _0x41382c=_0x7db477;let {unitId:_0x2b3fa2,subUnitId:_0x1d8300,shapeId:_0x1d98a4}=_0x454f6a,_0x3875ee={'hostType':_0x47c402['UniverInstanceType']['UNIVER_DOC'],'unitId':_0x2b3fa2,'subUnitId':_0x1d8300,'shapeId':_0x1d98a4};return{'componentKey':_0x384936,'direction':'top-center','offset':[0x0,0x8],'extraProps':{'shapeType':_0x454f6a[_0x41382c(0x49e)],'onText':()=>{const _0x5c72bc=_0x41382c;_0xcfbddc(),this[_0x5c72bc(0x2da)][_0x5c72bc(0x1c9)](_0x5c72bc(0x2f6),_0x3875ee);},'onStyle':()=>{const _0x563963=_0x41382c;_0xcfbddc(),this['_mobileEditorService'][_0x563963(0x1c9)](_0x563963(0x43a),_0x3875ee);},'onDelete':()=>this[_0x41382c(0x248)][_0x41382c(0x467)](_0x13d142[_0x41382c(0x1f8)]['id'],{'unitId':_0x2b3fa2,'drawings':[{'unitId':_0x2b3fa2,'subUnitId':_0x1d8300,'drawingId':_0x1d98a4}]})}};}['_canEditShape'](_0x35235a,_0x4db8ba){const _0x376ad5=_0x7db477;let _0x41b2b8=this[_0x376ad5(0x130)][_0x376ad5(0x2aa)](_0x35235a,_0x47c402['UniverInstanceType'][_0x376ad5(0x486)]);if(!_0x41b2b8)return!0x1;let _0x2942c3=(0x0,_0x18b339['getDocumentDrawingSegmentId'])(_0x41b2b8,_0x4db8ba);return(0x0,_0x18b339[_0x376ad5(0x3e1)])(this[_0x376ad5(0x17b)],_0x35235a,[...(0x0,_0x18b339['getDocumentEntityParentPermissionObjectIds'])(_0x41b2b8,_0x2942c3,'drawing',_0x4db8ba),(0x0,_0x18b339[_0x376ad5(0x44d)])(_0x2942c3,_0x376ad5(0x31b),_0x4db8ba)]);}[_0x7db477(0x2d6)](){const _0xd4dacc=_0x7db477;this[_0xd4dacc(0x2b0)](this[_0xd4dacc(0x248)][_0xd4dacc(0x187)](_0x230a82=>{const _0x3b60a3=_0xd4dacc;if(_0x230a82['id']===_0x39980d['id']){let {unitId:_0x1387c2,subUnitId:_0x13f934,drawingId:_0x59cc07}=_0x230a82[_0x3b60a3(0x20d)];this[_0x3b60a3(0x35c)]+=0x1,this[_0x3b60a3(0x303)]=this[_0x3b60a3(0x375)](_0x1387c2,_0x13f934,_0x59cc07),this[_0x3b60a3(0x154)](void 0x0,!0x0),this[_0x3b60a3(0x2c5)]();}if(_0x230a82['id']===_0x87b80e['id']&&(this[_0x3b60a3(0x303)]=null,this[_0x3b60a3(0x298)]()),_0x230a82['id']===_0x284855[_0x3b60a3(0x324)]['id']){var _0xd07dc3;let {unitId:_0x314c22,shapeId:_0x191dba}=_0x230a82[_0x3b60a3(0x20d)];if(((_0xd07dc3=this[_0x3b60a3(0x303)])==null?void 0x0:_0xd07dc3[_0x3b60a3(0x424)])===_0x191dba){let _0x3dbb43=this['_getShapeInfo'](_0x314c22,this[_0x3b60a3(0x303)][_0x3b60a3(0x28c)],_0x191dba);_0x3dbb43&&(this[_0x3b60a3(0x35c)]+=0x1,_0x3dbb43[_0x3b60a3(0x39b)]=this[_0x3b60a3(0x35c)],this[_0x3b60a3(0x303)]=_0x3dbb43,this[_0x3b60a3(0x4a0)]&&this['_openShapeEditPanel']());}}})),this[_0xd4dacc(0x2b0)](this[_0xd4dacc(0x369)][_0xd4dacc(0x48c)]['subscribe'](_0x417380=>{const _0xf515bf=_0xd4dacc;if(!this[_0xf515bf(0x4a0)])return;if(_0x417380[_0xf515bf(0x2b4)]===0x0){this['_activeShapeInfo']=null,this[_0xf515bf(0x298)]();return;}if(_0x417380['length']===0x1&&_0x417380[0x0]['drawingType']===_0x47c402['DrawingTypeEnum'][_0xf515bf(0x427)]&&(this[_0xf515bf(0x35c)]+=0x1,this[_0xf515bf(0x303)]=this[_0xf515bf(0x375)](_0x417380[0x0]['unitId'],_0x417380[0x0][_0xf515bf(0x28c)],_0x417380[0x0][_0xf515bf(0x2ef)]),this[_0xf515bf(0x303)])){this['_openShapeEditPanel']();return;}let _0x5725f9=_0x417380['filter'](_0x2f42d7=>_0x2f42d7[_0xf515bf(0x3bc)]===_0x47c402[_0xf515bf(0x472)][_0xf515bf(0x427)]);if(this['_shapeEditPanelVersion']+=0x1,this[_0xf515bf(0x303)]=this['_getShapeInfo'](_0x417380[0x0]['unitId'],_0x417380[0x0][_0xf515bf(0x28c)],_0x417380[0x0]['drawingId']),this['_activeShapeInfo']&&_0x417380['length']>0x1&&_0x5725f9[_0xf515bf(0x2b4)]===_0x417380[_0xf515bf(0x2b4)]){this[_0xf515bf(0x2c5)]();return;}if(this['_activeShapeInfo']&&_0x5725f9[_0xf515bf(0x2b4)]!==_0x417380[_0xf515bf(0x2b4)]){this[_0xf515bf(0x303)][_0xf515bf(0x305)]=!0x0,this[_0xf515bf(0x2c5)]();return;}this[_0xf515bf(0x298)]();}));}[_0x7db477(0x2c5)](){const _0x3e8273=_0x7db477;this[_0x3e8273(0x303)]&&(this[_0x3e8273(0x289)]=this[_0x3e8273(0x3af)][_0x3e8273(0x1c9)]({'id':_0x52a209,'header':{'title':this[_0x3e8273(0x29a)]['t'](_0x3e8273(0x42f))},'width':0x184,'children':{'label':_0x52a209,...this[_0x3e8273(0x303)]},'onClose':()=>{const _0x1b20d8=_0x3e8273;this[_0x1b20d8(0x369)][_0x1b20d8(0x2e7)](null),this[_0x1b20d8(0x1e2)][_0x1b20d8(0x244)](_0x47c402[_0x1b20d8(0x1eb)],!0x1),this[_0x1b20d8(0x289)]=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}[_0x7db477(0x298)](){const _0x3a61c9=_0x7db477;this[_0x3a61c9(0x4a0)]=!0x1,this[_0x3a61c9(0x3af)]['close'](_0x52a209),this[_0x3a61c9(0x289)]=null,this[_0x3a61c9(0x1e2)]['setContextValue'](_0x47c402[_0x3a61c9(0x1eb)],!0x1),this['_drawingManagerService'][_0x3a61c9(0x2e7)](null);}};_0x3a06ff=_0x1cbdb5([_0x15d88a(0x0,_0x47c402['IUniverInstanceService']),_0x15d88a(0x1,(0x0,_0x47c402[_0x7db477(0x261)])(_0x86086d[_0x7db477(0x393)])),_0x15d88a(0x2,_0x86086d['IMenuManagerService']),_0x15d88a(0x3,(0x0,_0x47c402[_0x7db477(0x261)])(_0x284855['DocsShapeService'])),_0x15d88a(0x4,(0x0,_0x47c402[_0x7db477(0x261)])(_0x47c402[_0x7db477(0x2ba)])),_0x15d88a(0x5,_0x47c402[_0x7db477(0x250)]),_0x15d88a(0x6,_0x4152b2[_0x7db477(0x1a4)]),_0x15d88a(0x7,(0x0,_0x47c402[_0x7db477(0x261)])(_0x130604[_0x7db477(0x47d)])),_0x15d88a(0x8,_0x54839f['IRenderManagerService']),_0x15d88a(0x9,_0x47c402['IContextService']),_0x15d88a(0xa,(0x0,_0x47c402[_0x7db477(0x261)])(_0x43257f)),_0x15d88a(0xb,_0x47c402[_0x7db477(0x213)]),_0x15d88a(0xc,(0x0,_0x47c402[_0x7db477(0x261)])(_0x56d51f[_0x7db477(0x141)]))],_0x3a06ff);let _0x5bde57=_0x7db477(0x149),_0x31410c=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0x1344bd,_0x4895e7,_0x455aae,_0xb33b1b,_0xb3ae77,_0x5a6806){const _0x157a58=_0x7db477;super(),this[_0x157a58(0x285)]=_0x1344bd,this['_ribbonService']=_0x4895e7,this[_0x157a58(0x369)]=_0x455aae,this[_0x157a58(0x130)]=_0xb33b1b,this[_0x157a58(0x2f9)]=_0xb3ae77,this[_0x157a58(0x3f0)]=_0x5a6806,_0x38c0c9(this,_0x157a58(0x20b),!0x1),this[_0x157a58(0x285)][_0x157a58(0x241)](_0x391af2),this[_0x157a58(0x2b0)]((0x0,_0x47c402['toDisposable'])(this[_0x157a58(0x369)][_0x157a58(0x48c)]['subscribe'](()=>this[_0x157a58(0x27b)]()))),this['_update']();}[_0x7db477(0x18c)](){const _0x290a29=_0x7db477;this[_0x290a29(0x3f0)][_0x290a29(0x3ff)](!0x1,_0x5bde57),this['_hide'](),super[_0x290a29(0x18c)]();}['_update'](){const _0x30f81d=_0x7db477;var _0x243462;let _0x14f56d=this[_0x30f81d(0x369)]['getFocusDrawings'](),_0x467c59=_0x14f56d[_0x30f81d(0x2b4)]===0x1?_0x14f56d[0x0]:void 0x0;if((_0x467c59==null?void 0x0:_0x467c59[_0x30f81d(0x3bc)])!==_0x47c402[_0x30f81d(0x472)][_0x30f81d(0x427)]||this['_univerInstanceService']['getUnitType'](_0x467c59['unitId'])!==_0x47c402[_0x30f81d(0x1aa)][_0x30f81d(0x486)]){this[_0x30f81d(0x3f0)][_0x30f81d(0x3ff)](!0x1,_0x5bde57),this[_0x30f81d(0x2de)]();return;}let _0x36f048=(_0x243462=this[_0x30f81d(0x2f9)][_0x30f81d(0x345)](_0x467c59[_0x30f81d(0x24d)]))==null?void 0x0:_0x243462[_0x30f81d(0x1ae)][_0x30f81d(0x1a2)](),_0x433fc0=(0x0,_0x56d51f['resolveShapeContextualRibbonHostMode'])(_0x36f048)===_0x30f81d(0x27e);if(this[_0x30f81d(0x3f0)][_0x30f81d(0x3ff)](_0x433fc0,_0x5bde57),_0x433fc0){this['_hide']();return;}this[_0x30f81d(0x20b)]||(this[_0x30f81d(0x20b)]=!0x0,this[_0x30f81d(0x1e1)]['showContextualTab'](_0x2bcc29,{'activate':!0x0}));}[_0x7db477(0x2de)](){const _0x502e7a=_0x7db477;this[_0x502e7a(0x20b)]&&(this[_0x502e7a(0x20b)]=!0x1,this[_0x502e7a(0x1e1)][_0x502e7a(0x347)](_0x2bcc29),this[_0x502e7a(0x1e1)]['setCollapsedIds']([]));}};_0x31410c=_0x1cbdb5([_0x15d88a(0x0,_0x86086d[_0x7db477(0x1db)]),_0x15d88a(0x1,_0x86086d[_0x7db477(0x231)]),_0x15d88a(0x2,_0x4152b2['IDrawingManagerService']),_0x15d88a(0x3,_0x47c402['IUniverInstanceService']),_0x15d88a(0x4,_0x54839f[_0x7db477(0x173)]),_0x15d88a(0x5,(0x0,_0x47c402[_0x7db477(0x261)])(_0x56d51f[_0x7db477(0x18b)]))],_0x31410c);let _0x368f6a=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0x159ee2,_0x26ea36,_0x38263f,_0x6f077d){const _0x22c449=_0x7db477;super(),this[_0x22c449(0x248)]=_0x159ee2,this[_0x22c449(0x2f9)]=_0x26ea36,this['_drawingManagerService']=_0x38263f,this[_0x22c449(0x1c7)]=_0x6f077d,this[_0x22c449(0x484)]();}[_0x7db477(0x484)](){const _0x5950e5=_0x7db477;this[_0x5950e5(0x2b0)](this[_0x5950e5(0x369)][_0x5950e5(0x1b9)][_0x5950e5(0x146)](_0x1b0126=>this[_0x5950e5(0x301)](_0x1b0126))),this[_0x5950e5(0x2b0)](this[_0x5950e5(0x369)]['update$'][_0x5950e5(0x146)](_0x2f6d59=>{const _0x46685f=_0x5950e5;_0x2f6d59[_0x46685f(0x2dd)](_0x56b432=>this[_0x46685f(0x21a)](_0x56b432));})),this['disposeWithMe'](this[_0x5950e5(0x248)][_0x5950e5(0x187)](_0x43f2dd=>{const _0x36f04a=_0x5950e5;if(_0x43f2dd['id']!==_0x284855[_0x36f04a(0x324)]['id'])return;let {unitId:_0x6e5451,shapeId:_0x899311}=_0x43f2dd['params'];this[_0x36f04a(0x2fd)]({'unitId':_0x6e5451,'subUnitId':_0x6e5451,'drawingId':_0x899311});}));}[_0x7db477(0x301)](_0x328e9a){const _0x4800c8=_0x7db477;_0x328e9a[_0x4800c8(0x2dd)](_0x4a3ab5=>{const _0x2366c7=_0x4800c8;let _0x2ace93=this[_0x2366c7(0x23b)](_0x4a3ab5[_0x2366c7(0x24d)]);if(!_0x2ace93)return;let _0x2428b1=this[_0x2366c7(0x369)][_0x2366c7(0x340)](_0x4a3ab5);(_0x2428b1==null?void 0x0:_0x2428b1[_0x2366c7(0x3bc)])===_0x47c402[_0x2366c7(0x472)][_0x2366c7(0x427)]&&this['_docDrawingShapeRenderController'][_0x2366c7(0x286)](_0x2428b1,_0x2ace93[_0x2366c7(0x11a)]);});}[_0x7db477(0x21a)](_0xed0d55){const _0x20fa61=_0x7db477;let _0xbb4ecc=this[_0x20fa61(0x369)][_0x20fa61(0x340)](_0xed0d55);if((_0xbb4ecc==null?void 0x0:_0xbb4ecc[_0x20fa61(0x3bc)])!==_0x47c402[_0x20fa61(0x472)]['DRAWING_SHAPE'])return;let _0x49ce25=this['_getSceneByUnitId'](_0xed0d55[_0x20fa61(0x24d)]);if(!_0x49ce25||_0xbb4ecc[_0x20fa61(0x211)]==null)return;let _0x2f8924=(0x0,_0x4152b2[_0x20fa61(0x2b6)])(_0xed0d55),_0x4e6155=_0x49ce25[_0x20fa61(0x11a)][_0x20fa61(0x40b)](_0x2f8924);_0x4e6155&&(_0x4e6155[_0x20fa61(0x13e)](_0xbb4ecc['srcRect']),_0x4e6155['setPrstGeom'](_0xbb4ecc[_0x20fa61(0x2d3)]),_0x4e6155[_0x20fa61(0x182)](!0x0));}[_0x7db477(0x2fd)](_0x793bc){const _0x13aa2c=_0x7db477;let _0x2518ea=this[_0x13aa2c(0x23b)](_0x793bc[_0x13aa2c(0x24d)]);if(!_0x2518ea)return;let _0x45ff19=(0x0,_0x4152b2[_0x13aa2c(0x2b6)])(_0x793bc),_0x566b52=_0x2518ea[_0x13aa2c(0x11a)]['getObjectIncludeInGroup'](_0x45ff19);_0x566b52&&(this['_docDrawingShapeRenderController']['refreshShapeFillImage'](_0x566b52),this[_0x13aa2c(0x1c7)][_0x13aa2c(0x349)](_0x566b52,{'unitId':_0x793bc[_0x13aa2c(0x24d)],'subUnitId':_0x793bc['subUnitId'],'shapeId':_0x793bc[_0x13aa2c(0x2ef)]}),_0x566b52[_0x13aa2c(0x182)](!0x0));}[_0x7db477(0x23b)](_0x24902e){const _0x3e8ae3=_0x7db477;if(_0x24902e==null)return null;let _0x1a5837=this[_0x3e8ae3(0x2f9)]['getRenderUnitById'](_0x24902e),_0x1fcba4=_0x1a5837==null?void 0x0:_0x1a5837[_0x3e8ae3(0x11a)];return _0x1fcba4==null?null:{'scene':_0x1fcba4};}};_0x368f6a=_0x1cbdb5([_0x15d88a(0x0,_0x47c402['ICommandService']),_0x15d88a(0x1,_0x54839f['IRenderManagerService']),_0x15d88a(0x2,_0x4152b2[_0x7db477(0x1a4)]),_0x15d88a(0x3,(0x0,_0x47c402[_0x7db477(0x261)])(_0x5b7161))],_0x368f6a);let _0x35c733=class extends _0x47c402[_0x7db477(0x26d)]{constructor(_0x196ac2=_0x1bd49e,_0x1e599c,_0x31f9f8,_0x66b58f,_0x268096){const _0x6a79a3=_0x7db477;super(),this[_0x6a79a3(0x33d)]=_0x196ac2,this['_injector']=_0x1e599c,this[_0x6a79a3(0x248)]=_0x31f9f8,this[_0x6a79a3(0x127)]=_0x66b58f,this[_0x6a79a3(0x2f9)]=_0x268096;let {menu:_0x4a7ffb,..._0x36c49e}=(0x0,_0x47c402[_0x6a79a3(0x1a1)])({},_0x1bd49e,this['_config']);_0x4a7ffb&&this[_0x6a79a3(0x127)][_0x6a79a3(0x147)]('menu',_0x4a7ffb,{'merge':!0x0}),this[_0x6a79a3(0x127)][_0x6a79a3(0x147)](_0x3c8ab9,_0x36c49e),[_0x4654b3,_0x87b80e,_0x39980d,_0x3c123e,_0x5bf868,_0x58df16][_0x6a79a3(0x2dd)](_0x5b87a6=>this[_0x6a79a3(0x2b0)](this[_0x6a79a3(0x248)][_0x6a79a3(0x156)](_0x5b87a6)));}['onStarting'](){const _0x4a2b96=_0x7db477;let _0x2bbe9e=[[_0x33d9ae],[_0x3a06ff],[_0x368f6a],[_0x5b7161],[_0x2cac68],[_0x3e66ac],[_0x1471d7],[_0xab8686],[_0x43257f],[_0x31410c]];(0x0,_0x47c402[_0x4a2b96(0x3d2)])(this[_0x4a2b96(0x3a5)],_0x2bbe9e),this[_0x4a2b96(0x3a5)][_0x4a2b96(0x45e)](_0x33d9ae);}[_0x7db477(0x456)](){const _0x5592be=_0x7db477;this[_0x5592be(0x2b0)](this[_0x5592be(0x2f9)][_0x5592be(0x19b)](_0x47c402[_0x5592be(0x1aa)][_0x5592be(0x486)],[_0x3e66ac])),(0x0,_0x47c402[_0x5592be(0x30c)])(this[_0x5592be(0x3a5)],[[_0x3a06ff],[_0x368f6a],[_0x5b7161],[_0x2cac68],[_0x1471d7],[_0xab8686],[_0x43257f],[_0x31410c]]);}};_0x38c0c9(_0x35c733,_0x7db477(0x139),_0x47c402[_0x7db477(0x1aa)][_0x7db477(0x486)]),_0x38c0c9(_0x35c733,'pluginName',_0x7db477(0x2e9)),_0x38c0c9(_0x35c733,_0x7db477(0x219),_0x45c6c8),_0x38c0c9(_0x35c733,_0x7db477(0x39b),_0x279654),_0x35c733=_0x1cbdb5([(0x0,_0x47c402[_0x7db477(0x3ba)])(_0x2a35ca[_0x7db477(0x443)],_0x18b339[_0x7db477(0x209)],_0x4152b2['UniverDrawingPlugin'],_0x459a9e[_0x7db477(0x1d2)],_0x54839f['UniverRenderEnginePlugin'],_0x130604['UniverDocsMobileUIPlugin'],_0x48b72a[_0x7db477(0x420)],_0x1d2176['UniverDocsDrawingMobileUIPlugin'],_0x284855[_0x7db477(0x3b9)],_0x56d51f[_0x7db477(0x452)]),_0x15d88a(0x1,(0x0,_0x47c402[_0x7db477(0x261)])(_0x47c402[_0x7db477(0x21d)])),_0x15d88a(0x2,_0x47c402[_0x7db477(0x250)]),_0x15d88a(0x3,_0x47c402[_0x7db477(0x3a6)]),_0x15d88a(0x4,_0x54839f['IRenderManagerService'])],_0x35c733);let _0x5ba519=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0x2ba988,_0x14991f){const _0xa0cde2=_0x7db477;super(),this['_componentManager']=_0x2ba988,this[_0xa0cde2(0x1a5)]=_0x14991f,this[_0xa0cde2(0x26b)](),this['_registerComponents']();}[_0x7db477(0x26b)](){const _0x52e0ca=_0x7db477;this[_0x52e0ca(0x1a5)][_0x52e0ca(0x48e)](_0x52e0ca(0x28e))||this[_0x52e0ca(0x2b0)](this[_0x52e0ca(0x1a5)]['register']({'ObjectLayersIcon':_0x1f286e})),this[_0x52e0ca(0x1a5)][_0x52e0ca(0x48e)](_0x52e0ca(0x1ec))||this[_0x52e0ca(0x2b0)](this[_0x52e0ca(0x1a5)][_0x52e0ca(0x394)]({'BottomIcon':_0x48e3a1})),this[_0x52e0ca(0x1a5)][_0x52e0ca(0x48e)]('MoveDownIcon')||this['disposeWithMe'](this[_0x52e0ca(0x1a5)][_0x52e0ca(0x394)]({'MoveDownIcon':_0x29fbfe})),this[_0x52e0ca(0x1a5)][_0x52e0ca(0x48e)](_0x52e0ca(0x378))||this[_0x52e0ca(0x2b0)](this[_0x52e0ca(0x1a5)][_0x52e0ca(0x394)]({'MoveUpIcon':_0x2d9da1})),this[_0x52e0ca(0x1a5)][_0x52e0ca(0x48e)]('ShapeFormatSettingIcon')||this[_0x52e0ca(0x2b0)](this['_iconManager'][_0x52e0ca(0x394)]({'ShapeFormatSettingIcon':_0x660fb1})),this[_0x52e0ca(0x1a5)][_0x52e0ca(0x48e)](_0x52e0ca(0x461))||this[_0x52e0ca(0x2b0)](this['_iconManager'][_0x52e0ca(0x394)]({'TopmostIcon':_0x2ac36e})),this['disposeWithMe'](this[_0x52e0ca(0x1a5)][_0x52e0ca(0x394)](_0xa1bd39));}['_registerComponents'](){const _0xb6e21f=_0x7db477;this[_0xb6e21f(0x2b0)](this[_0xb6e21f(0x114)][_0xb6e21f(0x394)](_0x52a209,_0x38ef89)),this[_0xb6e21f(0x36b)](),this['_registerFloatingToolbar'](),this[_0xb6e21f(0x2b0)](this[_0xb6e21f(0x114)]['register'](_0x4850a6,_0x532467)),this[_0xb6e21f(0x2b0)](this[_0xb6e21f(0x114)][_0xb6e21f(0x394)](_0x560d2a,_0x533993)),this['disposeWithMe'](this[_0xb6e21f(0x114)][_0xb6e21f(0x394)](_0x19a0d7,_0x5e650e)),this[_0xb6e21f(0x2b0)](this[_0xb6e21f(0x114)][_0xb6e21f(0x394)](_0x2084e0,_0x14a76c)),this[_0xb6e21f(0x2b0)](this[_0xb6e21f(0x114)][_0xb6e21f(0x394)](_0x5ac958,_0x45324f)),this[_0xb6e21f(0x2b0)](this[_0xb6e21f(0x114)][_0xb6e21f(0x394)](_0x469608,_0x56d51f[_0xb6e21f(0x2a1)])),this[_0xb6e21f(0x1b0)](),this[_0xb6e21f(0x114)][_0xb6e21f(0x45e)](_0x459a9e['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'])||this[_0xb6e21f(0x2b0)](this['_componentManager']['register'](_0x459a9e['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'],_0x34fc80)),this[_0xb6e21f(0x2b0)](this[_0xb6e21f(0x114)][_0xb6e21f(0x394)](_0x3a6f6f,_0x1e8cf0));}[_0x7db477(0x36b)](){const _0x31b5cf=_0x7db477;this[_0x31b5cf(0x2b0)](this['_componentManager'][_0x31b5cf(0x394)](_0x4378d7,_0x2413ae));}['_registerFloatingToolbar'](){const _0x340ac9=_0x7db477;this[_0x340ac9(0x2b0)](this[_0x340ac9(0x114)][_0x340ac9(0x394)](_0x384936,_0x14cedd));}[_0x7db477(0x1b0)](){const _0x371636=_0x7db477;this[_0x371636(0x2b0)](this[_0x371636(0x114)][_0x371636(0x394)](_0xc138a4,_0x3be8f4)),this[_0x371636(0x2b0)](this[_0x371636(0x114)][_0x371636(0x394)](_0x5e6476,_0x50210b));}};_0x5ba519=_0x1cbdb5([_0x15d88a(0x0,(0x0,_0x47c402['Inject'])(_0x86086d['ComponentManager'])),_0x15d88a(0x1,(0x0,_0x47c402['Inject'])(_0x86086d[_0x7db477(0x2cb)]))],_0x5ba519);let _0xac86fa=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0x467225,_0x2f2639,_0x5209c3,_0x249b1c,_0x35bf7f,_0x24a19d,_0x12128e,_0x39bcba,_0x12cbb2){const _0x289e8d=_0x7db477;super();let _0x102c23=_0xe77ce2=>{const _0x41da0d=_0x3f06;let _0x3fe05=_0x24a19d[_0x41da0d(0x2aa)](_0xe77ce2[_0x41da0d(0x24d)],_0x47c402[_0x41da0d(0x1aa)]['UNIVER_DOC']),_0x328d8a=_0x3fe05?(0x0,_0x18b339[_0x41da0d(0x1af)])(_0x3fe05,_0xe77ce2[_0x41da0d(0x424)]):'';return!!_0x3fe05&&(0x0,_0x18b339[_0x41da0d(0x3e1)])(_0x39bcba,_0xe77ce2[_0x41da0d(0x24d)],[(0x0,_0x18b339[_0x41da0d(0x44d)])(_0x328d8a,_0x41da0d(0x31b),_0xe77ce2[_0x41da0d(0x424)]),...(0x0,_0x18b339['getDocumentEntityParentPermissionObjectIds'])(_0x3fe05,_0x328d8a,_0x41da0d(0x31b),_0xe77ce2[_0x41da0d(0x424)])]);},_0x3cbe3c=_0x27cc97=>_0x27cc97[_0x289e8d(0x424)]&&_0x102c23(_0x27cc97)?_0x5209c3['getShapeDataById'](_0x27cc97[_0x289e8d(0x24d)],_0x27cc97[_0x289e8d(0x424)])??null:null,_0x277855=()=>{const _0x337d9d=_0x289e8d;let _0x4b564f=_0x35bf7f['getFocusDrawings'](),_0x3a9e99=_0x4b564f[_0x337d9d(0x2b4)]===0x1?_0x4b564f[0x0]:null;return(_0x3a9e99==null?void 0x0:_0x3a9e99[_0x337d9d(0x3bc)])===_0x47c402[_0x337d9d(0x472)][_0x337d9d(0x427)]&&_0x3a9e99[_0x337d9d(0x24d)]===_0x467225[_0x337d9d(0x24d)]?{'unitId':_0x3a9e99['unitId'],'subUnitId':_0x3a9e99[_0x337d9d(0x28c)],'shapeId':_0x3a9e99[_0x337d9d(0x2ef)]}:null;};this[_0x289e8d(0x2b0)]((0x0,_0x56d51f[_0x289e8d(0x308)])(_0x467225,_0x2f2639,{'changes$':(0x0,_0x21926c[_0x289e8d(0x1a1)])(_0x35bf7f[_0x289e8d(0x48c)],_0x249b1c['editingParams$'],_0x39bcba[_0x289e8d(0x3f4)]),'isActive':()=>{const _0x2e6f8c=_0x289e8d;var _0x27ec3b;return((_0x27ec3b=_0x24a19d[_0x2e6f8c(0x400)]())==null?void 0x0:_0x27ec3b[_0x2e6f8c(0x38c)]())===_0x467225[_0x2e6f8c(0x24d)]&&!_0x12128e[_0x2e6f8c(0x1fd)](_0x47c402[_0x2e6f8c(0x415)])&&_0x35bf7f[_0x2e6f8c(0x3b6)]()[_0x2e6f8c(0x30e)](_0x1190c7=>_0x1190c7['unitId']===_0x467225[_0x2e6f8c(0x24d)]);},'getSelectedTarget':_0x277855,'getSource':()=>{let _0x2e377e=_0x277855();return _0x2e377e?_0x3cbe3c(_0x2e377e):null;},'getTarget':_0x53b540=>{const _0x2b57f3=_0x289e8d;let _0x9297b7=_0x467225[_0x2b57f3(0x11a)][_0x2b57f3(0x3a9)](new _0x54839f['Vector2'](_0x53b540['offsetX'],_0x53b540[_0x2b57f3(0x309)]));if(!(_0x9297b7 instanceof _0x5777c9))return null;let _0x525acc={'unitId':_0x467225[_0x2b57f3(0x24d)],'subUnitId':_0x467225[_0x2b57f3(0x24d)],'shapeId':_0x9297b7['shapeId']};return _0x102c23(_0x525acc)?_0x525acc:null;},'getShape':_0x3cbe3c,'update':(_0x21c9cc,_0x42111c,_0x4c086c)=>_0x12cbb2[_0x289e8d(0x467)](_0x284855['UpdateDocShapeDataCommand']['id'],{..._0x21c9cc,'shapeData':_0x4c086c,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x42111c}})}));}};_0xac86fa=_0x1cbdb5([_0x15d88a(0x1,(0x0,_0x47c402[_0x7db477(0x261)])(_0x86086d[_0x7db477(0x470)])),_0x15d88a(0x2,(0x0,_0x47c402['Inject'])(_0x284855[_0x7db477(0x2ac)])),_0x15d88a(0x3,(0x0,_0x47c402[_0x7db477(0x261)])(_0x43257f)),_0x15d88a(0x4,_0x4152b2[_0x7db477(0x1a4)]),_0x15d88a(0x5,_0x47c402[_0x7db477(0x191)]),_0x15d88a(0x6,_0x47c402[_0x7db477(0x474)]),_0x15d88a(0x7,_0x47c402[_0x7db477(0x213)]),_0x15d88a(0x8,_0x47c402[_0x7db477(0x250)])],_0xac86fa);function _0x33479e(_0x422029,_0x4896be){const _0x54c6b3=_0x7db477;let _0x402555=_0x422029;for(;_0x402555;){if(_0x4896be(_0x402555))return _0x402555;_0x402555=typeof _0x402555[_0x54c6b3(0x3da)]==_0x54c6b3(0x38d)?_0x402555[_0x54c6b3(0x3da)]():null;}return null;}function _0x2211b1(_0x234939){return _0x33479e(_0x234939,_0x31c1f1=>_0x31c1f1 instanceof _0x5777c9);}function _0x16fbbf(_0x27cc46){const _0x48c2b7=_0x7db477;return(_0x27cc46==null?void 0x0:_0x27cc46[_0x48c2b7(0x3d0)])==null;}let _0x5df16b=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0x925d98,_0x5b933d,_0x146d68,_0x3ac95a,_0x29537b,_0x5a5482){const _0x10e431=_0x7db477;super(),this[_0x10e431(0x3c6)]=_0x925d98,this[_0x10e431(0x24f)]=_0x5b933d,this[_0x10e431(0x369)]=_0x146d68,this[_0x10e431(0x1e2)]=_0x3ac95a,this[_0x10e431(0x30d)]=_0x29537b,this['_docsShapeService']=_0x5a5482,_0x38c0c9(this,_0x10e431(0x2a2),null),_0x38c0c9(this,_0x10e431(0x36a),null),this[_0x10e431(0x37c)](),this['_initSelection'](),this[_0x10e431(0x385)]();}[_0x7db477(0x18c)](){const _0x1be056=_0x7db477;this['_endLayoutInteraction'](),super[_0x1be056(0x18c)]();}[_0x7db477(0x37c)](){const _0x5bf652=_0x7db477;let {scene:_0x2f7e23}=this[_0x5bf652(0x3c6)];this[_0x5bf652(0x2b0)](_0x2f7e23[_0x5bf652(0x25e)][_0x5bf652(0x20f)]((_0x2993c8,_0x467a5e)=>{const _0x1f98f9=_0x5bf652;let {offsetX:_0x7da6e9,offsetY:_0x47717a}=_0x2993c8,_0x2c136f=_0x54839f[_0x1f98f9(0x2d2)][_0x1f98f9(0x25c)]([_0x7da6e9,_0x47717a]),_0x3c9b15=_0x2211b1(_0x2f7e23[_0x1f98f9(0x3a9)](_0x2c136f))??this[_0x1f98f9(0x1c3)](_0x2c136f);if(_0x3c9b15){_0x467a5e[_0x1f98f9(0x361)]();let _0x517b29=this['_docsShapeService']['getShapeModel'](_0x3c9b15['unitId'],_0x3c9b15[_0x1f98f9(0x28c)],_0x3c9b15[_0x1f98f9(0x424)]);if(!_0x517b29||(0x0,_0x3becc2[_0x1f98f9(0x34f)])(_0x517b29['getShapeType']())||!_0x16fbbf(_0x517b29['getShapeData']()))return;this[_0x1f98f9(0x24f)][_0x1f98f9(0x2e2)]({'visible':!0x0,'unitId':_0x3c9b15[_0x1f98f9(0x24d)],'subUnitId':_0x3c9b15[_0x1f98f9(0x28c)],'shapeId':_0x3c9b15[_0x1f98f9(0x424)],'shapeKey':_0x3c9b15[_0x1f98f9(0x34c)]});}}));}['_getFocusedShapeAtPoint'](_0x392bfc){const _0x442492=_0x7db477;let {scene:_0xae4f85}=this[_0x442492(0x3c6)];return this[_0x442492(0x369)][_0x442492(0x3b6)]()[_0x442492(0x3b4)](_0x3d6b04=>_0xae4f85[_0x442492(0x40b)]((0x0,_0x4152b2[_0x442492(0x2b6)])(_0x3d6b04)))[_0x442492(0x363)](_0xfb7e3d=>_0xfb7e3d instanceof _0x5777c9&&_0xfb7e3d['isHit'](_0x392bfc))??null;}[_0x7db477(0x24c)](){const _0x491fcf=_0x7db477;this[_0x491fcf(0x2b0)](this[_0x491fcf(0x369)][_0x491fcf(0x48c)][_0x491fcf(0x146)](_0x3ad0db=>{const _0x9f19c8=_0x491fcf;if(_0x3ad0db[_0x9f19c8(0x2b4)]===0x1){let _0x28db70=_0x3ad0db[0x0],_0x8f98e9=this['_drawingManagerService']['getDrawingByParam'](_0x28db70);if((_0x8f98e9==null?void 0x0:_0x8f98e9['drawingType'])===_0x47c402[_0x9f19c8(0x472)][_0x9f19c8(0x427)]){let _0x1ac858=this[_0x9f19c8(0x24f)][_0x9f19c8(0x350)]();if((_0x1ac858==null?void 0x0:_0x1ac858[_0x9f19c8(0x424)])===_0x28db70['drawingId']&&_0x1ac858[_0x9f19c8(0x190)])return;(0x0,_0x3becc2[_0x9f19c8(0x34f)])(this[_0x9f19c8(0x25b)][_0x9f19c8(0x466)](_0x28db70['unitId'],_0x28db70[_0x9f19c8(0x28c)],_0x28db70[_0x9f19c8(0x2ef)]))&&this[_0x9f19c8(0x24f)][_0x9f19c8(0x2e2)](null);}else this[_0x9f19c8(0x24f)][_0x9f19c8(0x377)]();}else this[_0x9f19c8(0x24f)][_0x9f19c8(0x377)]();})),this[_0x491fcf(0x2b0)](this[_0x491fcf(0x369)][_0x491fcf(0x440)][_0x491fcf(0x146)](_0x4eae7b=>{const _0xdc75a9=_0x491fcf;let _0x522817=this['_shapeTextEditingService']['getEditing']();_0x522817&&_0x4eae7b['some'](_0x763f38=>_0x763f38[_0xdc75a9(0x2ef)]===_0x522817[_0xdc75a9(0x424)])&&this[_0xdc75a9(0x24f)][_0xdc75a9(0x2e2)](null);}));}[_0x7db477(0x385)](){const _0x11f8d1=_0x7db477;this[_0x11f8d1(0x2b0)](this[_0x11f8d1(0x24f)]['editingParams$'][_0x11f8d1(0x146)](_0x3cb15f=>{const _0x3782a0=_0x11f8d1;(_0x3cb15f==null?void 0x0:_0x3cb15f[_0x3782a0(0x190)])===!0x0&&_0x3cb15f[_0x3782a0(0x24d)]===this['_context'][_0x3782a0(0x24d)]?this['_layoutInteraction']??=this[_0x3782a0(0x30d)][_0x3782a0(0x335)]():this[_0x3782a0(0x253)]();let {scene:_0x183c38}=this[_0x3782a0(0x3c6)];if(this[_0x3782a0(0x2a2)]){let _0x44e7bb=_0x183c38[_0x3782a0(0x40b)](this[_0x3782a0(0x2a2)]);_0x44e7bb&&_0x44e7bb[_0x3782a0(0x2e2)](!0x1);}if(_0x3cb15f){let _0x5377dd=!!_0x3cb15f['visible'],_0x421ddc=_0x183c38['getObjectIncludeInGroup'](_0x3cb15f['shapeKey']);_0x421ddc&&(_0x421ddc[_0x3782a0(0x2e2)](_0x5377dd),this[_0x3782a0(0x2a2)]=_0x3cb15f[_0x3782a0(0x20c)]),this[_0x3782a0(0x1e2)][_0x3782a0(0x244)](_0x47c402[_0x3782a0(0x415)],_0x5377dd);}else this[_0x3782a0(0x2a2)]=null,this[_0x3782a0(0x1e2)][_0x3782a0(0x244)](_0x47c402[_0x3782a0(0x415)],!0x1);}));}[_0x7db477(0x253)](){const _0x15d4a8=_0x7db477;var _0x2aa13e;(_0x2aa13e=this[_0x15d4a8(0x36a)])==null||_0x2aa13e[_0x15d4a8(0x18c)](),this[_0x15d4a8(0x36a)]=null;}};_0x5df16b=_0x1cbdb5([_0x15d88a(0x1,(0x0,_0x47c402[_0x7db477(0x261)])(_0x43257f)),_0x15d88a(0x2,_0x4152b2[_0x7db477(0x1a4)]),_0x15d88a(0x3,_0x47c402[_0x7db477(0x474)]),_0x15d88a(0x4,(0x0,_0x47c402[_0x7db477(0x261)])(_0x130604[_0x7db477(0x417)])),_0x15d88a(0x5,(0x0,_0x47c402['Inject'])(_0x284855[_0x7db477(0x2ac)]))],_0x5df16b);let _0x1642ea=class extends _0x56d51f['ShapeTextFloatMenuRenderControllerBase']{constructor(_0x271547,_0x2a621a,_0x1d73c0,_0x1000bf,_0x53f8d3,_0x3e512a,_0x38657a,_0x4926f7,_0x13ec89,_0x153509){super(_0x271547,_0x2a621a,_0x1d73c0,_0x1000bf,_0x53f8d3,_0x3e512a,_0x38657a,_0x4926f7,_0x13ec89,_0x153509,{'componentKey':_0x469608,'editorUnitId':_0x4e500d});}};_0x1642ea=_0x1cbdb5([_0x15d88a(0x1,(0x0,_0x47c402['Inject'])(_0x18b339[_0x7db477(0x225)])),_0x15d88a(0x2,(0x0,_0x47c402[_0x7db477(0x261)])(_0x130604[_0x7db477(0x47d)])),_0x15d88a(0x3,(0x0,_0x47c402[_0x7db477(0x261)])(_0x130604[_0x7db477(0x432)])),_0x15d88a(0x4,_0x47c402[_0x7db477(0x250)]),_0x15d88a(0x5,(0x0,_0x47c402[_0x7db477(0x261)])(_0x130604[_0x7db477(0x14d)])),_0x15d88a(0x6,(0x0,_0x47c402[_0x7db477(0x261)])(_0x56d51f[_0x7db477(0x45d)])),_0x15d88a(0x7,(0x0,_0x47c402[_0x7db477(0x261)])(_0x18b339[_0x7db477(0x123)])),_0x15d88a(0x8,(0x0,_0x47c402[_0x7db477(0x261)])(_0x130604['DocRenderController'])),_0x15d88a(0x9,(0x0,_0x47c402[_0x7db477(0x261)])(_0x43257f))],_0x1642ea);let _0xc0e7ef=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0xd2c99f,_0x5c7119,_0x4b2e46,_0x14d49c,_0x206c88,_0x139688,_0x710287,_0x411754,_0x33f121,_0x215c50,_0x3cee12,_0x36bfca){const _0x3bc39a=_0x7db477;super(),this[_0x3bc39a(0x130)]=_0xd2c99f,this[_0x3bc39a(0x3af)]=_0x5c7119,this['_menuManagerService']=_0x4b2e46,this[_0x3bc39a(0x25b)]=_0x14d49c,this['_localeService']=_0x206c88,this[_0x3bc39a(0x248)]=_0x139688,this[_0x3bc39a(0x369)]=_0x710287,this['_docCanvasPopManagerService']=_0x411754,this[_0x3bc39a(0x2f9)]=_0x33f121,this[_0x3bc39a(0x1e2)]=_0x215c50,this[_0x3bc39a(0x24f)]=_0x3cee12,this[_0x3bc39a(0x17b)]=_0x36bfca,_0x38c0c9(this,_0x3bc39a(0x289),null),_0x38c0c9(this,'_activeShapeInfo',null),_0x38c0c9(this,'_isOpenedShapeEditPanel',!0x1),_0x38c0c9(this,_0x3bc39a(0x35c),0x0),_0x38c0c9(this,_0x3bc39a(0x450),new Map()),_0x38c0c9(this,_0x3bc39a(0x125),new Map()),this[_0x3bc39a(0x232)](),this[_0x3bc39a(0x2b0)](this['_univerInstanceService'][_0x3bc39a(0x300)](_0x47c402['UniverInstanceType']['UNIVER_DOC'])[_0x3bc39a(0x146)](_0x21e360=>{const _0x2e11d5=_0x3bc39a;if(!_0x21e360){var _0x31ed01;(_0x31ed01=this[_0x2e11d5(0x289)])==null||_0x31ed01[_0x2e11d5(0x18c)]();}})),this[_0x3bc39a(0x2d6)](),this[_0x3bc39a(0x2b0)]((0x0,_0x56d51f['bindRenderTransformerLifecycle'])(this[_0x3bc39a(0x2f9)],_0x47c402[_0x3bc39a(0x1aa)][_0x3bc39a(0x486)],_0x363bb7=>this[_0x3bc39a(0x1d3)](_0x363bb7))),this['disposeWithMe'](this['_shapeTextEditingService']['editingParams$'][_0x3bc39a(0x146)](_0x3041ca=>{const _0x547555=_0x3bc39a;_0x3041ca&&this[_0x547555(0x154)](void 0x0,!0x0);})),this[_0x3bc39a(0x2b0)](this[_0x3bc39a(0x17b)]['permissionPointUpdate$']['subscribe'](()=>{const _0x2e80ae=_0x3bc39a;this[_0x2e80ae(0x369)][_0x2e80ae(0x3b6)]()['some'](_0x51492e=>_0x51492e[_0x2e80ae(0x3bc)]===_0x47c402[_0x2e80ae(0x472)][_0x2e80ae(0x427)]&&this[_0x2e80ae(0x130)][_0x2e80ae(0x145)](_0x51492e[_0x2e80ae(0x24d)])===_0x47c402[_0x2e80ae(0x1aa)]['UNIVER_DOC']&&!this[_0x2e80ae(0x1f2)](_0x51492e[_0x2e80ae(0x24d)],_0x51492e[_0x2e80ae(0x2ef)]))&&(this[_0x2e80ae(0x154)](void 0x0,!0x0),this[_0x2e80ae(0x298)]());}));}[_0x7db477(0x232)](){const _0x5d5896=_0x7db477;this[_0x5d5896(0x285)][_0x5d5896(0x241)](_0x317aa8);}[_0x7db477(0x136)](_0x564053,_0x156858,_0x3368f6,_0x38d239){const _0x2b475f=_0x7db477;return[{'label':_0x2b475f(0x2c0),'index':0x0,'commandId':_0x39980d['id'],'commandParams':{'unitId':_0x564053,'subUnitId':_0x156858,'drawingId':_0x3368f6},'disable':_0x38d239===_0x47c402['DrawingTypeEnum'][_0x2b475f(0x36e)]},{'label':_0x2b475f(0x27f),'index':0x1,'commandId':_0x13d142['RemoveDocDrawingCommand']['id'],'commandParams':{'unitId':_0x564053,'drawings':[{'unitId':_0x564053,'subUnitId':_0x156858,'drawingId':_0x3368f6}]},'disable':!0x1},{'label':_0x2b475f(0x2f3),'index':0x2,'commandId':_0x87b80e['id'],'commandParams':{'unitId':_0x564053,'subUnitId':_0x156858,'drawingId':_0x3368f6},'disable':!0x1}];}[_0x7db477(0x375)](_0x2babdc,_0x5bb671,_0x8d4d1d){const _0x5bac62=_0x7db477;let _0xfe37a8=this[_0x5bac62(0x25b)][_0x5bac62(0x15e)](_0x2babdc,_0x5bb671,_0x8d4d1d),_0x4ad968=this[_0x5bac62(0x25b)][_0x5bac62(0x237)](_0x2babdc,_0x5bb671,_0x8d4d1d);return _0xfe37a8!==void 0x0&&_0x4ad968!==void 0x0?{'shapeData':_0x4ad968,'shapeId':_0x8d4d1d,'shapeType':_0xfe37a8,'unitId':_0x2babdc,'subUnitId':_0x5bb671,'version':this[_0x5bac62(0x35c)],'disableShapeOption':!0x1}:null;}[_0x7db477(0x154)](_0x238dd4,_0x19d3d0=!0x1){const _0x31b58c=_0x7db477;if(_0x238dd4==null){[...this[_0x31b58c(0x450)][_0x31b58c(0x2d8)]()][_0x31b58c(0x2dd)](_0x22513b=>this[_0x31b58c(0x154)](_0x22513b,_0x19d3d0));return;}let _0x42d3e1=this['_disposePopupsByUnit']['get'](_0x238dd4);if(_0x42d3e1){for(let _0x5f3225=_0x42d3e1['length']-0x1;_0x5f3225>=0x0;--_0x5f3225){let _0x2bb3b4=_0x42d3e1[_0x5f3225];(_0x19d3d0||_0x2bb3b4[_0x31b58c(0x230)]())&&(_0x2bb3b4[_0x31b58c(0x18c)](),_0x42d3e1[_0x31b58c(0x45a)](_0x5f3225,0x1));}_0x42d3e1['length']===0x0&&(this[_0x31b58c(0x450)]['delete'](_0x238dd4),this[_0x31b58c(0x125)][_0x31b58c(0x348)](_0x238dd4));}}[_0x7db477(0x49b)](_0x4bd59a){const _0x3916e6=_0x7db477;let _0x4a67e5=this['_disposePopupsByUnit'][_0x3916e6(0x45e)](_0x4bd59a);if(_0x4a67e5)return _0x4a67e5;let _0xdfeff8=[];return this['_disposePopupsByUnit'][_0x3916e6(0x3fc)](_0x4bd59a,_0xdfeff8),_0xdfeff8;}[_0x7db477(0x1d3)](_0x28eaef){const _0x376ed8=_0x7db477;var _0x1dc558;let _0xbb4b4a=new _0x47c402['DisposableCollection'](),_0x1004eb=(_0x1dc558=this['_renderManagerService'][_0x376ed8(0x337)](_0x47c402[_0x376ed8(0x1aa)][_0x376ed8(0x486)])[_0x376ed8(0x363)](_0x52b4af=>_0x52b4af[_0x376ed8(0x11a)][_0x376ed8(0x339)]()===_0x28eaef))==null?void 0x0:_0x1dc558[_0x376ed8(0x24d)];return _0x1004eb?(_0xbb4b4a[_0x376ed8(0x3f2)](_0x28eaef['createControl$'][_0x376ed8(0x146)](()=>this['_handleCreateControl'](_0x28eaef,_0x1004eb))),_0xbb4b4a[_0x376ed8(0x3f2)](_0x28eaef[_0x376ed8(0x212)][_0x376ed8(0x146)](()=>{const _0x330c73=_0x376ed8;this[_0x330c73(0x154)](_0x1004eb),queueMicrotask(()=>{const _0x590aa3=_0x330c73;_0x28eaef[_0x590aa3(0x408)]()['size']>0x0||(this[_0x590aa3(0x1e2)][_0x590aa3(0x244)](_0x47c402[_0x590aa3(0x1eb)],!0x1),this[_0x590aa3(0x369)]['focusDrawing'](null));});})),_0xbb4b4a[_0x376ed8(0x3f2)](_0x28eaef[_0x376ed8(0x170)][_0x376ed8(0x146)](()=>{const _0x4db24c=_0x376ed8;this[_0x4db24c(0x154)](_0x1004eb,!0x0);})),_0xbb4b4a):_0xbb4b4a;}[_0x7db477(0x39f)](_0x200bf5,_0x2b9aca){const _0x199df0=_0x7db477;let _0x588b5b=_0x200bf5[_0x199df0(0x408)]();if(this[_0x199df0(0x4a0)]){this[_0x199df0(0x154)](_0x2b9aca,!0x0);return;}if(_0x588b5b[_0x199df0(0x142)]>0x1){this[_0x199df0(0x154)](_0x2b9aca);return;}let _0x46a5d5=_0x588b5b['values']()[_0x199df0(0x22e)]()['value'];if(!_0x46a5d5){this['_clearPopups'](_0x2b9aca);return;}let _0x580c65=this[_0x199df0(0x369)][_0x199df0(0x35d)](_0x46a5d5[_0x199df0(0x34c)]);if(!_0x580c65||_0x580c65[_0x199df0(0x3bc)]!==_0x47c402[_0x199df0(0x472)][_0x199df0(0x427)]){this[_0x199df0(0x154)](_0x2b9aca);return;}let {unitId:_0x5afaa9,subUnitId:_0x572910,drawingId:_0x151952,drawingType:_0x34a38e}=_0x580c65;if(!this[_0x199df0(0x1f2)](_0x5afaa9,_0x151952)){this[_0x199df0(0x154)](_0x2b9aca,!0x0);return;}let _0x46e28d=this[_0x199df0(0x375)](_0x5afaa9,_0x572910,_0x151952);if(!_0x46e28d){this[_0x199df0(0x154)](_0x2b9aca);return;}let _0x4a7ef4=this[_0x199df0(0x450)][_0x199df0(0x45e)](_0x2b9aca),_0x214555=_0x5afaa9+':'+_0x572910+':'+_0x151952;if(this['_popupTargetKeys'][_0x199df0(0x45e)](_0x2b9aca)===_0x214555&&_0x4a7ef4&&_0x4a7ef4[_0x199df0(0x2b4)]>0x0)return;this[_0x199df0(0x154)](_0x2b9aca);let _0x1f53b7=this[_0x199df0(0x2f9)]['getRenderUnitById'](_0x5afaa9),_0x4be348=((_0x1f53b7==null?void 0x0:_0x1f53b7[_0x199df0(0x426)])===!0x1?_0x1f53b7[_0x199df0(0x459)](_0x130604[_0x199df0(0x47d)]):this[_0x199df0(0x1f4)])[_0x199df0(0x3e0)](_0x46a5d5,this[_0x199df0(0x35a)](_0x46e28d,_0x34a38e),_0x5afaa9);this[_0x199df0(0x2b0)](_0x4be348),this['_getDisposePopups'](_0x2b9aca)[_0x199df0(0x327)](_0x4be348),this[_0x199df0(0x125)][_0x199df0(0x3fc)](_0x2b9aca,_0x214555),this[_0x199df0(0x369)][_0x199df0(0x3b6)]()[_0x199df0(0x30e)](_0x3aee6d=>_0x3aee6d['unitId']===_0x5afaa9&&_0x3aee6d[_0x199df0(0x28c)]===_0x572910&&_0x3aee6d[_0x199df0(0x2ef)]===_0x151952)||this['_drawingManagerService'][_0x199df0(0x2e7)]([{'unitId':_0x5afaa9,'subUnitId':_0x572910,'drawingId':_0x151952}]);}['_getShapePopup'](_0x34cd58,_0x21c662){const _0x4ef536=_0x7db477;return{'componentKey':_0x384936,'direction':_0x4ef536(0x3dc),'offset':[0x0,_0x56d51f[_0x4ef536(0x217)]],'extraProps':{'unitId':_0x34cd58['unitId'],'subUnitId':_0x34cd58[_0x4ef536(0x28c)],'drawingId':_0x34cd58['shapeId'],'drawingType':_0x21c662,'shapeType':_0x34cd58[_0x4ef536(0x49e)],'shapeData':_0x34cd58[_0x4ef536(0x441)]}};}[_0x7db477(0x1f2)](_0x2167ca,_0x4b8e06){const _0x89859d=_0x7db477;let _0x5b0f2e=this['_univerInstanceService']['getUnit'](_0x2167ca,_0x47c402[_0x89859d(0x1aa)]['UNIVER_DOC']);if(!_0x5b0f2e)return!0x1;let _0x3f626a=(0x0,_0x18b339[_0x89859d(0x1af)])(_0x5b0f2e,_0x4b8e06);return(0x0,_0x18b339[_0x89859d(0x3e1)])(this[_0x89859d(0x17b)],_0x2167ca,[...(0x0,_0x18b339[_0x89859d(0x15b)])(_0x5b0f2e,_0x3f626a,_0x89859d(0x31b),_0x4b8e06),(0x0,_0x18b339['getDocumentEntityPermissionObjectId'])(_0x3f626a,'drawing',_0x4b8e06)]);}[_0x7db477(0x2d6)](){const _0x32263b=_0x7db477;this[_0x32263b(0x2b0)](this[_0x32263b(0x248)][_0x32263b(0x187)](_0x266706=>{const _0x3fb181=_0x32263b;if(_0x266706['id']===_0x39980d['id']){let {unitId:_0x1ddf5d,subUnitId:_0x163bb5,drawingId:_0x4cd34f}=_0x266706[_0x3fb181(0x20d)];this[_0x3fb181(0x35c)]+=0x1,this[_0x3fb181(0x303)]=this[_0x3fb181(0x375)](_0x1ddf5d,_0x163bb5,_0x4cd34f),this['_clearPopups'](void 0x0,!0x0),this[_0x3fb181(0x2c5)]();}if(_0x266706['id']===_0x87b80e['id']&&(this['_activeShapeInfo']=null,this[_0x3fb181(0x298)]()),_0x266706['id']===_0x284855['UpdateDocShapeDataMutation']['id']){let {unitId:_0x307e76,shapeId:_0xc9739e}=_0x266706['params'];if(this['_activeShapeInfo']&&this[_0x3fb181(0x303)][_0x3fb181(0x424)]===_0xc9739e){let _0x5c1e0a=this[_0x3fb181(0x375)](_0x307e76,this[_0x3fb181(0x303)]['subUnitId'],_0xc9739e);_0x5c1e0a&&(this['_shapeEditPanelVersion']+=0x1,_0x5c1e0a[_0x3fb181(0x39b)]=this[_0x3fb181(0x35c)],this['_activeShapeInfo']=_0x5c1e0a,this[_0x3fb181(0x4a0)]&&this['_openShapeEditPanel']());}}})),this['disposeWithMe'](this[_0x32263b(0x369)][_0x32263b(0x48c)][_0x32263b(0x146)](_0x2333b3=>{const _0x525605=_0x32263b;if(this[_0x525605(0x4a0)]===!0x1)return;if(_0x2333b3[_0x525605(0x2b4)]===0x0){this[_0x525605(0x303)]=null,this[_0x525605(0x298)]();return;}if(_0x2333b3[_0x525605(0x2b4)]===0x1&&_0x2333b3[0x0][_0x525605(0x3bc)]===_0x47c402[_0x525605(0x472)][_0x525605(0x427)]&&(this[_0x525605(0x35c)]+=0x1,this[_0x525605(0x303)]=this[_0x525605(0x375)](_0x2333b3[0x0][_0x525605(0x24d)],_0x2333b3[0x0][_0x525605(0x28c)],_0x2333b3[0x0][_0x525605(0x2ef)]),this[_0x525605(0x303)])){this[_0x525605(0x2c5)]();return;}let _0x59e97e=_0x2333b3[_0x525605(0x1ef)](_0x55f4f8=>_0x55f4f8['drawingType']===_0x47c402[_0x525605(0x472)][_0x525605(0x427)]);if(_0x2333b3[_0x525605(0x2b4)]>0x1&&_0x59e97e[_0x525605(0x2b4)]===_0x2333b3[_0x525605(0x2b4)]){if(this[_0x525605(0x35c)]+=0x1,this[_0x525605(0x303)]=this['_getShapeInfo'](_0x2333b3[0x0]['unitId'],_0x2333b3[0x0][_0x525605(0x28c)],_0x2333b3[0x0][_0x525605(0x2ef)]),this[_0x525605(0x303)]){this[_0x525605(0x2c5)]();return;}}else{if(this[_0x525605(0x35c)]+=0x1,this[_0x525605(0x303)]=this[_0x525605(0x375)](_0x2333b3[0x0]['unitId'],_0x2333b3[0x0][_0x525605(0x28c)],_0x2333b3[0x0]['drawingId']),this[_0x525605(0x303)]){this[_0x525605(0x303)][_0x525605(0x305)]=!0x0,this[_0x525605(0x2c5)]();return;}}this[_0x525605(0x298)]();}));}[_0x7db477(0x2c5)](){const _0x62cad=_0x7db477;this[_0x62cad(0x303)]&&(this[_0x62cad(0x289)]=this['_sidebarService'][_0x62cad(0x1c9)]({'id':_0x52a209,'header':{'title':this['_localeService']['t'](_0x62cad(0x42f))},'width':0x184,'children':{'label':_0x52a209,...this[_0x62cad(0x303)]},'onClose':()=>{const _0x194ba3=_0x62cad;this[_0x194ba3(0x369)]['focusDrawing'](null),this[_0x194ba3(0x1e2)][_0x194ba3(0x244)](_0x47c402[_0x194ba3(0x1eb)],!0x1),this[_0x194ba3(0x289)]=null;}}),this[_0x62cad(0x4a0)]=!0x0);}['_closeShapeEditPanel'](){const _0x3252de=_0x7db477;this['_isOpenedShapeEditPanel']=!0x1,this[_0x3252de(0x3af)][_0x3252de(0x172)](_0x52a209),this[_0x3252de(0x289)]=null,this[_0x3252de(0x1e2)][_0x3252de(0x244)](_0x47c402[_0x3252de(0x1eb)],!0x1),this[_0x3252de(0x369)][_0x3252de(0x2e7)](null);}};_0xc0e7ef=_0x1cbdb5([_0x15d88a(0x0,_0x47c402['IUniverInstanceService']),_0x15d88a(0x1,(0x0,_0x47c402[_0x7db477(0x261)])(_0x86086d[_0x7db477(0x393)])),_0x15d88a(0x2,_0x86086d[_0x7db477(0x1db)]),_0x15d88a(0x3,(0x0,_0x47c402[_0x7db477(0x261)])(_0x284855[_0x7db477(0x2ac)])),_0x15d88a(0x4,(0x0,_0x47c402[_0x7db477(0x261)])(_0x47c402[_0x7db477(0x2ba)])),_0x15d88a(0x5,_0x47c402['ICommandService']),_0x15d88a(0x6,_0x4152b2[_0x7db477(0x1a4)]),_0x15d88a(0x7,(0x0,_0x47c402[_0x7db477(0x261)])(_0x130604['DocCanvasPopManagerService'])),_0x15d88a(0x8,_0x54839f['IRenderManagerService']),_0x15d88a(0x9,_0x47c402[_0x7db477(0x474)]),_0x15d88a(0xa,(0x0,_0x47c402[_0x7db477(0x261)])(_0x43257f)),_0x15d88a(0xb,_0x47c402[_0x7db477(0x213)])],_0xc0e7ef);let _0x458493=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0x18aafd,_0x3495ef){const _0x5e0d67=_0x7db477;super(),this[_0x5e0d67(0x25b)]=_0x18aafd,this[_0x5e0d67(0x29a)]=_0x3495ef,this['disposeWithMe']((0x0,_0x47c402[_0x5e0d67(0x2e3)])((0x0,_0x54839f[_0x5e0d67(0x222)])((_0x32b5cd,_0x162fef,_0x1d0167)=>this[_0x5e0d67(0x1f6)](_0x32b5cd,_0x162fef,_0x1d0167))));}[_0x7db477(0x1f6)](_0x2191ae,_0x26df1a,_0x5b5f29){const _0x2a856d=_0x7db477;let _0x1373f8=this[_0x2a856d(0x25b)]['getShapeModel'](_0x2191ae,_0x26df1a);if(!_0x1373f8)return null;let _0x5d02c9=_0x1373f8[_0x2a856d(0x38a)](),_0x8942f=(0x0,_0x3becc2[_0x2a856d(0x29e)])(_0x5d02c9),_0x254423=_0x5d02c9[_0x2a856d(0x296)];if(!_0x254423||_0x8942f[_0x2a856d(0x37a)]!==_0x3becc2[_0x2a856d(0x1c0)]['SpAutoFit'])return null;let _0x4e468a=_0x5b5f29[_0x2a856d(0x196)],_0x27a517=_0x5b5f29[_0x2a856d(0x210)];_0x1373f8[_0x2a856d(0x1d4)]({'width':_0x4e468a,'height':_0x27a517});let _0x526658=_0x1373f8[_0x2a856d(0x258)]({'left':0x0,'top':0x0,'width':_0x4e468a,'height':_0x27a517}),_0x4e2005=(0x0,_0x56d51f[_0x2a856d(0x2ff)])(_0x2a856d(0x2f4)in _0x254423?_0x254423['dataModel']:void 0x0),_0x5e4010=(_0x4e2005==null?void 0x0:_0x4e2005[_0x2a856d(0x1b6)])??('isRichText'in _0x254423?(0x0,_0x56d51f[_0x2a856d(0x16f)])(_0x254423,_0x26df1a+_0x2a856d(0x160)):null);if(!_0x5e4010)return null;let _0x54ef93=(0x0,_0x56d51f[_0x2a856d(0x3c7)])({'documentData':_0x5e4010,'height':_0x27a517,'shapeData':_0x5d02c9,'textRect':_0x526658,'width':_0x4e468a,'widthBuffer':0x0});_0x54ef93&&({width:_0x4e468a,height:_0x27a517}=_0x54ef93,_0x1373f8['updateContext']({'width':_0x4e468a,'height':_0x27a517}),_0x526658=_0x1373f8['getShapeTextRect']({'left':0x0,'top':0x0,'width':_0x4e468a,'height':_0x27a517}));let _0x5a5079=_0x254423['isHorizontal']!==!0x1,_0x22232a=(0x0,_0x56d51f['prepareShapeTextDocumentData'])(_0x5e4010,{'isHorizontal':_0x5a5079,'textRect':_0x526658,'verticalAlign':_0x4e2005==null?void 0x0:_0x4e2005['va'],'horizontalAlign':_0x4e2005==null?void 0x0:_0x4e2005['ha'],'wrapStrategy':(0x0,_0x56d51f[_0x2a856d(0x451)])(_0x5d02c9)}),_0x3c9757=new _0x47c402['DocumentDataModel'](_0x22232a),_0x1e58c9=new _0x54839f[(_0x2a856d(0x3de))](_0x3c9757),_0x32840a=_0x54839f[_0x2a856d(0x1fc)][_0x2a856d(0x46d)](_0x1e58c9,this['_localeService']);try{var _0x53e9fc,_0x15712b;_0x32840a[_0x2a856d(0x272)]();let _0x5e9a38=((_0x53e9fc=_0x32840a[_0x2a856d(0x410)]())==null?void 0x0:_0x53e9fc['pages'])??[],_0x455f8e=_0x5e9a38[_0x5e9a38[_0x2a856d(0x2b4)]-0x1],_0x3c7857=_0x455f8e?Math['max'](0x0,((_0x15712b=(0x0,_0x54839f[_0x2a856d(0x2b5)])(_0x455f8e))==null?void 0x0:_0x15712b[_0x2a856d(0x44f)])??0x0):0x0,_0x4fe5ba=_0x32840a[_0x2a856d(0x1ba)]()['actualHeight']+_0x3c7857-(_0x5a5079?_0x526658[_0x2a856d(0x1e3)]:_0x526658[_0x2a856d(0x19f)]);return Number[_0x2a856d(0x401)](_0x4fe5ba)?_0x5a5079?{'width':_0x4e468a,'height':Math['max'](0x1,_0x27a517+_0x4fe5ba)}:{'width':Math[_0x2a856d(0x326)](0x1,_0x4e468a+_0x4fe5ba),'height':_0x27a517}:null;}finally{_0x32840a['dispose'](),_0x1e58c9[_0x2a856d(0x18c)](),_0x3c9757['dispose']();}}};_0x458493=_0x1cbdb5([_0x15d88a(0x0,(0x0,_0x47c402[_0x7db477(0x261)])(_0x284855[_0x7db477(0x2ac)])),_0x15d88a(0x1,(0x0,_0x47c402['Inject'])(_0x47c402['LocaleService']))],_0x458493);let _0x550cac=class extends _0x47c402[_0x7db477(0x26d)]{constructor(_0xdcb5ca=_0x1bd49e,_0x3e3654,_0x2f67cb,_0x25f7c0,_0x415e29){const _0x1867fd=_0x7db477;super(),this[_0x1867fd(0x33d)]=_0xdcb5ca,this['_injector']=_0x3e3654,this[_0x1867fd(0x248)]=_0x2f67cb,this[_0x1867fd(0x127)]=_0x25f7c0,this[_0x1867fd(0x2f9)]=_0x415e29;let {menu:_0x4870b8,..._0x4f3661}=(0x0,_0x47c402['merge'])({},_0x1bd49e,this[_0x1867fd(0x33d)]);_0x4870b8&&this[_0x1867fd(0x127)]['setConfig'](_0x1867fd(0x16a),_0x4870b8,{'merge':!0x0}),this['_configService'][_0x1867fd(0x147)](_0x3c8ab9,_0x4f3661),this[_0x1867fd(0x12e)]();}['onStarting'](){const _0x2ab351=_0x7db477;(0x0,_0x47c402['registerDependencies'])(this[_0x2ab351(0x3a5)],this['_getDependencies']()),this[_0x2ab351(0x3a5)]['get'](_0x5ba519),this['_initUIPart']();}[_0x7db477(0x2ec)](){return[[_0x5ba519],[_0xc0e7ef],[_0x368f6a],[_0x5b7161],[_0x2cac68],[_0x3e66ac],[_0x1471d7],[_0xab8686],[_0x458493],[_0x43257f],[_0x31410c]];}['onReady'](){const _0x1339a9=_0x7db477;this[_0x1339a9(0x25f)]()[_0x1339a9(0x2dd)](_0x4fa06c=>{const _0x3c31a5=_0x1339a9;this[_0x3c31a5(0x2b0)](this['_renderManagerService']['registerRenderModule'](_0x47c402['UniverInstanceType']['UNIVER_DOC'],_0x4fa06c));}),(0x0,_0x47c402[_0x1339a9(0x30c)])(this[_0x1339a9(0x3a5)],[[_0xc0e7ef],[_0x368f6a],[_0x5b7161],[_0x2cac68],[_0x1471d7],[_0xab8686],[_0x458493],[_0x43257f],[_0x31410c]]);}[_0x7db477(0x25f)](){return[[_0x3e66ac],[_0x5df16b],[_0xac86fa]];}['onRendered'](){const _0x397257=_0x7db477;this[_0x397257(0x2b0)](this[_0x397257(0x2f9)][_0x397257(0x19b)](_0x47c402[_0x397257(0x1aa)][_0x397257(0x486)],[_0x1642ea]));}[_0x7db477(0x12e)](){const _0x1c3e90=_0x7db477;[_0x4654b3,_0x87b80e,_0x39980d,_0x3c123e,_0x5bf868,_0x58df16][_0x1c3e90(0x2dd)](_0x2e824e=>this[_0x1c3e90(0x2b0)](this[_0x1c3e90(0x248)][_0x1c3e90(0x156)](_0x2e824e)));}[_0x7db477(0x2e6)](){const _0x29970c=_0x7db477;let _0x54d74b=this[_0x29970c(0x3a5)],_0x33000e=_0x54d74b[_0x29970c(0x45e)](_0x86086d[_0x29970c(0x1a7)]);this[_0x29970c(0x2b0)](_0x33000e['registerComponent'](_0x86086d['BuiltInUIPart']['CONTENT'],()=>(0x0,_0x86086d[_0x29970c(0x288)])(_0x1e8cf0,_0x54d74b)));}};_0x38c0c9(_0x550cac,_0x7db477(0x139),_0x47c402[_0x7db477(0x1aa)]['UNIVER_DOC']),_0x38c0c9(_0x550cac,_0x7db477(0x40c),_0x7db477(0x2e9)),_0x38c0c9(_0x550cac,_0x7db477(0x219),_0x45c6c8),_0x38c0c9(_0x550cac,_0x7db477(0x39b),_0x279654),_0x550cac=_0x1cbdb5([(0x0,_0x47c402[_0x7db477(0x3ba)])(_0x2a35ca[_0x7db477(0x443)],_0x18b339['UniverDocsPlugin'],_0x4152b2[_0x7db477(0x1b8)],_0x459a9e[_0x7db477(0x254)],_0x54839f['UniverRenderEnginePlugin'],_0x130604[_0x7db477(0x293)],_0x48b72a['UniverShapeEditorPlugin'],_0x1d2176[_0x7db477(0x2f0)],_0x284855['UniverDocsShapePlugin'],_0x56d51f[_0x7db477(0x12c)]),_0x15d88a(0x1,(0x0,_0x47c402[_0x7db477(0x261)])(_0x47c402['Injector'])),_0x15d88a(0x2,_0x47c402[_0x7db477(0x250)]),_0x15d88a(0x3,_0x47c402[_0x7db477(0x3a6)]),_0x15d88a(0x4,_0x54839f[_0x7db477(0x173)])],_0x550cac),_0x47b7a8[_0x7db477(0x46f)]=_0x317aa8,Object['defineProperty'](_0x47b7a8,_0x7db477(0x2f1),{'enumerable':!0x0,'get':function(){return _0x35c733;}}),Object[_0x7db477(0x1c8)](_0x47b7a8,_0x7db477(0x121),{'enumerable':!0x0,'get':function(){return _0x550cac;}});}));
1
+ function _0x4042(){const _0x15b2f9=['setPrstGeom','canvas','OFFSET','backward','applyQuickStyleToShapeData','setFillImage','docs-shape-ui.ribbon.shape-format.arrange-forward','FromArray','activeTarget','filter','symbol','UniverDrawingPlugin','transform','useId','_applyFormulaAutoFitSize','resolveShapeTextEditorBehaviorShapeData','skeFooters','pageWidth','ShapeTextFloatMenuRenderControllerBase','UniverDocsDrawingMobileUIPlugin','SolidLine','packageName','_formulaShapes','adjName','getMenuHiddenObservable','_univerInstanceService','move-down-icon','docs-shape-ui.textWrap.topAndBottom','_disposePopupsByUnit','UpdateDocDrawingWrappingStyleCommand','_addShapeAdjustControl','getInterceptPoints','focus$','6782212WWgcPb','toStringTag','doc.image-clip.shape-picker.component','getSkeletonData','top','Observable','updateDocumentStyle','clip','UpdateDrawingDocTransformCommand','setPresentation','canDispose','_updateShape','_popupTargetKeys','createElement','registerRenderModule','setShapeProps','UNIVER_DOC','_renderWithCache','resolveActiveShapeQuickStylePresetId','resolveShapeTextDocumentRenderLayout','_configService','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','disconnect','getShapeTextRect','_loadAndSetImage','MobileShapePickerPanel','_handleCreateControl','rxjs','Documents','drawing','call','_measure','M2\x203.5h16M2\x2016.5h16M2\x2010h5M13\x2010h5','M2\x203h16M2\x2017h16','IMenuManagerService','drawing-ui.objectListPanel.name','calculate','cloneShapeDataForType','UniverDocs','plainShapeTextToDocumentData','MobileShapeEditorService','transformByState','BEHIND_TEXT','icon','defIds','PictureFill','setConfig','_contextService','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','getRealBound','viewBox','_initUIPart','_context','pipe','isolated','addObject','moveRange','_setTransForm','MoveDownIcon','FOCUSING_SHAPE_TEXT_EDITOR','parent','onDblclick$','_lastEditingShapeKey','_shapeRenderController','UniverDocsShapePlugin','getCurrentTypeOfUnit$','PositionedObjectLayoutType','ComponentManager','ShapeIcon','disableObjectsEvent','IN_FRONT_OF_TEXT','beginPath','vectorEffect','docs-shape-ui.crop.shape','_drawSimpleText','renderDrawingShape','DEFAULT_DOC_SHAPE_WIDTH','useLayoutEffect','onSavingEditorData$','-layout','_isShouldShowDrawingShapeAdjust','drawing-ui.objectListPanel.moveBackward','_instanceService','drawing-ui.objectListPanel.search','_clearCompletionFrame','_shapeFormulaService','docs-shape-ui.mobile.style','docs-shape-format-font-family-menu','_drawRichTextLayer','updateShapeFillImage','_completionFrame','shapeKey','stroke','FloatingObjectToolbarPosition','Medium','syncExecuteCommand','min','M2\x203h16M2\x207.5h16M2\x2010h16M2\x2012.5h16M2\x2017h16','children','UniverDocsShapeUIPlugin','shape-format-setting-icon','drawing-ui.objectListPanel.showAll','_componentManager','MenuItemType','mask','_getActiveDrawingParam','WRAP_NONE','5.5','MobileObjectListPanel','adjHandleFill','endArrow','DOCS_SHAPE_UI_PLUGIN','docs-shape-ui.shape-format.wrapping-style-label','DEFAULT_DOC_SHAPE_HEIGHT','ObjectPermissionButton','getDocumentEntityParentPermissionObjectIds','inline','DocSelectionRenderService','RENDER_CLASS_TYPE','IRenderManagerService','isEditing','attachTransformerTo','entries','height','17552952UVlvRT','_registerOperations','_docLayoutInteractionService','_editingParams$','UniverEngineRender','ShapeRenderModeEnum','UniverDocsDrawingUIPlugin','_transform','resolveShapeTextEditorWrapStrategy','UniverProtocol','UniverDocsDrawing','DocumentEntity','attachPopupToObject','useDependency','doc.shape.text.float-menu','useEffect','onPointerUp$','ShapeTextEditorContainer','toPrimitive','docs-shape-ui.openPanel','UniverDesign','bindRenderTransformerLifecycle','shapeId','MoveUpIcon','ShapeTypeEnum','docs-shape-ui.shape-format.quick-style-gallery','render','Vector2','BUTTON','_toVisualAdjustPoint','shape-text-','push','VerticalAlign','UniverShapeEditorPlugin','visible','drawing-ui.objectListPanel.dragToReorder','includes','createInternalEditorID','UniverDocsPlugin','drawingType','displayName','createShapeFormulaDocument','subscribe','DocsShapeUIMenuSchema','parseFloat','viewBound','@univerjs/docs-drawing','Line','clearAdjustValue','xlink:href','contentVerticalOffset','drawing-ui.objectListPanel.details','completeEditing','observe','applyPoint','getDrawingEffectBounds','getShapeTextData','getObjectListPanelSectionIdForDrawingType','_isOpenedShapeEditPanel','_docsShapeService','composeMatrix','target','getDrawingByParam','subscribeEvent','pluginName','_docCanvasPopManagerService','0.8','MenuManagerPosition','ArrangeTypeEnum','ShapeFloatingToolbarToggleFactory','DocSelectionManagerService','getDrawingData','none','TopmostIcon','_sidebarDisposable','url(#$1','_registerPickers','getSelectedObjectMap','map','shape-editor-ui.toolbar.changeShape','HorizontalAlign','_createShapeAdjustControls','sectionFloating','ShapeTextRibbonControl','IPermissionService','DependentOn','docs-shape-ui.shape-format.formula-ribbon-control','src','UniverProEngineShape','originalStrokeWidth','cos','forEach','M4.2\x208.3H6.8','BehaviorSubject','skeDrawings','getEditing','DRAWING_SHAPE','_mobileEditorService','object','flipY','ShapeQuickStyleGallery','DocDrawingPosition','Module','UpdateDocShapeDataCommand','INLINE','text','featurePluginUpdateNotification','DOCS_COMPONENT_MAIN_LAYER_INDEX','clipHeight','getShapeDataById','FOCUSING_COMMON_DRAWINGS','next','getDrawingSearch','1em','MoreDownIcon','getShapeType','createShapeTextBoxShapeData','1.2','_updateAdjustControlPositions','getShapeQuickStylePreset','None','values','_canEditShape','getPageDrawingIds','IContextService','span','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','ancestorTransform','docs-shape-ui.hidePanel','docs-shape-ui.textWrap.square','canvasElement','IConfigService','UniverProDocsShape','BottomIcon','open','strokeWidth','_props','params','engine','object-layers-icon','drawingId','max','_subUnitId','UniverDocsMobileUIPlugin','UUID','doc.shape.floating-toolbar','_onSavingEditorData$','docs-shape-ui.objectListPanel.open','getTransformerByCreate','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','setCollapsedIds','UNIVER_SHEET','splice','querySelectorAll','M2\x203h16M2\x207.5h3M15\x207.5h3M2\x2010h3M15\x2010h3M2\x2012.5h3M15\x2012.5h3M2\x2017h16','docs-shape-ui.textWrap.inline','onReady','univer-grid\x20univer-gap-3','0\x200\x2020\x2020','text-wrap-shape-icon','@univerjs/docs-ui','getDrawingPoints','find','fallbackHeight','getOwnPropertyDescriptor','_registerComponents','M11.3536\x206.14645C11.5488\x206.34171\x2011.5488\x206.65829\x2011.3536\x206.85355L8.35355\x209.85355C8.15829\x2010.0488\x207.84171\x2010.0488\x207.64645\x209.85355L4.64645\x206.85355C4.45118\x206.65829\x204.45118\x206.34171\x204.64645\x206.14645C4.84171\x205.95118\x205.15829\x205.95118\x205.35355\x206.14645L8\x208.79289L10.6464\x206.14645C10.8417\x205.95118\x2011.1583\x205.95118\x2011.3536\x206.14645Z','http://www.w3.org/2000/svg','_getShapeAdjustInfosById','animateFormulaPresentation','9149EQBFIB','unsubscribe','shapeType','hideContextualTab','multiply','ShapeArrowTypeEnum','docs-shape-ui.formatShape','showContextualTab','vertical-center','jsx','docs-shape-ui.ribbon.shape-format.formula-control','_initEditingParams','@univerjs-pro/docs-shape','appliedStrokeWidth','defs','round','_popupMenuListener','shape-editor-ui.arrange.front','_docDrawingShapeRenderController','UniverIcon','_initCommands','getAdjustValueByName','Disposable','DocsShapeWrapBehindTextIcon','drawing-ui.objectListPanel.unlock','setCanUseShapeClip','ShapeTextHyperLinkPopupService','getDrawingOrder','_endLayoutInteraction','length','registerCommand','3254508UOkTgb','UniverProLicense','priority','M7.55\x205.45C6.50066\x205.45\x205.65\x206.30066\x205.65\x207.35V12.65C5.65\x2013.6993\x206.50066\x2014.55\x207.55\x2014.55H12.45C13.4993\x2014.55\x2014.35\x2013.6993\x2014.35\x2012.65V7.35C14.35\x206.30066\x2013.4993\x205.45\x2012.45\x205.45H7.55ZM7.8\x206.75C7.24772\x206.75\x206.8\x207.19772\x206.8\x207.75V12.25C6.8\x2012.8023\x207.24772\x2013.25\x207.8\x2013.25H12.2C12.7523\x2013.25\x2013.2\x2012.8023\x2013.2\x2012.25V7.75C13.2\x207.19772\x2012.7523\x206.75\x2012.2\x206.75H7.8Z','TextWrappingStyle','_initEvents','getUnitType','_drawRichText','getShapeTypeById','description','paragraphMenuPlacement','_commandService','restore','stopPropagation','docs-shape-ui.quickStyles','MobileShapeEditorControls','name','clearAdjustControls','removeProperty','UniverDocsUi','Transform','DocumentViewModel','resize','docs-shape-ui.textWrap.behindText','div','_registerIcons','touchDependencies','univer-box-border\x20univer-px-4\x20univer-text-sm','_insertShapes','setFormulaPresentation','path','_baseShapeHeight','isHit','drawing-ui.objectListPanel.lock','Large','2514CjCFyX','more-up-icon','isFinite','extraProps','ShapePickerDropdown','skeTables','UniverRenderEnginePlugin','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','style','hasAttribute','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','setProperty','add','clearActiveDrawingObjects','version','endOffset','square','vertical','shapeModel','UpdateDocDrawingMetadataCommand','skeHeaders','isInGroup','docs-shape-ui.ribbon.shape-format.arrange-backward','getDrawingTypeNameKey','width','below','resolveShapeContextualRibbonHostMode','TextWrapShapeIcon','reverse','clipTop','UniverDocsDrawingUi','changing$','disposeWithMe','UniverUi','merge','ImageSourceTypeEnum','_ribbonService','ShapeFloatingToolbar','layoutType','title','menuRange','MobileDocDrawingPosition','SELECTOR','spaceBelowApply','@univerjs/drawing','close','Rect','DocEventManagerService','doc.shape.object-list.panel','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','value','back','0\x200\x2017\x2016','insertGroupObject','getSelfOrHeaderFooterModel','getActualSize','calcAdjValues','_activeShapeInfo','scale','SpAutoFit','react/jsx-runtime','LAYOUT','Inject','UniverDrawing','docs-shape-ui.deleteShape','isLineShape','startOffset','Fragment','_adjustPointObjects','shape-editor-ui.toolbar.quickStyles','DocumentSkeleton','UniverDocsShapeMobileUIPlugin','svg','UniverProShapeEditor','DOC_PARAGRAPH_T_INSERT_MENU_ID','shapeData','extensionGroups','UpdateDocShapeDataMutation','left','actualHeight','docs-shape-ui.ribbon.shape-format','paragraphs','fillImageSourceType','_releaseRenderCache','jsxs','behind','prototype','getImageSourceCache','_getFocusedShapeAtPoint','asObservable','@univerjs-pro/shape-editor-ui','TOP','true','Image','decorate','GROUP','docs-shape-ui.shape-format.text-ribbon-control','resolveShapeTextBodyBehavior','COMMAND','string','currentColor','localeService','_shapeTextEditingService','getDrawingShapeKeyByDrawingSearch','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','INSERT_BELLOW_MENU_ID','strokeOpacity','IURLImageService','DocumentDataModel','label','shape-editor-ui.arrange.backward','0.14','setContextValue','docs-shape-ui.config','drawWith','popup','_transformCalculateSrcRect','clipByShape','_baseShapeTop','remove$','2FJZgTc','getParent','useState','_openShapeEditPanel','invert','_registerDrawingTransformHandler','current','_docPrintInterceptorService','drawings','ShapeTextFloatToolbar','getShapeData','setFallbackVisible','_renderManagerService','_isStartAdjusting','_formulaAnimation','7255685jUjwTp','_injector','getImage','panel','horizontal','doc.operation.apply-shape-quick-style','@univerjs/core','fillType','refreshFormulaPresentation','debounceRefreshControls','autoFitType','_initPrinting','update$','_getRenderModules','updateContext','getObjectIncludeInGroup','dispose','move-up-icon','getAutoFitPresentations','disableShapeOption','warn','_closeShapeEditPanel','_registerDrawingFocusChangeHandler','getCanvasElement','ShapeTextAutoFitType','isRenderLinePointsMode','getParagraphContentStartOffset','_permissionService','shapeText','DRAWING_DOM','colorChannel1','getShapeModel','setEditing','_menuManagerService','docs-shape-text-','_getSceneByUnitId','IUniverInstanceService','unitId','editingParams$','create','buildShapeTextDataUpdate','_adjHandlerPointerUp','connectInjector','IconManager','_config','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','forwardRef','subUnitId','distinctUntilChanged','ShapeStyleRibbonControl','UniverCore','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','_unitId','fillImageSource','reduce','IDocDrawingService','drawing-ui.objectListPanel.descriptionPlaceholder','getBoundingClientRect','doc.operation.close-doc-shape-format-panel','_getActiveDrawingShape','isReleased','translate','rows','generateRandomId','_adjHandlerPointerMove','assign','docs-shape-contextual-ribbon','translateWithPrecision','keys','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','OPERATION','clone','registerClipDelegate','ContextMenuGroup','canEditDocumentTargets','onCommandExecuted','currentAdjustValues','@univerjs-pro/shape-editor','refreshAdjustControls','onStarting','isHitLine','getActiveViewportByCoord','error','fill','_initialize','cells','getBody','_hide','_clearPopups','setSrcRect','srcRect','_sidebarService','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','_activeShapeAdjustPointList','DrawingTypeEnum','VIEW_MAIN','front','createControl$','TRUE','drawing-ui.objectListPanel.description','behindText','drawing-ui.objectListPanel.sectionFloating','_initMenu','_activeShapeId','getAdjustInfoByName','doc.operation.update-shape-type','startArrow','transformForAngle','useFormulaShapeToolbar','getPropertyValue','replace','bottom','mergeMenu','rect','@univerjs-pro/license','getMatrix','docs-shape-ui.insertShape','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_getDisposePopups','useObservable','isRichText','removeAttribute','getUnitId','toFixed','amd','useMemo','DRAWING_OBJECT_LAYER_INDEX','offsetX','_shapeEditPanelVersion','formulaBinding','clearControl$','getShapePopupMenus','UniverInstanceType','adjHandleSize','isRender','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','exports','ShapeDefaultConfig','drawing-ui.objectListPanel.lockHint','tag','DocsShapeWrapTopBottomIcon','_clipService','getUnit','getPropertyPriority','univerjs-icon\x20univerjs-icon-','isHorizontal','marginTop','_toScenePoint','set','headerId','_activeAdjustInfo','Plugin','selectable','memo','getFocusedUnit','getTextModel','1.0.2','setCursor','@univerjs/ui','trim','OBJECT_LIST_FLOATING_SECTION_ID','@univerjs-pro/engine-shape','_shapeId','_layoutInteraction','get','useImperativeHandle','evenodd','paragraph','_updateShapeAdjustControls','CommandType','IDrawingManagerService','_shapeFloatingToolbarService','DocDrawingTextWrap','executeCommand','_draw','drawing-ui.objectListPanel.nameInput','Shape','forward','getActiveTextRange','URL','useReducer','iterator','_canEdit','_registerFloatingToolbar','formulaPresentation','register','DocsShapeWrapInlineIcon','_clearShapeAdjustControls','contentHeight','pages','setOnSavingEditorData','getPresentation','_getShapeAdjustPointListById','top-center','RemoveDocDrawingCommand','IRibbonService','_adjName','ShapeFloatingToolbarService','toDisposable','SetDocDrawingArrangeCommand','normalizeShapeTextModel','focusDrawing','ShapeFormulaRibbonControl','drawing-ui.objectListPanel.lockAll','_imageIoService','#2563EB','WRAP_TOP_AND_BOTTOM','_getShapePopup','some','UniverProDocsShapeUi','type','stroke-width','InsertDocShapeCommand','oKey','FormatPainterSessionService','scene','VIEWPORT_KEY','LocaleService','ShapeFillEnum','topmost-icon','WRAP_SQUARE','SetDocumentPermissionCommand','drawing-ui.objectListPanel.hide','hadStyleAttribute','objects','doc.command.menu-insert-shape','SetDrawingSelectedOperation','setAdjustValueByName','_iconManager','ShapeModel','_refreshShapeData','Injector','_formulaKey','baseVal','_updateSrcRectByTransform','wrapStrategy','idSuffix','draw','PARAGRAPH','getViewports','localName','fallbackWidth','setShapeData','RibbonInsertGroup','size','getDrawingDataForUnit','_localeService','DrawingCommonPanel','doc','attrs','RichTextEditingMutation','unregister','offsetY','dataModel','_baseShapeLeft','prepareShapeTextDocumentData','resetCursor','OTHERS','getAllRenderersOfType','drawing-ui.objectListPanel.show','BooleanNumber','getDrawingOKey','_init','ObjectListPanelBase','LEFT','getContextValue','PRINTING_COMPONENT_COLLECT','_drawingManagerService','UniverLicensePlugin','DocCanvasPopManagerService','clear','univer-grid\x20univer-gap-5\x20univer-p-3','enableObjectsEvent','DocsShapeWrapInFrontOfTextIcon','flipX','_update','addImageSourceCache','registerComponent','order','React','DocInterceptorService','doc.operation.open-doc-shape-format-panel','delete','UniverProShapeEditorUi','_urlImageService','_initSelection','docs-shape-ui.mobile.text','13892952ATXXRF','UniverDrawingUIPlugin','getDocumentEntityPermissionObjectId','registerDependencies','visible$','SHAPE_TEXT','element','getRenderUnitById','DRAWING_IMAGE','resolveFormulaShapeAutoFitSize','DocsShapeService','onload','_visible','animationEnabled','isDrawingObject','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','UniverDrawingMobileUIPlugin','default','pick','ShapeArrowSizeEnum','with','docs-shape-ui.ribbon.shape-format.arrange-back','_getShapeInfo','menu','doc.operation.open-shape-object-list-panel','behindDoc','drawing-ui.objectListPanel.collapse','ShapeFormatSettingIcon','getCurrentUnitOfType','classType','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','sin','onRendered','interceptor','SolidFill','IImageIoService','function','drawing-ui.objectListPanel.sectionCanvas','_baseShapeWidth','getDrawingVisible','_registerImageShapeClipDelegate','_getDependencies','permissionPointUpdate$','0\x200\x2016\x2016','EMPTY_PARAGRAPH_MENU_ID','defineProperty','ObjectLayersIcon','ShapePickerPanel','shape-editor-ui.arrange.forward','.below','preValue','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','non-scaling-stroke','constructor','drawing-ui.objectListPanel.unlockAll','presentation','_activeShapeModel','DisposableCollection','isMainScene','PaintIcon','807731sQsODc','hidden','image','DocParagraphMenuService','@univerjs/engine-render','_loadShapePictureFill','IUIPartsService','makeDirty','intercept','Path','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','drawing-ui.objectListPanel.unlockHint','add$','getDocumentDrawingSegmentId','useRef','prstGeom','_registerObjectListPanel','isConnectorShape','drawing-ui.objectListPanel.filterLocked','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','has','save','ICommandService','drawing-ui.objectListPanel.title','getFocusDrawings','flatMap'];_0x4042=function(){return _0x15b2f9;};return _0x4042();}function _0x9d29(_0x1b180f,_0x167d39){_0x1b180f=_0x1b180f-0x8a;const _0x40424b=_0x4042();let _0x9d2960=_0x40424b[_0x1b180f];return _0x9d2960;}(function(_0x359432,_0x55ae70){const _0xc9fe37=_0x9d29,_0xdc4e29=_0x359432();while(!![]){try{const _0x2b7b10=-parseInt(_0xc9fe37(0x2c5))/0x1*(parseInt(_0xc9fe37(0x15b))/0x2)+-parseInt(_0xc9fe37(0xc0))/0x3+parseInt(_0xc9fe37(0x300))/0x4+parseInt(_0xc9fe37(0x16a))/0x5+parseInt(_0xc9fe37(0xe3))/0x6*(-parseInt(_0xc9fe37(0xa1))/0x7)+-parseInt(_0xc9fe37(0x289))/0x8+parseInt(_0xc9fe37(0x37c))/0x9;if(_0x2b7b10===_0x55ae70)break;else _0xdc4e29['push'](_0xdc4e29['shift']());}catch(_0xf8335a){_0xdc4e29['push'](_0xdc4e29['shift']());}}}(_0x4042,0xe0a87),function(_0x32ce47,_0x3aaa20){const _0x4a52a2=_0x9d29;typeof exports==_0x4a52a2(0x3de)&&typeof module<'u'?_0x3aaa20(exports,require('@univerjs-pro/shape-editor-ui'),require('@univerjs/docs-ui'),require('@univerjs/ui'),require('@univerjs-pro/docs-shape'),require('@univerjs-pro/engine-shape'),require('@univerjs-pro/shape-editor'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/docs-drawing'),require('@univerjs/engine-render'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('react/jsx-runtime'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/docs-drawing-ui'),require('react'),require('@univerjs/design'),require('@univerjs/protocol')):typeof define==_0x4a52a2(0x2ad)&&define[_0x4a52a2(0x1e6)]?define([_0x4a52a2(0x1f2),_0x4a52a2(0x13d),_0x4a52a2(0x97),_0x4a52a2(0x208),_0x4a52a2(0xad),_0x4a52a2(0x20b),_0x4a52a2(0x1b7),_0x4a52a2(0x170),'@univerjs/docs',_0x4a52a2(0x3aa),_0x4a52a2(0x2c9),_0x4a52a2(0x10f),'@univerjs/drawing-ui',_0x4a52a2(0x11f),'rxjs',_0x4a52a2(0x1dc),'@univerjs/docs-drawing-ui','react','@univerjs/design','@univerjs/protocol'],_0x3aaa20):(_0x32ce47=typeof globalThis<'u'?globalThis:_0x32ce47||self,_0x3aaa20(_0x32ce47[_0x4a52a2(0x23b)]={},_0x32ce47[_0x4a52a2(0x285)],_0x32ce47[_0x4a52a2(0xd3)],_0x32ce47[_0x4a52a2(0x104)],_0x32ce47[_0x4a52a2(0x400)],_0x32ce47[_0x4a52a2(0x3d4)],_0x32ce47[_0x4a52a2(0x12c)],_0x32ce47[_0x4a52a2(0x19c)],_0x32ce47[_0x4a52a2(0x326)],_0x32ce47[_0x4a52a2(0x386)],_0x32ce47[_0x4a52a2(0x380)],_0x32ce47[_0x4a52a2(0x122)],_0x32ce47['UniverDrawingUi'],_0x32ce47['React'],_0x32ce47[_0x4a52a2(0x31b)],_0x32ce47[_0x4a52a2(0xc1)],_0x32ce47[_0x4a52a2(0x101)],_0x32ce47[_0x4a52a2(0x281)],_0x32ce47[_0x4a52a2(0x390)],_0x32ce47[_0x4a52a2(0x385)]));}(this,function(_0x3e8be1,_0x1bc9bf,_0x341d83,_0x446708,_0x1897fd,_0x349291,_0x535f5e,_0x5bc1cc,_0x42aa76,_0x1c356f,_0x24aff0,_0x3cf577,_0x390061,_0x4b014e,_0x587404,_0x1e2ae2,_0x24a9ae,_0x18e885,_0x48b50a,_0x49f26c){const _0x4ea115=_0x9d29;Object[_0x4ea115(0x2b6)](_0x3e8be1,Symbol[_0x4ea115(0x301)],{'value':_0x4ea115(0x3e2)});function _0x47ca61(_0x22b56c,_0x233b85){const _0x48b1f8=_0x4ea115;if(_0x233b85){if((0x0,_0x349291['isConnectorShape'])(_0x22b56c)&&(_0x233b85[_0x48b1f8(0x1d4)]||_0x233b85[_0x48b1f8(0x36e)]))return{'ln':{'startArrow':_0x233b85[_0x48b1f8(0x1d4)]?{'type':_0x349291[_0x48b1f8(0xa6)]['Arrow'],'size':_0x349291['ShapeArrowSizeEnum'][_0x48b1f8(0x35e)]}:void 0x0,'endArrow':_0x233b85[_0x48b1f8(0x36e)]?{'type':_0x349291[_0x48b1f8(0xa6)]['Arrow'],'size':_0x349291[_0x48b1f8(0x29c)][_0x48b1f8(0xe2)]}:void 0x0}};if(_0x22b56c===_0x349291[_0x48b1f8(0x394)][_0x48b1f8(0x111)]&&(_0x233b85['horizontal']||_0x233b85[_0x48b1f8(0xf4)]))return(0x0,_0x535f5e[_0x48b1f8(0x3f0)])({'fill':{'fillType':_0x349291['ShapeFillEnum'][_0x48b1f8(0x2ab)],'color':'#3B82F6'},'isHorizontal':!!_0x233b85[_0x48b1f8(0x16e)],'stroke':{'lineStrokeType':_0x349291['ShapeLineTypeEnum'][_0x48b1f8(0x2f3)],'width':0x1,'color':_0x48b1f8(0x237)}});}}function _0x52ebc2(_0x549bb1,_0x7e9c18){const _0x269198=_0x4ea115;var _0x134fb6;let _0x344a4d=_0x7e9c18['segmentId']??'',_0x289de7=(_0x134fb6=_0x549bb1[_0x269198(0x119)](_0x344a4d))==null?void 0x0:_0x134fb6[_0x269198(0x1c0)]();if(!_0x289de7)return null;let _0x391311=_0x289de7[_0x269198(0x134)]??[],_0x3ff500=_0x391311[_0x269198(0x99)](_0x4da359=>{const _0x4357eb=_0x269198;let _0x32127f=(0x0,_0x5bc1cc[_0x4357eb(0x184)])(_0x289de7,_0x4da359);return _0x7e9c18[_0x4357eb(0x125)]>=_0x32127f&&_0x7e9c18['startOffset']<=_0x4da359['startIndex'];})??_0x391311[_0x391311[_0x269198(0xbe)]-0x1];return _0x3ff500?{'paragraphId':_0x3ff500['paragraphId'],'segmentId':_0x344a4d,'position':_0x1897fd['DocShapeAnchorPosition'][_0x269198(0x2e1)],'offset':_0x7e9c18['startOffset']-(0x0,_0x5bc1cc['getParagraphContentStartOffset'])(_0x289de7,_0x3ff500)}:null;}function _0x1766c2(_0x1771fc,_0x3ab33c,_0x28a038){const _0x37c287=_0x4ea115;var _0x34bae0,_0x42a1f5;if(!_0x28a038)return null;let _0xec1612=(_0x34bae0=_0x1771fc[_0x37c287(0x20e)](_0x24aff0[_0x37c287(0x377)])[_0x37c287(0x290)](_0x3ab33c))==null?void 0x0:_0x34bae0[_0x37c287(0x29d)](_0x341d83[_0x37c287(0x2c8)])[_0x37c287(0x2e7)];if(!_0xec1612)return null;let _0x543e3f=_0x28a038===_0x37c287(0xfc)?{'startOffset':_0xec1612[_0x37c287(0x338)][_0x37c287(0xf2)],'endOffset':_0xec1612[_0x37c287(0x338)][_0x37c287(0xf2)]}:_0xec1612[_0x37c287(0x10b)];return{'startOffset':_0x543e3f[_0x37c287(0x125)],'endOffset':_0x543e3f[_0x37c287(0xf2)],'collapsed':_0x543e3f[_0x37c287(0x125)]===_0x543e3f[_0x37c287(0xf2)],'segmentId':((_0x42a1f5=_0xec1612[_0x37c287(0x211)])==null?void 0x0:_0x42a1f5['segmentId'])??''};}let _0x59105c={'type':_0x5bc1cc['CommandType'][_0x4ea115(0x145)],'id':_0x4ea115(0x24b),'handler':async(_0x48d756,_0x4e4ad9)=>{const _0x2e9bd1=_0x4ea115;let _0x3d2f90=_0x48d756[_0x2e9bd1(0x20e)](_0x5bc1cc['IUniverInstanceService'])[_0x2e9bd1(0x2a5)](_0x5bc1cc[_0x2e9bd1(0x1ee)][_0x2e9bd1(0x310)]);if(!_0x3d2f90)return!0x1;let _0x403106=_0x48d756[_0x2e9bd1(0x20e)](_0x5bc1cc[_0x2e9bd1(0x2db)]),_0x3394a6=_0x3d2f90[_0x2e9bd1(0x1e4)](),_0x301df9=_0x4e4ad9['shapeId']??(0x0,_0x5bc1cc[_0x2e9bd1(0x1a9)])(),_0x2f0475=_0x4e4ad9[_0x2e9bd1(0xfb)]??_0x1897fd[_0x2e9bd1(0x34c)],_0x1d7aff=_0x4e4ad9[_0x2e9bd1(0x37b)]??_0x1897fd[_0x2e9bd1(0x371)],_0x48f81a=_0x4e4ad9[_0x2e9bd1(0x12e)]??_0x47ca61(_0x4e4ad9[_0x2e9bd1(0x115)],_0x4e4ad9['enhanceParams']),_0x4e180a=_0x1766c2(_0x48d756,_0x3394a6,_0x4e4ad9[_0x2e9bd1(0xca)])??_0x48d756[_0x2e9bd1(0x20e)](_0x42aa76['DocSelectionManagerService'])[_0x2e9bd1(0x21c)]();if(!_0x4e180a)return!0x1;let _0x31eb3c=_0x52ebc2(_0x3d2f90,_0x4e180a);return _0x31eb3c?!!_0x403106[_0x2e9bd1(0x35f)](_0x1897fd[_0x2e9bd1(0x23e)]['id'],{'unitId':_0x3394a6,'shapeId':_0x301df9,'shapeType':_0x4e4ad9['value'],'shapeData':_0x48f81a,'transform':{'width':_0x2f0475,'height':_0x1d7aff},'placement':{'wrappingStyle':_0x1c356f[_0x2e9bd1(0xc4)]['INLINE'],'anchor':_0x31eb3c}}):!0x1;}},_0x135e7b='doc.shape.edit.panel',_0x3a28ca=_0x4ea115(0x133),_0x593cd4=_0x4ea115(0x113),_0x33ec1c=(0x0,_0x5bc1cc[_0x4ea115(0x3a1)])(_0x4ea115(0x28e)),_0x57b3d6=_0x4ea115(0x38a),_0x16861b='DocsShapeTextEditorContainer',_0x28b9a9={'id':_0x4ea115(0x2a1),'type':_0x5bc1cc[_0x4ea115(0x213)][_0x4ea115(0x145)],'handler':(_0x5693cc,_0x3d406a)=>{const _0x401379=_0x4ea115;let _0x454bdc=_0x5693cc[_0x401379(0x20e)](_0x446708['ISidebarService']),_0x1cfb96=_0x5693cc[_0x401379(0x20e)](_0x5bc1cc[_0x401379(0x243)]),_0x3f7697=_0x5693cc[_0x401379(0x20e)](_0x3cf577[_0x401379(0x214)]);return(_0x3d406a==null?void 0x0:_0x3d406a[_0x401379(0x115)])===_0x401379(0x110)?(_0x454bdc['close'](_0x593cd4),!0x0):(_0x454bdc[_0x401379(0x402)]({'id':_0x593cd4,'header':{'title':_0x1cfb96['t']('docs-shape-ui.objectListPanel.title')},'children':{'label':_0x593cd4},'onClose':()=>{const _0x1b5885=_0x401379;_0x3f7697[_0x1b5885(0x233)](null);},'width':0x168}),!0x0);}},_0x5a08b9={'type':_0x5bc1cc[_0x4ea115(0x213)][_0x4ea115(0x1b0)],'id':_0x4ea115(0x283),'handler'(){return!0x0;}};function _0x3c66(_0x586ffe){const _0x90637c=_0x4ea115;let _0xadbf5e=_0x586ffe['get'](_0x3cf577['IDrawingManagerService'])['getFocusDrawings'](),_0x4df27a=_0xadbf5e[_0x90637c(0xbe)]===0x1?_0xadbf5e[0x0]:null;if(!_0x4df27a||_0x4df27a['drawingType']!==_0x5bc1cc['DrawingTypeEnum'][_0x90637c(0x3dc)])return null;let _0x5f0e39=_0x586ffe[_0x90637c(0x20e)](_0x1897fd[_0x90637c(0x293)]),_0x1b3172=_0x5f0e39[_0x90637c(0xc8)](_0x4df27a['unitId'],_0x4df27a['subUnitId'],_0x4df27a['drawingId']),_0xefe14c=_0x5f0e39[_0x90637c(0x3e9)](_0x4df27a['unitId'],_0x4df27a[_0x90637c(0x199)],_0x4df27a[_0x90637c(0x408)]);return _0x1b3172===void 0x0||!_0xefe14c?null:{'drawing':_0x4df27a,'shapeData':_0xefe14c,'shapeType':_0x1b3172};}let _0x1af57a={'id':_0x4ea115(0x16f),'type':_0x5bc1cc[_0x4ea115(0x213)][_0x4ea115(0x1b0)],'handler':(_0x1e0d81,_0x13f636)=>{const _0x23187a=_0x4ea115;let _0x315105=_0x3c66(_0x1e0d81),_0x2a3c07=(0x0,_0x535f5e[_0x23187a(0x3f3)])((_0x13f636==null?void 0x0:_0x13f636['presetId'])??(_0x13f636==null?void 0x0:_0x13f636[_0x23187a(0x115)])??'');if(!_0x315105||!_0x2a3c07||_0x2a3c07[_0x23187a(0x23c)]!==(0x0,_0x535f5e['getShapeQuickStyleType'])(_0x315105[_0x23187a(0x12e)]))return!0x1;let _0x160ad2=(0x0,_0x535f5e[_0x23187a(0x2e3)])(_0x315105['shapeData'],_0x2a3c07);if(!_0x160ad2)return!0x1;let {drawing:_0x37840c}=_0x315105;return _0x1e0d81[_0x23187a(0x20e)](_0x5bc1cc[_0x23187a(0x2db)])[_0x23187a(0x217)](_0x1897fd[_0x23187a(0x3e3)]['id'],{'unitId':_0x37840c[_0x23187a(0x18f)],'shapeId':_0x37840c[_0x23187a(0x408)],'shapeData':_0x160ad2,'oldShapeJSON':{'oldShapeData':_0x315105[_0x23187a(0x12e)]}});}},_0x33e271={'id':_0x4ea115(0x1d3),'type':_0x5bc1cc[_0x4ea115(0x213)][_0x4ea115(0x1b0)],'handler':(_0x469ab2,_0x479303)=>{const _0x22bcba=_0x4ea115;let _0x4f50d9=_0x3c66(_0x469ab2),_0x284b2f=(_0x479303==null?void 0x0:_0x479303[_0x22bcba(0xa3)])??(_0x479303==null?void 0x0:_0x479303[_0x22bcba(0x115)]);if(!_0x4f50d9||!_0x284b2f||(0x0,_0x349291[_0x22bcba(0x2d6)])(_0x4f50d9['shapeType'])||(0x0,_0x349291[_0x22bcba(0x2d6)])(_0x284b2f))return!0x1;let _0x2a3451=(0x0,_0x535f5e[_0x22bcba(0x325)])(_0x4f50d9[_0x22bcba(0x12e)],_0x284b2f);if(!_0x2a3451)return!0x1;let {drawing:_0x1f4575}=_0x4f50d9;return _0x469ab2[_0x22bcba(0x20e)](_0x5bc1cc[_0x22bcba(0x2db)])[_0x22bcba(0x217)](_0x1897fd[_0x22bcba(0x3e3)]['id'],{'unitId':_0x1f4575[_0x22bcba(0x18f)],'shapeId':_0x1f4575[_0x22bcba(0x408)],'shapeType':_0x284b2f,'shapeData':_0x2a3451,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x4f50d9[_0x22bcba(0xa3)],'oldShapeData':_0x4f50d9[_0x22bcba(0x12e)]}});}};function _0x379978(_0x44324e,_0x2bd2fc){return function(_0x3202e3,_0x590dc8){_0x2bd2fc(_0x3202e3,_0x590dc8,_0x44324e);};}function _0x555290(_0x3d606e,_0x2b8dec,_0x172e62,_0x516161){const _0x2a3f5c=_0x4ea115;var _0x4353c6=arguments[_0x2a3f5c(0xbe)],_0x2ae555=_0x4353c6<0x3?_0x2b8dec:_0x516161===null?_0x516161=Object[_0x2a3f5c(0x9b)](_0x2b8dec,_0x172e62):_0x516161,_0x1c561e;if(typeof Reflect==_0x2a3f5c(0x3de)&&typeof Reflect[_0x2a3f5c(0x141)]=='function')_0x2ae555=Reflect[_0x2a3f5c(0x141)](_0x3d606e,_0x2b8dec,_0x172e62,_0x516161);else{for(var _0x1d0ef7=_0x3d606e['length']-0x1;_0x1d0ef7>=0x0;_0x1d0ef7--)(_0x1c561e=_0x3d606e[_0x1d0ef7])&&(_0x2ae555=(_0x4353c6<0x3?_0x1c561e(_0x2ae555):_0x4353c6>0x3?_0x1c561e(_0x2b8dec,_0x172e62,_0x2ae555):_0x1c561e(_0x2b8dec,_0x172e62))||_0x2ae555);}return _0x4353c6>0x3&&_0x2ae555&&Object[_0x2a3f5c(0x2b6)](_0x2b8dec,_0x172e62,_0x2ae555),_0x2ae555;}let _0x1499e6=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x247405,_0x21cd27){const _0x2db403=_0x4ea115;super(),this[_0x2db403(0x1f7)]=_0x247405,this[_0x2db403(0x275)]=_0x21cd27,this[_0x2db403(0x2b1)](),this[_0x2db403(0x1f7)]['setCanUseShapeClip'](!0x0),this[_0x2db403(0x103)]({'dispose':()=>this[_0x2db403(0x1f7)][_0x2db403(0xba)](!0x1)});}['_registerImageShapeClipDelegate'](){const _0x34f67c=_0x4ea115;let _0x3b35ef=new Map(),_0x391f2e=this[_0x34f67c(0x1f7)][_0x34f67c(0x1b2)]((_0x2d2e6e,_0x2513e3,_0x3493f6,_0x4c0331,_0x262af3)=>{const _0x4bafd1=_0x34f67c;let _0x168a27=_0x2513e3;if(_0x168a27===_0x349291['ShapeTypeEnum'][_0x4bafd1(0x3f4)]||_0x2513e3==='custom')return!0x1;try{let _0x45afdd=_0x3b35ef[_0x4bafd1(0x20e)](_0x2513e3);return _0x45afdd||(_0x45afdd=new _0x349291[(_0x4bafd1(0x24f))](_0x168a27,'clip-'+_0x2513e3),_0x3b35ef[_0x4bafd1(0x1fe)](_0x2513e3,_0x45afdd)),_0x45afdd[_0x4bafd1(0x3ac)](),_0x262af3&&Object[_0x4bafd1(0x1ae)](_0x262af3)[_0x4bafd1(0xbe)]>0x0&&_0x45afdd[_0x4bafd1(0x25c)]({'adjustValues':_0x262af3},!0x0),_0x45afdd[_0x4bafd1(0x178)]({'width':_0x3493f6,'height':_0x4c0331}),_0x45afdd['buildClipPath'](_0x2d2e6e,{'left':0x0,'top':0x0,'width':_0x3493f6,'height':_0x4c0331});}catch{return!0x1;}});this['disposeWithMe'](_0x391f2e),this[_0x34f67c(0x103)]({'dispose':()=>_0x3b35ef[_0x34f67c(0x278)]()});}[_0x4ea115(0x158)](_0xa11aaa,_0x530146,_0x3e9459,_0x335b4c,_0x236404){const _0x2ed917=_0x4ea115;let _0x281006=this['_drawingManagerService'][_0x2ed917(0x3c3)](_0xa11aaa,_0x530146)[_0x3e9459];_0x281006&&_0x281006[_0x2ed917(0x3a3)]===_0x5bc1cc[_0x2ed917(0x1c8)][_0x2ed917(0x291)]&&this['_drawingManagerService'][_0x2ed917(0x3e6)]([{..._0x281006,'prstGeom':_0x335b4c,'adjustValues':_0x236404}]);}};_0x1499e6=_0x555290([_0x379978(0x0,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x390061['DrawingImageClipService'])),_0x379978(0x1,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x3cf577['IDrawingManagerService']))],_0x1499e6);let _0x215dca='doc.shape.picker.component',_0x19b74d=_0x4ea115(0x302);function _0x28696f({onShapeClick:_0x55fe5b,excludeGroups:_0x5eda0d}){const _0x4bae1b=_0x4ea115;return(0x0,_0x4b014e[_0x4bae1b(0xaa)])(_0x1bc9bf[_0x4bae1b(0x2b8)],{'excludeGroups':_0x5eda0d,'onShapeClick':_0x55fe5b,'scrollContainer':_0x4bae1b(0x33c)});}function _0x1406e3(){const _0x21db25=_0x4ea115;let _0x1f32c5=(0x0,_0x446708[_0x21db25(0x389)])(_0x3cf577[_0x21db25(0x214)]),_0x3e73c3=(0x0,_0x446708[_0x21db25(0x389)])(_0x1499e6);return _0x39ad01=>{const _0x42bdc1=_0x21db25;let _0x27c84f=_0x1f32c5[_0x42bdc1(0x2dd)]()[_0x42bdc1(0x99)](_0x6ad9fb=>_0x6ad9fb[_0x42bdc1(0x3a3)]===_0x5bc1cc[_0x42bdc1(0x1c8)][_0x42bdc1(0x291)]);_0x27c84f&&_0x3e73c3[_0x42bdc1(0x158)](_0x27c84f['unitId'],_0x27c84f[_0x42bdc1(0x199)],_0x27c84f[_0x42bdc1(0x408)],_0x39ad01['type']);};}function _0x418549(){const _0x43b0a5=_0x4ea115;let _0x579547=_0x1406e3();return(0x0,_0x4b014e['jsx'])(_0x1bc9bf[_0x43b0a5(0xe7)],{'buttonLabel':_0x43b0a5(0x349),'excludeGroups':[_0x1bc9bf['ShapeGroupEnum'][_0x43b0a5(0x3ab)]],'onShapeClick':_0x579547});}function _0xdb8590(){const _0x37f702=_0x4ea115;let _0x4e762f=(0x0,_0x446708['useDependency'])(_0x446708[_0x37f702(0x343)]),_0x3a0a9a=(0x0,_0x446708[_0x37f702(0x389)])(_0x3cf577[_0x37f702(0x214)]),_0x4654a7=(0x0,_0x446708[_0x37f702(0x389)])(_0x5bc1cc['IUniverInstanceService']),_0x1fddce=_0x3a0a9a[_0x37f702(0x2dd)]()[0x0],_0x28a155=_0x1fddce?_0x4654a7[_0x37f702(0xc6)](_0x1fddce[_0x37f702(0x18f)]):void 0x0,_0x102dde=_0x28a155===_0x5bc1cc[_0x37f702(0x1ee)]['UNIVER_DOC']?_0x19b74d:_0x28a155===_0x5bc1cc[_0x37f702(0x1ee)][_0x37f702(0x8e)]?'sheet.image-clip.shape-picker.component':void 0x0,_0x1a9637=_0x102dde?_0x4e762f[_0x37f702(0x20e)](_0x102dde):void 0x0;return _0x1a9637?(0x0,_0x4b014e[_0x37f702(0xaa)])(_0x1a9637,{}):null;}function _0x4e301f({paragraphMenuPlacement:_0x1992b0,PickerComponent:_0x12cfc7=_0x28696f}){const _0x349f03=_0x4ea115;let _0x3721e4=(0x0,_0x446708['useDependency'])(_0x5bc1cc[_0x349f03(0x2db)]);return(0x0,_0x4b014e[_0x349f03(0xaa)])(_0x12cfc7,{'onShapeClick':_0x25d951=>{const _0x13667d=_0x349f03;_0x3721e4[_0x13667d(0x217)](_0x59105c['id'],{'paragraphMenuPlacement':_0x1992b0,'value':_0x25d951['type'],'enhanceParams':{'endArrow':_0x25d951['endArrow'],'startArrow':_0x25d951[_0x13667d(0x1d4)],'horizontal':_0x25d951[_0x13667d(0x16e)],'vertical':_0x25d951[_0x13667d(0xf4)]}});}});}function _0x52c349(_0x165c74){const _0x4309b5=_0x4ea115;return _0x56ea8d=>({'id':_0x59105c['id'],'type':_0x446708[_0x4309b5(0x367)][_0x4309b5(0x10d)],'selections':[{'label':{'name':_0x215dca,'hoverable':!0x1,'selectable':!0x1,'props':_0x165c74?{'id':_0x59105c['id'],'paragraphMenuPlacement':_0x165c74}:{'id':_0x59105c['id']}}}],'icon':_0x4309b5(0x344),'title':_0x4309b5(0x1de),'tooltip':_0x4309b5(0x1de),'hidden$':(0x0,_0x446708['getMenuHiddenObservable'])(_0x56ea8d,_0x5bc1cc[_0x4309b5(0x1ee)]['UNIVER_DOC'])});}let _0x229060=_0x52c349(),_0x5e545b=_0x52c349(_0x4ea115(0xfc)),_0x485714=_0x52c349('target');function _0x3ca1c8(_0x1b1ddf){const _0x5497bb=_0x4ea115;return{'id':_0x28b9a9['id'],'type':_0x446708[_0x5497bb(0x367)][_0x5497bb(0x398)],'icon':_0x5497bb(0x2b7),'title':_0x5497bb(0x8a),'tooltip':'docs-shape-ui.objectListPanel.open','hidden$':(0x0,_0x446708[_0x5497bb(0x2f7)])(_0x1b1ddf,_0x5bc1cc['UniverInstanceType'][_0x5497bb(0x310)])};}function _0x9420a0(_0x5d4c12,_0x1d434b,_0xbd9179,_0x2d7aa4,_0x203714,_0x3da539){const _0x240a3a=_0x4ea115;let _0xbb7a8={'unitId':_0x1d434b,'shapeId':_0x2d7aa4,'shapeData':_0x3da539,'oldShapeJSON':_0x203714};return _0x5d4c12['executeCommand'](_0x1897fd[_0x240a3a(0x3e3)]['id'],_0xbb7a8);}function _0x3174af(_0x88c9d1,_0x2e4e1e,_0x1e7b84,_0x65eff5,_0x36b644,_0x1c8c8e){const _0x557db2=_0x4ea115;let _0x3d3529={'unitId':_0x2e4e1e,'shapeId':_0x65eff5,'shapeData':_0x1c8c8e,'oldShapeJSON':_0x36b644};return _0x88c9d1[_0x557db2(0x217)](_0x1897fd[_0x557db2(0x3e3)]['id'],_0x3d3529);}let _0x205f1c=_0x4ea115(0x395),_0x9bb98f='docs-shape-ui.shape-format.style-ribbon-control',_0xcb0280=_0x4ea115(0x143),_0x5c919f=_0x4ea115(0x3d2),_0x2dab50=_0x4ea115(0x370),_0x41ab61=[{'value':_0x1c356f[_0x4ea115(0xc4)][_0x4ea115(0x3e4)],'label':_0x4ea115(0x92),'icon':_0x4ea115(0x224)},{'value':_0x1c356f['TextWrappingStyle'][_0x4ea115(0x246)],'label':'docs-shape-ui.textWrap.square','icon':'DocsShapeWrapSquareIcon'},{'value':_0x1c356f[_0x4ea115(0xc4)]['WRAP_TOP_AND_BOTTOM'],'label':_0x4ea115(0x2fa),'icon':_0x4ea115(0x1f6)},{'value':_0x1c356f[_0x4ea115(0xc4)][_0x4ea115(0x32a)],'label':_0x4ea115(0xd7),'icon':_0x4ea115(0xb8)},{'value':_0x1c356f[_0x4ea115(0xc4)][_0x4ea115(0x346)],'label':'docs-shape-ui.textWrap.inFrontText','icon':_0x4ea115(0x27b)}];function _0x18c6c2(){const _0x5abcab=_0x4ea115;let _0x24893d=(0x0,_0x446708[_0x5abcab(0x389)])(_0x5bc1cc[_0x5abcab(0x2db)]),_0x3e2537=(0x0,_0x446708[_0x5abcab(0x389)])(_0x3cf577[_0x5abcab(0x214)]),_0x3743a2=(0x0,_0x446708[_0x5abcab(0x389)])(_0x1897fd[_0x5abcab(0x293)]),_0x51fbb5=()=>{const _0x3fa43c=_0x5abcab;var _0x10c379;let _0x43c141=_0x3e2537[_0x3fa43c(0x2dd)]();if(_0x43c141[_0x3fa43c(0xbe)]!==0x1||((_0x10c379=_0x43c141[0x0])==null?void 0x0:_0x10c379['drawingType'])!==_0x5bc1cc[_0x3fa43c(0x1c8)]['DRAWING_SHAPE'])return null;let {unitId:_0xd5a7e4,subUnitId:_0x70d538,drawingId:_0x54dc8b}=_0x43c141[0x0],_0x360b45=_0x3743a2['getShapeTypeById'](_0xd5a7e4,_0x70d538,_0x54dc8b),_0x45c46f=_0x3743a2['getShapeDataById'](_0xd5a7e4,_0x70d538,_0x54dc8b);return _0x360b45===void 0x0||!_0x45c46f?null:{'unitId':_0xd5a7e4,'subUnitId':_0x70d538,'drawingId':_0x54dc8b,'shapeType':_0x360b45,'shapeData':_0x45c46f};},_0x318903=(0x0,_0x446708[_0x5abcab(0x1e1)])(()=>new _0x587404['Observable'](_0x1a76d8=>{const _0x21444f=_0x5abcab;let _0x253530=()=>_0x1a76d8['next'](_0x51fbb5()),_0x171836=_0x3e2537['focus$']['subscribe'](_0x253530),_0x3722f6=_0x24893d[_0x21444f(0x1b5)](_0x2a16a2=>{_0x2a16a2['id']===_0x1897fd['UpdateDocShapeDataMutation']['id']&&_0x253530();});return _0x253530(),()=>{const _0x242aa9=_0x21444f;_0x171836[_0x242aa9(0xa2)](),_0x3722f6[_0x242aa9(0x17a)]();};}),_0x51fbb5(),!0x1,[_0x24893d,_0x3743a2,_0x3e2537]);return{'selection':_0x318903,'updateShapeData':_0x1adf82=>{const _0x4448b6=_0x5abcab;_0x318903&&_0x9420a0(_0x24893d,_0x318903['unitId'],_0x318903[_0x4448b6(0x199)],_0x318903['drawingId'],{'oldShapeData':_0x318903[_0x4448b6(0x12e)]},_0x1adf82);}};}function _0x1d84be(){const _0x2ab212=_0x4ea115;let {selection:_0xb8bbca,updateShapeData:_0x54e857}=_0x18c6c2();return _0xb8bbca?(0x0,_0x4b014e[_0x2ab212(0xaa)])(_0x1bc9bf[_0x2ab212(0x19b)],{'shapeData':_0xb8bbca[_0x2ab212(0x12e)],'shapeType':_0xb8bbca[_0x2ab212(0xa3)],'onUpdateShapeData':_0x54e857}):null;}function _0x5f0bda(){const _0x52d555=_0x4ea115;let _0x400c72=(0x0,_0x446708['useDependency'])(_0x5bc1cc[_0x52d555(0x2db)]),_0x1f0cb3=(0x0,_0x446708[_0x52d555(0x389)])(_0x5bc1cc['LocaleService']),{selection:_0x1233df}=_0x18c6c2();return _0x1233df?(0x0,_0x4b014e['jsx'])(_0x1bc9bf[_0x52d555(0x3e0)],{'type':(0x0,_0x535f5e['getShapeQuickStyleType'])(_0x1233df['shapeData']),'ariaLabel':_0x1f0cb3['t'](_0x52d555(0xce)),'activePresetId':(0x0,_0x535f5e[_0x52d555(0x312)])(_0x1233df['shapeData']),'onSelect':_0x592205=>_0x400c72[_0x52d555(0x217)](_0x1af57a['id'],{'presetId':_0x592205})}):null;}function _0x2c2195(){const _0xa185a5=_0x4ea115;let {selection:_0x2021bd,updateShapeData:_0x31e166}=_0x18c6c2();return _0x2021bd?(0x0,_0x4b014e[_0xa185a5(0xaa)])(_0x1bc9bf[_0xa185a5(0x3cf)],{'fontFamilyPopupDataComponent':_0xa185a5(0x357),'shapeData':_0x2021bd[_0xa185a5(0x12e)],'onUpdateShapeData':_0x31e166}):null;}function _0x204deb(){const _0xa17de=_0x4ea115;var _0x16247e;let {selection:_0x24ae5a,updateShapeData:_0x429026}=_0x18c6c2(),_0x4d3785=(0x0,_0x1bc9bf[_0xa17de(0x1d6)])({'hostType':_0x5bc1cc[_0xa17de(0x1ee)]['UNIVER_DOC'],'unitId':(_0x24ae5a==null?void 0x0:_0x24ae5a[_0xa17de(0x18f)])??'','subUnitId':(_0x24ae5a==null?void 0x0:_0x24ae5a[_0xa17de(0x199)])??'','shapeId':(_0x24ae5a==null?void 0x0:_0x24ae5a[_0xa17de(0x408)])??'','shapeData':_0x24ae5a==null?void 0x0:_0x24ae5a[_0xa17de(0x12e)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0xa17de(0x1d9),'onUpdateBinding':_0x40046a=>_0x429026({'formulaBinding':_0x40046a})}),_0x18d07e=((_0x16247e=_0x4d3785[_0xa17de(0x12f)])==null?void 0x0:_0x16247e[_0xa17de(0x2de)](_0x5d8f1f=>_0x5d8f1f['actions'])[_0xa17de(0x2e8)](_0x4764af=>_0x4764af[_0xa17de(0x39e)]!==!0x1))??[];return _0x24ae5a!=null&&_0x24ae5a['shapeData'][_0xa17de(0x1eb)]?(0x0,_0x4b014e[_0xa17de(0xaa)])(_0x1bc9bf[_0xa17de(0x234)],{'actions':_0x18d07e,'panel':_0x4d3785[_0xa17de(0x16d)]}):null;}function _0x231d64({value:_0x1818cb}){const _0xeeaed8=_0x4ea115;let _0x5682f2=(0x0,_0x446708['useDependency'])(_0x5bc1cc[_0xeeaed8(0x243)]),_0xcab9dd=_0x41ab61[_0xeeaed8(0x99)](_0x4d5d27=>_0x4d5d27[_0xeeaed8(0x115)]===_0x1818cb)??_0x41ab61[0x0];return _0xcab9dd?(0x0,_0x4b014e[_0xeeaed8(0xaa)])(_0xeeaed8(0x3f9),{'children':_0x5682f2['t'](_0xcab9dd[_0xeeaed8(0x150)])}):null;}let _0x160de6='docs-shape-ui.ribbon.shape-format.style-control',_0xb0d995='docs-shape-ui.ribbon.shape-format.text-control',_0x29c71b=_0x4ea115(0xab),_0x1efdde=_0x4ea115(0x2e5),_0x5199ec=_0x4ea115(0xf9),_0x556e0e='docs-shape-ui.ribbon.shape-format.arrange-front',_0x44deec=_0x4ea115(0x29e),_0x1650b6='docs-shape-ui.ribbon.shape-format.wrapping-style';function _0xa3ce66(_0x49fb29){const _0x3f24ed=_0x4ea115;let _0x163f8f=_0x49fb29[_0x3f24ed(0x20e)](_0x5bc1cc[_0x3f24ed(0x2db)]),_0xaec77d=_0x49fb29['get'](_0x3cf577[_0x3f24ed(0x214)]),_0x4e5f7c=_0x49fb29['get'](_0x1897fd['DocsShapeService']);return new _0x587404[(_0x3f24ed(0x305))](_0x251215=>{const _0x353483=_0x3f24ed;let _0x29764c=()=>{const _0x2a3fec=_0x9d29;let _0x242b25=_0x574053(_0x49fb29),_0x525e64=_0x242b25?_0x4e5f7c[_0x2a3fec(0x3e9)](_0x242b25[_0x2a3fec(0x18f)],_0x242b25[_0x2a3fec(0x199)],_0x242b25[_0x2a3fec(0x408)]):null;_0x251215[_0x2a3fec(0x3eb)](_0x525e64?(0x0,_0x535f5e[_0x2a3fec(0x312)])(_0x525e64)??'':'');},_0x3925c2=_0xaec77d['focus$']['subscribe'](_0x29764c),_0x620c3a=_0x163f8f[_0x353483(0x1b5)](_0x4a2090=>{_0x4a2090['id']===_0x1897fd['UpdateDocShapeDataMutation']['id']&&_0x29764c();});return _0x29764c(),()=>{const _0x231556=_0x353483;_0x3925c2[_0x231556(0xa2)](),_0x620c3a[_0x231556(0x17a)]();};});}function _0x574053(_0x597733){const _0x3b9409=_0x4ea115;var _0x1a9c29;let _0x4144cb=_0x597733['get'](_0x3cf577[_0x3b9409(0x214)])[_0x3b9409(0x2dd)]();return _0x4144cb[_0x3b9409(0xbe)]===0x1&&((_0x1a9c29=_0x4144cb[0x0])==null?void 0x0:_0x1a9c29[_0x3b9409(0x3a3)])===_0x5bc1cc[_0x3b9409(0x1c8)][_0x3b9409(0x3dc)]?_0x4144cb[0x0]:null;}function _0xfa670c(_0x2bb4cd){const _0x4cc425=_0x4ea115;return(_0x2bb4cd==null?void 0x0:_0x2bb4cd['layoutType'])===_0x5bc1cc[_0x4cc425(0x342)][_0x4cc425(0x36a)]?_0x2bb4cd[_0x4cc425(0x2a2)]===_0x5bc1cc['BooleanNumber'][_0x4cc425(0x1cc)]?_0x1c356f[_0x4cc425(0xc4)][_0x4cc425(0x32a)]:_0x1c356f[_0x4cc425(0xc4)][_0x4cc425(0x346)]:(_0x2bb4cd==null?void 0x0:_0x2bb4cd[_0x4cc425(0x109)])===_0x5bc1cc[_0x4cc425(0x342)]['WRAP_SQUARE']?_0x1c356f['TextWrappingStyle']['WRAP_SQUARE']:(_0x2bb4cd==null?void 0x0:_0x2bb4cd[_0x4cc425(0x109)])===_0x5bc1cc[_0x4cc425(0x342)][_0x4cc425(0x238)]?_0x1c356f[_0x4cc425(0xc4)]['WRAP_TOP_AND_BOTTOM']:_0x1c356f[_0x4cc425(0xc4)][_0x4cc425(0x3e4)];}function _0x43e11e(_0x55ea3a){const _0x4f8832=_0x4ea115;let _0x28cc12=_0x55ea3a[_0x4f8832(0x20e)](_0x5bc1cc['ICommandService']),_0x1f49c2=_0x55ea3a['get'](_0x3cf577['IDrawingManagerService']),_0x3e1d20=_0x55ea3a[_0x4f8832(0x20e)](_0x5bc1cc[_0x4f8832(0x18e)]);return new _0x587404[(_0x4f8832(0x305))](_0x83f016=>{const _0x373f07=_0x4f8832;let _0x1c0b1a=()=>{const _0x5a8d78=_0x9d29;var _0x3fbaaf;let _0x3e8dc3=_0x574053(_0x55ea3a),_0x47914a=_0x3e8dc3?_0x3e1d20[_0x5a8d78(0x1f8)](_0x3e8dc3['unitId'],_0x5bc1cc[_0x5a8d78(0x1ee)][_0x5a8d78(0x310)]):void 0x0;_0x83f016[_0x5a8d78(0x3eb)](_0xfa670c(_0x3e8dc3?_0x47914a==null||(_0x3fbaaf=_0x47914a['getSnapshot']()['drawings'])==null?void 0x0:_0x3fbaaf[_0x3e8dc3[_0x5a8d78(0x408)]]:void 0x0));},_0x303430=_0x1f49c2[_0x373f07(0x2ff)][_0x373f07(0x3a6)](_0x1c0b1a),_0x320020=_0x28cc12[_0x373f07(0x1b5)](_0x2b21ec=>{const _0x1ed83e=_0x373f07;_0x2b21ec['id']===_0x42aa76[_0x1ed83e(0x264)]['id']&&_0x1c0b1a();});return _0x1c0b1a(),()=>{const _0x296c9f=_0x373f07;_0x303430[_0x296c9f(0xa2)](),_0x320020[_0x296c9f(0x17a)]();};})[_0x4f8832(0x335)]((0x0,_0x587404[_0x4f8832(0x19a)])());}function _0x3a29c6(_0xd37295,_0xfd881b=!0x1){const _0x51a946=_0x4ea115;let _0x3a05ba=_0xd37295['get'](_0x5bc1cc[_0x51a946(0x2db)]),_0x1969c4=_0xd37295[_0x51a946(0x20e)](_0x3cf577[_0x51a946(0x214)]),_0x4c68b8=_0xd37295['get'](_0x1897fd[_0x51a946(0x293)]);return new _0x587404[(_0x51a946(0x305))](_0x24cbe6=>{const _0x535916=_0x51a946;let _0x47862b=()=>{const _0x16a21b=_0x9d29;let _0x1946c3=_0x574053(_0xd37295);if(!_0x1946c3){_0x24cbe6[_0x16a21b(0x3eb)](!0x0);return;}let _0x4c806d=_0x4c68b8[_0x16a21b(0x3e9)](_0x1946c3[_0x16a21b(0x18f)],_0x1946c3[_0x16a21b(0x199)],_0x1946c3[_0x16a21b(0x408)]);_0x24cbe6[_0x16a21b(0x3eb)](!_0x4c806d||_0xfd881b&&_0x4c806d[_0x16a21b(0x1eb)]==null);},_0x380b95=_0x1969c4[_0x535916(0x2ff)][_0x535916(0x3a6)](_0x47862b),_0x1c0277=_0x3a05ba[_0x535916(0x1b5)](_0x354773=>{const _0x3c943d=_0x535916;_0x354773['id']===_0x1897fd[_0x3c943d(0x130)]['id']&&_0x47862b();});return _0x47862b(),()=>{const _0x11f837=_0x535916;_0x380b95[_0x11f837(0xa2)](),_0x1c0277[_0x11f837(0x17a)]();};});}function _0x5d444e(_0x5ead46){const _0x231c7e=_0x4ea115;let _0x1e0161=_0x5ead46[_0x231c7e(0x20e)](_0x3cf577['IDrawingManagerService']),_0x33a53d=_0x5ead46[_0x231c7e(0x20e)](_0x1897fd[_0x231c7e(0x293)]);return _0x1e0161[_0x231c7e(0x2ff)]['pipe']((0x0,_0x587404['startWith'])(_0x1e0161[_0x231c7e(0x2dd)]()),(0x0,_0x587404[_0x231c7e(0x3ca)])(()=>{const _0x387db5=_0x231c7e;let _0x8707ce=_0x574053(_0x5ead46),_0x236d57=_0x8707ce?_0x33a53d[_0x387db5(0xc8)](_0x8707ce[_0x387db5(0x18f)],_0x8707ce[_0x387db5(0x199)],_0x8707ce[_0x387db5(0x408)]):void 0x0;return _0x236d57===void 0x0||(0x0,_0x349291[_0x387db5(0x2d6)])(_0x236d57);}));}function _0xc49d7a(_0x2c1f51){const _0x1fdff3=_0x4ea115;return{'id':_0x1af57a['id'],'type':_0x446708[_0x1fdff3(0x367)][_0x1fdff3(0x10d)],'icon':_0x1fdff3(0x2c4),'title':_0x1fdff3(0x128),'tooltip':_0x1fdff3(0x128),'selections':[{'label':{'name':_0x205f1c,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0xa3ce66(_0x2c1f51),'hidden$':_0x3a29c6(_0x2c1f51)};}function _0x57c6e9(_0x153aab){const _0x32141f=_0x4ea115;return{'id':_0x33e271['id'],'type':_0x446708['MenuItemType']['SELECTOR'],'icon':_0x32141f(0x344),'title':_0x32141f(0x3cb),'tooltip':'shape-editor-ui.toolbar.changeShape','slot':!0x0,'selections':[{'label':{'name':_0x1bc9bf['SHAPE_CHANGE_PICKER_COMPONENT'],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x5d444e(_0x153aab)};}function _0x15752e(_0x3df071,_0x80a18c,_0x3c7cd1=!0x1){const _0x4a9583=_0x4ea115;return _0xc404be=>({'id':_0x3df071,'type':_0x446708[_0x4a9583(0x367)]['BUTTON'],'label':{'name':_0x80a18c,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x3a29c6(_0xc404be,_0x3c7cd1)});}let _0x55e340=_0x15752e(_0x160de6,_0x9bb98f),_0xaea9dd=_0x15752e(_0xb0d995,_0xcb0280),_0x355d75=_0x15752e(_0x29c71b,_0x5c919f,!0x0);function _0x126119(_0x48bca4){const _0x18404c=_0x4ea115;return{'id':_0x1650b6,'type':_0x446708[_0x18404c(0x367)][_0x18404c(0x10d)],'icon':_0x41ab61[0x0][_0x18404c(0x32b)],'label':_0x2dab50,'selectionsCommandId':_0x1c356f[_0x18404c(0x2fc)]['id'],'selections':_0x41ab61[_0x18404c(0x3ca)](({icon:_0x41cd82,label:_0xdf3dd7,value:_0x24b949})=>({'value':_0x24b949,'label':_0xdf3dd7,'icon':_0x41cd82,'params':()=>{const _0x5ecea1=_0x18404c;let _0x455543=_0x574053(_0x48bca4);return _0x455543?{'unitId':_0x455543['unitId'],'subUnitId':_0x455543[_0x5ecea1(0x199)],'drawings':[{'unitId':_0x455543['unitId'],'subUnitId':_0x455543[_0x5ecea1(0x199)],'drawingId':_0x455543[_0x5ecea1(0x408)]}],'wrappingStyle':_0x24b949}:void 0x0;}})),'value$':_0x43e11e(_0x48bca4),'hidden$':_0x3a29c6(_0x48bca4)};}function _0x624f7a(_0x335458,_0x4e3322,_0x297086,_0x27868e){const _0x2a9e6c=_0x4ea115;return _0x14c040=>({'id':_0x335458,'commandId':_0x1c356f[_0x2a9e6c(0x231)]['id'],'type':_0x446708[_0x2a9e6c(0x367)][_0x2a9e6c(0x398)],'icon':_0x297086,'title':_0x27868e,'tooltip':_0x27868e,'hidden$':_0x3a29c6(_0x14c040),'params':()=>{const _0x16ae6a=_0x2a9e6c;let _0x379dd8=_0x574053(_0x14c040);return _0x379dd8?{'unitId':_0x379dd8[_0x16ae6a(0x18f)],'subUnitId':_0x379dd8[_0x16ae6a(0x199)],'drawingIds':[_0x379dd8['drawingId']],'arrangeType':_0x4e3322}:void 0x0;}});}let _0xabfc7=_0x624f7a(_0x1efdde,_0x5bc1cc[_0x4ea115(0x3c0)]['forward'],_0x4ea115(0x393),_0x4ea115(0x2b9)),_0x104ba9=_0x624f7a(_0x5199ec,_0x5bc1cc['ArrangeTypeEnum'][_0x4ea115(0x2e2)],'MoveDownIcon',_0x4ea115(0x151)),_0x4dd57e=_0x624f7a(_0x556e0e,_0x5bc1cc[_0x4ea115(0x3c0)][_0x4ea115(0x1ca)],_0x4ea115(0x3c5),_0x4ea115(0xb2)),_0xe89930=_0x624f7a(_0x44deec,_0x5bc1cc[_0x4ea115(0x3c0)][_0x4ea115(0x116)],_0x4ea115(0x401),'shape-editor-ui.arrange.back');function _0x36c35d(_0xd8b67){const _0x310bff=_0x4ea115;return{'id':_0x5a08b9['id'],'type':_0x446708[_0x310bff(0x367)][_0x310bff(0x398)],'icon':_0x310bff(0x2a4),'title':_0x310bff(0xa7),'tooltip':_0x310bff(0xa7),'hidden$':_0x3a29c6(_0xd8b67),'params':()=>{const _0x239f88=_0x310bff;let _0x5a6af6=_0x574053(_0xd8b67);return _0x5a6af6?{'unitId':_0x5a6af6['unitId'],'subUnitId':_0x5a6af6[_0x239f88(0x199)],'drawingId':_0x5a6af6[_0x239f88(0x408)]}:void 0x0;}};}let _0x296b2a={[_0x446708[_0x4ea115(0x3bf)]['RIBBON']]:{[_0x3a28ca]:{'order':0x64,'title':_0x4ea115(0xa7),'contextual':!0x0,'docs-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x1af57a['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0xc49d7a},[_0x33e271['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x57c6e9}},'docs-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x160de6]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x55e340}},'docs-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0xb0d995]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0xaea9dd}},'docs-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x1650b6]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'columnSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x126119},[_0x1efdde]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0xabfc7},[_0x5199ec]:{'order':0x2,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x104ba9},[_0x556e0e]:{'order':0x3,'gridLayout':{'row':0x1,'column':0x4},'menuItemFactory':_0x4dd57e},[_0x44deec]:{'order':0x4,'gridLayout':{'row':0x2,'column':0x4},'menuItemFactory':_0xe89930}},'docs-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x29c71b]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x355d75}},'docs-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x5a08b9['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x36c35d},[_0x1bc9bf['ToggleShapeFloatingToolbarOperation']['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x1bc9bf[_0x4ea115(0x3c1)]}}}}},_0x2b9f36={[_0x446708['RibbonInsertGroup']['MEDIA']]:{[_0x59105c['id']]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x37dbad=>({..._0x229060(_0x37dbad),'title':void 0x0})}},[_0x446708[_0x4ea115(0x25d)][_0x4ea115(0x26b)]]:{[_0x28b9a9['id']]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x2,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x3ca1c8}},[_0x446708['ContextMenuPosition'][_0x4ea115(0x258)]]:{[_0x446708['ContextMenuGroup'][_0x4ea115(0x120)]]:{[_0x341d83[_0x4ea115(0x14c)]]:{[_0x59105c['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x5e545b}}},[_0x341d83['DOC_CONTENT_INSERT_MENU_ID']]:{[_0x446708[_0x4ea115(0x1b3)][_0x4ea115(0x120)]]:{[_0x59105c['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x5e545b}}},[_0x341d83[_0x4ea115(0x2b5)]]:{[_0x446708['ContextMenuGroup'][_0x4ea115(0x120)]]:{[_0x59105c['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x485714}}},[_0x341d83[_0x4ea115(0x12d)]]:{'insert':{[_0x59105c['id']]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x229060}}},[_0x341d83['DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID']]:{'insert':{[_0x59105c['id']+_0x4ea115(0x2ba)]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x5e545b}}}}};var _0x25865a='@univerjs-pro/docs-shape-ui',_0x44d234=_0x4ea115(0x206);let _0x181065={'type':_0x5bc1cc['CommandType'][_0x4ea115(0x1b0)],'id':_0x4ea115(0x1a4),'handler'(){return!0x0;}},_0x3f849b=_0x4ea115(0x154),_0xd4dc79={};function _0x2b6523(_0x285b3e){'@babel/helpers - typeof';const _0x4673ed=_0x4ea115;return _0x2b6523=typeof Symbol==_0x4673ed(0x2ad)&&typeof Symbol[_0x4673ed(0x21f)]==_0x4673ed(0x2e9)?function(_0xd5bddc){return typeof _0xd5bddc;}:function(_0x321bb0){const _0x2591fc=_0x4673ed;return _0x321bb0&&typeof Symbol==_0x2591fc(0x2ad)&&_0x321bb0[_0x2591fc(0x2be)]===Symbol&&_0x321bb0!==Symbol[_0x2591fc(0x139)]?_0x2591fc(0x2e9):typeof _0x321bb0;},_0x2b6523(_0x285b3e);}function _0x259ec8(_0x487b06,_0x59493d){const _0x50acf1=_0x4ea115;if(_0x2b6523(_0x487b06)!=_0x50acf1(0x3de)||!_0x487b06)return _0x487b06;var _0x4281b4=_0x487b06[Symbol[_0x50acf1(0x38e)]];if(_0x4281b4!==void 0x0){var _0x4f4864=_0x4281b4[_0x50acf1(0x31e)](_0x487b06,_0x59493d||_0x50acf1(0x29a));if(_0x2b6523(_0x4f4864)!=_0x50acf1(0x3de))return _0x4f4864;throw TypeError(_0x50acf1(0x1df));}return(_0x59493d===_0x50acf1(0x146)?String:Number)(_0x487b06);}function _0x16242f(_0x1e2062){const _0x4904e1=_0x4ea115;var _0x351365=_0x259ec8(_0x1e2062,_0x4904e1(0x146));return _0x2b6523(_0x351365)=='symbol'?_0x351365:_0x351365+'';}function _0x128b9e(_0xe901bc,_0x8769a6,_0x442b1b){const _0x5c3370=_0x4ea115;return(_0x8769a6=_0x16242f(_0x8769a6))in _0xe901bc?Object[_0x5c3370(0x2b6)](_0xe901bc,_0x8769a6,{'value':_0x442b1b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xe901bc[_0x8769a6]=_0x442b1b,_0xe901bc;}var _0x5c2dc0=class extends _0x24aff0[_0x4ea115(0x21a)]{constructor(_0x3dacb4,_0x20304a){const _0x2b705b=_0x4ea115;super(_0x3dacb4,_0x20304a),_0x128b9e(this,_0x2b705b(0x20c),null),_0x128b9e(this,_0x2b705b(0x22e),null),_0x128b9e(this,_0x2b705b(0x19e),null),_0x128b9e(this,_0x2b705b(0x40a),null),_0x20304a&&this['setShapeProps'](_0x20304a);}['getDrawingSearch'](){const _0x344d4e=_0x4ea115;return{'unitId':this[_0x344d4e(0x19e)],'subUnitId':this[_0x344d4e(0x40a)],'drawingId':this[_0x344d4e(0x20c)]};}[_0x4ea115(0x30f)](_0x3a0c22){const _0x30d473=_0x4ea115;_0x3a0c22[_0x30d473(0x392)]!==void 0x0&&(this[_0x30d473(0x20c)]=_0x3a0c22['shapeId']),_0x3a0c22[_0x30d473(0x2f6)]!==void 0x0&&(this[_0x30d473(0x22e)]=_0x3a0c22['adjName']),_0x3a0c22[_0x30d473(0x18f)]!==void 0x0&&(this[_0x30d473(0x19e)]=_0x3a0c22[_0x30d473(0x18f)]),_0x3a0c22[_0x30d473(0x199)]!==void 0x0&&(this[_0x30d473(0x40a)]=_0x3a0c22[_0x30d473(0x199)]),this['transformByState']({'width':_0x3a0c22['width'],'height':_0x3a0c22[_0x30d473(0x37b)]});}['_draw'](_0x293f21){const _0x10854e=_0x4ea115;_0x24aff0['Circle'][_0x10854e(0x155)](_0x293f21,{'radius':_0x349291[_0x10854e(0x1f3)][_0x10854e(0x1ef)],'fill':_0x349291['ShapeDefaultConfig'][_0x10854e(0x36d)],'stroke':_0x349291[_0x10854e(0x1f3)]['adjHandleStroke'],'strokeWidth':0x1,'evented':!0x0});}};function _0x2df64e(_0x18183a,_0x3bca0b,_0xfb8059){const _0x4c69b7=_0x4ea115;let _0x1ffe3a={..._0x3bca0b,'dataModel':{..._0x3bca0b[_0x4c69b7(0x267)]??{},..._0xfb8059?{'doc':_0xfb8059}:null}},_0x2aaba2=(0x0,_0x1bc9bf[_0x4c69b7(0x2ee)])(_0x18183a,_0x1ffe3a),_0x2b3339=(0x0,_0x1bc9bf[_0x4c69b7(0x384)])(_0x2aaba2);return{'clip':(0x0,_0x1bc9bf['shouldClipShapeTextDocument'])(_0x2aaba2,_0x2b3339),'wrapStrategy':_0x2b3339};}var _0x49294f=class extends _0x24aff0[_0x4ea115(0x21a)]{constructor(_0x323df0,_0x40075b){const _0xcb749a=_0x4ea115;super(_0x323df0,_0x40075b),_0x128b9e(this,_0xcb749a(0x404),void 0x0),_0x128b9e(this,_0xcb749a(0x169),new _0x1bc9bf['FormulaShapeAnimationController'](()=>this[_0xcb749a(0x2cc)](!0x0),()=>this[_0xcb749a(0x2ed)]())),_0x128b9e(this,_0xcb749a(0x157),!0x0),_0x128b9e(this,'_drawingType',_0x5bc1cc[_0xcb749a(0x1c8)][_0xcb749a(0x3dc)]),_0x128b9e(this,_0xcb749a(0x297),!0x0),this[_0xcb749a(0x404)]={..._0x40075b},this['_formulaAnimation'][_0xcb749a(0x309)](_0x40075b[_0xcb749a(0x222)],_0x40075b[_0xcb749a(0xa0)]!==!0x1),this[_0xcb749a(0x270)](),this[_0xcb749a(0x2ed)]();}[_0x4ea115(0x270)](){this['onTransformChange$']['subscribeEvent'](_0x2e8923=>{this['_updateSrcRectByTransform'](_0x2e8923);});}['setPrstGeom'](_0x31df1e){const _0x13acd0=_0x4ea115;this[_0x13acd0(0x404)][_0x13acd0(0x2d4)]=_0x31df1e;}[_0x4ea115(0x18a)](_0x39e852){const _0x4cdbe5=_0x4ea115;this['_props'][_0x4cdbe5(0x378)]=_0x39e852,this[_0x4cdbe5(0x2cc)](!0x0);}[_0x4ea115(0xdd)](_0x2c110e,_0x424316=!0x0){const _0x5c7395=_0x4ea115;this['_formulaAnimation']['setPresentation'](_0x2c110e,_0x424316),this[_0x5c7395(0x404)]['formulaPresentation']=_0x2c110e,this[_0x5c7395(0x2ed)](),this['makeDirty'](!0x0);}[_0x4ea115(0x2ed)](){const _0x4acd28=_0x4ea115;let _0x9ebe49=this['_props'][_0x4acd28(0xf5)],_0x439004=_0x9ebe49[_0x4acd28(0x3b4)](),_0xb1bdcc=(0x0,_0x1bc9bf[_0x4acd28(0x232)])(_0x439004==null?void 0x0:_0x439004[_0x4acd28(0x267)]),_0x1e902e=_0xb1bdcc==null?void 0x0:_0xb1bdcc[_0x4acd28(0x262)],_0x510ef7=this[_0x4acd28(0x169)][_0x4acd28(0x17c)]();if(!_0x1e902e||_0x510ef7['length']===0x0)return;_0x9ebe49[_0x4acd28(0x178)]({'width':this[_0x4acd28(0xfb)],'height':this[_0x4acd28(0x37b)]});let _0x405d75=(0x0,_0x1bc9bf[_0x4acd28(0x292)])({'documentData':_0x510ef7[_0x4acd28(0x3ca)](_0x15fa9c=>(0x0,_0x535f5e[_0x4acd28(0x3a5)])(_0x1e902e,_0x15fa9c)),'height':this[_0x4acd28(0x37b)],'shapeData':_0x9ebe49['getShapeData'](),'textRect':_0x9ebe49[_0x4acd28(0x317)]({'left':0x0,'top':0x0,'width':this[_0x4acd28(0xfb)],'height':this[_0x4acd28(0x37b)]}),'width':this[_0x4acd28(0xfb)]});if(_0x405d75){var _0x43d643;this[_0x4acd28(0xd6)](_0x405d75[_0x4acd28(0xfb)],_0x405d75[_0x4acd28(0x37b)]),(_0x43d643=this['getScene']())==null||(_0x43d643=_0x43d643['getTransformer']())==null||_0x43d643[_0x4acd28(0x173)]();}}get[_0x4ea115(0x18f)](){const _0x21792e=_0x4ea115;return this[_0x21792e(0x404)][_0x21792e(0x18f)];}get[_0x4ea115(0x199)](){const _0x2ba5c7=_0x4ea115;return this['_props'][_0x2ba5c7(0x199)];}[_0x4ea115(0x254)](_0x92fa79){const _0x4625e2=_0x4ea115;if(this['_props'][_0x4625e2(0x1c4)]==null||!this['_transformCalculateSrcRect'])return;let {width:_0x37f5b9,height:_0x13b0ab}=this,{width:_0x3bec25=0x0,height:_0x5cb536=0x0}=_0x92fa79[_0x4625e2(0x2bb)],{left:_0x4620ed=0x0,top:_0x28bc92=0x0,right:_0x1337f4=0x0,bottom:_0xc0e361=0x0}=this[_0x4625e2(0x404)][_0x4625e2(0x1c4)],_0x380a1d=_0x4620ed,_0x2b36ff=_0x28bc92,_0x531811=_0x1337f4,_0x37e760=_0xc0e361,_0x29471b=!0x1;if(_0x3bec25!==0x0&&_0x3bec25!==_0x37f5b9){let _0x44defa=_0x4620ed/_0x3bec25,_0x40d7b3=_0x1337f4/_0x3bec25;_0x380a1d=_0x37f5b9*_0x44defa,_0x531811=_0x37f5b9*_0x40d7b3,_0x29471b=!0x0;}if(_0x5cb536!==0x0&&_0x5cb536!==_0x13b0ab){let _0x124528=_0x28bc92/_0x5cb536,_0x32223a=_0xc0e361/_0x5cb536;_0x2b36ff=_0x13b0ab*_0x124528,_0x37e760=_0x13b0ab*_0x32223a,_0x29471b=!0x0;}_0x29471b&&this['setSrcRect']({'left':_0x380a1d,'top':_0x2b36ff,'right':_0x531811,'bottom':_0x37e760});}[_0x4ea115(0x1c3)](_0x487c13){const _0x29dd0b=_0x4ea115;this[_0x29dd0b(0x404)][_0x29dd0b(0x1c4)]=_0x487c13,this[_0x29dd0b(0x2cc)](!0x0);}[_0x4ea115(0x2e4)](_0x420731){const _0x3ca033=_0x4ea115;this['_props']['image']=_0x420731,this[_0x3ca033(0x2cc)](!0x0);}set[_0x4ea115(0x2eb)](_0x2de7e3){this['_transform']=_0x2de7e3;}get[_0x4ea115(0x2eb)](){const _0x5b38ef=_0x4ea115;this['_transform']||this[_0x5b38ef(0x339)]();let _0x5d4d7b=this[_0x5b38ef(0x383)][_0x5b38ef(0x1b1)]();return this[_0x5b38ef(0x1d5)](_0x5d4d7b);}get[_0x4ea115(0xf5)](){const _0x35903b=_0x4ea115;return this['_props'][_0x35903b(0xf5)];}get[_0x4ea115(0x392)](){const _0x4cfaa5=_0x4ea115;return this[_0x4cfaa5(0x404)][_0x4cfaa5(0x392)];}get[_0x4ea115(0x2a6)](){const _0x31de80=_0x4ea115;return _0x24aff0[_0x31de80(0x376)]['SHAPE'];}[_0x4ea115(0x218)](_0x1c634c,_0x315752,_0x291067,_0x4df0fb){const _0x29f2ab=_0x4ea115;let _0x58a5bf=this['_props'][_0x29f2ab(0xf5)];if(!_0x58a5bf||!_0x315752)return;let _0x25c2a1=_0x291067??this[_0x29f2ab(0xfb)],_0x595ce2=_0x4df0fb??this['height'],_0x4fc57c={'shapeType':_0x58a5bf['getShapeType'](),'width':_0x25c2a1,'height':_0x595ce2},_0x53d9c8={'renderMode':_0x349291[_0x29f2ab(0x381)][_0x29f2ab(0x2ce)],'oKey':this[_0x29f2ab(0x23f)],'image':this['_props'][_0x29f2ab(0x2c7)],'angle':this['angle']};_0x58a5bf[_0x29f2ab(0x178)](_0x4fc57c),_0x1c634c[_0x29f2ab(0x2da)]();let _0x33e7a2={'top':0x0,'left':0x0,'width':_0x25c2a1,'height':_0x595ce2},_0x2d8f29=_0x58a5bf[_0x29f2ab(0x3b3)](_0x33e7a2);_0x2d8f29?this[_0x29f2ab(0x311)](_0x1c634c,_0x2d8f29,_0x5dac1d=>{const _0x54fd63=_0x29f2ab;_0x58a5bf[_0x54fd63(0x396)](_0x5dac1d,_0x33e7a2,_0x53d9c8);}):(this[_0x29f2ab(0x136)](),_0x58a5bf['render'](_0x1c634c,_0x33e7a2,_0x53d9c8)),_0x1c634c[_0x29f2ab(0xcc)]();let _0x255be3=_0x58a5bf[_0x29f2ab(0x3b4)](),_0x5b54b6=_0x58a5bf[_0x29f2ab(0x317)](_0x33e7a2),_0xb4c75d=_0x58a5bf[_0x29f2ab(0x124)]();if(_0x255be3&&_0x5b54b6&&!_0xb4c75d){_0x1c634c[_0x29f2ab(0x2da)](),this['getState']()['flipX']&&_0x1c634c[_0x29f2ab(0x11d)](-0x1,0x1);let _0x76a40f=_0x25c2a1/0x2,_0x1e92e8=_0x595ce2/0x2;_0x1c634c[_0x29f2ab(0x1a7)](-_0x76a40f,-_0x1e92e8),_0x1c634c[_0x29f2ab(0x347)](),this['_drawShapeText'](_0x1c634c,_0x255be3,_0x5b54b6),_0x1c634c['restore']();}}['getDrawingPoints'](_0x1812c6){}['_drawShapeText'](_0x335d59,_0x3e948a,_0x5e5292){const _0x12d756=_0x4ea115;var _0x485b78;this[_0x12d756(0x404)]['isEditing']||(!((_0x485b78=_0x3e948a[_0x12d756(0x267)])!=null&&_0x485b78[_0x12d756(0x262)])&&'isRichText'in _0x3e948a&&_0x3e948a[_0x12d756(0x1e2)]===!0x1?this[_0x12d756(0x34a)](_0x335d59,_0x3e948a,_0x5e5292):this[_0x12d756(0xc7)](_0x335d59,_0x3e948a,_0x5e5292));}['_drawSimpleText'](_0x1bbb4a,_0x34d807,_0x58bf5b){const _0x514652=_0x4ea115;this[_0x514652(0xc7)](_0x1bbb4a,{..._0x34d807,'text':_0x34d807[_0x514652(0x3e5)]??'','dataModel':{'doc':(0x0,_0x1bc9bf[_0x514652(0x327)])(_0x34d807,_0x514652(0x18c)+this[_0x514652(0x23f)])}},_0x58bf5b);}[_0x4ea115(0xc7)](_0x5d417e,_0x520f43,_0x1bdde2){const _0x5ed1b4=_0x4ea115;(0x0,_0x1bc9bf['drawFormulaShapeAnimationLayers'])(_0x5d417e,this[_0x5ed1b4(0x169)],(_0x3356b8,_0xad3695)=>{const _0x4aa527=_0x5ed1b4;this[_0x4aa527(0x358)](_0x3356b8,_0x520f43,_0x1bdde2,_0xad3695);});}[_0x4ea115(0x358)](_0x357bc8,_0x755653,_0x283398,_0x385cca){const _0x49be24=_0x4ea115;let _0x365994=this[_0x49be24(0x404)][_0x49be24(0x148)];if(!_0x755653['dataModel']||!_0x365994){_0x365994||console[_0x49be24(0x17e)](_0x49be24(0x330));return;}let _0x5a2391=(0x0,_0x1bc9bf[_0x49be24(0x232)])(_0x755653[_0x49be24(0x267)]);if(!_0x5a2391)return;let _0x131460=_0x5a2391['doc'];if(!_0x131460)return;let _0x490410=(0x0,_0x535f5e[_0x49be24(0x3a5)])(_0x131460,_0x385cca),_0x49234e=_0x5a2391['va']??_0x5bc1cc['VerticalAlign'][_0x49be24(0x13e)],_0x57bebc=_0x5a2391['ha']??_0x5bc1cc[_0x49be24(0x3cc)]['LEFT'],_0x36719c=_0x2df64e(this[_0x49be24(0x404)]['shapeModel'][_0x49be24(0x165)](),_0x755653,_0x490410),_0x41974d=_0x755653[_0x49be24(0x1fb)],_0x1b1732=(0x0,_0x1bc9bf[_0x49be24(0x269)])(_0x490410,{'isHorizontal':_0x41974d!==!0x1,'textRect':_0x283398,'verticalAlign':_0x49234e,'horizontalAlign':_0x57bebc,'wrapStrategy':_0x36719c[_0x49be24(0x255)]}),_0x36cb68=new _0x5bc1cc[(_0x49be24(0x14f))](_0x1b1732),_0x2f3da5=new _0x24aff0[(_0x49be24(0xd5))](_0x36cb68),_0x5324bf=_0x24aff0[_0x49be24(0x129)]['create'](_0x2f3da5,_0x365994);_0x5324bf[_0x49be24(0x324)]();let _0xd38d5d=_0x5324bf[_0x49be24(0x11a)]()[_0x49be24(0x132)],_0x527076=(0x0,_0x1bc9bf[_0x49be24(0x313)])({'contentHeight':_0xd38d5d,'verticalAlign':_0x49234e,'viewportHeight':_0x283398[_0x49be24(0x37b)]});_0x36cb68[_0x49be24(0x306)]({'pageSize':{'width':_0x41974d===!0x1?_0x283398[_0x49be24(0x37b)]:_0x283398[_0x49be24(0xfb)],'height':(0x0,_0x1bc9bf['resolveShapeTextDocumentPageHeight'])(_0x490410,_0x527076[_0x49be24(0x226)])}}),_0x36cb68['updateDocumentDataMargin']({'t':_0x527076[_0x49be24(0x1fc)]}),_0x5324bf['calculate']();let _0x2e002b=new _0x24aff0[(_0x49be24(0x31c))](_0x49be24(0x39a)+this[_0x49be24(0x23f)],_0x5324bf,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x49be24(0x2cc)](!0x0)});_0x2e002b[_0x49be24(0xd6)](_0x283398[_0x49be24(0xfb)],_0x527076[_0x49be24(0x226)]),_0x357bc8[_0x49be24(0x2da)](),_0x357bc8[_0x49be24(0x1ad)](_0x283398[_0x49be24(0x131)],_0x283398[_0x49be24(0x304)]),_0x36719c[_0x49be24(0x307)]&&(_0x357bc8[_0x49be24(0x347)](),_0x357bc8[_0x49be24(0x1db)](0x0,_0x527076[_0x49be24(0x100)],_0x283398['width'],_0x527076[_0x49be24(0x3e8)]),_0x357bc8[_0x49be24(0x307)]()),_0x527076[_0x49be24(0x3ae)]&&_0x357bc8[_0x49be24(0x1ad)](0x0,_0x527076[_0x49be24(0x3ae)]),_0x2e002b[_0x49be24(0x257)](_0x357bc8),_0x357bc8['restore'](),_0x2e002b[_0x49be24(0x17a)](),_0x5324bf[_0x49be24(0x17a)](),_0x2f3da5[_0x49be24(0x17a)](),_0x36cb68['dispose']();}[_0x4ea115(0x396)](_0x39bb9b,_0x17bc3c,_0xec0343=!0x1){const _0x5b6d9f=_0x4ea115;if(!this[_0x5b6d9f(0x39e)])return this[_0x5b6d9f(0x2cc)](!0x1),this;let {width:_0x3c1853,height:_0x5ae4df,left:_0x1106e5,top:_0x459f76}=this,_0x2b7353=this['getRealBound']();if(_0x3c1853=_0x2b7353['width'],_0x5ae4df=_0x2b7353[_0x5b6d9f(0x37b)],_0x1106e5=_0x2b7353[_0x5b6d9f(0x131)],_0x459f76=_0x2b7353['top'],this[_0x5b6d9f(0x1f0)](_0x17bc3c)){let {top:_0x45c14d,left:_0x539136,bottom:_0x5459a3,right:_0xa9dcf6}=_0x17bc3c[_0x5b6d9f(0x3a9)];if(_0x3c1853+this[_0x5b6d9f(0x403)]+_0x1106e5<_0x539136||_0xa9dcf6<_0x1106e5||_0x5ae4df+this[_0x5b6d9f(0x403)]+_0x459f76<_0x45c14d||_0x5459a3<_0x459f76)return this;}let _0x5b2aba=_0x1106e5+_0x3c1853/0x2,_0x333f09=_0x459f76+_0x5ae4df/0x2,_0x2433f8=this[_0x5b6d9f(0x2eb)][_0x5b6d9f(0x1dd)]();if(this[_0x5b6d9f(0x404)][_0x5b6d9f(0x378)]){let _0x10aeac=this['getState'](),_0x1282c6=new _0x24aff0[(_0x5b6d9f(0xd4))]();_0x1282c6[_0x5b6d9f(0x3b8)]({..._0x10aeac}),_0x2433f8=_0x1282c6[_0x5b6d9f(0x1dd)]();}return _0x39bb9b[_0x5b6d9f(0x2da)](),this['_props'][_0x5b6d9f(0xf5)][_0x5b6d9f(0x183)]===!0x0||_0x39bb9b[_0x5b6d9f(0x2eb)](_0x2433f8[0x0],_0x2433f8[0x1],_0x2433f8[0x2],_0x2433f8[0x3],_0x5b2aba,_0x333f09),this[_0x5b6d9f(0x218)](_0x39bb9b,_0x17bc3c,_0x3c1853,_0x5ae4df),_0x39bb9b[_0x5b6d9f(0xcc)](),this['makeDirty'](!0x1),this;}['getInverseCoord'](_0xf02ddf){const _0x206140=_0x4ea115;let {left:_0x4b4192,top:_0x5da89f,width:_0xcd335f,height:_0x393524}=this[_0x206140(0x331)](),_0x1fc4e1=this[_0x206140(0x2eb)]['getMatrix'](),_0x48731e=_0x4b4192+_0xcd335f/0x2,_0x29c189=_0x5da89f+_0x393524/0x2,_0xef7bdb=new _0x24aff0[(_0x206140(0xd4))]([_0x1fc4e1[0x0],_0x1fc4e1[0x1],_0x1fc4e1[0x2],_0x1fc4e1[0x3],_0x48731e,_0x29c189]),_0xf84c26=this['getParent']();return(this[_0x206140(0xf8)]&&(_0xf84c26==null?void 0x0:_0xf84c26['classType'])===_0x24aff0['RENDER_CLASS_TYPE'][_0x206140(0x142)]?_0xf84c26[_0x206140(0x3fb)]['multiply'](_0xef7bdb):_0xef7bdb)['invert']()['applyPoint'](_0xf02ddf);}[_0x4ea115(0xe0)](_0xad239d){const _0x5da1e3=_0x4ea115;let {left:_0x14d7ac,top:_0x33fdd9,width:_0x352cc7,height:_0x1b6b94}=this[_0x5da1e3(0x331)](),_0x4d7fc9=_0x14d7ac+_0x352cc7/0x2,_0x16fed7=_0x33fdd9+_0x1b6b94/0x2,_0x2213bc=this[_0x5da1e3(0x2eb)][_0x5da1e3(0x1dd)](),_0x1ec7c3=new _0x24aff0['Transform']([_0x2213bc[0x0],_0x2213bc[0x1],_0x2213bc[0x2],_0x2213bc[0x3],_0x4d7fc9,_0x16fed7]),_0x5623c6=this[_0x5da1e3(0x15c)](),_0x59289b=(this[_0x5da1e3(0xf8)]&&(_0x5623c6==null?void 0x0:_0x5623c6[_0x5da1e3(0x2a6)])===_0x24aff0[_0x5da1e3(0x376)][_0x5da1e3(0x142)]?_0x5623c6[_0x5da1e3(0x3fb)][_0x5da1e3(0xa5)](_0x1ec7c3):_0x1ec7c3)[_0x5da1e3(0x15f)]()[_0x5da1e3(0x3b2)](_0xad239d),_0x445450=_0x352cc7/0x2,_0x381190=_0x1b6b94/0x2,_0x3de6d2=this['_props'][_0x5da1e3(0xf5)];return _0x3de6d2&&_0x3de6d2[_0x5da1e3(0x124)]()?_0x3de6d2[_0x5da1e3(0x1ba)](_0x59289b['x'],_0x59289b['y'],_0x352cc7,_0x1b6b94):_0x59289b['x']>=-_0x445450-this[_0x5da1e3(0x403)]/0x2&&_0x59289b['x']<=_0x445450+this['strokeWidth']/0x2&&_0x59289b['y']>=-_0x381190-this['strokeWidth']/0x2&&_0x59289b['y']<=_0x381190+this['strokeWidth']/0x2;}['dispose'](){const _0x18ef63=_0x4ea115;this[_0x18ef63(0x169)][_0x18ef63(0x17a)](),this['_props'][_0x18ef63(0xf5)]=null,super[_0x18ef63(0x17a)]();}};let _0x3d330d=class extends _0x5bc1cc['Disposable']{constructor(_0x5af381,_0x3568c9,_0x4304e2,_0x2d830a){const _0x1d7a5b=_0x4ea115;super(),this['_context']=_0x5af381,this[_0x1d7a5b(0x275)]=_0x3568c9,this[_0x1d7a5b(0x3b7)]=_0x4304e2,this[_0x1d7a5b(0xcb)]=_0x2d830a,_0x128b9e(this,_0x1d7a5b(0x1d1),null),_0x128b9e(this,_0x1d7a5b(0x19e),null),_0x128b9e(this,_0x1d7a5b(0x40a),null),_0x128b9e(this,_0x1d7a5b(0x1c7),void 0x0),_0x128b9e(this,_0x1d7a5b(0x127),[]),_0x128b9e(this,'_baseShapeLeft',0x0),_0x128b9e(this,_0x1d7a5b(0x159),0x0),_0x128b9e(this,_0x1d7a5b(0x2af),0x0),_0x128b9e(this,_0x1d7a5b(0xdf),0x0),_0x128b9e(this,'_isStartAdjusting',!0x1),_0x128b9e(this,'_isShouldShowDrawingShapeAdjust',!0x1),_0x128b9e(this,_0x1d7a5b(0x200),void 0x0),_0x128b9e(this,'_activeShapeModel',void 0x0),_0x128b9e(this,_0x1d7a5b(0x1aa),void 0x0),_0x128b9e(this,_0x1d7a5b(0x193),void 0x0),this[_0x1d7a5b(0x180)](),this[_0x1d7a5b(0x160)]();}[_0x4ea115(0xd1)](){this['_clearShapeAdjustControls']();}[_0x4ea115(0x1b8)](){const _0x1747d6=_0x4ea115;this[_0x1747d6(0x212)](!0x0);}[_0x4ea115(0x22a)](_0x28151d,_0x13d9c6,_0x43fcf9){const _0x229213=_0x4ea115;var _0x14d59a;return(_0x14d59a=this['_docsShapeService'][_0x229213(0x189)](_0x28151d,_0x13d9c6,_0x43fcf9))==null?void 0x0:_0x14d59a[_0x229213(0x98)]();}[_0x4ea115(0x9f)](_0x2ee213,_0x3c2450,_0x57112e,_0x4ac5e5){const _0xc44a1=_0x4ea115;var _0x531596;return(_0x531596=this[_0xc44a1(0x3b7)][_0xc44a1(0x189)](_0x2ee213,_0x3c2450,_0x57112e))==null?void 0x0:_0x531596[_0xc44a1(0x1d2)](_0x4ac5e5);}[_0x4ea115(0x369)](){const _0x11bcec=_0x4ea115;return this['_unitId']===null||this['_subUnitId']===null||this['_activeShapeId']===null?null:this['_drawingManagerService'][_0x11bcec(0x3ba)]({'unitId':this[_0x11bcec(0x19e)],'subUnitId':this[_0x11bcec(0x40a)],'drawingId':this[_0x11bcec(0x1d1)]})??null;}[_0x4ea115(0x1a5)](_0x24a552){const _0x25a258=_0x4ea115;if(this[_0x25a258(0x19e)]===null||this[_0x25a258(0x40a)]===null||this[_0x25a258(0x1d1)]===null)return null;let _0x3db5c4=(0x0,_0x3cf577[_0x25a258(0x14a)])({'unitId':this[_0x25a258(0x19e)],'subUnitId':this[_0x25a258(0x40a)],'drawingId':this['_activeShapeId']}),_0x5c3263=_0x24a552['getObjectIncludeInGroup'](_0x3db5c4);return _0x5c3263 instanceof _0x49294f?_0x5c3263:null;}[_0x4ea115(0x3cd)](_0x21018e=!0x1){const _0x30e8de=_0x4ea115;if(this['_unitId']===null||this[_0x30e8de(0x40a)]===null||this[_0x30e8de(0x1d1)]===null)return;let _0xabfe95=this[_0x30e8de(0x369)]();if((_0xabfe95==null?void 0x0:_0xabfe95[_0x30e8de(0x3a3)])!==_0x5bc1cc[_0x30e8de(0x1c8)][_0x30e8de(0x3dc)]||!_0xabfe95[_0x30e8de(0x2eb)])return;let _0x4a8667=this[_0x30e8de(0x3b7)][_0x30e8de(0x189)](this[_0x30e8de(0x19e)],this['_subUnitId'],this['_activeShapeId']);if(!_0x4a8667||_0x4a8667[_0x30e8de(0x124)]())return;let {left:_0x3da2d7=0x0,top:_0x42acf6=0x0,width:_0x1be51b=0x0,height:_0x73c50=0x0,flipX:_0x22e4c1,flipY:_0x5fff69,angle:_0x271903=0x0}=_0xabfe95[_0x30e8de(0x2eb)];(_0x21018e||!this[_0x30e8de(0x1c7)])&&(_0x4a8667[_0x30e8de(0x178)]({'width':_0x1be51b,'height':_0x73c50}),this[_0x30e8de(0x1c7)]=_0x4a8667[_0x30e8de(0x98)]());let _0x287c37=this[_0x30e8de(0x1c7)];if(!(_0x287c37!=null&&_0x287c37[_0x30e8de(0xbe)]))return;let {scene:_0x9dd424}=this[_0x30e8de(0x334)];for(let _0x49a4f7 of _0x287c37){let _0x52fe18=this['_toVisualAdjustPoint'](_0x49a4f7,_0x1be51b,_0x73c50,!!_0x22e4c1,!!_0x5fff69,_0x271903);this['_addShapeAdjustControl'](_0x9dd424,_0x52fe18,_0x52fe18[_0x30e8de(0x2f6)],_0x3da2d7,_0x42acf6,this[_0x30e8de(0x19e)],this['_subUnitId']);}}[_0x4ea115(0x399)](_0x2e4fe2,_0x41d49d,_0x371f9c,_0x2d3853,_0x233a95,_0x3eeb5f){const _0x5141c1=_0x4ea115;let _0x3f7e2c=_0x2e4fe2['x'],_0x26ca91=_0x2e4fe2['y'];if(_0x2d3853&&(_0x3f7e2c=_0x41d49d-_0x3f7e2c),_0x233a95&&(_0x26ca91=_0x371f9c-_0x26ca91),_0x3eeb5f!==0x0){let _0x46454a=_0x41d49d/0x2,_0x5e809b=_0x371f9c/0x2,_0x3ba175=_0x3eeb5f*Math['PI']/0xb4,_0x421241=Math[_0x5141c1(0x3d6)](_0x3ba175),_0x3cb5ce=Math['sin'](_0x3ba175),_0xd3a919=_0x3f7e2c-_0x46454a,_0x41fa4b=_0x26ca91-_0x5e809b;_0x3f7e2c=_0x46454a+(_0xd3a919*_0x421241-_0x41fa4b*_0x3cb5ce),_0x26ca91=_0x5e809b+(_0xd3a919*_0x3cb5ce+_0x41fa4b*_0x421241);}return{'x':_0x3f7e2c,'y':_0x26ca91,'adjName':_0x2e4fe2[_0x5141c1(0x2f6)]};}['_updateShapeAdjustControls'](_0x317c43=!0x1){const _0x20b414=_0x4ea115;_0x317c43&&this[_0x20b414(0x225)](),this['_createShapeAdjustControls'](_0x317c43);}[_0x4ea115(0x2fd)](_0x586009,_0x5f5c5c,_0x307642,_0x26ee65,_0x301c60,_0x210861,_0x1a1022){const _0x2f6807=_0x4ea115;if(!this[_0x2f6807(0x1d1)])return;let _0x19a118='doc-shape-adjust-point-'+this[_0x2f6807(0x1d1)]+'-'+_0x307642,_0x53aeaf=_0x586009['getObjectIncludeInGroup'](_0x19a118);if(_0x53aeaf){_0x53aeaf['transformByState']({'left':_0x5f5c5c['x']+_0x26ee65-_0x349291['ShapeDefaultConfig'][_0x2f6807(0x1ef)],'top':_0x5f5c5c['y']+_0x301c60-_0x349291['ShapeDefaultConfig'][_0x2f6807(0x1ef)]}),_0x53aeaf[_0x2f6807(0x2cc)](!0x0);return;}let _0x5d368b=new _0x5c2dc0(_0x19a118,{'left':_0x5f5c5c['x']+_0x26ee65-_0x349291['ShapeDefaultConfig'][_0x2f6807(0x1ef)],'top':_0x5f5c5c['y']+_0x301c60-_0x349291[_0x2f6807(0x1f3)][_0x2f6807(0x1ef)],'adjName':_0x307642,'shapeId':this[_0x2f6807(0x1d1)],'unitId':_0x210861,'subUnitId':_0x1a1022,'width':_0x349291['ShapeDefaultConfig'][_0x2f6807(0x1ef)]+0x8,'height':_0x349291[_0x2f6807(0x1f3)]['adjHandleSize']+0x8,'zIndex':_0x24aff0[_0x2f6807(0x1e8)]+0x1,'evented':!0x0});this[_0x2f6807(0x127)][_0x2f6807(0x39b)](_0x5d368b),this['_attachAdjustEvent'](_0x5d368b,_0x586009,_0x307642),_0x586009[_0x2f6807(0x337)](_0x5d368b,_0x24aff0[_0x2f6807(0x1e8)]+0x1);}[_0x4ea115(0x225)](){const _0x2efdd9=_0x4ea115;this[_0x2efdd9(0x127)][_0x2efdd9(0x3d7)](_0xc9caa4=>_0xc9caa4[_0x2efdd9(0x17a)]()),this['_adjustPointObjects']=[];}[_0x4ea115(0x3f2)](){const _0x4bf390=_0x4ea115;this[_0x4bf390(0x3cd)]();}[_0x4ea115(0x1fd)](_0x108bb0,_0x41210e,_0x11b0b6){const _0x4e98b1=_0x4ea115;let _0x4cd781=_0x24aff0['Vector2'][_0x4e98b1(0x2e6)]([_0x41210e,_0x11b0b6]),_0x380602=_0x108bb0[_0x4e98b1(0x1bb)](_0x4cd781)??_0x108bb0[_0x4e98b1(0x259)]()[0x0];return(_0x380602==null?void 0x0:_0x380602['transformVector2SceneCoord'](_0x4cd781))??_0x4cd781;}['_attachAdjustEvent'](_0x3cf876,_0x96a1e8,_0x3daa2e){const _0x4d98db=_0x4ea115;this['disposeWithMe']((0x0,_0x5bc1cc['toDisposable'])(_0x3cf876['onPointerDown$'][_0x4d98db(0x3bb)]((_0x545230,_0x3060b9)=>{const _0x5f37c0=_0x4d98db;var _0x1a21a5;let _0x3aae40=_0x3cf876[_0x5f37c0(0x3ec)]();this[_0x5f37c0(0x200)]=this[_0x5f37c0(0x9f)](_0x3aae40[_0x5f37c0(0x18f)],_0x3aae40[_0x5f37c0(0x199)],_0x3aae40[_0x5f37c0(0x408)],_0x3daa2e),this[_0x5f37c0(0x2c1)]=this[_0x5f37c0(0x3b7)]['getShapeModel'](_0x3aae40[_0x5f37c0(0x18f)],_0x3aae40[_0x5f37c0(0x199)],_0x3aae40[_0x5f37c0(0x408)]);let _0xe4509c=this[_0x5f37c0(0x369)](),_0x138c12=_0xe4509c==null?void 0x0:_0xe4509c['transform'];if(!_0xe4509c||!_0x138c12||!this[_0x5f37c0(0x2c1)])return;this[_0x5f37c0(0x268)]=_0x138c12[_0x5f37c0(0x131)]||0x0,this[_0x5f37c0(0x159)]=_0x138c12['top']||0x0,this[_0x5f37c0(0x2af)]=_0x138c12[_0x5f37c0(0xfb)]||0x0,this[_0x5f37c0(0xdf)]=_0x138c12[_0x5f37c0(0x37b)]||0x0;let _0xcdb161=!!_0x138c12[_0x5f37c0(0x27c)],_0x552a65=!!_0x138c12[_0x5f37c0(0x3df)],_0xd1a433=_0x138c12['angle']||0x0,_0x3b6f5c={...((_0x1a21a5=this[_0x5f37c0(0x200)])==null?void 0x0:_0x1a21a5[_0x5f37c0(0x1b6)])??{}};this[_0x5f37c0(0x168)]=!0x0,_0x96a1e8['disableObjectsEvent'](),this[_0x5f37c0(0x1aa)]=_0x96a1e8['onPointerMove$'][_0x5f37c0(0x3bb)]((_0x1fa13b,_0x3cf05d)=>{const _0x4d6363=_0x5f37c0;var _0x2ac2ad;if(!this[_0x4d6363(0x168)]||!this[_0x4d6363(0x2c1)]||!this['_activeAdjustInfo'])return;_0x96a1e8[_0x4d6363(0x345)](),_0x96a1e8[_0x4d6363(0x207)](_0x24aff0['CURSOR_TYPE']['CROSSHAIR']);let _0x3f548f=this[_0x4d6363(0x1fd)](_0x96a1e8,_0x1fa13b['offsetX'],_0x1fa13b[_0x4d6363(0x266)]),_0x38aaaf=_0x3f548f['x']-this[_0x4d6363(0x268)],_0x4e22fd=_0x3f548f['y']-this[_0x4d6363(0x159)];if(_0xd1a433!==0x0){let _0x1e97b2=this[_0x4d6363(0x2af)]/0x2,_0x33b48a=this[_0x4d6363(0xdf)]/0x2,_0xe1644d=_0xd1a433*Math['PI']/0xb4,_0x3394fa=Math[_0x4d6363(0x3d6)](_0xe1644d),_0x6ec872=Math[_0x4d6363(0x2a8)](_0xe1644d),_0xb70c69=_0x38aaaf-_0x1e97b2,_0x5a5d56=_0x4e22fd-_0x33b48a;_0x38aaaf=_0x1e97b2+(_0xb70c69*_0x3394fa+_0x5a5d56*_0x6ec872),_0x4e22fd=_0x33b48a+(-_0xb70c69*_0x6ec872+_0x5a5d56*_0x3394fa);}_0xcdb161&&(_0x38aaaf=this[_0x4d6363(0x2af)]-_0x38aaaf),_0x552a65&&(_0x4e22fd=this[_0x4d6363(0xdf)]-_0x4e22fd);let _0x4ec4d7={'left':0x0,'top':0x0,'width':this[_0x4d6363(0x2af)],'height':this['_baseShapeHeight']},_0x148fc4=this[_0x4d6363(0x2c1)][_0x4d6363(0x11b)](_0x4ec4d7,{'x':_0x38aaaf,'y':_0x4e22fd},this['_activeAdjustInfo'],_0xcdb161,_0x552a65);if(Object[_0x4d6363(0x1ae)](_0x148fc4)[_0x4d6363(0xbe)]!==0x0){for(let [_0x29254d,_0x9e69b4]of Object[_0x4d6363(0x37a)](_0x148fc4))this[_0x4d6363(0x2c1)][_0x4d6363(0x24d)](_0x29254d,_0x9e69b4);this[_0x4d6363(0x2c1)][_0x4d6363(0x178)]({'width':this[_0x4d6363(0x2af)],'height':this[_0x4d6363(0xdf)]}),(_0x2ac2ad=this[_0x4d6363(0x1a5)](_0x96a1e8))==null||_0x2ac2ad[_0x4d6363(0x2cc)](!0x0),this[_0x4d6363(0x1c7)]=this[_0x4d6363(0x22a)](_0x3aae40[_0x4d6363(0x18f)],_0x3aae40[_0x4d6363(0x199)],_0x3aae40[_0x4d6363(0x408)]),this[_0x4d6363(0x3f2)](),_0x3cf05d[_0x4d6363(0xcd)]();}}),this[_0x5f37c0(0x193)]=_0x96a1e8[_0x5f37c0(0x38c)]['subscribeEvent']((_0x42b0fd,_0x2461fe)=>{const _0x59b73e=_0x5f37c0;var _0x2fcb0f,_0x3555fa;(_0x2fcb0f=this[_0x59b73e(0x1aa)])==null||_0x2fcb0f[_0x59b73e(0xa2)](),(_0x3555fa=this[_0x59b73e(0x193)])==null||_0x3555fa[_0x59b73e(0xa2)](),_0x96a1e8[_0x59b73e(0x26a)]();let _0x2f8f84=this[_0x59b73e(0x200)];if(_0x2f8f84&&this['_activeShapeModel']){let _0x2ecbc5={};for(let _0x4b15e3 of Object['keys'](_0x2f8f84['currentAdjustValues'])){let _0x297f28=this[_0x59b73e(0x2c1)][_0x59b73e(0xb6)](_0x4b15e3);_0x297f28!==void 0x0&&(_0x2ecbc5[_0x4b15e3]=_0x297f28);}Object[_0x59b73e(0x1ae)](_0x2ecbc5)[_0x59b73e(0xbe)]>0x0&&_0x9420a0(this['_commandService'],_0x3aae40[_0x59b73e(0x18f)],_0x3aae40[_0x59b73e(0x199)],_0x3aae40['drawingId'],{'oldShapeData':{'adjustValues':_0x3b6f5c}},{'adjustValues':_0x2ecbc5});}this['_activeAdjustInfo']=void 0x0,this[_0x59b73e(0x2c1)]=void 0x0,this[_0x59b73e(0x168)]=!0x1,_0x96a1e8[_0x59b73e(0x27a)](),_0x2461fe[_0x59b73e(0xcd)]();}),_0x3060b9[_0x5f37c0(0xcd)]();})));}[_0x4ea115(0x160)](){const _0x3ca15b=_0x4ea115;let {scene:_0x50a1e7}=this[_0x3ca15b(0x334)],_0x1b5fec=_0x50a1e7[_0x3ca15b(0x8b)]();this[_0x3ca15b(0x103)](_0x1b5fec['changeStart$'][_0x3ca15b(0x3a6)](_0x10892c=>{const _0x578bc7=_0x3ca15b;this['_createShapeAdjustControls'](),_0x10892c[_0x578bc7(0x24a)]!==null&&_0x10892c[_0x578bc7(0x24a)][_0x578bc7(0x25e)]===0x1&&_0x10892c[_0x578bc7(0x24a)][_0x578bc7(0x3f5)]()[_0x578bc7(0x3eb)]()[_0x578bc7(0x115)]instanceof _0x49294f&&(this[_0x578bc7(0x350)]=!0x0);})),this[_0x3ca15b(0x103)](_0x1b5fec[_0x3ca15b(0x102)][_0x3ca15b(0x3a6)](()=>{const _0x2aef1f=_0x3ca15b;this[_0x2aef1f(0x350)]&&this[_0x2aef1f(0x225)]();})),this['disposeWithMe'](_0x50a1e7['onPointerUp$'][_0x3ca15b(0x3bb)](()=>{const _0x2bd214=_0x3ca15b;this[_0x2bd214(0x350)]&&(this[_0x2bd214(0x350)]=!0x1,this[_0x2bd214(0x3cd)]());})),this[_0x3ca15b(0x103)](_0x1b5fec['changeEnd$'][_0x3ca15b(0x3a6)](()=>{const _0x54115d=_0x3ca15b;this['_unitId']&&this['_subUnitId']&&this['_activeShapeId']&&(this[_0x54115d(0x1c7)]=this[_0x54115d(0x22a)](this[_0x54115d(0x19e)],this[_0x54115d(0x40a)],this[_0x54115d(0x1d1)]),this[_0x54115d(0x3f2)]());}));}[_0x4ea115(0x180)](){const _0x3bb01f=_0x4ea115;this[_0x3bb01f(0x103)](this[_0x3bb01f(0xcb)][_0x3bb01f(0x1b5)](_0x30027d=>{const _0x131803=_0x3bb01f;if(_0x30027d['id']!==_0x1897fd[_0x131803(0x130)]['id'])return;let {unitId:_0x193daa,shapeId:_0x304c24}=_0x30027d[_0x131803(0x405)];_0x193daa===this[_0x131803(0x19e)]&&_0x304c24===this[_0x131803(0x1d1)]&&this[_0x131803(0x1b8)]();})),this['disposeWithMe'](this[_0x3bb01f(0x275)][_0x3bb01f(0x2ff)][_0x3bb01f(0x3a6)](_0x8480d=>{const _0x419d4f=_0x3bb01f;if(_0x8480d[_0x419d4f(0xbe)]===0x1){let _0x4848b9=_0x8480d[0x0],_0x11c3e2=this[_0x419d4f(0x275)][_0x419d4f(0x3ba)](_0x4848b9);if((_0x11c3e2==null?void 0x0:_0x11c3e2['drawingType'])===_0x5bc1cc['DrawingTypeEnum']['DRAWING_SHAPE']){this[_0x419d4f(0x1d1)]=_0x4848b9[_0x419d4f(0x408)],this[_0x419d4f(0x19e)]=_0x4848b9[_0x419d4f(0x18f)],this[_0x419d4f(0x40a)]=_0x4848b9[_0x419d4f(0x199)],this[_0x419d4f(0x1c7)]=this['_getShapeAdjustPointListById'](_0x4848b9[_0x419d4f(0x18f)],_0x4848b9[_0x419d4f(0x199)],_0x4848b9[_0x419d4f(0x408)]),this[_0x419d4f(0x225)](),this[_0x419d4f(0x3cd)]();return;}}this[_0x419d4f(0x1d1)]=null,this[_0x419d4f(0x1c7)]=void 0x0,this[_0x419d4f(0x19e)]=null,this[_0x419d4f(0x40a)]=null,this['_clearShapeAdjustControls']();})),this[_0x3bb01f(0x103)]((0x0,_0x587404[_0x3bb01f(0x105)])(this[_0x3bb01f(0x275)][_0x3bb01f(0x176)],this['_drawingManagerService']['refreshTransform$'])[_0x3bb01f(0x3a6)](_0x1fc6a3=>{const _0x4502e9=_0x3bb01f;var _0x224d36;let _0x4eb207=_0x1fc6a3[_0x4502e9(0x99)](_0x2e4afc=>_0x2e4afc[_0x4502e9(0x408)]===this[_0x4502e9(0x1d1)]&&_0x2e4afc[_0x4502e9(0x18f)]===this[_0x4502e9(0x19e)]&&_0x2e4afc[_0x4502e9(0x199)]===this[_0x4502e9(0x40a)]);_0x4eb207&&((_0x224d36=this['_drawingManagerService'][_0x4502e9(0x3ba)](_0x4eb207))==null?void 0x0:_0x224d36['drawingType'])===_0x5bc1cc[_0x4502e9(0x1c8)][_0x4502e9(0x3dc)]&&this['_updateShapeAdjustControls'](!0x0);})),this['disposeWithMe'](this[_0x3bb01f(0x275)]['remove$'][_0x3bb01f(0x3a6)](_0x190b93=>{const _0x58bb95=_0x3bb01f;for(let _0x6faa8b of _0x190b93)this[_0x58bb95(0x1d1)]===_0x6faa8b['drawingId']&&(this[_0x58bb95(0x1d1)]=null,this[_0x58bb95(0x1c7)]=void 0x0,this[_0x58bb95(0x19e)]=null,this[_0x58bb95(0x40a)]=null,this[_0x58bb95(0x225)]());}));}};_0x3d330d=_0x555290([_0x379978(0x1,_0x3cf577[_0x4ea115(0x214)]),_0x379978(0x2,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x1897fd['DocsShapeService'])),_0x379978(0x3,_0x5bc1cc['ICommandService'])],_0x3d330d);let _0x213530=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x47750f,_0x384669){const _0x548fb4=_0x4ea115;super(),this[_0x548fb4(0x185)]=_0x47750f,this['_instanceService']=_0x384669,_0x128b9e(this,_0x548fb4(0x37f),new _0x587404[(_0x548fb4(0x3d9))](null)),_0x128b9e(this,'editingParams$',this['_editingParams$']['asObservable']()),_0x128b9e(this,_0x548fb4(0x40e),new _0x587404['BehaviorSubject'](!0x1)),_0x128b9e(this,_0x548fb4(0x34e),this[_0x548fb4(0x40e)][_0x548fb4(0x13c)]()),_0x128b9e(this,_0x548fb4(0x35a),void 0x0),this[_0x548fb4(0x103)](this[_0x548fb4(0x185)][_0x548fb4(0x2b3)][_0x548fb4(0x3a6)](()=>{const _0x28cd64=_0x548fb4;let _0x4b783e=this[_0x28cd64(0x3db)]();_0x4b783e!=null&&_0x4b783e['visible']&&!this[_0x28cd64(0x220)](_0x4b783e)&&this[_0x28cd64(0x18a)](null);}));}[_0x4ea115(0x17a)](){const _0x48ac1f=_0x4ea115;this[_0x48ac1f(0x354)](),this[_0x48ac1f(0x37f)]['next'](null),this[_0x48ac1f(0x37f)]['complete'](),this['_onSavingEditorData$'][_0x48ac1f(0x3eb)](!0x1),this['_onSavingEditorData$']['complete'](),super[_0x48ac1f(0x17a)]();}[_0x4ea115(0x18a)](_0x5cd3eb){const _0x209325=_0x4ea115;(_0x5cd3eb==null||!_0x5cd3eb[_0x209325(0x39e)]||this[_0x209325(0x220)](_0x5cd3eb))&&(this[_0x209325(0x354)](),this['_editingParams$'][_0x209325(0x3eb)](_0x5cd3eb),(_0x5cd3eb==null||_0x5cd3eb['visible']&&this[_0x209325(0x40e)]['getValue']())&&this[_0x209325(0x40e)][_0x209325(0x3eb)](!0x1));}[_0x4ea115(0x228)](_0x57fc34){const _0x1c0915=_0x4ea115;this['_onSavingEditorData$'][_0x1c0915(0x3eb)](_0x57fc34);}[_0x4ea115(0x3db)](){const _0x20f1e3=_0x4ea115;return this[_0x20f1e3(0x37f)]['getValue']();}[_0x4ea115(0x220)](_0x1f1af1){const _0x12ff33=_0x4ea115;let _0x1cb7f8=this[_0x12ff33(0x352)][_0x12ff33(0x1f8)](_0x1f1af1[_0x12ff33(0x18f)],_0x5bc1cc[_0x12ff33(0x1ee)][_0x12ff33(0x310)]);if(!_0x1cb7f8)return!0x0;let _0x3498fd=(0x0,_0x42aa76[_0x12ff33(0x2d2)])(_0x1cb7f8,_0x1f1af1[_0x12ff33(0x392)]);return(0x0,_0x42aa76['canEditDocumentTargets'])(this['_permissionService'],_0x1f1af1[_0x12ff33(0x18f)],[...(0x0,_0x42aa76[_0x12ff33(0x373)])(_0x1cb7f8,_0x3498fd,_0x12ff33(0x31d),_0x1f1af1[_0x12ff33(0x392)]),(0x0,_0x42aa76[_0x12ff33(0x28b)])(_0x3498fd,_0x12ff33(0x31d),_0x1f1af1['shapeId'])]);}[_0x4ea115(0x3b0)](_0x4f86fe){const _0x51dd49=_0x4ea115;let _0x1a38cd=this[_0x51dd49(0x3db)]();_0x1a38cd&&this[_0x51dd49(0x35a)]===void 0x0&&(this[_0x51dd49(0x228)](!0x0),this[_0x51dd49(0x35a)]=requestAnimationFrame(()=>{const _0x58cdc5=_0x51dd49;this[_0x58cdc5(0x35a)]=void 0x0,this[_0x58cdc5(0x3db)]()===_0x1a38cd&&this[_0x58cdc5(0x18a)](null);}));}[_0x4ea115(0x354)](){const _0x23a573=_0x4ea115;this['_completionFrame']!==void 0x0&&(cancelAnimationFrame(this[_0x23a573(0x35a)]),this[_0x23a573(0x35a)]=void 0x0);}['cancelEditing'](){const _0x409cb9=_0x4ea115;this[_0x409cb9(0x3db)]()&&this[_0x409cb9(0x18a)](null);}};_0x213530=_0x555290([_0x379978(0x0,_0x5bc1cc['IPermissionService']),_0x379978(0x1,_0x5bc1cc[_0x4ea115(0x18e)])],_0x213530);function _0x352cb0(_0x2b7906){const _0xea74f9=_0x4ea115;return _0x2b7906[_0xea74f9(0x1ce)]===!0x0||_0x2b7906[_0xea74f9(0x1ce)]===_0x5bc1cc[_0xea74f9(0x26e)]['TRUE']||_0x2b7906[_0xea74f9(0x109)]===_0x5bc1cc[_0xea74f9(0x342)]['WRAP_NONE']&&_0x2b7906['behindDoc']===_0x5bc1cc[_0xea74f9(0x26e)]['TRUE']?_0x341d83[_0xea74f9(0x3e7)]-0x1:_0x24aff0[_0xea74f9(0x1e8)];}let _0x2d120d=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x50c788,_0x310cff,_0x38fec3,_0x57ef,_0x5d3ff2,_0x5df209,_0x3feaf1){const _0x3a57fb=_0x4ea115;super(),this[_0x3a57fb(0x275)]=_0x50c788,this[_0x3a57fb(0x3b7)]=_0x310cff,this[_0x3a57fb(0x260)]=_0x38fec3,this[_0x3a57fb(0x236)]=_0x57ef,this[_0x3a57fb(0x286)]=_0x5d3ff2,this[_0x3a57fb(0x149)]=_0x5df209,this[_0x3a57fb(0x355)]=_0x3feaf1,_0x128b9e(this,_0x3a57fb(0x2f5),new Map()),this[_0x3a57fb(0x103)](this[_0x3a57fb(0x355)]['presentationChanged$'][_0x3a57fb(0x3a6)](_0x54c893=>{const _0x4f2fce=_0x3a57fb;var _0xa26330;(_0xa26330=this['_formulaShapes'][_0x4f2fce(0x20e)](this['_formulaKey'](_0x54c893[_0x4f2fce(0x18f)],_0x54c893[_0x4f2fce(0x199)],_0x54c893[_0x4f2fce(0x392)])))==null||_0xa26330[_0x4f2fce(0x3d7)](_0x32062a=>_0x32062a[_0x4f2fce(0xdd)](_0x54c893[_0x4f2fce(0x2c0)],_0x54c893[_0x4f2fce(0x296)]));})),this[_0x3a57fb(0x103)](this['_drawingManagerService']['remove$']['subscribe'](_0x367475=>{_0x367475['forEach'](_0x4497db=>{const _0x158234=_0x9d29;this[_0x158234(0x355)]['unregister']({'unitId':_0x4497db[_0x158234(0x18f)],'subUnitId':_0x4497db[_0x158234(0x199)],'shapeId':_0x4497db['drawingId']}),this['_formulaShapes'][_0x158234(0x284)](this[_0x158234(0x252)](_0x4497db[_0x158234(0x18f)],_0x4497db[_0x158234(0x199)],_0x4497db[_0x158234(0x408)]));});}));}['renderDrawingShape'](_0x34151b,_0xe4f8f5){const _0x1e1a11=_0x4ea115;let {transform:_0x57c64c,drawingType:_0x30cdfc,srcRect:_0x20dc38,prstGeom:_0x2a4677,groupId:_0x161fbd,unitId:_0x1dbf87,subUnitId:_0x144957,drawingId:_0x49bd5c,isMultiTransform:_0x33992b,transforms:_0x1e924f,hidden:_0x3356bf,selectable:_0xbf69e1}=_0x34151b;if(_0x30cdfc!==_0x5bc1cc[_0x1e1a11(0x1c8)][_0x1e1a11(0x3dc)]||!this[_0x1e1a11(0x275)][_0x1e1a11(0x2b0)]()||_0x57c64c==null)return;let _0x2ce4e9=this[_0x1e1a11(0x275)]['getDrawingEditable'](),_0x8f037c=_0x33992b&&_0x1e924f?_0x1e924f:[_0x57c64c],_0x3cad7d=[];for(let [_0x1607ea,_0x2962ff]of _0x8f037c[_0x1e1a11(0x37a)]()){let {left:_0x518339,top:_0x1d2d13,width:_0x153c4a,height:_0x309639,angle:_0x5096fc,flipX:_0x375849,flipY:_0x167148,skewX:_0x3c8e66,skewY:_0x1309a1}=_0x2962ff,_0x1963ef=(0x0,_0x3cf577[_0x1e1a11(0x14a)])({'unitId':_0x1dbf87,'subUnitId':_0x144957,'drawingId':_0x49bd5c},_0x33992b?_0x1607ea:void 0x0),_0x233040=_0xe4f8f5[_0x1e1a11(0x179)](_0x1963ef);if(_0x233040!=null){let _0x5548c8={'unitId':_0x1dbf87,'subUnitId':_0x144957,'shapeId':_0x49bd5c};_0x233040 instanceof _0x49294f&&this[_0x1e1a11(0x172)](_0x233040,_0x5548c8),_0x233040[_0x1e1a11(0x329)]({'left':_0x518339,'top':_0x1d2d13,'width':_0x153c4a,'height':_0x309639,'angle':_0x5096fc,'flipX':_0x375849,'flipY':_0x167148,'skewX':_0x3c8e66,'skewY':_0x1309a1});continue;}let _0x130c7b=this['_drawingManagerService'][_0x1e1a11(0xbc)](_0x1dbf87,_0x144957),_0x4fb036=_0x130c7b['indexOf'](_0x49bd5c);if(_0xe4f8f5[_0x1e1a11(0x179)](_0x1963ef)||!this[_0x1e1a11(0x275)][_0x1e1a11(0x2b0)]())continue;let _0x1ee7af=this[_0x1e1a11(0x3b7)][_0x1e1a11(0x189)](_0x1dbf87,_0x144957,_0x49bd5c);if(!_0x1ee7af)continue;let _0x4eea90=(0x0,_0x349291[_0x1e1a11(0x2d6)])(_0x1ee7af[_0x1e1a11(0x3ef)]())?{..._0x1bc9bf['SHAPE_EDITOR_TRANSFORMER_CONFIG'],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x1bc9bf['SHAPE_EDITOR_TRANSFORMER_CONFIG'],_0x28fb13=_0x1ee7af['getShapeData']()[_0x1e1a11(0x1eb)],_0x3b92bf={'unitId':_0x1dbf87,'subUnitId':_0x144957,'shapeId':_0x49bd5c};_0x28fb13&&this['_shapeFormulaService'][_0x1e1a11(0x223)](_0x3b92bf,_0x28fb13);let _0x2b2534=new _0x49294f(_0x1963ef,{..._0x2962ff,'zIndex':_0x4fb036===-0x1?_0x130c7b[_0x1e1a11(0xbe)]-0x1:_0x4fb036,'shapeModel':_0x1ee7af,'localeService':this[_0x1e1a11(0x260)],'shapeId':_0x49bd5c,'unitId':_0x1dbf87,'subUnitId':_0x144957,'visible':_0x3356bf!==!0x0,'evented':_0xbf69e1!==!0x1,'formulaPresentation':_0x28fb13?this[_0x1e1a11(0x355)]['getPresentation'](_0x3b92bf):void 0x0,'animateFormulaPresentation':(_0x28fb13==null?void 0x0:_0x28fb13['animationEnabled'])!==!0x1,'transformerConfig':_0x4eea90});if(_0x28fb13){let _0xd0b4d5=this['_formulaKey'](_0x1dbf87,_0x144957,_0x49bd5c),_0x27c65e=this[_0x1e1a11(0x2f5)][_0x1e1a11(0x20e)](_0xd0b4d5)??new Set();_0x27c65e[_0x1e1a11(0xef)](_0x2b2534),this['_formulaShapes']['set'](_0xd0b4d5,_0x27c65e);}this[_0x1e1a11(0x103)]((0x0,_0x5bc1cc[_0x1e1a11(0x230)])(_0x2b2534['onDblclick$'][_0x1e1a11(0x3bb)]((_0x2c5b9c,_0x5c4283)=>{const _0x5e55cf=_0x1e1a11;_0x1ee7af[_0x5e55cf(0x124)]()||_0x28fb13||(this['_shapeTextEditingService'][_0x5e55cf(0x18a)]({'visible':!0x0,'unitId':_0x1dbf87,'subUnitId':_0x144957,'shapeId':_0x49bd5c,'shapeKey':_0x2b2534[_0x5e55cf(0x23f)]}),_0x5c4283[_0x5e55cf(0xcd)]());}))),_0xe4f8f5[_0x1e1a11(0x337)](_0x2b2534,_0x352cb0(_0x34151b)),_0x2ce4e9&&_0xe4f8f5[_0x1e1a11(0x379)](_0x2b2534),_0x161fbd&&(0x0,_0x390061[_0x1e1a11(0x118)])({'drawingId':_0x161fbd,'unitId':_0x1dbf87,'subUnitId':_0x144957},_0x2b2534,_0xe4f8f5,this[_0x1e1a11(0x275)],_0x33992b?_0x1607ea:void 0x0),_0x2a4677!=null&&_0x2b2534['setPrstGeom'](_0x2a4677),_0x20dc38!=null&&_0x2b2534['setSrcRect'](_0x20dc38),this['_loadShapePictureFill'](_0x2b2534,_0x1ee7af[_0x1e1a11(0x165)]()),_0x3cad7d[_0x1e1a11(0x39b)](_0x2b2534);}return _0x3cad7d;}[_0x4ea115(0x252)](_0x4d428c,_0x504386,_0x12d77b){return _0x4d428c+'\x00'+_0x504386+'\x00'+_0x12d77b;}[_0x4ea115(0x172)](_0x381140,_0x34cccc){const _0x352796=_0x4ea115;let _0x8aba53=this[_0x352796(0x3b7)][_0x352796(0x189)](_0x34cccc['unitId'],_0x34cccc[_0x352796(0x199)],_0x34cccc[_0x352796(0x392)]),_0x36aaeb=_0x8aba53==null?void 0x0:_0x8aba53[_0x352796(0x165)]()['formulaBinding'],_0x32faa4=this[_0x352796(0x252)](_0x34cccc[_0x352796(0x18f)],_0x34cccc[_0x352796(0x199)],_0x34cccc[_0x352796(0x392)]);if(_0x36aaeb){this['_shapeFormulaService'][_0x352796(0x223)](_0x34cccc,_0x36aaeb);let _0x844da6=this[_0x352796(0x2f5)]['get'](_0x32faa4)??new Set();_0x844da6[_0x352796(0xef)](_0x381140),this[_0x352796(0x2f5)][_0x352796(0x1fe)](_0x32faa4,_0x844da6);}else{var _0x1094c2;this[_0x352796(0x355)][_0x352796(0x265)](_0x34cccc),(_0x1094c2=this[_0x352796(0x2f5)][_0x352796(0x20e)](_0x32faa4))==null||_0x1094c2[_0x352796(0x284)](_0x381140);}_0x381140['setFormulaPresentation'](_0x36aaeb?this[_0x352796(0x355)][_0x352796(0x229)](_0x34cccc):void 0x0,(_0x36aaeb==null?void 0x0:_0x36aaeb[_0x352796(0x296)])!==!0x1);}['refreshShapeFillImage'](_0x1b16d1){const _0x3a05e2=_0x4ea115;let _0x51518f=_0x1b16d1['shapeModel']['getShapeData'](),_0xea73d6=_0x51518f[_0x3a05e2(0x1bd)];if(!_0xea73d6||_0xea73d6['fillType']!==_0x349291[_0x3a05e2(0x244)]['PictureFill']||!_0xea73d6[_0x3a05e2(0x19f)]){_0x1b16d1[_0x3a05e2(0x2e4)](void 0x0);return;}this[_0x3a05e2(0x2ca)](_0x1b16d1,_0x51518f);}['_loadShapePictureFill'](_0x1c3953,_0x223099){const _0x464750=_0x4ea115;let _0x309db4=_0x223099[_0x464750(0x1bd)];if(!_0x309db4||_0x309db4[_0x464750(0x171)]!==_0x349291[_0x464750(0x244)][_0x464750(0x32d)]||!_0x309db4[_0x464750(0x19f)])return;let _0x1c93c7=_0x309db4['fillImageSource'],_0x11f6a9=_0x309db4[_0x464750(0x135)]??_0x349291[_0x464750(0x106)][_0x464750(0x21d)],_0x194313=this[_0x464750(0x236)][_0x464750(0x13a)](_0x1c93c7,_0x11f6a9);if(_0x194313){_0x1c3953[_0x464750(0x2e4)](_0x194313);return;}this[_0x464750(0x318)](_0x1c3953,_0x1c93c7,_0x11f6a9);}async[_0x4ea115(0x318)](_0x1be3ad,_0x46d3a5,_0x2a1fb){const _0x2bb348=_0x4ea115;let _0x44ae17;try{if(_0x2a1fb===_0x349291[_0x2bb348(0x106)][_0x2bb348(0x40c)])_0x44ae17=await this[_0x2bb348(0x236)][_0x2bb348(0x16c)](_0x46d3a5);else{if(_0x2a1fb===_0x349291[_0x2bb348(0x106)][_0x2bb348(0x21d)])try{_0x44ae17=await this['_urlImageService']['getImage'](_0x46d3a5);}catch{_0x44ae17=_0x46d3a5;}else _0x44ae17=_0x46d3a5;}}catch(_0x4ddecf){console[_0x2bb348(0x1bc)](_0x2bb348(0x197),_0x4ddecf);return;}let _0xcc2356=new window[(_0x2bb348(0x140))]();_0xcc2356[_0x2bb348(0x294)]=()=>{const _0x11f00f=_0x2bb348;this[_0x11f00f(0x236)][_0x11f00f(0x27e)](_0x46d3a5,_0x2a1fb,_0xcc2356),_0x1be3ad['setFillImage'](_0xcc2356);},_0xcc2356['onerror']=()=>{const _0x835df0=_0x2bb348;console[_0x835df0(0x1bc)]('[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image',_0x46d3a5);},_0xcc2356[_0x2bb348(0x3d3)]=_0x44ae17;}};_0x2d120d=_0x555290([_0x379978(0x0,_0x3cf577['IDrawingManagerService']),_0x379978(0x1,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x1897fd[_0x4ea115(0x293)])),_0x379978(0x2,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x5bc1cc[_0x4ea115(0x243)])),_0x379978(0x3,_0x5bc1cc[_0x4ea115(0x2ac)]),_0x379978(0x4,_0x5bc1cc[_0x4ea115(0x14e)]),_0x379978(0x5,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x213530)),_0x379978(0x6,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x535f5e['ShapeFormulaService']))],_0x2d120d);let _0x22d8c8=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x34bd41,_0x1a9507,_0x20f36c){const _0x3dab51=_0x4ea115;super(),this[_0x3dab51(0x162)]=_0x34bd41,this['_drawingManagerService']=_0x1a9507,this[_0x3dab51(0x33f)]=_0x20f36c,this[_0x3dab51(0x175)]();}[_0x4ea115(0x175)](){const _0x8de407=_0x4ea115;this['disposeWithMe'](this[_0x8de407(0x162)][_0x8de407(0x2aa)][_0x8de407(0x2cd)](this[_0x8de407(0x162)][_0x8de407(0x2aa)][_0x8de407(0x2fe)]()[_0x8de407(0x274)],{'handler':(_0x1fed13,_0xbc8194,_0x5bc048)=>{const _0x5677da=_0x8de407;var _0x22f273;let {unitId:_0x10882b,scene:_0x248361,skeleton:_0x25e691}=_0xbc8194,{pageIndex:_0x37b963}=_0xbc8194,_0x5d1ba8=(_0x22f273=this[_0x5677da(0x275)][_0x5677da(0x25f)](_0x10882b))==null?void 0x0:_0x22f273[_0x10882b],_0x575224=_0x14e2fb(this[_0x5677da(0x162)],_0x25e691,_0x37b963);return _0x5d1ba8==null||_0x5d1ba8[_0x5677da(0x280)][_0x5677da(0x3d7)](_0x47d2c6=>{const _0x1ac93b=_0x5677da;if(_0x575224&&!_0x575224[_0x1ac93b(0x2d9)](_0x47d2c6))return;let _0x8dc38e=_0x5d1ba8['data'][_0x47d2c6];_0x8dc38e['drawingType']===_0x5bc1cc[_0x1ac93b(0x1c8)][_0x1ac93b(0x3dc)]&&!_0x8dc38e[_0x1ac93b(0x2c6)]&&this[_0x1ac93b(0x33f)][_0x1ac93b(0x34b)](_0x8dc38e,_0x248361);}),_0x5bc048(_0x1fed13);}}));}};_0x22d8c8=_0x555290([_0x379978(0x0,(0x0,_0x5bc1cc['Inject'])(_0x341d83['DocPrintInterceptorService'])),_0x379978(0x1,_0x3cf577[_0x4ea115(0x214)]),_0x379978(0x2,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x2d120d))],_0x22d8c8);function _0x14e2fb(_0x5def01,_0x270d7a,_0x2c1473){const _0xccda7c=_0x4ea115;var _0x4e39e5,_0x4f9a90;let _0x5c9168=_0x5def01;if(_0x5c9168[_0xccda7c(0x3f7)])return _0x5c9168[_0xccda7c(0x3f7)](_0x270d7a,_0x2c1473);let _0xa91284=_0x270d7a[_0xccda7c(0x303)]();if(!_0xa91284||_0xa91284[_0xccda7c(0x227)]['length']<=0x1||_0x2c1473==null)return null;let _0x2781bf=new Set(),_0x22ea2a=_0xa91284[_0xccda7c(0x227)][_0x2c1473];if(!_0x22ea2a)return _0x2781bf;_0x356120(_0x22ea2a,_0x2781bf);let _0x2fb5fc=(_0x4e39e5=_0xa91284[_0xccda7c(0xf7)][_0xccda7c(0x20e)](_0x22ea2a[_0xccda7c(0x1ff)]))==null?void 0x0:_0x4e39e5['get'](_0x22ea2a[_0xccda7c(0x2f0)]),_0x20b312=(_0x4f9a90=_0xa91284[_0xccda7c(0x2ef)][_0xccda7c(0x20e)](_0x22ea2a['footerId']))==null?void 0x0:_0x4f9a90[_0xccda7c(0x20e)](_0x22ea2a[_0xccda7c(0x2f0)]);return _0x2fb5fc&&_0x356120(_0x2fb5fc,_0x2781bf),_0x20b312&&_0x356120(_0x20b312,_0x2781bf),_0x2781bf;}function _0x356120(_0x3db0ca,_0x2eec16){const _0x379a43=_0x4ea115;for(let _0x240aaf of _0x3db0ca[_0x379a43(0x3da)]['keys']())_0x2eec16['add'](_0x240aaf);for(let _0x451120 of _0x3db0ca[_0x379a43(0xe8)][_0x379a43(0x3f5)]())for(let _0x4c9966 of _0x451120[_0x379a43(0x1a8)])for(let _0x11f573 of _0x4c9966[_0x379a43(0x1bf)])_0x356120(_0x11f573,_0x2eec16);}function _0x344428({ref:_0x1b371c,..._0x56bbbc}){const _0x5488e9=_0x4ea115;let {preserveStrokeWidth:_0x120201,icon:_0x4bf825,id:_0x3742f9,className:_0xdab093,extend:_0x51e2bd,..._0x2de1a4}=_0x56bbbc,_0x5b04d8=(_0x5488e9(0x1fa)+_0x3742f9+'\x20'+(_0xdab093||''))[_0x5488e9(0x209)](),_0x55d4b4='_'+(0x0,_0x18e885[_0x5488e9(0x2ec)])(),_0x23a12d=(0x0,_0x18e885[_0x5488e9(0x2d3)])(null);return(0x0,_0x18e885[_0x5488e9(0x20f)])(_0x1b371c,()=>_0x23a12d[_0x5488e9(0x161)]),(0x0,_0x18e885[_0x5488e9(0x34d)])(()=>{const _0x46543c=_0x5488e9;if(_0x120201&&_0x23a12d[_0x46543c(0x161)]&&_0x23a12d[_0x46543c(0x161)][_0x46543c(0x25a)]===_0x4bf825[_0x46543c(0x1f5)])return _0x2f6b5a(_0x23a12d['current']);},[_0x120201,_0x4bf825]),_0x5df308(_0x4bf825,''+_0x3742f9,{'defIds':_0x4bf825[_0x5488e9(0x32c)],'idSuffix':_0x55d4b4},{'ref':_0x23a12d,'className':_0x5b04d8,..._0x2de1a4},_0x51e2bd);}function _0x5df308(_0x5ef4df,_0x354096,_0x1743c2,_0x274a40,_0x1c9b9c){const _0x1f3b3e=_0x4ea115;return(0x0,_0x18e885['createElement'])(_0x5ef4df['tag'],{'key':_0x354096,..._0x334387(_0x5ef4df,_0x1743c2,_0x1c9b9c),..._0x274a40},(_0x393965(_0x5ef4df,_0x1743c2)[_0x1f3b3e(0x362)]||[])[_0x1f3b3e(0x3ca)]((_0x567f28,_0x2ecc37)=>_0x5df308(_0x567f28,_0x354096+'-'+_0x5ef4df[_0x1f3b3e(0x1f5)]+'-'+_0x2ecc37,_0x1743c2,void 0x0,_0x1c9b9c)));}function _0x334387(_0x591754,_0x9eb82a,_0x3889b8){const _0x1fa05a=_0x4ea115;let _0x4cb23b={..._0x591754[_0x1fa05a(0x263)]};_0x3889b8!=null&&_0x3889b8[_0x1fa05a(0x188)]&&_0x4cb23b[_0x1fa05a(0x1bd)]==='colorChannel1'&&(_0x4cb23b[_0x1fa05a(0x1bd)]=_0x3889b8[_0x1fa05a(0x188)]),_0x3889b8!=null&&_0x3889b8[_0x1fa05a(0x188)]&&_0x4cb23b[_0x1fa05a(0x35c)]===_0x1fa05a(0x188)&&(_0x4cb23b[_0x1fa05a(0x35c)]=_0x3889b8[_0x1fa05a(0x188)]),_0x591754[_0x1fa05a(0x1f5)]===_0x1fa05a(0x368)&&_0x4cb23b['id']&&(_0x4cb23b['id']+=_0x9eb82a[_0x1fa05a(0x256)]),Object[_0x1fa05a(0x37a)](_0x4cb23b)[_0x1fa05a(0x3d7)](([_0x5a2a35,_0x4bc8af])=>{const _0x376263=_0x1fa05a;_0x5a2a35===_0x376263(0x368)&&typeof _0x4bc8af==_0x376263(0x146)&&(_0x4cb23b[_0x5a2a35]=_0x4bc8af[_0x376263(0x1d8)](/url\(#(.*)\)/,_0x376263(0x3c7)+_0x9eb82a['idSuffix']+')'));});let {defIds:_0x4a9dc3}=_0x9eb82a;return!_0x4a9dc3||_0x4a9dc3[_0x1fa05a(0xbe)]===0x0?_0x4cb23b:(_0x591754[_0x1fa05a(0x1f5)]==='use'&&_0x4cb23b[_0x1fa05a(0x3ad)]&&(_0x4cb23b['xlink:href']+=_0x9eb82a[_0x1fa05a(0x256)]),Object['entries'](_0x4cb23b)[_0x1fa05a(0x3d7)](([_0xf68651,_0x558489])=>{const _0xa84b87=_0x1fa05a;typeof _0x558489=='string'&&(_0x4cb23b[_0xf68651]=_0x558489[_0xa84b87(0x1d8)](/url\(#(.*)\)/,_0xa84b87(0x3c7)+_0x9eb82a[_0xa84b87(0x256)]+')'));}),_0x4cb23b);}function _0x393965(_0xc424b7,_0x25fcf2){const _0x41b0bc=_0x4ea115;var _0x691f9e;let {defIds:_0x3e8da6}=_0x25fcf2;return!_0x3e8da6||_0x3e8da6[_0x41b0bc(0xbe)]===0x0?_0xc424b7:_0xc424b7[_0x41b0bc(0x1f5)]===_0x41b0bc(0xaf)&&(_0x691f9e=_0xc424b7[_0x41b0bc(0x362)])!=null&&_0x691f9e[_0x41b0bc(0xbe)]?{..._0xc424b7,'children':_0xc424b7[_0x41b0bc(0x362)]['map'](_0x1c4fe5=>typeof _0x1c4fe5[_0x41b0bc(0x263)]['id']==_0x41b0bc(0x146)&&_0x3e8da6&&_0x3e8da6[_0x41b0bc(0x3a0)](_0x1c4fe5[_0x41b0bc(0x263)]['id'])?{..._0x1c4fe5,'attrs':{..._0x1c4fe5[_0x41b0bc(0x263)],'id':_0x1c4fe5[_0x41b0bc(0x263)]['id']+_0x25fcf2['idSuffix']}}:_0x1c4fe5)}:_0xc424b7;}function _0x2f6b5a(_0x19b89){const _0x55297d=_0x4ea115;let _0x332b48=_0x19b89[_0x55297d(0x332)][_0x55297d(0x253)],_0x58d157=Math[_0x55297d(0x409)](_0x332b48[_0x55297d(0xfb)],_0x332b48[_0x55297d(0x37b)]);if(!Number[_0x55297d(0xe5)](_0x58d157)||_0x58d157<=0x0||_0x332b48[_0x55297d(0xfb)]<=0x0||_0x332b48[_0x55297d(0x37b)]<=0x0)return()=>void 0x0;let _0x1f251e=0x10/_0x58d157,_0x2f7f93=Array['from'](_0x19b89[_0x55297d(0x90)](_0x55297d(0x298)))['flatMap'](_0x45280a=>{const _0x5d4296=_0x55297d;let _0xc6c2b6=getComputedStyle(_0x45280a),_0x3a4d0b=Number['parseFloat'](_0xc6c2b6[_0x5d4296(0x403)]);return _0xc6c2b6[_0x5d4296(0x35c)]===_0x5d4296(0x3c4)||Number[_0x5d4296(0x3a8)](_0xc6c2b6[_0x5d4296(0x14d)])===0x0||_0xc6c2b6[_0x5d4296(0x348)]===_0x5d4296(0x2bd)||!Number[_0x5d4296(0xe5)](_0x3a4d0b)||_0x3a4d0b<=0x0?[]:[{'element':_0x45280a,'hadStyleAttribute':_0x45280a[_0x5d4296(0xec)](_0x5d4296(0xeb)),'originalStrokeWidth':_0x3a4d0b,'strokeWidth':_0x3ffd12(_0x45280a[_0x5d4296(0xeb)],'stroke-width')}];})['map'](_0x249fe3=>({'appliedStrokeWidth':null,'element':_0x249fe3['element'],'hadStyleAttribute':_0x249fe3[_0x55297d(0x249)],'isReleased':!0x1,'originalStrokeWidth':_0x249fe3[_0x55297d(0x3d5)],'strokeWidth':_0x249fe3['strokeWidth']}));if(_0x2f7f93['length']===0x0)return()=>void 0x0;let _0x423690=(_0x44c847,_0x51e64d)=>{const _0x34f988=_0x55297d;if(_0x332b48[_0x34f988(0xfb)]<=0x0||_0x332b48[_0x34f988(0x37b)]<=0x0||_0x44c847<=0x0||_0x51e64d<=0x0)return;let _0x433d9b=Math[_0x34f988(0x360)](_0x44c847/_0x332b48['width'],_0x51e64d/_0x332b48[_0x34f988(0x37b)]);!Number[_0x34f988(0xe5)](_0x433d9b)||_0x433d9b<=0x0||_0x2f7f93[_0x34f988(0x3d7)](_0x466a34=>{const _0x3c8e77=_0x34f988;if(_0x466a34['isReleased'])return;if(_0x466a34[_0x3c8e77(0xae)]!==null&&(_0x466a34[_0x3c8e77(0x28f)]['style'][_0x3c8e77(0x1d7)]('stroke-width')!==_0x466a34[_0x3c8e77(0xae)]||_0x466a34[_0x3c8e77(0x28f)]['style'][_0x3c8e77(0x1f9)](_0x3c8e77(0x23d))!==_0x466a34['strokeWidth'][_0x3c8e77(0xc2)])){_0x466a34[_0x3c8e77(0xae)]=null,_0x466a34[_0x3c8e77(0x1a6)]=!0x0;return;}let _0x521831=_0x466a34[_0x3c8e77(0x3d5)]*_0x1f251e/_0x433d9b,_0xb96ab=Number(_0x521831[_0x3c8e77(0x1e5)](0xc))+'px';_0x466a34[_0x3c8e77(0x28f)][_0x3c8e77(0xeb)]['setProperty'](_0x3c8e77(0x23d),_0xb96ab,_0x466a34[_0x3c8e77(0x403)][_0x3c8e77(0xc2)]),_0x466a34['appliedStrokeWidth']=_0xb96ab;});},_0x35363d=_0x19b89[_0x55297d(0x1a3)]();_0x423690(_0x35363d['width'],_0x35363d[_0x55297d(0x37b)]);let _0x308ce3=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x33f228=>{const _0x5ce3ae=_0x55297d;if(_0x33f228[_0x5ce3ae(0x23a)](_0x5aac39=>_0x5aac39[_0x5ce3ae(0x3b9)]===_0x19b89)){let _0x3ea33a=_0x19b89[_0x5ce3ae(0x1a3)]();_0x423690(_0x3ea33a[_0x5ce3ae(0xfb)],_0x3ea33a[_0x5ce3ae(0x37b)]);}});return _0x308ce3==null||_0x308ce3[_0x55297d(0x3b1)](_0x19b89),()=>{const _0x78bbf8=_0x55297d;_0x308ce3==null||_0x308ce3[_0x78bbf8(0x316)](),_0x2f7f93[_0x78bbf8(0x3d7)](_0x35f187=>{const _0x1b7fbf=_0x78bbf8;_0x35f187[_0x1b7fbf(0xae)]!==null&&(_0xea798(_0x35f187[_0x1b7fbf(0x28f)][_0x1b7fbf(0xeb)],_0x1b7fbf(0x23d),_0x35f187[_0x1b7fbf(0xae)],_0x35f187[_0x1b7fbf(0x403)][_0x1b7fbf(0xc2)],_0x35f187[_0x1b7fbf(0x403)]),!_0x35f187[_0x1b7fbf(0x249)]&&_0x35f187[_0x1b7fbf(0x28f)][_0x1b7fbf(0xeb)][_0x1b7fbf(0xbe)]===0x0&&_0x35f187[_0x1b7fbf(0x28f)][_0x1b7fbf(0x1e3)]('style'));});};}function _0x3ffd12(_0x28f68a,_0x5be34b){const _0x38ef35=_0x4ea115;return{'priority':_0x28f68a[_0x38ef35(0x1f9)](_0x5be34b),'value':_0x28f68a[_0x38ef35(0x1d7)](_0x5be34b)};}function _0xea798(_0x56dfcc,_0x5e0bfc,_0x2cfd3e,_0x1e2535,_0x1bb88c){const _0x3b8258=_0x4ea115;_0x56dfcc['getPropertyValue'](_0x5e0bfc)===_0x2cfd3e&&_0x56dfcc[_0x3b8258(0x1f9)](_0x5e0bfc)===_0x1e2535&&(_0x1bb88c[_0x3b8258(0x115)]?_0x56dfcc[_0x3b8258(0xee)](_0x5e0bfc,_0x1bb88c[_0x3b8258(0x115)],_0x1bb88c['priority']):_0x56dfcc[_0x3b8258(0xd2)](_0x5e0bfc));}_0x344428['displayName']=_0x4ea115(0xb4);let _0x335f5e={'tag':'svg','attrs':{'xmlns':_0x4ea115(0x9e),'fill':'none','viewBox':_0x4ea115(0x117),'width':_0x4ea115(0x3ed),'height':'1em'},'children':[{'tag':_0x4ea115(0xde),'attrs':{'fill':_0x4ea115(0x147),'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':_0x4ea115(0x210),'clipRule':_0x4ea115(0x210)}},{'tag':_0x4ea115(0xde),'attrs':{'fill':_0x4ea115(0x147),'d':_0x4ea115(0x2d8),'fillRule':'evenodd','clipRule':_0x4ea115(0x210)}},{'tag':_0x4ea115(0xde),'attrs':{'fill':_0x4ea115(0x147),'d':_0x4ea115(0x1c6)}},{'tag':_0x4ea115(0xde),'attrs':{'fill':_0x4ea115(0x147),'d':'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'}}]},_0x32945e=(0x0,_0x18e885[_0x4ea115(0x198)])(function(_0x468aef,_0x1c8bb8){const _0x4910ee=_0x4ea115;return(0x0,_0x18e885[_0x4910ee(0x30d)])(_0x344428,Object[_0x4910ee(0x1ab)]({},_0x468aef,{'id':'bottom-icon','ref':_0x1c8bb8,'icon':_0x335f5e}));});_0x32945e[_0x4ea115(0x3a4)]=_0x4ea115(0x401);let _0x2ce878={'tag':_0x4ea115(0x12b),'attrs':{'xmlns':_0x4ea115(0x9e),'fill':_0x4ea115(0x3c4),'viewBox':_0x4ea115(0x2b4),'width':_0x4ea115(0x3ed),'height':_0x4ea115(0x3ed)},'children':[{'tag':_0x4ea115(0xde),'attrs':{'fill':'currentColor','d':_0x4ea115(0x9d),'fillRule':_0x4ea115(0x210),'clipRule':_0x4ea115(0x210)}}]},_0x345ed1=(0x0,_0x18e885[_0x4ea115(0x198)])(function(_0x266223,_0x3115d2){return(0x0,_0x18e885['createElement'])(_0x344428,Object['assign']({},_0x266223,{'id':'more-down-icon','ref':_0x3115d2,'icon':_0x2ce878}));});_0x345ed1[_0x4ea115(0x3a4)]=_0x4ea115(0x3ee);let _0x4be27f={'tag':_0x4ea115(0x12b),'attrs':{'xmlns':_0x4ea115(0x9e),'fill':_0x4ea115(0x3c4),'viewBox':_0x4ea115(0x2b4),'width':_0x4ea115(0x3ed),'height':'1em'},'children':[{'tag':_0x4ea115(0xde),'attrs':{'fill':'currentColor','d':'M4.64645\x209.85355C4.45118\x209.65829\x204.45118\x209.34171\x204.64645\x209.14645L7.64645\x206.14645C7.84171\x205.95118\x208.15829\x205.95118\x208.35355\x206.14645L11.3536\x209.14645C11.5488\x209.34171\x2011.5488\x209.65829\x2011.3536\x209.85355C11.1583\x2010.0488\x2010.8417\x2010.0488\x2010.6464\x209.85355L8\x207.20711L5.35355\x209.85355C5.15829\x2010.0488\x204.84171\x2010.0488\x204.64645\x209.85355Z','fillRule':'evenodd','clipRule':_0x4ea115(0x210)}}]},_0x38360f=(0x0,_0x18e885[_0x4ea115(0x198)])(function(_0xc6e3c4,_0x58e824){const _0x156cd4=_0x4ea115;return(0x0,_0x18e885[_0x156cd4(0x30d)])(_0x344428,Object[_0x156cd4(0x1ab)]({},_0xc6e3c4,{'id':_0x156cd4(0xe4),'ref':_0x58e824,'icon':_0x4be27f}));});_0x38360f[_0x4ea115(0x3a4)]='MoreUpIcon';let _0x133da7={'tag':_0x4ea115(0x12b),'attrs':{'xmlns':_0x4ea115(0x9e),'fill':_0x4ea115(0x3c4),'viewBox':'0\x200\x2016\x2016','width':_0x4ea115(0x3ed),'height':_0x4ea115(0x3ed)},'children':[{'tag':_0x4ea115(0xde),'attrs':{'fill':_0x4ea115(0x147),'d':_0x4ea115(0x3fa),'fillRule':'evenodd','clipRule':_0x4ea115(0x210)}},{'tag':_0x4ea115(0xde),'attrs':{'fill':'currentColor','d':_0x4ea115(0x2cf)}}]},_0x4f55f7=(0x0,_0x18e885[_0x4ea115(0x198)])(function(_0x54a7d8,_0x39d892){const _0x122618=_0x4ea115;return(0x0,_0x18e885[_0x122618(0x30d)])(_0x344428,Object[_0x122618(0x1ab)]({},_0x54a7d8,{'id':_0x122618(0x2f9),'ref':_0x39d892,'icon':_0x133da7}));});_0x4f55f7['displayName']=_0x4ea115(0x33a);let _0x799933={'tag':_0x4ea115(0x12b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4ea115(0x3c4),'viewBox':_0x4ea115(0x2b4),'width':'1em','height':_0x4ea115(0x3ed)},'children':[{'tag':_0x4ea115(0xde),'attrs':{'fill':_0x4ea115(0x147),'d':_0x4ea115(0x315),'fillRule':_0x4ea115(0x210),'clipRule':'evenodd'}},{'tag':'path','attrs':{'fill':_0x4ea115(0x147),'d':_0x4ea115(0x8c)}}]},_0x2c5f65=(0x0,_0x18e885[_0x4ea115(0x198)])(function(_0x1de1bc,_0x245831){const _0x2fc85f=_0x4ea115;return(0x0,_0x18e885[_0x2fc85f(0x30d)])(_0x344428,Object[_0x2fc85f(0x1ab)]({},_0x1de1bc,{'id':_0x2fc85f(0x17b),'ref':_0x245831,'icon':_0x799933}));});_0x2c5f65['displayName']='MoveUpIcon';let _0x40d325={'tag':_0x4ea115(0x12b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4ea115(0x3c4),'viewBox':_0x4ea115(0x2b4),'width':_0x4ea115(0x3ed),'height':_0x4ea115(0x3ed)},'children':[{'tag':_0x4ea115(0xde),'attrs':{'stroke':_0x4ea115(0x147),'d':'M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','strokeLinecap':_0x4ea115(0xb0),'strokeLinejoin':_0x4ea115(0xb0),'strokeWidth':1.3}},{'tag':_0x4ea115(0xde),'attrs':{'stroke':_0x4ea115(0x147),'d':_0x4ea115(0x14b),'strokeLinecap':'round','strokeLinejoin':_0x4ea115(0xb0),'strokeWidth':1.3}}]},_0x12045a=(0x0,_0x18e885[_0x4ea115(0x198)])(function(_0x58458d,_0x28c7e8){const _0x1a789f=_0x4ea115;return(0x0,_0x18e885['createElement'])(_0x344428,Object[_0x1a789f(0x1ab)]({},_0x58458d,{'id':_0x1a789f(0x407),'ref':_0x28c7e8,'icon':_0x40d325}));});_0x12045a['displayName']=_0x4ea115(0x2b7);let _0x431d8d={'tag':'svg','attrs':{'xmlns':_0x4ea115(0x9e),'fill':_0x4ea115(0x3c4),'viewBox':_0x4ea115(0x2b4),'width':_0x4ea115(0x3ed),'height':_0x4ea115(0x3ed)},'children':[{'tag':_0x4ea115(0xde),'attrs':{'stroke':_0x4ea115(0x147),'d':_0x4ea115(0x1af),'strokeLinecap':'round','strokeLinejoin':_0x4ea115(0xb0),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x4ea115(0x147),'d':'M4.2\x205.5H10.5','strokeLinecap':_0x4ea115(0xb0),'strokeWidth':1.2}},{'tag':_0x4ea115(0xde),'attrs':{'stroke':'currentColor','d':_0x4ea115(0x3d8),'strokeLinecap':_0x4ea115(0xb0),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x4ea115(0x147),'d':_0x4ea115(0x114),'strokeLinejoin':'round'}},{'tag':_0x4ea115(0xde),'attrs':{'stroke':_0x4ea115(0x147),'d':_0x4ea115(0x2bc)}}]},_0x230f39=(0x0,_0x18e885[_0x4ea115(0x198)])(function(_0x4f551a,_0x3431e2){const _0xb4dffc=_0x4ea115;return(0x0,_0x18e885[_0xb4dffc(0x30d)])(_0x344428,Object[_0xb4dffc(0x1ab)]({},_0x4f551a,{'id':_0xb4dffc(0x364),'ref':_0x3431e2,'icon':_0x431d8d}));});_0x230f39['displayName']='ShapeFormatSettingIcon';let _0xa1765e={'tag':_0x4ea115(0x12b),'attrs':{'xmlns':_0x4ea115(0x9e),'fill':_0x4ea115(0x3c4),'viewBox':'0\x200\x2020\x2020','width':_0x4ea115(0x3ed),'height':_0x4ea115(0x3ed)},'children':[{'tag':_0x4ea115(0x1db),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':2.45,'fill':_0x4ea115(0x147),'rx':0.6}},{'tag':_0x4ea115(0x1db),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':6.1,'fill':_0x4ea115(0x147),'rx':0.6}},{'tag':_0x4ea115(0x1db),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':6.1,'fill':_0x4ea115(0x147),'rx':0.6}},{'tag':_0x4ea115(0x1db),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':9.4,'fill':_0x4ea115(0x147),'rx':0.6}},{'tag':_0x4ea115(0x1db),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':9.4,'fill':_0x4ea115(0x147),'rx':0.6}},{'tag':_0x4ea115(0x1db),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':12.7,'fill':_0x4ea115(0x147),'rx':0.6}},{'tag':_0x4ea115(0x1db),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':12.7,'fill':'currentColor','rx':0.6}},{'tag':_0x4ea115(0x1db),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':16.35,'fill':_0x4ea115(0x147),'rx':0.6}},{'tag':_0x4ea115(0xde),'attrs':{'fill':_0x4ea115(0x147),'d':_0x4ea115(0xc3),'fillRule':_0x4ea115(0x210),'clipRule':_0x4ea115(0x210)}}]},_0xe5ab3d=(0x0,_0x18e885[_0x4ea115(0x198)])(function(_0x6d6d02,_0x1e787b){const _0x5530e3=_0x4ea115;return(0x0,_0x18e885[_0x5530e3(0x30d)])(_0x344428,Object[_0x5530e3(0x1ab)]({},_0x6d6d02,{'id':_0x5530e3(0x96),'ref':_0x1e787b,'icon':_0xa1765e}));});_0xe5ab3d[_0x4ea115(0x3a4)]=_0x4ea115(0xfe);let _0x43d24e={'tag':'svg','attrs':{'xmlns':_0x4ea115(0x9e),'fill':_0x4ea115(0x3c4),'viewBox':_0x4ea115(0x117),'width':'1em','height':_0x4ea115(0x3ed)},'children':[{'tag':_0x4ea115(0xde),'attrs':{'fill':_0x4ea115(0x147),'d':_0x4ea115(0xed)}},{'tag':_0x4ea115(0xde),'attrs':{'fill':_0x4ea115(0x147),'d':_0x4ea115(0x1f1),'fillRule':_0x4ea115(0x210),'clipRule':_0x4ea115(0x210)}},{'tag':_0x4ea115(0xde),'attrs':{'fill':_0x4ea115(0x147),'d':_0x4ea115(0x2a7),'fillRule':_0x4ea115(0x210),'clipRule':_0x4ea115(0x210)}}]},_0x33a0d3=(0x0,_0x18e885[_0x4ea115(0x198)])(function(_0x17799f,_0x36f0d3){const _0x4cec06=_0x4ea115;return(0x0,_0x18e885[_0x4cec06(0x30d)])(_0x344428,Object[_0x4cec06(0x1ab)]({},_0x17799f,{'id':_0x4cec06(0x245),'ref':_0x36f0d3,'icon':_0x43d24e}));});_0x33a0d3['displayName']=_0x4ea115(0x3c5);function _0x203fd8(_0x3c8eed){const _0x1290ce=_0x4ea115;return(0x0,_0x4b014e[_0x1290ce(0xaa)])(_0x4e301f,{..._0x3c8eed,'PickerComponent':_0x1bc9bf['MobileShapePickerPanel']});}function _0x4df747(){const _0x31b340=_0x4ea115;let _0x5b1688=(0x0,_0x446708[_0x31b340(0x389)])(_0x5bc1cc[_0x31b340(0x243)]),_0xa61f2a=_0x1406e3(),[_0x56ff29,_0x33d9e2]=(0x0,_0x18e885[_0x31b340(0x15d)])(!0x1);return(0x0,_0x4b014e['jsxs'])(_0x31b340(0xd8),{'className':_0x31b340(0x94),'children':[(0x0,_0x4b014e['jsx'])(_0x48b50a['MobileActionRow'],{'title':_0x5b1688['t'](_0x31b340(0x349)),'aria-expanded':_0x56ff29,'variant':'subtle','trailing':_0x56ff29?(0x0,_0x4b014e['jsx'])(_0x38360f,{}):(0x0,_0x4b014e['jsx'])(_0x345ed1,{}),'onClick':()=>_0x33d9e2(_0xa28f81=>!_0xa28f81)}),_0x56ff29&&(0x0,_0x4b014e[_0x31b340(0xaa)])(_0x1bc9bf[_0x31b340(0x319)],{'excludeGroups':[_0x1bc9bf['ShapeGroupEnum'][_0x31b340(0x3ab)]],'onShapeClick':_0x580fc6=>{_0xa61f2a(_0x580fc6),_0x33d9e2(!0x1);}})]});}function _0x5a4f2a(_0x2c7566){const _0x3155ee=_0x4ea115;return _0x2c7566[_0x3155ee(0x209)]()||void 0x0;}function _0x4396d2(_0x18a502,_0x128797,_0x24e8ee){const _0x2b6b64=_0x4ea115;var _0x1aa0e0,_0x24c0f8;return((_0x1aa0e0=_0x18a502[_0x2b6b64(0xd0)])==null?void 0x0:_0x1aa0e0[_0x2b6b64(0x209)]())||((_0x24c0f8=_0x18a502[_0x2b6b64(0x10a)])==null?void 0x0:_0x24c0f8[_0x2b6b64(0x209)]())||_0x24e8ee['t']('drawing-ui.objectListPanel.typeNames.'+(0x0,_0x1bc9bf[_0x2b6b64(0xfa)])(_0x18a502[_0x2b6b64(0x3a3)]))+'\x20'+(_0x128797+0x1);}function _0x37b32e({PanelComponent:_0x2b3363=_0x390061[_0x4ea115(0x271)]}){const _0x9b4591=_0x4ea115;let _0x26af31=(0x0,_0x446708['useDependency'])(_0x5bc1cc[_0x9b4591(0x243)]),_0x5cfdba={'title':_0x26af31['t'](_0x9b4591(0x2dc)),'empty':_0x26af31['t']('drawing-ui.objectListPanel.empty'),'showAll':_0x26af31['t'](_0x9b4591(0x365)),'hideAll':_0x26af31['t']('drawing-ui.objectListPanel.hideAll'),'lockAll':_0x26af31['t'](_0x9b4591(0x235)),'unlockAll':_0x26af31['t'](_0x9b4591(0x2bf)),'moveForward':_0x26af31['t']('drawing-ui.objectListPanel.moveForward'),'moveBackward':_0x26af31['t'](_0x9b4591(0x351)),'close':_0x26af31['t']('drawing-ui.objectListPanel.close'),'show':_0x26af31['t'](_0x9b4591(0x26d)),'hide':_0x26af31['t'](_0x9b4591(0x248)),'lock':_0x26af31['t'](_0x9b4591(0xe1)),'unlock':_0x26af31['t'](_0x9b4591(0xb9)),'lockHint':_0x26af31['t'](_0x9b4591(0x1f4)),'unlockHint':_0x26af31['t'](_0x9b4591(0x2d0)),'name':_0x26af31['t'](_0x9b4591(0x323)),'nameInput':_0x26af31['t'](_0x9b4591(0x219)),'description':_0x26af31['t'](_0x9b4591(0x1cd)),'descriptionPlaceholder':_0x26af31['t'](_0x9b4591(0x1a2)),'details':_0x26af31['t'](_0x9b4591(0x3af)),'noSelection':_0x26af31['t']('drawing-ui.objectListPanel.noSelection'),'locate':_0x26af31['t']('drawing-ui.objectListPanel.locate'),'expand':_0x26af31['t']('drawing-ui.objectListPanel.expand'),'collapse':_0x26af31['t'](_0x9b4591(0x2a3)),'dragToReorder':_0x26af31['t'](_0x9b4591(0x39f)),'search':_0x26af31['t'](_0x9b4591(0x353)),'filterAll':_0x26af31['t']('drawing-ui.objectListPanel.filterAll'),'filterHidden':_0x26af31['t']('drawing-ui.objectListPanel.filterHidden'),'filterLocked':_0x26af31['t'](_0x9b4591(0x2d7)),'sectionCanvas':_0x26af31['t'](_0x9b4591(0x2ae)),'sectionFloating':_0x26af31['t'](_0x9b4591(0x1cf))},_0x48cc5f=(0x0,_0x446708[_0x9b4591(0x389)])(_0x5bc1cc[_0x9b4591(0x2db)]),_0x5f87e7=(0x0,_0x446708[_0x9b4591(0x389)])(_0x5bc1cc[_0x9b4591(0x18e)]),_0x3dfbac=(0x0,_0x446708[_0x9b4591(0x389)])(_0x1c356f[_0x9b4591(0x1a1)]),_0x1e14e4=(0x0,_0x446708['useDependency'])(_0x3cf577[_0x9b4591(0x214)]),_0x1943b1=(0x0,_0x446708[_0x9b4591(0x389)])(_0x24aff0[_0x9b4591(0x377)]),[,_0x13c0f0]=(0x0,_0x18e885[_0x9b4591(0x21e)])(_0x236f94=>_0x236f94+0x1,0x0),_0x1b2951=_0x5f87e7[_0x9b4591(0x2a5)](_0x5bc1cc[_0x9b4591(0x1ee)][_0x9b4591(0x310)]),_0x593233=(_0x1b2951==null?void 0x0:_0x1b2951[_0x9b4591(0x1e4)]())??'',_0x3f35ce=_0x593233,_0x54f8e6=(0x0,_0x446708[_0x9b4591(0x1e1)])(()=>_0x1e14e4[_0x9b4591(0x2ff)],_0x1e14e4[_0x9b4591(0x2dd)](),!0x1,[_0x1e14e4]);(0x0,_0x18e885[_0x9b4591(0x38b)])(()=>{const _0x340a1b=_0x9b4591;let _0x158668=_0x48cc5f[_0x340a1b(0x1b5)](()=>_0x13c0f0());return()=>_0x158668[_0x340a1b(0x17a)]();},[_0x48cc5f]);let _0x3a2e5d=_0x593233?_0x3dfbac['getDrawingData'](_0x593233,_0x3f35ce):{},_0x2baa5e=(_0x593233?_0x3dfbac['getDrawingOrder'](_0x593233,_0x3f35ce):[])[_0x9b4591(0x3ca)](_0x1a6949=>_0x3a2e5d[_0x1a6949])[_0x9b4591(0x2e8)](_0x1fda80=>!!_0x1fda80)[_0x9b4591(0xff)](),_0x594e1a=_0x2baa5e[_0x9b4591(0x1a0)]((_0x16db39,_0xb5ceb3)=>(_0x16db39[(0x0,_0x390061['getObjectListPanelSectionIdForDrawingType'])(_0xb5ceb3[_0x9b4591(0x3a3)])]+=0x1,_0x16db39),{'canvas':0x0,'floating':0x0}),_0x548af2={'canvas':0x0,'floating':0x0},_0x18bb5a=_0x2baa5e[_0x9b4591(0x3ca)]((_0xcc6406,_0x4f62f2)=>{const _0x3d47e7=_0x9b4591;let _0x4bed14=(0x0,_0x390061[_0x3d47e7(0x3b5)])(_0xcc6406[_0x3d47e7(0x3a3)]),_0x4b9247=_0x4bed14===_0x390061[_0x3d47e7(0x20a)],_0x3ad1a6=_0x548af2[_0x4bed14]++;return{'id':_0xcc6406[_0x3d47e7(0x408)],'name':_0x4396d2(_0xcc6406,_0x4f62f2,_0x26af31),'description':_0xcc6406[_0x3d47e7(0xc9)],'visible':_0xcc6406[_0x3d47e7(0x2c6)]!==!0x0,'selectable':_0xcc6406[_0x3d47e7(0x202)]!==!0x1,'sectionId':_0x4bed14,'sectionTitle':_0x4b9247?_0x5cfdba[_0x3d47e7(0x3ce)]:_0x5cfdba['sectionCanvas'],'capabilities':_0x4b9247?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x4b9247&&_0x3ad1a6>0x0,'canMoveBackward':!_0x4b9247&&_0x3ad1a6<_0x594e1a[_0x3d47e7(0x2e0)]-0x1,'canReorder':!_0x4b9247};}),_0x5b4f6f=(0x0,_0x18e885['useMemo'])(()=>(_0x54f8e6??[])['filter'](_0x35182f=>_0x35182f[_0x9b4591(0x18f)]===_0x593233&&_0x35182f[_0x9b4591(0x199)]===_0x3f35ce)['map'](_0xf6de10=>_0xf6de10['drawingId']),[_0x54f8e6,_0x3f35ce,_0x593233]),_0x2bad1d=_0x5b4f6f[_0x5b4f6f[_0x9b4591(0xbe)]-0x1]??null,_0x380414=_0x524998=>_0x3dfbac[_0x9b4591(0x3ba)]({'unitId':_0x593233,'subUnitId':_0x3f35ce,'drawingId':_0x524998})??null,_0x308c49=async _0x1e3d96=>{const _0x4549f4=_0x9b4591;_0x593233&&_0x1e3d96[_0x4549f4(0xbe)]&&await _0x48cc5f[_0x4549f4(0x217)](_0x1897fd[_0x4549f4(0xf6)]['id'],{'unitId':_0x593233,'patches':_0x1e3d96});},_0x323298=(_0x18cb79,_0x14512e)=>{const _0x31f76c=_0x9b4591;if(!_0x593233)return;let _0x56d8b3=_0x14512e?_0x5b4f6f[_0x31f76c(0x3a0)](_0x18cb79)?_0x5b4f6f[_0x31f76c(0x2e8)](_0x16261a=>_0x16261a!==_0x18cb79):[..._0x5b4f6f,_0x18cb79]:[_0x18cb79];_0x48cc5f[_0x31f76c(0x35f)](_0x3cf577[_0x31f76c(0x24c)]['id'],_0x56d8b3['map'](_0x37297e=>({'unitId':_0x593233,'subUnitId':_0x3f35ce,'drawingId':_0x37297e})));let _0x595763=_0x56d8b3[_0x56d8b3[_0x31f76c(0xbe)]-0x1];_0x595763?(0x0,_0x1bc9bf['activateDrawingObject'])(_0x1943b1,{'unitId':_0x593233,'subUnitId':_0x3f35ce,'drawingId':_0x595763}):(0x0,_0x1bc9bf[_0x31f76c(0xf0)])(_0x1943b1,_0x593233);},_0x3acee0=async(_0x5d6692,_0x2f0017)=>{const _0x37d516=_0x9b4591;await _0x308c49(_0x5d6692[_0x37d516(0x3ca)](_0x3a363f=>_0x380414(_0x3a363f))[_0x37d516(0x2e8)](_0x2770ff=>!!_0x2770ff)[_0x37d516(0x2e8)](_0x4e15db=>_0x4e15db[_0x37d516(0x2c6)]!==!0x0!==_0x2f0017)[_0x37d516(0x3ca)](_0x431f19=>({'drawingId':_0x431f19[_0x37d516(0x408)],'hidden':!_0x2f0017})));},_0x3ff70f=async(_0x3b6347,_0xec7828)=>{const _0x2ed19a=_0x9b4591;await _0x308c49(_0x3b6347['map'](_0x67f6de=>_0x380414(_0x67f6de))['filter'](_0x5512ff=>!!_0x5512ff)[_0x2ed19a(0x2e8)](_0xd8a990=>_0xd8a990[_0x2ed19a(0x202)]!==!0x1!==_0xec7828)[_0x2ed19a(0x3ca)](_0x5b42da=>({'drawingId':_0x5b42da[_0x2ed19a(0x408)],'selectable':_0xec7828})));},_0x4b195d=_0x257206=>{const _0x13c23a=_0x9b4591;let _0x45aa13=_0x380414(_0x257206);if(_0x45aa13)return _0x3ff70f([_0x257206],_0x45aa13[_0x13c23a(0x202)]===!0x1);},_0x222d7f=async(_0x17bd18,_0x32751e)=>{const _0x5bc4b8=_0x9b4591;let _0x4301a3=_0x380414(_0x17bd18),_0x45b5b6=_0x5a4f2a(_0x32751e);!_0x4301a3||(_0x4301a3[_0x5bc4b8(0xd0)]??void 0x0)===_0x45b5b6&&(_0x4301a3[_0x5bc4b8(0x10a)]||void 0x0)===_0x45b5b6||await _0x308c49([{'drawingId':_0x17bd18,'name':_0x45b5b6,'title':_0x45b5b6}]);},_0xef5c3e=async(_0x3aef3b,_0x4913ae)=>{const _0x4eadff=_0x9b4591;let _0x5c50b5=_0x380414(_0x3aef3b),_0x50d279=_0x5a4f2a(_0x4913ae);_0x5c50b5&&(_0x5c50b5[_0x4eadff(0xc9)]??void 0x0)!==_0x50d279&&await _0x308c49([{'drawingId':_0x3aef3b,'description':_0x50d279}]);},_0x3281bf=async(_0x4e800c,_0x1acd37)=>{const _0x36be12=_0x9b4591;_0x593233&&await _0x48cc5f['executeCommand'](_0x1c356f[_0x36be12(0x231)]['id'],{'unitId':_0x593233,'subUnitId':_0x3f35ce,'drawingIds':[_0x4e800c],'arrangeType':_0x1acd37});};return _0x593233?(0x0,_0x4b014e['jsx'])(_0x2b3363,{'labels':_0x5cfdba,'renderPermissionAction':_0x40401d=>_0x1b2951?(0x0,_0x4b014e[_0x9b4591(0xaa)])(_0x446708[_0x9b4591(0x372)],{'target':{'unitId':_0x593233,'objectId':(0x0,_0x42aa76[_0x9b4591(0x28b)])((0x0,_0x42aa76[_0x9b4591(0x2d2)])(_0x1b2951,_0x40401d['id']),_0x9b4591(0x31d),_0x40401d['id']),'objectType':_0x49f26c['UnitObject'][_0x9b4591(0x387)]},'name':_0x40401d[_0x9b4591(0xd0)],'commandId':_0x42aa76[_0x9b4591(0x247)]['id'],'exists':()=>!!_0x380414(_0x40401d['id'])},_0x593233+'/'+_0x40401d['id']):null,'items':_0x18bb5a,'selectedIds':_0x5b4f6f,'focusedId':_0x2bad1d,'showHeader':!0x1,'onSelect':_0x323298,'onSetVisible':_0x3acee0,'onSetSelectable':_0x3ff70f,'onCommitName':_0x222d7f,'onCommitDescription':_0xef5c3e,'onMoveForward':async _0x5f40a8=>_0x3281bf(_0x5f40a8,_0x5bc1cc[_0x9b4591(0x3c0)][_0x9b4591(0x21b)]),'onMoveBackward':async _0x2d5c36=>_0x3281bf(_0x2d5c36,_0x5bc1cc[_0x9b4591(0x3c0)][_0x9b4591(0x2e2)]),'onToggleSelectable':_0x4b195d}):(0x0,_0x4b014e[_0x9b4591(0xaa)])(_0x9b4591(0xd8),{'className':_0x9b4591(0x19d),'children':_0x5cfdba[_0x9b4591(0x10a)]});}function _0x79c86c(){const _0x29c89c=_0x4ea115;return(0x0,_0x4b014e['jsx'])(_0x37b32e,{'PanelComponent':_0x390061[_0x29c89c(0x36c)]});}let _0x298f44=class{constructor(_0x1de883){const _0x5af6ec=_0x4ea115;this[_0x5af6ec(0x167)]=_0x1de883;}[_0x4ea115(0x359)](_0x4fbad7,_0x3bea02){const _0x563ba2=_0x4ea115;let _0x283578=this[_0x563ba2(0x167)][_0x563ba2(0x290)](_0x4fbad7[_0x563ba2(0x18f)]),_0xf3f29f=_0x283578==null?void 0x0:_0x283578['scene'];if(!_0xf3f29f)return;let _0x26ac05=(0x0,_0x3cf577[_0x563ba2(0x14a)])(_0x4fbad7),_0x3fb345=_0xf3f29f[_0x563ba2(0x179)](_0x26ac05);_0x3fb345==null||_0x3fb345['setFillImage'](_0x3bea02);}};_0x298f44=_0x555290([_0x379978(0x0,_0x24aff0[_0x4ea115(0x377)])],_0x298f44);function _0x587d36(){const _0x398d79=_0x4ea115;let _0xfebd91=(0x0,_0x446708[_0x398d79(0x389)])(_0x3cf577[_0x398d79(0x214)]),_0x2a5d4c=(0x0,_0x446708['useObservable'])(()=>_0xfebd91[_0x398d79(0x2ff)],_0xfebd91[_0x398d79(0x2dd)](),!0x1,[_0xfebd91]);return _0x2a5d4c[_0x398d79(0xbe)]===0x0?null:(0x0,_0x4b014e['jsx'])(_0x398d79(0xd8),{'children':(0x0,_0x4b014e['jsxs'])(_0x398d79(0xd8),{'className':_0x398d79(0xdb),'children':[(0x0,_0x4b014e[_0x398d79(0xaa)])(_0x390061[_0x398d79(0x261)],{'drawings':_0x2a5d4c,'hasCropper':!0x1}),(0x0,_0x4b014e[_0x398d79(0xaa)])(_0x24a9ae[_0x398d79(0x216)],{'drawings':_0x2a5d4c}),(0x0,_0x4b014e['jsx'])(_0x24a9ae[_0x398d79(0x3e1)],{'drawings':_0x2a5d4c})]})});}function _0x2e5427(_0x4191b2){const _0x125ea5=_0x4ea115;let {unitId:_0x347ba0,subUnitId:_0x254cc9,shapeId:_0x154b34,PositionComponent:_0x5ca043=_0x587d36}=_0x4191b2,_0x443f72=(0x0,_0x446708[_0x125ea5(0x389)])(_0x5bc1cc[_0x125ea5(0x2db)]),_0x182fb7=(0x0,_0x446708['useDependency'])(_0x298f44);return(0x0,_0x4b014e['jsx'])(_0x1bc9bf['ShapeEditPanel'],{..._0x4191b2,'positionEditor':(0x0,_0x4b014e['jsx'])(_0x5ca043,{}),'onUpdateShapeData':(_0x2b1ee0,_0x60424d)=>{_0x9420a0(_0x443f72,_0x347ba0,_0x254cc9,_0x154b34,_0x2b1ee0,_0x60424d);},'onUpdateLineShapeData':(_0x333fd0,_0x1f840a)=>{_0x3174af(_0x443f72,_0x347ba0,_0x254cc9,_0x154b34,_0x333fd0,_0x1f840a);},'onUpdateShapeFillImage':_0x158ec0=>{const _0x64555f=_0x125ea5;_0x182fb7[_0x64555f(0x359)]({'unitId':_0x347ba0,'subUnitId':_0x254cc9,'drawingId':_0x154b34},_0x158ec0);}});}function _0x33d8ed(){const _0x13b808=_0x4ea115;let _0x12aa6c=(0x0,_0x446708['useDependency'])(_0x3cf577['IDrawingManagerService']),_0x221005=(0x0,_0x446708[_0x13b808(0x1e1)])(_0x12aa6c[_0x13b808(0x2ff)],_0x12aa6c[_0x13b808(0x2dd)]());return _0x221005['length']===0x0?null:(0x0,_0x4b014e[_0x13b808(0x137)])('div',{'className':_0x13b808(0x279),'children':[(0x0,_0x4b014e[_0x13b808(0xaa)])(_0x390061[_0x13b808(0x261)],{'drawings':_0x221005,'hasCropper':!0x1}),(0x0,_0x4b014e[_0x13b808(0xaa)])(_0x24a9ae['MobileDocDrawingTextWrap'],{'drawings':_0x221005}),(0x0,_0x4b014e[_0x13b808(0xaa)])(_0x24a9ae[_0x13b808(0x10c)],{'drawings':_0x221005})]});}function _0x5a8298(_0x26dfa5){const _0x1cda9d=_0x4ea115;return(0x0,_0x4b014e[_0x1cda9d(0xaa)])(_0x1bc9bf[_0x1cda9d(0xcf)],{'children':(0x0,_0x4b014e[_0x1cda9d(0xaa)])(_0x2e5427,{..._0x26dfa5,'PositionComponent':_0x33d8ed})});}function _0x444fe5({popup:_0x5b182a}){const _0x18fa97=_0x4ea115;let _0x34cf95=(0x0,_0x446708[_0x18fa97(0x389)])(_0x5bc1cc[_0x18fa97(0x243)]),{shapeType:_0x518cbf,onText:_0x59122f,onStyle:_0x32245e,onDelete:_0x4d4ca5}=_0x5b182a['extraProps'],_0x5102f0=[{'key':_0x18fa97(0x3e5),'order':0x0,'item':{'id':'text','type':_0x446708['MenuItemType'][_0x18fa97(0x398)],'title':_0x34cf95['t'](_0x18fa97(0x288)),'disabled$':(0x0,_0x587404['of'])((0x0,_0x349291['isConnectorShape'])(_0x518cbf))}},{'key':_0x18fa97(0xeb),'order':0x1,'item':{'id':_0x18fa97(0xeb),'type':_0x446708['MenuItemType'][_0x18fa97(0x398)],'title':_0x34cf95['t'](_0x18fa97(0x356))}},{'key':_0x18fa97(0x284),'order':0x2,'item':{'id':_0x18fa97(0x284),'type':_0x446708[_0x18fa97(0x367)]['BUTTON'],'title':_0x34cf95['t']('docs-shape-ui.mobile.delete')}}];return(0x0,_0x4b014e[_0x18fa97(0xaa)])(_0x446708['MobileMenu'],{'schemas':_0x5102f0,'presentation':'context-bar','onOptionSelect':async({id:_0x5e116d})=>{const _0x369073=_0x18fa97;_0x5e116d==='text'?await _0x59122f():_0x5e116d===_0x369073(0xeb)?await _0x32245e():_0x5e116d===_0x369073(0x284)&&await _0x4d4ca5();}});}let _0x300198=_0x4ea115(0x40d);function _0x277c61(_0x59ce55,_0x19d6a7){const _0x4bedbf=_0x4ea115;var _0x3fe81c;let _0x350f4c=_0x59ce55==null||(_0x3fe81c=_0x59ce55['getSnapshot']()[_0x4bedbf(0x163)])==null?void 0x0:_0x3fe81c[_0x19d6a7];return _0x350f4c?_0x350f4c[_0x4bedbf(0x109)]===_0x5bc1cc['PositionedObjectLayoutType'][_0x4bedbf(0x36a)]?_0x350f4c[_0x4bedbf(0x2a2)]===_0x5bc1cc[_0x4bedbf(0x26e)]['TRUE']?_0x1c356f[_0x4bedbf(0xc4)][_0x4bedbf(0x32a)]:_0x1c356f[_0x4bedbf(0xc4)][_0x4bedbf(0x346)]:_0x350f4c[_0x4bedbf(0x109)]===_0x5bc1cc[_0x4bedbf(0x342)]['WRAP_SQUARE']?_0x1c356f['TextWrappingStyle'][_0x4bedbf(0x246)]:_0x350f4c[_0x4bedbf(0x109)]===_0x5bc1cc['PositionedObjectLayoutType'][_0x4bedbf(0x238)]?_0x1c356f[_0x4bedbf(0xc4)]['WRAP_TOP_AND_BOTTOM']:_0x1c356f[_0x4bedbf(0xc4)]['INLINE']:_0x1c356f[_0x4bedbf(0xc4)][_0x4bedbf(0x3e4)];}function _0x1573e3(_0x286119){const _0x59bc1b=_0x4ea115;let _0x26814e=(0x0,_0x446708[_0x59bc1b(0x389)])(_0x1bc9bf[_0x59bc1b(0x22f)]),_0x4e342a=(0x0,_0x446708[_0x59bc1b(0x1e1)])(()=>_0x26814e[_0x59bc1b(0x28d)],_0x26814e['getVisible'](),!0x1,[_0x26814e]),_0x2d5f17=_0x286119['popup'][_0x59bc1b(0xe6)];return _0x4e342a?(0x0,_0x4b014e['jsx'])(_0x46acdc,{..._0x2d5f17,'canvasElement':_0x286119[_0x59bc1b(0x156)]['canvasElement']}):null;}function _0x46acdc(_0x113bcc){const _0x38a583=_0x4ea115;let _0x2a0e70=(0x0,_0x446708['useDependency'])(_0x5bc1cc[_0x38a583(0x2db)]),_0x2688b7=(0x0,_0x446708[_0x38a583(0x389)])(_0x5bc1cc['LocaleService']),_0x251a33=(0x0,_0x446708['useDependency'])(_0x1897fd[_0x38a583(0x293)]),_0x1b50db=(0x0,_0x446708[_0x38a583(0x389)])(_0x5bc1cc[_0x38a583(0x18e)]),{unitId:_0x4eb6c8,subUnitId:_0x571a70,drawingId:_0x19163d,shapeType:_0x2f6cd0}=_0x113bcc,[_0x1df8a0,_0x4d3840]=(0x0,_0x18e885[_0x38a583(0x15d)])(_0x113bcc[_0x38a583(0x12e)]),_0x39e156=_0x1b50db[_0x38a583(0x1f8)](_0x4eb6c8,_0x5bc1cc[_0x38a583(0x1ee)][_0x38a583(0x310)])??void 0x0,[_0x1fcca2,_0x125222]=(0x0,_0x18e885[_0x38a583(0x15d)])(()=>_0x277c61(_0x39e156,_0x19163d)),_0xe4669d=(0x0,_0x18e885[_0x38a583(0x1e7)])(()=>(0x0,_0x1bc9bf['getTextStyle'])(_0x1df8a0),[_0x1df8a0]),_0x364fc5=(0x0,_0x18e885[_0x38a583(0x1e7)])(()=>(0x0,_0x1bc9bf[_0x38a583(0x205)])(_0x1df8a0),[_0x1df8a0]);(0x0,_0x18e885[_0x38a583(0x38b)])(()=>{const _0x5e570a=_0x38a583;let _0x3537c0=_0x2a0e70[_0x5e570a(0x1b5)](_0x86a5a5=>{const _0x52fc83=_0x5e570a;if(_0x86a5a5['id']!==_0x1897fd[_0x52fc83(0x130)]['id'])return;let _0x13c6b9=_0x251a33[_0x52fc83(0x3e9)](_0x4eb6c8,_0x571a70,_0x19163d);_0x13c6b9&&_0x4d3840(_0x13c6b9);});return()=>_0x3537c0[_0x5e570a(0x17a)]();},[_0x2a0e70,_0x251a33,_0x19163d,_0x571a70,_0x4eb6c8]);let _0x3394c6=_0xe0dd0c=>{_0x4d3840(_0x20619f=>({..._0x20619f,..._0xe0dd0c}));},_0x4c7dad=_0x4a40e3=>{const _0x614fce=_0x38a583;let _0x2ec3b8=(0x0,_0x1bc9bf[_0x614fce(0x192)])(_0x1df8a0,_0x4a40e3);_0x9420a0(_0x2a0e70,_0x4eb6c8,_0x571a70,_0x19163d,{'oldShapeData':{'shapeText':_0x1df8a0[_0x614fce(0x186)]}},_0x2ec3b8),_0x3394c6(_0x2ec3b8);},_0x13c699=_0x1ebc46=>{const _0x4c74a8=_0x38a583;_0x125222(_0x1ebc46),_0x2a0e70[_0x4c74a8(0x217)](_0x1c356f['UpdateDocDrawingWrappingStyleCommand']['id'],{'unitId':_0x4eb6c8,'subUnitId':_0x571a70,'drawings':[{'unitId':_0x4eb6c8,'subUnitId':_0x571a70,'drawingId':_0x19163d}],'wrappingStyle':_0x1ebc46});},_0x5dcec8=(0x0,_0x1bc9bf[_0x38a583(0x1d6)])({'hostType':_0x5bc1cc[_0x38a583(0x1ee)][_0x38a583(0x310)],'unitId':_0x4eb6c8,'subUnitId':_0x571a70,'shapeId':_0x19163d,'shapeData':_0x1df8a0,'onUpdateBinding':_0xf6d5f1=>{const _0x5ac820=_0x38a583;let _0xf5bd0c={'formulaBinding':_0xf6d5f1};_0x9420a0(_0x2a0e70,_0x4eb6c8,_0x571a70,_0x19163d,{'oldShapeData':{'formulaBinding':_0x1df8a0[_0x5ac820(0x1eb)]}},_0xf5bd0c),_0x3394c6(_0xf5bd0c);}}),_0xf7cc58=[{'label':_0x2688b7['t'](_0x38a583(0x92)),'value':_0x1c356f['TextWrappingStyle'][_0x38a583(0x3e4)],'icon':(0x0,_0x4b014e[_0x38a583(0xaa)])(_0xe5ab3d,{})},{'label':_0x2688b7['t'](_0x38a583(0x3fd)),'value':_0x1c356f[_0x38a583(0xc4)]['WRAP_SQUARE'],'icon':(0x0,_0x4b014e[_0x38a583(0xaa)])(_0xe5ab3d,{})},{'label':_0x2688b7['t']('docs-shape-ui.textWrap.topAndBottom'),'value':_0x1c356f[_0x38a583(0xc4)]['WRAP_TOP_AND_BOTTOM'],'icon':(0x0,_0x4b014e[_0x38a583(0xaa)])(_0xe5ab3d,{})},{'label':_0x2688b7['t'](_0x38a583(0xd7)),'value':_0x1c356f[_0x38a583(0xc4)]['BEHIND_TEXT'],'icon':(0x0,_0x4b014e['jsx'])(_0xe5ab3d,{})},{'label':_0x2688b7['t']('docs-shape-ui.textWrap.inFrontText'),'value':_0x1c356f[_0x38a583(0xc4)][_0x38a583(0x346)],'icon':(0x0,_0x4b014e[_0x38a583(0xaa)])(_0xe5ab3d,{})}];return(0x0,_0x4b014e[_0x38a583(0x137)])(_0x4b014e[_0x38a583(0x126)],{'children':[(0x0,_0x4b014e['jsx'])(_0x1bc9bf[_0x38a583(0x108)],{'canvasElement':_0x113bcc[_0x38a583(0x3fe)],'shapeData':_0x1df8a0,'shapeType':_0x2f6cd0,'textStyle':{'ff':_0x349291[_0x38a583(0x1f3)][_0x38a583(0x186)]['fontFamily'],'fs':_0x349291[_0x38a583(0x1f3)][_0x38a583(0x186)]['fontSize'],'cl':{'rgb':_0x349291[_0x38a583(0x1f3)][_0x38a583(0x186)]['color']},..._0xe4669d},'textModel':_0x364fc5?{'ha':_0x364fc5['ha']??_0x5bc1cc[_0x38a583(0x3cc)][_0x38a583(0x272)],'va':_0x364fc5['va']??_0x5bc1cc[_0x38a583(0x39c)][_0x38a583(0x13e)]}:null,'wrappingStyle':_0x1fcca2,'wrappingStyleOptions':_0xf7cc58,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x349291[_0x38a583(0x1f3)][_0x38a583(0x1bd)],'defaultGradientEndColor':_0x349291['ShapeDefaultConfig']['gradientEndColor'],'defaultStrokeColor':_0x349291[_0x38a583(0x1f3)]['stroke'],'extensionGroups':_0x5dcec8[_0x38a583(0x12f)],'floatingObjectToolbarPosition':_0x446708[_0x38a583(0x35d)]['DOC'],'onUpdateShapeData':(_0x33b538,_0x168996)=>{_0x9420a0(_0x2a0e70,_0x4eb6c8,_0x571a70,_0x19163d,_0x33b538,_0x168996),_0x168996&&_0x3394c6(_0x168996);},'onUpdateText':_0x4c7dad,'onUpdateWrappingStyle':_0x10a1e8=>_0x13c699(_0x10a1e8),'onOpenPanel':()=>{const _0x21a86e=_0x38a583;_0x2a0e70[_0x21a86e(0x217)](_0x5a08b9['id'],{'unitId':_0x4eb6c8,'subUnitId':_0x571a70,'drawingId':_0x19163d});},'onDelete':()=>{const _0x40de9d=_0x38a583;_0x2a0e70[_0x40de9d(0x217)](_0x1c356f[_0x40de9d(0x22c)]['id'],{'unitId':_0x4eb6c8,'drawings':[{'unitId':_0x4eb6c8,'subUnitId':_0x571a70,'drawingId':_0x19163d}]});}}),_0x5dcec8[_0x38a583(0x16d)]]});}function _0x3f7203({variant:_0x92388c,extend:_0x9fc52,..._0x5ac7df}){const _0x218c67=_0x4ea115;let _0x36a228=(0x0,_0x4b014e[_0x218c67(0xaa)])(_0x218c67(0x1db),{'x':'7','y':_0x218c67(0x36b),'width':'6','height':'9','rx':'1','fill':_0x218c67(0x147),'fillOpacity':'0.14','stroke':_0x218c67(0x147),'strokeWidth':'1.2'});return(0x0,_0x4b014e['jsxs'])(_0x218c67(0x12b),{'aria-hidden':_0x218c67(0x13f),'fill':'none','height':_0x218c67(0x3ed),'viewBox':_0x218c67(0x95),'width':_0x218c67(0x3ed),..._0x5ac7df,'children':[_0x92388c===_0x218c67(0x374)&&(0x0,_0x4b014e[_0x218c67(0x137)])(_0x4b014e['Fragment'],{'children':[(0x0,_0x4b014e[_0x218c67(0xaa)])(_0x218c67(0xde),{'d':_0x218c67(0x320),'stroke':_0x218c67(0x147),'strokeLinecap':_0x218c67(0xb0),'strokeWidth':_0x218c67(0x3f1)}),(0x0,_0x4b014e[_0x218c67(0xaa)])(_0x218c67(0x1db),{'x':'8','y':'7','width':'4','height':'6','rx':_0x218c67(0x3be),'fill':_0x218c67(0x147),'fillOpacity':_0x218c67(0x152),'stroke':_0x218c67(0x147),'strokeWidth':_0x218c67(0x3f1)})]}),_0x92388c===_0x218c67(0xf3)&&(0x0,_0x4b014e[_0x218c67(0x137)])(_0x4b014e[_0x218c67(0x126)],{'children':[(0x0,_0x4b014e['jsx'])(_0x218c67(0xde),{'d':_0x218c67(0x91),'stroke':_0x218c67(0x147),'strokeLinecap':_0x218c67(0xb0),'strokeWidth':_0x218c67(0x3f1)}),_0x36a228]}),_0x92388c==='top-bottom'&&(0x0,_0x4b014e[_0x218c67(0x137)])(_0x4b014e[_0x218c67(0x126)],{'children':[(0x0,_0x4b014e[_0x218c67(0xaa)])(_0x218c67(0xde),{'d':_0x218c67(0x321),'stroke':_0x218c67(0x147),'strokeLinecap':'round','strokeWidth':_0x218c67(0x3f1)}),_0x36a228]}),_0x92388c===_0x218c67(0x138)&&(0x0,_0x4b014e[_0x218c67(0x137)])(_0x4b014e[_0x218c67(0x126)],{'children':[_0x36a228,(0x0,_0x4b014e[_0x218c67(0xaa)])(_0x218c67(0xde),{'d':_0x218c67(0x361),'stroke':'currentColor','strokeLinecap':'round','strokeWidth':_0x218c67(0x3f1)})]}),_0x92388c==='front'&&(0x0,_0x4b014e['jsxs'])(_0x4b014e[_0x218c67(0x126)],{'children':[(0x0,_0x4b014e['jsx'])('path',{'d':_0x218c67(0x361),'stroke':_0x218c67(0x147),'strokeLinecap':_0x218c67(0xb0),'strokeWidth':_0x218c67(0x3f1)}),(0x0,_0x4b014e[_0x218c67(0xaa)])(_0x218c67(0x1db),{'x':'7','y':_0x218c67(0x36b),'width':'6','height':'9','rx':'1','fill':_0x218c67(0x147)})]})]});}let _0x131965=_0xc502e5=>_0x1a2183=>(0x0,_0x4b014e[_0x4ea115(0xaa)])(_0x3f7203,{..._0x1a2183,'variant':_0xc502e5}),_0x47ad89={'DocsShapeWrapInlineIcon':_0x131965(_0x4ea115(0x374)),'DocsShapeWrapSquareIcon':_0x131965('square'),'DocsShapeWrapTopBottomIcon':_0x131965('top-bottom'),'DocsShapeWrapBehindTextIcon':_0x131965('behind'),'DocsShapeWrapInFrontOfTextIcon':_0x131965('front')},_0x3ca34c=(0x0,_0x18e885[_0x4ea115(0x203)])(()=>{const _0x37a4ac=_0x4ea115;let _0x41ff28=(0x0,_0x446708['useDependency'])(_0x213530),_0x3c0b42=(0x0,_0x446708[_0x37a4ac(0x389)])(_0x1897fd[_0x37a4ac(0x293)]),_0x2d8a82=(0x0,_0x446708['useDependency'])(_0x3cf577[_0x37a4ac(0x214)]),_0x57258d=(0x0,_0x446708[_0x37a4ac(0x389)])(_0x5bc1cc[_0x37a4ac(0x2db)]),_0x28c21e=(0x0,_0x18e885[_0x37a4ac(0x1e7)])(()=>({'getShapeModel':(_0x4139de,_0x4cadad,_0x4ffc18)=>_0x3c0b42[_0x37a4ac(0x189)](_0x4139de,_0x4cadad,_0x4ffc18),'getShapeData':(_0x4d38b8,_0x25e197,_0x5a88d3)=>_0x3c0b42[_0x37a4ac(0x3e9)](_0x4d38b8,_0x25e197,_0x5a88d3),'getDrawingTransform':(_0x3f92c0,_0x57ef06,_0x21f47f)=>{const _0xb34236=_0x37a4ac;let _0x28ccd7=_0x2d8a82[_0xb34236(0x3ba)]({'unitId':_0x3f92c0,'subUnitId':_0x57ef06,'drawingId':_0x21f47f});return _0x28ccd7==null?void 0x0:_0x28ccd7['transform'];},'updateShapeText':({unitId:_0x1c5da7,shapeId:_0x118837,shapeText:_0x205081,oldShapeText:_0x186a66})=>{const _0x32577a=_0x37a4ac;_0x57258d[_0x32577a(0x217)](_0x1897fd[_0x32577a(0x3e3)]['id'],{'unitId':_0x1c5da7,'shapeId':_0x118837,'shapeData':{'shapeText':_0x205081},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x186a66}}});},'updateHostSize':({unitId:_0x1ea3e6,subUnitId:_0x1a04ac,shapeId:_0x4b5aff,width:_0x573fdb,height:_0xa0081f})=>{const _0x560754=_0x37a4ac;_0x57258d[_0x560754(0x217)](_0x1c356f[_0x560754(0x308)]['id'],{'unitId':_0x1ea3e6,'subUnitId':_0x1a04ac,'drawings':[{'drawingId':_0x4b5aff,'key':'size','value':{'width':_0x573fdb,'height':_0xa0081f}}]});},'allowHostSizeShrink':({unitId:_0x4c041c,subUnitId:_0x332b08,shapeId:_0x3e3dea})=>(0x0,_0x1bc9bf['shouldAllowShapeTextEditorHostSizeShrink'])(_0x3c0b42[_0x37a4ac(0x3e9)](_0x4c041c,_0x332b08,_0x3e3dea))}),[_0x57258d,_0x3c0b42,_0x2d8a82]),_0x255d6e=(0x0,_0x18e885[_0x37a4ac(0x1e7)])(()=>({'viewportKeys':{'main':_0x341d83[_0x37a4ac(0x242)][_0x37a4ac(0x1c9)]}}),[]);return(0x0,_0x4b014e[_0x37a4ac(0xaa)])(_0x1bc9bf[_0x37a4ac(0x38d)],{'adapter':_0x28c21e,'editingService':_0x41ff28,'editorUnitId':_0x33ec1c,'positionOptions':_0x255d6e});}),_0x4f75fa=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x4991ab,_0x26d472){const _0x3ef0f6=_0x4ea115;super(),this[_0x3ef0f6(0x366)]=_0x4991ab,this[_0x3ef0f6(0x24e)]=_0x26d472,this['_registerIcons'](),this[_0x3ef0f6(0x9c)]();}[_0x4ea115(0xd9)](){const _0x561509=_0x4ea115;this[_0x561509(0x24e)]['has'](_0x561509(0x2b7))||this[_0x561509(0x103)](this[_0x561509(0x24e)][_0x561509(0x223)]({'ObjectLayersIcon':_0x12045a})),this[_0x561509(0x24e)][_0x561509(0x2d9)](_0x561509(0x401))||this[_0x561509(0x103)](this[_0x561509(0x24e)][_0x561509(0x223)]({'BottomIcon':_0x32945e})),this[_0x561509(0x24e)][_0x561509(0x2d9)](_0x561509(0x33a))||this[_0x561509(0x103)](this[_0x561509(0x24e)]['register']({'MoveDownIcon':_0x4f55f7})),this[_0x561509(0x24e)]['has'](_0x561509(0x393))||this[_0x561509(0x103)](this[_0x561509(0x24e)][_0x561509(0x223)]({'MoveUpIcon':_0x2c5f65})),this[_0x561509(0x24e)]['has'](_0x561509(0x2a4))||this['disposeWithMe'](this[_0x561509(0x24e)][_0x561509(0x223)]({'ShapeFormatSettingIcon':_0x230f39})),this['_iconManager'][_0x561509(0x2d9)]('TopmostIcon')||this[_0x561509(0x103)](this[_0x561509(0x24e)][_0x561509(0x223)]({'TopmostIcon':_0x33a0d3})),this[_0x561509(0x103)](this[_0x561509(0x24e)][_0x561509(0x223)](_0x47ad89));}[_0x4ea115(0x9c)](){const _0x283463=_0x4ea115;this['disposeWithMe'](this['_componentManager'][_0x283463(0x223)](_0x135e7b,_0x5a8298)),this[_0x283463(0x2d5)](),this[_0x283463(0x221)](),this['disposeWithMe'](this[_0x283463(0x366)][_0x283463(0x223)](_0x9bb98f,_0x1d84be)),this[_0x283463(0x103)](this['_componentManager'][_0x283463(0x223)](_0x205f1c,_0x5f0bda)),this[_0x283463(0x103)](this['_componentManager']['register'](_0xcb0280,_0x2c2195)),this['disposeWithMe'](this[_0x283463(0x366)][_0x283463(0x223)](_0x5c919f,_0x204deb)),this[_0x283463(0x103)](this['_componentManager'][_0x283463(0x223)](_0x2dab50,_0x231d64)),this[_0x283463(0x103)](this['_componentManager']['register'](_0x57b3d6,_0x1bc9bf['ShapeTextFloatToolbar'])),this['_registerPickers'](),this[_0x283463(0x366)][_0x283463(0x20e)](_0x390061['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'])||this[_0x283463(0x103)](this[_0x283463(0x366)][_0x283463(0x223)](_0x390061[_0x283463(0xea)],_0xdb8590)),this[_0x283463(0x103)](this[_0x283463(0x366)][_0x283463(0x223)](_0x16861b,_0x3ca34c));}[_0x4ea115(0x2d5)](){const _0x53334c=_0x4ea115;this[_0x53334c(0x103)](this['_componentManager'][_0x53334c(0x223)](_0x593cd4,_0x79c86c));}['_registerFloatingToolbar'](){const _0x138972=_0x4ea115;this[_0x138972(0x103)](this[_0x138972(0x366)][_0x138972(0x223)](_0x300198,_0x444fe5));}[_0x4ea115(0x3c8)](){const _0x2c1cd0=_0x4ea115;this[_0x2c1cd0(0x103)](this[_0x2c1cd0(0x366)]['register'](_0x215dca,_0x203fd8)),this['disposeWithMe'](this[_0x2c1cd0(0x366)][_0x2c1cd0(0x223)](_0x19b74d,_0x4df747));}};_0x4f75fa=_0x555290([_0x379978(0x0,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x446708[_0x4ea115(0x343)])),_0x379978(0x1,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x446708[_0x4ea115(0x195)]))],_0x4f75fa);let _0x3fa5ff=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x1cae56,_0x4ffdce,_0x3d09b3,_0x3ec095,_0x3dead7,_0x28ab71,_0x165c9d,_0x9d88a0,_0x54a19b,_0x16edf6,_0x4e5a22,_0x467fa4,_0x16b951){const _0x176665=_0x4ea115;super(),this[_0x176665(0x2f8)]=_0x1cae56,this[_0x176665(0x1c5)]=_0x4ffdce,this['_menuManagerService']=_0x3d09b3,this['_docsShapeService']=_0x3ec095,this[_0x176665(0x260)]=_0x3dead7,this[_0x176665(0xcb)]=_0x28ab71,this['_drawingManagerService']=_0x165c9d,this[_0x176665(0x3bd)]=_0x9d88a0,this[_0x176665(0x167)]=_0x54a19b,this[_0x176665(0x32f)]=_0x16edf6,this[_0x176665(0x149)]=_0x4e5a22,this[_0x176665(0x185)]=_0x467fa4,this[_0x176665(0x3dd)]=_0x16b951,_0x128b9e(this,_0x176665(0x3c6),null),_0x128b9e(this,_0x176665(0x11c),null),_0x128b9e(this,_0x176665(0x3b6),!0x1),_0x128b9e(this,'_shapeEditPanelVersion',0x0),_0x128b9e(this,_0x176665(0x2fb),new Map()),_0x128b9e(this,_0x176665(0x30c),new Map()),this['_initMenu'](),this[_0x176665(0x103)](this[_0x176665(0x2f8)][_0x176665(0x341)](_0x5bc1cc['UniverInstanceType'][_0x176665(0x310)])['subscribe'](_0x32e4ca=>{const _0x413d54=_0x176665;if(!_0x32e4ca){var _0x54ab7d;(_0x54ab7d=this['_sidebarDisposable'])==null||_0x54ab7d[_0x413d54(0x17a)]();}})),this[_0x176665(0x37d)](),this[_0x176665(0x103)]((0x0,_0x1bc9bf[_0x176665(0x391)])(this['_renderManagerService'],_0x5bc1cc['UniverInstanceType']['UNIVER_DOC'],_0x1f7e0b=>this[_0x176665(0xb1)](_0x1f7e0b))),this[_0x176665(0x103)](this[_0x176665(0x149)][_0x176665(0x190)][_0x176665(0x3a6)](_0x5492c9=>{const _0x217b88=_0x176665;_0x5492c9&&this[_0x217b88(0x1c2)](void 0x0,!0x0);})),this[_0x176665(0x103)](this['_permissionService'][_0x176665(0x2b3)][_0x176665(0x3a6)](()=>{const _0x1495e2=_0x176665;this[_0x1495e2(0x275)][_0x1495e2(0x2dd)]()['some'](_0x43a589=>_0x43a589[_0x1495e2(0x3a3)]===_0x5bc1cc[_0x1495e2(0x1c8)]['DRAWING_SHAPE']&&this[_0x1495e2(0x2f8)][_0x1495e2(0xc6)](_0x43a589['unitId'])===_0x5bc1cc[_0x1495e2(0x1ee)][_0x1495e2(0x310)]&&!this['_canEditShape'](_0x43a589['unitId'],_0x43a589[_0x1495e2(0x408)]))&&(this['_clearPopups'](void 0x0,!0x0),this[_0x1495e2(0x17f)]());}));}[_0x4ea115(0x1ed)](_0x2ea3c7,_0xd8330,_0x2ee0ab,_0x17e25d){const _0x2b8af1=_0x4ea115;return[{'label':_0x2b8af1(0x38f),'index':0x0,'commandId':_0x5a08b9['id'],'commandParams':{'unitId':_0x2ea3c7,'subUnitId':_0xd8330,'drawingId':_0x2ee0ab},'disable':_0x17e25d===_0x5bc1cc[_0x2b8af1(0x1c8)][_0x2b8af1(0x187)]},{'label':_0x2b8af1(0x123),'index':0x1,'commandId':_0x1c356f[_0x2b8af1(0x22c)]['id'],'commandParams':{'unitId':_0x2ea3c7,'drawings':[{'unitId':_0x2ea3c7,'subUnitId':_0xd8330,'drawingId':_0x2ee0ab}]},'disable':!0x1},{'label':_0x2b8af1(0x3fc),'index':0x2,'commandId':_0x181065['id'],'commandParams':{'unitId':_0x2ea3c7,'subUnitId':_0xd8330,'drawingId':_0x2ee0ab},'disable':!0x1}];}[_0x4ea115(0x1d0)](){const _0x173888=_0x4ea115;this['_menuManagerService'][_0x173888(0x1da)](_0x2b9f36);}['_getShapeInfo'](_0x13a381,_0x164dc3,_0x2d862){const _0x58b45a=_0x4ea115;let _0x7cbf50=this[_0x58b45a(0x3b7)][_0x58b45a(0xc8)](_0x13a381,_0x164dc3,_0x2d862),_0x1457da=this[_0x58b45a(0x3b7)]['getShapeDataById'](_0x13a381,_0x164dc3,_0x2d862);return _0x7cbf50===void 0x0||_0x1457da===void 0x0?null:{'shapeData':_0x1457da,'shapeId':_0x2d862,'shapeType':_0x7cbf50,'unitId':_0x13a381,'subUnitId':_0x164dc3,'version':this[_0x58b45a(0x1ea)],'disableShapeOption':!0x1};}[_0x4ea115(0x1c2)](_0x24cdf4,_0x5a4977=!0x1){const _0x171877=_0x4ea115;if(_0x24cdf4==null){[...this[_0x171877(0x2fb)][_0x171877(0x1ae)]()][_0x171877(0x3d7)](_0x2889be=>this[_0x171877(0x1c2)](_0x2889be,_0x5a4977));return;}let _0x3aa96d=this[_0x171877(0x2fb)][_0x171877(0x20e)](_0x24cdf4);if(_0x3aa96d){for(let _0x1bfde9=_0x3aa96d[_0x171877(0xbe)]-0x1;_0x1bfde9>=0x0;--_0x1bfde9){let _0x4c4e69=_0x3aa96d[_0x1bfde9];(_0x5a4977||_0x4c4e69[_0x171877(0x30a)]())&&(_0x4c4e69[_0x171877(0x17a)](),_0x3aa96d['splice'](_0x1bfde9,0x1));}_0x3aa96d[_0x171877(0xbe)]===0x0&&(this[_0x171877(0x2fb)][_0x171877(0x284)](_0x24cdf4),this[_0x171877(0x30c)][_0x171877(0x284)](_0x24cdf4));}}[_0x4ea115(0x1e0)](_0x2daa06){const _0x41b93c=_0x4ea115;let _0x4bffa9=this[_0x41b93c(0x2fb)][_0x41b93c(0x20e)](_0x2daa06);if(_0x4bffa9)return _0x4bffa9;let _0x11a7e4=[];return this[_0x41b93c(0x2fb)][_0x41b93c(0x1fe)](_0x2daa06,_0x11a7e4),_0x11a7e4;}[_0x4ea115(0xb1)](_0x4ecf59){const _0x2f9ddb=_0x4ea115;var _0x50e7de;let _0x530b1e=new _0x5bc1cc['DisposableCollection'](),_0x4f52f5=(_0x50e7de=this[_0x2f9ddb(0x167)][_0x2f9ddb(0x26c)](_0x5bc1cc[_0x2f9ddb(0x1ee)][_0x2f9ddb(0x310)])[_0x2f9ddb(0x99)](_0x466fb1=>_0x466fb1[_0x2f9ddb(0x241)][_0x2f9ddb(0x8b)]()===_0x4ecf59))==null?void 0x0:_0x50e7de[_0x2f9ddb(0x18f)];return _0x4f52f5?(_0x530b1e[_0x2f9ddb(0xef)](_0x4ecf59[_0x2f9ddb(0x1cb)][_0x2f9ddb(0x3a6)](()=>this['_handleCreateControl'](_0x4ecf59,_0x4f52f5))),_0x530b1e[_0x2f9ddb(0xef)](_0x4ecf59['clearControl$'][_0x2f9ddb(0x3a6)](()=>{const _0x1f2932=_0x2f9ddb;this[_0x1f2932(0x1c2)](_0x4f52f5),queueMicrotask(()=>{const _0x5374c8=_0x1f2932;_0x4ecf59['getSelectedObjectMap']()['size']>0x0||(this[_0x5374c8(0x32f)]['setContextValue'](_0x5bc1cc['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x5374c8(0x275)]['focusDrawing'](null));});})),_0x530b1e[_0x2f9ddb(0xef)](_0x4ecf59['changing$'][_0x2f9ddb(0x3a6)](()=>{this['_clearPopups'](_0x4f52f5,!0x0);})),_0x530b1e):_0x530b1e;}[_0x4ea115(0x31a)](_0x11a786,_0x166091){const _0x20e927=_0x4ea115;let _0x2237d9=_0x11a786[_0x20e927(0x3c9)]();if(this[_0x20e927(0x3b6)]){this[_0x20e927(0x1c2)](_0x166091,!0x0);return;}if(_0x2237d9['size']>0x1){this[_0x20e927(0x1c2)](_0x166091);return;}let _0x4f73ca=_0x2237d9[_0x20e927(0x3f5)]()[_0x20e927(0x3eb)]()['value'];if(!_0x4f73ca){this[_0x20e927(0x1c2)](_0x166091);return;}let _0x25ddeb=this['_drawingManagerService'][_0x20e927(0x26f)](_0x4f73ca['oKey']);if(!_0x25ddeb||_0x25ddeb[_0x20e927(0x3a3)]!==_0x5bc1cc[_0x20e927(0x1c8)]['DRAWING_SHAPE']){this[_0x20e927(0x1c2)](_0x166091);return;}let {unitId:_0x49fc03,subUnitId:_0x5d34b7,drawingId:_0x131b7c}=_0x25ddeb;if(!this[_0x20e927(0x3f6)](_0x49fc03,_0x131b7c)){this[_0x20e927(0x1c2)](_0x166091,!0x0);return;}let _0x3d3927=this[_0x20e927(0x29f)](_0x49fc03,_0x5d34b7,_0x131b7c);if(!_0x3d3927){this[_0x20e927(0x1c2)](_0x166091);return;}let _0x3f6464=this[_0x20e927(0x2fb)][_0x20e927(0x20e)](_0x166091),_0xd06a1b=_0x49fc03+':'+_0x5d34b7+':'+_0x131b7c;if(this[_0x20e927(0x30c)][_0x20e927(0x20e)](_0x166091)===_0xd06a1b&&_0x3f6464!=null&&_0x3f6464[_0x20e927(0xbe)])return;this[_0x20e927(0x1c2)](_0x166091);let _0x419ec3=this['_renderManagerService'][_0x20e927(0x290)](_0x49fc03),_0x46e782=((_0x419ec3==null?void 0x0:_0x419ec3[_0x20e927(0x2c3)])===!0x1?_0x419ec3[_0x20e927(0x29d)](_0x341d83[_0x20e927(0x277)]):this[_0x20e927(0x3bd)])[_0x20e927(0x388)](_0x4f73ca,this[_0x20e927(0x239)](_0x3d3927,()=>this[_0x20e927(0x1c2)](_0x166091,!0x0)),_0x49fc03);this[_0x20e927(0x103)](_0x46e782),this[_0x20e927(0x1e0)](_0x166091)['push'](_0x46e782),this[_0x20e927(0x30c)]['set'](_0x166091,_0xd06a1b),this['_drawingManagerService'][_0x20e927(0x2dd)]()[_0x20e927(0x23a)](_0x2a19c3=>_0x2a19c3[_0x20e927(0x18f)]===_0x49fc03&&_0x2a19c3[_0x20e927(0x199)]===_0x5d34b7&&_0x2a19c3[_0x20e927(0x408)]===_0x131b7c)||this[_0x20e927(0x275)][_0x20e927(0x233)]([{'unitId':_0x49fc03,'subUnitId':_0x5d34b7,'drawingId':_0x131b7c}]);}[_0x4ea115(0x239)](_0x1121a9,_0x3782d4){const _0xd0d113=_0x4ea115;let {unitId:_0x1dcb4b,subUnitId:_0xa79ab0,shapeId:_0x3caa2a}=_0x1121a9,_0xf41cb3={'hostType':_0x5bc1cc[_0xd0d113(0x1ee)][_0xd0d113(0x310)],'unitId':_0x1dcb4b,'subUnitId':_0xa79ab0,'shapeId':_0x3caa2a};return{'componentKey':_0x300198,'direction':_0xd0d113(0x22b),'offset':[0x0,0x8],'extraProps':{'shapeType':_0x1121a9[_0xd0d113(0xa3)],'onText':()=>{const _0x283d1e=_0xd0d113;_0x3782d4(),this[_0x283d1e(0x3dd)]['open'](_0x283d1e(0x3e5),_0xf41cb3);},'onStyle':()=>{const _0x4c0329=_0xd0d113;_0x3782d4(),this['_mobileEditorService'][_0x4c0329(0x402)]('style',_0xf41cb3);},'onDelete':()=>this['_commandService']['executeCommand'](_0x1c356f[_0xd0d113(0x22c)]['id'],{'unitId':_0x1dcb4b,'drawings':[{'unitId':_0x1dcb4b,'subUnitId':_0xa79ab0,'drawingId':_0x3caa2a}]})}};}[_0x4ea115(0x3f6)](_0x592994,_0x52b369){const _0x546242=_0x4ea115;let _0xc02d9d=this[_0x546242(0x2f8)][_0x546242(0x1f8)](_0x592994,_0x5bc1cc[_0x546242(0x1ee)][_0x546242(0x310)]);if(!_0xc02d9d)return!0x1;let _0x807902=(0x0,_0x42aa76[_0x546242(0x2d2)])(_0xc02d9d,_0x52b369);return(0x0,_0x42aa76[_0x546242(0x1b4)])(this[_0x546242(0x185)],_0x592994,[...(0x0,_0x42aa76[_0x546242(0x373)])(_0xc02d9d,_0x807902,'drawing',_0x52b369),(0x0,_0x42aa76[_0x546242(0x28b)])(_0x807902,_0x546242(0x31d),_0x52b369)]);}[_0x4ea115(0x37d)](){const _0xf14857=_0x4ea115;this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x28c1de=>{const _0x136cd4=_0x9d29;if(_0x28c1de['id']===_0x5a08b9['id']){let {unitId:_0x34a28c,subUnitId:_0x316a86,drawingId:_0x5d6353}=_0x28c1de[_0x136cd4(0x405)];this[_0x136cd4(0x1ea)]+=0x1,this[_0x136cd4(0x11c)]=this['_getShapeInfo'](_0x34a28c,_0x316a86,_0x5d6353),this[_0x136cd4(0x1c2)](void 0x0,!0x0),this[_0x136cd4(0x15e)]();}if(_0x28c1de['id']===_0x181065['id']&&(this['_activeShapeInfo']=null,this[_0x136cd4(0x17f)]()),_0x28c1de['id']===_0x1897fd[_0x136cd4(0x130)]['id']){var _0x3eed49;let {unitId:_0x1b4404,shapeId:_0x215d2b}=_0x28c1de[_0x136cd4(0x405)];if(((_0x3eed49=this[_0x136cd4(0x11c)])==null?void 0x0:_0x3eed49[_0x136cd4(0x392)])===_0x215d2b){let _0x1c2075=this[_0x136cd4(0x29f)](_0x1b4404,this[_0x136cd4(0x11c)][_0x136cd4(0x199)],_0x215d2b);_0x1c2075&&(this['_shapeEditPanelVersion']+=0x1,_0x1c2075[_0x136cd4(0xf1)]=this[_0x136cd4(0x1ea)],this[_0x136cd4(0x11c)]=_0x1c2075,this[_0x136cd4(0x3b6)]&&this[_0x136cd4(0x15e)]());}}})),this[_0xf14857(0x103)](this['_drawingManagerService'][_0xf14857(0x2ff)]['subscribe'](_0x479008=>{const _0x4ccc89=_0xf14857;if(!this[_0x4ccc89(0x3b6)])return;if(_0x479008['length']===0x0){this['_activeShapeInfo']=null,this[_0x4ccc89(0x17f)]();return;}if(_0x479008[_0x4ccc89(0xbe)]===0x1&&_0x479008[0x0][_0x4ccc89(0x3a3)]===_0x5bc1cc['DrawingTypeEnum'][_0x4ccc89(0x3dc)]&&(this['_shapeEditPanelVersion']+=0x1,this['_activeShapeInfo']=this[_0x4ccc89(0x29f)](_0x479008[0x0][_0x4ccc89(0x18f)],_0x479008[0x0][_0x4ccc89(0x199)],_0x479008[0x0][_0x4ccc89(0x408)]),this['_activeShapeInfo'])){this[_0x4ccc89(0x15e)]();return;}let _0x1c8d0d=_0x479008[_0x4ccc89(0x2e8)](_0x5647a7=>_0x5647a7[_0x4ccc89(0x3a3)]===_0x5bc1cc['DrawingTypeEnum']['DRAWING_SHAPE']);if(this[_0x4ccc89(0x1ea)]+=0x1,this['_activeShapeInfo']=this[_0x4ccc89(0x29f)](_0x479008[0x0][_0x4ccc89(0x18f)],_0x479008[0x0][_0x4ccc89(0x199)],_0x479008[0x0][_0x4ccc89(0x408)]),this[_0x4ccc89(0x11c)]&&_0x479008[_0x4ccc89(0xbe)]>0x1&&_0x1c8d0d[_0x4ccc89(0xbe)]===_0x479008[_0x4ccc89(0xbe)]){this['_openShapeEditPanel']();return;}if(this[_0x4ccc89(0x11c)]&&_0x1c8d0d['length']!==_0x479008[_0x4ccc89(0xbe)]){this['_activeShapeInfo'][_0x4ccc89(0x17d)]=!0x0,this['_openShapeEditPanel']();return;}this[_0x4ccc89(0x17f)]();}));}[_0x4ea115(0x15e)](){const _0x473cf4=_0x4ea115;this[_0x473cf4(0x11c)]&&(this[_0x473cf4(0x3c6)]=this['_sidebarService']['open']({'id':_0x135e7b,'header':{'title':this[_0x473cf4(0x260)]['t'](_0x473cf4(0xa7))},'width':0x184,'children':{'label':_0x135e7b,...this[_0x473cf4(0x11c)]},'onClose':()=>{const _0x518f9a=_0x473cf4;this[_0x518f9a(0x275)][_0x518f9a(0x233)](null),this['_contextService']['setContextValue'](_0x5bc1cc[_0x518f9a(0x3ea)],!0x1),this[_0x518f9a(0x3c6)]=null;}}),this[_0x473cf4(0x3b6)]=!0x0);}['_closeShapeEditPanel'](){const _0x556c4b=_0x4ea115;this[_0x556c4b(0x3b6)]=!0x1,this['_sidebarService'][_0x556c4b(0x110)](_0x135e7b),this['_sidebarDisposable']=null,this['_contextService'][_0x556c4b(0x153)](_0x5bc1cc[_0x556c4b(0x3ea)],!0x1),this[_0x556c4b(0x275)][_0x556c4b(0x233)](null);}};_0x3fa5ff=_0x555290([_0x379978(0x0,_0x5bc1cc['IUniverInstanceService']),_0x379978(0x1,(0x0,_0x5bc1cc['Inject'])(_0x446708['ISidebarService'])),_0x379978(0x2,_0x446708[_0x4ea115(0x322)]),_0x379978(0x3,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x1897fd[_0x4ea115(0x293)])),_0x379978(0x4,(0x0,_0x5bc1cc['Inject'])(_0x5bc1cc[_0x4ea115(0x243)])),_0x379978(0x5,_0x5bc1cc[_0x4ea115(0x2db)]),_0x379978(0x6,_0x3cf577[_0x4ea115(0x214)]),_0x379978(0x7,(0x0,_0x5bc1cc['Inject'])(_0x341d83[_0x4ea115(0x277)])),_0x379978(0x8,_0x24aff0[_0x4ea115(0x377)]),_0x379978(0x9,_0x5bc1cc[_0x4ea115(0x3f8)]),_0x379978(0xa,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x213530)),_0x379978(0xb,_0x5bc1cc['IPermissionService']),_0x379978(0xc,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x1bc9bf[_0x4ea115(0x328)]))],_0x3fa5ff);let _0x80d163=_0x4ea115(0x1ac),_0x19d7a9=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x155833,_0x3d5430,_0x1ae649,_0x146a18,_0x450345,_0x2c2729){const _0x4a4280=_0x4ea115;super(),this[_0x4a4280(0x18b)]=_0x155833,this[_0x4a4280(0x107)]=_0x3d5430,this[_0x4a4280(0x275)]=_0x1ae649,this[_0x4a4280(0x2f8)]=_0x146a18,this['_renderManagerService']=_0x450345,this[_0x4a4280(0x215)]=_0x2c2729,_0x128b9e(this,'_visible',!0x1),this[_0x4a4280(0x18b)][_0x4a4280(0x1da)](_0x296b2a),this[_0x4a4280(0x103)]((0x0,_0x5bc1cc[_0x4a4280(0x230)])(this[_0x4a4280(0x275)][_0x4a4280(0x2ff)]['subscribe'](()=>this[_0x4a4280(0x27d)]()))),this[_0x4a4280(0x27d)]();}[_0x4ea115(0x17a)](){const _0x1c54d8=_0x4ea115;this[_0x1c54d8(0x215)][_0x1c54d8(0x166)](!0x1,_0x80d163),this[_0x1c54d8(0x1c1)](),super[_0x1c54d8(0x17a)]();}[_0x4ea115(0x27d)](){const _0xcede17=_0x4ea115;var _0x1202e7;let _0x395090=this[_0xcede17(0x275)][_0xcede17(0x2dd)](),_0x1004cb=_0x395090[_0xcede17(0xbe)]===0x1?_0x395090[0x0]:void 0x0;if((_0x1004cb==null?void 0x0:_0x1004cb[_0xcede17(0x3a3)])!==_0x5bc1cc['DrawingTypeEnum'][_0xcede17(0x3dc)]||this[_0xcede17(0x2f8)][_0xcede17(0xc6)](_0x1004cb[_0xcede17(0x18f)])!==_0x5bc1cc['UniverInstanceType'][_0xcede17(0x310)]){this['_shapeFloatingToolbarService']['setFallbackVisible'](!0x1,_0x80d163),this['_hide']();return;}let _0xe02088=(_0x1202e7=this['_renderManagerService']['getRenderUnitById'](_0x1004cb[_0xcede17(0x18f)]))==null?void 0x0:_0x1202e7[_0xcede17(0x406)][_0xcede17(0x181)](),_0x8164ff=(0x0,_0x1bc9bf[_0xcede17(0xfd)])(_0xe02088)===_0xcede17(0x336);if(this[_0xcede17(0x215)][_0xcede17(0x166)](_0x8164ff,_0x80d163),_0x8164ff){this[_0xcede17(0x1c1)]();return;}this['_visible']||(this[_0xcede17(0x295)]=!0x0,this[_0xcede17(0x107)][_0xcede17(0xa8)](_0x3a28ca,{'activate':!0x0}));}['_hide'](){const _0x10b831=_0x4ea115;this[_0x10b831(0x295)]&&(this['_visible']=!0x1,this[_0x10b831(0x107)][_0x10b831(0xa4)](_0x3a28ca),this[_0x10b831(0x107)][_0x10b831(0x8d)]([]));}};_0x19d7a9=_0x555290([_0x379978(0x0,_0x446708[_0x4ea115(0x322)]),_0x379978(0x1,_0x446708[_0x4ea115(0x22d)]),_0x379978(0x2,_0x3cf577['IDrawingManagerService']),_0x379978(0x3,_0x5bc1cc[_0x4ea115(0x18e)]),_0x379978(0x4,_0x24aff0[_0x4ea115(0x377)]),_0x379978(0x5,(0x0,_0x5bc1cc['Inject'])(_0x1bc9bf[_0x4ea115(0x22f)]))],_0x19d7a9);let _0x141a20=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x4c15a1,_0x1e3a63,_0x4581e0,_0x45cde2){const _0x3c314a=_0x4ea115;super(),this[_0x3c314a(0xcb)]=_0x4c15a1,this[_0x3c314a(0x167)]=_0x1e3a63,this[_0x3c314a(0x275)]=_0x4581e0,this['_docDrawingShapeRenderController']=_0x45cde2,this[_0x3c314a(0x1be)]();}[_0x4ea115(0x1be)](){const _0x1bb846=_0x4ea115;this[_0x1bb846(0x103)](this[_0x1bb846(0x275)][_0x1bb846(0x2d1)][_0x1bb846(0x3a6)](_0x23726f=>this[_0x1bb846(0xdc)](_0x23726f))),this[_0x1bb846(0x103)](this['_drawingManagerService'][_0x1bb846(0x176)][_0x1bb846(0x3a6)](_0x6646f=>{const _0x2ec725=_0x1bb846;_0x6646f['forEach'](_0x4b5dc2=>this[_0x2ec725(0x30b)](_0x4b5dc2));})),this[_0x1bb846(0x103)](this[_0x1bb846(0xcb)][_0x1bb846(0x1b5)](_0x1a65e2=>{const _0x159ba4=_0x1bb846;if(_0x1a65e2['id']!==_0x1897fd[_0x159ba4(0x130)]['id'])return;let {unitId:_0x3d230a,shapeId:_0x1d7988}=_0x1a65e2[_0x159ba4(0x405)];this[_0x159ba4(0x250)]({'unitId':_0x3d230a,'subUnitId':_0x3d230a,'drawingId':_0x1d7988});}));}['_insertShapes'](_0x39d84d){const _0x252f1d=_0x4ea115;_0x39d84d[_0x252f1d(0x3d7)](_0x3316d0=>{const _0x29a440=_0x252f1d;let _0x467075=this[_0x29a440(0x18d)](_0x3316d0[_0x29a440(0x18f)]);if(!_0x467075)return;let _0x7fd1bc=this[_0x29a440(0x275)][_0x29a440(0x3ba)](_0x3316d0);(_0x7fd1bc==null?void 0x0:_0x7fd1bc['drawingType'])===_0x5bc1cc['DrawingTypeEnum'][_0x29a440(0x3dc)]&&this[_0x29a440(0xb3)][_0x29a440(0x34b)](_0x7fd1bc,_0x467075[_0x29a440(0x241)]);});}['_updateShape'](_0x509717){const _0x271430=_0x4ea115;let _0x4bf63d=this['_drawingManagerService']['getDrawingByParam'](_0x509717);if((_0x4bf63d==null?void 0x0:_0x4bf63d['drawingType'])!==_0x5bc1cc[_0x271430(0x1c8)]['DRAWING_SHAPE'])return;let _0x52d4d2=this['_getSceneByUnitId'](_0x509717[_0x271430(0x18f)]);if(!_0x52d4d2||_0x4bf63d[_0x271430(0x2eb)]==null)return;let _0x3d1059=(0x0,_0x3cf577[_0x271430(0x14a)])(_0x509717),_0x550e49=_0x52d4d2[_0x271430(0x241)][_0x271430(0x179)](_0x3d1059);_0x550e49&&(_0x550e49[_0x271430(0x1c3)](_0x4bf63d['srcRect']),_0x550e49[_0x271430(0x2df)](_0x4bf63d['prstGeom']),_0x550e49['makeDirty'](!0x0));}[_0x4ea115(0x250)](_0x69b9cd){const _0x35a0a0=_0x4ea115;let _0x5731f6=this[_0x35a0a0(0x18d)](_0x69b9cd[_0x35a0a0(0x18f)]);if(!_0x5731f6)return;let _0x357602=(0x0,_0x3cf577['getDrawingShapeKeyByDrawingSearch'])(_0x69b9cd),_0x113c52=_0x5731f6['scene'][_0x35a0a0(0x179)](_0x357602);_0x113c52&&(this[_0x35a0a0(0xb3)]['refreshShapeFillImage'](_0x113c52),this[_0x35a0a0(0xb3)][_0x35a0a0(0x172)](_0x113c52,{'unitId':_0x69b9cd[_0x35a0a0(0x18f)],'subUnitId':_0x69b9cd['subUnitId'],'shapeId':_0x69b9cd[_0x35a0a0(0x408)]}),_0x113c52[_0x35a0a0(0x2cc)](!0x0));}[_0x4ea115(0x18d)](_0x4296f5){const _0x1ba85b=_0x4ea115;if(_0x4296f5==null)return null;let _0x210352=this[_0x1ba85b(0x167)][_0x1ba85b(0x290)](_0x4296f5),_0xa65d57=_0x210352==null?void 0x0:_0x210352[_0x1ba85b(0x241)];return _0xa65d57==null?null:{'scene':_0xa65d57};}};_0x141a20=_0x555290([_0x379978(0x0,_0x5bc1cc['ICommandService']),_0x379978(0x1,_0x24aff0[_0x4ea115(0x377)]),_0x379978(0x2,_0x3cf577[_0x4ea115(0x214)]),_0x379978(0x3,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x2d120d))],_0x141a20);let _0x118582=class extends _0x5bc1cc[_0x4ea115(0x201)]{constructor(_0x23ad0c=_0xd4dc79,_0x13021d,_0x2af6b7,_0x13bab6,_0x4e745e){const _0x4a40f9=_0x4ea115;super(),this['_config']=_0x23ad0c,this[_0x4a40f9(0x16b)]=_0x13021d,this[_0x4a40f9(0xcb)]=_0x2af6b7,this['_configService']=_0x13bab6,this[_0x4a40f9(0x167)]=_0x4e745e;let {menu:_0x1f1d6a,..._0x4c3cec}=(0x0,_0x5bc1cc[_0x4a40f9(0x105)])({},_0xd4dc79,this[_0x4a40f9(0x196)]);_0x1f1d6a&&this['_configService'][_0x4a40f9(0x32e)](_0x4a40f9(0x2a0),_0x1f1d6a,{'merge':!0x0}),this[_0x4a40f9(0x314)][_0x4a40f9(0x32e)](_0x3f849b,_0x4c3cec),[_0x59105c,_0x181065,_0x5a08b9,_0x28b9a9,_0x1af57a,_0x33e271][_0x4a40f9(0x3d7)](_0x1681a9=>this[_0x4a40f9(0x103)](this['_commandService']['registerCommand'](_0x1681a9)));}['onStarting'](){const _0x269573=_0x4ea115;let _0x3a1f5f=[[_0x4f75fa],[_0x3fa5ff],[_0x141a20],[_0x2d120d],[_0x22d8c8],[_0x3d330d],[_0x1499e6],[_0x298f44],[_0x213530],[_0x19d7a9]];(0x0,_0x5bc1cc[_0x269573(0x28c)])(this[_0x269573(0x16b)],_0x3a1f5f),this['_injector'][_0x269573(0x20e)](_0x4f75fa);}[_0x4ea115(0x93)](){const _0x2bc9da=_0x4ea115;this['disposeWithMe'](this['_renderManagerService'][_0x2bc9da(0x30e)](_0x5bc1cc[_0x2bc9da(0x1ee)]['UNIVER_DOC'],[_0x3d330d])),(0x0,_0x5bc1cc[_0x2bc9da(0xda)])(this[_0x2bc9da(0x16b)],[[_0x3fa5ff],[_0x141a20],[_0x2d120d],[_0x22d8c8],[_0x1499e6],[_0x298f44],[_0x213530],[_0x19d7a9]]);}};_0x128b9e(_0x118582,'type',_0x5bc1cc[_0x4ea115(0x1ee)][_0x4ea115(0x310)]),_0x128b9e(_0x118582,_0x4ea115(0x3bc),_0x4ea115(0x36f)),_0x128b9e(_0x118582,_0x4ea115(0x2f4),_0x25865a),_0x128b9e(_0x118582,'version',_0x44d234),_0x118582=_0x555290([(0x0,_0x5bc1cc[_0x4ea115(0x3d1)])(_0x1e2ae2[_0x4ea115(0x276)],_0x42aa76[_0x4ea115(0x3a2)],_0x3cf577[_0x4ea115(0x2ea)],_0x390061[_0x4ea115(0x299)],_0x24aff0[_0x4ea115(0xe9)],_0x341d83[_0x4ea115(0x40b)],_0x535f5e[_0x4ea115(0x39d)],_0x24a9ae[_0x4ea115(0x2f2)],_0x1897fd[_0x4ea115(0x340)],_0x1bc9bf['UniverShapeEditorMobileUIPlugin']),_0x379978(0x1,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x5bc1cc[_0x4ea115(0x251)])),_0x379978(0x2,_0x5bc1cc['ICommandService']),_0x379978(0x3,_0x5bc1cc[_0x4ea115(0x3ff)]),_0x379978(0x4,_0x24aff0['IRenderManagerService'])],_0x118582);let _0x4e161f=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x54c294,_0x43c309){const _0x3f7d3d=_0x4ea115;super(),this[_0x3f7d3d(0x366)]=_0x54c294,this[_0x3f7d3d(0x24e)]=_0x43c309,this[_0x3f7d3d(0xd9)](),this['_registerComponents']();}[_0x4ea115(0xd9)](){const _0x5ae9da=_0x4ea115;this['_iconManager'][_0x5ae9da(0x2d9)](_0x5ae9da(0x2b7))||this[_0x5ae9da(0x103)](this['_iconManager'][_0x5ae9da(0x223)]({'ObjectLayersIcon':_0x12045a})),this[_0x5ae9da(0x24e)][_0x5ae9da(0x2d9)](_0x5ae9da(0x401))||this[_0x5ae9da(0x103)](this[_0x5ae9da(0x24e)][_0x5ae9da(0x223)]({'BottomIcon':_0x32945e})),this[_0x5ae9da(0x24e)]['has'](_0x5ae9da(0x33a))||this[_0x5ae9da(0x103)](this['_iconManager']['register']({'MoveDownIcon':_0x4f55f7})),this[_0x5ae9da(0x24e)]['has'](_0x5ae9da(0x393))||this[_0x5ae9da(0x103)](this['_iconManager'][_0x5ae9da(0x223)]({'MoveUpIcon':_0x2c5f65})),this[_0x5ae9da(0x24e)][_0x5ae9da(0x2d9)](_0x5ae9da(0x2a4))||this[_0x5ae9da(0x103)](this[_0x5ae9da(0x24e)][_0x5ae9da(0x223)]({'ShapeFormatSettingIcon':_0x230f39})),this['_iconManager'][_0x5ae9da(0x2d9)](_0x5ae9da(0x3c5))||this[_0x5ae9da(0x103)](this[_0x5ae9da(0x24e)][_0x5ae9da(0x223)]({'TopmostIcon':_0x33a0d3})),this[_0x5ae9da(0x103)](this[_0x5ae9da(0x24e)][_0x5ae9da(0x223)](_0x47ad89));}['_registerComponents'](){const _0x27a5f6=_0x4ea115;this['disposeWithMe'](this[_0x27a5f6(0x366)][_0x27a5f6(0x223)](_0x135e7b,_0x2e5427)),this[_0x27a5f6(0x2d5)](),this[_0x27a5f6(0x221)](),this[_0x27a5f6(0x103)](this[_0x27a5f6(0x366)]['register'](_0x9bb98f,_0x1d84be)),this[_0x27a5f6(0x103)](this[_0x27a5f6(0x366)]['register'](_0x205f1c,_0x5f0bda)),this[_0x27a5f6(0x103)](this[_0x27a5f6(0x366)]['register'](_0xcb0280,_0x2c2195)),this[_0x27a5f6(0x103)](this[_0x27a5f6(0x366)][_0x27a5f6(0x223)](_0x5c919f,_0x204deb)),this[_0x27a5f6(0x103)](this['_componentManager'][_0x27a5f6(0x223)](_0x2dab50,_0x231d64)),this[_0x27a5f6(0x103)](this[_0x27a5f6(0x366)][_0x27a5f6(0x223)](_0x57b3d6,_0x1bc9bf[_0x27a5f6(0x164)])),this['_registerPickers'](),this[_0x27a5f6(0x366)]['get'](_0x390061[_0x27a5f6(0xea)])||this[_0x27a5f6(0x103)](this[_0x27a5f6(0x366)][_0x27a5f6(0x223)](_0x390061['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'],_0xdb8590)),this[_0x27a5f6(0x103)](this[_0x27a5f6(0x366)]['register'](_0x16861b,_0x3ca34c));}[_0x4ea115(0x2d5)](){const _0x40cffd=_0x4ea115;this[_0x40cffd(0x103)](this[_0x40cffd(0x366)][_0x40cffd(0x223)](_0x593cd4,_0x37b32e));}[_0x4ea115(0x221)](){const _0x58dbf3=_0x4ea115;this[_0x58dbf3(0x103)](this[_0x58dbf3(0x366)]['register'](_0x300198,_0x1573e3));}['_registerPickers'](){const _0x31d6a3=_0x4ea115;this[_0x31d6a3(0x103)](this[_0x31d6a3(0x366)][_0x31d6a3(0x223)](_0x215dca,_0x4e301f)),this[_0x31d6a3(0x103)](this[_0x31d6a3(0x366)][_0x31d6a3(0x223)](_0x19b74d,_0x418549));}};_0x4e161f=_0x555290([_0x379978(0x0,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x446708[_0x4ea115(0x343)])),_0x379978(0x1,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x446708['IconManager']))],_0x4e161f);let _0x245a37=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x5bbcf7,_0xea62d3,_0x3509b7,_0x2761fd,_0x57f7af,_0x2a5743,_0x2c80a7,_0x4e68f2,_0xcb0c26){const _0x558d70=_0x4ea115;super();let _0x38f97f=_0x45edeb=>{const _0x1d1378=_0x9d29;let _0x1a7fb5=_0x2a5743[_0x1d1378(0x1f8)](_0x45edeb[_0x1d1378(0x18f)],_0x5bc1cc['UniverInstanceType'][_0x1d1378(0x310)]),_0x5d8cb0=_0x1a7fb5?(0x0,_0x42aa76['getDocumentDrawingSegmentId'])(_0x1a7fb5,_0x45edeb['shapeId']):'';return!!_0x1a7fb5&&(0x0,_0x42aa76[_0x1d1378(0x1b4)])(_0x4e68f2,_0x45edeb[_0x1d1378(0x18f)],[(0x0,_0x42aa76[_0x1d1378(0x28b)])(_0x5d8cb0,_0x1d1378(0x31d),_0x45edeb[_0x1d1378(0x392)]),...(0x0,_0x42aa76[_0x1d1378(0x373)])(_0x1a7fb5,_0x5d8cb0,_0x1d1378(0x31d),_0x45edeb[_0x1d1378(0x392)])]);},_0x152c2b=_0x4b5188=>_0x4b5188[_0x558d70(0x392)]&&_0x38f97f(_0x4b5188)?_0x3509b7[_0x558d70(0x3e9)](_0x4b5188[_0x558d70(0x18f)],_0x4b5188[_0x558d70(0x392)])??null:null,_0x28b7f1=()=>{const _0x44212e=_0x558d70;let _0x10859d=_0x57f7af[_0x44212e(0x2dd)](),_0xe24307=_0x10859d[_0x44212e(0xbe)]===0x1?_0x10859d[0x0]:null;return(_0xe24307==null?void 0x0:_0xe24307[_0x44212e(0x3a3)])===_0x5bc1cc[_0x44212e(0x1c8)]['DRAWING_SHAPE']&&_0xe24307[_0x44212e(0x18f)]===_0x5bbcf7[_0x44212e(0x18f)]?{'unitId':_0xe24307['unitId'],'subUnitId':_0xe24307[_0x44212e(0x199)],'shapeId':_0xe24307['drawingId']}:null;};this['disposeWithMe']((0x0,_0x1bc9bf['registerShapeFormatPainter'])(_0x5bbcf7,_0xea62d3,{'changes$':(0x0,_0x587404[_0x558d70(0x105)])(_0x57f7af[_0x558d70(0x2ff)],_0x2761fd[_0x558d70(0x190)],_0x4e68f2[_0x558d70(0x2b3)]),'isActive':()=>{const _0x3514b8=_0x558d70;var _0xfd789b;return((_0xfd789b=_0x2a5743[_0x3514b8(0x204)]())==null?void 0x0:_0xfd789b[_0x3514b8(0x1e4)]())===_0x5bbcf7['unitId']&&!_0x2c80a7[_0x3514b8(0x273)](_0x5bc1cc[_0x3514b8(0x33b)])&&_0x57f7af['getFocusDrawings']()[_0x3514b8(0x23a)](_0x3d58d9=>_0x3d58d9[_0x3514b8(0x18f)]===_0x5bbcf7[_0x3514b8(0x18f)]);},'getSelectedTarget':_0x28b7f1,'getSource':()=>{let _0x2b08ef=_0x28b7f1();return _0x2b08ef?_0x152c2b(_0x2b08ef):null;},'getTarget':_0x3f9e06=>{const _0x298319=_0x558d70;let _0x53b496=_0x5bbcf7['scene'][_0x298319(0x29b)](new _0x24aff0[(_0x298319(0x397))](_0x3f9e06[_0x298319(0x1e9)],_0x3f9e06[_0x298319(0x266)]));if(!(_0x53b496 instanceof _0x49294f))return null;let _0x3ee49a={'unitId':_0x5bbcf7[_0x298319(0x18f)],'subUnitId':_0x5bbcf7['unitId'],'shapeId':_0x53b496['shapeId']};return _0x38f97f(_0x3ee49a)?_0x3ee49a:null;},'getShape':_0x152c2b,'update':(_0x2bb193,_0x219318,_0x4a2ce1)=>_0xcb0c26[_0x558d70(0x217)](_0x1897fd[_0x558d70(0x3e3)]['id'],{..._0x2bb193,'shapeData':_0x4a2ce1,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x219318}})}));}};_0x245a37=_0x555290([_0x379978(0x1,(0x0,_0x5bc1cc['Inject'])(_0x446708[_0x4ea115(0x240)])),_0x379978(0x2,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x1897fd[_0x4ea115(0x293)])),_0x379978(0x3,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x213530)),_0x379978(0x4,_0x3cf577[_0x4ea115(0x214)]),_0x379978(0x5,_0x5bc1cc[_0x4ea115(0x18e)]),_0x379978(0x6,_0x5bc1cc['IContextService']),_0x379978(0x7,_0x5bc1cc[_0x4ea115(0x3d0)]),_0x379978(0x8,_0x5bc1cc[_0x4ea115(0x2db)])],_0x245a37);function _0x43489b(_0x1cba30,_0x471557){const _0x54eaaf=_0x4ea115;let _0x2817f1=_0x1cba30;for(;_0x2817f1;){if(_0x471557(_0x2817f1))return _0x2817f1;_0x2817f1=typeof _0x2817f1[_0x54eaaf(0x15c)]==_0x54eaaf(0x2ad)?_0x2817f1[_0x54eaaf(0x15c)]():null;}return null;}function _0x370239(_0x1586d1){return _0x43489b(_0x1586d1,_0x26e6ab=>_0x26e6ab instanceof _0x49294f);}function _0x6442d(_0x4abec4){const _0x2a5fa4=_0x4ea115;return(_0x4abec4==null?void 0x0:_0x4abec4[_0x2a5fa4(0x1eb)])==null;}let _0x8a76d7=class extends _0x5bc1cc['Disposable']{constructor(_0x3dbe6f,_0x3ce4f4,_0xe3f62c,_0x107467,_0x143216,_0x352b37){const _0x41feee=_0x4ea115;super(),this[_0x41feee(0x334)]=_0x3dbe6f,this[_0x41feee(0x149)]=_0x3ce4f4,this[_0x41feee(0x275)]=_0xe3f62c,this[_0x41feee(0x32f)]=_0x107467,this[_0x41feee(0x37e)]=_0x143216,this[_0x41feee(0x3b7)]=_0x352b37,_0x128b9e(this,_0x41feee(0x33e),null),_0x128b9e(this,_0x41feee(0x20d),null),this['_initEvents'](),this[_0x41feee(0x287)](),this[_0x41feee(0xac)]();}['dispose'](){const _0x16fe73=_0x4ea115;this[_0x16fe73(0xbd)](),super[_0x16fe73(0x17a)]();}[_0x4ea115(0xc5)](){const _0x14d449=_0x4ea115;let {scene:_0x582473}=this[_0x14d449(0x334)];this[_0x14d449(0x103)](_0x582473[_0x14d449(0x33d)][_0x14d449(0x3bb)]((_0x33d27b,_0xf474a9)=>{const _0x5c4341=_0x14d449;let {offsetX:_0x4127fa,offsetY:_0x187b19}=_0x33d27b,_0x2879ae=_0x24aff0[_0x5c4341(0x397)][_0x5c4341(0x2e6)]([_0x4127fa,_0x187b19]),_0xb5d894=_0x370239(_0x582473[_0x5c4341(0x29b)](_0x2879ae))??this[_0x5c4341(0x13b)](_0x2879ae);if(_0xb5d894){_0xf474a9[_0x5c4341(0xcd)]();let _0x3d50fb=this[_0x5c4341(0x3b7)][_0x5c4341(0x189)](_0xb5d894[_0x5c4341(0x18f)],_0xb5d894[_0x5c4341(0x199)],_0xb5d894[_0x5c4341(0x392)]);if(!_0x3d50fb||(0x0,_0x349291[_0x5c4341(0x2d6)])(_0x3d50fb['getShapeType']())||!_0x6442d(_0x3d50fb[_0x5c4341(0x165)]()))return;this[_0x5c4341(0x149)][_0x5c4341(0x18a)]({'visible':!0x0,'unitId':_0xb5d894[_0x5c4341(0x18f)],'subUnitId':_0xb5d894[_0x5c4341(0x199)],'shapeId':_0xb5d894[_0x5c4341(0x392)],'shapeKey':_0xb5d894[_0x5c4341(0x23f)]});}}));}[_0x4ea115(0x13b)](_0x1036c7){const _0x41a572=_0x4ea115;let {scene:_0x2df1cf}=this[_0x41a572(0x334)];return this[_0x41a572(0x275)][_0x41a572(0x2dd)]()[_0x41a572(0x3ca)](_0x1f7935=>_0x2df1cf[_0x41a572(0x179)]((0x0,_0x3cf577['getDrawingShapeKeyByDrawingSearch'])(_0x1f7935)))[_0x41a572(0x99)](_0x39a1f9=>_0x39a1f9 instanceof _0x49294f&&_0x39a1f9['isHit'](_0x1036c7))??null;}[_0x4ea115(0x287)](){const _0x4d6c3b=_0x4ea115;this[_0x4d6c3b(0x103)](this[_0x4d6c3b(0x275)][_0x4d6c3b(0x2ff)][_0x4d6c3b(0x3a6)](_0x401c31=>{const _0x5a89a9=_0x4d6c3b;if(_0x401c31[_0x5a89a9(0xbe)]===0x1){let _0x1108a8=_0x401c31[0x0],_0x599267=this[_0x5a89a9(0x275)][_0x5a89a9(0x3ba)](_0x1108a8);if((_0x599267==null?void 0x0:_0x599267[_0x5a89a9(0x3a3)])===_0x5bc1cc[_0x5a89a9(0x1c8)]['DRAWING_SHAPE']){let _0x5e194d=this[_0x5a89a9(0x149)]['getEditing']();if((_0x5e194d==null?void 0x0:_0x5e194d[_0x5a89a9(0x392)])===_0x1108a8[_0x5a89a9(0x408)]&&_0x5e194d['visible'])return;(0x0,_0x349291['isConnectorShape'])(this[_0x5a89a9(0x3b7)]['getShapeType'](_0x1108a8[_0x5a89a9(0x18f)],_0x1108a8[_0x5a89a9(0x199)],_0x1108a8[_0x5a89a9(0x408)]))&&this['_shapeTextEditingService'][_0x5a89a9(0x18a)](null);}else this['_shapeTextEditingService'][_0x5a89a9(0x3b0)]();}else this[_0x5a89a9(0x149)][_0x5a89a9(0x3b0)]();})),this[_0x4d6c3b(0x103)](this['_drawingManagerService'][_0x4d6c3b(0x15a)][_0x4d6c3b(0x3a6)](_0x34e695=>{const _0x355e3c=_0x4d6c3b;let _0x1e6ca5=this[_0x355e3c(0x149)][_0x355e3c(0x3db)]();_0x1e6ca5&&_0x34e695[_0x355e3c(0x23a)](_0x46495f=>_0x46495f[_0x355e3c(0x408)]===_0x1e6ca5[_0x355e3c(0x392)])&&this[_0x355e3c(0x149)][_0x355e3c(0x18a)](null);}));}[_0x4ea115(0xac)](){const _0x59a654=_0x4ea115;this[_0x59a654(0x103)](this[_0x59a654(0x149)][_0x59a654(0x190)][_0x59a654(0x3a6)](_0x2471f4=>{const _0x16a825=_0x59a654;(_0x2471f4==null?void 0x0:_0x2471f4[_0x16a825(0x39e)])===!0x0&&_0x2471f4[_0x16a825(0x18f)]===this[_0x16a825(0x334)]['unitId']?this[_0x16a825(0x20d)]??=this[_0x16a825(0x37e)]['beginInteraction']():this['_endLayoutInteraction']();let {scene:_0x1f0279}=this['_context'];if(this['_lastEditingShapeKey']){let _0x4dd0ee=_0x1f0279[_0x16a825(0x179)](this[_0x16a825(0x33e)]);_0x4dd0ee&&_0x4dd0ee[_0x16a825(0x18a)](!0x1);}if(_0x2471f4){let _0x27aaf7=!!_0x2471f4[_0x16a825(0x39e)],_0x2fbcd4=_0x1f0279[_0x16a825(0x179)](_0x2471f4[_0x16a825(0x35b)]);_0x2fbcd4&&(_0x2fbcd4[_0x16a825(0x18a)](_0x27aaf7),this[_0x16a825(0x33e)]=_0x2471f4['shapeKey']),this[_0x16a825(0x32f)][_0x16a825(0x153)](_0x5bc1cc['FOCUSING_SHAPE_TEXT_EDITOR'],_0x27aaf7);}else this[_0x16a825(0x33e)]=null,this[_0x16a825(0x32f)][_0x16a825(0x153)](_0x5bc1cc[_0x16a825(0x33b)],!0x1);}));}[_0x4ea115(0xbd)](){const _0xe7c534=_0x4ea115;var _0x2999e5;(_0x2999e5=this[_0xe7c534(0x20d)])==null||_0x2999e5[_0xe7c534(0x17a)](),this[_0xe7c534(0x20d)]=null;}};_0x8a76d7=_0x555290([_0x379978(0x1,(0x0,_0x5bc1cc['Inject'])(_0x213530)),_0x379978(0x2,_0x3cf577[_0x4ea115(0x214)]),_0x379978(0x3,_0x5bc1cc[_0x4ea115(0x3f8)]),_0x379978(0x4,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x341d83['DocLayoutInteractionService'])),_0x379978(0x5,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x1897fd['DocsShapeService']))],_0x8a76d7);let _0x57f8f2=class extends _0x1bc9bf[_0x4ea115(0x2f1)]{constructor(_0x499b4b,_0x9f0e25,_0x133c1b,_0x198da8,_0x57b2fb,_0x1ea6c3,_0x12fa6b,_0x2be191,_0x39b6d7,_0x3a0fcc){super(_0x499b4b,_0x9f0e25,_0x133c1b,_0x198da8,_0x57b2fb,_0x1ea6c3,_0x12fa6b,_0x2be191,_0x39b6d7,_0x3a0fcc,{'componentKey':_0x57b3d6,'editorUnitId':_0x33ec1c});}};_0x57f8f2=_0x555290([_0x379978(0x1,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x42aa76[_0x4ea115(0x3c2)])),_0x379978(0x2,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x341d83['DocCanvasPopManagerService'])),_0x379978(0x3,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x341d83[_0x4ea115(0x375)])),_0x379978(0x4,_0x5bc1cc[_0x4ea115(0x2db)]),_0x379978(0x5,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x341d83[_0x4ea115(0x112)])),_0x379978(0x6,(0x0,_0x5bc1cc['Inject'])(_0x1bc9bf[_0x4ea115(0xbb)])),_0x379978(0x7,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x42aa76[_0x4ea115(0x282)])),_0x379978(0x8,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x341d83['DocRenderController'])),_0x379978(0x9,(0x0,_0x5bc1cc['Inject'])(_0x213530))],_0x57f8f2);let _0x500c6d=class extends _0x5bc1cc['Disposable']{constructor(_0x2a35ac,_0x29d304,_0x53529e,_0x4cc4f3,_0x3e818f,_0x4ecb5c,_0x545b8b,_0x59de27,_0x6f2804,_0xb0452c,_0x38469b,_0x4c1791){const _0x408ab8=_0x4ea115;super(),this['_univerInstanceService']=_0x2a35ac,this[_0x408ab8(0x1c5)]=_0x29d304,this[_0x408ab8(0x18b)]=_0x53529e,this['_docsShapeService']=_0x4cc4f3,this[_0x408ab8(0x260)]=_0x3e818f,this[_0x408ab8(0xcb)]=_0x4ecb5c,this[_0x408ab8(0x275)]=_0x545b8b,this[_0x408ab8(0x3bd)]=_0x59de27,this['_renderManagerService']=_0x6f2804,this['_contextService']=_0xb0452c,this[_0x408ab8(0x149)]=_0x38469b,this[_0x408ab8(0x185)]=_0x4c1791,_0x128b9e(this,'_sidebarDisposable',null),_0x128b9e(this,'_activeShapeInfo',null),_0x128b9e(this,_0x408ab8(0x3b6),!0x1),_0x128b9e(this,'_shapeEditPanelVersion',0x0),_0x128b9e(this,_0x408ab8(0x2fb),new Map()),_0x128b9e(this,_0x408ab8(0x30c),new Map()),this[_0x408ab8(0x1d0)](),this[_0x408ab8(0x103)](this[_0x408ab8(0x2f8)][_0x408ab8(0x341)](_0x5bc1cc[_0x408ab8(0x1ee)][_0x408ab8(0x310)])[_0x408ab8(0x3a6)](_0x52bfd7=>{const _0x169e51=_0x408ab8;if(!_0x52bfd7){var _0x80ee55;(_0x80ee55=this[_0x169e51(0x3c6)])==null||_0x80ee55[_0x169e51(0x17a)]();}})),this[_0x408ab8(0x37d)](),this['disposeWithMe']((0x0,_0x1bc9bf[_0x408ab8(0x391)])(this['_renderManagerService'],_0x5bc1cc[_0x408ab8(0x1ee)][_0x408ab8(0x310)],_0x4b0192=>this[_0x408ab8(0xb1)](_0x4b0192))),this[_0x408ab8(0x103)](this['_shapeTextEditingService'][_0x408ab8(0x190)][_0x408ab8(0x3a6)](_0x2df984=>{const _0x56e0ff=_0x408ab8;_0x2df984&&this[_0x56e0ff(0x1c2)](void 0x0,!0x0);})),this[_0x408ab8(0x103)](this[_0x408ab8(0x185)][_0x408ab8(0x2b3)][_0x408ab8(0x3a6)](()=>{const _0x2e80ed=_0x408ab8;this['_drawingManagerService']['getFocusDrawings']()['some'](_0xde8e0=>_0xde8e0['drawingType']===_0x5bc1cc[_0x2e80ed(0x1c8)][_0x2e80ed(0x3dc)]&&this[_0x2e80ed(0x2f8)][_0x2e80ed(0xc6)](_0xde8e0[_0x2e80ed(0x18f)])===_0x5bc1cc[_0x2e80ed(0x1ee)][_0x2e80ed(0x310)]&&!this[_0x2e80ed(0x3f6)](_0xde8e0[_0x2e80ed(0x18f)],_0xde8e0[_0x2e80ed(0x408)]))&&(this[_0x2e80ed(0x1c2)](void 0x0,!0x0),this[_0x2e80ed(0x17f)]());}));}[_0x4ea115(0x1d0)](){const _0x1746e0=_0x4ea115;this['_menuManagerService'][_0x1746e0(0x1da)](_0x2b9f36);}['getShapePopupMenus'](_0x23b6d3,_0x94c0a3,_0x562d0e,_0x42dc9b){const _0x27c856=_0x4ea115;return[{'label':_0x27c856(0x38f),'index':0x0,'commandId':_0x5a08b9['id'],'commandParams':{'unitId':_0x23b6d3,'subUnitId':_0x94c0a3,'drawingId':_0x562d0e},'disable':_0x42dc9b===_0x5bc1cc['DrawingTypeEnum'][_0x27c856(0x187)]},{'label':_0x27c856(0x123),'index':0x1,'commandId':_0x1c356f['RemoveDocDrawingCommand']['id'],'commandParams':{'unitId':_0x23b6d3,'drawings':[{'unitId':_0x23b6d3,'subUnitId':_0x94c0a3,'drawingId':_0x562d0e}]},'disable':!0x1},{'label':'docs-shape-ui.hidePanel','index':0x2,'commandId':_0x181065['id'],'commandParams':{'unitId':_0x23b6d3,'subUnitId':_0x94c0a3,'drawingId':_0x562d0e},'disable':!0x1}];}[_0x4ea115(0x29f)](_0x5e4950,_0x1a42e4,_0x72dcbd){const _0x582e11=_0x4ea115;let _0x238d63=this['_docsShapeService'][_0x582e11(0xc8)](_0x5e4950,_0x1a42e4,_0x72dcbd),_0x8d1d9f=this[_0x582e11(0x3b7)][_0x582e11(0x3e9)](_0x5e4950,_0x1a42e4,_0x72dcbd);return _0x238d63!==void 0x0&&_0x8d1d9f!==void 0x0?{'shapeData':_0x8d1d9f,'shapeId':_0x72dcbd,'shapeType':_0x238d63,'unitId':_0x5e4950,'subUnitId':_0x1a42e4,'version':this[_0x582e11(0x1ea)],'disableShapeOption':!0x1}:null;}[_0x4ea115(0x1c2)](_0x5dbc47,_0x1e46d9=!0x1){const _0x29fd99=_0x4ea115;if(_0x5dbc47==null){[...this[_0x29fd99(0x2fb)]['keys']()][_0x29fd99(0x3d7)](_0x21d65b=>this[_0x29fd99(0x1c2)](_0x21d65b,_0x1e46d9));return;}let _0x21b9bf=this[_0x29fd99(0x2fb)][_0x29fd99(0x20e)](_0x5dbc47);if(_0x21b9bf){for(let _0x3af000=_0x21b9bf[_0x29fd99(0xbe)]-0x1;_0x3af000>=0x0;--_0x3af000){let _0x4fa1d6=_0x21b9bf[_0x3af000];(_0x1e46d9||_0x4fa1d6[_0x29fd99(0x30a)]())&&(_0x4fa1d6[_0x29fd99(0x17a)](),_0x21b9bf[_0x29fd99(0x8f)](_0x3af000,0x1));}_0x21b9bf['length']===0x0&&(this[_0x29fd99(0x2fb)][_0x29fd99(0x284)](_0x5dbc47),this[_0x29fd99(0x30c)][_0x29fd99(0x284)](_0x5dbc47));}}[_0x4ea115(0x1e0)](_0x3b4175){const _0xe0eeba=_0x4ea115;let _0x5df015=this['_disposePopupsByUnit']['get'](_0x3b4175);if(_0x5df015)return _0x5df015;let _0x5a5dd9=[];return this[_0xe0eeba(0x2fb)][_0xe0eeba(0x1fe)](_0x3b4175,_0x5a5dd9),_0x5a5dd9;}[_0x4ea115(0xb1)](_0x2c08a2){const _0x573d1c=_0x4ea115;var _0x13e89e;let _0x5ebb60=new _0x5bc1cc[(_0x573d1c(0x2c2))](),_0x3c15b5=(_0x13e89e=this[_0x573d1c(0x167)][_0x573d1c(0x26c)](_0x5bc1cc[_0x573d1c(0x1ee)][_0x573d1c(0x310)])[_0x573d1c(0x99)](_0x3214ef=>_0x3214ef[_0x573d1c(0x241)]['getTransformerByCreate']()===_0x2c08a2))==null?void 0x0:_0x13e89e[_0x573d1c(0x18f)];return _0x3c15b5?(_0x5ebb60['add'](_0x2c08a2[_0x573d1c(0x1cb)][_0x573d1c(0x3a6)](()=>this[_0x573d1c(0x31a)](_0x2c08a2,_0x3c15b5))),_0x5ebb60[_0x573d1c(0xef)](_0x2c08a2[_0x573d1c(0x1ec)]['subscribe'](()=>{const _0xa296d1=_0x573d1c;this[_0xa296d1(0x1c2)](_0x3c15b5),queueMicrotask(()=>{const _0x15f24c=_0xa296d1;_0x2c08a2[_0x15f24c(0x3c9)]()[_0x15f24c(0x25e)]>0x0||(this['_contextService']['setContextValue'](_0x5bc1cc[_0x15f24c(0x3ea)],!0x1),this[_0x15f24c(0x275)][_0x15f24c(0x233)](null));});})),_0x5ebb60[_0x573d1c(0xef)](_0x2c08a2[_0x573d1c(0x102)]['subscribe'](()=>{const _0x5740a0=_0x573d1c;this[_0x5740a0(0x1c2)](_0x3c15b5,!0x0);})),_0x5ebb60):_0x5ebb60;}[_0x4ea115(0x31a)](_0x520f0d,_0x22fc56){const _0x41ccb3=_0x4ea115;let _0x62e6ab=_0x520f0d[_0x41ccb3(0x3c9)]();if(this['_isOpenedShapeEditPanel']){this[_0x41ccb3(0x1c2)](_0x22fc56,!0x0);return;}if(_0x62e6ab['size']>0x1){this['_clearPopups'](_0x22fc56);return;}let _0x5af983=_0x62e6ab[_0x41ccb3(0x3f5)]()[_0x41ccb3(0x3eb)]()[_0x41ccb3(0x115)];if(!_0x5af983){this[_0x41ccb3(0x1c2)](_0x22fc56);return;}let _0x33861f=this[_0x41ccb3(0x275)][_0x41ccb3(0x26f)](_0x5af983[_0x41ccb3(0x23f)]);if(!_0x33861f||_0x33861f[_0x41ccb3(0x3a3)]!==_0x5bc1cc['DrawingTypeEnum']['DRAWING_SHAPE']){this[_0x41ccb3(0x1c2)](_0x22fc56);return;}let {unitId:_0x7d7aa,subUnitId:_0x22be00,drawingId:_0x388af7,drawingType:_0xce6dab}=_0x33861f;if(!this['_canEditShape'](_0x7d7aa,_0x388af7)){this[_0x41ccb3(0x1c2)](_0x22fc56,!0x0);return;}let _0x91456d=this['_getShapeInfo'](_0x7d7aa,_0x22be00,_0x388af7);if(!_0x91456d){this[_0x41ccb3(0x1c2)](_0x22fc56);return;}let _0x7b997a=this[_0x41ccb3(0x2fb)][_0x41ccb3(0x20e)](_0x22fc56),_0x45ebbd=_0x7d7aa+':'+_0x22be00+':'+_0x388af7;if(this[_0x41ccb3(0x30c)][_0x41ccb3(0x20e)](_0x22fc56)===_0x45ebbd&&_0x7b997a&&_0x7b997a[_0x41ccb3(0xbe)]>0x0)return;this[_0x41ccb3(0x1c2)](_0x22fc56);let _0x152f36=this[_0x41ccb3(0x167)][_0x41ccb3(0x290)](_0x7d7aa),_0x4de1b1=((_0x152f36==null?void 0x0:_0x152f36[_0x41ccb3(0x2c3)])===!0x1?_0x152f36['with'](_0x341d83['DocCanvasPopManagerService']):this[_0x41ccb3(0x3bd)])[_0x41ccb3(0x388)](_0x5af983,this[_0x41ccb3(0x239)](_0x91456d,_0xce6dab),_0x7d7aa);this['disposeWithMe'](_0x4de1b1),this['_getDisposePopups'](_0x22fc56)[_0x41ccb3(0x39b)](_0x4de1b1),this[_0x41ccb3(0x30c)][_0x41ccb3(0x1fe)](_0x22fc56,_0x45ebbd),this[_0x41ccb3(0x275)][_0x41ccb3(0x2dd)]()['some'](_0x23c78c=>_0x23c78c[_0x41ccb3(0x18f)]===_0x7d7aa&&_0x23c78c['subUnitId']===_0x22be00&&_0x23c78c['drawingId']===_0x388af7)||this[_0x41ccb3(0x275)][_0x41ccb3(0x233)]([{'unitId':_0x7d7aa,'subUnitId':_0x22be00,'drawingId':_0x388af7}]);}[_0x4ea115(0x239)](_0x466f2c,_0x4bfa59){const _0x29493c=_0x4ea115;return{'componentKey':_0x300198,'direction':_0x29493c(0xa9),'offset':[0x0,_0x1bc9bf['SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET']],'extraProps':{'unitId':_0x466f2c[_0x29493c(0x18f)],'subUnitId':_0x466f2c[_0x29493c(0x199)],'drawingId':_0x466f2c[_0x29493c(0x392)],'drawingType':_0x4bfa59,'shapeType':_0x466f2c['shapeType'],'shapeData':_0x466f2c['shapeData']}};}[_0x4ea115(0x3f6)](_0x265ec9,_0x1c12ad){const _0x57ec09=_0x4ea115;let _0x1766b4=this[_0x57ec09(0x2f8)][_0x57ec09(0x1f8)](_0x265ec9,_0x5bc1cc[_0x57ec09(0x1ee)][_0x57ec09(0x310)]);if(!_0x1766b4)return!0x1;let _0x385a1c=(0x0,_0x42aa76['getDocumentDrawingSegmentId'])(_0x1766b4,_0x1c12ad);return(0x0,_0x42aa76[_0x57ec09(0x1b4)])(this[_0x57ec09(0x185)],_0x265ec9,[...(0x0,_0x42aa76['getDocumentEntityParentPermissionObjectIds'])(_0x1766b4,_0x385a1c,'drawing',_0x1c12ad),(0x0,_0x42aa76[_0x57ec09(0x28b)])(_0x385a1c,_0x57ec09(0x31d),_0x1c12ad)]);}[_0x4ea115(0x37d)](){const _0x25221a=_0x4ea115;this['disposeWithMe'](this[_0x25221a(0xcb)][_0x25221a(0x1b5)](_0x55a4ed=>{const _0x43d437=_0x25221a;if(_0x55a4ed['id']===_0x5a08b9['id']){let {unitId:_0x2538b1,subUnitId:_0xfc35c5,drawingId:_0x396db6}=_0x55a4ed[_0x43d437(0x405)];this[_0x43d437(0x1ea)]+=0x1,this['_activeShapeInfo']=this[_0x43d437(0x29f)](_0x2538b1,_0xfc35c5,_0x396db6),this[_0x43d437(0x1c2)](void 0x0,!0x0),this[_0x43d437(0x15e)]();}if(_0x55a4ed['id']===_0x181065['id']&&(this[_0x43d437(0x11c)]=null,this[_0x43d437(0x17f)]()),_0x55a4ed['id']===_0x1897fd[_0x43d437(0x130)]['id']){let {unitId:_0x25af3f,shapeId:_0x5dde7b}=_0x55a4ed[_0x43d437(0x405)];if(this[_0x43d437(0x11c)]&&this[_0x43d437(0x11c)][_0x43d437(0x392)]===_0x5dde7b){let _0x212164=this[_0x43d437(0x29f)](_0x25af3f,this[_0x43d437(0x11c)][_0x43d437(0x199)],_0x5dde7b);_0x212164&&(this[_0x43d437(0x1ea)]+=0x1,_0x212164[_0x43d437(0xf1)]=this['_shapeEditPanelVersion'],this[_0x43d437(0x11c)]=_0x212164,this['_isOpenedShapeEditPanel']&&this[_0x43d437(0x15e)]());}}})),this[_0x25221a(0x103)](this['_drawingManagerService'][_0x25221a(0x2ff)][_0x25221a(0x3a6)](_0x1d3968=>{const _0x490993=_0x25221a;if(this[_0x490993(0x3b6)]===!0x1)return;if(_0x1d3968['length']===0x0){this[_0x490993(0x11c)]=null,this['_closeShapeEditPanel']();return;}if(_0x1d3968[_0x490993(0xbe)]===0x1&&_0x1d3968[0x0][_0x490993(0x3a3)]===_0x5bc1cc['DrawingTypeEnum']['DRAWING_SHAPE']&&(this['_shapeEditPanelVersion']+=0x1,this[_0x490993(0x11c)]=this['_getShapeInfo'](_0x1d3968[0x0][_0x490993(0x18f)],_0x1d3968[0x0][_0x490993(0x199)],_0x1d3968[0x0][_0x490993(0x408)]),this[_0x490993(0x11c)])){this[_0x490993(0x15e)]();return;}let _0x2e6939=_0x1d3968[_0x490993(0x2e8)](_0x287b28=>_0x287b28[_0x490993(0x3a3)]===_0x5bc1cc['DrawingTypeEnum'][_0x490993(0x3dc)]);if(_0x1d3968[_0x490993(0xbe)]>0x1&&_0x2e6939['length']===_0x1d3968['length']){if(this['_shapeEditPanelVersion']+=0x1,this[_0x490993(0x11c)]=this[_0x490993(0x29f)](_0x1d3968[0x0][_0x490993(0x18f)],_0x1d3968[0x0]['subUnitId'],_0x1d3968[0x0]['drawingId']),this['_activeShapeInfo']){this['_openShapeEditPanel']();return;}}else{if(this[_0x490993(0x1ea)]+=0x1,this[_0x490993(0x11c)]=this['_getShapeInfo'](_0x1d3968[0x0]['unitId'],_0x1d3968[0x0][_0x490993(0x199)],_0x1d3968[0x0][_0x490993(0x408)]),this[_0x490993(0x11c)]){this[_0x490993(0x11c)]['disableShapeOption']=!0x0,this['_openShapeEditPanel']();return;}}this[_0x490993(0x17f)]();}));}['_openShapeEditPanel'](){const _0x16cd22=_0x4ea115;this[_0x16cd22(0x11c)]&&(this[_0x16cd22(0x3c6)]=this[_0x16cd22(0x1c5)][_0x16cd22(0x402)]({'id':_0x135e7b,'header':{'title':this[_0x16cd22(0x260)]['t'](_0x16cd22(0xa7))},'width':0x184,'children':{'label':_0x135e7b,...this[_0x16cd22(0x11c)]},'onClose':()=>{const _0x5d1426=_0x16cd22;this['_drawingManagerService'][_0x5d1426(0x233)](null),this[_0x5d1426(0x32f)][_0x5d1426(0x153)](_0x5bc1cc[_0x5d1426(0x3ea)],!0x1),this[_0x5d1426(0x3c6)]=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}[_0x4ea115(0x17f)](){const _0x5638e9=_0x4ea115;this[_0x5638e9(0x3b6)]=!0x1,this[_0x5638e9(0x1c5)]['close'](_0x135e7b),this[_0x5638e9(0x3c6)]=null,this[_0x5638e9(0x32f)][_0x5638e9(0x153)](_0x5bc1cc['FOCUSING_COMMON_DRAWINGS'],!0x1),this['_drawingManagerService'][_0x5638e9(0x233)](null);}};_0x500c6d=_0x555290([_0x379978(0x0,_0x5bc1cc['IUniverInstanceService']),_0x379978(0x1,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x446708['ISidebarService'])),_0x379978(0x2,_0x446708[_0x4ea115(0x322)]),_0x379978(0x3,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x1897fd[_0x4ea115(0x293)])),_0x379978(0x4,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x5bc1cc[_0x4ea115(0x243)])),_0x379978(0x5,_0x5bc1cc[_0x4ea115(0x2db)]),_0x379978(0x6,_0x3cf577[_0x4ea115(0x214)]),_0x379978(0x7,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x341d83[_0x4ea115(0x277)])),_0x379978(0x8,_0x24aff0[_0x4ea115(0x377)]),_0x379978(0x9,_0x5bc1cc['IContextService']),_0x379978(0xa,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x213530)),_0x379978(0xb,_0x5bc1cc[_0x4ea115(0x3d0)])],_0x500c6d);let _0x3d1652=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x2ae459,_0x54faee){const _0x4f721f=_0x4ea115;super(),this['_docsShapeService']=_0x2ae459,this[_0x4f721f(0x260)]=_0x54faee,this[_0x4f721f(0x103)]((0x0,_0x5bc1cc[_0x4f721f(0x230)])((0x0,_0x24aff0['setDocsCustomBlockRenderViewportProvider'])((_0x497dd4,_0x2f1035,_0x2f4f0b)=>this['_measure'](_0x497dd4,_0x2f1035,_0x2f4f0b))));}[_0x4ea115(0x31f)](_0x216384,_0x1ff668,_0x1bd633){const _0x2310ba=_0x4ea115;let _0x314bdf=this[_0x2310ba(0x3b7)]['getShapeModel'](_0x216384,_0x1ff668);if(!_0x314bdf)return null;let _0x1ab247=_0x314bdf['getShapeData'](),_0xe9ca5e=(0x0,_0x349291[_0x2310ba(0x144)])(_0x1ab247),_0x4e1d2c=_0x1ab247[_0x2310ba(0x186)];if(!_0x4e1d2c||_0xe9ca5e[_0x2310ba(0x174)]!==_0x349291[_0x2310ba(0x182)][_0x2310ba(0x11e)])return null;let _0x401e16=_0x1bd633[_0x2310ba(0x25b)],_0x43a839=_0x1bd633[_0x2310ba(0x9a)];_0x314bdf[_0x2310ba(0x178)]({'width':_0x401e16,'height':_0x43a839});let _0x3b231c=_0x314bdf[_0x2310ba(0x317)]({'left':0x0,'top':0x0,'width':_0x401e16,'height':_0x43a839}),_0xfa99f4=(0x0,_0x1bc9bf[_0x2310ba(0x232)])(_0x2310ba(0x267)in _0x4e1d2c?_0x4e1d2c['dataModel']:void 0x0),_0x4fde25=(_0xfa99f4==null?void 0x0:_0xfa99f4[_0x2310ba(0x262)])??('isRichText'in _0x4e1d2c?(0x0,_0x1bc9bf[_0x2310ba(0x327)])(_0x4e1d2c,_0x1ff668+_0x2310ba(0x34f)):null);if(!_0x4fde25)return null;let _0x2c6579=(0x0,_0x1bc9bf[_0x2310ba(0x292)])({'documentData':_0x4fde25,'height':_0x43a839,'shapeData':_0x1ab247,'textRect':_0x3b231c,'width':_0x401e16,'widthBuffer':0x0});_0x2c6579&&({width:_0x401e16,height:_0x43a839}=_0x2c6579,_0x314bdf[_0x2310ba(0x178)]({'width':_0x401e16,'height':_0x43a839}),_0x3b231c=_0x314bdf['getShapeTextRect']({'left':0x0,'top':0x0,'width':_0x401e16,'height':_0x43a839}));let _0x33bcc6=_0x4e1d2c[_0x2310ba(0x1fb)]!==!0x1,_0x5b5711=(0x0,_0x1bc9bf['prepareShapeTextDocumentData'])(_0x4fde25,{'isHorizontal':_0x33bcc6,'textRect':_0x3b231c,'verticalAlign':_0xfa99f4==null?void 0x0:_0xfa99f4['va'],'horizontalAlign':_0xfa99f4==null?void 0x0:_0xfa99f4['ha'],'wrapStrategy':(0x0,_0x1bc9bf['resolveShapeTextEditorWrapStrategy'])(_0x1ab247)}),_0x3569a1=new _0x5bc1cc['DocumentDataModel'](_0x5b5711),_0x63f7fe=new _0x24aff0[(_0x2310ba(0xd5))](_0x3569a1),_0x5953a8=_0x24aff0[_0x2310ba(0x129)][_0x2310ba(0x191)](_0x63f7fe,this[_0x2310ba(0x260)]);try{var _0x2b93b9,_0x10b925;_0x5953a8['calculate']();let _0x3af383=((_0x2b93b9=_0x5953a8[_0x2310ba(0x303)]())==null?void 0x0:_0x2b93b9[_0x2310ba(0x227)])??[],_0x3e85a9=_0x3af383[_0x3af383[_0x2310ba(0xbe)]-0x1],_0x3cbd86=_0x3e85a9?Math[_0x2310ba(0x409)](0x0,((_0x10b925=(0x0,_0x24aff0['getLastLine'])(_0x3e85a9))==null?void 0x0:_0x10b925[_0x2310ba(0x10e)])??0x0):0x0,_0x2078ff=_0x5953a8['getActualSize']()['actualHeight']+_0x3cbd86-(_0x33bcc6?_0x3b231c[_0x2310ba(0x37b)]:_0x3b231c['width']);return Number[_0x2310ba(0xe5)](_0x2078ff)?_0x33bcc6?{'width':_0x401e16,'height':Math[_0x2310ba(0x409)](0x1,_0x43a839+_0x2078ff)}:{'width':Math[_0x2310ba(0x409)](0x1,_0x401e16+_0x2078ff),'height':_0x43a839}:null;}finally{_0x5953a8[_0x2310ba(0x17a)](),_0x63f7fe['dispose'](),_0x3569a1['dispose']();}}};_0x3d1652=_0x555290([_0x379978(0x0,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x1897fd[_0x4ea115(0x293)])),_0x379978(0x1,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x5bc1cc[_0x4ea115(0x243)]))],_0x3d1652);let _0x1879e9=class extends _0x5bc1cc['Plugin']{constructor(_0x486b0b=_0xd4dc79,_0x262e78,_0x5e0263,_0x2b3d47,_0x2b265f){const _0xd2c492=_0x4ea115;super(),this[_0xd2c492(0x196)]=_0x486b0b,this[_0xd2c492(0x16b)]=_0x262e78,this[_0xd2c492(0xcb)]=_0x5e0263,this['_configService']=_0x2b3d47,this['_renderManagerService']=_0x2b265f;let {menu:_0x410f67,..._0x349922}=(0x0,_0x5bc1cc[_0xd2c492(0x105)])({},_0xd4dc79,this[_0xd2c492(0x196)]);_0x410f67&&this['_configService'][_0xd2c492(0x32e)]('menu',_0x410f67,{'merge':!0x0}),this[_0xd2c492(0x314)][_0xd2c492(0x32e)](_0x3f849b,_0x349922),this[_0xd2c492(0xb5)]();}[_0x4ea115(0x1b9)](){const _0x149380=_0x4ea115;(0x0,_0x5bc1cc[_0x149380(0x28c)])(this[_0x149380(0x16b)],this[_0x149380(0x2b2)]()),this[_0x149380(0x16b)][_0x149380(0x20e)](_0x4e161f),this[_0x149380(0x333)]();}[_0x4ea115(0x2b2)](){return[[_0x4e161f],[_0x500c6d],[_0x141a20],[_0x2d120d],[_0x22d8c8],[_0x3d330d],[_0x1499e6],[_0x298f44],[_0x3d1652],[_0x213530],[_0x19d7a9]];}[_0x4ea115(0x93)](){const _0x4c21be=_0x4ea115;this[_0x4c21be(0x177)]()[_0x4c21be(0x3d7)](_0x3da660=>{const _0x1f3260=_0x4c21be;this[_0x1f3260(0x103)](this[_0x1f3260(0x167)][_0x1f3260(0x30e)](_0x5bc1cc['UniverInstanceType'][_0x1f3260(0x310)],_0x3da660));}),(0x0,_0x5bc1cc['touchDependencies'])(this[_0x4c21be(0x16b)],[[_0x500c6d],[_0x141a20],[_0x2d120d],[_0x22d8c8],[_0x1499e6],[_0x298f44],[_0x3d1652],[_0x213530],[_0x19d7a9]]);}[_0x4ea115(0x177)](){return[[_0x3d330d],[_0x8a76d7],[_0x245a37]];}[_0x4ea115(0x2a9)](){const _0x1754c3=_0x4ea115;this['disposeWithMe'](this['_renderManagerService'][_0x1754c3(0x30e)](_0x5bc1cc[_0x1754c3(0x1ee)][_0x1754c3(0x310)],[_0x57f8f2]));}[_0x4ea115(0xb5)](){const _0x145489=_0x4ea115;[_0x59105c,_0x181065,_0x5a08b9,_0x28b9a9,_0x1af57a,_0x33e271][_0x145489(0x3d7)](_0x577149=>this[_0x145489(0x103)](this['_commandService'][_0x145489(0xbf)](_0x577149)));}[_0x4ea115(0x333)](){const _0x112efc=_0x4ea115;let _0x3b0165=this[_0x112efc(0x16b)],_0x363dd7=_0x3b0165[_0x112efc(0x20e)](_0x446708[_0x112efc(0x2cb)]);this[_0x112efc(0x103)](_0x363dd7[_0x112efc(0x27f)](_0x446708['BuiltInUIPart']['CONTENT'],()=>(0x0,_0x446708[_0x112efc(0x194)])(_0x3ca34c,_0x3b0165)));}};_0x128b9e(_0x1879e9,_0x4ea115(0x23c),_0x5bc1cc['UniverInstanceType']['UNIVER_DOC']),_0x128b9e(_0x1879e9,_0x4ea115(0x3bc),_0x4ea115(0x36f)),_0x128b9e(_0x1879e9,_0x4ea115(0x2f4),_0x25865a),_0x128b9e(_0x1879e9,_0x4ea115(0xf1),_0x44d234),_0x1879e9=_0x555290([(0x0,_0x5bc1cc[_0x4ea115(0x3d1)])(_0x1e2ae2['UniverLicensePlugin'],_0x42aa76[_0x4ea115(0x3a2)],_0x3cf577[_0x4ea115(0x2ea)],_0x390061[_0x4ea115(0x28a)],_0x24aff0['UniverRenderEnginePlugin'],_0x341d83['UniverDocsUIPlugin'],_0x535f5e[_0x4ea115(0x39d)],_0x24a9ae[_0x4ea115(0x382)],_0x1897fd[_0x4ea115(0x340)],_0x1bc9bf['UniverShapeEditorUIPlugin']),_0x379978(0x1,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x5bc1cc[_0x4ea115(0x251)])),_0x379978(0x2,_0x5bc1cc['ICommandService']),_0x379978(0x3,_0x5bc1cc[_0x4ea115(0x3ff)]),_0x379978(0x4,_0x24aff0['IRenderManagerService'])],_0x1879e9),_0x3e8be1[_0x4ea115(0x3a7)]=_0x2b9f36,Object[_0x4ea115(0x2b6)](_0x3e8be1,_0x4ea115(0x12a),{'enumerable':!0x0,'get':function(){return _0x118582;}}),Object[_0x4ea115(0x2b6)](_0x3e8be1,_0x4ea115(0x363),{'enumerable':!0x0,'get':function(){return _0x1879e9;}});}));