@univerjs-pro/docs-shape-ui 0.25.0 → 0.25.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +14 -14
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- function _0x1a94(_0x412539,_0x3ad88e){_0x412539=_0x412539-0xce;const _0x218478=_0x2184();let _0x1a94ef=_0x218478[_0x412539];return _0x1a94ef;}const _0x3b6577=_0x1a94;(function(_0x2b5cb2,_0x3fe717){const _0x3c6c96=_0x1a94,_0x1fb96f=_0x2b5cb2();while(!![]){try{const _0x5212eb=parseInt(_0x3c6c96(0xd2))/0x1*(-parseInt(_0x3c6c96(0x352))/0x2)+-parseInt(_0x3c6c96(0x4ef))/0x3+parseInt(_0x3c6c96(0x18f))/0x4*(parseInt(_0x3c6c96(0x571))/0x5)+parseInt(_0x3c6c96(0x44f))/0x6+-parseInt(_0x3c6c96(0x397))/0x7*(-parseInt(_0x3c6c96(0x3e8))/0x8)+-parseInt(_0x3c6c96(0x153))/0x9*(parseInt(_0x3c6c96(0x4aa))/0xa)+-parseInt(_0x3c6c96(0xfa))/0xb;if(_0x5212eb===_0x3fe717)break;else _0x1fb96f['push'](_0x1fb96f['shift']());}catch(_0xf4df7e){_0x1fb96f['push'](_0x1fb96f['shift']());}}}(_0x2184,0xeb478),Object[_0x3b6577(0x126)](exports,Symbol[_0x3b6577(0x337)],{'value':_0x3b6577(0x383)}));var e=Object[_0x3b6577(0x3fa)],t=Object[_0x3b6577(0x126)],n=Object['getOwnPropertyDescriptor'],r=Object['getOwnPropertyNames'],i=Object[_0x3b6577(0x506)],a=Object['prototype'][_0x3b6577(0x389)],o=(_0x104ae8,_0x57a9ee,_0x139994,_0x5b547a)=>{const _0x4bc1ca=_0x3b6577;if(_0x57a9ee&&typeof _0x57a9ee=='object'||typeof _0x57a9ee=='function'){for(var _0x4e3f6a=r(_0x57a9ee),_0x49b5d7=0x0,_0x41e161=_0x4e3f6a[_0x4bc1ca(0x254)],_0x286e0e;_0x49b5d7<_0x41e161;_0x49b5d7++)_0x286e0e=_0x4e3f6a[_0x49b5d7],!a[_0x4bc1ca(0x47a)](_0x104ae8,_0x286e0e)&&_0x286e0e!==_0x139994&&t(_0x104ae8,_0x286e0e,{'get':(_0x1baaf8=>_0x57a9ee[_0x1baaf8])[_0x4bc1ca(0x377)](null,_0x286e0e),'enumerable':!(_0x5b547a=n(_0x57a9ee,_0x286e0e))||_0x5b547a[_0x4bc1ca(0x1a6)]});}return _0x104ae8;},s=(_0x1be02b,_0x40000a,_0x5e5761)=>(_0x5e5761=_0x1be02b==null?{}:e(i(_0x1be02b)),o(_0x40000a||!_0x1be02b||!_0x1be02b['__esModule']?t(_0x5e5761,'default',{'value':_0x1be02b,'enumerable':!0x0}):_0x5e5761,_0x1be02b));let c=require('@univerjs-pro/engine-shape'),l=require('@univerjs-pro/docs-shape'),u=require('@univerjs/core'),d=require('@univerjs/docs-drawing-ui'),f=require('@univerjs/docs-ui'),p=require('@univerjs/engine-render'),m=require('@univerjs/drawing'),h=require('@univerjs/icons'),g=require('@univerjs/ui'),_=require('rxjs'),v=require('@univerjs/design'),y=require('react');y=s(y);let b=require('@univerjs/drawing-ui'),x=require('react/jsx-runtime'),S=require('@univerjs-pro/license'),C=require('@univerjs/docs');const w=_0x3b6577(0x106),T='#2563EB';function E(_0x2a2cc3,_0x1ad8e6){const _0x3edf3b=_0x3b6577;if(_0x1ad8e6){if((0x0,c[_0x3edf3b(0x448)])(_0x2a2cc3)&&(_0x1ad8e6[_0x3edf3b(0x1fa)]||_0x1ad8e6[_0x3edf3b(0x174)]))return{'ln':{'startArrow':_0x1ad8e6[_0x3edf3b(0x1fa)]?{'type':c[_0x3edf3b(0x12c)][_0x3edf3b(0x32e)],'size':c[_0x3edf3b(0x52f)][_0x3edf3b(0x157)]}:void 0x0,'endArrow':_0x1ad8e6[_0x3edf3b(0x174)]?{'type':c[_0x3edf3b(0x12c)][_0x3edf3b(0x32e)],'size':c[_0x3edf3b(0x52f)][_0x3edf3b(0x55d)]}:void 0x0}};if(_0x2a2cc3===c[_0x3edf3b(0x2df)][_0x3edf3b(0x54c)]&&(_0x1ad8e6['horizontal']||_0x1ad8e6[_0x3edf3b(0x44c)]))return{'fill':{'fillType':c[_0x3edf3b(0x4c9)][_0x3edf3b(0x1db)],'color':w},'stroke':{'lineStrokeType':c[_0x3edf3b(0x526)][_0x3edf3b(0x315)],'width':0x1,'color':T},'shapeText':{'isHorizontal':!!_0x1ad8e6[_0x3edf3b(0x16c)]}};}}function D(_0x137fa4,_0x324715){const _0x12a8bf=_0x3b6577;var _0x10c68f;let _0x258ead=_0x137fa4[_0x12a8bf(0x272)](p[_0x12a8bf(0x5d6)])[_0x12a8bf(0x1c9)](_0x324715),_0x1180fd=_0x258ead==null||(_0x10c68f=_0x258ead['with'](f[_0x12a8bf(0x2ee)])[_0x12a8bf(0x402)]())==null?void 0x0:_0x10c68f[_0x12a8bf(0x334)]();return _0x1180fd?{'left':_0x1180fd['left'],'top':_0x1180fd['top']}:null;}function O(_0x2068b2,_0x104fbb,_0x261c40){const _0x1bd835=_0x3b6577;var _0x3e65ad,_0x445a0f,_0x33632f;if(!_0x261c40)return null;let _0x3892ce=_0x2068b2[_0x1bd835(0x272)](p['IRenderManagerService'])[_0x1bd835(0x1c9)](_0x104fbb),_0x5ea3a3=_0x3892ce==null?void 0x0:_0x3892ce[_0x1bd835(0x4ee)](f['DocParagraphMenuService'])[_0x1bd835(0x31f)];if(!_0x5ea3a3)return null;let _0x21fda9=_0x261c40==='below'?{'startOffset':_0x5ea3a3[_0x1bd835(0x435)]['endOffset'],'endOffset':_0x5ea3a3[_0x1bd835(0x435)][_0x1bd835(0x458)]}:_0x5ea3a3[_0x1bd835(0x214)];return{'range':{'unitId':_0x104fbb,'startOffset':_0x21fda9[_0x1bd835(0x4e9)],'endOffset':_0x21fda9[_0x1bd835(0x458)],'segmentId':(_0x3e65ad=(_0x445a0f=_0x5ea3a3['paragraph'])==null?void 0x0:_0x445a0f[_0x1bd835(0x182)])==null?'':_0x3e65ad},'position':(_0x33632f=_0x5ea3a3[_0x1bd835(0x1ee)])!=null&&_0x33632f[_0x1bd835(0x309)]?{'left':_0x5ea3a3[_0x1bd835(0x1ee)][_0x1bd835(0x309)]['left'],'top':_0x261c40===_0x1bd835(0x24d)?_0x5ea3a3[_0x1bd835(0x1ee)][_0x1bd835(0x309)][_0x1bd835(0x4a5)]:_0x5ea3a3[_0x1bd835(0x1ee)][_0x1bd835(0x309)][_0x1bd835(0x107)]}:null};}function k(_0x5d14c7,_0x27637a,_0x4b77c4){const _0x48d4d2=_0x3b6577;var _0x29ca72;return{'size':{'width':_0x5d14c7,'height':_0x27637a},'positionH':{'relativeFrom':u[_0x48d4d2(0x239)][_0x48d4d2(0xf8)],'posOffset':(_0x29ca72=_0x4b77c4==null?void 0x0:_0x4b77c4['left'])==null?0x0:_0x29ca72},'positionV':{'relativeFrom':u['ObjectRelativeFromV']['PARAGRAPH'],'posOffset':0x0},'angle':0x0};}const A={'type':u[_0x3b6577(0xf5)][_0x3b6577(0x48d)],'id':_0x3b6577(0x328),'handler':async(_0x227407,_0x30e1b0)=>{const _0x47065a=_0x3b6577;var _0x44bcf4,_0x3705ac,_0x425778,_0x372fdc,_0x4d6df5,_0x171ac7;let _0x58724=_0x227407[_0x47065a(0x272)](u[_0x47065a(0x58c)])['getCurrentUniverDocInstance']();if(!_0x58724)return!0x1;let _0x14cc51=_0x227407[_0x47065a(0x272)](u['ICommandService']),_0x2ec351=_0x58724[_0x47065a(0x40e)](),_0x151af9=_0x2ec351,_0x475800=(_0x44bcf4=_0x30e1b0['shapeId'])==null?(0x0,u['generateRandomId'])():_0x44bcf4,_0x4723b5=(_0x3705ac=_0x30e1b0[_0x47065a(0x3ed)])==null?l[_0x47065a(0x3c1)]:_0x3705ac,_0x30205b=(_0x425778=_0x30e1b0['height'])==null?l['DEFAULT_DOC_SHAPE_HEIGHT']:_0x425778,_0x4424ce=(_0x372fdc=(_0x4d6df5=_0x30e1b0[_0x47065a(0x5a2)])==null?E(_0x30e1b0[_0x47065a(0x5e4)],_0x30e1b0[_0x47065a(0x521)]):_0x4d6df5)==null?{'fill':{'fillType':c[_0x47065a(0x4c9)]['SolidFill'],'color':w},'stroke':{'lineStrokeType':c['ShapeLineTypeEnum'][_0x47065a(0x315)],'width':0x1,'color':T}}:_0x372fdc,_0x239ccf=O(_0x227407,_0x2ec351,_0x30e1b0[_0x47065a(0x1bc)]),_0x553252=(_0x171ac7=_0x239ccf==null?void 0x0:_0x239ccf[_0x47065a(0x285)])==null?D(_0x227407,_0x2ec351):_0x171ac7,_0x46ff13=k(_0x4723b5,_0x30205b,_0x553252),_0x5af01b=(0x0,f[_0x47065a(0x259)])(_0x46ff13);_0x5af01b&&_0x553252&&(_0x5af01b[_0x47065a(0x107)]=_0x553252['top']),_0x14cc51[_0x47065a(0x120)](l[_0x47065a(0x28b)]['id'],{'unitId':_0x2ec351,'shapeId':_0x475800,'shapeType':_0x30e1b0['value'],'shapeData':_0x4424ce}),_0x239ccf&&_0x227407[_0x47065a(0x272)](f[_0x47065a(0x4f4)])[_0x47065a(0x282)](_0x239ccf[_0x47065a(0x317)]);let _0x33027e={'unitId':_0x2ec351,'subUnitId':_0x151af9,'drawingId':_0x475800,'drawingType':u['DrawingTypeEnum'][_0x47065a(0x223)],'transform':_0x5af01b,'docTransform':_0x46ff13,'data':{'shapeType':_0x30e1b0[_0x47065a(0x5e4)],'shapeData':_0x4424ce},'behindDoc':u[_0x47065a(0x340)][_0x47065a(0x20e)],'title':'','description':'','layoutType':u[_0x47065a(0x471)][_0x47065a(0x18e)],'wrapText':u[_0x47065a(0x2af)][_0x47065a(0xd9)],'distB':0x0,'distL':0x0,'distR':0x0,'distT':0x0,'allowTransform':!0x0};return!!_0x14cc51[_0x47065a(0x120)](d[_0x47065a(0x28d)]['id'],{'unitId':_0x2ec351,'drawings':[_0x33027e]});}},j={'type':u['CommandType'][_0x3b6577(0x26b)],'id':_0x3b6577(0x404),'handler'(){return!0x0;}},M={'type':u[_0x3b6577(0xf5)][_0x3b6577(0x26b)],'id':_0x3b6577(0x5ca),'handler'(){return!0x0;}},N=_0x3b6577(0x336),P=(0x0,u['createInternalEditorID'])(_0x3b6577(0x23d));function F(_0xbd3346){'@babel/helpers - typeof';const _0x596643=_0x3b6577;return F=typeof Symbol=='function'&&typeof Symbol[_0x596643(0x522)]==_0x596643(0x1ae)?function(_0x2741cb){return typeof _0x2741cb;}:function(_0x3b696a){const _0x5b04af=_0x596643;return _0x3b696a&&typeof Symbol==_0x5b04af(0x30b)&&_0x3b696a[_0x5b04af(0x3b7)]===Symbol&&_0x3b696a!==Symbol[_0x5b04af(0x165)]?_0x5b04af(0x1ae):typeof _0x3b696a;},F(_0xbd3346);}function _0x2184(){const _0x391487=['ShapeDonutIcon','docs-shape-ui.align.top','type','getDrawingSearch','ChartX','onPointerUp$','univer-text-xl\x20univer-text-gray-500','_drawingType','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','unitId','transform','docs-shape-ui.line.beginArrowSize','WRAP_NONE','imageOpacity','ShapeActionButtonBlankIcon','options','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','docs-shape-ui.toolbar.alignJustify','docs-shape-ui.shape.type.callout1','FOCUSING_PANEL_EDITOR','has','SHIFT','_clearPopups','M2.5\x2015.5H8.2','ShapeBentUpArrowIcon','LeftRightCircularArrow','moveRange','data','ShapeHexagonIcon','univer-flex\x20univer-items-center\x20univer-gap-3','_initShapePopupMenu','ShapeStar7Icon','FlowchartSummingJunction','MenuManagerPosition','_activeShapeModel','_attachAdjustEvent','HorizontallyIcon','docs-shape-ui.shape.type.wedge-round-rect-callout','ShapePieIcon','docs-shape-ui.shape.type.straight-connector1','DRAWING_OBJECT_LAYER_INDEX','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-rounded-lg\x20univer-bg-white\x20univer-p-3\x20univer-shadow-lg\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','icon','ShapeWaveIcon','radial','isConnectorShape','setContextValue','ShapeDefaultConfig','dashType','vertical','ShapeCloudIcon','objects','11196774LUUoEu','LeftRightArrowCallout','subscribe','filter','SetInlineFormatItalicCommand','ShapeChartXIcon','register','univer-flex\x20univer-flex-col\x20univer-gap-2','ShapeFlowChartOfflineStorageIcon','endOffset','ShapeCurvedConnector3Arrow1Icon','ShapeLeftRightArrowCalloutIcon','univer-block\x20univer-h-[100px]\x20univer-w-[100px]\x20univer-object-cover','docs-shape-ui.toolbar.bold','true','ShapeUpDownArrowCalloutIcon','docs-shape-ui.shape.type.flow-chart-extract','ShapeStar6Icon','docs-shape-ui.shape.type.right-brace','registerRenderModule','getShapeTypeById','refreshAdjustControls','beginPath','section','setShapeProps','ShapeBorderCallout1Icon','textRect','ShapeRound2SameRectIcon','docs-shape-ui.line.joinType.miter','string','DeleteLeftCommand','docs-shape-ui.shapeStyle','ShapeAccentCallout2Icon','docs-shape-ui.shape.type.line-inv','PositionedObjectLayoutType','isNaN','FlowchartMultiDocument','_getShapeAdjustInfosById','_initUIPart','ShapeChevronIcon','ShapeFlowChartDecisionIcon','ItalicIcon','paragraphs','call','getCurrentTypeOfUnit$','KeyCode','Tile','IConfigService','shapeModel','M2.5\x2010H5.7','univer-rounded-lg\x20univer-p-3','closest','_transform','univer-flex\x20univer-h-7\x20univer-items-center\x20univer-gap-1\x20univer-px-1','univer-text-sm','ISidebarService','clip-','stopPropagation','ComponentManager','docs-shape-ui.fill.title','_baseShapeTop','dataStream','COMMAND','FOCUSING_COMMON_DRAWINGS','ShapeHomePlateIcon','ShapeFlowChartPreparationIcon','docs-shape-ui.shape.type.action-button-beginning','scene','OvalArrow','AlignRightCommand','Plus','getFlatMenuByPositionKey','_insertShapes','_editingParams$','BorderCallout1','ShapeSketchTypeEnum','menuChanged$','docs-shape-ui.hidePanel','SquareDot','ShapeLeftUpArrowIcon','ShapeLeftCircularArrowIcon','univer-flex\x20univer-items-center\x20univer-gap-2','docs-shape-ui.shape.type.wedge-rect-callout','addImageSourceCache','6.8','setTimeout','bottom','WRAP_TOP_AND_BOTTOM','_initSelection','diamond','ShapeHeptagonIcon','10MzyoPq','_activeShapeId','path','AlignTextBothIcon','docs-shape-ui.shape.type.math-equal','Select','ShapeFlowChartOnlineStorageIcon','params','useState','ShapeStar24Icon','1.4','getDrawingEditable','clearAdjustControls','getShapeTextData','_clipService','docs-shape-ui.shape.type.lightning-bolt','_activeAdjustInfo','docs-shape-ui.shape.type.flow-chart-manual-input','docs-shape-ui.shape.type.double-wave','docs-shape-ui.shape.type.action-button-sound','menu','shapeType','ShapeStar10Icon','docs-shape-ui.shape.type.star8','Star24','docs-shape-ui.shape.type.chart-plus','translate','docs-shape-ui.fill.picture.align.r','SmileyFace','_showFloatMenu','updateDocumentDataMargin','ShapeFillEnum','ShapeStar32Icon','docs-shape-ui.toolbar.alignRight','univer-text-gray-600\x20univer-transition-transform','getImageSourceCache','gradientAngle','AccentCallout3','ShapeCornerTabsIcon','docs-shape-ui.fill.picture.align.t','docs-shape-ui.fill.transparency','size','documentStyle','isHorizontal','BentUpArrow','changing$','univer-box-border\x20univer-px-4\x20univer-text-sm','PictureFill','docs-shape-ui.shape.type.cube','Star8','univer-pt-2','#111827','ShapePlaqueIcon','_adjName','height','add','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md','jsx','CornerTabs','push','docs-shape-ui.fill.picture.align.tl','Diamond','MathDivide','startOffset','docs-shape-ui.fill.picture.offsetX','adjHandleSize','image','shape-text-editor-content','with','2712363zbwjwI','ShapeCurvedUpArrowIcon','adjName','MEDIA','NoLine','DocContentInsertService','univer-text-xs','LeftBrace','docs-shape-ui.shape.type.cloud-callout','onDblclick$','docs-shape-ui.shape.type.funnel','Cloud','FlowchartMagneticDrum','ShapePentagonIcon','ShapeFlowChartMagneticDiskIcon','ShapeAccentCallout1Icon','ShapeGear6Icon','univer-w-20','Moon','univer-flex\x20univer-items-center\x20univer-justify-between','ShapeMathMinusIcon','SetInlineFormatTextBackgroundColorCommand','docs-shape-ui.textWrap.behindText','getPrototypeOf','UniverLicensePlugin','ShapeStraightConnector1Icon','ShapeUpArrowCalloutIcon','featurePluginUpdateNotification','drawWith','rectangle','docs-shape-ui.shape.type.up-down-arrow','_localeService','Funnel','docs-shape-ui.shape.type.border-callout1','jsxs','UNIVER_DOC','docs-shape-ui.shape.type.left-right-circular-arrow','_initialize','QuadArrowCallout','setOnSavingEditorData','AccentBorderCallout3','borderClassName','_createShapePopupMenu','ShapeSnipRoundRectIcon','transparent','docs-shape-ui.line.capType.title','isInGroup','VerticalScroll','_shapeTextEditingService','EllipseRibbon2','enhanceParams','iterator','useMemo','equationShape','Star5','ShapeLineTypeEnum','VerticalCenterIcon','flowchart','_baseShapeHeight','ShapeBorderCallout2Icon','unsubscribe','input,\x20textarea,\x20[contenteditable=\x22true\x22],\x20[role=\x22combobox\x22],\x20.univer-select','setEditing','docs-shape-ui.shape.type.quad-arrow','ShapeArrowSizeEnum','M11.8\x204.5H17.5','useEffect','docs-shape-ui.line.arrowSize.medium','FlowchartDisplay','docs-shape-ui.toolbar.alignLeft','SetInlineFormatFontSizeCommand','None','docs-shape-ui.shape.type.chart-x','max','IDrawingManagerService','getShapeType','ShapeFlowChartSortIcon','getShapeModel','getImage','sin','bottom-center','ShapeRound1RectIcon','rotate(','PERIOD','docs-shape-ui.shape.type.circular-arrow','BentConnector3','touchDependencies','LeftBracket','monospace','viewportScrollX','Gear9','_getShapeInfo','viewportScrollY','Rect','docs-shape-ui.toolbar.strikethrough','memo','ActionButtonHelp','univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold','univer-w-20\x20univer-flex-1','paragraphStyle','ShapeFlowChartMagneticTapeIcon','ShapeFlowChartPunchedTapeIcon','docs-shape-ui.shape.type.flow-chart-predefined-process','RIBBON','docs-shape-ui.toolbar.italic','currentColor','getParent','Accordion','Wave','_activeShapeInfo','Large','docs-shape-ui.shape.type.star32','FlowchartPunchedTape','multiply','Pie','setShapeData','span','ShapeIrregularSeal2Icon','docs-shape-ui.shape.group.','docs-shape-ui.shape.type.accent-border-callout2','map','getEditing','docs-shape-ui.shape.type.notched-right-arrow','offset','docs-shape-ui.shape.type.accent-callout1','vertexAngle','docs-shape-ui.line.arrowType.arrow','getDrawingShapeKeyByDrawingSearch','Button','extraProps','5HYxwxE','useLeftAndRightArrow','getShapeDataById','toDisposable','Image','_updateAdjustControlPositions','div','docs-shape-ui.fill.picture.align.tr','univer-flex\x20univer-h-6\x20univer-min-w-9\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','univer-absolute\x20univer-z-[100]\x20univer-overflow-visible','docs-shape-ui.shape.type.left-circular-arrow','_activeShapeAdjustPointList','ShapeCurvedConnector3Arrow2Icon','docs-shape-ui.shape.type.trapezoid','_menuManagerService','rgb','FLOAT_TOOLBAR_MENU_POSITION','ShapeStar8Icon','stops','Round1Rect','ShapeAccentBorderCallout3Icon','docs-shape-ui.shape.type.bent-arrow','univer-hidden','_urlImageService','merge','ActionButtonInformation','WedgeRoundRectCallout','IUniverInstanceService','offsetX','Square','DOC_CONTENT_INSERT_MENU_ID','dataModel','RightArrow','ShapeGear9Icon','strokeWidth','FlowchartInternalStorage','clipByShape','UnderlineIcon','FlowchartTerminator','direction','ShapeLeftRightUpArrowIcon','univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Line','_registerComponent','docs-shape-ui.shape.type.bracket-pair','ShapeActionButtonBeginningIcon','InputNumber','warn','FLOAT_TEXT_STYLE_MENU_ID','shapeData','ShapePieWedgeIcon','collapsed','ShapeAccentBorderCallout2Icon','_docSelectionRenderService','ShapeQuadArrowIcon','docs-shape-ui.shape.type.up-down-arrow-callout','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pt-2','6.4','ShapePlusIcon','univer-flex\x20univer-flex-col\x20univer-gap-3','ShapeRectTextboxVerticalIcon','_loadAndSetImage','_updateSrcRectByTransform','docs-shape-ui.shape.type.frame','ShapeRound2DiagRectIcon','BehaviorSubject','AccentCallout2','@univerjs-pro/docs-shape-ui','FlowchartConnector','univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','docs-shape-ui.shape.type.plaque-tabs','_renderManagerService','docs-shape-ui.line.dashType.longDashDotDot','ShapeStar12Icon','Star10','textStyle','getShapeTextRect','_baseShapeLeft','docs-shape-ui.shape.type.parallelogram','docs-shape-ui.line.dashType.longDash','shapeText','ContextMenuPosition','getAllUnitsForType','getSelectedObjectMap','Callout3','docs-shape-ui.fill.picture.source','ShapeChartPlusIcon','!univer-h-6\x20univer-w-14\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-px-1.5','behindDoc','doc.operation.open-doc-shape-format-panel','CurvedRightArrow','_refreshShapeData','docs-shape-ui.fill.gradientFill','docs-shape-ui.line.solidLine','LeftArrowCallout','IContextService','imageTile','getFonts','Curved','getSelectionRanges','ShapeHeartIcon','IRenderManagerService','isEditing','onload','_updateShape','SetInlineFormatStrikethroughCommand','SetInlineFormatSuperscriptCommand','docs-shape-ui.fill.picture.scaleX','ShapeActionButtonReturnIcon','ActionButtonBeginning','CTRL_COMMAND','_isStartAdjusting','onTransformChange$','ActionButtonEnd','LeftRightArrow','value','docs-shape-ui.shape.type.star12','docs-shape-ui.shape.type.wedge-ellipse-callout','ShapeRightArrowCalloutIcon','executeCommand','docs-shape-ui.fill.picture.tileAsTexture','onerror','_hideFloatMenu','docs-shape-ui.shape.type.flow-chart-manual-operation','docs-shape-ui.shape.type.star7','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md\x20univer-bg-primary-600','docs-shape-ui.line.joinType.round','ShapeFlowChartMergeIcon','DocSelectionManagerService','docs-shape-ui.shape.type.square-tabs','_registerDrawingFocusChangeHandler','332619kcoWhY','ShapeFlowChartExtractIcon','univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','URL','parseFloat','ShapeWedgeEllipseCalloutIcon','_loadShapePictureFill','BOTH_SIDES','DocDrawingPosition','svg','transformByState','UniverDocsShapeUIPlugin','entries','disableShapeOption','doc','ShapeCallout2Icon','getViewport','_disposePopups','CURSOR_TYPE','\x20px','ShapeDiagStripeIcon','docs-shape-ui.openPanel','ShapeAccentCallout3Icon','Star6','drawingType','applyPoint','MetaKeys','_popupMenuListener','ShapeBlockArcIcon','Path','docs-shape-ui.shape.type.corner','DrawingCommonPanel','connectInjector','ShapeIrregularSeal1Icon','docs-shape-ui.shape.type.border-callout3','CommandType','docs-shape-ui.shape.type.curved-connector3-arrow2','docs-shape-ui.shape.type.action-button-back-previous','PAGE','HorizontalAlign','31553170MrJZGJ','FoldedCorner','shape-text-editor','MathPlus','LineInv','Star12','docs-shape-ui.shape.type.cloud','ShapeCloudCalloutIcon','FOCUSING_SHAPE_TEXT_EDITOR','docs-shape-ui.shape.type.home-plate','docs-shape-ui.shape.type.chevron','updateContext','#3B82F6','top','Angular','docs-shape-ui.shape.type.folder-corner','getMatrix','doc.shape.picker.component','ShapeBracePairIcon','setZoomRatio','Dropdown','toPrimitive','DocumentSkeleton','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','ShapeUpDownArrowIcon','Shape','ShapeHorizontalScrollIcon','ShapeCurvedConnector3Icon','getCanvasElement','docs-shape-ui.fill.picture.offsetY','!univer-h-6\x20univer-w-24\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-px-1.5','docs-shape-ui.shape.type.curved-left-arrow','Radial','classType','FlowchartManualOperation','_initCommands','fillImageSourceType','wrapTopAndBottom','syncExecuteCommand','OpenArrow','ShapeGradientTypeEnum','keys','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','Transform','defineProperty','ShapeMathPlusIcon','SetInlineFormatBoldCommand','renderConfig','ColorPicker','oKey','ShapeArrowTypeEnum','BorderCallout3','docs-shape-ui.shape.type.sun','ShapeBentArrowIcon','docs-shape-ui.shape.type.action-button-forward-next','FONT_SIZE_LIST','Star7','docs-shape-ui.line.dashType.dash','docs-shape-ui.shape.type.bent-connector3-arrow1','round','_componentManager','HorizontalScroll','ShapeDodecagonIcon','HomePlate','_props','_initEditingParams','getMenuHiddenObservable','deepCompare','docs-shape-ui.fill.pictureFill','_drawRichText','docs-shape-ui.line.sketchType.freehand','ShapeArcIcon','onSavingEditorData$','univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1.5\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-2\x20univer-py-1\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-100\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','docs-shape-ui.shape.type.donut','ShapeHalfFrameIcon','useEditor','makeDirty','asObservable','docs-shape-ui.fill.solidFill','sketchType','ShapeLeftBraceIcon','ShapeFlowChartOrIcon','backgroundColor','ShapeBentConnector3Arrow2Icon','_drawShapeText','body','Plugin','addObject','193329yudRXQ','docs-shape-ui.shape.type.accent-border-callout3','scaleY','TRUE','Medium','children','docs-shape-ui.shape.type.smiley-face','offsetY','Plaque','_docDrawingShapeRenderController','univer-flex-1\x20univer-overflow-auto','DownArrow','save','_sidebarService','ShapeFolderCornerIcon','docs-shape-ui.shape.type.rect-textbox-horizontal','ActionButtonForwardNext','ShapeTrapezoidIcon','prototype','univer-flex-1','adjHandleFill','ShapeFlowChartPredefinedProcessIcon','docs-shape-ui.shape.type.star6','ShapeRectTextboxHorizontalIcon','AlignBottomIcon','horizontal','docs-shape-ui.shape.type.star4','Frame','blur','TOP','adjHandleStroke','docs-shape-ui.shape.type.left-arrow-callout','docs-shape-ui.shape.type.ellipse-ribbon2','endArrow','reduce','FlowchartDelay','LongDashDotDot','auto','ShapeFlowChartConnectorIcon','clearTimeout','univer-mb-1\x20univer-rounded\x20univer-bg-gray-100\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-700\x20dark:!univer-bg-gray-800\x20dark:!univer-text-gray-200','docs-shape-ui.shape.type.decagon','docs-shape-ui.shape.type.gear9','registerComponent','WRAP','Flat','ShapeSmileyFaceIcon','segmentId','getRealBound','forEach','univer-w-28','setCursor','_floatMenu','setPrstGeom','remove$','_injector','CurvedDownArrow','_adjHandlerPointerMove','docs-shape-ui.shape.type.flow-chart-input-output','INLINE','7678084oJYkgs','group\x20univer-relative\x20univer-inline-block','_draw','Inject','ShapeMoonIcon','getTransformerByCreate','1em','ShapeBracketPairIcon','docs-shape-ui.shape.type.uturn-arrow','Parallelogram','wrapStrategy','verticalAlign','FlowchartOr','onCommandExecuted','some','useDependency','ShapeNotchedRightArrowIcon','docs-shape-ui.shape.type.accent-callout2','ShapeFlowChartDisplayIcon','imageFillMode','opacity','getObjectIncludeInGroup','useKeyboardEvent','enumerable','gdRefY','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-5\x20univer-w-px\x20univer-bg-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-700\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','ShapeLineInvIcon','ShapeSnip2SameRectIcon','gradientStops','Disposable','docs-shape-ui.shape.type.snip-round-rect','symbol','_toScenePoint','docs-shape-ui.shape.type.action-button-return','target','BlockArc','ShapeCanIcon','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','docs-shape-ui.shape.type.can','MenuItemType','ShapeFlowChartCollateIcon','item','Star32','drawings','docs-shape-ui.shape.type.snip2-diag-rect','paragraphMenuPlacement','ShapeFlowChartMagneticDrumIcon','docs-shape-ui.shape.type.action-button-help','_univerInstanceService','docs-shape-ui.shape.type.math-plus','_onSavingEditorData$','docs-shape-ui.align.bottom','doc.shape.text.float-menu','ShapeQuadArrowCalloutIcon','ActionButtonMovie','INSERT_BELLOW_MENU_ID','docs-shape-ui.line.dashType.squareDot','ShapeStraightConnector2Icon','getRenderById','ShapeActionButtonEndIcon','CONTENT','docs-shape-ui.shape.type.callout3','docs-shape-ui.shape.type.flow-chart-magnetic-tape','docs-shape-ui.fill.noFill','EMPTY_PARAGRAPH_MENU_ID','IEditorService','ShapeCurvedLeftArrowIcon','Octagon','linear','_initializedShapePopupMenu','_adjustPointObjects','onClick','univer-grid\x20univer-grid-cols-10\x20univer-gap-1','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-gap-2\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-text-left\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','FlowchartMagneticTape','docs-shape-ui.line.capType.round','SolidFill','pick','Callout2','docs-shape-ui.line.dashType.longDashDot','docs-shape-ui.shape.type.chord','textSelection$','ShapeSquareTabsIcon','ShapeCallout1Icon','StraightConnector1','Checkbox','docs-shape-ui.shape.type.left-right-up-arrow','BuiltInUIPart','docs-shape-ui.shape.type.swoosh-arrow','AccentBorderCallout1','wrapSquare','docs-shape-ui.deleteShape','docs-shape-ui.shape.type.non-isosceles-trapezoid','editingParams$','FlowchartPredefinedProcess','paragraph','univer-box-border\x20univer-flex\x20univer-rounded\x20univer-bg-white\x20univer-py-1.5\x20univer-shadow-sm\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','left','ShapeBentConnector3Arrow1Icon','prstGeom','title','transformVector2SceneCoord','LocaleService','line','FlowChartInputOutput','_isShouldShowDrawingShapeAdjust','univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200','startArrow','WrapStrategy','DocsShapeService','ImageSourceTypeEnum','IImageIoService','onPointerDown$','insertGroupObject','mergeMenu','DownArrowCallout','ShapeFrameIcon','preventDefault','docs-shape-ui.fill.picture.align.br','docs-shape-ui.shape.type.bent-up-arrow','fill','lineStrokeType','ShapeMathNotEqualIcon','Digit7','min','ShapeLeftArrowCalloutIcon','_getSceneByUnitId','FALSE','Star16','ShapeCircularArrowIcon','docs-shape-ui.shape.type.snip1-rect','getDrawingByParam','docs-shape-ui.crop.shape','menuRange','onChange','UpDownArrow','RENDER_CLASS_TYPE','flipX','ShapeCurvedDownArrowIcon','FlowchartOffPageConnector','subUnitId','disableObjectsEvent','lineJoinType','buildClipPath','disposeWithMe','DocsShapeUIController','univer-relative\x20univer-size-full\x20univer-overflow-visible','MathMinus','DRAWING_SHAPE','Stretch','_subUnitId','disabled','shape-floating-toolbar','ShapePlaqueTabsIcon','docs-shape-ui.shape.type.flow-chart-merge','default','open','BulletListCommand','ENTER','Chevron','ShapeLeftRightCircularArrowIcon','scaleX','mainComponent','Radio','univer-w-full','updateShapeFillImage','Decagon','ShapeRightArrowIcon','docs-shape-ui.shape.type.left-right-arrow-callout','Tools','ObjectRelativeFromH','getObject','docs-shape-ui.shape.type.bevel','includes','SHAPE_TEXT','ShapeLeftArrowIcon','Round2SameRect','getDrawingVisible','DeleteRightCommand','MoreDownIcon','ICommandService','ShapeFunnelIcon','ShapeVerticalScrollIcon','object','ShapeBevelIcon','disposable','shapeKey','ShapeIcon','translateWithPrecision','Triangle','below','useIsFocusing','shapeId','ShapeCallout3Icon','DRAWING_IMAGE','ActionButtonHome','docs-shape-ui.shape.type.right-bracket','length','angular','focus','docs-shape-ui.shapePosition','FlowChartOfflineStorage','docDrawingPositionToTransform','engine','setDocumentData','subscribeEvent','NonIsoscelesTrapezoid','getDocumentData','ShapeEllipseRibbonIcon','behindText','docs-shape-ui.shape.type.round-rect','docs-shape-ui.shape.type.flow-chart-alternate-process','onPointerMove$','_openShapeEditPanel','docs-shape-ui.shape.type.down-arrow','isHit','LeftRightRibbon','docs-shape-ui.shape.type.pentagon','isLineShape','renderDrawingShape','OPERATION','SquareTabs','DiamondArrow','_initSelectionChange','AlignCenterCommand','onStarting','ShapeCornerIcon','get','_createShapeAdjustControls','ShapeActionButtonDocumentIcon','ShapeTriangleIcon','find','ancestorTransform','_baseShapeWidth','useObservable','docs-shape-ui.shape.type.irregular-seal1','ShapeCubeIcon','docs-shape-ui.shape.type.round2-diag-rect','registerCommand','Bevel','gradientType','FlowchartManualInput','_getActiveDrawingParam','setInsertRange','gdRefX','_contextService','position','docs-shape-ui.line.joinType.bevel','current','NoFill','setConfig','docs-shape-ui.title','InsertDocShapeMutation','ShapeRoundRectIcon','InsertDocDrawingCommand','ShapeDownArrowIcon','button','FlowchartMagneticDisk','inFrontOfText','_shapeId','docs-shape-ui.line.endArrowSize','basicShape','SwooshArrow','GradientColorPicker','deepClone','UpdateDocShapeDataCommand','ShapeRightBraceIcon','error','ShapeSnip1RectIcon','replace','isHitLine','docs-shape-ui.shape.type.vertical-scroll','ShapeNonIsoscelesTrapezoidIcon','fillType','VIEWPORT_KEY','ShapeTextEditorContainer','SetInlineFormatSubscriptCommand','docs-shape-ui.line.arrowType.ovalArrow','getShapePopupMenus','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','ShapeActionButtonHelpIcon','invert','click','ShapeActionButtonBackPreviousIcon','PaintBucketDoubleIcon','docs-shape-ui.shape.type.bent-connector3','onReady','ShapeDiamondIcon','WrapTextType','restore','FlowchartDecision','end','ShapeMathDivideIcon','docs-shape-ui.shape.type.plaque','UpArrowCallout','stroke','ShapeWedgeRoundRectCalloutIcon','_initEvents','UndoCommand','docs-shape-ui.fill.picture.align.l','Digit8','ShapeFlowChartTerminatorIcon','draw','ShapeLightningBoltIcon','docs-shape-ui.shape.type.math-minus','getBoundingClientRect','docs-shape-ui.shape.type.flow-chart-preparation','docs-shape-ui.shape.type.flow-chart-delay','clsx','custom','ShapeEllipseRibbon2Icon','docs-shape-ui.line.title','ShapeLeftRightArrowIcon','LEFT','ShapeChordIcon','ShapeBorderCallout3Icon','BentArrow','ShapeFlowChartOffpageConnectorIcon','_getShapeAdjustPointListById','FlowchartCollate','StripedRightArrow','angle','FlowchartDocument','endNodePosition','QuadArrow','PieWedge','ShapeUturnArrowIcon','ShapeFlowChartPunchedCardIcon','group','_updateShapeAdjustControls','_sidebarDisposable','docs-shape-ui.shape.type.curved-right-arrow','docs-shape-ui.shape.type.flow-chart-connector','Sun','ShapeFlowChartManualOperationIcon','GROUP','ShapeTypeEnum','RightBracket','ShapeDecagonIcon','complete','callout','getImageSize','ShapeLeftBracketIcon','docs-shape-ui.shape.type.ellipse-ribbon','Fragment','docs-shape-ui.shape.type.left-bracket','NoSmoking','ActionButtonSound','RadioGroup','_unitId','fillImageSource','DocSelectionRenderService','docs-shape-ui.shape.type.flow-chart-or','backward','shape-text','ShapeLeftRightRibbonIcon','docs-shape-ui.shape.type.flow-chart-punched-tape','LeftUpArrow','_lastEditingShapeKey','docs-shape-ui.shape.type.action-button-information','docs-shape-ui.shape.type.corner-tabs','UniverInstanceType','_addShapeAdjustControl','ShapeActionButtonForwardNextIcon','Arc','DrawingImageClipService','Linear','ShapeSwooshArrowIcon','docs-shape-ui.shape.type.action-button-home','ShapeRenderModeEnum','ShapeRightBracketIcon','docs-shape-ui.shape.type.plus','IMenuManagerService','#2563EB','docs-shape-ui.fill.picture.align.b','docs-shape-ui.shape.type.flow-chart-multidocument','ImageFillModeEnum','ContextMenuGroup','rect','horizontalAlign','function','_toVisualAdjustPoint','_imageIoService','PlaqueTabs','color','CloseDocShapeFormatPanelOperation','layoutType','file','add$','setFillImage','SolidLine','clip','range','dispose','UUID','style','getAdjustValueByName','univer-flex\x20univer-flex-nowrap\x20univer-gap-2\x20univer-px-2','RichTextEditingMutation','focusDrawing','activeTarget','WedgeRectCallout','getFocusDrawings','getAncestorScale','docs-shape-ui.toolbar.textColor','ShapeSunIcon','docs-shape-ui.line.arrowSize.large','Documents','ShapeParallelogramIcon','doc.command.menu-insert-shape','changeStart$','ShapeLineDashEnum','getActualSize','setSrcRect','VERTICAL_ROTATE_ANGLE','Arrow','ShapeFlowChartInputOutputIcon','docs-shape-ui.shape.type.right-arrow-callout','getShapeData','LeftArrow','UniverDocsDrawingUIPlugin','getAbsolutePosition','_initMenu','doc.shape.edit.panel','toStringTag','univer-absolute','FlowchartPreparation','ShapeBentConnector3Icon','calcAdjValue','FlowchartMerge','ShapeSnip2DiagRectIcon','Round','start','BooleanNumber','useCallback','ShapeRibbonIcon','getSkeleton','DependentOn','gdRefAng','isRenderLinePointsMode','textRuns','getState','_context','Solid','_adjHandlerPointerUp','name','set','starAndBanner','ActionButtonReturn','ShapeRibbon2Icon','ShapeFlowChartProcessIcon','2DNSAIC','NotchedRightArrow','MathEqual','ShapeChartStarIcon','values','ShapeRtTriangleIcon','indexOf','docs-shape-ui.toolbar.alignCenter','cos','_configService','ShapeActionButtonHomeIcon','_getActiveDrawingShape','docs-shape-ui.shape.type.flow-chart-collate','ShapeLineIcon','getDrawingOKey','ShapeLineJoinEnum','useRef','ShapeMathEqualIcon','srcRect','_registerOperations','drawingId','docs-shape-ui.fill.picture.alignment','ShapeStar5Icon','AccentBorderCallout2','DocCanvasPopManagerService','MIDDLE','HandDrawn','focus$','COMMA','docs-shape-ui.fill.picture.align.ctr','docs-shape-ui.line.dashType.solid','BorderCallout2','_docsShapeService','IURLImageService','clone','key','AlignLeftCommand','bind','_transformCalculateSrcRect','_commandService','_isOpenedShapeEditPanel','docs-shape-ui.shape.type.action-button-movie','attachTransformerTo','docs-shape-ui.shape.type.flow-chart-process','StrikethroughIcon','files','DocumentDataModel','CurvedLeftArrow','ShapeDoubleWaveIcon','Module','Ribbon2','RemoveDocDrawingCommand','docs-shape-ui.shape.type.flow-chart-terminator','_closeShapeEditPanel','UpdateDocShapeDataMutation','hasOwnProperty','FlowchartPunchedCard','Dash','DocSelectAllCommand','localeService','RightTriangle','ShapeOctagonIcon','ShapeFlowChartAlternateProcessIcon','ActionButtonDocument','changeEnd$','BreakLineCommand','gdRefR','0.25.0','docs-shape-ui.shape.type.star24','3044405kIHlRl','docs-shape-ui.shape.type.heptagon','docs-shape-ui.shape.type.up-arrow-callout','scale','docs-shape-ui.shape.type.brace-pair','JUSTIFIED','capType','clearControl$','SetInlineFormatUnderlineCommand','ShapeFlowChartDocumentIcon','Cube','docs-shape-ui.line.sketchType.handDrawn','close','Heart','docs-shape-ui.line.sketchType.curved','ShapeWedgeRectCalloutIcon','_registerDrawingTransformHandler','Tooltip','Ribbon','_docCanvasPopManagerService','blockArrow','SHAPE','ShapeActionButtonMovieIcon','Snip2SameRect','ShapeLineCapEnum','Teardrop','HalfFrame','resize','_drawSimpleText','isRichText','docs-shape-ui.shape.type.star5','other','constructor','#ffffff','Pentagon','CurvedConnector3','_registerImageShapeClipDelegate','docs-shape-ui.shape.type.chart-star','docs-shape-ui.line.arrowType.openArrow','docs-shape-ui.shape.type.wave','docs-shape-ui.shape.type.heart','Vector2','DEFAULT_DOC_SHAPE_WIDTH','_config','visible','composeMatrix','BOTTOM','setCanUseShapeClip','LAYOUT','ShapeFlowChartSummingJunctionIcon','docs-shape-ui.line.transparency','refreshShapeFillImage','univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','ctr','ShapeFlowChartMultidocumentIcon','ShapeMathMultiplyIcon','docs-shape-ui.shape.type.octagon','ShapeNoSmokingIcon','setAdjustValueByName','top-center','docs-shape-ui.shape.type.flow-chart-document','ShapeRectIcon','registerClipDelegate','_init','ShapeEllipseIcon','univer-flex\x20univer-h-6\x20univer-min-w-7\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','VerticalAlign','getDrawingPoints','render','preValue','label','CurvedUpArrow','RIGHT','_getFocusedShapeAtPoint','docs-shape-ui.shape.type.diag-stripe','ShapeStar4Icon','ShapeFlowChartDelayIcon','docs-shape-ui.shape.type.flow-chart-offpage-connector','docs-shape-ui.shape.type.half-frame','img','BACKSPACE','24hBtEqO','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-3\x20univer-w-3\x20univer-rounded-sm\x20univer-border\x20univer-border-solid\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-border-gray-300\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','getAdjustInfoByName','StealthArrow','DocDrawingTextWrap','width','inline','calculate','Snip2DiagRect','Snip1Rect','Star4','MathNotEqual','_drawingManagerService','docs-shape-ui.shape.type.curved-connector3-arrow1','ShapeCurvedRightArrowIcon','ShapeTeardropIcon','0\x200\x2020\x2020','Callout1','create','Small','ShapeActionButtonSoundIcon','getSnapshot','_docSelectionManagerService','CROSSHAIR','DrawingTypeEnum','docs-shape-ui.shape.type.ribbon','getActiveTextRange','ShapeAccentBorderCallout1Icon','doc.operation.close-doc-shape-format-panel','ShapeStar16Icon','DELETE','univer-text-gray-500','IrregularSeal1','getDrawingOrder','next','ShapeDownArrowCalloutIcon','ShapeActionButtonInformationIcon','docs-shape-ui.shape.type.left-brace','getUnitId','ShapeFlowChartInternalStorageIcon','docs-shape-ui.line.dashType.title','version','docs-shape-ui.shape.type.right-arrow','docs-shape-ui.shape.type.flow-chart-magnetic-drum','docs-shape-ui.line.joinType.title','isDrawingObject','docs-shape-ui.shape.type.up-arrow','ShapeStripedRightArrowIcon','ShapeUpArrowIcon','decorate','_clearShapeAdjustControls'];_0x2184=function(){return _0x391487;};return _0x2184();}function ee(_0x283c79,_0x29c232){const _0x32564c=_0x3b6577;if(F(_0x283c79)!=_0x32564c(0x246)||!_0x283c79)return _0x283c79;var _0x4f08ca=_0x283c79[Symbol[_0x32564c(0x10f)]];if(_0x4f08ca!==void 0x0){var _0x4700da=_0x4f08ca[_0x32564c(0x47a)](_0x283c79,_0x29c232||_0x32564c(0x22a));if(F(_0x4700da)!='object')return _0x4700da;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x29c232===_0x32564c(0x46c)?String:Number)(_0x283c79);}function I(_0x183254){const _0x3354f2=_0x3b6577;var _0x4ce4b0=ee(_0x183254,_0x3354f2(0x46c));return F(_0x4ce4b0)==_0x3354f2(0x1ae)?_0x4ce4b0:_0x4ce4b0+'';}function L(_0xf6962a,_0x438cc1,_0x4b0c36){return(_0x438cc1=I(_0x438cc1))in _0xf6962a?Object['defineProperty'](_0xf6962a,_0x438cc1,{'value':_0x4b0c36,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xf6962a[_0x438cc1]=_0x4b0c36,_0xf6962a;}var R=class extends u[_0x3b6577(0x1ac)]{constructor(..._0xa51a0a){const _0x574acd=_0x3b6577;super(..._0xa51a0a),L(this,_0x574acd(0x498),new _[(_0x574acd(0x5b2))](null)),L(this,'editingParams$',this[_0x574acd(0x498)][_0x574acd(0x148)]()),L(this,'_onSavingEditorData$',new _[(_0x574acd(0x5b2))](!0x1)),L(this,'onSavingEditorData$',this[_0x574acd(0x1c1)][_0x574acd(0x148)]());}[_0x3b6577(0x318)](){const _0x5c6e21=_0x3b6577;this[_0x5c6e21(0x498)][_0x5c6e21(0x40a)](null),this[_0x5c6e21(0x498)][_0x5c6e21(0x2e2)](),this['_onSavingEditorData$'][_0x5c6e21(0x40a)](!0x1),this[_0x5c6e21(0x1c1)][_0x5c6e21(0x2e2)](),super['dispose']();}[_0x3b6577(0x52d)](_0x1dd18f){const _0x4be3b3=_0x3b6577;this[_0x4be3b3(0x498)][_0x4be3b3(0x40a)](_0x1dd18f),_0x1dd18f==null&&this[_0x4be3b3(0x1c1)][_0x4be3b3(0x40a)](!0x1);}[_0x3b6577(0x516)](_0x28a2a5){const _0x4409e0=_0x3b6577;this[_0x4409e0(0x1c1)][_0x4409e0(0x40a)](_0x28a2a5);}[_0x3b6577(0x568)](){return this['_editingParams$']['getValue']();}};function z(_0x1317cb,_0x62044c,_0x71c299,_0x545dd2,_0x1499c8,_0x5b2768){const _0x30bdc4=_0x3b6577;let _0x273f8a={'unitId':_0x62044c,'shapeId':_0x545dd2,'shapeData':_0x5b2768,'oldShapeJSON':_0x1499c8};return _0x1317cb['executeCommand'](l[_0x30bdc4(0x298)]['id'],_0x273f8a);}function B(_0x3a25e6,_0x523f92,_0x377ba1,_0x5c66dd,_0x31da39,_0x4019f6){let _0x2db5e3={'unitId':_0x523f92,'shapeId':_0x5c66dd,'shapeData':_0x4019f6,'oldShapeJSON':_0x31da39};return _0x3a25e6['executeCommand'](l['UpdateDocShapeDataCommand']['id'],_0x2db5e3);}function V(_0x3b71be,_0x486ce3){const _0x2ca3a0=_0x3b6577;var _0x4b802c;let {isHorizontal:_0x477b6d,textRect:_0x30a452,verticalAlign:_0xdf0330}=_0x486ce3,_0x37be8f=_0x477b6d?_0x30a452['width']:_0x30a452[_0x2ca3a0(0x4e0)],_0x6eaf3b=u[_0x2ca3a0(0x238)][_0x2ca3a0(0x297)](_0x3b71be),_0x1e791c=(_0x4b802c=_0x6eaf3b['documentStyle'])==null?{}:_0x4b802c,_0x4f52a9={..._0x1e791c[_0x2ca3a0(0x129)],'centerAngle':_0x477b6d?0x0:p[_0x2ca3a0(0x32d)],'vertexAngle':_0x477b6d?0x0:p[_0x2ca3a0(0x32d)],'wrapStrategy':u[_0x2ca3a0(0x1fb)][_0x2ca3a0(0x17f)]};if(_0xdf0330!==void 0x0&&(_0x4f52a9[_0x2ca3a0(0x19a)]=_0xdf0330),_0x486ce3[_0x2ca3a0(0x30a)]!==void 0x0){var _0x16470e;_0x4f52a9[_0x2ca3a0(0x30a)]=_0x486ce3['horizontalAlign'];let _0x34d784=(_0x16470e=_0x6eaf3b[_0x2ca3a0(0x150)])==null?void 0x0:_0x16470e['paragraphs'];if(_0x34d784){for(let _0x5ba3fa of _0x34d784)_0x5ba3fa['paragraphStyle']||(_0x5ba3fa[_0x2ca3a0(0x552)]={}),_0x5ba3fa[_0x2ca3a0(0x552)][_0x2ca3a0(0x30a)]=_0x486ce3[_0x2ca3a0(0x30a)];}}return _0x6eaf3b[_0x2ca3a0(0x4d4)]={..._0x1e791c,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x37be8f,'height':0x1/0x0},'renderConfig':_0x4f52a9},_0x6eaf3b;}function te(_0x390ea4){const _0x2c926a=_0x3b6577;var _0x4a07f3;let _0x3a5400=u[_0x2c926a(0x238)][_0x2c926a(0x297)](_0x390ea4),_0xf19f0=(_0x4a07f3=_0x3a5400['documentStyle'])==null?{}:_0x4a07f3,_0x1c616c={..._0xf19f0['renderConfig']};return delete _0x1c616c['centerAngle'],delete _0x1c616c[_0x2c926a(0x56c)],delete _0x1c616c[_0x2c926a(0x19a)],delete _0x1c616c[_0x2c926a(0x199)],_0x3a5400[_0x2c926a(0x4d4)]={..._0xf19f0,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':0x1/0x0,'height':0x1/0x0},'renderConfig':Object[_0x2c926a(0x123)](_0x1c616c)['length']>0x0?_0x1c616c:void 0x0},_0x3a5400;}var H=class extends p[_0x3b6577(0x113)]{constructor(_0x38c256,_0x143e49){const _0x11fdc9=_0x3b6577;super(_0x38c256,_0x143e49),L(this,'_props',void 0x0),L(this,_0x11fdc9(0x378),!0x0),L(this,_0x11fdc9(0x422),u[_0x11fdc9(0x400)][_0x11fdc9(0x223)]),L(this,_0x11fdc9(0x415),!0x0),this['_props']={..._0x143e49},this[_0x11fdc9(0x3d6)]();}[_0x3b6577(0x3d6)](){const _0x973733=_0x3b6577;this[_0x973733(0x5e1)]['subscribeEvent'](_0x1023a8=>{const _0x21a1a4=_0x973733;this[_0x21a1a4(0x5af)](_0x1023a8);});}[_0x3b6577(0x188)](_0x3f0229){const _0x1f27cf=_0x3b6577;this[_0x1f27cf(0x13a)]['prstGeom']=_0x3f0229;}[_0x3b6577(0x52d)](_0x28f2d1){const _0x2492c2=_0x3b6577;this[_0x2492c2(0x13a)]['isEditing']=_0x28f2d1,this['makeDirty'](!0x0);}get[_0x3b6577(0x424)](){const _0x4044ad=_0x3b6577;return this[_0x4044ad(0x13a)][_0x4044ad(0x424)];}get[_0x3b6577(0x21b)](){const _0x4da0d5=_0x3b6577;return this['_props'][_0x4da0d5(0x21b)];}[_0x3b6577(0x5af)](_0x23a5d1){const _0x4319da=_0x3b6577;if(this[_0x4319da(0x13a)][_0x4319da(0x364)]==null||!this[_0x4319da(0x378)])return;let {width:_0x233612,height:_0x3e2a64}=this,{width:_0x199343=0x0,height:_0x363a38=0x0}=_0x23a5d1[_0x4319da(0x3dc)],{left:_0x2c75de=0x0,top:_0x3041e3=0x0,right:_0x2e4463=0x0,bottom:_0x230f97=0x0}=this['_props']['srcRect'],_0x1f8356=_0x2c75de,_0x3af627=_0x3041e3,_0x5bad69=_0x2e4463,_0x2fedc4=_0x230f97,_0xc2a9ff=!0x1;if(_0x199343!==0x0&&_0x199343!==_0x233612){let _0x1dbd87=_0x2c75de/_0x199343,_0x277d53=_0x2e4463/_0x199343;_0x1f8356=_0x233612*_0x1dbd87,_0x5bad69=_0x233612*_0x277d53,_0xc2a9ff=!0x0;}if(_0x363a38!==0x0&&_0x363a38!==_0x3e2a64){let _0x3abd8f=_0x3041e3/_0x363a38,_0x4ebaac=_0x230f97/_0x363a38;_0x3af627=_0x3e2a64*_0x3abd8f,_0x2fedc4=_0x3e2a64*_0x4ebaac,_0xc2a9ff=!0x0;}_0xc2a9ff&&this[_0x4319da(0x32c)]({'left':_0x1f8356,'top':_0x3af627,'right':_0x5bad69,'bottom':_0x2fedc4});}[_0x3b6577(0x32c)](_0x23773c){const _0x477e33=_0x3b6577;this[_0x477e33(0x13a)]['srcRect']=_0x23773c,this[_0x477e33(0x147)](!0x0);}[_0x3b6577(0x314)](_0x3bda2b){const _0x353d77=_0x3b6577;this[_0x353d77(0x13a)][_0x353d77(0x4ec)]=_0x3bda2b,this[_0x353d77(0x147)](!0x0);}set[_0x3b6577(0x425)](_0x41042b){const _0x324f80=_0x3b6577;this[_0x324f80(0x483)]=_0x41042b;}get[_0x3b6577(0x425)](){const _0x3cd220=_0x3b6577;this[_0x3cd220(0x483)]||this['_setTransForm']();let _0x1edcf5=this[_0x3cd220(0x483)][_0x3cd220(0x374)]();return this['transformForAngle'](_0x1edcf5);}get['shapeModel'](){const _0x9eced=_0x3b6577;return this[_0x9eced(0x13a)][_0x9eced(0x47f)];}get[_0x3b6577(0x24f)](){const _0x3efa6c=_0x3b6577;return this['_props'][_0x3efa6c(0x24f)];}get[_0x3b6577(0x11b)](){const _0xd1a007=_0x3b6577;return p[_0xd1a007(0x217)][_0xd1a007(0x3ac)];}[_0x3b6577(0x191)](_0x12d329,_0x102a5e,_0x548ac2,_0x2bf292){const _0x151deb=_0x3b6577;let _0x353391=this['_props']['shapeModel'];if(!_0x353391||!_0x102a5e)return;let _0x5b3226=_0x548ac2==null?this[_0x151deb(0x3ed)]:_0x548ac2,_0x14f17b=_0x2bf292==null?this[_0x151deb(0x4e0)]:_0x2bf292,_0xf93332={'shapeType':_0x353391[_0x151deb(0x53a)](),'width':_0x5b3226,'height':_0x14f17b},_0x3ad7b8={'renderMode':c[_0x151deb(0x300)][_0x151deb(0xef)],'oKey':this[_0x151deb(0x12b)],'image':this[_0x151deb(0x13a)][_0x151deb(0x4ec)],'angle':this[_0x151deb(0x2d0)]};_0x353391[_0x151deb(0x105)](_0xf93332),_0x12d329['save']();let _0x32e278={'top':0x0,'left':0x0,'width':_0x5b3226,'height':_0x14f17b};_0x353391[_0x151deb(0x3db)](_0x12d329,_0x32e278,_0x3ad7b8),_0x12d329['restore']();let _0x983db=_0x353391[_0x151deb(0x4b7)](),_0x152f57=_0x353391[_0x151deb(0x5bd)](_0x32e278),_0x498b57=_0x353391[_0x151deb(0x269)]();if(_0x983db&&_0x152f57&&!_0x498b57){_0x12d329[_0x151deb(0x15f)](),this[_0x151deb(0x348)]()[_0x151deb(0x218)]&&_0x12d329[_0x151deb(0x39a)](-0x1,0x1);let _0xc169ec=_0x5b3226/0x2,_0xbf5f97=_0x14f17b/0x2;_0x12d329[_0x151deb(0x4c4)](-_0xc169ec,-_0xbf5f97),_0x12d329[_0x151deb(0x465)](),this[_0x151deb(0x14f)](_0x12d329,_0x983db,_0x152f57),_0x12d329['restore']();}}[_0x3b6577(0x3da)](_0x4e2357){}[_0x3b6577(0x14f)](_0x577559,_0x41e15d,_0x304a34){const _0x2796ba=_0x3b6577;this[_0x2796ba(0x13a)][_0x2796ba(0x5d7)]||(_0x2796ba(0x3b4)in _0x41e15d&&_0x41e15d[_0x2796ba(0x3b4)]===!0x1?this[_0x2796ba(0x3b3)](_0x577559,_0x41e15d,_0x304a34):this[_0x2796ba(0x13f)](_0x577559,_0x41e15d,_0x304a34));}[_0x3b6577(0x3b3)](_0x1a9ad0,_0x4e34fe,_0xffa391){}[_0x3b6577(0x13f)](_0x24b604,_0x4e150a,_0x5924eb){const _0x441581=_0x3b6577;var _0x30dc6f,_0x1b03d6;let _0x46685c=this['_props'][_0x441581(0x38d)];if(!_0x4e150a['dataModel']||!_0x46685c){_0x46685c||console[_0x441581(0x5a0)](_0x441581(0x42b));return;}let _0x4795d3=_0x4e150a[_0x441581(0x590)],_0x8d3fd9=_0x4795d3[_0x441581(0xe0)],_0x59c5cf=(_0x30dc6f=_0x4795d3['va'])==null?u[_0x441581(0x3d9)][_0x441581(0x170)]:_0x30dc6f,_0x2eee30=(_0x1b03d6=_0x4795d3['ha'])==null?u[_0x441581(0xf9)][_0x441581(0x2c8)]:_0x1b03d6;if(!_0x8d3fd9)return;let _0x14faba=_0x4e150a[_0x441581(0x4d5)],_0x167f8e=new u[(_0x441581(0x380))](V(_0x8d3fd9,{'isHorizontal':_0x14faba!==!0x1,'textRect':_0x5924eb,'verticalAlign':_0x59c5cf,'horizontalAlign':_0x2eee30})),_0x3fd3cb=new p['DocumentViewModel'](_0x167f8e),_0x28c081=p[_0x441581(0x110)][_0x441581(0x3fa)](_0x3fd3cb,_0x46685c);_0x28c081[_0x441581(0x3ef)]();let _0x147f78=new p[(_0x441581(0x326))]('shape-text-'+this[_0x441581(0x12b)],_0x28c081,{'pageMarginLeft':0x0,'pageMarginTop':0x0});_0x147f78['resize'](_0x5924eb[_0x441581(0x3ed)],_0x5924eb[_0x441581(0x4e0)]),_0x24b604[_0x441581(0x15f)](),_0x24b604[_0x441581(0x24b)](_0x5924eb[_0x441581(0x1f0)],_0x5924eb[_0x441581(0x107)]),_0x24b604[_0x441581(0x465)](),_0x24b604[_0x441581(0x309)](0x0,0x0,_0x5924eb[_0x441581(0x3ed)],_0x5924eb[_0x441581(0x4e0)]),_0x24b604[_0x441581(0x316)](),_0x147f78[_0x441581(0x2bd)](_0x24b604),_0x24b604['restore'](),_0x147f78[_0x441581(0x318)](),_0x28c081['dispose'](),_0x3fd3cb[_0x441581(0x318)](),_0x167f8e[_0x441581(0x318)]();}[_0x3b6577(0x3db)](_0x5a0801,_0x347ba0,_0x4fde9f=!0x1){const _0x1dfe77=_0x3b6577;if(!this[_0x1dfe77(0x3c3)])return this[_0x1dfe77(0x147)](!0x1),this;let {width:_0x457b74,height:_0x402e8f,left:_0x3a9dd8,top:_0x3ed543}=this,_0x5928ce=this[_0x1dfe77(0x183)]();if(_0x457b74=_0x5928ce[_0x1dfe77(0x3ed)],_0x402e8f=_0x5928ce[_0x1dfe77(0x4e0)],_0x3a9dd8=_0x5928ce['left'],_0x3ed543=_0x5928ce[_0x1dfe77(0x107)],this['isRender'](_0x347ba0)){let {top:_0x54aea5,left:_0x2f4cc9,bottom:_0x40fca8,right:_0x36b7fe}=_0x347ba0['viewBound'];if(_0x457b74+this[_0x1dfe77(0x593)]+_0x3a9dd8<_0x2f4cc9||_0x36b7fe<_0x3a9dd8||_0x402e8f+this[_0x1dfe77(0x593)]+_0x3ed543<_0x54aea5||_0x40fca8<_0x3ed543)return this;}let _0x2de7b2=_0x3a9dd8+_0x457b74/0x2,_0x392230=_0x3ed543+_0x402e8f/0x2,_0x1a56c2=this[_0x1dfe77(0x425)]['getMatrix']();if(this[_0x1dfe77(0x13a)]['isEditing']){let _0xca1526=this[_0x1dfe77(0x348)](),_0x3c179a=new p[(_0x1dfe77(0x125))]();_0x3c179a[_0x1dfe77(0x3c4)]({..._0xca1526}),_0x1a56c2=_0x3c179a[_0x1dfe77(0x10a)]();}return _0x5a0801[_0x1dfe77(0x15f)](),this[_0x1dfe77(0x13a)][_0x1dfe77(0x47f)][_0x1dfe77(0x346)]===!0x0||_0x5a0801[_0x1dfe77(0x425)](_0x1a56c2[0x0],_0x1a56c2[0x1],_0x1a56c2[0x2],_0x1a56c2[0x3],_0x2de7b2,_0x392230),this[_0x1dfe77(0x191)](_0x5a0801,_0x347ba0,_0x457b74,_0x402e8f),_0x5a0801[_0x1dfe77(0x2b0)](),this['makeDirty'](!0x1),this;}['getInverseCoord'](_0x1b1fb4){const _0x560fbd=_0x3b6577;let {left:_0x2b0a7e,top:_0x2ad7dc,width:_0x38153a,height:_0x440858}=this[_0x560fbd(0x183)](),_0x5e0426=this[_0x560fbd(0x425)]['getMatrix'](),_0x122184=_0x2b0a7e+_0x38153a/0x2,_0x39a298=_0x2ad7dc+_0x440858/0x2,_0x10adc4=new p[(_0x560fbd(0x125))]([_0x5e0426[0x0],_0x5e0426[0x1],_0x5e0426[0x2],_0x5e0426[0x3],_0x122184,_0x39a298]),_0x5a6add=this[_0x560fbd(0x559)]();return(this['isInGroup']&&(_0x5a6add==null?void 0x0:_0x5a6add[_0x560fbd(0x11b)])===p[_0x560fbd(0x217)][_0x560fbd(0x2de)]?_0x5a6add[_0x560fbd(0x277)][_0x560fbd(0x560)](_0x10adc4):_0x10adc4)[_0x560fbd(0x2a8)]()[_0x560fbd(0xeb)](_0x1b1fb4);}['isHit'](_0x2d8973){const _0x3196cb=_0x3b6577;let {left:_0x422d44,top:_0xf4101,width:_0x3ce539,height:_0x5c895d}=this['getRealBound'](),_0x5d0fbd=_0x422d44+_0x3ce539/0x2,_0x4cd8b9=_0xf4101+_0x5c895d/0x2,_0x325e76=this['transform'][_0x3196cb(0x10a)](),_0x20fd4c=new p[(_0x3196cb(0x125))]([_0x325e76[0x0],_0x325e76[0x1],_0x325e76[0x2],_0x325e76[0x3],_0x5d0fbd,_0x4cd8b9]),_0x521239=this[_0x3196cb(0x559)](),_0x57c0e5=(this[_0x3196cb(0x51d)]&&(_0x521239==null?void 0x0:_0x521239[_0x3196cb(0x11b)])===p['RENDER_CLASS_TYPE'][_0x3196cb(0x2de)]?_0x521239['ancestorTransform'][_0x3196cb(0x560)](_0x20fd4c):_0x20fd4c)[_0x3196cb(0x2a8)]()['applyPoint'](_0x2d8973),_0x2f21e4=_0x3ce539/0x2,_0xa291a1=_0x5c895d/0x2,_0x23728c=this[_0x3196cb(0x13a)][_0x3196cb(0x47f)];return _0x23728c&&_0x23728c[_0x3196cb(0x269)]()?_0x23728c[_0x3196cb(0x29d)](_0x57c0e5['x'],_0x57c0e5['y'],_0x3ce539,_0x5c895d):_0x57c0e5['x']>=-_0x2f21e4-this['strokeWidth']/0x2&&_0x57c0e5['x']<=_0x2f21e4+this[_0x3196cb(0x593)]/0x2&&_0x57c0e5['y']>=-_0xa291a1-this[_0x3196cb(0x593)]/0x2&&_0x57c0e5['y']<=_0xa291a1+this['strokeWidth']/0x2;}[_0x3b6577(0x318)](){const _0x15b445=_0x3b6577;this[_0x15b445(0x13a)]['shapeModel']=null,super['dispose']();}};function U(_0x581ce0,_0x217a54){return function(_0x1a9c29,_0x25bb1d){_0x217a54(_0x1a9c29,_0x25bb1d,_0x581ce0);};}function W(_0x319c84,_0x1da86b,_0x4eb050,_0x3864f5){const _0x476b37=_0x3b6577;var _0xa2cde2=arguments[_0x476b37(0x254)],_0xf48710=_0xa2cde2<0x3?_0x1da86b:_0x3864f5===null?_0x3864f5=Object['getOwnPropertyDescriptor'](_0x1da86b,_0x4eb050):_0x3864f5,_0x46e910;if(typeof Reflect==_0x476b37(0x246)&&typeof Reflect[_0x476b37(0x419)]==_0x476b37(0x30b))_0xf48710=Reflect['decorate'](_0x319c84,_0x1da86b,_0x4eb050,_0x3864f5);else{for(var _0x33f876=_0x319c84[_0x476b37(0x254)]-0x1;_0x33f876>=0x0;_0x33f876--)(_0x46e910=_0x319c84[_0x33f876])&&(_0xf48710=(_0xa2cde2<0x3?_0x46e910(_0xf48710):_0xa2cde2>0x3?_0x46e910(_0x1da86b,_0x4eb050,_0xf48710):_0x46e910(_0x1da86b,_0x4eb050))||_0xf48710);}return _0xa2cde2>0x3&&_0xf48710&&Object['defineProperty'](_0x1da86b,_0x4eb050,_0xf48710),_0xf48710;}let G=class extends u['Disposable']{constructor(_0x7fba34,_0x4d8b9f,_0x2f253d,_0x3cfdca,_0x39a38f,_0x426ae9){const _0x52f1fc=_0x3b6577;super(),this['_drawingManagerService']=_0x7fba34,this[_0x52f1fc(0x372)]=_0x4d8b9f,this[_0x52f1fc(0x50e)]=_0x2f253d,this[_0x52f1fc(0x30d)]=_0x3cfdca,this[_0x52f1fc(0x588)]=_0x39a38f,this['_shapeTextEditingService']=_0x426ae9;}['renderDrawingShape'](_0x37284f,_0x530ed6){const _0x2fa992=_0x3b6577;let {transform:_0x53fbfe,drawingType:_0xbc084f,srcRect:_0x4d4d2b,prstGeom:_0x20311f,groupId:_0x361f75,unitId:_0x46448c,subUnitId:_0x250a9a,drawingId:_0x417f83,isMultiTransform:_0x5023bd,transforms:_0x12f385,hidden:_0x2397cf}=_0x37284f;if(_0xbc084f!==u[_0x2fa992(0x400)][_0x2fa992(0x223)]||!this['_drawingManagerService'][_0x2fa992(0x240)]()||_0x53fbfe==null)return;let _0x57e35c=_0x5023bd&&_0x12f385?_0x12f385:[_0x53fbfe],_0x433c46=[];for(let _0x4dfc6c of _0x57e35c){let {left:_0x3ff47a,top:_0x544e9b,width:_0x5635a9,height:_0x2231bc,angle:_0x50ea5c,flipX:_0x42a9e3,flipY:_0x4942f8,skewX:_0x3b8b29,skewY:_0xad8ce4}=_0x4dfc6c,_0x666afd=_0x57e35c[_0x2fa992(0x358)](_0x4dfc6c),_0x43fa26=(0x0,m[_0x2fa992(0x56e)])({'unitId':_0x46448c,'subUnitId':_0x250a9a,'drawingId':_0x417f83},_0x5023bd?_0x666afd:void 0x0),_0x24e9e9=_0x530ed6[_0x2fa992(0x1a4)](_0x43fa26);if(_0x24e9e9!=null){_0x24e9e9[_0x2fa992(0xdc)]({'left':_0x3ff47a,'top':_0x544e9b,'width':_0x5635a9,'height':_0x2231bc,'angle':_0x50ea5c,'flipX':_0x42a9e3,'flipY':_0x4942f8,'skewX':_0x3b8b29,'skewY':_0xad8ce4});continue;}let _0x1eacd3=this['_drawingManagerService'][_0x2fa992(0x409)](_0x46448c,_0x250a9a),_0x18c6b0=_0x1eacd3[_0x2fa992(0x358)](_0x417f83);if(_0x530ed6[_0x2fa992(0x1a4)](_0x43fa26)||!this[_0x2fa992(0x3f4)]['getDrawingVisible']())continue;let _0x1977a0=this[_0x2fa992(0x372)]['getShapeModel'](_0x46448c,_0x250a9a,_0x417f83);if(!_0x1977a0)continue;let _0x8f7a90=new H(_0x43fa26,{...(0x0,c['isConnectorShape'])(_0x1977a0['getShapeType']())?{..._0x4dfc6c,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x4dfc6c},'zIndex':_0x18c6b0===-0x1?_0x1eacd3['length']-0x1:_0x18c6b0,'shapeModel':_0x1977a0,'localeService':this[_0x2fa992(0x50e)],'shapeId':_0x417f83,'unitId':_0x46448c,'subUnitId':_0x250a9a,'visible':_0x2397cf!==!0x0});this[_0x2fa992(0x21f)]((0x0,u[_0x2fa992(0x574)])(_0x8f7a90[_0x2fa992(0x4f8)][_0x2fa992(0x25c)]((_0x3efa1d,_0x4bbe89)=>{const _0x23aaad=_0x2fa992;_0x1977a0[_0x23aaad(0x269)]()||(this[_0x23aaad(0x51f)][_0x23aaad(0x52d)]({'visible':!0x0,'unitId':_0x46448c,'subUnitId':_0x250a9a,'shapeId':_0x417f83,'shapeKey':_0x8f7a90[_0x23aaad(0x12b)]}),_0x4bbe89[_0x23aaad(0x488)]());}))),_0x530ed6[_0x2fa992(0x152)](_0x8f7a90,p['DRAWING_OBJECT_LAYER_INDEX']),this[_0x2fa992(0x3f4)][_0x2fa992(0x4b5)]()&&_0x530ed6[_0x2fa992(0x37c)](_0x8f7a90),_0x361f75&&(0x0,b[_0x2fa992(0x200)])({'drawingId':_0x361f75,'unitId':_0x46448c,'subUnitId':_0x250a9a},_0x8f7a90,_0x530ed6,this[_0x2fa992(0x3f4)]),_0x20311f!=null&&_0x8f7a90['setPrstGeom'](_0x20311f),_0x4d4d2b!=null&&_0x8f7a90[_0x2fa992(0x32c)](_0x4d4d2b),this[_0x2fa992(0xd8)](_0x8f7a90,_0x1977a0['getShapeData']()),_0x433c46[_0x2fa992(0x4e5)](_0x8f7a90);}return _0x433c46;}['refreshShapeFillImage'](_0x7a5cbe){const _0x539e98=_0x3b6577;let _0x33fcde=_0x7a5cbe[_0x539e98(0x47f)][_0x539e98(0x331)](),_0x385365=_0x33fcde[_0x539e98(0x207)];if(!_0x385365||_0x385365[_0x539e98(0x2a0)]!==c[_0x539e98(0x4c9)][_0x539e98(0x4d9)]||!_0x385365['fillImageSource']){_0x7a5cbe[_0x539e98(0x314)](void 0x0);return;}this[_0x539e98(0xd8)](_0x7a5cbe,_0x33fcde);}[_0x3b6577(0xd8)](_0x2c2835,_0x41e7cd){const _0x2010b9=_0x3b6577;var _0x46663b;let _0x451060=_0x41e7cd['fill'];if(!_0x451060||_0x451060[_0x2010b9(0x2a0)]!==c['ShapeFillEnum'][_0x2010b9(0x4d9)]||!_0x451060['fillImageSource'])return;let _0x2ed901=_0x451060[_0x2010b9(0x2ed)],_0x27b3d8=(_0x46663b=_0x451060[_0x2010b9(0x11e)])==null?c[_0x2010b9(0x1fd)]['URL']:_0x46663b,_0x2e119d=this['_imageIoService'][_0x2010b9(0x4cd)](_0x2ed901,_0x27b3d8);if(_0x2e119d){_0x2c2835['setFillImage'](_0x2e119d);return;}this[_0x2010b9(0x5ae)](_0x2c2835,_0x2ed901,_0x27b3d8);}async['_loadAndSetImage'](_0x364a58,_0x139cb9,_0x240305){const _0x5e77ef=_0x3b6577;let _0x9a755a;try{if(_0x240305===c[_0x5e77ef(0x1fd)][_0x5e77ef(0x319)])_0x9a755a=await this[_0x5e77ef(0x30d)][_0x5e77ef(0x53d)](_0x139cb9);else{if(_0x240305===c[_0x5e77ef(0x1fd)][_0x5e77ef(0xd5)])try{_0x9a755a=await this[_0x5e77ef(0x588)]['getImage'](_0x139cb9);}catch{_0x9a755a=_0x139cb9;}else _0x9a755a=_0x139cb9;}}catch(_0x1e0953){console[_0x5e77ef(0x29a)](_0x5e77ef(0x111),_0x1e0953);return;}let _0x199a9=new window[(_0x5e77ef(0x575))]();_0x199a9[_0x5e77ef(0x5d8)]=()=>{const _0xe9482c=_0x5e77ef;this['_imageIoService'][_0xe9482c(0x4a2)](_0x139cb9,_0x240305,_0x199a9),_0x364a58[_0xe9482c(0x314)](_0x199a9);},_0x199a9[_0x5e77ef(0x5ea)]=()=>{const _0x25b456=_0x5e77ef;console[_0x25b456(0x29a)](_0x25b456(0x1b4),_0x139cb9);},_0x199a9['src']=_0x9a755a;}};G=W([U(0x0,m[_0x3b6577(0x539)]),U(0x1,(0x0,u[_0x3b6577(0x192)])(l['DocsShapeService'])),U(0x2,(0x0,u['Inject'])(u[_0x3b6577(0x1f5)])),U(0x3,m[_0x3b6577(0x1fe)]),U(0x4,u[_0x3b6577(0x373)]),U(0x5,(0x0,u[_0x3b6577(0x192)])(R))],G);let K=class extends u['Disposable']{constructor(_0x5ea671,_0x4ed449,_0x78111b,_0x3c41e0){const _0x5cb321=_0x3b6577;super(),this[_0x5cb321(0x379)]=_0x5ea671,this[_0x5cb321(0x5b8)]=_0x4ed449,this[_0x5cb321(0x3f4)]=_0x78111b,this[_0x5cb321(0x15c)]=_0x3c41e0,this['_initialize']();}[_0x3b6577(0x514)](){const _0x331829=_0x3b6577;this[_0x331829(0x21f)](this[_0x331829(0x3f4)][_0x331829(0x313)][_0x331829(0x451)](_0x530363=>this[_0x331829(0x497)](_0x530363))),this[_0x331829(0x21f)](this[_0x331829(0x3f4)]['update$'][_0x331829(0x451)](_0x533d6f=>{const _0x2d29d6=_0x331829;_0x533d6f['forEach'](_0x3d137b=>this[_0x2d29d6(0x5d9)](_0x3d137b));})),this['disposeWithMe'](this[_0x331829(0x379)][_0x331829(0x19c)](_0x556eb8=>{const _0x2e873e=_0x331829;if(_0x556eb8['id']!==l[_0x2e873e(0x388)]['id'])return;let {unitId:_0x2f0e9d,shapeId:_0x438dca}=_0x556eb8[_0x2e873e(0x4b1)];this[_0x2e873e(0x5cc)]({'unitId':_0x2f0e9d,'subUnitId':_0x2f0e9d,'drawingId':_0x438dca});}));}[_0x3b6577(0x234)](_0x2b177d,_0x2fcf11){const _0x2ead94=_0x3b6577;let _0x16b1ab=this[_0x2ead94(0x20d)](_0x2b177d[_0x2ead94(0x424)]),_0x2bf371=(0x0,m[_0x2ead94(0x56e)])(_0x2b177d),_0x4ae7e5=_0x16b1ab==null?void 0x0:_0x16b1ab['scene']['getObjectIncludeInGroup'](_0x2bf371);_0x4ae7e5==null||_0x4ae7e5[_0x2ead94(0x314)](_0x2fcf11);}[_0x3b6577(0x497)](_0x5e0a12){_0x5e0a12['forEach'](_0x2ce4a4=>{const _0x2d17f1=_0x1a94;var _0x4ac4df;let _0x3d61a9=this[_0x2d17f1(0x20d)](_0x2ce4a4[_0x2d17f1(0x424)]);if(!_0x3d61a9)return;let _0x36091f=this[_0x2d17f1(0x3f4)][_0x2d17f1(0x212)](_0x2ce4a4);(_0x36091f==null?void 0x0:_0x36091f[_0x2d17f1(0xea)])===u[_0x2d17f1(0x400)][_0x2d17f1(0x223)]&&((0x0,c[_0x2d17f1(0x448)])((_0x4ac4df=_0x36091f[_0x2d17f1(0x436)])==null?void 0x0:_0x4ac4df[_0x2d17f1(0x4bf)])&&_0x36091f['transform']&&(_0x36091f['transform']={..._0x36091f[_0x2d17f1(0x425)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}),this[_0x2d17f1(0x3f4)]['refreshTransform']([_0x36091f]),this[_0x2d17f1(0x15c)][_0x2d17f1(0x26a)](_0x36091f,_0x3d61a9['scene']));});}[_0x3b6577(0x5d9)](_0x39ed15){const _0x2ff7cc=_0x3b6577;let _0x22635a=this[_0x2ff7cc(0x3f4)][_0x2ff7cc(0x212)](_0x39ed15);if((_0x22635a==null?void 0x0:_0x22635a[_0x2ff7cc(0xea)])!==u[_0x2ff7cc(0x400)][_0x2ff7cc(0x223)])return;let _0x2778a2=this[_0x2ff7cc(0x20d)](_0x39ed15[_0x2ff7cc(0x424)]);if(!_0x2778a2||_0x22635a[_0x2ff7cc(0x425)]==null)return;let _0x51b464=(0x0,m['getDrawingShapeKeyByDrawingSearch'])(_0x39ed15),_0x49be22=_0x2778a2[_0x2ff7cc(0x492)]['getObjectIncludeInGroup'](_0x51b464);_0x49be22&&(_0x49be22[_0x2ff7cc(0x32c)](_0x22635a[_0x2ff7cc(0x364)]),_0x49be22[_0x2ff7cc(0x188)](_0x22635a[_0x2ff7cc(0x1f2)]),_0x49be22['makeDirty'](!0x0));}[_0x3b6577(0x5cc)](_0x2641a7){const _0x74e686=_0x3b6577;let _0x44c00f=this[_0x74e686(0x20d)](_0x2641a7[_0x74e686(0x424)]);if(!_0x44c00f)return;let _0x263761=(0x0,m[_0x74e686(0x56e)])(_0x2641a7),_0x1e4cf2=_0x44c00f[_0x74e686(0x492)][_0x74e686(0x1a4)](_0x263761);_0x1e4cf2&&(this[_0x74e686(0x15c)][_0x74e686(0x3ca)](_0x1e4cf2),_0x1e4cf2[_0x74e686(0x147)](!0x0));}[_0x3b6577(0x20d)](_0x209a89){const _0x164528=_0x3b6577;if(_0x209a89==null)return null;let _0x42c804=this[_0x164528(0x5b8)][_0x164528(0x1c9)](_0x209a89),_0x4e9ed8=_0x42c804==null?void 0x0:_0x42c804['scene'];return _0x4e9ed8==null?null:{'scene':_0x4e9ed8};}};K=W([U(0x0,u[_0x3b6577(0x243)]),U(0x1,p[_0x3b6577(0x5d6)]),U(0x2,m['IDrawingManagerService']),U(0x3,(0x0,u[_0x3b6577(0x192)])(G))],K);function ne(_0x49cb77){const _0x370aed=_0x3b6577;var _0x1297fc,_0x2d09e6,_0x338977,_0x4e4881,_0x326d9f,_0x2be9ff,_0x35a5ae,_0x4063c4,_0x143bfd,_0x51b88b,_0x2ee7f2,_0x5bebcf,_0x422cc7;let {unitId:_0x494080,subUnitId:_0x48e8c5,shapeId:_0x26a917,shapeData:_0x4e4eb5,disableShapeOption:_0x245cdf}=_0x49cb77,_0x2eb6db=(0x0,g[_0x370aed(0x19e)])(u[_0x370aed(0x1f5)]),_0x1a1c61=(0x0,g['useDependency'])(u[_0x370aed(0x243)]),_0x39fc4e=(0x0,g[_0x370aed(0x19e)])(u[_0x370aed(0x5d0)]),_0x41a384=(0x0,g[_0x370aed(0x19e)])(K),_0x54e299=(0x0,g[_0x370aed(0x19e)])(m[_0x370aed(0x1fe)]),_0x13f2e1=(0x0,y[_0x370aed(0x362)])(null),_0x4f076e=_0x4e4eb5[_0x370aed(0x207)],_0x364720=!!(_0x4f076e!=null&&_0x4f076e['fillImageSource']),[_0x5e86bd,_0x4460ba]=(0x0,y[_0x370aed(0x4b2)])((_0x1297fc=_0x4f076e==null?void 0x0:_0x4f076e[_0x370aed(0x428)])==null?0x1:_0x1297fc),[_0x28ef39,_0x163ed6]=(0x0,y['useState'])((_0x2d09e6=_0x4f076e==null?void 0x0:_0x4f076e[_0x370aed(0x1a2)])==null?c['ImageFillModeEnum'][_0x370aed(0x224)]:_0x2d09e6),[_0x619e98,_0x3076cc]=(0x0,y[_0x370aed(0x4b2)])((_0x338977=_0x4f076e==null?void 0x0:_0x4f076e['imageRotateWithShape'])==null?!0x1:_0x338977),[_0x334cd4,_0x255a04]=(0x0,y[_0x370aed(0x4b2)])((_0x4e4881=_0x4f076e==null||(_0x326d9f=_0x4f076e[_0x370aed(0x5d1)])==null?void 0x0:_0x326d9f['offsetX'])==null?0x0:_0x4e4881),[_0x1bc743,_0x365da7]=(0x0,y[_0x370aed(0x4b2)])((_0x2be9ff=_0x4f076e==null||(_0x35a5ae=_0x4f076e[_0x370aed(0x5d1)])==null?void 0x0:_0x35a5ae[_0x370aed(0x15a)])==null?0x0:_0x2be9ff),[_0x3f960d,_0x472ed9]=(0x0,y['useState'])((_0x4063c4=_0x4f076e==null||(_0x143bfd=_0x4f076e['imageTile'])==null?void 0x0:_0x143bfd[_0x370aed(0x230)])==null?0x1:_0x4063c4),[_0x5c4f1d,_0x527669]=(0x0,y[_0x370aed(0x4b2)])((_0x51b88b=_0x4f076e==null||(_0x2ee7f2=_0x4f076e[_0x370aed(0x5d1)])==null?void 0x0:_0x2ee7f2[_0x370aed(0x155)])==null?0x1:_0x51b88b),[_0x43ce8b,_0x8fdf8e]=(0x0,y[_0x370aed(0x4b2)])((_0x5bebcf=_0x4f076e==null||(_0x422cc7=_0x4f076e['imageTile'])==null?void 0x0:_0x422cc7['alignment'])==null?'tl':_0x5bebcf),_0x5f2cf2=_0x28ef39===c[_0x370aed(0x307)][_0x370aed(0x47d)],_0x143613=Math[_0x370aed(0x135)]((0x1-_0x5e86bd)*0x64),_0x3beaaa=Math['round'](_0x3f960d*0x64),_0x5dcc43=Math[_0x370aed(0x135)](_0x5c4f1d*0x64),_0x32bfe7=_0x2d0fa5=>_0x2eb6db['t'](_0x2d0fa5),_0x56c6df=[{'label':_0x32bfe7(_0x370aed(0x4e6)),'value':'tl'},{'label':_0x32bfe7(_0x370aed(0x4d1)),'value':'t'},{'label':_0x32bfe7(_0x370aed(0x578)),'value':'tr'},{'label':_0x32bfe7(_0x370aed(0x2ba)),'value':'l'},{'label':_0x32bfe7(_0x370aed(0x36f)),'value':_0x370aed(0x3cc)},{'label':_0x32bfe7(_0x370aed(0x4c5)),'value':'r'},{'label':_0x32bfe7('docs-shape-ui.fill.picture.align.bl'),'value':'bl'},{'label':_0x32bfe7(_0x370aed(0x305)),'value':'b'},{'label':_0x32bfe7(_0x370aed(0x205)),'value':'br'}],_0x12ae88=_0x51cea5=>{z(_0x1a1c61,_0x494080,_0x48e8c5,_0x26a917,{'oldShapeData':{'fill':_0x4f076e?{..._0x4f076e}:void 0x0}},{'fill':{..._0x4f076e,..._0x51cea5}});},_0x2e201f=_0x35ffa1=>{const _0xca1480=_0x370aed;_0x12ae88({'imageTile':{..._0x4f076e==null?void 0x0:_0x4f076e[_0xca1480(0x5d1)],..._0x35ffa1}});},_0x2a29a7=()=>{const _0x524e74=_0x370aed;var _0x163964;return(_0x163964=_0x13f2e1[_0x524e74(0x287)])==null?void 0x0:_0x163964[_0x524e74(0x2a9)]();},_0x4a65d9=async _0x38d4fb=>{const _0x2a5235=_0x370aed;var _0x52b628;let _0x127895=(_0x52b628=_0x38d4fb[_0x2a5235(0x1b1)][_0x2a5235(0x37f)])==null?void 0x0:_0x52b628[0x0];if(!_0x127895)return;_0x38d4fb['target'][_0x2a5235(0x5e4)]='';let _0x4e41e7=await _0x54e299['saveImage'](_0x127895);if(_0x4e41e7==null)return;let {imageSourceType:_0x53b950,source:_0x3323de,base64Cache:_0xa903ce}=_0x4e41e7,{image:_0x2c0493}=await(0x0,m[_0x2a5235(0x2e4)])(_0xa903ce||'');_0x54e299['addImageSourceCache'](_0x3323de,_0x53b950,_0x2c0493),z(_0x1a1c61,_0x494080,_0x48e8c5,_0x26a917,{'oldShapeData':{'fill':_0x4f076e?{..._0x4f076e}:void 0x0}},{'fill':{..._0x4f076e,'fillType':c[_0x2a5235(0x4c9)][_0x2a5235(0x4d9)],'fillImageSource':_0x3323de,'fillImageSourceType':_0x53b950}}),_0x41a384[_0x2a5235(0x234)]({'unitId':_0x494080,'subUnitId':_0x48e8c5,'drawingId':_0x26a917},_0x2c0493);},_0x1b88a9='univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200',_0x2521a8=_0x370aed(0x2a6);return(0x0,x[_0x370aed(0x511)])(_0x370aed(0x577),{'className':_0x370aed(0x5a9),'children':[(0x0,x[_0x370aed(0x511)])(_0x370aed(0x577),{'className':_0x370aed(0x456),'children':[(0x0,x[_0x370aed(0x4e3)])(_0x370aed(0x563),{'className':_0x1b88a9,'children':_0x32bfe7(_0x370aed(0x5c6))}),(0x0,x[_0x370aed(0x511)])(_0x370aed(0x577),{'className':_0x370aed(0x4a0),'children':[(0x0,x[_0x370aed(0x4e3)])('input',{'ref':_0x13f2e1,'type':_0x370aed(0x312),'accept':'image/*','className':_0x370aed(0x587),'onChange':_0x4a65d9}),(0x0,x['jsxs'])(_0x370aed(0x577),{'className':_0x370aed(0x190),'children':[(0x0,x[_0x370aed(0x4e3)])(_0x370aed(0x28f),{'type':_0x370aed(0x28f),'disabled':_0x245cdf,'className':'univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-3\x20univer-py-1\x20univer-text-sm\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','onClick':_0x2a29a7,'children':(0x0,x[_0x370aed(0x511)])(_0x370aed(0x563),{'children':[_0x32bfe7('docs-shape-ui.fill.picture.insert'),'\x20']})}),_0x364720&&(0x0,x[_0x370aed(0x4e3)])('div',{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-pointer-events-none\x20univer-absolute\x20univer-bottom-full\x20univer-left-0\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-mb-1\x20univer-hidden\x20univer-overflow-hidden\x20univer-rounded\x20univer-border\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-shadow-md\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20group-hover:univer-block\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-600\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':(0x0,x[_0x370aed(0x4e3)])(_0x370aed(0x3e6),{'src':_0x4f076e==null?void 0x0:_0x4f076e[_0x370aed(0x2ed)],'alt':'','className':_0x370aed(0x45b)})})]})]})]}),(0x0,x['jsxs'])(_0x370aed(0x577),{'className':_0x2521a8,'children':[(0x0,x[_0x370aed(0x4e3)])(_0x370aed(0x563),{'className':_0x1b88a9,'children':_0x32bfe7(_0x370aed(0x4d2))}),(0x0,x[_0x370aed(0x4e3)])(_0x370aed(0x577),{'className':'univer-w-20','children':(0x0,x[_0x370aed(0x4e3)])(v[_0x370aed(0x59f)],{'className':'univer-w-full','value':_0x143613,'disabled':_0x245cdf,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x37aa5a=>_0x37aa5a+'%','parser':_0x30562b=>(_0x30562b==null?void 0x0:_0x30562b['replace']('%',''))||'','onChange':_0x4283b3=>{const _0x463742=_0x370aed;let _0xba049e=(0x64-Math[_0x463742(0x538)](0x0,Math[_0x463742(0x20b)](0x64,_0x4283b3==null?0x0:_0x4283b3)))/0x64;_0x4460ba(_0xba049e),_0x12ae88({'imageOpacity':_0xba049e}),_0x39fc4e[_0x463742(0x449)](u[_0x463742(0x42e)],!0x1);},'onFocus':()=>_0x39fc4e['setContextValue'](u[_0x370aed(0x42e)],!0x0),'onBlur':()=>_0x39fc4e['setContextValue'](u['FOCUSING_PANEL_EDITOR'],!0x1)})})]}),(0x0,x[_0x370aed(0x4e3)])(v[_0x370aed(0x1e4)],{'checked':_0x5f2cf2,'disabled':_0x245cdf,'onChange':_0x2eca8f=>{const _0x4973bb=_0x370aed;let _0x38ffa5=_0x2eca8f?c[_0x4973bb(0x307)][_0x4973bb(0x47d)]:c[_0x4973bb(0x307)][_0x4973bb(0x224)];_0x163ed6(_0x38ffa5),_0x12ae88({'imageFillMode':_0x38ffa5});},'children':(0x0,x['jsx'])('span',{'className':_0x370aed(0x485),'children':_0x32bfe7(_0x370aed(0x5e9))})}),_0x5f2cf2&&(0x0,x[_0x370aed(0x511)])(_0x370aed(0x577),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-flex-col\x20univer-gap-2\x20univer-border-l-2\x20univer-border-l-gray-200\x20univer-pl-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-l-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':[(0x0,x[_0x370aed(0x511)])(_0x370aed(0x577),{'className':_0x2521a8,'children':[(0x0,x[_0x370aed(0x4e3)])('span',{'className':_0x1b88a9,'children':_0x32bfe7(_0x370aed(0x4ea))}),(0x0,x[_0x370aed(0x4e3)])(_0x370aed(0x577),{'className':_0x370aed(0x500),'children':(0x0,x['jsx'])(v[_0x370aed(0x59f)],{'className':'univer-w-full','value':_0x334cd4,'disabled':_0x245cdf,'step':0x1,'onChange':_0x36eb1f=>{_0x2e201f({'offsetX':_0x36eb1f==null?0x0:_0x36eb1f}),_0x255a04(_0x36eb1f==null?0x0:_0x36eb1f);},'onFocus':()=>_0x39fc4e[_0x370aed(0x449)](u[_0x370aed(0x42e)],!0x0),'onBlur':()=>_0x39fc4e['setContextValue'](u[_0x370aed(0x42e)],!0x1)})})]}),(0x0,x['jsxs'])(_0x370aed(0x577),{'className':_0x2521a8,'children':[(0x0,x['jsx'])(_0x370aed(0x563),{'className':_0x1b88a9,'children':_0x32bfe7(_0x370aed(0x117))}),(0x0,x['jsx'])(_0x370aed(0x577),{'className':_0x370aed(0x500),'children':(0x0,x[_0x370aed(0x4e3)])(v[_0x370aed(0x59f)],{'className':'univer-w-full','value':_0x1bc743,'disabled':_0x245cdf,'step':0x1,'onChange':_0x2f60bc=>{_0x2e201f({'offsetY':_0x2f60bc==null?0x0:_0x2f60bc}),_0x365da7(_0x2f60bc==null?0x0:_0x2f60bc);},'onFocus':()=>_0x39fc4e[_0x370aed(0x449)](u['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x39fc4e[_0x370aed(0x449)](u[_0x370aed(0x42e)],!0x1)})})]}),(0x0,x[_0x370aed(0x511)])(_0x370aed(0x577),{'className':_0x2521a8,'children':[(0x0,x['jsx'])('span',{'className':_0x1b88a9,'children':_0x32bfe7(_0x370aed(0x5dc))}),(0x0,x[_0x370aed(0x4e3)])('div',{'className':_0x370aed(0x500),'children':(0x0,x[_0x370aed(0x4e3)])(v[_0x370aed(0x59f)],{'className':_0x370aed(0x233),'value':_0x3beaaa,'disabled':_0x245cdf,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x39a306=>_0x39a306+'%','parser':_0x5e4bb0=>(_0x5e4bb0==null?void 0x0:_0x5e4bb0[_0x370aed(0x29c)]('%',''))||'','onChange':_0x570ec4=>{const _0x1bbf4=_0x370aed;let _0x18c239=Math['max'](0.01,(_0x570ec4==null?0x64:_0x570ec4)/0x64);_0x472ed9(_0x18c239),_0x2e201f({'scaleX':_0x18c239}),_0x39fc4e['setContextValue'](u[_0x1bbf4(0x42e)],!0x1);},'onFocus':()=>_0x39fc4e[_0x370aed(0x449)](u['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x39fc4e[_0x370aed(0x449)](u[_0x370aed(0x42e)],!0x1)})})]}),(0x0,x['jsxs'])('div',{'className':_0x2521a8,'children':[(0x0,x['jsx'])(_0x370aed(0x563),{'className':_0x1b88a9,'children':_0x32bfe7('docs-shape-ui.fill.picture.scaleY')}),(0x0,x[_0x370aed(0x4e3)])('div',{'className':_0x370aed(0x500),'children':(0x0,x['jsx'])(v['InputNumber'],{'className':_0x370aed(0x233),'value':_0x5dcc43,'disabled':_0x245cdf,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x5da917=>_0x5da917+'%','parser':_0x13d5ec=>(_0x13d5ec==null?void 0x0:_0x13d5ec[_0x370aed(0x29c)]('%',''))||'','onChange':_0x9ede10=>{const _0xc57305=_0x370aed;let _0x19ed55=Math[_0xc57305(0x538)](0.01,(_0x9ede10==null?0x64:_0x9ede10)/0x64);_0x527669(_0x19ed55),_0x2e201f({'scaleY':_0x19ed55}),_0x39fc4e['setContextValue'](u[_0xc57305(0x42e)],!0x1);},'onFocus':()=>_0x39fc4e[_0x370aed(0x449)](u['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x39fc4e['setContextValue'](u[_0x370aed(0x42e)],!0x1)})})]}),(0x0,x['jsxs'])(_0x370aed(0x577),{'className':_0x2521a8,'children':[(0x0,x[_0x370aed(0x4e3)])(_0x370aed(0x563),{'className':_0x1b88a9,'children':_0x32bfe7(_0x370aed(0x367))}),(0x0,x[_0x370aed(0x4e3)])(_0x370aed(0x577),{'className':_0x370aed(0x185),'children':(0x0,x[_0x370aed(0x4e3)])(v[_0x370aed(0x4af)],{'className':_0x370aed(0x233),'value':_0x43ce8b,'options':_0x56c6df,'disabled':_0x245cdf,'onChange':_0x1faa1d=>{_0x8fdf8e(_0x1faa1d),_0x2e201f({'alignment':_0x1faa1d});}})})]})]}),(0x0,x[_0x370aed(0x4e3)])(v[_0x370aed(0x1e4)],{'checked':_0x619e98,'disabled':_0x245cdf,'onChange':_0x179002=>{_0x3076cc(_0x179002),_0x12ae88({'imageRotateWithShape':_0x179002});},'children':(0x0,x[_0x370aed(0x4e3)])(_0x370aed(0x563),{'className':'univer-text-sm','children':_0x32bfe7('docs-shape-ui.fill.picture.rotateWithShape')})})]});}function re(_0x224f65){const _0x5edfde=_0x3b6577;var _0x53ed64,_0x41a50d;return(_0x53ed64=(_0x41a50d=_0x224f65[_0x5edfde(0x207)])==null?void 0x0:_0x41a50d[_0x5edfde(0x2a0)])==null?c[_0x5edfde(0x4c9)][_0x5edfde(0x288)]:_0x53ed64;}function ie(_0x4cc31c){const _0xe344d=_0x3b6577;var _0x2c0089,_0x3fd353,_0x28abe9,_0x47a7e4;let _0x41a7bd=(0x0,g[_0xe344d(0x19e)])(u[_0xe344d(0x1f5)]),_0x53e5a1=(0x0,g[_0xe344d(0x19e)])(u[_0xe344d(0x243)]),_0x322877=(0x0,g[_0xe344d(0x19e)])(u[_0xe344d(0x5d0)]),{shapeData:_0x38e1c6,isLineShape:_0xa93070,unitId:_0x2e4adf,subUnitId:_0x44a27e,shapeId:_0x28b895,disableShapeOption:_0x539235}=_0x4cc31c,[_0x3e9115,_0xac1d85]=(0x0,y[_0xe344d(0x4b2)])(re(_0x38e1c6)),[_0x2b726f,_0x5752c6]=(0x0,y['useState'])((_0x2c0089=(_0x3fd353=_0x38e1c6['fill'])==null?void 0x0:_0x3fd353['color'])==null?c['ShapeDefaultConfig']['fill']:_0x2c0089),[_0x1c7d2c,_0x17a2a8]=(0x0,y[_0xe344d(0x4b2)])((_0x28abe9=(_0x47a7e4=_0x38e1c6[_0xe344d(0x207)])==null?void 0x0:_0x47a7e4[_0xe344d(0x1a3)])==null?0x1:_0x28abe9),[_0x51cba1,_0x3ad0c7]=(0x0,y[_0xe344d(0x4b2)])(!0x1);if(_0xa93070)return null;let _0x35401d=0x64-_0x1c7d2c*0x64;return(0x0,x['jsxs'])(_0xe344d(0x577),{'className':_0xe344d(0x5ac),'children':[(0x0,x['jsxs'])(v['RadioGroup'],{'value':_0x3e9115,'disabled':_0x539235,'onChange':_0x895cf9=>{const _0x57fb9b=_0xe344d;var _0x1612d0;z(_0x53e5a1,_0x2e4adf,_0x44a27e,_0x28b895,{'oldShapeData':{'fill':{'fillType':(_0x1612d0=_0x38e1c6[_0x57fb9b(0x207)])==null?void 0x0:_0x1612d0[_0x57fb9b(0x2a0)]}}},{'fill':{'fillType':_0x895cf9}}),_0xac1d85(_0x895cf9);},'direction':_0xe344d(0x44c),'children':[(0x0,x['jsx'])(v['Radio'],{'value':c[_0xe344d(0x4c9)]['NoFill'],'children':(0x0,x[_0xe344d(0x4e3)])(_0xe344d(0x563),{'className':_0xe344d(0x485),'children':_0x41a7bd['t'](_0xe344d(0x1ce))})}),(0x0,x['jsx'])(v[_0xe344d(0x232)],{'value':c[_0xe344d(0x4c9)][_0xe344d(0x1db)],'children':(0x0,x['jsx'])(_0xe344d(0x563),{'className':_0xe344d(0x485),'children':_0x41a7bd['t'](_0xe344d(0x149))})}),(0x0,x[_0xe344d(0x4e3)])(v[_0xe344d(0x232)],{'value':c[_0xe344d(0x4c9)]['GradientFill'],'children':(0x0,x['jsx'])(_0xe344d(0x563),{'className':_0xe344d(0x485),'children':_0x41a7bd['t'](_0xe344d(0x5cd))})}),(0x0,x[_0xe344d(0x4e3)])(v[_0xe344d(0x232)],{'value':c[_0xe344d(0x4c9)][_0xe344d(0x4d9)],'children':(0x0,x[_0xe344d(0x4e3)])('span',{'className':_0xe344d(0x485),'children':_0x41a7bd['t'](_0xe344d(0x13e))})})]}),_0x3e9115===c[_0xe344d(0x4c9)]['SolidFill']&&(0x0,x['jsxs'])(_0xe344d(0x577),{'className':_0xe344d(0x5b6),'children':[(0x0,x[_0xe344d(0x511)])(_0xe344d(0x577),{'className':_0xe344d(0x502),'children':[(0x0,x['jsx'])(_0xe344d(0x563),{'className':_0xe344d(0xd4),'children':_0x41a7bd['t']('docs-shape-ui.fill.color')}),(0x0,x['jsx'])(v[_0xe344d(0x10e)],{'disabled':_0x539235,'overlay':(0x0,x['jsx'])('div',{'className':_0xe344d(0x481),'children':(0x0,x['jsx'])(v['ColorPicker'],{'value':_0x2b726f,'onChange':_0xe5ba50=>{const _0x1d20ba=_0xe344d;var _0x5ec89c;z(_0x53e5a1,_0x2e4adf,_0x44a27e,_0x28b895,{'oldShapeData':{'fill':{'color':(_0x5ec89c=_0x38e1c6[_0x1d20ba(0x207)])==null?void 0x0:_0x5ec89c[_0x1d20ba(0x30f)]}}},{'fill':{'color':_0xe5ba50}}),_0x5752c6(_0xe5ba50),_0x3ad0c7(!0x1);}})}),'open':_0x51cba1,'onOpenChange':_0x3ad0c7,'children':(0x0,x[_0xe344d(0x511)])('a',{'className':_0xe344d(0x143),'children':[(0x0,x['jsx'])(h[_0xe344d(0x2ab)],{'className':_0xe344d(0x421),'extend':{'colorChannel1':_0x2b726f}}),(0x0,x[_0xe344d(0x4e3)])(h[_0xe344d(0x242)],{'className':(0x0,v[_0xe344d(0x2c3)])(_0xe344d(0x4cc),{'univer-rotate-180':_0x51cba1})})]})})]}),(0x0,x[_0xe344d(0x511)])(_0xe344d(0x577),{'className':_0xe344d(0x2a6),'children':[(0x0,x['jsx'])(_0xe344d(0x563),{'className':_0xe344d(0x59a),'children':_0x41a7bd['t'](_0xe344d(0x4d2))}),(0x0,x[_0xe344d(0x4e3)])(_0xe344d(0x577),{'className':_0xe344d(0x438),'children':(0x0,x[_0xe344d(0x4e3)])(_0xe344d(0x577),{'className':_0xe344d(0x500),'children':(0x0,x[_0xe344d(0x4e3)])(v['InputNumber'],{'className':_0xe344d(0x233),'value':_0x35401d,'disabled':_0x539235,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x2ea6f7=>_0x2ea6f7+'%','parser':_0x1c8c5b=>(_0x1c8c5b==null?void 0x0:_0x1c8c5b[_0xe344d(0x29c)]('%',''))||'','onChange':_0xc2a022=>{const _0x41b725=_0xe344d;let _0xc477eb=(0x64-Math[_0x41b725(0x538)](0x0,Math[_0x41b725(0x20b)](0x64,_0xc2a022==null?0x0:_0xc2a022)))/0x64;_0x17a2a8(_0xc477eb),z(_0x53e5a1,_0x2e4adf,_0x44a27e,_0x28b895,{'oldShapeData':{'fill':{..._0x38e1c6[_0x41b725(0x207)],'fillType':_0x3e9115}}},{'fill':{..._0x38e1c6[_0x41b725(0x207)],'fillType':_0x3e9115,'opacity':_0xc477eb}}),_0x322877[_0x41b725(0x449)](u[_0x41b725(0x42e)],!0x1);},'onFocus':()=>_0x322877['setContextValue'](u[_0xe344d(0x42e)],!0x0),'onBlur':()=>{const _0x564b98=_0xe344d;_0x322877[_0x564b98(0x449)](u['FOCUSING_PANEL_EDITOR'],!0x1);}})})})]})]}),_0x3e9115===c['ShapeFillEnum']['GradientFill']&&(0x0,x[_0xe344d(0x4e3)])(J,{'shapeData':_0x38e1c6,'disableShapeOption':_0x539235,'onUpdate':_0x427abe=>{const _0x3c85dc=_0xe344d;z(_0x53e5a1,_0x2e4adf,_0x44a27e,_0x28b895,{'oldShapeData':{'fill':{..._0x38e1c6[_0x3c85dc(0x207)]}}},{'fill':{..._0x38e1c6[_0x3c85dc(0x207)],..._0x427abe}});}}),_0x3e9115===c['ShapeFillEnum'][_0xe344d(0x4d9)]&&(0x0,x[_0xe344d(0x4e3)])(ne,{'unitId':_0x2e4adf,'subUnitId':_0x44a27e,'shapeId':_0x28b895,'shapeData':_0x38e1c6,'disableShapeOption':_0x539235})]});}function q(_0x13cf8d){const _0x49a401=_0x3b6577;switch(_0x13cf8d){case c[_0x49a401(0x122)][_0x49a401(0x2fd)]:return _0x49a401(0x1d3);case c[_0x49a401(0x122)][_0x49a401(0x11a)]:return _0x49a401(0x447);case c[_0x49a401(0x122)]['Angular']:return _0x49a401(0x255);case c[_0x49a401(0x122)][_0x49a401(0x4e7)]:return _0x49a401(0x4a8);default:return'linear';}}function ae(_0x5c4d07){const _0xf05d7c=_0x3b6577;switch(_0x5c4d07){case _0xf05d7c(0x1d3):return c[_0xf05d7c(0x122)][_0xf05d7c(0x2fd)];case'radial':return c[_0xf05d7c(0x122)][_0xf05d7c(0x11a)];case _0xf05d7c(0x255):return c[_0xf05d7c(0x122)][_0xf05d7c(0x108)];case'diamond':return c[_0xf05d7c(0x122)][_0xf05d7c(0x4e7)];default:return c['ShapeGradientTypeEnum'][_0xf05d7c(0x2fd)];}}function J(_0x256edb){const _0x1924e3=_0x3b6577;let {shapeData:_0x4ef06e,disableShapeOption:_0x502050,onUpdate:_0x2c04f7}=_0x256edb,_0xdcc1d2=(0x0,y['useMemo'])(()=>{const _0x52e350=_0x1a94;var _0x42564a;let _0x15d92d=_0x4ef06e['fill'];return{'type':q(_0x15d92d==null?void 0x0:_0x15d92d[_0x52e350(0x27f)]),'angle':(_0x42564a=_0x15d92d==null?void 0x0:_0x15d92d[_0x52e350(0x4ce)])==null?0x5a:_0x42564a,'stops':_0x15d92d!=null&&_0x15d92d[_0x52e350(0x1ab)]&&_0x15d92d[_0x52e350(0x1ab)][_0x52e350(0x254)]>=0x2?_0x15d92d['gradientStops'][_0x52e350(0x567)](_0xd2b2d4=>({'color':_0xd2b2d4['color'],'offset':_0xd2b2d4[_0x52e350(0x285)]*0x64})):[{'color':(_0x15d92d==null?void 0x0:_0x15d92d[_0x52e350(0x30f)])||_0x52e350(0x3b8),'offset':0x0},{'color':'#000000','offset':0x64}]};},[_0x4ef06e[_0x1924e3(0x207)]]);return(0x0,x['jsx'])(_0x1924e3(0x577),{'className':_0x1924e3(0x4dc),'children':(0x0,x[_0x1924e3(0x4e3)])(v[_0x1924e3(0x296)],{'value':_0xdcc1d2,'onChange':_0x51f8f5=>{const _0x3a579d=_0x1924e3;let _0x2c802e=ae(_0x51f8f5['type']),_0x3a9026=_0x51f8f5[_0x3a579d(0x2d0)];_0x2c04f7({'gradientType':_0x2c802e,'gradientAngle':_0x3a9026,'gradientStops':_0x51f8f5[_0x3a579d(0x583)][_0x3a579d(0x567)](_0x1ad867=>({'color':_0x1ad867[_0x3a579d(0x30f)],'position':_0x1ad867[_0x3a579d(0x56a)]/0x64}))});}})});}function oe(_0x46219b){const _0x5c5e0e=_0x3b6577;var _0x3fadb0,_0x21bab7,_0x93f489,_0x12321a,_0x8978cd,_0x11edb0,_0xf707f5,_0x5cb5a4,_0x4d885d,_0x3c6df3,_0x3d3fa4,_0xdbde14,_0x253e41,_0x3ab93c,_0x93f6b2,_0x2212ff;let _0x368f36=(0x0,g[_0x5c5e0e(0x19e)])(u['LocaleService']),_0x3bf211=(0x0,g[_0x5c5e0e(0x19e)])(u['ICommandService']),_0x286c6c=(0x0,g[_0x5c5e0e(0x19e)])(u[_0x5c5e0e(0x5d0)]),{shapeData:_0xcff10b,isLineShape:_0x537495,unitId:_0x415f83,subUnitId:_0x3e0f78,shapeId:_0x3c4dfe,disableShapeOption:_0x39544a}=_0x46219b,_0xa8cc95=_0xcff10b[_0x5c5e0e(0x2b6)],[_0x2720e3,_0x1e9e41]=(0x0,y['useState'])((_0x3fadb0=_0xa8cc95==null?void 0x0:_0xa8cc95[_0x5c5e0e(0x208)])==null?c['ShapeLineTypeEnum'][_0x5c5e0e(0x315)]:_0x3fadb0),[_0x189ea5,_0x2f337b]=(0x0,y[_0x5c5e0e(0x4b2)])((_0x21bab7=_0xa8cc95==null?void 0x0:_0xa8cc95[_0x5c5e0e(0x30f)])==null?c['ShapeDefaultConfig']['stroke']:_0x21bab7),[_0x297930,_0x307a71]=(0x0,y[_0x5c5e0e(0x4b2)])((_0x93f489=_0xa8cc95==null?void 0x0:_0xa8cc95[_0x5c5e0e(0x1a3)])==null?0x1:_0x93f489),[_0x4d40ab,_0x33ad20]=(0x0,y[_0x5c5e0e(0x4b2)])((_0x12321a=_0xa8cc95==null?void 0x0:_0xa8cc95[_0x5c5e0e(0x3ed)])==null?c[_0x5c5e0e(0x44a)][_0x5c5e0e(0x593)]:_0x12321a),[_0x47637a,_0xd11c3a]=(0x0,y[_0x5c5e0e(0x4b2)])((_0x8978cd=_0xa8cc95==null?void 0x0:_0xa8cc95[_0x5c5e0e(0x44b)])==null?c[_0x5c5e0e(0x32a)][_0x5c5e0e(0x34a)]:_0x8978cd),[_0x9daaf1,_0x47ec17]=(0x0,y['useState'])((_0x11edb0=_0xa8cc95==null?void 0x0:_0xa8cc95[_0x5c5e0e(0x39d)])==null?c[_0x5c5e0e(0x3af)]['Flat']:_0x11edb0),[_0x586d61,_0x4fd50b]=(0x0,y[_0x5c5e0e(0x4b2)])((_0xf707f5=_0xa8cc95==null?void 0x0:_0xa8cc95[_0x5c5e0e(0x21d)])==null?c[_0x5c5e0e(0x361)]['Miter']:_0xf707f5),[_0x52b706,_0x47efcf]=(0x0,y['useState'])((_0x5cb5a4=_0xa8cc95==null?void 0x0:_0xa8cc95[_0x5c5e0e(0x14a)])==null?c['ShapeSketchTypeEnum']['None']:_0x5cb5a4),_0x31b36a=_0xcff10b,[_0x4d2c1d,_0x2fff99]=(0x0,y[_0x5c5e0e(0x4b2)])((_0x4d885d=(_0x3c6df3=_0x31b36a['ln'])==null||(_0x3c6df3=_0x3c6df3[_0x5c5e0e(0x1fa)])==null?void 0x0:_0x3c6df3[_0x5c5e0e(0x41d)])==null?c[_0x5c5e0e(0x12c)][_0x5c5e0e(0x536)]:_0x4d885d),[_0x4eb76f,_0x5f5a1c]=(0x0,y[_0x5c5e0e(0x4b2)])((_0x3d3fa4=(_0xdbde14=_0x31b36a['ln'])==null||(_0xdbde14=_0xdbde14[_0x5c5e0e(0x1fa)])==null?void 0x0:_0xdbde14[_0x5c5e0e(0x4d3)])==null?c[_0x5c5e0e(0x52f)][_0x5c5e0e(0x157)]:_0x3d3fa4),[_0x4d2dba,_0x2373ff]=(0x0,y[_0x5c5e0e(0x4b2)])((_0x253e41=(_0x3ab93c=_0x31b36a['ln'])==null||(_0x3ab93c=_0x3ab93c['endArrow'])==null?void 0x0:_0x3ab93c[_0x5c5e0e(0x41d)])==null?c['ShapeArrowTypeEnum']['None']:_0x253e41),[_0x4cb3c2,_0xeeb2c7]=(0x0,y[_0x5c5e0e(0x4b2)])((_0x93f6b2=(_0x2212ff=_0x31b36a['ln'])==null||(_0x2212ff=_0x2212ff[_0x5c5e0e(0x174)])==null?void 0x0:_0x2212ff[_0x5c5e0e(0x4d3)])==null?c['ShapeArrowSizeEnum'][_0x5c5e0e(0x157)]:_0x93f6b2),[_0x16eef1,_0x59c7cb]=(0x0,y[_0x5c5e0e(0x4b2)])(!0x1),_0x1e15e9=0x64-_0x297930*0x64,_0x39840e=[{'label':_0x368f36['t'](_0x5c5e0e(0x370)),'value':String(c[_0x5c5e0e(0x32a)][_0x5c5e0e(0x34a)])},{'label':_0x368f36['t']('docs-shape-ui.line.dashType.roundDot'),'value':String(c[_0x5c5e0e(0x32a)]['RoundDot'])},{'label':_0x368f36['t'](_0x5c5e0e(0x1c7)),'value':String(c[_0x5c5e0e(0x32a)][_0x5c5e0e(0x49d)])},{'label':_0x368f36['t'](_0x5c5e0e(0x133)),'value':String(c[_0x5c5e0e(0x32a)][_0x5c5e0e(0x38b)])},{'label':_0x368f36['t']('docs-shape-ui.line.dashType.dashDot'),'value':String(c['ShapeLineDashEnum']['DashDot'])},{'label':_0x368f36['t'](_0x5c5e0e(0x5c0)),'value':String(c[_0x5c5e0e(0x32a)]['LongDash'])},{'label':_0x368f36['t'](_0x5c5e0e(0x1de)),'value':String(c[_0x5c5e0e(0x32a)]['LongDashDot'])},{'label':_0x368f36['t'](_0x5c5e0e(0x5b9)),'value':String(c[_0x5c5e0e(0x32a)][_0x5c5e0e(0x177)])}],_0x15353e=[{'label':_0x368f36['t']('docs-shape-ui.line.capType.flat'),'value':String(c[_0x5c5e0e(0x3af)][_0x5c5e0e(0x180)])},{'label':_0x368f36['t'](_0x5c5e0e(0x1da)),'value':String(c['ShapeLineCapEnum'][_0x5c5e0e(0x33e)])},{'label':_0x368f36['t']('docs-shape-ui.line.capType.square'),'value':String(c[_0x5c5e0e(0x3af)][_0x5c5e0e(0x58e)])}],_0x4f545b=[{'label':_0x368f36['t']('docs-shape-ui.line.sketchType.none'),'value':String(c[_0x5c5e0e(0x49a)][_0x5c5e0e(0x536)])},{'label':_0x368f36['t'](_0x5c5e0e(0x3a5)),'value':String(c[_0x5c5e0e(0x49a)][_0x5c5e0e(0x5d3)])},{'label':_0x368f36['t'](_0x5c5e0e(0x140)),'value':String(c[_0x5c5e0e(0x49a)]['Freehand'])},{'label':_0x368f36['t'](_0x5c5e0e(0x3a2)),'value':String(c[_0x5c5e0e(0x49a)][_0x5c5e0e(0x36c)])}],_0x2cf1d1=[{'label':_0x368f36['t'](_0x5c5e0e(0x46b)),'value':String(c[_0x5c5e0e(0x361)]['Miter'])},{'label':_0x368f36['t'](_0x5c5e0e(0x5ef)),'value':String(c['ShapeLineJoinEnum'][_0x5c5e0e(0x33e)])},{'label':_0x368f36['t'](_0x5c5e0e(0x286)),'value':String(c[_0x5c5e0e(0x361)][_0x5c5e0e(0x27e)])}],_0x2e3cfa=[{'label':_0x368f36['t']('docs-shape-ui.line.arrowType.none'),'value':String(c['ShapeArrowTypeEnum']['None'])},{'label':_0x368f36['t'](_0x5c5e0e(0x56d)),'value':String(c['ShapeArrowTypeEnum'][_0x5c5e0e(0x32e)])},{'label':_0x368f36['t'](_0x5c5e0e(0x3bd)),'value':String(c[_0x5c5e0e(0x12c)][_0x5c5e0e(0x121)])},{'label':_0x368f36['t']('docs-shape-ui.line.arrowType.stealthArrow'),'value':String(c[_0x5c5e0e(0x12c)][_0x5c5e0e(0x3eb)])},{'label':_0x368f36['t']('docs-shape-ui.line.arrowType.diamondArrow'),'value':String(c[_0x5c5e0e(0x12c)][_0x5c5e0e(0x26d)])},{'label':_0x368f36['t'](_0x5c5e0e(0x2a4)),'value':String(c['ShapeArrowTypeEnum'][_0x5c5e0e(0x493)])}],_0x147222=[{'label':_0x368f36['t']('docs-shape-ui.line.arrowSize.small'),'value':String(c[_0x5c5e0e(0x52f)][_0x5c5e0e(0x3fb)])},{'label':_0x368f36['t'](_0x5c5e0e(0x532)),'value':String(c['ShapeArrowSizeEnum']['Medium'])},{'label':_0x368f36['t'](_0x5c5e0e(0x325)),'value':String(c[_0x5c5e0e(0x52f)][_0x5c5e0e(0x55d)])}];return(0x0,x[_0x5c5e0e(0x511)])(_0x5c5e0e(0x577),{'className':_0x5c5e0e(0x5ac),'children':[(0x0,x['jsxs'])(v[_0x5c5e0e(0x2eb)],{'value':String(_0x2720e3),'disabled':_0x39544a,'onChange':_0x3be99e=>{const _0x24a290=_0x5c5e0e;var _0x2d9b73;_0x1e9e41(Number(_0x3be99e)),z(_0x3bf211,_0x415f83,_0x3e0f78,_0x3c4dfe,{'oldShapeData':{'stroke':{'lineStrokeType':(_0x2d9b73=_0xcff10b[_0x24a290(0x2b6)])==null?void 0x0:_0x2d9b73[_0x24a290(0x208)]}}},{'stroke':{'lineStrokeType':Number(_0x3be99e)}});},'direction':_0x5c5e0e(0x44c),'children':[(0x0,x[_0x5c5e0e(0x4e3)])(v['Radio'],{'value':String(c[_0x5c5e0e(0x526)]['NoLine']),'children':(0x0,x[_0x5c5e0e(0x4e3)])(_0x5c5e0e(0x563),{'className':_0x5c5e0e(0x485),'children':_0x368f36['t']('docs-shape-ui.line.noLine')})}),(0x0,x[_0x5c5e0e(0x4e3)])(v[_0x5c5e0e(0x232)],{'value':String(c[_0x5c5e0e(0x526)][_0x5c5e0e(0x315)]),'children':(0x0,x['jsx'])('span',{'className':_0x5c5e0e(0x485),'children':_0x368f36['t'](_0x5c5e0e(0x5ce))})})]}),_0x2720e3!==c['ShapeLineTypeEnum'][_0x5c5e0e(0x4f3)]&&(0x0,x['jsxs'])('div',{'className':'univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','children':[(0x0,x['jsxs'])(_0x5c5e0e(0x577),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,x[_0x5c5e0e(0x4e3)])('span',{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x368f36['t']('docs-shape-ui.line.color')}),(0x0,x['jsx'])(v[_0x5c5e0e(0x10e)],{'disabled':_0x39544a,'overlay':(0x0,x[_0x5c5e0e(0x4e3)])(_0x5c5e0e(0x577),{'className':'univer-rounded-lg\x20univer-p-3','children':(0x0,x['jsx'])(v[_0x5c5e0e(0x12a)],{'value':_0x189ea5,'onChange':_0x2aed63=>{const _0x33d9ed=_0x5c5e0e;var _0x10a6eb;z(_0x3bf211,_0x415f83,_0x3e0f78,_0x3c4dfe,{'oldShapeData':{'stroke':{'color':(_0x10a6eb=_0xcff10b[_0x33d9ed(0x2b6)])==null?void 0x0:_0x10a6eb['color']}}},{'stroke':{'color':_0x2aed63}}),_0x2f337b(_0x2aed63),_0x59c7cb(!0x1);}})}),'open':_0x16eef1,'onOpenChange':_0x59c7cb,'children':(0x0,x[_0x5c5e0e(0x511)])('a',{'className':_0x5c5e0e(0x143),'children':[(0x0,x[_0x5c5e0e(0x4e3)])(h[_0x5c5e0e(0x2ab)],{'className':'univer-text-gray-500','extend':{'colorChannel1':_0x189ea5}}),(0x0,x[_0x5c5e0e(0x4e3)])(h[_0x5c5e0e(0x242)],{'className':(0x0,v['clsx'])('univer-text-gray-600\x20univer-transition-transform',{'univer-rotate-180':_0x16eef1})})]})})]}),(0x0,x[_0x5c5e0e(0x511)])(_0x5c5e0e(0x577),{'className':_0x5c5e0e(0x2a6),'children':[(0x0,x[_0x5c5e0e(0x4e3)])(_0x5c5e0e(0x563),{'className':_0x5c5e0e(0x59a),'children':_0x368f36['t'](_0x5c5e0e(0x3c9))}),(0x0,x[_0x5c5e0e(0x4e3)])(_0x5c5e0e(0x577),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':(0x0,x[_0x5c5e0e(0x4e3)])(_0x5c5e0e(0x577),{'className':_0x5c5e0e(0x551),'children':(0x0,x[_0x5c5e0e(0x4e3)])(v[_0x5c5e0e(0x59f)],{'className':_0x5c5e0e(0x233),'value':_0x1e15e9,'disabled':_0x39544a,'min':0x0,'max':0x64,'formatter':_0x4b277c=>_0x4b277c+'%','parser':_0x15caa1=>(_0x15caa1==null?void 0x0:_0x15caa1[_0x5c5e0e(0x29c)]('%',''))||'','onChange':_0x2eef85=>{const _0x9098f4=_0x5c5e0e;var _0x33e6d1;let _0x7a85a0=(0x64-Math['max'](0x0,Math['min'](0x64,_0x2eef85==null?0x0:_0x2eef85)))/0x64;_0x307a71(_0x7a85a0),z(_0x3bf211,_0x415f83,_0x3e0f78,_0x3c4dfe,{'oldShapeData':{'stroke':{'opacity':(_0x33e6d1=_0xcff10b['stroke'])==null?void 0x0:_0x33e6d1['opacity']}}},{'stroke':{'opacity':_0x7a85a0}}),_0x286c6c[_0x9098f4(0x449)](u[_0x9098f4(0x42e)],!0x1);},'onFocus':()=>_0x286c6c['setContextValue'](u[_0x5c5e0e(0x42e)],!0x0),'onBlur':_0x5e1a86=>{const _0x5e8485=_0x5c5e0e;_0x286c6c[_0x5e8485(0x449)](u[_0x5e8485(0x42e)],!0x1);}})})})]}),(0x0,x[_0x5c5e0e(0x511)])(_0x5c5e0e(0x577),{'className':_0x5c5e0e(0x2a6),'children':[(0x0,x[_0x5c5e0e(0x4e3)])(_0x5c5e0e(0x563),{'className':_0x5c5e0e(0xd4),'children':_0x368f36['t']('docs-shape-ui.line.width')}),(0x0,x[_0x5c5e0e(0x4e3)])(_0x5c5e0e(0x577),{'className':_0x5c5e0e(0x500),'children':(0x0,x[_0x5c5e0e(0x4e3)])(v[_0x5c5e0e(0x59f)],{'className':_0x5c5e0e(0x233),'disabled':_0x39544a,'value':_0x4d40ab,'min':0.25,'max':0x64,'step':0.25,'formatter':_0x2714d4=>_0x2714d4+_0x5c5e0e(0xe5),'parser':_0xe9c4fe=>(_0xe9c4fe==null?void 0x0:_0xe9c4fe[_0x5c5e0e(0x29c)](_0x5c5e0e(0xe5),''))||'','onChange':_0x5c3914=>{const _0x4d2662=_0x5c5e0e;if(!Number[_0x4d2662(0x472)](_0x5c3914)&&_0x5c3914!==null){var _0x6864d7;z(_0x3bf211,_0x415f83,_0x3e0f78,_0x3c4dfe,{'oldShapeData':{'stroke':{'width':(_0x6864d7=_0xcff10b['stroke'])==null?void 0x0:_0x6864d7[_0x4d2662(0x3ed)]}}},{'stroke':{'width':_0x5c3914}});}_0x286c6c[_0x4d2662(0x449)](u['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x286c6c[_0x5c5e0e(0x449)](u[_0x5c5e0e(0x42e)],!0x0),'onBlur':_0x21a88b=>{const _0x5bbb77=_0x5c5e0e;_0x286c6c[_0x5bbb77(0x449)](u['FOCUSING_PANEL_EDITOR'],!0x1);}})})]}),(0x0,x[_0x5c5e0e(0x511)])(_0x5c5e0e(0x577),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,x[_0x5c5e0e(0x4e3)])('span',{'className':_0x5c5e0e(0xd4),'children':_0x368f36['t'](_0x5c5e0e(0x410))}),(0x0,x[_0x5c5e0e(0x4e3)])('div',{'className':'univer-w-28','children':(0x0,x[_0x5c5e0e(0x4e3)])(v[_0x5c5e0e(0x4af)],{'className':_0x5c5e0e(0x233),'value':String(_0x47637a),'options':_0x39840e,'disabled':_0x39544a,'onChange':_0x502a28=>{const _0x5edd2d=_0x5c5e0e;var _0x4a958f;_0xd11c3a(Number(_0x502a28)),z(_0x3bf211,_0x415f83,_0x3e0f78,_0x3c4dfe,{'oldShapeData':{'stroke':{'dashType':(_0x4a958f=_0xcff10b[_0x5edd2d(0x2b6)])==null?void 0x0:_0x4a958f['dashType']}}},{'stroke':{'dashType':Number(_0x502a28)}});}})})]}),(0x0,x[_0x5c5e0e(0x511)])('div',{'className':_0x5c5e0e(0x502),'children':[(0x0,x['jsx'])(_0x5c5e0e(0x563),{'className':_0x5c5e0e(0xd4),'children':_0x368f36['t'](_0x5c5e0e(0x51c))}),(0x0,x[_0x5c5e0e(0x4e3)])(_0x5c5e0e(0x577),{'className':'univer-w-28','children':(0x0,x[_0x5c5e0e(0x4e3)])(v[_0x5c5e0e(0x4af)],{'className':_0x5c5e0e(0x233),'value':String(_0x9daaf1),'options':_0x15353e,'disabled':_0x39544a,'onChange':_0x605f11=>{const _0x23a2e7=_0x5c5e0e;var _0x3c08ad;_0x47ec17(Number(_0x605f11)),z(_0x3bf211,_0x415f83,_0x3e0f78,_0x3c4dfe,{'oldShapeData':{'stroke':{'capType':(_0x3c08ad=_0xcff10b[_0x23a2e7(0x2b6)])==null?void 0x0:_0x3c08ad['capType']}}},{'stroke':{'capType':Number(_0x605f11)}});}})})]}),(0x0,x[_0x5c5e0e(0x511)])(_0x5c5e0e(0x577),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,x[_0x5c5e0e(0x4e3)])('span',{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x368f36['t'](_0x5c5e0e(0x414))}),(0x0,x[_0x5c5e0e(0x4e3)])(_0x5c5e0e(0x577),{'className':_0x5c5e0e(0x185),'children':(0x0,x[_0x5c5e0e(0x4e3)])(v[_0x5c5e0e(0x4af)],{'className':_0x5c5e0e(0x233),'value':String(_0x586d61),'options':_0x2cf1d1,'disabled':_0x39544a,'onChange':_0x1760f6=>{const _0x48f575=_0x5c5e0e;var _0x18e876;_0x4fd50b(Number(_0x1760f6)),z(_0x3bf211,_0x415f83,_0x3e0f78,_0x3c4dfe,{'oldShapeData':{'stroke':{'lineJoinType':(_0x18e876=_0xcff10b[_0x48f575(0x2b6)])==null?void 0x0:_0x18e876['lineJoinType']}}},{'stroke':{'lineJoinType':Number(_0x1760f6)}});}})})]}),!_0x537495&&(0x0,x[_0x5c5e0e(0x511)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,x[_0x5c5e0e(0x4e3)])(_0x5c5e0e(0x563),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x368f36['t']('docs-shape-ui.line.sketchType.title')}),(0x0,x[_0x5c5e0e(0x4e3)])(_0x5c5e0e(0x577),{'className':'univer-w-28','children':(0x0,x[_0x5c5e0e(0x4e3)])(v[_0x5c5e0e(0x4af)],{'className':_0x5c5e0e(0x233),'value':String(_0x52b706),'options':_0x4f545b,'disabled':_0x39544a,'onChange':_0x39bbd2=>{const _0x4949f6=_0x5c5e0e;var _0x4e3f6c;_0x47efcf(Number(_0x39bbd2)),z(_0x3bf211,_0x415f83,_0x3e0f78,_0x3c4dfe,{'oldShapeData':{'stroke':{'sketchType':(_0x4e3f6c=_0xcff10b['stroke'])==null?void 0x0:_0x4e3f6c[_0x4949f6(0x14a)]}}},{'stroke':{'sketchType':Number(_0x39bbd2)}});}})})]}),_0x537495&&(0x0,x[_0x5c5e0e(0x511)])(x[_0x5c5e0e(0x2e7)],{'children':[(0x0,x[_0x5c5e0e(0x511)])(_0x5c5e0e(0x577),{'className':_0x5c5e0e(0x502),'children':[(0x0,x['jsx'])(_0x5c5e0e(0x563),{'className':_0x5c5e0e(0xd4),'children':_0x368f36['t']('docs-shape-ui.line.beginArrowType')}),(0x0,x[_0x5c5e0e(0x4e3)])(_0x5c5e0e(0x577),{'className':_0x5c5e0e(0x185),'children':(0x0,x[_0x5c5e0e(0x4e3)])(v[_0x5c5e0e(0x4af)],{'className':_0x5c5e0e(0x233),'value':String(_0x4d2c1d),'options':_0x2e3cfa,'onChange':_0x2e46c9=>{const _0x52467d=_0x5c5e0e;var _0x2df00c;_0x2fff99(Number(_0x2e46c9)),B(_0x3bf211,_0x415f83,_0x3e0f78,_0x3c4dfe,{'oldShapeData':{'ln':{'startArrow':{'type':(_0x2df00c=_0xcff10b['ln'])==null||(_0x2df00c=_0x2df00c[_0x52467d(0x1fa)])==null?void 0x0:_0x2df00c[_0x52467d(0x41d)]}}}},{'ln':{'startArrow':{'type':Number(_0x2e46c9)}}});}})})]}),(0x0,x[_0x5c5e0e(0x511)])(_0x5c5e0e(0x577),{'className':_0x5c5e0e(0x502),'children':[(0x0,x['jsx'])(_0x5c5e0e(0x563),{'className':_0x5c5e0e(0xd4),'children':_0x368f36['t'](_0x5c5e0e(0x426))}),(0x0,x[_0x5c5e0e(0x4e3)])(_0x5c5e0e(0x577),{'className':_0x5c5e0e(0x185),'children':(0x0,x[_0x5c5e0e(0x4e3)])(v['Select'],{'className':_0x5c5e0e(0x233),'value':String(_0x4eb76f),'options':_0x147222,'onChange':_0x2284bd=>{const _0x4d5706=_0x5c5e0e;var _0x4fead5;_0x5f5a1c(Number(_0x2284bd)),B(_0x3bf211,_0x415f83,_0x3e0f78,_0x3c4dfe,{'oldShapeData':{'ln':{'startArrow':{'size':(_0x4fead5=_0xcff10b['ln'])==null||(_0x4fead5=_0x4fead5[_0x4d5706(0x1fa)])==null?void 0x0:_0x4fead5['size']}}}},{'ln':{'startArrow':{'size':Number(_0x2284bd)}}});}})})]}),(0x0,x[_0x5c5e0e(0x511)])(_0x5c5e0e(0x577),{'className':_0x5c5e0e(0x502),'children':[(0x0,x['jsx'])(_0x5c5e0e(0x563),{'className':_0x5c5e0e(0xd4),'children':_0x368f36['t']('docs-shape-ui.line.endArrowType')}),(0x0,x['jsx'])(_0x5c5e0e(0x577),{'className':'univer-w-28','children':(0x0,x['jsx'])(v['Select'],{'className':_0x5c5e0e(0x233),'value':String(_0x4d2dba),'options':_0x2e3cfa,'onChange':_0x47f112=>{const _0x4af820=_0x5c5e0e;var _0xaef8b3;_0x2373ff(Number(_0x47f112)),B(_0x3bf211,_0x415f83,_0x3e0f78,_0x3c4dfe,{'oldShapeData':{'ln':{'endArrow':{'type':(_0xaef8b3=_0xcff10b['ln'])==null||(_0xaef8b3=_0xaef8b3[_0x4af820(0x174)])==null?void 0x0:_0xaef8b3[_0x4af820(0x41d)]}}}},{'ln':{'endArrow':{'type':Number(_0x47f112)}}});}})})]}),(0x0,x[_0x5c5e0e(0x511)])('div',{'className':_0x5c5e0e(0x502),'children':[(0x0,x['jsx'])('span',{'className':_0x5c5e0e(0xd4),'children':_0x368f36['t'](_0x5c5e0e(0x293))}),(0x0,x[_0x5c5e0e(0x4e3)])(_0x5c5e0e(0x577),{'className':_0x5c5e0e(0x185),'children':(0x0,x['jsx'])(v[_0x5c5e0e(0x4af)],{'className':_0x5c5e0e(0x233),'value':String(_0x4cb3c2),'options':_0x147222,'onChange':_0x850c6a=>{const _0x2f2a74=_0x5c5e0e;var _0x4ecd0e;_0xeeb2c7(Number(_0x850c6a)),B(_0x3bf211,_0x415f83,_0x3e0f78,_0x3c4dfe,{'oldShapeData':{'ln':{'endArrow':{'size':(_0x4ecd0e=_0xcff10b['ln'])==null||(_0x4ecd0e=_0x4ecd0e[_0x2f2a74(0x174)])==null?void 0x0:_0x4ecd0e[_0x2f2a74(0x4d3)]}}}},{'ln':{'endArrow':{'size':Number(_0x850c6a)}}});}})})]})]})]})]});}function Y(){const _0xef0a12=_0x3b6577;let _0x1c9202=(0x0,g[_0xef0a12(0x19e)])(m[_0xef0a12(0x539)]),[_0x47ac49,_0x5ccba3]=(0x0,y[_0xef0a12(0x4b2)])(_0x1c9202[_0xef0a12(0x321)]());return(0x0,y[_0xef0a12(0x531)])(()=>{const _0x545bf5=_0xef0a12;let _0x4324c5=_0x1c9202[_0x545bf5(0x36d)][_0x545bf5(0x451)](_0x3e39e0=>{_0x5ccba3(_0x3e39e0);});return()=>{const _0x451ce2=_0x545bf5;_0x4324c5[_0x451ce2(0x52b)]();};},[]),_0x47ac49[_0xef0a12(0x254)]===0x0?null:(0x0,x['jsx'])('div',{'children':(0x0,x[_0xef0a12(0x511)])(_0xef0a12(0x577),{'className':_0xef0a12(0x4d8),'children':[(0x0,x[_0xef0a12(0x4e3)])(b[_0xef0a12(0xf1)],{'drawings':_0x47ac49,'hasCropper':!0x1}),(0x0,x[_0xef0a12(0x4e3)])(d[_0xef0a12(0x3ec)],{'drawings':_0x47ac49}),(0x0,x[_0xef0a12(0x4e3)])(d[_0xef0a12(0xda)],{'drawings':_0x47ac49})]})});}function X(_0x4cf217){const _0x52e328=_0x3b6577;let {shapeData:_0x145376,shapeId:_0x50f28d,shapeType:_0x46a312,version:_0x51c85f,unitId:_0x1b5aab,subUnitId:_0x47d6ef,disableShapeOption:_0x28826d}=_0x4cf217,_0x25267b=(0x0,g[_0x52e328(0x19e)])(u[_0x52e328(0x1f5)]),_0x2c00d4=(0x0,c[_0x52e328(0x448)])(_0x46a312),[_0x5ed8a9,_0x4d42a3]=(0x0,y[_0x52e328(0x4b2)])(0x0),_0x542377=[{'label':(0x0,x[_0x52e328(0x4e3)])('div',{'children':_0x25267b['t']('docs-shape-ui.fill.title')}),'children':(0x0,x['jsx'])(_0x52e328(0x466),{'className':_0x52e328(0x3cb),'children':(0x0,x['jsx'])(ie,{'shapeId':_0x50f28d,'shapeData':_0x145376,'isLineShape':_0x2c00d4,'subUnitId':_0x47d6ef,'unitId':_0x1b5aab,'disableShapeOption':_0x28826d},_0x50f28d)})},{'label':(0x0,x['jsx'])(_0x52e328(0x577),{'children':_0x25267b['t'](_0x52e328(0x2c6))}),'children':(0x0,x[_0x52e328(0x4e3)])('section',{'className':_0x52e328(0x3cb),'children':(0x0,x[_0x52e328(0x4e3)])(oe,{'shapeId':_0x50f28d,'shapeData':_0x145376,'isLineShape':_0x2c00d4,'subUnitId':_0x47d6ef,'unitId':_0x1b5aab,'disableShapeOption':_0x28826d},_0x50f28d)})}];return(0x0,x[_0x52e328(0x511)])('div',{'className':'univer-size-full','children':[(0x0,x[_0x52e328(0x511)])(_0x52e328(0x577),{'className':_0x52e328(0x1f9),'children':[(0x0,x[_0x52e328(0x511)])(_0x52e328(0x577),{'className':(0x0,v[_0x52e328(0x2c3)])('univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold',_0x5ed8a9===0x0?'univer-text-primary-600':_0x52e328(0x407)),'onClick':()=>_0x4d42a3(0x0),'children':[_0x25267b['t'](_0x52e328(0x46e)),(0x0,x[_0x52e328(0x4e3)])(_0x52e328(0x577),{'className':(0x0,v['clsx'])(_0x52e328(0x4e2),{'univer-bg-primary-600':_0x5ed8a9===0x0,'univer-bg-transparent':_0x5ed8a9!==0x0})})]}),(0x0,x['jsxs'])(_0x52e328(0x577),{'className':(0x0,v['clsx'])(_0x52e328(0x550),{'univer-text-primary-600':_0x5ed8a9===0x1,'univer-text-gray-500':_0x5ed8a9!==0x1}),'onClick':()=>_0x4d42a3(0x1),'children':[_0x25267b['t'](_0x52e328(0x257)),(0x0,x[_0x52e328(0x4e3)])(_0x52e328(0x577),{'className':(0x0,v[_0x52e328(0x2c3)])(_0x52e328(0x5ee),{'univer-bg-primary-600':_0x5ed8a9===0x1,'univer-bg-transparent':_0x5ed8a9!==0x1})})]})]}),(0x0,x[_0x52e328(0x4e3)])(_0x52e328(0x577),{'className':_0x52e328(0x15d),'children':_0x5ed8a9===0x0?(0x0,x[_0x52e328(0x4e3)])(_0x52e328(0x577),{'className':'','children':(0x0,x['jsx'])(v[_0x52e328(0x55a)],{'items':_0x542377})},_0x51c85f):(0x0,x[_0x52e328(0x4e3)])(Y,{})})]});}function se(_0x12e40d,_0x449006=u['HorizontalAlign'][_0x3b6577(0x2c8)]){const _0x501bcb=_0x3b6577;return{'id':_0x501bcb(0x2f1),'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0,'paragraphStyle':{'horizontalAlign':_0x449006}}]},'documentStyle':{'textStyle':_0x12e40d?{..._0x12e40d}:void 0x0}};}function Z(_0x4ca996,_0x40a70b){const _0x563967=_0x3b6577;var _0x2b8ff9,_0x308504;let _0x31ebec=_0x4ca996[_0x563967(0x5c1)],_0x249c8a=_0x31ebec&&'dataModel'in _0x31ebec?_0x31ebec[_0x563967(0x590)]:void 0x0,_0x5c1edf=(_0x2b8ff9=(_0x308504=_0x40a70b[_0x563967(0x30a)])==null?_0x249c8a==null?void 0x0:_0x249c8a['ha']:_0x308504)==null?u['HorizontalAlign'][_0x563967(0x2c8)]:_0x2b8ff9;if(_0x249c8a!=null&&_0x249c8a[_0x563967(0xe0)]){var _0xad7149,_0x560fcc;return{'va':(_0xad7149=_0x249c8a['va'])==null?u[_0x563967(0x3d9)][_0x563967(0x170)]:_0xad7149,'ha':(_0x560fcc=_0x249c8a['ha'])==null?u['HorizontalAlign'][_0x563967(0x2c8)]:_0x560fcc,'doc':u[_0x563967(0x238)]['deepClone'](_0x249c8a[_0x563967(0xe0)])};}return{'va':u[_0x563967(0x3d9)][_0x563967(0x170)],'ha':_0x5c1edf,'doc':se(_0x40a70b['textStyle'],_0x5c1edf)};}function ce(_0xf18bc1,_0x1ff57a){const _0x2c7a1c=_0x3b6577;var _0x476ecd,_0x52b914,_0x34d881,_0x29cf28;let _0x288aac=_0xf18bc1[_0x2c7a1c(0x5c1)],_0x44807b=Z(_0xf18bc1,_0x1ff57a),_0x3238c2=(_0x476ecd=_0x1ff57a[_0x2c7a1c(0x30a)])==null?_0x44807b['ha']:_0x476ecd,_0x156d46=(_0x52b914=_0x1ff57a[_0x2c7a1c(0x19a)])==null?_0x44807b['va']:_0x52b914,_0x370724=_0x44807b[_0x2c7a1c(0xe0)];if(_0x1ff57a[_0x2c7a1c(0x5bc)]){var _0x2a38ca,_0x2f4604;_0x370724[_0x2c7a1c(0x4d4)]={..._0x370724['documentStyle'],'textStyle':{...(_0x2a38ca=_0x370724['documentStyle'])==null?void 0x0:_0x2a38ca['textStyle'],..._0x1ff57a['textStyle']}};let _0x543ca6=(_0x2f4604=_0x370724[_0x2c7a1c(0x150)])==null?void 0x0:_0x2f4604[_0x2c7a1c(0x347)];if(_0x543ca6){for(let _0x36323c of _0x543ca6)_0x36323c['ts']={..._0x36323c['ts'],..._0x1ff57a[_0x2c7a1c(0x5bc)]};}}let _0xdc1330=(_0x34d881=_0x370724[_0x2c7a1c(0x150)])==null?void 0x0:_0x34d881[_0x2c7a1c(0x479)];if(_0xdc1330){for(let _0x59f5f6 of _0xdc1330)_0x59f5f6[_0x2c7a1c(0x552)]={..._0x59f5f6[_0x2c7a1c(0x552)],'horizontalAlign':_0x3238c2};}return{'shapeText':{'isHorizontal':(_0x29cf28=_0x288aac==null?void 0x0:_0x288aac[_0x2c7a1c(0x4d5)])==null?!0x0:_0x29cf28,'dataModel':{'va':_0x156d46,'ha':_0x3238c2,'doc':_0x370724}}};}const le='doc.shape.floating-toolbar';function Q(_0x367a41){const _0x286f11=_0x3b6577;let _0x45c042=_0x367a41[_0x286f11(0x5c1)];return _0x45c042&&_0x286f11(0x590)in _0x45c042&&_0x45c042[_0x286f11(0x590)]?_0x45c042[_0x286f11(0x590)]:null;}function ue(_0x5d419b){const _0x5f328b=_0x3b6577;var _0x1aa5d5,_0x593cd4,_0x156c47,_0x1c7a2c;let _0x4d0012=(_0x1aa5d5=Q(_0x5d419b))==null?void 0x0:_0x1aa5d5[_0x5f328b(0xe0)],_0x5e1f11=(_0x593cd4=_0x4d0012==null||(_0x156c47=_0x4d0012[_0x5f328b(0x150)])==null||(_0x156c47=_0x156c47[_0x5f328b(0x347)])==null||(_0x156c47=_0x156c47[0x0])==null?void 0x0:_0x156c47['ts'])==null?{}:_0x593cd4;return{..._0x4d0012==null||(_0x1c7a2c=_0x4d0012['documentStyle'])==null?void 0x0:_0x1c7a2c[_0x5f328b(0x5bc)],..._0x5e1f11};}function de(_0x3734d9,_0x1c2155){const _0x31e137=_0x3b6577;var _0x5bdff5;let _0x423d17=_0x3734d9==null||(_0x5bdff5=_0x3734d9[_0x31e137(0x3fd)]()[_0x31e137(0x1ba)])==null?void 0x0:_0x5bdff5[_0x1c2155];return _0x423d17?_0x423d17[_0x31e137(0x311)]===u['PositionedObjectLayoutType'][_0x31e137(0x427)]?_0x423d17[_0x31e137(0x5c9)]===u[_0x31e137(0x340)][_0x31e137(0x156)]?_0x31e137(0x260):'inFrontOfText':_0x423d17[_0x31e137(0x311)]===u[_0x31e137(0x471)]['WRAP_SQUARE']?'wrapSquare':_0x423d17[_0x31e137(0x311)]===u[_0x31e137(0x471)][_0x31e137(0x4a6)]?_0x31e137(0x11f):_0x31e137(0x3ee):_0x31e137(0x3ee);}function fe(){const _0x33efee=_0x3b6577;return(0x0,x[_0x33efee(0x4e3)])(_0x33efee(0x563),{'className':_0x33efee(0x1a8)});}function pe(){const _0x13a6b1=_0x3b6577;return(0x0,x['jsxs'])(_0x13a6b1(0xdb),{'viewBox':_0x13a6b1(0x3f8),'width':'1em','height':_0x13a6b1(0x195),'fill':'none','aria-hidden':_0x13a6b1(0x45d),'children':[(0x0,x[_0x13a6b1(0x4e3)])(_0x13a6b1(0x4ac),{'d':'M2.5\x204.5H8.2','stroke':_0x13a6b1(0x558),'strokeWidth':'1.4','strokeLinecap':_0x13a6b1(0x135)}),(0x0,x[_0x13a6b1(0x4e3)])(_0x13a6b1(0x4ac),{'d':_0x13a6b1(0x530),'stroke':'currentColor','strokeWidth':_0x13a6b1(0x4b4),'strokeLinecap':'round'}),(0x0,x['jsx'])(_0x13a6b1(0x4ac),{'d':_0x13a6b1(0x480),'stroke':'currentColor','strokeWidth':'1.4','strokeLinecap':'round'}),(0x0,x['jsx'])(_0x13a6b1(0x4ac),{'d':'M14.3\x2010H17.5','stroke':'currentColor','strokeWidth':'1.4','strokeLinecap':'round'}),(0x0,x[_0x13a6b1(0x4e3)])(_0x13a6b1(0x4ac),{'d':_0x13a6b1(0x432),'stroke':_0x13a6b1(0x558),'strokeWidth':_0x13a6b1(0x4b4),'strokeLinecap':_0x13a6b1(0x135)}),(0x0,x['jsx'])(_0x13a6b1(0x4ac),{'d':'M11.8\x2015.5H17.5','stroke':_0x13a6b1(0x558),'strokeWidth':_0x13a6b1(0x4b4),'strokeLinecap':_0x13a6b1(0x135)}),(0x0,x[_0x13a6b1(0x4e3)])(_0x13a6b1(0x309),{'x':_0x13a6b1(0x4a3),'y':'7','width':_0x13a6b1(0x5aa),'height':'6','rx':'1','stroke':'currentColor','strokeWidth':_0x13a6b1(0x4b4)})]});}function me(_0x1de0bd){const _0x1b631a=_0x3b6577;return _0x1de0bd instanceof HTMLElement?!!_0x1de0bd[_0x1b631a(0x482)](_0x1b631a(0x52c)):!0x1;}function $(_0x2803a5){const _0x3afb48=_0x3b6577;return(0x0,x['jsx'])(_0x3afb48(0x577),{'className':_0x3afb48(0x484),'children':_0x2803a5[_0x3afb48(0x158)]});}function he(_0x4da705){const _0x29de2e=_0x3b6577;return(0x0,x[_0x29de2e(0x4e3)])(v[_0x29de2e(0x3a8)],{'title':_0x4da705[_0x29de2e(0x1f3)],'placement':_0x29de2e(0x4a5),'children':(0x0,x[_0x29de2e(0x4e3)])('button',{'type':'button','disabled':_0x4da705[_0x29de2e(0x226)],'onClick':_0x4da705[_0x29de2e(0x1d6)],'className':(0x0,v[_0x29de2e(0x2c3)])('univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700',{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x4da705['active']}),'children':_0x4da705[_0x29de2e(0x158)]})});}function ge(_0xd94d28){const _0x10cce6=_0x3b6577;let [_0x342a1e,_0x53c558]=(0x0,y[_0x10cce6(0x4b2)])(!0x1);return(0x0,x[_0x10cce6(0x4e3)])(v[_0x10cce6(0x10e)],{'disabled':_0xd94d28[_0x10cce6(0x226)],'open':_0x342a1e,'onOpenChange':_0x53c558,'overlay':(0x0,x[_0x10cce6(0x4e3)])(_0x10cce6(0x577),{'className':_0x10cce6(0x444),'children':(0x0,x[_0x10cce6(0x4e3)])(v[_0x10cce6(0x12a)],{'value':_0xd94d28[_0x10cce6(0x30f)],'onChange':_0x4e1f56=>{const _0x334379=_0x10cce6;_0xd94d28[_0x334379(0x215)](_0x4e1f56),_0x53c558(!0x1);}})}),'children':(0x0,x[_0x10cce6(0x4e3)])(_0x10cce6(0x563),{'children':(0x0,x[_0x10cce6(0x4e3)])(v['Tooltip'],{'title':_0xd94d28[_0x10cce6(0x1f3)],'placement':_0x10cce6(0x4a5),'children':(0x0,x[_0x10cce6(0x511)])(_0x10cce6(0x28f),{'type':'button','disabled':_0xd94d28[_0x10cce6(0x226)],'className':_0x10cce6(0x3d8),'children':[_0xd94d28['children'],(0x0,x[_0x10cce6(0x4e3)])('span',{'className':_0x10cce6(0x3e9),'style':{'backgroundColor':_0xd94d28[_0x10cce6(0x30f)]}})]})})})});}function _e(_0x5a8c41){const _0xc93910=_0x3b6577;var _0x1be213;let [_0x917f8d,_0x210b88]=(0x0,y[_0xc93910(0x4b2)])(!0x1),_0xfe04ed=(_0x1be213=_0x5a8c41[_0xc93910(0x42a)][_0xc93910(0x276)](_0x2d24da=>_0x2d24da['value']===_0x5a8c41['value']))==null?_0x5a8c41['options'][0x0]:_0x1be213;return(0x0,x[_0xc93910(0x4e3)])(v['Dropdown'],{'open':_0x917f8d,'onOpenChange':_0x210b88,'overlay':(0x0,x['jsx'])(_0xc93910(0x577),{'className':'univer-min-w-32\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-1\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','children':_0x5a8c41[_0xc93910(0x42a)][_0xc93910(0x567)](_0x1a180d=>(0x0,x[_0xc93910(0x511)])(_0xc93910(0x28f),{'type':_0xc93910(0x28f),'onClick':()=>{const _0x4a7fd8=_0xc93910;_0x5a8c41[_0x4a7fd8(0x215)](_0x1a180d[_0x4a7fd8(0x5e4)]),_0x210b88(!0x1);},'className':(0x0,v[_0xc93910(0x2c3)])(_0xc93910(0x1d8),{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x1a180d[_0xc93910(0x5e4)]===_0x5a8c41['value']}),'children':[(0x0,x[_0xc93910(0x4e3)])(_0xc93910(0x563),{'className':_0xc93910(0x423),'children':_0x1a180d['icon']}),(0x0,x['jsx'])(_0xc93910(0x563),{'className':_0xc93910(0x166),'children':_0x1a180d[_0xc93910(0x3dd)]})]},_0x1a180d[_0xc93910(0x5e4)]))}),'children':(0x0,x['jsx'])(_0xc93910(0x563),{'children':(0x0,x[_0xc93910(0x4e3)])(v['Tooltip'],{'title':_0x5a8c41[_0xc93910(0x1f3)],'placement':_0xc93910(0x4a5),'children':(0x0,x[_0xc93910(0x511)])(_0xc93910(0x28f),{'type':_0xc93910(0x28f),'className':(0x0,v[_0xc93910(0x2c3)])(_0xc93910(0x579),{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x917f8d}),'children':[_0xfe04ed[_0xc93910(0x445)],(0x0,x[_0xc93910(0x4e3)])(h[_0xc93910(0x242)],{'className':_0xc93910(0x4f5)})]})})})});}function ve(_0x150690){const _0x473e22=_0x3b6577;var _0x36f669,_0x45d137,_0x43791d,_0xae8fef,_0x2c0600,_0x528a93,_0x5d6359,_0x5b0815,_0x41f213,_0x3566da,_0x4df0f5,_0xc9ecbd,_0x167db9,_0x56396a,_0x20748d,_0x14649c,_0x386083,_0x5a7808,_0x467c74,_0x2931db,_0x2725a0;let _0x3f2159=_0x150690['popup'][_0x473e22(0x570)];if(!_0x3f2159)return null;let _0x5b654f=(0x0,g[_0x473e22(0x19e)])(u[_0x473e22(0x243)]),_0x458cd5=(0x0,g['useDependency'])(u[_0x473e22(0x1f5)]),_0x5160f0=(0x0,g['useDependency'])(l[_0x473e22(0x1fc)]),_0x197356=(0x0,g['useDependency'])(u[_0x473e22(0x58c)]),_0x583b0c=(0x0,g[_0x473e22(0x19e)])(u['IContextService']),_0x5aca15=(0x0,g[_0x473e22(0x19e)])(g['IFontService']),{unitId:_0x5cf109,subUnitId:_0x38c3ac,drawingId:_0x4ba3ce,shapeType:_0x44dc08}=_0x3f2159,[_0xbcdda6,_0x5ebc9d]=(0x0,y[_0x473e22(0x4b2)])(_0x3f2159[_0x473e22(0x5a2)]),[_0x5acf03,_0x54aea1]=(0x0,y[_0x473e22(0x4b2)])(!0x1),[_0x45155e,_0x48bc8a]=(0x0,y[_0x473e22(0x4b2)])(()=>_0x5aca15[_0x473e22(0x5d2)]()),_0x7ef924=(_0x36f669=_0x197356['getUnit'](_0x5cf109,u[_0x473e22(0x2f8)][_0x473e22(0x512)]))==null?void 0x0:_0x36f669,[_0x221477,_0x4b430a]=(0x0,y['useState'])(()=>de(_0x7ef924,_0x4ba3ce)),_0x52e1fb=(0x0,c[_0x473e22(0x448)])(_0x44dc08),_0x2232ee=(0x0,y[_0x473e22(0x523)])(()=>ue(_0xbcdda6),[_0xbcdda6]),_0x21db3b=(0x0,y[_0x473e22(0x523)])(()=>Q(_0xbcdda6),[_0xbcdda6]);(0x0,y[_0x473e22(0x531)])(()=>{const _0x2f489b=_0x473e22;let _0x41e4e0=_0x5b654f[_0x2f489b(0x19c)](_0x13eb74=>{const _0x49081f=_0x2f489b;if(_0x13eb74['id']!==l[_0x49081f(0x388)]['id'])return;let _0x1b3163=_0x5160f0[_0x49081f(0x573)](_0x5cf109,_0x38c3ac,_0x4ba3ce);_0x1b3163&&_0x5ebc9d(_0x1b3163);});return()=>_0x41e4e0['dispose']();},[_0x5b654f,_0x5160f0,_0x4ba3ce,_0x38c3ac,_0x5cf109]),(0x0,y['useEffect'])(()=>{const _0x2609e6=_0x473e22;let _0xd04342=_0x5aca15['fonts$']['subscribe'](_0x3791a3=>{_0x48bc8a(_0x3791a3);});return()=>_0xd04342[_0x2609e6(0x52b)]();},[_0x5aca15]);let _0x2ddd75=_0x3d7728=>{_0x5ebc9d(_0x3ee704=>({..._0x3ee704,..._0x3d7728}));},_0x1fbd0f=_0x56fd6b=>{const _0x337b97=_0x473e22;let _0x2b9a32=ce(_0xbcdda6,_0x56fd6b);z(_0x5b654f,_0x5cf109,_0x38c3ac,_0x4ba3ce,{'oldShapeData':{'shapeText':_0xbcdda6[_0x337b97(0x5c1)]}},_0x2b9a32),_0x2ddd75(_0x2b9a32);},_0x45c4bf=_0x155241=>{const _0x48d52d=_0x473e22;_0x4b430a(_0x155241),_0x5b654f[_0x48d52d(0x5e8)]('doc.command.update-doc-drawing-wrapping-style',{'unitId':_0x5cf109,'subUnitId':_0x38c3ac,'drawings':[{'unitId':_0x5cf109,'subUnitId':_0x38c3ac,'drawingId':_0x4ba3ce}],'wrappingStyle':_0x155241});};if(_0x5acf03)return null;let _0x55c22c=(_0x45d137=(_0x43791d=_0xbcdda6[_0x473e22(0x207)])==null?void 0x0:_0x43791d[_0x473e22(0x30f)])==null?'#3B82F6':_0x45d137,_0x5bdec5=(_0xae8fef=(_0x2c0600=_0xbcdda6[_0x473e22(0x2b6)])==null?void 0x0:_0x2c0600[_0x473e22(0x30f)])==null?_0x473e22(0x304):_0xae8fef,_0x5e2db5=(_0x528a93=(_0x5d6359=_0x2232ee['cl'])==null?void 0x0:_0x5d6359[_0x473e22(0x580)])==null?_0x473e22(0x4dd):_0x528a93,_0x667f05=(_0x5b0815=(_0x41f213=_0x2232ee['bg'])==null?void 0x0:_0x41f213['rgb'])==null?_0x473e22(0x3b8):_0x5b0815,_0x2d507b=(_0x3566da=_0x2232ee['ff'])==null?_0x473e22(0x547):_0x3566da,_0x4aafd1=(_0x4df0f5=_0x2232ee['fs'])==null?0xe:_0x4df0f5,_0x20e585=_0x2232ee['bl']===u['BooleanNumber'][_0x473e22(0x156)],_0x55f096=_0x2232ee['it']===u[_0x473e22(0x340)][_0x473e22(0x156)],_0x5d4ba5=((_0xc9ecbd=_0x2232ee['ul'])==null?void 0x0:_0xc9ecbd['s'])===u[_0x473e22(0x340)][_0x473e22(0x156)],_0x4e2881=((_0x167db9=_0x2232ee['st'])==null?void 0x0:_0x167db9['s'])===u[_0x473e22(0x340)][_0x473e22(0x156)],_0x2c4b32=_0x45155e['map'](_0x44414a=>({'label':_0x458cd5['t'](_0x44414a[_0x473e22(0x3dd)]),'value':_0x44414a[_0x473e22(0x5e4)]})),_0x46bdbb=g[_0x473e22(0x131)][_0x473e22(0x567)](_0x338e3d=>({'label':_0x338e3d['label'],'value':String(_0x338e3d[_0x473e22(0x5e4)])})),_0x3abdf1=(_0x56396a=_0x21db3b==null?void 0x0:_0x21db3b['ha'])==null?u[_0x473e22(0xf9)][_0x473e22(0x2c8)]:_0x56396a,_0x6c2cd2=(_0x20748d=_0x21db3b==null?void 0x0:_0x21db3b['va'])==null?u[_0x473e22(0x3d9)][_0x473e22(0x170)]:_0x20748d,_0xd900=[{'label':_0x458cd5['t'](_0x473e22(0x534)),'value':u[_0x473e22(0xf9)][_0x473e22(0x2c8)],'icon':(0x0,x[_0x473e22(0x4e3)])(h['LeftJustifyingIcon'],{})},{'label':_0x458cd5['t'](_0x473e22(0x359)),'value':u['HorizontalAlign']['CENTER'],'icon':(0x0,x[_0x473e22(0x4e3)])(h[_0x473e22(0x43f)],{})},{'label':_0x458cd5['t'](_0x473e22(0x4cb)),'value':u['HorizontalAlign'][_0x473e22(0x3df)],'icon':(0x0,x['jsx'])(h['RightJustifyingIcon'],{})},{'label':_0x458cd5['t'](_0x473e22(0x42c)),'value':u[_0x473e22(0xf9)][_0x473e22(0x39c)],'icon':(0x0,x[_0x473e22(0x4e3)])(h[_0x473e22(0x4ad)],{})}],_0x1a4591=[{'label':_0x458cd5['t'](_0x473e22(0x41c)),'value':u[_0x473e22(0x3d9)][_0x473e22(0x170)],'icon':(0x0,x[_0x473e22(0x4e3)])(h['AlignTopIcon'],{})},{'label':_0x458cd5['t']('docs-shape-ui.align.middle'),'value':u[_0x473e22(0x3d9)][_0x473e22(0x36b)],'icon':(0x0,x[_0x473e22(0x4e3)])(h[_0x473e22(0x527)],{})},{'label':_0x458cd5['t'](_0x473e22(0x1c2)),'value':u[_0x473e22(0x3d9)][_0x473e22(0x3c5)],'icon':(0x0,x[_0x473e22(0x4e3)])(h[_0x473e22(0x16b)],{})}],_0x28b338=[{'label':_0x458cd5['t']('docs-shape-ui.textWrap.inline'),'value':'inline','icon':(0x0,x['jsx'])(pe,{})},{'label':_0x458cd5['t']('docs-shape-ui.textWrap.square'),'value':_0x473e22(0x1e9),'icon':(0x0,x[_0x473e22(0x4e3)])(pe,{})},{'label':_0x458cd5['t']('docs-shape-ui.textWrap.topAndBottom'),'value':_0x473e22(0x11f),'icon':(0x0,x[_0x473e22(0x4e3)])(pe,{})},{'label':_0x458cd5['t'](_0x473e22(0x505)),'value':'behindText','icon':(0x0,x[_0x473e22(0x4e3)])(pe,{})},{'label':_0x458cd5['t']('docs-shape-ui.textWrap.inFrontText'),'value':_0x473e22(0x291),'icon':(0x0,x[_0x473e22(0x4e3)])(pe,{})}];return(0x0,x[_0x473e22(0x511)])(_0x473e22(0x577),{'data-u-comp':_0x473e22(0x227),'onMouseDown':_0x126ea7=>{const _0x11a2db=_0x473e22;_0x126ea7[_0x11a2db(0x488)](),me(_0x126ea7['target'])||_0x126ea7[_0x11a2db(0x204)]();},'className':(0x0,v[_0x473e22(0x2c3)])('univer-box-border\x20univer-flex\x20univer-max-w-[760px]\x20univer-flex-wrap\x20univer-items-center\x20univer-rounded\x20univer-bg-white\x20univer-px-1\x20univer-py-1\x20univer-shadow-sm\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900',v['borderClassName']),'children':[(0x0,x[_0x473e22(0x511)])($,{'compact':!0x0,'children':[(0x0,x['jsx'])(ge,{'title':_0x458cd5['t'](_0x473e22(0x48a)),'color':_0x55c22c,'disabled':_0x52e1fb,'onChange':_0xbd308d=>{const _0x425d78=_0x473e22;let _0x1f40fb={'fill':{..._0xbcdda6['fill'],'fillType':c[_0x425d78(0x4c9)][_0x425d78(0x1db)],'color':_0xbd308d}};z(_0x5b654f,_0x5cf109,_0x38c3ac,_0x4ba3ce,{'oldShapeData':{'fill':_0xbcdda6[_0x425d78(0x207)]}},_0x1f40fb),_0x2ddd75(_0x1f40fb);},'children':(0x0,x[_0x473e22(0x4e3)])(h[_0x473e22(0x2ab)],{'extend':{'colorChannel1':_0x55c22c}})}),(0x0,x[_0x473e22(0x4e3)])(ge,{'title':_0x458cd5['t']('docs-shape-ui.line.title'),'color':_0x5bdec5,'onChange':_0x48c0f3=>{const _0x10ee10=_0x473e22;let _0x510b93={'stroke':{..._0xbcdda6[_0x10ee10(0x2b6)],'lineStrokeType':c[_0x10ee10(0x526)][_0x10ee10(0x315)],'color':_0x48c0f3}};z(_0x5b654f,_0x5cf109,_0x38c3ac,_0x4ba3ce,{'oldShapeData':{'stroke':_0xbcdda6['stroke']}},_0x510b93),_0x2ddd75(_0x510b93);},'children':(0x0,x[_0x473e22(0x4e3)])(h[_0x473e22(0x35f)],{})})]}),(0x0,x['jsx'])(fe,{}),(0x0,x[_0x473e22(0x511)])($,{'children':[(0x0,x[_0x473e22(0x4e3)])(v[_0x473e22(0x4af)],{'className':_0x473e22(0x118),'value':_0x2d507b,'options':_0x2c4b32,'onChange':_0x42974c=>_0x1fbd0f({'textStyle':{'ff':String(_0x42974c)}})}),(0x0,x[_0x473e22(0x4e3)])(v['Select'],{'className':_0x473e22(0x5c8),'value':String(_0x4aafd1),'options':_0x46bdbb,'onChange':_0x4c5619=>{const _0x2887ac=_0x473e22;let _0x4a2cf5=Number(_0x4c5619);Number[_0x2887ac(0x472)](_0x4a2cf5)||_0x1fbd0f({'textStyle':{'fs':_0x4a2cf5}}),_0x583b0c[_0x2887ac(0x449)](u[_0x2887ac(0x42e)],!0x1);}})]}),(0x0,x[_0x473e22(0x4e3)])(fe,{}),(0x0,x[_0x473e22(0x511)])($,{'compact':!0x0,'children':[(0x0,x[_0x473e22(0x4e3)])(he,{'title':_0x458cd5['t'](_0x473e22(0x45c)),'active':_0x20e585,'onClick':()=>_0x1fbd0f({'textStyle':{'bl':_0x20e585?u[_0x473e22(0x340)][_0x473e22(0x20e)]:u['BooleanNumber'][_0x473e22(0x156)]}}),'children':(0x0,x[_0x473e22(0x4e3)])(h['BoldIcon'],{})}),(0x0,x[_0x473e22(0x4e3)])(he,{'title':_0x458cd5['t'](_0x473e22(0x557)),'active':_0x55f096,'onClick':()=>_0x1fbd0f({'textStyle':{'it':_0x55f096?u[_0x473e22(0x340)][_0x473e22(0x20e)]:u[_0x473e22(0x340)][_0x473e22(0x156)]}}),'children':(0x0,x[_0x473e22(0x4e3)])(h[_0x473e22(0x478)],{})}),(0x0,x[_0x473e22(0x4e3)])(he,{'title':_0x458cd5['t']('docs-shape-ui.toolbar.underline'),'active':_0x5d4ba5,'onClick':()=>_0x1fbd0f({'textStyle':{'ul':{'s':_0x5d4ba5?u[_0x473e22(0x340)]['FALSE']:u[_0x473e22(0x340)]['TRUE']}}}),'children':(0x0,x['jsx'])(h[_0x473e22(0x596)],{})}),(0x0,x['jsx'])(he,{'title':_0x458cd5['t'](_0x473e22(0x54d)),'active':_0x4e2881,'onClick':()=>_0x1fbd0f({'textStyle':{'st':{'s':_0x4e2881?u[_0x473e22(0x340)][_0x473e22(0x20e)]:u['BooleanNumber']['TRUE']}}}),'children':(0x0,x[_0x473e22(0x4e3)])(h[_0x473e22(0x37e)],{})})]}),(0x0,x[_0x473e22(0x4e3)])(fe,{}),(0x0,x[_0x473e22(0x511)])($,{'compact':!0x0,'children':[(0x0,x[_0x473e22(0x4e3)])(ge,{'title':_0x458cd5['t'](_0x473e22(0x323)),'color':_0x5e2db5,'onChange':_0x307b4e=>_0x1fbd0f({'textStyle':{'cl':{'rgb':_0x307b4e}}}),'children':(0x0,x['jsx'])(h['FontColorDoubleIcon'],{'extend':{'colorChannel1':_0x5e2db5}})}),(0x0,x['jsx'])(ge,{'title':_0x458cd5['t']('docs-shape-ui.toolbar.fillColor'),'color':_0x667f05,'onChange':_0x207a35=>_0x1fbd0f({'textStyle':{'bg':{'rgb':_0x207a35}}}),'children':(0x0,x[_0x473e22(0x4e3)])(h[_0x473e22(0x2ab)],{'extend':{'colorChannel1':_0x667f05}})})]}),(0x0,x['jsx'])(fe,{}),(0x0,x['jsxs'])($,{'compact':!0x0,'children':[(0x0,x[_0x473e22(0x4e3)])(_e,{'title':(_0x14649c=(_0x386083=_0xd900[_0x473e22(0x276)](_0x4916d3=>_0x4916d3[_0x473e22(0x5e4)]===_0x3abdf1))==null?void 0x0:_0x386083[_0x473e22(0x3dd)])==null?_0x458cd5['t']('docs-shape-ui.toolbar.alignLeft'):_0x14649c,'value':_0x3abdf1,'options':_0xd900,'onChange':_0x3435c1=>_0x1fbd0f({'horizontalAlign':_0x3435c1})}),(0x0,x[_0x473e22(0x4e3)])(_e,{'title':(_0x5a7808=(_0x467c74=_0x1a4591[_0x473e22(0x276)](_0x32ceb3=>_0x32ceb3[_0x473e22(0x5e4)]===_0x6c2cd2))==null?void 0x0:_0x467c74[_0x473e22(0x3dd)])==null?_0x458cd5['t'](_0x473e22(0x41c)):_0x5a7808,'value':_0x6c2cd2,'options':_0x1a4591,'onChange':_0x3e2477=>_0x1fbd0f({'verticalAlign':_0x3e2477})})]}),(0x0,x[_0x473e22(0x4e3)])(fe,{}),(0x0,x['jsx'])($,{'compact':!0x0,'children':(0x0,x[_0x473e22(0x4e3)])(_e,{'title':(_0x2931db=(_0x2725a0=_0x28b338[_0x473e22(0x276)](_0x358dc4=>_0x358dc4[_0x473e22(0x5e4)]===_0x221477))==null?void 0x0:_0x2725a0['label'])==null?_0x458cd5['t']('docs-shape-ui.textWrap.inline'):_0x2931db,'value':_0x221477,'options':_0x28b338,'onChange':_0x45c4bf})}),(0x0,x[_0x473e22(0x4e3)])(fe,{}),(0x0,x['jsxs'])($,{'compact':!0x0,'children':[(0x0,x['jsx'])(he,{'title':_0x458cd5['t'](_0x473e22(0xe7)),'onClick':()=>{const _0x356f78=_0x473e22;_0x54aea1(!0x0),_0x5b654f[_0x356f78(0x5e8)](M['id'],{'unitId':_0x5cf109,'subUnitId':_0x38c3ac,'drawingId':_0x4ba3ce});},'children':(0x0,x[_0x473e22(0x4e3)])(h['DocSettingIcon'],{})}),(0x0,x['jsx'])(he,{'title':_0x458cd5['t'](_0x473e22(0x1ea)),'onClick':()=>{const _0x1f10ec=_0x473e22;_0x5b654f[_0x1f10ec(0x5e8)](d[_0x1f10ec(0x385)]['id'],{'unitId':_0x5cf109,'drawings':[{'unitId':_0x5cf109,'subUnitId':_0x38c3ac,'drawingId':_0x4ba3ce}]});},'children':(0x0,x[_0x473e22(0x4e3)])(h['DeleteIcon'],{})})]})]});}let ye=class extends u['Disposable']{constructor(_0x2404f7,_0x1a1321){const _0x42b299=_0x3b6577;super(),this[_0x42b299(0x4b8)]=_0x2404f7,this[_0x42b299(0x3f4)]=_0x1a1321,this[_0x42b299(0x3bb)](),this[_0x42b299(0x4b8)][_0x42b299(0x3c6)](!0x0),this[_0x42b299(0x21f)]({'dispose':()=>this[_0x42b299(0x4b8)][_0x42b299(0x3c6)](!0x1)});}[_0x3b6577(0x3bb)](){const _0x4fa07f=_0x3b6577;let _0x2f379b=new Map(),_0x4737e5=this['_clipService'][_0x4fa07f(0x3d5)]((_0x5cad30,_0x35cb5b,_0x3cc494,_0x42f293,_0x40b963)=>{const _0x3502ec=_0x4fa07f;let _0x58d5e4=_0x35cb5b;if(_0x58d5e4===c[_0x3502ec(0x2df)]['None']||_0x35cb5b===_0x3502ec(0x2c4))return!0x1;try{let _0x6c8c5a=_0x2f379b[_0x3502ec(0x272)](_0x35cb5b);return _0x6c8c5a||(_0x6c8c5a=new c['ShapeModel'](_0x58d5e4,_0x3502ec(0x487)+_0x35cb5b),_0x2f379b[_0x3502ec(0x34d)](_0x35cb5b,_0x6c8c5a)),_0x40b963&&_0x6c8c5a[_0x3502ec(0x562)]({'adjustValues':_0x40b963},!0x0),_0x6c8c5a[_0x3502ec(0x105)]({'width':_0x3cc494,'height':_0x42f293}),_0x6c8c5a[_0x3502ec(0x21e)](_0x5cad30,{'left':0x0,'top':0x0,'width':_0x3cc494,'height':_0x42f293});}catch{return!0x1;}});this[_0x4fa07f(0x21f)](_0x4737e5),this[_0x4fa07f(0x21f)]({'dispose':()=>_0x2f379b['clear']()});}[_0x3b6577(0x595)](_0x3b5bdb,_0x42afa4,_0xc90b3,_0x1b92aa,_0x4e3121){const _0x521e54=_0x3b6577;let _0x474ba9=this[_0x521e54(0x3f4)]['getDrawingData'](_0x3b5bdb,_0x42afa4)[_0xc90b3];!_0x474ba9||_0x474ba9[_0x521e54(0xea)]!==u[_0x521e54(0x400)][_0x521e54(0x251)]||this[_0x521e54(0x3f4)][_0x521e54(0x50a)]([{..._0x474ba9,'prstGeom':_0x1b92aa,'adjustValues':_0x4e3121}]);}};ye=W([U(0x0,(0x0,u[_0x3b6577(0x192)])(b[_0x3b6577(0x2fc)])),U(0x1,(0x0,u['Inject'])(m[_0x3b6577(0x539)]))],ye);const be=[{'group':'line','type':c[_0x3b6577(0x2df)][_0x3b6577(0x59b)],'icon':_0x3b6577(0x35f),'name':'docs-shape-ui.shape.type.line'},{'group':_0x3b6577(0x1f6),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x1e3)],'icon':_0x3b6577(0x508),'name':_0x3b6577(0x442),'endArrow':!0x0},{'group':_0x3b6577(0x1f6),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x1e3)],'icon':'ShapeStraightConnector2Icon','name':'docs-shape-ui.shape.type.straight-connector2','endArrow':!0x0,'startArrow':!0x0},{'group':_0x3b6577(0x1f6),'type':c['ShapeTypeEnum'][_0x3b6577(0x544)],'icon':_0x3b6577(0x33a),'name':_0x3b6577(0x2ac)},{'group':'line','type':c[_0x3b6577(0x2df)][_0x3b6577(0x544)],'icon':_0x3b6577(0x1f1),'name':_0x3b6577(0x134),'endArrow':!0x0},{'group':_0x3b6577(0x1f6),'type':c['ShapeTypeEnum']['BentConnector3'],'icon':_0x3b6577(0x14e),'name':'docs-shape-ui.shape.type.bent-connector3-arrow2','endArrow':!0x0,'startArrow':!0x0},{'group':_0x3b6577(0x1f6),'type':c[_0x3b6577(0x2df)]['CurvedConnector3'],'icon':_0x3b6577(0x115),'name':'docs-shape-ui.shape.type.curved-connector3'},{'group':_0x3b6577(0x1f6),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x3ba)],'icon':_0x3b6577(0x459),'name':_0x3b6577(0x3f5),'endArrow':!0x0},{'group':_0x3b6577(0x1f6),'type':c[_0x3b6577(0x2df)]['CurvedConnector3'],'icon':'ShapeCurvedConnector3Arrow2Icon','name':_0x3b6577(0xf6),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x3b6577(0x50c),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x54c)],'icon':_0x3b6577(0x3d4),'name':'docs-shape-ui.shape.type.rect'},{'group':_0x3b6577(0x50c),'type':c['ShapeTypeEnum']['RoundRect'],'icon':_0x3b6577(0x28c),'name':_0x3b6577(0x261)},{'group':_0x3b6577(0x50c),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x3f1)],'icon':_0x3b6577(0x29b),'name':_0x3b6577(0x211)},{'group':_0x3b6577(0x50c),'type':c['ShapeTypeEnum'][_0x3b6577(0x3ae)],'icon':'ShapeSnip2SameRectIcon','name':'docs-shape-ui.shape.type.snip2-same-rect'},{'group':'rectangle','type':c['ShapeTypeEnum'][_0x3b6577(0x3f0)],'icon':'ShapeSnip2DiagRectIcon','name':_0x3b6577(0x1bb)},{'group':_0x3b6577(0x50c),'type':c['ShapeTypeEnum']['SnipRoundRect'],'icon':_0x3b6577(0x51a),'name':_0x3b6577(0x1ad)},{'group':_0x3b6577(0x50c),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x584)],'icon':'ShapeRound1RectIcon','name':'docs-shape-ui.shape.type.round1-rect'},{'group':'rectangle','type':c[_0x3b6577(0x2df)][_0x3b6577(0x23f)],'icon':_0x3b6577(0x46a),'name':'docs-shape-ui.shape.type.round2-same-rect'},{'group':'rectangle','type':c[_0x3b6577(0x2df)]['Round2DiagRect'],'icon':_0x3b6577(0x5b1),'name':_0x3b6577(0x27c)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x54c)],'icon':_0x3b6577(0x16a),'name':_0x3b6577(0x162),'horizontal':!0x0},{'group':'basicShape','type':c[_0x3b6577(0x2df)][_0x3b6577(0x54c)],'icon':_0x3b6577(0x5ad),'name':'docs-shape-ui.shape.type.rect-textbox-vertical','vertical':!0x0},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)]['Ellipse'],'icon':_0x3b6577(0x3d7),'name':'docs-shape-ui.shape.type.ellipse'},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x24c)],'icon':_0x3b6577(0x275),'name':'docs-shape-ui.shape.type.triangle'},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x38e)],'icon':_0x3b6577(0x357),'name':'docs-shape-ui.shape.type.rt-triangle'},{'group':_0x3b6577(0x294),'type':c['ShapeTypeEnum'][_0x3b6577(0x198)],'icon':_0x3b6577(0x327),'name':_0x3b6577(0x5bf)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)]['Trapezoid'],'icon':_0x3b6577(0x164),'name':_0x3b6577(0x57e)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x4e7)],'icon':'ShapeDiamondIcon','name':'docs-shape-ui.shape.type.diamond'},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x3b9)],'icon':_0x3b6577(0x4fc),'name':_0x3b6577(0x268)},{'group':_0x3b6577(0x294),'type':c['ShapeTypeEnum']['Hexagon'],'icon':_0x3b6577(0x437),'name':'docs-shape-ui.shape.type.hexagon'},{'group':'basicShape','type':c[_0x3b6577(0x2df)]['Heptagon'],'icon':_0x3b6577(0x4a9),'name':_0x3b6577(0x398)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x1d2)],'icon':_0x3b6577(0x38f),'name':_0x3b6577(0x3cf)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x235)],'icon':_0x3b6577(0x2e1),'name':_0x3b6577(0x17c)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)]['Dodecagon'],'icon':_0x3b6577(0x138),'name':'docs-shape-ui.shape.type.dodecagon'},{'group':_0x3b6577(0x294),'type':c['ShapeTypeEnum'][_0x3b6577(0x561)],'icon':_0x3b6577(0x441),'name':'docs-shape-ui.shape.type.pie'},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)]['Chord'],'icon':'ShapeChordIcon','name':_0x3b6577(0x1df)},{'group':_0x3b6577(0x294),'type':c['ShapeTypeEnum'][_0x3b6577(0x3b0)],'icon':_0x3b6577(0x3f7),'name':'docs-shape-ui.shape.type.teardrop'},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x16e)],'icon':_0x3b6577(0x203),'name':_0x3b6577(0x5b0)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x3b1)],'icon':_0x3b6577(0x145),'name':_0x3b6577(0x3e5)},{'group':'basicShape','type':c[_0x3b6577(0x2df)]['Corner'],'icon':'ShapeCornerIcon','name':_0x3b6577(0xf0)},{'group':'basicShape','type':c[_0x3b6577(0x2df)]['DiagStripe'],'icon':'ShapeDiagStripeIcon','name':_0x3b6577(0x3e1)},{'group':'basicShape','type':c['ShapeTypeEnum'][_0x3b6577(0x495)],'icon':'ShapePlusIcon','name':_0x3b6577(0x302)},{'group':'basicShape','type':c[_0x3b6577(0x2df)][_0x3b6577(0x15b)],'icon':_0x3b6577(0x4de),'name':_0x3b6577(0x2b4)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)]['Can'],'icon':'ShapeCanIcon','name':_0x3b6577(0x1b5)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x3a1)],'icon':'ShapeCubeIcon','name':_0x3b6577(0x4da)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)]['Bevel'],'icon':_0x3b6577(0x247),'name':_0x3b6577(0x23b)},{'group':_0x3b6577(0x294),'type':c['ShapeTypeEnum']['Donut'],'icon':_0x3b6577(0x41b),'name':_0x3b6577(0x144)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x2e9)],'icon':_0x3b6577(0x3d0),'name':'docs-shape-ui.shape.type.no-smoking'},{'group':_0x3b6577(0x294),'type':c['ShapeTypeEnum'][_0x3b6577(0x1b2)],'icon':_0x3b6577(0xee),'name':'docs-shape-ui.shape.type.block-arc'},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0xfb)],'icon':_0x3b6577(0x161),'name':_0x3b6577(0x109)},{'group':_0x3b6577(0x294),'type':c['ShapeTypeEnum'][_0x3b6577(0x4c6)],'icon':'ShapeSmileyFaceIcon','name':_0x3b6577(0x159)},{'group':_0x3b6577(0x294),'type':c['ShapeTypeEnum'][_0x3b6577(0x3a4)],'icon':_0x3b6577(0x5d5),'name':_0x3b6577(0x3bf)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)]['LightningBolt'],'icon':'ShapeLightningBoltIcon','name':_0x3b6577(0x4b9)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x2dc)],'icon':_0x3b6577(0x324),'name':_0x3b6577(0x12e)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x501)],'icon':_0x3b6577(0x193),'name':'docs-shape-ui.shape.type.moon'},{'group':'basicShape','type':c['ShapeTypeEnum'][_0x3b6577(0x4fa)],'icon':_0x3b6577(0x44d),'name':_0x3b6577(0x100)},{'group':_0x3b6577(0x294),'type':c['ShapeTypeEnum'][_0x3b6577(0x2fb)],'icon':_0x3b6577(0x141),'name':'docs-shape-ui.shape.type.arc'},{'group':_0x3b6577(0x294),'type':c['ShapeTypeEnum']['BracketPair'],'icon':'ShapeBracketPairIcon','name':_0x3b6577(0x59d)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)]['BracePair'],'icon':'ShapeBracePairIcon','name':_0x3b6577(0x39b)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x546)],'icon':_0x3b6577(0x2e5),'name':_0x3b6577(0x2e8)},{'group':'basicShape','type':c[_0x3b6577(0x2df)][_0x3b6577(0x2e0)],'icon':_0x3b6577(0x301),'name':_0x3b6577(0x253)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x4f6)],'icon':_0x3b6577(0x14b),'name':_0x3b6577(0x40d)},{'group':_0x3b6577(0x294),'type':c[_0x3b6577(0x2df)]['RightBrace'],'icon':_0x3b6577(0x299),'name':_0x3b6577(0x461)},{'group':_0x3b6577(0x3ab),'type':c['ShapeTypeEnum'][_0x3b6577(0x591)],'icon':_0x3b6577(0x236),'name':_0x3b6577(0x412)},{'group':_0x3b6577(0x3ab),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x332)],'icon':_0x3b6577(0x23e),'name':'docs-shape-ui.shape.type.left-arrow'},{'group':_0x3b6577(0x3ab),'type':c[_0x3b6577(0x2df)]['UpArrow'],'icon':_0x3b6577(0x418),'name':_0x3b6577(0x416)},{'group':_0x3b6577(0x3ab),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x15e)],'icon':_0x3b6577(0x28e),'name':_0x3b6577(0x265)},{'group':'blockArrow','type':c[_0x3b6577(0x2df)][_0x3b6577(0x5e3)],'icon':'ShapeLeftRightArrowIcon','name':'docs-shape-ui.shape.type.left-right-arrow'},{'group':'blockArrow','type':c[_0x3b6577(0x2df)][_0x3b6577(0x216)],'icon':'ShapeUpDownArrowIcon','name':_0x3b6577(0x50d)},{'group':_0x3b6577(0x3ab),'type':c['ShapeTypeEnum'][_0x3b6577(0x2d3)],'icon':_0x3b6577(0x5a7),'name':_0x3b6577(0x52e)},{'group':_0x3b6577(0x3ab),'type':c[_0x3b6577(0x2df)]['LeftRightUpArrow'],'icon':_0x3b6577(0x599),'name':_0x3b6577(0x1e5)},{'group':'blockArrow','type':c[_0x3b6577(0x2df)][_0x3b6577(0x2cb)],'icon':_0x3b6577(0x12f),'name':_0x3b6577(0x586)},{'group':_0x3b6577(0x3ab),'type':c[_0x3b6577(0x2df)]['UturnArrow'],'icon':_0x3b6577(0x2d5),'name':_0x3b6577(0x197)},{'group':'blockArrow','type':c[_0x3b6577(0x2df)][_0x3b6577(0x2f4)],'icon':'ShapeLeftUpArrowIcon','name':'docs-shape-ui.shape.type.left-up-arrow'},{'group':_0x3b6577(0x3ab),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x4d6)],'icon':_0x3b6577(0x433),'name':_0x3b6577(0x206)},{'group':_0x3b6577(0x3ab),'type':c['ShapeTypeEnum'][_0x3b6577(0x5cb)],'icon':_0x3b6577(0x3f6),'name':_0x3b6577(0x2da)},{'group':_0x3b6577(0x3ab),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x381)],'icon':_0x3b6577(0x1d1),'name':_0x3b6577(0x119)},{'group':'blockArrow','type':c['ShapeTypeEnum'][_0x3b6577(0x3de)],'icon':_0x3b6577(0x4f0),'name':'docs-shape-ui.shape.type.curved-up-arrow'},{'group':_0x3b6577(0x3ab),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x18b)],'icon':_0x3b6577(0x219),'name':'docs-shape-ui.shape.type.curved-down-arrow'},{'group':_0x3b6577(0x3ab),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x2cf)],'icon':_0x3b6577(0x417),'name':'docs-shape-ui.shape.type.striped-right-arrow'},{'group':'blockArrow','type':c[_0x3b6577(0x2df)][_0x3b6577(0x353)],'icon':_0x3b6577(0x19f),'name':_0x3b6577(0x569)},{'group':_0x3b6577(0x3ab),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x139)],'icon':_0x3b6577(0x48f),'name':_0x3b6577(0x103)},{'group':'blockArrow','type':c['ShapeTypeEnum'][_0x3b6577(0x22e)],'icon':_0x3b6577(0x476),'name':_0x3b6577(0x104)},{'group':_0x3b6577(0x3ab),'type':c[_0x3b6577(0x2df)]['RightArrowCallout'],'icon':_0x3b6577(0x5e7),'name':_0x3b6577(0x330)},{'group':_0x3b6577(0x3ab),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x202)],'icon':_0x3b6577(0x40b),'name':'docs-shape-ui.shape.type.down-arrow-callout'},{'group':_0x3b6577(0x3ab),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x5cf)],'icon':_0x3b6577(0x20c),'name':_0x3b6577(0x172)},{'group':_0x3b6577(0x3ab),'type':c['ShapeTypeEnum'][_0x3b6577(0x2b5)],'icon':_0x3b6577(0x509),'name':_0x3b6577(0x399)},{'group':_0x3b6577(0x3ab),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x450)],'icon':_0x3b6577(0x45a),'name':_0x3b6577(0x237)},{'group':_0x3b6577(0x3ab),'type':c['ShapeTypeEnum'][_0x3b6577(0x515)],'icon':_0x3b6577(0x1c4),'name':'docs-shape-ui.shape.type.quad-arrow-callout'},{'group':_0x3b6577(0x3ab),'type':c[_0x3b6577(0x2df)]['CircularArrow'],'icon':_0x3b6577(0x210),'name':_0x3b6577(0x543)},{'group':_0x3b6577(0x524),'type':c[_0x3b6577(0x2df)][_0x3b6577(0xfd)],'icon':_0x3b6577(0x127),'name':_0x3b6577(0x1c0)},{'group':_0x3b6577(0x524),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x222)],'icon':'ShapeMathMinusIcon','name':_0x3b6577(0x2bf)},{'group':_0x3b6577(0x524),'type':c['ShapeTypeEnum']['MathMultiply'],'icon':_0x3b6577(0x3ce),'name':'docs-shape-ui.shape.type.math-multiply'},{'group':_0x3b6577(0x524),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x4e8)],'icon':'ShapeMathDivideIcon','name':'docs-shape-ui.shape.type.math-divide'},{'group':_0x3b6577(0x524),'type':c['ShapeTypeEnum'][_0x3b6577(0x354)],'icon':'ShapeMathEqualIcon','name':_0x3b6577(0x4ae)},{'group':_0x3b6577(0x524),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x3f3)],'icon':_0x3b6577(0x209),'name':'docs-shape-ui.shape.type.math-not-equal'},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)]['FlowchartProcess'],'icon':'ShapeFlowChartProcessIcon','name':_0x3b6577(0x37d)},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)]['FlowchartAlternateProcess'],'icon':_0x3b6577(0x390),'name':_0x3b6577(0x262)},{'group':'flowchart','type':c[_0x3b6577(0x2df)][_0x3b6577(0x2b1)],'icon':_0x3b6577(0x477),'name':'docs-shape-ui.shape.type.flow-chart-decision'},{'group':_0x3b6577(0x528),'type':c['ShapeTypeEnum'][_0x3b6577(0x1f7)],'icon':_0x3b6577(0x32f),'name':_0x3b6577(0x18d)},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x1ed)],'icon':_0x3b6577(0x168),'name':_0x3b6577(0x555)},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x594)],'icon':_0x3b6577(0x40f),'name':'docs-shape-ui.shape.type.flow-chart-internal-storage'},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x2d1)],'icon':_0x3b6577(0x3a0),'name':_0x3b6577(0x3d3)},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x473)],'icon':'ShapeFlowChartMultidocumentIcon','name':_0x3b6577(0x306)},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x597)],'icon':_0x3b6577(0x2bc),'name':_0x3b6577(0x386)},{'group':'flowchart','type':c['ShapeTypeEnum'][_0x3b6577(0x339)],'icon':_0x3b6577(0x490),'name':_0x3b6577(0x2c1)},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x280)],'icon':'ShapeFlowChartManualInputIcon','name':_0x3b6577(0x4bb)},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x11c)],'icon':_0x3b6577(0x2dd),'name':_0x3b6577(0x5ec)},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x5b5)],'icon':_0x3b6577(0x179),'name':_0x3b6577(0x2db)},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x21a)],'icon':'ShapeFlowChartOffpageConnectorIcon','name':_0x3b6577(0x3e4)},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x38a)],'icon':_0x3b6577(0x2d6),'name':'docs-shape-ui.shape.type.flow-chart-punched-card'},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x55f)],'icon':_0x3b6577(0x554),'name':_0x3b6577(0x2f3)},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x43b)],'icon':'ShapeFlowChartSummingJunctionIcon','name':'docs-shape-ui.shape.type.flow-chart-summing-junction'},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x19b)],'icon':'ShapeFlowChartOrIcon','name':_0x3b6577(0x2ef)},{'group':_0x3b6577(0x528),'type':c['ShapeTypeEnum'][_0x3b6577(0x2ce)],'icon':_0x3b6577(0x1b7),'name':_0x3b6577(0x35e)},{'group':_0x3b6577(0x528),'type':c['ShapeTypeEnum']['FlowchartSort'],'icon':_0x3b6577(0x53b),'name':'docs-shape-ui.shape.type.flow-chart-sort'},{'group':_0x3b6577(0x528),'type':c['ShapeTypeEnum']['FlowchartExtract'],'icon':_0x3b6577(0xd3),'name':_0x3b6577(0x45f)},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x33c)],'icon':_0x3b6577(0xce),'name':_0x3b6577(0x229)},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)]['FlowchartOnlineStorage'],'icon':'ShapeFlowChartOnlineStorageIcon','name':'docs-shape-ui.shape.type.flow-chart-online-storage'},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x176)],'icon':'ShapeFlowChartDelayIcon','name':_0x3b6577(0x2c2)},{'group':'flowchart','type':c['ShapeTypeEnum'][_0x3b6577(0x1d9)],'icon':_0x3b6577(0x553),'name':_0x3b6577(0x1cd)},{'group':_0x3b6577(0x528),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x290)],'icon':_0x3b6577(0x4fd),'name':'docs-shape-ui.shape.type.flow-chart-magnetic-disk'},{'group':'flowchart','type':c[_0x3b6577(0x2df)][_0x3b6577(0x4fb)],'icon':_0x3b6577(0x1bd),'name':_0x3b6577(0x413)},{'group':'flowchart','type':c[_0x3b6577(0x2df)][_0x3b6577(0x533)],'icon':_0x3b6577(0x1a1),'name':'docs-shape-ui.shape.type.flow-chart-display'},{'group':_0x3b6577(0x34e),'type':c['ShapeTypeEnum'][_0x3b6577(0x408)],'icon':_0x3b6577(0xf3),'name':_0x3b6577(0x27a)},{'group':_0x3b6577(0x34e),'type':c['ShapeTypeEnum']['IrregularSeal2'],'icon':_0x3b6577(0x564),'name':'docs-shape-ui.shape.type.irregular-seal2'},{'group':_0x3b6577(0x34e),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x3f2)],'icon':_0x3b6577(0x3e2),'name':_0x3b6577(0x16d)},{'group':_0x3b6577(0x34e),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x525)],'icon':'ShapeStar5Icon','name':_0x3b6577(0x3b5)},{'group':'starAndBanner','type':c['ShapeTypeEnum'][_0x3b6577(0xe9)],'icon':'ShapeStar6Icon','name':_0x3b6577(0x169)},{'group':'starAndBanner','type':c[_0x3b6577(0x2df)][_0x3b6577(0x132)],'icon':'ShapeStar7Icon','name':_0x3b6577(0x5ed)},{'group':_0x3b6577(0x34e),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x4db)],'icon':_0x3b6577(0x582),'name':_0x3b6577(0x4c1)},{'group':_0x3b6577(0x34e),'type':c['ShapeTypeEnum'][_0x3b6577(0x5bb)],'icon':_0x3b6577(0x4c0),'name':'docs-shape-ui.shape.type.star10'},{'group':_0x3b6577(0x34e),'type':c[_0x3b6577(0x2df)][_0x3b6577(0xff)],'icon':_0x3b6577(0x5ba),'name':_0x3b6577(0x5e5)},{'group':_0x3b6577(0x34e),'type':c['ShapeTypeEnum'][_0x3b6577(0x20f)],'icon':_0x3b6577(0x405),'name':'docs-shape-ui.shape.type.star16'},{'group':_0x3b6577(0x34e),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x4c2)],'icon':'ShapeStar24Icon','name':_0x3b6577(0x396)},{'group':'starAndBanner','type':c[_0x3b6577(0x2df)][_0x3b6577(0x1b9)],'icon':'ShapeStar32Icon','name':_0x3b6577(0x55e)},{'group':_0x3b6577(0x34e),'type':c['ShapeTypeEnum'][_0x3b6577(0x384)],'icon':_0x3b6577(0x350),'name':'docs-shape-ui.shape.type.ribbon2'},{'group':_0x3b6577(0x34e),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x3a9)],'icon':_0x3b6577(0x342),'name':_0x3b6577(0x401)},{'group':_0x3b6577(0x34e),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x520)],'icon':_0x3b6577(0x2c5),'name':_0x3b6577(0x173)},{'group':_0x3b6577(0x34e),'type':c[_0x3b6577(0x2df)]['EllipseRibbon'],'icon':_0x3b6577(0x25f),'name':_0x3b6577(0x2e6)},{'group':_0x3b6577(0x34e),'type':c['ShapeTypeEnum'][_0x3b6577(0x51e)],'icon':_0x3b6577(0x245),'name':_0x3b6577(0x29e)},{'group':_0x3b6577(0x34e),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x137)],'icon':'ShapeHorizontalScrollIcon','name':'docs-shape-ui.shape.type.horizontal-scroll'},{'group':_0x3b6577(0x34e),'type':c['ShapeTypeEnum'][_0x3b6577(0x55b)],'icon':_0x3b6577(0x446),'name':_0x3b6577(0x3be)},{'group':_0x3b6577(0x34e),'type':c[_0x3b6577(0x2df)]['DoubleWave'],'icon':_0x3b6577(0x382),'name':_0x3b6577(0x4bc)},{'group':'callout','type':c[_0x3b6577(0x2df)][_0x3b6577(0x320)],'icon':_0x3b6577(0x3a6),'name':_0x3b6577(0x4a1)},{'group':_0x3b6577(0x2e3),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x58b)],'icon':_0x3b6577(0x2b7),'name':_0x3b6577(0x440)},{'group':_0x3b6577(0x2e3),'type':c[_0x3b6577(0x2df)]['WedgeEllipseCallout'],'icon':_0x3b6577(0xd7),'name':_0x3b6577(0x5e6)},{'group':_0x3b6577(0x2e3),'type':c[_0x3b6577(0x2df)]['CloudCallout'],'icon':'ShapeCloudCalloutIcon','name':_0x3b6577(0x4f7)},{'group':_0x3b6577(0x2e3),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x499)],'icon':'ShapeBorderCallout1Icon','name':_0x3b6577(0x510)},{'group':_0x3b6577(0x2e3),'type':c['ShapeTypeEnum'][_0x3b6577(0x371)],'icon':_0x3b6577(0x52a),'name':'docs-shape-ui.shape.type.border-callout2'},{'group':_0x3b6577(0x2e3),'type':c['ShapeTypeEnum'][_0x3b6577(0x12d)],'icon':_0x3b6577(0x2ca),'name':_0x3b6577(0xf4)},{'group':_0x3b6577(0x2e3),'type':c[_0x3b6577(0x2df)]['AccentCallout1'],'icon':_0x3b6577(0x4fe),'name':_0x3b6577(0x56b)},{'group':'callout','type':c['ShapeTypeEnum'][_0x3b6577(0x5b3)],'icon':_0x3b6577(0x46f),'name':_0x3b6577(0x1a0)},{'group':'callout','type':c[_0x3b6577(0x2df)][_0x3b6577(0x4cf)],'icon':_0x3b6577(0xe8),'name':'docs-shape-ui.shape.type.accent-callout3'},{'group':'callout','type':c['ShapeTypeEnum'][_0x3b6577(0x3f9)],'icon':'ShapeCallout1Icon','name':_0x3b6577(0x42d)},{'group':_0x3b6577(0x2e3),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x1dd)],'icon':'ShapeCallout2Icon','name':'docs-shape-ui.shape.type.callout2'},{'group':_0x3b6577(0x2e3),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x5c5)],'icon':_0x3b6577(0x250),'name':_0x3b6577(0x1cc)},{'group':'callout','type':c[_0x3b6577(0x2df)][_0x3b6577(0x1e8)],'icon':_0x3b6577(0x403),'name':'docs-shape-ui.shape.type.accent-border-callout1'},{'group':_0x3b6577(0x2e3),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x369)],'icon':_0x3b6577(0x5a5),'name':_0x3b6577(0x566)},{'group':_0x3b6577(0x2e3),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x517)],'icon':_0x3b6577(0x585),'name':_0x3b6577(0x154)},{'group':_0x3b6577(0x3b6),'type':c[_0x3b6577(0x2df)]['LeftCircularArrow'],'icon':'ShapeLeftCircularArrowIcon','name':_0x3b6577(0x57b)},{'group':_0x3b6577(0x3b6),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x434)],'icon':_0x3b6577(0x22f),'name':_0x3b6577(0x513)},{'group':_0x3b6577(0x3b6),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x295)],'icon':'ShapeSwooshArrowIcon','name':_0x3b6577(0x1e7)},{'group':_0x3b6577(0x3b6),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x267)],'icon':_0x3b6577(0x2f2),'name':'docs-shape-ui.shape.type.left-right-ribbon'},{'group':_0x3b6577(0x3b6),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x2d4)],'icon':_0x3b6577(0x5a3),'name':'docs-shape-ui.shape.type.pie-wedge'},{'group':_0x3b6577(0x3b6),'type':c['ShapeTypeEnum'][_0x3b6577(0x50f)],'icon':_0x3b6577(0x244),'name':_0x3b6577(0x4f9)},{'group':'other','type':c['ShapeTypeEnum']['Gear6'],'icon':'ShapeGear6Icon','name':'docs-shape-ui.shape.type.gear6'},{'group':_0x3b6577(0x3b6),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x549)],'icon':_0x3b6577(0x592),'name':_0x3b6577(0x17d)},{'group':_0x3b6577(0x3b6),'type':c['ShapeTypeEnum'][_0x3b6577(0x4e4)],'icon':_0x3b6577(0x4d0),'name':_0x3b6577(0x2f7)},{'group':_0x3b6577(0x3b6),'type':c[_0x3b6577(0x2df)]['ActionButtonBackPrevious'],'icon':_0x3b6577(0x2aa),'name':_0x3b6577(0xf7)},{'group':'other','type':c[_0x3b6577(0x2df)][_0x3b6577(0x163)],'icon':_0x3b6577(0x2fa),'name':_0x3b6577(0x130)},{'group':_0x3b6577(0x3b6),'type':c['ShapeTypeEnum'][_0x3b6577(0x5de)],'icon':_0x3b6577(0x59e),'name':_0x3b6577(0x491)},{'group':'other','type':c['ShapeTypeEnum'][_0x3b6577(0x5e2)],'icon':'ShapeActionButtonEndIcon','name':'docs-shape-ui.shape.type.action-button-end'},{'group':_0x3b6577(0x3b6),'type':c['ShapeTypeEnum'][_0x3b6577(0x252)],'icon':'ShapeActionButtonHomeIcon','name':_0x3b6577(0x2ff)},{'group':_0x3b6577(0x3b6),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x58a)],'icon':_0x3b6577(0x40c),'name':_0x3b6577(0x2f6)},{'group':'other','type':c[_0x3b6577(0x2df)][_0x3b6577(0x34f)],'icon':_0x3b6577(0x5dd),'name':_0x3b6577(0x1b0)},{'group':'other','type':c['ShapeTypeEnum'][_0x3b6577(0x1c5)],'icon':_0x3b6577(0x3ad),'name':_0x3b6577(0x37b)},{'group':_0x3b6577(0x3b6),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x391)],'icon':'ShapeActionButtonDocumentIcon','name':'docs-shape-ui.shape.type.action-button-document'},{'group':'other','type':c[_0x3b6577(0x2df)][_0x3b6577(0x2ea)],'icon':_0x3b6577(0x3fc),'name':_0x3b6577(0x4bd)},{'group':'other','type':c[_0x3b6577(0x2df)][_0x3b6577(0x54f)],'icon':_0x3b6577(0x2a7),'name':_0x3b6577(0x1be)},{'group':_0x3b6577(0x3b6),'type':c[_0x3b6577(0x2df)]['ActionButtonBlank'],'icon':_0x3b6577(0x429),'name':'docs-shape-ui.shape.type.action-button-blank'},{'group':_0x3b6577(0x3b6),'type':c[_0x3b6577(0x2df)]['ChartPlus'],'icon':_0x3b6577(0x5c7),'name':_0x3b6577(0x4c3)},{'group':'other','type':c['ShapeTypeEnum']['ChartStar'],'icon':'ShapeChartStarIcon','name':_0x3b6577(0x3bc)},{'group':_0x3b6577(0x3b6),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x41f)],'icon':_0x3b6577(0x454),'name':_0x3b6577(0x537)},{'group':_0x3b6577(0x3b6),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x258)],'icon':_0x3b6577(0x457),'name':'docs-shape-ui.shape.type.flow-chart-offline-storage'},{'group':'other','type':c[_0x3b6577(0x2df)][_0x3b6577(0xfe)],'icon':_0x3b6577(0x1a9),'name':_0x3b6577(0x470)},{'group':_0x3b6577(0x3b6),'type':c['ShapeTypeEnum'][_0x3b6577(0x30e)],'icon':_0x3b6577(0x228),'name':_0x3b6577(0x5b7)},{'group':_0x3b6577(0x3b6),'type':c['ShapeTypeEnum'][_0x3b6577(0x26c)],'icon':_0x3b6577(0x1e1),'name':_0x3b6577(0xd0)},{'group':'other','type':c['ShapeTypeEnum']['UpDownArrowCallout'],'icon':_0x3b6577(0x45e),'name':_0x3b6577(0x5a8)},{'group':_0x3b6577(0x3b6),'type':c[_0x3b6577(0x2df)][_0x3b6577(0x25d)],'icon':_0x3b6577(0x29f),'name':_0x3b6577(0x1eb)}],xe=_0x3b6577(0x10b);function Se({onShapeClick:_0x36bcf8,excludeGroups:_0x35c684}){const _0x489625=_0x3b6577;let _0x3bd775=(0x0,g[_0x489625(0x19e)])(u['LocaleService']),_0x2b5dda=(0x0,g[_0x489625(0x19e)])(g[_0x489625(0x489)]),_0x5a7ecc=(_0x35c684?be[_0x489625(0x452)](_0x1a8c0e=>!_0x35c684[_0x489625(0x23c)](_0x1a8c0e[_0x489625(0x2d7)])):be)[_0x489625(0x175)]((_0x40ba00,_0x1f51f9)=>(_0x40ba00[_0x1f51f9['group']]||(_0x40ba00[_0x1f51f9[_0x489625(0x2d7)]]=[]),_0x40ba00[_0x1f51f9['group']][_0x489625(0x4e5)](_0x1f51f9),_0x40ba00),{});return(0x0,x['jsx'])(_0x489625(0x577),{'className':'univer-max-h-[75vh]\x20univer-w-[320px]\x20univer-pb-2','children':Object[_0x489625(0xde)](_0x5a7ecc)['map'](([_0x1a295b,_0x10f09f])=>(0x0,x[_0x489625(0x511)])(_0x489625(0x577),{'className':'univer-mb-2','children':[(0x0,x[_0x489625(0x4e3)])(_0x489625(0x577),{'className':_0x489625(0x17b),'children':_0x3bd775['t'](_0x489625(0x565)+_0x1a295b)}),(0x0,x['jsx'])('div',{'className':_0x489625(0x1d7),'children':_0x10f09f['map'](_0x57cd97=>{const _0x4b1b21=_0x489625;let _0x5d6eef=_0x2b5dda[_0x4b1b21(0x272)](_0x57cd97[_0x4b1b21(0x445)]);return(0x0,x[_0x4b1b21(0x4e3)])('div',{'title':_0x3bd775['t'](_0x57cd97['name']),'onClick':()=>_0x36bcf8(_0x57cd97),'className':'univer-flex\x20univer-aspect-square\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-p-1\x20univer-text-gray-700\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-700','children':_0x5d6eef&&(0x0,x[_0x4b1b21(0x4e3)])(_0x5d6eef,{'className':'univer-size-full'})},_0x57cd97[_0x4b1b21(0x34c)]);})})]},_0x1a295b))});}function Ce(){const _0x25de4e=_0x3b6577;let _0x393139=(0x0,g[_0x25de4e(0x19e)])(u[_0x25de4e(0x1f5)]),_0x78c697=(0x0,g[_0x25de4e(0x19e)])(m[_0x25de4e(0x539)]),_0x50fc74=(0x0,g[_0x25de4e(0x19e)])(ye),[_0xc8028b,_0x17f28a]=(0x0,y[_0x25de4e(0x4b2)])(!0x1);return(0x0,x[_0x25de4e(0x4e3)])(v[_0x25de4e(0x10e)],{'side':'left','open':_0xc8028b,'onOpenChange':_0x17f28a,'overlay':(0x0,x[_0x25de4e(0x4e3)])(Se,{'onShapeClick':_0x59fa68=>{const _0x531341=_0x25de4e;let _0x540ce9=_0x78c697[_0x531341(0x321)]()[_0x531341(0x276)](_0x33dd03=>_0x33dd03[_0x531341(0xea)]===u['DrawingTypeEnum']['DRAWING_IMAGE']);if(!_0x540ce9)return;let {unitId:_0x2cd31b,subUnitId:_0x5a033a,drawingId:_0xc0b391}=_0x540ce9;_0x50fc74['clipByShape'](_0x2cd31b,_0x5a033a,_0xc0b391,_0x59fa68[_0x531341(0x41d)]),_0x17f28a(!0x1);},'excludeGroups':[_0x25de4e(0x1f6)]}),'children':(0x0,x[_0x25de4e(0x4e3)])(v[_0x25de4e(0x56f)],{'children':_0x393139['t'](_0x25de4e(0x213))})});}function we({paragraphMenuPlacement:_0x53fec4}){const _0x1175c1=_0x3b6577;let _0x4e566c=(0x0,g[_0x1175c1(0x19e)])(u[_0x1175c1(0x243)]);return(0x0,x[_0x1175c1(0x4e3)])(Se,{'onShapeClick':_0x156179=>{const _0x543c04=_0x1175c1;_0x4e566c[_0x543c04(0x5e8)](A['id'],{'paragraphMenuPlacement':_0x53fec4,'value':_0x156179['type'],'enhanceParams':{'endArrow':_0x156179[_0x543c04(0x174)],'startArrow':_0x156179[_0x543c04(0x1fa)],'horizontal':_0x156179[_0x543c04(0x16c)],'vertical':_0x156179[_0x543c04(0x44c)]}});}});}function Te(_0x4b3ec0){const _0x3707f7=_0x3b6577;return _0x24dbc0=>({'id':A['id'],'type':g[_0x3707f7(0x1b6)]['SELECTOR'],'selections':[{'label':{'name':xe,'hoverable':!0x1,'selectable':!0x1,'props':_0x4b3ec0?{'id':A['id'],'paragraphMenuPlacement':_0x4b3ec0}:{'id':A['id']}}}],'icon':_0x3707f7(0x24a),'title':_0x3707f7(0x28a),'tooltip':'docs-shape-ui.insertShape','hidden$':(0x0,g[_0x3707f7(0x13c)])(_0x24dbc0,u['UniverInstanceType'][_0x3707f7(0x512)])});}const Ee=Te(),De=Te(_0x3b6577(0x24d)),Oe=Te(_0x3b6577(0x1b1)),ke={[g['RibbonInsertGroup'][_0x3b6577(0x4f2)]]:{[A['id']]:{'order':0x4,'menuItemFactory':Ee}},[g[_0x3b6577(0x5c2)]['PARAGRAPH']]:{[g[_0x3b6577(0x308)][_0x3b6577(0x3c7)]]:{[f[_0x3b6577(0x1c6)]]:{[A['id']]:{'order':0x8,'menuItemFactory':De}}},[f[_0x3b6577(0x58f)]]:{[g[_0x3b6577(0x308)][_0x3b6577(0x3c7)]]:{[A['id']]:{'order':0x8,'menuItemFactory':De}}},[f[_0x3b6577(0x1cf)]]:{[g[_0x3b6577(0x308)][_0x3b6577(0x3c7)]]:{[A['id']]:{'order':0x8,'menuItemFactory':Oe}}}}};let Ae=class extends u[_0x3b6577(0x1ac)]{constructor(_0x4be930,_0x151e1c,_0x38bf13,_0x5408b5,_0x7ac06a,_0x16e0dd,_0x420680,_0x40dd8a,_0x3e9757,_0x4d5b77,_0x155589,_0x3b0ce3){const _0xbe544c=_0x3b6577;super(),this['_univerInstanceService']=_0x4be930,this[_0xbe544c(0x160)]=_0x151e1c,this['_menuManagerService']=_0x38bf13,this[_0xbe544c(0x372)]=_0x5408b5,this[_0xbe544c(0x50e)]=_0x7ac06a,this[_0xbe544c(0x136)]=_0x16e0dd,this[_0xbe544c(0x379)]=_0x420680,this[_0xbe544c(0x3f4)]=_0x40dd8a,this[_0xbe544c(0x3aa)]=_0x3e9757,this[_0xbe544c(0x5b8)]=_0x4d5b77,this[_0xbe544c(0x284)]=_0x155589,this[_0xbe544c(0x51f)]=_0x3b0ce3,L(this,_0xbe544c(0x2d9),null),L(this,_0xbe544c(0x55c),null),L(this,_0xbe544c(0x37a),!0x1),L(this,_0xbe544c(0x1d4),new Set()),L(this,_0xbe544c(0xe3),[]),this[_0xbe544c(0x59c)](),this[_0xbe544c(0x335)](),this['disposeWithMe'](this[_0xbe544c(0x1bf)][_0xbe544c(0x47b)](u[_0xbe544c(0x2f8)][_0xbe544c(0x512)])[_0xbe544c(0x451)](_0x26bcd6=>{const _0x46de28=_0xbe544c;if(!_0x26bcd6){var _0xdbfd9b;(_0xdbfd9b=this['_sidebarDisposable'])==null||_0xdbfd9b[_0x46de28(0x318)]();return;}this[_0x46de28(0x519)](_0x26bcd6);})),this[_0xbe544c(0x365)](),this[_0xbe544c(0x439)](),this[_0xbe544c(0x21f)](this[_0xbe544c(0x51f)][_0xbe544c(0x1ec)][_0xbe544c(0x451)](_0x4c1cd5=>{const _0x3ec5c0=_0xbe544c;_0x4c1cd5&&this[_0x3ec5c0(0x431)]();}));}[_0x3b6577(0x335)](){const _0x1a5080=_0x3b6577;this[_0x1a5080(0x57f)][_0x1a5080(0x201)](ke);}[_0x3b6577(0x439)](){const _0x3025a9=_0x3b6577;this[_0x3025a9(0x1bf)][_0x3025a9(0x5c3)](u['UniverInstanceType']['UNIVER_DOC'])[_0x3025a9(0x184)](_0x20258a=>this['_createShapePopupMenu'](_0x20258a));}[_0x3b6577(0x2a5)](_0x169d48,_0xd3401b,_0x708f6c,_0x315c4b){const _0x51f21e=_0x3b6577;return[{'label':_0x51f21e(0xe7),'index':0x0,'commandId':M['id'],'commandParams':{'unitId':_0x169d48,'subUnitId':_0xd3401b,'drawingId':_0x708f6c},'disable':_0x315c4b===u[_0x51f21e(0x400)]['DRAWING_DOM']},{'label':_0x51f21e(0x1ea),'index':0x1,'commandId':d[_0x51f21e(0x385)]['id'],'commandParams':{'unitId':_0x169d48,'drawings':[{'unitId':_0x169d48,'subUnitId':_0xd3401b,'drawingId':_0x708f6c}]},'disable':!0x1},{'label':_0x51f21e(0x49c),'index':0x2,'commandId':j['id'],'commandParams':{'unitId':_0x169d48,'subUnitId':_0xd3401b,'drawingId':_0x708f6c},'disable':!0x1}];}[_0x3b6577(0x54a)](_0x4e1f2f,_0x9cf27,_0x8364ac){const _0x120ff0=_0x3b6577;let _0x461c3f=this[_0x120ff0(0x372)][_0x120ff0(0x463)](_0x4e1f2f,_0x9cf27,_0x8364ac),_0x379b8b=this['_docsShapeService'][_0x120ff0(0x573)](_0x4e1f2f,_0x9cf27,_0x8364ac);return _0x461c3f!==void 0x0&&_0x379b8b!==void 0x0?{'shapeData':_0x379b8b,'shapeId':_0x8364ac,'shapeType':_0x461c3f,'unitId':_0x4e1f2f,'subUnitId':_0x9cf27,'disableShapeOption':!0x1}:null;}['_createShapePopupMenu'](_0x3cc09a){const _0x38e229=_0x3b6577;if(!_0x3cc09a)return;let _0x4473c7=_0x3cc09a['getUnitId']();this['_renderManagerService'][_0x38e229(0x42f)](_0x4473c7)&&!this[_0x38e229(0x1d4)][_0x38e229(0x42f)](_0x4473c7)&&(this[_0x38e229(0xed)](_0x4473c7),this['_initializedShapePopupMenu'][_0x38e229(0x4e1)](_0x4473c7));}[_0x3b6577(0x431)](){const _0xb16445=_0x3b6577;this[_0xb16445(0xe3)]['forEach'](_0x6d3223=>_0x6d3223[_0xb16445(0x318)]()),this['_disposePopups'][_0xb16445(0x254)]=0x0;}[_0x3b6577(0xed)](_0x46445e){const _0x5812a6=_0x3b6577;var _0x3f2613;let _0x554d2d=(_0x3f2613=this['_renderManagerService'][_0x5812a6(0x1c9)](_0x46445e))==null?void 0x0:_0x3f2613['scene'],_0x4e496f=_0x554d2d==null?void 0x0:_0x554d2d['getTransformerByCreate']();!_0x554d2d||!_0x4e496f||(this[_0x5812a6(0x21f)](_0x4e496f['createControl$'][_0x5812a6(0x451)](()=>{const _0x55837d=_0x5812a6;let _0x510e5f=_0x4e496f[_0x55837d(0x5c4)]();if(this[_0x55837d(0x431)](),this[_0x55837d(0x37a)]||_0x510e5f[_0x55837d(0x4d3)]>0x1)return;let _0x2d2583=_0x510e5f[_0x55837d(0x356)]()[_0x55837d(0x40a)]()[_0x55837d(0x5e4)];if(!_0x2d2583)return;let _0x48c38f=this[_0x55837d(0x3f4)][_0x55837d(0x360)](_0x2d2583[_0x55837d(0x12b)]);if(!_0x48c38f||_0x48c38f['drawingType']!==u[_0x55837d(0x400)][_0x55837d(0x223)])return;let {unitId:_0x40b749,subUnitId:_0x732850,drawingId:_0x37c036,drawingType:_0x43ce8e}=_0x48c38f,_0x218b53=this[_0x55837d(0x54a)](_0x40b749,_0x732850,_0x37c036);if(!_0x218b53)return;let _0x527c58=this[_0x55837d(0x3aa)]['attachPopupToObject'](_0x2d2583,{'componentKey':le,'direction':_0x55837d(0x3d2),'offset':[0x0,0x8],'extraProps':{'unitId':_0x40b749,'subUnitId':_0x732850,'drawingId':_0x37c036,'drawingType':_0x43ce8e,'shapeType':_0x218b53['shapeType'],'shapeData':_0x218b53[_0x55837d(0x5a2)]}},_0x40b749);this[_0x55837d(0xe3)][_0x55837d(0x4e5)](this['disposeWithMe'](_0x527c58)),this[_0x55837d(0x3f4)][_0x55837d(0x321)]()[_0x55837d(0x276)](_0x2da639=>_0x2da639[_0x55837d(0x424)]===_0x40b749&&_0x2da639['subUnitId']===_0x732850&&_0x2da639[_0x55837d(0x366)]===_0x37c036)||this[_0x55837d(0x3f4)][_0x55837d(0x31e)]([{'unitId':_0x40b749,'subUnitId':_0x732850,'drawingId':_0x37c036}]);})),this[_0x5812a6(0x21f)](_0x4e496f[_0x5812a6(0x39e)]['subscribe'](()=>{const _0x3b5cd8=_0x5812a6;this[_0x3b5cd8(0x431)](),this[_0x3b5cd8(0x284)][_0x3b5cd8(0x449)](u[_0x3b5cd8(0x48e)],!0x1),this[_0x3b5cd8(0x3f4)][_0x3b5cd8(0x31e)](null);})),this['disposeWithMe'](_0x4e496f[_0x5812a6(0x4d7)]['subscribe'](()=>{const _0x57ea79=_0x5812a6;this[_0x57ea79(0x431)]();})),this[_0x5812a6(0x21f)](_0x4e496f['changeStart$'][_0x5812a6(0x451)](()=>{const _0x2374a1=_0x5812a6;this[_0x2374a1(0x431)]();})));}[_0x3b6577(0x365)](){const _0x74db49=_0x3b6577;this['disposeWithMe'](this['_commandService'][_0x74db49(0x19c)](_0x2bf84c=>{const _0xde0b66=_0x74db49;if(_0x2bf84c['id']===M['id']){let {unitId:_0x4c9214,subUnitId:_0x90d0c7,drawingId:_0x1d767b}=_0x2bf84c[_0xde0b66(0x4b1)];this[_0xde0b66(0x55c)]=this[_0xde0b66(0x54a)](_0x4c9214,_0x90d0c7,_0x1d767b),this[_0xde0b66(0x431)](),this[_0xde0b66(0x264)]();}if(_0x2bf84c['id']===j['id']&&(this['_activeShapeInfo']=null,this[_0xde0b66(0x387)]()),_0x2bf84c['id']===l[_0xde0b66(0x388)]['id']){let {unitId:_0x28f7dc,shapeId:_0x34ad2d}=_0x2bf84c[_0xde0b66(0x4b1)];if(this[_0xde0b66(0x55c)]&&this[_0xde0b66(0x55c)][_0xde0b66(0x24f)]===_0x34ad2d){let _0x5755f2=this['_getShapeInfo'](_0x28f7dc,this[_0xde0b66(0x55c)]['subUnitId'],_0x34ad2d);_0x5755f2&&(this[_0xde0b66(0x55c)]=_0x5755f2);}}})),this[_0x74db49(0x21f)](this[_0x74db49(0x3f4)][_0x74db49(0x36d)][_0x74db49(0x451)](_0x580f70=>{const _0x22ea20=_0x74db49;if(this[_0x22ea20(0x37a)]===!0x1)return;if(_0x580f70[_0x22ea20(0x254)]===0x0){this['_activeShapeInfo']=null,this[_0x22ea20(0x387)]();return;}if(_0x580f70[_0x22ea20(0x254)]===0x1&&_0x580f70[0x0]['drawingType']===u['DrawingTypeEnum'][_0x22ea20(0x223)]&&(this[_0x22ea20(0x55c)]=this[_0x22ea20(0x54a)](_0x580f70[0x0][_0x22ea20(0x424)],_0x580f70[0x0][_0x22ea20(0x21b)],_0x580f70[0x0][_0x22ea20(0x366)]),this[_0x22ea20(0x55c)])){this['_openShapeEditPanel']();return;}let _0x469428=_0x580f70[_0x22ea20(0x452)](_0x460b02=>_0x460b02[_0x22ea20(0xea)]===u['DrawingTypeEnum'][_0x22ea20(0x223)]);if(_0x580f70[_0x22ea20(0x254)]>0x1&&_0x469428[_0x22ea20(0x254)]===_0x580f70[_0x22ea20(0x254)]){if(this[_0x22ea20(0x55c)]=this[_0x22ea20(0x54a)](_0x580f70[0x0][_0x22ea20(0x424)],_0x580f70[0x0][_0x22ea20(0x21b)],_0x580f70[0x0]['drawingId']),this[_0x22ea20(0x55c)]){this['_openShapeEditPanel']();return;}}else{if(this[_0x22ea20(0x55c)]=this[_0x22ea20(0x54a)](_0x580f70[0x0][_0x22ea20(0x424)],_0x580f70[0x0][_0x22ea20(0x21b)],_0x580f70[0x0]['drawingId']),this[_0x22ea20(0x55c)]){this[_0x22ea20(0x55c)][_0x22ea20(0xdf)]=!0x0,this[_0x22ea20(0x264)]();return;}}this['_closeShapeEditPanel']();}));}['_registerComponent'](){const _0x320477=_0x3b6577;[[_0x320477(0x24a),h[_0x320477(0x24a)]],[_0x320477(0x403),h[_0x320477(0x403)]],[_0x320477(0x5a5),h['ShapeAccentBorderCallout2Icon']],[_0x320477(0x585),h[_0x320477(0x585)]],['ShapeAccentCallout1Icon',h[_0x320477(0x4fe)]],[_0x320477(0x46f),h[_0x320477(0x46f)]],[_0x320477(0xe8),h[_0x320477(0xe8)]],[_0x320477(0x2aa),h[_0x320477(0x2aa)]],[_0x320477(0x59e),h[_0x320477(0x59e)]],['ShapeActionButtonBlankIcon',h[_0x320477(0x429)]],[_0x320477(0x274),h[_0x320477(0x274)]],[_0x320477(0x1ca),h[_0x320477(0x1ca)]],[_0x320477(0x2fa),h[_0x320477(0x2fa)]],[_0x320477(0x2a7),h[_0x320477(0x2a7)]],[_0x320477(0x35c),h[_0x320477(0x35c)]],['ShapeActionButtonInformationIcon',h[_0x320477(0x40c)]],[_0x320477(0x3ad),h['ShapeActionButtonMovieIcon']],[_0x320477(0x5dd),h[_0x320477(0x5dd)]],[_0x320477(0x3fc),h['ShapeActionButtonSoundIcon']],['ShapeArcIcon',h[_0x320477(0x141)]],[_0x320477(0x12f),h['ShapeBentArrowIcon']],[_0x320477(0x1f1),h[_0x320477(0x1f1)]],[_0x320477(0x14e),h[_0x320477(0x14e)]],[_0x320477(0x33a),h['ShapeBentConnector3Icon']],[_0x320477(0x433),h['ShapeBentUpArrowIcon']],[_0x320477(0x247),h[_0x320477(0x247)]],[_0x320477(0xee),h[_0x320477(0xee)]],[_0x320477(0x468),h[_0x320477(0x468)]],[_0x320477(0x52a),h['ShapeBorderCallout2Icon']],[_0x320477(0x2ca),h[_0x320477(0x2ca)]],[_0x320477(0x10c),h['ShapeBracePairIcon']],[_0x320477(0x196),h[_0x320477(0x196)]],[_0x320477(0x1e2),h['ShapeCallout1Icon']],['ShapeCallout2Icon',h[_0x320477(0xe1)]],[_0x320477(0x250),h['ShapeCallout3Icon']],[_0x320477(0x1b3),h[_0x320477(0x1b3)]],[_0x320477(0x5c7),h['ShapeChartPlusIcon']],[_0x320477(0x355),h[_0x320477(0x355)]],[_0x320477(0x454),h[_0x320477(0x454)]],[_0x320477(0x476),h[_0x320477(0x476)]],[_0x320477(0x2c9),h[_0x320477(0x2c9)]],[_0x320477(0x210),h['ShapeCircularArrowIcon']],[_0x320477(0x101),h[_0x320477(0x101)]],[_0x320477(0x44d),h[_0x320477(0x44d)]],[_0x320477(0x271),h[_0x320477(0x271)]],[_0x320477(0x4d0),h[_0x320477(0x4d0)]],[_0x320477(0x27b),h[_0x320477(0x27b)]],[_0x320477(0x459),h[_0x320477(0x459)]],['ShapeCurvedConnector3Arrow2Icon',h[_0x320477(0x57d)]],['ShapeCurvedConnector3Icon',h['ShapeCurvedConnector3Icon']],[_0x320477(0x219),h['ShapeCurvedDownArrowIcon']],[_0x320477(0x1d1),h[_0x320477(0x1d1)]],['ShapeCurvedRightArrowIcon',h[_0x320477(0x3f6)]],[_0x320477(0x4f0),h[_0x320477(0x4f0)]],[_0x320477(0x2e1),h[_0x320477(0x2e1)]],['ShapeDiagStripeIcon',h[_0x320477(0xe6)]],['ShapeDiamondIcon',h[_0x320477(0x2ae)]],[_0x320477(0x138),h[_0x320477(0x138)]],['ShapeDonutIcon',h[_0x320477(0x41b)]],[_0x320477(0x382),h[_0x320477(0x382)]],[_0x320477(0x40b),h['ShapeDownArrowCalloutIcon']],[_0x320477(0x28e),h[_0x320477(0x28e)]],['ShapeEllipseIcon',h[_0x320477(0x3d7)]],['ShapeEllipseRibbon2Icon',h[_0x320477(0x2c5)]],[_0x320477(0x25f),h[_0x320477(0x25f)]],[_0x320477(0x390),h[_0x320477(0x390)]],[_0x320477(0x1b7),h[_0x320477(0x1b7)]],[_0x320477(0x179),h[_0x320477(0x179)]],['ShapeFlowChartDecisionIcon',h[_0x320477(0x477)]],['ShapeFlowChartDelayIcon',h[_0x320477(0x3e3)]],[_0x320477(0x1a1),h[_0x320477(0x1a1)]],[_0x320477(0x3a0),h[_0x320477(0x3a0)]],['ShapeFlowChartExtractIcon',h[_0x320477(0xd3)]],[_0x320477(0x32f),h[_0x320477(0x32f)]],[_0x320477(0x40f),h[_0x320477(0x40f)]],[_0x320477(0x4fd),h['ShapeFlowChartMagneticDiskIcon']],[_0x320477(0x1bd),h[_0x320477(0x1bd)]],[_0x320477(0x553),h['ShapeFlowChartMagneticTapeIcon']],['ShapeFlowChartManualInputIcon',h['ShapeFlowChartManualInputIcon']],[_0x320477(0x2dd),h[_0x320477(0x2dd)]],[_0x320477(0xce),h[_0x320477(0xce)]],[_0x320477(0x3cd),h['ShapeFlowChartMultidocumentIcon']],[_0x320477(0x457),h[_0x320477(0x457)]],[_0x320477(0x2cc),h['ShapeFlowChartOffpageConnectorIcon']],[_0x320477(0x4b0),h[_0x320477(0x4b0)]],['ShapeFlowChartOrIcon',h[_0x320477(0x14c)]],[_0x320477(0x168),h[_0x320477(0x168)]],[_0x320477(0x490),h['ShapeFlowChartPreparationIcon']],[_0x320477(0x351),h[_0x320477(0x351)]],[_0x320477(0x2d6),h['ShapeFlowChartPunchedCardIcon']],[_0x320477(0x554),h[_0x320477(0x554)]],[_0x320477(0x53b),h[_0x320477(0x53b)]],[_0x320477(0x3c8),h[_0x320477(0x3c8)]],['ShapeFlowChartTerminatorIcon',h[_0x320477(0x2bc)]],['ShapeFolderCornerIcon',h[_0x320477(0x161)]],[_0x320477(0x203),h[_0x320477(0x203)]],[_0x320477(0x244),h[_0x320477(0x244)]],[_0x320477(0x4ff),h[_0x320477(0x4ff)]],[_0x320477(0x592),h['ShapeGear9Icon']],[_0x320477(0x145),h[_0x320477(0x145)]],[_0x320477(0x5d5),h[_0x320477(0x5d5)]],['ShapeHeptagonIcon',h['ShapeHeptagonIcon']],[_0x320477(0x437),h[_0x320477(0x437)]],[_0x320477(0x48f),h[_0x320477(0x48f)]],['ShapeHorizontalScrollIcon',h[_0x320477(0x114)]],['ShapeIrregularSeal1Icon',h[_0x320477(0xf3)]],[_0x320477(0x564),h[_0x320477(0x564)]],[_0x320477(0x20c),h[_0x320477(0x20c)]],[_0x320477(0x23e),h[_0x320477(0x23e)]],[_0x320477(0x14b),h[_0x320477(0x14b)]],['ShapeLeftBracketIcon',h['ShapeLeftBracketIcon']],[_0x320477(0x49f),h[_0x320477(0x49f)]],[_0x320477(0x45a),h['ShapeLeftRightArrowCalloutIcon']],['ShapeLeftRightArrowIcon',h[_0x320477(0x2c7)]],[_0x320477(0x22f),h[_0x320477(0x22f)]],[_0x320477(0x2f2),h[_0x320477(0x2f2)]],[_0x320477(0x599),h[_0x320477(0x599)]],['ShapeLeftUpArrowIcon',h[_0x320477(0x49e)]],['ShapeLightningBoltIcon',h[_0x320477(0x2be)]],[_0x320477(0x35f),h[_0x320477(0x35f)]],[_0x320477(0x1a9),h[_0x320477(0x1a9)]],[_0x320477(0x2b3),h['ShapeMathDivideIcon']],[_0x320477(0x363),h[_0x320477(0x363)]],[_0x320477(0x503),h[_0x320477(0x503)]],[_0x320477(0x3ce),h[_0x320477(0x3ce)]],[_0x320477(0x209),h[_0x320477(0x209)]],['ShapeMathPlusIcon',h[_0x320477(0x127)]],[_0x320477(0x193),h[_0x320477(0x193)]],[_0x320477(0x3d0),h['ShapeNoSmokingIcon']],[_0x320477(0x29f),h[_0x320477(0x29f)]],[_0x320477(0x19f),h[_0x320477(0x19f)]],['ShapeOctagonIcon',h[_0x320477(0x38f)]],[_0x320477(0x327),h['ShapeParallelogramIcon']],[_0x320477(0x4fc),h[_0x320477(0x4fc)]],[_0x320477(0x441),h[_0x320477(0x441)]],['ShapePieWedgeIcon',h['ShapePieWedgeIcon']],[_0x320477(0x4de),h[_0x320477(0x4de)]],['ShapePlaqueTabsIcon',h[_0x320477(0x228)]],['ShapePlusIcon',h[_0x320477(0x5ab)]],['ShapeQuadArrowCalloutIcon',h[_0x320477(0x1c4)]],[_0x320477(0x5a7),h['ShapeQuadArrowIcon']],['ShapeRectIcon',h[_0x320477(0x3d4)]],['ShapeRectTextboxHorizontalIcon',h[_0x320477(0x16a)]],[_0x320477(0x5ad),h['ShapeRectTextboxVerticalIcon']],[_0x320477(0x350),h[_0x320477(0x350)]],[_0x320477(0x342),h[_0x320477(0x342)]],[_0x320477(0x5e7),h['ShapeRightArrowCalloutIcon']],[_0x320477(0x236),h['ShapeRightArrowIcon']],[_0x320477(0x299),h[_0x320477(0x299)]],[_0x320477(0x301),h[_0x320477(0x301)]],[_0x320477(0x540),h[_0x320477(0x540)]],[_0x320477(0x5b1),h['ShapeRound2DiagRectIcon']],[_0x320477(0x46a),h[_0x320477(0x46a)]],['ShapeRoundRectIcon',h['ShapeRoundRectIcon']],[_0x320477(0x357),h[_0x320477(0x357)]],[_0x320477(0x181),h[_0x320477(0x181)]],[_0x320477(0x29b),h[_0x320477(0x29b)]],[_0x320477(0x33d),h[_0x320477(0x33d)]],[_0x320477(0x1aa),h[_0x320477(0x1aa)]],['ShapeSnipRoundRectIcon',h[_0x320477(0x51a)]],[_0x320477(0x1e1),h[_0x320477(0x1e1)]],['ShapeStar10Icon',h[_0x320477(0x4c0)]],[_0x320477(0x5ba),h['ShapeStar12Icon']],['ShapeStar16Icon',h['ShapeStar16Icon']],[_0x320477(0x4b3),h[_0x320477(0x4b3)]],[_0x320477(0x4ca),h['ShapeStar32Icon']],['ShapeStar4Icon',h[_0x320477(0x3e2)]],['ShapeStar5Icon',h[_0x320477(0x368)]],[_0x320477(0x460),h[_0x320477(0x460)]],[_0x320477(0x43a),h[_0x320477(0x43a)]],[_0x320477(0x582),h[_0x320477(0x582)]],['ShapeStraightConnector1Icon',h[_0x320477(0x508)]],['ShapeStraightConnector2Icon',h[_0x320477(0x1c8)]],[_0x320477(0x417),h['ShapeStripedRightArrowIcon']],[_0x320477(0x324),h[_0x320477(0x324)]],[_0x320477(0x2fe),h[_0x320477(0x2fe)]],[_0x320477(0x3f7),h[_0x320477(0x3f7)]],[_0x320477(0x164),h['ShapeTrapezoidIcon']],[_0x320477(0x275),h[_0x320477(0x275)]],['ShapeUpArrowCalloutIcon',h['ShapeUpArrowCalloutIcon']],['ShapeUpArrowIcon',h['ShapeUpArrowIcon']],[_0x320477(0x45e),h['ShapeUpDownArrowCalloutIcon']],['ShapeUpDownArrowIcon',h[_0x320477(0x112)]],[_0x320477(0x2d5),h['ShapeUturnArrowIcon']],[_0x320477(0x245),h[_0x320477(0x245)]],['ShapeWaveIcon',h['ShapeWaveIcon']],[_0x320477(0xd7),h[_0x320477(0xd7)]],[_0x320477(0x3a6),h[_0x320477(0x3a6)]],['ShapeWedgeRoundRectCalloutIcon',h[_0x320477(0x2b7)]],[N,X],[le,ve],[xe,we],[b[_0x320477(0x124)],Ce]][_0x320477(0x184)](([_0x30f721,_0xe68c3c])=>{const _0x41f95e=_0x320477;this[_0x41f95e(0x21f)](this[_0x41f95e(0x136)]['register'](_0x30f721,_0xe68c3c));});}['_openShapeEditPanel'](){const _0x8a95c4=_0x3b6577;this[_0x8a95c4(0x2d9)]=this[_0x8a95c4(0x160)][_0x8a95c4(0x22b)]({'id':N,'header':{'title':this['_localeService']['t']('docs-shape-ui.formatShape')},'width':0x184,'children':{'label':N,...this[_0x8a95c4(0x55c)]},'onClose':()=>{const _0x5b18fa=_0x8a95c4;this[_0x5b18fa(0x3f4)][_0x5b18fa(0x31e)](null),this[_0x5b18fa(0x284)][_0x5b18fa(0x449)](u[_0x5b18fa(0x48e)],!0x1),this['_sidebarDisposable']=null;}}),this[_0x8a95c4(0x37a)]=!0x0;}[_0x3b6577(0x387)](){const _0x3394c0=_0x3b6577;this['_isOpenedShapeEditPanel']=!0x1,this[_0x3394c0(0x160)][_0x3394c0(0x3a3)](N),this[_0x3394c0(0x2d9)]=null,this['_contextService'][_0x3394c0(0x449)](u[_0x3394c0(0x48e)],!0x1),this[_0x3394c0(0x3f4)][_0x3394c0(0x31e)](null);}};Ae=W([U(0x0,u['IUniverInstanceService']),U(0x1,(0x0,u[_0x3b6577(0x192)])(g[_0x3b6577(0x486)])),U(0x2,g[_0x3b6577(0x303)]),U(0x3,(0x0,u[_0x3b6577(0x192)])(l[_0x3b6577(0x1fc)])),U(0x4,(0x0,u[_0x3b6577(0x192)])(u[_0x3b6577(0x1f5)])),U(0x5,(0x0,u['Inject'])(g[_0x3b6577(0x489)])),U(0x6,u[_0x3b6577(0x243)]),U(0x7,m['IDrawingManagerService']),U(0x8,(0x0,u[_0x3b6577(0x192)])(f[_0x3b6577(0x36a)])),U(0x9,p['IRenderManagerService']),U(0xa,u[_0x3b6577(0x5d0)]),U(0xb,(0x0,u['Inject'])(R))],Ae);var je=_0x3b6577(0x5b4),Me=_0x3b6577(0x395);const Ne={};var Pe=class extends p[_0x3b6577(0x113)]{constructor(_0xf7e706,_0x121a8d){const _0xe5e214=_0x3b6577;super(_0xf7e706,_0x121a8d),L(this,'_shapeId',null),L(this,_0xe5e214(0x4df),null),L(this,_0xe5e214(0x2ec),null),L(this,_0xe5e214(0x225),null),_0x121a8d&&this[_0xe5e214(0x467)](_0x121a8d);}['getDrawingSearch'](){const _0x35ca71=_0x3b6577;return{'unitId':this['_unitId'],'subUnitId':this[_0x35ca71(0x225)],'drawingId':this[_0x35ca71(0x292)]};}['setShapeProps'](_0x62b532){const _0x1014b7=_0x3b6577;_0x62b532[_0x1014b7(0x24f)]!==void 0x0&&(this[_0x1014b7(0x292)]=_0x62b532['shapeId']),_0x62b532[_0x1014b7(0x4f1)]!==void 0x0&&(this[_0x1014b7(0x4df)]=_0x62b532[_0x1014b7(0x4f1)]),_0x62b532['unitId']!==void 0x0&&(this[_0x1014b7(0x2ec)]=_0x62b532[_0x1014b7(0x424)]),_0x62b532[_0x1014b7(0x21b)]!==void 0x0&&(this[_0x1014b7(0x225)]=_0x62b532[_0x1014b7(0x21b)]),this[_0x1014b7(0xdc)]({'width':_0x62b532['width'],'height':_0x62b532[_0x1014b7(0x4e0)]});}['_draw'](_0x4d7449){const _0x47b332=_0x3b6577;p['Circle'][_0x47b332(0x50b)](_0x4d7449,{'radius':c['ShapeDefaultConfig']['adjHandleSize'],'fill':c['ShapeDefaultConfig'][_0x47b332(0x167)],'stroke':c['ShapeDefaultConfig'][_0x47b332(0x171)],'strokeWidth':0x1,'evented':!0x0});}};let Fe=class extends u[_0x3b6577(0x1ac)]{constructor(_0x1ad2ea,_0x5548ff,_0x91e924,_0x3b7a4f){const _0x1a9f59=_0x3b6577;super(),this[_0x1a9f59(0x349)]=_0x1ad2ea,this[_0x1a9f59(0x3f4)]=_0x5548ff,this[_0x1a9f59(0x372)]=_0x91e924,this['_commandService']=_0x3b7a4f,L(this,_0x1a9f59(0x4ab),null),L(this,'_unitId',null),L(this,_0x1a9f59(0x225),null),L(this,'_activeShapeAdjustPointList',void 0x0),L(this,_0x1a9f59(0x1d5),[]),L(this,_0x1a9f59(0x5be),0x0),L(this,'_baseShapeTop',0x0),L(this,'_baseShapeWidth',0x0),L(this,'_baseShapeHeight',0x0),L(this,_0x1a9f59(0x5e0),!0x1),L(this,_0x1a9f59(0x1f8),!0x1),L(this,_0x1a9f59(0x4ba),void 0x0),L(this,_0x1a9f59(0x43d),void 0x0),L(this,_0x1a9f59(0x18c),void 0x0),L(this,_0x1a9f59(0x34b),void 0x0),this[_0x1a9f59(0xd1)](),this[_0x1a9f59(0x3a7)]();}[_0x3b6577(0x4b6)](){this['_clearShapeAdjustControls']();}[_0x3b6577(0x464)](){this['_updateShapeAdjustControls'](!0x0);}[_0x3b6577(0x2cd)](_0x3fe889,_0xfea611,_0x5a1787){const _0x142a40=_0x3b6577;var _0x321420;return(_0x321420=this[_0x142a40(0x372)][_0x142a40(0x53c)](_0x3fe889,_0xfea611,_0x5a1787))==null?void 0x0:_0x321420[_0x142a40(0x3da)]();}['_getShapeAdjustInfosById'](_0x4b64a9,_0x5c12df,_0x8554af,_0x3788da){const _0x596955=_0x3b6577;var _0xc15e16;return(_0xc15e16=this[_0x596955(0x372)]['getShapeModel'](_0x4b64a9,_0x5c12df,_0x8554af))==null?void 0x0:_0xc15e16[_0x596955(0x3ea)](_0x3788da);}['_getActiveDrawingParam'](){const _0x5350d9=_0x3b6577;if(this['_unitId']===null||this[_0x5350d9(0x225)]===null||this[_0x5350d9(0x4ab)]===null)return null;let _0x4f9899=this[_0x5350d9(0x3f4)]['getDrawingByParam']({'unitId':this['_unitId'],'subUnitId':this[_0x5350d9(0x225)],'drawingId':this[_0x5350d9(0x4ab)]});return _0x4f9899==null?null:_0x4f9899;}[_0x3b6577(0x35d)](_0x18f4b2){const _0x153331=_0x3b6577;if(this[_0x153331(0x2ec)]===null||this['_subUnitId']===null||this['_activeShapeId']===null)return null;let _0x47237a=(0x0,m[_0x153331(0x56e)])({'unitId':this[_0x153331(0x2ec)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x153331(0x4ab)]}),_0x151524=_0x18f4b2[_0x153331(0x1a4)](_0x47237a);return _0x151524 instanceof H?_0x151524:null;}[_0x3b6577(0x273)](_0x51797f=!0x1){const _0x117c6e=_0x3b6577;if(this[_0x117c6e(0x2ec)]===null||this[_0x117c6e(0x225)]===null||this[_0x117c6e(0x4ab)]===null)return;let _0x3ae494=this[_0x117c6e(0x281)]();if((_0x3ae494==null?void 0x0:_0x3ae494['drawingType'])!==u[_0x117c6e(0x400)][_0x117c6e(0x223)]||!_0x3ae494[_0x117c6e(0x425)])return;let _0x22db9a=this['_docsShapeService'][_0x117c6e(0x53c)](this[_0x117c6e(0x2ec)],this['_subUnitId'],this[_0x117c6e(0x4ab)]);if(!_0x22db9a||_0x22db9a[_0x117c6e(0x269)]())return;(_0x51797f||!this[_0x117c6e(0x57c)])&&(this[_0x117c6e(0x57c)]=this['_getShapeAdjustPointListById'](this[_0x117c6e(0x2ec)],this[_0x117c6e(0x225)],this[_0x117c6e(0x4ab)]));let _0x81a60e=this[_0x117c6e(0x57c)];if(!(_0x81a60e!=null&&_0x81a60e[_0x117c6e(0x254)]))return;let {scene:_0x141da2}=this[_0x117c6e(0x349)],{left:_0x26c798=0x0,top:_0x5de3a3=0x0,width:_0x674980=0x0,height:_0xa36c51=0x0,flipX:_0x37c15d,flipY:_0x3f6122,angle:_0x53bc40=0x0}=_0x3ae494[_0x117c6e(0x425)];for(let _0x53ad39 of _0x81a60e){let _0x459329=this[_0x117c6e(0x30c)](_0x53ad39,_0x674980,_0xa36c51,!!_0x37c15d,!!_0x3f6122,_0x53bc40);this[_0x117c6e(0x2f9)](_0x141da2,_0x459329,_0x459329[_0x117c6e(0x4f1)],_0x26c798,_0x5de3a3,this[_0x117c6e(0x2ec)],this[_0x117c6e(0x225)]);}}[_0x3b6577(0x30c)](_0x469ecf,_0x109b42,_0x182f7e,_0x45f013,_0x4a5b7e,_0x40c004){const _0xa36f4f=_0x3b6577;let _0x557584=_0x469ecf['x'],_0x380e94=_0x469ecf['y'];if(_0x45f013&&(_0x557584=_0x109b42-_0x557584),_0x4a5b7e&&(_0x380e94=_0x182f7e-_0x380e94),_0x40c004!==0x0){let _0x2895bc=_0x109b42/0x2,_0x57a268=_0x182f7e/0x2,_0x3e6188=_0x40c004*Math['PI']/0xb4,_0xdaa0f9=Math[_0xa36f4f(0x35a)](_0x3e6188),_0x2dab52=Math[_0xa36f4f(0x53e)](_0x3e6188),_0x2af678=_0x557584-_0x2895bc,_0x319a31=_0x380e94-_0x57a268;_0x557584=_0x2895bc+(_0x2af678*_0xdaa0f9-_0x319a31*_0x2dab52),_0x380e94=_0x57a268+(_0x2af678*_0x2dab52+_0x319a31*_0xdaa0f9);}return{'x':_0x557584,'y':_0x380e94,'adjName':_0x469ecf['adjName']};}[_0x3b6577(0x2d8)](_0x4fc376=!0x1){const _0x520709=_0x3b6577;_0x4fc376&&this[_0x520709(0x41a)](),this[_0x520709(0x273)](_0x4fc376);}[_0x3b6577(0x2f9)](_0x294d40,_0x334428,_0x11394a,_0x151034,_0x319116,_0x39d6e3,_0xe42d17){const _0x42cca4=_0x3b6577;if(!this[_0x42cca4(0x4ab)])return;let _0x102101='doc-shape-adjust-point-'+this[_0x42cca4(0x4ab)]+'-'+_0x11394a,_0x423494=_0x294d40[_0x42cca4(0x1a4)](_0x102101);if(_0x423494){_0x423494['transformByState']({'left':_0x334428['x']+_0x151034-c['ShapeDefaultConfig'][_0x42cca4(0x4eb)],'top':_0x334428['y']+_0x319116-c[_0x42cca4(0x44a)][_0x42cca4(0x4eb)]}),_0x423494[_0x42cca4(0x147)](!0x0);return;}let _0x5f102b=new Pe(_0x102101,{'left':_0x334428['x']+_0x151034-c[_0x42cca4(0x44a)][_0x42cca4(0x4eb)],'top':_0x334428['y']+_0x319116-c['ShapeDefaultConfig']['adjHandleSize'],'adjName':_0x11394a,'shapeId':this[_0x42cca4(0x4ab)],'unitId':_0x39d6e3,'subUnitId':_0xe42d17,'width':c[_0x42cca4(0x44a)][_0x42cca4(0x4eb)]+0x8,'height':c['ShapeDefaultConfig'][_0x42cca4(0x4eb)]+0x8,'zIndex':p[_0x42cca4(0x443)]+0x1,'evented':!0x0});this[_0x42cca4(0x1d5)][_0x42cca4(0x4e5)](_0x5f102b),this['_attachAdjustEvent'](_0x5f102b,_0x294d40,_0x11394a),_0x294d40[_0x42cca4(0x152)](_0x5f102b,p[_0x42cca4(0x443)]+0x1);}['_clearShapeAdjustControls'](){const _0x12b1c4=_0x3b6577;this[_0x12b1c4(0x1d5)]['forEach'](_0x1ef45d=>_0x1ef45d['dispose']()),this[_0x12b1c4(0x1d5)]=[];}[_0x3b6577(0x576)](){const _0x1d276c=_0x3b6577;this[_0x1d276c(0x273)]();}['_toScenePoint'](_0x34be38,_0x3ffd93,_0x4f3548){const _0x254883=_0x3b6577;var _0x5c1c12,_0x599364;let _0x47757a=p[_0x254883(0x3c0)]['FromArray']([_0x3ffd93,_0x4f3548]),_0x26aa54=(_0x5c1c12=_0x34be38['getActiveViewportByCoord'](_0x47757a))==null?_0x34be38['getViewports']()[0x0]:_0x5c1c12;return(_0x599364=_0x26aa54==null?void 0x0:_0x26aa54[_0x254883(0x1f4)](_0x47757a))==null?_0x47757a:_0x599364;}[_0x3b6577(0x43e)](_0xe473e0,_0x4840bd,_0x47261c){const _0x4ae924=_0x3b6577;this['disposeWithMe']((0x0,u['toDisposable'])(_0xe473e0[_0x4ae924(0x1ff)][_0x4ae924(0x25c)]((_0x22612f,_0x139be7)=>{const _0x516dea=_0x4ae924;var _0xb715c,_0x268275,_0x28da64,_0x11fe18;let _0x329dbe=_0xe473e0[_0x516dea(0x41e)]();this[_0x516dea(0x4ba)]=this[_0x516dea(0x474)](_0x329dbe[_0x516dea(0x424)],_0x329dbe[_0x516dea(0x21b)],_0x329dbe['drawingId'],_0x47261c),this[_0x516dea(0x43d)]=this[_0x516dea(0x372)][_0x516dea(0x53c)](_0x329dbe[_0x516dea(0x424)],_0x329dbe['subUnitId'],_0x329dbe[_0x516dea(0x366)]);let _0x142dd0=this[_0x516dea(0x281)](),_0x4c7c3b=_0x142dd0==null?void 0x0:_0x142dd0[_0x516dea(0x425)];if(!_0x142dd0||!_0x4c7c3b||!this[_0x516dea(0x43d)])return;this[_0x516dea(0x5be)]=_0x4c7c3b[_0x516dea(0x1f0)]||0x0,this[_0x516dea(0x48b)]=_0x4c7c3b['top']||0x0,this[_0x516dea(0x278)]=_0x4c7c3b[_0x516dea(0x3ed)]||0x0,this['_baseShapeHeight']=_0x4c7c3b[_0x516dea(0x4e0)]||0x0;let _0x5e5f8d=!!_0x4c7c3b['flipX'],_0x1b088f=!!_0x4c7c3b['flipY'],_0x5ec454=_0x4c7c3b[_0x516dea(0x2d0)]||0x0,_0x3f2c59=((_0xb715c=this[_0x516dea(0x4ba)])==null?void 0x0:_0xb715c['gdRefX'])||((_0x268275=this[_0x516dea(0x4ba)])==null?void 0x0:_0x268275[_0x516dea(0x1a7)])||((_0x28da64=this[_0x516dea(0x4ba)])==null?void 0x0:_0x28da64[_0x516dea(0x345)])||((_0x11fe18=this['_activeAdjustInfo'])==null?void 0x0:_0x11fe18['gdRefR'])||_0x47261c,_0x4a6a5e=this['_activeShapeModel']['getAdjustValueByName'](_0x3f2c59),_0x2ddd89={[_0x3f2c59]:_0x4a6a5e};this['_isStartAdjusting']=!0x0,_0x4840bd['disableObjectsEvent'](),this[_0x516dea(0x18c)]=_0x4840bd[_0x516dea(0x263)][_0x516dea(0x25c)]((_0x32bf76,_0x42625f)=>{const _0x9eff55=_0x516dea;var _0x4898ac;if(!this[_0x9eff55(0x5e0)]||!this['_activeShapeModel']||!this['_activeAdjustInfo'])return;_0x4840bd[_0x9eff55(0x21c)](),_0x4840bd[_0x9eff55(0x186)](p[_0x9eff55(0xe4)][_0x9eff55(0x3ff)]);let _0xb33b21=this[_0x9eff55(0x1af)](_0x4840bd,_0x32bf76[_0x9eff55(0x58d)],_0x32bf76['offsetY']),_0x2cd9af=_0xb33b21['x']-this[_0x9eff55(0x5be)],_0x396a3c=_0xb33b21['y']-this[_0x9eff55(0x48b)];if(_0x5ec454!==0x0){let _0x3bfe92=this[_0x9eff55(0x278)]/0x2,_0x575dd9=this[_0x9eff55(0x529)]/0x2,_0x1016eb=_0x5ec454*Math['PI']/0xb4,_0x548ab0=Math[_0x9eff55(0x35a)](_0x1016eb),_0x43baed=Math['sin'](_0x1016eb),_0x21a538=_0x2cd9af-_0x3bfe92,_0x3cea9b=_0x396a3c-_0x575dd9;_0x2cd9af=_0x3bfe92+(_0x21a538*_0x548ab0+_0x3cea9b*_0x43baed),_0x396a3c=_0x575dd9+(-_0x21a538*_0x43baed+_0x3cea9b*_0x548ab0);}_0x5e5f8d&&(_0x2cd9af=this[_0x9eff55(0x278)]-_0x2cd9af),_0x1b088f&&(_0x396a3c=this[_0x9eff55(0x529)]-_0x396a3c);let _0x19071a={'left':0x0,'top':0x0,'width':this[_0x9eff55(0x278)],'height':this[_0x9eff55(0x529)]},_0x369918=this[_0x9eff55(0x43d)][_0x9eff55(0x33b)](_0x19071a,{'x':_0x2cd9af,'y':_0x396a3c},this['_activeAdjustInfo'],_0x5e5f8d,_0x1b088f),_0x59312c=this['_activeAdjustInfo']['gdRefX']||this['_activeAdjustInfo'][_0x9eff55(0x1a7)]||this[_0x9eff55(0x4ba)][_0x9eff55(0x345)]||this['_activeAdjustInfo'][_0x9eff55(0x394)];_0x59312c!==void 0x0&&(this[_0x9eff55(0x43d)][_0x9eff55(0x3d1)](_0x59312c,_0x369918),(_0x4898ac=this[_0x9eff55(0x35d)](_0x4840bd))==null||_0x4898ac[_0x9eff55(0x147)](!0x0),this[_0x9eff55(0x57c)]=this['_getShapeAdjustPointListById'](_0x329dbe[_0x9eff55(0x424)],_0x329dbe['subUnitId'],_0x329dbe[_0x9eff55(0x366)]),this[_0x9eff55(0x576)](),_0x42625f[_0x9eff55(0x488)]());}),this['_adjHandlerPointerUp']=_0x4840bd[_0x516dea(0x420)][_0x516dea(0x25c)]((_0x51c6dc,_0x587677)=>{const _0x5bbd48=_0x516dea;var _0x73ba60,_0x526f58;(_0x73ba60=this[_0x5bbd48(0x18c)])==null||_0x73ba60[_0x5bbd48(0x52b)](),(_0x526f58=this['_adjHandlerPointerUp'])==null||_0x526f58[_0x5bbd48(0x52b)](),_0x4840bd['resetCursor']();let _0x54c726=this[_0x5bbd48(0x4ba)];if(_0x54c726&&this[_0x5bbd48(0x43d)]){let _0x5cc53e=_0x54c726[_0x5bbd48(0x283)]||_0x54c726[_0x5bbd48(0x1a7)]||_0x54c726[_0x5bbd48(0x345)]||_0x54c726[_0x5bbd48(0x394)];if(_0x5cc53e!==void 0x0){let _0x377094=this[_0x5bbd48(0x43d)][_0x5bbd48(0x31b)](_0x5cc53e);_0x377094!==void 0x0&&z(this[_0x5bbd48(0x379)],_0x329dbe[_0x5bbd48(0x424)],_0x329dbe[_0x5bbd48(0x21b)],_0x329dbe[_0x5bbd48(0x366)],{'oldShapeData':{'adjustValues':_0x2ddd89}},{'adjustValues':{[_0x5cc53e]:_0x377094}});}}this[_0x5bbd48(0x4ba)]=void 0x0,this[_0x5bbd48(0x43d)]=void 0x0,this[_0x5bbd48(0x5e0)]=!0x1,_0x4840bd['enableObjectsEvent'](),_0x587677['stopPropagation']();}),_0x139be7[_0x516dea(0x488)]();})));}[_0x3b6577(0x3a7)](){const _0x1ee5f6=_0x3b6577;let {scene:_0x2f172c}=this[_0x1ee5f6(0x349)],_0x9247b5=_0x2f172c[_0x1ee5f6(0x194)]();this[_0x1ee5f6(0x21f)](_0x9247b5[_0x1ee5f6(0x329)]['subscribe'](_0x1ea8ca=>{const _0xe41efb=_0x1ee5f6;this[_0xe41efb(0x273)](),_0x1ea8ca[_0xe41efb(0x44e)]!==null&&_0x1ea8ca[_0xe41efb(0x44e)]['size']===0x1&&_0x1ea8ca[_0xe41efb(0x44e)][_0xe41efb(0x356)]()[_0xe41efb(0x40a)]()[_0xe41efb(0x5e4)]instanceof H&&(this[_0xe41efb(0x1f8)]=!0x0);})),this['disposeWithMe'](_0x9247b5[_0x1ee5f6(0x4d7)][_0x1ee5f6(0x451)](()=>{const _0x41cea7=_0x1ee5f6;this[_0x41cea7(0x1f8)]&&this[_0x41cea7(0x41a)]();})),this['disposeWithMe'](_0x2f172c[_0x1ee5f6(0x420)][_0x1ee5f6(0x25c)](()=>{const _0x58a418=_0x1ee5f6;this[_0x58a418(0x1f8)]&&(this['_isShouldShowDrawingShapeAdjust']=!0x1,this[_0x58a418(0x273)]());})),this[_0x1ee5f6(0x21f)](_0x9247b5[_0x1ee5f6(0x392)]['subscribe'](()=>{const _0x3005fd=_0x1ee5f6;this[_0x3005fd(0x2ec)]&&this['_subUnitId']&&this[_0x3005fd(0x4ab)]&&(this[_0x3005fd(0x57c)]=this['_getShapeAdjustPointListById'](this[_0x3005fd(0x2ec)],this[_0x3005fd(0x225)],this[_0x3005fd(0x4ab)]),this[_0x3005fd(0x576)]());}));}[_0x3b6577(0xd1)](){const _0x26c909=_0x3b6577;this['disposeWithMe'](this[_0x26c909(0x3f4)][_0x26c909(0x36d)][_0x26c909(0x451)](_0x334ea5=>{const _0x228934=_0x26c909;if(_0x334ea5[_0x228934(0x254)]===0x1){let _0x39be40=_0x334ea5[0x0],_0x33fadd=this[_0x228934(0x3f4)]['getDrawingByParam'](_0x39be40);if((_0x33fadd==null?void 0x0:_0x33fadd[_0x228934(0xea)])===u['DrawingTypeEnum'][_0x228934(0x223)]){this[_0x228934(0x4ab)]=_0x39be40[_0x228934(0x366)],this['_unitId']=_0x39be40[_0x228934(0x424)],this[_0x228934(0x225)]=_0x39be40[_0x228934(0x21b)],this[_0x228934(0x57c)]=this[_0x228934(0x2cd)](_0x39be40[_0x228934(0x424)],_0x39be40['subUnitId'],_0x39be40[_0x228934(0x366)]),this[_0x228934(0x41a)](),this[_0x228934(0x273)]();return;}}this['_activeShapeId']=null,this[_0x228934(0x57c)]=void 0x0,this['_unitId']=null,this[_0x228934(0x225)]=null,this[_0x228934(0x41a)]();})),this['disposeWithMe'](this[_0x26c909(0x3f4)]['update$']['subscribe'](_0x32dc23=>{const _0x1b7f5c=_0x26c909;if(_0x32dc23[_0x1b7f5c(0x254)]===0x1){var _0x29031f;((_0x29031f=this['_drawingManagerService'][_0x1b7f5c(0x212)](_0x32dc23[0x0]))==null?void 0x0:_0x29031f['drawingType'])===u['DrawingTypeEnum'][_0x1b7f5c(0x223)]&&this['_updateShapeAdjustControls'](!0x0);}})),this[_0x26c909(0x21f)](this['_drawingManagerService'][_0x26c909(0x189)][_0x26c909(0x451)](_0x37d8de=>{const _0x43b84f=_0x26c909;for(let _0x40a318 of _0x37d8de)this[_0x43b84f(0x4ab)]===_0x40a318[_0x43b84f(0x366)]&&(this[_0x43b84f(0x4ab)]=null,this[_0x43b84f(0x57c)]=void 0x0,this[_0x43b84f(0x2ec)]=null,this[_0x43b84f(0x225)]=null,this[_0x43b84f(0x41a)]());}));}};Fe=W([U(0x1,m['IDrawingManagerService']),U(0x2,(0x0,u[_0x3b6577(0x192)])(l[_0x3b6577(0x1fc)])),U(0x3,u[_0x3b6577(0x243)])],Fe);function Ie(_0x166d0b,_0x2a3341){const _0x4d65f9=_0x3b6577;let _0x26eef3=_0x166d0b;for(;_0x26eef3;){if(_0x2a3341(_0x26eef3))return _0x26eef3;_0x26eef3=typeof _0x26eef3[_0x4d65f9(0x559)]=='function'?_0x26eef3[_0x4d65f9(0x559)]():null;}return null;}function Le(_0x114967){return Ie(_0x114967,_0x2497c8=>_0x2497c8 instanceof H);}let Re=class extends u['Disposable']{constructor(_0x2a8a3c,_0x34d2e8,_0xa805a9,_0x2d4422,_0x581ddb){const _0x16faf7=_0x3b6577;super(),this[_0x16faf7(0x349)]=_0x2a8a3c,this['_shapeTextEditingService']=_0x34d2e8,this[_0x16faf7(0x3f4)]=_0xa805a9,this[_0x16faf7(0x284)]=_0x2d4422,this[_0x16faf7(0x372)]=_0x581ddb,L(this,_0x16faf7(0x2f5),null),this[_0x16faf7(0x2b8)](),this[_0x16faf7(0x4a7)](),this['_initEditingParams']();}['_initEvents'](){const _0x157183=_0x3b6577;let {scene:_0x3b86d7}=this[_0x157183(0x349)];this[_0x157183(0x21f)](_0x3b86d7['onDblclick$'][_0x157183(0x25c)](_0x1adaf1=>{const _0x205386=_0x157183;var _0x159a2e;let {offsetX:_0x16c8ef,offsetY:_0x35d7a3}=_0x1adaf1,_0x3ec476=p[_0x205386(0x3c0)]['FromArray']([_0x16c8ef,_0x35d7a3]),_0x62b3ae=(_0x159a2e=Le(_0x3b86d7[_0x205386(0x1dc)](_0x3ec476)))==null?this[_0x205386(0x3e0)](_0x3ec476):_0x159a2e;if(_0x62b3ae){if((0x0,c[_0x205386(0x448)])(this['_docsShapeService']['getShapeType'](_0x62b3ae[_0x205386(0x424)],_0x62b3ae[_0x205386(0x21b)],_0x62b3ae[_0x205386(0x24f)])))return;this[_0x205386(0x51f)][_0x205386(0x52d)]({'visible':!0x0,'unitId':_0x62b3ae[_0x205386(0x424)],'subUnitId':_0x62b3ae[_0x205386(0x21b)],'shapeId':_0x62b3ae[_0x205386(0x24f)],'shapeKey':_0x62b3ae[_0x205386(0x12b)]});}}));}[_0x3b6577(0x3e0)](_0x3761d2){const _0x4a8b2e=_0x3b6577;let {scene:_0x335e42}=this[_0x4a8b2e(0x349)],_0x387d0b=this[_0x4a8b2e(0x3f4)][_0x4a8b2e(0x321)]()[_0x4a8b2e(0x567)](_0x89df5=>_0x335e42[_0x4a8b2e(0x1a4)]((0x0,m[_0x4a8b2e(0x56e)])(_0x89df5)))[_0x4a8b2e(0x276)](_0x4d0197=>_0x4d0197 instanceof H&&_0x4d0197[_0x4a8b2e(0x266)](_0x3761d2));return _0x387d0b==null?null:_0x387d0b;}[_0x3b6577(0x4a7)](){const _0x1fbd33=_0x3b6577;this[_0x1fbd33(0x21f)](this[_0x1fbd33(0x3f4)]['focus$'][_0x1fbd33(0x451)](_0x51e183=>{const _0x5461e6=_0x1fbd33;if(_0x51e183[_0x5461e6(0x254)]===0x1){let _0x23985a=_0x51e183[0x0],_0x57c9f0=this[_0x5461e6(0x3f4)]['getDrawingByParam'](_0x23985a);if((_0x57c9f0==null?void 0x0:_0x57c9f0['drawingType'])===u[_0x5461e6(0x400)][_0x5461e6(0x223)]){let _0x10a516=this[_0x5461e6(0x51f)][_0x5461e6(0x568)]();if((_0x10a516==null?void 0x0:_0x10a516[_0x5461e6(0x24f)])===_0x23985a[_0x5461e6(0x366)]&&_0x10a516[_0x5461e6(0x3c3)])return;(0x0,c[_0x5461e6(0x448)])(this['_docsShapeService'][_0x5461e6(0x53a)](_0x23985a[_0x5461e6(0x424)],_0x23985a['subUnitId'],_0x23985a[_0x5461e6(0x366)]))&&this[_0x5461e6(0x51f)][_0x5461e6(0x52d)](null);}else this[_0x5461e6(0x51f)][_0x5461e6(0x568)]()&&(this['_shapeTextEditingService'][_0x5461e6(0x516)](!0x0),requestAnimationFrame(()=>{const _0x3f7c41=_0x5461e6;this[_0x3f7c41(0x51f)][_0x3f7c41(0x52d)](null);}));}else this['_shapeTextEditingService'][_0x5461e6(0x568)]()&&(this['_shapeTextEditingService']['setOnSavingEditorData'](!0x0),requestAnimationFrame(()=>{this['_shapeTextEditingService']['setEditing'](null);}));})),this[_0x1fbd33(0x21f)](this[_0x1fbd33(0x3f4)][_0x1fbd33(0x189)][_0x1fbd33(0x451)](_0x122038=>{const _0x2995ec=_0x1fbd33;let _0x1f76dd=this['_shapeTextEditingService'][_0x2995ec(0x568)]();_0x1f76dd&&_0x122038[_0x2995ec(0x19d)](_0xc8f636=>_0xc8f636[_0x2995ec(0x366)]===_0x1f76dd[_0x2995ec(0x24f)])&&this[_0x2995ec(0x51f)][_0x2995ec(0x52d)](null);}));}[_0x3b6577(0x13b)](){const _0x3b4874=_0x3b6577;this[_0x3b4874(0x21f)](this[_0x3b4874(0x51f)][_0x3b4874(0x1ec)]['subscribe'](_0x4f4e89=>{const _0x4b3298=_0x3b4874;let {scene:_0x2693a7}=this[_0x4b3298(0x349)];if(this[_0x4b3298(0x2f5)]){let _0x5460f9=_0x2693a7[_0x4b3298(0x1a4)](this[_0x4b3298(0x2f5)]);_0x5460f9&&_0x5460f9[_0x4b3298(0x52d)](!0x1);}if(_0x4f4e89){let _0x45f074=!!_0x4f4e89[_0x4b3298(0x3c3)],_0x249621=_0x2693a7[_0x4b3298(0x1a4)](_0x4f4e89[_0x4b3298(0x249)]);_0x249621&&(_0x249621[_0x4b3298(0x52d)](_0x45f074),this[_0x4b3298(0x2f5)]=_0x4f4e89[_0x4b3298(0x249)]),this[_0x4b3298(0x284)][_0x4b3298(0x449)](u[_0x4b3298(0x102)],_0x45f074);}else this[_0x4b3298(0x2f5)]=null,this[_0x4b3298(0x284)][_0x4b3298(0x449)](u[_0x4b3298(0x102)],!0x1);}));}};Re=W([U(0x1,(0x0,u[_0x3b6577(0x192)])(R)),U(0x2,m[_0x3b6577(0x539)]),U(0x3,u[_0x3b6577(0x5d0)]),U(0x4,(0x0,u[_0x3b6577(0x192)])(l[_0x3b6577(0x1fc)]))],Re);const ze=[f[_0x3b6577(0x5a1)],f[_0x3b6577(0x535)]['id'],f[_0x3b6577(0x128)]['id'],f[_0x3b6577(0x453)]['id'],f[_0x3b6577(0x39f)]['id'],f[_0x3b6577(0x5da)]['id'],f[_0x3b6577(0x2a3)]['id'],f[_0x3b6577(0x5db)]['id'],f['SetInlineFormatTextColorCommand']['id'],f[_0x3b6577(0x504)]['id']];function Be(){const _0x2cc683=_0x3b6577;let _0x3db042=(0x0,g[_0x2cc683(0x19e)])(g[_0x2cc683(0x303)]),[_0x560410,_0x18a5b3]=(0x0,y[_0x2cc683(0x4b2)])([]);return(0x0,y[_0x2cc683(0x531)])(()=>{const _0x1a0cfb=_0x2cc683;function _0x37ae4c(){const _0x2e6c9c=_0x1a94;let _0x18b083=[..._0x3db042[_0x2e6c9c(0x496)](f[_0x2e6c9c(0x581)]),..._0x3db042['getFlatMenuByPositionKey'](g[_0x2e6c9c(0x43c)][_0x2e6c9c(0x556)])];_0x18a5b3(ze[_0x2e6c9c(0x567)](_0x3da3be=>_0x18b083[_0x2e6c9c(0x276)](_0x3edff1=>_0x3edff1['key']===_0x3da3be))[_0x2e6c9c(0x452)](_0x56a9f4=>!!(_0x56a9f4!=null&&_0x56a9f4[_0x2e6c9c(0x1b8)])));}_0x37ae4c();let _0x3fd93b=_0x3db042[_0x1a0cfb(0x49b)][_0x1a0cfb(0x451)](_0x37ae4c);return()=>_0x3fd93b[_0x1a0cfb(0x52b)]();},[_0x3db042]),(0x0,x['jsx'])(_0x2cc683(0x577),{'className':(0x0,v[_0x2cc683(0x2c3)])(_0x2cc683(0x1ef),v[_0x2cc683(0x518)]),'children':_0x560410['map'](_0x436a4c=>_0x436a4c['item']&&(0x0,x[_0x2cc683(0x4e3)])(_0x2cc683(0x577),{'className':_0x2cc683(0x31c),'children':(0x0,x[_0x2cc683(0x4e3)])(g['ToolbarItem'],{..._0x436a4c['item']},_0x436a4c[_0x2cc683(0x375)])},_0x436a4c['key']))});}const Ve=_0x3b6577(0x1c3);function He(_0x42a67e,_0x49e3f9){const _0x2f0677=_0x3b6577;if(_0x42a67e==null||_0x49e3f9==null)return!0x1;let {glyph:_0x1e5e11,..._0x1e11a4}=_0x42a67e,{glyph:_0x5abe3e,..._0x32aa34}=_0x49e3f9;return(0x0,u[_0x2f0677(0x13d)])(_0x1e11a4,_0x32aa34);}let Ue=class extends u[_0x3b6577(0x1ac)]{constructor(_0x1668b9,_0x466dfb,_0x2c1366,_0x2beae4,_0xb22fe5){const _0xf5c495=_0x3b6577;super(),this['_context']=_0x1668b9,this[_0xf5c495(0x3fe)]=_0x466dfb,this['_docCanvasPopManagerService']=_0x2c1366,this[_0xf5c495(0x136)]=_0x2beae4,this['_docSelectionRenderService']=_0xb22fe5,L(this,_0xf5c495(0x187),null),this['_context'][_0xf5c495(0x424)]===P&&(this[_0xf5c495(0x21f)](this[_0xf5c495(0x136)][_0xf5c495(0x455)](Ve,Be)),this[_0xf5c495(0x26e)](),this[_0xf5c495(0x21f)](()=>this[_0xf5c495(0x5eb)]()));}[_0x3b6577(0x26e)](){const _0x3b6dfc=_0x3b6577;this[_0x3b6dfc(0x21f)](this[_0x3b6dfc(0x5a6)]['onSelectionStart$']['subscribe'](()=>{const _0x48dab8=_0x3b6dfc;this[_0x48dab8(0x5eb)]();})),this[_0x3b6dfc(0x21f)](this[_0x3b6dfc(0x3fe)][_0x3b6dfc(0x1e0)][_0x3b6dfc(0x451)](_0x34e571=>{const _0x1f9148=_0x3b6dfc;var _0x2ff9c3,_0x42152d;let {unitId:_0x2c7c38,textRanges:_0x34962a}=_0x34e571;if(_0x2c7c38!==this[_0x1f9148(0x349)][_0x1f9148(0x424)])return;let _0x2bf4be=_0x34962a[_0x1f9148(0x276)](_0xfd4b88=>!_0xfd4b88[_0x1f9148(0x5a4)]);if(!_0x2bf4be){this[_0x1f9148(0x5eb)]();return;}_0x2bf4be[_0x1f9148(0x4e9)]===((_0x2ff9c3=this[_0x1f9148(0x187)])==null?void 0x0:_0x2ff9c3[_0x1f9148(0x33f)])&&_0x2bf4be[_0x1f9148(0x458)]===((_0x42152d=this[_0x1f9148(0x187)])==null?void 0x0:_0x42152d[_0x1f9148(0x2b2)])||(this[_0x1f9148(0x5eb)](),this['_showFloatMenu'](_0x2c7c38,_0x2bf4be));}));}[_0x3b6577(0x5eb)](){const _0x543672=_0x3b6577;var _0x5c32bc;(_0x5c32bc=this[_0x543672(0x187)])==null||_0x5c32bc[_0x543672(0x248)][_0x543672(0x318)](),this[_0x543672(0x187)]=null;}[_0x3b6577(0x4c7)](_0x143b55,_0x1c384a){const _0x4f5df3=_0x3b6577;this['_floatMenu']={'disposable':this[_0x4f5df3(0x3aa)]['attachPopupToRange'](_0x1c384a,{'componentKey':Ve,'direction':_0x1c384a[_0x4f5df3(0x598)]===_0x4f5df3(0x2f0)||He(_0x1c384a['startNodePosition'],_0x1c384a[_0x4f5df3(0x2d2)])?_0x4f5df3(0x3d2):_0x4f5df3(0x53f),'offset':[0x0,0x4]},_0x143b55),'start':_0x1c384a[_0x4f5df3(0x4e9)],'end':_0x1c384a['endOffset']};}};Ue=W([U(0x1,(0x0,u[_0x3b6577(0x192)])(C[_0x3b6577(0xcf)])),U(0x2,(0x0,u[_0x3b6577(0x192)])(f[_0x3b6577(0x36a)])),U(0x3,(0x0,u['Inject'])(g[_0x3b6577(0x489)])),U(0x4,(0x0,u[_0x3b6577(0x192)])(f[_0x3b6577(0x2ee)]))],Ue);function We(_0x47a3f1,_0xf5152c){const _0x52ca1f=_0x3b6577;return{'top':0x0,'left':0x0,'width':_0x47a3f1,'height':_0xf5152c,'borderColor':_0x52ca1f(0x51b),'outlineColor':'transparent','backgroundColor':_0x52ca1f(0x51b)};}function Ge(_0x1ca382){const _0x15df28=_0x3b6577;var _0x289592,_0x503d4f;let _0x4b5ea2=_0x1ca382==null||(_0x289592=_0x1ca382[_0x15df28(0x25a)])==null||(_0x503d4f=_0x289592[_0x15df28(0x116)])==null?void 0x0:_0x503d4f[_0x15df28(0x47a)](_0x289592);_0x4b5ea2&&(_0x4b5ea2['style'][_0x15df28(0x14d)]=_0x15df28(0x51b));}function Ke(_0x267caf){const _0x31b556=_0x3b6577;let _0x3dbb0f=g['MetaKeys']['CTRL_COMMAND'],_0x53f1dd=g['MetaKeys'][_0x31b556(0x5df)]|g[_0x31b556(0xec)][_0x31b556(0x430)];return{'keyCodes':[{'keyCode':g['KeyCode'][_0x31b556(0x22d)]},{'keyCode':g[_0x31b556(0x47c)][_0x31b556(0x3e7)]},{'keyCode':g[_0x31b556(0x47c)][_0x31b556(0x406)]},{'keyCode':g[_0x31b556(0x47c)]['A'],'metaKey':_0x3dbb0f},{'keyCode':g[_0x31b556(0x47c)]['B'],'metaKey':_0x3dbb0f},{'keyCode':g[_0x31b556(0x47c)]['I'],'metaKey':_0x3dbb0f},{'keyCode':g[_0x31b556(0x47c)]['U'],'metaKey':_0x3dbb0f},{'keyCode':g['KeyCode']['X'],'metaKey':_0x53f1dd},{'keyCode':g[_0x31b556(0x47c)][_0x31b556(0x36e)],'metaKey':_0x3dbb0f},{'keyCode':g[_0x31b556(0x47c)][_0x31b556(0x542)],'metaKey':_0x3dbb0f},{'keyCode':g[_0x31b556(0x47c)]['L'],'metaKey':_0x53f1dd},{'keyCode':g['KeyCode']['R'],'metaKey':_0x53f1dd},{'keyCode':g[_0x31b556(0x47c)]['E'],'metaKey':_0x53f1dd},{'keyCode':g['KeyCode']['J'],'metaKey':_0x53f1dd},{'keyCode':g['KeyCode']['Digit7'],'metaKey':_0x53f1dd},{'keyCode':g[_0x31b556(0x47c)][_0x31b556(0x2bb)],'metaKey':_0x53f1dd},{'keyCode':g['KeyCode']['Z'],'metaKey':_0x3dbb0f},{'keyCode':g[_0x31b556(0x47c)]['Y'],'metaKey':_0x3dbb0f},{'keyCode':g['KeyCode']['Z'],'metaKey':_0x53f1dd}],'handler':(_0x16a3f7,_0xe5a6da)=>{const _0x3bf15f=_0x31b556;switch(_0x16a3f7+':'+(_0xe5a6da==null?0x0:_0xe5a6da)){case g[_0x3bf15f(0x47c)][_0x3bf15f(0x22d)]+':0':_0x267caf[_0x3bf15f(0x5e8)](f[_0x3bf15f(0x393)]['id']);break;case g[_0x3bf15f(0x47c)][_0x3bf15f(0x3e7)]+':0':_0x267caf[_0x3bf15f(0x5e8)](f[_0x3bf15f(0x46d)]['id']);break;case g['KeyCode'][_0x3bf15f(0x406)]+':0':_0x267caf[_0x3bf15f(0x5e8)](f[_0x3bf15f(0x241)]['id']);break;case g[_0x3bf15f(0x47c)]['A']+':'+_0x3dbb0f:_0x267caf[_0x3bf15f(0x5e8)](f[_0x3bf15f(0x38c)]['id']);break;case g[_0x3bf15f(0x47c)]['B']+':'+_0x3dbb0f:_0x267caf[_0x3bf15f(0x5e8)](f[_0x3bf15f(0x128)]['id']);break;case g['KeyCode']['I']+':'+_0x3dbb0f:_0x267caf[_0x3bf15f(0x5e8)](f[_0x3bf15f(0x453)]['id']);break;case g[_0x3bf15f(0x47c)]['U']+':'+_0x3dbb0f:_0x267caf[_0x3bf15f(0x5e8)](f['SetInlineFormatUnderlineCommand']['id']);break;case g[_0x3bf15f(0x47c)]['X']+':'+_0x53f1dd:_0x267caf[_0x3bf15f(0x5e8)](f[_0x3bf15f(0x5da)]['id']);break;case g[_0x3bf15f(0x47c)][_0x3bf15f(0x36e)]+':'+_0x3dbb0f:_0x267caf[_0x3bf15f(0x5e8)](f[_0x3bf15f(0x2a3)]['id']);break;case g['KeyCode'][_0x3bf15f(0x542)]+':'+_0x3dbb0f:_0x267caf[_0x3bf15f(0x5e8)](f[_0x3bf15f(0x5db)]['id']);break;case g[_0x3bf15f(0x47c)]['L']+':'+_0x53f1dd:_0x267caf[_0x3bf15f(0x5e8)](f[_0x3bf15f(0x376)]['id']);break;case g[_0x3bf15f(0x47c)]['R']+':'+_0x53f1dd:_0x267caf[_0x3bf15f(0x5e8)](f[_0x3bf15f(0x494)]['id']);break;case g[_0x3bf15f(0x47c)]['E']+':'+_0x53f1dd:_0x267caf['executeCommand'](f[_0x3bf15f(0x26f)]['id']);break;case g[_0x3bf15f(0x47c)]['J']+':'+_0x53f1dd:_0x267caf[_0x3bf15f(0x5e8)](f['AlignJustifyCommand']['id']);break;case g[_0x3bf15f(0x47c)][_0x3bf15f(0x20a)]+':'+_0x53f1dd:_0x267caf[_0x3bf15f(0x5e8)](f['OrderListCommand']['id']);break;case g[_0x3bf15f(0x47c)][_0x3bf15f(0x2bb)]+':'+_0x53f1dd:_0x267caf['executeCommand'](f[_0x3bf15f(0x22c)]['id']);break;case g[_0x3bf15f(0x47c)]['Z']+':'+_0x3dbb0f:_0x267caf['executeCommand'](u[_0x3bf15f(0x2b9)]['id']);break;case g[_0x3bf15f(0x47c)]['Y']+':'+_0x3dbb0f:case g['KeyCode']['Z']+':'+_0x53f1dd:_0x267caf[_0x3bf15f(0x5e8)](u['RedoCommand']['id']);break;}}};}const qe=function(_0x438af5){const _0x5aba63=_0x3b6577;let {containerWidth:_0x56e82e,containerHeight:_0x5be1b1,scaleX:_0x5a9a40,scaleY:_0x49f144}=_0x438af5,_0x42fc5d=_0x5a9a40||0x1,_0x381c0d=_0x49f144||0x1,_0x4c98ce=(0x0,g[_0x5aba63(0x19e)])(R),_0x496185=(0x0,g['useDependency'])(f[_0x5aba63(0x1d0)]),_0x484e15=(0x0,g[_0x5aba63(0x19e)])(p['IRenderManagerService']),_0x7810c9=(0x0,g[_0x5aba63(0x19e)])(u['IUniverInstanceService']),_0x49dbaf=(0x0,g[_0x5aba63(0x19e)])(m['IDrawingManagerService']),_0x374c74=(0x0,g[_0x5aba63(0x19e)])(l[_0x5aba63(0x1fc)]),_0x4dfeee=(0x0,g[_0x5aba63(0x19e)])(u[_0x5aba63(0x243)]),_0x5465ce=(0x0,g[_0x5aba63(0x279)])(_0x4c98ce[_0x5aba63(0x1ec)]),_0x453e32=(0x0,g[_0x5aba63(0x279)])(_0x4c98ce[_0x5aba63(0x142)]),_0x304f89=(0x0,y[_0x5aba63(0x362)])(null),_0x25fe11=(0x0,y[_0x5aba63(0x362)])(null),_0x3ecc44=(0x0,y[_0x5aba63(0x362)])(null),_0x4718f0=(0x0,y[_0x5aba63(0x362)])(null),_0x11abce=(0x0,y[_0x5aba63(0x362)])(null),_0x4cd19e=(0x0,y[_0x5aba63(0x362)])(null),[,_0x564142]=(0x0,y['useState'])({'editorHeight':_0x5be1b1,'marginTop':0x0,'useAbsolutePosition':!0x1}),_0xa88835=(0x0,y[_0x5aba63(0x341)])(_0x5920f1=>{queueMicrotask(()=>{_0x564142(_0x5920f1);});},[]),_0x52d406=(0x0,y[_0x5aba63(0x341)])(()=>_0x7810c9['getUnit'](P,u[_0x5aba63(0x2f8)]['UNIVER_DOC']),[_0x7810c9]),_0x16e4e7=(0x0,y[_0x5aba63(0x341)])(()=>{const _0x2bbadc=_0x5aba63;var _0x3f3ba9;let _0x3aeb0b=_0x42fc5d,_0x228fbf=_0x381c0d;if(!_0x5465ce)return{'scaleAdjust':0x1,'renderScaleX':_0x3aeb0b,'renderScaleY':_0x228fbf};let _0x4c900f=_0x484e15['getRenderById'](_0x5465ce[_0x2bbadc(0x424)]),_0x17498c=_0x4c900f==null?void 0x0:_0x4c900f[_0x2bbadc(0x492)][_0x2bbadc(0x322)](),_0x4eefdb=_0x4c900f==null?void 0x0:_0x4c900f['engine']['getCanvasElement'](),_0x508591=_0x4eefdb?Number[_0x2bbadc(0xd6)](_0x4eefdb['style']['width']||''):0x0,_0x1476d1=(_0x3f3ba9=_0x4eefdb==null?void 0x0:_0x4eefdb[_0x2bbadc(0x2c0)]()[_0x2bbadc(0x3ed)])==null?0x0:_0x3f3ba9,_0x24d4c1=_0x508591>0x0&&_0x1476d1>0x0?_0x1476d1/_0x508591:0x1;return{'scaleAdjust':Number['isFinite'](_0x24d4c1)&&_0x24d4c1>0x0?_0x24d4c1:0x1,'renderScaleX':(_0x17498c==null?void 0x0:_0x17498c[_0x2bbadc(0x230)])||_0x3aeb0b,'renderScaleY':(_0x17498c==null?void 0x0:_0x17498c[_0x2bbadc(0x155)])||_0x228fbf};},[_0x42fc5d,_0x381c0d,_0x5465ce,_0x484e15]),_0x4b400f=(0x0,y[_0x5aba63(0x341)])(()=>{const _0x5b06ec=_0x5aba63;if(!_0x5465ce)return{'left':0x0,'top':0x0,'width':_0x56e82e/_0x42fc5d,'height':_0x5be1b1/_0x381c0d};let {unitId:_0x2815a4,subUnitId:_0x53d751,shapeId:_0x4a580b}=_0x5465ce,_0x235783=_0x374c74['getShapeModel'](_0x2815a4,_0x53d751,_0x4a580b);if(!_0x235783)return{'left':0x0,'top':0x0,'width':_0x56e82e/_0x42fc5d,'height':_0x5be1b1/_0x381c0d};let _0x1c3461={'left':0x0,'top':0x0,'width':_0x56e82e/_0x42fc5d,'height':_0x5be1b1/_0x381c0d};return _0x235783[_0x5b06ec(0x5bd)](_0x1c3461);},[_0x5465ce,_0x56e82e,_0x5be1b1,_0x42fc5d,_0x381c0d,_0x374c74]),_0x434257=(0x0,y[_0x5aba63(0x341)])(()=>{const _0x11016c=_0x5aba63;if(!_0x5465ce)return null;let {unitId:_0x1255ce,subUnitId:_0x26bee0,shapeId:_0x544f5f}=_0x5465ce,_0x238375=_0x374c74[_0x11016c(0x53c)](_0x1255ce,_0x26bee0,_0x544f5f);if(!_0x238375)return null;let _0x50c451=_0x238375[_0x11016c(0x4b7)]();if(!_0x50c451)return null;let _0x3f7d54={'unitId':_0x1255ce,'subUnitId':_0x26bee0,'drawingId':_0x544f5f},_0x2716fc=_0x49dbaf[_0x11016c(0x212)](_0x3f7d54),_0x577a01={'angle':0x0,'flipX':!0x1,'flipY':!0x1};_0x2716fc&&_0x2716fc[_0x11016c(0x425)]&&(_0x577a01=_0x2716fc[_0x11016c(0x425)]);let _0x4b6e60={'left':0x0,'top':0x0,'width':_0x56e82e/_0x42fc5d,'height':_0x5be1b1/_0x381c0d},_0x517107=_0x238375['getShapeTextRect'](_0x4b6e60),_0x18d15a,_0x2715d3=u['VerticalAlign'][_0x11016c(0x170)],_0x5153be=u[_0x11016c(0xf9)]['LEFT'];if(_0x11016c(0x590)in _0x50c451&&_0x50c451[_0x11016c(0x590)]){var _0x5d768b,_0x378e55;let _0x1f2159=_0x50c451[_0x11016c(0x590)];_0x1f2159!=null&&_0x1f2159[_0x11016c(0xe0)]&&(_0x18d15a=_0x1f2159[_0x11016c(0xe0)]),_0x2715d3=(_0x5d768b=_0x1f2159==null?void 0x0:_0x1f2159['va'])==null?u[_0x11016c(0x3d9)][_0x11016c(0x170)]:_0x5d768b,_0x5153be=(_0x378e55=_0x1f2159==null?void 0x0:_0x1f2159['ha'])==null?u['HorizontalAlign'][_0x11016c(0x2c8)]:_0x378e55;}return{'doc':_0x18d15a,'verticalAlign':_0x2715d3,'horizontalAlign':_0x5153be,'textRect':_0x517107,'transform':_0x577a01,'isHorizontal':_0x50c451[_0x11016c(0x4d5)]};},[_0x5465ce,_0x374c74,_0x49dbaf,_0x56e82e,_0x5be1b1,_0x42fc5d,_0x381c0d]),_0x5e63d0=(0x0,y['useMemo'])(()=>{const _0x4c3c10=_0x5aba63;let _0x57a469=_0x434257();return _0x57a469!=null&&_0x57a469[_0x4c3c10(0xe0)]?V(_0x57a469[_0x4c3c10(0xe0)],{'isHorizontal':!0x0,'textRect':_0x57a469[_0x4c3c10(0x469)],'verticalAlign':_0x57a469['verticalAlign'],'horizontalAlign':_0x57a469[_0x4c3c10(0x30a)]}):{'id':P,'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0}]},'documentStyle':{'pageSize':{'width':_0x56e82e/_0x42fc5d,'height':0x1/0x0}}};},[_0x434257,_0x56e82e,_0x42fc5d]),_0x45ba00=(0x0,f[_0x5aba63(0x146)])({'editorId':P,'initialValue':_0x5e63d0,'container':_0x25fe11,'autoFocus':!0x1,'canvasStyle':{'backgroundColor':'transparent'},'isSingle':!0x1});(0x0,y[_0x5aba63(0x531)])(()=>{const _0x26394e=_0x5aba63;_0x45ba00&&Ge(_0x484e15[_0x26394e(0x1c9)](P));},[_0x45ba00,_0x484e15]);let _0x2ac6ba=(0x0,f[_0x5aba63(0x24e)])(P);(0x0,f[_0x5aba63(0x1a5)])(_0x2ac6ba,(0x0,y['useMemo'])(()=>Ke(_0x4dfeee),[_0x4dfeee]),_0x45ba00),(0x0,f[_0x5aba63(0x572)])(_0x2ac6ba,!0x1,_0x45ba00);let _0x4de4a7=(0x0,y[_0x5aba63(0x341)])((_0x19fdbe=!0x0)=>{const _0x14926f=_0x5aba63;var _0x33536e,_0xca9ebe,_0x4c8809;if(!_0x45ba00)return;let _0x58417b=_0x45ba00[_0x14926f(0x5d4)]()[_0x14926f(0x276)](_0x52235d=>_0x52235d[_0x14926f(0x5a4)]),_0x353a52=((_0x33536e=(_0xca9ebe=_0x45ba00[_0x14926f(0x25e)]()['body'])==null?void 0x0:_0xca9ebe[_0x14926f(0x48c)][_0x14926f(0x254)])==null?0x2:_0x33536e)-0x2,_0x2ac96b=(_0x4c8809=_0x58417b==null?void 0x0:_0x58417b[_0x14926f(0x4e9)])==null?_0x19fdbe?_0x353a52:null:_0x4c8809;_0x2ac96b!==null&&_0x45ba00['setSelectionRanges']([{'startOffset':_0x2ac96b,'endOffset':_0x2ac96b}],!0x1);},[_0x45ba00]),_0x44cf4c=(0x0,y[_0x5aba63(0x341)])(()=>{const _0x59d731=_0x5aba63;_0x11abce['current']!==null&&(cancelAnimationFrame(_0x11abce['current']),_0x11abce[_0x59d731(0x287)]=null),_0x4cd19e[_0x59d731(0x287)]!==null&&(window[_0x59d731(0x17a)](_0x4cd19e[_0x59d731(0x287)]),_0x4cd19e[_0x59d731(0x287)]=null);},[]),_0x1aca15=(0x0,y['useCallback'])(()=>{const _0x9ebb45=_0x5aba63;var _0x3dd9a8,_0x5edd13,_0xf1144e;if(!_0x45ba00)return;let _0x3858e5=_0x484e15[_0x9ebb45(0x1c9)](P),_0x159c76=_0x3858e5==null?void 0x0:_0x3858e5['with'](C['DocSkeletonManagerService']);if(!_0x159c76)return;let _0x866e65=_0x159c76[_0x9ebb45(0x343)](),_0x141c90=_0x52d406(),{renderScaleX:_0x3d9b6d,renderScaleY:_0x3ec539,scaleAdjust:_0x11c9d0}=_0x16e4e7(),_0x189e45=_0x434257(),_0x5d24f7=(_0x3dd9a8=_0x189e45==null?void 0x0:_0x189e45['verticalAlign'])==null?u[_0x9ebb45(0x3d9)]['TOP']:_0x3dd9a8,_0x3b50f0=(_0x5edd13=_0x189e45==null?void 0x0:_0x189e45[_0x9ebb45(0x30a)])==null?u[_0x9ebb45(0xf9)][_0x9ebb45(0x2c8)]:_0x5edd13,_0x1da1fb=(_0xf1144e=_0x4b400f())==null?{'left':0x0,'top':0x0,'width':_0x56e82e/_0x42fc5d,'height':_0x5be1b1/_0x381c0d}:_0xf1144e,_0x3eb30d=_0x56e82e/_0x42fc5d,_0x39593b=_0x5be1b1/_0x381c0d;_0x141c90&&(_0x141c90[_0x9ebb45(0x10d)](Math['max'](_0x3d9b6d,_0x3ec539)),_0x141c90['updateDocumentStyle']({'marginLeft':0x0,'marginRight':0x0,'marginBottom':0x0,'pageSize':{'width':_0x1da1fb['width'],'height':0x1/0x0}}),_0x141c90['updateDocumentRenderConfig']({'verticalAlign':_0x5d24f7,'horizontalAlign':_0x3b50f0,'centerAngle':0x0,'vertexAngle':0x0,'wrapStrategy':u['WrapStrategy'][_0x9ebb45(0x17f)]})),_0x866e65[_0x9ebb45(0x3ef)]();let {actualHeight:_0x5b9d03}=_0x866e65[_0x9ebb45(0x32b)](),_0xb86c7d=_0x1da1fb[_0x9ebb45(0x4e0)],_0x38551d=0x0;if(_0x5b9d03<=_0xb86c7d)_0x5d24f7===u[_0x9ebb45(0x3d9)][_0x9ebb45(0x36b)]?_0x38551d=(_0xb86c7d-_0x5b9d03)/0x2:_0x5d24f7===u[_0x9ebb45(0x3d9)]['BOTTOM']&&(_0x38551d=_0xb86c7d-_0x5b9d03),_0xa88835({'editorHeight':_0x1da1fb[_0x9ebb45(0x4e0)]*_0x381c0d,'marginTop':0x0,'useAbsolutePosition':!0x1});else{let _0x5cf027=0x0;_0x5d24f7===u['VerticalAlign'][_0x9ebb45(0x36b)]?_0x5cf027=(_0xb86c7d-_0x5b9d03)/0x2:_0x5d24f7===u[_0x9ebb45(0x3d9)][_0x9ebb45(0x3c5)]&&(_0x5cf027=_0xb86c7d-_0x5b9d03),_0x38551d=0x0,_0xa88835({'editorHeight':_0x5b9d03*_0x381c0d,'marginTop':_0x5cf027*_0x381c0d,'useAbsolutePosition':!0x0});}if(_0x141c90){let _0x12f4b1=Math['max'](0x0,_0x1da1fb[_0x9ebb45(0x1f0)]),_0x1e79ed=Math[_0x9ebb45(0x538)](0x0,_0x1da1fb[_0x9ebb45(0x107)]+_0x38551d);_0x141c90['updateDocumentStyle']({'marginLeft':_0x12f4b1,'marginRight':Math[_0x9ebb45(0x538)](0x0,_0x3eb30d-_0x1da1fb[_0x9ebb45(0x1f0)]-_0x1da1fb[_0x9ebb45(0x3ed)]),'marginBottom':Math[_0x9ebb45(0x538)](0x0,_0x39593b-_0x1da1fb['top']-_0x1da1fb[_0x9ebb45(0x4e0)]),'pageSize':{'width':_0x3eb30d,'height':_0x39593b}}),_0x141c90[_0x9ebb45(0x4c8)]({'t':_0x1e79ed}),_0x866e65[_0x9ebb45(0x3ef)]();}if(_0x3858e5){let _0x16678e=_0x56e82e,_0x3cf3a1=_0x5be1b1;_0x3858e5[_0x9ebb45(0x492)][_0x9ebb45(0xdc)]({'width':_0x16678e*_0x11c9d0/_0x3d9b6d,'height':_0x3cf3a1*_0x11c9d0/_0x3ec539,'scaleX':_0x3d9b6d*_0x11c9d0,'scaleY':_0x3ec539*_0x11c9d0}),_0x3858e5[_0x9ebb45(0x231)]&&_0x3858e5[_0x9ebb45(0x231)][_0x9ebb45(0x3b2)](_0x16678e*_0x11c9d0/_0x3d9b6d,_0x3cf3a1*_0x11c9d0/_0x3ec539);}},[_0x45ba00,_0x484e15,_0x52d406,_0x16e4e7,_0x434257,_0x4b400f,_0x56e82e,_0x5be1b1,_0x42fc5d,_0x381c0d,_0xa88835]),_0x12b98d=(0x0,y[_0x5aba63(0x341)])((_0x286403=!0x1)=>{const _0x49c904=_0x5aba63;_0x44cf4c(),_0x11abce[_0x49c904(0x287)]=requestAnimationFrame(()=>{const _0x2f54fa=_0x49c904;_0x1aca15(),_0x286403&&_0x4de4a7(!0x1),_0x11abce[_0x2f54fa(0x287)]=null,_0x4cd19e[_0x2f54fa(0x287)]=window[_0x2f54fa(0x4a4)](()=>{const _0x5cb97a=_0x2f54fa;_0x1aca15(),_0x286403&&_0x4de4a7(!0x1),_0x4cd19e[_0x5cb97a(0x287)]=null;},0x14);});},[_0x1aca15,_0x44cf4c,_0x4de4a7]);(0x0,y[_0x5aba63(0x531)])(()=>{const _0x580448=_0x5aba63;if(!_0x45ba00||!_0x5465ce)return;let {shapeId:_0x3c58da,unitId:_0x2521f3}=_0x5465ce;if(_0x453e32){var _0xad00b8,_0x82d746,_0x566c97,_0x868c1e;let _0x4cadcd=te(_0x45ba00[_0x580448(0x25e)]()),_0x14a8d6=_0x434257(),_0x44947c={'va':(_0xad00b8=_0x14a8d6==null?void 0x0:_0x14a8d6[_0x580448(0x19a)])==null?u[_0x580448(0x3d9)][_0x580448(0x170)]:_0xad00b8,'ha':(_0x82d746=_0x14a8d6==null?void 0x0:_0x14a8d6['horizontalAlign'])==null?u[_0x580448(0xf9)]['LEFT']:_0x82d746,'doc':_0x4cadcd};_0x4dfeee[_0x580448(0x5e8)](l[_0x580448(0x298)]['id'],{'unitId':_0x2521f3,'shapeId':_0x3c58da,'shapeData':{'shapeText':{'isHorizontal':(_0x566c97=_0x14a8d6==null?void 0x0:_0x14a8d6[_0x580448(0x4d5)])==null?!0x0:_0x566c97,'dataModel':_0x44947c}},'oldShapeJSON':{'oldShapeData':{'shapeText':{'isHorizontal':(_0x868c1e=_0x14a8d6==null?void 0x0:_0x14a8d6[_0x580448(0x4d5)])==null?!0x0:_0x868c1e,'dataModel':_0x3ecc44[_0x580448(0x287)]}}}});return;}let _0x1930e0=_0x434257();if(_0x1930e0!=null&&_0x1930e0[_0x580448(0xe0)]){_0x3ecc44['current']={'va':_0x1930e0[_0x580448(0x19a)],'ha':_0x1930e0[_0x580448(0x30a)],'doc':u['Tools'][_0x580448(0x297)](_0x1930e0[_0x580448(0xe0)])};let _0x400c59=V(_0x1930e0[_0x580448(0xe0)],{'isHorizontal':!0x0,'textRect':_0x1930e0['textRect'],'verticalAlign':_0x1930e0['verticalAlign'],'horizontalAlign':_0x1930e0[_0x580448(0x30a)]});return _0x45ba00[_0x580448(0x25b)](_0x400c59,null),()=>{const _0x2fb84a=_0x580448;var _0x3cdc58,_0xfa9a68,_0x21ee94,_0x8fab7e;let _0x17ee13=te(_0x45ba00[_0x2fb84a(0x25e)]()),_0x13d40e=_0x434257(),_0x408449={'va':(_0x3cdc58=_0x13d40e==null?void 0x0:_0x13d40e[_0x2fb84a(0x19a)])==null?u[_0x2fb84a(0x3d9)][_0x2fb84a(0x170)]:_0x3cdc58,'ha':(_0xfa9a68=_0x13d40e==null?void 0x0:_0x13d40e[_0x2fb84a(0x30a)])==null?u[_0x2fb84a(0xf9)][_0x2fb84a(0x2c8)]:_0xfa9a68,'doc':_0x17ee13};_0x4dfeee[_0x2fb84a(0x5e8)](l[_0x2fb84a(0x298)]['id'],{'unitId':_0x2521f3,'shapeId':_0x3c58da,'shapeData':{'shapeText':{'isHorizontal':(_0x21ee94=_0x13d40e==null?void 0x0:_0x13d40e['isHorizontal'])==null?!0x0:_0x21ee94,'dataModel':_0x408449}},'oldShapeJSON':{'oldShapeData':{'shapeText':{'isHorizontal':(_0x8fab7e=_0x13d40e==null?void 0x0:_0x13d40e[_0x2fb84a(0x4d5)])==null?!0x0:_0x8fab7e,'dataModel':_0x3ecc44[_0x2fb84a(0x287)]}}}});};}else _0x45ba00[_0x580448(0x25b)](_0x5e63d0,null);},[_0x45ba00,_0x5465ce,_0x453e32]),(0x0,y[_0x5aba63(0x531)])(()=>{const _0x35fbd9=_0x5aba63;if(!(!_0x45ba00||!_0x5465ce))return _0x496185[_0x35fbd9(0x16f)](!0x0),_0x1aca15(),_0x4718f0[_0x35fbd9(0x287)]=requestAnimationFrame(()=>{const _0x4ff293=_0x35fbd9;_0x496185[_0x4ff293(0x256)](P),_0x4de4a7(),_0x12b98d(),_0x4718f0[_0x4ff293(0x287)]=null;}),()=>{const _0x1854b0=_0x35fbd9;_0x4718f0['current']!==null&&(cancelAnimationFrame(_0x4718f0[_0x1854b0(0x287)]),_0x4718f0['current']=null),_0x44cf4c(),_0x496185[_0x1854b0(0x16f)](!0x0);};},[_0x45ba00,_0x5465ce,_0x496185,_0x1aca15,_0x4de4a7,_0x12b98d,_0x44cf4c]),(0x0,y[_0x5aba63(0x531)])(()=>{if(!_0x45ba00)return;let _0x1829b8=_0x4dfeee['onCommandExecuted'](_0x133137=>{const _0x517cce=_0x1a94;_0x133137['id']===C[_0x517cce(0x31d)]['id']&&_0x133137[_0x517cce(0x4b1)][_0x517cce(0x424)]===P&&_0x5465ce&&(_0x5465ce[_0x517cce(0x3c3)]?_0x1aca15():_0x4c98ce[_0x517cce(0x52d)]({..._0x5465ce,'visible':!0x0}));});return()=>{const _0xa9f9f8=_0x1a94;_0x1829b8[_0xa9f9f8(0x318)]();};},[_0x45ba00,_0x1aca15,_0x5465ce,_0x12b98d,_0x4c98ce]),(0x0,y[_0x5aba63(0x531)])(()=>(_0x1aca15(),_0x12b98d(),()=>{_0x44cf4c();}),[_0x1aca15,_0x12b98d,_0x44cf4c]);let _0x3bde57=(0x0,y['useMemo'])(()=>We(_0x56e82e,_0x5be1b1),[_0x56e82e,_0x5be1b1]),_0x3f849b=(0x0,y[_0x5aba63(0x523)])(()=>{const _0x3f58f7=_0x5aba63;let _0x288fea=_0x434257(),_0x359f9a=_0x288fea==null?void 0x0:_0x288fea[_0x3f58f7(0x425)];return _0x359f9a&&_0x359f9a||{'angle':0x0,'flipX':!0x1,'flipY':!0x1};},[_0x434257]);return(0x0,x[_0x5aba63(0x4e3)])(_0x5aba63(0x577),{'ref':_0x304f89,'data-u-comp':_0x5aba63(0xfc),'className':_0x5aba63(0x221),'style':{'transform':_0x5aba63(0x541)+_0x3f849b[_0x5aba63(0x2d0)]+'deg)\x20scaleY('+(_0x3f849b['flipY']?-0x1:0x1)+')'},'children':(0x0,x[_0x5aba63(0x4e3)])(_0x5aba63(0x577),{'ref':_0x25fe11,'className':_0x5aba63(0x338),'data-u-comp':_0x5aba63(0x4ed),'style':_0x3bde57,'data-editorid':P})});},Je={'left':-0x270f,'top':-0x270f,'width':0x64,'height':0x64,'angle':0x0,'scaleX':0x1,'scaleY':0x1};function Ye(_0x20f04c,_0x1239b5,_0x419470,_0x2e9096,_0x554bfc,_0x18aa23){const _0x5a7e03=_0x3b6577;var _0x2c4b20,_0x349a04;let {scaleX:_0xba5422,scaleY:_0x949ca5}=_0x18aa23[_0x5a7e03(0x322)](),_0xad6063=_0x18aa23[_0x5a7e03(0xe2)](f[_0x5a7e03(0x2a1)]['VIEW_MAIN']),_0xcb0704=(_0x2c4b20=_0xad6063==null?void 0x0:_0xad6063[_0x5a7e03(0x548)])==null?0x0:_0x2c4b20,_0x4a7269=(_0x349a04=_0xad6063==null?void 0x0:_0xad6063[_0x5a7e03(0x54b)])==null?0x0:_0x349a04;return{'left':(_0x20f04c-_0xcb0704)*_0xba5422,'top':(_0x1239b5-_0x4a7269)*_0x949ca5,'width':_0x419470*_0xba5422,'height':_0x2e9096*_0x949ca5,'angle':_0x554bfc,'scaleX':_0xba5422,'scaleY':_0x949ca5};}function Xe(_0x5db682){const _0x5fc865=_0x3b6577;let {editingParams:_0x2e5f7b,scene:_0x287c3a,getShapeTransform:_0x3d5125}=_0x5db682,[_0xbad74a,_0x4a8bd7]=(0x0,y[_0x5fc865(0x4b2)])(Je),_0x279e8e=(0x0,y['useRef'])(_0xbad74a);_0x279e8e[_0x5fc865(0x287)]=_0xbad74a;let _0x3e0aa8=(0x0,y[_0x5fc865(0x341)])(()=>{const _0x201ceb=_0x5fc865;if(!_0x2e5f7b||!_0x287c3a){_0x279e8e['current']!==Je&&_0x4a8bd7(Je);return;}let _0x59c287=_0x3d5125();if(!_0x59c287){_0x279e8e[_0x201ceb(0x287)]!==Je&&_0x4a8bd7(Je);return;}let {left:_0x2ba45b,top:_0x4e8917,width:_0x6fdb43,height:_0x2a9c1d,angle:_0x5a79aa}=_0x59c287,{scaleX:_0x18327d,scaleY:_0x5b3ccd}=_0x287c3a[_0x201ceb(0x322)]();if(!_0x2e5f7b[_0x201ceb(0x3c3)]){_0x4a8bd7({'left':-0x270f,'top':-0x270f,'width':_0x6fdb43*_0x18327d,'height':_0x2a9c1d*_0x5b3ccd,'angle':0x0,'scaleX':_0x18327d,'scaleY':_0x5b3ccd});return;}_0x4a8bd7(Ye(_0x2ba45b,_0x4e8917,_0x6fdb43,_0x2a9c1d,_0x5a79aa,_0x287c3a));},[_0x2e5f7b,_0x287c3a,_0x3d5125]);return(0x0,y[_0x5fc865(0x531)])(()=>{_0x3e0aa8();},[_0x2e5f7b,_0x3e0aa8]),{'position':_0xbad74a,'updatePosition':_0x3e0aa8};}const Ze=(0x0,y[_0x3b6577(0x54e)])(_0x59c3ad=>{const _0x181b82=_0x3b6577;let {children:_0x1488e4,onPositionUpdate:_0x1e4865}=_0x59c3ad,_0x577f7d=(0x0,y['useRef'])(null),_0x34959c=(0x0,g[_0x181b82(0x19e)])(R),_0x2ccede=(0x0,g[_0x181b82(0x19e)])(p[_0x181b82(0x5d6)]),_0x152619=(0x0,g[_0x181b82(0x279)])(_0x34959c[_0x181b82(0x1ec)]),_0x97aace=(0x0,y[_0x181b82(0x523)])(()=>_0x152619?_0x2ccede[_0x181b82(0x1c9)](_0x152619[_0x181b82(0x424)]):null,[_0x152619,_0x2ccede]),_0x10b4aa=(0x0,y['useMemo'])(()=>{const _0xc62da2=_0x181b82;var _0x559745;return(_0x559745=_0x97aace==null?void 0x0:_0x97aace[_0xc62da2(0x492)])==null?null:_0x559745;},[_0x97aace]),{position:_0x5646f2,updatePosition:_0x29d570}=Xe({'editingParams':_0x152619,'scene':_0x10b4aa,'getShapeTransform':(0x0,y[_0x181b82(0x341)])(()=>{const _0x5105f0=_0x181b82;if(!_0x152619||!_0x10b4aa)return null;let _0x1822bd=_0x152619['shapeKey'],_0x455654=_0x10b4aa[_0x5105f0(0x23a)](_0x1822bd);return _0x455654 instanceof H?{'left':_0x455654[_0x5105f0(0x1f0)],'top':_0x455654[_0x5105f0(0x107)],'width':_0x455654[_0x5105f0(0x3ed)],'height':_0x455654[_0x5105f0(0x4e0)],'angle':_0x455654[_0x5105f0(0x2d0)]}:null;},[_0x152619,_0x10b4aa])}),_0x4df2eb=(0x0,y[_0x181b82(0x341)])(()=>{const _0xb8879f=_0x181b82;let _0x3c35c0=_0x577f7d['current'];_0x3c35c0&&(_0x3c35c0[_0xb8879f(0x31a)]['left']=_0x5646f2[_0xb8879f(0x1f0)]+'px',_0x3c35c0[_0xb8879f(0x31a)][_0xb8879f(0x107)]=_0x5646f2['top']+'px',_0x3c35c0['style'][_0xb8879f(0x3ed)]=_0x5646f2[_0xb8879f(0x3ed)]+'px',_0x3c35c0['style'][_0xb8879f(0x4e0)]=_0x5646f2[_0xb8879f(0x4e0)]+'px');},[_0x5646f2]);return(0x0,y[_0x181b82(0x531)])(()=>{const _0x345915=_0x181b82;_0x4df2eb(),_0x1e4865==null||_0x1e4865({'width':_0x5646f2['width'],'height':_0x5646f2['height'],'scaleX':_0x5646f2[_0x345915(0x230)],'scaleY':_0x5646f2[_0x345915(0x155)]});},[_0x5646f2,_0x4df2eb,_0x1e4865]),(0x0,y[_0x181b82(0x531)])(()=>{const _0x71623a=_0x181b82;if(!_0x10b4aa)return;let _0x26da0e=_0x10b4aa[_0x71623a(0xe2)](f[_0x71623a(0x2a1)]['VIEW_MAIN']);if(!_0x26da0e)return;let _0x41a11d=_0x26da0e['onScrollAfter$']['subscribeEvent'](()=>{_0x29d570();});return()=>{_0x41a11d['unsubscribe']();};},[_0x10b4aa,_0x29d570]),(0x0,y[_0x181b82(0x531)])(()=>{const _0x29125b=_0x181b82;if(!_0x152619||!_0x10b4aa)return;let _0x21806e=_0x152619['shapeKey'],_0x1a4114=_0x10b4aa[_0x29125b(0x23a)](_0x21806e);if(_0x1a4114 instanceof H){let _0x57536d=_0x1a4114['onTransformChange$'][_0x29125b(0x25c)](()=>{_0x29d570();});return()=>{const _0x1d2ca9=_0x29125b;_0x57536d[_0x1d2ca9(0x52b)]();};}},[_0x152619,_0x10b4aa,_0x29d570]),(0x0,x[_0x181b82(0x4e3)])(_0x181b82(0x577),{'ref':_0x577f7d,'data-u-comp':'shape-text-editor-position-wrapper','className':_0x181b82(0x57a),'style':(0x0,y['useMemo'])(()=>({'left':_0x5646f2['left'],'top':_0x5646f2[_0x181b82(0x107)],'width':_0x5646f2[_0x181b82(0x3ed)],'height':_0x5646f2[_0x181b82(0x4e0)],'pointerEvents':_0x152619!=null&&_0x152619[_0x181b82(0x3c3)]?_0x181b82(0x178):'none'}),[_0x5646f2,_0x152619==null?void 0x0:_0x152619[_0x181b82(0x3c3)]]),'children':_0x1488e4});}),Qe=(0x0,y['memo'])(()=>{const _0x5559d0=_0x3b6577;let _0x12a76e=(0x0,g['useObservable'])((0x0,g['useDependency'])(R)[_0x5559d0(0x1ec)]),[_0x3f32c6,_0x4df41a]=(0x0,y['useState'])({'width':0x64,'height':0x64,'scaleX':0x1,'scaleY':0x1}),_0x4788a8=(0x0,y['useCallback'])(_0x28a880=>{const _0x406347=_0x5559d0;_0x4df41a({'width':_0x28a880['width'],'height':_0x28a880['height'],'scaleX':_0x28a880['scaleX'],'scaleY':_0x28a880[_0x406347(0x155)]});},[]);return _0x12a76e!=null&&_0x12a76e['visible']?(0x0,x[_0x5559d0(0x4e3)])(Ze,{'onPositionUpdate':_0x4788a8,'children':(0x0,x[_0x5559d0(0x4e3)])(qe,{'containerWidth':_0x3f32c6[_0x5559d0(0x3ed)],'containerHeight':_0x3f32c6[_0x5559d0(0x4e0)],'scaleX':_0x3f32c6[_0x5559d0(0x230)],'scaleY':_0x3f32c6[_0x5559d0(0x155)]})}):null;});let $e=class extends u[_0x3b6577(0x151)]{constructor(_0x34df2d=Ne,_0x318d49,_0x5be3bc,_0x441682,_0x914aba){const _0x28cfeb=_0x3b6577;super(),this[_0x28cfeb(0x3c2)]=_0x34df2d,this['_injector']=_0x318d49,this[_0x28cfeb(0x379)]=_0x5be3bc,this[_0x28cfeb(0x35b)]=_0x441682,this['_renderManagerService']=_0x914aba;let {menu:_0x434965,..._0x73a8dd}=(0x0,u[_0x28cfeb(0x589)])({},Ne,this[_0x28cfeb(0x3c2)]);_0x434965&&this[_0x28cfeb(0x35b)][_0x28cfeb(0x289)](_0x28cfeb(0x4be),_0x434965,{'merge':!0x0}),this['_configService'][_0x28cfeb(0x289)]('docs-shape-ui.config',_0x73a8dd),this[_0x28cfeb(0x11d)]();}[_0x3b6577(0x270)](){const _0x3b6556=_0x3b6577;(0x0,u['registerDependencies'])(this[_0x3b6556(0x18a)],[[Ae],[K],[G],[Fe],[ye],[R]]),this[_0x3b6556(0x475)]();}[_0x3b6577(0x2ad)](){const _0x288c78=_0x3b6577;this[_0x288c78(0x5b8)][_0x288c78(0x462)](u[_0x288c78(0x2f8)][_0x288c78(0x512)],[Fe]),this[_0x288c78(0x5b8)]['registerRenderModule'](u[_0x288c78(0x2f8)][_0x288c78(0x512)],[Re]),this[_0x288c78(0x5b8)][_0x288c78(0x462)](u[_0x288c78(0x2f8)][_0x288c78(0x512)],[Ue]),(0x0,u[_0x288c78(0x545)])(this['_injector'],[[Ae],[K],[G],[ye],[R]]);}['_initCommands'](){const _0x5c72e4=_0x3b6577;[A,j,M][_0x5c72e4(0x184)](_0x2637b7=>this[_0x5c72e4(0x21f)](this[_0x5c72e4(0x379)][_0x5c72e4(0x27d)](_0x2637b7)));}[_0x3b6577(0x475)](){const _0x52e18f=_0x3b6577;let _0x47ce6f=this[_0x52e18f(0x18a)],_0x580843=_0x47ce6f[_0x52e18f(0x272)](g[_0x52e18f(0x489)]),_0x499fb1=_0x47ce6f[_0x52e18f(0x272)](g['IUIPartsService']);this[_0x52e18f(0x21f)](_0x580843['register'](_0x52e18f(0x2a2),Qe)),this['disposeWithMe'](_0x499fb1[_0x52e18f(0x17e)](g[_0x52e18f(0x1e6)][_0x52e18f(0x1cb)],()=>(0x0,g[_0x52e18f(0xf2)])(Qe,_0x47ce6f)));}};L($e,_0x3b6577(0x41d),u[_0x3b6577(0x2f8)][_0x3b6577(0x512)]),L($e,'pluginName','DOCS_SHAPE_UI_PLUGIN'),L($e,'packageName',je),L($e,_0x3b6577(0x411),Me),$e=W([(0x0,u[_0x3b6577(0x344)])(S[_0x3b6577(0x507)],d[_0x3b6577(0x333)],l['UniverDocsShapePlugin']),U(0x1,(0x0,u[_0x3b6577(0x192)])(u['Injector'])),U(0x2,u['ICommandService']),U(0x3,u[_0x3b6577(0x47e)]),U(0x4,p['IRenderManagerService'])],$e),exports[_0x3b6577(0x310)]=j,Object[_0x3b6577(0x126)](exports,_0x3b6577(0x220),{'enumerable':!0x0,'get':function(){return Ae;}}),exports['MenuInsertShapeCommand']=A,exports['OpenDocShapeFormatPanelOperation']=M,Object[_0x3b6577(0x126)](exports,_0x3b6577(0xdd),{'enumerable':!0x0,'get':function(){return $e;}});
1
+ const _0x1edbb0=_0xacee;(function(_0xff5148,_0x17c39c){const _0xd7bb4d=_0xacee,_0x43d1c3=_0xff5148();while(!![]){try{const _0x50e932=-parseInt(_0xd7bb4d(0x4b8))/0x1+parseInt(_0xd7bb4d(0x2ce))/0x2+parseInt(_0xd7bb4d(0x2fe))/0x3*(-parseInt(_0xd7bb4d(0x488))/0x4)+parseInt(_0xd7bb4d(0x5e9))/0x5+parseInt(_0xd7bb4d(0x230))/0x6+-parseInt(_0xd7bb4d(0x422))/0x7*(-parseInt(_0xd7bb4d(0x1f3))/0x8)+-parseInt(_0xd7bb4d(0x385))/0x9*(-parseInt(_0xd7bb4d(0x4f8))/0xa);if(_0x50e932===_0x17c39c)break;else _0x43d1c3['push'](_0x43d1c3['shift']());}catch(_0x2de45c){_0x43d1c3['push'](_0x43d1c3['shift']());}}}(_0x4e55,0x2d281),Object['defineProperty'](exports,Symbol[_0x1edbb0(0x1d4)],{'value':_0x1edbb0(0x5bd)}));var e=Object['create'],t=Object[_0x1edbb0(0x198)],n=Object[_0x1edbb0(0x36e)],r=Object[_0x1edbb0(0x3c0)],i=Object[_0x1edbb0(0x158)],a=Object[_0x1edbb0(0x56f)][_0x1edbb0(0x50c)],o=(_0x484eea,_0x2fe051,_0x2e9312,_0x54e48c)=>{const _0xab703e=_0x1edbb0;if(_0x2fe051&&typeof _0x2fe051==_0xab703e(0x3ad)||typeof _0x2fe051==_0xab703e(0x5ef)){for(var _0x2a8194=r(_0x2fe051),_0x5995fe=0x0,_0x47a37b=_0x2a8194[_0xab703e(0x585)],_0x44c901;_0x5995fe<_0x47a37b;_0x5995fe++)_0x44c901=_0x2a8194[_0x5995fe],!a[_0xab703e(0x40d)](_0x484eea,_0x44c901)&&_0x44c901!==_0x2e9312&&t(_0x484eea,_0x44c901,{'get':(_0x34fdab=>_0x2fe051[_0x34fdab])[_0xab703e(0x562)](null,_0x44c901),'enumerable':!(_0x54e48c=n(_0x2fe051,_0x44c901))||_0x54e48c['enumerable']});}return _0x484eea;},s=(_0x43c3e4,_0x2dd67c,_0x3cbded)=>(_0x3cbded=_0x43c3e4==null?{}:e(i(_0x43c3e4)),o(_0x2dd67c||!_0x43c3e4||!_0x43c3e4[_0x1edbb0(0x2cf)]?t(_0x3cbded,'default',{'value':_0x43c3e4,'enumerable':!0x0}):_0x3cbded,_0x43c3e4));let c=require('@univerjs-pro/engine-shape'),l=require('@univerjs-pro/docs-shape'),u=require('@univerjs/core'),d=require('@univerjs/docs-drawing-ui'),f=require('@univerjs/docs-ui'),p=require('@univerjs/engine-render'),m=require('@univerjs/drawing'),h=require('@univerjs/icons'),g=require('@univerjs/ui'),_=require('rxjs'),v=require('@univerjs/design'),y=require('react');y=s(y);let b=require('@univerjs/drawing-ui'),x=require('react/jsx-runtime'),S=require('@univerjs-pro/license'),C=require('@univerjs/docs');const w='#3B82F6',T=_0x1edbb0(0x5ea);function E(_0x1da1dc,_0x523d70){const _0x4eb68c=_0x1edbb0;if(_0x523d70){if((0x0,c[_0x4eb68c(0x22d)])(_0x1da1dc)&&(_0x523d70[_0x4eb68c(0x363)]||_0x523d70[_0x4eb68c(0x355)]))return{'ln':{'startArrow':_0x523d70[_0x4eb68c(0x363)]?{'type':c[_0x4eb68c(0x475)][_0x4eb68c(0x481)],'size':c[_0x4eb68c(0x408)]['Medium']}:void 0x0,'endArrow':_0x523d70[_0x4eb68c(0x355)]?{'type':c['ShapeArrowTypeEnum']['Arrow'],'size':c['ShapeArrowSizeEnum']['Large']}:void 0x0}};if(_0x1da1dc===c[_0x4eb68c(0x4e2)][_0x4eb68c(0x241)]&&(_0x523d70['horizontal']||_0x523d70[_0x4eb68c(0x49f)]))return{'fill':{'fillType':c[_0x4eb68c(0x1c2)][_0x4eb68c(0x5b0)],'color':w},'stroke':{'lineStrokeType':c[_0x4eb68c(0x331)]['SolidLine'],'width':0x1,'color':T},'shapeText':{'isHorizontal':!!_0x523d70['horizontal']}};}}function _0x4e55(){const _0x290d9a=['DocSettingIcon','endOffset','line','bind','FlowchartPreparation','CurvedConnector3','docs-shape-ui.shape.type.gear6','ShapeRibbon2Icon','FlowchartMerge','registerComponent','rgb','ComponentManager','oKey','getDrawingEditable','type','name','prototype','ShapeRightBraceIcon','SetInlineFormatItalicCommand','image','Gear9','Solid','docs-shape-ui.textWrap.inline','drawingId','ShapeBentConnector3Arrow1Icon','ShapeUpArrowCalloutIcon','updateDocumentStyle','useCallback','univer-flex\x20univer-h-6\x20univer-min-w-9\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','univer-flex\x20univer-items-center\x20univer-justify-between','docs-shape-ui.shape.type.wedge-ellipse-callout','activeTarget','getParent','Curved','QuadArrow','map','docs-shape-ui.line.arrowType.ovalArrow','ShapeDonutIcon','length','setDocumentData','complete','getEditing','docs-shape-ui.shape.type.left-right-arrow-callout','ShapeLineInvIcon','onScrollAfter$','ShapeIcon','docs-shape-ui.shape.type.flow-chart-terminator','flowchart','ShapeHalfFrameIcon','ActionButtonSound','offsetX','FlowchartPredefinedProcess','_contextService','FONT_SIZE_LIST','FALSE','docs-shape-ui.fill.picture.offsetY','univer-w-28','SetInlineFormatUnderlineCommand','wrapSquare','_initializedShapePopupMenu','docs-shape-ui.shape.type.rt-triangle','paragraphs','univer-box-border\x20univer-flex\x20univer-rounded\x20univer-bg-white\x20univer-py-1.5\x20univer-shadow-sm\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','Callout2','DownArrowCallout','ShapeStar5Icon','ShapeRectTextboxHorizontalIcon','deepCompare','ShapeFlowChartSummingJunctionIcon','GROUP','NonIsoscelesTrapezoid','Chord','beginPath','CurvedLeftArrow','ShapeStraightConnector1Icon','BOTTOM','unitId','blur','DOC_CONTENT_INSERT_MENU_ID','UnderlineIcon','_createShapeAdjustControls','SolidFill','docs-shape-ui.shape.type.accent-callout3','_docSelectionRenderService','FlowChartOfflineStorage','docs-shape-ui.line.color','URL','setInsertRange','ShapeSnip2DiagRectIcon','buildClipPath','#000000','IImageIoService','docs-shape-ui.line.joinType.miter','BracePair','Module','DocumentSkeleton','univer-text-primary-600','TOP','MIDDLE','getViewports','PlaqueTabs','Snip1Rect','RemoveDocDrawingCommand','addImageSourceCache','docs-shape-ui.line.arrowSize.medium','PERIOD','_sidebarDisposable','transformByState','onerror','ShapeSnip1RectIcon','ShapeCurvedRightArrowIcon','ShapeFlowChartManualOperationIcon','docs-shape-ui.shape.type.action-button-return','isNaN','children','Moon','_disposePopups','direction','_menuManagerService','mainComponent','docs-shape-ui.shape.type.bent-up-arrow','button','isRichText','deg)\x20scaleY(','NoLine','FlowchartManualOperation','doc.shape.text.float-menu','ShapeFlowChartCollateIcon','docs-shape-ui.fill.picture.offsetX','ShapeFlowChartMagneticDiskIcon','body','IMenuManagerService','ShapeMathNotEqualIcon','basicShape','getRealBound','changeEnd$','ChartStar','getShapeDataById','1123390xkdYBo','#2563EB','Sun','Vector2','Star12','BentArrow','function','1em','Snip2SameRect','CommandType','UpDownArrowCallout','docs-shape-ui.shape.type.curved-right-arrow','ShapeActionButtonDocumentIcon','ShapeFlowChartOnlineStorageIcon','_toVisualAdjustPoint','ShapeLineCapEnum','docs-shape-ui.shape.type.action-button-forward-next','ShapeFlowChartManualInputIcon','ShapeDoubleWaveIcon','CURSOR_TYPE','clipByShape','docs-shape-ui.shape.type.diag-stripe','getImageSourceCache','find','visible','ShapeCurvedConnector3Arrow2Icon','docs-shape-ui.shape.type.heart','useRef','Documents','_adjustPointObjects','docs-shape-ui.shape.type.math-plus','!univer-h-6\x20univer-w-24\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-px-1.5','OPERATION','CurvedRightArrow','docs-shape-ui.shape.type.left-arrow','docs-shape-ui.shape.type.curved-down-arrow','onChange','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','DocContentInsertService','getDrawingOKey','docs-shape-ui.shape.type.plus','_updateSrcRectByTransform','docs-shape-ui.shape.type.curved-connector3-arrow1','_getActiveDrawingShape','DocParagraphMenuService','multiply','ShapeChevronIcon','ShapeCallout2Icon','docs-shape-ui.fill.picture.align.bl','docs-shape-ui.line.dashType.roundDot','preValue','disposable','docs-shape-ui.line.transparency','shape-text-editor-content','Snip2DiagRect','BorderCallout2','_attachAdjustEvent','Small','Diamond','Star5','min','Path','width','docs-shape-ui.title','makeDirty','ShapeCornerIcon','WRAP_NONE','docs-shape-ui.shape.type.dodecagon','Angular','attachTransformerTo','UpdateDocShapeDataCommand','univer-w-20\x20univer-flex-1','ShapeCornerTabsIcon','getImage','FoldedCorner','ShapeModel','LocaleService','clearAdjustControls','docs-shape-ui.shape.type.plaque-tabs','docs-shape-ui.toolbar.strikethrough','Tooltip','opacity','WrapTextType','ShapeAccentCallout2Icon','transform','TRUE','indexOf','DocSelectionRenderService','FlowchartDecision','target','Round2SameRect','docs-shape-ui.shape.type.irregular-seal2','focus$','ShapeLeftRightUpArrowIcon','univer-text-xl\x20univer-text-gray-500','paragraphStyle','ShapeAccentCallout1Icon','ShapeAccentBorderCallout2Icon','Arc','ColorPicker','_initUIPart','get','_getActiveDrawingParam','render','push','RoundRect','BreakLineCommand','docs-shape-ui.align.bottom','getDrawingSearch','ShapeDodecagonIcon','documentStyle','input,\x20textarea,\x20[contenteditable=\x22true\x22],\x20[role=\x22combobox\x22],\x20.univer-select','ShapeGear9Icon','docs-shape-ui.shapeStyle','docs-shape-ui.shape.type.action-button-sound','ShapeDiagStripeIcon','MathDivide','WRAP','docs-shape-ui.shape.type.funnel','FOCUSING_PANEL_EDITOR','GradientColorPicker','docs-shape-ui.shape.type.action-button-home','onDblclick$','docs-shape-ui.shape.type.striped-right-arrow','_hideFloatMenu','calcAdjValue','textRuns','RibbonInsertGroup','_adjHandlerPointerUp','docs-shape-ui.shape.type.triangle','Dropdown','Shape','Callout1','setSrcRect','top','COMMA','ObjectRelativeFromH','docs-shape-ui.shape.type.curved-up-arrow','ActionButtonEnd','getPrototypeOf','ancestorTransform','pluginName','ICommandService','docs-shape-ui.fill.picture.scaleY','docs-shape-ui.formatShape','docs-shape-ui.shape.type.flow-chart-preparation','filter','docs-shape-ui.shape.type.border-callout1','Corner','docs-shape-ui.shape.type.curved-left-arrow','EMPTY_PARAGRAPH_MENU_ID','ShapeSunIcon','Can','_commandService','MenuItemType','doc.command.menu-insert-shape','_closeShapeEditPanel','UNIVER_DOC','ShapeCurvedConnector3Arrow1Icon','ShapePlaqueTabsIcon','PieWedge','SHAPE','label','_initShapePopupMenu','NoSmoking','ShapeCloudCalloutIcon','IURLImageService','update$','setPrstGeom','docs-shape-ui.shape.type.bent-connector3-arrow2','ShapePlusIcon','bottom','OpenDocShapeFormatPanelOperation','MathPlus','univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','shape-text-editor','offset','RIGHT','docs-shape-ui.shape.type.flow-chart-punched-tape','borderClassName','backward','Decagon','docs-shape-ui.shape.type.ribbon','ShapeFlowChartPreparationIcon','flipY','_initSelectionChange','univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','lineStrokeType','Plaque','LineInv','ShapeFlowChartAlternateProcessIcon','_unitId','ShapeTextEditorContainer','ShapeFolderCornerIcon','docs-shape-ui.shape.type.quad-arrow','shapeData','HorizontallyIcon','ShapeStar6Icon','keys','ShapeHeartIcon','docs-shape-ui.shape.type.gear9','horizontal','with','defineProperty','docs-shape-ui.shape.type.up-down-arrow-callout','HalfFrame','univer-min-w-32\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-1\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','click','docs-shape-ui.shape.type.star5','angular','CTRL_COMMAND','univer-flex-1\x20univer-overflow-auto','_toScenePoint','drawings','docs-shape-ui.toolbar.italic','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-3\x20univer-w-3\x20univer-rounded-sm\x20univer-border\x20univer-border-solid\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-border-gray-300\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','merge','univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1.5\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-2\x20univer-py-1\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-100\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','docs-shape-ui.shape.type.half-frame','ShapeStripedRightArrowIcon','docs-shape-ui.toolbar.alignRight','ShapeMathEqualIcon','docs-shape-ui.shape.type.quad-arrow-callout','Inject','ShapeLeftUpArrowIcon','docs-shape-ui.shape.type.flow-chart-alternate-process','_drawShapeText','docs-shape-ui.line.solidLine','fillImageSourceType','stops','fill','extraProps','version','ShapeStar8Icon','Star10','ShapeFlowChartInputOutputIcon','menuRange','docs-shape-ui.shape.type.action-button-help','UpArrow','ShapeActionButtonBackPreviousIcon','univer-flex\x20univer-items-center\x20univer-gap-3','FOCUSING_COMMON_DRAWINGS','UniverInstanceType','docs-shape-ui.shape.type.straight-connector1','_registerComponent','ShapeFillEnum','ShapeRtTriangleIcon','warn','AccentBorderCallout2','onClick','ShapeEllipseRibbonIcon','docs-shape-ui.shape.type.action-button-document','startNodePosition','_univerInstanceService','docs-shape-ui.shape.type.flow-chart-internal-storage','PictureFill','getFocusDrawings','executeCommand','VerticalScroll','subUnitId','ShapeCurvedDownArrowIcon','fillImageSource','getShapeType','toStringTag','ShapeRightArrowCalloutIcon','ShapeFlowChartSortIcon','_clearPopups','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md','ShapeUpDownArrowCalloutIcon','_imageIoService','docs-shape-ui.shape.type.down-arrow-callout','DocCanvasPopManagerService','CircularArrow','univer-absolute\x20univer-z-[100]\x20univer-overflow-visible','_openShapeEditPanel','docs-shape-ui.shape.type.left-up-arrow','FlowchartOr','composeMatrix','DocSelectAllCommand','docs-shape-ui.shape.type.bent-connector3','ShapeCurvedConnector3Icon','useDependency','ShapeFlowChartOrIcon','attachPopupToObject','Flat','_drawingManagerService','_initMenu','focusDrawing','IContextService','params','_updateShapeAdjustControls','docs-shape-ui.shape.type.diamond','_subUnitId','useKeyboardEvent','31456KzlEwI','EllipseRibbon2','none','ShapeHomePlateIcon','ShapeUpArrowIcon','FlowchartProcess','docs-shape-ui.shape.type.flow-chart-offpage-connector','\x20px','ShapeQuadArrowCalloutIcon','BorderCallout1','adjHandleSize','docs-shape-ui.shape.type.star6','clsx','ShapeHexagonIcon','_docCanvasPopManagerService','RadioGroup','clip-','ShapeFlowChartMultidocumentIcon','verticalAlign','memo','ShapeTeardropIcon','_shapeTextEditingService','DiagStripe','ShapeSquareTabsIcon','vertexAngle','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-pointer-events-none\x20univer-absolute\x20univer-bottom-full\x20univer-left-0\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-mb-1\x20univer-hidden\x20univer-overflow-hidden\x20univer-rounded\x20univer-border\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-shadow-md\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20group-hover:univer-block\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-600\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','rect','onReady','docs-shape-ui.line.joinType.round','FlowchartConnector','getDrawingByParam','FlowchartInternalStorage','gradientStops','startOffset','ShapeMathDivideIcon','_onSavingEditorData$','Digit8','inline','ShapeStar4Icon','Stretch','univer-w-full','docs-shape-ui.shape.type.hexagon','ShapeActionButtonForwardNextIcon','docs-shape-ui.shape.type.flow-chart-collate','DocDrawingTextWrap','docs-shape-ui.fill.picture.alignment','NoFill','IFontService','ShapePlaqueIcon','_clearShapeAdjustControls','docs-shape-ui.textWrap.inFrontText','_docSelectionManagerService','getDrawingPoints','stopPropagation','Bevel','VerticalAlign','FlowchartDocument','docs-shape-ui.shape.type.heptagon','isConnectorShape','gradientType','docs-shape-ui.line.dashType.squareDot','840354mAXHZj','docs-shape-ui.line.sketchType.freehand','_getShapeInfo','QuadArrowCallout','transformVector2SceneCoord','below','FlowchartOnlineStorage','useLeftAndRightArrow','updateShapeFillImage','ShapeActionButtonEndIcon','_insertShapes','ChartPlus','docs-shape-ui.line.width','UpdateDocShapeDataMutation','ActionButtonHelp','DRAWING_SHAPE','shapeModel','Rect','Star6','docs-shape-ui.shape.type.up-arrow-callout','ShapeGear6Icon','SetInlineFormatBoldCommand','MathNotEqual','ShapeStar10Icon','title','Plugin','docs-shape-ui.fill.noFill','docs-shape-ui.textWrap.square','univer-w-20','registerClipDelegate','ShapeWaveIcon','RENDER_CLASS_TYPE','ShapeEllipseRibbon2Icon','Trapezoid','getViewport','imageOpacity','clone','docs-shape-ui.shape.type.uturn-arrow','AccentBorderCallout3','univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','ShapeFlowChartPredefinedProcessIcon','StraightConnector1','docs-shape-ui.shape.type.no-smoking','Heart','FontColorDoubleIcon','useState','docs-shape-ui.shape.type.curved-connector3-arrow2','translate','docs-shape-ui.shape.type.rect','docs-shape-ui.shape.type.border-callout2','M11.8\x204.5H17.5','univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','angle','LeftBracket','equationShape','NotchedRightArrow','DrawingCommonPanel','_registerDrawingTransformHandler','ShapeLineJoinEnum','Image','objects','getShapeModel','ShapeFlowChartMagneticTapeIcon','FlowchartManualInput','_configService','register','0.25.1','Medium','M2.5\x204.5H8.2','DeleteIcon','ShapeCircularArrowIcon','FlowchartOffPageConnector','entries','docs-shape-ui.shape.type.pentagon','univer-box-border\x20univer-px-4\x20univer-text-sm','DocDrawingPosition','layoutType','docs-shape-ui.align.top','ShapeStar7Icon','draw','left','reduce','RightArrow','BOTH_SIDES','docs-shape-ui.insertShape','renderDrawingShape','stroke','fillType','current','ShapeSnip2SameRectIcon','custom','ShapeLeftRightCircularArrowIcon','flipX','moveRange','_getShapeAdjustPointListById','WedgeRoundRectCallout','getObjectIncludeInGroup','0\x200\x2020\x2020','docs-shape-ui.shape.type.flow-chart-magnetic-disk','docs-shape-ui.shape.type.horizontal-scroll','RoundDot','GradientFill','M2.5\x2010H5.7','setZoomRatio','docs-shape-ui.fill.picture.align.tr','docs-shape-ui.shape.type.accent-border-callout3','getShapeData','INLINE','getShapeTextRect','setOnSavingEditorData','add','collapsed','ShapeSwooshArrowIcon','docs-shape-ui.shape.type.wedge-rect-callout','setCanUseShapeClip','docs-shape-ui.shape.type.square-tabs','capType','docs-shape-ui.shape.type.flow-chart-offline-storage','editingParams$','FlowchartMultiDocument','Star32','currentColor','_draw','docs-shape-ui.fill.picture.align.l','ShapeHeptagonIcon','UturnArrow','docs-shape-ui.shape.type.octagon','JUSTIFIED','univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200','prstGeom','range','docs-shape-ui.shape.type.straight-connector2','ShapeBorderCallout2Icon','isHitLine','svg','item','FlowchartMagneticDrum','BACKSPACE','menuChanged$','docs-shape-ui.shape.type.round2-same-rect','Star16','docs-shape-ui.shape.type.donut','touchDependencies','Disposable','Injector','shapeKey','ShapeTriangleIcon','Star8','docs-shape-ui.shape.type.right-bracket','changing$','doc.operation.close-doc-shape-format-panel','ShapeMathMinusIcon','_sidebarService','getDrawingVisible','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','ActionButtonDocument','docs-shape-ui.shape.type.up-arrow','save','381532gIxnpZ','__esModule','_loadAndSetImage','Frame','UniverDocsDrawingUIPlugin','docs-shape-ui.shape.type.round-rect','doc','docs-shape-ui.shape.type.action-button-end','getUnitId','Fragment','univer-flex\x20univer-aspect-square\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-p-1\x20univer-text-gray-700\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-700','diamond','shape-text-editor-position-wrapper','isRenderLinePointsMode','docs-shape-ui.fill.solidFill','files','auto','cos','backgroundColor','AccentCallout3','docs-shape-ui.shape.type.curved-connector3','AlignCenterCommand','docs-shape-ui.shape.type.flow-chart-manual-operation','_getFocusedShapeAtPoint','docs-shape-ui.fill.picture.align.ctr','Octagon','ShapeMathPlusIcon','div','docs-shape-ui.shape.type.corner','IUniverInstanceService','color','Radial','docs-shape-ui.fill.picture.align.b','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','isLineShape','Accordion','imageFillMode','getMatrix','docs-shape-ui.openPanel','univer-rounded-lg\x20univer-p-3','M2.5\x2015.5H8.2','getState','docs-shape-ui.shape.type.chart-x','_registerImageShapeClipDelegate','ShapeRectIcon','ShapeFlowChartDelayIcon','docs-shape-ui.shape.type.star12','getDrawingShapeKeyByDrawingSearch','336573SZQUxs','IDrawingManagerService','DownArrow','sketchType','ContextMenuPosition','BooleanNumber','_initSelection','ShapeArcIcon','Star24','ShapeDecagonIcon','IUIPartsService','_setTransForm','Transform','ShapeFlowChartMergeIcon','docs-shape-ui.line.beginArrowSize','BracketPair','docs-shape-ui.shape.type.math-minus','FlowchartAlternateProcess','ShapeActionButtonHelpIcon','DocumentDataModel','docs-shape-ui.line.capType.square','_drawRichText','PARAGRAPH','_getShapeAdjustInfosById','isHit','docs-shape-ui.shape.type.irregular-seal1','ShapeGradientTypeEnum','univer-flex\x20univer-flex-col\x20univer-gap-3','docs-shape-ui.fill.picture.insert','ShapeFlowChartPunchedCardIcon','univer-flex\x20univer-items-center\x20univer-gap-2','DocumentViewModel','docs-shape-ui.line.sketchType.handDrawn','Miter','disableShapeOption','ShapeLeftRightRibbonIcon','univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold','getCanvasElement','jsx','ShapeVerticalScrollIcon','shape-text','LightningBolt','Select','subscribeEvent','ShapeLineDashEnum','_lastEditingShapeKey','invert','linear','featurePluginUpdateNotification','isHorizontal','SetInlineFormatStrikethroughCommand','ShapeLineTypeEnum','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md\x20univer-bg-primary-600','Linear','docs-shape-ui.line.dashType.longDashDot','paragraph','BorderCallout3','ShapePentagonIcon','MoreDownIcon','setAdjustValueByName','ISidebarService','docs-shape-ui.shape.type.flow-chart-decision','strokeWidth','ShapeDefaultConfig','shape-floating-toolbar','_injector','LeftBrace','SquareTabs','M14.3\x2010H17.5','OrderListCommand','ShapeWedgeRectCalloutIcon','UniverDocsShapeUIPlugin','segmentId','shapeText','univer-flex\x20univer-h-6\x20univer-min-w-7\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','ShapeRectTextboxVerticalIcon','_isShouldShowDrawingShapeAdjust','docs-shape-ui.toolbar.underline','univer-absolute','ShapePieIcon','docs-shape-ui.shape.type.moon','Callout3','onCommandExecuted','updateContext','WedgeRectCallout','ShapeUpDownArrowIcon','ShapeCurvedLeftArrowIcon','endArrow','_init','symbol','docs-shape-ui.shapePosition','#ffffff','syncExecuteCommand','resetCursor','docs-shape-ui.shape.type.swoosh-arrow','_activeShapeInfo','Square','_loadShapePictureFill','blockArrow','docs-shape-ui.shape.type.accent-border-callout2','docs-shape-ui.shape.type.cube','startArrow','docs-shape-ui.shape.type.left-brace','ShapeBentConnector3Arrow2Icon','docs-shape-ui.shape.type.left-bracket','offsetY','AlignBottomIcon','SetInlineFormatTextBackgroundColorCommand','BentUpArrow','gdRefX','docs-shape-ui.shape.type.parallelogram','SetInlineFormatTextColorCommand','getOwnPropertyDescriptor','doc.shape.picker.component','_activeAdjustInfo','next','scaleX','ShapeLeftBracketIcon','_adjName','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-flex-col\x20univer-gap-2\x20univer-border-l-2\x20univer-border-l-gray-200\x20univer-pl-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-l-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','ShapeFunnelIcon','Dodecagon','AccentCallout2','IrregularSeal2','docDrawingPositionToTransform','docs-shape-ui.fill.transparency','ContextMenuGroup','ShapeBevelIcon','_baseShapeLeft','FOCUSING_SHAPE_TEXT_EDITOR','popup','dispose','resize','docs-shape-ui.toolbar.alignJustify','Button','36XKCGtE','getRenderById','onTransformChange$','applyPoint','FLOAT_TEXT_STYLE_MENU_ID','ShapeFlowChartMagneticDrumIcon','ShapeChartStarIcon','DEFAULT_DOC_SHAPE_WIDTH','ShapeLeftBraceIcon','getFlatMenuByPositionKey','refreshShapeFillImage','docs-shape-ui.shape.type.round2-diag-rect','None','ShapeActionButtonSoundIcon','docs-shape-ui.line.endArrowSize','ShapeRound2SameRectIcon','PaintBucketDoubleIcon','_addShapeAdjustControl','KeyCode','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','_clipService','Pie','ShapeDownArrowCalloutIcon','_componentManager','clip','DashDot','univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-3\x20univer-py-1\x20univer-text-sm\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','ShapeBracePairIcon','univer-flex-1','docs-shape-ui.shape.type.star4','SnipRoundRect','6.4','docs-shape-ui.shape.type.ellipse-ribbon','ShapeBorderCallout1Icon','docs-shape-ui.fill.picture.source','ShapeAccentBorderCallout3Icon','MathMultiply','true','univer-text-gray-500','AlignRightCommand','object','createInternalEditorID','useIsFocusing','forEach','ShapeSmileyFaceIcon','docs-shape-ui.shape.type.bevel','univer-text-gray-600\x20univer-transition-transform','ShapeMathMultiplyIcon','docs-shape-ui.shape.type.arc','data','Digit7','docs-shape-ui.toolbar.alignLeft','ShapeAccentBorderCallout1Icon','docs-shape-ui.shape.type.corner-tabs','getAllUnitsForType','ShapeDiamondIcon','LEFT','CONTENT','getFonts','getOwnPropertyNames','ShapeFlowChartOfflineStorageIcon','ShapeBentArrowIcon','docs-shape-ui.line.sketchType.none','round','ShapeNonIsoscelesTrapezoidIcon','set','dataModel','UpDownArrow','ActionButtonBeginning','docs-shape-ui.shape.type.bent-connector3-arrow1','ShapeStar12Icon','Cloud','docs-shape-ui.shape.type.action-button-beginning','IRenderManagerService','ShapeStar32Icon','docs-shape-ui.shape.type.flow-chart-merge','ShapeCallout3Icon','LeftRightArrowCallout','RightJustifyingIcon','_config','_shapeId','_floatMenu','univer-mb-2','docs-shape-ui.fill.picture.tileAsTexture','VERTICAL_ROTATE_ANGLE','docs-shape-ui.shape.type.callout2','ShapeBlockArcIcon','ShapeFlowChartExtractIcon','MenuManagerPosition','calculate','constructor','_baseShapeTop','Cube','group','clearControl$','ShapeFrameIcon','InputNumber','_registerDrawingFocusChangeHandler','drawingType','jsxs','MathMinus','docs-shape-ui.line.arrowType.none','adjHandleFill','onPointerUp$','Heptagon','RightTriangle','AccentBorderCallout1','ShapeTrapezoidIcon','getAdjustValueByName','getShapePopupMenus','behindText','getAncestorScale','_renderManagerService','docs-shape-ui.shape.type.plaque','docs-shape-ui.fill.pictureFill','WRAP_SQUARE','VerticalCenterIcon','FlowchartCollate','HorizontalAlign','ShapeFlowChartDecisionIcon','ShapeRound2DiagRectIcon','BuiltInUIPart','path','replace','adjName','DeleteRightCommand','docs-shape-ui.shape.type.flow-chart-connector','ShapeLightningBoltIcon','ShapeStar16Icon','span','_urlImageService','ShapeArrowSizeEnum','sin','ShapeChordIcon','VIEWPORT_KEY','starAndBanner','call','ShapeActionButtonInformationIcon','LeftArrow','ShapeSnipRoundRectIcon','getValue','ShapeBentUpArrowIcon','_baseShapeWidth','docs-shape-ui.line.title','DRAWING_IMAGE','docs-shape-ui.shape.type.star7','mergeMenu','docs-shape-ui.shape.type.border-callout3','focus','horizontalAlign','docs-shape-ui.shape.type.pie-wedge','isRender','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','SetInlineFormatSuperscriptCommand','docs-shape-ui.fill.picture.align.tl','_context','univer-size-full','56RLqhvr','ShapeActionButtonMovieIcon','changeStart$','#3B82F6','disposeWithMe','getInverseCoord','ShapeAccentCallout3Icon','_transformCalculateSrcRect','_initCommands','Radio','start','VIEW_MAIN','LeftJustifyingIcon','docs-shape-ui.shape.type.line','remove$','docs-shape-ui.shape.type.flow-chart-delay','_docsShapeService','DocsShapeUIController','ShapeNotchedRightArrowIcon','Round','_getSceneByUnitId','docs-shape-ui.shape.type.up-down-arrow','LeftCircularArrow','ShapeNoSmokingIcon','_updateShape','ShapeLeftArrowCalloutIcon','values','getDrawingOrder','registerRenderModule','docs-shape-ui.shape.type.flow-chart-magnetic-drum','_initEvents','rectangle','position','getShapeTextData','shapeType','docs-shape-ui.shape.type.star8','docs-shape-ui.fill.picture.rotateWithShape','has','size','key','ShapeLineIcon','docs-shape-ui.toolbar.alignCenter','Round1Rect','StealthArrow','max','unsubscribe','ShapeCloudIcon','StripedRightArrow','ENTER','docs-shape-ui.shape.type.block-arc','ShapeFlowChartTerminatorIcon','univer-text-sm','ShapeEllipseIcon','ShapeActionButtonBlankIcon','docs-shape-ui.shape.type.accent-callout2','asObservable','radial','univer-flex\x20univer-flex-nowrap\x20univer-gap-2\x20univer-px-2','onload','SetInlineFormatSubscriptCommand','univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','ShapeBentConnector3Icon','ShapeChartPlusIcon','ShapeFlowChartPunchedTapeIcon','_registerOperations','UniverDocsShapePlugin','LeftRightUpArrow','getSkeleton','docs-shape-ui.shape.type.folder-corner','disabled','shape-text-','docs-shape-ui.line.dashType.title','SolidLine','1.4','getCurrentUniverDocInstance','HorizontalScroll','EllipseRibbon','ShapeFlowChartDisplayIcon','setEditing','_transform','file','OvalArrow','centerAngle','ShapeArrowTypeEnum','docs-shape-ui.line.beginArrowType','getUnit','section','endNodePosition','gdRefY','lineJoinType','ShapeWedgeRoundRectCalloutIcon','pick','useObservable','AlignLeftCommand','ShapeBorderCallout3Icon','Arrow','ShapeOctagonIcon','FlowchartPunchedCard','docs-shape-ui.shape.type.action-button-movie','UUID','docs-shape-ui.shape.group.','paragraphMenuPlacement','12UIwiSA','docs-shape-ui.line.capType.flat','_localeService','docs-shape-ui.shape.type.can','localeService','LAYOUT','setFillImage','_updateAdjustControlPositions','ShapeStraightConnector2Icon','docs-shape-ui.shape.type.left-circular-arrow','onSavingEditorData$','src','docs-shape-ui.shape.type.round1-rect','MathEqual','docs-shape-ui.shape.type.ribbon2','close','LongDash','updateDocumentRenderConfig','style','shapeId','getObject','MEDIA','Tools','vertical','BehaviorSubject','PositionedObjectLayoutType','toDisposable','FlowChartInputOutput','_baseShapeHeight','classType','ShapeHorizontalScrollIcon','scaleY','_createShapePopupMenu','Gear6','ShapePieWedgeIcon','ShapeCubeIcon','docs-shape-ui.shape.type.smiley-face','docs-shape-ui.line.endArrowType','useMemo','DoubleWave','height','docs-shape-ui.shape.type.decagon','DocsShapeService','docs-shape-ui.shape.type.rect-textbox-horizontal','ShapeRightBracketIcon','srcRect','fonts$','docs-shape-ui.line.dashType.solid','254517ZhcvSC','UndoCommand','inFrontOfText','docs-shape-ui.fill.picture.align.r','getTransformerByCreate','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','group\x20univer-relative\x20univer-inline-block','docs-shape-ui.shape.type.bent-arrow','ShapeActionButtonBeginningIcon','ImageFillModeEnum','docs-shape-ui.shape.type.action-button-information','Freehand','setConfig','docs-shape-ui.line.joinType.title','subscribe','ShapeLeftCircularArrowIcon','useEffect','ShapeUturnArrowIcon','docs-shape-ui.shape.type.notched-right-arrow','DOCS_SHAPE_UI_PLUGIN','docs-shape-ui.shape.type.snip-round-rect','ShapeRightArrowIcon','_editingParams$','createControl$','univer-hidden','docs-shape-ui.shape.type.left-right-arrow','LeftArrowCallout','callout','docs-shape-ui.shape.type.chart-plus','_activeShapeId','refreshAdjustControls','_props','getDocumentData','Star7','#111827','imageTile','ShapeLeftArrowIcon','DRAWING_OBJECT_LAYER_INDEX','_initEditingParams','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-rounded-lg\x20univer-bg-white\x20univer-p-3\x20univer-shadow-lg\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','InsertDocDrawingCommand','viewportScrollX','ShapeTypeEnum','univer-max-h-[75vh]\x20univer-w-[320px]\x20univer-pb-2','ShapeLeftRightArrowCalloutIcon','ShapeStar24Icon','docs-shape-ui.shape.type.flow-chart-document','behindDoc','some','docs-shape-ui.shape.type.flow-chart-magnetic-tape','disableObjectsEvent','ShapeIrregularSeal2Icon','ActionButtonHome','getAbsolutePosition','docs-shape-ui.shape.type.math-equal','_initialize','ActionButtonInformation','docs-shape-ui.shape.type.home-plate','_showFloatMenu','ShapeDownArrowIcon','FlowchartPunchedTape','docs-shape-ui.shape.type.double-wave','renderConfig','ShapeCallout1Icon','472730YprKMW','MetaKeys','isInGroup','ShapeFlowChartDocumentIcon','FlowchartDisplay','ShapeSketchTypeEnum','docs-shape-ui.line.capType.round','engine','ShapeRibbonIcon','ImageSourceTypeEnum','ShapeBracketPairIcon','ActionButtonForwardNext','StrikethroughIcon','docs-shape-ui.line.arrowType.diamondArrow','docs-shape-ui.shape.type.circular-arrow','SquareDot','top-center','ShapeCurvedUpArrowIcon','_adjHandlerPointerMove','ShapeFlowChartConnectorIcon','hasOwnProperty','docs-shape-ui.shape.type.flow-chart-punched-card','FlowchartExtract','deepClone','ShapeChartXIcon','transparent','isEditing','docs-shape-ui.shape.type.right-arrow','CloseDocShapeFormatPanelOperation','transformForAngle','ShapeFlowChartInternalStorageIcon','Circle','registerCommand','docs-shape-ui.shape.type.action-button-back-previous','Checkbox','ShapeFlowChartOffpageConnectorIcon','DrawingTypeEnum','_isOpenedShapeEditPanel','other','_activeShapeModel','docs-shape-ui.textWrap.topAndBottom','_refreshShapeData','BentConnector3','M11.8\x2015.5H17.5','error','ShapeActionButtonReturnIcon','CurvedUpArrow','docs-shape-ui.shape.type.chart-star','FlowchartSort','_drawSimpleText','value','docs-shape-ui.line.arrowType.stealthArrow','InsertDocShapeMutation','DocSkeletonManagerService','ShapeWedgeEllipseCalloutIcon','ShapeRoundRectIcon','ShapeIrregularSeal1Icon','doc.shape.edit.panel','FromArray','textStyle','docs-shape-ui.align.middle','gdRefAng','univer-box-border\x20univer-flex\x20univer-max-w-[760px]\x20univer-flex-wrap\x20univer-items-center\x20univer-rounded\x20univer-bg-white\x20univer-px-1\x20univer-py-1\x20univer-shadow-sm\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','DELETE','SHAPE_TEXT','gdRefR','onPointerMove$','docs-shape-ui.fill.color','docs-shape-ui.config','_isStartAdjusting','textRect','docs-shape-ui.shape.type.math-multiply','docs-shape-ui.shape.type.vertical-scroll','restore','docs-shape-ui.shape.type.wedge-round-rect-callout','docs-shape-ui.toolbar.textColor','docs-shape-ui.deleteShape','Ribbon','scene','gradientAngle','wrapTopAndBottom','docs-shape-ui.shape.type.flow-chart-manual-input','ShapeRound1RectIcon','ShapeActionButtonHomeIcon','refreshTransform','setContextValue','Ellipse','Triangle','options','ActionButtonBlank','closest','Funnel','ShapeCanIcon','_docDrawingShapeRenderController','univer-text-xs','CornerTabs','UpArrowCallout','getAdjustInfoByName','RightBracket','isFinite','Hexagon','ShapeParallelogramIcon','_activeShapeAdjustPointList'];_0x4e55=function(){return _0x290d9a;};return _0x4e55();}function _0xacee(_0x333001,_0x1f6690){_0x333001=_0x333001-0x121;const _0x4e5537=_0x4e55();let _0xacee6b=_0x4e5537[_0x333001];return _0xacee6b;}function D(_0x5da040,_0x335bec){const _0x17be25=_0x1edbb0;var _0x3708b5;let _0x118083=_0x5da040[_0x17be25(0x132)](p[_0x17be25(0x3ce)])[_0x17be25(0x386)](_0x335bec),_0xd73b60=_0x118083==null||(_0x3708b5=_0x118083[_0x17be25(0x197)](f['DocSelectionRenderService'])['getActiveTextRange']())==null?void 0x0:_0x3708b5[_0x17be25(0x4ed)]();return _0xd73b60?{'left':_0xd73b60[_0x17be25(0x280)],'top':_0xd73b60['top']}:null;}function O(_0x419fad,_0x21bfdd,_0x34065f){const _0x3f0f9c=_0x1edbb0;var _0x5b2457,_0x59fc9d,_0x4546fc;if(!_0x34065f)return null;let _0x2c46c4=_0x419fad[_0x3f0f9c(0x132)](p['IRenderManagerService'])['getRenderById'](_0x21bfdd),_0x4acf0a=_0x2c46c4==null?void 0x0:_0x2c46c4[_0x3f0f9c(0x197)](f[_0x3f0f9c(0x615)])[_0x3f0f9c(0x57e)];if(!_0x4acf0a)return null;let _0x5dd5c4=_0x34065f===_0x3f0f9c(0x235)?{'startOffset':_0x4acf0a[_0x3f0f9c(0x28d)][_0x3f0f9c(0x560)],'endOffset':_0x4acf0a['moveRange']['endOffset']}:_0x4acf0a[_0x3f0f9c(0x1b9)];return{'range':{'unitId':_0x21bfdd,'startOffset':_0x5dd5c4[_0x3f0f9c(0x214)],'endOffset':_0x5dd5c4['endOffset'],'segmentId':(_0x5b2457=(_0x59fc9d=_0x4acf0a['paragraph'])==null?void 0x0:_0x59fc9d[_0x3f0f9c(0x346)])==null?'':_0x5b2457},'position':(_0x4546fc=_0x4acf0a[_0x3f0f9c(0x335)])!=null&&_0x4546fc['rect']?{'left':_0x4acf0a['paragraph'][_0x3f0f9c(0x20d)][_0x3f0f9c(0x280)],'top':_0x34065f===_0x3f0f9c(0x235)?_0x4acf0a[_0x3f0f9c(0x335)][_0x3f0f9c(0x20d)][_0x3f0f9c(0x178)]:_0x4acf0a[_0x3f0f9c(0x335)][_0x3f0f9c(0x20d)][_0x3f0f9c(0x153)]}:null};}function k(_0x266c7c,_0xcfc59e,_0x3eb6d3){const _0x301b04=_0x1edbb0;var _0x5a2317;return{'size':{'width':_0x266c7c,'height':_0xcfc59e},'positionH':{'relativeFrom':u[_0x301b04(0x155)]['PAGE'],'posOffset':(_0x5a2317=_0x3eb6d3==null?void 0x0:_0x3eb6d3[_0x301b04(0x280)])==null?0x0:_0x5a2317},'positionV':{'relativeFrom':u['ObjectRelativeFromV'][_0x301b04(0x314)],'posOffset':0x0},'angle':0x0};}const A={'type':u[_0x1edbb0(0x5f2)]['COMMAND'],'id':_0x1edbb0(0x168),'handler':async(_0x17e6f2,_0x3207f3)=>{const _0x10be3f=_0x1edbb0;var _0x524dbd,_0x17acfc,_0x4da180,_0x324a3d,_0x2eb980,_0x4edc05;let _0x1d124e=_0x17e6f2[_0x10be3f(0x132)](u[_0x10be3f(0x2eb)])[_0x10be3f(0x46c)]();if(!_0x1d124e)return!0x1;let _0x214750=_0x17e6f2[_0x10be3f(0x132)](u[_0x10be3f(0x15b)]),_0x554b1e=_0x1d124e[_0x10be3f(0x2d6)](),_0x3ff636=_0x554b1e,_0xb962f5=(_0x524dbd=_0x3207f3[_0x10be3f(0x49b)])==null?(0x0,u['generateRandomId'])():_0x524dbd,_0x542ad5=(_0x17acfc=_0x3207f3['width'])==null?l[_0x10be3f(0x38c)]:_0x17acfc,_0x254fd0=(_0x4da180=_0x3207f3[_0x10be3f(0x4b0)])==null?l['DEFAULT_DOC_SHAPE_HEIGHT']:_0x4da180,_0x375088=(_0x324a3d=(_0x2eb980=_0x3207f3[_0x10be3f(0x190)])==null?E(_0x3207f3[_0x10be3f(0x52a)],_0x3207f3['enhanceParams']):_0x2eb980)==null?{'fill':{'fillType':c['ShapeFillEnum']['SolidFill'],'color':w},'stroke':{'lineStrokeType':c[_0x10be3f(0x331)]['SolidLine'],'width':0x1,'color':T}}:_0x324a3d,_0x39c390=O(_0x17e6f2,_0x554b1e,_0x3207f3[_0x10be3f(0x487)]),_0x34cfd9=(_0x4edc05=_0x39c390==null?void 0x0:_0x39c390[_0x10be3f(0x442)])==null?D(_0x17e6f2,_0x554b1e):_0x4edc05,_0x5affd8=k(_0x542ad5,_0x254fd0,_0x34cfd9),_0x1652aa=(0x0,f[_0x10be3f(0x37a)])(_0x5affd8);_0x1652aa&&_0x34cfd9&&(_0x1652aa['top']=_0x34cfd9[_0x10be3f(0x153)]),_0x214750['syncExecuteCommand'](l[_0x10be3f(0x52c)]['id'],{'unitId':_0x554b1e,'shapeId':_0xb962f5,'shapeType':_0x3207f3['value'],'shapeData':_0x375088}),_0x39c390&&_0x17e6f2['get'](f[_0x10be3f(0x60f)])[_0x10be3f(0x5b6)](_0x39c390[_0x10be3f(0x2b2)]);let _0x1821e8={'unitId':_0x554b1e,'subUnitId':_0x3ff636,'drawingId':_0xb962f5,'drawingType':u['DrawingTypeEnum'][_0x10be3f(0x23f)],'transform':_0x1652aa,'docTransform':_0x5affd8,'data':{'shapeType':_0x3207f3[_0x10be3f(0x52a)],'shapeData':_0x375088},'behindDoc':u[_0x10be3f(0x303)]['FALSE'],'title':'','description':'','layoutType':u[_0x10be3f(0x4a1)][_0x10be3f(0x29b)],'wrapText':u[_0x10be3f(0x63b)][_0x10be3f(0x283)],'distB':0x0,'distL':0x0,'distR':0x0,'distT':0x0,'allowTransform':!0x0};return!!_0x214750[_0x10be3f(0x35a)](d[_0x10be3f(0x4e0)]['id'],{'unitId':_0x554b1e,'drawings':[_0x1821e8]});}},j={'type':u[_0x1edbb0(0x5f2)][_0x1edbb0(0x609)],'id':_0x1edbb0(0x2c6),'handler'(){return!0x0;}},M={'type':u[_0x1edbb0(0x5f2)][_0x1edbb0(0x609)],'id':'doc.operation.open-doc-shape-format-panel','handler'(){return!0x0;}},N=_0x1edbb0(0x531),P=(0x0,u[_0x1edbb0(0x3ae)])(_0x1edbb0(0x538));function F(_0x868d34){'@babel/helpers - typeof';const _0xb9d65a=_0x1edbb0;return F=typeof Symbol==_0xb9d65a(0x5ef)&&typeof Symbol['iterator']==_0xb9d65a(0x357)?function(_0x44ddad){return typeof _0x44ddad;}:function(_0xd12875){const _0xa5b79a=_0xb9d65a;return _0xd12875&&typeof Symbol==_0xa5b79a(0x5ef)&&_0xd12875[_0xa5b79a(0x3df)]===Symbol&&_0xd12875!==Symbol[_0xa5b79a(0x56f)]?'symbol':typeof _0xd12875;},F(_0x868d34);}function ee(_0x17e3a9,_0x10acd3){const _0x5daf25=_0x1edbb0;if(F(_0x17e3a9)!=_0x5daf25(0x3ad)||!_0x17e3a9)return _0x17e3a9;var _0x1d6d5c=_0x17e3a9[Symbol['toPrimitive']];if(_0x1d6d5c!==void 0x0){var _0x50dfe7=_0x1d6d5c[_0x5daf25(0x40d)](_0x17e3a9,_0x10acd3||'default');if(F(_0x50dfe7)!='object')return _0x50dfe7;throw TypeError(_0x5daf25(0x2ca));}return(_0x10acd3==='string'?String:Number)(_0x17e3a9);}function I(_0x263b74){var _0x1e8aee=ee(_0x263b74,'string');return F(_0x1e8aee)=='symbol'?_0x1e8aee:_0x1e8aee+'';}function L(_0x5ee074,_0x539783,_0x242d05){const _0x3b0477=_0x1edbb0;return(_0x539783=I(_0x539783))in _0x5ee074?Object[_0x3b0477(0x198)](_0x5ee074,_0x539783,{'value':_0x242d05,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5ee074[_0x539783]=_0x242d05,_0x5ee074;}var R=class extends u[_0x1edbb0(0x2bf)]{constructor(..._0x333e59){const _0x60753=_0x1edbb0;super(..._0x333e59),L(this,_0x60753(0x4ce),new _[(_0x60753(0x4a0))](null)),L(this,_0x60753(0x2a6),this['_editingParams$'][_0x60753(0x459)]()),L(this,_0x60753(0x216),new _['BehaviorSubject'](!0x1)),L(this,_0x60753(0x492),this[_0x60753(0x216)][_0x60753(0x459)]());}[_0x1edbb0(0x381)](){const _0x699f5f=_0x1edbb0;this[_0x699f5f(0x4ce)][_0x699f5f(0x371)](null),this['_editingParams$'][_0x699f5f(0x587)](),this['_onSavingEditorData$'][_0x699f5f(0x371)](!0x1),this['_onSavingEditorData$'][_0x699f5f(0x587)](),super[_0x699f5f(0x381)]();}[_0x1edbb0(0x470)](_0x239801){const _0x4d1df2=_0x1edbb0;this[_0x4d1df2(0x4ce)][_0x4d1df2(0x371)](_0x239801),_0x239801==null&&this[_0x4d1df2(0x216)][_0x4d1df2(0x371)](!0x1);}[_0x1edbb0(0x29d)](_0x4b34eb){const _0x42201b=_0x1edbb0;this[_0x42201b(0x216)]['next'](_0x4b34eb);}['getEditing'](){const _0x962c49=_0x1edbb0;return this['_editingParams$'][_0x962c49(0x411)]();}};function z(_0x4ed1de,_0x3404b3,_0xb1bac8,_0x2b4e1b,_0x5a5fab,_0xa9f174){const _0x5132e0=_0x1edbb0;let _0x1cc224={'unitId':_0x3404b3,'shapeId':_0x2b4e1b,'shapeData':_0xa9f174,'oldShapeJSON':_0x5a5fab};return _0x4ed1de[_0x5132e0(0x1ce)](l[_0x5132e0(0x62f)]['id'],_0x1cc224);}function B(_0x45088a,_0x644b6a,_0x19ab26,_0x272e95,_0x26be84,_0x40b1b6){const _0x535e0b=_0x1edbb0;let _0x1bfbea={'unitId':_0x644b6a,'shapeId':_0x272e95,'shapeData':_0x40b1b6,'oldShapeJSON':_0x26be84};return _0x45088a[_0x535e0b(0x1ce)](l[_0x535e0b(0x62f)]['id'],_0x1bfbea);}function V(_0x3320e5,_0x3311a3){const _0x1885c4=_0x1edbb0;var _0x361581;let {isHorizontal:_0x4ce85c,textRect:_0x19b2eb,verticalAlign:_0x42bf69}=_0x3311a3,_0x28a28e=_0x4ce85c?_0x19b2eb[_0x1885c4(0x627)]:_0x19b2eb['height'],_0x3ccd17=u[_0x1885c4(0x49e)][_0x1885c4(0x50f)](_0x3320e5),_0x712995=(_0x361581=_0x3ccd17[_0x1885c4(0x13b)])==null?{}:_0x361581,_0x5c2b61={..._0x712995[_0x1885c4(0x4f6)],'centerAngle':_0x4ce85c?0x0:p[_0x1885c4(0x3d9)],'vertexAngle':_0x4ce85c?0x0:p[_0x1885c4(0x3d9)],'wrapStrategy':u['WrapStrategy'][_0x1885c4(0x142)]};if(_0x42bf69!==void 0x0&&(_0x5c2b61[_0x1885c4(0x205)]=_0x42bf69),_0x3311a3[_0x1885c4(0x41a)]!==void 0x0){var _0x65228d;_0x5c2b61[_0x1885c4(0x41a)]=_0x3311a3[_0x1885c4(0x41a)];let _0x6c7b66=(_0x65228d=_0x3ccd17[_0x1885c4(0x5e1)])==null?void 0x0:_0x65228d[_0x1885c4(0x59c)];if(_0x6c7b66){for(let _0x2b779c of _0x6c7b66)_0x2b779c['paragraphStyle']||(_0x2b779c['paragraphStyle']={}),_0x2b779c['paragraphStyle'][_0x1885c4(0x41a)]=_0x3311a3[_0x1885c4(0x41a)];}}return _0x3ccd17[_0x1885c4(0x13b)]={..._0x712995,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x28a28e,'height':0x1/0x0},'renderConfig':_0x5c2b61},_0x3ccd17;}function te(_0x188a7e){const _0x172d04=_0x1edbb0;var _0x34ac8c;let _0x3bf1c2=u[_0x172d04(0x49e)]['deepClone'](_0x188a7e),_0x594b64=(_0x34ac8c=_0x3bf1c2[_0x172d04(0x13b)])==null?{}:_0x34ac8c,_0x461117={..._0x594b64[_0x172d04(0x4f6)]};return delete _0x461117[_0x172d04(0x474)],delete _0x461117[_0x172d04(0x20b)],delete _0x461117[_0x172d04(0x205)],delete _0x461117['wrapStrategy'],_0x3bf1c2[_0x172d04(0x13b)]={..._0x594b64,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':0x1/0x0,'height':0x1/0x0},'renderConfig':Object[_0x172d04(0x193)](_0x461117)['length']>0x0?_0x461117:void 0x0},_0x3bf1c2;}var H=class extends p[_0x1edbb0(0x150)]{constructor(_0x416a8b,_0x1b384d){const _0x3dd8a0=_0x1edbb0;super(_0x416a8b,_0x1b384d),L(this,'_props',void 0x0),L(this,_0x3dd8a0(0x429),!0x0),L(this,'_drawingType',u[_0x3dd8a0(0x51c)][_0x3dd8a0(0x23f)]),L(this,'isDrawingObject',!0x0),this[_0x3dd8a0(0x4d7)]={..._0x1b384d},this[_0x3dd8a0(0x356)]();}[_0x1edbb0(0x356)](){const _0x57df65=_0x1edbb0;this['onTransformChange$'][_0x57df65(0x329)](_0x196252=>{const _0x40e658=_0x57df65;this[_0x40e658(0x612)](_0x196252);});}[_0x1edbb0(0x175)](_0x518c33){const _0xc188ff=_0x1edbb0;this[_0xc188ff(0x4d7)][_0xc188ff(0x2b1)]=_0x518c33;}[_0x1edbb0(0x470)](_0x287d68){const _0x45c724=_0x1edbb0;this[_0x45c724(0x4d7)]['isEditing']=_0x287d68,this[_0x45c724(0x629)](!0x0);}get[_0x1edbb0(0x5ab)](){const _0x458e61=_0x1edbb0;return this[_0x458e61(0x4d7)][_0x458e61(0x5ab)];}get[_0x1edbb0(0x1d0)](){const _0x2bc9ea=_0x1edbb0;return this[_0x2bc9ea(0x4d7)][_0x2bc9ea(0x1d0)];}[_0x1edbb0(0x612)](_0x362f52){const _0x4d5c69=_0x1edbb0;if(this['_props'][_0x4d5c69(0x4b5)]==null||!this[_0x4d5c69(0x429)])return;let {width:_0x7393db,height:_0x35e7e5}=this,{width:_0x436013=0x0,height:_0x542b1c=0x0}=_0x362f52[_0x4d5c69(0x61b)],{left:_0x581c52=0x0,top:_0x29397d=0x0,right:_0x22ef01=0x0,bottom:_0xf2359f=0x0}=this[_0x4d5c69(0x4d7)][_0x4d5c69(0x4b5)],_0x755c18=_0x581c52,_0x234593=_0x29397d,_0x245120=_0x22ef01,_0x6a7fb9=_0xf2359f,_0x3fa856=!0x1;if(_0x436013!==0x0&&_0x436013!==_0x7393db){let _0x334dbc=_0x581c52/_0x436013,_0x125fb7=_0x22ef01/_0x436013;_0x755c18=_0x7393db*_0x334dbc,_0x245120=_0x7393db*_0x125fb7,_0x3fa856=!0x0;}if(_0x542b1c!==0x0&&_0x542b1c!==_0x35e7e5){let _0x52179a=_0x29397d/_0x542b1c,_0x4a8211=_0xf2359f/_0x542b1c;_0x234593=_0x35e7e5*_0x52179a,_0x6a7fb9=_0x35e7e5*_0x4a8211,_0x3fa856=!0x0;}_0x3fa856&&this[_0x4d5c69(0x152)]({'left':_0x755c18,'top':_0x234593,'right':_0x245120,'bottom':_0x6a7fb9});}[_0x1edbb0(0x152)](_0x5caa20){const _0x419e1c=_0x1edbb0;this[_0x419e1c(0x4d7)][_0x419e1c(0x4b5)]=_0x5caa20,this[_0x419e1c(0x629)](!0x0);}['setFillImage'](_0x5d9c60){const _0xd9c5d5=_0x1edbb0;this[_0xd9c5d5(0x4d7)][_0xd9c5d5(0x572)]=_0x5d9c60,this[_0xd9c5d5(0x629)](!0x0);}set['transform'](_0x5becb5){const _0x158d58=_0x1edbb0;this[_0x158d58(0x471)]=_0x5becb5;}get['transform'](){const _0x2f9e63=_0x1edbb0;this[_0x2f9e63(0x471)]||this[_0x2f9e63(0x309)]();let _0xc1ddd4=this[_0x2f9e63(0x471)][_0x2f9e63(0x254)]();return this[_0x2f9e63(0x515)](_0xc1ddd4);}get[_0x1edbb0(0x240)](){const _0x13ee9f=_0x1edbb0;return this[_0x13ee9f(0x4d7)]['shapeModel'];}get['shapeId'](){return this['_props']['shapeId'];}get[_0x1edbb0(0x4a5)](){const _0x361b4c=_0x1edbb0;return p['RENDER_CLASS_TYPE'][_0x361b4c(0x16e)];}[_0x1edbb0(0x2aa)](_0x4247c5,_0x38c750,_0x38ce73,_0x14a0e5){const _0x409bb0=_0x1edbb0;let _0x5a90fb=this[_0x409bb0(0x4d7)][_0x409bb0(0x240)];if(!_0x5a90fb||!_0x38c750)return;let _0x459740=_0x38ce73==null?this[_0x409bb0(0x627)]:_0x38ce73,_0x1f8d78=_0x14a0e5==null?this[_0x409bb0(0x4b0)]:_0x14a0e5,_0x1bd355={'shapeType':_0x5a90fb[_0x409bb0(0x1d3)](),'width':_0x459740,'height':_0x1f8d78},_0x4ebd5a={'renderMode':c['ShapeRenderModeEnum'][_0x409bb0(0x626)],'oKey':this['oKey'],'image':this[_0x409bb0(0x4d7)][_0x409bb0(0x572)],'angle':this['angle']};_0x5a90fb['updateContext'](_0x1bd355),_0x4247c5[_0x409bb0(0x2cd)]();let _0x5550f0={'top':0x0,'left':0x0,'width':_0x459740,'height':_0x1f8d78};_0x5a90fb['render'](_0x4247c5,_0x5550f0,_0x4ebd5a),_0x4247c5[_0x409bb0(0x541)]();let _0x1b603c=_0x5a90fb[_0x409bb0(0x443)](),_0x3b1ee0=_0x5a90fb[_0x409bb0(0x29c)](_0x5550f0),_0x176777=_0x5a90fb[_0x409bb0(0x2f0)]();if(_0x1b603c&&_0x3b1ee0&&!_0x176777){_0x4247c5['save'](),this[_0x409bb0(0x2f7)]()['flipX']&&_0x4247c5['scale'](-0x1,0x1);let _0xb8c32=_0x459740/0x2,_0x3d8b86=_0x1f8d78/0x2;_0x4247c5[_0x409bb0(0x25f)](-_0xb8c32,-_0x3d8b86),_0x4247c5[_0x409bb0(0x5a7)](),this[_0x409bb0(0x1af)](_0x4247c5,_0x1b603c,_0x3b1ee0),_0x4247c5[_0x409bb0(0x541)]();}}[_0x1edbb0(0x227)](_0x3737be){}['_drawShapeText'](_0x15c89f,_0x464168,_0x40fd90){const _0x42994f=_0x1edbb0;this[_0x42994f(0x4d7)][_0x42994f(0x512)]||(_0x42994f(0x5d9)in _0x464168&&_0x464168[_0x42994f(0x5d9)]===!0x1?this[_0x42994f(0x529)](_0x15c89f,_0x464168,_0x40fd90):this['_drawRichText'](_0x15c89f,_0x464168,_0x40fd90));}[_0x1edbb0(0x529)](_0x31741b,_0x71ef0,_0x580d63){}[_0x1edbb0(0x313)](_0x3a8fe3,_0x52e1ab,_0x317824){const _0x9aa766=_0x1edbb0;var _0x139539,_0x2a20cd;let _0x3ef34c=this[_0x9aa766(0x4d7)][_0x9aa766(0x48c)];if(!_0x52e1ab[_0x9aa766(0x3c7)]||!_0x3ef34c){_0x3ef34c||console[_0x9aa766(0x1c4)](_0x9aa766(0x41d));return;}let _0x824abe=_0x52e1ab['dataModel'],_0x189b44=_0x824abe[_0x9aa766(0x2d4)],_0x482e4a=(_0x139539=_0x824abe['va'])==null?u[_0x9aa766(0x22a)][_0x9aa766(0x5c0)]:_0x139539,_0x405e2c=(_0x2a20cd=_0x824abe['ha'])==null?u['HorizontalAlign']['LEFT']:_0x2a20cd;if(!_0x189b44)return;let _0x51b70b=_0x52e1ab[_0x9aa766(0x32f)],_0x1324c6=new u[(_0x9aa766(0x311))](V(_0x189b44,{'isHorizontal':_0x51b70b!==!0x1,'textRect':_0x317824,'verticalAlign':_0x482e4a,'horizontalAlign':_0x405e2c})),_0x5ef12a=new p[(_0x9aa766(0x31d))](_0x1324c6),_0x42c9f6=p[_0x9aa766(0x5be)]['create'](_0x5ef12a,_0x3ef34c);_0x42c9f6[_0x9aa766(0x3de)]();let _0x1f78f3=new p[(_0x9aa766(0x605))](_0x9aa766(0x468)+this[_0x9aa766(0x56b)],_0x42c9f6,{'pageMarginLeft':0x0,'pageMarginTop':0x0});_0x1f78f3[_0x9aa766(0x382)](_0x317824[_0x9aa766(0x627)],_0x317824['height']),_0x3a8fe3[_0x9aa766(0x2cd)](),_0x3a8fe3['translateWithPrecision'](_0x317824['left'],_0x317824[_0x9aa766(0x153)]),_0x3a8fe3[_0x9aa766(0x5a7)](),_0x3a8fe3[_0x9aa766(0x20d)](0x0,0x0,_0x317824[_0x9aa766(0x627)],_0x317824[_0x9aa766(0x4b0)]),_0x3a8fe3[_0x9aa766(0x39d)](),_0x1f78f3[_0x9aa766(0x27f)](_0x3a8fe3),_0x3a8fe3[_0x9aa766(0x541)](),_0x1f78f3[_0x9aa766(0x381)](),_0x42c9f6[_0x9aa766(0x381)](),_0x5ef12a[_0x9aa766(0x381)](),_0x1324c6[_0x9aa766(0x381)]();}[_0x1edbb0(0x134)](_0x1e1a8f,_0x1153ae,_0x1a3332=!0x1){const _0x4bf958=_0x1edbb0;if(!this['visible'])return this[_0x4bf958(0x629)](!0x1),this;let {width:_0x2f906b,height:_0x33ff1b,left:_0x12ac7d,top:_0x511d1f}=this,_0x2b030c=this[_0x4bf958(0x5e5)]();if(_0x2f906b=_0x2b030c[_0x4bf958(0x627)],_0x33ff1b=_0x2b030c[_0x4bf958(0x4b0)],_0x12ac7d=_0x2b030c[_0x4bf958(0x280)],_0x511d1f=_0x2b030c['top'],this[_0x4bf958(0x41c)](_0x1153ae)){let {top:_0x3a8930,left:_0x271855,bottom:_0x20b426,right:_0x2a160e}=_0x1153ae['viewBound'];if(_0x2f906b+this[_0x4bf958(0x33c)]+_0x12ac7d<_0x271855||_0x2a160e<_0x12ac7d||_0x33ff1b+this[_0x4bf958(0x33c)]+_0x511d1f<_0x3a8930||_0x20b426<_0x511d1f)return this;}let _0x203bae=_0x12ac7d+_0x2f906b/0x2,_0x1b1d68=_0x511d1f+_0x33ff1b/0x2,_0xa94b75=this['transform']['getMatrix']();if(this[_0x4bf958(0x4d7)][_0x4bf958(0x512)]){let _0x2194ec=this[_0x4bf958(0x2f7)](),_0x254877=new p['Transform']();_0x254877[_0x4bf958(0x1e2)]({..._0x2194ec}),_0xa94b75=_0x254877['getMatrix']();}return _0x1e1a8f['save'](),this[_0x4bf958(0x4d7)]['shapeModel'][_0x4bf958(0x2db)]===!0x0||_0x1e1a8f[_0x4bf958(0x121)](_0xa94b75[0x0],_0xa94b75[0x1],_0xa94b75[0x2],_0xa94b75[0x3],_0x203bae,_0x1b1d68),this[_0x4bf958(0x2aa)](_0x1e1a8f,_0x1153ae,_0x2f906b,_0x33ff1b),_0x1e1a8f[_0x4bf958(0x541)](),this['makeDirty'](!0x1),this;}[_0x1edbb0(0x427)](_0x2ba5f0){const _0x273b83=_0x1edbb0;let {left:_0x1e6343,top:_0x3c66ae,width:_0x17c55e,height:_0x2b6d3c}=this[_0x273b83(0x5e5)](),_0x1523f8=this['transform'][_0x273b83(0x2f3)](),_0x5bd008=_0x1e6343+_0x17c55e/0x2,_0x1eb586=_0x3c66ae+_0x2b6d3c/0x2,_0x3fadcd=new p[(_0x273b83(0x30a))]([_0x1523f8[0x0],_0x1523f8[0x1],_0x1523f8[0x2],_0x1523f8[0x3],_0x5bd008,_0x1eb586]),_0xa0a7e3=this[_0x273b83(0x57f)]();return(this['isInGroup']&&(_0xa0a7e3==null?void 0x0:_0xa0a7e3[_0x273b83(0x4a5)])===p[_0x273b83(0x24f)][_0x273b83(0x5a4)]?_0xa0a7e3[_0x273b83(0x159)][_0x273b83(0x616)](_0x3fadcd):_0x3fadcd)[_0x273b83(0x32c)]()[_0x273b83(0x388)](_0x2ba5f0);}[_0x1edbb0(0x316)](_0x514d29){const _0x446068=_0x1edbb0;let {left:_0x4e89f2,top:_0x262b49,width:_0x1bca35,height:_0x1161c7}=this['getRealBound'](),_0x36b250=_0x4e89f2+_0x1bca35/0x2,_0x782684=_0x262b49+_0x1161c7/0x2,_0x40fea7=this[_0x446068(0x121)][_0x446068(0x2f3)](),_0x573001=new p['Transform']([_0x40fea7[0x0],_0x40fea7[0x1],_0x40fea7[0x2],_0x40fea7[0x3],_0x36b250,_0x782684]),_0x2045ec=this['getParent'](),_0x3af0ae=(this[_0x446068(0x4fa)]&&(_0x2045ec==null?void 0x0:_0x2045ec[_0x446068(0x4a5)])===p[_0x446068(0x24f)][_0x446068(0x5a4)]?_0x2045ec[_0x446068(0x159)][_0x446068(0x616)](_0x573001):_0x573001)['invert']()[_0x446068(0x388)](_0x514d29),_0x101a04=_0x1bca35/0x2,_0xc244e0=_0x1161c7/0x2,_0x19dbbe=this[_0x446068(0x4d7)][_0x446068(0x240)];return _0x19dbbe&&_0x19dbbe[_0x446068(0x2f0)]()?_0x19dbbe[_0x446068(0x2b5)](_0x3af0ae['x'],_0x3af0ae['y'],_0x1bca35,_0x1161c7):_0x3af0ae['x']>=-_0x101a04-this['strokeWidth']/0x2&&_0x3af0ae['x']<=_0x101a04+this['strokeWidth']/0x2&&_0x3af0ae['y']>=-_0xc244e0-this[_0x446068(0x33c)]/0x2&&_0x3af0ae['y']<=_0xc244e0+this[_0x446068(0x33c)]/0x2;}[_0x1edbb0(0x381)](){const _0x5671a5=_0x1edbb0;this[_0x5671a5(0x4d7)][_0x5671a5(0x240)]=null,super[_0x5671a5(0x381)]();}};function U(_0x2ce7f6,_0x58f595){return function(_0x328400,_0x295d7d){_0x58f595(_0x328400,_0x295d7d,_0x2ce7f6);};}function W(_0x448705,_0x7a40dc,_0x1d6ef2,_0x582e01){const _0x13e0c2=_0x1edbb0;var _0x5de8f4=arguments[_0x13e0c2(0x585)],_0x2bbdb8=_0x5de8f4<0x3?_0x7a40dc:_0x582e01===null?_0x582e01=Object[_0x13e0c2(0x36e)](_0x7a40dc,_0x1d6ef2):_0x582e01,_0x17de46;if(typeof Reflect==_0x13e0c2(0x3ad)&&typeof Reflect['decorate']=='function')_0x2bbdb8=Reflect['decorate'](_0x448705,_0x7a40dc,_0x1d6ef2,_0x582e01);else{for(var _0xb37270=_0x448705[_0x13e0c2(0x585)]-0x1;_0xb37270>=0x0;_0xb37270--)(_0x17de46=_0x448705[_0xb37270])&&(_0x2bbdb8=(_0x5de8f4<0x3?_0x17de46(_0x2bbdb8):_0x5de8f4>0x3?_0x17de46(_0x7a40dc,_0x1d6ef2,_0x2bbdb8):_0x17de46(_0x7a40dc,_0x1d6ef2))||_0x2bbdb8);}return _0x5de8f4>0x3&&_0x2bbdb8&&Object['defineProperty'](_0x7a40dc,_0x1d6ef2,_0x2bbdb8),_0x2bbdb8;}let G=class extends u[_0x1edbb0(0x2bf)]{constructor(_0x495eaf,_0x5548af,_0x4150c7,_0x2171d1,_0x100736,_0x53db35){const _0x1310d5=_0x1edbb0;super(),this['_drawingManagerService']=_0x495eaf,this['_docsShapeService']=_0x5548af,this['_localeService']=_0x4150c7,this['_imageIoService']=_0x2171d1,this[_0x1310d5(0x407)]=_0x100736,this[_0x1310d5(0x208)]=_0x53db35;}[_0x1edbb0(0x285)](_0x4bfcf2,_0x5c117c){const _0xf3f1fe=_0x1edbb0;let {transform:_0x5e8533,drawingType:_0x28a553,srcRect:_0x109b81,prstGeom:_0x2dcd5f,groupId:_0x22856c,unitId:_0x2cc2fc,subUnitId:_0x541481,drawingId:_0x526d71,isMultiTransform:_0xd59f07,transforms:_0x19b173,hidden:_0xa7ae66}=_0x4bfcf2;if(_0x28a553!==u['DrawingTypeEnum'][_0xf3f1fe(0x23f)]||!this[_0xf3f1fe(0x1ea)]['getDrawingVisible']()||_0x5e8533==null)return;let _0x1a53b5=_0xd59f07&&_0x19b173?_0x19b173:[_0x5e8533],_0x2f19c0=[];for(let _0x3b9a7c of _0x1a53b5){let {left:_0xb64231,top:_0x4407a2,width:_0x1b8671,height:_0x23227d,angle:_0x86960c,flipX:_0x2bd769,flipY:_0x44385f,skewX:_0x54097a,skewY:_0x54d958}=_0x3b9a7c,_0x4efbd9=_0x1a53b5['indexOf'](_0x3b9a7c),_0xd2428d=(0x0,m[_0xf3f1fe(0x2fd)])({'unitId':_0x2cc2fc,'subUnitId':_0x541481,'drawingId':_0x526d71},_0xd59f07?_0x4efbd9:void 0x0),_0x4fb94c=_0x5c117c[_0xf3f1fe(0x290)](_0xd2428d);if(_0x4fb94c!=null){_0x4fb94c[_0xf3f1fe(0x5ca)]({'left':_0xb64231,'top':_0x4407a2,'width':_0x1b8671,'height':_0x23227d,'angle':_0x86960c,'flipX':_0x2bd769,'flipY':_0x44385f,'skewX':_0x54097a,'skewY':_0x54d958});continue;}let _0x8b58a6=this[_0xf3f1fe(0x1ea)][_0xf3f1fe(0x43d)](_0x2cc2fc,_0x541481),_0x59ab3e=_0x8b58a6[_0xf3f1fe(0x123)](_0x526d71);if(_0x5c117c[_0xf3f1fe(0x290)](_0xd2428d)||!this[_0xf3f1fe(0x1ea)][_0xf3f1fe(0x2c9)]())continue;let _0x534625=this[_0xf3f1fe(0x432)][_0xf3f1fe(0x26d)](_0x2cc2fc,_0x541481,_0x526d71);if(!_0x534625)continue;let _0x20cff0=new H(_0xd2428d,{...(0x0,c['isConnectorShape'])(_0x534625[_0xf3f1fe(0x1d3)]())?{..._0x3b9a7c,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x3b9a7c},'zIndex':_0x59ab3e===-0x1?_0x8b58a6[_0xf3f1fe(0x585)]-0x1:_0x59ab3e,'shapeModel':_0x534625,'localeService':this[_0xf3f1fe(0x48a)],'shapeId':_0x526d71,'unitId':_0x2cc2fc,'subUnitId':_0x541481,'visible':_0xa7ae66!==!0x0});this[_0xf3f1fe(0x426)]((0x0,u[_0xf3f1fe(0x4a2)])(_0x20cff0[_0xf3f1fe(0x147)]['subscribeEvent']((_0xfffcb,_0x2f6fad)=>{const _0x33f836=_0xf3f1fe;_0x534625[_0x33f836(0x2f0)]()||(this[_0x33f836(0x208)][_0x33f836(0x470)]({'visible':!0x0,'unitId':_0x2cc2fc,'subUnitId':_0x541481,'shapeId':_0x526d71,'shapeKey':_0x20cff0['oKey']}),_0x2f6fad[_0x33f836(0x228)]());}))),_0x5c117c['addObject'](_0x20cff0,p[_0xf3f1fe(0x4dd)]),this['_drawingManagerService'][_0xf3f1fe(0x56c)]()&&_0x5c117c[_0xf3f1fe(0x62e)](_0x20cff0),_0x22856c&&(0x0,b['insertGroupObject'])({'drawingId':_0x22856c,'unitId':_0x2cc2fc,'subUnitId':_0x541481},_0x20cff0,_0x5c117c,this[_0xf3f1fe(0x1ea)]),_0x2dcd5f!=null&&_0x20cff0['setPrstGeom'](_0x2dcd5f),_0x109b81!=null&&_0x20cff0[_0xf3f1fe(0x152)](_0x109b81),this['_loadShapePictureFill'](_0x20cff0,_0x534625[_0xf3f1fe(0x29a)]()),_0x2f19c0[_0xf3f1fe(0x135)](_0x20cff0);}return _0x2f19c0;}['refreshShapeFillImage'](_0x214c5e){const _0x5a79af=_0x1edbb0;let _0x42e580=_0x214c5e[_0x5a79af(0x240)][_0x5a79af(0x29a)](),_0x5170de=_0x42e580['fill'];if(!_0x5170de||_0x5170de['fillType']!==c[_0x5a79af(0x1c2)][_0x5a79af(0x1cc)]||!_0x5170de[_0x5a79af(0x1d2)]){_0x214c5e[_0x5a79af(0x48e)](void 0x0);return;}this['_loadShapePictureFill'](_0x214c5e,_0x42e580);}[_0x1edbb0(0x35f)](_0x201819,_0x28d05f){const _0x45c31d=_0x1edbb0;var _0x30d8ef;let _0x571478=_0x28d05f['fill'];if(!_0x571478||_0x571478['fillType']!==c[_0x45c31d(0x1c2)][_0x45c31d(0x1cc)]||!_0x571478[_0x45c31d(0x1d2)])return;let _0x696ed0=_0x571478[_0x45c31d(0x1d2)],_0x34d2c2=(_0x30d8ef=_0x571478[_0x45c31d(0x1b1)])==null?c[_0x45c31d(0x501)][_0x45c31d(0x5b5)]:_0x30d8ef,_0x1363d5=this['_imageIoService'][_0x45c31d(0x5ff)](_0x696ed0,_0x34d2c2);if(_0x1363d5){_0x201819[_0x45c31d(0x48e)](_0x1363d5);return;}this[_0x45c31d(0x2d0)](_0x201819,_0x696ed0,_0x34d2c2);}async[_0x1edbb0(0x2d0)](_0x4246c7,_0x5152f7,_0x3c0786){const _0x5178d8=_0x1edbb0;let _0x2e9cba;try{if(_0x3c0786===c['ImageSourceTypeEnum'][_0x5178d8(0x485)])_0x2e9cba=await this[_0x5178d8(0x1da)][_0x5178d8(0x632)](_0x5152f7);else{if(_0x3c0786===c[_0x5178d8(0x501)]['URL'])try{_0x2e9cba=await this[_0x5178d8(0x407)][_0x5178d8(0x632)](_0x5152f7);}catch{_0x2e9cba=_0x5152f7;}else _0x2e9cba=_0x5152f7;}}catch(_0x1a5f09){console[_0x5178d8(0x524)](_0x5178d8(0x2ef),_0x1a5f09);return;}let _0xd19f5a=new window[(_0x5178d8(0x26b))]();_0xd19f5a[_0x5178d8(0x45c)]=()=>{const _0x1cdf91=_0x5178d8;this[_0x1cdf91(0x1da)][_0x1cdf91(0x5c6)](_0x5152f7,_0x3c0786,_0xd19f5a),_0x4246c7[_0x1cdf91(0x48e)](_0xd19f5a);},_0xd19f5a[_0x5178d8(0x5cb)]=()=>{const _0x95545c=_0x5178d8;console['error'](_0x95545c(0x398),_0x5152f7);},_0xd19f5a[_0x5178d8(0x493)]=_0x2e9cba;}};G=W([U(0x0,m[_0x1edbb0(0x2ff)]),U(0x1,(0x0,u[_0x1edbb0(0x1ac)])(l['DocsShapeService'])),U(0x2,(0x0,u[_0x1edbb0(0x1ac)])(u[_0x1edbb0(0x635)])),U(0x3,m['IImageIoService']),U(0x4,u[_0x1edbb0(0x173)]),U(0x5,(0x0,u['Inject'])(R))],G);let K=class extends u['Disposable']{constructor(_0x2b048f,_0x4e5614,_0x504b55,_0x13d72d){const _0x1cf0f9=_0x1edbb0;super(),this[_0x1cf0f9(0x166)]=_0x2b048f,this['_renderManagerService']=_0x4e5614,this[_0x1cf0f9(0x1ea)]=_0x504b55,this[_0x1cf0f9(0x555)]=_0x13d72d,this[_0x1cf0f9(0x4ef)]();}['_initialize'](){const _0x55dd05=_0x1edbb0;this[_0x55dd05(0x426)](this[_0x55dd05(0x1ea)]['add$'][_0x55dd05(0x4c6)](_0x4e12f1=>this[_0x55dd05(0x23a)](_0x4e12f1))),this[_0x55dd05(0x426)](this[_0x55dd05(0x1ea)][_0x55dd05(0x174)]['subscribe'](_0x1c5252=>{const _0x69085a=_0x55dd05;_0x1c5252[_0x69085a(0x3b0)](_0x2d857d=>this[_0x69085a(0x43a)](_0x2d857d));})),this[_0x55dd05(0x426)](this[_0x55dd05(0x166)][_0x55dd05(0x350)](_0x38df42=>{const _0x9bb5ab=_0x55dd05;if(_0x38df42['id']!==l[_0x9bb5ab(0x23d)]['id'])return;let {unitId:_0x11cb2f,shapeId:_0x3223b1}=_0x38df42[_0x9bb5ab(0x1ee)];this['_refreshShapeData']({'unitId':_0x11cb2f,'subUnitId':_0x11cb2f,'drawingId':_0x3223b1});}));}[_0x1edbb0(0x238)](_0x46dac7,_0x2f086e){const _0x500f6a=_0x1edbb0;let _0x516f8e=this[_0x500f6a(0x436)](_0x46dac7[_0x500f6a(0x5ab)]),_0x5df400=(0x0,m['getDrawingShapeKeyByDrawingSearch'])(_0x46dac7),_0x36595b=_0x516f8e==null?void 0x0:_0x516f8e['scene'][_0x500f6a(0x290)](_0x5df400);_0x36595b==null||_0x36595b['setFillImage'](_0x2f086e);}['_insertShapes'](_0x79dd21){const _0x190800=_0x1edbb0;_0x79dd21[_0x190800(0x3b0)](_0x15251d=>{const _0x16b8c3=_0x190800;var _0x2fd363;let _0x51be69=this[_0x16b8c3(0x436)](_0x15251d[_0x16b8c3(0x5ab)]);if(!_0x51be69)return;let _0x4d7c2c=this[_0x16b8c3(0x1ea)][_0x16b8c3(0x211)](_0x15251d);(_0x4d7c2c==null?void 0x0:_0x4d7c2c['drawingType'])===u[_0x16b8c3(0x51c)][_0x16b8c3(0x23f)]&&((0x0,c[_0x16b8c3(0x22d)])((_0x2fd363=_0x4d7c2c[_0x16b8c3(0x3b6)])==null?void 0x0:_0x2fd363[_0x16b8c3(0x444)])&&_0x4d7c2c['transform']&&(_0x4d7c2c[_0x16b8c3(0x121)]={..._0x4d7c2c['transform'],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}),this[_0x16b8c3(0x1ea)][_0x16b8c3(0x54c)]([_0x4d7c2c]),this[_0x16b8c3(0x555)]['renderDrawingShape'](_0x4d7c2c,_0x51be69['scene']));});}[_0x1edbb0(0x43a)](_0x11fa6f){const _0x377c7e=_0x1edbb0;let _0x3be86a=this[_0x377c7e(0x1ea)]['getDrawingByParam'](_0x11fa6f);if((_0x3be86a==null?void 0x0:_0x3be86a[_0x377c7e(0x3e7)])!==u[_0x377c7e(0x51c)][_0x377c7e(0x23f)])return;let _0x1c4e4e=this['_getSceneByUnitId'](_0x11fa6f['unitId']);if(!_0x1c4e4e||_0x3be86a['transform']==null)return;let _0x3834bc=(0x0,m[_0x377c7e(0x2fd)])(_0x11fa6f),_0xacb20=_0x1c4e4e[_0x377c7e(0x546)][_0x377c7e(0x290)](_0x3834bc);_0xacb20&&(_0xacb20[_0x377c7e(0x152)](_0x3be86a['srcRect']),_0xacb20[_0x377c7e(0x175)](_0x3be86a[_0x377c7e(0x2b1)]),_0xacb20['makeDirty'](!0x0));}[_0x1edbb0(0x521)](_0x526d42){const _0xe0b3bb=_0x1edbb0;let _0x8c593d=this['_getSceneByUnitId'](_0x526d42['unitId']);if(!_0x8c593d)return;let _0x4ac304=(0x0,m['getDrawingShapeKeyByDrawingSearch'])(_0x526d42),_0x5c6e9e=_0x8c593d[_0xe0b3bb(0x546)][_0xe0b3bb(0x290)](_0x4ac304);_0x5c6e9e&&(this['_docDrawingShapeRenderController'][_0xe0b3bb(0x38f)](_0x5c6e9e),_0x5c6e9e[_0xe0b3bb(0x629)](!0x0));}['_getSceneByUnitId'](_0x453dd3){const _0x215e85=_0x1edbb0;if(_0x453dd3==null)return null;let _0x332bc6=this['_renderManagerService']['getRenderById'](_0x453dd3),_0x2c58a7=_0x332bc6==null?void 0x0:_0x332bc6[_0x215e85(0x546)];return _0x2c58a7==null?null:{'scene':_0x2c58a7};}};K=W([U(0x0,u[_0x1edbb0(0x15b)]),U(0x1,p[_0x1edbb0(0x3ce)]),U(0x2,m[_0x1edbb0(0x2ff)]),U(0x3,(0x0,u[_0x1edbb0(0x1ac)])(G))],K);function ne(_0xcd1922){const _0x7f5bed=_0x1edbb0;var _0x3c9dc7,_0x539232,_0x1cbd6b,_0xbaec01,_0x519846,_0x40510b,_0x5bbe39,_0x19c68c,_0x5c9a9c,_0x18cf68,_0x39c855,_0x113024,_0x21cf9f;let {unitId:_0x18ff49,subUnitId:_0x23a937,shapeId:_0x16737a,shapeData:_0x182424,disableShapeOption:_0x5597a6}=_0xcd1922,_0x16f137=(0x0,g[_0x7f5bed(0x1e6)])(u[_0x7f5bed(0x635)]),_0x1ea57c=(0x0,g['useDependency'])(u['ICommandService']),_0x42573c=(0x0,g[_0x7f5bed(0x1e6)])(u[_0x7f5bed(0x1ed)]),_0x3315b8=(0x0,g[_0x7f5bed(0x1e6)])(K),_0x248a46=(0x0,g[_0x7f5bed(0x1e6)])(m[_0x7f5bed(0x5ba)]),_0x520362=(0x0,y[_0x7f5bed(0x604)])(null),_0x485137=_0x182424[_0x7f5bed(0x1b3)],_0x22a278=!!(_0x485137!=null&&_0x485137[_0x7f5bed(0x1d2)]),[_0xad0225,_0xd3062e]=(0x0,y[_0x7f5bed(0x25d)])((_0x3c9dc7=_0x485137==null?void 0x0:_0x485137[_0x7f5bed(0x253)])==null?0x1:_0x3c9dc7),[_0x2cd34a,_0x121c79]=(0x0,y[_0x7f5bed(0x25d)])((_0x539232=_0x485137==null?void 0x0:_0x485137[_0x7f5bed(0x2f2)])==null?c[_0x7f5bed(0x4c1)][_0x7f5bed(0x21a)]:_0x539232),[_0xbb045d,_0x4e7074]=(0x0,y[_0x7f5bed(0x25d)])((_0x1cbd6b=_0x485137==null?void 0x0:_0x485137['imageRotateWithShape'])==null?!0x1:_0x1cbd6b),[_0x3acc97,_0x4915a6]=(0x0,y['useState'])((_0xbaec01=_0x485137==null||(_0x519846=_0x485137[_0x7f5bed(0x4db)])==null?void 0x0:_0x519846[_0x7f5bed(0x591)])==null?0x0:_0xbaec01),[_0xaea0e2,_0x2ae4d8]=(0x0,y[_0x7f5bed(0x25d)])((_0x40510b=_0x485137==null||(_0x5bbe39=_0x485137[_0x7f5bed(0x4db)])==null?void 0x0:_0x5bbe39[_0x7f5bed(0x367)])==null?0x0:_0x40510b),[_0x57d489,_0x33a50c]=(0x0,y['useState'])((_0x19c68c=_0x485137==null||(_0x5c9a9c=_0x485137[_0x7f5bed(0x4db)])==null?void 0x0:_0x5c9a9c[_0x7f5bed(0x372)])==null?0x1:_0x19c68c),[_0x1c784b,_0x41fc52]=(0x0,y[_0x7f5bed(0x25d)])((_0x18cf68=_0x485137==null||(_0x39c855=_0x485137['imageTile'])==null?void 0x0:_0x39c855[_0x7f5bed(0x4a7)])==null?0x1:_0x18cf68),[_0x1197ff,_0x21a3de]=(0x0,y[_0x7f5bed(0x25d)])((_0x113024=_0x485137==null||(_0x21cf9f=_0x485137[_0x7f5bed(0x4db)])==null?void 0x0:_0x21cf9f['alignment'])==null?'tl':_0x113024),_0xcf8fb4=_0x2cd34a===c[_0x7f5bed(0x4c1)]['Tile'],_0x2584a7=Math[_0x7f5bed(0x3c4)]((0x1-_0xad0225)*0x64),_0x1a4328=Math[_0x7f5bed(0x3c4)](_0x57d489*0x64),_0x2e6960=Math[_0x7f5bed(0x3c4)](_0x1c784b*0x64),_0x1849b1=_0x3e69c7=>_0x16f137['t'](_0x3e69c7),_0x2fb25d=[{'label':_0x1849b1(_0x7f5bed(0x41f)),'value':'tl'},{'label':_0x1849b1('docs-shape-ui.fill.picture.align.t'),'value':'t'},{'label':_0x1849b1(_0x7f5bed(0x298)),'value':'tr'},{'label':_0x1849b1(_0x7f5bed(0x2ab)),'value':'l'},{'label':_0x1849b1(_0x7f5bed(0x2e6)),'value':'ctr'},{'label':_0x1849b1(_0x7f5bed(0x4bb)),'value':'r'},{'label':_0x1849b1(_0x7f5bed(0x619)),'value':'bl'},{'label':_0x1849b1(_0x7f5bed(0x2ee)),'value':'b'},{'label':_0x1849b1('docs-shape-ui.fill.picture.align.br'),'value':'br'}],_0x4b913c=_0x5ac13c=>{z(_0x1ea57c,_0x18ff49,_0x23a937,_0x16737a,{'oldShapeData':{'fill':_0x485137?{..._0x485137}:void 0x0}},{'fill':{..._0x485137,..._0x5ac13c}});},_0x2f3a6d=_0x50379d=>{const _0xb8cdd3=_0x7f5bed;_0x4b913c({'imageTile':{..._0x485137==null?void 0x0:_0x485137[_0xb8cdd3(0x4db)],..._0x50379d}});},_0x37482a=()=>{const _0x5f376a=_0x7f5bed;var _0x75611e;return(_0x75611e=_0x520362[_0x5f376a(0x288)])==null?void 0x0:_0x75611e[_0x5f376a(0x19c)]();},_0x382e2c=async _0x2928a8=>{const _0x291693=_0x7f5bed;var _0x5d26a0;let _0x3a43d0=(_0x5d26a0=_0x2928a8[_0x291693(0x126)][_0x291693(0x2dd)])==null?void 0x0:_0x5d26a0[0x0];if(!_0x3a43d0)return;_0x2928a8[_0x291693(0x126)][_0x291693(0x52a)]='';let _0x555bc9=await _0x248a46['saveImage'](_0x3a43d0);if(_0x555bc9==null)return;let {imageSourceType:_0x4e3f1a,source:_0x59eeb3,base64Cache:_0x140af7}=_0x555bc9,{image:_0x3a6cef}=await(0x0,m['getImageSize'])(_0x140af7||'');_0x248a46[_0x291693(0x5c6)](_0x59eeb3,_0x4e3f1a,_0x3a6cef),z(_0x1ea57c,_0x18ff49,_0x23a937,_0x16737a,{'oldShapeData':{'fill':_0x485137?{..._0x485137}:void 0x0}},{'fill':{..._0x485137,'fillType':c[_0x291693(0x1c2)][_0x291693(0x1cc)],'fillImageSource':_0x59eeb3,'fillImageSourceType':_0x4e3f1a}}),_0x3315b8[_0x291693(0x238)]({'unitId':_0x18ff49,'subUnitId':_0x23a937,'drawingId':_0x16737a},_0x3a6cef);},_0x42b628=_0x7f5bed(0x263),_0x40656e=_0x7f5bed(0x60e);return(0x0,x[_0x7f5bed(0x3e8)])(_0x7f5bed(0x2e9),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pt-2','children':[(0x0,x['jsxs'])(_0x7f5bed(0x2e9),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-2','children':[(0x0,x[_0x7f5bed(0x324)])('span',{'className':_0x42b628,'children':_0x1849b1(_0x7f5bed(0x3a7))}),(0x0,x['jsxs'])('div',{'className':_0x7f5bed(0x31c),'children':[(0x0,x['jsx'])('input',{'ref':_0x520362,'type':_0x7f5bed(0x472),'accept':'image/*','className':_0x7f5bed(0x4d0),'onChange':_0x382e2c}),(0x0,x[_0x7f5bed(0x3e8)])(_0x7f5bed(0x2e9),{'className':_0x7f5bed(0x4be),'children':[(0x0,x[_0x7f5bed(0x324)])(_0x7f5bed(0x5d8),{'type':_0x7f5bed(0x5d8),'disabled':_0x5597a6,'className':_0x7f5bed(0x39f),'onClick':_0x37482a,'children':(0x0,x[_0x7f5bed(0x3e8)])('span',{'children':[_0x1849b1(_0x7f5bed(0x31a)),'\x20']})}),_0x22a278&&(0x0,x[_0x7f5bed(0x324)])('div',{'className':_0x7f5bed(0x20c),'children':(0x0,x[_0x7f5bed(0x324)])('img',{'src':_0x485137==null?void 0x0:_0x485137['fillImageSource'],'alt':'','className':'univer-block\x20univer-h-[100px]\x20univer-w-[100px]\x20univer-object-cover'})})]})]})]}),(0x0,x[_0x7f5bed(0x3e8)])(_0x7f5bed(0x2e9),{'className':_0x40656e,'children':[(0x0,x[_0x7f5bed(0x324)])(_0x7f5bed(0x406),{'className':_0x42b628,'children':_0x1849b1('docs-shape-ui.fill.transparency')}),(0x0,x['jsx'])(_0x7f5bed(0x2e9),{'className':_0x7f5bed(0x24c),'children':(0x0,x[_0x7f5bed(0x324)])(v[_0x7f5bed(0x3e5)],{'className':_0x7f5bed(0x21b),'value':_0x2584a7,'disabled':_0x5597a6,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x40fced=>_0x40fced+'%','parser':_0xf5b648=>(_0xf5b648==null?void 0x0:_0xf5b648[_0x7f5bed(0x400)]('%',''))||'','onChange':_0xa86f94=>{const _0x444c88=_0x7f5bed;let _0x458d15=(0x64-Math['max'](0x0,Math[_0x444c88(0x625)](0x64,_0xa86f94==null?0x0:_0xa86f94)))/0x64;_0xd3062e(_0x458d15),_0x4b913c({'imageOpacity':_0x458d15}),_0x42573c[_0x444c88(0x54d)](u[_0x444c88(0x144)],!0x1);},'onFocus':()=>_0x42573c['setContextValue'](u['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x42573c[_0x7f5bed(0x54d)](u['FOCUSING_PANEL_EDITOR'],!0x1)})})]}),(0x0,x[_0x7f5bed(0x324)])(v['Checkbox'],{'checked':_0xcf8fb4,'disabled':_0x5597a6,'onChange':_0x1b578c=>{const _0x51a578=_0x7f5bed;let _0x4c8faa=_0x1b578c?c[_0x51a578(0x4c1)]['Tile']:c[_0x51a578(0x4c1)][_0x51a578(0x21a)];_0x121c79(_0x4c8faa),_0x4b913c({'imageFillMode':_0x4c8faa});},'children':(0x0,x['jsx'])(_0x7f5bed(0x406),{'className':'univer-text-sm','children':_0x1849b1(_0x7f5bed(0x3d8))})}),_0xcf8fb4&&(0x0,x[_0x7f5bed(0x3e8)])(_0x7f5bed(0x2e9),{'className':_0x7f5bed(0x375),'children':[(0x0,x['jsxs'])('div',{'className':_0x40656e,'children':[(0x0,x['jsx'])(_0x7f5bed(0x406),{'className':_0x42b628,'children':_0x1849b1(_0x7f5bed(0x5df))}),(0x0,x[_0x7f5bed(0x324)])('div',{'className':_0x7f5bed(0x24c),'children':(0x0,x[_0x7f5bed(0x324)])(v[_0x7f5bed(0x3e5)],{'className':_0x7f5bed(0x21b),'value':_0x3acc97,'disabled':_0x5597a6,'step':0x1,'onChange':_0x128112=>{_0x2f3a6d({'offsetX':_0x128112==null?0x0:_0x128112}),_0x4915a6(_0x128112==null?0x0:_0x128112);},'onFocus':()=>_0x42573c[_0x7f5bed(0x54d)](u['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x42573c[_0x7f5bed(0x54d)](u[_0x7f5bed(0x144)],!0x1)})})]}),(0x0,x[_0x7f5bed(0x3e8)])(_0x7f5bed(0x2e9),{'className':_0x40656e,'children':[(0x0,x['jsx'])(_0x7f5bed(0x406),{'className':_0x42b628,'children':_0x1849b1(_0x7f5bed(0x596))}),(0x0,x[_0x7f5bed(0x324)])('div',{'className':_0x7f5bed(0x24c),'children':(0x0,x['jsx'])(v[_0x7f5bed(0x3e5)],{'className':_0x7f5bed(0x21b),'value':_0xaea0e2,'disabled':_0x5597a6,'step':0x1,'onChange':_0x456c5d=>{_0x2f3a6d({'offsetY':_0x456c5d==null?0x0:_0x456c5d}),_0x2ae4d8(_0x456c5d==null?0x0:_0x456c5d);},'onFocus':()=>_0x42573c[_0x7f5bed(0x54d)](u[_0x7f5bed(0x144)],!0x0),'onBlur':()=>_0x42573c[_0x7f5bed(0x54d)](u[_0x7f5bed(0x144)],!0x1)})})]}),(0x0,x['jsxs'])('div',{'className':_0x40656e,'children':[(0x0,x['jsx'])(_0x7f5bed(0x406),{'className':_0x42b628,'children':_0x1849b1('docs-shape-ui.fill.picture.scaleX')}),(0x0,x[_0x7f5bed(0x324)])(_0x7f5bed(0x2e9),{'className':_0x7f5bed(0x24c),'children':(0x0,x[_0x7f5bed(0x324)])(v[_0x7f5bed(0x3e5)],{'className':_0x7f5bed(0x21b),'value':_0x1a4328,'disabled':_0x5597a6,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x1f97c9=>_0x1f97c9+'%','parser':_0x3295d5=>(_0x3295d5==null?void 0x0:_0x3295d5[_0x7f5bed(0x400)]('%',''))||'','onChange':_0x2c7d49=>{const _0x334677=_0x7f5bed;let _0x4e668a=Math[_0x334677(0x44e)](0.01,(_0x2c7d49==null?0x64:_0x2c7d49)/0x64);_0x33a50c(_0x4e668a),_0x2f3a6d({'scaleX':_0x4e668a}),_0x42573c['setContextValue'](u[_0x334677(0x144)],!0x1);},'onFocus':()=>_0x42573c[_0x7f5bed(0x54d)](u['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x42573c[_0x7f5bed(0x54d)](u[_0x7f5bed(0x144)],!0x1)})})]}),(0x0,x['jsxs'])(_0x7f5bed(0x2e9),{'className':_0x40656e,'children':[(0x0,x[_0x7f5bed(0x324)])(_0x7f5bed(0x406),{'className':_0x42b628,'children':_0x1849b1(_0x7f5bed(0x15c))}),(0x0,x[_0x7f5bed(0x324)])(_0x7f5bed(0x2e9),{'className':'univer-w-20','children':(0x0,x[_0x7f5bed(0x324)])(v[_0x7f5bed(0x3e5)],{'className':_0x7f5bed(0x21b),'value':_0x2e6960,'disabled':_0x5597a6,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x175b27=>_0x175b27+'%','parser':_0x4004d8=>(_0x4004d8==null?void 0x0:_0x4004d8[_0x7f5bed(0x400)]('%',''))||'','onChange':_0x5a7d68=>{const _0x1ff680=_0x7f5bed;let _0x1e1f71=Math['max'](0.01,(_0x5a7d68==null?0x64:_0x5a7d68)/0x64);_0x41fc52(_0x1e1f71),_0x2f3a6d({'scaleY':_0x1e1f71}),_0x42573c[_0x1ff680(0x54d)](u[_0x1ff680(0x144)],!0x1);},'onFocus':()=>_0x42573c['setContextValue'](u['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x42573c[_0x7f5bed(0x54d)](u[_0x7f5bed(0x144)],!0x1)})})]}),(0x0,x[_0x7f5bed(0x3e8)])(_0x7f5bed(0x2e9),{'className':_0x40656e,'children':[(0x0,x[_0x7f5bed(0x324)])(_0x7f5bed(0x406),{'className':_0x42b628,'children':_0x1849b1(_0x7f5bed(0x220))}),(0x0,x[_0x7f5bed(0x324)])('div',{'className':_0x7f5bed(0x597),'children':(0x0,x[_0x7f5bed(0x324)])(v['Select'],{'className':_0x7f5bed(0x21b),'value':_0x1197ff,'options':_0x2fb25d,'disabled':_0x5597a6,'onChange':_0x13ecff=>{_0x21a3de(_0x13ecff),_0x2f3a6d({'alignment':_0x13ecff});}})})]})]}),(0x0,x[_0x7f5bed(0x324)])(v[_0x7f5bed(0x51a)],{'checked':_0xbb045d,'disabled':_0x5597a6,'onChange':_0x2d98ed=>{_0x4e7074(_0x2d98ed),_0x4b913c({'imageRotateWithShape':_0x2d98ed});},'children':(0x0,x[_0x7f5bed(0x324)])('span',{'className':_0x7f5bed(0x455),'children':_0x1849b1(_0x7f5bed(0x446))})})]});}function re(_0x560792){const _0x205812=_0x1edbb0;var _0x224e79,_0x3d7f90;return(_0x224e79=(_0x3d7f90=_0x560792[_0x205812(0x1b3)])==null?void 0x0:_0x3d7f90['fillType'])==null?c[_0x205812(0x1c2)][_0x205812(0x221)]:_0x224e79;}function ie(_0x20144f){const _0x45d3ee=_0x1edbb0;var _0x2a4429,_0x5bd0e0,_0x1e6ea1,_0x4e7340;let _0x2b8300=(0x0,g[_0x45d3ee(0x1e6)])(u[_0x45d3ee(0x635)]),_0x10bca4=(0x0,g[_0x45d3ee(0x1e6)])(u[_0x45d3ee(0x15b)]),_0x3a6119=(0x0,g[_0x45d3ee(0x1e6)])(u[_0x45d3ee(0x1ed)]),{shapeData:_0x4531c2,isLineShape:_0x46f395,unitId:_0x5026d3,subUnitId:_0x45668d,shapeId:_0x2a6571,disableShapeOption:_0x3397d1}=_0x20144f,[_0x5eb17b,_0x582ccf]=(0x0,y[_0x45d3ee(0x25d)])(re(_0x4531c2)),[_0x218c5f,_0x51f686]=(0x0,y[_0x45d3ee(0x25d)])((_0x2a4429=(_0x5bd0e0=_0x4531c2[_0x45d3ee(0x1b3)])==null?void 0x0:_0x5bd0e0[_0x45d3ee(0x2ec)])==null?c[_0x45d3ee(0x33d)][_0x45d3ee(0x1b3)]:_0x2a4429),[_0x3ca492,_0x5dbcad]=(0x0,y[_0x45d3ee(0x25d)])((_0x1e6ea1=(_0x4e7340=_0x4531c2['fill'])==null?void 0x0:_0x4e7340[_0x45d3ee(0x63a)])==null?0x1:_0x1e6ea1),[_0x158d57,_0x923805]=(0x0,y[_0x45d3ee(0x25d)])(!0x1);if(_0x46f395)return null;let _0x5d611e=0x64-_0x3ca492*0x64;return(0x0,x[_0x45d3ee(0x3e8)])(_0x45d3ee(0x2e9),{'className':_0x45d3ee(0x319),'children':[(0x0,x[_0x45d3ee(0x3e8)])(v['RadioGroup'],{'value':_0x5eb17b,'disabled':_0x3397d1,'onChange':_0x35c54b=>{const _0x520b1c=_0x45d3ee;var _0xa25a04;z(_0x10bca4,_0x5026d3,_0x45668d,_0x2a6571,{'oldShapeData':{'fill':{'fillType':(_0xa25a04=_0x4531c2[_0x520b1c(0x1b3)])==null?void 0x0:_0xa25a04[_0x520b1c(0x287)]}}},{'fill':{'fillType':_0x35c54b}}),_0x582ccf(_0x35c54b);},'direction':'vertical','children':[(0x0,x[_0x45d3ee(0x324)])(v[_0x45d3ee(0x42b)],{'value':c['ShapeFillEnum'][_0x45d3ee(0x221)],'children':(0x0,x[_0x45d3ee(0x324)])('span',{'className':_0x45d3ee(0x455),'children':_0x2b8300['t'](_0x45d3ee(0x24a))})}),(0x0,x['jsx'])(v[_0x45d3ee(0x42b)],{'value':c['ShapeFillEnum']['SolidFill'],'children':(0x0,x[_0x45d3ee(0x324)])(_0x45d3ee(0x406),{'className':'univer-text-sm','children':_0x2b8300['t'](_0x45d3ee(0x2dc))})}),(0x0,x[_0x45d3ee(0x324)])(v[_0x45d3ee(0x42b)],{'value':c['ShapeFillEnum']['GradientFill'],'children':(0x0,x['jsx'])(_0x45d3ee(0x406),{'className':_0x45d3ee(0x455),'children':_0x2b8300['t']('docs-shape-ui.fill.gradientFill')})}),(0x0,x[_0x45d3ee(0x324)])(v[_0x45d3ee(0x42b)],{'value':c[_0x45d3ee(0x1c2)]['PictureFill'],'children':(0x0,x[_0x45d3ee(0x324)])(_0x45d3ee(0x406),{'className':_0x45d3ee(0x455),'children':_0x2b8300['t'](_0x45d3ee(0x3f7))})})]}),_0x5eb17b===c[_0x45d3ee(0x1c2)][_0x45d3ee(0x5b0)]&&(0x0,x[_0x45d3ee(0x3e8)])(_0x45d3ee(0x2e9),{'className':_0x45d3ee(0x257),'children':[(0x0,x[_0x45d3ee(0x3e8)])(_0x45d3ee(0x2e9),{'className':_0x45d3ee(0x57c),'children':[(0x0,x[_0x45d3ee(0x324)])(_0x45d3ee(0x406),{'className':_0x45d3ee(0x45e),'children':_0x2b8300['t'](_0x45d3ee(0x53b))}),(0x0,x[_0x45d3ee(0x324)])(v[_0x45d3ee(0x14f)],{'disabled':_0x3397d1,'overlay':(0x0,x[_0x45d3ee(0x324)])(_0x45d3ee(0x2e9),{'className':_0x45d3ee(0x2f5),'children':(0x0,x[_0x45d3ee(0x324)])(v['ColorPicker'],{'value':_0x218c5f,'onChange':_0x1986ce=>{const _0x1e77f3=_0x45d3ee;var _0x37b72a;z(_0x10bca4,_0x5026d3,_0x45668d,_0x2a6571,{'oldShapeData':{'fill':{'color':(_0x37b72a=_0x4531c2[_0x1e77f3(0x1b3)])==null?void 0x0:_0x37b72a[_0x1e77f3(0x2ec)]}}},{'fill':{'color':_0x1986ce}}),_0x51f686(_0x1986ce),_0x923805(!0x1);}})}),'open':_0x158d57,'onOpenChange':_0x923805,'children':(0x0,x['jsxs'])('a',{'className':_0x45d3ee(0x1a6),'children':[(0x0,x[_0x45d3ee(0x324)])(h['PaintBucketDoubleIcon'],{'className':_0x45d3ee(0x12b),'extend':{'colorChannel1':_0x218c5f}}),(0x0,x[_0x45d3ee(0x324)])(h['MoreDownIcon'],{'className':(0x0,v[_0x45d3ee(0x1ff)])(_0x45d3ee(0x3b3),{'univer-rotate-180':_0x158d57})})]})})]}),(0x0,x[_0x45d3ee(0x3e8)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[(0x0,x['jsx'])(_0x45d3ee(0x406),{'className':_0x45d3ee(0x263),'children':_0x2b8300['t'](_0x45d3ee(0x37b))}),(0x0,x[_0x45d3ee(0x324)])('div',{'className':_0x45d3ee(0x1bd),'children':(0x0,x['jsx'])('div',{'className':_0x45d3ee(0x24c),'children':(0x0,x[_0x45d3ee(0x324)])(v[_0x45d3ee(0x3e5)],{'className':'univer-w-full','value':_0x5d611e,'disabled':_0x3397d1,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x1b7821=>_0x1b7821+'%','parser':_0x32a2a3=>(_0x32a2a3==null?void 0x0:_0x32a2a3['replace']('%',''))||'','onChange':_0x4f0215=>{const _0x5d8662=_0x45d3ee;let _0x437dfb=(0x64-Math['max'](0x0,Math[_0x5d8662(0x625)](0x64,_0x4f0215==null?0x0:_0x4f0215)))/0x64;_0x5dbcad(_0x437dfb),z(_0x10bca4,_0x5026d3,_0x45668d,_0x2a6571,{'oldShapeData':{'fill':{..._0x4531c2[_0x5d8662(0x1b3)],'fillType':_0x5eb17b}}},{'fill':{..._0x4531c2[_0x5d8662(0x1b3)],'fillType':_0x5eb17b,'opacity':_0x437dfb}}),_0x3a6119['setContextValue'](u[_0x5d8662(0x144)],!0x1);},'onFocus':()=>_0x3a6119['setContextValue'](u[_0x45d3ee(0x144)],!0x0),'onBlur':()=>{const _0x3049b4=_0x45d3ee;_0x3a6119[_0x3049b4(0x54d)](u[_0x3049b4(0x144)],!0x1);}})})})]})]}),_0x5eb17b===c[_0x45d3ee(0x1c2)][_0x45d3ee(0x295)]&&(0x0,x[_0x45d3ee(0x324)])(J,{'shapeData':_0x4531c2,'disableShapeOption':_0x3397d1,'onUpdate':_0x4aa797=>{const _0x15212e=_0x45d3ee;z(_0x10bca4,_0x5026d3,_0x45668d,_0x2a6571,{'oldShapeData':{'fill':{..._0x4531c2[_0x15212e(0x1b3)]}}},{'fill':{..._0x4531c2[_0x15212e(0x1b3)],..._0x4aa797}});}}),_0x5eb17b===c[_0x45d3ee(0x1c2)][_0x45d3ee(0x1cc)]&&(0x0,x['jsx'])(ne,{'unitId':_0x5026d3,'subUnitId':_0x45668d,'shapeId':_0x2a6571,'shapeData':_0x4531c2,'disableShapeOption':_0x3397d1})]});}function q(_0x4e58bb){const _0x3e64ca=_0x1edbb0;switch(_0x4e58bb){case c[_0x3e64ca(0x318)][_0x3e64ca(0x333)]:return'linear';case c[_0x3e64ca(0x318)][_0x3e64ca(0x2ed)]:return _0x3e64ca(0x45a);case c[_0x3e64ca(0x318)][_0x3e64ca(0x62d)]:return _0x3e64ca(0x19e);case c[_0x3e64ca(0x318)][_0x3e64ca(0x623)]:return _0x3e64ca(0x2d9);default:return _0x3e64ca(0x32d);}}function ae(_0x137080){const _0x491414=_0x1edbb0;switch(_0x137080){case _0x491414(0x32d):return c['ShapeGradientTypeEnum'][_0x491414(0x333)];case _0x491414(0x45a):return c[_0x491414(0x318)][_0x491414(0x2ed)];case _0x491414(0x19e):return c['ShapeGradientTypeEnum']['Angular'];case _0x491414(0x2d9):return c[_0x491414(0x318)]['Diamond'];default:return c[_0x491414(0x318)][_0x491414(0x333)];}}function J(_0x3c59ec){const _0x3ca827=_0x1edbb0;let {shapeData:_0x4cbb00,disableShapeOption:_0x2eec3e,onUpdate:_0xc6abc}=_0x3c59ec,_0x2fb9c0=(0x0,y[_0x3ca827(0x4ae)])(()=>{const _0x2c50f3=_0x3ca827;var _0x9f649f;let _0x21eec6=_0x4cbb00[_0x2c50f3(0x1b3)];return{'type':q(_0x21eec6==null?void 0x0:_0x21eec6[_0x2c50f3(0x22e)]),'angle':(_0x9f649f=_0x21eec6==null?void 0x0:_0x21eec6[_0x2c50f3(0x547)])==null?0x5a:_0x9f649f,'stops':_0x21eec6!=null&&_0x21eec6[_0x2c50f3(0x213)]&&_0x21eec6['gradientStops'][_0x2c50f3(0x585)]>=0x2?_0x21eec6[_0x2c50f3(0x213)][_0x2c50f3(0x582)](_0xad251b=>({'color':_0xad251b[_0x2c50f3(0x2ec)],'offset':_0xad251b['position']*0x64})):[{'color':(_0x21eec6==null?void 0x0:_0x21eec6[_0x2c50f3(0x2ec)])||_0x2c50f3(0x359),'offset':0x0},{'color':_0x2c50f3(0x5b9),'offset':0x64}]};},[_0x4cbb00[_0x3ca827(0x1b3)]]);return(0x0,x[_0x3ca827(0x324)])(_0x3ca827(0x2e9),{'className':'univer-pt-2','children':(0x0,x[_0x3ca827(0x324)])(v[_0x3ca827(0x145)],{'value':_0x2fb9c0,'onChange':_0x201f15=>{const _0x4fef02=_0x3ca827;let _0x1797ba=ae(_0x201f15[_0x4fef02(0x56d)]),_0x59a5cd=_0x201f15['angle'];_0xc6abc({'gradientType':_0x1797ba,'gradientAngle':_0x59a5cd,'gradientStops':_0x201f15[_0x4fef02(0x1b2)]['map'](_0x59b35c=>({'color':_0x59b35c['color'],'position':_0x59b35c[_0x4fef02(0x17d)]/0x64}))});}})});}function oe(_0x221f0d){const _0x323275=_0x1edbb0;var _0x1feabc,_0x5b6e78,_0x26ec6f,_0x66495a,_0x55818a,_0x51064b,_0x347998,_0x2bfc84,_0x6c2727,_0x51f789,_0x131d7d,_0x38f9e0,_0x4e5e5c,_0x66bb83,_0x261d55,_0x2fbf1e;let _0xfba2a3=(0x0,g['useDependency'])(u[_0x323275(0x635)]),_0x50f739=(0x0,g[_0x323275(0x1e6)])(u[_0x323275(0x15b)]),_0xd93e8f=(0x0,g['useDependency'])(u[_0x323275(0x1ed)]),{shapeData:_0x1a9777,isLineShape:_0x54870a,unitId:_0x41d20e,subUnitId:_0x3183be,shapeId:_0x13f362,disableShapeOption:_0x57ea11}=_0x221f0d,_0x48db00=_0x1a9777[_0x323275(0x286)],[_0x34da4b,_0xb3e607]=(0x0,y[_0x323275(0x25d)])((_0x1feabc=_0x48db00==null?void 0x0:_0x48db00[_0x323275(0x188)])==null?c[_0x323275(0x331)]['SolidLine']:_0x1feabc),[_0xebd84b,_0x3e8a9c]=(0x0,y[_0x323275(0x25d)])((_0x5b6e78=_0x48db00==null?void 0x0:_0x48db00[_0x323275(0x2ec)])==null?c[_0x323275(0x33d)][_0x323275(0x286)]:_0x5b6e78),[_0xeb2e,_0x2ae8c2]=(0x0,y[_0x323275(0x25d)])((_0x26ec6f=_0x48db00==null?void 0x0:_0x48db00[_0x323275(0x63a)])==null?0x1:_0x26ec6f),[_0x19da7b,_0x15bd12]=(0x0,y[_0x323275(0x25d)])((_0x66495a=_0x48db00==null?void 0x0:_0x48db00[_0x323275(0x627)])==null?c[_0x323275(0x33d)][_0x323275(0x33c)]:_0x66495a),[_0x32daef,_0x371cfd]=(0x0,y[_0x323275(0x25d)])((_0x55818a=_0x48db00==null?void 0x0:_0x48db00['dashType'])==null?c['ShapeLineDashEnum'][_0x323275(0x574)]:_0x55818a),[_0x455b4d,_0x26bf48]=(0x0,y[_0x323275(0x25d)])((_0x51064b=_0x48db00==null?void 0x0:_0x48db00[_0x323275(0x2a4)])==null?c[_0x323275(0x5f8)][_0x323275(0x1e9)]:_0x51064b),[_0x530219,_0x54f17f]=(0x0,y['useState'])((_0x347998=_0x48db00==null?void 0x0:_0x48db00['lineJoinType'])==null?c[_0x323275(0x26a)][_0x323275(0x31f)]:_0x347998),[_0x4a52e9,_0x536f52]=(0x0,y[_0x323275(0x25d)])((_0x2bfc84=_0x48db00==null?void 0x0:_0x48db00['sketchType'])==null?c[_0x323275(0x4fd)]['None']:_0x2bfc84),_0x353d97=_0x1a9777,[_0x26a96d,_0x1c9da9]=(0x0,y['useState'])((_0x6c2727=(_0x51f789=_0x353d97['ln'])==null||(_0x51f789=_0x51f789[_0x323275(0x363)])==null?void 0x0:_0x51f789[_0x323275(0x56d)])==null?c[_0x323275(0x475)][_0x323275(0x391)]:_0x6c2727),[_0x4853a7,_0x19cd6d]=(0x0,y['useState'])((_0x131d7d=(_0x38f9e0=_0x353d97['ln'])==null||(_0x38f9e0=_0x38f9e0['startArrow'])==null?void 0x0:_0x38f9e0[_0x323275(0x448)])==null?c[_0x323275(0x408)][_0x323275(0x273)]:_0x131d7d),[_0x28f9a3,_0x337d28]=(0x0,y[_0x323275(0x25d)])((_0x4e5e5c=(_0x66bb83=_0x353d97['ln'])==null||(_0x66bb83=_0x66bb83[_0x323275(0x355)])==null?void 0x0:_0x66bb83[_0x323275(0x56d)])==null?c['ShapeArrowTypeEnum'][_0x323275(0x391)]:_0x4e5e5c),[_0x34bb58,_0xd3c43f]=(0x0,y[_0x323275(0x25d)])((_0x261d55=(_0x2fbf1e=_0x353d97['ln'])==null||(_0x2fbf1e=_0x2fbf1e[_0x323275(0x355)])==null?void 0x0:_0x2fbf1e[_0x323275(0x448)])==null?c[_0x323275(0x408)][_0x323275(0x273)]:_0x261d55),[_0x1401fe,_0x454fca]=(0x0,y[_0x323275(0x25d)])(!0x1),_0x1961b3=0x64-_0xeb2e*0x64,_0xe38b80=[{'label':_0xfba2a3['t'](_0x323275(0x4b7)),'value':String(c[_0x323275(0x32a)]['Solid'])},{'label':_0xfba2a3['t'](_0x323275(0x61a)),'value':String(c[_0x323275(0x32a)][_0x323275(0x294)])},{'label':_0xfba2a3['t'](_0x323275(0x22f)),'value':String(c[_0x323275(0x32a)][_0x323275(0x507)])},{'label':_0xfba2a3['t']('docs-shape-ui.line.dashType.dash'),'value':String(c[_0x323275(0x32a)]['Dash'])},{'label':_0xfba2a3['t']('docs-shape-ui.line.dashType.dashDot'),'value':String(c[_0x323275(0x32a)][_0x323275(0x39e)])},{'label':_0xfba2a3['t']('docs-shape-ui.line.dashType.longDash'),'value':String(c['ShapeLineDashEnum'][_0x323275(0x498)])},{'label':_0xfba2a3['t'](_0x323275(0x334)),'value':String(c[_0x323275(0x32a)]['LongDashDot'])},{'label':_0xfba2a3['t']('docs-shape-ui.line.dashType.longDashDotDot'),'value':String(c[_0x323275(0x32a)]['LongDashDotDot'])}],_0x3cdfd4=[{'label':_0xfba2a3['t'](_0x323275(0x489)),'value':String(c[_0x323275(0x5f8)][_0x323275(0x1e9)])},{'label':_0xfba2a3['t'](_0x323275(0x4fe)),'value':String(c[_0x323275(0x5f8)][_0x323275(0x435)])},{'label':_0xfba2a3['t'](_0x323275(0x312)),'value':String(c[_0x323275(0x5f8)][_0x323275(0x35e)])}],_0x14b4f2=[{'label':_0xfba2a3['t'](_0x323275(0x3c3)),'value':String(c['ShapeSketchTypeEnum'][_0x323275(0x391)])},{'label':_0xfba2a3['t']('docs-shape-ui.line.sketchType.curved'),'value':String(c[_0x323275(0x4fd)][_0x323275(0x580)])},{'label':_0xfba2a3['t'](_0x323275(0x231)),'value':String(c[_0x323275(0x4fd)][_0x323275(0x4c3)])},{'label':_0xfba2a3['t'](_0x323275(0x31e)),'value':String(c['ShapeSketchTypeEnum']['HandDrawn'])}],_0x106ac0=[{'label':_0xfba2a3['t'](_0x323275(0x5bb)),'value':String(c['ShapeLineJoinEnum']['Miter'])},{'label':_0xfba2a3['t'](_0x323275(0x20f)),'value':String(c[_0x323275(0x26a)]['Round'])},{'label':_0xfba2a3['t']('docs-shape-ui.line.joinType.bevel'),'value':String(c[_0x323275(0x26a)][_0x323275(0x229)])}],_0x58e35f=[{'label':_0xfba2a3['t'](_0x323275(0x3ea)),'value':String(c[_0x323275(0x475)]['None'])},{'label':_0xfba2a3['t']('docs-shape-ui.line.arrowType.arrow'),'value':String(c['ShapeArrowTypeEnum'][_0x323275(0x481)])},{'label':_0xfba2a3['t']('docs-shape-ui.line.arrowType.openArrow'),'value':String(c[_0x323275(0x475)]['OpenArrow'])},{'label':_0xfba2a3['t'](_0x323275(0x52b)),'value':String(c['ShapeArrowTypeEnum'][_0x323275(0x44d)])},{'label':_0xfba2a3['t'](_0x323275(0x505)),'value':String(c[_0x323275(0x475)]['DiamondArrow'])},{'label':_0xfba2a3['t'](_0x323275(0x583)),'value':String(c[_0x323275(0x475)][_0x323275(0x473)])}],_0x201bb2=[{'label':_0xfba2a3['t']('docs-shape-ui.line.arrowSize.small'),'value':String(c[_0x323275(0x408)][_0x323275(0x622)])},{'label':_0xfba2a3['t'](_0x323275(0x5c7)),'value':String(c['ShapeArrowSizeEnum'][_0x323275(0x273)])},{'label':_0xfba2a3['t']('docs-shape-ui.line.arrowSize.large'),'value':String(c[_0x323275(0x408)]['Large'])}];return(0x0,x[_0x323275(0x3e8)])(_0x323275(0x2e9),{'className':_0x323275(0x319),'children':[(0x0,x[_0x323275(0x3e8)])(v[_0x323275(0x202)],{'value':String(_0x34da4b),'disabled':_0x57ea11,'onChange':_0x424757=>{const _0x4c98ee=_0x323275;var _0x3430c0;_0xb3e607(Number(_0x424757)),z(_0x50f739,_0x41d20e,_0x3183be,_0x13f362,{'oldShapeData':{'stroke':{'lineStrokeType':(_0x3430c0=_0x1a9777[_0x4c98ee(0x286)])==null?void 0x0:_0x3430c0[_0x4c98ee(0x188)]}}},{'stroke':{'lineStrokeType':Number(_0x424757)}});},'direction':_0x323275(0x49f),'children':[(0x0,x['jsx'])(v[_0x323275(0x42b)],{'value':String(c['ShapeLineTypeEnum'][_0x323275(0x5db)]),'children':(0x0,x[_0x323275(0x324)])('span',{'className':_0x323275(0x455),'children':_0xfba2a3['t']('docs-shape-ui.line.noLine')})}),(0x0,x[_0x323275(0x324)])(v['Radio'],{'value':String(c[_0x323275(0x331)][_0x323275(0x46a)]),'children':(0x0,x['jsx'])('span',{'className':_0x323275(0x455),'children':_0xfba2a3['t'](_0x323275(0x1b0))})})]}),_0x34da4b!==c[_0x323275(0x331)]['NoLine']&&(0x0,x[_0x323275(0x3e8)])(_0x323275(0x2e9),{'className':_0x323275(0x257),'children':[(0x0,x[_0x323275(0x3e8)])(_0x323275(0x2e9),{'className':_0x323275(0x57c),'children':[(0x0,x[_0x323275(0x324)])('span',{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xfba2a3['t'](_0x323275(0x5b4))}),(0x0,x[_0x323275(0x324)])(v[_0x323275(0x14f)],{'disabled':_0x57ea11,'overlay':(0x0,x[_0x323275(0x324)])(_0x323275(0x2e9),{'className':_0x323275(0x2f5),'children':(0x0,x[_0x323275(0x324)])(v[_0x323275(0x130)],{'value':_0xebd84b,'onChange':_0x3b6e1a=>{const _0x52b065=_0x323275;var _0x4373d5;z(_0x50f739,_0x41d20e,_0x3183be,_0x13f362,{'oldShapeData':{'stroke':{'color':(_0x4373d5=_0x1a9777[_0x52b065(0x286)])==null?void 0x0:_0x4373d5[_0x52b065(0x2ec)]}}},{'stroke':{'color':_0x3b6e1a}}),_0x3e8a9c(_0x3b6e1a),_0x454fca(!0x1);}})}),'open':_0x1401fe,'onOpenChange':_0x454fca,'children':(0x0,x[_0x323275(0x3e8)])('a',{'className':'univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1.5\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-2\x20univer-py-1\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-100\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','children':[(0x0,x[_0x323275(0x324)])(h[_0x323275(0x395)],{'className':'univer-text-gray-500','extend':{'colorChannel1':_0xebd84b}}),(0x0,x[_0x323275(0x324)])(h[_0x323275(0x338)],{'className':(0x0,v['clsx'])(_0x323275(0x3b3),{'univer-rotate-180':_0x1401fe})})]})})]}),(0x0,x['jsxs'])(_0x323275(0x2e9),{'className':_0x323275(0x60e),'children':[(0x0,x[_0x323275(0x324)])(_0x323275(0x406),{'className':_0x323275(0x263),'children':_0xfba2a3['t'](_0x323275(0x61d))}),(0x0,x[_0x323275(0x324)])(_0x323275(0x2e9),{'className':_0x323275(0x60e),'children':(0x0,x[_0x323275(0x324)])('div',{'className':_0x323275(0x630),'children':(0x0,x[_0x323275(0x324)])(v[_0x323275(0x3e5)],{'className':_0x323275(0x21b),'value':_0x1961b3,'disabled':_0x57ea11,'min':0x0,'max':0x64,'formatter':_0x2cc4ef=>_0x2cc4ef+'%','parser':_0xf17c93=>(_0xf17c93==null?void 0x0:_0xf17c93[_0x323275(0x400)]('%',''))||'','onChange':_0x4cf506=>{const _0x11a373=_0x323275;var _0x48f67c;let _0x23d1b3=(0x64-Math['max'](0x0,Math[_0x11a373(0x625)](0x64,_0x4cf506==null?0x0:_0x4cf506)))/0x64;_0x2ae8c2(_0x23d1b3),z(_0x50f739,_0x41d20e,_0x3183be,_0x13f362,{'oldShapeData':{'stroke':{'opacity':(_0x48f67c=_0x1a9777[_0x11a373(0x286)])==null?void 0x0:_0x48f67c[_0x11a373(0x63a)]}}},{'stroke':{'opacity':_0x23d1b3}}),_0xd93e8f[_0x11a373(0x54d)](u[_0x11a373(0x144)],!0x1);},'onFocus':()=>_0xd93e8f[_0x323275(0x54d)](u[_0x323275(0x144)],!0x0),'onBlur':_0x5cd91e=>{const _0x464ad3=_0x323275;_0xd93e8f[_0x464ad3(0x54d)](u['FOCUSING_PANEL_EDITOR'],!0x1);}})})})]}),(0x0,x['jsxs'])(_0x323275(0x2e9),{'className':_0x323275(0x60e),'children':[(0x0,x[_0x323275(0x324)])(_0x323275(0x406),{'className':_0x323275(0x45e),'children':_0xfba2a3['t'](_0x323275(0x23c))}),(0x0,x[_0x323275(0x324)])(_0x323275(0x2e9),{'className':'univer-w-20','children':(0x0,x[_0x323275(0x324)])(v[_0x323275(0x3e5)],{'className':_0x323275(0x21b),'disabled':_0x57ea11,'value':_0x19da7b,'min':0.25,'max':0x64,'step':0.25,'formatter':_0x556da6=>_0x556da6+_0x323275(0x1fa),'parser':_0x59f6a7=>(_0x59f6a7==null?void 0x0:_0x59f6a7[_0x323275(0x400)]('\x20px',''))||'','onChange':_0x16aabd=>{const _0x278bc7=_0x323275;if(!Number[_0x278bc7(0x5d0)](_0x16aabd)&&_0x16aabd!==null){var _0x18ad57;z(_0x50f739,_0x41d20e,_0x3183be,_0x13f362,{'oldShapeData':{'stroke':{'width':(_0x18ad57=_0x1a9777[_0x278bc7(0x286)])==null?void 0x0:_0x18ad57[_0x278bc7(0x627)]}}},{'stroke':{'width':_0x16aabd}});}_0xd93e8f[_0x278bc7(0x54d)](u[_0x278bc7(0x144)],!0x1);},'onFocus':()=>_0xd93e8f[_0x323275(0x54d)](u[_0x323275(0x144)],!0x0),'onBlur':_0x505d1c=>{const _0xda7970=_0x323275;_0xd93e8f[_0xda7970(0x54d)](u[_0xda7970(0x144)],!0x1);}})})]}),(0x0,x[_0x323275(0x3e8)])(_0x323275(0x2e9),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,x[_0x323275(0x324)])(_0x323275(0x406),{'className':_0x323275(0x45e),'children':_0xfba2a3['t'](_0x323275(0x469))}),(0x0,x[_0x323275(0x324)])(_0x323275(0x2e9),{'className':_0x323275(0x597),'children':(0x0,x['jsx'])(v[_0x323275(0x328)],{'className':'univer-w-full','value':String(_0x32daef),'options':_0xe38b80,'disabled':_0x57ea11,'onChange':_0x4f702d=>{var _0x47f8d3;_0x371cfd(Number(_0x4f702d)),z(_0x50f739,_0x41d20e,_0x3183be,_0x13f362,{'oldShapeData':{'stroke':{'dashType':(_0x47f8d3=_0x1a9777['stroke'])==null?void 0x0:_0x47f8d3['dashType']}}},{'stroke':{'dashType':Number(_0x4f702d)}});}})})]}),(0x0,x[_0x323275(0x3e8)])('div',{'className':_0x323275(0x57c),'children':[(0x0,x['jsx'])(_0x323275(0x406),{'className':_0x323275(0x45e),'children':_0xfba2a3['t']('docs-shape-ui.line.capType.title')}),(0x0,x['jsx'])(_0x323275(0x2e9),{'className':_0x323275(0x597),'children':(0x0,x[_0x323275(0x324)])(v['Select'],{'className':_0x323275(0x21b),'value':String(_0x455b4d),'options':_0x3cdfd4,'disabled':_0x57ea11,'onChange':_0x5508e9=>{const _0x1aa974=_0x323275;var _0x2b2908;_0x26bf48(Number(_0x5508e9)),z(_0x50f739,_0x41d20e,_0x3183be,_0x13f362,{'oldShapeData':{'stroke':{'capType':(_0x2b2908=_0x1a9777[_0x1aa974(0x286)])==null?void 0x0:_0x2b2908[_0x1aa974(0x2a4)]}}},{'stroke':{'capType':Number(_0x5508e9)}});}})})]}),(0x0,x[_0x323275(0x3e8)])(_0x323275(0x2e9),{'className':_0x323275(0x57c),'children':[(0x0,x[_0x323275(0x324)])(_0x323275(0x406),{'className':_0x323275(0x45e),'children':_0xfba2a3['t'](_0x323275(0x4c5))}),(0x0,x[_0x323275(0x324)])(_0x323275(0x2e9),{'className':_0x323275(0x597),'children':(0x0,x[_0x323275(0x324)])(v[_0x323275(0x328)],{'className':_0x323275(0x21b),'value':String(_0x530219),'options':_0x106ac0,'disabled':_0x57ea11,'onChange':_0x499b12=>{const _0x5181cf=_0x323275;var _0x4497dd;_0x54f17f(Number(_0x499b12)),z(_0x50f739,_0x41d20e,_0x3183be,_0x13f362,{'oldShapeData':{'stroke':{'lineJoinType':(_0x4497dd=_0x1a9777[_0x5181cf(0x286)])==null?void 0x0:_0x4497dd[_0x5181cf(0x47b)]}}},{'stroke':{'lineJoinType':Number(_0x499b12)}});}})})]}),!_0x54870a&&(0x0,x[_0x323275(0x3e8)])(_0x323275(0x2e9),{'className':_0x323275(0x57c),'children':[(0x0,x[_0x323275(0x324)])(_0x323275(0x406),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xfba2a3['t']('docs-shape-ui.line.sketchType.title')}),(0x0,x[_0x323275(0x324)])('div',{'className':'univer-w-28','children':(0x0,x[_0x323275(0x324)])(v[_0x323275(0x328)],{'className':'univer-w-full','value':String(_0x4a52e9),'options':_0x14b4f2,'disabled':_0x57ea11,'onChange':_0x59ed5c=>{const _0x44806a=_0x323275;var _0x524016;_0x536f52(Number(_0x59ed5c)),z(_0x50f739,_0x41d20e,_0x3183be,_0x13f362,{'oldShapeData':{'stroke':{'sketchType':(_0x524016=_0x1a9777[_0x44806a(0x286)])==null?void 0x0:_0x524016[_0x44806a(0x301)]}}},{'stroke':{'sketchType':Number(_0x59ed5c)}});}})})]}),_0x54870a&&(0x0,x[_0x323275(0x3e8)])(x[_0x323275(0x2d7)],{'children':[(0x0,x[_0x323275(0x3e8)])(_0x323275(0x2e9),{'className':_0x323275(0x57c),'children':[(0x0,x[_0x323275(0x324)])(_0x323275(0x406),{'className':_0x323275(0x45e),'children':_0xfba2a3['t'](_0x323275(0x476))}),(0x0,x[_0x323275(0x324)])('div',{'className':_0x323275(0x597),'children':(0x0,x[_0x323275(0x324)])(v[_0x323275(0x328)],{'className':'univer-w-full','value':String(_0x26a96d),'options':_0x58e35f,'onChange':_0x2b740d=>{var _0x1d4a1f;_0x1c9da9(Number(_0x2b740d)),B(_0x50f739,_0x41d20e,_0x3183be,_0x13f362,{'oldShapeData':{'ln':{'startArrow':{'type':(_0x1d4a1f=_0x1a9777['ln'])==null||(_0x1d4a1f=_0x1d4a1f['startArrow'])==null?void 0x0:_0x1d4a1f['type']}}}},{'ln':{'startArrow':{'type':Number(_0x2b740d)}}});}})})]}),(0x0,x[_0x323275(0x3e8)])(_0x323275(0x2e9),{'className':_0x323275(0x57c),'children':[(0x0,x[_0x323275(0x324)])('span',{'className':_0x323275(0x45e),'children':_0xfba2a3['t'](_0x323275(0x30c))}),(0x0,x['jsx'])(_0x323275(0x2e9),{'className':_0x323275(0x597),'children':(0x0,x['jsx'])(v[_0x323275(0x328)],{'className':_0x323275(0x21b),'value':String(_0x4853a7),'options':_0x201bb2,'onChange':_0x4d67b9=>{const _0x25faa1=_0x323275;var _0x38792d;_0x19cd6d(Number(_0x4d67b9)),B(_0x50f739,_0x41d20e,_0x3183be,_0x13f362,{'oldShapeData':{'ln':{'startArrow':{'size':(_0x38792d=_0x1a9777['ln'])==null||(_0x38792d=_0x38792d[_0x25faa1(0x363)])==null?void 0x0:_0x38792d[_0x25faa1(0x448)]}}}},{'ln':{'startArrow':{'size':Number(_0x4d67b9)}}});}})})]}),(0x0,x[_0x323275(0x3e8)])('div',{'className':_0x323275(0x57c),'children':[(0x0,x[_0x323275(0x324)])(_0x323275(0x406),{'className':_0x323275(0x45e),'children':_0xfba2a3['t'](_0x323275(0x4ad))}),(0x0,x[_0x323275(0x324)])(_0x323275(0x2e9),{'className':'univer-w-28','children':(0x0,x[_0x323275(0x324)])(v[_0x323275(0x328)],{'className':'univer-w-full','value':String(_0x28f9a3),'options':_0x58e35f,'onChange':_0x445715=>{const _0x5d1b02=_0x323275;var _0x2f25d7;_0x337d28(Number(_0x445715)),B(_0x50f739,_0x41d20e,_0x3183be,_0x13f362,{'oldShapeData':{'ln':{'endArrow':{'type':(_0x2f25d7=_0x1a9777['ln'])==null||(_0x2f25d7=_0x2f25d7[_0x5d1b02(0x355)])==null?void 0x0:_0x2f25d7[_0x5d1b02(0x56d)]}}}},{'ln':{'endArrow':{'type':Number(_0x445715)}}});}})})]}),(0x0,x['jsxs'])('div',{'className':_0x323275(0x57c),'children':[(0x0,x[_0x323275(0x324)])(_0x323275(0x406),{'className':_0x323275(0x45e),'children':_0xfba2a3['t'](_0x323275(0x393))}),(0x0,x[_0x323275(0x324)])('div',{'className':_0x323275(0x597),'children':(0x0,x[_0x323275(0x324)])(v[_0x323275(0x328)],{'className':_0x323275(0x21b),'value':String(_0x34bb58),'options':_0x201bb2,'onChange':_0x442349=>{const _0x31440a=_0x323275;var _0x445d52;_0xd3c43f(Number(_0x442349)),B(_0x50f739,_0x41d20e,_0x3183be,_0x13f362,{'oldShapeData':{'ln':{'endArrow':{'size':(_0x445d52=_0x1a9777['ln'])==null||(_0x445d52=_0x445d52[_0x31440a(0x355)])==null?void 0x0:_0x445d52[_0x31440a(0x448)]}}}},{'ln':{'endArrow':{'size':Number(_0x442349)}}});}})})]})]})]})]});}function Y(){const _0x17ace6=_0x1edbb0;let _0x158635=(0x0,g['useDependency'])(m[_0x17ace6(0x2ff)]),[_0x27851a,_0x34cc0a]=(0x0,y[_0x17ace6(0x25d)])(_0x158635[_0x17ace6(0x1cd)]());return(0x0,y[_0x17ace6(0x4c8)])(()=>{const _0x4bdba6=_0x17ace6;let _0x553835=_0x158635['focus$'][_0x4bdba6(0x4c6)](_0x390db2=>{_0x34cc0a(_0x390db2);});return()=>{_0x553835['unsubscribe']();};},[]),_0x27851a[_0x17ace6(0x585)]===0x0?null:(0x0,x[_0x17ace6(0x324)])(_0x17ace6(0x2e9),{'children':(0x0,x['jsxs'])(_0x17ace6(0x2e9),{'className':_0x17ace6(0x27a),'children':[(0x0,x['jsx'])(b[_0x17ace6(0x268)],{'drawings':_0x27851a,'hasCropper':!0x1}),(0x0,x[_0x17ace6(0x324)])(d[_0x17ace6(0x21f)],{'drawings':_0x27851a}),(0x0,x[_0x17ace6(0x324)])(d[_0x17ace6(0x27b)],{'drawings':_0x27851a})]})});}function X(_0x1dc5cc){const _0x3af377=_0x1edbb0;let {shapeData:_0x234a0a,shapeId:_0x462603,shapeType:_0x3cd87c,version:_0x33ad9b,unitId:_0x1e0409,subUnitId:_0x1477ca,disableShapeOption:_0x155888}=_0x1dc5cc,_0x44bc6b=(0x0,g['useDependency'])(u[_0x3af377(0x635)]),_0x2a7a5e=(0x0,c[_0x3af377(0x22d)])(_0x3cd87c),[_0x38ce6b,_0x2377f7]=(0x0,y['useState'])(0x0),_0x37586f=[{'label':(0x0,x[_0x3af377(0x324)])(_0x3af377(0x2e9),{'children':_0x44bc6b['t']('docs-shape-ui.fill.title')}),'children':(0x0,x[_0x3af377(0x324)])(_0x3af377(0x478),{'className':_0x3af377(0x17b),'children':(0x0,x['jsx'])(ie,{'shapeId':_0x462603,'shapeData':_0x234a0a,'isLineShape':_0x2a7a5e,'subUnitId':_0x1477ca,'unitId':_0x1e0409,'disableShapeOption':_0x155888},_0x462603)})},{'label':(0x0,x['jsx'])('div',{'children':_0x44bc6b['t'](_0x3af377(0x414))}),'children':(0x0,x[_0x3af377(0x324)])(_0x3af377(0x478),{'className':_0x3af377(0x17b),'children':(0x0,x[_0x3af377(0x324)])(oe,{'shapeId':_0x462603,'shapeData':_0x234a0a,'isLineShape':_0x2a7a5e,'subUnitId':_0x1477ca,'unitId':_0x1e0409,'disableShapeOption':_0x155888},_0x462603)})}];return(0x0,x[_0x3af377(0x3e8)])(_0x3af377(0x2e9),{'className':'univer-size-full','children':[(0x0,x[_0x3af377(0x3e8)])(_0x3af377(0x2e9),{'className':_0x3af377(0x2b0),'children':[(0x0,x[_0x3af377(0x3e8)])('div',{'className':(0x0,v[_0x3af377(0x1ff)])(_0x3af377(0x322),_0x38ce6b===0x0?_0x3af377(0x5bf):_0x3af377(0x3ab)),'onClick':()=>_0x2377f7(0x0),'children':[_0x44bc6b['t'](_0x3af377(0x13e)),(0x0,x['jsx'])(_0x3af377(0x2e9),{'className':(0x0,v[_0x3af377(0x1ff)])(_0x3af377(0x1d8),{'univer-bg-primary-600':_0x38ce6b===0x0,'univer-bg-transparent':_0x38ce6b!==0x0})})]}),(0x0,x['jsxs'])(_0x3af377(0x2e9),{'className':(0x0,v[_0x3af377(0x1ff)])(_0x3af377(0x322),{'univer-text-primary-600':_0x38ce6b===0x1,'univer-text-gray-500':_0x38ce6b!==0x1}),'onClick':()=>_0x2377f7(0x1),'children':[_0x44bc6b['t'](_0x3af377(0x358)),(0x0,x['jsx'])(_0x3af377(0x2e9),{'className':(0x0,v[_0x3af377(0x1ff)])(_0x3af377(0x332),{'univer-bg-primary-600':_0x38ce6b===0x1,'univer-bg-transparent':_0x38ce6b!==0x1})})]})]}),(0x0,x[_0x3af377(0x324)])('div',{'className':_0x3af377(0x1a0),'children':_0x38ce6b===0x0?(0x0,x[_0x3af377(0x324)])(_0x3af377(0x2e9),{'className':'','children':(0x0,x[_0x3af377(0x324)])(v[_0x3af377(0x2f1)],{'items':_0x37586f})},_0x33ad9b):(0x0,x[_0x3af377(0x324)])(Y,{})})]});}function se(_0x30ed5a,_0x325a47=u[_0x1edbb0(0x3fb)][_0x1edbb0(0x3bd)]){const _0xf445be=_0x1edbb0;return{'id':_0xf445be(0x326),'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0,'paragraphStyle':{'horizontalAlign':_0x325a47}}]},'documentStyle':{'textStyle':_0x30ed5a?{..._0x30ed5a}:void 0x0}};}function Z(_0x779b4b,_0x4de14b){const _0x39fd78=_0x1edbb0;var _0x20a82e,_0x3fd4a3;let _0x3b89e4=_0x779b4b[_0x39fd78(0x347)],_0x5abf04=_0x3b89e4&&'dataModel'in _0x3b89e4?_0x3b89e4['dataModel']:void 0x0,_0x35e8f1=(_0x20a82e=(_0x3fd4a3=_0x4de14b[_0x39fd78(0x41a)])==null?_0x5abf04==null?void 0x0:_0x5abf04['ha']:_0x3fd4a3)==null?u[_0x39fd78(0x3fb)][_0x39fd78(0x3bd)]:_0x20a82e;if(_0x5abf04!=null&&_0x5abf04[_0x39fd78(0x2d4)]){var _0x54ac35,_0x2825c8;return{'va':(_0x54ac35=_0x5abf04['va'])==null?u[_0x39fd78(0x22a)][_0x39fd78(0x5c0)]:_0x54ac35,'ha':(_0x2825c8=_0x5abf04['ha'])==null?u[_0x39fd78(0x3fb)][_0x39fd78(0x3bd)]:_0x2825c8,'doc':u[_0x39fd78(0x49e)]['deepClone'](_0x5abf04[_0x39fd78(0x2d4)])};}return{'va':u[_0x39fd78(0x22a)][_0x39fd78(0x5c0)],'ha':_0x35e8f1,'doc':se(_0x4de14b[_0x39fd78(0x533)],_0x35e8f1)};}function ce(_0x1a3642,_0x6e1424){const _0x3f0d3f=_0x1edbb0;var _0x217cec,_0x48e155,_0xc447d1,_0x27194e;let _0x4c35dd=_0x1a3642[_0x3f0d3f(0x347)],_0x2bead6=Z(_0x1a3642,_0x6e1424),_0x169a3f=(_0x217cec=_0x6e1424[_0x3f0d3f(0x41a)])==null?_0x2bead6['ha']:_0x217cec,_0x220ec4=(_0x48e155=_0x6e1424[_0x3f0d3f(0x205)])==null?_0x2bead6['va']:_0x48e155,_0x3af655=_0x2bead6[_0x3f0d3f(0x2d4)];if(_0x6e1424[_0x3f0d3f(0x533)]){var _0x4cb713,_0x521463;_0x3af655[_0x3f0d3f(0x13b)]={..._0x3af655['documentStyle'],'textStyle':{...(_0x4cb713=_0x3af655[_0x3f0d3f(0x13b)])==null?void 0x0:_0x4cb713['textStyle'],..._0x6e1424[_0x3f0d3f(0x533)]}};let _0x153ad2=(_0x521463=_0x3af655[_0x3f0d3f(0x5e1)])==null?void 0x0:_0x521463[_0x3f0d3f(0x14b)];if(_0x153ad2){for(let _0x1e9ad2 of _0x153ad2)_0x1e9ad2['ts']={..._0x1e9ad2['ts'],..._0x6e1424['textStyle']};}}let _0x30c729=(_0xc447d1=_0x3af655[_0x3f0d3f(0x5e1)])==null?void 0x0:_0xc447d1[_0x3f0d3f(0x59c)];if(_0x30c729){for(let _0x2eff7d of _0x30c729)_0x2eff7d[_0x3f0d3f(0x12c)]={..._0x2eff7d[_0x3f0d3f(0x12c)],'horizontalAlign':_0x169a3f};}return{'shapeText':{'isHorizontal':(_0x27194e=_0x4c35dd==null?void 0x0:_0x4c35dd['isHorizontal'])==null?!0x0:_0x27194e,'dataModel':{'va':_0x220ec4,'ha':_0x169a3f,'doc':_0x3af655}}};}const le='doc.shape.floating-toolbar';function Q(_0x4eb020){const _0x161d6f=_0x1edbb0;let _0x39cb11=_0x4eb020[_0x161d6f(0x347)];return _0x39cb11&&_0x161d6f(0x3c7)in _0x39cb11&&_0x39cb11[_0x161d6f(0x3c7)]?_0x39cb11[_0x161d6f(0x3c7)]:null;}function ue(_0x1d4533){const _0x30d382=_0x1edbb0;var _0x4e92e1,_0xa45feb,_0x16f962,_0x4c76ed;let _0x1cf64a=(_0x4e92e1=Q(_0x1d4533))==null?void 0x0:_0x4e92e1[_0x30d382(0x2d4)],_0x324cc3=(_0xa45feb=_0x1cf64a==null||(_0x16f962=_0x1cf64a[_0x30d382(0x5e1)])==null||(_0x16f962=_0x16f962[_0x30d382(0x14b)])==null||(_0x16f962=_0x16f962[0x0])==null?void 0x0:_0x16f962['ts'])==null?{}:_0xa45feb;return{..._0x1cf64a==null||(_0x4c76ed=_0x1cf64a[_0x30d382(0x13b)])==null?void 0x0:_0x4c76ed[_0x30d382(0x533)],..._0x324cc3};}function de(_0x551601,_0x11cb03){const _0x178d58=_0x1edbb0;var _0x2e23b1;let _0x100d4f=_0x551601==null||(_0x2e23b1=_0x551601['getSnapshot']()[_0x178d58(0x1a2)])==null?void 0x0:_0x2e23b1[_0x11cb03];return _0x100d4f?_0x100d4f[_0x178d58(0x27c)]===u[_0x178d58(0x4a1)][_0x178d58(0x62b)]?_0x100d4f[_0x178d58(0x4e7)]===u['BooleanNumber'][_0x178d58(0x122)]?'behindText':_0x178d58(0x4ba):_0x100d4f[_0x178d58(0x27c)]===u[_0x178d58(0x4a1)][_0x178d58(0x3f8)]?_0x178d58(0x599):_0x100d4f[_0x178d58(0x27c)]===u[_0x178d58(0x4a1)]['WRAP_TOP_AND_BOTTOM']?'wrapTopAndBottom':_0x178d58(0x218):_0x178d58(0x218);}function fe(){const _0x31e64=_0x1edbb0;return(0x0,x[_0x31e64(0x324)])('span',{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-5\x20univer-w-px\x20univer-bg-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-700\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'});}function pe(){const _0x4380d7=_0x1edbb0;return(0x0,x[_0x4380d7(0x3e8)])(_0x4380d7(0x2b6),{'viewBox':_0x4380d7(0x291),'width':'1em','height':_0x4380d7(0x5f0),'fill':_0x4380d7(0x1f5),'aria-hidden':_0x4380d7(0x3aa),'children':[(0x0,x[_0x4380d7(0x324)])(_0x4380d7(0x3ff),{'d':_0x4380d7(0x274),'stroke':_0x4380d7(0x2a9),'strokeWidth':_0x4380d7(0x46b),'strokeLinecap':'round'}),(0x0,x[_0x4380d7(0x324)])(_0x4380d7(0x3ff),{'d':_0x4380d7(0x262),'stroke':_0x4380d7(0x2a9),'strokeWidth':'1.4','strokeLinecap':_0x4380d7(0x3c4)}),(0x0,x[_0x4380d7(0x324)])(_0x4380d7(0x3ff),{'d':_0x4380d7(0x296),'stroke':_0x4380d7(0x2a9),'strokeWidth':'1.4','strokeLinecap':_0x4380d7(0x3c4)}),(0x0,x[_0x4380d7(0x324)])(_0x4380d7(0x3ff),{'d':_0x4380d7(0x342),'stroke':_0x4380d7(0x2a9),'strokeWidth':_0x4380d7(0x46b),'strokeLinecap':'round'}),(0x0,x['jsx'])(_0x4380d7(0x3ff),{'d':_0x4380d7(0x2f6),'stroke':_0x4380d7(0x2a9),'strokeWidth':_0x4380d7(0x46b),'strokeLinecap':_0x4380d7(0x3c4)}),(0x0,x['jsx'])(_0x4380d7(0x3ff),{'d':_0x4380d7(0x523),'stroke':'currentColor','strokeWidth':_0x4380d7(0x46b),'strokeLinecap':_0x4380d7(0x3c4)}),(0x0,x['jsx'])(_0x4380d7(0x20d),{'x':'6.8','y':'7','width':_0x4380d7(0x3a4),'height':'6','rx':'1','stroke':_0x4380d7(0x2a9),'strokeWidth':_0x4380d7(0x46b)})]});}function me(_0x15852d){const _0x115d67=_0x1edbb0;return _0x15852d instanceof HTMLElement?!!_0x15852d[_0x115d67(0x552)](_0x115d67(0x13c)):!0x1;}function $(_0x1552d9){const _0x55d755=_0x1edbb0;return(0x0,x[_0x55d755(0x324)])(_0x55d755(0x2e9),{'className':'univer-flex\x20univer-h-7\x20univer-items-center\x20univer-gap-1\x20univer-px-1','children':_0x1552d9['children']});}function he(_0xc901bc){const _0x345e61=_0x1edbb0;return(0x0,x[_0x345e61(0x324)])(v[_0x345e61(0x639)],{'title':_0xc901bc[_0x345e61(0x248)],'placement':_0x345e61(0x178),'children':(0x0,x[_0x345e61(0x324)])('button',{'type':_0x345e61(0x5d8),'disabled':_0xc901bc[_0x345e61(0x467)],'onClick':_0xc901bc[_0x345e61(0x1c6)],'className':(0x0,v[_0x345e61(0x1ff)])(_0x345e61(0x187),{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0xc901bc['active']}),'children':_0xc901bc[_0x345e61(0x5d1)]})});}function ge(_0x484102){const _0x3a0dc0=_0x1edbb0;let [_0x5498df,_0x5032ac]=(0x0,y['useState'])(!0x1);return(0x0,x[_0x3a0dc0(0x324)])(v[_0x3a0dc0(0x14f)],{'disabled':_0x484102[_0x3a0dc0(0x467)],'open':_0x5498df,'onOpenChange':_0x5032ac,'overlay':(0x0,x['jsx'])(_0x3a0dc0(0x2e9),{'className':_0x3a0dc0(0x4df),'children':(0x0,x['jsx'])(v[_0x3a0dc0(0x130)],{'value':_0x484102[_0x3a0dc0(0x2ec)],'onChange':_0x512809=>{const _0x21455c=_0x3a0dc0;_0x484102[_0x21455c(0x60d)](_0x512809),_0x5032ac(!0x1);}})}),'children':(0x0,x[_0x3a0dc0(0x324)])(_0x3a0dc0(0x406),{'children':(0x0,x[_0x3a0dc0(0x324)])(v[_0x3a0dc0(0x639)],{'title':_0x484102[_0x3a0dc0(0x248)],'placement':_0x3a0dc0(0x178),'children':(0x0,x['jsxs'])(_0x3a0dc0(0x5d8),{'type':_0x3a0dc0(0x5d8),'disabled':_0x484102[_0x3a0dc0(0x467)],'className':_0x3a0dc0(0x348),'children':[_0x484102[_0x3a0dc0(0x5d1)],(0x0,x['jsx'])('span',{'className':_0x3a0dc0(0x1a4),'style':{'backgroundColor':_0x484102[_0x3a0dc0(0x2ec)]}})]})})})});}function _e(_0x497faa){const _0x3a950b=_0x1edbb0;var _0x211ffb;let [_0x57da50,_0x593b0a]=(0x0,y['useState'])(!0x1),_0x5c9805=(_0x211ffb=_0x497faa['options'][_0x3a950b(0x600)](_0x4ddbd3=>_0x4ddbd3['value']===_0x497faa[_0x3a950b(0x52a)]))==null?_0x497faa['options'][0x0]:_0x211ffb;return(0x0,x[_0x3a950b(0x324)])(v[_0x3a950b(0x14f)],{'open':_0x57da50,'onOpenChange':_0x593b0a,'overlay':(0x0,x['jsx'])('div',{'className':_0x3a950b(0x19b),'children':_0x497faa[_0x3a950b(0x550)][_0x3a950b(0x582)](_0x19f0a7=>(0x0,x['jsxs'])('button',{'type':_0x3a950b(0x5d8),'onClick':()=>{const _0x155c07=_0x3a950b;_0x497faa['onChange'](_0x19f0a7[_0x155c07(0x52a)]),_0x593b0a(!0x1);},'className':(0x0,v[_0x3a950b(0x1ff)])('univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-gap-2\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-text-left\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800',{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x19f0a7[_0x3a950b(0x52a)]===_0x497faa[_0x3a950b(0x52a)]}),'children':[(0x0,x[_0x3a950b(0x324)])(_0x3a950b(0x406),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','children':_0x19f0a7['icon']}),(0x0,x[_0x3a950b(0x324)])(_0x3a950b(0x406),{'className':_0x3a950b(0x3a1),'children':_0x19f0a7['label']})]},_0x19f0a7[_0x3a950b(0x52a)]))}),'children':(0x0,x[_0x3a950b(0x324)])(_0x3a950b(0x406),{'children':(0x0,x[_0x3a950b(0x324)])(v[_0x3a950b(0x639)],{'title':_0x497faa[_0x3a950b(0x248)],'placement':_0x3a950b(0x178),'children':(0x0,x['jsxs'])(_0x3a950b(0x5d8),{'type':_0x3a950b(0x5d8),'className':(0x0,v['clsx'])(_0x3a950b(0x57b),{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x57da50}),'children':[_0x5c9805['icon'],(0x0,x[_0x3a950b(0x324)])(h[_0x3a950b(0x338)],{'className':_0x3a950b(0x556)})]})})})});}function ve(_0x4f3c15){const _0x502ac6=_0x1edbb0;var _0x313350,_0x48d4b5,_0x4cc3c1,_0x252369,_0x1693c1,_0xb0f72d,_0xa8eb0,_0x48d694,_0x2b8634,_0x21b6d0,_0x47ccfb,_0x4eeb62,_0x811688,_0x14e9c2,_0x3f08cf,_0x1680b5,_0x3ea201,_0x1c91d1,_0x57f3cc,_0x162d38,_0x21f19a;let _0x442002=_0x4f3c15[_0x502ac6(0x380)][_0x502ac6(0x1b4)];if(!_0x442002)return null;let _0x246911=(0x0,g['useDependency'])(u[_0x502ac6(0x15b)]),_0x29560f=(0x0,g[_0x502ac6(0x1e6)])(u['LocaleService']),_0x157560=(0x0,g[_0x502ac6(0x1e6)])(l[_0x502ac6(0x4b2)]),_0x9173d4=(0x0,g[_0x502ac6(0x1e6)])(u[_0x502ac6(0x2eb)]),_0x403c8b=(0x0,g['useDependency'])(u[_0x502ac6(0x1ed)]),_0xbeabd6=(0x0,g[_0x502ac6(0x1e6)])(g[_0x502ac6(0x222)]),{unitId:_0x56a588,subUnitId:_0x1db421,drawingId:_0x1248ac,shapeType:_0x3bd076}=_0x442002,[_0x37d0ea,_0x5206f3]=(0x0,y[_0x502ac6(0x25d)])(_0x442002[_0x502ac6(0x190)]),[_0x5ced80,_0x5b4c39]=(0x0,y[_0x502ac6(0x25d)])(!0x1),[_0x527e28,_0x477897]=(0x0,y[_0x502ac6(0x25d)])(()=>_0xbeabd6[_0x502ac6(0x3bf)]()),_0x2fd89f=(_0x313350=_0x9173d4['getUnit'](_0x56a588,u['UniverInstanceType']['UNIVER_DOC']))==null?void 0x0:_0x313350,[_0x38b59b,_0x131c28]=(0x0,y[_0x502ac6(0x25d)])(()=>de(_0x2fd89f,_0x1248ac)),_0x2a2216=(0x0,c[_0x502ac6(0x22d)])(_0x3bd076),_0x4b9964=(0x0,y[_0x502ac6(0x4ae)])(()=>ue(_0x37d0ea),[_0x37d0ea]),_0x8bc921=(0x0,y[_0x502ac6(0x4ae)])(()=>Q(_0x37d0ea),[_0x37d0ea]);(0x0,y[_0x502ac6(0x4c8)])(()=>{const _0xf20ca9=_0x502ac6;let _0x1306b8=_0x246911[_0xf20ca9(0x350)](_0x2bbf83=>{const _0x2b4c26=_0xf20ca9;if(_0x2bbf83['id']!==l[_0x2b4c26(0x23d)]['id'])return;let _0x5ba5cd=_0x157560[_0x2b4c26(0x5e8)](_0x56a588,_0x1db421,_0x1248ac);_0x5ba5cd&&_0x5206f3(_0x5ba5cd);});return()=>_0x1306b8[_0xf20ca9(0x381)]();},[_0x246911,_0x157560,_0x1248ac,_0x1db421,_0x56a588]),(0x0,y['useEffect'])(()=>{const _0x53afa6=_0x502ac6;let _0xe5f14a=_0xbeabd6[_0x53afa6(0x4b6)]['subscribe'](_0x331fa0=>{_0x477897(_0x331fa0);});return()=>_0xe5f14a['unsubscribe']();},[_0xbeabd6]);let _0x40949a=_0x4d88f6=>{_0x5206f3(_0x463311=>({..._0x463311,..._0x4d88f6}));},_0x2879f6=_0x1bdc80=>{let _0x4cd62e=ce(_0x37d0ea,_0x1bdc80);z(_0x246911,_0x56a588,_0x1db421,_0x1248ac,{'oldShapeData':{'shapeText':_0x37d0ea['shapeText']}},_0x4cd62e),_0x40949a(_0x4cd62e);},_0x42be71=_0x5b53dc=>{_0x131c28(_0x5b53dc),_0x246911['executeCommand']('doc.command.update-doc-drawing-wrapping-style',{'unitId':_0x56a588,'subUnitId':_0x1db421,'drawings':[{'unitId':_0x56a588,'subUnitId':_0x1db421,'drawingId':_0x1248ac}],'wrappingStyle':_0x5b53dc});};if(_0x5ced80)return null;let _0xb474b6=(_0x48d4b5=(_0x4cc3c1=_0x37d0ea[_0x502ac6(0x1b3)])==null?void 0x0:_0x4cc3c1[_0x502ac6(0x2ec)])==null?_0x502ac6(0x425):_0x48d4b5,_0x4aad8b=(_0x252369=(_0x1693c1=_0x37d0ea[_0x502ac6(0x286)])==null?void 0x0:_0x1693c1[_0x502ac6(0x2ec)])==null?_0x502ac6(0x5ea):_0x252369,_0x4387b9=(_0xb0f72d=(_0xa8eb0=_0x4b9964['cl'])==null?void 0x0:_0xa8eb0[_0x502ac6(0x569)])==null?_0x502ac6(0x4da):_0xb0f72d,_0x3a38a3=(_0x48d694=(_0x2b8634=_0x4b9964['bg'])==null?void 0x0:_0x2b8634[_0x502ac6(0x569)])==null?_0x502ac6(0x359):_0x48d694,_0xcfef02=(_0x21b6d0=_0x4b9964['ff'])==null?'monospace':_0x21b6d0,_0x2b1119=(_0x47ccfb=_0x4b9964['fs'])==null?0xe:_0x47ccfb,_0xcb1e63=_0x4b9964['bl']===u[_0x502ac6(0x303)][_0x502ac6(0x122)],_0x4dd87e=_0x4b9964['it']===u['BooleanNumber'][_0x502ac6(0x122)],_0x1c9110=((_0x4eeb62=_0x4b9964['ul'])==null?void 0x0:_0x4eeb62['s'])===u[_0x502ac6(0x303)]['TRUE'],_0x340c3d=((_0x811688=_0x4b9964['st'])==null?void 0x0:_0x811688['s'])===u['BooleanNumber']['TRUE'],_0x431838=_0x527e28[_0x502ac6(0x582)](_0x262b70=>({'label':_0x29560f['t'](_0x262b70[_0x502ac6(0x16f)]),'value':_0x262b70['value']})),_0x2c5eaf=g[_0x502ac6(0x594)][_0x502ac6(0x582)](_0x52ea08=>({'label':_0x52ea08[_0x502ac6(0x16f)],'value':String(_0x52ea08[_0x502ac6(0x52a)])})),_0xf190a1=(_0x14e9c2=_0x8bc921==null?void 0x0:_0x8bc921['ha'])==null?u[_0x502ac6(0x3fb)]['LEFT']:_0x14e9c2,_0x94200e=(_0x3f08cf=_0x8bc921==null?void 0x0:_0x8bc921['va'])==null?u[_0x502ac6(0x22a)]['TOP']:_0x3f08cf,_0x1b9146=[{'label':_0x29560f['t'](_0x502ac6(0x3b8)),'value':u[_0x502ac6(0x3fb)]['LEFT'],'icon':(0x0,x[_0x502ac6(0x324)])(h[_0x502ac6(0x42e)],{})},{'label':_0x29560f['t'](_0x502ac6(0x44b)),'value':u[_0x502ac6(0x3fb)]['CENTER'],'icon':(0x0,x[_0x502ac6(0x324)])(h[_0x502ac6(0x191)],{})},{'label':_0x29560f['t'](_0x502ac6(0x1a9)),'value':u[_0x502ac6(0x3fb)][_0x502ac6(0x17e)],'icon':(0x0,x[_0x502ac6(0x324)])(h[_0x502ac6(0x3d3)],{})},{'label':_0x29560f['t'](_0x502ac6(0x383)),'value':u[_0x502ac6(0x3fb)][_0x502ac6(0x2af)],'icon':(0x0,x[_0x502ac6(0x324)])(h['AlignTextBothIcon'],{})}],_0x12ad1b=[{'label':_0x29560f['t'](_0x502ac6(0x27d)),'value':u['VerticalAlign'][_0x502ac6(0x5c0)],'icon':(0x0,x[_0x502ac6(0x324)])(h['AlignTopIcon'],{})},{'label':_0x29560f['t'](_0x502ac6(0x534)),'value':u['VerticalAlign']['MIDDLE'],'icon':(0x0,x['jsx'])(h[_0x502ac6(0x3f9)],{})},{'label':_0x29560f['t'](_0x502ac6(0x138)),'value':u[_0x502ac6(0x22a)][_0x502ac6(0x5aa)],'icon':(0x0,x[_0x502ac6(0x324)])(h[_0x502ac6(0x368)],{})}],_0x2d8a60=[{'label':_0x29560f['t'](_0x502ac6(0x575)),'value':'inline','icon':(0x0,x[_0x502ac6(0x324)])(pe,{})},{'label':_0x29560f['t'](_0x502ac6(0x24b)),'value':_0x502ac6(0x599),'icon':(0x0,x[_0x502ac6(0x324)])(pe,{})},{'label':_0x29560f['t'](_0x502ac6(0x520)),'value':_0x502ac6(0x548),'icon':(0x0,x[_0x502ac6(0x324)])(pe,{})},{'label':_0x29560f['t']('docs-shape-ui.textWrap.behindText'),'value':_0x502ac6(0x3f3),'icon':(0x0,x['jsx'])(pe,{})},{'label':_0x29560f['t'](_0x502ac6(0x225)),'value':_0x502ac6(0x4ba),'icon':(0x0,x[_0x502ac6(0x324)])(pe,{})}];return(0x0,x[_0x502ac6(0x3e8)])(_0x502ac6(0x2e9),{'data-u-comp':_0x502ac6(0x33e),'onMouseDown':_0x196e3e=>{const _0x5dd2a3=_0x502ac6;_0x196e3e[_0x5dd2a3(0x228)](),me(_0x196e3e['target'])||_0x196e3e['preventDefault']();},'className':(0x0,v['clsx'])(_0x502ac6(0x536),v[_0x502ac6(0x180)]),'children':[(0x0,x[_0x502ac6(0x3e8)])($,{'compact':!0x0,'children':[(0x0,x['jsx'])(ge,{'title':_0x29560f['t']('docs-shape-ui.fill.title'),'color':_0xb474b6,'disabled':_0x2a2216,'onChange':_0x24080b=>{const _0x5a1d6b=_0x502ac6;let _0x54e5b7={'fill':{..._0x37d0ea[_0x5a1d6b(0x1b3)],'fillType':c[_0x5a1d6b(0x1c2)][_0x5a1d6b(0x5b0)],'color':_0x24080b}};z(_0x246911,_0x56a588,_0x1db421,_0x1248ac,{'oldShapeData':{'fill':_0x37d0ea[_0x5a1d6b(0x1b3)]}},_0x54e5b7),_0x40949a(_0x54e5b7);},'children':(0x0,x['jsx'])(h[_0x502ac6(0x395)],{'extend':{'colorChannel1':_0xb474b6}})}),(0x0,x[_0x502ac6(0x324)])(ge,{'title':_0x29560f['t'](_0x502ac6(0x414)),'color':_0x4aad8b,'onChange':_0x2f32be=>{const _0x3b8ea1=_0x502ac6;let _0x360d5={'stroke':{..._0x37d0ea[_0x3b8ea1(0x286)],'lineStrokeType':c[_0x3b8ea1(0x331)][_0x3b8ea1(0x46a)],'color':_0x2f32be}};z(_0x246911,_0x56a588,_0x1db421,_0x1248ac,{'oldShapeData':{'stroke':_0x37d0ea['stroke']}},_0x360d5),_0x40949a(_0x360d5);},'children':(0x0,x['jsx'])(h[_0x502ac6(0x44a)],{})})]}),(0x0,x[_0x502ac6(0x324)])(fe,{}),(0x0,x[_0x502ac6(0x3e8)])($,{'children':[(0x0,x[_0x502ac6(0x324)])(v[_0x502ac6(0x328)],{'className':_0x502ac6(0x608),'value':_0xcfef02,'options':_0x431838,'onChange':_0x39ccf2=>_0x2879f6({'textStyle':{'ff':String(_0x39ccf2)}})}),(0x0,x[_0x502ac6(0x324)])(v['Select'],{'className':'!univer-h-6\x20univer-w-14\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-px-1.5','value':String(_0x2b1119),'options':_0x2c5eaf,'onChange':_0x409ddc=>{const _0x3febf9=_0x502ac6;let _0x2ec9b0=Number(_0x409ddc);Number[_0x3febf9(0x5d0)](_0x2ec9b0)||_0x2879f6({'textStyle':{'fs':_0x2ec9b0}}),_0x403c8b[_0x3febf9(0x54d)](u[_0x3febf9(0x144)],!0x1);}})]}),(0x0,x[_0x502ac6(0x324)])(fe,{}),(0x0,x['jsxs'])($,{'compact':!0x0,'children':[(0x0,x['jsx'])(he,{'title':_0x29560f['t']('docs-shape-ui.toolbar.bold'),'active':_0xcb1e63,'onClick':()=>_0x2879f6({'textStyle':{'bl':_0xcb1e63?u[_0x502ac6(0x303)][_0x502ac6(0x595)]:u[_0x502ac6(0x303)]['TRUE']}}),'children':(0x0,x[_0x502ac6(0x324)])(h['BoldIcon'],{})}),(0x0,x[_0x502ac6(0x324)])(he,{'title':_0x29560f['t'](_0x502ac6(0x1a3)),'active':_0x4dd87e,'onClick':()=>_0x2879f6({'textStyle':{'it':_0x4dd87e?u['BooleanNumber'][_0x502ac6(0x595)]:u[_0x502ac6(0x303)][_0x502ac6(0x122)]}}),'children':(0x0,x['jsx'])(h['ItalicIcon'],{})}),(0x0,x[_0x502ac6(0x324)])(he,{'title':_0x29560f['t'](_0x502ac6(0x34b)),'active':_0x1c9110,'onClick':()=>_0x2879f6({'textStyle':{'ul':{'s':_0x1c9110?u['BooleanNumber']['FALSE']:u[_0x502ac6(0x303)][_0x502ac6(0x122)]}}}),'children':(0x0,x[_0x502ac6(0x324)])(h[_0x502ac6(0x5ae)],{})}),(0x0,x[_0x502ac6(0x324)])(he,{'title':_0x29560f['t'](_0x502ac6(0x638)),'active':_0x340c3d,'onClick':()=>_0x2879f6({'textStyle':{'st':{'s':_0x340c3d?u[_0x502ac6(0x303)][_0x502ac6(0x595)]:u[_0x502ac6(0x303)][_0x502ac6(0x122)]}}}),'children':(0x0,x[_0x502ac6(0x324)])(h[_0x502ac6(0x504)],{})})]}),(0x0,x[_0x502ac6(0x324)])(fe,{}),(0x0,x['jsxs'])($,{'compact':!0x0,'children':[(0x0,x[_0x502ac6(0x324)])(ge,{'title':_0x29560f['t'](_0x502ac6(0x543)),'color':_0x4387b9,'onChange':_0x4f9c3a=>_0x2879f6({'textStyle':{'cl':{'rgb':_0x4f9c3a}}}),'children':(0x0,x['jsx'])(h[_0x502ac6(0x25c)],{'extend':{'colorChannel1':_0x4387b9}})}),(0x0,x[_0x502ac6(0x324)])(ge,{'title':_0x29560f['t']('docs-shape-ui.toolbar.fillColor'),'color':_0x3a38a3,'onChange':_0x4e6a20=>_0x2879f6({'textStyle':{'bg':{'rgb':_0x4e6a20}}}),'children':(0x0,x[_0x502ac6(0x324)])(h[_0x502ac6(0x395)],{'extend':{'colorChannel1':_0x3a38a3}})})]}),(0x0,x[_0x502ac6(0x324)])(fe,{}),(0x0,x[_0x502ac6(0x3e8)])($,{'compact':!0x0,'children':[(0x0,x[_0x502ac6(0x324)])(_e,{'title':(_0x1680b5=(_0x3ea201=_0x1b9146[_0x502ac6(0x600)](_0x347738=>_0x347738[_0x502ac6(0x52a)]===_0xf190a1))==null?void 0x0:_0x3ea201['label'])==null?_0x29560f['t']('docs-shape-ui.toolbar.alignLeft'):_0x1680b5,'value':_0xf190a1,'options':_0x1b9146,'onChange':_0x3daabc=>_0x2879f6({'horizontalAlign':_0x3daabc})}),(0x0,x['jsx'])(_e,{'title':(_0x1c91d1=(_0x57f3cc=_0x12ad1b[_0x502ac6(0x600)](_0x53002e=>_0x53002e[_0x502ac6(0x52a)]===_0x94200e))==null?void 0x0:_0x57f3cc[_0x502ac6(0x16f)])==null?_0x29560f['t']('docs-shape-ui.align.top'):_0x1c91d1,'value':_0x94200e,'options':_0x12ad1b,'onChange':_0x158044=>_0x2879f6({'verticalAlign':_0x158044})})]}),(0x0,x[_0x502ac6(0x324)])(fe,{}),(0x0,x[_0x502ac6(0x324)])($,{'compact':!0x0,'children':(0x0,x[_0x502ac6(0x324)])(_e,{'title':(_0x162d38=(_0x21f19a=_0x2d8a60['find'](_0x3425e5=>_0x3425e5[_0x502ac6(0x52a)]===_0x38b59b))==null?void 0x0:_0x21f19a['label'])==null?_0x29560f['t'](_0x502ac6(0x575)):_0x162d38,'value':_0x38b59b,'options':_0x2d8a60,'onChange':_0x42be71})}),(0x0,x[_0x502ac6(0x324)])(fe,{}),(0x0,x['jsxs'])($,{'compact':!0x0,'children':[(0x0,x[_0x502ac6(0x324)])(he,{'title':_0x29560f['t'](_0x502ac6(0x2f4)),'onClick':()=>{const _0x44356f=_0x502ac6;_0x5b4c39(!0x0),_0x246911[_0x44356f(0x1ce)](M['id'],{'unitId':_0x56a588,'subUnitId':_0x1db421,'drawingId':_0x1248ac});},'children':(0x0,x[_0x502ac6(0x324)])(h[_0x502ac6(0x55f)],{})}),(0x0,x[_0x502ac6(0x324)])(he,{'title':_0x29560f['t'](_0x502ac6(0x544)),'onClick':()=>{const _0x48e892=_0x502ac6;_0x246911[_0x48e892(0x1ce)](d[_0x48e892(0x5c5)]['id'],{'unitId':_0x56a588,'drawings':[{'unitId':_0x56a588,'subUnitId':_0x1db421,'drawingId':_0x1248ac}]});},'children':(0x0,x[_0x502ac6(0x324)])(h[_0x502ac6(0x275)],{})})]})]});}let ye=class extends u[_0x1edbb0(0x2bf)]{constructor(_0xfcb8f8,_0x280d61){const _0xd118e8=_0x1edbb0;super(),this[_0xd118e8(0x399)]=_0xfcb8f8,this[_0xd118e8(0x1ea)]=_0x280d61,this[_0xd118e8(0x2f9)](),this[_0xd118e8(0x399)][_0xd118e8(0x2a2)](!0x0),this[_0xd118e8(0x426)]({'dispose':()=>this[_0xd118e8(0x399)][_0xd118e8(0x2a2)](!0x1)});}[_0x1edbb0(0x2f9)](){const _0x1f42c5=_0x1edbb0;let _0x656b3b=new Map(),_0x3b8ad2=this['_clipService'][_0x1f42c5(0x24d)]((_0x440f55,_0x177710,_0xdbb6f3,_0x55e720,_0x5f093e)=>{const _0x41250e=_0x1f42c5;let _0x44e2e8=_0x177710;if(_0x44e2e8===c[_0x41250e(0x4e2)]['None']||_0x177710===_0x41250e(0x28a))return!0x1;try{let _0xccdeeb=_0x656b3b['get'](_0x177710);return _0xccdeeb||(_0xccdeeb=new c[(_0x41250e(0x634))](_0x44e2e8,_0x41250e(0x203)+_0x177710),_0x656b3b[_0x41250e(0x3c6)](_0x177710,_0xccdeeb)),_0x5f093e&&_0xccdeeb['setShapeData']({'adjustValues':_0x5f093e},!0x0),_0xccdeeb[_0x41250e(0x351)]({'width':_0xdbb6f3,'height':_0x55e720}),_0xccdeeb[_0x41250e(0x5b8)](_0x440f55,{'left':0x0,'top':0x0,'width':_0xdbb6f3,'height':_0x55e720});}catch{return!0x1;}});this[_0x1f42c5(0x426)](_0x3b8ad2),this[_0x1f42c5(0x426)]({'dispose':()=>_0x656b3b['clear']()});}[_0x1edbb0(0x5fd)](_0xe09602,_0x28339d,_0x58ea94,_0x22fe0a,_0x2dbc41){const _0x9fcbb1=_0x1edbb0;let _0x269d12=this['_drawingManagerService']['getDrawingData'](_0xe09602,_0x28339d)[_0x58ea94];!_0x269d12||_0x269d12[_0x9fcbb1(0x3e7)]!==u[_0x9fcbb1(0x51c)][_0x9fcbb1(0x415)]||this[_0x9fcbb1(0x1ea)][_0x9fcbb1(0x32e)]([{..._0x269d12,'prstGeom':_0x22fe0a,'adjustValues':_0x2dbc41}]);}};ye=W([U(0x0,(0x0,u[_0x1edbb0(0x1ac)])(b['DrawingImageClipService'])),U(0x1,(0x0,u['Inject'])(m[_0x1edbb0(0x2ff)]))],ye);const be=[{'group':'line','type':c['ShapeTypeEnum']['Line'],'icon':_0x1edbb0(0x44a),'name':_0x1edbb0(0x42f)},{'group':'line','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x259)],'icon':_0x1edbb0(0x5a9),'name':_0x1edbb0(0x1c0),'endArrow':!0x0},{'group':_0x1edbb0(0x561),'type':c[_0x1edbb0(0x4e2)]['StraightConnector1'],'icon':_0x1edbb0(0x490),'name':_0x1edbb0(0x2b3),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x1edbb0(0x561),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x522)],'icon':_0x1edbb0(0x45f),'name':_0x1edbb0(0x1e4)},{'group':'line','type':c['ShapeTypeEnum']['BentConnector3'],'icon':_0x1edbb0(0x577),'name':_0x1edbb0(0x3ca),'endArrow':!0x0},{'group':_0x1edbb0(0x561),'type':c[_0x1edbb0(0x4e2)]['BentConnector3'],'icon':_0x1edbb0(0x365),'name':_0x1edbb0(0x176),'endArrow':!0x0,'startArrow':!0x0},{'group':'line','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x564)],'icon':_0x1edbb0(0x1e5),'name':_0x1edbb0(0x2e2)},{'group':_0x1edbb0(0x561),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x564)],'icon':_0x1edbb0(0x16b),'name':_0x1edbb0(0x613),'endArrow':!0x0},{'group':'line','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x564)],'icon':_0x1edbb0(0x602),'name':_0x1edbb0(0x25e),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x1edbb0(0x441),'type':c[_0x1edbb0(0x4e2)]['Rect'],'icon':'ShapeRectIcon','name':_0x1edbb0(0x260)},{'group':_0x1edbb0(0x441),'type':c['ShapeTypeEnum'][_0x1edbb0(0x136)],'icon':_0x1edbb0(0x52f),'name':_0x1edbb0(0x2d3)},{'group':'rectangle','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x5c4)],'icon':'ShapeSnip1RectIcon','name':'docs-shape-ui.shape.type.snip1-rect'},{'group':'rectangle','type':c['ShapeTypeEnum'][_0x1edbb0(0x5f1)],'icon':'ShapeSnip2SameRectIcon','name':'docs-shape-ui.shape.type.snip2-same-rect'},{'group':_0x1edbb0(0x441),'type':c['ShapeTypeEnum'][_0x1edbb0(0x61f)],'icon':_0x1edbb0(0x5b7),'name':'docs-shape-ui.shape.type.snip2-diag-rect'},{'group':'rectangle','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x3a3)],'icon':_0x1edbb0(0x410),'name':_0x1edbb0(0x4cc)},{'group':_0x1edbb0(0x441),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x44c)],'icon':_0x1edbb0(0x54a),'name':_0x1edbb0(0x494)},{'group':_0x1edbb0(0x441),'type':c['ShapeTypeEnum'][_0x1edbb0(0x127)],'icon':'ShapeRound2SameRectIcon','name':_0x1edbb0(0x2bb)},{'group':_0x1edbb0(0x441),'type':c[_0x1edbb0(0x4e2)]['Round2DiagRect'],'icon':_0x1edbb0(0x3fd),'name':_0x1edbb0(0x390)},{'group':_0x1edbb0(0x5e4),'type':c['ShapeTypeEnum']['Rect'],'icon':_0x1edbb0(0x5a1),'name':_0x1edbb0(0x4b3),'horizontal':!0x0},{'group':_0x1edbb0(0x5e4),'type':c[_0x1edbb0(0x4e2)]['Rect'],'icon':_0x1edbb0(0x349),'name':'docs-shape-ui.shape.type.rect-textbox-vertical','vertical':!0x0},{'group':'basicShape','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x54e)],'icon':_0x1edbb0(0x456),'name':'docs-shape-ui.shape.type.ellipse'},{'group':_0x1edbb0(0x5e4),'type':c['ShapeTypeEnum'][_0x1edbb0(0x54f)],'icon':'ShapeTriangleIcon','name':_0x1edbb0(0x14e)},{'group':_0x1edbb0(0x5e4),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x3ee)],'icon':_0x1edbb0(0x1c3),'name':_0x1edbb0(0x59b)},{'group':'basicShape','type':c[_0x1edbb0(0x4e2)]['Parallelogram'],'icon':_0x1edbb0(0x55d),'name':_0x1edbb0(0x36c)},{'group':'basicShape','type':c['ShapeTypeEnum'][_0x1edbb0(0x251)],'icon':'ShapeTrapezoidIcon','name':'docs-shape-ui.shape.type.trapezoid'},{'group':'basicShape','type':c['ShapeTypeEnum'][_0x1edbb0(0x623)],'icon':_0x1edbb0(0x3bc),'name':_0x1edbb0(0x1f0)},{'group':'basicShape','type':c[_0x1edbb0(0x4e2)]['Pentagon'],'icon':_0x1edbb0(0x337),'name':_0x1edbb0(0x279)},{'group':_0x1edbb0(0x5e4),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x55c)],'icon':_0x1edbb0(0x200),'name':_0x1edbb0(0x21c)},{'group':'basicShape','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x3ed)],'icon':_0x1edbb0(0x2ac),'name':_0x1edbb0(0x22c)},{'group':_0x1edbb0(0x5e4),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x2e7)],'icon':_0x1edbb0(0x482),'name':_0x1edbb0(0x2ae)},{'group':_0x1edbb0(0x5e4),'type':c['ShapeTypeEnum'][_0x1edbb0(0x182)],'icon':_0x1edbb0(0x307),'name':_0x1edbb0(0x4b1)},{'group':_0x1edbb0(0x5e4),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x377)],'icon':'ShapeDodecagonIcon','name':_0x1edbb0(0x62c)},{'group':_0x1edbb0(0x5e4),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x39a)],'icon':_0x1edbb0(0x34d),'name':'docs-shape-ui.shape.type.pie'},{'group':'basicShape','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x5a6)],'icon':_0x1edbb0(0x40a),'name':'docs-shape-ui.shape.type.chord'},{'group':_0x1edbb0(0x5e4),'type':c[_0x1edbb0(0x4e2)]['Teardrop'],'icon':_0x1edbb0(0x207),'name':'docs-shape-ui.shape.type.teardrop'},{'group':_0x1edbb0(0x5e4),'type':c['ShapeTypeEnum'][_0x1edbb0(0x2d1)],'icon':_0x1edbb0(0x3e4),'name':'docs-shape-ui.shape.type.frame'},{'group':_0x1edbb0(0x5e4),'type':c['ShapeTypeEnum'][_0x1edbb0(0x19a)],'icon':_0x1edbb0(0x58f),'name':_0x1edbb0(0x1a7)},{'group':'basicShape','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x161)],'icon':_0x1edbb0(0x62a),'name':_0x1edbb0(0x2ea)},{'group':_0x1edbb0(0x5e4),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x209)],'icon':_0x1edbb0(0x140),'name':_0x1edbb0(0x5fe)},{'group':_0x1edbb0(0x5e4),'type':c[_0x1edbb0(0x4e2)]['Plus'],'icon':'ShapePlusIcon','name':_0x1edbb0(0x611)},{'group':_0x1edbb0(0x5e4),'type':c['ShapeTypeEnum'][_0x1edbb0(0x189)],'icon':'ShapePlaqueIcon','name':_0x1edbb0(0x3f6)},{'group':_0x1edbb0(0x5e4),'type':c['ShapeTypeEnum'][_0x1edbb0(0x165)],'icon':_0x1edbb0(0x554),'name':_0x1edbb0(0x48b)},{'group':_0x1edbb0(0x5e4),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x3e1)],'icon':_0x1edbb0(0x4ab),'name':_0x1edbb0(0x362)},{'group':_0x1edbb0(0x5e4),'type':c['ShapeTypeEnum'][_0x1edbb0(0x229)],'icon':_0x1edbb0(0x37d),'name':_0x1edbb0(0x3b2)},{'group':_0x1edbb0(0x5e4),'type':c[_0x1edbb0(0x4e2)]['Donut'],'icon':_0x1edbb0(0x584),'name':_0x1edbb0(0x2bd)},{'group':_0x1edbb0(0x5e4),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x171)],'icon':_0x1edbb0(0x439),'name':_0x1edbb0(0x25a)},{'group':'basicShape','type':c[_0x1edbb0(0x4e2)]['BlockArc'],'icon':'ShapeBlockArcIcon','name':_0x1edbb0(0x453)},{'group':'basicShape','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x633)],'icon':_0x1edbb0(0x18e),'name':_0x1edbb0(0x466)},{'group':'basicShape','type':c['ShapeTypeEnum']['SmileyFace'],'icon':'ShapeSmileyFaceIcon','name':_0x1edbb0(0x4ac)},{'group':_0x1edbb0(0x5e4),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x25b)],'icon':_0x1edbb0(0x194),'name':_0x1edbb0(0x603)},{'group':'basicShape','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x327)],'icon':_0x1edbb0(0x404),'name':'docs-shape-ui.shape.type.lightning-bolt'},{'group':_0x1edbb0(0x5e4),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x5eb)],'icon':_0x1edbb0(0x164),'name':'docs-shape-ui.shape.type.sun'},{'group':_0x1edbb0(0x5e4),'type':c['ShapeTypeEnum'][_0x1edbb0(0x5d2)],'icon':'ShapeMoonIcon','name':_0x1edbb0(0x34e)},{'group':'basicShape','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x3cc)],'icon':_0x1edbb0(0x450),'name':'docs-shape-ui.shape.type.cloud'},{'group':_0x1edbb0(0x5e4),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x12f)],'icon':_0x1edbb0(0x305),'name':_0x1edbb0(0x3b5)},{'group':_0x1edbb0(0x5e4),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x30d)],'icon':_0x1edbb0(0x502),'name':'docs-shape-ui.shape.type.bracket-pair'},{'group':_0x1edbb0(0x5e4),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x5bc)],'icon':_0x1edbb0(0x3a0),'name':'docs-shape-ui.shape.type.brace-pair'},{'group':'basicShape','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x265)],'icon':_0x1edbb0(0x373),'name':_0x1edbb0(0x366)},{'group':'basicShape','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x55a)],'icon':'ShapeRightBracketIcon','name':_0x1edbb0(0x2c4)},{'group':_0x1edbb0(0x5e4),'type':c['ShapeTypeEnum'][_0x1edbb0(0x340)],'icon':_0x1edbb0(0x38d),'name':_0x1edbb0(0x364)},{'group':_0x1edbb0(0x5e4),'type':c[_0x1edbb0(0x4e2)]['RightBrace'],'icon':_0x1edbb0(0x570),'name':'docs-shape-ui.shape.type.right-brace'},{'group':'blockArrow','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x282)],'icon':_0x1edbb0(0x4cd),'name':_0x1edbb0(0x513)},{'group':'blockArrow','type':c['ShapeTypeEnum'][_0x1edbb0(0x40f)],'icon':_0x1edbb0(0x4dc),'name':_0x1edbb0(0x60b)},{'group':'blockArrow','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x1bb)],'icon':_0x1edbb0(0x1f7),'name':_0x1edbb0(0x2cc)},{'group':_0x1edbb0(0x360),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x300)],'icon':_0x1edbb0(0x4f3),'name':'docs-shape-ui.shape.type.down-arrow'},{'group':_0x1edbb0(0x360),'type':c[_0x1edbb0(0x4e2)]['LeftRightArrow'],'icon':'ShapeLeftRightArrowIcon','name':_0x1edbb0(0x4d1)},{'group':_0x1edbb0(0x360),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x3c8)],'icon':_0x1edbb0(0x353),'name':_0x1edbb0(0x437)},{'group':_0x1edbb0(0x360),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x581)],'icon':'ShapeQuadArrowIcon','name':_0x1edbb0(0x18f)},{'group':'blockArrow','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x464)],'icon':_0x1edbb0(0x12a),'name':'docs-shape-ui.shape.type.left-right-up-arrow'},{'group':'blockArrow','type':c['ShapeTypeEnum'][_0x1edbb0(0x5ee)],'icon':_0x1edbb0(0x3c2),'name':_0x1edbb0(0x4bf)},{'group':_0x1edbb0(0x360),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x2ad)],'icon':_0x1edbb0(0x4c9),'name':_0x1edbb0(0x255)},{'group':'blockArrow','type':c[_0x1edbb0(0x4e2)]['LeftUpArrow'],'icon':_0x1edbb0(0x1ad),'name':_0x1edbb0(0x1e0)},{'group':_0x1edbb0(0x360),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x36a)],'icon':_0x1edbb0(0x412),'name':_0x1edbb0(0x5d7)},{'group':'blockArrow','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x60a)],'icon':_0x1edbb0(0x5cd),'name':_0x1edbb0(0x5f4)},{'group':'blockArrow','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x5a8)],'icon':_0x1edbb0(0x354),'name':_0x1edbb0(0x162)},{'group':_0x1edbb0(0x360),'type':c['ShapeTypeEnum'][_0x1edbb0(0x526)],'icon':'ShapeCurvedUpArrowIcon','name':_0x1edbb0(0x156)},{'group':_0x1edbb0(0x360),'type':c[_0x1edbb0(0x4e2)]['CurvedDownArrow'],'icon':'ShapeCurvedDownArrowIcon','name':_0x1edbb0(0x60c)},{'group':_0x1edbb0(0x360),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x451)],'icon':_0x1edbb0(0x1a8),'name':_0x1edbb0(0x148)},{'group':_0x1edbb0(0x360),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x267)],'icon':_0x1edbb0(0x434),'name':_0x1edbb0(0x4ca)},{'group':_0x1edbb0(0x360),'type':c[_0x1edbb0(0x4e2)]['HomePlate'],'icon':_0x1edbb0(0x1f6),'name':_0x1edbb0(0x4f1)},{'group':_0x1edbb0(0x360),'type':c[_0x1edbb0(0x4e2)]['Chevron'],'icon':'ShapeChevronIcon','name':'docs-shape-ui.shape.type.chevron'},{'group':_0x1edbb0(0x360),'type':c[_0x1edbb0(0x4e2)]['RightArrowCallout'],'icon':_0x1edbb0(0x1d5),'name':'docs-shape-ui.shape.type.right-arrow-callout'},{'group':_0x1edbb0(0x360),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x59f)],'icon':_0x1edbb0(0x39b),'name':_0x1edbb0(0x1db)},{'group':_0x1edbb0(0x360),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x4d2)],'icon':_0x1edbb0(0x43b),'name':'docs-shape-ui.shape.type.left-arrow-callout'},{'group':'blockArrow','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x558)],'icon':_0x1edbb0(0x578),'name':_0x1edbb0(0x243)},{'group':'blockArrow','type':c['ShapeTypeEnum'][_0x1edbb0(0x3d2)],'icon':'ShapeLeftRightArrowCalloutIcon','name':_0x1edbb0(0x589)},{'group':_0x1edbb0(0x360),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x233)],'icon':_0x1edbb0(0x1fb),'name':_0x1edbb0(0x1ab)},{'group':_0x1edbb0(0x360),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x1dd)],'icon':'ShapeCircularArrowIcon','name':_0x1edbb0(0x506)},{'group':_0x1edbb0(0x266),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x17a)],'icon':_0x1edbb0(0x2e8),'name':_0x1edbb0(0x607)},{'group':_0x1edbb0(0x266),'type':c['ShapeTypeEnum'][_0x1edbb0(0x3e9)],'icon':_0x1edbb0(0x2c7),'name':_0x1edbb0(0x30e)},{'group':_0x1edbb0(0x266),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x3a9)],'icon':_0x1edbb0(0x3b4),'name':_0x1edbb0(0x53f)},{'group':'equationShape','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x141)],'icon':'ShapeMathDivideIcon','name':'docs-shape-ui.shape.type.math-divide'},{'group':_0x1edbb0(0x266),'type':c['ShapeTypeEnum'][_0x1edbb0(0x495)],'icon':_0x1edbb0(0x1aa),'name':_0x1edbb0(0x4ee)},{'group':_0x1edbb0(0x266),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x246)],'icon':'ShapeMathNotEqualIcon','name':'docs-shape-ui.shape.type.math-not-equal'},{'group':'flowchart','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x1f8)],'icon':'ShapeFlowChartProcessIcon','name':'docs-shape-ui.shape.type.flow-chart-process'},{'group':'flowchart','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x30f)],'icon':_0x1edbb0(0x18b),'name':_0x1edbb0(0x1ae)},{'group':_0x1edbb0(0x58e),'type':c['ShapeTypeEnum'][_0x1edbb0(0x125)],'icon':_0x1edbb0(0x3fc),'name':_0x1edbb0(0x33b)},{'group':'flowchart','type':c['ShapeTypeEnum'][_0x1edbb0(0x4a3)],'icon':_0x1edbb0(0x1b8),'name':'docs-shape-ui.shape.type.flow-chart-input-output'},{'group':_0x1edbb0(0x58e),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x592)],'icon':'ShapeFlowChartPredefinedProcessIcon','name':'docs-shape-ui.shape.type.flow-chart-predefined-process'},{'group':_0x1edbb0(0x58e),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x212)],'icon':_0x1edbb0(0x516),'name':_0x1edbb0(0x1cb)},{'group':_0x1edbb0(0x58e),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x22b)],'icon':_0x1edbb0(0x4fb),'name':_0x1edbb0(0x4e6)},{'group':_0x1edbb0(0x58e),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x2a7)],'icon':_0x1edbb0(0x204),'name':'docs-shape-ui.shape.type.flow-chart-multidocument'},{'group':_0x1edbb0(0x58e),'type':c[_0x1edbb0(0x4e2)]['FlowchartTerminator'],'icon':_0x1edbb0(0x454),'name':_0x1edbb0(0x58d)},{'group':_0x1edbb0(0x58e),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x563)],'icon':_0x1edbb0(0x184),'name':_0x1edbb0(0x15e)},{'group':'flowchart','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x26f)],'icon':_0x1edbb0(0x5fa),'name':_0x1edbb0(0x549)},{'group':_0x1edbb0(0x58e),'type':c['ShapeTypeEnum'][_0x1edbb0(0x5dc)],'icon':_0x1edbb0(0x5ce),'name':_0x1edbb0(0x2e4)},{'group':_0x1edbb0(0x58e),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x210)],'icon':'ShapeFlowChartConnectorIcon','name':_0x1edbb0(0x403)},{'group':'flowchart','type':c['ShapeTypeEnum'][_0x1edbb0(0x277)],'icon':_0x1edbb0(0x51b),'name':_0x1edbb0(0x1f9)},{'group':'flowchart','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x483)],'icon':_0x1edbb0(0x31b),'name':_0x1edbb0(0x50d)},{'group':'flowchart','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x4f4)],'icon':_0x1edbb0(0x461),'name':_0x1edbb0(0x17f)},{'group':'flowchart','type':c[_0x1edbb0(0x4e2)]['FlowchartSummingJunction'],'icon':_0x1edbb0(0x5a3),'name':'docs-shape-ui.shape.type.flow-chart-summing-junction'},{'group':'flowchart','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x1e1)],'icon':_0x1edbb0(0x1e7),'name':'docs-shape-ui.shape.type.flow-chart-or'},{'group':_0x1edbb0(0x58e),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x3fa)],'icon':'ShapeFlowChartCollateIcon','name':_0x1edbb0(0x21e)},{'group':_0x1edbb0(0x58e),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x528)],'icon':_0x1edbb0(0x1d6),'name':'docs-shape-ui.shape.type.flow-chart-sort'},{'group':_0x1edbb0(0x58e),'type':c['ShapeTypeEnum'][_0x1edbb0(0x50e)],'icon':_0x1edbb0(0x3dc),'name':'docs-shape-ui.shape.type.flow-chart-extract'},{'group':'flowchart','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x567)],'icon':_0x1edbb0(0x30b),'name':_0x1edbb0(0x3d0)},{'group':_0x1edbb0(0x58e),'type':c['ShapeTypeEnum'][_0x1edbb0(0x236)],'icon':_0x1edbb0(0x5f6),'name':'docs-shape-ui.shape.type.flow-chart-online-storage'},{'group':'flowchart','type':c[_0x1edbb0(0x4e2)]['FlowchartDelay'],'icon':_0x1edbb0(0x2fb),'name':_0x1edbb0(0x431)},{'group':_0x1edbb0(0x58e),'type':c['ShapeTypeEnum']['FlowchartMagneticTape'],'icon':_0x1edbb0(0x26e),'name':_0x1edbb0(0x4e9)},{'group':_0x1edbb0(0x58e),'type':c['ShapeTypeEnum']['FlowchartMagneticDisk'],'icon':'ShapeFlowChartMagneticDiskIcon','name':_0x1edbb0(0x292)},{'group':_0x1edbb0(0x58e),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x2b8)],'icon':'ShapeFlowChartMagneticDrumIcon','name':_0x1edbb0(0x43f)},{'group':'flowchart','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x4fc)],'icon':'ShapeFlowChartDisplayIcon','name':'docs-shape-ui.shape.type.flow-chart-display'},{'group':'starAndBanner','type':c['ShapeTypeEnum']['IrregularSeal1'],'icon':_0x1edbb0(0x530),'name':_0x1edbb0(0x317)},{'group':'starAndBanner','type':c['ShapeTypeEnum'][_0x1edbb0(0x379)],'icon':_0x1edbb0(0x4eb),'name':_0x1edbb0(0x128)},{'group':'starAndBanner','type':c[_0x1edbb0(0x4e2)]['Star4'],'icon':_0x1edbb0(0x219),'name':_0x1edbb0(0x3a2)},{'group':_0x1edbb0(0x40c),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x624)],'icon':_0x1edbb0(0x5a0),'name':_0x1edbb0(0x19d)},{'group':'starAndBanner','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x242)],'icon':'ShapeStar6Icon','name':_0x1edbb0(0x1fe)},{'group':'starAndBanner','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x4d9)],'icon':_0x1edbb0(0x27e),'name':_0x1edbb0(0x416)},{'group':_0x1edbb0(0x40c),'type':c['ShapeTypeEnum'][_0x1edbb0(0x2c3)],'icon':_0x1edbb0(0x1b6),'name':_0x1edbb0(0x445)},{'group':_0x1edbb0(0x40c),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x1b7)],'icon':_0x1edbb0(0x247),'name':'docs-shape-ui.shape.type.star10'},{'group':'starAndBanner','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x5ed)],'icon':'ShapeStar12Icon','name':_0x1edbb0(0x2fc)},{'group':_0x1edbb0(0x40c),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x2bc)],'icon':_0x1edbb0(0x405),'name':'docs-shape-ui.shape.type.star16'},{'group':'starAndBanner','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x306)],'icon':_0x1edbb0(0x4e5),'name':'docs-shape-ui.shape.type.star24'},{'group':_0x1edbb0(0x40c),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x2a8)],'icon':_0x1edbb0(0x3cf),'name':'docs-shape-ui.shape.type.star32'},{'group':_0x1edbb0(0x40c),'type':c[_0x1edbb0(0x4e2)]['Ribbon2'],'icon':_0x1edbb0(0x566),'name':_0x1edbb0(0x496)},{'group':_0x1edbb0(0x40c),'type':c['ShapeTypeEnum'][_0x1edbb0(0x545)],'icon':_0x1edbb0(0x500),'name':_0x1edbb0(0x183)},{'group':'starAndBanner','type':c['ShapeTypeEnum'][_0x1edbb0(0x1f4)],'icon':_0x1edbb0(0x250),'name':'docs-shape-ui.shape.type.ellipse-ribbon2'},{'group':_0x1edbb0(0x40c),'type':c['ShapeTypeEnum'][_0x1edbb0(0x46e)],'icon':'ShapeEllipseRibbonIcon','name':_0x1edbb0(0x3a5)},{'group':_0x1edbb0(0x40c),'type':c['ShapeTypeEnum'][_0x1edbb0(0x1cf)],'icon':_0x1edbb0(0x325),'name':_0x1edbb0(0x540)},{'group':_0x1edbb0(0x40c),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x46d)],'icon':'ShapeHorizontalScrollIcon','name':_0x1edbb0(0x293)},{'group':_0x1edbb0(0x40c),'type':c[_0x1edbb0(0x4e2)]['Wave'],'icon':_0x1edbb0(0x24e),'name':'docs-shape-ui.shape.type.wave'},{'group':'starAndBanner','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x4af)],'icon':_0x1edbb0(0x5fb),'name':_0x1edbb0(0x4f5)},{'group':_0x1edbb0(0x4d3),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x352)],'icon':_0x1edbb0(0x344),'name':_0x1edbb0(0x2a1)},{'group':_0x1edbb0(0x4d3),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x28f)],'icon':_0x1edbb0(0x47c),'name':_0x1edbb0(0x542)},{'group':'callout','type':c[_0x1edbb0(0x4e2)]['WedgeEllipseCallout'],'icon':'ShapeWedgeEllipseCalloutIcon','name':_0x1edbb0(0x57d)},{'group':_0x1edbb0(0x4d3),'type':c['ShapeTypeEnum']['CloudCallout'],'icon':_0x1edbb0(0x172),'name':'docs-shape-ui.shape.type.cloud-callout'},{'group':_0x1edbb0(0x4d3),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x1fc)],'icon':_0x1edbb0(0x3a6),'name':_0x1edbb0(0x160)},{'group':'callout','type':c['ShapeTypeEnum'][_0x1edbb0(0x620)],'icon':_0x1edbb0(0x2b4),'name':_0x1edbb0(0x261)},{'group':_0x1edbb0(0x4d3),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x336)],'icon':_0x1edbb0(0x480),'name':_0x1edbb0(0x418)},{'group':_0x1edbb0(0x4d3),'type':c['ShapeTypeEnum']['AccentCallout1'],'icon':_0x1edbb0(0x12d),'name':'docs-shape-ui.shape.type.accent-callout1'},{'group':_0x1edbb0(0x4d3),'type':c['ShapeTypeEnum'][_0x1edbb0(0x378)],'icon':_0x1edbb0(0x63c),'name':_0x1edbb0(0x458)},{'group':_0x1edbb0(0x4d3),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x2e1)],'icon':_0x1edbb0(0x428),'name':_0x1edbb0(0x5b1)},{'group':_0x1edbb0(0x4d3),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x151)],'icon':_0x1edbb0(0x4f7),'name':'docs-shape-ui.shape.type.callout1'},{'group':_0x1edbb0(0x4d3),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x59e)],'icon':'ShapeCallout2Icon','name':_0x1edbb0(0x3da)},{'group':'callout','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x34f)],'icon':_0x1edbb0(0x3d1),'name':'docs-shape-ui.shape.type.callout3'},{'group':'callout','type':c['ShapeTypeEnum'][_0x1edbb0(0x3ef)],'icon':'ShapeAccentBorderCallout1Icon','name':'docs-shape-ui.shape.type.accent-border-callout1'},{'group':_0x1edbb0(0x4d3),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x1c5)],'icon':_0x1edbb0(0x12e),'name':_0x1edbb0(0x361)},{'group':_0x1edbb0(0x4d3),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x256)],'icon':'ShapeAccentBorderCallout3Icon','name':_0x1edbb0(0x299)},{'group':'other','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x438)],'icon':_0x1edbb0(0x4c7),'name':_0x1edbb0(0x491)},{'group':'other','type':c[_0x1edbb0(0x4e2)]['LeftRightCircularArrow'],'icon':_0x1edbb0(0x28b),'name':'docs-shape-ui.shape.type.left-right-circular-arrow'},{'group':_0x1edbb0(0x51e),'type':c[_0x1edbb0(0x4e2)]['SwooshArrow'],'icon':'ShapeSwooshArrowIcon','name':_0x1edbb0(0x35c)},{'group':'other','type':c['ShapeTypeEnum']['LeftRightRibbon'],'icon':'ShapeLeftRightRibbonIcon','name':'docs-shape-ui.shape.type.left-right-ribbon'},{'group':_0x1edbb0(0x51e),'type':c['ShapeTypeEnum'][_0x1edbb0(0x16d)],'icon':_0x1edbb0(0x4aa),'name':_0x1edbb0(0x41b)},{'group':'other','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x553)],'icon':_0x1edbb0(0x376),'name':_0x1edbb0(0x143)},{'group':_0x1edbb0(0x51e),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x4a9)],'icon':_0x1edbb0(0x244),'name':_0x1edbb0(0x565)},{'group':_0x1edbb0(0x51e),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x573)],'icon':_0x1edbb0(0x13d),'name':_0x1edbb0(0x195)},{'group':_0x1edbb0(0x51e),'type':c['ShapeTypeEnum'][_0x1edbb0(0x557)],'icon':'ShapeCornerTabsIcon','name':_0x1edbb0(0x3ba)},{'group':_0x1edbb0(0x51e),'type':c['ShapeTypeEnum']['ActionButtonBackPrevious'],'icon':_0x1edbb0(0x1bc),'name':_0x1edbb0(0x519)},{'group':'other','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x503)],'icon':_0x1edbb0(0x21d),'name':_0x1edbb0(0x5f9)},{'group':_0x1edbb0(0x51e),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x3c9)],'icon':_0x1edbb0(0x4c0),'name':_0x1edbb0(0x3cd)},{'group':_0x1edbb0(0x51e),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x157)],'icon':_0x1edbb0(0x239),'name':_0x1edbb0(0x2d5)},{'group':'other','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x4ec)],'icon':_0x1edbb0(0x54b),'name':_0x1edbb0(0x146)},{'group':_0x1edbb0(0x51e),'type':c['ShapeTypeEnum'][_0x1edbb0(0x4f0)],'icon':_0x1edbb0(0x40e),'name':_0x1edbb0(0x4c2)},{'group':_0x1edbb0(0x51e),'type':c[_0x1edbb0(0x4e2)]['ActionButtonReturn'],'icon':'ShapeActionButtonReturnIcon','name':_0x1edbb0(0x5cf)},{'group':'other','type':c[_0x1edbb0(0x4e2)]['ActionButtonMovie'],'icon':'ShapeActionButtonMovieIcon','name':_0x1edbb0(0x484)},{'group':_0x1edbb0(0x51e),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x2cb)],'icon':'ShapeActionButtonDocumentIcon','name':_0x1edbb0(0x1c8)},{'group':'other','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x590)],'icon':_0x1edbb0(0x392),'name':_0x1edbb0(0x13f)},{'group':_0x1edbb0(0x51e),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x23e)],'icon':_0x1edbb0(0x310),'name':_0x1edbb0(0x1ba)},{'group':_0x1edbb0(0x51e),'type':c['ShapeTypeEnum'][_0x1edbb0(0x551)],'icon':'ShapeActionButtonBlankIcon','name':'docs-shape-ui.shape.type.action-button-blank'},{'group':_0x1edbb0(0x51e),'type':c['ShapeTypeEnum'][_0x1edbb0(0x23b)],'icon':_0x1edbb0(0x460),'name':_0x1edbb0(0x4d4)},{'group':_0x1edbb0(0x51e),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x5e7)],'icon':'ShapeChartStarIcon','name':_0x1edbb0(0x527)},{'group':'other','type':c['ShapeTypeEnum']['ChartX'],'icon':'ShapeChartXIcon','name':_0x1edbb0(0x2f8)},{'group':_0x1edbb0(0x51e),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x5b3)],'icon':_0x1edbb0(0x3c1),'name':_0x1edbb0(0x2a5)},{'group':_0x1edbb0(0x51e),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x18a)],'icon':'ShapeLineInvIcon','name':'docs-shape-ui.shape.type.line-inv'},{'group':_0x1edbb0(0x51e),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x5c3)],'icon':_0x1edbb0(0x16c),'name':_0x1edbb0(0x637)},{'group':_0x1edbb0(0x51e),'type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x341)],'icon':_0x1edbb0(0x20a),'name':_0x1edbb0(0x2a3)},{'group':'other','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x5f3)],'icon':_0x1edbb0(0x1d9),'name':_0x1edbb0(0x199)},{'group':'other','type':c[_0x1edbb0(0x4e2)][_0x1edbb0(0x5a5)],'icon':_0x1edbb0(0x3c5),'name':'docs-shape-ui.shape.type.non-isosceles-trapezoid'}],xe=_0x1edbb0(0x36f);function Se({onShapeClick:_0x221b9a,excludeGroups:_0x252de5}){const _0x125f45=_0x1edbb0;let _0x416ebd=(0x0,g['useDependency'])(u[_0x125f45(0x635)]),_0x551740=(0x0,g['useDependency'])(g[_0x125f45(0x56a)]),_0x3c25bf=(_0x252de5?be[_0x125f45(0x15f)](_0x15d01d=>!_0x252de5['includes'](_0x15d01d[_0x125f45(0x3e2)])):be)[_0x125f45(0x281)]((_0x457595,_0x3b6454)=>(_0x457595[_0x3b6454[_0x125f45(0x3e2)]]||(_0x457595[_0x3b6454[_0x125f45(0x3e2)]]=[]),_0x457595[_0x3b6454[_0x125f45(0x3e2)]][_0x125f45(0x135)](_0x3b6454),_0x457595),{});return(0x0,x[_0x125f45(0x324)])(_0x125f45(0x2e9),{'className':_0x125f45(0x4e3),'children':Object[_0x125f45(0x278)](_0x3c25bf)[_0x125f45(0x582)](([_0x4623df,_0x44051a])=>(0x0,x['jsxs'])(_0x125f45(0x2e9),{'className':_0x125f45(0x3d7),'children':[(0x0,x['jsx'])(_0x125f45(0x2e9),{'className':'univer-mb-1\x20univer-rounded\x20univer-bg-gray-100\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-700\x20dark:!univer-bg-gray-800\x20dark:!univer-text-gray-200','children':_0x416ebd['t'](_0x125f45(0x486)+_0x4623df)}),(0x0,x[_0x125f45(0x324)])(_0x125f45(0x2e9),{'className':'univer-grid\x20univer-grid-cols-10\x20univer-gap-1','children':_0x44051a[_0x125f45(0x582)](_0x3d20a9=>{const _0x49e31d=_0x125f45;let _0x4fe172=_0x551740['get'](_0x3d20a9['icon']);return(0x0,x[_0x49e31d(0x324)])('div',{'title':_0x416ebd['t'](_0x3d20a9['name']),'onClick':()=>_0x221b9a(_0x3d20a9),'className':_0x49e31d(0x2d8),'children':_0x4fe172&&(0x0,x['jsx'])(_0x4fe172,{'className':_0x49e31d(0x421)})},_0x3d20a9[_0x49e31d(0x56e)]);})})]},_0x4623df))});}function Ce(){const _0x4685b6=_0x1edbb0;let _0x53cdc1=(0x0,g[_0x4685b6(0x1e6)])(u[_0x4685b6(0x635)]),_0x5a6a1c=(0x0,g['useDependency'])(m['IDrawingManagerService']),_0x14ebd=(0x0,g['useDependency'])(ye),[_0xf6986a,_0x2f30b4]=(0x0,y[_0x4685b6(0x25d)])(!0x1);return(0x0,x[_0x4685b6(0x324)])(v['Dropdown'],{'side':_0x4685b6(0x280),'open':_0xf6986a,'onOpenChange':_0x2f30b4,'overlay':(0x0,x[_0x4685b6(0x324)])(Se,{'onShapeClick':_0xb924d5=>{const _0x11e841=_0x4685b6;let _0x215084=_0x5a6a1c[_0x11e841(0x1cd)]()[_0x11e841(0x600)](_0x47bc22=>_0x47bc22[_0x11e841(0x3e7)]===u['DrawingTypeEnum'][_0x11e841(0x415)]);if(!_0x215084)return;let {unitId:_0x34404e,subUnitId:_0x4e48d0,drawingId:_0x2b337e}=_0x215084;_0x14ebd[_0x11e841(0x5fd)](_0x34404e,_0x4e48d0,_0x2b337e,_0xb924d5[_0x11e841(0x56d)]),_0x2f30b4(!0x1);},'excludeGroups':[_0x4685b6(0x561)]}),'children':(0x0,x[_0x4685b6(0x324)])(v[_0x4685b6(0x384)],{'children':_0x53cdc1['t']('docs-shape-ui.crop.shape')})});}function we({paragraphMenuPlacement:_0x2ca0c3}){const _0xaa79f3=_0x1edbb0;let _0x563f35=(0x0,g[_0xaa79f3(0x1e6)])(u[_0xaa79f3(0x15b)]);return(0x0,x['jsx'])(Se,{'onShapeClick':_0x1cd20e=>{const _0x3262ff=_0xaa79f3;_0x563f35[_0x3262ff(0x1ce)](A['id'],{'paragraphMenuPlacement':_0x2ca0c3,'value':_0x1cd20e['type'],'enhanceParams':{'endArrow':_0x1cd20e[_0x3262ff(0x355)],'startArrow':_0x1cd20e[_0x3262ff(0x363)],'horizontal':_0x1cd20e[_0x3262ff(0x196)],'vertical':_0x1cd20e['vertical']}});}});}function Te(_0x1da5d6){const _0x227860=_0x1edbb0;return _0xc7312a=>({'id':A['id'],'type':g[_0x227860(0x167)]['SELECTOR'],'selections':[{'label':{'name':xe,'hoverable':!0x1,'selectable':!0x1,'props':_0x1da5d6?{'id':A['id'],'paragraphMenuPlacement':_0x1da5d6}:{'id':A['id']}}}],'icon':'ShapeIcon','title':_0x227860(0x628),'tooltip':_0x227860(0x284),'hidden$':(0x0,g['getMenuHiddenObservable'])(_0xc7312a,u[_0x227860(0x1bf)]['UNIVER_DOC'])});}const Ee=Te(),De=Te(_0x1edbb0(0x235)),Oe=Te(_0x1edbb0(0x126)),ke={[g[_0x1edbb0(0x14c)][_0x1edbb0(0x49d)]]:{[A['id']]:{'order':0x4,'menuItemFactory':Ee}},[g[_0x1edbb0(0x302)][_0x1edbb0(0x314)]]:{[g[_0x1edbb0(0x37c)][_0x1edbb0(0x48d)]]:{[f['INSERT_BELLOW_MENU_ID']]:{[A['id']]:{'order':0x8,'menuItemFactory':De}}},[f[_0x1edbb0(0x5ad)]]:{[g['ContextMenuGroup'][_0x1edbb0(0x48d)]]:{[A['id']]:{'order':0x8,'menuItemFactory':De}}},[f[_0x1edbb0(0x163)]]:{[g['ContextMenuGroup'][_0x1edbb0(0x48d)]]:{[A['id']]:{'order':0x8,'menuItemFactory':Oe}}}}};let Ae=class extends u[_0x1edbb0(0x2bf)]{constructor(_0x432849,_0xc8d143,_0x4d0f3c,_0x1331f4,_0xb6abc8,_0x38f099,_0x1ec982,_0x3bedb6,_0x4e987d,_0xa25e2d,_0x1aea10,_0x4fd7ab){const _0x5aa5d8=_0x1edbb0;super(),this[_0x5aa5d8(0x1ca)]=_0x432849,this[_0x5aa5d8(0x2c8)]=_0xc8d143,this[_0x5aa5d8(0x5d5)]=_0x4d0f3c,this[_0x5aa5d8(0x432)]=_0x1331f4,this[_0x5aa5d8(0x48a)]=_0xb6abc8,this['_componentManager']=_0x38f099,this[_0x5aa5d8(0x166)]=_0x1ec982,this[_0x5aa5d8(0x1ea)]=_0x3bedb6,this[_0x5aa5d8(0x201)]=_0x4e987d,this['_renderManagerService']=_0xa25e2d,this[_0x5aa5d8(0x593)]=_0x1aea10,this['_shapeTextEditingService']=_0x4fd7ab,L(this,_0x5aa5d8(0x5c9),null),L(this,_0x5aa5d8(0x35d),null),L(this,'_isOpenedShapeEditPanel',!0x1),L(this,_0x5aa5d8(0x59a),new Set()),L(this,_0x5aa5d8(0x5d3),[]),this[_0x5aa5d8(0x1c1)](),this[_0x5aa5d8(0x1eb)](),this[_0x5aa5d8(0x426)](this[_0x5aa5d8(0x1ca)]['getCurrentTypeOfUnit$'](u['UniverInstanceType'][_0x5aa5d8(0x16a)])[_0x5aa5d8(0x4c6)](_0x461b3e=>{const _0x1aa2cc=_0x5aa5d8;if(!_0x461b3e){var _0x4c12a9;(_0x4c12a9=this[_0x1aa2cc(0x5c9)])==null||_0x4c12a9[_0x1aa2cc(0x381)]();return;}this[_0x1aa2cc(0x4a8)](_0x461b3e);})),this[_0x5aa5d8(0x462)](),this[_0x5aa5d8(0x170)](),this['disposeWithMe'](this[_0x5aa5d8(0x208)][_0x5aa5d8(0x2a6)][_0x5aa5d8(0x4c6)](_0x6a9385=>{const _0x558f3e=_0x5aa5d8;_0x6a9385&&this[_0x558f3e(0x1d7)]();}));}[_0x1edbb0(0x1eb)](){const _0x11b61b=_0x1edbb0;this[_0x11b61b(0x5d5)][_0x11b61b(0x417)](ke);}[_0x1edbb0(0x170)](){const _0x52a568=_0x1edbb0;this[_0x52a568(0x1ca)][_0x52a568(0x3bb)](u[_0x52a568(0x1bf)]['UNIVER_DOC'])['forEach'](_0x22a899=>this['_createShapePopupMenu'](_0x22a899));}[_0x1edbb0(0x3f2)](_0x369f0a,_0x2be97c,_0x50391b,_0x4c7cf6){const _0x5ebae9=_0x1edbb0;return[{'label':_0x5ebae9(0x2f4),'index':0x0,'commandId':M['id'],'commandParams':{'unitId':_0x369f0a,'subUnitId':_0x2be97c,'drawingId':_0x50391b},'disable':_0x4c7cf6===u[_0x5ebae9(0x51c)]['DRAWING_DOM']},{'label':_0x5ebae9(0x544),'index':0x1,'commandId':d[_0x5ebae9(0x5c5)]['id'],'commandParams':{'unitId':_0x369f0a,'drawings':[{'unitId':_0x369f0a,'subUnitId':_0x2be97c,'drawingId':_0x50391b}]},'disable':!0x1},{'label':'docs-shape-ui.hidePanel','index':0x2,'commandId':j['id'],'commandParams':{'unitId':_0x369f0a,'subUnitId':_0x2be97c,'drawingId':_0x50391b},'disable':!0x1}];}[_0x1edbb0(0x232)](_0x21a143,_0x40adf2,_0x158ff1){const _0x23263c=_0x1edbb0;let _0x5e8d51=this[_0x23263c(0x432)]['getShapeTypeById'](_0x21a143,_0x40adf2,_0x158ff1),_0x525bbb=this[_0x23263c(0x432)][_0x23263c(0x5e8)](_0x21a143,_0x40adf2,_0x158ff1);return _0x5e8d51!==void 0x0&&_0x525bbb!==void 0x0?{'shapeData':_0x525bbb,'shapeId':_0x158ff1,'shapeType':_0x5e8d51,'unitId':_0x21a143,'subUnitId':_0x40adf2,'disableShapeOption':!0x1}:null;}[_0x1edbb0(0x4a8)](_0x49c43b){const _0x4289b6=_0x1edbb0;if(!_0x49c43b)return;let _0xd2466c=_0x49c43b[_0x4289b6(0x2d6)]();this[_0x4289b6(0x3f5)][_0x4289b6(0x447)](_0xd2466c)&&!this[_0x4289b6(0x59a)][_0x4289b6(0x447)](_0xd2466c)&&(this['_popupMenuListener'](_0xd2466c),this[_0x4289b6(0x59a)][_0x4289b6(0x29e)](_0xd2466c));}[_0x1edbb0(0x1d7)](){const _0x2eaaab=_0x1edbb0;this[_0x2eaaab(0x5d3)][_0x2eaaab(0x3b0)](_0x30aa94=>_0x30aa94[_0x2eaaab(0x381)]()),this['_disposePopups'][_0x2eaaab(0x585)]=0x0;}['_popupMenuListener'](_0x44f516){const _0x106c8d=_0x1edbb0;var _0x5b6cac;let _0x13971e=(_0x5b6cac=this[_0x106c8d(0x3f5)][_0x106c8d(0x386)](_0x44f516))==null?void 0x0:_0x5b6cac[_0x106c8d(0x546)],_0xe0fa1=_0x13971e==null?void 0x0:_0x13971e['getTransformerByCreate']();!_0x13971e||!_0xe0fa1||(this[_0x106c8d(0x426)](_0xe0fa1[_0x106c8d(0x4cf)][_0x106c8d(0x4c6)](()=>{const _0x3e103d=_0x106c8d;let _0x31cd50=_0xe0fa1['getSelectedObjectMap']();if(this[_0x3e103d(0x1d7)](),this[_0x3e103d(0x51d)]||_0x31cd50[_0x3e103d(0x448)]>0x1)return;let _0x5d06c4=_0x31cd50[_0x3e103d(0x43c)]()[_0x3e103d(0x371)]()[_0x3e103d(0x52a)];if(!_0x5d06c4)return;let _0x1dbf8a=this[_0x3e103d(0x1ea)][_0x3e103d(0x610)](_0x5d06c4[_0x3e103d(0x56b)]);if(!_0x1dbf8a||_0x1dbf8a[_0x3e103d(0x3e7)]!==u[_0x3e103d(0x51c)][_0x3e103d(0x23f)])return;let {unitId:_0x7e45b5,subUnitId:_0x2b0982,drawingId:_0x30499d,drawingType:_0x170dc6}=_0x1dbf8a,_0x13bed2=this[_0x3e103d(0x232)](_0x7e45b5,_0x2b0982,_0x30499d);if(!_0x13bed2)return;let _0x86e755=this[_0x3e103d(0x201)][_0x3e103d(0x1e8)](_0x5d06c4,{'componentKey':le,'direction':'top-center','offset':[0x0,0x8],'extraProps':{'unitId':_0x7e45b5,'subUnitId':_0x2b0982,'drawingId':_0x30499d,'drawingType':_0x170dc6,'shapeType':_0x13bed2[_0x3e103d(0x444)],'shapeData':_0x13bed2[_0x3e103d(0x190)]}},_0x7e45b5);this['_disposePopups'][_0x3e103d(0x135)](this['disposeWithMe'](_0x86e755)),this['_drawingManagerService'][_0x3e103d(0x1cd)]()['find'](_0x3ee342=>_0x3ee342[_0x3e103d(0x5ab)]===_0x7e45b5&&_0x3ee342['subUnitId']===_0x2b0982&&_0x3ee342['drawingId']===_0x30499d)||this[_0x3e103d(0x1ea)][_0x3e103d(0x1ec)]([{'unitId':_0x7e45b5,'subUnitId':_0x2b0982,'drawingId':_0x30499d}]);})),this[_0x106c8d(0x426)](_0xe0fa1[_0x106c8d(0x3e3)][_0x106c8d(0x4c6)](()=>{const _0x37c130=_0x106c8d;this[_0x37c130(0x1d7)](),this['_contextService']['setContextValue'](u[_0x37c130(0x1be)],!0x1),this['_drawingManagerService'][_0x37c130(0x1ec)](null);})),this['disposeWithMe'](_0xe0fa1[_0x106c8d(0x2c5)][_0x106c8d(0x4c6)](()=>{const _0x574582=_0x106c8d;this[_0x574582(0x1d7)]();})),this[_0x106c8d(0x426)](_0xe0fa1[_0x106c8d(0x424)][_0x106c8d(0x4c6)](()=>{this['_clearPopups']();})));}['_registerOperations'](){const _0x347c86=_0x1edbb0;this[_0x347c86(0x426)](this[_0x347c86(0x166)][_0x347c86(0x350)](_0x562222=>{const _0x44ff2c=_0x347c86;if(_0x562222['id']===M['id']){let {unitId:_0x7e8ddb,subUnitId:_0x611e27,drawingId:_0x536d34}=_0x562222[_0x44ff2c(0x1ee)];this['_activeShapeInfo']=this['_getShapeInfo'](_0x7e8ddb,_0x611e27,_0x536d34),this[_0x44ff2c(0x1d7)](),this['_openShapeEditPanel']();}if(_0x562222['id']===j['id']&&(this[_0x44ff2c(0x35d)]=null,this[_0x44ff2c(0x169)]()),_0x562222['id']===l[_0x44ff2c(0x23d)]['id']){let {unitId:_0x44dbd3,shapeId:_0x1d2b92}=_0x562222[_0x44ff2c(0x1ee)];if(this['_activeShapeInfo']&&this[_0x44ff2c(0x35d)][_0x44ff2c(0x49b)]===_0x1d2b92){let _0x409aa3=this[_0x44ff2c(0x232)](_0x44dbd3,this['_activeShapeInfo'][_0x44ff2c(0x1d0)],_0x1d2b92);_0x409aa3&&(this['_activeShapeInfo']=_0x409aa3);}}})),this[_0x347c86(0x426)](this[_0x347c86(0x1ea)][_0x347c86(0x129)]['subscribe'](_0x80433b=>{const _0x4e981b=_0x347c86;if(this['_isOpenedShapeEditPanel']===!0x1)return;if(_0x80433b[_0x4e981b(0x585)]===0x0){this[_0x4e981b(0x35d)]=null,this[_0x4e981b(0x169)]();return;}if(_0x80433b['length']===0x1&&_0x80433b[0x0][_0x4e981b(0x3e7)]===u[_0x4e981b(0x51c)][_0x4e981b(0x23f)]&&(this[_0x4e981b(0x35d)]=this[_0x4e981b(0x232)](_0x80433b[0x0][_0x4e981b(0x5ab)],_0x80433b[0x0]['subUnitId'],_0x80433b[0x0][_0x4e981b(0x576)]),this[_0x4e981b(0x35d)])){this[_0x4e981b(0x1df)]();return;}let _0x4e6813=_0x80433b[_0x4e981b(0x15f)](_0x46ae3f=>_0x46ae3f['drawingType']===u[_0x4e981b(0x51c)][_0x4e981b(0x23f)]);if(_0x80433b['length']>0x1&&_0x4e6813[_0x4e981b(0x585)]===_0x80433b[_0x4e981b(0x585)]){if(this[_0x4e981b(0x35d)]=this[_0x4e981b(0x232)](_0x80433b[0x0]['unitId'],_0x80433b[0x0]['subUnitId'],_0x80433b[0x0][_0x4e981b(0x576)]),this[_0x4e981b(0x35d)]){this[_0x4e981b(0x1df)]();return;}}else{if(this['_activeShapeInfo']=this[_0x4e981b(0x232)](_0x80433b[0x0][_0x4e981b(0x5ab)],_0x80433b[0x0][_0x4e981b(0x1d0)],_0x80433b[0x0][_0x4e981b(0x576)]),this[_0x4e981b(0x35d)]){this[_0x4e981b(0x35d)][_0x4e981b(0x320)]=!0x0,this[_0x4e981b(0x1df)]();return;}}this[_0x4e981b(0x169)]();}));}[_0x1edbb0(0x1c1)](){const _0x3ac6ff=_0x1edbb0;[[_0x3ac6ff(0x58c),h[_0x3ac6ff(0x58c)]],[_0x3ac6ff(0x3b9),h[_0x3ac6ff(0x3b9)]],[_0x3ac6ff(0x12e),h['ShapeAccentBorderCallout2Icon']],[_0x3ac6ff(0x3a8),h[_0x3ac6ff(0x3a8)]],[_0x3ac6ff(0x12d),h['ShapeAccentCallout1Icon']],['ShapeAccentCallout2Icon',h[_0x3ac6ff(0x63c)]],[_0x3ac6ff(0x428),h[_0x3ac6ff(0x428)]],[_0x3ac6ff(0x1bc),h[_0x3ac6ff(0x1bc)]],[_0x3ac6ff(0x4c0),h[_0x3ac6ff(0x4c0)]],[_0x3ac6ff(0x457),h[_0x3ac6ff(0x457)]],[_0x3ac6ff(0x5f5),h[_0x3ac6ff(0x5f5)]],[_0x3ac6ff(0x239),h[_0x3ac6ff(0x239)]],[_0x3ac6ff(0x21d),h['ShapeActionButtonForwardNextIcon']],['ShapeActionButtonHelpIcon',h['ShapeActionButtonHelpIcon']],['ShapeActionButtonHomeIcon',h[_0x3ac6ff(0x54b)]],[_0x3ac6ff(0x40e),h['ShapeActionButtonInformationIcon']],['ShapeActionButtonMovieIcon',h[_0x3ac6ff(0x423)]],['ShapeActionButtonReturnIcon',h[_0x3ac6ff(0x525)]],[_0x3ac6ff(0x392),h['ShapeActionButtonSoundIcon']],['ShapeArcIcon',h['ShapeArcIcon']],[_0x3ac6ff(0x3c2),h['ShapeBentArrowIcon']],[_0x3ac6ff(0x577),h['ShapeBentConnector3Arrow1Icon']],[_0x3ac6ff(0x365),h[_0x3ac6ff(0x365)]],[_0x3ac6ff(0x45f),h[_0x3ac6ff(0x45f)]],[_0x3ac6ff(0x412),h[_0x3ac6ff(0x412)]],[_0x3ac6ff(0x37d),h[_0x3ac6ff(0x37d)]],[_0x3ac6ff(0x3db),h[_0x3ac6ff(0x3db)]],[_0x3ac6ff(0x3a6),h[_0x3ac6ff(0x3a6)]],[_0x3ac6ff(0x2b4),h[_0x3ac6ff(0x2b4)]],[_0x3ac6ff(0x480),h[_0x3ac6ff(0x480)]],['ShapeBracePairIcon',h[_0x3ac6ff(0x3a0)]],[_0x3ac6ff(0x502),h['ShapeBracketPairIcon']],[_0x3ac6ff(0x4f7),h['ShapeCallout1Icon']],[_0x3ac6ff(0x618),h[_0x3ac6ff(0x618)]],[_0x3ac6ff(0x3d1),h[_0x3ac6ff(0x3d1)]],['ShapeCanIcon',h[_0x3ac6ff(0x554)]],[_0x3ac6ff(0x460),h[_0x3ac6ff(0x460)]],[_0x3ac6ff(0x38b),h[_0x3ac6ff(0x38b)]],[_0x3ac6ff(0x510),h['ShapeChartXIcon']],[_0x3ac6ff(0x617),h[_0x3ac6ff(0x617)]],[_0x3ac6ff(0x40a),h[_0x3ac6ff(0x40a)]],[_0x3ac6ff(0x276),h[_0x3ac6ff(0x276)]],['ShapeCloudCalloutIcon',h[_0x3ac6ff(0x172)]],['ShapeCloudIcon',h['ShapeCloudIcon']],[_0x3ac6ff(0x62a),h[_0x3ac6ff(0x62a)]],[_0x3ac6ff(0x631),h[_0x3ac6ff(0x631)]],[_0x3ac6ff(0x4ab),h[_0x3ac6ff(0x4ab)]],[_0x3ac6ff(0x16b),h[_0x3ac6ff(0x16b)]],[_0x3ac6ff(0x602),h[_0x3ac6ff(0x602)]],[_0x3ac6ff(0x1e5),h[_0x3ac6ff(0x1e5)]],[_0x3ac6ff(0x1d1),h['ShapeCurvedDownArrowIcon']],['ShapeCurvedLeftArrowIcon',h['ShapeCurvedLeftArrowIcon']],[_0x3ac6ff(0x5cd),h[_0x3ac6ff(0x5cd)]],[_0x3ac6ff(0x509),h['ShapeCurvedUpArrowIcon']],[_0x3ac6ff(0x307),h['ShapeDecagonIcon']],[_0x3ac6ff(0x140),h[_0x3ac6ff(0x140)]],[_0x3ac6ff(0x3bc),h[_0x3ac6ff(0x3bc)]],[_0x3ac6ff(0x13a),h[_0x3ac6ff(0x13a)]],[_0x3ac6ff(0x584),h[_0x3ac6ff(0x584)]],[_0x3ac6ff(0x5fb),h[_0x3ac6ff(0x5fb)]],[_0x3ac6ff(0x39b),h['ShapeDownArrowCalloutIcon']],[_0x3ac6ff(0x4f3),h[_0x3ac6ff(0x4f3)]],[_0x3ac6ff(0x456),h['ShapeEllipseIcon']],[_0x3ac6ff(0x250),h[_0x3ac6ff(0x250)]],['ShapeEllipseRibbonIcon',h[_0x3ac6ff(0x1c7)]],[_0x3ac6ff(0x18b),h[_0x3ac6ff(0x18b)]],['ShapeFlowChartCollateIcon',h[_0x3ac6ff(0x5de)]],[_0x3ac6ff(0x50b),h[_0x3ac6ff(0x50b)]],['ShapeFlowChartDecisionIcon',h[_0x3ac6ff(0x3fc)]],[_0x3ac6ff(0x2fb),h['ShapeFlowChartDelayIcon']],['ShapeFlowChartDisplayIcon',h[_0x3ac6ff(0x46f)]],['ShapeFlowChartDocumentIcon',h['ShapeFlowChartDocumentIcon']],[_0x3ac6ff(0x3dc),h['ShapeFlowChartExtractIcon']],[_0x3ac6ff(0x1b8),h[_0x3ac6ff(0x1b8)]],[_0x3ac6ff(0x516),h[_0x3ac6ff(0x516)]],[_0x3ac6ff(0x5e0),h['ShapeFlowChartMagneticDiskIcon']],[_0x3ac6ff(0x38a),h[_0x3ac6ff(0x38a)]],[_0x3ac6ff(0x26e),h['ShapeFlowChartMagneticTapeIcon']],['ShapeFlowChartManualInputIcon',h[_0x3ac6ff(0x5fa)]],['ShapeFlowChartManualOperationIcon',h[_0x3ac6ff(0x5ce)]],['ShapeFlowChartMergeIcon',h[_0x3ac6ff(0x30b)]],[_0x3ac6ff(0x204),h[_0x3ac6ff(0x204)]],[_0x3ac6ff(0x3c1),h[_0x3ac6ff(0x3c1)]],['ShapeFlowChartOffpageConnectorIcon',h[_0x3ac6ff(0x51b)]],[_0x3ac6ff(0x5f6),h[_0x3ac6ff(0x5f6)]],[_0x3ac6ff(0x1e7),h['ShapeFlowChartOrIcon']],[_0x3ac6ff(0x258),h['ShapeFlowChartPredefinedProcessIcon']],[_0x3ac6ff(0x184),h['ShapeFlowChartPreparationIcon']],['ShapeFlowChartProcessIcon',h['ShapeFlowChartProcessIcon']],[_0x3ac6ff(0x31b),h[_0x3ac6ff(0x31b)]],[_0x3ac6ff(0x461),h['ShapeFlowChartPunchedTapeIcon']],[_0x3ac6ff(0x1d6),h[_0x3ac6ff(0x1d6)]],[_0x3ac6ff(0x5a3),h[_0x3ac6ff(0x5a3)]],[_0x3ac6ff(0x454),h[_0x3ac6ff(0x454)]],[_0x3ac6ff(0x18e),h['ShapeFolderCornerIcon']],['ShapeFrameIcon',h[_0x3ac6ff(0x3e4)]],['ShapeFunnelIcon',h[_0x3ac6ff(0x376)]],[_0x3ac6ff(0x244),h[_0x3ac6ff(0x244)]],[_0x3ac6ff(0x13d),h[_0x3ac6ff(0x13d)]],['ShapeHalfFrameIcon',h[_0x3ac6ff(0x58f)]],[_0x3ac6ff(0x194),h[_0x3ac6ff(0x194)]],[_0x3ac6ff(0x2ac),h['ShapeHeptagonIcon']],[_0x3ac6ff(0x200),h[_0x3ac6ff(0x200)]],[_0x3ac6ff(0x1f6),h[_0x3ac6ff(0x1f6)]],[_0x3ac6ff(0x4a6),h[_0x3ac6ff(0x4a6)]],[_0x3ac6ff(0x530),h[_0x3ac6ff(0x530)]],[_0x3ac6ff(0x4eb),h[_0x3ac6ff(0x4eb)]],[_0x3ac6ff(0x43b),h[_0x3ac6ff(0x43b)]],[_0x3ac6ff(0x4dc),h[_0x3ac6ff(0x4dc)]],[_0x3ac6ff(0x38d),h[_0x3ac6ff(0x38d)]],[_0x3ac6ff(0x373),h['ShapeLeftBracketIcon']],[_0x3ac6ff(0x4c7),h[_0x3ac6ff(0x4c7)]],[_0x3ac6ff(0x4e4),h[_0x3ac6ff(0x4e4)]],['ShapeLeftRightArrowIcon',h['ShapeLeftRightArrowIcon']],[_0x3ac6ff(0x28b),h[_0x3ac6ff(0x28b)]],[_0x3ac6ff(0x321),h[_0x3ac6ff(0x321)]],[_0x3ac6ff(0x12a),h[_0x3ac6ff(0x12a)]],[_0x3ac6ff(0x1ad),h['ShapeLeftUpArrowIcon']],[_0x3ac6ff(0x404),h['ShapeLightningBoltIcon']],[_0x3ac6ff(0x44a),h[_0x3ac6ff(0x44a)]],['ShapeLineInvIcon',h[_0x3ac6ff(0x58a)]],[_0x3ac6ff(0x215),h[_0x3ac6ff(0x215)]],['ShapeMathEqualIcon',h[_0x3ac6ff(0x1aa)]],[_0x3ac6ff(0x2c7),h[_0x3ac6ff(0x2c7)]],[_0x3ac6ff(0x3b4),h[_0x3ac6ff(0x3b4)]],['ShapeMathNotEqualIcon',h[_0x3ac6ff(0x5e3)]],['ShapeMathPlusIcon',h[_0x3ac6ff(0x2e8)]],['ShapeMoonIcon',h['ShapeMoonIcon']],[_0x3ac6ff(0x439),h[_0x3ac6ff(0x439)]],[_0x3ac6ff(0x3c5),h[_0x3ac6ff(0x3c5)]],[_0x3ac6ff(0x434),h[_0x3ac6ff(0x434)]],[_0x3ac6ff(0x482),h[_0x3ac6ff(0x482)]],[_0x3ac6ff(0x55d),h[_0x3ac6ff(0x55d)]],[_0x3ac6ff(0x337),h[_0x3ac6ff(0x337)]],['ShapePieIcon',h[_0x3ac6ff(0x34d)]],[_0x3ac6ff(0x4aa),h[_0x3ac6ff(0x4aa)]],[_0x3ac6ff(0x223),h[_0x3ac6ff(0x223)]],[_0x3ac6ff(0x16c),h[_0x3ac6ff(0x16c)]],[_0x3ac6ff(0x177),h[_0x3ac6ff(0x177)]],[_0x3ac6ff(0x1fb),h[_0x3ac6ff(0x1fb)]],['ShapeQuadArrowIcon',h['ShapeQuadArrowIcon']],[_0x3ac6ff(0x2fa),h[_0x3ac6ff(0x2fa)]],[_0x3ac6ff(0x5a1),h[_0x3ac6ff(0x5a1)]],[_0x3ac6ff(0x349),h['ShapeRectTextboxVerticalIcon']],[_0x3ac6ff(0x566),h[_0x3ac6ff(0x566)]],[_0x3ac6ff(0x500),h['ShapeRibbonIcon']],['ShapeRightArrowCalloutIcon',h['ShapeRightArrowCalloutIcon']],[_0x3ac6ff(0x4cd),h[_0x3ac6ff(0x4cd)]],[_0x3ac6ff(0x570),h[_0x3ac6ff(0x570)]],[_0x3ac6ff(0x4b4),h[_0x3ac6ff(0x4b4)]],['ShapeRound1RectIcon',h[_0x3ac6ff(0x54a)]],[_0x3ac6ff(0x3fd),h['ShapeRound2DiagRectIcon']],[_0x3ac6ff(0x394),h[_0x3ac6ff(0x394)]],['ShapeRoundRectIcon',h[_0x3ac6ff(0x52f)]],['ShapeRtTriangleIcon',h[_0x3ac6ff(0x1c3)]],[_0x3ac6ff(0x3b1),h[_0x3ac6ff(0x3b1)]],[_0x3ac6ff(0x5cc),h[_0x3ac6ff(0x5cc)]],[_0x3ac6ff(0x5b7),h['ShapeSnip2DiagRectIcon']],[_0x3ac6ff(0x289),h[_0x3ac6ff(0x289)]],[_0x3ac6ff(0x410),h[_0x3ac6ff(0x410)]],['ShapeSquareTabsIcon',h['ShapeSquareTabsIcon']],['ShapeStar10Icon',h[_0x3ac6ff(0x247)]],['ShapeStar12Icon',h[_0x3ac6ff(0x3cb)]],[_0x3ac6ff(0x405),h['ShapeStar16Icon']],[_0x3ac6ff(0x4e5),h['ShapeStar24Icon']],[_0x3ac6ff(0x3cf),h[_0x3ac6ff(0x3cf)]],[_0x3ac6ff(0x219),h['ShapeStar4Icon']],['ShapeStar5Icon',h[_0x3ac6ff(0x5a0)]],[_0x3ac6ff(0x192),h[_0x3ac6ff(0x192)]],['ShapeStar7Icon',h[_0x3ac6ff(0x27e)]],['ShapeStar8Icon',h[_0x3ac6ff(0x1b6)]],[_0x3ac6ff(0x5a9),h[_0x3ac6ff(0x5a9)]],[_0x3ac6ff(0x490),h[_0x3ac6ff(0x490)]],[_0x3ac6ff(0x1a8),h[_0x3ac6ff(0x1a8)]],['ShapeSunIcon',h['ShapeSunIcon']],[_0x3ac6ff(0x2a0),h['ShapeSwooshArrowIcon']],[_0x3ac6ff(0x207),h['ShapeTeardropIcon']],[_0x3ac6ff(0x3f0),h[_0x3ac6ff(0x3f0)]],['ShapeTriangleIcon',h[_0x3ac6ff(0x2c2)]],[_0x3ac6ff(0x578),h[_0x3ac6ff(0x578)]],[_0x3ac6ff(0x1f7),h[_0x3ac6ff(0x1f7)]],['ShapeUpDownArrowCalloutIcon',h['ShapeUpDownArrowCalloutIcon']],[_0x3ac6ff(0x353),h['ShapeUpDownArrowIcon']],[_0x3ac6ff(0x4c9),h[_0x3ac6ff(0x4c9)]],['ShapeVerticalScrollIcon',h[_0x3ac6ff(0x325)]],[_0x3ac6ff(0x24e),h[_0x3ac6ff(0x24e)]],[_0x3ac6ff(0x52e),h['ShapeWedgeEllipseCalloutIcon']],[_0x3ac6ff(0x344),h[_0x3ac6ff(0x344)]],[_0x3ac6ff(0x47c),h[_0x3ac6ff(0x47c)]],[N,X],[le,ve],[xe,we],[b[_0x3ac6ff(0x4bd)],Ce]][_0x3ac6ff(0x3b0)](([_0x13c440,_0x47040c])=>{const _0x3ad0a6=_0x3ac6ff;this[_0x3ad0a6(0x426)](this['_componentManager'][_0x3ad0a6(0x271)](_0x13c440,_0x47040c));});}[_0x1edbb0(0x1df)](){const _0x18e5d4=_0x1edbb0;this[_0x18e5d4(0x5c9)]=this[_0x18e5d4(0x2c8)]['open']({'id':N,'header':{'title':this[_0x18e5d4(0x48a)]['t'](_0x18e5d4(0x15d))},'width':0x184,'children':{'label':N,...this[_0x18e5d4(0x35d)]},'onClose':()=>{const _0xfcb945=_0x18e5d4;this[_0xfcb945(0x1ea)][_0xfcb945(0x1ec)](null),this[_0xfcb945(0x593)][_0xfcb945(0x54d)](u[_0xfcb945(0x1be)],!0x1),this[_0xfcb945(0x5c9)]=null;}}),this[_0x18e5d4(0x51d)]=!0x0;}[_0x1edbb0(0x169)](){const _0x1ba3ed=_0x1edbb0;this[_0x1ba3ed(0x51d)]=!0x1,this[_0x1ba3ed(0x2c8)][_0x1ba3ed(0x497)](N),this[_0x1ba3ed(0x5c9)]=null,this[_0x1ba3ed(0x593)][_0x1ba3ed(0x54d)](u[_0x1ba3ed(0x1be)],!0x1),this['_drawingManagerService'][_0x1ba3ed(0x1ec)](null);}};Ae=W([U(0x0,u[_0x1edbb0(0x2eb)]),U(0x1,(0x0,u[_0x1edbb0(0x1ac)])(g[_0x1edbb0(0x33a)])),U(0x2,g[_0x1edbb0(0x5e2)]),U(0x3,(0x0,u[_0x1edbb0(0x1ac)])(l['DocsShapeService'])),U(0x4,(0x0,u[_0x1edbb0(0x1ac)])(u[_0x1edbb0(0x635)])),U(0x5,(0x0,u[_0x1edbb0(0x1ac)])(g[_0x1edbb0(0x56a)])),U(0x6,u[_0x1edbb0(0x15b)]),U(0x7,m[_0x1edbb0(0x2ff)]),U(0x8,(0x0,u[_0x1edbb0(0x1ac)])(f[_0x1edbb0(0x1dc)])),U(0x9,p[_0x1edbb0(0x3ce)]),U(0xa,u[_0x1edbb0(0x1ed)]),U(0xb,(0x0,u[_0x1edbb0(0x1ac)])(R))],Ae);var je='@univerjs-pro/docs-shape-ui',Me=_0x1edbb0(0x272);const Ne={};var Pe=class extends p[_0x1edbb0(0x150)]{constructor(_0x3c59f3,_0x1e5188){const _0x53c1fb=_0x1edbb0;super(_0x3c59f3,_0x1e5188),L(this,_0x53c1fb(0x3d5),null),L(this,'_adjName',null),L(this,'_unitId',null),L(this,_0x53c1fb(0x1f1),null),_0x1e5188&&this['setShapeProps'](_0x1e5188);}[_0x1edbb0(0x139)](){const _0x4b70ac=_0x1edbb0;return{'unitId':this[_0x4b70ac(0x18c)],'subUnitId':this[_0x4b70ac(0x1f1)],'drawingId':this[_0x4b70ac(0x3d5)]};}['setShapeProps'](_0x121b97){const _0x5d0cac=_0x1edbb0;_0x121b97[_0x5d0cac(0x49b)]!==void 0x0&&(this['_shapeId']=_0x121b97[_0x5d0cac(0x49b)]),_0x121b97[_0x5d0cac(0x401)]!==void 0x0&&(this[_0x5d0cac(0x374)]=_0x121b97[_0x5d0cac(0x401)]),_0x121b97['unitId']!==void 0x0&&(this[_0x5d0cac(0x18c)]=_0x121b97[_0x5d0cac(0x5ab)]),_0x121b97['subUnitId']!==void 0x0&&(this[_0x5d0cac(0x1f1)]=_0x121b97['subUnitId']),this['transformByState']({'width':_0x121b97[_0x5d0cac(0x627)],'height':_0x121b97['height']});}[_0x1edbb0(0x2aa)](_0x418d60){const _0x274df7=_0x1edbb0;p[_0x274df7(0x517)]['drawWith'](_0x418d60,{'radius':c[_0x274df7(0x33d)]['adjHandleSize'],'fill':c['ShapeDefaultConfig'][_0x274df7(0x3eb)],'stroke':c[_0x274df7(0x33d)]['adjHandleStroke'],'strokeWidth':0x1,'evented':!0x0});}};let Fe=class extends u[_0x1edbb0(0x2bf)]{constructor(_0x3d0c0f,_0xdc6dab,_0x1fcc2c,_0x7233b2){const _0x4973ba=_0x1edbb0;super(),this[_0x4973ba(0x420)]=_0x3d0c0f,this[_0x4973ba(0x1ea)]=_0xdc6dab,this['_docsShapeService']=_0x1fcc2c,this[_0x4973ba(0x166)]=_0x7233b2,L(this,'_activeShapeId',null),L(this,_0x4973ba(0x18c),null),L(this,_0x4973ba(0x1f1),null),L(this,_0x4973ba(0x55e),void 0x0),L(this,_0x4973ba(0x606),[]),L(this,_0x4973ba(0x37e),0x0),L(this,'_baseShapeTop',0x0),L(this,'_baseShapeWidth',0x0),L(this,_0x4973ba(0x4a4),0x0),L(this,_0x4973ba(0x53d),!0x1),L(this,_0x4973ba(0x34a),!0x1),L(this,_0x4973ba(0x370),void 0x0),L(this,_0x4973ba(0x51f),void 0x0),L(this,'_adjHandlerPointerMove',void 0x0),L(this,'_adjHandlerPointerUp',void 0x0),this[_0x4973ba(0x3e6)](),this['_registerDrawingTransformHandler']();}[_0x1edbb0(0x636)](){const _0x4c58d9=_0x1edbb0;this[_0x4c58d9(0x224)]();}[_0x1edbb0(0x4d6)](){this['_updateShapeAdjustControls'](!0x0);}[_0x1edbb0(0x28e)](_0x27ca2f,_0xe420dd,_0x31c7fa){const _0x4fd503=_0x1edbb0;var _0xfc4a1c;return(_0xfc4a1c=this[_0x4fd503(0x432)][_0x4fd503(0x26d)](_0x27ca2f,_0xe420dd,_0x31c7fa))==null?void 0x0:_0xfc4a1c['getDrawingPoints']();}[_0x1edbb0(0x315)](_0x18f001,_0x5dcc80,_0x55701a,_0x27aaff){const _0x21cd36=_0x1edbb0;var _0x439523;return(_0x439523=this[_0x21cd36(0x432)]['getShapeModel'](_0x18f001,_0x5dcc80,_0x55701a))==null?void 0x0:_0x439523[_0x21cd36(0x559)](_0x27aaff);}[_0x1edbb0(0x133)](){const _0x3e6a0a=_0x1edbb0;if(this['_unitId']===null||this[_0x3e6a0a(0x1f1)]===null||this['_activeShapeId']===null)return null;let _0x57972b=this[_0x3e6a0a(0x1ea)][_0x3e6a0a(0x211)]({'unitId':this[_0x3e6a0a(0x18c)],'subUnitId':this[_0x3e6a0a(0x1f1)],'drawingId':this[_0x3e6a0a(0x4d5)]});return _0x57972b==null?null:_0x57972b;}[_0x1edbb0(0x614)](_0x1a9ea4){const _0x1e67d3=_0x1edbb0;if(this[_0x1e67d3(0x18c)]===null||this['_subUnitId']===null||this['_activeShapeId']===null)return null;let _0x91ea98=(0x0,m[_0x1e67d3(0x2fd)])({'unitId':this['_unitId'],'subUnitId':this[_0x1e67d3(0x1f1)],'drawingId':this[_0x1e67d3(0x4d5)]}),_0x10cf48=_0x1a9ea4[_0x1e67d3(0x290)](_0x91ea98);return _0x10cf48 instanceof H?_0x10cf48:null;}[_0x1edbb0(0x5af)](_0x23b4f1=!0x1){const _0x821a3e=_0x1edbb0;if(this[_0x821a3e(0x18c)]===null||this[_0x821a3e(0x1f1)]===null||this[_0x821a3e(0x4d5)]===null)return;let _0x5910ee=this[_0x821a3e(0x133)]();if((_0x5910ee==null?void 0x0:_0x5910ee['drawingType'])!==u[_0x821a3e(0x51c)][_0x821a3e(0x23f)]||!_0x5910ee[_0x821a3e(0x121)])return;let _0x52189a=this[_0x821a3e(0x432)][_0x821a3e(0x26d)](this[_0x821a3e(0x18c)],this[_0x821a3e(0x1f1)],this[_0x821a3e(0x4d5)]);if(!_0x52189a||_0x52189a[_0x821a3e(0x2f0)]())return;(_0x23b4f1||!this['_activeShapeAdjustPointList'])&&(this[_0x821a3e(0x55e)]=this[_0x821a3e(0x28e)](this[_0x821a3e(0x18c)],this[_0x821a3e(0x1f1)],this[_0x821a3e(0x4d5)]));let _0x2a3cd6=this[_0x821a3e(0x55e)];if(!(_0x2a3cd6!=null&&_0x2a3cd6[_0x821a3e(0x585)]))return;let {scene:_0x5eb706}=this[_0x821a3e(0x420)],{left:_0x6757b5=0x0,top:_0x471cd6=0x0,width:_0x3a81d8=0x0,height:_0x47f0a6=0x0,flipX:_0xf56070,flipY:_0x8d03ea,angle:_0x59506c=0x0}=_0x5910ee[_0x821a3e(0x121)];for(let _0x16451f of _0x2a3cd6){let _0x12a970=this[_0x821a3e(0x5f7)](_0x16451f,_0x3a81d8,_0x47f0a6,!!_0xf56070,!!_0x8d03ea,_0x59506c);this[_0x821a3e(0x396)](_0x5eb706,_0x12a970,_0x12a970['adjName'],_0x6757b5,_0x471cd6,this[_0x821a3e(0x18c)],this[_0x821a3e(0x1f1)]);}}[_0x1edbb0(0x5f7)](_0x5502e0,_0x195cdf,_0x55aa20,_0x463866,_0x238f4a,_0x3bc550){const _0x1d36a9=_0x1edbb0;let _0x159459=_0x5502e0['x'],_0x4cb206=_0x5502e0['y'];if(_0x463866&&(_0x159459=_0x195cdf-_0x159459),_0x238f4a&&(_0x4cb206=_0x55aa20-_0x4cb206),_0x3bc550!==0x0){let _0x22cc39=_0x195cdf/0x2,_0x7e6a3a=_0x55aa20/0x2,_0x4e6453=_0x3bc550*Math['PI']/0xb4,_0x553a10=Math['cos'](_0x4e6453),_0x358df1=Math[_0x1d36a9(0x409)](_0x4e6453),_0x1f1d1e=_0x159459-_0x22cc39,_0x309ada=_0x4cb206-_0x7e6a3a;_0x159459=_0x22cc39+(_0x1f1d1e*_0x553a10-_0x309ada*_0x358df1),_0x4cb206=_0x7e6a3a+(_0x1f1d1e*_0x358df1+_0x309ada*_0x553a10);}return{'x':_0x159459,'y':_0x4cb206,'adjName':_0x5502e0[_0x1d36a9(0x401)]};}['_updateShapeAdjustControls'](_0x558464=!0x1){const _0x2e539e=_0x1edbb0;_0x558464&&this[_0x2e539e(0x224)](),this[_0x2e539e(0x5af)](_0x558464);}['_addShapeAdjustControl'](_0x44e0a4,_0x3caf28,_0x23b72f,_0x4409cc,_0x3a0793,_0x488057,_0x5d36c9){const _0x3535ed=_0x1edbb0;if(!this['_activeShapeId'])return;let _0x60ced0='doc-shape-adjust-point-'+this[_0x3535ed(0x4d5)]+'-'+_0x23b72f,_0x494c02=_0x44e0a4[_0x3535ed(0x290)](_0x60ced0);if(_0x494c02){_0x494c02[_0x3535ed(0x5ca)]({'left':_0x3caf28['x']+_0x4409cc-c[_0x3535ed(0x33d)][_0x3535ed(0x1fd)],'top':_0x3caf28['y']+_0x3a0793-c[_0x3535ed(0x33d)][_0x3535ed(0x1fd)]}),_0x494c02[_0x3535ed(0x629)](!0x0);return;}let _0x33881f=new Pe(_0x60ced0,{'left':_0x3caf28['x']+_0x4409cc-c[_0x3535ed(0x33d)][_0x3535ed(0x1fd)],'top':_0x3caf28['y']+_0x3a0793-c[_0x3535ed(0x33d)][_0x3535ed(0x1fd)],'adjName':_0x23b72f,'shapeId':this[_0x3535ed(0x4d5)],'unitId':_0x488057,'subUnitId':_0x5d36c9,'width':c[_0x3535ed(0x33d)][_0x3535ed(0x1fd)]+0x8,'height':c[_0x3535ed(0x33d)][_0x3535ed(0x1fd)]+0x8,'zIndex':p[_0x3535ed(0x4dd)]+0x1,'evented':!0x0});this[_0x3535ed(0x606)][_0x3535ed(0x135)](_0x33881f),this[_0x3535ed(0x621)](_0x33881f,_0x44e0a4,_0x23b72f),_0x44e0a4['addObject'](_0x33881f,p[_0x3535ed(0x4dd)]+0x1);}[_0x1edbb0(0x224)](){const _0x427643=_0x1edbb0;this[_0x427643(0x606)][_0x427643(0x3b0)](_0x58f18f=>_0x58f18f['dispose']()),this[_0x427643(0x606)]=[];}['_updateAdjustControlPositions'](){const _0x3ae39f=_0x1edbb0;this[_0x3ae39f(0x5af)]();}['_toScenePoint'](_0x843bb6,_0x810f67,_0x1d69be){const _0x1f2aea=_0x1edbb0;var _0x33f67c,_0x25008d;let _0x285e30=p[_0x1f2aea(0x5ec)]['FromArray']([_0x810f67,_0x1d69be]),_0xad7b09=(_0x33f67c=_0x843bb6['getActiveViewportByCoord'](_0x285e30))==null?_0x843bb6[_0x1f2aea(0x5c2)]()[0x0]:_0x33f67c;return(_0x25008d=_0xad7b09==null?void 0x0:_0xad7b09[_0x1f2aea(0x234)](_0x285e30))==null?_0x285e30:_0x25008d;}['_attachAdjustEvent'](_0x59e1e6,_0x430412,_0x279aad){const _0x4f4708=_0x1edbb0;this['disposeWithMe']((0x0,u[_0x4f4708(0x4a2)])(_0x59e1e6['onPointerDown$'][_0x4f4708(0x329)]((_0x4f0554,_0x29236d)=>{const _0x5da5a9=_0x4f4708;var _0x4f6b69,_0x112773,_0x3ac728,_0x4c2a86;let _0x314f5e=_0x59e1e6[_0x5da5a9(0x139)]();this[_0x5da5a9(0x370)]=this['_getShapeAdjustInfosById'](_0x314f5e[_0x5da5a9(0x5ab)],_0x314f5e[_0x5da5a9(0x1d0)],_0x314f5e[_0x5da5a9(0x576)],_0x279aad),this[_0x5da5a9(0x51f)]=this[_0x5da5a9(0x432)][_0x5da5a9(0x26d)](_0x314f5e[_0x5da5a9(0x5ab)],_0x314f5e['subUnitId'],_0x314f5e['drawingId']);let _0x59a2e3=this[_0x5da5a9(0x133)](),_0x546a02=_0x59a2e3==null?void 0x0:_0x59a2e3['transform'];if(!_0x59a2e3||!_0x546a02||!this[_0x5da5a9(0x51f)])return;this[_0x5da5a9(0x37e)]=_0x546a02[_0x5da5a9(0x280)]||0x0,this[_0x5da5a9(0x3e0)]=_0x546a02[_0x5da5a9(0x153)]||0x0,this[_0x5da5a9(0x413)]=_0x546a02[_0x5da5a9(0x627)]||0x0,this['_baseShapeHeight']=_0x546a02[_0x5da5a9(0x4b0)]||0x0;let _0x4406a9=!!_0x546a02[_0x5da5a9(0x28c)],_0x14651b=!!_0x546a02['flipY'],_0x45c31b=_0x546a02[_0x5da5a9(0x264)]||0x0,_0x240cca=((_0x4f6b69=this['_activeAdjustInfo'])==null?void 0x0:_0x4f6b69['gdRefX'])||((_0x112773=this[_0x5da5a9(0x370)])==null?void 0x0:_0x112773[_0x5da5a9(0x47a)])||((_0x3ac728=this[_0x5da5a9(0x370)])==null?void 0x0:_0x3ac728[_0x5da5a9(0x535)])||((_0x4c2a86=this[_0x5da5a9(0x370)])==null?void 0x0:_0x4c2a86[_0x5da5a9(0x539)])||_0x279aad,_0x520030=this[_0x5da5a9(0x51f)]['getAdjustValueByName'](_0x240cca),_0x83626b={[_0x240cca]:_0x520030};this[_0x5da5a9(0x53d)]=!0x0,_0x430412[_0x5da5a9(0x4ea)](),this[_0x5da5a9(0x50a)]=_0x430412[_0x5da5a9(0x53a)][_0x5da5a9(0x329)]((_0xa8ae64,_0x5892bf)=>{const _0x57166e=_0x5da5a9;var _0x34f013;if(!this[_0x57166e(0x53d)]||!this[_0x57166e(0x51f)]||!this['_activeAdjustInfo'])return;_0x430412['disableObjectsEvent'](),_0x430412['setCursor'](p[_0x57166e(0x5fc)]['CROSSHAIR']);let _0x20daa3=this[_0x57166e(0x1a1)](_0x430412,_0xa8ae64[_0x57166e(0x591)],_0xa8ae64[_0x57166e(0x367)]),_0x474e7a=_0x20daa3['x']-this[_0x57166e(0x37e)],_0x1edf1b=_0x20daa3['y']-this[_0x57166e(0x3e0)];if(_0x45c31b!==0x0){let _0x4d1bfb=this['_baseShapeWidth']/0x2,_0x143d81=this[_0x57166e(0x4a4)]/0x2,_0x586079=_0x45c31b*Math['PI']/0xb4,_0x176cff=Math[_0x57166e(0x2df)](_0x586079),_0x1523c1=Math['sin'](_0x586079),_0x168619=_0x474e7a-_0x4d1bfb,_0x4f0335=_0x1edf1b-_0x143d81;_0x474e7a=_0x4d1bfb+(_0x168619*_0x176cff+_0x4f0335*_0x1523c1),_0x1edf1b=_0x143d81+(-_0x168619*_0x1523c1+_0x4f0335*_0x176cff);}_0x4406a9&&(_0x474e7a=this[_0x57166e(0x413)]-_0x474e7a),_0x14651b&&(_0x1edf1b=this[_0x57166e(0x4a4)]-_0x1edf1b);let _0x323b59={'left':0x0,'top':0x0,'width':this[_0x57166e(0x413)],'height':this[_0x57166e(0x4a4)]},_0x4da7e6=this[_0x57166e(0x51f)][_0x57166e(0x14a)](_0x323b59,{'x':_0x474e7a,'y':_0x1edf1b},this[_0x57166e(0x370)],_0x4406a9,_0x14651b),_0x5bf1ed=this[_0x57166e(0x370)][_0x57166e(0x36b)]||this[_0x57166e(0x370)][_0x57166e(0x47a)]||this[_0x57166e(0x370)][_0x57166e(0x535)]||this[_0x57166e(0x370)]['gdRefR'];_0x5bf1ed!==void 0x0&&(this[_0x57166e(0x51f)][_0x57166e(0x339)](_0x5bf1ed,_0x4da7e6),(_0x34f013=this['_getActiveDrawingShape'](_0x430412))==null||_0x34f013[_0x57166e(0x629)](!0x0),this[_0x57166e(0x55e)]=this['_getShapeAdjustPointListById'](_0x314f5e[_0x57166e(0x5ab)],_0x314f5e[_0x57166e(0x1d0)],_0x314f5e['drawingId']),this[_0x57166e(0x48f)](),_0x5892bf[_0x57166e(0x228)]());}),this[_0x5da5a9(0x14d)]=_0x430412[_0x5da5a9(0x3ec)][_0x5da5a9(0x329)]((_0x3bbdfc,_0x226089)=>{const _0x4dc7ab=_0x5da5a9;var _0x430c51,_0x3b8db5;(_0x430c51=this[_0x4dc7ab(0x50a)])==null||_0x430c51[_0x4dc7ab(0x44f)](),(_0x3b8db5=this[_0x4dc7ab(0x14d)])==null||_0x3b8db5[_0x4dc7ab(0x44f)](),_0x430412[_0x4dc7ab(0x35b)]();let _0x3fec1b=this[_0x4dc7ab(0x370)];if(_0x3fec1b&&this[_0x4dc7ab(0x51f)]){let _0xe3fabb=_0x3fec1b[_0x4dc7ab(0x36b)]||_0x3fec1b[_0x4dc7ab(0x47a)]||_0x3fec1b[_0x4dc7ab(0x535)]||_0x3fec1b[_0x4dc7ab(0x539)];if(_0xe3fabb!==void 0x0){let _0x49cde4=this[_0x4dc7ab(0x51f)][_0x4dc7ab(0x3f1)](_0xe3fabb);_0x49cde4!==void 0x0&&z(this[_0x4dc7ab(0x166)],_0x314f5e['unitId'],_0x314f5e['subUnitId'],_0x314f5e[_0x4dc7ab(0x576)],{'oldShapeData':{'adjustValues':_0x83626b}},{'adjustValues':{[_0xe3fabb]:_0x49cde4}});}}this[_0x4dc7ab(0x370)]=void 0x0,this[_0x4dc7ab(0x51f)]=void 0x0,this[_0x4dc7ab(0x53d)]=!0x1,_0x430412['enableObjectsEvent'](),_0x226089[_0x4dc7ab(0x228)]();}),_0x29236d[_0x5da5a9(0x228)]();})));}[_0x1edbb0(0x269)](){const _0x1c1a22=_0x1edbb0;let {scene:_0x2183f8}=this[_0x1c1a22(0x420)],_0x396f19=_0x2183f8[_0x1c1a22(0x4bc)]();this[_0x1c1a22(0x426)](_0x396f19[_0x1c1a22(0x424)][_0x1c1a22(0x4c6)](_0x2c0403=>{const _0xd63173=_0x1c1a22;this[_0xd63173(0x5af)](),_0x2c0403[_0xd63173(0x26c)]!==null&&_0x2c0403[_0xd63173(0x26c)][_0xd63173(0x448)]===0x1&&_0x2c0403[_0xd63173(0x26c)][_0xd63173(0x43c)]()['next']()[_0xd63173(0x52a)]instanceof H&&(this[_0xd63173(0x34a)]=!0x0);})),this[_0x1c1a22(0x426)](_0x396f19[_0x1c1a22(0x2c5)][_0x1c1a22(0x4c6)](()=>{const _0x3ab2dd=_0x1c1a22;this['_isShouldShowDrawingShapeAdjust']&&this[_0x3ab2dd(0x224)]();})),this[_0x1c1a22(0x426)](_0x2183f8[_0x1c1a22(0x3ec)][_0x1c1a22(0x329)](()=>{const _0xc2f80=_0x1c1a22;this[_0xc2f80(0x34a)]&&(this[_0xc2f80(0x34a)]=!0x1,this['_createShapeAdjustControls']());})),this['disposeWithMe'](_0x396f19[_0x1c1a22(0x5e6)][_0x1c1a22(0x4c6)](()=>{const _0x30101d=_0x1c1a22;this[_0x30101d(0x18c)]&&this[_0x30101d(0x1f1)]&&this[_0x30101d(0x4d5)]&&(this[_0x30101d(0x55e)]=this[_0x30101d(0x28e)](this[_0x30101d(0x18c)],this[_0x30101d(0x1f1)],this['_activeShapeId']),this['_updateAdjustControlPositions']());}));}['_registerDrawingFocusChangeHandler'](){const _0x9d8c48=_0x1edbb0;this[_0x9d8c48(0x426)](this[_0x9d8c48(0x1ea)]['focus$'][_0x9d8c48(0x4c6)](_0x5744f1=>{const _0x40ffb1=_0x9d8c48;if(_0x5744f1[_0x40ffb1(0x585)]===0x1){let _0xeb5d22=_0x5744f1[0x0],_0x319883=this[_0x40ffb1(0x1ea)][_0x40ffb1(0x211)](_0xeb5d22);if((_0x319883==null?void 0x0:_0x319883[_0x40ffb1(0x3e7)])===u[_0x40ffb1(0x51c)][_0x40ffb1(0x23f)]){this[_0x40ffb1(0x4d5)]=_0xeb5d22['drawingId'],this[_0x40ffb1(0x18c)]=_0xeb5d22['unitId'],this[_0x40ffb1(0x1f1)]=_0xeb5d22['subUnitId'],this[_0x40ffb1(0x55e)]=this[_0x40ffb1(0x28e)](_0xeb5d22[_0x40ffb1(0x5ab)],_0xeb5d22[_0x40ffb1(0x1d0)],_0xeb5d22[_0x40ffb1(0x576)]),this[_0x40ffb1(0x224)](),this[_0x40ffb1(0x5af)]();return;}}this['_activeShapeId']=null,this[_0x40ffb1(0x55e)]=void 0x0,this[_0x40ffb1(0x18c)]=null,this[_0x40ffb1(0x1f1)]=null,this[_0x40ffb1(0x224)]();})),this['disposeWithMe'](this['_drawingManagerService'][_0x9d8c48(0x174)]['subscribe'](_0x34a052=>{const _0x271f94=_0x9d8c48;if(_0x34a052[_0x271f94(0x585)]===0x1){var _0x56a80a;((_0x56a80a=this[_0x271f94(0x1ea)][_0x271f94(0x211)](_0x34a052[0x0]))==null?void 0x0:_0x56a80a[_0x271f94(0x3e7)])===u['DrawingTypeEnum']['DRAWING_SHAPE']&&this[_0x271f94(0x1ef)](!0x0);}})),this[_0x9d8c48(0x426)](this[_0x9d8c48(0x1ea)][_0x9d8c48(0x430)]['subscribe'](_0x1c2f36=>{const _0x55f056=_0x9d8c48;for(let _0x500bde of _0x1c2f36)this[_0x55f056(0x4d5)]===_0x500bde['drawingId']&&(this[_0x55f056(0x4d5)]=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x55f056(0x18c)]=null,this['_subUnitId']=null,this[_0x55f056(0x224)]());}));}};Fe=W([U(0x1,m['IDrawingManagerService']),U(0x2,(0x0,u['Inject'])(l['DocsShapeService'])),U(0x3,u[_0x1edbb0(0x15b)])],Fe);function Ie(_0x2c0eb0,_0x266343){const _0x2a12e6=_0x1edbb0;let _0x2b82cd=_0x2c0eb0;for(;_0x2b82cd;){if(_0x266343(_0x2b82cd))return _0x2b82cd;_0x2b82cd=typeof _0x2b82cd[_0x2a12e6(0x57f)]==_0x2a12e6(0x5ef)?_0x2b82cd[_0x2a12e6(0x57f)]():null;}return null;}function Le(_0x4e9b77){return Ie(_0x4e9b77,_0x4f4e48=>_0x4f4e48 instanceof H);}let Re=class extends u[_0x1edbb0(0x2bf)]{constructor(_0xf5be63,_0x5b936a,_0x28d688,_0x3fa476,_0x21dcc0){const _0x4e056e=_0x1edbb0;super(),this[_0x4e056e(0x420)]=_0xf5be63,this[_0x4e056e(0x208)]=_0x5b936a,this[_0x4e056e(0x1ea)]=_0x28d688,this['_contextService']=_0x3fa476,this[_0x4e056e(0x432)]=_0x21dcc0,L(this,_0x4e056e(0x32b),null),this[_0x4e056e(0x440)](),this[_0x4e056e(0x304)](),this['_initEditingParams']();}[_0x1edbb0(0x440)](){const _0x5ef0c5=_0x1edbb0;let {scene:_0x4a7803}=this[_0x5ef0c5(0x420)];this[_0x5ef0c5(0x426)](_0x4a7803[_0x5ef0c5(0x147)]['subscribeEvent'](_0x34e746=>{const _0x3b0dd3=_0x5ef0c5;var _0x90878b;let {offsetX:_0x3907fd,offsetY:_0x79cf50}=_0x34e746,_0x18f4e3=p[_0x3b0dd3(0x5ec)][_0x3b0dd3(0x532)]([_0x3907fd,_0x79cf50]),_0x5359fd=(_0x90878b=Le(_0x4a7803[_0x3b0dd3(0x47d)](_0x18f4e3)))==null?this[_0x3b0dd3(0x2e5)](_0x18f4e3):_0x90878b;if(_0x5359fd){if((0x0,c[_0x3b0dd3(0x22d)])(this[_0x3b0dd3(0x432)]['getShapeType'](_0x5359fd[_0x3b0dd3(0x5ab)],_0x5359fd[_0x3b0dd3(0x1d0)],_0x5359fd[_0x3b0dd3(0x49b)])))return;this[_0x3b0dd3(0x208)][_0x3b0dd3(0x470)]({'visible':!0x0,'unitId':_0x5359fd['unitId'],'subUnitId':_0x5359fd[_0x3b0dd3(0x1d0)],'shapeId':_0x5359fd[_0x3b0dd3(0x49b)],'shapeKey':_0x5359fd[_0x3b0dd3(0x56b)]});}}));}[_0x1edbb0(0x2e5)](_0x195568){const _0x367727=_0x1edbb0;let {scene:_0x256e59}=this['_context'],_0x19ac1f=this[_0x367727(0x1ea)][_0x367727(0x1cd)]()[_0x367727(0x582)](_0x40ac71=>_0x256e59[_0x367727(0x290)]((0x0,m[_0x367727(0x2fd)])(_0x40ac71)))[_0x367727(0x600)](_0x55df41=>_0x55df41 instanceof H&&_0x55df41[_0x367727(0x316)](_0x195568));return _0x19ac1f==null?null:_0x19ac1f;}[_0x1edbb0(0x304)](){const _0x43c81e=_0x1edbb0;this[_0x43c81e(0x426)](this[_0x43c81e(0x1ea)][_0x43c81e(0x129)][_0x43c81e(0x4c6)](_0x53eb88=>{const _0x105cbb=_0x43c81e;if(_0x53eb88[_0x105cbb(0x585)]===0x1){let _0x223fe9=_0x53eb88[0x0],_0xf63950=this[_0x105cbb(0x1ea)]['getDrawingByParam'](_0x223fe9);if((_0xf63950==null?void 0x0:_0xf63950[_0x105cbb(0x3e7)])===u['DrawingTypeEnum'][_0x105cbb(0x23f)]){let _0x20fbe9=this[_0x105cbb(0x208)]['getEditing']();if((_0x20fbe9==null?void 0x0:_0x20fbe9[_0x105cbb(0x49b)])===_0x223fe9['drawingId']&&_0x20fbe9[_0x105cbb(0x601)])return;(0x0,c[_0x105cbb(0x22d)])(this[_0x105cbb(0x432)][_0x105cbb(0x1d3)](_0x223fe9[_0x105cbb(0x5ab)],_0x223fe9[_0x105cbb(0x1d0)],_0x223fe9[_0x105cbb(0x576)]))&&this[_0x105cbb(0x208)][_0x105cbb(0x470)](null);}else this[_0x105cbb(0x208)][_0x105cbb(0x588)]()&&(this[_0x105cbb(0x208)][_0x105cbb(0x29d)](!0x0),requestAnimationFrame(()=>{this['_shapeTextEditingService']['setEditing'](null);}));}else this['_shapeTextEditingService']['getEditing']()&&(this[_0x105cbb(0x208)][_0x105cbb(0x29d)](!0x0),requestAnimationFrame(()=>{const _0xb9a5ea=_0x105cbb;this['_shapeTextEditingService'][_0xb9a5ea(0x470)](null);}));})),this['disposeWithMe'](this[_0x43c81e(0x1ea)][_0x43c81e(0x430)][_0x43c81e(0x4c6)](_0x5d9945=>{const _0x1ada54=_0x43c81e;let _0x1fcf5e=this[_0x1ada54(0x208)]['getEditing']();_0x1fcf5e&&_0x5d9945[_0x1ada54(0x4e8)](_0x3faccb=>_0x3faccb[_0x1ada54(0x576)]===_0x1fcf5e['shapeId'])&&this[_0x1ada54(0x208)]['setEditing'](null);}));}[_0x1edbb0(0x4de)](){const _0x507a23=_0x1edbb0;this['disposeWithMe'](this['_shapeTextEditingService'][_0x507a23(0x2a6)][_0x507a23(0x4c6)](_0x73d451=>{const _0x408d2f=_0x507a23;let {scene:_0x175310}=this['_context'];if(this[_0x408d2f(0x32b)]){let _0x1064a9=_0x175310[_0x408d2f(0x290)](this[_0x408d2f(0x32b)]);_0x1064a9&&_0x1064a9['setEditing'](!0x1);}if(_0x73d451){let _0x2724e9=!!_0x73d451['visible'],_0x4fd166=_0x175310[_0x408d2f(0x290)](_0x73d451[_0x408d2f(0x2c1)]);_0x4fd166&&(_0x4fd166['setEditing'](_0x2724e9),this['_lastEditingShapeKey']=_0x73d451[_0x408d2f(0x2c1)]),this['_contextService'][_0x408d2f(0x54d)](u[_0x408d2f(0x37f)],_0x2724e9);}else this[_0x408d2f(0x32b)]=null,this[_0x408d2f(0x593)][_0x408d2f(0x54d)](u[_0x408d2f(0x37f)],!0x1);}));}};Re=W([U(0x1,(0x0,u[_0x1edbb0(0x1ac)])(R)),U(0x2,m[_0x1edbb0(0x2ff)]),U(0x3,u[_0x1edbb0(0x1ed)]),U(0x4,(0x0,u[_0x1edbb0(0x1ac)])(l[_0x1edbb0(0x4b2)]))],Re);const ze=[f[_0x1edbb0(0x389)],f['SetInlineFormatFontSizeCommand']['id'],f[_0x1edbb0(0x245)]['id'],f['SetInlineFormatItalicCommand']['id'],f[_0x1edbb0(0x598)]['id'],f[_0x1edbb0(0x330)]['id'],f[_0x1edbb0(0x45d)]['id'],f[_0x1edbb0(0x41e)]['id'],f[_0x1edbb0(0x36d)]['id'],f[_0x1edbb0(0x369)]['id']];function Be(){const _0x3caf25=_0x1edbb0;let _0x199ae=(0x0,g[_0x3caf25(0x1e6)])(g[_0x3caf25(0x5e2)]),[_0x80cd37,_0x4634f0]=(0x0,y[_0x3caf25(0x25d)])([]);return(0x0,y[_0x3caf25(0x4c8)])(()=>{const _0x19aee8=_0x3caf25;function _0x8ac78f(){const _0x1232ea=_0xacee;let _0x186d21=[..._0x199ae[_0x1232ea(0x38e)](f['FLOAT_TOOLBAR_MENU_POSITION']),..._0x199ae[_0x1232ea(0x38e)](g[_0x1232ea(0x3dd)]['RIBBON'])];_0x4634f0(ze['map'](_0x37e5e4=>_0x186d21[_0x1232ea(0x600)](_0x1159b8=>_0x1159b8[_0x1232ea(0x449)]===_0x37e5e4))['filter'](_0x14c49f=>!!(_0x14c49f!=null&&_0x14c49f[_0x1232ea(0x2b7)])));}_0x8ac78f();let _0x15fd6a=_0x199ae[_0x19aee8(0x2ba)][_0x19aee8(0x4c6)](_0x8ac78f);return()=>_0x15fd6a['unsubscribe']();},[_0x199ae]),(0x0,x['jsx'])(_0x3caf25(0x2e9),{'className':(0x0,v[_0x3caf25(0x1ff)])(_0x3caf25(0x59d),v[_0x3caf25(0x180)]),'children':_0x80cd37[_0x3caf25(0x582)](_0x1e4297=>_0x1e4297[_0x3caf25(0x2b7)]&&(0x0,x[_0x3caf25(0x324)])(_0x3caf25(0x2e9),{'className':_0x3caf25(0x45b),'children':(0x0,x['jsx'])(g['ToolbarItem'],{..._0x1e4297[_0x3caf25(0x2b7)]},_0x1e4297[_0x3caf25(0x449)])},_0x1e4297[_0x3caf25(0x449)]))});}const Ve=_0x1edbb0(0x5dd);function He(_0x57a4d8,_0x4719b3){const _0x31e5db=_0x1edbb0;if(_0x57a4d8==null||_0x4719b3==null)return!0x1;let {glyph:_0x244a6b,..._0x2133c6}=_0x57a4d8,{glyph:_0x27f4e3,..._0x58d403}=_0x4719b3;return(0x0,u[_0x31e5db(0x5a2)])(_0x2133c6,_0x58d403);}let Ue=class extends u[_0x1edbb0(0x2bf)]{constructor(_0x6afb1e,_0x1ab76e,_0x57cfc6,_0x2aaeb4,_0x33226b){const _0x4f649d=_0x1edbb0;super(),this[_0x4f649d(0x420)]=_0x6afb1e,this['_docSelectionManagerService']=_0x1ab76e,this['_docCanvasPopManagerService']=_0x57cfc6,this[_0x4f649d(0x39c)]=_0x2aaeb4,this[_0x4f649d(0x5b2)]=_0x33226b,L(this,_0x4f649d(0x3d6),null),this[_0x4f649d(0x420)][_0x4f649d(0x5ab)]===P&&(this['disposeWithMe'](this[_0x4f649d(0x39c)][_0x4f649d(0x271)](Ve,Be)),this[_0x4f649d(0x186)](),this[_0x4f649d(0x426)](()=>this['_hideFloatMenu']()));}['_initSelectionChange'](){const _0x5ec358=_0x1edbb0;this[_0x5ec358(0x426)](this[_0x5ec358(0x5b2)]['onSelectionStart$'][_0x5ec358(0x4c6)](()=>{const _0x287d12=_0x5ec358;this[_0x287d12(0x149)]();})),this[_0x5ec358(0x426)](this[_0x5ec358(0x226)]['textSelection$']['subscribe'](_0x38471a=>{const _0x10db40=_0x5ec358;var _0x377701,_0x5811f2;let {unitId:_0x31f426,textRanges:_0x1c0ae7}=_0x38471a;if(_0x31f426!==this['_context']['unitId'])return;let _0x40c623=_0x1c0ae7['find'](_0x5df1f0=>!_0x5df1f0[_0x10db40(0x29f)]);if(!_0x40c623){this[_0x10db40(0x149)]();return;}_0x40c623[_0x10db40(0x214)]===((_0x377701=this[_0x10db40(0x3d6)])==null?void 0x0:_0x377701[_0x10db40(0x42c)])&&_0x40c623[_0x10db40(0x560)]===((_0x5811f2=this[_0x10db40(0x3d6)])==null?void 0x0:_0x5811f2['end'])||(this[_0x10db40(0x149)](),this[_0x10db40(0x4f2)](_0x31f426,_0x40c623));}));}['_hideFloatMenu'](){const _0x1740b7=_0x1edbb0;var _0x55934f;(_0x55934f=this[_0x1740b7(0x3d6)])==null||_0x55934f[_0x1740b7(0x61c)][_0x1740b7(0x381)](),this[_0x1740b7(0x3d6)]=null;}[_0x1edbb0(0x4f2)](_0xe07878,_0x2f8e62){const _0x1cbdf6=_0x1edbb0;this['_floatMenu']={'disposable':this['_docCanvasPopManagerService']['attachPopupToRange'](_0x2f8e62,{'componentKey':Ve,'direction':_0x2f8e62[_0x1cbdf6(0x5d4)]===_0x1cbdf6(0x181)||He(_0x2f8e62[_0x1cbdf6(0x1c9)],_0x2f8e62[_0x1cbdf6(0x479)])?_0x1cbdf6(0x508):'bottom-center','offset':[0x0,0x4]},_0xe07878),'start':_0x2f8e62['startOffset'],'end':_0x2f8e62['endOffset']};}};Ue=W([U(0x1,(0x0,u[_0x1edbb0(0x1ac)])(C['DocSelectionManagerService'])),U(0x2,(0x0,u['Inject'])(f[_0x1edbb0(0x1dc)])),U(0x3,(0x0,u['Inject'])(g['ComponentManager'])),U(0x4,(0x0,u[_0x1edbb0(0x1ac)])(f[_0x1edbb0(0x124)]))],Ue);function We(_0x38b27a,_0x105219){const _0x12a7d2=_0x1edbb0;return{'top':0x0,'left':0x0,'width':_0x38b27a,'height':_0x105219,'borderColor':_0x12a7d2(0x511),'outlineColor':_0x12a7d2(0x511),'backgroundColor':_0x12a7d2(0x511)};}function Ge(_0x696561){const _0xe5a356=_0x1edbb0;var _0x4a27dc,_0x397111;let _0x3bdd59=_0x696561==null||(_0x4a27dc=_0x696561['engine'])==null||(_0x397111=_0x4a27dc[_0xe5a356(0x323)])==null?void 0x0:_0x397111[_0xe5a356(0x40d)](_0x4a27dc);_0x3bdd59&&(_0x3bdd59[_0xe5a356(0x49a)][_0xe5a356(0x2e0)]=_0xe5a356(0x511));}function Ke(_0x59d400){const _0x510c60=_0x1edbb0;let _0x4635f8=g[_0x510c60(0x4f9)][_0x510c60(0x19f)],_0x2696a3=g[_0x510c60(0x4f9)]['CTRL_COMMAND']|g['MetaKeys']['SHIFT'];return{'keyCodes':[{'keyCode':g['KeyCode'][_0x510c60(0x452)]},{'keyCode':g[_0x510c60(0x397)][_0x510c60(0x2b9)]},{'keyCode':g[_0x510c60(0x397)][_0x510c60(0x537)]},{'keyCode':g[_0x510c60(0x397)]['A'],'metaKey':_0x4635f8},{'keyCode':g[_0x510c60(0x397)]['B'],'metaKey':_0x4635f8},{'keyCode':g['KeyCode']['I'],'metaKey':_0x4635f8},{'keyCode':g[_0x510c60(0x397)]['U'],'metaKey':_0x4635f8},{'keyCode':g[_0x510c60(0x397)]['X'],'metaKey':_0x2696a3},{'keyCode':g[_0x510c60(0x397)][_0x510c60(0x154)],'metaKey':_0x4635f8},{'keyCode':g[_0x510c60(0x397)][_0x510c60(0x5c8)],'metaKey':_0x4635f8},{'keyCode':g['KeyCode']['L'],'metaKey':_0x2696a3},{'keyCode':g[_0x510c60(0x397)]['R'],'metaKey':_0x2696a3},{'keyCode':g[_0x510c60(0x397)]['E'],'metaKey':_0x2696a3},{'keyCode':g[_0x510c60(0x397)]['J'],'metaKey':_0x2696a3},{'keyCode':g['KeyCode'][_0x510c60(0x3b7)],'metaKey':_0x2696a3},{'keyCode':g['KeyCode'][_0x510c60(0x217)],'metaKey':_0x2696a3},{'keyCode':g['KeyCode']['Z'],'metaKey':_0x4635f8},{'keyCode':g[_0x510c60(0x397)]['Y'],'metaKey':_0x4635f8},{'keyCode':g[_0x510c60(0x397)]['Z'],'metaKey':_0x2696a3}],'handler':(_0x1dbdac,_0x52ab7e)=>{const _0x35ecff=_0x510c60;switch(_0x1dbdac+':'+(_0x52ab7e==null?0x0:_0x52ab7e)){case g[_0x35ecff(0x397)][_0x35ecff(0x452)]+':0':_0x59d400[_0x35ecff(0x1ce)](f[_0x35ecff(0x137)]['id']);break;case g[_0x35ecff(0x397)][_0x35ecff(0x2b9)]+':0':_0x59d400['executeCommand'](f['DeleteLeftCommand']['id']);break;case g[_0x35ecff(0x397)][_0x35ecff(0x537)]+':0':_0x59d400['executeCommand'](f[_0x35ecff(0x402)]['id']);break;case g['KeyCode']['A']+':'+_0x4635f8:_0x59d400[_0x35ecff(0x1ce)](f[_0x35ecff(0x1e3)]['id']);break;case g[_0x35ecff(0x397)]['B']+':'+_0x4635f8:_0x59d400['executeCommand'](f[_0x35ecff(0x245)]['id']);break;case g[_0x35ecff(0x397)]['I']+':'+_0x4635f8:_0x59d400[_0x35ecff(0x1ce)](f[_0x35ecff(0x571)]['id']);break;case g[_0x35ecff(0x397)]['U']+':'+_0x4635f8:_0x59d400[_0x35ecff(0x1ce)](f[_0x35ecff(0x598)]['id']);break;case g[_0x35ecff(0x397)]['X']+':'+_0x2696a3:_0x59d400[_0x35ecff(0x1ce)](f[_0x35ecff(0x330)]['id']);break;case g[_0x35ecff(0x397)][_0x35ecff(0x154)]+':'+_0x4635f8:_0x59d400[_0x35ecff(0x1ce)](f['SetInlineFormatSubscriptCommand']['id']);break;case g['KeyCode'][_0x35ecff(0x5c8)]+':'+_0x4635f8:_0x59d400[_0x35ecff(0x1ce)](f[_0x35ecff(0x41e)]['id']);break;case g[_0x35ecff(0x397)]['L']+':'+_0x2696a3:_0x59d400[_0x35ecff(0x1ce)](f[_0x35ecff(0x47f)]['id']);break;case g[_0x35ecff(0x397)]['R']+':'+_0x2696a3:_0x59d400[_0x35ecff(0x1ce)](f[_0x35ecff(0x3ac)]['id']);break;case g['KeyCode']['E']+':'+_0x2696a3:_0x59d400[_0x35ecff(0x1ce)](f[_0x35ecff(0x2e3)]['id']);break;case g[_0x35ecff(0x397)]['J']+':'+_0x2696a3:_0x59d400[_0x35ecff(0x1ce)](f['AlignJustifyCommand']['id']);break;case g['KeyCode'][_0x35ecff(0x3b7)]+':'+_0x2696a3:_0x59d400[_0x35ecff(0x1ce)](f[_0x35ecff(0x343)]['id']);break;case g[_0x35ecff(0x397)][_0x35ecff(0x217)]+':'+_0x2696a3:_0x59d400[_0x35ecff(0x1ce)](f['BulletListCommand']['id']);break;case g[_0x35ecff(0x397)]['Z']+':'+_0x4635f8:_0x59d400[_0x35ecff(0x1ce)](u[_0x35ecff(0x4b9)]['id']);break;case g[_0x35ecff(0x397)]['Y']+':'+_0x4635f8:case g[_0x35ecff(0x397)]['Z']+':'+_0x2696a3:_0x59d400[_0x35ecff(0x1ce)](u['RedoCommand']['id']);break;}}};}const qe=function(_0x4b6aa6){const _0x11f08c=_0x1edbb0;let {containerWidth:_0xedfe00,containerHeight:_0x45d4b6,scaleX:_0xd9f1f2,scaleY:_0x17dae8}=_0x4b6aa6,_0x234db2=_0xd9f1f2||0x1,_0x22a17c=_0x17dae8||0x1,_0x58091d=(0x0,g[_0x11f08c(0x1e6)])(R),_0x2b671a=(0x0,g[_0x11f08c(0x1e6)])(f['IEditorService']),_0x5ab05c=(0x0,g['useDependency'])(p[_0x11f08c(0x3ce)]),_0x378be9=(0x0,g[_0x11f08c(0x1e6)])(u[_0x11f08c(0x2eb)]),_0x4eb338=(0x0,g[_0x11f08c(0x1e6)])(m[_0x11f08c(0x2ff)]),_0x5d2591=(0x0,g[_0x11f08c(0x1e6)])(l[_0x11f08c(0x4b2)]),_0x3f5b7b=(0x0,g[_0x11f08c(0x1e6)])(u[_0x11f08c(0x15b)]),_0x4adfd8=(0x0,g['useObservable'])(_0x58091d['editingParams$']),_0x57abd6=(0x0,g[_0x11f08c(0x47e)])(_0x58091d['onSavingEditorData$']),_0x8c85a7=(0x0,y[_0x11f08c(0x604)])(null),_0x488328=(0x0,y[_0x11f08c(0x604)])(null),_0x474142=(0x0,y[_0x11f08c(0x604)])(null),_0x921eef=(0x0,y[_0x11f08c(0x604)])(null),_0x4be0f4=(0x0,y['useRef'])(null),_0x3c9333=(0x0,y['useRef'])(null),[,_0x31f212]=(0x0,y[_0x11f08c(0x25d)])({'editorHeight':_0x45d4b6,'marginTop':0x0,'useAbsolutePosition':!0x1}),_0x328441=(0x0,y[_0x11f08c(0x57a)])(_0x3690db=>{queueMicrotask(()=>{_0x31f212(_0x3690db);});},[]),_0x32c195=(0x0,y[_0x11f08c(0x57a)])(()=>_0x378be9[_0x11f08c(0x477)](P,u[_0x11f08c(0x1bf)][_0x11f08c(0x16a)]),[_0x378be9]),_0x58edb0=(0x0,y[_0x11f08c(0x57a)])(()=>{const _0x7eb1fa=_0x11f08c;var _0xa60eba;let _0x1459cc=_0x234db2,_0x7d8587=_0x22a17c;if(!_0x4adfd8)return{'scaleAdjust':0x1,'renderScaleX':_0x1459cc,'renderScaleY':_0x7d8587};let _0x1fd9ec=_0x5ab05c[_0x7eb1fa(0x386)](_0x4adfd8[_0x7eb1fa(0x5ab)]),_0x5b8def=_0x1fd9ec==null?void 0x0:_0x1fd9ec[_0x7eb1fa(0x546)][_0x7eb1fa(0x3f4)](),_0x46755c=_0x1fd9ec==null?void 0x0:_0x1fd9ec[_0x7eb1fa(0x4ff)]['getCanvasElement'](),_0x352e86=_0x46755c?Number['parseFloat'](_0x46755c[_0x7eb1fa(0x49a)][_0x7eb1fa(0x627)]||''):0x0,_0x57d981=(_0xa60eba=_0x46755c==null?void 0x0:_0x46755c['getBoundingClientRect']()[_0x7eb1fa(0x627)])==null?0x0:_0xa60eba,_0x5611fc=_0x352e86>0x0&&_0x57d981>0x0?_0x57d981/_0x352e86:0x1;return{'scaleAdjust':Number[_0x7eb1fa(0x55b)](_0x5611fc)&&_0x5611fc>0x0?_0x5611fc:0x1,'renderScaleX':(_0x5b8def==null?void 0x0:_0x5b8def[_0x7eb1fa(0x372)])||_0x1459cc,'renderScaleY':(_0x5b8def==null?void 0x0:_0x5b8def[_0x7eb1fa(0x4a7)])||_0x7d8587};},[_0x234db2,_0x22a17c,_0x4adfd8,_0x5ab05c]),_0x3102a2=(0x0,y[_0x11f08c(0x57a)])(()=>{const _0x4de59c=_0x11f08c;if(!_0x4adfd8)return{'left':0x0,'top':0x0,'width':_0xedfe00/_0x234db2,'height':_0x45d4b6/_0x22a17c};let {unitId:_0x490cb0,subUnitId:_0x39866c,shapeId:_0x39b607}=_0x4adfd8,_0x2d3f63=_0x5d2591[_0x4de59c(0x26d)](_0x490cb0,_0x39866c,_0x39b607);if(!_0x2d3f63)return{'left':0x0,'top':0x0,'width':_0xedfe00/_0x234db2,'height':_0x45d4b6/_0x22a17c};let _0x2b5d8e={'left':0x0,'top':0x0,'width':_0xedfe00/_0x234db2,'height':_0x45d4b6/_0x22a17c};return _0x2d3f63[_0x4de59c(0x29c)](_0x2b5d8e);},[_0x4adfd8,_0xedfe00,_0x45d4b6,_0x234db2,_0x22a17c,_0x5d2591]),_0x5dc803=(0x0,y[_0x11f08c(0x57a)])(()=>{const _0x160e9c=_0x11f08c;if(!_0x4adfd8)return null;let {unitId:_0x64dc57,subUnitId:_0x14bed0,shapeId:_0x5b9ee0}=_0x4adfd8,_0x12f76f=_0x5d2591[_0x160e9c(0x26d)](_0x64dc57,_0x14bed0,_0x5b9ee0);if(!_0x12f76f)return null;let _0xceea23=_0x12f76f['getShapeTextData']();if(!_0xceea23)return null;let _0x27fac6={'unitId':_0x64dc57,'subUnitId':_0x14bed0,'drawingId':_0x5b9ee0},_0x585846=_0x4eb338['getDrawingByParam'](_0x27fac6),_0x5939b9={'angle':0x0,'flipX':!0x1,'flipY':!0x1};_0x585846&&_0x585846[_0x160e9c(0x121)]&&(_0x5939b9=_0x585846[_0x160e9c(0x121)]);let _0x1e2a74={'left':0x0,'top':0x0,'width':_0xedfe00/_0x234db2,'height':_0x45d4b6/_0x22a17c},_0x48f355=_0x12f76f[_0x160e9c(0x29c)](_0x1e2a74),_0x21aff7,_0x1c2bce=u[_0x160e9c(0x22a)][_0x160e9c(0x5c0)],_0x338987=u[_0x160e9c(0x3fb)][_0x160e9c(0x3bd)];if(_0x160e9c(0x3c7)in _0xceea23&&_0xceea23['dataModel']){var _0x1e87ae,_0x21c0ec;let _0x4fff7c=_0xceea23[_0x160e9c(0x3c7)];_0x4fff7c!=null&&_0x4fff7c['doc']&&(_0x21aff7=_0x4fff7c[_0x160e9c(0x2d4)]),_0x1c2bce=(_0x1e87ae=_0x4fff7c==null?void 0x0:_0x4fff7c['va'])==null?u[_0x160e9c(0x22a)][_0x160e9c(0x5c0)]:_0x1e87ae,_0x338987=(_0x21c0ec=_0x4fff7c==null?void 0x0:_0x4fff7c['ha'])==null?u[_0x160e9c(0x3fb)][_0x160e9c(0x3bd)]:_0x21c0ec;}return{'doc':_0x21aff7,'verticalAlign':_0x1c2bce,'horizontalAlign':_0x338987,'textRect':_0x48f355,'transform':_0x5939b9,'isHorizontal':_0xceea23[_0x160e9c(0x32f)]};},[_0x4adfd8,_0x5d2591,_0x4eb338,_0xedfe00,_0x45d4b6,_0x234db2,_0x22a17c]),_0x29d783=(0x0,y['useMemo'])(()=>{const _0x1f51bb=_0x11f08c;let _0x43adb9=_0x5dc803();return _0x43adb9!=null&&_0x43adb9['doc']?V(_0x43adb9[_0x1f51bb(0x2d4)],{'isHorizontal':!0x0,'textRect':_0x43adb9['textRect'],'verticalAlign':_0x43adb9[_0x1f51bb(0x205)],'horizontalAlign':_0x43adb9[_0x1f51bb(0x41a)]}):{'id':P,'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0}]},'documentStyle':{'pageSize':{'width':_0xedfe00/_0x234db2,'height':0x1/0x0}}};},[_0x5dc803,_0xedfe00,_0x234db2]),_0xcce05a=(0x0,f['useEditor'])({'editorId':P,'initialValue':_0x29d783,'container':_0x488328,'autoFocus':!0x1,'canvasStyle':{'backgroundColor':_0x11f08c(0x511)},'isSingle':!0x1});(0x0,y[_0x11f08c(0x4c8)])(()=>{const _0x1d9460=_0x11f08c;_0xcce05a&&Ge(_0x5ab05c[_0x1d9460(0x386)](P));},[_0xcce05a,_0x5ab05c]);let _0x3c2662=(0x0,f[_0x11f08c(0x3af)])(P);(0x0,f[_0x11f08c(0x1f2)])(_0x3c2662,(0x0,y[_0x11f08c(0x4ae)])(()=>Ke(_0x3f5b7b),[_0x3f5b7b]),_0xcce05a),(0x0,f[_0x11f08c(0x237)])(_0x3c2662,!0x1,_0xcce05a);let _0x1ee8a5=(0x0,y[_0x11f08c(0x57a)])((_0x19a888=!0x0)=>{const _0x325e12=_0x11f08c;var _0x5c3ed3,_0xe9de8e,_0x4fcd41;if(!_0xcce05a)return;let _0x18d6c0=_0xcce05a['getSelectionRanges']()[_0x325e12(0x600)](_0x174233=>_0x174233[_0x325e12(0x29f)]),_0x69da8b=((_0x5c3ed3=(_0xe9de8e=_0xcce05a[_0x325e12(0x4d8)]()[_0x325e12(0x5e1)])==null?void 0x0:_0xe9de8e['dataStream'][_0x325e12(0x585)])==null?0x2:_0x5c3ed3)-0x2,_0x5c38c7=(_0x4fcd41=_0x18d6c0==null?void 0x0:_0x18d6c0[_0x325e12(0x214)])==null?_0x19a888?_0x69da8b:null:_0x4fcd41;_0x5c38c7!==null&&_0xcce05a['setSelectionRanges']([{'startOffset':_0x5c38c7,'endOffset':_0x5c38c7}],!0x1);},[_0xcce05a]),_0x34db35=(0x0,y[_0x11f08c(0x57a)])(()=>{const _0x4c5315=_0x11f08c;_0x4be0f4['current']!==null&&(cancelAnimationFrame(_0x4be0f4['current']),_0x4be0f4[_0x4c5315(0x288)]=null),_0x3c9333['current']!==null&&(window['clearTimeout'](_0x3c9333[_0x4c5315(0x288)]),_0x3c9333[_0x4c5315(0x288)]=null);},[]),_0x5795b8=(0x0,y['useCallback'])(()=>{const _0x13585a=_0x11f08c;var _0x374ebf,_0x34592f,_0x1ca324;if(!_0xcce05a)return;let _0x4de295=_0x5ab05c[_0x13585a(0x386)](P),_0x42f6d7=_0x4de295==null?void 0x0:_0x4de295['with'](C[_0x13585a(0x52d)]);if(!_0x42f6d7)return;let _0xb94787=_0x42f6d7[_0x13585a(0x465)](),_0x57efed=_0x32c195(),{renderScaleX:_0x57a14d,renderScaleY:_0x4fdbc7,scaleAdjust:_0x1b07c3}=_0x58edb0(),_0x175043=_0x5dc803(),_0x174dbf=(_0x374ebf=_0x175043==null?void 0x0:_0x175043[_0x13585a(0x205)])==null?u['VerticalAlign'][_0x13585a(0x5c0)]:_0x374ebf,_0x11089f=(_0x34592f=_0x175043==null?void 0x0:_0x175043[_0x13585a(0x41a)])==null?u[_0x13585a(0x3fb)][_0x13585a(0x3bd)]:_0x34592f,_0x1ae889=(_0x1ca324=_0x3102a2())==null?{'left':0x0,'top':0x0,'width':_0xedfe00/_0x234db2,'height':_0x45d4b6/_0x22a17c}:_0x1ca324,_0x126044=_0xedfe00/_0x234db2,_0x12dfb8=_0x45d4b6/_0x22a17c;_0x57efed&&(_0x57efed[_0x13585a(0x297)](Math[_0x13585a(0x44e)](_0x57a14d,_0x4fdbc7)),_0x57efed['updateDocumentStyle']({'marginLeft':0x0,'marginRight':0x0,'marginBottom':0x0,'pageSize':{'width':_0x1ae889[_0x13585a(0x627)],'height':0x1/0x0}}),_0x57efed[_0x13585a(0x499)]({'verticalAlign':_0x174dbf,'horizontalAlign':_0x11089f,'centerAngle':0x0,'vertexAngle':0x0,'wrapStrategy':u['WrapStrategy'][_0x13585a(0x142)]})),_0xb94787[_0x13585a(0x3de)]();let {actualHeight:_0x3014b5}=_0xb94787['getActualSize'](),_0x401bab=_0x1ae889[_0x13585a(0x4b0)],_0x533945=0x0;if(_0x3014b5<=_0x401bab)_0x174dbf===u[_0x13585a(0x22a)][_0x13585a(0x5c1)]?_0x533945=(_0x401bab-_0x3014b5)/0x2:_0x174dbf===u[_0x13585a(0x22a)][_0x13585a(0x5aa)]&&(_0x533945=_0x401bab-_0x3014b5),_0x328441({'editorHeight':_0x1ae889[_0x13585a(0x4b0)]*_0x22a17c,'marginTop':0x0,'useAbsolutePosition':!0x1});else{let _0x3bb4f8=0x0;_0x174dbf===u[_0x13585a(0x22a)][_0x13585a(0x5c1)]?_0x3bb4f8=(_0x401bab-_0x3014b5)/0x2:_0x174dbf===u[_0x13585a(0x22a)][_0x13585a(0x5aa)]&&(_0x3bb4f8=_0x401bab-_0x3014b5),_0x533945=0x0,_0x328441({'editorHeight':_0x3014b5*_0x22a17c,'marginTop':_0x3bb4f8*_0x22a17c,'useAbsolutePosition':!0x0});}if(_0x57efed){let _0x56c314=Math[_0x13585a(0x44e)](0x0,_0x1ae889[_0x13585a(0x280)]),_0x4cac5f=Math[_0x13585a(0x44e)](0x0,_0x1ae889['top']+_0x533945);_0x57efed[_0x13585a(0x579)]({'marginLeft':_0x56c314,'marginRight':Math['max'](0x0,_0x126044-_0x1ae889[_0x13585a(0x280)]-_0x1ae889[_0x13585a(0x627)]),'marginBottom':Math[_0x13585a(0x44e)](0x0,_0x12dfb8-_0x1ae889[_0x13585a(0x153)]-_0x1ae889[_0x13585a(0x4b0)]),'pageSize':{'width':_0x126044,'height':_0x12dfb8}}),_0x57efed['updateDocumentDataMargin']({'t':_0x4cac5f}),_0xb94787[_0x13585a(0x3de)]();}if(_0x4de295){let _0x53147b=_0xedfe00,_0x5ab181=_0x45d4b6;_0x4de295[_0x13585a(0x546)][_0x13585a(0x5ca)]({'width':_0x53147b*_0x1b07c3/_0x57a14d,'height':_0x5ab181*_0x1b07c3/_0x4fdbc7,'scaleX':_0x57a14d*_0x1b07c3,'scaleY':_0x4fdbc7*_0x1b07c3}),_0x4de295['mainComponent']&&_0x4de295[_0x13585a(0x5d6)]['resize'](_0x53147b*_0x1b07c3/_0x57a14d,_0x5ab181*_0x1b07c3/_0x4fdbc7);}},[_0xcce05a,_0x5ab05c,_0x32c195,_0x58edb0,_0x5dc803,_0x3102a2,_0xedfe00,_0x45d4b6,_0x234db2,_0x22a17c,_0x328441]),_0x1e659d=(0x0,y[_0x11f08c(0x57a)])((_0x2a8713=!0x1)=>{const _0xf126fd=_0x11f08c;_0x34db35(),_0x4be0f4[_0xf126fd(0x288)]=requestAnimationFrame(()=>{const _0x5ea90d=_0xf126fd;_0x5795b8(),_0x2a8713&&_0x1ee8a5(!0x1),_0x4be0f4[_0x5ea90d(0x288)]=null,_0x3c9333[_0x5ea90d(0x288)]=window['setTimeout'](()=>{_0x5795b8(),_0x2a8713&&_0x1ee8a5(!0x1),_0x3c9333['current']=null;},0x14);});},[_0x5795b8,_0x34db35,_0x1ee8a5]);(0x0,y['useEffect'])(()=>{const _0x1733c5=_0x11f08c;if(!_0xcce05a||!_0x4adfd8)return;let {shapeId:_0x340d22,unitId:_0x192a5c}=_0x4adfd8;if(_0x57abd6){var _0x14451b,_0x468f8a,_0x58210f,_0x3542fb;let _0x5a08b8=te(_0xcce05a[_0x1733c5(0x4d8)]()),_0x2c095e=_0x5dc803(),_0x511699={'va':(_0x14451b=_0x2c095e==null?void 0x0:_0x2c095e[_0x1733c5(0x205)])==null?u[_0x1733c5(0x22a)][_0x1733c5(0x5c0)]:_0x14451b,'ha':(_0x468f8a=_0x2c095e==null?void 0x0:_0x2c095e[_0x1733c5(0x41a)])==null?u[_0x1733c5(0x3fb)][_0x1733c5(0x3bd)]:_0x468f8a,'doc':_0x5a08b8};_0x3f5b7b[_0x1733c5(0x1ce)](l[_0x1733c5(0x62f)]['id'],{'unitId':_0x192a5c,'shapeId':_0x340d22,'shapeData':{'shapeText':{'isHorizontal':(_0x58210f=_0x2c095e==null?void 0x0:_0x2c095e[_0x1733c5(0x32f)])==null?!0x0:_0x58210f,'dataModel':_0x511699}},'oldShapeJSON':{'oldShapeData':{'shapeText':{'isHorizontal':(_0x3542fb=_0x2c095e==null?void 0x0:_0x2c095e[_0x1733c5(0x32f)])==null?!0x0:_0x3542fb,'dataModel':_0x474142['current']}}}});return;}let _0x5bc4ef=_0x5dc803();if(_0x5bc4ef!=null&&_0x5bc4ef[_0x1733c5(0x2d4)]){_0x474142[_0x1733c5(0x288)]={'va':_0x5bc4ef[_0x1733c5(0x205)],'ha':_0x5bc4ef[_0x1733c5(0x41a)],'doc':u[_0x1733c5(0x49e)][_0x1733c5(0x50f)](_0x5bc4ef[_0x1733c5(0x2d4)])};let _0x304e5c=V(_0x5bc4ef[_0x1733c5(0x2d4)],{'isHorizontal':!0x0,'textRect':_0x5bc4ef[_0x1733c5(0x53e)],'verticalAlign':_0x5bc4ef[_0x1733c5(0x205)],'horizontalAlign':_0x5bc4ef[_0x1733c5(0x41a)]});return _0xcce05a['setDocumentData'](_0x304e5c,null),()=>{const _0x95514d=_0x1733c5;var _0x2e4dc1,_0x259ef0,_0x58e86a,_0x532daa;let _0x20c48e=te(_0xcce05a[_0x95514d(0x4d8)]()),_0x1bd8af=_0x5dc803(),_0x419efa={'va':(_0x2e4dc1=_0x1bd8af==null?void 0x0:_0x1bd8af[_0x95514d(0x205)])==null?u[_0x95514d(0x22a)][_0x95514d(0x5c0)]:_0x2e4dc1,'ha':(_0x259ef0=_0x1bd8af==null?void 0x0:_0x1bd8af[_0x95514d(0x41a)])==null?u[_0x95514d(0x3fb)][_0x95514d(0x3bd)]:_0x259ef0,'doc':_0x20c48e};_0x3f5b7b['executeCommand'](l[_0x95514d(0x62f)]['id'],{'unitId':_0x192a5c,'shapeId':_0x340d22,'shapeData':{'shapeText':{'isHorizontal':(_0x58e86a=_0x1bd8af==null?void 0x0:_0x1bd8af[_0x95514d(0x32f)])==null?!0x0:_0x58e86a,'dataModel':_0x419efa}},'oldShapeJSON':{'oldShapeData':{'shapeText':{'isHorizontal':(_0x532daa=_0x1bd8af==null?void 0x0:_0x1bd8af['isHorizontal'])==null?!0x0:_0x532daa,'dataModel':_0x474142[_0x95514d(0x288)]}}}});};}else _0xcce05a[_0x1733c5(0x586)](_0x29d783,null);},[_0xcce05a,_0x4adfd8,_0x57abd6]),(0x0,y[_0x11f08c(0x4c8)])(()=>{const _0x2ec28d=_0x11f08c;if(!(!_0xcce05a||!_0x4adfd8))return _0x2b671a[_0x2ec28d(0x5ac)](!0x0),_0x5795b8(),_0x921eef['current']=requestAnimationFrame(()=>{const _0x252db1=_0x2ec28d;_0x2b671a[_0x252db1(0x419)](P),_0x1ee8a5(),_0x1e659d(),_0x921eef['current']=null;}),()=>{const _0x18fb8a=_0x2ec28d;_0x921eef[_0x18fb8a(0x288)]!==null&&(cancelAnimationFrame(_0x921eef['current']),_0x921eef[_0x18fb8a(0x288)]=null),_0x34db35(),_0x2b671a['blur'](!0x0);};},[_0xcce05a,_0x4adfd8,_0x2b671a,_0x5795b8,_0x1ee8a5,_0x1e659d,_0x34db35]),(0x0,y[_0x11f08c(0x4c8)])(()=>{if(!_0xcce05a)return;let _0xa3110f=_0x3f5b7b['onCommandExecuted'](_0x363b42=>{const _0x2a5455=_0xacee;_0x363b42['id']===C['RichTextEditingMutation']['id']&&_0x363b42['params'][_0x2a5455(0x5ab)]===P&&_0x4adfd8&&(_0x4adfd8[_0x2a5455(0x601)]?_0x5795b8():_0x58091d[_0x2a5455(0x470)]({..._0x4adfd8,'visible':!0x0}));});return()=>{const _0x1faff3=_0xacee;_0xa3110f[_0x1faff3(0x381)]();};},[_0xcce05a,_0x5795b8,_0x4adfd8,_0x1e659d,_0x58091d]),(0x0,y[_0x11f08c(0x4c8)])(()=>(_0x5795b8(),_0x1e659d(),()=>{_0x34db35();}),[_0x5795b8,_0x1e659d,_0x34db35]);let _0x163a6=(0x0,y[_0x11f08c(0x4ae)])(()=>We(_0xedfe00,_0x45d4b6),[_0xedfe00,_0x45d4b6]),_0x49e8c7=(0x0,y[_0x11f08c(0x4ae)])(()=>{const _0xa25952=_0x11f08c;let _0x57f711=_0x5dc803(),_0x2784c7=_0x57f711==null?void 0x0:_0x57f711[_0xa25952(0x121)];return _0x2784c7&&_0x2784c7||{'angle':0x0,'flipX':!0x1,'flipY':!0x1};},[_0x5dc803]);return(0x0,x[_0x11f08c(0x324)])(_0x11f08c(0x2e9),{'ref':_0x8c85a7,'data-u-comp':_0x11f08c(0x17c),'className':'univer-relative\x20univer-size-full\x20univer-overflow-visible','style':{'transform':'rotate('+_0x49e8c7['angle']+_0x11f08c(0x5da)+(_0x49e8c7[_0x11f08c(0x185)]?-0x1:0x1)+')'},'children':(0x0,x[_0x11f08c(0x324)])(_0x11f08c(0x2e9),{'ref':_0x488328,'className':_0x11f08c(0x34c),'data-u-comp':_0x11f08c(0x61e),'style':_0x163a6,'data-editorid':P})});},Je={'left':-0x270f,'top':-0x270f,'width':0x64,'height':0x64,'angle':0x0,'scaleX':0x1,'scaleY':0x1};function Ye(_0x544b8c,_0xa8a0f4,_0xab6bad,_0xdd81ed,_0x299dce,_0x3cacc3){const _0x1f406f=_0x1edbb0;var _0x2f058f,_0x468924;let {scaleX:_0x384296,scaleY:_0x4b3b13}=_0x3cacc3[_0x1f406f(0x3f4)](),_0x20b90b=_0x3cacc3[_0x1f406f(0x252)](f[_0x1f406f(0x40b)][_0x1f406f(0x42d)]),_0x42085e=(_0x2f058f=_0x20b90b==null?void 0x0:_0x20b90b[_0x1f406f(0x4e1)])==null?0x0:_0x2f058f,_0x3b408b=(_0x468924=_0x20b90b==null?void 0x0:_0x20b90b['viewportScrollY'])==null?0x0:_0x468924;return{'left':(_0x544b8c-_0x42085e)*_0x384296,'top':(_0xa8a0f4-_0x3b408b)*_0x4b3b13,'width':_0xab6bad*_0x384296,'height':_0xdd81ed*_0x4b3b13,'angle':_0x299dce,'scaleX':_0x384296,'scaleY':_0x4b3b13};}function Xe(_0x3708f6){const _0x43d314=_0x1edbb0;let {editingParams:_0x5d9d9e,scene:_0x296afb,getShapeTransform:_0x4f578b}=_0x3708f6,[_0x13d783,_0x379370]=(0x0,y[_0x43d314(0x25d)])(Je),_0x467367=(0x0,y[_0x43d314(0x604)])(_0x13d783);_0x467367[_0x43d314(0x288)]=_0x13d783;let _0x3ed026=(0x0,y[_0x43d314(0x57a)])(()=>{const _0x1076d6=_0x43d314;if(!_0x5d9d9e||!_0x296afb){_0x467367[_0x1076d6(0x288)]!==Je&&_0x379370(Je);return;}let _0x5a2b6c=_0x4f578b();if(!_0x5a2b6c){_0x467367[_0x1076d6(0x288)]!==Je&&_0x379370(Je);return;}let {left:_0x535e57,top:_0x2155bc,width:_0x1000fb,height:_0x27d19e,angle:_0x559d85}=_0x5a2b6c,{scaleX:_0x2fd4f2,scaleY:_0x3cbf5a}=_0x296afb[_0x1076d6(0x3f4)]();if(!_0x5d9d9e['visible']){_0x379370({'left':-0x270f,'top':-0x270f,'width':_0x1000fb*_0x2fd4f2,'height':_0x27d19e*_0x3cbf5a,'angle':0x0,'scaleX':_0x2fd4f2,'scaleY':_0x3cbf5a});return;}_0x379370(Ye(_0x535e57,_0x2155bc,_0x1000fb,_0x27d19e,_0x559d85,_0x296afb));},[_0x5d9d9e,_0x296afb,_0x4f578b]);return(0x0,y[_0x43d314(0x4c8)])(()=>{_0x3ed026();},[_0x5d9d9e,_0x3ed026]),{'position':_0x13d783,'updatePosition':_0x3ed026};}const Ze=(0x0,y['memo'])(_0x3618d1=>{const _0x819705=_0x1edbb0;let {children:_0x33f8ea,onPositionUpdate:_0x4de41b}=_0x3618d1,_0x2e0cbc=(0x0,y['useRef'])(null),_0xee02db=(0x0,g['useDependency'])(R),_0x28078b=(0x0,g['useDependency'])(p['IRenderManagerService']),_0x563308=(0x0,g[_0x819705(0x47e)])(_0xee02db['editingParams$']),_0xa6bdd5=(0x0,y[_0x819705(0x4ae)])(()=>_0x563308?_0x28078b[_0x819705(0x386)](_0x563308[_0x819705(0x5ab)]):null,[_0x563308,_0x28078b]),_0x40cc00=(0x0,y[_0x819705(0x4ae)])(()=>{var _0x3d7651;return(_0x3d7651=_0xa6bdd5==null?void 0x0:_0xa6bdd5['scene'])==null?null:_0x3d7651;},[_0xa6bdd5]),{position:_0x7253d1,updatePosition:_0x5e6648}=Xe({'editingParams':_0x563308,'scene':_0x40cc00,'getShapeTransform':(0x0,y[_0x819705(0x57a)])(()=>{const _0x33dabc=_0x819705;if(!_0x563308||!_0x40cc00)return null;let _0x62b052=_0x563308['shapeKey'],_0x4a88ac=_0x40cc00[_0x33dabc(0x49c)](_0x62b052);return _0x4a88ac instanceof H?{'left':_0x4a88ac[_0x33dabc(0x280)],'top':_0x4a88ac[_0x33dabc(0x153)],'width':_0x4a88ac['width'],'height':_0x4a88ac['height'],'angle':_0x4a88ac['angle']}:null;},[_0x563308,_0x40cc00])}),_0x316517=(0x0,y[_0x819705(0x57a)])(()=>{const _0x58feb4=_0x819705;let _0x2dbc4b=_0x2e0cbc[_0x58feb4(0x288)];_0x2dbc4b&&(_0x2dbc4b[_0x58feb4(0x49a)][_0x58feb4(0x280)]=_0x7253d1[_0x58feb4(0x280)]+'px',_0x2dbc4b[_0x58feb4(0x49a)][_0x58feb4(0x153)]=_0x7253d1[_0x58feb4(0x153)]+'px',_0x2dbc4b[_0x58feb4(0x49a)][_0x58feb4(0x627)]=_0x7253d1[_0x58feb4(0x627)]+'px',_0x2dbc4b[_0x58feb4(0x49a)]['height']=_0x7253d1['height']+'px');},[_0x7253d1]);return(0x0,y[_0x819705(0x4c8)])(()=>{const _0xb8e142=_0x819705;_0x316517(),_0x4de41b==null||_0x4de41b({'width':_0x7253d1[_0xb8e142(0x627)],'height':_0x7253d1[_0xb8e142(0x4b0)],'scaleX':_0x7253d1['scaleX'],'scaleY':_0x7253d1[_0xb8e142(0x4a7)]});},[_0x7253d1,_0x316517,_0x4de41b]),(0x0,y[_0x819705(0x4c8)])(()=>{const _0x3421da=_0x819705;if(!_0x40cc00)return;let _0x553f71=_0x40cc00[_0x3421da(0x252)](f[_0x3421da(0x40b)][_0x3421da(0x42d)]);if(!_0x553f71)return;let _0x7e7f3e=_0x553f71[_0x3421da(0x58b)][_0x3421da(0x329)](()=>{_0x5e6648();});return()=>{_0x7e7f3e['unsubscribe']();};},[_0x40cc00,_0x5e6648]),(0x0,y[_0x819705(0x4c8)])(()=>{const _0x28763f=_0x819705;if(!_0x563308||!_0x40cc00)return;let _0x365e11=_0x563308[_0x28763f(0x2c1)],_0x54c527=_0x40cc00[_0x28763f(0x49c)](_0x365e11);if(_0x54c527 instanceof H){let _0x23687d=_0x54c527[_0x28763f(0x387)][_0x28763f(0x329)](()=>{_0x5e6648();});return()=>{_0x23687d['unsubscribe']();};}},[_0x563308,_0x40cc00,_0x5e6648]),(0x0,x[_0x819705(0x324)])('div',{'ref':_0x2e0cbc,'data-u-comp':_0x819705(0x2da),'className':_0x819705(0x1de),'style':(0x0,y['useMemo'])(()=>({'left':_0x7253d1['left'],'top':_0x7253d1[_0x819705(0x153)],'width':_0x7253d1[_0x819705(0x627)],'height':_0x7253d1[_0x819705(0x4b0)],'pointerEvents':_0x563308!=null&&_0x563308[_0x819705(0x601)]?_0x819705(0x2de):'none'}),[_0x7253d1,_0x563308==null?void 0x0:_0x563308['visible']]),'children':_0x33f8ea});}),Qe=(0x0,y[_0x1edbb0(0x206)])(()=>{const _0x1dc4c6=_0x1edbb0;let _0x26776d=(0x0,g['useObservable'])((0x0,g[_0x1dc4c6(0x1e6)])(R)[_0x1dc4c6(0x2a6)]),[_0x275c0d,_0x415ca3]=(0x0,y[_0x1dc4c6(0x25d)])({'width':0x64,'height':0x64,'scaleX':0x1,'scaleY':0x1}),_0x276d81=(0x0,y['useCallback'])(_0xcfa8af=>{const _0xd66f03=_0x1dc4c6;_0x415ca3({'width':_0xcfa8af[_0xd66f03(0x627)],'height':_0xcfa8af[_0xd66f03(0x4b0)],'scaleX':_0xcfa8af['scaleX'],'scaleY':_0xcfa8af[_0xd66f03(0x4a7)]});},[]);return _0x26776d!=null&&_0x26776d['visible']?(0x0,x[_0x1dc4c6(0x324)])(Ze,{'onPositionUpdate':_0x276d81,'children':(0x0,x[_0x1dc4c6(0x324)])(qe,{'containerWidth':_0x275c0d[_0x1dc4c6(0x627)],'containerHeight':_0x275c0d[_0x1dc4c6(0x4b0)],'scaleX':_0x275c0d[_0x1dc4c6(0x372)],'scaleY':_0x275c0d[_0x1dc4c6(0x4a7)]})}):null;});let $e=class extends u[_0x1edbb0(0x249)]{constructor(_0xb63252=Ne,_0x4b4497,_0x3c4597,_0x42e1a1,_0x1db9dc){const _0x354316=_0x1edbb0;super(),this[_0x354316(0x3d4)]=_0xb63252,this['_injector']=_0x4b4497,this[_0x354316(0x166)]=_0x3c4597,this[_0x354316(0x270)]=_0x42e1a1,this[_0x354316(0x3f5)]=_0x1db9dc;let {menu:_0x33fe6f,..._0x425a3f}=(0x0,u[_0x354316(0x1a5)])({},Ne,this[_0x354316(0x3d4)]);_0x33fe6f&&this['_configService']['setConfig']('menu',_0x33fe6f,{'merge':!0x0}),this['_configService'][_0x354316(0x4c4)](_0x354316(0x53c),_0x425a3f),this[_0x354316(0x42a)]();}['onStarting'](){const _0x5bc199=_0x1edbb0;(0x0,u['registerDependencies'])(this[_0x5bc199(0x33f)],[[Ae],[K],[G],[Fe],[ye],[R]]),this[_0x5bc199(0x131)]();}[_0x1edbb0(0x20e)](){const _0x387436=_0x1edbb0;this['_renderManagerService'][_0x387436(0x43e)](u['UniverInstanceType'][_0x387436(0x16a)],[Fe]),this[_0x387436(0x3f5)][_0x387436(0x43e)](u[_0x387436(0x1bf)][_0x387436(0x16a)],[Re]),this['_renderManagerService']['registerRenderModule'](u['UniverInstanceType'][_0x387436(0x16a)],[Ue]),(0x0,u[_0x387436(0x2be)])(this['_injector'],[[Ae],[K],[G],[ye],[R]]);}[_0x1edbb0(0x42a)](){const _0x444587=_0x1edbb0;[A,j,M][_0x444587(0x3b0)](_0x1b2c00=>this['disposeWithMe'](this[_0x444587(0x166)][_0x444587(0x518)](_0x1b2c00)));}[_0x1edbb0(0x131)](){const _0x150890=_0x1edbb0;let _0x145afb=this[_0x150890(0x33f)],_0x3676f2=_0x145afb['get'](g[_0x150890(0x56a)]),_0x599ad8=_0x145afb[_0x150890(0x132)](g[_0x150890(0x308)]);this[_0x150890(0x426)](_0x3676f2['register'](_0x150890(0x18d),Qe)),this['disposeWithMe'](_0x599ad8[_0x150890(0x568)](g[_0x150890(0x3fe)][_0x150890(0x3be)],()=>(0x0,g['connectInjector'])(Qe,_0x145afb)));}};L($e,_0x1edbb0(0x56d),u[_0x1edbb0(0x1bf)][_0x1edbb0(0x16a)]),L($e,_0x1edbb0(0x15a),_0x1edbb0(0x4cb)),L($e,'packageName',je),L($e,_0x1edbb0(0x1b5),Me),$e=W([(0x0,u['DependentOn'])(S['UniverLicensePlugin'],d[_0x1edbb0(0x2d2)],l[_0x1edbb0(0x463)]),U(0x1,(0x0,u[_0x1edbb0(0x1ac)])(u[_0x1edbb0(0x2c0)])),U(0x2,u[_0x1edbb0(0x15b)]),U(0x3,u['IConfigService']),U(0x4,p[_0x1edbb0(0x3ce)])],$e),exports[_0x1edbb0(0x514)]=j,Object['defineProperty'](exports,_0x1edbb0(0x433),{'enumerable':!0x0,'get':function(){return Ae;}}),exports['MenuInsertShapeCommand']=A,exports[_0x1edbb0(0x179)]=M,Object['defineProperty'](exports,_0x1edbb0(0x345),{'enumerable':!0x0,'get':function(){return $e;}});