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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ar-SA.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/de-DE.js +1 -1
  5. package/lib/cjs/locale/en-US.js +1 -1
  6. package/lib/cjs/locale/es-ES.js +1 -1
  7. package/lib/cjs/locale/fa-IR.js +1 -1
  8. package/lib/cjs/locale/fr-FR.js +1 -1
  9. package/lib/cjs/locale/id-ID.js +1 -1
  10. package/lib/cjs/locale/it-IT.js +1 -1
  11. package/lib/cjs/locale/ja-JP.js +1 -1
  12. package/lib/cjs/locale/ko-KR.js +1 -1
  13. package/lib/cjs/locale/pl-PL.js +1 -1
  14. package/lib/cjs/locale/pt-BR.js +1 -1
  15. package/lib/cjs/locale/ru-RU.js +1 -1
  16. package/lib/cjs/locale/sk-SK.js +1 -1
  17. package/lib/cjs/locale/vi-VN.js +1 -1
  18. package/lib/cjs/locale/zh-CN.js +1 -1
  19. package/lib/cjs/locale/zh-HK.js +1 -1
  20. package/lib/cjs/locale/zh-TW.js +1 -1
  21. package/lib/es/index.js +1 -1
  22. package/lib/es/locale/ar-SA.js +1 -1
  23. package/lib/es/locale/ca-ES.js +1 -1
  24. package/lib/es/locale/de-DE.js +1 -1
  25. package/lib/es/locale/en-US.js +1 -1
  26. package/lib/es/locale/es-ES.js +1 -1
  27. package/lib/es/locale/fa-IR.js +1 -1
  28. package/lib/es/locale/fr-FR.js +1 -1
  29. package/lib/es/locale/id-ID.js +1 -1
  30. package/lib/es/locale/it-IT.js +1 -1
  31. package/lib/es/locale/ja-JP.js +1 -1
  32. package/lib/es/locale/ko-KR.js +1 -1
  33. package/lib/es/locale/pl-PL.js +1 -1
  34. package/lib/es/locale/pt-BR.js +1 -1
  35. package/lib/es/locale/ru-RU.js +1 -1
  36. package/lib/es/locale/sk-SK.js +1 -1
  37. package/lib/es/locale/vi-VN.js +1 -1
  38. package/lib/es/locale/zh-CN.js +1 -1
  39. package/lib/es/locale/zh-HK.js +1 -1
  40. package/lib/es/locale/zh-TW.js +1 -1
  41. package/lib/index.js +1 -1
  42. package/lib/locale/ar-SA.js +1 -1
  43. package/lib/locale/ca-ES.js +1 -1
  44. package/lib/locale/de-DE.js +1 -1
  45. package/lib/locale/en-US.js +1 -1
  46. package/lib/locale/es-ES.js +1 -1
  47. package/lib/locale/fa-IR.js +1 -1
  48. package/lib/locale/fr-FR.js +1 -1
  49. package/lib/locale/id-ID.js +1 -1
  50. package/lib/locale/it-IT.js +1 -1
  51. package/lib/locale/ja-JP.js +1 -1
  52. package/lib/locale/ko-KR.js +1 -1
  53. package/lib/locale/pl-PL.js +1 -1
  54. package/lib/locale/pt-BR.js +1 -1
  55. package/lib/locale/ru-RU.js +1 -1
  56. package/lib/locale/sk-SK.js +1 -1
  57. package/lib/locale/vi-VN.js +1 -1
  58. package/lib/locale/zh-CN.js +1 -1
  59. package/lib/locale/zh-HK.js +1 -1
  60. package/lib/locale/zh-TW.js +1 -1
  61. package/lib/umd/index.js +1 -1
  62. package/lib/umd/locale/ar-SA.js +1 -1
  63. package/lib/umd/locale/ca-ES.js +1 -1
  64. package/lib/umd/locale/de-DE.js +1 -1
  65. package/lib/umd/locale/en-US.js +1 -1
  66. package/lib/umd/locale/es-ES.js +1 -1
  67. package/lib/umd/locale/fa-IR.js +1 -1
  68. package/lib/umd/locale/fr-FR.js +1 -1
  69. package/lib/umd/locale/id-ID.js +1 -1
  70. package/lib/umd/locale/it-IT.js +1 -1
  71. package/lib/umd/locale/ja-JP.js +1 -1
  72. package/lib/umd/locale/ko-KR.js +1 -1
  73. package/lib/umd/locale/pl-PL.js +1 -1
  74. package/lib/umd/locale/pt-BR.js +1 -1
  75. package/lib/umd/locale/ru-RU.js +1 -1
  76. package/lib/umd/locale/sk-SK.js +1 -1
  77. package/lib/umd/locale/vi-VN.js +1 -1
  78. package/lib/umd/locale/zh-CN.js +1 -1
  79. package/lib/umd/locale/zh-HK.js +1 -1
  80. package/lib/umd/locale/zh-TW.js +1 -1
  81. package/package.json +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 _0x32d26c=_0x4b85;(function(_0x107696,_0x1fef70){const _0x1beffa=_0x4b85,_0x10729b=_0x107696();while(!![]){try{const _0x38bf88=parseInt(_0x1beffa(0x312))/0x1*(-parseInt(_0x1beffa(0x196))/0x2)+-parseInt(_0x1beffa(0x5f9))/0x3+parseInt(_0x1beffa(0x542))/0x4*(parseInt(_0x1beffa(0x3c8))/0x5)+parseInt(_0x1beffa(0x4c1))/0x6+-parseInt(_0x1beffa(0x224))/0x7*(parseInt(_0x1beffa(0x188))/0x8)+parseInt(_0x1beffa(0x3cf))/0x9*(parseInt(_0x1beffa(0x11e))/0xa)+-parseInt(_0x1beffa(0x2d3))/0xb*(-parseInt(_0x1beffa(0x2f9))/0xc);if(_0x38bf88===_0x1fef70)break;else _0x10729b['push'](_0x10729b['shift']());}catch(_0x4bb193){_0x10729b['push'](_0x10729b['shift']());}}}(_0x2877,0x2154d),Object[_0x32d26c(0x1a9)](exports,Symbol[_0x32d26c(0x33c)],{'value':'Module'}));var e=Object[_0x32d26c(0x2f8)],t=Object[_0x32d26c(0x1a9)],n=Object['getOwnPropertyDescriptor'],r=Object[_0x32d26c(0x23e)],i=Object['getPrototypeOf'],a=Object['prototype'][_0x32d26c(0x5b4)],o=(_0x13c319,_0x53ac51,_0x466237,_0xe98eee)=>{const _0x3f7b2c=_0x32d26c;if(_0x53ac51&&typeof _0x53ac51=='object'||typeof _0x53ac51==_0x3f7b2c(0x3ae)){for(var _0x1fa7d9=r(_0x53ac51),_0x2b6f70=0x0,_0x355ab4=_0x1fa7d9[_0x3f7b2c(0x296)],_0x1bb60b;_0x2b6f70<_0x355ab4;_0x2b6f70++)_0x1bb60b=_0x1fa7d9[_0x2b6f70],!a[_0x3f7b2c(0x32e)](_0x13c319,_0x1bb60b)&&_0x1bb60b!==_0x466237&&t(_0x13c319,_0x1bb60b,{'get':(_0x5c057c=>_0x53ac51[_0x5c057c])[_0x3f7b2c(0x5ea)](null,_0x1bb60b),'enumerable':!(_0xe98eee=n(_0x53ac51,_0x1bb60b))||_0xe98eee[_0x3f7b2c(0x1e6)]});}return _0x13c319;},s=(_0x32a084,_0x3a81de,_0x59a7b9)=>(_0x59a7b9=_0x32a084==null?{}:e(i(_0x32a084)),o(_0x3a81de||!_0x32a084||!_0x32a084[_0x32d26c(0x3ef)]?t(_0x59a7b9,_0x32d26c(0x487),{'value':_0x32a084,'enumerable':!0x0}):_0x59a7b9,_0x32a084));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=_0x32d26c(0x139),T=_0x32d26c(0x48b);function E(_0x25ee59,_0x3dcf2a){const _0x5cdedf=_0x32d26c;if(_0x3dcf2a){if((0x0,c[_0x5cdedf(0x3f5)])(_0x25ee59)&&(_0x3dcf2a[_0x5cdedf(0x34e)]||_0x3dcf2a['endArrow']))return{'ln':{'startArrow':_0x3dcf2a[_0x5cdedf(0x34e)]?{'type':c[_0x5cdedf(0x556)][_0x5cdedf(0x598)],'size':c['ShapeArrowSizeEnum'][_0x5cdedf(0x524)]}:void 0x0,'endArrow':_0x3dcf2a[_0x5cdedf(0x22e)]?{'type':c['ShapeArrowTypeEnum'][_0x5cdedf(0x598)],'size':c['ShapeArrowSizeEnum'][_0x5cdedf(0x20d)]}:void 0x0}};if(_0x25ee59===c[_0x5cdedf(0x445)][_0x5cdedf(0x1fe)]&&(_0x3dcf2a[_0x5cdedf(0x62e)]||_0x3dcf2a[_0x5cdedf(0x377)]))return{'fill':{'fillType':c[_0x5cdedf(0x516)][_0x5cdedf(0x409)],'color':w},'stroke':{'lineStrokeType':c[_0x5cdedf(0x21a)][_0x5cdedf(0x398)],'width':0x1,'color':T},'shapeText':{'isHorizontal':!!_0x3dcf2a[_0x5cdedf(0x62e)]}};}}function D(_0x300221,_0x3c3fb8){const _0xaddb54=_0x32d26c;var _0x4e1aad;let _0x4be22f=_0x300221['get'](p[_0xaddb54(0x405)])[_0xaddb54(0x15e)](_0x3c3fb8),_0x3dfd2b=_0x4be22f==null||(_0x4e1aad=_0x4be22f[_0xaddb54(0x1bd)](f[_0xaddb54(0x5ed)])[_0xaddb54(0x61e)]())==null?void 0x0:_0x4e1aad['getAbsolutePosition']();return _0x3dfd2b?{'left':_0x3dfd2b[_0xaddb54(0x334)],'top':_0x3dfd2b[_0xaddb54(0x22c)]}:null;}function O(_0x542fb8,_0x30a867,_0x577d3c){const _0x55108b=_0x32d26c;var _0x3486ba,_0x568c3f,_0x5311f0;if(!_0x577d3c)return null;let _0xa99195=_0x542fb8['get'](p[_0x55108b(0x405)])[_0x55108b(0x15e)](_0x30a867),_0x720d8b=_0xa99195==null?void 0x0:_0xa99195['with'](f[_0x55108b(0x233)])[_0x55108b(0x34d)];if(!_0x720d8b)return null;let _0x187d93=_0x577d3c===_0x55108b(0x2b1)?{'startOffset':_0x720d8b['moveRange'][_0x55108b(0x1de)],'endOffset':_0x720d8b[_0x55108b(0x18f)][_0x55108b(0x1de)]}:_0x720d8b[_0x55108b(0x37d)];return{'range':{'unitId':_0x30a867,'startOffset':_0x187d93[_0x55108b(0x2c7)],'endOffset':_0x187d93[_0x55108b(0x1de)],'segmentId':(_0x3486ba=(_0x568c3f=_0x720d8b[_0x55108b(0x132)])==null?void 0x0:_0x568c3f[_0x55108b(0x5cd)])==null?'':_0x3486ba},'position':(_0x5311f0=_0x720d8b[_0x55108b(0x132)])!=null&&_0x5311f0['rect']?{'left':_0x720d8b[_0x55108b(0x132)][_0x55108b(0x20a)][_0x55108b(0x334)],'top':_0x577d3c===_0x55108b(0x2b1)?_0x720d8b[_0x55108b(0x132)][_0x55108b(0x20a)][_0x55108b(0x2a9)]:_0x720d8b[_0x55108b(0x132)][_0x55108b(0x20a)]['top']}:null};}function k(_0x175bec,_0x377eef,_0x32b119){const _0x34972d=_0x32d26c;var _0x3a3b92;return{'size':{'width':_0x175bec,'height':_0x377eef},'positionH':{'relativeFrom':u['ObjectRelativeFromH']['PAGE'],'posOffset':(_0x3a3b92=_0x32b119==null?void 0x0:_0x32b119[_0x34972d(0x334)])==null?0x0:_0x3a3b92},'positionV':{'relativeFrom':u[_0x34972d(0x58c)][_0x34972d(0x51b)],'posOffset':0x0},'angle':0x0};}const A={'type':u['CommandType'][_0x32d26c(0x3b0)],'id':_0x32d26c(0x211),'handler':async(_0x97cf7f,_0x14e2cf)=>{const _0x36606b=_0x32d26c;var _0x1c7387,_0x44cba5,_0xac639e,_0x34bac5,_0x3f9946,_0x9e82ae;let _0xda0786=_0x97cf7f[_0x36606b(0x30d)](u['IUniverInstanceService'])[_0x36606b(0x22b)]();if(!_0xda0786)return!0x1;let _0x302659=_0x97cf7f['get'](u[_0x36606b(0x54b)]),_0x1fe990=_0xda0786[_0x36606b(0x23c)](),_0x3511bd=_0x1fe990,_0xfc6e98=(_0x1c7387=_0x14e2cf['shapeId'])==null?(0x0,u[_0x36606b(0x5cf)])():_0x1c7387,_0x5d1db6=(_0x44cba5=_0x14e2cf[_0x36606b(0x452)])==null?l[_0x36606b(0x4b3)]:_0x44cba5,_0x5d5356=(_0xac639e=_0x14e2cf[_0x36606b(0x1cd)])==null?l[_0x36606b(0x4d9)]:_0xac639e,_0x44ce43=(_0x34bac5=(_0x3f9946=_0x14e2cf[_0x36606b(0x53a)])==null?E(_0x14e2cf[_0x36606b(0x501)],_0x14e2cf[_0x36606b(0x2b4)]):_0x3f9946)==null?{'fill':{'fillType':c['ShapeFillEnum'][_0x36606b(0x409)],'color':w},'stroke':{'lineStrokeType':c[_0x36606b(0x21a)]['SolidLine'],'width':0x1,'color':T}}:_0x34bac5,_0x49a5f6=O(_0x97cf7f,_0x1fe990,_0x14e2cf[_0x36606b(0x2bb)]),_0x15df90=(_0x9e82ae=_0x49a5f6==null?void 0x0:_0x49a5f6[_0x36606b(0x2da)])==null?D(_0x97cf7f,_0x1fe990):_0x9e82ae,_0x504db7=k(_0x5d1db6,_0x5d5356,_0x15df90),_0x450a40=(0x0,f[_0x36606b(0x2ba)])(_0x504db7);_0x450a40&&_0x15df90&&(_0x450a40[_0x36606b(0x22c)]=_0x15df90[_0x36606b(0x22c)]),_0x302659['syncExecuteCommand'](l[_0x36606b(0x508)]['id'],{'unitId':_0x1fe990,'shapeId':_0xfc6e98,'shapeType':_0x14e2cf[_0x36606b(0x501)],'shapeData':_0x44ce43}),_0x49a5f6&&_0x97cf7f['get'](f[_0x36606b(0x5bb)])[_0x36606b(0x281)](_0x49a5f6[_0x36606b(0x53f)]);let _0x1f17a0={'unitId':_0x1fe990,'subUnitId':_0x3511bd,'drawingId':_0xfc6e98,'drawingType':u['DrawingTypeEnum'][_0x36606b(0x4a6)],'transform':_0x450a40,'docTransform':_0x504db7,'data':{'shapeType':_0x14e2cf[_0x36606b(0x501)],'shapeData':_0x44ce43},'behindDoc':u[_0x36606b(0x39e)][_0x36606b(0x2d7)],'title':'','description':'','layoutType':u[_0x36606b(0x453)]['INLINE'],'wrapText':u[_0x36606b(0x203)][_0x36606b(0x195)],'distB':0x0,'distL':0x0,'distR':0x0,'distT':0x0,'allowTransform':!0x0};return!!_0x302659[_0x36606b(0x4d7)](d[_0x36606b(0x471)]['id'],{'unitId':_0x1fe990,'drawings':[_0x1f17a0]});}},j={'type':u[_0x32d26c(0x3fb)][_0x32d26c(0x1ce)],'id':_0x32d26c(0x47a),'handler'(){return!0x0;}},M={'type':u[_0x32d26c(0x3fb)][_0x32d26c(0x1ce)],'id':_0x32d26c(0x4b7),'handler'(){return!0x0;}},N=_0x32d26c(0x4fb),P=(0x0,u[_0x32d26c(0x5a2)])('SHAPE_TEXT');function F(_0x44face){'@babel/helpers - typeof';const _0x42b513=_0x32d26c;return F=typeof Symbol==_0x42b513(0x3ae)&&typeof Symbol['iterator']==_0x42b513(0x11d)?function(_0x5ad5d6){return typeof _0x5ad5d6;}:function(_0x18c081){const _0x50a685=_0x42b513;return _0x18c081&&typeof Symbol==_0x50a685(0x3ae)&&_0x18c081[_0x50a685(0x408)]===Symbol&&_0x18c081!==Symbol[_0x50a685(0x4b1)]?'symbol':typeof _0x18c081;},F(_0x44face);}function ee(_0x245cb1,_0x132c96){const _0x4deebe=_0x32d26c;if(F(_0x245cb1)!=_0x4deebe(0x43e)||!_0x245cb1)return _0x245cb1;var _0x33f5ba=_0x245cb1[Symbol[_0x4deebe(0x1f3)]];if(_0x33f5ba!==void 0x0){var _0x5b489e=_0x33f5ba[_0x4deebe(0x32e)](_0x245cb1,_0x132c96||'default');if(F(_0x5b489e)!=_0x4deebe(0x43e))return _0x5b489e;throw TypeError(_0x4deebe(0x315));}return(_0x132c96===_0x4deebe(0x345)?String:Number)(_0x245cb1);}function I(_0x2a7ccf){const _0x479245=_0x32d26c;var _0x1766f2=ee(_0x2a7ccf,_0x479245(0x345));return F(_0x1766f2)==_0x479245(0x11d)?_0x1766f2:_0x1766f2+'';}function L(_0x19fb42,_0x30b1f6,_0x5ac371){const _0x4bb9c2=_0x32d26c;return(_0x30b1f6=I(_0x30b1f6))in _0x19fb42?Object[_0x4bb9c2(0x1a9)](_0x19fb42,_0x30b1f6,{'value':_0x5ac371,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x19fb42[_0x30b1f6]=_0x5ac371,_0x19fb42;}var R=class extends u['Disposable']{constructor(..._0x1b33c9){const _0x36197c=_0x32d26c;super(..._0x1b33c9),L(this,'_editingParams$',new _[(_0x36197c(0x2a6))](null)),L(this,_0x36197c(0x134),this['_editingParams$'][_0x36197c(0x50f)]()),L(this,_0x36197c(0x11c),new _['BehaviorSubject'](!0x1)),L(this,_0x36197c(0x52f),this[_0x36197c(0x11c)][_0x36197c(0x50f)]());}[_0x32d26c(0x310)](){const _0x23ca31=_0x32d26c;this[_0x23ca31(0x3c1)][_0x23ca31(0x25c)](null),this[_0x23ca31(0x3c1)][_0x23ca31(0x481)](),this['_onSavingEditorData$'][_0x23ca31(0x25c)](!0x1),this['_onSavingEditorData$'][_0x23ca31(0x481)](),super[_0x23ca31(0x310)]();}[_0x32d26c(0x4f1)](_0x382953){const _0x2af0dd=_0x32d26c;this[_0x2af0dd(0x3c1)][_0x2af0dd(0x25c)](_0x382953),_0x382953==null&&this[_0x2af0dd(0x11c)]['next'](!0x1);}[_0x32d26c(0x617)](_0x1dd14c){const _0x429ef5=_0x32d26c;this[_0x429ef5(0x11c)][_0x429ef5(0x25c)](_0x1dd14c);}[_0x32d26c(0x28b)](){const _0x534874=_0x32d26c;return this[_0x534874(0x3c1)][_0x534874(0x587)]();}};function z(_0x506a85,_0x34641c,_0x51a6b4,_0x289e07,_0x29d27e,_0x5e559f){const _0xd9f649=_0x32d26c;let _0x29cee3={'unitId':_0x34641c,'shapeId':_0x289e07,'shapeData':_0x5e559f,'oldShapeJSON':_0x29d27e};return _0x506a85['executeCommand'](l[_0xd9f649(0x459)]['id'],_0x29cee3);}function B(_0x50df24,_0x6b8b49,_0x149dee,_0x416b20,_0x1572b3,_0x2acbef){const _0x289708=_0x32d26c;let _0x1baffc={'unitId':_0x6b8b49,'shapeId':_0x416b20,'shapeData':_0x2acbef,'oldShapeJSON':_0x1572b3};return _0x50df24[_0x289708(0x3a8)](l['UpdateDocShapeDataCommand']['id'],_0x1baffc);}function V(_0x276abf,_0x1cac4e){const _0x206123=_0x32d26c;var _0x40e3d1;let {isHorizontal:_0x2e11ea,textRect:_0x10eff1,verticalAlign:_0x22d501}=_0x1cac4e,_0x5ddbff=_0x2e11ea?_0x10eff1[_0x206123(0x452)]:_0x10eff1['height'],_0x156332=u[_0x206123(0x582)][_0x206123(0x4dc)](_0x276abf),_0x4ca3e9=(_0x40e3d1=_0x156332['documentStyle'])==null?{}:_0x40e3d1,_0x3409e8={..._0x4ca3e9['renderConfig'],'centerAngle':_0x2e11ea?0x0:p['VERTICAL_ROTATE_ANGLE'],'vertexAngle':_0x2e11ea?0x0:p[_0x206123(0x392)],'wrapStrategy':u[_0x206123(0x166)][_0x206123(0x1ab)]};if(_0x22d501!==void 0x0&&(_0x3409e8[_0x206123(0x279)]=_0x22d501),_0x1cac4e[_0x206123(0x4f6)]!==void 0x0){var _0x504dae;_0x3409e8[_0x206123(0x4f6)]=_0x1cac4e['horizontalAlign'];let _0x246206=(_0x504dae=_0x156332[_0x206123(0x344)])==null?void 0x0:_0x504dae[_0x206123(0x591)];if(_0x246206){for(let _0x1df696 of _0x246206)_0x1df696['paragraphStyle']||(_0x1df696[_0x206123(0x5fb)]={}),_0x1df696[_0x206123(0x5fb)][_0x206123(0x4f6)]=_0x1cac4e[_0x206123(0x4f6)];}}return _0x156332[_0x206123(0x29d)]={..._0x4ca3e9,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x5ddbff,'height':0x1/0x0},'renderConfig':_0x3409e8},_0x156332;}function te(_0xbf0d31){const _0x59c1d4=_0x32d26c;var _0x1bf17e;let _0x5d2174=u[_0x59c1d4(0x582)][_0x59c1d4(0x4dc)](_0xbf0d31),_0x3fd20a=(_0x1bf17e=_0x5d2174[_0x59c1d4(0x29d)])==null?{}:_0x1bf17e,_0x1e9c89={..._0x3fd20a[_0x59c1d4(0x333)]};return delete _0x1e9c89['centerAngle'],delete _0x1e9c89[_0x59c1d4(0x532)],delete _0x1e9c89[_0x59c1d4(0x279)],delete _0x1e9c89['wrapStrategy'],_0x5d2174[_0x59c1d4(0x29d)]={..._0x3fd20a,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':0x1/0x0,'height':0x1/0x0},'renderConfig':Object['keys'](_0x1e9c89)[_0x59c1d4(0x296)]>0x0?_0x1e9c89:void 0x0},_0x5d2174;}var H=class extends p[_0x32d26c(0x34c)]{constructor(_0xada813,_0x34ec18){const _0x3a32bb=_0x32d26c;super(_0xada813,_0x34ec18),L(this,_0x3a32bb(0x131),void 0x0),L(this,_0x3a32bb(0x3a4),!0x0),L(this,_0x3a32bb(0x168),u[_0x3a32bb(0x1a0)][_0x3a32bb(0x4a6)]),L(this,'isDrawingObject',!0x0),this[_0x3a32bb(0x131)]={..._0x34ec18},this['_init']();}[_0x32d26c(0x29f)](){const _0x1df64c=_0x32d26c;this[_0x1df64c(0x3e6)][_0x1df64c(0x123)](_0xef2606=>{const _0x1b3845=_0x1df64c;this[_0x1b3845(0x456)](_0xef2606);});}['setPrstGeom'](_0x1519a6){const _0x9da96=_0x32d26c;this[_0x9da96(0x131)][_0x9da96(0x1fb)]=_0x1519a6;}[_0x32d26c(0x4f1)](_0x1162a5){const _0x4002fa=_0x32d26c;this['_props'][_0x4002fa(0x5f6)]=_0x1162a5,this[_0x4002fa(0x29e)](!0x0);}get['unitId'](){const _0x5dba14=_0x32d26c;return this[_0x5dba14(0x131)][_0x5dba14(0x400)];}get[_0x32d26c(0x32d)](){const _0x387c=_0x32d26c;return this[_0x387c(0x131)][_0x387c(0x32d)];}[_0x32d26c(0x456)](_0x57a5ed){const _0x1b46b4=_0x32d26c;if(this[_0x1b46b4(0x131)]['srcRect']==null||!this[_0x1b46b4(0x3a4)])return;let {width:_0x459db0,height:_0x4b8b02}=this,{width:_0x461125=0x0,height:_0x3d8c74=0x0}=_0x57a5ed[_0x1b46b4(0x632)],{left:_0x28f65e=0x0,top:_0x49e5d2=0x0,right:_0x345557=0x0,bottom:_0x413451=0x0}=this['_props']['srcRect'],_0x29b104=_0x28f65e,_0x26a26a=_0x49e5d2,_0x5a2846=_0x345557,_0x50dedd=_0x413451,_0x1a2f06=!0x1;if(_0x461125!==0x0&&_0x461125!==_0x459db0){let _0x17a6f5=_0x28f65e/_0x461125,_0x4aa8e8=_0x345557/_0x461125;_0x29b104=_0x459db0*_0x17a6f5,_0x5a2846=_0x459db0*_0x4aa8e8,_0x1a2f06=!0x0;}if(_0x3d8c74!==0x0&&_0x3d8c74!==_0x4b8b02){let _0x46ad04=_0x49e5d2/_0x3d8c74,_0x5723d6=_0x413451/_0x3d8c74;_0x26a26a=_0x4b8b02*_0x46ad04,_0x50dedd=_0x4b8b02*_0x5723d6,_0x1a2f06=!0x0;}_0x1a2f06&&this[_0x1b46b4(0x562)]({'left':_0x29b104,'top':_0x26a26a,'right':_0x5a2846,'bottom':_0x50dedd});}[_0x32d26c(0x562)](_0x11492d){const _0x30d2fd=_0x32d26c;this[_0x30d2fd(0x131)][_0x30d2fd(0x2d1)]=_0x11492d,this[_0x30d2fd(0x29e)](!0x0);}[_0x32d26c(0x16e)](_0x37881a){const _0x452686=_0x32d26c;this[_0x452686(0x131)][_0x452686(0x1b9)]=_0x37881a,this['makeDirty'](!0x0);}set[_0x32d26c(0x245)](_0x195c68){const _0x4a7d57=_0x32d26c;this[_0x4a7d57(0x3db)]=_0x195c68;}get[_0x32d26c(0x245)](){const _0x25b605=_0x32d26c;this['_transform']||this['_setTransForm']();let _0x4f58f3=this[_0x25b605(0x3db)][_0x25b605(0x5d6)]();return this[_0x25b605(0x27c)](_0x4f58f3);}get[_0x32d26c(0x39c)](){const _0x8aab8c=_0x32d26c;return this['_props'][_0x8aab8c(0x39c)];}get[_0x32d26c(0x56b)](){const _0x2c8393=_0x32d26c;return this[_0x2c8393(0x131)][_0x2c8393(0x56b)];}get[_0x32d26c(0x353)](){const _0x4d9127=_0x32d26c;return p[_0x4d9127(0x3aa)][_0x4d9127(0x413)];}['_draw'](_0x3eb2d7,_0x46fb03,_0x27051a,_0x235ff8){const _0x2c479f=_0x32d26c;let _0x44b8bb=this[_0x2c479f(0x131)][_0x2c479f(0x39c)];if(!_0x44b8bb||!_0x46fb03)return;let _0x54ab35=_0x27051a==null?this[_0x2c479f(0x452)]:_0x27051a,_0x542c9b=_0x235ff8==null?this[_0x2c479f(0x1cd)]:_0x235ff8,_0x268a66={'shapeType':_0x44b8bb[_0x2c479f(0x170)](),'width':_0x54ab35,'height':_0x542c9b},_0x13ef4b={'renderMode':c[_0x2c479f(0x462)][_0x2c479f(0x47e)],'oKey':this[_0x2c479f(0x16c)],'image':this[_0x2c479f(0x131)][_0x2c479f(0x1b9)],'angle':this[_0x2c479f(0x41a)]};_0x44b8bb[_0x2c479f(0x1dd)](_0x268a66),_0x3eb2d7['save']();let _0x41ab49={'top':0x0,'left':0x0,'width':_0x54ab35,'height':_0x542c9b};_0x44b8bb[_0x2c479f(0x23a)](_0x3eb2d7,_0x41ab49,_0x13ef4b),_0x3eb2d7[_0x2c479f(0x54a)]();let _0x4cf125=_0x44b8bb[_0x2c479f(0x54c)](),_0x258c3c=_0x44b8bb[_0x2c479f(0x174)](_0x41ab49),_0x282c4c=_0x44b8bb[_0x2c479f(0x16d)]();if(_0x4cf125&&_0x258c3c&&!_0x282c4c){_0x3eb2d7[_0x2c479f(0x5d8)](),this[_0x2c479f(0x17d)]()[_0x2c479f(0x1c1)]&&_0x3eb2d7[_0x2c479f(0x557)](-0x1,0x1);let _0x1d196d=_0x54ab35/0x2,_0x140c8d=_0x542c9b/0x2;_0x3eb2d7['translate'](-_0x1d196d,-_0x140c8d),_0x3eb2d7[_0x2c479f(0x318)](),this[_0x2c479f(0x383)](_0x3eb2d7,_0x4cf125,_0x258c3c),_0x3eb2d7[_0x2c479f(0x54a)]();}}[_0x32d26c(0x5d1)](_0xfe299d){}[_0x32d26c(0x383)](_0x19c085,_0x3a1bd7,_0x539a1a){const _0x182b35=_0x32d26c;this[_0x182b35(0x131)][_0x182b35(0x5f6)]||(_0x182b35(0x62c)in _0x3a1bd7&&_0x3a1bd7[_0x182b35(0x62c)]===!0x1?this[_0x182b35(0x5b8)](_0x19c085,_0x3a1bd7,_0x539a1a):this[_0x182b35(0x189)](_0x19c085,_0x3a1bd7,_0x539a1a));}[_0x32d26c(0x5b8)](_0x42d62b,_0x42d792,_0x36f15b){}[_0x32d26c(0x189)](_0x3aacb5,_0x3f93ae,_0x58506){const _0x201957=_0x32d26c;var _0x4d29f7,_0x31b580;let _0x277e73=this[_0x201957(0x131)][_0x201957(0x5c0)];if(!_0x3f93ae[_0x201957(0x3f8)]||!_0x277e73){_0x277e73||console['warn'](_0x201957(0x4ba));return;}let _0x1ee4e1=_0x3f93ae['dataModel'],_0x5d8b2a=_0x1ee4e1['doc'],_0x3bff8a=(_0x4d29f7=_0x1ee4e1['va'])==null?u[_0x201957(0x1ff)][_0x201957(0x346)]:_0x4d29f7,_0xeba5a4=(_0x31b580=_0x1ee4e1['ha'])==null?u[_0x201957(0x4bd)]['LEFT']:_0x31b580;if(!_0x5d8b2a)return;let _0x1fa531=_0x3f93ae[_0x201957(0x46d)],_0x1567d9=new u[(_0x201957(0x1f4))](V(_0x5d8b2a,{'isHorizontal':_0x1fa531!==!0x1,'textRect':_0x58506,'verticalAlign':_0x3bff8a,'horizontalAlign':_0xeba5a4})),_0x3b1164=new p[(_0x201957(0x201))](_0x1567d9),_0x12c64b=p[_0x201957(0x26a)]['create'](_0x3b1164,_0x277e73);_0x12c64b[_0x201957(0x5f7)]();let _0x314b62=new p[(_0x201957(0x1b4))](_0x201957(0x23d)+this[_0x201957(0x16c)],_0x12c64b,{'pageMarginLeft':0x0,'pageMarginTop':0x0});_0x314b62['resize'](_0x58506[_0x201957(0x452)],_0x58506[_0x201957(0x1cd)]),_0x3aacb5[_0x201957(0x5d8)](),_0x3aacb5['translateWithPrecision'](_0x58506[_0x201957(0x334)],_0x58506[_0x201957(0x22c)]),_0x3aacb5['beginPath'](),_0x3aacb5['rect'](0x0,0x0,_0x58506[_0x201957(0x452)],_0x58506[_0x201957(0x1cd)]),_0x3aacb5[_0x201957(0x602)](),_0x314b62['draw'](_0x3aacb5),_0x3aacb5[_0x201957(0x54a)](),_0x314b62[_0x201957(0x310)](),_0x12c64b[_0x201957(0x310)](),_0x3b1164[_0x201957(0x310)](),_0x1567d9[_0x201957(0x310)]();}[_0x32d26c(0x23a)](_0x1f2c14,_0xbb85ea,_0x414316=!0x1){const _0x1335c6=_0x32d26c;if(!this[_0x1335c6(0x2a2)])return this['makeDirty'](!0x1),this;let {width:_0x423994,height:_0x31091d,left:_0x374ebb,top:_0x5dfa7d}=this,_0xd46783=this[_0x1335c6(0x2d5)]();if(_0x423994=_0xd46783['width'],_0x31091d=_0xd46783['height'],_0x374ebb=_0xd46783['left'],_0x5dfa7d=_0xd46783[_0x1335c6(0x22c)],this[_0x1335c6(0x272)](_0xbb85ea)){let {top:_0xd65468,left:_0x120eda,bottom:_0x284b7b,right:_0x4949f1}=_0xbb85ea[_0x1335c6(0x50b)];if(_0x423994+this[_0x1335c6(0x45d)]+_0x374ebb<_0x120eda||_0x4949f1<_0x374ebb||_0x31091d+this[_0x1335c6(0x45d)]+_0x5dfa7d<_0xd65468||_0x284b7b<_0x5dfa7d)return this;}let _0x1911d7=_0x374ebb+_0x423994/0x2,_0x2b7727=_0x5dfa7d+_0x31091d/0x2,_0xd0267a=this['transform'][_0x1335c6(0x42d)]();if(this[_0x1335c6(0x131)][_0x1335c6(0x5f6)]){let _0x21496c=this[_0x1335c6(0x17d)](),_0x150c42=new p[(_0x1335c6(0x352))]();_0x150c42[_0x1335c6(0x1cf)]({..._0x21496c}),_0xd0267a=_0x150c42['getMatrix']();}return _0x1f2c14[_0x1335c6(0x5d8)](),this['_props'][_0x1335c6(0x39c)]['isRenderLinePointsMode']===!0x0||_0x1f2c14[_0x1335c6(0x245)](_0xd0267a[0x0],_0xd0267a[0x1],_0xd0267a[0x2],_0xd0267a[0x3],_0x1911d7,_0x2b7727),this[_0x1335c6(0x2ee)](_0x1f2c14,_0xbb85ea,_0x423994,_0x31091d),_0x1f2c14[_0x1335c6(0x54a)](),this[_0x1335c6(0x29e)](!0x1),this;}['getInverseCoord'](_0x5b6095){const _0x17a1bb=_0x32d26c;let {left:_0x4888f4,top:_0x214791,width:_0x1fb7a6,height:_0x25aace}=this[_0x17a1bb(0x2d5)](),_0x4cb484=this[_0x17a1bb(0x245)][_0x17a1bb(0x42d)](),_0x17a078=_0x4888f4+_0x1fb7a6/0x2,_0x52da42=_0x214791+_0x25aace/0x2,_0x31c758=new p[(_0x17a1bb(0x352))]([_0x4cb484[0x0],_0x4cb484[0x1],_0x4cb484[0x2],_0x4cb484[0x3],_0x17a078,_0x52da42]),_0x790e9d=this[_0x17a1bb(0x35a)]();return(this['isInGroup']&&(_0x790e9d==null?void 0x0:_0x790e9d[_0x17a1bb(0x353)])===p[_0x17a1bb(0x3aa)]['GROUP']?_0x790e9d[_0x17a1bb(0x273)][_0x17a1bb(0x13a)](_0x31c758):_0x31c758)[_0x17a1bb(0x29c)]()[_0x17a1bb(0x447)](_0x5b6095);}[_0x32d26c(0x5c5)](_0x7a5d0f){const _0x480d35=_0x32d26c;let {left:_0x3db7d5,top:_0x2f069c,width:_0x31c1ac,height:_0x2ad841}=this[_0x480d35(0x2d5)](),_0x19b2a9=_0x3db7d5+_0x31c1ac/0x2,_0x505ea4=_0x2f069c+_0x2ad841/0x2,_0x56eed2=this[_0x480d35(0x245)][_0x480d35(0x42d)](),_0x1bb657=new p[(_0x480d35(0x352))]([_0x56eed2[0x0],_0x56eed2[0x1],_0x56eed2[0x2],_0x56eed2[0x3],_0x19b2a9,_0x505ea4]),_0x279aea=this[_0x480d35(0x35a)](),_0x46223b=(this[_0x480d35(0x49d)]&&(_0x279aea==null?void 0x0:_0x279aea['classType'])===p[_0x480d35(0x3aa)][_0x480d35(0x237)]?_0x279aea['ancestorTransform']['multiply'](_0x1bb657):_0x1bb657)['invert']()[_0x480d35(0x447)](_0x7a5d0f),_0x5b71f8=_0x31c1ac/0x2,_0x167352=_0x2ad841/0x2,_0x3d501b=this[_0x480d35(0x131)][_0x480d35(0x39c)];return _0x3d501b&&_0x3d501b[_0x480d35(0x16d)]()?_0x3d501b[_0x480d35(0x1e3)](_0x46223b['x'],_0x46223b['y'],_0x31c1ac,_0x2ad841):_0x46223b['x']>=-_0x5b71f8-this[_0x480d35(0x45d)]/0x2&&_0x46223b['x']<=_0x5b71f8+this[_0x480d35(0x45d)]/0x2&&_0x46223b['y']>=-_0x167352-this[_0x480d35(0x45d)]/0x2&&_0x46223b['y']<=_0x167352+this[_0x480d35(0x45d)]/0x2;}[_0x32d26c(0x310)](){const _0x5bfd72=_0x32d26c;this[_0x5bfd72(0x131)][_0x5bfd72(0x39c)]=null,super[_0x5bfd72(0x310)]();}};function U(_0x29a48c,_0x16ceb7){return function(_0x488820,_0xf6124f){_0x16ceb7(_0x488820,_0xf6124f,_0x29a48c);};}function W(_0x44c322,_0x47ea18,_0x57273e,_0x4f82fc){const _0x3e0451=_0x32d26c;var _0x4a6366=arguments[_0x3e0451(0x296)],_0x479ae8=_0x4a6366<0x3?_0x47ea18:_0x4f82fc===null?_0x4f82fc=Object[_0x3e0451(0x57d)](_0x47ea18,_0x57273e):_0x4f82fc,_0x24e180;if(typeof Reflect==_0x3e0451(0x43e)&&typeof Reflect[_0x3e0451(0x270)]=='function')_0x479ae8=Reflect[_0x3e0451(0x270)](_0x44c322,_0x47ea18,_0x57273e,_0x4f82fc);else{for(var _0x54c550=_0x44c322['length']-0x1;_0x54c550>=0x0;_0x54c550--)(_0x24e180=_0x44c322[_0x54c550])&&(_0x479ae8=(_0x4a6366<0x3?_0x24e180(_0x479ae8):_0x4a6366>0x3?_0x24e180(_0x47ea18,_0x57273e,_0x479ae8):_0x24e180(_0x47ea18,_0x57273e))||_0x479ae8);}return _0x4a6366>0x3&&_0x479ae8&&Object[_0x3e0451(0x1a9)](_0x47ea18,_0x57273e,_0x479ae8),_0x479ae8;}let G=class extends u[_0x32d26c(0x15a)]{constructor(_0x316d09,_0x23f790,_0x3bff84,_0x44598a,_0x47bdc0,_0x1c8bcc){const _0x3e23b2=_0x32d26c;super(),this[_0x3e23b2(0x5f4)]=_0x316d09,this[_0x3e23b2(0x49a)]=_0x23f790,this[_0x3e23b2(0x4cb)]=_0x3bff84,this['_imageIoService']=_0x44598a,this[_0x3e23b2(0x5b9)]=_0x47bdc0,this['_shapeTextEditingService']=_0x1c8bcc;}[_0x32d26c(0x246)](_0x8889bd,_0x512a58){const _0x3e09e5=_0x32d26c;let {transform:_0x3163ee,drawingType:_0x4b3557,srcRect:_0x4a1e4a,prstGeom:_0x298b0d,groupId:_0x1f6509,unitId:_0x342044,subUnitId:_0x4528c7,drawingId:_0x2282d8,isMultiTransform:_0x10a390,transforms:_0x3f4f2d,hidden:_0x57f2e3}=_0x8889bd;if(_0x4b3557!==u[_0x3e09e5(0x1a0)][_0x3e09e5(0x4a6)]||!this['_drawingManagerService'][_0x3e09e5(0x1a3)]()||_0x3163ee==null)return;let _0x46e784=_0x10a390&&_0x3f4f2d?_0x3f4f2d:[_0x3163ee],_0x55482f=[];for(let _0x5c78fb of _0x46e784){let {left:_0x51ffbd,top:_0x27ca7b,width:_0x7eab5c,height:_0x235380,angle:_0x5e678f,flipX:_0x123117,flipY:_0x30c1d8,skewX:_0x9b40be,skewY:_0x2a2a10}=_0x5c78fb,_0x30ff9a=_0x46e784['indexOf'](_0x5c78fb),_0x60e4f2=(0x0,m[_0x3e09e5(0x299)])({'unitId':_0x342044,'subUnitId':_0x4528c7,'drawingId':_0x2282d8},_0x10a390?_0x30ff9a:void 0x0),_0x448cca=_0x512a58[_0x3e09e5(0x1ef)](_0x60e4f2);if(_0x448cca!=null){_0x448cca['transformByState']({'left':_0x51ffbd,'top':_0x27ca7b,'width':_0x7eab5c,'height':_0x235380,'angle':_0x5e678f,'flipX':_0x123117,'flipY':_0x30c1d8,'skewX':_0x9b40be,'skewY':_0x2a2a10});continue;}let _0x33a3de=this[_0x3e09e5(0x5f4)]['getDrawingOrder'](_0x342044,_0x4528c7),_0x4f2f63=_0x33a3de['indexOf'](_0x2282d8);if(_0x512a58['getObjectIncludeInGroup'](_0x60e4f2)||!this[_0x3e09e5(0x5f4)][_0x3e09e5(0x1a3)]())continue;let _0x280927=this[_0x3e09e5(0x49a)]['getShapeModel'](_0x342044,_0x4528c7,_0x2282d8);if(!_0x280927)continue;let _0x8ec3de=new H(_0x60e4f2,{...(0x0,c[_0x3e09e5(0x3f5)])(_0x280927[_0x3e09e5(0x170)]())?{..._0x5c78fb,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x5c78fb},'zIndex':_0x4f2f63===-0x1?_0x33a3de[_0x3e09e5(0x296)]-0x1:_0x4f2f63,'shapeModel':_0x280927,'localeService':this[_0x3e09e5(0x4cb)],'shapeId':_0x2282d8,'unitId':_0x342044,'subUnitId':_0x4528c7,'visible':_0x57f2e3!==!0x0});this[_0x3e09e5(0x19b)]((0x0,u['toDisposable'])(_0x8ec3de[_0x3e09e5(0x260)][_0x3e09e5(0x123)]((_0x269ab6,_0xefd69c)=>{const _0x3599f2=_0x3e09e5;_0x280927[_0x3599f2(0x16d)]()||(this[_0x3599f2(0x4a2)]['setEditing']({'visible':!0x0,'unitId':_0x342044,'subUnitId':_0x4528c7,'shapeId':_0x2282d8,'shapeKey':_0x8ec3de[_0x3599f2(0x16c)]}),_0xefd69c[_0x3599f2(0x50e)]());}))),_0x512a58[_0x3e09e5(0x513)](_0x8ec3de,p[_0x3e09e5(0x514)]),this['_drawingManagerService']['getDrawingEditable']()&&_0x512a58['attachTransformerTo'](_0x8ec3de),_0x1f6509&&(0x0,b[_0x3e09e5(0x378)])({'drawingId':_0x1f6509,'unitId':_0x342044,'subUnitId':_0x4528c7},_0x8ec3de,_0x512a58,this[_0x3e09e5(0x5f4)]),_0x298b0d!=null&&_0x8ec3de[_0x3e09e5(0x248)](_0x298b0d),_0x4a1e4a!=null&&_0x8ec3de[_0x3e09e5(0x562)](_0x4a1e4a),this['_loadShapePictureFill'](_0x8ec3de,_0x280927[_0x3e09e5(0x17f)]()),_0x55482f['push'](_0x8ec3de);}return _0x55482f;}[_0x32d26c(0x55d)](_0x3bd908){const _0x2bf94e=_0x32d26c;let _0x388de8=_0x3bd908[_0x2bf94e(0x39c)]['getShapeData'](),_0x5efa21=_0x388de8[_0x2bf94e(0x61d)];if(!_0x5efa21||_0x5efa21[_0x2bf94e(0x56e)]!==c[_0x2bf94e(0x516)][_0x2bf94e(0x360)]||!_0x5efa21[_0x2bf94e(0x278)]){_0x3bd908['setFillImage'](void 0x0);return;}this[_0x2bf94e(0x4f7)](_0x3bd908,_0x388de8);}[_0x32d26c(0x4f7)](_0x1ec5d9,_0x5f0117){const _0x42a16a=_0x32d26c;var _0x26c39b;let _0x33c037=_0x5f0117['fill'];if(!_0x33c037||_0x33c037['fillType']!==c['ShapeFillEnum']['PictureFill']||!_0x33c037[_0x42a16a(0x278)])return;let _0x2dc5f2=_0x33c037[_0x42a16a(0x278)],_0x3384a6=(_0x26c39b=_0x33c037[_0x42a16a(0x5f8)])==null?c[_0x42a16a(0x187)][_0x42a16a(0x141)]:_0x26c39b,_0x57a2b2=this['_imageIoService'][_0x42a16a(0x4c0)](_0x2dc5f2,_0x3384a6);if(_0x57a2b2){_0x1ec5d9[_0x42a16a(0x16e)](_0x57a2b2);return;}this[_0x42a16a(0x2cb)](_0x1ec5d9,_0x2dc5f2,_0x3384a6);}async['_loadAndSetImage'](_0x5ce87f,_0x100d90,_0xfc3726){const _0x511603=_0x32d26c;let _0x5f02b0;try{if(_0xfc3726===c[_0x511603(0x187)][_0x511603(0x3a2)])_0x5f02b0=await this[_0x511603(0x241)][_0x511603(0x18c)](_0x100d90);else{if(_0xfc3726===c[_0x511603(0x187)][_0x511603(0x141)])try{_0x5f02b0=await this['_urlImageService'][_0x511603(0x18c)](_0x100d90);}catch{_0x5f02b0=_0x100d90;}else _0x5f02b0=_0x100d90;}}catch(_0x562b5f){console[_0x511603(0x536)]('[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source',_0x562b5f);return;}let _0x51b238=new window['Image']();_0x51b238[_0x511603(0x217)]=()=>{const _0x549a0a=_0x511603;this[_0x549a0a(0x241)][_0x549a0a(0x238)](_0x100d90,_0xfc3726,_0x51b238),_0x5ce87f[_0x549a0a(0x16e)](_0x51b238);},_0x51b238[_0x511603(0x482)]=()=>{const _0x49a2c8=_0x511603;console[_0x49a2c8(0x536)](_0x49a2c8(0x2b3),_0x100d90);},_0x51b238[_0x511603(0x19d)]=_0x5f02b0;}};G=W([U(0x0,m['IDrawingManagerService']),U(0x1,(0x0,u[_0x32d26c(0x3f3)])(l['DocsShapeService'])),U(0x2,(0x0,u['Inject'])(u[_0x32d26c(0x1ba)])),U(0x3,m[_0x32d26c(0x479)]),U(0x4,u[_0x32d26c(0x31f)]),U(0x5,(0x0,u['Inject'])(R))],G);let K=class extends u[_0x32d26c(0x15a)]{constructor(_0x1cf85f,_0x5e5947,_0x3f31de,_0x3c1561){const _0x432cab=_0x32d26c;super(),this[_0x432cab(0x53c)]=_0x1cf85f,this[_0x432cab(0x5e7)]=_0x5e5947,this[_0x432cab(0x5f4)]=_0x3f31de,this['_docDrawingShapeRenderController']=_0x3c1561,this[_0x432cab(0x157)]();}['_initialize'](){const _0x3af567=_0x32d26c;this[_0x3af567(0x19b)](this[_0x3af567(0x5f4)][_0x3af567(0x5d2)][_0x3af567(0x1ae)](_0xa8b0ea=>this[_0x3af567(0x4f5)](_0xa8b0ea))),this['disposeWithMe'](this[_0x3af567(0x5f4)]['update$'][_0x3af567(0x1ae)](_0x161537=>{const _0x5e4a5e=_0x3af567;_0x161537[_0x5e4a5e(0x2fe)](_0x1e9208=>this[_0x5e4a5e(0x51a)](_0x1e9208));})),this[_0x3af567(0x19b)](this['_commandService'][_0x3af567(0x15f)](_0x35dea2=>{const _0x578507=_0x3af567;if(_0x35dea2['id']!==l[_0x578507(0x36d)]['id'])return;let {unitId:_0x502c1d,shapeId:_0x4def26}=_0x35dea2[_0x578507(0x2dd)];this[_0x578507(0x1b3)]({'unitId':_0x502c1d,'subUnitId':_0x502c1d,'drawingId':_0x4def26});}));}['updateShapeFillImage'](_0x63dbf4,_0x171b15){const _0x390690=_0x32d26c;let _0x9cbceb=this[_0x390690(0x5f5)](_0x63dbf4[_0x390690(0x400)]),_0x127047=(0x0,m[_0x390690(0x299)])(_0x63dbf4),_0x5d22bf=_0x9cbceb==null?void 0x0:_0x9cbceb[_0x390690(0x5bc)][_0x390690(0x1ef)](_0x127047);_0x5d22bf==null||_0x5d22bf[_0x390690(0x16e)](_0x171b15);}[_0x32d26c(0x4f5)](_0x1539b3){_0x1539b3['forEach'](_0xff6668=>{const _0x38e2ad=_0x4b85;var _0x2ababf;let _0xa295ff=this['_getSceneByUnitId'](_0xff6668[_0x38e2ad(0x400)]);if(!_0xa295ff)return;let _0x4d4062=this[_0x38e2ad(0x5f4)][_0x38e2ad(0x608)](_0xff6668);(_0x4d4062==null?void 0x0:_0x4d4062[_0x38e2ad(0x4e4)])===u['DrawingTypeEnum'][_0x38e2ad(0x4a6)]&&((0x0,c[_0x38e2ad(0x3f5)])((_0x2ababf=_0x4d4062[_0x38e2ad(0x357)])==null?void 0x0:_0x2ababf[_0x38e2ad(0x1c0)])&&_0x4d4062[_0x38e2ad(0x245)]&&(_0x4d4062['transform']={..._0x4d4062[_0x38e2ad(0x245)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}),this[_0x38e2ad(0x5f4)][_0x38e2ad(0x589)]([_0x4d4062]),this[_0x38e2ad(0x548)][_0x38e2ad(0x246)](_0x4d4062,_0xa295ff[_0x38e2ad(0x5bc)]));});}['_updateShape'](_0x49b134){const _0x2fff6b=_0x32d26c;let _0x56bca5=this['_drawingManagerService'][_0x2fff6b(0x608)](_0x49b134);if((_0x56bca5==null?void 0x0:_0x56bca5[_0x2fff6b(0x4e4)])!==u[_0x2fff6b(0x1a0)][_0x2fff6b(0x4a6)])return;let _0x29e33c=this[_0x2fff6b(0x5f5)](_0x49b134[_0x2fff6b(0x400)]);if(!_0x29e33c||_0x56bca5[_0x2fff6b(0x245)]==null)return;let _0x1e3631=(0x0,m[_0x2fff6b(0x299)])(_0x49b134),_0x477fcd=_0x29e33c['scene']['getObjectIncludeInGroup'](_0x1e3631);_0x477fcd&&(_0x477fcd[_0x2fff6b(0x562)](_0x56bca5['srcRect']),_0x477fcd[_0x2fff6b(0x248)](_0x56bca5[_0x2fff6b(0x1fb)]),_0x477fcd[_0x2fff6b(0x29e)](!0x0));}['_refreshShapeData'](_0x5385c6){const _0x1f2854=_0x32d26c;let _0x31c0cd=this[_0x1f2854(0x5f5)](_0x5385c6['unitId']);if(!_0x31c0cd)return;let _0xa98734=(0x0,m[_0x1f2854(0x299)])(_0x5385c6),_0x51bfbe=_0x31c0cd[_0x1f2854(0x5bc)][_0x1f2854(0x1ef)](_0xa98734);_0x51bfbe&&(this[_0x1f2854(0x548)][_0x1f2854(0x55d)](_0x51bfbe),_0x51bfbe[_0x1f2854(0x29e)](!0x0));}[_0x32d26c(0x5f5)](_0x31419b){const _0x29e235=_0x32d26c;if(_0x31419b==null)return null;let _0x35a41d=this[_0x29e235(0x5e7)][_0x29e235(0x15e)](_0x31419b),_0x4cff6e=_0x35a41d==null?void 0x0:_0x35a41d[_0x29e235(0x5bc)];return _0x4cff6e==null?null:{'scene':_0x4cff6e};}};K=W([U(0x0,u[_0x32d26c(0x54b)]),U(0x1,p['IRenderManagerService']),U(0x2,m[_0x32d26c(0x54d)]),U(0x3,(0x0,u[_0x32d26c(0x3f3)])(G))],K);function ne(_0x2f17ab){const _0x93f6ca=_0x32d26c;var _0x50f20b,_0x119716,_0x51e5b8,_0x53cea6,_0x36d3a3,_0x4023e4,_0x2783b9,_0x176097,_0x42a4bd,_0x2081a9,_0x33ea2,_0x121a00,_0x32df6c;let {unitId:_0x3ebcd7,subUnitId:_0x4919ec,shapeId:_0x2b0b18,shapeData:_0x123f42,disableShapeOption:_0x2a1e29}=_0x2f17ab,_0x1af162=(0x0,g['useDependency'])(u['LocaleService']),_0x49d220=(0x0,g[_0x93f6ca(0x637)])(u[_0x93f6ca(0x54b)]),_0x2bff4c=(0x0,g[_0x93f6ca(0x637)])(u[_0x93f6ca(0x1c7)]),_0x59b9a2=(0x0,g[_0x93f6ca(0x637)])(K),_0xd43689=(0x0,g[_0x93f6ca(0x637)])(m['IImageIoService']),_0x1f3084=(0x0,y['useRef'])(null),_0x5e13c1=_0x123f42[_0x93f6ca(0x61d)],_0x51fb0b=!!(_0x5e13c1!=null&&_0x5e13c1[_0x93f6ca(0x278)]),[_0x182353,_0x3cafab]=(0x0,y[_0x93f6ca(0x337)])((_0x50f20b=_0x5e13c1==null?void 0x0:_0x5e13c1[_0x93f6ca(0x60c)])==null?0x1:_0x50f20b),[_0x42d448,_0x16c176]=(0x0,y[_0x93f6ca(0x337)])((_0x119716=_0x5e13c1==null?void 0x0:_0x5e13c1['imageFillMode'])==null?c[_0x93f6ca(0x202)]['Stretch']:_0x119716),[_0x3a2b23,_0x5f10ca]=(0x0,y['useState'])((_0x51e5b8=_0x5e13c1==null?void 0x0:_0x5e13c1[_0x93f6ca(0x30e)])==null?!0x1:_0x51e5b8),[_0x569d89,_0x5cdfb0]=(0x0,y['useState'])((_0x53cea6=_0x5e13c1==null||(_0x36d3a3=_0x5e13c1[_0x93f6ca(0x5cb)])==null?void 0x0:_0x36d3a3['offsetX'])==null?0x0:_0x53cea6),[_0x487880,_0x56bdba]=(0x0,y[_0x93f6ca(0x337)])((_0x4023e4=_0x5e13c1==null||(_0x2783b9=_0x5e13c1[_0x93f6ca(0x5cb)])==null?void 0x0:_0x2783b9[_0x93f6ca(0x215)])==null?0x0:_0x4023e4),[_0x66f64b,_0x1ba276]=(0x0,y[_0x93f6ca(0x337)])((_0x176097=_0x5e13c1==null||(_0x42a4bd=_0x5e13c1[_0x93f6ca(0x5cb)])==null?void 0x0:_0x42a4bd[_0x93f6ca(0x32c)])==null?0x1:_0x176097),[_0x4b3cbb,_0x25e355]=(0x0,y[_0x93f6ca(0x337)])((_0x2081a9=_0x5e13c1==null||(_0x33ea2=_0x5e13c1[_0x93f6ca(0x5cb)])==null?void 0x0:_0x33ea2['scaleY'])==null?0x1:_0x2081a9),[_0x4a2174,_0x5b0a2f]=(0x0,y[_0x93f6ca(0x337)])((_0x121a00=_0x5e13c1==null||(_0x32df6c=_0x5e13c1['imageTile'])==null?void 0x0:_0x32df6c[_0x93f6ca(0x4eb)])==null?'tl':_0x121a00),_0x2d0287=_0x42d448===c[_0x93f6ca(0x202)][_0x93f6ca(0x1a4)],_0x4f7a3c=Math[_0x93f6ca(0x4e6)]((0x1-_0x182353)*0x64),_0x5c29a7=Math[_0x93f6ca(0x4e6)](_0x66f64b*0x64),_0xd65097=Math[_0x93f6ca(0x4e6)](_0x4b3cbb*0x64),_0x15af83=_0x506633=>_0x1af162['t'](_0x506633),_0x5e503e=[{'label':_0x15af83(_0x93f6ca(0x45b)),'value':'tl'},{'label':_0x15af83(_0x93f6ca(0x234)),'value':'t'},{'label':_0x15af83(_0x93f6ca(0x60a)),'value':'tr'},{'label':_0x15af83(_0x93f6ca(0x5da)),'value':'l'},{'label':_0x15af83('docs-shape-ui.fill.picture.align.ctr'),'value':'ctr'},{'label':_0x15af83(_0x93f6ca(0x3bf)),'value':'r'},{'label':_0x15af83(_0x93f6ca(0x382)),'value':'bl'},{'label':_0x15af83(_0x93f6ca(0x1fa)),'value':'b'},{'label':_0x15af83(_0x93f6ca(0x443)),'value':'br'}],_0x44cdb0=_0x2c1baa=>{z(_0x49d220,_0x3ebcd7,_0x4919ec,_0x2b0b18,{'oldShapeData':{'fill':_0x5e13c1?{..._0x5e13c1}:void 0x0}},{'fill':{..._0x5e13c1,..._0x2c1baa}});},_0x3de978=_0x543c32=>{_0x44cdb0({'imageTile':{..._0x5e13c1==null?void 0x0:_0x5e13c1['imageTile'],..._0x543c32}});},_0x261da1=()=>{const _0x5b742a=_0x93f6ca;var _0x5c8f2c;return(_0x5c8f2c=_0x1f3084['current'])==null?void 0x0:_0x5c8f2c[_0x5b742a(0x19c)]();},_0x54ca39=async _0x1e04f3=>{const _0x383a84=_0x93f6ca;var _0x1da6e8;let _0x2c1342=(_0x1da6e8=_0x1e04f3[_0x383a84(0x319)][_0x383a84(0x3ab)])==null?void 0x0:_0x1da6e8[0x0];if(!_0x2c1342)return;_0x1e04f3[_0x383a84(0x319)]['value']='';let _0x23b607=await _0xd43689[_0x383a84(0x258)](_0x2c1342);if(_0x23b607==null)return;let {imageSourceType:_0xcfce12,source:_0x14483f,base64Cache:_0x17a0cc}=_0x23b607,{image:_0x12ba2c}=await(0x0,m['getImageSize'])(_0x17a0cc||'');_0xd43689[_0x383a84(0x238)](_0x14483f,_0xcfce12,_0x12ba2c),z(_0x49d220,_0x3ebcd7,_0x4919ec,_0x2b0b18,{'oldShapeData':{'fill':_0x5e13c1?{..._0x5e13c1}:void 0x0}},{'fill':{..._0x5e13c1,'fillType':c['ShapeFillEnum']['PictureFill'],'fillImageSource':_0x14483f,'fillImageSourceType':_0xcfce12}}),_0x59b9a2['updateShapeFillImage']({'unitId':_0x3ebcd7,'subUnitId':_0x4919ec,'drawingId':_0x2b0b18},_0x12ba2c);},_0x58decd='univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200',_0x2782cb=_0x93f6ca(0x220);return(0x0,x[_0x93f6ca(0x1fc)])(_0x93f6ca(0x259),{'className':_0x93f6ca(0x620),'children':[(0x0,x[_0x93f6ca(0x1fc)])('div',{'className':_0x93f6ca(0x35b),'children':[(0x0,x['jsx'])(_0x93f6ca(0x363),{'className':_0x58decd,'children':_0x15af83('docs-shape-ui.fill.picture.source')}),(0x0,x[_0x93f6ca(0x1fc)])(_0x93f6ca(0x259),{'className':_0x93f6ca(0x526),'children':[(0x0,x[_0x93f6ca(0x186)])('input',{'ref':_0x1f3084,'type':'file','accept':_0x93f6ca(0x609),'className':_0x93f6ca(0x4cd),'onChange':_0x54ca39}),(0x0,x['jsxs'])('div',{'className':_0x93f6ca(0x2f0),'children':[(0x0,x[_0x93f6ca(0x186)])(_0x93f6ca(0x283),{'type':_0x93f6ca(0x283),'disabled':_0x2a1e29,'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':_0x261da1,'children':(0x0,x[_0x93f6ca(0x1fc)])(_0x93f6ca(0x363),{'children':[_0x15af83('docs-shape-ui.fill.picture.insert'),'\x20']})}),_0x51fb0b&&(0x0,x[_0x93f6ca(0x186)])(_0x93f6ca(0x259),{'className':_0x93f6ca(0x19a),'children':(0x0,x[_0x93f6ca(0x186)])('img',{'src':_0x5e13c1==null?void 0x0:_0x5e13c1[_0x93f6ca(0x278)],'alt':'','className':_0x93f6ca(0x580)})})]})]})]}),(0x0,x[_0x93f6ca(0x1fc)])(_0x93f6ca(0x259),{'className':_0x2782cb,'children':[(0x0,x['jsx'])(_0x93f6ca(0x363),{'className':_0x58decd,'children':_0x15af83(_0x93f6ca(0x586))}),(0x0,x['jsx'])(_0x93f6ca(0x259),{'className':_0x93f6ca(0x27d),'children':(0x0,x[_0x93f6ca(0x186)])(v[_0x93f6ca(0x3a5)],{'className':_0x93f6ca(0x2c1),'value':_0x4f7a3c,'disabled':_0x2a1e29,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x3a8f8c=>_0x3a8f8c+'%','parser':_0x541cc5=>(_0x541cc5==null?void 0x0:_0x541cc5[_0x93f6ca(0x142)]('%',''))||'','onChange':_0x1be353=>{const _0x40afb3=_0x93f6ca;let _0x314579=(0x64-Math[_0x40afb3(0x129)](0x0,Math[_0x40afb3(0x4fa)](0x64,_0x1be353==null?0x0:_0x1be353)))/0x64;_0x3cafab(_0x314579),_0x44cdb0({'imageOpacity':_0x314579}),_0x2bff4c[_0x40afb3(0x616)](u['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x2bff4c[_0x93f6ca(0x616)](u['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x2bff4c['setContextValue'](u[_0x93f6ca(0x4f4)],!0x1)})})]}),(0x0,x[_0x93f6ca(0x186)])(v['Checkbox'],{'checked':_0x2d0287,'disabled':_0x2a1e29,'onChange':_0x462320=>{const _0x121643=_0x93f6ca;let _0x5d16ef=_0x462320?c[_0x121643(0x202)][_0x121643(0x1a4)]:c[_0x121643(0x202)][_0x121643(0x2cd)];_0x16c176(_0x5d16ef),_0x44cdb0({'imageFillMode':_0x5d16ef});},'children':(0x0,x[_0x93f6ca(0x186)])(_0x93f6ca(0x363),{'className':_0x93f6ca(0x566),'children':_0x15af83('docs-shape-ui.fill.picture.tileAsTexture')})}),_0x2d0287&&(0x0,x['jsxs'])('div',{'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[_0x93f6ca(0x1fc)])('div',{'className':_0x2782cb,'children':[(0x0,x['jsx'])(_0x93f6ca(0x363),{'className':_0x58decd,'children':_0x15af83(_0x93f6ca(0x473))}),(0x0,x[_0x93f6ca(0x186)])('div',{'className':_0x93f6ca(0x27d),'children':(0x0,x[_0x93f6ca(0x186)])(v[_0x93f6ca(0x3a5)],{'className':_0x93f6ca(0x2c1),'value':_0x569d89,'disabled':_0x2a1e29,'step':0x1,'onChange':_0x5b5eb6=>{_0x3de978({'offsetX':_0x5b5eb6==null?0x0:_0x5b5eb6}),_0x5cdfb0(_0x5b5eb6==null?0x0:_0x5b5eb6);},'onFocus':()=>_0x2bff4c['setContextValue'](u[_0x93f6ca(0x4f4)],!0x0),'onBlur':()=>_0x2bff4c[_0x93f6ca(0x616)](u[_0x93f6ca(0x4f4)],!0x1)})})]}),(0x0,x[_0x93f6ca(0x1fc)])('div',{'className':_0x2782cb,'children':[(0x0,x['jsx'])(_0x93f6ca(0x363),{'className':_0x58decd,'children':_0x15af83(_0x93f6ca(0x4b9))}),(0x0,x[_0x93f6ca(0x186)])('div',{'className':'univer-w-20','children':(0x0,x[_0x93f6ca(0x186)])(v[_0x93f6ca(0x3a5)],{'className':_0x93f6ca(0x2c1),'value':_0x487880,'disabled':_0x2a1e29,'step':0x1,'onChange':_0x3bffce=>{_0x3de978({'offsetY':_0x3bffce==null?0x0:_0x3bffce}),_0x56bdba(_0x3bffce==null?0x0:_0x3bffce);},'onFocus':()=>_0x2bff4c['setContextValue'](u['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x2bff4c[_0x93f6ca(0x616)](u[_0x93f6ca(0x4f4)],!0x1)})})]}),(0x0,x[_0x93f6ca(0x1fc)])(_0x93f6ca(0x259),{'className':_0x2782cb,'children':[(0x0,x[_0x93f6ca(0x186)])(_0x93f6ca(0x363),{'className':_0x58decd,'children':_0x15af83(_0x93f6ca(0x4c7))}),(0x0,x['jsx'])('div',{'className':_0x93f6ca(0x27d),'children':(0x0,x[_0x93f6ca(0x186)])(v[_0x93f6ca(0x3a5)],{'className':_0x93f6ca(0x2c1),'value':_0x5c29a7,'disabled':_0x2a1e29,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x1a4a13=>_0x1a4a13+'%','parser':_0xcfe392=>(_0xcfe392==null?void 0x0:_0xcfe392['replace']('%',''))||'','onChange':_0x3dd8df=>{const _0x3475bb=_0x93f6ca;let _0x4d7f8e=Math[_0x3475bb(0x129)](0.01,(_0x3dd8df==null?0x64:_0x3dd8df)/0x64);_0x1ba276(_0x4d7f8e),_0x3de978({'scaleX':_0x4d7f8e}),_0x2bff4c[_0x3475bb(0x616)](u['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x2bff4c['setContextValue'](u[_0x93f6ca(0x4f4)],!0x0),'onBlur':()=>_0x2bff4c[_0x93f6ca(0x616)](u[_0x93f6ca(0x4f4)],!0x1)})})]}),(0x0,x['jsxs'])(_0x93f6ca(0x259),{'className':_0x2782cb,'children':[(0x0,x[_0x93f6ca(0x186)])(_0x93f6ca(0x363),{'className':_0x58decd,'children':_0x15af83(_0x93f6ca(0x57f))}),(0x0,x[_0x93f6ca(0x186)])('div',{'className':_0x93f6ca(0x27d),'children':(0x0,x[_0x93f6ca(0x186)])(v[_0x93f6ca(0x3a5)],{'className':_0x93f6ca(0x2c1),'value':_0xd65097,'disabled':_0x2a1e29,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x5e1d43=>_0x5e1d43+'%','parser':_0x4dca93=>(_0x4dca93==null?void 0x0:_0x4dca93['replace']('%',''))||'','onChange':_0x53a76d=>{const _0x58e51d=_0x93f6ca;let _0x466b73=Math[_0x58e51d(0x129)](0.01,(_0x53a76d==null?0x64:_0x53a76d)/0x64);_0x25e355(_0x466b73),_0x3de978({'scaleY':_0x466b73}),_0x2bff4c['setContextValue'](u['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x2bff4c['setContextValue'](u[_0x93f6ca(0x4f4)],!0x0),'onBlur':()=>_0x2bff4c[_0x93f6ca(0x616)](u[_0x93f6ca(0x4f4)],!0x1)})})]}),(0x0,x[_0x93f6ca(0x1fc)])(_0x93f6ca(0x259),{'className':_0x2782cb,'children':[(0x0,x['jsx'])('span',{'className':_0x58decd,'children':_0x15af83('docs-shape-ui.fill.picture.alignment')}),(0x0,x[_0x93f6ca(0x186)])(_0x93f6ca(0x259),{'className':'univer-w-28','children':(0x0,x[_0x93f6ca(0x186)])(v[_0x93f6ca(0x475)],{'className':'univer-w-full','value':_0x4a2174,'options':_0x5e503e,'disabled':_0x2a1e29,'onChange':_0x45cb0f=>{_0x5b0a2f(_0x45cb0f),_0x3de978({'alignment':_0x45cb0f});}})})]})]}),(0x0,x['jsx'])(v[_0x93f6ca(0x499)],{'checked':_0x3a2b23,'disabled':_0x2a1e29,'onChange':_0x5e51dc=>{_0x5f10ca(_0x5e51dc),_0x44cdb0({'imageRotateWithShape':_0x5e51dc});},'children':(0x0,x[_0x93f6ca(0x186)])(_0x93f6ca(0x363),{'className':_0x93f6ca(0x566),'children':_0x15af83(_0x93f6ca(0x229))})})]});}function re(_0x5c498d){const _0x2f6d72=_0x32d26c;var _0x36625b,_0x1b69d9;return(_0x36625b=(_0x1b69d9=_0x5c498d[_0x2f6d72(0x61d)])==null?void 0x0:_0x1b69d9[_0x2f6d72(0x56e)])==null?c['ShapeFillEnum'][_0x2f6d72(0x476)]:_0x36625b;}function ie(_0x35cab3){const _0x416a0e=_0x32d26c;var _0x1ba49f,_0x4b88f5,_0x183d6b,_0x34c0aa;let _0x1e68ab=(0x0,g[_0x416a0e(0x637)])(u[_0x416a0e(0x1ba)]),_0xd3a331=(0x0,g[_0x416a0e(0x637)])(u[_0x416a0e(0x54b)]),_0x258de0=(0x0,g['useDependency'])(u[_0x416a0e(0x1c7)]),{shapeData:_0x37ab2a,isLineShape:_0x1ffabc,unitId:_0x5c3478,subUnitId:_0x38701d,shapeId:_0x550d35,disableShapeOption:_0x9cee33}=_0x35cab3,[_0x59b936,_0x50951d]=(0x0,y[_0x416a0e(0x337)])(re(_0x37ab2a)),[_0x37ce37,_0x2c60f0]=(0x0,y[_0x416a0e(0x337)])((_0x1ba49f=(_0x4b88f5=_0x37ab2a[_0x416a0e(0x61d)])==null?void 0x0:_0x4b88f5[_0x416a0e(0x304)])==null?c[_0x416a0e(0x5a4)][_0x416a0e(0x61d)]:_0x1ba49f),[_0x2510d1,_0x11c9d5]=(0x0,y[_0x416a0e(0x337)])((_0x183d6b=(_0x34c0aa=_0x37ab2a['fill'])==null?void 0x0:_0x34c0aa[_0x416a0e(0x5e6)])==null?0x1:_0x183d6b),[_0x1cbe94,_0x1f5c21]=(0x0,y['useState'])(!0x1);if(_0x1ffabc)return null;let _0x56b966=0x64-_0x2510d1*0x64;return(0x0,x[_0x416a0e(0x1fc)])(_0x416a0e(0x259),{'className':_0x416a0e(0x414),'children':[(0x0,x[_0x416a0e(0x1fc)])(v[_0x416a0e(0x56a)],{'value':_0x59b936,'disabled':_0x9cee33,'onChange':_0xa137ab=>{const _0x1d0cec=_0x416a0e;var _0x2b1ae2;z(_0xd3a331,_0x5c3478,_0x38701d,_0x550d35,{'oldShapeData':{'fill':{'fillType':(_0x2b1ae2=_0x37ab2a[_0x1d0cec(0x61d)])==null?void 0x0:_0x2b1ae2[_0x1d0cec(0x56e)]}}},{'fill':{'fillType':_0xa137ab}}),_0x50951d(_0xa137ab);},'direction':'vertical','children':[(0x0,x[_0x416a0e(0x186)])(v[_0x416a0e(0x46c)],{'value':c[_0x416a0e(0x516)][_0x416a0e(0x476)],'children':(0x0,x[_0x416a0e(0x186)])('span',{'className':_0x416a0e(0x566),'children':_0x1e68ab['t'](_0x416a0e(0x3fe))})}),(0x0,x['jsx'])(v[_0x416a0e(0x46c)],{'value':c[_0x416a0e(0x516)]['SolidFill'],'children':(0x0,x['jsx'])(_0x416a0e(0x363),{'className':_0x416a0e(0x566),'children':_0x1e68ab['t']('docs-shape-ui.fill.solidFill')})}),(0x0,x['jsx'])(v[_0x416a0e(0x46c)],{'value':c['ShapeFillEnum'][_0x416a0e(0x2a3)],'children':(0x0,x[_0x416a0e(0x186)])('span',{'className':_0x416a0e(0x566),'children':_0x1e68ab['t'](_0x416a0e(0x269))})}),(0x0,x[_0x416a0e(0x186)])(v[_0x416a0e(0x46c)],{'value':c[_0x416a0e(0x516)][_0x416a0e(0x360)],'children':(0x0,x['jsx'])('span',{'className':_0x416a0e(0x566),'children':_0x1e68ab['t'](_0x416a0e(0x40b))})})]}),_0x59b936===c[_0x416a0e(0x516)][_0x416a0e(0x409)]&&(0x0,x['jsxs'])(_0x416a0e(0x259),{'className':_0x416a0e(0x2c0),'children':[(0x0,x[_0x416a0e(0x1fc)])(_0x416a0e(0x259),{'className':_0x416a0e(0x467),'children':[(0x0,x['jsx'])(_0x416a0e(0x363),{'className':_0x416a0e(0x4ee),'children':_0x1e68ab['t'](_0x416a0e(0x457))}),(0x0,x[_0x416a0e(0x186)])(v[_0x416a0e(0x152)],{'disabled':_0x9cee33,'overlay':(0x0,x[_0x416a0e(0x186)])(_0x416a0e(0x259),{'className':'univer-rounded-lg\x20univer-p-3','children':(0x0,x[_0x416a0e(0x186)])(v[_0x416a0e(0x284)],{'value':_0x37ce37,'onChange':_0x2e3e6c=>{const _0x4a5193=_0x416a0e;var _0x4cf7ca;z(_0xd3a331,_0x5c3478,_0x38701d,_0x550d35,{'oldShapeData':{'fill':{'color':(_0x4cf7ca=_0x37ab2a[_0x4a5193(0x61d)])==null?void 0x0:_0x4cf7ca[_0x4a5193(0x304)]}}},{'fill':{'color':_0x2e3e6c}}),_0x2c60f0(_0x2e3e6c),_0x1f5c21(!0x1);}})}),'open':_0x1cbe94,'onOpenChange':_0x1f5c21,'children':(0x0,x[_0x416a0e(0x1fc)])('a',{'className':_0x416a0e(0x3df),'children':[(0x0,x['jsx'])(h[_0x416a0e(0x330)],{'className':_0x416a0e(0x5be),'extend':{'colorChannel1':_0x37ce37}}),(0x0,x['jsx'])(h['MoreDownIcon'],{'className':(0x0,v[_0x416a0e(0x26c)])(_0x416a0e(0x3ba),{'univer-rotate-180':_0x1cbe94})})]})})]}),(0x0,x[_0x416a0e(0x1fc)])(_0x416a0e(0x259),{'className':_0x416a0e(0x220),'children':[(0x0,x[_0x416a0e(0x186)])(_0x416a0e(0x363),{'className':_0x416a0e(0x138),'children':_0x1e68ab['t'](_0x416a0e(0x586))}),(0x0,x[_0x416a0e(0x186)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':(0x0,x[_0x416a0e(0x186)])(_0x416a0e(0x259),{'className':_0x416a0e(0x27d),'children':(0x0,x['jsx'])(v[_0x416a0e(0x3a5)],{'className':_0x416a0e(0x2c1),'value':_0x56b966,'disabled':_0x9cee33,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x1c89ab=>_0x1c89ab+'%','parser':_0x553d13=>(_0x553d13==null?void 0x0:_0x553d13[_0x416a0e(0x142)]('%',''))||'','onChange':_0x440e86=>{const _0x3b4c82=_0x416a0e;let _0xe65448=(0x64-Math[_0x3b4c82(0x129)](0x0,Math[_0x3b4c82(0x4fa)](0x64,_0x440e86==null?0x0:_0x440e86)))/0x64;_0x11c9d5(_0xe65448),z(_0xd3a331,_0x5c3478,_0x38701d,_0x550d35,{'oldShapeData':{'fill':{..._0x37ab2a['fill'],'fillType':_0x59b936}}},{'fill':{..._0x37ab2a[_0x3b4c82(0x61d)],'fillType':_0x59b936,'opacity':_0xe65448}}),_0x258de0[_0x3b4c82(0x616)](u['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x258de0['setContextValue'](u[_0x416a0e(0x4f4)],!0x0),'onBlur':()=>{const _0x3f949b=_0x416a0e;_0x258de0[_0x3f949b(0x616)](u['FOCUSING_PANEL_EDITOR'],!0x1);}})})})]})]}),_0x59b936===c[_0x416a0e(0x516)][_0x416a0e(0x2a3)]&&(0x0,x[_0x416a0e(0x186)])(J,{'shapeData':_0x37ab2a,'disableShapeOption':_0x9cee33,'onUpdate':_0x5e631a=>{const _0x1846ad=_0x416a0e;z(_0xd3a331,_0x5c3478,_0x38701d,_0x550d35,{'oldShapeData':{'fill':{..._0x37ab2a[_0x1846ad(0x61d)]}}},{'fill':{..._0x37ab2a['fill'],..._0x5e631a}});}}),_0x59b936===c[_0x416a0e(0x516)][_0x416a0e(0x360)]&&(0x0,x['jsx'])(ne,{'unitId':_0x5c3478,'subUnitId':_0x38701d,'shapeId':_0x550d35,'shapeData':_0x37ab2a,'disableShapeOption':_0x9cee33})]});}function q(_0x4124c8){const _0x45fd85=_0x32d26c;switch(_0x4124c8){case c[_0x45fd85(0x550)][_0x45fd85(0x12f)]:return'linear';case c['ShapeGradientTypeEnum']['Radial']:return'radial';case c['ShapeGradientTypeEnum'][_0x45fd85(0x52c)]:return _0x45fd85(0x5e3);case c[_0x45fd85(0x550)][_0x45fd85(0x3ce)]:return _0x45fd85(0x4d3);default:return _0x45fd85(0x1ee);}}function ae(_0x5a446e){const _0x3714bb=_0x32d26c;switch(_0x5a446e){case'linear':return c[_0x3714bb(0x550)][_0x3714bb(0x12f)];case _0x3714bb(0x517):return c[_0x3714bb(0x550)][_0x3714bb(0x4ec)];case _0x3714bb(0x5e3):return c[_0x3714bb(0x550)][_0x3714bb(0x52c)];case _0x3714bb(0x4d3):return c[_0x3714bb(0x550)][_0x3714bb(0x3ce)];default:return c[_0x3714bb(0x550)][_0x3714bb(0x12f)];}}function J(_0x218756){const _0x227c1f=_0x32d26c;let {shapeData:_0x14a5d0,disableShapeOption:_0xc94e4c,onUpdate:_0x5b9933}=_0x218756,_0x3e5eca=(0x0,y[_0x227c1f(0x5ae)])(()=>{const _0x597ad0=_0x227c1f;var _0x525da2;let _0x523c88=_0x14a5d0[_0x597ad0(0x61d)];return{'type':q(_0x523c88==null?void 0x0:_0x523c88['gradientType']),'angle':(_0x525da2=_0x523c88==null?void 0x0:_0x523c88[_0x597ad0(0x429)])==null?0x5a:_0x525da2,'stops':_0x523c88!=null&&_0x523c88[_0x597ad0(0x3fd)]&&_0x523c88[_0x597ad0(0x3fd)][_0x597ad0(0x296)]>=0x2?_0x523c88[_0x597ad0(0x3fd)][_0x597ad0(0x230)](_0xc44f14=>({'color':_0xc44f14['color'],'offset':_0xc44f14[_0x597ad0(0x2da)]*0x64})):[{'color':(_0x523c88==null?void 0x0:_0x523c88['color'])||'#ffffff','offset':0x0},{'color':'#000000','offset':0x64}]};},[_0x14a5d0[_0x227c1f(0x61d)]]);return(0x0,x['jsx'])('div',{'className':'univer-pt-2','children':(0x0,x[_0x227c1f(0x186)])(v[_0x227c1f(0x2b5)],{'value':_0x3e5eca,'onChange':_0x2eb5c1=>{const _0x575a0f=_0x227c1f;let _0x1e37ab=ae(_0x2eb5c1[_0x575a0f(0x280)]),_0x57e63a=_0x2eb5c1[_0x575a0f(0x41a)];_0x5b9933({'gradientType':_0x1e37ab,'gradientAngle':_0x57e63a,'gradientStops':_0x2eb5c1[_0x575a0f(0x4d5)][_0x575a0f(0x230)](_0x53f0a1=>({'color':_0x53f0a1[_0x575a0f(0x304)],'position':_0x53f0a1[_0x575a0f(0x340)]/0x64}))});}})});}function oe(_0x45b981){const _0x454d0c=_0x32d26c;var _0x59ec69,_0x382b73,_0xafc95,_0x318b07,_0x264aa8,_0x2fd5ff,_0x1b6fb3,_0x50bb13,_0x4eb155,_0x203f1a,_0x4b5dd0,_0x240790,_0x34885c,_0x52cb89,_0x110fa8,_0x5ca765;let _0x48f887=(0x0,g[_0x454d0c(0x637)])(u[_0x454d0c(0x1ba)]),_0x5f0014=(0x0,g[_0x454d0c(0x637)])(u['ICommandService']),_0x4d2bec=(0x0,g['useDependency'])(u[_0x454d0c(0x1c7)]),{shapeData:_0x16e9ab,isLineShape:_0x418802,unitId:_0x1939dc,subUnitId:_0x4def59,shapeId:_0x2eb703,disableShapeOption:_0x3928e7}=_0x45b981,_0x43787f=_0x16e9ab[_0x454d0c(0x28f)],[_0x5f0ebd,_0x1d1569]=(0x0,y[_0x454d0c(0x337)])((_0x59ec69=_0x43787f==null?void 0x0:_0x43787f[_0x454d0c(0x252)])==null?c[_0x454d0c(0x21a)][_0x454d0c(0x398)]:_0x59ec69),[_0x6ff3a4,_0x1c9141]=(0x0,y[_0x454d0c(0x337)])((_0x382b73=_0x43787f==null?void 0x0:_0x43787f['color'])==null?c[_0x454d0c(0x5a4)][_0x454d0c(0x28f)]:_0x382b73),[_0x352652,_0x140d13]=(0x0,y[_0x454d0c(0x337)])((_0xafc95=_0x43787f==null?void 0x0:_0x43787f[_0x454d0c(0x5e6)])==null?0x1:_0xafc95),[_0x1663f8,_0x2707dc]=(0x0,y[_0x454d0c(0x337)])((_0x318b07=_0x43787f==null?void 0x0:_0x43787f[_0x454d0c(0x452)])==null?c[_0x454d0c(0x5a4)][_0x454d0c(0x45d)]:_0x318b07),[_0xb2e954,_0x10dd0b]=(0x0,y[_0x454d0c(0x337)])((_0x264aa8=_0x43787f==null?void 0x0:_0x43787f[_0x454d0c(0x374)])==null?c[_0x454d0c(0x2cf)][_0x454d0c(0x3b6)]:_0x264aa8),[_0x19f789,_0x4c2091]=(0x0,y[_0x454d0c(0x337)])((_0x2fd5ff=_0x43787f==null?void 0x0:_0x43787f[_0x454d0c(0x2d0)])==null?c[_0x454d0c(0x3a1)][_0x454d0c(0x50c)]:_0x2fd5ff),[_0x270222,_0x11fc4f]=(0x0,y[_0x454d0c(0x337)])((_0x1b6fb3=_0x43787f==null?void 0x0:_0x43787f[_0x454d0c(0x621)])==null?c[_0x454d0c(0x1ad)][_0x454d0c(0x5a9)]:_0x1b6fb3),[_0x3a0076,_0x37dc9b]=(0x0,y['useState'])((_0x50bb13=_0x43787f==null?void 0x0:_0x43787f[_0x454d0c(0x2ea)])==null?c[_0x454d0c(0x2f1)][_0x454d0c(0x4b4)]:_0x50bb13),_0x11b03a=_0x16e9ab,[_0x83f746,_0x32d119]=(0x0,y[_0x454d0c(0x337)])((_0x4eb155=(_0x203f1a=_0x11b03a['ln'])==null||(_0x203f1a=_0x203f1a['startArrow'])==null?void 0x0:_0x203f1a['type'])==null?c[_0x454d0c(0x556)][_0x454d0c(0x4b4)]:_0x4eb155),[_0x18a964,_0x19daec]=(0x0,y['useState'])((_0x4b5dd0=(_0x240790=_0x11b03a['ln'])==null||(_0x240790=_0x240790['startArrow'])==null?void 0x0:_0x240790[_0x454d0c(0x2be)])==null?c['ShapeArrowSizeEnum'][_0x454d0c(0x524)]:_0x4b5dd0),[_0x306876,_0x12da8e]=(0x0,y['useState'])((_0x34885c=(_0x52cb89=_0x11b03a['ln'])==null||(_0x52cb89=_0x52cb89[_0x454d0c(0x22e)])==null?void 0x0:_0x52cb89[_0x454d0c(0x280)])==null?c['ShapeArrowTypeEnum'][_0x454d0c(0x4b4)]:_0x34885c),[_0x21a11d,_0x4a2930]=(0x0,y['useState'])((_0x110fa8=(_0x5ca765=_0x11b03a['ln'])==null||(_0x5ca765=_0x5ca765[_0x454d0c(0x22e)])==null?void 0x0:_0x5ca765['size'])==null?c[_0x454d0c(0x626)][_0x454d0c(0x524)]:_0x110fa8),[_0x3d936b,_0x481a6]=(0x0,y[_0x454d0c(0x337)])(!0x1),_0x5175ca=0x64-_0x352652*0x64,_0x22d764=[{'label':_0x48f887['t'](_0x454d0c(0x464)),'value':String(c[_0x454d0c(0x2cf)][_0x454d0c(0x3b6)])},{'label':_0x48f887['t'](_0x454d0c(0x3f9)),'value':String(c[_0x454d0c(0x2cf)]['RoundDot'])},{'label':_0x48f887['t'](_0x454d0c(0x5ef)),'value':String(c[_0x454d0c(0x2cf)]['SquareDot'])},{'label':_0x48f887['t']('docs-shape-ui.line.dashType.dash'),'value':String(c[_0x454d0c(0x2cf)][_0x454d0c(0x60d)])},{'label':_0x48f887['t']('docs-shape-ui.line.dashType.dashDot'),'value':String(c[_0x454d0c(0x2cf)][_0x454d0c(0x483)])},{'label':_0x48f887['t'](_0x454d0c(0x1eb)),'value':String(c[_0x454d0c(0x2cf)][_0x454d0c(0x264)])},{'label':_0x48f887['t'](_0x454d0c(0x3d1)),'value':String(c[_0x454d0c(0x2cf)][_0x454d0c(0x1d6)])},{'label':_0x48f887['t'](_0x454d0c(0x34f)),'value':String(c[_0x454d0c(0x2cf)]['LongDashDotDot'])}],_0x45c0dd=[{'label':_0x48f887['t'](_0x454d0c(0x3f0)),'value':String(c[_0x454d0c(0x3a1)][_0x454d0c(0x50c)])},{'label':_0x48f887['t']('docs-shape-ui.line.capType.round'),'value':String(c['ShapeLineCapEnum'][_0x454d0c(0x42b)])},{'label':_0x48f887['t'](_0x454d0c(0x1d9)),'value':String(c[_0x454d0c(0x3a1)][_0x454d0c(0x291)])}],_0x366836=[{'label':_0x48f887['t'](_0x454d0c(0x49e)),'value':String(c['ShapeSketchTypeEnum'][_0x454d0c(0x4b4)])},{'label':_0x48f887['t']('docs-shape-ui.line.sketchType.curved'),'value':String(c[_0x454d0c(0x2f1)][_0x454d0c(0x4d1)])},{'label':_0x48f887['t'](_0x454d0c(0x247)),'value':String(c['ShapeSketchTypeEnum'][_0x454d0c(0x4ce)])},{'label':_0x48f887['t'](_0x454d0c(0x27a)),'value':String(c['ShapeSketchTypeEnum']['HandDrawn'])}],_0x4d71e1=[{'label':_0x48f887['t'](_0x454d0c(0x1d1)),'value':String(c[_0x454d0c(0x1ad)]['Miter'])},{'label':_0x48f887['t']('docs-shape-ui.line.joinType.round'),'value':String(c['ShapeLineJoinEnum'][_0x454d0c(0x42b)])},{'label':_0x48f887['t'](_0x454d0c(0x1d5)),'value':String(c[_0x454d0c(0x1ad)][_0x454d0c(0x117)])}],_0x179ad1=[{'label':_0x48f887['t'](_0x454d0c(0x59a)),'value':String(c[_0x454d0c(0x556)][_0x454d0c(0x4b4)])},{'label':_0x48f887['t'](_0x454d0c(0x427)),'value':String(c['ShapeArrowTypeEnum'][_0x454d0c(0x598)])},{'label':_0x48f887['t'](_0x454d0c(0x388)),'value':String(c[_0x454d0c(0x556)][_0x454d0c(0x18e)])},{'label':_0x48f887['t'](_0x454d0c(0x24a)),'value':String(c[_0x454d0c(0x556)][_0x454d0c(0x2ac)])},{'label':_0x48f887['t']('docs-shape-ui.line.arrowType.diamondArrow'),'value':String(c['ShapeArrowTypeEnum']['DiamondArrow'])},{'label':_0x48f887['t'](_0x454d0c(0x297)),'value':String(c[_0x454d0c(0x556)]['OvalArrow'])}],_0x212818=[{'label':_0x48f887['t']('docs-shape-ui.line.arrowSize.small'),'value':String(c['ShapeArrowSizeEnum'][_0x454d0c(0x24c)])},{'label':_0x48f887['t'](_0x454d0c(0x2e4)),'value':String(c[_0x454d0c(0x626)]['Medium'])},{'label':_0x48f887['t']('docs-shape-ui.line.arrowSize.large'),'value':String(c['ShapeArrowSizeEnum'][_0x454d0c(0x20d)])}];return(0x0,x[_0x454d0c(0x1fc)])('div',{'className':_0x454d0c(0x414),'children':[(0x0,x[_0x454d0c(0x1fc)])(v[_0x454d0c(0x56a)],{'value':String(_0x5f0ebd),'disabled':_0x3928e7,'onChange':_0x462f31=>{const _0x2afcc4=_0x454d0c;var _0x55887c;_0x1d1569(Number(_0x462f31)),z(_0x5f0014,_0x1939dc,_0x4def59,_0x2eb703,{'oldShapeData':{'stroke':{'lineStrokeType':(_0x55887c=_0x16e9ab[_0x2afcc4(0x28f)])==null?void 0x0:_0x55887c[_0x2afcc4(0x252)]}}},{'stroke':{'lineStrokeType':Number(_0x462f31)}});},'direction':_0x454d0c(0x377),'children':[(0x0,x[_0x454d0c(0x186)])(v[_0x454d0c(0x46c)],{'value':String(c[_0x454d0c(0x21a)][_0x454d0c(0x4b6)]),'children':(0x0,x[_0x454d0c(0x186)])(_0x454d0c(0x363),{'className':_0x454d0c(0x566),'children':_0x48f887['t']('docs-shape-ui.line.noLine')})}),(0x0,x[_0x454d0c(0x186)])(v[_0x454d0c(0x46c)],{'value':String(c[_0x454d0c(0x21a)][_0x454d0c(0x398)]),'children':(0x0,x['jsx'])(_0x454d0c(0x363),{'className':_0x454d0c(0x566),'children':_0x48f887['t'](_0x454d0c(0x47b))})})]}),_0x5f0ebd!==c[_0x454d0c(0x21a)][_0x454d0c(0x4b6)]&&(0x0,x[_0x454d0c(0x1fc)])(_0x454d0c(0x259),{'className':_0x454d0c(0x2c0),'children':[(0x0,x[_0x454d0c(0x1fc)])(_0x454d0c(0x259),{'className':_0x454d0c(0x467),'children':[(0x0,x[_0x454d0c(0x186)])(_0x454d0c(0x363),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x48f887['t'](_0x454d0c(0x2fd))}),(0x0,x['jsx'])(v[_0x454d0c(0x152)],{'disabled':_0x3928e7,'overlay':(0x0,x[_0x454d0c(0x186)])('div',{'className':_0x454d0c(0x18a),'children':(0x0,x['jsx'])(v[_0x454d0c(0x284)],{'value':_0x6ff3a4,'onChange':_0x92a996=>{const _0x43492e=_0x454d0c;var _0x22494e;z(_0x5f0014,_0x1939dc,_0x4def59,_0x2eb703,{'oldShapeData':{'stroke':{'color':(_0x22494e=_0x16e9ab[_0x43492e(0x28f)])==null?void 0x0:_0x22494e[_0x43492e(0x304)]}}},{'stroke':{'color':_0x92a996}}),_0x1c9141(_0x92a996),_0x481a6(!0x1);}})}),'open':_0x3d936b,'onOpenChange':_0x481a6,'children':(0x0,x[_0x454d0c(0x1fc)])('a',{'className':_0x454d0c(0x3df),'children':[(0x0,x[_0x454d0c(0x186)])(h[_0x454d0c(0x330)],{'className':_0x454d0c(0x1ea),'extend':{'colorChannel1':_0x6ff3a4}}),(0x0,x[_0x454d0c(0x186)])(h[_0x454d0c(0x28d)],{'className':(0x0,v[_0x454d0c(0x26c)])(_0x454d0c(0x3ba),{'univer-rotate-180':_0x3d936b})})]})})]}),(0x0,x['jsxs'])('div',{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[(0x0,x[_0x454d0c(0x186)])(_0x454d0c(0x363),{'className':_0x454d0c(0x138),'children':_0x48f887['t'](_0x454d0c(0x36a))}),(0x0,x[_0x454d0c(0x186)])(_0x454d0c(0x259),{'className':_0x454d0c(0x220),'children':(0x0,x['jsx'])(_0x454d0c(0x259),{'className':'univer-w-20\x20univer-flex-1','children':(0x0,x[_0x454d0c(0x186)])(v[_0x454d0c(0x3a5)],{'className':_0x454d0c(0x2c1),'value':_0x5175ca,'disabled':_0x3928e7,'min':0x0,'max':0x64,'formatter':_0x41aab4=>_0x41aab4+'%','parser':_0x3165ab=>(_0x3165ab==null?void 0x0:_0x3165ab['replace']('%',''))||'','onChange':_0x3aca8a=>{const _0x3e5950=_0x454d0c;var _0x5f2134;let _0x3c2f1d=(0x64-Math[_0x3e5950(0x129)](0x0,Math[_0x3e5950(0x4fa)](0x64,_0x3aca8a==null?0x0:_0x3aca8a)))/0x64;_0x140d13(_0x3c2f1d),z(_0x5f0014,_0x1939dc,_0x4def59,_0x2eb703,{'oldShapeData':{'stroke':{'opacity':(_0x5f2134=_0x16e9ab['stroke'])==null?void 0x0:_0x5f2134[_0x3e5950(0x5e6)]}}},{'stroke':{'opacity':_0x3c2f1d}}),_0x4d2bec[_0x3e5950(0x616)](u[_0x3e5950(0x4f4)],!0x1);},'onFocus':()=>_0x4d2bec[_0x454d0c(0x616)](u[_0x454d0c(0x4f4)],!0x0),'onBlur':_0x363663=>{const _0x229894=_0x454d0c;_0x4d2bec[_0x229894(0x616)](u[_0x229894(0x4f4)],!0x1);}})})})]}),(0x0,x[_0x454d0c(0x1fc)])(_0x454d0c(0x259),{'className':_0x454d0c(0x220),'children':[(0x0,x[_0x454d0c(0x186)])('span',{'className':_0x454d0c(0x4ee),'children':_0x48f887['t'](_0x454d0c(0x3a7))}),(0x0,x[_0x454d0c(0x186)])('div',{'className':'univer-w-20','children':(0x0,x[_0x454d0c(0x186)])(v['InputNumber'],{'className':_0x454d0c(0x2c1),'disabled':_0x3928e7,'value':_0x1663f8,'min':0.25,'max':0x64,'step':0.25,'formatter':_0x49ab98=>_0x49ab98+_0x454d0c(0x25a),'parser':_0x2483e2=>(_0x2483e2==null?void 0x0:_0x2483e2[_0x454d0c(0x142)](_0x454d0c(0x25a),''))||'','onChange':_0x118836=>{const _0x2f1579=_0x454d0c;if(!Number['isNaN'](_0x118836)&&_0x118836!==null){var _0x569a48;z(_0x5f0014,_0x1939dc,_0x4def59,_0x2eb703,{'oldShapeData':{'stroke':{'width':(_0x569a48=_0x16e9ab['stroke'])==null?void 0x0:_0x569a48[_0x2f1579(0x452)]}}},{'stroke':{'width':_0x118836}});}_0x4d2bec[_0x2f1579(0x616)](u['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x4d2bec[_0x454d0c(0x616)](u[_0x454d0c(0x4f4)],!0x0),'onBlur':_0x25666f=>{const _0x2bb33e=_0x454d0c;_0x4d2bec[_0x2bb33e(0x616)](u[_0x2bb33e(0x4f4)],!0x1);}})})]}),(0x0,x[_0x454d0c(0x1fc)])(_0x454d0c(0x259),{'className':_0x454d0c(0x467),'children':[(0x0,x[_0x454d0c(0x186)])(_0x454d0c(0x363),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x48f887['t']('docs-shape-ui.line.dashType.title')}),(0x0,x[_0x454d0c(0x186)])(_0x454d0c(0x259),{'className':_0x454d0c(0x3e3),'children':(0x0,x[_0x454d0c(0x186)])(v[_0x454d0c(0x475)],{'className':_0x454d0c(0x2c1),'value':String(_0xb2e954),'options':_0x22d764,'disabled':_0x3928e7,'onChange':_0x288226=>{const _0x47f79c=_0x454d0c;var _0x43bfcc;_0x10dd0b(Number(_0x288226)),z(_0x5f0014,_0x1939dc,_0x4def59,_0x2eb703,{'oldShapeData':{'stroke':{'dashType':(_0x43bfcc=_0x16e9ab['stroke'])==null?void 0x0:_0x43bfcc[_0x47f79c(0x374)]}}},{'stroke':{'dashType':Number(_0x288226)}});}})})]}),(0x0,x[_0x454d0c(0x1fc)])(_0x454d0c(0x259),{'className':_0x454d0c(0x467),'children':[(0x0,x[_0x454d0c(0x186)])(_0x454d0c(0x363),{'className':_0x454d0c(0x4ee),'children':_0x48f887['t'](_0x454d0c(0x49f))}),(0x0,x[_0x454d0c(0x186)])(_0x454d0c(0x259),{'className':'univer-w-28','children':(0x0,x['jsx'])(v[_0x454d0c(0x475)],{'className':_0x454d0c(0x2c1),'value':String(_0x19f789),'options':_0x45c0dd,'disabled':_0x3928e7,'onChange':_0x4025b9=>{const _0x51cf27=_0x454d0c;var _0x24a8c1;_0x4c2091(Number(_0x4025b9)),z(_0x5f0014,_0x1939dc,_0x4def59,_0x2eb703,{'oldShapeData':{'stroke':{'capType':(_0x24a8c1=_0x16e9ab[_0x51cf27(0x28f)])==null?void 0x0:_0x24a8c1[_0x51cf27(0x2d0)]}}},{'stroke':{'capType':Number(_0x4025b9)}});}})})]}),(0x0,x['jsxs'])(_0x454d0c(0x259),{'className':_0x454d0c(0x467),'children':[(0x0,x[_0x454d0c(0x186)])(_0x454d0c(0x363),{'className':_0x454d0c(0x4ee),'children':_0x48f887['t'](_0x454d0c(0x37c))}),(0x0,x[_0x454d0c(0x186)])(_0x454d0c(0x259),{'className':_0x454d0c(0x3e3),'children':(0x0,x[_0x454d0c(0x186)])(v[_0x454d0c(0x475)],{'className':'univer-w-full','value':String(_0x270222),'options':_0x4d71e1,'disabled':_0x3928e7,'onChange':_0x13bd47=>{const _0x528f62=_0x454d0c;var _0x5d7a69;_0x11fc4f(Number(_0x13bd47)),z(_0x5f0014,_0x1939dc,_0x4def59,_0x2eb703,{'oldShapeData':{'stroke':{'lineJoinType':(_0x5d7a69=_0x16e9ab[_0x528f62(0x28f)])==null?void 0x0:_0x5d7a69['lineJoinType']}}},{'stroke':{'lineJoinType':Number(_0x13bd47)}});}})})]}),!_0x418802&&(0x0,x[_0x454d0c(0x1fc)])(_0x454d0c(0x259),{'className':_0x454d0c(0x467),'children':[(0x0,x[_0x454d0c(0x186)])(_0x454d0c(0x363),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x48f887['t']('docs-shape-ui.line.sketchType.title')}),(0x0,x[_0x454d0c(0x186)])('div',{'className':_0x454d0c(0x3e3),'children':(0x0,x['jsx'])(v[_0x454d0c(0x475)],{'className':_0x454d0c(0x2c1),'value':String(_0x3a0076),'options':_0x366836,'disabled':_0x3928e7,'onChange':_0x305d59=>{const _0x311b37=_0x454d0c;var _0x463a64;_0x37dc9b(Number(_0x305d59)),z(_0x5f0014,_0x1939dc,_0x4def59,_0x2eb703,{'oldShapeData':{'stroke':{'sketchType':(_0x463a64=_0x16e9ab[_0x311b37(0x28f)])==null?void 0x0:_0x463a64['sketchType']}}},{'stroke':{'sketchType':Number(_0x305d59)}});}})})]}),_0x418802&&(0x0,x[_0x454d0c(0x1fc)])(x[_0x454d0c(0x3c0)],{'children':[(0x0,x[_0x454d0c(0x1fc)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,x[_0x454d0c(0x186)])(_0x454d0c(0x363),{'className':_0x454d0c(0x4ee),'children':_0x48f887['t'](_0x454d0c(0x3a3))}),(0x0,x['jsx'])('div',{'className':_0x454d0c(0x3e3),'children':(0x0,x[_0x454d0c(0x186)])(v[_0x454d0c(0x475)],{'className':_0x454d0c(0x2c1),'value':String(_0x83f746),'options':_0x179ad1,'onChange':_0x473fe0=>{const _0x43315a=_0x454d0c;var _0x404f2a;_0x32d119(Number(_0x473fe0)),B(_0x5f0014,_0x1939dc,_0x4def59,_0x2eb703,{'oldShapeData':{'ln':{'startArrow':{'type':(_0x404f2a=_0x16e9ab['ln'])==null||(_0x404f2a=_0x404f2a[_0x43315a(0x34e)])==null?void 0x0:_0x404f2a[_0x43315a(0x280)]}}}},{'ln':{'startArrow':{'type':Number(_0x473fe0)}}});}})})]}),(0x0,x[_0x454d0c(0x1fc)])(_0x454d0c(0x259),{'className':_0x454d0c(0x467),'children':[(0x0,x[_0x454d0c(0x186)])(_0x454d0c(0x363),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x48f887['t'](_0x454d0c(0x167))}),(0x0,x['jsx'])(_0x454d0c(0x259),{'className':_0x454d0c(0x3e3),'children':(0x0,x[_0x454d0c(0x186)])(v[_0x454d0c(0x475)],{'className':'univer-w-full','value':String(_0x18a964),'options':_0x212818,'onChange':_0x785b55=>{const _0x55a82d=_0x454d0c;var _0x16a11a;_0x19daec(Number(_0x785b55)),B(_0x5f0014,_0x1939dc,_0x4def59,_0x2eb703,{'oldShapeData':{'ln':{'startArrow':{'size':(_0x16a11a=_0x16e9ab['ln'])==null||(_0x16a11a=_0x16a11a[_0x55a82d(0x34e)])==null?void 0x0:_0x16a11a[_0x55a82d(0x2be)]}}}},{'ln':{'startArrow':{'size':Number(_0x785b55)}}});}})})]}),(0x0,x['jsxs'])(_0x454d0c(0x259),{'className':_0x454d0c(0x467),'children':[(0x0,x[_0x454d0c(0x186)])(_0x454d0c(0x363),{'className':_0x454d0c(0x4ee),'children':_0x48f887['t']('docs-shape-ui.line.endArrowType')}),(0x0,x['jsx'])(_0x454d0c(0x259),{'className':'univer-w-28','children':(0x0,x[_0x454d0c(0x186)])(v[_0x454d0c(0x475)],{'className':_0x454d0c(0x2c1),'value':String(_0x306876),'options':_0x179ad1,'onChange':_0x7f648b=>{const _0x577185=_0x454d0c;var _0x19cc07;_0x12da8e(Number(_0x7f648b)),B(_0x5f0014,_0x1939dc,_0x4def59,_0x2eb703,{'oldShapeData':{'ln':{'endArrow':{'type':(_0x19cc07=_0x16e9ab['ln'])==null||(_0x19cc07=_0x19cc07[_0x577185(0x22e)])==null?void 0x0:_0x19cc07[_0x577185(0x280)]}}}},{'ln':{'endArrow':{'type':Number(_0x7f648b)}}});}})})]}),(0x0,x[_0x454d0c(0x1fc)])(_0x454d0c(0x259),{'className':_0x454d0c(0x467),'children':[(0x0,x[_0x454d0c(0x186)])('span',{'className':_0x454d0c(0x4ee),'children':_0x48f887['t'](_0x454d0c(0x53d))}),(0x0,x[_0x454d0c(0x186)])('div',{'className':'univer-w-28','children':(0x0,x[_0x454d0c(0x186)])(v['Select'],{'className':_0x454d0c(0x2c1),'value':String(_0x21a11d),'options':_0x212818,'onChange':_0x35d5d3=>{const _0x25c68e=_0x454d0c;var _0x5da83e;_0x4a2930(Number(_0x35d5d3)),B(_0x5f0014,_0x1939dc,_0x4def59,_0x2eb703,{'oldShapeData':{'ln':{'endArrow':{'size':(_0x5da83e=_0x16e9ab['ln'])==null||(_0x5da83e=_0x5da83e[_0x25c68e(0x22e)])==null?void 0x0:_0x5da83e[_0x25c68e(0x2be)]}}}},{'ln':{'endArrow':{'size':Number(_0x35d5d3)}}});}})})]})]})]})]});}function Y(){const _0x20dbe6=_0x32d26c;let _0x3f2350=(0x0,g[_0x20dbe6(0x637)])(m[_0x20dbe6(0x54d)]),[_0x5edc79,_0x586275]=(0x0,y[_0x20dbe6(0x337)])(_0x3f2350[_0x20dbe6(0x5d9)]());return(0x0,y[_0x20dbe6(0x257)])(()=>{const _0x13e73a=_0x20dbe6;let _0x562568=_0x3f2350[_0x13e73a(0x470)][_0x13e73a(0x1ae)](_0x310efd=>{_0x586275(_0x310efd);});return()=>{_0x562568['unsubscribe']();};},[]),_0x5edc79[_0x20dbe6(0x296)]===0x0?null:(0x0,x[_0x20dbe6(0x186)])(_0x20dbe6(0x259),{'children':(0x0,x[_0x20dbe6(0x1fc)])(_0x20dbe6(0x259),{'className':_0x20dbe6(0x149),'children':[(0x0,x['jsx'])(b[_0x20dbe6(0x2a1)],{'drawings':_0x5edc79,'hasCropper':!0x1}),(0x0,x[_0x20dbe6(0x186)])(d[_0x20dbe6(0x40c)],{'drawings':_0x5edc79}),(0x0,x[_0x20dbe6(0x186)])(d['DocDrawingPosition'],{'drawings':_0x5edc79})]})});}function X(_0x5a73a8){const _0x5bf5d8=_0x32d26c;let {shapeData:_0x4773c0,shapeId:_0x4fec4a,shapeType:_0x41c41c,version:_0x4dc71f,unitId:_0x3478ff,subUnitId:_0x47623e,disableShapeOption:_0x158e5b}=_0x5a73a8,_0x58a8c5=(0x0,g[_0x5bf5d8(0x637)])(u[_0x5bf5d8(0x1ba)]),_0x4e3882=(0x0,c[_0x5bf5d8(0x3f5)])(_0x41c41c),[_0x37a09c,_0xe29d4a]=(0x0,y[_0x5bf5d8(0x337)])(0x0),_0x465d1b=[{'label':(0x0,x[_0x5bf5d8(0x186)])(_0x5bf5d8(0x259),{'children':_0x58a8c5['t']('docs-shape-ui.fill.title')}),'children':(0x0,x[_0x5bf5d8(0x186)])(_0x5bf5d8(0x1d3),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,x[_0x5bf5d8(0x186)])(ie,{'shapeId':_0x4fec4a,'shapeData':_0x4773c0,'isLineShape':_0x4e3882,'subUnitId':_0x47623e,'unitId':_0x3478ff,'disableShapeOption':_0x158e5b},_0x4fec4a)})},{'label':(0x0,x[_0x5bf5d8(0x186)])(_0x5bf5d8(0x259),{'children':_0x58a8c5['t'](_0x5bf5d8(0x597))}),'children':(0x0,x[_0x5bf5d8(0x186)])('section',{'className':_0x5bf5d8(0x4de),'children':(0x0,x['jsx'])(oe,{'shapeId':_0x4fec4a,'shapeData':_0x4773c0,'isLineShape':_0x4e3882,'subUnitId':_0x47623e,'unitId':_0x3478ff,'disableShapeOption':_0x158e5b},_0x4fec4a)})}];return(0x0,x[_0x5bf5d8(0x1fc)])(_0x5bf5d8(0x259),{'className':_0x5bf5d8(0x135),'children':[(0x0,x['jsxs'])('div',{'className':_0x5bf5d8(0x289),'children':[(0x0,x[_0x5bf5d8(0x1fc)])(_0x5bf5d8(0x259),{'className':(0x0,v[_0x5bf5d8(0x26c)])(_0x5bf5d8(0x15b),_0x37a09c===0x0?_0x5bf5d8(0x515):_0x5bf5d8(0x1ea)),'onClick':()=>_0xe29d4a(0x0),'children':[_0x58a8c5['t']('docs-shape-ui.shapeStyle'),(0x0,x[_0x5bf5d8(0x186)])(_0x5bf5d8(0x259),{'className':(0x0,v[_0x5bf5d8(0x26c)])(_0x5bf5d8(0x24e),{'univer-bg-primary-600':_0x37a09c===0x0,'univer-bg-transparent':_0x37a09c!==0x0})})]}),(0x0,x[_0x5bf5d8(0x1fc)])(_0x5bf5d8(0x259),{'className':(0x0,v[_0x5bf5d8(0x26c)])(_0x5bf5d8(0x15b),{'univer-text-primary-600':_0x37a09c===0x1,'univer-text-gray-500':_0x37a09c!==0x1}),'onClick':()=>_0xe29d4a(0x1),'children':[_0x58a8c5['t']('docs-shape-ui.shapePosition'),(0x0,x[_0x5bf5d8(0x186)])(_0x5bf5d8(0x259),{'className':(0x0,v[_0x5bf5d8(0x26c)])(_0x5bf5d8(0x298),{'univer-bg-primary-600':_0x37a09c===0x1,'univer-bg-transparent':_0x37a09c!==0x1})})]})]}),(0x0,x[_0x5bf5d8(0x186)])('div',{'className':_0x5bf5d8(0x4a1),'children':_0x37a09c===0x0?(0x0,x[_0x5bf5d8(0x186)])(_0x5bf5d8(0x259),{'className':'','children':(0x0,x['jsx'])(v['Accordion'],{'items':_0x465d1b})},_0x4dc71f):(0x0,x['jsx'])(Y,{})})]});}function _0x2877(){const _0x22c9f1=['docs-shape-ui.shape.type.accent-callout3','getOwnPropertyDescriptor','ShapeNonIsoscelesTrapezoidIcon','docs-shape-ui.fill.picture.scaleY','univer-block\x20univer-h-[100px]\x20univer-w-[100px]\x20univer-object-cover','docs-shape-ui.shape.type.pie-wedge','Tools','docs-shape-ui.shape.type.ellipse-ribbon2','ShapeUpDownArrowCalloutIcon','Star6','docs-shape-ui.fill.transparency','getValue','ShapeFlowChartInputOutputIcon','refreshTransform','docs-shape-ui.shape.type.wedge-round-rect-callout','docs-shape-ui.shape.type.math-equal','ObjectRelativeFromV','_toVisualAdjustPoint','ShapeRound2SameRectIcon','LeftBracket','docs-shape-ui.shape.type.frame','paragraphs','LEFT','docs-shape-ui.shape.type.curved-down-arrow','docs-shape-ui.shape.type.left-up-arrow','docs-shape-ui.shape.type.striped-right-arrow','docs-shape-ui.toolbar.strikethrough','docs-shape-ui.line.title','Arrow','DocsShapeUIController','docs-shape-ui.line.arrowType.none','DocSkeletonManagerService','_adjHandlerPointerMove','WRAP_TOP_AND_BOTTOM','MIDDLE','drawWith','options','shape-text-editor-position-wrapper','createInternalEditorID','ShapeUpDownArrowIcon','ShapeDefaultConfig','getCurrentTypeOfUnit$','ShapeMathPlusIcon','ShapeRtTriangleIcon','ShapeRightArrowIcon','Miter','docs-shape-ui.shape.type.action-button-movie','close','DRAWING_IMAGE','HorizontallyIcon','useMemo','clip-','ShapeStar6Icon','menuChanged$','ShapeBentConnector3Arrow1Icon','docs-shape-ui.shape.type.flow-chart-collate','hasOwnProperty','docs-shape-ui.toolbar.textColor','_updateShapeAdjustControls','doc.command.update-doc-drawing-wrapping-style','_drawSimpleText','_urlImageService','path','DocContentInsertService','scene','OrderListCommand','univer-text-xl\x20univer-text-gray-500','behindDoc','localeService','FlowchartProcess','docs-shape-ui.shape.type.no-smoking','DRAWING_DOM','_getActiveDrawingShape','isHit','getActualSize','updateDocumentStyle','FlowchartPreparation','docs-shape-ui.shape.type.flow-chart-delay','drawingId','imageTile','docs-shape-ui.shape.type.flow-chart-or','segmentId','preventDefault','generateRandomId','getSelectionRanges','getDrawingPoints','add$','RightTriangle','RemoveDocDrawingCommand','DocSelectionManagerService','clone','docs-shape-ui.shape.type.curved-right-arrow','save','getFocusDrawings','docs-shape-ui.fill.picture.align.l','NotchedRightArrow','docs-shape-ui.shape.type.chevron','ContextMenuPosition','doc.shape.text.float-menu','_subUnitId','LineInv','_createShapePopupMenu','getFonts','angular','docs-shape-ui.shape.type.smiley-face','setDocumentData','opacity','_renderManagerService','pick','ShapeActionButtonHelpIcon','bind','CurvedConnector3','inFrontOfText','DocSelectionRenderService','UniverInstanceType','docs-shape-ui.line.dashType.squareDot','Wave','FromArray','RibbonInsertGroup','_getShapeAdjustInfosById','_drawingManagerService','_getSceneByUnitId','isEditing','calculate','fillImageSourceType','101838zfmduf','univer-absolute','paragraphStyle','BentUpArrow','viewportScrollX','docs-shape-ui.shape.type.down-arrow-callout','setTimeout','ShapeStar10Icon','Vector2','clip','ShapeUturnArrowIcon','adjName','docs-shape-ui.shape.type.flow-chart-magnetic-tape','AccentBorderCallout2','ShapeDecagonIcon','getDrawingByParam','image/*','docs-shape-ui.fill.picture.align.tr','ShapeStraightConnector2Icon','imageOpacity','Dash','setCanUseShapeClip','ShapeCurvedRightArrowIcon','getActiveViewportByCoord','Line','docs-shape-ui.shape.type.round-rect','ShapeLeftUpArrowIcon','MenuItemType','_injector','setContextValue','setOnSavingEditorData','rectangle','Star12','ShapeHexagonIcon','docs-shape-ui.shape.type.down-arrow','docs-shape-ui.shape.type.star24','fill','getActiveTextRange','_floatMenu','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pt-2','lineJoinType','univer-max-h-[75vh]\x20univer-w-[320px]\x20univer-pb-2','docs-shape-ui.shape.type.swoosh-arrow','AlignTopIcon','Chord','ShapeArrowSizeEnum','docs-shape-ui.shape.type.flow-chart-merge','_initUIPart','Round1Rect','current','ShapeMoonIcon','isRichText','docs-shape-ui.textWrap.inFrontText','horizontal','_unitId','ShapePieIcon','Star8','preValue','WedgeEllipseCallout','touchDependencies','docs-shape-ui.shape.type.double-wave','VIEW_MAIN','useDependency','Gear6','gdRefR','Heart','Bevel','SquareTabs','calcAdjValue','docs-shape-ui.shape.type.flow-chart-document','_getActiveDrawingParam','_onSavingEditorData$','symbol','110560VQUbBM','UNIVER_DOC','ShapeRoundRectIcon','registerCommand','LeftRightArrowCallout','subscribeEvent','docs-shape-ui.shape.type.irregular-seal2','PlaqueTabs','setZoomRatio','CurvedLeftArrow','ShapeLeftBracketIcon','max','useRef','docs-shape-ui.shape.type.action-button-end','ShapeDonutIcon','ShapeHalfFrameIcon','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','Linear','getBoundingClientRect','_props','paragraph','docs-shape-ui.shape.type.quad-arrow','editingParams$','univer-size-full','ShapeBracePairIcon','0\x200\x2020\x2020','univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','#3B82F6','multiply','docs-shape-ui.shape.type.up-down-arrow-callout','LeftBrace','ShapeFlowChartCollateIcon','blockArrow','FlowchartCollate','ComponentManager','URL','replace','_configService','docs-shape-ui.shape.type.flow-chart-terminator','backgroundColor','IMenuManagerService','ShapeStar5Icon','_activeShapeModel','univer-box-border\x20univer-px-4\x20univer-text-sm','univer-flex-1','_baseShapeWidth','_isStartAdjusting','docs-shape-ui.shape.type.left-circular-arrow','onChange','docs-shape-ui.shape.type.rect-textbox-vertical','registerClipDelegate','ShapeStar12Icon','Dropdown','docs-shape-ui.shape.type.curved-connector3-arrow1','Injector','ShapeRound2DiagRectIcon','clear','_initialize','docs-shape-ui.shape.type.right-arrow-callout','ShapeCurvedUpArrowIcon','Disposable','univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold','docs-shape-ui.textWrap.behindText','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','getRenderById','onCommandExecuted','BOTTOM','M2.5\x2010H5.7','buildClipPath','AccentCallout3','ShapeCubeIcon','SetInlineFormatTextBackgroundColorCommand','WrapStrategy','docs-shape-ui.line.beginArrowSize','_drawingType','docs-shape-ui.shape.type.arc','ShapeBevelIcon','ShapeSunIcon','oKey','isLineShape','setFillImage','docs-shape-ui.shape.type.flow-chart-summing-junction','getShapeType','docs-shape-ui.shape.type.gear9','ShapeBorderCallout1Icon','UpArrow','getShapeTextRect','DocSettingIcon','\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','_registerImageShapeClipDelegate','group','docs-shape-ui.shape.type.left-brace','onReady','docs-shape-ui.textWrap.inline','getSkeleton','getState','docs-shape-ui.fill.title','getShapeData','BreakLineCommand','Cube','_registerOperations','key','docs-shape-ui.shape.type.plus','docs-shape-ui.shape.type.chart-plus','jsx','ImageSourceTypeEnum','832ICGDJK','_drawRichText','univer-rounded-lg\x20univer-p-3','SmileyFace','getImage','docs-shape-ui.shape.type.left-bracket','OpenArrow','moveRange','registerDependencies','_initEditingParams','clearControl$','ShapeLeftRightUpArrowIcon','docs-shape-ui.shape.type.flow-chart-magnetic-drum','BOTH_SIDES','6898knmhGq','ShapeNotchedRightArrowIcon','docs-shape-ui.shape.type.star6','ShapeStar4Icon','\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','disposeWithMe','click','src','ShapeFlowChartTerminatorIcon','ShapeCallout1Icon','DrawingTypeEnum','docs-shape-ui.shape.type.star16','LeftRightArrow','getDrawingVisible','Tile','title','register','gdRefX','docs-shape-ui.shape.type.left-right-arrow','defineProperty','ShapeEllipseIcon','WRAP','Star16','ShapeLineJoinEnum','subscribe','popup','some','push','changing$','_refreshShapeData','Documents','docs-shape-ui.shape.type.ribbon2','_getShapeAdjustPointListById','ShapeFrameIcon','find','image','LocaleService','ShapeWedgeEllipseCalloutIcon','docs-shape-ui.shape.type.pie','with','docs-shape-ui.shape.type.bent-up-arrow','ShapeActionButtonBlankIcon','shapeType','flipX','6.4','SwooshArrow','ShapeSquareTabsIcon','getShapeDataById','getShapeModel','IContextService','ShapeFunnelIcon','ShapeChartXIcon','ShapeCornerIcon','docs-shape-ui.shape.type.half-frame','equationShape','height','OPERATION','composeMatrix','ShapeAccentBorderCallout3Icon','docs-shape-ui.line.joinType.miter','shape-text','section','docs-shape-ui.shape.type.triangle','docs-shape-ui.line.joinType.bevel','LongDashDot','Chevron','ToolbarItem','docs-shape-ui.line.capType.square','unsubscribe','docs-shape-ui.shape.type.left-right-arrow-callout','ShapePieWedgeIcon','updateContext','endOffset','clearAdjustControls','RichTextEditingMutation','Gear9','FlowChartInputOutput','isHitLine','ShapeModel','docs-shape-ui.shape.type.flow-chart-magnetic-disk','enumerable','docs-shape-ui.shape.type.star5','_context','_componentManager','univer-text-gray-500','docs-shape-ui.line.dashType.longDash','getShapeTypeById','IrregularSeal2','linear','getObjectIncludeInGroup','onSelectionStart$','start','RIBBON','toPrimitive','DocumentDataModel','ShapeCanIcon','open','useEditor','LAYOUT','_getShapeInfo','docs-shape-ui.fill.picture.align.b','prstGeom','jsxs','parseFloat','Rect','VerticalAlign','ShapeBentUpArrowIcon','DocumentViewModel','ImageFillModeEnum','WrapTextType','docs-shape-ui.shape.type.plaque','ShapeFolderCornerIcon','doc','packageName','getCanvasElement','ShapeFlowChartPunchedCardIcon','rect','ShapeFlowChartMultidocumentIcon','ShapeCurvedDownArrowIcon','Large','docs-shape-ui.shape.type.flow-chart-process','_openShapeEditPanel','BorderCallout2','doc.command.menu-insert-shape','_getFocusedShapeAtPoint','Tooltip','FlowchartConnector','offsetY','ShapeParallelogramIcon','onload','docs-shape-ui.shape.type.border-callout1','_lastEditingShapeKey','ShapeLineTypeEnum','item','ShapeFlowChartOnlineStorageIcon','updateDocumentRenderConfig','docs-shape-ui.shape.type.curved-connector3-arrow2','includes','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','DependentOn','docs-shape-ui.crop.shape','ShapeUpArrowIcon','658TJSbpX','StraightConnector1','ShapeDiamondIcon','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','useLeftAndRightArrow','docs-shape-ui.fill.picture.rotateWithShape','getViewports','getCurrentUniverDocInstance','top','shape-text-editor','endArrow','line','map','docs-shape-ui.shape.type.flow-chart-offpage-connector','EMPTY_PARAGRAPH_MENU_ID','DocParagraphMenuService','docs-shape-ui.fill.picture.align.t','FlowchartPunchedTape','BuiltInUIPart','GROUP','addImageSourceCache','docs-shape-ui.shape.type.right-bracket','render','_baseShapeLeft','getUnitId','shape-text-','getOwnPropertyNames','docs-shape-ui.shape.type.flow-chart-manual-input','ShapeCloudIcon','_imageIoService','docs-shape-ui.shape.type.decagon','LightningBolt','DocCanvasPopManagerService','transform','renderDrawingShape','docs-shape-ui.line.sketchType.freehand','setPrstGeom','ShapeSmileyFaceIcon','docs-shape-ui.line.arrowType.stealthArrow','icon','Small','ShapeMathNotEqualIcon','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md','ShapeTriangleIcon','ShapeChevronIcon','ShapeStar7Icon','lineStrokeType','ShapeFlowChartPredefinedProcessIcon','remove$','ShapeLineIcon','_initSelectionChange','useEffect','saveImage','div','\x20px','LeftArrowCallout','next','HalfFrame','!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.heptagon','onDblclick$','_isOpenedShapeEditPanel','mainComponent','ShapeHomePlateIcon','LongDash','docs-shape-ui.shape.type.sun','CENTER','ShapeFlowChartConnectorIcon','callout','docs-shape-ui.fill.gradientFill','DocumentSkeleton','rotate(','clsx','Star24','ShapePlaqueIcon','ShapeCloudCalloutIcon','decorate','enableObjectsEvent','isRender','ancestorTransform','ShapeArcIcon','FlowchartDocument','Can','doc.shape.picker.component','fillImageSource','verticalAlign','docs-shape-ui.line.sketchType.handDrawn','MathEqual','transformForAngle','univer-w-20','MenuManagerPosition','docs-shape-ui.shape.type.irregular-seal1','type','setInsertRange','WedgeRoundRectCallout','button','ColorPicker','toDisposable','Trapezoid','closest','ShapeFlowChartMagneticDrumIcon','univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200','ShapeLightningBoltIcon','getEditing','adjHandleFill','MoreDownIcon','ShapeLeftArrowCalloutIcon','stroke','QuadArrowCallout','Square','ShapeChartPlusIcon','_sidebarService','AccentBorderCallout1','_docCanvasPopManagerService','length','docs-shape-ui.line.arrowType.ovalArrow','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md\x20univer-bg-primary-600','getDrawingShapeKeyByDrawingSearch','ShapeFlowChartMergeIcon','docs-shape-ui.toolbar.alignLeft','invert','documentStyle','makeDirty','_init','UturnArrow','DrawingCommonPanel','visible','GradientFill','DownArrow','Snip1Rect','BehaviorSubject','gdRefAng','Corner','bottom','#111827','active','StealthArrow','UnderlineIcon','ShapeWaveIcon','ShapeQuadArrowCalloutIcon','SetInlineFormatItalicCommand','below','adjHandleStroke','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','enhanceParams','GradientColorPicker','ShapeMathMinusIcon','docs-shape-ui.shape.type.flow-chart-multidocument','ShapeFlowChartMagneticDiskIcon','ShapeCurvedConnector3Arrow1Icon','docDrawingPositionToTransform','paragraphMenuPlacement','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','docs-shape-ui.shape.type.star7','size','docs-shape-ui.deleteShape','univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','univer-w-full','CONTENT','_registerDrawingTransformHandler','getAdjustInfoByName','_config','SetInlineFormatSubscriptCommand','startOffset','univer-flex\x20univer-flex-nowrap\x20univer-gap-2\x20univer-px-2','isFinite','ShapeSnip2DiagRectIcon','_loadAndSetImage','ShapeActionButtonSoundIcon','Stretch','_initCommands','ShapeLineDashEnum','capType','srcRect','backward','5995SfzFxs','resetCursor','getRealBound','connectInjector','FALSE','1.4','JUSTIFIED','position','FlowchartOr','ShapeLineInvIcon','params','ShapeFlowChartPreparationIcon','ShapeFlowChartMagneticTapeIcon','AlignLeftCommand','input,\x20textarea,\x20[contenteditable=\x22true\x22],\x20[role=\x22combobox\x22],\x20.univer-select','_toScenePoint','Snip2DiagRect','docs-shape-ui.line.arrowSize.medium','ShapeActionButtonDocumentIcon','ActionButtonInformation','FlowchartInternalStorage','ShapeFlowChartSortIcon','inline','sketchType','docs-shape-ui.shape.type.plaque-tabs','MathDivide','ShapeStar24Icon','_draw','FlowchartAlternateProcess','group\x20univer-relative\x20univer-inline-block','ShapeSketchTypeEnum','docs-shape-ui.toolbar.alignCenter','_univerInstanceService','ShapeFlowChartInternalStorageIcon','docs-shape-ui.shape.type.border-callout2','getShapePopupMenus','docs-shape-ui.shape.type.flow-chart-online-storage','create','708pFjJLW','blur','_baseShapeTop','DeleteRightCommand','docs-shape-ui.line.color','forEach','docs-shape-ui.shape.type.gear6','extraProps','docs-shape-ui.shape.type.pentagon','Callout1','onScrollAfter$','color','LeftRightRibbon','FlowchartDelay','docs-shape-ui.shape.type.cube','ShapeActionButtonReturnIcon','starAndBanner','_hideFloatMenu','docs-shape-ui.shape.type.left-arrow','ChartPlus','get','imageRotateWithShape','clipByShape','dispose','docs-shape-ui.shape.type.round1-rect','71itvRyB','getAllUnitsForType','_attachAdjustEvent','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','ShapeActionButtonForwardNextIcon','PieWedge','beginPath','target','docs-shape-ui.shape.type.callout2','ShapeStar16Icon','docs-shape-ui.shape.type.callout3','ShapeAccentBorderCallout2Icon','docs-shape-ui.formatShape','IURLImageService','entries','getTransformerByCreate','docs-shape-ui.shape.type.line','ActionButtonBlank','_docSelectionManagerService','docs-shape-ui.shape.type.cloud','ShapeActionButtonInformationIcon','_initSelection','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','ChartStar','viewportScrollY','docs-shape-ui.shape.type.bevel','scaleX','subUnitId','call','add','PaintBucketDoubleIcon','_contextService','univer-relative\x20univer-size-full\x20univer-overflow-visible','renderConfig','left','QuadArrow','CurvedUpArrow','useState','ShapeMathEqualIcon','ShapeFlowChartDelayIcon','ENTER','SetInlineFormatSuperscriptCommand','toStringTag','ShapeHeptagonIcon','ShapeCircularArrowIcon','getDrawingSearch','offset','ShapeFlowChartPunchedTapeIcon','IUniverInstanceService','ShapeRightArrowCalloutIcon','body','string','TOP','_baseShapeHeight','docs-shape-ui.align.middle','docs-shape-ui.toolbar.alignRight','setShapeProps','getDrawingOKey','Shape','activeTarget','startArrow','docs-shape-ui.line.dashType.longDashDotDot','shapeText','CROSSHAIR','Transform','classType','docs-shape-ui.shape.type.chord','docs-shape-ui.shape.type.heart','update$','data','ShapeMathDivideIcon','ShapeSwooshArrowIcon','getParent','univer-flex\x20univer-flex-col\x20univer-gap-2','ShapeFlowChartExtractIcon','BorderCallout1','ShapeSnipRoundRectIcon','docs-shape-ui.shape.type.star4','PictureFill','docs-shape-ui.shape.type.math-minus','docs-shape-ui.shape.type.horizontal-scroll','span','cos','getDocumentData','DELETE','docs-shape-ui.textWrap.topAndBottom','docs-shape-ui.shape.type.bent-connector3-arrow1','ActionButtonEnd','docs-shape-ui.line.transparency','Parallelogram','currentColor','UpdateDocShapeDataMutation','FlowChartOfflineStorage','ShapeDownArrowIcon','CurvedRightArrow','changeStart$','CurvedDownArrow','textStyle','dashType','transformVector2SceneCoord','_registerComponent','vertical','insertGroupObject','docs-shape-ui.shape.type.circular-arrow','_updateAdjustControlPositions','ShapeIrregularSeal1Icon','docs-shape-ui.line.joinType.title','menuRange','Star5','ShapeEllipseRibbon2Icon','docs-shape-ui.shape.type.action-button-help','ShapeMathMultiplyIcon','docs-shape-ui.fill.picture.align.bl','_drawShapeText','Heptagon','onStarting','NonIsoscelesTrapezoid','BracePair','docs-shape-ui.line.arrowType.openArrow','FlowchartManualInput','docs-shape-ui.shape.type.snip-round-rect','SHIFT','docs-shape-ui.shape.type.flow-chart-offline-storage','Star10','ShapeCurvedConnector3Arrow2Icon','_initMenu','_disposePopups','ShapeFlowChartAlternateProcessIcon','VERTICAL_ROTATE_ANGLE','ShapeActionButtonBeginningIcon','docs-shape-ui.shape.type.left-arrow-callout','layoutType','LeftUpArrow','ShapeStripedRightArrowIcon','SolidLine','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','getAdjustValueByName','disabled','shapeModel','FlowchartMagneticTape','BooleanNumber','gdRefY','docs-shape-ui.insertShape','ShapeLineCapEnum','UUID','docs-shape-ui.line.beginArrowType','_transformCalculateSrcRect','InputNumber','LeftJustifyingIcon','docs-shape-ui.line.width','executeCommand','docs-shape-ui.config','RENDER_CLASS_TYPE','files','flipY','ISidebarService','function','ShapeFlowChartOrIcon','COMMAND','VIEWPORT_KEY','ShapeRectTextboxVerticalIcon','_sidebarDisposable','docs-shape-ui.shape.type.action-button-return','_initializedShapePopupMenu','Solid','Octagon','docs-shape-ui.shape.type.right-arrow','Pentagon','univer-text-gray-600\x20univer-transition-transform','ShapePlaqueTabsIcon','adjHandleSize','FlowchartPunchedCard','docs-shape-ui.shape.type.flow-chart-punched-card','docs-shape-ui.fill.picture.align.r','Fragment','_editingParams$','DocsShapeService','values','ShapeBentConnector3Icon','UniverLicensePlugin','Plus','AccentBorderCallout3','5wPSmXp','docs-shape-ui.shape.type.action-button-back-previous','docs-shape-ui.shape.type.flow-chart-decision','docs-shape-ui.shape.type.accent-callout2','useObservable','ShapeWedgeRectCalloutIcon','Diamond','207UxDzZU','getSelectedObjectMap','docs-shape-ui.line.dashType.longDashDot','label','_menuManagerService','scaleY','ShapeUpArrowCalloutIcon','ShapeLeftRightArrowIcon','BulletListCommand','docs-shape-ui.shape.type.right-brace','_activeAdjustInfo','ShapeLeftRightArrowCalloutIcon','_transform','M14.3\x2010H17.5','ActionButtonMovie','ShapeRectTextboxHorizontalIcon','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','AlignCenterCommand','getObject','DoubleWave','univer-w-28','style','registerComponent','onTransformChange$','ShapeActionButtonMovieIcon','wrapSquare','ShapeRightBracketIcon','ShapeFlowChartDisplayIcon','Cloud','ShapeDownArrowCalloutIcon','LeftRightUpArrow','CircularArrow','__esModule','docs-shape-ui.line.capType.flat','rgb','DiagStripe','Inject','MenuInsertShapeCommand','isConnectorShape','_adjHandlerPointerUp','useCallback','dataModel','docs-shape-ui.line.dashType.roundDot','DrawingImageClipService','CommandType','docs-shape-ui.shape.type.up-down-arrow','gradientStops','docs-shape-ui.fill.noFill','ShapeLeftCircularArrowIcon','unitId','engine','_addShapeAdjustControl','ShapeLeftArrowIcon','docs-shape-ui.shape.type.accent-callout1','IRenderManagerService','name','useIsFocusing','constructor','SolidFill','HorizontalScroll','docs-shape-ui.fill.pictureFill','DocDrawingTextWrap','docs-shape-ui.shape.type.can','ShapeChartStarIcon','getMenuHiddenObservable','docs-shape-ui.toolbar.bold','univer-flex\x20univer-h-7\x20univer-items-center\x20univer-gap-1\x20univer-px-1','ShapeLeftRightCircularArrowIcon','SHAPE','univer-flex\x20univer-flex-col\x20univer-gap-3','IConfigService','docs-shape-ui.shape.type.chart-x','FlowchartExtract','ShapePentagonIcon','docs-shape-ui.align.bottom','angle','BACKSPACE','ShapeQuadArrowIcon','Round2DiagRect','docs-shape-ui.shape.type.hexagon','basicShape','docs-shape-ui.align.top','FONT_SIZE_LIST','docs-shape-ui.shape.type.flow-chart-manual-operation','docs-shape-ui.shape.type.round2-same-rect','ShapeRibbonIcon','end','ShapeChordIcon','docs-shape-ui.line.arrowType.arrow','borderClassName','gradientAngle','filter','Round','SELECTOR','getMatrix','ShapeFlowChartSummingJunctionIcon','flowchart','Star4','ShapeGear6Icon','version','docs-shape-ui.shape.type.rect','_showFloatMenu','M2.5\x204.5H8.2','ShapeBentConnector3Arrow2Icon','setAdjustValueByName','_closeShapeEditPanel','ActionButtonHelp','createControl$','has','docs-shape-ui.shape.type.accent-border-callout3','WRAP_SQUARE','object','textRect','updateDocumentDataMargin','setConfig','ShapeLeftBraceIcon','docs-shape-ui.fill.picture.align.br','Hexagon','ShapeTypeEnum','Digit8','applyPoint','_initEvents','collapsed','Arc','onPointerUp$','AlignTextBothIcon','ShapeFlowChartManualInputIcon','1em','ShapeCurvedConnector3Icon','WedgeRectCallout','AlignBottomIcon','width','PositionedObjectLayoutType','resize','UpDownArrowCallout','_updateSrcRectByTransform','docs-shape-ui.fill.color','ShapeCallout2Icon','UpdateDocShapeDataCommand','docs-shape-ui.shape.type.non-isosceles-trapezoid','docs-shape-ui.fill.picture.align.tl','ShapeCallout3Icon','strokeWidth','Button','ShapeRectIcon','docs-shape-ui.shape.type.up-arrow','docs-shape-ui.shape.type.snip2-diag-rect','ShapeRenderModeEnum','docs-shape-ui.shape.type.quad-arrow-callout','docs-shape-ui.line.dashType.solid','ShapeBorderCallout2Icon','SetInlineFormatUnderlineCommand','univer-flex\x20univer-items-center\x20univer-justify-between','_activeShapeId','_adjName','docs-shape-ui.shape.type.lightning-bolt','disableObjectsEvent','Radio','isHorizontal','setSelectionRanges','mergeMenu','focus$','InsertDocDrawingCommand','ShapeWedgeRoundRectCalloutIcon','docs-shape-ui.fill.picture.offsetX','Dodecagon','Select','NoFill','FOCUSING_COMMON_DRAWINGS','ShapeFlowChartDocumentIcon','IImageIoService','doc.operation.close-doc-shape-format-panel','docs-shape-ui.line.solidLine','_popupMenuListener','top-center','Path','ShapeFlowChartDecisionIcon','ItalicIcon','complete','onerror','DashDot','UniverDocsShapeUIPlugin','objects','ShapeBorderCallout3Icon','default','ShapeNoSmokingIcon','ShapeActionButtonBackPreviousIcon','ShapeAccentBorderCallout1Icon','#2563EB','ShapeAccentCallout3Icon','merge','_clipService','VerticalScroll','docs-shape-ui.shape.type.bent-connector3-arrow2','docs-shape-ui.shape.type.wedge-ellipse-callout','ShapeCornerTabsIcon','BentConnector3','MEDIA','docs-shape-ui.shape.type.bent-connector3','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','AccentCallout1','focus','Checkbox','_docsShapeService','ShapeSnip1RectIcon','CURSOR_TYPE','isInGroup','docs-shape-ui.line.sketchType.none','docs-shape-ui.line.capType.title','RoundRect','univer-flex-1\x20univer-overflow-auto','_shapeTextEditingService','UpArrowCallout','#ffffff','_registerDrawingFocusChangeHandler','DRAWING_SHAPE','transparent','ShapeIrregularSeal2Icon','docs-shape-ui.shape.type.trapezoid','SetInlineFormatBoldCommand','docs-shape-ui.shape.type.star10','BorderCallout3','BracketPair','doc.shape.floating-toolbar','ShapeActionButtonEndIcon','ActionButtonReturn','prototype','focusDrawing','DEFAULT_DOC_SHAPE_WIDTH','None','AlignRightCommand','NoLine','doc.operation.open-doc-shape-format-panel','ShapeTeardropIcon','docs-shape-ui.fill.picture.offsetY','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','CTRL_COMMAND','ShapeDoubleWaveIcon','HorizontalAlign','registerRenderModule','getUnit','getImageSourceCache','515232xFkdIW','DocSelectAllCommand','FlowchartMagneticDisk','FlowchartDisplay','docs-shape-ui.shape.type.accent-border-callout2','ShapeBracketPairIcon','docs-shape-ui.fill.picture.scaleX','PERIOD','DeleteIcon','ActionButtonHome','_localeService','_activeShapeInfo','univer-hidden','Freehand','DeleteLeftCommand','EllipseRibbon','Curved','startNodePosition','diamond','CornerTabs','stops','_initShapePopupMenu','syncExecuteCommand','FOCUSING_SHAPE_TEXT_EDITOR','DEFAULT_DOC_SHAPE_HEIGHT','children','_createShapeAdjustControls','deepClone','docs-shape-ui.shape.type.flow-chart-preparation','univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','FlowchartPredefinedProcess','KeyCode','ShapeDiagStripeIcon','docs-shape-ui.shape.type.home-plate','docs-shape-ui.shape.type.block-arc','drawingType','6.8','round','docs-shape-ui.shape.type.flow-chart-extract','docs-shape-ui.shape.type.rt-triangle','UpDownArrow','ShapeBentArrowIcon','alignment','Radial','COMMA','univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','docs-shape-ui.shape.type.action-button-sound','docs-shape-ui.shape.type.math-divide','setEditing','bottom-center','onPointerDown$','FOCUSING_PANEL_EDITOR','_insertShapes','horizontalAlign','_loadShapePictureFill','_clearPopups','ShapeCurvedLeftArrowIcon','min','doc.shape.edit.panel','Circle','_adjustPointObjects','_activeShapeAdjustPointList','ShapeFlowChartOfflineStorageIcon','ShapeRibbon2Icon','value','_isShouldShowDrawingShapeAdjust','docs-shape-ui.shape.type.star12','ShapeStraightConnector1Icon','setShapeData','ContextMenuGroup','docs-shape-ui.shape.type.ellipse-ribbon','InsertDocShapeMutation','TRUE','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','viewBound','Flat','docs-shape-ui.shape.type.diag-stripe','stopPropagation','asObservable','FlowchartMerge','ShapeStar32Icon','_clearShapeAdjustControls','addObject','DRAWING_OBJECT_LAYER_INDEX','univer-text-primary-600','ShapeFillEnum','radial','WRAP_NONE','ShapeStar8Icon','_updateShape','PARAGRAPH','docs-shape-ui.shape.type.corner-tabs','ShapeActionButtonHomeIcon','DOCS_SHAPE_UI_PLUGIN','SetInlineFormatStrikethroughCommand','docs-shape-ui.shape.type.math-multiply','ShapeFlowChartManualOperationIcon','ShapeAccentCallout2Icon','docs-shape-ui.shape.type.diamond','Medium','INSERT_BELLOW_MENU_ID','univer-flex\x20univer-items-center\x20univer-gap-2','docs-shape-ui.shape.type.left-right-circular-arrow','ShapeTextEditorContainer','docs-shape-ui.shape.type.folder-corner','svg','getFlatMenuByPositionKey','Angular','docs-shape-ui.shape.type.curved-up-arrow','true','onSavingEditorData$','ShapeTrapezoidIcon','FlowchartMagneticDrum','vertexAngle','reduce','FlowchartDecision','ShapeHeartIcon','error','ShapePlusIcon','docs-shape-ui.shape.type.left-right-ribbon','ShapeFlowChartOffpageConnectorIcon','shapeData','textRuns','_commandService','docs-shape-ui.line.endArrowSize','MetaKeys','range','MathPlus','_shapeId','211244UJFDVE','deg)\x20scaleY(','other','transformByState','docs-shape-ui.shape.type.flow-chart-connector','M2.5\x2015.5H8.2','_docDrawingShapeRenderController','UniverDocsShapePlugin','restore','ICommandService','getShapeTextData','IDrawingManagerService','ShapeOctagonIcon','sin','ShapeGradientTypeEnum','docs-shape-ui.shape.type.notched-right-arrow','ShapeRound1RectIcon','docs-shape-ui.shape.type.left-right-up-arrow','ShapeFlowChartProcessIcon','ShapeBlockArcIcon','ShapeArrowTypeEnum','scale','docs-shape-ui.shape.type.action-button-beginning','docs-shape-ui.shape.type.funnel','getAncestorScale','docs-shape-ui.toolbar.italic','ActionButtonForwardNext','refreshShapeFillImage','custom','docs-shape-ui.shape.type.curved-left-arrow','_docSelectionRenderService','CloseDocShapeFormatPanelOperation','setSrcRect','RightBracket','ShapeAccentCallout1Icon','shape-text-editor-content','univer-text-sm','ShapeVerticalScrollIcon','docs-shape-ui.textWrap.square','ShapeIcon','RadioGroup','shapeId','shapeKey','docs-shape-ui.shape.type.octagon','fillType','ShapeSnip2SameRectIcon','Star7','ShapeLeftRightRibbonIcon','docs-shape-ui.shape.type.action-button-forward-next','BlockArc','none','VerticalCenterIcon','Digit7','univer-grid\x20univer-grid-cols-10\x20univer-gap-1','ShapeGear9Icon','StripedRightArrow','IUIPartsService','docs-shape-ui.shape.type.moon'];_0x2877=function(){return _0x22c9f1;};return _0x2877();}function se(_0x402a87,_0x3f1f59=u[_0x32d26c(0x4bd)][_0x32d26c(0x592)]){const _0x455d98=_0x32d26c;return{'id':_0x455d98(0x1d2),'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0,'paragraphStyle':{'horizontalAlign':_0x3f1f59}}]},'documentStyle':{'textStyle':_0x402a87?{..._0x402a87}:void 0x0}};}function Z(_0x38568a,_0x2b1810){const _0x1c3d51=_0x32d26c;var _0x199b09,_0x4e9f4e;let _0x14807d=_0x38568a[_0x1c3d51(0x350)],_0x47fdcb=_0x14807d&&_0x1c3d51(0x3f8)in _0x14807d?_0x14807d[_0x1c3d51(0x3f8)]:void 0x0,_0xc0c752=(_0x199b09=(_0x4e9f4e=_0x2b1810['horizontalAlign'])==null?_0x47fdcb==null?void 0x0:_0x47fdcb['ha']:_0x4e9f4e)==null?u[_0x1c3d51(0x4bd)][_0x1c3d51(0x592)]:_0x199b09;if(_0x47fdcb!=null&&_0x47fdcb['doc']){var _0x2d3bbd,_0x23bdb4;return{'va':(_0x2d3bbd=_0x47fdcb['va'])==null?u[_0x1c3d51(0x1ff)][_0x1c3d51(0x346)]:_0x2d3bbd,'ha':(_0x23bdb4=_0x47fdcb['ha'])==null?u['HorizontalAlign'][_0x1c3d51(0x592)]:_0x23bdb4,'doc':u[_0x1c3d51(0x582)][_0x1c3d51(0x4dc)](_0x47fdcb['doc'])};}return{'va':u[_0x1c3d51(0x1ff)][_0x1c3d51(0x346)],'ha':_0xc0c752,'doc':se(_0x2b1810[_0x1c3d51(0x373)],_0xc0c752)};}function ce(_0x5629b5,_0x118690){const _0x488636=_0x32d26c;var _0x37cdd4,_0x48a6d6,_0x5b57fd,_0x3dc3b4;let _0x4c997a=_0x5629b5[_0x488636(0x350)],_0x4db337=Z(_0x5629b5,_0x118690),_0x22a96a=(_0x37cdd4=_0x118690[_0x488636(0x4f6)])==null?_0x4db337['ha']:_0x37cdd4,_0x54e579=(_0x48a6d6=_0x118690[_0x488636(0x279)])==null?_0x4db337['va']:_0x48a6d6,_0xfa983b=_0x4db337['doc'];if(_0x118690[_0x488636(0x373)]){var _0x4ed782,_0xbfb4ae;_0xfa983b['documentStyle']={..._0xfa983b[_0x488636(0x29d)],'textStyle':{...(_0x4ed782=_0xfa983b[_0x488636(0x29d)])==null?void 0x0:_0x4ed782[_0x488636(0x373)],..._0x118690[_0x488636(0x373)]}};let _0x14283f=(_0xbfb4ae=_0xfa983b['body'])==null?void 0x0:_0xbfb4ae[_0x488636(0x53b)];if(_0x14283f){for(let _0x1f9fa7 of _0x14283f)_0x1f9fa7['ts']={..._0x1f9fa7['ts'],..._0x118690[_0x488636(0x373)]};}}let _0x1b2883=(_0x5b57fd=_0xfa983b['body'])==null?void 0x0:_0x5b57fd['paragraphs'];if(_0x1b2883){for(let _0x4922fe of _0x1b2883)_0x4922fe[_0x488636(0x5fb)]={..._0x4922fe['paragraphStyle'],'horizontalAlign':_0x22a96a};}return{'shapeText':{'isHorizontal':(_0x3dc3b4=_0x4c997a==null?void 0x0:_0x4c997a[_0x488636(0x46d)])==null?!0x0:_0x3dc3b4,'dataModel':{'va':_0x54e579,'ha':_0x22a96a,'doc':_0xfa983b}}};}const le=_0x32d26c(0x4ae);function Q(_0x502043){const _0x1f697b=_0x32d26c;let _0x5b8b7e=_0x502043[_0x1f697b(0x350)];return _0x5b8b7e&&_0x1f697b(0x3f8)in _0x5b8b7e&&_0x5b8b7e[_0x1f697b(0x3f8)]?_0x5b8b7e[_0x1f697b(0x3f8)]:null;}function ue(_0x333ebc){const _0x1856fc=_0x32d26c;var _0x10a05d,_0xf1217b,_0x4e804c,_0x1fb699;let _0x55ecdf=(_0x10a05d=Q(_0x333ebc))==null?void 0x0:_0x10a05d['doc'],_0x5d2ece=(_0xf1217b=_0x55ecdf==null||(_0x4e804c=_0x55ecdf[_0x1856fc(0x344)])==null||(_0x4e804c=_0x4e804c[_0x1856fc(0x53b)])==null||(_0x4e804c=_0x4e804c[0x0])==null?void 0x0:_0x4e804c['ts'])==null?{}:_0xf1217b;return{..._0x55ecdf==null||(_0x1fb699=_0x55ecdf['documentStyle'])==null?void 0x0:_0x1fb699[_0x1856fc(0x373)],..._0x5d2ece};}function de(_0x4391a7,_0x32ad16){const _0xf4df1a=_0x32d26c;var _0x453af2;let _0x53e7e7=_0x4391a7==null||(_0x453af2=_0x4391a7['getSnapshot']()['drawings'])==null?void 0x0:_0x453af2[_0x32ad16];return _0x53e7e7?_0x53e7e7['layoutType']===u[_0xf4df1a(0x453)][_0xf4df1a(0x518)]?_0x53e7e7[_0xf4df1a(0x5bf)]===u[_0xf4df1a(0x39e)]['TRUE']?'behindText':_0xf4df1a(0x5ec):_0x53e7e7['layoutType']===u[_0xf4df1a(0x453)][_0xf4df1a(0x43d)]?'wrapSquare':_0x53e7e7[_0xf4df1a(0x395)]===u[_0xf4df1a(0x453)][_0xf4df1a(0x59d)]?'wrapTopAndBottom':_0xf4df1a(0x2e9):_0xf4df1a(0x2e9);}function fe(){const _0x5df0f8=_0x32d26c;return(0x0,x['jsx'])(_0x5df0f8(0x363),{'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 _0x12dbb2=_0x32d26c;return(0x0,x[_0x12dbb2(0x1fc)])(_0x12dbb2(0x52a),{'viewBox':_0x12dbb2(0x137),'width':'1em','height':_0x12dbb2(0x44e),'fill':_0x12dbb2(0x574),'aria-hidden':_0x12dbb2(0x52e),'children':[(0x0,x[_0x12dbb2(0x186)])('path',{'d':_0x12dbb2(0x435),'stroke':'currentColor','strokeWidth':_0x12dbb2(0x2d8),'strokeLinecap':_0x12dbb2(0x4e6)}),(0x0,x[_0x12dbb2(0x186)])(_0x12dbb2(0x5ba),{'d':'M11.8\x204.5H17.5','stroke':_0x12dbb2(0x36c),'strokeWidth':_0x12dbb2(0x2d8),'strokeLinecap':_0x12dbb2(0x4e6)}),(0x0,x[_0x12dbb2(0x186)])(_0x12dbb2(0x5ba),{'d':_0x12dbb2(0x161),'stroke':'currentColor','strokeWidth':_0x12dbb2(0x2d8),'strokeLinecap':_0x12dbb2(0x4e6)}),(0x0,x[_0x12dbb2(0x186)])(_0x12dbb2(0x5ba),{'d':_0x12dbb2(0x3dc),'stroke':_0x12dbb2(0x36c),'strokeWidth':_0x12dbb2(0x2d8),'strokeLinecap':_0x12dbb2(0x4e6)}),(0x0,x[_0x12dbb2(0x186)])(_0x12dbb2(0x5ba),{'d':_0x12dbb2(0x547),'stroke':_0x12dbb2(0x36c),'strokeWidth':'1.4','strokeLinecap':_0x12dbb2(0x4e6)}),(0x0,x['jsx'])(_0x12dbb2(0x5ba),{'d':'M11.8\x2015.5H17.5','stroke':'currentColor','strokeWidth':'1.4','strokeLinecap':_0x12dbb2(0x4e6)}),(0x0,x[_0x12dbb2(0x186)])(_0x12dbb2(0x20a),{'x':_0x12dbb2(0x4e5),'y':'7','width':_0x12dbb2(0x1c2),'height':'6','rx':'1','stroke':'currentColor','strokeWidth':'1.4'})]});}function me(_0x79f0fe){const _0x4eeac9=_0x32d26c;return _0x79f0fe instanceof HTMLElement?!!_0x79f0fe[_0x4eeac9(0x287)](_0x4eeac9(0x2e1)):!0x1;}function $(_0x43a48f){const _0x202e5f=_0x32d26c;return(0x0,x[_0x202e5f(0x186)])(_0x202e5f(0x259),{'className':_0x202e5f(0x411),'children':_0x43a48f[_0x202e5f(0x4da)]});}function he(_0x2e8945){const _0xf342e6=_0x32d26c;return(0x0,x['jsx'])(v[_0xf342e6(0x213)],{'title':_0x2e8945[_0xf342e6(0x1a5)],'placement':_0xf342e6(0x2a9),'children':(0x0,x[_0xf342e6(0x186)])('button',{'type':_0xf342e6(0x283),'disabled':_0x2e8945[_0xf342e6(0x39b)],'onClick':_0x2e8945['onClick'],'className':(0x0,v[_0xf342e6(0x26c)])(_0xf342e6(0x399),{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x2e8945[_0xf342e6(0x2ab)]}),'children':_0x2e8945['children']})});}function ge(_0x492244){const _0x4eca2c=_0x32d26c;let [_0x1de4ac,_0x32c433]=(0x0,y[_0x4eca2c(0x337)])(!0x1);return(0x0,x[_0x4eca2c(0x186)])(v[_0x4eca2c(0x152)],{'disabled':_0x492244[_0x4eca2c(0x39b)],'open':_0x1de4ac,'onOpenChange':_0x32c433,'overlay':(0x0,x[_0x4eca2c(0x186)])('div',{'className':_0x4eca2c(0x176),'children':(0x0,x[_0x4eca2c(0x186)])(v['ColorPicker'],{'value':_0x492244[_0x4eca2c(0x304)],'onChange':_0x1fc402=>{_0x492244['onChange'](_0x1fc402),_0x32c433(!0x1);}})}),'children':(0x0,x[_0x4eca2c(0x186)])(_0x4eca2c(0x363),{'children':(0x0,x[_0x4eca2c(0x186)])(v[_0x4eca2c(0x213)],{'title':_0x492244[_0x4eca2c(0x1a5)],'placement':_0x4eca2c(0x2a9),'children':(0x0,x['jsxs'])('button',{'type':_0x4eca2c(0x283),'disabled':_0x492244['disabled'],'className':'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','children':[_0x492244['children'],(0x0,x['jsx'])('span',{'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\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','style':{'backgroundColor':_0x492244['color']}})]})})})});}function _e(_0x15b635){const _0x3a7b76=_0x32d26c;var _0x4babdf;let [_0x30a779,_0x5122ee]=(0x0,y[_0x3a7b76(0x337)])(!0x1),_0x895409=(_0x4babdf=_0x15b635[_0x3a7b76(0x5a0)]['find'](_0x361363=>_0x361363[_0x3a7b76(0x501)]===_0x15b635['value']))==null?_0x15b635[_0x3a7b76(0x5a0)][0x0]:_0x4babdf;return(0x0,x['jsx'])(v[_0x3a7b76(0x152)],{'open':_0x30a779,'onOpenChange':_0x5122ee,'overlay':(0x0,x[_0x3a7b76(0x186)])(_0x3a7b76(0x259),{'className':_0x3a7b76(0x496),'children':_0x15b635['options']['map'](_0x2fd88d=>(0x0,x[_0x3a7b76(0x1fc)])(_0x3a7b76(0x283),{'type':'button','onClick':()=>{const _0x2138dd=_0x3a7b76;_0x15b635[_0x2138dd(0x14e)](_0x2fd88d[_0x2138dd(0x501)]),_0x5122ee(!0x1);},'className':(0x0,v[_0x3a7b76(0x26c)])(_0x3a7b76(0x50a),{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x2fd88d[_0x3a7b76(0x501)]===_0x15b635['value']}),'children':[(0x0,x[_0x3a7b76(0x186)])(_0x3a7b76(0x363),{'className':_0x3a7b76(0x2bc),'children':_0x2fd88d[_0x3a7b76(0x24b)]}),(0x0,x[_0x3a7b76(0x186)])('span',{'className':_0x3a7b76(0x14a),'children':_0x2fd88d[_0x3a7b76(0x3d2)]})]},_0x2fd88d[_0x3a7b76(0x501)]))}),'children':(0x0,x[_0x3a7b76(0x186)])(_0x3a7b76(0x363),{'children':(0x0,x[_0x3a7b76(0x186)])(v[_0x3a7b76(0x213)],{'title':_0x15b635[_0x3a7b76(0x1a5)],'placement':_0x3a7b76(0x2a9),'children':(0x0,x[_0x3a7b76(0x1fc)])(_0x3a7b76(0x283),{'type':_0x3a7b76(0x283),'className':(0x0,v[_0x3a7b76(0x26c)])(_0x3a7b76(0x12e),{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x30a779}),'children':[_0x895409[_0x3a7b76(0x24b)],(0x0,x[_0x3a7b76(0x186)])(h[_0x3a7b76(0x28d)],{'className':'univer-text-xs'})]})})})});}function ve(_0x3e56b0){const _0x4aac10=_0x32d26c;var _0x17dced,_0x3df72f,_0x4292ba,_0x452a3c,_0x2fcd27,_0x417952,_0x28c3b1,_0x2db0ce,_0x36cf4f,_0x192a47,_0x1f1a90,_0x506576,_0x11244a,_0x176ee4,_0x22ce4d,_0x4b0d46,_0x277d73,_0x140b89,_0xbfe106,_0x45e751,_0x40737e;let _0x191598=_0x3e56b0[_0x4aac10(0x1af)][_0x4aac10(0x300)];if(!_0x191598)return null;let _0x41f742=(0x0,g[_0x4aac10(0x637)])(u['ICommandService']),_0x50b7bb=(0x0,g[_0x4aac10(0x637)])(u[_0x4aac10(0x1ba)]),_0x477032=(0x0,g[_0x4aac10(0x637)])(l[_0x4aac10(0x3c2)]),_0x2bce98=(0x0,g['useDependency'])(u[_0x4aac10(0x342)]),_0x4f7236=(0x0,g[_0x4aac10(0x637)])(u[_0x4aac10(0x1c7)]),_0x25592f=(0x0,g['useDependency'])(g['IFontService']),{unitId:_0x1530f3,subUnitId:_0x35f1da,drawingId:_0xa42a7f,shapeType:_0x5c5b52}=_0x191598,[_0x265c67,_0x4944be]=(0x0,y['useState'])(_0x191598[_0x4aac10(0x53a)]),[_0x30fd21,_0x26cd0b]=(0x0,y[_0x4aac10(0x337)])(!0x1),[_0x59a3f5,_0x711dd1]=(0x0,y[_0x4aac10(0x337)])(()=>_0x25592f[_0x4aac10(0x5e2)]()),_0x15e8dc=(_0x17dced=_0x2bce98[_0x4aac10(0x4bf)](_0x1530f3,u[_0x4aac10(0x5ee)][_0x4aac10(0x11f)]))==null?void 0x0:_0x17dced,[_0x2a7fe0,_0x1475b9]=(0x0,y['useState'])(()=>de(_0x15e8dc,_0xa42a7f)),_0x12b259=(0x0,c[_0x4aac10(0x3f5)])(_0x5c5b52),_0x39387f=(0x0,y[_0x4aac10(0x5ae)])(()=>ue(_0x265c67),[_0x265c67]),_0xa566f8=(0x0,y[_0x4aac10(0x5ae)])(()=>Q(_0x265c67),[_0x265c67]);(0x0,y[_0x4aac10(0x257)])(()=>{const _0x413beb=_0x4aac10;let _0x4087a2=_0x41f742[_0x413beb(0x15f)](_0x25ecff=>{const _0x1d6234=_0x413beb;if(_0x25ecff['id']!==l[_0x1d6234(0x36d)]['id'])return;let _0x425ce4=_0x477032[_0x1d6234(0x1c5)](_0x1530f3,_0x35f1da,_0xa42a7f);_0x425ce4&&_0x4944be(_0x425ce4);});return()=>_0x4087a2[_0x413beb(0x310)]();},[_0x41f742,_0x477032,_0xa42a7f,_0x35f1da,_0x1530f3]),(0x0,y[_0x4aac10(0x257)])(()=>{const _0x4637fb=_0x4aac10;let _0x493db5=_0x25592f['fonts$'][_0x4637fb(0x1ae)](_0x4ae995=>{_0x711dd1(_0x4ae995);});return()=>_0x493db5[_0x4637fb(0x1da)]();},[_0x25592f]);let _0x4ed9cf=_0x626da0=>{_0x4944be(_0x4f0713=>({..._0x4f0713,..._0x626da0}));},_0xd8e688=_0x1ef1b2=>{const _0x103320=_0x4aac10;let _0xd6891a=ce(_0x265c67,_0x1ef1b2);z(_0x41f742,_0x1530f3,_0x35f1da,_0xa42a7f,{'oldShapeData':{'shapeText':_0x265c67[_0x103320(0x350)]}},_0xd6891a),_0x4ed9cf(_0xd6891a);},_0x3832d8=_0x8d9cc8=>{const _0x18d190=_0x4aac10;_0x1475b9(_0x8d9cc8),_0x41f742[_0x18d190(0x3a8)](_0x18d190(0x5b7),{'unitId':_0x1530f3,'subUnitId':_0x35f1da,'drawings':[{'unitId':_0x1530f3,'subUnitId':_0x35f1da,'drawingId':_0xa42a7f}],'wrappingStyle':_0x8d9cc8});};if(_0x30fd21)return null;let _0x14dfdb=(_0x3df72f=(_0x4292ba=_0x265c67[_0x4aac10(0x61d)])==null?void 0x0:_0x4292ba[_0x4aac10(0x304)])==null?_0x4aac10(0x139):_0x3df72f,_0x4dd4cb=(_0x452a3c=(_0x2fcd27=_0x265c67['stroke'])==null?void 0x0:_0x2fcd27[_0x4aac10(0x304)])==null?_0x4aac10(0x48b):_0x452a3c,_0x5b85e4=(_0x417952=(_0x28c3b1=_0x39387f['cl'])==null?void 0x0:_0x28c3b1[_0x4aac10(0x3f1)])==null?_0x4aac10(0x2aa):_0x417952,_0x2bae7c=(_0x2db0ce=(_0x36cf4f=_0x39387f['bg'])==null?void 0x0:_0x36cf4f[_0x4aac10(0x3f1)])==null?_0x4aac10(0x4a4):_0x2db0ce,_0xcc7a08=(_0x192a47=_0x39387f['ff'])==null?'monospace':_0x192a47,_0x4f1219=(_0x1f1a90=_0x39387f['fs'])==null?0xe:_0x1f1a90,_0x36e22b=_0x39387f['bl']===u['BooleanNumber']['TRUE'],_0x13d4f6=_0x39387f['it']===u['BooleanNumber'][_0x4aac10(0x509)],_0x71012e=((_0x506576=_0x39387f['ul'])==null?void 0x0:_0x506576['s'])===u[_0x4aac10(0x39e)][_0x4aac10(0x509)],_0x3aba3f=((_0x11244a=_0x39387f['st'])==null?void 0x0:_0x11244a['s'])===u['BooleanNumber']['TRUE'],_0x1007f4=_0x59a3f5[_0x4aac10(0x230)](_0x8f18eb=>({'label':_0x50b7bb['t'](_0x8f18eb['label']),'value':_0x8f18eb['value']})),_0xae3a0f=g[_0x4aac10(0x421)][_0x4aac10(0x230)](_0x10a08c=>({'label':_0x10a08c[_0x4aac10(0x3d2)],'value':String(_0x10a08c['value'])})),_0x5acb18=(_0x176ee4=_0xa566f8==null?void 0x0:_0xa566f8['ha'])==null?u[_0x4aac10(0x4bd)][_0x4aac10(0x592)]:_0x176ee4,_0x14a420=(_0x22ce4d=_0xa566f8==null?void 0x0:_0xa566f8['va'])==null?u['VerticalAlign'][_0x4aac10(0x346)]:_0x22ce4d,_0x2c5d89=[{'label':_0x50b7bb['t'](_0x4aac10(0x29b)),'value':u[_0x4aac10(0x4bd)]['LEFT'],'icon':(0x0,x[_0x4aac10(0x186)])(h[_0x4aac10(0x3a6)],{})},{'label':_0x50b7bb['t'](_0x4aac10(0x2f2)),'value':u[_0x4aac10(0x4bd)][_0x4aac10(0x266)],'icon':(0x0,x['jsx'])(h[_0x4aac10(0x5ad)],{})},{'label':_0x50b7bb['t'](_0x4aac10(0x349)),'value':u[_0x4aac10(0x4bd)]['RIGHT'],'icon':(0x0,x[_0x4aac10(0x186)])(h['RightJustifyingIcon'],{})},{'label':_0x50b7bb['t']('docs-shape-ui.toolbar.alignJustify'),'value':u['HorizontalAlign'][_0x4aac10(0x2d9)],'icon':(0x0,x[_0x4aac10(0x186)])(h[_0x4aac10(0x44c)],{})}],_0x53cc0a=[{'label':_0x50b7bb['t']('docs-shape-ui.align.top'),'value':u[_0x4aac10(0x1ff)][_0x4aac10(0x346)],'icon':(0x0,x[_0x4aac10(0x186)])(h[_0x4aac10(0x624)],{})},{'label':_0x50b7bb['t'](_0x4aac10(0x348)),'value':u[_0x4aac10(0x1ff)]['MIDDLE'],'icon':(0x0,x['jsx'])(h[_0x4aac10(0x575)],{})},{'label':_0x50b7bb['t'](_0x4aac10(0x419)),'value':u['VerticalAlign'][_0x4aac10(0x160)],'icon':(0x0,x['jsx'])(h[_0x4aac10(0x451)],{})}],_0x69a4ee=[{'label':_0x50b7bb['t'](_0x4aac10(0x17b)),'value':_0x4aac10(0x2e9),'icon':(0x0,x['jsx'])(pe,{})},{'label':_0x50b7bb['t'](_0x4aac10(0x568)),'value':_0x4aac10(0x3e8),'icon':(0x0,x[_0x4aac10(0x186)])(pe,{})},{'label':_0x50b7bb['t'](_0x4aac10(0x367)),'value':'wrapTopAndBottom','icon':(0x0,x[_0x4aac10(0x186)])(pe,{})},{'label':_0x50b7bb['t'](_0x4aac10(0x15c)),'value':'behindText','icon':(0x0,x[_0x4aac10(0x186)])(pe,{})},{'label':_0x50b7bb['t'](_0x4aac10(0x62d)),'value':_0x4aac10(0x5ec),'icon':(0x0,x[_0x4aac10(0x186)])(pe,{})}];return(0x0,x[_0x4aac10(0x1fc)])(_0x4aac10(0x259),{'data-u-comp':'shape-floating-toolbar','onMouseDown':_0x297756=>{const _0x228e77=_0x4aac10;_0x297756[_0x228e77(0x50e)](),me(_0x297756[_0x228e77(0x319)])||_0x297756[_0x228e77(0x5ce)]();},'className':(0x0,v[_0x4aac10(0x26c)])('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[_0x4aac10(0x428)]),'children':[(0x0,x[_0x4aac10(0x1fc)])($,{'compact':!0x0,'children':[(0x0,x[_0x4aac10(0x186)])(ge,{'title':_0x50b7bb['t'](_0x4aac10(0x17e)),'color':_0x14dfdb,'disabled':_0x12b259,'onChange':_0x51e713=>{const _0x3b80d5=_0x4aac10;let _0x22feb2={'fill':{..._0x265c67[_0x3b80d5(0x61d)],'fillType':c['ShapeFillEnum'][_0x3b80d5(0x409)],'color':_0x51e713}};z(_0x41f742,_0x1530f3,_0x35f1da,_0xa42a7f,{'oldShapeData':{'fill':_0x265c67[_0x3b80d5(0x61d)]}},_0x22feb2),_0x4ed9cf(_0x22feb2);},'children':(0x0,x[_0x4aac10(0x186)])(h[_0x4aac10(0x330)],{'extend':{'colorChannel1':_0x14dfdb}})}),(0x0,x['jsx'])(ge,{'title':_0x50b7bb['t'](_0x4aac10(0x597)),'color':_0x4dd4cb,'onChange':_0x5e3021=>{const _0xed8086=_0x4aac10;let _0x8f1306={'stroke':{..._0x265c67[_0xed8086(0x28f)],'lineStrokeType':c[_0xed8086(0x21a)][_0xed8086(0x398)],'color':_0x5e3021}};z(_0x41f742,_0x1530f3,_0x35f1da,_0xa42a7f,{'oldShapeData':{'stroke':_0x265c67[_0xed8086(0x28f)]}},_0x8f1306),_0x4ed9cf(_0x8f1306);},'children':(0x0,x[_0x4aac10(0x186)])(h[_0x4aac10(0x255)],{})})]}),(0x0,x[_0x4aac10(0x186)])(fe,{}),(0x0,x['jsxs'])($,{'children':[(0x0,x['jsx'])(v[_0x4aac10(0x475)],{'className':_0x4aac10(0x25e),'value':_0xcc7a08,'options':_0x1007f4,'onChange':_0x2cf654=>_0xd8e688({'textStyle':{'ff':String(_0x2cf654)}})}),(0x0,x['jsx'])(v[_0x4aac10(0x475)],{'className':'!univer-h-6\x20univer-w-14\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-px-1.5','value':String(_0x4f1219),'options':_0xae3a0f,'onChange':_0xba8879=>{const _0x1323c8=_0x4aac10;let _0x1939b8=Number(_0xba8879);Number['isNaN'](_0x1939b8)||_0xd8e688({'textStyle':{'fs':_0x1939b8}}),_0x4f7236[_0x1323c8(0x616)](u[_0x1323c8(0x4f4)],!0x1);}})]}),(0x0,x['jsx'])(fe,{}),(0x0,x[_0x4aac10(0x1fc)])($,{'compact':!0x0,'children':[(0x0,x[_0x4aac10(0x186)])(he,{'title':_0x50b7bb['t'](_0x4aac10(0x410)),'active':_0x36e22b,'onClick':()=>_0xd8e688({'textStyle':{'bl':_0x36e22b?u[_0x4aac10(0x39e)][_0x4aac10(0x2d7)]:u[_0x4aac10(0x39e)][_0x4aac10(0x509)]}}),'children':(0x0,x[_0x4aac10(0x186)])(h['BoldIcon'],{})}),(0x0,x[_0x4aac10(0x186)])(he,{'title':_0x50b7bb['t'](_0x4aac10(0x55b)),'active':_0x13d4f6,'onClick':()=>_0xd8e688({'textStyle':{'it':_0x13d4f6?u['BooleanNumber'][_0x4aac10(0x2d7)]:u[_0x4aac10(0x39e)][_0x4aac10(0x509)]}}),'children':(0x0,x['jsx'])(h[_0x4aac10(0x480)],{})}),(0x0,x['jsx'])(he,{'title':_0x50b7bb['t']('docs-shape-ui.toolbar.underline'),'active':_0x71012e,'onClick':()=>_0xd8e688({'textStyle':{'ul':{'s':_0x71012e?u[_0x4aac10(0x39e)][_0x4aac10(0x2d7)]:u['BooleanNumber'][_0x4aac10(0x509)]}}}),'children':(0x0,x[_0x4aac10(0x186)])(h[_0x4aac10(0x2ad)],{})}),(0x0,x['jsx'])(he,{'title':_0x50b7bb['t'](_0x4aac10(0x596)),'active':_0x3aba3f,'onClick':()=>_0xd8e688({'textStyle':{'st':{'s':_0x3aba3f?u[_0x4aac10(0x39e)][_0x4aac10(0x2d7)]:u['BooleanNumber'][_0x4aac10(0x509)]}}}),'children':(0x0,x[_0x4aac10(0x186)])(h['StrikethroughIcon'],{})})]}),(0x0,x[_0x4aac10(0x186)])(fe,{}),(0x0,x[_0x4aac10(0x1fc)])($,{'compact':!0x0,'children':[(0x0,x[_0x4aac10(0x186)])(ge,{'title':_0x50b7bb['t'](_0x4aac10(0x5b5)),'color':_0x5b85e4,'onChange':_0x4020c1=>_0xd8e688({'textStyle':{'cl':{'rgb':_0x4020c1}}}),'children':(0x0,x[_0x4aac10(0x186)])(h['FontColorDoubleIcon'],{'extend':{'colorChannel1':_0x5b85e4}})}),(0x0,x[_0x4aac10(0x186)])(ge,{'title':_0x50b7bb['t']('docs-shape-ui.toolbar.fillColor'),'color':_0x2bae7c,'onChange':_0x5e7005=>_0xd8e688({'textStyle':{'bg':{'rgb':_0x5e7005}}}),'children':(0x0,x[_0x4aac10(0x186)])(h[_0x4aac10(0x330)],{'extend':{'colorChannel1':_0x2bae7c}})})]}),(0x0,x[_0x4aac10(0x186)])(fe,{}),(0x0,x['jsxs'])($,{'compact':!0x0,'children':[(0x0,x[_0x4aac10(0x186)])(_e,{'title':(_0x4b0d46=(_0x277d73=_0x2c5d89[_0x4aac10(0x1b8)](_0x420530=>_0x420530[_0x4aac10(0x501)]===_0x5acb18))==null?void 0x0:_0x277d73['label'])==null?_0x50b7bb['t']('docs-shape-ui.toolbar.alignLeft'):_0x4b0d46,'value':_0x5acb18,'options':_0x2c5d89,'onChange':_0x1d88f3=>_0xd8e688({'horizontalAlign':_0x1d88f3})}),(0x0,x['jsx'])(_e,{'title':(_0x140b89=(_0xbfe106=_0x53cc0a[_0x4aac10(0x1b8)](_0x5cacf3=>_0x5cacf3[_0x4aac10(0x501)]===_0x14a420))==null?void 0x0:_0xbfe106[_0x4aac10(0x3d2)])==null?_0x50b7bb['t'](_0x4aac10(0x420)):_0x140b89,'value':_0x14a420,'options':_0x53cc0a,'onChange':_0x45df80=>_0xd8e688({'verticalAlign':_0x45df80})})]}),(0x0,x[_0x4aac10(0x186)])(fe,{}),(0x0,x[_0x4aac10(0x186)])($,{'compact':!0x0,'children':(0x0,x[_0x4aac10(0x186)])(_e,{'title':(_0x45e751=(_0x40737e=_0x69a4ee[_0x4aac10(0x1b8)](_0x1c53cb=>_0x1c53cb[_0x4aac10(0x501)]===_0x2a7fe0))==null?void 0x0:_0x40737e['label'])==null?_0x50b7bb['t'](_0x4aac10(0x17b)):_0x45e751,'value':_0x2a7fe0,'options':_0x69a4ee,'onChange':_0x3832d8})}),(0x0,x[_0x4aac10(0x186)])(fe,{}),(0x0,x[_0x4aac10(0x1fc)])($,{'compact':!0x0,'children':[(0x0,x[_0x4aac10(0x186)])(he,{'title':_0x50b7bb['t']('docs-shape-ui.openPanel'),'onClick':()=>{const _0x3327b8=_0x4aac10;_0x26cd0b(!0x0),_0x41f742[_0x3327b8(0x3a8)](M['id'],{'unitId':_0x1530f3,'subUnitId':_0x35f1da,'drawingId':_0xa42a7f});},'children':(0x0,x[_0x4aac10(0x186)])(h[_0x4aac10(0x175)],{})}),(0x0,x[_0x4aac10(0x186)])(he,{'title':_0x50b7bb['t']('docs-shape-ui.deleteShape'),'onClick':()=>{const _0x438661=_0x4aac10;_0x41f742[_0x438661(0x3a8)](d[_0x438661(0x5d4)]['id'],{'unitId':_0x1530f3,'drawings':[{'unitId':_0x1530f3,'subUnitId':_0x35f1da,'drawingId':_0xa42a7f}]});},'children':(0x0,x[_0x4aac10(0x186)])(h[_0x4aac10(0x4c9)],{})})]})]});}let ye=class extends u[_0x32d26c(0x15a)]{constructor(_0x5a2045,_0x4835da){const _0x10c0e7=_0x32d26c;super(),this[_0x10c0e7(0x48e)]=_0x5a2045,this[_0x10c0e7(0x5f4)]=_0x4835da,this[_0x10c0e7(0x177)](),this['_clipService'][_0x10c0e7(0x60e)](!0x0),this[_0x10c0e7(0x19b)]({'dispose':()=>this[_0x10c0e7(0x48e)][_0x10c0e7(0x60e)](!0x1)});}[_0x32d26c(0x177)](){const _0x6cd116=_0x32d26c;let _0x5bedcf=new Map(),_0x49ad5f=this[_0x6cd116(0x48e)][_0x6cd116(0x150)]((_0x55d5e5,_0x12406a,_0x42ebc7,_0x529098,_0x198a70)=>{const _0x5e308d=_0x6cd116;let _0x36fc3d=_0x12406a;if(_0x36fc3d===c[_0x5e308d(0x445)][_0x5e308d(0x4b4)]||_0x12406a===_0x5e308d(0x55e))return!0x1;try{let _0x5c78c6=_0x5bedcf[_0x5e308d(0x30d)](_0x12406a);return _0x5c78c6||(_0x5c78c6=new c[(_0x5e308d(0x1e4))](_0x36fc3d,_0x5e308d(0x5af)+_0x12406a),_0x5bedcf['set'](_0x12406a,_0x5c78c6)),_0x198a70&&_0x5c78c6[_0x5e308d(0x505)]({'adjustValues':_0x198a70},!0x0),_0x5c78c6[_0x5e308d(0x1dd)]({'width':_0x42ebc7,'height':_0x529098}),_0x5c78c6[_0x5e308d(0x162)](_0x55d5e5,{'left':0x0,'top':0x0,'width':_0x42ebc7,'height':_0x529098});}catch{return!0x1;}});this[_0x6cd116(0x19b)](_0x49ad5f),this[_0x6cd116(0x19b)]({'dispose':()=>_0x5bedcf[_0x6cd116(0x156)]()});}['clipByShape'](_0x30648b,_0x1e2375,_0x476b85,_0x50269c,_0x1e8b24){const _0x36d3df=_0x32d26c;let _0x1c4dbd=this[_0x36d3df(0x5f4)]['getDrawingData'](_0x30648b,_0x1e2375)[_0x476b85];!_0x1c4dbd||_0x1c4dbd[_0x36d3df(0x4e4)]!==u[_0x36d3df(0x1a0)][_0x36d3df(0x5ac)]||this['_drawingManagerService']['featurePluginUpdateNotification']([{..._0x1c4dbd,'prstGeom':_0x50269c,'adjustValues':_0x1e8b24}]);}};ye=W([U(0x0,(0x0,u[_0x32d26c(0x3f3)])(b[_0x32d26c(0x3fa)])),U(0x1,(0x0,u[_0x32d26c(0x3f3)])(m['IDrawingManagerService']))],ye);const be=[{'group':_0x32d26c(0x22f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x611)],'icon':_0x32d26c(0x255),'name':_0x32d26c(0x322)},{'group':_0x32d26c(0x22f),'type':c[_0x32d26c(0x445)]['StraightConnector1'],'icon':_0x32d26c(0x504),'name':'docs-shape-ui.shape.type.straight-connector1','endArrow':!0x0},{'group':_0x32d26c(0x22f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x225)],'icon':'ShapeStraightConnector2Icon','name':'docs-shape-ui.shape.type.straight-connector2','endArrow':!0x0,'startArrow':!0x0},{'group':_0x32d26c(0x22f),'type':c['ShapeTypeEnum'][_0x32d26c(0x493)],'icon':_0x32d26c(0x3c4),'name':_0x32d26c(0x495)},{'group':_0x32d26c(0x22f),'type':c['ShapeTypeEnum'][_0x32d26c(0x493)],'icon':_0x32d26c(0x5b2),'name':_0x32d26c(0x368),'endArrow':!0x0},{'group':'line','type':c[_0x32d26c(0x445)]['BentConnector3'],'icon':_0x32d26c(0x436),'name':_0x32d26c(0x490),'endArrow':!0x0,'startArrow':!0x0},{'group':'line','type':c[_0x32d26c(0x445)][_0x32d26c(0x5eb)],'icon':'ShapeCurvedConnector3Icon','name':'docs-shape-ui.shape.type.curved-connector3'},{'group':'line','type':c['ShapeTypeEnum'][_0x32d26c(0x5eb)],'icon':'ShapeCurvedConnector3Arrow1Icon','name':_0x32d26c(0x153),'endArrow':!0x0},{'group':_0x32d26c(0x22f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x5eb)],'icon':'ShapeCurvedConnector3Arrow2Icon','name':_0x32d26c(0x21e),'endArrow':!0x0,'startArrow':!0x0},{'group':'rectangle','type':c[_0x32d26c(0x445)]['Rect'],'icon':_0x32d26c(0x45f),'name':_0x32d26c(0x433)},{'group':'rectangle','type':c[_0x32d26c(0x445)][_0x32d26c(0x4a0)],'icon':'ShapeRoundRectIcon','name':_0x32d26c(0x612)},{'group':'rectangle','type':c[_0x32d26c(0x445)][_0x32d26c(0x2a5)],'icon':_0x32d26c(0x49b),'name':'docs-shape-ui.shape.type.snip1-rect'},{'group':'rectangle','type':c[_0x32d26c(0x445)]['Snip2SameRect'],'icon':_0x32d26c(0x56f),'name':'docs-shape-ui.shape.type.snip2-same-rect'},{'group':'rectangle','type':c[_0x32d26c(0x445)][_0x32d26c(0x2e3)],'icon':'ShapeSnip2DiagRectIcon','name':_0x32d26c(0x461)},{'group':_0x32d26c(0x618),'type':c[_0x32d26c(0x445)]['SnipRoundRect'],'icon':'ShapeSnipRoundRectIcon','name':_0x32d26c(0x38a)},{'group':_0x32d26c(0x618),'type':c[_0x32d26c(0x445)][_0x32d26c(0x629)],'icon':_0x32d26c(0x552),'name':_0x32d26c(0x311)},{'group':_0x32d26c(0x618),'type':c[_0x32d26c(0x445)]['Round2SameRect'],'icon':_0x32d26c(0x58e),'name':_0x32d26c(0x423)},{'group':_0x32d26c(0x618),'type':c[_0x32d26c(0x445)][_0x32d26c(0x41d)],'icon':_0x32d26c(0x155),'name':'docs-shape-ui.shape.type.round2-diag-rect'},{'group':_0x32d26c(0x41f),'type':c['ShapeTypeEnum'][_0x32d26c(0x1fe)],'icon':_0x32d26c(0x3de),'name':'docs-shape-ui.shape.type.rect-textbox-horizontal','horizontal':!0x0},{'group':_0x32d26c(0x41f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x1fe)],'icon':_0x32d26c(0x3b2),'name':_0x32d26c(0x14f),'vertical':!0x0},{'group':_0x32d26c(0x41f),'type':c[_0x32d26c(0x445)]['Ellipse'],'icon':_0x32d26c(0x1aa),'name':'docs-shape-ui.shape.type.ellipse'},{'group':'basicShape','type':c[_0x32d26c(0x445)]['Triangle'],'icon':_0x32d26c(0x24f),'name':_0x32d26c(0x1d4)},{'group':_0x32d26c(0x41f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x5d3)],'icon':_0x32d26c(0x5a7),'name':_0x32d26c(0x4e8)},{'group':_0x32d26c(0x41f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x36b)],'icon':_0x32d26c(0x216),'name':'docs-shape-ui.shape.type.parallelogram'},{'group':_0x32d26c(0x41f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x286)],'icon':_0x32d26c(0x530),'name':_0x32d26c(0x4a9)},{'group':_0x32d26c(0x41f),'type':c[_0x32d26c(0x445)]['Diamond'],'icon':_0x32d26c(0x226),'name':_0x32d26c(0x523)},{'group':_0x32d26c(0x41f),'type':c['ShapeTypeEnum'][_0x32d26c(0x3b9)],'icon':_0x32d26c(0x418),'name':_0x32d26c(0x301)},{'group':'basicShape','type':c[_0x32d26c(0x445)][_0x32d26c(0x444)],'icon':_0x32d26c(0x61a),'name':_0x32d26c(0x41e)},{'group':_0x32d26c(0x41f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x384)],'icon':_0x32d26c(0x33d),'name':_0x32d26c(0x25f)},{'group':_0x32d26c(0x41f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x3b7)],'icon':_0x32d26c(0x54e),'name':_0x32d26c(0x56d)},{'group':_0x32d26c(0x41f),'type':c['ShapeTypeEnum']['Decagon'],'icon':_0x32d26c(0x607),'name':_0x32d26c(0x242)},{'group':_0x32d26c(0x41f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x474)],'icon':'ShapeDodecagonIcon','name':'docs-shape-ui.shape.type.dodecagon'},{'group':_0x32d26c(0x41f),'type':c[_0x32d26c(0x445)]['Pie'],'icon':_0x32d26c(0x630),'name':_0x32d26c(0x1bc)},{'group':'basicShape','type':c[_0x32d26c(0x445)][_0x32d26c(0x625)],'icon':_0x32d26c(0x426),'name':_0x32d26c(0x354)},{'group':_0x32d26c(0x41f),'type':c['ShapeTypeEnum']['Teardrop'],'icon':_0x32d26c(0x4b8),'name':'docs-shape-ui.shape.type.teardrop'},{'group':_0x32d26c(0x41f),'type':c[_0x32d26c(0x445)]['Frame'],'icon':'ShapeFrameIcon','name':_0x32d26c(0x590)},{'group':_0x32d26c(0x41f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x25d)],'icon':'ShapeHalfFrameIcon','name':_0x32d26c(0x1cb)},{'group':'basicShape','type':c[_0x32d26c(0x445)][_0x32d26c(0x2a8)],'icon':_0x32d26c(0x1ca),'name':'docs-shape-ui.shape.type.corner'},{'group':'basicShape','type':c['ShapeTypeEnum'][_0x32d26c(0x3f2)],'icon':_0x32d26c(0x4e1),'name':_0x32d26c(0x50d)},{'group':_0x32d26c(0x41f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x3c6)],'icon':_0x32d26c(0x537),'name':_0x32d26c(0x184)},{'group':_0x32d26c(0x41f),'type':c[_0x32d26c(0x445)]['Plaque'],'icon':'ShapePlaqueIcon','name':_0x32d26c(0x204)},{'group':'basicShape','type':c[_0x32d26c(0x445)][_0x32d26c(0x276)],'icon':_0x32d26c(0x1f5),'name':_0x32d26c(0x40d)},{'group':_0x32d26c(0x41f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x181)],'icon':_0x32d26c(0x164),'name':_0x32d26c(0x307)},{'group':'basicShape','type':c[_0x32d26c(0x445)]['Bevel'],'icon':_0x32d26c(0x16a),'name':_0x32d26c(0x32b)},{'group':'basicShape','type':c[_0x32d26c(0x445)]['Donut'],'icon':_0x32d26c(0x12c),'name':'docs-shape-ui.shape.type.donut'},{'group':'basicShape','type':c['ShapeTypeEnum']['NoSmoking'],'icon':_0x32d26c(0x488),'name':_0x32d26c(0x5c2)},{'group':'basicShape','type':c['ShapeTypeEnum'][_0x32d26c(0x573)],'icon':_0x32d26c(0x555),'name':_0x32d26c(0x4e3)},{'group':'basicShape','type':c[_0x32d26c(0x445)]['FoldedCorner'],'icon':'ShapeFolderCornerIcon','name':_0x32d26c(0x529)},{'group':_0x32d26c(0x41f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x18b)],'icon':_0x32d26c(0x249),'name':_0x32d26c(0x5e4)},{'group':_0x32d26c(0x41f),'type':c['ShapeTypeEnum'][_0x32d26c(0x116)],'icon':_0x32d26c(0x535),'name':_0x32d26c(0x355)},{'group':'basicShape','type':c['ShapeTypeEnum'][_0x32d26c(0x243)],'icon':_0x32d26c(0x28a),'name':_0x32d26c(0x46a)},{'group':_0x32d26c(0x41f),'type':c[_0x32d26c(0x445)]['Sun'],'icon':_0x32d26c(0x16b),'name':_0x32d26c(0x265)},{'group':_0x32d26c(0x41f),'type':c['ShapeTypeEnum']['Moon'],'icon':_0x32d26c(0x62b),'name':_0x32d26c(0x57b)},{'group':_0x32d26c(0x41f),'type':c['ShapeTypeEnum'][_0x32d26c(0x3eb)],'icon':'ShapeCloudIcon','name':_0x32d26c(0x325)},{'group':_0x32d26c(0x41f),'type':c['ShapeTypeEnum'][_0x32d26c(0x44a)],'icon':_0x32d26c(0x274),'name':_0x32d26c(0x169)},{'group':_0x32d26c(0x41f),'type':c['ShapeTypeEnum'][_0x32d26c(0x4ad)],'icon':_0x32d26c(0x4c6),'name':'docs-shape-ui.shape.type.bracket-pair'},{'group':_0x32d26c(0x41f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x387)],'icon':_0x32d26c(0x136),'name':'docs-shape-ui.shape.type.brace-pair'},{'group':_0x32d26c(0x41f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x58f)],'icon':_0x32d26c(0x128),'name':_0x32d26c(0x18d)},{'group':_0x32d26c(0x41f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x563)],'icon':_0x32d26c(0x3e9),'name':_0x32d26c(0x239)},{'group':_0x32d26c(0x41f),'type':c['ShapeTypeEnum'][_0x32d26c(0x13c)],'icon':_0x32d26c(0x442),'name':_0x32d26c(0x179)},{'group':_0x32d26c(0x41f),'type':c[_0x32d26c(0x445)]['RightBrace'],'icon':'ShapeRightBraceIcon','name':_0x32d26c(0x3d8)},{'group':'blockArrow','type':c[_0x32d26c(0x445)]['RightArrow'],'icon':'ShapeRightArrowIcon','name':_0x32d26c(0x3b8)},{'group':_0x32d26c(0x13e),'type':c[_0x32d26c(0x445)]['LeftArrow'],'icon':_0x32d26c(0x403),'name':_0x32d26c(0x30b)},{'group':_0x32d26c(0x13e),'type':c[_0x32d26c(0x445)][_0x32d26c(0x173)],'icon':_0x32d26c(0x223),'name':_0x32d26c(0x460)},{'group':_0x32d26c(0x13e),'type':c[_0x32d26c(0x445)][_0x32d26c(0x2a4)],'icon':_0x32d26c(0x36f),'name':_0x32d26c(0x61b)},{'group':_0x32d26c(0x13e),'type':c['ShapeTypeEnum'][_0x32d26c(0x1a2)],'icon':'ShapeLeftRightArrowIcon','name':_0x32d26c(0x1a8)},{'group':_0x32d26c(0x13e),'type':c[_0x32d26c(0x445)][_0x32d26c(0x4e9)],'icon':'ShapeUpDownArrowIcon','name':_0x32d26c(0x3fc)},{'group':_0x32d26c(0x13e),'type':c[_0x32d26c(0x445)][_0x32d26c(0x335)],'icon':_0x32d26c(0x41c),'name':_0x32d26c(0x133)},{'group':_0x32d26c(0x13e),'type':c[_0x32d26c(0x445)][_0x32d26c(0x3ed)],'icon':_0x32d26c(0x193),'name':_0x32d26c(0x553)},{'group':_0x32d26c(0x13e),'type':c['ShapeTypeEnum']['BentArrow'],'icon':'ShapeBentArrowIcon','name':'docs-shape-ui.shape.type.bent-arrow'},{'group':_0x32d26c(0x13e),'type':c[_0x32d26c(0x445)][_0x32d26c(0x2a0)],'icon':_0x32d26c(0x603),'name':'docs-shape-ui.shape.type.uturn-arrow'},{'group':'blockArrow','type':c['ShapeTypeEnum'][_0x32d26c(0x396)],'icon':_0x32d26c(0x613),'name':_0x32d26c(0x594)},{'group':_0x32d26c(0x13e),'type':c[_0x32d26c(0x445)][_0x32d26c(0x5fc)],'icon':'ShapeBentUpArrowIcon','name':_0x32d26c(0x1be)},{'group':'blockArrow','type':c[_0x32d26c(0x445)][_0x32d26c(0x370)],'icon':_0x32d26c(0x60f),'name':_0x32d26c(0x5d7)},{'group':_0x32d26c(0x13e),'type':c[_0x32d26c(0x445)][_0x32d26c(0x127)],'icon':_0x32d26c(0x4f9),'name':_0x32d26c(0x55f)},{'group':_0x32d26c(0x13e),'type':c[_0x32d26c(0x445)][_0x32d26c(0x336)],'icon':'ShapeCurvedUpArrowIcon','name':_0x32d26c(0x52d)},{'group':'blockArrow','type':c[_0x32d26c(0x445)][_0x32d26c(0x372)],'icon':_0x32d26c(0x20c),'name':_0x32d26c(0x593)},{'group':_0x32d26c(0x13e),'type':c['ShapeTypeEnum'][_0x32d26c(0x579)],'icon':_0x32d26c(0x397),'name':_0x32d26c(0x595)},{'group':_0x32d26c(0x13e),'type':c[_0x32d26c(0x445)][_0x32d26c(0x5db)],'icon':'ShapeNotchedRightArrowIcon','name':_0x32d26c(0x551)},{'group':_0x32d26c(0x13e),'type':c[_0x32d26c(0x445)]['HomePlate'],'icon':'ShapeHomePlateIcon','name':_0x32d26c(0x4e2)},{'group':_0x32d26c(0x13e),'type':c[_0x32d26c(0x445)][_0x32d26c(0x1d7)],'icon':'ShapeChevronIcon','name':_0x32d26c(0x5dc)},{'group':_0x32d26c(0x13e),'type':c[_0x32d26c(0x445)]['RightArrowCallout'],'icon':_0x32d26c(0x343),'name':_0x32d26c(0x158)},{'group':_0x32d26c(0x13e),'type':c['ShapeTypeEnum']['DownArrowCallout'],'icon':_0x32d26c(0x3ec),'name':_0x32d26c(0x5fe)},{'group':_0x32d26c(0x13e),'type':c[_0x32d26c(0x445)][_0x32d26c(0x25b)],'icon':_0x32d26c(0x28e),'name':_0x32d26c(0x394)},{'group':_0x32d26c(0x13e),'type':c[_0x32d26c(0x445)][_0x32d26c(0x4a3)],'icon':_0x32d26c(0x3d5),'name':'docs-shape-ui.shape.type.up-arrow-callout'},{'group':'blockArrow','type':c[_0x32d26c(0x445)][_0x32d26c(0x122)],'icon':_0x32d26c(0x3da),'name':_0x32d26c(0x1db)},{'group':_0x32d26c(0x13e),'type':c['ShapeTypeEnum'][_0x32d26c(0x290)],'icon':_0x32d26c(0x2af),'name':_0x32d26c(0x463)},{'group':_0x32d26c(0x13e),'type':c[_0x32d26c(0x445)][_0x32d26c(0x3ee)],'icon':_0x32d26c(0x33e),'name':_0x32d26c(0x379)},{'group':'equationShape','type':c['ShapeTypeEnum'][_0x32d26c(0x540)],'icon':'ShapeMathPlusIcon','name':'docs-shape-ui.shape.type.math-plus'},{'group':_0x32d26c(0x1cc),'type':c[_0x32d26c(0x445)]['MathMinus'],'icon':'ShapeMathMinusIcon','name':_0x32d26c(0x361)},{'group':_0x32d26c(0x1cc),'type':c[_0x32d26c(0x445)]['MathMultiply'],'icon':_0x32d26c(0x381),'name':_0x32d26c(0x520)},{'group':'equationShape','type':c[_0x32d26c(0x445)][_0x32d26c(0x2ec)],'icon':_0x32d26c(0x358),'name':_0x32d26c(0x4f0)},{'group':_0x32d26c(0x1cc),'type':c[_0x32d26c(0x445)][_0x32d26c(0x27b)],'icon':'ShapeMathEqualIcon','name':_0x32d26c(0x58b)},{'group':_0x32d26c(0x1cc),'type':c[_0x32d26c(0x445)]['MathNotEqual'],'icon':_0x32d26c(0x24d),'name':'docs-shape-ui.shape.type.math-not-equal'},{'group':_0x32d26c(0x42f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x5c1)],'icon':_0x32d26c(0x554),'name':_0x32d26c(0x20e)},{'group':_0x32d26c(0x42f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x2ef)],'icon':_0x32d26c(0x391),'name':'docs-shape-ui.shape.type.flow-chart-alternate-process'},{'group':'flowchart','type':c[_0x32d26c(0x445)][_0x32d26c(0x534)],'icon':_0x32d26c(0x47f),'name':_0x32d26c(0x3ca)},{'group':_0x32d26c(0x42f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x1e2)],'icon':_0x32d26c(0x588),'name':'docs-shape-ui.shape.type.flow-chart-input-output'},{'group':_0x32d26c(0x42f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x4df)],'icon':_0x32d26c(0x253),'name':'docs-shape-ui.shape.type.flow-chart-predefined-process'},{'group':'flowchart','type':c[_0x32d26c(0x445)][_0x32d26c(0x2e7)],'icon':_0x32d26c(0x2f4),'name':'docs-shape-ui.shape.type.flow-chart-internal-storage'},{'group':_0x32d26c(0x42f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x275)],'icon':_0x32d26c(0x478),'name':_0x32d26c(0x11a)},{'group':'flowchart','type':c[_0x32d26c(0x445)]['FlowchartMultiDocument'],'icon':'ShapeFlowChartMultidocumentIcon','name':_0x32d26c(0x2b7)},{'group':_0x32d26c(0x42f),'type':c[_0x32d26c(0x445)]['FlowchartTerminator'],'icon':_0x32d26c(0x19e),'name':_0x32d26c(0x144)},{'group':'flowchart','type':c['ShapeTypeEnum'][_0x32d26c(0x5c8)],'icon':_0x32d26c(0x2de),'name':_0x32d26c(0x4dd)},{'group':'flowchart','type':c[_0x32d26c(0x445)][_0x32d26c(0x389)],'icon':'ShapeFlowChartManualInputIcon','name':_0x32d26c(0x23f)},{'group':_0x32d26c(0x42f),'type':c[_0x32d26c(0x445)]['FlowchartManualOperation'],'icon':'ShapeFlowChartManualOperationIcon','name':_0x32d26c(0x422)},{'group':_0x32d26c(0x42f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x214)],'icon':_0x32d26c(0x267),'name':_0x32d26c(0x546)},{'group':_0x32d26c(0x42f),'type':c[_0x32d26c(0x445)]['FlowchartOffPageConnector'],'icon':_0x32d26c(0x539),'name':_0x32d26c(0x231)},{'group':'flowchart','type':c[_0x32d26c(0x445)][_0x32d26c(0x3bd)],'icon':_0x32d26c(0x209),'name':_0x32d26c(0x3be)},{'group':_0x32d26c(0x42f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x235)],'icon':_0x32d26c(0x341),'name':'docs-shape-ui.shape.type.flow-chart-punched-tape'},{'group':_0x32d26c(0x42f),'type':c[_0x32d26c(0x445)]['FlowchartSummingJunction'],'icon':_0x32d26c(0x42e),'name':_0x32d26c(0x16f)},{'group':_0x32d26c(0x42f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x2db)],'icon':_0x32d26c(0x3af),'name':_0x32d26c(0x5cc)},{'group':'flowchart','type':c[_0x32d26c(0x445)][_0x32d26c(0x13f)],'icon':_0x32d26c(0x13d),'name':_0x32d26c(0x5b3)},{'group':_0x32d26c(0x42f),'type':c[_0x32d26c(0x445)]['FlowchartSort'],'icon':_0x32d26c(0x2e8),'name':'docs-shape-ui.shape.type.flow-chart-sort'},{'group':_0x32d26c(0x42f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x417)],'icon':'ShapeFlowChartExtractIcon','name':_0x32d26c(0x4e7)},{'group':_0x32d26c(0x42f),'type':c['ShapeTypeEnum'][_0x32d26c(0x510)],'icon':_0x32d26c(0x29a),'name':_0x32d26c(0x627)},{'group':_0x32d26c(0x42f),'type':c[_0x32d26c(0x445)]['FlowchartOnlineStorage'],'icon':_0x32d26c(0x21c),'name':_0x32d26c(0x2f7)},{'group':_0x32d26c(0x42f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x306)],'icon':'ShapeFlowChartDelayIcon','name':_0x32d26c(0x5c9)},{'group':_0x32d26c(0x42f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x39d)],'icon':'ShapeFlowChartMagneticTapeIcon','name':_0x32d26c(0x605)},{'group':_0x32d26c(0x42f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x4c3)],'icon':_0x32d26c(0x2b8),'name':_0x32d26c(0x1e5)},{'group':_0x32d26c(0x42f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x531)],'icon':_0x32d26c(0x288),'name':_0x32d26c(0x194)},{'group':_0x32d26c(0x42f),'type':c[_0x32d26c(0x445)][_0x32d26c(0x4c4)],'icon':_0x32d26c(0x3ea),'name':'docs-shape-ui.shape.type.flow-chart-display'},{'group':_0x32d26c(0x309),'type':c[_0x32d26c(0x445)]['IrregularSeal1'],'icon':_0x32d26c(0x37b),'name':_0x32d26c(0x27f)},{'group':_0x32d26c(0x309),'type':c['ShapeTypeEnum'][_0x32d26c(0x1ed)],'icon':_0x32d26c(0x4a8),'name':_0x32d26c(0x124)},{'group':_0x32d26c(0x309),'type':c[_0x32d26c(0x445)][_0x32d26c(0x430)],'icon':_0x32d26c(0x199),'name':_0x32d26c(0x35f)},{'group':_0x32d26c(0x309),'type':c['ShapeTypeEnum'][_0x32d26c(0x37e)],'icon':'ShapeStar5Icon','name':_0x32d26c(0x1e7)},{'group':_0x32d26c(0x309),'type':c[_0x32d26c(0x445)][_0x32d26c(0x585)],'icon':_0x32d26c(0x5b0),'name':_0x32d26c(0x198)},{'group':'starAndBanner','type':c[_0x32d26c(0x445)][_0x32d26c(0x570)],'icon':_0x32d26c(0x251),'name':_0x32d26c(0x2bd)},{'group':_0x32d26c(0x309),'type':c['ShapeTypeEnum'][_0x32d26c(0x631)],'icon':_0x32d26c(0x519),'name':'docs-shape-ui.shape.type.star8'},{'group':'starAndBanner','type':c[_0x32d26c(0x445)][_0x32d26c(0x38d)],'icon':_0x32d26c(0x600),'name':_0x32d26c(0x4ab)},{'group':'starAndBanner','type':c[_0x32d26c(0x445)][_0x32d26c(0x619)],'icon':_0x32d26c(0x151),'name':_0x32d26c(0x503)},{'group':_0x32d26c(0x309),'type':c['ShapeTypeEnum'][_0x32d26c(0x1ac)],'icon':_0x32d26c(0x31b),'name':_0x32d26c(0x1a1)},{'group':'starAndBanner','type':c['ShapeTypeEnum'][_0x32d26c(0x26d)],'icon':_0x32d26c(0x2ed),'name':_0x32d26c(0x61c)},{'group':_0x32d26c(0x309),'type':c[_0x32d26c(0x445)]['Star32'],'icon':_0x32d26c(0x511),'name':'docs-shape-ui.shape.type.star32'},{'group':_0x32d26c(0x309),'type':c[_0x32d26c(0x445)]['Ribbon2'],'icon':_0x32d26c(0x500),'name':_0x32d26c(0x1b5)},{'group':'starAndBanner','type':c['ShapeTypeEnum']['Ribbon'],'icon':'ShapeRibbonIcon','name':'docs-shape-ui.shape.type.ribbon'},{'group':'starAndBanner','type':c['ShapeTypeEnum']['EllipseRibbon2'],'icon':_0x32d26c(0x37f),'name':_0x32d26c(0x583)},{'group':'starAndBanner','type':c['ShapeTypeEnum'][_0x32d26c(0x4d0)],'icon':'ShapeEllipseRibbonIcon','name':_0x32d26c(0x507)},{'group':_0x32d26c(0x309),'type':c[_0x32d26c(0x445)][_0x32d26c(0x48f)],'icon':_0x32d26c(0x567),'name':'docs-shape-ui.shape.type.vertical-scroll'},{'group':_0x32d26c(0x309),'type':c[_0x32d26c(0x445)][_0x32d26c(0x40a)],'icon':'ShapeHorizontalScrollIcon','name':_0x32d26c(0x362)},{'group':_0x32d26c(0x309),'type':c[_0x32d26c(0x445)][_0x32d26c(0x5f0)],'icon':_0x32d26c(0x2ae),'name':'docs-shape-ui.shape.type.wave'},{'group':_0x32d26c(0x309),'type':c[_0x32d26c(0x445)][_0x32d26c(0x3e2)],'icon':'ShapeDoubleWaveIcon','name':_0x32d26c(0x635)},{'group':_0x32d26c(0x268),'type':c[_0x32d26c(0x445)][_0x32d26c(0x450)],'icon':_0x32d26c(0x3cd),'name':'docs-shape-ui.shape.type.wedge-rect-callout'},{'group':'callout','type':c['ShapeTypeEnum'][_0x32d26c(0x282)],'icon':_0x32d26c(0x472),'name':_0x32d26c(0x58a)},{'group':'callout','type':c[_0x32d26c(0x445)][_0x32d26c(0x633)],'icon':_0x32d26c(0x1bb),'name':_0x32d26c(0x491)},{'group':_0x32d26c(0x268),'type':c[_0x32d26c(0x445)]['CloudCallout'],'icon':_0x32d26c(0x26f),'name':'docs-shape-ui.shape.type.cloud-callout'},{'group':_0x32d26c(0x268),'type':c['ShapeTypeEnum'][_0x32d26c(0x35d)],'icon':_0x32d26c(0x172),'name':_0x32d26c(0x218)},{'group':_0x32d26c(0x268),'type':c['ShapeTypeEnum'][_0x32d26c(0x210)],'icon':'ShapeBorderCallout2Icon','name':_0x32d26c(0x2f5)},{'group':_0x32d26c(0x268),'type':c[_0x32d26c(0x445)][_0x32d26c(0x4ac)],'icon':_0x32d26c(0x486),'name':'docs-shape-ui.shape.type.border-callout3'},{'group':_0x32d26c(0x268),'type':c[_0x32d26c(0x445)][_0x32d26c(0x497)],'icon':'ShapeAccentCallout1Icon','name':_0x32d26c(0x404)},{'group':_0x32d26c(0x268),'type':c[_0x32d26c(0x445)]['AccentCallout2'],'icon':_0x32d26c(0x522),'name':_0x32d26c(0x3cb)},{'group':_0x32d26c(0x268),'type':c[_0x32d26c(0x445)][_0x32d26c(0x163)],'icon':_0x32d26c(0x48c),'name':_0x32d26c(0x57c)},{'group':_0x32d26c(0x268),'type':c['ShapeTypeEnum'][_0x32d26c(0x302)],'icon':_0x32d26c(0x19f),'name':'docs-shape-ui.shape.type.callout1'},{'group':_0x32d26c(0x268),'type':c[_0x32d26c(0x445)]['Callout2'],'icon':_0x32d26c(0x458),'name':_0x32d26c(0x31a)},{'group':'callout','type':c[_0x32d26c(0x445)]['Callout3'],'icon':_0x32d26c(0x45c),'name':_0x32d26c(0x31c)},{'group':_0x32d26c(0x268),'type':c[_0x32d26c(0x445)][_0x32d26c(0x294)],'icon':_0x32d26c(0x48a),'name':'docs-shape-ui.shape.type.accent-border-callout1'},{'group':'callout','type':c['ShapeTypeEnum'][_0x32d26c(0x606)],'icon':_0x32d26c(0x31d),'name':_0x32d26c(0x4c5)},{'group':_0x32d26c(0x268),'type':c[_0x32d26c(0x445)][_0x32d26c(0x3c7)],'icon':_0x32d26c(0x1d0),'name':_0x32d26c(0x43c)},{'group':_0x32d26c(0x544),'type':c[_0x32d26c(0x445)]['LeftCircularArrow'],'icon':'ShapeLeftCircularArrowIcon','name':_0x32d26c(0x14d)},{'group':_0x32d26c(0x544),'type':c[_0x32d26c(0x445)]['LeftRightCircularArrow'],'icon':_0x32d26c(0x412),'name':_0x32d26c(0x527)},{'group':_0x32d26c(0x544),'type':c['ShapeTypeEnum'][_0x32d26c(0x1c3)],'icon':_0x32d26c(0x359),'name':_0x32d26c(0x623)},{'group':_0x32d26c(0x544),'type':c[_0x32d26c(0x445)][_0x32d26c(0x305)],'icon':_0x32d26c(0x571),'name':_0x32d26c(0x538)},{'group':_0x32d26c(0x544),'type':c['ShapeTypeEnum'][_0x32d26c(0x317)],'icon':_0x32d26c(0x1dc),'name':_0x32d26c(0x581)},{'group':_0x32d26c(0x544),'type':c[_0x32d26c(0x445)]['Funnel'],'icon':_0x32d26c(0x1c8),'name':_0x32d26c(0x559)},{'group':_0x32d26c(0x544),'type':c[_0x32d26c(0x445)][_0x32d26c(0x638)],'icon':_0x32d26c(0x431),'name':_0x32d26c(0x2ff)},{'group':_0x32d26c(0x544),'type':c[_0x32d26c(0x445)][_0x32d26c(0x1e1)],'icon':_0x32d26c(0x578),'name':_0x32d26c(0x171)},{'group':_0x32d26c(0x544),'type':c[_0x32d26c(0x445)][_0x32d26c(0x4d4)],'icon':_0x32d26c(0x492),'name':_0x32d26c(0x51c)},{'group':_0x32d26c(0x544),'type':c[_0x32d26c(0x445)]['ActionButtonBackPrevious'],'icon':'ShapeActionButtonBackPreviousIcon','name':_0x32d26c(0x3c9)},{'group':'other','type':c[_0x32d26c(0x445)][_0x32d26c(0x55c)],'icon':'ShapeActionButtonForwardNextIcon','name':_0x32d26c(0x572)},{'group':_0x32d26c(0x544),'type':c[_0x32d26c(0x445)]['ActionButtonBeginning'],'icon':_0x32d26c(0x393),'name':_0x32d26c(0x558)},{'group':_0x32d26c(0x544),'type':c[_0x32d26c(0x445)][_0x32d26c(0x369)],'icon':_0x32d26c(0x4af),'name':_0x32d26c(0x12b)},{'group':_0x32d26c(0x544),'type':c[_0x32d26c(0x445)][_0x32d26c(0x4ca)],'icon':_0x32d26c(0x51d),'name':'docs-shape-ui.shape.type.action-button-home'},{'group':_0x32d26c(0x544),'type':c[_0x32d26c(0x445)][_0x32d26c(0x2e6)],'icon':_0x32d26c(0x326),'name':'docs-shape-ui.shape.type.action-button-information'},{'group':_0x32d26c(0x544),'type':c['ShapeTypeEnum'][_0x32d26c(0x4b0)],'icon':'ShapeActionButtonReturnIcon','name':_0x32d26c(0x3b4)},{'group':_0x32d26c(0x544),'type':c[_0x32d26c(0x445)][_0x32d26c(0x3dd)],'icon':_0x32d26c(0x3e7),'name':_0x32d26c(0x5aa)},{'group':_0x32d26c(0x544),'type':c[_0x32d26c(0x445)]['ActionButtonDocument'],'icon':_0x32d26c(0x2e5),'name':'docs-shape-ui.shape.type.action-button-document'},{'group':_0x32d26c(0x544),'type':c['ShapeTypeEnum']['ActionButtonSound'],'icon':_0x32d26c(0x2cc),'name':_0x32d26c(0x4ef)},{'group':_0x32d26c(0x544),'type':c[_0x32d26c(0x445)][_0x32d26c(0x439)],'icon':'ShapeActionButtonHelpIcon','name':_0x32d26c(0x380)},{'group':'other','type':c[_0x32d26c(0x445)][_0x32d26c(0x323)],'icon':_0x32d26c(0x1bf),'name':'docs-shape-ui.shape.type.action-button-blank'},{'group':'other','type':c['ShapeTypeEnum'][_0x32d26c(0x30c)],'icon':_0x32d26c(0x292),'name':_0x32d26c(0x185)},{'group':_0x32d26c(0x544),'type':c[_0x32d26c(0x445)][_0x32d26c(0x329)],'icon':_0x32d26c(0x40e),'name':'docs-shape-ui.shape.type.chart-star'},{'group':'other','type':c[_0x32d26c(0x445)]['ChartX'],'icon':_0x32d26c(0x1c9),'name':_0x32d26c(0x416)},{'group':_0x32d26c(0x544),'type':c['ShapeTypeEnum'][_0x32d26c(0x36e)],'icon':_0x32d26c(0x4ff),'name':_0x32d26c(0x38c)},{'group':'other','type':c[_0x32d26c(0x445)][_0x32d26c(0x5e0)],'icon':_0x32d26c(0x2dc),'name':'docs-shape-ui.shape.type.line-inv'},{'group':'other','type':c['ShapeTypeEnum'][_0x32d26c(0x125)],'icon':_0x32d26c(0x3bb),'name':_0x32d26c(0x2eb)},{'group':_0x32d26c(0x544),'type':c[_0x32d26c(0x445)][_0x32d26c(0x118)],'icon':_0x32d26c(0x1c4),'name':'docs-shape-ui.shape.type.square-tabs'},{'group':_0x32d26c(0x544),'type':c[_0x32d26c(0x445)][_0x32d26c(0x455)],'icon':_0x32d26c(0x584),'name':_0x32d26c(0x13b)},{'group':_0x32d26c(0x544),'type':c[_0x32d26c(0x445)][_0x32d26c(0x386)],'icon':_0x32d26c(0x57e),'name':_0x32d26c(0x45a)}],xe=_0x32d26c(0x277);function Se({onShapeClick:_0x3d4372,excludeGroups:_0x14a401}){const _0x13b6b1=_0x32d26c;let _0x155227=(0x0,g['useDependency'])(u[_0x13b6b1(0x1ba)]),_0x554a26=(0x0,g[_0x13b6b1(0x637)])(g[_0x13b6b1(0x140)]),_0x59c25f=(_0x14a401?be[_0x13b6b1(0x42a)](_0x264670=>!_0x14a401[_0x13b6b1(0x21f)](_0x264670['group'])):be)[_0x13b6b1(0x533)]((_0x35b781,_0x5ee7c9)=>(_0x35b781[_0x5ee7c9[_0x13b6b1(0x178)]]||(_0x35b781[_0x5ee7c9[_0x13b6b1(0x178)]]=[]),_0x35b781[_0x5ee7c9[_0x13b6b1(0x178)]][_0x13b6b1(0x1b1)](_0x5ee7c9),_0x35b781),{});return(0x0,x[_0x13b6b1(0x186)])(_0x13b6b1(0x259),{'className':_0x13b6b1(0x622),'children':Object[_0x13b6b1(0x320)](_0x59c25f)['map'](([_0x5b4652,_0x21fdff])=>(0x0,x[_0x13b6b1(0x1fc)])(_0x13b6b1(0x259),{'className':'univer-mb-2','children':[(0x0,x['jsx'])('div',{'className':_0x13b6b1(0x15d),'children':_0x155227['t']('docs-shape-ui.shape.group.'+_0x5b4652)}),(0x0,x[_0x13b6b1(0x186)])(_0x13b6b1(0x259),{'className':_0x13b6b1(0x577),'children':_0x21fdff['map'](_0x5359a9=>{const _0x1dcaab=_0x13b6b1;let _0x3584df=_0x554a26[_0x1dcaab(0x30d)](_0x5359a9['icon']);return(0x0,x['jsx'])(_0x1dcaab(0x259),{'title':_0x155227['t'](_0x5359a9[_0x1dcaab(0x406)]),'onClick':()=>_0x3d4372(_0x5359a9),'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':_0x3584df&&(0x0,x[_0x1dcaab(0x186)])(_0x3584df,{'className':_0x1dcaab(0x135)})},_0x5359a9[_0x1dcaab(0x406)]);})})]},_0x5b4652))});}function Ce(){const _0x5d0de3=_0x32d26c;let _0x9ddf17=(0x0,g[_0x5d0de3(0x637)])(u[_0x5d0de3(0x1ba)]),_0x443520=(0x0,g[_0x5d0de3(0x637)])(m[_0x5d0de3(0x54d)]),_0x4ee8b1=(0x0,g[_0x5d0de3(0x637)])(ye),[_0x54cf6b,_0x46c025]=(0x0,y[_0x5d0de3(0x337)])(!0x1);return(0x0,x[_0x5d0de3(0x186)])(v[_0x5d0de3(0x152)],{'side':_0x5d0de3(0x334),'open':_0x54cf6b,'onOpenChange':_0x46c025,'overlay':(0x0,x['jsx'])(Se,{'onShapeClick':_0x4caa60=>{const _0x3e2786=_0x5d0de3;let _0x11ae42=_0x443520['getFocusDrawings']()['find'](_0x2d3fcf=>_0x2d3fcf['drawingType']===u[_0x3e2786(0x1a0)][_0x3e2786(0x5ac)]);if(!_0x11ae42)return;let {unitId:_0x43ba29,subUnitId:_0x3316fe,drawingId:_0x46bab6}=_0x11ae42;_0x4ee8b1[_0x3e2786(0x30f)](_0x43ba29,_0x3316fe,_0x46bab6,_0x4caa60['type']),_0x46c025(!0x1);},'excludeGroups':['line']}),'children':(0x0,x[_0x5d0de3(0x186)])(v[_0x5d0de3(0x45e)],{'children':_0x9ddf17['t'](_0x5d0de3(0x222))})});}function we({paragraphMenuPlacement:_0x45426f}){const _0x2f9a5a=_0x32d26c;let _0x2b9543=(0x0,g[_0x2f9a5a(0x637)])(u[_0x2f9a5a(0x54b)]);return(0x0,x[_0x2f9a5a(0x186)])(Se,{'onShapeClick':_0x31d7b0=>{const _0x1c5320=_0x2f9a5a;_0x2b9543[_0x1c5320(0x3a8)](A['id'],{'paragraphMenuPlacement':_0x45426f,'value':_0x31d7b0['type'],'enhanceParams':{'endArrow':_0x31d7b0[_0x1c5320(0x22e)],'startArrow':_0x31d7b0['startArrow'],'horizontal':_0x31d7b0[_0x1c5320(0x62e)],'vertical':_0x31d7b0[_0x1c5320(0x377)]}});}});}function Te(_0x3d67da){const _0x4e92c8=_0x32d26c;return _0x26c1e0=>({'id':A['id'],'type':g[_0x4e92c8(0x614)][_0x4e92c8(0x42c)],'selections':[{'label':{'name':xe,'hoverable':!0x1,'selectable':!0x1,'props':_0x3d67da?{'id':A['id'],'paragraphMenuPlacement':_0x3d67da}:{'id':A['id']}}}],'icon':_0x4e92c8(0x569),'title':'docs-shape-ui.title','tooltip':_0x4e92c8(0x3a0),'hidden$':(0x0,g[_0x4e92c8(0x40f)])(_0x26c1e0,u['UniverInstanceType'][_0x4e92c8(0x11f)])});}const Ee=Te(),De=Te(_0x32d26c(0x2b1)),Oe=Te(_0x32d26c(0x319)),ke={[g[_0x32d26c(0x5f2)][_0x32d26c(0x494)]]:{[A['id']]:{'order':0x4,'menuItemFactory':Ee}},[g[_0x32d26c(0x5dd)][_0x32d26c(0x51b)]]:{[g[_0x32d26c(0x506)]['LAYOUT']]:{[f[_0x32d26c(0x525)]]:{[A['id']]:{'order':0x8,'menuItemFactory':De}}},[f['DOC_CONTENT_INSERT_MENU_ID']]:{[g[_0x32d26c(0x506)]['LAYOUT']]:{[A['id']]:{'order':0x8,'menuItemFactory':De}}},[f[_0x32d26c(0x232)]]:{[g[_0x32d26c(0x506)][_0x32d26c(0x1f8)]]:{[A['id']]:{'order':0x8,'menuItemFactory':Oe}}}}};let Ae=class extends u[_0x32d26c(0x15a)]{constructor(_0x3930f9,_0x43ca10,_0x216a88,_0x29bf32,_0x2acb5a,_0x2412e5,_0x1c4297,_0x4b7f50,_0x30df70,_0x5f21b6,_0x334b7a,_0x16c421){const _0x35c972=_0x32d26c;super(),this['_univerInstanceService']=_0x3930f9,this[_0x35c972(0x293)]=_0x43ca10,this[_0x35c972(0x3d3)]=_0x216a88,this['_docsShapeService']=_0x29bf32,this[_0x35c972(0x4cb)]=_0x2acb5a,this[_0x35c972(0x1e9)]=_0x2412e5,this['_commandService']=_0x1c4297,this[_0x35c972(0x5f4)]=_0x4b7f50,this[_0x35c972(0x295)]=_0x30df70,this['_renderManagerService']=_0x5f21b6,this['_contextService']=_0x334b7a,this[_0x35c972(0x4a2)]=_0x16c421,L(this,_0x35c972(0x3b3),null),L(this,_0x35c972(0x4cc),null),L(this,_0x35c972(0x261),!0x1),L(this,_0x35c972(0x3b5),new Set()),L(this,_0x35c972(0x390),[]),this['_registerComponent'](),this[_0x35c972(0x38f)](),this['disposeWithMe'](this[_0x35c972(0x2f3)][_0x35c972(0x5a5)](u[_0x35c972(0x5ee)][_0x35c972(0x11f)])[_0x35c972(0x1ae)](_0x5d562e=>{const _0x1a4ffd=_0x35c972;if(!_0x5d562e){var _0x261933;(_0x261933=this[_0x1a4ffd(0x3b3)])==null||_0x261933[_0x1a4ffd(0x310)]();return;}this[_0x1a4ffd(0x5e1)](_0x5d562e);})),this[_0x35c972(0x182)](),this['_initShapePopupMenu'](),this[_0x35c972(0x19b)](this['_shapeTextEditingService'][_0x35c972(0x134)][_0x35c972(0x1ae)](_0x19f7ed=>{_0x19f7ed&&this['_clearPopups']();}));}[_0x32d26c(0x38f)](){const _0x125921=_0x32d26c;this[_0x125921(0x3d3)][_0x125921(0x46f)](ke);}[_0x32d26c(0x4d6)](){const _0x516e66=_0x32d26c;this[_0x516e66(0x2f3)][_0x516e66(0x313)](u[_0x516e66(0x5ee)][_0x516e66(0x11f)])[_0x516e66(0x2fe)](_0x4fc7aa=>this[_0x516e66(0x5e1)](_0x4fc7aa));}[_0x32d26c(0x2f6)](_0x28a435,_0x35a832,_0x1cd65c,_0x2d39f1){const _0x7692b1=_0x32d26c;return[{'label':'docs-shape-ui.openPanel','index':0x0,'commandId':M['id'],'commandParams':{'unitId':_0x28a435,'subUnitId':_0x35a832,'drawingId':_0x1cd65c},'disable':_0x2d39f1===u[_0x7692b1(0x1a0)][_0x7692b1(0x5c3)]},{'label':_0x7692b1(0x2bf),'index':0x1,'commandId':d['RemoveDocDrawingCommand']['id'],'commandParams':{'unitId':_0x28a435,'drawings':[{'unitId':_0x28a435,'subUnitId':_0x35a832,'drawingId':_0x1cd65c}]},'disable':!0x1},{'label':'docs-shape-ui.hidePanel','index':0x2,'commandId':j['id'],'commandParams':{'unitId':_0x28a435,'subUnitId':_0x35a832,'drawingId':_0x1cd65c},'disable':!0x1}];}[_0x32d26c(0x1f9)](_0x517202,_0x53188f,_0x587e05){const _0x6f831b=_0x32d26c;let _0x4987fb=this[_0x6f831b(0x49a)][_0x6f831b(0x1ec)](_0x517202,_0x53188f,_0x587e05),_0x2ab7d9=this[_0x6f831b(0x49a)][_0x6f831b(0x1c5)](_0x517202,_0x53188f,_0x587e05);return _0x4987fb!==void 0x0&&_0x2ab7d9!==void 0x0?{'shapeData':_0x2ab7d9,'shapeId':_0x587e05,'shapeType':_0x4987fb,'unitId':_0x517202,'subUnitId':_0x53188f,'disableShapeOption':!0x1}:null;}[_0x32d26c(0x5e1)](_0x4a88d7){const _0x5c6db3=_0x32d26c;if(!_0x4a88d7)return;let _0x3a2de5=_0x4a88d7[_0x5c6db3(0x23c)]();this[_0x5c6db3(0x5e7)][_0x5c6db3(0x43b)](_0x3a2de5)&&!this[_0x5c6db3(0x3b5)][_0x5c6db3(0x43b)](_0x3a2de5)&&(this[_0x5c6db3(0x47c)](_0x3a2de5),this[_0x5c6db3(0x3b5)][_0x5c6db3(0x32f)](_0x3a2de5));}['_clearPopups'](){const _0x558970=_0x32d26c;this[_0x558970(0x390)]['forEach'](_0x3af98f=>_0x3af98f[_0x558970(0x310)]()),this[_0x558970(0x390)][_0x558970(0x296)]=0x0;}[_0x32d26c(0x47c)](_0x5a6851){const _0x246566=_0x32d26c;var _0x7ad4b8;let _0x16929d=(_0x7ad4b8=this[_0x246566(0x5e7)][_0x246566(0x15e)](_0x5a6851))==null?void 0x0:_0x7ad4b8[_0x246566(0x5bc)],_0x57a165=_0x16929d==null?void 0x0:_0x16929d[_0x246566(0x321)]();!_0x16929d||!_0x57a165||(this['disposeWithMe'](_0x57a165[_0x246566(0x43a)][_0x246566(0x1ae)](()=>{const _0x5e2662=_0x246566;let _0x508ae0=_0x57a165[_0x5e2662(0x3d0)]();if(this[_0x5e2662(0x4f8)](),this[_0x5e2662(0x261)]||_0x508ae0['size']>0x1)return;let _0x386797=_0x508ae0['values']()['next']()[_0x5e2662(0x501)];if(!_0x386797)return;let _0x11a2d5=this[_0x5e2662(0x5f4)][_0x5e2662(0x34b)](_0x386797[_0x5e2662(0x16c)]);if(!_0x11a2d5||_0x11a2d5[_0x5e2662(0x4e4)]!==u[_0x5e2662(0x1a0)][_0x5e2662(0x4a6)])return;let {unitId:_0x4cb38b,subUnitId:_0x1bbb5d,drawingId:_0x4ee900,drawingType:_0x109401}=_0x11a2d5,_0x30c475=this[_0x5e2662(0x1f9)](_0x4cb38b,_0x1bbb5d,_0x4ee900);if(!_0x30c475)return;let _0x213076=this['_docCanvasPopManagerService']['attachPopupToObject'](_0x386797,{'componentKey':le,'direction':_0x5e2662(0x47d),'offset':[0x0,0x8],'extraProps':{'unitId':_0x4cb38b,'subUnitId':_0x1bbb5d,'drawingId':_0x4ee900,'drawingType':_0x109401,'shapeType':_0x30c475['shapeType'],'shapeData':_0x30c475[_0x5e2662(0x53a)]}},_0x4cb38b);this[_0x5e2662(0x390)]['push'](this['disposeWithMe'](_0x213076)),this[_0x5e2662(0x5f4)][_0x5e2662(0x5d9)]()['find'](_0x9ddaf7=>_0x9ddaf7[_0x5e2662(0x400)]===_0x4cb38b&&_0x9ddaf7[_0x5e2662(0x32d)]===_0x1bbb5d&&_0x9ddaf7['drawingId']===_0x4ee900)||this['_drawingManagerService'][_0x5e2662(0x4b2)]([{'unitId':_0x4cb38b,'subUnitId':_0x1bbb5d,'drawingId':_0x4ee900}]);})),this[_0x246566(0x19b)](_0x57a165[_0x246566(0x192)][_0x246566(0x1ae)](()=>{const _0x6c442e=_0x246566;this[_0x6c442e(0x4f8)](),this['_contextService'][_0x6c442e(0x616)](u['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x6c442e(0x5f4)][_0x6c442e(0x4b2)](null);})),this[_0x246566(0x19b)](_0x57a165[_0x246566(0x1b2)]['subscribe'](()=>{const _0x1faabd=_0x246566;this[_0x1faabd(0x4f8)]();})),this[_0x246566(0x19b)](_0x57a165[_0x246566(0x371)][_0x246566(0x1ae)](()=>{const _0x5d200b=_0x246566;this[_0x5d200b(0x4f8)]();})));}['_registerOperations'](){const _0x506305=_0x32d26c;this['disposeWithMe'](this[_0x506305(0x53c)][_0x506305(0x15f)](_0x54e13e=>{const _0xcbd574=_0x506305;if(_0x54e13e['id']===M['id']){let {unitId:_0x44cb34,subUnitId:_0x520803,drawingId:_0xdb3e73}=_0x54e13e['params'];this[_0xcbd574(0x4cc)]=this[_0xcbd574(0x1f9)](_0x44cb34,_0x520803,_0xdb3e73),this[_0xcbd574(0x4f8)](),this[_0xcbd574(0x20f)]();}if(_0x54e13e['id']===j['id']&&(this[_0xcbd574(0x4cc)]=null,this['_closeShapeEditPanel']()),_0x54e13e['id']===l[_0xcbd574(0x36d)]['id']){let {unitId:_0x2d6dcb,shapeId:_0x449aad}=_0x54e13e[_0xcbd574(0x2dd)];if(this['_activeShapeInfo']&&this[_0xcbd574(0x4cc)][_0xcbd574(0x56b)]===_0x449aad){let _0x115dc0=this[_0xcbd574(0x1f9)](_0x2d6dcb,this[_0xcbd574(0x4cc)]['subUnitId'],_0x449aad);_0x115dc0&&(this[_0xcbd574(0x4cc)]=_0x115dc0);}}})),this[_0x506305(0x19b)](this['_drawingManagerService']['focus$'][_0x506305(0x1ae)](_0x443ded=>{const _0x3dd41b=_0x506305;if(this[_0x3dd41b(0x261)]===!0x1)return;if(_0x443ded[_0x3dd41b(0x296)]===0x0){this[_0x3dd41b(0x4cc)]=null,this['_closeShapeEditPanel']();return;}if(_0x443ded['length']===0x1&&_0x443ded[0x0][_0x3dd41b(0x4e4)]===u[_0x3dd41b(0x1a0)][_0x3dd41b(0x4a6)]&&(this[_0x3dd41b(0x4cc)]=this[_0x3dd41b(0x1f9)](_0x443ded[0x0][_0x3dd41b(0x400)],_0x443ded[0x0][_0x3dd41b(0x32d)],_0x443ded[0x0][_0x3dd41b(0x5ca)]),this['_activeShapeInfo'])){this[_0x3dd41b(0x20f)]();return;}let _0x20c2ed=_0x443ded['filter'](_0x267900=>_0x267900[_0x3dd41b(0x4e4)]===u[_0x3dd41b(0x1a0)][_0x3dd41b(0x4a6)]);if(_0x443ded[_0x3dd41b(0x296)]>0x1&&_0x20c2ed['length']===_0x443ded['length']){if(this[_0x3dd41b(0x4cc)]=this[_0x3dd41b(0x1f9)](_0x443ded[0x0][_0x3dd41b(0x400)],_0x443ded[0x0][_0x3dd41b(0x32d)],_0x443ded[0x0][_0x3dd41b(0x5ca)]),this[_0x3dd41b(0x4cc)]){this[_0x3dd41b(0x20f)]();return;}}else{if(this[_0x3dd41b(0x4cc)]=this[_0x3dd41b(0x1f9)](_0x443ded[0x0]['unitId'],_0x443ded[0x0][_0x3dd41b(0x32d)],_0x443ded[0x0][_0x3dd41b(0x5ca)]),this[_0x3dd41b(0x4cc)]){this[_0x3dd41b(0x4cc)]['disableShapeOption']=!0x0,this[_0x3dd41b(0x20f)]();return;}}this['_closeShapeEditPanel']();}));}[_0x32d26c(0x376)](){const _0x30c2c9=_0x32d26c;[[_0x30c2c9(0x569),h[_0x30c2c9(0x569)]],[_0x30c2c9(0x48a),h[_0x30c2c9(0x48a)]],[_0x30c2c9(0x31d),h[_0x30c2c9(0x31d)]],[_0x30c2c9(0x1d0),h['ShapeAccentBorderCallout3Icon']],[_0x30c2c9(0x564),h[_0x30c2c9(0x564)]],[_0x30c2c9(0x522),h[_0x30c2c9(0x522)]],['ShapeAccentCallout3Icon',h[_0x30c2c9(0x48c)]],[_0x30c2c9(0x489),h[_0x30c2c9(0x489)]],['ShapeActionButtonBeginningIcon',h[_0x30c2c9(0x393)]],[_0x30c2c9(0x1bf),h[_0x30c2c9(0x1bf)]],[_0x30c2c9(0x2e5),h[_0x30c2c9(0x2e5)]],[_0x30c2c9(0x4af),h[_0x30c2c9(0x4af)]],['ShapeActionButtonForwardNextIcon',h[_0x30c2c9(0x316)]],[_0x30c2c9(0x5e9),h[_0x30c2c9(0x5e9)]],[_0x30c2c9(0x51d),h['ShapeActionButtonHomeIcon']],[_0x30c2c9(0x326),h['ShapeActionButtonInformationIcon']],[_0x30c2c9(0x3e7),h['ShapeActionButtonMovieIcon']],['ShapeActionButtonReturnIcon',h[_0x30c2c9(0x308)]],[_0x30c2c9(0x2cc),h['ShapeActionButtonSoundIcon']],['ShapeArcIcon',h['ShapeArcIcon']],['ShapeBentArrowIcon',h[_0x30c2c9(0x4ea)]],[_0x30c2c9(0x5b2),h[_0x30c2c9(0x5b2)]],['ShapeBentConnector3Arrow2Icon',h[_0x30c2c9(0x436)]],[_0x30c2c9(0x3c4),h[_0x30c2c9(0x3c4)]],[_0x30c2c9(0x200),h['ShapeBentUpArrowIcon']],[_0x30c2c9(0x16a),h['ShapeBevelIcon']],[_0x30c2c9(0x555),h[_0x30c2c9(0x555)]],[_0x30c2c9(0x172),h[_0x30c2c9(0x172)]],[_0x30c2c9(0x465),h[_0x30c2c9(0x465)]],[_0x30c2c9(0x486),h[_0x30c2c9(0x486)]],[_0x30c2c9(0x136),h[_0x30c2c9(0x136)]],[_0x30c2c9(0x4c6),h['ShapeBracketPairIcon']],['ShapeCallout1Icon',h[_0x30c2c9(0x19f)]],[_0x30c2c9(0x458),h[_0x30c2c9(0x458)]],[_0x30c2c9(0x45c),h[_0x30c2c9(0x45c)]],[_0x30c2c9(0x1f5),h[_0x30c2c9(0x1f5)]],[_0x30c2c9(0x292),h[_0x30c2c9(0x292)]],[_0x30c2c9(0x40e),h['ShapeChartStarIcon']],[_0x30c2c9(0x1c9),h[_0x30c2c9(0x1c9)]],[_0x30c2c9(0x250),h['ShapeChevronIcon']],[_0x30c2c9(0x426),h[_0x30c2c9(0x426)]],[_0x30c2c9(0x33e),h[_0x30c2c9(0x33e)]],['ShapeCloudCalloutIcon',h[_0x30c2c9(0x26f)]],[_0x30c2c9(0x240),h[_0x30c2c9(0x240)]],[_0x30c2c9(0x1ca),h[_0x30c2c9(0x1ca)]],[_0x30c2c9(0x492),h[_0x30c2c9(0x492)]],[_0x30c2c9(0x164),h['ShapeCubeIcon']],[_0x30c2c9(0x2b9),h['ShapeCurvedConnector3Arrow1Icon']],[_0x30c2c9(0x38e),h['ShapeCurvedConnector3Arrow2Icon']],['ShapeCurvedConnector3Icon',h[_0x30c2c9(0x44f)]],['ShapeCurvedDownArrowIcon',h[_0x30c2c9(0x20c)]],[_0x30c2c9(0x4f9),h[_0x30c2c9(0x4f9)]],[_0x30c2c9(0x60f),h[_0x30c2c9(0x60f)]],[_0x30c2c9(0x159),h[_0x30c2c9(0x159)]],[_0x30c2c9(0x607),h[_0x30c2c9(0x607)]],['ShapeDiagStripeIcon',h[_0x30c2c9(0x4e1)]],['ShapeDiamondIcon',h['ShapeDiamondIcon']],['ShapeDodecagonIcon',h['ShapeDodecagonIcon']],[_0x30c2c9(0x12c),h[_0x30c2c9(0x12c)]],[_0x30c2c9(0x4bc),h['ShapeDoubleWaveIcon']],[_0x30c2c9(0x3ec),h['ShapeDownArrowCalloutIcon']],[_0x30c2c9(0x36f),h[_0x30c2c9(0x36f)]],['ShapeEllipseIcon',h['ShapeEllipseIcon']],[_0x30c2c9(0x37f),h[_0x30c2c9(0x37f)]],['ShapeEllipseRibbonIcon',h['ShapeEllipseRibbonIcon']],['ShapeFlowChartAlternateProcessIcon',h[_0x30c2c9(0x391)]],[_0x30c2c9(0x13d),h[_0x30c2c9(0x13d)]],[_0x30c2c9(0x267),h[_0x30c2c9(0x267)]],['ShapeFlowChartDecisionIcon',h['ShapeFlowChartDecisionIcon']],['ShapeFlowChartDelayIcon',h[_0x30c2c9(0x339)]],[_0x30c2c9(0x3ea),h[_0x30c2c9(0x3ea)]],['ShapeFlowChartDocumentIcon',h[_0x30c2c9(0x478)]],[_0x30c2c9(0x35c),h[_0x30c2c9(0x35c)]],[_0x30c2c9(0x588),h[_0x30c2c9(0x588)]],[_0x30c2c9(0x2f4),h[_0x30c2c9(0x2f4)]],[_0x30c2c9(0x2b8),h[_0x30c2c9(0x2b8)]],[_0x30c2c9(0x288),h['ShapeFlowChartMagneticDrumIcon']],[_0x30c2c9(0x2df),h[_0x30c2c9(0x2df)]],[_0x30c2c9(0x44d),h[_0x30c2c9(0x44d)]],[_0x30c2c9(0x521),h['ShapeFlowChartManualOperationIcon']],['ShapeFlowChartMergeIcon',h['ShapeFlowChartMergeIcon']],[_0x30c2c9(0x20b),h[_0x30c2c9(0x20b)]],[_0x30c2c9(0x4ff),h['ShapeFlowChartOfflineStorageIcon']],[_0x30c2c9(0x539),h[_0x30c2c9(0x539)]],[_0x30c2c9(0x21c),h[_0x30c2c9(0x21c)]],[_0x30c2c9(0x3af),h['ShapeFlowChartOrIcon']],[_0x30c2c9(0x253),h[_0x30c2c9(0x253)]],[_0x30c2c9(0x2de),h[_0x30c2c9(0x2de)]],[_0x30c2c9(0x554),h[_0x30c2c9(0x554)]],['ShapeFlowChartPunchedCardIcon',h[_0x30c2c9(0x209)]],[_0x30c2c9(0x341),h['ShapeFlowChartPunchedTapeIcon']],[_0x30c2c9(0x2e8),h[_0x30c2c9(0x2e8)]],[_0x30c2c9(0x42e),h[_0x30c2c9(0x42e)]],[_0x30c2c9(0x19e),h[_0x30c2c9(0x19e)]],[_0x30c2c9(0x205),h[_0x30c2c9(0x205)]],[_0x30c2c9(0x1b7),h['ShapeFrameIcon']],[_0x30c2c9(0x1c8),h['ShapeFunnelIcon']],[_0x30c2c9(0x431),h[_0x30c2c9(0x431)]],[_0x30c2c9(0x578),h[_0x30c2c9(0x578)]],['ShapeHalfFrameIcon',h[_0x30c2c9(0x12d)]],[_0x30c2c9(0x535),h['ShapeHeartIcon']],['ShapeHeptagonIcon',h[_0x30c2c9(0x33d)]],[_0x30c2c9(0x61a),h[_0x30c2c9(0x61a)]],[_0x30c2c9(0x263),h[_0x30c2c9(0x263)]],['ShapeHorizontalScrollIcon',h['ShapeHorizontalScrollIcon']],[_0x30c2c9(0x37b),h['ShapeIrregularSeal1Icon']],[_0x30c2c9(0x4a8),h[_0x30c2c9(0x4a8)]],[_0x30c2c9(0x28e),h[_0x30c2c9(0x28e)]],['ShapeLeftArrowIcon',h[_0x30c2c9(0x403)]],['ShapeLeftBraceIcon',h[_0x30c2c9(0x442)]],[_0x30c2c9(0x128),h[_0x30c2c9(0x128)]],[_0x30c2c9(0x3ff),h[_0x30c2c9(0x3ff)]],[_0x30c2c9(0x3da),h[_0x30c2c9(0x3da)]],[_0x30c2c9(0x3d6),h['ShapeLeftRightArrowIcon']],[_0x30c2c9(0x412),h[_0x30c2c9(0x412)]],[_0x30c2c9(0x571),h['ShapeLeftRightRibbonIcon']],['ShapeLeftRightUpArrowIcon',h[_0x30c2c9(0x193)]],[_0x30c2c9(0x613),h[_0x30c2c9(0x613)]],[_0x30c2c9(0x28a),h[_0x30c2c9(0x28a)]],[_0x30c2c9(0x255),h['ShapeLineIcon']],[_0x30c2c9(0x2dc),h[_0x30c2c9(0x2dc)]],['ShapeMathDivideIcon',h[_0x30c2c9(0x358)]],[_0x30c2c9(0x338),h[_0x30c2c9(0x338)]],[_0x30c2c9(0x2b6),h[_0x30c2c9(0x2b6)]],['ShapeMathMultiplyIcon',h[_0x30c2c9(0x381)]],[_0x30c2c9(0x24d),h[_0x30c2c9(0x24d)]],[_0x30c2c9(0x5a6),h[_0x30c2c9(0x5a6)]],[_0x30c2c9(0x62b),h['ShapeMoonIcon']],[_0x30c2c9(0x488),h[_0x30c2c9(0x488)]],[_0x30c2c9(0x57e),h[_0x30c2c9(0x57e)]],[_0x30c2c9(0x197),h[_0x30c2c9(0x197)]],['ShapeOctagonIcon',h[_0x30c2c9(0x54e)]],[_0x30c2c9(0x216),h[_0x30c2c9(0x216)]],['ShapePentagonIcon',h[_0x30c2c9(0x418)]],['ShapePieIcon',h[_0x30c2c9(0x630)]],['ShapePieWedgeIcon',h[_0x30c2c9(0x1dc)]],[_0x30c2c9(0x26e),h['ShapePlaqueIcon']],[_0x30c2c9(0x3bb),h[_0x30c2c9(0x3bb)]],['ShapePlusIcon',h[_0x30c2c9(0x537)]],[_0x30c2c9(0x2af),h['ShapeQuadArrowCalloutIcon']],[_0x30c2c9(0x41c),h[_0x30c2c9(0x41c)]],[_0x30c2c9(0x45f),h[_0x30c2c9(0x45f)]],[_0x30c2c9(0x3de),h[_0x30c2c9(0x3de)]],['ShapeRectTextboxVerticalIcon',h['ShapeRectTextboxVerticalIcon']],[_0x30c2c9(0x500),h[_0x30c2c9(0x500)]],[_0x30c2c9(0x424),h['ShapeRibbonIcon']],[_0x30c2c9(0x343),h[_0x30c2c9(0x343)]],[_0x30c2c9(0x5a8),h[_0x30c2c9(0x5a8)]],['ShapeRightBraceIcon',h['ShapeRightBraceIcon']],[_0x30c2c9(0x3e9),h['ShapeRightBracketIcon']],['ShapeRound1RectIcon',h[_0x30c2c9(0x552)]],['ShapeRound2DiagRectIcon',h[_0x30c2c9(0x155)]],[_0x30c2c9(0x58e),h['ShapeRound2SameRectIcon']],['ShapeRoundRectIcon',h[_0x30c2c9(0x120)]],[_0x30c2c9(0x5a7),h[_0x30c2c9(0x5a7)]],[_0x30c2c9(0x249),h[_0x30c2c9(0x249)]],[_0x30c2c9(0x49b),h[_0x30c2c9(0x49b)]],[_0x30c2c9(0x2ca),h[_0x30c2c9(0x2ca)]],[_0x30c2c9(0x56f),h[_0x30c2c9(0x56f)]],[_0x30c2c9(0x35e),h[_0x30c2c9(0x35e)]],[_0x30c2c9(0x1c4),h[_0x30c2c9(0x1c4)]],[_0x30c2c9(0x600),h[_0x30c2c9(0x600)]],[_0x30c2c9(0x151),h[_0x30c2c9(0x151)]],[_0x30c2c9(0x31b),h[_0x30c2c9(0x31b)]],['ShapeStar24Icon',h[_0x30c2c9(0x2ed)]],[_0x30c2c9(0x511),h['ShapeStar32Icon']],[_0x30c2c9(0x199),h[_0x30c2c9(0x199)]],['ShapeStar5Icon',h[_0x30c2c9(0x147)]],[_0x30c2c9(0x5b0),h[_0x30c2c9(0x5b0)]],[_0x30c2c9(0x251),h[_0x30c2c9(0x251)]],[_0x30c2c9(0x519),h[_0x30c2c9(0x519)]],[_0x30c2c9(0x504),h['ShapeStraightConnector1Icon']],[_0x30c2c9(0x60b),h['ShapeStraightConnector2Icon']],['ShapeStripedRightArrowIcon',h[_0x30c2c9(0x397)]],[_0x30c2c9(0x16b),h[_0x30c2c9(0x16b)]],['ShapeSwooshArrowIcon',h[_0x30c2c9(0x359)]],['ShapeTeardropIcon',h[_0x30c2c9(0x4b8)]],['ShapeTrapezoidIcon',h[_0x30c2c9(0x530)]],[_0x30c2c9(0x24f),h['ShapeTriangleIcon']],[_0x30c2c9(0x3d5),h['ShapeUpArrowCalloutIcon']],[_0x30c2c9(0x223),h[_0x30c2c9(0x223)]],[_0x30c2c9(0x584),h[_0x30c2c9(0x584)]],[_0x30c2c9(0x5a3),h[_0x30c2c9(0x5a3)]],[_0x30c2c9(0x603),h[_0x30c2c9(0x603)]],['ShapeVerticalScrollIcon',h[_0x30c2c9(0x567)]],[_0x30c2c9(0x2ae),h[_0x30c2c9(0x2ae)]],[_0x30c2c9(0x1bb),h[_0x30c2c9(0x1bb)]],['ShapeWedgeRectCalloutIcon',h[_0x30c2c9(0x3cd)]],[_0x30c2c9(0x472),h[_0x30c2c9(0x472)]],[N,X],[le,ve],[xe,we],[b[_0x30c2c9(0x328)],Ce]][_0x30c2c9(0x2fe)](([_0x2fdbd2,_0x980023])=>{const _0x1101d9=_0x30c2c9;this[_0x1101d9(0x19b)](this[_0x1101d9(0x1e9)][_0x1101d9(0x1a6)](_0x2fdbd2,_0x980023));});}[_0x32d26c(0x20f)](){const _0x14b10c=_0x32d26c;this[_0x14b10c(0x3b3)]=this[_0x14b10c(0x293)][_0x14b10c(0x1f6)]({'id':N,'header':{'title':this['_localeService']['t'](_0x14b10c(0x31e))},'width':0x184,'children':{'label':N,...this[_0x14b10c(0x4cc)]},'onClose':()=>{const _0x286025=_0x14b10c;this[_0x286025(0x5f4)][_0x286025(0x4b2)](null),this[_0x286025(0x331)][_0x286025(0x616)](u[_0x286025(0x477)],!0x1),this[_0x286025(0x3b3)]=null;}}),this[_0x14b10c(0x261)]=!0x0;}[_0x32d26c(0x438)](){const _0x6679db=_0x32d26c;this['_isOpenedShapeEditPanel']=!0x1,this['_sidebarService'][_0x6679db(0x5ab)](N),this['_sidebarDisposable']=null,this[_0x6679db(0x331)][_0x6679db(0x616)](u[_0x6679db(0x477)],!0x1),this[_0x6679db(0x5f4)]['focusDrawing'](null);}};Ae=W([U(0x0,u[_0x32d26c(0x342)]),U(0x1,(0x0,u['Inject'])(g[_0x32d26c(0x3ad)])),U(0x2,g[_0x32d26c(0x146)]),U(0x3,(0x0,u[_0x32d26c(0x3f3)])(l[_0x32d26c(0x3c2)])),U(0x4,(0x0,u[_0x32d26c(0x3f3)])(u['LocaleService'])),U(0x5,(0x0,u[_0x32d26c(0x3f3)])(g[_0x32d26c(0x140)])),U(0x6,u['ICommandService']),U(0x7,m['IDrawingManagerService']),U(0x8,(0x0,u['Inject'])(f[_0x32d26c(0x244)])),U(0x9,p[_0x32d26c(0x405)]),U(0xa,u['IContextService']),U(0xb,(0x0,u[_0x32d26c(0x3f3)])(R))],Ae);var je='@univerjs-pro/docs-shape-ui',Me='0.25.2';const Ne={};var Pe=class extends p[_0x32d26c(0x34c)]{constructor(_0x2c17ae,_0x33cf75){const _0x3101ee=_0x32d26c;super(_0x2c17ae,_0x33cf75),L(this,'_shapeId',null),L(this,_0x3101ee(0x469),null),L(this,'_unitId',null),L(this,_0x3101ee(0x5df),null),_0x33cf75&&this['setShapeProps'](_0x33cf75);}['getDrawingSearch'](){const _0x27a527=_0x32d26c;return{'unitId':this[_0x27a527(0x62f)],'subUnitId':this[_0x27a527(0x5df)],'drawingId':this[_0x27a527(0x541)]};}[_0x32d26c(0x34a)](_0x28ac70){const _0x560120=_0x32d26c;_0x28ac70[_0x560120(0x56b)]!==void 0x0&&(this[_0x560120(0x541)]=_0x28ac70[_0x560120(0x56b)]),_0x28ac70[_0x560120(0x604)]!==void 0x0&&(this[_0x560120(0x469)]=_0x28ac70[_0x560120(0x604)]),_0x28ac70[_0x560120(0x400)]!==void 0x0&&(this[_0x560120(0x62f)]=_0x28ac70[_0x560120(0x400)]),_0x28ac70[_0x560120(0x32d)]!==void 0x0&&(this[_0x560120(0x5df)]=_0x28ac70[_0x560120(0x32d)]),this[_0x560120(0x545)]({'width':_0x28ac70[_0x560120(0x452)],'height':_0x28ac70['height']});}[_0x32d26c(0x2ee)](_0x228fc1){const _0xc1eb69=_0x32d26c;p[_0xc1eb69(0x4fc)][_0xc1eb69(0x59f)](_0x228fc1,{'radius':c['ShapeDefaultConfig'][_0xc1eb69(0x3bc)],'fill':c[_0xc1eb69(0x5a4)][_0xc1eb69(0x28c)],'stroke':c['ShapeDefaultConfig'][_0xc1eb69(0x2b2)],'strokeWidth':0x1,'evented':!0x0});}};let Fe=class extends u[_0x32d26c(0x15a)]{constructor(_0x474d19,_0x3945c7,_0x4e26bc,_0x5e3d6c){const _0x9f115b=_0x32d26c;super(),this[_0x9f115b(0x1e8)]=_0x474d19,this['_drawingManagerService']=_0x3945c7,this[_0x9f115b(0x49a)]=_0x4e26bc,this[_0x9f115b(0x53c)]=_0x5e3d6c,L(this,_0x9f115b(0x468),null),L(this,_0x9f115b(0x62f),null),L(this,_0x9f115b(0x5df),null),L(this,_0x9f115b(0x4fe),void 0x0),L(this,'_adjustPointObjects',[]),L(this,_0x9f115b(0x23b),0x0),L(this,_0x9f115b(0x2fb),0x0),L(this,_0x9f115b(0x14b),0x0),L(this,_0x9f115b(0x347),0x0),L(this,_0x9f115b(0x14c),!0x1),L(this,'_isShouldShowDrawingShapeAdjust',!0x1),L(this,'_activeAdjustInfo',void 0x0),L(this,_0x9f115b(0x148),void 0x0),L(this,_0x9f115b(0x59c),void 0x0),L(this,'_adjHandlerPointerUp',void 0x0),this[_0x9f115b(0x4a5)](),this[_0x9f115b(0x2c3)]();}[_0x32d26c(0x1df)](){const _0xb0a979=_0x32d26c;this[_0xb0a979(0x512)]();}['refreshAdjustControls'](){const _0x5b3c37=_0x32d26c;this[_0x5b3c37(0x5b6)](!0x0);}[_0x32d26c(0x1b6)](_0x1e424e,_0xd8dc1d,_0x25d293){const _0x5084ca=_0x32d26c;var _0x10798;return(_0x10798=this[_0x5084ca(0x49a)][_0x5084ca(0x1c6)](_0x1e424e,_0xd8dc1d,_0x25d293))==null?void 0x0:_0x10798[_0x5084ca(0x5d1)]();}[_0x32d26c(0x5f3)](_0x4f1be3,_0x445551,_0x3bd415,_0x2cbfe6){const _0x411205=_0x32d26c;var _0x252d88;return(_0x252d88=this['_docsShapeService'][_0x411205(0x1c6)](_0x4f1be3,_0x445551,_0x3bd415))==null?void 0x0:_0x252d88[_0x411205(0x2c4)](_0x2cbfe6);}[_0x32d26c(0x11b)](){const _0x2ab8c7=_0x32d26c;if(this[_0x2ab8c7(0x62f)]===null||this['_subUnitId']===null||this[_0x2ab8c7(0x468)]===null)return null;let _0x5bf123=this[_0x2ab8c7(0x5f4)]['getDrawingByParam']({'unitId':this[_0x2ab8c7(0x62f)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x2ab8c7(0x468)]});return _0x5bf123==null?null:_0x5bf123;}[_0x32d26c(0x5c4)](_0x518591){const _0x429286=_0x32d26c;if(this[_0x429286(0x62f)]===null||this[_0x429286(0x5df)]===null||this[_0x429286(0x468)]===null)return null;let _0x192352=(0x0,m['getDrawingShapeKeyByDrawingSearch'])({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this['_activeShapeId']}),_0x5658f6=_0x518591[_0x429286(0x1ef)](_0x192352);return _0x5658f6 instanceof H?_0x5658f6:null;}[_0x32d26c(0x4db)](_0x58f97c=!0x1){const _0x1f21bd=_0x32d26c;if(this[_0x1f21bd(0x62f)]===null||this[_0x1f21bd(0x5df)]===null||this['_activeShapeId']===null)return;let _0x344634=this['_getActiveDrawingParam']();if((_0x344634==null?void 0x0:_0x344634['drawingType'])!==u['DrawingTypeEnum'][_0x1f21bd(0x4a6)]||!_0x344634[_0x1f21bd(0x245)])return;let _0x5563dc=this[_0x1f21bd(0x49a)][_0x1f21bd(0x1c6)](this[_0x1f21bd(0x62f)],this[_0x1f21bd(0x5df)],this[_0x1f21bd(0x468)]);if(!_0x5563dc||_0x5563dc['isLineShape']())return;(_0x58f97c||!this[_0x1f21bd(0x4fe)])&&(this['_activeShapeAdjustPointList']=this['_getShapeAdjustPointListById'](this[_0x1f21bd(0x62f)],this[_0x1f21bd(0x5df)],this[_0x1f21bd(0x468)]));let _0x2fc24d=this[_0x1f21bd(0x4fe)];if(!(_0x2fc24d!=null&&_0x2fc24d[_0x1f21bd(0x296)]))return;let {scene:_0x30d33c}=this[_0x1f21bd(0x1e8)],{left:_0x2a6221=0x0,top:_0x3cf19b=0x0,width:_0x5b0662=0x0,height:_0x120d22=0x0,flipX:_0x10b5c7,flipY:_0x4766c9,angle:_0x389bef=0x0}=_0x344634[_0x1f21bd(0x245)];for(let _0x23937d of _0x2fc24d){let _0x2f8149=this[_0x1f21bd(0x58d)](_0x23937d,_0x5b0662,_0x120d22,!!_0x10b5c7,!!_0x4766c9,_0x389bef);this[_0x1f21bd(0x402)](_0x30d33c,_0x2f8149,_0x2f8149[_0x1f21bd(0x604)],_0x2a6221,_0x3cf19b,this[_0x1f21bd(0x62f)],this[_0x1f21bd(0x5df)]);}}[_0x32d26c(0x58d)](_0x1731d8,_0x21f236,_0x41ddfa,_0x185290,_0x470c6c,_0x210723){const _0x4c0f74=_0x32d26c;let _0x309b2f=_0x1731d8['x'],_0x6c58b0=_0x1731d8['y'];if(_0x185290&&(_0x309b2f=_0x21f236-_0x309b2f),_0x470c6c&&(_0x6c58b0=_0x41ddfa-_0x6c58b0),_0x210723!==0x0){let _0x54c339=_0x21f236/0x2,_0x19a63e=_0x41ddfa/0x2,_0x5d925b=_0x210723*Math['PI']/0xb4,_0xac8a4f=Math[_0x4c0f74(0x364)](_0x5d925b),_0x44accb=Math[_0x4c0f74(0x54f)](_0x5d925b),_0x592a95=_0x309b2f-_0x54c339,_0x41eaf0=_0x6c58b0-_0x19a63e;_0x309b2f=_0x54c339+(_0x592a95*_0xac8a4f-_0x41eaf0*_0x44accb),_0x6c58b0=_0x19a63e+(_0x592a95*_0x44accb+_0x41eaf0*_0xac8a4f);}return{'x':_0x309b2f,'y':_0x6c58b0,'adjName':_0x1731d8[_0x4c0f74(0x604)]};}[_0x32d26c(0x5b6)](_0x565920=!0x1){const _0x146f54=_0x32d26c;_0x565920&&this[_0x146f54(0x512)](),this[_0x146f54(0x4db)](_0x565920);}[_0x32d26c(0x402)](_0x52891f,_0x326523,_0x42b680,_0x3a8bd6,_0x2e53ef,_0x4b36cb,_0xd0aa62){const _0x4ae1fb=_0x32d26c;if(!this[_0x4ae1fb(0x468)])return;let _0x1a60a7='doc-shape-adjust-point-'+this[_0x4ae1fb(0x468)]+'-'+_0x42b680,_0x3f6310=_0x52891f['getObjectIncludeInGroup'](_0x1a60a7);if(_0x3f6310){_0x3f6310[_0x4ae1fb(0x545)]({'left':_0x326523['x']+_0x3a8bd6-c[_0x4ae1fb(0x5a4)][_0x4ae1fb(0x3bc)],'top':_0x326523['y']+_0x2e53ef-c[_0x4ae1fb(0x5a4)][_0x4ae1fb(0x3bc)]}),_0x3f6310['makeDirty'](!0x0);return;}let _0x41616e=new Pe(_0x1a60a7,{'left':_0x326523['x']+_0x3a8bd6-c[_0x4ae1fb(0x5a4)][_0x4ae1fb(0x3bc)],'top':_0x326523['y']+_0x2e53ef-c[_0x4ae1fb(0x5a4)][_0x4ae1fb(0x3bc)],'adjName':_0x42b680,'shapeId':this[_0x4ae1fb(0x468)],'unitId':_0x4b36cb,'subUnitId':_0xd0aa62,'width':c[_0x4ae1fb(0x5a4)]['adjHandleSize']+0x8,'height':c['ShapeDefaultConfig'][_0x4ae1fb(0x3bc)]+0x8,'zIndex':p[_0x4ae1fb(0x514)]+0x1,'evented':!0x0});this[_0x4ae1fb(0x4fd)][_0x4ae1fb(0x1b1)](_0x41616e),this['_attachAdjustEvent'](_0x41616e,_0x52891f,_0x42b680),_0x52891f[_0x4ae1fb(0x513)](_0x41616e,p[_0x4ae1fb(0x514)]+0x1);}['_clearShapeAdjustControls'](){const _0x23cf54=_0x32d26c;this[_0x23cf54(0x4fd)][_0x23cf54(0x2fe)](_0x4813f1=>_0x4813f1[_0x23cf54(0x310)]()),this['_adjustPointObjects']=[];}[_0x32d26c(0x37a)](){const _0xb3b96c=_0x32d26c;this[_0xb3b96c(0x4db)]();}['_toScenePoint'](_0x24cada,_0x2ddab6,_0x881ef4){const _0x3e9691=_0x32d26c;var _0x157285,_0x11ffcf;let _0x125dad=p[_0x3e9691(0x601)][_0x3e9691(0x5f1)]([_0x2ddab6,_0x881ef4]),_0x42a3ca=(_0x157285=_0x24cada[_0x3e9691(0x610)](_0x125dad))==null?_0x24cada[_0x3e9691(0x22a)]()[0x0]:_0x157285;return(_0x11ffcf=_0x42a3ca==null?void 0x0:_0x42a3ca[_0x3e9691(0x375)](_0x125dad))==null?_0x125dad:_0x11ffcf;}[_0x32d26c(0x314)](_0x3c0f3d,_0x49ad56,_0x53db7a){const _0x468456=_0x32d26c;this[_0x468456(0x19b)]((0x0,u[_0x468456(0x285)])(_0x3c0f3d[_0x468456(0x4f3)]['subscribeEvent']((_0x1e366b,_0x2935cc)=>{const _0x3dd646=_0x468456;var _0x3ff14d,_0x38c79c,_0x22e678,_0x47f7a6;let _0x27189b=_0x3c0f3d[_0x3dd646(0x33f)]();this[_0x3dd646(0x3d9)]=this[_0x3dd646(0x5f3)](_0x27189b[_0x3dd646(0x400)],_0x27189b[_0x3dd646(0x32d)],_0x27189b[_0x3dd646(0x5ca)],_0x53db7a),this[_0x3dd646(0x148)]=this[_0x3dd646(0x49a)]['getShapeModel'](_0x27189b[_0x3dd646(0x400)],_0x27189b[_0x3dd646(0x32d)],_0x27189b[_0x3dd646(0x5ca)]);let _0x5de8ba=this['_getActiveDrawingParam'](),_0x77cd11=_0x5de8ba==null?void 0x0:_0x5de8ba['transform'];if(!_0x5de8ba||!_0x77cd11||!this['_activeShapeModel'])return;this['_baseShapeLeft']=_0x77cd11[_0x3dd646(0x334)]||0x0,this[_0x3dd646(0x2fb)]=_0x77cd11[_0x3dd646(0x22c)]||0x0,this[_0x3dd646(0x14b)]=_0x77cd11[_0x3dd646(0x452)]||0x0,this[_0x3dd646(0x347)]=_0x77cd11[_0x3dd646(0x1cd)]||0x0;let _0x576ae8=!!_0x77cd11['flipX'],_0x10ea89=!!_0x77cd11['flipY'],_0x3bf0cd=_0x77cd11['angle']||0x0,_0x4cc656=((_0x3ff14d=this[_0x3dd646(0x3d9)])==null?void 0x0:_0x3ff14d[_0x3dd646(0x1a7)])||((_0x38c79c=this[_0x3dd646(0x3d9)])==null?void 0x0:_0x38c79c[_0x3dd646(0x39f)])||((_0x22e678=this[_0x3dd646(0x3d9)])==null?void 0x0:_0x22e678[_0x3dd646(0x2a7)])||((_0x47f7a6=this[_0x3dd646(0x3d9)])==null?void 0x0:_0x47f7a6[_0x3dd646(0x115)])||_0x53db7a,_0x4fd540=this[_0x3dd646(0x148)][_0x3dd646(0x39a)](_0x4cc656),_0x28b775={[_0x4cc656]:_0x4fd540};this['_isStartAdjusting']=!0x0,_0x49ad56[_0x3dd646(0x46b)](),this[_0x3dd646(0x59c)]=_0x49ad56['onPointerMove$']['subscribeEvent']((_0x37ea16,_0x144517)=>{const _0x566533=_0x3dd646;var _0x2f31fc;if(!this[_0x566533(0x14c)]||!this[_0x566533(0x148)]||!this[_0x566533(0x3d9)])return;_0x49ad56[_0x566533(0x46b)](),_0x49ad56['setCursor'](p[_0x566533(0x49c)][_0x566533(0x351)]);let _0x5bed5a=this[_0x566533(0x2e2)](_0x49ad56,_0x37ea16['offsetX'],_0x37ea16[_0x566533(0x215)]),_0x123f8c=_0x5bed5a['x']-this[_0x566533(0x23b)],_0xfc81a6=_0x5bed5a['y']-this[_0x566533(0x2fb)];if(_0x3bf0cd!==0x0){let _0x348b20=this['_baseShapeWidth']/0x2,_0x59f36c=this[_0x566533(0x347)]/0x2,_0x390477=_0x3bf0cd*Math['PI']/0xb4,_0x591e58=Math['cos'](_0x390477),_0xf59782=Math[_0x566533(0x54f)](_0x390477),_0x24e3a2=_0x123f8c-_0x348b20,_0x1db2f9=_0xfc81a6-_0x59f36c;_0x123f8c=_0x348b20+(_0x24e3a2*_0x591e58+_0x1db2f9*_0xf59782),_0xfc81a6=_0x59f36c+(-_0x24e3a2*_0xf59782+_0x1db2f9*_0x591e58);}_0x576ae8&&(_0x123f8c=this[_0x566533(0x14b)]-_0x123f8c),_0x10ea89&&(_0xfc81a6=this[_0x566533(0x347)]-_0xfc81a6);let _0x5d695d={'left':0x0,'top':0x0,'width':this['_baseShapeWidth'],'height':this['_baseShapeHeight']},_0x153f1d=this['_activeShapeModel'][_0x566533(0x119)](_0x5d695d,{'x':_0x123f8c,'y':_0xfc81a6},this[_0x566533(0x3d9)],_0x576ae8,_0x10ea89),_0x9e623=this['_activeAdjustInfo'][_0x566533(0x1a7)]||this['_activeAdjustInfo']['gdRefY']||this['_activeAdjustInfo']['gdRefAng']||this['_activeAdjustInfo'][_0x566533(0x115)];_0x9e623!==void 0x0&&(this[_0x566533(0x148)][_0x566533(0x437)](_0x9e623,_0x153f1d),(_0x2f31fc=this[_0x566533(0x5c4)](_0x49ad56))==null||_0x2f31fc[_0x566533(0x29e)](!0x0),this['_activeShapeAdjustPointList']=this['_getShapeAdjustPointListById'](_0x27189b[_0x566533(0x400)],_0x27189b[_0x566533(0x32d)],_0x27189b[_0x566533(0x5ca)]),this[_0x566533(0x37a)](),_0x144517[_0x566533(0x50e)]());}),this[_0x3dd646(0x3f6)]=_0x49ad56[_0x3dd646(0x44b)][_0x3dd646(0x123)]((_0x1f589e,_0x59ae80)=>{const _0x463cb5=_0x3dd646;var _0x260b19,_0x186f14;(_0x260b19=this[_0x463cb5(0x59c)])==null||_0x260b19[_0x463cb5(0x1da)](),(_0x186f14=this['_adjHandlerPointerUp'])==null||_0x186f14[_0x463cb5(0x1da)](),_0x49ad56[_0x463cb5(0x2d4)]();let _0x16f66e=this['_activeAdjustInfo'];if(_0x16f66e&&this[_0x463cb5(0x148)]){let _0x4f6367=_0x16f66e[_0x463cb5(0x1a7)]||_0x16f66e[_0x463cb5(0x39f)]||_0x16f66e['gdRefAng']||_0x16f66e[_0x463cb5(0x115)];if(_0x4f6367!==void 0x0){let _0x18e60a=this[_0x463cb5(0x148)][_0x463cb5(0x39a)](_0x4f6367);_0x18e60a!==void 0x0&&z(this[_0x463cb5(0x53c)],_0x27189b[_0x463cb5(0x400)],_0x27189b[_0x463cb5(0x32d)],_0x27189b[_0x463cb5(0x5ca)],{'oldShapeData':{'adjustValues':_0x28b775}},{'adjustValues':{[_0x4f6367]:_0x18e60a}});}}this[_0x463cb5(0x3d9)]=void 0x0,this[_0x463cb5(0x148)]=void 0x0,this[_0x463cb5(0x14c)]=!0x1,_0x49ad56[_0x463cb5(0x271)](),_0x59ae80[_0x463cb5(0x50e)]();}),_0x2935cc['stopPropagation']();})));}[_0x32d26c(0x2c3)](){const _0x563cc0=_0x32d26c;let {scene:_0xe04df2}=this[_0x563cc0(0x1e8)],_0x22da20=_0xe04df2[_0x563cc0(0x321)]();this[_0x563cc0(0x19b)](_0x22da20[_0x563cc0(0x371)]['subscribe'](_0x2385e4=>{const _0x8c76fd=_0x563cc0;this[_0x8c76fd(0x4db)](),_0x2385e4[_0x8c76fd(0x485)]!==null&&_0x2385e4['objects'][_0x8c76fd(0x2be)]===0x1&&_0x2385e4['objects'][_0x8c76fd(0x3c3)]()[_0x8c76fd(0x25c)]()[_0x8c76fd(0x501)]instanceof H&&(this['_isShouldShowDrawingShapeAdjust']=!0x0);})),this['disposeWithMe'](_0x22da20[_0x563cc0(0x1b2)]['subscribe'](()=>{const _0x47d2c8=_0x563cc0;this['_isShouldShowDrawingShapeAdjust']&&this[_0x47d2c8(0x512)]();})),this[_0x563cc0(0x19b)](_0xe04df2[_0x563cc0(0x44b)]['subscribeEvent'](()=>{const _0x5dc8b2=_0x563cc0;this[_0x5dc8b2(0x502)]&&(this[_0x5dc8b2(0x502)]=!0x1,this['_createShapeAdjustControls']());})),this[_0x563cc0(0x19b)](_0x22da20['changeEnd$']['subscribe'](()=>{const _0x5314b1=_0x563cc0;this['_unitId']&&this[_0x5314b1(0x5df)]&&this[_0x5314b1(0x468)]&&(this[_0x5314b1(0x4fe)]=this[_0x5314b1(0x1b6)](this[_0x5314b1(0x62f)],this[_0x5314b1(0x5df)],this[_0x5314b1(0x468)]),this[_0x5314b1(0x37a)]());}));}[_0x32d26c(0x4a5)](){const _0x43e00e=_0x32d26c;this[_0x43e00e(0x19b)](this[_0x43e00e(0x5f4)]['focus$'][_0x43e00e(0x1ae)](_0x4e269e=>{const _0x425888=_0x43e00e;if(_0x4e269e['length']===0x1){let _0x245d26=_0x4e269e[0x0],_0x3d9dc5=this[_0x425888(0x5f4)][_0x425888(0x608)](_0x245d26);if((_0x3d9dc5==null?void 0x0:_0x3d9dc5[_0x425888(0x4e4)])===u['DrawingTypeEnum'][_0x425888(0x4a6)]){this[_0x425888(0x468)]=_0x245d26[_0x425888(0x5ca)],this['_unitId']=_0x245d26[_0x425888(0x400)],this[_0x425888(0x5df)]=_0x245d26[_0x425888(0x32d)],this[_0x425888(0x4fe)]=this[_0x425888(0x1b6)](_0x245d26[_0x425888(0x400)],_0x245d26['subUnitId'],_0x245d26[_0x425888(0x5ca)]),this[_0x425888(0x512)](),this[_0x425888(0x4db)]();return;}}this[_0x425888(0x468)]=null,this['_activeShapeAdjustPointList']=void 0x0,this['_unitId']=null,this[_0x425888(0x5df)]=null,this[_0x425888(0x512)]();})),this['disposeWithMe'](this[_0x43e00e(0x5f4)][_0x43e00e(0x356)][_0x43e00e(0x1ae)](_0x5a9179=>{const _0x1a5928=_0x43e00e;if(_0x5a9179[_0x1a5928(0x296)]===0x1){var _0x3b1cdc;((_0x3b1cdc=this[_0x1a5928(0x5f4)][_0x1a5928(0x608)](_0x5a9179[0x0]))==null?void 0x0:_0x3b1cdc[_0x1a5928(0x4e4)])===u[_0x1a5928(0x1a0)][_0x1a5928(0x4a6)]&&this[_0x1a5928(0x5b6)](!0x0);}})),this['disposeWithMe'](this[_0x43e00e(0x5f4)][_0x43e00e(0x254)][_0x43e00e(0x1ae)](_0x431105=>{const _0x1f71a5=_0x43e00e;for(let _0x8c78b9 of _0x431105)this[_0x1f71a5(0x468)]===_0x8c78b9[_0x1f71a5(0x5ca)]&&(this['_activeShapeId']=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x1f71a5(0x62f)]=null,this[_0x1f71a5(0x5df)]=null,this[_0x1f71a5(0x512)]());}));}};Fe=W([U(0x1,m[_0x32d26c(0x54d)]),U(0x2,(0x0,u['Inject'])(l[_0x32d26c(0x3c2)])),U(0x3,u[_0x32d26c(0x54b)])],Fe);function Ie(_0x30c5ab,_0x12db6e){const _0x54d8ef=_0x32d26c;let _0xee6e48=_0x30c5ab;for(;_0xee6e48;){if(_0x12db6e(_0xee6e48))return _0xee6e48;_0xee6e48=typeof _0xee6e48['getParent']==_0x54d8ef(0x3ae)?_0xee6e48[_0x54d8ef(0x35a)]():null;}return null;}function Le(_0x1a2d7c){return Ie(_0x1a2d7c,_0x355dbe=>_0x355dbe instanceof H);}let Re=class extends u[_0x32d26c(0x15a)]{constructor(_0x4a4b7a,_0xb1733a,_0x1ad205,_0x397cb0,_0x1a3d46){const _0x583384=_0x32d26c;super(),this['_context']=_0x4a4b7a,this[_0x583384(0x4a2)]=_0xb1733a,this[_0x583384(0x5f4)]=_0x1ad205,this[_0x583384(0x331)]=_0x397cb0,this[_0x583384(0x49a)]=_0x1a3d46,L(this,_0x583384(0x219),null),this['_initEvents'](),this[_0x583384(0x327)](),this['_initEditingParams']();}[_0x32d26c(0x448)](){const _0x204a6c=_0x32d26c;let {scene:_0x1ac268}=this[_0x204a6c(0x1e8)];this[_0x204a6c(0x19b)](_0x1ac268[_0x204a6c(0x260)][_0x204a6c(0x123)](_0x13c520=>{const _0x4d72ca=_0x204a6c;var _0x5f2d6a;let {offsetX:_0x401a15,offsetY:_0xef84c6}=_0x13c520,_0x53acc6=p[_0x4d72ca(0x601)]['FromArray']([_0x401a15,_0xef84c6]),_0xe49c92=(_0x5f2d6a=Le(_0x1ac268[_0x4d72ca(0x5e8)](_0x53acc6)))==null?this[_0x4d72ca(0x212)](_0x53acc6):_0x5f2d6a;if(_0xe49c92){if((0x0,c[_0x4d72ca(0x3f5)])(this[_0x4d72ca(0x49a)][_0x4d72ca(0x170)](_0xe49c92[_0x4d72ca(0x400)],_0xe49c92[_0x4d72ca(0x32d)],_0xe49c92['shapeId'])))return;this[_0x4d72ca(0x4a2)][_0x4d72ca(0x4f1)]({'visible':!0x0,'unitId':_0xe49c92[_0x4d72ca(0x400)],'subUnitId':_0xe49c92[_0x4d72ca(0x32d)],'shapeId':_0xe49c92[_0x4d72ca(0x56b)],'shapeKey':_0xe49c92[_0x4d72ca(0x16c)]});}}));}['_getFocusedShapeAtPoint'](_0x3b75e8){const _0x11d24d=_0x32d26c;let {scene:_0x28b944}=this[_0x11d24d(0x1e8)],_0x3fcb07=this[_0x11d24d(0x5f4)][_0x11d24d(0x5d9)]()[_0x11d24d(0x230)](_0x28236f=>_0x28b944[_0x11d24d(0x1ef)]((0x0,m['getDrawingShapeKeyByDrawingSearch'])(_0x28236f)))[_0x11d24d(0x1b8)](_0x15376c=>_0x15376c instanceof H&&_0x15376c[_0x11d24d(0x5c5)](_0x3b75e8));return _0x3fcb07==null?null:_0x3fcb07;}[_0x32d26c(0x327)](){const _0x2f2e50=_0x32d26c;this[_0x2f2e50(0x19b)](this[_0x2f2e50(0x5f4)][_0x2f2e50(0x470)][_0x2f2e50(0x1ae)](_0x59d844=>{const _0x19ac66=_0x2f2e50;if(_0x59d844['length']===0x1){let _0x13cf5d=_0x59d844[0x0],_0x30e7ce=this[_0x19ac66(0x5f4)][_0x19ac66(0x608)](_0x13cf5d);if((_0x30e7ce==null?void 0x0:_0x30e7ce[_0x19ac66(0x4e4)])===u[_0x19ac66(0x1a0)][_0x19ac66(0x4a6)]){let _0x328ba6=this['_shapeTextEditingService'][_0x19ac66(0x28b)]();if((_0x328ba6==null?void 0x0:_0x328ba6['shapeId'])===_0x13cf5d[_0x19ac66(0x5ca)]&&_0x328ba6[_0x19ac66(0x2a2)])return;(0x0,c['isConnectorShape'])(this['_docsShapeService'][_0x19ac66(0x170)](_0x13cf5d['unitId'],_0x13cf5d[_0x19ac66(0x32d)],_0x13cf5d[_0x19ac66(0x5ca)]))&&this[_0x19ac66(0x4a2)][_0x19ac66(0x4f1)](null);}else this['_shapeTextEditingService']['getEditing']()&&(this[_0x19ac66(0x4a2)][_0x19ac66(0x617)](!0x0),requestAnimationFrame(()=>{const _0x30460d=_0x19ac66;this[_0x30460d(0x4a2)][_0x30460d(0x4f1)](null);}));}else this[_0x19ac66(0x4a2)][_0x19ac66(0x28b)]()&&(this[_0x19ac66(0x4a2)][_0x19ac66(0x617)](!0x0),requestAnimationFrame(()=>{const _0x22304b=_0x19ac66;this[_0x22304b(0x4a2)][_0x22304b(0x4f1)](null);}));})),this['disposeWithMe'](this[_0x2f2e50(0x5f4)]['remove$'][_0x2f2e50(0x1ae)](_0x18d7cd=>{const _0x20f671=_0x2f2e50;let _0x3fd471=this['_shapeTextEditingService']['getEditing']();_0x3fd471&&_0x18d7cd[_0x20f671(0x1b0)](_0x3e0f05=>_0x3e0f05['drawingId']===_0x3fd471[_0x20f671(0x56b)])&&this[_0x20f671(0x4a2)][_0x20f671(0x4f1)](null);}));}[_0x32d26c(0x191)](){const _0x49cc43=_0x32d26c;this['disposeWithMe'](this[_0x49cc43(0x4a2)]['editingParams$']['subscribe'](_0x4663ec=>{const _0x5495cd=_0x49cc43;let {scene:_0x45f1e3}=this[_0x5495cd(0x1e8)];if(this[_0x5495cd(0x219)]){let _0x17fb86=_0x45f1e3[_0x5495cd(0x1ef)](this['_lastEditingShapeKey']);_0x17fb86&&_0x17fb86[_0x5495cd(0x4f1)](!0x1);}if(_0x4663ec){let _0xf4b786=!!_0x4663ec[_0x5495cd(0x2a2)],_0x54a89a=_0x45f1e3[_0x5495cd(0x1ef)](_0x4663ec['shapeKey']);_0x54a89a&&(_0x54a89a['setEditing'](_0xf4b786),this[_0x5495cd(0x219)]=_0x4663ec['shapeKey']),this[_0x5495cd(0x331)][_0x5495cd(0x616)](u[_0x5495cd(0x4d8)],_0xf4b786);}else this['_lastEditingShapeKey']=null,this[_0x5495cd(0x331)][_0x5495cd(0x616)](u[_0x5495cd(0x4d8)],!0x1);}));}};Re=W([U(0x1,(0x0,u['Inject'])(R)),U(0x2,m['IDrawingManagerService']),U(0x3,u['IContextService']),U(0x4,(0x0,u['Inject'])(l['DocsShapeService']))],Re);const ze=[f['FLOAT_TEXT_STYLE_MENU_ID'],f['SetInlineFormatFontSizeCommand']['id'],f['SetInlineFormatBoldCommand']['id'],f[_0x32d26c(0x2b0)]['id'],f['SetInlineFormatUnderlineCommand']['id'],f[_0x32d26c(0x51f)]['id'],f[_0x32d26c(0x2c6)]['id'],f[_0x32d26c(0x33b)]['id'],f['SetInlineFormatTextColorCommand']['id'],f[_0x32d26c(0x165)]['id']];function Be(){const _0x687aac=_0x32d26c;let _0x392774=(0x0,g[_0x687aac(0x637)])(g[_0x687aac(0x146)]),[_0x53066a,_0x3074b9]=(0x0,y[_0x687aac(0x337)])([]);return(0x0,y[_0x687aac(0x257)])(()=>{const _0x562859=_0x687aac;function _0x4fd0f5(){const _0x2d0197=_0x4b85;let _0x6a4dbc=[..._0x392774[_0x2d0197(0x52b)](f['FLOAT_TOOLBAR_MENU_POSITION']),..._0x392774[_0x2d0197(0x52b)](g[_0x2d0197(0x27e)][_0x2d0197(0x1f2)])];_0x3074b9(ze[_0x2d0197(0x230)](_0x14b1c3=>_0x6a4dbc[_0x2d0197(0x1b8)](_0x5770b1=>_0x5770b1['key']===_0x14b1c3))[_0x2d0197(0x42a)](_0x31c28a=>!!(_0x31c28a!=null&&_0x31c28a[_0x2d0197(0x21b)])));}_0x4fd0f5();let _0x4b79a3=_0x392774[_0x562859(0x5b1)][_0x562859(0x1ae)](_0x4fd0f5);return()=>_0x4b79a3[_0x562859(0x1da)]();},[_0x392774]),(0x0,x[_0x687aac(0x186)])('div',{'className':(0x0,v[_0x687aac(0x26c)])(_0x687aac(0x227),v[_0x687aac(0x428)]),'children':_0x53066a[_0x687aac(0x230)](_0xdd1865=>_0xdd1865[_0x687aac(0x21b)]&&(0x0,x[_0x687aac(0x186)])(_0x687aac(0x259),{'className':_0x687aac(0x2c8),'children':(0x0,x[_0x687aac(0x186)])(g[_0x687aac(0x1d8)],{..._0xdd1865[_0x687aac(0x21b)]},_0xdd1865[_0x687aac(0x183)])},_0xdd1865[_0x687aac(0x183)]))});}const Ve=_0x32d26c(0x5de);function He(_0x381b10,_0x215427){if(_0x381b10==null||_0x215427==null)return!0x1;let {glyph:_0xfbc7e3,..._0x529798}=_0x381b10,{glyph:_0x3b0133,..._0x4d1330}=_0x215427;return(0x0,u['deepCompare'])(_0x529798,_0x4d1330);}let Ue=class extends u['Disposable']{constructor(_0x14f368,_0x273856,_0x2aee05,_0x46ed72,_0x173635){const _0xf6f36c=_0x32d26c;super(),this[_0xf6f36c(0x1e8)]=_0x14f368,this[_0xf6f36c(0x324)]=_0x273856,this['_docCanvasPopManagerService']=_0x2aee05,this[_0xf6f36c(0x1e9)]=_0x46ed72,this['_docSelectionRenderService']=_0x173635,L(this,'_floatMenu',null),this['_context']['unitId']===P&&(this[_0xf6f36c(0x19b)](this['_componentManager'][_0xf6f36c(0x1a6)](Ve,Be)),this[_0xf6f36c(0x256)](),this['disposeWithMe'](()=>this[_0xf6f36c(0x30a)]()));}[_0x32d26c(0x256)](){const _0x1af773=_0x32d26c;this[_0x1af773(0x19b)](this[_0x1af773(0x560)][_0x1af773(0x1f0)][_0x1af773(0x1ae)](()=>{this['_hideFloatMenu']();})),this[_0x1af773(0x19b)](this[_0x1af773(0x324)]['textSelection$'][_0x1af773(0x1ae)](_0x49dc48=>{const _0x19a143=_0x1af773;var _0x3dad2d,_0x4fd4b4;let {unitId:_0x56f849,textRanges:_0x768a46}=_0x49dc48;if(_0x56f849!==this[_0x19a143(0x1e8)][_0x19a143(0x400)])return;let _0x3e069c=_0x768a46[_0x19a143(0x1b8)](_0x3934b6=>!_0x3934b6['collapsed']);if(!_0x3e069c){this[_0x19a143(0x30a)]();return;}_0x3e069c[_0x19a143(0x2c7)]===((_0x3dad2d=this['_floatMenu'])==null?void 0x0:_0x3dad2d[_0x19a143(0x1f1)])&&_0x3e069c[_0x19a143(0x1de)]===((_0x4fd4b4=this[_0x19a143(0x61f)])==null?void 0x0:_0x4fd4b4[_0x19a143(0x425)])||(this[_0x19a143(0x30a)](),this[_0x19a143(0x434)](_0x56f849,_0x3e069c));}));}[_0x32d26c(0x30a)](){const _0x5b42c5=_0x32d26c;var _0x35d0c7;(_0x35d0c7=this[_0x5b42c5(0x61f)])==null||_0x35d0c7['disposable']['dispose'](),this[_0x5b42c5(0x61f)]=null;}[_0x32d26c(0x434)](_0x57cf3e,_0x78197f){const _0x28321b=_0x32d26c;this[_0x28321b(0x61f)]={'disposable':this[_0x28321b(0x295)]['attachPopupToRange'](_0x78197f,{'componentKey':Ve,'direction':_0x78197f['direction']===_0x28321b(0x2d2)||He(_0x78197f[_0x28321b(0x4d2)],_0x78197f['endNodePosition'])?'top-center':_0x28321b(0x4f2),'offset':[0x0,0x4]},_0x57cf3e),'start':_0x78197f[_0x28321b(0x2c7)],'end':_0x78197f[_0x28321b(0x1de)]};}};Ue=W([U(0x1,(0x0,u[_0x32d26c(0x3f3)])(C[_0x32d26c(0x5d5)])),U(0x2,(0x0,u['Inject'])(f[_0x32d26c(0x244)])),U(0x3,(0x0,u[_0x32d26c(0x3f3)])(g['ComponentManager'])),U(0x4,(0x0,u[_0x32d26c(0x3f3)])(f[_0x32d26c(0x5ed)]))],Ue);function We(_0x1c112e,_0x33beec){return{'top':0x0,'left':0x0,'width':_0x1c112e,'height':_0x33beec,'borderColor':'transparent','outlineColor':'transparent','backgroundColor':'transparent'};}function Ge(_0x1938d7){const _0x23a277=_0x32d26c;var _0x310058,_0x157e53;let _0x2ac416=_0x1938d7==null||(_0x310058=_0x1938d7[_0x23a277(0x401)])==null||(_0x157e53=_0x310058[_0x23a277(0x208)])==null?void 0x0:_0x157e53[_0x23a277(0x32e)](_0x310058);_0x2ac416&&(_0x2ac416[_0x23a277(0x3e4)][_0x23a277(0x145)]=_0x23a277(0x4a7));}function _0x4b85(_0xc4da88,_0x344938){_0xc4da88=_0xc4da88-0x115;const _0x28774b=_0x2877();let _0x4b85ba=_0x28774b[_0xc4da88];return _0x4b85ba;}function Ke(_0x2af534){const _0x120bcb=_0x32d26c;let _0x9928b8=g[_0x120bcb(0x53e)][_0x120bcb(0x4bb)],_0x6d2ad6=g['MetaKeys'][_0x120bcb(0x4bb)]|g[_0x120bcb(0x53e)][_0x120bcb(0x38b)];return{'keyCodes':[{'keyCode':g[_0x120bcb(0x4e0)][_0x120bcb(0x33a)]},{'keyCode':g['KeyCode'][_0x120bcb(0x41b)]},{'keyCode':g['KeyCode'][_0x120bcb(0x366)]},{'keyCode':g['KeyCode']['A'],'metaKey':_0x9928b8},{'keyCode':g['KeyCode']['B'],'metaKey':_0x9928b8},{'keyCode':g[_0x120bcb(0x4e0)]['I'],'metaKey':_0x9928b8},{'keyCode':g[_0x120bcb(0x4e0)]['U'],'metaKey':_0x9928b8},{'keyCode':g[_0x120bcb(0x4e0)]['X'],'metaKey':_0x6d2ad6},{'keyCode':g[_0x120bcb(0x4e0)][_0x120bcb(0x4ed)],'metaKey':_0x9928b8},{'keyCode':g['KeyCode'][_0x120bcb(0x4c8)],'metaKey':_0x9928b8},{'keyCode':g[_0x120bcb(0x4e0)]['L'],'metaKey':_0x6d2ad6},{'keyCode':g[_0x120bcb(0x4e0)]['R'],'metaKey':_0x6d2ad6},{'keyCode':g[_0x120bcb(0x4e0)]['E'],'metaKey':_0x6d2ad6},{'keyCode':g[_0x120bcb(0x4e0)]['J'],'metaKey':_0x6d2ad6},{'keyCode':g[_0x120bcb(0x4e0)][_0x120bcb(0x576)],'metaKey':_0x6d2ad6},{'keyCode':g['KeyCode']['Digit8'],'metaKey':_0x6d2ad6},{'keyCode':g[_0x120bcb(0x4e0)]['Z'],'metaKey':_0x9928b8},{'keyCode':g[_0x120bcb(0x4e0)]['Y'],'metaKey':_0x9928b8},{'keyCode':g['KeyCode']['Z'],'metaKey':_0x6d2ad6}],'handler':(_0x43d402,_0xd1e74f)=>{const _0xbc3f1d=_0x120bcb;switch(_0x43d402+':'+(_0xd1e74f==null?0x0:_0xd1e74f)){case g[_0xbc3f1d(0x4e0)][_0xbc3f1d(0x33a)]+':0':_0x2af534[_0xbc3f1d(0x3a8)](f[_0xbc3f1d(0x180)]['id']);break;case g[_0xbc3f1d(0x4e0)]['BACKSPACE']+':0':_0x2af534[_0xbc3f1d(0x3a8)](f[_0xbc3f1d(0x4cf)]['id']);break;case g[_0xbc3f1d(0x4e0)]['DELETE']+':0':_0x2af534[_0xbc3f1d(0x3a8)](f[_0xbc3f1d(0x2fc)]['id']);break;case g[_0xbc3f1d(0x4e0)]['A']+':'+_0x9928b8:_0x2af534[_0xbc3f1d(0x3a8)](f[_0xbc3f1d(0x4c2)]['id']);break;case g['KeyCode']['B']+':'+_0x9928b8:_0x2af534[_0xbc3f1d(0x3a8)](f[_0xbc3f1d(0x4aa)]['id']);break;case g[_0xbc3f1d(0x4e0)]['I']+':'+_0x9928b8:_0x2af534[_0xbc3f1d(0x3a8)](f['SetInlineFormatItalicCommand']['id']);break;case g['KeyCode']['U']+':'+_0x9928b8:_0x2af534[_0xbc3f1d(0x3a8)](f[_0xbc3f1d(0x466)]['id']);break;case g['KeyCode']['X']+':'+_0x6d2ad6:_0x2af534['executeCommand'](f[_0xbc3f1d(0x51f)]['id']);break;case g[_0xbc3f1d(0x4e0)][_0xbc3f1d(0x4ed)]+':'+_0x9928b8:_0x2af534['executeCommand'](f[_0xbc3f1d(0x2c6)]['id']);break;case g[_0xbc3f1d(0x4e0)]['PERIOD']+':'+_0x9928b8:_0x2af534[_0xbc3f1d(0x3a8)](f[_0xbc3f1d(0x33b)]['id']);break;case g[_0xbc3f1d(0x4e0)]['L']+':'+_0x6d2ad6:_0x2af534[_0xbc3f1d(0x3a8)](f[_0xbc3f1d(0x2e0)]['id']);break;case g[_0xbc3f1d(0x4e0)]['R']+':'+_0x6d2ad6:_0x2af534[_0xbc3f1d(0x3a8)](f[_0xbc3f1d(0x4b5)]['id']);break;case g[_0xbc3f1d(0x4e0)]['E']+':'+_0x6d2ad6:_0x2af534['executeCommand'](f[_0xbc3f1d(0x3e0)]['id']);break;case g[_0xbc3f1d(0x4e0)]['J']+':'+_0x6d2ad6:_0x2af534[_0xbc3f1d(0x3a8)](f['AlignJustifyCommand']['id']);break;case g['KeyCode'][_0xbc3f1d(0x576)]+':'+_0x6d2ad6:_0x2af534['executeCommand'](f[_0xbc3f1d(0x5bd)]['id']);break;case g[_0xbc3f1d(0x4e0)][_0xbc3f1d(0x446)]+':'+_0x6d2ad6:_0x2af534[_0xbc3f1d(0x3a8)](f[_0xbc3f1d(0x3d7)]['id']);break;case g['KeyCode']['Z']+':'+_0x9928b8:_0x2af534[_0xbc3f1d(0x3a8)](u['UndoCommand']['id']);break;case g[_0xbc3f1d(0x4e0)]['Y']+':'+_0x9928b8:case g[_0xbc3f1d(0x4e0)]['Z']+':'+_0x6d2ad6:_0x2af534[_0xbc3f1d(0x3a8)](u['RedoCommand']['id']);break;}}};}const qe=function(_0x1684e3){const _0x165f54=_0x32d26c;let {containerWidth:_0xe4ffa0,containerHeight:_0x50051f,scaleX:_0x4e0e2b,scaleY:_0x1f1dcf}=_0x1684e3,_0x3bd5ae=_0x4e0e2b||0x1,_0x319ad5=_0x1f1dcf||0x1,_0x2d2f37=(0x0,g[_0x165f54(0x637)])(R),_0x563320=(0x0,g[_0x165f54(0x637)])(f['IEditorService']),_0x1e5f2d=(0x0,g[_0x165f54(0x637)])(p[_0x165f54(0x405)]),_0x36422c=(0x0,g[_0x165f54(0x637)])(u[_0x165f54(0x342)]),_0x832d86=(0x0,g['useDependency'])(m[_0x165f54(0x54d)]),_0x5cb1bc=(0x0,g[_0x165f54(0x637)])(l[_0x165f54(0x3c2)]),_0xdb9529=(0x0,g['useDependency'])(u[_0x165f54(0x54b)]),_0xc28c73=(0x0,g[_0x165f54(0x3cc)])(_0x2d2f37[_0x165f54(0x134)]),_0x5c742d=(0x0,g[_0x165f54(0x3cc)])(_0x2d2f37[_0x165f54(0x52f)]),_0x36b71a=(0x0,y[_0x165f54(0x12a)])(null),_0x47514f=(0x0,y[_0x165f54(0x12a)])(null),_0x123aaa=(0x0,y[_0x165f54(0x12a)])(null),_0x49afa6=(0x0,y['useRef'])(null),_0x1633c2=(0x0,y['useRef'])(null),_0x4e3b6f=(0x0,y['useRef'])(null),[,_0xf29451]=(0x0,y[_0x165f54(0x337)])({'editorHeight':_0x50051f,'marginTop':0x0,'useAbsolutePosition':!0x1}),_0x336bdc=(0x0,y[_0x165f54(0x3f7)])(_0x373e7a=>{queueMicrotask(()=>{_0xf29451(_0x373e7a);});},[]),_0x4feed8=(0x0,y[_0x165f54(0x3f7)])(()=>_0x36422c[_0x165f54(0x4bf)](P,u[_0x165f54(0x5ee)]['UNIVER_DOC']),[_0x36422c]),_0x362537=(0x0,y[_0x165f54(0x3f7)])(()=>{const _0x5e94a0=_0x165f54;var _0x578872;let _0x40a569=_0x3bd5ae,_0x5efcf9=_0x319ad5;if(!_0xc28c73)return{'scaleAdjust':0x1,'renderScaleX':_0x40a569,'renderScaleY':_0x5efcf9};let _0x1232e1=_0x1e5f2d['getRenderById'](_0xc28c73['unitId']),_0x152d14=_0x1232e1==null?void 0x0:_0x1232e1[_0x5e94a0(0x5bc)][_0x5e94a0(0x55a)](),_0x5d7da4=_0x1232e1==null?void 0x0:_0x1232e1['engine'][_0x5e94a0(0x208)](),_0x2874d9=_0x5d7da4?Number[_0x5e94a0(0x1fd)](_0x5d7da4['style']['width']||''):0x0,_0x1a4e13=(_0x578872=_0x5d7da4==null?void 0x0:_0x5d7da4[_0x5e94a0(0x130)]()[_0x5e94a0(0x452)])==null?0x0:_0x578872,_0x1bbece=_0x2874d9>0x0&&_0x1a4e13>0x0?_0x1a4e13/_0x2874d9:0x1;return{'scaleAdjust':Number[_0x5e94a0(0x2c9)](_0x1bbece)&&_0x1bbece>0x0?_0x1bbece:0x1,'renderScaleX':(_0x152d14==null?void 0x0:_0x152d14[_0x5e94a0(0x32c)])||_0x40a569,'renderScaleY':(_0x152d14==null?void 0x0:_0x152d14[_0x5e94a0(0x3d4)])||_0x5efcf9};},[_0x3bd5ae,_0x319ad5,_0xc28c73,_0x1e5f2d]),_0x439d7c=(0x0,y[_0x165f54(0x3f7)])(()=>{const _0x44d088=_0x165f54;if(!_0xc28c73)return{'left':0x0,'top':0x0,'width':_0xe4ffa0/_0x3bd5ae,'height':_0x50051f/_0x319ad5};let {unitId:_0x5e83a0,subUnitId:_0x497639,shapeId:_0x22b717}=_0xc28c73,_0x52685c=_0x5cb1bc[_0x44d088(0x1c6)](_0x5e83a0,_0x497639,_0x22b717);if(!_0x52685c)return{'left':0x0,'top':0x0,'width':_0xe4ffa0/_0x3bd5ae,'height':_0x50051f/_0x319ad5};let _0x1ecea6={'left':0x0,'top':0x0,'width':_0xe4ffa0/_0x3bd5ae,'height':_0x50051f/_0x319ad5};return _0x52685c[_0x44d088(0x174)](_0x1ecea6);},[_0xc28c73,_0xe4ffa0,_0x50051f,_0x3bd5ae,_0x319ad5,_0x5cb1bc]),_0x569d77=(0x0,y['useCallback'])(()=>{const _0x5d098a=_0x165f54;if(!_0xc28c73)return null;let {unitId:_0x5c81cc,subUnitId:_0x38934c,shapeId:_0x2b19dd}=_0xc28c73,_0x95638e=_0x5cb1bc[_0x5d098a(0x1c6)](_0x5c81cc,_0x38934c,_0x2b19dd);if(!_0x95638e)return null;let _0xe944a2=_0x95638e[_0x5d098a(0x54c)]();if(!_0xe944a2)return null;let _0x45ba7a={'unitId':_0x5c81cc,'subUnitId':_0x38934c,'drawingId':_0x2b19dd},_0x355615=_0x832d86['getDrawingByParam'](_0x45ba7a),_0x544648={'angle':0x0,'flipX':!0x1,'flipY':!0x1};_0x355615&&_0x355615['transform']&&(_0x544648=_0x355615['transform']);let _0x1ad833={'left':0x0,'top':0x0,'width':_0xe4ffa0/_0x3bd5ae,'height':_0x50051f/_0x319ad5},_0x28ffc2=_0x95638e[_0x5d098a(0x174)](_0x1ad833),_0x3be0b3,_0x3f4f90=u[_0x5d098a(0x1ff)][_0x5d098a(0x346)],_0x2d5889=u[_0x5d098a(0x4bd)][_0x5d098a(0x592)];if(_0x5d098a(0x3f8)in _0xe944a2&&_0xe944a2['dataModel']){var _0x4a1ecf,_0xdbf8f7;let _0x1fa600=_0xe944a2[_0x5d098a(0x3f8)];_0x1fa600!=null&&_0x1fa600['doc']&&(_0x3be0b3=_0x1fa600[_0x5d098a(0x206)]),_0x3f4f90=(_0x4a1ecf=_0x1fa600==null?void 0x0:_0x1fa600['va'])==null?u[_0x5d098a(0x1ff)]['TOP']:_0x4a1ecf,_0x2d5889=(_0xdbf8f7=_0x1fa600==null?void 0x0:_0x1fa600['ha'])==null?u[_0x5d098a(0x4bd)][_0x5d098a(0x592)]:_0xdbf8f7;}return{'doc':_0x3be0b3,'verticalAlign':_0x3f4f90,'horizontalAlign':_0x2d5889,'textRect':_0x28ffc2,'transform':_0x544648,'isHorizontal':_0xe944a2[_0x5d098a(0x46d)]};},[_0xc28c73,_0x5cb1bc,_0x832d86,_0xe4ffa0,_0x50051f,_0x3bd5ae,_0x319ad5]),_0x5e72d1=(0x0,y[_0x165f54(0x5ae)])(()=>{const _0x3b8bc9=_0x165f54;let _0x379ec4=_0x569d77();return _0x379ec4!=null&&_0x379ec4[_0x3b8bc9(0x206)]?V(_0x379ec4[_0x3b8bc9(0x206)],{'isHorizontal':!0x0,'textRect':_0x379ec4[_0x3b8bc9(0x43f)],'verticalAlign':_0x379ec4[_0x3b8bc9(0x279)],'horizontalAlign':_0x379ec4[_0x3b8bc9(0x4f6)]}):{'id':P,'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0}]},'documentStyle':{'pageSize':{'width':_0xe4ffa0/_0x3bd5ae,'height':0x1/0x0}}};},[_0x569d77,_0xe4ffa0,_0x3bd5ae]),_0x5a2c50=(0x0,f[_0x165f54(0x1f7)])({'editorId':P,'initialValue':_0x5e72d1,'container':_0x47514f,'autoFocus':!0x1,'canvasStyle':{'backgroundColor':_0x165f54(0x4a7)},'isSingle':!0x1});(0x0,y[_0x165f54(0x257)])(()=>{_0x5a2c50&&Ge(_0x1e5f2d['getRenderById'](P));},[_0x5a2c50,_0x1e5f2d]);let _0x4716c6=(0x0,f[_0x165f54(0x407)])(P);(0x0,f['useKeyboardEvent'])(_0x4716c6,(0x0,y['useMemo'])(()=>Ke(_0xdb9529),[_0xdb9529]),_0x5a2c50),(0x0,f[_0x165f54(0x228)])(_0x4716c6,!0x1,_0x5a2c50);let _0xcbffc0=(0x0,y[_0x165f54(0x3f7)])((_0x502727=!0x0)=>{const _0x409951=_0x165f54;var _0x1689ff,_0x4afe77,_0x37c218;if(!_0x5a2c50)return;let _0x527f01=_0x5a2c50[_0x409951(0x5d0)]()[_0x409951(0x1b8)](_0x253646=>_0x253646[_0x409951(0x449)]),_0x3a3dad=((_0x1689ff=(_0x4afe77=_0x5a2c50[_0x409951(0x365)]()[_0x409951(0x344)])==null?void 0x0:_0x4afe77['dataStream'][_0x409951(0x296)])==null?0x2:_0x1689ff)-0x2,_0x21c953=(_0x37c218=_0x527f01==null?void 0x0:_0x527f01[_0x409951(0x2c7)])==null?_0x502727?_0x3a3dad:null:_0x37c218;_0x21c953!==null&&_0x5a2c50[_0x409951(0x46e)]([{'startOffset':_0x21c953,'endOffset':_0x21c953}],!0x1);},[_0x5a2c50]),_0x44b9bb=(0x0,y[_0x165f54(0x3f7)])(()=>{const _0xd288d9=_0x165f54;_0x1633c2[_0xd288d9(0x62a)]!==null&&(cancelAnimationFrame(_0x1633c2[_0xd288d9(0x62a)]),_0x1633c2['current']=null),_0x4e3b6f['current']!==null&&(window['clearTimeout'](_0x4e3b6f['current']),_0x4e3b6f[_0xd288d9(0x62a)]=null);},[]),_0x46c61d=(0x0,y[_0x165f54(0x3f7)])(()=>{const _0x67768a=_0x165f54;var _0x5558b5,_0x1cec2c,_0xe71023;if(!_0x5a2c50)return;let _0x12b26e=_0x1e5f2d['getRenderById'](P),_0x44e02b=_0x12b26e==null?void 0x0:_0x12b26e[_0x67768a(0x1bd)](C[_0x67768a(0x59b)]);if(!_0x44e02b)return;let _0x12fb3d=_0x44e02b[_0x67768a(0x17c)](),_0x10c445=_0x4feed8(),{renderScaleX:_0x241d33,renderScaleY:_0x104212,scaleAdjust:_0x5568fc}=_0x362537(),_0x28f543=_0x569d77(),_0xf34a9b=(_0x5558b5=_0x28f543==null?void 0x0:_0x28f543[_0x67768a(0x279)])==null?u['VerticalAlign'][_0x67768a(0x346)]:_0x5558b5,_0x2011df=(_0x1cec2c=_0x28f543==null?void 0x0:_0x28f543[_0x67768a(0x4f6)])==null?u[_0x67768a(0x4bd)][_0x67768a(0x592)]:_0x1cec2c,_0x54adab=(_0xe71023=_0x439d7c())==null?{'left':0x0,'top':0x0,'width':_0xe4ffa0/_0x3bd5ae,'height':_0x50051f/_0x319ad5}:_0xe71023,_0x291f1e=_0xe4ffa0/_0x3bd5ae,_0x4c4c90=_0x50051f/_0x319ad5;_0x10c445&&(_0x10c445[_0x67768a(0x126)](Math[_0x67768a(0x129)](_0x241d33,_0x104212)),_0x10c445[_0x67768a(0x5c7)]({'marginLeft':0x0,'marginRight':0x0,'marginBottom':0x0,'pageSize':{'width':_0x54adab[_0x67768a(0x452)],'height':0x1/0x0}}),_0x10c445[_0x67768a(0x21d)]({'verticalAlign':_0xf34a9b,'horizontalAlign':_0x2011df,'centerAngle':0x0,'vertexAngle':0x0,'wrapStrategy':u[_0x67768a(0x166)][_0x67768a(0x1ab)]})),_0x12fb3d[_0x67768a(0x5f7)]();let {actualHeight:_0x372e4}=_0x12fb3d[_0x67768a(0x5c6)](),_0x5cae7e=_0x54adab[_0x67768a(0x1cd)],_0x1dbe12=0x0;if(_0x372e4<=_0x5cae7e)_0xf34a9b===u[_0x67768a(0x1ff)][_0x67768a(0x59e)]?_0x1dbe12=(_0x5cae7e-_0x372e4)/0x2:_0xf34a9b===u['VerticalAlign'][_0x67768a(0x160)]&&(_0x1dbe12=_0x5cae7e-_0x372e4),_0x336bdc({'editorHeight':_0x54adab[_0x67768a(0x1cd)]*_0x319ad5,'marginTop':0x0,'useAbsolutePosition':!0x1});else{let _0x3b750b=0x0;_0xf34a9b===u[_0x67768a(0x1ff)]['MIDDLE']?_0x3b750b=(_0x5cae7e-_0x372e4)/0x2:_0xf34a9b===u[_0x67768a(0x1ff)][_0x67768a(0x160)]&&(_0x3b750b=_0x5cae7e-_0x372e4),_0x1dbe12=0x0,_0x336bdc({'editorHeight':_0x372e4*_0x319ad5,'marginTop':_0x3b750b*_0x319ad5,'useAbsolutePosition':!0x0});}if(_0x10c445){let _0x35af01=Math[_0x67768a(0x129)](0x0,_0x54adab['left']),_0x397293=Math['max'](0x0,_0x54adab[_0x67768a(0x22c)]+_0x1dbe12);_0x10c445[_0x67768a(0x5c7)]({'marginLeft':_0x35af01,'marginRight':Math[_0x67768a(0x129)](0x0,_0x291f1e-_0x54adab['left']-_0x54adab[_0x67768a(0x452)]),'marginBottom':Math['max'](0x0,_0x4c4c90-_0x54adab['top']-_0x54adab[_0x67768a(0x1cd)]),'pageSize':{'width':_0x291f1e,'height':_0x4c4c90}}),_0x10c445[_0x67768a(0x440)]({'t':_0x397293}),_0x12fb3d[_0x67768a(0x5f7)]();}if(_0x12b26e){let _0x23af58=_0xe4ffa0,_0x27996c=_0x50051f;_0x12b26e[_0x67768a(0x5bc)][_0x67768a(0x545)]({'width':_0x23af58*_0x5568fc/_0x241d33,'height':_0x27996c*_0x5568fc/_0x104212,'scaleX':_0x241d33*_0x5568fc,'scaleY':_0x104212*_0x5568fc}),_0x12b26e[_0x67768a(0x262)]&&_0x12b26e[_0x67768a(0x262)][_0x67768a(0x454)](_0x23af58*_0x5568fc/_0x241d33,_0x27996c*_0x5568fc/_0x104212);}},[_0x5a2c50,_0x1e5f2d,_0x4feed8,_0x362537,_0x569d77,_0x439d7c,_0xe4ffa0,_0x50051f,_0x3bd5ae,_0x319ad5,_0x336bdc]),_0x182130=(0x0,y[_0x165f54(0x3f7)])((_0x49de30=!0x1)=>{const _0x141870=_0x165f54;_0x44b9bb(),_0x1633c2[_0x141870(0x62a)]=requestAnimationFrame(()=>{const _0x136de4=_0x141870;_0x46c61d(),_0x49de30&&_0xcbffc0(!0x1),_0x1633c2[_0x136de4(0x62a)]=null,_0x4e3b6f[_0x136de4(0x62a)]=window[_0x136de4(0x5ff)](()=>{_0x46c61d(),_0x49de30&&_0xcbffc0(!0x1),_0x4e3b6f['current']=null;},0x14);});},[_0x46c61d,_0x44b9bb,_0xcbffc0]);(0x0,y[_0x165f54(0x257)])(()=>{const _0x420483=_0x165f54;if(!_0x5a2c50||!_0xc28c73)return;let {shapeId:_0x30b6db,unitId:_0x96b076}=_0xc28c73;if(_0x5c742d){var _0x52a92b,_0x179be1,_0x1fb300,_0xae30b8;let _0x277ee4=te(_0x5a2c50[_0x420483(0x365)]()),_0x57a4ff=_0x569d77(),_0x494bd8={'va':(_0x52a92b=_0x57a4ff==null?void 0x0:_0x57a4ff['verticalAlign'])==null?u[_0x420483(0x1ff)][_0x420483(0x346)]:_0x52a92b,'ha':(_0x179be1=_0x57a4ff==null?void 0x0:_0x57a4ff[_0x420483(0x4f6)])==null?u['HorizontalAlign'][_0x420483(0x592)]:_0x179be1,'doc':_0x277ee4};_0xdb9529[_0x420483(0x3a8)](l[_0x420483(0x459)]['id'],{'unitId':_0x96b076,'shapeId':_0x30b6db,'shapeData':{'shapeText':{'isHorizontal':(_0x1fb300=_0x57a4ff==null?void 0x0:_0x57a4ff['isHorizontal'])==null?!0x0:_0x1fb300,'dataModel':_0x494bd8}},'oldShapeJSON':{'oldShapeData':{'shapeText':{'isHorizontal':(_0xae30b8=_0x57a4ff==null?void 0x0:_0x57a4ff[_0x420483(0x46d)])==null?!0x0:_0xae30b8,'dataModel':_0x123aaa[_0x420483(0x62a)]}}}});return;}let _0x5c7862=_0x569d77();if(_0x5c7862!=null&&_0x5c7862[_0x420483(0x206)]){_0x123aaa['current']={'va':_0x5c7862['verticalAlign'],'ha':_0x5c7862[_0x420483(0x4f6)],'doc':u[_0x420483(0x582)][_0x420483(0x4dc)](_0x5c7862['doc'])};let _0x3b89bc=V(_0x5c7862[_0x420483(0x206)],{'isHorizontal':!0x0,'textRect':_0x5c7862[_0x420483(0x43f)],'verticalAlign':_0x5c7862[_0x420483(0x279)],'horizontalAlign':_0x5c7862[_0x420483(0x4f6)]});return _0x5a2c50[_0x420483(0x5e5)](_0x3b89bc,null),()=>{const _0x5951de=_0x420483;var _0x68f07,_0x2b7b7d,_0x374aeb,_0x12240d;let _0x4a889c=te(_0x5a2c50[_0x5951de(0x365)]()),_0x2cf1f4=_0x569d77(),_0x2c3ac0={'va':(_0x68f07=_0x2cf1f4==null?void 0x0:_0x2cf1f4[_0x5951de(0x279)])==null?u['VerticalAlign'][_0x5951de(0x346)]:_0x68f07,'ha':(_0x2b7b7d=_0x2cf1f4==null?void 0x0:_0x2cf1f4[_0x5951de(0x4f6)])==null?u[_0x5951de(0x4bd)][_0x5951de(0x592)]:_0x2b7b7d,'doc':_0x4a889c};_0xdb9529[_0x5951de(0x3a8)](l[_0x5951de(0x459)]['id'],{'unitId':_0x96b076,'shapeId':_0x30b6db,'shapeData':{'shapeText':{'isHorizontal':(_0x374aeb=_0x2cf1f4==null?void 0x0:_0x2cf1f4[_0x5951de(0x46d)])==null?!0x0:_0x374aeb,'dataModel':_0x2c3ac0}},'oldShapeJSON':{'oldShapeData':{'shapeText':{'isHorizontal':(_0x12240d=_0x2cf1f4==null?void 0x0:_0x2cf1f4[_0x5951de(0x46d)])==null?!0x0:_0x12240d,'dataModel':_0x123aaa[_0x5951de(0x62a)]}}}});};}else _0x5a2c50['setDocumentData'](_0x5e72d1,null);},[_0x5a2c50,_0xc28c73,_0x5c742d]),(0x0,y[_0x165f54(0x257)])(()=>{const _0x20e19a=_0x165f54;if(!(!_0x5a2c50||!_0xc28c73))return _0x563320['blur'](!0x0),_0x46c61d(),_0x49afa6[_0x20e19a(0x62a)]=requestAnimationFrame(()=>{const _0x10c467=_0x20e19a;_0x563320[_0x10c467(0x498)](P),_0xcbffc0(),_0x182130(),_0x49afa6[_0x10c467(0x62a)]=null;}),()=>{const _0x5b1b53=_0x20e19a;_0x49afa6[_0x5b1b53(0x62a)]!==null&&(cancelAnimationFrame(_0x49afa6[_0x5b1b53(0x62a)]),_0x49afa6[_0x5b1b53(0x62a)]=null),_0x44b9bb(),_0x563320[_0x5b1b53(0x2fa)](!0x0);};},[_0x5a2c50,_0xc28c73,_0x563320,_0x46c61d,_0xcbffc0,_0x182130,_0x44b9bb]),(0x0,y[_0x165f54(0x257)])(()=>{const _0x2b511a=_0x165f54;if(!_0x5a2c50)return;let _0x35121b=_0xdb9529[_0x2b511a(0x15f)](_0x142649=>{const _0x4b9546=_0x2b511a;_0x142649['id']===C[_0x4b9546(0x1e0)]['id']&&_0x142649['params']['unitId']===P&&_0xc28c73&&(_0xc28c73['visible']?_0x46c61d():_0x2d2f37[_0x4b9546(0x4f1)]({..._0xc28c73,'visible':!0x0}));});return()=>{const _0x2a373c=_0x2b511a;_0x35121b[_0x2a373c(0x310)]();};},[_0x5a2c50,_0x46c61d,_0xc28c73,_0x182130,_0x2d2f37]),(0x0,y[_0x165f54(0x257)])(()=>(_0x46c61d(),_0x182130(),()=>{_0x44b9bb();}),[_0x46c61d,_0x182130,_0x44b9bb]);let _0x24e061=(0x0,y[_0x165f54(0x5ae)])(()=>We(_0xe4ffa0,_0x50051f),[_0xe4ffa0,_0x50051f]),_0x336b13=(0x0,y['useMemo'])(()=>{const _0x216b4c=_0x165f54;let _0x5e4bad=_0x569d77(),_0xe55ae2=_0x5e4bad==null?void 0x0:_0x5e4bad[_0x216b4c(0x245)];return _0xe55ae2&&_0xe55ae2||{'angle':0x0,'flipX':!0x1,'flipY':!0x1};},[_0x569d77]);return(0x0,x[_0x165f54(0x186)])(_0x165f54(0x259),{'ref':_0x36b71a,'data-u-comp':_0x165f54(0x22d),'className':_0x165f54(0x332),'style':{'transform':_0x165f54(0x26b)+_0x336b13[_0x165f54(0x41a)]+_0x165f54(0x543)+(_0x336b13[_0x165f54(0x3ac)]?-0x1:0x1)+')'},'children':(0x0,x['jsx'])('div',{'ref':_0x47514f,'className':_0x165f54(0x5fa),'data-u-comp':_0x165f54(0x565),'style':_0x24e061,'data-editorid':P})});},Je={'left':-0x270f,'top':-0x270f,'width':0x64,'height':0x64,'angle':0x0,'scaleX':0x1,'scaleY':0x1};function Ye(_0x5d6ea2,_0x5cb2e9,_0x346169,_0x1aa0e1,_0x4830ba,_0x18db62){const _0x4506f3=_0x32d26c;var _0x1286eb,_0x9b3355;let {scaleX:_0x2c8399,scaleY:_0x444d6c}=_0x18db62[_0x4506f3(0x55a)](),_0x7a258a=_0x18db62['getViewport'](f[_0x4506f3(0x3b1)][_0x4506f3(0x636)]),_0x1e2b6c=(_0x1286eb=_0x7a258a==null?void 0x0:_0x7a258a[_0x4506f3(0x5fd)])==null?0x0:_0x1286eb,_0x529019=(_0x9b3355=_0x7a258a==null?void 0x0:_0x7a258a[_0x4506f3(0x32a)])==null?0x0:_0x9b3355;return{'left':(_0x5d6ea2-_0x1e2b6c)*_0x2c8399,'top':(_0x5cb2e9-_0x529019)*_0x444d6c,'width':_0x346169*_0x2c8399,'height':_0x1aa0e1*_0x444d6c,'angle':_0x4830ba,'scaleX':_0x2c8399,'scaleY':_0x444d6c};}function Xe(_0x2d7a4d){const _0x479112=_0x32d26c;let {editingParams:_0x586e30,scene:_0x2aa285,getShapeTransform:_0x1ca24b}=_0x2d7a4d,[_0x45723d,_0x285dce]=(0x0,y[_0x479112(0x337)])(Je),_0x37de82=(0x0,y['useRef'])(_0x45723d);_0x37de82[_0x479112(0x62a)]=_0x45723d;let _0x2b240a=(0x0,y[_0x479112(0x3f7)])(()=>{const _0x5a16bc=_0x479112;if(!_0x586e30||!_0x2aa285){_0x37de82[_0x5a16bc(0x62a)]!==Je&&_0x285dce(Je);return;}let _0x286373=_0x1ca24b();if(!_0x286373){_0x37de82[_0x5a16bc(0x62a)]!==Je&&_0x285dce(Je);return;}let {left:_0x514acc,top:_0x52f9e3,width:_0x4714ac,height:_0x162f9d,angle:_0x367aff}=_0x286373,{scaleX:_0x4f0ad3,scaleY:_0x5bee76}=_0x2aa285[_0x5a16bc(0x55a)]();if(!_0x586e30[_0x5a16bc(0x2a2)]){_0x285dce({'left':-0x270f,'top':-0x270f,'width':_0x4714ac*_0x4f0ad3,'height':_0x162f9d*_0x5bee76,'angle':0x0,'scaleX':_0x4f0ad3,'scaleY':_0x5bee76});return;}_0x285dce(Ye(_0x514acc,_0x52f9e3,_0x4714ac,_0x162f9d,_0x367aff,_0x2aa285));},[_0x586e30,_0x2aa285,_0x1ca24b]);return(0x0,y[_0x479112(0x257)])(()=>{_0x2b240a();},[_0x586e30,_0x2b240a]),{'position':_0x45723d,'updatePosition':_0x2b240a};}const Ze=(0x0,y['memo'])(_0xfc4b6b=>{const _0x2781c9=_0x32d26c;let {children:_0x229772,onPositionUpdate:_0x127864}=_0xfc4b6b,_0x34f419=(0x0,y[_0x2781c9(0x12a)])(null),_0xa85b9e=(0x0,g['useDependency'])(R),_0x423e2a=(0x0,g[_0x2781c9(0x637)])(p[_0x2781c9(0x405)]),_0x321bc9=(0x0,g[_0x2781c9(0x3cc)])(_0xa85b9e[_0x2781c9(0x134)]),_0x51f7b7=(0x0,y[_0x2781c9(0x5ae)])(()=>_0x321bc9?_0x423e2a[_0x2781c9(0x15e)](_0x321bc9[_0x2781c9(0x400)]):null,[_0x321bc9,_0x423e2a]),_0xa37b93=(0x0,y['useMemo'])(()=>{const _0x437097=_0x2781c9;var _0x444b1e;return(_0x444b1e=_0x51f7b7==null?void 0x0:_0x51f7b7[_0x437097(0x5bc)])==null?null:_0x444b1e;},[_0x51f7b7]),{position:_0x1cb3c6,updatePosition:_0x30acc6}=Xe({'editingParams':_0x321bc9,'scene':_0xa37b93,'getShapeTransform':(0x0,y[_0x2781c9(0x3f7)])(()=>{const _0x18b22e=_0x2781c9;if(!_0x321bc9||!_0xa37b93)return null;let _0x5254f1=_0x321bc9[_0x18b22e(0x56c)],_0x102f17=_0xa37b93[_0x18b22e(0x3e1)](_0x5254f1);return _0x102f17 instanceof H?{'left':_0x102f17[_0x18b22e(0x334)],'top':_0x102f17[_0x18b22e(0x22c)],'width':_0x102f17[_0x18b22e(0x452)],'height':_0x102f17['height'],'angle':_0x102f17[_0x18b22e(0x41a)]}:null;},[_0x321bc9,_0xa37b93])}),_0x4ccf6c=(0x0,y[_0x2781c9(0x3f7)])(()=>{const _0x454218=_0x2781c9;let _0x3e39ba=_0x34f419[_0x454218(0x62a)];_0x3e39ba&&(_0x3e39ba[_0x454218(0x3e4)][_0x454218(0x334)]=_0x1cb3c6[_0x454218(0x334)]+'px',_0x3e39ba[_0x454218(0x3e4)][_0x454218(0x22c)]=_0x1cb3c6[_0x454218(0x22c)]+'px',_0x3e39ba[_0x454218(0x3e4)]['width']=_0x1cb3c6['width']+'px',_0x3e39ba[_0x454218(0x3e4)][_0x454218(0x1cd)]=_0x1cb3c6[_0x454218(0x1cd)]+'px');},[_0x1cb3c6]);return(0x0,y[_0x2781c9(0x257)])(()=>{const _0x25400e=_0x2781c9;_0x4ccf6c(),_0x127864==null||_0x127864({'width':_0x1cb3c6['width'],'height':_0x1cb3c6[_0x25400e(0x1cd)],'scaleX':_0x1cb3c6[_0x25400e(0x32c)],'scaleY':_0x1cb3c6[_0x25400e(0x3d4)]});},[_0x1cb3c6,_0x4ccf6c,_0x127864]),(0x0,y['useEffect'])(()=>{const _0x433286=_0x2781c9;if(!_0xa37b93)return;let _0x11be69=_0xa37b93['getViewport'](f[_0x433286(0x3b1)][_0x433286(0x636)]);if(!_0x11be69)return;let _0x32c5e4=_0x11be69[_0x433286(0x303)][_0x433286(0x123)](()=>{_0x30acc6();});return()=>{const _0x11ccfc=_0x433286;_0x32c5e4[_0x11ccfc(0x1da)]();};},[_0xa37b93,_0x30acc6]),(0x0,y[_0x2781c9(0x257)])(()=>{const _0x6b65c8=_0x2781c9;if(!_0x321bc9||!_0xa37b93)return;let _0x57fe7b=_0x321bc9['shapeKey'],_0x43048d=_0xa37b93[_0x6b65c8(0x3e1)](_0x57fe7b);if(_0x43048d instanceof H){let _0x452d70=_0x43048d[_0x6b65c8(0x3e6)]['subscribeEvent'](()=>{_0x30acc6();});return()=>{const _0x7fa50e=_0x6b65c8;_0x452d70[_0x7fa50e(0x1da)]();};}},[_0x321bc9,_0xa37b93,_0x30acc6]),(0x0,x['jsx'])(_0x2781c9(0x259),{'ref':_0x34f419,'data-u-comp':_0x2781c9(0x5a1),'className':'univer-absolute\x20univer-z-[100]\x20univer-overflow-visible','style':(0x0,y[_0x2781c9(0x5ae)])(()=>({'left':_0x1cb3c6[_0x2781c9(0x334)],'top':_0x1cb3c6[_0x2781c9(0x22c)],'width':_0x1cb3c6['width'],'height':_0x1cb3c6['height'],'pointerEvents':_0x321bc9!=null&&_0x321bc9[_0x2781c9(0x2a2)]?'auto':'none'}),[_0x1cb3c6,_0x321bc9==null?void 0x0:_0x321bc9['visible']]),'children':_0x229772});}),Qe=(0x0,y['memo'])(()=>{const _0x5e0fb2=_0x32d26c;let _0x164911=(0x0,g[_0x5e0fb2(0x3cc)])((0x0,g[_0x5e0fb2(0x637)])(R)[_0x5e0fb2(0x134)]),[_0x308a1a,_0x25cf96]=(0x0,y[_0x5e0fb2(0x337)])({'width':0x64,'height':0x64,'scaleX':0x1,'scaleY':0x1}),_0x2d5290=(0x0,y[_0x5e0fb2(0x3f7)])(_0x57c56c=>{const _0x250c7f=_0x5e0fb2;_0x25cf96({'width':_0x57c56c[_0x250c7f(0x452)],'height':_0x57c56c[_0x250c7f(0x1cd)],'scaleX':_0x57c56c[_0x250c7f(0x32c)],'scaleY':_0x57c56c[_0x250c7f(0x3d4)]});},[]);return _0x164911!=null&&_0x164911[_0x5e0fb2(0x2a2)]?(0x0,x['jsx'])(Ze,{'onPositionUpdate':_0x2d5290,'children':(0x0,x[_0x5e0fb2(0x186)])(qe,{'containerWidth':_0x308a1a[_0x5e0fb2(0x452)],'containerHeight':_0x308a1a[_0x5e0fb2(0x1cd)],'scaleX':_0x308a1a['scaleX'],'scaleY':_0x308a1a[_0x5e0fb2(0x3d4)]})}):null;});let $e=class extends u['Plugin']{constructor(_0x43f3c8=Ne,_0x2e9b69,_0x147a44,_0x64bf6f,_0x3c9dfe){const _0x4040ba=_0x32d26c;super(),this['_config']=_0x43f3c8,this[_0x4040ba(0x615)]=_0x2e9b69,this[_0x4040ba(0x53c)]=_0x147a44,this['_configService']=_0x64bf6f,this[_0x4040ba(0x5e7)]=_0x3c9dfe;let {menu:_0x55b5f1,..._0x4dde86}=(0x0,u[_0x4040ba(0x48d)])({},Ne,this[_0x4040ba(0x2c5)]);_0x55b5f1&&this[_0x4040ba(0x143)][_0x4040ba(0x441)]('menu',_0x55b5f1,{'merge':!0x0}),this[_0x4040ba(0x143)][_0x4040ba(0x441)](_0x4040ba(0x3a9),_0x4dde86),this[_0x4040ba(0x2ce)]();}[_0x32d26c(0x385)](){const _0x567ef7=_0x32d26c;(0x0,u[_0x567ef7(0x190)])(this[_0x567ef7(0x615)],[[Ae],[K],[G],[Fe],[ye],[R]]),this[_0x567ef7(0x628)]();}[_0x32d26c(0x17a)](){const _0x194a10=_0x32d26c;this[_0x194a10(0x5e7)][_0x194a10(0x4be)](u[_0x194a10(0x5ee)][_0x194a10(0x11f)],[Fe]),this[_0x194a10(0x5e7)][_0x194a10(0x4be)](u[_0x194a10(0x5ee)][_0x194a10(0x11f)],[Re]),this[_0x194a10(0x5e7)][_0x194a10(0x4be)](u[_0x194a10(0x5ee)][_0x194a10(0x11f)],[Ue]),(0x0,u[_0x194a10(0x634)])(this[_0x194a10(0x615)],[[Ae],[K],[G],[ye],[R]]);}[_0x32d26c(0x2ce)](){const _0x5e8426=_0x32d26c;[A,j,M]['forEach'](_0x1b4498=>this[_0x5e8426(0x19b)](this[_0x5e8426(0x53c)][_0x5e8426(0x121)](_0x1b4498)));}[_0x32d26c(0x628)](){const _0x153f6e=_0x32d26c;let _0x1816bb=this[_0x153f6e(0x615)],_0x271a0d=_0x1816bb[_0x153f6e(0x30d)](g[_0x153f6e(0x140)]),_0x23ea47=_0x1816bb[_0x153f6e(0x30d)](g[_0x153f6e(0x57a)]);this[_0x153f6e(0x19b)](_0x271a0d[_0x153f6e(0x1a6)](_0x153f6e(0x528),Qe)),this[_0x153f6e(0x19b)](_0x23ea47[_0x153f6e(0x3e5)](g[_0x153f6e(0x236)][_0x153f6e(0x2c2)],()=>(0x0,g[_0x153f6e(0x2d6)])(Qe,_0x1816bb)));}};L($e,_0x32d26c(0x280),u[_0x32d26c(0x5ee)][_0x32d26c(0x11f)]),L($e,'pluginName',_0x32d26c(0x51e)),L($e,_0x32d26c(0x207),je),L($e,_0x32d26c(0x432),Me),$e=W([(0x0,u[_0x32d26c(0x221)])(S[_0x32d26c(0x3c5)],d['UniverDocsDrawingUIPlugin'],l[_0x32d26c(0x549)]),U(0x1,(0x0,u['Inject'])(u[_0x32d26c(0x154)])),U(0x2,u[_0x32d26c(0x54b)]),U(0x3,u[_0x32d26c(0x415)]),U(0x4,p[_0x32d26c(0x405)])],$e),exports[_0x32d26c(0x561)]=j,Object[_0x32d26c(0x1a9)](exports,_0x32d26c(0x599),{'enumerable':!0x0,'get':function(){return Ae;}}),exports[_0x32d26c(0x3f4)]=A,exports['OpenDocShapeFormatPanelOperation']=M,Object[_0x32d26c(0x1a9)](exports,_0x32d26c(0x484),{'enumerable':!0x0,'get':function(){return $e;}});