@univerjs-pro/sheets-shape-ui 1.0.0-alpha.1 → 1.0.0-insiders.20260629-12f2e44

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 +16 -16
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- const _0x2c7845=_0x4844;(function(_0x2351e2,_0x3c7373){const _0x9fd7ec=_0x4844,_0x18b7e1=_0x2351e2();while(!![]){try{const _0x3697c=parseInt(_0x9fd7ec(0x2a5))/0x1+parseInt(_0x9fd7ec(0x590))/0x2*(-parseInt(_0x9fd7ec(0x337))/0x3)+parseInt(_0x9fd7ec(0x592))/0x4*(-parseInt(_0x9fd7ec(0x476))/0x5)+-parseInt(_0x9fd7ec(0x3ba))/0x6+-parseInt(_0x9fd7ec(0x483))/0x7+-parseInt(_0x9fd7ec(0x358))/0x8*(-parseInt(_0x9fd7ec(0x49f))/0x9)+parseInt(_0x9fd7ec(0x2f8))/0xa*(parseInt(_0x9fd7ec(0x544))/0xb);if(_0x3697c===_0x3c7373)break;else _0x18b7e1['push'](_0x18b7e1['shift']());}catch(_0x10c823){_0x18b7e1['push'](_0x18b7e1['shift']());}}}(_0x1479,0xca907),Object[_0x2c7845(0x40c)](exports,Symbol[_0x2c7845(0x2da)],{'value':_0x2c7845(0x1d9)}));let e=require('@univerjs-pro/sheets-shape'),t=require('@univerjs/core'),n=require('@univerjs/sheets'),r=require('@univerjs/sheets-drawing'),i=require('rxjs'),a=require('@univerjs/drawing'),o=require('@univerjs/engine-render'),s=require('@univerjs/docs-ui'),c=require('@univerjs/sheets-ui'),l=require('@univerjs/ui'),u=require('@univerjs-pro/engine-shape'),d=require('@univerjs/drawing-ui'),f=require('@univerjs/docs'),p=require('@univerjs/design'),m=require('react'),h=require('react/jsx-runtime'),g=require('@univerjs/sheets-drawing-ui'),_=require('@univerjs/icons'),v=require('@univerjs-pro/shape-editor-ui');function y(_0x5590e2){'@babel/helpers - typeof';const _0x64c463=_0x2c7845;return y=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x64c463(0x3d8)?function(_0x533805){return typeof _0x533805;}:function(_0x212c12){const _0xe8997a=_0x64c463;return _0x212c12&&typeof Symbol==_0xe8997a(0x4bc)&&_0x212c12['constructor']===Symbol&&_0x212c12!==Symbol[_0xe8997a(0x219)]?'symbol':typeof _0x212c12;},y(_0x5590e2);}function b(_0x4c5e66,_0x55b67c){const _0x59f597=_0x2c7845;if(y(_0x4c5e66)!='object'||!_0x4c5e66)return _0x4c5e66;var _0x370763=_0x4c5e66[Symbol['toPrimitive']];if(_0x370763!==void 0x0){var _0x456f0e=_0x370763[_0x59f597(0x52f)](_0x4c5e66,_0x55b67c||_0x59f597(0x300));if(y(_0x456f0e)!=_0x59f597(0x2e8))return _0x456f0e;throw TypeError(_0x59f597(0x395));}return(_0x55b67c===_0x59f597(0x5be)?String:Number)(_0x4c5e66);}function x(_0x458f82){var _0x23e8ba=b(_0x458f82,'string');return y(_0x23e8ba)=='symbol'?_0x23e8ba:_0x23e8ba+'';}function S(_0x378e31,_0x2724d8,_0x3a32d2){return(_0x2724d8=x(_0x2724d8))in _0x378e31?Object['defineProperty'](_0x378e31,_0x2724d8,{'value':_0x3a32d2,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x378e31[_0x2724d8]=_0x3a32d2,_0x378e31;}var C=class extends t[_0x2c7845(0x4d8)]{constructor(..._0x1140d9){const _0x1d7d6d=_0x2c7845;super(..._0x1140d9),S(this,_0x1d7d6d(0x4c2),new i['BehaviorSubject'](null)),S(this,_0x1d7d6d(0x23f),this[_0x1d7d6d(0x4c2)][_0x1d7d6d(0x52c)]()),S(this,_0x1d7d6d(0x5fc),new i[(_0x1d7d6d(0x5c3))](!0x1)),S(this,'onSavingEditorData$',this[_0x1d7d6d(0x5fc)][_0x1d7d6d(0x52c)]());}[_0x2c7845(0x35d)](){const _0x3f8be0=_0x2c7845;this['_editingParams$'][_0x3f8be0(0x5a6)](null),this[_0x3f8be0(0x4c2)]['complete'](),this[_0x3f8be0(0x5fc)][_0x3f8be0(0x5a6)](!0x1),this['_onSavingEditorData$']['complete'](),super[_0x3f8be0(0x35d)]();}['setEditing'](_0x19c0ce){const _0x5a97b2=_0x2c7845;this[_0x5a97b2(0x4c2)][_0x5a97b2(0x5a6)](_0x19c0ce),_0x19c0ce==null&&this['_onSavingEditorData$'][_0x5a97b2(0x5a6)](!0x1);}[_0x2c7845(0x1a1)](_0x422e74){const _0x25d687=_0x2c7845;this[_0x25d687(0x5fc)][_0x25d687(0x5a6)](_0x422e74);}[_0x2c7845(0x2c4)](){const _0x9b5074=_0x2c7845;return this[_0x9b5074(0x4c2)]['getValue']();}};function w(_0x32d823,_0x18fe0b){const _0x210486=_0x2c7845;let _0x4cf638={};for(let _0x443dc3 of Object['keys'](_0x18fe0b)){let _0x53f00b=_0x18fe0b[_0x443dc3],_0x329e11=_0x32d823[_0x443dc3];if(_0x53f00b!==void 0x0){if(_0x329e11===void 0x0){_0x4cf638[_0x443dc3]=void 0x0;continue;}typeof _0x53f00b==_0x210486(0x2e8)&&_0x53f00b&&!Array[_0x210486(0x39a)](_0x53f00b)&&typeof _0x329e11==_0x210486(0x2e8)&&_0x329e11&&!Array[_0x210486(0x39a)](_0x329e11)?_0x4cf638[_0x443dc3]=w(_0x329e11,_0x53f00b):_0x4cf638[_0x443dc3]=_0x329e11;}}return _0x4cf638;}const T={'type':t[_0x2c7845(0x54a)]['COMMAND'],'id':'sheet.command.update-shape-data','handler':(_0x564c08,_0x38cbb0)=>{const _0x261d40=_0x2c7845;let _0x10a5de=_0x564c08['get'](e[_0x261d40(0x2ee)]),{unitId:_0xb2f3de,subUnitId:_0x12c2c5,shapeType:_0x1b28f2,shapeId:_0x5a037f,shapeData:_0x730de0,oldShapeJSON:_0x41441b}=_0x38cbb0;if(!_0x10a5de[_0x261d40(0x2e5)](_0xb2f3de,_0x12c2c5,_0x5a037f))return!0x1;let _0x267f6a=_0x564c08[_0x261d40(0x1a8)](t['ICommandService']),_0x3ab8f1=_0x564c08[_0x261d40(0x1a8)](t[_0x261d40(0x44a)]),{oldShapeType:_0x43a5f1,oldShapeData:_0x6f9074={}}=_0x41441b,_0x35e5a6=w(_0x6f9074,_0x730de0||{}),_0x3348e7={'id':e[_0x261d40(0x181)]['id'],'params':{'unitId':_0xb2f3de,'subUnitId':_0x12c2c5,'shapeId':_0x5a037f,'shapeType':_0x1b28f2,'shapeData':_0x730de0}},_0x2a5866={'id':e[_0x261d40(0x181)]['id'],'params':{'unitId':_0xb2f3de,'subUnitId':_0x12c2c5,'shapeId':_0x5a037f,'shapeType':_0x43a5f1,'shapeData':_0x35e5a6}};return _0x267f6a[_0x261d40(0x241)](_0x3348e7['id'],_0x3348e7['params'])?(_0x3ab8f1[_0x261d40(0x1e0)]({'unitID':_0xb2f3de,'undoMutations':[_0x2a5866],'redoMutations':[_0x3348e7]}),!0x0):!0x1;}},E={'type':t[_0x2c7845(0x54a)][_0x2c7845(0x397)],'id':_0x2c7845(0x4fd),'handler':async(_0x1d9112,_0x5593cf)=>{const _0x56b816=_0x2c7845;var _0x269ec5;if(!(0x0,n['getSheetCommandTarget'])(_0x1d9112[_0x56b816(0x1a8)](t[_0x56b816(0x2ff)])))return!0x1;let _0x5c134e=_0x1d9112[_0x56b816(0x1a8)](r[_0x56b816(0x2c5)])['getFocusDrawings']()[_0x56b816(0x279)](_0x2b30c3=>_0x2b30c3[_0x56b816(0x477)]===t['DrawingTypeEnum'][_0x56b816(0x2e1)]);if(_0x5c134e['length']!==0x1)return!0x1;let _0x12bf2f=_0x1d9112[_0x56b816(0x1a8)](C)[_0x56b816(0x2c4)](),_0x5e40d1=(_0x12bf2f==null?void 0x0:_0x12bf2f[_0x56b816(0x260)])||_0x5c134e[0x0]['unitId'],_0x1c9a05=(_0x12bf2f==null?void 0x0:_0x12bf2f[_0x56b816(0x1ec)])||_0x5c134e[0x0][_0x56b816(0x1ec)],_0x302bda=(_0x12bf2f==null?void 0x0:_0x12bf2f[_0x56b816(0x182)])||_0x5c134e[0x0][_0x56b816(0x53b)],_0x4e4ef5=_0x1d9112[_0x56b816(0x1a8)](e[_0x56b816(0x2ee)])['getShapeModel'](_0x5e40d1,_0x1c9a05,_0x302bda);if(!_0x4e4ef5)return!0x1;let _0x1b45aa=_0x4e4ef5[_0x56b816(0x232)]();if(!_0x1b45aa||!(_0x56b816(0x29e)in _0x1b45aa))return!0x1;let _0x1254c1=_0x1d9112[_0x56b816(0x1a8)](t['ICommandService']),{value:_0x246574}=_0x5593cf,_0x570729=_0x4e4ef5[_0x56b816(0x522)](),_0x46e7de=_0x4e4ef5[_0x56b816(0x32a)](),_0xb288d2={..._0x1b45aa[_0x56b816(0x29e)],'ha':_0x246574};return await _0x1254c1[_0x56b816(0x3a9)](T['id'],{'unitId':_0x5e40d1,'subUnitId':_0x1c9a05,'shapeId':_0x302bda,'shapeType':_0x570729,'shapeData':{'shapeText':{'isHorizontal':(_0x269ec5=_0x1b45aa['isHorizontal'])==null?!0x0:_0x269ec5,'dataModel':_0xb288d2}},'oldShapeJSON':{'oldShapeType':_0x570729,'oldShapeData':_0x46e7de}});}},D={'type':t[_0x2c7845(0x54a)]['COMMAND'],'id':_0x2c7845(0x3f4),'handler':async(_0x392aa4,_0x4ebf26)=>{const _0x2f35ca=_0x2c7845;var _0x5e5c9c;if(!_0x4ebf26)return!0x1;let {value:_0x3ca740}=_0x4ebf26,_0x5a8f8f=_0x392aa4[_0x2f35ca(0x1a8)](t[_0x2f35ca(0x4ed)]),_0x29da92=_0x392aa4['get'](C),_0x25d857=_0x392aa4[_0x2f35ca(0x1a8)](e[_0x2f35ca(0x2ee)]),_0x5eec3b=_0x392aa4[_0x2f35ca(0x1a8)](o[_0x2f35ca(0x17b)]),_0x5874d3=_0x29da92[_0x2f35ca(0x2c4)]();if(!_0x5874d3)return!0x1;let {unitId:_0x53816c,subUnitId:_0x3d9bc7,shapeId:_0x5f5d39}=_0x5874d3,_0x5332dd=_0x25d857[_0x2f35ca(0x2e5)](_0x53816c,_0x3d9bc7,_0x5f5d39);if(!_0x5332dd)return!0x1;let _0x14d98d=_0x5332dd['getShapeTextData']();if(!_0x14d98d||!(_0x2f35ca(0x29e)in _0x14d98d))return!0x1;let _0x3515f8=_0x14d98d[_0x2f35ca(0x29e)];if(!_0x3515f8)return!0x1;let _0xe29c15={..._0x3515f8,'fs':_0x3ca740},_0x3fddab=await _0x5a8f8f[_0x2f35ca(0x3a9)](T['id'],{'unitId':_0x53816c,'subUnitId':_0x3d9bc7,'shapeId':_0x5f5d39,'shapeData':{'shapeText':{'isHorizontal':(_0x5e5c9c=_0x14d98d[_0x2f35ca(0x5df)])==null?!0x0:_0x5e5c9c,'dataModel':_0xe29c15}}});if(_0x3fddab){let _0x3506a5=_0x5eec3b[_0x2f35ca(0x215)](_0x53816c);if(_0x3506a5!=null&&_0x3506a5[_0x2f35ca(0x37e)]){let _0x3f584e=(0x0,a['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x53816c,'subUnitId':_0x3d9bc7,'drawingId':_0x5f5d39}),_0x458783=_0x3506a5[_0x2f35ca(0x37e)][_0x2f35ca(0x30f)](_0x3f584e);_0x458783&&_0x458783[_0x2f35ca(0x4f5)](!0x0);}}return _0x3fddab;}},O={'type':t['CommandType'][_0x2c7845(0x397)],'id':_0x2c7845(0x1cc),'handler':async _0x5e185f=>{const _0x1ee010=_0x2c7845;var _0x20e10c;let _0x409a68=_0x5e185f[_0x1ee010(0x1a8)](C),_0x12d8b8=_0x5e185f['get'](e[_0x1ee010(0x2ee)]),_0x5ba9b5=_0x5e185f['get'](t['ICommandService']),_0x3e6f04=_0x409a68[_0x1ee010(0x2c4)]();if(!_0x3e6f04)return!0x1;let {unitId:_0x1600ca,subUnitId:_0x367520,shapeId:_0xe559f8}=_0x3e6f04,_0x3aeea7=_0x12d8b8['getShapeModel'](_0x1600ca,_0x367520,_0xe559f8);if(!_0x3aeea7)return!0x1;let _0x26976a=_0x3aeea7[_0x1ee010(0x232)]();if(!_0x26976a||!('dataModel'in _0x26976a))return!0x1;let _0x3a0598=_0x26976a[_0x1ee010(0x29e)],_0x454dc4=(_0x20e10c=_0x3a0598==null?void 0x0:_0x3a0598['fs'])==null?0xe:_0x20e10c,_0x75ef98=[0x9,0xa,0xb,0xc,0xe,0x10,0x12,0x14,0x16,0x18,0x1a,0x1c,0x24,0x30,0x48],_0x38fdd1=_0x454dc4,_0x1b9266=_0x75ef98[_0x1ee010(0x5cc)](_0x454dc4);return _0x1b9266!==-0x1&&_0x1b9266<_0x75ef98[_0x1ee010(0x453)]-0x1?_0x38fdd1=_0x75ef98[_0x1b9266+0x1]:_0x1b9266===-0x1&&(_0x38fdd1=Math[_0x1ee010(0x23e)](_0x454dc4)+0x1),_0x5ba9b5[_0x1ee010(0x3a9)](D['id'],{'value':_0x38fdd1});}},k={'type':t['CommandType'][_0x2c7845(0x397)],'id':_0x2c7845(0x596),'handler':async _0x1b11b8=>{const _0x3ad5f3=_0x2c7845;var _0x721877;let _0x59de6d=_0x1b11b8[_0x3ad5f3(0x1a8)](C),_0x346c88=_0x1b11b8[_0x3ad5f3(0x1a8)](e[_0x3ad5f3(0x2ee)]),_0x13992f=_0x1b11b8[_0x3ad5f3(0x1a8)](t[_0x3ad5f3(0x4ed)]),_0x59b0af=_0x59de6d[_0x3ad5f3(0x2c4)]();if(!_0x59b0af)return!0x1;let {unitId:_0x59ce00,subUnitId:_0x2dc2e5,shapeId:_0x4b7b29}=_0x59b0af,_0x8e0f8c=_0x346c88['getShapeModel'](_0x59ce00,_0x2dc2e5,_0x4b7b29);if(!_0x8e0f8c)return!0x1;let _0x15c567=_0x8e0f8c[_0x3ad5f3(0x232)]();if(!_0x15c567||!('dataModel'in _0x15c567))return!0x1;let _0x2489c0=_0x15c567['dataModel'],_0x59dba0=(_0x721877=_0x2489c0==null?void 0x0:_0x2489c0['fs'])==null?0xe:_0x721877,_0x39a9ed=[0x9,0xa,0xb,0xc,0xe,0x10,0x12,0x14,0x16,0x18,0x1a,0x1c,0x24,0x30,0x48],_0x926ae5=_0x59dba0,_0x49bcd8=_0x39a9ed[_0x3ad5f3(0x5cc)](_0x59dba0);return _0x49bcd8!==-0x1&&_0x49bcd8>0x0?_0x926ae5=_0x39a9ed[_0x49bcd8-0x1]:_0x49bcd8===-0x1&&(_0x926ae5=Math[_0x3ad5f3(0x23e)](_0x59dba0)-0x1),_0x926ae5<0x1&&(_0x926ae5=0x1),_0x13992f[_0x3ad5f3(0x3a9)](D['id'],{'value':_0x926ae5});}},A={'type':t[_0x2c7845(0x54a)][_0x2c7845(0x397)],'id':'sheet.command.set-shape-text-vertical-align','handler':async(_0x115c47,_0x2ed3ce)=>{const _0x28a249=_0x2c7845;var _0x28ccdf;if(!(0x0,n[_0x28a249(0x4d2)])(_0x115c47[_0x28a249(0x1a8)](t['IUniverInstanceService'])))return!0x1;let _0x4e191e=_0x115c47['get'](r[_0x28a249(0x2c5)])[_0x28a249(0x5ed)]()[_0x28a249(0x279)](_0x3cb41e=>_0x3cb41e[_0x28a249(0x477)]===t[_0x28a249(0x5c1)][_0x28a249(0x2e1)]);if(_0x4e191e[_0x28a249(0x453)]!==0x1)return!0x1;let _0x4e4e53=_0x115c47[_0x28a249(0x1a8)](C)['getEditing'](),_0x38b9d7=(_0x4e4e53==null?void 0x0:_0x4e4e53[_0x28a249(0x260)])||_0x4e191e[0x0][_0x28a249(0x260)],_0x49372b=(_0x4e4e53==null?void 0x0:_0x4e4e53['subUnitId'])||_0x4e191e[0x0][_0x28a249(0x1ec)],_0x60f909=(_0x4e4e53==null?void 0x0:_0x4e4e53[_0x28a249(0x182)])||_0x4e191e[0x0][_0x28a249(0x53b)],_0xe1b014=_0x115c47[_0x28a249(0x1a8)](e[_0x28a249(0x2ee)])[_0x28a249(0x2e5)](_0x38b9d7,_0x49372b,_0x60f909);if(!_0xe1b014)return!0x1;let _0x18fd02=_0xe1b014['getShapeTextData']();if(!_0x18fd02||!(_0x28a249(0x29e)in _0x18fd02))return!0x1;let _0x5c3e35=_0x115c47[_0x28a249(0x1a8)](t[_0x28a249(0x4ed)]),{value:_0x56a2d6}=_0x2ed3ce,_0x4843e2=_0xe1b014[_0x28a249(0x522)](),_0x56b35b=_0xe1b014[_0x28a249(0x32a)](),_0x5516c4={..._0x18fd02[_0x28a249(0x29e)],'va':_0x56a2d6};return await _0x5c3e35[_0x28a249(0x3a9)](T['id'],{'unitId':_0x38b9d7,'subUnitId':_0x49372b,'shapeId':_0x60f909,'shapeType':_0x4843e2,'shapeData':{'shapeText':{'isHorizontal':(_0x28ccdf=_0x18fd02['isHorizontal'])==null?!0x0:_0x28ccdf,'dataModel':_0x5516c4}},'oldShapeJSON':{'oldShapeType':_0x4843e2,'oldShapeData':_0x56b35b}});}},j={'type':t[_0x2c7845(0x54a)][_0x2c7845(0x397)],'id':'sheet.command.shape-doc-align','handler':(_0x50310e,_0xe9495d)=>{const _0x100598=_0x2c7845;if(!_0xe9495d)return!0x1;let {value:_0x311052}=_0xe9495d;return _0x50310e[_0x100598(0x1a8)](t[_0x100598(0x4ed)])['syncExecuteCommand'](s['AlignOperationCommand']['id'],{'alignType':_0x311052});}},M={'type':t['CommandType']['OPERATION'],'id':_0x2c7845(0x521),'handler'(){return!0x0;}},N={'type':t[_0x2c7845(0x54a)]['OPERATION'],'id':_0x2c7845(0x514),'handler'(){return!0x0;}},P='sheet.shape.edit.panel',ee=_0x2c7845(0x4c5),te=(0x0,t[_0x2c7845(0x2a9)])(_0x2c7845(0x3e5));function F(_0x2f1f75,_0x28d4dd,_0xab29de,_0x20a2ab,_0x31e7e7,_0x3f36ec){let _0x2e3430={'unitId':_0x28d4dd,'subUnitId':_0xab29de,'shapeId':_0x20a2ab,'shapeData':_0x3f36ec,'oldShapeJSON':_0x31e7e7};return _0x2f1f75['executeCommand'](T['id'],_0x2e3430);}function ne(_0x338237,_0x510166,_0x2e4b77,_0x1272c3,_0x3b3d9b,_0x225c6f){let _0xd02939={'unitId':_0x510166,'subUnitId':_0x2e4b77,'shapeId':_0x1272c3,'shapeData':_0x225c6f,'oldShapeJSON':_0x3b3d9b};return _0x338237['executeCommand'](T['id'],_0xd02939);}function re(_0x1a93a3){const _0x19296e=_0x2c7845;var _0x322aa6,_0x52b452,_0x3739a2,_0x1112d6;let _0x289fe6=(_0x322aa6=(_0x52b452=_0x1a93a3[_0x19296e(0x4c1)])==null||(_0x52b452=_0x52b452[_0x19296e(0x388)])==null?void 0x0:_0x52b452['length'])==null?0x0:_0x322aa6,_0x274b16=(_0x3739a2=_0x1a93a3[_0x19296e(0x4c1)])==null?void 0x0:_0x3739a2[_0x19296e(0x4d4)];if(_0x274b16!=null&&_0x274b16[_0x19296e(0x453)])for(let _0x16acc6 of _0x274b16){var _0x22c5df;_0x16acc6[_0x19296e(0x3b0)]=(_0x22c5df=_0x16acc6[_0x19296e(0x3b0)])==null?t['GridType'][_0x19296e(0x3a7)]:_0x22c5df;}else _0x1a93a3[_0x19296e(0x4c1)]&&(_0x1a93a3[_0x19296e(0x4c1)]['sectionBreaks']=[{'startIndex':Math[_0x19296e(0x2d4)](0x0,_0x289fe6-0x1),'gridType':t[_0x19296e(0x2a7)][_0x19296e(0x3a7)]}]);let _0x34d471=(_0x1112d6=_0x1a93a3[_0x19296e(0x4c1)])==null?void 0x0:_0x1112d6[_0x19296e(0x3c2)];if(_0x34d471)for(let _0xcdf0a of _0x34d471){var _0x132b6d,_0x48f718,_0x30aaa0,_0x2da0d0,_0x2b8722,_0x5dd9ed,_0x3d87e5,_0x3f6d7a;_0xcdf0a['paragraphStyle']={..._0xcdf0a['paragraphStyle'],'lineSpacing':(_0x132b6d=(_0x48f718=_0xcdf0a[_0x19296e(0x29f)])==null?void 0x0:_0x48f718[_0x19296e(0x2e4)])==null?0x1:_0x132b6d,'snapToGrid':(_0x30aaa0=(_0x2da0d0=_0xcdf0a['paragraphStyle'])==null?void 0x0:_0x2da0d0['snapToGrid'])==null?t[_0x19296e(0x2fe)][_0x19296e(0x1b4)]:_0x30aaa0,'spaceAbove':(_0x2b8722=(_0x5dd9ed=_0xcdf0a[_0x19296e(0x29f)])==null?void 0x0:_0x5dd9ed[_0x19296e(0x22b)])==null?{'v':0x0}:_0x2b8722,'spaceBelow':(_0x3d87e5=(_0x3f6d7a=_0xcdf0a[_0x19296e(0x29f)])==null?void 0x0:_0x3f6d7a[_0x19296e(0x379)])==null?{'v':0x0}:_0x3d87e5};}}function ie(_0x5ddd2b){const _0x13ddbd=_0x2c7845;let _0x2442ce=_0x5ddd2b[_0x13ddbd(0x4c1)],_0x4dc059=_0x2442ce==null?void 0x0:_0x2442ce[_0x13ddbd(0x3c2)],_0x4dd681=_0x2442ce==null?void 0x0:_0x2442ce['dataStream'];if(!_0x2442ce||!(_0x4dc059!=null&&_0x4dc059['length'])||!_0x4dd681)return;let _0xef5453=[];for(let _0x113780=0x0;_0x113780<_0x4dd681[_0x13ddbd(0x453)];_0x113780++)_0x4dd681[_0x113780]==='\x0d'&&_0xef5453['push'](_0x113780);_0xef5453[_0x13ddbd(0x453)]===_0x4dc059[_0x13ddbd(0x453)]&&(_0x2442ce[_0x13ddbd(0x3c2)]=_0x4dc059[_0x13ddbd(0x61f)]((_0x32f36b,_0xe3ca3e)=>({..._0x32f36b,'startIndex':_0xef5453[_0xe3ca3e]})));}function ae(_0x4c3996,_0x1a6723){const _0x4d664b=_0x2c7845;var _0x27131a,_0x2ce312,_0x56d63b;let {isHorizontal:_0xd0e3af,textRect:_0x417b18,verticalAlign:_0x1392f3}=_0x1a6723,_0x56ace2=_0xd0e3af?_0x417b18[_0x4d664b(0x61e)]:_0x417b18[_0x4d664b(0x283)],_0x56b247=t['Tools'][_0x4d664b(0x5eb)](_0x4c3996),_0x3cf73b=(_0x27131a=_0x56b247[_0x4d664b(0x17f)])==null?{}:_0x27131a,_0x2c37e2={..._0x3cf73b['renderConfig'],'centerAngle':_0xd0e3af?0x0:o[_0x4d664b(0x336)],'vertexAngle':_0xd0e3af?0x0:o['VERTICAL_ROTATE_ANGLE'],'wrapStrategy':t[_0x4d664b(0x454)]['WRAP'],'zeroWidthParagraphBreak':(_0x2ce312=(_0x56d63b=_0x3cf73b[_0x4d664b(0x32c)])==null?void 0x0:_0x56d63b['zeroWidthParagraphBreak'])==null?t[_0x4d664b(0x2fe)][_0x4d664b(0x1b7)]:_0x2ce312};if(_0x1392f3!==void 0x0&&(_0x2c37e2[_0x4d664b(0x1cb)]=_0x1392f3),_0x1a6723[_0x4d664b(0x3a2)]!==void 0x0){var _0x4ed574;_0x2c37e2[_0x4d664b(0x3a2)]=_0x1a6723[_0x4d664b(0x3a2)];let _0x2fc1ea=(_0x4ed574=_0x56b247['body'])==null?void 0x0:_0x4ed574[_0x4d664b(0x3c2)];if(_0x2fc1ea){for(let _0x628b80 of _0x2fc1ea)_0x628b80[_0x4d664b(0x29f)]||(_0x628b80[_0x4d664b(0x29f)]={}),_0x628b80[_0x4d664b(0x29f)][_0x4d664b(0x3a2)]=_0x1a6723[_0x4d664b(0x3a2)];}}return _0x56b247[_0x4d664b(0x17f)]={..._0x3cf73b,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x56ace2,'height':0x1/0x0},'renderConfig':_0x2c37e2},ie(_0x56b247),re(_0x56b247),_0x56b247;}var I=class extends o['Shape']{constructor(_0x151ec5,_0x2d2270){const _0x246531=_0x2c7845;super(_0x151ec5,_0x2d2270),S(this,'_props',void 0x0),S(this,'_transformCalculateSrcRect',!0x0),S(this,'_drawingType',t[_0x246531(0x5c1)][_0x246531(0x2e1)]),S(this,_0x246531(0x4be),!0x0),this[_0x246531(0x189)]={..._0x2d2270},this['_init']();}[_0x2c7845(0x4df)](){const _0x508eb5=_0x2c7845;this[_0x508eb5(0x46d)][_0x508eb5(0x4f1)](_0x1d3243=>{const _0x5256da=_0x508eb5;this[_0x5256da(0x560)](_0x1d3243);});}['setPrstGeom'](_0x1654f0){const _0x2dceab=_0x2c7845;this[_0x2dceab(0x189)][_0x2dceab(0x493)]=_0x1654f0;}[_0x2c7845(0x5fe)](_0x35dbf7){const _0x33eae7=_0x2c7845;this[_0x33eae7(0x189)][_0x33eae7(0x266)]=_0x35dbf7,this[_0x33eae7(0x4f5)](!0x0);}get['unitId'](){const _0x1e6dea=_0x2c7845;return this[_0x1e6dea(0x189)][_0x1e6dea(0x260)];}get[_0x2c7845(0x1ec)](){const _0x51f522=_0x2c7845;return this['_props'][_0x51f522(0x1ec)];}['_updateSrcRectByTransform'](_0x26fe26){const _0x2e23c1=_0x2c7845;if(this[_0x2e23c1(0x189)][_0x2e23c1(0x4d5)]==null||!this[_0x2e23c1(0x292)])return;let {width:_0x3374ea,height:_0x32d70f}=this,{width:_0x4c9501=0x0,height:_0x3cf924=0x0}=_0x26fe26[_0x2e23c1(0x4dd)],{left:_0xc329f2=0x0,top:_0x19a474=0x0,right:_0x157b8c=0x0,bottom:_0x2f225c=0x0}=this[_0x2e23c1(0x189)]['srcRect'],_0x44317a=_0xc329f2,_0x381146=_0x19a474,_0x5f49fd=_0x157b8c,_0x1f1c6c=_0x2f225c,_0x1ef1e6=!0x1;if(_0x4c9501!==0x0&&_0x4c9501!==_0x3374ea){let _0x6e8c05=_0xc329f2/_0x4c9501,_0x5aba08=_0x157b8c/_0x4c9501;_0x44317a=_0x3374ea*_0x6e8c05,_0x5f49fd=_0x3374ea*_0x5aba08,_0x1ef1e6=!0x0;}if(_0x3cf924!==0x0&&_0x3cf924!==_0x32d70f){let _0xe52a05=_0x19a474/_0x3cf924,_0x26d9a3=_0x2f225c/_0x3cf924;_0x381146=_0x32d70f*_0xe52a05,_0x1f1c6c=_0x32d70f*_0x26d9a3,_0x1ef1e6=!0x0;}_0x1ef1e6&&this[_0x2e23c1(0x1d1)]({'left':_0x44317a,'top':_0x381146,'right':_0x5f49fd,'bottom':_0x1f1c6c});}[_0x2c7845(0x1d1)](_0x1ad119){const _0x2f515e=_0x2c7845;this['_props'][_0x2f515e(0x4d5)]=_0x1ad119,this[_0x2f515e(0x4f5)](!0x0);}['setFillImage'](_0x2540dc){const _0x3ab326=_0x2c7845;this[_0x3ab326(0x189)][_0x3ab326(0x1ca)]=_0x2540dc,this['makeDirty'](!0x0);}set[_0x2c7845(0x247)](_0x4a6243){this['_transform']=_0x4a6243;}get[_0x2c7845(0x247)](){const _0x5cc4a3=_0x2c7845;this[_0x5cc4a3(0x449)]||this[_0x5cc4a3(0x2cf)]();let _0x2e0fbc=this[_0x5cc4a3(0x449)][_0x5cc4a3(0x564)]();return this[_0x5cc4a3(0x308)](_0x2e0fbc);}get[_0x2c7845(0x412)](){const _0x285e89=_0x2c7845;return this[_0x285e89(0x189)][_0x285e89(0x412)];}get[_0x2c7845(0x182)](){const _0x53315d=_0x2c7845;return this['_props'][_0x53315d(0x182)];}get[_0x2c7845(0x3fa)](){const _0x415110=_0x2c7845;return o['RENDER_CLASS_TYPE'][_0x415110(0x230)];}[_0x2c7845(0x56f)](_0x3216b2,_0x14dcbd,_0x28546d,_0x59b524){const _0x4ad148=_0x2c7845;let _0x51602a=this[_0x4ad148(0x189)]['shapeModel'];if(!_0x51602a||!_0x14dcbd)return;let _0x5452d5=_0x28546d==null?this[_0x4ad148(0x61e)]:_0x28546d,_0x5c2c9b=_0x59b524==null?this[_0x4ad148(0x283)]:_0x59b524,_0x2e24f2={'shapeType':_0x51602a['getShapeType'](),'width':_0x5452d5,'height':_0x5c2c9b},_0x2814a6={'renderMode':u[_0x4ad148(0x2d7)][_0x4ad148(0x3ff)],'oKey':this[_0x4ad148(0x297)],'image':this[_0x4ad148(0x189)][_0x4ad148(0x1ca)],'angle':this['angle']};_0x51602a['updateContext'](_0x2e24f2),_0x3216b2[_0x4ad148(0x30d)]();let _0x5de192={'top':0x0,'left':0x0,'width':_0x5452d5,'height':_0x5c2c9b};_0x51602a['render'](_0x3216b2,_0x5de192,_0x2814a6),_0x3216b2[_0x4ad148(0x506)]();let _0x4d3900=_0x51602a[_0x4ad148(0x232)](),_0x418a0d=_0x51602a[_0x4ad148(0x57f)](_0x5de192),_0x25e075=_0x51602a[_0x4ad148(0x2bf)]();if(_0x4d3900&&_0x418a0d&&!_0x25e075){_0x3216b2[_0x4ad148(0x30d)](),this[_0x4ad148(0x626)]()['flipX']&&_0x3216b2[_0x4ad148(0x299)](-0x1,0x1);let _0x46ba0a=_0x5452d5/0x2,_0x227f47=_0x5c2c9b/0x2;_0x3216b2[_0x4ad148(0x500)](-_0x46ba0a,-_0x227f47),_0x3216b2[_0x4ad148(0x2f4)](),this[_0x4ad148(0x33d)](_0x3216b2,_0x4d3900,_0x418a0d),_0x3216b2[_0x4ad148(0x506)]();}}['getDrawingPoints'](_0x4959a1){}[_0x2c7845(0x33d)](_0x4bd811,_0x15a182,_0x1324fd){const _0x156dc3=_0x2c7845;this[_0x156dc3(0x189)][_0x156dc3(0x266)]||(_0x156dc3(0x480)in _0x15a182&&_0x15a182[_0x156dc3(0x480)]===!0x1?this[_0x156dc3(0x40f)](_0x4bd811,_0x15a182,_0x1324fd):this['_drawRichText'](_0x4bd811,_0x15a182,_0x1324fd));}[_0x2c7845(0x40f)](_0x1b931d,_0x59ab84,_0x5cf0a1){}[_0x2c7845(0x49b)](_0x3d9f95,_0x508f7b,_0x3b3a8e){const _0x35b3f3=_0x2c7845;var _0x2d40c1,_0x49098a;let _0x53b34b=this[_0x35b3f3(0x189)][_0x35b3f3(0x1c2)];if(!_0x508f7b[_0x35b3f3(0x29e)]||!_0x53b34b)return;let _0x324c70=_0x508f7b[_0x35b3f3(0x29e)],_0xf6a228=_0x324c70['doc'],_0x1c23e1=(_0x2d40c1=_0x324c70['va'])==null?t[_0x35b3f3(0x598)][_0x35b3f3(0x222)]:_0x2d40c1,_0x15ae6a=(_0x49098a=_0x324c70['ha'])==null?t[_0x35b3f3(0x3a6)][_0x35b3f3(0x5e6)]:_0x49098a;if(!_0xf6a228)return;let _0xdc557e=_0x508f7b[_0x35b3f3(0x5df)],_0x580210=new t['DocumentDataModel'](ae(_0xf6a228,{'isHorizontal':_0xdc557e!==!0x1,'textRect':_0x3b3a8e,'verticalAlign':_0x1c23e1,'horizontalAlign':_0x15ae6a})),_0x20f75d=new o[(_0x35b3f3(0x355))](_0x580210),_0xf2094d=o[_0x35b3f3(0x3bd)][_0x35b3f3(0x244)](_0x20f75d,_0x53b34b);_0xf2094d[_0x35b3f3(0x497)]();let _0x357bdd=new o[(_0x35b3f3(0x320))](_0x35b3f3(0x3b3)+this['oKey'],_0xf2094d,{'pageMarginLeft':0x0,'pageMarginTop':0x0});_0x357bdd[_0x35b3f3(0x1a4)](_0x3b3a8e[_0x35b3f3(0x61e)],_0x3b3a8e['height']),_0x3d9f95[_0x35b3f3(0x30d)](),_0x3d9f95['translateWithPrecision'](_0x3b3a8e[_0x35b3f3(0x265)],_0x3b3a8e['top']),_0x3d9f95[_0x35b3f3(0x2f4)](),_0x3d9f95[_0x35b3f3(0x348)](0x0,0x0,_0x3b3a8e[_0x35b3f3(0x61e)],_0x3b3a8e[_0x35b3f3(0x283)]),_0x3d9f95[_0x35b3f3(0x587)](),_0x357bdd[_0x35b3f3(0x4ba)](_0x3d9f95),_0x3d9f95[_0x35b3f3(0x506)](),_0x357bdd['dispose'](),_0xf2094d[_0x35b3f3(0x35d)](),_0x20f75d['dispose'](),_0x580210['dispose']();}[_0x2c7845(0x4ee)](_0x149c47,_0x3ef0ed,_0x4360ae=!0x1){const _0x39fbe0=_0x2c7845;if(!this['visible'])return this['makeDirty'](!0x1),this;let {width:_0x378d5e,height:_0x40ab55,left:_0x3c958a,top:_0x3fdbbf}=this,_0x269ba6=this['getRealBound']();if(_0x378d5e=_0x269ba6[_0x39fbe0(0x61e)],_0x40ab55=_0x269ba6[_0x39fbe0(0x283)],_0x3c958a=_0x269ba6[_0x39fbe0(0x265)],_0x3fdbbf=_0x269ba6[_0x39fbe0(0x1c3)],this[_0x39fbe0(0x202)](_0x3ef0ed)){let {top:_0x131957,left:_0x1d6396,bottom:_0x41a2ed,right:_0x404a39}=_0x3ef0ed[_0x39fbe0(0x359)];if(_0x378d5e+this[_0x39fbe0(0x606)]+_0x3c958a<_0x1d6396||_0x404a39<_0x3c958a||_0x40ab55+this[_0x39fbe0(0x606)]+_0x3fdbbf<_0x131957||_0x41a2ed<_0x3fdbbf)return this;}let _0xf4728a=_0x3c958a+_0x378d5e/0x2,_0x190c3e=_0x3fdbbf+_0x40ab55/0x2,_0x4b46b0=this[_0x39fbe0(0x247)][_0x39fbe0(0x54b)]();if(this[_0x39fbe0(0x189)][_0x39fbe0(0x266)]){let _0x3e56e2=this[_0x39fbe0(0x626)](),_0x3edaf6=new o[(_0x39fbe0(0x2c0))]();_0x3edaf6['composeMatrix']({..._0x3e56e2}),_0x4b46b0=_0x3edaf6['getMatrix']();}return _0x149c47[_0x39fbe0(0x30d)](),this[_0x39fbe0(0x189)][_0x39fbe0(0x412)][_0x39fbe0(0x566)]===!0x0||_0x149c47[_0x39fbe0(0x247)](_0x4b46b0[0x0],_0x4b46b0[0x1],_0x4b46b0[0x2],_0x4b46b0[0x3],_0xf4728a,_0x190c3e),this[_0x39fbe0(0x56f)](_0x149c47,_0x3ef0ed,_0x378d5e,_0x40ab55),_0x149c47[_0x39fbe0(0x506)](),this['makeDirty'](!0x1),this;}[_0x2c7845(0x34d)](_0xe76362){const _0x15354e=_0x2c7845;let {left:_0x332f86,top:_0x4eb338,width:_0x20d9f7,height:_0x28f960}=this[_0x15354e(0x2e7)](),_0x4225b3=this[_0x15354e(0x247)][_0x15354e(0x54b)](),_0x28d087=_0x332f86+_0x20d9f7/0x2,_0x59b2ba=_0x4eb338+_0x28f960/0x2,_0x4ed5ee=new o[(_0x15354e(0x2c0))]([_0x4225b3[0x0],_0x4225b3[0x1],_0x4225b3[0x2],_0x4225b3[0x3],_0x28d087,_0x59b2ba]),_0x407243=this[_0x15354e(0x475)]();return(this[_0x15354e(0x5d6)]&&(_0x407243==null?void 0x0:_0x407243[_0x15354e(0x3fa)])===o[_0x15354e(0x4d3)][_0x15354e(0x1be)]?_0x407243[_0x15354e(0x5a2)][_0x15354e(0x2ec)](_0x4ed5ee):_0x4ed5ee)[_0x15354e(0x3f0)]()[_0x15354e(0x465)](_0xe76362);}[_0x2c7845(0x531)](_0x1c9fed){const _0xf2e190=_0x2c7845;let {left:_0x556153,top:_0xca351c,width:_0x4e5f86,height:_0x3e47d7}=this[_0xf2e190(0x2e7)](),_0x349e37=_0x556153+_0x4e5f86/0x2,_0x716ea8=_0xca351c+_0x3e47d7/0x2,_0x49875c=this[_0xf2e190(0x247)][_0xf2e190(0x54b)](),_0x4c24bb=new o['Transform']([_0x49875c[0x0],_0x49875c[0x1],_0x49875c[0x2],_0x49875c[0x3],_0x349e37,_0x716ea8]),_0xe82472=this[_0xf2e190(0x475)](),_0x4edcd5=(this[_0xf2e190(0x5d6)]&&(_0xe82472==null?void 0x0:_0xe82472[_0xf2e190(0x3fa)])===o[_0xf2e190(0x4d3)][_0xf2e190(0x1be)]?_0xe82472[_0xf2e190(0x5a2)][_0xf2e190(0x2ec)](_0x4c24bb):_0x4c24bb)[_0xf2e190(0x3f0)]()[_0xf2e190(0x465)](_0x1c9fed),_0x47b382=_0x4e5f86/0x2,_0xf915ec=_0x3e47d7/0x2,_0x27428b=this[_0xf2e190(0x189)][_0xf2e190(0x412)];return _0x27428b&&_0x27428b['isLineShape']()?_0x27428b[_0xf2e190(0x316)](_0x4edcd5['x'],_0x4edcd5['y'],_0x4e5f86,_0x3e47d7):_0x4edcd5['x']>=-_0x47b382-this[_0xf2e190(0x606)]/0x2&&_0x4edcd5['x']<=_0x47b382+this[_0xf2e190(0x606)]/0x2&&_0x4edcd5['y']>=-_0xf915ec-this[_0xf2e190(0x606)]/0x2&&_0x4edcd5['y']<=_0xf915ec+this['strokeWidth']/0x2;}[_0x2c7845(0x35d)](){const _0x2ccb2c=_0x2c7845;this[_0x2ccb2c(0x189)][_0x2ccb2c(0x412)]=null,super['dispose']();}},oe=class extends o['Shape']{constructor(_0x5583f5,_0x1e6f6f){const _0x3ff9ad=_0x2c7845;super(_0x5583f5,_0x1e6f6f),S(this,_0x3ff9ad(0x5ea),null),S(this,'_adjName',null),S(this,_0x3ff9ad(0x3e1),null),S(this,'_subUnitId',null),_0x1e6f6f&&this[_0x3ff9ad(0x393)](_0x1e6f6f);}[_0x2c7845(0x4b1)](){const _0x869a12=_0x2c7845;return{'unitId':this[_0x869a12(0x3e1)],'subUnitId':this[_0x869a12(0x5de)],'drawingId':this[_0x869a12(0x5ea)]};}['setShapeProps'](_0x23e0fe){const _0x25129f=_0x2c7845;_0x23e0fe['shapeId']!==void 0x0&&(this['_shapeId']=_0x23e0fe[_0x25129f(0x182)]),_0x23e0fe[_0x25129f(0x31e)]!==void 0x0&&(this[_0x25129f(0x23d)]=_0x23e0fe['adjName']),_0x23e0fe[_0x25129f(0x260)]!==void 0x0&&(this['_unitId']=_0x23e0fe[_0x25129f(0x260)]),_0x23e0fe[_0x25129f(0x1ec)]!==void 0x0&&(this[_0x25129f(0x5de)]=_0x23e0fe['subUnitId']),this['transformByState']({'width':_0x23e0fe[_0x25129f(0x61e)],'height':_0x23e0fe[_0x25129f(0x283)]});}[_0x2c7845(0x56f)](_0x1df16f){const _0x17bf17=_0x2c7845;o['Circle'][_0x17bf17(0x600)](_0x1df16f,{'radius':u[_0x17bf17(0x448)][_0x17bf17(0x526)],'fill':u['ShapeDefaultConfig'][_0x17bf17(0x3a0)],'stroke':u[_0x17bf17(0x448)][_0x17bf17(0x427)],'strokeWidth':0x1,'evented':!0x0});}};function L(_0x18444f,_0x20f503){return function(_0xf24f9d,_0x4a7104){_0x20f503(_0xf24f9d,_0x4a7104,_0x18444f);};}function R(_0x1032bd,_0x22fffc,_0x131352,_0x5a506b){const _0x225f30=_0x2c7845;var _0x33e1e7=arguments[_0x225f30(0x453)],_0x12c5a6=_0x33e1e7<0x3?_0x22fffc:_0x5a506b===null?_0x5a506b=Object['getOwnPropertyDescriptor'](_0x22fffc,_0x131352):_0x5a506b,_0x3f4afb;if(typeof Reflect==_0x225f30(0x2e8)&&typeof Reflect[_0x225f30(0x3df)]=='function')_0x12c5a6=Reflect['decorate'](_0x1032bd,_0x22fffc,_0x131352,_0x5a506b);else{for(var _0x19d344=_0x1032bd['length']-0x1;_0x19d344>=0x0;_0x19d344--)(_0x3f4afb=_0x1032bd[_0x19d344])&&(_0x12c5a6=(_0x33e1e7<0x3?_0x3f4afb(_0x12c5a6):_0x33e1e7>0x3?_0x3f4afb(_0x22fffc,_0x131352,_0x12c5a6):_0x3f4afb(_0x22fffc,_0x131352))||_0x12c5a6);}return _0x33e1e7>0x3&&_0x12c5a6&&Object['defineProperty'](_0x22fffc,_0x131352,_0x12c5a6),_0x12c5a6;}let z=class extends t[_0x2c7845(0x4d8)]{constructor(_0x5ebb83,_0x515526,_0x56e5b8,_0x366238,_0x25c0c2){const _0x1ace24=_0x2c7845;super(),this[_0x1ace24(0x409)]=_0x5ebb83,this[_0x1ace24(0x368)]=_0x515526,this[_0x1ace24(0x278)]=_0x56e5b8,this[_0x1ace24(0x18c)]=_0x366238,this[_0x1ace24(0x340)]=_0x25c0c2;}[_0x2c7845(0x18e)](_0x3eed53,_0x573e0a){const _0x5d75e1=_0x2c7845;let {transform:_0x37382e,drawingType:_0xc7bbb8,srcRect:_0x177f1b,prstGeom:_0x417022,groupId:_0x24a7c8,unitId:_0x16716d,subUnitId:_0x4f3330,drawingId:_0xbeb06a,isMultiTransform:_0x381aca,transforms:_0x1c8377,hidden:_0x482dfb}=_0x3eed53;if(_0xc7bbb8!==t[_0x5d75e1(0x5c1)][_0x5d75e1(0x2e1)]||!this[_0x5d75e1(0x409)][_0x5d75e1(0x40e)]()||_0x37382e==null)return;let _0x27d2f5=_0x381aca&&_0x1c8377?_0x1c8377:[_0x37382e],_0x7c35f1=[];for(let _0x16648f of _0x27d2f5){let {left:_0x256455,top:_0x3a5440,width:_0x47c84f,height:_0x2e66a9,angle:_0x20d670,flipX:_0x312590,flipY:_0x4a904b,skewX:_0x213083,skewY:_0x91b4c9}=_0x16648f,_0x3fc705=_0x27d2f5[_0x5d75e1(0x5cc)](_0x16648f),_0x4497f8=(0x0,a[_0x5d75e1(0x604)])({'unitId':_0x16716d,'subUnitId':_0x4f3330,'drawingId':_0xbeb06a},_0x381aca?_0x3fc705:void 0x0),_0x58e16f=_0x573e0a[_0x5d75e1(0x30f)](_0x4497f8);if(_0x58e16f!=null){_0x58e16f[_0x5d75e1(0x4a5)]({'left':_0x256455,'top':_0x3a5440,'width':_0x47c84f,'height':_0x2e66a9,'angle':_0x20d670,'flipX':_0x312590,'flipY':_0x4a904b,'skewX':_0x213083,'skewY':_0x91b4c9});continue;}let _0x189673=this['_drawingManagerService'][_0x5d75e1(0x2b4)](_0x16716d,_0x4f3330),_0x273c90=_0x189673[_0x5d75e1(0x5cc)](_0xbeb06a);if(_0x573e0a[_0x5d75e1(0x30f)](_0x4497f8)||!this[_0x5d75e1(0x409)]['getDrawingVisible']())continue;let _0x40d06b=this[_0x5d75e1(0x368)][_0x5d75e1(0x2e5)](_0x16716d,_0x4f3330,_0xbeb06a);if(!_0x40d06b)continue;let _0x50d8fb=new I(_0x4497f8,{...(0x0,u[_0x5d75e1(0x1f1)])(_0x40d06b[_0x5d75e1(0x522)]())?{..._0x16648f,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x16648f},'zIndex':_0x273c90===-0x1?_0x189673['length']-0x1:_0x273c90,'shapeModel':_0x40d06b,'localeService':this['_localeService'],'shapeId':_0xbeb06a,'unitId':_0x16716d,'subUnitId':_0x4f3330,'visible':_0x482dfb!==!0x0});_0x573e0a[_0x5d75e1(0x203)](_0x50d8fb,o[_0x5d75e1(0x410)]),this[_0x5d75e1(0x409)][_0x5d75e1(0x4e8)]()&&_0x573e0a['attachTransformerTo'](_0x50d8fb),_0x24a7c8&&(0x0,d[_0x5d75e1(0x391)])({'drawingId':_0x24a7c8,'unitId':_0x16716d,'subUnitId':_0x4f3330},_0x50d8fb,_0x573e0a,this[_0x5d75e1(0x409)]),_0x417022!=null&&_0x50d8fb[_0x5d75e1(0x307)](_0x417022),_0x177f1b!=null&&_0x50d8fb['setSrcRect'](_0x177f1b),this[_0x5d75e1(0x37a)](_0x50d8fb,_0x40d06b[_0x5d75e1(0x32a)]()),_0x7c35f1[_0x5d75e1(0x33a)](_0x50d8fb);}return _0x7c35f1;}[_0x2c7845(0x37a)](_0x1debba,_0x3572b9){const _0x5b5fc4=_0x2c7845;var _0x3c20eb;let _0x35f52c=_0x3572b9[_0x5b5fc4(0x59d)];if(!_0x35f52c||_0x35f52c[_0x5b5fc4(0x5b5)]!==u[_0x5b5fc4(0x589)][_0x5b5fc4(0x3fc)]||!_0x35f52c['fillImageSource'])return;let _0x57eafd=_0x35f52c[_0x5b5fc4(0x42d)],_0x55ff0b=(_0x3c20eb=_0x35f52c[_0x5b5fc4(0x39c)])==null?u[_0x5b5fc4(0x18d)][_0x5b5fc4(0x291)]:_0x3c20eb,_0x3032cc=this[_0x5b5fc4(0x18c)][_0x5b5fc4(0x56c)](_0x57eafd,_0x55ff0b);if(_0x3032cc){_0x1debba['setFillImage'](_0x3032cc);return;}this[_0x5b5fc4(0x17d)](_0x1debba,_0x57eafd,_0x55ff0b);}async[_0x2c7845(0x17d)](_0x4be029,_0x132bd1,_0x818712){const _0x2e74c7=_0x2c7845;let _0x3740da;try{if(_0x818712===u['ImageSourceTypeEnum']['UUID'])_0x3740da=await this[_0x2e74c7(0x18c)]['getImage'](_0x132bd1);else{if(_0x818712===u['ImageSourceTypeEnum'][_0x2e74c7(0x291)])try{_0x3740da=await this['_urlImageService'][_0x2e74c7(0x245)](_0x132bd1);}catch{_0x3740da=_0x132bd1;}else _0x3740da=_0x132bd1;}}catch(_0x29f035){console[_0x2e74c7(0x56d)](_0x2e74c7(0x455),_0x29f035);return;}let _0x13589d=new window['Image']();_0x13589d[_0x2e74c7(0x504)]=()=>{const _0x25249b=_0x2e74c7;this['_imageIoService'][_0x25249b(0x4cd)](_0x132bd1,_0x818712,_0x13589d),_0x4be029[_0x25249b(0x4b2)](_0x13589d);},_0x13589d[_0x2e74c7(0x20d)]=()=>{const _0x2c4ace=_0x2e74c7;console[_0x2c4ace(0x56d)](_0x2c4ace(0x612),_0x132bd1);},_0x13589d[_0x2e74c7(0x55a)]=_0x3740da;}};z=R([L(0x0,a[_0x2c7845(0x1e2)]),L(0x1,(0x0,t['Inject'])(e[_0x2c7845(0x2ee)])),L(0x2,(0x0,t['Inject'])(t[_0x2c7845(0x452)])),L(0x3,a[_0x2c7845(0x567)]),L(0x4,t['IURLImageService'])],z);let B=class extends t[_0x2c7845(0x4d8)]{constructor(_0x5116c3,_0x4deaec,_0x4429a0,_0x2bacb8,_0x57d2ff,_0xd8d357,_0xe83b15,_0x5edfd8){const _0x54bc8f=_0x2c7845;super(),this[_0x54bc8f(0x1f4)]=_0x5116c3,this[_0x54bc8f(0x4fb)]=_0x4deaec,this['_drawingManagerService']=_0x4429a0,this['_sheetsShapeService']=_0x2bacb8,this[_0x54bc8f(0x57d)]=_0x57d2ff,this[_0x54bc8f(0x1a2)]=_0xd8d357,this[_0x54bc8f(0x583)]=_0xe83b15,this[_0x54bc8f(0x5e4)]=_0x5edfd8,S(this,_0x54bc8f(0x294),null),S(this,_0x54bc8f(0x3e1),null),S(this,_0x54bc8f(0x5de),null),S(this,_0x54bc8f(0x502),void 0x0),S(this,_0x54bc8f(0x1a6),[]),S(this,_0x54bc8f(0x295),0x0),S(this,_0x54bc8f(0x472),0x0),S(this,'_baseShapeWidth',0x0),S(this,'_baseShapeHeight',0x0),S(this,_0x54bc8f(0x195),!0x1),S(this,'_activeAdjustInfo',void 0x0),S(this,_0x54bc8f(0x585),void 0x0),S(this,_0x54bc8f(0x401),void 0x0),S(this,'_adjHandlerPointerUp',void 0x0),S(this,_0x54bc8f(0x4ab),!0x1),this[_0x54bc8f(0x27d)](),this[_0x54bc8f(0x4ac)]();}['_getShapeAdjustPointListById'](_0x17da3b,_0x260c2d,_0x3d8d0b){const _0x27e5c9=_0x2c7845;let _0x5a457c=this[_0x27e5c9(0x368)]['getShapeModel'](_0x17da3b,_0x260c2d,_0x3d8d0b);if(_0x5a457c)return _0x5a457c[_0x27e5c9(0x50f)]();}[_0x2c7845(0x509)](){const _0x1dcf4e=_0x2c7845;this[_0x1dcf4e(0x547)]();}[_0x2c7845(0x4a9)](){const _0x3723c0=_0x2c7845;this[_0x3723c0(0x621)](!0x0);}[_0x2c7845(0x34a)](_0xb50af6){this['_isShouldShowDrawingShapeAdjust']=_0xb50af6;}['_getShapeAdjustInfosById'](_0x4e3055,_0x2d00d7,_0x538d1f,_0x2b2f30){const _0x1c369c=_0x2c7845;let _0x3c6e0d=this['_sheetsShapeService']['getShapeModel'](_0x4e3055,_0x2d00d7,_0x538d1f);if(_0x3c6e0d)return _0x3c6e0d[_0x1c369c(0x5cb)](_0x2b2f30);}[_0x2c7845(0x2b3)](_0x430d97=!0x1){const _0x237c74=_0x2c7845;if(this[_0x237c74(0x3e1)]===null||this[_0x237c74(0x5de)]===null||this[_0x237c74(0x294)]===null)return;let _0x13a861=this[_0x237c74(0x57d)]['getRenderById'](this[_0x237c74(0x3e1)]);if(!_0x13a861||!_0x13a861[_0x237c74(0x446)](c[_0x237c74(0x325)])[_0x237c74(0x36d)]())return;let {scene:_0x1d6512}=_0x13a861,_0x20d07c={'unitId':this[_0x237c74(0x3e1)],'subUnitId':this[_0x237c74(0x5de)],'drawingId':this[_0x237c74(0x294)]},_0x4738da=this[_0x237c74(0x409)][_0x237c74(0x310)](_0x20d07c),{transform:_0x20d988}=_0x4738da;if(!_0x20d988||_0x4738da[_0x237c74(0x477)]!==t['DrawingTypeEnum'][_0x237c74(0x2e1)])return;let {left:_0x43d4a0,top:_0x3441a9,width:_0x4f8959,height:_0x26f2ac,flipX:_0x2d58af,flipY:_0x309591,angle:_0x42d8dd=0x0}=_0x20d988;if(_0x43d4a0===void 0x0||_0x3441a9===void 0x0)return;_0x430d97&&(this[_0x237c74(0x502)]=this[_0x237c74(0x45e)](this[_0x237c74(0x3e1)],this[_0x237c74(0x5de)],this[_0x237c74(0x294)]));let _0x327e58=this['_activeShapeAdjustPointList'];for(let _0x9537be=0x0;_0x9537be<_0x327e58[_0x237c74(0x453)];_0x9537be++){let _0x1d8e31=_0x327e58[_0x9537be],_0x46e3db=_0x1d8e31['x'],_0x11d147=_0x1d8e31['y'];if(_0x2d58af&&(_0x46e3db=(_0x4f8959||0x0)-_0x46e3db),_0x309591&&(_0x11d147=(_0x26f2ac||0x0)-_0x11d147),_0x42d8dd!==0x0){let _0x105e39=(_0x4f8959||0x0)/0x2,_0x5bdad4=(_0x26f2ac||0x0)/0x2,_0x404e71=_0x42d8dd*Math['PI']/0xb4,_0x4dc093=Math[_0x237c74(0x275)](_0x404e71),_0xf8a58c=Math[_0x237c74(0x4e2)](_0x404e71),_0x55a901=_0x46e3db-_0x105e39,_0x105815=_0x11d147-_0x5bdad4;_0x46e3db=_0x105e39+(_0x55a901*_0x4dc093-_0x105815*_0xf8a58c),_0x11d147=_0x5bdad4+(_0x55a901*_0xf8a58c+_0x105815*_0x4dc093);}let _0x34bc0d={'x':_0x46e3db,'y':_0x11d147,'adjName':_0x1d8e31['adjName']};this[_0x237c74(0x17c)](_0x1d6512,_0x34bc0d,_0x34bc0d[_0x237c74(0x31e)],_0x43d4a0,_0x3441a9,this[_0x237c74(0x3e1)],this[_0x237c74(0x5de)]);}}[_0x2c7845(0x621)](_0x253288=!0x1){const _0x5ce664=_0x2c7845;_0x253288&&(this['_clearShapeAdjustControls'](),this[_0x5ce664(0x2b3)](_0x253288));}[_0x2c7845(0x17c)](_0x3b8787,_0xafe6b8,_0x5a77ef,_0x142ec9,_0x3bb0eb,_0x28e3c3,_0x252683){const _0x4c7ad0=_0x2c7845;if(!this[_0x4c7ad0(0x294)])return;let _0x528327=_0x3b8787[_0x4c7ad0(0x30f)](_0x4c7ad0(0x445)+this[_0x4c7ad0(0x294)]+'-'+_0x5a77ef);if(_0x528327){_0x528327[_0x4c7ad0(0x4a5)]({'left':_0xafe6b8['x']+_0x142ec9-u[_0x4c7ad0(0x448)][_0x4c7ad0(0x526)],'top':_0xafe6b8['y']+_0x3bb0eb-u[_0x4c7ad0(0x448)][_0x4c7ad0(0x526)]});return;}let _0xe8f2ad={'left':_0xafe6b8['x']+_0x142ec9-u[_0x4c7ad0(0x448)]['adjHandleSize'],'top':_0xafe6b8['y']+_0x3bb0eb-u['ShapeDefaultConfig'][_0x4c7ad0(0x526)],'adjName':_0x5a77ef,'shapeId':this[_0x4c7ad0(0x294)],'unitId':_0x28e3c3,'subUnitId':_0x252683,'width':u[_0x4c7ad0(0x448)]['adjHandleSize']+0x8,'height':u[_0x4c7ad0(0x448)]['adjHandleSize']+0x8,'zIndex':o['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0},_0x4caf2e=new oe('shape-adjust-point-'+this[_0x4c7ad0(0x294)]+'-'+_0x5a77ef,_0xe8f2ad);this['_shapes'][_0x4c7ad0(0x33a)](_0x4caf2e),this[_0x4c7ad0(0x3c8)](_0x4caf2e,_0x3b8787,_0x5a77ef),_0x3b8787[_0x4c7ad0(0x203)](_0x4caf2e,o['DRAWING_OBJECT_LAYER_INDEX']+0x1);}['_clearShapeAdjustControls'](){const _0x37a464=_0x2c7845;this[_0x37a464(0x1a6)]['length']!==0x0&&(this[_0x37a464(0x1a6)]['forEach'](_0x38af07=>{_0x38af07['dispose']();}),this[_0x37a464(0x1a6)]=[]);}[_0x2c7845(0x2f9)](){this['_createShapeAdjustControls']();}[_0x2c7845(0x24c)](_0x14c4e8,_0x1bc632){const _0x3bf849=_0x2c7845;var _0x3d6913;let _0x25af0c={'x':0x0,'y':0x0};if(!_0x14c4e8||!_0x1bc632)return _0x25af0c;let _0x40b563=this[_0x3bf849(0x57d)][_0x3bf849(0x215)](_0x14c4e8);if(!_0x40b563||!_0x40b563[_0x3bf849(0x446)](c['SheetSkeletonManagerService'])['getSkeleton'](_0x1bc632))return _0x25af0c;let _0x16b15b=_0x40b563[_0x3bf849(0x446)](c[_0x3bf849(0x1c8)]),_0x1f775f=_0x16b15b==null?void 0x0:_0x16b15b[_0x3bf849(0x268)]();if(!_0x1f775f)return _0x25af0c;let _0x54f911=(_0x3d6913=this[_0x3bf849(0x583)][_0x3bf849(0x478)](_0x14c4e8))==null?void 0x0:_0x3d6913[_0x3bf849(0x575)](_0x1bc632);if(!_0x54f911)return _0x25af0c;let _0x46c4af=(0x0,c[_0x3bf849(0x1ba)])(_0x1f775f[_0x3bf849(0x5d0)],_0x1f775f[_0x3bf849(0x42f)],_0x40b563[_0x3bf849(0x37e)],_0x54f911);return _0x46c4af?{'x':_0x46c4af[_0x3bf849(0x46c)],'y':_0x46c4af[_0x3bf849(0x620)]}:_0x25af0c;}[_0x2c7845(0x32b)](_0x1deff9,_0x4df63c){const _0x54101b=_0x2c7845;var _0x46c450,_0x36fa20;let _0x4eb430=(_0x46c450=this['_univerInstanceService'][_0x54101b(0x478)](_0x1deff9))==null?void 0x0:_0x46c450[_0x54101b(0x575)](_0x4df63c);return(_0x36fa20=_0x4eb430==null?void 0x0:_0x4eb430[_0x54101b(0x59b)]())==null?0x1:_0x36fa20;}[_0x2c7845(0x3c8)](_0x1c9ce,_0x28e451,_0x2d4b95){const _0x4dcde4=_0x2c7845;this[_0x4dcde4(0x2d9)]((0x0,t[_0x4dcde4(0x1fe)])(_0x1c9ce['onPointerDown$'][_0x4dcde4(0x4f1)]((_0x10b2e6,_0x37c294)=>{const _0x51fa4d=_0x4dcde4;var _0x595ec1,_0x3f1740,_0x37544f,_0x27f486;let _0x5f872e=_0x1c9ce[_0x51fa4d(0x4b1)]();this['_activeAdjustInfo']=this[_0x51fa4d(0x39d)](_0x5f872e[_0x51fa4d(0x260)],_0x5f872e['subUnitId'],_0x5f872e[_0x51fa4d(0x53b)],_0x2d4b95),this[_0x51fa4d(0x585)]=this[_0x51fa4d(0x368)]['getShapeModel'](_0x5f872e[_0x51fa4d(0x260)],_0x5f872e['subUnitId'],_0x5f872e['drawingId']);let _0x1e7bc9=this[_0x51fa4d(0x409)][_0x51fa4d(0x310)]({'unitId':this[_0x51fa4d(0x3e1)],'subUnitId':this[_0x51fa4d(0x5de)],'drawingId':this[_0x51fa4d(0x294)]}),{transform:_0x54c23b}=_0x1e7bc9;if(_0x54c23b){let {left:_0x316f54,top:_0xc231c6,width:_0x5671ed,height:_0x3e349f}=_0x54c23b;this[_0x51fa4d(0x295)]=_0x316f54||0x0,this[_0x51fa4d(0x472)]=_0xc231c6||0x0,this[_0x51fa4d(0x327)]=_0x5671ed||0x0,this[_0x51fa4d(0x293)]=_0x3e349f||0x0;}let _0x43985e=!!((_0x595ec1=_0x1e7bc9[_0x51fa4d(0x247)])!=null&&_0x595ec1[_0x51fa4d(0x4b4)]),_0x2dddc3=!!((_0x3f1740=_0x1e7bc9[_0x51fa4d(0x247)])!=null&&_0x3f1740[_0x51fa4d(0x4f8)]),_0x248479=((_0x37544f=_0x1e7bc9[_0x51fa4d(0x247)])==null?void 0x0:_0x37544f[_0x51fa4d(0x4cf)])||0x0;this[_0x51fa4d(0x195)]=!0x0,_0x28e451[_0x51fa4d(0x464)]();let _0x3e6f35=(_0x27f486=this[_0x51fa4d(0x585)])==null?void 0x0:_0x27f486[_0x51fa4d(0x5bf)](_0x2d4b95),_0x16289d={[_0x2d4b95]:_0x3e6f35};this[_0x51fa4d(0x401)]=_0x28e451['onPointerMove$'][_0x51fa4d(0x4f1)]((_0x1f94ae,_0x2ad35d)=>{const _0x295c34=_0x51fa4d;if(!this[_0x295c34(0x195)])return;let {offsetX:_0xaf77b9,offsetY:_0x35ba6c}=_0x1f94ae,_0x524b20=this[_0x295c34(0x5c2)];if(this[_0x295c34(0x585)]&&_0x524b20){_0x28e451[_0x295c34(0x464)](),_0x28e451[_0x295c34(0x1c9)](o[_0x295c34(0x4e4)][_0x295c34(0x1ff)]);let _0x3a0a97={'left':0x0,'top':0x0,'width':this[_0x295c34(0x327)],'height':this[_0x295c34(0x293)]},_0x458641=this[_0x295c34(0x24c)](this[_0x295c34(0x3e1)],this['_subUnitId']),_0xb58555=this[_0x295c34(0x32b)](this['_unitId'],this[_0x295c34(0x5de)]),_0x47a068=_0xaf77b9/_0xb58555+_0x458641['x']-this[_0x295c34(0x295)],_0x44ed2d=_0x35ba6c/_0xb58555+_0x458641['y']-this[_0x295c34(0x472)];if(_0x248479!==0x0){let _0x2038bc=this['_baseShapeWidth']/0x2,_0x4f66a4=this[_0x295c34(0x293)]/0x2,_0x32597b=_0x248479*Math['PI']/0xb4,_0x4217ab=Math['cos'](_0x32597b),_0x5de540=Math[_0x295c34(0x4e2)](_0x32597b),_0x18c2eb=_0x47a068-_0x2038bc,_0x510ff3=_0x44ed2d-_0x4f66a4;_0x47a068=_0x2038bc+(_0x18c2eb*_0x4217ab+_0x510ff3*_0x5de540),_0x44ed2d=_0x4f66a4+(-_0x18c2eb*_0x5de540+_0x510ff3*_0x4217ab);}_0x43985e&&(_0x47a068=this['_baseShapeWidth']-_0x47a068),_0x2dddc3&&(_0x44ed2d=this['_baseShapeHeight']-_0x44ed2d);let _0x320519={'x':_0x47a068,'y':_0x44ed2d},_0x17e5be=this[_0x295c34(0x585)][_0x295c34(0x5c8)](_0x3a0a97,_0x320519,_0x524b20,_0x43985e,_0x2dddc3),_0x42e6f0=_0x524b20[_0x295c34(0x344)]||_0x524b20[_0x295c34(0x2d0)]||_0x524b20['gdRefAng']||_0x524b20[_0x295c34(0x338)];if(_0x42e6f0===void 0x0)return;this[_0x295c34(0x585)][_0x295c34(0x54f)](_0x42e6f0,_0x17e5be);let _0x5b5f94=this[_0x295c34(0x409)][_0x295c34(0x310)]({'unitId':_0x5f872e[_0x295c34(0x260)],'subUnitId':_0x5f872e[_0x295c34(0x1ec)],'drawingId':_0x5f872e['drawingId']});_0x5b5f94&&(this[_0x295c34(0x1a2)]['renderDrawingShape'](_0x5b5f94,_0x28e451),this['_activeShapeAdjustPointList']=this['_getShapeAdjustPointListById'](_0x5f872e[_0x295c34(0x260)],_0x5f872e[_0x295c34(0x1ec)],_0x5f872e[_0x295c34(0x53b)]),this[_0x295c34(0x2f9)]());}_0x2ad35d['stopPropagation']();}),this['_adjHandlerPointerUp']=_0x28e451[_0x51fa4d(0x17a)][_0x51fa4d(0x4f1)]((_0x144476,_0x421b40)=>{const _0x241742=_0x51fa4d;this[_0x241742(0x401)]['unsubscribe'](),this[_0x241742(0x3cf)][_0x241742(0x3d7)](),_0x28e451['resetCursor']();let _0x2d3259=this['_activeAdjustInfo'];if(_0x2d3259){let _0x45d5c8=_0x5f872e[_0x241742(0x260)],_0x5dc282=_0x5f872e['subUnitId'],_0x466c58=_0x5f872e[_0x241742(0x53b)],_0x57aa0b=_0x2d3259[_0x241742(0x344)]||_0x2d3259[_0x241742(0x2d0)]||_0x2d3259[_0x241742(0x311)]||_0x2d3259[_0x241742(0x338)];if(_0x57aa0b!==void 0x0){var _0x34480a;let _0xac154b=(_0x34480a=this[_0x241742(0x585)])==null?void 0x0:_0x34480a['getAdjustValueByName'](_0x57aa0b);_0xac154b!==void 0x0&&F(this[_0x241742(0x5e4)],_0x45d5c8,_0x5dc282,_0x466c58,{'oldShapeData':{'adjustValues':_0x16289d}},{'adjustValues':{[_0x57aa0b]:_0xac154b}});}}this[_0x241742(0x5c2)]=void 0x0,this[_0x241742(0x585)]=void 0x0,this[_0x241742(0x195)]=!0x1,_0x421b40[_0x241742(0x271)](),_0x28e451[_0x241742(0x361)]();}),_0x37c294['stopPropagation']();})));}['_registerDrawingMoveHandler'](){const _0x46d4ef=_0x2c7845;let _0x47a53c=this[_0x46d4ef(0x583)][_0x46d4ef(0x3fb)](t[_0x46d4ef(0x2b6)]['UNIVER_SHEET']);this[_0x46d4ef(0x2d9)](_0x47a53c[_0x46d4ef(0x208)]((0x0,i[_0x46d4ef(0x5ad)])(_0x392004=>_0x392004?_0x392004[_0x46d4ef(0x5b2)][_0x46d4ef(0x208)]((0x0,i[_0x46d4ef(0x5ad)])(_0x3b51e8=>{const _0x5c6620=_0x46d4ef;if(!_0x3b51e8)return i[_0x5c6620(0x554)];let _0x4bf912=_0x392004['getUnitId'](),_0x124066=this['_renderManagerService'][_0x5c6620(0x215)](_0x4bf912),_0xaefa96=_0x124066==null?void 0x0:_0x124066[_0x5c6620(0x37e)];return _0xaefa96?(0x0,i['of'])(_0xaefa96):i[_0x5c6620(0x554)];})):i[_0x46d4ef(0x554)]))[_0x46d4ef(0x2e0)](_0x43375f=>{const _0x4ba0fb=_0x46d4ef;let _0x49e466=_0x43375f[_0x4ba0fb(0x5bc)]();this['disposeWithMe'](_0x43375f[_0x4ba0fb(0x3b1)][_0x4ba0fb(0x4f1)](()=>{const _0x458e4c=_0x4ba0fb;this[_0x458e4c(0x4ab)];})),this[_0x4ba0fb(0x2d9)](_0x49e466[_0x4ba0fb(0x5b1)]['subscribe'](_0x5c3828=>{const _0x24d30c=_0x4ba0fb;let {objects:_0x26423b}=_0x5c3828;this[_0x24d30c(0x2b3)](),_0x26423b!==null&&_0x26423b[_0x24d30c(0x3a1)]===0x1&&_0x26423b[_0x24d30c(0x1f2)]()['next']()[_0x24d30c(0x4d7)]instanceof I&&this[_0x24d30c(0x34a)](!0x0);})),this[_0x4ba0fb(0x2d9)](_0x49e466[_0x4ba0fb(0x29b)][_0x4ba0fb(0x2e0)](()=>{const _0x2192dc=_0x4ba0fb;this['_isShouldShowDrawingShapeAdjust']&&this[_0x2192dc(0x547)]();})),this[_0x4ba0fb(0x2d9)](_0x43375f[_0x4ba0fb(0x17a)]['subscribeEvent'](()=>{const _0x52d2ae=_0x4ba0fb;this[_0x52d2ae(0x4ab)]&&(this[_0x52d2ae(0x34a)](!0x1),this[_0x52d2ae(0x2b3)]());})),this[_0x4ba0fb(0x2d9)](_0x49e466['changeEnd$']['subscribe'](()=>{const _0x3de980=_0x4ba0fb;this['_unitId']&&this[_0x3de980(0x5de)]&&this[_0x3de980(0x294)]&&this[_0x3de980(0x409)]['getDrawingByParam']({'unitId':this[_0x3de980(0x3e1)],'subUnitId':this[_0x3de980(0x5de)],'drawingId':this[_0x3de980(0x294)]})&&(this[_0x3de980(0x502)]=this['_getShapeAdjustPointListById'](this['_unitId'],this[_0x3de980(0x5de)],this[_0x3de980(0x294)]),this[_0x3de980(0x2f9)]());}));}));}[_0x2c7845(0x27d)](){const _0xe8d89c=_0x2c7845;this[_0xe8d89c(0x2d9)](this[_0xe8d89c(0x409)][_0xe8d89c(0x2ad)][_0xe8d89c(0x2e0)](_0x1eab2d=>{const _0x9dff1c=_0xe8d89c;if(_0x1eab2d[_0x9dff1c(0x453)]===0x1){let _0x42783b=_0x1eab2d[0x0];if(_0x42783b[_0x9dff1c(0x477)]===t['DrawingTypeEnum'][_0x9dff1c(0x2e1)]){this[_0x9dff1c(0x294)]=_0x42783b[_0x9dff1c(0x53b)];let {unitId:_0x27b699,subUnitId:_0x26b8af}=_0x42783b;this[_0x9dff1c(0x502)]=this[_0x9dff1c(0x45e)](_0x27b699,_0x26b8af,this['_activeShapeId']),this[_0x9dff1c(0x3e1)]=_0x27b699,this['_subUnitId']=_0x26b8af,this[_0x9dff1c(0x547)](),this['_createShapeAdjustControls']();}else this[_0x9dff1c(0x294)]=null,this[_0x9dff1c(0x502)]=void 0x0,this[_0x9dff1c(0x3e1)]=null,this[_0x9dff1c(0x5de)]=null,this[_0x9dff1c(0x547)]();}(_0x1eab2d['length']>0x1||_0x1eab2d['length']===0x0)&&(this[_0x9dff1c(0x294)]=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x9dff1c(0x3e1)]=null,this[_0x9dff1c(0x5de)]=null,this['_clearShapeAdjustControls']());})),this['disposeWithMe'](this[_0xe8d89c(0x409)]['update$'][_0xe8d89c(0x2e0)](_0x4ef963=>{const _0x1fa368=_0xe8d89c;if(_0x4ef963[_0x1fa368(0x453)]===0x1){var _0x197f1a;let _0x3fc045=_0x4ef963[0x0];((_0x197f1a=this[_0x1fa368(0x409)]['getDrawingByParam'](_0x3fc045))==null?void 0x0:_0x197f1a['drawingType'])===t[_0x1fa368(0x5c1)][_0x1fa368(0x2e1)]&&this['_updateShapeAdjustControls'](!0x0);}})),this[_0xe8d89c(0x2d9)](this[_0xe8d89c(0x409)][_0xe8d89c(0x2f0)][_0xe8d89c(0x2e0)](_0x4923d8=>{const _0x183bee=_0xe8d89c;for(let _0x1dd69a of _0x4923d8)this[_0x183bee(0x294)]===_0x1dd69a['drawingId']&&(this[_0x183bee(0x294)]=null,this[_0x183bee(0x502)]=void 0x0,this[_0x183bee(0x3e1)]=null,this[_0x183bee(0x5de)]=null,this[_0x183bee(0x547)]());}));}};B=R([L(0x1,t['IContextService']),L(0x2,a[_0x2c7845(0x1e2)]),L(0x3,(0x0,t[_0x2c7845(0x290)])(e[_0x2c7845(0x2ee)])),L(0x4,(0x0,t[_0x2c7845(0x290)])(o[_0x2c7845(0x17b)])),L(0x5,(0x0,t['Inject'])(z)),L(0x6,t[_0x2c7845(0x2ff)]),L(0x7,t[_0x2c7845(0x4ed)])],B);const se={'id':_0x2c7845(0x57c),'type':t[_0x2c7845(0x54a)][_0x2c7845(0x2c2)],'handler':(_0x3ca501,_0x1b3760)=>{const _0x2924a9=_0x2c7845;let _0x240ca8=_0x3ca501[_0x2924a9(0x1a8)](a['IDrawingManagerService']),_0x4f9a86=_0x3ca501[_0x2924a9(0x1a8)](o[_0x2924a9(0x17b)]),_0x23741e=_0x3ca501[_0x2924a9(0x1a8)](B);if(_0x1b3760==null)return!0x0;if(_0x1b3760[_0x2924a9(0x453)]>0x0){var _0x54a5ba;let _0x533272=(_0x54a5ba=_0x4f9a86[_0x2924a9(0x215)](_0x1b3760[0x0]['unitId']))==null?void 0x0:_0x54a5ba['scene'];if(_0x533272){let {unitId:_0x22ad5b,subUnitId:_0x2a63fe,drawingId:_0xbc2f51}=_0x1b3760[0x0],_0x5f382e=(0x0,a['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x22ad5b,'subUnitId':_0x2a63fe,'drawingId':_0xbc2f51},void 0x0),_0x56c9c8=_0x533272[_0x2924a9(0x30f)](_0x5f382e);if(_0x56c9c8){var _0x1b8741;(_0x1b8741=_0x4f9a86[_0x2924a9(0x215)](_0x1b3760[0x0][_0x2924a9(0x260)]))==null||(_0x1b8741=_0x1b8741[_0x2924a9(0x37e)][_0x2924a9(0x333)]())==null||_0x1b8741[_0x2924a9(0x1a5)](_0x56c9c8);}}_0x240ca8[_0x2924a9(0x2c8)](_0x1b3760),_0x23741e[_0x2924a9(0x34a)](!0x1);}return!0x0;}},V={'type':t['CommandType'][_0x2c7845(0x397)],'id':_0x2c7845(0x2cd),'handler':async(_0x33a33e,_0x1f4d3)=>{const _0x91391c=_0x2c7845;let _0x8a191=(0x0,n[_0x91391c(0x4d2)])(_0x33a33e[_0x91391c(0x1a8)](t[_0x91391c(0x2ff)]));if(!_0x8a191)return!0x1;let _0x14ef18=_0x33a33e[_0x91391c(0x1a8)](n['SheetsSelectionsService'])[_0x91391c(0x25f)]();if(!_0x14ef18)return!0x1;let _0x29d88f=_0x33a33e['get'](t[_0x91391c(0x4ed)]),{unitId:_0x4c2d94,subUnitId:_0x19d60e}=_0x8a191,{value:_0x183a35,enhanceParams:_0x139c47}=_0x1f4d3,{range:_0x564003}=_0x14ef18,_0x465c6f={'unitId':_0x4c2d94,'subUnitId':_0x19d60e,'shapeType':_0x183a35,'range':_0x564003,'shapeId':(0x0,t[_0x91391c(0x4eb)])()};if(_0x139c47){let _0x2e887f=(0x0,u[_0x91391c(0x1f1)])(_0x183a35),_0x559270=_0x183a35===u['ShapeTypeEnum'][_0x91391c(0x227)];_0x2e887f&&(_0x139c47[_0x91391c(0x3ea)]||_0x139c47[_0x91391c(0x242)])&&(_0x465c6f[_0x91391c(0x49a)]={'ln':{'startArrow':_0x139c47[_0x91391c(0x3ea)]?{'type':u['ShapeArrowTypeEnum'][_0x91391c(0x47d)],'size':u[_0x91391c(0x198)]['Medium']}:void 0x0,'endArrow':_0x139c47[_0x91391c(0x242)]?{'type':u[_0x91391c(0x1f3)][_0x91391c(0x47d)],'size':u['ShapeArrowSizeEnum']['Large']}:void 0x0}}),_0x559270&&(_0x139c47[_0x91391c(0x2a6)]||_0x139c47[_0x91391c(0x33e)])&&(_0x465c6f[_0x91391c(0x49a)]={'fill':{'fillType':u[_0x91391c(0x589)][_0x91391c(0x599)],'color':_0x91391c(0x207)},'stroke':{'lineStrokeType':u['ShapeLineTypeEnum'][_0x91391c(0x3fd)],'width':0x1,'color':'#bcbcbc'},'shapeText':{'isHorizontal':!!_0x139c47[_0x91391c(0x2a6)]}});}let _0x46bd13=_0x29d88f[_0x91391c(0x241)](e['InsertShapeCommand']['id'],_0x465c6f);return setTimeout(()=>{const _0x130866=_0x91391c;_0x29d88f[_0x130866(0x3a9)](se['id'],[{'unitId':_0x4c2d94,'subUnitId':_0x19d60e,'drawingId':_0x465c6f[_0x130866(0x182)]}]);},0xc8),_0x46bd13;}};t[_0x2c7845(0x3a6)][_0x2c7845(0x5e6)],t[_0x2c7845(0x3a6)][_0x2c7845(0x4e1)],t[_0x2c7845(0x3a6)]['RIGHT'];function ce(_0x2d0ccd){const _0x2909d6=_0x2c7845;let _0x201a3a=_0x2d0ccd[_0x2909d6(0x1a8)](t['IContextService']),_0x2529fb=_0x2d0ccd[_0x2909d6(0x1a8)](t[_0x2909d6(0x17e)]);return{'id':s[_0x2909d6(0x27b)]['id'],'tooltip':_0x2909d6(0x4bd),'type':l[_0x2909d6(0x2be)]['BUTTON_SELECTOR'],'icon':'PaintBucketDoubleIcon','selections':[{'label':{'name':l[_0x2909d6(0x470)],'hoverable':!0x1,'selectable':!0x1}}],'value$':new i[(_0x2909d6(0x4cc))](_0x279dee=>{const _0x5f363f=_0x2909d6;_0x279dee['next'](_0x2529fb[_0x5f363f(0x495)]('primary.600'));}),'hidden$':_0x201a3a['subscribeContextValue$'](t[_0x2909d6(0x511)])[_0x2909d6(0x208)]((0x0,i[_0x2909d6(0x259)])(_0x201a3a[_0x2909d6(0x5b8)](t[_0x2909d6(0x511)])),(0x0,i[_0x2909d6(0x61f)])(_0x1befe9=>!_0x1befe9))};}function le(_0x45b63f){const _0x115d26=_0x2c7845;let _0x573d30=_0x45b63f[_0x115d26(0x1a8)](t[_0x115d26(0x27a)]);return{'id':s[_0x115d26(0x2ba)]['id'],'type':l[_0x115d26(0x2be)]['BUTTON'],'title':_0x115d26(0x225),'hidden$':_0x573d30[_0x115d26(0x1f9)](t[_0x115d26(0x511)])[_0x115d26(0x208)]((0x0,i[_0x115d26(0x259)])(_0x573d30['getContextValue'](t[_0x115d26(0x511)])),(0x0,i[_0x115d26(0x61f)])(_0x517f6e=>!_0x517f6e))};}const ue=[{'label':_0x2c7845(0x210),'icon':_0x2c7845(0x371),'value':t[_0x2c7845(0x3a6)][_0x2c7845(0x5e6)]},{'label':_0x2c7845(0x1ea),'icon':_0x2c7845(0x2ac),'value':t[_0x2c7845(0x3a6)]['CENTER']},{'label':'sheets-shape-ui.align.right','icon':'RightJustifyingIcon','value':t['HorizontalAlign'][_0x2c7845(0x1bf)]}];function de(_0x35d371){const _0x25f93a=_0x2c7845;var _0x2667a9;let _0x322a36=_0x35d371[_0x25f93a(0x1a8)](t['ICommandService']),_0x5523a2=_0x35d371[_0x25f93a(0x1a8)](t[_0x25f93a(0x27a)]),_0x25a0c3=_0x35d371[_0x25f93a(0x1a8)](r[_0x25f93a(0x2c5)]),_0x35e30e=_0x35d371['get'](C),_0x1c8198=_0x35d371['get'](e[_0x25f93a(0x2ee)]),_0x32633a=t[_0x25f93a(0x3a6)][_0x25f93a(0x5e6)],_0x585408=()=>{const _0x5d8ae4=_0x25f93a;var _0x46b388;let _0x326958=_0x25a0c3[_0x5d8ae4(0x5ed)]()['filter'](_0x4599d2=>_0x4599d2['drawingType']===t[_0x5d8ae4(0x5c1)][_0x5d8ae4(0x2e1)]);if(_0x326958['length']!==0x1)return _0x32633a;let _0x5c94b8=_0x35e30e['getEditing'](),_0x36f468=(_0x5c94b8==null?void 0x0:_0x5c94b8['unitId'])||_0x326958[0x0][_0x5d8ae4(0x260)],_0x44112d=(_0x5c94b8==null?void 0x0:_0x5c94b8['subUnitId'])||_0x326958[0x0][_0x5d8ae4(0x1ec)],_0x5268aa=(_0x5c94b8==null?void 0x0:_0x5c94b8[_0x5d8ae4(0x182)])||_0x326958[0x0][_0x5d8ae4(0x53b)],_0x2b7549=_0x1c8198[_0x5d8ae4(0x2e5)](_0x36f468,_0x44112d,_0x5268aa);if(!_0x2b7549)return _0x32633a;let _0x3cab4f=_0x2b7549[_0x5d8ae4(0x232)]();if(!_0x3cab4f||!(_0x5d8ae4(0x29e)in _0x3cab4f))return _0x32633a;let _0x25792b=_0x3cab4f[_0x5d8ae4(0x29e)];return(_0x46b388=_0x25792b==null?void 0x0:_0x25792b['ha'])==null?_0x32633a:_0x46b388;};return{'id':E['id'],'icon':(_0x2667a9=ue[_0x25f93a(0x5af)](_0x5b7fce=>_0x5b7fce[_0x25f93a(0x4d7)]===_0x32633a))==null?void 0x0:_0x2667a9[_0x25f93a(0x25a)],'tooltip':'sheets-shape-ui.toolbar.horizontalAlignMode.main','type':l[_0x25f93a(0x2be)][_0x25f93a(0x4a7)],'selections':ue,'value$':new i['Observable'](_0x50b865=>{const _0x53354f=_0x25f93a;let _0x1551c2=_0x322a36[_0x53354f(0x577)](_0x5c389e=>{const _0x31e74c=_0x53354f;_0x5c389e['id']===E['id']&&_0x50b865[_0x31e74c(0x5a6)](_0x585408());}),_0x5f398b=_0x35e30e['editingParams$']['subscribe'](()=>{_0x50b865['next'](_0x585408());});return _0x50b865[_0x53354f(0x5a6)](_0x585408()),()=>{const _0x587b50=_0x53354f;_0x1551c2[_0x587b50(0x35d)](),_0x5f398b['unsubscribe']();};}),'hidden$':_0x5523a2['subscribeContextValue$'](t['FOCUSING_COMMON_DRAWINGS'])[_0x25f93a(0x208)]((0x0,i[_0x25f93a(0x61f)])(_0x4b0634=>!_0x4b0634))};}const fe=[{'label':_0x2c7845(0x61c),'icon':'AlignTopIcon','value':t['VerticalAlign'][_0x2c7845(0x222)]},{'label':_0x2c7845(0x36a),'icon':'VerticalCenterIcon','value':t[_0x2c7845(0x598)][_0x2c7845(0x3b4)]},{'label':_0x2c7845(0x4ff),'icon':_0x2c7845(0x267),'value':t[_0x2c7845(0x598)][_0x2c7845(0x317)]}];function pe(_0x8be221){const _0x2f6036=_0x2c7845;var _0x332c30;let _0x5608fe=_0x8be221[_0x2f6036(0x1a8)](t[_0x2f6036(0x4ed)]),_0x2951b6=_0x8be221[_0x2f6036(0x1a8)](t['IContextService']),_0x276646=_0x8be221[_0x2f6036(0x1a8)](r[_0x2f6036(0x2c5)]),_0x47888a=_0x8be221[_0x2f6036(0x1a8)](C),_0x19511f=_0x8be221[_0x2f6036(0x1a8)](e[_0x2f6036(0x2ee)]),_0x36fad5=t['VerticalAlign'][_0x2f6036(0x222)],_0x38f695=()=>{const _0x864976=_0x2f6036;var _0x3c75a7;let _0x536043=_0x276646[_0x864976(0x5ed)]()[_0x864976(0x279)](_0x37fd3c=>_0x37fd3c[_0x864976(0x477)]===t[_0x864976(0x5c1)][_0x864976(0x2e1)]);if(_0x536043[_0x864976(0x453)]!==0x1)return _0x36fad5;let _0x166a9e=_0x47888a[_0x864976(0x2c4)](),_0x1f13ff=(_0x166a9e==null?void 0x0:_0x166a9e[_0x864976(0x260)])||_0x536043[0x0][_0x864976(0x260)],_0x54d4ae=(_0x166a9e==null?void 0x0:_0x166a9e[_0x864976(0x1ec)])||_0x536043[0x0][_0x864976(0x1ec)],_0x377d4a=(_0x166a9e==null?void 0x0:_0x166a9e[_0x864976(0x182)])||_0x536043[0x0][_0x864976(0x53b)],_0x2bc99d=_0x19511f['getShapeModel'](_0x1f13ff,_0x54d4ae,_0x377d4a);if(!_0x2bc99d)return _0x36fad5;let _0x59a183=_0x2bc99d[_0x864976(0x232)]();if(!_0x59a183||!('dataModel'in _0x59a183))return _0x36fad5;let _0x1d82fd=_0x59a183[_0x864976(0x29e)];return(_0x3c75a7=_0x1d82fd==null?void 0x0:_0x1d82fd['va'])==null?_0x36fad5:_0x3c75a7;};return{'id':A['id'],'icon':(_0x332c30=fe['find'](_0x1d8e56=>_0x1d8e56[_0x2f6036(0x4d7)]===_0x36fad5))==null?void 0x0:_0x332c30['icon'],'tooltip':_0x2f6036(0x319),'type':l['MenuItemType'][_0x2f6036(0x4a7)],'selections':fe,'value$':new i[(_0x2f6036(0x4cc))](_0x242d89=>{const _0x358847=_0x2f6036;let _0xae605f=_0x5608fe[_0x358847(0x577)](_0x54cd85=>{const _0x4674ec=_0x358847;_0x54cd85['id']===A['id']&&_0x242d89[_0x4674ec(0x5a6)](_0x38f695());}),_0x779736=_0x47888a['editingParams$'][_0x358847(0x2e0)](()=>{const _0x4d4e49=_0x358847;_0x242d89[_0x4d4e49(0x5a6)](_0x38f695());});return _0x242d89[_0x358847(0x5a6)](_0x38f695()),()=>{const _0x366baa=_0x358847;_0xae605f[_0x366baa(0x35d)](),_0x779736[_0x366baa(0x3d7)]();};}),'hidden$':_0x2951b6[_0x2f6036(0x1f9)](t[_0x2f6036(0x511)])['pipe']((0x0,i[_0x2f6036(0x61f)])(_0x1ca8c0=>!_0x1ca8c0))};}let H=class extends t[_0x2c7845(0x4d8)]{constructor(_0x51b7f5,_0x3f8eb5){const _0x1341cd=_0x2c7845;super(),this[_0x1341cd(0x5c7)]=_0x51b7f5,this[_0x1341cd(0x409)]=_0x3f8eb5,this[_0x1341cd(0x2d3)](),this['_clipService'][_0x1341cd(0x235)](!0x0),this['disposeWithMe']({'dispose':()=>this[_0x1341cd(0x5c7)][_0x1341cd(0x235)](!0x1)});}[_0x2c7845(0x2d3)](){const _0x27ec08=_0x2c7845;let _0x411a5c=this[_0x27ec08(0x5c7)],_0x46d453=new Map(),_0x2602cf=_0x411a5c[_0x27ec08(0x1c0)]((_0x35247c,_0x13a9dd,_0x250aba,_0x1f027c,_0x392546)=>{const _0x499f79=_0x27ec08;let _0x24cf1c=_0x13a9dd;if(_0x24cf1c===u[_0x499f79(0x3ce)][_0x499f79(0x2cb)]||_0x13a9dd==='custom')return!0x1;try{let _0x21099a=_0x46d453['get'](_0x13a9dd);return _0x21099a||(_0x21099a=new u['ShapeModel'](_0x24cf1c,_0x499f79(0x21f)+_0x13a9dd),_0x46d453[_0x499f79(0x37d)](_0x13a9dd,_0x21099a)),_0x392546&&_0x21099a['setShapeData']({'adjustValues':_0x392546},!0x0),_0x21099a[_0x499f79(0x229)]({'width':_0x250aba,'height':_0x1f027c}),_0x21099a[_0x499f79(0x273)](_0x35247c,{'left':0x0,'top':0x0,'width':_0x250aba,'height':_0x1f027c});}catch{return!0x1;}});this[_0x27ec08(0x2d9)](_0x2602cf),this[_0x27ec08(0x2d9)]({'dispose':()=>_0x46d453['clear']()});}[_0x2c7845(0x324)](_0x3b0e2d,_0x5128b1,_0x237386,_0xdac5e9,_0x527bd1){const _0x14d650=_0x2c7845;let _0x2c2f5c=this[_0x14d650(0x409)]['getDrawingData'](_0x3b0e2d,_0x5128b1);if(!_0x2c2f5c[_0x237386])return;let _0x182430={..._0x2c2f5c[_0x237386],'prstGeom':_0xdac5e9,'adjustValues':_0x527bd1};this['_drawingManagerService'][_0x14d650(0x1ad)]([_0x182430]);}};H=R([L(0x0,(0x0,t['Inject'])(d['DrawingImageClipService'])),L(0x1,(0x0,t[_0x2c7845(0x290)])(a[_0x2c7845(0x1e2)]))],H);const me=[{'group':_0x2c7845(0x580),'type':u[_0x2c7845(0x3ce)]['Line'],'icon':_0x2c7845(0x474),'name':'sheets-shape-ui.shape.type.line'},{'group':_0x2c7845(0x580),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x540)],'icon':_0x2c7845(0x3e8),'name':_0x2c7845(0x5e5),'endArrow':!0x0},{'group':_0x2c7845(0x580),'type':u['ShapeTypeEnum'][_0x2c7845(0x540)],'icon':'ShapeStraightConnector2Icon','name':'sheets-shape-ui.shape.type.straight-connector2','endArrow':!0x0,'startArrow':!0x0},{'group':_0x2c7845(0x580),'type':u[_0x2c7845(0x3ce)]['BentConnector3'],'icon':'ShapeBentConnector3Icon','name':_0x2c7845(0x213)},{'group':_0x2c7845(0x580),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x3ee)],'icon':'ShapeBentConnector3Arrow1Icon','name':_0x2c7845(0x4b6),'endArrow':!0x0},{'group':_0x2c7845(0x580),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x3ee)],'icon':'ShapeBentConnector3Arrow2Icon','name':'sheets-shape-ui.shape.type.bent-connector3-arrow2','endArrow':!0x0,'startArrow':!0x0},{'group':_0x2c7845(0x580),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x3d4)],'icon':_0x2c7845(0x1fa),'name':_0x2c7845(0x1b2)},{'group':'line','type':u[_0x2c7845(0x3ce)]['CurvedConnector3'],'icon':'ShapeCurvedConnector3Arrow1Icon','name':_0x2c7845(0x330),'endArrow':!0x0},{'group':_0x2c7845(0x580),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x3d4)],'icon':_0x2c7845(0x3a8),'name':'sheets-shape-ui.shape.type.curved-connector3-arrow2','endArrow':!0x0,'startArrow':!0x0},{'group':'rectangle','type':u[_0x2c7845(0x3ce)]['Rect'],'icon':'ShapeRectIcon','name':'sheets-shape-ui.shape.type.rect'},{'group':_0x2c7845(0x3bc),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x51c)],'icon':'ShapeRoundRectIcon','name':_0x2c7845(0x565)},{'group':_0x2c7845(0x3bc),'type':u['ShapeTypeEnum'][_0x2c7845(0x40b)],'icon':_0x2c7845(0x44d),'name':_0x2c7845(0x52b)},{'group':_0x2c7845(0x3bc),'type':u['ShapeTypeEnum'][_0x2c7845(0x309)],'icon':'ShapeSnip2SameRectIcon','name':_0x2c7845(0x5bb)},{'group':_0x2c7845(0x3bc),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x2c7)],'icon':_0x2c7845(0x4a1),'name':_0x2c7845(0x5f6)},{'group':_0x2c7845(0x3bc),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x399)],'icon':_0x2c7845(0x491),'name':_0x2c7845(0x43c)},{'group':_0x2c7845(0x3bc),'type':u['ShapeTypeEnum']['Round1Rect'],'icon':_0x2c7845(0x4fa),'name':_0x2c7845(0x429)},{'group':'rectangle','type':u[_0x2c7845(0x3ce)][_0x2c7845(0x328)],'icon':_0x2c7845(0x622),'name':_0x2c7845(0x276)},{'group':_0x2c7845(0x3bc),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x31a)],'icon':_0x2c7845(0x1b1),'name':_0x2c7845(0x2d8)},{'group':_0x2c7845(0x29c),'type':u['ShapeTypeEnum']['Rect'],'icon':_0x2c7845(0x3a3),'name':_0x2c7845(0x432),'horizontal':!0x0},{'group':_0x2c7845(0x29c),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x227)],'icon':_0x2c7845(0x2e2),'name':_0x2c7845(0x3c4),'vertical':!0x0},{'group':'basicShape','type':u[_0x2c7845(0x3ce)][_0x2c7845(0x1a7)],'icon':'ShapeEllipseIcon','name':'sheets-shape-ui.shape.type.ellipse'},{'group':'basicShape','type':u[_0x2c7845(0x3ce)][_0x2c7845(0x3f6)],'icon':_0x2c7845(0x417),'name':_0x2c7845(0x1fb)},{'group':_0x2c7845(0x29c),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x60d)],'icon':_0x2c7845(0x38f),'name':_0x2c7845(0x512)},{'group':_0x2c7845(0x29c),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x312)],'icon':_0x2c7845(0x5aa),'name':_0x2c7845(0x1f5)},{'group':_0x2c7845(0x29c),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x463)],'icon':_0x2c7845(0x487),'name':_0x2c7845(0x3f1)},{'group':_0x2c7845(0x29c),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x468)],'icon':_0x2c7845(0x29d),'name':_0x2c7845(0x209)},{'group':_0x2c7845(0x29c),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x2f3)],'icon':'ShapePentagonIcon','name':_0x2c7845(0x418)},{'group':_0x2c7845(0x29c),'type':u['ShapeTypeEnum'][_0x2c7845(0x5fd)],'icon':'ShapeHexagonIcon','name':'sheets-shape-ui.shape.type.hexagon'},{'group':'basicShape','type':u[_0x2c7845(0x3ce)][_0x2c7845(0x47a)],'icon':_0x2c7845(0x1b6),'name':_0x2c7845(0x205)},{'group':_0x2c7845(0x29c),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x442)],'icon':'ShapeOctagonIcon','name':_0x2c7845(0x5c6)},{'group':_0x2c7845(0x29c),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x298)],'icon':_0x2c7845(0x23a),'name':_0x2c7845(0x4e0)},{'group':_0x2c7845(0x29c),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x1d7)],'icon':_0x2c7845(0x40a),'name':_0x2c7845(0x28a)},{'group':_0x2c7845(0x29c),'type':u[_0x2c7845(0x3ce)]['Pie'],'icon':_0x2c7845(0x2fc),'name':_0x2c7845(0x4b8)},{'group':_0x2c7845(0x29c),'type':u['ShapeTypeEnum'][_0x2c7845(0x48c)],'icon':_0x2c7845(0x313),'name':_0x2c7845(0x1aa)},{'group':_0x2c7845(0x29c),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x537)],'icon':'ShapeTeardropIcon','name':_0x2c7845(0x5e9)},{'group':_0x2c7845(0x29c),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x1b8)],'icon':_0x2c7845(0x60c),'name':_0x2c7845(0x1db)},{'group':_0x2c7845(0x29c),'type':u[_0x2c7845(0x3ce)]['HalfFrame'],'icon':_0x2c7845(0x228),'name':_0x2c7845(0x58d)},{'group':_0x2c7845(0x29c),'type':u['ShapeTypeEnum'][_0x2c7845(0x4d6)],'icon':_0x2c7845(0x607),'name':_0x2c7845(0x46b)},{'group':_0x2c7845(0x29c),'type':u['ShapeTypeEnum'][_0x2c7845(0x2fa)],'icon':'ShapeDiagStripeIcon','name':'sheets-shape-ui.shape.type.diag-stripe'},{'group':'basicShape','type':u[_0x2c7845(0x3ce)]['Plus'],'icon':_0x2c7845(0x557),'name':'sheets-shape-ui.shape.type.plus'},{'group':_0x2c7845(0x29c),'type':u[_0x2c7845(0x3ce)]['Plaque'],'icon':'ShapePlaqueIcon','name':_0x2c7845(0x46e)},{'group':_0x2c7845(0x29c),'type':u[_0x2c7845(0x3ce)]['Can'],'icon':_0x2c7845(0x1df),'name':_0x2c7845(0x415)},{'group':_0x2c7845(0x29c),'type':u['ShapeTypeEnum'][_0x2c7845(0x25c)],'icon':_0x2c7845(0x41a),'name':_0x2c7845(0x517)},{'group':_0x2c7845(0x29c),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x1e8)],'icon':_0x2c7845(0x62b),'name':_0x2c7845(0x539)},{'group':_0x2c7845(0x29c),'type':u['ShapeTypeEnum'][_0x2c7845(0x5d9)],'icon':_0x2c7845(0x57b),'name':_0x2c7845(0x214)},{'group':_0x2c7845(0x29c),'type':u[_0x2c7845(0x3ce)]['NoSmoking'],'icon':_0x2c7845(0x31b),'name':_0x2c7845(0x55d)},{'group':_0x2c7845(0x29c),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x473)],'icon':_0x2c7845(0x4db),'name':_0x2c7845(0x20e)},{'group':_0x2c7845(0x29c),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x513)],'icon':_0x2c7845(0x50a),'name':_0x2c7845(0x2c9)},{'group':'basicShape','type':u[_0x2c7845(0x3ce)][_0x2c7845(0x3b2)],'icon':_0x2c7845(0x543),'name':_0x2c7845(0x51e)},{'group':_0x2c7845(0x29c),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x436)],'icon':_0x2c7845(0x1d8),'name':_0x2c7845(0x284)},{'group':_0x2c7845(0x29c),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x505)],'icon':_0x2c7845(0x314),'name':_0x2c7845(0x5ba)},{'group':_0x2c7845(0x29c),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x248)],'icon':'ShapeSunIcon','name':_0x2c7845(0x571)},{'group':'basicShape','type':u[_0x2c7845(0x3ce)][_0x2c7845(0x588)],'icon':'ShapeMoonIcon','name':_0x2c7845(0x484)},{'group':'basicShape','type':u['ShapeTypeEnum']['Cloud'],'icon':'ShapeCloudIcon','name':_0x2c7845(0x481)},{'group':_0x2c7845(0x29c),'type':u[_0x2c7845(0x3ce)]['Arc'],'icon':_0x2c7845(0x44c),'name':_0x2c7845(0x1d6)},{'group':_0x2c7845(0x29c),'type':u['ShapeTypeEnum'][_0x2c7845(0x1c5)],'icon':'ShapeBracketPairIcon','name':_0x2c7845(0x38d)},{'group':_0x2c7845(0x29c),'type':u[_0x2c7845(0x3ce)]['BracePair'],'icon':_0x2c7845(0x403),'name':_0x2c7845(0x518)},{'group':_0x2c7845(0x29c),'type':u[_0x2c7845(0x3ce)]['LeftBracket'],'icon':_0x2c7845(0x41e),'name':_0x2c7845(0x2b2)},{'group':_0x2c7845(0x29c),'type':u['ShapeTypeEnum'][_0x2c7845(0x5e7)],'icon':'ShapeRightBracketIcon','name':'sheets-shape-ui.shape.type.right-bracket'},{'group':'basicShape','type':u[_0x2c7845(0x3ce)][_0x2c7845(0x3be)],'icon':'ShapeLeftBraceIcon','name':'sheets-shape-ui.shape.type.left-brace'},{'group':_0x2c7845(0x29c),'type':u['ShapeTypeEnum'][_0x2c7845(0x5c5)],'icon':_0x2c7845(0x1e1),'name':_0x2c7845(0x28d)},{'group':_0x2c7845(0x5ee),'type':u[_0x2c7845(0x3ce)]['RightArrow'],'icon':_0x2c7845(0x489),'name':_0x2c7845(0x61a)},{'group':_0x2c7845(0x5ee),'type':u['ShapeTypeEnum']['LeftArrow'],'icon':_0x2c7845(0x1ee),'name':_0x2c7845(0x58c)},{'group':_0x2c7845(0x5ee),'type':u['ShapeTypeEnum'][_0x2c7845(0x5b0)],'icon':_0x2c7845(0x35c),'name':_0x2c7845(0x5d5)},{'group':_0x2c7845(0x5ee),'type':u['ShapeTypeEnum'][_0x2c7845(0x264)],'icon':_0x2c7845(0x272),'name':'sheets-shape-ui.shape.type.down-arrow'},{'group':'blockArrow','type':u[_0x2c7845(0x3ce)]['LeftRightArrow'],'icon':'ShapeLeftRightArrowIcon','name':'sheets-shape-ui.shape.type.left-right-arrow'},{'group':'blockArrow','type':u[_0x2c7845(0x3ce)][_0x2c7845(0x49e)],'icon':_0x2c7845(0x5b4),'name':_0x2c7845(0x3e4)},{'group':_0x2c7845(0x5ee),'type':u['ShapeTypeEnum'][_0x2c7845(0x29a)],'icon':_0x2c7845(0x1dc),'name':_0x2c7845(0x3e7)},{'group':'blockArrow','type':u['ShapeTypeEnum'][_0x2c7845(0x377)],'icon':_0x2c7845(0x243),'name':'sheets-shape-ui.shape.type.left-right-up-arrow'},{'group':_0x2c7845(0x5ee),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x490)],'icon':_0x2c7845(0x3c5),'name':_0x2c7845(0x1b9)},{'group':_0x2c7845(0x5ee),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x586)],'icon':'ShapeUturnArrowIcon','name':_0x2c7845(0x4c9)},{'group':_0x2c7845(0x5ee),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x613)],'icon':_0x2c7845(0x507),'name':_0x2c7845(0x2a1)},{'group':_0x2c7845(0x5ee),'type':u[_0x2c7845(0x3ce)]['BentUpArrow'],'icon':_0x2c7845(0x261),'name':_0x2c7845(0x523)},{'group':'blockArrow','type':u['ShapeTypeEnum'][_0x2c7845(0x240)],'icon':_0x2c7845(0x32d),'name':_0x2c7845(0x508)},{'group':'blockArrow','type':u[_0x2c7845(0x3ce)][_0x2c7845(0x5cf)],'icon':_0x2c7845(0x38a),'name':_0x2c7845(0x5fa)},{'group':_0x2c7845(0x5ee),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x41b)],'icon':'ShapeCurvedUpArrowIcon','name':_0x2c7845(0x303)},{'group':'blockArrow','type':u['ShapeTypeEnum'][_0x2c7845(0x4f7)],'icon':_0x2c7845(0x238),'name':_0x2c7845(0x4a8)},{'group':_0x2c7845(0x5ee),'type':u[_0x2c7845(0x3ce)]['StripedRightArrow'],'icon':_0x2c7845(0x31d),'name':'sheets-shape-ui.shape.type.striped-right-arrow'},{'group':_0x2c7845(0x5ee),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x551)],'icon':_0x2c7845(0x58f),'name':_0x2c7845(0x545)},{'group':_0x2c7845(0x5ee),'type':u[_0x2c7845(0x3ce)]['HomePlate'],'icon':_0x2c7845(0x5dd),'name':_0x2c7845(0x237)},{'group':_0x2c7845(0x5ee),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x251)],'icon':_0x2c7845(0x55e),'name':_0x2c7845(0x1af)},{'group':_0x2c7845(0x5ee),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x59f)],'icon':'ShapeRightArrowCalloutIcon','name':_0x2c7845(0x364)},{'group':_0x2c7845(0x5ee),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x59e)],'icon':_0x2c7845(0x461),'name':'sheets-shape-ui.shape.type.down-arrow-callout'},{'group':_0x2c7845(0x5ee),'type':u['ShapeTypeEnum'][_0x2c7845(0x5f8)],'icon':_0x2c7845(0x5f4),'name':'sheets-shape-ui.shape.type.left-arrow-callout'},{'group':_0x2c7845(0x5ee),'type':u['ShapeTypeEnum'][_0x2c7845(0x24b)],'icon':_0x2c7845(0x285),'name':_0x2c7845(0x3c3)},{'group':'blockArrow','type':u[_0x2c7845(0x3ce)][_0x2c7845(0x187)],'icon':_0x2c7845(0x19a),'name':_0x2c7845(0x3f3)},{'group':'blockArrow','type':u[_0x2c7845(0x3ce)][_0x2c7845(0x185)],'icon':_0x2c7845(0x2c1),'name':_0x2c7845(0x249)},{'group':_0x2c7845(0x5ee),'type':u[_0x2c7845(0x3ce)]['CircularArrow'],'icon':_0x2c7845(0x538),'name':_0x2c7845(0x349)},{'group':'equationShape','type':u[_0x2c7845(0x3ce)][_0x2c7845(0x4b3)],'icon':_0x2c7845(0x4b9),'name':_0x2c7845(0x60b)},{'group':_0x2c7845(0x2ae),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x1d3)],'icon':_0x2c7845(0x5ec),'name':_0x2c7845(0x48f)},{'group':_0x2c7845(0x2ae),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x36f)],'icon':'ShapeMathMultiplyIcon','name':_0x2c7845(0x425)},{'group':_0x2c7845(0x2ae),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x387)],'icon':_0x2c7845(0x4c6),'name':_0x2c7845(0x51a)},{'group':'equationShape','type':u['ShapeTypeEnum'][_0x2c7845(0x5b9)],'icon':'ShapeMathEqualIcon','name':_0x2c7845(0x4e5)},{'group':_0x2c7845(0x2ae),'type':u['ShapeTypeEnum'][_0x2c7845(0x430)],'icon':_0x2c7845(0x4ef),'name':'sheets-shape-ui.shape.type.math-not-equal'},{'group':_0x2c7845(0x3ca),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x485)],'icon':_0x2c7845(0x3ed),'name':_0x2c7845(0x255)},{'group':_0x2c7845(0x3ca),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x263)],'icon':'ShapeFlowChartAlternateProcessIcon','name':_0x2c7845(0x55b)},{'group':_0x2c7845(0x3ca),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x617)],'icon':_0x2c7845(0x548),'name':'sheets-shape-ui.shape.type.flow-chart-decision'},{'group':_0x2c7845(0x3ca),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x45d)],'icon':_0x2c7845(0x423),'name':'sheets-shape-ui.shape.type.flow-chart-input-output'},{'group':_0x2c7845(0x3ca),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x1a0)],'icon':_0x2c7845(0x385),'name':'sheets-shape-ui.shape.type.flow-chart-predefined-process'},{'group':'flowchart','type':u[_0x2c7845(0x3ce)][_0x2c7845(0x25e)],'icon':_0x2c7845(0x533),'name':_0x2c7845(0x414)},{'group':_0x2c7845(0x3ca),'type':u['ShapeTypeEnum'][_0x2c7845(0x5ca)],'icon':'ShapeFlowChartDocumentIcon','name':_0x2c7845(0x4e7)},{'group':_0x2c7845(0x3ca),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x26a)],'icon':_0x2c7845(0x24f),'name':'sheets-shape-ui.shape.type.flow-chart-multidocument'},{'group':'flowchart','type':u[_0x2c7845(0x3ce)][_0x2c7845(0x3c6)],'icon':'ShapeFlowChartTerminatorIcon','name':_0x2c7845(0x615)},{'group':_0x2c7845(0x3ca),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x35a)],'icon':'ShapeFlowChartPreparationIcon','name':_0x2c7845(0x1cf)},{'group':'flowchart','type':u[_0x2c7845(0x3ce)][_0x2c7845(0x406)],'icon':_0x2c7845(0x422),'name':_0x2c7845(0x499)},{'group':_0x2c7845(0x3ca),'type':u[_0x2c7845(0x3ce)]['FlowchartManualOperation'],'icon':_0x2c7845(0x329),'name':_0x2c7845(0x220)},{'group':_0x2c7845(0x3ca),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x2f7)],'icon':_0x2c7845(0x5f7),'name':'sheets-shape-ui.shape.type.flow-chart-connector'},{'group':'flowchart','type':u['ShapeTypeEnum'][_0x2c7845(0x50d)],'icon':'ShapeFlowChartOffpageConnectorIcon','name':_0x2c7845(0x224)},{'group':_0x2c7845(0x3ca),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x3d0)],'icon':'ShapeFlowChartPunchedCardIcon','name':'sheets-shape-ui.shape.type.flow-chart-punched-card'},{'group':_0x2c7845(0x3ca),'type':u['ShapeTypeEnum']['FlowchartPunchedTape'],'icon':'ShapeFlowChartPunchedTapeIcon','name':_0x2c7845(0x20f)},{'group':_0x2c7845(0x3ca),'type':u[_0x2c7845(0x3ce)]['FlowchartSummingJunction'],'icon':_0x2c7845(0x43e),'name':_0x2c7845(0x36e)},{'group':_0x2c7845(0x3ca),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x3ad)],'icon':'ShapeFlowChartOrIcon','name':_0x2c7845(0x246)},{'group':'flowchart','type':u[_0x2c7845(0x3ce)][_0x2c7845(0x2d1)],'icon':_0x2c7845(0x58a),'name':_0x2c7845(0x37f)},{'group':_0x2c7845(0x3ca),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x556)],'icon':_0x2c7845(0x519),'name':'sheets-shape-ui.shape.type.flow-chart-sort'},{'group':_0x2c7845(0x3ca),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x5a3)],'icon':_0x2c7845(0x3f5),'name':_0x2c7845(0x34c)},{'group':'flowchart','type':u[_0x2c7845(0x3ce)][_0x2c7845(0x570)],'icon':_0x2c7845(0x471),'name':'sheets-shape-ui.shape.type.flow-chart-merge'},{'group':'flowchart','type':u['ShapeTypeEnum'][_0x2c7845(0x288)],'icon':_0x2c7845(0x38c),'name':_0x2c7845(0x35e)},{'group':_0x2c7845(0x3ca),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x1d4)],'icon':_0x2c7845(0x515),'name':_0x2c7845(0x54e)},{'group':_0x2c7845(0x3ca),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x191)],'icon':_0x2c7845(0x1d5),'name':'sheets-shape-ui.shape.type.flow-chart-magnetic-tape'},{'group':_0x2c7845(0x3ca),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x31f)],'icon':_0x2c7845(0x3b9),'name':_0x2c7845(0x584)},{'group':_0x2c7845(0x3ca),'type':u[_0x2c7845(0x3ce)]['FlowchartMagneticDrum'],'icon':_0x2c7845(0x19f),'name':_0x2c7845(0x4b7)},{'group':'flowchart','type':u[_0x2c7845(0x3ce)][_0x2c7845(0x5da)],'icon':_0x2c7845(0x1a3),'name':'sheets-shape-ui.shape.type.flow-chart-display'},{'group':_0x2c7845(0x1e3),'type':u[_0x2c7845(0x3ce)]['IrregularSeal1'],'icon':_0x2c7845(0x614),'name':_0x2c7845(0x5d3)},{'group':_0x2c7845(0x1e3),'type':u[_0x2c7845(0x3ce)]['IrregularSeal2'],'icon':_0x2c7845(0x4cb),'name':'sheets-shape-ui.shape.type.irregular-seal2'},{'group':_0x2c7845(0x1e3),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x419)],'icon':_0x2c7845(0x4f4),'name':_0x2c7845(0x27f)},{'group':_0x2c7845(0x1e3),'type':u[_0x2c7845(0x3ce)]['Star5'],'icon':_0x2c7845(0x3b5),'name':_0x2c7845(0x405)},{'group':_0x2c7845(0x1e3),'type':u['ShapeTypeEnum'][_0x2c7845(0x221)],'icon':'ShapeStar6Icon','name':_0x2c7845(0x2b1)},{'group':_0x2c7845(0x1e3),'type':u[_0x2c7845(0x3ce)]['Star7'],'icon':'ShapeStar7Icon','name':'sheets-shape-ui.shape.type.star7'},{'group':_0x2c7845(0x1e3),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x5f9)],'icon':'ShapeStar8Icon','name':_0x2c7845(0x486)},{'group':_0x2c7845(0x1e3),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x305)],'icon':'ShapeStar10Icon','name':_0x2c7845(0x2cc)},{'group':_0x2c7845(0x1e3),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x407)],'icon':_0x2c7845(0x318),'name':_0x2c7845(0x42a)},{'group':_0x2c7845(0x1e3),'type':u['ShapeTypeEnum'][_0x2c7845(0x4d9)],'icon':'ShapeStar16Icon','name':_0x2c7845(0x3cc)},{'group':'starAndBanner','type':u['ShapeTypeEnum'][_0x2c7845(0x34f)],'icon':'ShapeStar24Icon','name':_0x2c7845(0x4fe)},{'group':'starAndBanner','type':u[_0x2c7845(0x3ce)][_0x2c7845(0x226)],'icon':_0x2c7845(0x4a4),'name':_0x2c7845(0x392)},{'group':_0x2c7845(0x1e3),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x2d5)],'icon':'ShapeRibbon2Icon','name':'sheets-shape-ui.shape.type.ribbon2'},{'group':_0x2c7845(0x1e3),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x42e)],'icon':_0x2c7845(0x402),'name':_0x2c7845(0x257)},{'group':_0x2c7845(0x1e3),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x1de)],'icon':_0x2c7845(0x60a),'name':_0x2c7845(0x47f)},{'group':_0x2c7845(0x1e3),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x234)],'icon':'ShapeEllipseRibbonIcon','name':_0x2c7845(0x411)},{'group':_0x2c7845(0x1e3),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x552)],'icon':_0x2c7845(0x277),'name':_0x2c7845(0x3e0)},{'group':'starAndBanner','type':u['ShapeTypeEnum']['HorizontalScroll'],'icon':_0x2c7845(0x4ad),'name':_0x2c7845(0x47e)},{'group':'starAndBanner','type':u[_0x2c7845(0x3ce)][_0x2c7845(0x23c)],'icon':'ShapeWaveIcon','name':_0x2c7845(0x2c6)},{'group':_0x2c7845(0x1e3),'type':u[_0x2c7845(0x3ce)]['DoubleWave'],'icon':'ShapeDoubleWaveIcon','name':_0x2c7845(0x280)},{'group':_0x2c7845(0x416),'type':u[_0x2c7845(0x3ce)]['WedgeRectCallout'],'icon':_0x2c7845(0x3f8),'name':_0x2c7845(0x37c)},{'group':_0x2c7845(0x416),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x3a5)],'icon':_0x2c7845(0x437),'name':_0x2c7845(0x60f)},{'group':_0x2c7845(0x416),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x42b)],'icon':_0x2c7845(0x365),'name':_0x2c7845(0x26e)},{'group':_0x2c7845(0x416),'type':u['ShapeTypeEnum'][_0x2c7845(0x197)],'icon':_0x2c7845(0x20a),'name':'sheets-shape-ui.shape.type.cloud-callout'},{'group':_0x2c7845(0x416),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x37b)],'icon':_0x2c7845(0x353),'name':_0x2c7845(0x2ed)},{'group':_0x2c7845(0x416),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x413)],'icon':'ShapeBorderCallout2Icon','name':_0x2c7845(0x188)},{'group':_0x2c7845(0x416),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x494)],'icon':_0x2c7845(0x601),'name':_0x2c7845(0x253)},{'group':_0x2c7845(0x416),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x211)],'icon':_0x2c7845(0x2db),'name':'sheets-shape-ui.shape.type.accent-callout1'},{'group':_0x2c7845(0x416),'type':u['ShapeTypeEnum'][_0x2c7845(0x193)],'icon':'ShapeAccentCallout2Icon','name':'sheets-shape-ui.shape.type.accent-callout2'},{'group':_0x2c7845(0x416),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x3e2)],'icon':_0x2c7845(0x24a),'name':'sheets-shape-ui.shape.type.accent-callout3'},{'group':'callout','type':u[_0x2c7845(0x3ce)]['Callout1'],'icon':'ShapeCallout1Icon','name':_0x2c7845(0x52a)},{'group':_0x2c7845(0x416),'type':u[_0x2c7845(0x3ce)]['Callout2'],'icon':_0x2c7845(0x4ec),'name':_0x2c7845(0x609)},{'group':'callout','type':u[_0x2c7845(0x3ce)][_0x2c7845(0x1c6)],'icon':_0x2c7845(0x27e),'name':'sheets-shape-ui.shape.type.callout3'},{'group':_0x2c7845(0x416),'type':u[_0x2c7845(0x3ce)]['AccentBorderCallout1'],'icon':_0x2c7845(0x4a6),'name':_0x2c7845(0x2bc)},{'group':_0x2c7845(0x416),'type':u[_0x2c7845(0x3ce)]['AccentBorderCallout2'],'icon':'ShapeAccentBorderCallout2Icon','name':_0x2c7845(0x2c3)},{'group':_0x2c7845(0x416),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x28c)],'icon':'ShapeAccentBorderCallout3Icon','name':'sheets-shape-ui.shape.type.accent-border-callout3'},{'group':'other','type':u[_0x2c7845(0x3ce)][_0x2c7845(0x206)],'icon':_0x2c7845(0x53c),'name':'sheets-shape-ui.shape.type.left-circular-arrow'},{'group':_0x2c7845(0x520),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x33f)],'icon':_0x2c7845(0x4f6),'name':_0x2c7845(0x61d)},{'group':'other','type':u['ShapeTypeEnum'][_0x2c7845(0x28f)],'icon':_0x2c7845(0x1e7),'name':_0x2c7845(0x5e2)},{'group':_0x2c7845(0x520),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x44e)],'icon':_0x2c7845(0x383),'name':'sheets-shape-ui.shape.type.left-right-ribbon'},{'group':'other','type':u[_0x2c7845(0x3ce)][_0x2c7845(0x550)],'icon':'ShapePieWedgeIcon','name':_0x2c7845(0x347)},{'group':_0x2c7845(0x520),'type':u[_0x2c7845(0x3ce)]['Funnel'],'icon':_0x2c7845(0x55c),'name':_0x2c7845(0x4dc)},{'group':'other','type':u['ShapeTypeEnum'][_0x2c7845(0x2fd)],'icon':_0x2c7845(0x216),'name':_0x2c7845(0x5a4)},{'group':_0x2c7845(0x520),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x258)],'icon':_0x2c7845(0x561),'name':_0x2c7845(0x2eb)},{'group':'other','type':u[_0x2c7845(0x3ce)][_0x2c7845(0x563)],'icon':_0x2c7845(0x1ab),'name':_0x2c7845(0x2a8)},{'group':_0x2c7845(0x520),'type':u['ShapeTypeEnum'][_0x2c7845(0x602)],'icon':_0x2c7845(0x441),'name':_0x2c7845(0x52d)},{'group':_0x2c7845(0x520),'type':u['ShapeTypeEnum'][_0x2c7845(0x2d2)],'icon':_0x2c7845(0x3c0),'name':'sheets-shape-ui.shape.type.action-button-forward-next'},{'group':_0x2c7845(0x520),'type':u['ShapeTypeEnum'][_0x2c7845(0x345)],'icon':_0x2c7845(0x362),'name':_0x2c7845(0x22a)},{'group':_0x2c7845(0x520),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x627)],'icon':'ShapeActionButtonEndIcon','name':'sheets-shape-ui.shape.type.action-button-end'},{'group':_0x2c7845(0x520),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x4f0)],'icon':_0x2c7845(0x217),'name':_0x2c7845(0x21c)},{'group':_0x2c7845(0x520),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x3db)],'icon':'ShapeActionButtonInformationIcon','name':_0x2c7845(0x5e3)},{'group':_0x2c7845(0x520),'type':u['ShapeTypeEnum'][_0x2c7845(0x591)],'icon':'ShapeActionButtonReturnIcon','name':_0x2c7845(0x2df)},{'group':_0x2c7845(0x520),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x57a)],'icon':'ShapeActionButtonMovieIcon','name':_0x2c7845(0x252)},{'group':_0x2c7845(0x520),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x4a0)],'icon':'ShapeActionButtonDocumentIcon','name':'sheets-shape-ui.shape.type.action-button-document'},{'group':_0x2c7845(0x520),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x51f)],'icon':_0x2c7845(0x4fc),'name':'sheets-shape-ui.shape.type.action-button-sound'},{'group':_0x2c7845(0x520),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x35b)],'icon':'ShapeActionButtonHelpIcon','name':_0x2c7845(0x438)},{'group':_0x2c7845(0x520),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x51b)],'icon':'ShapeActionButtonBlankIcon','name':_0x2c7845(0x5a0)},{'group':'other','type':u[_0x2c7845(0x3ce)][_0x2c7845(0x19e)],'icon':_0x2c7845(0x41d),'name':_0x2c7845(0x380)},{'group':'other','type':u[_0x2c7845(0x3ce)]['ChartStar'],'icon':'ShapeChartStarIcon','name':'sheets-shape-ui.shape.type.chart-star'},{'group':_0x2c7845(0x520),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x457)],'icon':_0x2c7845(0x21e),'name':_0x2c7845(0x254)},{'group':_0x2c7845(0x520),'type':u['ShapeTypeEnum'][_0x2c7845(0x2fb)],'icon':_0x2c7845(0x21a),'name':_0x2c7845(0x357)},{'group':_0x2c7845(0x520),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x510)],'icon':'ShapeLineInvIcon','name':_0x2c7845(0x3b6)},{'group':'other','type':u['ShapeTypeEnum'][_0x2c7845(0x462)],'icon':_0x2c7845(0x2e9),'name':'sheets-shape-ui.shape.type.plaque-tabs'},{'group':_0x2c7845(0x520),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x269)],'icon':_0x2c7845(0x5c9),'name':_0x2c7845(0x2a4)},{'group':_0x2c7845(0x520),'type':u[_0x2c7845(0x3ce)][_0x2c7845(0x36b)],'icon':'ShapeUpDownArrowCalloutIcon','name':_0x2c7845(0x184)},{'group':_0x2c7845(0x520),'type':u['ShapeTypeEnum'][_0x2c7845(0x2a3)],'icon':'ShapeNonIsoscelesTrapezoidIcon','name':_0x2c7845(0x498)}],he=_0x2c7845(0x351);function ge({onShapeClick:_0x29fa28,excludeGroups:_0x581714}){const _0x33c088=_0x2c7845;let _0xc8ab87=(0x0,l[_0x33c088(0x306)])(t['LocaleService']),_0x2dab5e=(0x0,l[_0x33c088(0x306)])(l[_0x33c088(0x30b)]),_0x44b6b4=(_0x581714?me[_0x33c088(0x279)](_0x2efaa3=>!_0x581714['includes'](_0x2efaa3['group'])):me)['reduce']((_0x3b9d02,_0x2874ad)=>(_0x3b9d02[_0x2874ad['group']]||(_0x3b9d02[_0x2874ad[_0x33c088(0x196)]]=[]),_0x3b9d02[_0x2874ad[_0x33c088(0x196)]][_0x33c088(0x33a)](_0x2874ad),_0x3b9d02),{});return(0x0,h['jsx'])('div',{'className':_0x33c088(0x352),'children':Object[_0x33c088(0x541)](_0x44b6b4)[_0x33c088(0x61f)](([_0x31d09b,_0x20d32e])=>(0x0,h['jsxs'])('div',{'className':_0x33c088(0x21d),'children':[(0x0,h[_0x33c088(0x5dc)])(_0x33c088(0x49d),{'className':_0x33c088(0x535),'children':_0xc8ab87['t'](_0x33c088(0x568)+_0x31d09b)}),(0x0,h[_0x33c088(0x5dc)])(_0x33c088(0x49d),{'className':_0x33c088(0x578),'children':_0x20d32e[_0x33c088(0x61f)](_0x32e20c=>{const _0x33bff7=_0x33c088;let _0x5ec45d=_0x2dab5e[_0x33bff7(0x1a8)](_0x32e20c[_0x33bff7(0x25a)]);return(0x0,h[_0x33bff7(0x5dc)])(_0x33bff7(0x49d),{'title':_0xc8ab87['t'](_0x32e20c[_0x33bff7(0x61b)]),'onClick':()=>_0x29fa28(_0x32e20c),'className':_0x33bff7(0x5db),'children':_0x5ec45d&&(0x0,h['jsx'])(_0x5ec45d,{'className':_0x33bff7(0x3aa)})},_0x32e20c[_0x33bff7(0x61b)]);})})]},_0x31d09b))});}function _e(){const _0x1a26dd=_0x2c7845;let _0x1dd065=(0x0,l[_0x1a26dd(0x306)])(t['LocaleService']),_0x60902=(0x0,l[_0x1a26dd(0x306)])(a['IDrawingManagerService']),_0x283935=(0x0,l[_0x1a26dd(0x306)])(H),[_0x373d0c,_0x3da374]=(0x0,m[_0x1a26dd(0x559)])(!0x1);return(0x0,h[_0x1a26dd(0x5dc)])(p[_0x1a26dd(0x3f7)],{'side':'left','open':_0x373d0c,'onOpenChange':_0x3da374,'overlay':(0x0,h[_0x1a26dd(0x5dc)])(ge,{'onShapeClick':_0x31614a=>{const _0x398868=_0x1a26dd;let _0x54ddef=_0x60902[_0x398868(0x5ed)]()[_0x398868(0x5af)](_0x57e4dd=>_0x57e4dd[_0x398868(0x477)]===t[_0x398868(0x5c1)][_0x398868(0x581)]);if(!_0x54ddef)return;let {unitId:_0x78b823,subUnitId:_0xd7d63b,drawingId:_0x4531c8}=_0x54ddef;_0x283935[_0x398868(0x324)](_0x78b823,_0xd7d63b,_0x4531c8,_0x31614a[_0x398868(0x26b)]),_0x3da374(!0x1);},'excludeGroups':['line']}),'children':(0x0,h[_0x1a26dd(0x5dc)])(p[_0x1a26dd(0x5d8)],{'children':_0x1dd065['t'](_0x1a26dd(0x354))})});}function ve(){const _0x323283=_0x2c7845;let _0x208a4e=(0x0,l[_0x323283(0x306)])(t['ICommandService']);return(0x0,h['jsx'])(ge,{'onShapeClick':_0x472dd1=>{const _0x5d169c=_0x323283;_0x208a4e['executeCommand'](V['id'],{'value':_0x472dd1['type'],'enhanceParams':{'endArrow':_0x472dd1[_0x5d169c(0x242)],'startArrow':_0x472dd1[_0x5d169c(0x3ea)],'horizontal':_0x472dd1['horizontal'],'vertical':_0x472dd1['vertical']}});}});}function ye(_0x41493c){const _0x2a147c=_0x2c7845;let _0x60ffd9=_0x41493c[_0x2a147c(0x1a8)](t[_0x2a147c(0x2ff)]);return{'id':V['id'],'type':l[_0x2a147c(0x2be)][_0x2a147c(0x4a7)],'selections':[{'label':{'name':he,'hoverable':!0x1,'selectable':!0x1,'props':{'id':V['id']}}}],'icon':_0x2a147c(0x180),'tooltip':'sheets-shape-ui.insertShape','activated$':(0x0,c[_0x2a147c(0x528)])(_0x60ffd9,!0x1,()=>new i['Observable'](_0x2ea514=>{const _0x5d5793=_0x2a147c;_0x2ea514[_0x5d5793(0x5a6)](!0x1);})),'hidden$':(0x0,l[_0x2a147c(0x1c7)])(_0x41493c,t[_0x2a147c(0x2b6)][_0x2a147c(0x1ce)]),'disabled$':(0x0,c[_0x2a147c(0x256)])(_0x41493c)};}function _0x1479(){const _0x4289cf=['_initPermission','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','ShapeUturnArrowIcon','Teardrop','ShapeCircularArrowIcon','sheets-shape-ui.shape.type.bevel','setContextValue','drawingId','ShapeLeftCircularArrowIcon','ShapeCurvedConnector3Arrow1Icon','sheets-shape-ui.permission.editErr','DependentOn','StraightConnector1','entries','visible','ShapeSmileyFaceIcon','12015234aFkOBv','sheets-shape-ui.shape.type.notched-right-arrow','registerFeatureMenuOffset','_clearShapeAdjustControls','ShapeFlowChartDecisionIcon','Circle','CommandType','getMatrix','_updateImageAdjValues','ShapeRectIcon','sheets-shape-ui.shape.type.flow-chart-delay','setAdjustValueByName','PieWedge','NotchedRightArrow','VerticalScroll','setShapeData','EMPTY','refreshTransform','FlowchartSort','ShapePlusIcon','_drawingRenderService','useState','src','sheets-shape-ui.shape.type.flow-chart-alternate-process','ShapeFunnelIcon','sheets-shape-ui.shape.type.no-smoking','ShapeChevronIcon','useMemo','_updateSrcRectByTransform','ShapeGear9Icon','add$','CornerTabs','clone','sheets-shape-ui.shape.type.round-rect','isRenderLinePointsMode','IImageIoService','sheets-shape-ui.shape.group.','VIEW_MAIN_TOP','_getImageDrawingInfo','setPrstGeomAdjValues','getImageSourceCache','error','ShapePieWedgeIcon','_draw','FlowchartMerge','sheets-shape-ui.shape.type.sun','SheetSkeletonService','updateConnectionDetection','sheet.shape.text.float-menu','getSheetBySheetId','_clearPopups','onCommandExecuted','univer-grid\x20univer-grid-cols-10\x20univer-gap-1','targetShapeId','ActionButtonMovie','ShapeDonutIcon','drawing.operation.set-drawing-active','_renderManagerService','ShapeEllipseIcon','getShapeTextRect','line','DRAWING_IMAGE','has','_univerInstanceService','sheets-shape-ui.shape.type.flow-chart-magnetic-disk','_activeShapeModel','UturnArrow','clip','Moon','ShapeFillEnum','ShapeFlowChartCollateIcon','Vector2','sheets-shape-ui.shape.type.left-arrow','sheets-shape-ui.shape.type.half-frame','_executeConnectionCommand','ShapeNotchedRightArrowIcon','10ONIBQR','ActionButtonReturn','4cjgoTu','pick','close','getBasicShapeRotateBound','sheet.command.set-shape-text-font-size-decrease','ShapeLeftRightArrowIcon','VerticalAlign','SolidFill','UniverSheetsShapeUIPlugin','getZoomRatio','ang','fill','DownArrowCallout','RightArrowCallout','sheets-shape-ui.shape.type.action-button-blank','SHEET_SHAPE_UI_PLUGIN','ancestorTransform','FlowchartExtract','sheets-shape-ui.shape.type.gear6','_moveConnectorWithShape','next','some','setConfig','register','ShapeParallelogramIcon','useEffect','ShapeStar6Icon','switchMap','from','find','UpArrow','changeStart$','activeSheet$','_getOrCreateShapeModel','ShapeUpDownArrowIcon','fillType','ShapeFlowChartPreparationIcon','_initializedShapePopupMenu','getContextValue','MathEqual','sheets-shape-ui.shape.type.lightning-bolt','sheets-shape-ui.shape.type.snip2-same-rect','getTransformerByCreate','version','string','getAdjustValueByName','normal','DrawingTypeEnum','_activeAdjustInfo','BehaviorSubject','shapeKey','RightBrace','sheets-shape-ui.shape.type.octagon','_clipService','calcAdjValue','ShapeSquareTabsIcon','FlowchartDocument','getAdjustInfoByName','indexOf','Injector','localToWorld','CurvedLeftArrow','sheetViewStartRow','_registerFocusChangeHandler','_focusedDrawings','sheets-shape-ui.shape.type.irregular-seal1','_getDrawingRect','sheets-shape-ui.shape.type.up-arrow','isInGroup','#111827','Button','Donut','FlowchartDisplay','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','jsx','ShapeHomePlateIcon','_subUnitId','isHorizontal','abs','_attachConnectorObjectEvent','sheets-shape-ui.shape.type.swoosh-arrow','sheets-shape-ui.shape.type.action-button-information','_commandService','sheets-shape-ui.shape.type.straight-connector1','LEFT','RightBracket','_activeAdjustPointList','sheets-shape-ui.shape.type.teardrop','_shapeId','deepClone','ShapeMathMinusIcon','getFocusDrawings','blockArrow','worldPoints','ShapeTeardropIcon','_sheetClipboardService','Image','_initEvents','ShapeLeftArrowCalloutIcon','copyType','sheets-shape-ui.shape.type.snip2-diag-rect','ShapeFlowChartConnectorIcon','LeftArrowCallout','Star8','sheets-shape-ui.shape.type.curved-left-arrow','ShapeDoubleWaveIcon','_onSavingEditorData$','Hexagon','setEditing','sheets-shape-ui.toggleFlipH','drawWith','ShapeBorderCallout3Icon','ActionButtonBackPrevious','ShapeBentConnector3Icon','getDrawingShapeKeyByDrawingSearch','end','strokeWidth','ShapeCornerIcon','getConnectionInfo','sheets-shape-ui.shape.type.callout2','ShapeEllipseRibbon2Icon','sheets-shape-ui.shape.type.math-plus','ShapeFrameIcon','RightTriangle','onRendered','sheets-shape-ui.shape.type.wedge-round-rect-callout','_hasReset','_registerGroupFeaturePasteHook','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','LeftUpArrow','ShapeIrregularSeal1Icon','sheets-shape-ui.shape.type.flow-chart-terminator','cxnIndex','FlowchartDecision','sheets-shape-ui.toggleTextVertical','_findShapeAtPoint','sheets-shape-ui.shape.type.right-arrow','name','sheets-shape-ui.align.top','sheets-shape-ui.shape.type.left-right-circular-arrow','width','map','viewportScrollY','_updateShapeAdjustControls','ShapeRound2SameRectIcon','getAdjustNames','_addShapeConnectorHandlerObject','top-center','getState','ActionButtonEnd','startY','startConnectionDetection','_shapeEditPanelVersion','ShapeBevelIcon','_popupMenuListener','onPointerUp$','IRenderManagerService','_addShapeAdjustControl','_loadAndSetImage','ThemeService','documentStyle','ShapeIcon','UpdateSheetsShapeDataMutation','shapeId','_rerouteConnectorLine','sheets-shape-ui.shape.type.up-down-arrow-callout','QuadArrowCallout','_findNearestConnectionSite','LeftRightArrowCallout','sheets-shape-ui.shape.type.border-callout2','_props','_showConnectionSites','ShapeStar16Icon','_imageIoService','ImageSourceTypeEnum','renderDrawingShape','ShapeBentConnector3Arrow2Icon','initShapePopupMenu','FlowchartMagneticTape','@univerjs-pro/sheets-shape-ui','AccentCallout2','offsetY','_isStartAdjusting','group','CloudCallout','ShapeArrowSizeEnum','_cxnIndex','ShapeLeftRightArrowCalloutIcon','getEndConnectInfo','_drawingAddListener','UpdateConnectorRelationCommand','ChartPlus','ShapeFlowChartMagneticDrumIcon','FlowchartPredefinedProcess','setOnSavingEditorData','_sheetDrawingShapeRenderController','ShapeFlowChartDisplayIcon','resize','activeAnObject','_shapes','Ellipse','get','FromArray','sheets-shape-ui.shape.type.chord','ShapeCornerTabsIcon','ShapeLeftBraceIcon','featurePluginUpdateNotification','_initEditingParams','sheets-shape-ui.shape.type.chevron','ShapeTextFloatToolbar','ShapeRound2DiagRectIcon','sheets-shape-ui.shape.type.curved-connector3','_closeShapeEditPanel','FALSE','_sheetPermissionCheckController','ShapeHeptagonIcon','TRUE','Frame','sheets-shape-ui.shape.type.bent-arrow','getViewportByCell','ShapeStar7Icon','getConnectionSiteList','ShapeUpDownArrowCalloutIcon','GROUP','RIGHT','registerClipDelegate','UniverSheetsShapePlugin','localeService','top','setHighlighted','BracketPair','Callout3','getMenuHiddenObservable','SheetScrollManagerService','setCursor','image','verticalAlign','sheet.command.set-shape-text-font-size-increase','_cxtHandlerPointerUp','UNIVER_SHEET','sheets-shape-ui.shape.type.flow-chart-preparation','permissionCheckWithoutRange','setSrcRect','ShapeChartStarIcon','MathMinus','FlowchartDelay','ShapeFlowChartMagneticTapeIcon','sheets-shape-ui.shape.type.arc','Dodecagon','ShapeHeartIcon','Module','ShapeDocAlignCommand','sheets-shape-ui.shape.type.frame','ShapeQuadArrowIcon','worldRect','EllipseRibbon2','ShapeCanIcon','pushUndoRedo','ShapeRightBraceIcon','IDrawingManagerService','starAndBanner','clearAdjustValue','ShapePentagonIcon','SetShapeTextFontSizeCommand','ShapeSwooshArrowIcon','Bevel','_activeShapeInfo','sheets-shape-ui.align.center','IFontService','subUnitId','label','ShapeLeftArrowIcon','ShapeNonIsoscelesTrapezoidIcon','UpdateShapeDataCommand','isConnectorShape','values','ShapeArrowTypeEnum','_context','sheets-shape-ui.shape.type.parallelogram','transformToDrawingPosition','_sheetInterceptorService','getConnectionRelation','subscribeContextValue$','ShapeCurvedConnector3Icon','sheets-shape-ui.shape.type.triangle','_targetShapeId','CopySheetCommand','toDisposable','CROSSHAIR','RemoveSheetsShapeMutation','VIEW_MAIN_LEFT','isRender','addObject','extraProps','sheets-shape-ui.shape.type.heptagon','LeftCircularArrow','#FFFFFF','pipe','sheets-shape-ui.shape.type.diamond','ShapeCloudCalloutIcon','_registerShapeMenu','_registerMoveHandler','onerror','sheets-shape-ui.shape.type.block-arc','sheets-shape-ui.shape.type.flow-chart-punched-tape','sheets-shape-ui.align.left','AccentCallout1','ShapeStar8Icon','sheets-shape-ui.shape.type.bent-connector3','sheets-shape-ui.shape.type.donut','getRenderById','ShapeGear6Icon','ShapeActionButtonHomeIcon','ShapeBracketPairIcon','prototype','ShapeFlowChartOfflineStorageIcon','changeEnd$','sheets-shape-ui.shape.type.action-button-home','univer-mb-2','ShapeChartXIcon','clip-','sheets-shape-ui.shape.type.flow-chart-manual-operation','Star6','TOP','cxnPointFill','sheets-shape-ui.shape.type.flow-chart-offpage-connector','sheets-shape-ui.toolbar.resetColor','Star32','Rect','ShapeHalfFrameIcon','updateContext','sheets-shape-ui.shape.type.action-button-beginning','spaceAbove','highlighted','ShapeOctagonIcon','ShapePlaqueIcon','sheets-shape-ui.hidePanel','SHAPE','_executeConnectedRouteConnectionCommand','getShapeTextData','_getImagePrstGeom','EllipseRibbon','setCanUseShapeClip','updateShapeFillImage','sheets-shape-ui.shape.type.home-plate','ShapeCurvedDownArrowIcon','_currentConnectionTarget','ShapeDecagonIcon','_getShapeInfo','Wave','_adjName','floor','editingParams$','CurvedRightArrow','syncExecuteCommand','endArrow','ShapeLeftRightUpArrowIcon','create','getImage','sheets-shape-ui.shape.type.flow-chart-or','transform','Sun','sheets-shape-ui.shape.type.quad-arrow-callout','ShapeAccentCallout3Icon','UpArrowCallout','_getScrollInfo','getObject','UNIVER_DOC','ShapeFlowChartMultidocumentIcon','_injector','Chevron','sheets-shape-ui.shape.type.action-button-movie','sheets-shape-ui.shape.type.border-callout3','sheets-shape-ui.shape.type.chart-x','sheets-shape-ui.shape.type.flow-chart-process','getCurrentRangeDisable$','sheets-shape-ui.shape.type.ribbon','Gear9','startWith','icon','updateLinePoints','Cube','onReady','FlowchartInternalStorage','getCurrentLastSelection','unitId','ShapeBentUpArrowIcon','isCurvedConnectorShape','FlowchartAlternateProcess','DownArrow','left','isEditing','AlignBottomIcon','getCurrentScrollState','SquareTabs','FlowchartMultiDocument','type','_activeImageId','_createControls','sheets-shape-ui.shape.type.wedge-ellipse-callout','beforeCommandExecuted','ShapeFlowChartOffpageConnectorIcon','stopPropagation','ShapeDownArrowIcon','buildClipPath','worldPoint','cos','sheets-shape-ui.shape.type.round2-same-rect','ShapeVerticalScrollIcon','_localeService','filter','IContextService','SetInlineFormatTextBackgroundColorCommand','addClipboardHook','_registerDrawingFocusChangeHandler','ShapeCallout3Icon','sheets-shape-ui.shape.type.star4','sheets-shape-ui.shape.type.double-wave','_handleConnectedEndpointMove','DocSelectionRenderService','height','sheets-shape-ui.shape.type.heart','ShapeUpArrowCalloutIcon','ShapeActionButtonDocumentIcon','sheets-shape-ui.rotateRight90','FlowchartOnlineStorage','Shape','sheets-shape-ui.shape.type.dodecagon','sheets-shape-ui','AccentBorderCallout3','sheets-shape-ui.shape.type.right-brace','ShapeActionButtonHelpIcon','SwooshArrow','Inject','URL','_transformCalculateSrcRect','_baseShapeHeight','_activeShapeId','_baseShapeLeft','_isConnecting','oKey','Decagon','scale','QuadArrow','changing$','basicShape','ShapeDiamondIcon','dataModel','paragraphStyle','_baseTop','sheets-shape-ui.shape.type.left-up-arrow','_clearShapeConnectorHandlerObjects','NonIsoscelesTrapezoid','sheets-shape-ui.shape.type.square-tabs','1150768IPuAWj','horizontal','GridType','sheets-shape-ui.shape.type.corner-tabs','createInternalEditorID','SetSheetsShapeRotateCommand','UniverSheetsDrawingUIPlugin','HorizontallyIcon','focus$','equationShape','cxnPointStrokeWidth','RibbonInsertGroup','sheets-shape-ui.shape.type.star6','sheets-shape-ui.shape.type.left-bracket','_createShapeAdjustControls','getDrawingOrder','COPY_TYPE','UniverInstanceType','_baseLeft','ISidebarService','RibbonPosition','ResetInlineFormatTextBackgroundColorCommand','_createShapePopupMenu','sheets-shape-ui.shape.type.accent-border-callout1','DrawingCommonPanel','MenuItemType','isLineShape','Transform','ShapeQuadArrowCalloutIcon','OPERATION','sheets-shape-ui.shape.type.accent-border-callout2','getEditing','ISheetDrawingService','sheets-shape-ui.shape.type.wave','Snip2DiagRect','focusDrawing','sheets-shape-ui.shape.type.folder-corner','connection-site-','None','sheets-shape-ui.shape.type.star10','sheet.command.menu-insert-shape','_commandExecutedListener','_setTransForm','gdRefY','FlowchartCollate','ActionButtonForwardNext','_registerImageShapeClipDelegate','max','Ribbon2','getShapeDataById','ShapeRenderModeEnum','sheets-shape-ui.shape.type.round2-diag-rect','disposeWithMe','toStringTag','ShapeAccentCallout1Icon','index','_sheetDrawingService','pluginName','sheets-shape-ui.shape.type.action-button-return','subscribe','DRAWING_SHAPE','ShapeRectTextboxVerticalIcon','ShapeCallout1Icon','lineSpacing','getShapeModel','_cxtHandlerPointerMove','getRealBound','object','ShapePlaqueTabsIcon','touchDependencies','sheets-shape-ui.shape.type.gear9','multiply','sheets-shape-ui.shape.type.border-callout1','SheetsShapeService','SheetPermissionCheckController','remove$','getBatchAddOp','VIEW_MAIN','Pentagon','beginPath','jsxs','_shapeService','FlowchartConnector','10gNLFTx','_updateAdjustControlPositions','DiagStripe','FlowChartOfflineStorage','ShapePieIcon','Gear6','BooleanNumber','IUniverInstanceService','default','1.0.0-alpha.1','_isDrawingShapePointDown','sheets-shape-ui.shape.type.curved-up-arrow','_currentUniverService','Star10','useDependency','setPrstGeom','transformForAngle','Snip2SameRect','ShapeTextEditorContainer','IconManager','getAllUnitsForType','save','ShapeMoonIcon','getObjectIncludeInGroup','getDrawingByParam','gdRefAng','Parallelogram','ShapeChordIcon','ShapeLightningBoltIcon','_addShapeConnectorHandlerObjects','isHitLine','BOTTOM','ShapeStar12Icon','sheets-shape-ui.toolbar.verticalAlignMode.main','Round2DiagRect','ShapeNoSmokingIcon','_baseHeight','ShapeStripedRightArrowIcon','adjName','FlowchartMagneticDisk','Documents','cxnPointRadius','startX','FOCUSING_SHAPE_TEXT_EDITOR','clipByShape','SheetSkeletonManagerService','_highlightedSiteIndex','_baseShapeWidth','Round2SameRect','ShapeFlowChartManualOperationIcon','getShapeData','_getZoomRatio','renderConfig','ShapeCurvedRightArrowIcon','getCurrentUnitInfo','point','sheets-shape-ui.shape.type.curved-connector3-arrow1','_groupCopyPasteController','bind','getTransformer','RibbonStartGroup','_openShapeEditPanel','VERTICAL_ROTATE_ANGLE','22335CfbNsN','gdRefR','_activeTargetShapeId','push','SheetCanvasPopManagerService','ShapeBentConnector3Arrow1Icon','_drawShapeText','vertical','LeftRightCircularArrow','_urlImageService','parse','memo','computeConnectorResizeLayout','gdRefX','ActionButtonBeginning','_initSheetChange','sheets-shape-ui.shape.type.pie-wedge','rect','sheets-shape-ui.shape.type.circular-arrow','setShouldShowAdjust','redo','sheets-shape-ui.shape.type.flow-chart-extract','getInverseCoord','add','Star24','ConnectorCoordinateTransform','sheet.shape.picker.component','univer-max-h-[75vh]\x20univer-w-[320px]\x20univer-pb-2','ShapeBorderCallout1Icon','sheets-shape-ui.imagePanel.crop.shape','DocumentViewModel','attachPopupToObject','sheets-shape-ui.shape.type.flow-chart-offline-storage','24qfAzdV','viewBound','FlowchartPreparation','ActionButtonHelp','ShapeUpArrowIcon','dispose','sheets-shape-ui.shape.type.flow-chart-online-storage','ShapeFlowChartPunchedCardIcon','_initCopyPaste','enableObjectsEvent','ShapeActionButtonBeginningIcon','getBatchRemoveOp','sheets-shape-ui.shape.type.right-arrow-callout','ShapeWedgeEllipseCalloutIcon','InsertShapeCommand','_menuManagerService','_sheetsShapeService','lineShapeId','sheets-shape-ui.align.middle','UpDownArrowCallout','_handleFreeEndpointPointerUp','getCurrentSkeleton','sheets-shape-ui.shape.type.flow-chart-summing-junction','MathMultiply','getSkeletonParam','LeftJustifyingIcon','isHighlighted','changeShapeType','_componentManager','InsertSheetsShapeMutation','params','LeftRightUpArrow','getBasicShapeRelation','spaceBelow','_loadShapePictureFill','BorderCallout1','sheets-shape-ui.shape.type.wedge-rect-callout','set','scene','sheets-shape-ui.shape.type.flow-chart-collate','sheets-shape-ui.shape.type.chart-plus','getConnectorLinePoints','ShapeRoundRectIcon','ShapeLeftRightRibbonIcon','_clearControls','ShapeFlowChartPredefinedProcessIcon','registerRenderModule','MathDivide','dataStream','VIEW_MAIN_LEFT_TOP','ShapeCurvedLeftArrowIcon','RemoveSheetCommand','ShapeFlowChartOnlineStorageIcon','sheets-shape-ui.shape.type.bracket-pair','_executeConnectedRouteResizeCommand','ShapeRtTriangleIcon','ShapeRightBracketIcon','insertGroupObject','sheets-shape-ui.shape.type.star32','setShapeProps','prstGeomAdjValues','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','shapeText','COMMAND','rotation','SnipRoundRect','isArray','_baseWidth','fillImageSourceType','_getShapeAdjustInfosById','keys','ShapeRightArrowCalloutIcon','adjHandleFill','size','horizontalAlign','ShapeRectTextboxHorizontalIcon','_handleBasicShapeUpdateConnectorLineShape','WedgeRoundRectCallout','HorizontalAlign','DEFAULT','ShapeCurvedConnector3Arrow2Icon','executeCommand','univer-size-full','FORMAT','ShapeSnip2SameRectIcon','FlowchartOr','DRAWING_DOM','ShapeAccentCallout2Icon','gridType','onPointerMove$','SmileyFace','shape-text-','MIDDLE','ShapeStar5Icon','sheets-shape-ui.shape.type.line-inv','ShapeMathMultiplyIcon','getStartConnectInfo','ShapeFlowChartMagneticDiskIcon','512280VeLpqZ','_isOpenedShapeEditPanel','rectangle','DocumentSkeleton','LeftBrace','adjustValues','ShapeActionButtonForwardNextIcon','getSkeleton','paragraphs','sheets-shape-ui.shape.type.up-arrow-callout','sheets-shape-ui.shape.type.rect-textbox-vertical','ShapeBentArrowIcon','FlowchartTerminator','_isImagePointerDown','_attachAdjustEvent','stroke','flowchart','stringify','sheets-shape-ui.shape.type.star16','_connectionSiteObjects','ShapeTypeEnum','_adjHandlerPointerUp','FlowchartPunchedCard','REMOVE','_sheetSkeletonService','start','CurvedConnector3','_sheetBasicShapeConnectionPointController','getBatchUpdateOp','unsubscribe','symbol','update$','computeConnectorRouteLayout','ActionButtonInformation','_lastEditingShapeKey','buildShapeTextDataUpdate','onSteady','decorate','sheets-shape-ui.shape.type.vertical-scroll','_unitId','AccentCallout3','sheetTransform','sheets-shape-ui.shape.type.up-down-arrow','SHAPE_TEXT','PREDEFINED_HOOK_NAME','sheets-shape-ui.shape.type.quad-arrow','ShapeStraightConnector1Icon','isStartConnectorPoint','startArrow','ShapeBorderCallout2Icon','SheetsShapeUIController','ShapeFlowChartProcessIcon','BentConnector3','_index','invert','sheets-shape-ui.shape.type.trapezoid','SetShapeTextHorizontalAlignCommand','sheets-shape-ui.shape.type.left-right-arrow-callout','sheet.command.set-shape-text-font-size','ShapeFlowChartExtractIcon','Triangle','Dropdown','ShapeWedgeRectCalloutIcon','forEach','classType','getCurrentTypeOfUnit$','PictureFill','SolidLine','SHEET_VIEWPORT_KEY','Path','objects','_adjHandlerPointerMove','ShapeRibbonIcon','ShapeBracePairIcon','_registerIcons','sheets-shape-ui.shape.type.star5','FlowchartManualInput','Star12','_generateCopyPasteMutations','_drawingManagerService','ShapeDodecagonIcon','Snip1Rect','defineProperty','_shapeTextEditingService','getDrawingVisible','_drawSimpleText','DRAWING_OBJECT_LAYER_INDEX','sheets-shape-ui.shape.type.ellipse-ribbon','shapeModel','BorderCallout2','sheets-shape-ui.shape.type.flow-chart-internal-storage','sheets-shape-ui.shape.type.can','callout','ShapeTriangleIcon','sheets-shape-ui.shape.type.pentagon','Star4','ShapeCubeIcon','CurvedUpArrow','_sheetShapeAdjustController','ShapeChartPlusIcon','ShapeLeftBracketIcon','data','_baseDrawingRect','_insertShapes','ShapeFlowChartManualInputIcon','ShapeFlowChartInputOutputIcon','_imageShapeClipController','sheets-shape-ui.shape.type.math-multiply','ShapeFloatingToolbar','adjHandleStroke','SetShapeTextFontSizeIncreaseCommand','sheets-shape-ui.shape.type.round1-rect','sheets-shape-ui.shape.type.star12','WedgeEllipseCallout','ShapeAccentBorderCallout2Icon','fillImageSource','Ribbon','sheetViewStartColumn','MathNotEqual','skeleton','sheets-shape-ui.shape.type.rect-textbox-horizontal','_sidebarDisposable','MEDIA','WorkbookEditablePermission','Heart','ShapeWedgeRoundRectCalloutIcon','sheets-shape-ui.shape.type.action-button-help','ShapeEditPanel','SetShapeDrawingDataCommand','getShapeTypeById','sheets-shape-ui.shape.type.snip-round-rect','_initialize','ShapeFlowChartSummingJunctionIcon','_initCommands','ShapeLineInvIcon','ShapeActionButtonBackPreviousIcon','Octagon','_configService','mergeMenu','shape-adjust-point-','with','_clearConnectionSites','ShapeDefaultConfig','_transform','IUndoRedoService','_sheetCanvasPopManagerService','ShapeArcIcon','ShapeSnip1RectIcon','LeftRightRibbon','cxnPointStroke','ShapeHexagonIcon','getUnitId','LocaleService','length','WrapStrategy','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','textRuns','ChartX','_iconManager','_registerOperations','_currentScene','_reset','_createCopyInfoByRange','FlowChartInputOutput','_getShapeAdjustPointListById','_getConnectPointInfo','ToggleSheetsShapeFlipCommand','ShapeDownArrowCalloutIcon','PlaqueTabs','Trapezoid','disableObjectsEvent','applyPoint','_registerComponents','shapeType','Diamond','SheetsDrawingGroupCopyPasteController','routeConnectorLineShape','sheets-shape-ui.shape.type.corner','viewportScrollX','onTransformChange$','sheets-shape-ui.shape.type.plaque','_sidebarService','COLOR_PICKER_COMPONENT','ShapeFlowChartMergeIcon','_baseShapeTop','BlockArc','ShapeLineIcon','getParent','5535590TkSFXL','drawingType','getUnit','_copyInfo','Heptagon','RemoveSheetDrawingCommand','_resetState','Arrow','sheets-shape-ui.shape.type.horizontal-scroll','sheets-shape-ui.shape.type.ellipse-ribbon2','isRichText','sheets-shape-ui.shape.type.cloud','SetDrawingApplyMutation','3233160YznwFH','sheets-shape-ui.shape.type.moon','FlowchartProcess','sheets-shape-ui.shape.type.star8','ShapeTrapezoidIcon','Plugin','ShapeRightArrowIcon','_initMenu','sheets-shape-ui.rotateLeft90','Chord','SetSheetsShapeTextVerticalToggleCommand','SetShapeTextFontSizeDecreaseCommand','sheets-shape-ui.shape.type.math-minus','BentArrow','ShapeSnipRoundRectIcon','relation','prstGeom','BorderCallout3','getColorFromTheme','ShapeMathEqualIcon','calculate','sheets-shape-ui.shape.type.non-isosceles-trapezoid','sheets-shape-ui.shape.type.flow-chart-manual-input','shapeData','_drawRichText','offsetX','div','UpDownArrow','834732eZcKaG','ActionButtonDocument','ShapeSnip2DiagRectIcon','attachRangeWithCoord','_shapeUpdateListener','ShapeStar32Icon','transformByState','ShapeAccentBorderCallout1Icon','SELECTOR','sheets-shape-ui.shape.type.curved-down-arrow','refreshAdjustControls','_disposePopups','_isShouldShowDrawingShapeAdjust','_registerDrawingMoveHandler','ShapeHorizontalScrollIcon','START','ShapeStar10Icon','_addControl','getDrawingSearch','setFillImage','MathPlus','flipX','_handleFreeEndpointMove','sheets-shape-ui.shape.type.bent-connector3-arrow1','sheets-shape-ui.shape.type.flow-chart-magnetic-drum','sheets-shape-ui.shape.type.pie','ShapeMathPlusIcon','draw','getShapePopupMenus','function','sheets-shape-ui.toolbar.fillColor.main','isDrawingObject','onPointerDown$','getFonts','body','_editingParams$','ShapeStar24Icon','packageName','sheet.shape.floating-toolbar','ShapeMathDivideIcon','_executeResizeCommand','sheets-shape-ui.deleteShape','sheets-shape-ui.shape.type.uturn-arrow','ShapeFlowChartDocumentIcon','ShapeIrregularSeal2Icon','Observable','addImageSourceCache','_isStartConnectorPoint','angle','endConnectionDetection','UPDATE','getSheetCommandTarget','RENDER_CLASS_TYPE','sectionBreaks','srcRect','Corner','value','Disposable','Star16','_initSelection','ShapeBlockArcIcon','sheets-shape-ui.shape.type.funnel','preValue','lineType','_init','sheets-shape-ui.shape.type.decagon','CENTER','sin','_draggingConnectorId','CURSOR_TYPE','sheets-shape-ui.shape.type.math-equal','onStarting','sheets-shape-ui.shape.type.flow-chart-document','getDrawingEditable','_generatePasteMutations','clip-adj-','generateRandomId','ShapeCallout2Icon','ICommandService','render','ShapeMathNotEqualIcon','ActionButtonHome','subscribeEvent','_handleConnectedEndpointPointerUp','getDrawingData','ShapeStar4Icon','makeDirty','ShapeLeftRightCircularArrowIcon','CurvedDownArrow','flipY','_getSceneAndTransformerByDrawingSearch','ShapeRound1RectIcon','_contextService','ShapeActionButtonSoundIcon','sheet.command.set-shape-text-horizontal-align','sheets-shape-ui.shape.type.star24','sheets-shape-ui.align.bottom','translate','_updateTransform','_activeShapeAdjustPointList','removeLinePoints','onload','LightningBolt','restore','ShapeLeftUpArrowIcon','sheets-shape-ui.shape.type.curved-right-arrow','clearAdjustControls','ShapeFolderCornerIcon','_isHighlighted','getSelectedObjectMap','FlowchartOffPageConnector','DrawingApplyType','getDrawingPoints','LineInv','FOCUSING_COMMON_DRAWINGS','sheets-shape-ui.shape.type.rt-triangle','FoldedCorner','sheet.operation.open-sheet-shape-format-panel','ShapeFlowChartDelayIcon','SetShapeTextVerticalAlignCommand','sheets-shape-ui.shape.type.cube','sheets-shape-ui.shape.type.brace-pair','ShapeFlowChartSortIcon','sheets-shape-ui.shape.type.math-divide','ActionButtonBlank','RoundRect','_connectorObjects','sheets-shape-ui.shape.type.smiley-face','ActionButtonSound','other','sheet.operation.close-sheet-shape-format-panel','getShapeType','sheets-shape-ui.shape.type.bent-up-arrow','SheetDrawingAnchor','LAYOUT','adjHandleSize','registerCommand','deriveStateFromActiveSheet$','_generateCutPasteMutations','sheets-shape-ui.shape.type.callout1','sheets-shape-ui.shape.type.snip1-rect','asObservable','sheets-shape-ui.shape.type.action-button-back-previous','#1a73e8','call','ComponentManager','isHit','INSERT','ShapeFlowChartInternalStorageIcon'];_0x1479=function(){return _0x4289cf;};return _0x1479();}const be={[l[_0x2c7845(0x2b9)][_0x2c7845(0x4ae)]]:{[l[_0x2c7845(0x334)][_0x2c7845(0x525)]]:{[A['id']]:{'order':3.5,'menuItemFactory':pe},[E['id']]:{'order':3.4,'menuItemFactory':de}},[l[_0x2c7845(0x334)][_0x2c7845(0x3ab)]]:{[s[_0x2c7845(0x27b)]['id']]:{'order':0x1,'menuItemFactory':ce,[s[_0x2c7845(0x2ba)]['id']]:{'order':0x0,'menuItemFactory':le}}}},[l[_0x2c7845(0x2b0)][_0x2c7845(0x434)]]:{[V['id']]:{'order':0x4,'menuItemFactory':ye}}};let U=class extends t[_0x2c7845(0x4d8)]{constructor(_0x4c495b,_0x5f5997,_0x5a6595,_0x18374f,_0x176130,_0x7d1937,_0x27efc1,_0x5ccf41,_0x275ba3,_0x194da9,_0x3c6351){const _0x2b09f8=_0x2c7845;super(),this['_univerInstanceService']=_0x4c495b,this[_0x2b09f8(0x46f)]=_0x5f5997,this[_0x2b09f8(0x367)]=_0x5a6595,this[_0x2b09f8(0x368)]=_0x18374f,this[_0x2b09f8(0x278)]=_0x176130,this[_0x2b09f8(0x5e4)]=_0x7d1937,this[_0x2b09f8(0x409)]=_0x27efc1,this['_sheetCanvasPopManagerService']=_0x5ccf41,this[_0x2b09f8(0x4fb)]=_0x275ba3,this[_0x2b09f8(0x57d)]=_0x194da9,this[_0x2b09f8(0x40d)]=_0x3c6351,S(this,'_sidebarDisposable',null),S(this,_0x2b09f8(0x1e9),null),S(this,_0x2b09f8(0x3bb),!0x1),S(this,_0x2b09f8(0x62a),0x0),S(this,_0x2b09f8(0x5b7),new Set()),S(this,_0x2b09f8(0x4aa),[]),this[_0x2b09f8(0x48a)](),this[_0x2b09f8(0x2d9)](this[_0x2b09f8(0x583)]['getCurrentTypeOfUnit$'](t[_0x2b09f8(0x2b6)][_0x2b09f8(0x1ce)])[_0x2b09f8(0x2e0)](_0x592ca5=>{const _0x14b070=_0x2b09f8;if(!_0x592ca5){var _0x3763bb;(_0x3763bb=this[_0x14b070(0x433)])==null||_0x3763bb[_0x14b070(0x35d)]();return;}this[_0x14b070(0x2bb)](_0x592ca5);})),this['_registerOperations'](),this['_registerShapeMenu'](),this['initShapePopupMenu'](),this[_0x2b09f8(0x2d9)](this[_0x2b09f8(0x40d)][_0x2b09f8(0x23f)][_0x2b09f8(0x2e0)](_0xc3f220=>{_0xc3f220&&this['_clearPopups']();}));}['_initMenu'](){const _0x4f3387=_0x2c7845;this['_menuManagerService'][_0x4f3387(0x444)](be);}[_0x2c7845(0x20b)](){const _0x502665=_0x2c7845;this[_0x502665(0x44b)]['registerFeatureMenu'](t[_0x502665(0x5c1)]['DRAWING_SHAPE'],this[_0x502665(0x4bb)][_0x502665(0x332)](this)),this[_0x502665(0x44b)][_0x502665(0x546)](t[_0x502665(0x5c1)][_0x502665(0x2e1)],0x6,0x4);}['initShapePopupMenu'](){const _0x4d8cb0=_0x2c7845;this['_univerInstanceService'][_0x4d8cb0(0x30c)](t[_0x4d8cb0(0x2b6)][_0x4d8cb0(0x1ce)])[_0x4d8cb0(0x3f9)](_0x5c2e1a=>this[_0x4d8cb0(0x2bb)](_0x5c2e1a));}['getShapePopupMenus'](_0x183572,_0x42d631,_0x5eee01,_0x55ed33){const _0x216d6a=_0x2c7845;return[{'label':'sheets-shape-ui.openPanel','index':0x0,'commandId':N['id'],'commandParams':{'unitId':_0x183572,'subUnitId':_0x42d631,'drawingId':_0x5eee01},'disable':_0x55ed33===t[_0x216d6a(0x5c1)][_0x216d6a(0x3ae)]},{'label':_0x216d6a(0x4c8),'index':0x1,'commandId':r[_0x216d6a(0x47b)]['id'],'commandParams':{'unitId':_0x183572,'drawings':[{'unitId':_0x183572,'subUnitId':_0x42d631,'drawingId':_0x5eee01,'drawingType':_0x55ed33}]},'disable':!0x1},{'label':_0x216d6a(0x22f),'index':0x2,'commandId':M['id'],'commandParams':{'unitId':_0x183572,'subUnitId':_0x42d631,'drawingId':_0x5eee01},'disable':!0x1},{'label':_0x216d6a(0x5ff),'index':0x3,'commandId':e[_0x216d6a(0x460)]['id'],'commandParams':{'unitId':_0x183572,'subUnitId':_0x42d631,'shapeId':_0x5eee01,'flipH':!0x0},'disable':!0x1},{'label':'sheets-shape-ui.toggleFlipV','index':0x4,'commandId':e[_0x216d6a(0x460)]['id'],'commandParams':{'unitId':_0x183572,'subUnitId':_0x42d631,'shapeId':_0x5eee01,'flipV':!0x0},'disable':!0x1},{'label':_0x216d6a(0x287),'index':0x4,'commandId':e[_0x216d6a(0x2aa)]['id'],'commandParams':{'unitId':_0x183572,'subUnitId':_0x42d631,'shapeId':_0x5eee01,'rotate':0x5a},'disable':!0x1},{'label':_0x216d6a(0x48b),'index':0x4,'commandId':e['SetSheetsShapeRotateCommand']['id'],'commandParams':{'unitId':_0x183572,'subUnitId':_0x42d631,'shapeId':_0x5eee01,'rotate':-0x5a},'disable':!0x1},{'label':_0x216d6a(0x618),'index':0x4,'commandId':e[_0x216d6a(0x48d)]['id'],'commandParams':{'unitId':_0x183572,'subUnitId':_0x42d631,'shapeId':_0x5eee01},'disable':!0x1}];}[_0x2c7845(0x23b)](_0x40d5fc,_0x332650,_0x25295f){const _0x234dc1=_0x2c7845;let _0x207fe3=this[_0x234dc1(0x368)][_0x234dc1(0x43b)](_0x40d5fc,_0x332650,_0x25295f),_0x2deba6=this[_0x234dc1(0x368)][_0x234dc1(0x2d6)](_0x40d5fc,_0x332650,_0x25295f);return _0x207fe3!==void 0x0&&_0x2deba6!==void 0x0?{'shapeData':_0x2deba6,'shapeId':_0x25295f,'shapeType':_0x207fe3,'unitId':_0x40d5fc,'subUnitId':_0x332650,'version':this[_0x234dc1(0x62a)],'disableShapeOption':!0x1}:null;}[_0x2c7845(0x2bb)](_0x61ab3c){const _0x27e456=_0x2c7845;if(!_0x61ab3c)return;let _0x32eb27=_0x61ab3c[_0x27e456(0x451)]();this[_0x27e456(0x57d)][_0x27e456(0x582)](_0x32eb27)&&!this[_0x27e456(0x5b7)]['has'](_0x32eb27)&&(this[_0x27e456(0x179)](_0x32eb27),this['_initializedShapePopupMenu']['add'](_0x32eb27));}[_0x2c7845(0x576)](){const _0x219e50=_0x2c7845;this[_0x219e50(0x4aa)][_0x219e50(0x3f9)](_0x36a392=>_0x36a392[_0x219e50(0x35d)]()),this['_disposePopups'][_0x219e50(0x453)]=0x0;}['_popupMenuListener'](_0x26938e){const _0x19f193=_0x2c7845;var _0x80b000;let _0x4964d9=(_0x80b000=this[_0x19f193(0x57d)][_0x19f193(0x215)](_0x26938e))==null?void 0x0:_0x80b000[_0x19f193(0x37e)],_0xc6bfd=_0x4964d9==null?void 0x0:_0x4964d9[_0x19f193(0x5bc)]();!_0x4964d9||!_0xc6bfd||(this[_0x19f193(0x2d9)](_0xc6bfd['createControl$'][_0x19f193(0x2e0)](()=>{const _0x193290=_0x19f193;let _0x162109=_0xc6bfd[_0x193290(0x50c)]();if(this['_clearPopups'](),this['_isOpenedShapeEditPanel']||_0x162109[_0x193290(0x3a1)]>0x1)return;let _0x7f3ba6=_0x162109[_0x193290(0x1f2)]()[_0x193290(0x5a6)]()['value'];if(!_0x7f3ba6)return;let _0x45a5e6=this[_0x193290(0x409)]['getDrawingOKey'](_0x7f3ba6[_0x193290(0x297)]);if(!_0x45a5e6||_0x45a5e6[_0x193290(0x477)]!==t[_0x193290(0x5c1)][_0x193290(0x2e1)])return;let {unitId:_0x269946,subUnitId:_0x53fa63,drawingId:_0x5e792a,drawingType:_0x528ba1}=_0x45a5e6,_0x1cdb93=this[_0x193290(0x23b)](_0x269946,_0x53fa63,_0x5e792a);if(!_0x1cdb93)return;this[_0x193290(0x4fb)]['setContextValue'](t[_0x193290(0x511)],!0x0);let _0x57a899=this[_0x193290(0x44b)][_0x193290(0x356)](_0x7f3ba6,{'componentKey':ee,'direction':_0x193290(0x625),'offset':[0x0,0x8],'extraProps':{'unitId':_0x269946,'subUnitId':_0x53fa63,'drawingId':_0x5e792a,'drawingType':_0x528ba1,'shapeType':_0x1cdb93[_0x193290(0x467)],'shapeData':_0x1cdb93[_0x193290(0x49a)]}});this[_0x193290(0x4aa)]['push'](this[_0x193290(0x2d9)](_0x57a899)),this[_0x193290(0x409)][_0x193290(0x5ed)]()[_0x193290(0x5af)](_0x15ca35=>_0x15ca35[_0x193290(0x260)]===_0x269946&&_0x15ca35[_0x193290(0x1ec)]===_0x53fa63&&_0x15ca35[_0x193290(0x53b)]===_0x5e792a)||this['_drawingManagerService'][_0x193290(0x2c8)]([{'unitId':_0x269946,'subUnitId':_0x53fa63,'drawingId':_0x5e792a}]);})),this[_0x19f193(0x2d9)](_0xc6bfd['clearControl$'][_0x19f193(0x2e0)](()=>{const _0x2372cd=_0x19f193;this[_0x2372cd(0x576)](),this[_0x2372cd(0x4fb)][_0x2372cd(0x53a)](t[_0x2372cd(0x511)],!0x1),this[_0x2372cd(0x409)][_0x2372cd(0x2c8)](null);})),this[_0x19f193(0x2d9)](_0xc6bfd[_0x19f193(0x29b)][_0x19f193(0x2e0)](()=>{this['_clearPopups']();})),this['disposeWithMe'](_0xc6bfd[_0x19f193(0x5b1)][_0x19f193(0x2e0)](()=>{this['_clearPopups']();})));}[_0x2c7845(0x459)](){const _0x43f2f3=_0x2c7845;this[_0x43f2f3(0x2d9)](this['_commandService'][_0x43f2f3(0x577)](_0x5b2dd3=>{const _0x1ff92a=_0x43f2f3;if(_0x5b2dd3['id']===N['id']){let {unitId:_0x395d1d,subUnitId:_0x4483c2,drawingId:_0x34dd7e}=_0x5b2dd3['params'];this[_0x1ff92a(0x62a)]+=0x1,this[_0x1ff92a(0x1e9)]=this[_0x1ff92a(0x23b)](_0x395d1d,_0x4483c2,_0x34dd7e),this['_clearPopups'](),this[_0x1ff92a(0x335)]();}if(_0x5b2dd3['id']===M['id']&&(this['_activeShapeInfo']=null,this[_0x1ff92a(0x1b3)]()),_0x5b2dd3['id']===e[_0x1ff92a(0x181)]['id']){let {unitId:_0x3a3b53,subUnitId:_0x1b9e3c,shapeId:_0x2ef63c}=_0x5b2dd3['params'];if(this[_0x1ff92a(0x1e9)]&&this['_activeShapeInfo'][_0x1ff92a(0x182)]===_0x2ef63c){let _0x43a03e=this['_getShapeInfo'](_0x3a3b53,_0x1b9e3c,_0x2ef63c);_0x43a03e&&(this[_0x1ff92a(0x62a)]+=0x1,_0x43a03e['version']=this[_0x1ff92a(0x62a)],this[_0x1ff92a(0x1e9)]=_0x43a03e,this[_0x1ff92a(0x3bb)]&&this[_0x1ff92a(0x335)]());}}})),this[_0x43f2f3(0x2d9)](this['_drawingManagerService'][_0x43f2f3(0x2ad)]['subscribe'](_0x38c281=>{const _0x28c926=_0x43f2f3;if(this[_0x28c926(0x3bb)]===!0x1)return;if(_0x38c281[_0x28c926(0x453)]===0x0){this[_0x28c926(0x1e9)]=null,this[_0x28c926(0x1b3)]();return;}if(_0x38c281[_0x28c926(0x453)]===0x1&&_0x38c281[0x0][_0x28c926(0x477)]===t[_0x28c926(0x5c1)][_0x28c926(0x2e1)]&&(this[_0x28c926(0x62a)]+=0x1,this['_activeShapeInfo']=this[_0x28c926(0x23b)](_0x38c281[0x0][_0x28c926(0x260)],_0x38c281[0x0][_0x28c926(0x1ec)],_0x38c281[0x0][_0x28c926(0x53b)]),this['_activeShapeInfo'])){this[_0x28c926(0x335)]();return;}let _0x4831a9=_0x38c281[_0x28c926(0x279)](_0x3ef8e7=>_0x3ef8e7[_0x28c926(0x477)]===t['DrawingTypeEnum'][_0x28c926(0x2e1)]);if(_0x38c281[_0x28c926(0x453)]>0x1&&_0x4831a9[_0x28c926(0x453)]===_0x38c281[_0x28c926(0x453)]){if(this[_0x28c926(0x62a)]+=0x1,this[_0x28c926(0x1e9)]=this['_getShapeInfo'](_0x38c281[0x0]['unitId'],_0x38c281[0x0]['subUnitId'],_0x38c281[0x0][_0x28c926(0x53b)]),this[_0x28c926(0x1e9)]){this[_0x28c926(0x335)]();return;}}else{if(this[_0x28c926(0x62a)]+=0x1,this[_0x28c926(0x1e9)]=this[_0x28c926(0x23b)](_0x38c281[0x0]['unitId'],_0x38c281[0x0][_0x28c926(0x1ec)],_0x38c281[0x0]['drawingId']),this[_0x28c926(0x1e9)]){this['_activeShapeInfo']['disableShapeOption']=!0x0,this[_0x28c926(0x335)]();return;}}this[_0x28c926(0x1b3)]();}));}[_0x2c7845(0x335)](){const _0x1d8635=_0x2c7845;this[_0x1d8635(0x1e9)]&&(this[_0x1d8635(0x433)]=this[_0x1d8635(0x46f)]['open']({'id':P,'header':{'title':this['_localeService']['t']('sheets-shape-ui.formatShape')},'width':0x184,'children':{'label':P,...this[_0x1d8635(0x1e9)]},'onClose':()=>{const _0x1efc2d=_0x1d8635;this[_0x1efc2d(0x409)]['focusDrawing'](null),this[_0x1efc2d(0x4fb)][_0x1efc2d(0x53a)](t['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x1efc2d(0x433)]=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}[_0x2c7845(0x1b3)](){const _0x3c123f=_0x2c7845;this[_0x3c123f(0x3bb)]=!0x1,this[_0x3c123f(0x46f)][_0x3c123f(0x594)](P),this[_0x3c123f(0x433)]=null,this[_0x3c123f(0x4fb)]['setContextValue'](t[_0x3c123f(0x511)],!0x1),this[_0x3c123f(0x409)]['focusDrawing'](null);}};U=R([L(0x0,t['IUniverInstanceService']),L(0x1,(0x0,t[_0x2c7845(0x290)])(l[_0x2c7845(0x2b8)])),L(0x2,l['IMenuManagerService']),L(0x3,(0x0,t[_0x2c7845(0x290)])(e[_0x2c7845(0x2ee)])),L(0x4,(0x0,t[_0x2c7845(0x290)])(t['LocaleService'])),L(0x5,t[_0x2c7845(0x4ed)]),L(0x6,a['IDrawingManagerService']),L(0x7,(0x0,t['Inject'])(c[_0x2c7845(0x33b)])),L(0x8,t[_0x2c7845(0x27a)]),L(0x9,o['IRenderManagerService']),L(0xa,(0x0,t[_0x2c7845(0x290)])(C))],U);var xe=_0x2c7845(0x192),Se=_0x2c7845(0x301);const Ce={};let W=class extends t[_0x2c7845(0x4d8)]{constructor(_0x34c41f,_0x4fa0a3,_0xd5789,_0x28761e,_0x2c3a77,_0x47ce0e){const _0xbcee61=_0x2c7845;super(),this[_0xbcee61(0x5e4)]=_0x34c41f,this[_0xbcee61(0x57d)]=_0x4fa0a3,this['_drawingManagerService']=_0xd5789,this[_0xbcee61(0x304)]=_0x28761e,this[_0xbcee61(0x558)]=_0x2c3a77,this['_sheetDrawingShapeRenderController']=_0x47ce0e,this[_0xbcee61(0x43d)]();}[_0x2c7845(0x43d)](){const _0xa5ea48=_0x2c7845;this[_0xa5ea48(0x19c)](),this[_0xa5ea48(0x2ce)](),this[_0xa5ea48(0x4a3)]();}['_drawingAddListener'](){const _0x27bb77=_0x2c7845;this['disposeWithMe'](this[_0x27bb77(0x409)][_0x27bb77(0x562)][_0x27bb77(0x2e0)](_0x3d4616=>{const _0x422465=_0x27bb77;this[_0x422465(0x421)](_0x3d4616);}));}['_commandExecutedListener'](){const _0x28683c=_0x2c7845;this[_0x28683c(0x2d9)](this[_0x28683c(0x5e4)]['onCommandExecuted'](_0xa9b67b=>{const _0x151176=_0x28683c;if(_0xa9b67b['id']===e[_0x151176(0x375)]['id']){var _0x269d3c;let {unitId:_0x30c7a4,subUnitId:_0x1c0831,shapeId:_0x59ded1}=_0xa9b67b[_0x151176(0x376)],_0xbdb84e=this['_getSceneAndTransformerByDrawingSearch'](_0x30c7a4);if(_0xbdb84e==null)return;let {scene:_0x3643f4}=_0xbdb84e,_0x4f6142=(0x0,a[_0x151176(0x604)])({'unitId':_0x30c7a4,'subUnitId':_0x1c0831,'drawingId':_0x59ded1}),_0x42b5e6=_0x3643f4['getObjectIncludeInGroup'](_0x4f6142);if(!((_0x269d3c=this[_0x151176(0x57d)][_0x151176(0x215)](_0x30c7a4))!=null&&_0x269d3c[_0x151176(0x446)](c[_0x151176(0x325)])[_0x151176(0x3c1)](_0x1c0831)))return!0x1;if(_0x42b5e6)return;this['_insertShapes']([{'unitId':_0x30c7a4,'subUnitId':_0x1c0831,'drawingId':_0x59ded1}]);}}));}['_shapeUpdateListener'](){const _0xb9021c=_0x2c7845;this['disposeWithMe'](this['_drawingManagerService'][_0xb9021c(0x3d9)]['subscribe'](_0x157fa8=>{_0x157fa8['forEach'](_0x57f637=>{const _0x510f44=_0x4844;let {unitId:_0x5a2e74,subUnitId:_0x2970a8,drawingId:_0x5e6fef}=_0x57f637,_0x5a3021=this[_0x510f44(0x409)][_0x510f44(0x310)](_0x57f637);if(_0x5a3021==null)return;let {transform:_0x1c693f,drawingType:_0x48c742,srcRect:_0x25971c,prstGeom:_0x1f48d0}=_0x5a3021;if(_0x48c742!==t[_0x510f44(0x5c1)][_0x510f44(0x2e1)])return;let _0xf53fe8=this[_0x510f44(0x4f9)](_0x5a2e74);if(_0xf53fe8==null)return;let {scene:_0x2f03aa,transformer:_0x3aba99}=_0xf53fe8;if(_0x1c693f==null)return!0x0;let _0x4e8465=(0x0,a[_0x510f44(0x604)])({'unitId':_0x5a2e74,'subUnitId':_0x2970a8,'drawingId':_0x5e6fef}),_0x52a26e=_0x2f03aa['getObjectIncludeInGroup'](_0x4e8465);if(_0x52a26e==null)return!0x0;_0x52a26e[_0x510f44(0x1d1)](_0x25971c),_0x52a26e[_0x510f44(0x307)](_0x1f48d0);});}));}[_0x2c7845(0x236)](_0x20764f,_0x36a371){const _0x45f2f5=_0x2c7845;let {unitId:_0x5c2a07,subUnitId:_0x20d9b9,drawingId:_0x1309a8}=_0x20764f,_0x6c9f19=this[_0x45f2f5(0x4f9)](_0x5c2a07);if(_0x6c9f19==null)return;let {scene:_0x1e20f2}=_0x6c9f19,_0x451906=(0x0,a[_0x45f2f5(0x604)])({'unitId':_0x5c2a07,'subUnitId':_0x20d9b9,'drawingId':_0x1309a8}),_0x28ecd6=_0x1e20f2[_0x45f2f5(0x30f)](_0x451906);_0x28ecd6!=null&&_0x28ecd6[_0x45f2f5(0x4b2)](_0x36a371);}[_0x2c7845(0x421)](_0x40679c){const _0x510816=_0x2c7845;_0x40679c[_0x510816(0x3f9)](async _0x51f6bb=>{const _0x442da7=_0x510816;var _0x208859;let {unitId:_0x386f04,subUnitId:_0x4046f8}=_0x51f6bb,_0x56de23=this[_0x442da7(0x4f9)](_0x386f04),_0x3cb5f0=(_0x208859=(0x0,d[_0x442da7(0x32e)])(this[_0x442da7(0x304)],_0x386f04))==null?void 0x0:_0x208859[_0x442da7(0x1ec)];if(_0x56de23==null||_0x3cb5f0!==_0x4046f8)return;let _0x216170=this[_0x442da7(0x409)][_0x442da7(0x310)](_0x51f6bb);if(_0x216170!=null&&_0x216170[_0x442da7(0x477)]===t[_0x442da7(0x5c1)][_0x442da7(0x2e1)]){if((0x0,u[_0x442da7(0x1f1)])((_0x216170[_0x442da7(0x41f)]||{})[_0x442da7(0x467)])){let _0x2191f8=_0x216170[_0x442da7(0x247)];_0x2191f8&&(_0x216170['transform']={..._0x2191f8,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this['_drawingManagerService'][_0x442da7(0x555)]([_0x216170]),this[_0x442da7(0x1a2)]['renderDrawingShape'](_0x216170,_0x56de23['scene']);}});}['_getSceneAndTransformerByDrawingSearch'](_0x46e249){const _0x3fdcba=_0x2c7845;if(_0x46e249==null)return;let _0x2136a5=this[_0x3fdcba(0x57d)][_0x3fdcba(0x215)](_0x46e249),_0x4d29e4=_0x2136a5==null?void 0x0:_0x2136a5[_0x3fdcba(0x37e)];return _0x4d29e4==null?null:{'scene':_0x4d29e4,'transformer':_0x4d29e4[_0x3fdcba(0x5bc)]()};}};W=R([L(0x0,t['ICommandService']),L(0x1,o['IRenderManagerService']),L(0x2,a[_0x2c7845(0x1e2)]),L(0x3,t[_0x2c7845(0x2ff)]),L(0x4,(0x0,t[_0x2c7845(0x290)])(d['DrawingRenderService'])),L(0x5,(0x0,t['Inject'])(z))],W);function we(){const _0x357fc5=_0x2c7845;let _0x2d550e=(0x0,l[_0x357fc5(0x306)])(a[_0x357fc5(0x1e2)]),[_0x336e79,_0x45c127]=(0x0,m['useState'])(_0x2d550e['getFocusDrawings']());return(0x0,m[_0x357fc5(0x5ab)])(()=>{const _0x1a16d3=_0x357fc5;let _0x4f205d=_0x2d550e[_0x1a16d3(0x2ad)][_0x1a16d3(0x2e0)](_0x4498fb=>{_0x45c127(_0x4498fb);});return()=>{_0x4f205d['unsubscribe']();};},[]),_0x336e79[_0x357fc5(0x453)]===0x0?null:(0x0,h[_0x357fc5(0x5dc)])(_0x357fc5(0x49d),{'children':(0x0,h[_0x357fc5(0x2f5)])(_0x357fc5(0x49d),{'className':'univer-box-border\x20univer-px-4\x20univer-text-sm','children':[(0x0,h['jsx'])(d[_0x357fc5(0x2bd)],{'drawings':_0x336e79,'hasCropper':!0x1}),(0x0,h[_0x357fc5(0x5dc)])(g[_0x357fc5(0x524)],{'drawings':_0x336e79})]})});}function Te(_0x199269){const _0x1f484a=_0x2c7845;let {unitId:_0x1ff45d,subUnitId:_0xf9da2a,shapeId:_0x1ea01f}=_0x199269,_0x415e80=(0x0,l[_0x1f484a(0x306)])(t[_0x1f484a(0x4ed)]),_0x290c96=(0x0,l[_0x1f484a(0x306)])(W);return(0x0,h[_0x1f484a(0x5dc)])(v[_0x1f484a(0x439)],{..._0x199269,'positionEditor':(0x0,h['jsx'])(we,{}),'onUpdateShapeData':(_0x54099a,_0x5074cf)=>{F(_0x415e80,_0x1ff45d,_0xf9da2a,_0x1ea01f,_0x54099a,_0x5074cf);},'onUpdateLineShapeData':(_0x183532,_0x57789f)=>{ne(_0x415e80,_0x1ff45d,_0xf9da2a,_0x1ea01f,_0x183532,_0x57789f);},'onUpdateShapeFillImage':_0x57bc20=>{const _0x400686=_0x1f484a;_0x290c96[_0x400686(0x236)]({'unitId':_0x1ff45d,'subUnitId':_0xf9da2a,'drawingId':_0x1ea01f},_0x57bc20);}});}function Ee(_0x4c69d0){const _0x26837e=_0x2c7845;let _0x18377e=_0x4c69d0['shapeText'];return _0x18377e&&'dataModel'in _0x18377e&&_0x18377e[_0x26837e(0x29e)]?_0x18377e['dataModel']:null;}function De(_0x3ef2da){const _0x10935c=_0x2c7845;var _0x4b2567,_0x507106,_0x2222a8,_0x415dda;let _0x28bf60=(_0x4b2567=Ee(_0x3ef2da))==null?void 0x0:_0x4b2567['doc'],_0x2ad055=(_0x507106=_0x28bf60==null||(_0x2222a8=_0x28bf60[_0x10935c(0x4c1)])==null||(_0x2222a8=_0x2222a8[_0x10935c(0x456)])==null||(_0x2222a8=_0x2222a8[0x0])==null?void 0x0:_0x2222a8['ts'])==null?{}:_0x507106;return{..._0x28bf60==null||(_0x415dda=_0x28bf60[_0x10935c(0x17f)])==null?void 0x0:_0x415dda['textStyle'],..._0x2ad055};}function Oe(_0x1b34cc){const _0xf100d2=_0x2c7845;let _0x1df1ba=_0x1b34cc['popup'][_0xf100d2(0x204)];return _0x1df1ba?(0x0,h[_0xf100d2(0x5dc)])(ke,{..._0x1df1ba}):null;}function ke(_0x36286f){const _0x2a1f3c=_0x2c7845;var _0x44a25c,_0x192516;let _0x2ab8b2=(0x0,l[_0x2a1f3c(0x306)])(t[_0x2a1f3c(0x4ed)]),_0x20f571=(0x0,l['useDependency'])(t['LocaleService']),_0x336892=(0x0,l[_0x2a1f3c(0x306)])(e[_0x2a1f3c(0x2ee)]),_0x5d7856=(0x0,l[_0x2a1f3c(0x306)])(l[_0x2a1f3c(0x1eb)]),{unitId:_0x2a578b,subUnitId:_0x31d81a,drawingId:_0x5924e5,drawingType:_0x41a175,shapeType:_0x2fb518}=_0x36286f,[_0x477724,_0x3ab048]=(0x0,m[_0x2a1f3c(0x559)])(_0x36286f[_0x2a1f3c(0x49a)]),[_0x2bdfa8,_0x76d809]=(0x0,m[_0x2a1f3c(0x559)])(()=>_0x5d7856[_0x2a1f3c(0x4c0)]()),_0x4e5d2f=(0x0,m[_0x2a1f3c(0x55f)])(()=>De(_0x477724),[_0x477724]),_0x46f5c5=(0x0,m[_0x2a1f3c(0x55f)])(()=>Ee(_0x477724),[_0x477724]);(0x0,m[_0x2a1f3c(0x5ab)])(()=>{const _0x53b3a5=_0x2a1f3c;let _0x3a6900=_0x2ab8b2[_0x53b3a5(0x577)](_0xc95bae=>{const _0x3cc102=_0x53b3a5;if(_0xc95bae['id']!==e[_0x3cc102(0x181)]['id'])return;let _0xd13b9e=_0x336892[_0x3cc102(0x2d6)](_0x2a578b,_0x31d81a,_0x5924e5);_0xd13b9e&&_0x3ab048(_0xd13b9e);});return()=>_0x3a6900['dispose']();},[_0x2ab8b2,_0x5924e5,_0x336892,_0x31d81a,_0x2a578b]),(0x0,m[_0x2a1f3c(0x5ab)])(()=>{const _0x8350e0=_0x2a1f3c;let _0x5c0001=_0x5d7856['fonts$']['subscribe'](_0x10c39b=>{_0x76d809(_0x10c39b);});return()=>_0x5c0001[_0x8350e0(0x3d7)]();},[_0x5d7856]);let _0x1b3a15=_0x4bd9a3=>{_0x3ab048(_0x47aa3b=>({..._0x47aa3b,..._0x4bd9a3}));},_0x9e8d58=_0x4be435=>{const _0x2db640=_0x2a1f3c;let _0x515784=(0x0,v[_0x2db640(0x3dd)])(_0x477724,_0x4be435);F(_0x2ab8b2,_0x2a578b,_0x31d81a,_0x5924e5,{'oldShapeData':{'shapeText':_0x477724[_0x2db640(0x396)]}},_0x515784),_0x1b3a15(_0x515784);},_0x215d80=_0x2bdfa8[_0x2a1f3c(0x61f)](_0x7a160a=>({'label':_0x20f571['t'](_0x7a160a[_0x2a1f3c(0x1ed)]),'value':_0x7a160a[_0x2a1f3c(0x4d7)]}));return(0x0,h['jsx'])(v[_0x2a1f3c(0x426)],{'shapeData':_0x477724,'shapeType':_0x2fb518,'textStyle':{'cl':{'rgb':_0x2a1f3c(0x5d7)},..._0x4e5d2f},'textModel':_0x46f5c5?{'ha':(_0x44a25c=_0x46f5c5['ha'])==null?t[_0x2a1f3c(0x3a6)][_0x2a1f3c(0x5e6)]:_0x44a25c,'va':(_0x192516=_0x46f5c5['va'])==null?t['VerticalAlign'][_0x2a1f3c(0x222)]:_0x192516}:null,'fontOptions':_0x215d80,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'onUpdateShapeData':(_0xd42928,_0x3faa2a)=>{F(_0x2ab8b2,_0x2a578b,_0x31d81a,_0x5924e5,_0xd42928,_0x3faa2a),_0x3faa2a&&_0x1b3a15(_0x3faa2a);},'onUpdateText':_0x9e8d58,'onOpenPanel':()=>{const _0x26b270=_0x2a1f3c;_0x2ab8b2[_0x26b270(0x3a9)](N['id'],{'unitId':_0x2a578b,'subUnitId':_0x31d81a,'drawingId':_0x5924e5});},'onDelete':()=>{const _0x452918=_0x2a1f3c;_0x2ab8b2[_0x452918(0x3a9)](r[_0x452918(0x47b)]['id'],{'unitId':_0x2a578b,'drawings':[{'unitId':_0x2a578b,'subUnitId':_0x31d81a,'drawingId':_0x5924e5,'drawingType':_0x41a175}]});}});}const Ae=(0x0,m[_0x2c7845(0x342)])(()=>{const _0x20a4f7=_0x2c7845;let _0x3e681f=(0x0,l[_0x20a4f7(0x306)])(C),_0x5ead8a=(0x0,l[_0x20a4f7(0x306)])(e[_0x20a4f7(0x2ee)]),_0x36ccd1=(0x0,l[_0x20a4f7(0x306)])(a[_0x20a4f7(0x1e2)]),_0x5194e9=(0x0,l[_0x20a4f7(0x306)])(t[_0x20a4f7(0x4ed)]);return(0x0,h[_0x20a4f7(0x5dc)])(v[_0x20a4f7(0x30a)],{'adapter':(0x0,m[_0x20a4f7(0x55f)])(()=>({'getShapeModel':(_0x3f7ac3,_0x3b457f,_0xd42714)=>_0x5ead8a['getShapeModel'](_0x3f7ac3,_0x3b457f,_0xd42714),'getDrawingTransform':(_0x2fa749,_0xb090bf,_0x2bdabb)=>{const _0x42bb20=_0x20a4f7;let _0x23174d=_0x36ccd1[_0x42bb20(0x310)]({'unitId':_0x2fa749,'subUnitId':_0xb090bf,'drawingId':_0x2bdabb});return _0x23174d==null?void 0x0:_0x23174d[_0x42bb20(0x247)];},'updateShapeText':({unitId:_0x54ae6d,subUnitId:_0x457678,shapeId:_0x2da91e,shapeText:_0x4178a7,oldShapeText:_0x5e568b})=>{const _0x215f70=_0x20a4f7;_0x5194e9[_0x215f70(0x3a9)](T['id'],{'unitId':_0x54ae6d,'subUnitId':_0x457678,'shapeId':_0x2da91e,'shapeData':{'shapeText':_0x4178a7},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x5e568b}}});}}),[_0x5194e9,_0x36ccd1,_0x5ead8a]),'editingService':_0x3e681f,'editorUnitId':te,'positionOptions':(0x0,m[_0x20a4f7(0x55f)])(()=>({'viewportKeys':{'main':o[_0x20a4f7(0x3fe)][_0x20a4f7(0x2f2)],'leftTop':o[_0x20a4f7(0x3fe)][_0x20a4f7(0x389)],'top':o['SHEET_VIEWPORT_KEY'][_0x20a4f7(0x569)],'left':o[_0x20a4f7(0x3fe)][_0x20a4f7(0x201)]},'getSkeleton':(_0x146459,_0x1c3a23)=>{const _0x1a6efb=_0x20a4f7;var _0x35b82f,_0x5e8e53;return(_0x35b82f=(_0x5e8e53=_0x146459[_0x1a6efb(0x446)](c['SheetSkeletonManagerService'])[_0x1a6efb(0x370)](_0x1c3a23[_0x1a6efb(0x1ec)]))==null?void 0x0:_0x5e8e53[_0x1a6efb(0x431)])==null?null:_0x35b82f;}}),[]),'verticalAlignCommandId':A['id']});});let G=class extends t[_0x2c7845(0x4d8)]{constructor(_0x19a53d,_0x279ccc){const _0x4cb961=_0x2c7845;super(),this[_0x4cb961(0x374)]=_0x19a53d,this[_0x4cb961(0x458)]=_0x279ccc,this['_registerIcons'](),this[_0x4cb961(0x466)]();}[_0x2c7845(0x404)](){const _0xa4541=_0x2c7845;this[_0xa4541(0x2d9)](this[_0xa4541(0x458)]['register']({'ShapeAccentBorderCallout1Icon':_['ShapeAccentBorderCallout1Icon'],'ShapeAccentBorderCallout2Icon':_[_0xa4541(0x42c)],'ShapeAccentBorderCallout3Icon':_['ShapeAccentBorderCallout3Icon'],'ShapeAccentCallout1Icon':_['ShapeAccentCallout1Icon'],'ShapeAccentCallout2Icon':_[_0xa4541(0x3af)],'ShapeAccentCallout3Icon':_[_0xa4541(0x24a)],'ShapeActionButtonBackPreviousIcon':_['ShapeActionButtonBackPreviousIcon'],'ShapeActionButtonBeginningIcon':_['ShapeActionButtonBeginningIcon'],'ShapeActionButtonBlankIcon':_['ShapeActionButtonBlankIcon'],'ShapeActionButtonDocumentIcon':_[_0xa4541(0x286)],'ShapeActionButtonEndIcon':_['ShapeActionButtonEndIcon'],'ShapeActionButtonForwardNextIcon':_[_0xa4541(0x3c0)],'ShapeActionButtonHelpIcon':_[_0xa4541(0x28e)],'ShapeActionButtonHomeIcon':_[_0xa4541(0x217)],'ShapeActionButtonInformationIcon':_['ShapeActionButtonInformationIcon'],'ShapeActionButtonMovieIcon':_['ShapeActionButtonMovieIcon'],'ShapeActionButtonReturnIcon':_['ShapeActionButtonReturnIcon'],'ShapeActionButtonSoundIcon':_[_0xa4541(0x4fc)],'ShapeArcIcon':_[_0xa4541(0x44c)],'ShapeBentArrowIcon':_['ShapeBentArrowIcon'],'ShapeBentConnector3Arrow1Icon':_[_0xa4541(0x33c)],'ShapeBentConnector3Arrow2Icon':_[_0xa4541(0x18f)],'ShapeBentConnector3Icon':_[_0xa4541(0x603)],'ShapeBentUpArrowIcon':_['ShapeBentUpArrowIcon'],'ShapeBevelIcon':_[_0xa4541(0x62b)],'ShapeBlockArcIcon':_[_0xa4541(0x4db)],'ShapeBorderCallout1Icon':_['ShapeBorderCallout1Icon'],'ShapeBorderCallout2Icon':_[_0xa4541(0x3eb)],'ShapeBorderCallout3Icon':_[_0xa4541(0x601)],'ShapeBracePairIcon':_[_0xa4541(0x403)],'ShapeBracketPairIcon':_[_0xa4541(0x218)],'ShapeCallout1Icon':_[_0xa4541(0x2e3)],'ShapeCallout2Icon':_[_0xa4541(0x4ec)],'ShapeCallout3Icon':_['ShapeCallout3Icon'],'ShapeCanIcon':_[_0xa4541(0x1df)],'ShapeChartPlusIcon':_[_0xa4541(0x41d)],'ShapeChartStarIcon':_[_0xa4541(0x1d2)],'ShapeChartXIcon':_[_0xa4541(0x21e)],'ShapeChevronIcon':_[_0xa4541(0x55e)],'ShapeChordIcon':_[_0xa4541(0x313)],'ShapeCircularArrowIcon':_[_0xa4541(0x538)],'ShapeCloudCalloutIcon':_[_0xa4541(0x20a)],'ShapeCloudIcon':_['ShapeCloudIcon'],'ShapeCornerIcon':_['ShapeCornerIcon'],'ShapeCornerTabsIcon':_['ShapeCornerTabsIcon'],'ShapeCubeIcon':_[_0xa4541(0x41a)],'ShapeCurvedConnector3Arrow1Icon':_[_0xa4541(0x53d)],'ShapeCurvedConnector3Arrow2Icon':_[_0xa4541(0x3a8)],'ShapeCurvedConnector3Icon':_[_0xa4541(0x1fa)],'ShapeCurvedDownArrowIcon':_[_0xa4541(0x238)],'ShapeCurvedLeftArrowIcon':_[_0xa4541(0x38a)],'ShapeCurvedRightArrowIcon':_[_0xa4541(0x32d)],'ShapeCurvedUpArrowIcon':_['ShapeCurvedUpArrowIcon'],'ShapeDecagonIcon':_[_0xa4541(0x23a)],'ShapeDiagStripeIcon':_['ShapeDiagStripeIcon'],'ShapeDiamondIcon':_[_0xa4541(0x29d)],'ShapeDodecagonIcon':_[_0xa4541(0x40a)],'ShapeDonutIcon':_[_0xa4541(0x57b)],'ShapeDoubleWaveIcon':_[_0xa4541(0x5fb)],'ShapeDownArrowCalloutIcon':_['ShapeDownArrowCalloutIcon'],'ShapeDownArrowIcon':_[_0xa4541(0x272)],'ShapeEllipseIcon':_[_0xa4541(0x57e)],'ShapeEllipseRibbon2Icon':_[_0xa4541(0x60a)],'ShapeEllipseRibbonIcon':_['ShapeEllipseRibbonIcon'],'ShapeFlowChartAlternateProcessIcon':_['ShapeFlowChartAlternateProcessIcon'],'ShapeFlowChartCollateIcon':_[_0xa4541(0x58a)],'ShapeFlowChartConnectorIcon':_['ShapeFlowChartConnectorIcon'],'ShapeFlowChartDecisionIcon':_[_0xa4541(0x548)],'ShapeFlowChartDelayIcon':_['ShapeFlowChartDelayIcon'],'ShapeFlowChartDisplayIcon':_[_0xa4541(0x1a3)],'ShapeFlowChartDocumentIcon':_[_0xa4541(0x4ca)],'ShapeFlowChartExtractIcon':_[_0xa4541(0x3f5)],'ShapeFlowChartInputOutputIcon':_['ShapeFlowChartInputOutputIcon'],'ShapeFlowChartInternalStorageIcon':_['ShapeFlowChartInternalStorageIcon'],'ShapeFlowChartMagneticDiskIcon':_[_0xa4541(0x3b9)],'ShapeFlowChartMagneticDrumIcon':_[_0xa4541(0x19f)],'ShapeFlowChartMagneticTapeIcon':_[_0xa4541(0x1d5)],'ShapeFlowChartManualInputIcon':_[_0xa4541(0x422)],'ShapeFlowChartManualOperationIcon':_[_0xa4541(0x329)],'ShapeFlowChartMergeIcon':_[_0xa4541(0x471)],'ShapeFlowChartMultidocumentIcon':_[_0xa4541(0x24f)],'ShapeFlowChartOfflineStorageIcon':_[_0xa4541(0x21a)],'ShapeFlowChartOffpageConnectorIcon':_[_0xa4541(0x270)],'ShapeFlowChartOnlineStorageIcon':_['ShapeFlowChartOnlineStorageIcon'],'ShapeFlowChartOrIcon':_['ShapeFlowChartOrIcon'],'ShapeFlowChartPredefinedProcessIcon':_[_0xa4541(0x385)],'ShapeFlowChartPreparationIcon':_[_0xa4541(0x5b6)],'ShapeFlowChartProcessIcon':_[_0xa4541(0x3ed)],'ShapeFlowChartPunchedCardIcon':_[_0xa4541(0x35f)],'ShapeFlowChartPunchedTapeIcon':_['ShapeFlowChartPunchedTapeIcon'],'ShapeFlowChartSortIcon':_['ShapeFlowChartSortIcon'],'ShapeFlowChartSummingJunctionIcon':_['ShapeFlowChartSummingJunctionIcon'],'ShapeFlowChartTerminatorIcon':_['ShapeFlowChartTerminatorIcon'],'ShapeFolderCornerIcon':_['ShapeFolderCornerIcon'],'ShapeFrameIcon':_['ShapeFrameIcon'],'ShapeFunnelIcon':_[_0xa4541(0x55c)],'ShapeGear6Icon':_[_0xa4541(0x216)],'ShapeGear9Icon':_['ShapeGear9Icon'],'ShapeHalfFrameIcon':_[_0xa4541(0x228)],'ShapeHeartIcon':_[_0xa4541(0x1d8)],'ShapeHeptagonIcon':_[_0xa4541(0x1b6)],'ShapeHexagonIcon':_[_0xa4541(0x450)],'ShapeHomePlateIcon':_[_0xa4541(0x5dd)],'ShapeHorizontalScrollIcon':_[_0xa4541(0x4ad)],'ShapeIrregularSeal1Icon':_[_0xa4541(0x614)],'ShapeIrregularSeal2Icon':_[_0xa4541(0x4cb)],'ShapeLeftArrowCalloutIcon':_[_0xa4541(0x5f4)],'ShapeLeftArrowIcon':_[_0xa4541(0x1ee)],'ShapeLeftBraceIcon':_[_0xa4541(0x1ac)],'ShapeLeftBracketIcon':_[_0xa4541(0x41e)],'ShapeLeftCircularArrowIcon':_['ShapeLeftCircularArrowIcon'],'ShapeLeftRightArrowCalloutIcon':_[_0xa4541(0x19a)],'ShapeLeftRightArrowIcon':_[_0xa4541(0x597)],'ShapeLeftRightCircularArrowIcon':_[_0xa4541(0x4f6)],'ShapeLeftRightRibbonIcon':_[_0xa4541(0x383)],'ShapeLeftRightUpArrowIcon':_[_0xa4541(0x243)],'ShapeLeftUpArrowIcon':_['ShapeLeftUpArrowIcon'],'ShapeLightningBoltIcon':_['ShapeLightningBoltIcon'],'ShapeLineIcon':_[_0xa4541(0x474)],'ShapeLineInvIcon':_[_0xa4541(0x440)],'ShapeMathDivideIcon':_['ShapeMathDivideIcon'],'ShapeMathEqualIcon':_[_0xa4541(0x496)],'ShapeMathMinusIcon':_['ShapeMathMinusIcon'],'ShapeMathMultiplyIcon':_[_0xa4541(0x3b7)],'ShapeMathNotEqualIcon':_[_0xa4541(0x4ef)],'ShapeMathPlusIcon':_[_0xa4541(0x4b9)],'ShapeMoonIcon':_[_0xa4541(0x30e)],'ShapeNoSmokingIcon':_[_0xa4541(0x31b)],'ShapeNonIsoscelesTrapezoidIcon':_[_0xa4541(0x1ef)],'ShapeNotchedRightArrowIcon':_['ShapeNotchedRightArrowIcon'],'ShapeOctagonIcon':_[_0xa4541(0x22d)],'ShapeParallelogramIcon':_[_0xa4541(0x5aa)],'ShapePentagonIcon':_[_0xa4541(0x1e5)],'ShapePieIcon':_[_0xa4541(0x2fc)],'ShapePieWedgeIcon':_[_0xa4541(0x56e)],'ShapePlaqueIcon':_[_0xa4541(0x22e)],'ShapePlaqueTabsIcon':_[_0xa4541(0x2e9)],'ShapePlusIcon':_['ShapePlusIcon'],'ShapeQuadArrowCalloutIcon':_[_0xa4541(0x2c1)],'ShapeQuadArrowIcon':_[_0xa4541(0x1dc)],'ShapeRectIcon':_[_0xa4541(0x54d)],'ShapeRectTextboxHorizontalIcon':_['ShapeRectTextboxHorizontalIcon'],'ShapeRectTextboxVerticalIcon':_['ShapeRectTextboxVerticalIcon'],'ShapeRibbon2Icon':_['ShapeRibbon2Icon'],'ShapeRibbonIcon':_[_0xa4541(0x402)],'ShapeRightArrowCalloutIcon':_[_0xa4541(0x39f)],'ShapeRightArrowIcon':_[_0xa4541(0x489)],'ShapeRightBraceIcon':_['ShapeRightBraceIcon'],'ShapeRightBracketIcon':_[_0xa4541(0x390)],'ShapeRound1RectIcon':_[_0xa4541(0x4fa)],'ShapeRound2DiagRectIcon':_['ShapeRound2DiagRectIcon'],'ShapeRound2SameRectIcon':_[_0xa4541(0x622)],'ShapeRoundRectIcon':_[_0xa4541(0x382)],'ShapeRtTriangleIcon':_[_0xa4541(0x38f)],'ShapeSmileyFaceIcon':_[_0xa4541(0x543)],'ShapeSnip1RectIcon':_[_0xa4541(0x44d)],'ShapeSnip2DiagRectIcon':_[_0xa4541(0x4a1)],'ShapeSnip2SameRectIcon':_[_0xa4541(0x3ac)],'ShapeSnipRoundRectIcon':_[_0xa4541(0x491)],'ShapeSquareTabsIcon':_[_0xa4541(0x5c9)],'ShapeStar10Icon':_[_0xa4541(0x4af)],'ShapeStar12Icon':_[_0xa4541(0x318)],'ShapeStar16Icon':_[_0xa4541(0x18b)],'ShapeStar24Icon':_[_0xa4541(0x4c3)],'ShapeStar32Icon':_['ShapeStar32Icon'],'ShapeStar4Icon':_[_0xa4541(0x4f4)],'ShapeStar5Icon':_[_0xa4541(0x3b5)],'ShapeStar6Icon':_[_0xa4541(0x5ac)],'ShapeStar7Icon':_[_0xa4541(0x1bb)],'ShapeStar8Icon':_[_0xa4541(0x212)],'ShapeStraightConnector1Icon':_[_0xa4541(0x3e8)],'ShapeStraightConnector2Icon':_['ShapeStraightConnector2Icon'],'ShapeStripedRightArrowIcon':_['ShapeStripedRightArrowIcon'],'ShapeSunIcon':_['ShapeSunIcon'],'ShapeSwooshArrowIcon':_[_0xa4541(0x1e7)],'ShapeTeardropIcon':_[_0xa4541(0x5f0)],'ShapeTrapezoidIcon':_[_0xa4541(0x487)],'ShapeTriangleIcon':_['ShapeTriangleIcon'],'ShapeUpArrowCalloutIcon':_[_0xa4541(0x285)],'ShapeUpArrowIcon':_[_0xa4541(0x35c)],'ShapeUpDownArrowCalloutIcon':_[_0xa4541(0x1bd)],'ShapeUpDownArrowIcon':_[_0xa4541(0x5b4)],'ShapeUturnArrowIcon':_[_0xa4541(0x536)],'ShapeVerticalScrollIcon':_[_0xa4541(0x277)],'ShapeWaveIcon':_['ShapeWaveIcon'],'ShapeWedgeEllipseCalloutIcon':_['ShapeWedgeEllipseCalloutIcon'],'ShapeWedgeRectCalloutIcon':_[_0xa4541(0x3f8)],'ShapeWedgeRoundRectCalloutIcon':_['ShapeWedgeRoundRectCalloutIcon']}));}[_0x2c7845(0x466)](){const _0x1d71eb=_0x2c7845;this[_0x1d71eb(0x2d9)](this[_0x1d71eb(0x374)][_0x1d71eb(0x5a9)](P,Te)),this['disposeWithMe'](this[_0x1d71eb(0x374)]['register'](he,ve)),this[_0x1d71eb(0x2d9)](this[_0x1d71eb(0x374)][_0x1d71eb(0x5a9)](d['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'],_e)),this['disposeWithMe'](this[_0x1d71eb(0x374)][_0x1d71eb(0x5a9)](ee,Oe)),this[_0x1d71eb(0x2d9)](this['_componentManager'][_0x1d71eb(0x5a9)](_0x1d71eb(0x30a),Ae));}};G=R([L(0x0,(0x0,t[_0x2c7845(0x290)])(l[_0x2c7845(0x530)])),L(0x1,(0x0,t['Inject'])(l[_0x2c7845(0x30b)]))],G);let K=class extends t[_0x2c7845(0x4d8)]{constructor(_0x10e426,_0x3a1f92,_0x1e5cab,_0x1ba8c9,_0x4cf18a){const _0x2909fd=_0x2c7845;super(),this[_0x2909fd(0x1f4)]=_0x10e426,this['_drawingManagerService']=_0x3a1f92,this[_0x2909fd(0x57d)]=_0x1e5cab,this[_0x2909fd(0x583)]=_0x1ba8c9,this[_0x2909fd(0x424)]=_0x4cf18a,S(this,_0x2909fd(0x26c),null),S(this,'_unitId',null),S(this,_0x2909fd(0x5de),null),S(this,'_activeAdjustPointList',void 0x0),S(this,_0x2909fd(0x1a6),[]),S(this,_0x2909fd(0x2b7),0x0),S(this,_0x2909fd(0x2a0),0x0),S(this,'_baseWidth',0x0),S(this,_0x2909fd(0x31c),0x0),S(this,_0x2909fd(0x195),!0x1),S(this,'_activeAdjustInfo',void 0x0),S(this,'_activeShapeModel',void 0x0),S(this,_0x2909fd(0x401),void 0x0),S(this,_0x2909fd(0x3cf),void 0x0),S(this,_0x2909fd(0x3c7),!0x1),this['_registerFocusChangeHandler'](),this[_0x2909fd(0x20c)]();}[_0x2c7845(0x509)](){const _0x4f8848=_0x2c7845;this[_0x4f8848(0x384)]();}[_0x2c7845(0x4a9)](){const _0x22299d=_0x2c7845;this[_0x22299d(0x384)](),this[_0x22299d(0x26d)](!0x0);}[_0x2c7845(0x5b3)](_0x20d833,_0x186e7a,_0x19c80b,_0x57e9a3){const _0x51d2d0=_0x2c7845;let _0x28b4a3=_0x20d833;if(!(_0x28b4a3===u[_0x51d2d0(0x3ce)][_0x51d2d0(0x2cb)]||_0x20d833==='custom'))try{let _0x466e98=new u['ShapeModel'](_0x28b4a3,_0x51d2d0(0x4ea)+_0x20d833);return _0x57e9a3&&_0x466e98[_0x51d2d0(0x553)]({'adjustValues':_0x57e9a3},!0x0),_0x466e98['updateContext']({'width':_0x186e7a,'height':_0x19c80b}),_0x466e98;}catch{return;}}[_0x2c7845(0x56a)](_0x3d83e0,_0x10a7d1,_0x2b3dc3){const _0x344947=_0x2c7845;let _0x30b933={'unitId':_0x3d83e0,'subUnitId':_0x10a7d1,'drawingId':_0x2b3dc3},_0x3baa34=this[_0x344947(0x409)][_0x344947(0x310)](_0x30b933);if(!(!_0x3baa34||_0x3baa34[_0x344947(0x477)]!==t[_0x344947(0x5c1)][_0x344947(0x581)]))return _0x3baa34;}[_0x2c7845(0x233)](_0x4b40d3,_0x4ffe28,_0x49004d){const _0x3ab05b=_0x2c7845;let _0x5367eb=this[_0x3ab05b(0x57d)][_0x3ab05b(0x215)](_0x4b40d3);if(!_0x5367eb)return;let {scene:_0x4e9ab9}=_0x5367eb,_0x129a70=(0x0,a['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x4b40d3,'subUnitId':_0x4ffe28,'drawingId':_0x49004d}),_0x24d139=_0x4e9ab9[_0x3ab05b(0x24d)](_0x129a70);if(_0x24d139 instanceof o[_0x3ab05b(0x5f2)]){let _0x5602ef=_0x24d139[_0x3ab05b(0x493)];if(_0x5602ef)return{'prstGeom':_0x5602ef,'adjustValues':_0x24d139['prstGeomAdjValues']};}}['_createControls'](_0x139187=!0x1){const _0x4e987e=_0x2c7845;if(!this[_0x4e987e(0x3e1)]||!this[_0x4e987e(0x5de)]||!this[_0x4e987e(0x26c)])return;let _0xb42549=this[_0x4e987e(0x57d)][_0x4e987e(0x215)](this[_0x4e987e(0x3e1)]);if(!_0xb42549||!_0xb42549[_0x4e987e(0x446)](c[_0x4e987e(0x325)])[_0x4e987e(0x36d)]())return;let {scene:_0x58dc11}=_0xb42549,_0x5a8c37=this[_0x4e987e(0x56a)](this[_0x4e987e(0x3e1)],this[_0x4e987e(0x5de)],this[_0x4e987e(0x26c)]);if(!_0x5a8c37)return;let {transform:_0x4901bc}=_0x5a8c37;if(!_0x4901bc)return;let {left:_0x1477c0,top:_0x5673cd,width:_0x415d71,height:_0x1fe352,flipX:_0x11bcfc,flipY:_0x2be8a4,angle:_0x3cce28=0x0}=_0x4901bc;if(_0x1477c0===void 0x0||_0x5673cd===void 0x0)return;let _0x5e7b6d=this['_getImagePrstGeom'](this['_unitId'],this['_subUnitId'],this[_0x4e987e(0x26c)]);if(!_0x5e7b6d)return;if(_0x139187){let _0x5acfbd=this[_0x4e987e(0x5b3)](_0x5e7b6d['prstGeom'],_0x415d71||0x0,_0x1fe352||0x0,_0x5e7b6d['adjustValues']);if(!_0x5acfbd)return;this['_activeAdjustPointList']=_0x5acfbd[_0x4e987e(0x50f)]();}let _0x3e8dfe=this[_0x4e987e(0x5e8)];if(!(!_0x3e8dfe||_0x3e8dfe[_0x4e987e(0x453)]===0x0))for(let _0x43c4bc=0x0;_0x43c4bc<_0x3e8dfe[_0x4e987e(0x453)];_0x43c4bc++){let _0x4785ba=_0x3e8dfe[_0x43c4bc],_0x4effc8=_0x4785ba['x'],_0x4a98fa=_0x4785ba['y'];if(_0x11bcfc&&(_0x4effc8=(_0x415d71||0x0)-_0x4effc8),_0x2be8a4&&(_0x4a98fa=(_0x1fe352||0x0)-_0x4a98fa),_0x3cce28!==0x0){let _0x5161f8=(_0x415d71||0x0)/0x2,_0x1c3502=(_0x1fe352||0x0)/0x2,_0x44fb15=_0x3cce28*Math['PI']/0xb4,_0x2e3289=Math[_0x4e987e(0x275)](_0x44fb15),_0x526b33=Math[_0x4e987e(0x4e2)](_0x44fb15),_0x5822b9=_0x4effc8-_0x5161f8,_0x439ae6=_0x4a98fa-_0x1c3502;_0x4effc8=_0x5161f8+(_0x5822b9*_0x2e3289-_0x439ae6*_0x526b33),_0x4a98fa=_0x1c3502+(_0x5822b9*_0x526b33+_0x439ae6*_0x2e3289);}let _0x18a746={'x':_0x4effc8,'y':_0x4a98fa,'adjName':_0x4785ba[_0x4e987e(0x31e)]};this[_0x4e987e(0x4b0)](_0x58dc11,_0x18a746,_0x18a746['adjName'],_0x1477c0,_0x5673cd,this['_unitId'],this[_0x4e987e(0x5de)]);}}[_0x2c7845(0x4b0)](_0xa31827,_0x92cf81,_0x16d471,_0x310076,_0x1ad5ed,_0x28768,_0x2dac6d){const _0xd728ad=_0x2c7845;if(!this['_activeImageId'])return;let _0x179e4f='image-clip-adjust-point-'+this[_0xd728ad(0x26c)]+'-'+_0x16d471,_0x20133d=_0xa31827['getObjectIncludeInGroup'](_0x179e4f);if(_0x20133d){_0x20133d['transformByState']({'left':_0x92cf81['x']+_0x310076-u[_0xd728ad(0x448)]['adjHandleSize'],'top':_0x92cf81['y']+_0x1ad5ed-u['ShapeDefaultConfig'][_0xd728ad(0x526)]});return;}let _0x3263a3=new oe(_0x179e4f,{'left':_0x92cf81['x']+_0x310076-u['ShapeDefaultConfig']['adjHandleSize'],'top':_0x92cf81['y']+_0x1ad5ed-u[_0xd728ad(0x448)][_0xd728ad(0x526)],'adjName':_0x16d471,'shapeId':this[_0xd728ad(0x26c)],'unitId':_0x28768,'subUnitId':_0x2dac6d,'width':u[_0xd728ad(0x448)][_0xd728ad(0x526)]+0x8,'height':u[_0xd728ad(0x448)][_0xd728ad(0x526)]+0x8,'zIndex':o[_0xd728ad(0x410)]+0x1,'evented':!0x0});this[_0xd728ad(0x1a6)]['push'](_0x3263a3),this[_0xd728ad(0x3c8)](_0x3263a3,_0xa31827,_0x16d471),_0xa31827['addObject'](_0x3263a3,o[_0xd728ad(0x410)]+0x1);}[_0x2c7845(0x384)](){const _0x56ed5e=_0x2c7845;this['_shapes']['length']!==0x0&&(this[_0x56ed5e(0x1a6)][_0x56ed5e(0x3f9)](_0xae74cf=>_0xae74cf['dispose']()),this['_shapes']=[]);}[_0x2c7845(0x24c)](_0x53b7ae,_0x186a5f){const _0x1fc5c3=_0x2c7845;var _0x34a8e8;let _0x57576f={'x':0x0,'y':0x0},_0x18db97=this[_0x1fc5c3(0x57d)][_0x1fc5c3(0x215)](_0x53b7ae);if(!_0x18db97||!_0x18db97['with'](c[_0x1fc5c3(0x325)])[_0x1fc5c3(0x3c1)](_0x186a5f))return _0x57576f;let _0x8d1f91=_0x18db97[_0x1fc5c3(0x446)](c[_0x1fc5c3(0x1c8)]),_0x5bd6a0=_0x8d1f91==null?void 0x0:_0x8d1f91[_0x1fc5c3(0x268)]();if(!_0x5bd6a0)return _0x57576f;let _0x824ec3=(_0x34a8e8=this[_0x1fc5c3(0x583)]['getUnit'](_0x53b7ae))==null?void 0x0:_0x34a8e8[_0x1fc5c3(0x575)](_0x186a5f);if(!_0x824ec3)return _0x57576f;let _0x1b1187=(0x0,c[_0x1fc5c3(0x1ba)])(_0x5bd6a0[_0x1fc5c3(0x5d0)],_0x5bd6a0[_0x1fc5c3(0x42f)],_0x18db97[_0x1fc5c3(0x37e)],_0x824ec3);return _0x1b1187?{'x':_0x1b1187[_0x1fc5c3(0x46c)],'y':_0x1b1187[_0x1fc5c3(0x620)]}:_0x57576f;}[_0x2c7845(0x32b)](_0x490a4e,_0x323142){const _0x16945f=_0x2c7845;var _0x5e5d66,_0x25821d;let _0x27327e=(_0x5e5d66=this['_univerInstanceService'][_0x16945f(0x478)](_0x490a4e))==null?void 0x0:_0x5e5d66[_0x16945f(0x575)](_0x323142);return(_0x25821d=_0x27327e==null?void 0x0:_0x27327e[_0x16945f(0x59b)]())==null?0x1:_0x25821d;}[_0x2c7845(0x3c8)](_0x2724a3,_0x3bd149,_0x57fce9){const _0x5b02b6=_0x2c7845;this[_0x5b02b6(0x2d9)]((0x0,t[_0x5b02b6(0x1fe)])(_0x2724a3[_0x5b02b6(0x4bf)][_0x5b02b6(0x4f1)]((_0x1e190d,_0x2aa683)=>{const _0x244b17=_0x5b02b6;var _0x79256c,_0x296a62,_0x57ee9e;let {unitId:_0x4d779a,subUnitId:_0x2a344a,drawingId:_0x148237}=_0x2724a3[_0x244b17(0x4b1)](),_0x3ce3b8=this[_0x244b17(0x56a)](_0x4d779a,_0x2a344a,_0x148237);if(!(_0x3ce3b8!=null&&_0x3ce3b8[_0x244b17(0x247)]))return;let {left:_0x2f2b0b,top:_0x376246,width:_0x4ea549,height:_0x4b888c}=_0x3ce3b8[_0x244b17(0x247)];this[_0x244b17(0x2b7)]=_0x2f2b0b||0x0,this[_0x244b17(0x2a0)]=_0x376246||0x0,this['_baseWidth']=_0x4ea549||0x0,this[_0x244b17(0x31c)]=_0x4b888c||0x0;let _0x5d4d24=!!((_0x79256c=_0x3ce3b8['transform'])!=null&&_0x79256c[_0x244b17(0x4b4)]),_0x32ff93=!!((_0x296a62=_0x3ce3b8['transform'])!=null&&_0x296a62[_0x244b17(0x4f8)]),_0x29e44e=((_0x57ee9e=_0x3ce3b8[_0x244b17(0x247)])==null?void 0x0:_0x57ee9e[_0x244b17(0x4cf)])||0x0,_0x144770=this[_0x244b17(0x233)](_0x4d779a,_0x2a344a,_0x148237);if(!_0x144770)return;let _0x36f1ba=this[_0x244b17(0x5b3)](_0x144770[_0x244b17(0x493)],this['_baseWidth'],this[_0x244b17(0x31c)],_0x144770[_0x244b17(0x3bf)]);if(!_0x36f1ba||(this[_0x244b17(0x585)]=_0x36f1ba,this[_0x244b17(0x5c2)]=_0x36f1ba['getAdjustInfoByName'](_0x57fce9),!this['_activeAdjustInfo']))return;this[_0x244b17(0x195)]=!0x0,_0x3bd149[_0x244b17(0x464)]();let _0x16a5f7=_0x144770['prstGeom'];this[_0x244b17(0x401)]=_0x3bd149[_0x244b17(0x3b1)][_0x244b17(0x4f1)]((_0x1ede80,_0x17244f)=>{const _0x5a91e2=_0x244b17;if(!this[_0x5a91e2(0x195)])return;let {offsetX:_0x498b3b,offsetY:_0x3919b6}=_0x1ede80,_0x4825f1=this[_0x5a91e2(0x5c2)];if(!this['_activeShapeModel']||!_0x4825f1)return;_0x3bd149['disableObjectsEvent'](),_0x3bd149[_0x5a91e2(0x1c9)](o[_0x5a91e2(0x4e4)][_0x5a91e2(0x1ff)]);let _0x4ceaf2={'left':0x0,'top':0x0,'width':this[_0x5a91e2(0x39b)],'height':this[_0x5a91e2(0x31c)]},_0x2a6d23=this[_0x5a91e2(0x24c)](_0x4d779a,_0x2a344a),_0x44eb9=this[_0x5a91e2(0x32b)](_0x4d779a,_0x2a344a),_0xba23b6=_0x498b3b/_0x44eb9+_0x2a6d23['x']-this[_0x5a91e2(0x2b7)],_0x574243=_0x3919b6/_0x44eb9+_0x2a6d23['y']-this[_0x5a91e2(0x2a0)];if(_0x29e44e!==0x0){let _0x4d24b4=this[_0x5a91e2(0x39b)]/0x2,_0x642548=this['_baseHeight']/0x2,_0x50e077=_0x29e44e*Math['PI']/0xb4,_0x43c756=Math['cos'](_0x50e077),_0x4d5533=Math[_0x5a91e2(0x4e2)](_0x50e077),_0x496480=_0xba23b6-_0x4d24b4,_0xe9425e=_0x574243-_0x642548;_0xba23b6=_0x4d24b4+(_0x496480*_0x43c756+_0xe9425e*_0x4d5533),_0x574243=_0x642548+(-_0x496480*_0x4d5533+_0xe9425e*_0x43c756);}_0x5d4d24&&(_0xba23b6=this[_0x5a91e2(0x39b)]-_0xba23b6),_0x32ff93&&(_0x574243=this[_0x5a91e2(0x31c)]-_0x574243);let _0x150c8b=this[_0x5a91e2(0x585)]['calcAdjValue'](_0x4ceaf2,{'x':_0xba23b6,'y':_0x574243},_0x4825f1,_0x5d4d24,_0x32ff93),_0x4661a7=_0x4825f1['gdRefX']||_0x4825f1[_0x5a91e2(0x2d0)]||_0x4825f1[_0x5a91e2(0x311)]||_0x4825f1['gdRefR'];_0x4661a7!==void 0x0&&(this['_activeShapeModel'][_0x5a91e2(0x54f)](_0x4661a7,_0x150c8b),this[_0x5a91e2(0x585)][_0x5a91e2(0x229)]({'width':this[_0x5a91e2(0x39b)],'height':this[_0x5a91e2(0x31c)]}),this['_updateImageAdjValues'](_0x4d779a,_0x2a344a,_0x148237,_0x4661a7,_0x150c8b),this[_0x5a91e2(0x5e8)]=this[_0x5a91e2(0x585)][_0x5a91e2(0x50f)](),this[_0x5a91e2(0x5c2)]=this['_activeShapeModel'][_0x5a91e2(0x5cb)](_0x57fce9),this[_0x5a91e2(0x26d)](),_0x17244f[_0x5a91e2(0x271)]());}),this['_adjHandlerPointerUp']=_0x3bd149[_0x244b17(0x17a)][_0x244b17(0x4f1)]((_0xfe23d2,_0x580193)=>{const _0x35aefd=_0x244b17;if(this['_adjHandlerPointerMove'][_0x35aefd(0x3d7)](),this[_0x35aefd(0x3cf)][_0x35aefd(0x3d7)](),_0x3bd149['resetCursor'](),this[_0x35aefd(0x585)]){let _0x34e061=this['_activeShapeModel'][_0x35aefd(0x623)](),_0x4e5880={};for(let _0x4f5099 of _0x34e061){let _0x34b861=this[_0x35aefd(0x585)][_0x35aefd(0x5bf)](_0x4f5099);_0x34b861!==void 0x0&&(_0x4e5880[_0x4f5099]=_0x34b861);}this[_0x35aefd(0x424)][_0x35aefd(0x324)](_0x4d779a,_0x2a344a,_0x148237,_0x16a5f7,_0x4e5880);}this[_0x35aefd(0x5c2)]=void 0x0,this['_activeShapeModel']=void 0x0,this[_0x35aefd(0x195)]=!0x1,_0x580193[_0x35aefd(0x271)](),_0x3bd149['enableObjectsEvent']();}),_0x2aa683[_0x244b17(0x271)]();})));}[_0x2c7845(0x54c)](_0x53a58d,_0x45eab0,_0x311ffc,_0x4cdfb9,_0x1fa709){const _0x19ea79=_0x2c7845;let _0x258007=this[_0x19ea79(0x57d)][_0x19ea79(0x215)](_0x53a58d);if(!_0x258007)return;let {scene:_0x5e3027}=_0x258007,_0x1d659f=(0x0,a[_0x19ea79(0x604)])({'unitId':_0x53a58d,'subUnitId':_0x45eab0,'drawingId':_0x311ffc}),_0x2819b3=_0x5e3027['getObject'](_0x1d659f);if(_0x2819b3 instanceof o[_0x19ea79(0x5f2)]){var _0x55bcd9;let _0x76857c=(_0x55bcd9=_0x2819b3[_0x19ea79(0x394)])==null?{}:_0x55bcd9;_0x2819b3[_0x19ea79(0x56b)]({..._0x76857c,[_0x4cdfb9]:_0x1fa709}),_0x2819b3[_0x19ea79(0x4f5)](!0x0);}}[_0x2c7845(0x20c)](){const _0x5f25c=_0x2c7845;let _0x2a5e9d=this[_0x5f25c(0x583)][_0x5f25c(0x3fb)](t[_0x5f25c(0x2b6)][_0x5f25c(0x1ce)]);this['disposeWithMe'](_0x2a5e9d[_0x5f25c(0x208)]((0x0,i[_0x5f25c(0x5ad)])(_0x193f58=>_0x193f58?_0x193f58[_0x5f25c(0x5b2)]['pipe']((0x0,i[_0x5f25c(0x5ad)])(_0x21d078=>{const _0x256de2=_0x5f25c;if(!_0x21d078)return i[_0x256de2(0x554)];let _0x200061=_0x193f58[_0x256de2(0x451)](),_0x465c90=this['_renderManagerService'][_0x256de2(0x215)](_0x200061),_0x369052=_0x465c90==null?void 0x0:_0x465c90[_0x256de2(0x37e)];return _0x369052?(0x0,i['of'])(_0x369052):i[_0x256de2(0x554)];})):i[_0x5f25c(0x554)]))['subscribe'](_0xd3fe31=>{const _0x50b2d0=_0x5f25c;let _0x44365c=_0xd3fe31[_0x50b2d0(0x5bc)]();this[_0x50b2d0(0x2d9)](_0xd3fe31['onPointerMove$']['subscribeEvent'](()=>{const _0x6b0763=_0x50b2d0;this['_isImagePointerDown']&&this[_0x6b0763(0x384)]();})),this[_0x50b2d0(0x2d9)](_0x44365c['changeStart$'][_0x50b2d0(0x2e0)](_0x37867d=>{const _0x566189=_0x50b2d0;let {objects:_0x2afa4c}=_0x37867d;if(this[_0x566189(0x26d)](),_0x2afa4c!==null&&_0x2afa4c[_0x566189(0x3a1)]===0x1){let _0x13c061=_0x2afa4c[_0x566189(0x1f2)]()['next']()[_0x566189(0x4d7)];_0x13c061 instanceof o[_0x566189(0x5f2)]&&_0x13c061[_0x566189(0x493)]&&(this[_0x566189(0x3c7)]=!0x0);}})),this[_0x50b2d0(0x2d9)](_0x44365c[_0x50b2d0(0x29b)][_0x50b2d0(0x2e0)](()=>{const _0x5bdccb=_0x50b2d0;this[_0x5bdccb(0x3c7)]&&this[_0x5bdccb(0x384)]();})),this[_0x50b2d0(0x2d9)](_0xd3fe31[_0x50b2d0(0x17a)]['subscribeEvent'](()=>{const _0x4505b0=_0x50b2d0;this[_0x4505b0(0x3c7)]&&(this[_0x4505b0(0x3c7)]=!0x1,this[_0x4505b0(0x26d)]());})),this[_0x50b2d0(0x2d9)](_0x44365c[_0x50b2d0(0x21b)]['subscribe'](()=>{const _0x54fffa=_0x50b2d0;if(this[_0x54fffa(0x3e1)]&&this['_subUnitId']&&this[_0x54fffa(0x26c)]){let _0x3849aa=this['_getImagePrstGeom'](this[_0x54fffa(0x3e1)],this[_0x54fffa(0x5de)],this[_0x54fffa(0x26c)]);if(_0x3849aa){var _0x146a25,_0x1ce7bd;let _0x25f350=this['_getImageDrawingInfo'](this[_0x54fffa(0x3e1)],this[_0x54fffa(0x5de)],this[_0x54fffa(0x26c)]),_0x150713=(_0x25f350==null||(_0x146a25=_0x25f350[_0x54fffa(0x247)])==null?void 0x0:_0x146a25['width'])||0x0,_0x2be3b7=(_0x25f350==null||(_0x1ce7bd=_0x25f350[_0x54fffa(0x247)])==null?void 0x0:_0x1ce7bd[_0x54fffa(0x283)])||0x0,_0x24afe2=this[_0x54fffa(0x5b3)](_0x3849aa[_0x54fffa(0x493)],_0x150713,_0x2be3b7,_0x3849aa[_0x54fffa(0x3bf)]);_0x24afe2&&(this['_activeAdjustPointList']=_0x24afe2[_0x54fffa(0x50f)](),this[_0x54fffa(0x384)](),this['_createControls'](!0x0));}}}));}));}[_0x2c7845(0x5d1)](){const _0x2bc6a5=_0x2c7845;this[_0x2bc6a5(0x2d9)](this[_0x2bc6a5(0x409)][_0x2bc6a5(0x2ad)][_0x2bc6a5(0x2e0)](_0x3ffae0=>{const _0x1a2ca=_0x2bc6a5;if(_0x3ffae0[_0x1a2ca(0x453)]===0x1){let _0x27d46b=_0x3ffae0[0x0];if(_0x27d46b[_0x1a2ca(0x477)]===t['DrawingTypeEnum']['DRAWING_IMAGE']){let {unitId:_0x5bc812,subUnitId:_0x6fff36,drawingId:_0xfb5021}=_0x27d46b,_0x294115=this[_0x1a2ca(0x233)](_0x5bc812,_0x6fff36,_0xfb5021);if(_0x294115){var _0x520f44,_0x2e581d;this['_activeImageId']=_0xfb5021,this[_0x1a2ca(0x3e1)]=_0x5bc812,this[_0x1a2ca(0x5de)]=_0x6fff36;let _0x3c287c=this[_0x1a2ca(0x56a)](_0x5bc812,_0x6fff36,_0xfb5021),_0x394646=(_0x3c287c==null||(_0x520f44=_0x3c287c[_0x1a2ca(0x247)])==null?void 0x0:_0x520f44[_0x1a2ca(0x61e)])||0x0,_0x5c5fb4=(_0x3c287c==null||(_0x2e581d=_0x3c287c[_0x1a2ca(0x247)])==null?void 0x0:_0x2e581d[_0x1a2ca(0x283)])||0x0,_0x486c65=this[_0x1a2ca(0x5b3)](_0x294115['prstGeom'],_0x394646,_0x5c5fb4,_0x294115[_0x1a2ca(0x3bf)]);_0x486c65&&(this[_0x1a2ca(0x5e8)]=_0x486c65[_0x1a2ca(0x50f)]()),this[_0x1a2ca(0x384)](),this[_0x1a2ca(0x26d)](!0x0);}else this[_0x1a2ca(0x47c)]();}else this[_0x1a2ca(0x47c)]();}else this[_0x1a2ca(0x47c)]();})),this['disposeWithMe'](this[_0x2bc6a5(0x409)]['update$'][_0x2bc6a5(0x2e0)](_0x5c465c=>{const _0x2c373a=_0x2bc6a5;if(_0x5c465c[_0x2c373a(0x453)]===0x1){let _0x5ba726=_0x5c465c[0x0],_0x2bb47f=this['_drawingManagerService'][_0x2c373a(0x310)](_0x5ba726);(_0x2bb47f==null?void 0x0:_0x2bb47f[_0x2c373a(0x477)])===t[_0x2c373a(0x5c1)][_0x2c373a(0x581)]&&this[_0x2c373a(0x26c)]===_0x5ba726[_0x2c373a(0x53b)]&&(this[_0x2c373a(0x384)](),this['_createControls'](!0x0));}})),this[_0x2bc6a5(0x2d9)](this[_0x2bc6a5(0x409)]['remove$'][_0x2bc6a5(0x2e0)](_0x245c71=>{const _0x138722=_0x2bc6a5;for(let _0x48b170 of _0x245c71)this[_0x138722(0x26c)]===_0x48b170['drawingId']&&this['_resetState']();}));}[_0x2c7845(0x47c)](){const _0x214a4f=_0x2c7845;this[_0x214a4f(0x26c)]=null,this['_unitId']=null,this['_subUnitId']=null,this[_0x214a4f(0x5e8)]=void 0x0,this['_clearControls']();}};K=R([L(0x1,a[_0x2c7845(0x1e2)]),L(0x2,(0x0,t[_0x2c7845(0x290)])(o[_0x2c7845(0x17b)])),L(0x3,t['IUniverInstanceService']),L(0x4,(0x0,t[_0x2c7845(0x290)])(H))],K);let q=class extends t[_0x2c7845(0x4d8)]{constructor(_0x7426fc,_0x258572,_0x26eb56,_0x199b72){const _0x588b4d=_0x2c7845;super(),this[_0x588b4d(0x583)]=_0x7426fc,this[_0x588b4d(0x1f7)]=_0x258572,this['_sheetDrawingService']=_0x26eb56,this['_sheetsShapeService']=_0x199b72,this[_0x588b4d(0x346)]();}['_initSheetChange'](){const _0x7080c8=_0x2c7845;this[_0x7080c8(0x2d9)](this[_0x7080c8(0x1f7)]['interceptCommand']({'getMutations':_0x599fa2=>{const _0x55a93b=_0x7080c8;if(_0x599fa2['id']===n[_0x55a93b(0x38b)]['id']){let _0x391a10=(0x0,n[_0x55a93b(0x4d2)])(this[_0x55a93b(0x583)],_0x599fa2['params']);if(!_0x391a10)return{'redos':[],'undos':[]};let {unitId:_0xdfc55,subUnitId:_0x3ffb40}=_0x391a10,_0x190164=this[_0x55a93b(0x2dd)][_0x55a93b(0x4f3)](_0xdfc55,_0x3ffb40),_0x3ab488=Object[_0x55a93b(0x1f2)](_0x190164)[_0x55a93b(0x279)](_0x141714=>_0x141714[_0x55a93b(0x477)]===t[_0x55a93b(0x5c1)]['DRAWING_SHAPE']);if(_0x3ab488[_0x55a93b(0x453)]===0x0)return{'redos':[],'undos':[]};let _0x40915f=[],_0x113ae8=[];for(let _0x1f37e7=0x0;_0x1f37e7<_0x3ab488['length'];_0x1f37e7++){let _0x143e76=_0x3ab488[_0x1f37e7],_0x202b91=this['_sheetsShapeService']['getShapeModel'](_0x143e76['unitId'],_0x143e76[_0x55a93b(0x1ec)],_0x143e76['drawingId']);if(!_0x202b91)continue;let {redo:_0x207692,undo:_0x4bd132,objects:_0x54b995}=this[_0x55a93b(0x2dd)][_0x55a93b(0x363)]([_0x143e76]);_0x40915f[_0x55a93b(0x33a)]({'id':e[_0x55a93b(0x200)]['id'],'params':{'unitId':_0xdfc55,'subUnitId':_0x3ffb40,'shapeId':_0x143e76[_0x55a93b(0x53b)]}}),_0x40915f[_0x55a93b(0x33a)]({'id':r[_0x55a93b(0x482)]['id'],'params':{'unitId':_0xdfc55,'subUnitId':_0x3ffb40,'type':r[_0x55a93b(0x50e)][_0x55a93b(0x3d1)],'op':_0x207692,'objects':_0x54b995}}),_0x113ae8[_0x55a93b(0x33a)]({'id':r[_0x55a93b(0x482)]['id'],'params':{'unitId':_0xdfc55,'subUnitId':_0x3ffb40,'type':r[_0x55a93b(0x50e)][_0x55a93b(0x532)],'op':_0x4bd132,'objects':_0x54b995}}),_0x113ae8[_0x55a93b(0x33a)]({'id':e['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0xdfc55,'subUnitId':_0x3ffb40,'shapeId':_0x143e76[_0x55a93b(0x53b)],'shapeType':_0x202b91[_0x55a93b(0x522)](),'shapeData':JSON['parse'](JSON[_0x55a93b(0x3cb)](_0x202b91[_0x55a93b(0x32a)]()))}});}return{'redos':_0x40915f,'undos':_0x113ae8};}else{if(_0x599fa2['id']===n[_0x55a93b(0x1fd)]['id']){let {unitId:_0x5c2490,subUnitId:_0x2bb0a7,targetSubUnitId:_0x9e72f}=_0x599fa2[_0x55a93b(0x376)];if(!_0x5c2490||!_0x2bb0a7||!_0x9e72f)return{'redos':[],'undos':[]};let _0x48ff8e=this[_0x55a93b(0x2dd)][_0x55a93b(0x4f3)](_0x5c2490,_0x2bb0a7),_0x24ef19=Object['values'](_0x48ff8e)[_0x55a93b(0x279)](_0xf14e2c=>_0xf14e2c[_0x55a93b(0x477)]===t[_0x55a93b(0x5c1)][_0x55a93b(0x2e1)]);if(_0x24ef19['length']===0x0)return{'redos':[],'undos':[]};let _0x386c62=[],_0x4acc09=[];for(let _0x3cace4=0x0;_0x3cace4<_0x24ef19['length'];_0x3cace4++){let _0x3e15e4=_0x24ef19[_0x3cace4],_0x20a05d=this[_0x55a93b(0x368)][_0x55a93b(0x2e5)](_0x3e15e4[_0x55a93b(0x260)],_0x3e15e4['subUnitId'],_0x3e15e4['drawingId']);if(!_0x20a05d)continue;let _0x354c28=(0x0,t[_0x55a93b(0x4eb)])(),_0x1fc83c={..._0x3e15e4,'unitId':_0x5c2490,'subUnitId':_0x9e72f,'drawingId':_0x354c28},{redo:_0x5a0163,undo:_0x2318ab,objects:_0x4d3ddb}=this['_sheetDrawingService']['getBatchAddOp']([_0x1fc83c]);_0x386c62[_0x55a93b(0x33a)]({'id':r[_0x55a93b(0x482)]['id'],'params':{'unitId':_0x5c2490,'subUnitId':_0x9e72f,'type':r[_0x55a93b(0x50e)][_0x55a93b(0x532)],'op':_0x5a0163,'objects':_0x4d3ddb}}),_0x386c62['push']({'id':e['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x5c2490,'subUnitId':_0x9e72f,'shapeId':_0x354c28,'shapeType':_0x20a05d['getShapeType'](),'shapeData':JSON[_0x55a93b(0x341)](JSON[_0x55a93b(0x3cb)](_0x20a05d[_0x55a93b(0x32a)]()))}}),_0x4acc09[_0x55a93b(0x33a)]({'id':e[_0x55a93b(0x200)]['id'],'params':{'unitId':_0x5c2490,'subUnitId':_0x9e72f,'shapeId':_0x354c28}}),_0x4acc09[_0x55a93b(0x33a)]({'id':r[_0x55a93b(0x482)]['id'],'params':{'unitId':_0x5c2490,'subUnitId':_0x9e72f,'type':r['DrawingApplyType'][_0x55a93b(0x3d1)],'op':_0x2318ab,'objects':_0x4d3ddb}});}return{'redos':_0x386c62,'undos':_0x4acc09};}}return{'redos':[],'undos':[]};}}));}};q=R([L(0x0,(0x0,t[_0x2c7845(0x290)])(t[_0x2c7845(0x2ff)])),L(0x1,(0x0,t[_0x2c7845(0x290)])(n['SheetInterceptorService'])),L(0x2,(0x0,t[_0x2c7845(0x290)])(r[_0x2c7845(0x2c5)])),L(0x3,(0x0,t[_0x2c7845(0x290)])(e[_0x2c7845(0x2ee)]))],q);let je=class extends t[_0x2c7845(0x4d8)]{constructor(_0x27a6fe,_0x166b5c,_0xdac73c,_0x243c36,_0x17e130){const _0x65bb30=_0x2c7845;super(),this[_0x65bb30(0x1f4)]=_0x27a6fe,this[_0x65bb30(0x40d)]=_0x166b5c,this[_0x65bb30(0x409)]=_0xdac73c,this[_0x65bb30(0x4fb)]=_0x243c36,this[_0x65bb30(0x368)]=_0x17e130,S(this,_0x65bb30(0x3dc),null),this[_0x65bb30(0x5f3)](),this[_0x65bb30(0x4da)](),this[_0x65bb30(0x1ae)]();}[_0x2c7845(0x5f3)](){const _0x2c1647=_0x2c7845;let {scene:_0x2b1505}=this[_0x2c1647(0x1f4)];this['disposeWithMe'](_0x2b1505['onDblclick$'][_0x2c1647(0x4f1)](_0x44069a=>{const _0x352e2e=_0x2c1647;let {offsetX:_0x21addf,offsetY:_0x58fe96}=_0x44069a,_0x387218=_0x2b1505[_0x352e2e(0x593)](o[_0x352e2e(0x58b)][_0x352e2e(0x1a9)]([_0x21addf,_0x58fe96]));if(_0x387218 instanceof I){if((0x0,u['isConnectorShape'])(this[_0x352e2e(0x368)]['getShapeType'](_0x387218[_0x352e2e(0x260)],_0x387218['subUnitId'],_0x387218['shapeId'])))return;this['_shapeTextEditingService'][_0x352e2e(0x5fe)]({'visible':!0x0,'unitId':_0x387218[_0x352e2e(0x260)],'subUnitId':_0x387218['subUnitId'],'shapeId':_0x387218[_0x352e2e(0x182)],'shapeKey':_0x387218[_0x352e2e(0x297)]});}}));}[_0x2c7845(0x4da)](){const _0x363c56=_0x2c7845;this[_0x363c56(0x2d9)](this[_0x363c56(0x409)][_0x363c56(0x2ad)][_0x363c56(0x2e0)](_0x231573=>{const _0x5c3e7a=_0x363c56;if(_0x231573[_0x5c3e7a(0x453)]===0x1){let _0xc32786=_0x231573[0x0],_0x350d19=this[_0x5c3e7a(0x409)][_0x5c3e7a(0x310)](_0xc32786);if((_0x350d19==null?void 0x0:_0x350d19[_0x5c3e7a(0x477)])===t[_0x5c3e7a(0x5c1)][_0x5c3e7a(0x2e1)]){let _0x2eb51c=this['_shapeTextEditingService']['getEditing']();if((_0x2eb51c==null?void 0x0:_0x2eb51c[_0x5c3e7a(0x182)])===_0xc32786['drawingId']&&_0x2eb51c[_0x5c3e7a(0x542)])return;(0x0,u[_0x5c3e7a(0x1f1)])(this['_sheetsShapeService']['getShapeType'](_0xc32786[_0x5c3e7a(0x260)],_0xc32786['subUnitId'],_0xc32786[_0x5c3e7a(0x53b)]))&&this[_0x5c3e7a(0x40d)][_0x5c3e7a(0x5fe)](null);}else this['_shapeTextEditingService']['getEditing']()&&(this[_0x5c3e7a(0x40d)]['setOnSavingEditorData'](!0x0),requestAnimationFrame(()=>{const _0x3bf215=_0x5c3e7a;this[_0x3bf215(0x40d)][_0x3bf215(0x5fe)](null);}));}else this[_0x5c3e7a(0x40d)][_0x5c3e7a(0x2c4)]()&&(this[_0x5c3e7a(0x40d)][_0x5c3e7a(0x1a1)](!0x0),requestAnimationFrame(()=>{const _0x15a1a5=_0x5c3e7a;this[_0x15a1a5(0x40d)]['setEditing'](null);}));})),this[_0x363c56(0x2d9)](this['_drawingManagerService']['remove$'][_0x363c56(0x2e0)](_0x1b79df=>{const _0x149373=_0x363c56;let _0x554a89=this['_shapeTextEditingService']['getEditing']();_0x554a89&&_0x1b79df[_0x149373(0x5a7)](_0x31bf43=>_0x31bf43['drawingId']===_0x554a89[_0x149373(0x182)])&&this[_0x149373(0x40d)][_0x149373(0x5fe)](null);}));}[_0x2c7845(0x1ae)](){const _0x518c6e=_0x2c7845;this['disposeWithMe'](this[_0x518c6e(0x40d)][_0x518c6e(0x23f)][_0x518c6e(0x2e0)](_0x587280=>{const _0x22ee8a=_0x518c6e;let {scene:_0x50881b}=this[_0x22ee8a(0x1f4)];if(this[_0x22ee8a(0x3dc)]){let _0x5c1ed6=_0x50881b[_0x22ee8a(0x30f)](this[_0x22ee8a(0x3dc)]);_0x5c1ed6&&_0x5c1ed6[_0x22ee8a(0x5fe)](!0x1);}if(_0x587280){let _0x4c45c2=!!_0x587280[_0x22ee8a(0x542)],_0x26d56c=_0x50881b[_0x22ee8a(0x30f)](_0x587280[_0x22ee8a(0x5c4)]);_0x26d56c&&(_0x26d56c[_0x22ee8a(0x5fe)](_0x4c45c2),this[_0x22ee8a(0x3dc)]=_0x587280[_0x22ee8a(0x5c4)]),this['_contextService'][_0x22ee8a(0x53a)](t[_0x22ee8a(0x323)],_0x4c45c2);}else this[_0x22ee8a(0x3dc)]=null,this['_contextService'][_0x22ee8a(0x53a)](t[_0x22ee8a(0x323)],!0x1);}));}};je=R([L(0x1,(0x0,t[_0x2c7845(0x290)])(C)),L(0x2,a['IDrawingManagerService']),L(0x3,t['IContextService']),L(0x4,(0x0,t[_0x2c7845(0x290)])(e[_0x2c7845(0x2ee)]))],je);function Me(){const _0x41205b=_0x2c7845;return(0x0,h[_0x41205b(0x5dc)])(v[_0x41205b(0x1b0)],{});}let J=class extends v['ShapeTextFloatMenuRenderControllerBase']{constructor(_0x66e039,_0x47d900,_0x4e8533,_0x3326f6,_0x139a0b){const _0x45a377=_0x2c7845;super(_0x66e039,_0x47d900,_0x4e8533,_0x3326f6,_0x139a0b,{'componentKey':_0x45a377(0x574),'editorUnitId':te,'toolbarComponent':Me});}};J=R([L(0x1,(0x0,t[_0x2c7845(0x290)])(f['DocSelectionManagerService'])),L(0x2,(0x0,t['Inject'])(s['DocCanvasPopManagerService'])),L(0x3,(0x0,t['Inject'])(l[_0x2c7845(0x530)])),L(0x4,(0x0,t['Inject'])(s[_0x2c7845(0x282)]))],J);const Ne={'normal':{'fill':u[_0x2c7845(0x448)][_0x2c7845(0x223)],'stroke':u[_0x2c7845(0x448)][_0x2c7845(0x44f)],'strokeWidth':u['ShapeDefaultConfig']['cxnPointStrokeWidth']},'highlighted':{'fill':'#4285f4','stroke':_0x2c7845(0x52e),'strokeWidth':0x2}};var Pe=class extends o['Shape']{constructor(_0x322f12,_0x54fb84){const _0x34c0ac=_0x2c7845;super(_0x322f12,_0x54fb84),S(this,_0x34c0ac(0x1fc),''),S(this,_0x34c0ac(0x199),-0x1),S(this,_0x34c0ac(0x3e1),''),S(this,'_subUnitId',''),S(this,'_isHighlighted',!0x1),_0x54fb84&&this[_0x34c0ac(0x393)](_0x54fb84);}[_0x2c7845(0x608)](){const _0x3578de=_0x2c7845;return{'unitId':this[_0x3578de(0x3e1)],'subUnitId':this[_0x3578de(0x5de)],'shapeId':this['_targetShapeId'],'cxnIndex':this[_0x3578de(0x199)]};}[_0x2c7845(0x1c4)](_0x53d641){const _0x537322=_0x2c7845;this[_0x537322(0x50b)]!==_0x53d641&&(this['_isHighlighted']=_0x53d641,this['makeDirty'](!0x0));}[_0x2c7845(0x372)](){return this['_isHighlighted'];}['setShapeProps'](_0xb49c03){const _0x136b02=_0x2c7845;var _0x5d941c,_0x1d3f05;_0xb49c03[_0x136b02(0x579)]!==void 0x0&&(this[_0x136b02(0x1fc)]=_0xb49c03[_0x136b02(0x579)]),_0xb49c03[_0x136b02(0x616)]!==void 0x0&&(this['_cxnIndex']=_0xb49c03[_0x136b02(0x616)]),_0xb49c03['unitId']!==void 0x0&&(this['_unitId']=_0xb49c03[_0x136b02(0x260)]),_0xb49c03['subUnitId']!==void 0x0&&(this[_0x136b02(0x5de)]=_0xb49c03['subUnitId']),_0xb49c03[_0x136b02(0x372)]!==void 0x0&&(this[_0x136b02(0x50b)]=_0xb49c03[_0x136b02(0x372)]),this[_0x136b02(0x4a5)]({'width':(_0x5d941c=_0xb49c03[_0x136b02(0x61e)])==null?u[_0x136b02(0x448)][_0x136b02(0x321)]*0x2:_0x5d941c,'height':(_0x1d3f05=_0xb49c03[_0x136b02(0x283)])==null?u[_0x136b02(0x448)]['cxnPointRadius']*0x2:_0x1d3f05});}['_draw'](_0x37f2b9){const _0x3c8f49=_0x2c7845;let _0x365d72=this['_isHighlighted']?Ne[_0x3c8f49(0x22c)]:Ne[_0x3c8f49(0x5c0)];o[_0x3c8f49(0x549)][_0x3c8f49(0x600)](_0x37f2b9,{'radius':u[_0x3c8f49(0x448)][_0x3c8f49(0x321)],'fill':_0x365d72[_0x3c8f49(0x59d)],'stroke':_0x365d72[_0x3c8f49(0x3c9)],'strokeWidth':_0x365d72[_0x3c8f49(0x606)],'evented':!0x0});}};let Y=class extends t['Disposable']{constructor(_0x1b0232,_0x538763,_0x1856ca,_0x1f5603){const _0x25b41a=_0x2c7845;super(),this[_0x25b41a(0x1f4)]=_0x1b0232,this[_0x25b41a(0x57d)]=_0x538763,this[_0x25b41a(0x409)]=_0x1856ca,this[_0x25b41a(0x368)]=_0x1f5603,S(this,_0x25b41a(0x3cd),[]),S(this,_0x25b41a(0x339),null),S(this,_0x25b41a(0x326),-0x1),S(this,_0x25b41a(0x45a),null),S(this,_0x25b41a(0x3e1),''),S(this,_0x25b41a(0x5de),''),S(this,_0x25b41a(0x4e3),null);}[_0x2c7845(0x629)](_0x4a913e,_0xd54154,_0x5dff94,_0x5c8275){const _0x589fb6=_0x2c7845;this['_currentScene']=_0x4a913e,this['_unitId']=_0xd54154,this[_0x589fb6(0x5de)]=_0x5dff94,this['_draggingConnectorId']=_0x5c8275;}['updateConnectionDetection'](_0x11e6e0){const _0xb09486=_0x2c7845;if(!this[_0xb09486(0x45a)])return null;let _0x508331=this[_0xb09486(0x619)](_0x11e6e0);return _0x508331?(this[_0xb09486(0x339)]!==_0x508331[_0xb09486(0x182)]&&(this[_0xb09486(0x447)](),this[_0xb09486(0x18a)](_0x508331[_0xb09486(0x182)],_0x508331[_0xb09486(0x412)]),this['_activeTargetShapeId']=_0x508331[_0xb09486(0x182)]),this['_findNearestConnectionSite'](_0x11e6e0)):(this['_activeTargetShapeId']!==null&&(this[_0xb09486(0x447)](),this['_activeTargetShapeId']=null),null);}[_0x2c7845(0x4d0)](){const _0x36a705=_0x2c7845;this[_0x36a705(0x447)](),this['_currentScene']=null,this[_0x36a705(0x339)]=null,this[_0x36a705(0x326)]=-0x1,this['_draggingConnectorId']=null;}[_0x2c7845(0x1f8)](){const _0x443278=_0x2c7845;return this['_activeTargetShapeId']===null||this[_0x443278(0x326)]<0x0?null:{'shapeId':this['_activeTargetShapeId'],'cxnIndex':this['_highlightedSiteIndex']};}['_findShapeAtPoint'](_0x667e31){const _0x1b0fbd=_0x2c7845;let _0x26b887=this['_drawingManagerService']['getDrawingData'](this[_0x1b0fbd(0x3e1)],this['_subUnitId']);for(let _0x5c2b37 of Object[_0x1b0fbd(0x39e)](_0x26b887)){if(_0x5c2b37===this['_draggingConnectorId']||_0x26b887[_0x5c2b37][_0x1b0fbd(0x477)]!==t['DrawingTypeEnum']['DRAWING_SHAPE'])continue;let _0x58b303=this['_sheetsShapeService']['getShapeModel'](this[_0x1b0fbd(0x3e1)],this[_0x1b0fbd(0x5de)],_0x5c2b37);if(!_0x58b303||(0x0,u['isConnectorShape'])(_0x58b303[_0x1b0fbd(0x522)]())||_0x58b303[_0x1b0fbd(0x1bc)]()[_0x1b0fbd(0x453)]===0x0||!this[_0x1b0fbd(0x45a)])continue;let _0x372af9=(0x0,a[_0x1b0fbd(0x604)])({'unitId':this[_0x1b0fbd(0x3e1)],'subUnitId':this[_0x1b0fbd(0x5de)],'drawingId':_0x5c2b37}),_0xe3a3f6=this[_0x1b0fbd(0x45a)]['getObjectIncludeInGroup'](_0x372af9);if(!_0xe3a3f6)continue;let {left:_0x3ccf62,top:_0x4a7a9e,width:_0x33f58b,height:_0x2881e9}=_0xe3a3f6['getRealBound'](),_0x4c7684=_0x3ccf62+_0x33f58b/0x2,_0x3bab23=_0x4a7a9e+_0x2881e9/0x2,_0x3d77be=_0xe3a3f6[_0x1b0fbd(0x247)]['getMatrix'](),_0x2f4ded=new o[(_0x1b0fbd(0x2c0))]([_0x3d77be[0x0],_0x3d77be[0x1],_0x3d77be[0x2],_0x3d77be[0x3],_0x4c7684,_0x3bab23]),_0x19f160=_0xe3a3f6[_0x1b0fbd(0x475)](),_0x5ba1d6=(_0xe3a3f6[_0x1b0fbd(0x5d6)]&&(_0x19f160==null?void 0x0:_0x19f160[_0x1b0fbd(0x3fa)])===o[_0x1b0fbd(0x4d3)][_0x1b0fbd(0x1be)]?_0x19f160[_0x1b0fbd(0x5a2)]['multiply'](_0x2f4ded):_0x2f4ded)['invert']()['applyPoint'](_0x667e31),_0x543736=_0x33f58b/0x2,_0x5c5d3c=_0x2881e9/0x2;if(_0x5ba1d6['x']>=-_0x543736-0x5&&_0x5ba1d6['x']<=_0x543736+0x5&&_0x5ba1d6['y']>=-_0x5c5d3c-0x5&&_0x5ba1d6['y']<=_0x5c5d3c+0x5)return{'shapeId':_0x5c2b37,'shapeModel':_0x58b303};}return null;}[_0x2c7845(0x18a)](_0x3007ad,_0x49e773){const _0xc55dcf=_0x2c7845;if(!this['_currentScene'])return;let _0x51ce5f=(0x0,a['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0xc55dcf(0x3e1)],'subUnitId':this[_0xc55dcf(0x5de)],'drawingId':_0x3007ad}),_0x4cb2d5=this['_currentScene'][_0xc55dcf(0x30f)](_0x51ce5f);if(!_0x4cb2d5)return;let {left:_0x125514,top:_0x422e7d,width:_0x384631,height:_0x69ebac}=_0x4cb2d5[_0xc55dcf(0x2e7)](),_0x2d5321=_0x125514+_0x384631/0x2,_0x5e3784=_0x422e7d+_0x69ebac/0x2,_0x3ec9dd=_0x4cb2d5[_0xc55dcf(0x247)][_0xc55dcf(0x54b)](),_0x48284b=new o[(_0xc55dcf(0x2c0))]([_0x3ec9dd[0x0],_0x3ec9dd[0x1],_0x3ec9dd[0x2],_0x3ec9dd[0x3],_0x2d5321,_0x5e3784]),_0x1df9e8=_0x4cb2d5[_0xc55dcf(0x475)](),_0x4be48c=_0x4cb2d5[_0xc55dcf(0x5d6)]&&(_0x1df9e8==null?void 0x0:_0x1df9e8[_0xc55dcf(0x3fa)])===o[_0xc55dcf(0x4d3)][_0xc55dcf(0x1be)]?_0x1df9e8[_0xc55dcf(0x5a2)][_0xc55dcf(0x2ec)](_0x48284b):_0x48284b;_0x49e773[_0xc55dcf(0x229)]({'width':_0x384631,'height':_0x69ebac});let _0x3a6886=_0x49e773[_0xc55dcf(0x1bc)]();for(let _0x3dc2dc of _0x3a6886){let _0x43e7db=_0x3dc2dc['x']-_0x384631/0x2,_0x120919=_0x3dc2dc['y']-_0x69ebac/0x2,_0x495d2c=_0x4be48c[_0xc55dcf(0x465)]({'x':_0x43e7db,'y':_0x120919}),_0x2b0e64=_0x495d2c['x'],_0x23a78c=_0x495d2c['y'],_0x206615=new Pe(_0xc55dcf(0x2ca)+_0x3007ad+'-'+_0x3dc2dc[_0xc55dcf(0x2dc)],{'left':_0x2b0e64-u[_0xc55dcf(0x448)][_0xc55dcf(0x321)],'top':_0x23a78c-u['ShapeDefaultConfig'][_0xc55dcf(0x321)],'targetShapeId':_0x3007ad,'cxnIndex':_0x3dc2dc[_0xc55dcf(0x2dc)],'unitId':this[_0xc55dcf(0x3e1)],'subUnitId':this[_0xc55dcf(0x5de)],'width':u[_0xc55dcf(0x448)][_0xc55dcf(0x321)]*0x2,'height':u[_0xc55dcf(0x448)][_0xc55dcf(0x321)]*0x2,'zIndex':o['DRAWING_OBJECT_LAYER_INDEX']+0x2,'evented':!0x1});this['_connectionSiteObjects'][_0xc55dcf(0x33a)](_0x206615),this[_0xc55dcf(0x45a)]['addObject'](_0x206615,o[_0xc55dcf(0x410)]+0x2);}}[_0x2c7845(0x186)](_0x2f4229){const _0x129fb2=_0x2c7845;let _0x2764e2=null,_0x2aa10d=0x1/0x0,_0x2c2ee6=null;for(let _0x11c32e of this[_0x129fb2(0x3cd)]){let _0x57e30c=_0x11c32e[_0x129fb2(0x265)]+u[_0x129fb2(0x448)][_0x129fb2(0x321)],_0x26d247=_0x11c32e['top']+u['ShapeDefaultConfig']['cxnPointRadius'],_0x4fe665=_0x2f4229['x']-_0x57e30c,_0x267f1c=_0x2f4229['y']-_0x26d247,_0x1fca0d=Math['sqrt'](_0x4fe665*_0x4fe665+_0x267f1c*_0x267f1c);_0x1fca0d<_0x2aa10d&&(_0x2aa10d=_0x1fca0d,_0x2764e2=_0x11c32e,_0x2c2ee6={'x':_0x57e30c,'y':_0x26d247});}let _0x112993=_0x2aa10d<=0xa&&_0x2764e2?_0x2764e2[_0x129fb2(0x608)]()['cxnIndex']:-0x1;if(_0x112993!==this[_0x129fb2(0x326)]){for(let _0x5d1cc6 of this[_0x129fb2(0x3cd)]){let _0x2dd129=_0x5d1cc6[_0x129fb2(0x608)]();_0x5d1cc6[_0x129fb2(0x1c4)](_0x2dd129['cxnIndex']===_0x112993);}this[_0x129fb2(0x326)]=_0x112993;}if(_0x2aa10d<=0xa&&_0x2764e2&&_0x2c2ee6){let _0x50080a=_0x2764e2[_0x129fb2(0x608)](),_0x20c7a8=this['_getConnectionSiteAngle'](_0x50080a['shapeId'],_0x50080a['cxnIndex']);return{'shapeId':_0x50080a['shapeId'],'cxnIndex':_0x50080a['cxnIndex'],'unitId':_0x50080a[_0x129fb2(0x260)],'subUnitId':_0x50080a[_0x129fb2(0x1ec)],'worldPoint':_0x2c2ee6,'angle':_0x20c7a8};}return null;}['_getConnectionSiteAngle'](_0x4fd521,_0x5c8b9a){const _0x3d3db8=_0x2c7845;let _0xb7e7f0=this[_0x3d3db8(0x368)][_0x3d3db8(0x2e5)](this[_0x3d3db8(0x3e1)],this[_0x3d3db8(0x5de)],_0x4fd521);if(!_0xb7e7f0)return 0x0;let _0x300fbe=this[_0x3d3db8(0x409)][_0x3d3db8(0x310)]({'unitId':this[_0x3d3db8(0x3e1)],'subUnitId':this[_0x3d3db8(0x5de)],'drawingId':_0x4fd521});if(!(_0x300fbe!=null&&_0x300fbe['transform']))return 0x0;let {width:_0x466f7f=0x0,height:_0x2ce5a4=0x0,flipX:_0x350c4c=!0x1,flipY:_0x227112=!0x1}=_0x300fbe[_0x3d3db8(0x247)];_0xb7e7f0[_0x3d3db8(0x229)]({'width':_0x466f7f,'height':_0x2ce5a4});let _0x280ee4=_0xb7e7f0[_0x3d3db8(0x1bc)]()[_0x3d3db8(0x5af)](_0x48b051=>_0x48b051[_0x3d3db8(0x2dc)]===_0x5c8b9a);if(!_0x280ee4)return 0x0;let _0x3f7094=_0x280ee4['ang']/0xea60;return _0x350c4c&&(_0x3f7094=0xb4-_0x3f7094),_0x227112&&(_0x3f7094=-_0x3f7094),_0x3f7094=(_0x3f7094%0x168+0x168)%0x168,_0x3f7094;}[_0x2c7845(0x447)](){const _0x22dca2=_0x2c7845;for(let _0x21bba9 of this[_0x22dca2(0x3cd)])_0x21bba9[_0x22dca2(0x35d)]();this[_0x22dca2(0x3cd)]=[],this[_0x22dca2(0x326)]=-0x1;}[_0x2c7845(0x35d)](){const _0x390ae1=_0x2c7845;this[_0x390ae1(0x447)](),super[_0x390ae1(0x35d)]();}};Y=R([L(0x1,(0x0,t[_0x2c7845(0x290)])(o[_0x2c7845(0x17b)])),L(0x2,(0x0,t[_0x2c7845(0x290)])(a[_0x2c7845(0x1e2)])),L(0x3,(0x0,t[_0x2c7845(0x290)])(e[_0x2c7845(0x2ee)]))],Y);let X=class extends t[_0x2c7845(0x4d8)]{constructor(_0x33ff71,_0x65dae4,_0x3ebf5e,_0xcba97e,_0x563c1e){const _0x90066e=_0x2c7845;super(),this['_sheetSkeletonService']=_0x33ff71,this[_0x90066e(0x5f1)]=_0x65dae4,this[_0x90066e(0x2dd)]=_0x3ebf5e,this['_shapeService']=_0xcba97e,this[_0x90066e(0x331)]=_0x563c1e,S(this,_0x90066e(0x479),void 0x0),this[_0x90066e(0x360)](),this[_0x90066e(0x611)]();}get['_focusedDrawings'](){const _0x4c1e4a=_0x2c7845;return this[_0x4c1e4a(0x2dd)][_0x4c1e4a(0x5ed)]();}[_0x2c7845(0x611)](){this['_groupCopyPasteController']['registerFeaturePasteHook'](({fromUnitId:_0x21d0bf,fromSubUnitId:_0x5432ee,toUnitId:_0x4a6b4e,toSubUnitId:_0x461c17,idMap:_0xd93c2c})=>{const _0x1767a8=_0x4844;let _0x477d41=[],_0x16bf14=[];for(let [_0x3043ea,_0x1b86cd]of _0xd93c2c[_0x1767a8(0x541)]()){let _0x42bb1b=this['_shapeService']['getShapeModel'](_0x21d0bf,_0x5432ee,_0x3043ea);if(!_0x42bb1b)continue;let _0x5d6107=_0x42bb1b[_0x1767a8(0x522)](),_0x5b474f=JSON[_0x1767a8(0x341)](JSON['stringify'](_0x42bb1b[_0x1767a8(0x32a)]()));if(_0x5b474f['relation']){var _0x130add,_0x187057;let _0x1857f2=(_0x130add=_0x5b474f[_0x1767a8(0x492)][_0x1767a8(0x5ae)])==null?void 0x0:_0x130add[_0x1767a8(0x182)],_0x100a9e=(_0x187057=_0x5b474f['relation']['to'])==null?void 0x0:_0x187057[_0x1767a8(0x182)],_0x27b487=_0x1857f2?_0xd93c2c[_0x1767a8(0x582)](_0x1857f2):!0x0,_0x121642=_0x100a9e?_0xd93c2c[_0x1767a8(0x582)](_0x100a9e):!0x0;_0x27b487&&_0x1857f2&&_0x5b474f[_0x1767a8(0x492)]['from']?_0x5b474f[_0x1767a8(0x492)]['from']={..._0x5b474f[_0x1767a8(0x492)]['from'],'shapeId':_0xd93c2c[_0x1767a8(0x1a8)](_0x1857f2)}:_0x5b474f[_0x1767a8(0x492)][_0x1767a8(0x5ae)]=void 0x0,_0x121642&&_0x100a9e&&_0x5b474f[_0x1767a8(0x492)]['to']?_0x5b474f[_0x1767a8(0x492)]['to']={..._0x5b474f[_0x1767a8(0x492)]['to'],'shapeId':_0xd93c2c[_0x1767a8(0x1a8)](_0x100a9e)}:_0x5b474f[_0x1767a8(0x492)]['to']=void 0x0;}_0x477d41['push']({'id':e[_0x1767a8(0x375)]['id'],'params':{'unitId':_0x4a6b4e,'subUnitId':_0x461c17,'shapeId':_0x1b86cd,'shapeType':_0x5d6107,'shapeData':_0x5b474f}}),_0x16bf14[_0x1767a8(0x33a)]({'id':e[_0x1767a8(0x200)]['id'],'params':{'unitId':_0x4a6b4e,'subUnitId':_0x461c17,'shapeId':_0x1b86cd}});}return{'redos':_0x477d41,'undos':_0x16bf14};});}[_0x2c7845(0x360)](){const _0x294eff=_0x2c7845;this[_0x294eff(0x2d9)](this[_0x294eff(0x5f1)][_0x294eff(0x27c)]({'id':_0x294eff(0x28b),'onBeforeCopy':(_0x43fca6,_0x170b42,_0x504533,_0xc0a2d1)=>{const _0x297ad3=_0x294eff;this[_0x297ad3(0x479)]=null;let _0x35c2bd=this[_0x297ad3(0x5d2)];if(_0x35c2bd['length']){let _0x51079b=_0x35c2bd[_0x297ad3(0x279)](_0x9fd281=>_0x9fd281[_0x297ad3(0x477)]===t['DrawingTypeEnum']['DRAWING_SHAPE']);if(_0x51079b[_0x297ad3(0x453)]===0x0)return;this[_0x297ad3(0x479)]={'unitId':_0x43fca6,'subUnitId':_0x170b42,'copyType':_0xc0a2d1,'drawings':_0x51079b};}else this[_0x297ad3(0x45c)](_0x43fca6,_0x170b42,_0x504533,_0xc0a2d1);},'onPasteCells':(_0x192194,_0x204edb,_0x1797a7,_0x39f36e)=>{const _0x28685d=_0x294eff;if(!this['_copyInfo'])return{'redos':[],'undos':[]};let {pasteType:_0x311b66}=_0x39f36e;return _0x311b66===c[_0x28685d(0x3e6)]['DEFAULT_PASTE']?this[_0x28685d(0x4e9)](_0x204edb,this[_0x28685d(0x479)][_0x28685d(0x5f5)]===c[_0x28685d(0x2b5)]['CUT']):{'redos':[],'undos':[]};},'onPasteUnrecognized':_0x10f1fe=>this[_0x294eff(0x479)]?this[_0x294eff(0x4e9)](_0x10f1fe,this['_copyInfo'][_0x294eff(0x5f5)]===c[_0x294eff(0x2b5)]['CUT']):{'redos':[],'undos':[]}}));}[_0x2c7845(0x45c)](_0x3c5d3b,_0x2c84ea,_0x396642,_0x53b010){const _0x282cdf=_0x2c7845;let _0x10da8e=this[_0x282cdf(0x3d2)]['getSkeleton'](_0x3c5d3b,_0x2c84ea);if(!_0x10da8e)return;let _0x7b887d=(0x0,n[_0x282cdf(0x4a2)])(_0x10da8e,_0x396642);if(!_0x7b887d)return;let {startX:_0x4a48c8,endX:_0x35c9ff,startY:_0x1d189b,endY:_0x285c0e}=_0x7b887d,_0x34b60f=this[_0x282cdf(0x2dd)][_0x282cdf(0x4f3)](_0x3c5d3b,_0x2c84ea),_0x4996e8=this[_0x282cdf(0x5d2)]['slice']();for(let [_0x5210dc,_0xfd1785]of Object[_0x282cdf(0x541)](_0x34b60f)){if(_0xfd1785[_0x282cdf(0x477)]!==t['DrawingTypeEnum'][_0x282cdf(0x2e1)])continue;let {transform:_0x1ee3c5}=_0xfd1785;if(!_0x1ee3c5)continue;let {left:_0x48ca0a=0x0,top:_0x476038=0x0,width:_0x5e9721=0x0,height:_0x418511=0x0}=_0x1ee3c5;_0x4a48c8<=_0x48ca0a&&_0x35c9ff>=_0x48ca0a+_0x5e9721&&_0x1d189b<=_0x476038&&_0x285c0e>=_0x476038+_0x418511&&_0x4996e8[_0x282cdf(0x33a)](_0xfd1785);}_0x4996e8[_0x282cdf(0x453)]>0x0&&(this[_0x282cdf(0x479)]={'unitId':_0x3c5d3b,'subUnitId':_0x2c84ea,'copyType':_0x53b010,'copyRange':_0x396642,'drawings':_0x4996e8});}[_0x2c7845(0x4e9)](_0x40303d,_0x2f2aee){const _0x20f12d=_0x2c7845;let {unitId:_0x309190,subUnitId:_0x57aef0,range:_0x217790}=_0x40303d,_0x30ba4b=this[_0x20f12d(0x3d2)][_0x20f12d(0x3c1)](_0x309190,_0x57aef0);if(!_0x30ba4b)return{'redos':[],'undos':[]};let _0x2d844b=(0x0,n['discreteRangeToRange'])(_0x217790),{unitId:_0x39b588,subUnitId:_0x3eaa29,copyRange:_0x163174,drawings:_0xc550c3}=this['_copyInfo'],_0x6c7eaa=this[_0x20f12d(0x3d2)]['getSkeleton'](_0x39b588,_0x3eaa29);if(!_0x6c7eaa)return{'redos':[],'undos':[]};let _0x3a6c25;if(!_0x163174){let _0x327e68=0x1/0x0,_0x55fe2b=0x1/0x0;for(let _0x1219a4 of _0xc550c3){var _0x4c5c58;let {left:_0x1c6794=0x0,top:_0x11b48f=0x0}=(_0x4c5c58=_0x1219a4[_0x20f12d(0x247)])==null?{}:_0x4c5c58;_0x1c6794<_0x327e68&&(_0x327e68=_0x1c6794),_0x11b48f<_0x55fe2b&&(_0x55fe2b=_0x11b48f);}_0x327e68!==0x1/0x0&&_0x55fe2b!==0x1/0x0&&(_0x3a6c25={'left':_0x327e68,'top':_0x55fe2b});}let _0x2cf208=new Map();if(!_0x2f2aee){for(let _0xeb6e15 of _0xc550c3)_0x2cf208[_0x20f12d(0x37d)](_0xeb6e15[_0x20f12d(0x53b)],(0x0,t['generateRandomId'])());}let _0x95d2eb=[],_0x309f3a=[];for(let _0x105b5d of _0xc550c3){let {drawingId:_0xe27d8a,transform:_0x2cf9bc,sheetTransform:_0x54feed}=_0x105b5d;if(!_0x2cf9bc||!_0x54feed)continue;let _0x3a5f4c=this['_updateTransform']({'transform':_0x2cf9bc,'sheetTransform':_0x54feed},{'skeleton':_0x6c7eaa,'range':_0x163174},{'skeleton':_0x30ba4b,'range':_0x2d844b},_0x3a6c25);if(_0x2f2aee){let {redos:_0x189353,undos:_0x37f358}=this[_0x20f12d(0x529)]({'fromUnitId':_0x39b588,'fromSubUnitId':_0x3eaa29,'toUnitId':_0x309190,'toSubUnitId':_0x57aef0,'drawing':_0x105b5d,'newTransforms':_0x3a5f4c});_0x95d2eb[_0x20f12d(0x33a)](..._0x189353),_0x309f3a[_0x20f12d(0x33a)](..._0x37f358);continue;}let {redos:_0x266fbc,undos:_0x168393}=this[_0x20f12d(0x408)]({'toUnitId':_0x309190,'toSubUnitId':_0x57aef0,'drawing':_0x105b5d,'newTransforms':_0x3a5f4c,'newDrawingId':_0x2cf208[_0x20f12d(0x1a8)](_0xe27d8a),'idMap':_0x2cf208});_0x95d2eb['push'](..._0x266fbc),_0x309f3a['push'](..._0x168393);}return{'redos':_0x95d2eb,'undos':_0x309f3a};}[_0x2c7845(0x529)](_0x308ffe){const _0x5ce6d9=_0x2c7845;let {fromUnitId:_0xd549b2,fromSubUnitId:_0x25071d,toUnitId:_0x2f7a8e,toSubUnitId:_0x15538a,drawing:_0x4a96f9,newTransforms:_0x248102}=_0x308ffe,_0x39773f={..._0x4a96f9,'unitId':_0x2f7a8e,'subUnitId':_0x15538a,'transform':_0x248102[_0x5ce6d9(0x247)],'sheetTransform':_0x248102[_0x5ce6d9(0x3e3)]};if(_0x2f7a8e===_0xd549b2&&_0x15538a===_0x25071d){let {redo:_0x4169fe,undo:_0x555923,objects:_0x387b3a}=this['_sheetDrawingService'][_0x5ce6d9(0x3d6)]([_0x39773f]);return{'redos':[{'id':r[_0x5ce6d9(0x482)]['id'],'params':{'unitId':_0x2f7a8e,'subUnitId':_0x15538a,'type':r[_0x5ce6d9(0x50e)][_0x5ce6d9(0x4d1)],'op':_0x4169fe,'objects':_0x387b3a}}],'undos':[{'id':r['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x2f7a8e,'subUnitId':_0x15538a,'type':r['DrawingApplyType'][_0x5ce6d9(0x4d1)],'op':_0x555923,'objects':_0x387b3a}}]};}else{let _0x37a3e2=this[_0x5ce6d9(0x2dd)][_0x5ce6d9(0x363)]([_0x4a96f9]),_0xadcd69=this[_0x5ce6d9(0x2dd)][_0x5ce6d9(0x2f1)]([_0x39773f]),_0x1cd80c=this[_0x5ce6d9(0x2f6)][_0x5ce6d9(0x2e5)](_0x4a96f9[_0x5ce6d9(0x260)],_0x4a96f9[_0x5ce6d9(0x1ec)],_0x4a96f9['drawingId']);if(!_0x1cd80c)return{'redos':[],'undos':[]};let _0xd0104f=_0x1cd80c['getShapeType'](),_0x24e492=JSON['parse'](JSON[_0x5ce6d9(0x3cb)](_0x1cd80c[_0x5ce6d9(0x32a)]()));return{'redos':[{'id':r[_0x5ce6d9(0x482)]['id'],'params':{'unitId':_0xd549b2,'subUnitId':_0x25071d,'type':r[_0x5ce6d9(0x50e)][_0x5ce6d9(0x3d1)],'op':_0x37a3e2[_0x5ce6d9(0x34b)],'objects':_0x37a3e2[_0x5ce6d9(0x400)]}},{'id':e['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0xd549b2,'subUnitId':_0x25071d,'shapeId':_0x4a96f9[_0x5ce6d9(0x53b)]}},{'id':r[_0x5ce6d9(0x482)]['id'],'params':{'unitId':_0x2f7a8e,'subUnitId':_0x15538a,'type':r[_0x5ce6d9(0x50e)][_0x5ce6d9(0x532)],'op':_0xadcd69[_0x5ce6d9(0x34b)],'objects':_0xadcd69['objects']}},{'id':e[_0x5ce6d9(0x375)]['id'],'params':{'unitId':_0x2f7a8e,'subUnitId':_0x15538a,'shapeId':_0x4a96f9['drawingId'],'shapeType':_0xd0104f,'shapeData':_0x24e492}}],'undos':[{'id':r[_0x5ce6d9(0x482)]['id'],'params':{'unitId':_0xd549b2,'subUnitId':_0x25071d,'type':r['DrawingApplyType']['INSERT'],'op':_0x37a3e2['undo'],'objects':_0x37a3e2[_0x5ce6d9(0x400)]}},{'id':e[_0x5ce6d9(0x375)]['id'],'params':{'unitId':_0xd549b2,'subUnitId':_0x25071d,'shapeId':_0x4a96f9['drawingId'],'shapeType':_0xd0104f,'shapeData':_0x24e492}},{'id':r[_0x5ce6d9(0x482)]['id'],'params':{'unitId':_0x2f7a8e,'subUnitId':_0x15538a,'type':r['DrawingApplyType'][_0x5ce6d9(0x3d1)],'op':_0xadcd69['undo'],'objects':_0xadcd69[_0x5ce6d9(0x400)]}},{'id':e[_0x5ce6d9(0x200)]['id'],'params':{'unitId':_0x2f7a8e,'subUnitId':_0x15538a,'shapeId':_0x4a96f9[_0x5ce6d9(0x53b)]}}]};}}[_0x2c7845(0x408)](_0x428059){const _0x412da3=_0x2c7845;let {toUnitId:_0x2b52c6,toSubUnitId:_0x1bc00c,drawing:_0x474f52,newTransforms:_0x26719c,newDrawingId:_0x1e5ebc,idMap:_0x502d5b}=_0x428059,_0x49613a={..._0x474f52,'unitId':_0x2b52c6,'subUnitId':_0x1bc00c,'drawingId':_0x1e5ebc,'transform':_0x26719c[_0x412da3(0x247)],'sheetTransform':_0x26719c['sheetTransform']},{redo:_0x571c92,undo:_0x3e4a65,objects:_0x5128c7}=this[_0x412da3(0x2dd)][_0x412da3(0x2f1)]([_0x49613a]),_0x534fe7=this[_0x412da3(0x2f6)][_0x412da3(0x2e5)](_0x474f52[_0x412da3(0x260)],_0x474f52[_0x412da3(0x1ec)],_0x474f52[_0x412da3(0x53b)]);if(!_0x534fe7)return{'redos':[],'undos':[]};let _0x31976d=_0x534fe7['getShapeType'](),_0x4ea0b3=JSON[_0x412da3(0x341)](JSON[_0x412da3(0x3cb)](_0x534fe7['getShapeData']()));if(_0x4ea0b3[_0x412da3(0x492)]){var _0x1b4c5a,_0x1e74a4;let _0x460fc4=(_0x1b4c5a=_0x4ea0b3[_0x412da3(0x492)][_0x412da3(0x5ae)])==null?void 0x0:_0x1b4c5a[_0x412da3(0x182)],_0x5aedd6=(_0x1e74a4=_0x4ea0b3[_0x412da3(0x492)]['to'])==null?void 0x0:_0x1e74a4[_0x412da3(0x182)],_0x5d2fdd=_0x460fc4?_0x502d5b[_0x412da3(0x582)](_0x460fc4):!0x0,_0x48f7e3=_0x5aedd6?_0x502d5b[_0x412da3(0x582)](_0x5aedd6):!0x0;_0x5d2fdd&&_0x460fc4&&_0x4ea0b3[_0x412da3(0x492)]['from']?_0x4ea0b3[_0x412da3(0x492)][_0x412da3(0x5ae)]={..._0x4ea0b3['relation']['from'],'shapeId':_0x502d5b['get'](_0x460fc4)}:_0x4ea0b3[_0x412da3(0x492)][_0x412da3(0x5ae)]=void 0x0,_0x48f7e3&&_0x5aedd6&&_0x4ea0b3[_0x412da3(0x492)]['to']?_0x4ea0b3['relation']['to']={..._0x4ea0b3[_0x412da3(0x492)]['to'],'shapeId':_0x502d5b[_0x412da3(0x1a8)](_0x5aedd6)}:_0x4ea0b3[_0x412da3(0x492)]['to']=void 0x0;}return{'redos':[{'id':r[_0x412da3(0x482)]['id'],'params':{'unitId':_0x2b52c6,'subUnitId':_0x1bc00c,'type':r[_0x412da3(0x50e)]['INSERT'],'op':_0x571c92,'objects':_0x5128c7}},{'id':e[_0x412da3(0x375)]['id'],'params':{'unitId':_0x2b52c6,'subUnitId':_0x1bc00c,'shapeId':_0x1e5ebc,'shapeType':_0x31976d,'shapeData':_0x4ea0b3}}],'undos':[{'id':r['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x2b52c6,'subUnitId':_0x1bc00c,'type':r[_0x412da3(0x50e)][_0x412da3(0x3d1)],'op':_0x3e4a65,'objects':_0x5128c7}},{'id':e[_0x412da3(0x200)]['id'],'params':{'unitId':_0x2b52c6,'subUnitId':_0x1bc00c,'shapeId':_0x1e5ebc}}]};}[_0x2c7845(0x501)](_0x1d4f18,_0x26d5a4,_0x2b231b,_0x59ae58){const _0x39af58=_0x2c7845;var _0x9e633b;let {range:_0x19bd8f,skeleton:_0x37abd3}=_0x26d5a4,{range:_0x2eed97,skeleton:_0x581e49}=_0x2b231b,{transform:_0x54f823,sheetTransform:_0x49d08b}=_0x1d4f18,_0x3dca8e={..._0x54f823};if(_0x19bd8f){let _0x2aebae=(0x0,n['attachRangeWithCoord'])(_0x37abd3,_0x19bd8f),_0x33bbab=(0x0,n[_0x39af58(0x4a2)])(_0x581e49,_0x2eed97);if(_0x2aebae&&_0x33bbab){var _0x43edca,_0x36b8cc;let _0x58c2e6=_0x33bbab[_0x39af58(0x322)]-_0x2aebae[_0x39af58(0x322)],_0x55770b=_0x33bbab[_0x39af58(0x628)]-_0x2aebae['startY'];_0x3dca8e[_0x39af58(0x265)]=((_0x43edca=_0x3dca8e['left'])==null?0x0:_0x43edca)+_0x58c2e6,_0x3dca8e[_0x39af58(0x1c3)]=((_0x36b8cc=_0x3dca8e['top'])==null?0x0:_0x36b8cc)+_0x55770b;}}else{let _0x28c06a=(0x0,n[_0x39af58(0x4a2)])(_0x581e49,_0x2eed97);if(_0x59ae58&&_0x28c06a){var _0x29bbf6,_0x3152ad;let _0x2f375c=((_0x29bbf6=_0x3dca8e[_0x39af58(0x265)])==null?0x0:_0x29bbf6)-_0x59ae58[_0x39af58(0x265)],_0x2e69e6=((_0x3152ad=_0x3dca8e[_0x39af58(0x1c3)])==null?0x0:_0x3152ad)-_0x59ae58[_0x39af58(0x1c3)];_0x3dca8e[_0x39af58(0x265)]=_0x28c06a[_0x39af58(0x322)]+_0x2f375c,_0x3dca8e[_0x39af58(0x1c3)]=_0x28c06a[_0x39af58(0x628)]+_0x2e69e6;}else _0x3dca8e[_0x39af58(0x265)]=_0x28c06a==null?void 0x0:_0x28c06a[_0x39af58(0x322)],_0x3dca8e['top']=_0x28c06a==null?void 0x0:_0x28c06a[_0x39af58(0x628)];}return{'transform':_0x3dca8e,'sheetTransform':(_0x9e633b=(0x0,r[_0x39af58(0x1f6)])(_0x3dca8e,_0x581e49))==null?_0x49d08b:_0x9e633b};}};X=R([L(0x0,(0x0,t[_0x2c7845(0x290)])(n[_0x2c7845(0x572)])),L(0x1,(0x0,t[_0x2c7845(0x290)])(c['ISheetClipboardService'])),L(0x2,(0x0,t['Inject'])(r['ISheetDrawingService'])),L(0x3,(0x0,t['Inject'])(e[_0x2c7845(0x2ee)])),L(0x4,(0x0,t[_0x2c7845(0x290)])(g[_0x2c7845(0x469)]))],X);var Fe=class extends o[_0x2c7845(0x289)]{constructor(_0x4add1e,_0x1f3ead){const _0x3fcd94=_0x2c7845;super(_0x4add1e,_0x1f3ead),S(this,_0x3fcd94(0x5ea),null),S(this,_0x3fcd94(0x3ef),null),S(this,_0x3fcd94(0x3e1),null),S(this,_0x3fcd94(0x5de),null),S(this,_0x3fcd94(0x4ce),!0x1),_0x1f3ead&&this[_0x3fcd94(0x393)](_0x1f3ead);}['getDrawingSearch'](){const _0x39281d=_0x2c7845;return{'unitId':this['_unitId'],'subUnitId':this[_0x39281d(0x5de)],'drawingId':this[_0x39281d(0x5ea)]};}[_0x2c7845(0x393)](_0x23707c){const _0x4e597d=_0x2c7845;_0x23707c[_0x4e597d(0x182)]!==void 0x0&&(this[_0x4e597d(0x5ea)]=_0x23707c[_0x4e597d(0x182)]),_0x23707c['unitId']!==void 0x0&&(this['_unitId']=_0x23707c[_0x4e597d(0x260)]),_0x23707c[_0x4e597d(0x1ec)]!==void 0x0&&(this['_subUnitId']=_0x23707c[_0x4e597d(0x1ec)]),_0x23707c[_0x4e597d(0x3e9)]!==void 0x0&&(this['_isStartConnectorPoint']=_0x23707c[_0x4e597d(0x3e9)]),this[_0x4e597d(0x4a5)]({'width':_0x23707c[_0x4e597d(0x61e)],'height':_0x23707c[_0x4e597d(0x283)]});}['_draw'](_0x553382){const _0x484634=_0x2c7845;o['Circle']['drawWith'](_0x553382,{'radius':u['ShapeDefaultConfig'][_0x484634(0x321)],'fill':u[_0x484634(0x448)]['cxnPointFill'],'stroke':u[_0x484634(0x448)]['cxnPointStroke'],'strokeWidth':u[_0x484634(0x448)][_0x484634(0x2af)],'evented':!0x0});}};function _0x4844(_0x33a7c4,_0xdce3b7){_0x33a7c4=_0x33a7c4-0x179;const _0x147987=_0x1479();let _0x48443b=_0x147987[_0x33a7c4];return _0x48443b;}let Z=class extends t[_0x2c7845(0x4d8)]{constructor(_0x72cad2,_0x2281ef,_0x2daf7e,_0x54d421,_0x7a304b,_0x22633d,_0x2e2044,_0x478828){const _0x355cf1=_0x2c7845;super(),this[_0x355cf1(0x1f4)]=_0x72cad2,this[_0x355cf1(0x5e4)]=_0x2281ef,this[_0x355cf1(0x57d)]=_0x2daf7e,this[_0x355cf1(0x409)]=_0x54d421,this[_0x355cf1(0x583)]=_0x7a304b,this['_sheetsShapeService']=_0x22633d,this['_sheetShapeAdjustController']=_0x2e2044,this[_0x355cf1(0x3d5)]=_0x478828,S(this,_0x355cf1(0x294),void 0x0),S(this,_0x355cf1(0x3e1),void 0x0),S(this,_0x355cf1(0x5de),void 0x0),S(this,_0x355cf1(0x51d),[]),S(this,'_baseDrawingRect',{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),S(this,_0x355cf1(0x585),void 0x0),S(this,'_isConnecting',!0x1),S(this,_0x355cf1(0x302),!0x1),S(this,_0x355cf1(0x610),!0x1),S(this,'_cxtHandlerPointerMove',void 0x0),S(this,'_cxtHandlerPointerUp',void 0x0),S(this,'_currentConnectionTarget',null),this[_0x355cf1(0x43d)]();}[_0x2c7845(0x43d)](){const _0x464df5=_0x2c7845;this[_0x464df5(0x27d)](),this[_0x464df5(0x4ac)]();}['_getDrawingRect'](){const _0x549209=_0x2c7845;if(!this[_0x549209(0x3e1)]||!this['_subUnitId']||!this[_0x549209(0x294)])return;let _0x1e9859={'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this[_0x549209(0x294)]},{transform:_0x433aad}=this[_0x549209(0x409)]['getDrawingByParam'](_0x1e9859);if(_0x433aad)return{'left':_0x433aad[_0x549209(0x265)]||0x0,'top':_0x433aad['top']||0x0,'width':_0x433aad[_0x549209(0x61e)]||0x0,'height':_0x433aad[_0x549209(0x283)]||0x0,'flipX':_0x433aad[_0x549209(0x4b4)]||!0x1,'flipY':_0x433aad[_0x549209(0x4f8)]||!0x1,'angle':_0x433aad['angle']};}['_addShapeConnectorHandlerObjects'](){const _0x27cc69=_0x2c7845;if(this['_unitId']===void 0x0||this[_0x27cc69(0x5de)]===void 0x0||this['_activeShapeId']===void 0x0)return;let _0x26126f=this[_0x27cc69(0x57d)]['getRenderById'](this[_0x27cc69(0x3e1)]);if(!_0x26126f||!_0x26126f[_0x27cc69(0x446)](c['SheetSkeletonManagerService'])[_0x27cc69(0x36d)]())return;let {scene:_0x2f90d9}=_0x26126f,_0x5a9aa0=this['_getDrawingRect']();if(!_0x5a9aa0)return;let _0x27e35f=this[_0x27cc69(0x368)][_0x27cc69(0x2e5)](this[_0x27cc69(0x3e1)],this[_0x27cc69(0x5de)],this[_0x27cc69(0x294)]);if(!_0x27e35f||!(0x0,u['isConnectorShape'])(_0x27e35f[_0x27cc69(0x522)]()))return;let _0x2d8d76=_0x27e35f[_0x27cc69(0x381)]();if(_0x2d8d76[_0x27cc69(0x453)]<0x2)return;let _0x2ee141=new u[(_0x27cc69(0x350))](_0x5a9aa0),_0x3b1899=_0x2d8d76[0x0],_0xc06262=_0x2d8d76[_0x2d8d76['length']-0x1],_0x255620=_0x2ee141[_0x27cc69(0x5ce)](_0x3b1899),_0x21f458=_0x2ee141[_0x27cc69(0x5ce)](_0xc06262);this[_0x27cc69(0x624)](_0x2f90d9,{..._0x255620},!0x0),this[_0x27cc69(0x624)](_0x2f90d9,{..._0x21f458},!0x1);}[_0x2c7845(0x624)](_0x1f08b8,_0x3ffd43,_0x38a12f){const _0x35c360=_0x2c7845;if(this[_0x35c360(0x294)]===void 0x0||this[_0x35c360(0x3e1)]===void 0x0||this[_0x35c360(0x5de)]===void 0x0)return;let _0x59890d='connector-handler-'+this[_0x35c360(0x3e1)]+'-'+this[_0x35c360(0x5de)]+'-'+this[_0x35c360(0x294)]+'-'+(_0x38a12f?_0x35c360(0x3d3):_0x35c360(0x605)),_0x31b5a3=_0x1f08b8['getObjectIncludeInGroup'](_0x59890d);if(_0x31b5a3){_0x31b5a3[_0x35c360(0x4a5)]({'left':_0x3ffd43['x']-u['ShapeDefaultConfig']['cxnPointRadius'],'top':_0x3ffd43['y']-u[_0x35c360(0x448)][_0x35c360(0x321)]});return;}let _0x2dcfc5=new Fe(_0x59890d,{'left':_0x3ffd43['x']-u['ShapeDefaultConfig']['cxnPointRadius'],'top':_0x3ffd43['y']-u['ShapeDefaultConfig'][_0x35c360(0x321)],'shapeId':this[_0x35c360(0x294)],'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'isStartConnectorPoint':_0x38a12f,'width':u['ShapeDefaultConfig'][_0x35c360(0x321)]*0x2,'height':u[_0x35c360(0x448)][_0x35c360(0x321)]*0x2,'zIndex':o['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0});this['_connectorObjects']['push'](_0x2dcfc5),this[_0x35c360(0x5e1)](_0x2dcfc5,_0x1f08b8,_0x38a12f),_0x1f08b8[_0x35c360(0x203)](_0x2dcfc5,o[_0x35c360(0x410)]+0x1);}[_0x2c7845(0x24c)](_0xa09f4f,_0x2982ec){const _0x57f421=_0x2c7845;var _0x4c7bd0;let _0x4565e4={'x':0x0,'y':0x0};if(!_0xa09f4f||!_0x2982ec)return _0x4565e4;let _0x36b4b5=this[_0x57f421(0x57d)][_0x57f421(0x215)](_0xa09f4f);if(!_0x36b4b5||!_0x36b4b5[_0x57f421(0x446)](c[_0x57f421(0x325)])[_0x57f421(0x3c1)](_0x2982ec))return _0x4565e4;let _0x20783e=_0x36b4b5[_0x57f421(0x446)](c[_0x57f421(0x1c8)]),_0x5de344=_0x20783e==null?void 0x0:_0x20783e[_0x57f421(0x268)]();if(!_0x5de344)return _0x4565e4;let _0x337828=(_0x4c7bd0=this[_0x57f421(0x583)][_0x57f421(0x478)](_0xa09f4f))==null?void 0x0:_0x4c7bd0[_0x57f421(0x575)](_0x2982ec);if(!_0x337828)return _0x4565e4;let _0x61c483=(0x0,c[_0x57f421(0x1ba)])(_0x5de344[_0x57f421(0x5d0)],_0x5de344[_0x57f421(0x42f)],_0x36b4b5[_0x57f421(0x37e)],_0x337828);return _0x61c483?{'x':_0x61c483[_0x57f421(0x46c)],'y':_0x61c483[_0x57f421(0x620)]}:_0x4565e4;}['_getZoomRatio'](_0x4202f0,_0x558ded){const _0x559718=_0x2c7845;var _0x471d3d,_0x153e38;let _0x2b1eaf=(_0x471d3d=this['_univerInstanceService']['getUnit'](_0x4202f0))==null?void 0x0:_0x471d3d[_0x559718(0x575)](_0x558ded);return(_0x153e38=_0x2b1eaf==null?void 0x0:_0x2b1eaf['getZoomRatio']())==null?0x1:_0x153e38;}['_handleConnectorPointerUp'](_0x4b15c6,_0x126e07,_0xf93d19,_0x11e167,_0x5ac5e0){const _0x45b356=_0x2c7845;this[_0x45b356(0x2e6)]['unsubscribe'](),this[_0x45b356(0x1cd)][_0x45b356(0x3d7)](),this[_0x45b356(0x41c)][_0x45b356(0x4a9)]();let _0x3ea08c=this[_0x45b356(0x239)];this[_0x45b356(0x3d5)][_0x45b356(0x4d0)]();let _0x1cc49a=this[_0x45b356(0x24c)](this[_0x45b356(0x3e1)],this[_0x45b356(0x5de)]),_0x58c8e3=this[_0x45b356(0x32b)](this['_unitId'],this[_0x45b356(0x5de)]),_0x83a172={'x':_0xf93d19[_0x45b356(0x49c)]/_0x58c8e3+_0x1cc49a['x'],'y':_0xf93d19[_0x45b356(0x194)]/_0x58c8e3+_0x1cc49a['y']},_0x371723=_0x3ea08c?_0x3ea08c[_0x45b356(0x274)]:_0x83a172,_0x5b0aff=_0x11e167?this[_0x45b356(0x585)][_0x45b356(0x19b)]():this[_0x45b356(0x585)][_0x45b356(0x3b8)](),_0x16ba53=this[_0x45b356(0x585)][_0x45b356(0x522)]();_0x5b0aff?this['_handleConnectedEndpointPointerUp'](_0x5b0aff,_0x371723,_0x11e167,_0x3ea08c,_0x5ac5e0):this['_handleFreeEndpointPointerUp'](_0x126e07,_0x371723,_0x11e167,_0x3ea08c,_0x5ac5e0,_0x16ba53),this[_0x45b356(0x296)]=!0x1,this[_0x45b356(0x610)]=!0x1,this[_0x45b356(0x239)]=null,_0x4b15c6['enableObjectsEvent']();}[_0x2c7845(0x36c)](_0x5316d2,_0x4145d6,_0x1b2656,_0x385d0c,_0x18a111,_0x12ac12){const _0x594100=_0x2c7845;let _0x1b1383=_0x12ac12===u['ShapeTypeEnum']['Line']||_0x12ac12===u['ShapeTypeEnum'][_0x594100(0x540)],_0x517a0b=_0x1b2656?_0x4145d6:_0x5316d2,_0x28ddfa=_0x1b2656?_0x5316d2:_0x4145d6,_0x1ba4a1=this[_0x594100(0x585)][_0x594100(0x381)](),_0x8ca154=(0x0,u[_0x594100(0x262)])(this['_activeShapeModel'][_0x594100(0x522)]()),_0x34aac5=u[_0x594100(0x350)]['getBentTypeFromPoints'](_0x1ba4a1,_0x8ca154),_0x25cb1c=_0x1b1383?u[_0x594100(0x350)]['computeStraightConnectorLayout'](_0x517a0b,_0x28ddfa):u[_0x594100(0x350)]['computeConnectorResizeLayout'](_0x5316d2,_0x4145d6,_0x1b2656,_0x34aac5);_0x385d0c?this[_0x594100(0x58e)](_0x25cb1c,_0x385d0c,_0x1b2656,_0x18a111):this[_0x594100(0x4c7)](_0x25cb1c,_0x18a111);}[_0x2c7845(0x4f2)](_0x5bc336,_0x901f03,_0x495308,_0x588ecc,_0x109093){const _0x2a367a=_0x2c7845;let _0x1be0c6=this[_0x2a367a(0x45f)](_0x5bc336);if(!_0x1be0c6)return;let _0x3ca562=_0x588ecc?_0x588ecc[_0x2a367a(0x4cf)]:this['_calculateFreeEndpointAngle'](_0x1be0c6[_0x2a367a(0x32f)],_0x901f03),_0x3150db;if(_0x588ecc){let _0x292477=this[_0x2a367a(0x409)][_0x2a367a(0x310)]({'unitId':_0x588ecc[_0x2a367a(0x260)],'subUnitId':_0x588ecc[_0x2a367a(0x1ec)],'drawingId':_0x588ecc[_0x2a367a(0x182)]});if(_0x292477!=null&&_0x292477['transform']){let {left:_0x103edf=0x0,top:_0x2eda1f=0x0,width:_0x42f3e0=0x0,height:_0xbc6860=0x0,angle:_0x54031b}=_0x292477[_0x2a367a(0x247)];_0x3150db=(0x0,u[_0x2a367a(0x595)])({'left':_0x103edf,'top':_0x2eda1f,'width':_0x42f3e0,'height':_0xbc6860},_0x54031b||0x0);}else _0x3150db={'left':_0x901f03['x'],'top':_0x901f03['y'],'width':0x0,'height':0x0};}else _0x3150db={'left':_0x901f03['x'],'top':_0x901f03['y'],'width':0x0,'height':0x0};let _0x52d48e={'point':_0x901f03,'angle':_0x3ca562,'bounds':_0x3150db},_0x517b4e=_0x495308?_0x52d48e:_0x1be0c6,_0x564464=_0x495308?_0x1be0c6:_0x52d48e,_0x1e7108=this[_0x2a367a(0x585)][_0x2a367a(0x522)](),_0x2346c6=(0x0,u['routeConnectorLineShape'])(_0x517b4e,_0x564464,_0x1e7108);this[_0x2a367a(0x585)][_0x2a367a(0x503)]();let _0x2dadbe=(0x0,u[_0x2a367a(0x3da)])(_0x2346c6,_0x1e7108);_0x588ecc?this['_executeConnectedRouteConnectionCommand'](_0x2dadbe,_0x588ecc,_0x5bc336,_0x495308,_0x109093):this[_0x2a367a(0x38e)](_0x2dadbe,_0x5bc336,_0x495308,_0x109093);}[_0x2c7845(0x58e)](_0x403bae,_0xb591d9,_0x441e3e,_0x4e577a){const _0x3a885d=_0x2c7845;let _0x1c9791=this[_0x3a885d(0x585)]['getShapeData']()[_0x3a885d(0x492)],_0x1c79af={..._0x1c9791},_0x196ddb={'shapeId':_0xb591d9[_0x3a885d(0x182)],'cxnIndex':_0xb591d9['cxnIndex']};_0x441e3e?_0x1c79af['from']=_0x196ddb:_0x1c79af['to']=_0x196ddb;let _0x3b56c3=this[_0x3a885d(0x585)][_0x3a885d(0x522)](),_0x1c35f2=(0x0,u[_0x3a885d(0x3da)])(_0x403bae[_0x3a885d(0x5ef)],_0x3b56c3),_0x426022={'unitId':this[_0x3a885d(0x3e1)],'subUnitId':this[_0x3a885d(0x5de)],'connectorShapeId':this[_0x3a885d(0x294)],'width':_0x403bae['worldRect'][_0x3a885d(0x61e)],'height':_0x403bae[_0x3a885d(0x1dd)][_0x3a885d(0x283)],'left':_0x403bae[_0x3a885d(0x1dd)][_0x3a885d(0x265)],'top':_0x403bae[_0x3a885d(0x1dd)][_0x3a885d(0x1c3)],'flipX':_0x403bae['worldRect'][_0x3a885d(0x4b4)]||!0x1,'flipY':_0x403bae[_0x3a885d(0x1dd)][_0x3a885d(0x4f8)]||!0x1,'newAdjustValues':_0x1c35f2['adjustValues'],'oldAdjustValues':_0x4e577a,'oldRelation':_0x1c9791,'newRelation':_0x1c79af,'newLineType':_0x1c35f2[_0x3a885d(0x4de)],'oldLineType':_0x3b56c3};this['_commandService'][_0x3a885d(0x3a9)](e[_0x3a885d(0x19d)]['id'],_0x426022);}['_executeResizeCommand'](_0x24d4b1,_0x53d309){const _0x5e8749=_0x2c7845;let _0x1d5879=this['_activeShapeModel']['getShapeType'](),_0x3d648f=(0x0,u[_0x5e8749(0x3da)])(_0x24d4b1[_0x5e8749(0x5ef)],_0x1d5879),_0x2b3c6c={'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'shapeId':this['_activeShapeId'],'width':_0x24d4b1['worldRect'][_0x5e8749(0x61e)],'height':_0x24d4b1[_0x5e8749(0x1dd)][_0x5e8749(0x283)],'left':_0x24d4b1[_0x5e8749(0x1dd)]['left'],'top':_0x24d4b1[_0x5e8749(0x1dd)][_0x5e8749(0x1c3)],'flipX':_0x24d4b1[_0x5e8749(0x1dd)][_0x5e8749(0x4b4)]||!0x1,'flipY':_0x24d4b1[_0x5e8749(0x1dd)][_0x5e8749(0x4f8)]||!0x1,'angle':_0x24d4b1[_0x5e8749(0x1dd)][_0x5e8749(0x4cf)]||0x0,'newAdjustValues':_0x3d648f['adjustValues'],'oldAdjustValues':_0x53d309,'newLineType':_0x3d648f['lineType'],'oldLineType':_0x1d5879};this[_0x5e8749(0x5e4)][_0x5e8749(0x3a9)](e['UpdateLineShapeResizeCommand']['id'],_0x2b3c6c);}[_0x2c7845(0x231)](_0x442b27,_0x19fa59,_0x211cec,_0x289ac4,_0x4b4bfe){const _0x3c376e=_0x2c7845;let _0x157d04=this[_0x3c376e(0x585)]['getShapeData']()['relation'],_0x3b9c49={..._0x157d04},_0x5286d1={'shapeId':_0x19fa59[_0x3c376e(0x182)],'cxnIndex':_0x19fa59['cxnIndex']};_0x289ac4?(_0x3b9c49[_0x3c376e(0x5ae)]=_0x5286d1,_0x3b9c49['to']=_0x211cec):(_0x3b9c49['from']=_0x211cec,_0x3b9c49['to']=_0x5286d1);let _0x4c4df4={'unitId':this[_0x3c376e(0x3e1)],'subUnitId':this['_subUnitId'],'connectorShapeId':this[_0x3c376e(0x294)],'width':_0x442b27['worldRect'][_0x3c376e(0x61e)],'height':_0x442b27['worldRect'][_0x3c376e(0x283)],'left':_0x442b27[_0x3c376e(0x1dd)][_0x3c376e(0x265)],'top':_0x442b27[_0x3c376e(0x1dd)][_0x3c376e(0x1c3)],'flipX':_0x442b27[_0x3c376e(0x1dd)][_0x3c376e(0x4b4)]||!0x1,'flipY':_0x442b27[_0x3c376e(0x1dd)][_0x3c376e(0x4f8)]||!0x1,'oldAdjustValues':_0x4b4bfe,'newAdjustValues':_0x442b27[_0x3c376e(0x3bf)],'newLineType':_0x442b27['lineType'],'rotation':_0x442b27[_0x3c376e(0x398)],'oldRelation':_0x157d04,'newRelation':_0x3b9c49};this[_0x3c376e(0x5e4)][_0x3c376e(0x3a9)](e[_0x3c376e(0x19d)]['id'],_0x4c4df4);}[_0x2c7845(0x38e)](_0xd506f2,_0x1684c4,_0x5216c6,_0x429acb){const _0x48c657=_0x2c7845;let _0x1a1e4f=this[_0x48c657(0x585)][_0x48c657(0x32a)]()[_0x48c657(0x492)],_0xb4d59f={};_0x5216c6?(_0xb4d59f['to']=_0x1684c4,_0xb4d59f[_0x48c657(0x5ae)]=void 0x0):(_0xb4d59f['from']=_0x1684c4,_0xb4d59f['to']=void 0x0);let _0x377c6d={'unitId':this[_0x48c657(0x3e1)],'subUnitId':this[_0x48c657(0x5de)],'connectorShapeId':this[_0x48c657(0x294)],'width':_0xd506f2[_0x48c657(0x1dd)][_0x48c657(0x61e)],'height':_0xd506f2[_0x48c657(0x1dd)]['height'],'left':_0xd506f2[_0x48c657(0x1dd)]['left'],'top':_0xd506f2[_0x48c657(0x1dd)][_0x48c657(0x1c3)],'flipX':_0xd506f2[_0x48c657(0x1dd)]['flipX']||!0x1,'flipY':_0xd506f2[_0x48c657(0x1dd)]['flipY']||!0x1,'oldAdjustValues':_0x429acb,'newAdjustValues':_0xd506f2['adjustValues'],'newLineType':_0xd506f2['lineType'],'rotation':_0xd506f2[_0x48c657(0x398)],'oldRelation':_0x1a1e4f,'newRelation':_0xb4d59f};this[_0x48c657(0x5e4)][_0x48c657(0x3a9)](e[_0x48c657(0x19d)]['id'],_0x377c6d);}[_0x2c7845(0x5e1)](_0x3e2e3b,_0x3387ea,_0x111452){const _0x175c6b=_0x2c7845;this[_0x175c6b(0x2d9)]((0x0,t['toDisposable'])(_0x3e2e3b[_0x175c6b(0x4bf)][_0x175c6b(0x4f1)]((_0x42bd82,_0x4974d2)=>{const _0x3d439e=_0x175c6b;let _0x169b57=_0x3e2e3b['getDrawingSearch']();if(this[_0x3d439e(0x585)]=this[_0x3d439e(0x368)]['getShapeModel'](_0x169b57[_0x3d439e(0x260)],_0x169b57[_0x3d439e(0x1ec)],_0x169b57[_0x3d439e(0x53b)]),!this['_activeShapeModel'])return;let _0x5c75cc={};this[_0x3d439e(0x585)][_0x3d439e(0x623)]()[_0x3d439e(0x3f9)](_0x5c0445=>{const _0x57f6f7=_0x3d439e;let _0x4462bf=this[_0x57f6f7(0x585)][_0x57f6f7(0x5bf)](_0x5c0445);_0x4462bf!==void 0x0&&(_0x5c75cc[_0x5c0445]=_0x4462bf);});let _0x191d10=this[_0x3d439e(0x5d4)]();if(!_0x191d10)return;this[_0x3d439e(0x420)]={..._0x191d10};let _0x15ba2d=new u[(_0x3d439e(0x350))](this[_0x3d439e(0x420)]),_0x5f57ff=(0x0,a['getDrawingShapeKeyByDrawingSearch'])({'unitId':this['_unitId'],'subUnitId':this[_0x3d439e(0x5de)],'drawingId':this[_0x3d439e(0x294)]}),_0x61863e=_0x3387ea[_0x3d439e(0x30f)](_0x5f57ff);this['_isConnecting']=!0x0,_0x3387ea['disableObjectsEvent'](),this[_0x3d439e(0x3d5)][_0x3d439e(0x629)](_0x3387ea,this[_0x3d439e(0x3e1)],this[_0x3d439e(0x5de)],this[_0x3d439e(0x294)]),this[_0x3d439e(0x239)]=null;let _0x17c264=this['_activeShapeModel'][_0x3d439e(0x381)](),_0x3594c9=_0x17c264[0x0],_0x28eeb9=_0x17c264[_0x17c264[_0x3d439e(0x453)]-0x1],_0x4a2b4a=_0x111452?_0x15ba2d[_0x3d439e(0x5ce)](_0x28eeb9):_0x15ba2d['localToWorld'](_0x3594c9);this['_cxtHandlerPointerMove']=_0x3387ea[_0x3d439e(0x3b1)][_0x3d439e(0x4f1)]((_0x491d64,_0x2b4658)=>{const _0x238ad5=_0x3d439e;if(!this[_0x238ad5(0x296)]||!this[_0x238ad5(0x585)])return;this['_hasReset']||(this['_sheetShapeAdjustController'][_0x238ad5(0x509)](),this[_0x238ad5(0x585)][_0x238ad5(0x1e4)](),this[_0x238ad5(0x610)]=!0x0);let _0x468d38=this[_0x238ad5(0x24c)](this[_0x238ad5(0x3e1)],this[_0x238ad5(0x5de)]),_0x283424=this[_0x238ad5(0x32b)](this['_unitId'],this[_0x238ad5(0x5de)]),_0x2d793b={'x':_0x491d64[_0x238ad5(0x49c)]/_0x283424+_0x468d38['x'],'y':_0x491d64[_0x238ad5(0x194)]/_0x283424+_0x468d38['y']},_0x385a16=this['_sheetBasicShapeConnectionPointController'][_0x238ad5(0x573)](_0x2d793b);if(_0x385a16){let {shapeId:_0x379b4d,unitId:_0x3fff78,subUnitId:_0x445688}=_0x385a16;if(_0x379b4d&&_0x3fff78&&_0x445688){let _0x3870d6=(0x0,a[_0x238ad5(0x604)])({'unitId':_0x3fff78,'subUnitId':_0x445688,'drawingId':_0x379b4d});_0x385a16[_0x238ad5(0x4cf)]=(_0x3387ea['getObjectIncludeInGroup'](_0x3870d6)[_0x238ad5(0x4cf)]||0x0)+_0x385a16['angle'];}}this['_currentConnectionTarget']=_0x385a16;let _0x37682a=_0x111452?this['_activeShapeModel'][_0x238ad5(0x19b)]():this[_0x238ad5(0x585)][_0x238ad5(0x3b8)]();if(_0x37682a){this['_handleConnectedEndpointMove'](_0x37682a,_0x2d793b,_0x111452,_0x61863e,_0x3e2e3b);return;}this['_handleFreeEndpointMove'](_0x2d793b,_0x4a2b4a,_0x111452,_0x61863e,_0x3e2e3b);}),this['_cxtHandlerPointerUp']=_0x3387ea[_0x3d439e(0x17a)][_0x3d439e(0x4f1)]((_0x19a82e,_0x4f815f)=>{this['_handleConnectorPointerUp'](_0x3387ea,_0x4a2b4a,_0x19a82e,_0x111452,_0x5c75cc);}),_0x4974d2['stopPropagation']();})));}[_0x2c7845(0x3a4)](_0x5c6051,_0x5cd32a,_0x749f72){const _0x423b29=_0x2c7845;let _0xf27959=this[_0x423b29(0x368)][_0x423b29(0x378)](_0x5c6051,_0x5cd32a,_0x749f72);if(!_0xf27959||_0xf27959['length']===0x0)return;let _0x349835=this[_0x423b29(0x57d)][_0x423b29(0x215)](_0x5c6051);if(!_0x349835)return;let {scene:_0x51c18c}=_0x349835;for(let _0x4f3b04 of _0xf27959){let _0x4f7a29=_0x4f3b04[_0x423b29(0x369)],_0x3047ad=this[_0x423b29(0x368)][_0x423b29(0x2e5)](_0x5c6051,_0x5cd32a,_0x4f7a29);if(!_0x3047ad)continue;let _0x44b318=_0x3047ad[_0x423b29(0x3b8)](),_0x2f23f5=_0x3047ad[_0x423b29(0x19b)](),_0x176fa9=(_0x44b318==null?void 0x0:_0x44b318[_0x423b29(0x182)])===_0x749f72,_0x5bee9e=(0x0,a[_0x423b29(0x604)])({'unitId':_0x5c6051,'subUnitId':_0x5cd32a,'drawingId':_0x4f7a29}),_0x257176=_0x51c18c[_0x423b29(0x30f)](_0x5bee9e);if(!_0x257176)continue;let _0x30ead5=this[_0x423b29(0x409)][_0x423b29(0x310)]({'unitId':_0x5c6051,'subUnitId':_0x5cd32a,'drawingId':_0x4f7a29});_0x30ead5!=null&&_0x30ead5[_0x423b29(0x247)]&&(_0x44b318&&_0x2f23f5?this[_0x423b29(0x183)](_0x5c6051,_0x5cd32a,_0x4f7a29,_0x3047ad,_0x44b318,_0x2f23f5,_0x257176):this[_0x423b29(0x5a5)](_0x5c6051,_0x5cd32a,_0x4f7a29,_0x3047ad,_0x176fa9?_0x44b318:_0x2f23f5,_0x176fa9,_0x30ead5,_0x257176));}}[_0x2c7845(0x183)](_0x5e8829,_0x1fdba5,_0x297341,_0x187856,_0x1dd488,_0x53ca84,_0xb8118f){const _0x1c45dc=_0x2c7845;let _0x9c65ec=this[_0x1c45dc(0x3e1)],_0x17a684=this[_0x1c45dc(0x5de)];this[_0x1c45dc(0x3e1)]=_0x5e8829,this['_subUnitId']=_0x1fdba5;let _0x1a0db7=this[_0x1c45dc(0x45f)](_0x1dd488),_0x333f20=this[_0x1c45dc(0x45f)](_0x53ca84);if(this[_0x1c45dc(0x3e1)]=_0x9c65ec,this[_0x1c45dc(0x5de)]=_0x17a684,!_0x1a0db7||!_0x333f20)return;let _0x516a21=_0x187856[_0x1c45dc(0x522)](),_0x52cd4d=(0x0,u[_0x1c45dc(0x46a)])(_0x1a0db7,_0x333f20,_0x516a21);_0x52cd4d&&_0x187856[_0x1c45dc(0x25b)](_0x52cd4d);let _0x219f45=(0x0,u[_0x1c45dc(0x3da)])(_0x52cd4d,_0x516a21);_0x219f45[_0x1c45dc(0x4de)]!==_0x516a21&&_0x187856[_0x1c45dc(0x373)](_0x219f45[_0x1c45dc(0x4de)]),_0x187856['clearAdjustValue']();for(let [_0xf577bc,_0x4c9179]of Object[_0x1c45dc(0x541)](_0x219f45['adjustValues']))_0x187856[_0x1c45dc(0x54f)](_0xf577bc,_0x4c9179);_0x187856[_0x1c45dc(0x229)]({'width':_0x219f45[_0x1c45dc(0x1dd)][_0x1c45dc(0x61e)],'height':_0x219f45[_0x1c45dc(0x1dd)][_0x1c45dc(0x283)]}),_0xb8118f[_0x1c45dc(0x4a5)]({'flipX':_0x219f45[_0x1c45dc(0x1dd)][_0x1c45dc(0x4b4)],'flipY':_0x219f45[_0x1c45dc(0x1dd)]['flipY'],'left':_0x219f45['worldRect'][_0x1c45dc(0x265)],'top':_0x219f45[_0x1c45dc(0x1dd)]['top'],'width':_0x219f45['worldRect']['width'],'height':_0x219f45[_0x1c45dc(0x1dd)][_0x1c45dc(0x283)],'angle':_0x219f45['rotation']}),_0x187856[_0x1c45dc(0x503)]();}[_0x2c7845(0x5a5)](_0x33f4ce,_0x22e036,_0x556225,_0x49df4a,_0x17b70a,_0x2d89e1,_0x4469d3,_0x495ee3){const _0x45114d=_0x2c7845;let _0x12f99=this[_0x45114d(0x3e1)],_0x43d056=this['_subUnitId'];this[_0x45114d(0x3e1)]=_0x33f4ce,this[_0x45114d(0x5de)]=_0x22e036;let _0x1fb9c9=this[_0x45114d(0x45f)](_0x17b70a);if(this[_0x45114d(0x3e1)]=_0x12f99,this[_0x45114d(0x5de)]=_0x43d056,!_0x1fb9c9)return;let {left:_0x489b25=0x0,top:_0xf12240=0x0,width:_0x4199b9=0x0,height:_0xe0c5a4=0x0,flipX:_0x2c5edd=!0x1,flipY:_0x2898e9=!0x1}=_0x4469d3['transform'],_0x1985dd=_0x49df4a[_0x45114d(0x381)]();if(_0x1985dd['length']<0x2)return;let _0x4ac64e=new u[(_0x45114d(0x350))]({'left':_0x489b25,'top':_0xf12240,'width':_0x4199b9,'height':_0xe0c5a4,'flipX':_0x2c5edd,'flipY':_0x2898e9}),_0xa79851=_0x2d89e1?_0x1985dd[_0x1985dd[_0x45114d(0x453)]-0x1]:_0x1985dd[0x0],_0x2cefa5=_0x4ac64e[_0x45114d(0x5ce)](_0xa79851),_0x1f7e83=u['ConnectorCoordinateTransform']['computeConnectorResizeLayout'](_0x2cefa5,_0x1fb9c9[_0x45114d(0x32f)],!_0x2d89e1);_0x495ee3['transformByState']({'flipX':_0x1f7e83['worldRect'][_0x45114d(0x4b4)],'flipY':_0x1f7e83[_0x45114d(0x1dd)]['flipY'],'left':_0x1f7e83[_0x45114d(0x1dd)][_0x45114d(0x265)],'top':_0x1f7e83['worldRect'][_0x45114d(0x1c3)],'width':_0x1f7e83[_0x45114d(0x1dd)][_0x45114d(0x61e)],'height':_0x1f7e83['worldRect']['height'],'angle':_0x1f7e83['worldRect'][_0x45114d(0x4cf)]}),_0x495ee3[_0x45114d(0x4f5)](!0x0);}['_clearShapeConnectorHandlerObjects'](){const _0x2aa749=_0x2c7845;this['_connectorObjects'][_0x2aa749(0x453)]!==0x0&&(this[_0x2aa749(0x51d)][_0x2aa749(0x3f9)](_0x43b62e=>{const _0x1b58c7=_0x2aa749;_0x43b62e[_0x1b58c7(0x35d)]();}),this[_0x2aa749(0x51d)]=[]);}[_0x2c7845(0x4ac)](){const _0x40f9e1=_0x2c7845;let _0x3f4edb=this[_0x40f9e1(0x583)][_0x40f9e1(0x3fb)](t[_0x40f9e1(0x2b6)][_0x40f9e1(0x1ce)]);this[_0x40f9e1(0x2d9)](_0x3f4edb[_0x40f9e1(0x208)]((0x0,i[_0x40f9e1(0x5ad)])(_0x13f838=>_0x13f838?_0x13f838[_0x40f9e1(0x5b2)][_0x40f9e1(0x208)]((0x0,i[_0x40f9e1(0x5ad)])(_0x52051e=>{const _0x25800a=_0x40f9e1;if(!_0x52051e)return i['EMPTY'];let _0x56da97=_0x13f838[_0x25800a(0x451)](),_0x36e42f=this[_0x25800a(0x57d)]['getRenderById'](_0x56da97),_0x10ff60=_0x36e42f==null?void 0x0:_0x36e42f[_0x25800a(0x37e)];return _0x10ff60?(0x0,i['of'])(_0x10ff60):i[_0x25800a(0x554)];})):i[_0x40f9e1(0x554)]))[_0x40f9e1(0x2e0)](_0x334fb8=>{const _0x4ce172=_0x40f9e1;let _0x570723=_0x334fb8[_0x4ce172(0x5bc)]();this[_0x4ce172(0x2d9)](_0x334fb8[_0x4ce172(0x3b1)][_0x4ce172(0x4f1)](_0x42fae2=>{const _0x21533f=_0x4ce172;this[_0x21533f(0x302)]&&this[_0x21533f(0x294)]&&this[_0x21533f(0x2a2)]();})),this[_0x4ce172(0x2d9)](_0x570723[_0x4ce172(0x5b1)][_0x4ce172(0x2e0)](_0x143985=>{const _0x347fb4=_0x4ce172;let {objects:_0x15e938}=_0x143985;this[_0x347fb4(0x2a2)](),_0x15e938!==null&&_0x15e938[_0x347fb4(0x3a1)]===0x1&&_0x15e938[_0x347fb4(0x1f2)]()[_0x347fb4(0x5a6)]()[_0x347fb4(0x4d7)]instanceof I&&(this[_0x347fb4(0x302)]=!0x0);})),this[_0x4ce172(0x2d9)](_0x570723[_0x4ce172(0x29b)][_0x4ce172(0x2e0)](_0x146a92=>{const _0x5d9372=_0x4ce172;this[_0x5d9372(0x302)]&&this[_0x5d9372(0x2a2)]();})),this[_0x4ce172(0x2d9)](_0x334fb8[_0x4ce172(0x17a)][_0x4ce172(0x4f1)](()=>{const _0x58eee9=_0x4ce172;this[_0x58eee9(0x302)]&&(this[_0x58eee9(0x302)]=!0x1,this[_0x58eee9(0x315)]());})),this[_0x4ce172(0x2d9)](_0x570723['changeEnd$']['subscribe'](()=>{const _0x11a5e2=_0x4ce172;this['_unitId']&&this[_0x11a5e2(0x5de)]&&this['_activeShapeId']&&this[_0x11a5e2(0x409)]['getDrawingByParam']({'unitId':this[_0x11a5e2(0x3e1)],'subUnitId':this[_0x11a5e2(0x5de)],'drawingId':this[_0x11a5e2(0x294)]})&&(this[_0x11a5e2(0x2a2)](),this[_0x11a5e2(0x315)]());}));}));}[_0x2c7845(0x27d)](){const _0xba07c7=_0x2c7845;this[_0xba07c7(0x2d9)](this['_drawingManagerService'][_0xba07c7(0x2ad)][_0xba07c7(0x2e0)](_0x38ca8e=>{const _0x5c79b4=_0xba07c7;if(_0x38ca8e[_0x5c79b4(0x453)]===0x1){let _0x26b074=_0x38ca8e[0x0];if(_0x26b074[_0x5c79b4(0x477)]===t[_0x5c79b4(0x5c1)][_0x5c79b4(0x2e1)]){let _0x58b0da=this[_0x5c79b4(0x368)][_0x5c79b4(0x2e5)](_0x26b074['unitId'],_0x26b074[_0x5c79b4(0x1ec)],_0x26b074['drawingId']);if(_0x58b0da&&(0x0,u['isConnectorShape'])(_0x58b0da['getShapeType']())){this[_0x5c79b4(0x294)]=_0x26b074['drawingId'],this['_unitId']=_0x26b074[_0x5c79b4(0x260)],this[_0x5c79b4(0x5de)]=_0x26b074[_0x5c79b4(0x1ec)],this[_0x5c79b4(0x2a2)](),this[_0x5c79b4(0x315)]();return;}}}this[_0x5c79b4(0x294)]=void 0x0,this['_unitId']=void 0x0,this[_0x5c79b4(0x5de)]=void 0x0,this['_clearShapeConnectorHandlerObjects']();})),this[_0xba07c7(0x2d9)](this[_0xba07c7(0x409)][_0xba07c7(0x3d9)][_0xba07c7(0x2e0)](_0x5b35a0=>{const _0x1286e3=_0xba07c7;if(_0x5b35a0[_0x1286e3(0x453)]===0x1){var _0x38e7bd;let _0x2a2052=_0x5b35a0[0x0],_0x4d0e6=(_0x38e7bd=this[_0x1286e3(0x409)][_0x1286e3(0x310)](_0x2a2052))==null?void 0x0:_0x38e7bd[_0x1286e3(0x477)];_0x4d0e6===t[_0x1286e3(0x5c1)]['DRAWING_SHAPE']&&_0x2a2052[_0x1286e3(0x53b)]===this[_0x1286e3(0x294)]?(this[_0x1286e3(0x2a2)](),this[_0x1286e3(0x315)]()):!this[_0x1286e3(0x294)]&&_0x4d0e6===t['DrawingTypeEnum'][_0x1286e3(0x2e1)]&&this[_0x1286e3(0x3a4)](_0x2a2052[_0x1286e3(0x260)],_0x2a2052['subUnitId'],_0x2a2052[_0x1286e3(0x53b)]);}})),this[_0xba07c7(0x2d9)](this[_0xba07c7(0x409)][_0xba07c7(0x2f0)][_0xba07c7(0x2e0)](_0x2912d3=>{const _0x453f5b=_0xba07c7;for(let _0x19ed30 of _0x2912d3){let {drawingId:_0xa7745a}=_0x19ed30;if(this[_0x453f5b(0x294)]===_0xa7745a){this[_0x453f5b(0x45b)]();return;}}}));}[_0x2c7845(0x281)](_0x1abb37,_0x5ddf94,_0x5e0f60,_0xbab635,_0x341c15){const _0x222b9b=_0x2c7845;var _0x14ba62,_0x17a389;if(!this[_0x222b9b(0x585)])return;let _0x1820f7=this[_0x222b9b(0x45f)](_0x1abb37);if(!_0x1820f7)return;let _0x303b1e=this['_currentConnectionTarget']?this[_0x222b9b(0x239)][_0x222b9b(0x274)]:_0x5ddf94,_0x20ee78=this[_0x222b9b(0x239)]?this[_0x222b9b(0x239)][_0x222b9b(0x4cf)]:this['_calculateFreeEndpointAngle'](_0x1820f7[_0x222b9b(0x32f)],_0x303b1e),_0x403dd1;if(this[_0x222b9b(0x239)]){let _0x5207eb=this['_drawingManagerService'][_0x222b9b(0x310)]({'unitId':this[_0x222b9b(0x239)][_0x222b9b(0x260)],'subUnitId':this['_currentConnectionTarget'][_0x222b9b(0x1ec)],'drawingId':this[_0x222b9b(0x239)][_0x222b9b(0x182)]});if(_0x5207eb!=null&&_0x5207eb[_0x222b9b(0x247)]){let {left:_0x13ddc9=0x0,top:_0x1b761d=0x0,width:_0x224b4e=0x0,height:_0x176c48=0x0,angle:_0x5923d2}=_0x5207eb[_0x222b9b(0x247)];_0x403dd1=(0x0,u[_0x222b9b(0x595)])({'left':_0x13ddc9,'top':_0x1b761d,'width':_0x224b4e,'height':_0x176c48},_0x5923d2||0x0);}else _0x403dd1={'left':_0x303b1e['x'],'top':_0x303b1e['y'],'width':0x0,'height':0x0};}else _0x403dd1={'left':_0x303b1e['x'],'top':_0x303b1e['y'],'width':0x0,'height':0x0};let _0x585139={'point':_0x303b1e,'angle':_0x20ee78,'bounds':_0x403dd1},_0x33f7c7=_0x5e0f60?_0x585139:_0x1820f7,_0x36eea9=_0x5e0f60?_0x1820f7:_0x585139,_0x35573a=this[_0x222b9b(0x585)][_0x222b9b(0x522)](),_0x18c63a=(0x0,u['routeConnectorLineShape'])(_0x33f7c7,_0x36eea9,_0x35573a);_0x18c63a&&this[_0x222b9b(0x585)][_0x222b9b(0x25b)](_0x18c63a);let _0x555a7e=(0x0,u[_0x222b9b(0x3da)])(_0x18c63a,_0x35573a);_0x555a7e[_0x222b9b(0x4de)]!==_0x35573a&&this['_activeShapeModel'][_0x222b9b(0x373)](_0x555a7e['lineType']);for(let [_0x413bb4,_0xe153d6]of Object[_0x222b9b(0x541)](_0x555a7e['adjustValues']))this[_0x222b9b(0x585)][_0x222b9b(0x54f)](_0x413bb4,_0xe153d6);this['_activeShapeModel'][_0x222b9b(0x229)]({'width':_0x555a7e[_0x222b9b(0x1dd)]['width'],'height':_0x555a7e[_0x222b9b(0x1dd)]['height']}),_0xbab635['transformByState']({'flipX':_0x555a7e[_0x222b9b(0x1dd)][_0x222b9b(0x4b4)],'flipY':_0x555a7e['worldRect'][_0x222b9b(0x4f8)],'left':_0x555a7e['worldRect'][_0x222b9b(0x265)],'top':_0x555a7e[_0x222b9b(0x1dd)]['top'],'width':_0x555a7e[_0x222b9b(0x1dd)][_0x222b9b(0x61e)],'height':_0x555a7e[_0x222b9b(0x1dd)][_0x222b9b(0x283)],'angle':_0x555a7e[_0x222b9b(0x398)]}),_0xbab635[_0x222b9b(0x4f5)](!0x0);let _0x10365e=(_0x14ba62=(_0x17a389=this[_0x222b9b(0x239)])==null?void 0x0:_0x17a389[_0x222b9b(0x274)])==null?_0x5ddf94:_0x14ba62;_0x341c15[_0x222b9b(0x4a5)]({'left':_0x10365e['x']-u[_0x222b9b(0x448)][_0x222b9b(0x321)],'top':_0x10365e['y']-u[_0x222b9b(0x448)][_0x222b9b(0x321)]});}[_0x2c7845(0x4b5)](_0x58e6c1,_0x1a74fc,_0x7e5a6,_0x39928a,_0x5c8ffe){const _0x59bb63=_0x2c7845;var _0x56ffc8,_0x255457,_0xccabce,_0x1c6fd2;let _0x2f884d=(_0x56ffc8=(_0x255457=this[_0x59bb63(0x239)])==null?void 0x0:_0x255457[_0x59bb63(0x274)])==null?_0x58e6c1:_0x56ffc8,_0x42e69d=u[_0x59bb63(0x350)][_0x59bb63(0x343)](_0x1a74fc,_0x2f884d,_0x7e5a6);_0x39928a['transformByState']({'flipX':_0x42e69d[_0x59bb63(0x1dd)]['flipX'],'flipY':_0x42e69d[_0x59bb63(0x1dd)]['flipY'],'left':_0x42e69d[_0x59bb63(0x1dd)][_0x59bb63(0x265)],'top':_0x42e69d[_0x59bb63(0x1dd)]['top'],'width':_0x42e69d['worldRect'][_0x59bb63(0x61e)],'height':_0x42e69d[_0x59bb63(0x1dd)][_0x59bb63(0x283)],'angle':_0x42e69d[_0x59bb63(0x1dd)][_0x59bb63(0x4cf)]});let _0x44215b=(_0xccabce=(_0x1c6fd2=this[_0x59bb63(0x239)])==null?void 0x0:_0x1c6fd2[_0x59bb63(0x274)])==null?_0x58e6c1:_0xccabce;_0x5c8ffe[_0x59bb63(0x4a5)]({'left':_0x44215b['x']-u[_0x59bb63(0x448)][_0x59bb63(0x321)],'top':_0x44215b['y']-u[_0x59bb63(0x448)][_0x59bb63(0x321)]});}[_0x2c7845(0x45f)](_0x5625fb){const _0xb1a340=_0x2c7845;if(!this[_0xb1a340(0x3e1)]||!this['_subUnitId'])return null;let {shapeId:_0x240333,cxnIndex:_0x5f54c9}=_0x5625fb,_0xa3e330=this[_0xb1a340(0x368)][_0xb1a340(0x2e5)](this['_unitId'],this[_0xb1a340(0x5de)],_0x240333);if(!_0xa3e330)return null;let _0x295291=this[_0xb1a340(0x409)][_0xb1a340(0x310)]({'unitId':this[_0xb1a340(0x3e1)],'subUnitId':this[_0xb1a340(0x5de)],'drawingId':_0x240333});if(!(_0x295291!=null&&_0x295291[_0xb1a340(0x247)]))return null;let {left:_0x28bef6=0x0,top:_0x92c329=0x0,width:_0x4d6f3e=0x0,height:_0x4a7983=0x0,flipX:_0xe54816=!0x1,flipY:_0x2433fd=!0x1,angle:_0x1a112b}=_0x295291['transform'];_0xa3e330[_0xb1a340(0x229)]({'width':_0x4d6f3e,'height':_0x4a7983});let _0x25af72=_0xa3e330[_0xb1a340(0x1bc)]()[_0xb1a340(0x5af)](_0x818752=>_0x818752[_0xb1a340(0x2dc)]===_0x5f54c9);if(!_0x25af72)return null;let _0x32da34=_0xe54816?_0x4d6f3e-_0x25af72['x']:_0x25af72['x'],_0x308a5b=_0x2433fd?_0x4a7983-_0x25af72['y']:_0x25af72['y'];if(_0x1a112b!==0x0&&_0x1a112b!=null){let _0x125a63=_0x1a112b*Math['PI']/0xb4,_0x540212=Math[_0xb1a340(0x275)](_0x125a63),_0x3f6bd8=Math['sin'](_0x125a63),_0x23f559=_0x4d6f3e/0x2,_0x3d629b=_0x4a7983/0x2,_0x402fb5=_0x32da34-_0x23f559,_0xc7ae9e=_0x308a5b-_0x3d629b;_0x32da34=_0x23f559+_0x402fb5*_0x540212-_0xc7ae9e*_0x3f6bd8,_0x308a5b=_0x3d629b+_0x402fb5*_0x3f6bd8+_0xc7ae9e*_0x540212;}_0x32da34+=_0x28bef6,_0x308a5b+=_0x92c329;let _0x4ae7aa=_0x25af72[_0xb1a340(0x59c)]/0xea60;_0xe54816&&(_0x4ae7aa=0xb4-_0x4ae7aa),_0x2433fd&&(_0x4ae7aa=-_0x4ae7aa),_0x4ae7aa+=_0x1a112b||0x0,_0x4ae7aa=(_0x4ae7aa%0x168+0x168)%0x168;let _0x3ae2a5=(0x0,u[_0xb1a340(0x595)])({'left':_0x28bef6,'top':_0x92c329,'width':_0x4d6f3e,'height':_0x4a7983},_0x1a112b||0x0);return{'point':{'x':_0x32da34,'y':_0x308a5b},'angle':_0x4ae7aa,'bounds':_0x3ae2a5};}['_calculateFreeEndpointAngle'](_0x1dd51f,_0x29cda7){const _0x3e7f69=_0x2c7845;let _0x309ff5=_0x29cda7['x']-_0x1dd51f['x'],_0x2c5928=_0x29cda7['y']-_0x1dd51f['y'];return Math[_0x3e7f69(0x5e0)](_0x309ff5)>=Math[_0x3e7f69(0x5e0)](_0x2c5928)?_0x309ff5>=0x0?0xb4:0x0:_0x2c5928>=0x0?0x10e:0x5a;}[_0x2c7845(0x45b)](){const _0x44a2a6=_0x2c7845;this[_0x44a2a6(0x294)]=void 0x0,this[_0x44a2a6(0x3e1)]=void 0x0,this[_0x44a2a6(0x5de)]=void 0x0,this[_0x44a2a6(0x2a2)]();}[_0x2c7845(0x35d)](){const _0x483d3e=_0x2c7845;this[_0x483d3e(0x2a2)](),super[_0x483d3e(0x35d)]();}};Z=R([L(0x1,t[_0x2c7845(0x4ed)]),L(0x2,o[_0x2c7845(0x17b)]),L(0x3,a['IDrawingManagerService']),L(0x4,t[_0x2c7845(0x2ff)]),L(0x5,(0x0,t[_0x2c7845(0x290)])(e['SheetsShapeService'])),L(0x6,(0x0,t['Inject'])(B)),L(0x7,(0x0,t['Inject'])(Y))],Z);let Q=class extends t[_0x2c7845(0x4d8)]{constructor(_0x302899,_0x57df26,_0x2ee76b){const _0x36cbd0=_0x2c7845;super(),this['_commandService']=_0x302899,this[_0x36cbd0(0x278)]=_0x57df26,this[_0x36cbd0(0x1b5)]=_0x2ee76b,this[_0x36cbd0(0x534)]();}[_0x2c7845(0x534)](){const _0xb6ca21=_0x2c7845;this[_0xb6ca21(0x2d9)](this[_0xb6ca21(0x5e4)][_0xb6ca21(0x26f)](_0x38b4ff=>{const _0x48f6b3=_0xb6ca21;let _0x4f7190,_0x36fbd;if(_0x38b4ff['id']===e[_0x48f6b3(0x366)]['id']||_0x38b4ff['id']===e[_0x48f6b3(0x43a)]['id']||_0x38b4ff['id']===e[_0x48f6b3(0x19d)]['id']){let _0x2f746e=_0x38b4ff[_0x48f6b3(0x376)];_0x4f7190=_0x2f746e[_0x48f6b3(0x260)],_0x36fbd=_0x2f746e[_0x48f6b3(0x1ec)];}!_0x4f7190||!_0x36fbd||this['_sheetPermissionCheckController'][_0x48f6b3(0x1d0)]({'workbookTypes':[n[_0x48f6b3(0x435)]],'worksheetTypes':[n['WorksheetEditPermission']]},_0x4f7190,_0x36fbd)||this[_0x48f6b3(0x1b5)]['blockExecuteWithoutPermission'](this[_0x48f6b3(0x278)]['t'](_0x48f6b3(0x53e)));}));}};Q=R([L(0x0,(0x0,t[_0x2c7845(0x290)])(t[_0x2c7845(0x4ed)])),L(0x1,(0x0,t[_0x2c7845(0x290)])(t['LocaleService'])),L(0x2,(0x0,t[_0x2c7845(0x290)])(n[_0x2c7845(0x2ef)]))],Q);let $=class extends t[_0x2c7845(0x488)]{constructor(_0x8f2d3c=Ce,_0x4df159,_0x3da495,_0x505ee5,_0x344d72){const _0x5aa0d4=_0x2c7845;super(),this['_config']=_0x8f2d3c,this['_injector']=_0x4df159,this[_0x5aa0d4(0x5e4)]=_0x3da495,this['_configService']=_0x505ee5,this[_0x5aa0d4(0x57d)]=_0x344d72;let {..._0x5a962a}=(0x0,t['merge'])({},Ce,this['_config']);this[_0x5aa0d4(0x443)][_0x5aa0d4(0x5a8)]('sheets-shape-ui.config',_0x5a962a),this[_0x5aa0d4(0x43f)]();}[_0x2c7845(0x60e)](){const _0x66b527=_0x2c7845;(0x0,t[_0x66b527(0x2ea)])(this[_0x66b527(0x250)],[[U],[W],[z]]);}[_0x2c7845(0x3de)](){const _0xc9acf6=_0x2c7845;this['_injector'][_0xc9acf6(0x1a8)](U)[_0xc9acf6(0x190)]();}[_0x2c7845(0x25d)](){const _0x3668c0=_0x2c7845;[[Y],[B],[X]][_0x3668c0(0x3f9)](_0x145cc0=>this[_0x3668c0(0x250)][_0x3668c0(0x34e)](_0x145cc0)),(0x0,t[_0x3668c0(0x2ea)])(this[_0x3668c0(0x250)],[[X]]),this[_0x3668c0(0x57d)][_0x3668c0(0x386)](t['UniverInstanceType'][_0x3668c0(0x1ce)],[Y]),this[_0x3668c0(0x57d)][_0x3668c0(0x386)](t[_0x3668c0(0x2b6)][_0x3668c0(0x1ce)],[B]),this[_0x3668c0(0x57d)][_0x3668c0(0x386)](t[_0x3668c0(0x2b6)][_0x3668c0(0x1ce)],[K]),this['_renderManagerService'][_0x3668c0(0x386)](t[_0x3668c0(0x2b6)][_0x3668c0(0x1ce)],[Z]),this[_0x3668c0(0x57d)][_0x3668c0(0x386)](t['UniverInstanceType']['UNIVER_SHEET'],[je]),this[_0x3668c0(0x57d)][_0x3668c0(0x386)](t[_0x3668c0(0x2b6)][_0x3668c0(0x24e)],[J]);}[_0x2c7845(0x4e6)](){const _0x494c58=_0x2c7845;this['_injector']['add']([G]),this[_0x494c58(0x250)][_0x494c58(0x1a8)](G);let _0x26c198=this[_0x494c58(0x250)];[[U],[W],[z],[C],[q],[H],[Q]]['forEach'](_0x360ff4=>_0x26c198[_0x494c58(0x34e)](_0x360ff4)),(0x0,t[_0x494c58(0x2ea)])(this[_0x494c58(0x250)],[[U],[W],[z],[C],[q],[H],[Q]]);}[_0x2c7845(0x43f)](){const _0x2378e4=_0x2c7845;[V,T,A,E,D,k,O,M,N,j,se][_0x2378e4(0x3f9)](_0x14f2c2=>this[_0x2378e4(0x2d9)](this[_0x2378e4(0x5e4)][_0x2378e4(0x527)](_0x14f2c2)));}};S($,_0x2c7845(0x26b),t['UniverInstanceType'][_0x2c7845(0x1ce)]),S($,_0x2c7845(0x2de),_0x2c7845(0x5a1)),S($,_0x2c7845(0x4c4),xe),S($,_0x2c7845(0x5bd),Se),$=R([(0x0,t[_0x2c7845(0x53f)])(g[_0x2c7845(0x2ab)],e[_0x2c7845(0x1c1)]),L(0x1,(0x0,t[_0x2c7845(0x290)])(t[_0x2c7845(0x5cd)])),L(0x2,t['ICommandService']),L(0x3,t['IConfigService']),L(0x4,o['IRenderManagerService'])],$),exports[_0x2c7845(0x1e6)]=D,exports[_0x2c7845(0x48e)]=k,exports[_0x2c7845(0x428)]=O,exports[_0x2c7845(0x3f2)]=E,exports[_0x2c7845(0x516)]=A,exports[_0x2c7845(0x1da)]=j,Object[_0x2c7845(0x40c)](exports,_0x2c7845(0x3ec),{'enumerable':!0x0,'get':function(){return U;}}),Object[_0x2c7845(0x40c)](exports,_0x2c7845(0x59a),{'enumerable':!0x0,'get':function(){return $;}}),exports[_0x2c7845(0x1f0)]=T;
1
+ const _0x1bf676=_0x33a1;(function(_0x1c6f94,_0x5a711f){const _0x429063=_0x33a1,_0x387a65=_0x1c6f94();while(!![]){try{const _0x58770f=parseInt(_0x429063(0x476))/0x1+parseInt(_0x429063(0x2f0))/0x2*(parseInt(_0x429063(0x3bc))/0x3)+-parseInt(_0x429063(0x540))/0x4*(parseInt(_0x429063(0x402))/0x5)+parseInt(_0x429063(0x33b))/0x6+-parseInt(_0x429063(0x252))/0x7*(-parseInt(_0x429063(0x511))/0x8)+parseInt(_0x429063(0x4c4))/0x9*(-parseInt(_0x429063(0x449))/0xa)+-parseInt(_0x429063(0x5ef))/0xb*(-parseInt(_0x429063(0x4a8))/0xc);if(_0x58770f===_0x5a711f)break;else _0x387a65['push'](_0x387a65['shift']());}catch(_0x5d61a6){_0x387a65['push'](_0x387a65['shift']());}}}(_0x1d55,0x85562),Object[_0x1bf676(0x4d5)](exports,Symbol[_0x1bf676(0x281)],{'value':_0x1bf676(0x385)}));let e=require('@univerjs-pro/sheets-shape'),t=require('@univerjs/core'),n=require('@univerjs/sheets'),r=require('@univerjs/sheets-drawing'),i=require('rxjs'),a=require('@univerjs/drawing'),o=require('@univerjs/engine-render'),s=require('@univerjs/docs-ui'),c=require('@univerjs/sheets-ui'),l=require('@univerjs/ui'),u=require('@univerjs-pro/engine-shape'),d=require('@univerjs/drawing-ui'),f=require('@univerjs/docs'),p=require('@univerjs/design'),m=require('react'),h=require('react/jsx-runtime'),g=require('@univerjs/sheets-drawing-ui'),_=require('@univerjs/icons'),v=require('@univerjs-pro/shape-editor-ui');function y(_0x50c7bf){'@babel/helpers - typeof';const _0x4e533e=_0x1bf676;return y=typeof Symbol==_0x4e533e(0x290)&&typeof Symbol['iterator']=='symbol'?function(_0x1fe220){return typeof _0x1fe220;}:function(_0x189ba4){const _0x5c0f04=_0x4e533e;return _0x189ba4&&typeof Symbol=='function'&&_0x189ba4[_0x5c0f04(0x37a)]===Symbol&&_0x189ba4!==Symbol['prototype']?_0x5c0f04(0x485):typeof _0x189ba4;},y(_0x50c7bf);}function b(_0x2fb127,_0x394cf3){const _0x747a3c=_0x1bf676;if(y(_0x2fb127)!='object'||!_0x2fb127)return _0x2fb127;var _0xccfc0c=_0x2fb127[Symbol[_0x747a3c(0x4c6)]];if(_0xccfc0c!==void 0x0){var _0x2814de=_0xccfc0c[_0x747a3c(0x258)](_0x2fb127,_0x394cf3||_0x747a3c(0x33c));if(y(_0x2814de)!=_0x747a3c(0x407))return _0x2814de;throw TypeError(_0x747a3c(0x5f0));}return(_0x394cf3===_0x747a3c(0x410)?String:Number)(_0x2fb127);}function x(_0x5cd950){const _0x17b45f=_0x1bf676;var _0x490d75=b(_0x5cd950,_0x17b45f(0x410));return y(_0x490d75)==_0x17b45f(0x485)?_0x490d75:_0x490d75+'';}function S(_0x4c5102,_0x2abd7f,_0x2379e6){const _0x37799f=_0x1bf676;return(_0x2abd7f=x(_0x2abd7f))in _0x4c5102?Object[_0x37799f(0x4d5)](_0x4c5102,_0x2abd7f,{'value':_0x2379e6,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4c5102[_0x2abd7f]=_0x2379e6,_0x4c5102;}var C=class extends t[_0x1bf676(0x5b5)]{constructor(..._0x3fb405){const _0x534bbc=_0x1bf676;super(..._0x3fb405),S(this,_0x534bbc(0x4bb),new i['BehaviorSubject'](null)),S(this,'editingParams$',this[_0x534bbc(0x4bb)]['asObservable']()),S(this,'_onSavingEditorData$',new i[(_0x534bbc(0x525))](!0x1)),S(this,'onSavingEditorData$',this[_0x534bbc(0x26e)][_0x534bbc(0x5a0)]());}[_0x1bf676(0x53f)](){const _0x1b9f64=_0x1bf676;this[_0x1b9f64(0x4bb)]['next'](null),this[_0x1b9f64(0x4bb)][_0x1b9f64(0x227)](),this[_0x1b9f64(0x26e)][_0x1b9f64(0x47e)](!0x1),this[_0x1b9f64(0x26e)]['complete'](),super[_0x1b9f64(0x53f)]();}[_0x1bf676(0x1ed)](_0x423cdb){const _0x381e1e=_0x1bf676;this[_0x381e1e(0x4bb)][_0x381e1e(0x47e)](_0x423cdb),_0x423cdb==null&&this[_0x381e1e(0x26e)]['next'](!0x1);}[_0x1bf676(0x4a1)](_0x30980b){const _0x271731=_0x1bf676;this[_0x271731(0x26e)][_0x271731(0x47e)](_0x30980b);}['getEditing'](){const _0x11c113=_0x1bf676;return this[_0x11c113(0x4bb)][_0x11c113(0x437)]();}};function w(_0x352cf6,_0x4ed0ff){const _0xdb7333=_0x1bf676;let _0x2d8107={};for(let _0x2e6b1d of Object[_0xdb7333(0x222)](_0x4ed0ff)){let _0x500370=_0x4ed0ff[_0x2e6b1d],_0x6aee84=_0x352cf6[_0x2e6b1d];if(_0x500370!==void 0x0){if(_0x6aee84===void 0x0){_0x2d8107[_0x2e6b1d]=void 0x0;continue;}typeof _0x500370==_0xdb7333(0x407)&&_0x500370&&!Array[_0xdb7333(0x37f)](_0x500370)&&typeof _0x6aee84==_0xdb7333(0x407)&&_0x6aee84&&!Array[_0xdb7333(0x37f)](_0x6aee84)?_0x2d8107[_0x2e6b1d]=w(_0x6aee84,_0x500370):_0x2d8107[_0x2e6b1d]=_0x6aee84;}}return _0x2d8107;}const T={'type':t[_0x1bf676(0x5ea)][_0x1bf676(0x2b1)],'id':'sheet.command.update-shape-data','handler':(_0x17c151,_0x3e948b)=>{const _0x304b7e=_0x1bf676;let _0x435062=_0x17c151['get'](e['SheetsShapeService']),{unitId:_0x3446e3,subUnitId:_0x12fe90,shapeType:_0x2bca0f,shapeId:_0x2ae88d,shapeData:_0x1fe4de,oldShapeJSON:_0x31e0ca}=_0x3e948b;if(!_0x435062[_0x304b7e(0x655)](_0x3446e3,_0x12fe90,_0x2ae88d))return!0x1;let _0x417afb=_0x17c151[_0x304b7e(0x1f9)](t[_0x304b7e(0x63c)]),_0x4d76f8=_0x17c151['get'](t[_0x304b7e(0x518)]),{oldShapeType:_0x154eb6,oldShapeData:_0x3b1cfd={}}=_0x31e0ca,_0x3fd108=w(_0x3b1cfd,_0x1fe4de||{}),_0x273521={'id':e[_0x304b7e(0x276)]['id'],'params':{'unitId':_0x3446e3,'subUnitId':_0x12fe90,'shapeId':_0x2ae88d,'shapeType':_0x2bca0f,'shapeData':_0x1fe4de}},_0x434e17={'id':e[_0x304b7e(0x276)]['id'],'params':{'unitId':_0x3446e3,'subUnitId':_0x12fe90,'shapeId':_0x2ae88d,'shapeType':_0x154eb6,'shapeData':_0x3fd108}};return _0x417afb[_0x304b7e(0x40c)](_0x273521['id'],_0x273521[_0x304b7e(0x20d)])?(_0x4d76f8[_0x304b7e(0x59d)]({'unitID':_0x3446e3,'undoMutations':[_0x434e17],'redoMutations':[_0x273521]}),!0x0):!0x1;}},E={'type':t[_0x1bf676(0x5ea)][_0x1bf676(0x2b1)],'id':_0x1bf676(0x5a3),'handler':async(_0x3522a0,_0x337ec2)=>{const _0x150842=_0x1bf676;var _0x297c61;if(!(0x0,n[_0x150842(0x41b)])(_0x3522a0['get'](t[_0x150842(0x247)])))return!0x1;let _0x2a3375=_0x3522a0[_0x150842(0x1f9)](r[_0x150842(0x2af)])[_0x150842(0x62f)]()[_0x150842(0x289)](_0x1d55db=>_0x1d55db[_0x150842(0x24b)]===t[_0x150842(0x45e)][_0x150842(0x2f9)]);if(_0x2a3375[_0x150842(0x2cd)]!==0x1)return!0x1;let _0x2eb84c=_0x3522a0[_0x150842(0x1f9)](C)[_0x150842(0x20c)](),_0x3c5249=(_0x2eb84c==null?void 0x0:_0x2eb84c[_0x150842(0x3c1)])||_0x2a3375[0x0][_0x150842(0x3c1)],_0x935a70=(_0x2eb84c==null?void 0x0:_0x2eb84c[_0x150842(0x5d0)])||_0x2a3375[0x0][_0x150842(0x5d0)],_0x41849b=(_0x2eb84c==null?void 0x0:_0x2eb84c['shapeId'])||_0x2a3375[0x0][_0x150842(0x45c)],_0x37f19d=_0x3522a0['get'](e[_0x150842(0x35a)])[_0x150842(0x655)](_0x3c5249,_0x935a70,_0x41849b);if(!_0x37f19d)return!0x1;let _0x327d69=_0x37f19d[_0x150842(0x4fb)]();if(!_0x327d69||!(_0x150842(0x478)in _0x327d69))return!0x1;let _0x40032f=_0x3522a0['get'](t[_0x150842(0x63c)]),{value:_0x2960ff}=_0x337ec2,_0x282b38=_0x37f19d[_0x150842(0x4c7)](),_0x3071d3=_0x37f19d[_0x150842(0x2e3)](),_0x2f7f8f={..._0x327d69[_0x150842(0x478)],'ha':_0x2960ff};return await _0x40032f[_0x150842(0x2e7)](T['id'],{'unitId':_0x3c5249,'subUnitId':_0x935a70,'shapeId':_0x41849b,'shapeType':_0x282b38,'shapeData':{'shapeText':{'isHorizontal':(_0x297c61=_0x327d69[_0x150842(0x48b)])==null?!0x0:_0x297c61,'dataModel':_0x2f7f8f}},'oldShapeJSON':{'oldShapeType':_0x282b38,'oldShapeData':_0x3071d3}});}},D={'type':t[_0x1bf676(0x5ea)]['COMMAND'],'id':'sheet.command.set-shape-text-font-size','handler':async(_0x3596c4,_0x4d6e73)=>{const _0x77cd15=_0x1bf676;var _0x4422b0;if(!_0x4d6e73)return!0x1;let {value:_0x285961}=_0x4d6e73,_0x53932b=_0x3596c4[_0x77cd15(0x1f9)](t['ICommandService']),_0xc2a60c=_0x3596c4[_0x77cd15(0x1f9)](C),_0x39acbd=_0x3596c4[_0x77cd15(0x1f9)](e[_0x77cd15(0x35a)]),_0x177c9d=_0x3596c4[_0x77cd15(0x1f9)](o[_0x77cd15(0x4b4)]),_0x333eb7=_0xc2a60c['getEditing']();if(!_0x333eb7)return!0x1;let {unitId:_0x3a6a26,subUnitId:_0x3c2d36,shapeId:_0x6b38ff}=_0x333eb7,_0x1f04d6=_0x39acbd[_0x77cd15(0x655)](_0x3a6a26,_0x3c2d36,_0x6b38ff);if(!_0x1f04d6)return!0x1;let _0x31ff7c=_0x1f04d6[_0x77cd15(0x4fb)]();if(!_0x31ff7c||!(_0x77cd15(0x478)in _0x31ff7c))return!0x1;let _0x8bf3c4=_0x31ff7c[_0x77cd15(0x478)];if(!_0x8bf3c4)return!0x1;let _0x1aa541={..._0x8bf3c4,'fs':_0x285961},_0x34d882=await _0x53932b['executeCommand'](T['id'],{'unitId':_0x3a6a26,'subUnitId':_0x3c2d36,'shapeId':_0x6b38ff,'shapeData':{'shapeText':{'isHorizontal':(_0x4422b0=_0x31ff7c['isHorizontal'])==null?!0x0:_0x4422b0,'dataModel':_0x1aa541}}});if(_0x34d882){let _0x359144=_0x177c9d[_0x77cd15(0x4bf)](_0x3a6a26);if(_0x359144!=null&&_0x359144[_0x77cd15(0x5c6)]){let _0x20d9ef=(0x0,a[_0x77cd15(0x205)])({'unitId':_0x3a6a26,'subUnitId':_0x3c2d36,'drawingId':_0x6b38ff}),_0x5d5689=_0x359144[_0x77cd15(0x5c6)][_0x77cd15(0x5d3)](_0x20d9ef);_0x5d5689&&_0x5d5689[_0x77cd15(0x664)](!0x0);}}return _0x34d882;}},O={'type':t['CommandType'][_0x1bf676(0x2b1)],'id':_0x1bf676(0x345),'handler':async _0xb1d7aa=>{const _0x472ed3=_0x1bf676;var _0x38d58c;let _0x65937e=_0xb1d7aa['get'](C),_0x30131c=_0xb1d7aa[_0x472ed3(0x1f9)](e[_0x472ed3(0x35a)]),_0x231f50=_0xb1d7aa['get'](t[_0x472ed3(0x63c)]),_0xfbf003=_0x65937e[_0x472ed3(0x20c)]();if(!_0xfbf003)return!0x1;let {unitId:_0x2139f1,subUnitId:_0x34d993,shapeId:_0x3d1498}=_0xfbf003,_0x5625d7=_0x30131c['getShapeModel'](_0x2139f1,_0x34d993,_0x3d1498);if(!_0x5625d7)return!0x1;let _0x5686e3=_0x5625d7['getShapeTextData']();if(!_0x5686e3||!(_0x472ed3(0x478)in _0x5686e3))return!0x1;let _0x4b80a4=_0x5686e3[_0x472ed3(0x478)],_0x578db4=(_0x38d58c=_0x4b80a4==null?void 0x0:_0x4b80a4['fs'])==null?0xe:_0x38d58c,_0x4f886a=[0x9,0xa,0xb,0xc,0xe,0x10,0x12,0x14,0x16,0x18,0x1a,0x1c,0x24,0x30,0x48],_0x45e0e9=_0x578db4,_0x36e50e=_0x4f886a['indexOf'](_0x578db4);return _0x36e50e!==-0x1&&_0x36e50e<_0x4f886a['length']-0x1?_0x45e0e9=_0x4f886a[_0x36e50e+0x1]:_0x36e50e===-0x1&&(_0x45e0e9=Math[_0x472ed3(0x5b7)](_0x578db4)+0x1),_0x231f50[_0x472ed3(0x2e7)](D['id'],{'value':_0x45e0e9});}},k={'type':t[_0x1bf676(0x5ea)][_0x1bf676(0x2b1)],'id':'sheet.command.set-shape-text-font-size-decrease','handler':async _0x4221a5=>{const _0x4946c7=_0x1bf676;var _0x2489d8;let _0x2c4cee=_0x4221a5[_0x4946c7(0x1f9)](C),_0x35f5e5=_0x4221a5[_0x4946c7(0x1f9)](e[_0x4946c7(0x35a)]),_0x4b6b13=_0x4221a5[_0x4946c7(0x1f9)](t[_0x4946c7(0x63c)]),_0x3594f4=_0x2c4cee[_0x4946c7(0x20c)]();if(!_0x3594f4)return!0x1;let {unitId:_0x5340db,subUnitId:_0x1d5763,shapeId:_0x12dbb4}=_0x3594f4,_0x73012=_0x35f5e5[_0x4946c7(0x655)](_0x5340db,_0x1d5763,_0x12dbb4);if(!_0x73012)return!0x1;let _0x4786d9=_0x73012[_0x4946c7(0x4fb)]();if(!_0x4786d9||!('dataModel'in _0x4786d9))return!0x1;let _0x3bb564=_0x4786d9[_0x4946c7(0x478)],_0x49ae1a=(_0x2489d8=_0x3bb564==null?void 0x0:_0x3bb564['fs'])==null?0xe:_0x2489d8,_0x3e0dcb=[0x9,0xa,0xb,0xc,0xe,0x10,0x12,0x14,0x16,0x18,0x1a,0x1c,0x24,0x30,0x48],_0x575eae=_0x49ae1a,_0x2b2631=_0x3e0dcb[_0x4946c7(0x294)](_0x49ae1a);return _0x2b2631!==-0x1&&_0x2b2631>0x0?_0x575eae=_0x3e0dcb[_0x2b2631-0x1]:_0x2b2631===-0x1&&(_0x575eae=Math[_0x4946c7(0x5b7)](_0x49ae1a)-0x1),_0x575eae<0x1&&(_0x575eae=0x1),_0x4b6b13[_0x4946c7(0x2e7)](D['id'],{'value':_0x575eae});}},A={'type':t[_0x1bf676(0x5ea)][_0x1bf676(0x2b1)],'id':_0x1bf676(0x251),'handler':async(_0x3226c5,_0xf6ba32)=>{const _0x4c9a9d=_0x1bf676;var _0x3da82;if(!(0x0,n[_0x4c9a9d(0x41b)])(_0x3226c5[_0x4c9a9d(0x1f9)](t[_0x4c9a9d(0x247)])))return!0x1;let _0x230549=_0x3226c5['get'](r[_0x4c9a9d(0x2af)])[_0x4c9a9d(0x62f)]()['filter'](_0xfd9f37=>_0xfd9f37[_0x4c9a9d(0x24b)]===t[_0x4c9a9d(0x45e)][_0x4c9a9d(0x2f9)]);if(_0x230549['length']!==0x1)return!0x1;let _0x4fad59=_0x3226c5[_0x4c9a9d(0x1f9)](C)[_0x4c9a9d(0x20c)](),_0x850098=(_0x4fad59==null?void 0x0:_0x4fad59['unitId'])||_0x230549[0x0][_0x4c9a9d(0x3c1)],_0x159e9c=(_0x4fad59==null?void 0x0:_0x4fad59[_0x4c9a9d(0x5d0)])||_0x230549[0x0][_0x4c9a9d(0x5d0)],_0x17d9f1=(_0x4fad59==null?void 0x0:_0x4fad59[_0x4c9a9d(0x4b9)])||_0x230549[0x0][_0x4c9a9d(0x45c)],_0x343109=_0x3226c5[_0x4c9a9d(0x1f9)](e['SheetsShapeService'])[_0x4c9a9d(0x655)](_0x850098,_0x159e9c,_0x17d9f1);if(!_0x343109)return!0x1;let _0x302966=_0x343109['getShapeTextData']();if(!_0x302966||!('dataModel'in _0x302966))return!0x1;let _0x3eeefa=_0x3226c5['get'](t[_0x4c9a9d(0x63c)]),{value:_0x369d2f}=_0xf6ba32,_0x11bc52=_0x343109[_0x4c9a9d(0x4c7)](),_0x1614c3=_0x343109[_0x4c9a9d(0x2e3)](),_0x499a14={..._0x302966[_0x4c9a9d(0x478)],'va':_0x369d2f};return await _0x3eeefa[_0x4c9a9d(0x2e7)](T['id'],{'unitId':_0x850098,'subUnitId':_0x159e9c,'shapeId':_0x17d9f1,'shapeType':_0x11bc52,'shapeData':{'shapeText':{'isHorizontal':(_0x3da82=_0x302966[_0x4c9a9d(0x48b)])==null?!0x0:_0x3da82,'dataModel':_0x499a14}},'oldShapeJSON':{'oldShapeType':_0x11bc52,'oldShapeData':_0x1614c3}});}},j={'type':t['CommandType'][_0x1bf676(0x2b1)],'id':_0x1bf676(0x622),'handler':(_0x582f0c,_0x2c5a81)=>{const _0x1aed0a=_0x1bf676;if(!_0x2c5a81)return!0x1;let {value:_0x658609}=_0x2c5a81;return _0x582f0c[_0x1aed0a(0x1f9)](t['ICommandService'])[_0x1aed0a(0x40c)](s[_0x1aed0a(0x3e0)]['id'],{'alignType':_0x658609});}},M={'type':t[_0x1bf676(0x5ea)][_0x1bf676(0x565)],'id':_0x1bf676(0x250),'handler'(){return!0x0;}},N={'type':t[_0x1bf676(0x5ea)][_0x1bf676(0x565)],'id':_0x1bf676(0x5ff),'handler'(){return!0x0;}},P=_0x1bf676(0x240),ee=_0x1bf676(0x5c2),te=(0x0,t[_0x1bf676(0x62b)])('SHAPE_TEXT');function F(_0x3a2dcd,_0x1ae845,_0xf58749,_0x1e5304,_0x116099,_0x4787ee){let _0x42da1d={'unitId':_0x1ae845,'subUnitId':_0xf58749,'shapeId':_0x1e5304,'shapeData':_0x4787ee,'oldShapeJSON':_0x116099};return _0x3a2dcd['executeCommand'](T['id'],_0x42da1d);}function ne(_0x557256,_0x13c0c7,_0x289b85,_0x42f0b3,_0x9cae1a,_0x5678c2){const _0x518496=_0x1bf676;let _0x48070d={'unitId':_0x13c0c7,'subUnitId':_0x289b85,'shapeId':_0x42f0b3,'shapeData':_0x5678c2,'oldShapeJSON':_0x9cae1a};return _0x557256[_0x518496(0x2e7)](T['id'],_0x48070d);}function re(_0x542e03){const _0x4cb26f=_0x1bf676;var _0x5e8b91,_0x34ffcf,_0x274e7c,_0x13de4a;let _0x541bc1=(_0x5e8b91=(_0x34ffcf=_0x542e03[_0x4cb26f(0x618)])==null||(_0x34ffcf=_0x34ffcf['dataStream'])==null?void 0x0:_0x34ffcf[_0x4cb26f(0x2cd)])==null?0x0:_0x5e8b91,_0x1497e2=(_0x274e7c=_0x542e03[_0x4cb26f(0x618)])==null?void 0x0:_0x274e7c['sectionBreaks'];if(_0x1497e2!=null&&_0x1497e2['length'])for(let _0x12892c of _0x1497e2){var _0x12fc2b;_0x12892c['gridType']=(_0x12fc2b=_0x12892c[_0x4cb26f(0x542)])==null?t[_0x4cb26f(0x45d)][_0x4cb26f(0x432)]:_0x12fc2b;}else _0x542e03[_0x4cb26f(0x618)]&&(_0x542e03[_0x4cb26f(0x618)]['sectionBreaks']=[{'startIndex':Math['max'](0x0,_0x541bc1-0x1),'gridType':t[_0x4cb26f(0x45d)][_0x4cb26f(0x432)]}]);let _0x1b85a0=(_0x13de4a=_0x542e03['body'])==null?void 0x0:_0x13de4a['paragraphs'];if(_0x1b85a0)for(let _0x34f6d9 of _0x1b85a0){var _0x39ea86,_0x3a9e15,_0x440673,_0x5966c2,_0x52430e,_0x2d4155,_0x4e0e97,_0x3fd5ce;_0x34f6d9[_0x4cb26f(0x5fd)]={..._0x34f6d9[_0x4cb26f(0x5fd)],'lineSpacing':(_0x39ea86=(_0x3a9e15=_0x34f6d9[_0x4cb26f(0x5fd)])==null?void 0x0:_0x3a9e15[_0x4cb26f(0x2c9)])==null?0x1:_0x39ea86,'snapToGrid':(_0x440673=(_0x5966c2=_0x34f6d9[_0x4cb26f(0x5fd)])==null?void 0x0:_0x5966c2[_0x4cb26f(0x238)])==null?t[_0x4cb26f(0x44b)]['FALSE']:_0x440673,'spaceAbove':(_0x52430e=(_0x2d4155=_0x34f6d9['paragraphStyle'])==null?void 0x0:_0x2d4155[_0x4cb26f(0x434)])==null?{'v':0x0}:_0x52430e,'spaceBelow':(_0x4e0e97=(_0x3fd5ce=_0x34f6d9['paragraphStyle'])==null?void 0x0:_0x3fd5ce[_0x4cb26f(0x213)])==null?{'v':0x0}:_0x4e0e97};}}function ie(_0x546888){const _0xcd02a3=_0x1bf676;let _0xefb8b5=_0x546888['body'],_0x5581e3=_0xefb8b5==null?void 0x0:_0xefb8b5[_0xcd02a3(0x217)],_0x533d07=_0xefb8b5==null?void 0x0:_0xefb8b5[_0xcd02a3(0x358)];if(!_0xefb8b5||!(_0x5581e3!=null&&_0x5581e3[_0xcd02a3(0x2cd)])||!_0x533d07)return;let _0x4f0cbf=[];for(let _0x4a2cee=0x0;_0x4a2cee<_0x533d07[_0xcd02a3(0x2cd)];_0x4a2cee++)_0x533d07[_0x4a2cee]==='\x0d'&&_0x4f0cbf[_0xcd02a3(0x23a)](_0x4a2cee);_0x4f0cbf[_0xcd02a3(0x2cd)]===_0x5581e3[_0xcd02a3(0x2cd)]&&(_0xefb8b5[_0xcd02a3(0x217)]=_0x5581e3[_0xcd02a3(0x4fc)]((_0x34e793,_0x5dc60e)=>({..._0x34e793,'startIndex':_0x4f0cbf[_0x5dc60e]})));}function ae(_0x5b2008,_0x2807f6){const _0x41ad67=_0x1bf676;var _0x357857,_0xdec700,_0x5ab070;let {isHorizontal:_0x563dfa,textRect:_0x20013a,verticalAlign:_0x3bfbc4}=_0x2807f6,_0x5ab9ac=_0x563dfa?_0x20013a[_0x41ad67(0x5e7)]:_0x20013a[_0x41ad67(0x4f4)],_0x21d2cb=t[_0x41ad67(0x41a)]['deepClone'](_0x5b2008),_0x2d24ac=(_0x357857=_0x21d2cb[_0x41ad67(0x37e)])==null?{}:_0x357857,_0x5544df={..._0x2d24ac['renderConfig'],'centerAngle':_0x563dfa?0x0:o['VERTICAL_ROTATE_ANGLE'],'vertexAngle':_0x563dfa?0x0:o['VERTICAL_ROTATE_ANGLE'],'wrapStrategy':t[_0x41ad67(0x3d4)][_0x41ad67(0x3a0)],'zeroWidthParagraphBreak':(_0xdec700=(_0x5ab070=_0x2d24ac[_0x41ad67(0x4d7)])==null?void 0x0:_0x5ab070['zeroWidthParagraphBreak'])==null?t[_0x41ad67(0x44b)][_0x41ad67(0x5a5)]:_0xdec700};if(_0x3bfbc4!==void 0x0&&(_0x5544df[_0x41ad67(0x31d)]=_0x3bfbc4),_0x2807f6['horizontalAlign']!==void 0x0){var _0x2be21b;_0x5544df[_0x41ad67(0x628)]=_0x2807f6['horizontalAlign'];let _0x4906ce=(_0x2be21b=_0x21d2cb[_0x41ad67(0x618)])==null?void 0x0:_0x2be21b['paragraphs'];if(_0x4906ce){for(let _0x518525 of _0x4906ce)_0x518525[_0x41ad67(0x5fd)]||(_0x518525[_0x41ad67(0x5fd)]={}),_0x518525[_0x41ad67(0x5fd)][_0x41ad67(0x628)]=_0x2807f6['horizontalAlign'];}}return _0x21d2cb[_0x41ad67(0x37e)]={..._0x2d24ac,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x5ab9ac,'height':0x1/0x0},'renderConfig':_0x5544df},ie(_0x21d2cb),re(_0x21d2cb),_0x21d2cb;}var I=class extends o['Shape']{constructor(_0x4d9e4e,_0x3cb386){const _0x3c40d0=_0x1bf676;super(_0x4d9e4e,_0x3cb386),S(this,'_props',void 0x0),S(this,_0x3c40d0(0x627),!0x0),S(this,_0x3c40d0(0x46f),t[_0x3c40d0(0x45e)]['DRAWING_SHAPE']),S(this,'isDrawingObject',!0x0),this[_0x3c40d0(0x4a9)]={..._0x3cb386},this[_0x3c40d0(0x619)]();}[_0x1bf676(0x619)](){const _0x331e45=_0x1bf676;this[_0x331e45(0x387)][_0x331e45(0x59b)](_0x4eb9a1=>{const _0x4167e8=_0x331e45;this[_0x4167e8(0x54b)](_0x4eb9a1);});}[_0x1bf676(0x621)](_0x45b9c0){const _0x555680=_0x1bf676;this[_0x555680(0x4a9)]['prstGeom']=_0x45b9c0;}['setEditing'](_0x530d03){const _0x34d321=_0x1bf676;this[_0x34d321(0x4a9)]['isEditing']=_0x530d03,this[_0x34d321(0x664)](!0x0);}get[_0x1bf676(0x3c1)](){const _0x2baf18=_0x1bf676;return this[_0x2baf18(0x4a9)][_0x2baf18(0x3c1)];}get[_0x1bf676(0x5d0)](){const _0x429be5=_0x1bf676;return this[_0x429be5(0x4a9)][_0x429be5(0x5d0)];}[_0x1bf676(0x54b)](_0x1ea207){const _0x1452d5=_0x1bf676;if(this['_props'][_0x1452d5(0x3ff)]==null||!this[_0x1452d5(0x627)])return;let {width:_0x5c4da6,height:_0xce7299}=this,{width:_0x1bdf89=0x0,height:_0x9ceeac=0x0}=_0x1ea207[_0x1452d5(0x355)],{left:_0x216b29=0x0,top:_0xa74b68=0x0,right:_0x2c7bdd=0x0,bottom:_0x3fa7b3=0x0}=this[_0x1452d5(0x4a9)][_0x1452d5(0x3ff)],_0x3f50e3=_0x216b29,_0xd36f28=_0xa74b68,_0x1526ea=_0x2c7bdd,_0x1bdb58=_0x3fa7b3,_0x8bfaec=!0x1;if(_0x1bdf89!==0x0&&_0x1bdf89!==_0x5c4da6){let _0xb237f0=_0x216b29/_0x1bdf89,_0xac99af=_0x2c7bdd/_0x1bdf89;_0x3f50e3=_0x5c4da6*_0xb237f0,_0x1526ea=_0x5c4da6*_0xac99af,_0x8bfaec=!0x0;}if(_0x9ceeac!==0x0&&_0x9ceeac!==_0xce7299){let _0x36f7d1=_0xa74b68/_0x9ceeac,_0x5afe6a=_0x3fa7b3/_0x9ceeac;_0xd36f28=_0xce7299*_0x36f7d1,_0x1bdb58=_0xce7299*_0x5afe6a,_0x8bfaec=!0x0;}_0x8bfaec&&this[_0x1452d5(0x4e9)]({'left':_0x3f50e3,'top':_0xd36f28,'right':_0x1526ea,'bottom':_0x1bdb58});}[_0x1bf676(0x4e9)](_0x56b487){const _0x489a04=_0x1bf676;this[_0x489a04(0x4a9)]['srcRect']=_0x56b487,this[_0x489a04(0x664)](!0x0);}['setFillImage'](_0x597b75){const _0x794b7=_0x1bf676;this['_props'][_0x794b7(0x5be)]=_0x597b75,this[_0x794b7(0x664)](!0x0);}set[_0x1bf676(0x577)](_0x1f5c3e){this['_transform']=_0x1f5c3e;}get['transform'](){const _0x493823=_0x1bf676;this[_0x493823(0x20e)]||this[_0x493823(0x5b9)]();let _0x168785=this[_0x493823(0x20e)]['clone']();return this[_0x493823(0x2dd)](_0x168785);}get[_0x1bf676(0x5d6)](){const _0xeb0624=_0x1bf676;return this[_0xeb0624(0x4a9)]['shapeModel'];}get[_0x1bf676(0x4b9)](){const _0x13bbb4=_0x1bf676;return this[_0x13bbb4(0x4a9)]['shapeId'];}get[_0x1bf676(0x43f)](){const _0xf1bae1=_0x1bf676;return o[_0xf1bae1(0x466)][_0xf1bae1(0x50e)];}['_draw'](_0x4bf511,_0x4b7bbe,_0xd6c905,_0x1b88fb){const _0x522078=_0x1bf676;let _0x2a08a4=this['_props'][_0x522078(0x5d6)];if(!_0x2a08a4||!_0x4b7bbe)return;let _0x1ada79=_0xd6c905==null?this['width']:_0xd6c905,_0x496a0c=_0x1b88fb==null?this[_0x522078(0x4f4)]:_0x1b88fb,_0x5d06df={'shapeType':_0x2a08a4['getShapeType'](),'width':_0x1ada79,'height':_0x496a0c},_0x5b6b26={'renderMode':u['ShapeRenderModeEnum']['Path'],'oKey':this[_0x522078(0x2e0)],'image':this['_props'][_0x522078(0x5be)],'angle':this[_0x522078(0x3fe)]};_0x2a08a4[_0x522078(0x1fe)](_0x5d06df),_0x4bf511[_0x522078(0x59e)]();let _0x432c20={'top':0x0,'left':0x0,'width':_0x1ada79,'height':_0x496a0c};_0x2a08a4[_0x522078(0x22b)](_0x4bf511,_0x432c20,_0x5b6b26),_0x4bf511[_0x522078(0x4b8)]();let _0xed5382=_0x2a08a4[_0x522078(0x4fb)](),_0x3a0953=_0x2a08a4[_0x522078(0x4a4)](_0x432c20),_0x1261f2=_0x2a08a4[_0x522078(0x24e)]();if(_0xed5382&&_0x3a0953&&!_0x1261f2){_0x4bf511['save'](),this[_0x522078(0x418)]()[_0x522078(0x334)]&&_0x4bf511[_0x522078(0x36d)](-0x1,0x1);let _0x1a8833=_0x1ada79/0x2,_0x334c73=_0x496a0c/0x2;_0x4bf511[_0x522078(0x2e1)](-_0x1a8833,-_0x334c73),_0x4bf511[_0x522078(0x26d)](),this[_0x522078(0x1e5)](_0x4bf511,_0xed5382,_0x3a0953),_0x4bf511[_0x522078(0x4b8)]();}}[_0x1bf676(0x221)](_0x4718fc){}[_0x1bf676(0x1e5)](_0x4505e6,_0x29cef8,_0x38631d){const _0xd2d718=_0x1bf676;this['_props'][_0xd2d718(0x360)]||(_0xd2d718(0x2b9)in _0x29cef8&&_0x29cef8['isRichText']===!0x1?this[_0xd2d718(0x38c)](_0x4505e6,_0x29cef8,_0x38631d):this[_0xd2d718(0x4cd)](_0x4505e6,_0x29cef8,_0x38631d));}[_0x1bf676(0x38c)](_0x130e6f,_0x5d30d8,_0x46d398){}[_0x1bf676(0x4cd)](_0x4a378c,_0x49b191,_0x696902){const _0x24394d=_0x1bf676;var _0x6309f0,_0x5e66e0;let _0x27a63d=this[_0x24394d(0x4a9)][_0x24394d(0x1eb)];if(!_0x49b191[_0x24394d(0x478)]||!_0x27a63d)return;let _0x4bfc0a=_0x49b191[_0x24394d(0x478)],_0x53cac1=_0x4bfc0a[_0x24394d(0x631)],_0x34af96=(_0x6309f0=_0x4bfc0a['va'])==null?t[_0x24394d(0x3bd)][_0x24394d(0x4c1)]:_0x6309f0,_0x32aeb6=(_0x5e66e0=_0x4bfc0a['ha'])==null?t[_0x24394d(0x259)]['LEFT']:_0x5e66e0;if(!_0x53cac1)return;let _0x4c1489=_0x49b191['isHorizontal'],_0x24c8b5=new t[(_0x24394d(0x4e0))](ae(_0x53cac1,{'isHorizontal':_0x4c1489!==!0x1,'textRect':_0x696902,'verticalAlign':_0x34af96,'horizontalAlign':_0x32aeb6})),_0x59a0ff=new o[(_0x24394d(0x515))](_0x24c8b5),_0x37de69=o[_0x24394d(0x48c)]['create'](_0x59a0ff,_0x27a63d);_0x37de69[_0x24394d(0x1e7)]();let _0x3c897b=new o[(_0x24394d(0x484))](_0x24394d(0x457)+this[_0x24394d(0x2e0)],_0x37de69,{'pageMarginLeft':0x0,'pageMarginTop':0x0});_0x3c897b[_0x24394d(0x54e)](_0x696902[_0x24394d(0x5e7)],_0x696902['height']),_0x4a378c[_0x24394d(0x59e)](),_0x4a378c[_0x24394d(0x357)](_0x696902['left'],_0x696902['top']),_0x4a378c[_0x24394d(0x26d)](),_0x4a378c[_0x24394d(0x5ed)](0x0,0x0,_0x696902[_0x24394d(0x5e7)],_0x696902['height']),_0x4a378c[_0x24394d(0x684)](),_0x3c897b[_0x24394d(0x4db)](_0x4a378c),_0x4a378c[_0x24394d(0x4b8)](),_0x3c897b[_0x24394d(0x53f)](),_0x37de69[_0x24394d(0x53f)](),_0x59a0ff[_0x24394d(0x53f)](),_0x24c8b5[_0x24394d(0x53f)]();}[_0x1bf676(0x22b)](_0x1e2b33,_0x222361,_0x2854c5=!0x1){const _0x13aa93=_0x1bf676;if(!this['visible'])return this[_0x13aa93(0x664)](!0x1),this;let {width:_0x3b3967,height:_0x5ea543,left:_0x1c6881,top:_0x5f5b05}=this,_0x573db0=this['getRealBound']();if(_0x3b3967=_0x573db0[_0x13aa93(0x5e7)],_0x5ea543=_0x573db0[_0x13aa93(0x4f4)],_0x1c6881=_0x573db0[_0x13aa93(0x305)],_0x5f5b05=_0x573db0[_0x13aa93(0x447)],this['isRender'](_0x222361)){let {top:_0x2df2c2,left:_0x1546d3,bottom:_0x479dd6,right:_0x2eba17}=_0x222361['viewBound'];if(_0x3b3967+this[_0x13aa93(0x3d0)]+_0x1c6881<_0x1546d3||_0x2eba17<_0x1c6881||_0x5ea543+this[_0x13aa93(0x3d0)]+_0x5f5b05<_0x2df2c2||_0x479dd6<_0x5f5b05)return this;}let _0x3b88c2=_0x1c6881+_0x3b3967/0x2,_0x54630f=_0x5f5b05+_0x5ea543/0x2,_0x224a1c=this[_0x13aa93(0x577)]['getMatrix']();if(this['_props'][_0x13aa93(0x360)]){let _0x23b27e=this[_0x13aa93(0x418)](),_0x117f0d=new o[(_0x13aa93(0x428))]();_0x117f0d[_0x13aa93(0x3a9)]({..._0x23b27e}),_0x224a1c=_0x117f0d[_0x13aa93(0x640)]();}return _0x1e2b33['save'](),this['_props'][_0x13aa93(0x5d6)]['isRenderLinePointsMode']===!0x0||_0x1e2b33['transform'](_0x224a1c[0x0],_0x224a1c[0x1],_0x224a1c[0x2],_0x224a1c[0x3],_0x3b88c2,_0x54630f),this[_0x13aa93(0x5c4)](_0x1e2b33,_0x222361,_0x3b3967,_0x5ea543),_0x1e2b33[_0x13aa93(0x4b8)](),this[_0x13aa93(0x664)](!0x1),this;}['getInverseCoord'](_0x15603b){const _0x4f89a9=_0x1bf676;let {left:_0x33d194,top:_0x28478d,width:_0x3b7221,height:_0x3acafd}=this[_0x4f89a9(0x3db)](),_0x10fac0=this['transform'][_0x4f89a9(0x640)](),_0x416f7e=_0x33d194+_0x3b7221/0x2,_0x28f482=_0x28478d+_0x3acafd/0x2,_0x520378=new o[(_0x4f89a9(0x428))]([_0x10fac0[0x0],_0x10fac0[0x1],_0x10fac0[0x2],_0x10fac0[0x3],_0x416f7e,_0x28f482]),_0x25d61e=this[_0x4f89a9(0x3fd)]();return(this[_0x4f89a9(0x472)]&&(_0x25d61e==null?void 0x0:_0x25d61e[_0x4f89a9(0x43f)])===o[_0x4f89a9(0x466)][_0x4f89a9(0x519)]?_0x25d61e[_0x4f89a9(0x4fa)][_0x4f89a9(0x4b2)](_0x520378):_0x520378)[_0x4f89a9(0x499)]()[_0x4f89a9(0x5c5)](_0x15603b);}['isHit'](_0x1e0e74){const _0x1ab87a=_0x1bf676;let {left:_0x52089d,top:_0x443c92,width:_0x377268,height:_0xbfd592}=this[_0x1ab87a(0x3db)](),_0x319854=_0x52089d+_0x377268/0x2,_0x4f3998=_0x443c92+_0xbfd592/0x2,_0x4c09fa=this[_0x1ab87a(0x577)]['getMatrix'](),_0x4a46c1=new o[(_0x1ab87a(0x428))]([_0x4c09fa[0x0],_0x4c09fa[0x1],_0x4c09fa[0x2],_0x4c09fa[0x3],_0x319854,_0x4f3998]),_0x11e39d=this[_0x1ab87a(0x3fd)](),_0x3a3cb4=(this[_0x1ab87a(0x472)]&&(_0x11e39d==null?void 0x0:_0x11e39d[_0x1ab87a(0x43f)])===o[_0x1ab87a(0x466)][_0x1ab87a(0x519)]?_0x11e39d[_0x1ab87a(0x4fa)][_0x1ab87a(0x4b2)](_0x4a46c1):_0x4a46c1)['invert']()[_0x1ab87a(0x5c5)](_0x1e0e74),_0x3a4564=_0x377268/0x2,_0x30e409=_0xbfd592/0x2,_0xbbf912=this['_props']['shapeModel'];return _0xbbf912&&_0xbbf912[_0x1ab87a(0x24e)]()?_0xbbf912['isHitLine'](_0x3a3cb4['x'],_0x3a3cb4['y'],_0x377268,_0xbfd592):_0x3a3cb4['x']>=-_0x3a4564-this[_0x1ab87a(0x3d0)]/0x2&&_0x3a3cb4['x']<=_0x3a4564+this[_0x1ab87a(0x3d0)]/0x2&&_0x3a3cb4['y']>=-_0x30e409-this[_0x1ab87a(0x3d0)]/0x2&&_0x3a3cb4['y']<=_0x30e409+this[_0x1ab87a(0x3d0)]/0x2;}[_0x1bf676(0x53f)](){const _0x53230f=_0x1bf676;this[_0x53230f(0x4a9)][_0x53230f(0x5d6)]=null,super[_0x53230f(0x53f)]();}},oe=class extends o[_0x1bf676(0x2ce)]{constructor(_0x50a583,_0x3bb9da){const _0xe91ef6=_0x1bf676;super(_0x50a583,_0x3bb9da),S(this,_0xe91ef6(0x35e),null),S(this,_0xe91ef6(0x5d2),null),S(this,_0xe91ef6(0x1da),null),S(this,'_subUnitId',null),_0x3bb9da&&this[_0xe91ef6(0x608)](_0x3bb9da);}[_0x1bf676(0x206)](){const _0x189ca0=_0x1bf676;return{'unitId':this[_0x189ca0(0x1da)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x189ca0(0x35e)]};}['setShapeProps'](_0x2a754c){const _0x266b33=_0x1bf676;_0x2a754c[_0x266b33(0x4b9)]!==void 0x0&&(this['_shapeId']=_0x2a754c[_0x266b33(0x4b9)]),_0x2a754c[_0x266b33(0x5f3)]!==void 0x0&&(this['_adjName']=_0x2a754c['adjName']),_0x2a754c[_0x266b33(0x3c1)]!==void 0x0&&(this[_0x266b33(0x1da)]=_0x2a754c[_0x266b33(0x3c1)]),_0x2a754c[_0x266b33(0x5d0)]!==void 0x0&&(this[_0x266b33(0x210)]=_0x2a754c[_0x266b33(0x5d0)]),this[_0x266b33(0x2fd)]({'width':_0x2a754c['width'],'height':_0x2a754c['height']});}[_0x1bf676(0x5c4)](_0x43b206){const _0x3a2a5b=_0x1bf676;o[_0x3a2a5b(0x679)][_0x3a2a5b(0x2e4)](_0x43b206,{'radius':u[_0x3a2a5b(0x42d)]['adjHandleSize'],'fill':u[_0x3a2a5b(0x42d)]['adjHandleFill'],'stroke':u[_0x3a2a5b(0x42d)]['adjHandleStroke'],'strokeWidth':0x1,'evented':!0x0});}};function L(_0x1cf99e,_0x1a1078){return function(_0xcd5317,_0x70204b){_0x1a1078(_0xcd5317,_0x70204b,_0x1cf99e);};}function R(_0x46c4f8,_0x287784,_0x3559a5,_0x185c3a){const _0x323aff=_0x1bf676;var _0x289468=arguments['length'],_0x5206ec=_0x289468<0x3?_0x287784:_0x185c3a===null?_0x185c3a=Object[_0x323aff(0x573)](_0x287784,_0x3559a5):_0x185c3a,_0x415a5f;if(typeof Reflect=='object'&&typeof Reflect[_0x323aff(0x362)]==_0x323aff(0x290))_0x5206ec=Reflect['decorate'](_0x46c4f8,_0x287784,_0x3559a5,_0x185c3a);else{for(var _0x3b08da=_0x46c4f8[_0x323aff(0x2cd)]-0x1;_0x3b08da>=0x0;_0x3b08da--)(_0x415a5f=_0x46c4f8[_0x3b08da])&&(_0x5206ec=(_0x289468<0x3?_0x415a5f(_0x5206ec):_0x289468>0x3?_0x415a5f(_0x287784,_0x3559a5,_0x5206ec):_0x415a5f(_0x287784,_0x3559a5))||_0x5206ec);}return _0x289468>0x3&&_0x5206ec&&Object['defineProperty'](_0x287784,_0x3559a5,_0x5206ec),_0x5206ec;}let z=class extends t['Disposable']{constructor(_0x231c5a,_0x13dfed,_0x3bf408,_0x5aff85,_0x30c8c9){const _0x28b56b=_0x1bf676;super(),this[_0x28b56b(0x673)]=_0x231c5a,this['_sheetsShapeService']=_0x13dfed,this[_0x28b56b(0x55b)]=_0x3bf408,this['_imageIoService']=_0x5aff85,this[_0x28b56b(0x2d9)]=_0x30c8c9;}[_0x1bf676(0x354)](_0x453860,_0x1b15d9){const _0x4c553f=_0x1bf676;let {transform:_0x32518b,drawingType:_0x1ebe83,srcRect:_0x21db43,prstGeom:_0x1a5c49,groupId:_0x5c800f,unitId:_0x3c96c1,subUnitId:_0x4580d3,drawingId:_0x69369,isMultiTransform:_0x34ed4e,transforms:_0xb09e86,hidden:_0x112c0b}=_0x453860;if(_0x1ebe83!==t[_0x4c553f(0x45e)][_0x4c553f(0x2f9)]||!this[_0x4c553f(0x673)][_0x4c553f(0x425)]()||_0x32518b==null)return;let _0x2a6c60=_0x34ed4e&&_0xb09e86?_0xb09e86:[_0x32518b],_0x29f3a5=[];for(let _0x451e40 of _0x2a6c60){let {left:_0x166c69,top:_0x57daa8,width:_0x375b4e,height:_0x1a857e,angle:_0x41d893,flipX:_0x5cb728,flipY:_0xe4cbc3,skewX:_0xfa8a86,skewY:_0x520f83}=_0x451e40,_0x1cd9ba=_0x2a6c60[_0x4c553f(0x294)](_0x451e40),_0x2b05ff=(0x0,a[_0x4c553f(0x205)])({'unitId':_0x3c96c1,'subUnitId':_0x4580d3,'drawingId':_0x69369},_0x34ed4e?_0x1cd9ba:void 0x0),_0x2b526f=_0x1b15d9[_0x4c553f(0x5d3)](_0x2b05ff);if(_0x2b526f!=null){_0x2b526f[_0x4c553f(0x2fd)]({'left':_0x166c69,'top':_0x57daa8,'width':_0x375b4e,'height':_0x1a857e,'angle':_0x41d893,'flipX':_0x5cb728,'flipY':_0xe4cbc3,'skewX':_0xfa8a86,'skewY':_0x520f83});continue;}let _0x4d265e=this[_0x4c553f(0x673)]['getDrawingOrder'](_0x3c96c1,_0x4580d3),_0x5929a2=_0x4d265e[_0x4c553f(0x294)](_0x69369);if(_0x1b15d9[_0x4c553f(0x5d3)](_0x2b05ff)||!this[_0x4c553f(0x673)]['getDrawingVisible']())continue;let _0x1ff645=this[_0x4c553f(0x54a)][_0x4c553f(0x655)](_0x3c96c1,_0x4580d3,_0x69369);if(!_0x1ff645)continue;let _0x589bae=new I(_0x2b05ff,{...(0x0,u[_0x4c553f(0x1db)])(_0x1ff645[_0x4c553f(0x4c7)]())?{..._0x451e40,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x451e40},'zIndex':_0x5929a2===-0x1?_0x4d265e['length']-0x1:_0x5929a2,'shapeModel':_0x1ff645,'localeService':this[_0x4c553f(0x55b)],'shapeId':_0x69369,'unitId':_0x3c96c1,'subUnitId':_0x4580d3,'visible':_0x112c0b!==!0x0});_0x1b15d9['addObject'](_0x589bae,o[_0x4c553f(0x40b)]),this[_0x4c553f(0x673)][_0x4c553f(0x203)]()&&_0x1b15d9[_0x4c553f(0x5b8)](_0x589bae),_0x5c800f&&(0x0,d['insertGroupObject'])({'drawingId':_0x5c800f,'unitId':_0x3c96c1,'subUnitId':_0x4580d3},_0x589bae,_0x1b15d9,this[_0x4c553f(0x673)]),_0x1a5c49!=null&&_0x589bae[_0x4c553f(0x621)](_0x1a5c49),_0x21db43!=null&&_0x589bae[_0x4c553f(0x4e9)](_0x21db43),this[_0x4c553f(0x574)](_0x589bae,_0x1ff645[_0x4c553f(0x2e3)]()),_0x29f3a5['push'](_0x589bae);}return _0x29f3a5;}['_loadShapePictureFill'](_0x383953,_0x59f9bf){const _0x40b763=_0x1bf676;var _0x3a685f;let _0x4833a3=_0x59f9bf['fill'];if(!_0x4833a3||_0x4833a3[_0x40b763(0x215)]!==u['ShapeFillEnum'][_0x40b763(0x3b6)]||!_0x4833a3[_0x40b763(0x612)])return;let _0x340481=_0x4833a3[_0x40b763(0x612)],_0x37055c=(_0x3a685f=_0x4833a3[_0x40b763(0x46d)])==null?u[_0x40b763(0x580)][_0x40b763(0x21f)]:_0x3a685f,_0x4633fd=this[_0x40b763(0x4d1)]['getImageSourceCache'](_0x340481,_0x37055c);if(_0x4633fd){_0x383953[_0x40b763(0x282)](_0x4633fd);return;}this[_0x40b763(0x4a0)](_0x383953,_0x340481,_0x37055c);}async[_0x1bf676(0x4a0)](_0x421df6,_0x84fb1c,_0x2ddeca){const _0x8b39da=_0x1bf676;let _0x2109f7;try{if(_0x2ddeca===u['ImageSourceTypeEnum'][_0x8b39da(0x1dd)])_0x2109f7=await this[_0x8b39da(0x4d1)]['getImage'](_0x84fb1c);else{if(_0x2ddeca===u[_0x8b39da(0x580)][_0x8b39da(0x21f)])try{_0x2109f7=await this['_urlImageService']['getImage'](_0x84fb1c);}catch{_0x2109f7=_0x84fb1c;}else _0x2109f7=_0x84fb1c;}}catch(_0x162755){console[_0x8b39da(0x440)](_0x8b39da(0x4be),_0x162755);return;}let _0x3582ee=new window[(_0x8b39da(0x5f5))]();_0x3582ee[_0x8b39da(0x33f)]=()=>{const _0x50f486=_0x8b39da;this[_0x50f486(0x4d1)][_0x50f486(0x5d7)](_0x84fb1c,_0x2ddeca,_0x3582ee),_0x421df6['setFillImage'](_0x3582ee);},_0x3582ee['onerror']=()=>{const _0x24db14=_0x8b39da;console[_0x24db14(0x440)]('[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image',_0x84fb1c);},_0x3582ee[_0x8b39da(0x27d)]=_0x2109f7;}};z=R([L(0x0,a[_0x1bf676(0x5a6)]),L(0x1,(0x0,t['Inject'])(e[_0x1bf676(0x35a)])),L(0x2,(0x0,t[_0x1bf676(0x589)])(t[_0x1bf676(0x67e)])),L(0x3,a[_0x1bf676(0x4e4)]),L(0x4,t['IURLImageService'])],z);let B=class extends t[_0x1bf676(0x5b5)]{constructor(_0xf885ca,_0x4101d4,_0x3ef272,_0x2483a1,_0x123f95,_0x23d92b,_0x2ed7fa,_0x5f5d74){const _0x334a32=_0x1bf676;super(),this['_context']=_0xf885ca,this[_0x334a32(0x38f)]=_0x4101d4,this[_0x334a32(0x673)]=_0x3ef272,this[_0x334a32(0x54a)]=_0x2483a1,this[_0x334a32(0x1e3)]=_0x123f95,this[_0x334a32(0x592)]=_0x23d92b,this[_0x334a32(0x5c9)]=_0x2ed7fa,this[_0x334a32(0x604)]=_0x5f5d74,S(this,_0x334a32(0x488),null),S(this,_0x334a32(0x1da),null),S(this,'_subUnitId',null),S(this,_0x334a32(0x4d9),void 0x0),S(this,_0x334a32(0x228),[]),S(this,_0x334a32(0x654),0x0),S(this,'_baseShapeTop',0x0),S(this,_0x334a32(0x555),0x0),S(this,'_baseShapeHeight',0x0),S(this,_0x334a32(0x399),!0x1),S(this,_0x334a32(0x1f8),void 0x0),S(this,'_activeShapeModel',void 0x0),S(this,_0x334a32(0x39a),void 0x0),S(this,_0x334a32(0x58e),void 0x0),S(this,'_isShouldShowDrawingShapeAdjust',!0x1),this[_0x334a32(0x2a8)](),this['_registerDrawingMoveHandler']();}['_getShapeAdjustPointListById'](_0x57db84,_0x5d832d,_0x35a906){const _0x530c14=_0x1bf676;let _0x275bd5=this[_0x530c14(0x54a)][_0x530c14(0x655)](_0x57db84,_0x5d832d,_0x35a906);if(_0x275bd5)return _0x275bd5[_0x530c14(0x221)]();}[_0x1bf676(0x243)](){const _0x8c8c77=_0x1bf676;this[_0x8c8c77(0x3be)]();}[_0x1bf676(0x3b9)](){this['_updateShapeAdjustControls'](!0x0);}['setShouldShowAdjust'](_0x270feb){const _0x12268e=_0x1bf676;this[_0x12268e(0x601)]=_0x270feb;}[_0x1bf676(0x313)](_0x509336,_0x463cc6,_0x5c6c21,_0x5a9eb1){const _0xae5627=_0x1bf676;let _0x1545f0=this[_0xae5627(0x54a)]['getShapeModel'](_0x509336,_0x463cc6,_0x5c6c21);if(_0x1545f0)return _0x1545f0['getAdjustInfoByName'](_0x5a9eb1);}[_0x1bf676(0x60e)](_0x270464=!0x1){const _0x153150=_0x1bf676;if(this[_0x153150(0x1da)]===null||this[_0x153150(0x210)]===null||this[_0x153150(0x488)]===null)return;let _0x26dc9f=this['_renderManagerService']['getRenderById'](this['_unitId']);if(!_0x26dc9f||!_0x26dc9f[_0x153150(0x506)](c['SheetSkeletonManagerService'])['getCurrentSkeleton']())return;let {scene:_0x35f958}=_0x26dc9f,_0x2e5dca={'unitId':this[_0x153150(0x1da)],'subUnitId':this[_0x153150(0x210)],'drawingId':this['_activeShapeId']},_0x1cab0e=this[_0x153150(0x673)]['getDrawingByParam'](_0x2e5dca),{transform:_0x7ec80b}=_0x1cab0e;if(!_0x7ec80b||_0x1cab0e['drawingType']!==t[_0x153150(0x45e)][_0x153150(0x2f9)])return;let {left:_0x20466e,top:_0x5f42cb,width:_0x4499e6,height:_0x280f2f,flipX:_0x4f8d8d,flipY:_0x5c15f7,angle:_0xa84c8d=0x0}=_0x7ec80b;if(_0x20466e===void 0x0||_0x5f42cb===void 0x0)return;_0x270464&&(this['_activeShapeAdjustPointList']=this[_0x153150(0x672)](this[_0x153150(0x1da)],this[_0x153150(0x210)],this[_0x153150(0x488)]));let _0x13a669=this['_activeShapeAdjustPointList'];for(let _0x5b922e=0x0;_0x5b922e<_0x13a669[_0x153150(0x2cd)];_0x5b922e++){let _0x5980e0=_0x13a669[_0x5b922e],_0x5d88eb=_0x5980e0['x'],_0x521b79=_0x5980e0['y'];if(_0x4f8d8d&&(_0x5d88eb=(_0x4499e6||0x0)-_0x5d88eb),_0x5c15f7&&(_0x521b79=(_0x280f2f||0x0)-_0x521b79),_0xa84c8d!==0x0){let _0x307442=(_0x4499e6||0x0)/0x2,_0x410352=(_0x280f2f||0x0)/0x2,_0x3cef07=_0xa84c8d*Math['PI']/0xb4,_0x301695=Math[_0x153150(0x2ec)](_0x3cef07),_0x1a7bb7=Math[_0x153150(0x572)](_0x3cef07),_0x568bbd=_0x5d88eb-_0x307442,_0x2b7b0c=_0x521b79-_0x410352;_0x5d88eb=_0x307442+(_0x568bbd*_0x301695-_0x2b7b0c*_0x1a7bb7),_0x521b79=_0x410352+(_0x568bbd*_0x1a7bb7+_0x2b7b0c*_0x301695);}let _0x3fb7dd={'x':_0x5d88eb,'y':_0x521b79,'adjName':_0x5980e0[_0x153150(0x5f3)]};this[_0x153150(0x571)](_0x35f958,_0x3fb7dd,_0x3fb7dd[_0x153150(0x5f3)],_0x20466e,_0x5f42cb,this[_0x153150(0x1da)],this[_0x153150(0x210)]);}}[_0x1bf676(0x371)](_0x1c6aad=!0x1){const _0x536dc9=_0x1bf676;_0x1c6aad&&(this[_0x536dc9(0x3be)](),this['_createShapeAdjustControls'](_0x1c6aad));}[_0x1bf676(0x571)](_0x38d8aa,_0x1a7e54,_0x5892bd,_0x2f424a,_0xa6c9de,_0x24a20a,_0x417f50){const _0x24b1bf=_0x1bf676;if(!this[_0x24b1bf(0x488)])return;let _0x49ef4c=_0x38d8aa['getObjectIncludeInGroup'](_0x24b1bf(0x686)+this[_0x24b1bf(0x488)]+'-'+_0x5892bd);if(_0x49ef4c){_0x49ef4c['transformByState']({'left':_0x1a7e54['x']+_0x2f424a-u['ShapeDefaultConfig'][_0x24b1bf(0x53c)],'top':_0x1a7e54['y']+_0xa6c9de-u[_0x24b1bf(0x42d)][_0x24b1bf(0x53c)]});return;}let _0x85f103={'left':_0x1a7e54['x']+_0x2f424a-u['ShapeDefaultConfig'][_0x24b1bf(0x53c)],'top':_0x1a7e54['y']+_0xa6c9de-u[_0x24b1bf(0x42d)]['adjHandleSize'],'adjName':_0x5892bd,'shapeId':this[_0x24b1bf(0x488)],'unitId':_0x24a20a,'subUnitId':_0x417f50,'width':u[_0x24b1bf(0x42d)]['adjHandleSize']+0x8,'height':u[_0x24b1bf(0x42d)][_0x24b1bf(0x53c)]+0x8,'zIndex':o[_0x24b1bf(0x40b)]+0x1,'evented':!0x0},_0x1b671c=new oe('shape-adjust-point-'+this[_0x24b1bf(0x488)]+'-'+_0x5892bd,_0x85f103);this[_0x24b1bf(0x228)][_0x24b1bf(0x23a)](_0x1b671c),this[_0x24b1bf(0x22f)](_0x1b671c,_0x38d8aa,_0x5892bd),_0x38d8aa[_0x24b1bf(0x395)](_0x1b671c,o['DRAWING_OBJECT_LAYER_INDEX']+0x1);}['_clearShapeAdjustControls'](){const _0x3c03c1=_0x1bf676;this[_0x3c03c1(0x228)][_0x3c03c1(0x2cd)]!==0x0&&(this[_0x3c03c1(0x228)]['forEach'](_0x10b2f3=>{const _0x567d07=_0x3c03c1;_0x10b2f3[_0x567d07(0x53f)]();}),this[_0x3c03c1(0x228)]=[]);}['_updateAdjustControlPositions'](){const _0x122465=_0x1bf676;this[_0x122465(0x60e)]();}[_0x1bf676(0x1d6)](_0x2ea585,_0x262064){const _0x2aa86c=_0x1bf676;var _0x441d7c;let _0x4cccde={'x':0x0,'y':0x0};if(!_0x2ea585||!_0x262064)return _0x4cccde;let _0x3fd9e1=this['_renderManagerService'][_0x2aa86c(0x4bf)](_0x2ea585);if(!_0x3fd9e1||!_0x3fd9e1[_0x2aa86c(0x506)](c[_0x2aa86c(0x67c)])['getSkeleton'](_0x262064))return _0x4cccde;let _0xe4556e=_0x3fd9e1[_0x2aa86c(0x506)](c['SheetScrollManagerService']),_0x2aee38=_0xe4556e==null?void 0x0:_0xe4556e['getCurrentScrollState']();if(!_0x2aee38)return _0x4cccde;let _0x2ca2f1=(_0x441d7c=this[_0x2aa86c(0x5c9)][_0x2aa86c(0x504)](_0x2ea585))==null?void 0x0:_0x441d7c[_0x2aa86c(0x26a)](_0x262064);if(!_0x2ca2f1)return _0x4cccde;let _0x2e7993=(0x0,c['getViewportByCell'])(_0x2aee38[_0x2aa86c(0x637)],_0x2aee38['sheetViewStartColumn'],_0x3fd9e1['scene'],_0x2ca2f1);return _0x2e7993?{'x':_0x2e7993[_0x2aa86c(0x3fc)],'y':_0x2e7993[_0x2aa86c(0x4ae)]}:_0x4cccde;}[_0x1bf676(0x303)](_0x1e4401,_0x45997f){const _0x19cbd9=_0x1bf676;var _0x1c8786,_0x4a3498;let _0x2313db=(_0x1c8786=this['_univerInstanceService'][_0x19cbd9(0x504)](_0x1e4401))==null?void 0x0:_0x1c8786[_0x19cbd9(0x26a)](_0x45997f);return(_0x4a3498=_0x2313db==null?void 0x0:_0x2313db[_0x19cbd9(0x3f6)]())==null?0x1:_0x4a3498;}['_attachAdjustEvent'](_0x4f9e0d,_0x38e4b4,_0x522737){const _0x2924df=_0x1bf676;this[_0x2924df(0x38d)]((0x0,t[_0x2924df(0x4c2)])(_0x4f9e0d[_0x2924df(0x319)]['subscribeEvent']((_0x33d920,_0xfacfe8)=>{const _0x1c369c=_0x2924df;var _0x4426e6,_0x2d1779,_0x209b9d,_0x3298d0;let _0x2cbed8=_0x4f9e0d[_0x1c369c(0x206)]();this['_activeAdjustInfo']=this['_getShapeAdjustInfosById'](_0x2cbed8[_0x1c369c(0x3c1)],_0x2cbed8[_0x1c369c(0x5d0)],_0x2cbed8[_0x1c369c(0x45c)],_0x522737),this[_0x1c369c(0x465)]=this[_0x1c369c(0x54a)][_0x1c369c(0x655)](_0x2cbed8[_0x1c369c(0x3c1)],_0x2cbed8[_0x1c369c(0x5d0)],_0x2cbed8[_0x1c369c(0x45c)]);let _0x2bca08=this[_0x1c369c(0x673)][_0x1c369c(0x300)]({'unitId':this[_0x1c369c(0x1da)],'subUnitId':this[_0x1c369c(0x210)],'drawingId':this['_activeShapeId']}),{transform:_0x2d7773}=_0x2bca08;if(_0x2d7773){let {left:_0x5e8c40,top:_0x488236,width:_0x414ea1,height:_0x727179}=_0x2d7773;this[_0x1c369c(0x654)]=_0x5e8c40||0x0,this[_0x1c369c(0x53e)]=_0x488236||0x0,this[_0x1c369c(0x555)]=_0x414ea1||0x0,this[_0x1c369c(0x5c7)]=_0x727179||0x0;}let _0x10f156=!!((_0x4426e6=_0x2bca08['transform'])!=null&&_0x4426e6[_0x1c369c(0x334)]),_0x558af9=!!((_0x2d1779=_0x2bca08['transform'])!=null&&_0x2d1779[_0x1c369c(0x4f5)]),_0x31eba8=((_0x209b9d=_0x2bca08[_0x1c369c(0x577)])==null?void 0x0:_0x209b9d['angle'])||0x0;this[_0x1c369c(0x399)]=!0x0,_0x38e4b4['disableObjectsEvent']();let _0x1113ff=(_0x3298d0=this[_0x1c369c(0x465)])==null?void 0x0:_0x3298d0[_0x1c369c(0x3b2)](_0x522737),_0x5d494d={[_0x522737]:_0x1113ff};this[_0x1c369c(0x39a)]=_0x38e4b4[_0x1c369c(0x236)][_0x1c369c(0x59b)]((_0x402c63,_0x48d2a3)=>{const _0x55798b=_0x1c369c;if(!this[_0x55798b(0x399)])return;let {offsetX:_0x277257,offsetY:_0x4a9c55}=_0x402c63,_0x5772d1=this[_0x55798b(0x1f8)];if(this['_activeShapeModel']&&_0x5772d1){_0x38e4b4[_0x55798b(0x45b)](),_0x38e4b4[_0x55798b(0x295)](o[_0x55798b(0x47f)][_0x55798b(0x4ee)]);let _0x4bbd50={'left':0x0,'top':0x0,'width':this[_0x55798b(0x555)],'height':this[_0x55798b(0x5c7)]},_0x55a267=this['_getScrollInfo'](this[_0x55798b(0x1da)],this[_0x55798b(0x210)]),_0x275f84=this[_0x55798b(0x303)](this['_unitId'],this[_0x55798b(0x210)]),_0xc8bbbc=_0x277257/_0x275f84+_0x55a267['x']-this[_0x55798b(0x654)],_0x59daeb=_0x4a9c55/_0x275f84+_0x55a267['y']-this['_baseShapeTop'];if(_0x31eba8!==0x0){let _0x267652=this[_0x55798b(0x555)]/0x2,_0x7622c1=this[_0x55798b(0x5c7)]/0x2,_0x50e37e=_0x31eba8*Math['PI']/0xb4,_0x30ebaa=Math[_0x55798b(0x2ec)](_0x50e37e),_0x530559=Math[_0x55798b(0x572)](_0x50e37e),_0x2720f0=_0xc8bbbc-_0x267652,_0x1aa570=_0x59daeb-_0x7622c1;_0xc8bbbc=_0x267652+(_0x2720f0*_0x30ebaa+_0x1aa570*_0x530559),_0x59daeb=_0x7622c1+(-_0x2720f0*_0x530559+_0x1aa570*_0x30ebaa);}_0x10f156&&(_0xc8bbbc=this[_0x55798b(0x555)]-_0xc8bbbc),_0x558af9&&(_0x59daeb=this[_0x55798b(0x5c7)]-_0x59daeb);let _0x16b8db={'x':_0xc8bbbc,'y':_0x59daeb},_0xa02f62=this[_0x55798b(0x465)][_0x55798b(0x241)](_0x4bbd50,_0x16b8db,_0x5772d1,_0x10f156,_0x558af9),_0x16d0a8=_0x5772d1[_0x55798b(0x570)]||_0x5772d1['gdRefY']||_0x5772d1[_0x55798b(0x4f3)]||_0x5772d1[_0x55798b(0x676)];if(_0x16d0a8===void 0x0)return;this[_0x55798b(0x465)][_0x55798b(0x37b)](_0x16d0a8,_0xa02f62);let _0x426f13=this[_0x55798b(0x673)]['getDrawingByParam']({'unitId':_0x2cbed8[_0x55798b(0x3c1)],'subUnitId':_0x2cbed8[_0x55798b(0x5d0)],'drawingId':_0x2cbed8['drawingId']});_0x426f13&&(this['_sheetDrawingShapeRenderController'][_0x55798b(0x354)](_0x426f13,_0x38e4b4),this['_activeShapeAdjustPointList']=this['_getShapeAdjustPointListById'](_0x2cbed8['unitId'],_0x2cbed8[_0x55798b(0x5d0)],_0x2cbed8[_0x55798b(0x45c)]),this['_updateAdjustControlPositions']());}_0x48d2a3[_0x55798b(0x5dd)]();}),this[_0x1c369c(0x58e)]=_0x38e4b4['onPointerUp$']['subscribeEvent']((_0x31bcd6,_0x5dc762)=>{const _0x5d573c=_0x1c369c;this['_adjHandlerPointerMove']['unsubscribe'](),this[_0x5d573c(0x58e)][_0x5d573c(0x421)](),_0x38e4b4[_0x5d573c(0x63b)]();let _0xaaa86c=this[_0x5d573c(0x1f8)];if(_0xaaa86c){let _0x2ff8eb=_0x2cbed8['unitId'],_0x537f26=_0x2cbed8[_0x5d573c(0x5d0)],_0x124350=_0x2cbed8['drawingId'],_0x2bb4d1=_0xaaa86c['gdRefX']||_0xaaa86c[_0x5d573c(0x273)]||_0xaaa86c['gdRefAng']||_0xaaa86c['gdRefR'];if(_0x2bb4d1!==void 0x0){var _0x49ac05;let _0x5a3284=(_0x49ac05=this[_0x5d573c(0x465)])==null?void 0x0:_0x49ac05[_0x5d573c(0x3b2)](_0x2bb4d1);_0x5a3284!==void 0x0&&F(this[_0x5d573c(0x604)],_0x2ff8eb,_0x537f26,_0x124350,{'oldShapeData':{'adjustValues':_0x5d494d}},{'adjustValues':{[_0x2bb4d1]:_0x5a3284}});}}this['_activeAdjustInfo']=void 0x0,this[_0x5d573c(0x465)]=void 0x0,this[_0x5d573c(0x399)]=!0x1,_0x5dc762[_0x5d573c(0x5dd)](),_0x38e4b4[_0x5d573c(0x3ca)]();}),_0xfacfe8[_0x1c369c(0x5dd)]();})));}[_0x1bf676(0x329)](){const _0x47ae22=_0x1bf676;let _0xe98b27=this[_0x47ae22(0x5c9)]['getCurrentTypeOfUnit$'](t[_0x47ae22(0x683)][_0x47ae22(0x280)]);this[_0x47ae22(0x38d)](_0xe98b27[_0x47ae22(0x5aa)]((0x0,i['switchMap'])(_0x36315c=>_0x36315c?_0x36315c[_0x47ae22(0x2fb)][_0x47ae22(0x5aa)]((0x0,i[_0x47ae22(0x4f7)])(_0x22a524=>{const _0x805fe=_0x47ae22;if(!_0x22a524)return i[_0x805fe(0x4b0)];let _0x508fbd=_0x36315c[_0x805fe(0x34a)](),_0x26c79f=this[_0x805fe(0x1e3)][_0x805fe(0x4bf)](_0x508fbd),_0x164482=_0x26c79f==null?void 0x0:_0x26c79f[_0x805fe(0x5c6)];return _0x164482?(0x0,i['of'])(_0x164482):i[_0x805fe(0x4b0)];})):i['EMPTY']))[_0x47ae22(0x4e6)](_0x13125d=>{const _0x29184a=_0x47ae22;let _0x4203a2=_0x13125d[_0x29184a(0x564)]();this[_0x29184a(0x38d)](_0x13125d[_0x29184a(0x236)][_0x29184a(0x59b)](()=>{this['_isShouldShowDrawingShapeAdjust'];})),this[_0x29184a(0x38d)](_0x4203a2[_0x29184a(0x51b)][_0x29184a(0x4e6)](_0x2d816d=>{const _0x10efa7=_0x29184a;let {objects:_0x5a1e37}=_0x2d816d;this[_0x10efa7(0x60e)](),_0x5a1e37!==null&&_0x5a1e37[_0x10efa7(0x2f5)]===0x1&&_0x5a1e37[_0x10efa7(0x562)]()[_0x10efa7(0x47e)]()[_0x10efa7(0x2bb)]instanceof I&&this['setShouldShowAdjust'](!0x0);})),this[_0x29184a(0x38d)](_0x4203a2[_0x29184a(0x4d2)]['subscribe'](()=>{const _0xf0b385=_0x29184a;this[_0xf0b385(0x601)]&&this[_0xf0b385(0x3be)]();})),this[_0x29184a(0x38d)](_0x13125d['onPointerUp$'][_0x29184a(0x59b)](()=>{const _0x2cd10b=_0x29184a;this[_0x2cd10b(0x601)]&&(this[_0x2cd10b(0x361)](!0x1),this[_0x2cd10b(0x60e)]());})),this['disposeWithMe'](_0x4203a2[_0x29184a(0x586)][_0x29184a(0x4e6)](()=>{const _0x44a9ff=_0x29184a;this[_0x44a9ff(0x1da)]&&this[_0x44a9ff(0x210)]&&this[_0x44a9ff(0x488)]&&this[_0x44a9ff(0x673)][_0x44a9ff(0x300)]({'unitId':this[_0x44a9ff(0x1da)],'subUnitId':this['_subUnitId'],'drawingId':this['_activeShapeId']})&&(this[_0x44a9ff(0x4d9)]=this['_getShapeAdjustPointListById'](this['_unitId'],this[_0x44a9ff(0x210)],this[_0x44a9ff(0x488)]),this[_0x44a9ff(0x256)]());}));}));}[_0x1bf676(0x2a8)](){const _0x2311ba=_0x1bf676;this[_0x2311ba(0x38d)](this[_0x2311ba(0x673)][_0x2311ba(0x4c8)][_0x2311ba(0x4e6)](_0x527822=>{const _0x5ddbab=_0x2311ba;if(_0x527822['length']===0x1){let _0x2e0648=_0x527822[0x0];if(_0x2e0648['drawingType']===t['DrawingTypeEnum'][_0x5ddbab(0x2f9)]){this['_activeShapeId']=_0x2e0648['drawingId'];let {unitId:_0xb8c20d,subUnitId:_0xb98136}=_0x2e0648;this[_0x5ddbab(0x4d9)]=this[_0x5ddbab(0x672)](_0xb8c20d,_0xb98136,this[_0x5ddbab(0x488)]),this[_0x5ddbab(0x1da)]=_0xb8c20d,this[_0x5ddbab(0x210)]=_0xb98136,this[_0x5ddbab(0x3be)](),this[_0x5ddbab(0x60e)]();}else this['_activeShapeId']=null,this[_0x5ddbab(0x4d9)]=void 0x0,this[_0x5ddbab(0x1da)]=null,this[_0x5ddbab(0x210)]=null,this['_clearShapeAdjustControls']();}(_0x527822[_0x5ddbab(0x2cd)]>0x1||_0x527822[_0x5ddbab(0x2cd)]===0x0)&&(this[_0x5ddbab(0x488)]=null,this[_0x5ddbab(0x4d9)]=void 0x0,this[_0x5ddbab(0x1da)]=null,this[_0x5ddbab(0x210)]=null,this[_0x5ddbab(0x3be)]());})),this['disposeWithMe'](this['_drawingManagerService'][_0x2311ba(0x24c)][_0x2311ba(0x4e6)](_0x494201=>{const _0x5f0449=_0x2311ba;if(_0x494201[_0x5f0449(0x2cd)]===0x1){var _0x5f15e5;let _0x4ff034=_0x494201[0x0];((_0x5f15e5=this['_drawingManagerService']['getDrawingByParam'](_0x4ff034))==null?void 0x0:_0x5f15e5[_0x5f0449(0x24b)])===t[_0x5f0449(0x45e)][_0x5f0449(0x2f9)]&&this[_0x5f0449(0x371)](!0x0);}})),this[_0x2311ba(0x38d)](this[_0x2311ba(0x673)][_0x2311ba(0x2be)][_0x2311ba(0x4e6)](_0x884dc8=>{const _0x21ba36=_0x2311ba;for(let _0x487e1d of _0x884dc8)this['_activeShapeId']===_0x487e1d[_0x21ba36(0x45c)]&&(this[_0x21ba36(0x488)]=null,this[_0x21ba36(0x4d9)]=void 0x0,this[_0x21ba36(0x1da)]=null,this[_0x21ba36(0x210)]=null,this[_0x21ba36(0x3be)]());}));}};B=R([L(0x1,t['IContextService']),L(0x2,a['IDrawingManagerService']),L(0x3,(0x0,t[_0x1bf676(0x589)])(e['SheetsShapeService'])),L(0x4,(0x0,t[_0x1bf676(0x589)])(o[_0x1bf676(0x4b4)])),L(0x5,(0x0,t[_0x1bf676(0x589)])(z)),L(0x6,t[_0x1bf676(0x247)]),L(0x7,t[_0x1bf676(0x63c)])],B);const se={'id':_0x1bf676(0x3b0),'type':t[_0x1bf676(0x5ea)][_0x1bf676(0x565)],'handler':(_0x3a7e47,_0x3f73d7)=>{const _0x422ac2=_0x1bf676;let _0x228835=_0x3a7e47['get'](a['IDrawingManagerService']),_0x80784c=_0x3a7e47[_0x422ac2(0x1f9)](o[_0x422ac2(0x4b4)]),_0xaae10a=_0x3a7e47[_0x422ac2(0x1f9)](B);if(_0x3f73d7==null)return!0x0;if(_0x3f73d7[_0x422ac2(0x2cd)]>0x0){var _0x8750a3;let _0x53553f=(_0x8750a3=_0x80784c['getRenderById'](_0x3f73d7[0x0][_0x422ac2(0x3c1)]))==null?void 0x0:_0x8750a3[_0x422ac2(0x5c6)];if(_0x53553f){let {unitId:_0x5cba02,subUnitId:_0x19fb78,drawingId:_0x28d403}=_0x3f73d7[0x0],_0x54feec=(0x0,a[_0x422ac2(0x205)])({'unitId':_0x5cba02,'subUnitId':_0x19fb78,'drawingId':_0x28d403},void 0x0),_0x2dfabc=_0x53553f[_0x422ac2(0x5d3)](_0x54feec);if(_0x2dfabc){var _0x4a624f;(_0x4a624f=_0x80784c[_0x422ac2(0x4bf)](_0x3f73d7[0x0][_0x422ac2(0x3c1)]))==null||(_0x4a624f=_0x4a624f[_0x422ac2(0x5c6)][_0x422ac2(0x349)]())==null||_0x4a624f[_0x422ac2(0x263)](_0x2dfabc);}}_0x228835[_0x422ac2(0x652)](_0x3f73d7),_0xaae10a[_0x422ac2(0x361)](!0x1);}return!0x0;}},V={'type':t[_0x1bf676(0x5ea)][_0x1bf676(0x2b1)],'id':_0x1bf676(0x3ba),'handler':async(_0x4d91fe,_0x3c774a)=>{const _0x23e2c9=_0x1bf676;let _0x56c28a=(0x0,n[_0x23e2c9(0x41b)])(_0x4d91fe[_0x23e2c9(0x1f9)](t[_0x23e2c9(0x247)]));if(!_0x56c28a)return!0x1;let _0x4daa59=_0x4d91fe[_0x23e2c9(0x1f9)](n[_0x23e2c9(0x450)])['getCurrentLastSelection']();if(!_0x4daa59)return!0x1;let _0x2596c9=_0x4d91fe[_0x23e2c9(0x1f9)](t[_0x23e2c9(0x63c)]),{unitId:_0x15dc52,subUnitId:_0x552c3b}=_0x56c28a,{value:_0x4192e7,enhanceParams:_0x149f0d}=_0x3c774a,{range:_0x12383d}=_0x4daa59,_0x736eed={'unitId':_0x15dc52,'subUnitId':_0x552c3b,'shapeType':_0x4192e7,'range':_0x12383d,'shapeId':(0x0,t[_0x23e2c9(0x31a)])()};if(_0x149f0d){let _0x23079b=(0x0,u[_0x23e2c9(0x1db)])(_0x4192e7),_0x320348=_0x4192e7===u[_0x23e2c9(0x670)][_0x23e2c9(0x400)];_0x23079b&&(_0x149f0d['startArrow']||_0x149f0d[_0x23e2c9(0x5af)])&&(_0x736eed[_0x23e2c9(0x363)]={'ln':{'startArrow':_0x149f0d['startArrow']?{'type':u['ShapeArrowTypeEnum'][_0x23e2c9(0x532)],'size':u[_0x23e2c9(0x50b)][_0x23e2c9(0x467)]}:void 0x0,'endArrow':_0x149f0d['endArrow']?{'type':u[_0x23e2c9(0x2e5)][_0x23e2c9(0x532)],'size':u[_0x23e2c9(0x50b)]['Large']}:void 0x0}}),_0x320348&&(_0x149f0d[_0x23e2c9(0x596)]||_0x149f0d[_0x23e2c9(0x2b0)])&&(_0x736eed[_0x23e2c9(0x363)]={'fill':{'fillType':u[_0x23e2c9(0x445)][_0x23e2c9(0x232)],'color':_0x23e2c9(0x554)},'stroke':{'lineStrokeType':u['ShapeLineTypeEnum'][_0x23e2c9(0x218)],'width':0x1,'color':_0x23e2c9(0x2c0)},'shapeText':{'isHorizontal':!!_0x149f0d['horizontal']}});}let _0x5d22df=_0x2596c9[_0x23e2c9(0x40c)](e[_0x23e2c9(0x414)]['id'],_0x736eed);return setTimeout(()=>{const _0x3d769f=_0x23e2c9;_0x2596c9[_0x3d769f(0x2e7)](se['id'],[{'unitId':_0x15dc52,'subUnitId':_0x552c3b,'drawingId':_0x736eed[_0x3d769f(0x4b9)]}]);},0xc8),_0x5d22df;}};t[_0x1bf676(0x259)][_0x1bf676(0x479)],t['HorizontalAlign']['CENTER'],t[_0x1bf676(0x259)][_0x1bf676(0x550)];function ce(_0xb5f496){const _0x2692b0=_0x1bf676;let _0x2a75c2=_0xb5f496[_0x2692b0(0x1f9)](t[_0x2692b0(0x553)]),_0x2707c2=_0xb5f496['get'](t['ThemeService']);return{'id':s['SetInlineFormatTextBackgroundColorCommand']['id'],'tooltip':_0x2692b0(0x2f3),'type':l[_0x2692b0(0x3c4)][_0x2692b0(0x547)],'icon':_0x2692b0(0x347),'selections':[{'label':{'name':l[_0x2692b0(0x346)],'hoverable':!0x1,'selectable':!0x1}}],'value$':new i['Observable'](_0x2b376b=>{const _0x5aff65=_0x2692b0;_0x2b376b[_0x5aff65(0x47e)](_0x2707c2['getColorFromTheme']('primary.600'));}),'hidden$':_0x2a75c2['subscribeContextValue$'](t[_0x2692b0(0x591)])[_0x2692b0(0x5aa)]((0x0,i[_0x2692b0(0x3d2)])(_0x2a75c2['getContextValue'](t[_0x2692b0(0x591)])),(0x0,i[_0x2692b0(0x4fc)])(_0x5e626e=>!_0x5e626e))};}function le(_0x20575b){const _0x45ee07=_0x1bf676;let _0x11a066=_0x20575b[_0x45ee07(0x1f9)](t[_0x45ee07(0x553)]);return{'id':s['ResetInlineFormatTextBackgroundColorCommand']['id'],'type':l[_0x45ee07(0x3c4)]['BUTTON'],'title':_0x45ee07(0x47b),'hidden$':_0x11a066[_0x45ee07(0x524)](t['FOCUSING_COMMON_DRAWINGS'])[_0x45ee07(0x5aa)]((0x0,i[_0x45ee07(0x3d2)])(_0x11a066[_0x45ee07(0x424)](t['FOCUSING_COMMON_DRAWINGS'])),(0x0,i[_0x45ee07(0x4fc)])(_0x2ae106=>!_0x2ae106))};}const ue=[{'label':_0x1bf676(0x431),'icon':_0x1bf676(0x328),'value':t[_0x1bf676(0x259)][_0x1bf676(0x479)]},{'label':'sheets-shape-ui.align.center','icon':_0x1bf676(0x530),'value':t[_0x1bf676(0x259)]['CENTER']},{'label':_0x1bf676(0x326),'icon':_0x1bf676(0x2db),'value':t[_0x1bf676(0x259)]['RIGHT']}];function de(_0x46d8eb){const _0x5b6e28=_0x1bf676;var _0x194db3;let _0x4a5742=_0x46d8eb[_0x5b6e28(0x1f9)](t[_0x5b6e28(0x63c)]),_0x303b0d=_0x46d8eb[_0x5b6e28(0x1f9)](t['IContextService']),_0x4bca60=_0x46d8eb[_0x5b6e28(0x1f9)](r['ISheetDrawingService']),_0x38fde7=_0x46d8eb[_0x5b6e28(0x1f9)](C),_0x540b40=_0x46d8eb['get'](e['SheetsShapeService']),_0x3f6f75=t['HorizontalAlign'][_0x5b6e28(0x479)],_0x373aef=()=>{const _0x4efa95=_0x5b6e28;var _0x58c0c6;let _0x42de29=_0x4bca60[_0x4efa95(0x62f)]()['filter'](_0x44d394=>_0x44d394['drawingType']===t[_0x4efa95(0x45e)][_0x4efa95(0x2f9)]);if(_0x42de29['length']!==0x1)return _0x3f6f75;let _0xeefe83=_0x38fde7['getEditing'](),_0x5af90f=(_0xeefe83==null?void 0x0:_0xeefe83['unitId'])||_0x42de29[0x0][_0x4efa95(0x3c1)],_0x4f4738=(_0xeefe83==null?void 0x0:_0xeefe83[_0x4efa95(0x5d0)])||_0x42de29[0x0][_0x4efa95(0x5d0)],_0x33c9ff=(_0xeefe83==null?void 0x0:_0xeefe83[_0x4efa95(0x4b9)])||_0x42de29[0x0][_0x4efa95(0x45c)],_0x26c63c=_0x540b40[_0x4efa95(0x655)](_0x5af90f,_0x4f4738,_0x33c9ff);if(!_0x26c63c)return _0x3f6f75;let _0x173b84=_0x26c63c[_0x4efa95(0x4fb)]();if(!_0x173b84||!('dataModel'in _0x173b84))return _0x3f6f75;let _0x32caa7=_0x173b84[_0x4efa95(0x478)];return(_0x58c0c6=_0x32caa7==null?void 0x0:_0x32caa7['ha'])==null?_0x3f6f75:_0x58c0c6;};return{'id':E['id'],'icon':(_0x194db3=ue[_0x5b6e28(0x24a)](_0x3d842e=>_0x3d842e[_0x5b6e28(0x2bb)]===_0x3f6f75))==null?void 0x0:_0x194db3[_0x5b6e28(0x42f)],'tooltip':_0x5b6e28(0x31c),'type':l[_0x5b6e28(0x3c4)][_0x5b6e28(0x615)],'selections':ue,'value$':new i[(_0x5b6e28(0x5d1))](_0x36256a=>{const _0x4f709a=_0x5b6e28;let _0x324840=_0x4a5742['onCommandExecuted'](_0x1e25c4=>{_0x1e25c4['id']===E['id']&&_0x36256a['next'](_0x373aef());}),_0x25b678=_0x38fde7[_0x4f709a(0x536)][_0x4f709a(0x4e6)](()=>{const _0x1332f5=_0x4f709a;_0x36256a[_0x1332f5(0x47e)](_0x373aef());});return _0x36256a[_0x4f709a(0x47e)](_0x373aef()),()=>{_0x324840['dispose'](),_0x25b678['unsubscribe']();};}),'hidden$':_0x303b0d['subscribeContextValue$'](t[_0x5b6e28(0x591)])[_0x5b6e28(0x5aa)]((0x0,i['map'])(_0x2be995=>!_0x2be995))};}const fe=[{'label':_0x1bf676(0x1e4),'icon':_0x1bf676(0x40d),'value':t[_0x1bf676(0x3bd)]['TOP']},{'label':_0x1bf676(0x1f5),'icon':'VerticalCenterIcon','value':t[_0x1bf676(0x3bd)][_0x1bf676(0x2f6)]},{'label':_0x1bf676(0x33d),'icon':_0x1bf676(0x533),'value':t['VerticalAlign'][_0x1bf676(0x52e)]}];function pe(_0x415942){const _0x54425e=_0x1bf676;var _0x524ce2;let _0x2195f6=_0x415942[_0x54425e(0x1f9)](t['ICommandService']),_0x1069b0=_0x415942['get'](t[_0x54425e(0x553)]),_0x34624b=_0x415942[_0x54425e(0x1f9)](r[_0x54425e(0x2af)]),_0x505c5a=_0x415942[_0x54425e(0x1f9)](C),_0x8b6ffd=_0x415942[_0x54425e(0x1f9)](e[_0x54425e(0x35a)]),_0x14e1c7=t[_0x54425e(0x3bd)][_0x54425e(0x4c1)],_0x1e3f04=()=>{const _0x19fc30=_0x54425e;var _0x40c858;let _0x1f68ff=_0x34624b[_0x19fc30(0x62f)]()[_0x19fc30(0x289)](_0x3345fc=>_0x3345fc['drawingType']===t[_0x19fc30(0x45e)][_0x19fc30(0x2f9)]);if(_0x1f68ff[_0x19fc30(0x2cd)]!==0x1)return _0x14e1c7;let _0xc1049f=_0x505c5a['getEditing'](),_0x4dbc50=(_0xc1049f==null?void 0x0:_0xc1049f[_0x19fc30(0x3c1)])||_0x1f68ff[0x0][_0x19fc30(0x3c1)],_0x370675=(_0xc1049f==null?void 0x0:_0xc1049f[_0x19fc30(0x5d0)])||_0x1f68ff[0x0][_0x19fc30(0x5d0)],_0x5e64a5=(_0xc1049f==null?void 0x0:_0xc1049f[_0x19fc30(0x4b9)])||_0x1f68ff[0x0]['drawingId'],_0x2cdcd2=_0x8b6ffd[_0x19fc30(0x655)](_0x4dbc50,_0x370675,_0x5e64a5);if(!_0x2cdcd2)return _0x14e1c7;let _0x25e8ff=_0x2cdcd2[_0x19fc30(0x4fb)]();if(!_0x25e8ff||!(_0x19fc30(0x478)in _0x25e8ff))return _0x14e1c7;let _0x1c0206=_0x25e8ff[_0x19fc30(0x478)];return(_0x40c858=_0x1c0206==null?void 0x0:_0x1c0206['va'])==null?_0x14e1c7:_0x40c858;};return{'id':A['id'],'icon':(_0x524ce2=fe[_0x54425e(0x24a)](_0x16f48f=>_0x16f48f[_0x54425e(0x2bb)]===_0x14e1c7))==null?void 0x0:_0x524ce2[_0x54425e(0x42f)],'tooltip':_0x54425e(0x3e2),'type':l['MenuItemType']['SELECTOR'],'selections':fe,'value$':new i[(_0x54425e(0x5d1))](_0x406147=>{const _0x55825f=_0x54425e;let _0xb9777d=_0x2195f6[_0x55825f(0x648)](_0x22bae9=>{const _0x3924ad=_0x55825f;_0x22bae9['id']===A['id']&&_0x406147[_0x3924ad(0x47e)](_0x1e3f04());}),_0x40f0a9=_0x505c5a[_0x55825f(0x536)]['subscribe'](()=>{const _0x1cd4bd=_0x55825f;_0x406147[_0x1cd4bd(0x47e)](_0x1e3f04());});return _0x406147[_0x55825f(0x47e)](_0x1e3f04()),()=>{const _0x4af895=_0x55825f;_0xb9777d['dispose'](),_0x40f0a9[_0x4af895(0x421)]();};}),'hidden$':_0x1069b0[_0x54425e(0x524)](t[_0x54425e(0x591)])[_0x54425e(0x5aa)]((0x0,i[_0x54425e(0x4fc)])(_0x156f10=>!_0x156f10))};}let H=class extends t['Disposable']{constructor(_0x3d8f23,_0x31b21c){const _0x5150ea=_0x1bf676;super(),this[_0x5150ea(0x5eb)]=_0x3d8f23,this[_0x5150ea(0x673)]=_0x31b21c,this[_0x5150ea(0x422)](),this[_0x5150ea(0x5eb)][_0x5150ea(0x3f4)](!0x0),this['disposeWithMe']({'dispose':()=>this[_0x5150ea(0x5eb)]['setCanUseShapeClip'](!0x1)});}[_0x1bf676(0x422)](){const _0x369198=_0x1bf676;let _0x5186ce=this[_0x369198(0x5eb)],_0x2f1daa=new Map(),_0x356f72=_0x5186ce[_0x369198(0x541)]((_0x20c65e,_0x1c0e50,_0x376f3b,_0x2b0714,_0x1076db)=>{const _0x3108e6=_0x369198;let _0x5b8885=_0x1c0e50;if(_0x5b8885===u[_0x3108e6(0x670)][_0x3108e6(0x4bc)]||_0x1c0e50===_0x3108e6(0x527))return!0x1;try{let _0x5b11c2=_0x2f1daa[_0x3108e6(0x1f9)](_0x1c0e50);return _0x5b11c2||(_0x5b11c2=new u[(_0x3108e6(0x57a))](_0x5b8885,_0x3108e6(0x560)+_0x1c0e50),_0x2f1daa[_0x3108e6(0x62c)](_0x1c0e50,_0x5b11c2)),_0x1076db&&_0x5b11c2[_0x3108e6(0x307)]({'adjustValues':_0x1076db},!0x0),_0x5b11c2[_0x3108e6(0x1fe)]({'width':_0x376f3b,'height':_0x2b0714}),_0x5b11c2[_0x3108e6(0x435)](_0x20c65e,{'left':0x0,'top':0x0,'width':_0x376f3b,'height':_0x2b0714});}catch{return!0x1;}});this[_0x369198(0x38d)](_0x356f72),this[_0x369198(0x38d)]({'dispose':()=>_0x2f1daa[_0x369198(0x48a)]()});}[_0x1bf676(0x579)](_0x20f00a,_0x2e07b0,_0x3f340e,_0x519579,_0x1e9d06){const _0x271e11=_0x1bf676;let _0x229265=this[_0x271e11(0x673)]['getDrawingData'](_0x20f00a,_0x2e07b0);if(!_0x229265[_0x3f340e])return;let _0x31cc89={..._0x229265[_0x3f340e],'prstGeom':_0x519579,'adjustValues':_0x1e9d06};this[_0x271e11(0x673)]['featurePluginUpdateNotification']([_0x31cc89]);}};H=R([L(0x0,(0x0,t['Inject'])(d[_0x1bf676(0x209)])),L(0x1,(0x0,t[_0x1bf676(0x589)])(a[_0x1bf676(0x5a6)]))],H);const me=[{'group':_0x1bf676(0x336),'type':u[_0x1bf676(0x670)][_0x1bf676(0x4d3)],'icon':_0x1bf676(0x49b),'name':_0x1bf676(0x4bd)},{'group':_0x1bf676(0x336),'type':u[_0x1bf676(0x670)][_0x1bf676(0x3f3)],'icon':_0x1bf676(0x578),'name':_0x1bf676(0x29e),'endArrow':!0x0},{'group':_0x1bf676(0x336),'type':u[_0x1bf676(0x670)][_0x1bf676(0x3f3)],'icon':_0x1bf676(0x51c),'name':_0x1bf676(0x229),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x1bf676(0x336),'type':u[_0x1bf676(0x670)][_0x1bf676(0x3dc)],'icon':'ShapeBentConnector3Icon','name':_0x1bf676(0x507)},{'group':_0x1bf676(0x336),'type':u['ShapeTypeEnum'][_0x1bf676(0x3dc)],'icon':_0x1bf676(0x30b),'name':_0x1bf676(0x611),'endArrow':!0x0},{'group':_0x1bf676(0x336),'type':u[_0x1bf676(0x670)][_0x1bf676(0x3dc)],'icon':'ShapeBentConnector3Arrow2Icon','name':_0x1bf676(0x3ee),'endArrow':!0x0,'startArrow':!0x0},{'group':'line','type':u[_0x1bf676(0x670)][_0x1bf676(0x585)],'icon':'ShapeCurvedConnector3Icon','name':_0x1bf676(0x500)},{'group':_0x1bf676(0x336),'type':u[_0x1bf676(0x670)]['CurvedConnector3'],'icon':_0x1bf676(0x529),'name':_0x1bf676(0x5df),'endArrow':!0x0},{'group':_0x1bf676(0x336),'type':u[_0x1bf676(0x670)][_0x1bf676(0x585)],'icon':_0x1bf676(0x59c),'name':_0x1bf676(0x56a),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x1bf676(0x646),'type':u[_0x1bf676(0x670)][_0x1bf676(0x400)],'icon':_0x1bf676(0x3b5),'name':_0x1bf676(0x36a)},{'group':'rectangle','type':u[_0x1bf676(0x670)][_0x1bf676(0x576)],'icon':_0x1bf676(0x394),'name':_0x1bf676(0x2a2)},{'group':'rectangle','type':u[_0x1bf676(0x670)][_0x1bf676(0x60c)],'icon':_0x1bf676(0x2c1),'name':'sheets-shape-ui.shape.type.snip1-rect'},{'group':_0x1bf676(0x646),'type':u[_0x1bf676(0x670)][_0x1bf676(0x5fa)],'icon':_0x1bf676(0x55c),'name':'sheets-shape-ui.shape.type.snip2-same-rect'},{'group':_0x1bf676(0x646),'type':u[_0x1bf676(0x670)][_0x1bf676(0x378)],'icon':_0x1bf676(0x1ec),'name':_0x1bf676(0x27e)},{'group':_0x1bf676(0x646),'type':u['ShapeTypeEnum'][_0x1bf676(0x5cf)],'icon':'ShapeSnipRoundRectIcon','name':_0x1bf676(0x598)},{'group':_0x1bf676(0x646),'type':u[_0x1bf676(0x670)]['Round1Rect'],'icon':'ShapeRound1RectIcon','name':_0x1bf676(0x5bc)},{'group':_0x1bf676(0x646),'type':u[_0x1bf676(0x670)][_0x1bf676(0x377)],'icon':_0x1bf676(0x44d),'name':_0x1bf676(0x5ce)},{'group':'rectangle','type':u[_0x1bf676(0x670)][_0x1bf676(0x32c)],'icon':_0x1bf676(0x47a),'name':_0x1bf676(0x526)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)]['Rect'],'icon':_0x1bf676(0x44f),'name':'sheets-shape-ui.shape.type.rect-textbox-horizontal','horizontal':!0x0},{'group':'basicShape','type':u[_0x1bf676(0x670)]['Rect'],'icon':_0x1bf676(0x543),'name':'sheets-shape-ui.shape.type.rect-textbox-vertical','vertical':!0x0},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x1d7)],'icon':_0x1bf676(0x382),'name':_0x1bf676(0x45a)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x49f)],'icon':'ShapeTriangleIcon','name':_0x1bf676(0x65b)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)]['RightTriangle'],'icon':_0x1bf676(0x3a1),'name':'sheets-shape-ui.shape.type.rt-triangle'},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x1dc)],'icon':'ShapeParallelogramIcon','name':'sheets-shape-ui.shape.type.parallelogram'},{'group':_0x1bf676(0x352),'type':u['ShapeTypeEnum']['Trapezoid'],'icon':_0x1bf676(0x50d),'name':_0x1bf676(0x202)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x23e)],'icon':_0x1bf676(0x2c8),'name':'sheets-shape-ui.shape.type.diamond'},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x43e)],'icon':_0x1bf676(0x520),'name':_0x1bf676(0x3d1)},{'group':_0x1bf676(0x352),'type':u['ShapeTypeEnum'][_0x1bf676(0x380)],'icon':_0x1bf676(0x2d8),'name':_0x1bf676(0x1f0)},{'group':_0x1bf676(0x352),'type':u['ShapeTypeEnum'][_0x1bf676(0x49e)],'icon':_0x1bf676(0x5bb),'name':_0x1bf676(0x2b8)},{'group':'basicShape','type':u[_0x1bf676(0x670)]['Octagon'],'icon':'ShapeOctagonIcon','name':_0x1bf676(0x513)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x315)],'icon':_0x1bf676(0x5cb),'name':_0x1bf676(0x3e6)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x508)],'icon':'ShapeDodecagonIcon','name':'sheets-shape-ui.shape.type.dodecagon'},{'group':'basicShape','type':u[_0x1bf676(0x670)][_0x1bf676(0x287)],'icon':_0x1bf676(0x4dc),'name':'sheets-shape-ui.shape.type.pie'},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x675)],'icon':'ShapeChordIcon','name':_0x1bf676(0x36e)},{'group':_0x1bf676(0x352),'type':u['ShapeTypeEnum'][_0x1bf676(0x610)],'icon':_0x1bf676(0x590),'name':_0x1bf676(0x455)},{'group':_0x1bf676(0x352),'type':u['ShapeTypeEnum'][_0x1bf676(0x5e3)],'icon':'ShapeFrameIcon','name':_0x1bf676(0x3a2)},{'group':_0x1bf676(0x352),'type':u['ShapeTypeEnum'][_0x1bf676(0x5fc)],'icon':_0x1bf676(0x320),'name':_0x1bf676(0x3b7)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x52f)],'icon':_0x1bf676(0x30d),'name':'sheets-shape-ui.shape.type.corner'},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)]['DiagStripe'],'icon':_0x1bf676(0x588),'name':'sheets-shape-ui.shape.type.diag-stripe'},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x61d)],'icon':_0x1bf676(0x523),'name':_0x1bf676(0x55d)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x31f)],'icon':_0x1bf676(0x63d),'name':_0x1bf676(0x438)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)]['Can'],'icon':_0x1bf676(0x3cb),'name':_0x1bf676(0x55e)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x3c8)],'icon':_0x1bf676(0x2fc),'name':_0x1bf676(0x31e)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)]['Bevel'],'icon':_0x1bf676(0x682),'name':_0x1bf676(0x47c)},{'group':'basicShape','type':u['ShapeTypeEnum']['Donut'],'icon':_0x1bf676(0x3de),'name':_0x1bf676(0x634)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)]['NoSmoking'],'icon':_0x1bf676(0x661),'name':_0x1bf676(0x63e)},{'group':'basicShape','type':u[_0x1bf676(0x670)]['BlockArc'],'icon':_0x1bf676(0x635),'name':_0x1bf676(0x3a7)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)]['FoldedCorner'],'icon':_0x1bf676(0x34b),'name':_0x1bf676(0x62d)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)]['SmileyFace'],'icon':'ShapeSmileyFaceIcon','name':_0x1bf676(0x301)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x2a4)],'icon':_0x1bf676(0x389),'name':_0x1bf676(0x52b)},{'group':_0x1bf676(0x352),'type':u['ShapeTypeEnum'][_0x1bf676(0x57b)],'icon':_0x1bf676(0x409),'name':_0x1bf676(0x30f)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x636)],'icon':'ShapeSunIcon','name':_0x1bf676(0x4ab)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x3c9)],'icon':_0x1bf676(0x5d4),'name':_0x1bf676(0x427)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x5fe)],'icon':_0x1bf676(0x609),'name':_0x1bf676(0x657)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)]['Arc'],'icon':'ShapeArcIcon','name':_0x1bf676(0x2a7)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x48f)],'icon':_0x1bf676(0x299),'name':_0x1bf676(0x208)},{'group':'basicShape','type':u[_0x1bf676(0x670)][_0x1bf676(0x2bf)],'icon':_0x1bf676(0x212),'name':_0x1bf676(0x5a9)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x5b0)],'icon':_0x1bf676(0x369),'name':_0x1bf676(0x34c)},{'group':'basicShape','type':u['ShapeTypeEnum'][_0x1bf676(0x2b5)],'icon':_0x1bf676(0x417),'name':'sheets-shape-ui.shape.type.right-bracket'},{'group':_0x1bf676(0x352),'type':u['ShapeTypeEnum']['LeftBrace'],'icon':_0x1bf676(0x1ea),'name':_0x1bf676(0x2d1)},{'group':'basicShape','type':u['ShapeTypeEnum'][_0x1bf676(0x2f4)],'icon':_0x1bf676(0x30c),'name':_0x1bf676(0x390)},{'group':'blockArrow','type':u[_0x1bf676(0x670)][_0x1bf676(0x364)],'icon':'ShapeRightArrowIcon','name':_0x1bf676(0x1d8)},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)][_0x1bf676(0x1ff)],'icon':_0x1bf676(0x200),'name':_0x1bf676(0x552)},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)][_0x1bf676(0x1d5)],'icon':_0x1bf676(0x43d),'name':_0x1bf676(0x64d)},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)]['DownArrow'],'icon':_0x1bf676(0x544),'name':'sheets-shape-ui.shape.type.down-arrow'},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)][_0x1bf676(0x344)],'icon':_0x1bf676(0x2f7),'name':'sheets-shape-ui.shape.type.left-right-arrow'},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)][_0x1bf676(0x61a)],'icon':_0x1bf676(0x2c3),'name':'sheets-shape-ui.shape.type.up-down-arrow'},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)]['QuadArrow'],'icon':_0x1bf676(0x470),'name':_0x1bf676(0x423)},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)][_0x1bf676(0x2c7)],'icon':_0x1bf676(0x66d),'name':_0x1bf676(0x49d)},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)][_0x1bf676(0x639)],'icon':'ShapeBentArrowIcon','name':_0x1bf676(0x3d5)},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)]['UturnArrow'],'icon':_0x1bf676(0x482),'name':'sheets-shape-ui.shape.type.uturn-arrow'},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)][_0x1bf676(0x486)],'icon':_0x1bf676(0x561),'name':_0x1bf676(0x379)},{'group':'blockArrow','type':u[_0x1bf676(0x670)][_0x1bf676(0x317)],'icon':_0x1bf676(0x2ad),'name':_0x1bf676(0x491)},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)][_0x1bf676(0x497)],'icon':_0x1bf676(0x404),'name':_0x1bf676(0x3aa)},{'group':'blockArrow','type':u[_0x1bf676(0x670)][_0x1bf676(0x388)],'icon':_0x1bf676(0x617),'name':_0x1bf676(0x270)},{'group':_0x1bf676(0x5ab),'type':u['ShapeTypeEnum'][_0x1bf676(0x367)],'icon':_0x1bf676(0x625),'name':_0x1bf676(0x283)},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)][_0x1bf676(0x53b)],'icon':_0x1bf676(0x4e8),'name':_0x1bf676(0x3af)},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)][_0x1bf676(0x568)],'icon':_0x1bf676(0x34d),'name':_0x1bf676(0x4b6)},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)][_0x1bf676(0x5d9)],'icon':_0x1bf676(0x51a),'name':_0x1bf676(0x419)},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)]['HomePlate'],'icon':_0x1bf676(0x65a),'name':'sheets-shape-ui.shape.type.home-plate'},{'group':'blockArrow','type':u[_0x1bf676(0x670)][_0x1bf676(0x563)],'icon':_0x1bf676(0x4d0),'name':_0x1bf676(0x3e1)},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)][_0x1bf676(0x546)],'icon':'ShapeRightArrowCalloutIcon','name':'sheets-shape-ui.shape.type.right-arrow-callout'},{'group':_0x1bf676(0x5ab),'type':u['ShapeTypeEnum'][_0x1bf676(0x2bd)],'icon':_0x1bf676(0x490),'name':'sheets-shape-ui.shape.type.down-arrow-callout'},{'group':'blockArrow','type':u['ShapeTypeEnum']['LeftArrowCallout'],'icon':_0x1bf676(0x4de),'name':_0x1bf676(0x5db)},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)]['UpArrowCallout'],'icon':_0x1bf676(0x623),'name':_0x1bf676(0x4a5)},{'group':_0x1bf676(0x5ab),'type':u['ShapeTypeEnum'][_0x1bf676(0x2aa)],'icon':_0x1bf676(0x2ee),'name':_0x1bf676(0x680)},{'group':'blockArrow','type':u[_0x1bf676(0x670)][_0x1bf676(0x5f9)],'icon':_0x1bf676(0x4ef),'name':_0x1bf676(0x398)},{'group':'blockArrow','type':u[_0x1bf676(0x670)][_0x1bf676(0x34f)],'icon':_0x1bf676(0x1e1),'name':_0x1bf676(0x376)},{'group':'equationShape','type':u[_0x1bf676(0x670)][_0x1bf676(0x3c0)],'icon':_0x1bf676(0x67d),'name':'sheets-shape-ui.shape.type.math-plus'},{'group':_0x1bf676(0x4b3),'type':u['ShapeTypeEnum']['MathMinus'],'icon':_0x1bf676(0x4dd),'name':_0x1bf676(0x257)},{'group':_0x1bf676(0x4b3),'type':u['ShapeTypeEnum'][_0x1bf676(0x59a)],'icon':'ShapeMathMultiplyIcon','name':_0x1bf676(0x459)},{'group':_0x1bf676(0x4b3),'type':u[_0x1bf676(0x670)][_0x1bf676(0x2c4)],'icon':_0x1bf676(0x650),'name':'sheets-shape-ui.shape.type.math-divide'},{'group':_0x1bf676(0x4b3),'type':u[_0x1bf676(0x670)][_0x1bf676(0x613)],'icon':_0x1bf676(0x29b),'name':_0x1bf676(0x498)},{'group':_0x1bf676(0x4b3),'type':u[_0x1bf676(0x670)]['MathNotEqual'],'icon':_0x1bf676(0x537),'name':_0x1bf676(0x5f1)},{'group':_0x1bf676(0x687),'type':u['ShapeTypeEnum'][_0x1bf676(0x392)],'icon':_0x1bf676(0x607),'name':'sheets-shape-ui.shape.type.flow-chart-process'},{'group':'flowchart','type':u[_0x1bf676(0x670)][_0x1bf676(0x5f4)],'icon':_0x1bf676(0x2dc),'name':_0x1bf676(0x286)},{'group':'flowchart','type':u[_0x1bf676(0x670)][_0x1bf676(0x3f8)],'icon':_0x1bf676(0x246),'name':'sheets-shape-ui.shape.type.flow-chart-decision'},{'group':_0x1bf676(0x687),'type':u[_0x1bf676(0x670)][_0x1bf676(0x297)],'icon':_0x1bf676(0x3e9),'name':_0x1bf676(0x314)},{'group':'flowchart','type':u['ShapeTypeEnum'][_0x1bf676(0x1fc)],'icon':_0x1bf676(0x4af),'name':'sheets-shape-ui.shape.type.flow-chart-predefined-process'},{'group':'flowchart','type':u[_0x1bf676(0x670)][_0x1bf676(0x47d)],'icon':_0x1bf676(0x46c),'name':_0x1bf676(0x1ef)},{'group':_0x1bf676(0x687),'type':u[_0x1bf676(0x670)]['FlowchartDocument'],'icon':_0x1bf676(0x2a0),'name':_0x1bf676(0x321)},{'group':_0x1bf676(0x687),'type':u[_0x1bf676(0x670)][_0x1bf676(0x261)],'icon':_0x1bf676(0x4f6),'name':_0x1bf676(0x58a)},{'group':'flowchart','type':u[_0x1bf676(0x670)][_0x1bf676(0x441)],'icon':_0x1bf676(0x2d6),'name':_0x1bf676(0x3bb)},{'group':_0x1bf676(0x687),'type':u[_0x1bf676(0x670)][_0x1bf676(0x473)],'icon':'ShapeFlowChartPreparationIcon','name':_0x1bf676(0x391)},{'group':'flowchart','type':u[_0x1bf676(0x670)][_0x1bf676(0x220)],'icon':_0x1bf676(0x262),'name':'sheets-shape-ui.shape.type.flow-chart-manual-input'},{'group':'flowchart','type':u[_0x1bf676(0x670)][_0x1bf676(0x5f6)],'icon':_0x1bf676(0x27f),'name':_0x1bf676(0x469)},{'group':_0x1bf676(0x687),'type':u[_0x1bf676(0x670)][_0x1bf676(0x25a)],'icon':_0x1bf676(0x1f7),'name':_0x1bf676(0x29d)},{'group':_0x1bf676(0x687),'type':u[_0x1bf676(0x670)][_0x1bf676(0x4fe)],'icon':'ShapeFlowChartOffpageConnectorIcon','name':_0x1bf676(0x446)},{'group':_0x1bf676(0x687),'type':u[_0x1bf676(0x670)][_0x1bf676(0x269)],'icon':_0x1bf676(0x4d4),'name':_0x1bf676(0x21b)},{'group':_0x1bf676(0x687),'type':u['ShapeTypeEnum'][_0x1bf676(0x224)],'icon':'ShapeFlowChartPunchedTapeIcon','name':_0x1bf676(0x61c)},{'group':_0x1bf676(0x687),'type':u[_0x1bf676(0x670)][_0x1bf676(0x25e)],'icon':'ShapeFlowChartSummingJunctionIcon','name':'sheets-shape-ui.shape.type.flow-chart-summing-junction'},{'group':'flowchart','type':u[_0x1bf676(0x670)][_0x1bf676(0x5de)],'icon':'ShapeFlowChartOrIcon','name':_0x1bf676(0x3c5)},{'group':_0x1bf676(0x687),'type':u[_0x1bf676(0x670)][_0x1bf676(0x23f)],'icon':_0x1bf676(0x22e),'name':_0x1bf676(0x567)},{'group':'flowchart','type':u[_0x1bf676(0x670)][_0x1bf676(0x278)],'icon':_0x1bf676(0x306),'name':_0x1bf676(0x645)},{'group':_0x1bf676(0x687),'type':u[_0x1bf676(0x670)][_0x1bf676(0x1f4)],'icon':_0x1bf676(0x58f),'name':_0x1bf676(0x46e)},{'group':_0x1bf676(0x687),'type':u['ShapeTypeEnum']['FlowchartMerge'],'icon':_0x1bf676(0x483),'name':_0x1bf676(0x56f)},{'group':_0x1bf676(0x687),'type':u['ShapeTypeEnum']['FlowchartOnlineStorage'],'icon':_0x1bf676(0x28e),'name':_0x1bf676(0x643)},{'group':_0x1bf676(0x687),'type':u[_0x1bf676(0x670)][_0x1bf676(0x275)],'icon':'ShapeFlowChartDelayIcon','name':_0x1bf676(0x641)},{'group':_0x1bf676(0x687),'type':u[_0x1bf676(0x670)][_0x1bf676(0x456)],'icon':_0x1bf676(0x29f),'name':_0x1bf676(0x23c)},{'group':_0x1bf676(0x687),'type':u['ShapeTypeEnum'][_0x1bf676(0x5bd)],'icon':'ShapeFlowChartMagneticDiskIcon','name':_0x1bf676(0x5e4)},{'group':_0x1bf676(0x687),'type':u[_0x1bf676(0x670)]['FlowchartMagneticDrum'],'icon':_0x1bf676(0x535),'name':_0x1bf676(0x624)},{'group':_0x1bf676(0x687),'type':u[_0x1bf676(0x670)]['FlowchartDisplay'],'icon':_0x1bf676(0x4d6),'name':_0x1bf676(0x593)},{'group':_0x1bf676(0x4ff),'type':u['ShapeTypeEnum'][_0x1bf676(0x2ed)],'icon':'ShapeIrregularSeal1Icon','name':_0x1bf676(0x538)},{'group':_0x1bf676(0x4ff),'type':u[_0x1bf676(0x670)][_0x1bf676(0x339)],'icon':_0x1bf676(0x671),'name':_0x1bf676(0x64a)},{'group':'starAndBanner','type':u[_0x1bf676(0x670)]['Star4'],'icon':_0x1bf676(0x331),'name':'sheets-shape-ui.shape.type.star4'},{'group':_0x1bf676(0x4ff),'type':u['ShapeTypeEnum'][_0x1bf676(0x4fd)],'icon':_0x1bf676(0x285),'name':_0x1bf676(0x61f)},{'group':_0x1bf676(0x4ff),'type':u[_0x1bf676(0x670)][_0x1bf676(0x341)],'icon':'ShapeStar6Icon','name':_0x1bf676(0x237)},{'group':_0x1bf676(0x4ff),'type':u[_0x1bf676(0x670)]['Star7'],'icon':_0x1bf676(0x67f),'name':_0x1bf676(0x448)},{'group':'starAndBanner','type':u[_0x1bf676(0x670)][_0x1bf676(0x4eb)],'icon':'ShapeStar8Icon','name':_0x1bf676(0x63f)},{'group':'starAndBanner','type':u['ShapeTypeEnum'][_0x1bf676(0x381)],'icon':_0x1bf676(0x3ae),'name':_0x1bf676(0x22c)},{'group':'starAndBanner','type':u['ShapeTypeEnum']['Star12'],'icon':_0x1bf676(0x566),'name':_0x1bf676(0x559)},{'group':_0x1bf676(0x4ff),'type':u['ShapeTypeEnum'][_0x1bf676(0x629)],'icon':'ShapeStar16Icon','name':_0x1bf676(0x27c)},{'group':'starAndBanner','type':u[_0x1bf676(0x670)][_0x1bf676(0x292)],'icon':_0x1bf676(0x245),'name':'sheets-shape-ui.shape.type.star24'},{'group':_0x1bf676(0x4ff),'type':u[_0x1bf676(0x670)]['Star32'],'icon':_0x1bf676(0x338),'name':_0x1bf676(0x265)},{'group':_0x1bf676(0x4ff),'type':u[_0x1bf676(0x670)][_0x1bf676(0x4ce)],'icon':'ShapeRibbon2Icon','name':_0x1bf676(0x3ce)},{'group':_0x1bf676(0x4ff),'type':u[_0x1bf676(0x670)][_0x1bf676(0x2ae)],'icon':_0x1bf676(0x487),'name':_0x1bf676(0x2b7)},{'group':_0x1bf676(0x4ff),'type':u[_0x1bf676(0x670)][_0x1bf676(0x505)],'icon':'ShapeEllipseRibbon2Icon','name':'sheets-shape-ui.shape.type.ellipse-ribbon2'},{'group':_0x1bf676(0x4ff),'type':u[_0x1bf676(0x670)][_0x1bf676(0x323)],'icon':_0x1bf676(0x39e),'name':_0x1bf676(0x2e2)},{'group':_0x1bf676(0x4ff),'type':u[_0x1bf676(0x670)][_0x1bf676(0x29c)],'icon':_0x1bf676(0x32b),'name':_0x1bf676(0x5e1)},{'group':_0x1bf676(0x4ff),'type':u[_0x1bf676(0x670)][_0x1bf676(0x420)],'icon':_0x1bf676(0x46a),'name':_0x1bf676(0x2cf)},{'group':_0x1bf676(0x4ff),'type':u[_0x1bf676(0x670)][_0x1bf676(0x2f8)],'icon':_0x1bf676(0x3c2),'name':_0x1bf676(0x4e1)},{'group':_0x1bf676(0x4ff),'type':u[_0x1bf676(0x670)][_0x1bf676(0x56d)],'icon':_0x1bf676(0x475),'name':_0x1bf676(0x2d7)},{'group':_0x1bf676(0x216),'type':u[_0x1bf676(0x670)][_0x1bf676(0x335)],'icon':_0x1bf676(0x332),'name':_0x1bf676(0x4ac)},{'group':_0x1bf676(0x216),'type':u[_0x1bf676(0x670)][_0x1bf676(0x373)],'icon':_0x1bf676(0x521),'name':_0x1bf676(0x5e6)},{'group':'callout','type':u['ShapeTypeEnum']['WedgeEllipseCallout'],'icon':'ShapeWedgeEllipseCalloutIcon','name':_0x1bf676(0x66e)},{'group':_0x1bf676(0x216),'type':u[_0x1bf676(0x670)][_0x1bf676(0x2a1)],'icon':_0x1bf676(0x458),'name':'sheets-shape-ui.shape.type.cloud-callout'},{'group':_0x1bf676(0x216),'type':u[_0x1bf676(0x670)]['BorderCallout1'],'icon':_0x1bf676(0x264),'name':_0x1bf676(0x272)},{'group':_0x1bf676(0x216),'type':u[_0x1bf676(0x670)][_0x1bf676(0x52d)],'icon':_0x1bf676(0x2ba),'name':_0x1bf676(0x277)},{'group':_0x1bf676(0x216),'type':u[_0x1bf676(0x670)][_0x1bf676(0x230)],'icon':_0x1bf676(0x5a7),'name':_0x1bf676(0x21a)},{'group':_0x1bf676(0x216),'type':u[_0x1bf676(0x670)][_0x1bf676(0x351)],'icon':_0x1bf676(0x20f),'name':_0x1bf676(0x397)},{'group':'callout','type':u[_0x1bf676(0x670)][_0x1bf676(0x3c7)],'icon':_0x1bf676(0x28b),'name':_0x1bf676(0x3bf)},{'group':_0x1bf676(0x216),'type':u[_0x1bf676(0x670)][_0x1bf676(0x201)],'icon':_0x1bf676(0x64e),'name':_0x1bf676(0x254)},{'group':'callout','type':u[_0x1bf676(0x670)][_0x1bf676(0x4c5)],'icon':_0x1bf676(0x1e8),'name':_0x1bf676(0x3d7)},{'group':_0x1bf676(0x216),'type':u[_0x1bf676(0x670)][_0x1bf676(0x58c)],'icon':_0x1bf676(0x401),'name':'sheets-shape-ui.shape.type.callout2'},{'group':_0x1bf676(0x216),'type':u[_0x1bf676(0x670)]['Callout3'],'icon':'ShapeCallout3Icon','name':'sheets-shape-ui.shape.type.callout3'},{'group':'callout','type':u[_0x1bf676(0x670)][_0x1bf676(0x249)],'icon':'ShapeAccentBorderCallout1Icon','name':'sheets-shape-ui.shape.type.accent-border-callout1'},{'group':_0x1bf676(0x216),'type':u[_0x1bf676(0x670)][_0x1bf676(0x1ee)],'icon':'ShapeAccentBorderCallout2Icon','name':_0x1bf676(0x57c)},{'group':_0x1bf676(0x216),'type':u[_0x1bf676(0x670)][_0x1bf676(0x468)],'icon':'ShapeAccentBorderCallout3Icon','name':_0x1bf676(0x2a5)},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)][_0x1bf676(0x5a4)],'icon':_0x1bf676(0x3a8),'name':_0x1bf676(0x480)},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)][_0x1bf676(0x54f)],'icon':'ShapeLeftRightCircularArrowIcon','name':_0x1bf676(0x350)},{'group':'other','type':u[_0x1bf676(0x670)]['SwooshArrow'],'icon':'ShapeSwooshArrowIcon','name':_0x1bf676(0x244)},{'group':'other','type':u[_0x1bf676(0x670)][_0x1bf676(0x5f8)],'icon':_0x1bf676(0x41c),'name':_0x1bf676(0x5c8)},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)][_0x1bf676(0x3ac)],'icon':_0x1bf676(0x67b),'name':_0x1bf676(0x22d)},{'group':'other','type':u['ShapeTypeEnum']['Funnel'],'icon':_0x1bf676(0x531),'name':_0x1bf676(0x5d8)},{'group':'other','type':u[_0x1bf676(0x670)][_0x1bf676(0x599)],'icon':_0x1bf676(0x23b),'name':'sheets-shape-ui.shape.type.gear6'},{'group':'other','type':u['ShapeTypeEnum'][_0x1bf676(0x496)],'icon':_0x1bf676(0x494),'name':'sheets-shape-ui.shape.type.gear9'},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)]['CornerTabs'],'icon':_0x1bf676(0x4f8),'name':_0x1bf676(0x5ac)},{'group':_0x1bf676(0x42c),'type':u['ShapeTypeEnum'][_0x1bf676(0x40a)],'icon':_0x1bf676(0x1de),'name':_0x1bf676(0x2e8)},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)][_0x1bf676(0x556)],'icon':_0x1bf676(0x581),'name':_0x1bf676(0x2fa)},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)][_0x1bf676(0x644)],'icon':_0x1bf676(0x66f),'name':_0x1bf676(0x24f)},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)][_0x1bf676(0x50f)],'icon':_0x1bf676(0x509),'name':'sheets-shape-ui.shape.type.action-button-end'},{'group':_0x1bf676(0x42c),'type':u['ShapeTypeEnum'][_0x1bf676(0x50c)],'icon':_0x1bf676(0x3dd),'name':'sheets-shape-ui.shape.type.action-button-home'},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)][_0x1bf676(0x678)],'icon':_0x1bf676(0x528),'name':_0x1bf676(0x659)},{'group':'other','type':u[_0x1bf676(0x670)]['ActionButtonReturn'],'icon':_0x1bf676(0x430),'name':'sheets-shape-ui.shape.type.action-button-return'},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)]['ActionButtonMovie'],'icon':'ShapeActionButtonMovieIcon','name':'sheets-shape-ui.shape.type.action-button-movie'},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)][_0x1bf676(0x5a1)],'icon':_0x1bf676(0x41e),'name':_0x1bf676(0x62e)},{'group':_0x1bf676(0x42c),'type':u['ShapeTypeEnum']['ActionButtonSound'],'icon':_0x1bf676(0x266),'name':_0x1bf676(0x1f2)},{'group':'other','type':u['ShapeTypeEnum'][_0x1bf676(0x32d)],'icon':_0x1bf676(0x56b),'name':_0x1bf676(0x439)},{'group':'other','type':u['ShapeTypeEnum'][_0x1bf676(0x549)],'icon':_0x1bf676(0x2f2),'name':_0x1bf676(0x4a3)},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)]['ChartPlus'],'icon':_0x1bf676(0x35c),'name':_0x1bf676(0x325)},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)][_0x1bf676(0x403)],'icon':_0x1bf676(0x638),'name':_0x1bf676(0x233)},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)][_0x1bf676(0x2d4)],'icon':_0x1bf676(0x5c3),'name':'sheets-shape-ui.shape.type.chart-x'},{'group':'other','type':u['ShapeTypeEnum'][_0x1bf676(0x225)],'icon':_0x1bf676(0x40e),'name':'sheets-shape-ui.shape.type.flow-chart-offline-storage'},{'group':'other','type':u['ShapeTypeEnum'][_0x1bf676(0x37d)],'icon':_0x1bf676(0x632),'name':_0x1bf676(0x234)},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)][_0x1bf676(0x5b2)],'icon':_0x1bf676(0x633),'name':_0x1bf676(0x40f)},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)][_0x1bf676(0x2ff)],'icon':'ShapeSquareTabsIcon','name':_0x1bf676(0x587)},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)][_0x1bf676(0x3d9)],'icon':_0x1bf676(0x501),'name':_0x1bf676(0x340)},{'group':'other','type':u[_0x1bf676(0x670)]['NonIsoscelesTrapezoid'],'icon':'ShapeNonIsoscelesTrapezoidIcon','name':_0x1bf676(0x489)}],he=_0x1bf676(0x3e7);function ge({onShapeClick:_0x544648,excludeGroups:_0x410ea5}){const _0x370ee9=_0x1bf676;let _0x5547fa=(0x0,l[_0x370ee9(0x214)])(t[_0x370ee9(0x67e)]),_0x6b9682=(0x0,l['useDependency'])(l[_0x370ee9(0x558)]),_0x254a36=(_0x410ea5?me[_0x370ee9(0x289)](_0x155fda=>!_0x410ea5[_0x370ee9(0x412)](_0x155fda[_0x370ee9(0x3f7)])):me)[_0x370ee9(0x56e)]((_0x3ed29d,_0x22f2d9)=>(_0x3ed29d[_0x22f2d9[_0x370ee9(0x3f7)]]||(_0x3ed29d[_0x22f2d9[_0x370ee9(0x3f7)]]=[]),_0x3ed29d[_0x22f2d9[_0x370ee9(0x3f7)]][_0x370ee9(0x23a)](_0x22f2d9),_0x3ed29d),{});return(0x0,h[_0x370ee9(0x3fa)])('div',{'className':_0x370ee9(0x436),'children':Object['entries'](_0x254a36)[_0x370ee9(0x4fc)](([_0x2662c7,_0xcd892c])=>(0x0,h[_0x370ee9(0x406)])(_0x370ee9(0x36b),{'className':_0x370ee9(0x4e7),'children':[(0x0,h[_0x370ee9(0x3fa)])(_0x370ee9(0x36b),{'className':'univer-mb-1\x20univer-rounded\x20univer-bg-gray-100\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-700\x20dark:!univer-bg-gray-800\x20dark:!univer-text-gray-200','children':_0x5547fa['t'](_0x370ee9(0x4c3)+_0x2662c7)}),(0x0,h[_0x370ee9(0x3fa)])(_0x370ee9(0x36b),{'className':_0x370ee9(0x471),'children':_0xcd892c[_0x370ee9(0x4fc)](_0x1c9c8e=>{const _0x1d09b5=_0x370ee9;let _0x112a4d=_0x6b9682[_0x1d09b5(0x1f9)](_0x1c9c8e[_0x1d09b5(0x42f)]);return(0x0,h[_0x1d09b5(0x3fa)])(_0x1d09b5(0x36b),{'title':_0x5547fa['t'](_0x1c9c8e['name']),'onClick':()=>_0x544648(_0x1c9c8e),'className':_0x1d09b5(0x57e),'children':_0x112a4d&&(0x0,h[_0x1d09b5(0x3fa)])(_0x112a4d,{'className':_0x1d09b5(0x25c)})},_0x1c9c8e[_0x1d09b5(0x343)]);})})]},_0x2662c7))});}function _0x33a1(_0x296f2a,_0x13fecc){_0x296f2a=_0x296f2a-0x1d5;const _0x1d5593=_0x1d55();let _0x33a104=_0x1d5593[_0x296f2a];return _0x33a104;}function _e(){const _0x427588=_0x1bf676;let _0x4b148e=(0x0,l[_0x427588(0x214)])(t[_0x427588(0x67e)]),_0x442509=(0x0,l[_0x427588(0x214)])(a[_0x427588(0x5a6)]),_0x42e756=(0x0,l['useDependency'])(H),[_0xde993e,_0x4bc5e1]=(0x0,m[_0x427588(0x36c)])(!0x1);return(0x0,h[_0x427588(0x3fa)])(p[_0x427588(0x22a)],{'side':_0x427588(0x305),'open':_0xde993e,'onOpenChange':_0x4bc5e1,'overlay':(0x0,h['jsx'])(ge,{'onShapeClick':_0xf38cab=>{const _0x37f126=_0x427588;let _0x276e70=_0x442509[_0x37f126(0x62f)]()[_0x37f126(0x24a)](_0x3026dc=>_0x3026dc[_0x37f126(0x24b)]===t[_0x37f126(0x45e)][_0x37f126(0x464)]);if(!_0x276e70)return;let {unitId:_0x3c5fa8,subUnitId:_0x503d15,drawingId:_0x28624e}=_0x276e70;_0x42e756['clipByShape'](_0x3c5fa8,_0x503d15,_0x28624e,_0xf38cab[_0x37f126(0x3cd)]),_0x4bc5e1(!0x1);},'excludeGroups':[_0x427588(0x336)]}),'children':(0x0,h['jsx'])(p['Button'],{'children':_0x4b148e['t'](_0x427588(0x2b4))})});}function ve(){const _0x5338c2=_0x1bf676;let _0x11fd8d=(0x0,l[_0x5338c2(0x214)])(t['ICommandService']);return(0x0,h['jsx'])(ge,{'onShapeClick':_0x7732fb=>{const _0x3d9a9c=_0x5338c2;_0x11fd8d[_0x3d9a9c(0x2e7)](V['id'],{'value':_0x7732fb[_0x3d9a9c(0x3cd)],'enhanceParams':{'endArrow':_0x7732fb[_0x3d9a9c(0x5af)],'startArrow':_0x7732fb['startArrow'],'horizontal':_0x7732fb[_0x3d9a9c(0x596)],'vertical':_0x7732fb[_0x3d9a9c(0x2b0)]}});}});}function ye(_0x1882b1){const _0xbcd469=_0x1bf676;let _0xc7697a=_0x1882b1[_0xbcd469(0x1f9)](t['IUniverInstanceService']);return{'id':V['id'],'type':l['MenuItemType'][_0xbcd469(0x615)],'selections':[{'label':{'name':he,'hoverable':!0x1,'selectable':!0x1,'props':{'id':V['id']}}}],'icon':_0xbcd469(0x309),'tooltip':_0xbcd469(0x53a),'activated$':(0x0,c['deriveStateFromActiveSheet$'])(_0xc7697a,!0x1,()=>new i[(_0xbcd469(0x5d1))](_0x5e76e0=>{_0x5e76e0['next'](!0x1);})),'hidden$':(0x0,l['getMenuHiddenObservable'])(_0x1882b1,t[_0xbcd469(0x683)][_0xbcd469(0x280)]),'disabled$':(0x0,c['getCurrentRangeDisable$'])(_0x1882b1)};}function _0x1d55(){const _0x92df31=['with','sheets-shape-ui.shape.type.bent-connector3','Dodecagon','ShapeActionButtonEndIcon','_reset','ShapeArrowSizeEnum','ActionButtonHome','ShapeTrapezoidIcon','SHAPE','ActionButtonEnd','_imageShapeClipController','8EVEoSr','_lastEditingShapeKey','sheets-shape-ui.shape.type.octagon','CUT','DocumentViewModel','_executeConnectedRouteConnectionCommand','shapeText','IUndoRedoService','GROUP','ShapeNotchedRightArrowIcon','changeStart$','ShapeStraightConnector2Icon','REMOVE','_handleConnectorPointerUp','refreshTransform','ShapePentagonIcon','ShapeWedgeRoundRectCalloutIcon','_currentConnectionTarget','ShapePlusIcon','subscribeContextValue$','BehaviorSubject','sheets-shape-ui.shape.type.round2-diag-rect','custom','ShapeActionButtonInformationIcon','ShapeCurvedConnector3Arrow1Icon','_registerMoveHandler','sheets-shape-ui.shape.type.heart','cxnPointRadius','BorderCallout2','BOTTOM','Corner','HorizontallyIcon','ShapeFunnelIcon','Arrow','AlignBottomIcon','_iconManager','ShapeFlowChartMagneticDrumIcon','editingParams$','ShapeMathNotEqualIcon','sheets-shape-ui.shape.type.irregular-seal1','_findNearestConnectionSite','sheets-shape-ui.insertShape','CurvedDownArrow','adjHandleSize','sheets-shape-ui.toggleTextVertical','_baseShapeTop','dispose','8HgEQPi','registerClipDelegate','gridType','ShapeRectTextboxVerticalIcon','ShapeDownArrowIcon','useMemo','RightArrowCallout','BUTTON_SELECTOR','sheets-shape-ui.config','ActionButtonBlank','_sheetsShapeService','_updateSrcRectByTransform','merge','SetShapeTextFontSizeDecreaseCommand','resize','LeftRightCircularArrow','RIGHT','_handleConnectedEndpointPointerUp','sheets-shape-ui.shape.type.left-arrow','IContextService','#FFFFFF','_baseShapeWidth','ActionButtonForwardNext','_handleConnectedEndpointMove','IconManager','sheets-shape-ui.shape.type.star12','_initEvents','_localeService','ShapeSnip2SameRectIcon','sheets-shape-ui.shape.type.plus','sheets-shape-ui.shape.type.can','_getConnectPointInfo','clip-','ShapeLeftUpArrowIcon','values','Chevron','getTransformerByCreate','OPERATION','ShapeStar12Icon','sheets-shape-ui.shape.type.flow-chart-collate','StripedRightArrow','_sidebarService','sheets-shape-ui.shape.type.curved-connector3-arrow2','ShapeActionButtonHelpIcon','getBasicShapeRotateBound','DoubleWave','reduce','sheets-shape-ui.shape.type.flow-chart-merge','gdRefX','_addShapeAdjustControl','sin','getOwnPropertyDescriptor','_loadShapePictureFill','_initSelection','RoundRect','transform','ShapeStraightConnector1Icon','clipByShape','ShapeModel','LightningBolt','sheets-shape-ui.shape.type.accent-border-callout2','changeShapeType','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','slice','ImageSourceTypeEnum','ShapeActionButtonForwardNextIcon','registerFeatureMenuOffset','ShapeDocAlignCommand','_isStartConnectorPoint','CurvedConnector3','changeEnd$','sheets-shape-ui.shape.type.square-tabs','ShapeDiagStripeIcon','Inject','sheets-shape-ui.shape.type.flow-chart-multidocument','from','Callout2','createControl$','_adjHandlerPointerUp','ShapeFlowChartExtractIcon','ShapeTeardropIcon','FOCUSING_COMMON_DRAWINGS','_sheetDrawingShapeRenderController','sheets-shape-ui.shape.type.flow-chart-display','SetSheetsShapeRotateCommand','fonts$','horizontal','close','sheets-shape-ui.shape.type.snip-round-rect','Gear6','MathMultiply','subscribeEvent','ShapeCurvedConnector3Arrow2Icon','pushUndoRedo','save','sheets-shape-ui.deleteShape','asObservable','ActionButtonDocument','ISidebarService','sheet.command.set-shape-text-horizontal-align','LeftCircularArrow','TRUE','IDrawingManagerService','ShapeBorderCallout3Icon','ShapeAccentBorderCallout2Icon','sheets-shape-ui.shape.type.brace-pair','pipe','blockArrow','sheets-shape-ui.shape.type.corner-tabs','_draggingConnectorId','forEach','endArrow','LeftBracket','sheets-shape-ui.rotateRight90','PlaqueTabs','UniverSheetsShapePlugin','SheetsShapeUIController','Disposable','textStyle','floor','attachTransformerTo','_setTransForm','getConnectionSiteList','ShapeHeptagonIcon','sheets-shape-ui.shape.type.round1-rect','FlowchartMagneticDisk','image','clearControl$','_clearConnectionSites','WorksheetEditPermission','sheet.shape.floating-toolbar','ShapeChartXIcon','_draw','applyPoint','scene','_baseShapeHeight','sheets-shape-ui.shape.type.left-right-ribbon','_univerInstanceService','routeConnectorLineShape','ShapeDecagonIcon','ShapeMathMultiplyIcon','_getImageDrawingInfo','sheets-shape-ui.shape.type.round2-same-rect','SnipRoundRect','subUnitId','Observable','_adjName','getObjectIncludeInGroup','ShapeMoonIcon','DependentOn','shapeModel','addImageSourceCache','sheets-shape-ui.shape.type.funnel','NotchedRightArrow','_highlightedSiteIndex','sheets-shape-ui.shape.type.left-arrow-callout','#4285f4','stopPropagation','FlowchartOr','sheets-shape-ui.shape.type.curved-connector3-arrow1','_initialize','sheets-shape-ui.shape.type.vertical-scroll','computeConnectorResizeLayout','Frame','sheets-shape-ui.shape.type.flow-chart-magnetic-disk','_getOrCreateShapeModel','sheets-shape-ui.shape.type.wedge-round-rect-callout','width','SheetScrollManagerService','getCurrentSkeleton','CommandType','_clipService','_initCommands','rect','_clearControls','20746PVSsDb','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','sheets-shape-ui.shape.type.math-not-equal','ShapeBentArrowIcon','adjName','FlowchartAlternateProcess','Image','FlowchartManualOperation','ShapeRightArrowCalloutIcon','LeftRightRibbon','QuadArrowCallout','Snip2SameRect','version','HalfFrame','paragraphStyle','Cloud','sheet.operation.open-sheet-shape-format-panel','_initializedShapePopupMenu','_isShouldShowDrawingShapeAdjust','sheets-shape-ui.rotateLeft90','skeleton','_commandService','lineType','UpdateConnectorRelationCommand','ShapeFlowChartProcessIcon','setShapeProps','ShapeCloudIcon','ShapeTriangleIcon','1.0.0-insiders.20260629-12f2e44','Snip1Rect','_closeShapeEditPanel','_createShapeAdjustControls','@univerjs-pro/sheets-shape-ui','Teardrop','sheets-shape-ui.shape.type.bent-connector3-arrow1','fillImageSource','MathEqual','initShapePopupMenu','SELECTOR','_getShapeInfo','ShapeCurvedLeftArrowIcon','body','_init','UpDownArrow','_clearPopups','sheets-shape-ui.shape.type.flow-chart-punched-tape','Plus','SHEET_VIEWPORT_KEY','sheets-shape-ui.shape.type.star5','_baseLeft','setPrstGeom','sheet.command.shape-doc-align','ShapeUpArrowCalloutIcon','sheets-shape-ui.shape.type.flow-chart-magnetic-drum','ShapeCurvedUpArrowIcon','RemoveSheetsShapeMutation','_transformCalculateSrcRect','horizontalAlign','Star16','_shapeUpdateListener','createInternalEditorID','set','sheets-shape-ui.shape.type.folder-corner','sheets-shape-ui.shape.type.action-button-document','getFocusDrawings','onStarting','doc','ShapeLineInvIcon','ShapePlaqueTabsIcon','sheets-shape-ui.shape.type.donut','ShapeBlockArcIcon','Sun','sheetViewStartRow','ShapeChartStarIcon','BentArrow','SetShapeTextHorizontalAlignCommand','resetCursor','ICommandService','ShapePlaqueIcon','sheets-shape-ui.shape.type.no-smoking','sheets-shape-ui.shape.type.star8','getMatrix','sheets-shape-ui.shape.type.flow-chart-delay','_sheetPermissionCheckController','sheets-shape-ui.shape.type.flow-chart-online-storage','ActionButtonBeginning','sheets-shape-ui.shape.type.flow-chart-sort','rectangle','_baseTop','onCommandExecuted','add$','sheets-shape-ui.shape.type.irregular-seal2','_generateCopyPasteMutations','_registerComponents','sheets-shape-ui.shape.type.up-arrow','ShapeAccentCallout3Icon','_executeResizeCommand','ShapeMathDivideIcon','packageName','focusDrawing','getConnectionInfo','_baseShapeLeft','getShapeModel','_targetShapeId','sheets-shape-ui.shape.type.cloud','index','sheets-shape-ui.shape.type.action-button-information','ShapeHomePlateIcon','sheets-shape-ui.shape.type.triangle','_sheetInterceptorService','getObject','ShapeAccentBorderCallout1Icon','RibbonStartGroup','ShapeTextFloatMenuRenderControllerBase','ShapeNoSmokingIcon','getCurrentTypeOfUnit$','getAdjustInfoByName','makeDirty','VIEW_MAIN_TOP','LAYOUT','copyType','setContextValue','_shapeEditPanelVersion','ShapeFrameIcon','data','_addShapeConnectorHandlerObjects','ShapeLeftRightUpArrowIcon','sheets-shape-ui.shape.type.wedge-ellipse-callout','ShapeActionButtonBeginningIcon','ShapeTypeEnum','ShapeIrregularSeal2Icon','_getShapeAdjustPointListById','_drawingManagerService','FORMAT','Chord','gdRefR','_addShapeConnectorHandlerObject','ActionButtonInformation','Circle','sheet.shape.text.float-menu','ShapePieWedgeIcon','SheetSkeletonManagerService','ShapeMathPlusIcon','LocaleService','ShapeStar7Icon','sheets-shape-ui.shape.type.left-right-arrow-callout','SetShapeDrawingDataCommand','ShapeBevelIcon','UniverInstanceType','clip','_findShapeAtPoint','shape-adjust-point-','flowchart','UpArrow','_getScrollInfo','Ellipse','sheets-shape-ui.shape.type.right-arrow','image-clip-adjust-point-','_unitId','isConnectorShape','Parallelogram','UUID','ShapeActionButtonBackPreviousIcon','_isConnecting','setHighlighted','ShapeCircularArrowIcon','_cxtHandlerPointerMove','_renderManagerService','sheets-shape-ui.align.top','_drawShapeText','SheetCanvasPopManagerService','calculate','ShapeCallout1Icon','_isOpenedShapeEditPanel','ShapeLeftBraceIcon','localeService','ShapeSnip2DiagRectIcon','setEditing','AccentBorderCallout2','sheets-shape-ui.shape.type.flow-chart-internal-storage','sheets-shape-ui.shape.type.hexagon','pick','sheets-shape-ui.shape.type.action-button-sound','DEFAULT_PASTE','FlowchartExtract','sheets-shape-ui.align.middle','_isImagePointerDown','ShapeFlowChartConnectorIcon','_activeAdjustInfo','get','worldPoints','_isHighlighted','FlowchartPredefinedProcess','sheetTransform','updateContext','LeftArrow','ShapeLeftArrowIcon','AccentCallout3','sheets-shape-ui.shape.type.trapezoid','getDrawingEditable','RemoveSheetCommand','getDrawingShapeKeyByDrawingSearch','getDrawingSearch','updateShapeFillImage','sheets-shape-ui.shape.type.bracket-pair','DrawingImageClipService','_initCopyPaste','redo','getEditing','params','_transform','ShapeAccentCallout1Icon','_subUnitId','getBatchUpdateOp','ShapeBracePairIcon','spaceBelow','useDependency','fillType','callout','paragraphs','SolidLine','UniverSheetsDrawingUIPlugin','sheets-shape-ui.shape.type.border-callout3','sheets-shape-ui.shape.type.flow-chart-punched-card','parse','ShapeFloatingToolbar','onSteady','URL','FlowchartManualInput','getDrawingPoints','keys','ShapeRibbon2Icon','FlowchartPunchedTape','FlowChartOfflineStorage','_commandExecutedListener','complete','_shapes','sheets-shape-ui.shape.type.straight-connector2','Dropdown','render','sheets-shape-ui.shape.type.star10','sheets-shape-ui.shape.type.pie-wedge','ShapeFlowChartCollateIcon','_attachAdjustEvent','BorderCallout3','clearAdjustValue','SolidFill','sheets-shape-ui.shape.type.chart-star','sheets-shape-ui.shape.type.line-inv','rotation','onPointerMove$','sheets-shape-ui.shape.type.star6','snapToGrid','_moveConnectorWithShape','push','ShapeGear6Icon','sheets-shape-ui.shape.type.flow-chart-magnetic-tape','shapeType','Diamond','FlowchartCollate','sheet.shape.edit.panel','calcAdjValue','_context','clearAdjustControls','sheets-shape-ui.shape.type.swoosh-arrow','ShapeStar24Icon','ShapeFlowChartDecisionIcon','IUniverInstanceService','ShapeTextEditorContainer','AccentBorderCallout1','find','drawingType','update$','ShapeChordIcon','isLineShape','sheets-shape-ui.shape.type.action-button-beginning','sheet.operation.close-sheet-shape-format-panel','sheet.command.set-shape-text-vertical-align','6143564FgjANY','_rerouteConnectorLine','sheets-shape-ui.shape.type.accent-callout3','updateConnectionDetection','_updateAdjustControlPositions','sheets-shape-ui.shape.type.math-minus','call','HorizontalAlign','FlowchartConnector','getShapePopupMenus','univer-size-full','SetDrawingApplyMutation','FlowchartSummingJunction','label','DrawingApplyType','FlowchartMultiDocument','ShapeFlowChartManualInputIcon','activeAnObject','ShapeBorderCallout1Icon','sheets-shape-ui.shape.type.star32','ShapeActionButtonSoundIcon','sheets-shape-ui.toggleFlipV','_registerIcons','FlowchartPunchedCard','getSheetBySheetId','discreteRangeToRange','targetShapeId','beginPath','_onSavingEditorData$','ShapeSmileyFaceIcon','sheets-shape-ui.shape.type.curved-left-arrow','popup','sheets-shape-ui.shape.type.border-callout1','gdRefY','prstGeom','FlowchartDelay','UpdateSheetsShapeDataMutation','sheets-shape-ui.shape.type.border-callout2','FlowchartSort','_sidebarDisposable','lineShapeId','onReady','sheets-shape-ui.shape.type.star16','src','sheets-shape-ui.shape.type.snip2-diag-rect','ShapeFlowChartManualOperationIcon','UNIVER_SHEET','toStringTag','setFillImage','sheets-shape-ui.shape.type.curved-up-arrow','memo','ShapeStar5Icon','sheets-shape-ui.shape.type.flow-chart-alternate-process','Pie','SheetSkeletonService','filter','removeLinePoints','ShapeAccentCallout2Icon','SheetPermissionCheckController','_configService','ShapeFlowChartOnlineStorageIcon','abs','function','_calculateFreeEndpointAngle','Star24','ShapeLeftRightCircularArrowIcon','indexOf','setCursor','startX','FlowChartInputOutput','ShapeFlowChartOffpageConnectorIcon','ShapeBracketPairIcon','_updateImageAdjValues','ShapeMathEqualIcon','VerticalScroll','sheets-shape-ui.shape.type.flow-chart-connector','sheets-shape-ui.shape.type.straight-connector1','ShapeFlowChartMagneticTapeIcon','ShapeFlowChartDocumentIcon','CloudCallout','sheets-shape-ui.shape.type.round-rect','_createControls','Heart','sheets-shape-ui.shape.type.accent-border-callout3','_focusedDrawings','sheets-shape-ui.shape.type.arc','_registerDrawingFocusChangeHandler','_config','LeftRightArrowCallout','_addControl','_getDrawingRect','ShapeBentUpArrowIcon','Ribbon','ISheetDrawingService','vertical','COMMAND','_disposePopups','ComponentManager','sheets-shape-ui.imagePanel.crop.shape','RightBracket','_cxnIndex','sheets-shape-ui.shape.type.ribbon','sheets-shape-ui.shape.type.heptagon','isRichText','ShapeBorderCallout2Icon','value','isStartConnectorPoint','DownArrowCallout','remove$','BracePair','#bcbcbc','ShapeSnip1RectIcon','register','ShapeUpDownArrowIcon','MathDivide','PREDEFINED_HOOK_NAME','ShapeFlowChartMagneticDiskIcon','LeftRightUpArrow','ShapeDiamondIcon','lineSpacing','bind','has','_currentScene','length','Shape','sheets-shape-ui.shape.type.horizontal-scroll','VIEW_MAIN_LEFT','sheets-shape-ui.shape.type.left-brace','_sheetSkeletonService','cxnPointStroke','ChartX','worldRect','ShapeFlowChartTerminatorIcon','sheets-shape-ui.shape.type.double-wave','ShapeHexagonIcon','_urlImageService','getStartConnectInfo','RightJustifyingIcon','ShapeFlowChartAlternateProcessIcon','transformForAngle','cxnPointFill','_registerShapeMenu','oKey','translate','sheets-shape-ui.shape.type.ellipse-ribbon','getShapeData','drawWith','ShapeArrowTypeEnum','attachRangeWithCoord','executeCommand','sheets-shape-ui.shape.type.action-button-back-previous','_currentUniverService','objects','sheets-shape-ui.openPanel','cos','IrregularSeal1','ShapeLeftRightArrowCalloutIcon','getShapeDataById','2qrvPpr','computeStraightConnectorLayout','ShapeActionButtonBlankIcon','sheets-shape-ui.toolbar.fillColor.main','RightBrace','size','MIDDLE','ShapeLeftRightArrowIcon','Wave','DRAWING_SHAPE','sheets-shape-ui.shape.type.action-button-forward-next','activeSheet$','ShapeCubeIcon','transformByState','UNIVER_DOC','SquareTabs','getDrawingByParam','sheets-shape-ui.shape.type.smiley-face','_connectorObjects','_getZoomRatio','_popupMenuListener','left','ShapeFlowChartSortIcon','setShapeData','mergeMenu','ShapeIcon','stringify','ShapeBentConnector3Arrow1Icon','ShapeRightBraceIcon','ShapeCornerIcon','RemoveSheetDrawingCommand','sheets-shape-ui.shape.type.lightning-bolt','_handleFreeEndpointPointerUp','getBasicShapeRelation','getDrawingOKey','_getShapeAdjustInfosById','sheets-shape-ui.shape.type.flow-chart-input-output','Decagon','DrawingRenderService','BentUpArrow','_cxtHandlerPointerUp','onPointerDown$','generateRandomId','ShapeIrregularSeal1Icon','sheets-shape-ui.toolbar.horizontalAlignMode.main','verticalAlign','sheets-shape-ui.shape.type.cube','Plaque','ShapeHalfFrameIcon','sheets-shape-ui.shape.type.flow-chart-document','_activeShapeInfo','EllipseRibbon','sheets-shape-ui.toggleFlipH','sheets-shape-ui.shape.type.chart-plus','sheets-shape-ui.align.right','ConnectorCoordinateTransform','LeftJustifyingIcon','_registerDrawingMoveHandler','InsertSheetsShapeMutation','ShapeVerticalScrollIcon','Round2DiagRect','ActionButtonHelp','getViewportByCell','ShapeEllipseRibbon2Icon','Injector','ShapeStar4Icon','ShapeWedgeRectCalloutIcon','ShapeSquareTabsIcon','flipX','WedgeRectCallout','line','registerCommand','ShapeStar32Icon','IrregularSeal2','adjustValues','1650096OEeXkh','default','sheets-shape-ui.align.bottom','ShapeFlowChartPunchedTapeIcon','onload','sheets-shape-ui.shape.type.up-down-arrow-callout','Star6','DRAWING_DOM','name','LeftRightArrow','sheet.command.set-shape-text-font-size-increase','COLOR_PICKER_COMPONENT','PaintBucketDoubleIcon','getCurrentUnitInfo','getTransformer','getUnitId','ShapeFolderCornerIcon','sheets-shape-ui.shape.type.left-bracket','ShapeStripedRightArrowIcon','_isDrawingShapePointDown','CircularArrow','sheets-shape-ui.shape.type.left-right-circular-arrow','AccentCallout1','basicShape','prstGeomAdjValues','renderDrawingShape','preValue','ShapeFlowChartOrIcon','translateWithPrecision','dataStream','registerRenderModule','SheetsShapeService','_injector','ShapeChartPlusIcon','#111827','_shapeId','addClipboardHook','isEditing','setShouldShowAdjust','decorate','shapeData','RightArrow','undo','_handleFreeEndpointMove','CurvedUpArrow','MEDIA','ShapeLeftBracketIcon','sheets-shape-ui.shape.type.rect','div','useState','scale','sheets-shape-ui.shape.type.chord','ShapeFlowChartPreparationIcon','COPY_TYPE','_updateShapeAdjustControls','_createShapePopupMenu','WedgeRoundRectCallout','_clearShapeConnectorHandlerObjects','_connectionSiteObjects','sheets-shape-ui.shape.type.circular-arrow','Round2SameRect','Snip2DiagRect','sheets-shape-ui.shape.type.left-up-arrow','constructor','setAdjustValueByName','WorkbookEditablePermission','LineInv','documentStyle','isArray','Hexagon','Star10','ShapeEllipseIcon','_baseDrawingRect','ShapeSwooshArrowIcon','Module','getBatchRemoveOp','onTransformChange$','CurvedLeftArrow','ShapeHeartIcon','onPointerUp$','UPDATE','_drawSimpleText','disposeWithMe','START','_contextService','sheets-shape-ui.shape.type.right-brace','sheets-shape-ui.shape.type.flow-chart-preparation','FlowchartProcess','IConfigService','ShapeRoundRectIcon','addObject','_hasReset','sheets-shape-ui.shape.type.accent-callout1','sheets-shape-ui.shape.type.quad-arrow-callout','_isStartAdjusting','_adjHandlerPointerMove','some','getAllUnitsForType','onDblclick$','ShapeEllipseRibbonIcon','_initEditingParams','WRAP','ShapeRtTriangleIcon','sheets-shape-ui.shape.type.frame','getShapeTypeById','transformToDrawingPosition','sheets-shape-ui.hidePanel','_registerFocusChangeHandler','sheets-shape-ui.shape.type.block-arc','ShapeLeftCircularArrowIcon','composeMatrix','sheets-shape-ui.shape.type.curved-right-arrow','_baseWidth','PieWedge','_sheetCanvasPopManagerService','ShapeStar10Icon','sheets-shape-ui.shape.type.curved-down-arrow','drawing.operation.set-drawing-active','ShapeStar6Icon','getAdjustValueByName','INSERT','cxnIndex','ShapeRectIcon','PictureFill','sheets-shape-ui.shape.type.half-frame','_executeConnectionCommand','refreshAdjustControls','sheet.command.menu-insert-shape','sheets-shape-ui.shape.type.flow-chart-terminator','73029ytuXjf','VerticalAlign','_clearShapeAdjustControls','sheets-shape-ui.shape.type.accent-callout2','MathPlus','unitId','ShapeWaveIcon','_initMenu','MenuItemType','sheets-shape-ui.shape.type.flow-chart-or','_sheetShapeAdjustController','AccentCallout2','Cube','Moon','enableObjectsEvent','ShapeCanIcon','ShapeStar8Icon','type','sheets-shape-ui.shape.type.ribbon2','ShapeParallelogramIcon','strokeWidth','sheets-shape-ui.shape.type.pentagon','startWith','_getImagePrstGeom','WrapStrategy','sheets-shape-ui.shape.type.bent-arrow','_activeImageId','sheets-shape-ui.shape.type.callout1','SHEET_SHAPE_UI_PLUGIN','UpDownArrowCallout','_handleBasicShapeUpdateConnectorLineShape','getRealBound','BentConnector3','ShapeActionButtonHomeIcon','ShapeDonutIcon','_initSheetChange','AlignOperationCommand','sheets-shape-ui.shape.type.chevron','sheets-shape-ui.toolbar.verticalAlignMode.main','visible','_executeConnectedRouteResizeCommand','UniverSheetsShapeUIPlugin','sheets-shape-ui.shape.type.decagon','sheet.shape.picker.component','_copyInfo','ShapeFlowChartInputOutputIcon','getConnectorLinePoints','clip-adj-','_createCopyInfoByRange','ShapeSnipRoundRectIcon','sheets-shape-ui.shape.type.bent-connector3-arrow2','getBatchAddOp','_attachConnectorObjectEvent','ShapeStar16Icon','getEndConnectInfo','StraightConnector1','setCanUseShapeClip','_activeTargetShapeId','getZoomRatio','group','FlowchartDecision','_sheetBasicShapeConnectionPointController','jsx','sheets-shape-ui.permission.editErr','viewportScrollX','getParent','angle','srcRect','Rect','ShapeCallout2Icon','1158650bNXvuZ','ChartStar','ShapeCurvedRightArrowIcon','pluginName','jsxs','object','_drawingAddListener','ShapeLightningBoltIcon','ActionButtonBackPrevious','DRAWING_OBJECT_LAYER_INDEX','syncExecuteCommand','AlignTopIcon','ShapeFlowChartOfflineStorageIcon','sheets-shape-ui.shape.type.plaque-tabs','string','registerFeatureMenu','includes','RibbonPosition','InsertShapeCommand','VIEW_MAIN','textRuns','ShapeRightBracketIcon','getState','sheets-shape-ui.shape.type.notched-right-arrow','Tools','getSheetCommandTarget','ShapeLeftRightRibbonIcon','getSkeleton','ShapeActionButtonDocumentIcon','updateLinePoints','HorizontalScroll','unsubscribe','_registerImageShapeClipDelegate','sheets-shape-ui.shape.type.quad-arrow','getContextValue','getDrawingVisible','_showConnectionSites','sheets-shape-ui.shape.type.moon','Transform','_updateTransform','_registerGroupFeaturePasteHook','SheetDrawingAnchor','other','ShapeDefaultConfig','getAdjustNames','icon','ShapeActionButtonReturnIcon','sheets-shape-ui.align.left','DEFAULT','ToggleSheetsShapeFlipCommand','spaceAbove','buildClipPath','univer-max-h-[75vh]\x20univer-w-[320px]\x20univer-pb-2','getValue','sheets-shape-ui.shape.type.plaque','sheets-shape-ui.shape.type.action-button-help','sheets-shape-ui','startY','_generatePasteMutations','ShapeUpArrowIcon','Pentagon','classType','error','FlowchartTerminator','_registerOperations','interceptCommand','add','ShapeFillEnum','sheets-shape-ui.shape.type.flow-chart-offpage-connector','top','sheets-shape-ui.shape.type.star7','10918660oEuePm','SetInlineFormatTextBackgroundColorCommand','BooleanNumber','top-center','ShapeRound2SameRectIcon','_shapeTextEditingService','ShapeRectTextboxHorizontalIcon','SheetsSelectionsService','ShapeEditPanel','_activeAdjustPointList','_baseHeight','FromArray','sheets-shape-ui.shape.type.teardrop','FlowchartMagneticTape','shape-text-','ShapeCloudCalloutIcon','sheets-shape-ui.shape.type.math-multiply','sheets-shape-ui.shape.type.ellipse','disableObjectsEvent','drawingId','GridType','DrawingTypeEnum','offsetY','_generateCutPasteMutations','getDrawingData','CopySheetCommand','worldPoint','DRAWING_IMAGE','_activeShapeModel','RENDER_CLASS_TYPE','Medium','AccentBorderCallout3','sheets-shape-ui.shape.type.flow-chart-manual-operation','ShapeHorizontalScrollIcon','FOCUSING_SHAPE_TEXT_EDITOR','ShapeFlowChartInternalStorageIcon','fillImageSourceType','sheets-shape-ui.shape.type.flow-chart-extract','_drawingType','ShapeQuadArrowIcon','univer-grid\x20univer-grid-cols-10\x20univer-gap-1','isInGroup','FlowchartPreparation','isHighlighted','ShapeDoubleWaveIcon','117253WGsKRp','getSelectedObjectMap','dataModel','LEFT','ShapeRound2DiagRectIcon','sheets-shape-ui.toolbar.resetColor','sheets-shape-ui.shape.type.bevel','FlowchartInternalStorage','next','CURSOR_TYPE','sheets-shape-ui.shape.type.left-circular-arrow','ang','ShapeUturnArrowIcon','ShapeFlowChartMergeIcon','Documents','symbol','LeftUpArrow','ShapeRibbonIcon','_activeShapeId','sheets-shape-ui.shape.type.non-isosceles-trapezoid','clear','isHorizontal','DocumentSkeleton','ShapeBentConnector3Arrow2Icon','point','BracketPair','ShapeDownArrowCalloutIcon','sheets-shape-ui.shape.type.bent-up-arrow','relation','_sheetDrawingService','ShapeGear9Icon','ISheetClipboardService','Gear9','CurvedRightArrow','sheets-shape-ui.shape.type.math-equal','invert','getSkeletonParam','ShapeLineIcon','_resetState','sheets-shape-ui.shape.type.left-right-up-arrow','Heptagon','Triangle','_loadAndSetImage','setOnSavingEditorData','entries','sheets-shape-ui.shape.type.action-button-blank','getShapeTextRect','sheets-shape-ui.shape.type.up-arrow-callout','offsetX','buildShapeTextDataUpdate','5136jSSOfq','_props','_getSceneAndTransformerByDrawingSearch','sheets-shape-ui.shape.type.sun','sheets-shape-ui.shape.type.wedge-rect-callout','_sheetClipboardService','viewportScrollY','ShapeFlowChartPredefinedProcessIcon','EMPTY','_openShapeEditPanel','multiply','equationShape','IRenderManagerService','ShapeDodecagonIcon','sheets-shape-ui.shape.type.striped-right-arrow','useEffect','restore','shapeId','start','_editingParams$','None','sheets-shape-ui.shape.type.line','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','getRenderById','computeConnectorRouteLayout','TOP','toDisposable','sheets-shape-ui.shape.group.','9ofvXMS','Callout1','toPrimitive','getShapeType','focus$','connection-site-','ShapeTextFloatToolbar','ResetInlineFormatTextBackgroundColorCommand','SheetsDrawingGroupCopyPasteController','_drawRichText','Ribbon2','_insertShapes','ShapeChevronIcon','_imageIoService','changing$','Line','ShapeFlowChartPunchedCardIcon','defineProperty','ShapeFlowChartDisplayIcon','renderConfig','ShapeBentConnector3Icon','_activeShapeAdjustPointList','_componentManager','draw','ShapePieIcon','ShapeMathMinusIcon','ShapeLeftArrowCalloutIcon','_groupCopyPasteController','DocumentDataModel','sheets-shape-ui.shape.type.wave','getCurrentScrollState','_shapeService','IImageIoService','shapeKey','subscribe','univer-mb-2','ShapeCurvedDownArrowIcon','setSrcRect','_drawingRenderService','Star8','getBentTypeFromPoints','startConnectionDetection','CROSSHAIR','ShapeQuadArrowCalloutIcon','cxnPointStrokeWidth','sqrt','ShapeWedgeEllipseCalloutIcon','gdRefAng','height','flipY','ShapeFlowChartMultidocumentIcon','switchMap','ShapeCornerTabsIcon','registerFeaturePasteHook','ancestorTransform','getShapeTextData','map','Star5','FlowchartOffPageConnector','starAndBanner','sheets-shape-ui.shape.type.curved-connector3','ShapeUpDownArrowCalloutIcon','localToWorld','Plugin','getUnit','EllipseRibbon2'];_0x1d55=function(){return _0x92df31;};return _0x1d55();}const be={[l[_0x1bf676(0x413)][_0x1bf676(0x38e)]]:{[l[_0x1bf676(0x65f)][_0x1bf676(0x666)]]:{[A['id']]:{'order':3.5,'menuItemFactory':pe},[E['id']]:{'order':3.4,'menuItemFactory':de}},[l[_0x1bf676(0x65f)][_0x1bf676(0x674)]]:{[s[_0x1bf676(0x44a)]['id']]:{'order':0x1,'menuItemFactory':ce,[s[_0x1bf676(0x4cb)]['id']]:{'order':0x0,'menuItemFactory':le}}}},[l['RibbonInsertGroup'][_0x1bf676(0x368)]]:{[V['id']]:{'order':0x4,'menuItemFactory':ye}}};let U=class extends t[_0x1bf676(0x5b5)]{constructor(_0x2afbdd,_0x371124,_0x4f0f17,_0xc2f97e,_0x338162,_0x1c7cdc,_0x5540ba,_0xf1900a,_0x22c53b,_0x5c06c3,_0x3caa45){const _0x3bf275=_0x1bf676;super(),this['_univerInstanceService']=_0x2afbdd,this['_sidebarService']=_0x371124,this['_menuManagerService']=_0x4f0f17,this['_sheetsShapeService']=_0xc2f97e,this[_0x3bf275(0x55b)]=_0x338162,this[_0x3bf275(0x604)]=_0x1c7cdc,this['_drawingManagerService']=_0x5540ba,this[_0x3bf275(0x3ad)]=_0xf1900a,this[_0x3bf275(0x38f)]=_0x22c53b,this[_0x3bf275(0x1e3)]=_0x5c06c3,this['_shapeTextEditingService']=_0x3caa45,S(this,'_sidebarDisposable',null),S(this,_0x3bf275(0x322),null),S(this,'_isOpenedShapeEditPanel',!0x1),S(this,_0x3bf275(0x669),0x0),S(this,_0x3bf275(0x600),new Set()),S(this,_0x3bf275(0x2b2),[]),this[_0x3bf275(0x3c3)](),this[_0x3bf275(0x38d)](this['_univerInstanceService'][_0x3bf275(0x662)](t['UniverInstanceType'][_0x3bf275(0x280)])[_0x3bf275(0x4e6)](_0xb53eaa=>{const _0xe3e499=_0x3bf275;if(!_0xb53eaa){var _0x5e94a6;(_0x5e94a6=this[_0xe3e499(0x279)])==null||_0x5e94a6[_0xe3e499(0x53f)]();return;}this[_0xe3e499(0x372)](_0xb53eaa);})),this[_0x3bf275(0x442)](),this[_0x3bf275(0x2df)](),this[_0x3bf275(0x614)](),this['disposeWithMe'](this['_shapeTextEditingService']['editingParams$']['subscribe'](_0x50c6e3=>{_0x50c6e3&&this['_clearPopups']();}));}[_0x1bf676(0x3c3)](){const _0x276122=_0x1bf676;this['_menuManagerService'][_0x276122(0x308)](be);}['_registerShapeMenu'](){const _0x5978dc=_0x1bf676;this['_sheetCanvasPopManagerService'][_0x5978dc(0x411)](t[_0x5978dc(0x45e)][_0x5978dc(0x2f9)],this[_0x5978dc(0x25b)][_0x5978dc(0x2ca)](this)),this[_0x5978dc(0x3ad)][_0x5978dc(0x582)](t[_0x5978dc(0x45e)][_0x5978dc(0x2f9)],0x6,0x4);}[_0x1bf676(0x614)](){const _0x49df4c=_0x1bf676;this[_0x49df4c(0x5c9)][_0x49df4c(0x39c)](t[_0x49df4c(0x683)][_0x49df4c(0x280)])['forEach'](_0x12056b=>this[_0x49df4c(0x372)](_0x12056b));}[_0x1bf676(0x25b)](_0x5a7090,_0x1dba85,_0x6187da,_0xd8a751){const _0x1614ed=_0x1bf676;return[{'label':_0x1614ed(0x2eb),'index':0x0,'commandId':N['id'],'commandParams':{'unitId':_0x5a7090,'subUnitId':_0x1dba85,'drawingId':_0x6187da},'disable':_0xd8a751===t['DrawingTypeEnum'][_0x1614ed(0x342)]},{'label':_0x1614ed(0x59f),'index':0x1,'commandId':r[_0x1614ed(0x30e)]['id'],'commandParams':{'unitId':_0x5a7090,'drawings':[{'unitId':_0x5a7090,'subUnitId':_0x1dba85,'drawingId':_0x6187da,'drawingType':_0xd8a751}]},'disable':!0x1},{'label':_0x1614ed(0x3a5),'index':0x2,'commandId':M['id'],'commandParams':{'unitId':_0x5a7090,'subUnitId':_0x1dba85,'drawingId':_0x6187da},'disable':!0x1},{'label':_0x1614ed(0x324),'index':0x3,'commandId':e['ToggleSheetsShapeFlipCommand']['id'],'commandParams':{'unitId':_0x5a7090,'subUnitId':_0x1dba85,'shapeId':_0x6187da,'flipH':!0x0},'disable':!0x1},{'label':_0x1614ed(0x267),'index':0x4,'commandId':e[_0x1614ed(0x433)]['id'],'commandParams':{'unitId':_0x5a7090,'subUnitId':_0x1dba85,'shapeId':_0x6187da,'flipV':!0x0},'disable':!0x1},{'label':_0x1614ed(0x5b1),'index':0x4,'commandId':e['SetSheetsShapeRotateCommand']['id'],'commandParams':{'unitId':_0x5a7090,'subUnitId':_0x1dba85,'shapeId':_0x6187da,'rotate':0x5a},'disable':!0x1},{'label':_0x1614ed(0x602),'index':0x4,'commandId':e[_0x1614ed(0x594)]['id'],'commandParams':{'unitId':_0x5a7090,'subUnitId':_0x1dba85,'shapeId':_0x6187da,'rotate':-0x5a},'disable':!0x1},{'label':_0x1614ed(0x53d),'index':0x4,'commandId':e['SetSheetsShapeTextVerticalToggleCommand']['id'],'commandParams':{'unitId':_0x5a7090,'subUnitId':_0x1dba85,'shapeId':_0x6187da},'disable':!0x1}];}[_0x1bf676(0x616)](_0x3e545e,_0x303e0a,_0x2b4ac4){const _0x249a6b=_0x1bf676;let _0x50dbba=this['_sheetsShapeService'][_0x249a6b(0x3a3)](_0x3e545e,_0x303e0a,_0x2b4ac4),_0x20ec50=this[_0x249a6b(0x54a)][_0x249a6b(0x2ef)](_0x3e545e,_0x303e0a,_0x2b4ac4);return _0x50dbba!==void 0x0&&_0x20ec50!==void 0x0?{'shapeData':_0x20ec50,'shapeId':_0x2b4ac4,'shapeType':_0x50dbba,'unitId':_0x3e545e,'subUnitId':_0x303e0a,'version':this[_0x249a6b(0x669)],'disableShapeOption':!0x1}:null;}['_createShapePopupMenu'](_0x292185){const _0xec5b0c=_0x1bf676;if(!_0x292185)return;let _0x3eb4ca=_0x292185[_0xec5b0c(0x34a)]();this[_0xec5b0c(0x1e3)][_0xec5b0c(0x2cb)](_0x3eb4ca)&&!this[_0xec5b0c(0x600)][_0xec5b0c(0x2cb)](_0x3eb4ca)&&(this[_0xec5b0c(0x304)](_0x3eb4ca),this['_initializedShapePopupMenu'][_0xec5b0c(0x444)](_0x3eb4ca));}[_0x1bf676(0x61b)](){const _0x44a916=_0x1bf676;this[_0x44a916(0x2b2)]['forEach'](_0x3bd13e=>_0x3bd13e['dispose']()),this[_0x44a916(0x2b2)][_0x44a916(0x2cd)]=0x0;}[_0x1bf676(0x304)](_0x5aed1b){const _0x206a05=_0x1bf676;var _0x215876;let _0x372005=(_0x215876=this['_renderManagerService'][_0x206a05(0x4bf)](_0x5aed1b))==null?void 0x0:_0x215876[_0x206a05(0x5c6)],_0x430f83=_0x372005==null?void 0x0:_0x372005[_0x206a05(0x564)]();!_0x372005||!_0x430f83||(this[_0x206a05(0x38d)](_0x430f83[_0x206a05(0x58d)][_0x206a05(0x4e6)](()=>{const _0x418285=_0x206a05;let _0x3ba0d2=_0x430f83[_0x418285(0x477)]();if(this['_clearPopups'](),this[_0x418285(0x1e9)]||_0x3ba0d2[_0x418285(0x2f5)]>0x1)return;let _0xfcfd23=_0x3ba0d2[_0x418285(0x562)]()[_0x418285(0x47e)]()[_0x418285(0x2bb)];if(!_0xfcfd23)return;let _0x3790fc=this[_0x418285(0x673)][_0x418285(0x312)](_0xfcfd23[_0x418285(0x2e0)]);if(!_0x3790fc||_0x3790fc[_0x418285(0x24b)]!==t[_0x418285(0x45e)][_0x418285(0x2f9)])return;let {unitId:_0x2e7b7e,subUnitId:_0x598e6d,drawingId:_0x2e1a71,drawingType:_0x30fc16}=_0x3790fc,_0x4364e8=this[_0x418285(0x616)](_0x2e7b7e,_0x598e6d,_0x2e1a71);if(!_0x4364e8)return;this[_0x418285(0x38f)]['setContextValue'](t['FOCUSING_COMMON_DRAWINGS'],!0x0);let _0x238d44=this[_0x418285(0x3ad)]['attachPopupToObject'](_0xfcfd23,{'componentKey':ee,'direction':_0x418285(0x44c),'offset':[0x0,0x8],'extraProps':{'unitId':_0x2e7b7e,'subUnitId':_0x598e6d,'drawingId':_0x2e1a71,'drawingType':_0x30fc16,'shapeType':_0x4364e8[_0x418285(0x23d)],'shapeData':_0x4364e8[_0x418285(0x363)]}});this[_0x418285(0x2b2)]['push'](this[_0x418285(0x38d)](_0x238d44)),this['_drawingManagerService'][_0x418285(0x62f)]()[_0x418285(0x24a)](_0x2e9ebe=>_0x2e9ebe[_0x418285(0x3c1)]===_0x2e7b7e&&_0x2e9ebe[_0x418285(0x5d0)]===_0x598e6d&&_0x2e9ebe[_0x418285(0x45c)]===_0x2e1a71)||this[_0x418285(0x673)]['focusDrawing']([{'unitId':_0x2e7b7e,'subUnitId':_0x598e6d,'drawingId':_0x2e1a71}]);})),this[_0x206a05(0x38d)](_0x430f83[_0x206a05(0x5bf)][_0x206a05(0x4e6)](()=>{const _0x3cda60=_0x206a05;this[_0x3cda60(0x61b)](),this[_0x3cda60(0x38f)][_0x3cda60(0x668)](t[_0x3cda60(0x591)],!0x1),this[_0x3cda60(0x673)][_0x3cda60(0x652)](null);})),this[_0x206a05(0x38d)](_0x430f83[_0x206a05(0x4d2)]['subscribe'](()=>{const _0x4311fb=_0x206a05;this[_0x4311fb(0x61b)]();})),this['disposeWithMe'](_0x430f83[_0x206a05(0x51b)][_0x206a05(0x4e6)](()=>{const _0x278d85=_0x206a05;this[_0x278d85(0x61b)]();})));}[_0x1bf676(0x442)](){const _0x4c3d8d=_0x1bf676;this[_0x4c3d8d(0x38d)](this[_0x4c3d8d(0x604)]['onCommandExecuted'](_0x1bf584=>{const _0x376715=_0x4c3d8d;if(_0x1bf584['id']===N['id']){let {unitId:_0x413ece,subUnitId:_0x2ad7a3,drawingId:_0x2a1af5}=_0x1bf584[_0x376715(0x20d)];this['_shapeEditPanelVersion']+=0x1,this[_0x376715(0x322)]=this[_0x376715(0x616)](_0x413ece,_0x2ad7a3,_0x2a1af5),this[_0x376715(0x61b)](),this[_0x376715(0x4b1)]();}if(_0x1bf584['id']===M['id']&&(this[_0x376715(0x322)]=null,this['_closeShapeEditPanel']()),_0x1bf584['id']===e[_0x376715(0x276)]['id']){let {unitId:_0x43b56a,subUnitId:_0x2780c1,shapeId:_0x59f1be}=_0x1bf584['params'];if(this['_activeShapeInfo']&&this[_0x376715(0x322)][_0x376715(0x4b9)]===_0x59f1be){let _0x367093=this[_0x376715(0x616)](_0x43b56a,_0x2780c1,_0x59f1be);_0x367093&&(this[_0x376715(0x669)]+=0x1,_0x367093[_0x376715(0x5fb)]=this[_0x376715(0x669)],this[_0x376715(0x322)]=_0x367093,this[_0x376715(0x1e9)]&&this[_0x376715(0x4b1)]());}}})),this['disposeWithMe'](this[_0x4c3d8d(0x673)][_0x4c3d8d(0x4c8)][_0x4c3d8d(0x4e6)](_0x320694=>{const _0x238d51=_0x4c3d8d;if(this[_0x238d51(0x1e9)]===!0x1)return;if(_0x320694[_0x238d51(0x2cd)]===0x0){this[_0x238d51(0x322)]=null,this['_closeShapeEditPanel']();return;}if(_0x320694[_0x238d51(0x2cd)]===0x1&&_0x320694[0x0]['drawingType']===t[_0x238d51(0x45e)]['DRAWING_SHAPE']&&(this[_0x238d51(0x669)]+=0x1,this[_0x238d51(0x322)]=this[_0x238d51(0x616)](_0x320694[0x0][_0x238d51(0x3c1)],_0x320694[0x0][_0x238d51(0x5d0)],_0x320694[0x0][_0x238d51(0x45c)]),this[_0x238d51(0x322)])){this[_0x238d51(0x4b1)]();return;}let _0x3068dc=_0x320694['filter'](_0x24d099=>_0x24d099[_0x238d51(0x24b)]===t[_0x238d51(0x45e)][_0x238d51(0x2f9)]);if(_0x320694[_0x238d51(0x2cd)]>0x1&&_0x3068dc[_0x238d51(0x2cd)]===_0x320694[_0x238d51(0x2cd)]){if(this['_shapeEditPanelVersion']+=0x1,this['_activeShapeInfo']=this[_0x238d51(0x616)](_0x320694[0x0][_0x238d51(0x3c1)],_0x320694[0x0][_0x238d51(0x5d0)],_0x320694[0x0][_0x238d51(0x45c)]),this[_0x238d51(0x322)]){this[_0x238d51(0x4b1)]();return;}}else{if(this['_shapeEditPanelVersion']+=0x1,this[_0x238d51(0x322)]=this[_0x238d51(0x616)](_0x320694[0x0]['unitId'],_0x320694[0x0]['subUnitId'],_0x320694[0x0]['drawingId']),this[_0x238d51(0x322)]){this[_0x238d51(0x322)]['disableShapeOption']=!0x0,this[_0x238d51(0x4b1)]();return;}}this[_0x238d51(0x60d)]();}));}['_openShapeEditPanel'](){const _0x123703=_0x1bf676;this[_0x123703(0x322)]&&(this[_0x123703(0x279)]=this[_0x123703(0x569)]['open']({'id':P,'header':{'title':this[_0x123703(0x55b)]['t']('sheets-shape-ui.formatShape')},'width':0x184,'children':{'label':P,...this[_0x123703(0x322)]},'onClose':()=>{const _0x4df180=_0x123703;this[_0x4df180(0x673)][_0x4df180(0x652)](null),this[_0x4df180(0x38f)]['setContextValue'](t['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x4df180(0x279)]=null;}}),this[_0x123703(0x1e9)]=!0x0);}[_0x1bf676(0x60d)](){const _0x254c1b=_0x1bf676;this[_0x254c1b(0x1e9)]=!0x1,this[_0x254c1b(0x569)][_0x254c1b(0x597)](P),this['_sidebarDisposable']=null,this['_contextService']['setContextValue'](t[_0x254c1b(0x591)],!0x1),this['_drawingManagerService'][_0x254c1b(0x652)](null);}};U=R([L(0x0,t['IUniverInstanceService']),L(0x1,(0x0,t['Inject'])(l[_0x1bf676(0x5a2)])),L(0x2,l['IMenuManagerService']),L(0x3,(0x0,t[_0x1bf676(0x589)])(e['SheetsShapeService'])),L(0x4,(0x0,t[_0x1bf676(0x589)])(t[_0x1bf676(0x67e)])),L(0x5,t[_0x1bf676(0x63c)]),L(0x6,a[_0x1bf676(0x5a6)]),L(0x7,(0x0,t[_0x1bf676(0x589)])(c[_0x1bf676(0x1e6)])),L(0x8,t[_0x1bf676(0x553)]),L(0x9,o[_0x1bf676(0x4b4)]),L(0xa,(0x0,t[_0x1bf676(0x589)])(C))],U);var xe=_0x1bf676(0x60f),Se=_0x1bf676(0x60b);const Ce={};let W=class extends t[_0x1bf676(0x5b5)]{constructor(_0x17718e,_0x3c1412,_0x6d22b0,_0x2a0626,_0x236b88,_0x424cd4){const _0x48c0da=_0x1bf676;super(),this[_0x48c0da(0x604)]=_0x17718e,this[_0x48c0da(0x1e3)]=_0x3c1412,this[_0x48c0da(0x673)]=_0x6d22b0,this[_0x48c0da(0x2e9)]=_0x2a0626,this[_0x48c0da(0x4ea)]=_0x236b88,this[_0x48c0da(0x592)]=_0x424cd4,this[_0x48c0da(0x5e0)]();}[_0x1bf676(0x5e0)](){const _0x3d9229=_0x1bf676;this['_drawingAddListener'](),this[_0x3d9229(0x226)](),this[_0x3d9229(0x62a)]();}[_0x1bf676(0x408)](){const _0x36f77d=_0x1bf676;this['disposeWithMe'](this[_0x36f77d(0x673)][_0x36f77d(0x649)][_0x36f77d(0x4e6)](_0x1a3e4a=>{this['_insertShapes'](_0x1a3e4a);}));}[_0x1bf676(0x226)](){const _0x536739=_0x1bf676;this[_0x536739(0x38d)](this[_0x536739(0x604)][_0x536739(0x648)](_0x45f697=>{const _0x42e87b=_0x536739;if(_0x45f697['id']===e[_0x42e87b(0x32a)]['id']){var _0x967892;let {unitId:_0x2a69f8,subUnitId:_0x4ba855,shapeId:_0x2296c4}=_0x45f697[_0x42e87b(0x20d)],_0x31f360=this['_getSceneAndTransformerByDrawingSearch'](_0x2a69f8);if(_0x31f360==null)return;let {scene:_0x3e231f}=_0x31f360,_0x34df8c=(0x0,a['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x2a69f8,'subUnitId':_0x4ba855,'drawingId':_0x2296c4}),_0x92db8c=_0x3e231f['getObjectIncludeInGroup'](_0x34df8c);if(!((_0x967892=this[_0x42e87b(0x1e3)][_0x42e87b(0x4bf)](_0x2a69f8))!=null&&_0x967892[_0x42e87b(0x506)](c[_0x42e87b(0x67c)])[_0x42e87b(0x41d)](_0x4ba855)))return!0x1;if(_0x92db8c)return;this[_0x42e87b(0x4cf)]([{'unitId':_0x2a69f8,'subUnitId':_0x4ba855,'drawingId':_0x2296c4}]);}}));}['_shapeUpdateListener'](){const _0x879a23=_0x1bf676;this['disposeWithMe'](this['_drawingManagerService'][_0x879a23(0x24c)]['subscribe'](_0x900c4f=>{_0x900c4f['forEach'](_0xd2ac7b=>{const _0x4b9670=_0x33a1;let {unitId:_0xcdec65,subUnitId:_0x54d113,drawingId:_0x19a2a7}=_0xd2ac7b,_0x23db4b=this[_0x4b9670(0x673)][_0x4b9670(0x300)](_0xd2ac7b);if(_0x23db4b==null)return;let {transform:_0x10bcfe,drawingType:_0x3a5fd3,srcRect:_0x1dd5df,prstGeom:_0x48408c}=_0x23db4b;if(_0x3a5fd3!==t['DrawingTypeEnum'][_0x4b9670(0x2f9)])return;let _0x37c2c0=this[_0x4b9670(0x4aa)](_0xcdec65);if(_0x37c2c0==null)return;let {scene:_0x4b2b6c,transformer:_0x21ce64}=_0x37c2c0;if(_0x10bcfe==null)return!0x0;let _0x458cdc=(0x0,a[_0x4b9670(0x205)])({'unitId':_0xcdec65,'subUnitId':_0x54d113,'drawingId':_0x19a2a7}),_0x330c01=_0x4b2b6c[_0x4b9670(0x5d3)](_0x458cdc);if(_0x330c01==null)return!0x0;_0x330c01[_0x4b9670(0x4e9)](_0x1dd5df),_0x330c01['setPrstGeom'](_0x48408c);});}));}['updateShapeFillImage'](_0x5ba64d,_0x5ad9a9){const _0x4123ac=_0x1bf676;let {unitId:_0x4af8bd,subUnitId:_0x51fceb,drawingId:_0x516dad}=_0x5ba64d,_0x12c2f2=this[_0x4123ac(0x4aa)](_0x4af8bd);if(_0x12c2f2==null)return;let {scene:_0x34ef24}=_0x12c2f2,_0x52bbfc=(0x0,a[_0x4123ac(0x205)])({'unitId':_0x4af8bd,'subUnitId':_0x51fceb,'drawingId':_0x516dad}),_0x18cd91=_0x34ef24[_0x4123ac(0x5d3)](_0x52bbfc);_0x18cd91!=null&&_0x18cd91[_0x4123ac(0x282)](_0x5ad9a9);}[_0x1bf676(0x4cf)](_0x46f407){const _0x2348a7=_0x1bf676;_0x46f407[_0x2348a7(0x5ae)](async _0x2085c8=>{const _0x131da9=_0x2348a7;var _0x253871;let {unitId:_0x1b6fa7,subUnitId:_0x3bfc75}=_0x2085c8,_0x28d7fa=this['_getSceneAndTransformerByDrawingSearch'](_0x1b6fa7),_0x5ecb7a=(_0x253871=(0x0,d[_0x131da9(0x348)])(this[_0x131da9(0x2e9)],_0x1b6fa7))==null?void 0x0:_0x253871[_0x131da9(0x5d0)];if(_0x28d7fa==null||_0x5ecb7a!==_0x3bfc75)return;let _0x2c02aa=this[_0x131da9(0x673)]['getDrawingByParam'](_0x2085c8);if(_0x2c02aa!=null&&_0x2c02aa[_0x131da9(0x24b)]===t[_0x131da9(0x45e)]['DRAWING_SHAPE']){if((0x0,u['isConnectorShape'])((_0x2c02aa[_0x131da9(0x66b)]||{})[_0x131da9(0x23d)])){let _0x428aec=_0x2c02aa[_0x131da9(0x577)];_0x428aec&&(_0x2c02aa[_0x131da9(0x577)]={..._0x428aec,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this['_drawingManagerService'][_0x131da9(0x51f)]([_0x2c02aa]),this[_0x131da9(0x592)][_0x131da9(0x354)](_0x2c02aa,_0x28d7fa[_0x131da9(0x5c6)]);}});}[_0x1bf676(0x4aa)](_0xe28a82){const _0x4e4741=_0x1bf676;if(_0xe28a82==null)return;let _0x574a30=this[_0x4e4741(0x1e3)]['getRenderById'](_0xe28a82),_0x56ce26=_0x574a30==null?void 0x0:_0x574a30['scene'];return _0x56ce26==null?null:{'scene':_0x56ce26,'transformer':_0x56ce26[_0x4e4741(0x564)]()};}};W=R([L(0x0,t[_0x1bf676(0x63c)]),L(0x1,o[_0x1bf676(0x4b4)]),L(0x2,a[_0x1bf676(0x5a6)]),L(0x3,t['IUniverInstanceService']),L(0x4,(0x0,t[_0x1bf676(0x589)])(d[_0x1bf676(0x316)])),L(0x5,(0x0,t[_0x1bf676(0x589)])(z))],W);function we(){const _0x1e7970=_0x1bf676;let _0x447e01=(0x0,l['useDependency'])(a[_0x1e7970(0x5a6)]),[_0x285e89,_0x1c29f1]=(0x0,m[_0x1e7970(0x36c)])(_0x447e01['getFocusDrawings']());return(0x0,m[_0x1e7970(0x4b7)])(()=>{const _0x4adc12=_0x1e7970;let _0x4ccb29=_0x447e01[_0x4adc12(0x4c8)][_0x4adc12(0x4e6)](_0x2fe9b6=>{_0x1c29f1(_0x2fe9b6);});return()=>{_0x4ccb29['unsubscribe']();};},[]),_0x285e89[_0x1e7970(0x2cd)]===0x0?null:(0x0,h['jsx'])('div',{'children':(0x0,h[_0x1e7970(0x406)])(_0x1e7970(0x36b),{'className':'univer-box-border\x20univer-px-4\x20univer-text-sm','children':[(0x0,h[_0x1e7970(0x3fa)])(d['DrawingCommonPanel'],{'drawings':_0x285e89,'hasCropper':!0x1}),(0x0,h[_0x1e7970(0x3fa)])(g[_0x1e7970(0x42b)],{'drawings':_0x285e89})]})});}function Te(_0x28f493){const _0x11343a=_0x1bf676;let {unitId:_0x54cec7,subUnitId:_0x115e26,shapeId:_0x5143fc}=_0x28f493,_0x5ac77c=(0x0,l[_0x11343a(0x214)])(t[_0x11343a(0x63c)]),_0x31e398=(0x0,l[_0x11343a(0x214)])(W);return(0x0,h[_0x11343a(0x3fa)])(v[_0x11343a(0x451)],{..._0x28f493,'positionEditor':(0x0,h['jsx'])(we,{}),'onUpdateShapeData':(_0x3647f7,_0x52f820)=>{F(_0x5ac77c,_0x54cec7,_0x115e26,_0x5143fc,_0x3647f7,_0x52f820);},'onUpdateLineShapeData':(_0x15aaf9,_0x21247d)=>{ne(_0x5ac77c,_0x54cec7,_0x115e26,_0x5143fc,_0x15aaf9,_0x21247d);},'onUpdateShapeFillImage':_0x9c4dbd=>{const _0x4e1514=_0x11343a;_0x31e398[_0x4e1514(0x207)]({'unitId':_0x54cec7,'subUnitId':_0x115e26,'drawingId':_0x5143fc},_0x9c4dbd);}});}function Ee(_0x5efdf9){const _0x56af7b=_0x1bf676;let _0x56c9ac=_0x5efdf9[_0x56af7b(0x517)];return _0x56c9ac&&_0x56af7b(0x478)in _0x56c9ac&&_0x56c9ac[_0x56af7b(0x478)]?_0x56c9ac[_0x56af7b(0x478)]:null;}function De(_0x433add){const _0x1e0f6e=_0x1bf676;var _0x514b2d,_0x22a893,_0x1c9592,_0x5341ac;let _0x4902d6=(_0x514b2d=Ee(_0x433add))==null?void 0x0:_0x514b2d[_0x1e0f6e(0x631)],_0x15b120=(_0x22a893=_0x4902d6==null||(_0x1c9592=_0x4902d6[_0x1e0f6e(0x618)])==null||(_0x1c9592=_0x1c9592[_0x1e0f6e(0x416)])==null||(_0x1c9592=_0x1c9592[0x0])==null?void 0x0:_0x1c9592['ts'])==null?{}:_0x22a893;return{..._0x4902d6==null||(_0x5341ac=_0x4902d6[_0x1e0f6e(0x37e)])==null?void 0x0:_0x5341ac[_0x1e0f6e(0x5b6)],..._0x15b120};}function Oe(_0x12d3ba){const _0x9a6f8c=_0x1bf676;let _0x46b628=_0x12d3ba[_0x9a6f8c(0x271)]['extraProps'];return _0x46b628?(0x0,h[_0x9a6f8c(0x3fa)])(ke,{..._0x46b628}):null;}function ke(_0x575651){const _0x25256d=_0x1bf676;var _0x551500,_0x38caa1;let _0x32d023=(0x0,l[_0x25256d(0x214)])(t['ICommandService']),_0xcadf29=(0x0,l[_0x25256d(0x214)])(t[_0x25256d(0x67e)]),_0x1d6d56=(0x0,l[_0x25256d(0x214)])(e[_0x25256d(0x35a)]),_0x1f5ed3=(0x0,l['useDependency'])(l['IFontService']),{unitId:_0x4f4b60,subUnitId:_0x15908f,drawingId:_0x260150,drawingType:_0x1b2bf3,shapeType:_0x479b88}=_0x575651,[_0x44d59d,_0x40411f]=(0x0,m[_0x25256d(0x36c)])(_0x575651[_0x25256d(0x363)]),[_0x5c444a,_0x54234f]=(0x0,m[_0x25256d(0x36c)])(()=>_0x1f5ed3['getFonts']()),_0xbe597e=(0x0,m[_0x25256d(0x545)])(()=>De(_0x44d59d),[_0x44d59d]),_0x2d6756=(0x0,m['useMemo'])(()=>Ee(_0x44d59d),[_0x44d59d]);(0x0,m[_0x25256d(0x4b7)])(()=>{const _0x4c0d19=_0x25256d;let _0x1eeaa2=_0x32d023[_0x4c0d19(0x648)](_0x3650d4=>{const _0x5a5f3f=_0x4c0d19;if(_0x3650d4['id']!==e['UpdateSheetsShapeDataMutation']['id'])return;let _0x2e8232=_0x1d6d56[_0x5a5f3f(0x2ef)](_0x4f4b60,_0x15908f,_0x260150);_0x2e8232&&_0x40411f(_0x2e8232);});return()=>_0x1eeaa2[_0x4c0d19(0x53f)]();},[_0x32d023,_0x260150,_0x1d6d56,_0x15908f,_0x4f4b60]),(0x0,m[_0x25256d(0x4b7)])(()=>{const _0x4fbf15=_0x25256d;let _0x37c131=_0x1f5ed3[_0x4fbf15(0x595)]['subscribe'](_0x16e8b7=>{_0x54234f(_0x16e8b7);});return()=>_0x37c131['unsubscribe']();},[_0x1f5ed3]);let _0x5184b6=_0x3f07b9=>{_0x40411f(_0xb119e2=>({..._0xb119e2,..._0x3f07b9}));},_0x3ff5e7=_0x13147e=>{const _0x3ae4ee=_0x25256d;let _0x37546a=(0x0,v[_0x3ae4ee(0x4a7)])(_0x44d59d,_0x13147e);F(_0x32d023,_0x4f4b60,_0x15908f,_0x260150,{'oldShapeData':{'shapeText':_0x44d59d['shapeText']}},_0x37546a),_0x5184b6(_0x37546a);},_0x5be13b=_0x5c444a[_0x25256d(0x4fc)](_0x43d00d=>({'label':_0xcadf29['t'](_0x43d00d[_0x25256d(0x25f)]),'value':_0x43d00d['value']}));return(0x0,h[_0x25256d(0x3fa)])(v[_0x25256d(0x21d)],{'shapeData':_0x44d59d,'shapeType':_0x479b88,'textStyle':{'cl':{'rgb':_0x25256d(0x35d)},..._0xbe597e},'textModel':_0x2d6756?{'ha':(_0x551500=_0x2d6756['ha'])==null?t[_0x25256d(0x259)]['LEFT']:_0x551500,'va':(_0x38caa1=_0x2d6756['va'])==null?t['VerticalAlign']['TOP']:_0x38caa1}:null,'fontOptions':_0x5be13b,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'onUpdateShapeData':(_0x3b6b33,_0x4686f6)=>{F(_0x32d023,_0x4f4b60,_0x15908f,_0x260150,_0x3b6b33,_0x4686f6),_0x4686f6&&_0x5184b6(_0x4686f6);},'onUpdateText':_0x3ff5e7,'onOpenPanel':()=>{const _0x538d4c=_0x25256d;_0x32d023[_0x538d4c(0x2e7)](N['id'],{'unitId':_0x4f4b60,'subUnitId':_0x15908f,'drawingId':_0x260150});},'onDelete':()=>{const _0x2abb64=_0x25256d;_0x32d023[_0x2abb64(0x2e7)](r[_0x2abb64(0x30e)]['id'],{'unitId':_0x4f4b60,'drawings':[{'unitId':_0x4f4b60,'subUnitId':_0x15908f,'drawingId':_0x260150,'drawingType':_0x1b2bf3}]});}});}const Ae=(0x0,m[_0x1bf676(0x284)])(()=>{const _0x55ef5e=_0x1bf676;let _0x266cc8=(0x0,l[_0x55ef5e(0x214)])(C),_0x37d9ea=(0x0,l[_0x55ef5e(0x214)])(e[_0x55ef5e(0x35a)]),_0x21207b=(0x0,l[_0x55ef5e(0x214)])(a['IDrawingManagerService']),_0x5e40a6=(0x0,l[_0x55ef5e(0x214)])(t[_0x55ef5e(0x63c)]);return(0x0,h['jsx'])(v[_0x55ef5e(0x248)],{'adapter':(0x0,m[_0x55ef5e(0x545)])(()=>({'getShapeModel':(_0x128da9,_0x4147bd,_0xb8fb41)=>_0x37d9ea[_0x55ef5e(0x655)](_0x128da9,_0x4147bd,_0xb8fb41),'getDrawingTransform':(_0x105205,_0x1f7784,_0x1cbf98)=>{const _0x5af2fb=_0x55ef5e;let _0x35d521=_0x21207b[_0x5af2fb(0x300)]({'unitId':_0x105205,'subUnitId':_0x1f7784,'drawingId':_0x1cbf98});return _0x35d521==null?void 0x0:_0x35d521['transform'];},'updateShapeText':({unitId:_0x2e4967,subUnitId:_0x46287d,shapeId:_0x410f27,shapeText:_0x5462ac,oldShapeText:_0x39f529})=>{const _0x533812=_0x55ef5e;_0x5e40a6[_0x533812(0x2e7)](T['id'],{'unitId':_0x2e4967,'subUnitId':_0x46287d,'shapeId':_0x410f27,'shapeData':{'shapeText':_0x5462ac},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x39f529}}});}}),[_0x5e40a6,_0x21207b,_0x37d9ea]),'editingService':_0x266cc8,'editorUnitId':te,'positionOptions':(0x0,m['useMemo'])(()=>({'viewportKeys':{'main':o[_0x55ef5e(0x61e)][_0x55ef5e(0x415)],'leftTop':o[_0x55ef5e(0x61e)]['VIEW_MAIN_LEFT_TOP'],'top':o['SHEET_VIEWPORT_KEY'][_0x55ef5e(0x665)],'left':o[_0x55ef5e(0x61e)][_0x55ef5e(0x2d0)]},'getSkeleton':(_0x31b760,_0x101386)=>{const _0x4b945d=_0x55ef5e;var _0x44d1f0,_0x320080;return(_0x44d1f0=(_0x320080=_0x31b760[_0x4b945d(0x506)](c['SheetSkeletonManagerService'])[_0x4b945d(0x49a)](_0x101386[_0x4b945d(0x5d0)]))==null?void 0x0:_0x320080[_0x4b945d(0x603)])==null?null:_0x44d1f0;}}),[]),'verticalAlignCommandId':A['id']});});let G=class extends t[_0x1bf676(0x5b5)]{constructor(_0x1c060a,_0x5e2161){const _0x39a9ba=_0x1bf676;super(),this[_0x39a9ba(0x4da)]=_0x1c060a,this[_0x39a9ba(0x534)]=_0x5e2161,this[_0x39a9ba(0x268)](),this[_0x39a9ba(0x64c)]();}['_registerIcons'](){const _0x2e3da7=_0x1bf676;this['disposeWithMe'](this['_iconManager'][_0x2e3da7(0x2c2)]({'ShapeAccentBorderCallout1Icon':_[_0x2e3da7(0x65e)],'ShapeAccentBorderCallout2Icon':_[_0x2e3da7(0x5a8)],'ShapeAccentBorderCallout3Icon':_['ShapeAccentBorderCallout3Icon'],'ShapeAccentCallout1Icon':_['ShapeAccentCallout1Icon'],'ShapeAccentCallout2Icon':_[_0x2e3da7(0x28b)],'ShapeAccentCallout3Icon':_[_0x2e3da7(0x64e)],'ShapeActionButtonBackPreviousIcon':_['ShapeActionButtonBackPreviousIcon'],'ShapeActionButtonBeginningIcon':_[_0x2e3da7(0x66f)],'ShapeActionButtonBlankIcon':_[_0x2e3da7(0x2f2)],'ShapeActionButtonDocumentIcon':_[_0x2e3da7(0x41e)],'ShapeActionButtonEndIcon':_[_0x2e3da7(0x509)],'ShapeActionButtonForwardNextIcon':_[_0x2e3da7(0x581)],'ShapeActionButtonHelpIcon':_[_0x2e3da7(0x56b)],'ShapeActionButtonHomeIcon':_[_0x2e3da7(0x3dd)],'ShapeActionButtonInformationIcon':_['ShapeActionButtonInformationIcon'],'ShapeActionButtonMovieIcon':_['ShapeActionButtonMovieIcon'],'ShapeActionButtonReturnIcon':_[_0x2e3da7(0x430)],'ShapeActionButtonSoundIcon':_['ShapeActionButtonSoundIcon'],'ShapeArcIcon':_['ShapeArcIcon'],'ShapeBentArrowIcon':_[_0x2e3da7(0x5f2)],'ShapeBentConnector3Arrow1Icon':_[_0x2e3da7(0x30b)],'ShapeBentConnector3Arrow2Icon':_[_0x2e3da7(0x48d)],'ShapeBentConnector3Icon':_[_0x2e3da7(0x4d8)],'ShapeBentUpArrowIcon':_[_0x2e3da7(0x2ad)],'ShapeBevelIcon':_['ShapeBevelIcon'],'ShapeBlockArcIcon':_[_0x2e3da7(0x635)],'ShapeBorderCallout1Icon':_[_0x2e3da7(0x264)],'ShapeBorderCallout2Icon':_['ShapeBorderCallout2Icon'],'ShapeBorderCallout3Icon':_[_0x2e3da7(0x5a7)],'ShapeBracePairIcon':_[_0x2e3da7(0x212)],'ShapeBracketPairIcon':_[_0x2e3da7(0x299)],'ShapeCallout1Icon':_[_0x2e3da7(0x1e8)],'ShapeCallout2Icon':_['ShapeCallout2Icon'],'ShapeCallout3Icon':_['ShapeCallout3Icon'],'ShapeCanIcon':_['ShapeCanIcon'],'ShapeChartPlusIcon':_[_0x2e3da7(0x35c)],'ShapeChartStarIcon':_[_0x2e3da7(0x638)],'ShapeChartXIcon':_[_0x2e3da7(0x5c3)],'ShapeChevronIcon':_[_0x2e3da7(0x4d0)],'ShapeChordIcon':_[_0x2e3da7(0x24d)],'ShapeCircularArrowIcon':_['ShapeCircularArrowIcon'],'ShapeCloudCalloutIcon':_[_0x2e3da7(0x458)],'ShapeCloudIcon':_[_0x2e3da7(0x609)],'ShapeCornerIcon':_[_0x2e3da7(0x30d)],'ShapeCornerTabsIcon':_[_0x2e3da7(0x4f8)],'ShapeCubeIcon':_[_0x2e3da7(0x2fc)],'ShapeCurvedConnector3Arrow1Icon':_['ShapeCurvedConnector3Arrow1Icon'],'ShapeCurvedConnector3Arrow2Icon':_['ShapeCurvedConnector3Arrow2Icon'],'ShapeCurvedConnector3Icon':_['ShapeCurvedConnector3Icon'],'ShapeCurvedDownArrowIcon':_[_0x2e3da7(0x4e8)],'ShapeCurvedLeftArrowIcon':_['ShapeCurvedLeftArrowIcon'],'ShapeCurvedRightArrowIcon':_['ShapeCurvedRightArrowIcon'],'ShapeCurvedUpArrowIcon':_[_0x2e3da7(0x625)],'ShapeDecagonIcon':_[_0x2e3da7(0x5cb)],'ShapeDiagStripeIcon':_[_0x2e3da7(0x588)],'ShapeDiamondIcon':_[_0x2e3da7(0x2c8)],'ShapeDodecagonIcon':_[_0x2e3da7(0x4b5)],'ShapeDonutIcon':_[_0x2e3da7(0x3de)],'ShapeDoubleWaveIcon':_[_0x2e3da7(0x475)],'ShapeDownArrowCalloutIcon':_['ShapeDownArrowCalloutIcon'],'ShapeDownArrowIcon':_[_0x2e3da7(0x544)],'ShapeEllipseIcon':_[_0x2e3da7(0x382)],'ShapeEllipseRibbon2Icon':_[_0x2e3da7(0x32f)],'ShapeEllipseRibbonIcon':_[_0x2e3da7(0x39e)],'ShapeFlowChartAlternateProcessIcon':_[_0x2e3da7(0x2dc)],'ShapeFlowChartCollateIcon':_[_0x2e3da7(0x22e)],'ShapeFlowChartConnectorIcon':_['ShapeFlowChartConnectorIcon'],'ShapeFlowChartDecisionIcon':_[_0x2e3da7(0x246)],'ShapeFlowChartDelayIcon':_['ShapeFlowChartDelayIcon'],'ShapeFlowChartDisplayIcon':_[_0x2e3da7(0x4d6)],'ShapeFlowChartDocumentIcon':_[_0x2e3da7(0x2a0)],'ShapeFlowChartExtractIcon':_[_0x2e3da7(0x58f)],'ShapeFlowChartInputOutputIcon':_[_0x2e3da7(0x3e9)],'ShapeFlowChartInternalStorageIcon':_[_0x2e3da7(0x46c)],'ShapeFlowChartMagneticDiskIcon':_[_0x2e3da7(0x2c6)],'ShapeFlowChartMagneticDrumIcon':_[_0x2e3da7(0x535)],'ShapeFlowChartMagneticTapeIcon':_[_0x2e3da7(0x29f)],'ShapeFlowChartManualInputIcon':_[_0x2e3da7(0x262)],'ShapeFlowChartManualOperationIcon':_['ShapeFlowChartManualOperationIcon'],'ShapeFlowChartMergeIcon':_['ShapeFlowChartMergeIcon'],'ShapeFlowChartMultidocumentIcon':_[_0x2e3da7(0x4f6)],'ShapeFlowChartOfflineStorageIcon':_[_0x2e3da7(0x40e)],'ShapeFlowChartOffpageConnectorIcon':_[_0x2e3da7(0x298)],'ShapeFlowChartOnlineStorageIcon':_[_0x2e3da7(0x28e)],'ShapeFlowChartOrIcon':_[_0x2e3da7(0x356)],'ShapeFlowChartPredefinedProcessIcon':_['ShapeFlowChartPredefinedProcessIcon'],'ShapeFlowChartPreparationIcon':_[_0x2e3da7(0x36f)],'ShapeFlowChartProcessIcon':_['ShapeFlowChartProcessIcon'],'ShapeFlowChartPunchedCardIcon':_[_0x2e3da7(0x4d4)],'ShapeFlowChartPunchedTapeIcon':_[_0x2e3da7(0x33e)],'ShapeFlowChartSortIcon':_[_0x2e3da7(0x306)],'ShapeFlowChartSummingJunctionIcon':_['ShapeFlowChartSummingJunctionIcon'],'ShapeFlowChartTerminatorIcon':_[_0x2e3da7(0x2d6)],'ShapeFolderCornerIcon':_['ShapeFolderCornerIcon'],'ShapeFrameIcon':_[_0x2e3da7(0x66a)],'ShapeFunnelIcon':_[_0x2e3da7(0x531)],'ShapeGear6Icon':_[_0x2e3da7(0x23b)],'ShapeGear9Icon':_[_0x2e3da7(0x494)],'ShapeHalfFrameIcon':_[_0x2e3da7(0x320)],'ShapeHeartIcon':_[_0x2e3da7(0x389)],'ShapeHeptagonIcon':_[_0x2e3da7(0x5bb)],'ShapeHexagonIcon':_['ShapeHexagonIcon'],'ShapeHomePlateIcon':_[_0x2e3da7(0x65a)],'ShapeHorizontalScrollIcon':_[_0x2e3da7(0x46a)],'ShapeIrregularSeal1Icon':_[_0x2e3da7(0x31b)],'ShapeIrregularSeal2Icon':_[_0x2e3da7(0x671)],'ShapeLeftArrowCalloutIcon':_[_0x2e3da7(0x4de)],'ShapeLeftArrowIcon':_[_0x2e3da7(0x200)],'ShapeLeftBraceIcon':_[_0x2e3da7(0x1ea)],'ShapeLeftBracketIcon':_['ShapeLeftBracketIcon'],'ShapeLeftCircularArrowIcon':_[_0x2e3da7(0x3a8)],'ShapeLeftRightArrowCalloutIcon':_[_0x2e3da7(0x2ee)],'ShapeLeftRightArrowIcon':_[_0x2e3da7(0x2f7)],'ShapeLeftRightCircularArrowIcon':_[_0x2e3da7(0x293)],'ShapeLeftRightRibbonIcon':_['ShapeLeftRightRibbonIcon'],'ShapeLeftRightUpArrowIcon':_['ShapeLeftRightUpArrowIcon'],'ShapeLeftUpArrowIcon':_[_0x2e3da7(0x561)],'ShapeLightningBoltIcon':_[_0x2e3da7(0x409)],'ShapeLineIcon':_['ShapeLineIcon'],'ShapeLineInvIcon':_[_0x2e3da7(0x632)],'ShapeMathDivideIcon':_[_0x2e3da7(0x650)],'ShapeMathEqualIcon':_[_0x2e3da7(0x29b)],'ShapeMathMinusIcon':_['ShapeMathMinusIcon'],'ShapeMathMultiplyIcon':_[_0x2e3da7(0x5cc)],'ShapeMathNotEqualIcon':_[_0x2e3da7(0x537)],'ShapeMathPlusIcon':_[_0x2e3da7(0x67d)],'ShapeMoonIcon':_[_0x2e3da7(0x5d4)],'ShapeNoSmokingIcon':_[_0x2e3da7(0x661)],'ShapeNonIsoscelesTrapezoidIcon':_['ShapeNonIsoscelesTrapezoidIcon'],'ShapeNotchedRightArrowIcon':_[_0x2e3da7(0x51a)],'ShapeOctagonIcon':_['ShapeOctagonIcon'],'ShapeParallelogramIcon':_[_0x2e3da7(0x3cf)],'ShapePentagonIcon':_[_0x2e3da7(0x520)],'ShapePieIcon':_[_0x2e3da7(0x4dc)],'ShapePieWedgeIcon':_[_0x2e3da7(0x67b)],'ShapePlaqueIcon':_[_0x2e3da7(0x63d)],'ShapePlaqueTabsIcon':_[_0x2e3da7(0x633)],'ShapePlusIcon':_[_0x2e3da7(0x523)],'ShapeQuadArrowCalloutIcon':_[_0x2e3da7(0x4ef)],'ShapeQuadArrowIcon':_[_0x2e3da7(0x470)],'ShapeRectIcon':_[_0x2e3da7(0x3b5)],'ShapeRectTextboxHorizontalIcon':_[_0x2e3da7(0x44f)],'ShapeRectTextboxVerticalIcon':_['ShapeRectTextboxVerticalIcon'],'ShapeRibbon2Icon':_[_0x2e3da7(0x223)],'ShapeRibbonIcon':_[_0x2e3da7(0x487)],'ShapeRightArrowCalloutIcon':_[_0x2e3da7(0x5f7)],'ShapeRightArrowIcon':_['ShapeRightArrowIcon'],'ShapeRightBraceIcon':_[_0x2e3da7(0x30c)],'ShapeRightBracketIcon':_[_0x2e3da7(0x417)],'ShapeRound1RectIcon':_['ShapeRound1RectIcon'],'ShapeRound2DiagRectIcon':_['ShapeRound2DiagRectIcon'],'ShapeRound2SameRectIcon':_[_0x2e3da7(0x44d)],'ShapeRoundRectIcon':_['ShapeRoundRectIcon'],'ShapeRtTriangleIcon':_[_0x2e3da7(0x3a1)],'ShapeSmileyFaceIcon':_[_0x2e3da7(0x26f)],'ShapeSnip1RectIcon':_[_0x2e3da7(0x2c1)],'ShapeSnip2DiagRectIcon':_[_0x2e3da7(0x1ec)],'ShapeSnip2SameRectIcon':_[_0x2e3da7(0x55c)],'ShapeSnipRoundRectIcon':_[_0x2e3da7(0x3ed)],'ShapeSquareTabsIcon':_[_0x2e3da7(0x333)],'ShapeStar10Icon':_[_0x2e3da7(0x3ae)],'ShapeStar12Icon':_['ShapeStar12Icon'],'ShapeStar16Icon':_[_0x2e3da7(0x3f1)],'ShapeStar24Icon':_[_0x2e3da7(0x245)],'ShapeStar32Icon':_['ShapeStar32Icon'],'ShapeStar4Icon':_[_0x2e3da7(0x331)],'ShapeStar5Icon':_[_0x2e3da7(0x285)],'ShapeStar6Icon':_[_0x2e3da7(0x3b1)],'ShapeStar7Icon':_[_0x2e3da7(0x67f)],'ShapeStar8Icon':_[_0x2e3da7(0x3cc)],'ShapeStraightConnector1Icon':_[_0x2e3da7(0x578)],'ShapeStraightConnector2Icon':_[_0x2e3da7(0x51c)],'ShapeStripedRightArrowIcon':_[_0x2e3da7(0x34d)],'ShapeSunIcon':_['ShapeSunIcon'],'ShapeSwooshArrowIcon':_[_0x2e3da7(0x384)],'ShapeTeardropIcon':_['ShapeTeardropIcon'],'ShapeTrapezoidIcon':_[_0x2e3da7(0x50d)],'ShapeTriangleIcon':_[_0x2e3da7(0x60a)],'ShapeUpArrowCalloutIcon':_[_0x2e3da7(0x623)],'ShapeUpArrowIcon':_[_0x2e3da7(0x43d)],'ShapeUpDownArrowCalloutIcon':_[_0x2e3da7(0x501)],'ShapeUpDownArrowIcon':_[_0x2e3da7(0x2c3)],'ShapeUturnArrowIcon':_[_0x2e3da7(0x482)],'ShapeVerticalScrollIcon':_[_0x2e3da7(0x32b)],'ShapeWaveIcon':_['ShapeWaveIcon'],'ShapeWedgeEllipseCalloutIcon':_[_0x2e3da7(0x4f2)],'ShapeWedgeRectCalloutIcon':_['ShapeWedgeRectCalloutIcon'],'ShapeWedgeRoundRectCalloutIcon':_['ShapeWedgeRoundRectCalloutIcon']}));}[_0x1bf676(0x64c)](){const _0x5107cd=_0x1bf676;this['disposeWithMe'](this['_componentManager'][_0x5107cd(0x2c2)](P,Te)),this[_0x5107cd(0x38d)](this['_componentManager']['register'](he,ve)),this[_0x5107cd(0x38d)](this['_componentManager']['register'](d['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'],_e)),this['disposeWithMe'](this[_0x5107cd(0x4da)][_0x5107cd(0x2c2)](ee,Oe)),this['disposeWithMe'](this[_0x5107cd(0x4da)][_0x5107cd(0x2c2)](_0x5107cd(0x248),Ae));}};G=R([L(0x0,(0x0,t[_0x1bf676(0x589)])(l[_0x1bf676(0x2b3)])),L(0x1,(0x0,t[_0x1bf676(0x589)])(l[_0x1bf676(0x558)]))],G);let K=class extends t['Disposable']{constructor(_0x17028d,_0x573fbe,_0x45b58b,_0xe111a,_0x405621){const _0x2160a4=_0x1bf676;super(),this[_0x2160a4(0x242)]=_0x17028d,this[_0x2160a4(0x673)]=_0x573fbe,this[_0x2160a4(0x1e3)]=_0x45b58b,this[_0x2160a4(0x5c9)]=_0xe111a,this[_0x2160a4(0x510)]=_0x405621,S(this,'_activeImageId',null),S(this,'_unitId',null),S(this,_0x2160a4(0x210),null),S(this,_0x2160a4(0x452),void 0x0),S(this,_0x2160a4(0x228),[]),S(this,_0x2160a4(0x620),0x0),S(this,_0x2160a4(0x647),0x0),S(this,_0x2160a4(0x3ab),0x0),S(this,_0x2160a4(0x453),0x0),S(this,_0x2160a4(0x399),!0x1),S(this,_0x2160a4(0x1f8),void 0x0),S(this,_0x2160a4(0x465),void 0x0),S(this,'_adjHandlerPointerMove',void 0x0),S(this,_0x2160a4(0x58e),void 0x0),S(this,_0x2160a4(0x1f6),!0x1),this[_0x2160a4(0x3a6)](),this[_0x2160a4(0x52a)]();}['clearAdjustControls'](){const _0x4edf12=_0x1bf676;this[_0x4edf12(0x5ee)]();}[_0x1bf676(0x3b9)](){const _0x30dc95=_0x1bf676;this['_clearControls'](),this[_0x30dc95(0x2a3)](!0x0);}[_0x1bf676(0x5e5)](_0x132917,_0x16e628,_0x27640d,_0x57406f){const _0x1535a5=_0x1bf676;let _0xb2aa55=_0x132917;if(!(_0xb2aa55===u[_0x1535a5(0x670)][_0x1535a5(0x4bc)]||_0x132917===_0x1535a5(0x527)))try{let _0x13f0f3=new u['ShapeModel'](_0xb2aa55,_0x1535a5(0x3eb)+_0x132917);return _0x57406f&&_0x13f0f3[_0x1535a5(0x307)]({'adjustValues':_0x57406f},!0x0),_0x13f0f3['updateContext']({'width':_0x16e628,'height':_0x27640d}),_0x13f0f3;}catch{return;}}[_0x1bf676(0x5cd)](_0x56c446,_0x44128e,_0x10c2ec){const _0x58ffd1=_0x1bf676;let _0x56e803={'unitId':_0x56c446,'subUnitId':_0x44128e,'drawingId':_0x10c2ec},_0x4d1116=this[_0x58ffd1(0x673)][_0x58ffd1(0x300)](_0x56e803);if(!(!_0x4d1116||_0x4d1116['drawingType']!==t[_0x58ffd1(0x45e)][_0x58ffd1(0x464)]))return _0x4d1116;}[_0x1bf676(0x3d3)](_0x2ac2c3,_0x326476,_0x311560){const _0x509f0e=_0x1bf676;let _0x58a96d=this['_renderManagerService'][_0x509f0e(0x4bf)](_0x2ac2c3);if(!_0x58a96d)return;let {scene:_0x2cce84}=_0x58a96d,_0x443332=(0x0,a[_0x509f0e(0x205)])({'unitId':_0x2ac2c3,'subUnitId':_0x326476,'drawingId':_0x311560}),_0x4cfcc8=_0x2cce84['getObject'](_0x443332);if(_0x4cfcc8 instanceof o[_0x509f0e(0x5f5)]){let _0x209bb0=_0x4cfcc8[_0x509f0e(0x274)];if(_0x209bb0)return{'prstGeom':_0x209bb0,'adjustValues':_0x4cfcc8[_0x509f0e(0x353)]};}}['_createControls'](_0x3b591f=!0x1){const _0x16a2c3=_0x1bf676;if(!this[_0x16a2c3(0x1da)]||!this[_0x16a2c3(0x210)]||!this[_0x16a2c3(0x3d6)])return;let _0x3cb317=this[_0x16a2c3(0x1e3)][_0x16a2c3(0x4bf)](this[_0x16a2c3(0x1da)]);if(!_0x3cb317||!_0x3cb317[_0x16a2c3(0x506)](c['SheetSkeletonManagerService'])[_0x16a2c3(0x5e9)]())return;let {scene:_0x1fbc9e}=_0x3cb317,_0x16cafe=this[_0x16a2c3(0x5cd)](this[_0x16a2c3(0x1da)],this[_0x16a2c3(0x210)],this['_activeImageId']);if(!_0x16cafe)return;let {transform:_0x59b8bc}=_0x16cafe;if(!_0x59b8bc)return;let {left:_0x48fced,top:_0x394082,width:_0x1c47fc,height:_0x5bc148,flipX:_0x390164,flipY:_0xdcb1d7,angle:_0x3d831e=0x0}=_0x59b8bc;if(_0x48fced===void 0x0||_0x394082===void 0x0)return;let _0x103a35=this['_getImagePrstGeom'](this[_0x16a2c3(0x1da)],this[_0x16a2c3(0x210)],this[_0x16a2c3(0x3d6)]);if(!_0x103a35)return;if(_0x3b591f){let _0xcf08e6=this[_0x16a2c3(0x5e5)](_0x103a35[_0x16a2c3(0x274)],_0x1c47fc||0x0,_0x5bc148||0x0,_0x103a35[_0x16a2c3(0x33a)]);if(!_0xcf08e6)return;this['_activeAdjustPointList']=_0xcf08e6[_0x16a2c3(0x221)]();}let _0x54473f=this[_0x16a2c3(0x452)];if(!(!_0x54473f||_0x54473f[_0x16a2c3(0x2cd)]===0x0))for(let _0x2005a9=0x0;_0x2005a9<_0x54473f[_0x16a2c3(0x2cd)];_0x2005a9++){let _0x314bb8=_0x54473f[_0x2005a9],_0x1e9167=_0x314bb8['x'],_0x4bef5e=_0x314bb8['y'];if(_0x390164&&(_0x1e9167=(_0x1c47fc||0x0)-_0x1e9167),_0xdcb1d7&&(_0x4bef5e=(_0x5bc148||0x0)-_0x4bef5e),_0x3d831e!==0x0){let _0xfe9bff=(_0x1c47fc||0x0)/0x2,_0x4d095b=(_0x5bc148||0x0)/0x2,_0x2117df=_0x3d831e*Math['PI']/0xb4,_0x458cdd=Math['cos'](_0x2117df),_0x2c0fe5=Math[_0x16a2c3(0x572)](_0x2117df),_0x4b556c=_0x1e9167-_0xfe9bff,_0x50473f=_0x4bef5e-_0x4d095b;_0x1e9167=_0xfe9bff+(_0x4b556c*_0x458cdd-_0x50473f*_0x2c0fe5),_0x4bef5e=_0x4d095b+(_0x4b556c*_0x2c0fe5+_0x50473f*_0x458cdd);}let _0xc0d3cc={'x':_0x1e9167,'y':_0x4bef5e,'adjName':_0x314bb8[_0x16a2c3(0x5f3)]};this['_addControl'](_0x1fbc9e,_0xc0d3cc,_0xc0d3cc[_0x16a2c3(0x5f3)],_0x48fced,_0x394082,this['_unitId'],this['_subUnitId']);}}[_0x1bf676(0x2ab)](_0x5621e8,_0x49e631,_0x5dfa60,_0x1b53da,_0x13d6b1,_0x30f034,_0x3a5bc9){const _0x11c938=_0x1bf676;if(!this[_0x11c938(0x3d6)])return;let _0x513b52=_0x11c938(0x1d9)+this[_0x11c938(0x3d6)]+'-'+_0x5dfa60,_0x3821ae=_0x5621e8[_0x11c938(0x5d3)](_0x513b52);if(_0x3821ae){_0x3821ae['transformByState']({'left':_0x49e631['x']+_0x1b53da-u['ShapeDefaultConfig'][_0x11c938(0x53c)],'top':_0x49e631['y']+_0x13d6b1-u[_0x11c938(0x42d)][_0x11c938(0x53c)]});return;}let _0x2ab856=new oe(_0x513b52,{'left':_0x49e631['x']+_0x1b53da-u['ShapeDefaultConfig'][_0x11c938(0x53c)],'top':_0x49e631['y']+_0x13d6b1-u[_0x11c938(0x42d)]['adjHandleSize'],'adjName':_0x5dfa60,'shapeId':this['_activeImageId'],'unitId':_0x30f034,'subUnitId':_0x3a5bc9,'width':u[_0x11c938(0x42d)][_0x11c938(0x53c)]+0x8,'height':u[_0x11c938(0x42d)][_0x11c938(0x53c)]+0x8,'zIndex':o[_0x11c938(0x40b)]+0x1,'evented':!0x0});this[_0x11c938(0x228)][_0x11c938(0x23a)](_0x2ab856),this['_attachAdjustEvent'](_0x2ab856,_0x5621e8,_0x5dfa60),_0x5621e8[_0x11c938(0x395)](_0x2ab856,o[_0x11c938(0x40b)]+0x1);}[_0x1bf676(0x5ee)](){const _0x46326c=_0x1bf676;this[_0x46326c(0x228)][_0x46326c(0x2cd)]!==0x0&&(this[_0x46326c(0x228)]['forEach'](_0x7af0f7=>_0x7af0f7[_0x46326c(0x53f)]()),this[_0x46326c(0x228)]=[]);}[_0x1bf676(0x1d6)](_0x410e7e,_0x132f08){const _0x21e42c=_0x1bf676;var _0x84f804;let _0x1596c2={'x':0x0,'y':0x0},_0x2110e0=this[_0x21e42c(0x1e3)]['getRenderById'](_0x410e7e);if(!_0x2110e0||!_0x2110e0[_0x21e42c(0x506)](c[_0x21e42c(0x67c)])[_0x21e42c(0x41d)](_0x132f08))return _0x1596c2;let _0x9baf06=_0x2110e0[_0x21e42c(0x506)](c[_0x21e42c(0x5e8)]),_0x276375=_0x9baf06==null?void 0x0:_0x9baf06[_0x21e42c(0x4e2)]();if(!_0x276375)return _0x1596c2;let _0x535965=(_0x84f804=this['_univerInstanceService']['getUnit'](_0x410e7e))==null?void 0x0:_0x84f804[_0x21e42c(0x26a)](_0x132f08);if(!_0x535965)return _0x1596c2;let _0x48f891=(0x0,c['getViewportByCell'])(_0x276375[_0x21e42c(0x637)],_0x276375['sheetViewStartColumn'],_0x2110e0[_0x21e42c(0x5c6)],_0x535965);return _0x48f891?{'x':_0x48f891[_0x21e42c(0x3fc)],'y':_0x48f891['viewportScrollY']}:_0x1596c2;}[_0x1bf676(0x303)](_0x20ecf7,_0x26d513){const _0x2ee65f=_0x1bf676;var _0x4c45e8,_0x47181c;let _0x5e5958=(_0x4c45e8=this[_0x2ee65f(0x5c9)][_0x2ee65f(0x504)](_0x20ecf7))==null?void 0x0:_0x4c45e8[_0x2ee65f(0x26a)](_0x26d513);return(_0x47181c=_0x5e5958==null?void 0x0:_0x5e5958[_0x2ee65f(0x3f6)]())==null?0x1:_0x47181c;}['_attachAdjustEvent'](_0x1b8800,_0x25501a,_0x181630){const _0x875751=_0x1bf676;this[_0x875751(0x38d)]((0x0,t[_0x875751(0x4c2)])(_0x1b8800[_0x875751(0x319)]['subscribeEvent']((_0x231f46,_0x4ba8be)=>{const _0x3ebde7=_0x875751;var _0x260f8b,_0x49b23d,_0x55f767;let {unitId:_0x22d08e,subUnitId:_0x453167,drawingId:_0x1a6e6f}=_0x1b8800[_0x3ebde7(0x206)](),_0x59d982=this[_0x3ebde7(0x5cd)](_0x22d08e,_0x453167,_0x1a6e6f);if(!(_0x59d982!=null&&_0x59d982['transform']))return;let {left:_0x194892,top:_0x2d5385,width:_0x18542a,height:_0x3e9137}=_0x59d982[_0x3ebde7(0x577)];this[_0x3ebde7(0x620)]=_0x194892||0x0,this['_baseTop']=_0x2d5385||0x0,this[_0x3ebde7(0x3ab)]=_0x18542a||0x0,this[_0x3ebde7(0x453)]=_0x3e9137||0x0;let _0x3cc45d=!!((_0x260f8b=_0x59d982[_0x3ebde7(0x577)])!=null&&_0x260f8b[_0x3ebde7(0x334)]),_0x3ee54a=!!((_0x49b23d=_0x59d982[_0x3ebde7(0x577)])!=null&&_0x49b23d[_0x3ebde7(0x4f5)]),_0x3fafd6=((_0x55f767=_0x59d982['transform'])==null?void 0x0:_0x55f767[_0x3ebde7(0x3fe)])||0x0,_0x2253c1=this[_0x3ebde7(0x3d3)](_0x22d08e,_0x453167,_0x1a6e6f);if(!_0x2253c1)return;let _0x1312b0=this[_0x3ebde7(0x5e5)](_0x2253c1['prstGeom'],this[_0x3ebde7(0x3ab)],this['_baseHeight'],_0x2253c1[_0x3ebde7(0x33a)]);if(!_0x1312b0||(this[_0x3ebde7(0x465)]=_0x1312b0,this['_activeAdjustInfo']=_0x1312b0[_0x3ebde7(0x663)](_0x181630),!this['_activeAdjustInfo']))return;this[_0x3ebde7(0x399)]=!0x0,_0x25501a[_0x3ebde7(0x45b)]();let _0x277df7=_0x2253c1[_0x3ebde7(0x274)];this[_0x3ebde7(0x39a)]=_0x25501a[_0x3ebde7(0x236)]['subscribeEvent']((_0x47ca42,_0x36cd10)=>{const _0x220269=_0x3ebde7;if(!this[_0x220269(0x399)])return;let {offsetX:_0x2faa07,offsetY:_0x587bde}=_0x47ca42,_0x19c161=this['_activeAdjustInfo'];if(!this['_activeShapeModel']||!_0x19c161)return;_0x25501a[_0x220269(0x45b)](),_0x25501a[_0x220269(0x295)](o['CURSOR_TYPE'][_0x220269(0x4ee)]);let _0x2b12e8={'left':0x0,'top':0x0,'width':this[_0x220269(0x3ab)],'height':this[_0x220269(0x453)]},_0xa0b418=this[_0x220269(0x1d6)](_0x22d08e,_0x453167),_0x20bc01=this[_0x220269(0x303)](_0x22d08e,_0x453167),_0x2a4b2b=_0x2faa07/_0x20bc01+_0xa0b418['x']-this[_0x220269(0x620)],_0x6c0a26=_0x587bde/_0x20bc01+_0xa0b418['y']-this[_0x220269(0x647)];if(_0x3fafd6!==0x0){let _0x3db96c=this[_0x220269(0x3ab)]/0x2,_0x528263=this[_0x220269(0x453)]/0x2,_0x12c13a=_0x3fafd6*Math['PI']/0xb4,_0x40821c=Math[_0x220269(0x2ec)](_0x12c13a),_0x22e8d1=Math[_0x220269(0x572)](_0x12c13a),_0x5ece38=_0x2a4b2b-_0x3db96c,_0x53a7ee=_0x6c0a26-_0x528263;_0x2a4b2b=_0x3db96c+(_0x5ece38*_0x40821c+_0x53a7ee*_0x22e8d1),_0x6c0a26=_0x528263+(-_0x5ece38*_0x22e8d1+_0x53a7ee*_0x40821c);}_0x3cc45d&&(_0x2a4b2b=this[_0x220269(0x3ab)]-_0x2a4b2b),_0x3ee54a&&(_0x6c0a26=this[_0x220269(0x453)]-_0x6c0a26);let _0x462d01=this['_activeShapeModel'][_0x220269(0x241)](_0x2b12e8,{'x':_0x2a4b2b,'y':_0x6c0a26},_0x19c161,_0x3cc45d,_0x3ee54a),_0x10ed7f=_0x19c161['gdRefX']||_0x19c161[_0x220269(0x273)]||_0x19c161[_0x220269(0x4f3)]||_0x19c161[_0x220269(0x676)];_0x10ed7f!==void 0x0&&(this[_0x220269(0x465)][_0x220269(0x37b)](_0x10ed7f,_0x462d01),this[_0x220269(0x465)][_0x220269(0x1fe)]({'width':this['_baseWidth'],'height':this[_0x220269(0x453)]}),this['_updateImageAdjValues'](_0x22d08e,_0x453167,_0x1a6e6f,_0x10ed7f,_0x462d01),this[_0x220269(0x452)]=this[_0x220269(0x465)][_0x220269(0x221)](),this['_activeAdjustInfo']=this[_0x220269(0x465)]['getAdjustInfoByName'](_0x181630),this[_0x220269(0x2a3)](),_0x36cd10[_0x220269(0x5dd)]());}),this['_adjHandlerPointerUp']=_0x25501a['onPointerUp$'][_0x3ebde7(0x59b)]((_0x28afb4,_0x536a92)=>{const _0x566adb=_0x3ebde7;if(this['_adjHandlerPointerMove'][_0x566adb(0x421)](),this[_0x566adb(0x58e)][_0x566adb(0x421)](),_0x25501a[_0x566adb(0x63b)](),this['_activeShapeModel']){let _0x42d0a0=this[_0x566adb(0x465)]['getAdjustNames'](),_0x2518e2={};for(let _0x37581d of _0x42d0a0){let _0x333058=this[_0x566adb(0x465)][_0x566adb(0x3b2)](_0x37581d);_0x333058!==void 0x0&&(_0x2518e2[_0x37581d]=_0x333058);}this['_imageShapeClipController'][_0x566adb(0x579)](_0x22d08e,_0x453167,_0x1a6e6f,_0x277df7,_0x2518e2);}this[_0x566adb(0x1f8)]=void 0x0,this[_0x566adb(0x465)]=void 0x0,this[_0x566adb(0x399)]=!0x1,_0x536a92[_0x566adb(0x5dd)](),_0x25501a[_0x566adb(0x3ca)]();}),_0x4ba8be['stopPropagation']();})));}[_0x1bf676(0x29a)](_0x4eba48,_0x11133e,_0x5cefda,_0x11a3af,_0xfc3b9e){const _0x40ddd3=_0x1bf676;let _0x12e2b4=this[_0x40ddd3(0x1e3)]['getRenderById'](_0x4eba48);if(!_0x12e2b4)return;let {scene:_0x2314b4}=_0x12e2b4,_0x2b74e5=(0x0,a[_0x40ddd3(0x205)])({'unitId':_0x4eba48,'subUnitId':_0x11133e,'drawingId':_0x5cefda}),_0x1c9adc=_0x2314b4[_0x40ddd3(0x65d)](_0x2b74e5);if(_0x1c9adc instanceof o['Image']){var _0x498a58;let _0x47ac04=(_0x498a58=_0x1c9adc[_0x40ddd3(0x353)])==null?{}:_0x498a58;_0x1c9adc['setPrstGeomAdjValues']({..._0x47ac04,[_0x11a3af]:_0xfc3b9e}),_0x1c9adc[_0x40ddd3(0x664)](!0x0);}}[_0x1bf676(0x52a)](){const _0x2310c7=_0x1bf676;let _0x420e32=this['_univerInstanceService'][_0x2310c7(0x662)](t[_0x2310c7(0x683)]['UNIVER_SHEET']);this[_0x2310c7(0x38d)](_0x420e32[_0x2310c7(0x5aa)]((0x0,i[_0x2310c7(0x4f7)])(_0x30aec3=>_0x30aec3?_0x30aec3['activeSheet$']['pipe']((0x0,i[_0x2310c7(0x4f7)])(_0x4411b1=>{const _0xb8202a=_0x2310c7;if(!_0x4411b1)return i[_0xb8202a(0x4b0)];let _0x1546c7=_0x30aec3['getUnitId'](),_0x49e452=this['_renderManagerService'][_0xb8202a(0x4bf)](_0x1546c7),_0x338287=_0x49e452==null?void 0x0:_0x49e452[_0xb8202a(0x5c6)];return _0x338287?(0x0,i['of'])(_0x338287):i['EMPTY'];})):i[_0x2310c7(0x4b0)]))[_0x2310c7(0x4e6)](_0x10c4cf=>{const _0x4dfeba=_0x2310c7;let _0x4f7cba=_0x10c4cf['getTransformerByCreate']();this[_0x4dfeba(0x38d)](_0x10c4cf[_0x4dfeba(0x236)][_0x4dfeba(0x59b)](()=>{const _0x4867a5=_0x4dfeba;this[_0x4867a5(0x1f6)]&&this['_clearControls']();})),this[_0x4dfeba(0x38d)](_0x4f7cba['changeStart$'][_0x4dfeba(0x4e6)](_0x38b3d5=>{const _0x290820=_0x4dfeba;let {objects:_0x9dc5c0}=_0x38b3d5;if(this[_0x290820(0x2a3)](),_0x9dc5c0!==null&&_0x9dc5c0[_0x290820(0x2f5)]===0x1){let _0x1d44c1=_0x9dc5c0[_0x290820(0x562)]()['next']()[_0x290820(0x2bb)];_0x1d44c1 instanceof o[_0x290820(0x5f5)]&&_0x1d44c1['prstGeom']&&(this[_0x290820(0x1f6)]=!0x0);}})),this[_0x4dfeba(0x38d)](_0x4f7cba[_0x4dfeba(0x4d2)]['subscribe'](()=>{const _0x206988=_0x4dfeba;this[_0x206988(0x1f6)]&&this[_0x206988(0x5ee)]();})),this[_0x4dfeba(0x38d)](_0x10c4cf['onPointerUp$'][_0x4dfeba(0x59b)](()=>{const _0x36eda9=_0x4dfeba;this['_isImagePointerDown']&&(this[_0x36eda9(0x1f6)]=!0x1,this[_0x36eda9(0x2a3)]());})),this[_0x4dfeba(0x38d)](_0x4f7cba[_0x4dfeba(0x586)][_0x4dfeba(0x4e6)](()=>{const _0x2a1efc=_0x4dfeba;if(this[_0x2a1efc(0x1da)]&&this['_subUnitId']&&this['_activeImageId']){let _0x1bb1ff=this[_0x2a1efc(0x3d3)](this[_0x2a1efc(0x1da)],this['_subUnitId'],this[_0x2a1efc(0x3d6)]);if(_0x1bb1ff){var _0x44bacf,_0x123e44;let _0x153ea9=this[_0x2a1efc(0x5cd)](this['_unitId'],this[_0x2a1efc(0x210)],this[_0x2a1efc(0x3d6)]),_0x2fee3a=(_0x153ea9==null||(_0x44bacf=_0x153ea9[_0x2a1efc(0x577)])==null?void 0x0:_0x44bacf[_0x2a1efc(0x5e7)])||0x0,_0x579208=(_0x153ea9==null||(_0x123e44=_0x153ea9['transform'])==null?void 0x0:_0x123e44[_0x2a1efc(0x4f4)])||0x0,_0x503984=this['_getOrCreateShapeModel'](_0x1bb1ff[_0x2a1efc(0x274)],_0x2fee3a,_0x579208,_0x1bb1ff[_0x2a1efc(0x33a)]);_0x503984&&(this[_0x2a1efc(0x452)]=_0x503984[_0x2a1efc(0x221)](),this['_clearControls'](),this[_0x2a1efc(0x2a3)](!0x0));}}}));}));}[_0x1bf676(0x3a6)](){const _0x2f3a96=_0x1bf676;this[_0x2f3a96(0x38d)](this[_0x2f3a96(0x673)][_0x2f3a96(0x4c8)][_0x2f3a96(0x4e6)](_0x551866=>{const _0x2deade=_0x2f3a96;if(_0x551866['length']===0x1){let _0x78bc15=_0x551866[0x0];if(_0x78bc15[_0x2deade(0x24b)]===t['DrawingTypeEnum'][_0x2deade(0x464)]){let {unitId:_0x5c1a0f,subUnitId:_0x54c178,drawingId:_0x12a2b2}=_0x78bc15,_0x1f12e3=this[_0x2deade(0x3d3)](_0x5c1a0f,_0x54c178,_0x12a2b2);if(_0x1f12e3){var _0x34b27c,_0x15a08c;this[_0x2deade(0x3d6)]=_0x12a2b2,this[_0x2deade(0x1da)]=_0x5c1a0f,this[_0x2deade(0x210)]=_0x54c178;let _0x1b74f4=this[_0x2deade(0x5cd)](_0x5c1a0f,_0x54c178,_0x12a2b2),_0xc4c347=(_0x1b74f4==null||(_0x34b27c=_0x1b74f4['transform'])==null?void 0x0:_0x34b27c[_0x2deade(0x5e7)])||0x0,_0x3e4b4d=(_0x1b74f4==null||(_0x15a08c=_0x1b74f4[_0x2deade(0x577)])==null?void 0x0:_0x15a08c[_0x2deade(0x4f4)])||0x0,_0x545b84=this[_0x2deade(0x5e5)](_0x1f12e3[_0x2deade(0x274)],_0xc4c347,_0x3e4b4d,_0x1f12e3[_0x2deade(0x33a)]);_0x545b84&&(this[_0x2deade(0x452)]=_0x545b84[_0x2deade(0x221)]()),this[_0x2deade(0x5ee)](),this[_0x2deade(0x2a3)](!0x0);}else this[_0x2deade(0x49c)]();}else this[_0x2deade(0x49c)]();}else this[_0x2deade(0x49c)]();})),this['disposeWithMe'](this['_drawingManagerService'][_0x2f3a96(0x24c)]['subscribe'](_0x4dd862=>{const _0x3ae57=_0x2f3a96;if(_0x4dd862[_0x3ae57(0x2cd)]===0x1){let _0x929c16=_0x4dd862[0x0],_0x48ba7a=this[_0x3ae57(0x673)]['getDrawingByParam'](_0x929c16);(_0x48ba7a==null?void 0x0:_0x48ba7a[_0x3ae57(0x24b)])===t[_0x3ae57(0x45e)][_0x3ae57(0x464)]&&this[_0x3ae57(0x3d6)]===_0x929c16[_0x3ae57(0x45c)]&&(this[_0x3ae57(0x5ee)](),this[_0x3ae57(0x2a3)](!0x0));}})),this[_0x2f3a96(0x38d)](this[_0x2f3a96(0x673)]['remove$']['subscribe'](_0x13ab2d=>{const _0x5663b5=_0x2f3a96;for(let _0x249c52 of _0x13ab2d)this[_0x5663b5(0x3d6)]===_0x249c52[_0x5663b5(0x45c)]&&this['_resetState']();}));}[_0x1bf676(0x49c)](){const _0x5acf46=_0x1bf676;this[_0x5acf46(0x3d6)]=null,this['_unitId']=null,this[_0x5acf46(0x210)]=null,this[_0x5acf46(0x452)]=void 0x0,this[_0x5acf46(0x5ee)]();}};K=R([L(0x1,a[_0x1bf676(0x5a6)]),L(0x2,(0x0,t[_0x1bf676(0x589)])(o[_0x1bf676(0x4b4)])),L(0x3,t[_0x1bf676(0x247)]),L(0x4,(0x0,t[_0x1bf676(0x589)])(H))],K);let q=class extends t[_0x1bf676(0x5b5)]{constructor(_0x1320f1,_0x47792e,_0xdb18a8,_0x47b3f7){const _0x599b27=_0x1bf676;super(),this[_0x599b27(0x5c9)]=_0x1320f1,this[_0x599b27(0x65c)]=_0x47792e,this[_0x599b27(0x493)]=_0xdb18a8,this['_sheetsShapeService']=_0x47b3f7,this[_0x599b27(0x3df)]();}['_initSheetChange'](){const _0x2b0e41=_0x1bf676;this['disposeWithMe'](this[_0x2b0e41(0x65c)][_0x2b0e41(0x443)]({'getMutations':_0x4c26ab=>{const _0x49d9e1=_0x2b0e41;if(_0x4c26ab['id']===n[_0x49d9e1(0x204)]['id']){let _0x4a7956=(0x0,n['getSheetCommandTarget'])(this[_0x49d9e1(0x5c9)],_0x4c26ab[_0x49d9e1(0x20d)]);if(!_0x4a7956)return{'redos':[],'undos':[]};let {unitId:_0x3afb69,subUnitId:_0x1d834d}=_0x4a7956,_0x455622=this[_0x49d9e1(0x493)][_0x49d9e1(0x461)](_0x3afb69,_0x1d834d),_0x38b7aa=Object['values'](_0x455622)[_0x49d9e1(0x289)](_0x71b08c=>_0x71b08c[_0x49d9e1(0x24b)]===t['DrawingTypeEnum'][_0x49d9e1(0x2f9)]);if(_0x38b7aa[_0x49d9e1(0x2cd)]===0x0)return{'redos':[],'undos':[]};let _0x48cf2d=[],_0x2a9e73=[];for(let _0x3eb0d1=0x0;_0x3eb0d1<_0x38b7aa[_0x49d9e1(0x2cd)];_0x3eb0d1++){let _0x14e026=_0x38b7aa[_0x3eb0d1],_0x57dcf8=this[_0x49d9e1(0x54a)][_0x49d9e1(0x655)](_0x14e026[_0x49d9e1(0x3c1)],_0x14e026[_0x49d9e1(0x5d0)],_0x14e026[_0x49d9e1(0x45c)]);if(!_0x57dcf8)continue;let {redo:_0x3f5981,undo:_0x4cd1cd,objects:_0x331ba8}=this[_0x49d9e1(0x493)][_0x49d9e1(0x386)]([_0x14e026]);_0x48cf2d[_0x49d9e1(0x23a)]({'id':e['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x3afb69,'subUnitId':_0x1d834d,'shapeId':_0x14e026[_0x49d9e1(0x45c)]}}),_0x48cf2d[_0x49d9e1(0x23a)]({'id':r[_0x49d9e1(0x25d)]['id'],'params':{'unitId':_0x3afb69,'subUnitId':_0x1d834d,'type':r[_0x49d9e1(0x260)][_0x49d9e1(0x51d)],'op':_0x3f5981,'objects':_0x331ba8}}),_0x2a9e73[_0x49d9e1(0x23a)]({'id':r['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x3afb69,'subUnitId':_0x1d834d,'type':r[_0x49d9e1(0x260)][_0x49d9e1(0x3b3)],'op':_0x4cd1cd,'objects':_0x331ba8}}),_0x2a9e73[_0x49d9e1(0x23a)]({'id':e[_0x49d9e1(0x32a)]['id'],'params':{'unitId':_0x3afb69,'subUnitId':_0x1d834d,'shapeId':_0x14e026['drawingId'],'shapeType':_0x57dcf8['getShapeType'](),'shapeData':JSON['parse'](JSON[_0x49d9e1(0x30a)](_0x57dcf8[_0x49d9e1(0x2e3)]()))}});}return{'redos':_0x48cf2d,'undos':_0x2a9e73};}else{if(_0x4c26ab['id']===n[_0x49d9e1(0x462)]['id']){let {unitId:_0x3b2dd5,subUnitId:_0x759383,targetSubUnitId:_0x4034fd}=_0x4c26ab['params'];if(!_0x3b2dd5||!_0x759383||!_0x4034fd)return{'redos':[],'undos':[]};let _0x1b2147=this[_0x49d9e1(0x493)]['getDrawingData'](_0x3b2dd5,_0x759383),_0x41a84a=Object[_0x49d9e1(0x562)](_0x1b2147)['filter'](_0x29e56f=>_0x29e56f[_0x49d9e1(0x24b)]===t[_0x49d9e1(0x45e)][_0x49d9e1(0x2f9)]);if(_0x41a84a[_0x49d9e1(0x2cd)]===0x0)return{'redos':[],'undos':[]};let _0x3d3811=[],_0x8deac1=[];for(let _0x556cff=0x0;_0x556cff<_0x41a84a[_0x49d9e1(0x2cd)];_0x556cff++){let _0xdf550f=_0x41a84a[_0x556cff],_0x340d42=this['_sheetsShapeService'][_0x49d9e1(0x655)](_0xdf550f[_0x49d9e1(0x3c1)],_0xdf550f[_0x49d9e1(0x5d0)],_0xdf550f[_0x49d9e1(0x45c)]);if(!_0x340d42)continue;let _0x4e00f9=(0x0,t[_0x49d9e1(0x31a)])(),_0x12e692={..._0xdf550f,'unitId':_0x3b2dd5,'subUnitId':_0x4034fd,'drawingId':_0x4e00f9},{redo:_0x180cca,undo:_0x578980,objects:_0x24179b}=this[_0x49d9e1(0x493)]['getBatchAddOp']([_0x12e692]);_0x3d3811[_0x49d9e1(0x23a)]({'id':r[_0x49d9e1(0x25d)]['id'],'params':{'unitId':_0x3b2dd5,'subUnitId':_0x4034fd,'type':r[_0x49d9e1(0x260)][_0x49d9e1(0x3b3)],'op':_0x180cca,'objects':_0x24179b}}),_0x3d3811[_0x49d9e1(0x23a)]({'id':e[_0x49d9e1(0x32a)]['id'],'params':{'unitId':_0x3b2dd5,'subUnitId':_0x4034fd,'shapeId':_0x4e00f9,'shapeType':_0x340d42[_0x49d9e1(0x4c7)](),'shapeData':JSON['parse'](JSON[_0x49d9e1(0x30a)](_0x340d42[_0x49d9e1(0x2e3)]()))}}),_0x8deac1[_0x49d9e1(0x23a)]({'id':e[_0x49d9e1(0x626)]['id'],'params':{'unitId':_0x3b2dd5,'subUnitId':_0x4034fd,'shapeId':_0x4e00f9}}),_0x8deac1[_0x49d9e1(0x23a)]({'id':r[_0x49d9e1(0x25d)]['id'],'params':{'unitId':_0x3b2dd5,'subUnitId':_0x4034fd,'type':r[_0x49d9e1(0x260)][_0x49d9e1(0x51d)],'op':_0x578980,'objects':_0x24179b}});}return{'redos':_0x3d3811,'undos':_0x8deac1};}}return{'redos':[],'undos':[]};}}));}};q=R([L(0x0,(0x0,t[_0x1bf676(0x589)])(t[_0x1bf676(0x247)])),L(0x1,(0x0,t[_0x1bf676(0x589)])(n['SheetInterceptorService'])),L(0x2,(0x0,t['Inject'])(r[_0x1bf676(0x2af)])),L(0x3,(0x0,t[_0x1bf676(0x589)])(e[_0x1bf676(0x35a)]))],q);let je=class extends t[_0x1bf676(0x5b5)]{constructor(_0x390fe1,_0x9261f8,_0x249a28,_0x141335,_0x5003cd){const _0x27f970=_0x1bf676;super(),this[_0x27f970(0x242)]=_0x390fe1,this[_0x27f970(0x44e)]=_0x9261f8,this[_0x27f970(0x673)]=_0x249a28,this[_0x27f970(0x38f)]=_0x141335,this['_sheetsShapeService']=_0x5003cd,S(this,_0x27f970(0x512),null),this[_0x27f970(0x55a)](),this[_0x27f970(0x575)](),this[_0x27f970(0x39f)]();}['_initEvents'](){const _0x48b4e7=_0x1bf676;let {scene:_0x12c859}=this['_context'];this[_0x48b4e7(0x38d)](_0x12c859[_0x48b4e7(0x39d)][_0x48b4e7(0x59b)](_0x287206=>{const _0xcb3901=_0x48b4e7;let {offsetX:_0x37fbda,offsetY:_0x1ab57c}=_0x287206,_0x16a601=_0x12c859[_0xcb3901(0x1f1)](o['Vector2'][_0xcb3901(0x454)]([_0x37fbda,_0x1ab57c]));if(_0x16a601 instanceof I){if((0x0,u[_0xcb3901(0x1db)])(this[_0xcb3901(0x54a)][_0xcb3901(0x4c7)](_0x16a601[_0xcb3901(0x3c1)],_0x16a601['subUnitId'],_0x16a601[_0xcb3901(0x4b9)])))return;this[_0xcb3901(0x44e)]['setEditing']({'visible':!0x0,'unitId':_0x16a601[_0xcb3901(0x3c1)],'subUnitId':_0x16a601[_0xcb3901(0x5d0)],'shapeId':_0x16a601[_0xcb3901(0x4b9)],'shapeKey':_0x16a601[_0xcb3901(0x2e0)]});}}));}[_0x1bf676(0x575)](){const _0x34c975=_0x1bf676;this['disposeWithMe'](this[_0x34c975(0x673)]['focus$'][_0x34c975(0x4e6)](_0x3328e3=>{const _0x97b427=_0x34c975;if(_0x3328e3[_0x97b427(0x2cd)]===0x1){let _0x5dea9e=_0x3328e3[0x0],_0x4e03da=this[_0x97b427(0x673)]['getDrawingByParam'](_0x5dea9e);if((_0x4e03da==null?void 0x0:_0x4e03da['drawingType'])===t['DrawingTypeEnum'][_0x97b427(0x2f9)]){let _0xc8d501=this[_0x97b427(0x44e)]['getEditing']();if((_0xc8d501==null?void 0x0:_0xc8d501['shapeId'])===_0x5dea9e[_0x97b427(0x45c)]&&_0xc8d501[_0x97b427(0x3e3)])return;(0x0,u[_0x97b427(0x1db)])(this['_sheetsShapeService'][_0x97b427(0x4c7)](_0x5dea9e[_0x97b427(0x3c1)],_0x5dea9e[_0x97b427(0x5d0)],_0x5dea9e[_0x97b427(0x45c)]))&&this['_shapeTextEditingService'][_0x97b427(0x1ed)](null);}else this[_0x97b427(0x44e)][_0x97b427(0x20c)]()&&(this[_0x97b427(0x44e)][_0x97b427(0x4a1)](!0x0),requestAnimationFrame(()=>{const _0x880ba1=_0x97b427;this[_0x880ba1(0x44e)][_0x880ba1(0x1ed)](null);}));}else this[_0x97b427(0x44e)][_0x97b427(0x20c)]()&&(this[_0x97b427(0x44e)][_0x97b427(0x4a1)](!0x0),requestAnimationFrame(()=>{const _0x14cae9=_0x97b427;this['_shapeTextEditingService'][_0x14cae9(0x1ed)](null);}));})),this['disposeWithMe'](this[_0x34c975(0x673)][_0x34c975(0x2be)][_0x34c975(0x4e6)](_0x28529a=>{const _0x57b2d4=_0x34c975;let _0x476949=this[_0x57b2d4(0x44e)]['getEditing']();_0x476949&&_0x28529a[_0x57b2d4(0x39b)](_0x3f8cea=>_0x3f8cea[_0x57b2d4(0x45c)]===_0x476949[_0x57b2d4(0x4b9)])&&this['_shapeTextEditingService'][_0x57b2d4(0x1ed)](null);}));}['_initEditingParams'](){const _0x21bed6=_0x1bf676;this[_0x21bed6(0x38d)](this[_0x21bed6(0x44e)][_0x21bed6(0x536)][_0x21bed6(0x4e6)](_0x28c77b=>{const _0x47bd60=_0x21bed6;let {scene:_0x44fad6}=this[_0x47bd60(0x242)];if(this[_0x47bd60(0x512)]){let _0x12e831=_0x44fad6['getObjectIncludeInGroup'](this['_lastEditingShapeKey']);_0x12e831&&_0x12e831['setEditing'](!0x1);}if(_0x28c77b){let _0x13f48e=!!_0x28c77b[_0x47bd60(0x3e3)],_0x3599b8=_0x44fad6[_0x47bd60(0x5d3)](_0x28c77b[_0x47bd60(0x4e5)]);_0x3599b8&&(_0x3599b8[_0x47bd60(0x1ed)](_0x13f48e),this[_0x47bd60(0x512)]=_0x28c77b[_0x47bd60(0x4e5)]),this[_0x47bd60(0x38f)][_0x47bd60(0x668)](t[_0x47bd60(0x46b)],_0x13f48e);}else this[_0x47bd60(0x512)]=null,this[_0x47bd60(0x38f)][_0x47bd60(0x668)](t[_0x47bd60(0x46b)],!0x1);}));}};je=R([L(0x1,(0x0,t[_0x1bf676(0x589)])(C)),L(0x2,a[_0x1bf676(0x5a6)]),L(0x3,t['IContextService']),L(0x4,(0x0,t[_0x1bf676(0x589)])(e[_0x1bf676(0x35a)]))],je);function Me(){const _0x28c619=_0x1bf676;return(0x0,h['jsx'])(v[_0x28c619(0x4ca)],{});}let J=class extends v[_0x1bf676(0x660)]{constructor(_0x3c6428,_0x5ac863,_0x4d5564,_0x2654a8,_0x4ad3e9){const _0x3490b2=_0x1bf676;super(_0x3c6428,_0x5ac863,_0x4d5564,_0x2654a8,_0x4ad3e9,{'componentKey':_0x3490b2(0x67a),'editorUnitId':te,'toolbarComponent':Me});}};J=R([L(0x1,(0x0,t[_0x1bf676(0x589)])(f['DocSelectionManagerService'])),L(0x2,(0x0,t['Inject'])(s['DocCanvasPopManagerService'])),L(0x3,(0x0,t['Inject'])(l[_0x1bf676(0x2b3)])),L(0x4,(0x0,t[_0x1bf676(0x589)])(s['DocSelectionRenderService']))],J);const Ne={'normal':{'fill':u[_0x1bf676(0x42d)][_0x1bf676(0x2de)],'stroke':u['ShapeDefaultConfig'][_0x1bf676(0x2d3)],'strokeWidth':u[_0x1bf676(0x42d)][_0x1bf676(0x4f0)]},'highlighted':{'fill':_0x1bf676(0x5dc),'stroke':'#1a73e8','strokeWidth':0x2}};var Pe=class extends o['Shape']{constructor(_0x24c2d2,_0x227a19){const _0x426ada=_0x1bf676;super(_0x24c2d2,_0x227a19),S(this,_0x426ada(0x656),''),S(this,'_cxnIndex',-0x1),S(this,_0x426ada(0x1da),''),S(this,'_subUnitId',''),S(this,_0x426ada(0x1fb),!0x1),_0x227a19&&this[_0x426ada(0x608)](_0x227a19);}[_0x1bf676(0x653)](){const _0x3e00e3=_0x1bf676;return{'unitId':this[_0x3e00e3(0x1da)],'subUnitId':this[_0x3e00e3(0x210)],'shapeId':this[_0x3e00e3(0x656)],'cxnIndex':this[_0x3e00e3(0x2b6)]};}[_0x1bf676(0x1e0)](_0x220e84){const _0x34c4fe=_0x1bf676;this[_0x34c4fe(0x1fb)]!==_0x220e84&&(this[_0x34c4fe(0x1fb)]=_0x220e84,this['makeDirty'](!0x0));}[_0x1bf676(0x474)](){const _0x30eb42=_0x1bf676;return this[_0x30eb42(0x1fb)];}[_0x1bf676(0x608)](_0x180029){const _0x365662=_0x1bf676;var _0x4fe1a3,_0xfb7158;_0x180029[_0x365662(0x26c)]!==void 0x0&&(this[_0x365662(0x656)]=_0x180029['targetShapeId']),_0x180029[_0x365662(0x3b4)]!==void 0x0&&(this[_0x365662(0x2b6)]=_0x180029['cxnIndex']),_0x180029[_0x365662(0x3c1)]!==void 0x0&&(this[_0x365662(0x1da)]=_0x180029[_0x365662(0x3c1)]),_0x180029[_0x365662(0x5d0)]!==void 0x0&&(this[_0x365662(0x210)]=_0x180029['subUnitId']),_0x180029[_0x365662(0x474)]!==void 0x0&&(this[_0x365662(0x1fb)]=_0x180029['isHighlighted']),this[_0x365662(0x2fd)]({'width':(_0x4fe1a3=_0x180029[_0x365662(0x5e7)])==null?u[_0x365662(0x42d)][_0x365662(0x52c)]*0x2:_0x4fe1a3,'height':(_0xfb7158=_0x180029[_0x365662(0x4f4)])==null?u['ShapeDefaultConfig'][_0x365662(0x52c)]*0x2:_0xfb7158});}[_0x1bf676(0x5c4)](_0x1b1144){const _0x57a241=_0x1bf676;let _0x408fcc=this['_isHighlighted']?Ne['highlighted']:Ne['normal'];o[_0x57a241(0x679)][_0x57a241(0x2e4)](_0x1b1144,{'radius':u[_0x57a241(0x42d)]['cxnPointRadius'],'fill':_0x408fcc['fill'],'stroke':_0x408fcc['stroke'],'strokeWidth':_0x408fcc['strokeWidth'],'evented':!0x0});}};let Y=class extends t[_0x1bf676(0x5b5)]{constructor(_0x5c0dfd,_0x31ad6e,_0x47ab5f,_0x3c2d3c){const _0x51766e=_0x1bf676;super(),this[_0x51766e(0x242)]=_0x5c0dfd,this['_renderManagerService']=_0x31ad6e,this['_drawingManagerService']=_0x47ab5f,this[_0x51766e(0x54a)]=_0x3c2d3c,S(this,_0x51766e(0x375),[]),S(this,_0x51766e(0x3f5),null),S(this,'_highlightedSiteIndex',-0x1),S(this,_0x51766e(0x2cc),null),S(this,_0x51766e(0x1da),''),S(this,_0x51766e(0x210),''),S(this,_0x51766e(0x5ad),null);}[_0x1bf676(0x4ed)](_0x599959,_0x2d00c9,_0x373d3d,_0x3634a8){const _0x4586d4=_0x1bf676;this['_currentScene']=_0x599959,this[_0x4586d4(0x1da)]=_0x2d00c9,this[_0x4586d4(0x210)]=_0x373d3d,this[_0x4586d4(0x5ad)]=_0x3634a8;}[_0x1bf676(0x255)](_0x56c820){const _0x479688=_0x1bf676;if(!this[_0x479688(0x2cc)])return null;let _0x3de14d=this[_0x479688(0x685)](_0x56c820);return _0x3de14d?(this[_0x479688(0x3f5)]!==_0x3de14d['shapeId']&&(this['_clearConnectionSites'](),this[_0x479688(0x426)](_0x3de14d[_0x479688(0x4b9)],_0x3de14d['shapeModel']),this[_0x479688(0x3f5)]=_0x3de14d[_0x479688(0x4b9)]),this[_0x479688(0x539)](_0x56c820)):(this[_0x479688(0x3f5)]!==null&&(this[_0x479688(0x5c0)](),this['_activeTargetShapeId']=null),null);}['endConnectionDetection'](){const _0x428259=_0x1bf676;this[_0x428259(0x5c0)](),this['_currentScene']=null,this['_activeTargetShapeId']=null,this['_highlightedSiteIndex']=-0x1,this['_draggingConnectorId']=null;}['getConnectionRelation'](){const _0xc720f5=_0x1bf676;return this[_0xc720f5(0x3f5)]===null||this['_highlightedSiteIndex']<0x0?null:{'shapeId':this['_activeTargetShapeId'],'cxnIndex':this[_0xc720f5(0x5da)]};}['_findShapeAtPoint'](_0xc118e6){const _0x16ed2c=_0x1bf676;let _0x51c6c0=this[_0x16ed2c(0x673)][_0x16ed2c(0x461)](this[_0x16ed2c(0x1da)],this[_0x16ed2c(0x210)]);for(let _0x3913e2 of Object[_0x16ed2c(0x222)](_0x51c6c0)){if(_0x3913e2===this[_0x16ed2c(0x5ad)]||_0x51c6c0[_0x3913e2][_0x16ed2c(0x24b)]!==t[_0x16ed2c(0x45e)][_0x16ed2c(0x2f9)])continue;let _0x114856=this['_sheetsShapeService'][_0x16ed2c(0x655)](this[_0x16ed2c(0x1da)],this[_0x16ed2c(0x210)],_0x3913e2);if(!_0x114856||(0x0,u[_0x16ed2c(0x1db)])(_0x114856['getShapeType']())||_0x114856[_0x16ed2c(0x5ba)]()[_0x16ed2c(0x2cd)]===0x0||!this[_0x16ed2c(0x2cc)])continue;let _0x4e3824=(0x0,a[_0x16ed2c(0x205)])({'unitId':this[_0x16ed2c(0x1da)],'subUnitId':this[_0x16ed2c(0x210)],'drawingId':_0x3913e2}),_0x4780b2=this['_currentScene'][_0x16ed2c(0x5d3)](_0x4e3824);if(!_0x4780b2)continue;let {left:_0x25bfb4,top:_0x5194d2,width:_0x830a90,height:_0x2ebf6f}=_0x4780b2[_0x16ed2c(0x3db)](),_0x515591=_0x25bfb4+_0x830a90/0x2,_0x19f4b6=_0x5194d2+_0x2ebf6f/0x2,_0x536f8c=_0x4780b2['transform'][_0x16ed2c(0x640)](),_0x1071b8=new o['Transform']([_0x536f8c[0x0],_0x536f8c[0x1],_0x536f8c[0x2],_0x536f8c[0x3],_0x515591,_0x19f4b6]),_0x28cadd=_0x4780b2[_0x16ed2c(0x3fd)](),_0x43113a=(_0x4780b2[_0x16ed2c(0x472)]&&(_0x28cadd==null?void 0x0:_0x28cadd[_0x16ed2c(0x43f)])===o[_0x16ed2c(0x466)][_0x16ed2c(0x519)]?_0x28cadd[_0x16ed2c(0x4fa)][_0x16ed2c(0x4b2)](_0x1071b8):_0x1071b8)[_0x16ed2c(0x499)]()[_0x16ed2c(0x5c5)](_0xc118e6),_0x201c77=_0x830a90/0x2,_0x528892=_0x2ebf6f/0x2;if(_0x43113a['x']>=-_0x201c77-0x5&&_0x43113a['x']<=_0x201c77+0x5&&_0x43113a['y']>=-_0x528892-0x5&&_0x43113a['y']<=_0x528892+0x5)return{'shapeId':_0x3913e2,'shapeModel':_0x114856};}return null;}[_0x1bf676(0x426)](_0x4bb4db,_0x26cab7){const _0x1f9e42=_0x1bf676;if(!this[_0x1f9e42(0x2cc)])return;let _0x344637=(0x0,a[_0x1f9e42(0x205)])({'unitId':this[_0x1f9e42(0x1da)],'subUnitId':this[_0x1f9e42(0x210)],'drawingId':_0x4bb4db}),_0x21b86b=this['_currentScene'][_0x1f9e42(0x5d3)](_0x344637);if(!_0x21b86b)return;let {left:_0x221eb9,top:_0x5adc62,width:_0x55d245,height:_0x3f8abe}=_0x21b86b[_0x1f9e42(0x3db)](),_0x1b4f03=_0x221eb9+_0x55d245/0x2,_0x4acde0=_0x5adc62+_0x3f8abe/0x2,_0x2e0735=_0x21b86b[_0x1f9e42(0x577)][_0x1f9e42(0x640)](),_0x2d009b=new o[(_0x1f9e42(0x428))]([_0x2e0735[0x0],_0x2e0735[0x1],_0x2e0735[0x2],_0x2e0735[0x3],_0x1b4f03,_0x4acde0]),_0x2c7a5b=_0x21b86b['getParent'](),_0x4620d6=_0x21b86b['isInGroup']&&(_0x2c7a5b==null?void 0x0:_0x2c7a5b[_0x1f9e42(0x43f)])===o[_0x1f9e42(0x466)]['GROUP']?_0x2c7a5b[_0x1f9e42(0x4fa)][_0x1f9e42(0x4b2)](_0x2d009b):_0x2d009b;_0x26cab7[_0x1f9e42(0x1fe)]({'width':_0x55d245,'height':_0x3f8abe});let _0x1970f1=_0x26cab7['getConnectionSiteList']();for(let _0x39d4a4 of _0x1970f1){let _0x322599=_0x39d4a4['x']-_0x55d245/0x2,_0x4af5e0=_0x39d4a4['y']-_0x3f8abe/0x2,_0x468289=_0x4620d6[_0x1f9e42(0x5c5)]({'x':_0x322599,'y':_0x4af5e0}),_0x46c1a9=_0x468289['x'],_0x5735cc=_0x468289['y'],_0x5ae6db=new Pe(_0x1f9e42(0x4c9)+_0x4bb4db+'-'+_0x39d4a4[_0x1f9e42(0x658)],{'left':_0x46c1a9-u[_0x1f9e42(0x42d)][_0x1f9e42(0x52c)],'top':_0x5735cc-u[_0x1f9e42(0x42d)][_0x1f9e42(0x52c)],'targetShapeId':_0x4bb4db,'cxnIndex':_0x39d4a4[_0x1f9e42(0x658)],'unitId':this[_0x1f9e42(0x1da)],'subUnitId':this[_0x1f9e42(0x210)],'width':u[_0x1f9e42(0x42d)]['cxnPointRadius']*0x2,'height':u['ShapeDefaultConfig'][_0x1f9e42(0x52c)]*0x2,'zIndex':o[_0x1f9e42(0x40b)]+0x2,'evented':!0x1});this[_0x1f9e42(0x375)][_0x1f9e42(0x23a)](_0x5ae6db),this[_0x1f9e42(0x2cc)][_0x1f9e42(0x395)](_0x5ae6db,o['DRAWING_OBJECT_LAYER_INDEX']+0x2);}}[_0x1bf676(0x539)](_0x4e6a57){const _0xbd88f0=_0x1bf676;let _0xe8253b=null,_0x49ee3a=0x1/0x0,_0x1dba6f=null;for(let _0x59a3d2 of this[_0xbd88f0(0x375)]){let _0x176f98=_0x59a3d2[_0xbd88f0(0x305)]+u[_0xbd88f0(0x42d)][_0xbd88f0(0x52c)],_0xb02027=_0x59a3d2[_0xbd88f0(0x447)]+u[_0xbd88f0(0x42d)][_0xbd88f0(0x52c)],_0x471577=_0x4e6a57['x']-_0x176f98,_0x50f158=_0x4e6a57['y']-_0xb02027,_0x4f64e7=Math[_0xbd88f0(0x4f1)](_0x471577*_0x471577+_0x50f158*_0x50f158);_0x4f64e7<_0x49ee3a&&(_0x49ee3a=_0x4f64e7,_0xe8253b=_0x59a3d2,_0x1dba6f={'x':_0x176f98,'y':_0xb02027});}let _0x3f2968=_0x49ee3a<=0xa&&_0xe8253b?_0xe8253b['getConnectionInfo']()[_0xbd88f0(0x3b4)]:-0x1;if(_0x3f2968!==this['_highlightedSiteIndex']){for(let _0x5e731c of this[_0xbd88f0(0x375)]){let _0x183cec=_0x5e731c[_0xbd88f0(0x653)]();_0x5e731c[_0xbd88f0(0x1e0)](_0x183cec['cxnIndex']===_0x3f2968);}this[_0xbd88f0(0x5da)]=_0x3f2968;}if(_0x49ee3a<=0xa&&_0xe8253b&&_0x1dba6f){let _0x5629c1=_0xe8253b[_0xbd88f0(0x653)](),_0xd9e145=this['_getConnectionSiteAngle'](_0x5629c1['shapeId'],_0x5629c1[_0xbd88f0(0x3b4)]);return{'shapeId':_0x5629c1[_0xbd88f0(0x4b9)],'cxnIndex':_0x5629c1['cxnIndex'],'unitId':_0x5629c1[_0xbd88f0(0x3c1)],'subUnitId':_0x5629c1[_0xbd88f0(0x5d0)],'worldPoint':_0x1dba6f,'angle':_0xd9e145};}return null;}['_getConnectionSiteAngle'](_0x69bebb,_0x17afd6){const _0x363a63=_0x1bf676;let _0x1e0984=this[_0x363a63(0x54a)]['getShapeModel'](this['_unitId'],this[_0x363a63(0x210)],_0x69bebb);if(!_0x1e0984)return 0x0;let _0x196848=this[_0x363a63(0x673)]['getDrawingByParam']({'unitId':this['_unitId'],'subUnitId':this[_0x363a63(0x210)],'drawingId':_0x69bebb});if(!(_0x196848!=null&&_0x196848['transform']))return 0x0;let {width:_0x5d8f54=0x0,height:_0x1ae8d0=0x0,flipX:_0x4f9d33=!0x1,flipY:_0x321b08=!0x1}=_0x196848[_0x363a63(0x577)];_0x1e0984[_0x363a63(0x1fe)]({'width':_0x5d8f54,'height':_0x1ae8d0});let _0x13531a=_0x1e0984[_0x363a63(0x5ba)]()['find'](_0x19d205=>_0x19d205[_0x363a63(0x658)]===_0x17afd6);if(!_0x13531a)return 0x0;let _0x45d908=_0x13531a[_0x363a63(0x481)]/0xea60;return _0x4f9d33&&(_0x45d908=0xb4-_0x45d908),_0x321b08&&(_0x45d908=-_0x45d908),_0x45d908=(_0x45d908%0x168+0x168)%0x168,_0x45d908;}[_0x1bf676(0x5c0)](){const _0x356f8d=_0x1bf676;for(let _0x398908 of this[_0x356f8d(0x375)])_0x398908[_0x356f8d(0x53f)]();this[_0x356f8d(0x375)]=[],this['_highlightedSiteIndex']=-0x1;}['dispose'](){const _0x27f15a=_0x1bf676;this['_clearConnectionSites'](),super[_0x27f15a(0x53f)]();}};Y=R([L(0x1,(0x0,t[_0x1bf676(0x589)])(o[_0x1bf676(0x4b4)])),L(0x2,(0x0,t[_0x1bf676(0x589)])(a[_0x1bf676(0x5a6)])),L(0x3,(0x0,t[_0x1bf676(0x589)])(e['SheetsShapeService']))],Y);let X=class extends t[_0x1bf676(0x5b5)]{constructor(_0xc33ea6,_0x56bbaa,_0x32905b,_0x58c59c,_0x33e181){const _0x1422d2=_0x1bf676;super(),this[_0x1422d2(0x2d2)]=_0xc33ea6,this[_0x1422d2(0x4ad)]=_0x56bbaa,this[_0x1422d2(0x493)]=_0x32905b,this[_0x1422d2(0x4e3)]=_0x58c59c,this['_groupCopyPasteController']=_0x33e181,S(this,_0x1422d2(0x3e8),void 0x0),this['_initCopyPaste'](),this[_0x1422d2(0x42a)]();}get[_0x1bf676(0x2a6)](){const _0x3edf74=_0x1bf676;return this[_0x3edf74(0x493)][_0x3edf74(0x62f)]();}[_0x1bf676(0x42a)](){const _0x17b8cb=_0x1bf676;this[_0x17b8cb(0x4df)][_0x17b8cb(0x4f9)](({fromUnitId:_0x32e7e9,fromSubUnitId:_0xcccdda,toUnitId:_0x27bd2e,toSubUnitId:_0x2e0b90,idMap:_0x13cb3e})=>{const _0x3faa63=_0x17b8cb;let _0x24aff5=[],_0x1195d5=[];for(let [_0x506329,_0x358118]of _0x13cb3e[_0x3faa63(0x4a2)]()){let _0x29c996=this[_0x3faa63(0x4e3)][_0x3faa63(0x655)](_0x32e7e9,_0xcccdda,_0x506329);if(!_0x29c996)continue;let _0x4bfe27=_0x29c996['getShapeType'](),_0x45529f=JSON['parse'](JSON['stringify'](_0x29c996[_0x3faa63(0x2e3)]()));if(_0x45529f[_0x3faa63(0x492)]){var _0x2442c1,_0x5713db;let _0x29a625=(_0x2442c1=_0x45529f[_0x3faa63(0x492)][_0x3faa63(0x58b)])==null?void 0x0:_0x2442c1['shapeId'],_0x3e14c4=(_0x5713db=_0x45529f['relation']['to'])==null?void 0x0:_0x5713db[_0x3faa63(0x4b9)],_0x184350=_0x29a625?_0x13cb3e[_0x3faa63(0x2cb)](_0x29a625):!0x0,_0x2a096d=_0x3e14c4?_0x13cb3e[_0x3faa63(0x2cb)](_0x3e14c4):!0x0;_0x184350&&_0x29a625&&_0x45529f[_0x3faa63(0x492)][_0x3faa63(0x58b)]?_0x45529f[_0x3faa63(0x492)]['from']={..._0x45529f[_0x3faa63(0x492)]['from'],'shapeId':_0x13cb3e[_0x3faa63(0x1f9)](_0x29a625)}:_0x45529f['relation'][_0x3faa63(0x58b)]=void 0x0,_0x2a096d&&_0x3e14c4&&_0x45529f[_0x3faa63(0x492)]['to']?_0x45529f[_0x3faa63(0x492)]['to']={..._0x45529f[_0x3faa63(0x492)]['to'],'shapeId':_0x13cb3e[_0x3faa63(0x1f9)](_0x3e14c4)}:_0x45529f[_0x3faa63(0x492)]['to']=void 0x0;}_0x24aff5[_0x3faa63(0x23a)]({'id':e[_0x3faa63(0x32a)]['id'],'params':{'unitId':_0x27bd2e,'subUnitId':_0x2e0b90,'shapeId':_0x358118,'shapeType':_0x4bfe27,'shapeData':_0x45529f}}),_0x1195d5[_0x3faa63(0x23a)]({'id':e[_0x3faa63(0x626)]['id'],'params':{'unitId':_0x27bd2e,'subUnitId':_0x2e0b90,'shapeId':_0x358118}});}return{'redos':_0x24aff5,'undos':_0x1195d5};});}[_0x1bf676(0x20a)](){const _0x578e84=_0x1bf676;this['disposeWithMe'](this[_0x578e84(0x4ad)][_0x578e84(0x35f)]({'id':_0x578e84(0x43a),'onBeforeCopy':(_0xe0789b,_0x5d528a,_0x518877,_0x4d23fb)=>{const _0x55734a=_0x578e84;this[_0x55734a(0x3e8)]=null;let _0x163061=this['_focusedDrawings'];if(_0x163061[_0x55734a(0x2cd)]){let _0x11052=_0x163061[_0x55734a(0x289)](_0x546b85=>_0x546b85[_0x55734a(0x24b)]===t[_0x55734a(0x45e)][_0x55734a(0x2f9)]);if(_0x11052[_0x55734a(0x2cd)]===0x0)return;this['_copyInfo']={'unitId':_0xe0789b,'subUnitId':_0x5d528a,'copyType':_0x4d23fb,'drawings':_0x11052};}else this[_0x55734a(0x3ec)](_0xe0789b,_0x5d528a,_0x518877,_0x4d23fb);},'onPasteCells':(_0x463cb2,_0x4131c7,_0x5f2d0b,_0x3db908)=>{const _0x255519=_0x578e84;if(!this[_0x255519(0x3e8)])return{'redos':[],'undos':[]};let {pasteType:_0x4c27af}=_0x3db908;return _0x4c27af===c[_0x255519(0x2c5)][_0x255519(0x1f3)]?this[_0x255519(0x43c)](_0x4131c7,this['_copyInfo'][_0x255519(0x667)]===c[_0x255519(0x370)][_0x255519(0x514)]):{'redos':[],'undos':[]};},'onPasteUnrecognized':_0x386265=>this[_0x578e84(0x3e8)]?this[_0x578e84(0x43c)](_0x386265,this[_0x578e84(0x3e8)][_0x578e84(0x667)]===c['COPY_TYPE'][_0x578e84(0x514)]):{'redos':[],'undos':[]}}));}[_0x1bf676(0x3ec)](_0x97f21a,_0x79d81b,_0x1cabfd,_0x4ce60d){const _0x21efd6=_0x1bf676;let _0x4e1ca3=this[_0x21efd6(0x2d2)][_0x21efd6(0x41d)](_0x97f21a,_0x79d81b);if(!_0x4e1ca3)return;let _0x58b3c1=(0x0,n[_0x21efd6(0x2e6)])(_0x4e1ca3,_0x1cabfd);if(!_0x58b3c1)return;let {startX:_0x4e6ffc,endX:_0x2cb7cf,startY:_0x10ef06,endY:_0x251dea}=_0x58b3c1,_0x395719=this[_0x21efd6(0x493)][_0x21efd6(0x461)](_0x97f21a,_0x79d81b),_0x153d9a=this[_0x21efd6(0x2a6)][_0x21efd6(0x57f)]();for(let [_0x3b77fb,_0x1d6742]of Object[_0x21efd6(0x4a2)](_0x395719)){if(_0x1d6742[_0x21efd6(0x24b)]!==t[_0x21efd6(0x45e)][_0x21efd6(0x2f9)])continue;let {transform:_0x31e54b}=_0x1d6742;if(!_0x31e54b)continue;let {left:_0x3ab516=0x0,top:_0x2054d4=0x0,width:_0x4316fd=0x0,height:_0x46ced=0x0}=_0x31e54b;_0x4e6ffc<=_0x3ab516&&_0x2cb7cf>=_0x3ab516+_0x4316fd&&_0x10ef06<=_0x2054d4&&_0x251dea>=_0x2054d4+_0x46ced&&_0x153d9a['push'](_0x1d6742);}_0x153d9a['length']>0x0&&(this[_0x21efd6(0x3e8)]={'unitId':_0x97f21a,'subUnitId':_0x79d81b,'copyType':_0x4ce60d,'copyRange':_0x1cabfd,'drawings':_0x153d9a});}[_0x1bf676(0x43c)](_0x45d4d9,_0x1bd931){const _0x4e7d28=_0x1bf676;let {unitId:_0x2e52a9,subUnitId:_0x4208bb,range:_0x262bd1}=_0x45d4d9,_0x5414ed=this[_0x4e7d28(0x2d2)][_0x4e7d28(0x41d)](_0x2e52a9,_0x4208bb);if(!_0x5414ed)return{'redos':[],'undos':[]};let _0x3dffe4=(0x0,n[_0x4e7d28(0x26b)])(_0x262bd1),{unitId:_0x280346,subUnitId:_0x1cd26c,copyRange:_0x2852d2,drawings:_0x4f8eb0}=this[_0x4e7d28(0x3e8)],_0x43591e=this[_0x4e7d28(0x2d2)][_0x4e7d28(0x41d)](_0x280346,_0x1cd26c);if(!_0x43591e)return{'redos':[],'undos':[]};let _0x46920e;if(!_0x2852d2){let _0x5915a5=0x1/0x0,_0x5d8178=0x1/0x0;for(let _0x46a272 of _0x4f8eb0){var _0xa3d208;let {left:_0x2bfa93=0x0,top:_0x5f1bae=0x0}=(_0xa3d208=_0x46a272['transform'])==null?{}:_0xa3d208;_0x2bfa93<_0x5915a5&&(_0x5915a5=_0x2bfa93),_0x5f1bae<_0x5d8178&&(_0x5d8178=_0x5f1bae);}_0x5915a5!==0x1/0x0&&_0x5d8178!==0x1/0x0&&(_0x46920e={'left':_0x5915a5,'top':_0x5d8178});}let _0x448338=new Map();if(!_0x1bd931){for(let _0x191c64 of _0x4f8eb0)_0x448338['set'](_0x191c64[_0x4e7d28(0x45c)],(0x0,t['generateRandomId'])());}let _0x288579=[],_0x40db49=[];for(let _0x563410 of _0x4f8eb0){let {drawingId:_0x3000cf,transform:_0x2415ad,sheetTransform:_0xb9c576}=_0x563410;if(!_0x2415ad||!_0xb9c576)continue;let _0x5a2db=this[_0x4e7d28(0x429)]({'transform':_0x2415ad,'sheetTransform':_0xb9c576},{'skeleton':_0x43591e,'range':_0x2852d2},{'skeleton':_0x5414ed,'range':_0x3dffe4},_0x46920e);if(_0x1bd931){let {redos:_0x47159a,undos:_0x526d44}=this[_0x4e7d28(0x460)]({'fromUnitId':_0x280346,'fromSubUnitId':_0x1cd26c,'toUnitId':_0x2e52a9,'toSubUnitId':_0x4208bb,'drawing':_0x563410,'newTransforms':_0x5a2db});_0x288579['push'](..._0x47159a),_0x40db49[_0x4e7d28(0x23a)](..._0x526d44);continue;}let {redos:_0x52771b,undos:_0x57d876}=this[_0x4e7d28(0x64b)]({'toUnitId':_0x2e52a9,'toSubUnitId':_0x4208bb,'drawing':_0x563410,'newTransforms':_0x5a2db,'newDrawingId':_0x448338['get'](_0x3000cf),'idMap':_0x448338});_0x288579[_0x4e7d28(0x23a)](..._0x52771b),_0x40db49[_0x4e7d28(0x23a)](..._0x57d876);}return{'redos':_0x288579,'undos':_0x40db49};}[_0x1bf676(0x460)](_0x199bc9){const _0x45a4b2=_0x1bf676;let {fromUnitId:_0x56d65e,fromSubUnitId:_0x249daa,toUnitId:_0x2ff100,toSubUnitId:_0x228607,drawing:_0xb36720,newTransforms:_0x37c73a}=_0x199bc9,_0x9a5c54={..._0xb36720,'unitId':_0x2ff100,'subUnitId':_0x228607,'transform':_0x37c73a['transform'],'sheetTransform':_0x37c73a['sheetTransform']};if(_0x2ff100===_0x56d65e&&_0x228607===_0x249daa){let {redo:_0x1021f7,undo:_0x55ae0c,objects:_0x1ea972}=this[_0x45a4b2(0x493)][_0x45a4b2(0x211)]([_0x9a5c54]);return{'redos':[{'id':r[_0x45a4b2(0x25d)]['id'],'params':{'unitId':_0x2ff100,'subUnitId':_0x228607,'type':r[_0x45a4b2(0x260)][_0x45a4b2(0x38b)],'op':_0x1021f7,'objects':_0x1ea972}}],'undos':[{'id':r['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x2ff100,'subUnitId':_0x228607,'type':r['DrawingApplyType'][_0x45a4b2(0x38b)],'op':_0x55ae0c,'objects':_0x1ea972}}]};}else{let _0x5b1b31=this[_0x45a4b2(0x493)][_0x45a4b2(0x386)]([_0xb36720]),_0x3f3756=this[_0x45a4b2(0x493)][_0x45a4b2(0x3ef)]([_0x9a5c54]),_0x4c9101=this[_0x45a4b2(0x4e3)][_0x45a4b2(0x655)](_0xb36720[_0x45a4b2(0x3c1)],_0xb36720[_0x45a4b2(0x5d0)],_0xb36720['drawingId']);if(!_0x4c9101)return{'redos':[],'undos':[]};let _0x10a26c=_0x4c9101[_0x45a4b2(0x4c7)](),_0x1bb800=JSON[_0x45a4b2(0x21c)](JSON['stringify'](_0x4c9101[_0x45a4b2(0x2e3)]()));return{'redos':[{'id':r[_0x45a4b2(0x25d)]['id'],'params':{'unitId':_0x56d65e,'subUnitId':_0x249daa,'type':r['DrawingApplyType']['REMOVE'],'op':_0x5b1b31[_0x45a4b2(0x20b)],'objects':_0x5b1b31[_0x45a4b2(0x2ea)]}},{'id':e[_0x45a4b2(0x626)]['id'],'params':{'unitId':_0x56d65e,'subUnitId':_0x249daa,'shapeId':_0xb36720[_0x45a4b2(0x45c)]}},{'id':r[_0x45a4b2(0x25d)]['id'],'params':{'unitId':_0x2ff100,'subUnitId':_0x228607,'type':r[_0x45a4b2(0x260)]['INSERT'],'op':_0x3f3756['redo'],'objects':_0x3f3756[_0x45a4b2(0x2ea)]}},{'id':e[_0x45a4b2(0x32a)]['id'],'params':{'unitId':_0x2ff100,'subUnitId':_0x228607,'shapeId':_0xb36720[_0x45a4b2(0x45c)],'shapeType':_0x10a26c,'shapeData':_0x1bb800}}],'undos':[{'id':r[_0x45a4b2(0x25d)]['id'],'params':{'unitId':_0x56d65e,'subUnitId':_0x249daa,'type':r[_0x45a4b2(0x260)]['INSERT'],'op':_0x5b1b31[_0x45a4b2(0x365)],'objects':_0x5b1b31[_0x45a4b2(0x2ea)]}},{'id':e['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x56d65e,'subUnitId':_0x249daa,'shapeId':_0xb36720[_0x45a4b2(0x45c)],'shapeType':_0x10a26c,'shapeData':_0x1bb800}},{'id':r[_0x45a4b2(0x25d)]['id'],'params':{'unitId':_0x2ff100,'subUnitId':_0x228607,'type':r[_0x45a4b2(0x260)][_0x45a4b2(0x51d)],'op':_0x3f3756[_0x45a4b2(0x365)],'objects':_0x3f3756[_0x45a4b2(0x2ea)]}},{'id':e[_0x45a4b2(0x626)]['id'],'params':{'unitId':_0x2ff100,'subUnitId':_0x228607,'shapeId':_0xb36720[_0x45a4b2(0x45c)]}}]};}}[_0x1bf676(0x64b)](_0x5951c8){const _0xba8c74=_0x1bf676;let {toUnitId:_0x201798,toSubUnitId:_0x4defaf,drawing:_0x51d0e5,newTransforms:_0x54c930,newDrawingId:_0x217d79,idMap:_0x69895}=_0x5951c8,_0x34ec77={..._0x51d0e5,'unitId':_0x201798,'subUnitId':_0x4defaf,'drawingId':_0x217d79,'transform':_0x54c930[_0xba8c74(0x577)],'sheetTransform':_0x54c930[_0xba8c74(0x1fd)]},{redo:_0x44a175,undo:_0x3793ce,objects:_0x2f1b44}=this['_sheetDrawingService'][_0xba8c74(0x3ef)]([_0x34ec77]),_0x984ad6=this['_shapeService']['getShapeModel'](_0x51d0e5['unitId'],_0x51d0e5[_0xba8c74(0x5d0)],_0x51d0e5[_0xba8c74(0x45c)]);if(!_0x984ad6)return{'redos':[],'undos':[]};let _0x43cd17=_0x984ad6[_0xba8c74(0x4c7)](),_0x414f04=JSON['parse'](JSON[_0xba8c74(0x30a)](_0x984ad6[_0xba8c74(0x2e3)]()));if(_0x414f04[_0xba8c74(0x492)]){var _0x5b0af0,_0xbcbc33;let _0x389270=(_0x5b0af0=_0x414f04[_0xba8c74(0x492)][_0xba8c74(0x58b)])==null?void 0x0:_0x5b0af0[_0xba8c74(0x4b9)],_0x1b7b08=(_0xbcbc33=_0x414f04[_0xba8c74(0x492)]['to'])==null?void 0x0:_0xbcbc33[_0xba8c74(0x4b9)],_0x49986a=_0x389270?_0x69895[_0xba8c74(0x2cb)](_0x389270):!0x0,_0x1dc598=_0x1b7b08?_0x69895[_0xba8c74(0x2cb)](_0x1b7b08):!0x0;_0x49986a&&_0x389270&&_0x414f04['relation'][_0xba8c74(0x58b)]?_0x414f04[_0xba8c74(0x492)][_0xba8c74(0x58b)]={..._0x414f04[_0xba8c74(0x492)][_0xba8c74(0x58b)],'shapeId':_0x69895['get'](_0x389270)}:_0x414f04[_0xba8c74(0x492)]['from']=void 0x0,_0x1dc598&&_0x1b7b08&&_0x414f04['relation']['to']?_0x414f04['relation']['to']={..._0x414f04[_0xba8c74(0x492)]['to'],'shapeId':_0x69895[_0xba8c74(0x1f9)](_0x1b7b08)}:_0x414f04[_0xba8c74(0x492)]['to']=void 0x0;}return{'redos':[{'id':r['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x201798,'subUnitId':_0x4defaf,'type':r['DrawingApplyType'][_0xba8c74(0x3b3)],'op':_0x44a175,'objects':_0x2f1b44}},{'id':e['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x201798,'subUnitId':_0x4defaf,'shapeId':_0x217d79,'shapeType':_0x43cd17,'shapeData':_0x414f04}}],'undos':[{'id':r[_0xba8c74(0x25d)]['id'],'params':{'unitId':_0x201798,'subUnitId':_0x4defaf,'type':r[_0xba8c74(0x260)]['REMOVE'],'op':_0x3793ce,'objects':_0x2f1b44}},{'id':e[_0xba8c74(0x626)]['id'],'params':{'unitId':_0x201798,'subUnitId':_0x4defaf,'shapeId':_0x217d79}}]};}[_0x1bf676(0x429)](_0x5066db,_0x4c91b1,_0x140d39,_0x2538df){const _0x1d5e73=_0x1bf676;var _0x5069ff;let {range:_0x20f7c2,skeleton:_0x123504}=_0x4c91b1,{range:_0x270097,skeleton:_0x26f64f}=_0x140d39,{transform:_0xfa6918,sheetTransform:_0x147399}=_0x5066db,_0x122fbd={..._0xfa6918};if(_0x20f7c2){let _0x4c8a28=(0x0,n[_0x1d5e73(0x2e6)])(_0x123504,_0x20f7c2),_0x5c125a=(0x0,n[_0x1d5e73(0x2e6)])(_0x26f64f,_0x270097);if(_0x4c8a28&&_0x5c125a){var _0x2372c7,_0x3a04bc;let _0x5e1b7e=_0x5c125a[_0x1d5e73(0x296)]-_0x4c8a28[_0x1d5e73(0x296)],_0x5f17a1=_0x5c125a['startY']-_0x4c8a28[_0x1d5e73(0x43b)];_0x122fbd[_0x1d5e73(0x305)]=((_0x2372c7=_0x122fbd['left'])==null?0x0:_0x2372c7)+_0x5e1b7e,_0x122fbd[_0x1d5e73(0x447)]=((_0x3a04bc=_0x122fbd[_0x1d5e73(0x447)])==null?0x0:_0x3a04bc)+_0x5f17a1;}}else{let _0x5d6385=(0x0,n[_0x1d5e73(0x2e6)])(_0x26f64f,_0x270097);if(_0x2538df&&_0x5d6385){var _0x15815b,_0xc6c197;let _0x4ff9e1=((_0x15815b=_0x122fbd[_0x1d5e73(0x305)])==null?0x0:_0x15815b)-_0x2538df[_0x1d5e73(0x305)],_0x2ffd18=((_0xc6c197=_0x122fbd['top'])==null?0x0:_0xc6c197)-_0x2538df[_0x1d5e73(0x447)];_0x122fbd[_0x1d5e73(0x305)]=_0x5d6385[_0x1d5e73(0x296)]+_0x4ff9e1,_0x122fbd['top']=_0x5d6385['startY']+_0x2ffd18;}else _0x122fbd[_0x1d5e73(0x305)]=_0x5d6385==null?void 0x0:_0x5d6385['startX'],_0x122fbd['top']=_0x5d6385==null?void 0x0:_0x5d6385[_0x1d5e73(0x43b)];}return{'transform':_0x122fbd,'sheetTransform':(_0x5069ff=(0x0,r[_0x1d5e73(0x3a4)])(_0x122fbd,_0x26f64f))==null?_0x147399:_0x5069ff};}};X=R([L(0x0,(0x0,t[_0x1bf676(0x589)])(n[_0x1bf676(0x288)])),L(0x1,(0x0,t['Inject'])(c[_0x1bf676(0x495)])),L(0x2,(0x0,t[_0x1bf676(0x589)])(r[_0x1bf676(0x2af)])),L(0x3,(0x0,t[_0x1bf676(0x589)])(e['SheetsShapeService'])),L(0x4,(0x0,t[_0x1bf676(0x589)])(g[_0x1bf676(0x4cc)]))],X);var Fe=class extends o['Shape']{constructor(_0x405cd7,_0x2b02ab){const _0x345622=_0x1bf676;super(_0x405cd7,_0x2b02ab),S(this,'_shapeId',null),S(this,'_index',null),S(this,_0x345622(0x1da),null),S(this,'_subUnitId',null),S(this,_0x345622(0x584),!0x1),_0x2b02ab&&this[_0x345622(0x608)](_0x2b02ab);}['getDrawingSearch'](){const _0x1c34d3=_0x1bf676;return{'unitId':this[_0x1c34d3(0x1da)],'subUnitId':this[_0x1c34d3(0x210)],'drawingId':this[_0x1c34d3(0x35e)]};}[_0x1bf676(0x608)](_0x175ae4){const _0x2c96b3=_0x1bf676;_0x175ae4['shapeId']!==void 0x0&&(this[_0x2c96b3(0x35e)]=_0x175ae4[_0x2c96b3(0x4b9)]),_0x175ae4[_0x2c96b3(0x3c1)]!==void 0x0&&(this['_unitId']=_0x175ae4['unitId']),_0x175ae4[_0x2c96b3(0x5d0)]!==void 0x0&&(this[_0x2c96b3(0x210)]=_0x175ae4['subUnitId']),_0x175ae4['isStartConnectorPoint']!==void 0x0&&(this[_0x2c96b3(0x584)]=_0x175ae4[_0x2c96b3(0x2bc)]),this[_0x2c96b3(0x2fd)]({'width':_0x175ae4[_0x2c96b3(0x5e7)],'height':_0x175ae4[_0x2c96b3(0x4f4)]});}[_0x1bf676(0x5c4)](_0x4a67e8){const _0x345152=_0x1bf676;o[_0x345152(0x679)][_0x345152(0x2e4)](_0x4a67e8,{'radius':u['ShapeDefaultConfig']['cxnPointRadius'],'fill':u[_0x345152(0x42d)][_0x345152(0x2de)],'stroke':u[_0x345152(0x42d)][_0x345152(0x2d3)],'strokeWidth':u[_0x345152(0x42d)][_0x345152(0x4f0)],'evented':!0x0});}};let Z=class extends t[_0x1bf676(0x5b5)]{constructor(_0x377046,_0x57144a,_0x31da04,_0x42680e,_0x33017b,_0x2753cd,_0x5d66b1,_0x178dc4){const _0x212632=_0x1bf676;super(),this[_0x212632(0x242)]=_0x377046,this[_0x212632(0x604)]=_0x57144a,this['_renderManagerService']=_0x31da04,this[_0x212632(0x673)]=_0x42680e,this[_0x212632(0x5c9)]=_0x33017b,this[_0x212632(0x54a)]=_0x2753cd,this[_0x212632(0x3c6)]=_0x5d66b1,this[_0x212632(0x3f9)]=_0x178dc4,S(this,_0x212632(0x488),void 0x0),S(this,_0x212632(0x1da),void 0x0),S(this,_0x212632(0x210),void 0x0),S(this,'_connectorObjects',[]),S(this,_0x212632(0x383),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),S(this,_0x212632(0x465),void 0x0),S(this,'_isConnecting',!0x1),S(this,_0x212632(0x34e),!0x1),S(this,'_hasReset',!0x1),S(this,_0x212632(0x1e2),void 0x0),S(this,_0x212632(0x318),void 0x0),S(this,_0x212632(0x522),null),this[_0x212632(0x5e0)]();}[_0x1bf676(0x5e0)](){const _0x36ca5b=_0x1bf676;this[_0x36ca5b(0x2a8)](),this[_0x36ca5b(0x329)]();}['_getDrawingRect'](){const _0x1c8f81=_0x1bf676;if(!this['_unitId']||!this[_0x1c8f81(0x210)]||!this[_0x1c8f81(0x488)])return;let _0x100864={'unitId':this['_unitId'],'subUnitId':this[_0x1c8f81(0x210)],'drawingId':this[_0x1c8f81(0x488)]},{transform:_0x469fac}=this['_drawingManagerService']['getDrawingByParam'](_0x100864);if(_0x469fac)return{'left':_0x469fac[_0x1c8f81(0x305)]||0x0,'top':_0x469fac['top']||0x0,'width':_0x469fac['width']||0x0,'height':_0x469fac['height']||0x0,'flipX':_0x469fac['flipX']||!0x1,'flipY':_0x469fac[_0x1c8f81(0x4f5)]||!0x1,'angle':_0x469fac[_0x1c8f81(0x3fe)]};}[_0x1bf676(0x66c)](){const _0x1cf64e=_0x1bf676;if(this[_0x1cf64e(0x1da)]===void 0x0||this[_0x1cf64e(0x210)]===void 0x0||this[_0x1cf64e(0x488)]===void 0x0)return;let _0x4e3d70=this[_0x1cf64e(0x1e3)][_0x1cf64e(0x4bf)](this[_0x1cf64e(0x1da)]);if(!_0x4e3d70||!_0x4e3d70['with'](c[_0x1cf64e(0x67c)])[_0x1cf64e(0x5e9)]())return;let {scene:_0xd021}=_0x4e3d70,_0x243233=this[_0x1cf64e(0x2ac)]();if(!_0x243233)return;let _0x4396cf=this[_0x1cf64e(0x54a)][_0x1cf64e(0x655)](this[_0x1cf64e(0x1da)],this[_0x1cf64e(0x210)],this[_0x1cf64e(0x488)]);if(!_0x4396cf||!(0x0,u[_0x1cf64e(0x1db)])(_0x4396cf['getShapeType']()))return;let _0xdc506f=_0x4396cf[_0x1cf64e(0x3ea)]();if(_0xdc506f['length']<0x2)return;let _0x3b4bfb=new u[(_0x1cf64e(0x327))](_0x243233),_0x1df122=_0xdc506f[0x0],_0x4ef628=_0xdc506f[_0xdc506f[_0x1cf64e(0x2cd)]-0x1],_0x4e2919=_0x3b4bfb[_0x1cf64e(0x502)](_0x1df122),_0x2de0d9=_0x3b4bfb[_0x1cf64e(0x502)](_0x4ef628);this[_0x1cf64e(0x677)](_0xd021,{..._0x4e2919},!0x0),this['_addShapeConnectorHandlerObject'](_0xd021,{..._0x2de0d9},!0x1);}[_0x1bf676(0x677)](_0x4f440e,_0x17a62a,_0x2b5476){const _0x20caf7=_0x1bf676;if(this[_0x20caf7(0x488)]===void 0x0||this[_0x20caf7(0x1da)]===void 0x0||this[_0x20caf7(0x210)]===void 0x0)return;let _0x149ef1='connector-handler-'+this['_unitId']+'-'+this[_0x20caf7(0x210)]+'-'+this['_activeShapeId']+'-'+(_0x2b5476?_0x20caf7(0x4ba):'end'),_0x264f13=_0x4f440e[_0x20caf7(0x5d3)](_0x149ef1);if(_0x264f13){_0x264f13[_0x20caf7(0x2fd)]({'left':_0x17a62a['x']-u[_0x20caf7(0x42d)][_0x20caf7(0x52c)],'top':_0x17a62a['y']-u[_0x20caf7(0x42d)]['cxnPointRadius']});return;}let _0x26921d=new Fe(_0x149ef1,{'left':_0x17a62a['x']-u['ShapeDefaultConfig']['cxnPointRadius'],'top':_0x17a62a['y']-u['ShapeDefaultConfig'][_0x20caf7(0x52c)],'shapeId':this['_activeShapeId'],'unitId':this[_0x20caf7(0x1da)],'subUnitId':this[_0x20caf7(0x210)],'isStartConnectorPoint':_0x2b5476,'width':u[_0x20caf7(0x42d)][_0x20caf7(0x52c)]*0x2,'height':u[_0x20caf7(0x42d)][_0x20caf7(0x52c)]*0x2,'zIndex':o['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0});this[_0x20caf7(0x302)][_0x20caf7(0x23a)](_0x26921d),this[_0x20caf7(0x3f0)](_0x26921d,_0x4f440e,_0x2b5476),_0x4f440e[_0x20caf7(0x395)](_0x26921d,o[_0x20caf7(0x40b)]+0x1);}[_0x1bf676(0x1d6)](_0x2c414c,_0x835a2a){const _0x400981=_0x1bf676;var _0x22f529;let _0x3b2b83={'x':0x0,'y':0x0};if(!_0x2c414c||!_0x835a2a)return _0x3b2b83;let _0x27c6e5=this[_0x400981(0x1e3)][_0x400981(0x4bf)](_0x2c414c);if(!_0x27c6e5||!_0x27c6e5['with'](c[_0x400981(0x67c)])[_0x400981(0x41d)](_0x835a2a))return _0x3b2b83;let _0x4ab37c=_0x27c6e5[_0x400981(0x506)](c[_0x400981(0x5e8)]),_0x4a7bf6=_0x4ab37c==null?void 0x0:_0x4ab37c[_0x400981(0x4e2)]();if(!_0x4a7bf6)return _0x3b2b83;let _0xd90c7b=(_0x22f529=this['_univerInstanceService']['getUnit'](_0x2c414c))==null?void 0x0:_0x22f529['getSheetBySheetId'](_0x835a2a);if(!_0xd90c7b)return _0x3b2b83;let _0x25451c=(0x0,c[_0x400981(0x32e)])(_0x4a7bf6['sheetViewStartRow'],_0x4a7bf6['sheetViewStartColumn'],_0x27c6e5[_0x400981(0x5c6)],_0xd90c7b);return _0x25451c?{'x':_0x25451c[_0x400981(0x3fc)],'y':_0x25451c[_0x400981(0x4ae)]}:_0x3b2b83;}['_getZoomRatio'](_0x1221da,_0x387ec4){const _0x5d864a=_0x1bf676;var _0x4941d5,_0x116113;let _0xecb24e=(_0x4941d5=this[_0x5d864a(0x5c9)]['getUnit'](_0x1221da))==null?void 0x0:_0x4941d5[_0x5d864a(0x26a)](_0x387ec4);return(_0x116113=_0xecb24e==null?void 0x0:_0xecb24e['getZoomRatio']())==null?0x1:_0x116113;}['_handleConnectorPointerUp'](_0x282b2a,_0x434613,_0x47a85a,_0x2d5cec,_0x3890e2){const _0xdd0df=_0x1bf676;this[_0xdd0df(0x1e2)][_0xdd0df(0x421)](),this[_0xdd0df(0x318)][_0xdd0df(0x421)](),this['_sheetShapeAdjustController'][_0xdd0df(0x3b9)]();let _0x463db5=this[_0xdd0df(0x522)];this[_0xdd0df(0x3f9)]['endConnectionDetection']();let _0x42bb47=this[_0xdd0df(0x1d6)](this[_0xdd0df(0x1da)],this[_0xdd0df(0x210)]),_0x5bfa71=this[_0xdd0df(0x303)](this[_0xdd0df(0x1da)],this['_subUnitId']),_0x42293f={'x':_0x47a85a[_0xdd0df(0x4a6)]/_0x5bfa71+_0x42bb47['x'],'y':_0x47a85a[_0xdd0df(0x45f)]/_0x5bfa71+_0x42bb47['y']},_0x436bed=_0x463db5?_0x463db5[_0xdd0df(0x463)]:_0x42293f,_0x42cddb=_0x2d5cec?this[_0xdd0df(0x465)][_0xdd0df(0x3f2)]():this[_0xdd0df(0x465)]['getStartConnectInfo'](),_0x56376a=this[_0xdd0df(0x465)][_0xdd0df(0x4c7)]();_0x42cddb?this['_handleConnectedEndpointPointerUp'](_0x42cddb,_0x436bed,_0x2d5cec,_0x463db5,_0x3890e2):this['_handleFreeEndpointPointerUp'](_0x434613,_0x436bed,_0x2d5cec,_0x463db5,_0x3890e2,_0x56376a),this[_0xdd0df(0x1df)]=!0x1,this[_0xdd0df(0x396)]=!0x1,this[_0xdd0df(0x522)]=null,_0x282b2a[_0xdd0df(0x3ca)]();}[_0x1bf676(0x310)](_0x166a00,_0x255df7,_0x3bcc1b,_0x17124a,_0x47f675,_0x144b0f){const _0x3e517c=_0x1bf676;let _0x117362=_0x144b0f===u[_0x3e517c(0x670)][_0x3e517c(0x4d3)]||_0x144b0f===u[_0x3e517c(0x670)][_0x3e517c(0x3f3)],_0x45ad96=_0x3bcc1b?_0x255df7:_0x166a00,_0x9d9e17=_0x3bcc1b?_0x166a00:_0x255df7,_0x342131=this[_0x3e517c(0x465)][_0x3e517c(0x3ea)](),_0x2874af=(0x0,u['isCurvedConnectorShape'])(this[_0x3e517c(0x465)][_0x3e517c(0x4c7)]()),_0x1bf787=u[_0x3e517c(0x327)][_0x3e517c(0x4ec)](_0x342131,_0x2874af),_0xb574d5=_0x117362?u[_0x3e517c(0x327)][_0x3e517c(0x2f1)](_0x45ad96,_0x9d9e17):u[_0x3e517c(0x327)][_0x3e517c(0x5e2)](_0x166a00,_0x255df7,_0x3bcc1b,_0x1bf787);_0x17124a?this[_0x3e517c(0x3b8)](_0xb574d5,_0x17124a,_0x3bcc1b,_0x47f675):this[_0x3e517c(0x64f)](_0xb574d5,_0x47f675);}[_0x1bf676(0x551)](_0x2cd8da,_0x5c8df5,_0x1306cd,_0xa831c2,_0x5f001f){const _0x607c97=_0x1bf676;let _0x503fb8=this['_getConnectPointInfo'](_0x2cd8da);if(!_0x503fb8)return;let _0x5433f0=_0xa831c2?_0xa831c2[_0x607c97(0x3fe)]:this[_0x607c97(0x291)](_0x503fb8['point'],_0x5c8df5),_0x4c0ce6;if(_0xa831c2){let _0x211ebe=this[_0x607c97(0x673)][_0x607c97(0x300)]({'unitId':_0xa831c2[_0x607c97(0x3c1)],'subUnitId':_0xa831c2[_0x607c97(0x5d0)],'drawingId':_0xa831c2[_0x607c97(0x4b9)]});if(_0x211ebe!=null&&_0x211ebe[_0x607c97(0x577)]){let {left:_0x409a26=0x0,top:_0x414bd6=0x0,width:_0x259822=0x0,height:_0x4d05b3=0x0,angle:_0x484ba5}=_0x211ebe[_0x607c97(0x577)];_0x4c0ce6=(0x0,u[_0x607c97(0x56c)])({'left':_0x409a26,'top':_0x414bd6,'width':_0x259822,'height':_0x4d05b3},_0x484ba5||0x0);}else _0x4c0ce6={'left':_0x5c8df5['x'],'top':_0x5c8df5['y'],'width':0x0,'height':0x0};}else _0x4c0ce6={'left':_0x5c8df5['x'],'top':_0x5c8df5['y'],'width':0x0,'height':0x0};let _0x5abd41={'point':_0x5c8df5,'angle':_0x5433f0,'bounds':_0x4c0ce6},_0x454417=_0x1306cd?_0x5abd41:_0x503fb8,_0x431306=_0x1306cd?_0x503fb8:_0x5abd41,_0x4fdd3c=this[_0x607c97(0x465)][_0x607c97(0x4c7)](),_0x2ad2cd=(0x0,u[_0x607c97(0x5ca)])(_0x454417,_0x431306,_0x4fdd3c);this[_0x607c97(0x465)][_0x607c97(0x28a)]();let _0x1e2645=(0x0,u[_0x607c97(0x4c0)])(_0x2ad2cd,_0x4fdd3c);_0xa831c2?this[_0x607c97(0x516)](_0x1e2645,_0xa831c2,_0x2cd8da,_0x1306cd,_0x5f001f):this[_0x607c97(0x3e4)](_0x1e2645,_0x2cd8da,_0x1306cd,_0x5f001f);}['_executeConnectionCommand'](_0x27c292,_0x5d0ef2,_0x22f84a,_0x459515){const _0xeb0237=_0x1bf676;let _0x38a4a7=this['_activeShapeModel'][_0xeb0237(0x2e3)]()[_0xeb0237(0x492)],_0x47a3fb={..._0x38a4a7},_0x12ea43={'shapeId':_0x5d0ef2[_0xeb0237(0x4b9)],'cxnIndex':_0x5d0ef2[_0xeb0237(0x3b4)]};_0x22f84a?_0x47a3fb[_0xeb0237(0x58b)]=_0x12ea43:_0x47a3fb['to']=_0x12ea43;let _0x1785f2=this[_0xeb0237(0x465)]['getShapeType'](),_0x3252b3=(0x0,u[_0xeb0237(0x4c0)])(_0x27c292[_0xeb0237(0x1fa)],_0x1785f2),_0x5e1755={'unitId':this[_0xeb0237(0x1da)],'subUnitId':this[_0xeb0237(0x210)],'connectorShapeId':this[_0xeb0237(0x488)],'width':_0x27c292['worldRect'][_0xeb0237(0x5e7)],'height':_0x27c292['worldRect']['height'],'left':_0x27c292[_0xeb0237(0x2d5)][_0xeb0237(0x305)],'top':_0x27c292[_0xeb0237(0x2d5)][_0xeb0237(0x447)],'flipX':_0x27c292[_0xeb0237(0x2d5)]['flipX']||!0x1,'flipY':_0x27c292[_0xeb0237(0x2d5)][_0xeb0237(0x4f5)]||!0x1,'newAdjustValues':_0x3252b3[_0xeb0237(0x33a)],'oldAdjustValues':_0x459515,'oldRelation':_0x38a4a7,'newRelation':_0x47a3fb,'newLineType':_0x3252b3[_0xeb0237(0x605)],'oldLineType':_0x1785f2};this[_0xeb0237(0x604)][_0xeb0237(0x2e7)](e[_0xeb0237(0x606)]['id'],_0x5e1755);}[_0x1bf676(0x64f)](_0x4a084a,_0x5b44f9){const _0x14fc05=_0x1bf676;let _0x1188ed=this[_0x14fc05(0x465)][_0x14fc05(0x4c7)](),_0x2abdf1=(0x0,u['computeConnectorRouteLayout'])(_0x4a084a[_0x14fc05(0x1fa)],_0x1188ed),_0xa484c7={'unitId':this[_0x14fc05(0x1da)],'subUnitId':this[_0x14fc05(0x210)],'shapeId':this[_0x14fc05(0x488)],'width':_0x4a084a[_0x14fc05(0x2d5)][_0x14fc05(0x5e7)],'height':_0x4a084a['worldRect'][_0x14fc05(0x4f4)],'left':_0x4a084a[_0x14fc05(0x2d5)][_0x14fc05(0x305)],'top':_0x4a084a[_0x14fc05(0x2d5)][_0x14fc05(0x447)],'flipX':_0x4a084a['worldRect']['flipX']||!0x1,'flipY':_0x4a084a['worldRect'][_0x14fc05(0x4f5)]||!0x1,'angle':_0x4a084a[_0x14fc05(0x2d5)][_0x14fc05(0x3fe)]||0x0,'newAdjustValues':_0x2abdf1[_0x14fc05(0x33a)],'oldAdjustValues':_0x5b44f9,'newLineType':_0x2abdf1[_0x14fc05(0x605)],'oldLineType':_0x1188ed};this[_0x14fc05(0x604)][_0x14fc05(0x2e7)](e['UpdateLineShapeResizeCommand']['id'],_0xa484c7);}['_executeConnectedRouteConnectionCommand'](_0x4789b4,_0x898ea0,_0x126484,_0x1315fe,_0xf52653){const _0x25e86f=_0x1bf676;let _0x1da657=this[_0x25e86f(0x465)]['getShapeData']()[_0x25e86f(0x492)],_0x2ac5bb={..._0x1da657},_0x83f4ea={'shapeId':_0x898ea0[_0x25e86f(0x4b9)],'cxnIndex':_0x898ea0[_0x25e86f(0x3b4)]};_0x1315fe?(_0x2ac5bb['from']=_0x83f4ea,_0x2ac5bb['to']=_0x126484):(_0x2ac5bb[_0x25e86f(0x58b)]=_0x126484,_0x2ac5bb['to']=_0x83f4ea);let _0x24f484={'unitId':this[_0x25e86f(0x1da)],'subUnitId':this['_subUnitId'],'connectorShapeId':this[_0x25e86f(0x488)],'width':_0x4789b4[_0x25e86f(0x2d5)][_0x25e86f(0x5e7)],'height':_0x4789b4[_0x25e86f(0x2d5)][_0x25e86f(0x4f4)],'left':_0x4789b4[_0x25e86f(0x2d5)]['left'],'top':_0x4789b4[_0x25e86f(0x2d5)]['top'],'flipX':_0x4789b4['worldRect']['flipX']||!0x1,'flipY':_0x4789b4['worldRect'][_0x25e86f(0x4f5)]||!0x1,'oldAdjustValues':_0xf52653,'newAdjustValues':_0x4789b4[_0x25e86f(0x33a)],'newLineType':_0x4789b4['lineType'],'rotation':_0x4789b4[_0x25e86f(0x235)],'oldRelation':_0x1da657,'newRelation':_0x2ac5bb};this[_0x25e86f(0x604)]['executeCommand'](e[_0x25e86f(0x606)]['id'],_0x24f484);}[_0x1bf676(0x3e4)](_0x33a4b6,_0x115994,_0x51865e,_0x4a8e7c){const _0x2e43f2=_0x1bf676;let _0x22b75a=this['_activeShapeModel']['getShapeData']()[_0x2e43f2(0x492)],_0x16facc={};_0x51865e?(_0x16facc['to']=_0x115994,_0x16facc[_0x2e43f2(0x58b)]=void 0x0):(_0x16facc['from']=_0x115994,_0x16facc['to']=void 0x0);let _0xcf7958={'unitId':this['_unitId'],'subUnitId':this[_0x2e43f2(0x210)],'connectorShapeId':this[_0x2e43f2(0x488)],'width':_0x33a4b6[_0x2e43f2(0x2d5)][_0x2e43f2(0x5e7)],'height':_0x33a4b6[_0x2e43f2(0x2d5)][_0x2e43f2(0x4f4)],'left':_0x33a4b6[_0x2e43f2(0x2d5)][_0x2e43f2(0x305)],'top':_0x33a4b6[_0x2e43f2(0x2d5)]['top'],'flipX':_0x33a4b6[_0x2e43f2(0x2d5)][_0x2e43f2(0x334)]||!0x1,'flipY':_0x33a4b6[_0x2e43f2(0x2d5)][_0x2e43f2(0x4f5)]||!0x1,'oldAdjustValues':_0x4a8e7c,'newAdjustValues':_0x33a4b6[_0x2e43f2(0x33a)],'newLineType':_0x33a4b6['lineType'],'rotation':_0x33a4b6[_0x2e43f2(0x235)],'oldRelation':_0x22b75a,'newRelation':_0x16facc};this[_0x2e43f2(0x604)][_0x2e43f2(0x2e7)](e[_0x2e43f2(0x606)]['id'],_0xcf7958);}['_attachConnectorObjectEvent'](_0x376311,_0x5930f8,_0xb594d8){const _0xbb599d=_0x1bf676;this[_0xbb599d(0x38d)]((0x0,t[_0xbb599d(0x4c2)])(_0x376311[_0xbb599d(0x319)][_0xbb599d(0x59b)]((_0x516122,_0x1398f2)=>{const _0xb82983=_0xbb599d;let _0x19f521=_0x376311[_0xb82983(0x206)]();if(this[_0xb82983(0x465)]=this[_0xb82983(0x54a)][_0xb82983(0x655)](_0x19f521[_0xb82983(0x3c1)],_0x19f521[_0xb82983(0x5d0)],_0x19f521[_0xb82983(0x45c)]),!this[_0xb82983(0x465)])return;let _0x4dfb91={};this[_0xb82983(0x465)][_0xb82983(0x42e)]()['forEach'](_0x6c7d29=>{const _0x1db5c0=_0xb82983;let _0x5f3fae=this['_activeShapeModel'][_0x1db5c0(0x3b2)](_0x6c7d29);_0x5f3fae!==void 0x0&&(_0x4dfb91[_0x6c7d29]=_0x5f3fae);});let _0x428080=this[_0xb82983(0x2ac)]();if(!_0x428080)return;this[_0xb82983(0x383)]={..._0x428080};let _0x4575ac=new u[(_0xb82983(0x327))](this[_0xb82983(0x383)]),_0x595e1f=(0x0,a[_0xb82983(0x205)])({'unitId':this[_0xb82983(0x1da)],'subUnitId':this[_0xb82983(0x210)],'drawingId':this[_0xb82983(0x488)]}),_0x2c99d1=_0x5930f8[_0xb82983(0x5d3)](_0x595e1f);this['_isConnecting']=!0x0,_0x5930f8[_0xb82983(0x45b)](),this[_0xb82983(0x3f9)][_0xb82983(0x4ed)](_0x5930f8,this[_0xb82983(0x1da)],this[_0xb82983(0x210)],this[_0xb82983(0x488)]),this['_currentConnectionTarget']=null;let _0x32ca28=this[_0xb82983(0x465)][_0xb82983(0x3ea)](),_0xd3ad5d=_0x32ca28[0x0],_0x2e5d23=_0x32ca28[_0x32ca28[_0xb82983(0x2cd)]-0x1],_0x4042eb=_0xb594d8?_0x4575ac[_0xb82983(0x502)](_0x2e5d23):_0x4575ac[_0xb82983(0x502)](_0xd3ad5d);this['_cxtHandlerPointerMove']=_0x5930f8['onPointerMove$'][_0xb82983(0x59b)]((_0x22eadf,_0x3a6396)=>{const _0x4e8e76=_0xb82983;if(!this[_0x4e8e76(0x1df)]||!this['_activeShapeModel'])return;this['_hasReset']||(this[_0x4e8e76(0x3c6)][_0x4e8e76(0x243)](),this[_0x4e8e76(0x465)][_0x4e8e76(0x231)](),this[_0x4e8e76(0x396)]=!0x0);let _0x21f3fd=this[_0x4e8e76(0x1d6)](this[_0x4e8e76(0x1da)],this[_0x4e8e76(0x210)]),_0x843ab5=this['_getZoomRatio'](this[_0x4e8e76(0x1da)],this[_0x4e8e76(0x210)]),_0x145e06={'x':_0x22eadf[_0x4e8e76(0x4a6)]/_0x843ab5+_0x21f3fd['x'],'y':_0x22eadf['offsetY']/_0x843ab5+_0x21f3fd['y']},_0x3fc4c6=this['_sheetBasicShapeConnectionPointController'][_0x4e8e76(0x255)](_0x145e06);if(_0x3fc4c6){let {shapeId:_0x409c3d,unitId:_0x9b8ae6,subUnitId:_0x5a59e4}=_0x3fc4c6;if(_0x409c3d&&_0x9b8ae6&&_0x5a59e4){let _0x544de8=(0x0,a[_0x4e8e76(0x205)])({'unitId':_0x9b8ae6,'subUnitId':_0x5a59e4,'drawingId':_0x409c3d});_0x3fc4c6[_0x4e8e76(0x3fe)]=(_0x5930f8[_0x4e8e76(0x5d3)](_0x544de8)['angle']||0x0)+_0x3fc4c6[_0x4e8e76(0x3fe)];}}this[_0x4e8e76(0x522)]=_0x3fc4c6;let _0x207a45=_0xb594d8?this[_0x4e8e76(0x465)][_0x4e8e76(0x3f2)]():this[_0x4e8e76(0x465)][_0x4e8e76(0x2da)]();if(_0x207a45){this[_0x4e8e76(0x557)](_0x207a45,_0x145e06,_0xb594d8,_0x2c99d1,_0x376311);return;}this[_0x4e8e76(0x366)](_0x145e06,_0x4042eb,_0xb594d8,_0x2c99d1,_0x376311);}),this[_0xb82983(0x318)]=_0x5930f8['onPointerUp$']['subscribeEvent']((_0x421baf,_0x379789)=>{const _0x300623=_0xb82983;this[_0x300623(0x51e)](_0x5930f8,_0x4042eb,_0x421baf,_0xb594d8,_0x4dfb91);}),_0x1398f2[_0xb82983(0x5dd)]();})));}['_handleBasicShapeUpdateConnectorLineShape'](_0x3b55d2,_0x2e67fc,_0x357adf){const _0x4c0935=_0x1bf676;let _0x47a5ba=this[_0x4c0935(0x54a)][_0x4c0935(0x311)](_0x3b55d2,_0x2e67fc,_0x357adf);if(!_0x47a5ba||_0x47a5ba[_0x4c0935(0x2cd)]===0x0)return;let _0x448d61=this[_0x4c0935(0x1e3)][_0x4c0935(0x4bf)](_0x3b55d2);if(!_0x448d61)return;let {scene:_0x418d71}=_0x448d61;for(let _0x2f77bf of _0x47a5ba){let _0x3ebb16=_0x2f77bf[_0x4c0935(0x27a)],_0x177ab2=this['_sheetsShapeService'][_0x4c0935(0x655)](_0x3b55d2,_0x2e67fc,_0x3ebb16);if(!_0x177ab2)continue;let _0x43dbfd=_0x177ab2['getStartConnectInfo'](),_0x12cbb6=_0x177ab2['getEndConnectInfo'](),_0x5c7299=(_0x43dbfd==null?void 0x0:_0x43dbfd[_0x4c0935(0x4b9)])===_0x357adf,_0x41b8f1=(0x0,a['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x3b55d2,'subUnitId':_0x2e67fc,'drawingId':_0x3ebb16}),_0x5565e8=_0x418d71['getObjectIncludeInGroup'](_0x41b8f1);if(!_0x5565e8)continue;let _0x4dd038=this[_0x4c0935(0x673)]['getDrawingByParam']({'unitId':_0x3b55d2,'subUnitId':_0x2e67fc,'drawingId':_0x3ebb16});_0x4dd038!=null&&_0x4dd038[_0x4c0935(0x577)]&&(_0x43dbfd&&_0x12cbb6?this[_0x4c0935(0x253)](_0x3b55d2,_0x2e67fc,_0x3ebb16,_0x177ab2,_0x43dbfd,_0x12cbb6,_0x5565e8):this[_0x4c0935(0x239)](_0x3b55d2,_0x2e67fc,_0x3ebb16,_0x177ab2,_0x5c7299?_0x43dbfd:_0x12cbb6,_0x5c7299,_0x4dd038,_0x5565e8));}}[_0x1bf676(0x253)](_0x59d223,_0xadca44,_0x23cdee,_0x165e6f,_0x6018ec,_0xe48f1c,_0x43825f){const _0x289592=_0x1bf676;let _0x5364c3=this[_0x289592(0x1da)],_0x3e159c=this[_0x289592(0x210)];this[_0x289592(0x1da)]=_0x59d223,this['_subUnitId']=_0xadca44;let _0x4dcd9d=this[_0x289592(0x55f)](_0x6018ec),_0x43fb42=this[_0x289592(0x55f)](_0xe48f1c);if(this['_unitId']=_0x5364c3,this['_subUnitId']=_0x3e159c,!_0x4dcd9d||!_0x43fb42)return;let _0x2e57db=_0x165e6f[_0x289592(0x4c7)](),_0x4e0e64=(0x0,u[_0x289592(0x5ca)])(_0x4dcd9d,_0x43fb42,_0x2e57db);_0x4e0e64&&_0x165e6f[_0x289592(0x41f)](_0x4e0e64);let _0x518133=(0x0,u[_0x289592(0x4c0)])(_0x4e0e64,_0x2e57db);_0x518133[_0x289592(0x605)]!==_0x2e57db&&_0x165e6f[_0x289592(0x57d)](_0x518133[_0x289592(0x605)]),_0x165e6f['clearAdjustValue']();for(let [_0x336de2,_0x1b1576]of Object[_0x289592(0x4a2)](_0x518133[_0x289592(0x33a)]))_0x165e6f['setAdjustValueByName'](_0x336de2,_0x1b1576);_0x165e6f[_0x289592(0x1fe)]({'width':_0x518133[_0x289592(0x2d5)][_0x289592(0x5e7)],'height':_0x518133[_0x289592(0x2d5)][_0x289592(0x4f4)]}),_0x43825f[_0x289592(0x2fd)]({'flipX':_0x518133[_0x289592(0x2d5)]['flipX'],'flipY':_0x518133[_0x289592(0x2d5)][_0x289592(0x4f5)],'left':_0x518133['worldRect'][_0x289592(0x305)],'top':_0x518133['worldRect'][_0x289592(0x447)],'width':_0x518133[_0x289592(0x2d5)][_0x289592(0x5e7)],'height':_0x518133[_0x289592(0x2d5)][_0x289592(0x4f4)],'angle':_0x518133[_0x289592(0x235)]}),_0x165e6f['removeLinePoints']();}[_0x1bf676(0x239)](_0x4d9347,_0x176a80,_0x12e45d,_0x4af2e3,_0x4450e1,_0x2e842a,_0x59311e,_0x1e4307){const _0x2dffd1=_0x1bf676;let _0xd7b048=this[_0x2dffd1(0x1da)],_0x857644=this[_0x2dffd1(0x210)];this[_0x2dffd1(0x1da)]=_0x4d9347,this[_0x2dffd1(0x210)]=_0x176a80;let _0x76928e=this[_0x2dffd1(0x55f)](_0x4450e1);if(this[_0x2dffd1(0x1da)]=_0xd7b048,this[_0x2dffd1(0x210)]=_0x857644,!_0x76928e)return;let {left:_0x35c49b=0x0,top:_0x5c3add=0x0,width:_0x5851fc=0x0,height:_0x15647d=0x0,flipX:_0xc969d5=!0x1,flipY:_0x413113=!0x1}=_0x59311e['transform'],_0x384d71=_0x4af2e3[_0x2dffd1(0x3ea)]();if(_0x384d71[_0x2dffd1(0x2cd)]<0x2)return;let _0x510b96=new u[(_0x2dffd1(0x327))]({'left':_0x35c49b,'top':_0x5c3add,'width':_0x5851fc,'height':_0x15647d,'flipX':_0xc969d5,'flipY':_0x413113}),_0x3c717d=_0x2e842a?_0x384d71[_0x384d71[_0x2dffd1(0x2cd)]-0x1]:_0x384d71[0x0],_0x3240f9=_0x510b96['localToWorld'](_0x3c717d),_0x4675fe=u[_0x2dffd1(0x327)][_0x2dffd1(0x5e2)](_0x3240f9,_0x76928e[_0x2dffd1(0x48e)],!_0x2e842a);_0x1e4307['transformByState']({'flipX':_0x4675fe['worldRect'][_0x2dffd1(0x334)],'flipY':_0x4675fe[_0x2dffd1(0x2d5)][_0x2dffd1(0x4f5)],'left':_0x4675fe[_0x2dffd1(0x2d5)][_0x2dffd1(0x305)],'top':_0x4675fe[_0x2dffd1(0x2d5)][_0x2dffd1(0x447)],'width':_0x4675fe[_0x2dffd1(0x2d5)][_0x2dffd1(0x5e7)],'height':_0x4675fe[_0x2dffd1(0x2d5)][_0x2dffd1(0x4f4)],'angle':_0x4675fe[_0x2dffd1(0x2d5)]['angle']}),_0x1e4307[_0x2dffd1(0x664)](!0x0);}[_0x1bf676(0x374)](){const _0x1125f9=_0x1bf676;this[_0x1125f9(0x302)][_0x1125f9(0x2cd)]!==0x0&&(this[_0x1125f9(0x302)][_0x1125f9(0x5ae)](_0x5be270=>{_0x5be270['dispose']();}),this[_0x1125f9(0x302)]=[]);}[_0x1bf676(0x329)](){const _0x2ecd9b=_0x1bf676;let _0x454683=this[_0x2ecd9b(0x5c9)][_0x2ecd9b(0x662)](t['UniverInstanceType'][_0x2ecd9b(0x280)]);this[_0x2ecd9b(0x38d)](_0x454683[_0x2ecd9b(0x5aa)]((0x0,i[_0x2ecd9b(0x4f7)])(_0x3a2e37=>_0x3a2e37?_0x3a2e37[_0x2ecd9b(0x2fb)][_0x2ecd9b(0x5aa)]((0x0,i['switchMap'])(_0x290472=>{const _0x298d0d=_0x2ecd9b;if(!_0x290472)return i[_0x298d0d(0x4b0)];let _0xb9be21=_0x3a2e37[_0x298d0d(0x34a)](),_0x26160d=this[_0x298d0d(0x1e3)][_0x298d0d(0x4bf)](_0xb9be21),_0xea516c=_0x26160d==null?void 0x0:_0x26160d['scene'];return _0xea516c?(0x0,i['of'])(_0xea516c):i['EMPTY'];})):i[_0x2ecd9b(0x4b0)]))[_0x2ecd9b(0x4e6)](_0x4f9128=>{const _0x361f7f=_0x2ecd9b;let _0x1b6527=_0x4f9128[_0x361f7f(0x564)]();this[_0x361f7f(0x38d)](_0x4f9128[_0x361f7f(0x236)]['subscribeEvent'](_0x2d979e=>{const _0x513a44=_0x361f7f;this['_isDrawingShapePointDown']&&this[_0x513a44(0x488)]&&this['_clearShapeConnectorHandlerObjects']();})),this[_0x361f7f(0x38d)](_0x1b6527[_0x361f7f(0x51b)][_0x361f7f(0x4e6)](_0x2efcf3=>{const _0x315b9f=_0x361f7f;let {objects:_0x3b0b39}=_0x2efcf3;this['_clearShapeConnectorHandlerObjects'](),_0x3b0b39!==null&&_0x3b0b39[_0x315b9f(0x2f5)]===0x1&&_0x3b0b39[_0x315b9f(0x562)]()['next']()[_0x315b9f(0x2bb)]instanceof I&&(this[_0x315b9f(0x34e)]=!0x0);})),this[_0x361f7f(0x38d)](_0x1b6527['changing$'][_0x361f7f(0x4e6)](_0xf2bc4=>{const _0x228092=_0x361f7f;this['_isDrawingShapePointDown']&&this[_0x228092(0x374)]();})),this[_0x361f7f(0x38d)](_0x4f9128[_0x361f7f(0x38a)][_0x361f7f(0x59b)](()=>{const _0x482247=_0x361f7f;this[_0x482247(0x34e)]&&(this[_0x482247(0x34e)]=!0x1,this[_0x482247(0x66c)]());})),this[_0x361f7f(0x38d)](_0x1b6527[_0x361f7f(0x586)]['subscribe'](()=>{const _0x528d29=_0x361f7f;this[_0x528d29(0x1da)]&&this[_0x528d29(0x210)]&&this['_activeShapeId']&&this[_0x528d29(0x673)][_0x528d29(0x300)]({'unitId':this[_0x528d29(0x1da)],'subUnitId':this[_0x528d29(0x210)],'drawingId':this[_0x528d29(0x488)]})&&(this[_0x528d29(0x374)](),this['_addShapeConnectorHandlerObjects']());}));}));}[_0x1bf676(0x2a8)](){const _0x580589=_0x1bf676;this['disposeWithMe'](this[_0x580589(0x673)][_0x580589(0x4c8)][_0x580589(0x4e6)](_0x47829c=>{const _0x5b47b4=_0x580589;if(_0x47829c[_0x5b47b4(0x2cd)]===0x1){let _0x49263e=_0x47829c[0x0];if(_0x49263e['drawingType']===t[_0x5b47b4(0x45e)]['DRAWING_SHAPE']){let _0x5e3525=this[_0x5b47b4(0x54a)]['getShapeModel'](_0x49263e[_0x5b47b4(0x3c1)],_0x49263e['subUnitId'],_0x49263e[_0x5b47b4(0x45c)]);if(_0x5e3525&&(0x0,u['isConnectorShape'])(_0x5e3525[_0x5b47b4(0x4c7)]())){this['_activeShapeId']=_0x49263e[_0x5b47b4(0x45c)],this[_0x5b47b4(0x1da)]=_0x49263e['unitId'],this['_subUnitId']=_0x49263e['subUnitId'],this[_0x5b47b4(0x374)](),this[_0x5b47b4(0x66c)]();return;}}}this[_0x5b47b4(0x488)]=void 0x0,this[_0x5b47b4(0x1da)]=void 0x0,this[_0x5b47b4(0x210)]=void 0x0,this[_0x5b47b4(0x374)]();})),this[_0x580589(0x38d)](this['_drawingManagerService']['update$'][_0x580589(0x4e6)](_0x111b14=>{const _0xebb6d4=_0x580589;if(_0x111b14[_0xebb6d4(0x2cd)]===0x1){var _0x151d99;let _0x276610=_0x111b14[0x0],_0x521a3c=(_0x151d99=this[_0xebb6d4(0x673)][_0xebb6d4(0x300)](_0x276610))==null?void 0x0:_0x151d99[_0xebb6d4(0x24b)];_0x521a3c===t['DrawingTypeEnum'][_0xebb6d4(0x2f9)]&&_0x276610[_0xebb6d4(0x45c)]===this['_activeShapeId']?(this[_0xebb6d4(0x374)](),this['_addShapeConnectorHandlerObjects']()):!this[_0xebb6d4(0x488)]&&_0x521a3c===t[_0xebb6d4(0x45e)]['DRAWING_SHAPE']&&this[_0xebb6d4(0x3da)](_0x276610[_0xebb6d4(0x3c1)],_0x276610[_0xebb6d4(0x5d0)],_0x276610[_0xebb6d4(0x45c)]);}})),this[_0x580589(0x38d)](this[_0x580589(0x673)][_0x580589(0x2be)][_0x580589(0x4e6)](_0x1fb1ba=>{const _0x1175a5=_0x580589;for(let _0xb68ef9 of _0x1fb1ba){let {drawingId:_0x5357f9}=_0xb68ef9;if(this[_0x1175a5(0x488)]===_0x5357f9){this[_0x1175a5(0x50a)]();return;}}}));}['_handleConnectedEndpointMove'](_0x2dffb0,_0x337900,_0x589647,_0x34fe46,_0x2905d2){const _0x16b3e2=_0x1bf676;var _0x3593bf,_0x5f5ca1;if(!this['_activeShapeModel'])return;let _0x5a1c46=this[_0x16b3e2(0x55f)](_0x2dffb0);if(!_0x5a1c46)return;let _0x3e0600=this[_0x16b3e2(0x522)]?this[_0x16b3e2(0x522)][_0x16b3e2(0x463)]:_0x337900,_0x190989=this[_0x16b3e2(0x522)]?this[_0x16b3e2(0x522)][_0x16b3e2(0x3fe)]:this[_0x16b3e2(0x291)](_0x5a1c46['point'],_0x3e0600),_0x32dc62;if(this[_0x16b3e2(0x522)]){let _0x4df28f=this[_0x16b3e2(0x673)][_0x16b3e2(0x300)]({'unitId':this[_0x16b3e2(0x522)][_0x16b3e2(0x3c1)],'subUnitId':this[_0x16b3e2(0x522)][_0x16b3e2(0x5d0)],'drawingId':this['_currentConnectionTarget'][_0x16b3e2(0x4b9)]});if(_0x4df28f!=null&&_0x4df28f[_0x16b3e2(0x577)]){let {left:_0x2ac840=0x0,top:_0x8550e=0x0,width:_0x445f9e=0x0,height:_0x5bd725=0x0,angle:_0xf9ae52}=_0x4df28f[_0x16b3e2(0x577)];_0x32dc62=(0x0,u[_0x16b3e2(0x56c)])({'left':_0x2ac840,'top':_0x8550e,'width':_0x445f9e,'height':_0x5bd725},_0xf9ae52||0x0);}else _0x32dc62={'left':_0x3e0600['x'],'top':_0x3e0600['y'],'width':0x0,'height':0x0};}else _0x32dc62={'left':_0x3e0600['x'],'top':_0x3e0600['y'],'width':0x0,'height':0x0};let _0x34a1bd={'point':_0x3e0600,'angle':_0x190989,'bounds':_0x32dc62},_0x46014b=_0x589647?_0x34a1bd:_0x5a1c46,_0x1f383a=_0x589647?_0x5a1c46:_0x34a1bd,_0xb57283=this[_0x16b3e2(0x465)][_0x16b3e2(0x4c7)](),_0x3f8c65=(0x0,u[_0x16b3e2(0x5ca)])(_0x46014b,_0x1f383a,_0xb57283);_0x3f8c65&&this['_activeShapeModel'][_0x16b3e2(0x41f)](_0x3f8c65);let _0x2701f2=(0x0,u['computeConnectorRouteLayout'])(_0x3f8c65,_0xb57283);_0x2701f2['lineType']!==_0xb57283&&this[_0x16b3e2(0x465)]['changeShapeType'](_0x2701f2[_0x16b3e2(0x605)]);for(let [_0x4aba16,_0x4f7eba]of Object[_0x16b3e2(0x4a2)](_0x2701f2['adjustValues']))this[_0x16b3e2(0x465)][_0x16b3e2(0x37b)](_0x4aba16,_0x4f7eba);this[_0x16b3e2(0x465)][_0x16b3e2(0x1fe)]({'width':_0x2701f2[_0x16b3e2(0x2d5)][_0x16b3e2(0x5e7)],'height':_0x2701f2['worldRect'][_0x16b3e2(0x4f4)]}),_0x34fe46[_0x16b3e2(0x2fd)]({'flipX':_0x2701f2[_0x16b3e2(0x2d5)][_0x16b3e2(0x334)],'flipY':_0x2701f2['worldRect']['flipY'],'left':_0x2701f2[_0x16b3e2(0x2d5)][_0x16b3e2(0x305)],'top':_0x2701f2[_0x16b3e2(0x2d5)]['top'],'width':_0x2701f2[_0x16b3e2(0x2d5)][_0x16b3e2(0x5e7)],'height':_0x2701f2[_0x16b3e2(0x2d5)][_0x16b3e2(0x4f4)],'angle':_0x2701f2[_0x16b3e2(0x235)]}),_0x34fe46[_0x16b3e2(0x664)](!0x0);let _0x935c9f=(_0x3593bf=(_0x5f5ca1=this[_0x16b3e2(0x522)])==null?void 0x0:_0x5f5ca1[_0x16b3e2(0x463)])==null?_0x337900:_0x3593bf;_0x2905d2[_0x16b3e2(0x2fd)]({'left':_0x935c9f['x']-u[_0x16b3e2(0x42d)][_0x16b3e2(0x52c)],'top':_0x935c9f['y']-u['ShapeDefaultConfig'][_0x16b3e2(0x52c)]});}[_0x1bf676(0x366)](_0x12be9c,_0x5ba124,_0x49e1f0,_0x3a791a,_0xd6c6e7){const _0x47e63a=_0x1bf676;var _0x4c2d40,_0x567357,_0x7a9777,_0x11d39d;let _0x22c9f6=(_0x4c2d40=(_0x567357=this[_0x47e63a(0x522)])==null?void 0x0:_0x567357[_0x47e63a(0x463)])==null?_0x12be9c:_0x4c2d40,_0x244d4f=u['ConnectorCoordinateTransform']['computeConnectorResizeLayout'](_0x5ba124,_0x22c9f6,_0x49e1f0);_0x3a791a[_0x47e63a(0x2fd)]({'flipX':_0x244d4f['worldRect'][_0x47e63a(0x334)],'flipY':_0x244d4f['worldRect'][_0x47e63a(0x4f5)],'left':_0x244d4f[_0x47e63a(0x2d5)][_0x47e63a(0x305)],'top':_0x244d4f['worldRect'][_0x47e63a(0x447)],'width':_0x244d4f[_0x47e63a(0x2d5)][_0x47e63a(0x5e7)],'height':_0x244d4f[_0x47e63a(0x2d5)][_0x47e63a(0x4f4)],'angle':_0x244d4f['worldRect']['angle']});let _0xfc5ac6=(_0x7a9777=(_0x11d39d=this[_0x47e63a(0x522)])==null?void 0x0:_0x11d39d[_0x47e63a(0x463)])==null?_0x12be9c:_0x7a9777;_0xd6c6e7[_0x47e63a(0x2fd)]({'left':_0xfc5ac6['x']-u['ShapeDefaultConfig'][_0x47e63a(0x52c)],'top':_0xfc5ac6['y']-u['ShapeDefaultConfig'][_0x47e63a(0x52c)]});}[_0x1bf676(0x55f)](_0x178f58){const _0x3420b5=_0x1bf676;if(!this[_0x3420b5(0x1da)]||!this[_0x3420b5(0x210)])return null;let {shapeId:_0x2a3665,cxnIndex:_0x3f331a}=_0x178f58,_0x43b86b=this['_sheetsShapeService'][_0x3420b5(0x655)](this[_0x3420b5(0x1da)],this[_0x3420b5(0x210)],_0x2a3665);if(!_0x43b86b)return null;let _0x154916=this[_0x3420b5(0x673)]['getDrawingByParam']({'unitId':this[_0x3420b5(0x1da)],'subUnitId':this[_0x3420b5(0x210)],'drawingId':_0x2a3665});if(!(_0x154916!=null&&_0x154916[_0x3420b5(0x577)]))return null;let {left:_0x27be41=0x0,top:_0x5c527a=0x0,width:_0x11ad54=0x0,height:_0x14cc27=0x0,flipX:_0x47e3a6=!0x1,flipY:_0x16ac06=!0x1,angle:_0x15ab8e}=_0x154916['transform'];_0x43b86b['updateContext']({'width':_0x11ad54,'height':_0x14cc27});let _0x407c19=_0x43b86b[_0x3420b5(0x5ba)]()[_0x3420b5(0x24a)](_0x5eb746=>_0x5eb746[_0x3420b5(0x658)]===_0x3f331a);if(!_0x407c19)return null;let _0x5d748a=_0x47e3a6?_0x11ad54-_0x407c19['x']:_0x407c19['x'],_0x35c341=_0x16ac06?_0x14cc27-_0x407c19['y']:_0x407c19['y'];if(_0x15ab8e!==0x0&&_0x15ab8e!=null){let _0x48fd59=_0x15ab8e*Math['PI']/0xb4,_0x12b714=Math[_0x3420b5(0x2ec)](_0x48fd59),_0x4acac9=Math['sin'](_0x48fd59),_0x4b5b28=_0x11ad54/0x2,_0x2d23bc=_0x14cc27/0x2,_0x2a05a5=_0x5d748a-_0x4b5b28,_0xb7ec30=_0x35c341-_0x2d23bc;_0x5d748a=_0x4b5b28+_0x2a05a5*_0x12b714-_0xb7ec30*_0x4acac9,_0x35c341=_0x2d23bc+_0x2a05a5*_0x4acac9+_0xb7ec30*_0x12b714;}_0x5d748a+=_0x27be41,_0x35c341+=_0x5c527a;let _0x5e03c0=_0x407c19[_0x3420b5(0x481)]/0xea60;_0x47e3a6&&(_0x5e03c0=0xb4-_0x5e03c0),_0x16ac06&&(_0x5e03c0=-_0x5e03c0),_0x5e03c0+=_0x15ab8e||0x0,_0x5e03c0=(_0x5e03c0%0x168+0x168)%0x168;let _0x487046=(0x0,u['getBasicShapeRotateBound'])({'left':_0x27be41,'top':_0x5c527a,'width':_0x11ad54,'height':_0x14cc27},_0x15ab8e||0x0);return{'point':{'x':_0x5d748a,'y':_0x35c341},'angle':_0x5e03c0,'bounds':_0x487046};}['_calculateFreeEndpointAngle'](_0x548c8e,_0x279a3d){const _0x40f7f0=_0x1bf676;let _0x4f594e=_0x279a3d['x']-_0x548c8e['x'],_0x39b9d7=_0x279a3d['y']-_0x548c8e['y'];return Math[_0x40f7f0(0x28f)](_0x4f594e)>=Math[_0x40f7f0(0x28f)](_0x39b9d7)?_0x4f594e>=0x0?0xb4:0x0:_0x39b9d7>=0x0?0x10e:0x5a;}[_0x1bf676(0x50a)](){const _0x53ef14=_0x1bf676;this[_0x53ef14(0x488)]=void 0x0,this[_0x53ef14(0x1da)]=void 0x0,this[_0x53ef14(0x210)]=void 0x0,this['_clearShapeConnectorHandlerObjects']();}[_0x1bf676(0x53f)](){const _0x546057=_0x1bf676;this[_0x546057(0x374)](),super[_0x546057(0x53f)]();}};Z=R([L(0x1,t[_0x1bf676(0x63c)]),L(0x2,o[_0x1bf676(0x4b4)]),L(0x3,a[_0x1bf676(0x5a6)]),L(0x4,t[_0x1bf676(0x247)]),L(0x5,(0x0,t[_0x1bf676(0x589)])(e[_0x1bf676(0x35a)])),L(0x6,(0x0,t[_0x1bf676(0x589)])(B)),L(0x7,(0x0,t[_0x1bf676(0x589)])(Y))],Z);let Q=class extends t[_0x1bf676(0x5b5)]{constructor(_0x1827c1,_0xad7e40,_0xc26968){const _0x554827=_0x1bf676;super(),this['_commandService']=_0x1827c1,this[_0x554827(0x55b)]=_0xad7e40,this[_0x554827(0x642)]=_0xc26968,this['_initPermission']();}['_initPermission'](){const _0x411880=_0x1bf676;this[_0x411880(0x38d)](this[_0x411880(0x604)]['beforeCommandExecuted'](_0x5dc3d6=>{const _0x3dba02=_0x411880;let _0x1219d8,_0x1a7401;if(_0x5dc3d6['id']===e[_0x3dba02(0x414)]['id']||_0x5dc3d6['id']===e[_0x3dba02(0x681)]['id']||_0x5dc3d6['id']===e['UpdateConnectorRelationCommand']['id']){let _0x43c67b=_0x5dc3d6['params'];_0x1219d8=_0x43c67b[_0x3dba02(0x3c1)],_0x1a7401=_0x43c67b[_0x3dba02(0x5d0)];}!_0x1219d8||!_0x1a7401||this[_0x3dba02(0x642)]['permissionCheckWithoutRange']({'workbookTypes':[n[_0x3dba02(0x37c)]],'worksheetTypes':[n[_0x3dba02(0x5c1)]]},_0x1219d8,_0x1a7401)||this['_sheetPermissionCheckController']['blockExecuteWithoutPermission'](this[_0x3dba02(0x55b)]['t'](_0x3dba02(0x3fb)));}));}};Q=R([L(0x0,(0x0,t['Inject'])(t[_0x1bf676(0x63c)])),L(0x1,(0x0,t[_0x1bf676(0x589)])(t[_0x1bf676(0x67e)])),L(0x2,(0x0,t[_0x1bf676(0x589)])(n[_0x1bf676(0x28c)]))],Q);let $=class extends t[_0x1bf676(0x503)]{constructor(_0x109da2=Ce,_0x314c46,_0x4ea808,_0x45767d,_0x2337fd){const _0x5429c1=_0x1bf676;super(),this[_0x5429c1(0x2a9)]=_0x109da2,this[_0x5429c1(0x35b)]=_0x314c46,this['_commandService']=_0x4ea808,this[_0x5429c1(0x28d)]=_0x45767d,this[_0x5429c1(0x1e3)]=_0x2337fd;let {..._0x1c4f1f}=(0x0,t[_0x5429c1(0x54c)])({},Ce,this[_0x5429c1(0x2a9)]);this[_0x5429c1(0x28d)]['setConfig'](_0x5429c1(0x548),_0x1c4f1f),this[_0x5429c1(0x5ec)]();}['onRendered'](){const _0x42ce6f=_0x1bf676;(0x0,t['touchDependencies'])(this[_0x42ce6f(0x35b)],[[U],[W],[z]]);}[_0x1bf676(0x21e)](){const _0x30b76b=_0x1bf676;this[_0x30b76b(0x35b)]['get'](U)['initShapePopupMenu']();}[_0x1bf676(0x27b)](){const _0x104175=_0x1bf676;[[Y],[B],[X]][_0x104175(0x5ae)](_0x414ac0=>this[_0x104175(0x35b)][_0x104175(0x444)](_0x414ac0)),(0x0,t['touchDependencies'])(this[_0x104175(0x35b)],[[X]]),this[_0x104175(0x1e3)]['registerRenderModule'](t[_0x104175(0x683)]['UNIVER_SHEET'],[Y]),this[_0x104175(0x1e3)][_0x104175(0x359)](t[_0x104175(0x683)][_0x104175(0x280)],[B]),this['_renderManagerService'][_0x104175(0x359)](t['UniverInstanceType'][_0x104175(0x280)],[K]),this['_renderManagerService'][_0x104175(0x359)](t[_0x104175(0x683)][_0x104175(0x280)],[Z]),this[_0x104175(0x1e3)][_0x104175(0x359)](t[_0x104175(0x683)][_0x104175(0x280)],[je]),this[_0x104175(0x1e3)][_0x104175(0x359)](t[_0x104175(0x683)][_0x104175(0x2fe)],[J]);}[_0x1bf676(0x630)](){const _0x58bf52=_0x1bf676;this[_0x58bf52(0x35b)][_0x58bf52(0x444)]([G]),this['_injector']['get'](G);let _0x2d9332=this[_0x58bf52(0x35b)];[[U],[W],[z],[C],[q],[H],[Q]][_0x58bf52(0x5ae)](_0x4bad7d=>_0x2d9332[_0x58bf52(0x444)](_0x4bad7d)),(0x0,t['touchDependencies'])(this[_0x58bf52(0x35b)],[[U],[W],[z],[C],[q],[H],[Q]]);}[_0x1bf676(0x5ec)](){const _0x504f8b=_0x1bf676;[V,T,A,E,D,k,O,M,N,j,se]['forEach'](_0x3e7944=>this[_0x504f8b(0x38d)](this[_0x504f8b(0x604)][_0x504f8b(0x337)](_0x3e7944)));}};S($,'type',t[_0x1bf676(0x683)][_0x1bf676(0x280)]),S($,_0x1bf676(0x405),_0x1bf676(0x3d8)),S($,_0x1bf676(0x651),xe),S($,'version',Se),$=R([(0x0,t[_0x1bf676(0x5d5)])(g[_0x1bf676(0x219)],e[_0x1bf676(0x5b3)]),L(0x1,(0x0,t[_0x1bf676(0x589)])(t[_0x1bf676(0x330)])),L(0x2,t[_0x1bf676(0x63c)]),L(0x3,t[_0x1bf676(0x393)]),L(0x4,o['IRenderManagerService'])],$),exports['SetShapeTextFontSizeCommand']=D,exports[_0x1bf676(0x54d)]=k,exports['SetShapeTextFontSizeIncreaseCommand']=O,exports[_0x1bf676(0x63a)]=E,exports['SetShapeTextVerticalAlignCommand']=A,exports[_0x1bf676(0x583)]=j,Object['defineProperty'](exports,_0x1bf676(0x5b4),{'enumerable':!0x0,'get':function(){return U;}}),Object['defineProperty'](exports,_0x1bf676(0x3e5),{'enumerable':!0x0,'get':function(){return $;}}),exports['UpdateShapeDataCommand']=T;