@univerjs-pro/docs-shape-ui 0.24.0-insiders.20260530-98808ab → 0.25.0

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
- const _0x5c9dd2=_0x44d3;(function(_0xba9508,_0x2243ea){const _0x4856c5=_0x44d3,_0x53948b=_0xba9508();while(!![]){try{const _0xbd2a28=-parseInt(_0x4856c5(0x1d1))/0x1*(parseInt(_0x4856c5(0x2b7))/0x2)+-parseInt(_0x4856c5(0x3ea))/0x3+-parseInt(_0x4856c5(0x437))/0x4+parseInt(_0x4856c5(0x5a5))/0x5*(-parseInt(_0x4856c5(0x1cb))/0x6)+parseInt(_0x4856c5(0x5fb))/0x7*(parseInt(_0x4856c5(0x381))/0x8)+parseInt(_0x4856c5(0x241))/0x9+-parseInt(_0x4856c5(0x62a))/0xa*(-parseInt(_0x4856c5(0x305))/0xb);if(_0xbd2a28===_0x2243ea)break;else _0x53948b['push'](_0x53948b['shift']());}catch(_0x46a0e8){_0x53948b['push'](_0x53948b['shift']());}}}(_0x2e39,0xe1e2f),Object[_0x5c9dd2(0x2b4)](exports,Symbol[_0x5c9dd2(0x176)],{'value':_0x5c9dd2(0x3fb)}));var e=Object[_0x5c9dd2(0x2fc)],t=Object[_0x5c9dd2(0x2b4)],n=Object[_0x5c9dd2(0x2ed)],r=Object['getOwnPropertyNames'],i=Object[_0x5c9dd2(0x11d)],a=Object['prototype']['hasOwnProperty'],o=(_0x5ba716,_0x2a7550,_0x483349,_0x1443d)=>{const _0x7d9ddb=_0x5c9dd2;if(_0x2a7550&&typeof _0x2a7550=='object'||typeof _0x2a7550==_0x7d9ddb(0x515)){for(var _0x4e6c1b=r(_0x2a7550),_0x220b0b=0x0,_0x4d991b=_0x4e6c1b[_0x7d9ddb(0x209)],_0x27918f;_0x220b0b<_0x4d991b;_0x220b0b++)_0x27918f=_0x4e6c1b[_0x220b0b],!a['call'](_0x5ba716,_0x27918f)&&_0x27918f!==_0x483349&&t(_0x5ba716,_0x27918f,{'get':(_0x3da1fb=>_0x2a7550[_0x3da1fb])[_0x7d9ddb(0x4cb)](null,_0x27918f),'enumerable':!(_0x1443d=n(_0x2a7550,_0x27918f))||_0x1443d['enumerable']});}return _0x5ba716;},s=(_0x453196,_0x3910cd,_0x117d7f)=>(_0x117d7f=_0x453196==null?{}:e(i(_0x453196)),o(_0x3910cd||!_0x453196||!_0x453196[_0x5c9dd2(0x427)]?t(_0x117d7f,_0x5c9dd2(0x62d),{'value':_0x453196,'enumerable':!0x0}):_0x117d7f,_0x453196));let c=require('@univerjs-pro/engine-shape'),l=require('@univerjs-pro/docs-shape'),u=require('@univerjs/core'),d=require('@univerjs/docs-drawing-ui'),f=require('@univerjs/docs-ui'),p=require('@univerjs/engine-render'),m=require('@univerjs/drawing'),h=require('@univerjs/icons'),g=require('@univerjs/ui'),_=require('rxjs'),v=require('@univerjs/design'),y=require('react');y=s(y);let b=require('@univerjs/drawing-ui'),x=require('react/jsx-runtime'),S=require('@univerjs-pro/license'),C=require('@univerjs/docs');const w='#3B82F6',T=_0x5c9dd2(0x2f3);function E(_0xbd4441,_0x53c00b){const _0x26e8c7=_0x5c9dd2;if(_0x53c00b){if((0x0,c[_0x26e8c7(0x4bd)])(_0xbd4441)&&(_0x53c00b[_0x26e8c7(0x5be)]||_0x53c00b[_0x26e8c7(0x484)]))return{'ln':{'startArrow':_0x53c00b[_0x26e8c7(0x5be)]?{'type':c[_0x26e8c7(0x5fd)][_0x26e8c7(0x5b1)],'size':c[_0x26e8c7(0x26c)][_0x26e8c7(0x595)]}:void 0x0,'endArrow':_0x53c00b[_0x26e8c7(0x484)]?{'type':c[_0x26e8c7(0x5fd)][_0x26e8c7(0x5b1)],'size':c['ShapeArrowSizeEnum']['Large']}:void 0x0}};if(_0xbd4441===c[_0x26e8c7(0x140)]['Rect']&&(_0x53c00b[_0x26e8c7(0x34a)]||_0x53c00b['vertical']))return{'fill':{'fillType':c['ShapeFillEnum'][_0x26e8c7(0x2a8)],'color':w},'stroke':{'lineStrokeType':c[_0x26e8c7(0x583)][_0x26e8c7(0x29d)],'width':0x1,'color':T},'shapeText':{'isHorizontal':!!_0x53c00b[_0x26e8c7(0x34a)]}};}}function D(_0x23e5a7,_0x1ac8df){const _0x552d73=_0x5c9dd2;var _0x3a1528;let _0x1b69eb=_0x23e5a7[_0x552d73(0x1fd)](p[_0x552d73(0x5ce)])['getRenderById'](_0x1ac8df),_0x5bbdab=_0x1b69eb==null||(_0x3a1528=_0x1b69eb[_0x552d73(0x2bc)](f[_0x552d73(0x3b0)])[_0x552d73(0x3d6)]())==null?void 0x0:_0x3a1528['getAbsolutePosition']();return _0x5bbdab?{'left':_0x5bbdab['left'],'top':_0x5bbdab[_0x552d73(0x3f6)]}:null;}function O(_0x4817e8,_0x5f0e23,_0x1a11f1){const _0x50cc5c=_0x5c9dd2;var _0x5e6704,_0x3b63d4,_0x8d072e;if(!_0x1a11f1)return null;let _0x51c689=_0x4817e8[_0x50cc5c(0x1fd)](p[_0x50cc5c(0x5ce)])['getRenderById'](_0x5f0e23),_0x2dfd4b=_0x51c689==null?void 0x0:_0x51c689['with'](f[_0x50cc5c(0x1af)])[_0x50cc5c(0x157)];if(!_0x2dfd4b)return null;let _0x2fe122=_0x1a11f1===_0x50cc5c(0x185)?{'startOffset':_0x2dfd4b['moveRange'][_0x50cc5c(0x352)],'endOffset':_0x2dfd4b[_0x50cc5c(0x21a)][_0x50cc5c(0x352)]}:_0x2dfd4b[_0x50cc5c(0x203)];return{'range':{'unitId':_0x5f0e23,'startOffset':_0x2fe122[_0x50cc5c(0x32d)],'endOffset':_0x2fe122[_0x50cc5c(0x352)],'segmentId':(_0x5e6704=(_0x3b63d4=_0x2dfd4b[_0x50cc5c(0x142)])==null?void 0x0:_0x3b63d4[_0x50cc5c(0x300)])==null?'':_0x5e6704},'position':(_0x8d072e=_0x2dfd4b['paragraph'])!=null&&_0x8d072e[_0x50cc5c(0x117)]?{'left':_0x2dfd4b[_0x50cc5c(0x142)][_0x50cc5c(0x117)][_0x50cc5c(0x2f0)],'top':_0x1a11f1===_0x50cc5c(0x185)?_0x2dfd4b[_0x50cc5c(0x142)][_0x50cc5c(0x117)][_0x50cc5c(0x1e9)]:_0x2dfd4b[_0x50cc5c(0x142)][_0x50cc5c(0x117)][_0x50cc5c(0x3f6)]}:null};}function k(_0x4ac6e2,_0x39c301,_0x3a0a2b){const _0x35577c=_0x5c9dd2;var _0x3589f4;return{'size':{'width':_0x4ac6e2,'height':_0x39c301},'positionH':{'relativeFrom':u['ObjectRelativeFromH'][_0x35577c(0x1a8)],'posOffset':(_0x3589f4=_0x3a0a2b==null?void 0x0:_0x3a0a2b['left'])==null?0x0:_0x3589f4},'positionV':{'relativeFrom':u['ObjectRelativeFromV'][_0x35577c(0x53a)],'posOffset':0x0},'angle':0x0};}const A={'type':u[_0x5c9dd2(0x19e)][_0x5c9dd2(0x5a7)],'id':_0x5c9dd2(0x61c),'handler':async(_0x13ffd8,_0x54bfa7)=>{const _0x1410c0=_0x5c9dd2;var _0xee61f2,_0x137ebb,_0x207589,_0x18a4a3,_0x5737d7,_0xe9f2a5;let _0x2fac40=_0x13ffd8['get'](u[_0x1410c0(0x2e9)])['getCurrentUniverDocInstance']();if(!_0x2fac40)return!0x1;let _0x170fc9=_0x13ffd8[_0x1410c0(0x1fd)](u[_0x1410c0(0x3f9)]),_0x3c3e0c=_0x2fac40['getUnitId'](),_0x1b76a7=_0x3c3e0c,_0x16d351=(_0xee61f2=_0x54bfa7['shapeId'])==null?(0x0,u['generateRandomId'])():_0xee61f2,_0x59de9f=(_0x137ebb=_0x54bfa7[_0x1410c0(0x458)])==null?l[_0x1410c0(0x4e4)]:_0x137ebb,_0x41ec7f=(_0x207589=_0x54bfa7[_0x1410c0(0x167)])==null?l[_0x1410c0(0x2a3)]:_0x207589,_0xf15e5f=(_0x18a4a3=(_0x5737d7=_0x54bfa7[_0x1410c0(0x5d4)])==null?E(_0x54bfa7[_0x1410c0(0x1f8)],_0x54bfa7['enhanceParams']):_0x5737d7)==null?{'fill':{'fillType':c[_0x1410c0(0x3fe)]['SolidFill'],'color':w},'stroke':{'lineStrokeType':c[_0x1410c0(0x583)][_0x1410c0(0x29d)],'width':0x1,'color':T}}:_0x18a4a3,_0x489523=O(_0x13ffd8,_0x3c3e0c,_0x54bfa7[_0x1410c0(0x313)]),_0x4f745f=(_0xe9f2a5=_0x489523==null?void 0x0:_0x489523[_0x1410c0(0x330)])==null?D(_0x13ffd8,_0x3c3e0c):_0xe9f2a5,_0x2e35e0=k(_0x59de9f,_0x41ec7f,_0x4f745f),_0x57e3c8=(0x0,f['docDrawingPositionToTransform'])(_0x2e35e0);_0x57e3c8&&_0x4f745f&&(_0x57e3c8['top']=_0x4f745f[_0x1410c0(0x3f6)]),_0x170fc9[_0x1410c0(0x56f)](l[_0x1410c0(0x495)]['id'],{'unitId':_0x3c3e0c,'shapeId':_0x16d351,'shapeType':_0x54bfa7[_0x1410c0(0x1f8)],'shapeData':_0xf15e5f}),_0x489523&&_0x13ffd8[_0x1410c0(0x1fd)](f[_0x1410c0(0x56a)])[_0x1410c0(0x31e)](_0x489523['range']);let _0x28a4f8={'unitId':_0x3c3e0c,'subUnitId':_0x1b76a7,'drawingId':_0x16d351,'drawingType':u[_0x1410c0(0x448)][_0x1410c0(0x308)],'transform':_0x57e3c8,'docTransform':_0x2e35e0,'data':{'shapeType':_0x54bfa7[_0x1410c0(0x1f8)],'shapeData':_0xf15e5f},'behindDoc':u[_0x1410c0(0x53c)][_0x1410c0(0x232)],'title':'','description':'','layoutType':u['PositionedObjectLayoutType'][_0x1410c0(0x4b7)],'wrapText':u[_0x1410c0(0x480)][_0x1410c0(0x61b)],'distB':0x0,'distL':0x0,'distR':0x0,'distT':0x0,'allowTransform':!0x0};return!!_0x170fc9[_0x1410c0(0x56f)](d[_0x1410c0(0x1b1)]['id'],{'unitId':_0x3c3e0c,'drawings':[_0x28a4f8]});}},j={'type':u['CommandType'][_0x5c9dd2(0x50a)],'id':_0x5c9dd2(0x35d),'handler'(){return!0x0;}},M={'type':u[_0x5c9dd2(0x19e)]['OPERATION'],'id':'doc.operation.open-doc-shape-format-panel','handler'(){return!0x0;}},N='doc.shape.edit.panel',P=(0x0,u[_0x5c9dd2(0x57c)])(_0x5c9dd2(0x475));function F(_0x280937){'@babel/helpers - typeof';const _0xca8f8c=_0x5c9dd2;return F=typeof Symbol==_0xca8f8c(0x515)&&typeof Symbol[_0xca8f8c(0x216)]=='symbol'?function(_0x4f64ba){return typeof _0x4f64ba;}:function(_0x4f827a){const _0x140c0b=_0xca8f8c;return _0x4f827a&&typeof Symbol==_0x140c0b(0x515)&&_0x4f827a[_0x140c0b(0x35c)]===Symbol&&_0x4f827a!==Symbol[_0x140c0b(0x1f2)]?_0x140c0b(0x4b0):typeof _0x4f827a;},F(_0x280937);}function ee(_0x5af4eb,_0x1c2629){const _0x1f5085=_0x5c9dd2;if(F(_0x5af4eb)!='object'||!_0x5af4eb)return _0x5af4eb;var _0x34794f=_0x5af4eb[Symbol[_0x1f5085(0x324)]];if(_0x34794f!==void 0x0){var _0x2d0d39=_0x34794f[_0x1f5085(0x529)](_0x5af4eb,_0x1c2629||_0x1f5085(0x62d));if(F(_0x2d0d39)!='object')return _0x2d0d39;throw TypeError(_0x1f5085(0x28b));}return(_0x1c2629===_0x1f5085(0x591)?String:Number)(_0x5af4eb);}function I(_0x2c12b8){const _0x5d8dfe=_0x5c9dd2;var _0x4856b2=ee(_0x2c12b8,_0x5d8dfe(0x591));return F(_0x4856b2)==_0x5d8dfe(0x4b0)?_0x4856b2:_0x4856b2+'';}function L(_0x3e5085,_0x4625ba,_0xd9049){return(_0x4625ba=I(_0x4625ba))in _0x3e5085?Object['defineProperty'](_0x3e5085,_0x4625ba,{'value':_0xd9049,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3e5085[_0x4625ba]=_0xd9049,_0x3e5085;}var R=class extends u[_0x5c9dd2(0x521)]{constructor(..._0x304b18){const _0x336b48=_0x5c9dd2;super(..._0x304b18),L(this,_0x336b48(0x51b),new _[(_0x336b48(0x56e))](null)),L(this,'editingParams$',this[_0x336b48(0x51b)][_0x336b48(0x1d4)]()),L(this,_0x336b48(0x333),new _['BehaviorSubject'](!0x1)),L(this,_0x336b48(0x472),this[_0x336b48(0x333)]['asObservable']());}[_0x5c9dd2(0x389)](){const _0x324c17=_0x5c9dd2;this[_0x324c17(0x51b)][_0x324c17(0x1d6)](null),this[_0x324c17(0x51b)][_0x324c17(0x3d5)](),this['_onSavingEditorData$'][_0x324c17(0x1d6)](!0x1),this[_0x324c17(0x333)]['complete'](),super['dispose']();}[_0x5c9dd2(0x440)](_0x59bd8c){const _0x396646=_0x5c9dd2;this[_0x396646(0x51b)]['next'](_0x59bd8c),_0x59bd8c==null&&this[_0x396646(0x333)][_0x396646(0x1d6)](!0x1);}[_0x5c9dd2(0x61f)](_0x13f5bc){const _0xf7867c=_0x5c9dd2;this[_0xf7867c(0x333)]['next'](_0x13f5bc);}[_0x5c9dd2(0x563)](){const _0x33fe84=_0x5c9dd2;return this[_0x33fe84(0x51b)][_0x33fe84(0x439)]();}};function z(_0xe19feb,_0x4ccab1,_0x12504b,_0x183cde,_0x161f81,_0x1f2c53){const _0x2c01a7=_0x5c9dd2;let _0x324ccf={'unitId':_0x4ccab1,'shapeId':_0x183cde,'shapeData':_0x1f2c53,'oldShapeJSON':_0x161f81};return _0xe19feb[_0x2c01a7(0x562)](l['UpdateDocShapeDataCommand']['id'],_0x324ccf);}function B(_0xe6c37b,_0x4ae308,_0x23dbe2,_0x1e416b,_0x5241e4,_0x1016e5){const _0x4157d2=_0x5c9dd2;let _0x5f376b={'unitId':_0x4ae308,'shapeId':_0x1e416b,'shapeData':_0x1016e5,'oldShapeJSON':_0x5241e4};return _0xe6c37b[_0x4157d2(0x562)](l[_0x4157d2(0x447)]['id'],_0x5f376b);}function _0x44d3(_0x137b71,_0x131f28){_0x137b71=_0x137b71-0x115;const _0x2e399a=_0x2e39();let _0x44d329=_0x2e399a[_0x137b71];return _0x44d329;}function V(_0x20e411,_0x120c4a){const _0x124101=_0x5c9dd2;var _0x19c84d;let {isHorizontal:_0x4aeeb2,textRect:_0x5e266a,verticalAlign:_0x57aff3}=_0x120c4a,_0x3c6ef6=_0x4aeeb2?_0x5e266a[_0x124101(0x458)]:_0x5e266a['height'],_0x871e5=u[_0x124101(0x3e1)]['deepClone'](_0x20e411),_0x160441=(_0x19c84d=_0x871e5[_0x124101(0x370)])==null?{}:_0x19c84d,_0x5ec80c={..._0x160441[_0x124101(0x214)],'centerAngle':_0x4aeeb2?0x0:p[_0x124101(0x581)],'vertexAngle':_0x4aeeb2?0x0:p[_0x124101(0x581)],'wrapStrategy':u[_0x124101(0x1be)][_0x124101(0x1c3)]};if(_0x57aff3!==void 0x0&&(_0x5ec80c[_0x124101(0x499)]=_0x57aff3),_0x120c4a[_0x124101(0x3ba)]!==void 0x0){var _0x42199f;_0x5ec80c[_0x124101(0x3ba)]=_0x120c4a[_0x124101(0x3ba)];let _0x3fc9a9=(_0x42199f=_0x871e5[_0x124101(0x3ed)])==null?void 0x0:_0x42199f['paragraphs'];if(_0x3fc9a9){for(let _0x52dd8d of _0x3fc9a9)_0x52dd8d[_0x124101(0x1b6)]||(_0x52dd8d['paragraphStyle']={}),_0x52dd8d['paragraphStyle'][_0x124101(0x3ba)]=_0x120c4a[_0x124101(0x3ba)];}}return _0x871e5[_0x124101(0x370)]={..._0x160441,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x3c6ef6,'height':0x1/0x0},'renderConfig':_0x5ec80c},_0x871e5;}function te(_0x3f32af){const _0x120d00=_0x5c9dd2;var _0xb82096;let _0x41b460=u[_0x120d00(0x3e1)][_0x120d00(0x48c)](_0x3f32af),_0x596dae=(_0xb82096=_0x41b460[_0x120d00(0x370)])==null?{}:_0xb82096,_0x6fa363={..._0x596dae[_0x120d00(0x214)]};return delete _0x6fa363[_0x120d00(0x30f)],delete _0x6fa363[_0x120d00(0x147)],delete _0x6fa363[_0x120d00(0x499)],delete _0x6fa363[_0x120d00(0x1c9)],_0x41b460[_0x120d00(0x370)]={..._0x596dae,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':0x1/0x0,'height':0x1/0x0},'renderConfig':Object[_0x120d00(0x4b1)](_0x6fa363)[_0x120d00(0x209)]>0x0?_0x6fa363:void 0x0},_0x41b460;}var H=class extends p[_0x5c9dd2(0x512)]{constructor(_0x11f0f5,_0x9f5d60){const _0x513159=_0x5c9dd2;super(_0x11f0f5,_0x9f5d60),L(this,'_props',void 0x0),L(this,_0x513159(0x281),!0x0),L(this,_0x513159(0x3c4),u['DrawingTypeEnum'][_0x513159(0x308)]),L(this,_0x513159(0x414),!0x0),this[_0x513159(0x5a9)]={..._0x9f5d60},this[_0x513159(0x34c)]();}[_0x5c9dd2(0x34c)](){const _0x29c537=_0x5c9dd2;this[_0x29c537(0x2ec)][_0x29c537(0x21b)](_0x55ada8=>{const _0x5b8b42=_0x29c537;this[_0x5b8b42(0x1b7)](_0x55ada8);});}[_0x5c9dd2(0x610)](_0x4cfe6f){const _0x5dfa86=_0x5c9dd2;this['_props'][_0x5dfa86(0x2bd)]=_0x4cfe6f;}[_0x5c9dd2(0x440)](_0x5d592d){const _0x24b6f2=_0x5c9dd2;this[_0x24b6f2(0x5a9)]['isEditing']=_0x5d592d,this[_0x24b6f2(0x50e)](!0x0);}get[_0x5c9dd2(0x1bb)](){const _0xc6592e=_0x5c9dd2;return this[_0xc6592e(0x5a9)][_0xc6592e(0x1bb)];}get[_0x5c9dd2(0x29c)](){const _0x1256c5=_0x5c9dd2;return this[_0x1256c5(0x5a9)][_0x1256c5(0x29c)];}[_0x5c9dd2(0x1b7)](_0x4deb59){const _0x4dde97=_0x5c9dd2;if(this[_0x4dde97(0x5a9)][_0x4dde97(0x20e)]==null||!this[_0x4dde97(0x281)])return;let {width:_0x2e1d80,height:_0x4a026b}=this,{width:_0x445d77=0x0,height:_0x2de199=0x0}=_0x4deb59[_0x4dde97(0x39c)],{left:_0x448271=0x0,top:_0x56df55=0x0,right:_0x487130=0x0,bottom:_0x8d46a6=0x0}=this['_props'][_0x4dde97(0x20e)],_0x11a985=_0x448271,_0x10a33f=_0x56df55,_0x26ddca=_0x487130,_0x4edfe7=_0x8d46a6,_0x49c04f=!0x1;if(_0x445d77!==0x0&&_0x445d77!==_0x2e1d80){let _0x18c5ab=_0x448271/_0x445d77,_0x3b60d0=_0x487130/_0x445d77;_0x11a985=_0x2e1d80*_0x18c5ab,_0x26ddca=_0x2e1d80*_0x3b60d0,_0x49c04f=!0x0;}if(_0x2de199!==0x0&&_0x2de199!==_0x4a026b){let _0x414031=_0x56df55/_0x2de199,_0x2c8d6d=_0x8d46a6/_0x2de199;_0x10a33f=_0x4a026b*_0x414031,_0x4edfe7=_0x4a026b*_0x2c8d6d,_0x49c04f=!0x0;}_0x49c04f&&this[_0x4dde97(0x4c8)]({'left':_0x11a985,'top':_0x10a33f,'right':_0x26ddca,'bottom':_0x4edfe7});}[_0x5c9dd2(0x4c8)](_0x504c90){const _0x4218d6=_0x5c9dd2;this[_0x4218d6(0x5a9)][_0x4218d6(0x20e)]=_0x504c90,this[_0x4218d6(0x50e)](!0x0);}[_0x5c9dd2(0x520)](_0x4b914b){const _0xb60537=_0x5c9dd2;this[_0xb60537(0x5a9)][_0xb60537(0x4a5)]=_0x4b914b,this[_0xb60537(0x50e)](!0x0);}set[_0x5c9dd2(0x1ce)](_0x536c2a){this['_transform']=_0x536c2a;}get[_0x5c9dd2(0x1ce)](){const _0x55ad30=_0x5c9dd2;this[_0x55ad30(0x5dc)]||this[_0x55ad30(0x4c0)]();let _0x26b35a=this[_0x55ad30(0x5dc)][_0x55ad30(0x4da)]();return this['transformForAngle'](_0x26b35a);}get[_0x5c9dd2(0x2f7)](){const _0x3023c7=_0x5c9dd2;return this[_0x3023c7(0x5a9)][_0x3023c7(0x2f7)];}get['shapeId'](){const _0x33a318=_0x5c9dd2;return this['_props'][_0x33a318(0x532)];}get[_0x5c9dd2(0x55f)](){const _0x53e0e4=_0x5c9dd2;return p[_0x53e0e4(0x44a)][_0x53e0e4(0x39d)];}[_0x5c9dd2(0x23c)](_0x49de1a,_0x3a7e79,_0xbe9c65,_0x3975f){const _0x4a0a3b=_0x5c9dd2;let _0x5eccb9=this[_0x4a0a3b(0x5a9)]['shapeModel'];if(!_0x5eccb9||!_0x3a7e79)return;let _0x20b571=_0xbe9c65==null?this['width']:_0xbe9c65,_0x1a37b2=_0x3975f==null?this[_0x4a0a3b(0x167)]:_0x3975f,_0x4ca73b={'shapeType':_0x5eccb9['getShapeType'](),'width':_0x20b571,'height':_0x1a37b2},_0x47bec8={'renderMode':c['ShapeRenderModeEnum']['Path'],'oKey':this['oKey'],'image':this[_0x4a0a3b(0x5a9)][_0x4a0a3b(0x4a5)],'angle':this[_0x4a0a3b(0x62b)]};_0x5eccb9[_0x4a0a3b(0x444)](_0x4ca73b),_0x49de1a[_0x4a0a3b(0x44f)]();let _0x4181b2={'top':0x0,'left':0x0,'width':_0x20b571,'height':_0x1a37b2};_0x5eccb9[_0x4a0a3b(0x2c9)](_0x49de1a,_0x4181b2,_0x47bec8),_0x49de1a[_0x4a0a3b(0x393)]();let _0x3a7bce=_0x5eccb9[_0x4a0a3b(0x246)](),_0x519cde=_0x5eccb9[_0x4a0a3b(0x567)](_0x4181b2),_0x4218c7=_0x5eccb9['isLineShape']();if(_0x3a7bce&&_0x519cde&&!_0x4218c7){_0x49de1a[_0x4a0a3b(0x44f)](),this[_0x4a0a3b(0x615)]()['flipX']&&_0x49de1a[_0x4a0a3b(0x501)](-0x1,0x1);let _0x14a221=_0x20b571/0x2,_0x45c47c=_0x1a37b2/0x2;_0x49de1a[_0x4a0a3b(0x310)](-_0x14a221,-_0x45c47c),_0x49de1a[_0x4a0a3b(0x457)](),this['_drawShapeText'](_0x49de1a,_0x3a7bce,_0x519cde),_0x49de1a[_0x4a0a3b(0x393)]();}}[_0x5c9dd2(0x1b5)](_0x2a549d){}['_drawShapeText'](_0x93f430,_0x970da9,_0x1cb63b){const _0x275f95=_0x5c9dd2;this[_0x275f95(0x5a9)]['isEditing']||(_0x275f95(0x4a0)in _0x970da9&&_0x970da9[_0x275f95(0x4a0)]===!0x1?this[_0x275f95(0x47d)](_0x93f430,_0x970da9,_0x1cb63b):this['_drawRichText'](_0x93f430,_0x970da9,_0x1cb63b));}['_drawSimpleText'](_0x40ccd4,_0x3b8316,_0xfb8997){}[_0x5c9dd2(0x552)](_0x3c10ed,_0x409f54,_0x364b9c){const _0x27819c=_0x5c9dd2;var _0x38b4b1,_0x581665;let _0xe67bf=this['_props']['localeService'];if(!_0x409f54[_0x27819c(0x1c7)]||!_0xe67bf){_0xe67bf||console[_0x27819c(0x149)]('[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering');return;}let _0x51433a=_0x409f54['dataModel'],_0x219ef3=_0x51433a[_0x27819c(0x2fd)],_0x9ffae3=(_0x38b4b1=_0x51433a['va'])==null?u[_0x27819c(0x4a3)]['TOP']:_0x38b4b1,_0x291b81=(_0x581665=_0x51433a['ha'])==null?u['HorizontalAlign'][_0x27819c(0x33b)]:_0x581665;if(!_0x219ef3)return;let _0x4a4bd7=_0x409f54[_0x27819c(0x28a)],_0x312a69=new u[(_0x27819c(0x258))](V(_0x219ef3,{'isHorizontal':_0x4a4bd7!==!0x1,'textRect':_0x364b9c,'verticalAlign':_0x9ffae3,'horizontalAlign':_0x291b81})),_0x5ec6d1=new p['DocumentViewModel'](_0x312a69),_0xb8deb5=p[_0x27819c(0x4e5)][_0x27819c(0x2fc)](_0x5ec6d1,_0xe67bf);_0xb8deb5[_0x27819c(0x4c7)]();let _0x148a19=new p[(_0x27819c(0x5f9))]('shape-text-'+this[_0x27819c(0x555)],_0xb8deb5,{'pageMarginLeft':0x0,'pageMarginTop':0x0});_0x148a19[_0x27819c(0x2fe)](_0x364b9c['width'],_0x364b9c[_0x27819c(0x167)]),_0x3c10ed[_0x27819c(0x44f)](),_0x3c10ed[_0x27819c(0x2cb)](_0x364b9c[_0x27819c(0x2f0)],_0x364b9c[_0x27819c(0x3f6)]),_0x3c10ed['beginPath'](),_0x3c10ed['rect'](0x0,0x0,_0x364b9c['width'],_0x364b9c['height']),_0x3c10ed[_0x27819c(0x47e)](),_0x148a19[_0x27819c(0x345)](_0x3c10ed),_0x3c10ed[_0x27819c(0x393)](),_0x148a19['dispose'](),_0xb8deb5['dispose'](),_0x5ec6d1[_0x27819c(0x389)](),_0x312a69[_0x27819c(0x389)]();}[_0x5c9dd2(0x2c9)](_0x1fb3ab,_0x2907d7,_0x37a91f=!0x1){const _0x38047a=_0x5c9dd2;if(!this[_0x38047a(0x590)])return this['makeDirty'](!0x1),this;let {width:_0x3f9e2c,height:_0x564f51,left:_0x5d8220,top:_0x5a354f}=this,_0x4300d3=this[_0x38047a(0x3ca)]();if(_0x3f9e2c=_0x4300d3[_0x38047a(0x458)],_0x564f51=_0x4300d3[_0x38047a(0x167)],_0x5d8220=_0x4300d3[_0x38047a(0x2f0)],_0x5a354f=_0x4300d3[_0x38047a(0x3f6)],this['isRender'](_0x2907d7)){let {top:_0x26f520,left:_0x24afa8,bottom:_0x1437e2,right:_0x2ce1b2}=_0x2907d7[_0x38047a(0x351)];if(_0x3f9e2c+this[_0x38047a(0x4cf)]+_0x5d8220<_0x24afa8||_0x2ce1b2<_0x5d8220||_0x564f51+this[_0x38047a(0x4cf)]+_0x5a354f<_0x26f520||_0x1437e2<_0x5a354f)return this;}let _0x51a8f4=_0x5d8220+_0x3f9e2c/0x2,_0x40e065=_0x5a354f+_0x564f51/0x2,_0x5dc202=this[_0x38047a(0x1ce)][_0x38047a(0x327)]();if(this[_0x38047a(0x5a9)]['isEditing']){let _0x39bae5=this[_0x38047a(0x615)](),_0x5eb025=new p[(_0x38047a(0x4a1))]();_0x5eb025['composeMatrix']({..._0x39bae5}),_0x5dc202=_0x5eb025[_0x38047a(0x327)]();}return _0x1fb3ab[_0x38047a(0x44f)](),this[_0x38047a(0x5a9)][_0x38047a(0x2f7)][_0x38047a(0x18d)]===!0x0||_0x1fb3ab[_0x38047a(0x1ce)](_0x5dc202[0x0],_0x5dc202[0x1],_0x5dc202[0x2],_0x5dc202[0x3],_0x51a8f4,_0x40e065),this['_draw'](_0x1fb3ab,_0x2907d7,_0x3f9e2c,_0x564f51),_0x1fb3ab[_0x38047a(0x393)](),this[_0x38047a(0x50e)](!0x1),this;}[_0x5c9dd2(0x580)](_0x4f4346){const _0x492e58=_0x5c9dd2;let {left:_0x4afe45,top:_0x189032,width:_0x1506b2,height:_0x593e3f}=this[_0x492e58(0x3ca)](),_0x1c316f=this['transform'][_0x492e58(0x327)](),_0x45f3a4=_0x4afe45+_0x1506b2/0x2,_0x310e11=_0x189032+_0x593e3f/0x2,_0x759766=new p[(_0x492e58(0x4a1))]([_0x1c316f[0x0],_0x1c316f[0x1],_0x1c316f[0x2],_0x1c316f[0x3],_0x45f3a4,_0x310e11]),_0x333b53=this['getParent']();return(this[_0x492e58(0x5bb)]&&(_0x333b53==null?void 0x0:_0x333b53[_0x492e58(0x55f)])===p[_0x492e58(0x44a)][_0x492e58(0x1d3)]?_0x333b53[_0x492e58(0x545)][_0x492e58(0x12e)](_0x759766):_0x759766)['invert']()[_0x492e58(0x1d7)](_0x4f4346);}[_0x5c9dd2(0x129)](_0x5c02cb){const _0x1ce45c=_0x5c9dd2;let {left:_0x50a700,top:_0x101a3a,width:_0x36b4b3,height:_0x2c07d7}=this['getRealBound'](),_0x121ec5=_0x50a700+_0x36b4b3/0x2,_0xa147c8=_0x101a3a+_0x2c07d7/0x2,_0x4bb844=this[_0x1ce45c(0x1ce)][_0x1ce45c(0x327)](),_0x231b17=new p[(_0x1ce45c(0x4a1))]([_0x4bb844[0x0],_0x4bb844[0x1],_0x4bb844[0x2],_0x4bb844[0x3],_0x121ec5,_0xa147c8]),_0x29326d=this[_0x1ce45c(0x50c)](),_0x5b6032=(this[_0x1ce45c(0x5bb)]&&(_0x29326d==null?void 0x0:_0x29326d[_0x1ce45c(0x55f)])===p[_0x1ce45c(0x44a)][_0x1ce45c(0x1d3)]?_0x29326d[_0x1ce45c(0x545)][_0x1ce45c(0x12e)](_0x231b17):_0x231b17)[_0x1ce45c(0x360)]()[_0x1ce45c(0x1d7)](_0x5c02cb),_0x262f82=_0x36b4b3/0x2,_0x1b87cb=_0x2c07d7/0x2,_0x4c3bf2=this[_0x1ce45c(0x5a9)][_0x1ce45c(0x2f7)];return _0x4c3bf2&&_0x4c3bf2[_0x1ce45c(0x41c)]()?_0x4c3bf2[_0x1ce45c(0x3d2)](_0x5b6032['x'],_0x5b6032['y'],_0x36b4b3,_0x2c07d7):_0x5b6032['x']>=-_0x262f82-this[_0x1ce45c(0x4cf)]/0x2&&_0x5b6032['x']<=_0x262f82+this[_0x1ce45c(0x4cf)]/0x2&&_0x5b6032['y']>=-_0x1b87cb-this[_0x1ce45c(0x4cf)]/0x2&&_0x5b6032['y']<=_0x1b87cb+this['strokeWidth']/0x2;}[_0x5c9dd2(0x389)](){const _0x5354e2=_0x5c9dd2;this[_0x5354e2(0x5a9)]['shapeModel']=null,super['dispose']();}};function U(_0x14912b,_0x269e19){return function(_0x4683e5,_0x2ad971){_0x269e19(_0x4683e5,_0x2ad971,_0x14912b);};}function W(_0x1c96f6,_0x23d462,_0x25d8bf,_0x58b0cc){const _0xf7d580=_0x5c9dd2;var _0x435e65=arguments[_0xf7d580(0x209)],_0x23393a=_0x435e65<0x3?_0x23d462:_0x58b0cc===null?_0x58b0cc=Object[_0xf7d580(0x2ed)](_0x23d462,_0x25d8bf):_0x58b0cc,_0x5c9d59;if(typeof Reflect=='object'&&typeof Reflect[_0xf7d580(0x507)]==_0xf7d580(0x515))_0x23393a=Reflect[_0xf7d580(0x507)](_0x1c96f6,_0x23d462,_0x25d8bf,_0x58b0cc);else{for(var _0x262c0d=_0x1c96f6['length']-0x1;_0x262c0d>=0x0;_0x262c0d--)(_0x5c9d59=_0x1c96f6[_0x262c0d])&&(_0x23393a=(_0x435e65<0x3?_0x5c9d59(_0x23393a):_0x435e65>0x3?_0x5c9d59(_0x23d462,_0x25d8bf,_0x23393a):_0x5c9d59(_0x23d462,_0x25d8bf))||_0x23393a);}return _0x435e65>0x3&&_0x23393a&&Object[_0xf7d580(0x2b4)](_0x23d462,_0x25d8bf,_0x23393a),_0x23393a;}let G=class extends u['Disposable']{constructor(_0xfeb6d3,_0x36306e,_0x1aac5c,_0x4507ec,_0x34d569,_0x146e13){const _0x59e459=_0x5c9dd2;super(),this['_drawingManagerService']=_0xfeb6d3,this['_docsShapeService']=_0x36306e,this[_0x59e459(0x5ea)]=_0x1aac5c,this[_0x59e459(0x181)]=_0x4507ec,this[_0x59e459(0x13b)]=_0x34d569,this[_0x59e459(0x196)]=_0x146e13;}[_0x5c9dd2(0x556)](_0x1182b2,_0x247206){const _0x2fd314=_0x5c9dd2;let {transform:_0x3919e8,drawingType:_0x5365b5,srcRect:_0x3916ed,prstGeom:_0x360c15,groupId:_0x16fd41,unitId:_0x2bbe36,subUnitId:_0x449bbd,drawingId:_0x49e633,isMultiTransform:_0x5e1ad0,transforms:_0x4d3fa5,hidden:_0x409800}=_0x1182b2;if(_0x5365b5!==u[_0x2fd314(0x448)][_0x2fd314(0x308)]||!this[_0x2fd314(0x141)][_0x2fd314(0x3de)]()||_0x3919e8==null)return;let _0x1f89da=_0x5e1ad0&&_0x4d3fa5?_0x4d3fa5:[_0x3919e8],_0x319396=[];for(let _0x455ec0 of _0x1f89da){let {left:_0xd08abf,top:_0x1cad4f,width:_0x14d709,height:_0x18a094,angle:_0x5e1a93,flipX:_0x2a2549,flipY:_0x2ac93b,skewX:_0x15fe09,skewY:_0x44cefe}=_0x455ec0,_0x69e440=_0x1f89da[_0x2fd314(0x272)](_0x455ec0),_0x87a6ee=(0x0,m[_0x2fd314(0x301)])({'unitId':_0x2bbe36,'subUnitId':_0x449bbd,'drawingId':_0x49e633},_0x5e1ad0?_0x69e440:void 0x0),_0x341252=_0x247206[_0x2fd314(0x5d9)](_0x87a6ee);if(_0x341252!=null){_0x341252[_0x2fd314(0x15b)]({'left':_0xd08abf,'top':_0x1cad4f,'width':_0x14d709,'height':_0x18a094,'angle':_0x5e1a93,'flipX':_0x2a2549,'flipY':_0x2ac93b,'skewX':_0x15fe09,'skewY':_0x44cefe});continue;}let _0x80c8de=this[_0x2fd314(0x141)][_0x2fd314(0x481)](_0x2bbe36,_0x449bbd),_0x3e5620=_0x80c8de['indexOf'](_0x49e633);if(_0x247206[_0x2fd314(0x5d9)](_0x87a6ee)||!this['_drawingManagerService'][_0x2fd314(0x3de)]())continue;let _0x38687e=this[_0x2fd314(0x302)][_0x2fd314(0x5a2)](_0x2bbe36,_0x449bbd,_0x49e633);if(!_0x38687e)continue;let _0x47fa14=new H(_0x87a6ee,{...(0x0,c[_0x2fd314(0x4bd)])(_0x38687e[_0x2fd314(0x462)]())?{..._0x455ec0,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x455ec0},'zIndex':_0x3e5620===-0x1?_0x80c8de[_0x2fd314(0x209)]-0x1:_0x3e5620,'shapeModel':_0x38687e,'localeService':this[_0x2fd314(0x5ea)],'shapeId':_0x49e633,'unitId':_0x2bbe36,'subUnitId':_0x449bbd,'visible':_0x409800!==!0x0});this[_0x2fd314(0x365)]((0x0,u[_0x2fd314(0x2ac)])(_0x47fa14[_0x2fd314(0x159)][_0x2fd314(0x21b)]((_0x10bf65,_0x30c6e7)=>{const _0x209e4e=_0x2fd314;_0x38687e['isLineShape']()||(this[_0x209e4e(0x196)]['setEditing']({'visible':!0x0,'unitId':_0x2bbe36,'subUnitId':_0x449bbd,'shapeId':_0x49e633,'shapeKey':_0x47fa14[_0x209e4e(0x555)]}),_0x30c6e7[_0x209e4e(0x202)]());}))),_0x247206[_0x2fd314(0x23e)](_0x47fa14,p[_0x2fd314(0x496)]),this[_0x2fd314(0x141)][_0x2fd314(0x23b)]()&&_0x247206[_0x2fd314(0x1ae)](_0x47fa14),_0x16fd41&&(0x0,b[_0x2fd314(0x4ba)])({'drawingId':_0x16fd41,'unitId':_0x2bbe36,'subUnitId':_0x449bbd},_0x47fa14,_0x247206,this[_0x2fd314(0x141)]),_0x360c15!=null&&_0x47fa14['setPrstGeom'](_0x360c15),_0x3916ed!=null&&_0x47fa14[_0x2fd314(0x4c8)](_0x3916ed),this[_0x2fd314(0x467)](_0x47fa14,_0x38687e[_0x2fd314(0x1b0)]()),_0x319396[_0x2fd314(0x1f4)](_0x47fa14);}return _0x319396;}[_0x5c9dd2(0x419)](_0xa11a2){const _0x291917=_0x5c9dd2;let _0x90f690=_0xa11a2[_0x291917(0x2f7)][_0x291917(0x1b0)](),_0x22cfb6=_0x90f690[_0x291917(0x1bf)];if(!_0x22cfb6||_0x22cfb6['fillType']!==c['ShapeFillEnum'][_0x291917(0x3e8)]||!_0x22cfb6['fillImageSource']){_0xa11a2[_0x291917(0x520)](void 0x0);return;}this[_0x291917(0x467)](_0xa11a2,_0x90f690);}[_0x5c9dd2(0x467)](_0x27c916,_0x476ef4){const _0x5c78b0=_0x5c9dd2;var _0xef0556;let _0x4d6150=_0x476ef4[_0x5c78b0(0x1bf)];if(!_0x4d6150||_0x4d6150['fillType']!==c[_0x5c78b0(0x3fe)][_0x5c78b0(0x3e8)]||!_0x4d6150[_0x5c78b0(0x355)])return;let _0x33bf95=_0x4d6150[_0x5c78b0(0x355)],_0x52f595=(_0xef0556=_0x4d6150[_0x5c78b0(0x4b8)])==null?c['ImageSourceTypeEnum'][_0x5c78b0(0x119)]:_0xef0556,_0x1a7a25=this[_0x5c78b0(0x181)][_0x5c78b0(0x3af)](_0x33bf95,_0x52f595);if(_0x1a7a25){_0x27c916[_0x5c78b0(0x520)](_0x1a7a25);return;}this[_0x5c78b0(0x49f)](_0x27c916,_0x33bf95,_0x52f595);}async[_0x5c9dd2(0x49f)](_0x319a1f,_0x3e0650,_0x451dac){const _0x3651eb=_0x5c9dd2;let _0x4270ae;try{if(_0x451dac===c[_0x3651eb(0x48f)]['UUID'])_0x4270ae=await this[_0x3651eb(0x181)][_0x3651eb(0x153)](_0x3e0650);else{if(_0x451dac===c[_0x3651eb(0x48f)]['URL'])try{_0x4270ae=await this['_urlImageService'][_0x3651eb(0x153)](_0x3e0650);}catch{_0x4270ae=_0x3e0650;}else _0x4270ae=_0x3e0650;}}catch(_0x42802a){console['error']('[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source',_0x42802a);return;}let _0x32b700=new window['Image']();_0x32b700[_0x3651eb(0x23f)]=()=>{const _0x431e6f=_0x3651eb;this[_0x431e6f(0x181)]['addImageSourceCache'](_0x3e0650,_0x451dac,_0x32b700),_0x319a1f[_0x431e6f(0x520)](_0x32b700);},_0x32b700[_0x3651eb(0x59c)]=()=>{const _0x45f3a7=_0x3651eb;console[_0x45f3a7(0x59a)](_0x45f3a7(0x2c0),_0x3e0650);},_0x32b700[_0x3651eb(0x585)]=_0x4270ae;}};G=W([U(0x0,m[_0x5c9dd2(0x565)]),U(0x1,(0x0,u['Inject'])(l[_0x5c9dd2(0x58d)])),U(0x2,(0x0,u[_0x5c9dd2(0x2ea)])(u['LocaleService'])),U(0x3,m[_0x5c9dd2(0x582)]),U(0x4,u[_0x5c9dd2(0x55d)]),U(0x5,(0x0,u[_0x5c9dd2(0x2ea)])(R))],G);let K=class extends u[_0x5c9dd2(0x521)]{constructor(_0x2c2dda,_0x5acd9d,_0x462afd,_0x12407f){const _0x35eae2=_0x5c9dd2;super(),this[_0x35eae2(0x23a)]=_0x2c2dda,this[_0x35eae2(0x553)]=_0x5acd9d,this[_0x35eae2(0x141)]=_0x462afd,this[_0x35eae2(0x534)]=_0x12407f,this['_initialize']();}['_initialize'](){const _0x41c55d=_0x5c9dd2;this[_0x41c55d(0x365)](this[_0x41c55d(0x141)][_0x41c55d(0x46b)]['subscribe'](_0x5a403b=>this[_0x41c55d(0x5d0)](_0x5a403b))),this[_0x41c55d(0x365)](this['_drawingManagerService'][_0x41c55d(0x347)]['subscribe'](_0x3f2845=>{const _0xd7de7d=_0x41c55d;_0x3f2845[_0xd7de7d(0x450)](_0x2586a5=>this[_0xd7de7d(0x596)](_0x2586a5));})),this['disposeWithMe'](this['_commandService'][_0x41c55d(0x479)](_0xf29272=>{const _0x489b40=_0x41c55d;if(_0xf29272['id']!==l[_0x489b40(0x51d)]['id'])return;let {unitId:_0x3ea41a,shapeId:_0x57b290}=_0xf29272[_0x489b40(0x1d9)];this['_refreshShapeData']({'unitId':_0x3ea41a,'subUnitId':_0x3ea41a,'drawingId':_0x57b290});}));}[_0x5c9dd2(0x1aa)](_0x135ff0,_0xe297c0){const _0x145474=_0x5c9dd2;let _0x55b4c6=this[_0x145474(0x597)](_0x135ff0['unitId']),_0x30201c=(0x0,m[_0x145474(0x301)])(_0x135ff0),_0x188720=_0x55b4c6==null?void 0x0:_0x55b4c6['scene'][_0x145474(0x5d9)](_0x30201c);_0x188720==null||_0x188720[_0x145474(0x520)](_0xe297c0);}[_0x5c9dd2(0x5d0)](_0x45594a){const _0x5a0c2e=_0x5c9dd2;_0x45594a[_0x5a0c2e(0x450)](_0x2af8b8=>{const _0xd0a0d1=_0x5a0c2e;var _0x37413f;let _0x25fa44=this[_0xd0a0d1(0x597)](_0x2af8b8[_0xd0a0d1(0x1bb)]);if(!_0x25fa44)return;let _0x50488f=this[_0xd0a0d1(0x141)]['getDrawingByParam'](_0x2af8b8);(_0x50488f==null?void 0x0:_0x50488f[_0xd0a0d1(0x2f5)])===u[_0xd0a0d1(0x448)][_0xd0a0d1(0x308)]&&((0x0,c[_0xd0a0d1(0x4bd)])((_0x37413f=_0x50488f[_0xd0a0d1(0x54a)])==null?void 0x0:_0x37413f[_0xd0a0d1(0x13a)])&&_0x50488f[_0xd0a0d1(0x1ce)]&&(_0x50488f[_0xd0a0d1(0x1ce)]={..._0x50488f[_0xd0a0d1(0x1ce)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}),this[_0xd0a0d1(0x141)][_0xd0a0d1(0x432)]([_0x50488f]),this[_0xd0a0d1(0x534)][_0xd0a0d1(0x556)](_0x50488f,_0x25fa44['scene']));});}[_0x5c9dd2(0x596)](_0x288388){const _0x327c74=_0x5c9dd2;let _0x354e43=this[_0x327c74(0x141)]['getDrawingByParam'](_0x288388);if((_0x354e43==null?void 0x0:_0x354e43[_0x327c74(0x2f5)])!==u['DrawingTypeEnum'][_0x327c74(0x308)])return;let _0x316aa5=this['_getSceneByUnitId'](_0x288388[_0x327c74(0x1bb)]);if(!_0x316aa5||_0x354e43[_0x327c74(0x1ce)]==null)return;let _0x2b6330=(0x0,m[_0x327c74(0x301)])(_0x288388),_0x17f468=_0x316aa5[_0x327c74(0x525)][_0x327c74(0x5d9)](_0x2b6330);_0x17f468&&(_0x17f468['setSrcRect'](_0x354e43[_0x327c74(0x20e)]),_0x17f468[_0x327c74(0x610)](_0x354e43[_0x327c74(0x2bd)]),_0x17f468['makeDirty'](!0x0));}['_refreshShapeData'](_0xf493a8){const _0x4ca416=_0x5c9dd2;let _0x3ae21c=this[_0x4ca416(0x597)](_0xf493a8['unitId']);if(!_0x3ae21c)return;let _0x4922c9=(0x0,m[_0x4ca416(0x301)])(_0xf493a8),_0x29aaaa=_0x3ae21c['scene']['getObjectIncludeInGroup'](_0x4922c9);_0x29aaaa&&(this[_0x4ca416(0x534)][_0x4ca416(0x419)](_0x29aaaa),_0x29aaaa[_0x4ca416(0x50e)](!0x0));}['_getSceneByUnitId'](_0x30d25b){const _0x53bdfe=_0x5c9dd2;if(_0x30d25b==null)return null;let _0x2d31a1=this[_0x53bdfe(0x553)][_0x53bdfe(0x50d)](_0x30d25b),_0x320bd7=_0x2d31a1==null?void 0x0:_0x2d31a1['scene'];return _0x320bd7==null?null:{'scene':_0x320bd7};}};K=W([U(0x0,u[_0x5c9dd2(0x3f9)]),U(0x1,p[_0x5c9dd2(0x5ce)]),U(0x2,m[_0x5c9dd2(0x565)]),U(0x3,(0x0,u['Inject'])(G))],K);function ne(_0x325c0a){const _0x44785e=_0x5c9dd2;var _0x17f9f3,_0xf6c02a,_0x3991a1,_0x3a85dc,_0x3ba5c6,_0x2c88f9,_0x2774aa,_0x23c079,_0x4c4ad4,_0x443535,_0x1c4c26,_0x27a179,_0x416791;let {unitId:_0x1df29d,subUnitId:_0x539525,shapeId:_0x2d00fb,shapeData:_0x522e93,disableShapeOption:_0x103965}=_0x325c0a,_0x339c6c=(0x0,g[_0x44785e(0x270)])(u[_0x44785e(0x5cd)]),_0x2288af=(0x0,g[_0x44785e(0x270)])(u[_0x44785e(0x3f9)]),_0x2c027c=(0x0,g[_0x44785e(0x270)])(u[_0x44785e(0x39e)]),_0x6efe9f=(0x0,g['useDependency'])(K),_0x42283d=(0x0,g[_0x44785e(0x270)])(m[_0x44785e(0x582)]),_0x4727c8=(0x0,y['useRef'])(null),_0x4dcc92=_0x522e93[_0x44785e(0x1bf)],_0x1ada55=!!(_0x4dcc92!=null&&_0x4dcc92['fillImageSource']),[_0xa6767,_0x19d768]=(0x0,y['useState'])((_0x17f9f3=_0x4dcc92==null?void 0x0:_0x4dcc92[_0x44785e(0x625)])==null?0x1:_0x17f9f3),[_0x267ebe,_0xa45950]=(0x0,y[_0x44785e(0x2e2)])((_0xf6c02a=_0x4dcc92==null?void 0x0:_0x4dcc92[_0x44785e(0x593)])==null?c[_0x44785e(0x3ce)]['Stretch']:_0xf6c02a),[_0x4930fd,_0x5922b7]=(0x0,y[_0x44785e(0x2e2)])((_0x3991a1=_0x4dcc92==null?void 0x0:_0x4dcc92['imageRotateWithShape'])==null?!0x1:_0x3991a1),[_0x5a74d8,_0x17a411]=(0x0,y['useState'])((_0x3a85dc=_0x4dcc92==null||(_0x3ba5c6=_0x4dcc92[_0x44785e(0x60b)])==null?void 0x0:_0x3ba5c6[_0x44785e(0x4c2)])==null?0x0:_0x3a85dc),[_0x3bc797,_0x30a8fd]=(0x0,y['useState'])((_0x2c88f9=_0x4dcc92==null||(_0x2774aa=_0x4dcc92[_0x44785e(0x60b)])==null?void 0x0:_0x2774aa[_0x44785e(0x144)])==null?0x0:_0x2c88f9),[_0x396483,_0x423e32]=(0x0,y[_0x44785e(0x2e2)])((_0x23c079=_0x4dcc92==null||(_0x4c4ad4=_0x4dcc92['imageTile'])==null?void 0x0:_0x4c4ad4[_0x44785e(0x221)])==null?0x1:_0x23c079),[_0x5525e2,_0x2d6ae8]=(0x0,y[_0x44785e(0x2e2)])((_0x443535=_0x4dcc92==null||(_0x1c4c26=_0x4dcc92[_0x44785e(0x60b)])==null?void 0x0:_0x1c4c26[_0x44785e(0x58a)])==null?0x1:_0x443535),[_0x51df00,_0x46b8fb]=(0x0,y[_0x44785e(0x2e2)])((_0x27a179=_0x4dcc92==null||(_0x416791=_0x4dcc92[_0x44785e(0x60b)])==null?void 0x0:_0x416791[_0x44785e(0x418)])==null?'tl':_0x27a179),_0x512615=_0x267ebe===c[_0x44785e(0x3ce)][_0x44785e(0x42d)],_0xc6d7ca=Math[_0x44785e(0x613)]((0x1-_0xa6767)*0x64),_0x959b12=Math[_0x44785e(0x613)](_0x396483*0x64),_0x359c84=Math['round'](_0x5525e2*0x64),_0x512bbd=_0x181f26=>_0x339c6c['t'](_0x181f26),_0x10e1ca=[{'label':_0x512bbd(_0x44785e(0x268)),'value':'tl'},{'label':_0x512bbd(_0x44785e(0x38b)),'value':'t'},{'label':_0x512bbd(_0x44785e(0x5e5)),'value':'tr'},{'label':_0x512bbd(_0x44785e(0x2f2)),'value':'l'},{'label':_0x512bbd(_0x44785e(0x2aa)),'value':_0x44785e(0x5b7)},{'label':_0x512bbd(_0x44785e(0x3da)),'value':'r'},{'label':_0x512bbd(_0x44785e(0x57e)),'value':'bl'},{'label':_0x512bbd(_0x44785e(0x53d)),'value':'b'},{'label':_0x512bbd(_0x44785e(0x2b9)),'value':'br'}],_0x2e5c2c=_0x4f9df9=>{z(_0x2288af,_0x1df29d,_0x539525,_0x2d00fb,{'oldShapeData':{'fill':_0x4dcc92?{..._0x4dcc92}:void 0x0}},{'fill':{..._0x4dcc92,..._0x4f9df9}});},_0x1c9bae=_0xd188d9=>{const _0x49c435=_0x44785e;_0x2e5c2c({'imageTile':{..._0x4dcc92==null?void 0x0:_0x4dcc92[_0x49c435(0x60b)],..._0xd188d9}});},_0x1aef78=()=>{const _0x3f4dcd=_0x44785e;var _0x45ac62;return(_0x45ac62=_0x4727c8[_0x3f4dcd(0x1c1)])==null?void 0x0:_0x45ac62['click']();},_0x3642a2=async _0x130974=>{const _0x4c36cf=_0x44785e;var _0x2b46ac;let _0x17300f=(_0x2b46ac=_0x130974[_0x4c36cf(0x5c9)][_0x4c36cf(0x5e8)])==null?void 0x0:_0x2b46ac[0x0];if(!_0x17300f)return;_0x130974[_0x4c36cf(0x5c9)][_0x4c36cf(0x1f8)]='';let _0x72850e=await _0x42283d[_0x4c36cf(0x5c4)](_0x17300f);if(_0x72850e==null)return;let {imageSourceType:_0x3d2075,source:_0x54b425,base64Cache:_0x1356d0}=_0x72850e,{image:_0x2ba549}=await(0x0,m[_0x4c36cf(0x4af)])(_0x1356d0||'');_0x42283d[_0x4c36cf(0x4a4)](_0x54b425,_0x3d2075,_0x2ba549),z(_0x2288af,_0x1df29d,_0x539525,_0x2d00fb,{'oldShapeData':{'fill':_0x4dcc92?{..._0x4dcc92}:void 0x0}},{'fill':{..._0x4dcc92,'fillType':c[_0x4c36cf(0x3fe)][_0x4c36cf(0x3e8)],'fillImageSource':_0x54b425,'fillImageSourceType':_0x3d2075}}),_0x6efe9f['updateShapeFillImage']({'unitId':_0x1df29d,'subUnitId':_0x539525,'drawingId':_0x2d00fb},_0x2ba549);},_0x31741f=_0x44785e(0x165),_0x28818c=_0x44785e(0x60e);return(0x0,x[_0x44785e(0x291)])(_0x44785e(0x41f),{'className':_0x44785e(0x1db),'children':[(0x0,x[_0x44785e(0x291)])(_0x44785e(0x41f),{'className':_0x44785e(0x2d5),'children':[(0x0,x[_0x44785e(0x530)])(_0x44785e(0x316),{'className':_0x31741f,'children':_0x512bbd(_0x44785e(0x19f))}),(0x0,x[_0x44785e(0x291)])('div',{'className':_0x44785e(0x191),'children':[(0x0,x['jsx'])('input',{'ref':_0x4727c8,'type':_0x44785e(0x14d),'accept':_0x44785e(0x3f8),'className':_0x44785e(0x34e),'onChange':_0x3642a2}),(0x0,x[_0x44785e(0x291)])('div',{'className':_0x44785e(0x48d),'children':[(0x0,x[_0x44785e(0x530)])(_0x44785e(0x2ff),{'type':_0x44785e(0x2ff),'disabled':_0x103965,'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':_0x1aef78,'children':(0x0,x['jsxs'])(_0x44785e(0x316),{'children':[_0x512bbd('docs-shape-ui.fill.picture.insert'),'\x20']})}),_0x1ada55&&(0x0,x[_0x44785e(0x530)])(_0x44785e(0x41f),{'className':_0x44785e(0x4ff),'children':(0x0,x[_0x44785e(0x530)])('img',{'src':_0x4dcc92==null?void 0x0:_0x4dcc92['fillImageSource'],'alt':'','className':_0x44785e(0x233)})})]})]})]}),(0x0,x[_0x44785e(0x291)])(_0x44785e(0x41f),{'className':_0x28818c,'children':[(0x0,x['jsx'])(_0x44785e(0x316),{'className':_0x31741f,'children':_0x512bbd('docs-shape-ui.fill.transparency')}),(0x0,x[_0x44785e(0x530)])(_0x44785e(0x41f),{'className':_0x44785e(0x36a),'children':(0x0,x['jsx'])(v[_0x44785e(0x1fa)],{'className':'univer-w-full','value':_0xc6d7ca,'disabled':_0x103965,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x3b6956=>_0x3b6956+'%','parser':_0x460125=>(_0x460125==null?void 0x0:_0x460125[_0x44785e(0x2ca)]('%',''))||'','onChange':_0x300ff7=>{const _0x24e9a6=_0x44785e;let _0x202af8=(0x64-Math[_0x24e9a6(0x399)](0x0,Math[_0x24e9a6(0x22d)](0x64,_0x300ff7==null?0x0:_0x300ff7)))/0x64;_0x19d768(_0x202af8),_0x2e5c2c({'imageOpacity':_0x202af8}),_0x2c027c[_0x24e9a6(0x2b2)](u[_0x24e9a6(0x3f0)],!0x1);},'onFocus':()=>_0x2c027c[_0x44785e(0x2b2)](u[_0x44785e(0x3f0)],!0x0),'onBlur':()=>_0x2c027c[_0x44785e(0x2b2)](u[_0x44785e(0x3f0)],!0x1)})})]}),(0x0,x[_0x44785e(0x530)])(v[_0x44785e(0x374)],{'checked':_0x512615,'disabled':_0x103965,'onChange':_0x4fc252=>{const _0x5158a0=_0x44785e;let _0xf0956b=_0x4fc252?c['ImageFillModeEnum'][_0x5158a0(0x42d)]:c[_0x5158a0(0x3ce)][_0x5158a0(0x41d)];_0xa45950(_0xf0956b),_0x2e5c2c({'imageFillMode':_0xf0956b});},'children':(0x0,x['jsx'])(_0x44785e(0x316),{'className':_0x44785e(0x2d6),'children':_0x512bbd(_0x44785e(0x3cf))})}),_0x512615&&(0x0,x[_0x44785e(0x291)])(_0x44785e(0x41f),{'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[_0x44785e(0x291)])(_0x44785e(0x41f),{'className':_0x28818c,'children':[(0x0,x[_0x44785e(0x530)])(_0x44785e(0x316),{'className':_0x31741f,'children':_0x512bbd(_0x44785e(0x416))}),(0x0,x[_0x44785e(0x530)])(_0x44785e(0x41f),{'className':_0x44785e(0x36a),'children':(0x0,x[_0x44785e(0x530)])(v[_0x44785e(0x1fa)],{'className':'univer-w-full','value':_0x5a74d8,'disabled':_0x103965,'step':0x1,'onChange':_0x224457=>{_0x1c9bae({'offsetX':_0x224457==null?0x0:_0x224457}),_0x17a411(_0x224457==null?0x0:_0x224457);},'onFocus':()=>_0x2c027c[_0x44785e(0x2b2)](u[_0x44785e(0x3f0)],!0x0),'onBlur':()=>_0x2c027c[_0x44785e(0x2b2)](u[_0x44785e(0x3f0)],!0x1)})})]}),(0x0,x['jsxs'])(_0x44785e(0x41f),{'className':_0x28818c,'children':[(0x0,x['jsx'])(_0x44785e(0x316),{'className':_0x31741f,'children':_0x512bbd(_0x44785e(0x13d))}),(0x0,x[_0x44785e(0x530)])(_0x44785e(0x41f),{'className':_0x44785e(0x36a),'children':(0x0,x[_0x44785e(0x530)])(v[_0x44785e(0x1fa)],{'className':_0x44785e(0x228),'value':_0x3bc797,'disabled':_0x103965,'step':0x1,'onChange':_0x35693c=>{_0x1c9bae({'offsetY':_0x35693c==null?0x0:_0x35693c}),_0x30a8fd(_0x35693c==null?0x0:_0x35693c);},'onFocus':()=>_0x2c027c[_0x44785e(0x2b2)](u[_0x44785e(0x3f0)],!0x0),'onBlur':()=>_0x2c027c[_0x44785e(0x2b2)](u['FOCUSING_PANEL_EDITOR'],!0x1)})})]}),(0x0,x[_0x44785e(0x291)])('div',{'className':_0x28818c,'children':[(0x0,x['jsx'])(_0x44785e(0x316),{'className':_0x31741f,'children':_0x512bbd(_0x44785e(0x1ba))}),(0x0,x[_0x44785e(0x530)])(_0x44785e(0x41f),{'className':_0x44785e(0x36a),'children':(0x0,x[_0x44785e(0x530)])(v[_0x44785e(0x1fa)],{'className':_0x44785e(0x228),'value':_0x959b12,'disabled':_0x103965,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x3fc49c=>_0x3fc49c+'%','parser':_0x1d38b7=>(_0x1d38b7==null?void 0x0:_0x1d38b7['replace']('%',''))||'','onChange':_0x49513c=>{const _0x484436=_0x44785e;let _0x2ac3a7=Math[_0x484436(0x399)](0.01,(_0x49513c==null?0x64:_0x49513c)/0x64);_0x423e32(_0x2ac3a7),_0x1c9bae({'scaleX':_0x2ac3a7}),_0x2c027c[_0x484436(0x2b2)](u['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x2c027c[_0x44785e(0x2b2)](u[_0x44785e(0x3f0)],!0x0),'onBlur':()=>_0x2c027c['setContextValue'](u[_0x44785e(0x3f0)],!0x1)})})]}),(0x0,x[_0x44785e(0x291)])(_0x44785e(0x41f),{'className':_0x28818c,'children':[(0x0,x[_0x44785e(0x530)])(_0x44785e(0x316),{'className':_0x31741f,'children':_0x512bbd(_0x44785e(0x2d3))}),(0x0,x[_0x44785e(0x530)])(_0x44785e(0x41f),{'className':_0x44785e(0x36a),'children':(0x0,x[_0x44785e(0x530)])(v[_0x44785e(0x1fa)],{'className':_0x44785e(0x228),'value':_0x359c84,'disabled':_0x103965,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x2c7d31=>_0x2c7d31+'%','parser':_0x449251=>(_0x449251==null?void 0x0:_0x449251[_0x44785e(0x2ca)]('%',''))||'','onChange':_0x3e3ed4=>{const _0x35d7ce=_0x44785e;let _0x542de6=Math[_0x35d7ce(0x399)](0.01,(_0x3e3ed4==null?0x64:_0x3e3ed4)/0x64);_0x2d6ae8(_0x542de6),_0x1c9bae({'scaleY':_0x542de6}),_0x2c027c[_0x35d7ce(0x2b2)](u[_0x35d7ce(0x3f0)],!0x1);},'onFocus':()=>_0x2c027c[_0x44785e(0x2b2)](u[_0x44785e(0x3f0)],!0x0),'onBlur':()=>_0x2c027c[_0x44785e(0x2b2)](u['FOCUSING_PANEL_EDITOR'],!0x1)})})]}),(0x0,x[_0x44785e(0x291)])(_0x44785e(0x41f),{'className':_0x28818c,'children':[(0x0,x[_0x44785e(0x530)])(_0x44785e(0x316),{'className':_0x31741f,'children':_0x512bbd(_0x44785e(0x3ad))}),(0x0,x[_0x44785e(0x530)])(_0x44785e(0x41f),{'className':_0x44785e(0x311),'children':(0x0,x[_0x44785e(0x530)])(v[_0x44785e(0x200)],{'className':_0x44785e(0x228),'value':_0x51df00,'options':_0x10e1ca,'disabled':_0x103965,'onChange':_0x185faf=>{_0x46b8fb(_0x185faf),_0x1c9bae({'alignment':_0x185faf});}})})]})]}),(0x0,x[_0x44785e(0x530)])(v[_0x44785e(0x374)],{'checked':_0x4930fd,'disabled':_0x103965,'onChange':_0x410cad=>{_0x5922b7(_0x410cad),_0x2e5c2c({'imageRotateWithShape':_0x410cad});},'children':(0x0,x[_0x44785e(0x530)])(_0x44785e(0x316),{'className':'univer-text-sm','children':_0x512bbd('docs-shape-ui.fill.picture.rotateWithShape')})})]});}function re(_0x4ff292){const _0x46e01a=_0x5c9dd2;var _0x5998eb,_0x3d7d5e;return(_0x5998eb=(_0x3d7d5e=_0x4ff292[_0x46e01a(0x1bf)])==null?void 0x0:_0x3d7d5e['fillType'])==null?c[_0x46e01a(0x3fe)][_0x46e01a(0x1fc)]:_0x5998eb;}function ie(_0x4777b1){const _0x2f9330=_0x5c9dd2;var _0x3d49a7,_0x3d9940,_0x37734d,_0x58f28b;let _0x37b552=(0x0,g['useDependency'])(u[_0x2f9330(0x5cd)]),_0x1989eb=(0x0,g[_0x2f9330(0x270)])(u[_0x2f9330(0x3f9)]),_0x36ea6a=(0x0,g[_0x2f9330(0x270)])(u[_0x2f9330(0x39e)]),{shapeData:_0x301785,isLineShape:_0x7c0fad,unitId:_0x2e3852,subUnitId:_0x3b346d,shapeId:_0x109de7,disableShapeOption:_0x3117b8}=_0x4777b1,[_0x97cb18,_0x19539f]=(0x0,y[_0x2f9330(0x2e2)])(re(_0x301785)),[_0x9a1753,_0x5b4380]=(0x0,y[_0x2f9330(0x2e2)])((_0x3d49a7=(_0x3d9940=_0x301785[_0x2f9330(0x1bf)])==null?void 0x0:_0x3d9940[_0x2f9330(0x34b)])==null?c[_0x2f9330(0x390)][_0x2f9330(0x1bf)]:_0x3d49a7),[_0x35cde4,_0x217ec5]=(0x0,y[_0x2f9330(0x2e2)])((_0x37734d=(_0x58f28b=_0x301785[_0x2f9330(0x1bf)])==null?void 0x0:_0x58f28b[_0x2f9330(0x4d0)])==null?0x1:_0x37734d),[_0x2c9fa1,_0x3c7862]=(0x0,y[_0x2f9330(0x2e2)])(!0x1);if(_0x7c0fad)return null;let _0x400266=0x64-_0x35cde4*0x64;return(0x0,x['jsxs'])(_0x2f9330(0x41f),{'className':_0x2f9330(0x33a),'children':[(0x0,x[_0x2f9330(0x291)])(v[_0x2f9330(0x32a)],{'value':_0x97cb18,'disabled':_0x3117b8,'onChange':_0x1be8d4=>{const _0x22adb5=_0x2f9330;var _0x50ae2c;z(_0x1989eb,_0x2e3852,_0x3b346d,_0x109de7,{'oldShapeData':{'fill':{'fillType':(_0x50ae2c=_0x301785[_0x22adb5(0x1bf)])==null?void 0x0:_0x50ae2c[_0x22adb5(0x3b1)]}}},{'fill':{'fillType':_0x1be8d4}}),_0x19539f(_0x1be8d4);},'direction':_0x2f9330(0x51a),'children':[(0x0,x[_0x2f9330(0x530)])(v[_0x2f9330(0x32c)],{'value':c[_0x2f9330(0x3fe)][_0x2f9330(0x1fc)],'children':(0x0,x['jsx'])('span',{'className':_0x2f9330(0x2d6),'children':_0x37b552['t'](_0x2f9330(0x1c8))})}),(0x0,x[_0x2f9330(0x530)])(v['Radio'],{'value':c['ShapeFillEnum'][_0x2f9330(0x2a8)],'children':(0x0,x['jsx'])(_0x2f9330(0x316),{'className':'univer-text-sm','children':_0x37b552['t']('docs-shape-ui.fill.solidFill')})}),(0x0,x[_0x2f9330(0x530)])(v[_0x2f9330(0x32c)],{'value':c[_0x2f9330(0x3fe)][_0x2f9330(0x502)],'children':(0x0,x[_0x2f9330(0x530)])(_0x2f9330(0x316),{'className':_0x2f9330(0x2d6),'children':_0x37b552['t'](_0x2f9330(0x3a4))})}),(0x0,x['jsx'])(v[_0x2f9330(0x32c)],{'value':c['ShapeFillEnum']['PictureFill'],'children':(0x0,x[_0x2f9330(0x530)])(_0x2f9330(0x316),{'className':_0x2f9330(0x2d6),'children':_0x37b552['t'](_0x2f9330(0x575))})})]}),_0x97cb18===c['ShapeFillEnum'][_0x2f9330(0x2a8)]&&(0x0,x[_0x2f9330(0x291)])(_0x2f9330(0x41f),{'className':_0x2f9330(0x156),'children':[(0x0,x[_0x2f9330(0x291)])(_0x2f9330(0x41f),{'className':_0x2f9330(0x24e),'children':[(0x0,x['jsx'])(_0x2f9330(0x316),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x37b552['t'](_0x2f9330(0x558))}),(0x0,x[_0x2f9330(0x530)])(v[_0x2f9330(0x264)],{'disabled':_0x3117b8,'overlay':(0x0,x[_0x2f9330(0x530)])('div',{'className':_0x2f9330(0x205),'children':(0x0,x['jsx'])(v[_0x2f9330(0x407)],{'value':_0x9a1753,'onChange':_0x1a247e=>{const _0x52a24b=_0x2f9330;var _0xd04373;z(_0x1989eb,_0x2e3852,_0x3b346d,_0x109de7,{'oldShapeData':{'fill':{'color':(_0xd04373=_0x301785[_0x52a24b(0x1bf)])==null?void 0x0:_0xd04373['color']}}},{'fill':{'color':_0x1a247e}}),_0x5b4380(_0x1a247e),_0x3c7862(!0x1);}})}),'open':_0x2c9fa1,'onOpenChange':_0x3c7862,'children':(0x0,x[_0x2f9330(0x291)])('a',{'className':_0x2f9330(0x589),'children':[(0x0,x[_0x2f9330(0x530)])(h[_0x2f9330(0x3fa)],{'className':_0x2f9330(0x5b3),'extend':{'colorChannel1':_0x9a1753}}),(0x0,x['jsx'])(h[_0x2f9330(0x145)],{'className':(0x0,v[_0x2f9330(0x319)])(_0x2f9330(0x2e7),{'univer-rotate-180':_0x2c9fa1})})]})})]}),(0x0,x['jsxs'])(_0x2f9330(0x41f),{'className':_0x2f9330(0x60e),'children':[(0x0,x[_0x2f9330(0x530)])('span',{'className':_0x2f9330(0x165),'children':_0x37b552['t'](_0x2f9330(0x1ad))}),(0x0,x[_0x2f9330(0x530)])(_0x2f9330(0x41f),{'className':_0x2f9330(0x468),'children':(0x0,x[_0x2f9330(0x530)])(_0x2f9330(0x41f),{'className':'univer-w-20','children':(0x0,x[_0x2f9330(0x530)])(v['InputNumber'],{'className':_0x2f9330(0x228),'value':_0x400266,'disabled':_0x3117b8,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x325c2b=>_0x325c2b+'%','parser':_0x293423=>(_0x293423==null?void 0x0:_0x293423[_0x2f9330(0x2ca)]('%',''))||'','onChange':_0x4bf182=>{const _0x24a968=_0x2f9330;let _0x23c289=(0x64-Math[_0x24a968(0x399)](0x0,Math[_0x24a968(0x22d)](0x64,_0x4bf182==null?0x0:_0x4bf182)))/0x64;_0x217ec5(_0x23c289),z(_0x1989eb,_0x2e3852,_0x3b346d,_0x109de7,{'oldShapeData':{'fill':{..._0x301785['fill'],'fillType':_0x97cb18}}},{'fill':{..._0x301785[_0x24a968(0x1bf)],'fillType':_0x97cb18,'opacity':_0x23c289}}),_0x36ea6a[_0x24a968(0x2b2)](u[_0x24a968(0x3f0)],!0x1);},'onFocus':()=>_0x36ea6a['setContextValue'](u[_0x2f9330(0x3f0)],!0x0),'onBlur':()=>{const _0x10a466=_0x2f9330;_0x36ea6a[_0x10a466(0x2b2)](u['FOCUSING_PANEL_EDITOR'],!0x1);}})})})]})]}),_0x97cb18===c['ShapeFillEnum'][_0x2f9330(0x502)]&&(0x0,x[_0x2f9330(0x530)])(J,{'shapeData':_0x301785,'disableShapeOption':_0x3117b8,'onUpdate':_0x40a6a1=>{const _0x2cb234=_0x2f9330;z(_0x1989eb,_0x2e3852,_0x3b346d,_0x109de7,{'oldShapeData':{'fill':{..._0x301785[_0x2cb234(0x1bf)]}}},{'fill':{..._0x301785[_0x2cb234(0x1bf)],..._0x40a6a1}});}}),_0x97cb18===c[_0x2f9330(0x3fe)]['PictureFill']&&(0x0,x[_0x2f9330(0x530)])(ne,{'unitId':_0x2e3852,'subUnitId':_0x3b346d,'shapeId':_0x109de7,'shapeData':_0x301785,'disableShapeOption':_0x3117b8})]});}function q(_0x447d88){const _0x464fbd=_0x5c9dd2;switch(_0x447d88){case c['ShapeGradientTypeEnum'][_0x464fbd(0x338)]:return _0x464fbd(0x623);case c[_0x464fbd(0x287)][_0x464fbd(0x3c3)]:return'radial';case c[_0x464fbd(0x287)][_0x464fbd(0x2c4)]:return'angular';case c[_0x464fbd(0x287)][_0x464fbd(0x4f8)]:return _0x464fbd(0x3b2);default:return _0x464fbd(0x623);}}function ae(_0x4a3011){const _0x2ea3a2=_0x5c9dd2;switch(_0x4a3011){case _0x2ea3a2(0x623):return c['ShapeGradientTypeEnum']['Linear'];case _0x2ea3a2(0x1e7):return c[_0x2ea3a2(0x287)][_0x2ea3a2(0x3c3)];case _0x2ea3a2(0x37b):return c[_0x2ea3a2(0x287)][_0x2ea3a2(0x2c4)];case'diamond':return c[_0x2ea3a2(0x287)][_0x2ea3a2(0x4f8)];default:return c['ShapeGradientTypeEnum'][_0x2ea3a2(0x338)];}}function J(_0x495eea){const _0x2fdd29=_0x5c9dd2;let {shapeData:_0xea189d,disableShapeOption:_0x57dc0a,onUpdate:_0x4e1b0d}=_0x495eea,_0xf20b7a=(0x0,y[_0x2fdd29(0x420)])(()=>{const _0x27bf4b=_0x2fdd29;var _0x314d63;let _0x1b2e24=_0xea189d[_0x27bf4b(0x1bf)];return{'type':q(_0x1b2e24==null?void 0x0:_0x1b2e24['gradientType']),'angle':(_0x314d63=_0x1b2e24==null?void 0x0:_0x1b2e24[_0x27bf4b(0x231)])==null?0x5a:_0x314d63,'stops':_0x1b2e24!=null&&_0x1b2e24[_0x27bf4b(0x4be)]&&_0x1b2e24['gradientStops'][_0x27bf4b(0x209)]>=0x2?_0x1b2e24[_0x27bf4b(0x4be)]['map'](_0x14c644=>({'color':_0x14c644[_0x27bf4b(0x34b)],'offset':_0x14c644[_0x27bf4b(0x330)]*0x64})):[{'color':(_0x1b2e24==null?void 0x0:_0x1b2e24['color'])||_0x27bf4b(0x572),'offset':0x0},{'color':_0x27bf4b(0x195),'offset':0x64}]};},[_0xea189d[_0x2fdd29(0x1bf)]]);return(0x0,x['jsx'])(_0x2fdd29(0x41f),{'className':_0x2fdd29(0x38f),'children':(0x0,x[_0x2fdd29(0x530)])(v[_0x2fdd29(0x5f5)],{'value':_0xf20b7a,'onChange':_0x1adea9=>{const _0x264754=_0x2fdd29;let _0x2fce86=ae(_0x1adea9['type']),_0x2c46bb=_0x1adea9['angle'];_0x4e1b0d({'gradientType':_0x2fce86,'gradientAngle':_0x2c46bb,'gradientStops':_0x1adea9[_0x264754(0x16c)][_0x264754(0x267)](_0x550b59=>({'color':_0x550b59[_0x264754(0x34b)],'position':_0x550b59[_0x264754(0x43e)]/0x64}))});}})});}function oe(_0x4edada){const _0x1e09f6=_0x5c9dd2;var _0x900910,_0x1825bd,_0x5064c9,_0x477f74,_0x5c0de6,_0x188748,_0x4aaccb,_0x4626b9,_0x18d3da,_0x30f5e8,_0xd72fde,_0x58c087,_0x4920d4,_0x27113b,_0x3a73e1,_0x2852b2;let _0x10eace=(0x0,g[_0x1e09f6(0x270)])(u[_0x1e09f6(0x5cd)]),_0x3cc281=(0x0,g['useDependency'])(u[_0x1e09f6(0x3f9)]),_0x542f40=(0x0,g[_0x1e09f6(0x270)])(u[_0x1e09f6(0x39e)]),{shapeData:_0x3cf6a0,isLineShape:_0x5c98c5,unitId:_0x5251e7,subUnitId:_0x1390b2,shapeId:_0x5468d8,disableShapeOption:_0x4015b2}=_0x4edada,_0x344a68=_0x3cf6a0[_0x1e09f6(0x1f0)],[_0x5def5c,_0x1d0779]=(0x0,y[_0x1e09f6(0x2e2)])((_0x900910=_0x344a68==null?void 0x0:_0x344a68[_0x1e09f6(0x32e)])==null?c[_0x1e09f6(0x583)][_0x1e09f6(0x29d)]:_0x900910),[_0x3017a5,_0x25e816]=(0x0,y[_0x1e09f6(0x2e2)])((_0x1825bd=_0x344a68==null?void 0x0:_0x344a68['color'])==null?c[_0x1e09f6(0x390)]['stroke']:_0x1825bd),[_0x511395,_0x440fc4]=(0x0,y['useState'])((_0x5064c9=_0x344a68==null?void 0x0:_0x344a68[_0x1e09f6(0x4d0)])==null?0x1:_0x5064c9),[_0xc27f71,_0x2d0130]=(0x0,y[_0x1e09f6(0x2e2)])((_0x477f74=_0x344a68==null?void 0x0:_0x344a68[_0x1e09f6(0x458)])==null?c[_0x1e09f6(0x390)][_0x1e09f6(0x4cf)]:_0x477f74),[_0x3d76d3,_0x314e6f]=(0x0,y[_0x1e09f6(0x2e2)])((_0x5c0de6=_0x344a68==null?void 0x0:_0x344a68[_0x1e09f6(0x428)])==null?c[_0x1e09f6(0x5a8)][_0x1e09f6(0x124)]:_0x5c0de6),[_0x457ddf,_0x50cd12]=(0x0,y[_0x1e09f6(0x2e2)])((_0x188748=_0x344a68==null?void 0x0:_0x344a68['capType'])==null?c[_0x1e09f6(0x445)][_0x1e09f6(0x42c)]:_0x188748),[_0x45dc4e,_0x26f931]=(0x0,y[_0x1e09f6(0x2e2)])((_0x4aaccb=_0x344a68==null?void 0x0:_0x344a68[_0x1e09f6(0x4f6)])==null?c[_0x1e09f6(0x4ad)]['Miter']:_0x4aaccb),[_0x233414,_0x5d4182]=(0x0,y[_0x1e09f6(0x2e2)])((_0x4626b9=_0x344a68==null?void 0x0:_0x344a68[_0x1e09f6(0x44c)])==null?c[_0x1e09f6(0x312)]['None']:_0x4626b9),_0xf55bc9=_0x3cf6a0,[_0x19b9b1,_0x45cd3e]=(0x0,y[_0x1e09f6(0x2e2)])((_0x18d3da=(_0x30f5e8=_0xf55bc9['ln'])==null||(_0x30f5e8=_0x30f5e8['startArrow'])==null?void 0x0:_0x30f5e8['type'])==null?c['ShapeArrowTypeEnum']['None']:_0x18d3da),[_0x45593f,_0x103293]=(0x0,y[_0x1e09f6(0x2e2)])((_0xd72fde=(_0x58c087=_0xf55bc9['ln'])==null||(_0x58c087=_0x58c087[_0x1e09f6(0x5be)])==null?void 0x0:_0x58c087[_0x1e09f6(0x275)])==null?c[_0x1e09f6(0x26c)][_0x1e09f6(0x595)]:_0xd72fde),[_0x225efd,_0x4369c4]=(0x0,y[_0x1e09f6(0x2e2)])((_0x4920d4=(_0x27113b=_0xf55bc9['ln'])==null||(_0x27113b=_0x27113b['endArrow'])==null?void 0x0:_0x27113b[_0x1e09f6(0x410)])==null?c['ShapeArrowTypeEnum'][_0x1e09f6(0x48e)]:_0x4920d4),[_0x25ca7e,_0x3972ec]=(0x0,y[_0x1e09f6(0x2e2)])((_0x3a73e1=(_0x2852b2=_0xf55bc9['ln'])==null||(_0x2852b2=_0x2852b2[_0x1e09f6(0x484)])==null?void 0x0:_0x2852b2[_0x1e09f6(0x275)])==null?c[_0x1e09f6(0x26c)][_0x1e09f6(0x595)]:_0x3a73e1),[_0x6a462f,_0xf2c81f]=(0x0,y[_0x1e09f6(0x2e2)])(!0x1),_0x3a3b57=0x64-_0x511395*0x64,_0x92758b=[{'label':_0x10eace['t'](_0x1e09f6(0x289)),'value':String(c[_0x1e09f6(0x5a8)][_0x1e09f6(0x124)])},{'label':_0x10eace['t']('docs-shape-ui.line.dashType.roundDot'),'value':String(c[_0x1e09f6(0x5a8)][_0x1e09f6(0x336)])},{'label':_0x10eace['t'](_0x1e09f6(0x630)),'value':String(c[_0x1e09f6(0x5a8)][_0x1e09f6(0x350)])},{'label':_0x10eace['t'](_0x1e09f6(0x3f3)),'value':String(c[_0x1e09f6(0x5a8)][_0x1e09f6(0x588)])},{'label':_0x10eace['t']('docs-shape-ui.line.dashType.dashDot'),'value':String(c[_0x1e09f6(0x5a8)][_0x1e09f6(0x29b)])},{'label':_0x10eace['t']('docs-shape-ui.line.dashType.longDash'),'value':String(c[_0x1e09f6(0x5a8)]['LongDash'])},{'label':_0x10eace['t']('docs-shape-ui.line.dashType.longDashDot'),'value':String(c[_0x1e09f6(0x5a8)][_0x1e09f6(0x573)])},{'label':_0x10eace['t'](_0x1e09f6(0x14c)),'value':String(c[_0x1e09f6(0x5a8)]['LongDashDotDot'])}],_0x44ceb8=[{'label':_0x10eace['t'](_0x1e09f6(0x5da)),'value':String(c[_0x1e09f6(0x445)]['Flat'])},{'label':_0x10eace['t']('docs-shape-ui.line.capType.round'),'value':String(c[_0x1e09f6(0x445)][_0x1e09f6(0x40c)])},{'label':_0x10eace['t']('docs-shape-ui.line.capType.square'),'value':String(c[_0x1e09f6(0x445)][_0x1e09f6(0x21d)])}],_0x214b00=[{'label':_0x10eace['t']('docs-shape-ui.line.sketchType.none'),'value':String(c[_0x1e09f6(0x312)][_0x1e09f6(0x48e)])},{'label':_0x10eace['t'](_0x1e09f6(0x417)),'value':String(c[_0x1e09f6(0x312)][_0x1e09f6(0x4d5)])},{'label':_0x10eace['t']('docs-shape-ui.line.sketchType.freehand'),'value':String(c['ShapeSketchTypeEnum']['Freehand'])},{'label':_0x10eace['t'](_0x1e09f6(0x4fd)),'value':String(c[_0x1e09f6(0x312)]['HandDrawn'])}],_0x3571fa=[{'label':_0x10eace['t'](_0x1e09f6(0x536)),'value':String(c[_0x1e09f6(0x4ad)][_0x1e09f6(0x174)])},{'label':_0x10eace['t'](_0x1e09f6(0x314)),'value':String(c[_0x1e09f6(0x4ad)][_0x1e09f6(0x40c)])},{'label':_0x10eace['t'](_0x1e09f6(0x16a)),'value':String(c[_0x1e09f6(0x4ad)][_0x1e09f6(0x13e)])}],_0x2ca91b=[{'label':_0x10eace['t'](_0x1e09f6(0x1dd)),'value':String(c['ShapeArrowTypeEnum'][_0x1e09f6(0x48e)])},{'label':_0x10eace['t'](_0x1e09f6(0x477)),'value':String(c['ShapeArrowTypeEnum'][_0x1e09f6(0x5b1)])},{'label':_0x10eace['t'](_0x1e09f6(0x422)),'value':String(c[_0x1e09f6(0x5fd)][_0x1e09f6(0x49e)])},{'label':_0x10eace['t'](_0x1e09f6(0x168)),'value':String(c[_0x1e09f6(0x5fd)][_0x1e09f6(0x5a4)])},{'label':_0x10eace['t'](_0x1e09f6(0x4d3)),'value':String(c['ShapeArrowTypeEnum'][_0x1e09f6(0x443)])},{'label':_0x10eace['t'](_0x1e09f6(0x627)),'value':String(c[_0x1e09f6(0x5fd)][_0x1e09f6(0x513)])}],_0x253234=[{'label':_0x10eace['t'](_0x1e09f6(0x47c)),'value':String(c[_0x1e09f6(0x26c)][_0x1e09f6(0x294)])},{'label':_0x10eace['t'](_0x1e09f6(0x3a7)),'value':String(c[_0x1e09f6(0x26c)][_0x1e09f6(0x595)])},{'label':_0x10eace['t'](_0x1e09f6(0x2e6)),'value':String(c[_0x1e09f6(0x26c)][_0x1e09f6(0x18f)])}];return(0x0,x[_0x1e09f6(0x291)])(_0x1e09f6(0x41f),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3','children':[(0x0,x[_0x1e09f6(0x291)])(v[_0x1e09f6(0x32a)],{'value':String(_0x5def5c),'disabled':_0x4015b2,'onChange':_0x22aad3=>{const _0x5bb519=_0x1e09f6;var _0x4a6abb;_0x1d0779(Number(_0x22aad3)),z(_0x3cc281,_0x5251e7,_0x1390b2,_0x5468d8,{'oldShapeData':{'stroke':{'lineStrokeType':(_0x4a6abb=_0x3cf6a0[_0x5bb519(0x1f0)])==null?void 0x0:_0x4a6abb[_0x5bb519(0x32e)]}}},{'stroke':{'lineStrokeType':Number(_0x22aad3)}});},'direction':_0x1e09f6(0x51a),'children':[(0x0,x['jsx'])(v[_0x1e09f6(0x32c)],{'value':String(c['ShapeLineTypeEnum']['NoLine']),'children':(0x0,x[_0x1e09f6(0x530)])(_0x1e09f6(0x316),{'className':'univer-text-sm','children':_0x10eace['t'](_0x1e09f6(0x619))})}),(0x0,x[_0x1e09f6(0x530)])(v['Radio'],{'value':String(c[_0x1e09f6(0x583)][_0x1e09f6(0x29d)]),'children':(0x0,x[_0x1e09f6(0x530)])(_0x1e09f6(0x316),{'className':_0x1e09f6(0x2d6),'children':_0x10eace['t'](_0x1e09f6(0x3b8))})})]}),_0x5def5c!==c[_0x1e09f6(0x583)][_0x1e09f6(0x1f9)]&&(0x0,x[_0x1e09f6(0x291)])(_0x1e09f6(0x41f),{'className':_0x1e09f6(0x156),'children':[(0x0,x[_0x1e09f6(0x291)])(_0x1e09f6(0x41f),{'className':_0x1e09f6(0x24e),'children':[(0x0,x[_0x1e09f6(0x530)])(_0x1e09f6(0x316),{'className':_0x1e09f6(0x201),'children':_0x10eace['t']('docs-shape-ui.line.color')}),(0x0,x['jsx'])(v[_0x1e09f6(0x264)],{'disabled':_0x4015b2,'overlay':(0x0,x[_0x1e09f6(0x530)])(_0x1e09f6(0x41f),{'className':_0x1e09f6(0x205),'children':(0x0,x[_0x1e09f6(0x530)])(v[_0x1e09f6(0x407)],{'value':_0x3017a5,'onChange':_0x4fd67a=>{const _0x197c32=_0x1e09f6;var _0x12b160;z(_0x3cc281,_0x5251e7,_0x1390b2,_0x5468d8,{'oldShapeData':{'stroke':{'color':(_0x12b160=_0x3cf6a0[_0x197c32(0x1f0)])==null?void 0x0:_0x12b160[_0x197c32(0x34b)]}}},{'stroke':{'color':_0x4fd67a}}),_0x25e816(_0x4fd67a),_0xf2c81f(!0x1);}})}),'open':_0x6a462f,'onOpenChange':_0xf2c81f,'children':(0x0,x[_0x1e09f6(0x291)])('a',{'className':_0x1e09f6(0x589),'children':[(0x0,x[_0x1e09f6(0x530)])(h['PaintBucketDoubleIcon'],{'className':_0x1e09f6(0x20a),'extend':{'colorChannel1':_0x3017a5}}),(0x0,x[_0x1e09f6(0x530)])(h[_0x1e09f6(0x145)],{'className':(0x0,v['clsx'])(_0x1e09f6(0x2e7),{'univer-rotate-180':_0x6a462f})})]})})]}),(0x0,x['jsxs'])('div',{'className':_0x1e09f6(0x60e),'children':[(0x0,x[_0x1e09f6(0x530)])(_0x1e09f6(0x316),{'className':_0x1e09f6(0x165),'children':_0x10eace['t']('docs-shape-ui.line.transparency')}),(0x0,x['jsx'])('div',{'className':_0x1e09f6(0x60e),'children':(0x0,x[_0x1e09f6(0x530)])(_0x1e09f6(0x41f),{'className':_0x1e09f6(0x24d),'children':(0x0,x[_0x1e09f6(0x530)])(v['InputNumber'],{'className':_0x1e09f6(0x228),'value':_0x3a3b57,'disabled':_0x4015b2,'min':0x0,'max':0x64,'formatter':_0x4f380e=>_0x4f380e+'%','parser':_0xc8767f=>(_0xc8767f==null?void 0x0:_0xc8767f[_0x1e09f6(0x2ca)]('%',''))||'','onChange':_0x1086c2=>{const _0x2b1852=_0x1e09f6;var _0x20b58d;let _0x7dd0c5=(0x64-Math['max'](0x0,Math[_0x2b1852(0x22d)](0x64,_0x1086c2==null?0x0:_0x1086c2)))/0x64;_0x440fc4(_0x7dd0c5),z(_0x3cc281,_0x5251e7,_0x1390b2,_0x5468d8,{'oldShapeData':{'stroke':{'opacity':(_0x20b58d=_0x3cf6a0[_0x2b1852(0x1f0)])==null?void 0x0:_0x20b58d[_0x2b1852(0x4d0)]}}},{'stroke':{'opacity':_0x7dd0c5}}),_0x542f40['setContextValue'](u[_0x2b1852(0x3f0)],!0x1);},'onFocus':()=>_0x542f40[_0x1e09f6(0x2b2)](u[_0x1e09f6(0x3f0)],!0x0),'onBlur':_0xc484dc=>{_0x542f40['setContextValue'](u['FOCUSING_PANEL_EDITOR'],!0x1);}})})})]}),(0x0,x['jsxs'])(_0x1e09f6(0x41f),{'className':_0x1e09f6(0x60e),'children':[(0x0,x['jsx'])(_0x1e09f6(0x316),{'className':_0x1e09f6(0x201),'children':_0x10eace['t'](_0x1e09f6(0x57f))}),(0x0,x[_0x1e09f6(0x530)])('div',{'className':_0x1e09f6(0x36a),'children':(0x0,x[_0x1e09f6(0x530)])(v[_0x1e09f6(0x1fa)],{'className':_0x1e09f6(0x228),'disabled':_0x4015b2,'value':_0xc27f71,'min':0.25,'max':0x64,'step':0.25,'formatter':_0x524428=>_0x524428+'\x20px','parser':_0x281603=>(_0x281603==null?void 0x0:_0x281603[_0x1e09f6(0x2ca)]('\x20px',''))||'','onChange':_0x35cbf4=>{const _0x923506=_0x1e09f6;if(!Number[_0x923506(0x46f)](_0x35cbf4)&&_0x35cbf4!==null){var _0x2e48e7;z(_0x3cc281,_0x5251e7,_0x1390b2,_0x5468d8,{'oldShapeData':{'stroke':{'width':(_0x2e48e7=_0x3cf6a0['stroke'])==null?void 0x0:_0x2e48e7[_0x923506(0x458)]}}},{'stroke':{'width':_0x35cbf4}});}_0x542f40[_0x923506(0x2b2)](u[_0x923506(0x3f0)],!0x1);},'onFocus':()=>_0x542f40[_0x1e09f6(0x2b2)](u[_0x1e09f6(0x3f0)],!0x0),'onBlur':_0x2b1c68=>{const _0x5225bd=_0x1e09f6;_0x542f40[_0x5225bd(0x2b2)](u[_0x5225bd(0x3f0)],!0x1);}})})]}),(0x0,x[_0x1e09f6(0x291)])('div',{'className':_0x1e09f6(0x24e),'children':[(0x0,x['jsx'])(_0x1e09f6(0x316),{'className':_0x1e09f6(0x201),'children':_0x10eace['t'](_0x1e09f6(0x391))}),(0x0,x[_0x1e09f6(0x530)])(_0x1e09f6(0x41f),{'className':_0x1e09f6(0x311),'children':(0x0,x[_0x1e09f6(0x530)])(v[_0x1e09f6(0x200)],{'className':_0x1e09f6(0x228),'value':String(_0x3d76d3),'options':_0x92758b,'disabled':_0x4015b2,'onChange':_0x5f4320=>{const _0x3d5be2=_0x1e09f6;var _0x182e44;_0x314e6f(Number(_0x5f4320)),z(_0x3cc281,_0x5251e7,_0x1390b2,_0x5468d8,{'oldShapeData':{'stroke':{'dashType':(_0x182e44=_0x3cf6a0['stroke'])==null?void 0x0:_0x182e44[_0x3d5be2(0x428)]}}},{'stroke':{'dashType':Number(_0x5f4320)}});}})})]}),(0x0,x[_0x1e09f6(0x291)])(_0x1e09f6(0x41f),{'className':_0x1e09f6(0x24e),'children':[(0x0,x[_0x1e09f6(0x530)])(_0x1e09f6(0x316),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x10eace['t'](_0x1e09f6(0x55c))}),(0x0,x['jsx'])(_0x1e09f6(0x41f),{'className':_0x1e09f6(0x311),'children':(0x0,x['jsx'])(v[_0x1e09f6(0x200)],{'className':_0x1e09f6(0x228),'value':String(_0x457ddf),'options':_0x44ceb8,'disabled':_0x4015b2,'onChange':_0x15a6bb=>{const _0xd9e9bc=_0x1e09f6;var _0x4050e9;_0x50cd12(Number(_0x15a6bb)),z(_0x3cc281,_0x5251e7,_0x1390b2,_0x5468d8,{'oldShapeData':{'stroke':{'capType':(_0x4050e9=_0x3cf6a0[_0xd9e9bc(0x1f0)])==null?void 0x0:_0x4050e9['capType']}}},{'stroke':{'capType':Number(_0x15a6bb)}});}})})]}),(0x0,x[_0x1e09f6(0x291)])('div',{'className':_0x1e09f6(0x24e),'children':[(0x0,x[_0x1e09f6(0x530)])(_0x1e09f6(0x316),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x10eace['t'](_0x1e09f6(0x251))}),(0x0,x[_0x1e09f6(0x530)])(_0x1e09f6(0x41f),{'className':_0x1e09f6(0x311),'children':(0x0,x[_0x1e09f6(0x530)])(v[_0x1e09f6(0x200)],{'className':'univer-w-full','value':String(_0x45dc4e),'options':_0x3571fa,'disabled':_0x4015b2,'onChange':_0x54dab5=>{const _0x2c9c13=_0x1e09f6;var _0x3c0433;_0x26f931(Number(_0x54dab5)),z(_0x3cc281,_0x5251e7,_0x1390b2,_0x5468d8,{'oldShapeData':{'stroke':{'lineJoinType':(_0x3c0433=_0x3cf6a0[_0x2c9c13(0x1f0)])==null?void 0x0:_0x3c0433[_0x2c9c13(0x4f6)]}}},{'stroke':{'lineJoinType':Number(_0x54dab5)}});}})})]}),!_0x5c98c5&&(0x0,x['jsxs'])(_0x1e09f6(0x41f),{'className':_0x1e09f6(0x24e),'children':[(0x0,x['jsx'])(_0x1e09f6(0x316),{'className':_0x1e09f6(0x201),'children':_0x10eace['t']('docs-shape-ui.line.sketchType.title')}),(0x0,x[_0x1e09f6(0x530)])(_0x1e09f6(0x41f),{'className':_0x1e09f6(0x311),'children':(0x0,x[_0x1e09f6(0x530)])(v[_0x1e09f6(0x200)],{'className':'univer-w-full','value':String(_0x233414),'options':_0x214b00,'disabled':_0x4015b2,'onChange':_0x2d2525=>{const _0x260d96=_0x1e09f6;var _0x2751de;_0x5d4182(Number(_0x2d2525)),z(_0x3cc281,_0x5251e7,_0x1390b2,_0x5468d8,{'oldShapeData':{'stroke':{'sketchType':(_0x2751de=_0x3cf6a0[_0x260d96(0x1f0)])==null?void 0x0:_0x2751de[_0x260d96(0x44c)]}}},{'stroke':{'sketchType':Number(_0x2d2525)}});}})})]}),_0x5c98c5&&(0x0,x['jsxs'])(x['Fragment'],{'children':[(0x0,x[_0x1e09f6(0x291)])(_0x1e09f6(0x41f),{'className':_0x1e09f6(0x24e),'children':[(0x0,x[_0x1e09f6(0x530)])(_0x1e09f6(0x316),{'className':_0x1e09f6(0x201),'children':_0x10eace['t'](_0x1e09f6(0x4fc))}),(0x0,x['jsx'])(_0x1e09f6(0x41f),{'className':_0x1e09f6(0x311),'children':(0x0,x[_0x1e09f6(0x530)])(v[_0x1e09f6(0x200)],{'className':'univer-w-full','value':String(_0x19b9b1),'options':_0x2ca91b,'onChange':_0x51fb82=>{const _0x561fa0=_0x1e09f6;var _0x141a26;_0x45cd3e(Number(_0x51fb82)),B(_0x3cc281,_0x5251e7,_0x1390b2,_0x5468d8,{'oldShapeData':{'ln':{'startArrow':{'type':(_0x141a26=_0x3cf6a0['ln'])==null||(_0x141a26=_0x141a26['startArrow'])==null?void 0x0:_0x141a26[_0x561fa0(0x410)]}}}},{'ln':{'startArrow':{'type':Number(_0x51fb82)}}});}})})]}),(0x0,x[_0x1e09f6(0x291)])(_0x1e09f6(0x41f),{'className':_0x1e09f6(0x24e),'children':[(0x0,x[_0x1e09f6(0x530)])('span',{'className':_0x1e09f6(0x201),'children':_0x10eace['t'](_0x1e09f6(0x19d))}),(0x0,x['jsx'])(_0x1e09f6(0x41f),{'className':_0x1e09f6(0x311),'children':(0x0,x[_0x1e09f6(0x530)])(v[_0x1e09f6(0x200)],{'className':_0x1e09f6(0x228),'value':String(_0x45593f),'options':_0x253234,'onChange':_0x3b35cb=>{const _0x1b4f6a=_0x1e09f6;var _0xbc7fbe;_0x103293(Number(_0x3b35cb)),B(_0x3cc281,_0x5251e7,_0x1390b2,_0x5468d8,{'oldShapeData':{'ln':{'startArrow':{'size':(_0xbc7fbe=_0x3cf6a0['ln'])==null||(_0xbc7fbe=_0xbc7fbe[_0x1b4f6a(0x5be)])==null?void 0x0:_0xbc7fbe[_0x1b4f6a(0x275)]}}}},{'ln':{'startArrow':{'size':Number(_0x3b35cb)}}});}})})]}),(0x0,x['jsxs'])('div',{'className':_0x1e09f6(0x24e),'children':[(0x0,x[_0x1e09f6(0x530)])(_0x1e09f6(0x316),{'className':_0x1e09f6(0x201),'children':_0x10eace['t'](_0x1e09f6(0x242))}),(0x0,x['jsx'])(_0x1e09f6(0x41f),{'className':_0x1e09f6(0x311),'children':(0x0,x[_0x1e09f6(0x530)])(v[_0x1e09f6(0x200)],{'className':_0x1e09f6(0x228),'value':String(_0x225efd),'options':_0x2ca91b,'onChange':_0x4119d3=>{const _0x3936ba=_0x1e09f6;var _0x35a22f;_0x4369c4(Number(_0x4119d3)),B(_0x3cc281,_0x5251e7,_0x1390b2,_0x5468d8,{'oldShapeData':{'ln':{'endArrow':{'type':(_0x35a22f=_0x3cf6a0['ln'])==null||(_0x35a22f=_0x35a22f[_0x3936ba(0x484)])==null?void 0x0:_0x35a22f[_0x3936ba(0x410)]}}}},{'ln':{'endArrow':{'type':Number(_0x4119d3)}}});}})})]}),(0x0,x['jsxs'])(_0x1e09f6(0x41f),{'className':_0x1e09f6(0x24e),'children':[(0x0,x[_0x1e09f6(0x530)])(_0x1e09f6(0x316),{'className':_0x1e09f6(0x201),'children':_0x10eace['t'](_0x1e09f6(0x39a))}),(0x0,x[_0x1e09f6(0x530)])(_0x1e09f6(0x41f),{'className':_0x1e09f6(0x311),'children':(0x0,x['jsx'])(v[_0x1e09f6(0x200)],{'className':_0x1e09f6(0x228),'value':String(_0x25ca7e),'options':_0x253234,'onChange':_0xd1443b=>{const _0x5487f5=_0x1e09f6;var _0x2cdb40;_0x3972ec(Number(_0xd1443b)),B(_0x3cc281,_0x5251e7,_0x1390b2,_0x5468d8,{'oldShapeData':{'ln':{'endArrow':{'size':(_0x2cdb40=_0x3cf6a0['ln'])==null||(_0x2cdb40=_0x2cdb40[_0x5487f5(0x484)])==null?void 0x0:_0x2cdb40[_0x5487f5(0x275)]}}}},{'ln':{'endArrow':{'size':Number(_0xd1443b)}}});}})})]})]})]})]});}function Y(){const _0x2d05c8=_0x5c9dd2;let _0x34cfac=(0x0,g[_0x2d05c8(0x270)])(m['IDrawingManagerService']),[_0x59c8e0,_0x23a05c]=(0x0,y[_0x2d05c8(0x2e2)])(_0x34cfac[_0x2d05c8(0x2c2)]());return(0x0,y['useEffect'])(()=>{const _0xcea019=_0x2d05c8;let _0x17b95d=_0x34cfac[_0xcea019(0x187)][_0xcea019(0x207)](_0x26e783=>{_0x23a05c(_0x26e783);});return()=>{const _0x20fae6=_0xcea019;_0x17b95d[_0x20fae6(0x3ef)]();};},[]),_0x59c8e0[_0x2d05c8(0x209)]===0x0?null:(0x0,x[_0x2d05c8(0x530)])(_0x2d05c8(0x41f),{'children':(0x0,x[_0x2d05c8(0x291)])(_0x2d05c8(0x41f),{'className':'univer-box-border\x20univer-px-4\x20univer-text-sm','children':[(0x0,x[_0x2d05c8(0x530)])(b[_0x2d05c8(0x433)],{'drawings':_0x59c8e0,'hasCropper':!0x1}),(0x0,x[_0x2d05c8(0x530)])(d['DocDrawingTextWrap'],{'drawings':_0x59c8e0}),(0x0,x[_0x2d05c8(0x530)])(d[_0x2d05c8(0x54b)],{'drawings':_0x59c8e0})]})});}function X(_0x21d0f8){const _0x272e0c=_0x5c9dd2;let {shapeData:_0x1487cb,shapeId:_0xe7f679,shapeType:_0x3549c5,version:_0x1f0b6d,unitId:_0x45d5aa,subUnitId:_0x47877c,disableShapeOption:_0x3b419d}=_0x21d0f8,_0x395acb=(0x0,g['useDependency'])(u[_0x272e0c(0x5cd)]),_0x2556ad=(0x0,c['isConnectorShape'])(_0x3549c5),[_0x9a68fc,_0x1110bc]=(0x0,y['useState'])(0x0),_0x35c3b4=[{'label':(0x0,x[_0x272e0c(0x530)])(_0x272e0c(0x41f),{'children':_0x395acb['t'](_0x272e0c(0x30e))}),'children':(0x0,x[_0x272e0c(0x530)])(_0x272e0c(0x409),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,x['jsx'])(ie,{'shapeId':_0xe7f679,'shapeData':_0x1487cb,'isLineShape':_0x2556ad,'subUnitId':_0x47877c,'unitId':_0x45d5aa,'disableShapeOption':_0x3b419d},_0xe7f679)})},{'label':(0x0,x[_0x272e0c(0x530)])(_0x272e0c(0x41f),{'children':_0x395acb['t'](_0x272e0c(0x2e0))}),'children':(0x0,x['jsx'])(_0x272e0c(0x409),{'className':_0x272e0c(0x15e),'children':(0x0,x[_0x272e0c(0x530)])(oe,{'shapeId':_0xe7f679,'shapeData':_0x1487cb,'isLineShape':_0x2556ad,'subUnitId':_0x47877c,'unitId':_0x45d5aa,'disableShapeOption':_0x3b419d},_0xe7f679)})}];return(0x0,x[_0x272e0c(0x291)])(_0x272e0c(0x41f),{'className':_0x272e0c(0x42b),'children':[(0x0,x[_0x272e0c(0x291)])(_0x272e0c(0x41f),{'className':_0x272e0c(0x1e4),'children':[(0x0,x[_0x272e0c(0x291)])('div',{'className':(0x0,v[_0x272e0c(0x319)])(_0x272e0c(0x1c2),_0x9a68fc===0x0?_0x272e0c(0x577):_0x272e0c(0x20a)),'onClick':()=>_0x1110bc(0x0),'children':[_0x395acb['t'](_0x272e0c(0x2c3)),(0x0,x[_0x272e0c(0x530)])(_0x272e0c(0x41f),{'className':(0x0,v['clsx'])(_0x272e0c(0x62f),{'univer-bg-primary-600':_0x9a68fc===0x0,'univer-bg-transparent':_0x9a68fc!==0x0})})]}),(0x0,x[_0x272e0c(0x291)])(_0x272e0c(0x41f),{'className':(0x0,v[_0x272e0c(0x319)])(_0x272e0c(0x1c2),{'univer-text-primary-600':_0x9a68fc===0x1,'univer-text-gray-500':_0x9a68fc!==0x1}),'onClick':()=>_0x1110bc(0x1),'children':[_0x395acb['t'](_0x272e0c(0x3e5)),(0x0,x[_0x272e0c(0x530)])('div',{'className':(0x0,v['clsx'])(_0x272e0c(0x396),{'univer-bg-primary-600':_0x9a68fc===0x1,'univer-bg-transparent':_0x9a68fc!==0x1})})]})]}),(0x0,x[_0x272e0c(0x530)])(_0x272e0c(0x41f),{'className':_0x272e0c(0x2b0),'children':_0x9a68fc===0x0?(0x0,x[_0x272e0c(0x530)])(_0x272e0c(0x41f),{'className':'','children':(0x0,x[_0x272e0c(0x530)])(v[_0x272e0c(0x5df)],{'items':_0x35c3b4})},_0x1f0b6d):(0x0,x[_0x272e0c(0x530)])(Y,{})})]});}function se(_0x4a860e,_0x196c4d=u[_0x5c9dd2(0x18a)][_0x5c9dd2(0x33b)]){const _0x2f084a=_0x5c9dd2;return{'id':_0x2f084a(0x57d),'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0,'paragraphStyle':{'horizontalAlign':_0x196c4d}}]},'documentStyle':{'textStyle':_0x4a860e?{..._0x4a860e}:void 0x0}};}function _0x2e39(){const _0x35c45b=['reduce','ShapeLeftRightCircularArrowIcon','save','forEach','_closeShapeEditPanel','docs-shape-ui.shape.type.no-smoking','updateDocumentStyle','docs-shape-ui.shape.type.down-arrow','ShapeDodecagonIcon','@univerjs-pro/docs-shape-ui','beginPath','width','DoubleWave','docs-shape-ui.config','ShapeFlowChartSummingJunctionIcon','EllipseRibbon','ShapeFlowChartDelayIcon','6.4','ShapeFlowChartAlternateProcessIcon','IMenuManagerService','VerticalCenterIcon','getShapeType','ShapeCubeIcon','docs-shape-ui.shape.type.flow-chart-manual-operation','docs-shape-ui.crop.shape','0.24.0-insiders.20260530-98808ab','_loadShapePictureFill','univer-flex\x20univer-items-center\x20univer-gap-3','docs-shape-ui.shape.type.flow-chart-terminator','docs-shape-ui.shape.type.non-isosceles-trapezoid','add$','ShapeBentArrowIcon','ShapeCurvedConnector3Arrow2Icon','DocsShapeUIController','isNaN','FlowchartPredefinedProcess','MIDDLE','onSavingEditorData$','ShapeBracketPairIcon','docs-shape-ui.shape.type.flow-chart-offpage-connector','SHAPE_TEXT','ShapeCloudCalloutIcon','docs-shape-ui.line.arrowType.arrow','Corner','onCommandExecuted','shapeKey','docs-shape-ui.shape.type.math-minus','docs-shape-ui.line.arrowSize.small','_drawSimpleText','clip','DocSkeletonManagerService','WrapTextType','getDrawingOrder','ItalicIcon','docs-shape-ui.shape.type.cloud','endArrow','docs-shape-ui.shape.type.left-circular-arrow','_initUIPart','docs-shape-ui.shape.type.down-arrow-callout','DocSettingIcon','ShapeRightBracketIcon','ShapeDownArrowCalloutIcon','_registerImageShapeClipDelegate','deepClone','group\x20univer-relative\x20univer-inline-block','None','ImageSourceTypeEnum','SELECTOR','setCanUseShapeClip','ShapeLeftArrowCalloutIcon','M14.3\x2010H17.5','docs-shape-ui.shape.type.vertical-scroll','InsertDocShapeMutation','DRAWING_OBJECT_LAYER_INDEX','getAncestorScale','FlowchartPunchedTape','verticalAlign','includes','TOP','ShapeRound1RectIcon','docs-shape-ui.toolbar.strikethrough','OpenArrow','_loadAndSetImage','isRichText','Transform','_configService','VerticalAlign','addImageSourceCache','image','registerDependencies','ShapeRound2DiagRectIcon','_adjName','docs-shape-ui.shape.type.star5','LeftBrace','getDrawingOKey','_getActiveDrawingShape','ShapeLineJoinEnum','doc.shape.picker.component','getImageSize','symbol','keys','PositionedObjectLayoutType','_config','getUnit','docs-shape-ui.shape.type.flow-chart-alternate-process','RibbonInsertGroup','INLINE','fillImageSourceType','_activeAdjustInfo','insertGroupObject','ShapeStraightConnector1Icon','ShapeQuadArrowIcon','isConnectorShape','gradientStops','_floatMenu','_setTransForm','WRAP_SQUARE','offsetX','ShapeCurvedConnector3Arrow1Icon','docs-shape-ui.shape.type.border-callout2','docs-shape-ui.shape.type.striped-right-arrow','ShapeCurvedConnector3Icon','calculate','setSrcRect','clip-','Star5','bind','EMPTY_PARAGRAPH_MENU_ID','ShapeRtTriangleIcon','LeftJustifyingIcon','strokeWidth','opacity','SwooshArrow','getViewports','docs-shape-ui.line.arrowType.diamondArrow','_getShapeInfo','Curved','docs-shape-ui.shape.type.up-down-arrow','ShapeHeartIcon','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','docs-shape-ui.shape.type.parallelogram','clone','docs-shape-ui.shape.type.left-bracket','createControl$','docs-shape-ui.shape.type.math-plus','ShapeHorizontalScrollIcon','Tooltip','docs-shape-ui.shape.type.curved-down-arrow','ChartPlus','DocSelectionManagerService','FOCUSING_SHAPE_TEXT_EDITOR','DEFAULT_DOC_SHAPE_WIDTH','DocumentSkeleton','none','shape-text-editor-position-wrapper','RightBracket','docs-shape-ui.shape.type.accent-border-callout1','_componentManager','ShapeEllipseIcon','ShapeChartXIcon','IrregularSeal1','ShapeAccentCallout2Icon','useEffect','docs-shape-ui.shape.group.','calcAdjValue','cos','docs-shape-ui.shape.type.action-button-information','ActionButtonHome','MathEqual','lineJoinType','SmileyFace','Diamond','ShapeSnip1RectIcon','ShapeCallout3Icon','docs-shape-ui.shape.type.heptagon','docs-shape-ui.line.beginArrowType','docs-shape-ui.line.sketchType.handDrawn','FlowchartMagneticDrum','\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','getAdjustInfoByName','scale','GradientFill','_activeShapeInfo','Heptagon','ShapeActionButtonBlankIcon','CurvedRightArrow','decorate','onSelectionStart$','DependentOn','OPERATION','VIEW_MAIN','getParent','getRenderById','makeDirty','input,\x20textarea,\x20[contenteditable=\x22true\x22],\x20[role=\x22combobox\x22],\x20.univer-select','remove$','ShapeQuadArrowCalloutIcon','Shape','OvalArrow','docs-shape-ui.shape.type.ellipse-ribbon2','function','ShapeSunIcon','startNodePosition','ShapeFlowChartDecisionIcon','ShapeLeftArrowIcon','vertical','_editingParams$','docs-shape-ui.shape.type.ribbon','UpdateDocShapeDataMutation','RightJustifyingIcon','ActionButtonReturn','setFillImage','Disposable','MathMinus','ShapeStar8Icon','onPointerUp$','scene','univer-absolute','getViewport','ShapePieWedgeIcon','call','useLeftAndRightArrow','1.4','_baseShapeWidth','ChartStar','ShapeChevronIcon','_disposePopups','jsx','ShapeFlowChartManualOperationIcon','shapeId','objects','_docDrawingShapeRenderController','CurvedConnector3','docs-shape-ui.line.joinType.miter','docs-shape-ui.shape.type.action-button-help','ShapeNotchedRightArrowIcon','BorderCallout3','PARAGRAPH','ShapeWedgeEllipseCalloutIcon','BooleanNumber','docs-shape-ui.fill.picture.align.b','UniverDocsShapePlugin','ShapeLineIcon','Round1Rect','ActionButtonBackPrevious','OrderListCommand','backward','shape-text-editor-content','ancestorTransform','VIEWPORT_KEY','_docCanvasPopManagerService','docs-shape-ui.shape.type.square-tabs','FlowchartPunchedCard','data','DocDrawingPosition','docs-shape-ui.toolbar.bold','_initCommands','rectangle','docs-shape-ui.shape.type.bent-up-arrow','FlowchartCollate','_toVisualAdjustPoint','_drawRichText','_renderManagerService','paragraphs','oKey','renderDrawingShape','BACKSPACE','docs-shape-ui.fill.color','flipY','setConfig','_getActiveDrawingParam','docs-shape-ui.line.capType.title','IURLImageService','Gear6','classType','univer-text-xs','ShapeTrapezoidIcon','executeCommand','getEditing','docs-shape-ui.shape.type.flow-chart-offline-storage','IDrawingManagerService','docs-shape-ui.shape.type.plus','getShapeTextRect','docs-shape-ui.shape.type.straight-connector2','ShapeActionButtonBeginningIcon','DocContentInsertService','MetaKeys','_isOpenedShapeEditPanel','MenuManagerPosition','BehaviorSubject','syncExecuteCommand','clearAdjustControls','memo','#ffffff','LongDashDot','docs-shape-ui.openPanel','docs-shape-ui.fill.pictureFill','Wave','univer-text-primary-600','_openShapeEditPanel','textRuns','ShapeGear9Icon','docs-shape-ui.shape.type.lightning-bolt','createInternalEditorID','shape-text','docs-shape-ui.fill.picture.align.bl','docs-shape-ui.line.width','getInverseCoord','VERTICAL_ROTATE_ANGLE','IImageIoService','ShapeLineTypeEnum','Circle','src','equationShape','onStarting','Dash','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','scaleY','ShapeMoonIcon','flowchart','DocsShapeService','LAYOUT','docs-shape-ui.shape.type.teardrop','visible','string','ShapeSnip2SameRectIcon','imageFillMode','ShapeMathDivideIcon','Medium','_updateShape','_getSceneByUnitId','Callout2','start','error','Chord','onerror','!univer-h-6\x20univer-w-24\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-px-1.5','\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','docs-shape-ui.shape.type.flow-chart-preparation','_injector','docs-shape-ui.textWrap.square','getShapeModel','Round2SameRect','StealthArrow','6379545JnLiZG','EllipseRibbon2','COMMAND','ShapeLineDashEnum','_props','ActionButtonSound','getSnapshot','SetInlineFormatFontSizeCommand','editingParams$','ShapeFolderCornerIcon','active','getBoundingClientRect','Arrow','ShapeLeftRightArrowIcon','univer-text-xl\x20univer-text-gray-500','ShapeHeptagonIcon','useIsFocusing','find','ctr','top-center','docs-shape-ui.shape.type.bent-connector3-arrow2','ShapeStripedRightArrowIcon','isInGroup','ShapeBracePairIcon','ShapeCurvedUpArrowIcon','startArrow','docs-shape-ui.shape.type.curved-connector3-arrow2','AlignBottomIcon','buildClipPath','ShapeCallout2Icon','ShapeSmileyFaceIcon','saveImage','FlowchartMultiDocument','getTransformerByCreate','docs-shape-ui.shape.type.rect-textbox-vertical','ShapeAccentBorderCallout2Icon','target','docs-shape-ui.toolbar.alignLeft','AlignRightCommand','gdRefX','LocaleService','IRenderManagerService','_hideFloatMenu','_insertShapes','_getShapeAdjustInfosById','Arc','FONT_SIZE_LIST','shapeData','viewportScrollX','gdRefY','univer-flex-1','docs-shape-ui.shape.type.flow-chart-collate','getObjectIncludeInGroup','docs-shape-ui.line.capType.flat','UpArrow','_transform','RIGHT','docs-shape-ui.shape.type.ellipse','Accordion','docs-shape-ui.shape.type.action-button-forward-next','docs-shape-ui.shape.type.callout2','RightArrowCallout','MathNotEqual','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','docs-shape-ui.fill.picture.align.tr','docs-shape-ui.shape.type.octagon','Callout3','files','docs-shape-ui.shape.type.flow-chart-magnetic-tape','_localeService','univer-max-h-[75vh]\x20univer-w-[320px]\x20univer-pb-2','ShapeArcIcon','StrikethroughIcon','setShapeProps','setCursor','_initializedShapePopupMenu','MenuItemType','ShapeRectTextboxVerticalIcon','changeStart$','adjHandleFill','GradientColorPicker','FlowchartInternalStorage','group','BOTTOM','Documents','ShapeFlowChartOrIcon','294wWxWOb','ShapeFlowChartPredefinedProcessIcon','ShapeArrowTypeEnum','ShapeUpDownArrowCalloutIcon','docs-shape-ui.shape.type.corner-tabs','ShapeMathMultiplyIcon','getDrawingByParam','FlowchartMerge','transformVector2SceneCoord','drawingId','ShapeSwooshArrowIcon','LeftRightArrow','ShapeUpArrowIcon','docs-shape-ui.shape.type.snip-round-rect','StraightConnector1','ShapeCircularArrowIcon','imageTile','ShapeCornerTabsIcon','CurvedUpArrow','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','FlowchartOffPageConnector','setPrstGeom','docs-shape-ui.shape.type.math-not-equal','ShapeAccentBorderCallout3Icon','round','getObject','getState','_initShapePopupMenu','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','VerticalScroll','docs-shape-ui.line.noLine','ShapeActionButtonMovieIcon','BOTH_SIDES','doc.command.menu-insert-shape','setDocumentData','Digit7','setOnSavingEditorData','docs-shape-ui.shape.type.frame','path','item','linear','changing$','imageOpacity','ShapeIcon','docs-shape-ui.line.arrowType.ovalArrow','ShapeDiamondIcon','univer-absolute\x20univer-z-[100]\x20univer-overflow-visible','70upbmuF','angle','ShapeFlowChartInputOutputIcon','default','ShapePentagonIcon','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md','docs-shape-ui.line.dashType.squareDot','style','ShapeMathNotEqualIcon','rect','getActualSize','URL','Rect','endNodePosition','docs-shape-ui.shape.type.flow-chart-display','getPrototypeOf','ShapeEllipseRibbonIcon','docs-shape-ui.shape.type.flow-chart-delay','ShapeVerticalScrollIcon','ShapeActionButtonDocumentIcon','backgroundColor','auto','Solid','CloudCallout','_clearShapeAdjustControls','Star6','shape-text-editor','isHit','ShapeStar10Icon','FlowchartOnlineStorage','_registerOperations','_initEditingParams','multiply','collapsed','ShapePlaqueTabsIcon','_contextService','docs-shape-ui.shape.type.irregular-seal1','ShapeWedgeRoundRectCalloutIcon','RIBBON','AlignJustifyCommand','ShapeRightArrowCalloutIcon','ShapeIrregularSeal2Icon','ShapeRectTextboxHorizontalIcon','SetInlineFormatUnderlineCommand','shapeType','_urlImageService','engine','docs-shape-ui.fill.picture.offsetY','Bevel','_initSelection','ShapeTypeEnum','_drawingManagerService','paragraph','RedoCommand','offsetY','MoreDownIcon','textStyle','vertexAngle','setAdjustValueByName','warn','ShapeCornerIcon','ISidebarService','docs-shape-ui.line.dashType.longDashDotDot','file','_createShapePopupMenu','LeftArrow','set','ShapeLeftUpArrowIcon','_baseShapeLeft','getImage','Moon','ShapeBevelIcon','univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','activeTarget','BentUpArrow','onDblclick$','adjHandleStroke','transformByState','DOC_CONTENT_INSERT_MENU_ID','ShapeActionButtonEndIcon','univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_updateAdjustControlPositions','ShapeEllipseRibbon2Icon','_addShapeAdjustControl','DRAWING_DOM','SetInlineFormatBoldCommand','ShapeStar32Icon','univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','#3B82F6','height','docs-shape-ui.line.arrowType.stealthArrow','CurvedLeftArrow','docs-shape-ui.line.joinType.bevel','MenuInsertShapeCommand','stops','wrapTopAndBottom','end','getSelectedObjectMap','ShapeLeftRightArrowCalloutIcon','_activeShapeAdjustPointList','COMMA','ShapeStar5Icon','Miter','docs-shape-ui.shape.type.cube','toStringTag','focusDrawing','docs-shape-ui.shape.type.star12','UpArrowCallout','callout','RichTextEditingMutation','docs-shape-ui.shape.type.straight-connector1','IUIPartsService','docs-shape-ui.shape.type.rect-textbox-horizontal','docs-shape-ui.shape.type.round1-rect','docs-shape-ui.shape.type.flow-chart-summing-junction','_imageIoService','ShapeBorderCallout1Icon','setTimeout','ShapeFlowChartOnlineStorageIcon','below','_toScenePoint','focus$','BorderCallout2','_clipService','HorizontalAlign','QuadArrow','IConfigService','isRenderLinePointsMode','ShapeDoubleWaveIcon','Large','_getShapeAdjustPointListById','univer-flex\x20univer-items-center\x20univer-gap-2','UpDownArrowCallout','FLOAT_TEXT_STYLE_MENU_ID','BorderCallout1','#000000','_shapeTextEditingService','getDocumentData','wrapSquare','_initMenu','_menuManagerService','UturnArrow','univer-flex\x20univer-h-7\x20univer-items-center\x20univer-gap-1\x20univer-px-1','docs-shape-ui.line.beginArrowSize','CommandType','docs-shape-ui.fill.picture.source','docs-shape-ui.shape.type.bent-connector3-arrow1','docs-shape-ui.shape.type.flow-chart-process','docs-shape-ui.shape.type.left-right-arrow-callout','docs-shape-ui.hidePanel','getShapeDataById','rgb','ShapeGear6Icon','Pie','PAGE','docs-shape-ui.shape.type.action-button-document','updateShapeFillImage','enableObjectsEvent','ShapePieIcon','docs-shape-ui.fill.transparency','attachTransformerTo','DocParagraphMenuService','getShapeData','InsertDocDrawingCommand','SetInlineFormatItalicCommand','docs-shape-ui.shape.type.trapezoid','univer-grid\x20univer-grid-cols-10\x20univer-gap-1','getDrawingPoints','paragraphStyle','_updateSrcRectByTransform','docs-shape-ui.textWrap.behindText','docs-shape-ui.shape.type.flow-chart-connector','docs-shape-ui.fill.picture.scaleX','unitId','_registerDrawingFocusChangeHandler','ActionButtonDocument','WrapStrategy','fill','changeEnd$','current','univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold','WRAP','behindText','featurePluginUpdateNotification','ShapeFlowChartMagneticDrumIcon','dataModel','docs-shape-ui.fill.noFill','wrapStrategy','disableObjectsEvent','6spNAtA','AlignTextBothIcon','label','transform','ShapePlusIcon','ShapeIrregularSeal1Icon','127691csAkNL','IEditorService','GROUP','asObservable','ShapeActionButtonBackPreviousIcon','next','applyPoint','blur','params','ShapeTextEditorContainer','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pt-2','docs-shape-ui.shape.type.flow-chart-punched-card','docs-shape-ui.line.arrowType.none','sin','AccentCallout2','1em','doc.command.update-doc-drawing-wrapping-style','registerRenderModule','updateDocumentRenderConfig','univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200','docs-shape-ui.shape.type.brace-pair','ShapeFlowChartExtractIcon','radial','DocCanvasPopManagerService','bottom','updateDocumentDataMargin','AccentBorderCallout2','ShapeDiagStripeIcon','ShapeLightningBoltIcon','ShapeStar16Icon','docs-shape-ui.shape.type.left-arrow-callout','stroke','ShapeFlowChartMultidocumentIcon','prototype','ShapeStraightConnector2Icon','push','_docSelectionRenderService','ShapeActionButtonHelpIcon','ShapeStar12Icon','value','NoLine','InputNumber','AccentBorderCallout3','NoFill','get','docs-shape-ui.shape.type.action-button-end','register','Select','univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','stopPropagation','menuRange','ShapeFlowChartOffpageConnectorIcon','univer-rounded-lg\x20univer-p-3','docs-shape-ui.shape.type.left-arrow','subscribe','Star24','length','univer-text-gray-500','docs-shape-ui.shape.type.pentagon','ShapeMathPlusIcon','ShapeNoSmokingIcon','srcRect','univer-mb-2','LeftUpArrow','onChange','_context','FoldedCorner','renderConfig','ShapeCanIcon','iterator','ShapeStar24Icon','key','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','moveRange','subscribeEvent','ShapeDonutIcon','Square','docs-shape-ui.shape.type.round2-diag-rect','SetInlineFormatStrikethroughCommand','ShapeStar7Icon','scaleX','ShapeActionButtonInformationIcon','_activeShapeId','ShapeUpDownArrowIcon','dataStream','BuiltInUIPart','ShapeDownArrowIcon','univer-w-full','docs-shape-ui.shape.type.chevron','borderClassName','BulletListCommand','FromArray','min','docs-shape-ui.shape.type.donut','_registerComponent','ShapeLeftCircularArrowIcon','gradientAngle','FALSE','univer-block\x20univer-h-[100px]\x20univer-w-[100px]\x20univer-object-cover','FlowChartInputOutput','line','ShapeWedgeRectCalloutIcon','_createShapeAdjustControls','title','currentColor','_commandService','getDrawingEditable','_draw','ShapeParallelogramIcon','addObject','onload','docs-shape-ui.shape.type.action-button-movie','10838259KfPbnm','docs-shape-ui.line.endArrowType','ContextMenuPosition','ShapeWaveIcon','ShapeLeftBracketIcon','getShapeTextData','Star12','docs-shape-ui.textWrap.inline','docs-shape-ui.shape.type.star6','docs-shape-ui.shape.type.chart-star','Plaque','docs-shape-ui.shape.type.callout3','univer-w-20\x20univer-flex-1','univer-flex\x20univer-items-center\x20univer-justify-between','ShapeFlowChartInternalStorageIcon','FlowchartDelay','docs-shape-ui.line.joinType.title','docs-shape-ui.shape.type.cloud-callout','docs-shape-ui.shape.type.half-frame','ShapeAccentBorderCallout1Icon','AlignTopIcon','registerComponent','CTRL_COMMAND','DocumentDataModel','packageName','docs-shape-ui.shape.type.action-button-return','direction','AccentCallout1','DELETE','UNIVER_DOC','DeleteRightCommand','ShapeFlowChartProcessIcon','ShapeFlowChartManualInputIcon','ShapeFlowChartMagneticTapeIcon','setSelectionRanges','Dropdown','NonIsoscelesTrapezoid','docs-shape-ui.shape.type.accent-callout1','map','docs-shape-ui.fill.picture.align.tl','docs-shape-ui.shape.type.left-right-arrow','docs-shape-ui.shape.type.flow-chart-online-storage','docs-shape-ui.shape.type.arc','ShapeArrowSizeEnum','_adjustPointObjects','NoSmoking','DRAWING_IMAGE','useDependency','mainComponent','indexOf','inFrontOfText','disableShapeOption','size','LineInv','docs-shape-ui.align.middle','disposable','docs-shape-ui.shape.type.hexagon','filter','Pentagon','ActionButtonInformation','Star8','docs-shape-ui.formatShape','layoutType','FlowchartPreparation','_transformCalculateSrcRect','ShapeActionButtonSoundIcon','ShapeBorderCallout3Icon','clearTimeout','BentArrow','ShapeFlowChartDocumentIcon','ShapeGradientTypeEnum','ShapeSquareTabsIcon','docs-shape-ui.line.dashType.solid','isHorizontal','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','useObservable','docs-shape-ui.shape.type.star4','getSkeleton','M2.5\x2010H5.7','MathMultiply','jsxs','docs-shape-ui.shape.type.star8','ShapeAccentCallout3Icon','Small','LeftRightArrowCallout','Trapezoid','ShapeChordIcon','ShapeFlowChartTerminatorIcon','docs-shape-ui.shape.type.flow-chart-magnetic-drum','true','DashDot','subUnitId','SolidLine','ShapeMathMinusIcon','DeleteIcon','docs-shape-ui.shape.type.accent-callout2','Ribbon','WedgeEllipseCallout','DEFAULT_DOC_SHAPE_HEIGHT','doc.shape.floating-toolbar','DocSelectAllCommand','ShapeLeftRightRibbonIcon','ShapeUpArrowCalloutIcon','SolidFill','docs-shape-ui.shape.type.star10','docs-shape-ui.fill.picture.align.ctr','FlowchartOr','toDisposable','ShapeFlowChartPunchedTapeIcon','ShapeRoundRectIcon','WedgeRoundRectCallout','univer-flex-1\x20univer-overflow-auto','ShapeRightArrowIcon','setContextValue','textSelection$','defineProperty','DeleteLeftCommand','UndoCommand','4pvwjNF','docs-shape-ui.shape.type.star24','docs-shape-ui.fill.picture.align.br','_adjHandlerPointerMove','SetInlineFormatSubscriptCommand','with','prstGeom','docs-shape-ui.shape.type.flow-chart-sort','FlowchartMagneticDisk','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','ShapeHomePlateIcon','getFocusDrawings','docs-shape-ui.shapeStyle','Angular','docs-shape-ui.shape.type.uturn-arrow','ShapeFlowChartOfflineStorageIcon','drawWith','BoldIcon','render','replace','translateWithPrecision','ShapeBentUpArrowIcon','LightningBolt','getDrawingData','docs-shape-ui.shape.type.right-arrow-callout','docs-shape-ui.textWrap.inFrontText','ShapeFlowChartMagneticDiskIcon','_shapeId','docs-shape-ui.fill.picture.scaleY','_getFocusedShapeAtPoint','univer-flex\x20univer-flex-col\x20univer-gap-2','univer-text-sm','ShapeFlowChartMergeIcon','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','ShapeUturnArrowIcon','ActionButtonMovie','SquareTabs','ShapeTeardropIcon','docs-shape-ui.shape.type.chart-plus','has','FOCUSING_COMMON_DRAWINGS','docs-shape-ui.line.title','getShapeTypeById','useState','ShapeFlowChartSortIcon','ShapeLineInvIcon','behindDoc','docs-shape-ui.line.arrowSize.large','univer-text-gray-600\x20univer-transition-transform','ContextMenuGroup','IUniverInstanceService','Inject','docs-shape-ui.shape.type.round-rect','onTransformChange$','getOwnPropertyDescriptor','Star10','ShapeCurvedRightArrowIcon','left','getDrawingSearch','docs-shape-ui.fill.picture.align.l','#2563EB','ENTER','drawingType','_registerDrawingTransformHandler','shapeModel','_subUnitId','ShapeChartPlusIcon','ShapeHexagonIcon','docs-shape-ui.shape.type.star16','create','doc','resize','button','segmentId','getDrawingShapeKeyByDrawingSearch','_docsShapeService','Round2DiagRect','JUSTIFIED','1454893qkmfqs','ShapeRectIcon','_unitId','DRAWING_SHAPE','FlowchartDisplay','onPointerMove$','LeftBracket','ShapeBorderCallout2Icon','pick','docs-shape-ui.fill.title','centerAngle','translate','univer-w-28','ShapeSketchTypeEnum','paragraphMenuPlacement','docs-shape-ui.line.joinType.round','ShapeNonIsoscelesTrapezoidIcon','span','ShapeFlowChartPreparationIcon','ShapeSnip2DiagRectIcon','clsx','_attachAdjustEvent','Octagon','connectInjector','ShapeCurvedDownArrowIcon','setInsertRange','FlowchartManualInput','FLOAT_TOOLBAR_MENU_POSITION','ShapeFunnelIcon','clipByShape','FlowchartExtract','toPrimitive','Gear9','docs-shape-ui.toolbar.alignCenter','getMatrix','Frame','gdRefR','RadioGroup','docs-shape-ui.shape.type.flow-chart-input-output','Radio','startOffset','lineStrokeType','Vector2','position','_sidebarService','textRect','_onSavingEditorData$','docs-shape-ui.shape.type.line','6.8','RoundDot','ShapeSnipRoundRectIcon','Linear','ShapeTriangleIcon','univer-flex\x20univer-flex-col\x20univer-gap-3','LEFT','docs-shape-ui.shape.type.accent-callout3','docs-shape-ui.shape.type.math-divide','AlignCenterCommand','UniverLicensePlugin','shapeText','blockArrow','resetCursor','ShapeFrameIcon','close','draw','UniverDocsDrawingUIPlugin','update$','CircularArrow','StripedRightArrow','horizontal','color','_init','ShapeRibbonIcon','univer-hidden','docs-shape-ui.shape.type.wave','SquareDot','viewBound','endOffset','adjHandleSize','docs-shape-ui.shape.type.diag-stripe','fillImageSource','docs-shape-ui.shape.type.round2-same-rect','docs-shape-ui.shape.type.dodecagon','LeftArrowCallout','isFinite','docs-shape-ui.shape.type.flow-chart-internal-storage','0\x200\x2020\x2020','constructor','doc.operation.close-doc-shape-format-panel','CloseDocShapeFormatPanelOperation','inline','invert','SetInlineFormatTextBackgroundColorCommand','entries','ShapeCurvedLeftArrowIcon','docs-shape-ui.shape.type.pie-wedge','disposeWithMe','Teardrop','adjName','docs-shape-ui.shape.type.circular-arrow','Cloud','univer-w-20','CornerTabs','ShapeRibbon2Icon','LeftCircularArrow','docs-shape-ui.shape.type.up-arrow-callout','AccentCallout3','documentStyle','options','docs-shape-ui.shape.type.flow-chart-extract','getFlatMenuByPositionKey','Checkbox','ShapeFlowChartPunchedCardIcon','ActionButtonBeginning','M2.5\x204.5H8.2','docs-shape-ui.shape.type.bracket-pair','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','ShapePlaqueIcon','angular','_updateShapeAdjustControls','INSERT_BELLOW_MENU_ID','_initEvents','Line','WRAP_NONE','286456cztyAT','univer-relative\x20univer-size-full\x20univer-overflow-visible','HorizontallyIcon','docs-shape-ui.shape.type.left-right-circular-arrow','gdRefAng','UniverDocsShapeUIPlugin','ActionButtonHelp','getAllUnitsForType','dispose','docs-shape-ui.deleteShape','docs-shape-ui.fill.picture.align.t','docs-shape-ui.shape.type.wedge-ellipse-callout','Chevron','getFonts','univer-pt-2','ShapeDefaultConfig','docs-shape-ui.line.dashType.title','ShapeCloudIcon','restore','LeftRightCircularArrow','onPointerDown$','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md\x20univer-bg-primary-600','Digit8','M2.5\x2015.5H8.2','max','docs-shape-ui.line.endArrowSize','onScrollAfter$','preValue','SHAPE','IContextService','clear','ActionButtonBlank','docs-shape-ui.shape.type.snip2-same-rect','Snip1Rect','docs-shape-ui.shape.type.rect','docs-shape-ui.fill.gradientFill','ShapeActionButtonHomeIcon','_clearPopups','docs-shape-ui.line.arrowSize.medium','docs-shape-ui.shape.type.wedge-rect-callout','doc.shape.text.float-menu','ShapeFlowChartConnectorIcon','KeyCode','HorizontalScroll','docs-shape-ui.fill.picture.alignment','docs-shape-ui.shape.type.plaque-tabs','getImageSourceCache','DocSelectionRenderService','fillType','diamond','docs-shape-ui.shape.type.star7','RoundRect','disabled','drawings','values','docs-shape-ui.line.solidLine','docs-shape-ui.shape.type.accent-border-callout3','horizontalAlign','RightBrace','docs-shape-ui.shape.type.snip1-rect','docs-shape-ui.shape.type.action-button-sound','_docSelectionManagerService','ShapeStar6Icon','docs-shape-ui.shape.type.accent-border-callout2','_isStartAdjusting','transparent','Radial','_drawingType','icon','monospace','starAndBanner','svg','_lastEditingShapeKey','getRealBound','univer-flex\x20univer-flex-nowrap\x20univer-gap-2\x20univer-px-2','docs-shape-ui.shape.type.ribbon2','_baseShapeHeight','ImageFillModeEnum','docs-shape-ui.fill.picture.tileAsTexture','BentConnector3','WedgeRectCallout','isHitLine','_showFloatMenu','docs-shape-ui.shape.type.triangle','complete','getActiveTextRange','ShapeRound2SameRectIcon','ShapeActionButtonForwardNextIcon','Hexagon','docs-shape-ui.fill.picture.align.r','docs-shape-ui.shape.type.math-equal','_adjHandlerPointerUp','_univerInstanceService','getDrawingVisible','RemoveDocDrawingCommand','ShapeBlockArcIcon','Tools','HalfFrame','UnderlineIcon','UniverInstanceType','docs-shape-ui.shapePosition','CENTER','ComponentManager','PictureFill','Callout1','1002852CmXuob','ShapeLeftRightUpArrowIcon','viewportScrollY','body','ActionButtonEnd','unsubscribe','FOCUSING_PANEL_EDITOR','Heart','_activeShapeModel','docs-shape-ui.line.dashType.dash','ShapeDecagonIcon','#111827','top','Dodecagon','image/*','ICommandService','PaintBucketDoubleIcon','Module','ShapeChartStarIcon','getUnitId','ShapeFillEnum','getActiveViewportByCoord','docs-shape-ui.shape.type.wedge-round-rect-callout','_isShouldShowDrawingShapeAdjust','useRef','FlowchartProcess','merge','docs-shape-ui.shape.type.flow-chart-multidocument','ShapeStar4Icon','ColorPicker','LeftRightUpArrow','section','docs-shape-ui.shape.type.chord','_sidebarDisposable','Round','useCallback','ShapeBentConnector3Arrow2Icon','docs-shape-ui.shape.type.moon','type','docs-shape-ui.shape.type.home-plate','ShapeOctagonIcon','docs-shape-ui.shape.type.callout1','isDrawingObject','SHIFT','docs-shape-ui.fill.picture.offsetX','docs-shape-ui.line.sketchType.curved','alignment','refreshShapeFillImage','ShapeFlowChartDisplayIcon','ShapeBentConnector3Arrow1Icon','isLineShape','Stretch','TRUE','div','useMemo','getSelectionRanges','docs-shape-ui.line.arrowType.openArrow','children','name','docs-shape-ui.shape.type.left-brace','ShapeRightBraceIcon','__esModule','dashType','Sun','mergeMenu','univer-size-full','Flat','Tile','other','DownArrow','Decagon','ShapeHalfFrameIcon','refreshTransform','DrawingCommonPanel','Star4','ShapeMathEqualIcon','PlaqueTabs','3372720ycxvrj','Star16','getValue','docs-shape-ui.toolbar.textColor','basicShape','SetInlineFormatSuperscriptCommand','Plus','offset','ShapeLeftBraceIcon','setEditing','ShapeActionButtonReturnIcon','UpDownArrow','DiamondArrow','updateContext','ShapeLineCapEnum','_initSelectionChange','UpdateDocShapeDataCommand','DrawingTypeEnum','PERIOD','RENDER_CLASS_TYPE','_popupMenuListener','sketchType'];_0x2e39=function(){return _0x35c45b;};return _0x2e39();}function Z(_0x7b84f1,_0x4cd3cd){const _0x3e3e4d=_0x5c9dd2;var _0x40124f,_0x14455a;let _0x174fd7=_0x7b84f1[_0x3e3e4d(0x340)],_0x46f536=_0x174fd7&&_0x3e3e4d(0x1c7)in _0x174fd7?_0x174fd7['dataModel']:void 0x0,_0x4542b5=(_0x40124f=(_0x14455a=_0x4cd3cd[_0x3e3e4d(0x3ba)])==null?_0x46f536==null?void 0x0:_0x46f536['ha']:_0x14455a)==null?u[_0x3e3e4d(0x18a)][_0x3e3e4d(0x33b)]:_0x40124f;if(_0x46f536!=null&&_0x46f536[_0x3e3e4d(0x2fd)]){var _0x10e90f,_0x1d5f4d;return{'va':(_0x10e90f=_0x46f536['va'])==null?u[_0x3e3e4d(0x4a3)][_0x3e3e4d(0x49b)]:_0x10e90f,'ha':(_0x1d5f4d=_0x46f536['ha'])==null?u[_0x3e3e4d(0x18a)]['LEFT']:_0x1d5f4d,'doc':u[_0x3e3e4d(0x3e1)][_0x3e3e4d(0x48c)](_0x46f536[_0x3e3e4d(0x2fd)])};}return{'va':u['VerticalAlign']['TOP'],'ha':_0x4542b5,'doc':se(_0x4cd3cd['textStyle'],_0x4542b5)};}function ce(_0x34d768,_0x117ed5){const _0x10b62d=_0x5c9dd2;var _0x1c2bd3,_0x5da013,_0xff3166,_0x3bcb04;let _0xc1a3d2=_0x34d768[_0x10b62d(0x340)],_0x2ce932=Z(_0x34d768,_0x117ed5),_0x212276=(_0x1c2bd3=_0x117ed5[_0x10b62d(0x3ba)])==null?_0x2ce932['ha']:_0x1c2bd3,_0x149d5d=(_0x5da013=_0x117ed5[_0x10b62d(0x499)])==null?_0x2ce932['va']:_0x5da013,_0x22cd1a=_0x2ce932[_0x10b62d(0x2fd)];if(_0x117ed5[_0x10b62d(0x146)]){var _0x485846,_0x2b1818;_0x22cd1a[_0x10b62d(0x370)]={..._0x22cd1a[_0x10b62d(0x370)],'textStyle':{...(_0x485846=_0x22cd1a['documentStyle'])==null?void 0x0:_0x485846['textStyle'],..._0x117ed5[_0x10b62d(0x146)]}};let _0x57ebe4=(_0x2b1818=_0x22cd1a['body'])==null?void 0x0:_0x2b1818[_0x10b62d(0x579)];if(_0x57ebe4){for(let _0x8f9cc1 of _0x57ebe4)_0x8f9cc1['ts']={..._0x8f9cc1['ts'],..._0x117ed5[_0x10b62d(0x146)]};}}let _0x1aeb76=(_0xff3166=_0x22cd1a[_0x10b62d(0x3ed)])==null?void 0x0:_0xff3166[_0x10b62d(0x554)];if(_0x1aeb76){for(let _0x3aca9a of _0x1aeb76)_0x3aca9a[_0x10b62d(0x1b6)]={..._0x3aca9a[_0x10b62d(0x1b6)],'horizontalAlign':_0x212276};}return{'shapeText':{'isHorizontal':(_0x3bcb04=_0xc1a3d2==null?void 0x0:_0xc1a3d2[_0x10b62d(0x28a)])==null?!0x0:_0x3bcb04,'dataModel':{'va':_0x149d5d,'ha':_0x212276,'doc':_0x22cd1a}}};}const le=_0x5c9dd2(0x2a4);function Q(_0x483f52){const _0x3f6efb=_0x5c9dd2;let _0x5827b0=_0x483f52[_0x3f6efb(0x340)];return _0x5827b0&&'dataModel'in _0x5827b0&&_0x5827b0[_0x3f6efb(0x1c7)]?_0x5827b0[_0x3f6efb(0x1c7)]:null;}function ue(_0x53941d){const _0x44bf07=_0x5c9dd2;var _0x12e17f,_0xd544be,_0x2072c4,_0x31098b;let _0x594278=(_0x12e17f=Q(_0x53941d))==null?void 0x0:_0x12e17f[_0x44bf07(0x2fd)],_0x903891=(_0xd544be=_0x594278==null||(_0x2072c4=_0x594278['body'])==null||(_0x2072c4=_0x2072c4[_0x44bf07(0x579)])==null||(_0x2072c4=_0x2072c4[0x0])==null?void 0x0:_0x2072c4['ts'])==null?{}:_0xd544be;return{..._0x594278==null||(_0x31098b=_0x594278[_0x44bf07(0x370)])==null?void 0x0:_0x31098b['textStyle'],..._0x903891};}function de(_0x2b05dd,_0x102294){const _0x37737f=_0x5c9dd2;var _0x46e513;let _0x342f22=_0x2b05dd==null||(_0x46e513=_0x2b05dd[_0x37737f(0x5ab)]()[_0x37737f(0x3b6)])==null?void 0x0:_0x46e513[_0x102294];return _0x342f22?_0x342f22['layoutType']===u[_0x37737f(0x4b2)][_0x37737f(0x380)]?_0x342f22[_0x37737f(0x2e5)]===u[_0x37737f(0x53c)]['TRUE']?_0x37737f(0x1c4):_0x37737f(0x273):_0x342f22[_0x37737f(0x27f)]===u[_0x37737f(0x4b2)][_0x37737f(0x4c1)]?_0x37737f(0x198):_0x342f22['layoutType']===u[_0x37737f(0x4b2)]['WRAP_TOP_AND_BOTTOM']?_0x37737f(0x16d):_0x37737f(0x35f):_0x37737f(0x35f);}function fe(){const _0x352f3c=_0x5c9dd2;return(0x0,x[_0x352f3c(0x530)])(_0x352f3c(0x316),{'className':_0x352f3c(0x59e)});}function pe(){const _0xcadc76=_0x5c9dd2;return(0x0,x[_0xcadc76(0x291)])(_0xcadc76(0x3c8),{'viewBox':_0xcadc76(0x35b),'width':_0xcadc76(0x1e0),'height':_0xcadc76(0x1e0),'fill':'none','aria-hidden':_0xcadc76(0x29a),'children':[(0x0,x[_0xcadc76(0x530)])('path',{'d':_0xcadc76(0x377),'stroke':_0xcadc76(0x239),'strokeWidth':'1.4','strokeLinecap':_0xcadc76(0x613)}),(0x0,x[_0xcadc76(0x530)])(_0xcadc76(0x621),{'d':'M11.8\x204.5H17.5','stroke':_0xcadc76(0x239),'strokeWidth':_0xcadc76(0x52b),'strokeLinecap':'round'}),(0x0,x['jsx'])(_0xcadc76(0x621),{'d':_0xcadc76(0x28f),'stroke':_0xcadc76(0x239),'strokeWidth':_0xcadc76(0x52b),'strokeLinecap':'round'}),(0x0,x[_0xcadc76(0x530)])(_0xcadc76(0x621),{'d':_0xcadc76(0x493),'stroke':_0xcadc76(0x239),'strokeWidth':'1.4','strokeLinecap':_0xcadc76(0x613)}),(0x0,x[_0xcadc76(0x530)])(_0xcadc76(0x621),{'d':_0xcadc76(0x398),'stroke':_0xcadc76(0x239),'strokeWidth':'1.4','strokeLinecap':_0xcadc76(0x613)}),(0x0,x[_0xcadc76(0x530)])('path',{'d':'M11.8\x2015.5H17.5','stroke':'currentColor','strokeWidth':_0xcadc76(0x52b),'strokeLinecap':_0xcadc76(0x613)}),(0x0,x[_0xcadc76(0x530)])(_0xcadc76(0x117),{'x':_0xcadc76(0x335),'y':'7','width':_0xcadc76(0x45e),'height':'6','rx':'1','stroke':'currentColor','strokeWidth':_0xcadc76(0x52b)})]});}function me(_0x50bb4b){const _0x2c2c42=_0x5c9dd2;return _0x50bb4b instanceof HTMLElement?!!_0x50bb4b['closest'](_0x2c2c42(0x50f)):!0x1;}function $(_0x52b8ec){const _0x4f19c8=_0x5c9dd2;return(0x0,x[_0x4f19c8(0x530)])(_0x4f19c8(0x41f),{'className':_0x4f19c8(0x19c),'children':_0x52b8ec[_0x4f19c8(0x423)]});}function he(_0x4c0034){const _0x2d94a3=_0x5c9dd2;return(0x0,x[_0x2d94a3(0x530)])(v[_0x2d94a3(0x4df)],{'title':_0x4c0034['title'],'placement':_0x2d94a3(0x1e9),'children':(0x0,x['jsx'])('button',{'type':_0x2d94a3(0x2ff),'disabled':_0x4c0034[_0x2d94a3(0x3b5)],'onClick':_0x4c0034['onClick'],'className':(0x0,v[_0x2d94a3(0x319)])(_0x2d94a3(0x4d8),{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x4c0034[_0x2d94a3(0x5af)]}),'children':_0x4c0034[_0x2d94a3(0x423)]})});}function ge(_0x52823a){const _0x3a751b=_0x5c9dd2;let [_0x5d531c,_0x165b2d]=(0x0,y['useState'])(!0x1);return(0x0,x[_0x3a751b(0x530)])(v[_0x3a751b(0x264)],{'disabled':_0x52823a[_0x3a751b(0x3b5)],'open':_0x5d531c,'onOpenChange':_0x165b2d,'overlay':(0x0,x[_0x3a751b(0x530)])(_0x3a751b(0x41f),{'className':'\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','children':(0x0,x[_0x3a751b(0x530)])(v['ColorPicker'],{'value':_0x52823a['color'],'onChange':_0x569fd5=>{const _0x16dc47=_0x3a751b;_0x52823a[_0x16dc47(0x211)](_0x569fd5),_0x165b2d(!0x1);}})}),'children':(0x0,x[_0x3a751b(0x530)])(_0x3a751b(0x316),{'children':(0x0,x['jsx'])(v['Tooltip'],{'title':_0x52823a['title'],'placement':'bottom','children':(0x0,x[_0x3a751b(0x291)])('button',{'type':'button','disabled':_0x52823a['disabled'],'className':_0x3a751b(0x5e4),'children':[_0x52823a[_0x3a751b(0x423)],(0x0,x[_0x3a751b(0x530)])(_0x3a751b(0x316),{'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':_0x52823a[_0x3a751b(0x34b)]}})]})})})});}function _e(_0x2149fb){const _0x552893=_0x5c9dd2;var _0x477401;let [_0x30ec6b,_0x65a7a4]=(0x0,y[_0x552893(0x2e2)])(!0x1),_0x3fc2a3=(_0x477401=_0x2149fb['options']['find'](_0x352199=>_0x352199[_0x552893(0x1f8)]===_0x2149fb[_0x552893(0x1f8)]))==null?_0x2149fb[_0x552893(0x371)][0x0]:_0x477401;return(0x0,x[_0x552893(0x530)])(v[_0x552893(0x264)],{'open':_0x30ec6b,'onOpenChange':_0x65a7a4,'overlay':(0x0,x[_0x552893(0x530)])('div',{'className':_0x552893(0x617),'children':_0x2149fb[_0x552893(0x371)][_0x552893(0x267)](_0x40d393=>(0x0,x[_0x552893(0x291)])('button',{'type':'button','onClick':()=>{const _0x1be400=_0x552893;_0x2149fb[_0x1be400(0x211)](_0x40d393[_0x1be400(0x1f8)]),_0x65a7a4(!0x1);},'className':(0x0,v[_0x552893(0x319)])('univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-gap-2\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-text-left\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800',{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x40d393[_0x552893(0x1f8)]===_0x2149fb[_0x552893(0x1f8)]}),'children':[(0x0,x[_0x552893(0x530)])(_0x552893(0x316),{'className':_0x552893(0x379),'children':_0x40d393[_0x552893(0x3c5)]}),(0x0,x[_0x552893(0x530)])(_0x552893(0x316),{'className':_0x552893(0x5d7),'children':_0x40d393['label']})]},_0x40d393[_0x552893(0x1f8)]))}),'children':(0x0,x['jsx'])(_0x552893(0x316),{'children':(0x0,x['jsx'])(v[_0x552893(0x4df)],{'title':_0x2149fb[_0x552893(0x238)],'placement':'bottom','children':(0x0,x['jsxs'])(_0x552893(0x2ff),{'type':_0x552893(0x2ff),'className':(0x0,v[_0x552893(0x319)])('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-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x30ec6b}),'children':[_0x3fc2a3[_0x552893(0x3c5)],(0x0,x['jsx'])(h[_0x552893(0x145)],{'className':_0x552893(0x560)})]})})})});}function ve(_0xb62cda){const _0x43ec4e=_0x5c9dd2;var _0xb35daa,_0x5ad88a,_0x53619c,_0x45a912,_0x306d69,_0x147663,_0x17ed21,_0xb9b290,_0x496c18,_0x115517,_0x3a2636,_0x1a2ec7,_0x1ddd3b,_0x35f429,_0x21f02b,_0x695d4e,_0x1186b0,_0x2af840,_0x8c462a,_0x11642c,_0x2c6203;let _0x5496fc=_0xb62cda['popup']['extraProps'];if(!_0x5496fc)return null;let _0x384031=(0x0,g[_0x43ec4e(0x270)])(u[_0x43ec4e(0x3f9)]),_0x44c461=(0x0,g[_0x43ec4e(0x270)])(u[_0x43ec4e(0x5cd)]),_0x3042c1=(0x0,g[_0x43ec4e(0x270)])(l[_0x43ec4e(0x58d)]),_0x546f91=(0x0,g[_0x43ec4e(0x270)])(u[_0x43ec4e(0x2e9)]),_0x589421=(0x0,g['useDependency'])(u[_0x43ec4e(0x39e)]),_0x2bb216=(0x0,g[_0x43ec4e(0x270)])(g['IFontService']),{unitId:_0x319fcc,subUnitId:_0x4378ab,drawingId:_0xca367b,shapeType:_0x4a872a}=_0x5496fc,[_0x262300,_0x11df75]=(0x0,y[_0x43ec4e(0x2e2)])(_0x5496fc[_0x43ec4e(0x5d4)]),[_0x49c82e,_0x4250f5]=(0x0,y[_0x43ec4e(0x2e2)])(!0x1),[_0xa72b9f,_0x327f34]=(0x0,y['useState'])(()=>_0x2bb216[_0x43ec4e(0x38e)]()),_0x2e8198=(_0xb35daa=_0x546f91[_0x43ec4e(0x4b4)](_0x319fcc,u['UniverInstanceType'][_0x43ec4e(0x25e)]))==null?void 0x0:_0xb35daa,[_0x3fe00c,_0x234999]=(0x0,y[_0x43ec4e(0x2e2)])(()=>de(_0x2e8198,_0xca367b)),_0x483c7b=(0x0,c[_0x43ec4e(0x4bd)])(_0x4a872a),_0x55f7df=(0x0,y[_0x43ec4e(0x420)])(()=>ue(_0x262300),[_0x262300]),_0x30ea34=(0x0,y[_0x43ec4e(0x420)])(()=>Q(_0x262300),[_0x262300]);(0x0,y[_0x43ec4e(0x4ef)])(()=>{const _0x53d151=_0x43ec4e;let _0x2eca99=_0x384031[_0x53d151(0x479)](_0x43db18=>{const _0x36300a=_0x53d151;if(_0x43db18['id']!==l[_0x36300a(0x51d)]['id'])return;let _0x3bc520=_0x3042c1[_0x36300a(0x1a4)](_0x319fcc,_0x4378ab,_0xca367b);_0x3bc520&&_0x11df75(_0x3bc520);});return()=>_0x2eca99['dispose']();},[_0x384031,_0x3042c1,_0xca367b,_0x4378ab,_0x319fcc]),(0x0,y[_0x43ec4e(0x4ef)])(()=>{const _0x4c834f=_0x43ec4e;let _0x37164b=_0x2bb216['fonts$'][_0x4c834f(0x207)](_0x25a660=>{_0x327f34(_0x25a660);});return()=>_0x37164b[_0x4c834f(0x3ef)]();},[_0x2bb216]);let _0x5b8e97=_0x211673=>{_0x11df75(_0x3ea959=>({..._0x3ea959,..._0x211673}));},_0x4477a0=_0x31c92b=>{const _0x173c52=_0x43ec4e;let _0x4bbae3=ce(_0x262300,_0x31c92b);z(_0x384031,_0x319fcc,_0x4378ab,_0xca367b,{'oldShapeData':{'shapeText':_0x262300[_0x173c52(0x340)]}},_0x4bbae3),_0x5b8e97(_0x4bbae3);},_0x269a3f=_0x4f5c4e=>{const _0x5d8b1e=_0x43ec4e;_0x234999(_0x4f5c4e),_0x384031[_0x5d8b1e(0x562)](_0x5d8b1e(0x1e1),{'unitId':_0x319fcc,'subUnitId':_0x4378ab,'drawings':[{'unitId':_0x319fcc,'subUnitId':_0x4378ab,'drawingId':_0xca367b}],'wrappingStyle':_0x4f5c4e});};if(_0x49c82e)return null;let _0x33eaa4=(_0x5ad88a=(_0x53619c=_0x262300[_0x43ec4e(0x1bf)])==null?void 0x0:_0x53619c['color'])==null?_0x43ec4e(0x166):_0x5ad88a,_0x5d767e=(_0x45a912=(_0x306d69=_0x262300['stroke'])==null?void 0x0:_0x306d69[_0x43ec4e(0x34b)])==null?_0x43ec4e(0x2f3):_0x45a912,_0x3ac1b4=(_0x147663=(_0x17ed21=_0x55f7df['cl'])==null?void 0x0:_0x17ed21[_0x43ec4e(0x1a5)])==null?_0x43ec4e(0x3f5):_0x147663,_0x1815b1=(_0xb9b290=(_0x496c18=_0x55f7df['bg'])==null?void 0x0:_0x496c18[_0x43ec4e(0x1a5)])==null?'#ffffff':_0xb9b290,_0x10e3ad=(_0x115517=_0x55f7df['ff'])==null?_0x43ec4e(0x3c6):_0x115517,_0xf13206=(_0x3a2636=_0x55f7df['fs'])==null?0xe:_0x3a2636,_0x3e905f=_0x55f7df['bl']===u[_0x43ec4e(0x53c)][_0x43ec4e(0x41e)],_0xe9378e=_0x55f7df['it']===u['BooleanNumber'][_0x43ec4e(0x41e)],_0x277a1c=((_0x1a2ec7=_0x55f7df['ul'])==null?void 0x0:_0x1a2ec7['s'])===u[_0x43ec4e(0x53c)]['TRUE'],_0x29b2f6=((_0x1ddd3b=_0x55f7df['st'])==null?void 0x0:_0x1ddd3b['s'])===u[_0x43ec4e(0x53c)][_0x43ec4e(0x41e)],_0x25e72a=_0xa72b9f[_0x43ec4e(0x267)](_0x68ec6f=>({'label':_0x44c461['t'](_0x68ec6f[_0x43ec4e(0x1cd)]),'value':_0x68ec6f[_0x43ec4e(0x1f8)]})),_0x5c8538=g[_0x43ec4e(0x5d3)][_0x43ec4e(0x267)](_0x59d9b6=>({'label':_0x59d9b6[_0x43ec4e(0x1cd)],'value':String(_0x59d9b6['value'])})),_0x5295f9=(_0x35f429=_0x30ea34==null?void 0x0:_0x30ea34['ha'])==null?u[_0x43ec4e(0x18a)][_0x43ec4e(0x33b)]:_0x35f429,_0x101e8d=(_0x21f02b=_0x30ea34==null?void 0x0:_0x30ea34['va'])==null?u[_0x43ec4e(0x4a3)][_0x43ec4e(0x49b)]:_0x21f02b,_0x3ab242=[{'label':_0x44c461['t'](_0x43ec4e(0x5ca)),'value':u[_0x43ec4e(0x18a)][_0x43ec4e(0x33b)],'icon':(0x0,x['jsx'])(h[_0x43ec4e(0x4ce)],{})},{'label':_0x44c461['t'](_0x43ec4e(0x326)),'value':u[_0x43ec4e(0x18a)][_0x43ec4e(0x3e6)],'icon':(0x0,x[_0x43ec4e(0x530)])(h[_0x43ec4e(0x383)],{})},{'label':_0x44c461['t']('docs-shape-ui.toolbar.alignRight'),'value':u[_0x43ec4e(0x18a)][_0x43ec4e(0x5dd)],'icon':(0x0,x[_0x43ec4e(0x530)])(h[_0x43ec4e(0x51e)],{})},{'label':_0x44c461['t']('docs-shape-ui.toolbar.alignJustify'),'value':u[_0x43ec4e(0x18a)][_0x43ec4e(0x304)],'icon':(0x0,x[_0x43ec4e(0x530)])(h[_0x43ec4e(0x1cc)],{})}],_0x18ea0f=[{'label':_0x44c461['t']('docs-shape-ui.align.top'),'value':u[_0x43ec4e(0x4a3)][_0x43ec4e(0x49b)],'icon':(0x0,x['jsx'])(h[_0x43ec4e(0x255)],{})},{'label':_0x44c461['t'](_0x43ec4e(0x277)),'value':u['VerticalAlign'][_0x43ec4e(0x471)],'icon':(0x0,x[_0x43ec4e(0x530)])(h[_0x43ec4e(0x461)],{})},{'label':_0x44c461['t']('docs-shape-ui.align.bottom'),'value':u[_0x43ec4e(0x4a3)]['BOTTOM'],'icon':(0x0,x[_0x43ec4e(0x530)])(h[_0x43ec4e(0x5c0)],{})}],_0x5bdeb1=[{'label':_0x44c461['t']('docs-shape-ui.textWrap.inline'),'value':_0x43ec4e(0x35f),'icon':(0x0,x[_0x43ec4e(0x530)])(pe,{})},{'label':_0x44c461['t'](_0x43ec4e(0x5a1)),'value':'wrapSquare','icon':(0x0,x['jsx'])(pe,{})},{'label':_0x44c461['t']('docs-shape-ui.textWrap.topAndBottom'),'value':_0x43ec4e(0x16d),'icon':(0x0,x[_0x43ec4e(0x530)])(pe,{})},{'label':_0x44c461['t'](_0x43ec4e(0x1b8)),'value':'behindText','icon':(0x0,x[_0x43ec4e(0x530)])(pe,{})},{'label':_0x44c461['t'](_0x43ec4e(0x2d0)),'value':'inFrontOfText','icon':(0x0,x['jsx'])(pe,{})}];return(0x0,x[_0x43ec4e(0x291)])(_0x43ec4e(0x41f),{'data-u-comp':'shape-floating-toolbar','onMouseDown':_0xcbadf2=>{const _0x3cab2e=_0x43ec4e;_0xcbadf2[_0x3cab2e(0x202)](),me(_0xcbadf2[_0x3cab2e(0x5c9)])||_0xcbadf2['preventDefault']();},'className':(0x0,v[_0x43ec4e(0x319)])(_0x43ec4e(0x2d8),v[_0x43ec4e(0x22a)]),'children':[(0x0,x[_0x43ec4e(0x291)])($,{'compact':!0x0,'children':[(0x0,x[_0x43ec4e(0x530)])(ge,{'title':_0x44c461['t'](_0x43ec4e(0x30e)),'color':_0x33eaa4,'disabled':_0x483c7b,'onChange':_0x3e595f=>{const _0x4fabe6=_0x43ec4e;let _0xb638e6={'fill':{..._0x262300[_0x4fabe6(0x1bf)],'fillType':c['ShapeFillEnum'][_0x4fabe6(0x2a8)],'color':_0x3e595f}};z(_0x384031,_0x319fcc,_0x4378ab,_0xca367b,{'oldShapeData':{'fill':_0x262300['fill']}},_0xb638e6),_0x5b8e97(_0xb638e6);},'children':(0x0,x[_0x43ec4e(0x530)])(h['PaintBucketDoubleIcon'],{'extend':{'colorChannel1':_0x33eaa4}})}),(0x0,x[_0x43ec4e(0x530)])(ge,{'title':_0x44c461['t'](_0x43ec4e(0x2e0)),'color':_0x5d767e,'onChange':_0x492370=>{const _0x1de468=_0x43ec4e;let _0xb280e9={'stroke':{..._0x262300[_0x1de468(0x1f0)],'lineStrokeType':c[_0x1de468(0x583)][_0x1de468(0x29d)],'color':_0x492370}};z(_0x384031,_0x319fcc,_0x4378ab,_0xca367b,{'oldShapeData':{'stroke':_0x262300[_0x1de468(0x1f0)]}},_0xb280e9),_0x5b8e97(_0xb280e9);},'children':(0x0,x[_0x43ec4e(0x530)])(h[_0x43ec4e(0x53f)],{})})]}),(0x0,x[_0x43ec4e(0x530)])(fe,{}),(0x0,x['jsxs'])($,{'children':[(0x0,x[_0x43ec4e(0x530)])(v['Select'],{'className':_0x43ec4e(0x59d),'value':_0x10e3ad,'options':_0x25e72a,'onChange':_0x52203f=>_0x4477a0({'textStyle':{'ff':String(_0x52203f)}})}),(0x0,x[_0x43ec4e(0x530)])(v[_0x43ec4e(0x200)],{'className':'!univer-h-6\x20univer-w-14\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-px-1.5','value':String(_0xf13206),'options':_0x5c8538,'onChange':_0x28db66=>{const _0x92daf6=_0x43ec4e;let _0x318350=Number(_0x28db66);Number[_0x92daf6(0x46f)](_0x318350)||_0x4477a0({'textStyle':{'fs':_0x318350}}),_0x589421[_0x92daf6(0x2b2)](u['FOCUSING_PANEL_EDITOR'],!0x1);}})]}),(0x0,x[_0x43ec4e(0x530)])(fe,{}),(0x0,x['jsxs'])($,{'compact':!0x0,'children':[(0x0,x[_0x43ec4e(0x530)])(he,{'title':_0x44c461['t'](_0x43ec4e(0x54c)),'active':_0x3e905f,'onClick':()=>_0x4477a0({'textStyle':{'bl':_0x3e905f?u['BooleanNumber'][_0x43ec4e(0x232)]:u['BooleanNumber']['TRUE']}}),'children':(0x0,x[_0x43ec4e(0x530)])(h[_0x43ec4e(0x2c8)],{})}),(0x0,x['jsx'])(he,{'title':_0x44c461['t']('docs-shape-ui.toolbar.italic'),'active':_0xe9378e,'onClick':()=>_0x4477a0({'textStyle':{'it':_0xe9378e?u[_0x43ec4e(0x53c)][_0x43ec4e(0x232)]:u[_0x43ec4e(0x53c)]['TRUE']}}),'children':(0x0,x[_0x43ec4e(0x530)])(h[_0x43ec4e(0x482)],{})}),(0x0,x[_0x43ec4e(0x530)])(he,{'title':_0x44c461['t']('docs-shape-ui.toolbar.underline'),'active':_0x277a1c,'onClick':()=>_0x4477a0({'textStyle':{'ul':{'s':_0x277a1c?u['BooleanNumber']['FALSE']:u['BooleanNumber'][_0x43ec4e(0x41e)]}}}),'children':(0x0,x[_0x43ec4e(0x530)])(h[_0x43ec4e(0x3e3)],{})}),(0x0,x['jsx'])(he,{'title':_0x44c461['t'](_0x43ec4e(0x49d)),'active':_0x29b2f6,'onClick':()=>_0x4477a0({'textStyle':{'st':{'s':_0x29b2f6?u[_0x43ec4e(0x53c)][_0x43ec4e(0x232)]:u['BooleanNumber']['TRUE']}}}),'children':(0x0,x['jsx'])(h[_0x43ec4e(0x5ed)],{})})]}),(0x0,x['jsx'])(fe,{}),(0x0,x[_0x43ec4e(0x291)])($,{'compact':!0x0,'children':[(0x0,x['jsx'])(ge,{'title':_0x44c461['t'](_0x43ec4e(0x43a)),'color':_0x3ac1b4,'onChange':_0x397d6f=>_0x4477a0({'textStyle':{'cl':{'rgb':_0x397d6f}}}),'children':(0x0,x['jsx'])(h['FontColorDoubleIcon'],{'extend':{'colorChannel1':_0x3ac1b4}})}),(0x0,x['jsx'])(ge,{'title':_0x44c461['t']('docs-shape-ui.toolbar.fillColor'),'color':_0x1815b1,'onChange':_0x4b23fc=>_0x4477a0({'textStyle':{'bg':{'rgb':_0x4b23fc}}}),'children':(0x0,x['jsx'])(h[_0x43ec4e(0x3fa)],{'extend':{'colorChannel1':_0x1815b1}})})]}),(0x0,x[_0x43ec4e(0x530)])(fe,{}),(0x0,x[_0x43ec4e(0x291)])($,{'compact':!0x0,'children':[(0x0,x['jsx'])(_e,{'title':(_0x695d4e=(_0x1186b0=_0x3ab242[_0x43ec4e(0x5b6)](_0x3bd9d9=>_0x3bd9d9[_0x43ec4e(0x1f8)]===_0x5295f9))==null?void 0x0:_0x1186b0[_0x43ec4e(0x1cd)])==null?_0x44c461['t']('docs-shape-ui.toolbar.alignLeft'):_0x695d4e,'value':_0x5295f9,'options':_0x3ab242,'onChange':_0x587406=>_0x4477a0({'horizontalAlign':_0x587406})}),(0x0,x[_0x43ec4e(0x530)])(_e,{'title':(_0x2af840=(_0x8c462a=_0x18ea0f['find'](_0x2f28f8=>_0x2f28f8[_0x43ec4e(0x1f8)]===_0x101e8d))==null?void 0x0:_0x8c462a[_0x43ec4e(0x1cd)])==null?_0x44c461['t']('docs-shape-ui.align.top'):_0x2af840,'value':_0x101e8d,'options':_0x18ea0f,'onChange':_0x52ef17=>_0x4477a0({'verticalAlign':_0x52ef17})})]}),(0x0,x[_0x43ec4e(0x530)])(fe,{}),(0x0,x[_0x43ec4e(0x530)])($,{'compact':!0x0,'children':(0x0,x[_0x43ec4e(0x530)])(_e,{'title':(_0x11642c=(_0x2c6203=_0x5bdeb1[_0x43ec4e(0x5b6)](_0xda138=>_0xda138[_0x43ec4e(0x1f8)]===_0x3fe00c))==null?void 0x0:_0x2c6203[_0x43ec4e(0x1cd)])==null?_0x44c461['t'](_0x43ec4e(0x248)):_0x11642c,'value':_0x3fe00c,'options':_0x5bdeb1,'onChange':_0x269a3f})}),(0x0,x['jsx'])(fe,{}),(0x0,x[_0x43ec4e(0x291)])($,{'compact':!0x0,'children':[(0x0,x[_0x43ec4e(0x530)])(he,{'title':_0x44c461['t'](_0x43ec4e(0x574)),'onClick':()=>{const _0x5ad99b=_0x43ec4e;_0x4250f5(!0x0),_0x384031[_0x5ad99b(0x562)](M['id'],{'unitId':_0x319fcc,'subUnitId':_0x4378ab,'drawingId':_0xca367b});},'children':(0x0,x['jsx'])(h[_0x43ec4e(0x488)],{})}),(0x0,x[_0x43ec4e(0x530)])(he,{'title':_0x44c461['t'](_0x43ec4e(0x38a)),'onClick':()=>{const _0xbceadf=_0x43ec4e;_0x384031[_0xbceadf(0x562)](d[_0xbceadf(0x3df)]['id'],{'unitId':_0x319fcc,'drawings':[{'unitId':_0x319fcc,'subUnitId':_0x4378ab,'drawingId':_0xca367b}]});},'children':(0x0,x[_0x43ec4e(0x530)])(h[_0x43ec4e(0x29f)],{})})]})]});}let ye=class extends u[_0x5c9dd2(0x521)]{constructor(_0x5f137d,_0x12659a){const _0xb76da7=_0x5c9dd2;super(),this['_clipService']=_0x5f137d,this['_drawingManagerService']=_0x12659a,this[_0xb76da7(0x48b)](),this[_0xb76da7(0x189)][_0xb76da7(0x491)](!0x0),this[_0xb76da7(0x365)]({'dispose':()=>this[_0xb76da7(0x189)][_0xb76da7(0x491)](!0x1)});}[_0x5c9dd2(0x48b)](){const _0x46d739=_0x5c9dd2;let _0x4acb1a=new Map(),_0x33f048=this[_0x46d739(0x189)]['registerClipDelegate']((_0x1222e3,_0x1104bc,_0x363d86,_0x2a0eb5,_0xa411ba)=>{const _0x5e7c3a=_0x46d739;let _0x18ca15=_0x1104bc;if(_0x18ca15===c['ShapeTypeEnum'][_0x5e7c3a(0x48e)]||_0x1104bc==='custom')return!0x1;try{let _0x47ca10=_0x4acb1a[_0x5e7c3a(0x1fd)](_0x1104bc);return _0x47ca10||(_0x47ca10=new c['ShapeModel'](_0x18ca15,_0x5e7c3a(0x4c9)+_0x1104bc),_0x4acb1a[_0x5e7c3a(0x150)](_0x1104bc,_0x47ca10)),_0xa411ba&&_0x47ca10['setShapeData']({'adjustValues':_0xa411ba},!0x0),_0x47ca10[_0x5e7c3a(0x444)]({'width':_0x363d86,'height':_0x2a0eb5}),_0x47ca10[_0x5e7c3a(0x5c1)](_0x1222e3,{'left':0x0,'top':0x0,'width':_0x363d86,'height':_0x2a0eb5});}catch{return!0x1;}});this['disposeWithMe'](_0x33f048),this[_0x46d739(0x365)]({'dispose':()=>_0x4acb1a[_0x46d739(0x39f)]()});}[_0x5c9dd2(0x322)](_0x1a410c,_0x1fb6aa,_0x8676cb,_0x4705a1,_0x20d3ef){const _0x2db88a=_0x5c9dd2;let _0xafec87=this[_0x2db88a(0x141)][_0x2db88a(0x2ce)](_0x1a410c,_0x1fb6aa)[_0x8676cb];!_0xafec87||_0xafec87[_0x2db88a(0x2f5)]!==u[_0x2db88a(0x448)][_0x2db88a(0x26f)]||this[_0x2db88a(0x141)][_0x2db88a(0x1c5)]([{..._0xafec87,'prstGeom':_0x4705a1,'adjustValues':_0x20d3ef}]);}};ye=W([U(0x0,(0x0,u['Inject'])(b['DrawingImageClipService'])),U(0x1,(0x0,u[_0x5c9dd2(0x2ea)])(m['IDrawingManagerService']))],ye);const be=[{'group':'line','type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x37f)],'icon':_0x5c9dd2(0x53f),'name':_0x5c9dd2(0x334)},{'group':'line','type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x609)],'icon':_0x5c9dd2(0x4bb),'name':_0x5c9dd2(0x17c),'endArrow':!0x0},{'group':_0x5c9dd2(0x235),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x609)],'icon':_0x5c9dd2(0x1f3),'name':_0x5c9dd2(0x568),'endArrow':!0x0,'startArrow':!0x0},{'group':'line','type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x3d0)],'icon':'ShapeBentConnector3Icon','name':'docs-shape-ui.shape.type.bent-connector3'},{'group':'line','type':c[_0x5c9dd2(0x140)]['BentConnector3'],'icon':_0x5c9dd2(0x41b),'name':_0x5c9dd2(0x1a0),'endArrow':!0x0},{'group':_0x5c9dd2(0x235),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x3d0)],'icon':'ShapeBentConnector3Arrow2Icon','name':_0x5c9dd2(0x5b9),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x5c9dd2(0x235),'type':c[_0x5c9dd2(0x140)]['CurvedConnector3'],'icon':_0x5c9dd2(0x4c6),'name':'docs-shape-ui.shape.type.curved-connector3'},{'group':_0x5c9dd2(0x235),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x535)],'icon':_0x5c9dd2(0x4c3),'name':'docs-shape-ui.shape.type.curved-connector3-arrow1','endArrow':!0x0},{'group':'line','type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x535)],'icon':_0x5c9dd2(0x46d),'name':_0x5c9dd2(0x5bf),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x5c9dd2(0x54e),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x11a)],'icon':_0x5c9dd2(0x306),'name':_0x5c9dd2(0x3a3)},{'group':_0x5c9dd2(0x54e),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x3b4)],'icon':'ShapeRoundRectIcon','name':_0x5c9dd2(0x2eb)},{'group':_0x5c9dd2(0x54e),'type':c['ShapeTypeEnum'][_0x5c9dd2(0x3a2)],'icon':_0x5c9dd2(0x4f9),'name':_0x5c9dd2(0x3bc)},{'group':_0x5c9dd2(0x54e),'type':c[_0x5c9dd2(0x140)]['Snip2SameRect'],'icon':_0x5c9dd2(0x592),'name':_0x5c9dd2(0x3a1)},{'group':_0x5c9dd2(0x54e),'type':c[_0x5c9dd2(0x140)]['Snip2DiagRect'],'icon':_0x5c9dd2(0x318),'name':'docs-shape-ui.shape.type.snip2-diag-rect'},{'group':_0x5c9dd2(0x54e),'type':c[_0x5c9dd2(0x140)]['SnipRoundRect'],'icon':'ShapeSnipRoundRectIcon','name':_0x5c9dd2(0x608)},{'group':_0x5c9dd2(0x54e),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x540)],'icon':_0x5c9dd2(0x49c),'name':_0x5c9dd2(0x17f)},{'group':'rectangle','type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x5a3)],'icon':_0x5c9dd2(0x3d7),'name':_0x5c9dd2(0x356)},{'group':_0x5c9dd2(0x54e),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x303)],'icon':'ShapeRound2DiagRectIcon','name':_0x5c9dd2(0x21e)},{'group':_0x5c9dd2(0x43b),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x11a)],'icon':_0x5c9dd2(0x138),'name':_0x5c9dd2(0x17e),'horizontal':!0x0},{'group':_0x5c9dd2(0x43b),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x11a)],'icon':_0x5c9dd2(0x5f2),'name':_0x5c9dd2(0x5c7),'vertical':!0x0},{'group':_0x5c9dd2(0x43b),'type':c[_0x5c9dd2(0x140)]['Ellipse'],'icon':_0x5c9dd2(0x4eb),'name':_0x5c9dd2(0x5de)},{'group':_0x5c9dd2(0x43b),'type':c[_0x5c9dd2(0x140)]['Triangle'],'icon':'ShapeTriangleIcon','name':_0x5c9dd2(0x3d4)},{'group':_0x5c9dd2(0x43b),'type':c[_0x5c9dd2(0x140)]['RightTriangle'],'icon':_0x5c9dd2(0x4cd),'name':'docs-shape-ui.shape.type.rt-triangle'},{'group':_0x5c9dd2(0x43b),'type':c['ShapeTypeEnum']['Parallelogram'],'icon':_0x5c9dd2(0x23d),'name':_0x5c9dd2(0x4d9)},{'group':'basicShape','type':c['ShapeTypeEnum'][_0x5c9dd2(0x296)],'icon':_0x5c9dd2(0x561),'name':_0x5c9dd2(0x1b3)},{'group':_0x5c9dd2(0x43b),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x4f8)],'icon':_0x5c9dd2(0x628),'name':'docs-shape-ui.shape.type.diamond'},{'group':_0x5c9dd2(0x43b),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x27b)],'icon':_0x5c9dd2(0x62e),'name':_0x5c9dd2(0x20b)},{'group':_0x5c9dd2(0x43b),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x3d9)],'icon':_0x5c9dd2(0x2fa),'name':_0x5c9dd2(0x279)},{'group':_0x5c9dd2(0x43b),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x504)],'icon':'ShapeHeptagonIcon','name':_0x5c9dd2(0x4fb)},{'group':_0x5c9dd2(0x43b),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x31b)],'icon':_0x5c9dd2(0x412),'name':_0x5c9dd2(0x5e6)},{'group':_0x5c9dd2(0x43b),'type':c['ShapeTypeEnum'][_0x5c9dd2(0x430)],'icon':_0x5c9dd2(0x3f4),'name':'docs-shape-ui.shape.type.decagon'},{'group':'basicShape','type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x3f7)],'icon':_0x5c9dd2(0x455),'name':_0x5c9dd2(0x357)},{'group':'basicShape','type':c['ShapeTypeEnum'][_0x5c9dd2(0x1a7)],'icon':_0x5c9dd2(0x1ac),'name':'docs-shape-ui.shape.type.pie'},{'group':'basicShape','type':c['ShapeTypeEnum'][_0x5c9dd2(0x59b)],'icon':_0x5c9dd2(0x297),'name':_0x5c9dd2(0x40a)},{'group':_0x5c9dd2(0x43b),'type':c['ShapeTypeEnum'][_0x5c9dd2(0x366)],'icon':_0x5c9dd2(0x2dc),'name':_0x5c9dd2(0x58f)},{'group':_0x5c9dd2(0x43b),'type':c['ShapeTypeEnum'][_0x5c9dd2(0x328)],'icon':_0x5c9dd2(0x343),'name':_0x5c9dd2(0x620)},{'group':_0x5c9dd2(0x43b),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x3e2)],'icon':_0x5c9dd2(0x431),'name':_0x5c9dd2(0x253)},{'group':_0x5c9dd2(0x43b),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x478)],'icon':_0x5c9dd2(0x14a),'name':'docs-shape-ui.shape.type.corner'},{'group':'basicShape','type':c[_0x5c9dd2(0x140)]['DiagStripe'],'icon':'ShapeDiagStripeIcon','name':_0x5c9dd2(0x354)},{'group':_0x5c9dd2(0x43b),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x43d)],'icon':_0x5c9dd2(0x1cf),'name':_0x5c9dd2(0x566)},{'group':'basicShape','type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x24b)],'icon':_0x5c9dd2(0x37a),'name':'docs-shape-ui.shape.type.plaque'},{'group':_0x5c9dd2(0x43b),'type':c[_0x5c9dd2(0x140)]['Can'],'icon':_0x5c9dd2(0x215),'name':'docs-shape-ui.shape.type.can'},{'group':'basicShape','type':c[_0x5c9dd2(0x140)]['Cube'],'icon':_0x5c9dd2(0x463),'name':_0x5c9dd2(0x175)},{'group':'basicShape','type':c['ShapeTypeEnum']['Bevel'],'icon':_0x5c9dd2(0x155),'name':'docs-shape-ui.shape.type.bevel'},{'group':'basicShape','type':c[_0x5c9dd2(0x140)]['Donut'],'icon':_0x5c9dd2(0x21c),'name':_0x5c9dd2(0x22e)},{'group':_0x5c9dd2(0x43b),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x26e)],'icon':_0x5c9dd2(0x20d),'name':_0x5c9dd2(0x452)},{'group':_0x5c9dd2(0x43b),'type':c[_0x5c9dd2(0x140)]['BlockArc'],'icon':_0x5c9dd2(0x3e0),'name':'docs-shape-ui.shape.type.block-arc'},{'group':_0x5c9dd2(0x43b),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x213)],'icon':'ShapeFolderCornerIcon','name':'docs-shape-ui.shape.type.folder-corner'},{'group':_0x5c9dd2(0x43b),'type':c['ShapeTypeEnum'][_0x5c9dd2(0x4f7)],'icon':_0x5c9dd2(0x5c3),'name':'docs-shape-ui.shape.type.smiley-face'},{'group':_0x5c9dd2(0x43b),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x3f1)],'icon':'ShapeHeartIcon','name':'docs-shape-ui.shape.type.heart'},{'group':_0x5c9dd2(0x43b),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x2cd)],'icon':'ShapeLightningBoltIcon','name':_0x5c9dd2(0x57b)},{'group':_0x5c9dd2(0x43b),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x429)],'icon':_0x5c9dd2(0x516),'name':'docs-shape-ui.shape.type.sun'},{'group':_0x5c9dd2(0x43b),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x154)],'icon':_0x5c9dd2(0x58b),'name':_0x5c9dd2(0x40f)},{'group':_0x5c9dd2(0x43b),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x369)],'icon':_0x5c9dd2(0x392),'name':_0x5c9dd2(0x483)},{'group':_0x5c9dd2(0x43b),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x5d2)],'icon':_0x5c9dd2(0x5ec),'name':_0x5c9dd2(0x26b)},{'group':_0x5c9dd2(0x43b),'type':c[_0x5c9dd2(0x140)]['BracketPair'],'icon':_0x5c9dd2(0x473),'name':_0x5c9dd2(0x378)},{'group':_0x5c9dd2(0x43b),'type':c['ShapeTypeEnum']['BracePair'],'icon':_0x5c9dd2(0x5bc),'name':_0x5c9dd2(0x1e5)},{'group':'basicShape','type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x30b)],'icon':_0x5c9dd2(0x245),'name':_0x5c9dd2(0x4db)},{'group':_0x5c9dd2(0x43b),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x4e8)],'icon':_0x5c9dd2(0x489),'name':'docs-shape-ui.shape.type.right-bracket'},{'group':_0x5c9dd2(0x43b),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x4aa)],'icon':_0x5c9dd2(0x43f),'name':_0x5c9dd2(0x425)},{'group':_0x5c9dd2(0x43b),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x3bb)],'icon':_0x5c9dd2(0x426),'name':'docs-shape-ui.shape.type.right-brace'},{'group':_0x5c9dd2(0x341),'type':c['ShapeTypeEnum']['RightArrow'],'icon':_0x5c9dd2(0x2b1),'name':'docs-shape-ui.shape.type.right-arrow'},{'group':'blockArrow','type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x14f)],'icon':_0x5c9dd2(0x519),'name':_0x5c9dd2(0x206)},{'group':_0x5c9dd2(0x341),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x5db)],'icon':'ShapeUpArrowIcon','name':'docs-shape-ui.shape.type.up-arrow'},{'group':'blockArrow','type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x42f)],'icon':'ShapeDownArrowIcon','name':_0x5c9dd2(0x454)},{'group':_0x5c9dd2(0x341),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x606)],'icon':_0x5c9dd2(0x5b2),'name':_0x5c9dd2(0x269)},{'group':'blockArrow','type':c['ShapeTypeEnum'][_0x5c9dd2(0x442)],'icon':_0x5c9dd2(0x224),'name':_0x5c9dd2(0x4d6)},{'group':_0x5c9dd2(0x341),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x18b)],'icon':_0x5c9dd2(0x4bc),'name':'docs-shape-ui.shape.type.quad-arrow'},{'group':'blockArrow','type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x408)],'icon':_0x5c9dd2(0x3eb),'name':'docs-shape-ui.shape.type.left-right-up-arrow'},{'group':_0x5c9dd2(0x341),'type':c['ShapeTypeEnum'][_0x5c9dd2(0x285)],'icon':_0x5c9dd2(0x46c),'name':'docs-shape-ui.shape.type.bent-arrow'},{'group':_0x5c9dd2(0x341),'type':c['ShapeTypeEnum'][_0x5c9dd2(0x19b)],'icon':_0x5c9dd2(0x2d9),'name':_0x5c9dd2(0x2c5)},{'group':_0x5c9dd2(0x341),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x210)],'icon':'ShapeLeftUpArrowIcon','name':'docs-shape-ui.shape.type.left-up-arrow'},{'group':_0x5c9dd2(0x341),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x158)],'icon':_0x5c9dd2(0x2cc),'name':_0x5c9dd2(0x54f)},{'group':_0x5c9dd2(0x341),'type':c['ShapeTypeEnum'][_0x5c9dd2(0x506)],'icon':_0x5c9dd2(0x2ef),'name':'docs-shape-ui.shape.type.curved-right-arrow'},{'group':'blockArrow','type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x169)],'icon':'ShapeCurvedLeftArrowIcon','name':'docs-shape-ui.shape.type.curved-left-arrow'},{'group':'blockArrow','type':c['ShapeTypeEnum'][_0x5c9dd2(0x60d)],'icon':_0x5c9dd2(0x5bd),'name':'docs-shape-ui.shape.type.curved-up-arrow'},{'group':_0x5c9dd2(0x341),'type':c[_0x5c9dd2(0x140)]['CurvedDownArrow'],'icon':_0x5c9dd2(0x31d),'name':_0x5c9dd2(0x4e0)},{'group':_0x5c9dd2(0x341),'type':c['ShapeTypeEnum'][_0x5c9dd2(0x349)],'icon':'ShapeStripedRightArrowIcon','name':_0x5c9dd2(0x4c5)},{'group':_0x5c9dd2(0x341),'type':c['ShapeTypeEnum']['NotchedRightArrow'],'icon':'ShapeNotchedRightArrowIcon','name':'docs-shape-ui.shape.type.notched-right-arrow'},{'group':_0x5c9dd2(0x341),'type':c[_0x5c9dd2(0x140)]['HomePlate'],'icon':_0x5c9dd2(0x2c1),'name':_0x5c9dd2(0x411)},{'group':_0x5c9dd2(0x341),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x38d)],'icon':_0x5c9dd2(0x52e),'name':_0x5c9dd2(0x229)},{'group':_0x5c9dd2(0x341),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x5e2)],'icon':_0x5c9dd2(0x136),'name':_0x5c9dd2(0x2cf)},{'group':_0x5c9dd2(0x341),'type':c[_0x5c9dd2(0x140)]['DownArrowCallout'],'icon':_0x5c9dd2(0x48a),'name':_0x5c9dd2(0x487)},{'group':_0x5c9dd2(0x341),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x358)],'icon':_0x5c9dd2(0x492),'name':_0x5c9dd2(0x1ef)},{'group':_0x5c9dd2(0x341),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x179)],'icon':_0x5c9dd2(0x2a7),'name':_0x5c9dd2(0x36e)},{'group':_0x5c9dd2(0x341),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x295)],'icon':_0x5c9dd2(0x170),'name':_0x5c9dd2(0x1a2)},{'group':_0x5c9dd2(0x341),'type':c[_0x5c9dd2(0x140)]['QuadArrowCallout'],'icon':_0x5c9dd2(0x511),'name':'docs-shape-ui.shape.type.quad-arrow-callout'},{'group':_0x5c9dd2(0x341),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x348)],'icon':_0x5c9dd2(0x60a),'name':_0x5c9dd2(0x368)},{'group':_0x5c9dd2(0x586),'type':c['ShapeTypeEnum']['MathPlus'],'icon':_0x5c9dd2(0x20c),'name':_0x5c9dd2(0x4dd)},{'group':'equationShape','type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x522)],'icon':_0x5c9dd2(0x29e),'name':_0x5c9dd2(0x47b)},{'group':_0x5c9dd2(0x586),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x290)],'icon':_0x5c9dd2(0x600),'name':'docs-shape-ui.shape.type.math-multiply'},{'group':_0x5c9dd2(0x586),'type':c[_0x5c9dd2(0x140)]['MathDivide'],'icon':_0x5c9dd2(0x594),'name':_0x5c9dd2(0x33d)},{'group':_0x5c9dd2(0x586),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x4f5)],'icon':_0x5c9dd2(0x435),'name':_0x5c9dd2(0x3db)},{'group':_0x5c9dd2(0x586),'type':c['ShapeTypeEnum'][_0x5c9dd2(0x5e3)],'icon':'ShapeMathNotEqualIcon','name':_0x5c9dd2(0x611)},{'group':'flowchart','type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x403)],'icon':_0x5c9dd2(0x260),'name':_0x5c9dd2(0x1a1)},{'group':'flowchart','type':c[_0x5c9dd2(0x140)]['FlowchartAlternateProcess'],'icon':_0x5c9dd2(0x45f),'name':_0x5c9dd2(0x4b5)},{'group':_0x5c9dd2(0x58c),'type':c[_0x5c9dd2(0x140)]['FlowchartDecision'],'icon':_0x5c9dd2(0x518),'name':'docs-shape-ui.shape.type.flow-chart-decision'},{'group':'flowchart','type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x234)],'icon':_0x5c9dd2(0x62c),'name':_0x5c9dd2(0x32b)},{'group':_0x5c9dd2(0x58c),'type':c['ShapeTypeEnum'][_0x5c9dd2(0x470)],'icon':_0x5c9dd2(0x5fc),'name':'docs-shape-ui.shape.type.flow-chart-predefined-process'},{'group':'flowchart','type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x5f6)],'icon':_0x5c9dd2(0x24f),'name':_0x5c9dd2(0x35a)},{'group':_0x5c9dd2(0x58c),'type':c[_0x5c9dd2(0x140)]['FlowchartDocument'],'icon':'ShapeFlowChartDocumentIcon','name':'docs-shape-ui.shape.type.flow-chart-document'},{'group':_0x5c9dd2(0x58c),'type':c['ShapeTypeEnum'][_0x5c9dd2(0x5c5)],'icon':'ShapeFlowChartMultidocumentIcon','name':_0x5c9dd2(0x405)},{'group':_0x5c9dd2(0x58c),'type':c[_0x5c9dd2(0x140)]['FlowchartTerminator'],'icon':'ShapeFlowChartTerminatorIcon','name':_0x5c9dd2(0x469)},{'group':_0x5c9dd2(0x58c),'type':c['ShapeTypeEnum'][_0x5c9dd2(0x280)],'icon':_0x5c9dd2(0x317),'name':_0x5c9dd2(0x59f)},{'group':_0x5c9dd2(0x58c),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x31f)],'icon':_0x5c9dd2(0x261),'name':'docs-shape-ui.shape.type.flow-chart-manual-input'},{'group':_0x5c9dd2(0x58c),'type':c['ShapeTypeEnum']['FlowchartManualOperation'],'icon':'ShapeFlowChartManualOperationIcon','name':_0x5c9dd2(0x464)},{'group':_0x5c9dd2(0x58c),'type':c['ShapeTypeEnum']['FlowchartConnector'],'icon':_0x5c9dd2(0x3aa),'name':_0x5c9dd2(0x1b9)},{'group':_0x5c9dd2(0x58c),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x60f)],'icon':_0x5c9dd2(0x204),'name':_0x5c9dd2(0x474)},{'group':'flowchart','type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x549)],'icon':_0x5c9dd2(0x375),'name':_0x5c9dd2(0x1dc)},{'group':_0x5c9dd2(0x58c),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x498)],'icon':_0x5c9dd2(0x2ad),'name':'docs-shape-ui.shape.type.flow-chart-punched-tape'},{'group':_0x5c9dd2(0x58c),'type':c[_0x5c9dd2(0x140)]['FlowchartSummingJunction'],'icon':_0x5c9dd2(0x45b),'name':_0x5c9dd2(0x180)},{'group':'flowchart','type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x2ab)],'icon':_0x5c9dd2(0x5fa),'name':'docs-shape-ui.shape.type.flow-chart-or'},{'group':_0x5c9dd2(0x58c),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x550)],'icon':'ShapeFlowChartCollateIcon','name':_0x5c9dd2(0x5d8)},{'group':_0x5c9dd2(0x58c),'type':c[_0x5c9dd2(0x140)]['FlowchartSort'],'icon':_0x5c9dd2(0x2e3),'name':_0x5c9dd2(0x2be)},{'group':_0x5c9dd2(0x58c),'type':c['ShapeTypeEnum'][_0x5c9dd2(0x323)],'icon':_0x5c9dd2(0x1e6),'name':_0x5c9dd2(0x372)},{'group':_0x5c9dd2(0x58c),'type':c['ShapeTypeEnum'][_0x5c9dd2(0x602)],'icon':_0x5c9dd2(0x2d7),'name':'docs-shape-ui.shape.type.flow-chart-merge'},{'group':_0x5c9dd2(0x58c),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x12b)],'icon':_0x5c9dd2(0x184),'name':_0x5c9dd2(0x26a)},{'group':_0x5c9dd2(0x58c),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x250)],'icon':_0x5c9dd2(0x45d),'name':_0x5c9dd2(0x11f)},{'group':_0x5c9dd2(0x58c),'type':c[_0x5c9dd2(0x140)]['FlowchartMagneticTape'],'icon':_0x5c9dd2(0x262),'name':_0x5c9dd2(0x5e9)},{'group':_0x5c9dd2(0x58c),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x2bf)],'icon':_0x5c9dd2(0x2d1),'name':'docs-shape-ui.shape.type.flow-chart-magnetic-disk'},{'group':_0x5c9dd2(0x58c),'type':c['ShapeTypeEnum'][_0x5c9dd2(0x4fe)],'icon':_0x5c9dd2(0x1c6),'name':_0x5c9dd2(0x299)},{'group':_0x5c9dd2(0x58c),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x309)],'icon':'ShapeFlowChartDisplayIcon','name':_0x5c9dd2(0x11c)},{'group':'starAndBanner','type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x4ed)],'icon':_0x5c9dd2(0x1d0),'name':_0x5c9dd2(0x132)},{'group':_0x5c9dd2(0x3c7),'type':c[_0x5c9dd2(0x140)]['IrregularSeal2'],'icon':_0x5c9dd2(0x137),'name':'docs-shape-ui.shape.type.irregular-seal2'},{'group':'starAndBanner','type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x434)],'icon':'ShapeStar4Icon','name':_0x5c9dd2(0x28d)},{'group':_0x5c9dd2(0x3c7),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x4ca)],'icon':_0x5c9dd2(0x173),'name':_0x5c9dd2(0x4a9)},{'group':_0x5c9dd2(0x3c7),'type':c['ShapeTypeEnum'][_0x5c9dd2(0x127)],'icon':_0x5c9dd2(0x3bf),'name':_0x5c9dd2(0x249)},{'group':_0x5c9dd2(0x3c7),'type':c[_0x5c9dd2(0x140)]['Star7'],'icon':_0x5c9dd2(0x220),'name':_0x5c9dd2(0x3b3)},{'group':_0x5c9dd2(0x3c7),'type':c['ShapeTypeEnum'][_0x5c9dd2(0x27d)],'icon':'ShapeStar8Icon','name':_0x5c9dd2(0x292)},{'group':_0x5c9dd2(0x3c7),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x2ee)],'icon':_0x5c9dd2(0x12a),'name':_0x5c9dd2(0x2a9)},{'group':'starAndBanner','type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x247)],'icon':_0x5c9dd2(0x1f7),'name':_0x5c9dd2(0x178)},{'group':_0x5c9dd2(0x3c7),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x438)],'icon':'ShapeStar16Icon','name':_0x5c9dd2(0x2fb)},{'group':'starAndBanner','type':c['ShapeTypeEnum'][_0x5c9dd2(0x208)],'icon':_0x5c9dd2(0x217),'name':_0x5c9dd2(0x2b8)},{'group':'starAndBanner','type':c[_0x5c9dd2(0x140)]['Star32'],'icon':'ShapeStar32Icon','name':'docs-shape-ui.shape.type.star32'},{'group':_0x5c9dd2(0x3c7),'type':c[_0x5c9dd2(0x140)]['Ribbon2'],'icon':'ShapeRibbon2Icon','name':_0x5c9dd2(0x3cc)},{'group':_0x5c9dd2(0x3c7),'type':c['ShapeTypeEnum'][_0x5c9dd2(0x2a1)],'icon':_0x5c9dd2(0x34d),'name':_0x5c9dd2(0x51c)},{'group':'starAndBanner','type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x5a6)],'icon':'ShapeEllipseRibbon2Icon','name':_0x5c9dd2(0x514)},{'group':_0x5c9dd2(0x3c7),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x45c)],'icon':_0x5c9dd2(0x11e),'name':'docs-shape-ui.shape.type.ellipse-ribbon'},{'group':_0x5c9dd2(0x3c7),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x618)],'icon':_0x5c9dd2(0x120),'name':_0x5c9dd2(0x494)},{'group':_0x5c9dd2(0x3c7),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x3ac)],'icon':'ShapeHorizontalScrollIcon','name':'docs-shape-ui.shape.type.horizontal-scroll'},{'group':_0x5c9dd2(0x3c7),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x576)],'icon':'ShapeWaveIcon','name':_0x5c9dd2(0x34f)},{'group':_0x5c9dd2(0x3c7),'type':c['ShapeTypeEnum'][_0x5c9dd2(0x459)],'icon':'ShapeDoubleWaveIcon','name':'docs-shape-ui.shape.type.double-wave'},{'group':_0x5c9dd2(0x17a),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x3d1)],'icon':_0x5c9dd2(0x236),'name':_0x5c9dd2(0x3a8)},{'group':_0x5c9dd2(0x17a),'type':c['ShapeTypeEnum'][_0x5c9dd2(0x2af)],'icon':_0x5c9dd2(0x133),'name':_0x5c9dd2(0x400)},{'group':_0x5c9dd2(0x17a),'type':c['ShapeTypeEnum'][_0x5c9dd2(0x2a2)],'icon':_0x5c9dd2(0x53b),'name':_0x5c9dd2(0x38c)},{'group':_0x5c9dd2(0x17a),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x125)],'icon':'ShapeCloudCalloutIcon','name':_0x5c9dd2(0x252)},{'group':_0x5c9dd2(0x17a),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x194)],'icon':_0x5c9dd2(0x182),'name':'docs-shape-ui.shape.type.border-callout1'},{'group':_0x5c9dd2(0x17a),'type':c['ShapeTypeEnum'][_0x5c9dd2(0x188)],'icon':_0x5c9dd2(0x30c),'name':_0x5c9dd2(0x4c4)},{'group':_0x5c9dd2(0x17a),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x539)],'icon':_0x5c9dd2(0x283),'name':'docs-shape-ui.shape.type.border-callout3'},{'group':_0x5c9dd2(0x17a),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x25c)],'icon':'ShapeAccentCallout1Icon','name':_0x5c9dd2(0x266)},{'group':'callout','type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x1df)],'icon':_0x5c9dd2(0x4ee),'name':_0x5c9dd2(0x2a0)},{'group':_0x5c9dd2(0x17a),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x36f)],'icon':_0x5c9dd2(0x293),'name':_0x5c9dd2(0x33c)},{'group':_0x5c9dd2(0x17a),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x3e9)],'icon':'ShapeCallout1Icon','name':_0x5c9dd2(0x413)},{'group':'callout','type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x598)],'icon':_0x5c9dd2(0x5c2),'name':_0x5c9dd2(0x5e1)},{'group':_0x5c9dd2(0x17a),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x5e7)],'icon':_0x5c9dd2(0x4fa),'name':_0x5c9dd2(0x24c)},{'group':_0x5c9dd2(0x17a),'type':c[_0x5c9dd2(0x140)]['AccentBorderCallout1'],'icon':_0x5c9dd2(0x254),'name':_0x5c9dd2(0x4e9)},{'group':_0x5c9dd2(0x17a),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x1eb)],'icon':'ShapeAccentBorderCallout2Icon','name':_0x5c9dd2(0x3c0)},{'group':_0x5c9dd2(0x17a),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x1fb)],'icon':_0x5c9dd2(0x612),'name':_0x5c9dd2(0x3b9)},{'group':_0x5c9dd2(0x42e),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x36d)],'icon':'ShapeLeftCircularArrowIcon','name':_0x5c9dd2(0x485)},{'group':'other','type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x394)],'icon':_0x5c9dd2(0x44e),'name':_0x5c9dd2(0x384)},{'group':_0x5c9dd2(0x42e),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x4d1)],'icon':'ShapeSwooshArrowIcon','name':'docs-shape-ui.shape.type.swoosh-arrow'},{'group':'other','type':c[_0x5c9dd2(0x140)]['LeftRightRibbon'],'icon':_0x5c9dd2(0x2a6),'name':'docs-shape-ui.shape.type.left-right-ribbon'},{'group':_0x5c9dd2(0x42e),'type':c[_0x5c9dd2(0x140)]['PieWedge'],'icon':_0x5c9dd2(0x528),'name':_0x5c9dd2(0x364)},{'group':_0x5c9dd2(0x42e),'type':c[_0x5c9dd2(0x140)]['Funnel'],'icon':_0x5c9dd2(0x321),'name':'docs-shape-ui.shape.type.funnel'},{'group':_0x5c9dd2(0x42e),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x55e)],'icon':'ShapeGear6Icon','name':'docs-shape-ui.shape.type.gear6'},{'group':_0x5c9dd2(0x42e),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x325)],'icon':_0x5c9dd2(0x57a),'name':'docs-shape-ui.shape.type.gear9'},{'group':_0x5c9dd2(0x42e),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x36b)],'icon':_0x5c9dd2(0x60c),'name':_0x5c9dd2(0x5ff)},{'group':_0x5c9dd2(0x42e),'type':c['ShapeTypeEnum'][_0x5c9dd2(0x541)],'icon':'ShapeActionButtonBackPreviousIcon','name':'docs-shape-ui.shape.type.action-button-back-previous'},{'group':_0x5c9dd2(0x42e),'type':c[_0x5c9dd2(0x140)]['ActionButtonForwardNext'],'icon':'ShapeActionButtonForwardNextIcon','name':_0x5c9dd2(0x5e0)},{'group':_0x5c9dd2(0x42e),'type':c['ShapeTypeEnum'][_0x5c9dd2(0x376)],'icon':'ShapeActionButtonBeginningIcon','name':'docs-shape-ui.shape.type.action-button-beginning'},{'group':_0x5c9dd2(0x42e),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x3ee)],'icon':_0x5c9dd2(0x15d),'name':_0x5c9dd2(0x1fe)},{'group':_0x5c9dd2(0x42e),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x4f4)],'icon':_0x5c9dd2(0x3a5),'name':'docs-shape-ui.shape.type.action-button-home'},{'group':_0x5c9dd2(0x42e),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x27c)],'icon':_0x5c9dd2(0x222),'name':_0x5c9dd2(0x4f3)},{'group':_0x5c9dd2(0x42e),'type':c['ShapeTypeEnum'][_0x5c9dd2(0x51f)],'icon':'ShapeActionButtonReturnIcon','name':_0x5c9dd2(0x25a)},{'group':_0x5c9dd2(0x42e),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x2da)],'icon':_0x5c9dd2(0x61a),'name':_0x5c9dd2(0x240)},{'group':_0x5c9dd2(0x42e),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x1bd)],'icon':_0x5c9dd2(0x121),'name':_0x5c9dd2(0x1a9)},{'group':_0x5c9dd2(0x42e),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x5aa)],'icon':_0x5c9dd2(0x282),'name':_0x5c9dd2(0x3bd)},{'group':_0x5c9dd2(0x42e),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x387)],'icon':_0x5c9dd2(0x1f6),'name':_0x5c9dd2(0x537)},{'group':_0x5c9dd2(0x42e),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x3a0)],'icon':_0x5c9dd2(0x505),'name':'docs-shape-ui.shape.type.action-button-blank'},{'group':_0x5c9dd2(0x42e),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x4e1)],'icon':_0x5c9dd2(0x2f9),'name':_0x5c9dd2(0x2dd)},{'group':_0x5c9dd2(0x42e),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x52d)],'icon':_0x5c9dd2(0x3fc),'name':_0x5c9dd2(0x24a)},{'group':_0x5c9dd2(0x42e),'type':c[_0x5c9dd2(0x140)]['ChartX'],'icon':'ShapeChartXIcon','name':'docs-shape-ui.shape.type.chart-x'},{'group':_0x5c9dd2(0x42e),'type':c[_0x5c9dd2(0x140)]['FlowChartOfflineStorage'],'icon':_0x5c9dd2(0x2c6),'name':_0x5c9dd2(0x564)},{'group':_0x5c9dd2(0x42e),'type':c['ShapeTypeEnum'][_0x5c9dd2(0x276)],'icon':_0x5c9dd2(0x2e4),'name':'docs-shape-ui.shape.type.line-inv'},{'group':_0x5c9dd2(0x42e),'type':c['ShapeTypeEnum'][_0x5c9dd2(0x436)],'icon':_0x5c9dd2(0x130),'name':_0x5c9dd2(0x3ae)},{'group':'other','type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x2db)],'icon':_0x5c9dd2(0x288),'name':_0x5c9dd2(0x548)},{'group':_0x5c9dd2(0x42e),'type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x192)],'icon':_0x5c9dd2(0x5fe),'name':'docs-shape-ui.shape.type.up-down-arrow-callout'},{'group':'other','type':c[_0x5c9dd2(0x140)][_0x5c9dd2(0x265)],'icon':_0x5c9dd2(0x315),'name':_0x5c9dd2(0x46a)}],xe=_0x5c9dd2(0x4ae);function Se({onShapeClick:_0x2f14f8,excludeGroups:_0x4e1008}){const _0x27193a=_0x5c9dd2;let _0x21b534=(0x0,g[_0x27193a(0x270)])(u[_0x27193a(0x5cd)]),_0x4a874c=(0x0,g[_0x27193a(0x270)])(g['ComponentManager']),_0x1f116a=(_0x4e1008?be['filter'](_0x34fdb8=>!_0x4e1008[_0x27193a(0x49a)](_0x34fdb8[_0x27193a(0x5f7)])):be)[_0x27193a(0x44d)]((_0x28a55d,_0x37b837)=>(_0x28a55d[_0x37b837['group']]||(_0x28a55d[_0x37b837['group']]=[]),_0x28a55d[_0x37b837[_0x27193a(0x5f7)]][_0x27193a(0x1f4)](_0x37b837),_0x28a55d),{});return(0x0,x[_0x27193a(0x530)])(_0x27193a(0x41f),{'className':_0x27193a(0x5eb),'children':Object[_0x27193a(0x362)](_0x1f116a)[_0x27193a(0x267)](([_0x2eef47,_0x310a4c])=>(0x0,x[_0x27193a(0x291)])(_0x27193a(0x41f),{'className':_0x27193a(0x20f),'children':[(0x0,x[_0x27193a(0x530)])(_0x27193a(0x41f),{'className':_0x27193a(0x219),'children':_0x21b534['t'](_0x27193a(0x4f0)+_0x2eef47)}),(0x0,x[_0x27193a(0x530)])(_0x27193a(0x41f),{'className':_0x27193a(0x1b4),'children':_0x310a4c[_0x27193a(0x267)](_0x22ae39=>{const _0x2a49f3=_0x27193a;let _0x56c28b=_0x4a874c[_0x2a49f3(0x1fd)](_0x22ae39[_0x2a49f3(0x3c5)]);return(0x0,x[_0x2a49f3(0x530)])(_0x2a49f3(0x41f),{'title':_0x21b534['t'](_0x22ae39[_0x2a49f3(0x424)]),'onClick':()=>_0x2f14f8(_0x22ae39),'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':_0x56c28b&&(0x0,x[_0x2a49f3(0x530)])(_0x56c28b,{'className':_0x2a49f3(0x42b)})},_0x22ae39['name']);})})]},_0x2eef47))});}function Ce(){const _0x4e4095=_0x5c9dd2;let _0x53d042=(0x0,g['useDependency'])(u['LocaleService']),_0x1089c0=(0x0,g[_0x4e4095(0x270)])(m[_0x4e4095(0x565)]),_0x2af6d1=(0x0,g['useDependency'])(ye),[_0x23c4c6,_0x506794]=(0x0,y['useState'])(!0x1);return(0x0,x[_0x4e4095(0x530)])(v['Dropdown'],{'side':_0x4e4095(0x2f0),'open':_0x23c4c6,'onOpenChange':_0x506794,'overlay':(0x0,x['jsx'])(Se,{'onShapeClick':_0x497a3f=>{const _0x364175=_0x4e4095;let _0xaee889=_0x1089c0[_0x364175(0x2c2)]()[_0x364175(0x5b6)](_0x463887=>_0x463887[_0x364175(0x2f5)]===u['DrawingTypeEnum']['DRAWING_IMAGE']);if(!_0xaee889)return;let {unitId:_0x2f47a2,subUnitId:_0x3aee46,drawingId:_0x130104}=_0xaee889;_0x2af6d1[_0x364175(0x322)](_0x2f47a2,_0x3aee46,_0x130104,_0x497a3f[_0x364175(0x410)]),_0x506794(!0x1);},'excludeGroups':[_0x4e4095(0x235)]}),'children':(0x0,x[_0x4e4095(0x530)])(v['Button'],{'children':_0x53d042['t'](_0x4e4095(0x465))})});}function we({paragraphMenuPlacement:_0x40f8d6}){const _0x312265=_0x5c9dd2;let _0x2640f6=(0x0,g[_0x312265(0x270)])(u[_0x312265(0x3f9)]);return(0x0,x[_0x312265(0x530)])(Se,{'onShapeClick':_0x4b1716=>{const _0x22fe3e=_0x312265;_0x2640f6[_0x22fe3e(0x562)](A['id'],{'paragraphMenuPlacement':_0x40f8d6,'value':_0x4b1716[_0x22fe3e(0x410)],'enhanceParams':{'endArrow':_0x4b1716[_0x22fe3e(0x484)],'startArrow':_0x4b1716['startArrow'],'horizontal':_0x4b1716[_0x22fe3e(0x34a)],'vertical':_0x4b1716['vertical']}});}});}function Te(_0x14615d){const _0x4516e1=_0x5c9dd2;return _0x2f4a69=>({'id':A['id'],'type':g[_0x4516e1(0x5f1)][_0x4516e1(0x490)],'selections':[{'label':{'name':xe,'hoverable':!0x1,'selectable':!0x1,'props':_0x14615d?{'id':A['id'],'paragraphMenuPlacement':_0x14615d}:{'id':A['id']}}}],'icon':'ShapeIcon','title':'docs-shape-ui.title','tooltip':'docs-shape-ui.insertShape','hidden$':(0x0,g['getMenuHiddenObservable'])(_0x2f4a69,u[_0x4516e1(0x3e4)][_0x4516e1(0x25e)])});}const Ee=Te(),De=Te('below'),Oe=Te('target'),ke={[g[_0x5c9dd2(0x4b6)]['MEDIA']]:{[A['id']]:{'order':0x4,'menuItemFactory':Ee}},[g[_0x5c9dd2(0x243)]['PARAGRAPH']]:{[g[_0x5c9dd2(0x2e8)][_0x5c9dd2(0x58e)]]:{[f[_0x5c9dd2(0x37d)]]:{[A['id']]:{'order':0x8,'menuItemFactory':De}}},[f[_0x5c9dd2(0x15c)]]:{[g[_0x5c9dd2(0x2e8)][_0x5c9dd2(0x58e)]]:{[A['id']]:{'order':0x8,'menuItemFactory':De}}},[f[_0x5c9dd2(0x4cc)]]:{[g['ContextMenuGroup'][_0x5c9dd2(0x58e)]]:{[A['id']]:{'order':0x8,'menuItemFactory':Oe}}}}};let Ae=class extends u['Disposable']{constructor(_0x229e7b,_0x5fc7d4,_0x46d418,_0x48e075,_0x1b4b56,_0x58f8ec,_0x214931,_0x2df7b2,_0x439407,_0x53b558,_0x34eaff,_0x105906){const _0x446114=_0x5c9dd2;super(),this[_0x446114(0x3dd)]=_0x229e7b,this['_sidebarService']=_0x5fc7d4,this[_0x446114(0x19a)]=_0x46d418,this['_docsShapeService']=_0x48e075,this[_0x446114(0x5ea)]=_0x1b4b56,this[_0x446114(0x4ea)]=_0x58f8ec,this[_0x446114(0x23a)]=_0x214931,this[_0x446114(0x141)]=_0x2df7b2,this[_0x446114(0x547)]=_0x439407,this[_0x446114(0x553)]=_0x53b558,this['_contextService']=_0x34eaff,this[_0x446114(0x196)]=_0x105906,L(this,_0x446114(0x40b),null),L(this,_0x446114(0x503),null),L(this,'_isOpenedShapeEditPanel',!0x1),L(this,_0x446114(0x5f0),new Set()),L(this,'_disposePopups',[]),this['_registerComponent'](),this['_initMenu'](),this[_0x446114(0x365)](this[_0x446114(0x3dd)]['getCurrentTypeOfUnit$'](u[_0x446114(0x3e4)][_0x446114(0x25e)])[_0x446114(0x207)](_0x127a7c=>{const _0x2ecb7f=_0x446114;if(!_0x127a7c){var _0x128986;(_0x128986=this[_0x2ecb7f(0x40b)])==null||_0x128986['dispose']();return;}this['_createShapePopupMenu'](_0x127a7c);})),this[_0x446114(0x12c)](),this[_0x446114(0x616)](),this[_0x446114(0x365)](this[_0x446114(0x196)][_0x446114(0x5ad)][_0x446114(0x207)](_0x32f792=>{const _0x26e5b5=_0x446114;_0x32f792&&this[_0x26e5b5(0x3a6)]();}));}[_0x5c9dd2(0x199)](){const _0x13c86b=_0x5c9dd2;this['_menuManagerService'][_0x13c86b(0x42a)](ke);}['_initShapePopupMenu'](){const _0x4705b0=_0x5c9dd2;this['_univerInstanceService'][_0x4705b0(0x388)](u[_0x4705b0(0x3e4)]['UNIVER_DOC'])[_0x4705b0(0x450)](_0xf83a56=>this[_0x4705b0(0x14e)](_0xf83a56));}['getShapePopupMenus'](_0x14e580,_0x10c060,_0x245fb9,_0x5a1c08){const _0x5eeabf=_0x5c9dd2;return[{'label':'docs-shape-ui.openPanel','index':0x0,'commandId':M['id'],'commandParams':{'unitId':_0x14e580,'subUnitId':_0x10c060,'drawingId':_0x245fb9},'disable':_0x5a1c08===u[_0x5eeabf(0x448)][_0x5eeabf(0x162)]},{'label':'docs-shape-ui.deleteShape','index':0x1,'commandId':d[_0x5eeabf(0x3df)]['id'],'commandParams':{'unitId':_0x14e580,'drawings':[{'unitId':_0x14e580,'subUnitId':_0x10c060,'drawingId':_0x245fb9}]},'disable':!0x1},{'label':_0x5eeabf(0x1a3),'index':0x2,'commandId':j['id'],'commandParams':{'unitId':_0x14e580,'subUnitId':_0x10c060,'drawingId':_0x245fb9},'disable':!0x1}];}['_getShapeInfo'](_0x51f969,_0x376714,_0x13e191){const _0x5b7cbd=_0x5c9dd2;let _0x2e9ae7=this[_0x5b7cbd(0x302)][_0x5b7cbd(0x2e1)](_0x51f969,_0x376714,_0x13e191),_0x6f7120=this[_0x5b7cbd(0x302)][_0x5b7cbd(0x1a4)](_0x51f969,_0x376714,_0x13e191);return _0x2e9ae7!==void 0x0&&_0x6f7120!==void 0x0?{'shapeData':_0x6f7120,'shapeId':_0x13e191,'shapeType':_0x2e9ae7,'unitId':_0x51f969,'subUnitId':_0x376714,'disableShapeOption':!0x1}:null;}[_0x5c9dd2(0x14e)](_0x16a11d){const _0x47c87a=_0x5c9dd2;if(!_0x16a11d)return;let _0xe23ab5=_0x16a11d[_0x47c87a(0x3fd)]();this[_0x47c87a(0x553)][_0x47c87a(0x2de)](_0xe23ab5)&&!this[_0x47c87a(0x5f0)][_0x47c87a(0x2de)](_0xe23ab5)&&(this[_0x47c87a(0x44b)](_0xe23ab5),this[_0x47c87a(0x5f0)]['add'](_0xe23ab5));}[_0x5c9dd2(0x3a6)](){const _0x37e0a0=_0x5c9dd2;this['_disposePopups'][_0x37e0a0(0x450)](_0x26d9ef=>_0x26d9ef['dispose']()),this[_0x37e0a0(0x52f)][_0x37e0a0(0x209)]=0x0;}[_0x5c9dd2(0x44b)](_0x26a330){const _0x190de6=_0x5c9dd2;var _0x192621;let _0x2babd7=(_0x192621=this['_renderManagerService']['getRenderById'](_0x26a330))==null?void 0x0:_0x192621[_0x190de6(0x525)],_0x250e48=_0x2babd7==null?void 0x0:_0x2babd7[_0x190de6(0x5c6)]();!_0x2babd7||!_0x250e48||(this[_0x190de6(0x365)](_0x250e48[_0x190de6(0x4dc)]['subscribe'](()=>{const _0x18d508=_0x190de6;let _0x3d1dfa=_0x250e48[_0x18d508(0x16f)]();if(this['_clearPopups'](),this['_isOpenedShapeEditPanel']||_0x3d1dfa[_0x18d508(0x275)]>0x1)return;let _0x5b3d5f=_0x3d1dfa[_0x18d508(0x3b7)]()[_0x18d508(0x1d6)]()[_0x18d508(0x1f8)];if(!_0x5b3d5f)return;let _0x1c96db=this[_0x18d508(0x141)][_0x18d508(0x4ab)](_0x5b3d5f[_0x18d508(0x555)]);if(!_0x1c96db||_0x1c96db[_0x18d508(0x2f5)]!==u[_0x18d508(0x448)][_0x18d508(0x308)])return;let {unitId:_0xad2b51,subUnitId:_0x3b3807,drawingId:_0x4abb56,drawingType:_0x121523}=_0x1c96db,_0x1bd631=this[_0x18d508(0x4d4)](_0xad2b51,_0x3b3807,_0x4abb56);if(!_0x1bd631)return;let _0x222a47=this[_0x18d508(0x547)]['attachPopupToObject'](_0x5b3d5f,{'componentKey':le,'direction':_0x18d508(0x5b8),'offset':[0x0,0x8],'extraProps':{'unitId':_0xad2b51,'subUnitId':_0x3b3807,'drawingId':_0x4abb56,'drawingType':_0x121523,'shapeType':_0x1bd631['shapeType'],'shapeData':_0x1bd631[_0x18d508(0x5d4)]}},_0xad2b51);this[_0x18d508(0x52f)][_0x18d508(0x1f4)](this[_0x18d508(0x365)](_0x222a47)),this['_drawingManagerService']['getFocusDrawings']()[_0x18d508(0x5b6)](_0xcef1d6=>_0xcef1d6[_0x18d508(0x1bb)]===_0xad2b51&&_0xcef1d6['subUnitId']===_0x3b3807&&_0xcef1d6[_0x18d508(0x604)]===_0x4abb56)||this[_0x18d508(0x141)][_0x18d508(0x177)]([{'unitId':_0xad2b51,'subUnitId':_0x3b3807,'drawingId':_0x4abb56}]);})),this[_0x190de6(0x365)](_0x250e48['clearControl$'][_0x190de6(0x207)](()=>{const _0x2ab577=_0x190de6;this[_0x2ab577(0x3a6)](),this[_0x2ab577(0x131)][_0x2ab577(0x2b2)](u[_0x2ab577(0x2df)],!0x1),this[_0x2ab577(0x141)]['focusDrawing'](null);})),this[_0x190de6(0x365)](_0x250e48[_0x190de6(0x624)][_0x190de6(0x207)](()=>{const _0x4b9197=_0x190de6;this[_0x4b9197(0x3a6)]();})),this[_0x190de6(0x365)](_0x250e48[_0x190de6(0x5f3)][_0x190de6(0x207)](()=>{const _0x4a11cc=_0x190de6;this[_0x4a11cc(0x3a6)]();})));}['_registerOperations'](){const _0x534937=_0x5c9dd2;this[_0x534937(0x365)](this[_0x534937(0x23a)]['onCommandExecuted'](_0x5b1285=>{const _0x1242c6=_0x534937;if(_0x5b1285['id']===M['id']){let {unitId:_0x47730d,subUnitId:_0x3fbc6e,drawingId:_0x13b330}=_0x5b1285[_0x1242c6(0x1d9)];this[_0x1242c6(0x503)]=this[_0x1242c6(0x4d4)](_0x47730d,_0x3fbc6e,_0x13b330),this[_0x1242c6(0x3a6)](),this[_0x1242c6(0x578)]();}if(_0x5b1285['id']===j['id']&&(this['_activeShapeInfo']=null,this[_0x1242c6(0x451)]()),_0x5b1285['id']===l['UpdateDocShapeDataMutation']['id']){let {unitId:_0x1e62e2,shapeId:_0x2e0980}=_0x5b1285[_0x1242c6(0x1d9)];if(this[_0x1242c6(0x503)]&&this[_0x1242c6(0x503)][_0x1242c6(0x532)]===_0x2e0980){let _0x4b3828=this[_0x1242c6(0x4d4)](_0x1e62e2,this[_0x1242c6(0x503)]['subUnitId'],_0x2e0980);_0x4b3828&&(this['_activeShapeInfo']=_0x4b3828);}}})),this[_0x534937(0x365)](this[_0x534937(0x141)][_0x534937(0x187)][_0x534937(0x207)](_0x1046ad=>{const _0x340794=_0x534937;if(this['_isOpenedShapeEditPanel']===!0x1)return;if(_0x1046ad[_0x340794(0x209)]===0x0){this[_0x340794(0x503)]=null,this[_0x340794(0x451)]();return;}if(_0x1046ad[_0x340794(0x209)]===0x1&&_0x1046ad[0x0][_0x340794(0x2f5)]===u[_0x340794(0x448)][_0x340794(0x308)]&&(this['_activeShapeInfo']=this[_0x340794(0x4d4)](_0x1046ad[0x0]['unitId'],_0x1046ad[0x0][_0x340794(0x29c)],_0x1046ad[0x0][_0x340794(0x604)]),this[_0x340794(0x503)])){this[_0x340794(0x578)]();return;}let _0x127a28=_0x1046ad[_0x340794(0x27a)](_0x539a9f=>_0x539a9f[_0x340794(0x2f5)]===u[_0x340794(0x448)]['DRAWING_SHAPE']);if(_0x1046ad['length']>0x1&&_0x127a28[_0x340794(0x209)]===_0x1046ad[_0x340794(0x209)]){if(this[_0x340794(0x503)]=this[_0x340794(0x4d4)](_0x1046ad[0x0]['unitId'],_0x1046ad[0x0]['subUnitId'],_0x1046ad[0x0][_0x340794(0x604)]),this[_0x340794(0x503)]){this[_0x340794(0x578)]();return;}}else{if(this[_0x340794(0x503)]=this[_0x340794(0x4d4)](_0x1046ad[0x0]['unitId'],_0x1046ad[0x0][_0x340794(0x29c)],_0x1046ad[0x0][_0x340794(0x604)]),this[_0x340794(0x503)]){this[_0x340794(0x503)][_0x340794(0x274)]=!0x0,this[_0x340794(0x578)]();return;}}this[_0x340794(0x451)]();}));}[_0x5c9dd2(0x22f)](){const _0x433e36=_0x5c9dd2;[[_0x433e36(0x626),h['ShapeIcon']],[_0x433e36(0x254),h[_0x433e36(0x254)]],[_0x433e36(0x5c8),h['ShapeAccentBorderCallout2Icon']],[_0x433e36(0x612),h[_0x433e36(0x612)]],['ShapeAccentCallout1Icon',h['ShapeAccentCallout1Icon']],['ShapeAccentCallout2Icon',h[_0x433e36(0x4ee)]],[_0x433e36(0x293),h['ShapeAccentCallout3Icon']],[_0x433e36(0x1d5),h[_0x433e36(0x1d5)]],[_0x433e36(0x569),h[_0x433e36(0x569)]],[_0x433e36(0x505),h['ShapeActionButtonBlankIcon']],[_0x433e36(0x121),h[_0x433e36(0x121)]],[_0x433e36(0x15d),h[_0x433e36(0x15d)]],[_0x433e36(0x3d8),h[_0x433e36(0x3d8)]],['ShapeActionButtonHelpIcon',h[_0x433e36(0x1f6)]],[_0x433e36(0x3a5),h['ShapeActionButtonHomeIcon']],[_0x433e36(0x222),h[_0x433e36(0x222)]],['ShapeActionButtonMovieIcon',h[_0x433e36(0x61a)]],[_0x433e36(0x441),h[_0x433e36(0x441)]],[_0x433e36(0x282),h['ShapeActionButtonSoundIcon']],[_0x433e36(0x5ec),h[_0x433e36(0x5ec)]],['ShapeBentArrowIcon',h[_0x433e36(0x46c)]],['ShapeBentConnector3Arrow1Icon',h[_0x433e36(0x41b)]],[_0x433e36(0x40e),h[_0x433e36(0x40e)]],['ShapeBentConnector3Icon',h['ShapeBentConnector3Icon']],['ShapeBentUpArrowIcon',h[_0x433e36(0x2cc)]],['ShapeBevelIcon',h['ShapeBevelIcon']],[_0x433e36(0x3e0),h[_0x433e36(0x3e0)]],['ShapeBorderCallout1Icon',h['ShapeBorderCallout1Icon']],[_0x433e36(0x30c),h[_0x433e36(0x30c)]],[_0x433e36(0x283),h[_0x433e36(0x283)]],[_0x433e36(0x5bc),h[_0x433e36(0x5bc)]],[_0x433e36(0x473),h[_0x433e36(0x473)]],['ShapeCallout1Icon',h['ShapeCallout1Icon']],['ShapeCallout2Icon',h[_0x433e36(0x5c2)]],[_0x433e36(0x4fa),h[_0x433e36(0x4fa)]],[_0x433e36(0x215),h[_0x433e36(0x215)]],[_0x433e36(0x2f9),h['ShapeChartPlusIcon']],[_0x433e36(0x3fc),h['ShapeChartStarIcon']],[_0x433e36(0x4ec),h[_0x433e36(0x4ec)]],[_0x433e36(0x52e),h['ShapeChevronIcon']],[_0x433e36(0x297),h[_0x433e36(0x297)]],[_0x433e36(0x60a),h['ShapeCircularArrowIcon']],[_0x433e36(0x476),h[_0x433e36(0x476)]],[_0x433e36(0x392),h[_0x433e36(0x392)]],['ShapeCornerIcon',h[_0x433e36(0x14a)]],['ShapeCornerTabsIcon',h[_0x433e36(0x60c)]],[_0x433e36(0x463),h['ShapeCubeIcon']],[_0x433e36(0x4c3),h['ShapeCurvedConnector3Arrow1Icon']],[_0x433e36(0x46d),h[_0x433e36(0x46d)]],['ShapeCurvedConnector3Icon',h[_0x433e36(0x4c6)]],[_0x433e36(0x31d),h[_0x433e36(0x31d)]],[_0x433e36(0x363),h[_0x433e36(0x363)]],[_0x433e36(0x2ef),h['ShapeCurvedRightArrowIcon']],[_0x433e36(0x5bd),h['ShapeCurvedUpArrowIcon']],[_0x433e36(0x3f4),h[_0x433e36(0x3f4)]],[_0x433e36(0x1ec),h[_0x433e36(0x1ec)]],[_0x433e36(0x628),h[_0x433e36(0x628)]],['ShapeDodecagonIcon',h[_0x433e36(0x455)]],['ShapeDonutIcon',h[_0x433e36(0x21c)]],[_0x433e36(0x18e),h[_0x433e36(0x18e)]],[_0x433e36(0x48a),h[_0x433e36(0x48a)]],[_0x433e36(0x227),h['ShapeDownArrowIcon']],['ShapeEllipseIcon',h[_0x433e36(0x4eb)]],[_0x433e36(0x160),h['ShapeEllipseRibbon2Icon']],[_0x433e36(0x11e),h[_0x433e36(0x11e)]],[_0x433e36(0x45f),h[_0x433e36(0x45f)]],['ShapeFlowChartCollateIcon',h['ShapeFlowChartCollateIcon']],['ShapeFlowChartConnectorIcon',h[_0x433e36(0x3aa)]],[_0x433e36(0x518),h[_0x433e36(0x518)]],['ShapeFlowChartDelayIcon',h[_0x433e36(0x45d)]],[_0x433e36(0x41a),h[_0x433e36(0x41a)]],[_0x433e36(0x286),h[_0x433e36(0x286)]],[_0x433e36(0x1e6),h[_0x433e36(0x1e6)]],[_0x433e36(0x62c),h[_0x433e36(0x62c)]],[_0x433e36(0x24f),h['ShapeFlowChartInternalStorageIcon']],[_0x433e36(0x2d1),h[_0x433e36(0x2d1)]],[_0x433e36(0x1c6),h['ShapeFlowChartMagneticDrumIcon']],['ShapeFlowChartMagneticTapeIcon',h[_0x433e36(0x262)]],['ShapeFlowChartManualInputIcon',h[_0x433e36(0x261)]],[_0x433e36(0x531),h[_0x433e36(0x531)]],[_0x433e36(0x2d7),h[_0x433e36(0x2d7)]],['ShapeFlowChartMultidocumentIcon',h[_0x433e36(0x1f1)]],[_0x433e36(0x2c6),h[_0x433e36(0x2c6)]],[_0x433e36(0x204),h[_0x433e36(0x204)]],[_0x433e36(0x184),h[_0x433e36(0x184)]],[_0x433e36(0x5fa),h[_0x433e36(0x5fa)]],[_0x433e36(0x5fc),h['ShapeFlowChartPredefinedProcessIcon']],[_0x433e36(0x317),h[_0x433e36(0x317)]],[_0x433e36(0x260),h['ShapeFlowChartProcessIcon']],[_0x433e36(0x375),h['ShapeFlowChartPunchedCardIcon']],[_0x433e36(0x2ad),h[_0x433e36(0x2ad)]],[_0x433e36(0x2e3),h[_0x433e36(0x2e3)]],[_0x433e36(0x45b),h[_0x433e36(0x45b)]],[_0x433e36(0x298),h['ShapeFlowChartTerminatorIcon']],[_0x433e36(0x5ae),h[_0x433e36(0x5ae)]],['ShapeFrameIcon',h['ShapeFrameIcon']],[_0x433e36(0x321),h[_0x433e36(0x321)]],[_0x433e36(0x1a6),h[_0x433e36(0x1a6)]],['ShapeGear9Icon',h[_0x433e36(0x57a)]],['ShapeHalfFrameIcon',h[_0x433e36(0x431)]],[_0x433e36(0x4d7),h[_0x433e36(0x4d7)]],[_0x433e36(0x5b4),h[_0x433e36(0x5b4)]],[_0x433e36(0x2fa),h[_0x433e36(0x2fa)]],[_0x433e36(0x2c1),h[_0x433e36(0x2c1)]],[_0x433e36(0x4de),h[_0x433e36(0x4de)]],[_0x433e36(0x1d0),h[_0x433e36(0x1d0)]],[_0x433e36(0x137),h[_0x433e36(0x137)]],[_0x433e36(0x492),h['ShapeLeftArrowCalloutIcon']],[_0x433e36(0x519),h[_0x433e36(0x519)]],[_0x433e36(0x43f),h[_0x433e36(0x43f)]],[_0x433e36(0x245),h[_0x433e36(0x245)]],[_0x433e36(0x230),h[_0x433e36(0x230)]],[_0x433e36(0x170),h[_0x433e36(0x170)]],[_0x433e36(0x5b2),h[_0x433e36(0x5b2)]],[_0x433e36(0x44e),h[_0x433e36(0x44e)]],[_0x433e36(0x2a6),h['ShapeLeftRightRibbonIcon']],[_0x433e36(0x3eb),h['ShapeLeftRightUpArrowIcon']],[_0x433e36(0x151),h[_0x433e36(0x151)]],[_0x433e36(0x1ed),h[_0x433e36(0x1ed)]],['ShapeLineIcon',h[_0x433e36(0x53f)]],[_0x433e36(0x2e4),h[_0x433e36(0x2e4)]],[_0x433e36(0x594),h[_0x433e36(0x594)]],[_0x433e36(0x435),h[_0x433e36(0x435)]],[_0x433e36(0x29e),h[_0x433e36(0x29e)]],[_0x433e36(0x600),h[_0x433e36(0x600)]],[_0x433e36(0x116),h[_0x433e36(0x116)]],[_0x433e36(0x20c),h[_0x433e36(0x20c)]],['ShapeMoonIcon',h[_0x433e36(0x58b)]],['ShapeNoSmokingIcon',h[_0x433e36(0x20d)]],[_0x433e36(0x315),h[_0x433e36(0x315)]],['ShapeNotchedRightArrowIcon',h[_0x433e36(0x538)]],['ShapeOctagonIcon',h[_0x433e36(0x412)]],[_0x433e36(0x23d),h[_0x433e36(0x23d)]],[_0x433e36(0x62e),h['ShapePentagonIcon']],[_0x433e36(0x1ac),h[_0x433e36(0x1ac)]],[_0x433e36(0x528),h['ShapePieWedgeIcon']],[_0x433e36(0x37a),h[_0x433e36(0x37a)]],[_0x433e36(0x130),h['ShapePlaqueTabsIcon']],['ShapePlusIcon',h['ShapePlusIcon']],[_0x433e36(0x511),h[_0x433e36(0x511)]],[_0x433e36(0x4bc),h['ShapeQuadArrowIcon']],[_0x433e36(0x306),h[_0x433e36(0x306)]],[_0x433e36(0x138),h['ShapeRectTextboxHorizontalIcon']],[_0x433e36(0x5f2),h[_0x433e36(0x5f2)]],[_0x433e36(0x36c),h[_0x433e36(0x36c)]],['ShapeRibbonIcon',h[_0x433e36(0x34d)]],['ShapeRightArrowCalloutIcon',h[_0x433e36(0x136)]],[_0x433e36(0x2b1),h[_0x433e36(0x2b1)]],['ShapeRightBraceIcon',h[_0x433e36(0x426)]],['ShapeRightBracketIcon',h['ShapeRightBracketIcon']],[_0x433e36(0x49c),h[_0x433e36(0x49c)]],[_0x433e36(0x4a7),h[_0x433e36(0x4a7)]],[_0x433e36(0x3d7),h[_0x433e36(0x3d7)]],['ShapeRoundRectIcon',h[_0x433e36(0x2ae)]],[_0x433e36(0x4cd),h[_0x433e36(0x4cd)]],['ShapeSmileyFaceIcon',h[_0x433e36(0x5c3)]],[_0x433e36(0x4f9),h[_0x433e36(0x4f9)]],[_0x433e36(0x318),h['ShapeSnip2DiagRectIcon']],['ShapeSnip2SameRectIcon',h[_0x433e36(0x592)]],[_0x433e36(0x337),h[_0x433e36(0x337)]],['ShapeSquareTabsIcon',h[_0x433e36(0x288)]],[_0x433e36(0x12a),h[_0x433e36(0x12a)]],[_0x433e36(0x1f7),h[_0x433e36(0x1f7)]],['ShapeStar16Icon',h[_0x433e36(0x1ee)]],[_0x433e36(0x217),h[_0x433e36(0x217)]],[_0x433e36(0x164),h[_0x433e36(0x164)]],[_0x433e36(0x406),h['ShapeStar4Icon']],[_0x433e36(0x173),h[_0x433e36(0x173)]],['ShapeStar6Icon',h[_0x433e36(0x3bf)]],[_0x433e36(0x220),h[_0x433e36(0x220)]],['ShapeStar8Icon',h[_0x433e36(0x523)]],[_0x433e36(0x4bb),h['ShapeStraightConnector1Icon']],[_0x433e36(0x1f3),h['ShapeStraightConnector2Icon']],['ShapeStripedRightArrowIcon',h[_0x433e36(0x5ba)]],[_0x433e36(0x516),h[_0x433e36(0x516)]],[_0x433e36(0x605),h['ShapeSwooshArrowIcon']],[_0x433e36(0x2dc),h['ShapeTeardropIcon']],['ShapeTrapezoidIcon',h[_0x433e36(0x561)]],[_0x433e36(0x339),h[_0x433e36(0x339)]],['ShapeUpArrowCalloutIcon',h[_0x433e36(0x2a7)]],[_0x433e36(0x607),h[_0x433e36(0x607)]],[_0x433e36(0x5fe),h[_0x433e36(0x5fe)]],[_0x433e36(0x224),h[_0x433e36(0x224)]],[_0x433e36(0x2d9),h[_0x433e36(0x2d9)]],[_0x433e36(0x120),h['ShapeVerticalScrollIcon']],[_0x433e36(0x244),h[_0x433e36(0x244)]],[_0x433e36(0x53b),h[_0x433e36(0x53b)]],[_0x433e36(0x236),h[_0x433e36(0x236)]],[_0x433e36(0x133),h[_0x433e36(0x133)]],[N,X],[le,ve],[xe,we],[b['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'],Ce]][_0x433e36(0x450)](([_0x2900a2,_0x314c91])=>{const _0x19e5d6=_0x433e36;this[_0x19e5d6(0x365)](this['_componentManager'][_0x19e5d6(0x1ff)](_0x2900a2,_0x314c91));});}['_openShapeEditPanel'](){const _0x65c8b3=_0x5c9dd2;this['_sidebarDisposable']=this[_0x65c8b3(0x331)]['open']({'id':N,'header':{'title':this['_localeService']['t'](_0x65c8b3(0x27e))},'width':0x184,'children':{'label':N,...this[_0x65c8b3(0x503)]},'onClose':()=>{const _0x398af3=_0x65c8b3;this[_0x398af3(0x141)][_0x398af3(0x177)](null),this[_0x398af3(0x131)][_0x398af3(0x2b2)](u[_0x398af3(0x2df)],!0x1),this[_0x398af3(0x40b)]=null;}}),this[_0x65c8b3(0x56c)]=!0x0;}[_0x5c9dd2(0x451)](){const _0x2e29bd=_0x5c9dd2;this['_isOpenedShapeEditPanel']=!0x1,this[_0x2e29bd(0x331)][_0x2e29bd(0x344)](N),this['_sidebarDisposable']=null,this[_0x2e29bd(0x131)]['setContextValue'](u[_0x2e29bd(0x2df)],!0x1),this[_0x2e29bd(0x141)][_0x2e29bd(0x177)](null);}};Ae=W([U(0x0,u['IUniverInstanceService']),U(0x1,(0x0,u[_0x5c9dd2(0x2ea)])(g[_0x5c9dd2(0x14b)])),U(0x2,g[_0x5c9dd2(0x460)]),U(0x3,(0x0,u['Inject'])(l[_0x5c9dd2(0x58d)])),U(0x4,(0x0,u[_0x5c9dd2(0x2ea)])(u[_0x5c9dd2(0x5cd)])),U(0x5,(0x0,u[_0x5c9dd2(0x2ea)])(g[_0x5c9dd2(0x3e7)])),U(0x6,u[_0x5c9dd2(0x3f9)]),U(0x7,m[_0x5c9dd2(0x565)]),U(0x8,(0x0,u[_0x5c9dd2(0x2ea)])(f[_0x5c9dd2(0x1e8)])),U(0x9,p['IRenderManagerService']),U(0xa,u[_0x5c9dd2(0x39e)]),U(0xb,(0x0,u['Inject'])(R))],Ae);var je=_0x5c9dd2(0x456),Me=_0x5c9dd2(0x466);const Ne={};var Pe=class extends p[_0x5c9dd2(0x512)]{constructor(_0x482c46,_0x1d7f6b){const _0x37c18d=_0x5c9dd2;super(_0x482c46,_0x1d7f6b),L(this,_0x37c18d(0x2d2),null),L(this,_0x37c18d(0x4a8),null),L(this,_0x37c18d(0x307),null),L(this,_0x37c18d(0x2f8),null),_0x1d7f6b&&this[_0x37c18d(0x5ee)](_0x1d7f6b);}[_0x5c9dd2(0x2f1)](){const _0x5b104b=_0x5c9dd2;return{'unitId':this[_0x5b104b(0x307)],'subUnitId':this[_0x5b104b(0x2f8)],'drawingId':this[_0x5b104b(0x2d2)]};}[_0x5c9dd2(0x5ee)](_0x3c1e44){const _0x37d2f1=_0x5c9dd2;_0x3c1e44[_0x37d2f1(0x532)]!==void 0x0&&(this['_shapeId']=_0x3c1e44[_0x37d2f1(0x532)]),_0x3c1e44[_0x37d2f1(0x367)]!==void 0x0&&(this[_0x37d2f1(0x4a8)]=_0x3c1e44[_0x37d2f1(0x367)]),_0x3c1e44['unitId']!==void 0x0&&(this[_0x37d2f1(0x307)]=_0x3c1e44[_0x37d2f1(0x1bb)]),_0x3c1e44['subUnitId']!==void 0x0&&(this['_subUnitId']=_0x3c1e44[_0x37d2f1(0x29c)]),this[_0x37d2f1(0x15b)]({'width':_0x3c1e44[_0x37d2f1(0x458)],'height':_0x3c1e44[_0x37d2f1(0x167)]});}[_0x5c9dd2(0x23c)](_0x380c57){const _0x39d5aa=_0x5c9dd2;p[_0x39d5aa(0x584)][_0x39d5aa(0x2c7)](_0x380c57,{'radius':c[_0x39d5aa(0x390)][_0x39d5aa(0x353)],'fill':c['ShapeDefaultConfig'][_0x39d5aa(0x5f4)],'stroke':c['ShapeDefaultConfig'][_0x39d5aa(0x15a)],'strokeWidth':0x1,'evented':!0x0});}};let Fe=class extends u[_0x5c9dd2(0x521)]{constructor(_0x24e213,_0x5271a9,_0x24e342,_0x2bdba9){const _0x3c37be=_0x5c9dd2;super(),this['_context']=_0x24e213,this[_0x3c37be(0x141)]=_0x5271a9,this[_0x3c37be(0x302)]=_0x24e342,this['_commandService']=_0x2bdba9,L(this,_0x3c37be(0x223),null),L(this,_0x3c37be(0x307),null),L(this,_0x3c37be(0x2f8),null),L(this,_0x3c37be(0x171),void 0x0),L(this,_0x3c37be(0x26d),[]),L(this,_0x3c37be(0x152),0x0),L(this,'_baseShapeTop',0x0),L(this,_0x3c37be(0x52c),0x0),L(this,_0x3c37be(0x3cd),0x0),L(this,_0x3c37be(0x3c1),!0x1),L(this,_0x3c37be(0x401),!0x1),L(this,_0x3c37be(0x4b9),void 0x0),L(this,_0x3c37be(0x3f2),void 0x0),L(this,_0x3c37be(0x2ba),void 0x0),L(this,_0x3c37be(0x3dc),void 0x0),this[_0x3c37be(0x1bc)](),this[_0x3c37be(0x2f6)]();}[_0x5c9dd2(0x570)](){const _0x322a9e=_0x5c9dd2;this[_0x322a9e(0x126)]();}['refreshAdjustControls'](){const _0x281cfc=_0x5c9dd2;this[_0x281cfc(0x37c)](!0x0);}[_0x5c9dd2(0x190)](_0xb98f4f,_0x5573cb,_0x43012a){const _0x34ce34=_0x5c9dd2;var _0xdef701;return(_0xdef701=this[_0x34ce34(0x302)]['getShapeModel'](_0xb98f4f,_0x5573cb,_0x43012a))==null?void 0x0:_0xdef701['getDrawingPoints']();}[_0x5c9dd2(0x5d1)](_0x229cdf,_0xfa46d2,_0x936f3d,_0x27c192){const _0x156d13=_0x5c9dd2;var _0x3f06d7;return(_0x3f06d7=this[_0x156d13(0x302)][_0x156d13(0x5a2)](_0x229cdf,_0xfa46d2,_0x936f3d))==null?void 0x0:_0x3f06d7[_0x156d13(0x500)](_0x27c192);}[_0x5c9dd2(0x55b)](){const _0x379159=_0x5c9dd2;if(this['_unitId']===null||this['_subUnitId']===null||this[_0x379159(0x223)]===null)return null;let _0x47dcf5=this[_0x379159(0x141)][_0x379159(0x601)]({'unitId':this[_0x379159(0x307)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x379159(0x223)]});return _0x47dcf5==null?null:_0x47dcf5;}[_0x5c9dd2(0x4ac)](_0x15aec6){const _0x4546c7=_0x5c9dd2;if(this[_0x4546c7(0x307)]===null||this['_subUnitId']===null||this[_0x4546c7(0x223)]===null)return null;let _0x5babc0=(0x0,m[_0x4546c7(0x301)])({'unitId':this[_0x4546c7(0x307)],'subUnitId':this['_subUnitId'],'drawingId':this['_activeShapeId']}),_0x3814fb=_0x15aec6[_0x4546c7(0x5d9)](_0x5babc0);return _0x3814fb instanceof H?_0x3814fb:null;}['_createShapeAdjustControls'](_0x5a9991=!0x1){const _0x5804e0=_0x5c9dd2;if(this[_0x5804e0(0x307)]===null||this[_0x5804e0(0x2f8)]===null||this[_0x5804e0(0x223)]===null)return;let _0x253a64=this[_0x5804e0(0x55b)]();if((_0x253a64==null?void 0x0:_0x253a64['drawingType'])!==u[_0x5804e0(0x448)][_0x5804e0(0x308)]||!_0x253a64['transform'])return;let _0x41aa0c=this[_0x5804e0(0x302)][_0x5804e0(0x5a2)](this[_0x5804e0(0x307)],this[_0x5804e0(0x2f8)],this[_0x5804e0(0x223)]);if(!_0x41aa0c||_0x41aa0c[_0x5804e0(0x41c)]())return;(_0x5a9991||!this[_0x5804e0(0x171)])&&(this[_0x5804e0(0x171)]=this[_0x5804e0(0x190)](this['_unitId'],this[_0x5804e0(0x2f8)],this['_activeShapeId']));let _0x4773e4=this[_0x5804e0(0x171)];if(!(_0x4773e4!=null&&_0x4773e4[_0x5804e0(0x209)]))return;let {scene:_0x4f8851}=this[_0x5804e0(0x212)],{left:_0xb47898=0x0,top:_0x1cf53b=0x0,width:_0x3a11f3=0x0,height:_0x34c903=0x0,flipX:_0x477d63,flipY:_0x3ae4a4,angle:_0x37ebdd=0x0}=_0x253a64[_0x5804e0(0x1ce)];for(let _0x357c87 of _0x4773e4){let _0x365e3e=this['_toVisualAdjustPoint'](_0x357c87,_0x3a11f3,_0x34c903,!!_0x477d63,!!_0x3ae4a4,_0x37ebdd);this[_0x5804e0(0x161)](_0x4f8851,_0x365e3e,_0x365e3e[_0x5804e0(0x367)],_0xb47898,_0x1cf53b,this[_0x5804e0(0x307)],this[_0x5804e0(0x2f8)]);}}[_0x5c9dd2(0x551)](_0x4a6b7b,_0x4d5e53,_0x4ed60f,_0x42c952,_0x3949c6,_0x1c93e2){const _0x2b13ac=_0x5c9dd2;let _0x502855=_0x4a6b7b['x'],_0x172a3b=_0x4a6b7b['y'];if(_0x42c952&&(_0x502855=_0x4d5e53-_0x502855),_0x3949c6&&(_0x172a3b=_0x4ed60f-_0x172a3b),_0x1c93e2!==0x0){let _0x228f5d=_0x4d5e53/0x2,_0x19868d=_0x4ed60f/0x2,_0x3d4638=_0x1c93e2*Math['PI']/0xb4,_0x3f92ef=Math[_0x2b13ac(0x4f2)](_0x3d4638),_0x53d06b=Math[_0x2b13ac(0x1de)](_0x3d4638),_0x338044=_0x502855-_0x228f5d,_0x1b478a=_0x172a3b-_0x19868d;_0x502855=_0x228f5d+(_0x338044*_0x3f92ef-_0x1b478a*_0x53d06b),_0x172a3b=_0x19868d+(_0x338044*_0x53d06b+_0x1b478a*_0x3f92ef);}return{'x':_0x502855,'y':_0x172a3b,'adjName':_0x4a6b7b[_0x2b13ac(0x367)]};}[_0x5c9dd2(0x37c)](_0x26dc3e=!0x1){const _0xd3ca7a=_0x5c9dd2;_0x26dc3e&&this[_0xd3ca7a(0x126)](),this[_0xd3ca7a(0x237)](_0x26dc3e);}[_0x5c9dd2(0x161)](_0x387e94,_0x8fcfc6,_0x22c88c,_0x19e7c7,_0x3512ff,_0x3a34ad,_0x10e1ee){const _0x46c4c0=_0x5c9dd2;if(!this[_0x46c4c0(0x223)])return;let _0x8966dd='doc-shape-adjust-point-'+this[_0x46c4c0(0x223)]+'-'+_0x22c88c,_0x4af08d=_0x387e94[_0x46c4c0(0x5d9)](_0x8966dd);if(_0x4af08d){_0x4af08d[_0x46c4c0(0x15b)]({'left':_0x8fcfc6['x']+_0x19e7c7-c[_0x46c4c0(0x390)]['adjHandleSize'],'top':_0x8fcfc6['y']+_0x3512ff-c['ShapeDefaultConfig'][_0x46c4c0(0x353)]}),_0x4af08d[_0x46c4c0(0x50e)](!0x0);return;}let _0x440c96=new Pe(_0x8966dd,{'left':_0x8fcfc6['x']+_0x19e7c7-c[_0x46c4c0(0x390)][_0x46c4c0(0x353)],'top':_0x8fcfc6['y']+_0x3512ff-c[_0x46c4c0(0x390)][_0x46c4c0(0x353)],'adjName':_0x22c88c,'shapeId':this[_0x46c4c0(0x223)],'unitId':_0x3a34ad,'subUnitId':_0x10e1ee,'width':c[_0x46c4c0(0x390)][_0x46c4c0(0x353)]+0x8,'height':c[_0x46c4c0(0x390)]['adjHandleSize']+0x8,'zIndex':p[_0x46c4c0(0x496)]+0x1,'evented':!0x0});this[_0x46c4c0(0x26d)]['push'](_0x440c96),this[_0x46c4c0(0x31a)](_0x440c96,_0x387e94,_0x22c88c),_0x387e94[_0x46c4c0(0x23e)](_0x440c96,p[_0x46c4c0(0x496)]+0x1);}[_0x5c9dd2(0x126)](){const _0x35c28d=_0x5c9dd2;this['_adjustPointObjects'][_0x35c28d(0x450)](_0x4ac822=>_0x4ac822[_0x35c28d(0x389)]()),this['_adjustPointObjects']=[];}['_updateAdjustControlPositions'](){const _0x435182=_0x5c9dd2;this[_0x435182(0x237)]();}[_0x5c9dd2(0x186)](_0x1afaac,_0x2ae372,_0x42076e){const _0x1b6963=_0x5c9dd2;var _0x5ebd51,_0x3bf748;let _0x20414f=p['Vector2']['FromArray']([_0x2ae372,_0x42076e]),_0x11bd35=(_0x5ebd51=_0x1afaac[_0x1b6963(0x3ff)](_0x20414f))==null?_0x1afaac[_0x1b6963(0x4d2)]()[0x0]:_0x5ebd51;return(_0x3bf748=_0x11bd35==null?void 0x0:_0x11bd35[_0x1b6963(0x603)](_0x20414f))==null?_0x20414f:_0x3bf748;}[_0x5c9dd2(0x31a)](_0x3191c3,_0x488125,_0xdb3346){const _0x2624e0=_0x5c9dd2;this[_0x2624e0(0x365)]((0x0,u[_0x2624e0(0x2ac)])(_0x3191c3[_0x2624e0(0x395)]['subscribeEvent']((_0x697961,_0x37b1f5)=>{const _0x482ebf=_0x2624e0;var _0x3cc438,_0x471ba3,_0x4ece06,_0xb72611;let _0x1448a5=_0x3191c3[_0x482ebf(0x2f1)]();this[_0x482ebf(0x4b9)]=this[_0x482ebf(0x5d1)](_0x1448a5[_0x482ebf(0x1bb)],_0x1448a5[_0x482ebf(0x29c)],_0x1448a5['drawingId'],_0xdb3346),this[_0x482ebf(0x3f2)]=this['_docsShapeService'][_0x482ebf(0x5a2)](_0x1448a5[_0x482ebf(0x1bb)],_0x1448a5[_0x482ebf(0x29c)],_0x1448a5[_0x482ebf(0x604)]);let _0x593723=this[_0x482ebf(0x55b)](),_0x4c0c56=_0x593723==null?void 0x0:_0x593723[_0x482ebf(0x1ce)];if(!_0x593723||!_0x4c0c56||!this[_0x482ebf(0x3f2)])return;this[_0x482ebf(0x152)]=_0x4c0c56[_0x482ebf(0x2f0)]||0x0,this['_baseShapeTop']=_0x4c0c56[_0x482ebf(0x3f6)]||0x0,this[_0x482ebf(0x52c)]=_0x4c0c56[_0x482ebf(0x458)]||0x0,this[_0x482ebf(0x3cd)]=_0x4c0c56[_0x482ebf(0x167)]||0x0;let _0xe94b56=!!_0x4c0c56['flipX'],_0x227d1a=!!_0x4c0c56[_0x482ebf(0x559)],_0x22ca9c=_0x4c0c56['angle']||0x0,_0x942871=((_0x3cc438=this[_0x482ebf(0x4b9)])==null?void 0x0:_0x3cc438['gdRefX'])||((_0x471ba3=this['_activeAdjustInfo'])==null?void 0x0:_0x471ba3[_0x482ebf(0x5d6)])||((_0x4ece06=this[_0x482ebf(0x4b9)])==null?void 0x0:_0x4ece06[_0x482ebf(0x385)])||((_0xb72611=this[_0x482ebf(0x4b9)])==null?void 0x0:_0xb72611[_0x482ebf(0x329)])||_0xdb3346,_0x21b1d6=this['_activeShapeModel']['getAdjustValueByName'](_0x942871),_0x1b667c={[_0x942871]:_0x21b1d6};this[_0x482ebf(0x3c1)]=!0x0,_0x488125[_0x482ebf(0x1ca)](),this[_0x482ebf(0x2ba)]=_0x488125[_0x482ebf(0x30a)][_0x482ebf(0x21b)]((_0x3367c5,_0x14aa53)=>{const _0x2dda63=_0x482ebf;var _0x15298c;if(!this['_isStartAdjusting']||!this['_activeShapeModel']||!this['_activeAdjustInfo'])return;_0x488125['disableObjectsEvent'](),_0x488125[_0x2dda63(0x5ef)](p['CURSOR_TYPE']['CROSSHAIR']);let _0x47dcd8=this[_0x2dda63(0x186)](_0x488125,_0x3367c5['offsetX'],_0x3367c5[_0x2dda63(0x144)]),_0x3cebf0=_0x47dcd8['x']-this['_baseShapeLeft'],_0x456e9d=_0x47dcd8['y']-this['_baseShapeTop'];if(_0x22ca9c!==0x0){let _0x41fb5e=this[_0x2dda63(0x52c)]/0x2,_0x191ff6=this['_baseShapeHeight']/0x2,_0x5b01ef=_0x22ca9c*Math['PI']/0xb4,_0x5771ec=Math[_0x2dda63(0x4f2)](_0x5b01ef),_0x1a2461=Math['sin'](_0x5b01ef),_0x3a826c=_0x3cebf0-_0x41fb5e,_0x36838e=_0x456e9d-_0x191ff6;_0x3cebf0=_0x41fb5e+(_0x3a826c*_0x5771ec+_0x36838e*_0x1a2461),_0x456e9d=_0x191ff6+(-_0x3a826c*_0x1a2461+_0x36838e*_0x5771ec);}_0xe94b56&&(_0x3cebf0=this[_0x2dda63(0x52c)]-_0x3cebf0),_0x227d1a&&(_0x456e9d=this[_0x2dda63(0x3cd)]-_0x456e9d);let _0xe54fdd={'left':0x0,'top':0x0,'width':this[_0x2dda63(0x52c)],'height':this[_0x2dda63(0x3cd)]},_0x3069c0=this[_0x2dda63(0x3f2)][_0x2dda63(0x4f1)](_0xe54fdd,{'x':_0x3cebf0,'y':_0x456e9d},this[_0x2dda63(0x4b9)],_0xe94b56,_0x227d1a),_0x5d11b1=this[_0x2dda63(0x4b9)]['gdRefX']||this['_activeAdjustInfo']['gdRefY']||this[_0x2dda63(0x4b9)][_0x2dda63(0x385)]||this['_activeAdjustInfo'][_0x2dda63(0x329)];_0x5d11b1!==void 0x0&&(this[_0x2dda63(0x3f2)][_0x2dda63(0x148)](_0x5d11b1,_0x3069c0),(_0x15298c=this[_0x2dda63(0x4ac)](_0x488125))==null||_0x15298c['makeDirty'](!0x0),this[_0x2dda63(0x171)]=this[_0x2dda63(0x190)](_0x1448a5['unitId'],_0x1448a5['subUnitId'],_0x1448a5[_0x2dda63(0x604)]),this[_0x2dda63(0x15f)](),_0x14aa53[_0x2dda63(0x202)]());}),this[_0x482ebf(0x3dc)]=_0x488125[_0x482ebf(0x524)][_0x482ebf(0x21b)]((_0x12819a,_0x301a5a)=>{const _0x2243a7=_0x482ebf;var _0x2f4f92,_0x3b32f7;(_0x2f4f92=this['_adjHandlerPointerMove'])==null||_0x2f4f92['unsubscribe'](),(_0x3b32f7=this[_0x2243a7(0x3dc)])==null||_0x3b32f7[_0x2243a7(0x3ef)](),_0x488125[_0x2243a7(0x342)]();let _0x58c1f8=this['_activeAdjustInfo'];if(_0x58c1f8&&this[_0x2243a7(0x3f2)]){let _0x38259b=_0x58c1f8[_0x2243a7(0x5cc)]||_0x58c1f8[_0x2243a7(0x5d6)]||_0x58c1f8[_0x2243a7(0x385)]||_0x58c1f8['gdRefR'];if(_0x38259b!==void 0x0){let _0x4eeb89=this[_0x2243a7(0x3f2)]['getAdjustValueByName'](_0x38259b);_0x4eeb89!==void 0x0&&z(this[_0x2243a7(0x23a)],_0x1448a5[_0x2243a7(0x1bb)],_0x1448a5[_0x2243a7(0x29c)],_0x1448a5[_0x2243a7(0x604)],{'oldShapeData':{'adjustValues':_0x1b667c}},{'adjustValues':{[_0x38259b]:_0x4eeb89}});}}this[_0x2243a7(0x4b9)]=void 0x0,this[_0x2243a7(0x3f2)]=void 0x0,this[_0x2243a7(0x3c1)]=!0x1,_0x488125[_0x2243a7(0x1ab)](),_0x301a5a[_0x2243a7(0x202)]();}),_0x37b1f5[_0x482ebf(0x202)]();})));}[_0x5c9dd2(0x2f6)](){const _0x51392b=_0x5c9dd2;let {scene:_0x3e092b}=this[_0x51392b(0x212)],_0x1c6ba0=_0x3e092b[_0x51392b(0x5c6)]();this[_0x51392b(0x365)](_0x1c6ba0['changeStart$']['subscribe'](_0x16aeb8=>{const _0x248ac7=_0x51392b;this[_0x248ac7(0x237)](),_0x16aeb8[_0x248ac7(0x533)]!==null&&_0x16aeb8['objects'][_0x248ac7(0x275)]===0x1&&_0x16aeb8[_0x248ac7(0x533)][_0x248ac7(0x3b7)]()['next']()[_0x248ac7(0x1f8)]instanceof H&&(this[_0x248ac7(0x401)]=!0x0);})),this[_0x51392b(0x365)](_0x1c6ba0['changing$']['subscribe'](()=>{const _0x4fb661=_0x51392b;this[_0x4fb661(0x401)]&&this['_clearShapeAdjustControls']();})),this[_0x51392b(0x365)](_0x3e092b[_0x51392b(0x524)][_0x51392b(0x21b)](()=>{const _0x7843c3=_0x51392b;this['_isShouldShowDrawingShapeAdjust']&&(this['_isShouldShowDrawingShapeAdjust']=!0x1,this[_0x7843c3(0x237)]());})),this[_0x51392b(0x365)](_0x1c6ba0[_0x51392b(0x1c0)]['subscribe'](()=>{const _0x2de6d0=_0x51392b;this[_0x2de6d0(0x307)]&&this[_0x2de6d0(0x2f8)]&&this[_0x2de6d0(0x223)]&&(this[_0x2de6d0(0x171)]=this[_0x2de6d0(0x190)](this['_unitId'],this[_0x2de6d0(0x2f8)],this[_0x2de6d0(0x223)]),this[_0x2de6d0(0x15f)]());}));}[_0x5c9dd2(0x1bc)](){const _0x523375=_0x5c9dd2;this['disposeWithMe'](this[_0x523375(0x141)][_0x523375(0x187)][_0x523375(0x207)](_0xbf1ff9=>{const _0x421c85=_0x523375;if(_0xbf1ff9[_0x421c85(0x209)]===0x1){let _0x54bf61=_0xbf1ff9[0x0],_0x1c83bf=this['_drawingManagerService']['getDrawingByParam'](_0x54bf61);if((_0x1c83bf==null?void 0x0:_0x1c83bf[_0x421c85(0x2f5)])===u[_0x421c85(0x448)][_0x421c85(0x308)]){this['_activeShapeId']=_0x54bf61[_0x421c85(0x604)],this[_0x421c85(0x307)]=_0x54bf61['unitId'],this[_0x421c85(0x2f8)]=_0x54bf61[_0x421c85(0x29c)],this[_0x421c85(0x171)]=this['_getShapeAdjustPointListById'](_0x54bf61[_0x421c85(0x1bb)],_0x54bf61[_0x421c85(0x29c)],_0x54bf61[_0x421c85(0x604)]),this[_0x421c85(0x126)](),this[_0x421c85(0x237)]();return;}}this[_0x421c85(0x223)]=null,this[_0x421c85(0x171)]=void 0x0,this[_0x421c85(0x307)]=null,this[_0x421c85(0x2f8)]=null,this[_0x421c85(0x126)]();})),this['disposeWithMe'](this[_0x523375(0x141)][_0x523375(0x347)][_0x523375(0x207)](_0x19d9ff=>{const _0x4f7aad=_0x523375;if(_0x19d9ff['length']===0x1){var _0x139c92;((_0x139c92=this['_drawingManagerService'][_0x4f7aad(0x601)](_0x19d9ff[0x0]))==null?void 0x0:_0x139c92['drawingType'])===u[_0x4f7aad(0x448)][_0x4f7aad(0x308)]&&this[_0x4f7aad(0x37c)](!0x0);}})),this[_0x523375(0x365)](this[_0x523375(0x141)][_0x523375(0x510)][_0x523375(0x207)](_0x4defd8=>{const _0x385003=_0x523375;for(let _0x2d108d of _0x4defd8)this[_0x385003(0x223)]===_0x2d108d[_0x385003(0x604)]&&(this['_activeShapeId']=null,this[_0x385003(0x171)]=void 0x0,this[_0x385003(0x307)]=null,this['_subUnitId']=null,this['_clearShapeAdjustControls']());}));}};Fe=W([U(0x1,m[_0x5c9dd2(0x565)]),U(0x2,(0x0,u[_0x5c9dd2(0x2ea)])(l['DocsShapeService'])),U(0x3,u['ICommandService'])],Fe);function Ie(_0xdb1923,_0x41dbf1){const _0x403c66=_0x5c9dd2;let _0x2e00dc=_0xdb1923;for(;_0x2e00dc;){if(_0x41dbf1(_0x2e00dc))return _0x2e00dc;_0x2e00dc=typeof _0x2e00dc[_0x403c66(0x50c)]==_0x403c66(0x515)?_0x2e00dc[_0x403c66(0x50c)]():null;}return null;}function Le(_0x56061f){return Ie(_0x56061f,_0x11dfe0=>_0x11dfe0 instanceof H);}let Re=class extends u[_0x5c9dd2(0x521)]{constructor(_0x51f8fc,_0x13a235,_0x40adbf,_0x5da7b1,_0x284699){const _0x491af6=_0x5c9dd2;super(),this[_0x491af6(0x212)]=_0x51f8fc,this[_0x491af6(0x196)]=_0x13a235,this[_0x491af6(0x141)]=_0x40adbf,this[_0x491af6(0x131)]=_0x5da7b1,this[_0x491af6(0x302)]=_0x284699,L(this,_0x491af6(0x3c9),null),this[_0x491af6(0x37e)](),this[_0x491af6(0x13f)](),this['_initEditingParams']();}[_0x5c9dd2(0x37e)](){const _0x23d139=_0x5c9dd2;let {scene:_0xfb725}=this['_context'];this[_0x23d139(0x365)](_0xfb725[_0x23d139(0x159)]['subscribeEvent'](_0x2e613c=>{const _0x291b95=_0x23d139;var _0x3b0c5b;let {offsetX:_0x5297a0,offsetY:_0x4691c0}=_0x2e613c,_0x31378d=p[_0x291b95(0x32f)][_0x291b95(0x22c)]([_0x5297a0,_0x4691c0]),_0x589e7d=(_0x3b0c5b=Le(_0xfb725[_0x291b95(0x30d)](_0x31378d)))==null?this[_0x291b95(0x2d4)](_0x31378d):_0x3b0c5b;if(_0x589e7d){if((0x0,c[_0x291b95(0x4bd)])(this[_0x291b95(0x302)][_0x291b95(0x462)](_0x589e7d['unitId'],_0x589e7d['subUnitId'],_0x589e7d[_0x291b95(0x532)])))return;this[_0x291b95(0x196)][_0x291b95(0x440)]({'visible':!0x0,'unitId':_0x589e7d[_0x291b95(0x1bb)],'subUnitId':_0x589e7d[_0x291b95(0x29c)],'shapeId':_0x589e7d[_0x291b95(0x532)],'shapeKey':_0x589e7d['oKey']});}}));}[_0x5c9dd2(0x2d4)](_0x552135){const _0xc1e395=_0x5c9dd2;let {scene:_0x3df388}=this['_context'],_0x2a2042=this[_0xc1e395(0x141)]['getFocusDrawings']()[_0xc1e395(0x267)](_0x835e40=>_0x3df388[_0xc1e395(0x5d9)]((0x0,m[_0xc1e395(0x301)])(_0x835e40)))[_0xc1e395(0x5b6)](_0x37d50e=>_0x37d50e instanceof H&&_0x37d50e[_0xc1e395(0x129)](_0x552135));return _0x2a2042==null?null:_0x2a2042;}['_initSelection'](){const _0x51f1b9=_0x5c9dd2;this[_0x51f1b9(0x365)](this['_drawingManagerService']['focus$'][_0x51f1b9(0x207)](_0x3beb41=>{const _0x1c2631=_0x51f1b9;if(_0x3beb41[_0x1c2631(0x209)]===0x1){let _0x366835=_0x3beb41[0x0],_0x7c183b=this[_0x1c2631(0x141)][_0x1c2631(0x601)](_0x366835);if((_0x7c183b==null?void 0x0:_0x7c183b['drawingType'])===u[_0x1c2631(0x448)][_0x1c2631(0x308)]){let _0x229f49=this[_0x1c2631(0x196)][_0x1c2631(0x563)]();if((_0x229f49==null?void 0x0:_0x229f49[_0x1c2631(0x532)])===_0x366835[_0x1c2631(0x604)]&&_0x229f49[_0x1c2631(0x590)])return;(0x0,c[_0x1c2631(0x4bd)])(this[_0x1c2631(0x302)][_0x1c2631(0x462)](_0x366835['unitId'],_0x366835[_0x1c2631(0x29c)],_0x366835[_0x1c2631(0x604)]))&&this[_0x1c2631(0x196)][_0x1c2631(0x440)](null);}else this[_0x1c2631(0x196)]['getEditing']()&&(this[_0x1c2631(0x196)]['setOnSavingEditorData'](!0x0),requestAnimationFrame(()=>{const _0x52f854=_0x1c2631;this['_shapeTextEditingService'][_0x52f854(0x440)](null);}));}else this[_0x1c2631(0x196)][_0x1c2631(0x563)]()&&(this[_0x1c2631(0x196)][_0x1c2631(0x61f)](!0x0),requestAnimationFrame(()=>{const _0x3f1ba8=_0x1c2631;this[_0x3f1ba8(0x196)]['setEditing'](null);}));})),this[_0x51f1b9(0x365)](this[_0x51f1b9(0x141)][_0x51f1b9(0x510)]['subscribe'](_0x5cee37=>{const _0x3d9bdd=_0x51f1b9;let _0x15c2aa=this['_shapeTextEditingService'][_0x3d9bdd(0x563)]();_0x15c2aa&&_0x5cee37['some'](_0x5bc162=>_0x5bc162[_0x3d9bdd(0x604)]===_0x15c2aa[_0x3d9bdd(0x532)])&&this[_0x3d9bdd(0x196)][_0x3d9bdd(0x440)](null);}));}[_0x5c9dd2(0x12d)](){const _0x2eb191=_0x5c9dd2;this[_0x2eb191(0x365)](this['_shapeTextEditingService']['editingParams$']['subscribe'](_0x2b0b8f=>{const _0x3c5035=_0x2eb191;let {scene:_0x45579b}=this['_context'];if(this[_0x3c5035(0x3c9)]){let _0x3794c2=_0x45579b[_0x3c5035(0x5d9)](this['_lastEditingShapeKey']);_0x3794c2&&_0x3794c2[_0x3c5035(0x440)](!0x1);}if(_0x2b0b8f){let _0x55c042=!!_0x2b0b8f[_0x3c5035(0x590)],_0x1f4fa6=_0x45579b[_0x3c5035(0x5d9)](_0x2b0b8f[_0x3c5035(0x47a)]);_0x1f4fa6&&(_0x1f4fa6[_0x3c5035(0x440)](_0x55c042),this[_0x3c5035(0x3c9)]=_0x2b0b8f[_0x3c5035(0x47a)]),this[_0x3c5035(0x131)][_0x3c5035(0x2b2)](u[_0x3c5035(0x4e3)],_0x55c042);}else this[_0x3c5035(0x3c9)]=null,this[_0x3c5035(0x131)][_0x3c5035(0x2b2)](u['FOCUSING_SHAPE_TEXT_EDITOR'],!0x1);}));}};Re=W([U(0x1,(0x0,u[_0x5c9dd2(0x2ea)])(R)),U(0x2,m[_0x5c9dd2(0x565)]),U(0x3,u['IContextService']),U(0x4,(0x0,u[_0x5c9dd2(0x2ea)])(l[_0x5c9dd2(0x58d)]))],Re);const ze=[f[_0x5c9dd2(0x193)],f[_0x5c9dd2(0x5ac)]['id'],f[_0x5c9dd2(0x163)]['id'],f['SetInlineFormatItalicCommand']['id'],f['SetInlineFormatUnderlineCommand']['id'],f[_0x5c9dd2(0x21f)]['id'],f[_0x5c9dd2(0x2bb)]['id'],f[_0x5c9dd2(0x43c)]['id'],f['SetInlineFormatTextColorCommand']['id'],f[_0x5c9dd2(0x361)]['id']];function Be(){const _0x5b3d14=_0x5c9dd2;let _0x2f1a03=(0x0,g['useDependency'])(g[_0x5b3d14(0x460)]),[_0x396269,_0x91e02c]=(0x0,y['useState'])([]);return(0x0,y[_0x5b3d14(0x4ef)])(()=>{const _0x151f2a=_0x5b3d14;function _0x11832d(){const _0x306fc3=_0x44d3;let _0xbb696=[..._0x2f1a03[_0x306fc3(0x373)](f[_0x306fc3(0x320)]),..._0x2f1a03[_0x306fc3(0x373)](g[_0x306fc3(0x56d)][_0x306fc3(0x134)])];_0x91e02c(ze[_0x306fc3(0x267)](_0x2f57d0=>_0xbb696[_0x306fc3(0x5b6)](_0x4b9e34=>_0x4b9e34[_0x306fc3(0x218)]===_0x2f57d0))[_0x306fc3(0x27a)](_0x5df6dc=>!!(_0x5df6dc!=null&&_0x5df6dc[_0x306fc3(0x622)])));}_0x11832d();let _0x1292d4=_0x2f1a03['menuChanged$']['subscribe'](_0x11832d);return()=>_0x1292d4[_0x151f2a(0x3ef)]();},[_0x2f1a03]),(0x0,x[_0x5b3d14(0x530)])(_0x5b3d14(0x41f),{'className':(0x0,v[_0x5b3d14(0x319)])('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',v[_0x5b3d14(0x22a)]),'children':_0x396269[_0x5b3d14(0x267)](_0x1f5ae9=>_0x1f5ae9[_0x5b3d14(0x622)]&&(0x0,x[_0x5b3d14(0x530)])('div',{'className':_0x5b3d14(0x3cb),'children':(0x0,x[_0x5b3d14(0x530)])(g['ToolbarItem'],{..._0x1f5ae9[_0x5b3d14(0x622)]},_0x1f5ae9[_0x5b3d14(0x218)])},_0x1f5ae9['key']))});}const Ve=_0x5c9dd2(0x3a9);function He(_0x475cd4,_0x5cb6ff){if(_0x475cd4==null||_0x5cb6ff==null)return!0x1;let {glyph:_0x2e07fe,..._0x1897f4}=_0x475cd4,{glyph:_0x240257,..._0xcfd442}=_0x5cb6ff;return(0x0,u['deepCompare'])(_0x1897f4,_0xcfd442);}let Ue=class extends u['Disposable']{constructor(_0x8a9586,_0x4aa034,_0x130228,_0x29a451,_0x1545f3){const _0x28cbb3=_0x5c9dd2;super(),this['_context']=_0x8a9586,this[_0x28cbb3(0x3be)]=_0x4aa034,this[_0x28cbb3(0x547)]=_0x130228,this[_0x28cbb3(0x4ea)]=_0x29a451,this[_0x28cbb3(0x1f5)]=_0x1545f3,L(this,'_floatMenu',null),this[_0x28cbb3(0x212)][_0x28cbb3(0x1bb)]===P&&(this[_0x28cbb3(0x365)](this[_0x28cbb3(0x4ea)][_0x28cbb3(0x1ff)](Ve,Be)),this['_initSelectionChange'](),this[_0x28cbb3(0x365)](()=>this['_hideFloatMenu']()));}[_0x5c9dd2(0x446)](){const _0xd4e55f=_0x5c9dd2;this[_0xd4e55f(0x365)](this['_docSelectionRenderService'][_0xd4e55f(0x508)][_0xd4e55f(0x207)](()=>{const _0x8320bb=_0xd4e55f;this[_0x8320bb(0x5cf)]();})),this['disposeWithMe'](this[_0xd4e55f(0x3be)][_0xd4e55f(0x2b3)]['subscribe'](_0x24970e=>{const _0x20b39c=_0xd4e55f;var _0x7cb7f,_0x1a01c7;let {unitId:_0x540cb9,textRanges:_0xbbf175}=_0x24970e;if(_0x540cb9!==this[_0x20b39c(0x212)][_0x20b39c(0x1bb)])return;let _0x27e6ae=_0xbbf175['find'](_0x5e68cc=>!_0x5e68cc['collapsed']);if(!_0x27e6ae){this['_hideFloatMenu']();return;}_0x27e6ae['startOffset']===((_0x7cb7f=this['_floatMenu'])==null?void 0x0:_0x7cb7f[_0x20b39c(0x599)])&&_0x27e6ae[_0x20b39c(0x352)]===((_0x1a01c7=this[_0x20b39c(0x4bf)])==null?void 0x0:_0x1a01c7[_0x20b39c(0x16e)])||(this[_0x20b39c(0x5cf)](),this[_0x20b39c(0x3d3)](_0x540cb9,_0x27e6ae));}));}[_0x5c9dd2(0x5cf)](){const _0x5a9231=_0x5c9dd2;var _0x5553a9;(_0x5553a9=this[_0x5a9231(0x4bf)])==null||_0x5553a9[_0x5a9231(0x278)]['dispose'](),this[_0x5a9231(0x4bf)]=null;}['_showFloatMenu'](_0x432ca5,_0x40d1a0){const _0x7dfb52=_0x5c9dd2;this['_floatMenu']={'disposable':this[_0x7dfb52(0x547)]['attachPopupToRange'](_0x40d1a0,{'componentKey':Ve,'direction':_0x40d1a0[_0x7dfb52(0x25b)]===_0x7dfb52(0x543)||He(_0x40d1a0[_0x7dfb52(0x517)],_0x40d1a0[_0x7dfb52(0x11b)])?_0x7dfb52(0x5b8):'bottom-center','offset':[0x0,0x4]},_0x432ca5),'start':_0x40d1a0[_0x7dfb52(0x32d)],'end':_0x40d1a0[_0x7dfb52(0x352)]};}};Ue=W([U(0x1,(0x0,u[_0x5c9dd2(0x2ea)])(C[_0x5c9dd2(0x4e2)])),U(0x2,(0x0,u[_0x5c9dd2(0x2ea)])(f['DocCanvasPopManagerService'])),U(0x3,(0x0,u[_0x5c9dd2(0x2ea)])(g['ComponentManager'])),U(0x4,(0x0,u[_0x5c9dd2(0x2ea)])(f[_0x5c9dd2(0x3b0)]))],Ue);function We(_0x22bc09,_0x1ae8bf){const _0x23aa34=_0x5c9dd2;return{'top':0x0,'left':0x0,'width':_0x22bc09,'height':_0x1ae8bf,'borderColor':'transparent','outlineColor':_0x23aa34(0x3c2),'backgroundColor':'transparent'};}function Ge(_0x5065c8){const _0xd11063=_0x5c9dd2;var _0x5c2448,_0x203b3d;let _0x253fc7=_0x5065c8==null||(_0x5c2448=_0x5065c8[_0xd11063(0x13c)])==null||(_0x203b3d=_0x5c2448['getCanvasElement'])==null?void 0x0:_0x203b3d[_0xd11063(0x529)](_0x5c2448);_0x253fc7&&(_0x253fc7[_0xd11063(0x115)][_0xd11063(0x122)]=_0xd11063(0x3c2));}function Ke(_0x1beab4){const _0x3161a6=_0x5c9dd2;let _0x24932f=g['MetaKeys']['CTRL_COMMAND'],_0x1fd4a5=g[_0x3161a6(0x56b)][_0x3161a6(0x257)]|g[_0x3161a6(0x56b)][_0x3161a6(0x415)];return{'keyCodes':[{'keyCode':g[_0x3161a6(0x3ab)]['ENTER']},{'keyCode':g['KeyCode']['BACKSPACE']},{'keyCode':g[_0x3161a6(0x3ab)][_0x3161a6(0x25d)]},{'keyCode':g[_0x3161a6(0x3ab)]['A'],'metaKey':_0x24932f},{'keyCode':g['KeyCode']['B'],'metaKey':_0x24932f},{'keyCode':g['KeyCode']['I'],'metaKey':_0x24932f},{'keyCode':g[_0x3161a6(0x3ab)]['U'],'metaKey':_0x24932f},{'keyCode':g['KeyCode']['X'],'metaKey':_0x1fd4a5},{'keyCode':g[_0x3161a6(0x3ab)][_0x3161a6(0x172)],'metaKey':_0x24932f},{'keyCode':g[_0x3161a6(0x3ab)]['PERIOD'],'metaKey':_0x24932f},{'keyCode':g['KeyCode']['L'],'metaKey':_0x1fd4a5},{'keyCode':g['KeyCode']['R'],'metaKey':_0x1fd4a5},{'keyCode':g[_0x3161a6(0x3ab)]['E'],'metaKey':_0x1fd4a5},{'keyCode':g[_0x3161a6(0x3ab)]['J'],'metaKey':_0x1fd4a5},{'keyCode':g[_0x3161a6(0x3ab)]['Digit7'],'metaKey':_0x1fd4a5},{'keyCode':g[_0x3161a6(0x3ab)][_0x3161a6(0x397)],'metaKey':_0x1fd4a5},{'keyCode':g[_0x3161a6(0x3ab)]['Z'],'metaKey':_0x24932f},{'keyCode':g[_0x3161a6(0x3ab)]['Y'],'metaKey':_0x24932f},{'keyCode':g['KeyCode']['Z'],'metaKey':_0x1fd4a5}],'handler':(_0x59e7e6,_0x24937f)=>{const _0x41d8e7=_0x3161a6;switch(_0x59e7e6+':'+(_0x24937f==null?0x0:_0x24937f)){case g[_0x41d8e7(0x3ab)][_0x41d8e7(0x2f4)]+':0':_0x1beab4['executeCommand'](f['BreakLineCommand']['id']);break;case g[_0x41d8e7(0x3ab)][_0x41d8e7(0x557)]+':0':_0x1beab4[_0x41d8e7(0x562)](f[_0x41d8e7(0x2b5)]['id']);break;case g[_0x41d8e7(0x3ab)]['DELETE']+':0':_0x1beab4[_0x41d8e7(0x562)](f[_0x41d8e7(0x25f)]['id']);break;case g[_0x41d8e7(0x3ab)]['A']+':'+_0x24932f:_0x1beab4[_0x41d8e7(0x562)](f[_0x41d8e7(0x2a5)]['id']);break;case g[_0x41d8e7(0x3ab)]['B']+':'+_0x24932f:_0x1beab4['executeCommand'](f[_0x41d8e7(0x163)]['id']);break;case g['KeyCode']['I']+':'+_0x24932f:_0x1beab4[_0x41d8e7(0x562)](f[_0x41d8e7(0x1b2)]['id']);break;case g[_0x41d8e7(0x3ab)]['U']+':'+_0x24932f:_0x1beab4[_0x41d8e7(0x562)](f[_0x41d8e7(0x139)]['id']);break;case g[_0x41d8e7(0x3ab)]['X']+':'+_0x1fd4a5:_0x1beab4['executeCommand'](f['SetInlineFormatStrikethroughCommand']['id']);break;case g['KeyCode'][_0x41d8e7(0x172)]+':'+_0x24932f:_0x1beab4[_0x41d8e7(0x562)](f[_0x41d8e7(0x2bb)]['id']);break;case g[_0x41d8e7(0x3ab)][_0x41d8e7(0x449)]+':'+_0x24932f:_0x1beab4[_0x41d8e7(0x562)](f[_0x41d8e7(0x43c)]['id']);break;case g['KeyCode']['L']+':'+_0x1fd4a5:_0x1beab4[_0x41d8e7(0x562)](f['AlignLeftCommand']['id']);break;case g['KeyCode']['R']+':'+_0x1fd4a5:_0x1beab4[_0x41d8e7(0x562)](f[_0x41d8e7(0x5cb)]['id']);break;case g[_0x41d8e7(0x3ab)]['E']+':'+_0x1fd4a5:_0x1beab4[_0x41d8e7(0x562)](f[_0x41d8e7(0x33e)]['id']);break;case g[_0x41d8e7(0x3ab)]['J']+':'+_0x1fd4a5:_0x1beab4[_0x41d8e7(0x562)](f[_0x41d8e7(0x135)]['id']);break;case g['KeyCode'][_0x41d8e7(0x61e)]+':'+_0x1fd4a5:_0x1beab4[_0x41d8e7(0x562)](f[_0x41d8e7(0x542)]['id']);break;case g[_0x41d8e7(0x3ab)][_0x41d8e7(0x397)]+':'+_0x1fd4a5:_0x1beab4[_0x41d8e7(0x562)](f[_0x41d8e7(0x22b)]['id']);break;case g[_0x41d8e7(0x3ab)]['Z']+':'+_0x24932f:_0x1beab4['executeCommand'](u[_0x41d8e7(0x2b6)]['id']);break;case g['KeyCode']['Y']+':'+_0x24932f:case g[_0x41d8e7(0x3ab)]['Z']+':'+_0x1fd4a5:_0x1beab4[_0x41d8e7(0x562)](u[_0x41d8e7(0x143)]['id']);break;}}};}const qe=function(_0x53b350){const _0x4c6889=_0x5c9dd2;let {containerWidth:_0x21c8d0,containerHeight:_0x5aad6a,scaleX:_0x90d7c6,scaleY:_0x2d9e71}=_0x53b350,_0x32ffc8=_0x90d7c6||0x1,_0x252012=_0x2d9e71||0x1,_0x2ce326=(0x0,g[_0x4c6889(0x270)])(R),_0x2ded07=(0x0,g[_0x4c6889(0x270)])(f[_0x4c6889(0x1d2)]),_0x45ff23=(0x0,g[_0x4c6889(0x270)])(p[_0x4c6889(0x5ce)]),_0x1a8442=(0x0,g[_0x4c6889(0x270)])(u[_0x4c6889(0x2e9)]),_0x36b1a3=(0x0,g[_0x4c6889(0x270)])(m[_0x4c6889(0x565)]),_0x34f0ce=(0x0,g[_0x4c6889(0x270)])(l[_0x4c6889(0x58d)]),_0x5e7a96=(0x0,g[_0x4c6889(0x270)])(u['ICommandService']),_0x394f7=(0x0,g[_0x4c6889(0x28c)])(_0x2ce326[_0x4c6889(0x5ad)]),_0xa050ef=(0x0,g['useObservable'])(_0x2ce326[_0x4c6889(0x472)]),_0x1c6ecc=(0x0,y[_0x4c6889(0x402)])(null),_0x471979=(0x0,y[_0x4c6889(0x402)])(null),_0x345eae=(0x0,y[_0x4c6889(0x402)])(null),_0x270d65=(0x0,y[_0x4c6889(0x402)])(null),_0x20578a=(0x0,y[_0x4c6889(0x402)])(null),_0x4b4f28=(0x0,y[_0x4c6889(0x402)])(null),[,_0x2bfaeb]=(0x0,y[_0x4c6889(0x2e2)])({'editorHeight':_0x5aad6a,'marginTop':0x0,'useAbsolutePosition':!0x1}),_0xa1bc84=(0x0,y[_0x4c6889(0x40d)])(_0x1d19f2=>{queueMicrotask(()=>{_0x2bfaeb(_0x1d19f2);});},[]),_0x1bc5ab=(0x0,y[_0x4c6889(0x40d)])(()=>_0x1a8442['getUnit'](P,u[_0x4c6889(0x3e4)][_0x4c6889(0x25e)]),[_0x1a8442]),_0x391117=(0x0,y[_0x4c6889(0x40d)])(()=>{const _0x2de43d=_0x4c6889;var _0x322e60;let _0x51da10=_0x32ffc8,_0x2a1d1c=_0x252012;if(!_0x394f7)return{'scaleAdjust':0x1,'renderScaleX':_0x51da10,'renderScaleY':_0x2a1d1c};let _0x26bc32=_0x45ff23['getRenderById'](_0x394f7['unitId']),_0x4d5f93=_0x26bc32==null?void 0x0:_0x26bc32[_0x2de43d(0x525)]['getAncestorScale'](),_0x579594=_0x26bc32==null?void 0x0:_0x26bc32['engine']['getCanvasElement'](),_0x387c51=_0x579594?Number['parseFloat'](_0x579594['style'][_0x2de43d(0x458)]||''):0x0,_0x248c49=(_0x322e60=_0x579594==null?void 0x0:_0x579594[_0x2de43d(0x5b0)]()[_0x2de43d(0x458)])==null?0x0:_0x322e60,_0x1d5190=_0x387c51>0x0&&_0x248c49>0x0?_0x248c49/_0x387c51:0x1;return{'scaleAdjust':Number[_0x2de43d(0x359)](_0x1d5190)&&_0x1d5190>0x0?_0x1d5190:0x1,'renderScaleX':(_0x4d5f93==null?void 0x0:_0x4d5f93[_0x2de43d(0x221)])||_0x51da10,'renderScaleY':(_0x4d5f93==null?void 0x0:_0x4d5f93[_0x2de43d(0x58a)])||_0x2a1d1c};},[_0x32ffc8,_0x252012,_0x394f7,_0x45ff23]),_0x15f20e=(0x0,y[_0x4c6889(0x40d)])(()=>{const _0x421d6d=_0x4c6889;if(!_0x394f7)return{'left':0x0,'top':0x0,'width':_0x21c8d0/_0x32ffc8,'height':_0x5aad6a/_0x252012};let {unitId:_0x3f2eab,subUnitId:_0x4ff083,shapeId:_0x36e2cd}=_0x394f7,_0x1a38b6=_0x34f0ce[_0x421d6d(0x5a2)](_0x3f2eab,_0x4ff083,_0x36e2cd);if(!_0x1a38b6)return{'left':0x0,'top':0x0,'width':_0x21c8d0/_0x32ffc8,'height':_0x5aad6a/_0x252012};let _0x6a0ce={'left':0x0,'top':0x0,'width':_0x21c8d0/_0x32ffc8,'height':_0x5aad6a/_0x252012};return _0x1a38b6[_0x421d6d(0x567)](_0x6a0ce);},[_0x394f7,_0x21c8d0,_0x5aad6a,_0x32ffc8,_0x252012,_0x34f0ce]),_0xf4033=(0x0,y[_0x4c6889(0x40d)])(()=>{const _0x1ea163=_0x4c6889;if(!_0x394f7)return null;let {unitId:_0x23f346,subUnitId:_0x490983,shapeId:_0x4babd1}=_0x394f7,_0x579d65=_0x34f0ce[_0x1ea163(0x5a2)](_0x23f346,_0x490983,_0x4babd1);if(!_0x579d65)return null;let _0x2d3171=_0x579d65[_0x1ea163(0x246)]();if(!_0x2d3171)return null;let _0x203727={'unitId':_0x23f346,'subUnitId':_0x490983,'drawingId':_0x4babd1},_0x5bd775=_0x36b1a3['getDrawingByParam'](_0x203727),_0x554c31={'angle':0x0,'flipX':!0x1,'flipY':!0x1};_0x5bd775&&_0x5bd775['transform']&&(_0x554c31=_0x5bd775[_0x1ea163(0x1ce)]);let _0x55ed7f={'left':0x0,'top':0x0,'width':_0x21c8d0/_0x32ffc8,'height':_0x5aad6a/_0x252012},_0x24744f=_0x579d65[_0x1ea163(0x567)](_0x55ed7f),_0x244fea,_0x396976=u[_0x1ea163(0x4a3)][_0x1ea163(0x49b)],_0x18fe09=u['HorizontalAlign']['LEFT'];if(_0x1ea163(0x1c7)in _0x2d3171&&_0x2d3171[_0x1ea163(0x1c7)]){var _0x29c8e4,_0x2d01ec;let _0x157306=_0x2d3171[_0x1ea163(0x1c7)];_0x157306!=null&&_0x157306[_0x1ea163(0x2fd)]&&(_0x244fea=_0x157306['doc']),_0x396976=(_0x29c8e4=_0x157306==null?void 0x0:_0x157306['va'])==null?u[_0x1ea163(0x4a3)][_0x1ea163(0x49b)]:_0x29c8e4,_0x18fe09=(_0x2d01ec=_0x157306==null?void 0x0:_0x157306['ha'])==null?u[_0x1ea163(0x18a)][_0x1ea163(0x33b)]:_0x2d01ec;}return{'doc':_0x244fea,'verticalAlign':_0x396976,'horizontalAlign':_0x18fe09,'textRect':_0x24744f,'transform':_0x554c31,'isHorizontal':_0x2d3171[_0x1ea163(0x28a)]};},[_0x394f7,_0x34f0ce,_0x36b1a3,_0x21c8d0,_0x5aad6a,_0x32ffc8,_0x252012]),_0x5d4485=(0x0,y[_0x4c6889(0x420)])(()=>{const _0x1a9d0d=_0x4c6889;let _0x1922e1=_0xf4033();return _0x1922e1!=null&&_0x1922e1[_0x1a9d0d(0x2fd)]?V(_0x1922e1[_0x1a9d0d(0x2fd)],{'isHorizontal':!0x0,'textRect':_0x1922e1[_0x1a9d0d(0x332)],'verticalAlign':_0x1922e1[_0x1a9d0d(0x499)],'horizontalAlign':_0x1922e1[_0x1a9d0d(0x3ba)]}):{'id':P,'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0}]},'documentStyle':{'pageSize':{'width':_0x21c8d0/_0x32ffc8,'height':0x1/0x0}}};},[_0xf4033,_0x21c8d0,_0x32ffc8]),_0x4b0144=(0x0,f['useEditor'])({'editorId':P,'initialValue':_0x5d4485,'container':_0x471979,'autoFocus':!0x1,'canvasStyle':{'backgroundColor':'transparent'},'isSingle':!0x1});(0x0,y[_0x4c6889(0x4ef)])(()=>{const _0xb28eb4=_0x4c6889;_0x4b0144&&Ge(_0x45ff23[_0xb28eb4(0x50d)](P));},[_0x4b0144,_0x45ff23]);let _0x3bd6de=(0x0,f[_0x4c6889(0x5b5)])(P);(0x0,f['useKeyboardEvent'])(_0x3bd6de,(0x0,y[_0x4c6889(0x420)])(()=>Ke(_0x5e7a96),[_0x5e7a96]),_0x4b0144),(0x0,f[_0x4c6889(0x52a)])(_0x3bd6de,!0x1,_0x4b0144);let _0x71e7b2=(0x0,y[_0x4c6889(0x40d)])((_0x4f517e=!0x0)=>{const _0x179753=_0x4c6889;var _0x392688,_0x675fb3,_0x532e6a;if(!_0x4b0144)return;let _0x28a332=_0x4b0144[_0x179753(0x421)]()[_0x179753(0x5b6)](_0x57a7d8=>_0x57a7d8[_0x179753(0x12f)]),_0xa07d99=((_0x392688=(_0x675fb3=_0x4b0144[_0x179753(0x197)]()[_0x179753(0x3ed)])==null?void 0x0:_0x675fb3[_0x179753(0x225)][_0x179753(0x209)])==null?0x2:_0x392688)-0x2,_0x27a522=(_0x532e6a=_0x28a332==null?void 0x0:_0x28a332[_0x179753(0x32d)])==null?_0x4f517e?_0xa07d99:null:_0x532e6a;_0x27a522!==null&&_0x4b0144[_0x179753(0x263)]([{'startOffset':_0x27a522,'endOffset':_0x27a522}],!0x1);},[_0x4b0144]),_0xc96e49=(0x0,y[_0x4c6889(0x40d)])(()=>{const _0x38b209=_0x4c6889;_0x20578a[_0x38b209(0x1c1)]!==null&&(cancelAnimationFrame(_0x20578a[_0x38b209(0x1c1)]),_0x20578a[_0x38b209(0x1c1)]=null),_0x4b4f28['current']!==null&&(window[_0x38b209(0x284)](_0x4b4f28[_0x38b209(0x1c1)]),_0x4b4f28[_0x38b209(0x1c1)]=null);},[]),_0x5afe35=(0x0,y['useCallback'])(()=>{const _0x1166b6=_0x4c6889;var _0x3b8425,_0x175839,_0x277cf6;if(!_0x4b0144)return;let _0x5b6c36=_0x45ff23['getRenderById'](P),_0x1f90c6=_0x5b6c36==null?void 0x0:_0x5b6c36[_0x1166b6(0x2bc)](C[_0x1166b6(0x47f)]);if(!_0x1f90c6)return;let _0x5a2605=_0x1f90c6[_0x1166b6(0x28e)](),_0x4ddab0=_0x1bc5ab(),{renderScaleX:_0x5e6a47,renderScaleY:_0x6b0e83,scaleAdjust:_0x2e71ed}=_0x391117(),_0x13cb31=_0xf4033(),_0x338a3a=(_0x3b8425=_0x13cb31==null?void 0x0:_0x13cb31[_0x1166b6(0x499)])==null?u[_0x1166b6(0x4a3)][_0x1166b6(0x49b)]:_0x3b8425,_0x4bb3ca=(_0x175839=_0x13cb31==null?void 0x0:_0x13cb31[_0x1166b6(0x3ba)])==null?u[_0x1166b6(0x18a)][_0x1166b6(0x33b)]:_0x175839,_0x481d62=(_0x277cf6=_0x15f20e())==null?{'left':0x0,'top':0x0,'width':_0x21c8d0/_0x32ffc8,'height':_0x5aad6a/_0x252012}:_0x277cf6,_0x533078=_0x21c8d0/_0x32ffc8,_0x26bc1d=_0x5aad6a/_0x252012;_0x4ddab0&&(_0x4ddab0['setZoomRatio'](Math[_0x1166b6(0x399)](_0x5e6a47,_0x6b0e83)),_0x4ddab0[_0x1166b6(0x453)]({'marginLeft':0x0,'marginRight':0x0,'marginBottom':0x0,'pageSize':{'width':_0x481d62['width'],'height':0x1/0x0}}),_0x4ddab0[_0x1166b6(0x1e3)]({'verticalAlign':_0x338a3a,'horizontalAlign':_0x4bb3ca,'centerAngle':0x0,'vertexAngle':0x0,'wrapStrategy':u[_0x1166b6(0x1be)][_0x1166b6(0x1c3)]})),_0x5a2605[_0x1166b6(0x4c7)]();let {actualHeight:_0x3a14ec}=_0x5a2605[_0x1166b6(0x118)](),_0x34bb78=_0x481d62['height'],_0x3aa0c3=0x0;if(_0x3a14ec<=_0x34bb78)_0x338a3a===u['VerticalAlign'][_0x1166b6(0x471)]?_0x3aa0c3=(_0x34bb78-_0x3a14ec)/0x2:_0x338a3a===u[_0x1166b6(0x4a3)][_0x1166b6(0x5f8)]&&(_0x3aa0c3=_0x34bb78-_0x3a14ec),_0xa1bc84({'editorHeight':_0x481d62['height']*_0x252012,'marginTop':0x0,'useAbsolutePosition':!0x1});else{let _0x3e4bc6=0x0;_0x338a3a===u['VerticalAlign'][_0x1166b6(0x471)]?_0x3e4bc6=(_0x34bb78-_0x3a14ec)/0x2:_0x338a3a===u[_0x1166b6(0x4a3)][_0x1166b6(0x5f8)]&&(_0x3e4bc6=_0x34bb78-_0x3a14ec),_0x3aa0c3=0x0,_0xa1bc84({'editorHeight':_0x3a14ec*_0x252012,'marginTop':_0x3e4bc6*_0x252012,'useAbsolutePosition':!0x0});}if(_0x4ddab0){let _0x2fd9f6=Math[_0x1166b6(0x399)](0x0,_0x481d62['left']),_0x40fc5d=Math[_0x1166b6(0x399)](0x0,_0x481d62[_0x1166b6(0x3f6)]+_0x3aa0c3);_0x4ddab0[_0x1166b6(0x453)]({'marginLeft':_0x2fd9f6,'marginRight':Math[_0x1166b6(0x399)](0x0,_0x533078-_0x481d62[_0x1166b6(0x2f0)]-_0x481d62[_0x1166b6(0x458)]),'marginBottom':Math[_0x1166b6(0x399)](0x0,_0x26bc1d-_0x481d62['top']-_0x481d62[_0x1166b6(0x167)]),'pageSize':{'width':_0x533078,'height':_0x26bc1d}}),_0x4ddab0[_0x1166b6(0x1ea)]({'t':_0x40fc5d}),_0x5a2605[_0x1166b6(0x4c7)]();}if(_0x5b6c36){let _0x1cefb4=_0x21c8d0,_0x3e8b70=_0x5aad6a;_0x5b6c36[_0x1166b6(0x525)]['transformByState']({'width':_0x1cefb4*_0x2e71ed/_0x5e6a47,'height':_0x3e8b70*_0x2e71ed/_0x6b0e83,'scaleX':_0x5e6a47*_0x2e71ed,'scaleY':_0x6b0e83*_0x2e71ed}),_0x5b6c36['mainComponent']&&_0x5b6c36[_0x1166b6(0x271)][_0x1166b6(0x2fe)](_0x1cefb4*_0x2e71ed/_0x5e6a47,_0x3e8b70*_0x2e71ed/_0x6b0e83);}},[_0x4b0144,_0x45ff23,_0x1bc5ab,_0x391117,_0xf4033,_0x15f20e,_0x21c8d0,_0x5aad6a,_0x32ffc8,_0x252012,_0xa1bc84]),_0xc17f9=(0x0,y[_0x4c6889(0x40d)])((_0x5c94c9=!0x1)=>{_0xc96e49(),_0x20578a['current']=requestAnimationFrame(()=>{const _0x4a3ac9=_0x44d3;_0x5afe35(),_0x5c94c9&&_0x71e7b2(!0x1),_0x20578a['current']=null,_0x4b4f28[_0x4a3ac9(0x1c1)]=window[_0x4a3ac9(0x183)](()=>{const _0x3356d0=_0x4a3ac9;_0x5afe35(),_0x5c94c9&&_0x71e7b2(!0x1),_0x4b4f28[_0x3356d0(0x1c1)]=null;},0x14);});},[_0x5afe35,_0xc96e49,_0x71e7b2]);(0x0,y[_0x4c6889(0x4ef)])(()=>{const _0x3b02b3=_0x4c6889;if(!_0x4b0144||!_0x394f7)return;let {shapeId:_0x1bb3cc,unitId:_0x3199e4}=_0x394f7;if(_0xa050ef){var _0x51cc00,_0x1f0f10,_0x14c050,_0x2b9707;let _0x7fc718=te(_0x4b0144[_0x3b02b3(0x197)]()),_0x6295cc=_0xf4033(),_0x2dbf40={'va':(_0x51cc00=_0x6295cc==null?void 0x0:_0x6295cc['verticalAlign'])==null?u[_0x3b02b3(0x4a3)]['TOP']:_0x51cc00,'ha':(_0x1f0f10=_0x6295cc==null?void 0x0:_0x6295cc['horizontalAlign'])==null?u[_0x3b02b3(0x18a)][_0x3b02b3(0x33b)]:_0x1f0f10,'doc':_0x7fc718};_0x5e7a96['executeCommand'](l[_0x3b02b3(0x447)]['id'],{'unitId':_0x3199e4,'shapeId':_0x1bb3cc,'shapeData':{'shapeText':{'isHorizontal':(_0x14c050=_0x6295cc==null?void 0x0:_0x6295cc[_0x3b02b3(0x28a)])==null?!0x0:_0x14c050,'dataModel':_0x2dbf40}},'oldShapeJSON':{'oldShapeData':{'shapeText':{'isHorizontal':(_0x2b9707=_0x6295cc==null?void 0x0:_0x6295cc[_0x3b02b3(0x28a)])==null?!0x0:_0x2b9707,'dataModel':_0x345eae[_0x3b02b3(0x1c1)]}}}});return;}let _0x26b0f1=_0xf4033();if(_0x26b0f1!=null&&_0x26b0f1[_0x3b02b3(0x2fd)]){_0x345eae[_0x3b02b3(0x1c1)]={'va':_0x26b0f1[_0x3b02b3(0x499)],'ha':_0x26b0f1['horizontalAlign'],'doc':u[_0x3b02b3(0x3e1)][_0x3b02b3(0x48c)](_0x26b0f1[_0x3b02b3(0x2fd)])};let _0x15906e=V(_0x26b0f1[_0x3b02b3(0x2fd)],{'isHorizontal':!0x0,'textRect':_0x26b0f1[_0x3b02b3(0x332)],'verticalAlign':_0x26b0f1[_0x3b02b3(0x499)],'horizontalAlign':_0x26b0f1['horizontalAlign']});return _0x4b0144['setDocumentData'](_0x15906e,null),()=>{const _0x189196=_0x3b02b3;var _0xfd8b50,_0x42eb98,_0x34a5aa,_0x1ccb7b;let _0x5c5703=te(_0x4b0144[_0x189196(0x197)]()),_0x376f5f=_0xf4033(),_0x29c6ab={'va':(_0xfd8b50=_0x376f5f==null?void 0x0:_0x376f5f[_0x189196(0x499)])==null?u[_0x189196(0x4a3)][_0x189196(0x49b)]:_0xfd8b50,'ha':(_0x42eb98=_0x376f5f==null?void 0x0:_0x376f5f[_0x189196(0x3ba)])==null?u[_0x189196(0x18a)]['LEFT']:_0x42eb98,'doc':_0x5c5703};_0x5e7a96[_0x189196(0x562)](l[_0x189196(0x447)]['id'],{'unitId':_0x3199e4,'shapeId':_0x1bb3cc,'shapeData':{'shapeText':{'isHorizontal':(_0x34a5aa=_0x376f5f==null?void 0x0:_0x376f5f['isHorizontal'])==null?!0x0:_0x34a5aa,'dataModel':_0x29c6ab}},'oldShapeJSON':{'oldShapeData':{'shapeText':{'isHorizontal':(_0x1ccb7b=_0x376f5f==null?void 0x0:_0x376f5f[_0x189196(0x28a)])==null?!0x0:_0x1ccb7b,'dataModel':_0x345eae['current']}}}});};}else _0x4b0144[_0x3b02b3(0x61d)](_0x5d4485,null);},[_0x4b0144,_0x394f7,_0xa050ef]),(0x0,y[_0x4c6889(0x4ef)])(()=>{if(!(!_0x4b0144||!_0x394f7))return _0x2ded07['blur'](!0x0),_0x5afe35(),_0x270d65['current']=requestAnimationFrame(()=>{const _0x251395=_0x44d3;_0x2ded07['focus'](P),_0x71e7b2(),_0xc17f9(),_0x270d65[_0x251395(0x1c1)]=null;}),()=>{const _0x4c5b29=_0x44d3;_0x270d65[_0x4c5b29(0x1c1)]!==null&&(cancelAnimationFrame(_0x270d65[_0x4c5b29(0x1c1)]),_0x270d65[_0x4c5b29(0x1c1)]=null),_0xc96e49(),_0x2ded07[_0x4c5b29(0x1d8)](!0x0);};},[_0x4b0144,_0x394f7,_0x2ded07,_0x5afe35,_0x71e7b2,_0xc17f9,_0xc96e49]),(0x0,y[_0x4c6889(0x4ef)])(()=>{const _0x2c2ba9=_0x4c6889;if(!_0x4b0144)return;let _0x5b9b61=_0x5e7a96[_0x2c2ba9(0x479)](_0x2d5e4e=>{const _0x54baf7=_0x2c2ba9;_0x2d5e4e['id']===C[_0x54baf7(0x17b)]['id']&&_0x2d5e4e['params'][_0x54baf7(0x1bb)]===P&&_0x394f7&&(_0x394f7[_0x54baf7(0x590)]?_0x5afe35():_0x2ce326[_0x54baf7(0x440)]({..._0x394f7,'visible':!0x0}));});return()=>{const _0x33f82e=_0x2c2ba9;_0x5b9b61[_0x33f82e(0x389)]();};},[_0x4b0144,_0x5afe35,_0x394f7,_0xc17f9,_0x2ce326]),(0x0,y['useEffect'])(()=>(_0x5afe35(),_0xc17f9(),()=>{_0xc96e49();}),[_0x5afe35,_0xc17f9,_0xc96e49]);let _0x3aa914=(0x0,y[_0x4c6889(0x420)])(()=>We(_0x21c8d0,_0x5aad6a),[_0x21c8d0,_0x5aad6a]),_0x24d287=(0x0,y[_0x4c6889(0x420)])(()=>{const _0x41fb5a=_0x4c6889;let _0x17b0b5=_0xf4033(),_0x4c1f6c=_0x17b0b5==null?void 0x0:_0x17b0b5[_0x41fb5a(0x1ce)];return _0x4c1f6c&&_0x4c1f6c||{'angle':0x0,'flipX':!0x1,'flipY':!0x1};},[_0xf4033]);return(0x0,x[_0x4c6889(0x530)])('div',{'ref':_0x1c6ecc,'data-u-comp':_0x4c6889(0x128),'className':_0x4c6889(0x382),'style':{'transform':'rotate('+_0x24d287[_0x4c6889(0x62b)]+'deg)\x20scaleY('+(_0x24d287[_0x4c6889(0x559)]?-0x1:0x1)+')'},'children':(0x0,x[_0x4c6889(0x530)])(_0x4c6889(0x41f),{'ref':_0x471979,'className':_0x4c6889(0x526),'data-u-comp':_0x4c6889(0x544),'style':_0x3aa914,'data-editorid':P})});},Je={'left':-0x270f,'top':-0x270f,'width':0x64,'height':0x64,'angle':0x0,'scaleX':0x1,'scaleY':0x1};function Ye(_0x393477,_0x481391,_0x12694d,_0x5338b6,_0x2d63d4,_0x5766de){const _0x2cbf3f=_0x5c9dd2;var _0x83f2ed,_0x419298;let {scaleX:_0x387ff6,scaleY:_0x29bd79}=_0x5766de[_0x2cbf3f(0x497)](),_0x67bea3=_0x5766de[_0x2cbf3f(0x527)](f[_0x2cbf3f(0x546)][_0x2cbf3f(0x50b)]),_0x584faf=(_0x83f2ed=_0x67bea3==null?void 0x0:_0x67bea3[_0x2cbf3f(0x5d5)])==null?0x0:_0x83f2ed,_0x87a2bb=(_0x419298=_0x67bea3==null?void 0x0:_0x67bea3[_0x2cbf3f(0x3ec)])==null?0x0:_0x419298;return{'left':(_0x393477-_0x584faf)*_0x387ff6,'top':(_0x481391-_0x87a2bb)*_0x29bd79,'width':_0x12694d*_0x387ff6,'height':_0x5338b6*_0x29bd79,'angle':_0x2d63d4,'scaleX':_0x387ff6,'scaleY':_0x29bd79};}function Xe(_0x814600){const _0x259851=_0x5c9dd2;let {editingParams:_0x523bda,scene:_0x352235,getShapeTransform:_0x87fa5d}=_0x814600,[_0x18ffbf,_0x342da4]=(0x0,y[_0x259851(0x2e2)])(Je),_0x298ed8=(0x0,y['useRef'])(_0x18ffbf);_0x298ed8[_0x259851(0x1c1)]=_0x18ffbf;let _0x2e6ddb=(0x0,y[_0x259851(0x40d)])(()=>{const _0x308969=_0x259851;if(!_0x523bda||!_0x352235){_0x298ed8[_0x308969(0x1c1)]!==Je&&_0x342da4(Je);return;}let _0x54d6f1=_0x87fa5d();if(!_0x54d6f1){_0x298ed8['current']!==Je&&_0x342da4(Je);return;}let {left:_0x11f7d1,top:_0x1f662f,width:_0x4bcccd,height:_0x218a9a,angle:_0x9ffd92}=_0x54d6f1,{scaleX:_0x39a87d,scaleY:_0x42377b}=_0x352235[_0x308969(0x497)]();if(!_0x523bda[_0x308969(0x590)]){_0x342da4({'left':-0x270f,'top':-0x270f,'width':_0x4bcccd*_0x39a87d,'height':_0x218a9a*_0x42377b,'angle':0x0,'scaleX':_0x39a87d,'scaleY':_0x42377b});return;}_0x342da4(Ye(_0x11f7d1,_0x1f662f,_0x4bcccd,_0x218a9a,_0x9ffd92,_0x352235));},[_0x523bda,_0x352235,_0x87fa5d]);return(0x0,y[_0x259851(0x4ef)])(()=>{_0x2e6ddb();},[_0x523bda,_0x2e6ddb]),{'position':_0x18ffbf,'updatePosition':_0x2e6ddb};}const Ze=(0x0,y[_0x5c9dd2(0x571)])(_0x1f11d1=>{const _0x5e38e1=_0x5c9dd2;let {children:_0x592ca3,onPositionUpdate:_0x3a6fac}=_0x1f11d1,_0x39c88c=(0x0,y['useRef'])(null),_0x2fa481=(0x0,g['useDependency'])(R),_0x56b612=(0x0,g[_0x5e38e1(0x270)])(p[_0x5e38e1(0x5ce)]),_0x5ed7c1=(0x0,g[_0x5e38e1(0x28c)])(_0x2fa481[_0x5e38e1(0x5ad)]),_0x5659df=(0x0,y[_0x5e38e1(0x420)])(()=>_0x5ed7c1?_0x56b612[_0x5e38e1(0x50d)](_0x5ed7c1[_0x5e38e1(0x1bb)]):null,[_0x5ed7c1,_0x56b612]),_0x529814=(0x0,y['useMemo'])(()=>{const _0x236048=_0x5e38e1;var _0x1bda43;return(_0x1bda43=_0x5659df==null?void 0x0:_0x5659df[_0x236048(0x525)])==null?null:_0x1bda43;},[_0x5659df]),{position:_0x7be339,updatePosition:_0x3e5953}=Xe({'editingParams':_0x5ed7c1,'scene':_0x529814,'getShapeTransform':(0x0,y[_0x5e38e1(0x40d)])(()=>{const _0x17fe20=_0x5e38e1;if(!_0x5ed7c1||!_0x529814)return null;let _0x408a1a=_0x5ed7c1[_0x17fe20(0x47a)],_0x2604ae=_0x529814[_0x17fe20(0x614)](_0x408a1a);return _0x2604ae instanceof H?{'left':_0x2604ae[_0x17fe20(0x2f0)],'top':_0x2604ae[_0x17fe20(0x3f6)],'width':_0x2604ae['width'],'height':_0x2604ae[_0x17fe20(0x167)],'angle':_0x2604ae[_0x17fe20(0x62b)]}:null;},[_0x5ed7c1,_0x529814])}),_0x60fbff=(0x0,y[_0x5e38e1(0x40d)])(()=>{const _0x47a997=_0x5e38e1;let _0x363498=_0x39c88c[_0x47a997(0x1c1)];_0x363498&&(_0x363498[_0x47a997(0x115)]['left']=_0x7be339[_0x47a997(0x2f0)]+'px',_0x363498[_0x47a997(0x115)]['top']=_0x7be339[_0x47a997(0x3f6)]+'px',_0x363498['style'][_0x47a997(0x458)]=_0x7be339[_0x47a997(0x458)]+'px',_0x363498[_0x47a997(0x115)][_0x47a997(0x167)]=_0x7be339[_0x47a997(0x167)]+'px');},[_0x7be339]);return(0x0,y[_0x5e38e1(0x4ef)])(()=>{const _0x26c05c=_0x5e38e1;_0x60fbff(),_0x3a6fac==null||_0x3a6fac({'width':_0x7be339[_0x26c05c(0x458)],'height':_0x7be339[_0x26c05c(0x167)],'scaleX':_0x7be339[_0x26c05c(0x221)],'scaleY':_0x7be339[_0x26c05c(0x58a)]});},[_0x7be339,_0x60fbff,_0x3a6fac]),(0x0,y[_0x5e38e1(0x4ef)])(()=>{const _0x25585e=_0x5e38e1;if(!_0x529814)return;let _0x510bb5=_0x529814['getViewport'](f[_0x25585e(0x546)]['VIEW_MAIN']);if(!_0x510bb5)return;let _0x28e280=_0x510bb5[_0x25585e(0x39b)]['subscribeEvent'](()=>{_0x3e5953();});return()=>{const _0x4194bd=_0x25585e;_0x28e280[_0x4194bd(0x3ef)]();};},[_0x529814,_0x3e5953]),(0x0,y[_0x5e38e1(0x4ef)])(()=>{const _0x42c74d=_0x5e38e1;if(!_0x5ed7c1||!_0x529814)return;let _0x4c7680=_0x5ed7c1[_0x42c74d(0x47a)],_0x79f08c=_0x529814['getObject'](_0x4c7680);if(_0x79f08c instanceof H){let _0xac2bf9=_0x79f08c['onTransformChange$']['subscribeEvent'](()=>{_0x3e5953();});return()=>{_0xac2bf9['unsubscribe']();};}},[_0x5ed7c1,_0x529814,_0x3e5953]),(0x0,x[_0x5e38e1(0x530)])(_0x5e38e1(0x41f),{'ref':_0x39c88c,'data-u-comp':_0x5e38e1(0x4e7),'className':_0x5e38e1(0x629),'style':(0x0,y[_0x5e38e1(0x420)])(()=>({'left':_0x7be339[_0x5e38e1(0x2f0)],'top':_0x7be339[_0x5e38e1(0x3f6)],'width':_0x7be339[_0x5e38e1(0x458)],'height':_0x7be339[_0x5e38e1(0x167)],'pointerEvents':_0x5ed7c1!=null&&_0x5ed7c1['visible']?_0x5e38e1(0x123):_0x5e38e1(0x4e6)}),[_0x7be339,_0x5ed7c1==null?void 0x0:_0x5ed7c1[_0x5e38e1(0x590)]]),'children':_0x592ca3});}),Qe=(0x0,y['memo'])(()=>{const _0x5d64b1=_0x5c9dd2;let _0x4caf3f=(0x0,g[_0x5d64b1(0x28c)])((0x0,g[_0x5d64b1(0x270)])(R)[_0x5d64b1(0x5ad)]),[_0xbb62cd,_0x167eb5]=(0x0,y[_0x5d64b1(0x2e2)])({'width':0x64,'height':0x64,'scaleX':0x1,'scaleY':0x1}),_0x4ecfa2=(0x0,y['useCallback'])(_0x290ce1=>{const _0x4bb94a=_0x5d64b1;_0x167eb5({'width':_0x290ce1[_0x4bb94a(0x458)],'height':_0x290ce1['height'],'scaleX':_0x290ce1[_0x4bb94a(0x221)],'scaleY':_0x290ce1['scaleY']});},[]);return _0x4caf3f!=null&&_0x4caf3f[_0x5d64b1(0x590)]?(0x0,x[_0x5d64b1(0x530)])(Ze,{'onPositionUpdate':_0x4ecfa2,'children':(0x0,x[_0x5d64b1(0x530)])(qe,{'containerWidth':_0xbb62cd['width'],'containerHeight':_0xbb62cd[_0x5d64b1(0x167)],'scaleX':_0xbb62cd[_0x5d64b1(0x221)],'scaleY':_0xbb62cd[_0x5d64b1(0x58a)]})}):null;});let $e=class extends u['Plugin']{constructor(_0x557f94=Ne,_0x55a8c4,_0x3b7fa7,_0x4cb264,_0x10068f){const _0x4455ba=_0x5c9dd2;super(),this[_0x4455ba(0x4b3)]=_0x557f94,this['_injector']=_0x55a8c4,this[_0x4455ba(0x23a)]=_0x3b7fa7,this[_0x4455ba(0x4a2)]=_0x4cb264,this[_0x4455ba(0x553)]=_0x10068f;let {menu:_0x58b285,..._0x55ef6e}=(0x0,u[_0x4455ba(0x404)])({},Ne,this[_0x4455ba(0x4b3)]);_0x58b285&&this[_0x4455ba(0x4a2)]['setConfig']('menu',_0x58b285,{'merge':!0x0}),this[_0x4455ba(0x4a2)][_0x4455ba(0x55a)](_0x4455ba(0x45a),_0x55ef6e),this[_0x4455ba(0x54d)]();}[_0x5c9dd2(0x587)](){const _0x4cc890=_0x5c9dd2;(0x0,u[_0x4cc890(0x4a6)])(this[_0x4cc890(0x5a0)],[[Ae],[K],[G],[Fe],[ye],[R]]),this[_0x4cc890(0x486)]();}['onReady'](){const _0x359d4b=_0x5c9dd2;this[_0x359d4b(0x553)][_0x359d4b(0x1e2)](u[_0x359d4b(0x3e4)][_0x359d4b(0x25e)],[Fe]),this[_0x359d4b(0x553)][_0x359d4b(0x1e2)](u[_0x359d4b(0x3e4)][_0x359d4b(0x25e)],[Re]),this[_0x359d4b(0x553)]['registerRenderModule'](u[_0x359d4b(0x3e4)][_0x359d4b(0x25e)],[Ue]),(0x0,u['touchDependencies'])(this[_0x359d4b(0x5a0)],[[Ae],[K],[G],[ye],[R]]);}[_0x5c9dd2(0x54d)](){const _0x45e2c4=_0x5c9dd2;[A,j,M][_0x45e2c4(0x450)](_0x45ddc4=>this[_0x45e2c4(0x365)](this[_0x45e2c4(0x23a)]['registerCommand'](_0x45ddc4)));}[_0x5c9dd2(0x486)](){const _0x466dfd=_0x5c9dd2;let _0x55b448=this[_0x466dfd(0x5a0)],_0x132e43=_0x55b448[_0x466dfd(0x1fd)](g[_0x466dfd(0x3e7)]),_0x1d9541=_0x55b448[_0x466dfd(0x1fd)](g[_0x466dfd(0x17d)]);this[_0x466dfd(0x365)](_0x132e43['register'](_0x466dfd(0x1da),Qe)),this[_0x466dfd(0x365)](_0x1d9541[_0x466dfd(0x256)](g[_0x466dfd(0x226)]['CONTENT'],()=>(0x0,g[_0x466dfd(0x31c)])(Qe,_0x55b448)));}};L($e,_0x5c9dd2(0x410),u['UniverInstanceType'][_0x5c9dd2(0x25e)]),L($e,'pluginName','DOCS_SHAPE_UI_PLUGIN'),L($e,_0x5c9dd2(0x259),je),L($e,'version',Me),$e=W([(0x0,u[_0x5c9dd2(0x509)])(S[_0x5c9dd2(0x33f)],d[_0x5c9dd2(0x346)],l[_0x5c9dd2(0x53e)]),U(0x1,(0x0,u[_0x5c9dd2(0x2ea)])(u['Injector'])),U(0x2,u[_0x5c9dd2(0x3f9)]),U(0x3,u[_0x5c9dd2(0x18c)]),U(0x4,p[_0x5c9dd2(0x5ce)])],$e),exports[_0x5c9dd2(0x35e)]=j,Object[_0x5c9dd2(0x2b4)](exports,_0x5c9dd2(0x46e),{'enumerable':!0x0,'get':function(){return Ae;}}),exports[_0x5c9dd2(0x16b)]=A,exports['OpenDocShapeFormatPanelOperation']=M,Object[_0x5c9dd2(0x2b4)](exports,_0x5c9dd2(0x386),{'enumerable':!0x0,'get':function(){return $e;}});
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;}});