@univerjs-pro/sheets-shape-ui 1.3.1 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/README.md +7 -7
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/index.js +1 -1
  23. package/lib/es/locale/ar-SA.js +1 -1
  24. package/lib/es/locale/ca-ES.js +1 -1
  25. package/lib/es/locale/de-DE.js +1 -1
  26. package/lib/es/locale/en-US.js +1 -1
  27. package/lib/es/locale/es-ES.js +1 -1
  28. package/lib/es/locale/fa-IR.js +1 -1
  29. package/lib/es/locale/fr-FR.js +1 -1
  30. package/lib/es/locale/id-ID.js +1 -1
  31. package/lib/es/locale/it-IT.js +1 -1
  32. package/lib/es/locale/ja-JP.js +1 -1
  33. package/lib/es/locale/ko-KR.js +1 -1
  34. package/lib/es/locale/pl-PL.js +1 -1
  35. package/lib/es/locale/pt-BR.js +1 -1
  36. package/lib/es/locale/ru-RU.js +1 -1
  37. package/lib/es/locale/sk-SK.js +1 -1
  38. package/lib/es/locale/vi-VN.js +1 -1
  39. package/lib/es/locale/zh-CN.js +1 -1
  40. package/lib/es/locale/zh-HK.js +1 -1
  41. package/lib/es/locale/zh-TW.js +1 -1
  42. package/lib/index.js +1 -1
  43. package/lib/locale/ar-SA.js +1 -1
  44. package/lib/locale/ca-ES.js +1 -1
  45. package/lib/locale/de-DE.js +1 -1
  46. package/lib/locale/en-US.js +1 -1
  47. package/lib/locale/es-ES.js +1 -1
  48. package/lib/locale/fa-IR.js +1 -1
  49. package/lib/locale/fr-FR.js +1 -1
  50. package/lib/locale/id-ID.js +1 -1
  51. package/lib/locale/it-IT.js +1 -1
  52. package/lib/locale/ja-JP.js +1 -1
  53. package/lib/locale/ko-KR.js +1 -1
  54. package/lib/locale/pl-PL.js +1 -1
  55. package/lib/locale/pt-BR.js +1 -1
  56. package/lib/locale/ru-RU.js +1 -1
  57. package/lib/locale/sk-SK.js +1 -1
  58. package/lib/locale/vi-VN.js +1 -1
  59. package/lib/locale/zh-CN.js +1 -1
  60. package/lib/locale/zh-HK.js +1 -1
  61. package/lib/locale/zh-TW.js +1 -1
  62. package/lib/types/controllers/sheet-shape-clipboard.controller.d.ts +8 -3
  63. package/lib/types/controllers/sheet-shape-render.controller.d.ts +1 -0
  64. package/lib/types/controllers/sheets-shape-ui-permission.controller.d.ts +3 -2
  65. package/lib/umd/index.js +1 -1
  66. package/lib/umd/locale/ar-SA.js +1 -1
  67. package/lib/umd/locale/ca-ES.js +1 -1
  68. package/lib/umd/locale/de-DE.js +1 -1
  69. package/lib/umd/locale/en-US.js +1 -1
  70. package/lib/umd/locale/es-ES.js +1 -1
  71. package/lib/umd/locale/fa-IR.js +1 -1
  72. package/lib/umd/locale/fr-FR.js +1 -1
  73. package/lib/umd/locale/id-ID.js +1 -1
  74. package/lib/umd/locale/it-IT.js +1 -1
  75. package/lib/umd/locale/ja-JP.js +1 -1
  76. package/lib/umd/locale/ko-KR.js +1 -1
  77. package/lib/umd/locale/pl-PL.js +1 -1
  78. package/lib/umd/locale/pt-BR.js +1 -1
  79. package/lib/umd/locale/ru-RU.js +1 -1
  80. package/lib/umd/locale/sk-SK.js +1 -1
  81. package/lib/umd/locale/vi-VN.js +1 -1
  82. package/lib/umd/locale/zh-CN.js +1 -1
  83. package/lib/umd/locale/zh-HK.js +1 -1
  84. package/lib/umd/locale/zh-TW.js +1 -1
  85. package/package.json +25 -25
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x413c(_0x506b56,_0x1bc734){_0x506b56=_0x506b56-0xfe;const _0x14935e=_0x1493();let _0x413c20=_0x14935e[_0x506b56];return _0x413c20;}(function(_0x2b202e,_0x1fa51a){const _0x4c2c91=_0x413c,_0x29bcdc=_0x2b202e();while(!![]){try{const _0x568c42=parseInt(_0x4c2c91(0x1fa))/0x1+-parseInt(_0x4c2c91(0x2f6))/0x2*(parseInt(_0x4c2c91(0x2e4))/0x3)+-parseInt(_0x4c2c91(0x1b0))/0x4+parseInt(_0x4c2c91(0x1b4))/0x5*(parseInt(_0x4c2c91(0x2af))/0x6)+-parseInt(_0x4c2c91(0x261))/0x7+-parseInt(_0x4c2c91(0x2de))/0x8*(-parseInt(_0x4c2c91(0x151))/0x9)+parseInt(_0x4c2c91(0x24f))/0xa;if(_0x568c42===_0x1fa51a)break;else _0x29bcdc['push'](_0x29bcdc['shift']());}catch(_0x4b0b09){_0x29bcdc['push'](_0x29bcdc['shift']());}}}(_0x1493,0xb6c48),function(_0x1db78b,_0x5ed9b8){const _0x25ec64=_0x413c;typeof exports=='object'&&typeof module<'u'?_0x5ed9b8(exports,require('@univerjs-pro/shape-editor-ui'),require('@univerjs/ui'),require('@univerjs-pro/engine-shape'),require('@univerjs-pro/shape-editor'),require('@univerjs-pro/sheets-shape'),require('@univerjs/core'),require('@univerjs/sheets'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/sheets-ui'),require('rxjs'),require('@univerjs/drawing-ui'),require('@univerjs/design'),require('react/jsx-runtime'),require('@univerjs/sheets-drawing'),require('@univerjs-pro/license'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/sheets-drawing-ui'),require('react')):typeof define==_0x25ec64(0x17e)&&define['amd']?define([_0x25ec64(0x4e0),'@univerjs-pro/shape-editor-ui','@univerjs/ui','@univerjs-pro/engine-shape',_0x25ec64(0x3e0),_0x25ec64(0x31a),_0x25ec64(0x160),_0x25ec64(0x32d),_0x25ec64(0x486),_0x25ec64(0x47f),'@univerjs/sheets-ui',_0x25ec64(0x11c),_0x25ec64(0x15d),'@univerjs/design',_0x25ec64(0x408),_0x25ec64(0x3af),_0x25ec64(0x34f),_0x25ec64(0x34b),_0x25ec64(0x2c1),'@univerjs/sheets-drawing-ui',_0x25ec64(0x125)],_0x5ed9b8):(_0x1db78b=typeof globalThis<'u'?globalThis:_0x1db78b||self,_0x5ed9b8(_0x1db78b[_0x25ec64(0x3b1)]={},_0x1db78b[_0x25ec64(0x15c)],_0x1db78b[_0x25ec64(0x1e7)],_0x1db78b[_0x25ec64(0x368)],_0x1db78b[_0x25ec64(0x3eb)],_0x1db78b[_0x25ec64(0x27f)],_0x1db78b['UniverCore'],_0x1db78b[_0x25ec64(0x374)],_0x1db78b[_0x25ec64(0x4ce)],_0x1db78b[_0x25ec64(0x1df)],_0x1db78b['UniverSheetsUi'],_0x1db78b[_0x25ec64(0x11c)],_0x1db78b['UniverDrawingUi'],_0x1db78b['UniverDesign'],_0x1db78b['React'],_0x1db78b[_0x25ec64(0x489)],_0x1db78b['UniverProLicense'],_0x1db78b[_0x25ec64(0x3fc)],_0x1db78b['UniverDocsUi'],_0x1db78b[_0x25ec64(0x37f)],_0x1db78b[_0x25ec64(0x3bc)]));}(this,function(_0x442ed5,_0x583754,_0x1b3cd1,_0x756c25,_0x41ad7c,_0x111169,_0x3d2575,_0x306a90,_0xf3cf76,_0x610ad8,_0x542241,_0x133625,_0x2114cd,_0x41eb39,_0x1fd74c,_0x20c5a7,_0x477279,_0x14cace,_0xa851c1,_0x51ad4c,_0x5335a7){const _0x1bb2bd=_0x413c;Object['defineProperty'](_0x442ed5,Symbol[_0x1bb2bd(0x361)],{'value':_0x1bb2bd(0x113)});function _0x4a2023(_0x2b36eb,_0x9f3987){const _0x106434=_0x1bb2bd;let _0x27b0e9={};for(let _0x45f001 of Object[_0x106434(0x434)](_0x9f3987)){let _0x3c5ace=_0x9f3987[_0x45f001],_0x578994=_0x2b36eb[_0x45f001];_0x27b0e9[_0x45f001]=_0x578994===void 0x0?void 0x0:typeof _0x3c5ace=='object'&&_0x3c5ace&&!Array[_0x106434(0x15a)](_0x3c5ace)&&typeof _0x578994==_0x106434(0x381)&&_0x578994&&!Array[_0x106434(0x15a)](_0x578994)?_0x4a2023(_0x578994,_0x3c5ace):_0x578994;}return _0x27b0e9;}let _0x28edce={'type':_0x3d2575[_0x1bb2bd(0x481)][_0x1bb2bd(0x228)],'id':_0x1bb2bd(0x1f4),'handler':(_0x1fc315,_0x3a9e13)=>{const _0xe02885=_0x1bb2bd;let _0x129bb4=_0x1fc315[_0xe02885(0x107)](_0x111169[_0xe02885(0x4d3)]),{unitId:_0x5d1308,subUnitId:_0x3715c4,shapeType:_0x3fca52,shapeId:_0x54bbe6,shapeData:_0x3b95a4,replaceShapeData:_0x529e24,oldShapeJSON:_0x2e4787}=_0x3a9e13;if(!_0x129bb4['getShapeModel'](_0x5d1308,_0x3715c4,_0x54bbe6))return!0x1;let _0xaabe8a=_0x1fc315['get'](_0x3d2575[_0xe02885(0x196)]),_0x258e12=_0x1fc315[_0xe02885(0x107)](_0x3d2575[_0xe02885(0x3a2)]),{oldShapeType:_0x47b4d7,oldShapeData:_0x1f0d60={}}=_0x2e4787,_0x3cad07=_0x529e24?_0x1f0d60:_0x4a2023(_0x1f0d60,_0x3b95a4||{}),_0x61ab25={'id':_0x111169[_0xe02885(0x1d6)]['id'],'params':{'unitId':_0x5d1308,'subUnitId':_0x3715c4,'shapeId':_0x54bbe6,'shapeType':_0x3fca52,'shapeData':_0x3b95a4,'replace':_0x529e24}},_0x30f75d={'id':_0x111169[_0xe02885(0x1d6)]['id'],'params':{'unitId':_0x5d1308,'subUnitId':_0x3715c4,'shapeId':_0x54bbe6,'shapeType':_0x47b4d7,'shapeData':_0x3cad07,'replace':_0x529e24}};return _0xaabe8a[_0xe02885(0x2ca)](_0x61ab25['id'],_0x61ab25[_0xe02885(0x4ad)])?(_0x258e12['pushUndoRedo']({'unitID':_0x5d1308,'undoMutations':[_0x30f75d],'redoMutations':[_0x61ab25]}),!0x0):!0x1;}};function _0x5c7f30(_0xf4f3b3,_0x21b69a,_0x3edca2,_0x2bbad3,_0x246f52,_0x11ba6c){const _0x38aa0f=_0x1bb2bd;let _0x343031={'unitId':_0x21b69a,'subUnitId':_0x3edca2,'shapeId':_0x2bbad3,'shapeData':_0x11ba6c,'oldShapeJSON':_0x246f52};return _0xf4f3b3[_0x38aa0f(0x24d)](_0x28edce['id'],_0x343031);}function _0x500b09(_0x4d301d,_0x56c78e,_0x529d79,_0x504745,_0x84ec9b,_0x48e4dc){const _0x22dc04=_0x1bb2bd;let _0x47ee6f={'unitId':_0x56c78e,'subUnitId':_0x529d79,'shapeId':_0x504745,'shapeData':_0x48e4dc,'oldShapeJSON':_0x84ec9b};return _0x4d301d[_0x22dc04(0x24d)](_0x28edce['id'],_0x47ee6f);}function _0x5104ec(_0x41c9df){'@babel/helpers - typeof';const _0x2d8b26=_0x1bb2bd;return _0x5104ec=typeof Symbol=='function'&&typeof Symbol[_0x2d8b26(0x44b)]=='symbol'?function(_0x47c425){return typeof _0x47c425;}:function(_0x5ea785){const _0x1047e2=_0x2d8b26;return _0x5ea785&&typeof Symbol=='function'&&_0x5ea785[_0x1047e2(0x267)]===Symbol&&_0x5ea785!==Symbol['prototype']?_0x1047e2(0x3a7):typeof _0x5ea785;},_0x5104ec(_0x41c9df);}function _0x40d943(_0x5d2706,_0x420805){const _0x2fb0cc=_0x1bb2bd;if(_0x5104ec(_0x5d2706)!=_0x2fb0cc(0x381)||!_0x5d2706)return _0x5d2706;var _0x5354d2=_0x5d2706[Symbol[_0x2fb0cc(0x427)]];if(_0x5354d2!==void 0x0){var _0x1c3c9f=_0x5354d2['call'](_0x5d2706,_0x420805||'default');if(_0x5104ec(_0x1c3c9f)!=_0x2fb0cc(0x381))return _0x1c3c9f;throw TypeError(_0x2fb0cc(0x12f));}return(_0x420805===_0x2fb0cc(0x2b6)?String:Number)(_0x5d2706);}function _0x5102d7(_0x4fa1b1){const _0x589533=_0x1bb2bd;var _0x91a4ab=_0x40d943(_0x4fa1b1,_0x589533(0x2b6));return _0x5104ec(_0x91a4ab)==_0x589533(0x3a7)?_0x91a4ab:_0x91a4ab+'';}function _0x19f136(_0x384f02,_0x5eb137,_0x827681){const _0x4a4e3b=_0x1bb2bd;return(_0x5eb137=_0x5102d7(_0x5eb137))in _0x384f02?Object[_0x4a4e3b(0x2e1)](_0x384f02,_0x5eb137,{'value':_0x827681,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x384f02[_0x5eb137]=_0x827681,_0x384f02;}function _0x21e536(_0x40b7cb,_0x50feda,_0x503364){const _0x19f000=_0x1bb2bd;let _0x26f306={..._0x50feda,'dataModel':{..._0x50feda['dataModel']??{},..._0x503364?{'doc':_0x503364}:null}},_0x2c091c=(0x0,_0x583754[_0x19f000(0x3e8)])(_0x40b7cb,_0x26f306),_0x1051d3=(0x0,_0x583754[_0x19f000(0x3d2)])(_0x2c091c);return{'clip':(0x0,_0x583754[_0x19f000(0x271)])(_0x2c091c,_0x1051d3),'wrapStrategy':_0x1051d3};}var _0x28ba5a=class extends _0x610ad8[_0x1bb2bd(0x3c5)]{constructor(_0x4e22f1,_0x8464b9){const _0x3ebbc8=_0x1bb2bd;super(_0x4e22f1,_0x8464b9),_0x19f136(this,'_hyperLinkRegions',[]),_0x19f136(this,_0x3ebbc8(0x2b8),void 0x0),_0x19f136(this,_0x3ebbc8(0x45a),new _0x583754[(_0x3ebbc8(0x23f))](()=>this[_0x3ebbc8(0x4a5)](!0x0),()=>this[_0x3ebbc8(0x402)]())),_0x19f136(this,_0x3ebbc8(0x186),!0x0),_0x19f136(this,_0x3ebbc8(0x311),_0x3d2575[_0x3ebbc8(0x2d2)]['DRAWING_SHAPE']),_0x19f136(this,'isDrawingObject',!0x0),this[_0x3ebbc8(0x2b8)]={..._0x8464b9},this[_0x3ebbc8(0x45a)][_0x3ebbc8(0x141)](_0x8464b9[_0x3ebbc8(0x318)],_0x8464b9[_0x3ebbc8(0x274)]!==!0x1),this['_init'](),this[_0x3ebbc8(0x402)]();}[_0x1bb2bd(0x433)](){const _0x946057=_0x1bb2bd;this['onTransformChange$'][_0x946057(0x11b)](_0x28fd9e=>{this['_updateSrcRectByTransform'](_0x28fd9e);});}[_0x1bb2bd(0x468)](_0x230347){const _0x4898bf=_0x1bb2bd;this[_0x4898bf(0x2b8)][_0x4898bf(0x4ee)]=_0x230347;}['resolveHyperLinkAt'](_0x17f762){const _0x596557=_0x1bb2bd;if(this[_0x596557(0x2b8)][_0x596557(0x397)])return null;let _0x223f19=this[_0x596557(0x18d)](_0x17f762),{width:_0x11433f,height:_0x3769c5}=this[_0x596557(0x430)]();return(0x0,_0x583754[_0x596557(0x476)])(this[_0x596557(0x2eb)],{'x':(this[_0x596557(0x115)]?-_0x223f19['x']:_0x223f19['x'])+_0x11433f/0x2,'y':_0x223f19['y']+_0x3769c5/0x2});}[_0x1bb2bd(0x1b5)](_0x318200){const _0x5302e9=_0x1bb2bd;this['_props'][_0x5302e9(0x397)]=_0x318200,this[_0x5302e9(0x4a5)](!0x0);}[_0x1bb2bd(0x409)](_0x92e596,_0x597c3e=!0x0){const _0x3e46bc=_0x1bb2bd;this[_0x3e46bc(0x45a)]['setPresentation'](_0x92e596,_0x597c3e),this[_0x3e46bc(0x2b8)]['formulaPresentation']=_0x92e596,this[_0x3e46bc(0x402)](),this[_0x3e46bc(0x4a5)](!0x0);}[_0x1bb2bd(0x402)](){const _0x27c71f=_0x1bb2bd;let _0x23a99f=this['_props'][_0x27c71f(0x184)],_0x3ad8f4=_0x23a99f['getShapeTextData'](),_0x16a3b1=(0x0,_0x583754[_0x27c71f(0x2fa)])(_0x3ad8f4==null?void 0x0:_0x3ad8f4[_0x27c71f(0x33b)]),_0x6bbda4=_0x16a3b1==null?void 0x0:_0x16a3b1[_0x27c71f(0x412)],_0xda6c06=this[_0x27c71f(0x45a)][_0x27c71f(0x1dd)]();if(!_0x6bbda4||_0xda6c06[_0x27c71f(0x40e)]===0x0)return;_0x23a99f[_0x27c71f(0x210)]({'width':this[_0x27c71f(0x181)],'height':this[_0x27c71f(0x1db)]});let _0x4b536a=(0x0,_0x583754[_0x27c71f(0x3c3)])({'documentData':_0xda6c06['map'](_0x222119=>(0x0,_0x41ad7c[_0x27c71f(0x25c)])(_0x6bbda4,_0x222119)),'height':this[_0x27c71f(0x1db)],'shapeData':_0x23a99f[_0x27c71f(0x4d2)](),'textRect':_0x23a99f[_0x27c71f(0x214)]({'left':0x0,'top':0x0,'width':this[_0x27c71f(0x181)],'height':this[_0x27c71f(0x1db)]}),'width':this[_0x27c71f(0x181)]});if(_0x4b536a){var _0x2d640e;this['resize'](_0x4b536a['width'],_0x4b536a[_0x27c71f(0x1db)]),(_0x2d640e=this[_0x27c71f(0x3f8)]())==null||(_0x2d640e=_0x2d640e[_0x27c71f(0x460)]())==null||_0x2d640e[_0x27c71f(0x129)]();}}get['unitId'](){const _0x44e7c5=_0x1bb2bd;return this[_0x44e7c5(0x2b8)][_0x44e7c5(0x26d)];}get['subUnitId'](){const _0x286c69=_0x1bb2bd;return this[_0x286c69(0x2b8)][_0x286c69(0x114)];}['_updateSrcRectByTransform'](_0x30c457){const _0x3157d2=_0x1bb2bd;if(this[_0x3157d2(0x2b8)][_0x3157d2(0x208)]==null||!this['_transformCalculateSrcRect'])return;let {width:_0x3d9e81,height:_0x34c398}=this,{width:_0x27e2b2=0x0,height:_0x5f5829=0x0}=_0x30c457[_0x3157d2(0x31c)],{left:_0xdc2f5a=0x0,top:_0x346cc8=0x0,right:_0x12dd74=0x0,bottom:_0x51e5ca=0x0}=this[_0x3157d2(0x2b8)][_0x3157d2(0x208)],_0xe2ec56=_0xdc2f5a,_0x2af79f=_0x346cc8,_0x31cc31=_0x12dd74,_0xeafa18=_0x51e5ca,_0x5444b5=!0x1;if(_0x27e2b2!==0x0&&_0x27e2b2!==_0x3d9e81){let _0xcabbdb=_0xdc2f5a/_0x27e2b2,_0x169242=_0x12dd74/_0x27e2b2;_0xe2ec56=_0x3d9e81*_0xcabbdb,_0x31cc31=_0x3d9e81*_0x169242,_0x5444b5=!0x0;}if(_0x5f5829!==0x0&&_0x5f5829!==_0x34c398){let _0x327fbb=_0x346cc8/_0x5f5829,_0x3487fb=_0x51e5ca/_0x5f5829;_0x2af79f=_0x34c398*_0x327fbb,_0xeafa18=_0x34c398*_0x3487fb,_0x5444b5=!0x0;}_0x5444b5&&this[_0x3157d2(0x242)]({'left':_0xe2ec56,'top':_0x2af79f,'right':_0x31cc31,'bottom':_0xeafa18});}[_0x1bb2bd(0x242)](_0x152dd8){const _0x526b27=_0x1bb2bd;this[_0x526b27(0x2b8)][_0x526b27(0x208)]=_0x152dd8,this[_0x526b27(0x4a5)](!0x0);}['setFillImage'](_0x21c965){const _0x1139f3=_0x1bb2bd;this['_props'][_0x1139f3(0x289)]=_0x21c965,this[_0x1139f3(0x4a5)](!0x0);}set[_0x1bb2bd(0x3e4)](_0x5ed83e){const _0x159ca5=_0x1bb2bd;this[_0x159ca5(0x3e9)]=_0x5ed83e;}get[_0x1bb2bd(0x3e4)](){const _0x5067d2=_0x1bb2bd;this[_0x5067d2(0x3e9)]||this['_setTransForm']();let _0x628352=this[_0x5067d2(0x3e9)][_0x5067d2(0x3c0)]();return this[_0x5067d2(0x2a6)](_0x628352);}get['shapeModel'](){const _0x538b77=_0x1bb2bd;return this[_0x538b77(0x2b8)][_0x538b77(0x184)];}get[_0x1bb2bd(0x4dd)](){const _0xde31f6=_0x1bb2bd;return this[_0xde31f6(0x2b8)][_0xde31f6(0x4dd)];}get[_0x1bb2bd(0x285)](){const _0x8c1e00=_0x1bb2bd;return _0x610ad8[_0x8c1e00(0x164)]['SHAPE'];}[_0x1bb2bd(0x2cb)](_0x258254,_0x4e7dd0,_0x4de669,_0x584453){const _0x4764cd=_0x1bb2bd;let _0xc35018=this[_0x4764cd(0x2b8)]['shapeModel'];if(!_0xc35018||!_0x4e7dd0)return;let _0x3812b4=_0x4de669??this[_0x4764cd(0x181)],_0x386240=_0x584453??this[_0x4764cd(0x1db)],_0x3e646a={'shapeType':_0xc35018[_0x4764cd(0x441)](),'width':_0x3812b4,'height':_0x386240},_0xe418d5={'renderMode':_0x756c25[_0x4764cd(0x1f1)][_0x4764cd(0x2fc)],'oKey':this[_0x4764cd(0x3ae)],'image':this[_0x4764cd(0x2b8)][_0x4764cd(0x289)],'angle':this[_0x4764cd(0x3c9)]};_0xc35018[_0x4764cd(0x210)](_0x3e646a),_0x258254[_0x4764cd(0xff)]();let _0x49adb6={'top':0x0,'left':0x0,'width':_0x3812b4,'height':_0x386240},_0x5302af=_0xc35018[_0x4764cd(0x148)](_0x49adb6);_0x5302af?this['_renderWithCache'](_0x258254,_0x5302af,_0x5e4d1a=>{_0xc35018['render'](_0x5e4d1a,_0x49adb6,_0xe418d5);}):(this[_0x4764cd(0x197)](),_0xc35018[_0x4764cd(0x47c)](_0x258254,_0x49adb6,_0xe418d5)),_0x258254[_0x4764cd(0x1b2)]();let _0xd74b58=_0xc35018[_0x4764cd(0x1cc)](),_0x22d919=_0xc35018[_0x4764cd(0x214)](_0x49adb6),_0x4f065d=_0xc35018[_0x4764cd(0x128)]();if(_0xd74b58&&_0x22d919&&!_0x4f065d){_0x258254[_0x4764cd(0xff)](),this[_0x4764cd(0x31d)]()['flipX']&&_0x258254[_0x4764cd(0x284)](-0x1,0x1);let _0x440201=_0x3812b4/0x2,_0x3fbb3d=_0x386240/0x2;_0x258254['translate'](-_0x440201,-_0x3fbb3d),_0x258254[_0x4764cd(0x386)](),this[_0x4764cd(0x425)](_0x258254,_0xd74b58,_0x22d919),_0x258254['restore']();}}[_0x1bb2bd(0x321)](_0x2e04ec){}['_drawShapeText'](_0x1b3b1d,_0x10c0fe,_0x3f8127){const _0xd2bdc0=_0x1bb2bd;var _0x112fb4;this[_0xd2bdc0(0x2eb)]=[],!this[_0xd2bdc0(0x2b8)][_0xd2bdc0(0x397)]&&(!((_0x112fb4=_0x10c0fe[_0xd2bdc0(0x33b)])!=null&&_0x112fb4[_0xd2bdc0(0x412)])&&'isRichText'in _0x10c0fe&&_0x10c0fe[_0xd2bdc0(0x4ed)]===!0x1?this['_drawSimpleText'](_0x1b3b1d,_0x10c0fe,_0x3f8127):this[_0xd2bdc0(0x296)](_0x1b3b1d,_0x10c0fe,_0x3f8127));}['_drawSimpleText'](_0x49c5c5,_0x42d645,_0x3b0769){const _0x329cb5=_0x1bb2bd;this[_0x329cb5(0x296)](_0x49c5c5,{..._0x42d645,'text':_0x42d645['text']??'','dataModel':{'doc':(0x0,_0x583754[_0x329cb5(0x199)])(_0x42d645,'sheets-shape-text-'+this['oKey'])}},_0x3b0769);}[_0x1bb2bd(0x296)](_0x21caa3,_0x2e3d0e,_0x27ca0d){const _0x4720ea=_0x1bb2bd;(0x0,_0x583754['drawFormulaShapeAnimationLayers'])(_0x21caa3,this[_0x4720ea(0x45a)],(_0x38153e,_0x2a87a0,_0x67a898)=>{const _0x7dce4f=_0x4720ea;this[_0x7dce4f(0x1de)](_0x38153e,_0x2e3d0e,_0x27ca0d,_0x2a87a0,_0x67a898==='current');});}[_0x1bb2bd(0x1de)](_0x5ba00e,_0x2622db,_0x3d3981,_0x2bcce6,_0x4c7fbc){const _0x551a35=_0x1bb2bd;let _0x3c3161=this['_props'][_0x551a35(0x370)];if(!_0x2622db['dataModel']||!_0x3c3161)return;let _0x2f7e91=(0x0,_0x583754[_0x551a35(0x2fa)])(_0x2622db[_0x551a35(0x33b)]);if(!_0x2f7e91)return;let _0x3b55f6=_0x2f7e91[_0x551a35(0x412)];if(!_0x3b55f6)return;let _0x48664f=(0x0,_0x41ad7c['createShapeFormulaDocument'])(_0x3b55f6,_0x2bcce6),_0x49adc9=_0x2f7e91['va']??_0x3d2575[_0x551a35(0x27d)]['TOP'],_0x4c75b5=_0x2f7e91['ha']??_0x3d2575['HorizontalAlign'][_0x551a35(0x42c)],_0x23648f=_0x21e536(this[_0x551a35(0x2b8)][_0x551a35(0x184)][_0x551a35(0x4d2)](),_0x2622db,_0x48664f),_0x582e8d=_0x2622db[_0x551a35(0x130)],_0x2acea6=(0x0,_0x583754[_0x551a35(0x3a1)])(_0x48664f,{'isHorizontal':_0x582e8d!==!0x1,'textRect':_0x3d3981,'verticalAlign':_0x49adc9,'horizontalAlign':_0x4c75b5,'wrapStrategy':_0x23648f['wrapStrategy']}),_0x2b5a0c=new _0x3d2575[(_0x551a35(0x2c4))](_0x2acea6),_0x54a8fe=new _0x610ad8[(_0x551a35(0x222))](_0x2b5a0c),_0xe9789b=_0x610ad8[_0x551a35(0x259)][_0x551a35(0x25d)](_0x54a8fe,_0x3c3161);_0xe9789b['calculate']();let _0x553feb=_0xe9789b[_0x551a35(0x2ff)]()[_0x551a35(0x1da)],_0x32973c=(0x0,_0x583754[_0x551a35(0x187)])({'contentHeight':_0x553feb,'verticalAlign':_0x49adc9,'viewportHeight':_0x3d3981[_0x551a35(0x1db)]});_0x2b5a0c[_0x551a35(0x3d3)]({'pageSize':{'width':_0x582e8d===!0x1?_0x3d3981[_0x551a35(0x1db)]:_0x3d3981[_0x551a35(0x181)],'height':(0x0,_0x583754[_0x551a35(0x482)])(_0x48664f,_0x32973c['contentHeight'])}}),_0x2b5a0c[_0x551a35(0x4c6)]({'t':_0x32973c[_0x551a35(0x177)]}),_0xe9789b[_0x551a35(0x198)]();let _0x470e70=new _0x610ad8[(_0x551a35(0x30d))](_0x551a35(0x172)+this[_0x551a35(0x3ae)],_0xe9789b,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x551a35(0x4a5)](!0x0)});_0x470e70[_0x551a35(0x269)](_0x3d3981[_0x551a35(0x181)],_0x32973c[_0x551a35(0x27e)]),_0x5ba00e[_0x551a35(0xff)](),_0x5ba00e[_0x551a35(0x38e)](_0x3d3981[_0x551a35(0x20a)],_0x3d3981[_0x551a35(0x49c)]),_0x23648f[_0x551a35(0x4d0)]&&(_0x5ba00e['beginPath'](),_0x5ba00e['rect'](0x0,_0x32973c['clipTop'],_0x3d3981[_0x551a35(0x181)],_0x32973c['clipHeight']),_0x5ba00e[_0x551a35(0x4d0)]()),_0x32973c['contentVerticalOffset']&&_0x5ba00e['translateWithPrecision'](0x0,_0x32973c[_0x551a35(0x473)]),_0x470e70['draw'](_0x5ba00e),_0x4c7fbc&&(this[_0x551a35(0x2eb)]=(0x0,_0x583754[_0x551a35(0x1f6)])(_0x470e70,{'left':_0x3d3981[_0x551a35(0x20a)],'top':_0x3d3981[_0x551a35(0x49c)]+_0x32973c[_0x551a35(0x473)]},_0x23648f[_0x551a35(0x4d0)]?{'left':_0x3d3981['left'],'right':_0x3d3981['left']+_0x3d3981[_0x551a35(0x181)],'top':_0x3d3981[_0x551a35(0x49c)]+_0x32973c[_0x551a35(0x162)],'bottom':_0x3d3981[_0x551a35(0x49c)]+_0x32973c[_0x551a35(0x162)]+_0x32973c['clipHeight']}:void 0x0)),_0x5ba00e[_0x551a35(0x1b2)](),_0x470e70[_0x551a35(0x3cc)](),_0xe9789b[_0x551a35(0x3cc)](),_0x54a8fe[_0x551a35(0x3cc)](),_0x2b5a0c[_0x551a35(0x3cc)]();}[_0x1bb2bd(0x47c)](_0x33aa02,_0x2d1afc,_0x1c5522=!0x1){const _0x4d27eb=_0x1bb2bd;if(!this[_0x4d27eb(0x4a1)])return this[_0x4d27eb(0x4a5)](!0x1),this;let {width:_0x41b67b,height:_0x39aca3,left:_0x26d0d8,top:_0x3cac74}=this,_0x1f11cd=this[_0x4d27eb(0x430)]();if(_0x41b67b=_0x1f11cd[_0x4d27eb(0x181)],_0x39aca3=_0x1f11cd[_0x4d27eb(0x1db)],_0x26d0d8=_0x1f11cd[_0x4d27eb(0x20a)],_0x3cac74=_0x1f11cd['top'],this[_0x4d27eb(0x250)](_0x2d1afc)){let {top:_0x2a91d4,left:_0x28f724,bottom:_0x12eb69,right:_0x2830fe}=_0x2d1afc['viewBound'];if(_0x41b67b+this[_0x4d27eb(0x3e1)]+_0x26d0d8<_0x28f724||_0x2830fe<_0x26d0d8||_0x39aca3+this['strokeWidth']+_0x3cac74<_0x2a91d4||_0x12eb69<_0x3cac74)return this;}let _0x2e5c45=_0x26d0d8+_0x41b67b/0x2,_0x129c4e=_0x3cac74+_0x39aca3/0x2,_0x13970d=this[_0x4d27eb(0x3e4)]['getMatrix']();if(this['_props'][_0x4d27eb(0x397)]){let _0x144838=this['getState'](),_0x3d124f=new _0x610ad8[(_0x4d27eb(0x2dc))]();_0x3d124f['composeMatrix']({..._0x144838}),_0x13970d=_0x3d124f['getMatrix']();}return _0x33aa02[_0x4d27eb(0xff)](),this[_0x4d27eb(0x2b8)]['shapeModel'][_0x4d27eb(0x202)]===!0x0||_0x33aa02[_0x4d27eb(0x3e4)](_0x13970d[0x0],_0x13970d[0x1],_0x13970d[0x2],_0x13970d[0x3],_0x2e5c45,_0x129c4e),this[_0x4d27eb(0x2cb)](_0x33aa02,_0x2d1afc,_0x41b67b,_0x39aca3),_0x33aa02[_0x4d27eb(0x1b2)](),this['makeDirty'](!0x1),this;}[_0x1bb2bd(0x18d)](_0x5511fe){const _0x4be5f2=_0x1bb2bd;let {left:_0x4d93a8,top:_0x19ce33,width:_0x2bfafb,height:_0x50c541}=this[_0x4be5f2(0x430)](),_0x50be55=this[_0x4be5f2(0x3e4)]['getMatrix'](),_0x1a7219=_0x4d93a8+_0x2bfafb/0x2,_0x1c7b16=_0x19ce33+_0x50c541/0x2,_0x1ea413=new _0x610ad8[(_0x4be5f2(0x2dc))]([_0x50be55[0x0],_0x50be55[0x1],_0x50be55[0x2],_0x50be55[0x3],_0x1a7219,_0x1c7b16]),_0x5bb0d0=this[_0x4be5f2(0x303)]();return(this[_0x4be5f2(0x1bc)]&&(_0x5bb0d0==null?void 0x0:_0x5bb0d0[_0x4be5f2(0x285)])===_0x610ad8['RENDER_CLASS_TYPE'][_0x4be5f2(0x25f)]?_0x5bb0d0[_0x4be5f2(0x3d6)][_0x4be5f2(0x444)](_0x1ea413):_0x1ea413)[_0x4be5f2(0x111)]()[_0x4be5f2(0x356)](_0x5511fe);}[_0x1bb2bd(0x4f3)](_0x550c44){const _0x315352=_0x1bb2bd;let {left:_0xcd0ae3,top:_0x3803d0,width:_0x5e3c6e,height:_0x159fad}=this[_0x315352(0x430)](),_0x474c32=_0xcd0ae3+_0x5e3c6e/0x2,_0x21832a=_0x3803d0+_0x159fad/0x2,_0x1adebc=this[_0x315352(0x3e4)][_0x315352(0x328)](),_0x3745d8=new _0x610ad8[(_0x315352(0x2dc))]([_0x1adebc[0x0],_0x1adebc[0x1],_0x1adebc[0x2],_0x1adebc[0x3],_0x474c32,_0x21832a]),_0x204d3a=this[_0x315352(0x303)](),_0x49001e=(this['isInGroup']&&(_0x204d3a==null?void 0x0:_0x204d3a[_0x315352(0x285)])===_0x610ad8['RENDER_CLASS_TYPE'][_0x315352(0x25f)]?_0x204d3a[_0x315352(0x3d6)][_0x315352(0x444)](_0x3745d8):_0x3745d8)[_0x315352(0x111)]()['applyPoint'](_0x550c44),_0x28f5a2=_0x5e3c6e/0x2,_0x85b89b=_0x159fad/0x2,_0x28463e=this[_0x315352(0x2b8)][_0x315352(0x184)];return _0x28463e&&_0x28463e[_0x315352(0x128)]()?_0x28463e[_0x315352(0x388)](_0x49001e['x'],_0x49001e['y'],_0x5e3c6e,_0x159fad):_0x49001e['x']>=-_0x28f5a2-this[_0x315352(0x3e1)]/0x2&&_0x49001e['x']<=_0x28f5a2+this['strokeWidth']/0x2&&_0x49001e['y']>=-_0x85b89b-this[_0x315352(0x3e1)]/0x2&&_0x49001e['y']<=_0x85b89b+this['strokeWidth']/0x2;}['dispose'](){const _0x2238e9=_0x1bb2bd;this[_0x2238e9(0x45a)][_0x2238e9(0x3cc)](),this['_props'][_0x2238e9(0x184)]=null,super[_0x2238e9(0x3cc)]();}},_0x28a1af=class extends _0x610ad8[_0x1bb2bd(0x3c5)]{constructor(_0x333bdc,_0x4950a5){const _0x99c181=_0x1bb2bd;super(_0x333bdc,_0x4950a5),_0x19f136(this,'_shapeId',null),_0x19f136(this,'_adjName',null),_0x19f136(this,_0x99c181(0x4f9),null),_0x19f136(this,_0x99c181(0x34e),null),_0x4950a5&&this['setShapeProps'](_0x4950a5);}['getDrawingSearch'](){const _0x43e0f8=_0x1bb2bd;return{'unitId':this[_0x43e0f8(0x4f9)],'subUnitId':this[_0x43e0f8(0x34e)],'drawingId':this[_0x43e0f8(0x4a9)]};}[_0x1bb2bd(0x36d)](_0xa66690){const _0x21221e=_0x1bb2bd;_0xa66690[_0x21221e(0x4dd)]!==void 0x0&&(this['_shapeId']=_0xa66690[_0x21221e(0x4dd)]),_0xa66690[_0x21221e(0x12b)]!==void 0x0&&(this['_adjName']=_0xa66690[_0x21221e(0x12b)]),_0xa66690[_0x21221e(0x26d)]!==void 0x0&&(this[_0x21221e(0x4f9)]=_0xa66690[_0x21221e(0x26d)]),_0xa66690[_0x21221e(0x114)]!==void 0x0&&(this[_0x21221e(0x34e)]=_0xa66690['subUnitId']),this['transformByState']({'width':_0xa66690[_0x21221e(0x181)],'height':_0xa66690[_0x21221e(0x1db)]});}[_0x1bb2bd(0x2cb)](_0x40a34c){const _0x43eb1e=_0x1bb2bd;_0x610ad8[_0x43eb1e(0x41c)][_0x43eb1e(0x4cc)](_0x40a34c,{'radius':_0x756c25[_0x43eb1e(0x3ba)][_0x43eb1e(0x233)],'fill':_0x756c25['ShapeDefaultConfig'][_0x43eb1e(0x135)],'stroke':_0x756c25['ShapeDefaultConfig'][_0x43eb1e(0x3b7)],'strokeWidth':0x1,'evented':!0x0});}};function _0x25f0d4(_0x54de15,_0x167b1e){return function(_0x19e3ea,_0x3f4f34){_0x167b1e(_0x19e3ea,_0x3f4f34,_0x54de15);};}function _0x4d7d62(_0x3b9b55,_0x29dd02,_0x5ee6d7,_0x252f46){const _0x1056f2=_0x1bb2bd;var _0x6ab918=arguments[_0x1056f2(0x40e)],_0x1c56ef=_0x6ab918<0x3?_0x29dd02:_0x252f46===null?_0x252f46=Object['getOwnPropertyDescriptor'](_0x29dd02,_0x5ee6d7):_0x252f46,_0x4cc1e1;if(typeof Reflect=='object'&&typeof Reflect[_0x1056f2(0x20d)]==_0x1056f2(0x17e))_0x1c56ef=Reflect[_0x1056f2(0x20d)](_0x3b9b55,_0x29dd02,_0x5ee6d7,_0x252f46);else{for(var _0x136901=_0x3b9b55['length']-0x1;_0x136901>=0x0;_0x136901--)(_0x4cc1e1=_0x3b9b55[_0x136901])&&(_0x1c56ef=(_0x6ab918<0x3?_0x4cc1e1(_0x1c56ef):_0x6ab918>0x3?_0x4cc1e1(_0x29dd02,_0x5ee6d7,_0x1c56ef):_0x4cc1e1(_0x29dd02,_0x5ee6d7))||_0x1c56ef);}return _0x6ab918>0x3&&_0x1c56ef&&Object[_0x1056f2(0x2e1)](_0x29dd02,_0x5ee6d7,_0x1c56ef),_0x1c56ef;}let _0x34a6bf=class extends _0x3d2575['Disposable']{constructor(_0x10b38a,_0x1c9f39,_0x5daa4c,_0x1db812,_0x1e24c9,_0x4fa6e0){const _0x36cab4=_0x1bb2bd;super(),this[_0x36cab4(0x479)]=_0x10b38a,this[_0x36cab4(0x496)]=_0x1c9f39,this[_0x36cab4(0x122)]=_0x5daa4c,this[_0x36cab4(0x190)]=_0x1db812,this['_urlImageService']=_0x1e24c9,this['_shapeFormulaService']=_0x4fa6e0,_0x19f136(this,_0x36cab4(0x21c),new Map()),this['disposeWithMe'](this[_0x36cab4(0x2e0)]['presentationChanged$'][_0x36cab4(0x3b2)](_0x41b693=>{const _0x45c89c=_0x36cab4;var _0x4b982c;(_0x4b982c=this[_0x45c89c(0x21c)][_0x45c89c(0x107)](this['_formulaKey'](_0x41b693['unitId'],_0x41b693[_0x45c89c(0x114)],_0x41b693[_0x45c89c(0x4dd)])))==null||_0x4b982c[_0x45c89c(0x307)](_0x5c1493=>_0x5c1493['setFormulaPresentation'](_0x41b693['presentation'],_0x41b693['animationEnabled']));})),this['disposeWithMe'](this[_0x36cab4(0x479)][_0x36cab4(0x348)][_0x36cab4(0x3b2)](_0x55c70d=>{_0x55c70d['forEach'](_0xec38a4=>{const _0x36c142=_0x413c;this[_0x36c142(0x2e0)][_0x36c142(0x439)]({'unitId':_0xec38a4[_0x36c142(0x26d)],'subUnitId':_0xec38a4['subUnitId'],'shapeId':_0xec38a4['drawingId']}),this[_0x36c142(0x21c)]['delete'](this[_0x36c142(0x17f)](_0xec38a4[_0x36c142(0x26d)],_0xec38a4[_0x36c142(0x114)],_0xec38a4[_0x36c142(0x17d)]));});}));}[_0x1bb2bd(0x39d)](_0x346e29,_0x13a278,_0x51af4e){const _0x513e66=_0x1bb2bd;let {transform:_0x397082,drawingType:_0x1dfad6,srcRect:_0x50842d,prstGeom:_0x1e250b,groupId:_0xca3c67,unitId:_0x23750b,subUnitId:_0xd42d2b,drawingId:_0xbc33e0,isMultiTransform:_0x540249,transforms:_0x416542,hidden:_0x1c079c,selectable:_0x2f320a}=_0x346e29;if(_0x1dfad6!==_0x3d2575[_0x513e66(0x2d2)][_0x513e66(0x30b)]||!this[_0x513e66(0x479)][_0x513e66(0x19a)]()||_0x397082==null)return;let _0x63ee78=this[_0x513e66(0x479)]['getDrawingEditable'](),_0x2a7b7f=_0x540249&&_0x416542?_0x416542:[_0x397082],_0x548fe9=[];for(let _0x4bb7f9 of _0x2a7b7f){let {left:_0x11cad2,top:_0x50ae78,width:_0x2af246,height:_0x519121,angle:_0x3ed486,flipX:_0x3410ac,flipY:_0x324fd2,skewX:_0x3fbcb9,skewY:_0x57fd54}=_0x4bb7f9,_0x3db77b=_0x2a7b7f[_0x513e66(0x11e)](_0x4bb7f9),_0x356b13=(0x0,_0xf3cf76[_0x513e66(0x372)])({'unitId':_0x23750b,'subUnitId':_0xd42d2b,'drawingId':_0xbc33e0},_0x540249?_0x3db77b:void 0x0),_0x197247=_0x13a278[_0x513e66(0x195)](_0x356b13);if(_0x197247!=null){let _0x3e359c={'unitId':_0x23750b,'subUnitId':_0xd42d2b,'shapeId':_0xbc33e0};_0x197247 instanceof _0x28ba5a&&this[_0x513e66(0x4a2)](_0x197247,_0x3e359c),_0x197247[_0x513e66(0x2e5)]({'left':_0x11cad2,'top':_0x50ae78,'width':_0x2af246,'height':_0x519121,'angle':_0x3ed486,'flipX':_0x3410ac,'flipY':_0x324fd2,'skewX':_0x3fbcb9,'skewY':_0x57fd54});continue;}let _0x5e9b2e=this[_0x513e66(0x479)][_0x513e66(0x3ce)](_0x23750b,_0xd42d2b),_0x5732d6=_0x5e9b2e[_0x513e66(0x11e)](_0xbc33e0);if(_0x13a278[_0x513e66(0x195)](_0x356b13)||!this[_0x513e66(0x479)][_0x513e66(0x19a)]())continue;let _0x149f6e=this[_0x513e66(0x496)][_0x513e66(0x286)](_0x23750b,_0xd42d2b,_0xbc33e0);if(!_0x149f6e)continue;let _0x179794=(0x0,_0x756c25['isConnectorShape'])(_0x149f6e[_0x513e66(0x441)]())?{..._0x583754['SHAPE_EDITOR_TRANSFORMER_CONFIG'],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x583754[_0x513e66(0x4d5)],_0x2c9b41=_0x149f6e[_0x513e66(0x4d2)]()[_0x513e66(0x103)],_0x2542e0={'unitId':_0x23750b,'subUnitId':_0xd42d2b,'shapeId':_0xbc33e0};_0x2c9b41&&this[_0x513e66(0x2e0)]['register'](_0x2542e0,_0x2c9b41);let _0xb198e=new _0x28ba5a(_0x356b13,{..._0x4bb7f9,'zIndex':_0x5732d6===-0x1?_0x5e9b2e['length']-0x1:_0x5732d6,'shapeModel':_0x149f6e,'localeService':this['_localeService'],'shapeId':_0xbc33e0,'unitId':_0x23750b,'subUnitId':_0xd42d2b,'visible':_0x1c079c!==!0x0,'evented':_0x2f320a!==!0x1,'formulaPresentation':_0x2c9b41?this[_0x513e66(0x2e0)]['getPresentation'](_0x2542e0):void 0x0,'animateFormulaPresentation':(_0x2c9b41==null?void 0x0:_0x2c9b41[_0x513e66(0x33a)])!==!0x1,'transformerConfig':_0x179794});if(_0x2c9b41){let _0x57162f=this[_0x513e66(0x17f)](_0x23750b,_0xd42d2b,_0xbc33e0),_0x2898dc=this[_0x513e66(0x21c)]['get'](_0x57162f)??new Set();_0x2898dc[_0x513e66(0x358)](_0xb198e),this[_0x513e66(0x21c)][_0x513e66(0x100)](_0x57162f,_0x2898dc);}_0x13a278['addObject'](_0xb198e,_0x610ad8[_0x513e66(0x239)]),_0x63ee78&&_0x13a278['attachTransformerTo'](_0xb198e),_0xca3c67&&(0x0,_0x2114cd[_0x513e66(0x4ae)])({'drawingId':_0xca3c67,'unitId':_0x23750b,'subUnitId':_0xd42d2b},_0xb198e,_0x13a278,this['_drawingManagerService']),_0x1e250b!=null&&_0xb198e[_0x513e66(0x468)](_0x1e250b),_0x50842d!=null&&_0xb198e[_0x513e66(0x242)](_0x50842d);let _0x4d86a8=this[_0x513e66(0x355)](_0xb198e,_0x149f6e['getShapeData']());if(_0x4d86a8){var _0x17c030;_0x51af4e==null||(_0x17c030=_0x51af4e['resourceCollector'])==null||_0x17c030[_0x513e66(0x358)](_0x4d86a8);}_0x548fe9[_0x513e66(0x37e)](_0xb198e);}return _0x548fe9;}[_0x1bb2bd(0x17f)](_0x482f80,_0x164066,_0x1e0928){return _0x482f80+'\x00'+_0x164066+'\x00'+_0x1e0928;}['refreshFormulaPresentation'](_0x14e71c,_0x3dfbca){const _0x99380e=_0x1bb2bd;let _0x1a52e1=this['_sheetsShapeService'][_0x99380e(0x286)](_0x3dfbca[_0x99380e(0x26d)],_0x3dfbca[_0x99380e(0x114)],_0x3dfbca[_0x99380e(0x4dd)]),_0x4ac3d5=_0x1a52e1==null?void 0x0:_0x1a52e1[_0x99380e(0x4d2)]()[_0x99380e(0x103)],_0x3c90f1=this[_0x99380e(0x17f)](_0x3dfbca[_0x99380e(0x26d)],_0x3dfbca['subUnitId'],_0x3dfbca[_0x99380e(0x4dd)]);if(_0x4ac3d5){this[_0x99380e(0x2e0)]['register'](_0x3dfbca,_0x4ac3d5);let _0x3ff411=this[_0x99380e(0x21c)]['get'](_0x3c90f1)??new Set();_0x3ff411[_0x99380e(0x358)](_0x14e71c),this[_0x99380e(0x21c)][_0x99380e(0x100)](_0x3c90f1,_0x3ff411);}else{var _0x2d05a7;this[_0x99380e(0x2e0)][_0x99380e(0x439)](_0x3dfbca),(_0x2d05a7=this['_formulaShapes'][_0x99380e(0x107)](_0x3c90f1))==null||_0x2d05a7[_0x99380e(0x417)](_0x14e71c);}_0x14e71c[_0x99380e(0x409)](_0x4ac3d5?this[_0x99380e(0x2e0)][_0x99380e(0x2bc)](_0x3dfbca):void 0x0,(_0x4ac3d5==null?void 0x0:_0x4ac3d5[_0x99380e(0x33a)])!==!0x1);}[_0x1bb2bd(0x3cd)](_0x25c69c){const _0x19a054=_0x1bb2bd;let _0x4c722a=_0x25c69c[_0x19a054(0x184)][_0x19a054(0x4d2)](),_0x36b77f=_0x4c722a[_0x19a054(0x266)];!_0x36b77f||_0x36b77f[_0x19a054(0x256)]!==_0x756c25['ShapeFillEnum'][_0x19a054(0x308)]||!_0x36b77f[_0x19a054(0x253)]?_0x25c69c['setFillImage'](void 0x0):this['_loadShapePictureFill'](_0x25c69c,_0x4c722a);}[_0x1bb2bd(0x355)](_0x2dee30,_0x2bc56e){const _0x13d79c=_0x1bb2bd;let _0x247bbb=_0x2bc56e['fill'];if(!_0x247bbb||_0x247bbb[_0x13d79c(0x256)]!==_0x756c25[_0x13d79c(0x17b)][_0x13d79c(0x308)]||!_0x247bbb[_0x13d79c(0x253)])return;let _0x2a2af2=_0x247bbb[_0x13d79c(0x253)],_0x57fd99=_0x247bbb[_0x13d79c(0x118)]??_0x756c25[_0x13d79c(0x29d)][_0x13d79c(0x161)],_0x218f0d=this[_0x13d79c(0x190)]['getImageSourceCache'](_0x2a2af2,_0x57fd99);if(_0x218f0d)_0x2dee30['setFillImage'](_0x218f0d);else return this[_0x13d79c(0x137)](_0x2dee30,_0x2a2af2,_0x57fd99);}async[_0x1bb2bd(0x137)](_0xb042fb,_0x58574b,_0x1a1722){const _0x127ead=_0x1bb2bd;let _0xbe56f;try{if(_0x1a1722===_0x756c25[_0x127ead(0x29d)][_0x127ead(0x4a8)])_0xbe56f=await this['_imageIoService'][_0x127ead(0x424)](_0x58574b);else{if(_0x1a1722===_0x756c25['ImageSourceTypeEnum']['URL'])try{_0xbe56f=await this[_0x127ead(0x310)][_0x127ead(0x424)](_0x58574b);}catch{_0xbe56f=_0x58574b;}else _0xbe56f=_0x58574b;}}catch(_0x36f7b3){console[_0x127ead(0x283)](_0x127ead(0x40a),_0x36f7b3);return;}await new Promise(_0x26b7c5=>{const _0x47816c=_0x127ead;let _0x542fd3=new window[(_0x47816c(0x213))]();_0x542fd3['onload']=()=>{const _0x250f80=_0x47816c;this[_0x250f80(0x190)][_0x250f80(0x304)](_0x58574b,_0x1a1722,_0x542fd3),_0xb042fb['setFillImage'](_0x542fd3),_0x26b7c5();},_0x542fd3[_0x47816c(0x4bd)]=()=>{const _0x5e64f8=_0x47816c;console['error'](_0x5e64f8(0x1d5),_0x58574b),_0x26b7c5();},_0x542fd3[_0x47816c(0x138)]=_0xbe56f;});}};_0x34a6bf=_0x4d7d62([_0x25f0d4(0x0,_0xf3cf76[_0x1bb2bd(0x2fe)]),_0x25f0d4(0x1,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x111169[_0x1bb2bd(0x4d3)])),_0x25f0d4(0x2,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x3d2575[_0x1bb2bd(0x263)])),_0x25f0d4(0x3,_0x3d2575[_0x1bb2bd(0x10b)]),_0x25f0d4(0x4,_0x3d2575[_0x1bb2bd(0x3df)]),_0x25f0d4(0x5,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x41ad7c['ShapeFormulaService']))],_0x34a6bf);let _0x3f0181=class extends _0x3d2575[_0x1bb2bd(0x463)]{constructor(_0x47c955,_0x4b9200,_0xbb4339,_0x562078,_0x24bded,_0x3c69eb){const _0x450bfb=_0x1bb2bd;super(),this[_0x450bfb(0x479)]=_0x47c955,this[_0x450bfb(0x496)]=_0x4b9200,this[_0x450bfb(0x2ba)]=_0xbb4339,this['_sheetDrawingShapeRenderController']=_0x562078,this[_0x450bfb(0x3da)]=_0x24bded,this[_0x450bfb(0x101)]=_0x3c69eb,_0x19f136(this,_0x450bfb(0x1dc),null),_0x19f136(this,_0x450bfb(0x4f9),null),_0x19f136(this,_0x450bfb(0x34e),null),_0x19f136(this,'_activeShapeAdjustPointList',void 0x0),_0x19f136(this,'_shapes',[]),_0x19f136(this,'_baseShapeLeft',0x0),_0x19f136(this,_0x450bfb(0x2c7),0x0),_0x19f136(this,_0x450bfb(0x102),0x0),_0x19f136(this,_0x450bfb(0x1a8),0x0),_0x19f136(this,'_isStartAdjusting',!0x1),_0x19f136(this,'_activeAdjustInfo',void 0x0),_0x19f136(this,_0x450bfb(0x1ca),void 0x0),_0x19f136(this,'_adjHandlerPointerMove',void 0x0),_0x19f136(this,_0x450bfb(0x4a0),void 0x0),_0x19f136(this,_0x450bfb(0x3ff),!0x1),this[_0x450bfb(0x20c)](),this[_0x450bfb(0x309)]();}['_getShapeAdjustPointListById'](_0x27a478,_0x4a9620,_0x2846a2){const _0x1bb890=_0x1bb2bd;let _0x551cc2=this[_0x1bb890(0x496)][_0x1bb890(0x286)](_0x27a478,_0x4a9620,_0x2846a2);if(_0x551cc2)return _0x551cc2[_0x1bb890(0x321)]();}[_0x1bb2bd(0x3fe)](){const _0x116dcc=_0x1bb2bd;this[_0x116dcc(0x351)]();}['refreshAdjustControls'](){const _0x5fd27=_0x1bb2bd;this[_0x5fd27(0x47b)](!0x0);}['setShouldShowAdjust'](_0x53e0b0){const _0x372896=_0x1bb2bd;this[_0x372896(0x3ff)]=_0x53e0b0;}[_0x1bb2bd(0x405)](_0x525737,_0xab6c66,_0x18fa2f,_0x33fc4d){const _0x58ced0=_0x1bb2bd;let _0x2dcb3a=this['_sheetsShapeService'][_0x58ced0(0x286)](_0x525737,_0xab6c66,_0x18fa2f);if(_0x2dcb3a)return _0x2dcb3a[_0x58ced0(0x2f1)](_0x33fc4d);}[_0x1bb2bd(0x4f6)](_0x47ff4d=!0x1){const _0x266bf2=_0x1bb2bd;if(this[_0x266bf2(0x4f9)]===null||this['_subUnitId']===null||this['_activeShapeId']===null)return;let _0x1af546=this[_0x266bf2(0x2ba)][_0x266bf2(0x40c)](this['_unitId']);if(!_0x1af546||!_0x1af546[_0x266bf2(0x10a)](_0x542241['SheetSkeletonManagerService'])['getCurrentSkeleton']())return;let {scene:_0x2d9996}=_0x1af546,_0x48d528={'unitId':this[_0x266bf2(0x4f9)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x266bf2(0x1dc)]},_0x5f7929=this[_0x266bf2(0x479)][_0x266bf2(0x4f0)](_0x48d528),{transform:_0x40d10c}=_0x5f7929;if(!_0x40d10c||_0x5f7929[_0x266bf2(0x1f2)]!==_0x3d2575['DrawingTypeEnum'][_0x266bf2(0x30b)])return;let {left:_0x5b5340,top:_0x2d9071,width:_0x15b703,height:_0x41add4,flipX:_0x2acf69,flipY:_0x479b9b,angle:_0x542590=0x0}=_0x40d10c;if(_0x5b5340===void 0x0||_0x2d9071===void 0x0)return;if(_0x47ff4d){let _0x4fdd80=this['_sheetsShapeService'][_0x266bf2(0x286)](this[_0x266bf2(0x4f9)],this[_0x266bf2(0x34e)],this[_0x266bf2(0x1dc)]);_0x4fdd80==null||_0x4fdd80[_0x266bf2(0x210)]({'width':_0x15b703??0x0,'height':_0x41add4??0x0}),this[_0x266bf2(0x48d)]=_0x4fdd80==null?void 0x0:_0x4fdd80[_0x266bf2(0x321)]();}let _0x5be72c=this[_0x266bf2(0x48d)];for(let _0x7fb01d=0x0;_0x7fb01d<_0x5be72c[_0x266bf2(0x40e)];_0x7fb01d++){let _0x2167fd=_0x5be72c[_0x7fb01d],_0x4c75c5=_0x2167fd['x'],_0x31c458=_0x2167fd['y'];if(_0x2acf69&&(_0x4c75c5=(_0x15b703||0x0)-_0x4c75c5),_0x479b9b&&(_0x31c458=(_0x41add4||0x0)-_0x31c458),_0x542590!==0x0){let _0x4426da=(_0x15b703||0x0)/0x2,_0x49fc29=(_0x41add4||0x0)/0x2,_0x34ef3b=_0x542590*Math['PI']/0xb4,_0x1db4d0=Math[_0x266bf2(0x226)](_0x34ef3b),_0x3f3369=Math[_0x266bf2(0x241)](_0x34ef3b),_0x128e31=_0x4c75c5-_0x4426da,_0x4e770c=_0x31c458-_0x49fc29;_0x4c75c5=_0x4426da+(_0x128e31*_0x1db4d0-_0x4e770c*_0x3f3369),_0x31c458=_0x49fc29+(_0x128e31*_0x3f3369+_0x4e770c*_0x1db4d0);}let _0x2c7bf3={'x':_0x4c75c5,'y':_0x31c458,'adjName':_0x2167fd['adjName']};this[_0x266bf2(0x1e3)](_0x2d9996,_0x2c7bf3,_0x2c7bf3[_0x266bf2(0x12b)],_0x5b5340,_0x2d9071,this['_unitId'],this['_subUnitId']);}}[_0x1bb2bd(0x47b)](_0x3664c2=!0x1){const _0x11124a=_0x1bb2bd;_0x3664c2&&(this[_0x11124a(0x351)](),this[_0x11124a(0x4f6)](_0x3664c2));}[_0x1bb2bd(0x1e3)](_0x2a3ae2,_0x2c3933,_0x3b197e,_0x31674e,_0x321615,_0x7a815a,_0x19e8ef){const _0x33b557=_0x1bb2bd;if(!this[_0x33b557(0x1dc)])return;let _0x5366e9=_0x2a3ae2[_0x33b557(0x195)]('shape-adjust-point-'+this['_activeShapeId']+'-'+_0x3b197e);if(_0x5366e9){_0x5366e9[_0x33b557(0x2e5)]({'left':_0x2c3933['x']+_0x31674e-_0x756c25['ShapeDefaultConfig']['adjHandleSize'],'top':_0x2c3933['y']+_0x321615-_0x756c25[_0x33b557(0x3ba)]['adjHandleSize']});return;}let _0x23551c={'left':_0x2c3933['x']+_0x31674e-_0x756c25[_0x33b557(0x3ba)]['adjHandleSize'],'top':_0x2c3933['y']+_0x321615-_0x756c25['ShapeDefaultConfig'][_0x33b557(0x233)],'adjName':_0x3b197e,'shapeId':this[_0x33b557(0x1dc)],'unitId':_0x7a815a,'subUnitId':_0x19e8ef,'width':_0x756c25[_0x33b557(0x3ba)][_0x33b557(0x233)]+0x8,'height':_0x756c25[_0x33b557(0x3ba)][_0x33b557(0x233)]+0x8,'zIndex':_0x610ad8[_0x33b557(0x239)]+0x1,'evented':!0x0},_0x25c162=new _0x28a1af(_0x33b557(0x106)+this[_0x33b557(0x1dc)]+'-'+_0x3b197e,_0x23551c);this['_shapes']['push'](_0x25c162),this['_attachAdjustEvent'](_0x25c162,_0x2a3ae2,_0x3b197e),_0x2a3ae2[_0x33b557(0x301)](_0x25c162,_0x610ad8[_0x33b557(0x239)]+0x1);}['_clearShapeAdjustControls'](){const _0x1335c5=_0x1bb2bd;this[_0x1335c5(0x3b4)][_0x1335c5(0x40e)]!==0x0&&(this[_0x1335c5(0x3b4)]['forEach'](_0x2bb009=>{const _0x15a22e=_0x1335c5;_0x2bb009[_0x15a22e(0x3cc)]();}),this[_0x1335c5(0x3b4)]=[]);}[_0x1bb2bd(0x313)](){const _0x5b4d84=_0x1bb2bd;this[_0x5b4d84(0x4f6)]();}[_0x1bb2bd(0x1ae)](_0x5a89cb,_0x5682da){const _0x426065=_0x1bb2bd;var _0x55266d;let _0x366a69={'x':0x0,'y':0x0};if(!_0x5a89cb||!_0x5682da)return _0x366a69;let _0x1664e5=this[_0x426065(0x2ba)][_0x426065(0x40c)](_0x5a89cb);if(!_0x1664e5||!_0x1664e5[_0x426065(0x10a)](_0x542241[_0x426065(0x15f)])[_0x426065(0x2cc)](_0x5682da))return _0x366a69;let _0x5d8654=_0x1664e5[_0x426065(0x10a)](_0x542241[_0x426065(0x2c6)]),_0x2849e0=_0x5d8654==null?void 0x0:_0x5d8654[_0x426065(0x27b)]();if(!_0x2849e0)return _0x366a69;let _0x552913=(_0x55266d=this[_0x426065(0x3da)][_0x426065(0x4d8)](_0x5a89cb))==null?void 0x0:_0x55266d['getSheetBySheetId'](_0x5682da);if(!_0x552913)return _0x366a69;let _0x34156f=(0x0,_0x542241[_0x426065(0x48b)])(_0x2849e0[_0x426065(0x4b6)],_0x2849e0[_0x426065(0x340)],_0x1664e5[_0x426065(0x179)],_0x552913);return _0x34156f?{'x':_0x34156f['viewportScrollX'],'y':_0x34156f[_0x426065(0x2a3)]}:_0x366a69;}[_0x1bb2bd(0x29b)](_0x95ecba,_0x59c9b9){const _0x3d03d5=_0x1bb2bd;var _0x5afc4e;let _0x57e6ff=(_0x5afc4e=this['_univerInstanceService'][_0x3d03d5(0x4d8)](_0x95ecba))==null?void 0x0:_0x5afc4e[_0x3d03d5(0x200)](_0x59c9b9);return(_0x57e6ff==null?void 0x0:_0x57e6ff['getZoomRatio']())??0x1;}[_0x1bb2bd(0x4db)](_0x427566,_0x89b206,_0x44471b){const _0x4c7357=_0x1bb2bd;this[_0x4c7357(0x275)]((0x0,_0x3d2575['toDisposable'])(_0x427566[_0x4c7357(0x246)][_0x4c7357(0x11b)]((_0x371338,_0x339f8f)=>{const _0x4c667f=_0x4c7357;var _0x239a68,_0x55dadc,_0x18be0e,_0x53ce64;let _0x454c93=_0x427566[_0x4c667f(0x1c1)]();this[_0x4c667f(0x3a5)]=this[_0x4c667f(0x405)](_0x454c93[_0x4c667f(0x26d)],_0x454c93['subUnitId'],_0x454c93[_0x4c667f(0x17d)],_0x44471b),this[_0x4c667f(0x1ca)]=this[_0x4c667f(0x496)]['getShapeModel'](_0x454c93['unitId'],_0x454c93[_0x4c667f(0x114)],_0x454c93[_0x4c667f(0x17d)]);let _0x41c07d=this[_0x4c667f(0x479)][_0x4c667f(0x4f0)]({'unitId':this[_0x4c667f(0x4f9)],'subUnitId':this[_0x4c667f(0x34e)],'drawingId':this[_0x4c667f(0x1dc)]}),{transform:_0x3774f6}=_0x41c07d;if(_0x3774f6){let {left:_0x539a65,top:_0x1478fc,width:_0x31fc2e,height:_0x38f051}=_0x3774f6;this['_baseShapeLeft']=_0x539a65||0x0,this[_0x4c667f(0x2c7)]=_0x1478fc||0x0,this[_0x4c667f(0x102)]=_0x31fc2e||0x0,this[_0x4c667f(0x1a8)]=_0x38f051||0x0;}let _0x273704=!!((_0x239a68=_0x41c07d[_0x4c667f(0x3e4)])!=null&&_0x239a68[_0x4c667f(0x115)]),_0x2ac429=!!((_0x55dadc=_0x41c07d[_0x4c667f(0x3e4)])!=null&&_0x55dadc[_0x4c667f(0x3cf)]),_0x1d9077=((_0x18be0e=_0x41c07d[_0x4c667f(0x3e4)])==null?void 0x0:_0x18be0e[_0x4c667f(0x3c9)])||0x0;this['_isStartAdjusting']=!0x0,_0x89b206[_0x4c667f(0x251)]();let _0x2a7286={...((_0x53ce64=this[_0x4c667f(0x3a5)])==null?void 0x0:_0x53ce64[_0x4c667f(0x3aa)])??{}};this['_adjHandlerPointerMove']=_0x89b206['onPointerMove$'][_0x4c667f(0x11b)]((_0x4baaa4,_0x44e900)=>{const _0x215e1e=_0x4c667f;if(!this[_0x215e1e(0x280)])return;let {offsetX:_0x19c3d9,offsetY:_0x35ff5a}=_0x4baaa4,_0x2af7cc=this[_0x215e1e(0x3a5)];if(this[_0x215e1e(0x1ca)]&&_0x2af7cc){_0x89b206[_0x215e1e(0x251)](),_0x89b206[_0x215e1e(0x46e)](_0x610ad8[_0x215e1e(0x2cf)][_0x215e1e(0x21e)]);let _0x562d41={'left':0x0,'top':0x0,'width':this[_0x215e1e(0x102)],'height':this[_0x215e1e(0x1a8)]},_0x448850=this[_0x215e1e(0x1ae)](this[_0x215e1e(0x4f9)],this['_subUnitId']),_0xbc0412=this[_0x215e1e(0x29b)](this[_0x215e1e(0x4f9)],this[_0x215e1e(0x34e)]),_0x2048c2=_0x19c3d9/_0xbc0412+_0x448850['x']-this[_0x215e1e(0x448)],_0x28e1d5=_0x35ff5a/_0xbc0412+_0x448850['y']-this['_baseShapeTop'];if(_0x1d9077!==0x0){let _0x4ed04a=this[_0x215e1e(0x102)]/0x2,_0x2762fb=this[_0x215e1e(0x1a8)]/0x2,_0x49459f=_0x1d9077*Math['PI']/0xb4,_0x486857=Math['cos'](_0x49459f),_0x4f3341=Math[_0x215e1e(0x241)](_0x49459f),_0x3e632b=_0x2048c2-_0x4ed04a,_0x2a2001=_0x28e1d5-_0x2762fb;_0x2048c2=_0x4ed04a+(_0x3e632b*_0x486857+_0x2a2001*_0x4f3341),_0x28e1d5=_0x2762fb+(-_0x3e632b*_0x4f3341+_0x2a2001*_0x486857);}_0x273704&&(_0x2048c2=this[_0x215e1e(0x102)]-_0x2048c2),_0x2ac429&&(_0x28e1d5=this['_baseShapeHeight']-_0x28e1d5);let _0x51f691={'x':_0x2048c2,'y':_0x28e1d5},_0x27269b=this[_0x215e1e(0x1ca)][_0x215e1e(0x30c)](_0x562d41,_0x51f691,_0x2af7cc,_0x273704,_0x2ac429);if(Object[_0x215e1e(0x434)](_0x27269b)[_0x215e1e(0x40e)]===0x0)return;for(let [_0x583b55,_0xccefd2]of Object[_0x215e1e(0x334)](_0x27269b))this[_0x215e1e(0x1ca)][_0x215e1e(0x2ee)](_0x583b55,_0xccefd2);this[_0x215e1e(0x1ca)][_0x215e1e(0x210)]({'width':this[_0x215e1e(0x102)],'height':this[_0x215e1e(0x1a8)]});let _0x1cb681=this[_0x215e1e(0x479)][_0x215e1e(0x4f0)]({'unitId':_0x454c93[_0x215e1e(0x26d)],'subUnitId':_0x454c93[_0x215e1e(0x114)],'drawingId':_0x454c93['drawingId']});_0x1cb681&&(this[_0x215e1e(0x2ad)]['renderDrawingShape'](_0x1cb681,_0x89b206),this['_activeShapeAdjustPointList']=this[_0x215e1e(0x49a)](_0x454c93['unitId'],_0x454c93['subUnitId'],_0x454c93[_0x215e1e(0x17d)]),this[_0x215e1e(0x313)]());}_0x44e900['stopPropagation']();}),this[_0x4c667f(0x4a0)]=_0x89b206[_0x4c667f(0x2e2)][_0x4c667f(0x11b)]((_0x43eb5e,_0x3fe4fc)=>{const _0x26978c=_0x4c667f;this[_0x26978c(0x4cf)][_0x26978c(0x1a1)](),this[_0x26978c(0x4a0)][_0x26978c(0x1a1)](),_0x89b206[_0x26978c(0x35d)]();let _0x1a7512=this[_0x26978c(0x3a5)];if(_0x1a7512){let _0x48e66f=_0x454c93[_0x26978c(0x26d)],_0x14da29=_0x454c93[_0x26978c(0x114)],_0x83bfe3=_0x454c93[_0x26978c(0x17d)],_0x3460e6={};for(let _0x10234e of Object[_0x26978c(0x434)](_0x1a7512[_0x26978c(0x3aa)])){var _0x1a1035;let _0x2b3ee2=(_0x1a1035=this['_activeShapeModel'])==null?void 0x0:_0x1a1035[_0x26978c(0x26c)](_0x10234e);_0x2b3ee2!==void 0x0&&(_0x3460e6[_0x10234e]=_0x2b3ee2);}Object[_0x26978c(0x434)](_0x3460e6)[_0x26978c(0x40e)]>0x0&&_0x5c7f30(this[_0x26978c(0x101)],_0x48e66f,_0x14da29,_0x83bfe3,{'oldShapeData':{'adjustValues':_0x2a7286}},{'adjustValues':_0x3460e6});}this['_activeAdjustInfo']=void 0x0,this['_activeShapeModel']=void 0x0,this[_0x26978c(0x280)]=!0x1,_0x3fe4fc[_0x26978c(0x407)](),_0x89b206[_0x26978c(0x4c0)]();}),_0x339f8f[_0x4c667f(0x407)]();})));}[_0x1bb2bd(0x309)](){const _0x10afb2=_0x1bb2bd;let _0x422c80=this['_univerInstanceService'][_0x10afb2(0x25b)](_0x3d2575['UniverInstanceType'][_0x10afb2(0x245)]);this[_0x10afb2(0x275)](_0x422c80['pipe']((0x0,_0x133625[_0x10afb2(0x14f)])(_0x4f4a65=>_0x4f4a65?_0x4f4a65[_0x10afb2(0x404)]['pipe']((0x0,_0x133625['switchMap'])(_0x18ec2f=>{const _0x20ee73=_0x10afb2;if(!_0x18ec2f)return _0x133625['EMPTY'];let _0x253b92=_0x4f4a65[_0x20ee73(0x455)](),_0x50f578=this[_0x20ee73(0x2ba)][_0x20ee73(0x40c)](_0x253b92),_0x3c29ca=_0x50f578==null?void 0x0:_0x50f578[_0x20ee73(0x179)];return _0x3c29ca?(0x0,_0x133625['of'])(_0x3c29ca):_0x133625[_0x20ee73(0x21d)];})):_0x133625[_0x10afb2(0x21d)]))[_0x10afb2(0x3b2)](_0x6b0d29=>{const _0xc8a044=_0x10afb2;let _0x44c709=_0x6b0d29[_0xc8a044(0x4b5)]();this[_0xc8a044(0x275)](_0x6b0d29['onPointerMove$'][_0xc8a044(0x11b)](()=>{this['_isShouldShowDrawingShapeAdjust'];})),this[_0xc8a044(0x275)](_0x44c709[_0xc8a044(0x3c2)][_0xc8a044(0x3b2)](_0x3753=>{const _0x4f11ec=_0xc8a044;let {objects:_0x560d6a}=_0x3753;this[_0x4f11ec(0x4f6)](),_0x560d6a!==null&&_0x560d6a[_0x4f11ec(0x349)]===0x1&&_0x560d6a[_0x4f11ec(0x174)]()[_0x4f11ec(0x188)]()[_0x4f11ec(0x18a)]instanceof _0x28ba5a&&this['setShouldShowAdjust'](!0x0);})),this[_0xc8a044(0x275)](_0x44c709[_0xc8a044(0x3ec)]['subscribe'](()=>{const _0x4eb91d=_0xc8a044;this[_0x4eb91d(0x3ff)]&&this['_clearShapeAdjustControls']();})),this[_0xc8a044(0x275)](_0x6b0d29[_0xc8a044(0x2e2)][_0xc8a044(0x11b)](()=>{const _0x54d270=_0xc8a044;this['_isShouldShowDrawingShapeAdjust']&&(this[_0x54d270(0x170)](!0x1),this[_0x54d270(0x4f6)]());})),this[_0xc8a044(0x275)](_0x44c709[_0xc8a044(0x10c)][_0xc8a044(0x3b2)](()=>{const _0x216f58=_0xc8a044;this['_unitId']&&this[_0x216f58(0x34e)]&&this['_activeShapeId']&&this[_0x216f58(0x479)][_0x216f58(0x4f0)]({'unitId':this[_0x216f58(0x4f9)],'subUnitId':this[_0x216f58(0x34e)],'drawingId':this[_0x216f58(0x1dc)]})&&(this[_0x216f58(0x48d)]=this[_0x216f58(0x49a)](this['_unitId'],this[_0x216f58(0x34e)],this['_activeShapeId']),this[_0x216f58(0x313)]());}));}));}[_0x1bb2bd(0x20c)](){const _0x1b1740=_0x1bb2bd;this[_0x1b1740(0x275)](this[_0x1b1740(0x101)][_0x1b1740(0x2df)](_0x52d488=>{const _0x3b4b0d=_0x1b1740;if(_0x52d488['id']!==_0x111169[_0x3b4b0d(0x1d6)]['id'])return;let {unitId:_0x191d00,subUnitId:_0x297b69,shapeId:_0x3dbe6a}=_0x52d488[_0x3b4b0d(0x4ad)];_0x191d00===this['_unitId']&&_0x297b69===this['_subUnitId']&&_0x3dbe6a===this[_0x3b4b0d(0x1dc)]&&this['refreshAdjustControls']();})),this[_0x1b1740(0x275)](this[_0x1b1740(0x479)][_0x1b1740(0x2c2)][_0x1b1740(0x3b2)](_0x453ee5=>{const _0x1ae995=_0x1b1740;if(_0x453ee5[_0x1ae995(0x40e)]===0x1){let _0x387164=_0x453ee5[0x0];if(_0x387164[_0x1ae995(0x1f2)]===_0x3d2575[_0x1ae995(0x2d2)][_0x1ae995(0x30b)]&&this['_univerInstanceService'][_0x1ae995(0x28c)](_0x387164['unitId'])===_0x3d2575[_0x1ae995(0x4f8)][_0x1ae995(0x245)]){this[_0x1ae995(0x1dc)]=_0x387164['drawingId'];let {unitId:_0x247179,subUnitId:_0x586a5f}=_0x387164;this[_0x1ae995(0x48d)]=this[_0x1ae995(0x49a)](_0x247179,_0x586a5f,this['_activeShapeId']),this['_unitId']=_0x247179,this['_subUnitId']=_0x586a5f,this[_0x1ae995(0x351)](),this['_createShapeAdjustControls']();return;}}this[_0x1ae995(0x1dc)]=null,this['_activeShapeAdjustPointList']=void 0x0,this['_unitId']=null,this[_0x1ae995(0x34e)]=null,this[_0x1ae995(0x351)]();})),this['disposeWithMe'](this['_drawingManagerService']['update$'][_0x1b1740(0x3b2)](_0xf9caf8=>{const _0x38ddd3=_0x1b1740;if(_0xf9caf8['length']===0x1){var _0x18371e;let _0x313352=_0xf9caf8[0x0];((_0x18371e=this[_0x38ddd3(0x479)][_0x38ddd3(0x4f0)](_0x313352))==null?void 0x0:_0x18371e[_0x38ddd3(0x1f2)])===_0x3d2575[_0x38ddd3(0x2d2)][_0x38ddd3(0x30b)]&&this['_updateShapeAdjustControls'](!0x0);}})),this[_0x1b1740(0x275)](this['_drawingManagerService'][_0x1b1740(0x348)][_0x1b1740(0x3b2)](_0x4bcfab=>{const _0x2d6d72=_0x1b1740;for(let _0x3b6573 of _0x4bcfab)this[_0x2d6d72(0x1dc)]===_0x3b6573[_0x2d6d72(0x17d)]&&(this[_0x2d6d72(0x1dc)]=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x2d6d72(0x4f9)]=null,this[_0x2d6d72(0x34e)]=null,this[_0x2d6d72(0x351)]());}));}};_0x3f0181=_0x4d7d62([_0x25f0d4(0x0,_0xf3cf76['IDrawingManagerService']),_0x25f0d4(0x1,(0x0,_0x3d2575['Inject'])(_0x111169[_0x1bb2bd(0x4d3)])),_0x25f0d4(0x2,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x610ad8[_0x1bb2bd(0x1a3)])),_0x25f0d4(0x3,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x34a6bf)),_0x25f0d4(0x4,_0x3d2575[_0x1bb2bd(0x363)]),_0x25f0d4(0x5,_0x3d2575[_0x1bb2bd(0x196)])],_0x3f0181);let _0x1798ea={'id':'drawing.operation.set-drawing-active','type':_0x3d2575[_0x1bb2bd(0x481)]['OPERATION'],'handler':(_0x4d4b8e,_0xd6938e)=>{const _0x45611d=_0x1bb2bd;let _0x1cc66b=_0x4d4b8e[_0x45611d(0x107)](_0xf3cf76[_0x45611d(0x2fe)]),_0x4e94fa=_0x4d4b8e[_0x45611d(0x107)](_0x610ad8[_0x45611d(0x1a3)]),_0x9c908c=_0x4d4b8e[_0x45611d(0x107)](_0x3f0181);if(_0xd6938e==null)return!0x0;if(_0xd6938e[_0x45611d(0x40e)]>0x0){var _0x3729c0;let _0x16c65e=(_0x3729c0=_0x4e94fa[_0x45611d(0x40c)](_0xd6938e[0x0][_0x45611d(0x26d)]))==null?void 0x0:_0x3729c0['scene'];if(_0x16c65e){let {unitId:_0x48d598,subUnitId:_0x16ccc0,drawingId:_0x597f88}=_0xd6938e[0x0],_0x15cb8a=(0x0,_0xf3cf76['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x48d598,'subUnitId':_0x16ccc0,'drawingId':_0x597f88},void 0x0),_0x27e8c1=_0x16c65e[_0x45611d(0x195)](_0x15cb8a);if(_0x27e8c1){var _0x1cb1fc;(_0x1cb1fc=_0x4e94fa[_0x45611d(0x40c)](_0xd6938e[0x0]['unitId']))==null||(_0x1cb1fc=_0x1cb1fc[_0x45611d(0x179)][_0x45611d(0x460)]())==null||_0x1cb1fc[_0x45611d(0x1a2)](_0x27e8c1);}}_0x1cc66b['focusDrawing'](_0xd6938e),_0x9c908c[_0x45611d(0x170)](!0x1);}return!0x0;}},_0x5b3fe4={'type':_0x3d2575[_0x1bb2bd(0x481)][_0x1bb2bd(0x228)],'id':_0x1bb2bd(0x248),'handler':async(_0x3677c1,_0x513289)=>{const _0x40e70c=_0x1bb2bd;let _0x37fd67=(0x0,_0x306a90[_0x40e70c(0x173)])(_0x3677c1[_0x40e70c(0x107)](_0x3d2575[_0x40e70c(0x363)]));if(!_0x37fd67)return!0x1;let _0xc49612=_0x3677c1[_0x40e70c(0x107)](_0x306a90[_0x40e70c(0x390)])['getCurrentLastSelection']();if(!_0xc49612)return!0x1;let _0x5f0e23=_0x3677c1[_0x40e70c(0x107)](_0x3d2575[_0x40e70c(0x196)]),{unitId:_0xb606e1,subUnitId:_0x51747f}=_0x37fd67,{value:_0x355167,enhanceParams:_0x14708f}=_0x513289,{range:_0x40ada9}=_0xc49612,_0x3bcb52={'unitId':_0xb606e1,'subUnitId':_0x51747f,'shapeType':_0x355167,'range':_0x40ada9,'shapeId':(0x0,_0x3d2575[_0x40e70c(0x13f)])()};if(_0x14708f){let _0x103b17=(0x0,_0x756c25[_0x40e70c(0x4c9)])(_0x355167),_0x3563a7=_0x355167===_0x756c25[_0x40e70c(0x3a3)]['Rect'];_0x103b17&&(_0x14708f[_0x40e70c(0x287)]||_0x14708f[_0x40e70c(0x436)])&&(_0x3bcb52[_0x40e70c(0x268)]={'ln':{'startArrow':_0x14708f['startArrow']?{'type':_0x756c25[_0x40e70c(0x264)][_0x40e70c(0x230)],'size':_0x756c25[_0x40e70c(0x359)][_0x40e70c(0x1fe)]}:void 0x0,'endArrow':_0x14708f[_0x40e70c(0x436)]?{'type':_0x756c25['ShapeArrowTypeEnum'][_0x40e70c(0x230)],'size':_0x756c25[_0x40e70c(0x359)][_0x40e70c(0x39a)]}:void 0x0}}),_0x3563a7&&(_0x14708f[_0x40e70c(0x4e1)]||_0x14708f[_0x40e70c(0x1ab)])&&(_0x3bcb52['shapeData']=(0x0,_0x41ad7c[_0x40e70c(0x3f1)])({'fill':{'fillType':_0x756c25[_0x40e70c(0x17b)][_0x40e70c(0x43d)],'color':_0x40e70c(0x273)},'isHorizontal':!!_0x14708f[_0x40e70c(0x4e1)],'stroke':{'lineStrokeType':_0x756c25[_0x40e70c(0x380)][_0x40e70c(0x41d)],'width':0x1,'color':_0x40e70c(0x41e)}}));}let _0x81468d=_0x5f0e23[_0x40e70c(0x2ca)](_0x111169[_0x40e70c(0x1cd)]['id'],_0x3bcb52);return setTimeout(()=>{const _0x433401=_0x40e70c;_0x5f0e23[_0x433401(0x24d)](_0x1798ea['id'],[{'unitId':_0xb606e1,'subUnitId':_0x51747f,'drawingId':_0x3bcb52[_0x433401(0x4dd)]}]);},0xc8),_0x81468d;}},_0x326d15=_0x1bb2bd(0x1e4),_0x10e550='sheet.shape.object-list.panel',_0x2c0ba8=_0x1bb2bd(0x38b),_0x262faa='sheets-shape-ui.ribbon.shape-format',_0x37cb6a=(0x0,_0x3d2575[_0x1bb2bd(0x2dd)])(_0x1bb2bd(0x254)),_0x26229f='sheet.shape.text.float-menu',_0x1e7df2={'id':_0x1bb2bd(0x4bf),'type':_0x3d2575[_0x1bb2bd(0x481)][_0x1bb2bd(0x228)],'handler':(_0x5b0922,_0x15be67)=>{const _0x3d3e53=_0x1bb2bd;let _0x3edb1a=_0x5b0922[_0x3d3e53(0x107)](_0x1b3cd1[_0x3d3e53(0x28d)]),_0x475a1c=_0x5b0922[_0x3d3e53(0x107)](_0x3d2575['LocaleService']),_0x316209=_0x5b0922['get'](_0x3d2575[_0x3d3e53(0x363)]),_0x161a29=_0x5b0922[_0x3d3e53(0x107)](_0x3d2575[_0x3d3e53(0x196)]);return(0x0,_0x306a90[_0x3d3e53(0x173)])(_0x316209)?(_0x15be67==null?void 0x0:_0x15be67[_0x3d3e53(0x18a)])===_0x3d3e53(0x1a4)?(_0x3edb1a['close'](_0x10e550),!0x0):(_0x3edb1a[_0x3d3e53(0x339)]({'id':_0x10e550,'header':{'title':_0x475a1c['t'](_0x3d3e53(0x3e7))},'children':{'label':_0x10e550},'onClose':()=>{const _0x9c1cca=_0x3d3e53;_0x161a29[_0x9c1cca(0x2ca)](_0xf3cf76['SetDrawingSelectedOperation']['id'],[]);},'width':0x168}),!0x0):!0x1;}},_0x3c6df3={'type':_0x3d2575[_0x1bb2bd(0x481)][_0x1bb2bd(0x212)],'id':_0x1bb2bd(0x2d9),'handler'(){return!0x0;}};function _0x444c5f(_0x37778d){const _0x230ba6=_0x1bb2bd;let _0x37bec7=_0x37778d[_0x230ba6(0x107)](_0xf3cf76['IDrawingManagerService'])['getFocusDrawings'](),_0x4a53b5=_0x37bec7['length']===0x1?_0x37bec7[0x0]:null;if(!_0x4a53b5||_0x4a53b5['drawingType']!==_0x3d2575[_0x230ba6(0x2d2)][_0x230ba6(0x30b)])return null;let _0x232efa=_0x37778d['get'](_0x111169[_0x230ba6(0x4d3)]),_0x38e494=_0x232efa['getShapeTypeById'](_0x4a53b5[_0x230ba6(0x26d)],_0x4a53b5[_0x230ba6(0x114)],_0x4a53b5[_0x230ba6(0x17d)]),_0x575f69=_0x232efa[_0x230ba6(0x1f5)](_0x4a53b5[_0x230ba6(0x26d)],_0x4a53b5[_0x230ba6(0x114)],_0x4a53b5[_0x230ba6(0x17d)]);return _0x38e494===void 0x0||!_0x575f69?null:{'drawing':_0x4a53b5,'shapeData':_0x575f69,'shapeType':_0x38e494};}let _0x19375c={'id':_0x1bb2bd(0x3b9),'type':_0x3d2575[_0x1bb2bd(0x481)][_0x1bb2bd(0x212)],'handler':(_0x4ad750,_0x4848a8)=>{const _0x5c9bb3=_0x1bb2bd;let _0x38f916=_0x444c5f(_0x4ad750),_0xfe63db=(0x0,_0x41ad7c[_0x5c9bb3(0x142)])((_0x4848a8==null?void 0x0:_0x4848a8['presetId'])??(_0x4848a8==null?void 0x0:_0x4848a8[_0x5c9bb3(0x18a)])??'');if(!_0x38f916||!_0xfe63db||_0xfe63db[_0x5c9bb3(0x443)]!==(0x0,_0x41ad7c[_0x5c9bb3(0x243)])(_0x38f916['shapeData']))return!0x1;let _0x5a2256=(0x0,_0x41ad7c[_0x5c9bb3(0x414)])(_0x38f916[_0x5c9bb3(0x268)],_0xfe63db);if(!_0x5a2256)return!0x1;let {drawing:_0x462a66}=_0x38f916;return _0x4ad750[_0x5c9bb3(0x107)](_0x3d2575[_0x5c9bb3(0x196)])[_0x5c9bb3(0x24d)](_0x28edce['id'],{'unitId':_0x462a66[_0x5c9bb3(0x26d)],'subUnitId':_0x462a66[_0x5c9bb3(0x114)],'shapeId':_0x462a66[_0x5c9bb3(0x17d)],'shapeData':_0x5a2256,'oldShapeJSON':{'oldShapeData':_0x38f916[_0x5c9bb3(0x268)]}});}},_0x1534d4={'id':_0x1bb2bd(0x371),'type':_0x3d2575['CommandType'][_0x1bb2bd(0x212)],'handler':(_0x44a2b4,_0x59fd62)=>{const _0x3000ec=_0x1bb2bd;let _0x4bb12e=_0x444c5f(_0x44a2b4),_0x20db39=(_0x59fd62==null?void 0x0:_0x59fd62['shapeType'])??(_0x59fd62==null?void 0x0:_0x59fd62[_0x3000ec(0x18a)]);if(!_0x4bb12e||!_0x20db39||(0x0,_0x756c25[_0x3000ec(0x4c9)])(_0x4bb12e[_0x3000ec(0x1a7)])||(0x0,_0x756c25[_0x3000ec(0x4c9)])(_0x20db39))return!0x1;let _0x280682=(0x0,_0x41ad7c['cloneShapeDataForType'])(_0x4bb12e[_0x3000ec(0x268)],_0x20db39);if(!_0x280682)return!0x1;let {drawing:_0x4ace58}=_0x4bb12e;return _0x44a2b4[_0x3000ec(0x107)](_0x3d2575[_0x3000ec(0x196)])[_0x3000ec(0x24d)](_0x28edce['id'],{'unitId':_0x4ace58[_0x3000ec(0x26d)],'subUnitId':_0x4ace58[_0x3000ec(0x114)],'shapeId':_0x4ace58[_0x3000ec(0x17d)],'shapeType':_0x20db39,'shapeData':_0x280682,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x4bb12e[_0x3000ec(0x1a7)],'oldShapeData':_0x4bb12e['shapeData']}});}},_0xd84245=class extends _0x3d2575['Disposable']{constructor(_0x583a19,_0x1e60ba){const _0x3efd9a=_0x1bb2bd;super(),this['_clipService']=_0x583a19,this['_drawingManagerService']=_0x1e60ba,this[_0x3efd9a(0x3ca)](),this[_0x3efd9a(0x3d5)]['setCanUseShapeClip'](!0x0),this['disposeWithMe']({'dispose':()=>this[_0x3efd9a(0x3d5)][_0x3efd9a(0x2b1)](!0x1)});}[_0x1bb2bd(0x3ca)](){const _0x3a7c2b=_0x1bb2bd;let _0x308270=this[_0x3a7c2b(0x3d5)],_0x3ba7d5=new Map(),_0x4265da=_0x308270[_0x3a7c2b(0x3f3)]((_0x5f0fc9,_0xf732bf,_0x195eda,_0x26d394,_0x3b2334)=>{const _0x87c75a=_0x3a7c2b;let _0x40f135=_0xf732bf;if(_0x40f135===_0x756c25['ShapeTypeEnum'][_0x87c75a(0x2f3)]||_0xf732bf===_0x87c75a(0x1ac))return!0x1;try{let _0x2993ff=_0x3ba7d5['get'](_0xf732bf);return _0x2993ff||(_0x2993ff=new _0x756c25[(_0x87c75a(0x13b))](_0x40f135,_0x87c75a(0x1ee)+_0xf732bf),_0x3ba7d5[_0x87c75a(0x100)](_0xf732bf,_0x2993ff)),_0x2993ff[_0x87c75a(0x413)](),_0x3b2334&&Object[_0x87c75a(0x434)](_0x3b2334)['length']>0x0&&_0x2993ff[_0x87c75a(0x38f)]({'adjustValues':_0x3b2334},!0x0),_0x2993ff[_0x87c75a(0x210)]({'width':_0x195eda,'height':_0x26d394}),_0x2993ff['buildClipPath'](_0x5f0fc9,{'left':0x0,'top':0x0,'width':_0x195eda,'height':_0x26d394});}catch{return!0x1;}});this['disposeWithMe'](_0x4265da),this[_0x3a7c2b(0x275)]({'dispose':()=>_0x3ba7d5[_0x3a7c2b(0x1c2)]()});}['clipByShape'](_0x36e5ef,_0x2767e0,_0x2979db,_0x2aa9cf,_0x35bf88){const _0x37f574=_0x1bb2bd;let _0x46148f=this[_0x37f574(0x479)]['getDrawingData'](_0x36e5ef,_0x2767e0);if(!_0x46148f[_0x2979db])return;let _0x26cf0e={..._0x46148f[_0x2979db],'prstGeom':_0x2aa9cf,'adjustValues':_0x35bf88};this[_0x37f574(0x479)][_0x37f574(0x136)]([_0x26cf0e]);}};_0xd84245=_0x4d7d62([_0x25f0d4(0x0,(0x0,_0x3d2575['Inject'])(_0x2114cd[_0x1bb2bd(0x36f)])),_0x25f0d4(0x1,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0xf3cf76[_0x1bb2bd(0x2fe)]))],_0xd84245);let _0x47cd2f=_0x1bb2bd(0x134),_0x45262e=_0x1bb2bd(0x20b);function _0x1602e7({onShapeClick:_0x2a4c89,excludeGroups:_0x4adbb1}){const _0xeb1d80=_0x1bb2bd;return(0x0,_0x1fd74c[_0xeb1d80(0x451)])(_0x583754[_0xeb1d80(0x1ec)],{'excludeGroups':_0x4adbb1,'onShapeClick':_0x2a4c89,'scrollContainer':_0xeb1d80(0x48f)});}function _0x280cd7(){const _0x5bd23e=_0x1bb2bd;let _0x5f36e1=(0x0,_0x1b3cd1[_0x5bd23e(0x4bb)])(_0xf3cf76[_0x5bd23e(0x2fe)]),_0x10a491=(0x0,_0x1b3cd1[_0x5bd23e(0x4bb)])(_0xd84245);return(0x0,_0x1fd74c[_0x5bd23e(0x451)])(_0x583754['ShapePickerDropdown'],{'buttonLabel':_0x5bd23e(0x4b1),'excludeGroups':[_0x583754['ShapeGroupEnum'][_0x5bd23e(0x383)]],'onShapeClick':_0x515cdd=>{const _0x3efb94=_0x5bd23e;let _0x35c0d0=_0x5f36e1['getFocusDrawings']()['find'](_0x2c74db=>_0x2c74db['drawingType']===_0x3d2575['DrawingTypeEnum'][_0x3efb94(0x3b3)]);if(!_0x35c0d0)return;let {unitId:_0x43e6fd,subUnitId:_0x1e369f,drawingId:_0xa10df7}=_0x35c0d0;_0x10a491[_0x3efb94(0x231)](_0x43e6fd,_0x1e369f,_0xa10df7,_0x515cdd[_0x3efb94(0x443)]);}});}function _0x12dff2(){const _0x4411ea=_0x1bb2bd;let _0x3f6046=(0x0,_0x1b3cd1[_0x4411ea(0x4bb)])(_0xf3cf76[_0x4411ea(0x2fe)]),_0x2781bd=(0x0,_0x1b3cd1[_0x4411ea(0x4bb)])(_0xd84245);return(0x0,_0x1fd74c[_0x4411ea(0x451)])(_0x583754[_0x4411ea(0x3ed)],{'buttonLabel':_0x4411ea(0x4b1),'excludeGroups':[_0x583754[_0x4411ea(0x26e)][_0x4411ea(0x383)]],'DropdownComponent':_0x41eb39[_0x4411ea(0x11d)],'onShapeClick':_0x213d50=>{const _0x13d963=_0x4411ea;let _0x4dad76=_0x3f6046[_0x13d963(0x337)]()['find'](_0x49fac7=>_0x49fac7[_0x13d963(0x1f2)]===_0x3d2575[_0x13d963(0x2d2)]['DRAWING_IMAGE']);if(!_0x4dad76)return;let {unitId:_0x173ce2,subUnitId:_0xca6899,drawingId:_0x4f0ab2}=_0x4dad76;_0x2781bd['clipByShape'](_0x173ce2,_0xca6899,_0x4f0ab2,_0x213d50[_0x13d963(0x443)]);}});}function _0x2c0838(){const _0x4ded5d=_0x1bb2bd;let _0x1b3a5e=(0x0,_0x1b3cd1[_0x4ded5d(0x4bb)])(_0x1b3cd1[_0x4ded5d(0x447)]),_0x48e6b8=(0x0,_0x1b3cd1[_0x4ded5d(0x4bb)])(_0xf3cf76[_0x4ded5d(0x2fe)]),_0x5277a2=(0x0,_0x1b3cd1['useDependency'])(_0x3d2575['IUniverInstanceService']),_0x32cd62=_0x48e6b8['getFocusDrawings']()[0x0],_0x1fce2e=_0x32cd62?_0x5277a2['getUnitType'](_0x32cd62[_0x4ded5d(0x26d)]):void 0x0,_0x4b652b=_0x1fce2e===_0x3d2575[_0x4ded5d(0x4f8)][_0x4ded5d(0x17a)]?_0x4ded5d(0x3be):_0x1fce2e===_0x3d2575[_0x4ded5d(0x4f8)][_0x4ded5d(0x245)]?_0x45262e:void 0x0,_0x3a0f97=_0x4b652b?_0x1b3a5e[_0x4ded5d(0x107)](_0x4b652b):void 0x0;return _0x3a0f97?(0x0,_0x1fd74c['jsx'])(_0x3a0f97,{}):null;}function _0x2e8109(){const _0x3aa92e=_0x1bb2bd;let _0x24b753=(0x0,_0x1b3cd1['useDependency'])(_0x3d2575[_0x3aa92e(0x196)]);return(0x0,_0x1fd74c[_0x3aa92e(0x451)])(_0x1602e7,{'onShapeClick':_0x55ba24=>{const _0x3d9b16=_0x3aa92e;_0x24b753['executeCommand'](_0x5b3fe4['id'],{'value':_0x55ba24[_0x3d9b16(0x443)],'enhanceParams':{'endArrow':_0x55ba24['endArrow'],'startArrow':_0x55ba24[_0x3d9b16(0x287)],'horizontal':_0x55ba24[_0x3d9b16(0x4e1)],'vertical':_0x55ba24[_0x3d9b16(0x1ab)]}});}});}function _0x5a39c6(){return(0x0,_0x1fd74c['jsx'])(_0x2e8109,{});}function _0x3b0516(_0x473017){const _0x4590d0=_0x1bb2bd;let _0x3676cf=_0x473017['get'](_0x3d2575[_0x4590d0(0x363)]);return{'id':_0x5b3fe4['id'],'type':_0x1b3cd1['MenuItemType'][_0x4590d0(0x139)],'selections':[{'label':{'name':_0x47cd2f,'hoverable':!0x1,'selectable':!0x1,'props':{'id':_0x5b3fe4['id']}}}],'icon':_0x4590d0(0x240),'tooltip':'sheets-shape-ui.insertShape','activated$':(0x0,_0x542241[_0x4590d0(0x12c)])(_0x3676cf,!0x1,()=>new _0x133625['Observable'](_0x1ce394=>{const _0x316489=_0x4590d0;_0x1ce394[_0x316489(0x188)](!0x1);})),'hidden$':(0x0,_0x1b3cd1['getMenuHiddenObservable'])(_0x473017,_0x3d2575[_0x4590d0(0x4f8)][_0x4590d0(0x245)]),'disabled$':(0x0,_0x542241['getCurrentRangeDisable$'])(_0x473017)};}function _0x4112c6(_0xf0e797){const _0x15318b=_0x1bb2bd;let _0x5b91b0=_0xf0e797[_0x15318b(0x107)](_0x3d2575['IUniverInstanceService']);return{'id':_0x1e7df2['id'],'type':_0x1b3cd1[_0x15318b(0x255)][_0x15318b(0x277)],'icon':_0x15318b(0x343),'title':_0x15318b(0x1a6),'tooltip':_0x15318b(0x1a6),'activated$':(0x0,_0x542241['deriveStateFromActiveSheet$'])(_0x5b91b0,!0x1,()=>new _0x133625[(_0x15318b(0x499))](_0x237a07=>{_0x237a07['next'](!0x1);})),'hidden$':(0x0,_0x1b3cd1[_0x15318b(0x30f)])(_0xf0e797,_0x3d2575[_0x15318b(0x4f8)][_0x15318b(0x245)]),'disabled$':(0x0,_0x542241[_0x15318b(0x485)])(_0xf0e797)};}let _0x1a641b=_0x1bb2bd(0x315),_0x4f9b1d=_0x1bb2bd(0x1f3);function _0x334033(_0x2405b4){const _0x21a7f7=_0x1bb2bd;let _0x16e152=_0x2405b4[_0x21a7f7(0x107)](_0xf3cf76['IDrawingManagerService'])[_0x21a7f7(0x337)]();return _0x16e152[_0x21a7f7(0x40e)]===0x1&&_0x16e152[0x0][_0x21a7f7(0x1f2)]===_0x3d2575[_0x21a7f7(0x2d2)][_0x21a7f7(0x30b)]?_0x16e152[0x0]:null;}function _0xb10545(_0x1e4933){const _0x2f2eb2=_0x1bb2bd;let _0x2f5ec3=_0x1e4933[_0x2f2eb2(0x107)](_0xf3cf76[_0x2f2eb2(0x2fe)]);return _0x2f5ec3[_0x2f2eb2(0x2c2)]['pipe']((0x0,_0x133625[_0x2f2eb2(0x2ab)])(_0x2f5ec3[_0x2f2eb2(0x337)]()),(0x0,_0x133625[_0x2f2eb2(0x2f5)])(_0x355d3c=>_0x355d3c[_0x2f2eb2(0x40e)]!==0x1||_0x355d3c[0x0]['drawingType']!==_0x3d2575[_0x2f2eb2(0x2d2)]['DRAWING_SHAPE']));}function _0x111344(_0x1bfd3d){const _0x2ccae5=_0x1bb2bd;return{'id':_0x1a641b,'commandId':_0x111169[_0x2ccae5(0x4b2)]['id'],'type':_0x1b3cd1['MenuItemType'][_0x2ccae5(0x277)],'title':_0x2ccae5(0x3fb),'tooltip':_0x2ccae5(0x3fb),'icon':_0x2ccae5(0x396),'hidden$':_0xb10545(_0x1bfd3d),'params':()=>{const _0x21479d=_0x2ccae5;let _0x340703=_0x334033(_0x1bfd3d);return _0x340703?{'unitId':_0x340703['unitId'],'subUnitId':_0x340703[_0x21479d(0x114)],'shapeId':_0x340703[_0x21479d(0x17d)],'flipH':!0x0}:void 0x0;}};}function _0x162f45(_0x549563){const _0x181884=_0x1bb2bd;return{'id':_0x4f9b1d,'commandId':_0x111169[_0x181884(0x4b2)]['id'],'type':_0x1b3cd1['MenuItemType'][_0x181884(0x277)],'title':'sheets-shape-ui.flipVertical','tooltip':_0x181884(0x119),'icon':_0x181884(0x144),'hidden$':_0xb10545(_0x549563),'params':()=>{const _0x130b0f=_0x181884;let _0x3253b9=_0x334033(_0x549563);return _0x3253b9?{'unitId':_0x3253b9[_0x130b0f(0x26d)],'subUnitId':_0x3253b9[_0x130b0f(0x114)],'shapeId':_0x3253b9[_0x130b0f(0x17d)],'flipV':!0x0}:void 0x0;}};}let _0xab61b7=_0x1bb2bd(0x2db),_0x238dee='sheets-shape-ui.shape-format.style-ribbon-control',_0x220c17='sheets-shape-ui.shape-format.text-ribbon-control',_0x1bccbb=_0x1bb2bd(0x29a);function _0x3e079a(){const _0xceda15=_0x1bb2bd;let _0x4a63f4=(0x0,_0x1b3cd1[_0xceda15(0x4bb)])(_0x3d2575[_0xceda15(0x196)]),_0xfca338=(0x0,_0x1b3cd1['useDependency'])(_0xf3cf76[_0xceda15(0x2fe)]),_0x5ccc54=(0x0,_0x1b3cd1[_0xceda15(0x4bb)])(_0x111169[_0xceda15(0x4d3)]),_0x9d05d6=()=>{const _0x4cb492=_0xceda15;var _0x127da4;let _0x5a3afb=_0xfca338[_0x4cb492(0x337)]();if(_0x5a3afb[_0x4cb492(0x40e)]!==0x1||((_0x127da4=_0x5a3afb[0x0])==null?void 0x0:_0x127da4[_0x4cb492(0x1f2)])!==_0x3d2575['DrawingTypeEnum'][_0x4cb492(0x30b)])return null;let {unitId:_0x330e9e,subUnitId:_0x2f8b20,drawingId:_0x313c30}=_0x5a3afb[0x0],_0x5c60f2=_0x5ccc54[_0x4cb492(0x14b)](_0x330e9e,_0x2f8b20,_0x313c30),_0x456350=_0x5ccc54['getShapeDataById'](_0x330e9e,_0x2f8b20,_0x313c30);return _0x5c60f2===void 0x0||!_0x456350?null:{'unitId':_0x330e9e,'subUnitId':_0x2f8b20,'drawingId':_0x313c30,'shapeType':_0x5c60f2,'shapeData':_0x456350};},_0x452af3=(0x0,_0x1b3cd1[_0xceda15(0x28f)])(()=>new _0x133625[(_0xceda15(0x499))](_0x295343=>{const _0x2d58cb=_0xceda15;let _0x4284af=()=>_0x295343[_0x2d58cb(0x188)](_0x9d05d6()),_0x4252bc=_0xfca338[_0x2d58cb(0x2c2)]['subscribe'](_0x4284af),_0x479bde=_0x4a63f4[_0x2d58cb(0x2df)](_0xa9de81=>{const _0x5592a0=_0x2d58cb;_0xa9de81['id']===_0x111169[_0x5592a0(0x1d6)]['id']&&_0x4284af();});return _0x4284af(),()=>{_0x4252bc['unsubscribe'](),_0x479bde['dispose']();};}),_0x9d05d6(),!0x1,[_0x4a63f4,_0xfca338,_0x5ccc54]);return{'selection':_0x452af3,'updateShapeData':_0x353921=>{const _0x43357d=_0xceda15;_0x452af3&&_0x5c7f30(_0x4a63f4,_0x452af3[_0x43357d(0x26d)],_0x452af3[_0x43357d(0x114)],_0x452af3[_0x43357d(0x17d)],{'oldShapeData':_0x452af3['shapeData']},_0x353921);}};}function _0x32fb78(){const _0x1e9fbc=_0x1bb2bd;let {selection:_0x5c7b92,updateShapeData:_0x10853c}=_0x3e079a();return _0x5c7b92?(0x0,_0x1fd74c[_0x1e9fbc(0x451)])(_0x583754[_0x1e9fbc(0x28e)],{'shapeData':_0x5c7b92[_0x1e9fbc(0x268)],'shapeType':_0x5c7b92[_0x1e9fbc(0x1a7)],'onUpdateShapeData':_0x10853c}):null;}function _0x3157e2(){const _0x608fb6=_0x1bb2bd;let _0x2208d5=(0x0,_0x1b3cd1[_0x608fb6(0x4bb)])(_0x3d2575[_0x608fb6(0x196)]),_0x4f9742=(0x0,_0x1b3cd1[_0x608fb6(0x4bb)])(_0x3d2575[_0x608fb6(0x263)]),{selection:_0x2ac1bf}=_0x3e079a();return _0x2ac1bf?(0x0,_0x1fd74c[_0x608fb6(0x451)])(_0x583754['ShapeQuickStyleGallery'],{'type':(0x0,_0x41ad7c[_0x608fb6(0x243)])(_0x2ac1bf[_0x608fb6(0x268)]),'ariaLabel':_0x4f9742['t'](_0x608fb6(0x38c)),'activePresetId':(0x0,_0x41ad7c['resolveActiveShapeQuickStylePresetId'])(_0x2ac1bf[_0x608fb6(0x268)]),'onSelect':_0x42aa90=>_0x2208d5[_0x608fb6(0x24d)](_0x19375c['id'],{'presetId':_0x42aa90})}):null;}function _0x43a566(){const _0x1baf16=_0x1bb2bd;let {selection:_0x447c54,updateShapeData:_0xc3d4b3}=_0x3e079a();return _0x447c54?(0x0,_0x1fd74c['jsx'])(_0x583754[_0x1baf16(0x1b6)],{'fontFamilyPopupDataComponent':'sheets-shape-format-font-family-menu','shapeData':_0x447c54[_0x1baf16(0x268)],'onUpdateShapeData':_0xc3d4b3}):null;}function _0x41076a(){const _0x1fddc1=_0x1bb2bd;var _0x46e6e1;let {selection:_0x35e3e8,updateShapeData:_0x439353}=_0x3e079a(),_0x4b8ae9=(0x0,_0x583754[_0x1fddc1(0x42e)])({'hostType':_0x3d2575[_0x1fddc1(0x4f8)][_0x1fddc1(0x245)],'unitId':(_0x35e3e8==null?void 0x0:_0x35e3e8[_0x1fddc1(0x26d)])??'','subUnitId':(_0x35e3e8==null?void 0x0:_0x35e3e8[_0x1fddc1(0x114)])??'','shapeId':(_0x35e3e8==null?void 0x0:_0x35e3e8['drawingId'])??'','shapeData':_0x35e3e8==null?void 0x0:_0x35e3e8[_0x1fddc1(0x268)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x1fddc1(0x126),'onUpdateBinding':_0xcdbc34=>_0x439353({'formulaBinding':_0xcdbc34})}),_0x9628e1=((_0x46e6e1=_0x4b8ae9[_0x1fddc1(0x16a)])==null?void 0x0:_0x46e6e1[_0x1fddc1(0x493)](_0x1f836e=>_0x1f836e[_0x1fddc1(0x244)])[_0x1fddc1(0x262)](_0x347886=>_0x347886[_0x1fddc1(0x4a1)]!==!0x1))??[];return _0x35e3e8!=null&&_0x35e3e8[_0x1fddc1(0x268)][_0x1fddc1(0x103)]?(0x0,_0x1fd74c['jsx'])(_0x583754[_0x1fddc1(0x24b)],{'actions':_0x9628e1,'panel':_0x4b8ae9[_0x1fddc1(0x4ec)]}):null;}let _0xc789b6=_0x1bb2bd(0x27c),_0x400356=_0x1bb2bd(0x3ee),_0x147c87=_0x1bb2bd(0x4a3),_0x53377c=_0x1bb2bd(0x299),_0x5cb5f9='sheets-shape-ui.ribbon.shape-format.arrange-backward',_0x2ed731=_0x1bb2bd(0x1ed),_0x3605c2=_0x1bb2bd(0x2ed);function _0x1c08fc(_0x4f8390){const _0x4ddb3c=_0x1bb2bd;let _0x34f238=_0x4f8390['get'](_0x3d2575[_0x4ddb3c(0x196)]),_0x2fe8ae=_0x4f8390[_0x4ddb3c(0x107)](_0xf3cf76['IDrawingManagerService']),_0x36d32c=_0x4f8390[_0x4ddb3c(0x107)](_0x111169[_0x4ddb3c(0x4d3)]);return new _0x133625[(_0x4ddb3c(0x499))](_0x35ddad=>{const _0x250b26=_0x4ddb3c;let _0x274d90=()=>{const _0x1499d2=_0x413c;let _0x5b692e=_0xbc573a(_0x4f8390),_0x1a903d=_0x5b692e?_0x36d32c[_0x1499d2(0x1f5)](_0x5b692e[_0x1499d2(0x26d)],_0x5b692e['subUnitId'],_0x5b692e[_0x1499d2(0x17d)]):null;_0x35ddad[_0x1499d2(0x188)](_0x1a903d?(0x0,_0x41ad7c[_0x1499d2(0x2a8)])(_0x1a903d)??'':'');},_0x40b204=_0x2fe8ae['focus$'][_0x250b26(0x3b2)](_0x274d90),_0x541815=_0x34f238[_0x250b26(0x2df)](_0x2cfe56=>{const _0x35d9e1=_0x250b26;_0x2cfe56['id']===_0x111169[_0x35d9e1(0x1d6)]['id']&&_0x274d90();});return _0x274d90(),()=>{const _0x3760af=_0x250b26;_0x40b204['unsubscribe'](),_0x541815[_0x3760af(0x3cc)]();};});}function _0xbc573a(_0x49f891){const _0x1bcc8d=_0x1bb2bd;var _0x1412b7;let _0x46ca60=_0x49f891['get'](_0xf3cf76[_0x1bcc8d(0x2fe)])['getFocusDrawings']();return _0x46ca60[_0x1bcc8d(0x40e)]===0x1&&((_0x1412b7=_0x46ca60[0x0])==null?void 0x0:_0x1412b7[_0x1bcc8d(0x1f2)])===_0x3d2575[_0x1bcc8d(0x2d2)][_0x1bcc8d(0x30b)]?_0x46ca60[0x0]:null;}function _0x25bbdf(_0x175b37,_0x4fefa7=!0x1){const _0x1a7b2b=_0x1bb2bd;let _0x1b5afd=_0x175b37[_0x1a7b2b(0x107)](_0x3d2575['ICommandService']),_0x1ed99a=_0x175b37['get'](_0xf3cf76['IDrawingManagerService']),_0x48740d=_0x175b37[_0x1a7b2b(0x107)](_0x111169['SheetsShapeService']);return new _0x133625[(_0x1a7b2b(0x499))](_0x111f75=>{const _0x31423e=_0x1a7b2b;let _0x19a4d2=()=>{const _0x5dfb92=_0x413c;let _0x5a12a5=_0xbc573a(_0x175b37);if(!_0x5a12a5){_0x111f75['next'](!0x0);return;}let _0x1841cc=_0x48740d[_0x5dfb92(0x1f5)](_0x5a12a5[_0x5dfb92(0x26d)],_0x5a12a5[_0x5dfb92(0x114)],_0x5a12a5['drawingId']);_0x111f75[_0x5dfb92(0x188)](!_0x1841cc||_0x4fefa7&&_0x1841cc[_0x5dfb92(0x103)]==null);},_0x3a4c40=_0x1ed99a['focus$'][_0x31423e(0x3b2)](_0x19a4d2),_0x54c0d8=_0x1b5afd['onCommandExecuted'](_0x373514=>{const _0xc4be71=_0x31423e;_0x373514['id']===_0x111169[_0xc4be71(0x1d6)]['id']&&_0x19a4d2();});return _0x19a4d2(),()=>{const _0x2026d4=_0x31423e;_0x3a4c40[_0x2026d4(0x1a1)](),_0x54c0d8[_0x2026d4(0x3cc)]();};});}function _0x522ed5(_0xc5f33a){const _0x376b96=_0x1bb2bd;let _0x2af502=_0xc5f33a[_0x376b96(0x107)](_0xf3cf76[_0x376b96(0x2fe)]),_0x4278b0=_0xc5f33a[_0x376b96(0x107)](_0x111169[_0x376b96(0x4d3)]);return _0x2af502[_0x376b96(0x2c2)][_0x376b96(0x3f4)]((0x0,_0x133625['startWith'])(_0x2af502['getFocusDrawings']()),(0x0,_0x133625[_0x376b96(0x2f5)])(()=>{const _0xbca401=_0x376b96;let _0x175802=_0xbc573a(_0xc5f33a),_0x3d94d5=_0x175802?_0x4278b0['getShapeTypeById'](_0x175802[_0xbca401(0x26d)],_0x175802[_0xbca401(0x114)],_0x175802[_0xbca401(0x17d)]):void 0x0;return _0x3d94d5===void 0x0||(0x0,_0x756c25[_0xbca401(0x4c9)])(_0x3d94d5);}));}function _0x5182ae(_0x35cfb2){const _0x3d4df8=_0x1bb2bd;return{'id':_0x19375c['id'],'type':_0x1b3cd1[_0x3d4df8(0x255)][_0x3d4df8(0x139)],'icon':_0x3d4df8(0x33d),'title':_0x3d4df8(0x1af),'tooltip':_0x3d4df8(0x1af),'selections':[{'label':{'name':_0xab61b7,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x1c08fc(_0x35cfb2),'hidden$':_0x25bbdf(_0x35cfb2)};}function _0x577ffe(_0x49498b){const _0x22b6e4=_0x1bb2bd;return{'id':_0x1534d4['id'],'type':_0x1b3cd1[_0x22b6e4(0x255)]['SELECTOR'],'icon':_0x22b6e4(0x240),'title':'shape-editor-ui.toolbar.changeShape','tooltip':_0x22b6e4(0x203),'slot':!0x0,'selections':[{'label':{'name':_0x583754[_0x22b6e4(0x14a)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x522ed5(_0x49498b)};}function _0x1591bf(_0x5cc827,_0x4a171a,_0x1436a1=!0x1){const _0x57e274=_0x1bb2bd;return _0xa6d82a=>({'id':_0x5cc827,'type':_0x1b3cd1[_0x57e274(0x255)]['BUTTON'],'label':{'name':_0x4a171a,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x25bbdf(_0xa6d82a,_0x1436a1)});}let _0x13571e=_0x1591bf(_0xc789b6,_0x238dee),_0x409920=_0x1591bf(_0x400356,_0x220c17),_0x371a60=_0x1591bf(_0x147c87,_0x1bccbb,!0x0);function _0x3ab093(_0x4fdb49,_0x100444,_0x56d4d1,_0x29c814){const _0xf21d7b=_0x1bb2bd;return _0x2718ac=>({'id':_0x4fdb49,'commandId':_0x20c5a7['SetDrawingArrangeCommand']['id'],'type':_0x1b3cd1[_0xf21d7b(0x255)][_0xf21d7b(0x277)],'icon':_0x56d4d1,'title':_0x29c814,'tooltip':_0x29c814,'hidden$':_0x25bbdf(_0x2718ac),'params':()=>{const _0x5e3344=_0xf21d7b;let _0x2b0555=_0xbc573a(_0x2718ac);return _0x2b0555?{'unitId':_0x2b0555[_0x5e3344(0x26d)],'subUnitId':_0x2b0555[_0x5e3344(0x114)],'drawingIds':[_0x2b0555[_0x5e3344(0x17d)]],'arrangeType':_0x100444}:void 0x0;}});}let _0x273574=_0x3ab093(_0x53377c,_0x3d2575[_0x1bb2bd(0x31e)][_0x1bb2bd(0x23b)],_0x1bb2bd(0x490),_0x1bb2bd(0x40f)),_0x4e88b7=_0x3ab093(_0x5cb5f9,_0x3d2575[_0x1bb2bd(0x31e)][_0x1bb2bd(0x1ea)],_0x1bb2bd(0x1be),_0x1bb2bd(0x42b)),_0x1b84e2=_0x3ab093(_0x2ed731,_0x3d2575[_0x1bb2bd(0x31e)]['front'],_0x1bb2bd(0x2ec),'shape-editor-ui.arrange.front'),_0x40e52a=_0x3ab093(_0x3605c2,_0x3d2575[_0x1bb2bd(0x31e)][_0x1bb2bd(0x21f)],_0x1bb2bd(0x1c6),_0x1bb2bd(0x373));function _0x251b49(_0x43d951){const _0x551b8a=_0x1bb2bd;return{'id':_0x3c6df3['id'],'type':_0x1b3cd1[_0x551b8a(0x255)][_0x551b8a(0x277)],'icon':_0x551b8a(0x17c),'title':_0x551b8a(0x292),'tooltip':_0x551b8a(0x292),'hidden$':_0x25bbdf(_0x43d951),'params':()=>{const _0x3e0032=_0x551b8a;let _0x415350=_0xbc573a(_0x43d951);return _0x415350?{'unitId':_0x415350[_0x3e0032(0x26d)],'subUnitId':_0x415350[_0x3e0032(0x114)],'drawingId':_0x415350[_0x3e0032(0x17d)]}:void 0x0;}};}let _0xa4546b={[_0x1b3cd1[_0x1bb2bd(0x43a)][_0x1bb2bd(0x13e)]]:{[_0x262faa]:{'order':0x64,'title':_0x1bb2bd(0x292),'contextual':!0x0,'sheets-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x19375c['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x5182ae},[_0x1534d4['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x577ffe}},'sheets-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0xc789b6]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x13571e}},'sheets-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x400356]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x409920}},'sheets-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x1a641b]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x111344},[_0x4f9b1d]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x162f45},[_0x53377c]:{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x273574},[_0x5cb5f9]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x4e88b7},[_0x2ed731]:{'order':0x4,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x1b84e2},[_0x3605c2]:{'order':0x5,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x40e52a}},'sheets-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x147c87]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x371a60}},'sheets-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x3c6df3['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x251b49},[_0x583754[_0x1bb2bd(0x2ea)]['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x583754[_0x1bb2bd(0x4a7)]}}}}},_0x1c1dc2={[_0x1b3cd1['RibbonInsertGroup'][_0x1bb2bd(0x4dc)]]:{[_0x5b3fe4['id']]:{'order':0x3,'menuItemFactory':_0x3b0516}}},_0xb0b3d3={..._0x1c1dc2,[_0x1b3cd1[_0x1bb2bd(0x4d9)][_0x1bb2bd(0x369)]]:{[_0x1e7df2['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x4112c6}},[_0x1b3cd1[_0x1bb2bd(0x182)]['DRAWING']]:{[_0x1b3cd1[_0x1bb2bd(0x291)]['OTHERS']]:{[_0x1a641b]:{'order':0x4,'menuItemFactory':_0x111344},[_0x4f9b1d]:{'order':0x5,'menuItemFactory':_0x162f45}}}};var _0xb85a59=_0x1bb2bd(0x211),_0x40799a=_0x1bb2bd(0x49b);let _0x3c4530={'id':'sheet.operation.open-mobile-shape-editor','type':_0x3d2575[_0x1bb2bd(0x481)][_0x1bb2bd(0x212)],'handler'(_0x352d23,_0x38faeb){const _0x314bb9=_0x1bb2bd;return _0x38faeb?(_0x352d23['get'](_0x583754[_0x314bb9(0x20e)])[_0x314bb9(0x339)](_0x38faeb[_0x314bb9(0x154)],{'hostType':_0x3d2575['UniverInstanceType'][_0x314bb9(0x245)],'shapeId':_0x38faeb['drawingId'],'subUnitId':_0x38faeb[_0x314bb9(0x114)],'unitId':_0x38faeb[_0x314bb9(0x26d)]}),!0x0):!0x1;}},_0x230154=_0x1bb2bd(0x193),_0x19b925={},_0x3c521c=class extends _0x3d2575[_0x1bb2bd(0x463)]{constructor(_0x1ff28b,_0x4778f9,_0x134492,_0x265f31,_0x38b3eb){const _0x50a2ab=_0x1bb2bd;super(),this[_0x50a2ab(0x19e)]=_0x1ff28b,this[_0x50a2ab(0x479)]=_0x4778f9,this[_0x50a2ab(0x2ba)]=_0x134492,this['_univerInstanceService']=_0x265f31,this[_0x50a2ab(0x3ad)]=_0x38b3eb,_0x19f136(this,_0x50a2ab(0x44c),null),_0x19f136(this,_0x50a2ab(0x4f9),null),_0x19f136(this,_0x50a2ab(0x34e),null),_0x19f136(this,_0x50a2ab(0x227),void 0x0),_0x19f136(this,_0x50a2ab(0x3b4),[]),_0x19f136(this,_0x50a2ab(0x45c),0x0),_0x19f136(this,_0x50a2ab(0x276),0x0),_0x19f136(this,_0x50a2ab(0x117),0x0),_0x19f136(this,_0x50a2ab(0x2e8),0x0),_0x19f136(this,_0x50a2ab(0x280),!0x1),_0x19f136(this,_0x50a2ab(0x3a5),void 0x0),_0x19f136(this,_0x50a2ab(0x1ca),void 0x0),_0x19f136(this,_0x50a2ab(0x4cf),void 0x0),_0x19f136(this,_0x50a2ab(0x4a0),void 0x0),_0x19f136(this,'_isImagePointerDown',!0x1),this[_0x50a2ab(0x36c)](),this[_0x50a2ab(0x4aa)]();}[_0x1bb2bd(0x3fe)](){const _0x150f65=_0x1bb2bd;this[_0x150f65(0x418)]();}[_0x1bb2bd(0x498)](){const _0x166189=_0x1bb2bd;this[_0x166189(0x418)](),this[_0x166189(0x46b)](!0x0);}[_0x1bb2bd(0x466)](_0x544086,_0x569a68,_0x2021f6,_0x34e7bf){const _0x35a419=_0x1bb2bd;let _0x819729=_0x544086;if(_0x819729!==_0x756c25['ShapeTypeEnum'][_0x35a419(0x2f3)]&&_0x544086!=='custom')try{let _0x3b9786=new _0x756c25[(_0x35a419(0x13b))](_0x819729,'clip-adj-'+_0x544086);return _0x34e7bf&&_0x3b9786['setShapeData']({'adjustValues':_0x34e7bf},!0x0),_0x3b9786[_0x35a419(0x210)]({'width':_0x569a68,'height':_0x2021f6}),_0x3b9786;}catch{return;}}[_0x1bb2bd(0x1bb)](_0x18b465,_0x269d81,_0x31fc59){const _0x3b26ae=_0x1bb2bd;let _0x5b5dfc={'unitId':_0x18b465,'subUnitId':_0x269d81,'drawingId':_0x31fc59},_0x3f858d=this[_0x3b26ae(0x479)][_0x3b26ae(0x4f0)](_0x5b5dfc);if(_0x3f858d&&_0x3f858d[_0x3b26ae(0x1f2)]===_0x3d2575['DrawingTypeEnum'][_0x3b26ae(0x3b3)])return _0x3f858d;}[_0x1bb2bd(0x205)](_0x2a66b4,_0x4937e5,_0x525503){const _0x286f15=_0x1bb2bd;let _0x117bca=this[_0x286f15(0x2ba)][_0x286f15(0x40c)](_0x2a66b4);if(!_0x117bca)return;let {scene:_0x145bcd}=_0x117bca,_0x20c633=(0x0,_0xf3cf76['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x2a66b4,'subUnitId':_0x4937e5,'drawingId':_0x525503}),_0x438d39=_0x145bcd['getObject'](_0x20c633);if(_0x438d39 instanceof _0x610ad8[_0x286f15(0x213)]){let _0x5550cd=_0x438d39[_0x286f15(0x4ee)];if(_0x5550cd)return{'prstGeom':_0x5550cd,'adjustValues':_0x438d39[_0x286f15(0x2f4)]};}}[_0x1bb2bd(0x46b)](_0x263457=!0x1){const _0x4645de=_0x1bb2bd;if(!this[_0x4645de(0x4f9)]||!this['_subUnitId']||!this[_0x4645de(0x44c)])return;let _0x32ad32=this['_renderManagerService'][_0x4645de(0x40c)](this[_0x4645de(0x4f9)]);if(!_0x32ad32||!_0x32ad32[_0x4645de(0x10a)](_0x542241[_0x4645de(0x15f)])[_0x4645de(0x16b)]())return;let {scene:_0x1fffba}=_0x32ad32,_0x122343=this[_0x4645de(0x1bb)](this[_0x4645de(0x4f9)],this[_0x4645de(0x34e)],this[_0x4645de(0x44c)]);if(!_0x122343)return;let {transform:_0x2ded34}=_0x122343;if(!_0x2ded34)return;let {left:_0x25fbdf,top:_0xcb434,width:_0x13be8d,height:_0x370d9d,flipX:_0x185e82,flipY:_0x59de34,angle:_0x7a7059=0x0}=_0x2ded34;if(_0x25fbdf===void 0x0||_0xcb434===void 0x0)return;let _0x4323b6=this[_0x4645de(0x205)](this[_0x4645de(0x4f9)],this[_0x4645de(0x34e)],this[_0x4645de(0x44c)]);if(!_0x4323b6)return;if(_0x263457){let _0x5e9219=this[_0x4645de(0x466)](_0x4323b6[_0x4645de(0x4ee)],_0x13be8d||0x0,_0x370d9d||0x0,_0x4323b6[_0x4645de(0x1bf)]);if(!_0x5e9219)return;this[_0x4645de(0x227)]=_0x5e9219[_0x4645de(0x321)]();}let _0x5d15e5=this['_activeAdjustPointList'];if(_0x5d15e5&&_0x5d15e5[_0x4645de(0x40e)]!==0x0)for(let _0x3e8432=0x0;_0x3e8432<_0x5d15e5[_0x4645de(0x40e)];_0x3e8432++){let _0x491a1a=_0x5d15e5[_0x3e8432],_0x2f484e=_0x491a1a['x'],_0x45cf7c=_0x491a1a['y'];if(_0x185e82&&(_0x2f484e=(_0x13be8d||0x0)-_0x2f484e),_0x59de34&&(_0x45cf7c=(_0x370d9d||0x0)-_0x45cf7c),_0x7a7059!==0x0){let _0x31930d=(_0x13be8d||0x0)/0x2,_0x1c9676=(_0x370d9d||0x0)/0x2,_0x154fd4=_0x7a7059*Math['PI']/0xb4,_0x3636d1=Math[_0x4645de(0x226)](_0x154fd4),_0x5902d3=Math['sin'](_0x154fd4),_0x509af2=_0x2f484e-_0x31930d,_0x52a3d8=_0x45cf7c-_0x1c9676;_0x2f484e=_0x31930d+(_0x509af2*_0x3636d1-_0x52a3d8*_0x5902d3),_0x45cf7c=_0x1c9676+(_0x509af2*_0x5902d3+_0x52a3d8*_0x3636d1);}let _0x1bb358={'x':_0x2f484e,'y':_0x45cf7c,'adjName':_0x491a1a[_0x4645de(0x12b)]};this[_0x4645de(0x1d7)](_0x1fffba,_0x1bb358,_0x1bb358['adjName'],_0x25fbdf,_0xcb434,this[_0x4645de(0x4f9)],this['_subUnitId']);}}[_0x1bb2bd(0x1d7)](_0x1493be,_0x57f446,_0x478ba0,_0x1f7341,_0x4c1c6a,_0x337c05,_0xec2b1e){const _0x115de3=_0x1bb2bd;if(!this[_0x115de3(0x44c)])return;let _0x1224fa=_0x115de3(0x445)+this[_0x115de3(0x44c)]+'-'+_0x478ba0,_0x3bf0bf=_0x1493be[_0x115de3(0x195)](_0x1224fa);if(_0x3bf0bf){_0x3bf0bf[_0x115de3(0x2e5)]({'left':_0x57f446['x']+_0x1f7341-_0x756c25[_0x115de3(0x3ba)][_0x115de3(0x233)],'top':_0x57f446['y']+_0x4c1c6a-_0x756c25[_0x115de3(0x3ba)][_0x115de3(0x233)]});return;}let _0x4303ee=new _0x28a1af(_0x1224fa,{'left':_0x57f446['x']+_0x1f7341-_0x756c25[_0x115de3(0x3ba)][_0x115de3(0x233)],'top':_0x57f446['y']+_0x4c1c6a-_0x756c25['ShapeDefaultConfig'][_0x115de3(0x233)],'adjName':_0x478ba0,'shapeId':this[_0x115de3(0x44c)],'unitId':_0x337c05,'subUnitId':_0xec2b1e,'width':_0x756c25[_0x115de3(0x3ba)]['adjHandleSize']+0x8,'height':_0x756c25[_0x115de3(0x3ba)][_0x115de3(0x233)]+0x8,'zIndex':_0x610ad8['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0});this[_0x115de3(0x3b4)][_0x115de3(0x37e)](_0x4303ee),this[_0x115de3(0x4db)](_0x4303ee,_0x1493be,_0x478ba0),_0x1493be['addObject'](_0x4303ee,_0x610ad8[_0x115de3(0x239)]+0x1);}[_0x1bb2bd(0x418)](){const _0x5ab115=_0x1bb2bd;this[_0x5ab115(0x3b4)][_0x5ab115(0x40e)]!==0x0&&(this['_shapes'][_0x5ab115(0x307)](_0x3e62b2=>_0x3e62b2[_0x5ab115(0x3cc)]()),this[_0x5ab115(0x3b4)]=[]);}[_0x1bb2bd(0x1ae)](_0x9bdc86,_0x55e9f1){const _0x4db25a=_0x1bb2bd;var _0x1f9bcc;let _0x15de92={'x':0x0,'y':0x0},_0x2b59fc=this[_0x4db25a(0x2ba)][_0x4db25a(0x40c)](_0x9bdc86);if(!_0x2b59fc||!_0x2b59fc[_0x4db25a(0x10a)](_0x542241['SheetSkeletonManagerService'])['getSkeleton'](_0x55e9f1))return _0x15de92;let _0x494a92=_0x2b59fc[_0x4db25a(0x10a)](_0x542241[_0x4db25a(0x2c6)]),_0x5d7e7e=_0x494a92==null?void 0x0:_0x494a92[_0x4db25a(0x27b)]();if(!_0x5d7e7e)return _0x15de92;let _0xebe59c=(_0x1f9bcc=this[_0x4db25a(0x3da)][_0x4db25a(0x4d8)](_0x9bdc86))==null?void 0x0:_0x1f9bcc['getSheetBySheetId'](_0x55e9f1);if(!_0xebe59c)return _0x15de92;let _0x4235c8=(0x0,_0x542241[_0x4db25a(0x48b)])(_0x5d7e7e['sheetViewStartRow'],_0x5d7e7e[_0x4db25a(0x340)],_0x2b59fc[_0x4db25a(0x179)],_0xebe59c);return _0x4235c8?{'x':_0x4235c8[_0x4db25a(0x43b)],'y':_0x4235c8[_0x4db25a(0x2a3)]}:_0x15de92;}[_0x1bb2bd(0x29b)](_0x46722a,_0x183577){const _0x21ebd8=_0x1bb2bd;var _0x35a84b;let _0x27a9ea=(_0x35a84b=this[_0x21ebd8(0x3da)][_0x21ebd8(0x4d8)](_0x46722a))==null?void 0x0:_0x35a84b[_0x21ebd8(0x200)](_0x183577);return(_0x27a9ea==null?void 0x0:_0x27a9ea['getZoomRatio']())??0x1;}[_0x1bb2bd(0x4db)](_0x22e6f3,_0x496e69,_0x5f4393){const _0xfe0acc=_0x1bb2bd;this[_0xfe0acc(0x275)]((0x0,_0x3d2575[_0xfe0acc(0x1ba)])(_0x22e6f3[_0xfe0acc(0x246)]['subscribeEvent']((_0xd331,_0x340e35)=>{const _0x52fea2=_0xfe0acc;var _0x2b7d63,_0x163cf6,_0x55d823;let {unitId:_0x1fd775,subUnitId:_0x4f113e,drawingId:_0x5a5d4a}=_0x22e6f3[_0x52fea2(0x1c1)](),_0x3fb2c9=this[_0x52fea2(0x1bb)](_0x1fd775,_0x4f113e,_0x5a5d4a);if(!(_0x3fb2c9!=null&&_0x3fb2c9['transform']))return;let {left:_0x59c59e,top:_0x123846,width:_0x3c00aa,height:_0x275986}=_0x3fb2c9[_0x52fea2(0x3e4)];this[_0x52fea2(0x45c)]=_0x59c59e||0x0,this['_baseTop']=_0x123846||0x0,this['_baseWidth']=_0x3c00aa||0x0,this[_0x52fea2(0x2e8)]=_0x275986||0x0;let _0x12319e=!!((_0x2b7d63=_0x3fb2c9[_0x52fea2(0x3e4)])!=null&&_0x2b7d63[_0x52fea2(0x115)]),_0xa6fab9=!!((_0x163cf6=_0x3fb2c9['transform'])!=null&&_0x163cf6['flipY']),_0x5347e7=((_0x55d823=_0x3fb2c9['transform'])==null?void 0x0:_0x55d823[_0x52fea2(0x3c9)])||0x0,_0x108451=this[_0x52fea2(0x205)](_0x1fd775,_0x4f113e,_0x5a5d4a);if(!_0x108451)return;let _0x4b1321=this[_0x52fea2(0x466)](_0x108451[_0x52fea2(0x4ee)],this[_0x52fea2(0x117)],this['_baseHeight'],_0x108451[_0x52fea2(0x1bf)]);if(!_0x4b1321||(this[_0x52fea2(0x1ca)]=_0x4b1321,this['_activeAdjustInfo']=_0x4b1321['getAdjustInfoByName'](_0x5f4393),!this[_0x52fea2(0x3a5)]))return;this['_isStartAdjusting']=!0x0,_0x496e69[_0x52fea2(0x251)]();let _0x23f038=_0x108451[_0x52fea2(0x4ee)];this['_adjHandlerPointerMove']=_0x496e69[_0x52fea2(0x37b)][_0x52fea2(0x11b)]((_0x18ab02,_0x101b96)=>{const _0x5795e8=_0x52fea2;if(!this[_0x5795e8(0x280)])return;let {offsetX:_0x531b99,offsetY:_0x2c7b75}=_0x18ab02,_0x152995=this[_0x5795e8(0x3a5)];if(!this[_0x5795e8(0x1ca)]||!_0x152995)return;_0x496e69[_0x5795e8(0x251)](),_0x496e69[_0x5795e8(0x46e)](_0x610ad8[_0x5795e8(0x2cf)][_0x5795e8(0x21e)]);let _0xc29c61={'left':0x0,'top':0x0,'width':this[_0x5795e8(0x117)],'height':this[_0x5795e8(0x2e8)]},_0x5c5985=this[_0x5795e8(0x1ae)](_0x1fd775,_0x4f113e),_0xa84ef7=this[_0x5795e8(0x29b)](_0x1fd775,_0x4f113e),_0x506a24=_0x531b99/_0xa84ef7+_0x5c5985['x']-this['_baseLeft'],_0x286b55=_0x2c7b75/_0xa84ef7+_0x5c5985['y']-this[_0x5795e8(0x276)];if(_0x5347e7!==0x0){let _0x2e3f91=this['_baseWidth']/0x2,_0x120a42=this[_0x5795e8(0x2e8)]/0x2,_0x1e433f=_0x5347e7*Math['PI']/0xb4,_0x16bd3e=Math[_0x5795e8(0x226)](_0x1e433f),_0x234f29=Math[_0x5795e8(0x241)](_0x1e433f),_0x490c89=_0x506a24-_0x2e3f91,_0xf371d4=_0x286b55-_0x120a42;_0x506a24=_0x2e3f91+(_0x490c89*_0x16bd3e+_0xf371d4*_0x234f29),_0x286b55=_0x120a42+(-_0x490c89*_0x234f29+_0xf371d4*_0x16bd3e);}_0x12319e&&(_0x506a24=this[_0x5795e8(0x117)]-_0x506a24),_0xa6fab9&&(_0x286b55=this[_0x5795e8(0x2e8)]-_0x286b55);let _0x5b1dd3=this[_0x5795e8(0x1ca)][_0x5795e8(0x30c)](_0xc29c61,{'x':_0x506a24,'y':_0x286b55},_0x152995,_0x12319e,_0xa6fab9);if(Object[_0x5795e8(0x434)](_0x5b1dd3)[_0x5795e8(0x40e)]!==0x0){for(let [_0x4670b3,_0x152a69]of Object['entries'](_0x5b1dd3))this[_0x5795e8(0x1ca)]['setAdjustValueByName'](_0x4670b3,_0x152a69);this[_0x5795e8(0x1ca)][_0x5795e8(0x210)]({'width':this['_baseWidth'],'height':this[_0x5795e8(0x2e8)]}),this[_0x5795e8(0x18b)](_0x1fd775,_0x4f113e,_0x5a5d4a,_0x5b1dd3),this[_0x5795e8(0x227)]=this[_0x5795e8(0x1ca)][_0x5795e8(0x321)](),this[_0x5795e8(0x46b)](),_0x101b96['stopPropagation']();}}),this['_adjHandlerPointerUp']=_0x496e69[_0x52fea2(0x2e2)][_0x52fea2(0x11b)]((_0x19d8d4,_0x161973)=>{const _0x419858=_0x52fea2;if(this[_0x419858(0x4cf)][_0x419858(0x1a1)](),this[_0x419858(0x4a0)]['unsubscribe'](),_0x496e69[_0x419858(0x35d)](),this['_activeShapeModel']){let _0xf7f625=this[_0x419858(0x1ca)]['getAdjustNames'](),_0x29c253={};for(let _0x2db25a of _0xf7f625){let _0xcca507=this['_activeShapeModel'][_0x419858(0x26c)](_0x2db25a);_0xcca507!==void 0x0&&(_0x29c253[_0x2db25a]=_0xcca507);}this[_0x419858(0x3ad)][_0x419858(0x231)](_0x1fd775,_0x4f113e,_0x5a5d4a,_0x23f038,_0x29c253);}this[_0x419858(0x3a5)]=void 0x0,this[_0x419858(0x1ca)]=void 0x0,this[_0x419858(0x280)]=!0x1,_0x161973['stopPropagation'](),_0x496e69[_0x419858(0x4c0)]();}),_0x340e35[_0x52fea2(0x407)]();})));}[_0x1bb2bd(0x18b)](_0x3acd5a,_0x469062,_0x408cf6,_0x3c6cc2){const _0x394997=_0x1bb2bd;let _0x3946e3=this[_0x394997(0x2ba)][_0x394997(0x40c)](_0x3acd5a);if(!_0x3946e3)return;let {scene:_0x3727bd}=_0x3946e3,_0x14a90e=(0x0,_0xf3cf76[_0x394997(0x372)])({'unitId':_0x3acd5a,'subUnitId':_0x469062,'drawingId':_0x408cf6}),_0x42038a=_0x3727bd[_0x394997(0x2f7)](_0x14a90e);if(_0x42038a instanceof _0x610ad8[_0x394997(0x213)]){let _0x11d43a=_0x42038a['prstGeomAdjValues']??{};_0x42038a[_0x394997(0x483)]({..._0x11d43a,..._0x3c6cc2}),_0x42038a[_0x394997(0x4a5)](!0x0);}}['_registerMoveHandler'](){const _0x489964=_0x1bb2bd;let _0x5b0c34=this['_univerInstanceService'][_0x489964(0x25b)](_0x3d2575[_0x489964(0x4f8)][_0x489964(0x245)]);this[_0x489964(0x275)](_0x5b0c34[_0x489964(0x3f4)]((0x0,_0x133625[_0x489964(0x14f)])(_0x4b3cc3=>_0x4b3cc3?_0x4b3cc3[_0x489964(0x404)][_0x489964(0x3f4)]((0x0,_0x133625['switchMap'])(_0x1a7b7f=>{const _0xaf21=_0x489964;if(!_0x1a7b7f)return _0x133625[_0xaf21(0x21d)];let _0x33aa84=_0x4b3cc3[_0xaf21(0x455)](),_0xea8073=this[_0xaf21(0x2ba)]['getRenderUnitById'](_0x33aa84),_0x5500e3=_0xea8073==null?void 0x0:_0xea8073[_0xaf21(0x179)];return _0x5500e3?(0x0,_0x133625['of'])(_0x5500e3):_0x133625[_0xaf21(0x21d)];})):_0x133625[_0x489964(0x21d)]))[_0x489964(0x3b2)](_0x256cda=>{const _0x15f4d7=_0x489964;let _0x4023ff=_0x256cda['getTransformerByCreate']();this[_0x15f4d7(0x275)](_0x256cda[_0x15f4d7(0x37b)][_0x15f4d7(0x11b)](()=>{const _0x39a738=_0x15f4d7;this['_isImagePointerDown']&&this[_0x39a738(0x418)]();})),this[_0x15f4d7(0x275)](_0x4023ff['changeStart$'][_0x15f4d7(0x3b2)](_0x12f387=>{const _0x2ed454=_0x15f4d7;let {objects:_0x465a87}=_0x12f387;if(this['_createControls'](),_0x465a87!==null&&_0x465a87['size']===0x1){let _0x3560ff=_0x465a87[_0x2ed454(0x174)]()[_0x2ed454(0x188)]()[_0x2ed454(0x18a)];_0x3560ff instanceof _0x610ad8[_0x2ed454(0x213)]&&_0x3560ff[_0x2ed454(0x4ee)]&&(this['_isImagePointerDown']=!0x0);}})),this['disposeWithMe'](_0x4023ff[_0x15f4d7(0x3ec)]['subscribe'](()=>{const _0x1d5a76=_0x15f4d7;this[_0x1d5a76(0x4bc)]&&this[_0x1d5a76(0x418)]();})),this[_0x15f4d7(0x275)](_0x256cda[_0x15f4d7(0x2e2)][_0x15f4d7(0x11b)](()=>{const _0x1507c0=_0x15f4d7;this[_0x1507c0(0x4bc)]&&(this[_0x1507c0(0x4bc)]=!0x1,this[_0x1507c0(0x46b)]());})),this[_0x15f4d7(0x275)](_0x4023ff['changeEnd$'][_0x15f4d7(0x3b2)](()=>{const _0x2b4e79=_0x15f4d7;if(this[_0x2b4e79(0x4f9)]&&this['_subUnitId']&&this[_0x2b4e79(0x44c)]){let _0x56a00c=this['_getImagePrstGeom'](this[_0x2b4e79(0x4f9)],this[_0x2b4e79(0x34e)],this[_0x2b4e79(0x44c)]);if(_0x56a00c){var _0x8858b4,_0x539811;let _0x27fca1=this['_getImageDrawingInfo'](this[_0x2b4e79(0x4f9)],this[_0x2b4e79(0x34e)],this['_activeImageId']),_0x2871ba=(_0x27fca1==null||(_0x8858b4=_0x27fca1[_0x2b4e79(0x3e4)])==null?void 0x0:_0x8858b4['width'])||0x0,_0x2211f8=(_0x27fca1==null||(_0x539811=_0x27fca1[_0x2b4e79(0x3e4)])==null?void 0x0:_0x539811[_0x2b4e79(0x1db)])||0x0,_0x5317e0=this['_getOrCreateShapeModel'](_0x56a00c['prstGeom'],_0x2871ba,_0x2211f8,_0x56a00c[_0x2b4e79(0x1bf)]);_0x5317e0&&(this[_0x2b4e79(0x227)]=_0x5317e0[_0x2b4e79(0x321)](),this[_0x2b4e79(0x418)](),this[_0x2b4e79(0x46b)](!0x0));}}}));}));}[_0x1bb2bd(0x36c)](){const _0x21d0f4=_0x1bb2bd;this[_0x21d0f4(0x275)](this[_0x21d0f4(0x479)]['focus$'][_0x21d0f4(0x3b2)](_0x285d4c=>{const _0x58b33c=_0x21d0f4;if(_0x285d4c[_0x58b33c(0x40e)]===0x1){let _0x419a7b=_0x285d4c[0x0];if(_0x419a7b[_0x58b33c(0x1f2)]===_0x3d2575[_0x58b33c(0x2d2)]['DRAWING_IMAGE']){let {unitId:_0x3ac456,subUnitId:_0x544063,drawingId:_0x277505}=_0x419a7b,_0xd8e1a4=this[_0x58b33c(0x205)](_0x3ac456,_0x544063,_0x277505);if(_0xd8e1a4){var _0x4ad07e,_0x636473;this['_activeImageId']=_0x277505,this[_0x58b33c(0x4f9)]=_0x3ac456,this['_subUnitId']=_0x544063;let _0xfb5b11=this[_0x58b33c(0x1bb)](_0x3ac456,_0x544063,_0x277505),_0x341c73=(_0xfb5b11==null||(_0x4ad07e=_0xfb5b11['transform'])==null?void 0x0:_0x4ad07e[_0x58b33c(0x181)])||0x0,_0x33c83e=(_0xfb5b11==null||(_0x636473=_0xfb5b11['transform'])==null?void 0x0:_0x636473[_0x58b33c(0x1db)])||0x0,_0xbf74e=this[_0x58b33c(0x466)](_0xd8e1a4[_0x58b33c(0x4ee)],_0x341c73,_0x33c83e,_0xd8e1a4[_0x58b33c(0x1bf)]);_0xbf74e&&(this[_0x58b33c(0x227)]=_0xbf74e[_0x58b33c(0x321)]()),this[_0x58b33c(0x418)](),this[_0x58b33c(0x46b)](!0x0);}else this[_0x58b33c(0x342)]();}else this['_resetState']();}else this[_0x58b33c(0x342)]();})),this['disposeWithMe'](this[_0x21d0f4(0x479)][_0x21d0f4(0x465)]['subscribe'](_0x554856=>{const _0x44cb1d=_0x21d0f4;if(_0x554856[_0x44cb1d(0x40e)]===0x1){let _0x33ce86=_0x554856[0x0],_0x274f99=this[_0x44cb1d(0x479)]['getDrawingByParam'](_0x33ce86);(_0x274f99==null?void 0x0:_0x274f99[_0x44cb1d(0x1f2)])===_0x3d2575[_0x44cb1d(0x2d2)][_0x44cb1d(0x3b3)]&&this[_0x44cb1d(0x44c)]===_0x33ce86[_0x44cb1d(0x17d)]&&(this['_clearControls'](),this[_0x44cb1d(0x46b)](!0x0));}})),this['disposeWithMe'](this[_0x21d0f4(0x479)][_0x21d0f4(0x348)][_0x21d0f4(0x3b2)](_0xf2ddf5=>{const _0x1c97c9=_0x21d0f4;for(let _0x5c17a7 of _0xf2ddf5)this['_activeImageId']===_0x5c17a7['drawingId']&&this[_0x1c97c9(0x342)]();}));}[_0x1bb2bd(0x342)](){const _0x2be764=_0x1bb2bd;this['_activeImageId']=null,this[_0x2be764(0x4f9)]=null,this['_subUnitId']=null,this[_0x2be764(0x227)]=void 0x0,this[_0x2be764(0x418)]();}};_0x3c521c=_0x4d7d62([_0x25f0d4(0x1,_0xf3cf76['IDrawingManagerService']),_0x25f0d4(0x2,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x610ad8[_0x1bb2bd(0x1a3)])),_0x25f0d4(0x3,_0x3d2575[_0x1bb2bd(0x363)]),_0x25f0d4(0x4,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0xd84245))],_0x3c521c);function _0x3bc39e({ref:_0x212455,..._0x36db7d}){const _0x2c6d64=_0x1bb2bd;let {preserveStrokeWidth:_0x345905,icon:_0x5be37c,id:_0x4056b2,className:_0x5f038f,extend:_0x49e235,..._0x5454aa}=_0x36db7d,_0x53c4da=(_0x2c6d64(0x1cb)+_0x4056b2+'\x20'+(_0x5f038f||''))[_0x2c6d64(0x4e3)](),_0x265364='_'+(0x0,_0x5335a7[_0x2c6d64(0x333)])(),_0x1d9ff1=(0x0,_0x5335a7[_0x2c6d64(0x4c5)])(null);return(0x0,_0x5335a7['useImperativeHandle'])(_0x212455,()=>_0x1d9ff1[_0x2c6d64(0x423)]),(0x0,_0x5335a7[_0x2c6d64(0x2ce)])(()=>{const _0x205e54=_0x2c6d64;if(_0x345905&&_0x1d9ff1[_0x205e54(0x423)]&&_0x1d9ff1['current'][_0x205e54(0x3f2)]===_0x5be37c[_0x205e54(0x3cb)])return _0x3b150b(_0x1d9ff1[_0x205e54(0x423)]);},[_0x345905,_0x5be37c]),_0xcba36a(_0x5be37c,''+_0x4056b2,{'defIds':_0x5be37c[_0x2c6d64(0x2f0)],'idSuffix':_0x265364},{'ref':_0x1d9ff1,'className':_0x53c4da,..._0x5454aa},_0x49e235);}function _0xcba36a(_0x4f554b,_0x106bff,_0x4fb66f,_0x328d9,_0x21981d){const _0x21849d=_0x1bb2bd;return(0x0,_0x5335a7[_0x21849d(0x393)])(_0x4f554b[_0x21849d(0x3cb)],{'key':_0x106bff,..._0x1875e1(_0x4f554b,_0x4fb66f,_0x21981d),..._0x328d9},(_0x1c2811(_0x4f554b,_0x4fb66f)[_0x21849d(0x49d)]||[])[_0x21849d(0x2f5)]((_0x39be05,_0x1b5a75)=>_0xcba36a(_0x39be05,_0x106bff+'-'+_0x4f554b[_0x21849d(0x3cb)]+'-'+_0x1b5a75,_0x4fb66f,void 0x0,_0x21981d)));}function _0x1875e1(_0x68d8eb,_0x3dc1b5,_0x308e69){const _0x150535=_0x1bb2bd;let _0x5cee8e={..._0x68d8eb[_0x150535(0x316)]};_0x308e69!=null&&_0x308e69[_0x150535(0x258)]&&_0x5cee8e['fill']==='colorChannel1'&&(_0x5cee8e[_0x150535(0x266)]=_0x308e69[_0x150535(0x258)]),_0x308e69!=null&&_0x308e69[_0x150535(0x258)]&&_0x5cee8e['stroke']==='colorChannel1'&&(_0x5cee8e[_0x150535(0x4e8)]=_0x308e69[_0x150535(0x258)]),_0x68d8eb[_0x150535(0x3cb)]===_0x150535(0x2c5)&&_0x5cee8e['id']&&(_0x5cee8e['id']+=_0x3dc1b5[_0x150535(0x452)]),Object['entries'](_0x5cee8e)[_0x150535(0x307)](([_0x2d6474,_0x2063b4])=>{const _0x3c898a=_0x150535;_0x2d6474===_0x3c898a(0x2c5)&&typeof _0x2063b4==_0x3c898a(0x2b6)&&(_0x5cee8e[_0x2d6474]=_0x2063b4[_0x3c898a(0x1fc)](/url\(#(.*)\)/,'url(#$1'+_0x3dc1b5[_0x3c898a(0x452)]+')'));});let {defIds:_0x29780c}=_0x3dc1b5;return!_0x29780c||_0x29780c[_0x150535(0x40e)]===0x0||(_0x68d8eb[_0x150535(0x3cb)]===_0x150535(0x281)&&_0x5cee8e['xlink:href']&&(_0x5cee8e[_0x150535(0x4ac)]+=_0x3dc1b5[_0x150535(0x452)]),Object[_0x150535(0x334)](_0x5cee8e)[_0x150535(0x307)](([_0x376239,_0x20584b])=>{const _0x1f79a0=_0x150535;typeof _0x20584b==_0x1f79a0(0x2b6)&&(_0x5cee8e[_0x376239]=_0x20584b[_0x1f79a0(0x1fc)](/url\(#(.*)\)/,_0x1f79a0(0x2bd)+_0x3dc1b5[_0x1f79a0(0x452)]+')'));})),_0x5cee8e;}function _0x1c2811(_0x35a0b0,_0x5b0974){const _0x599950=_0x1bb2bd;var _0x14c1f6;let {defIds:_0x209add}=_0x5b0974;return!_0x209add||_0x209add[_0x599950(0x40e)]===0x0?_0x35a0b0:_0x35a0b0[_0x599950(0x3cb)]==='defs'&&(_0x14c1f6=_0x35a0b0[_0x599950(0x49d)])!=null&&_0x14c1f6[_0x599950(0x40e)]?{..._0x35a0b0,'children':_0x35a0b0[_0x599950(0x49d)][_0x599950(0x2f5)](_0x1580d6=>typeof _0x1580d6[_0x599950(0x316)]['id']==_0x599950(0x2b6)&&_0x209add&&_0x209add['includes'](_0x1580d6[_0x599950(0x316)]['id'])?{..._0x1580d6,'attrs':{..._0x1580d6['attrs'],'id':_0x1580d6[_0x599950(0x316)]['id']+_0x5b0974['idSuffix']}}:_0x1580d6)}:_0x35a0b0;}function _0x3b150b(_0x421a9d){const _0x3ede26=_0x1bb2bd;let _0xf0049f=_0x421a9d[_0x3ede26(0x4e9)]['baseVal'],_0x572f8b=Math[_0x3ede26(0x49f)](_0xf0049f[_0x3ede26(0x181)],_0xf0049f[_0x3ede26(0x1db)]);if(!Number['isFinite'](_0x572f8b)||_0x572f8b<=0x0||_0xf0049f[_0x3ede26(0x181)]<=0x0||_0xf0049f[_0x3ede26(0x1db)]<=0x0)return()=>void 0x0;let _0x5823eb=0x10/_0x572f8b,_0x1064dc=Array[_0x3ede26(0x24e)](_0x421a9d['querySelectorAll'](_0x3ede26(0x42f)))['flatMap'](_0x5e9049=>{const _0x50f8a9=_0x3ede26;let _0x31bafa=getComputedStyle(_0x5e9049),_0x3bbeba=Number['parseFloat'](_0x31bafa[_0x50f8a9(0x3e1)]);return _0x31bafa[_0x50f8a9(0x4e8)]===_0x50f8a9(0x32a)||Number[_0x50f8a9(0x24a)](_0x31bafa[_0x50f8a9(0x4da)])===0x0||_0x31bafa['vectorEffect']==='non-scaling-stroke'||!Number[_0x50f8a9(0x2ae)](_0x3bbeba)||_0x3bbeba<=0x0?[]:[{'element':_0x5e9049,'hadStyleAttribute':_0x5e9049[_0x50f8a9(0x249)](_0x50f8a9(0x2c3)),'originalStrokeWidth':_0x3bbeba,'strokeWidth':_0x2bfd08(_0x5e9049[_0x50f8a9(0x2c3)],_0x50f8a9(0x453))}];})[_0x3ede26(0x2f5)](_0xfce5d9=>({'appliedStrokeWidth':null,'element':_0xfce5d9[_0x3ede26(0x3c8)],'hadStyleAttribute':_0xfce5d9[_0x3ede26(0x1ff)],'isReleased':!0x1,'originalStrokeWidth':_0xfce5d9[_0x3ede26(0x183)],'strokeWidth':_0xfce5d9['strokeWidth']}));if(_0x1064dc[_0x3ede26(0x40e)]===0x0)return()=>void 0x0;let _0x3f4442=(_0x569599,_0x14cf6)=>{const _0x1133e3=_0x3ede26;if(_0xf0049f[_0x1133e3(0x181)]<=0x0||_0xf0049f[_0x1133e3(0x1db)]<=0x0||_0x569599<=0x0||_0x14cf6<=0x0)return;let _0xba01d6=Math[_0x1133e3(0x306)](_0x569599/_0xf0049f[_0x1133e3(0x181)],_0x14cf6/_0xf0049f[_0x1133e3(0x1db)]);!Number['isFinite'](_0xba01d6)||_0xba01d6<=0x0||_0x1064dc[_0x1133e3(0x307)](_0xb43996=>{const _0x2afdbf=_0x1133e3;if(_0xb43996[_0x2afdbf(0x4f2)])return;if(_0xb43996['appliedStrokeWidth']!==null&&(_0xb43996[_0x2afdbf(0x3c8)]['style'][_0x2afdbf(0x47a)](_0x2afdbf(0x453))!==_0xb43996[_0x2afdbf(0x426)]||_0xb43996[_0x2afdbf(0x3c8)][_0x2afdbf(0x2c3)][_0x2afdbf(0x3c7)]('stroke-width')!==_0xb43996[_0x2afdbf(0x3e1)][_0x2afdbf(0x2bf)])){_0xb43996[_0x2afdbf(0x426)]=null,_0xb43996[_0x2afdbf(0x4f2)]=!0x0;return;}let _0x3374e8=_0xb43996[_0x2afdbf(0x183)]*_0x5823eb/_0xba01d6,_0xfe82f7=Number(_0x3374e8[_0x2afdbf(0x1ef)](0xc))+'px';_0xb43996[_0x2afdbf(0x3c8)]['style'][_0x2afdbf(0x346)](_0x2afdbf(0x453),_0xfe82f7,_0xb43996['strokeWidth'][_0x2afdbf(0x2bf)]),_0xb43996[_0x2afdbf(0x426)]=_0xfe82f7;});},_0x2d45a2=_0x421a9d['getBoundingClientRect']();_0x3f4442(_0x2d45a2[_0x3ede26(0x181)],_0x2d45a2[_0x3ede26(0x1db)]);let _0x10ab02=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x48c98a=>{const _0x136194=_0x3ede26;if(_0x48c98a[_0x136194(0x1f9)](_0x5c6ca0=>_0x5c6ca0[_0x136194(0x2a4)]===_0x421a9d)){let _0x28b270=_0x421a9d['getBoundingClientRect']();_0x3f4442(_0x28b270[_0x136194(0x181)],_0x28b270[_0x136194(0x1db)]);}});return _0x10ab02==null||_0x10ab02[_0x3ede26(0x43e)](_0x421a9d),()=>{_0x10ab02==null||_0x10ab02['disconnect'](),_0x1064dc['forEach'](_0x391380=>{const _0x1b06a0=_0x413c;_0x391380['appliedStrokeWidth']!==null&&(_0x43ee90(_0x391380['element'][_0x1b06a0(0x2c3)],_0x1b06a0(0x453),_0x391380['appliedStrokeWidth'],_0x391380[_0x1b06a0(0x3e1)]['priority'],_0x391380[_0x1b06a0(0x3e1)]),!_0x391380[_0x1b06a0(0x1ff)]&&_0x391380[_0x1b06a0(0x3c8)][_0x1b06a0(0x2c3)][_0x1b06a0(0x40e)]===0x0&&_0x391380[_0x1b06a0(0x3c8)][_0x1b06a0(0x236)](_0x1b06a0(0x2c3)));});};}function _0x2bfd08(_0x2988cd,_0x4547cf){const _0x6a1ff1=_0x1bb2bd;return{'priority':_0x2988cd['getPropertyPriority'](_0x4547cf),'value':_0x2988cd[_0x6a1ff1(0x47a)](_0x4547cf)};}function _0x43ee90(_0x260590,_0x5e2416,_0x240c6f,_0x179056,_0x12a8ef){const _0x349d1b=_0x1bb2bd;_0x260590[_0x349d1b(0x47a)](_0x5e2416)===_0x240c6f&&_0x260590[_0x349d1b(0x3c7)](_0x5e2416)===_0x179056&&(_0x12a8ef[_0x349d1b(0x18a)]?_0x260590[_0x349d1b(0x346)](_0x5e2416,_0x12a8ef[_0x349d1b(0x18a)],_0x12a8ef[_0x349d1b(0x2bf)]):_0x260590[_0x349d1b(0x40d)](_0x5e2416));}_0x3bc39e[_0x1bb2bd(0x324)]=_0x1bb2bd(0x35b);let _0x1da060={'tag':'svg','attrs':{'xmlns':_0x1bb2bd(0x4ca),'fill':_0x1bb2bd(0x32a),'viewBox':_0x1bb2bd(0x33e),'width':_0x1bb2bd(0x105),'height':_0x1bb2bd(0x105)},'children':[{'tag':_0x1bb2bd(0x18f),'attrs':{'fill':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x477),'fillRule':_0x1bb2bd(0x46c),'clipRule':_0x1bb2bd(0x46c)}},{'tag':_0x1bb2bd(0x18f),'attrs':{'fill':_0x1bb2bd(0x47e),'d':'M14.1544\x208.5999C15.038\x208.5999\x2015.7544\x207.88356\x2015.7544\x206.9999C15.7544\x206.11625\x2015.038\x205.3999\x2014.1544\x205.3999H3.85439C2.97074\x205.3999\x202.25439\x206.11625\x202.25439\x206.9999C2.25439\x207.88356\x202.97074\x208.5999\x203.85439\x208.5999H14.1544ZM14.5544\x206.9999C14.5544\x207.22082\x2014.3753\x207.3999\x2014.1544\x207.3999H3.85439C3.63348\x207.3999\x203.45439\x207.22082\x203.45439\x206.9999C3.45439\x206.77899\x203.63348\x206.5999\x203.85439\x206.5999H14.1544C14.3753\x206.5999\x2014.5544\x206.77899\x2014.5544\x206.9999Z','fillRule':_0x1bb2bd(0x46c),'clipRule':_0x1bb2bd(0x46c)}},{'tag':_0x1bb2bd(0x18f),'attrs':{'fill':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x4c7)}},{'tag':'path','attrs':{'fill':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x11a)}}]},_0x470652=(0x0,_0x5335a7['forwardRef'])(function(_0x2b8865,_0x1b154f){const _0x5bd3a3=_0x1bb2bd;return(0x0,_0x5335a7[_0x5bd3a3(0x393)])(_0x3bc39e,Object['assign']({},_0x2b8865,{'id':_0x5bd3a3(0x387),'ref':_0x1b154f,'icon':_0x1da060}));});_0x470652['displayName']=_0x1bb2bd(0x1c6);let _0x2f1f9e={'tag':_0x1bb2bd(0x4ef),'attrs':{'xmlns':_0x1bb2bd(0x4ca),'fill':_0x1bb2bd(0x32a),'viewBox':'0\x200\x2016\x2016','width':_0x1bb2bd(0x105),'height':_0x1bb2bd(0x105)},'children':[{'tag':_0x1bb2bd(0x18f),'attrs':{'stroke':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x34a),'strokeLinecap':'round','strokeLinejoin':_0x1bb2bd(0x120),'strokeWidth':1.3}},{'tag':_0x1bb2bd(0x18f),'attrs':{'stroke':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x22f),'strokeLinecap':_0x1bb2bd(0x120),'strokeLinejoin':_0x1bb2bd(0x120),'strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x4ea),'strokeLinecap':_0x1bb2bd(0x120),'strokeWidth':1.2}},{'tag':_0x1bb2bd(0x18f),'attrs':{'stroke':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x4e5),'strokeLinecap':_0x1bb2bd(0x120),'strokeWidth':1.2}},{'tag':_0x1bb2bd(0x18f),'attrs':{'stroke':_0x1bb2bd(0x47e),'d':'M8\x2010.2V11.8','strokeLinecap':_0x1bb2bd(0x120),'strokeWidth':1.2}},{'tag':_0x1bb2bd(0x18f),'attrs':{'stroke':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x458),'strokeLinecap':_0x1bb2bd(0x120),'strokeWidth':1.2}}]},_0x35fab2=(0x0,_0x5335a7['forwardRef'])(function(_0x54c604,_0x277cc0){const _0x50d65f=_0x1bb2bd;return(0x0,_0x5335a7[_0x50d65f(0x393)])(_0x3bc39e,Object[_0x50d65f(0x278)]({},_0x54c604,{'id':'flip-horizontal-icon','ref':_0x277cc0,'icon':_0x2f1f9e}));});_0x35fab2[_0x1bb2bd(0x324)]=_0x1bb2bd(0x396);let _0x48ee22={'tag':_0x1bb2bd(0x4ef),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1bb2bd(0x32a),'viewBox':_0x1bb2bd(0x442),'width':_0x1bb2bd(0x105),'height':_0x1bb2bd(0x105)},'children':[{'tag':'path','attrs':{'stroke':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x215),'strokeLinecap':'round','strokeLinejoin':_0x1bb2bd(0x120),'strokeWidth':1.3}},{'tag':_0x1bb2bd(0x18f),'attrs':{'stroke':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x207),'strokeLinecap':_0x1bb2bd(0x120),'strokeLinejoin':_0x1bb2bd(0x120),'strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':'currentColor','d':_0x1bb2bd(0x19d),'strokeLinecap':_0x1bb2bd(0x120),'strokeWidth':1.2}},{'tag':_0x1bb2bd(0x18f),'attrs':{'stroke':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x36b),'strokeLinecap':_0x1bb2bd(0x120),'strokeWidth':1.2}},{'tag':_0x1bb2bd(0x18f),'attrs':{'stroke':_0x1bb2bd(0x47e),'d':'M10.2\x208H11.8','strokeLinecap':_0x1bb2bd(0x120),'strokeWidth':1.2}},{'tag':_0x1bb2bd(0x18f),'attrs':{'stroke':'currentColor','d':_0x1bb2bd(0x150),'strokeLinecap':_0x1bb2bd(0x120),'strokeWidth':1.2}}]},_0x52fe81=(0x0,_0x5335a7[_0x1bb2bd(0x2d6)])(function(_0x1b30de,_0x2571b0){const _0x1c8524=_0x1bb2bd;return(0x0,_0x5335a7[_0x1c8524(0x393)])(_0x3bc39e,Object[_0x1c8524(0x278)]({},_0x1b30de,{'id':_0x1c8524(0x44f),'ref':_0x2571b0,'icon':_0x48ee22}));});_0x52fe81[_0x1bb2bd(0x324)]=_0x1bb2bd(0x144);let _0x327ca6={'tag':'svg','attrs':{'xmlns':_0x1bb2bd(0x4ca),'fill':_0x1bb2bd(0x32a),'viewBox':_0x1bb2bd(0x442),'width':_0x1bb2bd(0x105),'height':_0x1bb2bd(0x105)},'children':[{'tag':'path','attrs':{'fill':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x2e3),'fillRule':_0x1bb2bd(0x46c),'clipRule':'evenodd'}},{'tag':_0x1bb2bd(0x18f),'attrs':{'fill':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x288)}}]},_0x435f4c=(0x0,_0x5335a7[_0x1bb2bd(0x2d6)])(function(_0x564d66,_0x3397f1){const _0x5313a5=_0x1bb2bd;return(0x0,_0x5335a7['createElement'])(_0x3bc39e,Object[_0x5313a5(0x278)]({},_0x564d66,{'id':_0x5313a5(0x3b5),'ref':_0x3397f1,'icon':_0x327ca6}));});_0x435f4c[_0x1bb2bd(0x324)]=_0x1bb2bd(0x1be);let _0x2033da={'tag':'svg','attrs':{'xmlns':_0x1bb2bd(0x4ca),'fill':_0x1bb2bd(0x32a),'viewBox':_0x1bb2bd(0x442),'width':_0x1bb2bd(0x105),'height':_0x1bb2bd(0x105)},'children':[{'tag':_0x1bb2bd(0x18f),'attrs':{'fill':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x48a),'fillRule':_0x1bb2bd(0x46c),'clipRule':_0x1bb2bd(0x46c)}},{'tag':_0x1bb2bd(0x18f),'attrs':{'fill':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x109)}}]},_0x524c1b=(0x0,_0x5335a7[_0x1bb2bd(0x2d6)])(function(_0xbd637d,_0x57aede){return(0x0,_0x5335a7['createElement'])(_0x3bc39e,Object['assign']({},_0xbd637d,{'id':'move-up-icon','ref':_0x57aede,'icon':_0x2033da}));});_0x524c1b['displayName']=_0x1bb2bd(0x490);let _0x3efa2a={'tag':'svg','attrs':{'xmlns':_0x1bb2bd(0x4ca),'fill':_0x1bb2bd(0x32a),'viewBox':_0x1bb2bd(0x442),'width':_0x1bb2bd(0x105),'height':'1em'},'children':[{'tag':'path','attrs':{'stroke':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x46f),'strokeLinecap':_0x1bb2bd(0x120),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x1bb2bd(0x18f),'attrs':{'stroke':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x10d),'strokeLinecap':_0x1bb2bd(0x120),'strokeLinejoin':_0x1bb2bd(0x120),'strokeWidth':1.3}}]},_0xdbe423=(0x0,_0x5335a7[_0x1bb2bd(0x2d6)])(function(_0x29d95a,_0x12e31f){const _0x28f67a=_0x1bb2bd;return(0x0,_0x5335a7['createElement'])(_0x3bc39e,Object[_0x28f67a(0x278)]({},_0x29d95a,{'id':_0x28f67a(0x31f),'ref':_0x12e31f,'icon':_0x3efa2a}));});_0xdbe423[_0x1bb2bd(0x324)]=_0x1bb2bd(0x343);let _0x22a992={'tag':_0x1bb2bd(0x4ef),'attrs':{'xmlns':_0x1bb2bd(0x4ca),'fill':'none','viewBox':_0x1bb2bd(0x442),'width':_0x1bb2bd(0x105),'height':_0x1bb2bd(0x105)},'children':[{'tag':_0x1bb2bd(0x18f),'attrs':{'stroke':_0x1bb2bd(0x47e),'d':'M13.5\x207V4.29412C13.5\x203.5794\x2012.8679\x203\x2012\x203H2.57143C1.70356\x203\x201.5\x203.5794\x201.5\x204.29412V7V10C1.5\x2010.7147\x201.70356\x2011\x202.57143\x2011H7.71429','strokeLinecap':'round','strokeLinejoin':_0x1bb2bd(0x120),'strokeWidth':1.2}},{'tag':_0x1bb2bd(0x18f),'attrs':{'stroke':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x403),'strokeLinecap':_0x1bb2bd(0x120),'strokeWidth':1.2}},{'tag':_0x1bb2bd(0x18f),'attrs':{'stroke':_0x1bb2bd(0x47e),'d':'M4.2\x208.3H6.8','strokeLinecap':_0x1bb2bd(0x120),'strokeWidth':1.2}},{'tag':_0x1bb2bd(0x18f),'attrs':{'stroke':'currentColor','d':_0x1bb2bd(0x4f4),'strokeLinejoin':'round'}},{'tag':_0x1bb2bd(0x18f),'attrs':{'stroke':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x2fb)}}]},_0x96e2b1=(0x0,_0x5335a7[_0x1bb2bd(0x2d6)])(function(_0x4ccb59,_0x5442cc){const _0x25dcf6=_0x1bb2bd;return(0x0,_0x5335a7[_0x25dcf6(0x393)])(_0x3bc39e,Object[_0x25dcf6(0x278)]({},_0x4ccb59,{'id':_0x25dcf6(0x175),'ref':_0x5442cc,'icon':_0x22a992}));});_0x96e2b1[_0x1bb2bd(0x324)]='ShapeFormatSettingIcon';let _0x2dc293={'tag':_0x1bb2bd(0x4ef),'attrs':{'xmlns':_0x1bb2bd(0x4ca),'fill':_0x1bb2bd(0x32a),'viewBox':'0\x200\x2017\x2016','width':_0x1bb2bd(0x105),'height':'1em'},'children':[{'tag':_0x1bb2bd(0x18f),'attrs':{'fill':'currentColor','d':_0x1bb2bd(0x3b6)}},{'tag':'path','attrs':{'fill':_0x1bb2bd(0x47e),'d':_0x1bb2bd(0x279),'fillRule':_0x1bb2bd(0x46c),'clipRule':_0x1bb2bd(0x46c)}},{'tag':_0x1bb2bd(0x18f),'attrs':{'fill':'currentColor','d':_0x1bb2bd(0x19b),'fillRule':'evenodd','clipRule':_0x1bb2bd(0x46c)}}]},_0x49b7d3=(0x0,_0x5335a7[_0x1bb2bd(0x2d6)])(function(_0xe8ff7d,_0x5430e5){const _0x35ffc2=_0x1bb2bd;return(0x0,_0x5335a7[_0x35ffc2(0x393)])(_0x3bc39e,Object['assign']({},_0xe8ff7d,{'id':'topmost-icon','ref':_0x5430e5,'icon':_0x2dc293}));});_0x49b7d3[_0x1bb2bd(0x324)]=_0x1bb2bd(0x2ec);function _0x1a2184(_0x4e98a3){return _0x4e98a3['trim']()||void 0x0;}function _0x184059(_0x2f0506,_0x302d77,_0x4985c9){const _0x2d624e=_0x1bb2bd;var _0x215688;return((_0x215688=_0x2f0506[_0x2d624e(0x189)])==null?void 0x0:_0x215688[_0x2d624e(0x4e3)]())||_0x4985c9['t'](_0x2d624e(0x23d)+(0x0,_0x583754[_0x2d624e(0x4cd)])(_0x2f0506['drawingType']))+'\x20'+(_0x302d77+0x1);}function _0x264bc1({PanelComponent:_0x6a0a04=_0x2114cd[_0x1bb2bd(0x353)]}){const _0x374b90=_0x1bb2bd;var _0x3a6b46;let _0x56ed8a=(0x0,_0x1b3cd1[_0x374b90(0x4bb)])(_0x3d2575[_0x374b90(0x263)]),_0x5c7973={'title':_0x56ed8a['t'](_0x374b90(0x290)),'empty':_0x56ed8a['t'](_0x374b90(0x32b)),'showAll':_0x56ed8a['t']('drawing-ui.objectListPanel.showAll'),'hideAll':_0x56ed8a['t'](_0x374b90(0x474)),'lockAll':_0x56ed8a['t'](_0x374b90(0x3e2)),'unlockAll':_0x56ed8a['t'](_0x374b90(0x2a0)),'moveForward':_0x56ed8a['t'](_0x374b90(0x27a)),'moveBackward':_0x56ed8a['t'](_0x374b90(0x2a7)),'close':_0x56ed8a['t'](_0x374b90(0x1b7)),'show':_0x56ed8a['t']('drawing-ui.objectListPanel.show'),'hide':_0x56ed8a['t'](_0x374b90(0x35e)),'lock':_0x56ed8a['t']('drawing-ui.objectListPanel.lock'),'unlock':_0x56ed8a['t']('drawing-ui.objectListPanel.unlock'),'lockHint':_0x56ed8a['t'](_0x374b90(0x112)),'unlockHint':_0x56ed8a['t'](_0x374b90(0x123)),'name':_0x56ed8a['t'](_0x374b90(0x270)),'nameInput':_0x56ed8a['t'](_0x374b90(0x143)),'description':_0x56ed8a['t'](_0x374b90(0x45e)),'descriptionPlaceholder':_0x56ed8a['t'](_0x374b90(0x219)),'details':_0x56ed8a['t']('drawing-ui.objectListPanel.details'),'noSelection':_0x56ed8a['t']('drawing-ui.objectListPanel.noSelection'),'locate':_0x56ed8a['t'](_0x374b90(0x26a)),'expand':_0x56ed8a['t']('drawing-ui.objectListPanel.expand'),'collapse':_0x56ed8a['t'](_0x374b90(0x153)),'dragToReorder':_0x56ed8a['t']('drawing-ui.objectListPanel.dragToReorder'),'search':_0x56ed8a['t'](_0x374b90(0x298)),'filterAll':_0x56ed8a['t'](_0x374b90(0x3e5)),'filterHidden':_0x56ed8a['t']('drawing-ui.objectListPanel.filterHidden'),'filterLocked':_0x56ed8a['t']('drawing-ui.objectListPanel.filterLocked'),'sectionCanvas':_0x56ed8a['t'](_0x374b90(0x454)),'sectionFloating':_0x56ed8a['t'](_0x374b90(0x2b5))},_0x135bc4=(0x0,_0x1b3cd1['useDependency'])(_0x3d2575[_0x374b90(0x196)]),_0x4622cf=(0x0,_0x1b3cd1[_0x374b90(0x4bb)])(_0x3d2575[_0x374b90(0x363)]),_0x53e2fc=(0x0,_0x1b3cd1['useDependency'])(_0x20c5a7[_0x374b90(0x1c7)]),_0x1de15c=(0x0,_0x1b3cd1[_0x374b90(0x4bb)])(_0xf3cf76[_0x374b90(0x2fe)]),_0x29d3b8=(0x0,_0x1b3cd1[_0x374b90(0x4bb)])(_0x610ad8[_0x374b90(0x1a3)]),[,_0x1f1180]=(0x0,_0x5335a7[_0x374b90(0x1e2)])(_0x4b20cc=>_0x4b20cc+0x1,0x0),_0x796ebe=_0x4622cf[_0x374b90(0x3d0)](_0x3d2575[_0x374b90(0x4f8)]['UNIVER_SHEET']),_0xdafa6d=(_0x796ebe==null?void 0x0:_0x796ebe['getUnitId']())??'',_0xcb22e9=(_0x796ebe==null||(_0x3a6b46=_0x796ebe[_0x374b90(0x419)]())==null?void 0x0:_0x3a6b46[_0x374b90(0x335)]())??'',_0x25afe4=(0x0,_0x1b3cd1[_0x374b90(0x28f)])(()=>_0x1de15c[_0x374b90(0x2c2)],_0x1de15c[_0x374b90(0x337)](),!0x1,[_0x1de15c]);(0x0,_0x5335a7[_0x374b90(0x294)])(()=>{const _0x456d29=_0x374b90;let _0x14d57e=_0x135bc4[_0x456d29(0x2df)](()=>_0x1f1180());return()=>_0x14d57e[_0x456d29(0x3cc)]();},[_0x135bc4]);let _0x507cba=_0xdafa6d&&_0xcb22e9?_0x53e2fc['getDrawingData'](_0xdafa6d,_0xcb22e9):{},_0x5674fd=(_0xdafa6d&&_0xcb22e9?_0x53e2fc['getDrawingOrder'](_0xdafa6d,_0xcb22e9):[])['map'](_0x4490d9=>_0x507cba[_0x4490d9])[_0x374b90(0x262)](_0x472635=>!!_0x472635)[_0x374b90(0x163)](),_0x4e0d75=_0x5674fd['reduce']((_0x300fc0,_0x4e05c9)=>(_0x300fc0[(0x0,_0x2114cd[_0x374b90(0x4e6)])(_0x4e05c9[_0x374b90(0x1f2)])]+=0x1,_0x300fc0),{'canvas':0x0,'floating':0x0}),_0x52b081={'canvas':0x0,'floating':0x0},_0x152c64=_0x5674fd[_0x374b90(0x2f5)]((_0x49402f,_0x31ed78)=>{const _0x20eea9=_0x374b90;let _0x35501a=(0x0,_0x2114cd[_0x20eea9(0x4e6)])(_0x49402f['drawingType']),_0x17ef81=_0x35501a===_0x2114cd['OBJECT_LIST_FLOATING_SECTION_ID'],_0x4335b0=_0x52b081[_0x35501a]++;return{'id':_0x49402f[_0x20eea9(0x17d)],'name':_0x184059(_0x49402f,_0x31ed78,_0x56ed8a),'description':_0x49402f[_0x20eea9(0x1f7)],'visible':_0x49402f[_0x20eea9(0x300)]!==!0x0,'selectable':_0x49402f[_0x20eea9(0x1d9)]!==!0x1,'sectionId':_0x35501a,'sectionTitle':_0x17ef81?_0x5c7973['sectionFloating']:_0x5c7973[_0x20eea9(0x1e0)],'capabilities':_0x17ef81?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x17ef81&&_0x4335b0>0x0,'canMoveBackward':!_0x17ef81&&_0x4335b0<_0x4e0d75[_0x20eea9(0x156)]-0x1,'canReorder':!_0x17ef81};}),_0x4b48d1=(0x0,_0x5335a7[_0x374b90(0x415)])(()=>(_0x25afe4??[])[_0x374b90(0x262)](_0x20d326=>_0x20d326[_0x374b90(0x26d)]===_0xdafa6d&&_0x20d326[_0x374b90(0x114)]===_0xcb22e9)[_0x374b90(0x2f5)](_0x2a16a4=>_0x2a16a4[_0x374b90(0x17d)]),[_0x25afe4,_0xcb22e9,_0xdafa6d]),_0x20ce46=_0x4b48d1[_0x4b48d1[_0x374b90(0x40e)]-0x1]??null,_0xe245d6=_0x268d8e=>_0x53e2fc[_0x374b90(0x4f0)]({'unitId':_0xdafa6d,'subUnitId':_0xcb22e9,'drawingId':_0x268d8e})??null,_0x3e5ac8=async _0x500648=>{const _0x5b7ac0=_0x374b90;_0xdafa6d&&_0x500648[_0x5b7ac0(0x40e)]&&await _0x135bc4[_0x5b7ac0(0x24d)](_0x20c5a7[_0x5b7ac0(0x40b)]['id'],{'unitId':_0xdafa6d,'drawings':_0x500648});},_0x4a8f27=async(_0x539db7,_0x17db7a)=>{_0xe245d6(_0x539db7)&&await _0x3e5ac8([{'unitId':_0xdafa6d,'subUnitId':_0xcb22e9,'drawingId':_0x539db7,..._0x17db7a}]);},_0x29a9c6=(_0x53fc7e,_0xa90d15)=>{const _0x4ce49e=_0x374b90;if(!_0xdafa6d||!_0xcb22e9)return;let _0x1071ae=_0xa90d15?_0x4b48d1[_0x4ce49e(0x34d)](_0x53fc7e)?_0x4b48d1[_0x4ce49e(0x262)](_0x2915d7=>_0x2915d7!==_0x53fc7e):[..._0x4b48d1,_0x53fc7e]:[_0x53fc7e];_0x135bc4[_0x4ce49e(0x2ca)](_0xf3cf76['SetDrawingSelectedOperation']['id'],_0x1071ae['map'](_0xd4bdfe=>({'unitId':_0xdafa6d,'subUnitId':_0xcb22e9,'drawingId':_0xd4bdfe})));let _0x53edc4=_0x1071ae[_0x1071ae[_0x4ce49e(0x40e)]-0x1];_0x53edc4?(0x0,_0x583754[_0x4ce49e(0x471)])(_0x29d3b8,{'unitId':_0xdafa6d,'subUnitId':_0xcb22e9,'drawingId':_0x53edc4}):(0x0,_0x583754[_0x4ce49e(0x26b)])(_0x29d3b8,_0xdafa6d);},_0x57ab65=async(_0x39dd81,_0x459046)=>{const _0x296743=_0x374b90;await _0x3e5ac8(_0x39dd81[_0x296743(0x2f5)](_0x41b747=>_0xe245d6(_0x41b747))['filter'](_0x209d93=>!!_0x209d93)[_0x296743(0x262)](_0x22b399=>_0x22b399[_0x296743(0x300)]!==!0x0!==_0x459046)['map'](_0x48ec55=>({'unitId':_0xdafa6d,'subUnitId':_0xcb22e9,'drawingId':_0x48ec55[_0x296743(0x17d)],'hidden':!_0x459046})));},_0xebfd9=async(_0x11e770,_0x79858c)=>{const _0x59754a=_0x374b90;await _0x3e5ac8(_0x11e770[_0x59754a(0x2f5)](_0x4ff1eb=>_0xe245d6(_0x4ff1eb))[_0x59754a(0x262)](_0x553be6=>!!_0x553be6)[_0x59754a(0x262)](_0x4b491d=>_0x4b491d[_0x59754a(0x1d9)]!==!0x1!==_0x79858c)[_0x59754a(0x2f5)](_0x20dd63=>({'unitId':_0xdafa6d,'subUnitId':_0xcb22e9,'drawingId':_0x20dd63[_0x59754a(0x17d)],'selectable':_0x79858c})));},_0x2d3d8a=_0x363f37=>{const _0x33a1ea=_0x374b90;let _0x1c5c1c=_0xe245d6(_0x363f37);if(_0x1c5c1c)return _0xebfd9([_0x363f37],_0x1c5c1c[_0x33a1ea(0x1d9)]===!0x1);},_0x435f97=async(_0x360ced,_0x1c58df)=>{var _0x1380b4;let _0x1ea41b=_0x1a2184(_0x1c58df);(((_0x1380b4=_0xe245d6(_0x360ced))==null?void 0x0:_0x1380b4['name'])??void 0x0)!==_0x1ea41b&&await _0x4a8f27(_0x360ced,{'name':_0x1ea41b});},_0x30c3b0=async(_0x279d0c,_0x3ada44)=>{const _0x2a443a=_0x374b90;var _0x53746c;let _0x46954e=_0x1a2184(_0x3ada44);(((_0x53746c=_0xe245d6(_0x279d0c))==null?void 0x0:_0x53746c[_0x2a443a(0x1f7)])??void 0x0)!==_0x46954e&&await _0x4a8f27(_0x279d0c,{'description':_0x46954e});},_0x5337fa=async(_0x49de4b,_0x4efc50)=>{const _0x1d9420=_0x374b90;_0xdafa6d&&_0xcb22e9&&await _0x135bc4[_0x1d9420(0x24d)](_0x20c5a7[_0x1d9420(0x2b3)]['id'],{'unitId':_0xdafa6d,'subUnitId':_0xcb22e9,'drawingIds':[_0x49de4b],'arrangeType':_0x4efc50});};return!_0xdafa6d||!_0xcb22e9?(0x0,_0x1fd74c['jsx'])('div',{'className':'univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','children':_0x5c7973[_0x374b90(0x461)]}):(0x0,_0x1fd74c[_0x374b90(0x451)])(_0x6a0a04,{'labels':_0x5c7973,'items':_0x152c64,'selectedIds':_0x4b48d1,'focusedId':_0x20ce46,'showHeader':!0x1,'onSelect':_0x29a9c6,'onSetVisible':_0x57ab65,'onSetSelectable':_0xebfd9,'onCommitName':_0x435f97,'onCommitDescription':_0x30c3b0,'onMoveForward':async _0x3a2fd2=>_0x5337fa(_0x3a2fd2,_0x3d2575[_0x374b90(0x31e)][_0x374b90(0x23b)]),'onMoveBackward':async _0x1b89e2=>_0x5337fa(_0x1b89e2,_0x3d2575[_0x374b90(0x31e)][_0x374b90(0x1ea)]),'onToggleSelectable':_0x2d3d8a});}function _0x5107b2(){return(0x0,_0x1fd74c['jsx'])(_0x264bc1,{'PanelComponent':_0x2114cd['MobileObjectListPanel']});}let _0x17e610=class extends _0x3d2575[_0x1bb2bd(0x463)]{constructor(_0x29b89b,_0x264ff2){const _0x1f6c49=_0x1bb2bd;super(),this['disposeWithMe'](_0x29b89b[_0x1f6c49(0x232)](_0x10e550,_0x5107b2)),this['disposeWithMe'](_0x264ff2[_0x1f6c49(0x232)]({'BottomIcon':_0x470652,'FlipHorizontalIcon':_0x35fab2,'FlipVerticalIcon':_0x52fe81,'MoveDownIcon':_0x435f4c,'MoveUpIcon':_0x524c1b,'ObjectLayersIcon':_0xdbe423,'ShapeFormatSettingIcon':_0x96e2b1,'TopmostIcon':_0x49b7d3})),this['disposeWithMe'](_0x29b89b[_0x1f6c49(0x232)](_0x47cd2f,_0x5a39c6)),this[_0x1f6c49(0x275)](_0x29b89b[_0x1f6c49(0x232)](_0x45262e,_0x12dff2)),_0x29b89b[_0x1f6c49(0x229)](_0x2114cd[_0x1f6c49(0x257)])||this['disposeWithMe'](_0x29b89b[_0x1f6c49(0x232)](_0x2114cd['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'],_0x2c0838));}};_0x17e610=_0x4d7d62([_0x25f0d4(0x0,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x1b3cd1[_0x1bb2bd(0x447)])),_0x25f0d4(0x1,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x1b3cd1[_0x1bb2bd(0x108)]))],_0x17e610);let _0x47b563=class extends _0x3d2575[_0x1bb2bd(0x463)]{constructor(_0x57a19d){const _0x37601b=_0x1bb2bd;super(),this[_0x37601b(0x2d3)]=_0x57a19d,_0x19f136(this,_0x37601b(0x3a4),new _0x133625[(_0x37601b(0x467))](null)),_0x19f136(this,_0x37601b(0x3d4),this[_0x37601b(0x3a4)]['asObservable']()),_0x19f136(this,'_onSavingEditorData$',new _0x133625['BehaviorSubject'](!0x1)),_0x19f136(this,_0x37601b(0x45f),this[_0x37601b(0x354)][_0x37601b(0x4af)]()),_0x19f136(this,_0x37601b(0x440),void 0x0),this[_0x37601b(0x275)](this[_0x37601b(0x2d3)][_0x37601b(0x399)]['subscribe'](()=>{const _0x2a4ae6=_0x37601b;let _0x328098=this[_0x2a4ae6(0x18e)]();_0x328098!=null&&_0x328098[_0x2a4ae6(0x4a1)]&&!this[_0x2a4ae6(0x391)](_0x328098)&&this['setEditing'](null);}));}['dispose'](){const _0x1958e4=_0x1bb2bd;this[_0x1958e4(0x2d0)](),this['_editingParams$'][_0x1958e4(0x188)](null),this['_editingParams$'][_0x1958e4(0x400)](),this['_onSavingEditorData$'][_0x1958e4(0x188)](!0x1),this[_0x1958e4(0x354)][_0x1958e4(0x400)](),super[_0x1958e4(0x3cc)]();}[_0x1bb2bd(0x1b5)](_0x9a6fb0){const _0x56c2e7=_0x1bb2bd;(_0x9a6fb0==null||!_0x9a6fb0[_0x56c2e7(0x4a1)]||this[_0x56c2e7(0x391)](_0x9a6fb0))&&(this[_0x56c2e7(0x2d0)](),this[_0x56c2e7(0x3a4)][_0x56c2e7(0x188)](_0x9a6fb0),(_0x9a6fb0==null||_0x9a6fb0[_0x56c2e7(0x4a1)]&&this[_0x56c2e7(0x354)][_0x56c2e7(0x23a)]())&&this[_0x56c2e7(0x354)][_0x56c2e7(0x188)](!0x1));}[_0x1bb2bd(0x46d)](_0x534930){const _0x4c2103=_0x1bb2bd;this[_0x4c2103(0x354)][_0x4c2103(0x188)](_0x534930);}[_0x1bb2bd(0x18e)](){const _0x44870e=_0x1bb2bd;return this['_editingParams$'][_0x44870e(0x23a)]();}[_0x1bb2bd(0x391)](_0x507ac3){const _0x2f74e1=_0x1bb2bd;let _0x2c0a68=this['_permissionService'][_0x2f74e1(0x450)](new _0x306a90[(_0x2f74e1(0x4f7))](_0x507ac3['unitId'])['id']),_0x2608c9=this['_permissionService'][_0x2f74e1(0x450)](new _0x306a90[(_0x2f74e1(0x4b9))](_0x507ac3['unitId'],_0x507ac3[_0x2f74e1(0x114)])['id']);return((_0x2c0a68==null?void 0x0:_0x2c0a68[_0x2f74e1(0x18a)])??!0x0)&&((_0x2608c9==null?void 0x0:_0x2608c9[_0x2f74e1(0x18a)])??!0x0);}[_0x1bb2bd(0x341)](_0x518a4b){const _0x15979c=_0x1bb2bd;let _0x32af8a=this[_0x15979c(0x18e)]();_0x32af8a&&this[_0x15979c(0x440)]===void 0x0&&(this[_0x15979c(0x46d)](!0x0),this[_0x15979c(0x440)]=requestAnimationFrame(()=>{const _0x529717=_0x15979c;this[_0x529717(0x440)]=void 0x0,this[_0x529717(0x18e)]()===_0x32af8a&&this['setEditing'](null);}));}[_0x1bb2bd(0x2d0)](){const _0x48b224=_0x1bb2bd;this[_0x48b224(0x440)]!==void 0x0&&(cancelAnimationFrame(this[_0x48b224(0x440)]),this[_0x48b224(0x440)]=void 0x0);}[_0x1bb2bd(0x329)](){const _0x43ac2=_0x1bb2bd;this[_0x43ac2(0x18e)]()&&this[_0x43ac2(0x1b5)](null);}};_0x47b563=_0x4d7d62([_0x25f0d4(0x0,_0x3d2575[_0x1bb2bd(0x1a5)])],_0x47b563);let _0x1083b2=class extends _0x3d2575[_0x1bb2bd(0x463)]{constructor(_0x1c429b,_0x3e11ad,_0x20331b,_0x291d93,_0x55677e,_0x1ec9db){const _0xc3c9cc=_0x1bb2bd;super(),this['_context']=_0x1c429b,this['_injector']=_0x3e11ad,this[_0xc3c9cc(0x416)]=_0x20331b,this['_drawingManagerService']=_0x291d93,this['_contextService']=_0x55677e,this[_0xc3c9cc(0x496)]=_0x1ec9db,_0x19f136(this,_0xc3c9cc(0x15e),null),this[_0xc3c9cc(0x364)](),this['_initSelection'](),this[_0xc3c9cc(0x12a)]();}[_0x1bb2bd(0x364)](){const _0x503665=_0x1bb2bd;let {scene:_0x1fd9e8}=this['_context'];this[_0x503665(0x275)](_0x1fd9e8[_0x503665(0x104)]['subscribeEvent'](_0xb6c5d=>{const _0x598e63=_0x503665;let {offsetX:_0x4be718,offsetY:_0x555e08}=_0xb6c5d,_0x41c56c=_0x1fd9e8[_0x598e63(0x121)](_0x610ad8[_0x598e63(0x330)][_0x598e63(0x33c)]([_0x4be718,_0x555e08]));if(_0x41c56c instanceof _0x28ba5a){let _0x6c851=this[_0x598e63(0x496)][_0x598e63(0x286)](_0x41c56c[_0x598e63(0x26d)],_0x41c56c[_0x598e63(0x114)],_0x41c56c[_0x598e63(0x4dd)]);if((0x0,_0x756c25['isConnectorShape'])(this[_0x598e63(0x496)][_0x598e63(0x441)](_0x41c56c[_0x598e63(0x26d)],_0x41c56c[_0x598e63(0x114)],_0x41c56c[_0x598e63(0x4dd)]))||_0x6c851!=null&&_0x6c851[_0x598e63(0x4d2)]()[_0x598e63(0x103)])return;this['_shapeTextEditingService'][_0x598e63(0x1b5)]({'visible':!0x0,'unitId':_0x41c56c[_0x598e63(0x26d)],'subUnitId':_0x41c56c[_0x598e63(0x114)],'shapeId':_0x41c56c[_0x598e63(0x4dd)],'shapeKey':_0x41c56c[_0x598e63(0x3ae)]});}}));}[_0x1bb2bd(0x4f5)](){const _0x52fa8c=_0x1bb2bd;this[_0x52fa8c(0x275)](this[_0x52fa8c(0x479)][_0x52fa8c(0x2c2)][_0x52fa8c(0x3b2)](_0x164773=>{const _0x4909a4=_0x52fa8c;if(_0x164773[_0x4909a4(0x40e)]===0x1){let _0x4f8087=_0x164773[0x0],_0x2ee1a1=this[_0x4909a4(0x479)][_0x4909a4(0x4f0)](_0x4f8087);if((_0x2ee1a1==null?void 0x0:_0x2ee1a1[_0x4909a4(0x1f2)])===_0x3d2575['DrawingTypeEnum'][_0x4909a4(0x30b)]){var _0x48f54d;let _0x7d3043=this[_0x4909a4(0x416)][_0x4909a4(0x18e)]();if((_0x7d3043==null?void 0x0:_0x7d3043[_0x4909a4(0x4dd)])===_0x4f8087['drawingId']&&_0x7d3043[_0x4909a4(0x4a1)])return;let _0x1d4f8a=(0x0,_0x756c25[_0x4909a4(0x4c9)])(this[_0x4909a4(0x496)][_0x4909a4(0x441)](_0x4f8087[_0x4909a4(0x26d)],_0x4f8087[_0x4909a4(0x114)],_0x4f8087[_0x4909a4(0x17d)])),_0x3ceec1=!!((_0x48f54d=this[_0x4909a4(0x496)][_0x4909a4(0x286)](_0x4f8087['unitId'],_0x4f8087[_0x4909a4(0x114)],_0x4f8087[_0x4909a4(0x17d)]))!=null&&_0x48f54d[_0x4909a4(0x4d2)]()[_0x4909a4(0x103)]);(_0x1d4f8a||_0x3ceec1)&&this[_0x4909a4(0x416)][_0x4909a4(0x1b5)](null);}else this[_0x4909a4(0x416)][_0x4909a4(0x341)]();}else this[_0x4909a4(0x416)][_0x4909a4(0x341)]();})),this[_0x52fa8c(0x275)](this['_drawingManagerService'][_0x52fa8c(0x348)][_0x52fa8c(0x3b2)](_0x2cca4e=>{const _0x552f62=_0x52fa8c;let _0x132bb2=this['_shapeTextEditingService'][_0x552f62(0x18e)]();_0x132bb2&&_0x2cca4e['some'](_0x25e3b8=>_0x25e3b8[_0x552f62(0x17d)]===_0x132bb2['shapeId'])&&this[_0x552f62(0x416)]['setEditing'](null);}));}[_0x1bb2bd(0x12a)](){const _0x20fe9f=_0x1bb2bd;this[_0x20fe9f(0x275)](this['_shapeTextEditingService'][_0x20fe9f(0x3d4)][_0x20fe9f(0x3b2)](_0x3e9afe=>{const _0x18fa0e=_0x20fe9f;let {scene:_0xfd1e98}=this[_0x18fa0e(0x19e)];if(this[_0x18fa0e(0x15e)]){let _0xf4316e=_0xfd1e98['getObjectIncludeInGroup'](this[_0x18fa0e(0x15e)]);_0xf4316e&&_0xf4316e[_0x18fa0e(0x1b5)](!0x1);}if(_0x3e9afe){let _0x145abb=!!_0x3e9afe['visible'],_0x14ca94=_0xfd1e98[_0x18fa0e(0x195)](_0x3e9afe['shapeKey']);_0x14ca94&&(_0x14ca94[_0x18fa0e(0x1b5)](_0x145abb),this['_lastEditingShapeKey']=_0x3e9afe['shapeKey']),this[_0x18fa0e(0x2ef)]['setContextValue'](_0x3d2575['FOCUSING_SHAPE_TEXT_EDITOR'],_0x145abb);}else this[_0x18fa0e(0x15e)]=null,this[_0x18fa0e(0x2ef)][_0x18fa0e(0x4f1)](_0x3d2575[_0x18fa0e(0x44a)],!0x1);}));}};_0x1083b2=_0x4d7d62([_0x25f0d4(0x1,(0x0,_0x3d2575['Inject'])(_0x3d2575['Injector'])),_0x25f0d4(0x2,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x47b563)),_0x25f0d4(0x3,_0xf3cf76[_0x1bb2bd(0x2fe)]),_0x25f0d4(0x4,_0x3d2575[_0x1bb2bd(0x1e1)]),_0x25f0d4(0x5,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x111169['SheetsShapeService']))],_0x1083b2);var _0x25d7a6=class extends _0x1083b2{['_initEvents'](){const _0x42d6fb=_0x1bb2bd;let {scene:_0x37c6bb}=this['_context'],_0x513cb8=this[_0x42d6fb(0x49e)][_0x42d6fb(0x107)](_0x583754[_0x42d6fb(0x20e)]);this[_0x42d6fb(0x275)](_0x37c6bb[_0x42d6fb(0x104)][_0x42d6fb(0x11b)](_0x922759=>{const _0x425d37=_0x42d6fb;let {offsetX:_0x231d6e,offsetY:_0x2ddd27}=_0x922759,_0x2c6918=_0x37c6bb[_0x425d37(0x121)](_0x610ad8[_0x425d37(0x330)][_0x425d37(0x33c)]([_0x231d6e,_0x2ddd27]));if(!(_0x2c6918 instanceof _0x28ba5a))return;let _0x2de4b8=this[_0x425d37(0x496)]['getShapeModel'](_0x2c6918[_0x425d37(0x26d)],_0x2c6918[_0x425d37(0x114)],_0x2c6918['shapeId']);(0x0,_0x756c25[_0x425d37(0x4c9)])(this[_0x425d37(0x496)][_0x425d37(0x441)](_0x2c6918['unitId'],_0x2c6918['subUnitId'],_0x2c6918[_0x425d37(0x4dd)]))||_0x2de4b8!=null&&_0x2de4b8[_0x425d37(0x4d2)]()[_0x425d37(0x103)]||_0x513cb8[_0x425d37(0x339)](_0x425d37(0x319),{'hostType':_0x3d2575[_0x425d37(0x4f8)]['UNIVER_SHEET'],'unitId':_0x2c6918['unitId'],'subUnitId':_0x2c6918[_0x425d37(0x114)],'shapeId':_0x2c6918['shapeId']});}));}};let _0x2f3aec={..._0x1c1dc2},_0x7a1081=class extends _0x3d2575['Disposable']{constructor(_0x386c05,_0x979ade,_0x1875fd,_0x3fa7c0,_0x120e88,_0x5bf57b,_0x930f02,_0x23aebd){const _0x28ffb7=_0x1bb2bd;super(),this[_0x28ffb7(0x39e)]=_0x386c05,this['_sheetsShapeService']=_0x979ade,this[_0x28ffb7(0x101)]=_0x1875fd,this[_0x28ffb7(0x479)]=_0x3fa7c0,this[_0x28ffb7(0x3db)]=_0x120e88,this['_contextService']=_0x5bf57b,this['_renderManagerService']=_0x930f02,this[_0x28ffb7(0x416)]=_0x23aebd,_0x19f136(this,_0x28ffb7(0x4eb),null),this[_0x28ffb7(0x39e)]['mergeMenu'](_0x2f3aec),this[_0x28ffb7(0x2da)](),this[_0x28ffb7(0x275)](this[_0x28ffb7(0x416)][_0x28ffb7(0x3d4)][_0x28ffb7(0x3b2)](_0x1710e1=>{_0x1710e1&&this['_clearFocusedShape']();}));}['initShapePopupMenu'](){const _0x2a385b=_0x1bb2bd;this[_0x2a385b(0x4eb)]||=this[_0x2a385b(0x275)]((0x0,_0x583754[_0x2a385b(0x331)])(this[_0x2a385b(0x2ba)],_0x3d2575[_0x2a385b(0x4f8)]['UNIVER_SHEET'],_0x508f32=>this[_0x2a385b(0x29f)](_0x508f32)));}[_0x1bb2bd(0x2da)](){const _0xfe1b5=_0x1bb2bd;this[_0xfe1b5(0x3db)][_0xfe1b5(0x4c8)](_0x3d2575[_0xfe1b5(0x2d2)]['DRAWING_SHAPE'],(_0x42d476,_0x5e9b21,_0x588820,_0x58695e)=>{const _0x357423=_0xfe1b5;let _0xa5c88f=this[_0x357423(0x496)][_0x357423(0x14b)](_0x42d476,_0x5e9b21,_0x588820),_0x123145=this[_0x357423(0x496)][_0x357423(0x1f5)](_0x42d476,_0x5e9b21,_0x588820),_0x235304=_0xa5c88f!==void 0x0&&!(0x0,_0x756c25[_0x357423(0x4c9)])(_0xa5c88f)&&!(_0x123145!=null&&_0x123145[_0x357423(0x103)]);return[{'label':_0x357423(0x2a9),'index':0x0,'commandId':_0x3c4530['id'],'commandParams':{'unitId':_0x42d476,'subUnitId':_0x5e9b21,'drawingId':_0x588820,'mode':_0x357423(0x2c3)},'disable':!0x1},..._0x235304?[{'label':_0x357423(0x14c),'index':0x1,'commandId':_0x3c4530['id'],'commandParams':{'unitId':_0x42d476,'subUnitId':_0x5e9b21,'drawingId':_0x588820,'mode':_0x357423(0x319)},'disable':!0x1}]:[],{'label':_0x357423(0x35f),'index':0x2,'commandId':_0x20c5a7[_0x357423(0x116)]['id'],'commandParams':{'unitId':_0x42d476,'drawings':[{'unitId':_0x42d476,'subUnitId':_0x5e9b21,'drawingId':_0x588820,'drawingType':_0x58695e}]},'disable':!0x1},{'label':_0x357423(0x3fb),'index':0x3,'commandId':_0x111169[_0x357423(0x4b2)]['id'],'commandParams':{'unitId':_0x42d476,'subUnitId':_0x5e9b21,'shapeId':_0x588820,'flipH':!0x0},'disable':!0x1},{'label':_0x357423(0x119),'index':0x4,'commandId':_0x111169[_0x357423(0x4b2)]['id'],'commandParams':{'unitId':_0x42d476,'subUnitId':_0x5e9b21,'shapeId':_0x588820,'flipV':!0x0},'disable':!0x1}];},_0xfe1b5(0x4a4));}[_0x1bb2bd(0x29f)](_0x564d8f){const _0x101469=_0x1bb2bd;let _0x44a12d=new _0x3d2575[(_0x101469(0x3bf))](),_0x1a6170=null,_0x6e59d8=()=>{const _0x5d5c34=_0x101469;if(!_0x1a6170)return;let _0xd146a5=this[_0x5d5c34(0x479)][_0x5d5c34(0x337)](),_0xe71aea=_0xd146a5['length']===0x0||_0xd146a5[_0x5d5c34(0x40e)]===0x1&&_0xd146a5[_0x5d5c34(0x1f9)](_0x3495f8=>_0x3495f8['unitId']===(_0x1a6170==null?void 0x0:_0x1a6170[_0x5d5c34(0x26d)])&&_0x3495f8[_0x5d5c34(0x114)]===(_0x1a6170==null?void 0x0:_0x1a6170[_0x5d5c34(0x114)])&&_0x3495f8[_0x5d5c34(0x17d)]===(_0x1a6170==null?void 0x0:_0x1a6170[_0x5d5c34(0x17d)]));_0x1a6170=null,_0xe71aea&&(this['_contextService'][_0x5d5c34(0x4f1)](_0x3d2575[_0x5d5c34(0x1ce)],!0x1),this[_0x5d5c34(0x479)][_0x5d5c34(0x323)](null));};return _0x44a12d[_0x101469(0x358)](_0x564d8f[_0x101469(0x3de)][_0x101469(0x3b2)](()=>{const _0x4c8bad=_0x101469;let _0x30e262=_0x564d8f[_0x4c8bad(0x25a)]();if(_0x30e262['size']>0x1){_0x6e59d8();return;}let _0x5cae3d=_0x30e262[_0x4c8bad(0x174)]()[_0x4c8bad(0x188)]()[_0x4c8bad(0x18a)];if(!_0x5cae3d){_0x6e59d8();return;}let _0x56988c=this['_drawingManagerService'][_0x4c8bad(0x3a8)](_0x5cae3d[_0x4c8bad(0x3ae)]);if(!_0x56988c||_0x56988c[_0x4c8bad(0x1f2)]!==_0x3d2575['DrawingTypeEnum'][_0x4c8bad(0x30b)]){_0x6e59d8();return;}let {unitId:_0x36b5e0,subUnitId:_0x64c8ce,drawingId:_0x4a6038}=_0x56988c;_0x1a6170={'unitId':_0x36b5e0,'subUnitId':_0x64c8ce,'drawingId':_0x4a6038},this['_contextService'][_0x4c8bad(0x4f1)](_0x3d2575[_0x4c8bad(0x1ce)],!0x0),this[_0x4c8bad(0x479)][_0x4c8bad(0x337)]()[_0x4c8bad(0x30a)](_0x3d4017=>_0x3d4017[_0x4c8bad(0x26d)]===_0x36b5e0&&_0x3d4017[_0x4c8bad(0x114)]===_0x64c8ce&&_0x3d4017[_0x4c8bad(0x17d)]===_0x4a6038)||this[_0x4c8bad(0x479)][_0x4c8bad(0x323)]([{'unitId':_0x36b5e0,'subUnitId':_0x64c8ce,'drawingId':_0x4a6038}]);})),_0x44a12d[_0x101469(0x358)](_0x564d8f[_0x101469(0x326)]['subscribe'](()=>{_0x6e59d8();})),(0x0,_0x3d2575[_0x101469(0x1ba)])(()=>{const _0x5acf99=_0x101469;_0x44a12d[_0x5acf99(0x3cc)](),_0x6e59d8();});}[_0x1bb2bd(0x4ba)](){const _0x54b0ec=_0x1bb2bd;this[_0x54b0ec(0x2ef)][_0x54b0ec(0x4f1)](_0x3d2575[_0x54b0ec(0x1ce)],!0x1),this[_0x54b0ec(0x479)][_0x54b0ec(0x323)](null);}};_0x7a1081=_0x4d7d62([_0x25f0d4(0x0,_0x1b3cd1[_0x1bb2bd(0x16e)]),_0x25f0d4(0x1,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x111169[_0x1bb2bd(0x4d3)])),_0x25f0d4(0x2,_0x3d2575[_0x1bb2bd(0x196)]),_0x25f0d4(0x3,_0xf3cf76[_0x1bb2bd(0x2fe)]),_0x25f0d4(0x4,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x542241[_0x1bb2bd(0x378)])),_0x25f0d4(0x5,_0x3d2575[_0x1bb2bd(0x1e1)]),_0x25f0d4(0x6,_0x610ad8[_0x1bb2bd(0x1a3)]),_0x25f0d4(0x7,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x47b563))],_0x7a1081);function _0x58a49d(_0x34a025,_0x41053f,_0x3b8b28,_0x2a4528){const _0x366ec7=_0x1bb2bd;let _0x151892=(0x0,_0xf3cf76[_0x366ec7(0x2b9)])(_0x34a025,_0x41053f,_0x3b8b28),_0x729c54=[];for(let _0x3b20c0 of _0x41053f){let _0x5585f3=_0x151892[_0x366ec7(0x379)][_0x366ec7(0x107)](_0x3b20c0[_0x366ec7(0x17d)]),_0x165064=_0x2a4528(_0x3b20c0);_0x5585f3&&_0x165064&&_0x729c54[_0x366ec7(0x37e)]({'targetShapeId':_0x5585f3,'source':_0x165064});}return _0x729c54;}let _0x4a4b35=class extends _0x3d2575['Disposable']{constructor(_0x5545de,_0x253b40,_0xb3b80e,_0xe2819b){const _0x50df09=_0x1bb2bd;super(),this[_0x50df09(0x3da)]=_0x5545de,this[_0x50df09(0x4d4)]=_0x253b40,this[_0x50df09(0x37c)]=_0xb3b80e,this[_0x50df09(0x496)]=_0xe2819b,this[_0x50df09(0x4d6)]();}[_0x1bb2bd(0x4d6)](){const _0x253752=_0x1bb2bd;this[_0x253752(0x275)](this[_0x253752(0x4d4)][_0x253752(0x459)]({'getMutations':_0x3e0042=>{const _0x2fc86=_0x253752;if(_0x3e0042['id']===_0x306a90[_0x2fc86(0x1e9)]['id']){let _0x5cad37=(0x0,_0x306a90[_0x2fc86(0x173)])(this[_0x2fc86(0x3da)],_0x3e0042[_0x2fc86(0x4ad)]);if(!_0x5cad37)return{'redos':[],'undos':[]};let {unitId:_0x461829,subUnitId:_0x237c72}=_0x5cad37,_0x1340d6=this['_sheetDrawingService'][_0x2fc86(0x4c4)](_0x461829,_0x237c72),_0x2170ac=Object[_0x2fc86(0x174)](_0x1340d6)[_0x2fc86(0x262)](_0x29b429=>_0x29b429['drawingType']===_0x3d2575[_0x2fc86(0x2d2)][_0x2fc86(0x30b)]);if(_0x2170ac[_0x2fc86(0x40e)]===0x0)return{'redos':[],'undos':[]};let _0x18c006=[],_0x175489=[];for(let _0x3ab38c=0x0;_0x3ab38c<_0x2170ac['length'];_0x3ab38c++){let _0x1aa7b1=_0x2170ac[_0x3ab38c],_0x4521c0=this[_0x2fc86(0x496)][_0x2fc86(0x286)](_0x1aa7b1[_0x2fc86(0x26d)],_0x1aa7b1['subUnitId'],_0x1aa7b1[_0x2fc86(0x17d)]);_0x4521c0&&(_0x18c006[_0x2fc86(0x37e)]({'id':_0x111169[_0x2fc86(0x3f6)]['id'],'params':{'unitId':_0x461829,'subUnitId':_0x237c72,'shapeId':_0x1aa7b1[_0x2fc86(0x17d)]}}),_0x175489[_0x2fc86(0x37e)]({'id':_0x111169[_0x2fc86(0x1d1)]['id'],'params':{'unitId':_0x461829,'subUnitId':_0x237c72,'shapeId':_0x1aa7b1[_0x2fc86(0x17d)],'shapeType':_0x4521c0[_0x2fc86(0x441)](),'shapeData':JSON[_0x2fc86(0x37a)](JSON[_0x2fc86(0x28a)](_0x4521c0[_0x2fc86(0x4d2)]()))}}));}return{'redos':_0x18c006,'undos':_0x175489};}if(_0x3e0042['id']===_0x306a90['CopySheetCommand']['id']){let {unitId:_0x298aa4,subUnitId:_0x443cd2,targetSubUnitId:_0x5f53a,copyContext:_0x4265f6}=_0x3e0042[_0x2fc86(0x4ad)];if(!_0x298aa4||!_0x443cd2||!_0x5f53a)return{'redos':[],'undos':[]};let _0x45c972=this[_0x2fc86(0x37c)]['getDrawingData'](_0x298aa4,_0x443cd2),_0x202b9d=Object[_0x2fc86(0x174)](_0x45c972)['filter'](_0x23c2fe=>_0x23c2fe[_0x2fc86(0x1f2)]===_0x3d2575[_0x2fc86(0x2d2)][_0x2fc86(0x30b)]);if(_0x202b9d[_0x2fc86(0x40e)]===0x0)return{'redos':[],'undos':[]};let _0x317bdf=_0x58a49d(_0x4265f6,_0x202b9d,{'unitId':_0x298aa4,'sourceSubUnitId':_0x443cd2,'targetSubUnitId':_0x5f53a},_0x132310=>{const _0x54bff4=_0x2fc86;let _0x2f5d06=this[_0x54bff4(0x496)]['getShapeModel'](_0x132310[_0x54bff4(0x26d)],_0x132310[_0x54bff4(0x114)],_0x132310[_0x54bff4(0x17d)]);if(_0x2f5d06)return{'shapeType':_0x2f5d06[_0x54bff4(0x441)](),'shapeData':JSON['parse'](JSON[_0x54bff4(0x28a)](_0x2f5d06[_0x54bff4(0x4d2)]()))};}),_0xa9bf5d=[],_0x265b22=[];for(let {targetShapeId:_0x191da4,source:_0x3680d0}of _0x317bdf)_0xa9bf5d[_0x2fc86(0x37e)]({'id':_0x111169[_0x2fc86(0x1d1)]['id'],'params':{'unitId':_0x298aa4,'subUnitId':_0x5f53a,'shapeId':_0x191da4,'shapeType':_0x3680d0[_0x2fc86(0x1a7)],'shapeData':_0x3680d0[_0x2fc86(0x268)]}}),_0x265b22[_0x2fc86(0x37e)]({'id':_0x111169[_0x2fc86(0x3f6)]['id'],'params':{'unitId':_0x298aa4,'subUnitId':_0x5f53a,'shapeId':_0x191da4}});return{'redos':_0xa9bf5d,'undos':_0x265b22};}return{'redos':[],'undos':[]};}}));}};_0x4a4b35=_0x4d7d62([_0x25f0d4(0x0,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x3d2575[_0x1bb2bd(0x363)])),_0x25f0d4(0x1,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x306a90[_0x1bb2bd(0x327)])),_0x25f0d4(0x2,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x20c5a7[_0x1bb2bd(0x1c7)])),_0x25f0d4(0x3,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x111169[_0x1bb2bd(0x4d3)]))],_0x4a4b35);let _0x550c2f=class extends _0x3d2575[_0x1bb2bd(0x463)]{constructor(_0x5157a8,_0x1be1ef,_0x2eb3a8,_0x9d1a84,_0x480d2b,_0x33355a){const _0x15a9db=_0x1bb2bd;super(),this[_0x15a9db(0x101)]=_0x5157a8,this[_0x15a9db(0x2ba)]=_0x1be1ef,this['_drawingManagerService']=_0x2eb3a8,this[_0x15a9db(0x48c)]=_0x9d1a84,this['_drawingRenderService']=_0x480d2b,this[_0x15a9db(0x2ad)]=_0x33355a,_0x19f136(this,_0x15a9db(0x2b4),new Set()),this[_0x15a9db(0x221)]();}[_0x1bb2bd(0x221)](){const _0xf86ba3=_0x1bb2bd;this[_0xf86ba3(0x38a)](),this[_0xf86ba3(0x382)](),this['_shapeUpdateListener']();}[_0x1bb2bd(0x38a)](){const _0x123ceb=_0x1bb2bd;this['disposeWithMe'](this['_drawingManagerService'][_0x123ceb(0x1c4)][_0x123ceb(0x3b2)](_0x1fb702=>{const _0x50610e=_0x123ceb;this[_0x50610e(0x360)](_0x1fb702);}));}[_0x1bb2bd(0x382)](){const _0x326fe2=_0x1bb2bd;this[_0x326fe2(0x275)](this[_0x326fe2(0x101)][_0x326fe2(0x2df)]((_0x5d4f65,_0x5dadfa)=>{const _0x3a8335=_0x326fe2;if(_0x5d4f65['id']===_0x111169[_0x3a8335(0x1d6)]['id']){let {unitId:_0x14aecf,subUnitId:_0x3e44f5,shapeId:_0x3f3e83}=_0x5d4f65[_0x3a8335(0x4ad)],_0x1cc89e=this[_0x3a8335(0x4c3)](_0x14aecf),_0x30fe00=(0x0,_0xf3cf76[_0x3a8335(0x372)])({'unitId':_0x14aecf,'subUnitId':_0x3e44f5,'drawingId':_0x3f3e83}),_0x18a0b4=_0x1cc89e==null?void 0x0:_0x1cc89e[_0x3a8335(0x179)][_0x3a8335(0x195)](_0x30fe00);_0x18a0b4&&(this[_0x3a8335(0x2ad)][_0x3a8335(0x3cd)](_0x18a0b4),this[_0x3a8335(0x2ad)][_0x3a8335(0x4a2)](_0x18a0b4,{'unitId':_0x14aecf,'subUnitId':_0x3e44f5,'shapeId':_0x3f3e83}),_0x18a0b4[_0x3a8335(0x4a5)](!0x0));}else{if(_0x5d4f65['id']===_0x111169[_0x3a8335(0x1d1)]['id']){var _0xa63acc;let {unitId:_0xeca003,subUnitId:_0x309cf4,shapeId:_0x1197b6}=_0x5d4f65[_0x3a8335(0x4ad)],_0x464007=this[_0x3a8335(0x4c3)](_0xeca003);if(_0x464007==null)return;let {scene:_0x431a51}=_0x464007,_0x51e32f=(0x0,_0xf3cf76[_0x3a8335(0x372)])({'unitId':_0xeca003,'subUnitId':_0x309cf4,'drawingId':_0x1197b6}),_0x581596=_0x431a51[_0x3a8335(0x195)](_0x51e32f);if(!((_0xa63acc=this[_0x3a8335(0x2ba)][_0x3a8335(0x40c)](_0xeca003))!=null&&_0xa63acc[_0x3a8335(0x10a)](_0x542241['SheetSkeletonManagerService'])[_0x3a8335(0x2cc)](_0x309cf4)))return!0x1;if(_0x581596)return;if(_0x5dadfa!=null&&_0x5dadfa['fromChangeset']){queueMicrotask(()=>{const _0x444cb7=_0x3a8335;this[_0x444cb7(0x1d8)]||this[_0x444cb7(0x360)]([{'unitId':_0xeca003,'subUnitId':_0x309cf4,'drawingId':_0x1197b6}]);});return;}this[_0x3a8335(0x360)]([{'unitId':_0xeca003,'subUnitId':_0x309cf4,'drawingId':_0x1197b6}]);}}}));}['_shapeUpdateListener'](){const _0x24b8c8=_0x1bb2bd;this[_0x24b8c8(0x275)](this['_drawingManagerService']['update$'][_0x24b8c8(0x3b2)](_0x10944b=>{const _0x469299=_0x24b8c8;_0x10944b[_0x469299(0x307)](_0x1e394d=>{const _0x36498b=_0x469299;let {unitId:_0x3566a2,subUnitId:_0x50c76b,drawingId:_0x22ab3d}=_0x1e394d,_0x1895bf=this[_0x36498b(0x479)][_0x36498b(0x4f0)](_0x1e394d);if(_0x1895bf==null)return;let {transform:_0x5a946d,drawingType:_0x382477,srcRect:_0x2c10d5,prstGeom:_0x3d2046}=_0x1895bf;if(_0x382477!==_0x3d2575[_0x36498b(0x2d2)][_0x36498b(0x30b)])return;let _0x3d29fe=this[_0x36498b(0x4c3)](_0x3566a2);if(_0x3d29fe==null)return;let {scene:_0x43a05c,transformer:_0x147b93}=_0x3d29fe;if(_0x5a946d==null)return!0x0;let _0x3a64ec=(0x0,_0xf3cf76[_0x36498b(0x372)])({'unitId':_0x3566a2,'subUnitId':_0x50c76b,'drawingId':_0x22ab3d}),_0xeae3b=_0x43a05c[_0x36498b(0x195)](_0x3a64ec);if(_0xeae3b==null)return!0x0;_0xeae3b['setSrcRect'](_0x2c10d5),_0xeae3b[_0x36498b(0x468)](_0x3d2046);});}));}[_0x1bb2bd(0x360)](_0xf105ba){const _0x365440=_0x1bb2bd;for(let _0x1c2974 of _0xf105ba){var _0x31c762;let {unitId:_0x4dd924,subUnitId:_0x11ae12,drawingId:_0x19f21b}=_0x1c2974,_0x16da4b=this[_0x365440(0x4c3)](_0x4dd924),_0x50d14f=(_0x31c762=(0x0,_0x2114cd[_0x365440(0x265)])(this['_currentUniverService'],_0x4dd924))==null?void 0x0:_0x31c762['subUnitId'];if(_0x16da4b==null||_0x50d14f!==_0x11ae12)return;let _0x2d885c=(0x0,_0xf3cf76[_0x365440(0x372)])({'unitId':_0x4dd924,'subUnitId':_0x11ae12,'drawingId':_0x19f21b});if(this[_0x365440(0x2b4)][_0x365440(0x22c)](_0x2d885c)||_0x16da4b[_0x365440(0x179)][_0x365440(0x195)](_0x2d885c)!=null)return;let _0x2cd850=this['_drawingManagerService'][_0x365440(0x4f0)](_0x1c2974);if(_0x2cd850==null||_0x2cd850[_0x365440(0x1f2)]!==_0x3d2575['DrawingTypeEnum'][_0x365440(0x30b)])return;let _0x2cc0ba=_0x2cd850[_0x365440(0x157)]||{};if((0x0,_0x756c25[_0x365440(0x4c9)])(_0x2cc0ba[_0x365440(0x1a7)])){let _0x2c98a1=_0x2cd850['transform'];_0x2c98a1&&(_0x2cd850[_0x365440(0x3e4)]={..._0x2c98a1,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x365440(0x2b4)][_0x365440(0x358)](_0x2d885c);try{this[_0x365440(0x2ad)][_0x365440(0x39d)](_0x2cd850,_0x16da4b[_0x365440(0x179)]);}finally{this[_0x365440(0x2b4)][_0x365440(0x417)](_0x2d885c);}queueMicrotask(()=>{const _0x3e188c=_0x365440;if(this[_0x3e188c(0x1d8)])return;let _0x21a7bc=(0x0,_0xf3cf76[_0x3e188c(0x372)])(_0x1c2974);if(!_0x16da4b[_0x3e188c(0x179)][_0x3e188c(0x195)](_0x21a7bc))return;let _0x8dbb0d=this[_0x3e188c(0x479)][_0x3e188c(0x4f0)](_0x1c2974);_0x8dbb0d&&this['_drawingManagerService'][_0x3e188c(0x149)]([_0x8dbb0d]);});}}[_0x1bb2bd(0x4c3)](_0x3444a1){const _0x1467f5=_0x1bb2bd;if(_0x3444a1==null)return;let _0x1812a3=this['_renderManagerService'][_0x1467f5(0x40c)](_0x3444a1),_0xd2690=_0x1812a3==null?void 0x0:_0x1812a3['scene'];return _0xd2690==null?null:{'scene':_0xd2690,'transformer':_0xd2690[_0x1467f5(0x4b5)]()};}};_0x550c2f=_0x4d7d62([_0x25f0d4(0x0,_0x3d2575[_0x1bb2bd(0x196)]),_0x25f0d4(0x1,_0x610ad8[_0x1bb2bd(0x1a3)]),_0x25f0d4(0x2,_0xf3cf76[_0x1bb2bd(0x2fe)]),_0x25f0d4(0x3,_0x3d2575[_0x1bb2bd(0x363)]),_0x25f0d4(0x4,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x2114cd['DrawingRenderService'])),_0x25f0d4(0x5,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x34a6bf))],_0x550c2f);let _0x136eef={'normal':{'fill':_0x756c25[_0x1bb2bd(0x3ba)][_0x1bb2bd(0x392)],'stroke':_0x756c25[_0x1bb2bd(0x3ba)][_0x1bb2bd(0x124)],'strokeWidth':_0x756c25['ShapeDefaultConfig'][_0x1bb2bd(0x3dd)]},'highlighted':{'fill':_0x1bb2bd(0x22b),'stroke':_0x1bb2bd(0x2d8),'strokeWidth':0x2}};var _0x4c5a49=class extends _0x610ad8[_0x1bb2bd(0x3c5)]{constructor(_0x19853e,_0x52a703){const _0x524943=_0x1bb2bd;super(_0x19853e,_0x52a703),_0x19f136(this,_0x524943(0x305),''),_0x19f136(this,_0x524943(0x14d),-0x1),_0x19f136(this,_0x524943(0x4f9),''),_0x19f136(this,_0x524943(0x34e),''),_0x19f136(this,'_isHighlighted',!0x1),_0x52a703&&this[_0x524943(0x36d)](_0x52a703);}[_0x1bb2bd(0x3a6)](){return{'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'shapeId':this['_targetShapeId'],'cxnIndex':this['_cxnIndex']};}[_0x1bb2bd(0x155)](_0x2263a6){const _0x48023f=_0x1bb2bd;this[_0x48023f(0x41f)]!==_0x2263a6&&(this[_0x48023f(0x41f)]=_0x2263a6,this[_0x48023f(0x4a5)](!0x0));}[_0x1bb2bd(0x420)](){return this['_isHighlighted'];}[_0x1bb2bd(0x36d)](_0x59babd){const _0x452b45=_0x1bb2bd;_0x59babd['targetShapeId']!==void 0x0&&(this['_targetShapeId']=_0x59babd[_0x452b45(0x3f5)]),_0x59babd[_0x452b45(0x320)]!==void 0x0&&(this[_0x452b45(0x14d)]=_0x59babd[_0x452b45(0x320)]),_0x59babd['unitId']!==void 0x0&&(this[_0x452b45(0x4f9)]=_0x59babd['unitId']),_0x59babd['subUnitId']!==void 0x0&&(this[_0x452b45(0x34e)]=_0x59babd[_0x452b45(0x114)]),_0x59babd['isHighlighted']!==void 0x0&&(this[_0x452b45(0x41f)]=_0x59babd[_0x452b45(0x420)]),this[_0x452b45(0x2e5)]({'width':_0x59babd['width']??_0x756c25[_0x452b45(0x3ba)]['cxnPointRadius']*0x2,'height':_0x59babd[_0x452b45(0x1db)]??_0x756c25[_0x452b45(0x3ba)][_0x452b45(0x19f)]*0x2});}[_0x1bb2bd(0x2cb)](_0x3025e3){const _0x2b5627=_0x1bb2bd;let _0x29bb09=this[_0x2b5627(0x41f)]?_0x136eef['highlighted']:_0x136eef[_0x2b5627(0x37d)];_0x610ad8['Circle'][_0x2b5627(0x4cc)](_0x3025e3,{'radius':_0x756c25[_0x2b5627(0x3ba)][_0x2b5627(0x19f)],'fill':_0x29bb09[_0x2b5627(0x266)],'stroke':_0x29bb09[_0x2b5627(0x4e8)],'strokeWidth':_0x29bb09['strokeWidth'],'evented':!0x0});}};let _0x3ac682=class extends _0x3d2575[_0x1bb2bd(0x463)]{constructor(_0x45d23e,_0x12a09d,_0x10503a,_0x2e3abd){const _0x3bfbcb=_0x1bb2bd;super(),this['_context']=_0x45d23e,this['_renderManagerService']=_0x12a09d,this['_drawingManagerService']=_0x10503a,this[_0x3bfbcb(0x496)]=_0x2e3abd,_0x19f136(this,'_connectionSiteObjects',[]),_0x19f136(this,_0x3bfbcb(0x438),null),_0x19f136(this,_0x3bfbcb(0x385),-0x1),_0x19f136(this,_0x3bfbcb(0x36e),null),_0x19f136(this,_0x3bfbcb(0x4f9),''),_0x19f136(this,'_subUnitId',''),_0x19f136(this,_0x3bfbcb(0x2b0),null);}[_0x1bb2bd(0x347)](_0x281bb1,_0x534f98,_0x5761f8,_0x408eda){const _0x2ab456=_0x1bb2bd;this[_0x2ab456(0x36e)]=_0x281bb1,this[_0x2ab456(0x4f9)]=_0x534f98,this['_subUnitId']=_0x5761f8,this[_0x2ab456(0x2b0)]=_0x408eda;}['updateConnectionDetection'](_0x4ffcd4){const _0x1e177d=_0x1bb2bd;if(!this[_0x1e177d(0x36e)])return null;let _0x259bc8=this['_findShapeAtPoint'](_0x4ffcd4);return _0x259bc8?(this[_0x1e177d(0x438)]!==_0x259bc8[_0x1e177d(0x4dd)]&&(this[_0x1e177d(0x204)](),this[_0x1e177d(0x3b0)](_0x259bc8['shapeId'],_0x259bc8[_0x1e177d(0x184)]),this[_0x1e177d(0x438)]=_0x259bc8[_0x1e177d(0x4dd)]),this['_findNearestConnectionSite'](_0x4ffcd4)):(this['_activeTargetShapeId']!==null&&(this['_clearConnectionSites'](),this[_0x1e177d(0x438)]=null),null);}[_0x1bb2bd(0x435)](){const _0xf96cb8=_0x1bb2bd;this['_clearConnectionSites'](),this[_0xf96cb8(0x36e)]=null,this[_0xf96cb8(0x438)]=null,this[_0xf96cb8(0x385)]=-0x1,this[_0xf96cb8(0x2b0)]=null;}[_0x1bb2bd(0x3a9)](){const _0x102220=_0x1bb2bd;return this[_0x102220(0x438)]===null||this[_0x102220(0x385)]<0x0?null:{'shapeId':this[_0x102220(0x438)],'cxnIndex':this[_0x102220(0x385)]};}[_0x1bb2bd(0x3c1)](_0x3bd885){const _0x27d55c=_0x1bb2bd;let _0x45f3f4=this[_0x27d55c(0x479)][_0x27d55c(0x4c4)](this['_unitId'],this['_subUnitId']);for(let _0x2f7572 of Object['keys'](_0x45f3f4)){if(_0x2f7572===this[_0x27d55c(0x2b0)]||_0x45f3f4[_0x2f7572][_0x27d55c(0x1f2)]!==_0x3d2575[_0x27d55c(0x2d2)][_0x27d55c(0x30b)])continue;let _0x317c9b=this[_0x27d55c(0x496)][_0x27d55c(0x286)](this[_0x27d55c(0x4f9)],this[_0x27d55c(0x34e)],_0x2f7572);if(!_0x317c9b||(0x0,_0x756c25[_0x27d55c(0x4c9)])(_0x317c9b[_0x27d55c(0x441)]())||_0x317c9b[_0x27d55c(0x30e)]()[_0x27d55c(0x40e)]===0x0||!this[_0x27d55c(0x36e)])continue;let _0x389b78=(0x0,_0xf3cf76['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0x27d55c(0x4f9)],'subUnitId':this[_0x27d55c(0x34e)],'drawingId':_0x2f7572}),_0x505ce2=this[_0x27d55c(0x36e)][_0x27d55c(0x195)](_0x389b78);if(!_0x505ce2)continue;let {left:_0x6b211a,top:_0x515b09,width:_0x38d23b,height:_0x21dfdf}=_0x505ce2[_0x27d55c(0x430)](),_0x5ee30c=_0x6b211a+_0x38d23b/0x2,_0x2285d4=_0x515b09+_0x21dfdf/0x2,_0x556843=_0x505ce2[_0x27d55c(0x3e4)][_0x27d55c(0x328)](),_0x361014=new _0x610ad8[(_0x27d55c(0x2dc))]([_0x556843[0x0],_0x556843[0x1],_0x556843[0x2],_0x556843[0x3],_0x5ee30c,_0x2285d4]),_0x38d2e8=_0x505ce2[_0x27d55c(0x303)](),_0x306013=(_0x505ce2['isInGroup']&&(_0x38d2e8==null?void 0x0:_0x38d2e8['classType'])===_0x610ad8[_0x27d55c(0x164)]['GROUP']?_0x38d2e8[_0x27d55c(0x3d6)][_0x27d55c(0x444)](_0x361014):_0x361014)[_0x27d55c(0x111)]()[_0x27d55c(0x356)](_0x3bd885),_0x594966=_0x38d23b/0x2,_0x7cca1d=_0x21dfdf/0x2;if(_0x306013['x']>=-_0x594966-0x5&&_0x306013['x']<=_0x594966+0x5&&_0x306013['y']>=-_0x7cca1d-0x5&&_0x306013['y']<=_0x7cca1d+0x5)return{'shapeId':_0x2f7572,'shapeModel':_0x317c9b};}return null;}[_0x1bb2bd(0x3b0)](_0x2a3c7c,_0x10b3d4){const _0x57841c=_0x1bb2bd;if(!this[_0x57841c(0x36e)])return;let _0x8394cd=(0x0,_0xf3cf76[_0x57841c(0x372)])({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':_0x2a3c7c}),_0x4923b9=this[_0x57841c(0x36e)][_0x57841c(0x195)](_0x8394cd);if(!_0x4923b9)return;let {left:_0xb4df12,top:_0x4071b8,width:_0x139be4,height:_0x23d0e9}=_0x4923b9[_0x57841c(0x430)](),_0x589ecc=_0xb4df12+_0x139be4/0x2,_0x95453e=_0x4071b8+_0x23d0e9/0x2,_0x198856=_0x4923b9['transform'][_0x57841c(0x328)](),_0x516f31=new _0x610ad8['Transform']([_0x198856[0x0],_0x198856[0x1],_0x198856[0x2],_0x198856[0x3],_0x589ecc,_0x95453e]),_0x3c4467=_0x4923b9[_0x57841c(0x303)](),_0x45cc7c=_0x4923b9['isInGroup']&&(_0x3c4467==null?void 0x0:_0x3c4467[_0x57841c(0x285)])===_0x610ad8[_0x57841c(0x164)][_0x57841c(0x25f)]?_0x3c4467[_0x57841c(0x3d6)][_0x57841c(0x444)](_0x516f31):_0x516f31;_0x10b3d4[_0x57841c(0x210)]({'width':_0x139be4,'height':_0x23d0e9});let _0x205f25=_0x10b3d4['getConnectionSiteList']();for(let _0x85118 of _0x205f25){let _0x540137=_0x85118['x']-_0x139be4/0x2,_0x4fdab1=_0x85118['y']-_0x23d0e9/0x2,_0x2e51d9=_0x45cc7c[_0x57841c(0x356)]({'x':_0x540137,'y':_0x4fdab1}),_0x3cf6b6=_0x2e51d9['x'],_0x1508c6=_0x2e51d9['y'],_0x5615ec=new _0x4c5a49(_0x57841c(0x133)+_0x2a3c7c+'-'+_0x85118[_0x57841c(0x19c)],{'left':_0x3cf6b6-_0x756c25[_0x57841c(0x3ba)][_0x57841c(0x19f)],'top':_0x1508c6-_0x756c25['ShapeDefaultConfig'][_0x57841c(0x19f)],'targetShapeId':_0x2a3c7c,'cxnIndex':_0x85118[_0x57841c(0x19c)],'unitId':this[_0x57841c(0x4f9)],'subUnitId':this[_0x57841c(0x34e)],'width':_0x756c25['ShapeDefaultConfig']['cxnPointRadius']*0x2,'height':_0x756c25[_0x57841c(0x3ba)][_0x57841c(0x19f)]*0x2,'zIndex':_0x610ad8['DRAWING_OBJECT_LAYER_INDEX']+0x2,'evented':!0x1});this[_0x57841c(0x216)][_0x57841c(0x37e)](_0x5615ec),this[_0x57841c(0x36e)]['addObject'](_0x5615ec,_0x610ad8[_0x57841c(0x239)]+0x2);}}[_0x1bb2bd(0x3c4)](_0x3e478e){const _0x25be0=_0x1bb2bd;let _0x965551=null,_0x583c89=0x1/0x0,_0x285e71=null;for(let _0x1c1695 of this[_0x25be0(0x216)]){let _0xc7e9cc=_0x1c1695[_0x25be0(0x20a)]+_0x756c25[_0x25be0(0x3ba)][_0x25be0(0x19f)],_0x21bdb4=_0x1c1695[_0x25be0(0x49c)]+_0x756c25[_0x25be0(0x3ba)][_0x25be0(0x19f)],_0x32b1bd=_0x3e478e['x']-_0xc7e9cc,_0x5aac74=_0x3e478e['y']-_0x21bdb4,_0x29578c=Math['sqrt'](_0x32b1bd*_0x32b1bd+_0x5aac74*_0x5aac74);_0x29578c<_0x583c89&&(_0x583c89=_0x29578c,_0x965551=_0x1c1695,_0x285e71={'x':_0xc7e9cc,'y':_0x21bdb4});}let _0x24eb8b=_0x583c89<=0xa&&_0x965551?_0x965551[_0x25be0(0x3a6)]()[_0x25be0(0x320)]:-0x1;if(_0x24eb8b!==this['_highlightedSiteIndex']){for(let _0x240487 of this[_0x25be0(0x216)]){let _0x114131=_0x240487[_0x25be0(0x3a6)]();_0x240487['setHighlighted'](_0x114131[_0x25be0(0x320)]===_0x24eb8b);}this[_0x25be0(0x385)]=_0x24eb8b;}if(_0x583c89<=0xa&&_0x965551&&_0x285e71){let _0x1c9fad=_0x965551[_0x25be0(0x3a6)](),_0x36d5d4=this[_0x25be0(0x394)](_0x1c9fad[_0x25be0(0x4dd)],_0x1c9fad[_0x25be0(0x320)]);return{'shapeId':_0x1c9fad[_0x25be0(0x4dd)],'cxnIndex':_0x1c9fad[_0x25be0(0x320)],'unitId':_0x1c9fad['unitId'],'subUnitId':_0x1c9fad[_0x25be0(0x114)],'worldPoint':_0x285e71,'angle':_0x36d5d4};}return null;}[_0x1bb2bd(0x394)](_0x1b569c,_0x50bef9){const _0x2232c0=_0x1bb2bd;let _0xb04b37=this['_sheetsShapeService']['getShapeModel'](this[_0x2232c0(0x4f9)],this['_subUnitId'],_0x1b569c);if(!_0xb04b37)return 0x0;let _0x414102=this[_0x2232c0(0x479)][_0x2232c0(0x4f0)]({'unitId':this[_0x2232c0(0x4f9)],'subUnitId':this['_subUnitId'],'drawingId':_0x1b569c});if(!(_0x414102!=null&&_0x414102['transform']))return 0x0;let {width:_0x4be2e9=0x0,height:_0x35fec1=0x0,flipX:_0x3a4149=!0x1,flipY:_0x5582d1=!0x1}=_0x414102[_0x2232c0(0x3e4)];_0xb04b37['updateContext']({'width':_0x4be2e9,'height':_0x35fec1});let _0x5b57f6=_0xb04b37[_0x2232c0(0x30e)]()[_0x2232c0(0x30a)](_0x5b34e0=>_0x5b34e0[_0x2232c0(0x19c)]===_0x50bef9);if(!_0x5b57f6)return 0x0;let _0x304d6a=_0x5b57f6['ang']/0xea60;return _0x3a4149&&(_0x304d6a=0xb4-_0x304d6a),_0x5582d1&&(_0x304d6a=-_0x304d6a),_0x304d6a=(_0x304d6a%0x168+0x168)%0x168,_0x304d6a;}[_0x1bb2bd(0x204)](){const _0xc4825b=_0x1bb2bd;for(let _0x185677 of this[_0xc4825b(0x216)])_0x185677[_0xc4825b(0x3cc)]();this[_0xc4825b(0x216)]=[],this[_0xc4825b(0x385)]=-0x1;}[_0x1bb2bd(0x3cc)](){const _0x453621=_0x1bb2bd;this['_clearConnectionSites'](),super[_0x453621(0x3cc)]();}};_0x3ac682=_0x4d7d62([_0x25f0d4(0x1,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x610ad8[_0x1bb2bd(0x1a3)])),_0x25f0d4(0x2,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0xf3cf76[_0x1bb2bd(0x2fe)])),_0x25f0d4(0x3,(0x0,_0x3d2575['Inject'])(_0x111169[_0x1bb2bd(0x4d3)]))],_0x3ac682);let _0x4e2732=class extends _0x3d2575[_0x1bb2bd(0x463)]{constructor(_0x138baa,_0x76dd47,_0x31288e,_0x5ba741,_0x1e09e6){const _0x16e109=_0x1bb2bd;super(),this[_0x16e109(0x2a5)]=_0x138baa,this[_0x16e109(0x32c)]=_0x76dd47,this[_0x16e109(0x37c)]=_0x31288e,this[_0x16e109(0x169)]=_0x5ba741,this['_groupCopyPasteController']=_0x1e09e6,_0x19f136(this,_0x16e109(0xfe),void 0x0),this[_0x16e109(0x1c5)](),this[_0x16e109(0x389)]();}get[_0x1bb2bd(0x2d5)](){const _0x9344d7=_0x1bb2bd;return this[_0x9344d7(0x37c)][_0x9344d7(0x337)]();}[_0x1bb2bd(0x389)](){const _0x43253e=_0x1bb2bd;this[_0x43253e(0x1a0)][_0x43253e(0x1f0)](({fromUnitId:_0x4bd721,fromSubUnitId:_0x3670ce,toUnitId:_0x3c86db,toSubUnitId:_0x155f8c,idMap:_0x10e927})=>{const _0x49d81a=_0x43253e;let _0xa4ea35=[],_0x5b53da=[];for(let [_0x498d9e,_0x3692bb]of _0x10e927[_0x49d81a(0x334)]()){let _0x2d3a17=this[_0x49d81a(0x169)][_0x49d81a(0x286)](_0x4bd721,_0x3670ce,_0x498d9e);if(!_0x2d3a17)continue;let _0x3b1133=_0x2d3a17[_0x49d81a(0x441)](),_0x5e8af0=JSON['parse'](JSON[_0x49d81a(0x28a)](_0x2d3a17[_0x49d81a(0x4d2)]()));if(_0x5e8af0[_0x49d81a(0x297)]){var _0x1e64ec,_0xa60fc;let _0xae6f32=(_0x1e64ec=_0x5e8af0[_0x49d81a(0x297)][_0x49d81a(0x24e)])==null?void 0x0:_0x1e64ec[_0x49d81a(0x4dd)],_0x49b9ca=(_0xa60fc=_0x5e8af0[_0x49d81a(0x297)]['to'])==null?void 0x0:_0xa60fc[_0x49d81a(0x4dd)],_0x42aa5b=!_0xae6f32||_0x10e927['has'](_0xae6f32),_0x3ab7db=!_0x49b9ca||_0x10e927[_0x49d81a(0x22c)](_0x49b9ca);_0x42aa5b&&_0xae6f32&&_0x5e8af0[_0x49d81a(0x297)][_0x49d81a(0x24e)]?_0x5e8af0[_0x49d81a(0x297)][_0x49d81a(0x24e)]={..._0x5e8af0[_0x49d81a(0x297)]['from'],'shapeId':_0x10e927[_0x49d81a(0x107)](_0xae6f32)}:_0x5e8af0[_0x49d81a(0x297)][_0x49d81a(0x24e)]=void 0x0,_0x3ab7db&&_0x49b9ca&&_0x5e8af0[_0x49d81a(0x297)]['to']?_0x5e8af0['relation']['to']={..._0x5e8af0[_0x49d81a(0x297)]['to'],'shapeId':_0x10e927['get'](_0x49b9ca)}:_0x5e8af0['relation']['to']=void 0x0;}_0xa4ea35[_0x49d81a(0x37e)]({'id':_0x111169[_0x49d81a(0x1d1)]['id'],'params':{'unitId':_0x3c86db,'subUnitId':_0x155f8c,'shapeId':_0x3692bb,'shapeType':_0x3b1133,'shapeData':_0x5e8af0}}),_0x5b53da['push']({'id':_0x111169['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x3c86db,'subUnitId':_0x155f8c,'shapeId':_0x3692bb}});}return{'redos':_0xa4ea35,'undos':_0x5b53da};});}[_0x1bb2bd(0x1c5)](){const _0x11bb91=_0x1bb2bd;this['disposeWithMe'](this[_0x11bb91(0x32c)][_0x11bb91(0x4d1)]({'id':'sheets-shape-ui','onBeforeCopyFocusedObject':(_0x4872a9,_0x4d8edb,_0x55baf9)=>{const _0x56ced5=_0x11bb91;this['_copyInfo']=null;let _0x11c125=this[_0x56ced5(0x2d5)][_0x56ced5(0x262)](_0x4649b0=>_0x4649b0[_0x56ced5(0x1f2)]===_0x3d2575[_0x56ced5(0x2d2)][_0x56ced5(0x30b)]);return _0x11c125[_0x56ced5(0x40e)]!==0x0&&(this['_copyInfo']={'unitId':_0x4872a9,'subUnitId':_0x4d8edb,'copyType':_0x55baf9,'drawings':_0x11c125},!0x0);},'onBeforeCopy':(_0xf09c88,_0x11f025,_0x51a802,_0x477eac)=>{const _0x254314=_0x11bb91;this[_0x254314(0xfe)]=null,this[_0x254314(0x1b1)](_0xf09c88,_0x11f025,_0x51a802,_0x477eac);},'onPasteCells':(_0x117421,_0x1a3a18,_0x2f1819,_0x53ad39)=>{const _0x11bcb7=_0x11bb91;if(!_0x53ad39[_0x11bcb7(0x1c8)]||!_0x117421||!this[_0x11bcb7(0xfe)])return{'redos':[],'undos':[]};let {pasteType:_0x2b8018}=_0x53ad39;return _0x2b8018===_0x542241[_0x11bcb7(0x2c9)][_0x11bcb7(0x3ef)]?this[_0x11bcb7(0x1d0)](_0x1a3a18,this[_0x11bcb7(0xfe)][_0x11bcb7(0x20f)]===_0x542241[_0x11bcb7(0x1c3)][_0x11bcb7(0x166)]):{'redos':[],'undos':[]};}}));}[_0x1bb2bd(0x1b1)](_0x49d1d5,_0x362706,_0x1d147a,_0x48f8eb){const _0x4b41c4=_0x1bb2bd;let _0xd25446=this[_0x4b41c4(0x2a5)][_0x4b41c4(0x2cc)](_0x49d1d5,_0x362706);if(!_0xd25446)return;let _0x57f70e=(0x0,_0x306a90[_0x4b41c4(0x344)])(_0xd25446,_0x1d147a);if(!_0x57f70e)return;let {startX:_0x3ee408,endX:_0x4c8964,startY:_0x318bad,endY:_0x357ce9}=_0x57f70e,_0x3e8863=this['_sheetDrawingService'][_0x4b41c4(0x4c4)](_0x49d1d5,_0x362706),_0x30adca=[];for(let [_0x68c5df,_0x25a0dd]of Object[_0x4b41c4(0x334)](_0x3e8863)){if(_0x25a0dd[_0x4b41c4(0x1f2)]!==_0x3d2575[_0x4b41c4(0x2d2)][_0x4b41c4(0x30b)])continue;let {transform:_0x176248}=_0x25a0dd;if(!_0x176248)continue;let {left:_0xa2659=0x0,top:_0x200983=0x0,width:_0x2b0ddd=0x0,height:_0x58eb08=0x0}=_0x176248;_0x3ee408<=_0xa2659&&_0x4c8964>=_0xa2659+_0x2b0ddd&&_0x318bad<=_0x200983&&_0x357ce9>=_0x200983+_0x58eb08&&_0x30adca['push'](_0x25a0dd);}_0x30adca[_0x4b41c4(0x40e)]>0x0&&(this[_0x4b41c4(0xfe)]={'unitId':_0x49d1d5,'subUnitId':_0x362706,'copyType':_0x48f8eb,'copyRange':_0x1d147a,'drawings':_0x30adca});}[_0x1bb2bd(0x1d0)](_0x755a30,_0x393473){const _0x989c1b=_0x1bb2bd;let {unitId:_0x2e4930,subUnitId:_0x403e4c,range:_0x2687b6}=_0x755a30,_0x470dd2=this[_0x989c1b(0x2a5)]['getSkeleton'](_0x2e4930,_0x403e4c);if(!_0x470dd2)return{'redos':[],'undos':[]};let _0x185c80=(0x0,_0x306a90[_0x989c1b(0x3fa)])(_0x2687b6),{unitId:_0x1a0052,subUnitId:_0x44cccc,copyRange:_0x2f6f91,drawings:_0x573d2f}=this['_copyInfo'],_0x1df4be=this[_0x989c1b(0x2a5)][_0x989c1b(0x2cc)](_0x1a0052,_0x44cccc);if(!_0x1df4be)return{'redos':[],'undos':[]};let _0x37dfa5;if(!_0x2f6f91){let _0x540e33=0x1/0x0,_0x662a47=0x1/0x0;for(let _0x3b7746 of _0x573d2f){let {left:_0x25872a=0x0,top:_0x39f758=0x0}=_0x3b7746[_0x989c1b(0x3e4)]??{};_0x25872a<_0x540e33&&(_0x540e33=_0x25872a),_0x39f758<_0x662a47&&(_0x662a47=_0x39f758);}_0x540e33!==0x1/0x0&&_0x662a47!==0x1/0x0&&(_0x37dfa5={'left':_0x540e33,'top':_0x662a47});}let _0x360111=new Map();if(!_0x393473){for(let _0x18f5f5 of _0x573d2f)_0x360111[_0x989c1b(0x100)](_0x18f5f5[_0x989c1b(0x17d)],(0x0,_0x3d2575[_0x989c1b(0x13f)])());}let _0x477247=[],_0xce16ea=[];for(let _0x37d02b of _0x573d2f){let {drawingId:_0x169da9,transform:_0x4acc28,sheetTransform:_0x2192a1}=_0x37d02b;if(!_0x4acc28||!_0x2192a1)continue;let _0x437580=this['_updateTransform']({'transform':_0x4acc28,'sheetTransform':_0x2192a1},{'skeleton':_0x1df4be,'range':_0x2f6f91},{'skeleton':_0x470dd2,'range':_0x185c80},_0x37dfa5);if(_0x393473){let {redos:_0x34a68e,undos:_0x2c5ba0}=this[_0x989c1b(0x293)]({'fromUnitId':_0x1a0052,'fromSubUnitId':_0x44cccc,'toUnitId':_0x2e4930,'toSubUnitId':_0x403e4c,'drawing':_0x37d02b,'newTransforms':_0x437580});_0x477247[_0x989c1b(0x37e)](..._0x34a68e),_0xce16ea['push'](..._0x2c5ba0);continue;}let {redos:_0x2be408,undos:_0x341b12}=this[_0x989c1b(0x398)]({'toUnitId':_0x2e4930,'toSubUnitId':_0x403e4c,'drawing':_0x37d02b,'newTransforms':_0x437580,'newDrawingId':_0x360111[_0x989c1b(0x107)](_0x169da9),'idMap':_0x360111});_0x477247[_0x989c1b(0x37e)](..._0x2be408),_0xce16ea['push'](..._0x341b12);}return{'redos':_0x477247,'undos':_0xce16ea};}['_generateCutPasteMutations'](_0x478c20){const _0x41053c=_0x1bb2bd;let {fromUnitId:_0x86a04e,fromSubUnitId:_0x3044da,toUnitId:_0x5ba55b,toSubUnitId:_0x332669,drawing:_0x5d7e94,newTransforms:_0x4bbd8c}=_0x478c20,_0x2d7b9a={..._0x5d7e94,'unitId':_0x5ba55b,'subUnitId':_0x332669,'transform':_0x4bbd8c['transform'],'sheetTransform':_0x4bbd8c[_0x41053c(0x492)]};if(_0x5ba55b===_0x86a04e&&_0x332669===_0x3044da){let {redo:_0x185ef5,undo:_0x446661,objects:_0x300d90}=this[_0x41053c(0x37c)][_0x41053c(0x338)]([_0x2d7b9a]);return{'redos':[{'id':_0x20c5a7[_0x41053c(0x1f8)]['id'],'params':{'unitId':_0x5ba55b,'subUnitId':_0x332669,'type':_0x20c5a7[_0x41053c(0x34c)][_0x41053c(0x45b)],'op':_0x185ef5,'objects':_0x300d90}}],'undos':[{'id':_0x20c5a7['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x5ba55b,'subUnitId':_0x332669,'type':_0x20c5a7[_0x41053c(0x34c)][_0x41053c(0x45b)],'op':_0x446661,'objects':_0x300d90}}]};}{let _0x4585bd=this[_0x41053c(0x37c)][_0x41053c(0x282)]([_0x5d7e94]),_0x11e9ce=this[_0x41053c(0x37c)][_0x41053c(0x428)]([_0x2d7b9a]),_0x1887c2=this[_0x41053c(0x169)][_0x41053c(0x286)](_0x5d7e94[_0x41053c(0x26d)],_0x5d7e94['subUnitId'],_0x5d7e94[_0x41053c(0x17d)]);if(!_0x1887c2)return{'redos':[],'undos':[]};let _0x5d1b79=_0x1887c2[_0x41053c(0x441)](),_0x589c00=JSON['parse'](JSON[_0x41053c(0x28a)](_0x1887c2[_0x41053c(0x4d2)]()));return{'redos':[{'id':_0x20c5a7[_0x41053c(0x1f8)]['id'],'params':{'unitId':_0x86a04e,'subUnitId':_0x3044da,'type':_0x20c5a7[_0x41053c(0x34c)][_0x41053c(0x1b8)],'op':_0x4585bd[_0x41053c(0x395)],'objects':_0x4585bd[_0x41053c(0x180)]}},{'id':_0x111169['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x86a04e,'subUnitId':_0x3044da,'shapeId':_0x5d7e94[_0x41053c(0x17d)]}},{'id':_0x20c5a7[_0x41053c(0x1f8)]['id'],'params':{'unitId':_0x5ba55b,'subUnitId':_0x332669,'type':_0x20c5a7[_0x41053c(0x34c)][_0x41053c(0x357)],'op':_0x11e9ce[_0x41053c(0x395)],'objects':_0x11e9ce[_0x41053c(0x180)]}},{'id':_0x111169[_0x41053c(0x1d1)]['id'],'params':{'unitId':_0x5ba55b,'subUnitId':_0x332669,'shapeId':_0x5d7e94[_0x41053c(0x17d)],'shapeType':_0x5d1b79,'shapeData':_0x589c00}}],'undos':[{'id':_0x20c5a7[_0x41053c(0x1f8)]['id'],'params':{'unitId':_0x86a04e,'subUnitId':_0x3044da,'type':_0x20c5a7[_0x41053c(0x34c)][_0x41053c(0x357)],'op':_0x4585bd[_0x41053c(0x432)],'objects':_0x4585bd[_0x41053c(0x180)]}},{'id':_0x111169['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x86a04e,'subUnitId':_0x3044da,'shapeId':_0x5d7e94['drawingId'],'shapeType':_0x5d1b79,'shapeData':_0x589c00}},{'id':_0x20c5a7[_0x41053c(0x1f8)]['id'],'params':{'unitId':_0x5ba55b,'subUnitId':_0x332669,'type':_0x20c5a7['DrawingApplyType']['REMOVE'],'op':_0x11e9ce[_0x41053c(0x432)],'objects':_0x11e9ce[_0x41053c(0x180)]}},{'id':_0x111169[_0x41053c(0x3f6)]['id'],'params':{'unitId':_0x5ba55b,'subUnitId':_0x332669,'shapeId':_0x5d7e94['drawingId']}}]};}}[_0x1bb2bd(0x398)](_0x437be2){const _0x479583=_0x1bb2bd;let {toUnitId:_0x3b8c18,toSubUnitId:_0x2ea586,drawing:_0x1dcb97,newTransforms:_0x3307b1,newDrawingId:_0x2414dc,idMap:_0x1e74e6}=_0x437be2,_0x433030={..._0x1dcb97,'unitId':_0x3b8c18,'subUnitId':_0x2ea586,'drawingId':_0x2414dc,'transform':_0x3307b1[_0x479583(0x3e4)],'sheetTransform':_0x3307b1[_0x479583(0x492)]},{redo:_0x56bdac,undo:_0x2da038,objects:_0x39a34e}=this[_0x479583(0x37c)][_0x479583(0x428)]([_0x433030]),_0x40abd7=this['_shapeService']['getShapeModel'](_0x1dcb97[_0x479583(0x26d)],_0x1dcb97[_0x479583(0x114)],_0x1dcb97[_0x479583(0x17d)]);if(!_0x40abd7)return{'redos':[],'undos':[]};let _0x2c99b6=_0x40abd7[_0x479583(0x441)](),_0x2d7007=JSON[_0x479583(0x37a)](JSON[_0x479583(0x28a)](_0x40abd7[_0x479583(0x4d2)]()));if(_0x2d7007[_0x479583(0x297)]){var _0x4424e9,_0x4e17d4;let _0x1a3c31=(_0x4424e9=_0x2d7007['relation'][_0x479583(0x24e)])==null?void 0x0:_0x4424e9[_0x479583(0x4dd)],_0xb5a610=(_0x4e17d4=_0x2d7007[_0x479583(0x297)]['to'])==null?void 0x0:_0x4e17d4[_0x479583(0x4dd)],_0x2e356b=!_0x1a3c31||_0x1e74e6[_0x479583(0x22c)](_0x1a3c31),_0x4bcde7=!_0xb5a610||_0x1e74e6[_0x479583(0x22c)](_0xb5a610);_0x2e356b&&_0x1a3c31&&_0x2d7007[_0x479583(0x297)][_0x479583(0x24e)]?_0x2d7007[_0x479583(0x297)][_0x479583(0x24e)]={..._0x2d7007[_0x479583(0x297)][_0x479583(0x24e)],'shapeId':_0x1e74e6[_0x479583(0x107)](_0x1a3c31)}:_0x2d7007[_0x479583(0x297)][_0x479583(0x24e)]=void 0x0,_0x4bcde7&&_0xb5a610&&_0x2d7007[_0x479583(0x297)]['to']?_0x2d7007['relation']['to']={..._0x2d7007[_0x479583(0x297)]['to'],'shapeId':_0x1e74e6['get'](_0xb5a610)}:_0x2d7007['relation']['to']=void 0x0;}return{'redos':[{'id':_0x20c5a7[_0x479583(0x1f8)]['id'],'params':{'unitId':_0x3b8c18,'subUnitId':_0x2ea586,'type':_0x20c5a7[_0x479583(0x34c)][_0x479583(0x357)],'op':_0x56bdac,'objects':_0x39a34e}},{'id':_0x111169[_0x479583(0x1d1)]['id'],'params':{'unitId':_0x3b8c18,'subUnitId':_0x2ea586,'shapeId':_0x2414dc,'shapeType':_0x2c99b6,'shapeData':_0x2d7007}}],'undos':[{'id':_0x20c5a7[_0x479583(0x1f8)]['id'],'params':{'unitId':_0x3b8c18,'subUnitId':_0x2ea586,'type':_0x20c5a7['DrawingApplyType'][_0x479583(0x1b8)],'op':_0x2da038,'objects':_0x39a34e}},{'id':_0x111169[_0x479583(0x3f6)]['id'],'params':{'unitId':_0x3b8c18,'subUnitId':_0x2ea586,'shapeId':_0x2414dc}}]};}['_updateTransform'](_0x361c77,_0x1f21ce,_0x2487f1,_0x59e74f){const _0x4cfdb4=_0x1bb2bd;let {range:_0x6c21e2,skeleton:_0x3c14ab}=_0x1f21ce,{range:_0x211949,skeleton:_0x1e5c1d}=_0x2487f1,{transform:_0x3c7f68,sheetTransform:_0x1dcb7b}=_0x361c77,_0x555a46={..._0x3c7f68};if(_0x6c21e2){let _0x5da3e0=(0x0,_0x306a90[_0x4cfdb4(0x344)])(_0x3c14ab,_0x6c21e2),_0x211ff4=(0x0,_0x306a90[_0x4cfdb4(0x344)])(_0x1e5c1d,_0x211949);if(_0x5da3e0&&_0x211ff4){let _0x4f9d8c=_0x211ff4['startX']-_0x5da3e0[_0x4cfdb4(0x2ac)],_0x3cc6f0=_0x211ff4[_0x4cfdb4(0x332)]-_0x5da3e0[_0x4cfdb4(0x332)];_0x555a46['left']=(_0x555a46['left']??0x0)+_0x4f9d8c,_0x555a46['top']=(_0x555a46['top']??0x0)+_0x3cc6f0;}}else{let _0x4bf7a8=(0x0,_0x306a90[_0x4cfdb4(0x344)])(_0x1e5c1d,_0x211949);if(_0x59e74f&&_0x4bf7a8){let _0xe5a99d=(_0x555a46[_0x4cfdb4(0x20a)]??0x0)-_0x59e74f[_0x4cfdb4(0x20a)],_0x5cfe4f=(_0x555a46[_0x4cfdb4(0x49c)]??0x0)-_0x59e74f[_0x4cfdb4(0x49c)];_0x555a46['left']=_0x4bf7a8[_0x4cfdb4(0x2ac)]+_0xe5a99d,_0x555a46[_0x4cfdb4(0x49c)]=_0x4bf7a8['startY']+_0x5cfe4f;}else _0x555a46['left']=_0x4bf7a8==null?void 0x0:_0x4bf7a8[_0x4cfdb4(0x2ac)],_0x555a46[_0x4cfdb4(0x49c)]=_0x4bf7a8==null?void 0x0:_0x4bf7a8[_0x4cfdb4(0x332)];}return{'transform':_0x555a46,'sheetTransform':(0x0,_0x20c5a7[_0x4cfdb4(0x456)])(_0x555a46,_0x1e5c1d)??_0x1dcb7b};}};_0x4e2732=_0x4d7d62([_0x25f0d4(0x0,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x306a90[_0x1bb2bd(0x41a)])),_0x25f0d4(0x1,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x542241[_0x1bb2bd(0x12e)])),_0x25f0d4(0x2,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x20c5a7[_0x1bb2bd(0x1c7)])),_0x25f0d4(0x3,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x111169[_0x1bb2bd(0x4d3)])),_0x25f0d4(0x4,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x51ad4c['SheetsDrawingGroupCopyPasteController']))],_0x4e2732);var _0x2a5063=class extends _0x610ad8[_0x1bb2bd(0x3c5)]{constructor(_0x37c63d,_0x52705a){const _0x453243=_0x1bb2bd;super(_0x37c63d,_0x52705a),_0x19f136(this,_0x453243(0x4a9),null),_0x19f136(this,_0x453243(0x2d4),null),_0x19f136(this,_0x453243(0x4f9),null),_0x19f136(this,'_subUnitId',null),_0x19f136(this,_0x453243(0x4b3),!0x1),_0x52705a&&this[_0x453243(0x36d)](_0x52705a);}[_0x1bb2bd(0x1c1)](){const _0x5aafd6=_0x1bb2bd;return{'unitId':this['_unitId'],'subUnitId':this[_0x5aafd6(0x34e)],'drawingId':this[_0x5aafd6(0x4a9)]};}['setShapeProps'](_0x51128e){const _0x2cd07b=_0x1bb2bd;_0x51128e['shapeId']!==void 0x0&&(this[_0x2cd07b(0x4a9)]=_0x51128e[_0x2cd07b(0x4dd)]),_0x51128e[_0x2cd07b(0x26d)]!==void 0x0&&(this['_unitId']=_0x51128e[_0x2cd07b(0x26d)]),_0x51128e[_0x2cd07b(0x114)]!==void 0x0&&(this[_0x2cd07b(0x34e)]=_0x51128e[_0x2cd07b(0x114)]),_0x51128e[_0x2cd07b(0x3ab)]!==void 0x0&&(this['_isStartConnectorPoint']=_0x51128e['isStartConnectorPoint']),this[_0x2cd07b(0x2e5)]({'width':_0x51128e[_0x2cd07b(0x181)],'height':_0x51128e[_0x2cd07b(0x1db)]});}['_draw'](_0x13a9b6){const _0x513f8c=_0x1bb2bd;_0x610ad8['Circle'][_0x513f8c(0x4cc)](_0x13a9b6,{'radius':_0x756c25['ShapeDefaultConfig'][_0x513f8c(0x19f)],'fill':_0x756c25['ShapeDefaultConfig'][_0x513f8c(0x392)],'stroke':_0x756c25[_0x513f8c(0x3ba)]['cxnPointStroke'],'strokeWidth':_0x756c25[_0x513f8c(0x3ba)][_0x513f8c(0x3dd)],'evented':!0x0});}};let _0xf83a23=class extends _0x3d2575[_0x1bb2bd(0x463)]{constructor(_0x3ad7a5,_0x20f888,_0x4c8d63,_0x68a664,_0x13ba7b,_0x319a17,_0x331ef5,_0x375185){const _0x5bdc2a=_0x1bb2bd;super(),this[_0x5bdc2a(0x19e)]=_0x3ad7a5,this[_0x5bdc2a(0x101)]=_0x20f888,this['_renderManagerService']=_0x4c8d63,this[_0x5bdc2a(0x479)]=_0x68a664,this['_univerInstanceService']=_0x13ba7b,this['_sheetsShapeService']=_0x319a17,this['_sheetShapeAdjustController']=_0x331ef5,this[_0x5bdc2a(0x3d1)]=_0x375185,_0x19f136(this,_0x5bdc2a(0x1dc),void 0x0),_0x19f136(this,'_unitId',void 0x0),_0x19f136(this,'_subUnitId',void 0x0),_0x19f136(this,_0x5bdc2a(0x25e),[]),_0x19f136(this,_0x5bdc2a(0x472),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),_0x19f136(this,_0x5bdc2a(0x1ca),void 0x0),_0x19f136(this,_0x5bdc2a(0x235),!0x1),_0x19f136(this,'_isDrawingShapePointDown',!0x1),_0x19f136(this,'_hasReset',!0x1),_0x19f136(this,'_cxtHandlerPointerMove',void 0x0),_0x19f136(this,_0x5bdc2a(0x260),void 0x0),_0x19f136(this,_0x5bdc2a(0x152),null),this[_0x5bdc2a(0x221)]();}['_initialize'](){const _0x2e750a=_0x1bb2bd;this[_0x2e750a(0x20c)](),this[_0x2e750a(0x309)]();}[_0x1bb2bd(0x191)](){const _0x15bf9a=_0x1bb2bd;if(!this[_0x15bf9a(0x4f9)]||!this[_0x15bf9a(0x34e)]||!this['_activeShapeId'])return;let _0x52bee1={'unitId':this[_0x15bf9a(0x4f9)],'subUnitId':this['_subUnitId'],'drawingId':this['_activeShapeId']},{transform:_0x2bb7b9}=this['_drawingManagerService'][_0x15bf9a(0x4f0)](_0x52bee1);if(_0x2bb7b9)return{'left':_0x2bb7b9['left']||0x0,'top':_0x2bb7b9['top']||0x0,'width':_0x2bb7b9[_0x15bf9a(0x181)]||0x0,'height':_0x2bb7b9[_0x15bf9a(0x1db)]||0x0,'flipX':_0x2bb7b9[_0x15bf9a(0x115)]||!0x1,'flipY':_0x2bb7b9[_0x15bf9a(0x3cf)]||!0x1,'angle':_0x2bb7b9['angle']};}[_0x1bb2bd(0x2a2)](){const _0x332f2e=_0x1bb2bd;if(this[_0x332f2e(0x4f9)]===void 0x0||this[_0x332f2e(0x34e)]===void 0x0||this[_0x332f2e(0x1dc)]===void 0x0)return;let _0x4d21a2=this[_0x332f2e(0x2ba)][_0x332f2e(0x40c)](this[_0x332f2e(0x4f9)]);if(!_0x4d21a2||!_0x4d21a2[_0x332f2e(0x10a)](_0x542241[_0x332f2e(0x15f)])[_0x332f2e(0x16b)]())return;let {scene:_0x317392}=_0x4d21a2,_0x3bd6da=this[_0x332f2e(0x191)]();if(!_0x3bd6da)return;let _0x21f917=this[_0x332f2e(0x496)]['getShapeModel'](this['_unitId'],this[_0x332f2e(0x34e)],this[_0x332f2e(0x1dc)]);if(!_0x21f917||!(0x0,_0x756c25[_0x332f2e(0x4c9)])(_0x21f917[_0x332f2e(0x441)]()))return;let _0x83d9a2=_0x21f917[_0x332f2e(0x470)]();if(_0x83d9a2[_0x332f2e(0x40e)]<0x2)return;let _0x56f4c8=new _0x756c25['ConnectorCoordinateTransform'](_0x3bd6da),_0x1f0ab0=_0x83d9a2[0x0],_0x473d2b=_0x83d9a2[_0x83d9a2[_0x332f2e(0x40e)]-0x1],_0x335b3c=_0x56f4c8[_0x332f2e(0x168)](_0x1f0ab0),_0x4729cb=_0x56f4c8[_0x332f2e(0x168)](_0x473d2b);this[_0x332f2e(0x39f)](_0x317392,{..._0x335b3c},!0x0),this[_0x332f2e(0x39f)](_0x317392,{..._0x4729cb},!0x1);}['_addShapeConnectorHandlerObject'](_0x22cc59,_0x2e0492,_0x568252){const _0x56772e=_0x1bb2bd;if(this[_0x56772e(0x1dc)]===void 0x0||this[_0x56772e(0x4f9)]===void 0x0||this[_0x56772e(0x34e)]===void 0x0)return;let _0x304295=_0x56772e(0x312)+this[_0x56772e(0x4f9)]+'-'+this['_subUnitId']+'-'+this[_0x56772e(0x1dc)]+'-'+(_0x568252?'start':_0x56772e(0x4e4)),_0x4168d9=_0x22cc59[_0x56772e(0x195)](_0x304295);if(_0x4168d9){_0x4168d9[_0x56772e(0x2e5)]({'left':_0x2e0492['x']-_0x756c25[_0x56772e(0x3ba)][_0x56772e(0x19f)],'top':_0x2e0492['y']-_0x756c25[_0x56772e(0x3ba)][_0x56772e(0x19f)]});return;}let _0xe8a691=new _0x2a5063(_0x304295,{'left':_0x2e0492['x']-_0x756c25[_0x56772e(0x3ba)][_0x56772e(0x19f)],'top':_0x2e0492['y']-_0x756c25[_0x56772e(0x3ba)]['cxnPointRadius'],'shapeId':this[_0x56772e(0x1dc)],'unitId':this[_0x56772e(0x4f9)],'subUnitId':this[_0x56772e(0x34e)],'isStartConnectorPoint':_0x568252,'width':_0x756c25['ShapeDefaultConfig'][_0x56772e(0x19f)]*0x2,'height':_0x756c25['ShapeDefaultConfig'][_0x56772e(0x19f)]*0x2,'zIndex':_0x610ad8['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0});this['_connectorObjects'][_0x56772e(0x37e)](_0xe8a691),this[_0x56772e(0x41b)](_0xe8a691,_0x22cc59,_0x568252),_0x22cc59[_0x56772e(0x301)](_0xe8a691,_0x610ad8[_0x56772e(0x239)]+0x1);}[_0x1bb2bd(0x1ae)](_0x1bdfde,_0x17a5ed){const _0x189e98=_0x1bb2bd;var _0x544038;let _0x823441={'x':0x0,'y':0x0};if(!_0x1bdfde||!_0x17a5ed)return _0x823441;let _0x21d6d5=this[_0x189e98(0x2ba)][_0x189e98(0x40c)](_0x1bdfde);if(!_0x21d6d5||!_0x21d6d5['with'](_0x542241['SheetSkeletonManagerService'])[_0x189e98(0x2cc)](_0x17a5ed))return _0x823441;let _0x5829d6=_0x21d6d5[_0x189e98(0x10a)](_0x542241[_0x189e98(0x2c6)]),_0x566840=_0x5829d6==null?void 0x0:_0x5829d6['getCurrentScrollState']();if(!_0x566840)return _0x823441;let _0x1ec0bc=(_0x544038=this[_0x189e98(0x3da)]['getUnit'](_0x1bdfde))==null?void 0x0:_0x544038[_0x189e98(0x200)](_0x17a5ed);if(!_0x1ec0bc)return _0x823441;let _0x1bd16c=(0x0,_0x542241[_0x189e98(0x48b)])(_0x566840['sheetViewStartRow'],_0x566840[_0x189e98(0x340)],_0x21d6d5[_0x189e98(0x179)],_0x1ec0bc);return _0x1bd16c?{'x':_0x1bd16c[_0x189e98(0x43b)],'y':_0x1bd16c[_0x189e98(0x2a3)]}:_0x823441;}[_0x1bb2bd(0x29b)](_0x2efc9e,_0x158d3f){const _0x284024=_0x1bb2bd;var _0x8241b4;let _0xfa6b7d=(_0x8241b4=this[_0x284024(0x3da)][_0x284024(0x4d8)](_0x2efc9e))==null?void 0x0:_0x8241b4['getSheetBySheetId'](_0x158d3f);return(_0xfa6b7d==null?void 0x0:_0xfa6b7d[_0x284024(0x375)]())??0x1;}[_0x1bb2bd(0x3bd)](_0x59153a,_0x257a2a,_0x52fef9,_0x2ec826,_0x2c6078){const _0x58f356=_0x1bb2bd;this[_0x58f356(0x3bb)][_0x58f356(0x1a1)](),this[_0x58f356(0x260)][_0x58f356(0x1a1)](),this[_0x58f356(0x487)][_0x58f356(0x498)]();let _0x187cd8=this['_currentConnectionTarget'];this[_0x58f356(0x3d1)][_0x58f356(0x435)]();let _0x51ee9a=this['_getScrollInfo'](this['_unitId'],this[_0x58f356(0x34e)]),_0xb3d090=this[_0x58f356(0x29b)](this[_0x58f356(0x4f9)],this[_0x58f356(0x34e)]),_0x4a2fe1={'x':_0x52fef9[_0x58f356(0x165)]/_0xb3d090+_0x51ee9a['x'],'y':_0x52fef9[_0x58f356(0x10f)]/_0xb3d090+_0x51ee9a['y']},_0x4ac987=_0x187cd8?_0x187cd8[_0x58f356(0x3f0)]:_0x4a2fe1,_0x27ee10=_0x2ec826?this[_0x58f356(0x1ca)][_0x58f356(0x32f)]():this['_activeShapeModel'][_0x58f356(0x345)](),_0x57b351=this['_activeShapeModel'][_0x58f356(0x441)]();_0x27ee10?this['_handleConnectedEndpointPointerUp'](_0x27ee10,_0x4ac987,_0x2ec826,_0x187cd8,_0x2c6078):this[_0x58f356(0x2f9)](_0x257a2a,_0x4ac987,_0x2ec826,_0x187cd8,_0x2c6078,_0x57b351),this[_0x58f356(0x235)]=!0x1,this[_0x58f356(0x32e)]=!0x1,this[_0x58f356(0x152)]=null,_0x59153a[_0x58f356(0x4c0)]();}[_0x1bb2bd(0x2f9)](_0x20c626,_0x5ca031,_0x401197,_0x724153,_0x228285,_0x2db3ae){const _0x59383b=_0x1bb2bd;let _0x193cb0=_0x2db3ae===_0x756c25[_0x59383b(0x3a3)][_0x59383b(0x383)]||_0x2db3ae===_0x756c25['ShapeTypeEnum'][_0x59383b(0x42d)],_0x446ed5=_0x401197?_0x5ca031:_0x20c626,_0x3f7923=_0x401197?_0x20c626:_0x5ca031,_0x4066fc=this[_0x59383b(0x1ca)][_0x59383b(0x470)](),_0x2d10bf=this[_0x59383b(0x1ca)][_0x59383b(0x441)](),_0x4032ac=(0x0,_0x756c25[_0x59383b(0x4c1)])(_0x2d10bf),_0x5357ec=_0x756c25[_0x59383b(0x1b9)][_0x59383b(0x159)](_0x4066fc,_0x4032ac),_0x599e48=_0x193cb0?_0x756c25[_0x59383b(0x1b9)]['computeStraightConnectorLayout'](_0x446ed5,_0x3f7923):_0x756c25[_0x59383b(0x1b9)][_0x59383b(0x147)](_0x20c626,_0x5ca031,_0x401197,_0x5357ec);_0x724153?this[_0x59383b(0x47d)](_0x599e48,_0x724153,_0x401197,_0x228285):this[_0x59383b(0x206)](_0x599e48,_0x228285);}[_0x1bb2bd(0x4d7)](_0x5b6435,_0x31c169,_0x1e577f,_0x51e048,_0x536fda){const _0x329b62=_0x1bb2bd;let _0x59fcb2=this[_0x329b62(0x132)](_0x5b6435);if(!_0x59fcb2)return;let _0x1fce69=_0x51e048?_0x51e048[_0x329b62(0x3c9)]:this[_0x329b62(0x314)](_0x59fcb2['point'],_0x31c169),_0x4e75c9;if(_0x51e048){let _0x3660ae=this[_0x329b62(0x479)][_0x329b62(0x4f0)]({'unitId':_0x51e048[_0x329b62(0x26d)],'subUnitId':_0x51e048[_0x329b62(0x114)],'drawingId':_0x51e048['shapeId']});if(_0x3660ae!=null&&_0x3660ae[_0x329b62(0x3e4)]){let {left:_0x25e534=0x0,top:_0x2ef8dc=0x0,width:_0x311761=0x0,height:_0x5a3c99=0x0,angle:_0x4bf0a8}=_0x3660ae['transform'];_0x4e75c9=(0x0,_0x756c25[_0x329b62(0x1eb)])({'left':_0x25e534,'top':_0x2ef8dc,'width':_0x311761,'height':_0x5a3c99},_0x4bf0a8||0x0);}else _0x4e75c9={'left':_0x31c169['x'],'top':_0x31c169['y'],'width':0x0,'height':0x0};}else _0x4e75c9={'left':_0x31c169['x'],'top':_0x31c169['y'],'width':0x0,'height':0x0};let _0x3c8d00={'point':_0x31c169,'angle':_0x1fce69,'bounds':_0x4e75c9},_0x5088bc=_0x1e577f?_0x3c8d00:_0x59fcb2,_0x36a477=_0x1e577f?_0x59fcb2:_0x3c8d00,_0x2e58cf=this[_0x329b62(0x1ca)][_0x329b62(0x441)](),_0x3108c8=(0x0,_0x756c25[_0x329b62(0x4de)])(_0x5088bc,_0x36a477,_0x2e58cf);this[_0x329b62(0x1ca)]['removeLinePoints']();let _0x480c9c=(0x0,_0x756c25['computeConnectorRouteLayout'])(_0x3108c8,_0x2e58cf);_0x51e048?this[_0x329b62(0x13d)](_0x480c9c,_0x51e048,_0x5b6435,_0x1e577f,_0x536fda):this['_executeConnectedRouteResizeCommand'](_0x480c9c,_0x5b6435,_0x1e577f,_0x536fda);}[_0x1bb2bd(0x47d)](_0xf47599,_0x44674b,_0x2e7b2d,_0x33cb24){const _0x576623=_0x1bb2bd;let _0xfe8627=this[_0x576623(0x1ca)][_0x576623(0x4d2)]()['relation'],_0x33a56f={..._0xfe8627},_0x2c2638={'shapeId':_0x44674b[_0x576623(0x4dd)],'cxnIndex':_0x44674b['cxnIndex']};_0x2e7b2d?_0x33a56f[_0x576623(0x24e)]=_0x2c2638:_0x33a56f['to']=_0x2c2638;let _0x206b61=this[_0x576623(0x1ca)][_0x576623(0x441)](),_0x2c62c2=(0x0,_0x756c25[_0x576623(0x2c0)])(_0xf47599['worldPoints'],_0x206b61),_0x271193={'unitId':this[_0x576623(0x4f9)],'subUnitId':this['_subUnitId'],'connectorShapeId':this[_0x576623(0x1dc)],'width':_0xf47599['worldRect'][_0x576623(0x181)],'height':_0xf47599['worldRect'][_0x576623(0x1db)],'left':_0xf47599[_0x576623(0x4e2)][_0x576623(0x20a)],'top':_0xf47599[_0x576623(0x4e2)]['top'],'flipX':_0xf47599['worldRect'][_0x576623(0x115)]||!0x1,'flipY':_0xf47599[_0x576623(0x4e2)][_0x576623(0x3cf)]||!0x1,'newAdjustValues':_0x2c62c2[_0x576623(0x1bf)],'oldAdjustValues':_0x33cb24,'oldRelation':_0xfe8627,'newRelation':_0x33a56f,'newLineType':_0x2c62c2[_0x576623(0x131)],'oldLineType':_0x206b61};this['_commandService'][_0x576623(0x24d)](_0x111169[_0x576623(0x4b0)]['id'],_0x271193);}[_0x1bb2bd(0x206)](_0x2fe09f,_0x4bf0aa){const _0x237ed7=_0x1bb2bd;let _0x487220=this[_0x237ed7(0x1ca)][_0x237ed7(0x441)](),_0x44276a=(0x0,_0x756c25['computeConnectorRouteLayout'])(_0x2fe09f[_0x237ed7(0x16d)],_0x487220),_0x1a2917={'unitId':this[_0x237ed7(0x4f9)],'subUnitId':this[_0x237ed7(0x34e)],'shapeId':this[_0x237ed7(0x1dc)],'width':_0x2fe09f[_0x237ed7(0x4e2)][_0x237ed7(0x181)],'height':_0x2fe09f[_0x237ed7(0x4e2)][_0x237ed7(0x1db)],'left':_0x2fe09f[_0x237ed7(0x4e2)][_0x237ed7(0x20a)],'top':_0x2fe09f[_0x237ed7(0x4e2)][_0x237ed7(0x49c)],'flipX':_0x2fe09f[_0x237ed7(0x4e2)]['flipX']||!0x1,'flipY':_0x2fe09f['worldRect'][_0x237ed7(0x3cf)]||!0x1,'angle':_0x2fe09f[_0x237ed7(0x4e2)][_0x237ed7(0x3c9)]||0x0,'newAdjustValues':_0x44276a[_0x237ed7(0x1bf)],'oldAdjustValues':_0x4bf0aa,'newLineType':_0x44276a['lineType'],'oldLineType':_0x487220};this[_0x237ed7(0x101)][_0x237ed7(0x24d)](_0x111169[_0x237ed7(0x29e)]['id'],_0x1a2917);}[_0x1bb2bd(0x13d)](_0x3347b5,_0x317d29,_0x49723a,_0x250fa0,_0x18ccef){const _0x390189=_0x1bb2bd;let _0xad6c81=this[_0x390189(0x1ca)][_0x390189(0x4d2)]()['relation'],_0x3e971c={..._0xad6c81},_0x1c6dda={'shapeId':_0x317d29[_0x390189(0x4dd)],'cxnIndex':_0x317d29[_0x390189(0x320)]};_0x250fa0?(_0x3e971c['from']=_0x1c6dda,_0x3e971c['to']=_0x49723a):(_0x3e971c['from']=_0x49723a,_0x3e971c['to']=_0x1c6dda);let _0x163c91={'unitId':this['_unitId'],'subUnitId':this[_0x390189(0x34e)],'connectorShapeId':this[_0x390189(0x1dc)],'width':_0x3347b5[_0x390189(0x4e2)][_0x390189(0x181)],'height':_0x3347b5['worldRect']['height'],'left':_0x3347b5[_0x390189(0x4e2)]['left'],'top':_0x3347b5[_0x390189(0x4e2)][_0x390189(0x49c)],'flipX':_0x3347b5[_0x390189(0x4e2)][_0x390189(0x115)]||!0x1,'flipY':_0x3347b5[_0x390189(0x4e2)][_0x390189(0x3cf)]||!0x1,'oldAdjustValues':_0x18ccef,'newAdjustValues':_0x3347b5['adjustValues'],'newLineType':_0x3347b5[_0x390189(0x131)],'rotation':_0x3347b5['rotation'],'oldRelation':_0xad6c81,'newRelation':_0x3e971c};this[_0x390189(0x101)]['executeCommand'](_0x111169[_0x390189(0x4b0)]['id'],_0x163c91);}[_0x1bb2bd(0x1b3)](_0x218fb8,_0x1079be,_0x4e233a,_0x475b2b){const _0x499cd9=_0x1bb2bd;let _0x420b28=this[_0x499cd9(0x1ca)][_0x499cd9(0x4d2)]()[_0x499cd9(0x297)],_0x2cab0e={};_0x4e233a?(_0x2cab0e['to']=_0x1079be,_0x2cab0e[_0x499cd9(0x24e)]=void 0x0):(_0x2cab0e['from']=_0x1079be,_0x2cab0e['to']=void 0x0);let _0xcc6ae2={'unitId':this[_0x499cd9(0x4f9)],'subUnitId':this[_0x499cd9(0x34e)],'connectorShapeId':this[_0x499cd9(0x1dc)],'width':_0x218fb8['worldRect']['width'],'height':_0x218fb8[_0x499cd9(0x4e2)][_0x499cd9(0x1db)],'left':_0x218fb8[_0x499cd9(0x4e2)][_0x499cd9(0x20a)],'top':_0x218fb8[_0x499cd9(0x4e2)]['top'],'flipX':_0x218fb8['worldRect'][_0x499cd9(0x115)]||!0x1,'flipY':_0x218fb8[_0x499cd9(0x4e2)]['flipY']||!0x1,'oldAdjustValues':_0x475b2b,'newAdjustValues':_0x218fb8[_0x499cd9(0x1bf)],'newLineType':_0x218fb8['lineType'],'rotation':_0x218fb8[_0x499cd9(0x224)],'oldRelation':_0x420b28,'newRelation':_0x2cab0e};this['_commandService']['executeCommand'](_0x111169['UpdateConnectorRelationCommand']['id'],_0xcc6ae2);}[_0x1bb2bd(0x41b)](_0x1cce20,_0x626f9c,_0x11821a){const _0x13ad42=_0x1bb2bd;this[_0x13ad42(0x275)]((0x0,_0x3d2575['toDisposable'])(_0x1cce20['onPointerDown$']['subscribeEvent']((_0x47b099,_0x190f7a)=>{const _0x5b95d1=_0x13ad42;let _0x16e569=_0x1cce20['getDrawingSearch']();if(this[_0x5b95d1(0x1ca)]=this[_0x5b95d1(0x496)]['getShapeModel'](_0x16e569[_0x5b95d1(0x26d)],_0x16e569['subUnitId'],_0x16e569[_0x5b95d1(0x17d)]),!this[_0x5b95d1(0x1ca)])return;let _0x3464fa={};this[_0x5b95d1(0x1ca)][_0x5b95d1(0x411)]()['forEach'](_0x4beb3b=>{const _0x37643e=_0x5b95d1;let _0x5847db=this[_0x37643e(0x1ca)]['getAdjustValueByName'](_0x4beb3b);_0x5847db!==void 0x0&&(_0x3464fa[_0x4beb3b]=_0x5847db);});let _0x4bdc0b=this[_0x5b95d1(0x191)]();if(!_0x4bdc0b)return;this[_0x5b95d1(0x472)]={..._0x4bdc0b};let _0x6600cd=new _0x756c25[(_0x5b95d1(0x1b9))](this[_0x5b95d1(0x472)]),_0xe69d7e=(0x0,_0xf3cf76[_0x5b95d1(0x372)])({'unitId':this[_0x5b95d1(0x4f9)],'subUnitId':this[_0x5b95d1(0x34e)],'drawingId':this[_0x5b95d1(0x1dc)]}),_0x47007a=_0x626f9c[_0x5b95d1(0x195)](_0xe69d7e);this[_0x5b95d1(0x235)]=!0x0,_0x626f9c[_0x5b95d1(0x251)](),this[_0x5b95d1(0x3d1)]['startConnectionDetection'](_0x626f9c,this[_0x5b95d1(0x4f9)],this[_0x5b95d1(0x34e)],this[_0x5b95d1(0x1dc)]),this['_currentConnectionTarget']=null;let _0x54923a=this[_0x5b95d1(0x1ca)][_0x5b95d1(0x470)](),_0x2023e7=_0x54923a[0x0],_0x53aece=_0x54923a[_0x54923a[_0x5b95d1(0x40e)]-0x1],_0x176a57=_0x11821a?_0x6600cd[_0x5b95d1(0x168)](_0x53aece):_0x6600cd[_0x5b95d1(0x168)](_0x2023e7);this[_0x5b95d1(0x3bb)]=_0x626f9c[_0x5b95d1(0x37b)][_0x5b95d1(0x11b)]((_0x5b07a6,_0x30b5ad)=>{const _0x51306c=_0x5b95d1;if(!this[_0x51306c(0x235)]||!this[_0x51306c(0x1ca)])return;this[_0x51306c(0x32e)]||=(this[_0x51306c(0x487)][_0x51306c(0x3fe)](),this[_0x51306c(0x1ca)][_0x51306c(0x413)](),!0x0);let _0x24475a=this[_0x51306c(0x1ae)](this[_0x51306c(0x4f9)],this[_0x51306c(0x34e)]),_0x54450d=this[_0x51306c(0x29b)](this[_0x51306c(0x4f9)],this[_0x51306c(0x34e)]),_0x21bb1b={'x':_0x5b07a6['offsetX']/_0x54450d+_0x24475a['x'],'y':_0x5b07a6[_0x51306c(0x10f)]/_0x54450d+_0x24475a['y']},_0x54f63f=this['_sheetBasicShapeConnectionPointController'][_0x51306c(0x39b)](_0x21bb1b);if(_0x54f63f){let {shapeId:_0x25e3cb,unitId:_0x274798,subUnitId:_0x406a02}=_0x54f63f;if(_0x25e3cb&&_0x274798&&_0x406a02){let _0x1b2099=(0x0,_0xf3cf76[_0x51306c(0x372)])({'unitId':_0x274798,'subUnitId':_0x406a02,'drawingId':_0x25e3cb});_0x54f63f['angle']=(_0x626f9c['getObjectIncludeInGroup'](_0x1b2099)['angle']||0x0)+_0x54f63f[_0x51306c(0x3c9)];}}this['_currentConnectionTarget']=_0x54f63f;let _0x2593db=_0x11821a?this['_activeShapeModel'][_0x51306c(0x32f)]():this[_0x51306c(0x1ca)][_0x51306c(0x345)]();_0x2593db?this['_handleConnectedEndpointMove'](_0x2593db,_0x21bb1b,_0x11821a,_0x47007a,_0x1cce20):this[_0x51306c(0x3e3)](_0x21bb1b,_0x176a57,_0x11821a,_0x47007a,_0x1cce20);}),this[_0x5b95d1(0x260)]=_0x626f9c[_0x5b95d1(0x2e2)][_0x5b95d1(0x11b)]((_0x11ef41,_0x5af40a)=>{const _0x2b59c7=_0x5b95d1;this[_0x2b59c7(0x3bd)](_0x626f9c,_0x176a57,_0x11ef41,_0x11821a,_0x3464fa);}),_0x190f7a[_0x5b95d1(0x407)]();})));}[_0x1bb2bd(0x429)](_0x42a61d,_0x155060,_0x4d35c7){const _0x47fe14=_0x1bb2bd;let _0x5c31bf=this[_0x47fe14(0x496)][_0x47fe14(0x237)](_0x42a61d,_0x155060,_0x4d35c7);if(!_0x5c31bf||_0x5c31bf[_0x47fe14(0x40e)]===0x0)return;let _0x4ae2d3=this['_renderManagerService'][_0x47fe14(0x40c)](_0x42a61d);if(!_0x4ae2d3)return;let {scene:_0x533c9b}=_0x4ae2d3;for(let _0x5ae39 of _0x5c31bf){let _0x27184b=_0x5ae39[_0x47fe14(0x1e5)],_0x4382cb=this[_0x47fe14(0x496)][_0x47fe14(0x286)](_0x42a61d,_0x155060,_0x27184b);if(!_0x4382cb)continue;let _0x110cf7=_0x4382cb[_0x47fe14(0x345)](),_0x122a81=_0x4382cb[_0x47fe14(0x32f)](),_0x4d2805=(_0x110cf7==null?void 0x0:_0x110cf7['shapeId'])===_0x4d35c7,_0x558beb=(0x0,_0xf3cf76[_0x47fe14(0x372)])({'unitId':_0x42a61d,'subUnitId':_0x155060,'drawingId':_0x27184b}),_0x5563e3=_0x533c9b['getObjectIncludeInGroup'](_0x558beb);if(!_0x5563e3)continue;let _0x31785e=this[_0x47fe14(0x479)][_0x47fe14(0x4f0)]({'unitId':_0x42a61d,'subUnitId':_0x155060,'drawingId':_0x27184b});_0x31785e!=null&&_0x31785e[_0x47fe14(0x3e4)]&&(_0x110cf7&&_0x122a81?this[_0x47fe14(0x3f9)](_0x42a61d,_0x155060,_0x27184b,_0x4382cb,_0x110cf7,_0x122a81,_0x5563e3):this[_0x47fe14(0x24c)](_0x42a61d,_0x155060,_0x27184b,_0x4382cb,_0x4d2805?_0x110cf7:_0x122a81,_0x4d2805,_0x31785e,_0x5563e3));}}[_0x1bb2bd(0x3f9)](_0x2845f4,_0x563dc0,_0x21b22b,_0x482da7,_0x5bc858,_0x56fbb9,_0x40130a){const _0x3cf40e=_0x1bb2bd;let _0x2fa8cb=this[_0x3cf40e(0x4f9)],_0x430d4f=this[_0x3cf40e(0x34e)];this[_0x3cf40e(0x4f9)]=_0x2845f4,this[_0x3cf40e(0x34e)]=_0x563dc0;let _0xd973bf=this['_getConnectPointInfo'](_0x5bc858),_0x38d5c8=this[_0x3cf40e(0x132)](_0x56fbb9);if(this[_0x3cf40e(0x4f9)]=_0x2fa8cb,this['_subUnitId']=_0x430d4f,!_0xd973bf||!_0x38d5c8)return;let _0x2882bb=_0x482da7[_0x3cf40e(0x441)](),_0x38543f=(0x0,_0x756c25[_0x3cf40e(0x4de)])(_0xd973bf,_0x38d5c8,_0x2882bb);_0x38543f&&_0x482da7[_0x3cf40e(0x223)](_0x38543f);let _0x38ba94=(0x0,_0x756c25[_0x3cf40e(0x2c0)])(_0x38543f,_0x2882bb);_0x38ba94[_0x3cf40e(0x131)]!==_0x2882bb&&_0x482da7[_0x3cf40e(0x4a6)](_0x38ba94[_0x3cf40e(0x131)]),_0x482da7[_0x3cf40e(0x413)]();for(let [_0x44f21b,_0x112c78]of Object['entries'](_0x38ba94[_0x3cf40e(0x1bf)]))_0x482da7[_0x3cf40e(0x2ee)](_0x44f21b,_0x112c78);_0x482da7[_0x3cf40e(0x210)]({'width':_0x38ba94[_0x3cf40e(0x4e2)][_0x3cf40e(0x181)],'height':_0x38ba94['worldRect']['height']}),_0x40130a[_0x3cf40e(0x2e5)]({'flipX':_0x38ba94[_0x3cf40e(0x4e2)]['flipX'],'flipY':_0x38ba94[_0x3cf40e(0x4e2)][_0x3cf40e(0x3cf)],'left':_0x38ba94['worldRect'][_0x3cf40e(0x20a)],'top':_0x38ba94[_0x3cf40e(0x4e2)][_0x3cf40e(0x49c)],'width':_0x38ba94[_0x3cf40e(0x4e2)][_0x3cf40e(0x181)],'height':_0x38ba94[_0x3cf40e(0x4e2)][_0x3cf40e(0x1db)],'angle':_0x38ba94[_0x3cf40e(0x224)]}),_0x482da7['removeLinePoints']();}['_moveConnectorWithShape'](_0x5cf935,_0x4e3c8c,_0x4664d1,_0x500647,_0x5ab2c6,_0x5282ec,_0x4faa90,_0x4df56d){const _0x19e68e=_0x1bb2bd;let _0x35f919=this['_unitId'],_0x5ebdd3=this['_subUnitId'];this['_unitId']=_0x5cf935,this[_0x19e68e(0x34e)]=_0x4e3c8c;let _0x2eea64=this[_0x19e68e(0x132)](_0x5ab2c6);if(this['_unitId']=_0x35f919,this['_subUnitId']=_0x5ebdd3,!_0x2eea64)return;let {left:_0x2af4f7=0x0,top:_0x6ba0a2=0x0,width:_0x10ff83=0x0,height:_0x338c55=0x0,flipX:_0x4e1190=!0x1,flipY:_0x1142fa=!0x1}=_0x4faa90['transform'],_0x2fe139=_0x500647['getConnectorLinePoints']();if(_0x2fe139[_0x19e68e(0x40e)]<0x2)return;let _0x57d39f=new _0x756c25[(_0x19e68e(0x1b9))]({'left':_0x2af4f7,'top':_0x6ba0a2,'width':_0x10ff83,'height':_0x338c55,'flipX':_0x4e1190,'flipY':_0x1142fa}),_0x52f92b=_0x5282ec?_0x2fe139[_0x2fe139[_0x19e68e(0x40e)]-0x1]:_0x2fe139[0x0],_0x370c1a=_0x57d39f['localToWorld'](_0x52f92b),_0x57dd6c=_0x756c25[_0x19e68e(0x1b9)]['computeConnectorResizeLayout'](_0x370c1a,_0x2eea64[_0x19e68e(0x4e7)],!_0x5282ec);_0x4df56d[_0x19e68e(0x2e5)]({'flipX':_0x57dd6c['worldRect'][_0x19e68e(0x115)],'flipY':_0x57dd6c[_0x19e68e(0x4e2)]['flipY'],'left':_0x57dd6c[_0x19e68e(0x4e2)][_0x19e68e(0x20a)],'top':_0x57dd6c[_0x19e68e(0x4e2)][_0x19e68e(0x49c)],'width':_0x57dd6c['worldRect'][_0x19e68e(0x181)],'height':_0x57dd6c[_0x19e68e(0x4e2)][_0x19e68e(0x1db)],'angle':_0x57dd6c[_0x19e68e(0x4e2)][_0x19e68e(0x3c9)]}),_0x4df56d[_0x19e68e(0x4a5)](!0x0);}[_0x1bb2bd(0x35c)](){const _0x23cd21=_0x1bb2bd;this['_connectorObjects'][_0x23cd21(0x40e)]!==0x0&&(this[_0x23cd21(0x25e)][_0x23cd21(0x307)](_0x5de506=>{const _0x36c226=_0x23cd21;_0x5de506[_0x36c226(0x3cc)]();}),this[_0x23cd21(0x25e)]=[]);}[_0x1bb2bd(0x309)](){const _0xdcd3db=_0x1bb2bd;let _0x2b52ba=this[_0xdcd3db(0x3da)][_0xdcd3db(0x25b)](_0x3d2575[_0xdcd3db(0x4f8)][_0xdcd3db(0x245)]);this[_0xdcd3db(0x275)](_0x2b52ba['pipe']((0x0,_0x133625['switchMap'])(_0xcd4f3d=>_0xcd4f3d?_0xcd4f3d[_0xdcd3db(0x404)][_0xdcd3db(0x3f4)]((0x0,_0x133625[_0xdcd3db(0x14f)])(_0x5ce12c=>{const _0x8c908b=_0xdcd3db;if(!_0x5ce12c)return _0x133625[_0x8c908b(0x21d)];let _0x4f47df=_0xcd4f3d[_0x8c908b(0x455)](),_0x513bc2=this[_0x8c908b(0x2ba)][_0x8c908b(0x40c)](_0x4f47df),_0x48ab77=_0x513bc2==null?void 0x0:_0x513bc2[_0x8c908b(0x179)];return _0x48ab77?(0x0,_0x133625['of'])(_0x48ab77):_0x133625[_0x8c908b(0x21d)];})):_0x133625[_0xdcd3db(0x21d)]))['subscribe'](_0x40072a=>{const _0x20a39d=_0xdcd3db;let _0x234a4f=_0x40072a[_0x20a39d(0x4b5)]();this[_0x20a39d(0x275)](_0x40072a['onPointerMove$'][_0x20a39d(0x11b)](_0x1c50f0=>{const _0x243555=_0x20a39d;this['_isDrawingShapePointDown']&&this[_0x243555(0x1dc)]&&this['_clearShapeConnectorHandlerObjects']();})),this[_0x20a39d(0x275)](_0x234a4f[_0x20a39d(0x3c2)]['subscribe'](_0x59e620=>{const _0x3d27c6=_0x20a39d;let {objects:_0x539b78}=_0x59e620;this['_clearShapeConnectorHandlerObjects'](),_0x539b78!==null&&_0x539b78[_0x3d27c6(0x349)]===0x1&&_0x539b78[_0x3d27c6(0x174)]()['next']()[_0x3d27c6(0x18a)]instanceof _0x28ba5a&&(this[_0x3d27c6(0x494)]=!0x0);})),this[_0x20a39d(0x275)](_0x234a4f[_0x20a39d(0x3ec)][_0x20a39d(0x3b2)](_0xc1decd=>{const _0x1cf651=_0x20a39d;this[_0x1cf651(0x494)]&&this[_0x1cf651(0x35c)]();})),this[_0x20a39d(0x275)](_0x40072a[_0x20a39d(0x2e2)]['subscribeEvent'](()=>{this['_isDrawingShapePointDown']&&(this['_isDrawingShapePointDown']=!0x1,this['_addShapeConnectorHandlerObjects']());})),this[_0x20a39d(0x275)](_0x234a4f[_0x20a39d(0x10c)][_0x20a39d(0x3b2)](()=>{const _0xceb14c=_0x20a39d;this[_0xceb14c(0x4f9)]&&this[_0xceb14c(0x34e)]&&this[_0xceb14c(0x1dc)]&&this[_0xceb14c(0x479)][_0xceb14c(0x4f0)]({'unitId':this[_0xceb14c(0x4f9)],'subUnitId':this[_0xceb14c(0x34e)],'drawingId':this[_0xceb14c(0x1dc)]})&&(this[_0xceb14c(0x35c)](),this[_0xceb14c(0x2a2)]());}));}));}['_registerDrawingFocusChangeHandler'](){const _0x2a1342=_0x1bb2bd;this['disposeWithMe'](this[_0x2a1342(0x479)]['focus$'][_0x2a1342(0x3b2)](_0x41fe16=>{const _0x3f4f92=_0x2a1342;if(_0x41fe16['length']===0x1){let _0x1b0a43=_0x41fe16[0x0];if(_0x1b0a43['drawingType']===_0x3d2575['DrawingTypeEnum'][_0x3f4f92(0x30b)]){let _0x55f827=this[_0x3f4f92(0x496)][_0x3f4f92(0x286)](_0x1b0a43[_0x3f4f92(0x26d)],_0x1b0a43[_0x3f4f92(0x114)],_0x1b0a43['drawingId']);if(_0x55f827&&(0x0,_0x756c25[_0x3f4f92(0x4c9)])(_0x55f827['getShapeType']())){this[_0x3f4f92(0x1dc)]=_0x1b0a43['drawingId'],this['_unitId']=_0x1b0a43[_0x3f4f92(0x26d)],this[_0x3f4f92(0x34e)]=_0x1b0a43[_0x3f4f92(0x114)],this['_clearShapeConnectorHandlerObjects'](),this[_0x3f4f92(0x2a2)]();return;}}}this[_0x3f4f92(0x1dc)]=void 0x0,this[_0x3f4f92(0x4f9)]=void 0x0,this[_0x3f4f92(0x34e)]=void 0x0,this[_0x3f4f92(0x35c)]();})),this['disposeWithMe'](this[_0x2a1342(0x479)][_0x2a1342(0x465)][_0x2a1342(0x3b2)](_0x4aa0be=>{const _0x4ad745=_0x2a1342;if(_0x4aa0be[_0x4ad745(0x40e)]===0x1){var _0x385099;let _0x5125b6=_0x4aa0be[0x0],_0x598bbe=(_0x385099=this['_drawingManagerService'][_0x4ad745(0x4f0)](_0x5125b6))==null?void 0x0:_0x385099[_0x4ad745(0x1f2)];_0x598bbe===_0x3d2575[_0x4ad745(0x2d2)]['DRAWING_SHAPE']&&_0x5125b6[_0x4ad745(0x17d)]===this[_0x4ad745(0x1dc)]?(this[_0x4ad745(0x35c)](),this[_0x4ad745(0x2a2)]()):!this['_activeShapeId']&&_0x598bbe===_0x3d2575[_0x4ad745(0x2d2)][_0x4ad745(0x30b)]&&this[_0x4ad745(0x429)](_0x5125b6[_0x4ad745(0x26d)],_0x5125b6['subUnitId'],_0x5125b6[_0x4ad745(0x17d)]);}})),this[_0x2a1342(0x275)](this['_drawingManagerService'][_0x2a1342(0x348)][_0x2a1342(0x3b2)](_0x5c4b51=>{const _0x1b0242=_0x2a1342;for(let _0x57ebdb of _0x5c4b51){let {drawingId:_0x3c5c83}=_0x57ebdb;if(this[_0x1b0242(0x1dc)]===_0x3c5c83){this[_0x1b0242(0x421)]();return;}}}));}[_0x1bb2bd(0x495)](_0x126ae9,_0x271cec,_0x10c051,_0x30fef7,_0x403988){const _0x454bdc=_0x1bb2bd;var _0x3fd0c7;if(!this[_0x454bdc(0x1ca)])return;let _0x35386b=this[_0x454bdc(0x132)](_0x126ae9);if(!_0x35386b)return;let _0x4600ef=this[_0x454bdc(0x152)]?this['_currentConnectionTarget'][_0x454bdc(0x3f0)]:_0x271cec,_0x290923=this[_0x454bdc(0x152)]?this[_0x454bdc(0x152)]['angle']:this[_0x454bdc(0x314)](_0x35386b['point'],_0x4600ef),_0x1b0bb8;if(this[_0x454bdc(0x152)]){let _0x5ae687=this[_0x454bdc(0x479)][_0x454bdc(0x4f0)]({'unitId':this['_currentConnectionTarget'][_0x454bdc(0x26d)],'subUnitId':this[_0x454bdc(0x152)][_0x454bdc(0x114)],'drawingId':this[_0x454bdc(0x152)][_0x454bdc(0x4dd)]});if(_0x5ae687!=null&&_0x5ae687[_0x454bdc(0x3e4)]){let {left:_0x2523a8=0x0,top:_0x1a733d=0x0,width:_0x25bfba=0x0,height:_0xfecc96=0x0,angle:_0x12e4fc}=_0x5ae687[_0x454bdc(0x3e4)];_0x1b0bb8=(0x0,_0x756c25[_0x454bdc(0x1eb)])({'left':_0x2523a8,'top':_0x1a733d,'width':_0x25bfba,'height':_0xfecc96},_0x12e4fc||0x0);}else _0x1b0bb8={'left':_0x4600ef['x'],'top':_0x4600ef['y'],'width':0x0,'height':0x0};}else _0x1b0bb8={'left':_0x4600ef['x'],'top':_0x4600ef['y'],'width':0x0,'height':0x0};let _0x5dee94={'point':_0x4600ef,'angle':_0x290923,'bounds':_0x1b0bb8},_0xd8adf5=_0x10c051?_0x5dee94:_0x35386b,_0x22b31b=_0x10c051?_0x35386b:_0x5dee94,_0x249db0=this['_activeShapeModel'][_0x454bdc(0x441)](),_0xdc4628=(0x0,_0x756c25['routeConnectorLineShape'])(_0xd8adf5,_0x22b31b,_0x249db0);_0xdc4628&&this[_0x454bdc(0x1ca)]['updateLinePoints'](_0xdc4628);let _0x12d497=(0x0,_0x756c25[_0x454bdc(0x2c0)])(_0xdc4628,_0x249db0);_0x12d497['lineType']!==_0x249db0&&this['_activeShapeModel'][_0x454bdc(0x4a6)](_0x12d497[_0x454bdc(0x131)]);for(let [_0x5193a4,_0x312934]of Object[_0x454bdc(0x334)](_0x12d497[_0x454bdc(0x1bf)]))this['_activeShapeModel'][_0x454bdc(0x2ee)](_0x5193a4,_0x312934);this[_0x454bdc(0x1ca)][_0x454bdc(0x210)]({'width':_0x12d497[_0x454bdc(0x4e2)][_0x454bdc(0x181)],'height':_0x12d497['worldRect'][_0x454bdc(0x1db)]}),_0x30fef7['transformByState']({'flipX':_0x12d497[_0x454bdc(0x4e2)]['flipX'],'flipY':_0x12d497[_0x454bdc(0x4e2)][_0x454bdc(0x3cf)],'left':_0x12d497[_0x454bdc(0x4e2)][_0x454bdc(0x20a)],'top':_0x12d497[_0x454bdc(0x4e2)][_0x454bdc(0x49c)],'width':_0x12d497[_0x454bdc(0x4e2)][_0x454bdc(0x181)],'height':_0x12d497['worldRect'][_0x454bdc(0x1db)],'angle':_0x12d497[_0x454bdc(0x224)]}),_0x30fef7[_0x454bdc(0x4a5)](!0x0);let _0x1c09d9=((_0x3fd0c7=this['_currentConnectionTarget'])==null?void 0x0:_0x3fd0c7[_0x454bdc(0x3f0)])??_0x271cec;_0x403988[_0x454bdc(0x2e5)]({'left':_0x1c09d9['x']-_0x756c25[_0x454bdc(0x3ba)]['cxnPointRadius'],'top':_0x1c09d9['y']-_0x756c25[_0x454bdc(0x3ba)][_0x454bdc(0x19f)]});}[_0x1bb2bd(0x3e3)](_0x30830c,_0x55c9be,_0x3a0198,_0x561b26,_0x4f9a72){const _0x1bddab=_0x1bb2bd;var _0x5aa396,_0x1bfa61;let _0x1c5b1b=((_0x5aa396=this[_0x1bddab(0x152)])==null?void 0x0:_0x5aa396['worldPoint'])??_0x30830c,_0x24219e=_0x756c25[_0x1bddab(0x1b9)]['computeConnectorResizeLayout'](_0x55c9be,_0x1c5b1b,_0x3a0198);_0x561b26['transformByState']({'flipX':_0x24219e[_0x1bddab(0x4e2)][_0x1bddab(0x115)],'flipY':_0x24219e[_0x1bddab(0x4e2)][_0x1bddab(0x3cf)],'left':_0x24219e[_0x1bddab(0x4e2)][_0x1bddab(0x20a)],'top':_0x24219e[_0x1bddab(0x4e2)][_0x1bddab(0x49c)],'width':_0x24219e['worldRect']['width'],'height':_0x24219e[_0x1bddab(0x4e2)][_0x1bddab(0x1db)],'angle':_0x24219e['worldRect'][_0x1bddab(0x3c9)]});let _0x3796a6=((_0x1bfa61=this['_currentConnectionTarget'])==null?void 0x0:_0x1bfa61[_0x1bddab(0x3f0)])??_0x30830c;_0x4f9a72['transformByState']({'left':_0x3796a6['x']-_0x756c25[_0x1bddab(0x3ba)][_0x1bddab(0x19f)],'top':_0x3796a6['y']-_0x756c25[_0x1bddab(0x3ba)][_0x1bddab(0x19f)]});}[_0x1bb2bd(0x132)](_0x507c55){const _0x1a398b=_0x1bb2bd;if(!this[_0x1a398b(0x4f9)]||!this['_subUnitId'])return null;let {shapeId:_0xb34a62,cxnIndex:_0x1c61a1}=_0x507c55,_0x27b433=this[_0x1a398b(0x496)][_0x1a398b(0x286)](this[_0x1a398b(0x4f9)],this[_0x1a398b(0x34e)],_0xb34a62);if(!_0x27b433)return null;let _0x432ec0=this[_0x1a398b(0x479)][_0x1a398b(0x4f0)]({'unitId':this[_0x1a398b(0x4f9)],'subUnitId':this[_0x1a398b(0x34e)],'drawingId':_0xb34a62});if(!(_0x432ec0!=null&&_0x432ec0[_0x1a398b(0x3e4)]))return null;let {left:_0x1d2823=0x0,top:_0x37c831=0x0,width:_0x48c7db=0x0,height:_0x253816=0x0,flipX:_0x18be12=!0x1,flipY:_0x57eeea=!0x1,angle:_0x2dcdec}=_0x432ec0[_0x1a398b(0x3e4)];_0x27b433['updateContext']({'width':_0x48c7db,'height':_0x253816});let _0x2da70a=_0x27b433[_0x1a398b(0x30e)]()[_0x1a398b(0x30a)](_0x410b91=>_0x410b91[_0x1a398b(0x19c)]===_0x1c61a1);if(!_0x2da70a)return null;let _0x51366f=_0x18be12?_0x48c7db-_0x2da70a['x']:_0x2da70a['x'],_0x57ce0a=_0x57eeea?_0x253816-_0x2da70a['y']:_0x2da70a['y'];if(_0x2dcdec!==0x0&&_0x2dcdec!=null){let _0x41b93f=_0x2dcdec*Math['PI']/0xb4,_0x2f89cb=Math[_0x1a398b(0x226)](_0x41b93f),_0x1d96b3=Math['sin'](_0x41b93f),_0x4b9413=_0x48c7db/0x2,_0x12b178=_0x253816/0x2,_0x5857eb=_0x51366f-_0x4b9413,_0x2cb79a=_0x57ce0a-_0x12b178;_0x51366f=_0x4b9413+_0x5857eb*_0x2f89cb-_0x2cb79a*_0x1d96b3,_0x57ce0a=_0x12b178+_0x5857eb*_0x1d96b3+_0x2cb79a*_0x2f89cb;}_0x51366f+=_0x1d2823,_0x57ce0a+=_0x37c831;let _0xe53d88=_0x2da70a['ang']/0xea60;_0x18be12&&(_0xe53d88=0xb4-_0xe53d88),_0x57eeea&&(_0xe53d88=-_0xe53d88),_0xe53d88+=_0x2dcdec||0x0,_0xe53d88=(_0xe53d88%0x168+0x168)%0x168;let _0x50a4af=(0x0,_0x756c25[_0x1a398b(0x1eb)])({'left':_0x1d2823,'top':_0x37c831,'width':_0x48c7db,'height':_0x253816},_0x2dcdec||0x0);return{'point':{'x':_0x51366f,'y':_0x57ce0a},'angle':_0xe53d88,'bounds':_0x50a4af};}[_0x1bb2bd(0x314)](_0x4a3798,_0x35fcdd){const _0x44b25b=_0x1bb2bd;let _0x4fad5d=_0x35fcdd['x']-_0x4a3798['x'],_0x96a9ed=_0x35fcdd['y']-_0x4a3798['y'];return Math[_0x44b25b(0x3b8)](_0x4fad5d)>=Math['abs'](_0x96a9ed)?_0x4fad5d>=0x0?0xb4:0x0:_0x96a9ed>=0x0?0x10e:0x5a;}[_0x1bb2bd(0x421)](){const _0x37999e=_0x1bb2bd;this[_0x37999e(0x1dc)]=void 0x0,this[_0x37999e(0x4f9)]=void 0x0,this[_0x37999e(0x34e)]=void 0x0,this[_0x37999e(0x35c)]();}[_0x1bb2bd(0x3cc)](){const _0x2c6378=_0x1bb2bd;this[_0x2c6378(0x35c)](),super[_0x2c6378(0x3cc)]();}};_0xf83a23=_0x4d7d62([_0x25f0d4(0x1,_0x3d2575[_0x1bb2bd(0x196)]),_0x25f0d4(0x2,_0x610ad8[_0x1bb2bd(0x1a3)]),_0x25f0d4(0x3,_0xf3cf76[_0x1bb2bd(0x2fe)]),_0x25f0d4(0x4,_0x3d2575[_0x1bb2bd(0x363)]),_0x25f0d4(0x5,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x111169[_0x1bb2bd(0x4d3)])),_0x25f0d4(0x6,(0x0,_0x3d2575['Inject'])(_0x3f0181)),_0x25f0d4(0x7,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x3ac682))],_0xf83a23);let _0x28f2f5=class extends _0x3d2575['Disposable']{constructor(_0x26efdb,_0x91032c,_0x51e475){const _0x506220=_0x1bb2bd;super(),this[_0x506220(0x2e9)]=_0x26efdb,this['_drawingManagerService']=_0x91032c,this[_0x506220(0x352)]=_0x51e475,this[_0x506220(0x3fd)]();}[_0x1bb2bd(0x3fd)](){const _0x395eb7=_0x1bb2bd;this[_0x395eb7(0x275)](this[_0x395eb7(0x2e9)][_0x395eb7(0x322)][_0x395eb7(0x401)](this[_0x395eb7(0x2e9)][_0x395eb7(0x322)][_0x395eb7(0x4df)]()[_0x395eb7(0x33f)],{'handler':(_0x38fd9c,_0x29b413,_0x31899a)=>{const _0x307270=_0x395eb7;var _0x29a833;let {unitId:_0x1925aa,subUnitId:_0x45528a,scene:_0x1708e5,resourceCollector:_0x785529}=_0x29b413,_0xea49b1=(_0x29a833=this[_0x307270(0x479)][_0x307270(0x158)](_0x1925aa))==null?void 0x0:_0x29a833[_0x45528a];return _0xea49b1==null||_0xea49b1[_0x307270(0x2b7)][_0x307270(0x307)](_0x58dd5e=>{const _0x2ef90a=_0x307270;let _0x25884c=_0xea49b1[_0x2ef90a(0x157)][_0x58dd5e];_0x25884c[_0x2ef90a(0x1f2)]===_0x3d2575['DrawingTypeEnum']['DRAWING_SHAPE']&&!_0x25884c[_0x2ef90a(0x300)]&&this['_shapeRenderController'][_0x2ef90a(0x39d)](_0x25884c,_0x1708e5,{'resourceCollector':_0x785529});}),_0x31899a(_0x38fd9c);}}));}};_0x28f2f5=_0x4d7d62([_0x25f0d4(0x0,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x542241['SheetPrintInterceptorService'])),_0x25f0d4(0x1,_0xf3cf76['IDrawingManagerService']),_0x25f0d4(0x2,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x34a6bf))],_0x28f2f5);let _0x4614ff=class extends _0x3d2575['Disposable']{constructor(_0x18eabf,_0x5ac99a,_0x181931){const _0x4132e8=_0x1bb2bd;super(),this[_0x4132e8(0x101)]=_0x18eabf,this['_localeService']=_0x5ac99a,this[_0x4132e8(0x16f)]=_0x181931,this[_0x4132e8(0x497)]();}[_0x1bb2bd(0x497)](){const _0x47eca5=_0x1bb2bd;this[_0x47eca5(0x275)](this[_0x47eca5(0x101)][_0x47eca5(0x2fd)](_0x2495cc=>{const _0x48a318=_0x47eca5;let _0x5999c0,_0x33d948;if(_0x2495cc['id']===_0x111169['InsertShapeCommand']['id']||_0x2495cc['id']===_0x111169['SetShapeDrawingDataCommand']['id']||_0x2495cc['id']===_0x111169['UpdateConnectorRelationCommand']['id']){let _0x402019=_0x2495cc[_0x48a318(0x4ad)];_0x5999c0=_0x402019['unitId'],_0x33d948=_0x402019[_0x48a318(0x114)];}_0x5999c0&&_0x33d948&&(this[_0x48a318(0x16f)][_0x48a318(0x3c6)]({'workbookTypes':[_0x306a90['WorkbookEditablePermission']],'worksheetTypes':[_0x306a90[_0x48a318(0x4b9)]]},_0x5999c0,_0x33d948)||this[_0x48a318(0x16f)]['blockExecuteWithoutPermission'](this[_0x48a318(0x122)]['t']('sheets-shape-ui.permission.editErr')));}));}};_0x4614ff=_0x4d7d62([_0x25f0d4(0x0,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x3d2575[_0x1bb2bd(0x196)])),_0x25f0d4(0x1,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x3d2575['LocaleService'])),_0x25f0d4(0x2,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x306a90[_0x1bb2bd(0x4c2)]))],_0x4614ff);let _0x438c32=class{constructor(_0x1b513a){const _0x969f67=_0x1bb2bd;this[_0x969f67(0x2ba)]=_0x1b513a;}[_0x1bb2bd(0x10e)](_0x1f6c70,_0x35c4ca){const _0x8ffecd=_0x1bb2bd;let _0x21a099=this['_renderManagerService']['getRenderUnitById'](_0x1f6c70['unitId']),_0x19fbdc=_0x21a099==null?void 0x0:_0x21a099[_0x8ffecd(0x179)];if(!_0x19fbdc)return;let _0x4739a4=(0x0,_0xf3cf76[_0x8ffecd(0x372)])(_0x1f6c70),_0x33b31e=_0x19fbdc[_0x8ffecd(0x195)](_0x4739a4);_0x33b31e==null||_0x33b31e[_0x8ffecd(0x437)](_0x35c4ca);}};_0x438c32=_0x4d7d62([_0x25f0d4(0x0,_0x610ad8[_0x1bb2bd(0x1a3)])],_0x438c32);let _0x271f1d=class extends _0x3d2575['Plugin']{constructor(_0x4add07=_0x19b925,_0x9a8d1c,_0x4c07ce,_0x57d412,_0x4af60e){const _0x528a12=_0x1bb2bd;super(),this[_0x528a12(0x491)]=_0x4add07,this[_0x528a12(0x49e)]=_0x9a8d1c,this['_commandService']=_0x4c07ce,this['_configService']=_0x57d412,this[_0x528a12(0x2ba)]=_0x4af60e;let {..._0x10617c}=(0x0,_0x3d2575[_0x528a12(0x462)])({},_0x19b925,this[_0x528a12(0x491)]);this['_configService']['setConfig'](_0x230154,_0x10617c),this[_0x528a12(0x1cf)]();}['onStarting'](){const _0x3be56c=_0x1bb2bd;this[_0x3be56c(0x49e)][_0x3be56c(0x358)]([_0x17e610]),this[_0x3be56c(0x49e)][_0x3be56c(0x107)](_0x17e610),(0x0,_0x3d2575['registerDependencies'])(this[_0x3be56c(0x49e)],[[_0x7a1081],[_0x550c2f],[_0x34a6bf],[_0x28f2f5],[_0x438c32],[_0x47b563],[_0x4a4b35],[_0xd84245],[_0x4614ff]]);}[_0x1bb2bd(0x4ab)](){const _0x1a3b77=_0x1bb2bd;(0x0,_0x3d2575['registerDependencies'])(this[_0x1a3b77(0x49e)],[[_0x3ac682],[_0x3f0181],[_0x4e2732]]),(0x0,_0x3d2575[_0x1a3b77(0x480)])(this[_0x1a3b77(0x49e)],[[_0x4e2732],[_0x3f0181]]),[[_0x3ac682],[_0x3c521c],[_0xf83a23],[_0x25d7a6]][_0x1a3b77(0x307)](_0x181881=>{const _0x5ec7c5=_0x1a3b77;this['disposeWithMe'](this[_0x5ec7c5(0x2ba)][_0x5ec7c5(0x469)](_0x3d2575[_0x5ec7c5(0x4f8)][_0x5ec7c5(0x245)],_0x181881));});}[_0x1bb2bd(0x1fb)](){const _0x3e315a=_0x1bb2bd;(0x0,_0x3d2575[_0x3e315a(0x480)])(this['_injector'],[[_0x7a1081],[_0x550c2f],[_0x34a6bf],[_0x28f2f5],[_0x438c32],[_0x47b563],[_0x4a4b35],[_0xd84245],[_0x4614ff]]);}[_0x1bb2bd(0x22e)](){const _0x382999=_0x1bb2bd;this[_0x382999(0x49e)][_0x382999(0x107)](_0x7a1081)[_0x382999(0x2aa)]();}['_initCommands'](){const _0x28fb19=_0x1bb2bd;[_0x5b3fe4,_0x28edce,_0x1798ea,_0x3c4530][_0x28fb19(0x307)](_0x512717=>this[_0x28fb19(0x275)](this[_0x28fb19(0x101)][_0x28fb19(0x1e6)](_0x512717)));}};_0x19f136(_0x271f1d,_0x1bb2bd(0x443),_0x3d2575[_0x1bb2bd(0x4f8)][_0x1bb2bd(0x245)]),_0x19f136(_0x271f1d,_0x1bb2bd(0x4b7),_0x1bb2bd(0x272)),_0x19f136(_0x271f1d,_0x1bb2bd(0x194),_0xb85a59),_0x19f136(_0x271f1d,_0x1bb2bd(0x1c9),_0x40799a),_0x271f1d=_0x4d7d62([(0x0,_0x3d2575[_0x1bb2bd(0x1a9)])(_0x477279[_0x1bb2bd(0x140)],_0x14cace[_0x1bb2bd(0x238)],_0xf3cf76[_0x1bb2bd(0x42a)],_0x610ad8['UniverRenderEnginePlugin'],_0x306a90[_0x1bb2bd(0x2e6)],_0xa851c1[_0x1bb2bd(0x2b2)],_0x20c5a7[_0x1bb2bd(0x406)],_0x41ad7c[_0x1bb2bd(0x4b8)],_0x51ad4c['UniverSheetsDrawingMobileUIPlugin'],_0x111169[_0x1bb2bd(0x464)],_0x542241['UniverSheetsMobileUIPlugin'],_0x583754[_0x1bb2bd(0x39c)],_0x1b3cd1['UniverMobileUIPlugin']),_0x25f0d4(0x1,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x3d2575[_0x1bb2bd(0x22d)])),_0x25f0d4(0x2,_0x3d2575[_0x1bb2bd(0x196)]),_0x25f0d4(0x3,_0x3d2575[_0x1bb2bd(0x176)]),_0x25f0d4(0x4,_0x610ad8[_0x1bb2bd(0x1a3)])],_0x271f1d);let _0x2c111e={'type':_0x3d2575['CommandType'][_0x1bb2bd(0x212)],'id':_0x1bb2bd(0x110),'handler'(){return!0x0;}};function _0x156107(){const _0x12f1e4=_0x1bb2bd;let _0x5a02bc=(0x0,_0x1b3cd1[_0x12f1e4(0x4bb)])(_0xf3cf76[_0x12f1e4(0x2fe)]),_0x488742=(0x0,_0x1b3cd1[_0x12f1e4(0x28f)])(()=>_0x5a02bc[_0x12f1e4(0x2c2)],_0x5a02bc['getFocusDrawings'](),!0x1,[_0x5a02bc]);return _0x488742[_0x12f1e4(0x40e)]===0x0?null:(0x0,_0x1fd74c['jsx'])(_0x12f1e4(0x145),{'children':(0x0,_0x1fd74c[_0x12f1e4(0x13a)])('div',{'className':'univer-box-border\x20univer-px-4\x20univer-text-sm','children':[(0x0,_0x1fd74c[_0x12f1e4(0x451)])(_0x2114cd[_0x12f1e4(0x488)],{'drawings':_0x488742,'hasCropper':!0x1}),(0x0,_0x1fd74c[_0x12f1e4(0x451)])(_0x51ad4c[_0x12f1e4(0x377)],{'drawings':_0x488742})]})});}function _0x450232(_0x4be86f){const _0x2b48e3=_0x1bb2bd;let {unitId:_0x53e5f6,subUnitId:_0x557d9e,shapeId:_0x4f8e0f}=_0x4be86f,_0x56eda6=(0x0,_0x1b3cd1[_0x2b48e3(0x4bb)])(_0x3d2575['ICommandService']),_0x2ba62e=(0x0,_0x1b3cd1['useDependency'])(_0x438c32);return(0x0,_0x1fd74c[_0x2b48e3(0x451)])(_0x583754['ShapeEditPanel'],{..._0x4be86f,'positionEditor':(0x0,_0x1fd74c[_0x2b48e3(0x451)])(_0x156107,{}),'onUpdateShapeData':(_0x2d326f,_0x58a46f)=>{_0x5c7f30(_0x56eda6,_0x53e5f6,_0x557d9e,_0x4f8e0f,_0x2d326f,_0x58a46f);},'onUpdateLineShapeData':(_0x3a7621,_0x2c48e0)=>{_0x500b09(_0x56eda6,_0x53e5f6,_0x557d9e,_0x4f8e0f,_0x3a7621,_0x2c48e0);},'onUpdateShapeFillImage':_0x3f5c68=>{const _0x3b336b=_0x2b48e3;_0x2ba62e[_0x3b336b(0x10e)]({'unitId':_0x53e5f6,'subUnitId':_0x557d9e,'drawingId':_0x4f8e0f},_0x3f5c68);}});}function _0x4a5369(_0x40a07f){const _0x219832=_0x1bb2bd;let _0x5d37d8=(0x0,_0x1b3cd1[_0x219832(0x4bb)])(_0x583754['ShapeFloatingToolbarService']),_0x2b667b=(0x0,_0x1b3cd1['useObservable'])(()=>_0x5d37d8[_0x219832(0x376)],_0x5d37d8[_0x219832(0x26f)](),!0x1,[_0x5d37d8]),_0x50e490=_0x40a07f[_0x219832(0x1c0)][_0x219832(0x21b)];return!_0x50e490||!_0x2b667b?null:(0x0,_0x1fd74c[_0x219832(0x451)])(_0x259047,{..._0x50e490,'canvasElement':_0x40a07f[_0x219832(0x1c0)][_0x219832(0x3e6)]});}function _0x259047(_0x52c685){const _0x51b0ab=_0x1bb2bd;let _0x1ce1bd=(0x0,_0x1b3cd1[_0x51b0ab(0x4bb)])(_0x3d2575[_0x51b0ab(0x196)]),_0x4de21d=(0x0,_0x1b3cd1[_0x51b0ab(0x4bb)])(_0x111169[_0x51b0ab(0x4d3)]),{unitId:_0x4fe357,subUnitId:_0x388094,drawingId:_0x31a72d,drawingType:_0x126c53,shapeType:_0x478932}=_0x52c685,[_0x5ec74b,_0xe7fdbd]=(0x0,_0x5335a7[_0x51b0ab(0x431)])(_0x52c685[_0x51b0ab(0x268)]),_0x3468b7=(0x0,_0x5335a7[_0x51b0ab(0x415)])(()=>(0x0,_0x583754[_0x51b0ab(0x225)])(_0x5ec74b),[_0x5ec74b]),_0x392f74=(0x0,_0x5335a7[_0x51b0ab(0x415)])(()=>(0x0,_0x583754['getTextModel'])(_0x5ec74b),[_0x5ec74b]);(0x0,_0x5335a7[_0x51b0ab(0x294)])(()=>{const _0xd30371=_0x51b0ab;let _0x2aa0b3=_0x1ce1bd[_0xd30371(0x2df)](_0x2e7c26=>{const _0x28be32=_0xd30371;if(_0x2e7c26['id']!==_0x111169[_0x28be32(0x1d6)]['id'])return;let _0x4e3fdc=_0x4de21d[_0x28be32(0x1f5)](_0x4fe357,_0x388094,_0x31a72d);_0x4e3fdc&&_0xe7fdbd(_0x4e3fdc);});return()=>_0x2aa0b3['dispose']();},[_0x1ce1bd,_0x31a72d,_0x4de21d,_0x388094,_0x4fe357]);let _0x51a0fe=_0x136d81=>{_0xe7fdbd(_0x59d03b=>({..._0x59d03b,..._0x136d81}));},_0xa15eff=_0x9553b2=>{const _0x39c002=_0x51b0ab;let _0x540bf3=(0x0,_0x583754[_0x39c002(0x23c)])(_0x5ec74b,_0x9553b2);_0x5c7f30(_0x1ce1bd,_0x4fe357,_0x388094,_0x31a72d,{'oldShapeData':{'shapeText':_0x5ec74b[_0x39c002(0x234)]}},_0x540bf3),_0x51a0fe(_0x540bf3);},_0xeb6e1a=(0x0,_0x583754[_0x51b0ab(0x42e)])({'hostType':_0x3d2575[_0x51b0ab(0x4f8)][_0x51b0ab(0x245)],'unitId':_0x4fe357,'subUnitId':_0x388094,'shapeId':_0x31a72d,'shapeData':_0x5ec74b,'onUpdateBinding':_0x5ac4b4=>{const _0xa2317d=_0x51b0ab;let _0x4a9fb3={'formulaBinding':_0x5ac4b4};_0x5c7f30(_0x1ce1bd,_0x4fe357,_0x388094,_0x31a72d,{'oldShapeData':{'formulaBinding':_0x5ec74b[_0xa2317d(0x103)]}},_0x4a9fb3),_0x51a0fe(_0x4a9fb3);}});return(0x0,_0x1fd74c[_0x51b0ab(0x13a)])(_0x1fd74c[_0x51b0ab(0x1e8)],{'children':[(0x0,_0x1fd74c['jsx'])(_0x583754[_0x51b0ab(0x201)],{'canvasElement':_0x52c685['canvasElement'],'shapeData':_0x5ec74b,'shapeType':_0x478932,'textStyle':{'ff':_0x756c25[_0x51b0ab(0x3ba)][_0x51b0ab(0x234)][_0x51b0ab(0x48e)],'fs':_0x756c25['ShapeDefaultConfig'][_0x51b0ab(0x234)][_0x51b0ab(0x478)],'cl':{'rgb':_0x756c25[_0x51b0ab(0x3ba)][_0x51b0ab(0x234)][_0x51b0ab(0x178)]},..._0x3468b7},'textModel':_0x392f74?{'ha':_0x392f74['ha']??_0x3d2575[_0x51b0ab(0x217)]['LEFT'],'va':_0x392f74['va']??_0x3d2575[_0x51b0ab(0x27d)]['TOP']}:null,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x756c25[_0x51b0ab(0x3ba)][_0x51b0ab(0x266)],'defaultGradientEndColor':_0x756c25[_0x51b0ab(0x3ba)][_0x51b0ab(0x295)],'defaultStrokeColor':_0x756c25[_0x51b0ab(0x3ba)][_0x51b0ab(0x4e8)],'extensionGroups':_0xeb6e1a['extensionGroups'],'floatingObjectToolbarPosition':_0x1b3cd1[_0x51b0ab(0x36a)][_0x51b0ab(0x167)],'onUpdateShapeData':(_0x540bbd,_0x4d4b37)=>{_0x5c7f30(_0x1ce1bd,_0x4fe357,_0x388094,_0x31a72d,_0x540bbd,_0x4d4b37),_0x4d4b37&&_0x51a0fe(_0x4d4b37);},'onUpdateText':_0xa15eff,'onOpenPanel':()=>{const _0x5afb60=_0x51b0ab;_0x1ce1bd[_0x5afb60(0x24d)](_0x3c6df3['id'],{'unitId':_0x4fe357,'subUnitId':_0x388094,'drawingId':_0x31a72d});},'onDelete':()=>{const _0x3c639c=_0x51b0ab;_0x1ce1bd[_0x3c639c(0x24d)](_0x20c5a7['RemoveSheetDrawingCommand']['id'],{'unitId':_0x4fe357,'drawings':[{'unitId':_0x4fe357,'subUnitId':_0x388094,'drawingId':_0x31a72d,'drawingType':_0x126c53}]});}}),_0xeb6e1a['panel']]});}function _0x278664(_0xf20be9){const _0xa09c52=_0x1bb2bd;return!!_0xf20be9&&'axisAlignSheetTransform'in _0xf20be9&&_0xa09c52(0x492)in _0xf20be9;}let _0x4cee40=(0x0,_0x5335a7['memo'])(()=>{const _0x49ecfe=_0x1bb2bd;let _0x5a24a9=(0x0,_0x1b3cd1[_0x49ecfe(0x4bb)])(_0x47b563),_0xc3b2f6=(0x0,_0x1b3cd1[_0x49ecfe(0x4bb)])(_0x111169['SheetsShapeService']),_0x1d5130=(0x0,_0x1b3cd1[_0x49ecfe(0x4bb)])(_0xf3cf76['IDrawingManagerService']),_0x4720b3=(0x0,_0x1b3cd1['useDependency'])(_0x3d2575[_0x49ecfe(0x196)]),_0x5288f0=(0x0,_0x1b3cd1[_0x49ecfe(0x4bb)])(_0x1b3cd1['UndoRedoGroupService']),_0x4bd2d1=(0x0,_0x1b3cd1[_0x49ecfe(0x4bb)])(_0x610ad8[_0x49ecfe(0x1a3)]),_0x3fab45=(0x0,_0x5335a7[_0x49ecfe(0x415)])(()=>({'getShapeModel':(_0x16733a,_0x53a97d,_0x249c9a)=>_0xc3b2f6['getShapeModel'](_0x16733a,_0x53a97d,_0x249c9a),'getShapeData':(_0x26c92e,_0x16157e,_0xb626a2)=>_0xc3b2f6[_0x49ecfe(0x1f5)](_0x26c92e,_0x16157e,_0xb626a2),'getDrawingTransform':(_0x1360c3,_0x416f10,_0x4be1c3)=>{const _0x3ecc57=_0x49ecfe;let _0x15d2d3=_0x1d5130['getDrawingByParam']({'unitId':_0x1360c3,'subUnitId':_0x416f10,'drawingId':_0x4be1c3});return _0x15d2d3==null?void 0x0:_0x15d2d3[_0x3ecc57(0x3e4)];},'updateShapeText':({unitId:_0x554da4,subUnitId:_0x3827f7,shapeId:_0xf29be5,shapeText:_0x181de3,oldShapeText:_0x5a46b9,hostSize:_0x4a04f4})=>{const _0x2e0c0a=_0x49ecfe;_0x5288f0[_0x2e0c0a(0x192)](_0x554da4,()=>{const _0x5942ce=_0x2e0c0a;var _0x3e3a56;let _0xfa3401=_0x4720b3[_0x5942ce(0x2ca)](_0x28edce['id'],{'unitId':_0x554da4,'subUnitId':_0x3827f7,'shapeId':_0xf29be5,'shapeData':{'shapeText':_0x181de3},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x5a46b9}}});if(!_0xfa3401||!_0x4a04f4)return _0xfa3401;let _0x4533d2=_0x1d5130['getDrawingByParam']({'unitId':_0x554da4,'subUnitId':_0x3827f7,'drawingId':_0xf29be5}),_0x4144de=_0x4533d2==null?void 0x0:_0x4533d2['transform'];if(!_0x278664(_0x4533d2)||!_0x4144de)return!0x1;let _0x30d68c={..._0x4144de,'width':_0x4a04f4[_0x5942ce(0x181)],'height':_0x4a04f4[_0x5942ce(0x1db)]},_0x2500c6=(_0x3e3a56=_0x4bd2d1[_0x5942ce(0x40c)](_0x554da4))==null||(_0x3e3a56=_0x3e3a56['with'](_0x542241[_0x5942ce(0x15f)])[_0x5942ce(0x38d)](_0x3827f7))==null?void 0x0:_0x3e3a56[_0x5942ce(0x4be)];return _0x4720b3['syncExecuteCommand'](_0x20c5a7[_0x5942ce(0x40b)]['id'],{'unitId':_0x554da4,'drawings':[{..._0x4533d2,'transform':_0x30d68c,'sheetTransform':_0x2500c6?(0x0,_0x20c5a7[_0x5942ce(0x456)])(_0x30d68c,_0x2500c6)??_0x4533d2[_0x5942ce(0x492)]:_0x4533d2['sheetTransform'],'axisAlignSheetTransform':_0x2500c6?(0x0,_0x20c5a7[_0x5942ce(0x3a0)])(_0x30d68c,_0x2500c6)??_0x4533d2[_0x5942ce(0x1d3)]:_0x4533d2['axisAlignSheetTransform']}]});});},'updateHostSize':({unitId:_0x4e921e,subUnitId:_0x11c58b,shapeId:_0x44720b,width:_0x10a3b6,height:_0x354c09})=>{const _0x1b50b7=_0x49ecfe;var _0x3dce4a;let _0x5ca7dd=_0x1d5130[_0x1b50b7(0x4f0)]({'unitId':_0x4e921e,'subUnitId':_0x11c58b,'drawingId':_0x44720b}),_0x36d482=_0x5ca7dd==null?void 0x0:_0x5ca7dd[_0x1b50b7(0x3e4)];if(!_0x278664(_0x5ca7dd)||!_0x36d482)return;let _0x1685fe={..._0x36d482,'width':_0x10a3b6,'height':_0x354c09},_0x23892f=(_0x3dce4a=_0x4bd2d1['getRenderUnitById'](_0x4e921e))==null||(_0x3dce4a=_0x3dce4a[_0x1b50b7(0x10a)](_0x542241['SheetSkeletonManagerService'])[_0x1b50b7(0x38d)](_0x11c58b))==null?void 0x0:_0x3dce4a[_0x1b50b7(0x4be)],_0x301dd3=_0x23892f?(0x0,_0x20c5a7[_0x1b50b7(0x456)])(_0x1685fe,_0x23892f)??_0x5ca7dd[_0x1b50b7(0x492)]:_0x5ca7dd[_0x1b50b7(0x492)],_0x1daeb6=_0x23892f?(0x0,_0x20c5a7[_0x1b50b7(0x3a0)])(_0x1685fe,_0x23892f)??_0x5ca7dd[_0x1b50b7(0x1d3)]:_0x5ca7dd[_0x1b50b7(0x1d3)];_0x4720b3[_0x1b50b7(0x24d)](_0x20c5a7[_0x1b50b7(0x40b)]['id'],{'unitId':_0x4e921e,'drawings':[{..._0x5ca7dd,'transform':_0x1685fe,'sheetTransform':_0x301dd3,'axisAlignSheetTransform':_0x1daeb6}]});},'allowHostSizeShrink':({unitId:_0x16213e,subUnitId:_0x5700d6,shapeId:_0x37a7f3})=>(0x0,_0x583754[_0x49ecfe(0x2bb)])(_0xc3b2f6[_0x49ecfe(0x1f5)](_0x16213e,_0x5700d6,_0x37a7f3)),'deferHostSizeUpdateDuringEditing':()=>!0x0}),[_0x4720b3,_0x1d5130,_0x4bd2d1,_0xc3b2f6,_0x5288f0]),_0x21788a=(0x0,_0x5335a7[_0x49ecfe(0x415)])(()=>({'viewportKeys':{'main':_0x610ad8[_0x49ecfe(0x2d7)]['VIEW_MAIN'],'leftTop':_0x610ad8[_0x49ecfe(0x2d7)]['VIEW_MAIN_LEFT_TOP'],'top':_0x610ad8['SHEET_VIEWPORT_KEY'][_0x49ecfe(0x1d4)],'left':_0x610ad8[_0x49ecfe(0x2d7)][_0x49ecfe(0x12d)]},'getSkeleton':(_0x240865,_0x1f4eb3)=>{const _0x3d80c9=_0x49ecfe;var _0x1018ba;return((_0x1018ba=_0x240865[_0x3d80c9(0x10a)](_0x542241['SheetSkeletonManagerService'])[_0x3d80c9(0x38d)](_0x1f4eb3[_0x3d80c9(0x114)]))==null?void 0x0:_0x1018ba[_0x3d80c9(0x4be)])??null;}}),[]);return(0x0,_0x1fd74c[_0x49ecfe(0x451)])(_0x583754[_0x49ecfe(0x3ac)],{'adapter':_0x3fab45,'editingService':_0x5a24a9,'editorUnitId':_0x37cb6a,'positionOptions':_0x21788a});}),_0x5dbe2c=class extends _0x3d2575[_0x1bb2bd(0x463)]{constructor(_0x1230b6,_0x4edb4a){const _0x1ae447=_0x1bb2bd;super(),this[_0x1ae447(0x2f8)]=_0x1230b6,this[_0x1ae447(0x1fd)]=_0x4edb4a,this[_0x1ae447(0x362)](),this[_0x1ae447(0x317)]();}[_0x1bb2bd(0x362)](){const _0x35d59f=_0x1bb2bd;this[_0x35d59f(0x1fd)]['has'](_0x35d59f(0x343))||this[_0x35d59f(0x275)](this['_iconManager'][_0x35d59f(0x232)]({'ObjectLayersIcon':_0xdbe423})),this['_iconManager'][_0x35d59f(0x22c)]('FlipHorizontalIcon')||this['disposeWithMe'](this[_0x35d59f(0x1fd)][_0x35d59f(0x232)]({'FlipHorizontalIcon':_0x35fab2})),this[_0x35d59f(0x1fd)][_0x35d59f(0x22c)](_0x35d59f(0x144))||this['disposeWithMe'](this[_0x35d59f(0x1fd)][_0x35d59f(0x232)]({'FlipVerticalIcon':_0x52fe81})),this['_iconManager'][_0x35d59f(0x22c)]('BottomIcon')||this[_0x35d59f(0x275)](this[_0x35d59f(0x1fd)]['register']({'BottomIcon':_0x470652})),this[_0x35d59f(0x1fd)]['has']('MoveDownIcon')||this['disposeWithMe'](this[_0x35d59f(0x1fd)][_0x35d59f(0x232)]({'MoveDownIcon':_0x435f4c})),this[_0x35d59f(0x1fd)][_0x35d59f(0x22c)](_0x35d59f(0x490))||this[_0x35d59f(0x275)](this[_0x35d59f(0x1fd)][_0x35d59f(0x232)]({'MoveUpIcon':_0x524c1b})),this['_iconManager']['has'](_0x35d59f(0x17c))||this['disposeWithMe'](this['_iconManager']['register']({'ShapeFormatSettingIcon':_0x96e2b1})),this[_0x35d59f(0x1fd)]['has'](_0x35d59f(0x2ec))||this[_0x35d59f(0x275)](this[_0x35d59f(0x1fd)][_0x35d59f(0x232)]({'TopmostIcon':_0x49b7d3}));}[_0x1bb2bd(0x317)](){const _0x499f6f=_0x1bb2bd;this[_0x499f6f(0x275)](this['_componentManager'][_0x499f6f(0x232)](_0x326d15,_0x450232)),this['disposeWithMe'](this[_0x499f6f(0x2f8)]['register'](_0x10e550,_0x264bc1)),this[_0x499f6f(0x275)](this['_componentManager']['register'](_0x47cd2f,_0x2e8109)),this[_0x499f6f(0x275)](this[_0x499f6f(0x2f8)][_0x499f6f(0x232)](_0x45262e,_0x280cd7)),this[_0x499f6f(0x2f8)][_0x499f6f(0x229)](_0x2114cd[_0x499f6f(0x257)])||this[_0x499f6f(0x275)](this['_componentManager'][_0x499f6f(0x232)](_0x2114cd['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'],_0x2c0838)),this[_0x499f6f(0x275)](this[_0x499f6f(0x2f8)][_0x499f6f(0x232)](_0x2c0ba8,_0x4a5369)),this[_0x499f6f(0x275)](this[_0x499f6f(0x2f8)]['register'](_0x238dee,_0x32fb78)),this[_0x499f6f(0x275)](this['_componentManager']['register'](_0xab61b7,_0x3157e2)),this[_0x499f6f(0x275)](this[_0x499f6f(0x2f8)]['register'](_0x220c17,_0x43a566)),this[_0x499f6f(0x275)](this[_0x499f6f(0x2f8)]['register'](_0x1bccbb,_0x41076a)),this[_0x499f6f(0x275)](this[_0x499f6f(0x2f8)][_0x499f6f(0x232)](_0x26229f,_0x583754[_0x499f6f(0x3d8)])),this[_0x499f6f(0x275)](this[_0x499f6f(0x2f8)][_0x499f6f(0x232)](_0x499f6f(0x410),_0x4cee40));}};_0x5dbe2c=_0x4d7d62([_0x25f0d4(0x0,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x1b3cd1['ComponentManager'])),_0x25f0d4(0x1,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x1b3cd1['IconManager']))],_0x5dbe2c);let _0x1c4a0e=class extends _0x3d2575[_0x1bb2bd(0x463)]{constructor(_0x1f2be4,_0xd99b9b,_0x5c459c,_0x47c0a6,_0x378636,_0x39fa7f,_0x338e30,_0x21a1ba,_0x26b10c){const _0x20baa7=_0x1bb2bd;super();let _0x5b9b48=_0x31ee94=>{const _0x380896=_0x413c;var _0x3470f2,_0xca66e2;return(((_0x3470f2=_0x21a1ba['getPermissionPoint'](new _0x306a90[(_0x380896(0x4f7))](_0x31ee94['unitId'])['id']))==null?void 0x0:_0x3470f2[_0x380896(0x18a)])??!0x0)&&(((_0xca66e2=_0x21a1ba[_0x380896(0x450)](new _0x306a90['WorksheetEditPermission'](_0x31ee94['unitId'],_0x31ee94['subUnitId'])['id']))==null?void 0x0:_0xca66e2[_0x380896(0x18a)])??!0x0);},_0x5a7721=_0x45bc8d=>_0x45bc8d[_0x20baa7(0x4dd)]&&_0x5b9b48(_0x45bc8d)?_0x5c459c[_0x20baa7(0x1f5)](_0x45bc8d[_0x20baa7(0x26d)],_0x45bc8d[_0x20baa7(0x114)],_0x45bc8d[_0x20baa7(0x4dd)])??null:null,_0x9f5c9f=()=>{const _0x908657=_0x20baa7;let _0x1eeee8=_0x378636[_0x908657(0x337)](),_0x3bd0b4=_0x1eeee8[_0x908657(0x40e)]===0x1?_0x1eeee8[0x0]:null;return(_0x3bd0b4==null?void 0x0:_0x3bd0b4['drawingType'])===_0x3d2575['DrawingTypeEnum']['DRAWING_SHAPE']&&_0x3bd0b4[_0x908657(0x26d)]===_0x1f2be4[_0x908657(0x26d)]?{'unitId':_0x3bd0b4['unitId'],'subUnitId':_0x3bd0b4['subUnitId'],'shapeId':_0x3bd0b4[_0x908657(0x17d)]}:null;};this[_0x20baa7(0x275)]((0x0,_0x583754[_0x20baa7(0x3f7)])(_0x1f2be4,_0xd99b9b,{'changes$':(0x0,_0x133625[_0x20baa7(0x462)])(_0x378636[_0x20baa7(0x2c2)],_0x47c0a6[_0x20baa7(0x3d4)],_0x21a1ba[_0x20baa7(0x399)]),'isActive':()=>{const _0x1e8792=_0x20baa7;var _0x4be223;return((_0x4be223=_0x39fa7f[_0x1e8792(0x446)]())==null?void 0x0:_0x4be223['getUnitId']())===_0x1f2be4[_0x1e8792(0x26d)]&&!_0x338e30[_0x1e8792(0x4cb)](_0x3d2575[_0x1e8792(0x44a)])&&_0x378636[_0x1e8792(0x337)]()[_0x1e8792(0x1f9)](_0x41041c=>_0x41041c[_0x1e8792(0x26d)]===_0x1f2be4[_0x1e8792(0x26d)]);},'getSelectedTarget':_0x9f5c9f,'getSource':()=>{let _0x1d5ded=_0x9f5c9f();return _0x1d5ded?_0x5a7721(_0x1d5ded):null;},'getTarget':_0x207001=>{const _0x2639a2=_0x20baa7;let _0x15f492=_0x1f2be4[_0x2639a2(0x179)][_0x2639a2(0x121)](new _0x610ad8[(_0x2639a2(0x330))](_0x207001[_0x2639a2(0x165)],_0x207001[_0x2639a2(0x10f)]));if(!(_0x15f492 instanceof _0x28ba5a))return null;let _0x56744f={'unitId':_0x1f2be4[_0x2639a2(0x26d)],'subUnitId':_0x15f492['subUnitId'],'shapeId':_0x15f492['shapeId']};return _0x5b9b48(_0x56744f)?_0x56744f:null;},'getShape':_0x5a7721,'update':(_0x3b51e1,_0x46144c,_0x206f08)=>_0x26b10c[_0x20baa7(0x24d)](_0x28edce['id'],{..._0x3b51e1,'shapeData':_0x206f08,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x46144c}})}));}};_0x1c4a0e=_0x4d7d62([_0x25f0d4(0x1,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x1b3cd1[_0x1bb2bd(0x475)])),_0x25f0d4(0x2,(0x0,_0x3d2575['Inject'])(_0x111169[_0x1bb2bd(0x4d3)])),_0x25f0d4(0x3,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x47b563)),_0x25f0d4(0x4,_0xf3cf76[_0x1bb2bd(0x2fe)]),_0x25f0d4(0x5,_0x3d2575['IUniverInstanceService']),_0x25f0d4(0x6,_0x3d2575[_0x1bb2bd(0x1e1)]),_0x25f0d4(0x7,_0x3d2575[_0x1bb2bd(0x1a5)]),_0x25f0d4(0x8,_0x3d2575[_0x1bb2bd(0x196)])],_0x1c4a0e);let _0x308c68=_0x1bb2bd(0x336),_0x17bdd5=class extends _0x3d2575[_0x1bb2bd(0x463)]{constructor(_0x4ba0a5,_0x3b5bfc,_0x2c80e1,_0x34b073,_0x4295c8,_0x168bef){const _0x4d9d44=_0x1bb2bd;super(),this[_0x4d9d44(0x39e)]=_0x4ba0a5,this['_ribbonService']=_0x3b5bfc,this[_0x4d9d44(0x479)]=_0x2c80e1,this[_0x4d9d44(0x3da)]=_0x34b073,this[_0x4d9d44(0x2ba)]=_0x4295c8,this[_0x4d9d44(0x15b)]=_0x168bef,_0x19f136(this,_0x4d9d44(0x2d1),!0x1),this[_0x4d9d44(0x39e)][_0x4d9d44(0x171)](_0xa4546b),this['disposeWithMe']((0x0,_0x3d2575['toDisposable'])(this[_0x4d9d44(0x479)][_0x4d9d44(0x2c2)][_0x4d9d44(0x3b2)](()=>this[_0x4d9d44(0x449)]()))),this['_update']();}[_0x1bb2bd(0x3cc)](){const _0x20f9db=_0x1bb2bd;this[_0x20f9db(0x15b)][_0x20f9db(0x2e7)](!0x1,_0x308c68),this[_0x20f9db(0x35a)](),super[_0x20f9db(0x3cc)]();}[_0x1bb2bd(0x449)](){const _0x344b92=_0x1bb2bd;var _0x11f212;let _0x23b7a8=this[_0x344b92(0x479)][_0x344b92(0x337)](),_0xc72b0a=_0x23b7a8[_0x344b92(0x40e)]===0x1?_0x23b7a8[0x0]:void 0x0;if((_0xc72b0a==null?void 0x0:_0xc72b0a[_0x344b92(0x1f2)])!==_0x3d2575['DrawingTypeEnum'][_0x344b92(0x30b)]||this['_univerInstanceService'][_0x344b92(0x28c)](_0xc72b0a[_0x344b92(0x26d)])!==_0x3d2575[_0x344b92(0x4f8)][_0x344b92(0x245)]){this[_0x344b92(0x15b)][_0x344b92(0x2e7)](!0x1,_0x308c68),this[_0x344b92(0x35a)]();return;}let _0x4a3755=(_0x11f212=this['_renderManagerService'][_0x344b92(0x40c)](_0xc72b0a[_0x344b92(0x26d)]))==null?void 0x0:_0x11f212[_0x344b92(0x43c)]['getCanvasElement'](),_0x3dac4b=(0x0,_0x583754[_0x344b92(0x16c)])(_0x4a3755)===_0x344b92(0x44d);this[_0x344b92(0x15b)]['setFallbackVisible'](_0x3dac4b,_0x308c68),_0x3dac4b?this['_hide']():this[_0x344b92(0x2d1)]||(this[_0x344b92(0x2d1)]=!0x0,this[_0x344b92(0x127)]['showContextualTab'](_0x262faa,{'activate':!0x0}));}[_0x1bb2bd(0x35a)](){const _0x32b9d7=_0x1bb2bd;this[_0x32b9d7(0x2d1)]&&(this[_0x32b9d7(0x2d1)]=!0x1,this[_0x32b9d7(0x127)][_0x32b9d7(0x457)](_0x262faa),this[_0x32b9d7(0x127)][_0x32b9d7(0x21a)]([]));}};_0x17bdd5=_0x4d7d62([_0x25f0d4(0x0,_0x1b3cd1['IMenuManagerService']),_0x25f0d4(0x1,_0x1b3cd1[_0x1bb2bd(0x484)]),_0x25f0d4(0x2,_0xf3cf76[_0x1bb2bd(0x2fe)]),_0x25f0d4(0x3,_0x3d2575[_0x1bb2bd(0x363)]),_0x25f0d4(0x4,_0x610ad8[_0x1bb2bd(0x1a3)]),_0x25f0d4(0x5,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x583754[_0x1bb2bd(0x325)]))],_0x17bdd5);let _0x26a9bd=class extends _0x583754[_0x1bb2bd(0x422)]{constructor(_0x162888,_0x3be598,_0x5ae509,_0x155318,_0x3f077b,_0x310d6a,_0x313a2a,_0x5c0081,_0x468da3,_0x4b9cd4){super(_0x162888,_0x3be598,_0x5ae509,_0x155318,_0x3f077b,_0x310d6a,_0x313a2a,_0x5c0081,_0x468da3,_0x4b9cd4,{'componentKey':_0x26229f,'editorUnitId':_0x37cb6a});}};_0x26a9bd=_0x4d7d62([_0x25f0d4(0x1,(0x0,_0x3d2575['Inject'])(_0x14cace[_0x1bb2bd(0x1bd)])),_0x25f0d4(0x2,(0x0,_0x3d2575['Inject'])(_0xa851c1[_0x1bb2bd(0x1aa)])),_0x25f0d4(0x3,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0xa851c1['DocSelectionRenderService'])),_0x25f0d4(0x4,_0x3d2575[_0x1bb2bd(0x196)]),_0x25f0d4(0x5,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0xa851c1['DocEventManagerService'])),_0x25f0d4(0x6,(0x0,_0x3d2575['Inject'])(_0x583754['ShapeTextHyperLinkPopupService'])),_0x25f0d4(0x7,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x14cace[_0x1bb2bd(0x3ea)])),_0x25f0d4(0x8,(0x0,_0x3d2575['Inject'])(_0xa851c1[_0x1bb2bd(0x1d2)])),_0x25f0d4(0x9,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x47b563))],_0x26a9bd);let _0x442744=class extends _0x583754[_0x1bb2bd(0x247)]{constructor(_0x115b6b,_0xdd39b7,_0x4d0c9d,_0x472b39,_0xac6dd5){const _0x4c1cc9=_0x1bb2bd;super(_0x115b6b,_0xdd39b7,{'editing$':_0x4d0c9d['editingParams$'],'resolve':_0x4906df=>{const _0x4e1f72=_0x413c;var _0x42f255,_0xdcd1f0,_0x321d23;let _0x19e45f=new _0x610ad8[(_0x4e1f72(0x330))](_0x4906df[_0x4e1f72(0x165)],_0x4906df[_0x4e1f72(0x10f)]),_0x4a10f0=((_0x42f255=_0x115b6b[_0x4e1f72(0x179)][_0x4e1f72(0x2be)](_0x19e45f))==null?void 0x0:_0x42f255['transformVector2SceneCoord'](_0x19e45f))??_0x19e45f,_0x6b2b5e=(0x0,_0x583754[_0x4e1f72(0x367)])(_0x115b6b[_0x4e1f72(0x179)][_0x4e1f72(0x121)](_0x19e45f)??null,_0x4a10f0);if(!(_0x6b2b5e instanceof _0x28ba5a))return null;let _0x37e568=_0x6b2b5e[_0x4e1f72(0x218)](_0x4a10f0);if(!_0x37e568)return null;let _0x585834=_0x6b2b5e,_0x44c9af={'componentKey':_0x583754[_0x4e1f72(0x18c)][_0x4e1f72(0x252)],'direction':_0x4e1f72(0x2cd),'offset':[0x0,0xa],'onClickOutside':()=>_0xdd39b7['hideInfoPopup']()};return{'object':_0x6b2b5e,'info':{..._0x37e568,'unitId':_0x6b2b5e[_0x4e1f72(0x26d)],'subUnitId':_0x6b2b5e[_0x4e1f72(0x114)],'shapeKey':_0x6b2b5e[_0x4e1f72(0x3ae)],'readonly':!0x0,'copyable':((_0xdcd1f0=_0xac6dd5['getPermissionPoint'](new _0x306a90['WorkbookCopyPermission'](_0x6b2b5e['unitId'])['id']))==null?void 0x0:_0xdcd1f0[_0x4e1f72(0x18a)])!==!0x1&&((_0x321d23=_0xac6dd5[_0x4e1f72(0x450)](new _0x306a90[(_0x4e1f72(0x302))](_0x6b2b5e[_0x4e1f72(0x26d)],_0x6b2b5e[_0x4e1f72(0x114)])['id']))==null?void 0x0:_0x321d23[_0x4e1f72(0x18a)])!==!0x1},'attachPopup':()=>_0x472b39['attachPopupToObject'](_0x585834,_0x44c9af)};}}),this[_0x4c1cc9(0x275)](_0x115b6b[_0x4c1cc9(0x23e)][_0x4c1cc9(0x404)][_0x4c1cc9(0x3b2)](()=>this['clear']()));}};_0x442744=_0x4d7d62([_0x25f0d4(0x1,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x583754[_0x1bb2bd(0x3d7)])),_0x25f0d4(0x2,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x47b563)),_0x25f0d4(0x3,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x542241['SheetCanvasPopManagerService'])),_0x25f0d4(0x4,_0x3d2575[_0x1bb2bd(0x1a5)])],_0x442744);let _0x54f0c1=class extends _0x3d2575['Disposable']{constructor(_0x1c85de,_0x421a75,_0x1b0bfb,_0x3e9547,_0x33d224,_0x5007df,_0x35724e,_0x5b32de,_0x11747e,_0x39341b,_0x5c6a4d){const _0xb76a40=_0x1bb2bd;super(),this[_0xb76a40(0x3da)]=_0x1c85de,this[_0xb76a40(0x44e)]=_0x421a75,this[_0xb76a40(0x39e)]=_0x1b0bfb,this[_0xb76a40(0x496)]=_0x3e9547,this[_0xb76a40(0x122)]=_0x33d224,this['_commandService']=_0x5007df,this[_0xb76a40(0x479)]=_0x35724e,this[_0xb76a40(0x3db)]=_0x5b32de,this[_0xb76a40(0x2ef)]=_0x11747e,this[_0xb76a40(0x2ba)]=_0x39341b,this['_shapeTextEditingService']=_0x5c6a4d,_0x19f136(this,_0xb76a40(0x2c8),null),_0x19f136(this,_0xb76a40(0x146),null),_0x19f136(this,_0xb76a40(0x3dc),!0x1),_0x19f136(this,_0xb76a40(0x1ad),0x0),_0x19f136(this,'_shapePopupMenuDisposable',null),_0x19f136(this,'_disposePopups',[]),this[_0xb76a40(0x28b)](),this[_0xb76a40(0x275)](this['_univerInstanceService']['getCurrentTypeOfUnit$'](_0x3d2575[_0xb76a40(0x4f8)][_0xb76a40(0x245)])[_0xb76a40(0x3b2)](_0x3a0fcf=>{const _0x43ebae=_0xb76a40;if(!_0x3a0fcf){var _0x51b5f3;(_0x51b5f3=this[_0x43ebae(0x2c8)])==null||_0x51b5f3[_0x43ebae(0x3cc)]();}})),this[_0xb76a40(0x11f)](),this['initShapePopupMenu'](),this[_0xb76a40(0x275)](this['_shapeTextEditingService'][_0xb76a40(0x3d4)][_0xb76a40(0x3b2)](_0x308c4a=>{const _0x3bb031=_0xb76a40;_0x308c4a&&this[_0x3bb031(0x46a)]();}));}['_initMenu'](){const _0x1c18d5=_0x1bb2bd;this[_0x1c18d5(0x39e)][_0x1c18d5(0x171)](_0xb0b3d3);}[_0x1bb2bd(0x2aa)](){const _0x4c9e37=_0x1bb2bd;this['_shapePopupMenuDisposable']||=this[_0x4c9e37(0x275)]((0x0,_0x583754[_0x4c9e37(0x331)])(this[_0x4c9e37(0x2ba)],_0x3d2575[_0x4c9e37(0x4f8)]['UNIVER_SHEET'],_0x259466=>this[_0x4c9e37(0x29f)](_0x259466)));}['_getShapeInfo'](_0xdf3000,_0x50628a,_0x72471b){const _0x4b92ad=_0x1bb2bd;let _0x18aa6a=this[_0x4b92ad(0x496)]['getShapeTypeById'](_0xdf3000,_0x50628a,_0x72471b),_0x434c9e=this['_sheetsShapeService'][_0x4b92ad(0x1f5)](_0xdf3000,_0x50628a,_0x72471b);return _0x18aa6a!==void 0x0&&_0x434c9e!==void 0x0?{'shapeData':_0x434c9e,'shapeId':_0x72471b,'shapeType':_0x18aa6a,'unitId':_0xdf3000,'subUnitId':_0x50628a,'version':this[_0x4b92ad(0x1ad)],'disableShapeOption':!0x1}:null;}[_0x1bb2bd(0x46a)](){const _0x44bf08=_0x1bb2bd;this['_disposePopups'][_0x44bf08(0x307)](_0x3321e0=>_0x3321e0[_0x44bf08(0x3cc)]()),this[_0x44bf08(0x3d9)]['length']=0x0;}['_popupMenuListener'](_0x25b987){const _0x5c483e=_0x1bb2bd;let _0x1d378e=new _0x3d2575[(_0x5c483e(0x3bf))]();return _0x1d378e[_0x5c483e(0x358)](_0x25b987[_0x5c483e(0x3de)][_0x5c483e(0x3b2)](()=>{const _0x45f708=_0x5c483e;let _0xaa5d2a=_0x25b987[_0x45f708(0x25a)]();if(this['_clearPopups'](),this['_isOpenedShapeEditPanel']||_0xaa5d2a[_0x45f708(0x349)]>0x1)return;let _0x14286f=_0xaa5d2a['values']()[_0x45f708(0x188)]()[_0x45f708(0x18a)];if(!_0x14286f)return;let _0x22437a=this[_0x45f708(0x479)]['getDrawingOKey'](_0x14286f['oKey']);if(!_0x22437a||_0x22437a[_0x45f708(0x1f2)]!==_0x3d2575[_0x45f708(0x2d2)][_0x45f708(0x30b)])return;let {unitId:_0xc8c18,subUnitId:_0x4408e9,drawingId:_0x2dec3a,drawingType:_0x8bb394}=_0x22437a,_0x28eda7=this[_0x45f708(0x4b4)](_0xc8c18,_0x4408e9,_0x2dec3a);if(!_0x28eda7)return;this[_0x45f708(0x2ef)]['setContextValue'](_0x3d2575['FOCUSING_COMMON_DRAWINGS'],!0x0);let _0x206396=this[_0x45f708(0x2ba)][_0x45f708(0x40c)](_0xc8c18),_0x5d1d1e=((_0x206396==null?void 0x0:_0x206396[_0x45f708(0x45d)])===!0x1?_0x206396[_0x45f708(0x10a)](_0x542241[_0x45f708(0x378)]):this[_0x45f708(0x3db)])[_0x45f708(0x365)](_0x14286f,{'componentKey':_0x2c0ba8,'direction':'vertical-center','offset':[0x0,_0x583754[_0x45f708(0x13c)]],'extraProps':{'unitId':_0xc8c18,'subUnitId':_0x4408e9,'drawingId':_0x2dec3a,'drawingType':_0x8bb394,'shapeType':_0x28eda7[_0x45f708(0x1a7)],'shapeData':_0x28eda7['shapeData']}});this[_0x45f708(0x3d9)][_0x45f708(0x37e)](this[_0x45f708(0x275)](_0x5d1d1e)),this[_0x45f708(0x479)][_0x45f708(0x337)]()[_0x45f708(0x30a)](_0x152f42=>_0x152f42['unitId']===_0xc8c18&&_0x152f42[_0x45f708(0x114)]===_0x4408e9&&_0x152f42[_0x45f708(0x17d)]===_0x2dec3a)||this[_0x45f708(0x479)][_0x45f708(0x323)]([{'unitId':_0xc8c18,'subUnitId':_0x4408e9,'drawingId':_0x2dec3a}]);})),_0x1d378e[_0x5c483e(0x358)](_0x25b987[_0x5c483e(0x326)][_0x5c483e(0x3b2)](()=>{const _0x1c3e92=_0x5c483e;this[_0x1c3e92(0x46a)](),this[_0x1c3e92(0x2ef)][_0x1c3e92(0x4f1)](_0x3d2575['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x1c3e92(0x479)][_0x1c3e92(0x323)](null);})),_0x1d378e[_0x5c483e(0x358)](_0x25b987[_0x5c483e(0x3ec)][_0x5c483e(0x3b2)](()=>{const _0x1e2a34=_0x5c483e;this[_0x1e2a34(0x46a)]();})),_0x1d378e[_0x5c483e(0x358)](_0x25b987[_0x5c483e(0x3c2)][_0x5c483e(0x3b2)](()=>{const _0x4568d5=_0x5c483e;this[_0x4568d5(0x46a)]();})),(0x0,_0x3d2575[_0x5c483e(0x1ba)])(()=>{const _0xa55c9=_0x5c483e;_0x1d378e[_0xa55c9(0x3cc)](),this[_0xa55c9(0x46a)]();});}[_0x1bb2bd(0x11f)](){const _0x12dd14=_0x1bb2bd;this['disposeWithMe'](this[_0x12dd14(0x101)]['onCommandExecuted'](_0x5be2c5=>{const _0xab80d7=_0x12dd14;if(_0x5be2c5['id']===_0x3c6df3['id']){let {unitId:_0x3da326,subUnitId:_0x1d80d8,drawingId:_0xe316a6}=_0x5be2c5['params'];this[_0xab80d7(0x1ad)]+=0x1,this[_0xab80d7(0x146)]=this[_0xab80d7(0x4b4)](_0x3da326,_0x1d80d8,_0xe316a6),this['_clearPopups'](),this['_openShapeEditPanel']();}if(_0x5be2c5['id']===_0x2c111e['id']&&(this[_0xab80d7(0x146)]=null,this[_0xab80d7(0x350)]()),_0x5be2c5['id']===_0x111169[_0xab80d7(0x1d6)]['id']){let {unitId:_0x139d4e,subUnitId:_0x281b91,shapeId:_0x5f22a8}=_0x5be2c5[_0xab80d7(0x4ad)];if(this[_0xab80d7(0x146)]&&this[_0xab80d7(0x146)]['shapeId']===_0x5f22a8){let _0x94ac68=this['_getShapeInfo'](_0x139d4e,_0x281b91,_0x5f22a8);_0x94ac68&&(this[_0xab80d7(0x1ad)]+=0x1,_0x94ac68[_0xab80d7(0x1c9)]=this[_0xab80d7(0x1ad)],this[_0xab80d7(0x146)]=_0x94ac68,this[_0xab80d7(0x3dc)]&&this[_0xab80d7(0x384)]());}}})),this[_0x12dd14(0x275)](this[_0x12dd14(0x479)][_0x12dd14(0x2c2)][_0x12dd14(0x3b2)](_0x3c31cb=>{const _0x4a3a83=_0x12dd14;if(this[_0x4a3a83(0x3dc)]===!0x1)return;if(_0x3c31cb[_0x4a3a83(0x40e)]===0x0){this[_0x4a3a83(0x146)]=null,this[_0x4a3a83(0x350)]();return;}if(_0x3c31cb[_0x4a3a83(0x40e)]===0x1&&_0x3c31cb[0x0][_0x4a3a83(0x1f2)]===_0x3d2575['DrawingTypeEnum'][_0x4a3a83(0x30b)]&&(this['_shapeEditPanelVersion']+=0x1,this[_0x4a3a83(0x146)]=this['_getShapeInfo'](_0x3c31cb[0x0][_0x4a3a83(0x26d)],_0x3c31cb[0x0][_0x4a3a83(0x114)],_0x3c31cb[0x0][_0x4a3a83(0x17d)]),this['_activeShapeInfo'])){this[_0x4a3a83(0x384)]();return;}let _0x42b262=_0x3c31cb[_0x4a3a83(0x262)](_0x4cd48e=>_0x4cd48e[_0x4a3a83(0x1f2)]===_0x3d2575[_0x4a3a83(0x2d2)][_0x4a3a83(0x30b)]);if(_0x3c31cb[_0x4a3a83(0x40e)]>0x1&&_0x42b262[_0x4a3a83(0x40e)]===_0x3c31cb['length']){if(this['_shapeEditPanelVersion']+=0x1,this[_0x4a3a83(0x146)]=this[_0x4a3a83(0x4b4)](_0x3c31cb[0x0][_0x4a3a83(0x26d)],_0x3c31cb[0x0][_0x4a3a83(0x114)],_0x3c31cb[0x0][_0x4a3a83(0x17d)]),this['_activeShapeInfo']){this[_0x4a3a83(0x384)]();return;}}else{if(this['_shapeEditPanelVersion']+=0x1,this[_0x4a3a83(0x146)]=this[_0x4a3a83(0x4b4)](_0x3c31cb[0x0][_0x4a3a83(0x26d)],_0x3c31cb[0x0][_0x4a3a83(0x114)],_0x3c31cb[0x0]['drawingId']),this[_0x4a3a83(0x146)]){this[_0x4a3a83(0x146)][_0x4a3a83(0x209)]=!0x0,this[_0x4a3a83(0x384)]();return;}}this[_0x4a3a83(0x350)]();}));}[_0x1bb2bd(0x384)](){const _0x494897=_0x1bb2bd;this[_0x494897(0x146)]&&(this[_0x494897(0x2c8)]=this[_0x494897(0x44e)][_0x494897(0x339)]({'id':_0x326d15,'header':{'title':this[_0x494897(0x122)]['t'](_0x494897(0x292))},'width':0x184,'children':{'label':_0x326d15,...this[_0x494897(0x146)]},'onClose':()=>{const _0x47e5cc=_0x494897;this['_drawingManagerService'][_0x47e5cc(0x323)](null),this['_contextService'][_0x47e5cc(0x4f1)](_0x3d2575[_0x47e5cc(0x1ce)],!0x1),this['_sidebarDisposable']=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}[_0x1bb2bd(0x350)](){const _0x4390c7=_0x1bb2bd;this['_isOpenedShapeEditPanel']=!0x1,this[_0x4390c7(0x44e)][_0x4390c7(0x1a4)](_0x326d15),this[_0x4390c7(0x2c8)]=null,this[_0x4390c7(0x2ef)][_0x4390c7(0x4f1)](_0x3d2575[_0x4390c7(0x1ce)],!0x1),this[_0x4390c7(0x479)]['focusDrawing'](null);}};_0x54f0c1=_0x4d7d62([_0x25f0d4(0x0,_0x3d2575[_0x1bb2bd(0x363)]),_0x25f0d4(0x1,(0x0,_0x3d2575['Inject'])(_0x1b3cd1['ISidebarService'])),_0x25f0d4(0x2,_0x1b3cd1[_0x1bb2bd(0x16e)]),_0x25f0d4(0x3,(0x0,_0x3d2575['Inject'])(_0x111169[_0x1bb2bd(0x4d3)])),_0x25f0d4(0x4,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x3d2575[_0x1bb2bd(0x263)])),_0x25f0d4(0x5,_0x3d2575[_0x1bb2bd(0x196)]),_0x25f0d4(0x6,_0xf3cf76['IDrawingManagerService']),_0x25f0d4(0x7,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x542241[_0x1bb2bd(0x378)])),_0x25f0d4(0x8,_0x3d2575[_0x1bb2bd(0x1e1)]),_0x25f0d4(0x9,_0x610ad8[_0x1bb2bd(0x1a3)]),_0x25f0d4(0xa,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x47b563))],_0x54f0c1);let _0x4e6b4c=class extends _0x3d2575[_0x1bb2bd(0x185)]{constructor(_0x196af0=_0x19b925,_0x48775a,_0x57d397,_0x285c8e,_0xda42bc){const _0x292ed2=_0x1bb2bd;super(),this['_config']=_0x196af0,this[_0x292ed2(0x49e)]=_0x48775a,this['_commandService']=_0x57d397,this['_configService']=_0x285c8e,this[_0x292ed2(0x2ba)]=_0xda42bc;let {..._0x29ef82}=(0x0,_0x3d2575[_0x292ed2(0x462)])({},_0x19b925,this['_config']);this[_0x292ed2(0x31b)]['setConfig'](_0x230154,_0x29ef82),this[_0x292ed2(0x1cf)]();}[_0x1bb2bd(0x1fb)](){const _0x5e70b1=_0x1bb2bd;this[_0x5e70b1(0x2ba)][_0x5e70b1(0x469)](_0x3d2575[_0x5e70b1(0x4f8)]['UNIVER_DOC'],[_0x26a9bd]),(0x0,_0x3d2575[_0x5e70b1(0x480)])(this[_0x5e70b1(0x49e)],[[_0x54f0c1],[_0x550c2f],[_0x34a6bf],[_0x28f2f5]]);}[_0x1bb2bd(0x22e)](){const _0x38a3ce=_0x1bb2bd;this[_0x38a3ce(0x49e)][_0x38a3ce(0x107)](_0x54f0c1)[_0x38a3ce(0x2aa)]();}[_0x1bb2bd(0x4ab)](){const _0x32a6d7=_0x1bb2bd;[[_0x3ac682],[_0x3f0181],[_0x4e2732]][_0x32a6d7(0x307)](_0x3a15b3=>this[_0x32a6d7(0x49e)][_0x32a6d7(0x358)](_0x3a15b3)),(0x0,_0x3d2575[_0x32a6d7(0x480)])(this['_injector'],[[_0x4e2732],[_0x3f0181]]),this[_0x32a6d7(0x2ba)][_0x32a6d7(0x469)](_0x3d2575[_0x32a6d7(0x4f8)][_0x32a6d7(0x245)],[_0x3ac682]),this[_0x32a6d7(0x2ba)][_0x32a6d7(0x469)](_0x3d2575[_0x32a6d7(0x4f8)][_0x32a6d7(0x245)],[_0x3c521c]),this[_0x32a6d7(0x2ba)]['registerRenderModule'](_0x3d2575[_0x32a6d7(0x4f8)][_0x32a6d7(0x245)],[_0xf83a23]),this[_0x32a6d7(0x2ba)][_0x32a6d7(0x469)](_0x3d2575[_0x32a6d7(0x4f8)][_0x32a6d7(0x245)],[_0x1083b2]),this[_0x32a6d7(0x275)](this[_0x32a6d7(0x2ba)][_0x32a6d7(0x469)](_0x3d2575[_0x32a6d7(0x4f8)]['UNIVER_SHEET'],[_0x442744])),this['disposeWithMe'](this[_0x32a6d7(0x2ba)][_0x32a6d7(0x469)](_0x3d2575['UniverInstanceType']['UNIVER_SHEET'],[_0x1c4a0e]));}['onStarting'](){const _0x391dd5=_0x1bb2bd;this[_0x391dd5(0x49e)][_0x391dd5(0x358)]([_0x5dbe2c]),this['_injector']['get'](_0x5dbe2c);let _0x4fd5f8=this[_0x391dd5(0x49e)];[[_0x54f0c1],[_0x550c2f],[_0x34a6bf],[_0x28f2f5],[_0x438c32],[_0x47b563],[_0x4a4b35],[_0xd84245],[_0x4614ff],[_0x17bdd5]]['forEach'](_0x2ddcc7=>_0x4fd5f8[_0x391dd5(0x358)](_0x2ddcc7)),(0x0,_0x3d2575[_0x391dd5(0x480)])(this[_0x391dd5(0x49e)],[[_0x54f0c1],[_0x550c2f],[_0x34a6bf],[_0x438c32],[_0x47b563],[_0x4a4b35],[_0xd84245],[_0x4614ff],[_0x17bdd5]]);}[_0x1bb2bd(0x1cf)](){const _0x4c75ed=_0x1bb2bd;[_0x5b3fe4,_0x28edce,_0x2c111e,_0x3c6df3,_0x1e7df2,_0x1798ea,_0x19375c,_0x1534d4]['forEach'](_0x15c719=>this['disposeWithMe'](this[_0x4c75ed(0x101)][_0x4c75ed(0x1e6)](_0x15c719)));}};_0x19f136(_0x4e6b4c,_0x1bb2bd(0x443),_0x3d2575['UniverInstanceType'][_0x1bb2bd(0x245)]),_0x19f136(_0x4e6b4c,_0x1bb2bd(0x4b7),_0x1bb2bd(0x272)),_0x19f136(_0x4e6b4c,'packageName',_0xb85a59),_0x19f136(_0x4e6b4c,_0x1bb2bd(0x1c9),_0x40799a),_0x4e6b4c=_0x4d7d62([(0x0,_0x3d2575[_0x1bb2bd(0x1a9)])(_0x477279[_0x1bb2bd(0x140)],_0x14cace[_0x1bb2bd(0x238)],_0xf3cf76[_0x1bb2bd(0x42a)],_0x2114cd[_0x1bb2bd(0x366)],_0x610ad8['UniverRenderEnginePlugin'],_0x306a90[_0x1bb2bd(0x2e6)],_0xa851c1[_0x1bb2bd(0x2b2)],_0x20c5a7[_0x1bb2bd(0x406)],_0x41ad7c[_0x1bb2bd(0x4b8)],_0x51ad4c[_0x1bb2bd(0x43f)],_0x111169[_0x1bb2bd(0x464)],_0x542241['UniverSheetsUIPlugin'],_0x583754[_0x1bb2bd(0x2f2)]),_0x25f0d4(0x1,(0x0,_0x3d2575[_0x1bb2bd(0x22a)])(_0x3d2575[_0x1bb2bd(0x22d)])),_0x25f0d4(0x2,_0x3d2575['ICommandService']),_0x25f0d4(0x3,_0x3d2575[_0x1bb2bd(0x176)]),_0x25f0d4(0x4,_0x610ad8[_0x1bb2bd(0x1a3)])],_0x4e6b4c),_0x442ed5[_0x1bb2bd(0x2a1)]=_0xa4546b,_0x442ed5[_0x1bb2bd(0x29c)]=_0xb0b3d3,Object[_0x1bb2bd(0x2e1)](_0x442ed5,_0x1bb2bd(0x220),{'enumerable':!0x0,'get':function(){return _0x271f1d;}}),Object[_0x1bb2bd(0x2e1)](_0x442ed5,_0x1bb2bd(0x14e),{'enumerable':!0x0,'get':function(){return _0x4e6b4c;}});}));function _0x1493(){const _0x53f465=['attachPopupToObject','UniverDrawingUIPlugin','resolveShapeTextHyperLinkObject','UniverProEngineShape','OTHERS','FloatingObjectToolbarPosition','M6.2\x208H7.8','_registerFocusChangeHandler','setShapeProps','_currentScene','DrawingImageClipService','localeService','sheet.operation.update-shape-type','getDrawingShapeKeyByDrawingSearch','shape-editor-ui.arrange.back','UniverSheets','getZoomRatio','visible$','SheetDrawingAnchor','SheetCanvasPopManagerService','idMap','parse','onPointerMove$','_sheetDrawingService','normal','push','UniverSheetsDrawingUi','ShapeLineTypeEnum','object','_commandExecutedListener','Line','_openShapeEditPanel','_highlightedSiteIndex','beginPath','bottom-icon','isHitLine','_registerGroupFeaturePasteHook','_drawingAddListener','sheet.shape.floating-toolbar','sheets-shape-ui.quickStyles','getSkeletonParam','translateWithPrecision','setShapeData','SheetsSelectionsService','_canEdit','cxnPointFill','createElement','_getConnectionSiteAngle','redo','FlipHorizontalIcon','isEditing','_generateCopyPasteMutations','permissionPointUpdate$','Large','updateConnectionDetection','UniverShapeEditorMobileUIPlugin','renderDrawingShape','_menuManagerService','_addShapeConnectorHandlerObject','transformToAxisAlignPosition','prepareShapeTextDocumentData','IUndoRedoService','ShapeTypeEnum','_editingParams$','_activeAdjustInfo','getConnectionInfo','symbol','getDrawingOKey','getConnectionRelation','currentAdjustValues','isStartConnectorPoint','ShapeTextEditorContainer','_imageShapeClipController','oKey','@univerjs/sheets-drawing','_showConnectionSites','UniverProSheetsShapeUi','subscribe','DRAWING_IMAGE','_shapes','move-down-icon','M7.82994\x201.40913C7.88746\x201.35161\x207.95376\x201.30821\x208.02453\x201.27893C8.09527\x201.24959\x208.17285\x201.2334\x208.2542\x201.2334C8.33555\x201.2334\x208.41313\x201.24959\x208.48387\x201.27893C8.55464\x201.30821\x208.62094\x201.35161\x208.67846\x201.40913L10.6785\x203.40913C10.9128\x203.64345\x2010.9128\x204.02335\x2010.6785\x204.25766C10.4441\x204.49198\x2010.0642\x204.49198\x209.82994\x204.25766L8.8542\x203.28193V5.8334C8.8542\x206.16477\x208.58557\x206.4334\x208.2542\x206.4334C7.92283\x206.4334\x207.6542\x206.16477\x207.6542\x205.8334V3.28193L6.67846\x204.25766C6.44415\x204.49198\x206.06425\x204.49198\x205.82994\x204.25766C5.59562\x204.02335\x205.59562\x203.64345\x205.82994\x203.40913L7.82994\x201.40913Z','adjHandleStroke','abs','sheet.operation.apply-shape-quick-style','ShapeDefaultConfig','_cxtHandlerPointerMove','React','_handleConnectorPointerUp','doc.image-clip.shape-picker.component','DisposableCollection','clone','_findShapeAtPoint','changeStart$','resolveFormulaShapeAutoFitSize','_findNearestConnectionSite','Shape','permissionCheckWithoutRange','getPropertyPriority','element','angle','_registerImageShapeClipDelegate','tag','dispose','refreshShapeFillImage','getDrawingOrder','flipY','getCurrentUnitOfType','_sheetBasicShapeConnectionPointController','resolveShapeTextEditorWrapStrategy','updateDocumentStyle','editingParams$','_clipService','ancestorTransform','ShapeTextHyperLinkPopupService','ShapeTextFloatToolbar','_disposePopups','_univerInstanceService','_sheetCanvasPopManagerService','_isOpenedShapeEditPanel','cxnPointStrokeWidth','createControl$','IURLImageService','@univerjs-pro/shape-editor','strokeWidth','drawing-ui.objectListPanel.lockAll','_handleFreeEndpointMove','transform','drawing-ui.objectListPanel.filterAll','canvasElement','sheets-shape-ui.objectListPanel.title','resolveShapeTextEditorBehaviorShapeData','_transform','DocInterceptorService','UniverProShapeEditor','changing$','ShapePickerDropdown','sheets-shape-ui.ribbon.shape-format.text-control','DEFAULT_PASTE','worldPoint','createShapeTextBoxShapeData','localName','registerClipDelegate','pipe','targetShapeId','RemoveSheetsShapeMutation','registerShapeFormatPainter','getScene','_rerouteConnectorLine','discreteRangeToRange','sheets-shape-ui.flipHorizontal','UniverDocs','_initPrinting','clearAdjustControls','_isShouldShowDrawingShapeAdjust','complete','intercept','_applyFormulaAutoFitSize','M4.2\x205.5H10.5','activeSheet$','_getShapeAdjustInfosById','UniverSheetsDrawingPlugin','stopPropagation','react/jsx-runtime','setFormulaPresentation','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','SetSheetDrawingCommand','getRenderUnitById','removeProperty','length','shape-editor-ui.arrange.forward','SheetShapeTextEditorContainer','getAdjustNames','doc','clearAdjustValue','applyQuickStyleToShapeData','useMemo','_shapeTextEditingService','delete','_clearControls','getActiveSheet','SheetSkeletonService','_attachConnectorObjectEvent','Circle','SolidLine','#bcbcbc','_isHighlighted','isHighlighted','_reset','ShapeTextFloatMenuRenderControllerBase','current','getImage','_drawShapeText','appliedStrokeWidth','toPrimitive','getBatchAddOp','_handleBasicShapeUpdateConnectorLineShape','UniverDrawingPlugin','shape-editor-ui.arrange.backward','LEFT','StraightConnector1','useFormulaShapeToolbar','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','getRealBound','useState','undo','_init','keys','endConnectionDetection','endArrow','setFillImage','_activeTargetShapeId','unregister','MenuManagerPosition','viewportScrollX','engine','SolidFill','observe','UniverSheetsDrawingUIPlugin','_completionFrame','getShapeType','0\x200\x2016\x2016','type','multiply','image-clip-adjust-point-','getFocusedUnit','ComponentManager','_baseShapeLeft','_update','FOCUSING_SHAPE_TEXT_EDITOR','iterator','_activeImageId','isolated','_sidebarService','flip-vertical-icon','getPermissionPoint','jsx','idSuffix','stroke-width','drawing-ui.objectListPanel.sectionCanvas','getUnitId','transformToDrawingPosition','hideContextualTab','M8\x2014V14.2','interceptCommand','_formulaAnimation','UPDATE','_baseLeft','isMainScene','drawing-ui.objectListPanel.description','onSavingEditorData$','getTransformer','title','merge','Disposable','UniverSheetsShapePlugin','update$','_getOrCreateShapeModel','BehaviorSubject','setPrstGeom','registerRenderModule','_clearPopups','_createControls','evenodd','setOnSavingEditorData','setCursor','M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','getConnectorLinePoints','activateDrawingObject','_baseDrawingRect','contentVerticalOffset','drawing-ui.objectListPanel.hideAll','FormatPainterSessionService','resolveShapeTextHyperLinkAt','M14.0045\x204.4334C14.8881\x204.4334\x2015.6045\x203.71705\x2015.6045\x202.8334C15.6045\x201.94974\x2014.8881\x201.2334\x2014.0045\x201.2334H3.70449C2.82084\x201.2334\x202.10449\x201.94974\x202.10449\x202.8334C2.10449\x203.71705\x202.82084\x204.4334\x203.70449\x204.4334H14.0045ZM14.4045\x202.8334C14.4045\x203.05431\x2014.2254\x203.2334\x2014.0045\x203.2334H3.70449C3.48358\x203.2334\x203.30449\x203.05431\x203.30449\x202.8334C3.30449\x202.61248\x203.48358\x202.4334\x203.70449\x202.4334H14.0045C14.2254\x202.4334\x2014.4045\x202.61249\x2014.4045\x202.8334Z','fontSize','_drawingManagerService','getPropertyValue','_updateShapeAdjustControls','render','_executeConnectionCommand','currentColor','@univerjs/engine-render','touchDependencies','CommandType','resolveShapeTextDocumentPageHeight','setPrstGeomAdjValues','IRibbonService','getCurrentRangeDisable$','@univerjs/drawing','_sheetShapeAdjustController','DrawingCommonPanel','UniverSheetsDrawing','M1.25\x2013.036C1.25\x2012.1523\x201.96634\x2011.436\x202.85\x2011.436H13.15C14.0337\x2011.436\x2014.75\x2012.1523\x2014.75\x2013.036C14.75\x2013.9196\x2014.0337\x2014.636\x2013.15\x2014.636H2.85C1.96635\x2014.636\x201.25\x2013.9196\x201.25\x2013.036ZM2.85\x2012.636C2.62909\x2012.636\x202.45\x2012.8151\x202.45\x2013.036C2.45\x2013.2569\x202.62909\x2013.436\x202.85\x2013.436H13.15C13.3709\x2013.436\x2013.55\x2013.2569\x2013.55\x2013.036C13.55\x2012.8151\x2013.3709\x2012.636\x2013.15\x2012.636H2.85Z','getViewportByCell','_currentUniverService','_activeShapeAdjustPointList','fontFamily','parent','MoveUpIcon','_config','sheetTransform','flatMap','_isDrawingShapePointDown','_handleConnectedEndpointMove','_sheetsShapeService','_initPermission','refreshAdjustControls','Observable','_getShapeAdjustPointListById','1.3.1','top','children','_injector','max','_adjHandlerPointerUp','visible','refreshFormulaPresentation','sheets-shape-ui.ribbon.shape-format.formula-control','sheets-shape-ui.title','makeDirty','changeShapeType','ShapeFloatingToolbarToggleFactory','UUID','_shapeId','_registerMoveHandler','onReady','xlink:href','params','insertGroupObject','asObservable','UpdateConnectorRelationCommand','sheets-shape-ui.imagePanel.crop.shape','ToggleSheetsShapeFlipCommand','_isStartConnectorPoint','_getShapeInfo','getTransformerByCreate','sheetViewStartRow','pluginName','UniverShapeEditorPlugin','WorksheetEditPermission','_clearFocusedShape','useDependency','_isImagePointerDown','onerror','skeleton','sheet.operation.open-shape-object-list-panel','enableObjectsEvent','isCurvedConnectorShape','SheetPermissionCheckController','_getSceneAndTransformerByDrawingSearch','getDrawingData','useRef','updateDocumentDataMargin','M8.57975\x2014.5902L6.58023\x2012.5907C6.34591\x2012.3564\x206.34591\x2011.9765\x206.58023\x2011.7421C6.81454\x2011.5078\x207.19444\x2011.5078\x207.42876\x2011.7421L8.40449\x2012.7179V10.1664C8.40449\x209.83504\x208.67312\x209.56641\x209.00449\x209.56641C9.33586\x209.56641\x209.60449\x209.83504\x209.60449\x2010.1664V12.7179L10.5802\x2011.7421C10.8145\x2011.5078\x2011.1944\x2011.5078\x2011.4288\x2011.7421C11.6631\x2011.9765\x2011.6631\x2012.3564\x2011.4288\x2012.5907L9.42923\x2014.5902','registerFeatureMenu','isConnectorShape','http://www.w3.org/2000/svg','getContextValue','drawWith','getDrawingTypeNameKey','UniverDrawing','_adjHandlerPointerMove','clip','addClipboardHook','getShapeData','SheetsShapeService','_sheetInterceptorService','SHAPE_EDITOR_TRANSFORMER_CONFIG','_initSheetChange','_handleConnectedEndpointPointerUp','getUnit','RibbonInsertGroup','strokeOpacity','_attachAdjustEvent','MEDIA','shapeId','routeConnectorLineShape','getInterceptPoints','exports','horizontal','worldRect','trim','end','M8\x206.2V7.8','getObjectListPanelSectionIdForDrawingType','point','stroke','viewBox','M8\x202.2V3.8','_shapePopupMenuDisposable','panel','isRichText','prstGeom','svg','getDrawingByParam','setContextValue','isReleased','isHit','M11.5565\x208H12.4435L12.913\x208.78261L13.8\x208.57391L14.4261\x209.2L14.2174\x2010.087L15\x2010.5565V11.4435L14.2174\x2011.913L14.4261\x2012.8L13.8\x2013.4261L12.913\x2013.2174L12.4435\x2014H11.5565L11.087\x2013.2174L10.2\x2013.4261L9.57391\x2012.8L9.78261\x2011.913L9\x2011.4435V10.5565L9.78261\x2010.087L9.57391\x209.2L10.2\x208.57391L11.087\x208.78261L11.5565\x208Z','_initSelection','_createShapeAdjustControls','WorkbookEditablePermission','UniverInstanceType','_unitId','_copyInfo','save','set','_commandService','_baseShapeWidth','formulaBinding','onDblclick$','1em','shape-adjust-point-','get','IconManager','M5.57564\x204.38825C5.80995\x204.62256\x206.18985\x204.62256\x206.42417\x204.38825L7.3999\x203.41251V9.63049C7.3999\x209.96186\x207.66853\x2010.2305\x207.9999\x2010.2305C8.33127\x2010.2305\x208.5999\x209.96186\x208.5999\x209.63049V3.41251L9.57564\x204.38825C9.80995\x204.62256\x2010.1899\x204.62256\x2010.4242\x204.38825C10.6585\x204.15393\x2010.6585\x203.77403\x2010.4242\x203.53972L8.4324\x201.54796C8.32324\x201.43445\x208.16982\x201.36382\x207.9999\x201.36382C7.82998\x201.36382\x207.67655\x201.43446\x207.56739\x201.54797L5.57564\x203.53972C5.34132\x203.77403\x205.34132\x204.15393\x205.57564\x204.38825Z','with','IImageIoService','changeEnd$','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','updateShapeFillImage','offsetY','sheet.operation.close-sheet-shape-format-panel','invert','drawing-ui.objectListPanel.lockHint','Module','subUnitId','flipX','RemoveSheetDrawingCommand','_baseWidth','fillImageSourceType','sheets-shape-ui.flipVertical','M8.57975\x2014.5902C8.58121\x2014.5917\x208.58268\x2014.5931\x208.58416\x2014.5946C8.64077\x2014.6502\x208.70566\x2014.6923\x208.77482\x2014.7209C8.84557\x2014.7502\x208.92314\x2014.7664\x209.00449\x2014.7664C9.08585\x2014.7664\x209.16342\x2014.7502\x209.23416\x2014.7209C9.30332\x2014.6923\x209.36821\x2014.6502\x209.42482\x2014.5946','subscribeEvent','rxjs','MobileDropdown','indexOf','_registerOperations','round','pick','_localeService','drawing-ui.objectListPanel.unlockHint','cxnPointStroke','react','bottom','_ribbonService','isLineShape','debounceRefreshControls','_initEditingParams','adjName','deriveStateFromActiveSheet$','VIEW_MAIN_LEFT','ISheetClipboardService','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','isHorizontal','lineType','_getConnectPointInfo','connection-site-','sheet.shape.picker.component','adjHandleFill','featurePluginUpdateNotification','_loadAndSetImage','src','SELECTOR','jsxs','ShapeModel','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','_executeConnectedRouteConnectionCommand','RIBBON','generateRandomId','UniverLicensePlugin','setPresentation','getShapeQuickStylePreset','drawing-ui.objectListPanel.nameInput','FlipVerticalIcon','div','_activeShapeInfo','computeConnectorResizeLayout','getDrawingEffectBounds','refreshTransform','SHAPE_CHANGE_PICKER_COMPONENT','getShapeTypeById','sheets-shape-ui.editText','_cxnIndex','UniverSheetsShapeUIPlugin','switchMap','M14\x208H14.2','9tkegIL','_currentConnectionTarget','drawing-ui.objectListPanel.collapse','mode','setHighlighted','canvas','data','getDrawingDataForUnit','getBentTypeFromPoints','isArray','_shapeFloatingToolbarService','UniverProShapeEditorUi','@univerjs/drawing-ui','_lastEditingShapeKey','SheetSkeletonManagerService','@univerjs/core','URL','clipTop','reverse','RENDER_CLASS_TYPE','offsetX','CUT','SHEET','localToWorld','_shapeService','extensionGroups','getCurrentSkeleton','resolveShapeContextualRibbonHostMode','worldPoints','IMenuManagerService','_sheetPermissionCheckController','setShouldShowAdjust','mergeMenu','shape-text-','getSheetCommandTarget','values','shape-format-setting-icon','IConfigService','marginTop','color','scene','UNIVER_DOC','ShapeFillEnum','ShapeFormatSettingIcon','drawingId','function','_formulaKey','objects','width','ContextMenuPosition','originalStrokeWidth','shapeModel','Plugin','_transformCalculateSrcRect','resolveShapeTextDocumentRenderLayout','next','name','value','_updateImageAdjValues','ShapeTextHyperLinkInfo','getInverseCoord','getEditing','path','_imageIoService','_getDrawingRect','run','sheets-shape-ui.config','packageName','getObjectIncludeInGroup','ICommandService','_releaseRenderCache','calculate','plainShapeTextToDocumentData','getDrawingVisible','M1.6543\x2013.1665C1.6543\x2012.2828\x202.37064\x2011.5665\x203.2543\x2011.5665H13.5543C14.438\x2011.5665\x2015.1543\x2012.2828\x2015.1543\x2013.1665C15.1543\x2014.0502\x2014.438\x2014.7665\x2013.5543\x2014.7665H3.2543C2.37064\x2014.7665\x201.6543\x2014.0502\x201.6543\x2013.1665ZM3.2543\x2012.7665C3.03338\x2012.7665\x202.8543\x2012.9456\x202.8543\x2013.1665C2.8543\x2013.3874\x203.03338\x2013.5665\x203.2543\x2013.5665H13.5543C13.7752\x2013.5665\x2013.9543\x2013.3874\x2013.9543\x2013.1665C13.9543\x2012.9456\x2013.7752\x2012.7665\x2013.5543\x2012.7665H3.2543Z','index','M2.2\x208H3.8','_context','cxnPointRadius','_groupCopyPasteController','unsubscribe','activeAnObject','IRenderManagerService','close','IPermissionService','sheets-shape-ui.objectListPanel.open','shapeType','_baseShapeHeight','DependentOn','DocCanvasPopManagerService','vertical','custom','_shapeEditPanelVersion','_getScrollInfo','shape-editor-ui.toolbar.quickStyles','297680WkCCqm','_createCopyInfoByRange','restore','_executeConnectedRouteResizeCommand','145285oKvZDj','setEditing','ShapeTextRibbonControl','drawing-ui.objectListPanel.close','REMOVE','ConnectorCoordinateTransform','toDisposable','_getImageDrawingInfo','isInGroup','DocSelectionManagerService','MoveDownIcon','adjustValues','popup','getDrawingSearch','clear','COPY_TYPE','add$','_initCopyPaste','BottomIcon','ISheetDrawingService','copyId','version','_activeShapeModel','univerjs-icon\x20univerjs-icon-','getShapeTextData','InsertShapeCommand','FOCUSING_COMMON_DRAWINGS','_initCommands','_generatePasteMutations','InsertSheetsShapeMutation','DocRenderController','axisAlignSheetTransform','VIEW_MAIN_TOP','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','UpdateSheetsShapeDataMutation','_addControl','_disposed','selectable','actualHeight','height','_activeShapeId','getAutoFitPresentations','_drawRichTextLayer','UniverEngineRender','sectionCanvas','IContextService','useReducer','_addShapeAdjustControl','sheet.shape.edit.panel','lineShapeId','registerCommand','UniverUi','Fragment','RemoveSheetCommand','backward','getBasicShapeRotateBound','ShapePickerPanel','sheets-shape-ui.ribbon.shape-format.arrange-front','clip-','toFixed','registerFeaturePasteHook','ShapeRenderModeEnum','drawingType','sheet.menu.shape.flip-vertical','sheet.command.update-shape-data','getShapeDataById','createShapeTextHyperLinkRegions','description','SetDrawingApplyMutation','some','98148fQjRRK','onRendered','replace','_iconManager','Medium','hadStyleAttribute','getSheetBySheetId','ShapeFloatingToolbar','isRenderLinePointsMode','shape-editor-ui.toolbar.changeShape','_clearConnectionSites','_getImagePrstGeom','_executeResizeCommand','M3.3\x2013.4L8\x209.8L12.7\x2013.4H3.3Z','srcRect','disableShapeOption','left','sheet.image-clip.shape-picker.component','_registerDrawingFocusChangeHandler','decorate','MobileShapeEditorService','copyType','updateContext','@univerjs-pro/sheets-shape-ui','OPERATION','Image','getShapeTextRect','M3.3\x202.6L8\x206.2L12.7\x202.6H3.3Z','_connectionSiteObjects','HorizontalAlign','resolveHyperLinkAt','drawing-ui.objectListPanel.descriptionPlaceholder','setCollapsedIds','extraProps','_formulaShapes','EMPTY','CROSSHAIR','back','UniverSheetsShapeMobileUIPlugin','_initialize','DocumentViewModel','updateLinePoints','rotation','getTextStyle','cos','_activeAdjustPointList','COMMAND','hasDefault','Inject','#4285f4','has','Injector','onSteady','M13.4\x203.3L9.8\x208L13.4\x2012.7V3.3Z','Arrow','clipByShape','register','adjHandleSize','shapeText','_isConnecting','removeAttribute','getBasicShapeRelation','UniverDocsPlugin','DRAWING_OBJECT_LAYER_INDEX','getValue','forward','buildShapeTextDataUpdate','drawing-ui.objectListPanel.typeNames.','unit','FormulaShapeAnimationController','ShapeIcon','sin','setSrcRect','getShapeQuickStyleType','actions','UNIVER_SHEET','onPointerDown$','ShapeTextHyperLinkHoverController','sheet.command.menu-insert-shape','hasAttribute','parseFloat','ShapeFormulaRibbonControl','_moveConnectorWithShape','executeCommand','from','12804650PkaxTd','isRender','disableObjectsEvent','componentKey','fillImageSource','SHAPE_TEXT','MenuItemType','fillType','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','colorChannel1','DocumentSkeleton','getSelectedObjectMap','getCurrentTypeOfUnit$','createShapeFormulaDocument','create','_connectorObjects','GROUP','_cxtHandlerPointerUp','6130950SzUBHC','filter','LocaleService','ShapeArrowTypeEnum','getCurrentUnitInfo','fill','constructor','shapeData','resize','drawing-ui.objectListPanel.locate','clearActiveDrawingObjects','getAdjustValueByName','unitId','ShapeGroupEnum','getVisible','drawing-ui.objectListPanel.name','shouldClipShapeTextDocument','SHEET_SHAPE_UI_PLUGIN','#FFFFFF','animateFormulaPresentation','disposeWithMe','_baseTop','BUTTON','assign','M1.50439\x209C1.50439\x208.11634\x202.22074\x207.4\x203.10439\x207.4H13.4044C14.288\x207.4\x2015.0044\x208.11634\x2015.0044\x209C15.0044\x209.88366\x2014.2881\x2010.6\x2013.4044\x2010.6H3.1044C2.22074\x2010.6\x201.50439\x209.88366\x201.50439\x209ZM3.10439\x208.6C2.88348\x208.6\x202.70439\x208.77909\x202.70439\x209C2.70439\x209.22091\x202.88348\x209.4\x203.1044\x209.4H13.4044C13.6253\x209.4\x2013.8044\x209.22091\x2013.8044\x209C13.8044\x208.77909\x2013.6253\x208.6\x2013.4044\x208.6H3.10439Z','drawing-ui.objectListPanel.moveForward','getCurrentScrollState','sheets-shape-ui.ribbon.shape-format.style-control','VerticalAlign','contentHeight','UniverProSheetsShape','_isStartAdjusting','use','getBatchRemoveOp','error','scale','classType','getShapeModel','startArrow','M5.57564\x2011.6118C5.80995\x2011.3774\x206.18985\x2011.3774\x206.42417\x2011.6118L7.3999\x2012.5875V6.36951C7.3999\x206.03814\x207.66853\x205.76951\x207.9999\x205.76951C8.33127\x205.76951\x208.5999\x206.03814\x208.5999\x206.36951V12.5875L9.57564\x2011.6118C9.80995\x2011.3774\x2010.1899\x2011.3774\x2010.4242\x2011.6118C10.6585\x2011.8461\x2010.6585\x2012.226\x2010.4242\x2012.4603L8.4324\x2014.452C8.32324\x2014.5655\x208.16982\x2014.6362\x207.9999\x2014.6362C7.82998\x2014.6362\x207.67655\x2014.5655\x207.56739\x2014.452L5.57564\x2012.4603C5.34132\x2012.226\x205.34132\x2011.8461\x205.57564\x2011.6118Z','image','stringify','_initMenu','getUnitType','ISidebarService','ShapeStyleRibbonControl','useObservable','drawing-ui.objectListPanel.title','ContextMenuGroup','sheets-shape-ui.formatShape','_generateCutPasteMutations','useEffect','gradientEndColor','_drawRichText','relation','drawing-ui.objectListPanel.search','sheets-shape-ui.ribbon.shape-format.arrange-forward','sheets-shape-ui.shape-format.formula-ribbon-control','_getZoomRatio','SheetsShapeUIMenuSchema','ImageSourceTypeEnum','UpdateLineShapeResizeCommand','_popupMenuListener','drawing-ui.objectListPanel.unlockAll','SheetsShapeUIContextualRibbonSchema','_addShapeConnectorHandlerObjects','viewportScrollY','target','_sheetSkeletonService','transformForAngle','drawing-ui.objectListPanel.moveBackward','resolveActiveShapeQuickStylePresetId','sheets-shape-ui.editShape','initShapePopupMenu','startWith','startX','_sheetDrawingShapeRenderController','isFinite','42VPZnXe','_draggingConnectorId','setCanUseShapeClip','UniverDocsUIPlugin','SetDrawingArrangeCommand','_insertingShapeKeys','drawing-ui.objectListPanel.sectionFloating','string','order','_props','getOrCreateDrawingCopyPlan','_renderManagerService','shouldAllowShapeTextEditorHostSizeShrink','getPresentation','url(#$1','getActiveViewportByCoord','priority','computeConnectorRouteLayout','@univerjs/docs-ui','focus$','style','DocumentDataModel','mask','SheetScrollManagerService','_baseShapeTop','_sidebarDisposable','PREDEFINED_HOOK_NAME','syncExecuteCommand','_draw','getSkeleton','top-center','useLayoutEffect','CURSOR_TYPE','_clearCompletionFrame','_visible','DrawingTypeEnum','_permissionService','_index','_focusedDrawings','forwardRef','SHEET_VIEWPORT_KEY','#1a73e8','sheet.operation.open-sheet-shape-format-panel','_registerFeatureMenu','sheets-shape-ui.shape-format.quick-style-gallery','Transform','createInternalEditorID','9484440vdJXBl','onCommandExecuted','_shapeFormulaService','defineProperty','onPointerUp$','M1.25\x202.96401C1.25\x203.84767\x201.96634\x204.56401\x202.85\x204.56401H13.15C14.0337\x204.56401\x2014.75\x203.84767\x2014.75\x202.96401C14.75\x202.08036\x2014.0337\x201.36401\x2013.15\x201.36401H2.85C1.96635\x201.36401\x201.25\x202.08036\x201.25\x202.96401ZM2.85\x203.36401C2.62909\x203.36401\x202.45\x203.18493\x202.45\x202.96401C2.45\x202.7431\x202.62909\x202.56401\x202.85\x202.56401H13.15C13.3709\x202.56401\x2013.55\x202.7431\x2013.55\x202.96401C13.55\x203.18493\x2013.3709\x203.36401\x2013.15\x203.36401H2.85Z','3206043HKApVm','transformByState','UniverSheetsPlugin','setFallbackVisible','_baseHeight','_sheetPrintInterceptorService','ToggleShapeFloatingToolbarOperation','_hyperLinkRegions','TopmostIcon','sheets-shape-ui.ribbon.shape-format.arrange-back','setAdjustValueByName','_contextService','defIds','getAdjustInfoByName','UniverShapeEditorUIPlugin','None','prstGeomAdjValues','map','2AyEVDh','getObject','_componentManager','_handleFreeEndpointPointerUp','normalizeShapeTextModel','M12.05\x2012.1C12.6299\x2012.1\x2013.1\x2011.6299\x2013.1\x2011.05C13.1\x2010.4701\x2012.6299\x2010\x2012.05\x2010C11.4701\x2010\x2011\x2010.4701\x2011\x2011.05C11\x2011.6299\x2011.4701\x2012.1\x2012.05\x2012.1Z','Path','beforeCommandExecuted','IDrawingManagerService','getActualSize','hidden','addObject','WorksheetCopyPermission','getParent','addImageSourceCache','_targetShapeId','min','forEach','PictureFill','_registerDrawingMoveHandler','find','DRAWING_SHAPE','calcAdjValues','Documents','getConnectionSiteList','getMenuHiddenObservable','_urlImageService','_drawingType','connector-handler-','_updateAdjustControlPositions','_calculateFreeEndpointAngle','sheet.menu.shape.flip-horizontal','attrs','_registerComponents','formulaPresentation','text','@univerjs-pro/sheets-shape','_configService','preValue','getState','ArrangeTypeEnum','object-layers-icon','cxnIndex','getDrawingPoints','interceptor','focusDrawing','displayName','ShapeFloatingToolbarService','clearControl$','SheetInterceptorService','getMatrix','cancelEditing','none','drawing-ui.objectListPanel.empty','_sheetClipboardService','@univerjs/sheets','_hasReset','getEndConnectInfo','Vector2','bindRenderTransformerLifecycle','startY','useId','entries','getSheetId','sheets-shape-contextual-ribbon','getFocusDrawings','getBatchUpdateOp','open','animationEnabled','dataModel','FromArray','PaintIcon','0\x200\x2017\x2016','PRINTING_COMPONENT_COLLECT','sheetViewStartColumn','completeEditing','_resetState','ObjectLayersIcon','attachRangeWithCoord','getStartConnectInfo','setProperty','startConnectionDetection','remove$','size','M2.6\x203.3L6.2\x208L2.6\x2012.7V3.3Z','@univerjs/docs','DrawingApplyType','includes','_subUnitId','@univerjs-pro/license','_closeShapeEditPanel','_clearShapeAdjustControls','_shapeRenderController','ObjectListPanelBase','_onSavingEditorData$','_loadShapePictureFill','applyPoint','INSERT','add','ShapeArrowSizeEnum','_hide','UniverIcon','_clearShapeConnectorHandlerObjects','resetCursor','drawing-ui.objectListPanel.hide','sheets-shape-ui.deleteShape','_insertShapes','toStringTag','_registerIcons','IUniverInstanceService','_initEvents'];_0x1493=function(){return _0x53f465;};return _0x1493();}
1
+ function _0x231f(_0x595c21,_0x3afc3b){_0x595c21=_0x595c21-0x1d4;const _0x376c4f=_0x376c();let _0x231f0a=_0x376c4f[_0x595c21];return _0x231f0a;}(function(_0x1880e0,_0xf85e1b){const _0x1281fc=_0x231f,_0xc83540=_0x1880e0();while(!![]){try{const _0xc1a28b=-parseInt(_0x1281fc(0x2de))/0x1*(parseInt(_0x1281fc(0x2ae))/0x2)+parseInt(_0x1281fc(0x28d))/0x3+parseInt(_0x1281fc(0x57c))/0x4+-parseInt(_0x1281fc(0x273))/0x5+-parseInt(_0x1281fc(0x5de))/0x6+parseInt(_0x1281fc(0x3f7))/0x7*(parseInt(_0x1281fc(0x441))/0x8)+parseInt(_0x1281fc(0x42b))/0x9*(parseInt(_0x1281fc(0x321))/0xa);if(_0xc1a28b===_0xf85e1b)break;else _0xc83540['push'](_0xc83540['shift']());}catch(_0x26654e){_0xc83540['push'](_0xc83540['shift']());}}}(_0x376c,0x1fcbe),function(_0x548ff0,_0xbf3f51){const _0x274024=_0x231f;typeof exports==_0x274024(0x30d)&&typeof module<'u'?_0xbf3f51(exports,require('@univerjs-pro/shape-editor-ui'),require('@univerjs/ui'),require('@univerjs-pro/engine-shape'),require('@univerjs-pro/shape-editor'),require('@univerjs-pro/sheets-shape'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/sheets'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs/drawing-ui'),require('@univerjs/design'),require('react/jsx-runtime'),require('@univerjs-pro/license'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/sheets-drawing-ui'),require('react')):typeof define==_0x274024(0x53d)&&define[_0x274024(0x56c)]?define([_0x274024(0x499),_0x274024(0x50e),'@univerjs/ui',_0x274024(0x5e4),_0x274024(0x420),_0x274024(0x4ad),_0x274024(0x286),'@univerjs/engine-render',_0x274024(0x287),_0x274024(0x3e8),_0x274024(0x3d8),'@univerjs/drawing',_0x274024(0x5e2),_0x274024(0x2c1),_0x274024(0x360),'react/jsx-runtime',_0x274024(0x24c),_0x274024(0x580),_0x274024(0x353),_0x274024(0x42e),_0x274024(0x53b)],_0xbf3f51):(_0x548ff0=typeof globalThis<'u'?globalThis:_0x548ff0||self,_0xbf3f51(_0x548ff0[_0x274024(0x4ef)]={},_0x548ff0[_0x274024(0x2e3)],_0x548ff0[_0x274024(0x4b2)],_0x548ff0['UniverProEngineShape'],_0x548ff0['UniverProShapeEditor'],_0x548ff0['UniverProSheetsShape'],_0x548ff0[_0x274024(0x235)],_0x548ff0[_0x274024(0x27d)],_0x548ff0[_0x274024(0x551)],_0x548ff0['UniverSheetsDrawing'],_0x548ff0[_0x274024(0x37c)],_0x548ff0[_0x274024(0x2b4)],_0x548ff0[_0x274024(0x5e2)],_0x548ff0[_0x274024(0x2d6)],_0x548ff0[_0x274024(0x4a4)],_0x548ff0[_0x274024(0x47f)],_0x548ff0[_0x274024(0x3f1)],_0x548ff0[_0x274024(0x38f)],_0x548ff0[_0x274024(0x5a6)],_0x548ff0[_0x274024(0x236)],_0x548ff0[_0x274024(0x47f)]));}(this,function(_0x3f2738,_0x197fcc,_0x23e778,_0x1f2a15,_0x1ad5b7,_0x565640,_0x35d996,_0x580d8a,_0x2a684c,_0x47830d,_0x590c15,_0x2ed59f,_0x4737d9,_0x2c4f7e,_0x36db41,_0x121104,_0x64ee3d,_0x156373,_0x3a1af6,_0x353806,_0x3d354c){const _0x2766d8=_0x231f;Object[_0x2766d8(0x54e)](_0x3f2738,Symbol['toStringTag'],{'value':_0x2766d8(0x2db)});function _0x5b6e6e(_0xc28b8b,_0x423167){const _0x2dbc81=_0x2766d8;let _0x329734={};for(let _0x2c4875 of Object[_0x2dbc81(0x38e)](_0x423167)){let _0x54fa9a=_0x423167[_0x2c4875],_0x45a7e5=_0xc28b8b[_0x2c4875];_0x329734[_0x2c4875]=_0x45a7e5===void 0x0?void 0x0:typeof _0x54fa9a==_0x2dbc81(0x30d)&&_0x54fa9a&&!Array[_0x2dbc81(0x5ea)](_0x54fa9a)&&typeof _0x45a7e5==_0x2dbc81(0x30d)&&_0x45a7e5&&!Array[_0x2dbc81(0x5ea)](_0x45a7e5)?_0x5b6e6e(_0x45a7e5,_0x54fa9a):_0x45a7e5;}return _0x329734;}let _0x33bf3b={'type':_0x35d996['CommandType'][_0x2766d8(0x56b)],'id':_0x2766d8(0x469),'handler':(_0x32e778,_0x275a14)=>{const _0x11ec2c=_0x2766d8;let _0x120c1e=_0x32e778['get'](_0x565640[_0x11ec2c(0x248)]),{unitId:_0xbfb842,subUnitId:_0x3f1f46,shapeType:_0xea5c78,shapeId:_0x333bad,shapeData:_0x20299d,replaceShapeData:_0x56ab7a,oldShapeJSON:_0x1aebaa}=_0x275a14;if(!_0x120c1e[_0x11ec2c(0x338)](_0xbfb842,_0x3f1f46,_0x333bad))return!0x1;let _0x244f12=_0x32e778['get'](_0x35d996[_0x11ec2c(0x3c6)]),_0x3a8e68=_0x32e778[_0x11ec2c(0x340)](_0x35d996[_0x11ec2c(0x25f)]),{oldShapeType:_0x467699,oldShapeData:_0x4fbe55={}}=_0x1aebaa,_0x45c7b7=_0x56ab7a?_0x4fbe55:_0x5b6e6e(_0x4fbe55,_0x20299d||{}),_0x573734={'id':_0x565640[_0x11ec2c(0x229)]['id'],'params':{'unitId':_0xbfb842,'subUnitId':_0x3f1f46,'shapeId':_0x333bad,'shapeType':_0xea5c78,'shapeData':_0x20299d,'replace':_0x56ab7a}},_0x57b198={'id':_0x565640[_0x11ec2c(0x229)]['id'],'params':{'unitId':_0xbfb842,'subUnitId':_0x3f1f46,'shapeId':_0x333bad,'shapeType':_0x467699,'shapeData':_0x45c7b7,'replace':_0x56ab7a}};return _0x244f12['syncExecuteCommand'](_0x573734['id'],_0x573734[_0x11ec2c(0x1db)])?(_0x3a8e68['pushUndoRedo']({'unitID':_0xbfb842,'undoMutations':[_0x57b198],'redoMutations':[_0x573734]}),!0x0):!0x1;}};function _0x5b243b(_0x1d5ead,_0x383b9a,_0x20cb3,_0x414d2f,_0x33d6f1,_0x556a42){const _0x1b6d8b=_0x2766d8;let _0x317a8b={'unitId':_0x383b9a,'subUnitId':_0x20cb3,'shapeId':_0x414d2f,'shapeData':_0x556a42,'oldShapeJSON':_0x33d6f1};return _0x1d5ead[_0x1b6d8b(0x3d1)](_0x33bf3b['id'],_0x317a8b);}function _0x1d5713(_0x3cf595,_0x58e8c9,_0x3e53fe,_0xc4cace,_0x197c95,_0x114510){const _0x18a45d=_0x2766d8;let _0x49e1cc={'unitId':_0x58e8c9,'subUnitId':_0x3e53fe,'shapeId':_0xc4cace,'shapeData':_0x114510,'oldShapeJSON':_0x197c95};return _0x3cf595[_0x18a45d(0x3d1)](_0x33bf3b['id'],_0x49e1cc);}function _0x364a03(_0x382ee4){'@babel/helpers - typeof';const _0x1c8c60=_0x2766d8;return _0x364a03=typeof Symbol==_0x1c8c60(0x53d)&&typeof Symbol[_0x1c8c60(0x4f0)]==_0x1c8c60(0x1d8)?function(_0x26dadd){return typeof _0x26dadd;}:function(_0x468102){const _0x26ffbc=_0x1c8c60;return _0x468102&&typeof Symbol==_0x26ffbc(0x53d)&&_0x468102[_0x26ffbc(0x423)]===Symbol&&_0x468102!==Symbol['prototype']?_0x26ffbc(0x1d8):typeof _0x468102;},_0x364a03(_0x382ee4);}function _0x32d5a7(_0x3fe510,_0x2f149f){const _0x3513c2=_0x2766d8;if(_0x364a03(_0x3fe510)!=_0x3513c2(0x30d)||!_0x3fe510)return _0x3fe510;var _0x415f93;if(typeof Symbol<'u'&&(_0x415f93=_0x3fe510[Symbol[_0x3513c2(0x5e7)]])!==void 0x0){var _0x22aa9b=_0x415f93[_0x3513c2(0x222)](_0x3fe510,_0x2f149f||_0x3513c2(0x1df));if(_0x364a03(_0x22aa9b)!=_0x3513c2(0x30d))return _0x22aa9b;throw TypeError(_0x3513c2(0x2a0));}return(_0x2f149f===_0x3513c2(0x212)?String:Number)(_0x3fe510);}function _0x58c375(_0x42742a){const _0x1ff8d1=_0x2766d8;var _0x3cd669=_0x32d5a7(_0x42742a,'string');return _0x364a03(_0x3cd669)==_0x1ff8d1(0x1d8)?_0x3cd669:_0x3cd669+'';}function _0x2a4a7a(_0x56d789,_0x51e92c,_0x5188e7){const _0x372c92=_0x2766d8;return(_0x51e92c=_0x58c375(_0x51e92c))in _0x56d789?Object[_0x372c92(0x54e)](_0x56d789,_0x51e92c,{'value':_0x5188e7,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x56d789[_0x51e92c]=_0x5188e7,_0x56d789;}function _0x402546(_0x5e2852,_0x75487,_0x2712dc){const _0x3ab1be=_0x2766d8;let _0x46ba6e={..._0x75487,'dataModel':{..._0x75487[_0x3ab1be(0x272)]??{},..._0x2712dc?{'doc':_0x2712dc}:null}},_0xba6639=(0x0,_0x197fcc[_0x3ab1be(0x419)])(_0x5e2852,_0x46ba6e),_0x159240=(0x0,_0x197fcc[_0x3ab1be(0x52a)])(_0xba6639);return{'clip':(0x0,_0x197fcc[_0x3ab1be(0x2d8)])(_0xba6639,_0x159240),'wrapStrategy':_0x159240};}var _0x423ac6=class extends _0x580d8a[_0x2766d8(0x5e1)]{constructor(_0x39094c,_0x4d3958){const _0x363077=_0x2766d8;super(_0x39094c,_0x4d3958),_0x2a4a7a(this,_0x363077(0x244),[]),_0x2a4a7a(this,_0x363077(0x5df),void 0x0),_0x2a4a7a(this,_0x363077(0x426),new _0x197fcc['FormulaShapeAnimationController'](()=>this[_0x363077(0x3b2)](!0x0),()=>this[_0x363077(0x55d)]())),_0x2a4a7a(this,_0x363077(0x2b8),!0x0),_0x2a4a7a(this,_0x363077(0x592),_0x35d996[_0x363077(0x44f)][_0x363077(0x4ba)]),_0x2a4a7a(this,_0x363077(0x28c),!0x0),this[_0x363077(0x5df)]={..._0x4d3958},this[_0x363077(0x426)][_0x363077(0x5c3)](_0x4d3958['formulaPresentation'],_0x4d3958[_0x363077(0x2e5)]!==!0x1),this['_init'](),this[_0x363077(0x55d)]();}['_init'](){const _0x444c63=_0x2766d8;this[_0x444c63(0x33a)][_0x444c63(0x1dd)](_0x45fe7f=>{const _0x113572=_0x444c63;this[_0x113572(0x4fb)](_0x45fe7f);});}[_0x2766d8(0x596)](_0x232524){const _0x1fa606=_0x2766d8;this[_0x1fa606(0x5df)]['prstGeom']=_0x232524;}[_0x2766d8(0x3f9)](_0x490209){const _0x361a4a=_0x2766d8;if(this['_props'][_0x361a4a(0x23a)])return null;let _0x325998=this['getInverseCoord'](_0x490209),{width:_0x2b6740,height:_0x26b1af}=this[_0x361a4a(0x2ea)]();return(0x0,_0x197fcc[_0x361a4a(0x241)])(this[_0x361a4a(0x244)],{'x':(this[_0x361a4a(0x4f7)]?-_0x325998['x']:_0x325998['x'])+_0x2b6740/0x2,'y':_0x325998['y']+_0x26b1af/0x2});}['setEditing'](_0x11bfad){const _0x2bb400=_0x2766d8;this[_0x2bb400(0x5df)][_0x2bb400(0x23a)]=_0x11bfad,this[_0x2bb400(0x3b2)](!0x0);}['setFormulaPresentation'](_0x379af9,_0x45d20b=!0x0){const _0x52d591=_0x2766d8;this[_0x52d591(0x426)][_0x52d591(0x5c3)](_0x379af9,_0x45d20b),this[_0x52d591(0x5df)][_0x52d591(0x31c)]=_0x379af9,this[_0x52d591(0x55d)](),this['makeDirty'](!0x0);}[_0x2766d8(0x55d)](){const _0x4a0a22=_0x2766d8;let _0x359e14=this[_0x4a0a22(0x5df)]['shapeModel'],_0x1183bb=_0x359e14[_0x4a0a22(0x264)](),_0x4c6ef9=(0x0,_0x197fcc[_0x4a0a22(0x4e4)])(_0x1183bb==null?void 0x0:_0x1183bb[_0x4a0a22(0x272)]),_0x41c80c=_0x4c6ef9==null?void 0x0:_0x4c6ef9['doc'],_0x3578bc=this['_formulaAnimation'][_0x4a0a22(0x282)]();if(!_0x41c80c||_0x3578bc['length']===0x0)return;_0x359e14[_0x4a0a22(0x240)]({'width':this[_0x4a0a22(0x49e)],'height':this['height']});let _0x232292=(0x0,_0x197fcc[_0x4a0a22(0x4d7)])({'documentData':_0x3578bc[_0x4a0a22(0x4d8)](_0x469b29=>(0x0,_0x1ad5b7[_0x4a0a22(0x223)])(_0x41c80c,_0x469b29)),'height':this[_0x4a0a22(0x3f8)],'shapeData':_0x359e14['getShapeData'](),'textRect':_0x359e14[_0x4a0a22(0x315)]({'left':0x0,'top':0x0,'width':this[_0x4a0a22(0x49e)],'height':this[_0x4a0a22(0x3f8)]}),'width':this[_0x4a0a22(0x49e)]});if(_0x232292){var _0x54eaa2;this[_0x4a0a22(0x301)](_0x232292['width'],_0x232292['height']),(_0x54eaa2=this[_0x4a0a22(0x32c)]())==null||(_0x54eaa2=_0x54eaa2[_0x4a0a22(0x4e5)]())==null||_0x54eaa2[_0x4a0a22(0x2be)]();}}get[_0x2766d8(0x280)](){const _0x382ed3=_0x2766d8;return this[_0x382ed3(0x5df)][_0x382ed3(0x280)];}get[_0x2766d8(0x35e)](){return this['_props']['subUnitId'];}[_0x2766d8(0x4fb)](_0x2a2fe7){const _0x29c8bf=_0x2766d8;if(this[_0x29c8bf(0x5df)]['srcRect']==null||!this[_0x29c8bf(0x2b8)])return;let {width:_0x13fe9e,height:_0x297515}=this,{width:_0x3365f3=0x0,height:_0x5a47e8=0x0}=_0x2a2fe7['preValue'],{left:_0x148648=0x0,top:_0x387adc=0x0,right:_0x581611=0x0,bottom:_0x297ec7=0x0}=this[_0x29c8bf(0x5df)]['srcRect'],_0x23f2e7=_0x148648,_0x3df0f3=_0x387adc,_0x131869=_0x581611,_0x47bb6a=_0x297ec7,_0x3bcb24=!0x1;if(_0x3365f3!==0x0&&_0x3365f3!==_0x13fe9e){let _0x12e031=_0x148648/_0x3365f3,_0x2a2230=_0x581611/_0x3365f3;_0x23f2e7=_0x13fe9e*_0x12e031,_0x131869=_0x13fe9e*_0x2a2230,_0x3bcb24=!0x0;}if(_0x5a47e8!==0x0&&_0x5a47e8!==_0x297515){let _0x1e2c5a=_0x387adc/_0x5a47e8,_0x24ebef=_0x297ec7/_0x5a47e8;_0x3df0f3=_0x297515*_0x1e2c5a,_0x47bb6a=_0x297515*_0x24ebef,_0x3bcb24=!0x0;}_0x3bcb24&&this[_0x29c8bf(0x209)]({'left':_0x23f2e7,'top':_0x3df0f3,'right':_0x131869,'bottom':_0x47bb6a});}['setSrcRect'](_0x507326){const _0x727edf=_0x2766d8;this[_0x727edf(0x5df)][_0x727edf(0x402)]=_0x507326,this[_0x727edf(0x3b2)](!0x0);}[_0x2766d8(0x23c)](_0x29122b){const _0x4e2ab0=_0x2766d8;this[_0x4e2ab0(0x5df)][_0x4e2ab0(0x4c5)]=_0x29122b,this[_0x4e2ab0(0x3b2)](!0x0);}set['transform'](_0x1f00b3){this['_transform']=_0x1f00b3;}get['transform'](){const _0x25a1f7=_0x2766d8;this[_0x25a1f7(0x324)]||this[_0x25a1f7(0x243)]();let _0x2d9946=this[_0x25a1f7(0x324)][_0x25a1f7(0x3b7)]();return this[_0x25a1f7(0x379)](_0x2d9946);}get[_0x2766d8(0x513)](){const _0x1eae20=_0x2766d8;return this[_0x1eae20(0x5df)][_0x1eae20(0x513)];}get[_0x2766d8(0x2a8)](){const _0x143fdc=_0x2766d8;return this[_0x143fdc(0x5df)]['shapeId'];}get[_0x2766d8(0x3d2)](){const _0x4c4623=_0x2766d8;return _0x580d8a[_0x4c4623(0x5db)][_0x4c4623(0x465)];}[_0x2766d8(0x55f)](_0x53cba1,_0x4943d5,_0x38c020,_0x2df399){const _0xf1c935=_0x2766d8;let _0x471c76=this[_0xf1c935(0x5df)][_0xf1c935(0x513)];if(!_0x471c76||!_0x4943d5)return;let _0x206cc4=_0x38c020??this[_0xf1c935(0x49e)],_0x10dc56=_0x2df399??this[_0xf1c935(0x3f8)],_0x3ac528={'shapeType':_0x471c76[_0xf1c935(0x200)](),'width':_0x206cc4,'height':_0x10dc56},_0x238477={'renderMode':_0x1f2a15[_0xf1c935(0x3d5)][_0xf1c935(0x57f)],'oKey':this[_0xf1c935(0x5ca)],'image':this[_0xf1c935(0x5df)][_0xf1c935(0x4c5)],'angle':this[_0xf1c935(0x55b)]};_0x471c76['updateContext'](_0x3ac528),_0x53cba1[_0xf1c935(0x421)]();let _0x4e545b={'top':0x0,'left':0x0,'width':_0x206cc4,'height':_0x10dc56},_0x184124=_0x471c76[_0xf1c935(0x455)](_0x4e545b);_0x184124?this[_0xf1c935(0x59a)](_0x53cba1,_0x184124,_0x418500=>{_0x471c76['render'](_0x418500,_0x4e545b,_0x238477);}):(this['_releaseRenderCache'](),_0x471c76[_0xf1c935(0x477)](_0x53cba1,_0x4e545b,_0x238477)),_0x53cba1['restore']();let _0x3d60ea=_0x471c76[_0xf1c935(0x264)](),_0x35cc1e=_0x471c76['getShapeTextRect'](_0x4e545b),_0x2ee3ba=_0x471c76[_0xf1c935(0x329)]();if(_0x3d60ea&&_0x35cc1e&&!_0x2ee3ba){_0x53cba1[_0xf1c935(0x421)](),this[_0xf1c935(0x36b)]()[_0xf1c935(0x4f7)]&&_0x53cba1[_0xf1c935(0x327)](-0x1,0x1);let _0x4d3db5=_0x206cc4/0x2,_0x2fee93=_0x10dc56/0x2;_0x53cba1['translate'](-_0x4d3db5,-_0x2fee93),_0x53cba1[_0xf1c935(0x217)](),this[_0xf1c935(0x408)](_0x53cba1,_0x3d60ea,_0x35cc1e),_0x53cba1[_0xf1c935(0x37f)]();}}[_0x2766d8(0x34d)](_0x38c7df){}[_0x2766d8(0x408)](_0x4bf556,_0x3332af,_0x5d2751){const _0x253734=_0x2766d8;var _0x6c18d8;this['_hyperLinkRegions']=[],this[_0x253734(0x5df)][_0x253734(0x23a)]||(!((_0x6c18d8=_0x3332af[_0x253734(0x272)])!=null&&_0x6c18d8[_0x253734(0x55e)])&&_0x253734(0x51b)in _0x3332af&&_0x3332af[_0x253734(0x51b)]===!0x1?this[_0x253734(0x5e5)](_0x4bf556,_0x3332af,_0x5d2751):this['_drawRichText'](_0x4bf556,_0x3332af,_0x5d2751));}[_0x2766d8(0x5e5)](_0x4e0fa7,_0x476b25,_0x199cf7){const _0x115e4c=_0x2766d8;this['_drawRichText'](_0x4e0fa7,{..._0x476b25,'text':_0x476b25[_0x115e4c(0x23d)]??'','dataModel':{'doc':(0x0,_0x197fcc[_0x115e4c(0x24a)])(_0x476b25,_0x115e4c(0x3a2)+this[_0x115e4c(0x5ca)])}},_0x199cf7);}['_drawRichText'](_0x154128,_0xc6f233,_0x5ad4d5){const _0x5cd19f=_0x2766d8;(0x0,_0x197fcc[_0x5cd19f(0x305)])(_0x154128,this[_0x5cd19f(0x426)],(_0x3fb2b3,_0x56b97d,_0xe5ed3c)=>{const _0x23a6ff=_0x5cd19f;this[_0x23a6ff(0x1fd)](_0x3fb2b3,_0xc6f233,_0x5ad4d5,_0x56b97d,_0xe5ed3c==='current');});}[_0x2766d8(0x1fd)](_0x5091e5,_0x630531,_0x43091d,_0x2781fe,_0x65e860){const _0x277f98=_0x2766d8;let _0x5dee4c=this[_0x277f98(0x5df)]['localeService'];if(!_0x630531[_0x277f98(0x272)]||!_0x5dee4c)return;let _0x393fe2=(0x0,_0x197fcc[_0x277f98(0x4e4)])(_0x630531[_0x277f98(0x272)]);if(!_0x393fe2)return;let _0xbf1924=_0x393fe2[_0x277f98(0x55e)];if(!_0xbf1924)return;let _0x4197fd=(0x0,_0x1ad5b7['createShapeFormulaDocument'])(_0xbf1924,_0x2781fe),_0x390d6a=_0x393fe2['va']??_0x35d996['VerticalAlign']['TOP'],_0x1f5fab=_0x393fe2['ha']??_0x35d996[_0x277f98(0x57e)][_0x277f98(0x5a2)],_0x1683bc=_0x402546(this[_0x277f98(0x5df)]['shapeModel'][_0x277f98(0x583)](),_0x630531,_0x4197fd),_0x1b4b2f=_0x630531[_0x277f98(0x4f4)],_0x136dab=(0x0,_0x197fcc[_0x277f98(0x399)])(_0x4197fd,{'isHorizontal':_0x1b4b2f!==!0x1,'textRect':_0x43091d,'verticalAlign':_0x390d6a,'horizontalAlign':_0x1f5fab,'wrapStrategy':_0x1683bc[_0x277f98(0x3c3)]}),_0x2838b5=new _0x35d996[(_0x277f98(0x341))](_0x136dab),_0x5304a8=new _0x580d8a[(_0x277f98(0x2fe))](_0x2838b5),_0xf79db9=_0x580d8a['DocumentSkeleton'][_0x277f98(0x20f)](_0x5304a8,_0x5dee4c);_0xf79db9[_0x277f98(0x3dc)]();let _0xba85a7=_0xf79db9[_0x277f98(0x4ab)]()[_0x277f98(0x377)],_0x4d4c47=(0x0,_0x197fcc[_0x277f98(0x5cb)])({'contentHeight':_0xba85a7,'verticalAlign':_0x390d6a,'viewportHeight':_0x43091d[_0x277f98(0x3f8)]});_0x2838b5[_0x277f98(0x3ef)]({'pageSize':{'width':_0x1b4b2f===!0x1?_0x43091d['height']:_0x43091d['width'],'height':(0x0,_0x197fcc[_0x277f98(0x4ae)])(_0x4197fd,_0x4d4c47[_0x277f98(0x37e)])}}),_0x2838b5[_0x277f98(0x2c2)]({'t':_0x4d4c47['marginTop']}),_0xf79db9[_0x277f98(0x3dc)]();let _0x4631f9=new _0x580d8a[(_0x277f98(0x412))]('shape-text-'+this['oKey'],_0xf79db9,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x277f98(0x3b2)](!0x0)});_0x4631f9[_0x277f98(0x301)](_0x43091d[_0x277f98(0x49e)],_0x4d4c47['contentHeight']),_0x5091e5[_0x277f98(0x421)](),_0x5091e5[_0x277f98(0x4fd)](_0x43091d[_0x277f98(0x204)],_0x43091d[_0x277f98(0x414)]),_0x1683bc[_0x277f98(0x33e)]&&(_0x5091e5['beginPath'](),_0x5091e5[_0x277f98(0x249)](0x0,_0x4d4c47[_0x277f98(0x3c7)],_0x43091d[_0x277f98(0x49e)],_0x4d4c47[_0x277f98(0x48c)]),_0x5091e5[_0x277f98(0x33e)]()),_0x4d4c47['contentVerticalOffset']&&_0x5091e5['translateWithPrecision'](0x0,_0x4d4c47[_0x277f98(0x366)]),_0x4631f9['draw'](_0x5091e5),_0x65e860&&(this[_0x277f98(0x244)]=(0x0,_0x197fcc[_0x277f98(0x256)])(_0x4631f9,{'left':_0x43091d[_0x277f98(0x204)],'top':_0x43091d[_0x277f98(0x414)]+_0x4d4c47[_0x277f98(0x366)]},_0x1683bc[_0x277f98(0x33e)]?{'left':_0x43091d['left'],'right':_0x43091d[_0x277f98(0x204)]+_0x43091d[_0x277f98(0x49e)],'top':_0x43091d['top']+_0x4d4c47[_0x277f98(0x3c7)],'bottom':_0x43091d[_0x277f98(0x414)]+_0x4d4c47['clipTop']+_0x4d4c47[_0x277f98(0x48c)]}:void 0x0)),_0x5091e5[_0x277f98(0x37f)](),_0x4631f9[_0x277f98(0x2a4)](),_0xf79db9[_0x277f98(0x2a4)](),_0x5304a8['dispose'](),_0x2838b5['dispose']();}['render'](_0x4278d9,_0x5e2d8e,_0x27bb3b=!0x1){const _0x3c72db=_0x2766d8;if(!this[_0x3c72db(0x416)])return this[_0x3c72db(0x3b2)](!0x1),this;let {width:_0x2dabd0,height:_0x1581c0,left:_0x1deabf,top:_0x58f6d0}=this,_0x38da7a=this[_0x3c72db(0x2ea)]();if(_0x2dabd0=_0x38da7a['width'],_0x1581c0=_0x38da7a[_0x3c72db(0x3f8)],_0x1deabf=_0x38da7a['left'],_0x58f6d0=_0x38da7a[_0x3c72db(0x414)],this[_0x3c72db(0x5f0)](_0x5e2d8e)){let {top:_0x5acf58,left:_0x155a89,bottom:_0x1ec241,right:_0x399f8f}=_0x5e2d8e[_0x3c72db(0x428)];if(_0x2dabd0+this[_0x3c72db(0x46f)]+_0x1deabf<_0x155a89||_0x399f8f<_0x1deabf||_0x1581c0+this[_0x3c72db(0x46f)]+_0x58f6d0<_0x5acf58||_0x1ec241<_0x58f6d0)return this;}let _0x6d7377=_0x1deabf+_0x2dabd0/0x2,_0x547568=_0x58f6d0+_0x1581c0/0x2,_0x4a6e8d=this[_0x3c72db(0x339)][_0x3c72db(0x2ce)]();if(this[_0x3c72db(0x5df)]['isEditing']){let _0x4018ce=this[_0x3c72db(0x36b)](),_0x3dab58=new _0x580d8a[(_0x3c72db(0x1e4))]();_0x3dab58['composeMatrix']({..._0x4018ce}),_0x4a6e8d=_0x3dab58[_0x3c72db(0x2ce)]();}return _0x4278d9['save'](),this[_0x3c72db(0x5df)][_0x3c72db(0x513)][_0x3c72db(0x3e3)]===!0x0||_0x4278d9[_0x3c72db(0x339)](_0x4a6e8d[0x0],_0x4a6e8d[0x1],_0x4a6e8d[0x2],_0x4a6e8d[0x3],_0x6d7377,_0x547568),this[_0x3c72db(0x55f)](_0x4278d9,_0x5e2d8e,_0x2dabd0,_0x1581c0),_0x4278d9[_0x3c72db(0x37f)](),this[_0x3c72db(0x3b2)](!0x1),this;}[_0x2766d8(0x4bc)](_0x479ce2){const _0x105c52=_0x2766d8;let {left:_0x3ae51d,top:_0x1080dd,width:_0x555c9f,height:_0xa1b613}=this[_0x105c52(0x2ea)](),_0x4d99a0=this[_0x105c52(0x339)][_0x105c52(0x2ce)](),_0x3711c1=_0x3ae51d+_0x555c9f/0x2,_0x42f719=_0x1080dd+_0xa1b613/0x2,_0x19bb4a=new _0x580d8a[(_0x105c52(0x1e4))]([_0x4d99a0[0x0],_0x4d99a0[0x1],_0x4d99a0[0x2],_0x4d99a0[0x3],_0x3711c1,_0x42f719]),_0x1bd408=this['getParent']();return(this[_0x105c52(0x5aa)]&&(_0x1bd408==null?void 0x0:_0x1bd408[_0x105c52(0x3d2)])===_0x580d8a[_0x105c52(0x5db)][_0x105c52(0x552)]?_0x1bd408[_0x105c52(0x415)][_0x105c52(0x497)](_0x19bb4a):_0x19bb4a)[_0x105c52(0x535)]()[_0x105c52(0x3f0)](_0x479ce2);}[_0x2766d8(0x59e)](_0x2622ba){const _0x118b55=_0x2766d8;let {left:_0x4da7bf,top:_0x1f99e6,width:_0x1645c3,height:_0x4f5c79}=this[_0x118b55(0x2ea)](),_0x1d8569=_0x4da7bf+_0x1645c3/0x2,_0x3230f9=_0x1f99e6+_0x4f5c79/0x2,_0x1dd0c1=this['transform'][_0x118b55(0x2ce)](),_0x4dc1e6=new _0x580d8a[(_0x118b55(0x1e4))]([_0x1dd0c1[0x0],_0x1dd0c1[0x1],_0x1dd0c1[0x2],_0x1dd0c1[0x3],_0x1d8569,_0x3230f9]),_0x21eefc=this[_0x118b55(0x358)](),_0x510c43=(this[_0x118b55(0x5aa)]&&(_0x21eefc==null?void 0x0:_0x21eefc['classType'])===_0x580d8a[_0x118b55(0x5db)][_0x118b55(0x552)]?_0x21eefc[_0x118b55(0x415)]['multiply'](_0x4dc1e6):_0x4dc1e6)['invert']()[_0x118b55(0x3f0)](_0x2622ba),_0x5ec967=_0x1645c3/0x2,_0x7df90e=_0x4f5c79/0x2,_0x2c898b=this['_props'][_0x118b55(0x513)];return _0x2c898b&&_0x2c898b[_0x118b55(0x329)]()?_0x2c898b[_0x118b55(0x54c)](_0x510c43['x'],_0x510c43['y'],_0x1645c3,_0x4f5c79):_0x510c43['x']>=-_0x5ec967-this['strokeWidth']/0x2&&_0x510c43['x']<=_0x5ec967+this[_0x118b55(0x46f)]/0x2&&_0x510c43['y']>=-_0x7df90e-this['strokeWidth']/0x2&&_0x510c43['y']<=_0x7df90e+this[_0x118b55(0x46f)]/0x2;}[_0x2766d8(0x2a4)](){const _0x5871d5=_0x2766d8;this[_0x5871d5(0x426)][_0x5871d5(0x2a4)](),this[_0x5871d5(0x5df)][_0x5871d5(0x513)]=null,super[_0x5871d5(0x2a4)]();}},_0x56f3e0=class extends _0x580d8a[_0x2766d8(0x5e1)]{constructor(_0x1d4688,_0x3a8e9f){const _0x391830=_0x2766d8;super(_0x1d4688,_0x3a8e9f),_0x2a4a7a(this,_0x391830(0x2a9),null),_0x2a4a7a(this,_0x391830(0x433),null),_0x2a4a7a(this,_0x391830(0x370),null),_0x2a4a7a(this,_0x391830(0x3f6),null),_0x3a8e9f&&this[_0x391830(0x3ce)](_0x3a8e9f);}[_0x2766d8(0x4ce)](){const _0x94ed6c=_0x2766d8;return{'unitId':this[_0x94ed6c(0x370)],'subUnitId':this[_0x94ed6c(0x3f6)],'drawingId':this[_0x94ed6c(0x2a9)]};}[_0x2766d8(0x3ce)](_0x175aac){const _0x2bb987=_0x2766d8;_0x175aac[_0x2bb987(0x2a8)]!==void 0x0&&(this[_0x2bb987(0x2a9)]=_0x175aac['shapeId']),_0x175aac[_0x2bb987(0x4b1)]!==void 0x0&&(this[_0x2bb987(0x433)]=_0x175aac[_0x2bb987(0x4b1)]),_0x175aac[_0x2bb987(0x280)]!==void 0x0&&(this[_0x2bb987(0x370)]=_0x175aac[_0x2bb987(0x280)]),_0x175aac['subUnitId']!==void 0x0&&(this[_0x2bb987(0x3f6)]=_0x175aac['subUnitId']),this[_0x2bb987(0x3c4)]({'width':_0x175aac[_0x2bb987(0x49e)],'height':_0x175aac[_0x2bb987(0x3f8)]});}[_0x2766d8(0x55f)](_0xf1d155){const _0x15fa9c=_0x2766d8;_0x580d8a[_0x15fa9c(0x473)]['drawWith'](_0xf1d155,{'radius':_0x1f2a15[_0x15fa9c(0x540)][_0x15fa9c(0x259)],'fill':_0x1f2a15['ShapeDefaultConfig']['adjHandleFill'],'stroke':_0x1f2a15[_0x15fa9c(0x540)][_0x15fa9c(0x29f)],'strokeWidth':0x1,'evented':!0x0});}};function _0x400e7c(_0x37d405,_0x21ba7f){return function(_0x54e1af,_0x15824f){_0x21ba7f(_0x54e1af,_0x15824f,_0x37d405);};}function _0x39c461(_0x26b20b,_0x25d978,_0x5e1d94,_0x450172){const _0xe1e696=_0x2766d8;var _0x1168b5=arguments[_0xe1e696(0x2f1)],_0x46f38d=_0x1168b5<0x3?_0x25d978:_0x450172===null?_0x450172=Object[_0xe1e696(0x561)](_0x25d978,_0x5e1d94):_0x450172,_0x4fb26c;if(typeof Reflect=='object'&&typeof Reflect[_0xe1e696(0x417)]==_0xe1e696(0x53d))_0x46f38d=Reflect['decorate'](_0x26b20b,_0x25d978,_0x5e1d94,_0x450172);else{for(var _0x9f73d5=_0x26b20b[_0xe1e696(0x2f1)]-0x1;_0x9f73d5>=0x0;_0x9f73d5--)(_0x4fb26c=_0x26b20b[_0x9f73d5])&&(_0x46f38d=(_0x1168b5<0x3?_0x4fb26c(_0x46f38d):_0x1168b5>0x3?_0x4fb26c(_0x25d978,_0x5e1d94,_0x46f38d):_0x4fb26c(_0x25d978,_0x5e1d94))||_0x46f38d);}return _0x1168b5>0x3&&_0x46f38d&&Object[_0xe1e696(0x54e)](_0x25d978,_0x5e1d94,_0x46f38d),_0x46f38d;}let _0x319285=class extends _0x35d996['Disposable']{constructor(_0x3d264f,_0x259831,_0x4b9fb4,_0x21ed42,_0xf7a96d,_0x499855){const _0xe7a07a=_0x2766d8;super(),this[_0xe7a07a(0x482)]=_0x3d264f,this['_sheetsShapeService']=_0x259831,this[_0xe7a07a(0x2d4)]=_0x4b9fb4,this[_0xe7a07a(0x1fc)]=_0x21ed42,this[_0xe7a07a(0x521)]=_0xf7a96d,this[_0xe7a07a(0x538)]=_0x499855,_0x2a4a7a(this,_0xe7a07a(0x409),new Map()),this[_0xe7a07a(0x271)](this[_0xe7a07a(0x538)][_0xe7a07a(0x31a)][_0xe7a07a(0x56a)](_0x1e0500=>{const _0x465c56=_0xe7a07a;var _0x47173a;(_0x47173a=this['_formulaShapes'][_0x465c56(0x340)](this[_0x465c56(0x226)](_0x1e0500[_0x465c56(0x280)],_0x1e0500['subUnitId'],_0x1e0500[_0x465c56(0x2a8)])))==null||_0x47173a['forEach'](_0x206f15=>_0x206f15[_0x465c56(0x5e8)](_0x1e0500[_0x465c56(0x52e)],_0x1e0500[_0x465c56(0x4f3)]));})),this[_0xe7a07a(0x271)](this[_0xe7a07a(0x482)][_0xe7a07a(0x210)][_0xe7a07a(0x56a)](_0xdb2a54=>{const _0x14149f=_0xe7a07a;_0xdb2a54[_0x14149f(0x528)](_0x413122=>{const _0xbda9d1=_0x14149f;this[_0xbda9d1(0x409)]['delete'](this[_0xbda9d1(0x226)](_0x413122[_0xbda9d1(0x280)],_0x413122[_0xbda9d1(0x35e)],_0x413122[_0xbda9d1(0x314)]));});}));}[_0x2766d8(0x34a)](_0x55bfd5,_0x526c99,_0xedf193){const _0x6bf6cd=_0x2766d8;let {transform:_0x3dc3d5,drawingType:_0x379b25,isMultiTransform:_0x4122c6,transforms:_0x509323}=_0x55bfd5;if(_0x379b25===_0x35d996[_0x6bf6cd(0x44f)][_0x6bf6cd(0x4ba)]&&this[_0x6bf6cd(0x482)][_0x6bf6cd(0x42a)]()&&_0x3dc3d5)return(_0x4122c6&&_0x509323?_0x509323:[_0x3dc3d5])[_0x6bf6cd(0x29e)]((_0x1c9c09,_0x5c7307)=>{const _0xe159=_0x6bf6cd;var _0x349ff1;let _0x1b9249=(0x0,_0x2ed59f[_0xe159(0x2f2)])(_0x55bfd5,_0x4122c6?_0x5c7307:void 0x0),_0x5b9d2a=_0x526c99['getObjectIncludeInGroup'](_0x1b9249);if(_0x5b9d2a)return _0x5b9d2a instanceof _0x423ac6&&this[_0xe159(0x25d)](_0x5b9d2a,{'unitId':_0x55bfd5[_0xe159(0x280)],'subUnitId':_0x55bfd5[_0xe159(0x35e)],'shapeId':_0x55bfd5[_0xe159(0x314)]}),_0x5b9d2a[_0xe159(0x3c4)](_0x1c9c09),[];let _0x1fe3e3=this[_0xe159(0x50a)](_0x55bfd5,_0x1c9c09,_0x1b9249,_0x526c99);if(!_0x1fe3e3)return[];let _0x2283c0=this[_0xe159(0x1f2)](_0x1fe3e3,_0x1fe3e3[_0xe159(0x513)][_0xe159(0x583)]());return _0x2283c0&&(_0xedf193==null||(_0x349ff1=_0xedf193[_0xe159(0x347)])==null||_0x349ff1[_0xe159(0x294)](_0x2283c0)),[_0x1fe3e3];});}[_0x2766d8(0x50a)](_0x556c7e,_0x113b2c,_0x282b60,_0x590c18){const _0x51a1f7=_0x2766d8;let {unitId:_0x25e558,subUnitId:_0x438449,drawingId:_0x1029e6,groupId:_0x2e0585,hidden:_0x35ecf4,selectable:_0x3cd095,prstGeom:_0xedd07f,srcRect:_0x5f32a7}=_0x556c7e,_0x28aef5=this[_0x51a1f7(0x218)]['getShapeModel'](_0x25e558,_0x438449,_0x1029e6);if(!_0x28aef5)return;let _0x18ef41=this['_drawingManagerService'][_0x51a1f7(0x593)](_0x25e558,_0x438449),_0x4cae3c=_0x18ef41[_0x51a1f7(0x572)](_0x1029e6),_0x2bac21=(0x0,_0x1f2a15[_0x51a1f7(0x493)])(_0x28aef5['getShapeType']()),_0x4ecee9=_0x28aef5[_0x51a1f7(0x583)]()[_0x51a1f7(0x405)],_0x46ac47={'unitId':_0x25e558,'subUnitId':_0x438449,'shapeId':_0x1029e6};_0x4ecee9&&this[_0x51a1f7(0x538)]['register'](_0x46ac47,_0x4ecee9);let _0x3c4aca=new _0x423ac6(_0x282b60,{..._0x113b2c,'zIndex':_0x4cae3c===-0x1?_0x18ef41['length']-0x1:_0x4cae3c,'shapeModel':_0x28aef5,'drawingType':_0x35d996[_0x51a1f7(0x44f)][_0x51a1f7(0x4ba)],'localeService':this[_0x51a1f7(0x2d4)],'shapeId':_0x1029e6,'unitId':_0x25e558,'subUnitId':_0x438449,'visible':_0x35ecf4!==!0x0,'evented':_0x3cd095!==!0x1,'formulaPresentation':_0x4ecee9?this[_0x51a1f7(0x538)]['getPresentation'](_0x46ac47):void 0x0,'animateFormulaPresentation':(_0x4ecee9==null?void 0x0:_0x4ecee9[_0x51a1f7(0x4f3)])!==!0x1,'transformerConfig':{..._0x197fcc[_0x51a1f7(0x32e)],..._0x2bac21?{'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{},'moveBoundaryEnabled':!0x0}});if(_0x4ecee9){let _0x1ead49=this[_0x51a1f7(0x226)](_0x25e558,_0x438449,_0x1029e6),_0x551af4=this[_0x51a1f7(0x409)][_0x51a1f7(0x340)](_0x1ead49)??new Set();_0x551af4[_0x51a1f7(0x294)](_0x3c4aca),this[_0x51a1f7(0x409)][_0x51a1f7(0x39d)](_0x1ead49,_0x551af4);}return _0x590c18[_0x51a1f7(0x476)](_0x3c4aca,_0x580d8a['DRAWING_OBJECT_LAYER_INDEX']),this[_0x51a1f7(0x482)]['getDrawingEditable']()&&_0x590c18['attachTransformerTo'](_0x3c4aca),_0x2e0585&&(0x0,_0x2c4f7e[_0x51a1f7(0x446)])({'drawingId':_0x2e0585,'unitId':_0x25e558,'subUnitId':_0x438449},_0x3c4aca,_0x590c18,this[_0x51a1f7(0x482)]),_0xedd07f!=null&&_0x3c4aca[_0x51a1f7(0x596)](_0xedd07f),_0x5f32a7!=null&&_0x3c4aca['setSrcRect'](_0x5f32a7),_0x3c4aca;}[_0x2766d8(0x226)](_0xe46409,_0x3decba,_0x75f634){return _0xe46409+'\x00'+_0x3decba+'\x00'+_0x75f634;}['refreshFormulaPresentation'](_0x51470e,_0x43870c){const _0x1aee09=_0x2766d8;let _0x25015e=this['_sheetsShapeService'][_0x1aee09(0x338)](_0x43870c[_0x1aee09(0x280)],_0x43870c[_0x1aee09(0x35e)],_0x43870c[_0x1aee09(0x2a8)]),_0x1e800b=_0x25015e==null?void 0x0:_0x25015e[_0x1aee09(0x583)]()[_0x1aee09(0x405)],_0x1aebf7=this[_0x1aee09(0x226)](_0x43870c[_0x1aee09(0x280)],_0x43870c[_0x1aee09(0x35e)],_0x43870c[_0x1aee09(0x2a8)]);if(_0x1e800b){this[_0x1aee09(0x538)][_0x1aee09(0x495)](_0x43870c,_0x1e800b);let _0x3729e8=this['_formulaShapes'][_0x1aee09(0x340)](_0x1aebf7)??new Set();_0x3729e8[_0x1aee09(0x294)](_0x51470e),this[_0x1aee09(0x409)][_0x1aee09(0x39d)](_0x1aebf7,_0x3729e8);}else{var _0xdb4b21;this[_0x1aee09(0x538)][_0x1aee09(0x351)](_0x43870c),(_0xdb4b21=this[_0x1aee09(0x409)][_0x1aee09(0x340)](_0x1aebf7))==null||_0xdb4b21[_0x1aee09(0x292)](_0x51470e);}_0x51470e[_0x1aee09(0x5e8)](_0x1e800b?this['_shapeFormulaService'][_0x1aee09(0x1f6)](_0x43870c):void 0x0,(_0x1e800b==null?void 0x0:_0x1e800b[_0x1aee09(0x4f3)])!==!0x1);}['refreshShapeFillImage'](_0x24115f){const _0x186d63=_0x2766d8;let _0x38cc36=_0x24115f[_0x186d63(0x513)]['getShapeData'](),_0x46c905=_0x38cc36[_0x186d63(0x5ed)];!_0x46c905||_0x46c905[_0x186d63(0x1e7)]!==_0x1f2a15[_0x186d63(0x308)][_0x186d63(0x406)]||!_0x46c905['fillImageSource']?_0x24115f[_0x186d63(0x23c)](void 0x0):this[_0x186d63(0x1f2)](_0x24115f,_0x38cc36);}['_loadShapePictureFill'](_0x2016dd,_0x12ddbf){const _0x148d6d=_0x2766d8;let _0x1ee034=_0x12ddbf['fill'];if(!_0x1ee034||_0x1ee034['fillType']!==_0x1f2a15[_0x148d6d(0x308)][_0x148d6d(0x406)]||!_0x1ee034[_0x148d6d(0x4cd)])return;let _0x45bc5a=_0x1ee034[_0x148d6d(0x4cd)],_0x553a76=_0x1ee034[_0x148d6d(0x1e1)]??_0x1f2a15[_0x148d6d(0x22e)][_0x148d6d(0x568)],_0x5cba5a=this[_0x148d6d(0x1fc)][_0x148d6d(0x275)](_0x45bc5a,_0x553a76);if(_0x5cba5a)_0x2016dd['setFillImage'](_0x5cba5a);else return this['_loadAndSetImage'](_0x2016dd,_0x45bc5a,_0x553a76);}async[_0x2766d8(0x4d4)](_0x24876a,_0x14f977,_0x50ac8c){const _0x49e1c9=_0x2766d8;let _0x58cffd;try{if(_0x50ac8c===_0x1f2a15[_0x49e1c9(0x22e)][_0x49e1c9(0x393)])_0x58cffd=await this[_0x49e1c9(0x1fc)][_0x49e1c9(0x1ed)](_0x14f977);else{if(_0x50ac8c===_0x1f2a15[_0x49e1c9(0x22e)][_0x49e1c9(0x568)])try{_0x58cffd=await this[_0x49e1c9(0x521)][_0x49e1c9(0x1ed)](_0x14f977);}catch{_0x58cffd=_0x14f977;}else _0x58cffd=_0x14f977;}}catch(_0x221ba3){console['error'](_0x49e1c9(0x43f),_0x221ba3);return;}await new Promise(_0x4385ec=>{const _0x1fa87b=_0x49e1c9;let _0x24113f=new window[(_0x1fa87b(0x53a))]();_0x24113f[_0x1fa87b(0x32a)]=()=>{const _0x76a3f9=_0x1fa87b;this[_0x76a3f9(0x1fc)][_0x76a3f9(0x55a)](_0x14f977,_0x50ac8c,_0x24113f),_0x24876a[_0x76a3f9(0x23c)](_0x24113f),_0x4385ec();},_0x24113f[_0x1fa87b(0x3af)]=()=>{const _0x2d935c=_0x1fa87b;console[_0x2d935c(0x522)](_0x2d935c(0x588),_0x14f977),_0x4385ec();},_0x24113f[_0x1fa87b(0x4ed)]=_0x58cffd;});}};_0x319285=_0x39c461([_0x400e7c(0x0,_0x2ed59f[_0x2766d8(0x554)]),_0x400e7c(0x1,(0x0,_0x35d996['Inject'])(_0x565640[_0x2766d8(0x248)])),_0x400e7c(0x2,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x35d996[_0x2766d8(0x5d0)])),_0x400e7c(0x3,_0x35d996[_0x2766d8(0x27e)]),_0x400e7c(0x4,_0x35d996['IURLImageService']),_0x400e7c(0x5,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x1ad5b7[_0x2766d8(0x47c)]))],_0x319285);let _0x36f6fd=class extends _0x35d996['Disposable']{constructor(_0x4980b5,_0x594a13,_0x380290,_0x145922,_0x455268,_0x137c7e){const _0x7db71c=_0x2766d8;super(),this[_0x7db71c(0x482)]=_0x4980b5,this['_sheetsShapeService']=_0x594a13,this[_0x7db71c(0x4bb)]=_0x380290,this[_0x7db71c(0x316)]=_0x145922,this[_0x7db71c(0x251)]=_0x455268,this['_commandService']=_0x137c7e,_0x2a4a7a(this,_0x7db71c(0x2bb),null),_0x2a4a7a(this,_0x7db71c(0x370),null),_0x2a4a7a(this,'_subUnitId',null),_0x2a4a7a(this,_0x7db71c(0x384),void 0x0),_0x2a4a7a(this,_0x7db71c(0x298),[]),_0x2a4a7a(this,_0x7db71c(0x5eb),0x0),_0x2a4a7a(this,_0x7db71c(0x5b8),0x0),_0x2a4a7a(this,'_baseShapeWidth',0x0),_0x2a4a7a(this,_0x7db71c(0x44a),0x0),_0x2a4a7a(this,_0x7db71c(0x52c),!0x1),_0x2a4a7a(this,'_activeAdjustInfo',void 0x0),_0x2a4a7a(this,_0x7db71c(0x5a7),void 0x0),_0x2a4a7a(this,_0x7db71c(0x22c),void 0x0),_0x2a4a7a(this,_0x7db71c(0x376),void 0x0),_0x2a4a7a(this,_0x7db71c(0x2dc),!0x1),this['_registerDrawingFocusChangeHandler'](),this['_registerDrawingMoveHandler']();}['_getShapeAdjustPointListById'](_0x53616f,_0x431374,_0x5a067c){const _0x41e419=_0x2766d8;let _0x4e25d5=this[_0x41e419(0x218)]['getShapeModel'](_0x53616f,_0x431374,_0x5a067c);if(_0x4e25d5)return _0x4e25d5[_0x41e419(0x34d)]();}[_0x2766d8(0x4b7)](){this['_clearShapeAdjustControls']();}['refreshAdjustControls'](){const _0x1c134c=_0x2766d8;this[_0x1c134c(0x432)](!0x0);}['setShouldShowAdjust'](_0x2865ca){const _0x2fb729=_0x2766d8;this[_0x2fb729(0x2dc)]=_0x2865ca;}[_0x2766d8(0x1d4)](_0xc41dbb,_0x337c9d,_0x340413,_0x4e21aa){const _0x450af8=_0x2766d8;let _0x42e7bf=this[_0x450af8(0x218)][_0x450af8(0x338)](_0xc41dbb,_0x337c9d,_0x340413);if(_0x42e7bf)return _0x42e7bf[_0x450af8(0x5a4)](_0x4e21aa);}[_0x2766d8(0x343)](_0x590869=!0x1){const _0xef3b37=_0x2766d8;if(this[_0xef3b37(0x370)]===null||this[_0xef3b37(0x3f6)]===null||this[_0xef3b37(0x2bb)]===null)return;let _0x785c45=this[_0xef3b37(0x4bb)][_0xef3b37(0x4ee)](this[_0xef3b37(0x370)]);if(!_0x785c45||!_0x785c45['with'](_0x590c15['SheetSkeletonManagerService'])['getCurrentSkeleton']())return;let {scene:_0x11aab1}=_0x785c45,_0xa50679={'unitId':this[_0xef3b37(0x370)],'subUnitId':this[_0xef3b37(0x3f6)],'drawingId':this[_0xef3b37(0x2bb)]},_0x4e5496=this[_0xef3b37(0x482)][_0xef3b37(0x26d)](_0xa50679),{transform:_0x9f4e71}=_0x4e5496;if(!_0x9f4e71||_0x4e5496[_0xef3b37(0x313)]!==_0x35d996[_0xef3b37(0x44f)][_0xef3b37(0x4ba)])return;let {left:_0x56c393,top:_0x7658d5,width:_0xd25c0b,height:_0x47c907,flipX:_0x2efe5a,flipY:_0x1e3aa9,angle:_0x4302a6=0x0}=_0x9f4e71;if(_0x56c393===void 0x0||_0x7658d5===void 0x0)return;if(_0x590869){let _0x342b5d=this[_0xef3b37(0x218)][_0xef3b37(0x338)](this['_unitId'],this[_0xef3b37(0x3f6)],this[_0xef3b37(0x2bb)]);_0x342b5d==null||_0x342b5d['updateContext']({'width':_0xd25c0b??0x0,'height':_0x47c907??0x0}),this[_0xef3b37(0x384)]=_0x342b5d==null?void 0x0:_0x342b5d[_0xef3b37(0x34d)]();}let _0x924a3d=this[_0xef3b37(0x384)];for(let _0x4d8671=0x0;_0x4d8671<_0x924a3d[_0xef3b37(0x2f1)];_0x4d8671++){let _0x43a76b=_0x924a3d[_0x4d8671],_0x3024ec=_0x43a76b['x'],_0x3dc532=_0x43a76b['y'];if(_0x2efe5a&&(_0x3024ec=(_0xd25c0b||0x0)-_0x3024ec),_0x1e3aa9&&(_0x3dc532=(_0x47c907||0x0)-_0x3dc532),_0x4302a6!==0x0){let _0xa57821=(_0xd25c0b||0x0)/0x2,_0x26a9a7=(_0x47c907||0x0)/0x2,_0x8e1a5d=_0x4302a6*Math['PI']/0xb4,_0x33ec52=Math[_0xef3b37(0x448)](_0x8e1a5d),_0x3acd0d=Math['sin'](_0x8e1a5d),_0x3498c5=_0x3024ec-_0xa57821,_0x3736a3=_0x3dc532-_0x26a9a7;_0x3024ec=_0xa57821+(_0x3498c5*_0x33ec52-_0x3736a3*_0x3acd0d),_0x3dc532=_0x26a9a7+(_0x3498c5*_0x3acd0d+_0x3736a3*_0x33ec52);}let _0x4c6964={'x':_0x3024ec,'y':_0x3dc532,'adjName':_0x43a76b[_0xef3b37(0x4b1)]};this[_0xef3b37(0x1e5)](_0x11aab1,_0x4c6964,_0x4c6964[_0xef3b37(0x4b1)],_0x56c393,_0x7658d5,this['_unitId'],this[_0xef3b37(0x3f6)]);}}[_0x2766d8(0x432)](_0x49365a=!0x1){_0x49365a&&(this['_clearShapeAdjustControls'](),this['_createShapeAdjustControls'](_0x49365a));}[_0x2766d8(0x1e5)](_0x48711d,_0x4e671f,_0x2f2c1b,_0x866fea,_0x4cba24,_0xf04a7b,_0x8f247f){const _0xcf6c89=_0x2766d8;if(!this['_activeShapeId'])return;let _0x4400b6=_0x48711d[_0xcf6c89(0x1e9)](_0xcf6c89(0x5b2)+this[_0xcf6c89(0x2bb)]+'-'+_0x2f2c1b);if(_0x4400b6){_0x4400b6['transformByState']({'left':_0x4e671f['x']+_0x866fea-_0x1f2a15[_0xcf6c89(0x540)][_0xcf6c89(0x259)],'top':_0x4e671f['y']+_0x4cba24-_0x1f2a15[_0xcf6c89(0x540)][_0xcf6c89(0x259)]});return;}let _0x35445a={'left':_0x4e671f['x']+_0x866fea-_0x1f2a15[_0xcf6c89(0x540)]['adjHandleSize'],'top':_0x4e671f['y']+_0x4cba24-_0x1f2a15[_0xcf6c89(0x540)][_0xcf6c89(0x259)],'adjName':_0x2f2c1b,'shapeId':this[_0xcf6c89(0x2bb)],'unitId':_0xf04a7b,'subUnitId':_0x8f247f,'width':_0x1f2a15[_0xcf6c89(0x540)]['adjHandleSize']+0x8,'height':_0x1f2a15[_0xcf6c89(0x540)][_0xcf6c89(0x259)]+0x8,'zIndex':_0x580d8a['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0},_0x18a3dd=new _0x56f3e0(_0xcf6c89(0x5b2)+this['_activeShapeId']+'-'+_0x2f2c1b,_0x35445a);this[_0xcf6c89(0x298)][_0xcf6c89(0x373)](_0x18a3dd),this[_0xcf6c89(0x4ac)](_0x18a3dd,_0x48711d,_0x2f2c1b),_0x48711d[_0xcf6c89(0x476)](_0x18a3dd,_0x580d8a[_0xcf6c89(0x424)]+0x1);}[_0x2766d8(0x506)](){const _0x432409=_0x2766d8;this[_0x432409(0x298)][_0x432409(0x2f1)]!==0x0&&(this[_0x432409(0x298)]['forEach'](_0x1aae83=>{const _0x318b68=_0x432409;_0x1aae83[_0x318b68(0x2a4)]();}),this['_shapes']=[]);}[_0x2766d8(0x569)](){const _0x365ee4=_0x2766d8;this[_0x365ee4(0x343)]();}[_0x2766d8(0x3fe)](_0x578b12,_0x4b5da9){const _0xcc5be3=_0x2766d8;var _0x384729;let _0x57e067={'x':0x0,'y':0x0};if(!_0x578b12||!_0x4b5da9)return _0x57e067;let _0x48d475=this[_0xcc5be3(0x4bb)][_0xcc5be3(0x4ee)](_0x578b12);if(!_0x48d475||!_0x48d475[_0xcc5be3(0x28f)](_0x590c15[_0xcc5be3(0x599)])[_0xcc5be3(0x4d9)](_0x4b5da9))return _0x57e067;let _0x1c312=_0x48d475['with'](_0x590c15[_0xcc5be3(0x258)]),_0x3d2607=_0x1c312==null?void 0x0:_0x1c312['getCurrentScrollState']();if(!_0x3d2607)return _0x57e067;let _0x1949b8=(_0x384729=this[_0xcc5be3(0x251)][_0xcc5be3(0x438)](_0x578b12))==null?void 0x0:_0x384729[_0xcc5be3(0x456)](_0x4b5da9);if(!_0x1949b8)return _0x57e067;let _0x764770=(0x0,_0x590c15[_0xcc5be3(0x2a6)])(_0x3d2607[_0xcc5be3(0x474)],_0x3d2607[_0xcc5be3(0x527)],_0x48d475[_0xcc5be3(0x394)],_0x1949b8);return _0x764770?{'x':_0x764770['viewportScrollX'],'y':_0x764770['viewportScrollY']}:_0x57e067;}[_0x2766d8(0x4fe)](_0x18bc1d,_0x2d0013){const _0x14cd60=_0x2766d8;var _0x46eba9;let _0x52bd1d=(_0x46eba9=this['_univerInstanceService'][_0x14cd60(0x438)](_0x18bc1d))==null?void 0x0:_0x46eba9[_0x14cd60(0x456)](_0x2d0013);return(_0x52bd1d==null?void 0x0:_0x52bd1d['getZoomRatio']())??0x1;}[_0x2766d8(0x4ac)](_0xb2ea18,_0x397e91,_0x160fb3){const _0x11b05b=_0x2766d8;this[_0x11b05b(0x271)]((0x0,_0x35d996[_0x11b05b(0x306)])(_0xb2ea18[_0x11b05b(0x46c)][_0x11b05b(0x1dd)]((_0x2a6bf7,_0x3e9ae5)=>{const _0x2615ec=_0x11b05b;var _0x3f711c,_0x15627c,_0x266a19,_0x392025;let _0x4c4292=_0xb2ea18[_0x2615ec(0x4ce)]();this[_0x2615ec(0x261)]=this[_0x2615ec(0x1d4)](_0x4c4292['unitId'],_0x4c4292[_0x2615ec(0x35e)],_0x4c4292[_0x2615ec(0x314)],_0x160fb3),this[_0x2615ec(0x5a7)]=this[_0x2615ec(0x218)][_0x2615ec(0x338)](_0x4c4292[_0x2615ec(0x280)],_0x4c4292[_0x2615ec(0x35e)],_0x4c4292[_0x2615ec(0x314)]);let _0x3da19a=this[_0x2615ec(0x482)][_0x2615ec(0x26d)]({'unitId':this[_0x2615ec(0x370)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x2615ec(0x2bb)]}),{transform:_0x5d1de7}=_0x3da19a;if(_0x5d1de7){let {left:_0x23d748,top:_0x4b5005,width:_0x570122,height:_0x16d394}=_0x5d1de7;this[_0x2615ec(0x5eb)]=_0x23d748||0x0,this[_0x2615ec(0x5b8)]=_0x4b5005||0x0,this[_0x2615ec(0x5ee)]=_0x570122||0x0,this['_baseShapeHeight']=_0x16d394||0x0;}let _0xfef936=!!((_0x3f711c=_0x3da19a[_0x2615ec(0x339)])!=null&&_0x3f711c[_0x2615ec(0x4f7)]),_0x4a28ea=!!((_0x15627c=_0x3da19a[_0x2615ec(0x339)])!=null&&_0x15627c[_0x2615ec(0x21d)]),_0x19bf70=((_0x266a19=_0x3da19a['transform'])==null?void 0x0:_0x266a19['angle'])||0x0;this[_0x2615ec(0x52c)]=!0x0,_0x397e91[_0x2615ec(0x4fa)]();let _0x4fd673={...((_0x392025=this['_activeAdjustInfo'])==null?void 0x0:_0x392025[_0x2615ec(0x299)])??{}};this[_0x2615ec(0x22c)]=_0x397e91[_0x2615ec(0x5dc)][_0x2615ec(0x1dd)]((_0x377482,_0x299391)=>{const _0x39d62c=_0x2615ec;if(!this[_0x39d62c(0x52c)])return;let {offsetX:_0x9cd24,offsetY:_0x5be82a}=_0x377482,_0x55417d=this[_0x39d62c(0x261)];if(this['_activeShapeModel']&&_0x55417d){_0x397e91[_0x39d62c(0x4fa)](),_0x397e91[_0x39d62c(0x589)](_0x580d8a[_0x39d62c(0x5ac)][_0x39d62c(0x1ea)]);let _0x6946ff={'left':0x0,'top':0x0,'width':this[_0x39d62c(0x5ee)],'height':this[_0x39d62c(0x44a)]},_0x58de51=this[_0x39d62c(0x3fe)](this[_0x39d62c(0x370)],this[_0x39d62c(0x3f6)]),_0x4684e3=this[_0x39d62c(0x4fe)](this[_0x39d62c(0x370)],this['_subUnitId']),_0x571b51=_0x9cd24/_0x4684e3+_0x58de51['x']-this[_0x39d62c(0x5eb)],_0x1d03ec=_0x5be82a/_0x4684e3+_0x58de51['y']-this[_0x39d62c(0x5b8)];if(_0x19bf70!==0x0){let _0x3cbc4b=this[_0x39d62c(0x5ee)]/0x2,_0x3980b7=this[_0x39d62c(0x44a)]/0x2,_0x34355b=_0x19bf70*Math['PI']/0xb4,_0x30e738=Math[_0x39d62c(0x448)](_0x34355b),_0x4cd8c1=Math[_0x39d62c(0x570)](_0x34355b),_0xdfc212=_0x571b51-_0x3cbc4b,_0x234d69=_0x1d03ec-_0x3980b7;_0x571b51=_0x3cbc4b+(_0xdfc212*_0x30e738+_0x234d69*_0x4cd8c1),_0x1d03ec=_0x3980b7+(-_0xdfc212*_0x4cd8c1+_0x234d69*_0x30e738);}_0xfef936&&(_0x571b51=this[_0x39d62c(0x5ee)]-_0x571b51),_0x4a28ea&&(_0x1d03ec=this[_0x39d62c(0x44a)]-_0x1d03ec);let _0x152c1b={'x':_0x571b51,'y':_0x1d03ec},_0x122ef3=this[_0x39d62c(0x5a7)][_0x39d62c(0x38c)](_0x6946ff,_0x152c1b,_0x55417d,_0xfef936,_0x4a28ea);if(Object[_0x39d62c(0x38e)](_0x122ef3)[_0x39d62c(0x2f1)]===0x0)return;for(let [_0x4078b2,_0xa42885]of Object['entries'](_0x122ef3))this['_activeShapeModel'][_0x39d62c(0x3ae)](_0x4078b2,_0xa42885);this['_activeShapeModel']['updateContext']({'width':this['_baseShapeWidth'],'height':this[_0x39d62c(0x44a)]});let _0x5d8458=this['_drawingManagerService']['getDrawingByParam']({'unitId':_0x4c4292[_0x39d62c(0x280)],'subUnitId':_0x4c4292[_0x39d62c(0x35e)],'drawingId':_0x4c4292['drawingId']});_0x5d8458&&(this['_sheetDrawingShapeRenderController'][_0x39d62c(0x34a)](_0x5d8458,_0x397e91),this[_0x39d62c(0x384)]=this[_0x39d62c(0x594)](_0x4c4292[_0x39d62c(0x280)],_0x4c4292[_0x39d62c(0x35e)],_0x4c4292[_0x39d62c(0x314)]),this[_0x39d62c(0x569)]());}_0x299391[_0x39d62c(0x5c7)]();}),this[_0x2615ec(0x376)]=_0x397e91['onPointerUp$']['subscribeEvent']((_0x1d4b28,_0xa4953d)=>{const _0x38600b=_0x2615ec;this[_0x38600b(0x22c)]['unsubscribe'](),this[_0x38600b(0x376)][_0x38600b(0x2c9)](),_0x397e91[_0x38600b(0x4af)]();let _0x3d5c4d=this[_0x38600b(0x261)];if(_0x3d5c4d){let _0x2a8903=_0x4c4292[_0x38600b(0x280)],_0x497aea=_0x4c4292[_0x38600b(0x35e)],_0xf18924=_0x4c4292[_0x38600b(0x314)],_0x3c2d37={};for(let _0x449b48 of Object['keys'](_0x3d5c4d['currentAdjustValues'])){var _0x1fd3a5;let _0x74380c=(_0x1fd3a5=this[_0x38600b(0x5a7)])==null?void 0x0:_0x1fd3a5[_0x38600b(0x28b)](_0x449b48);_0x74380c!==void 0x0&&(_0x3c2d37[_0x449b48]=_0x74380c);}Object[_0x38600b(0x38e)](_0x3c2d37)[_0x38600b(0x2f1)]>0x0&&_0x5b243b(this['_commandService'],_0x2a8903,_0x497aea,_0xf18924,{'oldShapeData':{'adjustValues':_0x4fd673}},{'adjustValues':_0x3c2d37});}this[_0x38600b(0x261)]=void 0x0,this[_0x38600b(0x5a7)]=void 0x0,this['_isStartAdjusting']=!0x1,_0xa4953d[_0x38600b(0x5c7)](),_0x397e91[_0x38600b(0x3eb)]();}),_0x3e9ae5[_0x2615ec(0x5c7)]();})));}[_0x2766d8(0x2a5)](){const _0x1e8c33=_0x2766d8;let _0x5da78f=this['_univerInstanceService']['getCurrentTypeOfUnit$'](_0x35d996[_0x1e8c33(0x31d)][_0x1e8c33(0x3de)]);this['disposeWithMe'](_0x5da78f[_0x1e8c33(0x21c)]((0x0,_0x4737d9['switchMap'])(_0x375188=>_0x375188?_0x375188[_0x1e8c33(0x435)][_0x1e8c33(0x21c)]((0x0,_0x4737d9['switchMap'])(_0x3364ee=>{const _0x5b2b98=_0x1e8c33;if(!_0x3364ee)return _0x4737d9['EMPTY'];let _0x17a837=_0x375188[_0x5b2b98(0x331)](),_0x39bfd4=this[_0x5b2b98(0x4bb)][_0x5b2b98(0x4ee)](_0x17a837),_0x339b67=_0x39bfd4==null?void 0x0:_0x39bfd4[_0x5b2b98(0x394)];return _0x339b67?(0x0,_0x4737d9['of'])(_0x339b67):_0x4737d9[_0x5b2b98(0x486)];})):_0x4737d9[_0x1e8c33(0x486)]))[_0x1e8c33(0x56a)](_0x1c67f6=>{const _0x488904=_0x1e8c33;let _0x30c6cc=_0x1c67f6[_0x488904(0x40c)]();this[_0x488904(0x271)](_0x1c67f6[_0x488904(0x5dc)]['subscribeEvent'](()=>{const _0x24402d=_0x488904;this[_0x24402d(0x2dc)];})),this[_0x488904(0x271)](_0x30c6cc['changeStart$'][_0x488904(0x56a)](_0x38bca0=>{const _0x2fcf31=_0x488904;let {objects:_0x55db48}=_0x38bca0;this[_0x2fcf31(0x343)](),_0x55db48!==null&&_0x55db48[_0x2fcf31(0x22b)]===0x1&&_0x55db48[_0x2fcf31(0x3bf)]()[_0x2fcf31(0x439)]()[_0x2fcf31(0x58f)]instanceof _0x423ac6&&this['setShouldShowAdjust'](!0x0);})),this[_0x488904(0x271)](_0x30c6cc[_0x488904(0x5b0)][_0x488904(0x56a)](()=>{const _0x38557f=_0x488904;this['_isShouldShowDrawingShapeAdjust']&&this[_0x38557f(0x506)]();})),this[_0x488904(0x271)](_0x1c67f6['onPointerUp$']['subscribeEvent'](()=>{const _0x2ea54e=_0x488904;this[_0x2ea54e(0x2dc)]&&(this[_0x2ea54e(0x230)](!0x1),this[_0x2ea54e(0x343)]());})),this['disposeWithMe'](_0x30c6cc[_0x488904(0x34e)][_0x488904(0x56a)](()=>{const _0x3e2275=_0x488904;this['_unitId']&&this[_0x3e2275(0x3f6)]&&this['_activeShapeId']&&this[_0x3e2275(0x482)][_0x3e2275(0x26d)]({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this[_0x3e2275(0x2bb)]})&&(this[_0x3e2275(0x384)]=this['_getShapeAdjustPointListById'](this['_unitId'],this[_0x3e2275(0x3f6)],this['_activeShapeId']),this[_0x3e2275(0x569)]());}));}));}[_0x2766d8(0x425)](){const _0x55499d=_0x2766d8;this[_0x55499d(0x271)](this[_0x55499d(0x54f)][_0x55499d(0x3f5)](_0x14aaea=>{const _0x471e81=_0x55499d;if(_0x14aaea['id']!==_0x565640[_0x471e81(0x229)]['id'])return;let {unitId:_0x2b6aa3,subUnitId:_0x4a0aa3,shapeId:_0x293adf}=_0x14aaea[_0x471e81(0x1db)];_0x2b6aa3===this['_unitId']&&_0x4a0aa3===this[_0x471e81(0x3f6)]&&_0x293adf===this[_0x471e81(0x2bb)]&&this[_0x471e81(0x2b2)]();})),this[_0x55499d(0x271)](this[_0x55499d(0x482)]['focus$'][_0x55499d(0x56a)](_0x9a63ed=>{const _0x289bad=_0x55499d;if(_0x9a63ed[_0x289bad(0x2f1)]===0x1){let _0x51ae6b=_0x9a63ed[0x0];if(_0x51ae6b[_0x289bad(0x313)]===_0x35d996[_0x289bad(0x44f)][_0x289bad(0x4ba)]&&this['_univerInstanceService'][_0x289bad(0x29d)](_0x51ae6b[_0x289bad(0x280)])===_0x35d996[_0x289bad(0x31d)][_0x289bad(0x3de)]){this[_0x289bad(0x2bb)]=_0x51ae6b[_0x289bad(0x314)];let {unitId:_0x1152e2,subUnitId:_0x564b98}=_0x51ae6b;this[_0x289bad(0x384)]=this[_0x289bad(0x594)](_0x1152e2,_0x564b98,this[_0x289bad(0x2bb)]),this[_0x289bad(0x370)]=_0x1152e2,this[_0x289bad(0x3f6)]=_0x564b98,this[_0x289bad(0x506)](),this['_createShapeAdjustControls']();return;}}this[_0x289bad(0x2bb)]=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x289bad(0x370)]=null,this[_0x289bad(0x3f6)]=null,this[_0x289bad(0x506)]();})),this[_0x55499d(0x271)](this[_0x55499d(0x482)][_0x55499d(0x59c)][_0x55499d(0x56a)](_0x242a2b=>{const _0x465786=_0x55499d;if(_0x242a2b['length']===0x1){var _0x514fda;let _0x122699=_0x242a2b[0x0];((_0x514fda=this['_drawingManagerService'][_0x465786(0x26d)](_0x122699))==null?void 0x0:_0x514fda[_0x465786(0x313)])===_0x35d996['DrawingTypeEnum'][_0x465786(0x4ba)]&&this[_0x465786(0x432)](!0x0);}})),this[_0x55499d(0x271)](this[_0x55499d(0x482)][_0x55499d(0x210)][_0x55499d(0x56a)](_0x40e8c9=>{const _0x1f5529=_0x55499d;for(let _0x476813 of _0x40e8c9)this[_0x1f5529(0x2bb)]===_0x476813[_0x1f5529(0x314)]&&(this[_0x1f5529(0x2bb)]=null,this[_0x1f5529(0x384)]=void 0x0,this['_unitId']=null,this[_0x1f5529(0x3f6)]=null,this[_0x1f5529(0x506)]());}));}};_0x36f6fd=_0x39c461([_0x400e7c(0x0,_0x2ed59f[_0x2766d8(0x554)]),_0x400e7c(0x1,(0x0,_0x35d996['Inject'])(_0x565640['SheetsShapeService'])),_0x400e7c(0x2,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x580d8a['IRenderManagerService'])),_0x400e7c(0x3,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x319285)),_0x400e7c(0x4,_0x35d996['IUniverInstanceService']),_0x400e7c(0x5,_0x35d996[_0x2766d8(0x3c6)])],_0x36f6fd);let _0x482521={'id':_0x2766d8(0x3bb),'type':_0x35d996['CommandType'][_0x2766d8(0x225)],'handler':(_0x4cbaef,_0x39170b)=>{const _0x22c91e=_0x2766d8;let _0x5c4f22=_0x4cbaef[_0x22c91e(0x340)](_0x2ed59f[_0x22c91e(0x554)]),_0x44d219=_0x4cbaef[_0x22c91e(0x340)](_0x580d8a[_0x22c91e(0x266)]),_0x376da0=_0x4cbaef[_0x22c91e(0x340)](_0x36f6fd);if(_0x39170b==null)return!0x0;if(_0x39170b[_0x22c91e(0x2f1)]>0x0){var _0x5aa57a;let _0x440eb3=(_0x5aa57a=_0x44d219[_0x22c91e(0x4ee)](_0x39170b[0x0][_0x22c91e(0x280)]))==null?void 0x0:_0x5aa57a[_0x22c91e(0x394)];if(_0x440eb3){let {unitId:_0x3b54ea,subUnitId:_0x5f16e9,drawingId:_0x31c684}=_0x39170b[0x0],_0xf79a9c=(0x0,_0x2ed59f[_0x22c91e(0x2f2)])({'unitId':_0x3b54ea,'subUnitId':_0x5f16e9,'drawingId':_0x31c684},void 0x0),_0x2d993a=_0x440eb3[_0x22c91e(0x1e9)](_0xf79a9c);if(_0x2d993a){var _0x5da862;(_0x5da862=_0x44d219[_0x22c91e(0x4ee)](_0x39170b[0x0][_0x22c91e(0x280)]))==null||(_0x5da862=_0x5da862[_0x22c91e(0x394)]['getTransformer']())==null||_0x5da862[_0x22c91e(0x3b8)](_0x2d993a);}}_0x5c4f22[_0x22c91e(0x2f5)](_0x39170b),_0x376da0['setShouldShowAdjust'](!0x1);}return!0x0;}},_0x3a6254={'type':_0x35d996[_0x2766d8(0x309)][_0x2766d8(0x56b)],'id':_0x2766d8(0x34c),'handler':async(_0x4f9223,_0x25fd07)=>{const _0x52eaed=_0x2766d8;var _0x1b0801,_0x3dc479;let _0x3bb4d4=(0x0,_0x2a684c[_0x52eaed(0x231)])(_0x4f9223['get'](_0x35d996['IUniverInstanceService']));if(!_0x3bb4d4)return!0x1;let {unitId:_0xf5b17a,subUnitId:_0x41c108,worksheet:_0x502bbe}=_0x3bb4d4,_0x3b5b56=_0x502bbe['getConfig'](),_0x2939b3=_0x3b5b56['type']??_0x35d996[_0x52eaed(0x45d)]['GRID'];if(_0x2939b3!==_0x35d996['SheetTypes'][_0x52eaed(0x45a)]&&_0x2939b3!==_0x35d996['SheetTypes']['CHART'])return!0x1;let _0x3f3d28=_0x4f9223[_0x52eaed(0x340)](_0x35d996[_0x52eaed(0x359)]);if(((_0x1b0801=_0x3f3d28['getPermissionPoint'](new _0x2a684c[(_0x52eaed(0x4c0))](_0xf5b17a)['id']))==null?void 0x0:_0x1b0801[_0x52eaed(0x58f)])!==!0x0||((_0x3dc479=_0x3f3d28[_0x52eaed(0x5ec)](new _0x2a684c['WorksheetEditPermission'](_0xf5b17a,_0x41c108)['id']))==null?void 0x0:_0x3dc479[_0x52eaed(0x58f)])!==!0x0)return!0x1;let _0x31f7be=_0x4f9223[_0x52eaed(0x340)](_0x35d996[_0x52eaed(0x3c6)]),{value:_0x1d946c,enhanceParams:_0x155cf6}=_0x25fd07,_0x5b356d={'unitId':_0xf5b17a,'subUnitId':_0x41c108,'shapeType':_0x1d946c,'shapeId':(0x0,_0x35d996[_0x52eaed(0x2f3)])()};if(_0x2939b3===_0x35d996['SheetTypes'][_0x52eaed(0x367)]){let _0x4a3248=_0x4f9223[_0x52eaed(0x340)](_0x580d8a[_0x52eaed(0x266)])[_0x52eaed(0x4ee)](_0xf5b17a),_0x34beb7=_0x4a3248==null?void 0x0:_0x4a3248[_0x52eaed(0x48a)][_0x52eaed(0x340)](_0x590c15['SHEET_VIEW_KEY'][_0x52eaed(0x4a7)]);if(!_0x4a3248||!_0x34beb7||![_0x34beb7[_0x52eaed(0x204)],_0x34beb7[_0x52eaed(0x414)],_0x34beb7[_0x52eaed(0x49e)],_0x34beb7['height']][_0x52eaed(0x30a)](Number[_0x52eaed(0x205)])||_0x34beb7[_0x52eaed(0x49e)]<=0x0||_0x34beb7['height']<=0x0)return!0x1;let _0x592b7d={'row':0x0,'column':0x0,'rowOffset':0x0,'columnOffset':0x0},_0x4af352=(0x0,_0x47830d[_0x52eaed(0x348)])([{'unitId':_0xf5b17a,'subUnitId':_0x41c108,'drawingId':_0x5b356d['shapeId'],'drawingType':_0x35d996[_0x52eaed(0x44f)][_0x52eaed(0x4ba)],'transform':{'left':0x0,'top':0x0,'width':_0x565640[_0x52eaed(0x1de)],'height':_0x565640[_0x52eaed(0x41d)]},'sheetTransform':{'from':_0x592b7d,'to':_0x592b7d},'axisAlignSheetTransform':{'from':_0x592b7d,'to':_0x592b7d}}],{'left':_0x34beb7[_0x52eaed(0x204)],'top':_0x34beb7['top'],'width':_0x34beb7[_0x52eaed(0x49e)],'height':_0x34beb7[_0x52eaed(0x3f8)]},_0x3b5b56[_0x52eaed(0x4f5)]===_0x35d996[_0x52eaed(0x1d7)]['TRUE']);if(!(_0x4af352!=null&&_0x4af352[_0x52eaed(0x2f1)]))return!0x1;let _0x4947ab=_0x4af352[0x0][_0x52eaed(0x339)];_0x5b356d[_0x52eaed(0x2c7)]={'x':_0x4947ab[_0x52eaed(0x204)],'y':_0x4947ab['top']},_0x5b356d[_0x52eaed(0x49e)]=_0x4947ab['width'],_0x5b356d[_0x52eaed(0x3f8)]=_0x4947ab[_0x52eaed(0x3f8)];}else{let _0x5f449d=_0x4f9223['get'](_0x2a684c[_0x52eaed(0x53e)])['getCurrentLastSelection']();if(!_0x5f449d)return!0x1;_0x5b356d['range']=_0x5f449d['range'];}if(_0x155cf6){let {startArrow:_0x4a8915,endArrow:_0x157134,horizontal:_0x5291ae,vertical:_0x32ae02}=_0x155cf6,_0x10cd29=(0x0,_0x1f2a15['isConnectorShape'])(_0x1d946c),_0x5c9e47=_0x1d946c===_0x1f2a15['ShapeTypeEnum']['Rect'];if(_0x10cd29&&(_0x4a8915||_0x157134)&&(_0x5b356d[_0x52eaed(0x23b)]={'ln':{'startArrow':_0x4a8915?{'type':_0x1f2a15[_0x52eaed(0x202)][_0x52eaed(0x392)],'size':_0x1f2a15[_0x52eaed(0x265)][_0x52eaed(0x434)]}:void 0x0,'endArrow':_0x157134?{'type':_0x1f2a15[_0x52eaed(0x202)][_0x52eaed(0x392)],'size':_0x1f2a15['ShapeArrowSizeEnum'][_0x52eaed(0x319)]}:void 0x0}}),_0x5c9e47&&(_0x5291ae||_0x32ae02)){let _0x479383=_0x4f9223['get'](_0x35d996[_0x52eaed(0x1dc)]);_0x5b356d[_0x52eaed(0x23b)]=(0x0,_0x1ad5b7['createShapeTextBoxShapeData'])({'fill':{'fillType':_0x1f2a15[_0x52eaed(0x308)][_0x52eaed(0x462)],'color':_0x479383[_0x52eaed(0x447)](_0x52eaed(0x5bd))},'isHorizontal':!!_0x5291ae,'stroke':{'lineStrokeType':_0x1f2a15[_0x52eaed(0x4e2)][_0x52eaed(0x238)],'width':0x1,'color':_0x479383[_0x52eaed(0x447)]('gray.300')}});}}let _0x11a010=_0x31f7be[_0x52eaed(0x478)](_0x565640[_0x52eaed(0x242)]['id'],_0x5b356d);return _0x11a010&&await _0x31f7be[_0x52eaed(0x3d1)](_0x482521['id'],[{'unitId':_0xf5b17a,'subUnitId':_0x41c108,'drawingId':_0x5b356d[_0x52eaed(0x2a8)]}]),_0x11a010;}},_0x462378=_0x2766d8(0x5e9),_0x5bd6d7=_0x2766d8(0x400),_0x26c51d=_0x2766d8(0x2ef),_0x274130=_0x2766d8(0x5cd),_0xde4401=(0x0,_0x35d996[_0x2766d8(0x332)])(_0x2766d8(0x49f)),_0x26dfdd=_0x2766d8(0x260),_0x1af41a={'id':_0x2766d8(0x5b4),'type':_0x35d996['CommandType'][_0x2766d8(0x56b)],'handler':(_0x1c3268,_0x1feed2)=>{const _0x924fef=_0x2766d8;let _0x1e7604=_0x1c3268[_0x924fef(0x340)](_0x23e778[_0x924fef(0x1f7)]),_0x5ed909=_0x1c3268[_0x924fef(0x340)](_0x35d996[_0x924fef(0x5d0)]),_0x307585=_0x1c3268[_0x924fef(0x340)](_0x35d996[_0x924fef(0x403)]),_0xae3f22=_0x1c3268[_0x924fef(0x340)](_0x35d996[_0x924fef(0x3c6)]);return(0x0,_0x2a684c['getSheetCommandTarget'])(_0x307585)?(_0x1feed2==null?void 0x0:_0x1feed2[_0x924fef(0x58f)])===_0x924fef(0x3e2)?(_0x1e7604['close'](_0x5bd6d7),!0x0):(_0x1e7604[_0x924fef(0x4de)]({'id':_0x5bd6d7,'header':{'title':_0x5ed909['t']('sheets-shape-ui.objectListPanel.title')},'children':{'label':_0x5bd6d7},'onClose':()=>{const _0x17ad88=_0x924fef;_0xae3f22[_0x17ad88(0x478)](_0x2ed59f[_0x17ad88(0x2f6)]['id'],[]);},'width':0x168}),!0x0):!0x1;}},_0x236e1f={'type':_0x35d996['CommandType'][_0x2766d8(0x225)],'id':_0x2766d8(0x252),'handler'(){return!0x0;}};function _0x428c26(_0x4df963){const _0x138b25=_0x2766d8;let _0x1576be=_0x4df963[_0x138b25(0x340)](_0x2ed59f[_0x138b25(0x554)])[_0x138b25(0x5bb)](),_0x29c2b1=_0x1576be[_0x138b25(0x2f1)]===0x1?_0x1576be[0x0]:null;if(!_0x29c2b1||_0x29c2b1[_0x138b25(0x313)]!==_0x35d996[_0x138b25(0x44f)][_0x138b25(0x4ba)])return null;let _0x3a42e3=_0x4df963[_0x138b25(0x340)](_0x565640['SheetsShapeService']),_0x3b6485=_0x3a42e3['getShapeTypeById'](_0x29c2b1[_0x138b25(0x280)],_0x29c2b1[_0x138b25(0x35e)],_0x29c2b1[_0x138b25(0x314)]),_0x1538e0=_0x3a42e3[_0x138b25(0x3ec)](_0x29c2b1['unitId'],_0x29c2b1[_0x138b25(0x35e)],_0x29c2b1['drawingId']);return _0x3b6485===void 0x0||!_0x1538e0?null:{'drawing':_0x29c2b1,'shapeData':_0x1538e0,'shapeType':_0x3b6485};}let _0x325b7a={'id':_0x2766d8(0x3e6),'type':_0x35d996[_0x2766d8(0x309)][_0x2766d8(0x225)],'handler':(_0x5c0810,_0x3f3146)=>{const _0x499e2a=_0x2766d8;let _0x385355=_0x428c26(_0x5c0810),_0x2d779c=(0x0,_0x1ad5b7['getShapeQuickStylePreset'])((_0x3f3146==null?void 0x0:_0x3f3146['presetId'])??(_0x3f3146==null?void 0x0:_0x3f3146['value'])??'');if(!_0x385355||!_0x2d779c||_0x2d779c[_0x499e2a(0x1f3)]!==(0x0,_0x1ad5b7[_0x499e2a(0x365)])(_0x385355[_0x499e2a(0x23b)]))return!0x1;let _0x545b11=(0x0,_0x1ad5b7[_0x499e2a(0x2fc)])(_0x385355[_0x499e2a(0x23b)],_0x2d779c);if(!_0x545b11)return!0x1;let {drawing:_0x48f65b}=_0x385355;return _0x5c0810[_0x499e2a(0x340)](_0x35d996[_0x499e2a(0x3c6)])['executeCommand'](_0x33bf3b['id'],{'unitId':_0x48f65b[_0x499e2a(0x280)],'subUnitId':_0x48f65b[_0x499e2a(0x35e)],'shapeId':_0x48f65b[_0x499e2a(0x314)],'shapeData':_0x545b11,'oldShapeJSON':{'oldShapeData':_0x385355['shapeData']}});}},_0x263ab1={'id':'sheet.operation.update-shape-type','type':_0x35d996[_0x2766d8(0x309)]['OPERATION'],'handler':(_0x42dcf9,_0xde8fb8)=>{const _0xa8af89=_0x2766d8;let _0x518200=_0x428c26(_0x42dcf9),_0x316f87=(_0xde8fb8==null?void 0x0:_0xde8fb8['shapeType'])??(_0xde8fb8==null?void 0x0:_0xde8fb8['value']);if(!_0x518200||!_0x316f87||(0x0,_0x1f2a15[_0xa8af89(0x493)])(_0x518200[_0xa8af89(0x3fc)])||(0x0,_0x1f2a15[_0xa8af89(0x493)])(_0x316f87))return!0x1;let _0x426774=(0x0,_0x1ad5b7[_0xa8af89(0x4b0)])(_0x518200[_0xa8af89(0x23b)],_0x316f87);if(!_0x426774)return!0x1;let {drawing:_0x463d68}=_0x518200;return _0x42dcf9[_0xa8af89(0x340)](_0x35d996[_0xa8af89(0x3c6)])[_0xa8af89(0x3d1)](_0x33bf3b['id'],{'unitId':_0x463d68[_0xa8af89(0x280)],'subUnitId':_0x463d68[_0xa8af89(0x35e)],'shapeId':_0x463d68[_0xa8af89(0x314)],'shapeType':_0x316f87,'shapeData':_0x426774,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x518200[_0xa8af89(0x3fc)],'oldShapeData':_0x518200[_0xa8af89(0x23b)]}});}},_0x538cf9=class extends _0x35d996[_0x2766d8(0x491)]{constructor(_0x5c573e,_0x4a5b01){const _0x207e83=_0x2766d8;super(),this['_clipService']=_0x5c573e,this[_0x207e83(0x482)]=_0x4a5b01,this[_0x207e83(0x20d)](),this[_0x207e83(0x430)][_0x207e83(0x50c)](!0x0),this[_0x207e83(0x271)]({'dispose':()=>this[_0x207e83(0x430)]['setCanUseShapeClip'](!0x1)});}['_registerImageShapeClipDelegate'](){const _0x524267=_0x2766d8;let _0x41b365=this[_0x524267(0x430)],_0x383871=new Map(),_0x3698eb=_0x41b365[_0x524267(0x39c)]((_0x1fec04,_0x5d0810,_0x11887d,_0x365d43,_0x188b05)=>{const _0x10d673=_0x524267;let _0xcb2cb7=_0x5d0810;if(_0xcb2cb7===_0x1f2a15[_0x10d673(0x224)][_0x10d673(0x255)]||_0x5d0810===_0x10d673(0x382))return!0x1;try{let _0x475df1=_0x383871[_0x10d673(0x340)](_0x5d0810);return _0x475df1||(_0x475df1=new _0x1f2a15[(_0x10d673(0x5c0))](_0xcb2cb7,'clip-'+_0x5d0810),_0x383871[_0x10d673(0x39d)](_0x5d0810,_0x475df1)),_0x475df1[_0x10d673(0x352)](),_0x188b05&&Object[_0x10d673(0x38e)](_0x188b05)['length']>0x0&&_0x475df1[_0x10d673(0x203)]({'adjustValues':_0x188b05},!0x0),_0x475df1[_0x10d673(0x240)]({'width':_0x11887d,'height':_0x365d43}),_0x475df1[_0x10d673(0x2c3)](_0x1fec04,{'left':0x0,'top':0x0,'width':_0x11887d,'height':_0x365d43});}catch{return!0x1;}});this[_0x524267(0x271)](_0x3698eb),this[_0x524267(0x271)]({'dispose':()=>_0x383871['clear']()});}['clipByShape'](_0x1a32d7,_0x432cfd,_0x5c4b72,_0xe98eb7,_0x46c673){const _0x178399=_0x2766d8;let _0x2b43b7=this[_0x178399(0x482)]['getDrawingData'](_0x1a32d7,_0x432cfd);if(!_0x2b43b7[_0x5c4b72])return;let _0x2a6862={..._0x2b43b7[_0x5c4b72],'prstGeom':_0xe98eb7,'adjustValues':_0x46c673};this['_drawingManagerService'][_0x178399(0x233)]([_0x2a6862]);}};_0x538cf9=_0x39c461([_0x400e7c(0x0,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x2c4f7e['DrawingImageClipService'])),_0x400e7c(0x1,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x2ed59f[_0x2766d8(0x554)]))],_0x538cf9);let _0x2ae931=_0x2766d8(0x5d1),_0x4aafa5=_0x2766d8(0x470);function _0x2d1fc2({onShapeClick:_0xcb6975,excludeGroups:_0x268561}){const _0x413e48=_0x2766d8;return(0x0,_0x121104[_0x413e48(0x4f2)])(_0x197fcc[_0x413e48(0x516)],{'excludeGroups':_0x268561,'onShapeClick':_0xcb6975,'scrollContainer':_0x413e48(0x3d6)});}function _0x58ceb1(){const _0x2447b3=_0x2766d8;let _0x3b7300=(0x0,_0x23e778[_0x2447b3(0x4e0)])(_0x2ed59f[_0x2447b3(0x554)]),_0x58c63b=(0x0,_0x23e778[_0x2447b3(0x4e0)])(_0x538cf9);return(0x0,_0x121104['jsx'])(_0x197fcc[_0x2447b3(0x24e)],{'buttonLabel':'sheets-shape-ui.imagePanel.crop.shape','excludeGroups':[_0x197fcc[_0x2447b3(0x45e)][_0x2447b3(0x389)]],'onShapeClick':_0x74ea66=>{const _0x397fe9=_0x2447b3;let _0x48cdfd=_0x3b7300[_0x397fe9(0x5bb)]()['find'](_0x48eebb=>_0x48eebb[_0x397fe9(0x313)]===_0x35d996['DrawingTypeEnum'][_0x397fe9(0x2ed)]);if(!_0x48cdfd)return;let {unitId:_0x2ebedb,subUnitId:_0x32ff48,drawingId:_0x331684}=_0x48cdfd;_0x58c63b[_0x397fe9(0x246)](_0x2ebedb,_0x32ff48,_0x331684,_0x74ea66['type']);}});}function _0x2dbee2(){const _0x5eceb4=_0x2766d8;let _0x35d467=(0x0,_0x23e778['useDependency'])(_0x2ed59f[_0x5eceb4(0x554)]),_0x353510=(0x0,_0x23e778[_0x5eceb4(0x4e0)])(_0x538cf9);return(0x0,_0x121104[_0x5eceb4(0x4f2)])(_0x197fcc[_0x5eceb4(0x24e)],{'buttonLabel':_0x5eceb4(0x545),'excludeGroups':[_0x197fcc[_0x5eceb4(0x45e)][_0x5eceb4(0x389)]],'DropdownComponent':_0x36db41[_0x5eceb4(0x440)],'onShapeClick':_0x40aa4f=>{const _0x3853e5=_0x5eceb4;let _0x5a7f65=_0x35d467[_0x3853e5(0x5bb)]()['find'](_0x44e7fe=>_0x44e7fe[_0x3853e5(0x313)]===_0x35d996[_0x3853e5(0x44f)][_0x3853e5(0x2ed)]);if(!_0x5a7f65)return;let {unitId:_0x48cf1d,subUnitId:_0x4c57d9,drawingId:_0x53c60d}=_0x5a7f65;_0x353510[_0x3853e5(0x246)](_0x48cf1d,_0x4c57d9,_0x53c60d,_0x40aa4f['type']);}});}function _0x275f06(){const _0x206588=_0x2766d8;let _0x21f224=(0x0,_0x23e778[_0x206588(0x4e0)])(_0x23e778[_0x206588(0x36a)]),_0xfe9d88=(0x0,_0x23e778[_0x206588(0x4e0)])(_0x2ed59f['IDrawingManagerService']),_0x94196b=(0x0,_0x23e778[_0x206588(0x4e0)])(_0x35d996[_0x206588(0x403)]),_0x1dc298=_0xfe9d88['getFocusDrawings']()[0x0],_0x538293=_0x1dc298?_0x94196b['getUnitType'](_0x1dc298[_0x206588(0x280)]):void 0x0,_0x3def54=_0x538293===_0x35d996[_0x206588(0x31d)]['UNIVER_DOC']?'doc.image-clip.shape-picker.component':_0x538293===_0x35d996[_0x206588(0x31d)][_0x206588(0x3de)]?_0x4aafa5:void 0x0,_0x42e713=_0x3def54?_0x21f224[_0x206588(0x340)](_0x3def54):void 0x0;return _0x42e713?(0x0,_0x121104['jsx'])(_0x42e713,{}):null;}function _0x10d6b6(){const _0x4cfd3f=_0x2766d8;let _0x5a2d9e=(0x0,_0x23e778[_0x4cfd3f(0x4e0)])(_0x35d996[_0x4cfd3f(0x3c6)]);return(0x0,_0x121104['jsx'])(_0x2d1fc2,{'onShapeClick':_0x11bbd3=>{const _0x5ee8d6=_0x4cfd3f;_0x5a2d9e['executeCommand'](_0x3a6254['id'],{'value':_0x11bbd3[_0x5ee8d6(0x1f3)],'enhanceParams':{'endArrow':_0x11bbd3[_0x5ee8d6(0x46b)],'startArrow':_0x11bbd3[_0x5ee8d6(0x54a)],'horizontal':_0x11bbd3[_0x5ee8d6(0x544)],'vertical':_0x11bbd3[_0x5ee8d6(0x22f)]}});}});}function _0x25a995(){return(0x0,_0x121104['jsx'])(_0x10d6b6,{});}function _0xd1e35f(_0x4e2ca8){const _0x717602=_0x2766d8;return(0x0,_0x590c15['deriveStateFromActiveSheet$'])(_0x4e2ca8[_0x717602(0x340)](_0x35d996[_0x717602(0x403)]),!0x0,({workbook:_0x3a319d,worksheet:_0x17a487})=>{const _0x193f68=_0x717602;let _0x31548b=_0x17a487[_0x193f68(0x5cf)]()[_0x193f68(0x1f3)]??_0x35d996[_0x193f68(0x45d)][_0x193f68(0x45a)];if(_0x31548b===_0x35d996[_0x193f68(0x45d)][_0x193f68(0x45a)])return(0x0,_0x590c15['getCurrentRangeDisable$'])(_0x4e2ca8);if(_0x31548b!==_0x35d996[_0x193f68(0x45d)][_0x193f68(0x367)])return(0x0,_0x4737d9['of'])(!0x0);let _0x33f129=_0x4e2ca8[_0x193f68(0x340)](_0x35d996[_0x193f68(0x359)]),_0x2f6292=[new _0x2a684c[(_0x193f68(0x4c0))](_0x3a319d[_0x193f68(0x331)]())['id'],new _0x2a684c[(_0x193f68(0x59b))](_0x3a319d[_0x193f68(0x331)](),_0x17a487[_0x193f68(0x21f)]())['id']];return _0x33f129[_0x193f68(0x2bd)][_0x193f68(0x21c)]((0x0,_0x4737d9[_0x193f68(0x5d6)])(null),(0x0,_0x4737d9[_0x193f68(0x4d8)])(()=>_0x2f6292[_0x193f68(0x5c8)](_0x5bc918=>{const _0x148147=_0x193f68;var _0x168616;return((_0x168616=_0x33f129[_0x148147(0x5ec)](_0x5bc918))==null?void 0x0:_0x168616[_0x148147(0x58f)])!==!0x0;})),(0x0,_0x4737d9[_0x193f68(0x5ce)])());});}function _0x115039(_0x3c0ffc){const _0x28f5ec=_0x2766d8;let _0x38bb05=_0x3c0ffc[_0x28f5ec(0x340)](_0x35d996['IUniverInstanceService']);return{'id':_0x3a6254['id'],'type':_0x23e778[_0x28f5ec(0x43e)]['SELECTOR'],'selections':[{'label':{'name':_0x2ae931,'hoverable':!0x1,'selectable':!0x1,'props':{'id':_0x3a6254['id']}}}],'icon':_0x28f5ec(0x1f4),'tooltip':'sheets-shape-ui.insertShape','activated$':(0x0,_0x590c15[_0x28f5ec(0x2f0)])(_0x38bb05,!0x1,()=>new _0x4737d9['Observable'](_0x19a848=>{const _0x50a4b6=_0x28f5ec;_0x19a848[_0x50a4b6(0x439)](!0x1);})),'hidden$':(0x0,_0x23e778[_0x28f5ec(0x577)])(_0x3c0ffc,_0x35d996[_0x28f5ec(0x31d)][_0x28f5ec(0x3de)]),'disabled$':_0xd1e35f(_0x3c0ffc)};}function _0x2206e1(_0x51183d){const _0x4eb708=_0x2766d8;return(0x0,_0x590c15[_0x4eb708(0x2f0)])(_0x51183d['get'](_0x35d996[_0x4eb708(0x403)]),!0x0,({workbook:_0xf89f05,worksheet:_0x2127fd})=>{const _0xb2391c=_0x4eb708;let _0xcfc977=_0x2127fd[_0xb2391c(0x5cf)]()['type']??_0x35d996[_0xb2391c(0x45d)][_0xb2391c(0x45a)];if(_0xcfc977===_0x35d996[_0xb2391c(0x45d)][_0xb2391c(0x45a)])return(0x0,_0x590c15[_0xb2391c(0x2c4)])(_0x51183d);if(_0xcfc977!==_0x35d996[_0xb2391c(0x45d)]['CHART'])return(0x0,_0x4737d9['of'])(!0x0);let _0x51cc03=_0x51183d[_0xb2391c(0x340)](_0x35d996[_0xb2391c(0x359)]),_0x30a37d=[new _0x2a684c[(_0xb2391c(0x4c0))](_0xf89f05[_0xb2391c(0x331)]())['id'],new _0x2a684c[(_0xb2391c(0x59b))](_0xf89f05[_0xb2391c(0x331)](),_0x2127fd[_0xb2391c(0x21f)]())['id']];return _0x51cc03[_0xb2391c(0x2bd)][_0xb2391c(0x21c)]((0x0,_0x4737d9['startWith'])(null),(0x0,_0x4737d9[_0xb2391c(0x4d8)])(()=>_0x30a37d[_0xb2391c(0x5c8)](_0x5ee8fa=>{const _0x53dd52=_0xb2391c;var _0x1d7d93;return((_0x1d7d93=_0x51cc03[_0x53dd52(0x5ec)](_0x5ee8fa))==null?void 0x0:_0x1d7d93[_0x53dd52(0x58f)])!==!0x0;})),(0x0,_0x4737d9['distinctUntilChanged'])());});}function _0x477814(_0x14faf9){const _0x1d59a5=_0x2766d8;let _0x5de406=_0x14faf9['get'](_0x23e778[_0x1d59a5(0x1f7)]);return{'id':_0x1af41a['id'],'type':_0x23e778['MenuItemType'][_0x1d59a5(0x5e6)],'icon':_0x1d59a5(0x3a5),'title':_0x1d59a5(0x1e6),'tooltip':_0x1d59a5(0x1e6),'activated$':(0x0,_0x4737d9['defer'])(()=>_0x5de406[_0x1d59a5(0x53f)][_0x1d59a5(0x21c)]((0x0,_0x4737d9[_0x1d59a5(0x5d6)])(_0x5de406[_0x1d59a5(0x3e4)]),(0x0,_0x4737d9[_0x1d59a5(0x4d8)])(_0x57bca5=>_0x57bca5['visible']===!0x0&&_0x57bca5['id']===_0x1d59a5(0x400)),(0x0,_0x4737d9['distinctUntilChanged'])())),'hidden$':(0x0,_0x23e778[_0x1d59a5(0x577)])(_0x14faf9,_0x35d996[_0x1d59a5(0x31d)][_0x1d59a5(0x3de)]),'disabled$':_0x2206e1(_0x14faf9)};}let _0x56de37=_0x2766d8(0x3da),_0x2b4b62=_0x2766d8(0x25b);function _0x4e4a3e(_0x433da0){const _0xf8b6af=_0x2766d8;let _0x5afe0a=_0x433da0[_0xf8b6af(0x340)](_0x2ed59f[_0xf8b6af(0x554)])['getFocusDrawings']();return _0x5afe0a[_0xf8b6af(0x2f1)]===0x1&&_0x5afe0a[0x0]['drawingType']===_0x35d996[_0xf8b6af(0x44f)][_0xf8b6af(0x4ba)]?_0x5afe0a[0x0]:null;}function _0x4ff412(_0x36536f){const _0x1b7ff7=_0x2766d8;let _0x34e9a0=_0x36536f[_0x1b7ff7(0x340)](_0x2ed59f['IDrawingManagerService']);return _0x34e9a0[_0x1b7ff7(0x2a3)][_0x1b7ff7(0x21c)]((0x0,_0x4737d9[_0x1b7ff7(0x5d6)])(_0x34e9a0[_0x1b7ff7(0x5bb)]()),(0x0,_0x4737d9[_0x1b7ff7(0x4d8)])(_0x34c7a8=>_0x34c7a8[_0x1b7ff7(0x2f1)]!==0x1||_0x34c7a8[0x0][_0x1b7ff7(0x313)]!==_0x35d996['DrawingTypeEnum'][_0x1b7ff7(0x4ba)]));}function _0x52eb3d(_0x49940e){const _0x1d87bf=_0x2766d8;return{'id':_0x56de37,'commandId':_0x565640['ToggleSheetsShapeFlipCommand']['id'],'type':_0x23e778[_0x1d87bf(0x43e)][_0x1d87bf(0x5e6)],'title':_0x1d87bf(0x517),'tooltip':_0x1d87bf(0x517),'icon':_0x1d87bf(0x2cb),'hidden$':_0x4ff412(_0x49940e),'params':()=>{const _0x1e010f=_0x1d87bf;let _0x4e346c=_0x4e4a3e(_0x49940e);return _0x4e346c?{'unitId':_0x4e346c[_0x1e010f(0x280)],'subUnitId':_0x4e346c[_0x1e010f(0x35e)],'shapeId':_0x4e346c[_0x1e010f(0x314)],'flipH':!0x0}:void 0x0;}};}function _0x25914b(_0x575a48){const _0x265301=_0x2766d8;return{'id':_0x2b4b62,'commandId':_0x565640[_0x265301(0x5d8)]['id'],'type':_0x23e778[_0x265301(0x43e)][_0x265301(0x5e6)],'title':_0x265301(0x523),'tooltip':_0x265301(0x523),'icon':_0x265301(0x1d5),'hidden$':_0x4ff412(_0x575a48),'params':()=>{const _0x4154bf=_0x265301;let _0x585e3c=_0x4e4a3e(_0x575a48);return _0x585e3c?{'unitId':_0x585e3c[_0x4154bf(0x280)],'subUnitId':_0x585e3c['subUnitId'],'shapeId':_0x585e3c[_0x4154bf(0x314)],'flipV':!0x0}:void 0x0;}};}let _0x361901='sheets-shape-ui.shape-format.quick-style-gallery',_0x1ede14=_0x2766d8(0x4dd),_0x4d4286=_0x2766d8(0x5a0),_0x20dc16=_0x2766d8(0x346);function _0x1f92be(){const _0x287f87=_0x2766d8;let _0x462116=(0x0,_0x23e778[_0x287f87(0x4e0)])(_0x35d996[_0x287f87(0x3c6)]),_0x163184=(0x0,_0x23e778[_0x287f87(0x4e0)])(_0x2ed59f[_0x287f87(0x554)]),_0x37b26d=(0x0,_0x23e778[_0x287f87(0x4e0)])(_0x565640[_0x287f87(0x248)]),_0xb69aa3=()=>{const _0x294bfb=_0x287f87;var _0x27b833;let _0x584251=_0x163184['getFocusDrawings']();if(_0x584251[_0x294bfb(0x2f1)]!==0x1||((_0x27b833=_0x584251[0x0])==null?void 0x0:_0x27b833[_0x294bfb(0x313)])!==_0x35d996[_0x294bfb(0x44f)][_0x294bfb(0x4ba)])return null;let {unitId:_0x13c368,subUnitId:_0x4466bc,drawingId:_0x51ae10}=_0x584251[0x0],_0x1d8a17=_0x37b26d[_0x294bfb(0x374)](_0x13c368,_0x4466bc,_0x51ae10),_0x5b6ed2=_0x37b26d[_0x294bfb(0x3ec)](_0x13c368,_0x4466bc,_0x51ae10);return _0x1d8a17===void 0x0||!_0x5b6ed2?null:{'unitId':_0x13c368,'subUnitId':_0x4466bc,'drawingId':_0x51ae10,'shapeType':_0x1d8a17,'shapeData':_0x5b6ed2};},_0x217360=(0x0,_0x23e778['useObservable'])(()=>new _0x4737d9['Observable'](_0x573d8e=>{const _0x54df78=_0x287f87;let _0xbc8c1e=()=>_0x573d8e[_0x54df78(0x439)](_0xb69aa3()),_0x18bca1=_0x163184[_0x54df78(0x2a3)][_0x54df78(0x56a)](_0xbc8c1e),_0x113148=_0x462116[_0x54df78(0x3f5)](_0x354e03=>{const _0x2c5664=_0x54df78;_0x354e03['id']===_0x565640[_0x2c5664(0x229)]['id']&&_0xbc8c1e();});return _0xbc8c1e(),()=>{const _0x39dd5d=_0x54df78;_0x18bca1[_0x39dd5d(0x2c9)](),_0x113148[_0x39dd5d(0x2a4)]();};}),_0xb69aa3(),!0x1,[_0x462116,_0x163184,_0x37b26d]);return{'selection':_0x217360,'updateShapeData':_0x7bb4f8=>{const _0x3f69db=_0x287f87;_0x217360&&_0x5b243b(_0x462116,_0x217360['unitId'],_0x217360[_0x3f69db(0x35e)],_0x217360[_0x3f69db(0x314)],{'oldShapeData':_0x217360['shapeData']},_0x7bb4f8);}};}function _0x162bf7(){const _0x194c5b=_0x2766d8;let {selection:_0xaa1d23,updateShapeData:_0x337dc3}=_0x1f92be();return _0xaa1d23?(0x0,_0x121104[_0x194c5b(0x4f2)])(_0x197fcc['ShapeStyleRibbonControl'],{'shapeData':_0xaa1d23[_0x194c5b(0x23b)],'shapeType':_0xaa1d23[_0x194c5b(0x3fc)],'onUpdateShapeData':_0x337dc3}):null;}function _0x13902d(){const _0x34d11c=_0x2766d8;let _0x5de16d=(0x0,_0x23e778[_0x34d11c(0x4e0)])(_0x35d996['ICommandService']),_0x48324b=(0x0,_0x23e778[_0x34d11c(0x4e0)])(_0x35d996[_0x34d11c(0x5d0)]),{selection:_0x2a3d1b}=_0x1f92be();return _0x2a3d1b?(0x0,_0x121104[_0x34d11c(0x4f2)])(_0x197fcc[_0x34d11c(0x254)],{'type':(0x0,_0x1ad5b7[_0x34d11c(0x365)])(_0x2a3d1b['shapeData']),'ariaLabel':_0x48324b['t'](_0x34d11c(0x207)),'activePresetId':(0x0,_0x1ad5b7['resolveActiveShapeQuickStylePresetId'])(_0x2a3d1b[_0x34d11c(0x23b)]),'onSelect':_0x1761c6=>_0x5de16d[_0x34d11c(0x3d1)](_0x325b7a['id'],{'presetId':_0x1761c6})}):null;}function _0x5ce8e4(){const _0x479ed8=_0x2766d8;let {selection:_0x499d91,updateShapeData:_0x1bb1f5}=_0x1f92be();return _0x499d91?(0x0,_0x121104[_0x479ed8(0x4f2)])(_0x197fcc[_0x479ed8(0x234)],{'fontFamilyPopupDataComponent':_0x479ed8(0x4c7),'shapeData':_0x499d91[_0x479ed8(0x23b)],'onUpdateShapeData':_0x1bb1f5}):null;}function _0xd69ed3(){const _0x151f25=_0x2766d8;var _0x2eb168;let {selection:_0x24d56a,updateShapeData:_0x3485a7}=_0x1f92be(),_0x468787=(0x0,_0x197fcc[_0x151f25(0x3d3)])({'hostType':_0x35d996[_0x151f25(0x31d)][_0x151f25(0x3de)],'unitId':(_0x24d56a==null?void 0x0:_0x24d56a[_0x151f25(0x280)])??'','subUnitId':(_0x24d56a==null?void 0x0:_0x24d56a[_0x151f25(0x35e)])??'','shapeId':(_0x24d56a==null?void 0x0:_0x24d56a['drawingId'])??'','shapeData':_0x24d56a==null?void 0x0:_0x24d56a[_0x151f25(0x23b)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x151f25(0x270),'onUpdateBinding':_0x122c1a=>_0x3485a7({'formulaBinding':_0x122c1a})}),_0x3b401c=((_0x2eb168=_0x468787['extensionGroups'])==null?void 0x0:_0x2eb168[_0x151f25(0x29e)](_0x20e26a=>_0x20e26a[_0x151f25(0x481)])[_0x151f25(0x35b)](_0x28a1e7=>_0x28a1e7['visible']!==!0x1))??[];return _0x24d56a!=null&&_0x24d56a[_0x151f25(0x23b)]['formulaBinding']?(0x0,_0x121104[_0x151f25(0x4f2)])(_0x197fcc[_0x151f25(0x1da)],{'actions':_0x3b401c,'panel':_0x468787['panel']}):null;}let _0x10db6c=_0x2766d8(0x45b),_0x28c476=_0x2766d8(0x52f),_0x258612=_0x2766d8(0x41f),_0x12a9db=_0x2766d8(0x575),_0x3bb6d4='sheets-shape-ui.ribbon.shape-format.arrange-backward',_0x35f38d=_0x2766d8(0x284),_0x1a214e='sheets-shape-ui.ribbon.shape-format.arrange-back';function _0x12aed7(_0x59416a){const _0x19e735=_0x2766d8;let _0x15868b=_0x59416a[_0x19e735(0x340)](_0x35d996[_0x19e735(0x3c6)]),_0x2575c4=_0x59416a[_0x19e735(0x340)](_0x2ed59f['IDrawingManagerService']),_0x4de898=_0x59416a['get'](_0x565640[_0x19e735(0x248)]);return new _0x4737d9['Observable'](_0xc8201b=>{const _0x535ffb=_0x19e735;let _0x3a74dc=()=>{const _0x596368=_0x231f;let _0x1920a1=_0x3fc8f1(_0x59416a),_0x126a0c=_0x1920a1?_0x4de898[_0x596368(0x3ec)](_0x1920a1['unitId'],_0x1920a1[_0x596368(0x35e)],_0x1920a1[_0x596368(0x314)]):null;_0xc8201b[_0x596368(0x439)](_0x126a0c?(0x0,_0x1ad5b7[_0x596368(0x2ab)])(_0x126a0c)??'':'');},_0x5cde09=_0x2575c4[_0x535ffb(0x2a3)][_0x535ffb(0x56a)](_0x3a74dc),_0x53a924=_0x15868b[_0x535ffb(0x3f5)](_0x109104=>{const _0x5b892c=_0x535ffb;_0x109104['id']===_0x565640[_0x5b892c(0x229)]['id']&&_0x3a74dc();});return _0x3a74dc(),()=>{_0x5cde09['unsubscribe'](),_0x53a924['dispose']();};});}function _0x3fc8f1(_0x5d07d6){const _0x49fef2=_0x2766d8;var _0x516856;let _0x44ff48=_0x5d07d6[_0x49fef2(0x340)](_0x2ed59f[_0x49fef2(0x554)])[_0x49fef2(0x5bb)]();return _0x44ff48[_0x49fef2(0x2f1)]===0x1&&((_0x516856=_0x44ff48[0x0])==null?void 0x0:_0x516856[_0x49fef2(0x313)])===_0x35d996[_0x49fef2(0x44f)][_0x49fef2(0x4ba)]?_0x44ff48[0x0]:null;}function _0xc19f32(_0x487e9a,_0x3dbec2=!0x1){const _0x2e620a=_0x2766d8;let _0x35b4fb=_0x487e9a[_0x2e620a(0x340)](_0x35d996[_0x2e620a(0x3c6)]),_0x13778f=_0x487e9a[_0x2e620a(0x340)](_0x2ed59f[_0x2e620a(0x554)]),_0x93a938=_0x487e9a['get'](_0x565640[_0x2e620a(0x248)]);return new _0x4737d9[(_0x2e620a(0x2b3))](_0x3e9763=>{const _0x2fea14=_0x2e620a;let _0x5ddd21=()=>{const _0x33967a=_0x231f;let _0x3fc308=_0x3fc8f1(_0x487e9a);if(!_0x3fc308){_0x3e9763[_0x33967a(0x439)](!0x0);return;}let _0x2e5138=_0x93a938[_0x33967a(0x3ec)](_0x3fc308[_0x33967a(0x280)],_0x3fc308[_0x33967a(0x35e)],_0x3fc308[_0x33967a(0x314)]);_0x3e9763['next'](!_0x2e5138||_0x3dbec2&&_0x2e5138[_0x33967a(0x405)]==null);},_0x3d14a3=_0x13778f[_0x2fea14(0x2a3)][_0x2fea14(0x56a)](_0x5ddd21),_0x4d518b=_0x35b4fb[_0x2fea14(0x3f5)](_0x2e1cf1=>{const _0x2f17d1=_0x2fea14;_0x2e1cf1['id']===_0x565640[_0x2f17d1(0x229)]['id']&&_0x5ddd21();});return _0x5ddd21(),()=>{const _0xe29cd2=_0x2fea14;_0x3d14a3[_0xe29cd2(0x2c9)](),_0x4d518b[_0xe29cd2(0x2a4)]();};});}function _0x59c796(_0x2525e5){const _0x486423=_0x2766d8;let _0x34c372=_0x2525e5[_0x486423(0x340)](_0x2ed59f['IDrawingManagerService']),_0x35a6ae=_0x2525e5['get'](_0x565640['SheetsShapeService']);return _0x34c372[_0x486423(0x2a3)][_0x486423(0x21c)]((0x0,_0x4737d9[_0x486423(0x5d6)])(_0x34c372[_0x486423(0x5bb)]()),(0x0,_0x4737d9[_0x486423(0x4d8)])(()=>{const _0x5f5c0c=_0x486423;let _0x3b5df6=_0x3fc8f1(_0x2525e5),_0xaacc6d=_0x3b5df6?_0x35a6ae[_0x5f5c0c(0x374)](_0x3b5df6['unitId'],_0x3b5df6['subUnitId'],_0x3b5df6['drawingId']):void 0x0;return _0xaacc6d===void 0x0||(0x0,_0x1f2a15['isConnectorShape'])(_0xaacc6d);}));}function _0x320b38(_0x2672ba){const _0x19628e=_0x2766d8;return{'id':_0x325b7a['id'],'type':_0x23e778[_0x19628e(0x43e)][_0x19628e(0x536)],'icon':_0x19628e(0x585),'title':_0x19628e(0x239),'tooltip':_0x19628e(0x239),'selections':[{'label':{'name':_0x361901,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x12aed7(_0x2672ba),'hidden$':_0xc19f32(_0x2672ba)};}function _0x5a6bb6(_0x672e79){const _0x262ba5=_0x2766d8;return{'id':_0x263ab1['id'],'type':_0x23e778[_0x262ba5(0x43e)][_0x262ba5(0x536)],'icon':'ShapeIcon','title':_0x262ba5(0x4f8),'tooltip':'shape-editor-ui.toolbar.changeShape','slot':!0x0,'selections':[{'label':{'name':_0x197fcc['SHAPE_CHANGE_PICKER_COMPONENT'],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x59c796(_0x672e79)};}function _0x4d6694(_0x2ea53a,_0x4c9ab2,_0x36bc5c=!0x1){const _0x3cdd57=_0x2766d8;return _0x4b4ea2=>({'id':_0x2ea53a,'type':_0x23e778[_0x3cdd57(0x43e)][_0x3cdd57(0x5e6)],'label':{'name':_0x4c9ab2,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0xc19f32(_0x4b4ea2,_0x36bc5c)});}let _0x2b36a5=_0x4d6694(_0x10db6c,_0x1ede14),_0x4af08a=_0x4d6694(_0x28c476,_0x4d4286),_0xd7dc08=_0x4d6694(_0x258612,_0x20dc16,!0x0);function _0x48aaeb(_0x367cb4,_0x503f47,_0x2ee745,_0x247010){const _0x125681=_0x2766d8;return _0x5c5720=>({'id':_0x367cb4,'commandId':_0x47830d[_0x125681(0x2df)]['id'],'type':_0x23e778[_0x125681(0x43e)][_0x125681(0x5e6)],'icon':_0x2ee745,'title':_0x247010,'tooltip':_0x247010,'hidden$':_0xc19f32(_0x5c5720),'params':()=>{const _0x4750b7=_0x125681;let _0x39a902=_0x3fc8f1(_0x5c5720);return _0x39a902?{'unitId':_0x39a902[_0x4750b7(0x280)],'subUnitId':_0x39a902[_0x4750b7(0x35e)],'drawingIds':[_0x39a902[_0x4750b7(0x314)]],'arrangeType':_0x503f47}:void 0x0;}});}let _0x116fc9=_0x48aaeb(_0x12a9db,_0x35d996[_0x2766d8(0x55c)][_0x2766d8(0x214)],'MoveUpIcon','shape-editor-ui.arrange.forward'),_0xd871d7=_0x48aaeb(_0x3bb6d4,_0x35d996[_0x2766d8(0x55c)][_0x2766d8(0x2bf)],_0x2766d8(0x2b9),_0x2766d8(0x498)),_0x2b004b=_0x48aaeb(_0x35f38d,_0x35d996[_0x2766d8(0x55c)][_0x2766d8(0x335)],_0x2766d8(0x2ad),_0x2766d8(0x3a8)),_0x41d9a8=_0x48aaeb(_0x1a214e,_0x35d996[_0x2766d8(0x55c)]['back'],_0x2766d8(0x44e),_0x2766d8(0x297));function _0x16d1dd(_0x354a4c){const _0x27f63d=_0x2766d8;let _0x271094=_0x354a4c[_0x27f63d(0x340)](_0x23e778[_0x27f63d(0x1f7)]);return{'activated$':(0x0,_0x4737d9[_0x27f63d(0x4a1)])(()=>_0x271094[_0x27f63d(0x53f)]['pipe']((0x0,_0x4737d9[_0x27f63d(0x5d6)])(_0x271094['options']),(0x0,_0x4737d9[_0x27f63d(0x4d8)])(_0xa19488=>_0xa19488[_0x27f63d(0x416)]===!0x0&&_0xa19488['id']==='sheet.shape.edit.panel'),(0x0,_0x4737d9[_0x27f63d(0x5ce)])())),'id':_0x236e1f['id'],'type':_0x23e778[_0x27f63d(0x43e)][_0x27f63d(0x5e6)],'icon':_0x27f63d(0x3c2),'title':'sheets-shape-ui.formatShape','tooltip':_0x27f63d(0x371),'hidden$':_0xc19f32(_0x354a4c),'params':()=>{const _0x19927f=_0x27f63d;let _0x4229d2=_0x3fc8f1(_0x354a4c);return _0x4229d2?{'unitId':_0x4229d2[_0x19927f(0x280)],'subUnitId':_0x4229d2[_0x19927f(0x35e)],'drawingId':_0x4229d2[_0x19927f(0x314)]}:void 0x0;}};}let _0x4320ab={[_0x23e778[_0x2766d8(0x2d0)][_0x2766d8(0x28a)]]:{[_0x274130]:{'order':0x64,'title':_0x2766d8(0x371),'contextual':!0x0,'sheets-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x325b7a['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x320b38},[_0x263ab1['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x5a6bb6}},'sheets-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x10db6c]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x2b36a5}},'sheets-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x28c476]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x4af08a}},'sheets-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x56de37]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x52eb3d},[_0x2b4b62]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x25914b},[_0x12a9db]:{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x116fc9},[_0x3bb6d4]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0xd871d7},[_0x35f38d]:{'order':0x4,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x2b004b},[_0x1a214e]:{'order':0x5,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x41d9a8}},'sheets-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x258612]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0xd7dc08}},'sheets-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x236e1f['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x16d1dd},[_0x197fcc['ToggleShapeFloatingToolbarOperation']['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x197fcc['ShapeFloatingToolbarToggleFactory']}}}}},_0x296796={[_0x23e778[_0x2766d8(0x47a)]['MEDIA']]:{[_0x3a6254['id']]:{'order':0x3,'menuItemFactory':_0x115039}}},_0x243f1d={..._0x296796,[_0x23e778[_0x2766d8(0x47a)][_0x2766d8(0x2af)]]:{[_0x1af41a['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x477814}},[_0x23e778[_0x2766d8(0x20c)][_0x2766d8(0x3e0)]]:{[_0x23e778[_0x2766d8(0x547)][_0x2766d8(0x2af)]]:{[_0x56de37]:{'order':0x4,'menuItemFactory':_0x52eb3d},[_0x2b4b62]:{'order':0x5,'menuItemFactory':_0x25914b}}}};var _0x5bde27=_0x2766d8(0x58c),_0x48a452=_0x2766d8(0x334);let _0x279e80={'id':_0x2766d8(0x283),'type':_0x35d996['CommandType'][_0x2766d8(0x225)],'handler'(_0x4884c7,_0x2db4b8){const _0x3bb223=_0x2766d8;return _0x2db4b8?(_0x4884c7['get'](_0x197fcc['MobileShapeEditorService'])['open'](_0x2db4b8['mode'],{'hostType':_0x35d996['UniverInstanceType'][_0x3bb223(0x3de)],'shapeId':_0x2db4b8[_0x3bb223(0x314)],'subUnitId':_0x2db4b8['subUnitId'],'unitId':_0x2db4b8[_0x3bb223(0x280)]}),!0x0):!0x1;}},_0xedbf59=_0x2766d8(0x216),_0x5a65ec={},_0x22d196=class extends _0x35d996[_0x2766d8(0x491)]{constructor(_0x34a67f,_0x480511,_0x4408aa,_0x163fd9,_0x4eff36){const _0x180055=_0x2766d8;super(),this[_0x180055(0x587)]=_0x34a67f,this[_0x180055(0x482)]=_0x480511,this[_0x180055(0x4bb)]=_0x4408aa,this['_univerInstanceService']=_0x163fd9,this['_imageShapeClipController']=_0x4eff36,_0x2a4a7a(this,_0x180055(0x549),null),_0x2a4a7a(this,_0x180055(0x370),null),_0x2a4a7a(this,_0x180055(0x3f6),null),_0x2a4a7a(this,_0x180055(0x369),void 0x0),_0x2a4a7a(this,_0x180055(0x298),[]),_0x2a4a7a(this,'_baseLeft',0x0),_0x2a4a7a(this,_0x180055(0x4cc),0x0),_0x2a4a7a(this,_0x180055(0x3a1),0x0),_0x2a4a7a(this,'_baseHeight',0x0),_0x2a4a7a(this,_0x180055(0x52c),!0x1),_0x2a4a7a(this,_0x180055(0x261),void 0x0),_0x2a4a7a(this,_0x180055(0x5a7),void 0x0),_0x2a4a7a(this,_0x180055(0x22c),void 0x0),_0x2a4a7a(this,_0x180055(0x376),void 0x0),_0x2a4a7a(this,_0x180055(0x2b1),!0x1),this['_registerFocusChangeHandler'](),this[_0x180055(0x288)]();}['clearAdjustControls'](){const _0x8988e=_0x2766d8;this[_0x8988e(0x5ae)]();}[_0x2766d8(0x2b2)](){const _0x548f57=_0x2766d8;this[_0x548f57(0x5ae)](),this[_0x548f57(0x475)](!0x0);}[_0x2766d8(0x215)](_0xcd719f,_0x44149a,_0x291a9b,_0x2f80d8){const _0x4fe43b=_0x2766d8;let _0x507a76=_0xcd719f;if(_0x507a76!==_0x1f2a15['ShapeTypeEnum'][_0x4fe43b(0x255)]&&_0xcd719f!=='custom')try{let _0x2c4925=new _0x1f2a15[(_0x4fe43b(0x5c0))](_0x507a76,_0x4fe43b(0x2a1)+_0xcd719f);return _0x2f80d8&&_0x2c4925[_0x4fe43b(0x203)]({'adjustValues':_0x2f80d8},!0x0),_0x2c4925[_0x4fe43b(0x240)]({'width':_0x44149a,'height':_0x291a9b}),_0x2c4925;}catch{return;}}[_0x2766d8(0x3c5)](_0x254956,_0x42782d,_0x13c848){const _0x4ca188=_0x2766d8;let _0x13cee4={'unitId':_0x254956,'subUnitId':_0x42782d,'drawingId':_0x13c848},_0x204712=this['_drawingManagerService']['getDrawingByParam'](_0x13cee4);if(_0x204712&&_0x204712[_0x4ca188(0x313)]===_0x35d996[_0x4ca188(0x44f)][_0x4ca188(0x2ed)])return _0x204712;}[_0x2766d8(0x484)](_0x9855d5,_0x32d7a9,_0x5c7880){const _0xe52659=_0x2766d8;let _0x3db0f5=this[_0xe52659(0x4bb)][_0xe52659(0x4ee)](_0x9855d5);if(!_0x3db0f5)return;let {scene:_0x40ff07}=_0x3db0f5,_0x3fa39b=(0x0,_0x2ed59f['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x9855d5,'subUnitId':_0x32d7a9,'drawingId':_0x5c7880}),_0x5cddd2=_0x40ff07[_0xe52659(0x3c9)](_0x3fa39b);if(_0x5cddd2 instanceof _0x580d8a[_0xe52659(0x53a)]){let _0x1f5cfa=_0x5cddd2[_0xe52659(0x51f)];if(_0x1f5cfa)return{'prstGeom':_0x1f5cfa,'adjustValues':_0x5cddd2[_0xe52659(0x48b)]};}}[_0x2766d8(0x475)](_0x5b87a6=!0x1){const _0x56f6f1=_0x2766d8;if(!this[_0x56f6f1(0x370)]||!this[_0x56f6f1(0x3f6)]||!this['_activeImageId'])return;let _0x40ce03=this[_0x56f6f1(0x4bb)][_0x56f6f1(0x4ee)](this['_unitId']);if(!_0x40ce03||!_0x40ce03[_0x56f6f1(0x28f)](_0x590c15[_0x56f6f1(0x599)])[_0x56f6f1(0x328)]())return;let {scene:_0x2f3a10}=_0x40ce03,_0x512e53=this[_0x56f6f1(0x3c5)](this[_0x56f6f1(0x370)],this[_0x56f6f1(0x3f6)],this[_0x56f6f1(0x549)]);if(!_0x512e53)return;let {transform:_0xe2c3db}=_0x512e53;if(!_0xe2c3db)return;let {left:_0x1c2681,top:_0x588472,width:_0x2fb821,height:_0x15d885,flipX:_0x31579f,flipY:_0x485982,angle:_0x57f93e=0x0}=_0xe2c3db;if(_0x1c2681===void 0x0||_0x588472===void 0x0)return;let _0x594e6c=this[_0x56f6f1(0x484)](this[_0x56f6f1(0x370)],this['_subUnitId'],this[_0x56f6f1(0x549)]);if(!_0x594e6c)return;if(_0x5b87a6){let _0x20216a=this[_0x56f6f1(0x215)](_0x594e6c[_0x56f6f1(0x51f)],_0x2fb821||0x0,_0x15d885||0x0,_0x594e6c['adjustValues']);if(!_0x20216a)return;this[_0x56f6f1(0x369)]=_0x20216a[_0x56f6f1(0x34d)]();}let _0x42a788=this[_0x56f6f1(0x369)];if(_0x42a788&&_0x42a788[_0x56f6f1(0x2f1)]!==0x0)for(let _0x31132a=0x0;_0x31132a<_0x42a788[_0x56f6f1(0x2f1)];_0x31132a++){let _0x3936f2=_0x42a788[_0x31132a],_0x1bf40a=_0x3936f2['x'],_0x4cbaeb=_0x3936f2['y'];if(_0x31579f&&(_0x1bf40a=(_0x2fb821||0x0)-_0x1bf40a),_0x485982&&(_0x4cbaeb=(_0x15d885||0x0)-_0x4cbaeb),_0x57f93e!==0x0){let _0xe1bdf0=(_0x2fb821||0x0)/0x2,_0x161dc3=(_0x15d885||0x0)/0x2,_0x5bff0a=_0x57f93e*Math['PI']/0xb4,_0x39b598=Math[_0x56f6f1(0x448)](_0x5bff0a),_0x501ab7=Math[_0x56f6f1(0x570)](_0x5bff0a),_0x486484=_0x1bf40a-_0xe1bdf0,_0x2cba46=_0x4cbaeb-_0x161dc3;_0x1bf40a=_0xe1bdf0+(_0x486484*_0x39b598-_0x2cba46*_0x501ab7),_0x4cbaeb=_0x161dc3+(_0x486484*_0x501ab7+_0x2cba46*_0x39b598);}let _0x59a1b7={'x':_0x1bf40a,'y':_0x4cbaeb,'adjName':_0x3936f2['adjName']};this[_0x56f6f1(0x5da)](_0x2f3a10,_0x59a1b7,_0x59a1b7[_0x56f6f1(0x4b1)],_0x1c2681,_0x588472,this[_0x56f6f1(0x370)],this['_subUnitId']);}}[_0x2766d8(0x5da)](_0x5a6e60,_0x331b1c,_0x30f5fa,_0x4e09a9,_0x211f88,_0x34c98f,_0xffabf8){const _0xbd5e94=_0x2766d8;if(!this[_0xbd5e94(0x549)])return;let _0x11bf15=_0xbd5e94(0x460)+this[_0xbd5e94(0x549)]+'-'+_0x30f5fa,_0x5a8915=_0x5a6e60['getObjectIncludeInGroup'](_0x11bf15);if(_0x5a8915){_0x5a8915[_0xbd5e94(0x3c4)]({'left':_0x331b1c['x']+_0x4e09a9-_0x1f2a15['ShapeDefaultConfig'][_0xbd5e94(0x259)],'top':_0x331b1c['y']+_0x211f88-_0x1f2a15['ShapeDefaultConfig'][_0xbd5e94(0x259)]});return;}let _0x34786a=new _0x56f3e0(_0x11bf15,{'left':_0x331b1c['x']+_0x4e09a9-_0x1f2a15[_0xbd5e94(0x540)][_0xbd5e94(0x259)],'top':_0x331b1c['y']+_0x211f88-_0x1f2a15[_0xbd5e94(0x540)]['adjHandleSize'],'adjName':_0x30f5fa,'shapeId':this[_0xbd5e94(0x549)],'unitId':_0x34c98f,'subUnitId':_0xffabf8,'width':_0x1f2a15[_0xbd5e94(0x540)][_0xbd5e94(0x259)]+0x8,'height':_0x1f2a15['ShapeDefaultConfig'][_0xbd5e94(0x259)]+0x8,'zIndex':_0x580d8a[_0xbd5e94(0x424)]+0x1,'evented':!0x0});this['_shapes'][_0xbd5e94(0x373)](_0x34786a),this[_0xbd5e94(0x4ac)](_0x34786a,_0x5a6e60,_0x30f5fa),_0x5a6e60[_0xbd5e94(0x476)](_0x34786a,_0x580d8a[_0xbd5e94(0x424)]+0x1);}['_clearControls'](){const _0x24697f=_0x2766d8;this[_0x24697f(0x298)][_0x24697f(0x2f1)]!==0x0&&(this['_shapes'][_0x24697f(0x528)](_0x2058fe=>_0x2058fe[_0x24697f(0x2a4)]()),this[_0x24697f(0x298)]=[]);}['_getScrollInfo'](_0x530d21,_0x59f899){const _0x6290dd=_0x2766d8;var _0x441265;let _0x466e8c={'x':0x0,'y':0x0},_0x47dabe=this[_0x6290dd(0x4bb)][_0x6290dd(0x4ee)](_0x530d21);if(!_0x47dabe||!_0x47dabe['with'](_0x590c15['SheetSkeletonManagerService'])[_0x6290dd(0x4d9)](_0x59f899))return _0x466e8c;let _0x4bbd4e=_0x47dabe[_0x6290dd(0x28f)](_0x590c15[_0x6290dd(0x258)]),_0x1f0e55=_0x4bbd4e==null?void 0x0:_0x4bbd4e[_0x6290dd(0x492)]();if(!_0x1f0e55)return _0x466e8c;let _0x11454f=(_0x441265=this[_0x6290dd(0x251)]['getUnit'](_0x530d21))==null?void 0x0:_0x441265[_0x6290dd(0x456)](_0x59f899);if(!_0x11454f)return _0x466e8c;let _0x231bef=(0x0,_0x590c15[_0x6290dd(0x2a6)])(_0x1f0e55[_0x6290dd(0x474)],_0x1f0e55['sheetViewStartColumn'],_0x47dabe[_0x6290dd(0x394)],_0x11454f);return _0x231bef?{'x':_0x231bef['viewportScrollX'],'y':_0x231bef[_0x6290dd(0x2e4)]}:_0x466e8c;}[_0x2766d8(0x4fe)](_0xc76d34,_0xb769c6){const _0x12175b=_0x2766d8;var _0x1a4a51;let _0xece0d3=(_0x1a4a51=this['_univerInstanceService']['getUnit'](_0xc76d34))==null?void 0x0:_0x1a4a51[_0x12175b(0x456)](_0xb769c6);return(_0xece0d3==null?void 0x0:_0xece0d3[_0x12175b(0x4f1)]())??0x1;}[_0x2766d8(0x4ac)](_0x40e4c6,_0x39e3da,_0x40174a){const _0x3690d2=_0x2766d8;this['disposeWithMe']((0x0,_0x35d996[_0x3690d2(0x306)])(_0x40e4c6[_0x3690d2(0x46c)][_0x3690d2(0x1dd)]((_0x9008be,_0x204ff0)=>{const _0x26a7b2=_0x3690d2;var _0x27aee5,_0xa6ee67,_0x50a3ca;let {unitId:_0x2e6fa6,subUnitId:_0x4033ec,drawingId:_0x19f9d0}=_0x40e4c6[_0x26a7b2(0x4ce)](),_0x295f71=this[_0x26a7b2(0x3c5)](_0x2e6fa6,_0x4033ec,_0x19f9d0);if(!(_0x295f71!=null&&_0x295f71[_0x26a7b2(0x339)]))return;let {left:_0x183ba1,top:_0x151696,width:_0x84da20,height:_0x59ff9d}=_0x295f71[_0x26a7b2(0x339)];this[_0x26a7b2(0x3ff)]=_0x183ba1||0x0,this['_baseTop']=_0x151696||0x0,this['_baseWidth']=_0x84da20||0x0,this[_0x26a7b2(0x357)]=_0x59ff9d||0x0;let _0x16fa88=!!((_0x27aee5=_0x295f71[_0x26a7b2(0x339)])!=null&&_0x27aee5[_0x26a7b2(0x4f7)]),_0xd5bffe=!!((_0xa6ee67=_0x295f71['transform'])!=null&&_0xa6ee67[_0x26a7b2(0x21d)]),_0x3d9755=((_0x50a3ca=_0x295f71['transform'])==null?void 0x0:_0x50a3ca[_0x26a7b2(0x55b)])||0x0,_0x46ffa3=this['_getImagePrstGeom'](_0x2e6fa6,_0x4033ec,_0x19f9d0);if(!_0x46ffa3)return;let _0x2d22d5=this[_0x26a7b2(0x215)](_0x46ffa3[_0x26a7b2(0x51f)],this['_baseWidth'],this[_0x26a7b2(0x357)],_0x46ffa3[_0x26a7b2(0x5d5)]);if(!_0x2d22d5||(this[_0x26a7b2(0x5a7)]=_0x2d22d5,this['_activeAdjustInfo']=_0x2d22d5[_0x26a7b2(0x5a4)](_0x40174a),!this[_0x26a7b2(0x261)]))return;this[_0x26a7b2(0x52c)]=!0x0,_0x39e3da[_0x26a7b2(0x4fa)]();let _0x203a15=_0x46ffa3[_0x26a7b2(0x51f)];this[_0x26a7b2(0x22c)]=_0x39e3da[_0x26a7b2(0x5dc)][_0x26a7b2(0x1dd)]((_0x3b43a9,_0x322bf3)=>{const _0x27cc6e=_0x26a7b2;if(!this[_0x27cc6e(0x52c)])return;let {offsetX:_0x1aa4cd,offsetY:_0x3a9113}=_0x3b43a9,_0x237b69=this[_0x27cc6e(0x261)];if(!this['_activeShapeModel']||!_0x237b69)return;_0x39e3da['disableObjectsEvent'](),_0x39e3da['setCursor'](_0x580d8a[_0x27cc6e(0x5ac)][_0x27cc6e(0x1ea)]);let _0x51ce56={'left':0x0,'top':0x0,'width':this[_0x27cc6e(0x3a1)],'height':this[_0x27cc6e(0x357)]},_0x48ec70=this[_0x27cc6e(0x3fe)](_0x2e6fa6,_0x4033ec),_0x13b7ed=this[_0x27cc6e(0x4fe)](_0x2e6fa6,_0x4033ec),_0x391cf5=_0x1aa4cd/_0x13b7ed+_0x48ec70['x']-this['_baseLeft'],_0x11d18d=_0x3a9113/_0x13b7ed+_0x48ec70['y']-this[_0x27cc6e(0x4cc)];if(_0x3d9755!==0x0){let _0x3b7edf=this[_0x27cc6e(0x3a1)]/0x2,_0x3db0ba=this[_0x27cc6e(0x357)]/0x2,_0x25e697=_0x3d9755*Math['PI']/0xb4,_0x526d5b=Math['cos'](_0x25e697),_0x1878f8=Math['sin'](_0x25e697),_0x4b2893=_0x391cf5-_0x3b7edf,_0x1cc17b=_0x11d18d-_0x3db0ba;_0x391cf5=_0x3b7edf+(_0x4b2893*_0x526d5b+_0x1cc17b*_0x1878f8),_0x11d18d=_0x3db0ba+(-_0x4b2893*_0x1878f8+_0x1cc17b*_0x526d5b);}_0x16fa88&&(_0x391cf5=this[_0x27cc6e(0x3a1)]-_0x391cf5),_0xd5bffe&&(_0x11d18d=this[_0x27cc6e(0x357)]-_0x11d18d);let _0x599d9b=this[_0x27cc6e(0x5a7)]['calcAdjValues'](_0x51ce56,{'x':_0x391cf5,'y':_0x11d18d},_0x237b69,_0x16fa88,_0xd5bffe);if(Object['keys'](_0x599d9b)[_0x27cc6e(0x2f1)]!==0x0){for(let [_0x1bb3c6,_0x545862]of Object[_0x27cc6e(0x23f)](_0x599d9b))this['_activeShapeModel'][_0x27cc6e(0x3ae)](_0x1bb3c6,_0x545862);this[_0x27cc6e(0x5a7)][_0x27cc6e(0x240)]({'width':this['_baseWidth'],'height':this['_baseHeight']}),this[_0x27cc6e(0x257)](_0x2e6fa6,_0x4033ec,_0x19f9d0,_0x599d9b),this[_0x27cc6e(0x369)]=this[_0x27cc6e(0x5a7)]['getDrawingPoints'](),this['_createControls'](),_0x322bf3[_0x27cc6e(0x5c7)]();}}),this[_0x26a7b2(0x376)]=_0x39e3da['onPointerUp$']['subscribeEvent']((_0x13d4e1,_0x38a881)=>{const _0x4a7866=_0x26a7b2;if(this['_adjHandlerPointerMove'][_0x4a7866(0x2c9)](),this[_0x4a7866(0x376)]['unsubscribe'](),_0x39e3da[_0x4a7866(0x4af)](),this[_0x4a7866(0x5a7)]){let _0x59b341=this[_0x4a7866(0x5a7)][_0x4a7866(0x30f)](),_0x5f39fd={};for(let _0x1b534a of _0x59b341){let _0x4c9a5d=this[_0x4a7866(0x5a7)]['getAdjustValueByName'](_0x1b534a);_0x4c9a5d!==void 0x0&&(_0x5f39fd[_0x1b534a]=_0x4c9a5d);}this['_imageShapeClipController'][_0x4a7866(0x246)](_0x2e6fa6,_0x4033ec,_0x19f9d0,_0x203a15,_0x5f39fd);}this[_0x4a7866(0x261)]=void 0x0,this[_0x4a7866(0x5a7)]=void 0x0,this[_0x4a7866(0x52c)]=!0x1,_0x38a881[_0x4a7866(0x5c7)](),_0x39e3da[_0x4a7866(0x3eb)]();}),_0x204ff0[_0x26a7b2(0x5c7)]();})));}[_0x2766d8(0x257)](_0x4ebdb1,_0x219755,_0x111f54,_0xa04dcb){const _0x3f29b2=_0x2766d8;let _0x541432=this[_0x3f29b2(0x4bb)][_0x3f29b2(0x4ee)](_0x4ebdb1);if(!_0x541432)return;let {scene:_0x5e10e2}=_0x541432,_0x492a69=(0x0,_0x2ed59f[_0x3f29b2(0x2f2)])({'unitId':_0x4ebdb1,'subUnitId':_0x219755,'drawingId':_0x111f54}),_0x3cb8d7=_0x5e10e2[_0x3f29b2(0x3c9)](_0x492a69);if(_0x3cb8d7 instanceof _0x580d8a[_0x3f29b2(0x53a)]){let _0x4b93cb=_0x3cb8d7[_0x3f29b2(0x48b)]??{};_0x3cb8d7['setPrstGeomAdjValues']({..._0x4b93cb,..._0xa04dcb}),_0x3cb8d7[_0x3f29b2(0x3b2)](!0x0);}}[_0x2766d8(0x288)](){const _0x4c9f21=_0x2766d8;let _0x46b04b=this[_0x4c9f21(0x251)]['getCurrentTypeOfUnit$'](_0x35d996[_0x4c9f21(0x31d)][_0x4c9f21(0x3de)]);this[_0x4c9f21(0x271)](_0x46b04b[_0x4c9f21(0x21c)]((0x0,_0x4737d9[_0x4c9f21(0x3cb)])(_0x2b054b=>_0x2b054b?_0x2b054b['activeSheet$'][_0x4c9f21(0x21c)]((0x0,_0x4737d9[_0x4c9f21(0x3cb)])(_0x4d3809=>{const _0x26bf16=_0x4c9f21;if(!_0x4d3809)return _0x4737d9[_0x26bf16(0x486)];let _0x1074e3=_0x2b054b[_0x26bf16(0x331)](),_0x531cda=this['_renderManagerService'][_0x26bf16(0x4ee)](_0x1074e3),_0x56665c=_0x531cda==null?void 0x0:_0x531cda[_0x26bf16(0x394)];return _0x56665c?(0x0,_0x4737d9['of'])(_0x56665c):_0x4737d9[_0x26bf16(0x486)];})):_0x4737d9['EMPTY']))[_0x4c9f21(0x56a)](_0x29899c=>{const _0x588321=_0x4c9f21;let _0x104fe1=_0x29899c[_0x588321(0x40c)]();this[_0x588321(0x271)](_0x29899c[_0x588321(0x5dc)]['subscribeEvent'](()=>{const _0x56398c=_0x588321;this[_0x56398c(0x2b1)]&&this[_0x56398c(0x5ae)]();})),this[_0x588321(0x271)](_0x104fe1[_0x588321(0x330)][_0x588321(0x56a)](_0x2a6b25=>{const _0x1a7c36=_0x588321;let {objects:_0x24c57c}=_0x2a6b25;if(this['_createControls'](),_0x24c57c!==null&&_0x24c57c[_0x1a7c36(0x22b)]===0x1){let _0xd5d885=_0x24c57c[_0x1a7c36(0x3bf)]()[_0x1a7c36(0x439)]()[_0x1a7c36(0x58f)];_0xd5d885 instanceof _0x580d8a[_0x1a7c36(0x53a)]&&_0xd5d885[_0x1a7c36(0x51f)]&&(this[_0x1a7c36(0x2b1)]=!0x0);}})),this[_0x588321(0x271)](_0x104fe1[_0x588321(0x5b0)][_0x588321(0x56a)](()=>{const _0x259605=_0x588321;this[_0x259605(0x2b1)]&&this['_clearControls']();})),this[_0x588321(0x271)](_0x29899c[_0x588321(0x542)]['subscribeEvent'](()=>{const _0x189881=_0x588321;this[_0x189881(0x2b1)]&&(this[_0x189881(0x2b1)]=!0x1,this[_0x189881(0x475)]());})),this[_0x588321(0x271)](_0x104fe1[_0x588321(0x34e)]['subscribe'](()=>{const _0xede1a3=_0x588321;if(this[_0xede1a3(0x370)]&&this['_subUnitId']&&this[_0xede1a3(0x549)]){let _0x2f8541=this[_0xede1a3(0x484)](this[_0xede1a3(0x370)],this[_0xede1a3(0x3f6)],this[_0xede1a3(0x549)]);if(_0x2f8541){var _0x39b695,_0x5dd82a;let _0x4a71db=this['_getImageDrawingInfo'](this[_0xede1a3(0x370)],this[_0xede1a3(0x3f6)],this['_activeImageId']),_0x340aca=(_0x4a71db==null||(_0x39b695=_0x4a71db[_0xede1a3(0x339)])==null?void 0x0:_0x39b695['width'])||0x0,_0x3157d9=(_0x4a71db==null||(_0x5dd82a=_0x4a71db[_0xede1a3(0x339)])==null?void 0x0:_0x5dd82a['height'])||0x0,_0x2b55d4=this['_getOrCreateShapeModel'](_0x2f8541['prstGeom'],_0x340aca,_0x3157d9,_0x2f8541[_0xede1a3(0x5d5)]);_0x2b55d4&&(this[_0xede1a3(0x369)]=_0x2b55d4[_0xede1a3(0x34d)](),this['_clearControls'](),this[_0xede1a3(0x475)](!0x0));}}}));}));}['_registerFocusChangeHandler'](){const _0x5014fc=_0x2766d8;this[_0x5014fc(0x271)](this[_0x5014fc(0x482)][_0x5014fc(0x2a3)][_0x5014fc(0x56a)](_0x509903=>{const _0x16b64e=_0x5014fc;if(_0x509903[_0x16b64e(0x2f1)]===0x1){let _0x2461d9=_0x509903[0x0];if(_0x2461d9[_0x16b64e(0x313)]===_0x35d996[_0x16b64e(0x44f)]['DRAWING_IMAGE']){let {unitId:_0x54d8a0,subUnitId:_0x384cb0,drawingId:_0x199b4d}=_0x2461d9,_0x557eab=this[_0x16b64e(0x484)](_0x54d8a0,_0x384cb0,_0x199b4d);if(_0x557eab){var _0x84088,_0x11d619;this[_0x16b64e(0x549)]=_0x199b4d,this[_0x16b64e(0x370)]=_0x54d8a0,this[_0x16b64e(0x3f6)]=_0x384cb0;let _0x2caaed=this[_0x16b64e(0x3c5)](_0x54d8a0,_0x384cb0,_0x199b4d),_0x517141=(_0x2caaed==null||(_0x84088=_0x2caaed['transform'])==null?void 0x0:_0x84088['width'])||0x0,_0x1d4160=(_0x2caaed==null||(_0x11d619=_0x2caaed[_0x16b64e(0x339)])==null?void 0x0:_0x11d619[_0x16b64e(0x3f8)])||0x0,_0x131096=this[_0x16b64e(0x215)](_0x557eab[_0x16b64e(0x51f)],_0x517141,_0x1d4160,_0x557eab[_0x16b64e(0x5d5)]);_0x131096&&(this[_0x16b64e(0x369)]=_0x131096[_0x16b64e(0x34d)]()),this[_0x16b64e(0x5ae)](),this[_0x16b64e(0x475)](!0x0);}else this[_0x16b64e(0x3ed)]();}else this[_0x16b64e(0x3ed)]();}else this[_0x16b64e(0x3ed)]();})),this[_0x5014fc(0x271)](this[_0x5014fc(0x482)][_0x5014fc(0x59c)][_0x5014fc(0x56a)](_0x5197b4=>{const _0x58c589=_0x5014fc;if(_0x5197b4[_0x58c589(0x2f1)]===0x1){let _0x4a7d97=_0x5197b4[0x0],_0x52700a=this[_0x58c589(0x482)]['getDrawingByParam'](_0x4a7d97);(_0x52700a==null?void 0x0:_0x52700a[_0x58c589(0x313)])===_0x35d996['DrawingTypeEnum'][_0x58c589(0x2ed)]&&this['_activeImageId']===_0x4a7d97['drawingId']&&(this[_0x58c589(0x5ae)](),this[_0x58c589(0x475)](!0x0));}})),this[_0x5014fc(0x271)](this[_0x5014fc(0x482)][_0x5014fc(0x210)][_0x5014fc(0x56a)](_0x5c0216=>{const _0x4059b5=_0x5014fc;for(let _0x529d6d of _0x5c0216)this[_0x4059b5(0x549)]===_0x529d6d[_0x4059b5(0x314)]&&this[_0x4059b5(0x3ed)]();}));}['_resetState'](){const _0x51946f=_0x2766d8;this[_0x51946f(0x549)]=null,this[_0x51946f(0x370)]=null,this[_0x51946f(0x3f6)]=null,this[_0x51946f(0x369)]=void 0x0,this[_0x51946f(0x5ae)]();}};_0x22d196=_0x39c461([_0x400e7c(0x1,_0x2ed59f[_0x2766d8(0x554)]),_0x400e7c(0x2,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x580d8a[_0x2766d8(0x266)])),_0x400e7c(0x3,_0x35d996[_0x2766d8(0x403)]),_0x400e7c(0x4,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x538cf9))],_0x22d196);function _0x4ddfda({ref:_0x214c6f,..._0x1cfa29}){const _0x4d5bb7=_0x2766d8;let {preserveStrokeWidth:_0x2d38f3,icon:_0x3380d1,id:_0x756afe,className:_0x159610,extend:_0x3a2bbe,..._0x3ed056}=_0x1cfa29,_0x21f15c=('univerjs-icon\x20univerjs-icon-'+_0x756afe+'\x20'+(_0x159610||''))['trim'](),_0x1fc094='_'+(0x0,_0x3d354c[_0x4d5bb7(0x471)])(),_0x10c931=(0x0,_0x3d354c[_0x4d5bb7(0x43c)])(null);return(0x0,_0x3d354c['useImperativeHandle'])(_0x214c6f,()=>_0x10c931[_0x4d5bb7(0x534)]),(0x0,_0x3d354c[_0x4d5bb7(0x5b3)])(()=>{const _0x5792e8=_0x4d5bb7;if(_0x2d38f3&&_0x10c931['current']&&_0x10c931['current'][_0x5792e8(0x53c)]===_0x3380d1[_0x5792e8(0x564)])return _0x49a49e(_0x10c931[_0x5792e8(0x534)]);},[_0x2d38f3,_0x3380d1]),_0x9ef6a2(_0x3380d1,''+_0x756afe,{'defIds':_0x3380d1[_0x4d5bb7(0x2d7)],'idSuffix':_0x1fc094},{'ref':_0x10c931,'className':_0x21f15c,..._0x3ed056},_0x3a2bbe);}function _0x9ef6a2(_0x275633,_0x422fd8,_0x31f369,_0x330dd2,_0x3b89c5){const _0x5c7990=_0x2766d8;return(0x0,_0x3d354c['createElement'])(_0x275633['tag'],{'key':_0x422fd8,..._0x286517(_0x275633,_0x31f369,_0x3b89c5),..._0x330dd2},(_0xe34254(_0x275633,_0x31f369)[_0x5c7990(0x507)]||[])[_0x5c7990(0x4d8)]((_0x4421fc,_0x345377)=>_0x9ef6a2(_0x4421fc,_0x422fd8+'-'+_0x275633[_0x5c7990(0x564)]+'-'+_0x345377,_0x31f369,void 0x0,_0x3b89c5)));}function _0x286517(_0x41e899,_0x1a4e74,_0x29e2e0){const _0x557484=_0x2766d8;let _0x49f6e6={..._0x41e899[_0x557484(0x4e7)]};_0x29e2e0!=null&&_0x29e2e0[_0x557484(0x3bc)]&&_0x49f6e6['fill']===_0x557484(0x3bc)&&(_0x49f6e6['fill']=_0x29e2e0['colorChannel1']),_0x29e2e0!=null&&_0x29e2e0[_0x557484(0x3bc)]&&_0x49f6e6[_0x557484(0x3b4)]==='colorChannel1'&&(_0x49f6e6[_0x557484(0x3b4)]=_0x29e2e0[_0x557484(0x3bc)]),_0x41e899[_0x557484(0x564)]==='mask'&&_0x49f6e6['id']&&(_0x49f6e6['id']+=_0x1a4e74[_0x557484(0x49a)]),Object[_0x557484(0x23f)](_0x49f6e6)['forEach'](([_0x2797b2,_0xd40204])=>{const _0x4a57aa=_0x557484;_0x2797b2===_0x4a57aa(0x586)&&typeof _0xd40204=='string'&&(_0x49f6e6[_0x2797b2]=_0xd40204[_0x4a57aa(0x38b)](/url\(#(.*)\)/,'url(#$1'+_0x1a4e74[_0x4a57aa(0x49a)]+')'));});let {defIds:_0x478f85}=_0x1a4e74;return!_0x478f85||_0x478f85['length']===0x0||(_0x41e899[_0x557484(0x564)]==='use'&&_0x49f6e6['xlink:href']&&(_0x49f6e6[_0x557484(0x27a)]+=_0x1a4e74['idSuffix']),Object['entries'](_0x49f6e6)['forEach'](([_0x334007,_0x3ab968])=>{const _0x344d6c=_0x557484;typeof _0x3ab968==_0x344d6c(0x212)&&(_0x49f6e6[_0x334007]=_0x3ab968[_0x344d6c(0x38b)](/url\(#(.*)\)/,_0x344d6c(0x510)+_0x1a4e74[_0x344d6c(0x49a)]+')'));})),_0x49f6e6;}function _0xe34254(_0x2053a0,_0x3f0059){const _0x31525e=_0x2766d8;var _0x18f543;let {defIds:_0x3ac818}=_0x3f0059;return!_0x3ac818||_0x3ac818[_0x31525e(0x2f1)]===0x0?_0x2053a0:_0x2053a0[_0x31525e(0x564)]===_0x31525e(0x2a2)&&(_0x18f543=_0x2053a0['children'])!=null&&_0x18f543[_0x31525e(0x2f1)]?{..._0x2053a0,'children':_0x2053a0['children']['map'](_0x1427f1=>typeof _0x1427f1[_0x31525e(0x4e7)]['id']==_0x31525e(0x212)&&_0x3ac818&&_0x3ac818['includes'](_0x1427f1[_0x31525e(0x4e7)]['id'])?{..._0x1427f1,'attrs':{..._0x1427f1['attrs'],'id':_0x1427f1[_0x31525e(0x4e7)]['id']+_0x3f0059['idSuffix']}}:_0x1427f1)}:_0x2053a0;}function _0x49a49e(_0x167fa5){const _0x295fc5=_0x2766d8;let _0x4b8d4b=_0x167fa5[_0x295fc5(0x386)]['baseVal'],_0x47dd0c=Math['max'](_0x4b8d4b[_0x295fc5(0x49e)],_0x4b8d4b['height']);if(!Number['isFinite'](_0x47dd0c)||_0x47dd0c<=0x0||_0x4b8d4b[_0x295fc5(0x49e)]<=0x0||_0x4b8d4b['height']<=0x0)return()=>void 0x0;let _0x4932c8=0x10/_0x47dd0c,_0x4b6711=Array[_0x295fc5(0x5d4)](_0x167fa5[_0x295fc5(0x26e)](_0x295fc5(0x1fa)))[_0x295fc5(0x29e)](_0xea3263=>{const _0x2d1196=_0x295fc5;let _0x594cf1=getComputedStyle(_0xea3263),_0x81d52a=Number[_0x2d1196(0x3ba)](_0x594cf1[_0x2d1196(0x46f)]);return _0x594cf1[_0x2d1196(0x3b4)]===_0x2d1196(0x508)||Number[_0x2d1196(0x3ba)](_0x594cf1['strokeOpacity'])===0x0||_0x594cf1[_0x2d1196(0x57d)]===_0x2d1196(0x25e)||!Number[_0x2d1196(0x205)](_0x81d52a)||_0x81d52a<=0x0?[]:[{'element':_0xea3263,'hadStyleAttribute':_0xea3263[_0x2d1196(0x391)](_0x2d1196(0x3b0)),'originalStrokeWidth':_0x81d52a,'strokeWidth':_0x2aef41(_0xea3263[_0x2d1196(0x3b0)],'stroke-width')}];})[_0x295fc5(0x4d8)](_0x9c4de0=>({'appliedStrokeWidth':null,'element':_0x9c4de0[_0x295fc5(0x4a6)],'hadStyleAttribute':_0x9c4de0[_0x295fc5(0x2fb)],'isReleased':!0x1,'originalStrokeWidth':_0x9c4de0[_0x295fc5(0x345)],'strokeWidth':_0x9c4de0[_0x295fc5(0x46f)]}));if(_0x4b6711[_0x295fc5(0x2f1)]===0x0)return()=>void 0x0;let _0x1d35f1=(_0x391125,_0x2d933f)=>{const _0x9c3e24=_0x295fc5;if(_0x4b8d4b[_0x9c3e24(0x49e)]<=0x0||_0x4b8d4b[_0x9c3e24(0x3f8)]<=0x0||_0x391125<=0x0||_0x2d933f<=0x0)return;let _0x4a031c=Math[_0x9c3e24(0x295)](_0x391125/_0x4b8d4b[_0x9c3e24(0x49e)],_0x2d933f/_0x4b8d4b[_0x9c3e24(0x3f8)]);!Number['isFinite'](_0x4a031c)||_0x4a031c<=0x0||_0x4b6711['forEach'](_0x509b80=>{const _0x171291=_0x9c3e24;if(_0x509b80['isReleased'])return;if(_0x509b80[_0x171291(0x533)]!==null&&(_0x509b80['element'][_0x171291(0x3b0)]['getPropertyValue'](_0x171291(0x1e3))!==_0x509b80[_0x171291(0x533)]||_0x509b80[_0x171291(0x4a6)][_0x171291(0x3b0)][_0x171291(0x3ca)]('stroke-width')!==_0x509b80[_0x171291(0x46f)][_0x171291(0x4b6)])){_0x509b80[_0x171291(0x533)]=null,_0x509b80[_0x171291(0x431)]=!0x0;return;}let _0x349263=_0x509b80[_0x171291(0x345)]*_0x4932c8/_0x4a031c,_0x54408d=Number(_0x349263[_0x171291(0x56e)](0xc))+'px';_0x509b80[_0x171291(0x4a6)][_0x171291(0x3b0)][_0x171291(0x5c6)](_0x171291(0x1e3),_0x54408d,_0x509b80[_0x171291(0x46f)]['priority']),_0x509b80[_0x171291(0x533)]=_0x54408d;});},_0x3c3dd7=_0x167fa5[_0x295fc5(0x3db)]();_0x1d35f1(_0x3c3dd7[_0x295fc5(0x49e)],_0x3c3dd7[_0x295fc5(0x3f8)]);let _0xc42ccf=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x25acd3=>{const _0x277938=_0x295fc5;if(_0x25acd3['some'](_0x2a5e24=>_0x2a5e24['target']===_0x167fa5)){let _0x54c39b=_0x167fa5[_0x277938(0x3db)]();_0x1d35f1(_0x54c39b[_0x277938(0x49e)],_0x54c39b['height']);}});return _0xc42ccf==null||_0xc42ccf[_0x295fc5(0x529)](_0x167fa5),()=>{const _0x3b2c67=_0x295fc5;_0xc42ccf==null||_0xc42ccf[_0x3b2c67(0x4e3)](),_0x4b6711['forEach'](_0x325b62=>{const _0x11d7a3=_0x3b2c67;_0x325b62[_0x11d7a3(0x533)]!==null&&(_0xcc8f15(_0x325b62['element'][_0x11d7a3(0x3b0)],_0x11d7a3(0x1e3),_0x325b62[_0x11d7a3(0x533)],_0x325b62[_0x11d7a3(0x46f)][_0x11d7a3(0x4b6)],_0x325b62[_0x11d7a3(0x46f)]),!_0x325b62[_0x11d7a3(0x2fb)]&&_0x325b62['element'][_0x11d7a3(0x3b0)][_0x11d7a3(0x2f1)]===0x0&&_0x325b62[_0x11d7a3(0x4a6)][_0x11d7a3(0x3cd)]('style'));});};}function _0x2aef41(_0x567d71,_0xfb06c0){const _0x2fc00f=_0x2766d8;return{'priority':_0x567d71['getPropertyPriority'](_0xfb06c0),'value':_0x567d71[_0x2fc00f(0x51c)](_0xfb06c0)};}function _0xcc8f15(_0x53ea1e,_0x2b90d6,_0x1d25b4,_0x25a848,_0x5187b1){const _0xafde96=_0x2766d8;_0x53ea1e[_0xafde96(0x51c)](_0x2b90d6)===_0x1d25b4&&_0x53ea1e[_0xafde96(0x3ca)](_0x2b90d6)===_0x25a848&&(_0x5187b1[_0xafde96(0x58f)]?_0x53ea1e[_0xafde96(0x5c6)](_0x2b90d6,_0x5187b1[_0xafde96(0x58f)],_0x5187b1[_0xafde96(0x4b6)]):_0x53ea1e[_0xafde96(0x461)](_0x2b90d6));}_0x4ddfda[_0x2766d8(0x573)]=_0x2766d8(0x3dd);let _0x5495d3={'tag':_0x2766d8(0x3e7),'attrs':{'xmlns':_0x2766d8(0x4a3),'fill':_0x2766d8(0x508),'viewBox':_0x2766d8(0x5a9),'width':'1em','height':_0x2766d8(0x4a0)},'children':[{'tag':_0x2766d8(0x56d),'attrs':{'fill':_0x2766d8(0x50f),'d':_0x2766d8(0x41e),'fillRule':'evenodd','clipRule':_0x2766d8(0x2c0)}},{'tag':'path','attrs':{'fill':'currentColor','d':'M14.1544\x208.5999C15.038\x208.5999\x2015.7544\x207.88356\x2015.7544\x206.9999C15.7544\x206.11625\x2015.038\x205.3999\x2014.1544\x205.3999H3.85439C2.97074\x205.3999\x202.25439\x206.11625\x202.25439\x206.9999C2.25439\x207.88356\x202.97074\x208.5999\x203.85439\x208.5999H14.1544ZM14.5544\x206.9999C14.5544\x207.22082\x2014.3753\x207.3999\x2014.1544\x207.3999H3.85439C3.63348\x207.3999\x203.45439\x207.22082\x203.45439\x206.9999C3.45439\x206.77899\x203.63348\x206.5999\x203.85439\x206.5999H14.1544C14.3753\x206.5999\x2014.5544\x206.77899\x2014.5544\x206.9999Z','fillRule':_0x2766d8(0x2c0),'clipRule':_0x2766d8(0x2c0)}},{'tag':_0x2766d8(0x56d),'attrs':{'fill':'currentColor','d':_0x2766d8(0x296)}},{'tag':_0x2766d8(0x56d),'attrs':{'fill':_0x2766d8(0x50f),'d':'M8.57975\x2014.5902C8.58121\x2014.5917\x208.58268\x2014.5931\x208.58416\x2014.5946C8.64077\x2014.6502\x208.70566\x2014.6923\x208.77482\x2014.7209C8.84557\x2014.7502\x208.92314\x2014.7664\x209.00449\x2014.7664C9.08585\x2014.7664\x209.16342\x2014.7502\x209.23416\x2014.7209C9.30332\x2014.6923\x209.36821\x2014.6502\x209.42482\x2014.5946'}}]},_0x460267=(0x0,_0x3d354c[_0x2766d8(0x3fd)])(function(_0x4a9288,_0x1ee68b){const _0xe4173e=_0x2766d8;return(0x0,_0x3d354c[_0xe4173e(0x58b)])(_0x4ddfda,Object[_0xe4173e(0x380)]({},_0x4a9288,{'id':_0xe4173e(0x2a7),'ref':_0x1ee68b,'icon':_0x5495d3}));});_0x460267[_0x2766d8(0x573)]='BottomIcon';let _0x45b220={'tag':_0x2766d8(0x3e7),'attrs':{'xmlns':_0x2766d8(0x4a3),'fill':_0x2766d8(0x508),'viewBox':'0\x200\x2016\x2016','width':_0x2766d8(0x4a0),'height':_0x2766d8(0x4a0)},'children':[{'tag':_0x2766d8(0x56d),'attrs':{'stroke':_0x2766d8(0x50f),'d':'M2.6\x203.3L6.2\x208L2.6\x2012.7V3.3Z','strokeLinecap':'round','strokeLinejoin':_0x2766d8(0x2fd),'strokeWidth':1.3}},{'tag':_0x2766d8(0x56d),'attrs':{'stroke':_0x2766d8(0x50f),'d':'M13.4\x203.3L9.8\x208L13.4\x2012.7V3.3Z','strokeLinecap':_0x2766d8(0x2fd),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x2766d8(0x56d),'attrs':{'stroke':_0x2766d8(0x50f),'d':_0x2766d8(0x3a3),'strokeLinecap':_0x2766d8(0x2fd),'strokeWidth':1.2}},{'tag':_0x2766d8(0x56d),'attrs':{'stroke':_0x2766d8(0x50f),'d':_0x2766d8(0x454),'strokeLinecap':_0x2766d8(0x2fd),'strokeWidth':1.2}},{'tag':_0x2766d8(0x56d),'attrs':{'stroke':_0x2766d8(0x50f),'d':_0x2766d8(0x3be),'strokeLinecap':_0x2766d8(0x2fd),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x2766d8(0x50f),'d':'M8\x2014V14.2','strokeLinecap':_0x2766d8(0x2fd),'strokeWidth':1.2}}]},_0x3e9cd9=(0x0,_0x3d354c['forwardRef'])(function(_0x34130f,_0x483df4){const _0x16691a=_0x2766d8;return(0x0,_0x3d354c[_0x16691a(0x58b)])(_0x4ddfda,Object['assign']({},_0x34130f,{'id':'flip-horizontal-icon','ref':_0x483df4,'icon':_0x45b220}));});_0x3e9cd9[_0x2766d8(0x573)]=_0x2766d8(0x2cb);let _0x381488={'tag':_0x2766d8(0x3e7),'attrs':{'xmlns':_0x2766d8(0x4a3),'fill':_0x2766d8(0x508),'viewBox':_0x2766d8(0x1f5),'width':_0x2766d8(0x4a0),'height':'1em'},'children':[{'tag':_0x2766d8(0x56d),'attrs':{'stroke':'currentColor','d':_0x2766d8(0x364),'strokeLinecap':_0x2766d8(0x2fd),'strokeLinejoin':_0x2766d8(0x2fd),'strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x2766d8(0x50f),'d':_0x2766d8(0x4b9),'strokeLinecap':'round','strokeLinejoin':_0x2766d8(0x2fd),'strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x2766d8(0x50f),'d':_0x2766d8(0x25a),'strokeLinecap':_0x2766d8(0x2fd),'strokeWidth':1.2}},{'tag':_0x2766d8(0x56d),'attrs':{'stroke':_0x2766d8(0x50f),'d':_0x2766d8(0x2ff),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x2766d8(0x50f),'d':_0x2766d8(0x530),'strokeLinecap':_0x2766d8(0x2fd),'strokeWidth':1.2}},{'tag':_0x2766d8(0x56d),'attrs':{'stroke':_0x2766d8(0x50f),'d':_0x2766d8(0x489),'strokeLinecap':'round','strokeWidth':1.2}}]},_0x4ae031=(0x0,_0x3d354c[_0x2766d8(0x3fd)])(function(_0x5b858e,_0xbe5712){const _0x4e9a40=_0x2766d8;return(0x0,_0x3d354c[_0x4e9a40(0x58b)])(_0x4ddfda,Object[_0x4e9a40(0x380)]({},_0x5b858e,{'id':'flip-vertical-icon','ref':_0xbe5712,'icon':_0x381488}));});_0x4ae031[_0x2766d8(0x573)]=_0x2766d8(0x1d5);let _0x54216e={'tag':_0x2766d8(0x3e7),'attrs':{'xmlns':_0x2766d8(0x4a3),'fill':_0x2766d8(0x508),'viewBox':_0x2766d8(0x1f5),'width':_0x2766d8(0x4a0),'height':_0x2766d8(0x4a0)},'children':[{'tag':_0x2766d8(0x56d),'attrs':{'fill':_0x2766d8(0x50f),'d':_0x2766d8(0x563),'fillRule':_0x2766d8(0x2c0),'clipRule':_0x2766d8(0x2c0)}},{'tag':_0x2766d8(0x56d),'attrs':{'fill':_0x2766d8(0x50f),'d':'M5.57564\x2011.6118C5.80995\x2011.3774\x206.18985\x2011.3774\x206.42417\x2011.6118L7.3999\x2012.5875V6.36951C7.3999\x206.03814\x207.66853\x205.76951\x207.9999\x205.76951C8.33127\x205.76951\x208.5999\x206.03814\x208.5999\x206.36951V12.5875L9.57564\x2011.6118C9.80995\x2011.3774\x2010.1899\x2011.3774\x2010.4242\x2011.6118C10.6585\x2011.8461\x2010.6585\x2012.226\x2010.4242\x2012.4603L8.4324\x2014.452C8.32324\x2014.5655\x208.16982\x2014.6362\x207.9999\x2014.6362C7.82998\x2014.6362\x207.67655\x2014.5655\x207.56739\x2014.452L5.57564\x2012.4603C5.34132\x2012.226\x205.34132\x2011.8461\x205.57564\x2011.6118Z'}}]},_0x5e159d=(0x0,_0x3d354c[_0x2766d8(0x3fd)])(function(_0x1eff72,_0x5a07f6){const _0x217df4=_0x2766d8;return(0x0,_0x3d354c[_0x217df4(0x58b)])(_0x4ddfda,Object[_0x217df4(0x380)]({},_0x1eff72,{'id':'move-down-icon','ref':_0x5a07f6,'icon':_0x54216e}));});_0x5e159d[_0x2766d8(0x573)]='MoveDownIcon';let _0x2fa6b1={'tag':_0x2766d8(0x3e7),'attrs':{'xmlns':_0x2766d8(0x4a3),'fill':'none','viewBox':_0x2766d8(0x1f5),'width':_0x2766d8(0x4a0),'height':_0x2766d8(0x4a0)},'children':[{'tag':_0x2766d8(0x56d),'attrs':{'fill':'currentColor','d':_0x2766d8(0x2d2),'fillRule':'evenodd','clipRule':_0x2766d8(0x2c0)}},{'tag':_0x2766d8(0x56d),'attrs':{'fill':_0x2766d8(0x50f),'d':_0x2766d8(0x245)}}]},_0xf77df5=(0x0,_0x3d354c[_0x2766d8(0x3fd)])(function(_0x2a3dd0,_0x46ce25){const _0x3c34be=_0x2766d8;return(0x0,_0x3d354c['createElement'])(_0x4ddfda,Object[_0x3c34be(0x380)]({},_0x2a3dd0,{'id':'move-up-icon','ref':_0x46ce25,'icon':_0x2fa6b1}));});_0xf77df5[_0x2766d8(0x573)]=_0x2766d8(0x4a5);let _0x28ae3c={'tag':_0x2766d8(0x3e7),'attrs':{'xmlns':_0x2766d8(0x4a3),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x2766d8(0x4a0),'height':_0x2766d8(0x4a0)},'children':[{'tag':_0x2766d8(0x56d),'attrs':{'stroke':_0x2766d8(0x50f),'d':_0x2766d8(0x268),'strokeLinecap':_0x2766d8(0x2fd),'strokeLinejoin':_0x2766d8(0x2fd),'strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x2766d8(0x50f),'d':_0x2766d8(0x2e9),'strokeLinecap':_0x2766d8(0x2fd),'strokeLinejoin':_0x2766d8(0x2fd),'strokeWidth':1.3}}]},_0x5f2102=(0x0,_0x3d354c[_0x2766d8(0x3fd)])(function(_0x5cb0ae,_0x50d216){const _0x3f52f4=_0x2766d8;return(0x0,_0x3d354c[_0x3f52f4(0x58b)])(_0x4ddfda,Object['assign']({},_0x5cb0ae,{'id':_0x3f52f4(0x52b),'ref':_0x50d216,'icon':_0x28ae3c}));});_0x5f2102[_0x2766d8(0x573)]=_0x2766d8(0x3a5);let _0x483a2c={'tag':_0x2766d8(0x3e7),'attrs':{'xmlns':_0x2766d8(0x4a3),'fill':_0x2766d8(0x508),'viewBox':'0\x200\x2016\x2016','width':_0x2766d8(0x4a0),'height':_0x2766d8(0x4a0)},'children':[{'tag':_0x2766d8(0x56d),'attrs':{'stroke':_0x2766d8(0x50f),'d':_0x2766d8(0x4b5),'strokeLinecap':'round','strokeLinejoin':_0x2766d8(0x2fd),'strokeWidth':1.2}},{'tag':_0x2766d8(0x56d),'attrs':{'stroke':_0x2766d8(0x50f),'d':'M4.2\x205.5H10.5','strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x2766d8(0x56d),'attrs':{'stroke':_0x2766d8(0x50f),'d':_0x2766d8(0x267),'strokeLinecap':_0x2766d8(0x2fd),'strokeWidth':1.2}},{'tag':_0x2766d8(0x56d),'attrs':{'stroke':_0x2766d8(0x50f),'d':'M11.5565\x208H12.4435L12.913\x208.78261L13.8\x208.57391L14.4261\x209.2L14.2174\x2010.087L15\x2010.5565V11.4435L14.2174\x2011.913L14.4261\x2012.8L13.8\x2013.4261L12.913\x2013.2174L12.4435\x2014H11.5565L11.087\x2013.2174L10.2\x2013.4261L9.57391\x2012.8L9.78261\x2011.913L9\x2011.4435V10.5565L9.78261\x2010.087L9.57391\x209.2L10.2\x208.57391L11.087\x208.78261L11.5565\x208Z','strokeLinejoin':_0x2766d8(0x2fd)}},{'tag':'path','attrs':{'stroke':_0x2766d8(0x50f),'d':'M12.05\x2012.1C12.6299\x2012.1\x2013.1\x2011.6299\x2013.1\x2011.05C13.1\x2010.4701\x2012.6299\x2010\x2012.05\x2010C11.4701\x2010\x2011\x2010.4701\x2011\x2011.05C11\x2011.6299\x2011.4701\x2012.1\x2012.05\x2012.1Z'}}]},_0x26b4c5=(0x0,_0x3d354c[_0x2766d8(0x3fd)])(function(_0x30c09e,_0x438469){const _0x37debb=_0x2766d8;return(0x0,_0x3d354c[_0x37debb(0x58b)])(_0x4ddfda,Object[_0x37debb(0x380)]({},_0x30c09e,{'id':_0x37debb(0x206),'ref':_0x438469,'icon':_0x483a2c}));});_0x26b4c5[_0x2766d8(0x573)]=_0x2766d8(0x3c2);let _0x4a20f3={'tag':_0x2766d8(0x3e7),'attrs':{'xmlns':_0x2766d8(0x4a3),'fill':_0x2766d8(0x508),'viewBox':_0x2766d8(0x5a9),'width':_0x2766d8(0x4a0),'height':_0x2766d8(0x4a0)},'children':[{'tag':_0x2766d8(0x56d),'attrs':{'fill':'currentColor','d':_0x2766d8(0x557)}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x2766d8(0x39a),'fillRule':_0x2766d8(0x2c0),'clipRule':_0x2766d8(0x2c0)}},{'tag':_0x2766d8(0x56d),'attrs':{'fill':_0x2766d8(0x50f),'d':'M1.6543\x2013.1665C1.6543\x2012.2828\x202.37064\x2011.5665\x203.2543\x2011.5665H13.5543C14.438\x2011.5665\x2015.1543\x2012.2828\x2015.1543\x2013.1665C15.1543\x2014.0502\x2014.438\x2014.7665\x2013.5543\x2014.7665H3.2543C2.37064\x2014.7665\x201.6543\x2014.0502\x201.6543\x2013.1665ZM3.2543\x2012.7665C3.03338\x2012.7665\x202.8543\x2012.9456\x202.8543\x2013.1665C2.8543\x2013.3874\x203.03338\x2013.5665\x203.2543\x2013.5665H13.5543C13.7752\x2013.5665\x2013.9543\x2013.3874\x2013.9543\x2013.1665C13.9543\x2012.9456\x2013.7752\x2012.7665\x2013.5543\x2012.7665H3.2543Z','fillRule':'evenodd','clipRule':_0x2766d8(0x2c0)}}]},_0x222f4e=(0x0,_0x3d354c[_0x2766d8(0x3fd)])(function(_0x584794,_0x28642f){const _0xa2cff9=_0x2766d8;return(0x0,_0x3d354c[_0xa2cff9(0x58b)])(_0x4ddfda,Object[_0xa2cff9(0x380)]({},_0x584794,{'id':'topmost-icon','ref':_0x28642f,'icon':_0x4a20f3}));});_0x222f4e[_0x2766d8(0x573)]=_0x2766d8(0x2ad);function _0x1ba86f({PanelComponent:_0x158c5a=_0x2c4f7e[_0x2766d8(0x4ff)]}){const _0x5dd2b0=_0x2766d8;var _0xb1fd4b;function _0x4a79f6(_0x175778){const _0xe0f60c=_0x231f;return _0x175778[_0xe0f60c(0x290)]()||void 0x0;}function _0x18d641(_0x94fd6d,_0x5b17cc,_0x3f2023){const _0x2a9495=_0x231f;var _0x1d294e;return((_0x1d294e=_0x94fd6d[_0x2a9495(0x24b)])==null?void 0x0:_0x1d294e[_0x2a9495(0x290)]())||_0x3f2023['t'](_0x2a9495(0x350)+(0x0,_0x197fcc['getDrawingTypeNameKey'])(_0x94fd6d[_0x2a9495(0x313)]))+'\x20'+(_0x5b17cc+0x1);}let _0x3acd58=(0x0,_0x23e778[_0x5dd2b0(0x4e0)])(_0x35d996[_0x5dd2b0(0x5d0)]),_0x36605d={'title':_0x3acd58['t'](_0x5dd2b0(0x35f)),'empty':_0x3acd58['t']('drawing-ui.objectListPanel.empty'),'showAll':_0x3acd58['t'](_0x5dd2b0(0x35a)),'hideAll':_0x3acd58['t'](_0x5dd2b0(0x2d9)),'lockAll':_0x3acd58['t'](_0x5dd2b0(0x279)),'unlockAll':_0x3acd58['t'](_0x5dd2b0(0x2c8)),'moveForward':_0x3acd58['t']('drawing-ui.objectListPanel.moveForward'),'moveBackward':_0x3acd58['t']('drawing-ui.objectListPanel.moveBackward'),'close':_0x3acd58['t'](_0x5dd2b0(0x5ab)),'show':_0x3acd58['t']('drawing-ui.objectListPanel.show'),'hide':_0x3acd58['t']('drawing-ui.objectListPanel.hide'),'lock':_0x3acd58['t'](_0x5dd2b0(0x57a)),'unlock':_0x3acd58['t'](_0x5dd2b0(0x36e)),'lockHint':_0x3acd58['t'](_0x5dd2b0(0x5dd)),'unlockHint':_0x3acd58['t'](_0x5dd2b0(0x450)),'name':_0x3acd58['t'](_0x5dd2b0(0x531)),'nameInput':_0x3acd58['t'](_0x5dd2b0(0x488)),'description':_0x3acd58['t'](_0x5dd2b0(0x342)),'descriptionPlaceholder':_0x3acd58['t']('drawing-ui.objectListPanel.descriptionPlaceholder'),'details':_0x3acd58['t'](_0x5dd2b0(0x2fa)),'noSelection':_0x3acd58['t']('drawing-ui.objectListPanel.noSelection'),'locate':_0x3acd58['t'](_0x5dd2b0(0x539)),'expand':_0x3acd58['t'](_0x5dd2b0(0x2b6)),'collapse':_0x3acd58['t'](_0x5dd2b0(0x487)),'dragToReorder':_0x3acd58['t'](_0x5dd2b0(0x4a8)),'search':_0x3acd58['t'](_0x5dd2b0(0x27b)),'filterAll':_0x3acd58['t'](_0x5dd2b0(0x5b5)),'filterHidden':_0x3acd58['t'](_0x5dd2b0(0x2ba)),'filterLocked':_0x3acd58['t'](_0x5dd2b0(0x5bf)),'sectionCanvas':_0x3acd58['t'](_0x5dd2b0(0x413)),'sectionFloating':_0x3acd58['t'](_0x5dd2b0(0x46e))},_0x4e2c87=(0x0,_0x23e778[_0x5dd2b0(0x4e0)])(_0x35d996['ICommandService']),_0x412add=(0x0,_0x23e778[_0x5dd2b0(0x4e0)])(_0x35d996[_0x5dd2b0(0x403)]),_0x4d7972=(0x0,_0x23e778[_0x5dd2b0(0x4e0)])(_0x47830d[_0x5dd2b0(0x312)]),_0x2f9414=(0x0,_0x23e778[_0x5dd2b0(0x4e0)])(_0x2ed59f[_0x5dd2b0(0x554)]),_0x473ebf=(0x0,_0x23e778['useDependency'])(_0x580d8a[_0x5dd2b0(0x266)]),_0x1daa93=(0x0,_0x23e778[_0x5dd2b0(0x4e0)])(_0x23e778[_0x5dd2b0(0x3ea)]),[,_0x2a088b]=(0x0,_0x3d354c[_0x5dd2b0(0x452)])(_0x30c734=>_0x30c734+0x1,0x0),_0x13c60e=_0x412add[_0x5dd2b0(0x5ef)](_0x35d996[_0x5dd2b0(0x31d)][_0x5dd2b0(0x3de)]),_0x548556=(_0x13c60e==null?void 0x0:_0x13c60e[_0x5dd2b0(0x331)]())??'',_0x18313e=(_0x13c60e==null||(_0xb1fd4b=_0x13c60e[_0x5dd2b0(0x565)]())==null?void 0x0:_0xb1fd4b['getSheetId']())??'',_0x242fa4=(0x0,_0x23e778[_0x5dd2b0(0x4c4)])(()=>_0x2f9414['focus$'],_0x2f9414['getFocusDrawings'](),!0x1,[_0x2f9414]);(0x0,_0x3d354c['useEffect'])(()=>{const _0x13f20b=_0x5dd2b0;let _0xd36308=_0x4e2c87[_0x13f20b(0x3f5)](()=>_0x2a088b());return()=>_0xd36308['dispose']();},[_0x4e2c87]);let _0x3a4126=_0x548556&&_0x18313e?_0x4d7972[_0x5dd2b0(0x2aa)](_0x548556,_0x18313e):{},_0x33bdaa=(_0x548556&&_0x18313e?_0x4d7972[_0x5dd2b0(0x593)](_0x548556,_0x18313e):[])[_0x5dd2b0(0x4d8)](_0xb7bf20=>_0x3a4126[_0xb7bf20])[_0x5dd2b0(0x35b)](_0x590dec=>!!_0x590dec)[_0x5dd2b0(0x590)](),_0x23af3c=_0x33bdaa[_0x5dd2b0(0x566)]((_0x490213,_0x6a5478)=>(_0x490213[(0x0,_0x2c4f7e['getObjectListPanelSectionIdForDrawingType'])(_0x6a5478['drawingType'])]+=0x1,_0x490213),{'canvas':0x0,'floating':0x0}),_0x448c97={'canvas':0x0,'floating':0x0},_0x5df06c=_0x33bdaa['map']((_0x442e48,_0x2266e8)=>{const _0x2ab2df=_0x5dd2b0;let _0x1b0cd9=(0x0,_0x2c4f7e[_0x2ab2df(0x52d)])(_0x442e48['drawingType']),_0x40bd8d=_0x1b0cd9===_0x2c4f7e[_0x2ab2df(0x304)],_0x34744d=_0x448c97[_0x1b0cd9]++;return{'id':_0x442e48['drawingId'],'name':_0x18d641(_0x442e48,_0x2266e8,_0x3acd58),'description':_0x442e48[_0x2ab2df(0x274)],'visible':_0x442e48[_0x2ab2df(0x263)]!==!0x0,'selectable':_0x442e48[_0x2ab2df(0x356)]!==!0x1,'sectionId':_0x1b0cd9,'sectionTitle':_0x40bd8d?_0x36605d[_0x2ab2df(0x42f)]:_0x36605d[_0x2ab2df(0x2ee)],'capabilities':_0x40bd8d?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x40bd8d&&_0x34744d>0x0,'canMoveBackward':!_0x40bd8d&&_0x34744d<_0x23af3c['canvas']-0x1,'canReorder':!_0x40bd8d};}),_0x172c68=(0x0,_0x3d354c[_0x5dd2b0(0x21e)])(()=>(_0x242fa4??[])[_0x5dd2b0(0x35b)](_0x3be797=>_0x3be797['unitId']===_0x548556&&_0x3be797[_0x5dd2b0(0x35e)]===_0x18313e)['map'](_0x194a64=>_0x194a64[_0x5dd2b0(0x314)]),[_0x242fa4,_0x18313e,_0x548556]),_0x518740=_0x172c68[_0x172c68[_0x5dd2b0(0x2f1)]-0x1]??null,_0x3578a6=_0x1cafa0=>_0x4d7972['getDrawingByParam']({'unitId':_0x548556,'subUnitId':_0x18313e,'drawingId':_0x1cafa0})??null,_0x47f65a=async _0x22c3c8=>{const _0xfbad4f=_0x5dd2b0;_0x548556&&_0x22c3c8[_0xfbad4f(0x2f1)]&&await _0x4e2c87[_0xfbad4f(0x3d1)](_0x47830d[_0xfbad4f(0x395)]['id'],{'unitId':_0x548556,'drawings':_0x22c3c8});},_0x41ae3f=async(_0x51d6b9,_0x531ad8)=>{_0x3578a6(_0x51d6b9)&&await _0x47f65a([{'unitId':_0x548556,'subUnitId':_0x18313e,'drawingId':_0x51d6b9,..._0x531ad8}]);},_0x2cd3ac=(_0x119f6c,_0x4ece60)=>{const _0x52ae9e=_0x5dd2b0;if(!_0x548556||!_0x18313e)return;let _0x4808f6=_0x4ece60?_0x172c68[_0x52ae9e(0x41c)](_0x119f6c)?_0x172c68[_0x52ae9e(0x35b)](_0x16bc43=>_0x16bc43!==_0x119f6c):[..._0x172c68,_0x119f6c]:[_0x119f6c];_0x4e2c87[_0x52ae9e(0x478)](_0x2ed59f[_0x52ae9e(0x2f6)]['id'],_0x4808f6[_0x52ae9e(0x4d8)](_0x407e62=>({'unitId':_0x548556,'subUnitId':_0x18313e,'drawingId':_0x407e62})));let _0x85f789=_0x4808f6[_0x4808f6[_0x52ae9e(0x2f1)]-0x1];_0x85f789?((0x0,_0x197fcc['activateDrawingObject'])(_0x473ebf,{'unitId':_0x548556,'subUnitId':_0x18313e,'drawingId':_0x85f789}),_0x1daa93['focus'](_0x548556)):(0x0,_0x197fcc[_0x52ae9e(0x354)])(_0x473ebf,_0x548556);},_0x5592a2=async(_0x31b6c8,_0x43b4c2)=>{const _0x107d5c=_0x5dd2b0;await _0x47f65a(_0x31b6c8[_0x107d5c(0x4d8)](_0x323bbd=>_0x3578a6(_0x323bbd))['filter'](_0x582583=>!!_0x582583)[_0x107d5c(0x35b)](_0x10a87c=>_0x10a87c[_0x107d5c(0x263)]!==!0x0!==_0x43b4c2)[_0x107d5c(0x4d8)](_0x10bf6b=>({'unitId':_0x548556,'subUnitId':_0x18313e,'drawingId':_0x10bf6b[_0x107d5c(0x314)],'hidden':!_0x43b4c2})));},_0x2f9b24=async(_0x598e7f,_0x54f447)=>{const _0x3f3965=_0x5dd2b0;await _0x47f65a(_0x598e7f[_0x3f3965(0x4d8)](_0x1f9fe4=>_0x3578a6(_0x1f9fe4))[_0x3f3965(0x35b)](_0x3bc08e=>!!_0x3bc08e)[_0x3f3965(0x35b)](_0x3bb7b9=>_0x3bb7b9[_0x3f3965(0x356)]!==!0x1!==_0x54f447)[_0x3f3965(0x4d8)](_0x317567=>({'unitId':_0x548556,'subUnitId':_0x18313e,'drawingId':_0x317567[_0x3f3965(0x314)],'selectable':_0x54f447})));},_0x51253b=_0x2d0ce0=>{const _0x388bf4=_0x5dd2b0;let _0x1441cd=_0x3578a6(_0x2d0ce0);if(_0x1441cd)return _0x2f9b24([_0x2d0ce0],_0x1441cd[_0x388bf4(0x356)]===!0x1);},_0x55b6fe=async(_0x16af8a,_0x40c853)=>{var _0x2a7c1d;let _0x2fd38c=_0x4a79f6(_0x40c853);(((_0x2a7c1d=_0x3578a6(_0x16af8a))==null?void 0x0:_0x2a7c1d['name'])??void 0x0)!==_0x2fd38c&&await _0x41ae3f(_0x16af8a,{'name':_0x2fd38c});},_0x2be9ef=async(_0x165c09,_0x563216)=>{const _0x5c5ae5=_0x5dd2b0;var _0x8dc9a3;let _0x324b2c=_0x4a79f6(_0x563216);(((_0x8dc9a3=_0x3578a6(_0x165c09))==null?void 0x0:_0x8dc9a3[_0x5c5ae5(0x274)])??void 0x0)!==_0x324b2c&&await _0x41ae3f(_0x165c09,{'description':_0x324b2c});},_0x4cb9b4=async(_0x2b5cbd,_0x340aa8)=>{const _0x1b90dc=_0x5dd2b0;_0x548556&&_0x18313e&&await _0x4e2c87[_0x1b90dc(0x3d1)](_0x47830d[_0x1b90dc(0x2df)]['id'],{'unitId':_0x548556,'subUnitId':_0x18313e,'drawingIds':[_0x2b5cbd],'arrangeType':_0x340aa8});};return!_0x548556||!_0x18313e?(0x0,_0x121104[_0x5dd2b0(0x4f2)])(_0x5dd2b0(0x3b3),{'className':'univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','children':_0x36605d['title']}):(0x0,_0x121104[_0x5dd2b0(0x4f2)])(_0x158c5a,{'labels':_0x36605d,'items':_0x5df06c,'selectedIds':_0x172c68,'focusedId':_0x518740,'showHeader':!0x1,'onSelect':_0x2cd3ac,'onSetVisible':_0x5592a2,'onSetSelectable':_0x2f9b24,'onCommitName':_0x55b6fe,'onCommitDescription':_0x2be9ef,'onMoveForward':async _0x4725f9=>_0x4cb9b4(_0x4725f9,_0x35d996['ArrangeTypeEnum'][_0x5dd2b0(0x214)]),'onMoveBackward':async _0x4e95bf=>_0x4cb9b4(_0x4e95bf,_0x35d996[_0x5dd2b0(0x55c)][_0x5dd2b0(0x2bf)]),'onToggleSelectable':_0x51253b});}function _0x4f4b73(){const _0x29c752=_0x2766d8;return(0x0,_0x121104[_0x29c752(0x4f2)])(_0x1ba86f,{'PanelComponent':_0x2c4f7e[_0x29c752(0x3d9)]});}let _0x46a7ae=class extends _0x35d996[_0x2766d8(0x491)]{constructor(_0x7733f0,_0x4d3b8f){const _0xe25fc8=_0x2766d8;super(),this[_0xe25fc8(0x271)](_0x7733f0[_0xe25fc8(0x495)](_0x5bd6d7,_0x4f4b73)),this[_0xe25fc8(0x271)](_0x4d3b8f[_0xe25fc8(0x495)]({'BottomIcon':_0x460267,'FlipHorizontalIcon':_0x3e9cd9,'FlipVerticalIcon':_0x4ae031,'MoveDownIcon':_0x5e159d,'MoveUpIcon':_0xf77df5,'ObjectLayersIcon':_0x5f2102,'ShapeFormatSettingIcon':_0x26b4c5,'TopmostIcon':_0x222f4e})),this['disposeWithMe'](_0x7733f0[_0xe25fc8(0x495)](_0x2ae931,_0x25a995)),this[_0xe25fc8(0x271)](_0x7733f0['register'](_0x4aafa5,_0x2dbee2)),_0x7733f0['hasDefault'](_0x2c4f7e[_0xe25fc8(0x368)])||this[_0xe25fc8(0x271)](_0x7733f0[_0xe25fc8(0x495)](_0x2c4f7e[_0xe25fc8(0x368)],_0x275f06));}};_0x46a7ae=_0x39c461([_0x400e7c(0x0,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x23e778['ComponentManager'])),_0x400e7c(0x1,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x23e778[_0x2766d8(0x211)]))],_0x46a7ae);let _0x4a54d8=class extends _0x35d996[_0x2766d8(0x491)]{constructor(_0x1fdda8){const _0x45dc01=_0x2766d8;super(),this[_0x45dc01(0x30c)]=_0x1fdda8,_0x2a4a7a(this,_0x45dc01(0x5b1),new _0x4737d9['BehaviorSubject'](null)),_0x2a4a7a(this,_0x45dc01(0x4b4),this['_editingParams$'][_0x45dc01(0x5bc)]()),_0x2a4a7a(this,_0x45dc01(0x4c6),new _0x4737d9[(_0x45dc01(0x3b1))](!0x1)),_0x2a4a7a(this,_0x45dc01(0x3a0),this[_0x45dc01(0x4c6)][_0x45dc01(0x5bc)]()),_0x2a4a7a(this,'_completionFrame',void 0x0),this[_0x45dc01(0x271)](this['_permissionService'][_0x45dc01(0x2bd)][_0x45dc01(0x56a)](()=>{const _0x1673cf=_0x45dc01;let _0x56b345=this[_0x1673cf(0x2cd)]();_0x56b345!=null&&_0x56b345['visible']&&!this[_0x1673cf(0x3d0)](_0x56b345)&&this[_0x1673cf(0x5c4)](null);}));}[_0x2766d8(0x2a4)](){const _0x4a5a05=_0x2766d8;this['_clearCompletionFrame'](),this[_0x4a5a05(0x5b1)][_0x4a5a05(0x439)](null),this[_0x4a5a05(0x5b1)][_0x4a5a05(0x44d)](),this[_0x4a5a05(0x4c6)][_0x4a5a05(0x439)](!0x1),this['_onSavingEditorData$']['complete'](),super[_0x4a5a05(0x2a4)]();}[_0x2766d8(0x5c4)](_0x3a1022){const _0x2d7f7c=_0x2766d8;(_0x3a1022==null||!_0x3a1022[_0x2d7f7c(0x416)]||this[_0x2d7f7c(0x3d0)](_0x3a1022))&&(this[_0x2d7f7c(0x221)](),this[_0x2d7f7c(0x5b1)][_0x2d7f7c(0x439)](_0x3a1022),(_0x3a1022==null||_0x3a1022[_0x2d7f7c(0x416)]&&this[_0x2d7f7c(0x4c6)][_0x2d7f7c(0x3a4)]())&&this['_onSavingEditorData$'][_0x2d7f7c(0x439)](!0x1));}[_0x2766d8(0x3e1)](_0x221c8c){const _0x56d7dd=_0x2766d8;this[_0x56d7dd(0x4c6)][_0x56d7dd(0x439)](_0x221c8c);}[_0x2766d8(0x2cd)](){const _0x3a6aa9=_0x2766d8;return this[_0x3a6aa9(0x5b1)]['getValue']();}[_0x2766d8(0x3d0)](_0x23ed92){const _0x5a7ac4=_0x2766d8;let _0x81dc1b=this[_0x5a7ac4(0x30c)][_0x5a7ac4(0x5ec)](new _0x2a684c[(_0x5a7ac4(0x4c0))](_0x23ed92[_0x5a7ac4(0x280)])['id']),_0x485545=this['_permissionService']['getPermissionPoint'](new _0x2a684c[(_0x5a7ac4(0x59b))](_0x23ed92[_0x5a7ac4(0x280)],_0x23ed92[_0x5a7ac4(0x35e)])['id']);return((_0x81dc1b==null?void 0x0:_0x81dc1b[_0x5a7ac4(0x58f)])??!0x0)&&((_0x485545==null?void 0x0:_0x485545[_0x5a7ac4(0x58f)])??!0x0);}[_0x2766d8(0x387)](_0x46418d){const _0x50f3cc=_0x2766d8;let _0x1667b8=this[_0x50f3cc(0x2cd)]();_0x1667b8&&this[_0x50f3cc(0x32d)]===void 0x0&&(this[_0x50f3cc(0x3e1)](!0x0),this[_0x50f3cc(0x32d)]=requestAnimationFrame(()=>{const _0x3dbf7a=_0x50f3cc;this[_0x3dbf7a(0x32d)]=void 0x0,this['getEditing']()===_0x1667b8&&this[_0x3dbf7a(0x5c4)](null);}));}['_clearCompletionFrame'](){const _0x12745a=_0x2766d8;this['_completionFrame']!==void 0x0&&(cancelAnimationFrame(this[_0x12745a(0x32d)]),this[_0x12745a(0x32d)]=void 0x0);}[_0x2766d8(0x2ec)](){const _0x27ea9d=_0x2766d8;this[_0x27ea9d(0x2cd)]()&&this[_0x27ea9d(0x5c4)](null);}};_0x4a54d8=_0x39c461([_0x400e7c(0x0,_0x35d996[_0x2766d8(0x359)])],_0x4a54d8);let _0x37b743=class extends _0x35d996[_0x2766d8(0x491)]{constructor(_0x3d50d3,_0x55f77c,_0xbd1753,_0x303449,_0x2f6c6a,_0x379026){const _0x28d026=_0x2766d8;super(),this[_0x28d026(0x587)]=_0x3d50d3,this[_0x28d026(0x451)]=_0x55f77c,this[_0x28d026(0x21a)]=_0xbd1753,this[_0x28d026(0x482)]=_0x303449,this[_0x28d026(0x269)]=_0x2f6c6a,this['_sheetsShapeService']=_0x379026,_0x2a4a7a(this,_0x28d026(0x3b6),null),this['_initEvents'](),this[_0x28d026(0x5d2)](),this[_0x28d026(0x3cc)]();}[_0x2766d8(0x444)](){const _0x10184c=_0x2766d8;let {scene:_0x2abf92}=this[_0x10184c(0x587)];this['disposeWithMe'](_0x2abf92[_0x10184c(0x2f8)]['subscribeEvent'](_0x2df6f0=>{const _0x5702b3=_0x10184c;let {offsetX:_0x4b729c,offsetY:_0x2e3eee}=_0x2df6f0,_0x4abdd0=_0x2abf92[_0x5702b3(0x54d)](_0x580d8a[_0x5702b3(0x48d)][_0x5702b3(0x5a1)]([_0x4b729c,_0x2e3eee]));if(_0x4abdd0 instanceof _0x423ac6){let _0x31e8d5=this['_sheetsShapeService']['getShapeModel'](_0x4abdd0['unitId'],_0x4abdd0[_0x5702b3(0x35e)],_0x4abdd0[_0x5702b3(0x2a8)]);if((0x0,_0x1f2a15[_0x5702b3(0x493)])(this[_0x5702b3(0x218)][_0x5702b3(0x200)](_0x4abdd0[_0x5702b3(0x280)],_0x4abdd0[_0x5702b3(0x35e)],_0x4abdd0[_0x5702b3(0x2a8)]))||_0x31e8d5!=null&&_0x31e8d5['getShapeData']()['formulaBinding'])return;this[_0x5702b3(0x21a)][_0x5702b3(0x5c4)]({'visible':!0x0,'unitId':_0x4abdd0['unitId'],'subUnitId':_0x4abdd0[_0x5702b3(0x35e)],'shapeId':_0x4abdd0[_0x5702b3(0x2a8)],'shapeKey':_0x4abdd0[_0x5702b3(0x5ca)]});}}));}[_0x2766d8(0x5d2)](){const _0x5e49f7=_0x2766d8;this[_0x5e49f7(0x271)](this[_0x5e49f7(0x482)]['focus$'][_0x5e49f7(0x56a)](_0x11aac4=>{const _0x2dc3ef=_0x5e49f7;if(_0x11aac4[_0x2dc3ef(0x2f1)]===0x1){let _0x3a6e3a=_0x11aac4[0x0],_0x408851=this['_drawingManagerService'][_0x2dc3ef(0x26d)](_0x3a6e3a);if((_0x408851==null?void 0x0:_0x408851[_0x2dc3ef(0x313)])===_0x35d996[_0x2dc3ef(0x44f)][_0x2dc3ef(0x4ba)]){var _0x389bd5;let _0xaea25a=this[_0x2dc3ef(0x21a)][_0x2dc3ef(0x2cd)]();if((_0xaea25a==null?void 0x0:_0xaea25a[_0x2dc3ef(0x2a8)])===_0x3a6e3a[_0x2dc3ef(0x314)]&&_0xaea25a['visible'])return;let _0x29264c=(0x0,_0x1f2a15[_0x2dc3ef(0x493)])(this['_sheetsShapeService']['getShapeType'](_0x3a6e3a[_0x2dc3ef(0x280)],_0x3a6e3a[_0x2dc3ef(0x35e)],_0x3a6e3a[_0x2dc3ef(0x314)])),_0xbdee6c=!!((_0x389bd5=this[_0x2dc3ef(0x218)][_0x2dc3ef(0x338)](_0x3a6e3a[_0x2dc3ef(0x280)],_0x3a6e3a[_0x2dc3ef(0x35e)],_0x3a6e3a['drawingId']))!=null&&_0x389bd5[_0x2dc3ef(0x583)]()[_0x2dc3ef(0x405)]);(_0x29264c||_0xbdee6c)&&this[_0x2dc3ef(0x21a)][_0x2dc3ef(0x5c4)](null);}else this[_0x2dc3ef(0x21a)]['completeEditing']();}else this[_0x2dc3ef(0x21a)]['completeEditing']();})),this[_0x5e49f7(0x271)](this[_0x5e49f7(0x482)]['remove$'][_0x5e49f7(0x56a)](_0x3a81c5=>{const _0x58d25e=_0x5e49f7;let _0x67eb60=this[_0x58d25e(0x21a)][_0x58d25e(0x2cd)]();_0x67eb60&&_0x3a81c5[_0x58d25e(0x5c8)](_0x5dcdcf=>_0x5dcdcf[_0x58d25e(0x314)]===_0x67eb60['shapeId'])&&this['_shapeTextEditingService'][_0x58d25e(0x5c4)](null);}));}['_initEditingParams'](){const _0x5c076b=_0x2766d8;this[_0x5c076b(0x271)](this[_0x5c076b(0x21a)][_0x5c076b(0x4b4)][_0x5c076b(0x56a)](_0x521331=>{const _0x36e23b=_0x5c076b;let {scene:_0x11529f}=this[_0x36e23b(0x587)];if(this[_0x36e23b(0x3b6)]){let _0x2a6a5d=_0x11529f[_0x36e23b(0x1e9)](this[_0x36e23b(0x3b6)]);_0x2a6a5d&&_0x2a6a5d[_0x36e23b(0x5c4)](!0x1);}if(_0x521331){let _0x135879=!!_0x521331['visible'],_0x192eca=_0x11529f[_0x36e23b(0x1e9)](_0x521331[_0x36e23b(0x24f)]);_0x192eca&&(_0x192eca['setEditing'](_0x135879),this[_0x36e23b(0x3b6)]=_0x521331[_0x36e23b(0x24f)]),this['_contextService'][_0x36e23b(0x458)](_0x35d996[_0x36e23b(0x595)],_0x135879);}else this['_lastEditingShapeKey']=null,this[_0x36e23b(0x269)][_0x36e23b(0x458)](_0x35d996[_0x36e23b(0x595)],!0x1);}));}};_0x37b743=_0x39c461([_0x400e7c(0x1,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x35d996[_0x2766d8(0x4c2)])),_0x400e7c(0x2,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x4a54d8)),_0x400e7c(0x3,_0x2ed59f[_0x2766d8(0x554)]),_0x400e7c(0x4,_0x35d996[_0x2766d8(0x58d)]),_0x400e7c(0x5,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x565640['SheetsShapeService']))],_0x37b743);var _0x187142=class extends _0x37b743{[_0x2766d8(0x444)](){const _0x563e8b=_0x2766d8;let {scene:_0x1ac76b}=this[_0x563e8b(0x587)],_0x4ea672=this[_0x563e8b(0x451)][_0x563e8b(0x340)](_0x197fcc['MobileShapeEditorService']);this[_0x563e8b(0x271)](_0x1ac76b['onDblclick$']['subscribeEvent'](_0x4005be=>{const _0x173ec3=_0x563e8b;let {offsetX:_0x4ea40b,offsetY:_0x313a18}=_0x4005be,_0x2be3e7=_0x1ac76b['pick'](_0x580d8a['Vector2']['FromArray']([_0x4ea40b,_0x313a18]));if(!(_0x2be3e7 instanceof _0x423ac6))return;let _0x36274c=this['_sheetsShapeService']['getShapeModel'](_0x2be3e7[_0x173ec3(0x280)],_0x2be3e7[_0x173ec3(0x35e)],_0x2be3e7['shapeId']);(0x0,_0x1f2a15['isConnectorShape'])(this['_sheetsShapeService'][_0x173ec3(0x200)](_0x2be3e7[_0x173ec3(0x280)],_0x2be3e7['subUnitId'],_0x2be3e7['shapeId']))||_0x36274c!=null&&_0x36274c[_0x173ec3(0x583)]()['formulaBinding']||_0x4ea672['open'](_0x173ec3(0x23d),{'hostType':_0x35d996['UniverInstanceType'][_0x173ec3(0x3de)],'unitId':_0x2be3e7[_0x173ec3(0x280)],'subUnitId':_0x2be3e7[_0x173ec3(0x35e)],'shapeId':_0x2be3e7[_0x173ec3(0x2a8)]});}));}};let _0x48285e={..._0x296796},_0x224297=class extends _0x35d996[_0x2766d8(0x491)]{constructor(_0x372b8e,_0x1795bd,_0x23a787,_0x4ef981,_0x45f207,_0x236a9d,_0x206da7,_0x26d99c){const _0x100674=_0x2766d8;super(),this[_0x100674(0x344)]=_0x372b8e,this[_0x100674(0x218)]=_0x1795bd,this[_0x100674(0x54f)]=_0x23a787,this[_0x100674(0x482)]=_0x4ef981,this['_sheetCanvasPopManagerService']=_0x45f207,this[_0x100674(0x269)]=_0x236a9d,this[_0x100674(0x4bb)]=_0x206da7,this['_shapeTextEditingService']=_0x26d99c,_0x2a4a7a(this,'_shapePopupMenuDisposable',null),this['_menuManagerService']['mergeMenu'](_0x48285e),this[_0x100674(0x3d7)](),this[_0x100674(0x271)](this['_shapeTextEditingService'][_0x100674(0x4b4)][_0x100674(0x56a)](_0xe43c2d=>{const _0x36107b=_0x100674;_0xe43c2d&&this[_0x36107b(0x40a)]();}));}['initShapePopupMenu'](){const _0x4d7db7=_0x2766d8;this[_0x4d7db7(0x5c1)]||=this[_0x4d7db7(0x271)]((0x0,_0x197fcc['bindRenderTransformerLifecycle'])(this[_0x4d7db7(0x4bb)],_0x35d996[_0x4d7db7(0x31d)][_0x4d7db7(0x3de)],_0x97a682=>this[_0x4d7db7(0x4bd)](_0x97a682)));}[_0x2766d8(0x3d7)](){const _0x112fdc=_0x2766d8;this[_0x112fdc(0x5be)][_0x112fdc(0x4d2)](_0x35d996[_0x112fdc(0x44f)][_0x112fdc(0x4ba)],(_0x3d65e7,_0x286839,_0x46820c,_0x2dba49)=>{const _0x534379=_0x112fdc;let _0x4aba4c=this[_0x534379(0x218)]['getShapeTypeById'](_0x3d65e7,_0x286839,_0x46820c),_0x3e33a6=this['_sheetsShapeService']['getShapeDataById'](_0x3d65e7,_0x286839,_0x46820c),_0x2f155a=_0x4aba4c!==void 0x0&&!(0x0,_0x1f2a15['isConnectorShape'])(_0x4aba4c)&&!(_0x3e33a6!=null&&_0x3e33a6['formulaBinding']);return[{'label':'sheets-shape-ui.editShape','index':0x0,'commandId':_0x279e80['id'],'commandParams':{'unitId':_0x3d65e7,'subUnitId':_0x286839,'drawingId':_0x46820c,'mode':_0x534379(0x3b0)},'disable':!0x1},..._0x2f155a?[{'label':_0x534379(0x5a3),'index':0x1,'commandId':_0x279e80['id'],'commandParams':{'unitId':_0x3d65e7,'subUnitId':_0x286839,'drawingId':_0x46820c,'mode':_0x534379(0x23d)},'disable':!0x1}]:[],{'label':_0x534379(0x537),'index':0x2,'commandId':_0x47830d[_0x534379(0x5ba)]['id'],'commandParams':{'unitId':_0x3d65e7,'drawings':[{'unitId':_0x3d65e7,'subUnitId':_0x286839,'drawingId':_0x46820c,'drawingType':_0x2dba49}]},'disable':!0x1},{'label':_0x534379(0x517),'index':0x3,'commandId':_0x565640[_0x534379(0x5d8)]['id'],'commandParams':{'unitId':_0x3d65e7,'subUnitId':_0x286839,'shapeId':_0x46820c,'flipH':!0x0},'disable':!0x1},{'label':'sheets-shape-ui.flipVertical','index':0x4,'commandId':_0x565640[_0x534379(0x5d8)]['id'],'commandParams':{'unitId':_0x3d65e7,'subUnitId':_0x286839,'shapeId':_0x46820c,'flipV':!0x0},'disable':!0x1}];},'sheets-shape-ui.title');}[_0x2766d8(0x4bd)](_0x463085){const _0x4ce6f0=_0x2766d8;let _0x1b3f72=new _0x35d996[(_0x4ce6f0(0x502))](),_0x3d119f=null,_0x4e60a5=()=>{const _0x3d875c=_0x4ce6f0;if(!_0x3d119f)return;let _0x366a21=this['_drawingManagerService']['getFocusDrawings'](),_0x3fccdf=_0x366a21['length']===0x0||_0x366a21['length']===0x1&&_0x366a21[_0x3d875c(0x5c8)](_0x49560d=>_0x49560d[_0x3d875c(0x280)]===(_0x3d119f==null?void 0x0:_0x3d119f[_0x3d875c(0x280)])&&_0x49560d[_0x3d875c(0x35e)]===(_0x3d119f==null?void 0x0:_0x3d119f['subUnitId'])&&_0x49560d['drawingId']===(_0x3d119f==null?void 0x0:_0x3d119f['drawingId']));_0x3d119f=null,_0x3fccdf&&(this[_0x3d875c(0x269)][_0x3d875c(0x458)](_0x35d996['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x3d875c(0x482)][_0x3d875c(0x2f5)](null));};return _0x1b3f72[_0x4ce6f0(0x294)](_0x463085[_0x4ce6f0(0x31e)][_0x4ce6f0(0x56a)](()=>{const _0x354cbd=_0x4ce6f0;let _0x24e9d0=_0x463085[_0x354cbd(0x524)]();if(_0x24e9d0[_0x354cbd(0x22b)]>0x1){_0x4e60a5();return;}let _0xe1dcd1=_0x24e9d0[_0x354cbd(0x3bf)]()['next']()[_0x354cbd(0x58f)];if(!_0xe1dcd1){_0x4e60a5();return;}let _0x16a849=this[_0x354cbd(0x482)][_0x354cbd(0x20b)](_0xe1dcd1['oKey']);if(!_0x16a849||_0x16a849[_0x354cbd(0x313)]!==_0x35d996[_0x354cbd(0x44f)][_0x354cbd(0x4ba)]){_0x4e60a5();return;}let {unitId:_0xd06356,subUnitId:_0x386b6a,drawingId:_0x488fde}=_0x16a849;_0x3d119f={'unitId':_0xd06356,'subUnitId':_0x386b6a,'drawingId':_0x488fde},this[_0x354cbd(0x269)][_0x354cbd(0x458)](_0x35d996[_0x354cbd(0x4d1)],!0x0),this[_0x354cbd(0x482)][_0x354cbd(0x5bb)]()['find'](_0x33a3b9=>_0x33a3b9[_0x354cbd(0x280)]===_0xd06356&&_0x33a3b9[_0x354cbd(0x35e)]===_0x386b6a&&_0x33a3b9[_0x354cbd(0x314)]===_0x488fde)||this['_drawingManagerService'][_0x354cbd(0x2f5)]([{'unitId':_0xd06356,'subUnitId':_0x386b6a,'drawingId':_0x488fde}]);})),_0x1b3f72[_0x4ce6f0(0x294)](_0x463085[_0x4ce6f0(0x58a)][_0x4ce6f0(0x56a)](()=>{_0x4e60a5();})),(0x0,_0x35d996['toDisposable'])(()=>{const _0x1b3d77=_0x4ce6f0;_0x1b3f72[_0x1b3d77(0x2a4)](),_0x4e60a5();});}[_0x2766d8(0x40a)](){const _0x138174=_0x2766d8;this[_0x138174(0x269)]['setContextValue'](_0x35d996[_0x138174(0x4d1)],!0x1),this['_drawingManagerService'][_0x138174(0x2f5)](null);}};_0x224297=_0x39c461([_0x400e7c(0x0,_0x23e778['IMenuManagerService']),_0x400e7c(0x1,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x565640[_0x2766d8(0x248)])),_0x400e7c(0x2,_0x35d996[_0x2766d8(0x3c6)]),_0x400e7c(0x3,_0x2ed59f['IDrawingManagerService']),_0x400e7c(0x4,(0x0,_0x35d996['Inject'])(_0x590c15[_0x2766d8(0x3f4)])),_0x400e7c(0x5,_0x35d996[_0x2766d8(0x58d)]),_0x400e7c(0x6,_0x580d8a[_0x2766d8(0x266)]),_0x400e7c(0x7,(0x0,_0x35d996['Inject'])(_0x4a54d8))],_0x224297);function _0xb8d8a9(_0x189247,_0x2ca9b6,_0x549330,_0x4a8636){const _0x5f48d7=_0x2766d8;let _0xf478c3=(0x0,_0x2ed59f[_0x5f48d7(0x27c)])(_0x189247,_0x2ca9b6,_0x549330),_0x5a53b6=[];for(let _0x8be5c of _0x2ca9b6){let _0x2387f=_0xf478c3['idMap'][_0x5f48d7(0x340)](_0x8be5c[_0x5f48d7(0x314)]),_0x516b41=_0x4a8636(_0x8be5c);_0x2387f&&_0x516b41&&_0x5a53b6[_0x5f48d7(0x373)]({'targetShapeId':_0x2387f,'source':_0x516b41});}return _0x5a53b6;}let _0x563547=class extends _0x35d996[_0x2766d8(0x491)]{constructor(_0x2170b0,_0xf788b,_0x3f45c9,_0x1121c8){const _0x554fe7=_0x2766d8;super(),this['_univerInstanceService']=_0x2170b0,this['_sheetInterceptorService']=_0xf788b,this[_0x554fe7(0x47d)]=_0x3f45c9,this['_sheetsShapeService']=_0x1121c8,this['_initSheetChange']();}['_initSheetChange'](){const _0x28c6c7=_0x2766d8;this['disposeWithMe'](this[_0x28c6c7(0x49b)][_0x28c6c7(0x237)]({'getMutations':_0x371471=>{const _0x4c066d=_0x28c6c7;if(_0x371471['id']===_0x2a684c[_0x4c066d(0x598)]['id']){let _0x55f3aa=(0x0,_0x2a684c[_0x4c066d(0x231)])(this[_0x4c066d(0x251)],_0x371471[_0x4c066d(0x1db)]);if(!_0x55f3aa)return{'redos':[],'undos':[]};let {unitId:_0x33c9aa,subUnitId:_0xb6c65a}=_0x55f3aa,_0x5c6a81=this[_0x4c066d(0x47d)][_0x4c066d(0x2aa)](_0x33c9aa,_0xb6c65a),_0x599f41=Object[_0x4c066d(0x3bf)](_0x5c6a81)[_0x4c066d(0x35b)](_0x8e2650=>_0x8e2650[_0x4c066d(0x313)]===_0x35d996[_0x4c066d(0x44f)][_0x4c066d(0x4ba)]);if(_0x599f41['length']===0x0)return{'redos':[],'undos':[]};let _0x234695=[],_0x8704e5=[];for(let _0x43d737=0x0;_0x43d737<_0x599f41[_0x4c066d(0x2f1)];_0x43d737++){let _0x10f42b=_0x599f41[_0x43d737],_0x4abf59=this[_0x4c066d(0x218)]['getShapeModel'](_0x10f42b[_0x4c066d(0x280)],_0x10f42b['subUnitId'],_0x10f42b[_0x4c066d(0x314)]);_0x4abf59&&(_0x234695['push']({'id':_0x565640[_0x4c066d(0x3a9)]['id'],'params':{'unitId':_0x33c9aa,'subUnitId':_0xb6c65a,'shapeId':_0x10f42b['drawingId']}}),_0x8704e5[_0x4c066d(0x373)]({'id':_0x565640[_0x4c066d(0x4bf)]['id'],'params':{'unitId':_0x33c9aa,'subUnitId':_0xb6c65a,'shapeId':_0x10f42b[_0x4c066d(0x314)],'shapeType':_0x4abf59[_0x4c066d(0x200)](),'shapeData':JSON[_0x4c066d(0x541)](JSON[_0x4c066d(0x54b)](_0x4abf59[_0x4c066d(0x583)]()))}}));}return{'redos':_0x234695,'undos':_0x8704e5};}if(_0x371471['id']===_0x2a684c[_0x4c066d(0x2eb)]['id']){let {unitId:_0x5e15c6,subUnitId:_0x26ac68,targetSubUnitId:_0x524ce6,copyContext:_0x46e17b}=_0x371471['params'];if(!_0x5e15c6||!_0x26ac68||!_0x524ce6)return{'redos':[],'undos':[]};let _0x1537e2=this[_0x4c066d(0x47d)][_0x4c066d(0x2aa)](_0x5e15c6,_0x26ac68),_0x3f4e61=Object[_0x4c066d(0x3bf)](_0x1537e2)[_0x4c066d(0x35b)](_0x49e5ca=>_0x49e5ca[_0x4c066d(0x313)]===_0x35d996[_0x4c066d(0x44f)][_0x4c066d(0x4ba)]);if(_0x3f4e61['length']===0x0)return{'redos':[],'undos':[]};let _0x1c47ce=_0xb8d8a9(_0x46e17b,_0x3f4e61,{'unitId':_0x5e15c6,'sourceSubUnitId':_0x26ac68,'targetSubUnitId':_0x524ce6},_0x4dc414=>{const _0x43b54c=_0x4c066d;let _0x13cde0=this[_0x43b54c(0x218)][_0x43b54c(0x338)](_0x4dc414[_0x43b54c(0x280)],_0x4dc414[_0x43b54c(0x35e)],_0x4dc414[_0x43b54c(0x314)]);if(_0x13cde0)return{'shapeType':_0x13cde0[_0x43b54c(0x200)](),'shapeData':JSON[_0x43b54c(0x541)](JSON[_0x43b54c(0x54b)](_0x13cde0['getShapeData']()))};}),_0x57cb1e=[],_0xbd49c=[];for(let {targetShapeId:_0x4f19d9,source:_0x192b9e}of _0x1c47ce)_0x57cb1e[_0x4c066d(0x373)]({'id':_0x565640['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x5e15c6,'subUnitId':_0x524ce6,'shapeId':_0x4f19d9,'shapeType':_0x192b9e[_0x4c066d(0x3fc)],'shapeData':_0x192b9e[_0x4c066d(0x23b)]}}),_0xbd49c[_0x4c066d(0x373)]({'id':_0x565640[_0x4c066d(0x3a9)]['id'],'params':{'unitId':_0x5e15c6,'subUnitId':_0x524ce6,'shapeId':_0x4f19d9}});return{'redos':_0x57cb1e,'undos':_0xbd49c};}return{'redos':[],'undos':[]};}}));}};_0x563547=_0x39c461([_0x400e7c(0x0,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x35d996[_0x2766d8(0x403)])),_0x400e7c(0x1,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x2a684c[_0x2766d8(0x24d)])),_0x400e7c(0x2,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x47830d['ISheetDrawingService'])),_0x400e7c(0x3,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x565640[_0x2766d8(0x248)]))],_0x563547);let _0xc945f6=class extends _0x35d996[_0x2766d8(0x491)]{constructor(_0x4dab07,_0x54f2d3,_0x4585a9,_0x9a91a2,_0x2cb6df,_0x4b90f6){const _0x40a5d7=_0x2766d8;super(),this[_0x40a5d7(0x54f)]=_0x4dab07,this[_0x40a5d7(0x4bb)]=_0x54f2d3,this[_0x40a5d7(0x482)]=_0x4585a9,this['_currentUniverService']=_0x9a91a2,this[_0x40a5d7(0x501)]=_0x2cb6df,this[_0x40a5d7(0x316)]=_0x4b90f6,_0x2a4a7a(this,_0x40a5d7(0x38d),new Set()),this[_0x40a5d7(0x5d9)]();}[_0x2766d8(0x5d9)](){const _0x374206=_0x2766d8;this[_0x374206(0x1f9)](),this[_0x374206(0x2d5)](),this['_shapeUpdateListener']();}[_0x2766d8(0x1f9)](){const _0x2c8446=_0x2766d8;this[_0x2c8446(0x271)](this[_0x2c8446(0x482)][_0x2c8446(0x494)][_0x2c8446(0x56a)](_0x441977=>{const _0x25a103=_0x2c8446;this[_0x25a103(0x2d3)](_0x441977);}));}[_0x2766d8(0x2d5)](){const _0x21dcff=_0x2766d8;this[_0x21dcff(0x271)](this[_0x21dcff(0x54f)]['onCommandExecuted']((_0x4c6066,_0x17af96)=>{const _0x60b1be=_0x21dcff;if(_0x4c6066['id']===_0x565640[_0x60b1be(0x229)]['id']){let {unitId:_0x4560da,subUnitId:_0x5767c3,shapeId:_0x2c461c}=_0x4c6066['params'],_0x4251a2=this[_0x60b1be(0x4a9)](_0x4560da),_0xdfa3d1=(0x0,_0x2ed59f[_0x60b1be(0x2f2)])({'unitId':_0x4560da,'subUnitId':_0x5767c3,'drawingId':_0x2c461c}),_0x85a2e6=_0x4251a2==null?void 0x0:_0x4251a2[_0x60b1be(0x394)]['getObjectIncludeInGroup'](_0xdfa3d1);_0x85a2e6&&(this[_0x60b1be(0x316)][_0x60b1be(0x4b8)](_0x85a2e6),this[_0x60b1be(0x316)][_0x60b1be(0x25d)](_0x85a2e6,{'unitId':_0x4560da,'subUnitId':_0x5767c3,'shapeId':_0x2c461c}),_0x85a2e6['makeDirty'](!0x0));}else{if(_0x4c6066['id']===_0x565640[_0x60b1be(0x4bf)]['id']){var _0x4c41ec;let {unitId:_0x55e53b,subUnitId:_0x172d19,shapeId:_0xd28de1}=_0x4c6066[_0x60b1be(0x1db)],_0x3ce149=this[_0x60b1be(0x4a9)](_0x55e53b);if(_0x3ce149==null)return;let {scene:_0x205028}=_0x3ce149,_0x1bccde=(0x0,_0x2ed59f[_0x60b1be(0x2f2)])({'unitId':_0x55e53b,'subUnitId':_0x172d19,'drawingId':_0xd28de1}),_0x49453c=_0x205028[_0x60b1be(0x1e9)](_0x1bccde);if(!((_0x4c41ec=this[_0x60b1be(0x4bb)]['getRenderUnitById'](_0x55e53b))!=null&&_0x4c41ec['with'](_0x590c15['SheetSkeletonManagerService'])[_0x60b1be(0x4d9)](_0x172d19)))return!0x1;if(_0x49453c)return;if(_0x17af96!=null&&_0x17af96[_0x60b1be(0x558)]){queueMicrotask(()=>{const _0x352a75=_0x60b1be;this[_0x352a75(0x31b)]||this[_0x352a75(0x2d3)]([{'unitId':_0x55e53b,'subUnitId':_0x172d19,'drawingId':_0xd28de1}]);});return;}this['_insertShapes']([{'unitId':_0x55e53b,'subUnitId':_0x172d19,'drawingId':_0xd28de1}]);}}}));}[_0x2766d8(0x35d)](){const _0xfeb7af=_0x2766d8;this[_0xfeb7af(0x271)](this[_0xfeb7af(0x482)][_0xfeb7af(0x59c)][_0xfeb7af(0x56a)](_0x245fb6=>{_0x245fb6['forEach'](_0x524a7a=>{const _0x588d98=_0x231f;let {unitId:_0x17cf4f,subUnitId:_0x58644b,drawingId:_0x43c9b4}=_0x524a7a,_0x5d3392=this[_0x588d98(0x482)][_0x588d98(0x26d)](_0x524a7a);if(_0x5d3392==null)return;let {transform:_0x537354,drawingType:_0x13e776,srcRect:_0x3c95f6,prstGeom:_0x3bdebd}=_0x5d3392;if(_0x13e776!==_0x35d996['DrawingTypeEnum'][_0x588d98(0x4ba)])return;let _0x336a0c=this[_0x588d98(0x4a9)](_0x17cf4f);if(_0x336a0c==null)return;let {scene:_0x5bb104,transformer:_0x39fc5c}=_0x336a0c;if(_0x537354==null)return!0x0;let _0xc4797f=(0x0,_0x2ed59f[_0x588d98(0x2f2)])({'unitId':_0x17cf4f,'subUnitId':_0x58644b,'drawingId':_0x43c9b4}),_0x3e9faa=_0x5bb104[_0x588d98(0x1e9)](_0xc4797f);if(_0x3e9faa==null)return!0x0;_0x3e9faa[_0x588d98(0x209)](_0x3c95f6),_0x3e9faa[_0x588d98(0x596)](_0x3bdebd);});}));}[_0x2766d8(0x2d3)](_0x231052){const _0x305afd=_0x2766d8;for(let _0x15c8a1 of _0x231052){var _0x5ca2f0;let {unitId:_0x28a2f1,subUnitId:_0x5678b7,drawingId:_0x33494e}=_0x15c8a1,_0x165d9a=this[_0x305afd(0x4a9)](_0x28a2f1),_0x240d42=(_0x5ca2f0=(0x0,_0x2c4f7e[_0x305afd(0x479)])(this[_0x305afd(0x33f)],_0x28a2f1))==null?void 0x0:_0x5ca2f0[_0x305afd(0x35e)];if(_0x165d9a==null||_0x240d42!==_0x5678b7)continue;let _0x4a4239=(0x0,_0x2ed59f[_0x305afd(0x2f2)])({'unitId':_0x28a2f1,'subUnitId':_0x5678b7,'drawingId':_0x33494e});if(this[_0x305afd(0x38d)][_0x305afd(0x51e)](_0x4a4239)||_0x165d9a[_0x305afd(0x394)][_0x305afd(0x1e9)](_0x4a4239)!=null)continue;let _0x34c7a2=this[_0x305afd(0x482)][_0x305afd(0x26d)](_0x15c8a1);if(_0x34c7a2==null||_0x34c7a2['drawingType']!==_0x35d996['DrawingTypeEnum'][_0x305afd(0x4ba)])continue;let _0x504cc5=_0x34c7a2[_0x305afd(0x3ee)]||{};if((0x0,_0x1f2a15[_0x305afd(0x493)])(_0x504cc5['shapeType'])){let _0x424ffe=_0x34c7a2['transform'];_0x424ffe&&(_0x34c7a2[_0x305afd(0x339)]={..._0x424ffe,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x305afd(0x38d)]['add'](_0x4a4239);try{this[_0x305afd(0x316)][_0x305afd(0x34a)](_0x34c7a2,_0x165d9a[_0x305afd(0x394)]);}finally{this[_0x305afd(0x38d)][_0x305afd(0x292)](_0x4a4239);}queueMicrotask(()=>{const _0xfca8c0=_0x305afd;if(this[_0xfca8c0(0x31b)])return;let _0x10008e=(0x0,_0x2ed59f[_0xfca8c0(0x2f2)])(_0x15c8a1);if(!_0x165d9a[_0xfca8c0(0x394)]['getObjectIncludeInGroup'](_0x10008e))return;let _0xa1f626=this[_0xfca8c0(0x482)][_0xfca8c0(0x26d)](_0x15c8a1);_0xa1f626&&this[_0xfca8c0(0x482)][_0xfca8c0(0x37b)]([_0xa1f626]);});}}[_0x2766d8(0x4a9)](_0x2ec032){const _0x22df2a=_0x2766d8;if(_0x2ec032==null)return;let _0x4f7d90=this['_renderManagerService'][_0x22df2a(0x4ee)](_0x2ec032),_0xaba43a=_0x4f7d90==null?void 0x0:_0x4f7d90[_0x22df2a(0x394)];return _0xaba43a==null?null:{'scene':_0xaba43a,'transformer':_0xaba43a[_0x22df2a(0x40c)]()};}};_0xc945f6=_0x39c461([_0x400e7c(0x0,_0x35d996[_0x2766d8(0x3c6)]),_0x400e7c(0x1,_0x580d8a['IRenderManagerService']),_0x400e7c(0x2,_0x2ed59f[_0x2766d8(0x554)]),_0x400e7c(0x3,_0x35d996[_0x2766d8(0x403)]),_0x400e7c(0x4,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x2c4f7e['DrawingRenderService'])),_0x400e7c(0x5,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x319285))],_0xc945f6);let _0x14a565={'normal':{'fill':_0x1f2a15[_0x2766d8(0x540)]['cxnPointFill'],'stroke':_0x1f2a15[_0x2766d8(0x540)][_0x2766d8(0x40e)],'strokeWidth':_0x1f2a15[_0x2766d8(0x540)][_0x2766d8(0x4a2)]},'highlighted':{'fill':_0x2766d8(0x532),'stroke':_0x2766d8(0x1f1),'strokeWidth':0x2}};var _0x574a07=class extends _0x580d8a[_0x2766d8(0x5e1)]{constructor(_0x5371e5,_0x171441){const _0x3ab853=_0x2766d8;super(_0x5371e5,_0x171441),_0x2a4a7a(this,_0x3ab853(0x571),''),_0x2a4a7a(this,_0x3ab853(0x33b),-0x1),_0x2a4a7a(this,'_unitId',''),_0x2a4a7a(this,_0x3ab853(0x3f6),''),_0x2a4a7a(this,_0x3ab853(0x597),!0x1),_0x171441&&this[_0x3ab853(0x3ce)](_0x171441);}['getConnectionInfo'](){const _0x4e157a=_0x2766d8;return{'unitId':this[_0x4e157a(0x370)],'subUnitId':this[_0x4e157a(0x3f6)],'shapeId':this['_targetShapeId'],'cxnIndex':this[_0x4e157a(0x33b)]};}[_0x2766d8(0x4cf)](_0x306a54){const _0x341d73=_0x2766d8;this[_0x341d73(0x597)]!==_0x306a54&&(this[_0x341d73(0x597)]=_0x306a54,this[_0x341d73(0x3b2)](!0x0));}[_0x2766d8(0x317)](){const _0x2341af=_0x2766d8;return this[_0x2341af(0x597)];}['setShapeProps'](_0x3c9516){const _0x243dfb=_0x2766d8;_0x3c9516[_0x243dfb(0x5c5)]!==void 0x0&&(this[_0x243dfb(0x571)]=_0x3c9516[_0x243dfb(0x5c5)]),_0x3c9516[_0x243dfb(0x378)]!==void 0x0&&(this[_0x243dfb(0x33b)]=_0x3c9516[_0x243dfb(0x378)]),_0x3c9516['unitId']!==void 0x0&&(this[_0x243dfb(0x370)]=_0x3c9516[_0x243dfb(0x280)]),_0x3c9516['subUnitId']!==void 0x0&&(this[_0x243dfb(0x3f6)]=_0x3c9516[_0x243dfb(0x35e)]),_0x3c9516[_0x243dfb(0x317)]!==void 0x0&&(this[_0x243dfb(0x597)]=_0x3c9516[_0x243dfb(0x317)]),this[_0x243dfb(0x3c4)]({'width':_0x3c9516['width']??_0x1f2a15[_0x243dfb(0x540)][_0x243dfb(0x307)]*0x2,'height':_0x3c9516[_0x243dfb(0x3f8)]??_0x1f2a15[_0x243dfb(0x540)][_0x243dfb(0x307)]*0x2});}[_0x2766d8(0x55f)](_0x12d03f){const _0xaaac6=_0x2766d8;let _0x42c23f=this[_0xaaac6(0x597)]?_0x14a565[_0xaaac6(0x2cf)]:_0x14a565['normal'];_0x580d8a[_0xaaac6(0x473)][_0xaaac6(0x505)](_0x12d03f,{'radius':_0x1f2a15['ShapeDefaultConfig']['cxnPointRadius'],'fill':_0x42c23f['fill'],'stroke':_0x42c23f[_0xaaac6(0x3b4)],'strokeWidth':_0x42c23f['strokeWidth'],'evented':!0x0});}};let _0x517ad0=class extends _0x35d996['Disposable']{constructor(_0x27ad61,_0x15d86b,_0x19831d,_0x97b685){const _0xe4a9b0=_0x2766d8;super(),this[_0xe4a9b0(0x587)]=_0x27ad61,this[_0xe4a9b0(0x4bb)]=_0x15d86b,this[_0xe4a9b0(0x482)]=_0x19831d,this[_0xe4a9b0(0x218)]=_0x97b685,_0x2a4a7a(this,'_connectionSiteObjects',[]),_0x2a4a7a(this,_0xe4a9b0(0x512),null),_0x2a4a7a(this,'_highlightedSiteIndex',-0x1),_0x2a4a7a(this,_0xe4a9b0(0x33d),null),_0x2a4a7a(this,'_unitId',''),_0x2a4a7a(this,_0xe4a9b0(0x3f6),''),_0x2a4a7a(this,_0xe4a9b0(0x40b),null);}[_0x2766d8(0x410)](_0x6d6cb8,_0x1c021d,_0x2bfc6a,_0x216a36){const _0x3d2759=_0x2766d8;this[_0x3d2759(0x33d)]=_0x6d6cb8,this[_0x3d2759(0x370)]=_0x1c021d,this[_0x3d2759(0x3f6)]=_0x2bfc6a,this[_0x3d2759(0x40b)]=_0x216a36;}[_0x2766d8(0x398)](_0x42e801){const _0x20413e=_0x2766d8;if(!this[_0x20413e(0x33d)])return null;let _0x3af5aa=this[_0x20413e(0x559)](_0x42e801);return _0x3af5aa?(this[_0x20413e(0x512)]!==_0x3af5aa[_0x20413e(0x2a8)]&&(this[_0x20413e(0x437)](),this['_showConnectionSites'](_0x3af5aa[_0x20413e(0x2a8)],_0x3af5aa[_0x20413e(0x513)]),this[_0x20413e(0x512)]=_0x3af5aa['shapeId']),this[_0x20413e(0x5b9)](_0x42e801)):(this[_0x20413e(0x512)]!==null&&(this['_clearConnectionSites'](),this[_0x20413e(0x512)]=null),null);}[_0x2766d8(0x3ab)](){const _0x26332f=_0x2766d8;this['_clearConnectionSites'](),this[_0x26332f(0x33d)]=null,this[_0x26332f(0x512)]=null,this[_0x26332f(0x520)]=-0x1,this['_draggingConnectorId']=null;}[_0x2766d8(0x411)](){const _0x4bfaf2=_0x2766d8;return this[_0x4bfaf2(0x512)]===null||this['_highlightedSiteIndex']<0x0?null:{'shapeId':this[_0x4bfaf2(0x512)],'cxnIndex':this[_0x4bfaf2(0x520)]};}[_0x2766d8(0x559)](_0x1a62ce){const _0x95bb87=_0x2766d8;let _0x2ee3f1=this[_0x95bb87(0x482)]['getDrawingData'](this[_0x95bb87(0x370)],this['_subUnitId']);for(let _0x4f7828 of Object[_0x95bb87(0x38e)](_0x2ee3f1)){if(_0x4f7828===this[_0x95bb87(0x40b)]||_0x2ee3f1[_0x4f7828][_0x95bb87(0x313)]!==_0x35d996[_0x95bb87(0x44f)][_0x95bb87(0x4ba)])continue;let _0x44fad8=this[_0x95bb87(0x218)]['getShapeModel'](this[_0x95bb87(0x370)],this['_subUnitId'],_0x4f7828);if(!_0x44fad8||(0x0,_0x1f2a15[_0x95bb87(0x493)])(_0x44fad8['getShapeType']())||_0x44fad8['getConnectionSiteList']()[_0x95bb87(0x2f1)]===0x0||!this[_0x95bb87(0x33d)])continue;let _0x5e199a=(0x0,_0x2ed59f[_0x95bb87(0x2f2)])({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':_0x4f7828}),_0x1a7d16=this[_0x95bb87(0x33d)][_0x95bb87(0x1e9)](_0x5e199a);if(!_0x1a7d16)continue;let {left:_0x338fef,top:_0x37fe18,width:_0x217e57,height:_0x11afac}=_0x1a7d16[_0x95bb87(0x2ea)](),_0x31edc3=_0x338fef+_0x217e57/0x2,_0x251cc3=_0x37fe18+_0x11afac/0x2,_0xe3966e=_0x1a7d16['transform'][_0x95bb87(0x2ce)](),_0x34011c=new _0x580d8a[(_0x95bb87(0x1e4))]([_0xe3966e[0x0],_0xe3966e[0x1],_0xe3966e[0x2],_0xe3966e[0x3],_0x31edc3,_0x251cc3]),_0x12f8c0=_0x1a7d16['getParent'](),_0x230daa=(_0x1a7d16[_0x95bb87(0x5aa)]&&(_0x12f8c0==null?void 0x0:_0x12f8c0['classType'])===_0x580d8a[_0x95bb87(0x5db)][_0x95bb87(0x552)]?_0x12f8c0['ancestorTransform'][_0x95bb87(0x497)](_0x34011c):_0x34011c)['invert']()[_0x95bb87(0x3f0)](_0x1a62ce),_0x15a347=_0x217e57/0x2,_0x1d5afe=_0x11afac/0x2;if(_0x230daa['x']>=-_0x15a347-0x5&&_0x230daa['x']<=_0x15a347+0x5&&_0x230daa['y']>=-_0x1d5afe-0x5&&_0x230daa['y']<=_0x1d5afe+0x5)return{'shapeId':_0x4f7828,'shapeModel':_0x44fad8};}return null;}[_0x2766d8(0x5a5)](_0x300432,_0x33e5af){const _0x366d88=_0x2766d8;if(!this['_currentScene'])return;let _0x4ca9ad=(0x0,_0x2ed59f[_0x366d88(0x2f2)])({'unitId':this[_0x366d88(0x370)],'subUnitId':this[_0x366d88(0x3f6)],'drawingId':_0x300432}),_0x20101b=this[_0x366d88(0x33d)]['getObjectIncludeInGroup'](_0x4ca9ad);if(!_0x20101b)return;let {left:_0x2f3377,top:_0x2dba5a,width:_0x3fcb6b,height:_0xe2eb3d}=_0x20101b['getRealBound'](),_0x35a944=_0x2f3377+_0x3fcb6b/0x2,_0x1e8409=_0x2dba5a+_0xe2eb3d/0x2,_0x3856e9=_0x20101b[_0x366d88(0x339)][_0x366d88(0x2ce)](),_0x266cce=new _0x580d8a[(_0x366d88(0x1e4))]([_0x3856e9[0x0],_0x3856e9[0x1],_0x3856e9[0x2],_0x3856e9[0x3],_0x35a944,_0x1e8409]),_0x4c87f6=_0x20101b[_0x366d88(0x358)](),_0x3b51c4=_0x20101b[_0x366d88(0x5aa)]&&(_0x4c87f6==null?void 0x0:_0x4c87f6[_0x366d88(0x3d2)])===_0x580d8a[_0x366d88(0x5db)][_0x366d88(0x552)]?_0x4c87f6[_0x366d88(0x415)][_0x366d88(0x497)](_0x266cce):_0x266cce;_0x33e5af[_0x366d88(0x240)]({'width':_0x3fcb6b,'height':_0xe2eb3d});let _0x18b156=_0x33e5af[_0x366d88(0x31f)]();for(let _0x167cdb of _0x18b156){let _0x293798=_0x167cdb['x']-_0x3fcb6b/0x2,_0x25395b=_0x167cdb['y']-_0xe2eb3d/0x2,_0x5c437b=_0x3b51c4[_0x366d88(0x3f0)]({'x':_0x293798,'y':_0x25395b}),_0x134de7=_0x5c437b['x'],_0x220d1a=_0x5c437b['y'],_0xca3b53=new _0x574a07(_0x366d88(0x29c)+_0x300432+'-'+_0x167cdb[_0x366d88(0x213)],{'left':_0x134de7-_0x1f2a15[_0x366d88(0x540)][_0x366d88(0x307)],'top':_0x220d1a-_0x1f2a15[_0x366d88(0x540)][_0x366d88(0x307)],'targetShapeId':_0x300432,'cxnIndex':_0x167cdb[_0x366d88(0x213)],'unitId':this['_unitId'],'subUnitId':this[_0x366d88(0x3f6)],'width':_0x1f2a15[_0x366d88(0x540)][_0x366d88(0x307)]*0x2,'height':_0x1f2a15[_0x366d88(0x540)][_0x366d88(0x307)]*0x2,'zIndex':_0x580d8a['DRAWING_OBJECT_LAYER_INDEX']+0x2,'evented':!0x1});this[_0x366d88(0x322)]['push'](_0xca3b53),this[_0x366d88(0x33d)][_0x366d88(0x476)](_0xca3b53,_0x580d8a['DRAWING_OBJECT_LAYER_INDEX']+0x2);}}[_0x2766d8(0x5b9)](_0x2c2de3){const _0x5aa110=_0x2766d8;let _0x55a875=null,_0x20b689=0x1/0x0,_0x3093d6=null;for(let _0x145adb of this[_0x5aa110(0x322)]){let _0x53307e=_0x145adb[_0x5aa110(0x204)]+_0x1f2a15[_0x5aa110(0x540)]['cxnPointRadius'],_0x3a73e4=_0x145adb['top']+_0x1f2a15[_0x5aa110(0x540)][_0x5aa110(0x307)],_0x2aae60=_0x2c2de3['x']-_0x53307e,_0x263ae9=_0x2c2de3['y']-_0x3a73e4,_0x3f4966=Math[_0x5aa110(0x3c8)](_0x2aae60*_0x2aae60+_0x263ae9*_0x263ae9);_0x3f4966<_0x20b689&&(_0x20b689=_0x3f4966,_0x55a875=_0x145adb,_0x3093d6={'x':_0x53307e,'y':_0x3a73e4});}let _0x57a658=_0x20b689<=0xa&&_0x55a875?_0x55a875[_0x5aa110(0x5d7)]()[_0x5aa110(0x378)]:-0x1;if(_0x57a658!==this[_0x5aa110(0x520)]){for(let _0x5bd86b of this['_connectionSiteObjects']){let _0x20c388=_0x5bd86b[_0x5aa110(0x5d7)]();_0x5bd86b[_0x5aa110(0x4cf)](_0x20c388['cxnIndex']===_0x57a658);}this['_highlightedSiteIndex']=_0x57a658;}if(_0x20b689<=0xa&&_0x55a875&&_0x3093d6){let _0x234ea4=_0x55a875['getConnectionInfo'](),_0x45f9d7=this[_0x5aa110(0x57b)](_0x234ea4[_0x5aa110(0x2a8)],_0x234ea4[_0x5aa110(0x378)]);return{'shapeId':_0x234ea4[_0x5aa110(0x2a8)],'cxnIndex':_0x234ea4[_0x5aa110(0x378)],'unitId':_0x234ea4[_0x5aa110(0x280)],'subUnitId':_0x234ea4[_0x5aa110(0x35e)],'worldPoint':_0x3093d6,'angle':_0x45f9d7};}return null;}[_0x2766d8(0x57b)](_0x595a16,_0x431676){const _0x309fa3=_0x2766d8;let _0x4f9d6c=this['_sheetsShapeService'][_0x309fa3(0x338)](this[_0x309fa3(0x370)],this[_0x309fa3(0x3f6)],_0x595a16);if(!_0x4f9d6c)return 0x0;let _0x2856b2=this[_0x309fa3(0x482)]['getDrawingByParam']({'unitId':this[_0x309fa3(0x370)],'subUnitId':this[_0x309fa3(0x3f6)],'drawingId':_0x595a16});if(!(_0x2856b2!=null&&_0x2856b2[_0x309fa3(0x339)]))return 0x0;let {width:_0x4e0df9=0x0,height:_0x79f5f1=0x0,flipX:_0x1c5404=!0x1,flipY:_0x44955b=!0x1}=_0x2856b2[_0x309fa3(0x339)];_0x4f9d6c[_0x309fa3(0x240)]({'width':_0x4e0df9,'height':_0x79f5f1});let _0x271136=_0x4f9d6c[_0x309fa3(0x31f)]()['find'](_0x893183=>_0x893183[_0x309fa3(0x213)]===_0x431676);if(!_0x271136)return 0x0;let _0x578293=_0x271136[_0x309fa3(0x21b)]/0xea60;return _0x1c5404&&(_0x578293=0xb4-_0x578293),_0x44955b&&(_0x578293=-_0x578293),_0x578293=(_0x578293%0x168+0x168)%0x168,_0x578293;}[_0x2766d8(0x437)](){const _0x337309=_0x2766d8;for(let _0x347d95 of this[_0x337309(0x322)])_0x347d95[_0x337309(0x2a4)]();this[_0x337309(0x322)]=[],this[_0x337309(0x520)]=-0x1;}['dispose'](){this['_clearConnectionSites'](),super['dispose']();}};_0x517ad0=_0x39c461([_0x400e7c(0x1,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x580d8a[_0x2766d8(0x266)])),_0x400e7c(0x2,(0x0,_0x35d996['Inject'])(_0x2ed59f[_0x2766d8(0x554)])),_0x400e7c(0x3,(0x0,_0x35d996['Inject'])(_0x565640[_0x2766d8(0x248)]))],_0x517ad0);let _0x3d86f3=class extends _0x35d996[_0x2766d8(0x491)]{constructor(_0x27f559,_0x29dd4b,_0x233064,_0x3daffa,_0x574497,_0x3bc415,_0x1ddcb3,_0x4d807f){const _0x137ded=_0x2766d8;super(),this[_0x137ded(0x407)]=_0x27f559,this['_sheetClipboardService']=_0x29dd4b,this[_0x137ded(0x47d)]=_0x233064,this[_0x137ded(0x553)]=_0x3daffa,this[_0x137ded(0x22a)]=_0x574497,this[_0x137ded(0x4f6)]=_0x3bc415,this[_0x137ded(0x511)]=_0x1ddcb3,this['_permissions']=_0x4d807f,_0x2a4a7a(this,'_copyInfo',void 0x0),this[_0x137ded(0x4c8)](),this[_0x137ded(0x468)]();}get['_focusedDrawings'](){const _0x2748fb=_0x2766d8;return this[_0x2748fb(0x47d)]['getFocusDrawings']();}[_0x2766d8(0x468)](){const _0x3bd596=_0x2766d8;this[_0x3bd596(0x22a)][_0x3bd596(0x1fb)](({fromUnitId:_0x4e1a0e,fromSubUnitId:_0x553439,toUnitId:_0xe6d2a4,toSubUnitId:_0xdec85a,idMap:_0x5be824})=>{const _0x566f36=_0x3bd596;let _0x365a93=[],_0x5346eb=[];for(let [_0x39d3a7,_0x31441f]of _0x5be824[_0x566f36(0x23f)]()){let _0x280f91=this['_shapeService']['getShapeModel'](_0x4e1a0e,_0x553439,_0x39d3a7);if(!_0x280f91)continue;let _0x36698b=_0x280f91[_0x566f36(0x200)](),_0x269261=JSON[_0x566f36(0x541)](JSON[_0x566f36(0x54b)](_0x280f91[_0x566f36(0x583)]()));if(_0x269261[_0x566f36(0x46d)]){var _0x13b2a9,_0x96a7bd;let _0x3a36fc=(_0x13b2a9=_0x269261[_0x566f36(0x46d)]['from'])==null?void 0x0:_0x13b2a9[_0x566f36(0x2a8)],_0x38bc0b=(_0x96a7bd=_0x269261[_0x566f36(0x46d)]['to'])==null?void 0x0:_0x96a7bd[_0x566f36(0x2a8)],_0x2ff8ae=!_0x3a36fc||_0x5be824[_0x566f36(0x51e)](_0x3a36fc),_0x1a2960=!_0x38bc0b||_0x5be824[_0x566f36(0x51e)](_0x38bc0b);_0x2ff8ae&&_0x3a36fc&&_0x269261[_0x566f36(0x46d)][_0x566f36(0x5d4)]?_0x269261['relation'][_0x566f36(0x5d4)]={..._0x269261[_0x566f36(0x46d)][_0x566f36(0x5d4)],'shapeId':_0x5be824['get'](_0x3a36fc)}:_0x269261['relation']['from']=void 0x0,_0x1a2960&&_0x38bc0b&&_0x269261['relation']['to']?_0x269261[_0x566f36(0x46d)]['to']={..._0x269261[_0x566f36(0x46d)]['to'],'shapeId':_0x5be824[_0x566f36(0x340)](_0x38bc0b)}:_0x269261[_0x566f36(0x46d)]['to']=void 0x0;}_0x365a93[_0x566f36(0x373)]({'id':_0x565640[_0x566f36(0x4bf)]['id'],'params':{'unitId':_0xe6d2a4,'subUnitId':_0xdec85a,'shapeId':_0x31441f,'shapeType':_0x36698b,'shapeData':_0x269261}}),_0x5346eb[_0x566f36(0x373)]({'id':_0x565640[_0x566f36(0x3a9)]['id'],'params':{'unitId':_0xe6d2a4,'subUnitId':_0xdec85a,'shapeId':_0x31441f}});}return{'redos':_0x365a93,'undos':_0x5346eb};});}[_0x2766d8(0x4c8)](){const _0x3e6887=_0x2766d8;this[_0x3e6887(0x271)](this[_0x3e6887(0x467)][_0x3e6887(0x3a6)]({'id':_0x3e6887(0x333),'onBeforeCopyFocusedObject':(_0x5c5b6f,_0x549988,_0x2a7e15)=>{const _0x51f1ac=_0x3e6887;this[_0x51f1ac(0x3fb)]=null;let _0x16ef4a=this['_focusedDrawings'][_0x51f1ac(0x35b)](_0x3b54a=>_0x3b54a[_0x51f1ac(0x313)]===_0x35d996[_0x51f1ac(0x44f)][_0x51f1ac(0x4ba)]);return _0x16ef4a[_0x51f1ac(0x2f1)]!==0x0&&(this['_copyInfo']={'unitId':_0x5c5b6f,'subUnitId':_0x549988,'copyType':_0x2a7e15,'drawings':_0x16ef4a},!0x0);},'onBeforeCopy':(_0x250cd0,_0x118e37,_0x5c0cb4,_0x211cdd)=>{const _0x2de878=_0x3e6887;this[_0x2de878(0x3fb)]=null,this[_0x2de878(0x2dd)](_0x250cd0,_0x118e37,_0x5c0cb4,_0x211cdd);},'onPasteCells':(_0x57ef17,_0x1fcfc6,_0x409447,_0x17e705)=>{const _0x5de46a=_0x3e6887;if(!_0x17e705[_0x5de46a(0x291)]||!_0x57ef17||!this['_copyInfo'])return{'redos':[],'undos':[]};let {pasteType:_0x271b39}=_0x17e705;return _0x271b39===_0x590c15[_0x5de46a(0x466)]['DEFAULT_PASTE']?this[_0x5de46a(0x463)](_0x1fcfc6,this['_copyInfo'][_0x5de46a(0x247)]===_0x590c15[_0x5de46a(0x576)]['CUT']):{'redos':[],'undos':[]};}}));}[_0x2766d8(0x2dd)](_0x427690,_0x1eabcc,_0x6fbea0,_0x7e39ec){const _0x252e2d=_0x2766d8;let _0x5eeabc=this['_sheetSkeletonService']['getSkeleton'](_0x427690,_0x1eabcc);if(!_0x5eeabc)return;let _0x3d0cbb=(0x0,_0x2a684c[_0x252e2d(0x5af)])(_0x5eeabc,_0x6fbea0);if(!_0x3d0cbb)return;let {startX:_0x36abf5,endX:_0x4f0f27,startY:_0x2e38a9,endY:_0x44498c}=_0x3d0cbb,_0x57bde7=this[_0x252e2d(0x47d)][_0x252e2d(0x2aa)](_0x427690,_0x1eabcc),_0x4bf017=[];for(let [_0x5d8bb3,_0x1a85b8]of Object[_0x252e2d(0x23f)](_0x57bde7)){if(_0x1a85b8[_0x252e2d(0x313)]!==_0x35d996[_0x252e2d(0x44f)]['DRAWING_SHAPE'])continue;let {transform:_0x47f882}=_0x1a85b8;if(!_0x47f882)continue;let {left:_0x35453d=0x0,top:_0x432510=0x0,width:_0x504d87=0x0,height:_0xef303e=0x0}=_0x47f882;_0x36abf5<=_0x35453d&&_0x4f0f27>=_0x35453d+_0x504d87&&_0x2e38a9<=_0x432510&&_0x44498c>=_0x432510+_0xef303e&&_0x4bf017[_0x252e2d(0x373)](_0x1a85b8);}_0x4bf017['length']>0x0&&(this[_0x252e2d(0x3fb)]={'unitId':_0x427690,'subUnitId':_0x1eabcc,'copyType':_0x7e39ec,'copyRange':_0x6fbea0,'drawings':_0x4bf017});}['_generatePasteMutations'](_0x2841d9,_0x54a6c7){const _0x395cb3=_0x2766d8;var _0x4a7c06,_0x22dd16;let {unitId:_0x406dd3,subUnitId:_0x2c5d06,range:_0x413a62}=_0x2841d9,_0x51c61e=this['_copyInfo'],_0x1750f8=(_0x4a7c06=this[_0x395cb3(0x4f6)]['getUnit'](_0x51c61e[_0x395cb3(0x280)],_0x35d996[_0x395cb3(0x31d)][_0x395cb3(0x3de)]))==null?void 0x0:_0x4a7c06[_0x395cb3(0x456)](_0x51c61e['subUnitId']),_0x56e86c=(_0x22dd16=this[_0x395cb3(0x4f6)][_0x395cb3(0x438)](_0x406dd3,_0x35d996[_0x395cb3(0x31d)][_0x395cb3(0x3de)]))==null?void 0x0:_0x22dd16['getSheetBySheetId'](_0x2c5d06),_0x3ec92d=(_0x1750f8==null?void 0x0:_0x1750f8[_0x395cb3(0x5cf)]()[_0x395cb3(0x1f3)])??_0x35d996[_0x395cb3(0x45d)]['GRID'],_0x26dca7=(_0x56e86c==null?void 0x0:_0x56e86c[_0x395cb3(0x5cf)]()[_0x395cb3(0x1f3)])??_0x35d996['SheetTypes'][_0x395cb3(0x45a)];if(_0x3ec92d===_0x35d996[_0x395cb3(0x45d)][_0x395cb3(0x367)]||_0x26dca7===_0x35d996[_0x395cb3(0x45d)][_0x395cb3(0x367)])return this[_0x395cb3(0x445)](_0x2841d9,_0x54a6c7);let _0x1bff98=this[_0x395cb3(0x407)][_0x395cb3(0x4d9)](_0x406dd3,_0x2c5d06);if(!_0x1bff98)return{'redos':[],'undos':[]};let _0x516afd=(0x0,_0x2a684c[_0x395cb3(0x36c)])(_0x413a62),{unitId:_0x1b8f3c,subUnitId:_0x3701ae,copyRange:_0x13de35,drawings:_0x5e9a39}=this[_0x395cb3(0x3fb)],_0x43623f=this[_0x395cb3(0x407)]['getSkeleton'](_0x1b8f3c,_0x3701ae);if(!_0x43623f)return{'redos':[],'undos':[]};let _0x541eff;if(!_0x13de35){let _0x354387=0x1/0x0,_0x311074=0x1/0x0;for(let _0x452336 of _0x5e9a39){let {left:_0x2480bf=0x0,top:_0x5460c5=0x0}=_0x452336[_0x395cb3(0x339)]??{};_0x2480bf<_0x354387&&(_0x354387=_0x2480bf),_0x5460c5<_0x311074&&(_0x311074=_0x5460c5);}_0x354387!==0x1/0x0&&_0x311074!==0x1/0x0&&(_0x541eff={'left':_0x354387,'top':_0x311074});}let _0x553e16=new Map();if(!_0x54a6c7){for(let _0x2a81dc of _0x5e9a39)_0x553e16[_0x395cb3(0x39d)](_0x2a81dc[_0x395cb3(0x314)],(0x0,_0x35d996[_0x395cb3(0x2f3)])());}let _0x477d51=[],_0x352836=[];for(let _0x90091d of _0x5e9a39){let {drawingId:_0x358121,transform:_0x10dc38,sheetTransform:_0x1ce40b}=_0x90091d;if(!_0x10dc38||!_0x1ce40b)continue;let _0x1e4965=this[_0x395cb3(0x459)]({'transform':_0x10dc38,'sheetTransform':_0x1ce40b},{'skeleton':_0x43623f,'range':_0x13de35},{'skeleton':_0x1bff98,'range':_0x516afd},_0x541eff);if(_0x54a6c7){let {redos:_0x38c082,undos:_0x467b77}=this[_0x395cb3(0x220)]({'fromUnitId':_0x1b8f3c,'fromSubUnitId':_0x3701ae,'toUnitId':_0x406dd3,'toSubUnitId':_0x2c5d06,'drawing':_0x90091d,'newTransforms':_0x1e4965});_0x477d51[_0x395cb3(0x373)](..._0x38c082),_0x352836[_0x395cb3(0x373)](..._0x467b77);continue;}let {redos:_0x481849,undos:_0x49f2c2}=this[_0x395cb3(0x1e8)]({'toUnitId':_0x406dd3,'toSubUnitId':_0x2c5d06,'drawing':_0x90091d,'newTransforms':_0x1e4965,'newDrawingId':_0x553e16['get'](_0x358121),'idMap':_0x553e16});_0x477d51[_0x395cb3(0x373)](..._0x481849),_0x352836['push'](..._0x49f2c2);}return{'redos':_0x477d51,'undos':_0x352836};}['_generateChartSheetCopy'](_0x1802a1,_0x328fab){const _0x32f2ed=_0x2766d8;var _0xc46f0b;if(_0x328fab)throw new _0x35d996['CustomCommandExecutionError'](_0x590c15['SheetPasteCommand']['id']);let {unitId:_0x2a774a,subUnitId:_0x50a932}=_0x1802a1;if(!this[_0x32f2ed(0x40f)][_0x32f2ed(0x5b6)]({'workbookTypes':[_0x2a684c['WorkbookEditablePermission']],'worksheetTypes':[_0x2a684c[_0x32f2ed(0x59b)]]},_0x2a774a,_0x50a932))throw new _0x35d996['CustomCommandExecutionError'](_0x590c15[_0x32f2ed(0x349)]['id']);let _0x20859=(_0xc46f0b=this[_0x32f2ed(0x4f6)][_0x32f2ed(0x438)](_0x2a774a,_0x35d996[_0x32f2ed(0x31d)][_0x32f2ed(0x3de)]))==null?void 0x0:_0xc46f0b[_0x32f2ed(0x456)](_0x50a932),_0x4555bb=_0x20859==null?void 0x0:_0x20859[_0x32f2ed(0x5cf)](),_0xc63d5b=(_0x4555bb==null?void 0x0:_0x4555bb['type'])??_0x35d996['SheetTypes'][_0x32f2ed(0x45a)],_0x51beba=this[_0x32f2ed(0x3fb)],_0x37ecc4=_0x51beba[_0x32f2ed(0x302)];if(!this[_0x32f2ed(0x40f)]['permissionCheckWithoutRange']({'workbookTypes':[_0x2a684c[_0x32f2ed(0x3e5)]],'worksheetTypes':[_0x2a684c['WorksheetCopyPermission']]},_0x51beba[_0x32f2ed(0x280)],_0x51beba[_0x32f2ed(0x35e)])||_0x37ecc4[_0x32f2ed(0x5c8)](_0xba6341=>_0xba6341[_0x32f2ed(0x385)]||!this[_0x32f2ed(0x553)][_0x32f2ed(0x338)](_0x51beba['unitId'],_0x51beba[_0x32f2ed(0x35e)],_0xba6341[_0x32f2ed(0x314)])||!_0x35d996[_0x32f2ed(0x29b)]['diffValue'](_0xba6341,this['_sheetDrawingService'][_0x32f2ed(0x26d)](_0xba6341))))throw new _0x35d996[(_0x32f2ed(0x2cc))](_0x590c15[_0x32f2ed(0x349)]['id']);let _0x2e5722=null;if(_0xc63d5b===_0x35d996[_0x32f2ed(0x45d)][_0x32f2ed(0x367)]){var _0x5478ee;let _0x792e62=(_0x5478ee=this[_0x32f2ed(0x511)][_0x32f2ed(0x4ee)](_0x2a774a))==null?void 0x0:_0x5478ee[_0x32f2ed(0x48a)][_0x32f2ed(0x340)](_0x590c15['SHEET_VIEW_KEY'][_0x32f2ed(0x4a7)]);_0x792e62&&(_0x2e5722=(0x0,_0x47830d[_0x32f2ed(0x348)])(_0x37ecc4,{'left':_0x792e62['left'],'top':_0x792e62[_0x32f2ed(0x414)],'width':_0x792e62[_0x32f2ed(0x49e)],'height':_0x792e62[_0x32f2ed(0x3f8)]},(_0x4555bb==null?void 0x0:_0x4555bb[_0x32f2ed(0x4f5)])===_0x35d996['BooleanNumber'][_0x32f2ed(0x1eb)]));}else{let _0x343f08=this[_0x32f2ed(0x407)]['getSkeleton'](_0x2a774a,_0x50a932),_0x1c26f5=_0x343f08&&(0x0,_0x2a684c[_0x32f2ed(0x5af)])(_0x343f08,(0x0,_0x2a684c[_0x32f2ed(0x36c)])(_0x1802a1[_0x32f2ed(0x2f7)]));if(_0x1c26f5&&_0x37ecc4[_0x32f2ed(0x2f1)]){let _0x31ad95=Math[_0x32f2ed(0x295)](..._0x37ecc4[_0x32f2ed(0x4d8)](_0x192b7d=>_0x192b7d[_0x32f2ed(0x339)]['left'])),_0x22afc8=Math[_0x32f2ed(0x295)](..._0x37ecc4[_0x32f2ed(0x4d8)](_0x4fea8e=>_0x4fea8e[_0x32f2ed(0x339)][_0x32f2ed(0x414)]));_0x2e5722=_0x37ecc4[_0x32f2ed(0x4d8)](_0x17622f=>(0x0,_0x47830d[_0x32f2ed(0x480)])(_0x17622f,{'kind':_0x47830d[_0x32f2ed(0x4d6)][_0x32f2ed(0x1e0)],'bounds':{'left':_0x1c26f5[_0x32f2ed(0x2bc)]+_0x17622f[_0x32f2ed(0x339)][_0x32f2ed(0x204)]-_0x31ad95,'top':_0x1c26f5['startY']+_0x17622f[_0x32f2ed(0x339)][_0x32f2ed(0x414)]-_0x22afc8,'width':_0x17622f['transform']['width'],'height':_0x17622f[_0x32f2ed(0x339)]['height']}},_0x343f08));}}if(!_0x2e5722)throw new _0x35d996['CustomCommandExecutionError'](_0x590c15[_0x32f2ed(0x349)]['id']);let _0x20d35c=new Map(_0x37ecc4[_0x32f2ed(0x4d8)](_0x45b178=>[_0x45b178[_0x32f2ed(0x314)],(0x0,_0x35d996['generateRandomId'])()])),_0x12b209=[],_0x20a5d2=[];for(let [_0x1fbb33,_0x4a804c]of _0x37ecc4[_0x32f2ed(0x23f)]()){let _0xa315cd=_0x2e5722[_0x1fbb33],_0x40b871=this[_0x32f2ed(0x1e8)]({'toUnitId':_0x2a774a,'toSubUnitId':_0x50a932,'drawing':_0x4a804c,'idMap':_0x20d35c,'newDrawingId':_0x20d35c['get'](_0x4a804c['drawingId']),'newTransforms':{'transform':_0xa315cd['transform'],'sheetTransform':_0xa315cd[_0x32f2ed(0x45f)],'axisAlignSheetTransform':_0xa315cd[_0x32f2ed(0x4d5)],'anchorType':_0xa315cd['anchorType']}});_0x12b209[_0x32f2ed(0x373)](..._0x40b871['redos']),_0x20a5d2['unshift'](..._0x40b871['undos']);}return{'redos':_0x12b209,'undos':_0x20a5d2};}[_0x2766d8(0x220)](_0xdbcec7){const _0x55764a=_0x2766d8;let {fromUnitId:_0x368933,fromSubUnitId:_0x1390e4,toUnitId:_0x4738d7,toSubUnitId:_0x173c39,drawing:_0x327942,newTransforms:_0x125df3}=_0xdbcec7,_0x1fedeb={..._0x327942,'unitId':_0x4738d7,'subUnitId':_0x173c39,..._0x125df3};if(_0x4738d7===_0x368933&&_0x173c39===_0x1390e4){let {redo:_0x56d900,undo:_0x2f5741,objects:_0x431b34}=this['_sheetDrawingService'][_0x55764a(0x41b)]([_0x1fedeb]);return{'redos':[{'id':_0x47830d[_0x55764a(0x2e7)]['id'],'params':{'unitId':_0x4738d7,'subUnitId':_0x173c39,'type':_0x47830d[_0x55764a(0x43b)][_0x55764a(0x2f4)],'op':_0x56d900,'objects':_0x431b34}}],'undos':[{'id':_0x47830d[_0x55764a(0x2e7)]['id'],'params':{'unitId':_0x4738d7,'subUnitId':_0x173c39,'type':_0x47830d[_0x55764a(0x43b)][_0x55764a(0x2f4)],'op':_0x2f5741,'objects':_0x431b34}}]};}{let _0x340b2d=this[_0x55764a(0x47d)][_0x55764a(0x401)]([_0x327942]),_0x589ede=this[_0x55764a(0x47d)][_0x55764a(0x483)]([_0x1fedeb]),_0x191941=this['_shapeService'][_0x55764a(0x338)](_0x327942[_0x55764a(0x280)],_0x327942['subUnitId'],_0x327942[_0x55764a(0x314)]);if(!_0x191941)return{'redos':[],'undos':[]};let _0x29c17b=_0x191941[_0x55764a(0x200)](),_0x4ce18f=JSON['parse'](JSON[_0x55764a(0x54b)](_0x191941[_0x55764a(0x583)]()));return{'redos':[{'id':_0x47830d[_0x55764a(0x2e7)]['id'],'params':{'unitId':_0x368933,'subUnitId':_0x1390e4,'type':_0x47830d[_0x55764a(0x43b)][_0x55764a(0x281)],'op':_0x340b2d[_0x55764a(0x2b7)],'objects':_0x340b2d[_0x55764a(0x23e)]}},{'id':_0x565640['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x368933,'subUnitId':_0x1390e4,'shapeId':_0x327942['drawingId']}},{'id':_0x47830d['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x4738d7,'subUnitId':_0x173c39,'type':_0x47830d[_0x55764a(0x43b)]['INSERT'],'op':_0x589ede[_0x55764a(0x2b7)],'objects':_0x589ede[_0x55764a(0x23e)]}},{'id':_0x565640[_0x55764a(0x4bf)]['id'],'params':{'unitId':_0x4738d7,'subUnitId':_0x173c39,'shapeId':_0x327942[_0x55764a(0x314)],'shapeType':_0x29c17b,'shapeData':_0x4ce18f}}],'undos':[{'id':_0x47830d[_0x55764a(0x2e7)]['id'],'params':{'unitId':_0x368933,'subUnitId':_0x1390e4,'type':_0x47830d[_0x55764a(0x43b)][_0x55764a(0x25c)],'op':_0x340b2d[_0x55764a(0x2c5)],'objects':_0x340b2d[_0x55764a(0x23e)]}},{'id':_0x565640[_0x55764a(0x4bf)]['id'],'params':{'unitId':_0x368933,'subUnitId':_0x1390e4,'shapeId':_0x327942[_0x55764a(0x314)],'shapeType':_0x29c17b,'shapeData':_0x4ce18f}},{'id':_0x47830d[_0x55764a(0x2e7)]['id'],'params':{'unitId':_0x4738d7,'subUnitId':_0x173c39,'type':_0x47830d['DrawingApplyType']['REMOVE'],'op':_0x589ede[_0x55764a(0x2c5)],'objects':_0x589ede['objects']}},{'id':_0x565640['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x4738d7,'subUnitId':_0x173c39,'shapeId':_0x327942['drawingId']}}]};}}[_0x2766d8(0x1e8)](_0x1f417d){const _0x38b8df=_0x2766d8;let {toUnitId:_0x3a27da,toSubUnitId:_0x2c7688,drawing:_0x52b463,newTransforms:_0x241575,newDrawingId:_0x488cc5,idMap:_0x4896de}=_0x1f417d,_0x2b9b28={..._0x52b463,'unitId':_0x3a27da,'subUnitId':_0x2c7688,'drawingId':_0x488cc5,..._0x241575},{redo:_0x2532a1,undo:_0x3fb0b8,objects:_0x45caa7}=this[_0x38b8df(0x47d)][_0x38b8df(0x483)]([_0x2b9b28]),_0x500b54=this[_0x38b8df(0x553)][_0x38b8df(0x338)](_0x52b463[_0x38b8df(0x280)],_0x52b463[_0x38b8df(0x35e)],_0x52b463[_0x38b8df(0x314)]);if(!_0x500b54)return{'redos':[],'undos':[]};let _0x43f49c=_0x500b54['getShapeType'](),_0xc91e1e=JSON['parse'](JSON[_0x38b8df(0x54b)](_0x500b54[_0x38b8df(0x583)]()));if(_0xc91e1e[_0x38b8df(0x46d)]){var _0x13a984,_0x7ad40;let _0xba161a=(_0x13a984=_0xc91e1e['relation'][_0x38b8df(0x5d4)])==null?void 0x0:_0x13a984[_0x38b8df(0x2a8)],_0x40cacc=(_0x7ad40=_0xc91e1e[_0x38b8df(0x46d)]['to'])==null?void 0x0:_0x7ad40['shapeId'],_0x4bb2fe=!_0xba161a||_0x4896de[_0x38b8df(0x51e)](_0xba161a),_0x2a0def=!_0x40cacc||_0x4896de['has'](_0x40cacc);_0x4bb2fe&&_0xba161a&&_0xc91e1e['relation'][_0x38b8df(0x5d4)]?_0xc91e1e['relation'][_0x38b8df(0x5d4)]={..._0xc91e1e[_0x38b8df(0x46d)]['from'],'shapeId':_0x4896de[_0x38b8df(0x340)](_0xba161a)}:_0xc91e1e[_0x38b8df(0x46d)]['from']=void 0x0,_0x2a0def&&_0x40cacc&&_0xc91e1e[_0x38b8df(0x46d)]['to']?_0xc91e1e['relation']['to']={..._0xc91e1e[_0x38b8df(0x46d)]['to'],'shapeId':_0x4896de[_0x38b8df(0x340)](_0x40cacc)}:_0xc91e1e['relation']['to']=void 0x0;}return{'redos':[{'id':_0x47830d[_0x38b8df(0x2e7)]['id'],'params':{'unitId':_0x3a27da,'subUnitId':_0x2c7688,'type':_0x47830d['DrawingApplyType']['INSERT'],'op':_0x2532a1,'objects':_0x45caa7}},{'id':_0x565640[_0x38b8df(0x4bf)]['id'],'params':{'unitId':_0x3a27da,'subUnitId':_0x2c7688,'shapeId':_0x488cc5,'shapeType':_0x43f49c,'shapeData':_0xc91e1e}}],'undos':[{'id':_0x47830d[_0x38b8df(0x2e7)]['id'],'params':{'unitId':_0x3a27da,'subUnitId':_0x2c7688,'type':_0x47830d[_0x38b8df(0x43b)][_0x38b8df(0x281)],'op':_0x3fb0b8,'objects':_0x45caa7}},{'id':_0x565640[_0x38b8df(0x3a9)]['id'],'params':{'unitId':_0x3a27da,'subUnitId':_0x2c7688,'shapeId':_0x488cc5}}]};}[_0x2766d8(0x459)](_0x5ba76f,_0x4eb1ed,_0x4a5716,_0x57c129){const _0x44e2f0=_0x2766d8;let {range:_0x4eb5b7,skeleton:_0x5362ac}=_0x4eb1ed,{range:_0x5ca8be,skeleton:_0x269e05}=_0x4a5716,{transform:_0x4aaece,sheetTransform:_0x93f471}=_0x5ba76f,_0x549e64={..._0x4aaece};if(_0x4eb5b7){let _0x495020=(0x0,_0x2a684c['attachRangeWithCoord'])(_0x5362ac,_0x4eb5b7),_0x201b76=(0x0,_0x2a684c[_0x44e2f0(0x5af)])(_0x269e05,_0x5ca8be);if(_0x495020&&_0x201b76){let _0x2d7136=_0x201b76[_0x44e2f0(0x2bc)]-_0x495020[_0x44e2f0(0x2bc)],_0x2bcf5e=_0x201b76[_0x44e2f0(0x27f)]-_0x495020[_0x44e2f0(0x27f)];_0x549e64[_0x44e2f0(0x204)]=(_0x549e64[_0x44e2f0(0x204)]??0x0)+_0x2d7136,_0x549e64[_0x44e2f0(0x414)]=(_0x549e64[_0x44e2f0(0x414)]??0x0)+_0x2bcf5e;}}else{let _0x16bbd=(0x0,_0x2a684c[_0x44e2f0(0x5af)])(_0x269e05,_0x5ca8be);if(_0x57c129&&_0x16bbd){let _0x377ce0=(_0x549e64[_0x44e2f0(0x204)]??0x0)-_0x57c129[_0x44e2f0(0x204)],_0x3885a2=(_0x549e64[_0x44e2f0(0x414)]??0x0)-_0x57c129[_0x44e2f0(0x414)];_0x549e64[_0x44e2f0(0x204)]=_0x16bbd[_0x44e2f0(0x2bc)]+_0x377ce0,_0x549e64['top']=_0x16bbd[_0x44e2f0(0x27f)]+_0x3885a2;}else _0x549e64['left']=_0x16bbd==null?void 0x0:_0x16bbd[_0x44e2f0(0x2bc)],_0x549e64[_0x44e2f0(0x414)]=_0x16bbd==null?void 0x0:_0x16bbd['startY'];}return{'transform':_0x549e64,'sheetTransform':(0x0,_0x47830d[_0x44e2f0(0x4aa)])(_0x549e64,_0x269e05)??_0x93f471};}};_0x3d86f3=_0x39c461([_0x400e7c(0x0,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x2a684c[_0x2766d8(0x4e6)])),_0x400e7c(0x1,(0x0,_0x35d996['Inject'])(_0x590c15[_0x2766d8(0x32f)])),_0x400e7c(0x2,(0x0,_0x35d996['Inject'])(_0x47830d[_0x2766d8(0x312)])),_0x400e7c(0x3,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x565640[_0x2766d8(0x248)])),_0x400e7c(0x4,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x353806[_0x2766d8(0x562)])),_0x400e7c(0x5,_0x35d996[_0x2766d8(0x403)]),_0x400e7c(0x6,_0x580d8a[_0x2766d8(0x266)]),_0x400e7c(0x7,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x2a684c[_0x2766d8(0x518)]))],_0x3d86f3);var _0x364053=class extends _0x580d8a[_0x2766d8(0x5e1)]{constructor(_0x510a69,_0x3807b0){const _0x3d5df7=_0x2766d8;super(_0x510a69,_0x3807b0),_0x2a4a7a(this,_0x3d5df7(0x2a9),null),_0x2a4a7a(this,_0x3d5df7(0x2e0),null),_0x2a4a7a(this,_0x3d5df7(0x370),null),_0x2a4a7a(this,'_subUnitId',null),_0x2a4a7a(this,_0x3d5df7(0x362),!0x1),_0x3807b0&&this[_0x3d5df7(0x3ce)](_0x3807b0);}['getDrawingSearch'](){const _0x17176f=_0x2766d8;return{'unitId':this[_0x17176f(0x370)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x17176f(0x2a9)]};}[_0x2766d8(0x3ce)](_0x1eb880){const _0x55a170=_0x2766d8;_0x1eb880[_0x55a170(0x2a8)]!==void 0x0&&(this[_0x55a170(0x2a9)]=_0x1eb880['shapeId']),_0x1eb880[_0x55a170(0x280)]!==void 0x0&&(this[_0x55a170(0x370)]=_0x1eb880[_0x55a170(0x280)]),_0x1eb880['subUnitId']!==void 0x0&&(this[_0x55a170(0x3f6)]=_0x1eb880[_0x55a170(0x35e)]),_0x1eb880['isStartConnectorPoint']!==void 0x0&&(this[_0x55a170(0x362)]=_0x1eb880[_0x55a170(0x46a)]),this[_0x55a170(0x3c4)]({'width':_0x1eb880[_0x55a170(0x49e)],'height':_0x1eb880[_0x55a170(0x3f8)]});}[_0x2766d8(0x55f)](_0x47e8af){const _0x3423a4=_0x2766d8;_0x580d8a[_0x3423a4(0x473)]['drawWith'](_0x47e8af,{'radius':_0x1f2a15[_0x3423a4(0x540)][_0x3423a4(0x307)],'fill':_0x1f2a15[_0x3423a4(0x540)][_0x3423a4(0x37d)],'stroke':_0x1f2a15['ShapeDefaultConfig'][_0x3423a4(0x40e)],'strokeWidth':_0x1f2a15[_0x3423a4(0x540)]['cxnPointStrokeWidth'],'evented':!0x0});}};let _0x243495=class extends _0x35d996['Disposable']{constructor(_0xa305d4,_0xf5042c,_0x1c180b,_0x314a67,_0xf103e1,_0x3f2a06,_0x125ffb,_0x4ed74d){const _0x392d2d=_0x2766d8;super(),this[_0x392d2d(0x587)]=_0xa305d4,this['_commandService']=_0xf5042c,this['_renderManagerService']=_0x1c180b,this['_drawingManagerService']=_0x314a67,this['_univerInstanceService']=_0xf103e1,this[_0x392d2d(0x218)]=_0x3f2a06,this[_0x392d2d(0x1ef)]=_0x125ffb,this['_sheetBasicShapeConnectionPointController']=_0x4ed74d,_0x2a4a7a(this,_0x392d2d(0x2bb),void 0x0),_0x2a4a7a(this,'_unitId',void 0x0),_0x2a4a7a(this,_0x392d2d(0x3f6),void 0x0),_0x2a4a7a(this,_0x392d2d(0x303),[]),_0x2a4a7a(this,_0x392d2d(0x472),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),_0x2a4a7a(this,'_activeShapeModel',void 0x0),_0x2a4a7a(this,'_isConnecting',!0x1),_0x2a4a7a(this,_0x392d2d(0x5e3),!0x1),_0x2a4a7a(this,'_hasReset',!0x1),_0x2a4a7a(this,_0x392d2d(0x4ca),void 0x0),_0x2a4a7a(this,_0x392d2d(0x1f0),void 0x0),_0x2a4a7a(this,'_currentConnectionTarget',null),this[_0x392d2d(0x5d9)]();}[_0x2766d8(0x5d9)](){const _0x8ba931=_0x2766d8;this[_0x8ba931(0x425)](),this[_0x8ba931(0x2a5)]();}[_0x2766d8(0x578)](){const _0x50d753=_0x2766d8;if(!this[_0x50d753(0x370)]||!this[_0x50d753(0x3f6)]||!this['_activeShapeId'])return;let _0x5e72ce={'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this[_0x50d753(0x2bb)]},{transform:_0x106049}=this['_drawingManagerService'][_0x50d753(0x26d)](_0x5e72ce);if(_0x106049)return{'left':_0x106049[_0x50d753(0x204)]||0x0,'top':_0x106049[_0x50d753(0x414)]||0x0,'width':_0x106049[_0x50d753(0x49e)]||0x0,'height':_0x106049[_0x50d753(0x3f8)]||0x0,'flipX':_0x106049['flipX']||!0x1,'flipY':_0x106049[_0x50d753(0x21d)]||!0x1,'angle':_0x106049[_0x50d753(0x55b)]};}[_0x2766d8(0x514)](){const _0x5e6288=_0x2766d8;if(this['_unitId']===void 0x0||this[_0x5e6288(0x3f6)]===void 0x0||this[_0x5e6288(0x2bb)]===void 0x0)return;let _0x462d63=this[_0x5e6288(0x4bb)][_0x5e6288(0x4ee)](this['_unitId']);if(!_0x462d63||!_0x462d63[_0x5e6288(0x28f)](_0x590c15[_0x5e6288(0x599)])['getCurrentSkeleton']())return;let {scene:_0x481952}=_0x462d63,_0x137815=this[_0x5e6288(0x578)]();if(!_0x137815)return;let _0x1f09d5=this['_sheetsShapeService'][_0x5e6288(0x338)](this['_unitId'],this[_0x5e6288(0x3f6)],this[_0x5e6288(0x2bb)]);if(!_0x1f09d5||!(0x0,_0x1f2a15[_0x5e6288(0x493)])(_0x1f09d5[_0x5e6288(0x200)]()))return;let _0x204267=_0x1f09d5[_0x5e6288(0x443)]();if(_0x204267[_0x5e6288(0x2f1)]<0x2)return;let _0x48b2b8=new _0x1f2a15['ConnectorCoordinateTransform'](_0x137815),_0x56f56b=_0x204267[0x0],_0x5825ba=_0x204267[_0x204267['length']-0x1],_0x14d620=_0x48b2b8[_0x5e6288(0x5d3)](_0x56f56b),_0x80245e=_0x48b2b8[_0x5e6288(0x5d3)](_0x5825ba);this[_0x5e6288(0x3df)](_0x481952,{..._0x14d620},!0x0),this['_addShapeConnectorHandlerObject'](_0x481952,{..._0x80245e},!0x1);}[_0x2766d8(0x3df)](_0x575840,_0x44f461,_0x18c253){const _0x395975=_0x2766d8;if(this[_0x395975(0x2bb)]===void 0x0||this[_0x395975(0x370)]===void 0x0||this[_0x395975(0x3f6)]===void 0x0)return;let _0x30fa4e='connector-handler-'+this[_0x395975(0x370)]+'-'+this[_0x395975(0x3f6)]+'-'+this[_0x395975(0x2bb)]+'-'+(_0x18c253?'start':_0x395975(0x250)),_0x3a0259=_0x575840['getObjectIncludeInGroup'](_0x30fa4e);if(_0x3a0259){_0x3a0259[_0x395975(0x3c4)]({'left':_0x44f461['x']-_0x1f2a15[_0x395975(0x540)]['cxnPointRadius'],'top':_0x44f461['y']-_0x1f2a15['ShapeDefaultConfig'][_0x395975(0x307)]});return;}let _0x6656cd=new _0x364053(_0x30fa4e,{'left':_0x44f461['x']-_0x1f2a15[_0x395975(0x540)][_0x395975(0x307)],'top':_0x44f461['y']-_0x1f2a15[_0x395975(0x540)][_0x395975(0x307)],'shapeId':this[_0x395975(0x2bb)],'unitId':this['_unitId'],'subUnitId':this[_0x395975(0x3f6)],'isStartConnectorPoint':_0x18c253,'width':_0x1f2a15['ShapeDefaultConfig'][_0x395975(0x307)]*0x2,'height':_0x1f2a15[_0x395975(0x540)][_0x395975(0x307)]*0x2,'zIndex':_0x580d8a['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0});this[_0x395975(0x303)][_0x395975(0x373)](_0x6656cd),this[_0x395975(0x47e)](_0x6656cd,_0x575840,_0x18c253),_0x575840[_0x395975(0x476)](_0x6656cd,_0x580d8a['DRAWING_OBJECT_LAYER_INDEX']+0x1);}[_0x2766d8(0x3fe)](_0x151118,_0x2de304){const _0x575d14=_0x2766d8;var _0x5d2966;let _0x2cc35f={'x':0x0,'y':0x0};if(!_0x151118||!_0x2de304)return _0x2cc35f;let _0x54084f=this[_0x575d14(0x4bb)][_0x575d14(0x4ee)](_0x151118);if(!_0x54084f||!_0x54084f[_0x575d14(0x28f)](_0x590c15[_0x575d14(0x599)])[_0x575d14(0x4d9)](_0x2de304))return _0x2cc35f;let _0x4bc443=_0x54084f[_0x575d14(0x28f)](_0x590c15[_0x575d14(0x258)]),_0x145bcc=_0x4bc443==null?void 0x0:_0x4bc443[_0x575d14(0x492)]();if(!_0x145bcc)return _0x2cc35f;let _0x522700=(_0x5d2966=this['_univerInstanceService'][_0x575d14(0x438)](_0x151118))==null?void 0x0:_0x5d2966[_0x575d14(0x456)](_0x2de304);if(!_0x522700)return _0x2cc35f;let _0x323efb=(0x0,_0x590c15['getViewportByCell'])(_0x145bcc[_0x575d14(0x474)],_0x145bcc[_0x575d14(0x527)],_0x54084f[_0x575d14(0x394)],_0x522700);return _0x323efb?{'x':_0x323efb['viewportScrollX'],'y':_0x323efb['viewportScrollY']}:_0x2cc35f;}[_0x2766d8(0x4fe)](_0x1ba931,_0x3cba0c){const _0x4d4980=_0x2766d8;var _0x124357;let _0x5f229a=(_0x124357=this[_0x4d4980(0x251)][_0x4d4980(0x438)](_0x1ba931))==null?void 0x0:_0x124357[_0x4d4980(0x456)](_0x3cba0c);return(_0x5f229a==null?void 0x0:_0x5f229a['getZoomRatio']())??0x1;}[_0x2766d8(0x2e8)](_0x292fb5,_0x136e3a,_0x13a6d1,_0x560638,_0x1051bc){const _0x2ec278=_0x2766d8;this[_0x2ec278(0x4ca)][_0x2ec278(0x2c9)](),this[_0x2ec278(0x1f0)][_0x2ec278(0x2c9)](),this[_0x2ec278(0x1ef)][_0x2ec278(0x2b2)]();let _0x1b888b=this[_0x2ec278(0x390)];this[_0x2ec278(0x355)][_0x2ec278(0x3ab)]();let _0x462e61=this[_0x2ec278(0x3fe)](this['_unitId'],this[_0x2ec278(0x3f6)]),_0x14e1a9=this['_getZoomRatio'](this['_unitId'],this[_0x2ec278(0x3f6)]),_0x449fba={'x':_0x13a6d1[_0x2ec278(0x300)]/_0x14e1a9+_0x462e61['x'],'y':_0x13a6d1[_0x2ec278(0x4e8)]/_0x14e1a9+_0x462e61['y']},_0xf5d05=_0x1b888b?_0x1b888b[_0x2ec278(0x591)]:_0x449fba,_0x1026b4=_0x560638?this[_0x2ec278(0x5a7)][_0x2ec278(0x361)]():this[_0x2ec278(0x5a7)][_0x2ec278(0x42c)](),_0x10a686=this[_0x2ec278(0x5a7)][_0x2ec278(0x200)]();_0x1026b4?this[_0x2ec278(0x3bd)](_0x1026b4,_0xf5d05,_0x560638,_0x1b888b,_0x1051bc):this['_handleFreeEndpointPointerUp'](_0x136e3a,_0xf5d05,_0x560638,_0x1b888b,_0x1051bc,_0x10a686),this['_isConnecting']=!0x1,this[_0x2ec278(0x26b)]=!0x1,this['_currentConnectionTarget']=null,_0x292fb5['enableObjectsEvent']();}[_0x2766d8(0x496)](_0x2dd287,_0x93a139,_0x596760,_0x993644,_0x3a4019,_0x5dc273){const _0x1c50ff=_0x2766d8;let _0x383a7f=_0x5dc273===_0x1f2a15[_0x1c50ff(0x224)][_0x1c50ff(0x389)]||_0x5dc273===_0x1f2a15[_0x1c50ff(0x224)]['StraightConnector1'],_0x2ff080=_0x596760?_0x93a139:_0x2dd287,_0x218530=_0x596760?_0x2dd287:_0x93a139,_0x3b0b23=this[_0x1c50ff(0x5a7)][_0x1c50ff(0x443)](),_0x583d97=this[_0x1c50ff(0x5a7)][_0x1c50ff(0x200)](),_0x360136=(0x0,_0x1f2a15['isCurvedConnectorShape'])(_0x583d97),_0x51f41c=_0x1f2a15['ConnectorCoordinateTransform'][_0x1c50ff(0x550)](_0x3b0b23,_0x360136),_0x4b2a67=_0x383a7f?_0x1f2a15[_0x1c50ff(0x396)][_0x1c50ff(0x4b3)](_0x2ff080,_0x218530):_0x1f2a15['ConnectorCoordinateTransform'][_0x1c50ff(0x40d)](_0x2dd287,_0x93a139,_0x596760,_0x51f41c);_0x993644?this[_0x1c50ff(0x4e1)](_0x4b2a67,_0x993644,_0x596760,_0x3a4019):this['_executeResizeCommand'](_0x4b2a67,_0x3a4019);}[_0x2766d8(0x3bd)](_0x668db4,_0x453afd,_0x270e6c,_0x13cb88,_0x50e7ab){const _0x310af8=_0x2766d8;let _0x4dbfff=this['_getConnectPointInfo'](_0x668db4);if(!_0x4dbfff)return;let _0x1f7f4d=_0x13cb88?_0x13cb88[_0x310af8(0x55b)]:this['_calculateFreeEndpointAngle'](_0x4dbfff[_0x310af8(0x515)],_0x453afd),_0x1346c3;if(_0x13cb88){let _0x84cc11=this['_drawingManagerService'][_0x310af8(0x26d)]({'unitId':_0x13cb88['unitId'],'subUnitId':_0x13cb88[_0x310af8(0x35e)],'drawingId':_0x13cb88[_0x310af8(0x2a8)]});if(_0x84cc11!=null&&_0x84cc11[_0x310af8(0x339)]){let {left:_0x2b4695=0x0,top:_0x5e77c4=0x0,width:_0x49b751=0x0,height:_0x29629d=0x0,angle:_0x8cb3da}=_0x84cc11[_0x310af8(0x339)];_0x1346c3=(0x0,_0x1f2a15[_0x310af8(0x525)])({'left':_0x2b4695,'top':_0x5e77c4,'width':_0x49b751,'height':_0x29629d},_0x8cb3da||0x0);}else _0x1346c3={'left':_0x453afd['x'],'top':_0x453afd['y'],'width':0x0,'height':0x0};}else _0x1346c3={'left':_0x453afd['x'],'top':_0x453afd['y'],'width':0x0,'height':0x0};let _0x355447={'point':_0x453afd,'angle':_0x1f7f4d,'bounds':_0x1346c3},_0xbf4164=_0x270e6c?_0x355447:_0x4dbfff,_0x160ee1=_0x270e6c?_0x4dbfff:_0x355447,_0x2eff44=this['_activeShapeModel'][_0x310af8(0x200)](),_0x50c47c=(0x0,_0x1f2a15[_0x310af8(0x449)])(_0xbf4164,_0x160ee1,_0x2eff44);this[_0x310af8(0x5a7)][_0x310af8(0x232)]();let _0x553c71=(0x0,_0x1f2a15[_0x310af8(0x500)])(_0x50c47c,_0x2eff44);_0x13cb88?this['_executeConnectedRouteConnectionCommand'](_0x553c71,_0x13cb88,_0x668db4,_0x270e6c,_0x50e7ab):this[_0x310af8(0x457)](_0x553c71,_0x668db4,_0x270e6c,_0x50e7ab);}[_0x2766d8(0x4e1)](_0x166c8f,_0xd27bc2,_0x1ebfb8,_0x10e19c){const _0x1210db=_0x2766d8;let _0x5e08df=this[_0x1210db(0x5a7)][_0x1210db(0x583)]()[_0x1210db(0x46d)],_0x4149ae={..._0x5e08df},_0x1fd1c9={'shapeId':_0xd27bc2[_0x1210db(0x2a8)],'cxnIndex':_0xd27bc2[_0x1210db(0x378)]};_0x1ebfb8?_0x4149ae[_0x1210db(0x5d4)]=_0x1fd1c9:_0x4149ae['to']=_0x1fd1c9;let _0xbb363d=this[_0x1210db(0x5a7)][_0x1210db(0x200)](),_0x245cad=(0x0,_0x1f2a15['computeConnectorRouteLayout'])(_0x166c8f[_0x1210db(0x4df)],_0xbb363d),_0x2f79e3={'unitId':this[_0x1210db(0x370)],'subUnitId':this[_0x1210db(0x3f6)],'connectorShapeId':this['_activeShapeId'],'width':_0x166c8f[_0x1210db(0x45c)][_0x1210db(0x49e)],'height':_0x166c8f['worldRect'][_0x1210db(0x3f8)],'left':_0x166c8f[_0x1210db(0x45c)]['left'],'top':_0x166c8f[_0x1210db(0x45c)]['top'],'flipX':_0x166c8f[_0x1210db(0x45c)][_0x1210db(0x4f7)]||!0x1,'flipY':_0x166c8f[_0x1210db(0x45c)]['flipY']||!0x1,'newAdjustValues':_0x245cad['adjustValues'],'oldAdjustValues':_0x10e19c,'oldRelation':_0x5e08df,'newRelation':_0x4149ae,'newLineType':_0x245cad[_0x1210db(0x574)],'oldLineType':_0xbb363d};this[_0x1210db(0x54f)][_0x1210db(0x3d1)](_0x565640[_0x1210db(0x50b)]['id'],_0x2f79e3);}[_0x2766d8(0x503)](_0x1176b1,_0x276197){const _0x4b6127=_0x2766d8;let _0x40ce6e=this[_0x4b6127(0x5a7)][_0x4b6127(0x200)](),_0x26a911=(0x0,_0x1f2a15[_0x4b6127(0x500)])(_0x1176b1[_0x4b6127(0x4df)],_0x40ce6e),_0x3cf758={'unitId':this[_0x4b6127(0x370)],'subUnitId':this[_0x4b6127(0x3f6)],'shapeId':this['_activeShapeId'],'width':_0x1176b1[_0x4b6127(0x45c)][_0x4b6127(0x49e)],'height':_0x1176b1[_0x4b6127(0x45c)][_0x4b6127(0x3f8)],'left':_0x1176b1['worldRect'][_0x4b6127(0x204)],'top':_0x1176b1[_0x4b6127(0x45c)]['top'],'flipX':_0x1176b1[_0x4b6127(0x45c)][_0x4b6127(0x4f7)]||!0x1,'flipY':_0x1176b1[_0x4b6127(0x45c)]['flipY']||!0x1,'angle':_0x1176b1[_0x4b6127(0x45c)]['angle']||0x0,'newAdjustValues':_0x26a911['adjustValues'],'oldAdjustValues':_0x276197,'newLineType':_0x26a911[_0x4b6127(0x574)],'oldLineType':_0x40ce6e};this[_0x4b6127(0x54f)][_0x4b6127(0x3d1)](_0x565640['UpdateLineShapeResizeCommand']['id'],_0x3cf758);}['_executeConnectedRouteConnectionCommand'](_0xc1e370,_0x1547ea,_0x52a056,_0xb48573,_0x457b52){const _0x3e679e=_0x2766d8;let _0x1ab40b=this['_activeShapeModel']['getShapeData']()[_0x3e679e(0x46d)],_0x4f4612={..._0x1ab40b},_0x401dc1={'shapeId':_0x1547ea[_0x3e679e(0x2a8)],'cxnIndex':_0x1547ea[_0x3e679e(0x378)]};_0xb48573?(_0x4f4612['from']=_0x401dc1,_0x4f4612['to']=_0x52a056):(_0x4f4612[_0x3e679e(0x5d4)]=_0x52a056,_0x4f4612['to']=_0x401dc1);let _0x21c677={'unitId':this[_0x3e679e(0x370)],'subUnitId':this[_0x3e679e(0x3f6)],'connectorShapeId':this[_0x3e679e(0x2bb)],'width':_0xc1e370['worldRect'][_0x3e679e(0x49e)],'height':_0xc1e370['worldRect'][_0x3e679e(0x3f8)],'left':_0xc1e370['worldRect'][_0x3e679e(0x204)],'top':_0xc1e370[_0x3e679e(0x45c)][_0x3e679e(0x414)],'flipX':_0xc1e370['worldRect'][_0x3e679e(0x4f7)]||!0x1,'flipY':_0xc1e370['worldRect'][_0x3e679e(0x21d)]||!0x1,'oldAdjustValues':_0x457b52,'newAdjustValues':_0xc1e370[_0x3e679e(0x5d5)],'newLineType':_0xc1e370[_0x3e679e(0x574)],'rotation':_0xc1e370[_0x3e679e(0x44b)],'oldRelation':_0x1ab40b,'newRelation':_0x4f4612};this['_commandService'][_0x3e679e(0x3d1)](_0x565640['UpdateConnectorRelationCommand']['id'],_0x21c677);}['_executeConnectedRouteResizeCommand'](_0x243384,_0x3bb718,_0x377b16,_0x5057c9){const _0x5708e9=_0x2766d8;let _0x184b91=this[_0x5708e9(0x5a7)][_0x5708e9(0x583)]()[_0x5708e9(0x46d)],_0x584d2d={};_0x377b16?(_0x584d2d['to']=_0x3bb718,_0x584d2d[_0x5708e9(0x5d4)]=void 0x0):(_0x584d2d[_0x5708e9(0x5d4)]=_0x3bb718,_0x584d2d['to']=void 0x0);let _0x583ae5={'unitId':this[_0x5708e9(0x370)],'subUnitId':this[_0x5708e9(0x3f6)],'connectorShapeId':this[_0x5708e9(0x2bb)],'width':_0x243384[_0x5708e9(0x45c)][_0x5708e9(0x49e)],'height':_0x243384[_0x5708e9(0x45c)][_0x5708e9(0x3f8)],'left':_0x243384['worldRect']['left'],'top':_0x243384[_0x5708e9(0x45c)][_0x5708e9(0x414)],'flipX':_0x243384['worldRect'][_0x5708e9(0x4f7)]||!0x1,'flipY':_0x243384[_0x5708e9(0x45c)][_0x5708e9(0x21d)]||!0x1,'oldAdjustValues':_0x5057c9,'newAdjustValues':_0x243384['adjustValues'],'newLineType':_0x243384['lineType'],'rotation':_0x243384[_0x5708e9(0x44b)],'oldRelation':_0x184b91,'newRelation':_0x584d2d};this[_0x5708e9(0x54f)][_0x5708e9(0x3d1)](_0x565640[_0x5708e9(0x50b)]['id'],_0x583ae5);}['_attachConnectorObjectEvent'](_0x3cd7c0,_0x523826,_0x3375be){const _0x418d34=_0x2766d8;this['disposeWithMe']((0x0,_0x35d996['toDisposable'])(_0x3cd7c0['onPointerDown$'][_0x418d34(0x1dd)]((_0x4d5d37,_0x40a5e7)=>{const _0x38b21a=_0x418d34;let _0x3fc296=_0x3cd7c0[_0x38b21a(0x4ce)]();if(this['_activeShapeModel']=this[_0x38b21a(0x218)]['getShapeModel'](_0x3fc296[_0x38b21a(0x280)],_0x3fc296[_0x38b21a(0x35e)],_0x3fc296[_0x38b21a(0x314)]),!this[_0x38b21a(0x5a7)])return;let _0x48262c={};this['_activeShapeModel'][_0x38b21a(0x30f)]()[_0x38b21a(0x528)](_0x360891=>{const _0x2fd4fd=_0x38b21a;let _0x36f6c8=this[_0x2fd4fd(0x5a7)][_0x2fd4fd(0x28b)](_0x360891);_0x36f6c8!==void 0x0&&(_0x48262c[_0x360891]=_0x36f6c8);});let _0x9fff48=this[_0x38b21a(0x578)]();if(!_0x9fff48)return;this[_0x38b21a(0x472)]={..._0x9fff48};let _0x5bb2b1=new _0x1f2a15[(_0x38b21a(0x396))](this['_baseDrawingRect']),_0x13f850=(0x0,_0x2ed59f[_0x38b21a(0x2f2)])({'unitId':this[_0x38b21a(0x370)],'subUnitId':this[_0x38b21a(0x3f6)],'drawingId':this['_activeShapeId']}),_0x136bc7=_0x523826['getObjectIncludeInGroup'](_0x13f850);this[_0x38b21a(0x579)]=!0x0,_0x523826[_0x38b21a(0x4fa)](),this['_sheetBasicShapeConnectionPointController'][_0x38b21a(0x410)](_0x523826,this['_unitId'],this['_subUnitId'],this[_0x38b21a(0x2bb)]),this[_0x38b21a(0x390)]=null;let _0x290122=this['_activeShapeModel']['getConnectorLinePoints'](),_0x36ef0e=_0x290122[0x0],_0x101a11=_0x290122[_0x290122['length']-0x1],_0x178593=_0x3375be?_0x5bb2b1[_0x38b21a(0x5d3)](_0x101a11):_0x5bb2b1[_0x38b21a(0x5d3)](_0x36ef0e);this[_0x38b21a(0x4ca)]=_0x523826[_0x38b21a(0x5dc)][_0x38b21a(0x1dd)]((_0x4bcd32,_0x4c02fa)=>{const _0x578f25=_0x38b21a;if(!this[_0x578f25(0x579)]||!this['_activeShapeModel'])return;this[_0x578f25(0x26b)]||=(this['_sheetShapeAdjustController']['clearAdjustControls'](),this[_0x578f25(0x5a7)][_0x578f25(0x352)](),!0x0);let _0x42fec2=this[_0x578f25(0x3fe)](this[_0x578f25(0x370)],this[_0x578f25(0x3f6)]),_0x17524d=this[_0x578f25(0x4fe)](this[_0x578f25(0x370)],this[_0x578f25(0x3f6)]),_0x253051={'x':_0x4bcd32[_0x578f25(0x300)]/_0x17524d+_0x42fec2['x'],'y':_0x4bcd32[_0x578f25(0x4e8)]/_0x17524d+_0x42fec2['y']},_0x3bf26f=this['_sheetBasicShapeConnectionPointController'][_0x578f25(0x398)](_0x253051);if(_0x3bf26f){let {shapeId:_0x5ad233,unitId:_0x6fe72b,subUnitId:_0x58fe1f}=_0x3bf26f;if(_0x5ad233&&_0x6fe72b&&_0x58fe1f){let _0x1b8243=(0x0,_0x2ed59f[_0x578f25(0x2f2)])({'unitId':_0x6fe72b,'subUnitId':_0x58fe1f,'drawingId':_0x5ad233});_0x3bf26f['angle']=(_0x523826['getObjectIncludeInGroup'](_0x1b8243)[_0x578f25(0x55b)]||0x0)+_0x3bf26f[_0x578f25(0x55b)];}}this['_currentConnectionTarget']=_0x3bf26f;let _0x5e367a=_0x3375be?this['_activeShapeModel'][_0x578f25(0x361)]():this[_0x578f25(0x5a7)][_0x578f25(0x42c)]();_0x5e367a?this[_0x578f25(0x436)](_0x5e367a,_0x253051,_0x3375be,_0x136bc7,_0x3cd7c0):this['_handleFreeEndpointMove'](_0x253051,_0x178593,_0x3375be,_0x136bc7,_0x3cd7c0);}),this[_0x38b21a(0x1f0)]=_0x523826[_0x38b21a(0x542)][_0x38b21a(0x1dd)]((_0x4c289a,_0x17a0b7)=>{const _0x4b9473=_0x38b21a;this[_0x4b9473(0x2e8)](_0x523826,_0x178593,_0x4c289a,_0x3375be,_0x48262c);}),_0x40a5e7[_0x38b21a(0x5c7)]();})));}[_0x2766d8(0x293)](_0x380bdf,_0x22430d,_0x308231){const _0x3da6f0=_0x2766d8;let _0x21630f=this[_0x3da6f0(0x218)]['getBasicShapeRelation'](_0x380bdf,_0x22430d,_0x308231);if(!_0x21630f||_0x21630f[_0x3da6f0(0x2f1)]===0x0)return;let _0x5ebded=this[_0x3da6f0(0x4bb)]['getRenderUnitById'](_0x380bdf);if(!_0x5ebded)return;let {scene:_0x214a49}=_0x5ebded;for(let _0x41edcc of _0x21630f){let _0x42778b=_0x41edcc['lineShapeId'],_0x3e9131=this[_0x3da6f0(0x218)][_0x3da6f0(0x338)](_0x380bdf,_0x22430d,_0x42778b);if(!_0x3e9131)continue;let _0x3ef624=_0x3e9131[_0x3da6f0(0x42c)](),_0x491b71=_0x3e9131['getEndConnectInfo'](),_0x2e6190=(_0x3ef624==null?void 0x0:_0x3ef624[_0x3da6f0(0x2a8)])===_0x308231,_0x4c9063=(0x0,_0x2ed59f[_0x3da6f0(0x2f2)])({'unitId':_0x380bdf,'subUnitId':_0x22430d,'drawingId':_0x42778b}),_0x65d2cc=_0x214a49[_0x3da6f0(0x1e9)](_0x4c9063);if(!_0x65d2cc)continue;let _0x1669f2=this['_drawingManagerService'][_0x3da6f0(0x26d)]({'unitId':_0x380bdf,'subUnitId':_0x22430d,'drawingId':_0x42778b});_0x1669f2!=null&&_0x1669f2[_0x3da6f0(0x339)]&&(_0x3ef624&&_0x491b71?this['_rerouteConnectorLine'](_0x380bdf,_0x22430d,_0x42778b,_0x3e9131,_0x3ef624,_0x491b71,_0x65d2cc):this['_moveConnectorWithShape'](_0x380bdf,_0x22430d,_0x42778b,_0x3e9131,_0x2e6190?_0x3ef624:_0x491b71,_0x2e6190,_0x1669f2,_0x65d2cc));}}['_rerouteConnectorLine'](_0x3a70e5,_0x1cad24,_0x234ba5,_0x25e3b0,_0x26e3f1,_0x16b77f,_0x23e519){const _0x30e644=_0x2766d8;let _0x4b8971=this[_0x30e644(0x370)],_0x41060f=this[_0x30e644(0x3f6)];this[_0x30e644(0x370)]=_0x3a70e5,this['_subUnitId']=_0x1cad24;let _0x41910b=this[_0x30e644(0x5ad)](_0x26e3f1),_0x1bcf9b=this[_0x30e644(0x5ad)](_0x16b77f);if(this[_0x30e644(0x370)]=_0x4b8971,this[_0x30e644(0x3f6)]=_0x41060f,!_0x41910b||!_0x1bcf9b)return;let _0x3dd7f5=_0x25e3b0['getShapeType'](),_0x3a08a4=(0x0,_0x1f2a15['routeConnectorLineShape'])(_0x41910b,_0x1bcf9b,_0x3dd7f5);_0x3a08a4&&_0x25e3b0['updateLinePoints'](_0x3a08a4);let _0x4b7356=(0x0,_0x1f2a15[_0x30e644(0x500)])(_0x3a08a4,_0x3dd7f5);_0x4b7356[_0x30e644(0x574)]!==_0x3dd7f5&&_0x25e3b0['changeShapeType'](_0x4b7356[_0x30e644(0x574)]),_0x25e3b0[_0x30e644(0x352)]();for(let [_0x44f071,_0x38c9bd]of Object['entries'](_0x4b7356[_0x30e644(0x5d5)]))_0x25e3b0[_0x30e644(0x3ae)](_0x44f071,_0x38c9bd);_0x25e3b0['updateContext']({'width':_0x4b7356[_0x30e644(0x45c)][_0x30e644(0x49e)],'height':_0x4b7356[_0x30e644(0x45c)][_0x30e644(0x3f8)]}),_0x23e519[_0x30e644(0x3c4)]({'flipX':_0x4b7356[_0x30e644(0x45c)][_0x30e644(0x4f7)],'flipY':_0x4b7356['worldRect'][_0x30e644(0x21d)],'left':_0x4b7356['worldRect'][_0x30e644(0x204)],'top':_0x4b7356['worldRect'][_0x30e644(0x414)],'width':_0x4b7356[_0x30e644(0x45c)][_0x30e644(0x49e)],'height':_0x4b7356['worldRect']['height'],'angle':_0x4b7356[_0x30e644(0x44b)]}),_0x25e3b0['removeLinePoints']();}[_0x2766d8(0x4f9)](_0x1a526f,_0x51b483,_0x2268da,_0x1d6958,_0x523ee8,_0x5764a8,_0x97090b,_0x9c6a93){const _0x59adbf=_0x2766d8;let _0x29ec0c=this[_0x59adbf(0x370)],_0x5c0705=this[_0x59adbf(0x3f6)];this[_0x59adbf(0x370)]=_0x1a526f,this['_subUnitId']=_0x51b483;let _0xc37d12=this['_getConnectPointInfo'](_0x523ee8);if(this[_0x59adbf(0x370)]=_0x29ec0c,this[_0x59adbf(0x3f6)]=_0x5c0705,!_0xc37d12)return;let {left:_0x2a3514=0x0,top:_0x2f1629=0x0,width:_0x4e0a05=0x0,height:_0x261df5=0x0,flipX:_0x3ca4fc=!0x1,flipY:_0x5d354e=!0x1}=_0x97090b[_0x59adbf(0x339)],_0x563906=_0x1d6958[_0x59adbf(0x443)]();if(_0x563906[_0x59adbf(0x2f1)]<0x2)return;let _0x4d36de=new _0x1f2a15[(_0x59adbf(0x396))]({'left':_0x2a3514,'top':_0x2f1629,'width':_0x4e0a05,'height':_0x261df5,'flipX':_0x3ca4fc,'flipY':_0x5d354e}),_0x448fbf=_0x5764a8?_0x563906[_0x563906[_0x59adbf(0x2f1)]-0x1]:_0x563906[0x0],_0x330712=_0x4d36de['localToWorld'](_0x448fbf),_0x177b67=_0x1f2a15[_0x59adbf(0x396)][_0x59adbf(0x40d)](_0x330712,_0xc37d12[_0x59adbf(0x515)],!_0x5764a8);_0x9c6a93[_0x59adbf(0x3c4)]({'flipX':_0x177b67['worldRect'][_0x59adbf(0x4f7)],'flipY':_0x177b67['worldRect'][_0x59adbf(0x21d)],'left':_0x177b67[_0x59adbf(0x45c)][_0x59adbf(0x204)],'top':_0x177b67['worldRect']['top'],'width':_0x177b67[_0x59adbf(0x45c)][_0x59adbf(0x49e)],'height':_0x177b67['worldRect'][_0x59adbf(0x3f8)],'angle':_0x177b67[_0x59adbf(0x45c)][_0x59adbf(0x55b)]}),_0x9c6a93[_0x59adbf(0x3b2)](!0x0);}[_0x2766d8(0x38a)](){const _0x4ac538=_0x2766d8;this[_0x4ac538(0x303)][_0x4ac538(0x2f1)]!==0x0&&(this[_0x4ac538(0x303)][_0x4ac538(0x528)](_0x2864e2=>{_0x2864e2['dispose']();}),this[_0x4ac538(0x303)]=[]);}[_0x2766d8(0x2a5)](){const _0x3c7194=_0x2766d8;let _0x155e04=this['_univerInstanceService'][_0x3c7194(0x3e9)](_0x35d996['UniverInstanceType']['UNIVER_SHEET']);this[_0x3c7194(0x271)](_0x155e04['pipe']((0x0,_0x4737d9[_0x3c7194(0x3cb)])(_0x57253c=>_0x57253c?_0x57253c[_0x3c7194(0x435)][_0x3c7194(0x21c)]((0x0,_0x4737d9[_0x3c7194(0x3cb)])(_0x277be4=>{const _0x77670d=_0x3c7194;if(!_0x277be4)return _0x4737d9[_0x77670d(0x486)];let _0x4fe655=_0x57253c['getUnitId'](),_0x585a78=this['_renderManagerService']['getRenderUnitById'](_0x4fe655),_0x25d9bf=_0x585a78==null?void 0x0:_0x585a78[_0x77670d(0x394)];return _0x25d9bf?(0x0,_0x4737d9['of'])(_0x25d9bf):_0x4737d9[_0x77670d(0x486)];})):_0x4737d9[_0x3c7194(0x486)]))['subscribe'](_0x4bc0af=>{const _0x46bc92=_0x3c7194;let _0xe85376=_0x4bc0af[_0x46bc92(0x40c)]();this['disposeWithMe'](_0x4bc0af[_0x46bc92(0x5dc)][_0x46bc92(0x1dd)](_0x58fbde=>{const _0x2ec065=_0x46bc92;this[_0x2ec065(0x5e3)]&&this[_0x2ec065(0x2bb)]&&this[_0x2ec065(0x38a)]();})),this[_0x46bc92(0x271)](_0xe85376[_0x46bc92(0x330)][_0x46bc92(0x56a)](_0x1700c5=>{const _0x1da821=_0x46bc92;let {objects:_0x3c668a}=_0x1700c5;this[_0x1da821(0x38a)](),_0x3c668a!==null&&_0x3c668a[_0x1da821(0x22b)]===0x1&&_0x3c668a[_0x1da821(0x3bf)]()['next']()[_0x1da821(0x58f)]instanceof _0x423ac6&&(this[_0x1da821(0x5e3)]=!0x0);})),this[_0x46bc92(0x271)](_0xe85376['changing$'][_0x46bc92(0x56a)](_0x32dd1d=>{const _0x587661=_0x46bc92;this[_0x587661(0x5e3)]&&this[_0x587661(0x38a)]();})),this[_0x46bc92(0x271)](_0x4bc0af['onPointerUp$']['subscribeEvent'](()=>{const _0x191d1d=_0x46bc92;this[_0x191d1d(0x5e3)]&&(this['_isDrawingShapePointDown']=!0x1,this[_0x191d1d(0x514)]());})),this[_0x46bc92(0x271)](_0xe85376['changeEnd$'][_0x46bc92(0x56a)](()=>{const _0x4b511e=_0x46bc92;this['_unitId']&&this[_0x4b511e(0x3f6)]&&this[_0x4b511e(0x2bb)]&&this[_0x4b511e(0x482)][_0x4b511e(0x26d)]({'unitId':this[_0x4b511e(0x370)],'subUnitId':this[_0x4b511e(0x3f6)],'drawingId':this[_0x4b511e(0x2bb)]})&&(this['_clearShapeConnectorHandlerObjects'](),this[_0x4b511e(0x514)]());}));}));}[_0x2766d8(0x425)](){const _0x41cbbe=_0x2766d8;this[_0x41cbbe(0x271)](this[_0x41cbbe(0x482)][_0x41cbbe(0x2a3)][_0x41cbbe(0x56a)](_0x5ea9a3=>{const _0x4820aa=_0x41cbbe;if(_0x5ea9a3[_0x4820aa(0x2f1)]===0x1){let _0x3aaa7f=_0x5ea9a3[0x0];if(_0x3aaa7f[_0x4820aa(0x313)]===_0x35d996['DrawingTypeEnum'][_0x4820aa(0x4ba)]){let _0x443df1=this[_0x4820aa(0x218)]['getShapeModel'](_0x3aaa7f['unitId'],_0x3aaa7f[_0x4820aa(0x35e)],_0x3aaa7f['drawingId']);if(_0x443df1&&(0x0,_0x1f2a15[_0x4820aa(0x493)])(_0x443df1['getShapeType']())){this[_0x4820aa(0x2bb)]=_0x3aaa7f['drawingId'],this[_0x4820aa(0x370)]=_0x3aaa7f['unitId'],this[_0x4820aa(0x3f6)]=_0x3aaa7f['subUnitId'],this[_0x4820aa(0x38a)](),this[_0x4820aa(0x514)]();return;}}}this[_0x4820aa(0x2bb)]=void 0x0,this[_0x4820aa(0x370)]=void 0x0,this[_0x4820aa(0x3f6)]=void 0x0,this['_clearShapeConnectorHandlerObjects']();})),this[_0x41cbbe(0x271)](this[_0x41cbbe(0x482)][_0x41cbbe(0x59c)]['subscribe'](_0x4e40f1=>{const _0x337e7a=_0x41cbbe;if(_0x4e40f1['length']===0x1){var _0x18f26d;let _0x449359=_0x4e40f1[0x0],_0x46f395=(_0x18f26d=this['_drawingManagerService'][_0x337e7a(0x26d)](_0x449359))==null?void 0x0:_0x18f26d[_0x337e7a(0x313)];_0x46f395===_0x35d996[_0x337e7a(0x44f)]['DRAWING_SHAPE']&&_0x449359[_0x337e7a(0x314)]===this[_0x337e7a(0x2bb)]?(this[_0x337e7a(0x38a)](),this[_0x337e7a(0x514)]()):!this['_activeShapeId']&&_0x46f395===_0x35d996[_0x337e7a(0x44f)][_0x337e7a(0x4ba)]&&this[_0x337e7a(0x293)](_0x449359[_0x337e7a(0x280)],_0x449359[_0x337e7a(0x35e)],_0x449359[_0x337e7a(0x314)]);}})),this[_0x41cbbe(0x271)](this['_drawingManagerService'][_0x41cbbe(0x210)][_0x41cbbe(0x56a)](_0x2bafdf=>{const _0x1dcdd5=_0x41cbbe;for(let _0x1b2e64 of _0x2bafdf){let {drawingId:_0x507f02}=_0x1b2e64;if(this[_0x1dcdd5(0x2bb)]===_0x507f02){this[_0x1dcdd5(0x311)]();return;}}}));}[_0x2766d8(0x436)](_0x204748,_0x287d57,_0x5f0c02,_0x275be3,_0x1e2cf9){const _0x2fae04=_0x2766d8;var _0x7ee58a;if(!this[_0x2fae04(0x5a7)])return;let _0x5562e4=this[_0x2fae04(0x5ad)](_0x204748);if(!_0x5562e4)return;let _0x331514=this[_0x2fae04(0x390)]?this[_0x2fae04(0x390)][_0x2fae04(0x591)]:_0x287d57,_0x5aae92=this[_0x2fae04(0x390)]?this[_0x2fae04(0x390)][_0x2fae04(0x55b)]:this[_0x2fae04(0x4d3)](_0x5562e4[_0x2fae04(0x515)],_0x331514),_0x1fa186;if(this['_currentConnectionTarget']){let _0x1ae156=this[_0x2fae04(0x482)][_0x2fae04(0x26d)]({'unitId':this[_0x2fae04(0x390)][_0x2fae04(0x280)],'subUnitId':this[_0x2fae04(0x390)][_0x2fae04(0x35e)],'drawingId':this[_0x2fae04(0x390)][_0x2fae04(0x2a8)]});if(_0x1ae156!=null&&_0x1ae156[_0x2fae04(0x339)]){let {left:_0x174acd=0x0,top:_0x11f4e2=0x0,width:_0x2cf79b=0x0,height:_0x535f72=0x0,angle:_0x389dce}=_0x1ae156[_0x2fae04(0x339)];_0x1fa186=(0x0,_0x1f2a15[_0x2fae04(0x525)])({'left':_0x174acd,'top':_0x11f4e2,'width':_0x2cf79b,'height':_0x535f72},_0x389dce||0x0);}else _0x1fa186={'left':_0x331514['x'],'top':_0x331514['y'],'width':0x0,'height':0x0};}else _0x1fa186={'left':_0x331514['x'],'top':_0x331514['y'],'width':0x0,'height':0x0};let _0x1fafb1={'point':_0x331514,'angle':_0x5aae92,'bounds':_0x1fa186},_0x2535fb=_0x5f0c02?_0x1fafb1:_0x5562e4,_0x2eca87=_0x5f0c02?_0x5562e4:_0x1fafb1,_0x2ddab6=this['_activeShapeModel'][_0x2fae04(0x200)](),_0x108aec=(0x0,_0x1f2a15[_0x2fae04(0x449)])(_0x2535fb,_0x2eca87,_0x2ddab6);_0x108aec&&this[_0x2fae04(0x5a7)][_0x2fae04(0x1d9)](_0x108aec);let _0x12f6e0=(0x0,_0x1f2a15[_0x2fae04(0x500)])(_0x108aec,_0x2ddab6);_0x12f6e0[_0x2fae04(0x574)]!==_0x2ddab6&&this[_0x2fae04(0x5a7)]['changeShapeType'](_0x12f6e0[_0x2fae04(0x574)]);for(let [_0x3585c9,_0x169a11]of Object['entries'](_0x12f6e0[_0x2fae04(0x5d5)]))this[_0x2fae04(0x5a7)]['setAdjustValueByName'](_0x3585c9,_0x169a11);this['_activeShapeModel'][_0x2fae04(0x240)]({'width':_0x12f6e0[_0x2fae04(0x45c)][_0x2fae04(0x49e)],'height':_0x12f6e0[_0x2fae04(0x45c)][_0x2fae04(0x3f8)]}),_0x275be3['transformByState']({'flipX':_0x12f6e0[_0x2fae04(0x45c)][_0x2fae04(0x4f7)],'flipY':_0x12f6e0[_0x2fae04(0x45c)][_0x2fae04(0x21d)],'left':_0x12f6e0[_0x2fae04(0x45c)][_0x2fae04(0x204)],'top':_0x12f6e0[_0x2fae04(0x45c)][_0x2fae04(0x414)],'width':_0x12f6e0['worldRect'][_0x2fae04(0x49e)],'height':_0x12f6e0[_0x2fae04(0x45c)]['height'],'angle':_0x12f6e0['rotation']}),_0x275be3[_0x2fae04(0x3b2)](!0x0);let _0x43ee6e=((_0x7ee58a=this['_currentConnectionTarget'])==null?void 0x0:_0x7ee58a[_0x2fae04(0x591)])??_0x287d57;_0x1e2cf9[_0x2fae04(0x3c4)]({'left':_0x43ee6e['x']-_0x1f2a15[_0x2fae04(0x540)][_0x2fae04(0x307)],'top':_0x43ee6e['y']-_0x1f2a15[_0x2fae04(0x540)][_0x2fae04(0x307)]});}[_0x2766d8(0x5e0)](_0x5db258,_0x51e024,_0x2c968b,_0x2332e9,_0x3c815c){const _0x160db4=_0x2766d8;var _0x11c237,_0x58461b;let _0xe34348=((_0x11c237=this[_0x160db4(0x390)])==null?void 0x0:_0x11c237[_0x160db4(0x591)])??_0x5db258,_0x3c6c01=_0x1f2a15[_0x160db4(0x396)]['computeConnectorResizeLayout'](_0x51e024,_0xe34348,_0x2c968b);_0x2332e9[_0x160db4(0x3c4)]({'flipX':_0x3c6c01[_0x160db4(0x45c)][_0x160db4(0x4f7)],'flipY':_0x3c6c01[_0x160db4(0x45c)][_0x160db4(0x21d)],'left':_0x3c6c01[_0x160db4(0x45c)]['left'],'top':_0x3c6c01[_0x160db4(0x45c)][_0x160db4(0x414)],'width':_0x3c6c01['worldRect'][_0x160db4(0x49e)],'height':_0x3c6c01[_0x160db4(0x45c)]['height'],'angle':_0x3c6c01[_0x160db4(0x45c)][_0x160db4(0x55b)]});let _0x4174e8=((_0x58461b=this[_0x160db4(0x390)])==null?void 0x0:_0x58461b[_0x160db4(0x591)])??_0x5db258;_0x3c815c[_0x160db4(0x3c4)]({'left':_0x4174e8['x']-_0x1f2a15[_0x160db4(0x540)][_0x160db4(0x307)],'top':_0x4174e8['y']-_0x1f2a15[_0x160db4(0x540)][_0x160db4(0x307)]});}[_0x2766d8(0x5ad)](_0x6c9c16){const _0x351b20=_0x2766d8;if(!this[_0x351b20(0x370)]||!this[_0x351b20(0x3f6)])return null;let {shapeId:_0x511541,cxnIndex:_0x4c47ee}=_0x6c9c16,_0x1049f4=this[_0x351b20(0x218)][_0x351b20(0x338)](this[_0x351b20(0x370)],this['_subUnitId'],_0x511541);if(!_0x1049f4)return null;let _0x654cfd=this[_0x351b20(0x482)][_0x351b20(0x26d)]({'unitId':this[_0x351b20(0x370)],'subUnitId':this[_0x351b20(0x3f6)],'drawingId':_0x511541});if(!(_0x654cfd!=null&&_0x654cfd[_0x351b20(0x339)]))return null;let {left:_0xe1bdd0=0x0,top:_0x65bb9a=0x0,width:_0x45a314=0x0,height:_0x31eb35=0x0,flipX:_0x59436b=!0x1,flipY:_0x267cc2=!0x1,angle:_0x160f89}=_0x654cfd[_0x351b20(0x339)];_0x1049f4[_0x351b20(0x240)]({'width':_0x45a314,'height':_0x31eb35});let _0x2b4562=_0x1049f4[_0x351b20(0x31f)]()[_0x351b20(0x584)](_0x91f3d4=>_0x91f3d4['index']===_0x4c47ee);if(!_0x2b4562)return null;let _0x55cd5c=_0x59436b?_0x45a314-_0x2b4562['x']:_0x2b4562['x'],_0x2141f5=_0x267cc2?_0x31eb35-_0x2b4562['y']:_0x2b4562['y'];if(_0x160f89!==0x0&&_0x160f89!=null){let _0x1f2d0f=_0x160f89*Math['PI']/0xb4,_0x3f0807=Math[_0x351b20(0x448)](_0x1f2d0f),_0x24c90f=Math['sin'](_0x1f2d0f),_0x5eeb6e=_0x45a314/0x2,_0x40cef4=_0x31eb35/0x2,_0x3b940a=_0x55cd5c-_0x5eeb6e,_0x166098=_0x2141f5-_0x40cef4;_0x55cd5c=_0x5eeb6e+_0x3b940a*_0x3f0807-_0x166098*_0x24c90f,_0x2141f5=_0x40cef4+_0x3b940a*_0x24c90f+_0x166098*_0x3f0807;}_0x55cd5c+=_0xe1bdd0,_0x2141f5+=_0x65bb9a;let _0x1f720a=_0x2b4562['ang']/0xea60;_0x59436b&&(_0x1f720a=0xb4-_0x1f720a),_0x267cc2&&(_0x1f720a=-_0x1f720a),_0x1f720a+=_0x160f89||0x0,_0x1f720a=(_0x1f720a%0x168+0x168)%0x168;let _0x5193c4=(0x0,_0x1f2a15[_0x351b20(0x525)])({'left':_0xe1bdd0,'top':_0x65bb9a,'width':_0x45a314,'height':_0x31eb35},_0x160f89||0x0);return{'point':{'x':_0x55cd5c,'y':_0x2141f5},'angle':_0x1f720a,'bounds':_0x5193c4};}[_0x2766d8(0x4d3)](_0x2755a8,_0x249bb8){const _0x45081b=_0x2766d8;let _0x595dc6=_0x249bb8['x']-_0x2755a8['x'],_0x17f2a6=_0x249bb8['y']-_0x2755a8['y'];return Math[_0x45081b(0x2c6)](_0x595dc6)>=Math[_0x45081b(0x2c6)](_0x17f2a6)?_0x595dc6>=0x0?0xb4:0x0:_0x17f2a6>=0x0?0x10e:0x5a;}[_0x2766d8(0x311)](){const _0x4efa6c=_0x2766d8;this['_activeShapeId']=void 0x0,this[_0x4efa6c(0x370)]=void 0x0,this[_0x4efa6c(0x3f6)]=void 0x0,this[_0x4efa6c(0x38a)]();}[_0x2766d8(0x2a4)](){const _0x1feaa2=_0x2766d8;this[_0x1feaa2(0x38a)](),super[_0x1feaa2(0x2a4)]();}};_0x243495=_0x39c461([_0x400e7c(0x1,_0x35d996[_0x2766d8(0x3c6)]),_0x400e7c(0x2,_0x580d8a[_0x2766d8(0x266)]),_0x400e7c(0x3,_0x2ed59f['IDrawingManagerService']),_0x400e7c(0x4,_0x35d996[_0x2766d8(0x403)]),_0x400e7c(0x5,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x565640[_0x2766d8(0x248)])),_0x400e7c(0x6,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x36f6fd)),_0x400e7c(0x7,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x517ad0))],_0x243495);let _0x1ffec1=class extends _0x35d996[_0x2766d8(0x491)]{constructor(_0x53e638,_0x53e61b,_0x1494f3){const _0x1b6018=_0x2766d8;super(),this[_0x1b6018(0x429)]=_0x53e638,this[_0x1b6018(0x482)]=_0x53e61b,this['_shapeRenderController']=_0x1494f3,this['_initPrinting']();}[_0x2766d8(0x326)](){const _0x580397=_0x2766d8;this[_0x580397(0x271)](this[_0x580397(0x429)][_0x580397(0x41a)]['intercept'](this[_0x580397(0x429)]['interceptor']['getInterceptPoints']()['PRINTING_COMPONENT_COLLECT'],{'handler':(_0x138022,_0x1d1c88,_0x1449ca)=>{const _0xf7e19a=_0x580397;var _0x501a27;let {unitId:_0x10a75e,subUnitId:_0x305c5f,scene:_0x32225c,resourceCollector:_0x48d445}=_0x1d1c88,_0x474f8c=(_0x501a27=this[_0xf7e19a(0x482)][_0xf7e19a(0x1f8)](_0x10a75e))==null?void 0x0:_0x501a27[_0x305c5f];return _0x474f8c==null||_0x474f8c['order'][_0xf7e19a(0x528)](_0x497f3d=>{const _0x55f9f8=_0xf7e19a;let _0x40d77c=_0x474f8c[_0x55f9f8(0x3ee)][_0x497f3d];_0x40d77c[_0x55f9f8(0x313)]===_0x35d996['DrawingTypeEnum'][_0x55f9f8(0x4ba)]&&!_0x40d77c[_0x55f9f8(0x263)]&&this['_shapeRenderController'][_0x55f9f8(0x34a)](_0x40d77c,_0x32225c,{'resourceCollector':_0x48d445});}),_0x1449ca(_0x138022);}}));}};_0x1ffec1=_0x39c461([_0x400e7c(0x0,(0x0,_0x35d996['Inject'])(_0x590c15[_0x2766d8(0x49d)])),_0x400e7c(0x1,_0x2ed59f['IDrawingManagerService']),_0x400e7c(0x2,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x319285))],_0x1ffec1);let _0x126f61=class extends _0x35d996[_0x2766d8(0x491)]{constructor(_0x182302,_0x5b2459,_0x427424,_0x166b51){const _0x359da9=_0x2766d8;super(),this[_0x359da9(0x54f)]=_0x182302,this[_0x359da9(0x251)]=_0x5b2459,this[_0x359da9(0x2d4)]=_0x427424,this[_0x359da9(0x2f9)]=_0x166b51,this[_0x359da9(0x320)]();}[_0x2766d8(0x320)](){const _0x6b3bec=_0x2766d8;let _0x5d3eac=new Set([_0x33bf3b['id'],_0x565640[_0x6b3bec(0x5d8)]['id'],_0x565640[_0x6b3bec(0x1ee)]['id'],_0x565640[_0x6b3bec(0x47b)]['id'],_0x565640['UpdateLineShapeResizeCommand']['id']]);this[_0x6b3bec(0x271)](this[_0x6b3bec(0x54f)][_0x6b3bec(0x20e)](_0xadae73=>{const _0x3e5517=_0x6b3bec;let _0x81b8b2,_0xa56bce;if(_0xadae73['id']===_0x565640[_0x3e5517(0x242)]['id']||_0xadae73['id']===_0x565640[_0x3e5517(0x44c)]['id']||_0xadae73['id']===_0x565640[_0x3e5517(0x50b)]['id']){let _0xb40ecd=_0xadae73[_0x3e5517(0x1db)];_0x81b8b2=_0xb40ecd[_0x3e5517(0x280)],_0xa56bce=_0xb40ecd[_0x3e5517(0x35e)];}else{if(_0x5d3eac[_0x3e5517(0x51e)](_0xadae73['id'])){let _0x432179=(0x0,_0x2a684c[_0x3e5517(0x231)])(this['_univerInstanceService'],_0xadae73[_0x3e5517(0x1db)]);if((_0x432179==null?void 0x0:_0x432179[_0x3e5517(0x4ec)][_0x3e5517(0x5cf)]()['type'])!==_0x35d996['SheetTypes'][_0x3e5517(0x367)])return;_0x81b8b2=_0x432179[_0x3e5517(0x280)],_0xa56bce=_0x432179[_0x3e5517(0x35e)];}}_0x81b8b2&&_0xa56bce&&(this['_sheetPermissionCheckController'][_0x3e5517(0x5b6)]({'workbookTypes':[_0x2a684c[_0x3e5517(0x4c0)]],'worksheetTypes':[_0x2a684c['WorksheetEditPermission']]},_0x81b8b2,_0xa56bce)||this['_sheetPermissionCheckController'][_0x3e5517(0x58e)](this[_0x3e5517(0x2d4)]['t']('sheets-shape-ui.permission.editErr')));}));}};_0x126f61=_0x39c461([_0x400e7c(0x0,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x35d996[_0x2766d8(0x3c6)])),_0x400e7c(0x1,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x35d996[_0x2766d8(0x403)])),_0x400e7c(0x2,(0x0,_0x35d996['Inject'])(_0x35d996[_0x2766d8(0x5d0)])),_0x400e7c(0x3,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x2a684c[_0x2766d8(0x518)]))],_0x126f61);let _0x9476a3=class{constructor(_0x4a8cf4){const _0x323030=_0x2766d8;this[_0x323030(0x4bb)]=_0x4a8cf4;}[_0x2766d8(0x36f)](_0x573ee6,_0x27c233){const _0x31606a=_0x2766d8;let _0x5e1010=this['_renderManagerService'][_0x31606a(0x4ee)](_0x573ee6['unitId']),_0x191b2b=_0x5e1010==null?void 0x0:_0x5e1010['scene'];if(!_0x191b2b)return;let _0x4f8237=(0x0,_0x2ed59f['getDrawingShapeKeyByDrawingSearch'])(_0x573ee6),_0xc14347=_0x191b2b[_0x31606a(0x1e9)](_0x4f8237);_0xc14347==null||_0xc14347[_0x31606a(0x23c)](_0x27c233);}};_0x9476a3=_0x39c461([_0x400e7c(0x0,_0x580d8a[_0x2766d8(0x266)])],_0x9476a3);let _0x318337=class extends _0x35d996[_0x2766d8(0x39f)]{constructor(_0x4b5f98=_0x5a65ec,_0x509ca4,_0x5d0259,_0xf27987,_0x3583ff){const _0x2ccb18=_0x2766d8;super(),this['_config']=_0x4b5f98,this[_0x2ccb18(0x451)]=_0x509ca4,this[_0x2ccb18(0x54f)]=_0x5d0259,this[_0x2ccb18(0x285)]=_0xf27987,this[_0x2ccb18(0x4bb)]=_0x3583ff;let {..._0x5adada}=(0x0,_0x35d996[_0x2ccb18(0x30b)])({},_0x5a65ec,this['_config']);this[_0x2ccb18(0x285)]['setConfig'](_0xedbf59,_0x5adada),this[_0x2ccb18(0x28e)]();}['onStarting'](){const _0x20fc1e=_0x2766d8;this[_0x20fc1e(0x451)]['add']([_0x46a7ae]),this[_0x20fc1e(0x451)]['get'](_0x46a7ae),(0x0,_0x35d996['registerDependencies'])(this[_0x20fc1e(0x451)],[[_0x224297],[_0xc945f6],[_0x319285],[_0x1ffec1],[_0x9476a3],[_0x4a54d8],[_0x563547],[_0x538cf9],[_0x126f61]]);}[_0x2766d8(0x219)](){const _0x41ff6f=_0x2766d8;(0x0,_0x35d996[_0x41ff6f(0x59f)])(this[_0x41ff6f(0x451)],[[_0x517ad0],[_0x36f6fd],[_0x3d86f3]]),(0x0,_0x35d996[_0x41ff6f(0x51a)])(this['_injector'],[[_0x3d86f3],[_0x36f6fd]]),[[_0x517ad0],[_0x22d196],[_0x243495],[_0x187142]][_0x41ff6f(0x528)](_0x1485bb=>{const _0x247a73=_0x41ff6f;this['disposeWithMe'](this[_0x247a73(0x4bb)]['registerRenderModule'](_0x35d996[_0x247a73(0x31d)][_0x247a73(0x3de)],_0x1485bb));});}[_0x2766d8(0x526)](){const _0x454af9=_0x2766d8;(0x0,_0x35d996[_0x454af9(0x51a)])(this[_0x454af9(0x451)],[[_0x224297],[_0xc945f6],[_0x319285],[_0x1ffec1],[_0x9476a3],[_0x4a54d8],[_0x563547],[_0x538cf9],[_0x126f61]]);}[_0x2766d8(0x560)](){const _0x4f93d8=_0x2766d8;this[_0x4f93d8(0x451)][_0x4f93d8(0x340)](_0x224297)[_0x4f93d8(0x34f)]();}[_0x2766d8(0x28e)](){[_0x3a6254,_0x33bf3b,_0x482521,_0x279e80]['forEach'](_0x582095=>this['disposeWithMe'](this['_commandService']['registerCommand'](_0x582095)));}};_0x2a4a7a(_0x318337,'type',_0x35d996[_0x2766d8(0x31d)][_0x2766d8(0x3de)]),_0x2a4a7a(_0x318337,_0x2766d8(0x4be),_0x2766d8(0x26a)),_0x2a4a7a(_0x318337,_0x2766d8(0x4db),_0x5bde27),_0x2a4a7a(_0x318337,_0x2766d8(0x4da),_0x48a452),_0x318337=_0x39c461([(0x0,_0x35d996['DependentOn'])(_0x64ee3d[_0x2766d8(0x323)],_0x156373['UniverDocsPlugin'],_0x2ed59f[_0x2766d8(0x3b5)],_0x580d8a['UniverRenderEnginePlugin'],_0x2a684c[_0x2766d8(0x3d4)],_0x3a1af6['UniverDocsUIPlugin'],_0x47830d[_0x2766d8(0x310)],_0x1ad5b7['UniverShapeEditorPlugin'],_0x353806[_0x2766d8(0x29a)],_0x565640[_0x2766d8(0x2e6)],_0x590c15[_0x2766d8(0x555)],_0x197fcc['UniverShapeEditorMobileUIPlugin'],_0x23e778['UniverMobileUIPlugin']),_0x400e7c(0x1,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x35d996[_0x2766d8(0x4c2)])),_0x400e7c(0x2,_0x35d996[_0x2766d8(0x3c6)]),_0x400e7c(0x3,_0x35d996[_0x2766d8(0x51d)]),_0x400e7c(0x4,_0x580d8a[_0x2766d8(0x266)])],_0x318337);let _0x13ccc7={'type':_0x35d996[_0x2766d8(0x309)][_0x2766d8(0x225)],'id':_0x2766d8(0x381),'handler'(){return!0x0;}};function _0x2b8071(){const _0x301cce=_0x2766d8;let _0x12f905=(0x0,_0x23e778[_0x301cce(0x4e0)])(_0x2ed59f[_0x301cce(0x554)]),_0x272074=(0x0,_0x23e778[_0x301cce(0x4c4)])(()=>_0x12f905[_0x301cce(0x2a3)],_0x12f905[_0x301cce(0x5bb)](),!0x1,[_0x12f905]);return _0x272074[_0x301cce(0x2f1)]===0x0?null:(0x0,_0x121104[_0x301cce(0x4f2)])(_0x301cce(0x3b3),{'children':(0x0,_0x121104[_0x301cce(0x34b)])(_0x301cce(0x3b3),{'className':_0x301cce(0x422),'children':[(0x0,_0x121104[_0x301cce(0x4f2)])(_0x2c4f7e[_0x301cce(0x363)],{'drawings':_0x272074,'hasCropper':!0x1}),(0x0,_0x121104[_0x301cce(0x4f2)])(_0x353806['SheetDrawingAnchor'],{'drawings':_0x272074})]})});}function _0x2460bd(_0x147a8d){const _0xd661bb=_0x2766d8;let {unitId:_0x13d4a1,subUnitId:_0x201273,shapeId:_0x46ba43}=_0x147a8d,_0x18b66d=(0x0,_0x23e778[_0xd661bb(0x4e0)])(_0x35d996[_0xd661bb(0x3c6)]),_0x4f6e4d=(0x0,_0x23e778[_0xd661bb(0x4e0)])(_0x9476a3);return(0x0,_0x121104[_0xd661bb(0x4f2)])(_0x197fcc[_0xd661bb(0x253)],{..._0x147a8d,'positionEditor':(0x0,_0x121104['jsx'])(_0x2b8071,{}),'onUpdateShapeData':(_0x1951ff,_0x2cf7a7)=>{_0x5b243b(_0x18b66d,_0x13d4a1,_0x201273,_0x46ba43,_0x1951ff,_0x2cf7a7);},'onUpdateLineShapeData':(_0x3472d6,_0x29bcbb)=>{_0x1d5713(_0x18b66d,_0x13d4a1,_0x201273,_0x46ba43,_0x3472d6,_0x29bcbb);},'onUpdateShapeFillImage':_0x3cf04e=>{const _0x4e6b70=_0xd661bb;_0x4f6e4d[_0x4e6b70(0x36f)]({'unitId':_0x13d4a1,'subUnitId':_0x201273,'drawingId':_0x46ba43},_0x3cf04e);}});}function _0x193f73(_0x3da6ec){const _0x617bc5=_0x2766d8;let _0x37e457=(0x0,_0x23e778[_0x617bc5(0x4e0)])(_0x197fcc[_0x617bc5(0x2d1)]),_0x11328b=(0x0,_0x23e778[_0x617bc5(0x4c4)])(()=>_0x37e457[_0x617bc5(0x30e)],_0x37e457[_0x617bc5(0x56f)](),!0x1,[_0x37e457]),_0x348034=_0x3da6ec[_0x617bc5(0x32b)]['extraProps'];return!_0x348034||!_0x11328b?null:(0x0,_0x121104[_0x617bc5(0x4f2)])(_0x3ee576,{..._0x348034,'canvasElement':_0x3da6ec[_0x617bc5(0x32b)][_0x617bc5(0x4d0)]});}function _0x3ee576(_0x47dfb1){const _0x7797cf=_0x2766d8;let _0x3374ec=(0x0,_0x23e778['useDependency'])(_0x35d996[_0x7797cf(0x3c6)]),_0x4421a5=(0x0,_0x23e778[_0x7797cf(0x4e0)])(_0x565640[_0x7797cf(0x248)]),{unitId:_0x4f078b,subUnitId:_0x23e8c2,drawingId:_0x519865,drawingType:_0x5a4830,shapeType:_0x2f7213}=_0x47dfb1,[_0x4c55e8,_0x2f22f7]=(0x0,_0x3d354c[_0x7797cf(0x397)])(_0x47dfb1[_0x7797cf(0x23b)]),_0x2a22ab=(0x0,_0x3d354c[_0x7797cf(0x21e)])(()=>(0x0,_0x197fcc[_0x7797cf(0x22d)])(_0x4c55e8),[_0x4c55e8]),_0x232752=(0x0,_0x3d354c[_0x7797cf(0x21e)])(()=>(0x0,_0x197fcc[_0x7797cf(0x1ec)])(_0x4c55e8),[_0x4c55e8]);(0x0,_0x3d354c[_0x7797cf(0x4fc)])(()=>{const _0x4e8092=_0x7797cf;let _0x6ee3ca=_0x3374ec[_0x4e8092(0x3f5)](_0x5e31a5=>{const _0x47092f=_0x4e8092;if(_0x5e31a5['id']!==_0x565640['UpdateSheetsShapeDataMutation']['id'])return;let _0x1fe561=_0x4421a5[_0x47092f(0x3ec)](_0x4f078b,_0x23e8c2,_0x519865);_0x1fe561&&_0x2f22f7(_0x1fe561);});return()=>_0x6ee3ca[_0x4e8092(0x2a4)]();},[_0x3374ec,_0x519865,_0x4421a5,_0x23e8c2,_0x4f078b]);let _0x2a289d=_0x135f0c=>{_0x2f22f7(_0x4642f1=>({..._0x4642f1,..._0x135f0c}));},_0x43d189=_0x1a1015=>{const _0x5a7b6=_0x7797cf;let _0x384dec=(0x0,_0x197fcc[_0x5a7b6(0x485)])(_0x4c55e8,_0x1a1015);_0x5b243b(_0x3374ec,_0x4f078b,_0x23e8c2,_0x519865,{'oldShapeData':{'shapeText':_0x4c55e8['shapeText']}},_0x384dec),_0x2a289d(_0x384dec);},_0x147a11=(0x0,_0x197fcc[_0x7797cf(0x3d3)])({'hostType':_0x35d996[_0x7797cf(0x31d)][_0x7797cf(0x3de)],'unitId':_0x4f078b,'subUnitId':_0x23e8c2,'shapeId':_0x519865,'shapeData':_0x4c55e8,'onUpdateBinding':_0x534754=>{const _0x1caf00=_0x7797cf;let _0x53cf4c={'formulaBinding':_0x534754};_0x5b243b(_0x3374ec,_0x4f078b,_0x23e8c2,_0x519865,{'oldShapeData':{'formulaBinding':_0x4c55e8[_0x1caf00(0x405)]}},_0x53cf4c),_0x2a289d(_0x53cf4c);}});return(0x0,_0x121104[_0x7797cf(0x34b)])(_0x121104['Fragment'],{'children':[(0x0,_0x121104[_0x7797cf(0x4f2)])(_0x197fcc[_0x7797cf(0x3c1)],{'canvasElement':_0x47dfb1['canvasElement'],'shapeData':_0x4c55e8,'shapeType':_0x2f7213,'textStyle':{'ff':_0x1f2a15[_0x7797cf(0x540)][_0x7797cf(0x3c0)]['fontFamily'],'fs':_0x1f2a15[_0x7797cf(0x540)][_0x7797cf(0x3c0)][_0x7797cf(0x2da)],'cl':{'rgb':_0x1f2a15[_0x7797cf(0x540)][_0x7797cf(0x3c0)][_0x7797cf(0x4cb)]},..._0x2a22ab},'textModel':_0x232752?{'ha':_0x232752['ha']??_0x35d996['HorizontalAlign'][_0x7797cf(0x5a2)],'va':_0x232752['va']??_0x35d996[_0x7797cf(0x504)][_0x7797cf(0x464)]}:null,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x1f2a15[_0x7797cf(0x540)][_0x7797cf(0x5ed)],'defaultGradientEndColor':_0x1f2a15['ShapeDefaultConfig'][_0x7797cf(0x453)],'defaultStrokeColor':_0x1f2a15['ShapeDefaultConfig'][_0x7797cf(0x3b4)],'extensionGroups':_0x147a11[_0x7797cf(0x388)],'floatingObjectToolbarPosition':_0x23e778[_0x7797cf(0x50d)][_0x7797cf(0x3f2)],'onUpdateShapeData':(_0x14a64c,_0x21e629)=>{_0x5b243b(_0x3374ec,_0x4f078b,_0x23e8c2,_0x519865,_0x14a64c,_0x21e629),_0x21e629&&_0x2a289d(_0x21e629);},'onUpdateText':_0x43d189,'onOpenPanel':()=>{const _0x39b1df=_0x7797cf;_0x3374ec[_0x39b1df(0x3d1)](_0x236e1f['id'],{'unitId':_0x4f078b,'subUnitId':_0x23e8c2,'drawingId':_0x519865});},'onDelete':()=>{_0x3374ec['executeCommand'](_0x47830d['RemoveSheetDrawingCommand']['id'],{'unitId':_0x4f078b,'drawings':[{'unitId':_0x4f078b,'subUnitId':_0x23e8c2,'drawingId':_0x519865,'drawingType':_0x5a4830}]});}}),_0x147a11[_0x7797cf(0x37a)]]});}function _0x1ecf10(_0x442a04){const _0x435cd9=_0x2766d8;return!!_0x442a04&&_0x435cd9(0x4d5)in _0x442a04&&_0x435cd9(0x45f)in _0x442a04;}let _0x7f7270=(0x0,_0x3d354c[_0x2766d8(0x4eb)])(()=>{const _0x15e7a1=_0x2766d8;let _0x41b128=(0x0,_0x23e778[_0x15e7a1(0x4e0)])(_0x4a54d8),_0x40c601=(0x0,_0x23e778[_0x15e7a1(0x4e0)])(_0x565640[_0x15e7a1(0x248)]),_0x3df27e=(0x0,_0x23e778[_0x15e7a1(0x4e0)])(_0x2ed59f[_0x15e7a1(0x554)]),_0x4ae617=(0x0,_0x23e778['useDependency'])(_0x35d996['ICommandService']),_0x163251=(0x0,_0x23e778[_0x15e7a1(0x4e0)])(_0x23e778[_0x15e7a1(0x26f)]),_0x3bfac4=(0x0,_0x23e778[_0x15e7a1(0x4e0)])(_0x580d8a['IRenderManagerService']),_0x52d7b1=(0x0,_0x3d354c['useMemo'])(()=>({'getShapeModel':(_0x55520d,_0x290eed,_0x4dc62b)=>_0x40c601[_0x15e7a1(0x338)](_0x55520d,_0x290eed,_0x4dc62b),'getShapeData':(_0x5c752b,_0x1f105c,_0x300c51)=>_0x40c601[_0x15e7a1(0x3ec)](_0x5c752b,_0x1f105c,_0x300c51),'getDrawingTransform':(_0xa4de83,_0x2aef99,_0x2f0b8f)=>{const _0x52d7ce=_0x15e7a1;let _0x3aa12b=_0x3df27e[_0x52d7ce(0x26d)]({'unitId':_0xa4de83,'subUnitId':_0x2aef99,'drawingId':_0x2f0b8f});return _0x3aa12b==null?void 0x0:_0x3aa12b[_0x52d7ce(0x339)];},'updateShapeText':({unitId:_0x1de90d,subUnitId:_0x2f7c23,shapeId:_0x49af8a,shapeText:_0x2cb72d,oldShapeText:_0x5b523d,hostSize:_0x1644f3})=>{_0x163251['run'](_0x1de90d,()=>{const _0x4b0925=_0x231f;var _0x3d6586;let _0x194761=_0x4ae617[_0x4b0925(0x478)](_0x33bf3b['id'],{'unitId':_0x1de90d,'subUnitId':_0x2f7c23,'shapeId':_0x49af8a,'shapeData':{'shapeText':_0x2cb72d},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x5b523d}}});if(!_0x194761||!_0x1644f3)return _0x194761;let _0x41d67b=_0x3df27e[_0x4b0925(0x26d)]({'unitId':_0x1de90d,'subUnitId':_0x2f7c23,'drawingId':_0x49af8a}),_0x223dec=_0x41d67b==null?void 0x0:_0x41d67b[_0x4b0925(0x339)];if(!_0x1ecf10(_0x41d67b)||!_0x223dec)return!0x1;let _0x564c8c={..._0x223dec,'width':_0x1644f3[_0x4b0925(0x49e)],'height':_0x1644f3['height']},_0x38b318=(_0x3d6586=_0x3bfac4[_0x4b0925(0x4ee)](_0x1de90d))==null||(_0x3d6586=_0x3d6586['with'](_0x590c15['SheetSkeletonManagerService'])[_0x4b0925(0x1e2)](_0x2f7c23))==null?void 0x0:_0x3d6586[_0x4b0925(0x4c3)];return _0x4ae617['syncExecuteCommand'](_0x47830d['SetSheetDrawingCommand']['id'],{'unitId':_0x1de90d,'drawings':[{..._0x41d67b,'transform':_0x564c8c,'sheetTransform':_0x38b318?(0x0,_0x47830d[_0x4b0925(0x4aa)])(_0x564c8c,_0x38b318)??_0x41d67b['sheetTransform']:_0x41d67b[_0x4b0925(0x45f)],'axisAlignSheetTransform':_0x38b318?(0x0,_0x47830d[_0x4b0925(0x3ac)])(_0x564c8c,_0x38b318)??_0x41d67b[_0x4b0925(0x4d5)]:_0x41d67b['axisAlignSheetTransform']}]});});},'updateHostSize':({unitId:_0x3adb54,subUnitId:_0x599537,shapeId:_0x4e01a5,width:_0x358614,height:_0x5513cb})=>{const _0xaf1f09=_0x15e7a1;var _0x502339;let _0x3b5069=_0x3df27e[_0xaf1f09(0x26d)]({'unitId':_0x3adb54,'subUnitId':_0x599537,'drawingId':_0x4e01a5}),_0x3e71b2=_0x3b5069==null?void 0x0:_0x3b5069[_0xaf1f09(0x339)];if(!_0x1ecf10(_0x3b5069)||!_0x3e71b2)return;let _0x5c113a={..._0x3e71b2,'width':_0x358614,'height':_0x5513cb},_0x108ab1=(_0x502339=_0x3bfac4['getRenderUnitById'](_0x3adb54))==null||(_0x502339=_0x502339[_0xaf1f09(0x28f)](_0x590c15['SheetSkeletonManagerService'])[_0xaf1f09(0x1e2)](_0x599537))==null?void 0x0:_0x502339[_0xaf1f09(0x4c3)],_0x3f4a09=_0x108ab1?(0x0,_0x47830d[_0xaf1f09(0x4aa)])(_0x5c113a,_0x108ab1)??_0x3b5069['sheetTransform']:_0x3b5069['sheetTransform'],_0x4a225c=_0x108ab1?(0x0,_0x47830d['transformToAxisAlignPosition'])(_0x5c113a,_0x108ab1)??_0x3b5069[_0xaf1f09(0x4d5)]:_0x3b5069[_0xaf1f09(0x4d5)];_0x4ae617['executeCommand'](_0x47830d['SetSheetDrawingCommand']['id'],{'unitId':_0x3adb54,'drawings':[{..._0x3b5069,'transform':_0x5c113a,'sheetTransform':_0x3f4a09,'axisAlignSheetTransform':_0x4a225c}]});},'allowHostSizeShrink':({unitId:_0x567956,subUnitId:_0x303687,shapeId:_0x4d2560})=>(0x0,_0x197fcc[_0x15e7a1(0x372)])(_0x40c601['getShapeDataById'](_0x567956,_0x303687,_0x4d2560)),'deferHostSizeUpdateDuringEditing':()=>!0x0}),[_0x4ae617,_0x3df27e,_0x3bfac4,_0x40c601,_0x163251]),_0x1f8f93=(0x0,_0x3d354c['useMemo'])(()=>({'viewportKeys':{'main':_0x580d8a['SHEET_VIEWPORT_KEY']['VIEW_MAIN'],'leftTop':_0x580d8a[_0x15e7a1(0x48f)]['VIEW_MAIN_LEFT_TOP'],'top':_0x580d8a[_0x15e7a1(0x48f)][_0x15e7a1(0x48e)],'left':_0x580d8a['SHEET_VIEWPORT_KEY'][_0x15e7a1(0x3b9)]},'getSkeleton':(_0x38e30c,_0x55a708)=>{const _0x5650f5=_0x15e7a1;var _0x3f6832;return((_0x3f6832=_0x38e30c['with'](_0x590c15[_0x5650f5(0x599)])[_0x5650f5(0x1e2)](_0x55a708[_0x5650f5(0x35e)]))==null?void 0x0:_0x3f6832[_0x5650f5(0x4c3)])??null;}}),[]);return(0x0,_0x121104[_0x15e7a1(0x4f2)])(_0x197fcc[_0x15e7a1(0x277)],{'adapter':_0x52d7b1,'editingService':_0x41b128,'editorUnitId':_0xde4401,'positionOptions':_0x1f8f93});}),_0x5b452d=class extends _0x35d996[_0x2766d8(0x491)]{constructor(_0xe98c74,_0xcfa9c6){const _0x1a6abc=_0x2766d8;super(),this[_0x1a6abc(0x442)]=_0xe98c74,this[_0x1a6abc(0x2ca)]=_0xcfa9c6,this['_registerIcons'](),this[_0x1a6abc(0x383)]();}['_registerIcons'](){const _0x2f4c7f=_0x2766d8;this['_iconManager'][_0x2f4c7f(0x51e)](_0x2f4c7f(0x3a5))||this['disposeWithMe'](this[_0x2f4c7f(0x2ca)][_0x2f4c7f(0x495)]({'ObjectLayersIcon':_0x5f2102})),this[_0x2f4c7f(0x2ca)][_0x2f4c7f(0x51e)](_0x2f4c7f(0x2cb))||this[_0x2f4c7f(0x271)](this[_0x2f4c7f(0x2ca)][_0x2f4c7f(0x495)]({'FlipHorizontalIcon':_0x3e9cd9})),this[_0x2f4c7f(0x2ca)][_0x2f4c7f(0x51e)](_0x2f4c7f(0x1d5))||this[_0x2f4c7f(0x271)](this[_0x2f4c7f(0x2ca)][_0x2f4c7f(0x495)]({'FlipVerticalIcon':_0x4ae031})),this[_0x2f4c7f(0x2ca)][_0x2f4c7f(0x51e)](_0x2f4c7f(0x44e))||this['disposeWithMe'](this[_0x2f4c7f(0x2ca)][_0x2f4c7f(0x495)]({'BottomIcon':_0x460267})),this[_0x2f4c7f(0x2ca)][_0x2f4c7f(0x51e)](_0x2f4c7f(0x2b9))||this[_0x2f4c7f(0x271)](this['_iconManager'][_0x2f4c7f(0x495)]({'MoveDownIcon':_0x5e159d})),this['_iconManager'][_0x2f4c7f(0x51e)](_0x2f4c7f(0x4a5))||this['disposeWithMe'](this['_iconManager'][_0x2f4c7f(0x495)]({'MoveUpIcon':_0xf77df5})),this['_iconManager']['has'](_0x2f4c7f(0x3c2))||this[_0x2f4c7f(0x271)](this[_0x2f4c7f(0x2ca)][_0x2f4c7f(0x495)]({'ShapeFormatSettingIcon':_0x26b4c5})),this[_0x2f4c7f(0x2ca)]['has'](_0x2f4c7f(0x2ad))||this['disposeWithMe'](this['_iconManager'][_0x2f4c7f(0x495)]({'TopmostIcon':_0x222f4e}));}['_registerComponents'](){const _0x3c63f6=_0x2766d8;this['disposeWithMe'](this['_componentManager']['register'](_0x462378,_0x2460bd)),this[_0x3c63f6(0x271)](this[_0x3c63f6(0x442)][_0x3c63f6(0x495)](_0x5bd6d7,_0x1ba86f)),this[_0x3c63f6(0x271)](this[_0x3c63f6(0x442)][_0x3c63f6(0x495)](_0x2ae931,_0x10d6b6)),this['disposeWithMe'](this[_0x3c63f6(0x442)]['register'](_0x4aafa5,_0x58ceb1)),this[_0x3c63f6(0x442)]['hasDefault'](_0x2c4f7e[_0x3c63f6(0x368)])||this[_0x3c63f6(0x271)](this[_0x3c63f6(0x442)][_0x3c63f6(0x495)](_0x2c4f7e[_0x3c63f6(0x368)],_0x275f06)),this['disposeWithMe'](this['_componentManager'][_0x3c63f6(0x495)](_0x26c51d,_0x193f73)),this['disposeWithMe'](this[_0x3c63f6(0x442)][_0x3c63f6(0x495)](_0x1ede14,_0x162bf7)),this[_0x3c63f6(0x271)](this[_0x3c63f6(0x442)][_0x3c63f6(0x495)](_0x361901,_0x13902d)),this[_0x3c63f6(0x271)](this[_0x3c63f6(0x442)][_0x3c63f6(0x495)](_0x4d4286,_0x5ce8e4)),this['disposeWithMe'](this[_0x3c63f6(0x442)][_0x3c63f6(0x495)](_0x20dc16,_0xd69ed3)),this[_0x3c63f6(0x271)](this[_0x3c63f6(0x442)][_0x3c63f6(0x495)](_0x26dfdd,_0x197fcc[_0x3c63f6(0x325)])),this[_0x3c63f6(0x271)](this['_componentManager']['register'](_0x3c63f6(0x43d),_0x7f7270));}};_0x5b452d=_0x39c461([_0x400e7c(0x0,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x23e778[_0x2766d8(0x36a)])),_0x400e7c(0x1,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x23e778[_0x2766d8(0x211)]))],_0x5b452d);let _0x21f1ca=class extends _0x35d996[_0x2766d8(0x491)]{constructor(_0x301e39,_0x5e35fd,_0x7fed45,_0x313317,_0xa869a9,_0x1c7299,_0x45d7fa,_0x1f1664,_0x23adeb){const _0x3b12a9=_0x2766d8;super();let _0x242dd1=_0x57b09d=>{const _0x255867=_0x231f;var _0x3c0ef,_0x1d07b6;return(((_0x3c0ef=_0x1f1664[_0x255867(0x5ec)](new _0x2a684c['WorkbookEditablePermission'](_0x57b09d['unitId'])['id']))==null?void 0x0:_0x3c0ef[_0x255867(0x58f)])??!0x0)&&(((_0x1d07b6=_0x1f1664[_0x255867(0x5ec)](new _0x2a684c[(_0x255867(0x59b))](_0x57b09d[_0x255867(0x280)],_0x57b09d[_0x255867(0x35e)])['id']))==null?void 0x0:_0x1d07b6['value'])??!0x0);},_0x2cfa0a=_0xb1e403=>_0xb1e403['shapeId']&&_0x242dd1(_0xb1e403)?_0x7fed45[_0x3b12a9(0x3ec)](_0xb1e403['unitId'],_0xb1e403[_0x3b12a9(0x35e)],_0xb1e403[_0x3b12a9(0x2a8)])??null:null,_0x3b4dc1=()=>{const _0x2b6b04=_0x3b12a9;let _0x18d527=_0xa869a9[_0x2b6b04(0x5bb)](),_0x1964ad=_0x18d527[_0x2b6b04(0x2f1)]===0x1?_0x18d527[0x0]:null;return(_0x1964ad==null?void 0x0:_0x1964ad[_0x2b6b04(0x313)])===_0x35d996[_0x2b6b04(0x44f)][_0x2b6b04(0x4ba)]&&_0x1964ad['unitId']===_0x301e39[_0x2b6b04(0x280)]?{'unitId':_0x1964ad[_0x2b6b04(0x280)],'subUnitId':_0x1964ad[_0x2b6b04(0x35e)],'shapeId':_0x1964ad[_0x2b6b04(0x314)]}:null;};this[_0x3b12a9(0x271)]((0x0,_0x197fcc[_0x3b12a9(0x20a)])(_0x301e39,_0x5e35fd,{'changes$':(0x0,_0x4737d9[_0x3b12a9(0x30b)])(_0xa869a9[_0x3b12a9(0x2a3)],_0x313317[_0x3b12a9(0x4b4)],_0x1f1664[_0x3b12a9(0x2bd)]),'isActive':()=>{const _0x1c3a31=_0x3b12a9;var _0x499a9e;return((_0x499a9e=_0x1c7299['getFocusedUnit']())==null?void 0x0:_0x499a9e[_0x1c3a31(0x331)]())===_0x301e39[_0x1c3a31(0x280)]&&!_0x45d7fa['getContextValue'](_0x35d996[_0x1c3a31(0x595)])&&_0xa869a9[_0x1c3a31(0x5bb)]()[_0x1c3a31(0x5c8)](_0x5949e5=>_0x5949e5[_0x1c3a31(0x280)]===_0x301e39[_0x1c3a31(0x280)]);},'getSelectedTarget':_0x3b4dc1,'getSource':()=>{let _0x3f264d=_0x3b4dc1();return _0x3f264d?_0x2cfa0a(_0x3f264d):null;},'getTarget':_0x4e47ba=>{const _0x3569c4=_0x3b12a9;let _0x36baba=_0x301e39[_0x3569c4(0x394)][_0x3569c4(0x54d)](new _0x580d8a['Vector2'](_0x4e47ba[_0x3569c4(0x300)],_0x4e47ba[_0x3569c4(0x4e8)]));if(!(_0x36baba instanceof _0x423ac6))return null;let _0x47d44d={'unitId':_0x301e39[_0x3569c4(0x280)],'subUnitId':_0x36baba[_0x3569c4(0x35e)],'shapeId':_0x36baba[_0x3569c4(0x2a8)]};return _0x242dd1(_0x47d44d)?_0x47d44d:null;},'getShape':_0x2cfa0a,'update':(_0x34f12d,_0x364a4e,_0xa12d6a)=>_0x23adeb[_0x3b12a9(0x3d1)](_0x33bf3b['id'],{..._0x34f12d,'shapeData':_0xa12d6a,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x364a4e}})}));}};_0x21f1ca=_0x39c461([_0x400e7c(0x1,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x23e778[_0x2766d8(0x375)])),_0x400e7c(0x2,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x565640['SheetsShapeService'])),_0x400e7c(0x3,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x4a54d8)),_0x400e7c(0x4,_0x2ed59f[_0x2766d8(0x554)]),_0x400e7c(0x5,_0x35d996[_0x2766d8(0x403)]),_0x400e7c(0x6,_0x35d996[_0x2766d8(0x58d)]),_0x400e7c(0x7,_0x35d996[_0x2766d8(0x359)]),_0x400e7c(0x8,_0x35d996[_0x2766d8(0x3c6)])],_0x21f1ca);let _0x1d7f3f=_0x2766d8(0x262),_0x4fbfb1=class extends _0x35d996[_0x2766d8(0x491)]{constructor(_0x4512e4,_0x2df373,_0x3ce342,_0x138a5f,_0x1eb0c1,_0x20f9e7){const _0x5f24df=_0x2766d8;super(),this[_0x5f24df(0x344)]=_0x4512e4,this['_ribbonService']=_0x2df373,this[_0x5f24df(0x482)]=_0x3ce342,this[_0x5f24df(0x251)]=_0x138a5f,this[_0x5f24df(0x4bb)]=_0x1eb0c1,this['_shapeFloatingToolbarService']=_0x20f9e7,_0x2a4a7a(this,_0x5f24df(0x427),!0x1),this['_menuManagerService'][_0x5f24df(0x228)](_0x4320ab),this[_0x5f24df(0x271)]((0x0,_0x35d996[_0x5f24df(0x306)])(this[_0x5f24df(0x482)][_0x5f24df(0x2a3)][_0x5f24df(0x56a)](()=>this[_0x5f24df(0x2e2)]()))),this[_0x5f24df(0x2e2)]();}[_0x2766d8(0x2a4)](){const _0x3fb18b=_0x2766d8;this[_0x3fb18b(0x418)][_0x3fb18b(0x278)](!0x1,_0x1d7f3f),this[_0x3fb18b(0x3aa)](),super['dispose']();}[_0x2766d8(0x2e2)](){const _0x113efc=_0x2766d8;var _0x23c1c0;let _0x319872=this[_0x113efc(0x482)][_0x113efc(0x5bb)](),_0x96a3fb=_0x319872[_0x113efc(0x2f1)]===0x1?_0x319872[0x0]:void 0x0;if((_0x96a3fb==null?void 0x0:_0x96a3fb[_0x113efc(0x313)])!==_0x35d996['DrawingTypeEnum'][_0x113efc(0x4ba)]||this[_0x113efc(0x251)][_0x113efc(0x29d)](_0x96a3fb['unitId'])!==_0x35d996[_0x113efc(0x31d)][_0x113efc(0x3de)]){this[_0x113efc(0x418)][_0x113efc(0x278)](!0x1,_0x1d7f3f),this[_0x113efc(0x3aa)]();return;}let _0x33456f=(_0x23c1c0=this[_0x113efc(0x4bb)][_0x113efc(0x4ee)](_0x96a3fb[_0x113efc(0x280)]))==null?void 0x0:_0x23c1c0['engine'][_0x113efc(0x201)](),_0x3c2578=(0x0,_0x197fcc['resolveShapeContextualRibbonHostMode'])(_0x33456f)===_0x113efc(0x2b0);this[_0x113efc(0x418)][_0x113efc(0x278)](_0x3c2578,_0x1d7f3f),_0x3c2578?this[_0x113efc(0x3aa)]():this['_visible']||(this[_0x113efc(0x427)]=!0x0,this[_0x113efc(0x59d)][_0x113efc(0x5c9)](_0x274130,{'activate':!0x0}));}[_0x2766d8(0x3aa)](){const _0x1861a6=_0x2766d8;this[_0x1861a6(0x427)]&&(this[_0x1861a6(0x427)]=!0x1,this[_0x1861a6(0x59d)]['hideContextualTab'](_0x274130),this[_0x1861a6(0x59d)][_0x1861a6(0x546)]([]));}};_0x4fbfb1=_0x39c461([_0x400e7c(0x0,_0x23e778[_0x2766d8(0x4e9)]),_0x400e7c(0x1,_0x23e778['IRibbonService']),_0x400e7c(0x2,_0x2ed59f[_0x2766d8(0x554)]),_0x400e7c(0x3,_0x35d996[_0x2766d8(0x403)]),_0x400e7c(0x4,_0x580d8a['IRenderManagerService']),_0x400e7c(0x5,(0x0,_0x35d996['Inject'])(_0x197fcc[_0x2766d8(0x2d1)]))],_0x4fbfb1);let _0x238545=class extends _0x197fcc[_0x2766d8(0x39e)]{constructor(_0x5acf8b,_0x5e59f9,_0x168a43,_0x305725,_0x52c241,_0x3c6cf3,_0x319de8,_0x48253f,_0x228120,_0x39aa7b){super(_0x5acf8b,_0x5e59f9,_0x168a43,_0x305725,_0x52c241,_0x3c6cf3,_0x319de8,_0x48253f,_0x228120,_0x39aa7b,{'componentKey':_0x26dfdd,'editorUnitId':_0xde4401});}};_0x238545=_0x39c461([_0x400e7c(0x1,(0x0,_0x35d996['Inject'])(_0x156373[_0x2766d8(0x43a)])),_0x400e7c(0x2,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x3a1af6[_0x2766d8(0x543)])),_0x400e7c(0x3,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x3a1af6[_0x2766d8(0x581)])),_0x400e7c(0x4,_0x35d996[_0x2766d8(0x3c6)]),_0x400e7c(0x5,(0x0,_0x35d996['Inject'])(_0x3a1af6[_0x2766d8(0x3fa)])),_0x400e7c(0x6,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x197fcc[_0x2766d8(0x36d)])),_0x400e7c(0x7,(0x0,_0x35d996['Inject'])(_0x156373['DocInterceptorService'])),_0x400e7c(0x8,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x3a1af6[_0x2766d8(0x208)])),_0x400e7c(0x9,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x4a54d8))],_0x238545);let _0x126fbb=class extends _0x197fcc[_0x2766d8(0x4c9)]{constructor(_0x499140,_0x10ab81,_0x33489d,_0x10d1c7,_0x2245c6){const _0x4f8e9e=_0x2766d8;super(_0x499140,_0x10ab81,{'editing$':_0x33489d['editingParams$'],'resolve':_0x4c523c=>{const _0x4618f9=_0x231f;var _0x5542e3,_0x3b0b66,_0x258081;let _0x3edccf=new _0x580d8a[(_0x4618f9(0x48d))](_0x4c523c[_0x4618f9(0x300)],_0x4c523c[_0x4618f9(0x4e8)]),_0x22e30c=((_0x5542e3=_0x499140['scene'][_0x4618f9(0x4ea)](_0x3edccf))==null?void 0x0:_0x5542e3['transformVector2SceneCoord'](_0x3edccf))??_0x3edccf,_0x168675=(0x0,_0x197fcc[_0x4618f9(0x289)])(_0x499140[_0x4618f9(0x394)][_0x4618f9(0x54d)](_0x3edccf)??null,_0x22e30c);if(!(_0x168675 instanceof _0x423ac6))return null;let _0x1896a1=_0x168675[_0x4618f9(0x3f9)](_0x22e30c);if(!_0x1896a1)return null;let _0x24b3df=_0x168675,_0x1f486d={'componentKey':_0x197fcc['ShapeTextHyperLinkInfo'][_0x4618f9(0x548)],'direction':_0x4618f9(0x3a7),'offset':[0x0,0xa],'onClickOutside':()=>_0x10ab81['hideInfoPopup']()};return{'object':_0x168675,'info':{..._0x1896a1,'unitId':_0x168675[_0x4618f9(0x280)],'subUnitId':_0x168675[_0x4618f9(0x35e)],'shapeKey':_0x168675[_0x4618f9(0x5ca)],'readonly':!0x0,'copyable':((_0x3b0b66=_0x2245c6[_0x4618f9(0x5ec)](new _0x2a684c['WorkbookCopyPermission'](_0x168675[_0x4618f9(0x280)])['id']))==null?void 0x0:_0x3b0b66['value'])!==!0x1&&((_0x258081=_0x2245c6['getPermissionPoint'](new _0x2a684c[(_0x4618f9(0x33c))](_0x168675[_0x4618f9(0x280)],_0x168675[_0x4618f9(0x35e)])['id']))==null?void 0x0:_0x258081[_0x4618f9(0x58f)])!==!0x1},'attachPopup':()=>_0x10d1c7[_0x4618f9(0x4dc)](_0x24b3df,_0x1f486d)};}}),this[_0x4f8e9e(0x271)](_0x499140['unit'][_0x4f8e9e(0x435)][_0x4f8e9e(0x56a)](()=>this['clear']()));}};_0x126fbb=_0x39c461([_0x400e7c(0x1,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x197fcc[_0x2766d8(0x36d)])),_0x400e7c(0x2,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x4a54d8)),_0x400e7c(0x3,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x590c15[_0x2766d8(0x3f4)])),_0x400e7c(0x4,_0x35d996[_0x2766d8(0x359)])],_0x126fbb);let _0x4c901c=class extends _0x35d996[_0x2766d8(0x491)]{constructor(_0x4a8105,_0x3ee3ee,_0x1748b5,_0x36df07,_0x3068d2,_0xa92501,_0x55bb51,_0x353cbc,_0x45c6c3,_0xdd2fab,_0x238c3c){const _0x537629=_0x2766d8;super(),this['_univerInstanceService']=_0x4a8105,this[_0x537629(0x2b5)]=_0x3ee3ee,this['_menuManagerService']=_0x1748b5,this['_sheetsShapeService']=_0x36df07,this['_localeService']=_0x3068d2,this['_commandService']=_0xa92501,this[_0x537629(0x482)]=_0x55bb51,this[_0x537629(0x5be)]=_0x353cbc,this['_contextService']=_0x45c6c3,this['_renderManagerService']=_0xdd2fab,this[_0x537629(0x21a)]=_0x238c3c,_0x2a4a7a(this,_0x537629(0x1fe),null),_0x2a4a7a(this,'_activeShapeInfo',null),_0x2a4a7a(this,'_isOpenedShapeEditPanel',!0x1),_0x2a4a7a(this,_0x537629(0x49c),0x0),_0x2a4a7a(this,'_shapePopupMenuDisposable',null),_0x2a4a7a(this,'_disposePopups',[]),this[_0x537629(0x5a8)](),this[_0x537629(0x271)](this[_0x537629(0x251)][_0x537629(0x3e9)](_0x35d996[_0x537629(0x31d)]['UNIVER_SHEET'])[_0x537629(0x56a)](_0x3502c1=>{const _0x515be3=_0x537629;if(!_0x3502c1){var _0x3e0043;(_0x3e0043=this[_0x515be3(0x1fe)])==null||_0x3e0043[_0x515be3(0x2a4)]();}})),this[_0x537629(0x556)](),this[_0x537629(0x34f)](),this[_0x537629(0x271)](this[_0x537629(0x21a)][_0x537629(0x4b4)]['subscribe'](_0x2c569a=>{_0x2c569a&&this['_clearPopups']();}));}[_0x2766d8(0x5a8)](){this['_menuManagerService']['mergeMenu'](_0x243f1d);}[_0x2766d8(0x34f)](){const _0x1ab41b=_0x2766d8;this[_0x1ab41b(0x5c1)]||=this[_0x1ab41b(0x271)]((0x0,_0x197fcc[_0x1ab41b(0x337)])(this[_0x1ab41b(0x4bb)],_0x35d996[_0x1ab41b(0x31d)][_0x1ab41b(0x3de)],_0x1e14aa=>this[_0x1ab41b(0x4bd)](_0x1e14aa)));}['_getShapeInfo'](_0x4d4a42,_0x2ae5c6,_0x423f5d){const _0x2c0e56=_0x2766d8;let _0x41f958=this[_0x2c0e56(0x218)][_0x2c0e56(0x374)](_0x4d4a42,_0x2ae5c6,_0x423f5d),_0x14f70c=this[_0x2c0e56(0x218)][_0x2c0e56(0x3ec)](_0x4d4a42,_0x2ae5c6,_0x423f5d);return _0x41f958!==void 0x0&&_0x14f70c!==void 0x0?{'shapeData':_0x14f70c,'shapeId':_0x423f5d,'shapeType':_0x41f958,'unitId':_0x4d4a42,'subUnitId':_0x2ae5c6,'version':this[_0x2c0e56(0x49c)],'disableShapeOption':!0x1}:null;}[_0x2766d8(0x336)](){const _0x51322b=_0x2766d8;this[_0x51322b(0x3cf)][_0x51322b(0x528)](_0x11a92b=>_0x11a92b['dispose']()),this['_disposePopups'][_0x51322b(0x2f1)]=0x0;}['_popupMenuListener'](_0x2fd0f6){const _0x510327=_0x2766d8;let _0x13980b=new _0x35d996[(_0x510327(0x502))]();return _0x13980b[_0x510327(0x294)](_0x2fd0f6[_0x510327(0x31e)][_0x510327(0x56a)](()=>{const _0x5f382e=_0x510327;let _0x24a5bc=_0x2fd0f6[_0x5f382e(0x524)]();if(this['_clearPopups'](),this['_isOpenedShapeEditPanel']||_0x24a5bc[_0x5f382e(0x22b)]>0x1)return;let _0x357400=_0x24a5bc[_0x5f382e(0x3bf)]()['next']()[_0x5f382e(0x58f)];if(!_0x357400)return;let _0x4b383d=this[_0x5f382e(0x482)][_0x5f382e(0x20b)](_0x357400[_0x5f382e(0x5ca)]);if(!_0x4b383d||_0x4b383d['drawingType']!==_0x35d996[_0x5f382e(0x44f)][_0x5f382e(0x4ba)])return;let {unitId:_0x3cd078,subUnitId:_0x150759,drawingId:_0x5232d5,drawingType:_0x445639}=_0x4b383d,_0x189577=this[_0x5f382e(0x582)](_0x3cd078,_0x150759,_0x5232d5);if(!_0x189577)return;this[_0x5f382e(0x269)][_0x5f382e(0x458)](_0x35d996[_0x5f382e(0x4d1)],!0x0);let _0x5c6267=this[_0x5f382e(0x4bb)]['getRenderUnitById'](_0x3cd078),_0x3015ca=((_0x5c6267==null?void 0x0:_0x5c6267[_0x5f382e(0x5cc)])===!0x1?_0x5c6267['with'](_0x590c15[_0x5f382e(0x3f4)]):this['_sheetCanvasPopManagerService'])[_0x5f382e(0x4dc)](_0x357400,{'componentKey':_0x26c51d,'direction':_0x5f382e(0x35c),'offset':[0x0,_0x197fcc['SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET']],'extraProps':{'unitId':_0x3cd078,'subUnitId':_0x150759,'drawingId':_0x5232d5,'drawingType':_0x445639,'shapeType':_0x189577[_0x5f382e(0x3fc)],'shapeData':_0x189577[_0x5f382e(0x23b)]}});this[_0x5f382e(0x3cf)]['push'](this['disposeWithMe'](_0x3015ca)),this[_0x5f382e(0x482)]['getFocusDrawings']()[_0x5f382e(0x584)](_0x1c1232=>_0x1c1232[_0x5f382e(0x280)]===_0x3cd078&&_0x1c1232['subUnitId']===_0x150759&&_0x1c1232[_0x5f382e(0x314)]===_0x5232d5)||this[_0x5f382e(0x482)][_0x5f382e(0x2f5)]([{'unitId':_0x3cd078,'subUnitId':_0x150759,'drawingId':_0x5232d5}]);})),_0x13980b[_0x510327(0x294)](_0x2fd0f6[_0x510327(0x58a)][_0x510327(0x56a)](()=>{const _0xb7e6e=_0x510327;this[_0xb7e6e(0x336)](),this[_0xb7e6e(0x269)][_0xb7e6e(0x458)](_0x35d996[_0xb7e6e(0x4d1)],!0x1),this[_0xb7e6e(0x482)]['focusDrawing'](null);})),_0x13980b['add'](_0x2fd0f6[_0x510327(0x5b0)]['subscribe'](()=>{const _0x29ee16=_0x510327;this[_0x29ee16(0x336)]();})),_0x13980b[_0x510327(0x294)](_0x2fd0f6[_0x510327(0x330)]['subscribe'](()=>{const _0x5ab5b7=_0x510327;this[_0x5ab5b7(0x336)]();})),(0x0,_0x35d996['toDisposable'])(()=>{_0x13980b['dispose'](),this['_clearPopups']();});}['_registerOperations'](){const _0x2202fa=_0x2766d8;this[_0x2202fa(0x271)](this[_0x2202fa(0x54f)][_0x2202fa(0x3f5)](_0x1ecfb7=>{const _0x1a4d6e=_0x2202fa;if(_0x1ecfb7['id']===_0x236e1f['id']){let {unitId:_0x249e4a,subUnitId:_0x13ee5a,drawingId:_0x471954}=_0x1ecfb7[_0x1a4d6e(0x1db)];this['_shapeEditPanelVersion']+=0x1,this[_0x1a4d6e(0x39b)]=this[_0x1a4d6e(0x582)](_0x249e4a,_0x13ee5a,_0x471954),this[_0x1a4d6e(0x336)](),this['_openShapeEditPanel']();}if(_0x1ecfb7['id']===_0x13ccc7['id']&&(this[_0x1a4d6e(0x39b)]=null,this[_0x1a4d6e(0x42d)]()),_0x1ecfb7['id']===_0x565640[_0x1a4d6e(0x229)]['id']){let {unitId:_0x1ec4f0,subUnitId:_0x57b2ec,shapeId:_0x44808d}=_0x1ecfb7[_0x1a4d6e(0x1db)];if(this[_0x1a4d6e(0x39b)]&&this[_0x1a4d6e(0x39b)][_0x1a4d6e(0x2a8)]===_0x44808d){let _0x32da96=this[_0x1a4d6e(0x582)](_0x1ec4f0,_0x57b2ec,_0x44808d);_0x32da96&&(this[_0x1a4d6e(0x49c)]+=0x1,_0x32da96[_0x1a4d6e(0x4da)]=this[_0x1a4d6e(0x49c)],this[_0x1a4d6e(0x39b)]=_0x32da96,this[_0x1a4d6e(0x490)]&&this[_0x1a4d6e(0x3f3)]());}}})),this['disposeWithMe'](this[_0x2202fa(0x482)][_0x2202fa(0x2a3)][_0x2202fa(0x56a)](_0x53ff72=>{const _0x314d19=_0x2202fa;if(this[_0x314d19(0x490)]===!0x1)return;if(_0x53ff72['length']===0x0){this[_0x314d19(0x39b)]=null,this['_closeShapeEditPanel']();return;}if(_0x53ff72[_0x314d19(0x2f1)]===0x1&&_0x53ff72[0x0][_0x314d19(0x313)]===_0x35d996[_0x314d19(0x44f)][_0x314d19(0x4ba)]&&(this[_0x314d19(0x49c)]+=0x1,this[_0x314d19(0x39b)]=this['_getShapeInfo'](_0x53ff72[0x0][_0x314d19(0x280)],_0x53ff72[0x0]['subUnitId'],_0x53ff72[0x0]['drawingId']),this[_0x314d19(0x39b)])){this['_openShapeEditPanel']();return;}let _0x5a03a2=_0x53ff72[_0x314d19(0x35b)](_0x5b7329=>_0x5b7329[_0x314d19(0x313)]===_0x35d996[_0x314d19(0x44f)]['DRAWING_SHAPE']);if(_0x53ff72[_0x314d19(0x2f1)]>0x1&&_0x5a03a2[_0x314d19(0x2f1)]===_0x53ff72[_0x314d19(0x2f1)]){if(this[_0x314d19(0x49c)]+=0x1,this[_0x314d19(0x39b)]=this[_0x314d19(0x582)](_0x53ff72[0x0][_0x314d19(0x280)],_0x53ff72[0x0][_0x314d19(0x35e)],_0x53ff72[0x0][_0x314d19(0x314)]),this[_0x314d19(0x39b)]){this['_openShapeEditPanel']();return;}}else{if(this[_0x314d19(0x49c)]+=0x1,this[_0x314d19(0x39b)]=this[_0x314d19(0x582)](_0x53ff72[0x0]['unitId'],_0x53ff72[0x0][_0x314d19(0x35e)],_0x53ff72[0x0][_0x314d19(0x314)]),this['_activeShapeInfo']){this['_activeShapeInfo'][_0x314d19(0x4c1)]=!0x0,this[_0x314d19(0x3f3)]();return;}}this[_0x314d19(0x42d)]();}));}['_openShapeEditPanel'](){const _0x929a2b=_0x2766d8;this[_0x929a2b(0x39b)]&&(this[_0x929a2b(0x1fe)]=this[_0x929a2b(0x2b5)][_0x929a2b(0x4de)]({'id':_0x462378,'header':{'title':this[_0x929a2b(0x2d4)]['t'](_0x929a2b(0x371))},'width':0x184,'children':{'label':_0x462378,...this[_0x929a2b(0x39b)]},'onClose':()=>{const _0x35bdc6=_0x929a2b;this[_0x35bdc6(0x482)][_0x35bdc6(0x2f5)](null),this[_0x35bdc6(0x269)]['setContextValue'](_0x35d996[_0x35bdc6(0x4d1)],!0x1),this[_0x35bdc6(0x1fe)]=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}[_0x2766d8(0x42d)](){const _0x3e99b5=_0x2766d8;this[_0x3e99b5(0x490)]=!0x1,this[_0x3e99b5(0x2b5)][_0x3e99b5(0x3e2)](_0x462378),this['_sidebarDisposable']=null,this[_0x3e99b5(0x269)][_0x3e99b5(0x458)](_0x35d996[_0x3e99b5(0x4d1)],!0x1),this['_drawingManagerService'][_0x3e99b5(0x2f5)](null);}};_0x4c901c=_0x39c461([_0x400e7c(0x0,_0x35d996[_0x2766d8(0x403)]),_0x400e7c(0x1,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x23e778[_0x2766d8(0x1f7)])),_0x400e7c(0x2,_0x23e778[_0x2766d8(0x4e9)]),_0x400e7c(0x3,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x565640[_0x2766d8(0x248)])),_0x400e7c(0x4,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x35d996['LocaleService'])),_0x400e7c(0x5,_0x35d996['ICommandService']),_0x400e7c(0x6,_0x2ed59f['IDrawingManagerService']),_0x400e7c(0x7,(0x0,_0x35d996['Inject'])(_0x590c15[_0x2766d8(0x3f4)])),_0x400e7c(0x8,_0x35d996[_0x2766d8(0x58d)]),_0x400e7c(0x9,_0x580d8a[_0x2766d8(0x266)]),_0x400e7c(0xa,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x4a54d8))],_0x4c901c);let _0x508d9b=class extends _0x35d996['Plugin']{constructor(_0x2dff77=_0x5a65ec,_0x4e488f,_0x562681,_0x2b57a9,_0x35dc58){const _0xb3fc7c=_0x2766d8;super(),this[_0xb3fc7c(0x5b7)]=_0x2dff77,this[_0xb3fc7c(0x451)]=_0x4e488f,this['_commandService']=_0x562681,this['_configService']=_0x2b57a9,this[_0xb3fc7c(0x4bb)]=_0x35dc58;let {..._0x7eddb5}=(0x0,_0x35d996[_0xb3fc7c(0x30b)])({},_0x5a65ec,this[_0xb3fc7c(0x5b7)]);this[_0xb3fc7c(0x285)][_0xb3fc7c(0x26c)](_0xedbf59,_0x7eddb5),this[_0xb3fc7c(0x28e)]();}[_0x2766d8(0x526)](){const _0x2add7c=_0x2766d8;this[_0x2add7c(0x4bb)]['registerRenderModule'](_0x35d996[_0x2add7c(0x31d)][_0x2add7c(0x276)],[_0x238545]),(0x0,_0x35d996[_0x2add7c(0x51a)])(this[_0x2add7c(0x451)],[[_0x4c901c],[_0xc945f6],[_0x319285],[_0x1ffec1]]);}[_0x2766d8(0x560)](){const _0x5ec30c=_0x2766d8;this[_0x5ec30c(0x451)][_0x5ec30c(0x340)](_0x4c901c)[_0x5ec30c(0x34f)]();}[_0x2766d8(0x219)](){const _0x423de4=_0x2766d8;[[_0x517ad0],[_0x36f6fd],[_0x3d86f3]]['forEach'](_0x36427e=>this[_0x423de4(0x451)][_0x423de4(0x294)](_0x36427e)),(0x0,_0x35d996[_0x423de4(0x51a)])(this['_injector'],[[_0x3d86f3],[_0x36f6fd]]),this[_0x423de4(0x4bb)][_0x423de4(0x318)](_0x35d996[_0x423de4(0x31d)][_0x423de4(0x3de)],[_0x517ad0]),this[_0x423de4(0x4bb)][_0x423de4(0x318)](_0x35d996['UniverInstanceType'][_0x423de4(0x3de)],[_0x22d196]),this[_0x423de4(0x4bb)][_0x423de4(0x318)](_0x35d996[_0x423de4(0x31d)][_0x423de4(0x3de)],[_0x243495]),this[_0x423de4(0x4bb)][_0x423de4(0x318)](_0x35d996[_0x423de4(0x31d)][_0x423de4(0x3de)],[_0x37b743]),this[_0x423de4(0x271)](this[_0x423de4(0x4bb)][_0x423de4(0x318)](_0x35d996[_0x423de4(0x31d)][_0x423de4(0x3de)],[_0x126fbb])),this[_0x423de4(0x271)](this[_0x423de4(0x4bb)][_0x423de4(0x318)](_0x35d996[_0x423de4(0x31d)][_0x423de4(0x3de)],[_0x21f1ca]));}[_0x2766d8(0x404)](){const _0xcef93c=_0x2766d8;this['_injector'][_0xcef93c(0x294)]([_0x5b452d]),this[_0xcef93c(0x451)]['get'](_0x5b452d);let _0x454dcf=this[_0xcef93c(0x451)];[[_0x4c901c],[_0xc945f6],[_0x319285],[_0x1ffec1],[_0x9476a3],[_0x4a54d8],[_0x563547],[_0x538cf9],[_0x126f61],[_0x4fbfb1]]['forEach'](_0x290813=>_0x454dcf[_0xcef93c(0x294)](_0x290813)),(0x0,_0x35d996[_0xcef93c(0x51a)])(this['_injector'],[[_0x4c901c],[_0xc945f6],[_0x319285],[_0x9476a3],[_0x4a54d8],[_0x563547],[_0x538cf9],[_0x126f61],[_0x4fbfb1]]);}[_0x2766d8(0x28e)](){const _0x1c7311=_0x2766d8;[_0x3a6254,_0x33bf3b,_0x13ccc7,_0x236e1f,_0x1af41a,_0x482521,_0x325b7a,_0x263ab1][_0x1c7311(0x528)](_0x5574c0=>this[_0x1c7311(0x271)](this[_0x1c7311(0x54f)][_0x1c7311(0x567)](_0x5574c0)));}};_0x2a4a7a(_0x508d9b,_0x2766d8(0x1f3),_0x35d996[_0x2766d8(0x31d)][_0x2766d8(0x3de)]),_0x2a4a7a(_0x508d9b,_0x2766d8(0x4be),_0x2766d8(0x26a)),_0x2a4a7a(_0x508d9b,_0x2766d8(0x4db),_0x5bde27),_0x2a4a7a(_0x508d9b,_0x2766d8(0x4da),_0x48a452),_0x508d9b=_0x39c461([(0x0,_0x35d996[_0x2766d8(0x1ff)])(_0x64ee3d[_0x2766d8(0x323)],_0x156373['UniverDocsPlugin'],_0x2ed59f[_0x2766d8(0x3b5)],_0x2c4f7e['UniverDrawingUIPlugin'],_0x580d8a['UniverRenderEnginePlugin'],_0x2a684c[_0x2766d8(0x3d4)],_0x3a1af6['UniverDocsUIPlugin'],_0x47830d[_0x2766d8(0x310)],_0x1ad5b7[_0x2766d8(0x5c2)],_0x353806[_0x2766d8(0x1d6)],_0x565640[_0x2766d8(0x2e6)],_0x590c15[_0x2766d8(0x2e1)],_0x197fcc['UniverShapeEditorUIPlugin']),_0x400e7c(0x1,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x35d996[_0x2766d8(0x4c2)])),_0x400e7c(0x2,_0x35d996[_0x2766d8(0x3c6)]),_0x400e7c(0x3,_0x35d996[_0x2766d8(0x51d)]),_0x400e7c(0x4,_0x580d8a[_0x2766d8(0x266)])],_0x508d9b),_0x3f2738[_0x2766d8(0x227)]=_0x4320ab,_0x3f2738[_0x2766d8(0x2ac)]=_0x243f1d,Object[_0x2766d8(0x54e)](_0x3f2738,_0x2766d8(0x519),{'enumerable':!0x0,'get':function(){return _0x318337;}}),Object[_0x2766d8(0x54e)](_0x3f2738,_0x2766d8(0x509),{'enumerable':!0x0,'get':function(){return _0x508d9b;}});}));function _0x376c(){const _0x5a2347=['SheetSkeletonService','attrs','offsetY','IMenuManagerService','getActiveViewportByCoord','memo','worksheet','src','getRenderUnitById','UniverProSheetsShapeUi','iterator','getZoomRatio','jsx','animationEnabled','isHorizontal','rightToLeft','_instances','flipX','shape-editor-ui.toolbar.changeShape','_moveConnectorWithShape','disableObjectsEvent','_updateSrcRectByTransform','useEffect','translateWithPrecision','_getZoomRatio','ObjectListPanelBase','computeConnectorRouteLayout','_drawingRenderService','DisposableCollection','_executeResizeCommand','VerticalAlign','drawWith','_clearShapeAdjustControls','children','none','UniverSheetsShapeUIPlugin','_createShape','UpdateConnectorRelationCommand','setCanUseShapeClip','FloatingObjectToolbarPosition','@univerjs-pro/shape-editor-ui','currentColor','url(#$1','_renders','_activeTargetShapeId','shapeModel','_addShapeConnectorHandlerObjects','point','ShapePickerPanel','sheets-shape-ui.flipHorizontal','SheetPermissionCheckController','UniverSheetsShapeMobileUIPlugin','touchDependencies','isRichText','getPropertyValue','IConfigService','has','prstGeom','_highlightedSiteIndex','_urlImageService','error','sheets-shape-ui.flipVertical','getSelectedObjectMap','getBasicShapeRotateBound','onRendered','sheetViewStartColumn','forEach','observe','resolveShapeTextEditorWrapStrategy','object-layers-icon','_isStartAdjusting','getObjectListPanelSectionIdForDrawingType','presentation','sheets-shape-ui.ribbon.shape-format.text-control','M10.2\x208H11.8','drawing-ui.objectListPanel.name','#4285f4','appliedStrokeWidth','current','invert','SELECTOR','sheets-shape-ui.deleteShape','_shapeFormulaService','drawing-ui.objectListPanel.locate','Image','react','localName','function','SheetsSelectionsService','sidebarOptions$','ShapeDefaultConfig','parse','onPointerUp$','DocCanvasPopManagerService','horizontal','sheets-shape-ui.imagePanel.crop.shape','setCollapsedIds','ContextMenuGroup','componentKey','_activeImageId','startArrow','stringify','isHitLine','pick','defineProperty','_commandService','getBentTypeFromPoints','UniverSheets','GROUP','_shapeService','IDrawingManagerService','UniverSheetsMobileUIPlugin','_registerOperations','M7.82994\x201.40913C7.88746\x201.35161\x207.95376\x201.30821\x208.02453\x201.27893C8.09527\x201.24959\x208.17285\x201.2334\x208.2542\x201.2334C8.33555\x201.2334\x208.41313\x201.24959\x208.48387\x201.27893C8.55464\x201.30821\x208.62094\x201.35161\x208.67846\x201.40913L10.6785\x203.40913C10.9128\x203.64345\x2010.9128\x204.02335\x2010.6785\x204.25766C10.4441\x204.49198\x2010.0642\x204.49198\x209.82994\x204.25766L8.8542\x203.28193V5.8334C8.8542\x206.16477\x208.58557\x206.4334\x208.2542\x206.4334C7.92283\x206.4334\x207.6542\x206.16477\x207.6542\x205.8334V3.28193L6.67846\x204.25766C6.44415\x204.49198\x206.06425\x204.49198\x205.82994\x204.25766C5.59562\x204.02335\x205.59562\x203.64345\x205.82994\x203.40913L7.82994\x201.40913Z','fromChangeset','_findShapeAtPoint','addImageSourceCache','angle','ArrangeTypeEnum','_applyFormulaAutoFitSize','doc','_draw','onSteady','getOwnPropertyDescriptor','SheetsDrawingGroupCopyPasteController','M1.25\x202.96401C1.25\x203.84767\x201.96634\x204.56401\x202.85\x204.56401H13.15C14.0337\x204.56401\x2014.75\x203.84767\x2014.75\x202.96401C14.75\x202.08036\x2014.0337\x201.36401\x2013.15\x201.36401H2.85C1.96635\x201.36401\x201.25\x202.08036\x201.25\x202.96401ZM2.85\x203.36401C2.62909\x203.36401\x202.45\x203.18493\x202.45\x202.96401C2.45\x202.7431\x202.62909\x202.56401\x202.85\x202.56401H13.15C13.3709\x202.56401\x2013.55\x202.7431\x2013.55\x202.96401C13.55\x203.18493\x2013.3709\x203.36401\x2013.15\x203.36401H2.85Z','tag','getActiveSheet','reduce','registerCommand','URL','_updateAdjustControlPositions','subscribe','COMMAND','amd','path','toFixed','getVisible','sin','_targetShapeId','indexOf','displayName','lineType','sheets-shape-ui.ribbon.shape-format.arrange-forward','COPY_TYPE','getMenuHiddenObservable','_getDrawingRect','_isConnecting','drawing-ui.objectListPanel.lock','_getConnectionSiteAngle','384624TEHLpp','vectorEffect','HorizontalAlign','Path','@univerjs/docs','DocSelectionRenderService','_getShapeInfo','getShapeData','find','PaintIcon','mask','_context','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','setCursor','clearControl$','createElement','@univerjs-pro/sheets-shape-ui','IContextService','blockExecuteWithoutPermission','value','reverse','worldPoint','_drawingType','getDrawingOrder','_getShapeAdjustPointListById','FOCUSING_SHAPE_TEXT_EDITOR','setPrstGeom','_isHighlighted','RemoveSheetCommand','SheetSkeletonManagerService','_renderWithCache','WorksheetEditPermission','update$','_ribbonService','isHit','registerDependencies','sheets-shape-ui.shape-format.text-ribbon-control','FromArray','LEFT','sheets-shape-ui.editText','getAdjustInfoByName','_showConnectionSites','UniverDocsUi','_activeShapeModel','_initMenu','0\x200\x2017\x2016','isInGroup','drawing-ui.objectListPanel.close','CURSOR_TYPE','_getConnectPointInfo','_clearControls','attachRangeWithCoord','changing$','_editingParams$','shape-adjust-point-','useLayoutEffect','sheet.operation.open-shape-object-list-panel','drawing-ui.objectListPanel.filterAll','permissionCheckWithoutRange','_config','_baseShapeTop','_findNearestConnectionSite','RemoveSheetDrawingCommand','getFocusDrawings','asObservable','gray.0','_sheetCanvasPopManagerService','drawing-ui.objectListPanel.filterLocked','ShapeModel','_shapePopupMenuDisposable','UniverShapeEditorPlugin','setPresentation','setEditing','targetShapeId','setProperty','stopPropagation','some','showContextualTab','oKey','resolveShapeTextDocumentRenderLayout','isMainScene','sheets-shape-ui.ribbon.shape-format','distinctUntilChanged','getConfig','LocaleService','sheet.shape.picker.component','_initSelection','localToWorld','from','adjustValues','startWith','getConnectionInfo','ToggleSheetsShapeFlipCommand','_initialize','_addControl','RENDER_CLASS_TYPE','onPointerMove$','drawing-ui.objectListPanel.lockHint','1002858XaTuHP','_props','_handleFreeEndpointMove','Shape','rxjs','_isDrawingShapePointDown','@univerjs-pro/engine-shape','_drawSimpleText','BUTTON','toPrimitive','setFormulaPresentation','sheet.shape.edit.panel','isArray','_baseShapeLeft','getPermissionPoint','fill','_baseShapeWidth','getCurrentUnitOfType','isRender','_getShapeAdjustInfosById','FlipVerticalIcon','UniverSheetsDrawingUIPlugin','BooleanNumber','symbol','updateLinePoints','ShapeFormulaRibbonControl','params','ThemeService','subscribeEvent','DEFAULT_SHAPE_WIDTH','default','Position','fillImageSourceType','getSkeletonParam','stroke-width','Transform','_addShapeAdjustControl','sheets-shape-ui.objectListPanel.open','fillType','_generateCopyPasteMutations','getObjectIncludeInGroup','CROSSHAIR','TRUE','getTextModel','getImage','SetSheetsShapeRotateCommand','_sheetShapeAdjustController','_cxtHandlerPointerUp','#1a73e8','_loadShapePictureFill','type','ShapeIcon','0\x200\x2016\x2016','getPresentation','ISidebarService','getDrawingDataForUnit','_drawingAddListener','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','registerFeaturePasteHook','_imageIoService','_drawRichTextLayer','_sidebarDisposable','DependentOn','getShapeType','getCanvasElement','ShapeArrowTypeEnum','setShapeData','left','isFinite','shape-format-setting-icon','sheets-shape-ui.quickStyles','DocRenderController','setSrcRect','registerShapeFormatPainter','getDrawingOKey','ContextMenuPosition','_registerImageShapeClipDelegate','beforeCommandExecuted','create','remove$','IconManager','string','index','forward','_getOrCreateShapeModel','sheets-shape-ui.config','beginPath','_sheetsShapeService','onReady','_shapeTextEditingService','ang','pipe','flipY','useMemo','getSheetId','_generateCutPasteMutations','_clearCompletionFrame','call','createShapeFormulaDocument','ShapeTypeEnum','OPERATION','_formulaKey','SheetsShapeUIContextualRibbonSchema','mergeMenu','UpdateSheetsShapeDataMutation','_groupCopyPasteController','size','_adjHandlerPointerMove','getTextStyle','ImageSourceTypeEnum','vertical','setShouldShowAdjust','getSheetCommandTarget','removeLinePoints','featurePluginUpdateNotification','ShapeTextRibbonControl','UniverCore','UniverSheetsDrawingUi','interceptCommand','SolidLine','shape-editor-ui.toolbar.quickStyles','isEditing','shapeData','setFillImage','text','objects','entries','updateContext','resolveShapeTextHyperLinkAt','InsertShapeCommand','_setTransForm','_hyperLinkRegions','M5.57564\x204.38825C5.80995\x204.62256\x206.18985\x204.62256\x206.42417\x204.38825L7.3999\x203.41251V9.63049C7.3999\x209.96186\x207.66853\x2010.2305\x207.9999\x2010.2305C8.33127\x2010.2305\x208.5999\x209.96186\x208.5999\x209.63049V3.41251L9.57564\x204.38825C9.80995\x204.62256\x2010.1899\x204.62256\x2010.4242\x204.38825C10.6585\x204.15393\x2010.6585\x203.77403\x2010.4242\x203.53972L8.4324\x201.54796C8.32324\x201.43445\x208.16982\x201.36382\x207.9999\x201.36382C7.82998\x201.36382\x207.67655\x201.43446\x207.56739\x201.54797L5.57564\x203.53972C5.34132\x203.77403\x205.34132\x204.15393\x205.57564\x204.38825Z','clipByShape','copyType','SheetsShapeService','rect','plainShapeTextToDocumentData','name','@univerjs-pro/license','SheetInterceptorService','ShapePickerDropdown','shapeKey','end','_univerInstanceService','sheet.operation.open-sheet-shape-format-panel','ShapeEditPanel','ShapeQuickStyleGallery','None','createShapeTextHyperLinkRegions','_updateImageAdjValues','SheetScrollManagerService','adjHandleSize','M2.2\x208H3.8','sheet.menu.shape.flip-vertical','INSERT','refreshFormulaPresentation','non-scaling-stroke','IUndoRedoService','sheet.shape.text.float-menu','_activeAdjustInfo','sheets-shape-contextual-ribbon','hidden','getShapeTextData','ShapeArrowSizeEnum','IRenderManagerService','M4.2\x208.3H6.8','M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','_contextService','SHEET_SHAPE_UI_PLUGIN','_hasReset','setConfig','getDrawingByParam','querySelectorAll','UndoRedoGroupService','bottom','disposeWithMe','dataModel','972975UUmOKZ','description','getImageSourceCache','UNIVER_DOC','ShapeTextEditorContainer','setFallbackVisible','drawing-ui.objectListPanel.lockAll','xlink:href','drawing-ui.objectListPanel.search','getOrCreateDrawingCopyPlan','UniverEngineRender','IImageIoService','startY','unitId','REMOVE','getAutoFitPresentations','sheet.operation.open-mobile-shape-editor','sheets-shape-ui.ribbon.shape-format.arrange-front','_configService','@univerjs/core','@univerjs/sheets','_registerMoveHandler','resolveShapeTextHyperLinkObject','RIBBON','getAdjustValueByName','isDrawingObject','716535lIMvXU','_initCommands','with','trim','copyId','delete','_handleBasicShapeUpdateConnectorLineShape','add','min','M8.57975\x2014.5902L6.58023\x2012.5907C6.34591\x2012.3564\x206.34591\x2011.9765\x206.58023\x2011.7421C6.81454\x2011.5078\x207.19444\x2011.5078\x207.42876\x2011.7421L8.40449\x2012.7179V10.1664C8.40449\x209.83504\x208.67312\x209.56641\x209.00449\x209.56641C9.33586\x209.56641\x209.60449\x209.83504\x209.60449\x2010.1664V12.7179L10.5802\x2011.7421C10.8145\x2011.5078\x2011.1944\x2011.5078\x2011.4288\x2011.7421C11.6631\x2011.9765\x2011.6631\x2012.3564\x2011.4288\x2012.5907L9.42923\x2014.5902','shape-editor-ui.arrange.back','_shapes','currentAdjustValues','UniverSheetsDrawingMobileUIPlugin','Tools','connection-site-','getUnitType','flatMap','adjHandleStroke','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','clip-adj-','defs','focus$','dispose','_registerDrawingMoveHandler','getViewportByCell','bottom-icon','shapeId','_shapeId','getDrawingData','resolveActiveShapeQuickStylePresetId','SheetsShapeUIMenuSchema','TopmostIcon','2sFOpFj','OTHERS','isolated','_isImagePointerDown','refreshAdjustControls','Observable','UniverDrawing','_sidebarService','drawing-ui.objectListPanel.expand','redo','_transformCalculateSrcRect','MoveDownIcon','drawing-ui.objectListPanel.filterHidden','_activeShapeId','startX','permissionPointUpdate$','debounceRefreshControls','backward','evenodd','@univerjs/drawing-ui','updateDocumentDataMargin','buildClipPath','getCurrentRangeDisable$','undo','abs','position','drawing-ui.objectListPanel.unlockAll','unsubscribe','_iconManager','FlipHorizontalIcon','CustomCommandExecutionError','getEditing','getMatrix','highlighted','MenuManagerPosition','ShapeFloatingToolbarService','M1.25\x2013.036C1.25\x2012.1523\x201.96634\x2011.436\x202.85\x2011.436H13.15C14.0337\x2011.436\x2014.75\x2012.1523\x2014.75\x2013.036C14.75\x2013.9196\x2014.0337\x2014.636\x2013.15\x2014.636H2.85C1.96635\x2014.636\x201.25\x2013.9196\x201.25\x2013.036ZM2.85\x2012.636C2.62909\x2012.636\x202.45\x2012.8151\x202.45\x2013.036C2.45\x2013.2569\x202.62909\x2013.436\x202.85\x2013.436H13.15C13.3709\x2013.436\x2013.55\x2013.2569\x2013.55\x2013.036C13.55\x2012.8151\x2013.3709\x2012.636\x2013.15\x2012.636H2.85Z','_insertShapes','_localeService','_commandExecutedListener','UniverDrawingUi','defIds','shouldClipShapeTextDocument','drawing-ui.objectListPanel.hideAll','fontSize','Module','_isShouldShowDrawingShapeAdjust','_createCopyInfoByRange','90856qjiVmi','SetDrawingArrangeCommand','_index','UniverSheetsUIPlugin','_update','UniverProShapeEditorUi','viewportScrollY','animateFormulaPresentation','UniverSheetsShapePlugin','SetDrawingApplyMutation','_handleConnectorPointerUp','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','getRealBound','CopySheetCommand','cancelEditing','DRAWING_IMAGE','sectionCanvas','sheet.shape.floating-toolbar','deriveStateFromActiveSheet$','length','getDrawingShapeKeyByDrawingSearch','generateRandomId','UPDATE','focusDrawing','SetDrawingSelectedOperation','range','onDblclick$','_sheetPermissionCheckController','drawing-ui.objectListPanel.details','hadStyleAttribute','applyQuickStyleToShapeData','round','DocumentViewModel','M6.2\x208H7.8','offsetX','resize','drawings','_connectorObjects','OBJECT_LIST_FLOATING_SECTION_ID','drawFormulaShapeAnimationLayers','toDisposable','cxnPointRadius','ShapeFillEnum','CommandType','every','merge','_permissionService','object','visible$','getAdjustNames','UniverSheetsDrawingPlugin','_reset','ISheetDrawingService','drawingType','drawingId','getShapeTextRect','_sheetDrawingShapeRenderController','isHighlighted','registerRenderModule','Large','presentationChanged$','_disposed','formulaPresentation','UniverInstanceType','createControl$','getConnectionSiteList','_initPermission','670phyNMK','_connectionSiteObjects','UniverLicensePlugin','_transform','ShapeTextFloatToolbar','_initPrinting','scale','getCurrentSkeleton','isLineShape','onload','popup','getScene','_completionFrame','SHAPE_EDITOR_TRANSFORMER_CONFIG','ISheetClipboardService','changeStart$','getUnitId','createInternalEditorID','sheets-shape-ui','1.5.0','front','_clearPopups','bindRenderTransformerLifecycle','getShapeModel','transform','onTransformChange$','_cxnIndex','WorksheetCopyPermission','_currentScene','clip','_currentUniverService','get','DocumentDataModel','drawing-ui.objectListPanel.description','_createShapeAdjustControls','_menuManagerService','originalStrokeWidth','sheets-shape-ui.shape-format.formula-ribbon-control','resourceCollector','transformDrawingsToChartSheet','SheetPasteCommand','renderDrawingShape','jsxs','sheet.command.menu-insert-shape','getDrawingPoints','changeEnd$','initShapePopupMenu','drawing-ui.objectListPanel.typeNames.','unregister','clearAdjustValue','@univerjs/docs-ui','clearActiveDrawingObjects','_sheetBasicShapeConnectionPointController','selectable','_baseHeight','getParent','IPermissionService','drawing-ui.objectListPanel.showAll','filter','vertical-center','_shapeUpdateListener','subUnitId','drawing-ui.objectListPanel.title','@univerjs/design','getEndConnectInfo','_isStartConnectorPoint','DrawingCommonPanel','M3.3\x202.6L8\x206.2L12.7\x202.6H3.3Z','getShapeQuickStyleType','contentVerticalOffset','CHART','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','_activeAdjustPointList','ComponentManager','getState','discreteRangeToRange','ShapeTextHyperLinkPopupService','drawing-ui.objectListPanel.unlock','updateShapeFillImage','_unitId','sheets-shape-ui.formatShape','shouldAllowShapeTextEditorHostSizeShrink','push','getShapeTypeById','FormatPainterSessionService','_adjHandlerPointerUp','actualHeight','cxnIndex','transformForAngle','panel','refreshTransform','UniverSheetsUi','cxnPointFill','contentHeight','restore','assign','sheet.operation.close-sheet-shape-format-panel','custom','_registerComponents','_activeShapeAdjustPointList','groupId','viewBox','completeEditing','extensionGroups','Line','_clearShapeConnectorHandlerObjects','replace','calcAdjValues','_insertingShapeKeys','keys','UniverDocs','_currentConnectionTarget','hasAttribute','Arrow','UUID','scene','SetSheetDrawingCommand','ConnectorCoordinateTransform','useState','updateConnectionDetection','prepareShapeTextDocumentData','M1.50439\x209C1.50439\x208.11634\x202.22074\x207.4\x203.10439\x207.4H13.4044C14.288\x207.4\x2015.0044\x208.11634\x2015.0044\x209C15.0044\x209.88366\x2014.2881\x2010.6\x2013.4044\x2010.6H3.1044C2.22074\x2010.6\x201.50439\x209.88366\x201.50439\x209ZM3.10439\x208.6C2.88348\x208.6\x202.70439\x208.77909\x202.70439\x209C2.70439\x209.22091\x202.88348\x209.4\x203.1044\x209.4H13.4044C13.6253\x209.4\x2013.8044\x209.22091\x2013.8044\x209C13.8044\x208.77909\x2013.6253\x208.6\x2013.4044\x208.6H3.10439Z','_activeShapeInfo','registerClipDelegate','set','ShapeTextFloatMenuRenderControllerBase','Plugin','onSavingEditorData$','_baseWidth','sheets-shape-text-','M8\x202.2V3.8','getValue','ObjectLayersIcon','addClipboardHook','top-center','shape-editor-ui.arrange.front','RemoveSheetsShapeMutation','_hide','endConnectionDetection','transformToAxisAlignPosition','Inject','setAdjustValueByName','onerror','style','BehaviorSubject','makeDirty','div','stroke','UniverDrawingPlugin','_lastEditingShapeKey','clone','activeAnObject','VIEW_MAIN_LEFT','parseFloat','drawing.operation.set-drawing-active','colorChannel1','_handleConnectedEndpointPointerUp','M8\x2010.2V11.8','values','shapeText','ShapeFloatingToolbar','ShapeFormatSettingIcon','wrapStrategy','transformByState','_getImageDrawingInfo','ICommandService','clipTop','sqrt','getObject','getPropertyPriority','switchMap','_initEditingParams','removeAttribute','setShapeProps','_disposePopups','_canEdit','executeCommand','classType','useFormulaShapeToolbar','UniverSheetsPlugin','ShapeRenderModeEnum','parent','_registerFeatureMenu','@univerjs/sheets-ui','MobileObjectListPanel','sheet.menu.shape.flip-horizontal','getBoundingClientRect','calculate','UniverIcon','UNIVER_SHEET','_addShapeConnectorHandlerObject','DRAWING','setOnSavingEditorData','close','isRenderLinePointsMode','options','WorkbookCopyPermission','sheet.operation.apply-shape-quick-style','svg','@univerjs/sheets-drawing','getCurrentTypeOfUnit$','ILayoutService','enableObjectsEvent','getShapeDataById','_resetState','data','updateDocumentStyle','applyPoint','UniverProLicense','SHEET','_openShapeEditPanel','SheetCanvasPopManagerService','onCommandExecuted','_subUnitId','30786MbyIGt','height','resolveHyperLinkAt','DocEventManagerService','_copyInfo','shapeType','forwardRef','_getScrollInfo','_baseLeft','sheet.shape.object-list.panel','getBatchRemoveOp','srcRect','IUniverInstanceService','onStarting','formulaBinding','PictureFill','_sheetSkeletonService','_drawShapeText','_formulaShapes','_clearFocusedShape','_draggingConnectorId','getTransformerByCreate','computeConnectorResizeLayout','cxnPointStroke','_permissions','startConnectionDetection','getConnectionRelation','Documents','drawing-ui.objectListPanel.sectionCanvas','top','ancestorTransform','visible','decorate','_shapeFloatingToolbarService','resolveShapeTextEditorBehaviorShapeData','interceptor','getBatchUpdateOp','includes','DEFAULT_SHAPE_HEIGHT','M14.0045\x204.4334C14.8881\x204.4334\x2015.6045\x203.71705\x2015.6045\x202.8334C15.6045\x201.94974\x2014.8881\x201.2334\x2014.0045\x201.2334H3.70449C2.82084\x201.2334\x202.10449\x201.94974\x202.10449\x202.8334C2.10449\x203.71705\x202.82084\x204.4334\x203.70449\x204.4334H14.0045ZM14.4045\x202.8334C14.4045\x203.05431\x2014.2254\x203.2334\x2014.0045\x203.2334H3.70449C3.48358\x203.2334\x203.30449\x203.05431\x203.30449\x202.8334C3.30449\x202.61248\x203.48358\x202.4334\x203.70449\x202.4334H14.0045C14.2254\x202.4334\x2014.4045\x202.61249\x2014.4045\x202.8334Z','sheets-shape-ui.ribbon.shape-format.formula-control','@univerjs-pro/shape-editor','save','univer-box-border\x20univer-px-4\x20univer-text-sm','constructor','DRAWING_OBJECT_LAYER_INDEX','_registerDrawingFocusChangeHandler','_formulaAnimation','_visible','viewBound','_sheetPrintInterceptorService','getDrawingVisible','16749GQSDuh','getStartConnectInfo','_closeShapeEditPanel','@univerjs/sheets-drawing-ui','sectionFloating','_clipService','isReleased','_updateShapeAdjustControls','_adjName','Medium','activeSheet$','_handleConnectedEndpointMove','_clearConnectionSites','getUnit','next','DocSelectionManagerService','DrawingApplyType','useRef','SheetShapeTextEditorContainer','MenuItemType','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','MobileDropdown','224dDVqnT','_componentManager','getConnectorLinePoints','_initEvents','_generateChartSheetCopy','insertGroupObject','getColorFromTheme','cos','routeConnectorLineShape','_baseShapeHeight','rotation','SetShapeDrawingDataCommand','complete','BottomIcon','DrawingTypeEnum','drawing-ui.objectListPanel.unlockHint','_injector','useReducer','gradientEndColor','M8\x206.2V7.8','getDrawingEffectBounds','getSheetBySheetId','_executeConnectedRouteResizeCommand','setContextValue','_updateTransform','GRID','sheets-shape-ui.ribbon.shape-format.style-control','worldRect','SheetTypes','ShapeGroupEnum','sheetTransform','image-clip-adjust-point-','removeProperty','SolidFill','_generatePasteMutations','TOP','SHAPE','PREDEFINED_HOOK_NAME','_sheetClipboardService','_registerGroupFeaturePasteHook','sheet.command.update-shape-data','isStartConnectorPoint','endArrow','onPointerDown$','relation','drawing-ui.objectListPanel.sectionFloating','strokeWidth','sheet.image-clip.shape-picker.component','useId','_baseDrawingRect','Circle','sheetViewStartRow','_createControls','addObject','render','syncExecuteCommand','getCurrentUnitInfo','RibbonInsertGroup','SetSheetsShapeTextVerticalToggleCommand','ShapeFormulaService','_sheetDrawingService','_attachConnectorObjectEvent','React','applySheetDrawingPlacement','actions','_drawingManagerService','getBatchAddOp','_getImagePrstGeom','buildShapeTextDataUpdate','EMPTY','drawing-ui.objectListPanel.collapse','drawing-ui.objectListPanel.nameInput','M14\x208H14.2','components','prstGeomAdjValues','clipHeight','Vector2','VIEW_MAIN_TOP','SHEET_VIEWPORT_KEY','_isOpenedShapeEditPanel','Disposable','getCurrentScrollState','isConnectorShape','add$','register','_handleFreeEndpointPointerUp','multiply','shape-editor-ui.arrange.backward','exports','idSuffix','_sheetInterceptorService','_shapeEditPanelVersion','SheetPrintInterceptorService','width','SHAPE_TEXT','1em','defer','cxnPointStrokeWidth','http://www.w3.org/2000/svg','UniverDesign','MoveUpIcon','element','CHART_PAGE','drawing-ui.objectListPanel.dragToReorder','_getSceneAndTransformerByDrawingSearch','transformToDrawingPosition','getActualSize','_attachAdjustEvent','@univerjs-pro/sheets-shape','resolveShapeTextDocumentPageHeight','resetCursor','cloneShapeDataForType','adjName','UniverUi','computeStraightConnectorLayout','editingParams$','M13.5\x207V4.29412C13.5\x203.5794\x2012.8679\x203\x2012\x203H2.57143C1.70356\x203\x201.5\x203.5794\x201.5\x204.29412V7V10C1.5\x2010.7147\x201.70356\x2011\x202.57143\x2011H7.71429','priority','clearAdjustControls','refreshShapeFillImage','M3.3\x2013.4L8\x209.8L12.7\x2013.4H3.3Z','DRAWING_SHAPE','_renderManagerService','getInverseCoord','_popupMenuListener','pluginName','InsertSheetsShapeMutation','WorkbookEditablePermission','disableShapeOption','Injector','skeleton','useObservable','image','_onSavingEditorData$','sheets-shape-format-font-family-menu','_initCopyPaste','ShapeTextHyperLinkHoverController','_cxtHandlerPointerMove','color','_baseTop','fillImageSource','getDrawingSearch','setHighlighted','canvasElement','FOCUSING_COMMON_DRAWINGS','registerFeatureMenu','_calculateFreeEndpointAngle','_loadAndSetImage','axisAlignSheetTransform','SheetDrawingAnchorType','resolveFormulaShapeAutoFitSize','map','getSkeleton','version','packageName','attachPopupToObject','sheets-shape-ui.shape-format.style-ribbon-control','open','worldPoints','useDependency','_executeConnectionCommand','ShapeLineTypeEnum','disconnect','normalizeShapeTextModel','getTransformer'];_0x376c=function(){return _0x5a2347;};return _0x376c();}