@univerjs-pro/sheets-shape-ui 1.0.3 → 1.1.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.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +22 -22
- package/lib/types/commands/command/set-shape-text-align.command.d.ts +0 -5
- package/lib/types/commands/command/set-shape-text-style.command.d.ts +0 -7
- package/lib/types/commands/command/set-shape-text-vertical-align.command.d.ts +0 -5
- package/lib/types/commands/command/shape-doc-align.command.d.ts +0 -10
- package/lib/types/commands/menu/menu-dependencies.d.ts +0 -2
- package/lib/types/commands/menu/object-list.menu.d.ts +0 -4
- package/lib/types/commands/menu/shape-doc-format.menu.d.ts +0 -19
- package/lib/types/commands/menu/shape-font-size.menu.d.ts +0 -6
- package/lib/types/commands/menu/shape-text-align.menu.d.ts +0 -10
- package/lib/types/commands/menu/shape-vertical-align.menu.d.ts +0 -10
- package/lib/types/commands/operations/actvie-drawing-operation.d.ts +0 -2
- package/lib/types/view-model/shape-data-model.d.ts +0 -8
- package/lib/types/views/ShapeOptions.d.ts +0 -26
- package/lib/types/views/shape-editor-panel/ShapeLineEditor.d.ts +0 -12
- package/lib/types/views/shape-editor-panel/index.d.ts +0 -1
- package/lib/types/views/shape-text-editor/ShapeTextFloatToolbar.d.ts +0 -2
- package/lib/types/views/shapes.d.ts +0 -58
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x4eb18e,_0x3b0847){const _0x4a9774=_0x43eb,_0x52ccfa=_0x4eb18e();while(!![]){try{const _0x33c3f0=parseInt(_0x4a9774(0xe0))/0x1+parseInt(_0x4a9774(0x2da))/0x2*(parseInt(_0x4a9774(0x49c))/0x3)+-parseInt(_0x4a9774(0x373))/0x4*(-parseInt(_0x4a9774(0x1d1))/0x5)+parseInt(_0x4a9774(0x3fd))/0x6+parseInt(_0x4a9774(0x496))/0x7*(-parseInt(_0x4a9774(0x436))/0x8)+-parseInt(_0x4a9774(0x392))/0x9*(parseInt(_0x4a9774(0x276))/0xa)+parseInt(_0x4a9774(0x1f1))/0xb*(-parseInt(_0x4a9774(0x133))/0xc);if(_0x33c3f0===_0x3b0847)break;else _0x52ccfa['push'](_0x52ccfa['shift']());}catch(_0x295712){_0x52ccfa['push'](_0x52ccfa['shift']());}}}(_0x5c87,0x5c01e),function(_0x5b5efb,_0x3ed35a){const _0x64d21d=_0x43eb;typeof exports=='object'&&typeof module<'u'?_0x3ed35a(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==_0x64d21d(0x34f)&&define[_0x64d21d(0x15c)]?define(['exports',_0x64d21d(0x2e1),_0x64d21d(0x189),_0x64d21d(0x37a),_0x64d21d(0x424),_0x64d21d(0x28e),_0x64d21d(0x46d),_0x64d21d(0x14f),_0x64d21d(0x1bf),_0x64d21d(0x460),_0x64d21d(0x3bd),_0x64d21d(0xf2),_0x64d21d(0x38c),_0x64d21d(0x43f),_0x64d21d(0x240),_0x64d21d(0x482),'@univerjs-pro/license','@univerjs/docs',_0x64d21d(0x3eb),_0x64d21d(0x3e1),_0x64d21d(0x498)],_0x3ed35a):(_0x5b5efb=typeof globalThis<'u'?globalThis:_0x5b5efb||self,_0x3ed35a(_0x5b5efb[_0x64d21d(0x4b5)]={},_0x5b5efb[_0x64d21d(0x10d)],_0x5b5efb[_0x64d21d(0x2ce)],_0x5b5efb[_0x64d21d(0x20d)],_0x5b5efb[_0x64d21d(0x4b9)],_0x5b5efb[_0x64d21d(0x1a4)],_0x5b5efb[_0x64d21d(0x1da)],_0x5b5efb[_0x64d21d(0x2a1)],_0x5b5efb[_0x64d21d(0x170)],_0x5b5efb[_0x64d21d(0x18a)],_0x5b5efb['UniverSheetsUi'],_0x5b5efb[_0x64d21d(0xf2)],_0x5b5efb['UniverDrawingUi'],_0x5b5efb[_0x64d21d(0x36e)],_0x5b5efb[_0x64d21d(0x27a)],_0x5b5efb[_0x64d21d(0x122)],_0x5b5efb[_0x64d21d(0x3d7)],_0x5b5efb[_0x64d21d(0x4ce)],_0x5b5efb[_0x64d21d(0x298)],_0x5b5efb[_0x64d21d(0x29e)],_0x5b5efb[_0x64d21d(0x27a)]));}(this,function(_0x507edb,_0x2a9d6c,_0x2f96d6,_0x287478,_0x54f73f,_0x276c17,_0x383631,_0x111c96,_0x279593,_0x1c3608,_0x261221,_0x4250df,_0x129810,_0x4a69b4,_0x4170e1,_0x72b203,_0x42a3f1,_0x1a7a3e,_0x12171b,_0x44e77f,_0x6ed98f){const _0x5671d9=_0x43eb;Object[_0x5671d9(0x406)](_0x507edb,Symbol[_0x5671d9(0x1c0)],{'value':_0x5671d9(0x210)});function _0xb7aa57(_0x5093cd,_0x37ed40){const _0x31ad8b=_0x5671d9;let _0x19bc6a={};for(let _0x6303e0 of Object[_0x31ad8b(0x144)](_0x37ed40)){let _0x314a9b=_0x37ed40[_0x6303e0],_0xba0905=_0x5093cd[_0x6303e0];if(_0xba0905===void 0x0){_0x19bc6a[_0x6303e0]=void 0x0;continue;}_0x19bc6a[_0x6303e0]=typeof _0x314a9b==_0x31ad8b(0x2a6)&&_0x314a9b&&!Array['isArray'](_0x314a9b)&&typeof _0xba0905==_0x31ad8b(0x2a6)&&_0xba0905&&!Array[_0x31ad8b(0xfd)](_0xba0905)?_0xb7aa57(_0xba0905,_0x314a9b):_0xba0905;}return _0x19bc6a;}let _0x57882a={'type':_0x383631[_0x5671d9(0x465)]['COMMAND'],'id':_0x5671d9(0x2e6),'handler':(_0x32190a,_0x1440ae)=>{const _0x583390=_0x5671d9;let _0x1bb302=_0x32190a[_0x583390(0x4be)](_0x276c17[_0x583390(0x188)]),{unitId:_0x20f0c2,subUnitId:_0x51b67a,shapeType:_0x44519e,shapeId:_0x34ff61,shapeData:_0x12e917,replaceShapeData:_0x3a109f,oldShapeJSON:_0xb9ace9}=_0x1440ae;if(!_0x1bb302['getShapeModel'](_0x20f0c2,_0x51b67a,_0x34ff61))return!0x1;let _0x2b8fd5=_0x32190a[_0x583390(0x4be)](_0x383631[_0x583390(0x24e)]),_0x1b2e5b=_0x32190a[_0x583390(0x4be)](_0x383631[_0x583390(0x42c)]),{oldShapeType:_0x25e398,oldShapeData:_0x3bada5={}}=_0xb9ace9,_0x5acaa4=_0x3a109f?_0x3bada5:_0xb7aa57(_0x3bada5,_0x12e917||{}),_0x550432={'id':_0x276c17[_0x583390(0x250)]['id'],'params':{'unitId':_0x20f0c2,'subUnitId':_0x51b67a,'shapeId':_0x34ff61,'shapeType':_0x44519e,'shapeData':_0x12e917,'replace':_0x3a109f}},_0x46ecb6={'id':_0x276c17[_0x583390(0x250)]['id'],'params':{'unitId':_0x20f0c2,'subUnitId':_0x51b67a,'shapeId':_0x34ff61,'shapeType':_0x25e398,'shapeData':_0x5acaa4,'replace':_0x3a109f}};return _0x2b8fd5[_0x583390(0x3e7)](_0x550432['id'],_0x550432[_0x583390(0x4a7)])?(_0x1b2e5b['pushUndoRedo']({'unitID':_0x20f0c2,'undoMutations':[_0x46ecb6],'redoMutations':[_0x550432]}),!0x0):!0x1;}};function _0x100eae(_0x22d077,_0x13a906,_0xc1d87d,_0x50c42c,_0x2e1307,_0x5f53e7){const _0x5d780f=_0x5671d9;let _0x43093f={'unitId':_0x13a906,'subUnitId':_0xc1d87d,'shapeId':_0x50c42c,'shapeData':_0x5f53e7,'oldShapeJSON':_0x2e1307};return _0x22d077[_0x5d780f(0x1f9)](_0x57882a['id'],_0x43093f);}function _0x9cff5f(_0x2e7b42,_0x354f72,_0x13b8bc,_0x499c9e,_0x2f331c,_0xa2f9cf){const _0x386ac6=_0x5671d9;let _0x3d1e1c={'unitId':_0x354f72,'subUnitId':_0x13b8bc,'shapeId':_0x499c9e,'shapeData':_0xa2f9cf,'oldShapeJSON':_0x2f331c};return _0x2e7b42[_0x386ac6(0x1f9)](_0x57882a['id'],_0x3d1e1c);}function _0xde59e4(_0x353c65){'@babel/helpers - typeof';const _0x4e20a1=_0x5671d9;return _0xde59e4=typeof Symbol=='function'&&typeof Symbol[_0x4e20a1(0x312)]==_0x4e20a1(0x2e2)?function(_0x10d338){return typeof _0x10d338;}:function(_0x4b2e10){const _0x19cceb=_0x4e20a1;return _0x4b2e10&&typeof Symbol=='function'&&_0x4b2e10[_0x19cceb(0x4c8)]===Symbol&&_0x4b2e10!==Symbol[_0x19cceb(0x268)]?'symbol':typeof _0x4b2e10;},_0xde59e4(_0x353c65);}function _0x4c1c39(_0x3de7f3,_0xdb3fc3){const _0x463363=_0x5671d9;if(_0xde59e4(_0x3de7f3)!=_0x463363(0x2a6)||!_0x3de7f3)return _0x3de7f3;var _0x1ba9c9=_0x3de7f3[Symbol[_0x463363(0x2b6)]];if(_0x1ba9c9!==void 0x0){var _0x41c089=_0x1ba9c9[_0x463363(0x14a)](_0x3de7f3,_0xdb3fc3||_0x463363(0x4c1));if(_0xde59e4(_0x41c089)!=_0x463363(0x2a6))return _0x41c089;throw TypeError(_0x463363(0x316));}return(_0xdb3fc3===_0x463363(0x3d1)?String:Number)(_0x3de7f3);}function _0x575482(_0x520cf1){const _0x824799=_0x5671d9;var _0x2e78ec=_0x4c1c39(_0x520cf1,_0x824799(0x3d1));return _0xde59e4(_0x2e78ec)==_0x824799(0x2e2)?_0x2e78ec:_0x2e78ec+'';}function _0x20dccc(_0x2c1955,_0xe10b27,_0x7b999b){const _0x59f7f4=_0x5671d9;return(_0xe10b27=_0x575482(_0xe10b27))in _0x2c1955?Object[_0x59f7f4(0x406)](_0x2c1955,_0xe10b27,{'value':_0x7b999b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2c1955[_0xe10b27]=_0x7b999b,_0x2c1955;}function _0x1fbcfe(_0x5beed9,_0x3774c1,_0x3ccb09){const _0x30f500=_0x5671d9;let _0x17ae4d={..._0x3774c1,'dataModel':{..._0x3774c1['dataModel']??{},..._0x3ccb09?{'doc':_0x3ccb09}:null}},_0x535b07=(0x0,_0x2a9d6c[_0x30f500(0x1d9)])(_0x5beed9,_0x17ae4d),_0x46c994=(0x0,_0x2a9d6c[_0x30f500(0x3c7)])(_0x535b07);return{'clip':(0x0,_0x2a9d6c[_0x30f500(0x423)])(_0x535b07,_0x46c994),'wrapStrategy':_0x46c994};}var _0x23237e=class extends _0x1c3608[_0x5671d9(0x42f)]{constructor(_0x2b3d86,_0x2c9de2){const _0x13e933=_0x5671d9;super(_0x2b3d86,_0x2c9de2),_0x20dccc(this,_0x13e933(0x332),[]),_0x20dccc(this,_0x13e933(0x10f),void 0x0),_0x20dccc(this,_0x13e933(0x1f5),new _0x2a9d6c[(_0x13e933(0x169))](()=>this[_0x13e933(0x33a)](!0x0),()=>this['_applyFormulaAutoFitSize']())),_0x20dccc(this,_0x13e933(0x1d3),!0x0),_0x20dccc(this,_0x13e933(0x2d9),_0x383631[_0x13e933(0x286)][_0x13e933(0x456)]),_0x20dccc(this,_0x13e933(0x186),!0x0),this[_0x13e933(0x10f)]={..._0x2c9de2},this[_0x13e933(0x1f5)]['setPresentation'](_0x2c9de2['formulaPresentation'],_0x2c9de2[_0x13e933(0x46c)]!==!0x1),this['_init'](),this['_applyFormulaAutoFitSize']();}[_0x5671d9(0x2fa)](){const _0x203f91=_0x5671d9;this[_0x203f91(0x164)][_0x203f91(0x17a)](_0x4ed3b3=>{const _0x4a6c65=_0x203f91;this[_0x4a6c65(0x1d2)](_0x4ed3b3);});}[_0x5671d9(0x408)](_0x7fc041){this['_props']['prstGeom']=_0x7fc041;}[_0x5671d9(0x469)](_0xb44ac5){const _0x109441=_0x5671d9;if(this[_0x109441(0x10f)]['isEditing'])return null;let _0x57d8a4=this[_0x109441(0x39b)](_0xb44ac5),{width:_0x402ec0,height:_0x4f4bc6}=this[_0x109441(0x275)]();return(0x0,_0x2a9d6c['resolveShapeTextHyperLinkAt'])(this[_0x109441(0x332)],{'x':(this['flipX']?-_0x57d8a4['x']:_0x57d8a4['x'])+_0x402ec0/0x2,'y':_0x57d8a4['y']+_0x4f4bc6/0x2});}[_0x5671d9(0x2b2)](_0x262ad9){const _0x50cb77=_0x5671d9;this[_0x50cb77(0x10f)][_0x50cb77(0x179)]=_0x262ad9,this[_0x50cb77(0x33a)](!0x0);}[_0x5671d9(0x40c)](_0x31c6de,_0x5463f6=!0x0){const _0x365260=_0x5671d9;this[_0x365260(0x1f5)][_0x365260(0x25b)](_0x31c6de,_0x5463f6),this[_0x365260(0x10f)]['formulaPresentation']=_0x31c6de,this[_0x365260(0x4c2)](),this[_0x365260(0x33a)](!0x0);}[_0x5671d9(0x4c2)](){const _0x32aa1c=_0x5671d9;let _0x531842=this[_0x32aa1c(0x10f)][_0x32aa1c(0xc9)],_0x55484b=_0x531842[_0x32aa1c(0x4bd)](),_0x324cd3=(0x0,_0x2a9d6c[_0x32aa1c(0x120)])(_0x55484b==null?void 0x0:_0x55484b[_0x32aa1c(0x1c9)]),_0x148dc1=_0x324cd3==null?void 0x0:_0x324cd3[_0x32aa1c(0x149)],_0x59c12c=this[_0x32aa1c(0x1f5)][_0x32aa1c(0x4bc)]();if(!_0x148dc1||_0x59c12c['length']===0x0)return;_0x531842['updateContext']({'width':this[_0x32aa1c(0x439)],'height':this['height']});let _0x17c3bb=(0x0,_0x2a9d6c[_0x32aa1c(0x21a)])({'documentData':_0x59c12c[_0x32aa1c(0x3da)](_0x2eba95=>(0x0,_0x54f73f[_0x32aa1c(0x22c)])(_0x148dc1,_0x2eba95)),'height':this[_0x32aa1c(0x2ea)],'shapeData':_0x531842['getShapeData'](),'textRect':_0x531842[_0x32aa1c(0x35e)]({'left':0x0,'top':0x0,'width':this[_0x32aa1c(0x439)],'height':this[_0x32aa1c(0x2ea)]}),'width':this[_0x32aa1c(0x439)]});if(_0x17c3bb){var _0xc921c0;this[_0x32aa1c(0xde)](_0x17c3bb['width'],_0x17c3bb[_0x32aa1c(0x2ea)]),(_0xc921c0=this[_0x32aa1c(0x31e)]())==null||(_0xc921c0=_0xc921c0[_0x32aa1c(0x492)]())==null||_0xc921c0[_0x32aa1c(0x285)]();}}get[_0x5671d9(0x173)](){const _0x476ebd=_0x5671d9;return this['_props'][_0x476ebd(0x173)];}get[_0x5671d9(0x135)](){const _0x37f9e3=_0x5671d9;return this['_props'][_0x37f9e3(0x135)];}[_0x5671d9(0x1d2)](_0x1e719f){const _0x52e9b6=_0x5671d9;if(this[_0x52e9b6(0x10f)][_0x52e9b6(0x3cc)]==null||!this[_0x52e9b6(0x1d3)])return;let {width:_0x13c334,height:_0x1f675a}=this,{width:_0x3e1a96=0x0,height:_0x18eacd=0x0}=_0x1e719f[_0x52e9b6(0xc4)],{left:_0x6adf9e=0x0,top:_0x46ff8e=0x0,right:_0x5ee532=0x0,bottom:_0x13a30e=0x0}=this['_props']['srcRect'],_0x34ac43=_0x6adf9e,_0x4d991a=_0x46ff8e,_0x205c00=_0x5ee532,_0x4bab12=_0x13a30e,_0x394fd0=!0x1;if(_0x3e1a96!==0x0&&_0x3e1a96!==_0x13c334){let _0x570dbb=_0x6adf9e/_0x3e1a96,_0x5f140e=_0x5ee532/_0x3e1a96;_0x34ac43=_0x13c334*_0x570dbb,_0x205c00=_0x13c334*_0x5f140e,_0x394fd0=!0x0;}if(_0x18eacd!==0x0&&_0x18eacd!==_0x1f675a){let _0x1a569c=_0x46ff8e/_0x18eacd,_0x7ad4e6=_0x13a30e/_0x18eacd;_0x4d991a=_0x1f675a*_0x1a569c,_0x4bab12=_0x1f675a*_0x7ad4e6,_0x394fd0=!0x0;}_0x394fd0&&this[_0x52e9b6(0x19a)]({'left':_0x34ac43,'top':_0x4d991a,'right':_0x205c00,'bottom':_0x4bab12});}[_0x5671d9(0x19a)](_0x1bc92e){const _0x3b89ba=_0x5671d9;this[_0x3b89ba(0x10f)][_0x3b89ba(0x3cc)]=_0x1bc92e,this[_0x3b89ba(0x33a)](!0x0);}['setFillImage'](_0x305295){const _0x84862=_0x5671d9;this[_0x84862(0x10f)][_0x84862(0x2c4)]=_0x305295,this[_0x84862(0x33a)](!0x0);}set['transform'](_0x20f3f3){const _0x11b81a=_0x5671d9;this[_0x11b81a(0x459)]=_0x20f3f3;}get[_0x5671d9(0x2c6)](){const _0x9d5a18=_0x5671d9;this[_0x9d5a18(0x459)]||this[_0x9d5a18(0x25e)]();let _0x188ae5=this[_0x9d5a18(0x459)][_0x9d5a18(0x4b1)]();return this['transformForAngle'](_0x188ae5);}get['shapeModel'](){const _0x37f8af=_0x5671d9;return this[_0x37f8af(0x10f)][_0x37f8af(0xc9)];}get['shapeId'](){const _0x47308b=_0x5671d9;return this[_0x47308b(0x10f)][_0x47308b(0x37d)];}get[_0x5671d9(0x12f)](){const _0x52a8e8=_0x5671d9;return _0x1c3608[_0x52a8e8(0x3dd)][_0x52a8e8(0x277)];}['_draw'](_0x2662fc,_0x1ee12f,_0x200cac,_0x308bf6){const _0x568de4=_0x5671d9;let _0x474be5=this[_0x568de4(0x10f)][_0x568de4(0xc9)];if(!_0x474be5||!_0x1ee12f)return;let _0x59ef92=_0x200cac??this['width'],_0x522098=_0x308bf6??this[_0x568de4(0x2ea)],_0x2ea74d={'shapeType':_0x474be5[_0x568de4(0x347)](),'width':_0x59ef92,'height':_0x522098},_0x2c8768={'renderMode':_0x287478[_0x568de4(0x31f)]['Path'],'oKey':this[_0x568de4(0x1ed)],'image':this['_props'][_0x568de4(0x2c4)],'angle':this['angle']};_0x474be5['updateContext'](_0x2ea74d),_0x2662fc['save']();let _0x3fd150={'top':0x0,'left':0x0,'width':_0x59ef92,'height':_0x522098},_0x39262d=_0x474be5['getDrawingEffectBounds'](_0x3fd150);_0x39262d?this[_0x568de4(0x453)](_0x2662fc,_0x39262d,_0xf315d4=>{const _0xbf7a50=_0x568de4;_0x474be5[_0xbf7a50(0x489)](_0xf315d4,_0x3fd150,_0x2c8768);}):(this[_0x568de4(0xd5)](),_0x474be5[_0x568de4(0x489)](_0x2662fc,_0x3fd150,_0x2c8768)),_0x2662fc['restore']();let _0x3580f9=_0x474be5['getShapeTextData'](),_0x982e7c=_0x474be5[_0x568de4(0x35e)](_0x3fd150),_0x3d0b8a=_0x474be5[_0x568de4(0x35b)]();if(_0x3580f9&&_0x982e7c&&!_0x3d0b8a){_0x2662fc['save'](),this[_0x568de4(0x352)]()[_0x568de4(0x160)]&&_0x2662fc[_0x568de4(0x43b)](-0x1,0x1);let _0x2391c7=_0x59ef92/0x2,_0x50e831=_0x522098/0x2;_0x2662fc[_0x568de4(0x1e3)](-_0x2391c7,-_0x50e831),_0x2662fc[_0x568de4(0x1aa)](),this[_0x568de4(0x3ac)](_0x2662fc,_0x3580f9,_0x982e7c),_0x2662fc[_0x568de4(0xc7)]();}}['getDrawingPoints'](_0x1861c7){}['_drawShapeText'](_0xa142c8,_0x28f9c6,_0x2ae75d){const _0x2d3a9b=_0x5671d9;var _0xdf2f78;this[_0x2d3a9b(0x332)]=[],!this['_props'][_0x2d3a9b(0x179)]&&(!((_0xdf2f78=_0x28f9c6[_0x2d3a9b(0x1c9)])!=null&&_0xdf2f78[_0x2d3a9b(0x149)])&&'isRichText'in _0x28f9c6&&_0x28f9c6[_0x2d3a9b(0x318)]===!0x1?this['_drawSimpleText'](_0xa142c8,_0x28f9c6,_0x2ae75d):this[_0x2d3a9b(0x336)](_0xa142c8,_0x28f9c6,_0x2ae75d));}['_drawSimpleText'](_0x2b61ae,_0x2e6be0,_0x1a7095){const _0x38fbf1=_0x5671d9;this['_drawRichText'](_0x2b61ae,{..._0x2e6be0,'text':_0x2e6be0['text']??'','dataModel':{'doc':(0x0,_0x2a9d6c[_0x38fbf1(0x202)])(_0x2e6be0,_0x38fbf1(0x36f)+this[_0x38fbf1(0x1ed)])}},_0x1a7095);}['_drawRichText'](_0x55bf18,_0x288786,_0x1dd5f7){const _0x390b32=_0x5671d9;(0x0,_0x2a9d6c[_0x390b32(0x44f)])(_0x55bf18,this['_formulaAnimation'],(_0xb793f8,_0x168224,_0x551359)=>{const _0x3caf5c=_0x390b32;this[_0x3caf5c(0x17c)](_0xb793f8,_0x288786,_0x1dd5f7,_0x168224,_0x551359===_0x3caf5c(0x441));});}[_0x5671d9(0x17c)](_0x184e5e,_0x52017d,_0x4506f4,_0x4241a9,_0x551ac1){const _0x4242a0=_0x5671d9;let _0x5f00ad=this[_0x4242a0(0x10f)][_0x4242a0(0x1b0)];if(!_0x52017d[_0x4242a0(0x1c9)]||!_0x5f00ad)return;let _0x14a6b4=(0x0,_0x2a9d6c[_0x4242a0(0x120)])(_0x52017d['dataModel']);if(!_0x14a6b4)return;let _0xd7d8eb=_0x14a6b4['doc'];if(!_0xd7d8eb)return;let _0x34da7e=(0x0,_0x54f73f[_0x4242a0(0x22c)])(_0xd7d8eb,_0x4241a9),_0x229082=_0x14a6b4['va']??_0x383631[_0x4242a0(0x2aa)]['TOP'],_0x466697=_0x14a6b4['ha']??_0x383631[_0x4242a0(0x379)][_0x4242a0(0x319)],_0xc14a7f=_0x1fbcfe(this[_0x4242a0(0x10f)][_0x4242a0(0xc9)][_0x4242a0(0xe8)](),_0x52017d,_0x34da7e),_0x1fb41a=_0x52017d[_0x4242a0(0x18e)],_0x1d1f43=(0x0,_0x2a9d6c[_0x4242a0(0x2bd)])(_0x34da7e,{'isHorizontal':_0x1fb41a!==!0x1,'textRect':_0x4506f4,'verticalAlign':_0x229082,'horizontalAlign':_0x466697,'wrapStrategy':_0xc14a7f[_0x4242a0(0x43d)]}),_0x2f9b22=new _0x383631['DocumentDataModel'](_0x1d1f43),_0x5711bb=new _0x1c3608['DocumentViewModel'](_0x2f9b22),_0x55f332=_0x1c3608[_0x4242a0(0xef)]['create'](_0x5711bb,_0x5f00ad);_0x55f332[_0x4242a0(0x48b)]();let _0x366bcf=_0x55f332[_0x4242a0(0x4ac)]()['actualHeight'],_0x3186ff=(0x0,_0x2a9d6c[_0x4242a0(0x29a)])({'contentHeight':_0x366bcf,'verticalAlign':_0x229082,'viewportHeight':_0x4506f4[_0x4242a0(0x2ea)]});_0x2f9b22[_0x4242a0(0x1af)]({'pageSize':{'width':_0x1fb41a===!0x1?_0x4506f4[_0x4242a0(0x2ea)]:_0x4506f4[_0x4242a0(0x439)],'height':(0x0,_0x2a9d6c[_0x4242a0(0x355)])(_0x34da7e,_0x3186ff[_0x4242a0(0x211)])}}),_0x2f9b22[_0x4242a0(0x3b7)]({'t':_0x3186ff['marginTop']}),_0x55f332['calculate']();let _0x2f00d9=new _0x1c3608[(_0x4242a0(0x1f4))](_0x4242a0(0x30d)+this[_0x4242a0(0x1ed)],_0x55f332,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this['makeDirty'](!0x0)});_0x2f00d9[_0x4242a0(0xde)](_0x4506f4[_0x4242a0(0x439)],_0x3186ff[_0x4242a0(0x211)]),_0x184e5e[_0x4242a0(0x47a)](),_0x184e5e[_0x4242a0(0x4af)](_0x4506f4[_0x4242a0(0x32c)],_0x4506f4[_0x4242a0(0x1e1)]),_0xc14a7f[_0x4242a0(0x357)]&&(_0x184e5e[_0x4242a0(0x1aa)](),_0x184e5e[_0x4242a0(0x1d0)](0x0,_0x3186ff[_0x4242a0(0x30f)],_0x4506f4['width'],_0x3186ff[_0x4242a0(0x111)]),_0x184e5e[_0x4242a0(0x357)]()),_0x3186ff[_0x4242a0(0x2b5)]&&_0x184e5e[_0x4242a0(0x4af)](0x0,_0x3186ff['contentVerticalOffset']),_0x2f00d9[_0x4242a0(0x418)](_0x184e5e),_0x551ac1&&(this[_0x4242a0(0x332)]=(0x0,_0x2a9d6c['createShapeTextHyperLinkRegions'])(_0x2f00d9,{'left':_0x4506f4[_0x4242a0(0x32c)],'top':_0x4506f4[_0x4242a0(0x1e1)]+_0x3186ff['contentVerticalOffset']},_0xc14a7f[_0x4242a0(0x357)]?{'left':_0x4506f4['left'],'right':_0x4506f4['left']+_0x4506f4[_0x4242a0(0x439)],'top':_0x4506f4[_0x4242a0(0x1e1)]+_0x3186ff[_0x4242a0(0x30f)],'bottom':_0x4506f4['top']+_0x3186ff[_0x4242a0(0x30f)]+_0x3186ff['clipHeight']}:void 0x0)),_0x184e5e[_0x4242a0(0xc7)](),_0x2f00d9['dispose'](),_0x55f332[_0x4242a0(0x39f)](),_0x5711bb[_0x4242a0(0x39f)](),_0x2f9b22[_0x4242a0(0x39f)]();}['render'](_0x1dc9ab,_0x24a7a2,_0x2f8bac=!0x1){const _0x2950bf=_0x5671d9;if(!this[_0x2950bf(0x167)])return this[_0x2950bf(0x33a)](!0x1),this;let {width:_0x56c9f7,height:_0x2e9476,left:_0x488fff,top:_0x450225}=this,_0x31baf3=this[_0x2950bf(0x275)]();if(_0x56c9f7=_0x31baf3[_0x2950bf(0x439)],_0x2e9476=_0x31baf3[_0x2950bf(0x2ea)],_0x488fff=_0x31baf3['left'],_0x450225=_0x31baf3[_0x2950bf(0x1e1)],this[_0x2950bf(0x22d)](_0x24a7a2)){let {top:_0x414eb2,left:_0x1bfa98,bottom:_0x5b3962,right:_0x25f0f9}=_0x24a7a2['viewBound'];if(_0x56c9f7+this[_0x2950bf(0x3fa)]+_0x488fff<_0x1bfa98||_0x25f0f9<_0x488fff||_0x2e9476+this[_0x2950bf(0x3fa)]+_0x450225<_0x414eb2||_0x5b3962<_0x450225)return this;}let _0x1cda67=_0x488fff+_0x56c9f7/0x2,_0x51a021=_0x450225+_0x2e9476/0x2,_0x2f86a1=this[_0x2950bf(0x2c6)][_0x2950bf(0x35d)]();if(this[_0x2950bf(0x10f)][_0x2950bf(0x179)]){let _0xbfeca5=this[_0x2950bf(0x352)](),_0x317d6c=new _0x1c3608[(_0x2950bf(0xd2))]();_0x317d6c[_0x2950bf(0x2ad)]({..._0xbfeca5}),_0x2f86a1=_0x317d6c[_0x2950bf(0x35d)]();}return _0x1dc9ab[_0x2950bf(0x47a)](),this[_0x2950bf(0x10f)][_0x2950bf(0xc9)][_0x2950bf(0x1e0)]===!0x0||_0x1dc9ab[_0x2950bf(0x2c6)](_0x2f86a1[0x0],_0x2f86a1[0x1],_0x2f86a1[0x2],_0x2f86a1[0x3],_0x1cda67,_0x51a021),this[_0x2950bf(0x23d)](_0x1dc9ab,_0x24a7a2,_0x56c9f7,_0x2e9476),_0x1dc9ab['restore'](),this[_0x2950bf(0x33a)](!0x1),this;}['getInverseCoord'](_0x4170db){const _0xf13c42=_0x5671d9;let {left:_0x5eeccc,top:_0x11596d,width:_0x500d49,height:_0x5dc36e}=this['getRealBound'](),_0x32bfde=this[_0xf13c42(0x2c6)][_0xf13c42(0x35d)](),_0x585f6e=_0x5eeccc+_0x500d49/0x2,_0xc1d480=_0x11596d+_0x5dc36e/0x2,_0x4fd4e8=new _0x1c3608['Transform']([_0x32bfde[0x0],_0x32bfde[0x1],_0x32bfde[0x2],_0x32bfde[0x3],_0x585f6e,_0xc1d480]),_0x250f50=this['getParent']();return(this[_0xf13c42(0x2e8)]&&(_0x250f50==null?void 0x0:_0x250f50['classType'])===_0x1c3608[_0xf13c42(0x3dd)][_0xf13c42(0x480)]?_0x250f50[_0xf13c42(0xc8)][_0xf13c42(0x449)](_0x4fd4e8):_0x4fd4e8)['invert']()[_0xf13c42(0x1ca)](_0x4170db);}[_0x5671d9(0x343)](_0x5e378d){const _0x299d12=_0x5671d9;let {left:_0x2b07b8,top:_0x1d9640,width:_0x1d83ab,height:_0x37615e}=this[_0x299d12(0x275)](),_0x3a4b54=_0x2b07b8+_0x1d83ab/0x2,_0x2aba51=_0x1d9640+_0x37615e/0x2,_0x893ebc=this[_0x299d12(0x2c6)][_0x299d12(0x35d)](),_0x1e7548=new _0x1c3608[(_0x299d12(0xd2))]([_0x893ebc[0x0],_0x893ebc[0x1],_0x893ebc[0x2],_0x893ebc[0x3],_0x3a4b54,_0x2aba51]),_0x50668f=this[_0x299d12(0x38f)](),_0x3db136=(this['isInGroup']&&(_0x50668f==null?void 0x0:_0x50668f[_0x299d12(0x12f)])===_0x1c3608[_0x299d12(0x3dd)][_0x299d12(0x480)]?_0x50668f[_0x299d12(0xc8)][_0x299d12(0x449)](_0x1e7548):_0x1e7548)[_0x299d12(0x13f)]()['applyPoint'](_0x5e378d),_0x1dea29=_0x1d83ab/0x2,_0x47c435=_0x37615e/0x2,_0xed90a3=this['_props'][_0x299d12(0xc9)];return _0xed90a3&&_0xed90a3['isLineShape']()?_0xed90a3[_0x299d12(0x2a2)](_0x3db136['x'],_0x3db136['y'],_0x1d83ab,_0x37615e):_0x3db136['x']>=-_0x1dea29-this[_0x299d12(0x3fa)]/0x2&&_0x3db136['x']<=_0x1dea29+this[_0x299d12(0x3fa)]/0x2&&_0x3db136['y']>=-_0x47c435-this[_0x299d12(0x3fa)]/0x2&&_0x3db136['y']<=_0x47c435+this[_0x299d12(0x3fa)]/0x2;}['dispose'](){const _0x26ccb6=_0x5671d9;this[_0x26ccb6(0x1f5)][_0x26ccb6(0x39f)](),this[_0x26ccb6(0x10f)][_0x26ccb6(0xc9)]=null,super[_0x26ccb6(0x39f)]();}},_0x180d91=class extends _0x1c3608[_0x5671d9(0x42f)]{constructor(_0x583b20,_0x3f6d65){const _0x275593=_0x5671d9;super(_0x583b20,_0x3f6d65),_0x20dccc(this,_0x275593(0x397),null),_0x20dccc(this,'_adjName',null),_0x20dccc(this,_0x275593(0x48e),null),_0x20dccc(this,_0x275593(0x1f0),null),_0x3f6d65&&this[_0x275593(0x172)](_0x3f6d65);}[_0x5671d9(0x4cd)](){const _0x176a4a=_0x5671d9;return{'unitId':this[_0x176a4a(0x48e)],'subUnitId':this[_0x176a4a(0x1f0)],'drawingId':this[_0x176a4a(0x397)]};}[_0x5671d9(0x172)](_0x10a5a6){const _0x235787=_0x5671d9;_0x10a5a6['shapeId']!==void 0x0&&(this[_0x235787(0x397)]=_0x10a5a6['shapeId']),_0x10a5a6[_0x235787(0x123)]!==void 0x0&&(this[_0x235787(0x134)]=_0x10a5a6[_0x235787(0x123)]),_0x10a5a6[_0x235787(0x173)]!==void 0x0&&(this['_unitId']=_0x10a5a6['unitId']),_0x10a5a6[_0x235787(0x135)]!==void 0x0&&(this[_0x235787(0x1f0)]=_0x10a5a6['subUnitId']),this['transformByState']({'width':_0x10a5a6[_0x235787(0x439)],'height':_0x10a5a6['height']});}[_0x5671d9(0x23d)](_0x5aef51){const _0x456ff3=_0x5671d9;_0x1c3608['Circle'][_0x456ff3(0xda)](_0x5aef51,{'radius':_0x287478['ShapeDefaultConfig'][_0x456ff3(0x14b)],'fill':_0x287478[_0x456ff3(0x10a)][_0x456ff3(0x227)],'stroke':_0x287478[_0x456ff3(0x10a)][_0x456ff3(0x232)],'strokeWidth':0x1,'evented':!0x0});}};function _0x4177c4(_0x4e47d4,_0x7023fa){return function(_0x13121e,_0x31d5bb){_0x7023fa(_0x13121e,_0x31d5bb,_0x4e47d4);};}function _0x25a2aa(_0x94e80f,_0x547508,_0x5376fd,_0x122217){const _0x30f80c=_0x5671d9;var _0x1bec09=arguments[_0x30f80c(0x175)],_0x1831f1=_0x1bec09<0x3?_0x547508:_0x122217===null?_0x122217=Object[_0x30f80c(0x1bb)](_0x547508,_0x5376fd):_0x122217,_0x56e97b;if(typeof Reflect==_0x30f80c(0x2a6)&&typeof Reflect[_0x30f80c(0x2be)]=='function')_0x1831f1=Reflect[_0x30f80c(0x2be)](_0x94e80f,_0x547508,_0x5376fd,_0x122217);else{for(var _0xbb18df=_0x94e80f[_0x30f80c(0x175)]-0x1;_0xbb18df>=0x0;_0xbb18df--)(_0x56e97b=_0x94e80f[_0xbb18df])&&(_0x1831f1=(_0x1bec09<0x3?_0x56e97b(_0x1831f1):_0x1bec09>0x3?_0x56e97b(_0x547508,_0x5376fd,_0x1831f1):_0x56e97b(_0x547508,_0x5376fd))||_0x1831f1);}return _0x1bec09>0x3&&_0x1831f1&&Object[_0x30f80c(0x406)](_0x547508,_0x5376fd,_0x1831f1),_0x1831f1;}let _0x57eebe=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x1b7567,_0x5d32c3,_0xadc00b,_0x3d60b4,_0x4535a5,_0x2d27a8){const _0x52242e=_0x5671d9;super(),this['_drawingManagerService']=_0x1b7567,this[_0x52242e(0xd0)]=_0x5d32c3,this[_0x52242e(0x114)]=_0xadc00b,this[_0x52242e(0x2a0)]=_0x3d60b4,this[_0x52242e(0x47b)]=_0x4535a5,this[_0x52242e(0x245)]=_0x2d27a8,_0x20dccc(this,_0x52242e(0x26d),new Map()),this[_0x52242e(0x252)](this[_0x52242e(0x245)]['presentationChanged$'][_0x52242e(0x317)](_0x33ce12=>{const _0x1a79e2=_0x52242e;var _0x376c9a;(_0x376c9a=this['_formulaShapes']['get'](this['_formulaKey'](_0x33ce12[_0x1a79e2(0x173)],_0x33ce12['subUnitId'],_0x33ce12[_0x1a79e2(0x37d)])))==null||_0x376c9a[_0x1a79e2(0x3a7)](_0x1465a5=>_0x1465a5['setFormulaPresentation'](_0x33ce12['presentation'],_0x33ce12[_0x1a79e2(0x159)]));})),this[_0x52242e(0x252)](this[_0x52242e(0x306)][_0x52242e(0x1d5)]['subscribe'](_0x13fa02=>{const _0x5aa981=_0x52242e;_0x13fa02[_0x5aa981(0x3a7)](_0x304dae=>{const _0x1d468d=_0x5aa981;this[_0x1d468d(0x245)][_0x1d468d(0x267)]({'unitId':_0x304dae[_0x1d468d(0x173)],'subUnitId':_0x304dae[_0x1d468d(0x135)],'shapeId':_0x304dae['drawingId']}),this[_0x1d468d(0x26d)][_0x1d468d(0x3b8)](this[_0x1d468d(0x28c)](_0x304dae[_0x1d468d(0x173)],_0x304dae['subUnitId'],_0x304dae[_0x1d468d(0x493)]));});}));}[_0x5671d9(0x3a0)](_0x5b77fb,_0x529d6e,_0x402ccc){const _0x589beb=_0x5671d9;let {transform:_0x19bf81,drawingType:_0x100f09,srcRect:_0x4ef97a,prstGeom:_0x51f949,groupId:_0x317108,unitId:_0x5ac789,subUnitId:_0x2d793e,drawingId:_0x2ba5aa,isMultiTransform:_0x1a6617,transforms:_0xbb930,hidden:_0x65d8df,selectable:_0x500f5a}=_0x5b77fb;if(_0x100f09!==_0x383631[_0x589beb(0x286)][_0x589beb(0x456)]||!this['_drawingManagerService'][_0x589beb(0xd4)]()||_0x19bf81==null)return;let _0x34c104=this[_0x589beb(0x306)]['getDrawingEditable'](),_0x5c00b8=_0x1a6617&&_0xbb930?_0xbb930:[_0x19bf81],_0x1c82f5=[];for(let _0x1c77b3 of _0x5c00b8){let {left:_0x2bcdab,top:_0x193660,width:_0x4ecabf,height:_0x1a05e6,angle:_0x25faca,flipX:_0xfe3378,flipY:_0x289f5b,skewX:_0x17ab34,skewY:_0x3a6cf3}=_0x1c77b3,_0x2c067c=_0x5c00b8[_0x589beb(0x360)](_0x1c77b3),_0x1a2475=(0x0,_0x279593['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x5ac789,'subUnitId':_0x2d793e,'drawingId':_0x2ba5aa},_0x1a6617?_0x2c067c:void 0x0),_0x3291b6=_0x529d6e[_0x589beb(0x327)](_0x1a2475);if(_0x3291b6!=null){let _0x5d077e={'unitId':_0x5ac789,'subUnitId':_0x2d793e,'shapeId':_0x2ba5aa};_0x3291b6 instanceof _0x23237e&&this[_0x589beb(0x273)](_0x3291b6,_0x5d077e),_0x3291b6[_0x589beb(0x315)]({'left':_0x2bcdab,'top':_0x193660,'width':_0x4ecabf,'height':_0x1a05e6,'angle':_0x25faca,'flipX':_0xfe3378,'flipY':_0x289f5b,'skewX':_0x17ab34,'skewY':_0x3a6cf3});continue;}let _0x1d55f6=this[_0x589beb(0x306)]['getDrawingOrder'](_0x5ac789,_0x2d793e),_0x267aa8=_0x1d55f6[_0x589beb(0x360)](_0x2ba5aa);if(_0x529d6e[_0x589beb(0x327)](_0x1a2475)||!this[_0x589beb(0x306)]['getDrawingVisible']())continue;let _0x271f4=this[_0x589beb(0xd0)]['getShapeModel'](_0x5ac789,_0x2d793e,_0x2ba5aa);if(!_0x271f4)continue;let _0x1bb54c=(0x0,_0x287478[_0x589beb(0x4d2)])(_0x271f4[_0x589beb(0x347)]())?{..._0x2a9d6c[_0x589beb(0x2b4)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x2a9d6c[_0x589beb(0x2b4)],_0x498bd9=_0x271f4['getShapeData']()[_0x589beb(0x339)],_0x5c9d28={'unitId':_0x5ac789,'subUnitId':_0x2d793e,'shapeId':_0x2ba5aa};_0x498bd9&&this[_0x589beb(0x245)]['register'](_0x5c9d28,_0x498bd9);let _0x566c34=new _0x23237e(_0x1a2475,{..._0x1c77b3,'zIndex':_0x267aa8===-0x1?_0x1d55f6['length']-0x1:_0x267aa8,'shapeModel':_0x271f4,'localeService':this[_0x589beb(0x114)],'shapeId':_0x2ba5aa,'unitId':_0x5ac789,'subUnitId':_0x2d793e,'visible':_0x65d8df!==!0x0,'evented':_0x500f5a!==!0x1,'formulaPresentation':_0x498bd9?this['_shapeFormulaService'][_0x589beb(0x155)](_0x5c9d28):void 0x0,'animateFormulaPresentation':(_0x498bd9==null?void 0x0:_0x498bd9[_0x589beb(0x159)])!==!0x1,'transformerConfig':_0x1bb54c});if(_0x498bd9){let _0x6fa705=this[_0x589beb(0x28c)](_0x5ac789,_0x2d793e,_0x2ba5aa),_0x3c7a07=this[_0x589beb(0x26d)][_0x589beb(0x4be)](_0x6fa705)??new Set();_0x3c7a07[_0x589beb(0x338)](_0x566c34),this[_0x589beb(0x26d)][_0x589beb(0x32d)](_0x6fa705,_0x3c7a07);}_0x529d6e[_0x589beb(0x13d)](_0x566c34,_0x1c3608['DRAWING_OBJECT_LAYER_INDEX']),_0x34c104&&_0x529d6e['attachTransformerTo'](_0x566c34),_0x317108&&(0x0,_0x129810[_0x589beb(0xeb)])({'drawingId':_0x317108,'unitId':_0x5ac789,'subUnitId':_0x2d793e},_0x566c34,_0x529d6e,this['_drawingManagerService']),_0x51f949!=null&&_0x566c34[_0x589beb(0x408)](_0x51f949),_0x4ef97a!=null&&_0x566c34['setSrcRect'](_0x4ef97a);let _0x5d5c9e=this[_0x589beb(0x256)](_0x566c34,_0x271f4[_0x589beb(0xe8)]());if(_0x5d5c9e){var _0x2d8342;_0x402ccc==null||(_0x2d8342=_0x402ccc[_0x589beb(0x1a3)])==null||_0x2d8342[_0x589beb(0x338)](_0x5d5c9e);}_0x1c82f5[_0x589beb(0x27e)](_0x566c34);}return _0x1c82f5;}[_0x5671d9(0x28c)](_0x570768,_0x549ad7,_0x1fc4df){return _0x570768+'\x00'+_0x549ad7+'\x00'+_0x1fc4df;}['refreshFormulaPresentation'](_0x2d5074,_0x75afd0){const _0x276969=_0x5671d9;let _0x360259=this[_0x276969(0xd0)][_0x276969(0x3a8)](_0x75afd0[_0x276969(0x173)],_0x75afd0['subUnitId'],_0x75afd0['shapeId']),_0x2dd97f=_0x360259==null?void 0x0:_0x360259['getShapeData']()[_0x276969(0x339)],_0x2d96e5=this[_0x276969(0x28c)](_0x75afd0['unitId'],_0x75afd0[_0x276969(0x135)],_0x75afd0[_0x276969(0x37d)]);if(_0x2dd97f){this[_0x276969(0x245)][_0x276969(0x4c3)](_0x75afd0,_0x2dd97f);let _0x2783de=this[_0x276969(0x26d)][_0x276969(0x4be)](_0x2d96e5)??new Set();_0x2783de['add'](_0x2d5074),this[_0x276969(0x26d)]['set'](_0x2d96e5,_0x2783de);}else{var _0x458127;this[_0x276969(0x245)][_0x276969(0x267)](_0x75afd0),(_0x458127=this[_0x276969(0x26d)][_0x276969(0x4be)](_0x2d96e5))==null||_0x458127[_0x276969(0x3b8)](_0x2d5074);}_0x2d5074[_0x276969(0x40c)](_0x2dd97f?this[_0x276969(0x245)][_0x276969(0x155)](_0x75afd0):void 0x0,(_0x2dd97f==null?void 0x0:_0x2dd97f[_0x276969(0x159)])!==!0x1);}[_0x5671d9(0x4b8)](_0x56c8e3){const _0x396912=_0x5671d9;let _0x4dc252=_0x56c8e3['shapeModel'][_0x396912(0xe8)](),_0x586c14=_0x4dc252[_0x396912(0x3c6)];if(!_0x586c14||_0x586c14[_0x396912(0x2f1)]!==_0x287478[_0x396912(0x44a)][_0x396912(0x385)]||!_0x586c14[_0x396912(0x3b4)]){_0x56c8e3[_0x396912(0x2f5)](void 0x0);return;}this[_0x396912(0x256)](_0x56c8e3,_0x4dc252);}[_0x5671d9(0x256)](_0x2035cd,_0x53ad0c){const _0xc6637d=_0x5671d9;let _0x4ea9b1=_0x53ad0c[_0xc6637d(0x3c6)];if(!_0x4ea9b1||_0x4ea9b1[_0xc6637d(0x2f1)]!==_0x287478[_0xc6637d(0x44a)]['PictureFill']||!_0x4ea9b1[_0xc6637d(0x3b4)])return;let _0x3ff4b2=_0x4ea9b1[_0xc6637d(0x3b4)],_0xcd29ef=_0x4ea9b1[_0xc6637d(0x356)]??_0x287478['ImageSourceTypeEnum']['URL'],_0x21c487=this[_0xc6637d(0x2a0)]['getImageSourceCache'](_0x3ff4b2,_0xcd29ef);if(_0x21c487){_0x2035cd['setFillImage'](_0x21c487);return;}return this[_0xc6637d(0xe4)](_0x2035cd,_0x3ff4b2,_0xcd29ef);}async[_0x5671d9(0xe4)](_0x3ec374,_0x220783,_0x2d94ad){const _0x5b0504=_0x5671d9;let _0x22c3a1;try{if(_0x2d94ad===_0x287478[_0x5b0504(0x1f6)][_0x5b0504(0x18d)])_0x22c3a1=await this[_0x5b0504(0x2a0)]['getImage'](_0x220783);else{if(_0x2d94ad===_0x287478['ImageSourceTypeEnum'][_0x5b0504(0x458)])try{_0x22c3a1=await this[_0x5b0504(0x47b)]['getImage'](_0x220783);}catch{_0x22c3a1=_0x220783;}else _0x22c3a1=_0x220783;}}catch(_0x14ad71){console[_0x5b0504(0x2fc)](_0x5b0504(0x305),_0x14ad71);return;}await new Promise(_0x2ef8c9=>{const _0x3f0735=_0x5b0504;let _0x567e73=new window['Image']();_0x567e73[_0x3f0735(0x1cf)]=()=>{const _0x4a5ee9=_0x3f0735;this[_0x4a5ee9(0x2a0)][_0x4a5ee9(0x1ce)](_0x220783,_0x2d94ad,_0x567e73),_0x3ec374['setFillImage'](_0x567e73),_0x2ef8c9();},_0x567e73[_0x3f0735(0x42e)]=()=>{const _0x435912=_0x3f0735;console['error'](_0x435912(0x29b),_0x220783),_0x2ef8c9();},_0x567e73[_0x3f0735(0x2cb)]=_0x22c3a1;});}};_0x57eebe=_0x25a2aa([_0x4177c4(0x0,_0x279593[_0x5671d9(0xf1)]),_0x4177c4(0x1,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x276c17[_0x5671d9(0x188)])),_0x4177c4(0x2,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x383631['LocaleService'])),_0x4177c4(0x3,_0x383631[_0x5671d9(0x110)]),_0x4177c4(0x4,_0x383631['IURLImageService']),_0x4177c4(0x5,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x54f73f[_0x5671d9(0x484)]))],_0x57eebe);let _0x243401=class extends _0x383631['Disposable']{constructor(_0x3979ac,_0x17ef94,_0x6b9d2f,_0x2ceac2,_0x2225be,_0x5bd028){const _0x3ff34e=_0x5671d9;super(),this[_0x3ff34e(0x306)]=_0x3979ac,this['_sheetsShapeService']=_0x17ef94,this[_0x3ff34e(0x42d)]=_0x6b9d2f,this[_0x3ff34e(0x488)]=_0x2ceac2,this[_0x3ff34e(0x434)]=_0x2225be,this['_commandService']=_0x5bd028,_0x20dccc(this,_0x3ff34e(0x166),null),_0x20dccc(this,'_unitId',null),_0x20dccc(this,_0x3ff34e(0x1f0),null),_0x20dccc(this,_0x3ff34e(0x182),void 0x0),_0x20dccc(this,_0x3ff34e(0x236),[]),_0x20dccc(this,_0x3ff34e(0x2dc),0x0),_0x20dccc(this,_0x3ff34e(0x216),0x0),_0x20dccc(this,_0x3ff34e(0x4aa),0x0),_0x20dccc(this,'_baseShapeHeight',0x0),_0x20dccc(this,'_isStartAdjusting',!0x1),_0x20dccc(this,_0x3ff34e(0x23a),void 0x0),_0x20dccc(this,_0x3ff34e(0x194),void 0x0),_0x20dccc(this,'_adjHandlerPointerMove',void 0x0),_0x20dccc(this,_0x3ff34e(0x115),void 0x0),_0x20dccc(this,_0x3ff34e(0x18b),!0x1),this[_0x3ff34e(0x365)](),this['_registerDrawingMoveHandler']();}[_0x5671d9(0x3c3)](_0x1c91cb,_0x1a8bef,_0x485533){const _0x303068=_0x5671d9;let _0xf34d91=this[_0x303068(0xd0)][_0x303068(0x3a8)](_0x1c91cb,_0x1a8bef,_0x485533);if(_0xf34d91)return _0xf34d91[_0x303068(0x247)]();}['clearAdjustControls'](){const _0x4b25a1=_0x5671d9;this[_0x4b25a1(0x3ec)]();}['refreshAdjustControls'](){const _0x3d7ab4=_0x5671d9;this[_0x3d7ab4(0x2ab)](!0x0);}[_0x5671d9(0xdc)](_0x11845e){const _0x1e9ad3=_0x5671d9;this[_0x1e9ad3(0x18b)]=_0x11845e;}['_getShapeAdjustInfosById'](_0x2630e1,_0x411a9c,_0x4b1a0f,_0x11b25e){const _0x3ff3d7=_0x5671d9;let _0x383489=this[_0x3ff3d7(0xd0)][_0x3ff3d7(0x3a8)](_0x2630e1,_0x411a9c,_0x4b1a0f);if(_0x383489)return _0x383489[_0x3ff3d7(0x12b)](_0x11b25e);}['_createShapeAdjustControls'](_0x2f6719=!0x1){const _0x45c018=_0x5671d9;if(this[_0x45c018(0x48e)]===null||this[_0x45c018(0x1f0)]===null||this[_0x45c018(0x166)]===null)return;let _0x1b001f=this[_0x45c018(0x42d)]['getRenderUnitById'](this[_0x45c018(0x48e)]);if(!_0x1b001f||!_0x1b001f[_0x45c018(0x438)](_0x261221['SheetSkeletonManagerService'])['getCurrentSkeleton']())return;let {scene:_0x1a4d70}=_0x1b001f,_0x56a167={'unitId':this[_0x45c018(0x48e)],'subUnitId':this[_0x45c018(0x1f0)],'drawingId':this[_0x45c018(0x166)]},_0x1ca60b=this[_0x45c018(0x306)][_0x45c018(0x14d)](_0x56a167),{transform:_0x3167c5}=_0x1ca60b;if(!_0x3167c5||_0x1ca60b[_0x45c018(0x3d6)]!==_0x383631[_0x45c018(0x286)][_0x45c018(0x456)])return;let {left:_0x235448,top:_0x38984e,width:_0x31bfdf,height:_0x2033f2,flipX:_0x5275e0,flipY:_0x30a9af,angle:_0x2b044c=0x0}=_0x3167c5;if(_0x235448===void 0x0||_0x38984e===void 0x0)return;if(_0x2f6719){let _0x26356c=this[_0x45c018(0xd0)][_0x45c018(0x3a8)](this['_unitId'],this[_0x45c018(0x1f0)],this['_activeShapeId']);_0x26356c==null||_0x26356c[_0x45c018(0x288)]({'width':_0x31bfdf??0x0,'height':_0x2033f2??0x0}),this['_activeShapeAdjustPointList']=_0x26356c==null?void 0x0:_0x26356c[_0x45c018(0x247)]();}let _0x75916c=this[_0x45c018(0x182)];for(let _0x388e7a=0x0;_0x388e7a<_0x75916c['length'];_0x388e7a++){let _0x3de2ae=_0x75916c[_0x388e7a],_0x7afdbd=_0x3de2ae['x'],_0x3d3a68=_0x3de2ae['y'];if(_0x5275e0&&(_0x7afdbd=(_0x31bfdf||0x0)-_0x7afdbd),_0x30a9af&&(_0x3d3a68=(_0x2033f2||0x0)-_0x3d3a68),_0x2b044c!==0x0){let _0x19a7f9=(_0x31bfdf||0x0)/0x2,_0xcb8812=(_0x2033f2||0x0)/0x2,_0x429e81=_0x2b044c*Math['PI']/0xb4,_0x2d3bb1=Math[_0x45c018(0x3bb)](_0x429e81),_0x29ed95=Math[_0x45c018(0x417)](_0x429e81),_0x42fba9=_0x7afdbd-_0x19a7f9,_0x2141c3=_0x3d3a68-_0xcb8812;_0x7afdbd=_0x19a7f9+(_0x42fba9*_0x2d3bb1-_0x2141c3*_0x29ed95),_0x3d3a68=_0xcb8812+(_0x42fba9*_0x29ed95+_0x2141c3*_0x2d3bb1);}let _0x118cee={'x':_0x7afdbd,'y':_0x3d3a68,'adjName':_0x3de2ae[_0x45c018(0x123)]};this[_0x45c018(0x337)](_0x1a4d70,_0x118cee,_0x118cee['adjName'],_0x235448,_0x38984e,this['_unitId'],this[_0x45c018(0x1f0)]);}}['_updateShapeAdjustControls'](_0x4f561c=!0x1){_0x4f561c&&(this['_clearShapeAdjustControls'](),this['_createShapeAdjustControls'](_0x4f561c));}['_addShapeAdjustControl'](_0x223bc4,_0x51420c,_0x457e06,_0x43e6cb,_0x4a874a,_0x2918b0,_0x35561a){const _0x255b74=_0x5671d9;if(!this[_0x255b74(0x166)])return;let _0x5ced91=_0x223bc4[_0x255b74(0x327)](_0x255b74(0x381)+this[_0x255b74(0x166)]+'-'+_0x457e06);if(_0x5ced91){_0x5ced91['transformByState']({'left':_0x51420c['x']+_0x43e6cb-_0x287478['ShapeDefaultConfig'][_0x255b74(0x14b)],'top':_0x51420c['y']+_0x4a874a-_0x287478[_0x255b74(0x10a)][_0x255b74(0x14b)]});return;}let _0x43a7a4={'left':_0x51420c['x']+_0x43e6cb-_0x287478[_0x255b74(0x10a)]['adjHandleSize'],'top':_0x51420c['y']+_0x4a874a-_0x287478[_0x255b74(0x10a)][_0x255b74(0x14b)],'adjName':_0x457e06,'shapeId':this[_0x255b74(0x166)],'unitId':_0x2918b0,'subUnitId':_0x35561a,'width':_0x287478['ShapeDefaultConfig']['adjHandleSize']+0x8,'height':_0x287478[_0x255b74(0x10a)]['adjHandleSize']+0x8,'zIndex':_0x1c3608[_0x255b74(0x28a)]+0x1,'evented':!0x0},_0x19728e=new _0x180d91(_0x255b74(0x381)+this[_0x255b74(0x166)]+'-'+_0x457e06,_0x43a7a4);this[_0x255b74(0x236)][_0x255b74(0x27e)](_0x19728e),this[_0x255b74(0x324)](_0x19728e,_0x223bc4,_0x457e06),_0x223bc4['addObject'](_0x19728e,_0x1c3608[_0x255b74(0x28a)]+0x1);}[_0x5671d9(0x3ec)](){const _0x5ea405=_0x5671d9;this[_0x5ea405(0x236)]['length']!==0x0&&(this[_0x5ea405(0x236)][_0x5ea405(0x3a7)](_0x6b698d=>{const _0x5c5e71=_0x5ea405;_0x6b698d[_0x5c5e71(0x39f)]();}),this[_0x5ea405(0x236)]=[]);}[_0x5671d9(0x350)](){const _0x8a7b06=_0x5671d9;this[_0x8a7b06(0x304)]();}['_getScrollInfo'](_0x5b0eb6,_0x2e1452){const _0x213830=_0x5671d9;var _0x52f5b0;let _0x269234={'x':0x0,'y':0x0};if(!_0x5b0eb6||!_0x2e1452)return _0x269234;let _0x37255e=this['_renderManagerService'][_0x213830(0x1fa)](_0x5b0eb6);if(!_0x37255e||!_0x37255e[_0x213830(0x438)](_0x261221[_0x213830(0x3fb)])['getSkeleton'](_0x2e1452))return _0x269234;let _0x10a22=_0x37255e[_0x213830(0x438)](_0x261221[_0x213830(0x1b5)]),_0x346a8e=_0x10a22==null?void 0x0:_0x10a22['getCurrentScrollState']();if(!_0x346a8e)return _0x269234;let _0x499f70=(_0x52f5b0=this[_0x213830(0x434)][_0x213830(0x147)](_0x5b0eb6))==null?void 0x0:_0x52f5b0[_0x213830(0x13a)](_0x2e1452);if(!_0x499f70)return _0x269234;let _0x199e22=(0x0,_0x261221[_0x213830(0x362)])(_0x346a8e[_0x213830(0xdb)],_0x346a8e[_0x213830(0x30a)],_0x37255e['scene'],_0x499f70);return _0x199e22?{'x':_0x199e22[_0x213830(0x2d8)],'y':_0x199e22[_0x213830(0x403)]}:_0x269234;}[_0x5671d9(0x36c)](_0x522661,_0x5b6bae){const _0x238090=_0x5671d9;var _0x131fc0;let _0x57197b=(_0x131fc0=this[_0x238090(0x434)][_0x238090(0x147)](_0x522661))==null?void 0x0:_0x131fc0[_0x238090(0x13a)](_0x5b6bae);return(_0x57197b==null?void 0x0:_0x57197b[_0x238090(0x1e5)]())??0x1;}['_attachAdjustEvent'](_0x55a405,_0x271958,_0x4fbbad){const _0x2e5376=_0x5671d9;this['disposeWithMe']((0x0,_0x383631['toDisposable'])(_0x55a405[_0x2e5376(0xe5)][_0x2e5376(0x17a)]((_0x172860,_0x24cd70)=>{const _0x392df8=_0x2e5376;var _0x196956,_0x5ca2d5,_0x49dedf,_0x16417a;let _0x5a30ca=_0x55a405[_0x392df8(0x4cd)]();this[_0x392df8(0x23a)]=this[_0x392df8(0x2e5)](_0x5a30ca[_0x392df8(0x173)],_0x5a30ca[_0x392df8(0x135)],_0x5a30ca[_0x392df8(0x493)],_0x4fbbad),this[_0x392df8(0x194)]=this[_0x392df8(0xd0)][_0x392df8(0x3a8)](_0x5a30ca['unitId'],_0x5a30ca['subUnitId'],_0x5a30ca[_0x392df8(0x493)]);let _0x355276=this[_0x392df8(0x306)][_0x392df8(0x14d)]({'unitId':this['_unitId'],'subUnitId':this[_0x392df8(0x1f0)],'drawingId':this['_activeShapeId']}),{transform:_0x314f8c}=_0x355276;if(_0x314f8c){let {left:_0x3c8840,top:_0x2135fe,width:_0xd09f7b,height:_0x3c2322}=_0x314f8c;this[_0x392df8(0x2dc)]=_0x3c8840||0x0,this['_baseShapeTop']=_0x2135fe||0x0,this['_baseShapeWidth']=_0xd09f7b||0x0,this['_baseShapeHeight']=_0x3c2322||0x0;}let _0x14a4dc=!!((_0x196956=_0x355276[_0x392df8(0x2c6)])!=null&&_0x196956[_0x392df8(0x160)]),_0x470994=!!((_0x5ca2d5=_0x355276[_0x392df8(0x2c6)])!=null&&_0x5ca2d5[_0x392df8(0x481)]),_0xc75c60=((_0x49dedf=_0x355276['transform'])==null?void 0x0:_0x49dedf[_0x392df8(0x46e)])||0x0;this[_0x392df8(0x1e7)]=!0x0,_0x271958[_0x392df8(0x457)]();let _0x3425ce={...((_0x16417a=this['_activeAdjustInfo'])==null?void 0x0:_0x16417a['currentAdjustValues'])??{}};this[_0x392df8(0x40e)]=_0x271958[_0x392df8(0x41a)]['subscribeEvent']((_0x3ff18d,_0x1bb040)=>{const _0x483d84=_0x392df8;if(!this['_isStartAdjusting'])return;let {offsetX:_0x46bc8f,offsetY:_0x45b751}=_0x3ff18d,_0x322b41=this[_0x483d84(0x23a)];if(this['_activeShapeModel']&&_0x322b41){_0x271958[_0x483d84(0x457)](),_0x271958['setCursor'](_0x1c3608[_0x483d84(0xf4)][_0x483d84(0x450)]);let _0x4e1f0d={'left':0x0,'top':0x0,'width':this['_baseShapeWidth'],'height':this[_0x483d84(0x49a)]},_0x2918ab=this[_0x483d84(0x4a4)](this[_0x483d84(0x48e)],this[_0x483d84(0x1f0)]),_0x10a531=this[_0x483d84(0x36c)](this[_0x483d84(0x48e)],this[_0x483d84(0x1f0)]),_0xd6d065=_0x46bc8f/_0x10a531+_0x2918ab['x']-this['_baseShapeLeft'],_0x34e7cb=_0x45b751/_0x10a531+_0x2918ab['y']-this[_0x483d84(0x216)];if(_0xc75c60!==0x0){let _0x4daf22=this['_baseShapeWidth']/0x2,_0x4ef221=this['_baseShapeHeight']/0x2,_0x21d8e6=_0xc75c60*Math['PI']/0xb4,_0x3897c8=Math[_0x483d84(0x3bb)](_0x21d8e6),_0x426cb4=Math[_0x483d84(0x417)](_0x21d8e6),_0x595c8e=_0xd6d065-_0x4daf22,_0x464b54=_0x34e7cb-_0x4ef221;_0xd6d065=_0x4daf22+(_0x595c8e*_0x3897c8+_0x464b54*_0x426cb4),_0x34e7cb=_0x4ef221+(-_0x595c8e*_0x426cb4+_0x464b54*_0x3897c8);}_0x14a4dc&&(_0xd6d065=this[_0x483d84(0x4aa)]-_0xd6d065),_0x470994&&(_0x34e7cb=this[_0x483d84(0x49a)]-_0x34e7cb);let _0x24f807={'x':_0xd6d065,'y':_0x34e7cb},_0xb3449e=this[_0x483d84(0x194)]['calcAdjValues'](_0x4e1f0d,_0x24f807,_0x322b41,_0x14a4dc,_0x470994);if(Object[_0x483d84(0x144)](_0xb3449e)[_0x483d84(0x175)]===0x0)return;for(let [_0x1a186e,_0x4456e6]of Object['entries'](_0xb3449e))this['_activeShapeModel'][_0x483d84(0x290)](_0x1a186e,_0x4456e6);this['_activeShapeModel']['updateContext']({'width':this[_0x483d84(0x4aa)],'height':this[_0x483d84(0x49a)]});let _0x3cad27=this[_0x483d84(0x306)][_0x483d84(0x14d)]({'unitId':_0x5a30ca[_0x483d84(0x173)],'subUnitId':_0x5a30ca[_0x483d84(0x135)],'drawingId':_0x5a30ca[_0x483d84(0x493)]});_0x3cad27&&(this[_0x483d84(0x488)][_0x483d84(0x3a0)](_0x3cad27,_0x271958),this[_0x483d84(0x182)]=this[_0x483d84(0x3c3)](_0x5a30ca[_0x483d84(0x173)],_0x5a30ca[_0x483d84(0x135)],_0x5a30ca[_0x483d84(0x493)]),this[_0x483d84(0x350)]());}_0x1bb040['stopPropagation']();}),this[_0x392df8(0x115)]=_0x271958['onPointerUp$'][_0x392df8(0x17a)]((_0x4826d6,_0x6922c5)=>{const _0x5d4b16=_0x392df8;this[_0x5d4b16(0x40e)][_0x5d4b16(0x165)](),this[_0x5d4b16(0x115)][_0x5d4b16(0x165)](),_0x271958[_0x5d4b16(0x238)]();let _0x5612f3=this['_activeAdjustInfo'];if(_0x5612f3){let _0x1c2d18=_0x5a30ca[_0x5d4b16(0x173)],_0x48467b=_0x5a30ca[_0x5d4b16(0x135)],_0x36a58b=_0x5a30ca[_0x5d4b16(0x493)],_0x583f92={};for(let _0x451cc8 of Object['keys'](_0x5612f3['currentAdjustValues'])){var _0x5abcd8;let _0x3dc9e5=(_0x5abcd8=this[_0x5d4b16(0x194)])==null?void 0x0:_0x5abcd8[_0x5d4b16(0x440)](_0x451cc8);_0x3dc9e5!==void 0x0&&(_0x583f92[_0x451cc8]=_0x3dc9e5);}Object[_0x5d4b16(0x144)](_0x583f92)[_0x5d4b16(0x175)]>0x0&&_0x100eae(this['_commandService'],_0x1c2d18,_0x48467b,_0x36a58b,{'oldShapeData':{'adjustValues':_0x3425ce}},{'adjustValues':_0x583f92});}this['_activeAdjustInfo']=void 0x0,this[_0x5d4b16(0x194)]=void 0x0,this['_isStartAdjusting']=!0x1,_0x6922c5[_0x5d4b16(0x425)](),_0x271958[_0x5d4b16(0x366)]();}),_0x24cd70[_0x392df8(0x425)]();})));}['_registerDrawingMoveHandler'](){const _0x56bd6a=_0x5671d9;let _0x9d9d08=this[_0x56bd6a(0x434)][_0x56bd6a(0x393)](_0x383631[_0x56bd6a(0x363)]['UNIVER_SHEET']);this['disposeWithMe'](_0x9d9d08[_0x56bd6a(0x33d)]((0x0,_0x4250df[_0x56bd6a(0x1bd)])(_0x581512=>_0x581512?_0x581512[_0x56bd6a(0x410)][_0x56bd6a(0x33d)]((0x0,_0x4250df[_0x56bd6a(0x1bd)])(_0x232661=>{const _0x4d25bf=_0x56bd6a;if(!_0x232661)return _0x4250df[_0x4d25bf(0x15b)];let _0x468691=_0x581512['getUnitId'](),_0x2ae39d=this[_0x4d25bf(0x42d)][_0x4d25bf(0x1fa)](_0x468691),_0x329c87=_0x2ae39d==null?void 0x0:_0x2ae39d[_0x4d25bf(0x333)];return _0x329c87?(0x0,_0x4250df['of'])(_0x329c87):_0x4250df[_0x4d25bf(0x15b)];})):_0x4250df['EMPTY']))[_0x56bd6a(0x317)](_0x1ad9aa=>{const _0x16a3d0=_0x56bd6a;let _0x29ad83=_0x1ad9aa[_0x16a3d0(0x178)]();this[_0x16a3d0(0x252)](_0x1ad9aa[_0x16a3d0(0x41a)][_0x16a3d0(0x17a)](()=>{this['_isShouldShowDrawingShapeAdjust'];})),this[_0x16a3d0(0x252)](_0x29ad83[_0x16a3d0(0x443)]['subscribe'](_0x2abe4e=>{const _0xd397f1=_0x16a3d0;let {objects:_0x364f8f}=_0x2abe4e;this[_0xd397f1(0x304)](),_0x364f8f!==null&&_0x364f8f[_0xd397f1(0x23c)]===0x1&&_0x364f8f[_0xd397f1(0x206)]()[_0xd397f1(0x289)]()[_0xd397f1(0x320)]instanceof _0x23237e&&this['setShouldShowAdjust'](!0x0);})),this[_0x16a3d0(0x252)](_0x29ad83[_0x16a3d0(0x1f8)][_0x16a3d0(0x317)](()=>{const _0x2a37bc=_0x16a3d0;this['_isShouldShowDrawingShapeAdjust']&&this[_0x2a37bc(0x3ec)]();})),this[_0x16a3d0(0x252)](_0x1ad9aa[_0x16a3d0(0x243)][_0x16a3d0(0x17a)](()=>{const _0x24dde9=_0x16a3d0;this[_0x24dde9(0x18b)]&&(this[_0x24dde9(0xdc)](!0x1),this[_0x24dde9(0x304)]());})),this['disposeWithMe'](_0x29ad83[_0x16a3d0(0x3c2)][_0x16a3d0(0x317)](()=>{const _0x2fa3da=_0x16a3d0;this['_unitId']&&this[_0x2fa3da(0x1f0)]&&this[_0x2fa3da(0x166)]&&this[_0x2fa3da(0x306)][_0x2fa3da(0x14d)]({'unitId':this[_0x2fa3da(0x48e)],'subUnitId':this[_0x2fa3da(0x1f0)],'drawingId':this[_0x2fa3da(0x166)]})&&(this[_0x2fa3da(0x182)]=this[_0x2fa3da(0x3c3)](this[_0x2fa3da(0x48e)],this['_subUnitId'],this['_activeShapeId']),this[_0x2fa3da(0x350)]());}));}));}[_0x5671d9(0x365)](){const _0x1e9314=_0x5671d9;this[_0x1e9314(0x252)](this['_commandService'][_0x1e9314(0x15d)](_0x52b18e=>{const _0x29f4b4=_0x1e9314;if(_0x52b18e['id']!==_0x276c17[_0x29f4b4(0x250)]['id'])return;let {unitId:_0x43f338,subUnitId:_0x139bc2,shapeId:_0x3469df}=_0x52b18e[_0x29f4b4(0x4a7)];_0x43f338===this['_unitId']&&_0x139bc2===this[_0x29f4b4(0x1f0)]&&_0x3469df===this[_0x29f4b4(0x166)]&&this[_0x29f4b4(0x310)]();})),this[_0x1e9314(0x252)](this[_0x1e9314(0x306)]['focus$'][_0x1e9314(0x317)](_0x17f854=>{const _0x24c1a8=_0x1e9314;if(_0x17f854[_0x24c1a8(0x175)]===0x1){let _0x4a1c64=_0x17f854[0x0];if(_0x4a1c64[_0x24c1a8(0x3d6)]===_0x383631['DrawingTypeEnum'][_0x24c1a8(0x456)]&&this[_0x24c1a8(0x434)][_0x24c1a8(0x129)](_0x4a1c64['unitId'])===_0x383631[_0x24c1a8(0x363)][_0x24c1a8(0x3e4)]){this[_0x24c1a8(0x166)]=_0x4a1c64[_0x24c1a8(0x493)];let {unitId:_0x2dc70d,subUnitId:_0x372029}=_0x4a1c64;this[_0x24c1a8(0x182)]=this['_getShapeAdjustPointListById'](_0x2dc70d,_0x372029,this['_activeShapeId']),this[_0x24c1a8(0x48e)]=_0x2dc70d,this['_subUnitId']=_0x372029,this[_0x24c1a8(0x3ec)](),this[_0x24c1a8(0x304)]();return;}}this[_0x24c1a8(0x166)]=null,this[_0x24c1a8(0x182)]=void 0x0,this['_unitId']=null,this[_0x24c1a8(0x1f0)]=null,this[_0x24c1a8(0x3ec)]();})),this[_0x1e9314(0x252)](this[_0x1e9314(0x306)]['update$'][_0x1e9314(0x317)](_0x129ff2=>{const _0x180bb2=_0x1e9314;if(_0x129ff2[_0x180bb2(0x175)]===0x1){var _0x47de8c;let _0x556a42=_0x129ff2[0x0];((_0x47de8c=this[_0x180bb2(0x306)][_0x180bb2(0x14d)](_0x556a42))==null?void 0x0:_0x47de8c[_0x180bb2(0x3d6)])===_0x383631[_0x180bb2(0x286)][_0x180bb2(0x456)]&&this[_0x180bb2(0x2ab)](!0x0);}})),this['disposeWithMe'](this[_0x1e9314(0x306)][_0x1e9314(0x1d5)]['subscribe'](_0x99e15e=>{const _0x1bf0e9=_0x1e9314;for(let _0x50b3d8 of _0x99e15e)this['_activeShapeId']===_0x50b3d8[_0x1bf0e9(0x493)]&&(this[_0x1bf0e9(0x166)]=null,this[_0x1bf0e9(0x182)]=void 0x0,this[_0x1bf0e9(0x48e)]=null,this[_0x1bf0e9(0x1f0)]=null,this[_0x1bf0e9(0x3ec)]());}));}};_0x243401=_0x25a2aa([_0x4177c4(0x0,_0x279593[_0x5671d9(0xf1)]),_0x4177c4(0x1,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x276c17[_0x5671d9(0x188)])),_0x4177c4(0x2,(0x0,_0x383631['Inject'])(_0x1c3608[_0x5671d9(0x1fd)])),_0x4177c4(0x3,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x57eebe)),_0x4177c4(0x4,_0x383631[_0x5671d9(0x1f7)]),_0x4177c4(0x5,_0x383631['ICommandService'])],_0x243401);let _0x39b8fc={'id':_0x5671d9(0x4a1),'type':_0x383631[_0x5671d9(0x465)]['OPERATION'],'handler':(_0x15ff7b,_0x2a82a5)=>{const _0x4541e9=_0x5671d9;let _0x22eea9=_0x15ff7b[_0x4541e9(0x4be)](_0x279593[_0x4541e9(0xf1)]),_0x5d9d6b=_0x15ff7b[_0x4541e9(0x4be)](_0x1c3608[_0x4541e9(0x1fd)]),_0xff89ea=_0x15ff7b['get'](_0x243401);if(_0x2a82a5==null)return!0x0;if(_0x2a82a5[_0x4541e9(0x175)]>0x0){var _0x425e1e;let _0x453638=(_0x425e1e=_0x5d9d6b[_0x4541e9(0x1fa)](_0x2a82a5[0x0]['unitId']))==null?void 0x0:_0x425e1e[_0x4541e9(0x333)];if(_0x453638){let {unitId:_0x978a9c,subUnitId:_0x5a06af,drawingId:_0x509807}=_0x2a82a5[0x0],_0x23ef14=(0x0,_0x279593[_0x4541e9(0x201)])({'unitId':_0x978a9c,'subUnitId':_0x5a06af,'drawingId':_0x509807},void 0x0),_0x3bf65d=_0x453638[_0x4541e9(0x327)](_0x23ef14);if(_0x3bf65d){var _0x3b4f40;(_0x3b4f40=_0x5d9d6b[_0x4541e9(0x1fa)](_0x2a82a5[0x0][_0x4541e9(0x173)]))==null||(_0x3b4f40=_0x3b4f40[_0x4541e9(0x333)][_0x4541e9(0x492)]())==null||_0x3b4f40[_0x4541e9(0x199)](_0x3bf65d);}}_0x22eea9[_0x4541e9(0x29c)](_0x2a82a5),_0xff89ea[_0x4541e9(0xdc)](!0x1);}return!0x0;}},_0x45134c={'type':_0x383631[_0x5671d9(0x465)][_0x5671d9(0x154)],'id':_0x5671d9(0x1d4),'handler':async(_0xbba8d3,_0x1d127d)=>{const _0x64f73a=_0x5671d9;let _0x527d18=(0x0,_0x111c96['getSheetCommandTarget'])(_0xbba8d3['get'](_0x383631['IUniverInstanceService']));if(!_0x527d18)return!0x1;let _0x1deea0=_0xbba8d3['get'](_0x111c96[_0x64f73a(0xea)])[_0x64f73a(0x251)]();if(!_0x1deea0)return!0x1;let _0x354cbb=_0xbba8d3['get'](_0x383631[_0x64f73a(0x24e)]),{unitId:_0x1fffd7,subUnitId:_0x4f9940}=_0x527d18,{value:_0x213b0f,enhanceParams:_0x5d1646}=_0x1d127d,{range:_0x47ff1a}=_0x1deea0,_0x425567={'unitId':_0x1fffd7,'subUnitId':_0x4f9940,'shapeType':_0x213b0f,'range':_0x47ff1a,'shapeId':(0x0,_0x383631[_0x64f73a(0x29d)])()};if(_0x5d1646){let _0x297cac=(0x0,_0x287478[_0x64f73a(0x4d2)])(_0x213b0f),_0x152c7a=_0x213b0f===_0x287478[_0x64f73a(0x384)]['Rect'];_0x297cac&&(_0x5d1646['startArrow']||_0x5d1646[_0x64f73a(0x260)])&&(_0x425567[_0x64f73a(0x1a0)]={'ln':{'startArrow':_0x5d1646[_0x64f73a(0x12d)]?{'type':_0x287478[_0x64f73a(0x44d)][_0x64f73a(0x35c)],'size':_0x287478[_0x64f73a(0x163)][_0x64f73a(0x108)]}:void 0x0,'endArrow':_0x5d1646[_0x64f73a(0x260)]?{'type':_0x287478[_0x64f73a(0x44d)][_0x64f73a(0x35c)],'size':_0x287478['ShapeArrowSizeEnum'][_0x64f73a(0x19b)]}:void 0x0}}),_0x152c7a&&(_0x5d1646[_0x64f73a(0x3aa)]||_0x5d1646[_0x64f73a(0x32e)])&&(_0x425567[_0x64f73a(0x1a0)]=(0x0,_0x54f73f[_0x64f73a(0x47f)])({'fill':{'fillType':_0x287478[_0x64f73a(0x44a)][_0x64f73a(0x13c)],'color':_0x64f73a(0x22f)},'isHorizontal':!!_0x5d1646[_0x64f73a(0x3aa)],'stroke':{'lineStrokeType':_0x287478[_0x64f73a(0x104)][_0x64f73a(0x1d6)],'width':0x1,'color':_0x64f73a(0xe6)}}));}let _0x3942d0=_0x354cbb[_0x64f73a(0x3e7)](_0x276c17[_0x64f73a(0x3e8)]['id'],_0x425567);return setTimeout(()=>{const _0x1a60b1=_0x64f73a;_0x354cbb['executeCommand'](_0x39b8fc['id'],[{'unitId':_0x1fffd7,'subUnitId':_0x4f9940,'drawingId':_0x425567[_0x1a60b1(0x37d)]}]);},0xc8),_0x3942d0;}},_0x56e257=_0x5671d9(0x3b1),_0x2f15dd=_0x5671d9(0x45a),_0x2a2c50='sheet.shape.floating-toolbar',_0x8c3839='sheets-shape-ui.ribbon.shape-format',_0x919f0e=(0x0,_0x383631[_0x5671d9(0x41f)])('SHAPE_TEXT'),_0x472fad='sheet.shape.text.float-menu',_0x5ad9f8={'id':_0x5671d9(0x4a6),'type':_0x383631['CommandType'][_0x5671d9(0x154)],'handler':(_0x428a6a,_0x3306a9)=>{const _0x3a26d7=_0x5671d9;let _0x1ecbbe=_0x428a6a[_0x3a26d7(0x4be)](_0x2f96d6[_0x3a26d7(0x31a)]),_0x52d952=_0x428a6a[_0x3a26d7(0x4be)](_0x383631[_0x3a26d7(0x422)]),_0x59d05a=_0x428a6a[_0x3a26d7(0x4be)](_0x383631[_0x3a26d7(0x1f7)]),_0x9e9b18=_0x428a6a['get'](_0x383631[_0x3a26d7(0x24e)]);return(0x0,_0x111c96[_0x3a26d7(0x283)])(_0x59d05a)?(_0x3306a9==null?void 0x0:_0x3306a9[_0x3a26d7(0x320)])===_0x3a26d7(0x274)?(_0x1ecbbe[_0x3a26d7(0x274)](_0x2f15dd),!0x0):(_0x1ecbbe['open']({'id':_0x2f15dd,'header':{'title':_0x52d952['t']('sheets-shape-ui.objectListPanel.title')},'children':{'label':_0x2f15dd},'onClose':()=>{const _0x4e535c=_0x3a26d7;_0x9e9b18[_0x4e535c(0x3e7)](_0x279593['SetDrawingSelectedOperation']['id'],[]);},'width':0x168}),!0x0):!0x1;}},_0x57e247={'type':_0x383631[_0x5671d9(0x465)][_0x5671d9(0x229)],'id':_0x5671d9(0x1c1),'handler'(){return!0x0;}};function _0x109ebf(_0x90eed8){const _0x337aa6=_0x5671d9;let _0x14447f=_0x90eed8[_0x337aa6(0x4be)](_0x279593[_0x337aa6(0xf1)])[_0x337aa6(0x486)](),_0x16c436=_0x14447f[_0x337aa6(0x175)]===0x1?_0x14447f[0x0]:null;if(!_0x16c436||_0x16c436[_0x337aa6(0x3d6)]!==_0x383631[_0x337aa6(0x286)][_0x337aa6(0x456)])return null;let _0x322316=_0x90eed8['get'](_0x276c17[_0x337aa6(0x188)]),_0x2826d5=_0x322316['getShapeTypeById'](_0x16c436['unitId'],_0x16c436['subUnitId'],_0x16c436[_0x337aa6(0x493)]),_0x5d4503=_0x322316[_0x337aa6(0x21f)](_0x16c436[_0x337aa6(0x173)],_0x16c436[_0x337aa6(0x135)],_0x16c436[_0x337aa6(0x493)]);return _0x2826d5===void 0x0||!_0x5d4503?null:{'drawing':_0x16c436,'shapeData':_0x5d4503,'shapeType':_0x2826d5};}let _0x748f1e={'id':_0x5671d9(0x311),'type':_0x383631[_0x5671d9(0x465)][_0x5671d9(0x229)],'handler':(_0x1d7f7a,_0x42d180)=>{const _0x3b899f=_0x5671d9;let _0x44f8dc=_0x109ebf(_0x1d7f7a),_0x7f7505=(0x0,_0x54f73f[_0x3b899f(0x2a4)])((_0x42d180==null?void 0x0:_0x42d180[_0x3b899f(0x477)])??(_0x42d180==null?void 0x0:_0x42d180['value'])??'');if(!_0x44f8dc||!_0x7f7505||_0x7f7505[_0x3b899f(0x435)]!==(0x0,_0x54f73f[_0x3b899f(0x4ab)])(_0x44f8dc[_0x3b899f(0x1a0)]))return!0x1;let _0x47c8ef=(0x0,_0x54f73f[_0x3b899f(0x171)])(_0x44f8dc[_0x3b899f(0x1a0)],_0x7f7505);if(!_0x47c8ef)return!0x1;let {drawing:_0x581b8d}=_0x44f8dc;return _0x1d7f7a[_0x3b899f(0x4be)](_0x383631['ICommandService'])[_0x3b899f(0x1f9)](_0x57882a['id'],{'unitId':_0x581b8d[_0x3b899f(0x173)],'subUnitId':_0x581b8d[_0x3b899f(0x135)],'shapeId':_0x581b8d[_0x3b899f(0x493)],'shapeData':_0x47c8ef,'oldShapeJSON':{'oldShapeData':_0x44f8dc[_0x3b899f(0x1a0)]}});}},_0x3a751e={'id':_0x5671d9(0x224),'type':_0x383631['CommandType'][_0x5671d9(0x229)],'handler':(_0x1fd025,_0x35bbe4)=>{const _0x300fdd=_0x5671d9;let _0xc986ba=_0x109ebf(_0x1fd025),_0x44e9ff=(_0x35bbe4==null?void 0x0:_0x35bbe4['shapeType'])??(_0x35bbe4==null?void 0x0:_0x35bbe4[_0x300fdd(0x320)]);if(!_0xc986ba||!_0x44e9ff||(0x0,_0x287478['isConnectorShape'])(_0xc986ba[_0x300fdd(0x138)])||(0x0,_0x287478[_0x300fdd(0x4d2)])(_0x44e9ff))return!0x1;let _0xed291f=(0x0,_0x54f73f[_0x300fdd(0x25d)])(_0xc986ba[_0x300fdd(0x1a0)],_0x44e9ff);if(!_0xed291f)return!0x1;let {drawing:_0x12b2f9}=_0xc986ba;return _0x1fd025[_0x300fdd(0x4be)](_0x383631[_0x300fdd(0x24e)])[_0x300fdd(0x1f9)](_0x57882a['id'],{'unitId':_0x12b2f9[_0x300fdd(0x173)],'subUnitId':_0x12b2f9[_0x300fdd(0x135)],'shapeId':_0x12b2f9[_0x300fdd(0x493)],'shapeType':_0x44e9ff,'shapeData':_0xed291f,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0xc986ba['shapeType'],'oldShapeData':_0xc986ba['shapeData']}});}},_0x5343de=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x5fe913,_0xf68bd0){const _0x16d1ad=_0x5671d9;super(),this[_0x16d1ad(0x17e)]=_0x5fe913,this[_0x16d1ad(0x306)]=_0xf68bd0,this[_0x16d1ad(0x1f3)](),this[_0x16d1ad(0x17e)][_0x16d1ad(0x23e)](!0x0),this[_0x16d1ad(0x252)]({'dispose':()=>this[_0x16d1ad(0x17e)][_0x16d1ad(0x23e)](!0x1)});}['_registerImageShapeClipDelegate'](){const _0x2404a3=_0x5671d9;let _0x126283=this['_clipService'],_0x5ab2b1=new Map(),_0x20df13=_0x126283['registerClipDelegate']((_0x49ec15,_0x2359f1,_0xd8a685,_0xd11ff8,_0x407265)=>{const _0x137cbf=_0x43eb;let _0x5bd691=_0x2359f1;if(_0x5bd691===_0x287478[_0x137cbf(0x384)][_0x137cbf(0x3f1)]||_0x2359f1===_0x137cbf(0x2af))return!0x1;try{let _0x21ff65=_0x5ab2b1[_0x137cbf(0x4be)](_0x2359f1);return _0x21ff65||(_0x21ff65=new _0x287478[(_0x137cbf(0x150))](_0x5bd691,_0x137cbf(0x1e2)+_0x2359f1),_0x5ab2b1['set'](_0x2359f1,_0x21ff65)),_0x21ff65[_0x137cbf(0x203)](),_0x407265&&Object['keys'](_0x407265)[_0x137cbf(0x175)]>0x0&&_0x21ff65[_0x137cbf(0x2f4)]({'adjustValues':_0x407265},!0x0),_0x21ff65[_0x137cbf(0x288)]({'width':_0xd8a685,'height':_0xd11ff8}),_0x21ff65[_0x137cbf(0x4b7)](_0x49ec15,{'left':0x0,'top':0x0,'width':_0xd8a685,'height':_0xd11ff8});}catch{return!0x1;}});this[_0x2404a3(0x252)](_0x20df13),this[_0x2404a3(0x252)]({'dispose':()=>_0x5ab2b1[_0x2404a3(0x2e9)]()});}[_0x5671d9(0x49e)](_0x446989,_0x4d48e2,_0x94cad3,_0x26913c,_0x178b25){const _0x5eba5c=_0x5671d9;let _0xd22f23=this['_drawingManagerService'][_0x5eba5c(0x24f)](_0x446989,_0x4d48e2);if(!_0xd22f23[_0x94cad3])return;let _0x29a99f={..._0xd22f23[_0x94cad3],'prstGeom':_0x26913c,'adjustValues':_0x178b25};this['_drawingManagerService'][_0x5eba5c(0x181)]([_0x29a99f]);}};_0x5343de=_0x25a2aa([_0x4177c4(0x0,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x129810[_0x5671d9(0x2e4)])),_0x4177c4(0x1,(0x0,_0x383631['Inject'])(_0x279593['IDrawingManagerService']))],_0x5343de);let _0x3d6541=_0x5671d9(0x140),_0x5812e5=_0x5671d9(0x48a);function _0x59ca03({onShapeClick:_0x53a6e7,excludeGroups:_0x17667d}){const _0x183fdb=_0x5671d9;return(0x0,_0x4170e1[_0x183fdb(0x157)])(_0x2a9d6c[_0x183fdb(0x228)],{'excludeGroups':_0x17667d,'onShapeClick':_0x53a6e7,'scrollContainer':'parent'});}function _0x266e1a(){const _0x4a628a=_0x5671d9;let _0x2243cc=(0x0,_0x2f96d6[_0x4a628a(0x19e)])(_0x279593[_0x4a628a(0xf1)]),_0x51c410=(0x0,_0x2f96d6['useDependency'])(_0x5343de);return(0x0,_0x4170e1[_0x4a628a(0x157)])(_0x2a9d6c['ShapePickerDropdown'],{'buttonLabel':_0x4a628a(0x1a6),'excludeGroups':[_0x2a9d6c[_0x4a628a(0x27c)][_0x4a628a(0x29f)]],'onShapeClick':_0xc8c23=>{const _0x250782=_0x4a628a;let _0x3aa9ee=_0x2243cc['getFocusDrawings']()[_0x250782(0x3de)](_0x382c30=>_0x382c30[_0x250782(0x3d6)]===_0x383631[_0x250782(0x286)][_0x250782(0x217)]);if(!_0x3aa9ee)return;let {unitId:_0x449234,subUnitId:_0x380dfd,drawingId:_0xc282fd}=_0x3aa9ee;_0x51c410['clipByShape'](_0x449234,_0x380dfd,_0xc282fd,_0xc8c23[_0x250782(0x435)]);}});}function _0x5b85a9(){const _0x12785a=_0x5671d9;let _0x467ad9=(0x0,_0x2f96d6['useDependency'])(_0x279593[_0x12785a(0xf1)]),_0x53d37a=(0x0,_0x2f96d6['useDependency'])(_0x5343de);return(0x0,_0x4170e1[_0x12785a(0x157)])(_0x2a9d6c['ShapePickerDropdown'],{'buttonLabel':'sheets-shape-ui.imagePanel.crop.shape','excludeGroups':[_0x2a9d6c[_0x12785a(0x27c)][_0x12785a(0x29f)]],'DropdownComponent':_0x4a69b4[_0x12785a(0x44c)],'onShapeClick':_0x185524=>{const _0x2ee7e8=_0x12785a;let _0x459845=_0x467ad9['getFocusDrawings']()[_0x2ee7e8(0x3de)](_0x2e97f9=>_0x2e97f9[_0x2ee7e8(0x3d6)]===_0x383631[_0x2ee7e8(0x286)][_0x2ee7e8(0x217)]);if(!_0x459845)return;let {unitId:_0x50b28c,subUnitId:_0x3868c6,drawingId:_0x24eab9}=_0x459845;_0x53d37a[_0x2ee7e8(0x49e)](_0x50b28c,_0x3868c6,_0x24eab9,_0x185524[_0x2ee7e8(0x435)]);}});}function _0x18ae1b(){const _0x168094=_0x5671d9;let _0xa87b63=(0x0,_0x2f96d6[_0x168094(0x19e)])(_0x2f96d6[_0x168094(0x426)]),_0x15ca8b=(0x0,_0x2f96d6['useDependency'])(_0x279593['IDrawingManagerService']),_0xa62775=(0x0,_0x2f96d6[_0x168094(0x19e)])(_0x383631['IUniverInstanceService']),_0x5b5741=_0x15ca8b[_0x168094(0x486)]()[0x0],_0x5d49d2=_0x5b5741?_0xa62775[_0x168094(0x129)](_0x5b5741[_0x168094(0x173)]):void 0x0,_0x501347=_0x5d49d2===_0x383631['UniverInstanceType'][_0x168094(0x354)]?'doc.image-clip.shape-picker.component':_0x5d49d2===_0x383631[_0x168094(0x363)][_0x168094(0x3e4)]?_0x5812e5:void 0x0,_0x3f0680=_0x501347?_0xa87b63[_0x168094(0x4be)](_0x501347):void 0x0;return _0x3f0680?(0x0,_0x4170e1[_0x168094(0x157)])(_0x3f0680,{}):null;}function _0x177b13(){const _0x4079cb=_0x5671d9;let _0x348f7f=(0x0,_0x2f96d6[_0x4079cb(0x19e)])(_0x383631[_0x4079cb(0x24e)]);return(0x0,_0x4170e1[_0x4079cb(0x157)])(_0x59ca03,{'onShapeClick':_0x14c568=>{const _0x1d1dc5=_0x4079cb;_0x348f7f[_0x1d1dc5(0x1f9)](_0x45134c['id'],{'value':_0x14c568[_0x1d1dc5(0x435)],'enhanceParams':{'endArrow':_0x14c568[_0x1d1dc5(0x260)],'startArrow':_0x14c568['startArrow'],'horizontal':_0x14c568[_0x1d1dc5(0x3aa)],'vertical':_0x14c568['vertical']}});}});}function _0x36190b(){const _0x3209d4=_0x5671d9;return(0x0,_0x4170e1[_0x3209d4(0x157)])(_0x177b13,{});}function _0xf5bc6f(_0x25d225){const _0x4369f0=_0x5671d9;let _0x1f27e1=_0x25d225[_0x4369f0(0x4be)](_0x383631[_0x4369f0(0x1f7)]);return{'id':_0x45134c['id'],'type':_0x2f96d6['MenuItemType'][_0x4369f0(0x10c)],'selections':[{'label':{'name':_0x3d6541,'hoverable':!0x1,'selectable':!0x1,'props':{'id':_0x45134c['id']}}}],'icon':_0x4369f0(0x19c),'tooltip':_0x4369f0(0x302),'activated$':(0x0,_0x261221['deriveStateFromActiveSheet$'])(_0x1f27e1,!0x1,()=>new _0x4250df[(_0x4369f0(0xd8))](_0x4b5aac=>{const _0x45ccc3=_0x4369f0;_0x4b5aac[_0x45ccc3(0x289)](!0x1);})),'hidden$':(0x0,_0x2f96d6[_0x4369f0(0x328)])(_0x25d225,_0x383631['UniverInstanceType']['UNIVER_SHEET']),'disabled$':(0x0,_0x261221[_0x4369f0(0x17d)])(_0x25d225)};}function _0x171a1d(_0x241dac){const _0x466637=_0x5671d9;let _0x5207c3=_0x241dac['get'](_0x383631[_0x466637(0x1f7)]);return{'id':_0x5ad9f8['id'],'type':_0x2f96d6['MenuItemType']['BUTTON'],'icon':_0x466637(0x47c),'title':_0x466637(0x303),'tooltip':_0x466637(0x303),'activated$':(0x0,_0x261221[_0x466637(0x32a)])(_0x5207c3,!0x1,()=>new _0x4250df[(_0x466637(0xd8))](_0x165464=>{const _0x193ea8=_0x466637;_0x165464[_0x193ea8(0x289)](!0x1);})),'hidden$':(0x0,_0x2f96d6[_0x466637(0x328)])(_0x241dac,_0x383631[_0x466637(0x363)][_0x466637(0x3e4)]),'disabled$':(0x0,_0x261221[_0x466637(0x17d)])(_0x241dac)};}let _0x3170bb=_0x5671d9(0x2de),_0xe4fc20=_0x5671d9(0xfb);function _0x24a56e(_0x319165){const _0x3680a9=_0x5671d9;let _0x4eb56b=_0x319165[_0x3680a9(0x4be)](_0x279593['IDrawingManagerService'])['getFocusDrawings']();return _0x4eb56b[_0x3680a9(0x175)]===0x1&&_0x4eb56b[0x0][_0x3680a9(0x3d6)]===_0x383631['DrawingTypeEnum']['DRAWING_SHAPE']?_0x4eb56b[0x0]:null;}function _0x4f213f(_0x4a24df){const _0x4938ef=_0x5671d9;let _0x43a2cd=_0x4a24df[_0x4938ef(0x4be)](_0x279593[_0x4938ef(0xf1)]);return _0x43a2cd[_0x4938ef(0x262)][_0x4938ef(0x33d)]((0x0,_0x4250df[_0x4938ef(0x34c)])(_0x43a2cd[_0x4938ef(0x486)]()),(0x0,_0x4250df[_0x4938ef(0x3da)])(_0x201e28=>_0x201e28['length']!==0x1||_0x201e28[0x0][_0x4938ef(0x3d6)]!==_0x383631[_0x4938ef(0x286)][_0x4938ef(0x456)]));}function _0x23abe1(_0x3ddf43){const _0x34206a=_0x5671d9;return{'id':_0x3170bb,'commandId':_0x276c17['ToggleSheetsShapeFlipCommand']['id'],'type':_0x2f96d6['MenuItemType'][_0x34206a(0x396)],'title':'sheets-shape-ui.flipHorizontal','tooltip':_0x34206a(0x15a),'icon':_0x34206a(0x34a),'hidden$':_0x4f213f(_0x3ddf43),'params':()=>{const _0x2c9640=_0x34206a;let _0x5d2d03=_0x24a56e(_0x3ddf43);return _0x5d2d03?{'unitId':_0x5d2d03[_0x2c9640(0x173)],'subUnitId':_0x5d2d03['subUnitId'],'shapeId':_0x5d2d03[_0x2c9640(0x493)],'flipH':!0x0}:void 0x0;}};}function _0x4923f4(_0xfeb924){const _0xe476e=_0x5671d9;return{'id':_0xe4fc20,'commandId':_0x276c17[_0xe476e(0x3b0)]['id'],'type':_0x2f96d6[_0xe476e(0x3d9)]['BUTTON'],'title':'sheets-shape-ui.flipVertical','tooltip':'sheets-shape-ui.flipVertical','icon':_0xe476e(0x346),'hidden$':_0x4f213f(_0xfeb924),'params':()=>{const _0x1eb98d=_0xe476e;let _0x574139=_0x24a56e(_0xfeb924);return _0x574139?{'unitId':_0x574139[_0x1eb98d(0x173)],'subUnitId':_0x574139['subUnitId'],'shapeId':_0x574139['drawingId'],'flipV':!0x0}:void 0x0;}};}let _0x566032=_0x5671d9(0xe3),_0xc4a475=_0x5671d9(0x45d),_0x2ab86a=_0x5671d9(0x1cc),_0x317af2=_0x5671d9(0xec);function _0x49f11e(){const _0x58d580=_0x5671d9;let _0x5f5469=(0x0,_0x2f96d6[_0x58d580(0x19e)])(_0x383631[_0x58d580(0x24e)]),_0x4d6fee=(0x0,_0x2f96d6[_0x58d580(0x19e)])(_0x279593[_0x58d580(0xf1)]),_0x3504ba=(0x0,_0x2f96d6[_0x58d580(0x19e)])(_0x276c17[_0x58d580(0x188)]),_0x40d90e=()=>{const _0x5dd041=_0x58d580;var _0x27624d;let _0x3b4ae3=_0x4d6fee[_0x5dd041(0x486)]();if(_0x3b4ae3[_0x5dd041(0x175)]!==0x1||((_0x27624d=_0x3b4ae3[0x0])==null?void 0x0:_0x27624d[_0x5dd041(0x3d6)])!==_0x383631[_0x5dd041(0x286)]['DRAWING_SHAPE'])return null;let {unitId:_0x2caefc,subUnitId:_0x105569,drawingId:_0x4f76a1}=_0x3b4ae3[0x0],_0x13a2e1=_0x3504ba['getShapeTypeById'](_0x2caefc,_0x105569,_0x4f76a1),_0x3e2f49=_0x3504ba[_0x5dd041(0x21f)](_0x2caefc,_0x105569,_0x4f76a1);return _0x13a2e1===void 0x0||!_0x3e2f49?null:{'unitId':_0x2caefc,'subUnitId':_0x105569,'drawingId':_0x4f76a1,'shapeType':_0x13a2e1,'shapeData':_0x3e2f49};},_0x970501=(0x0,_0x2f96d6[_0x58d580(0x26f)])(()=>new _0x4250df[(_0x58d580(0xd8))](_0x1d1e66=>{const _0x5b1497=_0x58d580;let _0x3e2116=()=>_0x1d1e66[_0x5b1497(0x289)](_0x40d90e()),_0x4aa7ed=_0x4d6fee[_0x5b1497(0x262)]['subscribe'](_0x3e2116),_0x3f6ac9=_0x5f5469[_0x5b1497(0x15d)](_0x3df3d2=>{const _0x36c5cc=_0x5b1497;_0x3df3d2['id']===_0x276c17[_0x36c5cc(0x250)]['id']&&_0x3e2116();});return _0x3e2116(),()=>{const _0x56c055=_0x5b1497;_0x4aa7ed[_0x56c055(0x165)](),_0x3f6ac9[_0x56c055(0x39f)]();};}),_0x40d90e(),!0x1,[_0x5f5469,_0x4d6fee,_0x3504ba]);return{'selection':_0x970501,'updateShapeData':_0x94f63e=>{const _0x3c44ee=_0x58d580;_0x970501&&_0x100eae(_0x5f5469,_0x970501[_0x3c44ee(0x173)],_0x970501[_0x3c44ee(0x135)],_0x970501[_0x3c44ee(0x493)],{'oldShapeData':_0x970501[_0x3c44ee(0x1a0)]},_0x94f63e);}};}function _0x139dd6(){const _0x296420=_0x5671d9;let {selection:_0x5e4d74,updateShapeData:_0x338e15}=_0x49f11e();return _0x5e4d74?(0x0,_0x4170e1[_0x296420(0x157)])(_0x2a9d6c[_0x296420(0x2b7)],{'shapeData':_0x5e4d74[_0x296420(0x1a0)],'shapeType':_0x5e4d74[_0x296420(0x138)],'onUpdateShapeData':_0x338e15}):null;}function _0x145172(){const _0x574eaf=_0x5671d9;let _0x4b801f=(0x0,_0x2f96d6[_0x574eaf(0x19e)])(_0x383631[_0x574eaf(0x24e)]),_0x3a1d44=(0x0,_0x2f96d6['useDependency'])(_0x383631[_0x574eaf(0x422)]),{selection:_0x4020aa}=_0x49f11e();return _0x4020aa?(0x0,_0x4170e1[_0x574eaf(0x157)])(_0x2a9d6c['ShapeQuickStyleGallery'],{'type':(0x0,_0x54f73f[_0x574eaf(0x4ab)])(_0x4020aa[_0x574eaf(0x1a0)]),'ariaLabel':_0x3a1d44['t'](_0x574eaf(0x395)),'activePresetId':(0x0,_0x54f73f['resolveActiveShapeQuickStylePresetId'])(_0x4020aa[_0x574eaf(0x1a0)]),'onSelect':_0x4f98ea=>_0x4b801f['executeCommand'](_0x748f1e['id'],{'presetId':_0x4f98ea})}):null;}function _0x5c4eaa(){const _0x2927c6=_0x5671d9;let {selection:_0x30e441,updateShapeData:_0x2b6ec5}=_0x49f11e();return _0x30e441?(0x0,_0x4170e1[_0x2927c6(0x157)])(_0x2a9d6c['ShapeTextRibbonControl'],{'fontFamilyPopupDataComponent':_0x2927c6(0x231),'shapeData':_0x30e441[_0x2927c6(0x1a0)],'onUpdateShapeData':_0x2b6ec5}):null;}function _0x2f8371(){const _0x3a2883=_0x5671d9;var _0x447f54;let {selection:_0x469a69,updateShapeData:_0x9d943c}=_0x49f11e(),_0x12ae38=(0x0,_0x2a9d6c[_0x3a2883(0x46a)])({'hostType':_0x383631['UniverInstanceType'][_0x3a2883(0x3e4)],'unitId':(_0x469a69==null?void 0x0:_0x469a69[_0x3a2883(0x173)])??'','subUnitId':(_0x469a69==null?void 0x0:_0x469a69[_0x3a2883(0x135)])??'','shapeId':(_0x469a69==null?void 0x0:_0x469a69[_0x3a2883(0x493)])??'','shapeData':_0x469a69==null?void 0x0:_0x469a69[_0x3a2883(0x1a0)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x3a2883(0x2ee),'onUpdateBinding':_0x5fa219=>_0x9d943c({'formulaBinding':_0x5fa219})}),_0x31f1c9=((_0x447f54=_0x12ae38['extensionGroups'])==null?void 0x0:_0x447f54[_0x3a2883(0x430)](_0x41e879=>_0x41e879[_0x3a2883(0x30b)])[_0x3a2883(0x265)](_0x1eda08=>_0x1eda08[_0x3a2883(0x167)]!==!0x1))??[];return _0x469a69!=null&&_0x469a69['shapeData']['formulaBinding']?(0x0,_0x4170e1['jsx'])(_0x2a9d6c['ShapeFormulaRibbonControl'],{'actions':_0x31f1c9,'panel':_0x12ae38[_0x3a2883(0x414)]}):null;}let _0x2a7162='sheets-shape-ui.ribbon.shape-format.style-control',_0x55af17=_0x5671d9(0x3a2),_0x97cab0=_0x5671d9(0x442),_0x585612='sheets-shape-ui.ribbon.shape-format.arrange-forward',_0x5d0d99='sheets-shape-ui.ribbon.shape-format.arrange-backward',_0x5d3810=_0x5671d9(0x44b),_0x3ba557=_0x5671d9(0x2cc);function _0x4b553e(_0x4e5c14){const _0x5a6211=_0x5671d9;let _0x11b1b1=_0x4e5c14[_0x5a6211(0x4be)](_0x383631['ICommandService']),_0x876cfe=_0x4e5c14['get'](_0x279593['IDrawingManagerService']),_0x1aecf9=_0x4e5c14['get'](_0x276c17[_0x5a6211(0x188)]);return new _0x4250df[(_0x5a6211(0xd8))](_0x13fe4a=>{const _0x5da7cb=_0x5a6211;let _0x463c2e=()=>{const _0x225795=_0x43eb;let _0x2aae05=_0x5c84cc(_0x4e5c14),_0x544e56=_0x2aae05?_0x1aecf9[_0x225795(0x21f)](_0x2aae05[_0x225795(0x173)],_0x2aae05[_0x225795(0x135)],_0x2aae05['drawingId']):null;_0x13fe4a['next'](_0x544e56?(0x0,_0x54f73f[_0x225795(0x376)])(_0x544e56)??'':'');},_0x2d7166=_0x876cfe[_0x5da7cb(0x262)][_0x5da7cb(0x317)](_0x463c2e),_0xb97699=_0x11b1b1['onCommandExecuted'](_0x27ce8f=>{_0x27ce8f['id']===_0x276c17['UpdateSheetsShapeDataMutation']['id']&&_0x463c2e();});return _0x463c2e(),()=>{const _0x421c55=_0x5da7cb;_0x2d7166['unsubscribe'](),_0xb97699[_0x421c55(0x39f)]();};});}function _0x5c84cc(_0x248d1c){const _0x12bbfc=_0x5671d9;var _0x1e3f65;let _0x18f8c7=_0x248d1c['get'](_0x279593[_0x12bbfc(0xf1)])[_0x12bbfc(0x486)]();return _0x18f8c7[_0x12bbfc(0x175)]===0x1&&((_0x1e3f65=_0x18f8c7[0x0])==null?void 0x0:_0x1e3f65['drawingType'])===_0x383631[_0x12bbfc(0x286)][_0x12bbfc(0x456)]?_0x18f8c7[0x0]:null;}function _0x38b9bf(_0x41d3aa,_0x167f51=!0x1){const _0x437ec3=_0x5671d9;let _0x34a405=_0x41d3aa[_0x437ec3(0x4be)](_0x383631['ICommandService']),_0x28cb22=_0x41d3aa['get'](_0x279593[_0x437ec3(0xf1)]),_0x416784=_0x41d3aa['get'](_0x276c17[_0x437ec3(0x188)]);return new _0x4250df[(_0x437ec3(0xd8))](_0x39f440=>{const _0x440c06=_0x437ec3;let _0x1b8dbe=()=>{const _0x2ed60f=_0x43eb;let _0x4c5b83=_0x5c84cc(_0x41d3aa);if(!_0x4c5b83){_0x39f440[_0x2ed60f(0x289)](!0x0);return;}let _0x47a2bf=_0x416784[_0x2ed60f(0x21f)](_0x4c5b83[_0x2ed60f(0x173)],_0x4c5b83[_0x2ed60f(0x135)],_0x4c5b83[_0x2ed60f(0x493)]);_0x39f440['next'](!_0x47a2bf||_0x167f51&&_0x47a2bf[_0x2ed60f(0x339)]==null);},_0x33b030=_0x28cb22['focus$'][_0x440c06(0x317)](_0x1b8dbe),_0x2bfae5=_0x34a405[_0x440c06(0x15d)](_0x47742b=>{const _0x4df980=_0x440c06;_0x47742b['id']===_0x276c17[_0x4df980(0x250)]['id']&&_0x1b8dbe();});return _0x1b8dbe(),()=>{const _0x5643c7=_0x440c06;_0x33b030[_0x5643c7(0x165)](),_0x2bfae5['dispose']();};});}function _0x588119(_0x9704a9){const _0x3aa749=_0x5671d9;let _0x259652=_0x9704a9['get'](_0x279593[_0x3aa749(0xf1)]),_0x25a3c1=_0x9704a9['get'](_0x276c17['SheetsShapeService']);return _0x259652['focus$'][_0x3aa749(0x33d)]((0x0,_0x4250df[_0x3aa749(0x34c)])(_0x259652['getFocusDrawings']()),(0x0,_0x4250df['map'])(()=>{const _0x4fd9dc=_0x3aa749;let _0x2db21b=_0x5c84cc(_0x9704a9),_0x493055=_0x2db21b?_0x25a3c1[_0x4fd9dc(0x4d1)](_0x2db21b[_0x4fd9dc(0x173)],_0x2db21b[_0x4fd9dc(0x135)],_0x2db21b[_0x4fd9dc(0x493)]):void 0x0;return _0x493055===void 0x0||(0x0,_0x287478[_0x4fd9dc(0x4d2)])(_0x493055);}));}function _0x428711(_0x44c814){const _0x3509ab=_0x5671d9;return{'id':_0x748f1e['id'],'type':_0x2f96d6[_0x3509ab(0x3d9)][_0x3509ab(0x10c)],'icon':_0x3509ab(0x370),'title':_0x3509ab(0x2ae),'tooltip':_0x3509ab(0x2ae),'selections':[{'label':{'name':_0x566032,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x4b553e(_0x44c814),'hidden$':_0x38b9bf(_0x44c814)};}function _0x248aa9(_0x2c2b2b){const _0x4cff55=_0x5671d9;return{'id':_0x3a751e['id'],'type':_0x2f96d6[_0x4cff55(0x3d9)][_0x4cff55(0x10c)],'icon':_0x4cff55(0x19c),'title':'shape-editor-ui.toolbar.changeShape','tooltip':_0x4cff55(0x2ef),'slot':!0x0,'selections':[{'label':{'name':_0x2a9d6c[_0x4cff55(0x37c)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x588119(_0x2c2b2b)};}function _0xb0a4fd(_0x54d3dc,_0x4f968c,_0x53914f=!0x1){const _0x47e27d=_0x5671d9;return _0x318890=>({'id':_0x54d3dc,'type':_0x2f96d6[_0x47e27d(0x3d9)][_0x47e27d(0x396)],'label':{'name':_0x4f968c,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x38b9bf(_0x318890,_0x53914f)});}let _0xdd9a7c=_0xb0a4fd(_0x2a7162,_0xc4a475),_0x3fe0c7=_0xb0a4fd(_0x55af17,_0x2ab86a),_0x731eb2=_0xb0a4fd(_0x97cab0,_0x317af2,!0x0);function _0x58a714(_0x341458,_0xd127d0,_0x461cfb,_0x585b44){const _0x19b261=_0x5671d9;return _0x2b6738=>({'id':_0x341458,'commandId':_0x72b203['SetDrawingArrangeCommand']['id'],'type':_0x2f96d6['MenuItemType'][_0x19b261(0x396)],'icon':_0x461cfb,'title':_0x585b44,'tooltip':_0x585b44,'hidden$':_0x38b9bf(_0x2b6738),'params':()=>{const _0x31423a=_0x19b261;let _0x561a6e=_0x5c84cc(_0x2b6738);return _0x561a6e?{'unitId':_0x561a6e[_0x31423a(0x173)],'subUnitId':_0x561a6e[_0x31423a(0x135)],'drawingIds':[_0x561a6e[_0x31423a(0x493)]],'arrangeType':_0xd127d0}:void 0x0;}});}let _0x24a1ab=_0x58a714(_0x585612,_0x383631['ArrangeTypeEnum']['forward'],'MoveUpIcon',_0x5671d9(0x367)),_0x1a9260=_0x58a714(_0x5d0d99,_0x383631[_0x5671d9(0x412)][_0x5671d9(0x3f5)],_0x5671d9(0x195),_0x5671d9(0x398)),_0x383be6=_0x58a714(_0x5d3810,_0x383631[_0x5671d9(0x412)][_0x5671d9(0x48c)],_0x5671d9(0x49f),_0x5671d9(0xcf)),_0x432692=_0x58a714(_0x3ba557,_0x383631[_0x5671d9(0x412)]['back'],_0x5671d9(0x402),_0x5671d9(0x37e));function _0xe9cc3b(_0x181b53){const _0x550a3f=_0x5671d9;return{'id':_0x57e247['id'],'type':_0x2f96d6[_0x550a3f(0x3d9)]['BUTTON'],'icon':_0x550a3f(0x33b),'title':_0x550a3f(0x17b),'tooltip':'sheets-shape-ui.formatShape','hidden$':_0x38b9bf(_0x181b53),'params':()=>{const _0x3f0dd3=_0x550a3f;let _0x14f94e=_0x5c84cc(_0x181b53);return _0x14f94e?{'unitId':_0x14f94e[_0x3f0dd3(0x173)],'subUnitId':_0x14f94e[_0x3f0dd3(0x135)],'drawingId':_0x14f94e['drawingId']}:void 0x0;}};}let _0x5c037d={[_0x2f96d6['MenuManagerPosition'][_0x5671d9(0x105)]]:{[_0x8c3839]:{'order':0x64,'title':_0x5671d9(0x17b),'contextual':!0x0,'sheets-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x748f1e['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x428711},[_0x3a751e['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x248aa9}},'sheets-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x2a7162]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0xdd9a7c}},'sheets-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x55af17]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x3fe0c7}},'sheets-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x3170bb]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x23abe1},[_0xe4fc20]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x4923f4},[_0x585612]:{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x24a1ab},[_0x5d0d99]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x1a9260},[_0x5d3810]:{'order':0x4,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x383be6},[_0x3ba557]:{'order':0x5,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x432692}},'sheets-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x97cab0]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x731eb2}},'sheets-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x57e247['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0xe9cc3b},[_0x2a9d6c[_0x5671d9(0x204)]['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x2a9d6c['ShapeFloatingToolbarToggleFactory']}}}}},_0x230bea={[_0x2f96d6[_0x5671d9(0x14c)][_0x5671d9(0x38d)]]:{[_0x45134c['id']]:{'order':0x4,'menuItemFactory':_0xf5bc6f}}},_0x3c6f17={..._0x230bea,[_0x2f96d6[_0x5671d9(0x14c)][_0x5671d9(0x361)]]:{[_0x5ad9f8['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x171a1d}},[_0x2f96d6[_0x5671d9(0x1df)][_0x5671d9(0x391)]]:{[_0x2f96d6[_0x5671d9(0x3df)][_0x5671d9(0x361)]]:{[_0x3170bb]:{'order':0x4,'menuItemFactory':_0x23abe1},[_0xe4fc20]:{'order':0x5,'menuItemFactory':_0x4923f4}}}};var _0x42e456=_0x5671d9(0x1dd),_0x1bfefd=_0x5671d9(0xfe);let _0x176123={'id':_0x5671d9(0x40a),'type':_0x383631[_0x5671d9(0x465)][_0x5671d9(0x229)],'handler'(_0x3887a5,_0x4f86c3){const _0x3b00b5=_0x5671d9;return _0x4f86c3?(_0x3887a5[_0x3b00b5(0x4be)](_0x2a9d6c[_0x3b00b5(0x433)])['open'](_0x4f86c3[_0x3b00b5(0x383)],{'hostType':_0x383631[_0x3b00b5(0x363)][_0x3b00b5(0x3e4)],'shapeId':_0x4f86c3[_0x3b00b5(0x493)],'subUnitId':_0x4f86c3[_0x3b00b5(0x135)],'unitId':_0x4f86c3[_0x3b00b5(0x173)]}),!0x0):!0x1;}},_0x317c0c=_0x5671d9(0x40b),_0xda7fc9={},_0x2d7d8a=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x229448,_0x2fdf0c,_0x56a0d3,_0x3e9ade,_0xf8c394){const _0x857266=_0x5671d9;super(),this[_0x857266(0x4a5)]=_0x229448,this[_0x857266(0x306)]=_0x2fdf0c,this['_renderManagerService']=_0x56a0d3,this[_0x857266(0x434)]=_0x3e9ade,this[_0x857266(0x187)]=_0xf8c394,_0x20dccc(this,'_activeImageId',null),_0x20dccc(this,_0x857266(0x48e),null),_0x20dccc(this,'_subUnitId',null),_0x20dccc(this,'_activeAdjustPointList',void 0x0),_0x20dccc(this,'_shapes',[]),_0x20dccc(this,'_baseLeft',0x0),_0x20dccc(this,'_baseTop',0x0),_0x20dccc(this,'_baseWidth',0x0),_0x20dccc(this,_0x857266(0x4cc),0x0),_0x20dccc(this,_0x857266(0x1e7),!0x1),_0x20dccc(this,_0x857266(0x23a),void 0x0),_0x20dccc(this,'_activeShapeModel',void 0x0),_0x20dccc(this,_0x857266(0x40e),void 0x0),_0x20dccc(this,_0x857266(0x115),void 0x0),_0x20dccc(this,_0x857266(0x2d4),!0x1),this[_0x857266(0x3cb)](),this['_registerMoveHandler']();}[_0x5671d9(0x386)](){const _0x528e57=_0x5671d9;this[_0x528e57(0xc2)]();}['refreshAdjustControls'](){const _0x58f813=_0x5671d9;this[_0x58f813(0xc2)](),this[_0x58f813(0xcc)](!0x0);}[_0x5671d9(0x249)](_0x4e6b3a,_0x33c509,_0x3c1d00,_0x5e09c9){const _0x3caea6=_0x5671d9;let _0x791b35=_0x4e6b3a;if(_0x791b35!==_0x287478[_0x3caea6(0x384)]['None']&&_0x4e6b3a!==_0x3caea6(0x2af))try{let _0x335c59=new _0x287478[(_0x3caea6(0x150))](_0x791b35,_0x3caea6(0xe2)+_0x4e6b3a);return _0x5e09c9&&_0x335c59['setShapeData']({'adjustValues':_0x5e09c9},!0x0),_0x335c59['updateContext']({'width':_0x33c509,'height':_0x3c1d00}),_0x335c59;}catch{return;}}[_0x5671d9(0x36a)](_0x212823,_0xd95886,_0x3750db){const _0x35d441=_0x5671d9;let _0x51d98a={'unitId':_0x212823,'subUnitId':_0xd95886,'drawingId':_0x3750db},_0x4ca4da=this[_0x35d441(0x306)][_0x35d441(0x14d)](_0x51d98a);if(_0x4ca4da&&_0x4ca4da['drawingType']===_0x383631[_0x35d441(0x286)][_0x35d441(0x217)])return _0x4ca4da;}[_0x5671d9(0x255)](_0x5e69aa,_0x25379f,_0x58cbff){const _0x42f194=_0x5671d9;let _0x49936d=this['_renderManagerService']['getRenderUnitById'](_0x5e69aa);if(!_0x49936d)return;let {scene:_0x34693e}=_0x49936d,_0x444d61=(0x0,_0x279593[_0x42f194(0x201)])({'unitId':_0x5e69aa,'subUnitId':_0x25379f,'drawingId':_0x58cbff}),_0x6f97ba=_0x34693e['getObject'](_0x444d61);if(_0x6f97ba instanceof _0x1c3608['Image']){let _0x2a6fb0=_0x6f97ba[_0x42f194(0x41e)];if(_0x2a6fb0)return{'prstGeom':_0x2a6fb0,'adjustValues':_0x6f97ba[_0x42f194(0x4c5)]};}}[_0x5671d9(0xcc)](_0x4ca1b4=!0x1){const _0x23433c=_0x5671d9;if(!this[_0x23433c(0x48e)]||!this[_0x23433c(0x1f0)]||!this[_0x23433c(0x258)])return;let _0x3a0d2e=this[_0x23433c(0x42d)][_0x23433c(0x1fa)](this[_0x23433c(0x48e)]);if(!_0x3a0d2e||!_0x3a0d2e[_0x23433c(0x438)](_0x261221[_0x23433c(0x3fb)])[_0x23433c(0x3f0)]())return;let {scene:_0x37e475}=_0x3a0d2e,_0x12bad2=this[_0x23433c(0x36a)](this[_0x23433c(0x48e)],this['_subUnitId'],this['_activeImageId']);if(!_0x12bad2)return;let {transform:_0x288f33}=_0x12bad2;if(!_0x288f33)return;let {left:_0x47d7b3,top:_0x24da3c,width:_0x5ae5f5,height:_0x554a0e,flipX:_0x41c230,flipY:_0x12afc0,angle:_0x4da9af=0x0}=_0x288f33;if(_0x47d7b3===void 0x0||_0x24da3c===void 0x0)return;let _0x282abd=this[_0x23433c(0x255)](this[_0x23433c(0x48e)],this[_0x23433c(0x1f0)],this[_0x23433c(0x258)]);if(!_0x282abd)return;if(_0x4ca1b4){let _0xdc8b5a=this[_0x23433c(0x249)](_0x282abd[_0x23433c(0x41e)],_0x5ae5f5||0x0,_0x554a0e||0x0,_0x282abd[_0x23433c(0x16c)]);if(!_0xdc8b5a)return;this[_0x23433c(0x479)]=_0xdc8b5a[_0x23433c(0x247)]();}let _0x4155c1=this[_0x23433c(0x479)];if(_0x4155c1&&_0x4155c1['length']!==0x0)for(let _0x86a4ad=0x0;_0x86a4ad<_0x4155c1['length'];_0x86a4ad++){let _0x10a92a=_0x4155c1[_0x86a4ad],_0x3e4546=_0x10a92a['x'],_0x4355ac=_0x10a92a['y'];if(_0x41c230&&(_0x3e4546=(_0x5ae5f5||0x0)-_0x3e4546),_0x12afc0&&(_0x4355ac=(_0x554a0e||0x0)-_0x4355ac),_0x4da9af!==0x0){let _0x4c731d=(_0x5ae5f5||0x0)/0x2,_0x5c3d2c=(_0x554a0e||0x0)/0x2,_0x376a12=_0x4da9af*Math['PI']/0xb4,_0x2f53f9=Math[_0x23433c(0x3bb)](_0x376a12),_0x165251=Math[_0x23433c(0x417)](_0x376a12),_0x142b20=_0x3e4546-_0x4c731d,_0x183b7d=_0x4355ac-_0x5c3d2c;_0x3e4546=_0x4c731d+(_0x142b20*_0x2f53f9-_0x183b7d*_0x165251),_0x4355ac=_0x5c3d2c+(_0x142b20*_0x165251+_0x183b7d*_0x2f53f9);}let _0x180549={'x':_0x3e4546,'y':_0x4355ac,'adjName':_0x10a92a[_0x23433c(0x123)]};this['_addControl'](_0x37e475,_0x180549,_0x180549['adjName'],_0x47d7b3,_0x24da3c,this[_0x23433c(0x48e)],this[_0x23433c(0x1f0)]);}}['_addControl'](_0x2a500f,_0x5a5ae5,_0x276836,_0x542d04,_0x149041,_0x4e522b,_0xc14a3b){const _0x35d61a=_0x5671d9;if(!this[_0x35d61a(0x258)])return;let _0xd41a57=_0x35d61a(0x411)+this[_0x35d61a(0x258)]+'-'+_0x276836,_0x2466bb=_0x2a500f[_0x35d61a(0x327)](_0xd41a57);if(_0x2466bb){_0x2466bb['transformByState']({'left':_0x5a5ae5['x']+_0x542d04-_0x287478['ShapeDefaultConfig'][_0x35d61a(0x14b)],'top':_0x5a5ae5['y']+_0x149041-_0x287478[_0x35d61a(0x10a)]['adjHandleSize']});return;}let _0x1f9523=new _0x180d91(_0xd41a57,{'left':_0x5a5ae5['x']+_0x542d04-_0x287478[_0x35d61a(0x10a)]['adjHandleSize'],'top':_0x5a5ae5['y']+_0x149041-_0x287478[_0x35d61a(0x10a)][_0x35d61a(0x14b)],'adjName':_0x276836,'shapeId':this[_0x35d61a(0x258)],'unitId':_0x4e522b,'subUnitId':_0xc14a3b,'width':_0x287478[_0x35d61a(0x10a)][_0x35d61a(0x14b)]+0x8,'height':_0x287478[_0x35d61a(0x10a)]['adjHandleSize']+0x8,'zIndex':_0x1c3608['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0});this[_0x35d61a(0x236)]['push'](_0x1f9523),this['_attachAdjustEvent'](_0x1f9523,_0x2a500f,_0x276836),_0x2a500f['addObject'](_0x1f9523,_0x1c3608[_0x35d61a(0x28a)]+0x1);}[_0x5671d9(0xc2)](){const _0x4ad706=_0x5671d9;this['_shapes'][_0x4ad706(0x175)]!==0x0&&(this[_0x4ad706(0x236)]['forEach'](_0x235fc9=>_0x235fc9[_0x4ad706(0x39f)]()),this[_0x4ad706(0x236)]=[]);}['_getScrollInfo'](_0x2025e3,_0x475a89){const _0x5ae87d=_0x5671d9;var _0x26677b;let _0x3f85b6={'x':0x0,'y':0x0},_0x412a49=this['_renderManagerService'][_0x5ae87d(0x1fa)](_0x2025e3);if(!_0x412a49||!_0x412a49['with'](_0x261221['SheetSkeletonManagerService'])['getSkeleton'](_0x475a89))return _0x3f85b6;let _0x2ed51f=_0x412a49[_0x5ae87d(0x438)](_0x261221['SheetScrollManagerService']),_0xc89fea=_0x2ed51f==null?void 0x0:_0x2ed51f[_0x5ae87d(0x214)]();if(!_0xc89fea)return _0x3f85b6;let _0xd5610a=(_0x26677b=this[_0x5ae87d(0x434)][_0x5ae87d(0x147)](_0x2025e3))==null?void 0x0:_0x26677b[_0x5ae87d(0x13a)](_0x475a89);if(!_0xd5610a)return _0x3f85b6;let _0x196f77=(0x0,_0x261221[_0x5ae87d(0x362)])(_0xc89fea[_0x5ae87d(0xdb)],_0xc89fea[_0x5ae87d(0x30a)],_0x412a49[_0x5ae87d(0x333)],_0xd5610a);return _0x196f77?{'x':_0x196f77[_0x5ae87d(0x2d8)],'y':_0x196f77[_0x5ae87d(0x403)]}:_0x3f85b6;}[_0x5671d9(0x36c)](_0x270997,_0x5cc866){const _0x401ef8=_0x5671d9;var _0x22bc93;let _0x9aae68=(_0x22bc93=this[_0x401ef8(0x434)]['getUnit'](_0x270997))==null?void 0x0:_0x22bc93[_0x401ef8(0x13a)](_0x5cc866);return(_0x9aae68==null?void 0x0:_0x9aae68[_0x401ef8(0x1e5)]())??0x1;}[_0x5671d9(0x324)](_0x26e676,_0x220c6d,_0x5ab5f7){const _0x4a147c=_0x5671d9;this[_0x4a147c(0x252)]((0x0,_0x383631[_0x4a147c(0x292)])(_0x26e676[_0x4a147c(0xe5)][_0x4a147c(0x17a)]((_0x1fefb0,_0x3eb48b)=>{const _0x13891f=_0x4a147c;var _0x26d7b6,_0x4d24e5,_0xd14618;let {unitId:_0x2002c3,subUnitId:_0x1bf2e3,drawingId:_0x465c26}=_0x26e676[_0x13891f(0x4cd)](),_0x55cc7c=this['_getImageDrawingInfo'](_0x2002c3,_0x1bf2e3,_0x465c26);if(!(_0x55cc7c!=null&&_0x55cc7c[_0x13891f(0x2c6)]))return;let {left:_0xe86e18,top:_0x41d654,width:_0x2a09ed,height:_0x11e903}=_0x55cc7c[_0x13891f(0x2c6)];this['_baseLeft']=_0xe86e18||0x0,this[_0x13891f(0x180)]=_0x41d654||0x0,this[_0x13891f(0x176)]=_0x2a09ed||0x0,this[_0x13891f(0x4cc)]=_0x11e903||0x0;let _0x1e66d8=!!((_0x26d7b6=_0x55cc7c[_0x13891f(0x2c6)])!=null&&_0x26d7b6[_0x13891f(0x160)]),_0x42a077=!!((_0x4d24e5=_0x55cc7c['transform'])!=null&&_0x4d24e5[_0x13891f(0x481)]),_0x404bef=((_0xd14618=_0x55cc7c['transform'])==null?void 0x0:_0xd14618[_0x13891f(0x46e)])||0x0,_0x294512=this[_0x13891f(0x255)](_0x2002c3,_0x1bf2e3,_0x465c26);if(!_0x294512)return;let _0x1dda45=this['_getOrCreateShapeModel'](_0x294512[_0x13891f(0x41e)],this[_0x13891f(0x176)],this['_baseHeight'],_0x294512[_0x13891f(0x16c)]);if(!_0x1dda45||(this[_0x13891f(0x194)]=_0x1dda45,this[_0x13891f(0x23a)]=_0x1dda45[_0x13891f(0x12b)](_0x5ab5f7),!this[_0x13891f(0x23a)]))return;this[_0x13891f(0x1e7)]=!0x0,_0x220c6d['disableObjectsEvent']();let _0x3c9888=_0x294512[_0x13891f(0x41e)];this[_0x13891f(0x40e)]=_0x220c6d[_0x13891f(0x41a)][_0x13891f(0x17a)]((_0x9f28aa,_0x407fed)=>{const _0x35cdc4=_0x13891f;if(!this[_0x35cdc4(0x1e7)])return;let {offsetX:_0x3aecef,offsetY:_0xf02c11}=_0x9f28aa,_0x10e1e3=this['_activeAdjustInfo'];if(!this[_0x35cdc4(0x194)]||!_0x10e1e3)return;_0x220c6d['disableObjectsEvent'](),_0x220c6d[_0x35cdc4(0x2f8)](_0x1c3608[_0x35cdc4(0xf4)][_0x35cdc4(0x450)]);let _0x2fa801={'left':0x0,'top':0x0,'width':this['_baseWidth'],'height':this[_0x35cdc4(0x4cc)]},_0x3ccf02=this['_getScrollInfo'](_0x2002c3,_0x1bf2e3),_0x53fe50=this[_0x35cdc4(0x36c)](_0x2002c3,_0x1bf2e3),_0x3ec9db=_0x3aecef/_0x53fe50+_0x3ccf02['x']-this[_0x35cdc4(0x43c)],_0x384cc9=_0xf02c11/_0x53fe50+_0x3ccf02['y']-this[_0x35cdc4(0x180)];if(_0x404bef!==0x0){let _0x5eb48d=this[_0x35cdc4(0x176)]/0x2,_0x3f2a3d=this[_0x35cdc4(0x4cc)]/0x2,_0x20d069=_0x404bef*Math['PI']/0xb4,_0x41336d=Math['cos'](_0x20d069),_0x3709a6=Math[_0x35cdc4(0x417)](_0x20d069),_0x168d2f=_0x3ec9db-_0x5eb48d,_0x242c75=_0x384cc9-_0x3f2a3d;_0x3ec9db=_0x5eb48d+(_0x168d2f*_0x41336d+_0x242c75*_0x3709a6),_0x384cc9=_0x3f2a3d+(-_0x168d2f*_0x3709a6+_0x242c75*_0x41336d);}_0x1e66d8&&(_0x3ec9db=this['_baseWidth']-_0x3ec9db),_0x42a077&&(_0x384cc9=this[_0x35cdc4(0x4cc)]-_0x384cc9);let _0x444fe3=this[_0x35cdc4(0x194)]['calcAdjValues'](_0x2fa801,{'x':_0x3ec9db,'y':_0x384cc9},_0x10e1e3,_0x1e66d8,_0x42a077);if(Object[_0x35cdc4(0x144)](_0x444fe3)[_0x35cdc4(0x175)]!==0x0){for(let [_0x25b091,_0x1ff10a]of Object[_0x35cdc4(0x2f6)](_0x444fe3))this[_0x35cdc4(0x194)][_0x35cdc4(0x290)](_0x25b091,_0x1ff10a);this['_activeShapeModel'][_0x35cdc4(0x288)]({'width':this['_baseWidth'],'height':this[_0x35cdc4(0x4cc)]}),this['_updateImageAdjValues'](_0x2002c3,_0x1bf2e3,_0x465c26,_0x444fe3),this[_0x35cdc4(0x479)]=this[_0x35cdc4(0x194)][_0x35cdc4(0x247)](),this[_0x35cdc4(0xcc)](),_0x407fed[_0x35cdc4(0x425)]();}}),this[_0x13891f(0x115)]=_0x220c6d[_0x13891f(0x243)][_0x13891f(0x17a)]((_0xf98837,_0x1108cc)=>{const _0x2407d8=_0x13891f;if(this[_0x2407d8(0x40e)][_0x2407d8(0x165)](),this[_0x2407d8(0x115)]['unsubscribe'](),_0x220c6d[_0x2407d8(0x238)](),this[_0x2407d8(0x194)]){let _0xd7008d=this[_0x2407d8(0x194)][_0x2407d8(0x3b6)](),_0x5a2f3b={};for(let _0x5ab370 of _0xd7008d){let _0x36c4c7=this[_0x2407d8(0x194)][_0x2407d8(0x440)](_0x5ab370);_0x36c4c7!==void 0x0&&(_0x5a2f3b[_0x5ab370]=_0x36c4c7);}this[_0x2407d8(0x187)][_0x2407d8(0x49e)](_0x2002c3,_0x1bf2e3,_0x465c26,_0x3c9888,_0x5a2f3b);}this[_0x2407d8(0x23a)]=void 0x0,this[_0x2407d8(0x194)]=void 0x0,this['_isStartAdjusting']=!0x1,_0x1108cc[_0x2407d8(0x425)](),_0x220c6d['enableObjectsEvent']();}),_0x3eb48b[_0x13891f(0x425)]();})));}[_0x5671d9(0x464)](_0x870c4d,_0x5965c6,_0x48bfa4,_0x48e4b7){const _0x30bf50=_0x5671d9;let _0x5caf7a=this[_0x30bf50(0x42d)][_0x30bf50(0x1fa)](_0x870c4d);if(!_0x5caf7a)return;let {scene:_0x195f00}=_0x5caf7a,_0x7501c9=(0x0,_0x279593['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x870c4d,'subUnitId':_0x5965c6,'drawingId':_0x48bfa4}),_0x1ed4c8=_0x195f00[_0x30bf50(0x3d4)](_0x7501c9);if(_0x1ed4c8 instanceof _0x1c3608['Image']){let _0x546377=_0x1ed4c8[_0x30bf50(0x4c5)]??{};_0x1ed4c8[_0x30bf50(0x323)]({..._0x546377,..._0x48e4b7}),_0x1ed4c8[_0x30bf50(0x33a)](!0x0);}}[_0x5671d9(0x3d5)](){const _0x7b793f=_0x5671d9;let _0x4c37f1=this[_0x7b793f(0x434)][_0x7b793f(0x393)](_0x383631['UniverInstanceType'][_0x7b793f(0x3e4)]);this['disposeWithMe'](_0x4c37f1[_0x7b793f(0x33d)]((0x0,_0x4250df[_0x7b793f(0x1bd)])(_0xca8504=>_0xca8504?_0xca8504[_0x7b793f(0x410)][_0x7b793f(0x33d)]((0x0,_0x4250df[_0x7b793f(0x1bd)])(_0x2ef461=>{const _0x31a9c0=_0x7b793f;if(!_0x2ef461)return _0x4250df[_0x31a9c0(0x15b)];let _0x1535cb=_0xca8504['getUnitId'](),_0x2cce75=this['_renderManagerService'][_0x31a9c0(0x1fa)](_0x1535cb),_0x38266d=_0x2cce75==null?void 0x0:_0x2cce75[_0x31a9c0(0x333)];return _0x38266d?(0x0,_0x4250df['of'])(_0x38266d):_0x4250df[_0x31a9c0(0x15b)];})):_0x4250df[_0x7b793f(0x15b)]))[_0x7b793f(0x317)](_0x2b5445=>{const _0x434550=_0x7b793f;let _0x2265c6=_0x2b5445[_0x434550(0x178)]();this[_0x434550(0x252)](_0x2b5445[_0x434550(0x41a)][_0x434550(0x17a)](()=>{const _0x577a19=_0x434550;this[_0x577a19(0x2d4)]&&this['_clearControls']();})),this['disposeWithMe'](_0x2265c6['changeStart$'][_0x434550(0x317)](_0x19ad2b=>{const _0x54be23=_0x434550;let {objects:_0x50d447}=_0x19ad2b;if(this[_0x54be23(0xcc)](),_0x50d447!==null&&_0x50d447['size']===0x1){let _0x56041d=_0x50d447[_0x54be23(0x206)]()['next']()['value'];_0x56041d instanceof _0x1c3608[_0x54be23(0xd6)]&&_0x56041d[_0x54be23(0x41e)]&&(this[_0x54be23(0x2d4)]=!0x0);}})),this[_0x434550(0x252)](_0x2265c6[_0x434550(0x1f8)]['subscribe'](()=>{const _0x199069=_0x434550;this[_0x199069(0x2d4)]&&this[_0x199069(0xc2)]();})),this['disposeWithMe'](_0x2b5445[_0x434550(0x243)][_0x434550(0x17a)](()=>{const _0xf18624=_0x434550;this[_0xf18624(0x2d4)]&&(this[_0xf18624(0x2d4)]=!0x1,this[_0xf18624(0xcc)]());})),this[_0x434550(0x252)](_0x2265c6[_0x434550(0x3c2)][_0x434550(0x317)](()=>{const _0x3ddcd2=_0x434550;if(this['_unitId']&&this[_0x3ddcd2(0x1f0)]&&this['_activeImageId']){let _0x915c80=this[_0x3ddcd2(0x255)](this[_0x3ddcd2(0x48e)],this[_0x3ddcd2(0x1f0)],this[_0x3ddcd2(0x258)]);if(_0x915c80){var _0x204931,_0x801a76;let _0x2aa80f=this['_getImageDrawingInfo'](this['_unitId'],this[_0x3ddcd2(0x1f0)],this[_0x3ddcd2(0x258)]),_0x5463ed=(_0x2aa80f==null||(_0x204931=_0x2aa80f[_0x3ddcd2(0x2c6)])==null?void 0x0:_0x204931['width'])||0x0,_0x5ea79c=(_0x2aa80f==null||(_0x801a76=_0x2aa80f[_0x3ddcd2(0x2c6)])==null?void 0x0:_0x801a76['height'])||0x0,_0xd92c45=this[_0x3ddcd2(0x249)](_0x915c80['prstGeom'],_0x5463ed,_0x5ea79c,_0x915c80[_0x3ddcd2(0x16c)]);_0xd92c45&&(this[_0x3ddcd2(0x479)]=_0xd92c45[_0x3ddcd2(0x247)](),this['_clearControls'](),this[_0x3ddcd2(0xcc)](!0x0));}}}));}));}[_0x5671d9(0x3cb)](){const _0x4ddca1=_0x5671d9;this[_0x4ddca1(0x252)](this[_0x4ddca1(0x306)][_0x4ddca1(0x262)]['subscribe'](_0x386136=>{const _0x380c33=_0x4ddca1;if(_0x386136['length']===0x1){let _0x2675a0=_0x386136[0x0];if(_0x2675a0[_0x380c33(0x3d6)]===_0x383631[_0x380c33(0x286)][_0x380c33(0x217)]){let {unitId:_0x3b00d8,subUnitId:_0x302e93,drawingId:_0xd4a30d}=_0x2675a0,_0x25f32f=this[_0x380c33(0x255)](_0x3b00d8,_0x302e93,_0xd4a30d);if(_0x25f32f){var _0xa8e062,_0x39eae6;this[_0x380c33(0x258)]=_0xd4a30d,this[_0x380c33(0x48e)]=_0x3b00d8,this[_0x380c33(0x1f0)]=_0x302e93;let _0x47cf57=this[_0x380c33(0x36a)](_0x3b00d8,_0x302e93,_0xd4a30d),_0x16f32c=(_0x47cf57==null||(_0xa8e062=_0x47cf57[_0x380c33(0x2c6)])==null?void 0x0:_0xa8e062[_0x380c33(0x439)])||0x0,_0x4455b7=(_0x47cf57==null||(_0x39eae6=_0x47cf57[_0x380c33(0x2c6)])==null?void 0x0:_0x39eae6['height'])||0x0,_0x3bd26f=this[_0x380c33(0x249)](_0x25f32f['prstGeom'],_0x16f32c,_0x4455b7,_0x25f32f[_0x380c33(0x16c)]);_0x3bd26f&&(this[_0x380c33(0x479)]=_0x3bd26f['getDrawingPoints']()),this[_0x380c33(0xc2)](),this['_createControls'](!0x0);}else this[_0x380c33(0x45b)]();}else this['_resetState']();}else this[_0x380c33(0x45b)]();})),this[_0x4ddca1(0x252)](this[_0x4ddca1(0x306)]['update$'][_0x4ddca1(0x317)](_0x95a3b3=>{const _0x2fd96f=_0x4ddca1;if(_0x95a3b3[_0x2fd96f(0x175)]===0x1){let _0x3e8027=_0x95a3b3[0x0],_0x480640=this[_0x2fd96f(0x306)][_0x2fd96f(0x14d)](_0x3e8027);(_0x480640==null?void 0x0:_0x480640[_0x2fd96f(0x3d6)])===_0x383631[_0x2fd96f(0x286)][_0x2fd96f(0x217)]&&this[_0x2fd96f(0x258)]===_0x3e8027[_0x2fd96f(0x493)]&&(this[_0x2fd96f(0xc2)](),this[_0x2fd96f(0xcc)](!0x0));}})),this[_0x4ddca1(0x252)](this[_0x4ddca1(0x306)]['remove$'][_0x4ddca1(0x317)](_0x2db499=>{const _0x2f552b=_0x4ddca1;for(let _0x4ce7e4 of _0x2db499)this[_0x2f552b(0x258)]===_0x4ce7e4['drawingId']&&this[_0x2f552b(0x45b)]();}));}[_0x5671d9(0x45b)](){const _0x14250d=_0x5671d9;this[_0x14250d(0x258)]=null,this[_0x14250d(0x48e)]=null,this[_0x14250d(0x1f0)]=null,this[_0x14250d(0x479)]=void 0x0,this[_0x14250d(0xc2)]();}};_0x2d7d8a=_0x25a2aa([_0x4177c4(0x1,_0x279593[_0x5671d9(0xf1)]),_0x4177c4(0x2,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x1c3608[_0x5671d9(0x1fd)])),_0x4177c4(0x3,_0x383631[_0x5671d9(0x1f7)]),_0x4177c4(0x4,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x5343de))],_0x2d7d8a);function _0x5940a4({ref:_0xce9420,..._0x371b23}){const _0x44e00b=_0x5671d9;let {preserveStrokeWidth:_0x18fed7,icon:_0x4ee963,id:_0x3c809b,className:_0x31234b,extend:_0x4eed79,..._0x3dbb20}=_0x371b23,_0x5341e2=('univerjs-icon\x20univerjs-icon-'+_0x3c809b+'\x20'+(_0x31234b||''))['trim'](),_0x4abef2='_'+(0x0,_0x6ed98f[_0x44e00b(0x42a)])(),_0x241628=(0x0,_0x6ed98f[_0x44e00b(0x161)])(null);return(0x0,_0x6ed98f['useImperativeHandle'])(_0xce9420,()=>_0x241628['current']),(0x0,_0x6ed98f[_0x44e00b(0x44e)])(()=>{const _0x4bff41=_0x44e00b;if(_0x18fed7&&_0x241628['current']&&_0x241628['current']['localName']===_0x4ee963[_0x4bff41(0x1c4)])return _0x330c7e(_0x241628['current']);},[_0x18fed7,_0x4ee963]),_0x5297e4(_0x4ee963,''+_0x3c809b,{'defIds':_0x4ee963[_0x44e00b(0x132)],'idSuffix':_0x4abef2},{'ref':_0x241628,'className':_0x5341e2,..._0x3dbb20},_0x4eed79);}function _0x5297e4(_0x24d5aa,_0x1e940a,_0x533052,_0x2325d6,_0x567b48){const _0x301231=_0x5671d9;return(0x0,_0x6ed98f[_0x301231(0x4c6)])(_0x24d5aa[_0x301231(0x1c4)],{'key':_0x1e940a,..._0x1fceaf(_0x24d5aa,_0x533052,_0x567b48),..._0x2325d6},(_0x5e1014(_0x24d5aa,_0x533052)[_0x301231(0x1c5)]||[])[_0x301231(0x3da)]((_0x2adab8,_0xedea7)=>_0x5297e4(_0x2adab8,_0x1e940a+'-'+_0x24d5aa[_0x301231(0x1c4)]+'-'+_0xedea7,_0x533052,void 0x0,_0x567b48)));}function _0x1fceaf(_0x17d06c,_0x4fcab8,_0x1a6f33){const _0x5a071=_0x5671d9;let _0x35ff4f={..._0x17d06c['attrs']};_0x1a6f33!=null&&_0x1a6f33[_0x5a071(0x3ff)]&&_0x35ff4f[_0x5a071(0x3c6)]==='colorChannel1'&&(_0x35ff4f[_0x5a071(0x3c6)]=_0x1a6f33[_0x5a071(0x3ff)]),_0x1a6f33!=null&&_0x1a6f33[_0x5a071(0x3ff)]&&_0x35ff4f['stroke']===_0x5a071(0x3ff)&&(_0x35ff4f[_0x5a071(0x193)]=_0x1a6f33[_0x5a071(0x3ff)]),_0x17d06c[_0x5a071(0x1c4)]===_0x5a071(0x335)&&_0x35ff4f['id']&&(_0x35ff4f['id']+=_0x4fcab8[_0x5a071(0x20c)]),Object['entries'](_0x35ff4f)['forEach'](([_0x268fae,_0xcc3393])=>{const _0x25099c=_0x5a071;_0x268fae==='mask'&&typeof _0xcc3393==_0x25099c(0x3d1)&&(_0x35ff4f[_0x268fae]=_0xcc3393['replace'](/url\(#(.*)\)/,'url(#$1'+_0x4fcab8[_0x25099c(0x20c)]+')'));});let {defIds:_0x224d2b}=_0x4fcab8;return!_0x224d2b||_0x224d2b[_0x5a071(0x175)]===0x0?_0x35ff4f:(_0x17d06c[_0x5a071(0x1c4)]===_0x5a071(0x10e)&&_0x35ff4f['xlink:href']&&(_0x35ff4f[_0x5a071(0x445)]+=_0x4fcab8[_0x5a071(0x20c)]),Object[_0x5a071(0x2f6)](_0x35ff4f)[_0x5a071(0x3a7)](([_0x1db521,_0x2bb3c4])=>{const _0x2fcdb1=_0x5a071;typeof _0x2bb3c4==_0x2fcdb1(0x3d1)&&(_0x35ff4f[_0x1db521]=_0x2bb3c4[_0x2fcdb1(0x153)](/url\(#(.*)\)/,_0x2fcdb1(0x148)+_0x4fcab8['idSuffix']+')'));}),_0x35ff4f);}function _0x5e1014(_0x51ee86,_0x2e153a){const _0x58ebca=_0x5671d9;var _0xf9f493;let {defIds:_0x50174c}=_0x2e153a;return!_0x50174c||_0x50174c[_0x58ebca(0x175)]===0x0?_0x51ee86:_0x51ee86[_0x58ebca(0x1c4)]===_0x58ebca(0x49b)&&(_0xf9f493=_0x51ee86['children'])!=null&&_0xf9f493['length']?{..._0x51ee86,'children':_0x51ee86[_0x58ebca(0x1c5)][_0x58ebca(0x3da)](_0xe9bc45=>typeof _0xe9bc45['attrs']['id']=='string'&&_0x50174c&&_0x50174c[_0x58ebca(0x119)](_0xe9bc45[_0x58ebca(0x485)]['id'])?{..._0xe9bc45,'attrs':{..._0xe9bc45[_0x58ebca(0x485)],'id':_0xe9bc45[_0x58ebca(0x485)]['id']+_0x2e153a[_0x58ebca(0x20c)]}}:_0xe9bc45)}:_0x51ee86;}function _0x330c7e(_0x47043c){const _0x47ebfb=_0x5671d9;let _0x2db53b=_0x47043c[_0x47ebfb(0x48f)][_0x47ebfb(0x4ca)],_0x164c26=Math['max'](_0x2db53b[_0x47ebfb(0x439)],_0x2db53b[_0x47ebfb(0x2ea)]);if(!Number[_0x47ebfb(0x196)](_0x164c26)||_0x164c26<=0x0||_0x2db53b[_0x47ebfb(0x439)]<=0x0||_0x2db53b['height']<=0x0)return()=>void 0x0;let _0x3e2f3c=0x10/_0x164c26,_0x5dfaf4=Array[_0x47ebfb(0x2c0)](_0x47043c['querySelectorAll'](_0x47ebfb(0x282)))[_0x47ebfb(0x430)](_0x314857=>{const _0x46b8a7=_0x47ebfb;let _0x44b7b=getComputedStyle(_0x314857),_0x5e9a01=Number[_0x46b8a7(0x1be)](_0x44b7b[_0x46b8a7(0x3fa)]);return _0x44b7b[_0x46b8a7(0x193)]===_0x46b8a7(0x26c)||Number[_0x46b8a7(0x1be)](_0x44b7b[_0x46b8a7(0x3b3)])===0x0||_0x44b7b[_0x46b8a7(0x4a0)]===_0x46b8a7(0x331)||!Number['isFinite'](_0x5e9a01)||_0x5e9a01<=0x0?[]:[{'element':_0x314857,'hadStyleAttribute':_0x314857[_0x46b8a7(0x2ac)]('style'),'originalStrokeWidth':_0x5e9a01,'strokeWidth':_0xb0751e(_0x314857[_0x46b8a7(0x124)],_0x46b8a7(0x444))}];})[_0x47ebfb(0x3da)](_0x53a5a1=>({'appliedStrokeWidth':null,'element':_0x53a5a1[_0x47ebfb(0x455)],'hadStyleAttribute':_0x53a5a1['hadStyleAttribute'],'isReleased':!0x1,'originalStrokeWidth':_0x53a5a1[_0x47ebfb(0x353)],'strokeWidth':_0x53a5a1[_0x47ebfb(0x3fa)]}));if(_0x5dfaf4[_0x47ebfb(0x175)]===0x0)return()=>void 0x0;let _0x2713a0=(_0xa749a1,_0x17388d)=>{const _0x48f7fb=_0x47ebfb;if(_0x2db53b['width']<=0x0||_0x2db53b[_0x48f7fb(0x2ea)]<=0x0||_0xa749a1<=0x0||_0x17388d<=0x0)return;let _0x2e2ac5=Math[_0x48f7fb(0x428)](_0xa749a1/_0x2db53b[_0x48f7fb(0x439)],_0x17388d/_0x2db53b[_0x48f7fb(0x2ea)]);!Number[_0x48f7fb(0x196)](_0x2e2ac5)||_0x2e2ac5<=0x0||_0x5dfaf4[_0x48f7fb(0x3a7)](_0x3a28ad=>{const _0x4632c7=_0x48f7fb;if(_0x3a28ad[_0x4632c7(0x313)])return;if(_0x3a28ad['appliedStrokeWidth']!==null&&(_0x3a28ad[_0x4632c7(0x455)]['style']['getPropertyValue'](_0x4632c7(0x444))!==_0x3a28ad[_0x4632c7(0x295)]||_0x3a28ad['element']['style'][_0x4632c7(0x38b)](_0x4632c7(0x444))!==_0x3a28ad[_0x4632c7(0x3fa)]['priority'])){_0x3a28ad[_0x4632c7(0x295)]=null,_0x3a28ad[_0x4632c7(0x313)]=!0x0;return;}let _0x2bf721=_0x3a28ad[_0x4632c7(0x353)]*_0x3e2f3c/_0x2e2ac5,_0x3d3656=Number(_0x2bf721[_0x4632c7(0x2b3)](0xc))+'px';_0x3a28ad['element'][_0x4632c7(0x124)][_0x4632c7(0x43a)](_0x4632c7(0x444),_0x3d3656,_0x3a28ad[_0x4632c7(0x3fa)][_0x4632c7(0x2b0)]),_0x3a28ad[_0x4632c7(0x295)]=_0x3d3656;});},_0x35419b=_0x47043c['getBoundingClientRect']();_0x2713a0(_0x35419b[_0x47ebfb(0x439)],_0x35419b['height']);let _0x3a160e=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x43c221=>{const _0x4369c0=_0x47ebfb;if(_0x43c221[_0x4369c0(0x156)](_0x1ae9fe=>_0x1ae9fe[_0x4369c0(0x2c1)]===_0x47043c)){let _0x98ea41=_0x47043c[_0x4369c0(0x11a)]();_0x2713a0(_0x98ea41['width'],_0x98ea41['height']);}});return _0x3a160e==null||_0x3a160e[_0x47ebfb(0x17f)](_0x47043c),()=>{const _0x389019=_0x47ebfb;_0x3a160e==null||_0x3a160e[_0x389019(0x4ad)](),_0x5dfaf4[_0x389019(0x3a7)](_0x3322b5=>{const _0x3a1e4a=_0x389019;_0x3322b5[_0x3a1e4a(0x295)]!==null&&(_0x4811fb(_0x3322b5[_0x3a1e4a(0x455)][_0x3a1e4a(0x124)],_0x3a1e4a(0x444),_0x3322b5['appliedStrokeWidth'],_0x3322b5[_0x3a1e4a(0x3fa)][_0x3a1e4a(0x2b0)],_0x3322b5['strokeWidth']),!_0x3322b5[_0x3a1e4a(0x109)]&&_0x3322b5['element'][_0x3a1e4a(0x124)]['length']===0x0&&_0x3322b5[_0x3a1e4a(0x455)]['removeAttribute'](_0x3a1e4a(0x124)));});};}function _0xb0751e(_0x8d97f5,_0xe85ebf){const _0x2b306b=_0x5671d9;return{'priority':_0x8d97f5[_0x2b306b(0x38b)](_0xe85ebf),'value':_0x8d97f5[_0x2b306b(0x33e)](_0xe85ebf)};}function _0x4811fb(_0x20e4a2,_0x2d8269,_0xa7460b,_0x595195,_0x2ed8c4){const _0x130a44=_0x5671d9;_0x20e4a2[_0x130a44(0x33e)](_0x2d8269)===_0xa7460b&&_0x20e4a2['getPropertyPriority'](_0x2d8269)===_0x595195&&(_0x2ed8c4[_0x130a44(0x320)]?_0x20e4a2[_0x130a44(0x43a)](_0x2d8269,_0x2ed8c4['value'],_0x2ed8c4[_0x130a44(0x2b0)]):_0x20e4a2[_0x130a44(0x372)](_0x2d8269));}_0x5940a4[_0x5671d9(0x192)]=_0x5671d9(0x269);let _0x144a35={'tag':_0x5671d9(0x419),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5671d9(0x26c),'viewBox':_0x5671d9(0x3b2),'width':_0x5671d9(0x309),'height':_0x5671d9(0x309)},'children':[{'tag':_0x5671d9(0xc3),'attrs':{'fill':_0x5671d9(0x223),'d':_0x5671d9(0x415),'fillRule':_0x5671d9(0x4b6),'clipRule':_0x5671d9(0x4b6)}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x5671d9(0x37b),'fillRule':'evenodd','clipRule':'evenodd'}},{'tag':_0x5671d9(0xc3),'attrs':{'fill':_0x5671d9(0x223),'d':_0x5671d9(0x158)}},{'tag':_0x5671d9(0xc3),'attrs':{'fill':_0x5671d9(0x223),'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'}}]},_0x3ff1ac=(0x0,_0x6ed98f['forwardRef'])(function(_0x3827de,_0x417679){const _0x18fd9c=_0x5671d9;return(0x0,_0x6ed98f[_0x18fd9c(0x4c6)])(_0x5940a4,Object[_0x18fd9c(0x2f2)]({},_0x3827de,{'id':_0x18fd9c(0x125),'ref':_0x417679,'icon':_0x144a35}));});_0x3ff1ac[_0x5671d9(0x192)]=_0x5671d9(0x402);let _0x712223={'tag':_0x5671d9(0x419),'attrs':{'xmlns':_0x5671d9(0x3be),'fill':_0x5671d9(0x26c),'viewBox':_0x5671d9(0x321),'width':'1em','height':'1em'},'children':[{'tag':_0x5671d9(0xc3),'attrs':{'stroke':_0x5671d9(0x223),'d':_0x5671d9(0x263),'strokeLinecap':'round','strokeLinejoin':_0x5671d9(0x470),'strokeWidth':1.3}},{'tag':_0x5671d9(0xc3),'attrs':{'stroke':'currentColor','d':_0x5671d9(0x4cb),'strokeLinecap':_0x5671d9(0x470),'strokeLinejoin':_0x5671d9(0x470),'strokeWidth':1.3}},{'tag':_0x5671d9(0xc3),'attrs':{'stroke':'currentColor','d':_0x5671d9(0x1d8),'strokeLinecap':_0x5671d9(0x470),'strokeWidth':1.2}},{'tag':_0x5671d9(0xc3),'attrs':{'stroke':_0x5671d9(0x223),'d':_0x5671d9(0x487),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x5671d9(0x223),'d':_0x5671d9(0x2c8),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x5671d9(0x223),'d':'M8\x2014V14.2','strokeLinecap':_0x5671d9(0x470),'strokeWidth':1.2}}]},_0x534026=(0x0,_0x6ed98f[_0x5671d9(0x272)])(function(_0x371a45,_0x1b5a93){const _0x14b3b2=_0x5671d9;return(0x0,_0x6ed98f['createElement'])(_0x5940a4,Object[_0x14b3b2(0x2f2)]({},_0x371a45,{'id':_0x14b3b2(0x22a),'ref':_0x1b5a93,'icon':_0x712223}));});_0x534026[_0x5671d9(0x192)]=_0x5671d9(0x34a);let _0x1184ae={'tag':_0x5671d9(0x419),'attrs':{'xmlns':_0x5671d9(0x3be),'fill':_0x5671d9(0x26c),'viewBox':'0\x200\x2016\x2016','width':_0x5671d9(0x309),'height':_0x5671d9(0x309)},'children':[{'tag':_0x5671d9(0xc3),'attrs':{'stroke':'currentColor','d':_0x5671d9(0xff),'strokeLinecap':_0x5671d9(0x470),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x5671d9(0x223),'d':'M3.3\x2013.4L8\x209.8L12.7\x2013.4H3.3Z','strokeLinecap':_0x5671d9(0x470),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x5671d9(0xc3),'attrs':{'stroke':'currentColor','d':_0x5671d9(0x307),'strokeLinecap':_0x5671d9(0x470),'strokeWidth':1.2}},{'tag':_0x5671d9(0xc3),'attrs':{'stroke':'currentColor','d':'M6.2\x208H7.8','strokeLinecap':'round','strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x5671d9(0x223),'d':_0x5671d9(0x454),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x5671d9(0xc3),'attrs':{'stroke':_0x5671d9(0x223),'d':_0x5671d9(0x3bc),'strokeLinecap':'round','strokeWidth':1.2}}]},_0x5e4242=(0x0,_0x6ed98f[_0x5671d9(0x272)])(function(_0x1b4f11,_0x3930ef){const _0x28fcb8=_0x5671d9;return(0x0,_0x6ed98f[_0x28fcb8(0x4c6)])(_0x5940a4,Object[_0x28fcb8(0x2f2)]({},_0x1b4f11,{'id':_0x28fcb8(0x212),'ref':_0x3930ef,'icon':_0x1184ae}));});_0x5e4242['displayName']=_0x5671d9(0x346);let _0x45e12e={'tag':_0x5671d9(0x419),'attrs':{'xmlns':_0x5671d9(0x3be),'fill':_0x5671d9(0x26c),'viewBox':_0x5671d9(0x321),'width':_0x5671d9(0x309),'height':_0x5671d9(0x309)},'children':[{'tag':'path','attrs':{'fill':_0x5671d9(0x223),'d':_0x5671d9(0x1ac),'fillRule':_0x5671d9(0x4b6),'clipRule':'evenodd'}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x5671d9(0x1bc)}}]},_0x119d55=(0x0,_0x6ed98f[_0x5671d9(0x272)])(function(_0x1429e2,_0x29d9df){const _0x391194=_0x5671d9;return(0x0,_0x6ed98f[_0x391194(0x4c6)])(_0x5940a4,Object[_0x391194(0x2f2)]({},_0x1429e2,{'id':_0x391194(0x345),'ref':_0x29d9df,'icon':_0x45e12e}));});_0x119d55[_0x5671d9(0x192)]=_0x5671d9(0x195);let _0x55dd35={'tag':_0x5671d9(0x419),'attrs':{'xmlns':_0x5671d9(0x3be),'fill':_0x5671d9(0x26c),'viewBox':'0\x200\x2016\x2016','width':_0x5671d9(0x309),'height':_0x5671d9(0x309)},'children':[{'tag':_0x5671d9(0xc3),'attrs':{'fill':_0x5671d9(0x223),'d':_0x5671d9(0x3d3),'fillRule':_0x5671d9(0x4b6),'clipRule':'evenodd'}},{'tag':'path','attrs':{'fill':_0x5671d9(0x223),'d':_0x5671d9(0x4b4)}}]},_0x33a333=(0x0,_0x6ed98f[_0x5671d9(0x272)])(function(_0x4a0edf,_0x36ae25){const _0x4ebfa8=_0x5671d9;return(0x0,_0x6ed98f['createElement'])(_0x5940a4,Object[_0x4ebfa8(0x2f2)]({},_0x4a0edf,{'id':'move-up-icon','ref':_0x36ae25,'icon':_0x55dd35}));});_0x33a333['displayName']=_0x5671d9(0x168);let _0x1c235b={'tag':_0x5671d9(0x419),'attrs':{'xmlns':_0x5671d9(0x3be),'fill':'none','viewBox':_0x5671d9(0x321),'width':'1em','height':_0x5671d9(0x309)},'children':[{'tag':_0x5671d9(0xc3),'attrs':{'stroke':'currentColor','d':_0x5671d9(0x137),'strokeLinecap':_0x5671d9(0x470),'strokeLinejoin':_0x5671d9(0x470),'strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x5671d9(0x223),'d':'m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','strokeLinecap':'round','strokeLinejoin':_0x5671d9(0x470),'strokeWidth':1.3}}]},_0x4c5ad8=(0x0,_0x6ed98f[_0x5671d9(0x272)])(function(_0x3fe5a1,_0x15c641){const _0x2d7f98=_0x5671d9;return(0x0,_0x6ed98f[_0x2d7f98(0x4c6)])(_0x5940a4,Object['assign']({},_0x3fe5a1,{'id':_0x2d7f98(0x1fb),'ref':_0x15c641,'icon':_0x1c235b}));});_0x4c5ad8['displayName']=_0x5671d9(0x47c);let _0x177ea4={'tag':_0x5671d9(0x419),'attrs':{'xmlns':_0x5671d9(0x3be),'fill':_0x5671d9(0x26c),'viewBox':_0x5671d9(0x321),'width':_0x5671d9(0x309),'height':'1em'},'children':[{'tag':'path','attrs':{'stroke':_0x5671d9(0x223),'d':_0x5671d9(0x4ba),'strokeLinecap':_0x5671d9(0x470),'strokeLinejoin':_0x5671d9(0x470),'strokeWidth':1.2}},{'tag':_0x5671d9(0xc3),'attrs':{'stroke':_0x5671d9(0x223),'d':_0x5671d9(0x416),'strokeLinecap':_0x5671d9(0x470),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':'currentColor','d':_0x5671d9(0x25c),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x5671d9(0xc3),'attrs':{'stroke':_0x5671d9(0x223),'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':_0x5671d9(0x470)}},{'tag':'path','attrs':{'stroke':_0x5671d9(0x223),'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'}}]},_0xc8fb54=(0x0,_0x6ed98f['forwardRef'])(function(_0x473e04,_0x1d45d0){const _0x4416a9=_0x5671d9;return(0x0,_0x6ed98f[_0x4416a9(0x4c6)])(_0x5940a4,Object[_0x4416a9(0x2f2)]({},_0x473e04,{'id':'shape-format-setting-icon','ref':_0x1d45d0,'icon':_0x177ea4}));});_0xc8fb54[_0x5671d9(0x192)]=_0x5671d9(0x33b);let _0x48c595={'tag':_0x5671d9(0x419),'attrs':{'xmlns':_0x5671d9(0x3be),'fill':_0x5671d9(0x26c),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x5671d9(0x309)},'children':[{'tag':'path','attrs':{'fill':_0x5671d9(0x223),'d':_0x5671d9(0x213)}},{'tag':'path','attrs':{'fill':_0x5671d9(0x223),'d':'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','fillRule':_0x5671d9(0x4b6),'clipRule':_0x5671d9(0x4b6)}},{'tag':_0x5671d9(0xc3),'attrs':{'fill':_0x5671d9(0x223),'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':_0x5671d9(0x4b6),'clipRule':'evenodd'}}]},_0x5c98e7=(0x0,_0x6ed98f[_0x5671d9(0x272)])(function(_0x2e7bb2,_0x24dfb2){const _0x51eaa2=_0x5671d9;return(0x0,_0x6ed98f[_0x51eaa2(0x4c6)])(_0x5940a4,Object[_0x51eaa2(0x2f2)]({},_0x2e7bb2,{'id':_0x51eaa2(0x33f),'ref':_0x24dfb2,'icon':_0x48c595}));});_0x5c98e7[_0x5671d9(0x192)]=_0x5671d9(0x49f);function _0x498afa(_0xc029a4){return _0xc029a4['trim']()||void 0x0;}function _0x573d9f(_0x32a23f,_0x2c9987,_0x55cf5e){const _0x1b8a8c=_0x5671d9;var _0x4c366e;return((_0x4c366e=_0x32a23f[_0x1b8a8c(0x279)])==null?void 0x0:_0x4c366e[_0x1b8a8c(0x3a1)]())||_0x55cf5e['t'](_0x1b8a8c(0x2fb)+(0x0,_0x2a9d6c[_0x1b8a8c(0x207)])(_0x32a23f[_0x1b8a8c(0x3d6)]))+'\x20'+(_0x2c9987+0x1);}function _0x55f3d8({PanelComponent:_0x3b1d85=_0x129810[_0x5671d9(0x300)]}){const _0x6f2756=_0x5671d9;var _0x48093e;let _0x224142=(0x0,_0x2f96d6[_0x6f2756(0x19e)])(_0x383631[_0x6f2756(0x422)]),_0x3292b8={'title':_0x224142['t'](_0x6f2756(0x219)),'empty':_0x224142['t'](_0x6f2756(0x30c)),'showAll':_0x224142['t'](_0x6f2756(0x107)),'hideAll':_0x224142['t'](_0x6f2756(0x405)),'lockAll':_0x224142['t'](_0x6f2756(0x378)),'unlockAll':_0x224142['t']('drawing-ui.objectListPanel.unlockAll'),'moveForward':_0x224142['t']('drawing-ui.objectListPanel.moveForward'),'moveBackward':_0x224142['t'](_0x6f2756(0x3ef)),'close':_0x224142['t'](_0x6f2756(0x264)),'show':_0x224142['t']('drawing-ui.objectListPanel.show'),'hide':_0x224142['t']('drawing-ui.objectListPanel.hide'),'lock':_0x224142['t'](_0x6f2756(0x43e)),'unlock':_0x224142['t']('drawing-ui.objectListPanel.unlock'),'lockHint':_0x224142['t']('drawing-ui.objectListPanel.lockHint'),'unlockHint':_0x224142['t'](_0x6f2756(0x2d2)),'name':_0x224142['t'](_0x6f2756(0x1fe)),'nameInput':_0x224142['t'](_0x6f2756(0x221)),'description':_0x224142['t'](_0x6f2756(0x1b3)),'descriptionPlaceholder':_0x224142['t'](_0x6f2756(0x200)),'details':_0x224142['t'](_0x6f2756(0x2e3)),'noSelection':_0x224142['t']('drawing-ui.objectListPanel.noSelection'),'locate':_0x224142['t'](_0x6f2756(0x33c)),'expand':_0x224142['t'](_0x6f2756(0x371)),'collapse':_0x224142['t'](_0x6f2756(0x474)),'dragToReorder':_0x224142['t']('drawing-ui.objectListPanel.dragToReorder'),'search':_0x224142['t'](_0x6f2756(0x2c7)),'filterAll':_0x224142['t']('drawing-ui.objectListPanel.filterAll'),'filterHidden':_0x224142['t'](_0x6f2756(0x3f8)),'filterLocked':_0x224142['t'](_0x6f2756(0x38a)),'sectionCanvas':_0x224142['t']('drawing-ui.objectListPanel.sectionCanvas'),'sectionFloating':_0x224142['t'](_0x6f2756(0x3ba))},_0x533707=(0x0,_0x2f96d6[_0x6f2756(0x19e)])(_0x383631['ICommandService']),_0x17d828=(0x0,_0x2f96d6[_0x6f2756(0x19e)])(_0x383631['IUniverInstanceService']),_0xfb120f=(0x0,_0x2f96d6['useDependency'])(_0x72b203['ISheetDrawingService']),_0x1c13df=(0x0,_0x2f96d6['useDependency'])(_0x279593[_0x6f2756(0xf1)]),_0x1a1a3d=(0x0,_0x2f96d6[_0x6f2756(0x19e)])(_0x1c3608[_0x6f2756(0x1fd)]),[,_0x31d8b9]=(0x0,_0x6ed98f['useReducer'])(_0x20ad08=>_0x20ad08+0x1,0x0),_0x3b59b6=_0x17d828[_0x6f2756(0x141)](_0x383631[_0x6f2756(0x363)]['UNIVER_SHEET']),_0xad237e=(_0x3b59b6==null?void 0x0:_0x3b59b6[_0x6f2756(0x358)]())??'',_0x39b69c=(_0x3b59b6==null||(_0x48093e=_0x3b59b6[_0x6f2756(0x102)]())==null?void 0x0:_0x48093e['getSheetId']())??'',_0x572963=(0x0,_0x2f96d6[_0x6f2756(0x26f)])(()=>_0x1c13df[_0x6f2756(0x262)],_0x1c13df[_0x6f2756(0x486)](),!0x1,[_0x1c13df]);(0x0,_0x6ed98f[_0x6f2756(0x136)])(()=>{const _0x561274=_0x6f2756;let _0x457e68=_0x533707['onCommandExecuted'](()=>_0x31d8b9());return()=>_0x457e68[_0x561274(0x39f)]();},[_0x533707]);let _0xb2b7c2=_0xad237e&&_0x39b69c?_0xfb120f[_0x6f2756(0x24f)](_0xad237e,_0x39b69c):{},_0x32e6b5=(_0xad237e&&_0x39b69c?_0xfb120f[_0x6f2756(0x4bb)](_0xad237e,_0x39b69c):[])[_0x6f2756(0x3da)](_0x2ad30b=>_0xb2b7c2[_0x2ad30b])['filter'](_0x1255ed=>!!_0x1255ed)[_0x6f2756(0x112)](),_0x39e8e6=_0x32e6b5[_0x6f2756(0x400)]((_0x440469,_0x266930)=>(_0x440469[(0x0,_0x129810[_0x6f2756(0x2b9)])(_0x266930[_0x6f2756(0x3d6)])]+=0x1,_0x440469),{'canvas':0x0,'floating':0x0}),_0x2eb377={'canvas':0x0,'floating':0x0},_0x2a1426=_0x32e6b5['map']((_0x195d76,_0x57bfc4)=>{const _0x2733ee=_0x6f2756;let _0x82df64=(0x0,_0x129810[_0x2733ee(0x2b9)])(_0x195d76[_0x2733ee(0x3d6)]),_0x5b74ac=_0x82df64===_0x129810[_0x2733ee(0x23b)],_0x3924f2=_0x2eb377[_0x82df64]++;return{'id':_0x195d76[_0x2733ee(0x493)],'name':_0x573d9f(_0x195d76,_0x57bfc4,_0x224142),'description':_0x195d76[_0x2733ee(0x1ff)],'visible':_0x195d76[_0x2733ee(0x185)]!==!0x0,'selectable':_0x195d76[_0x2733ee(0x1dc)]!==!0x1,'sectionId':_0x82df64,'sectionTitle':_0x5b74ac?_0x3292b8[_0x2733ee(0x483)]:_0x3292b8['sectionCanvas'],'capabilities':_0x5b74ac?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x5b74ac&&_0x3924f2>0x0,'canMoveBackward':!_0x5b74ac&&_0x3924f2<_0x39e8e6[_0x2733ee(0x113)]-0x1,'canReorder':!_0x5b74ac};}),_0x116032=(0x0,_0x6ed98f[_0x6f2756(0x420)])(()=>(_0x572963??[])[_0x6f2756(0x265)](_0x403259=>_0x403259[_0x6f2756(0x173)]===_0xad237e&&_0x403259[_0x6f2756(0x135)]===_0x39b69c)[_0x6f2756(0x3da)](_0xfab60c=>_0xfab60c['drawingId']),[_0x572963,_0x39b69c,_0xad237e]),_0x32cf00=_0x116032[_0x116032[_0x6f2756(0x175)]-0x1]??null,_0x422a57=_0x484aef=>_0xfb120f[_0x6f2756(0x14d)]({'unitId':_0xad237e,'subUnitId':_0x39b69c,'drawingId':_0x484aef})??null,_0x1bb734=async _0x457b4d=>{const _0x5f15fa=_0x6f2756;_0xad237e&&_0x457b4d[_0x5f15fa(0x175)]&&await _0x533707[_0x5f15fa(0x1f9)](_0x72b203['SetSheetDrawingCommand']['id'],{'unitId':_0xad237e,'drawings':_0x457b4d});},_0x220d2b=async(_0x196027,_0x49f187)=>{_0x422a57(_0x196027)&&await _0x1bb734([{'unitId':_0xad237e,'subUnitId':_0x39b69c,'drawingId':_0x196027,..._0x49f187}]);},_0x15edf0=(_0x654584,_0x515368)=>{const _0x3c5f83=_0x6f2756;if(!_0xad237e||!_0x39b69c)return;let _0x1c5699=_0x515368?_0x116032['includes'](_0x654584)?_0x116032[_0x3c5f83(0x265)](_0x29dedf=>_0x29dedf!==_0x654584):[..._0x116032,_0x654584]:[_0x654584];_0x533707['syncExecuteCommand'](_0x279593[_0x3c5f83(0x3ca)]['id'],_0x1c5699[_0x3c5f83(0x3da)](_0x57992d=>({'unitId':_0xad237e,'subUnitId':_0x39b69c,'drawingId':_0x57992d})));let _0x10d545=_0x1c5699[_0x1c5699[_0x3c5f83(0x175)]-0x1];_0x10d545?(0x0,_0x2a9d6c['activateDrawingObject'])(_0x1a1a3d,{'unitId':_0xad237e,'subUnitId':_0x39b69c,'drawingId':_0x10d545}):(0x0,_0x2a9d6c[_0x3c5f83(0x1d7)])(_0x1a1a3d,_0xad237e);},_0x1adaf0=async(_0x2901cc,_0x40ec7a)=>{const _0x29d4c6=_0x6f2756;await _0x1bb734(_0x2901cc[_0x29d4c6(0x3da)](_0x112cc4=>_0x422a57(_0x112cc4))['filter'](_0x2746e5=>!!_0x2746e5)[_0x29d4c6(0x265)](_0x4d7148=>_0x4d7148[_0x29d4c6(0x185)]!==!0x0!==_0x40ec7a)['map'](_0x3a6f21=>({'unitId':_0xad237e,'subUnitId':_0x39b69c,'drawingId':_0x3a6f21[_0x29d4c6(0x493)],'hidden':!_0x40ec7a})));},_0x4a7bcf=async(_0x1f7f1d,_0x472abb)=>{const _0x1fa6f6=_0x6f2756;await _0x1bb734(_0x1f7f1d[_0x1fa6f6(0x3da)](_0x4e3dbf=>_0x422a57(_0x4e3dbf))['filter'](_0x2ef4e9=>!!_0x2ef4e9)[_0x1fa6f6(0x265)](_0x51d0be=>_0x51d0be[_0x1fa6f6(0x1dc)]!==!0x1!==_0x472abb)['map'](_0x3e861f=>({'unitId':_0xad237e,'subUnitId':_0x39b69c,'drawingId':_0x3e861f[_0x1fa6f6(0x493)],'selectable':_0x472abb})));},_0x25e10b=_0x25cea8=>{const _0x29c18f=_0x6f2756;let _0x44f442=_0x422a57(_0x25cea8);if(_0x44f442)return _0x4a7bcf([_0x25cea8],_0x44f442[_0x29c18f(0x1dc)]===!0x1);},_0x438c4f=async(_0x598fef,_0x45c637)=>{const _0x2629af=_0x6f2756;var _0x59a168;let _0x40b375=_0x498afa(_0x45c637);(((_0x59a168=_0x422a57(_0x598fef))==null?void 0x0:_0x59a168[_0x2629af(0x279)])??void 0x0)!==_0x40b375&&await _0x220d2b(_0x598fef,{'name':_0x40b375});},_0x10c46a=async(_0x15488b,_0x3e655c)=>{const _0x413f3d=_0x6f2756;var _0x11804c;let _0xad6ec2=_0x498afa(_0x3e655c);(((_0x11804c=_0x422a57(_0x15488b))==null?void 0x0:_0x11804c[_0x413f3d(0x1ff)])??void 0x0)!==_0xad6ec2&&await _0x220d2b(_0x15488b,{'description':_0xad6ec2});},_0x4d98cf=async(_0x533ade,_0x1c27d5)=>{const _0x57c857=_0x6f2756;_0xad237e&&_0x39b69c&&await _0x533707[_0x57c857(0x1f9)](_0x72b203[_0x57c857(0x2ca)]['id'],{'unitId':_0xad237e,'subUnitId':_0x39b69c,'drawingIds':[_0x533ade],'arrangeType':_0x1c27d5});};return!_0xad237e||!_0x39b69c?(0x0,_0x4170e1[_0x6f2756(0x157)])('div',{'className':'univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','children':_0x3292b8[_0x6f2756(0x24a)]}):(0x0,_0x4170e1[_0x6f2756(0x157)])(_0x3b1d85,{'labels':_0x3292b8,'items':_0x2a1426,'selectedIds':_0x116032,'focusedId':_0x32cf00,'showHeader':!0x1,'onSelect':_0x15edf0,'onSetVisible':_0x1adaf0,'onSetSelectable':_0x4a7bcf,'onCommitName':_0x438c4f,'onCommitDescription':_0x10c46a,'onMoveForward':async _0x2347ec=>_0x4d98cf(_0x2347ec,_0x383631[_0x6f2756(0x412)][_0x6f2756(0x369)]),'onMoveBackward':async _0x1f49af=>_0x4d98cf(_0x1f49af,_0x383631[_0x6f2756(0x412)][_0x6f2756(0x3f5)]),'onToggleSelectable':_0x25e10b});}function _0x34d4b9(){const _0x39d66a=_0x5671d9;return(0x0,_0x4170e1[_0x39d66a(0x157)])(_0x55f3d8,{'PanelComponent':_0x129810[_0x39d66a(0x326)]});}let _0x15ba05=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0xa55205,_0x5c83d7){const _0x2ad3f4=_0x5671d9;super(),this[_0x2ad3f4(0x252)](_0xa55205[_0x2ad3f4(0x4c3)](_0x2f15dd,_0x34d4b9)),this[_0x2ad3f4(0x252)](_0x5c83d7['register']({'BottomIcon':_0x3ff1ac,'FlipHorizontalIcon':_0x534026,'FlipVerticalIcon':_0x5e4242,'MoveDownIcon':_0x119d55,'MoveUpIcon':_0x33a333,'ObjectLayersIcon':_0x4c5ad8,'ShapeFormatSettingIcon':_0xc8fb54,'TopmostIcon':_0x5c98e7})),this[_0x2ad3f4(0x252)](_0xa55205[_0x2ad3f4(0x4c3)](_0x3d6541,_0x36190b)),this[_0x2ad3f4(0x252)](_0xa55205['register'](_0x5812e5,_0x5b85a9)),_0xa55205['get'](_0x129810[_0x2ad3f4(0x387)])||this[_0x2ad3f4(0x252)](_0xa55205[_0x2ad3f4(0x4c3)](_0x129810[_0x2ad3f4(0x387)],_0x18ae1b));}};_0x15ba05=_0x25a2aa([_0x4177c4(0x0,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x2f96d6['ComponentManager'])),_0x4177c4(0x1,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x2f96d6[_0x5671d9(0x421)]))],_0x15ba05);let _0xc020ee=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x215f0a){const _0x22678f=_0x5671d9;super(),this[_0x22678f(0x205)]=_0x215f0a,_0x20dccc(this,'_editingParams$',new _0x4250df[(_0x22678f(0x330))](null)),_0x20dccc(this,_0x22678f(0x3d8),this[_0x22678f(0x3c5)][_0x22678f(0x47d)]()),_0x20dccc(this,_0x22678f(0x2e0),new _0x4250df['BehaviorSubject'](!0x1)),_0x20dccc(this,_0x22678f(0x2f3),this['_onSavingEditorData$'][_0x22678f(0x47d)]()),_0x20dccc(this,'_completionFrame',void 0x0),this['disposeWithMe'](this[_0x22678f(0x205)]['permissionPointUpdate$']['subscribe'](()=>{const _0x12644e=_0x22678f;let _0x1916c6=this[_0x12644e(0x16d)]();_0x1916c6!=null&&_0x1916c6['visible']&&!this[_0x12644e(0x2e7)](_0x1916c6)&&this[_0x12644e(0x2b2)](null);}));}[_0x5671d9(0x39f)](){const _0x23306a=_0x5671d9;this[_0x23306a(0x3f2)](),this[_0x23306a(0x3c5)][_0x23306a(0x289)](null),this['_editingParams$']['complete'](),this[_0x23306a(0x2e0)][_0x23306a(0x289)](!0x1),this[_0x23306a(0x2e0)]['complete'](),super[_0x23306a(0x39f)]();}[_0x5671d9(0x2b2)](_0x203504){const _0x5d8329=_0x5671d9;(_0x203504==null||!_0x203504[_0x5d8329(0x167)]||this[_0x5d8329(0x2e7)](_0x203504))&&(this[_0x5d8329(0x3f2)](),this[_0x5d8329(0x3c5)][_0x5d8329(0x289)](_0x203504),(_0x203504==null||_0x203504[_0x5d8329(0x167)]&&this[_0x5d8329(0x2e0)][_0x5d8329(0x1ea)]())&&this[_0x5d8329(0x2e0)][_0x5d8329(0x289)](!0x1));}[_0x5671d9(0x1e9)](_0x444269){const _0x3e0653=_0x5671d9;this[_0x3e0653(0x2e0)][_0x3e0653(0x289)](_0x444269);}['getEditing'](){const _0x62d76b=_0x5671d9;return this[_0x62d76b(0x3c5)]['getValue']();}['_canEdit'](_0x1f2fc1){const _0x336a8a=_0x5671d9;let _0x27abe1=this[_0x336a8a(0x205)][_0x336a8a(0x20b)](new _0x111c96[(_0x336a8a(0x121))](_0x1f2fc1[_0x336a8a(0x173)])['id']),_0x2fa921=this[_0x336a8a(0x205)][_0x336a8a(0x20b)](new _0x111c96[(_0x336a8a(0x293))](_0x1f2fc1[_0x336a8a(0x173)],_0x1f2fc1[_0x336a8a(0x135)])['id']);return((_0x27abe1==null?void 0x0:_0x27abe1[_0x336a8a(0x320)])??!0x0)&&((_0x2fa921==null?void 0x0:_0x2fa921[_0x336a8a(0x320)])??!0x0);}[_0x5671d9(0x490)](_0x72abc7){const _0x59d55a=_0x5671d9;let _0x4d90ce=this[_0x59d55a(0x16d)]();_0x4d90ce&&this['_completionFrame']===void 0x0&&(this[_0x59d55a(0x1e9)](!0x0),this[_0x59d55a(0x22e)]=requestAnimationFrame(()=>{const _0x48c529=_0x59d55a;this[_0x48c529(0x22e)]=void 0x0,this[_0x48c529(0x16d)]()===_0x4d90ce&&this['setEditing'](null);}));}[_0x5671d9(0x3f2)](){this['_completionFrame']!==void 0x0&&(cancelAnimationFrame(this['_completionFrame']),this['_completionFrame']=void 0x0);}[_0x5671d9(0x2a5)](){const _0x4a6234=_0x5671d9;this['getEditing']()&&this[_0x4a6234(0x2b2)](null);}};_0xc020ee=_0x25a2aa([_0x4177c4(0x0,_0x383631['IPermissionService'])],_0xc020ee);let _0x1b14da=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x367b74,_0xc43592,_0x39f4b7,_0x1d0a02,_0x4d3f43,_0x11e025){const _0x5d4a43=_0x5671d9;super(),this[_0x5d4a43(0x4a5)]=_0x367b74,this[_0x5d4a43(0x1ef)]=_0xc43592,this[_0x5d4a43(0x375)]=_0x39f4b7,this[_0x5d4a43(0x306)]=_0x1d0a02,this['_contextService']=_0x4d3f43,this['_sheetsShapeService']=_0x11e025,_0x20dccc(this,_0x5d4a43(0x208),null),this['_initEvents'](),this['_initSelection'](),this[_0x5d4a43(0x301)]();}[_0x5671d9(0x197)](){const _0x522f32=_0x5671d9;let {scene:_0x48dca9}=this[_0x522f32(0x4a5)];this[_0x522f32(0x252)](_0x48dca9[_0x522f32(0x152)][_0x522f32(0x17a)](_0x2e13ff=>{const _0x4024f4=_0x522f32;let {offsetX:_0x491e58,offsetY:_0x338708}=_0x2e13ff,_0x4c87c9=_0x48dca9[_0x4024f4(0x3ed)](_0x1c3608[_0x4024f4(0x266)][_0x4024f4(0x235)]([_0x491e58,_0x338708]));if(_0x4c87c9 instanceof _0x23237e){let _0x221ff0=this[_0x4024f4(0xd0)][_0x4024f4(0x3a8)](_0x4c87c9[_0x4024f4(0x173)],_0x4c87c9[_0x4024f4(0x135)],_0x4c87c9[_0x4024f4(0x37d)]);if((0x0,_0x287478[_0x4024f4(0x4d2)])(this[_0x4024f4(0xd0)][_0x4024f4(0x347)](_0x4c87c9['unitId'],_0x4c87c9[_0x4024f4(0x135)],_0x4c87c9[_0x4024f4(0x37d)]))||_0x221ff0!=null&&_0x221ff0[_0x4024f4(0xe8)]()[_0x4024f4(0x339)])return;this[_0x4024f4(0x375)][_0x4024f4(0x2b2)]({'visible':!0x0,'unitId':_0x4c87c9[_0x4024f4(0x173)],'subUnitId':_0x4c87c9[_0x4024f4(0x135)],'shapeId':_0x4c87c9[_0x4024f4(0x37d)],'shapeKey':_0x4c87c9['oKey']});}}));}[_0x5671d9(0xd3)](){const _0x29df16=_0x5671d9;this[_0x29df16(0x252)](this[_0x29df16(0x306)][_0x29df16(0x262)][_0x29df16(0x317)](_0x4860c2=>{const _0x22d69b=_0x29df16;if(_0x4860c2[_0x22d69b(0x175)]===0x1){let _0xbbb45d=_0x4860c2[0x0],_0x57b7b4=this[_0x22d69b(0x306)][_0x22d69b(0x14d)](_0xbbb45d);if((_0x57b7b4==null?void 0x0:_0x57b7b4[_0x22d69b(0x3d6)])===_0x383631[_0x22d69b(0x286)][_0x22d69b(0x456)]){var _0x1c626d;let _0x456cc5=this[_0x22d69b(0x375)]['getEditing']();if((_0x456cc5==null?void 0x0:_0x456cc5[_0x22d69b(0x37d)])===_0xbbb45d[_0x22d69b(0x493)]&&_0x456cc5['visible'])return;let _0x1fcd45=(0x0,_0x287478[_0x22d69b(0x4d2)])(this[_0x22d69b(0xd0)]['getShapeType'](_0xbbb45d['unitId'],_0xbbb45d[_0x22d69b(0x135)],_0xbbb45d[_0x22d69b(0x493)])),_0x53da56=!!((_0x1c626d=this[_0x22d69b(0xd0)][_0x22d69b(0x3a8)](_0xbbb45d['unitId'],_0xbbb45d[_0x22d69b(0x135)],_0xbbb45d[_0x22d69b(0x493)]))!=null&&_0x1c626d[_0x22d69b(0xe8)]()['formulaBinding']);(_0x1fcd45||_0x53da56)&&this[_0x22d69b(0x375)][_0x22d69b(0x2b2)](null);}else this[_0x22d69b(0x375)][_0x22d69b(0x490)]();}else this[_0x22d69b(0x375)][_0x22d69b(0x490)]();})),this[_0x29df16(0x252)](this[_0x29df16(0x306)]['remove$'][_0x29df16(0x317)](_0xb5ef95=>{const _0x14efee=_0x29df16;let _0x49e239=this[_0x14efee(0x375)][_0x14efee(0x16d)]();_0x49e239&&_0xb5ef95[_0x14efee(0x156)](_0x438fd2=>_0x438fd2['drawingId']===_0x49e239[_0x14efee(0x37d)])&&this['_shapeTextEditingService'][_0x14efee(0x2b2)](null);}));}[_0x5671d9(0x301)](){const _0x2999ec=_0x5671d9;this['disposeWithMe'](this['_shapeTextEditingService']['editingParams$'][_0x2999ec(0x317)](_0x46f2f4=>{const _0xb4eb4d=_0x2999ec;let {scene:_0x5e5920}=this[_0xb4eb4d(0x4a5)];if(this[_0xb4eb4d(0x208)]){let _0x2fe555=_0x5e5920['getObjectIncludeInGroup'](this[_0xb4eb4d(0x208)]);_0x2fe555&&_0x2fe555[_0xb4eb4d(0x2b2)](!0x1);}if(_0x46f2f4){let _0x4162fa=!!_0x46f2f4[_0xb4eb4d(0x167)],_0x2089db=_0x5e5920[_0xb4eb4d(0x327)](_0x46f2f4[_0xb4eb4d(0x21e)]);_0x2089db&&(_0x2089db['setEditing'](_0x4162fa),this['_lastEditingShapeKey']=_0x46f2f4[_0xb4eb4d(0x21e)]),this[_0xb4eb4d(0x432)][_0xb4eb4d(0x494)](_0x383631[_0xb4eb4d(0x3e0)],_0x4162fa);}else this['_lastEditingShapeKey']=null,this[_0xb4eb4d(0x432)][_0xb4eb4d(0x494)](_0x383631[_0xb4eb4d(0x3e0)],!0x1);}));}};_0x1b14da=_0x25a2aa([_0x4177c4(0x1,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x383631['Injector'])),_0x4177c4(0x2,(0x0,_0x383631[_0x5671d9(0x18f)])(_0xc020ee)),_0x4177c4(0x3,_0x279593[_0x5671d9(0xf1)]),_0x4177c4(0x4,_0x383631[_0x5671d9(0x3e9)]),_0x4177c4(0x5,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x276c17[_0x5671d9(0x188)]))],_0x1b14da);var _0x2c3642=class extends _0x1b14da{[_0x5671d9(0x197)](){const _0x1e7ba5=_0x5671d9;let {scene:_0x2987ed}=this[_0x1e7ba5(0x4a5)],_0x698fda=this[_0x1e7ba5(0x1ef)][_0x1e7ba5(0x4be)](_0x2a9d6c[_0x1e7ba5(0x433)]);this[_0x1e7ba5(0x252)](_0x2987ed[_0x1e7ba5(0x152)][_0x1e7ba5(0x17a)](_0x51ad60=>{const _0x336657=_0x1e7ba5;let {offsetX:_0x507091,offsetY:_0x141026}=_0x51ad60,_0x49e8a1=_0x2987ed['pick'](_0x1c3608['Vector2'][_0x336657(0x235)]([_0x507091,_0x141026]));if(!(_0x49e8a1 instanceof _0x23237e))return;let _0x48daaf=this['_sheetsShapeService']['getShapeModel'](_0x49e8a1['unitId'],_0x49e8a1['subUnitId'],_0x49e8a1[_0x336657(0x37d)]);(0x0,_0x287478[_0x336657(0x4d2)])(this['_sheetsShapeService'][_0x336657(0x347)](_0x49e8a1['unitId'],_0x49e8a1['subUnitId'],_0x49e8a1[_0x336657(0x37d)]))||_0x48daaf!=null&&_0x48daaf[_0x336657(0xe8)]()[_0x336657(0x339)]||_0x698fda[_0x336657(0x24c)](_0x336657(0xe7),{'hostType':_0x383631[_0x336657(0x363)][_0x336657(0x3e4)],'unitId':_0x49e8a1[_0x336657(0x173)],'subUnitId':_0x49e8a1['subUnitId'],'shapeId':_0x49e8a1['shapeId']});}));}};let _0x46be84={..._0x230bea},_0x403f30=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x9f4f81,_0x3c93ed,_0x41f38d,_0x2756af,_0x57d008,_0x275783,_0x253846,_0x3fd25c){const _0x1530a3=_0x5671d9;super(),this[_0x1530a3(0x220)]=_0x9f4f81,this[_0x1530a3(0xd0)]=_0x3c93ed,this[_0x1530a3(0x39a)]=_0x41f38d,this['_drawingManagerService']=_0x2756af,this[_0x1530a3(0x26a)]=_0x57d008,this['_contextService']=_0x275783,this['_renderManagerService']=_0x253846,this[_0x1530a3(0x375)]=_0x3fd25c,_0x20dccc(this,_0x1530a3(0x2a8),null),this[_0x1530a3(0x220)][_0x1530a3(0x461)](_0x46be84),this[_0x1530a3(0x21c)](),this[_0x1530a3(0x252)](this[_0x1530a3(0x375)][_0x1530a3(0x3d8)][_0x1530a3(0x317)](_0x617b0d=>{const _0x29eb10=_0x1530a3;_0x617b0d&&this[_0x29eb10(0x451)]();}));}[_0x5671d9(0x380)](){const _0x2020ea=_0x5671d9;this[_0x2020ea(0x2a8)]||=this[_0x2020ea(0x252)]((0x0,_0x2a9d6c[_0x2020ea(0x297)])(this[_0x2020ea(0x42d)],_0x383631[_0x2020ea(0x363)][_0x2020ea(0x3e4)],_0x515d09=>this['_popupMenuListener'](_0x515d09)));}['_registerFeatureMenu'](){const _0x3a8367=_0x5671d9;this[_0x3a8367(0x26a)][_0x3a8367(0x126)](_0x383631['DrawingTypeEnum'][_0x3a8367(0x456)],(_0x3ace6f,_0x4c5c3,_0x5c653c,_0x340be0)=>{const _0x29eac7=_0x3a8367;let _0x21fadd=this[_0x29eac7(0xd0)][_0x29eac7(0x4d1)](_0x3ace6f,_0x4c5c3,_0x5c653c),_0xfad0e=this[_0x29eac7(0xd0)][_0x29eac7(0x21f)](_0x3ace6f,_0x4c5c3,_0x5c653c),_0x42b93d=_0x21fadd!==void 0x0&&!(0x0,_0x287478['isConnectorShape'])(_0x21fadd)&&!(_0xfad0e!=null&&_0xfad0e[_0x29eac7(0x339)]);return[{'label':_0x29eac7(0x13b),'index':0x0,'commandId':_0x176123['id'],'commandParams':{'unitId':_0x3ace6f,'subUnitId':_0x4c5c3,'drawingId':_0x5c653c,'mode':'style'},'disable':!0x1},..._0x42b93d?[{'label':_0x29eac7(0x2f7),'index':0x1,'commandId':_0x176123['id'],'commandParams':{'unitId':_0x3ace6f,'subUnitId':_0x4c5c3,'drawingId':_0x5c653c,'mode':_0x29eac7(0xe7)},'disable':!0x1}]:[],{'label':_0x29eac7(0x25a),'index':0x2,'commandId':_0x72b203[_0x29eac7(0x4a8)]['id'],'commandParams':{'unitId':_0x3ace6f,'drawings':[{'unitId':_0x3ace6f,'subUnitId':_0x4c5c3,'drawingId':_0x5c653c,'drawingType':_0x340be0}]},'disable':!0x1},{'label':_0x29eac7(0x15a),'index':0x3,'commandId':_0x276c17[_0x29eac7(0x3b0)]['id'],'commandParams':{'unitId':_0x3ace6f,'subUnitId':_0x4c5c3,'shapeId':_0x5c653c,'flipH':!0x0},'disable':!0x1},{'label':_0x29eac7(0x344),'index':0x4,'commandId':_0x276c17['ToggleSheetsShapeFlipCommand']['id'],'commandParams':{'unitId':_0x3ace6f,'subUnitId':_0x4c5c3,'shapeId':_0x5c653c,'flipV':!0x0},'disable':!0x1}];},_0x3a8367(0x2bf));}[_0x5671d9(0xf3)](_0x26aa7f){const _0x1e08d6=_0x5671d9;let _0x2f96b0=new _0x383631[(_0x1e08d6(0x299))](),_0x154ffe=null,_0x230338=()=>{const _0x2553c1=_0x1e08d6;if(!_0x154ffe)return;let _0x3ee473=this[_0x2553c1(0x306)]['getFocusDrawings'](),_0x23dbb3=_0x3ee473[_0x2553c1(0x175)]===0x0||_0x3ee473[_0x2553c1(0x175)]===0x1&&_0x3ee473[_0x2553c1(0x156)](_0x4d60fb=>_0x4d60fb['unitId']===(_0x154ffe==null?void 0x0:_0x154ffe['unitId'])&&_0x4d60fb[_0x2553c1(0x135)]===(_0x154ffe==null?void 0x0:_0x154ffe['subUnitId'])&&_0x4d60fb[_0x2553c1(0x493)]===(_0x154ffe==null?void 0x0:_0x154ffe[_0x2553c1(0x493)]));_0x154ffe=null,_0x23dbb3&&(this[_0x2553c1(0x432)][_0x2553c1(0x494)](_0x383631[_0x2553c1(0xdf)],!0x1),this[_0x2553c1(0x306)]['focusDrawing'](null));};return _0x2f96b0[_0x1e08d6(0x338)](_0x26aa7f[_0x1e08d6(0x390)][_0x1e08d6(0x317)](()=>{const _0x4ebe50=_0x1e08d6;let _0x4b558a=_0x26aa7f['getSelectedObjectMap']();if(_0x4b558a[_0x4ebe50(0x23c)]>0x1){_0x230338();return;}let _0x15d684=_0x4b558a[_0x4ebe50(0x206)]()[_0x4ebe50(0x289)]()[_0x4ebe50(0x320)];if(!_0x15d684){_0x230338();return;}let _0x8a2fd=this['_drawingManagerService'][_0x4ebe50(0x1ae)](_0x15d684[_0x4ebe50(0x1ed)]);if(!_0x8a2fd||_0x8a2fd[_0x4ebe50(0x3d6)]!==_0x383631['DrawingTypeEnum'][_0x4ebe50(0x456)]){_0x230338();return;}let {unitId:_0x379a9f,subUnitId:_0x2bba3d,drawingId:_0x309593}=_0x8a2fd;_0x154ffe={'unitId':_0x379a9f,'subUnitId':_0x2bba3d,'drawingId':_0x309593},this['_contextService'][_0x4ebe50(0x494)](_0x383631[_0x4ebe50(0xdf)],!0x0),this[_0x4ebe50(0x306)][_0x4ebe50(0x486)]()[_0x4ebe50(0x3de)](_0x14eebe=>_0x14eebe[_0x4ebe50(0x173)]===_0x379a9f&&_0x14eebe[_0x4ebe50(0x135)]===_0x2bba3d&&_0x14eebe[_0x4ebe50(0x493)]===_0x309593)||this[_0x4ebe50(0x306)][_0x4ebe50(0x29c)]([{'unitId':_0x379a9f,'subUnitId':_0x2bba3d,'drawingId':_0x309593}]);})),_0x2f96b0[_0x1e08d6(0x338)](_0x26aa7f[_0x1e08d6(0x3ce)][_0x1e08d6(0x317)](()=>{_0x230338();})),(0x0,_0x383631[_0x1e08d6(0x292)])(()=>{_0x2f96b0['dispose'](),_0x230338();});}[_0x5671d9(0x451)](){const _0x2dd39a=_0x5671d9;this['_contextService'][_0x2dd39a(0x494)](_0x383631[_0x2dd39a(0xdf)],!0x1),this[_0x2dd39a(0x306)][_0x2dd39a(0x29c)](null);}};_0x403f30=_0x25a2aa([_0x4177c4(0x0,_0x2f96d6[_0x5671d9(0x3ad)]),_0x4177c4(0x1,(0x0,_0x383631['Inject'])(_0x276c17[_0x5671d9(0x188)])),_0x4177c4(0x2,_0x383631[_0x5671d9(0x24e)]),_0x4177c4(0x3,_0x279593[_0x5671d9(0xf1)]),_0x4177c4(0x4,(0x0,_0x383631['Inject'])(_0x261221[_0x5671d9(0x278)])),_0x4177c4(0x5,_0x383631[_0x5671d9(0x3e9)]),_0x4177c4(0x6,_0x1c3608['IRenderManagerService']),_0x4177c4(0x7,(0x0,_0x383631[_0x5671d9(0x18f)])(_0xc020ee))],_0x403f30);function _0x555d39(_0x343393,_0x173745,_0x4851e5,_0x4ff667){const _0x58af96=_0x5671d9;let _0x3ccf38=(0x0,_0x279593[_0x58af96(0x466)])(_0x343393,_0x173745,_0x4851e5),_0x1589a9=[];for(let _0x29ec74 of _0x173745){let _0x43d2e9=_0x3ccf38[_0x58af96(0x15f)][_0x58af96(0x4be)](_0x29ec74['drawingId']),_0x50d66b=_0x4ff667(_0x29ec74);_0x43d2e9&&_0x50d66b&&_0x1589a9[_0x58af96(0x27e)]({'targetShapeId':_0x43d2e9,'source':_0x50d66b});}return _0x1589a9;}let _0x5e5ab0=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x53f2ed,_0x30da6c,_0x5d492e,_0x16757e){const _0x58633e=_0x5671d9;super(),this['_univerInstanceService']=_0x53f2ed,this[_0x58633e(0x46b)]=_0x30da6c,this[_0x58633e(0x239)]=_0x5d492e,this[_0x58633e(0xd0)]=_0x16757e,this[_0x58633e(0x3f7)]();}[_0x5671d9(0x3f7)](){const _0xa79ebd=_0x5671d9;this[_0xa79ebd(0x252)](this[_0xa79ebd(0x46b)][_0xa79ebd(0x20f)]({'getMutations':_0x5c3e2c=>{const _0x4d0796=_0xa79ebd;if(_0x5c3e2c['id']===_0x111c96[_0x4d0796(0xfa)]['id']){let _0x262184=(0x0,_0x111c96['getSheetCommandTarget'])(this[_0x4d0796(0x434)],_0x5c3e2c[_0x4d0796(0x4a7)]);if(!_0x262184)return{'redos':[],'undos':[]};let {unitId:_0x1c1919,subUnitId:_0x2d600e}=_0x262184,_0x23536c=this[_0x4d0796(0x239)][_0x4d0796(0x24f)](_0x1c1919,_0x2d600e),_0x45a868=Object['values'](_0x23536c)[_0x4d0796(0x265)](_0x5ee5d4=>_0x5ee5d4[_0x4d0796(0x3d6)]===_0x383631[_0x4d0796(0x286)]['DRAWING_SHAPE']);if(_0x45a868[_0x4d0796(0x175)]===0x0)return{'redos':[],'undos':[]};let _0x40db63=[],_0x4d172f=[];for(let _0x2ddf46=0x0;_0x2ddf46<_0x45a868[_0x4d0796(0x175)];_0x2ddf46++){let _0x578dfd=_0x45a868[_0x2ddf46],_0x2d548c=this[_0x4d0796(0xd0)][_0x4d0796(0x3a8)](_0x578dfd[_0x4d0796(0x173)],_0x578dfd[_0x4d0796(0x135)],_0x578dfd[_0x4d0796(0x493)]);_0x2d548c&&(_0x40db63[_0x4d0796(0x27e)]({'id':_0x276c17[_0x4d0796(0x394)]['id'],'params':{'unitId':_0x1c1919,'subUnitId':_0x2d600e,'shapeId':_0x578dfd[_0x4d0796(0x493)]}}),_0x4d172f['push']({'id':_0x276c17[_0x4d0796(0x215)]['id'],'params':{'unitId':_0x1c1919,'subUnitId':_0x2d600e,'shapeId':_0x578dfd[_0x4d0796(0x493)],'shapeType':_0x2d548c[_0x4d0796(0x347)](),'shapeData':JSON[_0x4d0796(0x342)](JSON[_0x4d0796(0x452)](_0x2d548c[_0x4d0796(0xe8)]()))}}));}return{'redos':_0x40db63,'undos':_0x4d172f};}if(_0x5c3e2c['id']===_0x111c96[_0x4d0796(0xee)]['id']){let {unitId:_0x10a925,subUnitId:_0x9b7108,targetSubUnitId:_0x180814,copyContext:_0x310892}=_0x5c3e2c[_0x4d0796(0x4a7)];if(!_0x10a925||!_0x9b7108||!_0x180814)return{'redos':[],'undos':[]};let _0x23ecb4=this['_sheetDrawingService'][_0x4d0796(0x24f)](_0x10a925,_0x9b7108),_0x49b61c=Object['values'](_0x23ecb4)[_0x4d0796(0x265)](_0x442db4=>_0x442db4[_0x4d0796(0x3d6)]===_0x383631[_0x4d0796(0x286)]['DRAWING_SHAPE']);if(_0x49b61c[_0x4d0796(0x175)]===0x0)return{'redos':[],'undos':[]};let _0x57ff91=_0x555d39(_0x310892,_0x49b61c,{'unitId':_0x10a925,'sourceSubUnitId':_0x9b7108,'targetSubUnitId':_0x180814},_0x4dbd33=>{const _0x4d1c33=_0x4d0796;let _0x4106b2=this[_0x4d1c33(0xd0)][_0x4d1c33(0x3a8)](_0x4dbd33[_0x4d1c33(0x173)],_0x4dbd33[_0x4d1c33(0x135)],_0x4dbd33[_0x4d1c33(0x493)]);if(_0x4106b2)return{'shapeType':_0x4106b2[_0x4d1c33(0x347)](),'shapeData':JSON['parse'](JSON['stringify'](_0x4106b2[_0x4d1c33(0xe8)]()))};}),_0x1f093c=[],_0x4aadc6=[];for(let {targetShapeId:_0x495922,source:_0x5a021a}of _0x57ff91)_0x1f093c[_0x4d0796(0x27e)]({'id':_0x276c17['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x10a925,'subUnitId':_0x180814,'shapeId':_0x495922,'shapeType':_0x5a021a['shapeType'],'shapeData':_0x5a021a['shapeData']}}),_0x4aadc6[_0x4d0796(0x27e)]({'id':_0x276c17[_0x4d0796(0x394)]['id'],'params':{'unitId':_0x10a925,'subUnitId':_0x180814,'shapeId':_0x495922}});return{'redos':_0x1f093c,'undos':_0x4aadc6};}return{'redos':[],'undos':[]};}}));}};_0x5e5ab0=_0x25a2aa([_0x4177c4(0x0,(0x0,_0x383631['Inject'])(_0x383631['IUniverInstanceService'])),_0x4177c4(0x1,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x111c96[_0x5671d9(0x226)])),_0x4177c4(0x2,(0x0,_0x383631['Inject'])(_0x72b203[_0x5671d9(0x248)])),_0x4177c4(0x3,(0x0,_0x383631['Inject'])(_0x276c17[_0x5671d9(0x188)]))],_0x5e5ab0);let _0x3fcbb7=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x4fd913,_0x3003c8,_0x1f273f,_0x48bed5,_0x12bfbc,_0x212b47){const _0x215e91=_0x5671d9;super(),this[_0x215e91(0x39a)]=_0x4fd913,this[_0x215e91(0x42d)]=_0x3003c8,this[_0x215e91(0x306)]=_0x1f273f,this[_0x215e91(0x253)]=_0x48bed5,this[_0x215e91(0x183)]=_0x12bfbc,this[_0x215e91(0x488)]=_0x212b47,_0x20dccc(this,'_insertingShapeKeys',new Set()),this[_0x215e91(0x3b9)]();}['_initialize'](){const _0x231a43=_0x5671d9;this['_drawingAddListener'](),this['_commandExecutedListener'](),this[_0x231a43(0x491)]();}[_0x5671d9(0x3c1)](){const _0x31e878=_0x5671d9;this[_0x31e878(0x252)](this[_0x31e878(0x306)][_0x31e878(0x4c0)][_0x31e878(0x317)](_0x1745fe=>{const _0x2000e9=_0x31e878;this[_0x2000e9(0x409)](_0x1745fe);}));}[_0x5671d9(0xc6)](){const _0x41a250=_0x5671d9;this[_0x41a250(0x252)](this[_0x41a250(0x39a)][_0x41a250(0x15d)]((_0x53d302,_0xad9d59)=>{const _0x3901b7=_0x41a250;if(_0x53d302['id']===_0x276c17[_0x3901b7(0x250)]['id']){let {unitId:_0x2e54da,subUnitId:_0x1e71da,shapeId:_0x31cbba}=_0x53d302[_0x3901b7(0x4a7)],_0xbeb77e=this[_0x3901b7(0x472)](_0x2e54da),_0x5194b1=(0x0,_0x279593[_0x3901b7(0x201)])({'unitId':_0x2e54da,'subUnitId':_0x1e71da,'drawingId':_0x31cbba}),_0x495955=_0xbeb77e==null?void 0x0:_0xbeb77e[_0x3901b7(0x333)][_0x3901b7(0x327)](_0x5194b1);_0x495955&&(this[_0x3901b7(0x488)][_0x3901b7(0x4b8)](_0x495955),this['_sheetDrawingShapeRenderController'][_0x3901b7(0x273)](_0x495955,{'unitId':_0x2e54da,'subUnitId':_0x1e71da,'shapeId':_0x31cbba}),_0x495955[_0x3901b7(0x33a)](!0x0));return;}if(_0x53d302['id']===_0x276c17[_0x3901b7(0x215)]['id']){var _0x58977f;let {unitId:_0x3f42ff,subUnitId:_0x2d059d,shapeId:_0x21534b}=_0x53d302['params'],_0x299741=this['_getSceneAndTransformerByDrawingSearch'](_0x3f42ff);if(_0x299741==null)return;let {scene:_0x1414ca}=_0x299741,_0x1803c2=(0x0,_0x279593[_0x3901b7(0x201)])({'unitId':_0x3f42ff,'subUnitId':_0x2d059d,'drawingId':_0x21534b}),_0x10422d=_0x1414ca[_0x3901b7(0x327)](_0x1803c2);if(!((_0x58977f=this[_0x3901b7(0x42d)][_0x3901b7(0x1fa)](_0x3f42ff))!=null&&_0x58977f[_0x3901b7(0x438)](_0x261221['SheetSkeletonManagerService'])[_0x3901b7(0x1e8)](_0x2d059d)))return!0x1;if(_0x10422d)return;if(_0xad9d59!=null&&_0xad9d59[_0x3901b7(0x3a9)]){queueMicrotask(()=>{const _0x53700c=_0x3901b7;this[_0x53700c(0x118)]||this[_0x53700c(0x409)]([{'unitId':_0x3f42ff,'subUnitId':_0x2d059d,'drawingId':_0x21534b}]);});return;}this['_insertShapes']([{'unitId':_0x3f42ff,'subUnitId':_0x2d059d,'drawingId':_0x21534b}]);}}));}[_0x5671d9(0x491)](){const _0x1925fd=_0x5671d9;this[_0x1925fd(0x252)](this[_0x1925fd(0x306)][_0x1925fd(0x294)][_0x1925fd(0x317)](_0x2ea1f5=>{_0x2ea1f5['forEach'](_0xd1ffcc=>{const _0x3d9b86=_0x43eb;let {unitId:_0x1535f7,subUnitId:_0x4479aa,drawingId:_0x332df6}=_0xd1ffcc,_0x1660e0=this[_0x3d9b86(0x306)]['getDrawingByParam'](_0xd1ffcc);if(_0x1660e0==null)return;let {transform:_0xa376bc,drawingType:_0x40fe5a,srcRect:_0x14dcdb,prstGeom:_0x140a63}=_0x1660e0;if(_0x40fe5a!==_0x383631[_0x3d9b86(0x286)][_0x3d9b86(0x456)])return;let _0x5c1979=this['_getSceneAndTransformerByDrawingSearch'](_0x1535f7);if(_0x5c1979==null)return;let {scene:_0x35071b,transformer:_0x406265}=_0x5c1979;if(_0xa376bc==null)return!0x0;let _0x18200a=(0x0,_0x279593[_0x3d9b86(0x201)])({'unitId':_0x1535f7,'subUnitId':_0x4479aa,'drawingId':_0x332df6}),_0x44cd99=_0x35071b[_0x3d9b86(0x327)](_0x18200a);if(_0x44cd99==null)return!0x0;_0x44cd99[_0x3d9b86(0x19a)](_0x14dcdb),_0x44cd99[_0x3d9b86(0x408)](_0x140a63);});}));}['_insertShapes'](_0x46932f){const _0x34dd0e=_0x5671d9;for(let _0x49d450 of _0x46932f){var _0x315f07;let {unitId:_0x51ddbc,subUnitId:_0x44d47e,drawingId:_0x2a589e}=_0x49d450,_0x363719=this[_0x34dd0e(0x472)](_0x51ddbc),_0x5d9169=(_0x315f07=(0x0,_0x129810[_0x34dd0e(0x322)])(this[_0x34dd0e(0x253)],_0x51ddbc))==null?void 0x0:_0x315f07[_0x34dd0e(0x135)];if(_0x363719==null||_0x5d9169!==_0x44d47e)return;let _0xf27d=(0x0,_0x279593[_0x34dd0e(0x201)])({'unitId':_0x51ddbc,'subUnitId':_0x44d47e,'drawingId':_0x2a589e});if(this[_0x34dd0e(0x3ab)][_0x34dd0e(0xf0)](_0xf27d)||_0x363719['scene'][_0x34dd0e(0x327)](_0xf27d)!=null)return;let _0x502cc2=this['_drawingManagerService'][_0x34dd0e(0x14d)](_0x49d450);if(_0x502cc2==null||_0x502cc2[_0x34dd0e(0x3d6)]!==_0x383631['DrawingTypeEnum'][_0x34dd0e(0x456)])return;let _0x2be493=_0x502cc2['data']||{};if((0x0,_0x287478['isConnectorShape'])(_0x2be493[_0x34dd0e(0x138)])){let _0x3ecf73=_0x502cc2[_0x34dd0e(0x2c6)];_0x3ecf73&&(_0x502cc2['transform']={..._0x3ecf73,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x34dd0e(0x3ab)][_0x34dd0e(0x338)](_0xf27d);try{this[_0x34dd0e(0x488)][_0x34dd0e(0x3a0)](_0x502cc2,_0x363719[_0x34dd0e(0x333)]);}finally{this['_insertingShapeKeys'][_0x34dd0e(0x3b8)](_0xf27d);}queueMicrotask(()=>{const _0xb8403b=_0x34dd0e;if(this[_0xb8403b(0x118)])return;let _0x4f75e0=(0x0,_0x279593[_0xb8403b(0x201)])(_0x49d450);if(!_0x363719[_0xb8403b(0x333)][_0xb8403b(0x327)](_0x4f75e0))return;let _0x12e9ff=this[_0xb8403b(0x306)][_0xb8403b(0x14d)](_0x49d450);_0x12e9ff&&this[_0xb8403b(0x306)][_0xb8403b(0x49d)]([_0x12e9ff]);});}}[_0x5671d9(0x472)](_0x415f7e){const _0x41d3b5=_0x5671d9;if(_0x415f7e==null)return;let _0xa6d653=this[_0x41d3b5(0x42d)][_0x41d3b5(0x1fa)](_0x415f7e),_0x15657e=_0xa6d653==null?void 0x0:_0xa6d653[_0x41d3b5(0x333)];return _0x15657e==null?null:{'scene':_0x15657e,'transformer':_0x15657e[_0x41d3b5(0x178)]()};}};_0x3fcbb7=_0x25a2aa([_0x4177c4(0x0,_0x383631[_0x5671d9(0x24e)]),_0x4177c4(0x1,_0x1c3608['IRenderManagerService']),_0x4177c4(0x2,_0x279593[_0x5671d9(0xf1)]),_0x4177c4(0x3,_0x383631[_0x5671d9(0x1f7)]),_0x4177c4(0x4,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x129810['DrawingRenderService'])),_0x4177c4(0x5,(0x0,_0x383631['Inject'])(_0x57eebe))],_0x3fcbb7);let _0x1af7f3={'normal':{'fill':_0x287478[_0x5671d9(0x10a)][_0x5671d9(0x2d7)],'stroke':_0x287478[_0x5671d9(0x10a)][_0x5671d9(0x389)],'strokeWidth':_0x287478[_0x5671d9(0x10a)][_0x5671d9(0x2c9)]},'highlighted':{'fill':_0x5671d9(0x27d),'stroke':_0x5671d9(0x34d),'strokeWidth':0x2}};var _0x177d9e=class extends _0x1c3608[_0x5671d9(0x42f)]{constructor(_0x1d2cf4,_0x5477f9){const _0x4a633d=_0x5671d9;super(_0x1d2cf4,_0x5477f9),_0x20dccc(this,_0x4a633d(0x45e),''),_0x20dccc(this,'_cxnIndex',-0x1),_0x20dccc(this,'_unitId',''),_0x20dccc(this,'_subUnitId',''),_0x20dccc(this,_0x4a633d(0x145),!0x1),_0x5477f9&&this['setShapeProps'](_0x5477f9);}[_0x5671d9(0x22b)](){const _0x26af06=_0x5671d9;return{'unitId':this[_0x26af06(0x48e)],'subUnitId':this[_0x26af06(0x1f0)],'shapeId':this['_targetShapeId'],'cxnIndex':this[_0x26af06(0x222)]};}[_0x5671d9(0x401)](_0x29032b){const _0x3ccb0c=_0x5671d9;this[_0x3ccb0c(0x145)]!==_0x29032b&&(this['_isHighlighted']=_0x29032b,this[_0x3ccb0c(0x33a)](!0x0));}[_0x5671d9(0x225)](){const _0x277d08=_0x5671d9;return this[_0x277d08(0x145)];}[_0x5671d9(0x172)](_0x13ad1a){const _0x648a86=_0x5671d9;_0x13ad1a[_0x648a86(0xca)]!==void 0x0&&(this['_targetShapeId']=_0x13ad1a[_0x648a86(0xca)]),_0x13ad1a[_0x648a86(0xcb)]!==void 0x0&&(this[_0x648a86(0x222)]=_0x13ad1a[_0x648a86(0xcb)]),_0x13ad1a[_0x648a86(0x173)]!==void 0x0&&(this[_0x648a86(0x48e)]=_0x13ad1a[_0x648a86(0x173)]),_0x13ad1a['subUnitId']!==void 0x0&&(this['_subUnitId']=_0x13ad1a['subUnitId']),_0x13ad1a['isHighlighted']!==void 0x0&&(this['_isHighlighted']=_0x13ad1a['isHighlighted']),this['transformByState']({'width':_0x13ad1a[_0x648a86(0x439)]??_0x287478[_0x648a86(0x10a)][_0x648a86(0xd9)]*0x2,'height':_0x13ad1a[_0x648a86(0x2ea)]??_0x287478[_0x648a86(0x10a)][_0x648a86(0xd9)]*0x2});}[_0x5671d9(0x23d)](_0x3dac2a){const _0x300786=_0x5671d9;let _0x312be1=this[_0x300786(0x145)]?_0x1af7f3['highlighted']:_0x1af7f3[_0x300786(0x2d3)];_0x1c3608[_0x300786(0x467)]['drawWith'](_0x3dac2a,{'radius':_0x287478['ShapeDefaultConfig'][_0x300786(0xd9)],'fill':_0x312be1[_0x300786(0x3c6)],'stroke':_0x312be1[_0x300786(0x193)],'strokeWidth':_0x312be1[_0x300786(0x3fa)],'evented':!0x0});}};let _0x53dc4d=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x197577,_0x56faa0,_0xf71377,_0x527fcd){const _0x9f791b=_0x5671d9;super(),this['_context']=_0x197577,this['_renderManagerService']=_0x56faa0,this[_0x9f791b(0x306)]=_0xf71377,this[_0x9f791b(0xd0)]=_0x527fcd,_0x20dccc(this,'_connectionSiteObjects',[]),_0x20dccc(this,'_activeTargetShapeId',null),_0x20dccc(this,_0x9f791b(0x13e),-0x1),_0x20dccc(this,_0x9f791b(0x291),null),_0x20dccc(this,_0x9f791b(0x48e),''),_0x20dccc(this,_0x9f791b(0x1f0),''),_0x20dccc(this,_0x9f791b(0x280),null);}[_0x5671d9(0x359)](_0x2b2ae0,_0x921086,_0x4202d9,_0x1751fb){const _0xe8756b=_0x5671d9;this[_0xe8756b(0x291)]=_0x2b2ae0,this[_0xe8756b(0x48e)]=_0x921086,this['_subUnitId']=_0x4202d9,this['_draggingConnectorId']=_0x1751fb;}[_0x5671d9(0x1c7)](_0x5b2992){const _0x484f20=_0x5671d9;if(!this[_0x484f20(0x291)])return null;let _0x27671b=this[_0x484f20(0xf9)](_0x5b2992);return _0x27671b?(this[_0x484f20(0x101)]!==_0x27671b[_0x484f20(0x37d)]&&(this[_0x484f20(0x270)](),this[_0x484f20(0x3bf)](_0x27671b[_0x484f20(0x37d)],_0x27671b[_0x484f20(0xc9)]),this['_activeTargetShapeId']=_0x27671b[_0x484f20(0x37d)]),this[_0x484f20(0x2d6)](_0x5b2992)):(this['_activeTargetShapeId']!==null&&(this[_0x484f20(0x270)](),this[_0x484f20(0x101)]=null),null);}[_0x5671d9(0x463)](){const _0x569a45=_0x5671d9;this[_0x569a45(0x270)](),this[_0x569a45(0x291)]=null,this[_0x569a45(0x101)]=null,this[_0x569a45(0x13e)]=-0x1,this[_0x569a45(0x280)]=null;}[_0x5671d9(0x2c5)](){const _0x5eaf48=_0x5671d9;return this['_activeTargetShapeId']===null||this['_highlightedSiteIndex']<0x0?null:{'shapeId':this[_0x5eaf48(0x101)],'cxnIndex':this[_0x5eaf48(0x13e)]};}[_0x5671d9(0xf9)](_0x139f1f){const _0x30acb8=_0x5671d9;let _0x499a12=this['_drawingManagerService'][_0x30acb8(0x24f)](this[_0x30acb8(0x48e)],this[_0x30acb8(0x1f0)]);for(let _0x29d87f of Object['keys'](_0x499a12)){if(_0x29d87f===this['_draggingConnectorId']||_0x499a12[_0x29d87f][_0x30acb8(0x3d6)]!==_0x383631[_0x30acb8(0x286)][_0x30acb8(0x456)])continue;let _0x402fd8=this['_sheetsShapeService']['getShapeModel'](this[_0x30acb8(0x48e)],this[_0x30acb8(0x1f0)],_0x29d87f);if(!_0x402fd8||(0x0,_0x287478[_0x30acb8(0x4d2)])(_0x402fd8['getShapeType']())||_0x402fd8[_0x30acb8(0x475)]()['length']===0x0||!this['_currentScene'])continue;let _0x101c67=(0x0,_0x279593[_0x30acb8(0x201)])({'unitId':this[_0x30acb8(0x48e)],'subUnitId':this[_0x30acb8(0x1f0)],'drawingId':_0x29d87f}),_0x4667b0=this['_currentScene'][_0x30acb8(0x327)](_0x101c67);if(!_0x4667b0)continue;let {left:_0x114ed9,top:_0x13e908,width:_0x3d04b0,height:_0x54978c}=_0x4667b0[_0x30acb8(0x275)](),_0x56bc61=_0x114ed9+_0x3d04b0/0x2,_0x11b14f=_0x13e908+_0x54978c/0x2,_0x58838e=_0x4667b0['transform']['getMatrix'](),_0x300d23=new _0x1c3608['Transform']([_0x58838e[0x0],_0x58838e[0x1],_0x58838e[0x2],_0x58838e[0x3],_0x56bc61,_0x11b14f]),_0x418d87=_0x4667b0[_0x30acb8(0x38f)](),_0x387d42=(_0x4667b0[_0x30acb8(0x2e8)]&&(_0x418d87==null?void 0x0:_0x418d87[_0x30acb8(0x12f)])===_0x1c3608[_0x30acb8(0x3dd)][_0x30acb8(0x480)]?_0x418d87[_0x30acb8(0xc8)][_0x30acb8(0x449)](_0x300d23):_0x300d23)[_0x30acb8(0x13f)]()[_0x30acb8(0x1ca)](_0x139f1f),_0x4c9eaa=_0x3d04b0/0x2,_0x5a05fe=_0x54978c/0x2;if(_0x387d42['x']>=-_0x4c9eaa-0x5&&_0x387d42['x']<=_0x4c9eaa+0x5&&_0x387d42['y']>=-_0x5a05fe-0x5&&_0x387d42['y']<=_0x5a05fe+0x5)return{'shapeId':_0x29d87f,'shapeModel':_0x402fd8};}return null;}[_0x5671d9(0x3bf)](_0x334a92,_0x1995cf){const _0x5d385e=_0x5671d9;if(!this[_0x5d385e(0x291)])return;let _0x2d1120=(0x0,_0x279593['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0x5d385e(0x48e)],'subUnitId':this[_0x5d385e(0x1f0)],'drawingId':_0x334a92}),_0x4a1ca1=this['_currentScene']['getObjectIncludeInGroup'](_0x2d1120);if(!_0x4a1ca1)return;let {left:_0x3fa183,top:_0x271dc7,width:_0x767311,height:_0x18779e}=_0x4a1ca1[_0x5d385e(0x275)](),_0xc680cc=_0x3fa183+_0x767311/0x2,_0x55ec2b=_0x271dc7+_0x18779e/0x2,_0x872c35=_0x4a1ca1[_0x5d385e(0x2c6)]['getMatrix'](),_0x235de2=new _0x1c3608[(_0x5d385e(0xd2))]([_0x872c35[0x0],_0x872c35[0x1],_0x872c35[0x2],_0x872c35[0x3],_0xc680cc,_0x55ec2b]),_0x595b53=_0x4a1ca1[_0x5d385e(0x38f)](),_0x888d=_0x4a1ca1['isInGroup']&&(_0x595b53==null?void 0x0:_0x595b53[_0x5d385e(0x12f)])===_0x1c3608['RENDER_CLASS_TYPE'][_0x5d385e(0x480)]?_0x595b53[_0x5d385e(0xc8)]['multiply'](_0x235de2):_0x235de2;_0x1995cf['updateContext']({'width':_0x767311,'height':_0x18779e});let _0x4c235c=_0x1995cf[_0x5d385e(0x475)]();for(let _0xa553b2 of _0x4c235c){let _0x4ed581=_0xa553b2['x']-_0x767311/0x2,_0x47064f=_0xa553b2['y']-_0x18779e/0x2,_0x210cd5=_0x888d[_0x5d385e(0x1ca)]({'x':_0x4ed581,'y':_0x47064f}),_0xe25de0=_0x210cd5['x'],_0x46766f=_0x210cd5['y'],_0x24fcd8=new _0x177d9e(_0x5d385e(0x1b7)+_0x334a92+'-'+_0xa553b2[_0x5d385e(0x368)],{'left':_0xe25de0-_0x287478[_0x5d385e(0x10a)][_0x5d385e(0xd9)],'top':_0x46766f-_0x287478[_0x5d385e(0x10a)][_0x5d385e(0xd9)],'targetShapeId':_0x334a92,'cxnIndex':_0xa553b2[_0x5d385e(0x368)],'unitId':this[_0x5d385e(0x48e)],'subUnitId':this[_0x5d385e(0x1f0)],'width':_0x287478['ShapeDefaultConfig']['cxnPointRadius']*0x2,'height':_0x287478[_0x5d385e(0x10a)][_0x5d385e(0xd9)]*0x2,'zIndex':_0x1c3608['DRAWING_OBJECT_LAYER_INDEX']+0x2,'evented':!0x1});this['_connectionSiteObjects'][_0x5d385e(0x27e)](_0x24fcd8),this[_0x5d385e(0x291)][_0x5d385e(0x13d)](_0x24fcd8,_0x1c3608[_0x5d385e(0x28a)]+0x2);}}[_0x5671d9(0x2d6)](_0x54fe20){const _0x160a30=_0x5671d9;let _0x1090e1=null,_0x3471f6=0x1/0x0,_0x1cf5af=null;for(let _0x1eba13 of this['_connectionSiteObjects']){let _0x506fe0=_0x1eba13['left']+_0x287478[_0x160a30(0x10a)][_0x160a30(0xd9)],_0x15d710=_0x1eba13[_0x160a30(0x1e1)]+_0x287478[_0x160a30(0x10a)][_0x160a30(0xd9)],_0x114f0e=_0x54fe20['x']-_0x506fe0,_0x17d214=_0x54fe20['y']-_0x15d710,_0xe735b8=Math[_0x160a30(0x4b0)](_0x114f0e*_0x114f0e+_0x17d214*_0x17d214);_0xe735b8<_0x3471f6&&(_0x3471f6=_0xe735b8,_0x1090e1=_0x1eba13,_0x1cf5af={'x':_0x506fe0,'y':_0x15d710});}let _0x3c4800=_0x3471f6<=0xa&&_0x1090e1?_0x1090e1[_0x160a30(0x22b)]()[_0x160a30(0xcb)]:-0x1;if(_0x3c4800!==this[_0x160a30(0x13e)]){for(let _0x17fc13 of this[_0x160a30(0x139)]){let _0x2939d8=_0x17fc13[_0x160a30(0x22b)]();_0x17fc13[_0x160a30(0x401)](_0x2939d8[_0x160a30(0xcb)]===_0x3c4800);}this['_highlightedSiteIndex']=_0x3c4800;}if(_0x3471f6<=0xa&&_0x1090e1&&_0x1cf5af){let _0x1681de=_0x1090e1[_0x160a30(0x22b)](),_0x436ef8=this[_0x160a30(0x1b8)](_0x1681de[_0x160a30(0x37d)],_0x1681de[_0x160a30(0xcb)]);return{'shapeId':_0x1681de['shapeId'],'cxnIndex':_0x1681de[_0x160a30(0xcb)],'unitId':_0x1681de[_0x160a30(0x173)],'subUnitId':_0x1681de[_0x160a30(0x135)],'worldPoint':_0x1cf5af,'angle':_0x436ef8};}return null;}[_0x5671d9(0x1b8)](_0x58737c,_0x7c0725){const _0x3d4cd7=_0x5671d9;let _0xc7b0ef=this[_0x3d4cd7(0xd0)][_0x3d4cd7(0x3a8)](this[_0x3d4cd7(0x48e)],this[_0x3d4cd7(0x1f0)],_0x58737c);if(!_0xc7b0ef)return 0x0;let _0x1ddeb7=this['_drawingManagerService']['getDrawingByParam']({'unitId':this['_unitId'],'subUnitId':this[_0x3d4cd7(0x1f0)],'drawingId':_0x58737c});if(!(_0x1ddeb7!=null&&_0x1ddeb7[_0x3d4cd7(0x2c6)]))return 0x0;let {width:_0x26838e=0x0,height:_0xf34b94=0x0,flipX:_0x3c8984=!0x1,flipY:_0x518bb9=!0x1}=_0x1ddeb7[_0x3d4cd7(0x2c6)];_0xc7b0ef['updateContext']({'width':_0x26838e,'height':_0xf34b94});let _0x5d3199=_0xc7b0ef[_0x3d4cd7(0x475)]()[_0x3d4cd7(0x3de)](_0x145625=>_0x145625[_0x3d4cd7(0x368)]===_0x7c0725);if(!_0x5d3199)return 0x0;let _0x592244=_0x5d3199[_0x3d4cd7(0x31b)]/0xea60;return _0x3c8984&&(_0x592244=0xb4-_0x592244),_0x518bb9&&(_0x592244=-_0x592244),_0x592244=(_0x592244%0x168+0x168)%0x168,_0x592244;}['_clearConnectionSites'](){const _0x1dde83=_0x5671d9;for(let _0x268c68 of this[_0x1dde83(0x139)])_0x268c68[_0x1dde83(0x39f)]();this[_0x1dde83(0x139)]=[],this['_highlightedSiteIndex']=-0x1;}[_0x5671d9(0x39f)](){const _0x39f57d=_0x5671d9;this[_0x39f57d(0x270)](),super['dispose']();}};_0x53dc4d=_0x25a2aa([_0x4177c4(0x1,(0x0,_0x383631['Inject'])(_0x1c3608[_0x5671d9(0x1fd)])),_0x4177c4(0x2,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x279593[_0x5671d9(0xf1)])),_0x4177c4(0x3,(0x0,_0x383631['Inject'])(_0x276c17[_0x5671d9(0x188)]))],_0x53dc4d);let _0x544c39=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x41a7d0,_0x59536f,_0x25ffea,_0x487602,_0x1c6424){const _0x1f6cfe=_0x5671d9;super(),this[_0x1f6cfe(0x2eb)]=_0x41a7d0,this['_sheetClipboardService']=_0x59536f,this[_0x1f6cfe(0x239)]=_0x25ffea,this['_shapeService']=_0x487602,this[_0x1f6cfe(0x3fc)]=_0x1c6424,_0x20dccc(this,_0x1f6cfe(0x471),void 0x0),this[_0x1f6cfe(0x47e)](),this[_0x1f6cfe(0x19f)]();}get[_0x5671d9(0x12a)](){const _0x9fa314=_0x5671d9;return this[_0x9fa314(0x239)][_0x9fa314(0x486)]();}['_registerGroupFeaturePasteHook'](){this['_groupCopyPasteController']['registerFeaturePasteHook'](({fromUnitId:_0x2df379,fromSubUnitId:_0x71f489,toUnitId:_0x2f582f,toSubUnitId:_0x5c8d2a,idMap:_0x5587ef})=>{const _0x34e7f5=_0x43eb;let _0xc4a964=[],_0x5a5470=[];for(let [_0x4feeff,_0x32e0af]of _0x5587ef[_0x34e7f5(0x2f6)]()){let _0x9f5fed=this[_0x34e7f5(0xc5)]['getShapeModel'](_0x2df379,_0x71f489,_0x4feeff);if(!_0x9f5fed)continue;let _0x4593df=_0x9f5fed[_0x34e7f5(0x347)](),_0xba5e99=JSON[_0x34e7f5(0x342)](JSON['stringify'](_0x9f5fed[_0x34e7f5(0xe8)]()));if(_0xba5e99[_0x34e7f5(0x1a8)]){var _0x42c9d4,_0x3f880f;let _0x3ecd01=(_0x42c9d4=_0xba5e99[_0x34e7f5(0x1a8)]['from'])==null?void 0x0:_0x42c9d4[_0x34e7f5(0x37d)],_0x2e9c5e=(_0x3f880f=_0xba5e99['relation']['to'])==null?void 0x0:_0x3f880f['shapeId'],_0x9fb878=!_0x3ecd01||_0x5587ef[_0x34e7f5(0xf0)](_0x3ecd01),_0x529b61=!_0x2e9c5e||_0x5587ef[_0x34e7f5(0xf0)](_0x2e9c5e);_0x9fb878&&_0x3ecd01&&_0xba5e99[_0x34e7f5(0x1a8)][_0x34e7f5(0x2c0)]?_0xba5e99['relation']['from']={..._0xba5e99[_0x34e7f5(0x1a8)][_0x34e7f5(0x2c0)],'shapeId':_0x5587ef['get'](_0x3ecd01)}:_0xba5e99[_0x34e7f5(0x1a8)][_0x34e7f5(0x2c0)]=void 0x0,_0x529b61&&_0x2e9c5e&&_0xba5e99['relation']['to']?_0xba5e99[_0x34e7f5(0x1a8)]['to']={..._0xba5e99[_0x34e7f5(0x1a8)]['to'],'shapeId':_0x5587ef[_0x34e7f5(0x4be)](_0x2e9c5e)}:_0xba5e99['relation']['to']=void 0x0;}_0xc4a964[_0x34e7f5(0x27e)]({'id':_0x276c17['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x2f582f,'subUnitId':_0x5c8d2a,'shapeId':_0x32e0af,'shapeType':_0x4593df,'shapeData':_0xba5e99}}),_0x5a5470[_0x34e7f5(0x27e)]({'id':_0x276c17[_0x34e7f5(0x394)]['id'],'params':{'unitId':_0x2f582f,'subUnitId':_0x5c8d2a,'shapeId':_0x32e0af}});}return{'redos':_0xc4a964,'undos':_0x5a5470};});}[_0x5671d9(0x47e)](){const _0x42f269=_0x5671d9;this[_0x42f269(0x252)](this[_0x42f269(0x21b)][_0x42f269(0x427)]({'id':_0x42f269(0x341),'onBeforeCopyFocusedObject':(_0x9ce0bf,_0x298d77,_0xde7316)=>{const _0xe3988a=_0x42f269;this[_0xe3988a(0x471)]=null;let _0x21cb61=this[_0xe3988a(0x12a)]['filter'](_0x5a9b4f=>_0x5a9b4f[_0xe3988a(0x3d6)]===_0x383631['DrawingTypeEnum'][_0xe3988a(0x456)]);return _0x21cb61[_0xe3988a(0x175)]!==0x0&&(this['_copyInfo']={'unitId':_0x9ce0bf,'subUnitId':_0x298d77,'copyType':_0xde7316,'drawings':_0x21cb61},!0x0);},'onBeforeCopy':(_0x48730c,_0x45c9fc,_0x33a690,_0x5a4237)=>{const _0x3f12c6=_0x42f269;this[_0x3f12c6(0x471)]=null,this['_createCopyInfoByRange'](_0x48730c,_0x45c9fc,_0x33a690,_0x5a4237);},'onPasteCells':(_0x7b27be,_0x456ccd,_0x3aa667,_0x4e8159)=>{const _0x55d193=_0x42f269;if(!_0x4e8159[_0x55d193(0x2f0)]||!_0x7b27be||!this[_0x55d193(0x471)])return{'redos':[],'undos':[]};let {pasteType:_0x23ea57}=_0x4e8159;return _0x23ea57===_0x261221[_0x55d193(0x45c)][_0x55d193(0x117)]?this['_generatePasteMutations'](_0x456ccd,this[_0x55d193(0x471)][_0x55d193(0x3e5)]===_0x261221[_0x55d193(0xdd)][_0x55d193(0x40d)]):{'redos':[],'undos':[]};}}));}[_0x5671d9(0x4c9)](_0x400021,_0x3ae6f7,_0x3900c0,_0x20eeb2){const _0x4e10f7=_0x5671d9;let _0x5c40ff=this[_0x4e10f7(0x2eb)][_0x4e10f7(0x1e8)](_0x400021,_0x3ae6f7);if(!_0x5c40ff)return;let _0x22b156=(0x0,_0x111c96[_0x4e10f7(0x4b2)])(_0x5c40ff,_0x3900c0);if(!_0x22b156)return;let {startX:_0x1a54c6,endX:_0x4bb575,startY:_0x515b68,endY:_0x1aece3}=_0x22b156,_0x38aa6f=this[_0x4e10f7(0x239)][_0x4e10f7(0x24f)](_0x400021,_0x3ae6f7),_0x4a7c56=[];for(let [_0x2594e7,_0x135134]of Object[_0x4e10f7(0x2f6)](_0x38aa6f)){if(_0x135134[_0x4e10f7(0x3d6)]!==_0x383631[_0x4e10f7(0x286)][_0x4e10f7(0x456)])continue;let {transform:_0x109107}=_0x135134;if(!_0x109107)continue;let {left:_0x491bcf=0x0,top:_0x4bdab6=0x0,width:_0x26bd3e=0x0,height:_0x5c02f3=0x0}=_0x109107;_0x1a54c6<=_0x491bcf&&_0x4bb575>=_0x491bcf+_0x26bd3e&&_0x515b68<=_0x4bdab6&&_0x1aece3>=_0x4bdab6+_0x5c02f3&&_0x4a7c56[_0x4e10f7(0x27e)](_0x135134);}_0x4a7c56['length']>0x0&&(this[_0x4e10f7(0x471)]={'unitId':_0x400021,'subUnitId':_0x3ae6f7,'copyType':_0x20eeb2,'copyRange':_0x3900c0,'drawings':_0x4a7c56});}['_generatePasteMutations'](_0x4bd10e,_0x5ab990){const _0x19801a=_0x5671d9;let {unitId:_0x48d52f,subUnitId:_0x3e92aa,range:_0xc0e3e6}=_0x4bd10e,_0x3e2a09=this[_0x19801a(0x2eb)]['getSkeleton'](_0x48d52f,_0x3e92aa);if(!_0x3e2a09)return{'redos':[],'undos':[]};let _0x15b15b=(0x0,_0x111c96['discreteRangeToRange'])(_0xc0e3e6),{unitId:_0x385bc7,subUnitId:_0x2ec5ca,copyRange:_0x13ec59,drawings:_0x23ca93}=this['_copyInfo'],_0x401c2b=this[_0x19801a(0x2eb)][_0x19801a(0x1e8)](_0x385bc7,_0x2ec5ca);if(!_0x401c2b)return{'redos':[],'undos':[]};let _0x2433b5;if(!_0x13ec59){let _0x1355ef=0x1/0x0,_0x59b8e2=0x1/0x0;for(let _0x4d4e43 of _0x23ca93){let {left:_0x8f1674=0x0,top:_0x151779=0x0}=_0x4d4e43[_0x19801a(0x2c6)]??{};_0x8f1674<_0x1355ef&&(_0x1355ef=_0x8f1674),_0x151779<_0x59b8e2&&(_0x59b8e2=_0x151779);}_0x1355ef!==0x1/0x0&&_0x59b8e2!==0x1/0x0&&(_0x2433b5={'left':_0x1355ef,'top':_0x59b8e2});}let _0x1cf874=new Map();if(!_0x5ab990){for(let _0x26ab14 of _0x23ca93)_0x1cf874[_0x19801a(0x32d)](_0x26ab14[_0x19801a(0x493)],(0x0,_0x383631[_0x19801a(0x29d)])());}let _0x3480b0=[],_0x2b249b=[];for(let _0xafce52 of _0x23ca93){let {drawingId:_0x398bbf,transform:_0x2f7e33,sheetTransform:_0x36076a}=_0xafce52;if(!_0x2f7e33||!_0x36076a)continue;let _0x3f7cb0=this[_0x19801a(0x4bf)]({'transform':_0x2f7e33,'sheetTransform':_0x36076a},{'skeleton':_0x401c2b,'range':_0x13ec59},{'skeleton':_0x3e2a09,'range':_0x15b15b},_0x2433b5);if(_0x5ab990){let {redos:_0x516331,undos:_0x39c927}=this[_0x19801a(0x40f)]({'fromUnitId':_0x385bc7,'fromSubUnitId':_0x2ec5ca,'toUnitId':_0x48d52f,'toSubUnitId':_0x3e92aa,'drawing':_0xafce52,'newTransforms':_0x3f7cb0});_0x3480b0[_0x19801a(0x27e)](..._0x516331),_0x2b249b['push'](..._0x39c927);continue;}let {redos:_0x2ead9e,undos:_0x2ef49d}=this[_0x19801a(0x1a9)]({'toUnitId':_0x48d52f,'toSubUnitId':_0x3e92aa,'drawing':_0xafce52,'newTransforms':_0x3f7cb0,'newDrawingId':_0x1cf874[_0x19801a(0x4be)](_0x398bbf),'idMap':_0x1cf874});_0x3480b0['push'](..._0x2ead9e),_0x2b249b['push'](..._0x2ef49d);}return{'redos':_0x3480b0,'undos':_0x2b249b};}[_0x5671d9(0x40f)](_0x485914){const _0x2f274d=_0x5671d9;let {fromUnitId:_0x11b1f8,fromSubUnitId:_0x3c339c,toUnitId:_0x493ae6,toSubUnitId:_0x53588e,drawing:_0xf1dac5,newTransforms:_0x1967d6}=_0x485914,_0x5e6769={..._0xf1dac5,'unitId':_0x493ae6,'subUnitId':_0x53588e,'transform':_0x1967d6['transform'],'sheetTransform':_0x1967d6[_0x2f274d(0x1e4)]};if(_0x493ae6===_0x11b1f8&&_0x53588e===_0x3c339c){let {redo:_0x2a6ffa,undo:_0x49685c,objects:_0x1f9ea3}=this['_sheetDrawingService'][_0x2f274d(0x437)]([_0x5e6769]);return{'redos':[{'id':_0x72b203[_0x2f274d(0x284)]['id'],'params':{'unitId':_0x493ae6,'subUnitId':_0x53588e,'type':_0x72b203['DrawingApplyType'][_0x2f274d(0x130)],'op':_0x2a6ffa,'objects':_0x1f9ea3}}],'undos':[{'id':_0x72b203[_0x2f274d(0x284)]['id'],'params':{'unitId':_0x493ae6,'subUnitId':_0x53588e,'type':_0x72b203[_0x2f274d(0x1e6)][_0x2f274d(0x130)],'op':_0x49685c,'objects':_0x1f9ea3}}]};}{let _0x392f5f=this['_sheetDrawingService'][_0x2f274d(0x3db)]([_0xf1dac5]),_0xc60fad=this[_0x2f274d(0x239)]['getBatchAddOp']([_0x5e6769]),_0x4252af=this[_0x2f274d(0xc5)][_0x2f274d(0x3a8)](_0xf1dac5[_0x2f274d(0x173)],_0xf1dac5[_0x2f274d(0x135)],_0xf1dac5[_0x2f274d(0x493)]);if(!_0x4252af)return{'redos':[],'undos':[]};let _0x14ea09=_0x4252af[_0x2f274d(0x347)](),_0x487727=JSON[_0x2f274d(0x342)](JSON[_0x2f274d(0x452)](_0x4252af[_0x2f274d(0xe8)]()));return{'redos':[{'id':_0x72b203['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x11b1f8,'subUnitId':_0x3c339c,'type':_0x72b203['DrawingApplyType'][_0x2f274d(0x2f9)],'op':_0x392f5f[_0x2f274d(0x34e)],'objects':_0x392f5f['objects']}},{'id':_0x276c17['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x11b1f8,'subUnitId':_0x3c339c,'shapeId':_0xf1dac5[_0x2f274d(0x493)]}},{'id':_0x72b203[_0x2f274d(0x284)]['id'],'params':{'unitId':_0x493ae6,'subUnitId':_0x53588e,'type':_0x72b203[_0x2f274d(0x1e6)]['INSERT'],'op':_0xc60fad[_0x2f274d(0x34e)],'objects':_0xc60fad[_0x2f274d(0x1c6)]}},{'id':_0x276c17[_0x2f274d(0x215)]['id'],'params':{'unitId':_0x493ae6,'subUnitId':_0x53588e,'shapeId':_0xf1dac5[_0x2f274d(0x493)],'shapeType':_0x14ea09,'shapeData':_0x487727}}],'undos':[{'id':_0x72b203[_0x2f274d(0x284)]['id'],'params':{'unitId':_0x11b1f8,'subUnitId':_0x3c339c,'type':_0x72b203['DrawingApplyType'][_0x2f274d(0x4a2)],'op':_0x392f5f[_0x2f274d(0x3dc)],'objects':_0x392f5f[_0x2f274d(0x1c6)]}},{'id':_0x276c17[_0x2f274d(0x215)]['id'],'params':{'unitId':_0x11b1f8,'subUnitId':_0x3c339c,'shapeId':_0xf1dac5[_0x2f274d(0x493)],'shapeType':_0x14ea09,'shapeData':_0x487727}},{'id':_0x72b203[_0x2f274d(0x284)]['id'],'params':{'unitId':_0x493ae6,'subUnitId':_0x53588e,'type':_0x72b203[_0x2f274d(0x1e6)][_0x2f274d(0x2f9)],'op':_0xc60fad[_0x2f274d(0x3dc)],'objects':_0xc60fad[_0x2f274d(0x1c6)]}},{'id':_0x276c17[_0x2f274d(0x394)]['id'],'params':{'unitId':_0x493ae6,'subUnitId':_0x53588e,'shapeId':_0xf1dac5[_0x2f274d(0x493)]}}]};}}[_0x5671d9(0x1a9)](_0x526687){const _0x102710=_0x5671d9;let {toUnitId:_0x5710c3,toSubUnitId:_0x565730,drawing:_0xb19c3a,newTransforms:_0x5c9d52,newDrawingId:_0x18efdd,idMap:_0x26ffca}=_0x526687,_0x2ac8c1={..._0xb19c3a,'unitId':_0x5710c3,'subUnitId':_0x565730,'drawingId':_0x18efdd,'transform':_0x5c9d52[_0x102710(0x2c6)],'sheetTransform':_0x5c9d52[_0x102710(0x1e4)]},{redo:_0x3394d8,undo:_0x55d554,objects:_0x5e81cb}=this[_0x102710(0x239)][_0x102710(0x329)]([_0x2ac8c1]),_0x5a13fb=this[_0x102710(0xc5)][_0x102710(0x3a8)](_0xb19c3a[_0x102710(0x173)],_0xb19c3a[_0x102710(0x135)],_0xb19c3a[_0x102710(0x493)]);if(!_0x5a13fb)return{'redos':[],'undos':[]};let _0x1ab8ff=_0x5a13fb[_0x102710(0x347)](),_0x2f4b4c=JSON[_0x102710(0x342)](JSON[_0x102710(0x452)](_0x5a13fb[_0x102710(0xe8)]()));if(_0x2f4b4c[_0x102710(0x1a8)]){var _0x5b33f7,_0x539f6e;let _0x372494=(_0x5b33f7=_0x2f4b4c[_0x102710(0x1a8)]['from'])==null?void 0x0:_0x5b33f7['shapeId'],_0x294aa6=(_0x539f6e=_0x2f4b4c[_0x102710(0x1a8)]['to'])==null?void 0x0:_0x539f6e['shapeId'],_0x2b087a=!_0x372494||_0x26ffca[_0x102710(0xf0)](_0x372494),_0x11b660=!_0x294aa6||_0x26ffca['has'](_0x294aa6);_0x2b087a&&_0x372494&&_0x2f4b4c[_0x102710(0x1a8)]['from']?_0x2f4b4c[_0x102710(0x1a8)][_0x102710(0x2c0)]={..._0x2f4b4c[_0x102710(0x1a8)][_0x102710(0x2c0)],'shapeId':_0x26ffca['get'](_0x372494)}:_0x2f4b4c[_0x102710(0x1a8)][_0x102710(0x2c0)]=void 0x0,_0x11b660&&_0x294aa6&&_0x2f4b4c[_0x102710(0x1a8)]['to']?_0x2f4b4c['relation']['to']={..._0x2f4b4c[_0x102710(0x1a8)]['to'],'shapeId':_0x26ffca['get'](_0x294aa6)}:_0x2f4b4c['relation']['to']=void 0x0;}return{'redos':[{'id':_0x72b203[_0x102710(0x284)]['id'],'params':{'unitId':_0x5710c3,'subUnitId':_0x565730,'type':_0x72b203['DrawingApplyType'][_0x102710(0x4a2)],'op':_0x3394d8,'objects':_0x5e81cb}},{'id':_0x276c17[_0x102710(0x215)]['id'],'params':{'unitId':_0x5710c3,'subUnitId':_0x565730,'shapeId':_0x18efdd,'shapeType':_0x1ab8ff,'shapeData':_0x2f4b4c}}],'undos':[{'id':_0x72b203['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x5710c3,'subUnitId':_0x565730,'type':_0x72b203[_0x102710(0x1e6)][_0x102710(0x2f9)],'op':_0x55d554,'objects':_0x5e81cb}},{'id':_0x276c17[_0x102710(0x394)]['id'],'params':{'unitId':_0x5710c3,'subUnitId':_0x565730,'shapeId':_0x18efdd}}]};}[_0x5671d9(0x4bf)](_0x5d0b85,_0x1c439e,_0xea8b94,_0x4839d1){const _0x1f81d6=_0x5671d9;let {range:_0x247b25,skeleton:_0x3bfd63}=_0x1c439e,{range:_0x4e612a,skeleton:_0x395ab4}=_0xea8b94,{transform:_0x31bac2,sheetTransform:_0x27fd76}=_0x5d0b85,_0xa18c5d={..._0x31bac2};if(_0x247b25){let _0x1d7d9f=(0x0,_0x111c96[_0x1f81d6(0x4b2)])(_0x3bfd63,_0x247b25),_0x21cb32=(0x0,_0x111c96[_0x1f81d6(0x4b2)])(_0x395ab4,_0x4e612a);if(_0x1d7d9f&&_0x21cb32){let _0x2193fb=_0x21cb32['startX']-_0x1d7d9f[_0x1f81d6(0x462)],_0x41392b=_0x21cb32['startY']-_0x1d7d9f[_0x1f81d6(0x14e)];_0xa18c5d['left']=(_0xa18c5d[_0x1f81d6(0x32c)]??0x0)+_0x2193fb,_0xa18c5d['top']=(_0xa18c5d['top']??0x0)+_0x41392b;}}else{let _0x3f5ce4=(0x0,_0x111c96[_0x1f81d6(0x4b2)])(_0x395ab4,_0x4e612a);if(_0x4839d1&&_0x3f5ce4){let _0x5390a3=(_0xa18c5d[_0x1f81d6(0x32c)]??0x0)-_0x4839d1[_0x1f81d6(0x32c)],_0x2c7502=(_0xa18c5d['top']??0x0)-_0x4839d1[_0x1f81d6(0x1e1)];_0xa18c5d[_0x1f81d6(0x32c)]=_0x3f5ce4['startX']+_0x5390a3,_0xa18c5d[_0x1f81d6(0x1e1)]=_0x3f5ce4[_0x1f81d6(0x14e)]+_0x2c7502;}else _0xa18c5d[_0x1f81d6(0x32c)]=_0x3f5ce4==null?void 0x0:_0x3f5ce4[_0x1f81d6(0x462)],_0xa18c5d['top']=_0x3f5ce4==null?void 0x0:_0x3f5ce4[_0x1f81d6(0x14e)];}return{'transform':_0xa18c5d,'sheetTransform':(0x0,_0x72b203['transformToDrawingPosition'])(_0xa18c5d,_0x395ab4)??_0x27fd76};}};_0x544c39=_0x25a2aa([_0x4177c4(0x0,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x111c96[_0x5671d9(0x382)])),_0x4177c4(0x1,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x261221['ISheetClipboardService'])),_0x4177c4(0x2,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x72b203[_0x5671d9(0x248)])),_0x4177c4(0x3,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x276c17[_0x5671d9(0x188)])),_0x4177c4(0x4,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x44e77f[_0x5671d9(0x2cf)]))],_0x544c39);var _0x1a515c=class extends _0x1c3608[_0x5671d9(0x42f)]{constructor(_0x262401,_0x55a03c){const _0x2cd562=_0x5671d9;super(_0x262401,_0x55a03c),_0x20dccc(this,_0x2cd562(0x397),null),_0x20dccc(this,_0x2cd562(0x2cd),null),_0x20dccc(this,_0x2cd562(0x48e),null),_0x20dccc(this,_0x2cd562(0x1f0),null),_0x20dccc(this,_0x2cd562(0x246),!0x1),_0x55a03c&&this[_0x2cd562(0x172)](_0x55a03c);}[_0x5671d9(0x4cd)](){const _0x21870a=_0x5671d9;return{'unitId':this[_0x21870a(0x48e)],'subUnitId':this[_0x21870a(0x1f0)],'drawingId':this[_0x21870a(0x397)]};}[_0x5671d9(0x172)](_0x5bceb9){const _0x5e4a4f=_0x5671d9;_0x5bceb9['shapeId']!==void 0x0&&(this[_0x5e4a4f(0x397)]=_0x5bceb9['shapeId']),_0x5bceb9[_0x5e4a4f(0x173)]!==void 0x0&&(this['_unitId']=_0x5bceb9['unitId']),_0x5bceb9[_0x5e4a4f(0x135)]!==void 0x0&&(this[_0x5e4a4f(0x1f0)]=_0x5bceb9[_0x5e4a4f(0x135)]),_0x5bceb9[_0x5e4a4f(0x1a5)]!==void 0x0&&(this[_0x5e4a4f(0x246)]=_0x5bceb9[_0x5e4a4f(0x1a5)]),this[_0x5e4a4f(0x315)]({'width':_0x5bceb9[_0x5e4a4f(0x439)],'height':_0x5bceb9['height']});}['_draw'](_0x25812e){const _0x71aff2=_0x5671d9;_0x1c3608[_0x71aff2(0x467)][_0x71aff2(0xda)](_0x25812e,{'radius':_0x287478['ShapeDefaultConfig'][_0x71aff2(0xd9)],'fill':_0x287478[_0x71aff2(0x10a)][_0x71aff2(0x2d7)],'stroke':_0x287478[_0x71aff2(0x10a)][_0x71aff2(0x389)],'strokeWidth':_0x287478[_0x71aff2(0x10a)][_0x71aff2(0x2c9)],'evented':!0x0});}};let _0x2d0bb9=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x4bf157,_0x46b19f,_0x46e1a4,_0x5bb026,_0x4bb6b7,_0x1d2704,_0x3e3b52,_0x1a440c){const _0x16d024=_0x5671d9;super(),this[_0x16d024(0x4a5)]=_0x4bf157,this[_0x16d024(0x39a)]=_0x46b19f,this[_0x16d024(0x42d)]=_0x46e1a4,this['_drawingManagerService']=_0x5bb026,this[_0x16d024(0x434)]=_0x4bb6b7,this[_0x16d024(0xd0)]=_0x1d2704,this[_0x16d024(0x100)]=_0x3e3b52,this['_sheetBasicShapeConnectionPointController']=_0x1a440c,_0x20dccc(this,_0x16d024(0x166),void 0x0),_0x20dccc(this,_0x16d024(0x48e),void 0x0),_0x20dccc(this,_0x16d024(0x1f0),void 0x0),_0x20dccc(this,_0x16d024(0x1a1),[]),_0x20dccc(this,_0x16d024(0x209),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),_0x20dccc(this,'_activeShapeModel',void 0x0),_0x20dccc(this,'_isConnecting',!0x1),_0x20dccc(this,'_isDrawingShapePointDown',!0x1),_0x20dccc(this,'_hasReset',!0x1),_0x20dccc(this,_0x16d024(0x16f),void 0x0),_0x20dccc(this,'_cxtHandlerPointerUp',void 0x0),_0x20dccc(this,_0x16d024(0x19d),null),this[_0x16d024(0x3b9)]();}['_initialize'](){const _0x10b0ec=_0x5671d9;this[_0x10b0ec(0x365)](),this['_registerDrawingMoveHandler']();}[_0x5671d9(0x1c8)](){const _0x541707=_0x5671d9;if(!this[_0x541707(0x48e)]||!this[_0x541707(0x1f0)]||!this[_0x541707(0x166)])return;let _0x2da25e={'unitId':this['_unitId'],'subUnitId':this[_0x541707(0x1f0)],'drawingId':this['_activeShapeId']},{transform:_0x33c3d4}=this[_0x541707(0x306)][_0x541707(0x14d)](_0x2da25e);if(_0x33c3d4)return{'left':_0x33c3d4['left']||0x0,'top':_0x33c3d4['top']||0x0,'width':_0x33c3d4[_0x541707(0x439)]||0x0,'height':_0x33c3d4[_0x541707(0x2ea)]||0x0,'flipX':_0x33c3d4[_0x541707(0x160)]||!0x1,'flipY':_0x33c3d4[_0x541707(0x481)]||!0x1,'angle':_0x33c3d4['angle']};}[_0x5671d9(0x131)](){const _0x36366d=_0x5671d9;if(this[_0x36366d(0x48e)]===void 0x0||this[_0x36366d(0x1f0)]===void 0x0||this[_0x36366d(0x166)]===void 0x0)return;let _0x14ec66=this[_0x36366d(0x42d)][_0x36366d(0x1fa)](this[_0x36366d(0x48e)]);if(!_0x14ec66||!_0x14ec66[_0x36366d(0x438)](_0x261221[_0x36366d(0x3fb)])['getCurrentSkeleton']())return;let {scene:_0x64b078}=_0x14ec66,_0x2217b4=this['_getDrawingRect']();if(!_0x2217b4)return;let _0x4c7a07=this[_0x36366d(0xd0)]['getShapeModel'](this[_0x36366d(0x48e)],this[_0x36366d(0x1f0)],this[_0x36366d(0x166)]);if(!_0x4c7a07||!(0x0,_0x287478[_0x36366d(0x4d2)])(_0x4c7a07[_0x36366d(0x347)]()))return;let _0x3a2c60=_0x4c7a07[_0x36366d(0x4c4)]();if(_0x3a2c60[_0x36366d(0x175)]<0x2)return;let _0x11172a=new _0x287478[(_0x36366d(0x2ec))](_0x2217b4),_0x112d81=_0x3a2c60[0x0],_0x2007df=_0x3a2c60[_0x3a2c60[_0x36366d(0x175)]-0x1],_0x353729=_0x11172a[_0x36366d(0xf7)](_0x112d81),_0x542d1e=_0x11172a[_0x36366d(0xf7)](_0x2007df);this['_addShapeConnectorHandlerObject'](_0x64b078,{..._0x353729},!0x0),this[_0x36366d(0x11d)](_0x64b078,{..._0x542d1e},!0x1);}[_0x5671d9(0x11d)](_0x315c39,_0x4eff18,_0x1202a1){const _0x285f40=_0x5671d9;if(this[_0x285f40(0x166)]===void 0x0||this[_0x285f40(0x48e)]===void 0x0||this[_0x285f40(0x1f0)]===void 0x0)return;let _0x1835db=_0x285f40(0x10b)+this[_0x285f40(0x48e)]+'-'+this[_0x285f40(0x1f0)]+'-'+this['_activeShapeId']+'-'+(_0x1202a1?_0x285f40(0x377):_0x285f40(0x2d1)),_0x595867=_0x315c39['getObjectIncludeInGroup'](_0x1835db);if(_0x595867){_0x595867[_0x285f40(0x315)]({'left':_0x4eff18['x']-_0x287478[_0x285f40(0x10a)]['cxnPointRadius'],'top':_0x4eff18['y']-_0x287478[_0x285f40(0x10a)][_0x285f40(0xd9)]});return;}let _0x27611a=new _0x1a515c(_0x1835db,{'left':_0x4eff18['x']-_0x287478[_0x285f40(0x10a)][_0x285f40(0xd9)],'top':_0x4eff18['y']-_0x287478[_0x285f40(0x10a)][_0x285f40(0xd9)],'shapeId':this[_0x285f40(0x166)],'unitId':this[_0x285f40(0x48e)],'subUnitId':this['_subUnitId'],'isStartConnectorPoint':_0x1202a1,'width':_0x287478['ShapeDefaultConfig'][_0x285f40(0xd9)]*0x2,'height':_0x287478[_0x285f40(0x10a)]['cxnPointRadius']*0x2,'zIndex':_0x1c3608[_0x285f40(0x28a)]+0x1,'evented':!0x0});this[_0x285f40(0x1a1)][_0x285f40(0x27e)](_0x27611a),this[_0x285f40(0x103)](_0x27611a,_0x315c39,_0x1202a1),_0x315c39[_0x285f40(0x13d)](_0x27611a,_0x1c3608[_0x285f40(0x28a)]+0x1);}[_0x5671d9(0x4a4)](_0x51adb7,_0xe620f0){const _0x3e3d31=_0x5671d9;var _0x4e1681;let _0x287866={'x':0x0,'y':0x0};if(!_0x51adb7||!_0xe620f0)return _0x287866;let _0x439b1d=this['_renderManagerService'][_0x3e3d31(0x1fa)](_0x51adb7);if(!_0x439b1d||!_0x439b1d[_0x3e3d31(0x438)](_0x261221[_0x3e3d31(0x3fb)])[_0x3e3d31(0x1e8)](_0xe620f0))return _0x287866;let _0x2bebaf=_0x439b1d[_0x3e3d31(0x438)](_0x261221['SheetScrollManagerService']),_0x9fc61f=_0x2bebaf==null?void 0x0:_0x2bebaf[_0x3e3d31(0x214)]();if(!_0x9fc61f)return _0x287866;let _0x2ebf3e=(_0x4e1681=this['_univerInstanceService'][_0x3e3d31(0x147)](_0x51adb7))==null?void 0x0:_0x4e1681[_0x3e3d31(0x13a)](_0xe620f0);if(!_0x2ebf3e)return _0x287866;let _0x4686c4=(0x0,_0x261221[_0x3e3d31(0x362)])(_0x9fc61f['sheetViewStartRow'],_0x9fc61f[_0x3e3d31(0x30a)],_0x439b1d[_0x3e3d31(0x333)],_0x2ebf3e);return _0x4686c4?{'x':_0x4686c4[_0x3e3d31(0x2d8)],'y':_0x4686c4['viewportScrollY']}:_0x287866;}[_0x5671d9(0x36c)](_0x122c9f,_0xfb8fe9){const _0x35992d=_0x5671d9;var _0x42746f;let _0x5c57c5=(_0x42746f=this[_0x35992d(0x434)]['getUnit'](_0x122c9f))==null?void 0x0:_0x42746f['getSheetBySheetId'](_0xfb8fe9);return(_0x5c57c5==null?void 0x0:_0x5c57c5[_0x35992d(0x1e5)]())??0x1;}[_0x5671d9(0x473)](_0x113fd7,_0x174bea,_0x1662c0,_0x19c660,_0x1ce79f){const _0x291d11=_0x5671d9;this['_cxtHandlerPointerMove'][_0x291d11(0x165)](),this[_0x291d11(0x1b6)][_0x291d11(0x165)](),this[_0x291d11(0x100)]['refreshAdjustControls']();let _0x273956=this[_0x291d11(0x19d)];this['_sheetBasicShapeConnectionPointController'][_0x291d11(0x463)]();let _0x214d0a=this[_0x291d11(0x4a4)](this['_unitId'],this[_0x291d11(0x1f0)]),_0x7b9528=this[_0x291d11(0x36c)](this['_unitId'],this[_0x291d11(0x1f0)]),_0x4bcf35={'x':_0x1662c0['offsetX']/_0x7b9528+_0x214d0a['x'],'y':_0x1662c0['offsetY']/_0x7b9528+_0x214d0a['y']},_0x20acd4=_0x273956?_0x273956[_0x291d11(0x2c3)]:_0x4bcf35,_0x59d8b1=_0x19c660?this[_0x291d11(0x194)]['getEndConnectInfo']():this[_0x291d11(0x194)][_0x291d11(0x39c)](),_0x149437=this[_0x291d11(0x194)]['getShapeType']();_0x59d8b1?this['_handleConnectedEndpointPointerUp'](_0x59d8b1,_0x20acd4,_0x19c660,_0x273956,_0x1ce79f):this[_0x291d11(0x142)](_0x174bea,_0x20acd4,_0x19c660,_0x273956,_0x1ce79f,_0x149437),this['_isConnecting']=!0x1,this['_hasReset']=!0x1,this['_currentConnectionTarget']=null,_0x113fd7[_0x291d11(0x366)]();}[_0x5671d9(0x142)](_0x23f8ba,_0x56352e,_0x53e922,_0x3b6b72,_0x2b4c02,_0x3df8a0){const _0x4d352e=_0x5671d9;let _0x37deb2=_0x3df8a0===_0x287478['ShapeTypeEnum'][_0x4d352e(0x29f)]||_0x3df8a0===_0x287478[_0x4d352e(0x384)][_0x4d352e(0x3c4)],_0x43e60e=_0x53e922?_0x56352e:_0x23f8ba,_0x98198d=_0x53e922?_0x23f8ba:_0x56352e,_0x31b3a1=this[_0x4d352e(0x194)]['getConnectorLinePoints'](),_0x3db85e=this[_0x4d352e(0x194)][_0x4d352e(0x347)](),_0xbf883a=(0x0,_0x287478[_0x4d352e(0x2b1)])(_0x3db85e),_0x409951=_0x287478[_0x4d352e(0x2ec)][_0x4d352e(0x3fe)](_0x31b3a1,_0xbf883a),_0x42bccd=_0x37deb2?_0x287478[_0x4d352e(0x2ec)]['computeStraightConnectorLayout'](_0x43e60e,_0x98198d):_0x287478[_0x4d352e(0x2ec)][_0x4d352e(0x162)](_0x23f8ba,_0x56352e,_0x53e922,_0x409951);_0x3b6b72?this[_0x4d352e(0x26b)](_0x42bccd,_0x3b6b72,_0x53e922,_0x2b4c02):this[_0x4d352e(0x21d)](_0x42bccd,_0x2b4c02);}[_0x5671d9(0x2fd)](_0x422dac,_0x505a91,_0x21f065,_0x54f722,_0x1fb2b8){const _0x209c45=_0x5671d9;let _0x56cc30=this[_0x209c45(0x334)](_0x422dac);if(!_0x56cc30)return;let _0x16b2ac=_0x54f722?_0x54f722['angle']:this[_0x209c45(0x174)](_0x56cc30[_0x209c45(0x32b)],_0x505a91),_0x1593a8;if(_0x54f722){let _0x2c53f1=this['_drawingManagerService']['getDrawingByParam']({'unitId':_0x54f722[_0x209c45(0x173)],'subUnitId':_0x54f722[_0x209c45(0x135)],'drawingId':_0x54f722[_0x209c45(0x37d)]});if(_0x2c53f1!=null&&_0x2c53f1[_0x209c45(0x2c6)]){let {left:_0x234e9c=0x0,top:_0x3416b7=0x0,width:_0x126794=0x0,height:_0x7750d5=0x0,angle:_0x3d642d}=_0x2c53f1[_0x209c45(0x2c6)];_0x1593a8=(0x0,_0x287478[_0x209c45(0x27b)])({'left':_0x234e9c,'top':_0x3416b7,'width':_0x126794,'height':_0x7750d5},_0x3d642d||0x0);}else _0x1593a8={'left':_0x505a91['x'],'top':_0x505a91['y'],'width':0x0,'height':0x0};}else _0x1593a8={'left':_0x505a91['x'],'top':_0x505a91['y'],'width':0x0,'height':0x0};let _0x30b82d={'point':_0x505a91,'angle':_0x16b2ac,'bounds':_0x1593a8},_0x18f935=_0x21f065?_0x30b82d:_0x56cc30,_0x1e91e2=_0x21f065?_0x56cc30:_0x30b82d,_0xedbfb8=this['_activeShapeModel'][_0x209c45(0x347)](),_0x593126=(0x0,_0x287478[_0x209c45(0x314)])(_0x18f935,_0x1e91e2,_0xedbfb8);this['_activeShapeModel'][_0x209c45(0x1eb)]();let _0x18bea2=(0x0,_0x287478['computeConnectorRouteLayout'])(_0x593126,_0xedbfb8);_0x54f722?this[_0x209c45(0x16e)](_0x18bea2,_0x54f722,_0x422dac,_0x21f065,_0x1fb2b8):this[_0x209c45(0x2bb)](_0x18bea2,_0x422dac,_0x21f065,_0x1fb2b8);}[_0x5671d9(0x26b)](_0x57017b,_0x47268a,_0x2e7712,_0x36960d){const _0x363dbc=_0x5671d9;let _0x23715c=this['_activeShapeModel']['getShapeData']()['relation'],_0x231d70={..._0x23715c},_0x247819={'shapeId':_0x47268a['shapeId'],'cxnIndex':_0x47268a['cxnIndex']};_0x2e7712?_0x231d70['from']=_0x247819:_0x231d70['to']=_0x247819;let _0x2cd0c3=this[_0x363dbc(0x194)][_0x363dbc(0x347)](),_0x577150=(0x0,_0x287478[_0x363dbc(0x11b)])(_0x57017b[_0x363dbc(0x3d2)],_0x2cd0c3),_0x26a190={'unitId':this[_0x363dbc(0x48e)],'subUnitId':this[_0x363dbc(0x1f0)],'connectorShapeId':this[_0x363dbc(0x166)],'width':_0x57017b['worldRect'][_0x363dbc(0x439)],'height':_0x57017b[_0x363dbc(0x42b)][_0x363dbc(0x2ea)],'left':_0x57017b['worldRect']['left'],'top':_0x57017b[_0x363dbc(0x42b)][_0x363dbc(0x1e1)],'flipX':_0x57017b[_0x363dbc(0x42b)]['flipX']||!0x1,'flipY':_0x57017b[_0x363dbc(0x42b)]['flipY']||!0x1,'newAdjustValues':_0x577150[_0x363dbc(0x16c)],'oldAdjustValues':_0x36960d,'oldRelation':_0x23715c,'newRelation':_0x231d70,'newLineType':_0x577150[_0x363dbc(0x1f2)],'oldLineType':_0x2cd0c3};this[_0x363dbc(0x39a)][_0x363dbc(0x1f9)](_0x276c17[_0x363dbc(0x3ea)]['id'],_0x26a190);}['_executeResizeCommand'](_0x4dd1b,_0x4262fa){const _0x2a9e13=_0x5671d9;let _0x2b7205=this[_0x2a9e13(0x194)][_0x2a9e13(0x347)](),_0x1a76e2=(0x0,_0x287478[_0x2a9e13(0x11b)])(_0x4dd1b[_0x2a9e13(0x3d2)],_0x2b7205),_0x373afa={'unitId':this['_unitId'],'subUnitId':this[_0x2a9e13(0x1f0)],'shapeId':this[_0x2a9e13(0x166)],'width':_0x4dd1b[_0x2a9e13(0x42b)][_0x2a9e13(0x439)],'height':_0x4dd1b['worldRect'][_0x2a9e13(0x2ea)],'left':_0x4dd1b[_0x2a9e13(0x42b)][_0x2a9e13(0x32c)],'top':_0x4dd1b['worldRect'][_0x2a9e13(0x1e1)],'flipX':_0x4dd1b['worldRect'][_0x2a9e13(0x160)]||!0x1,'flipY':_0x4dd1b[_0x2a9e13(0x42b)][_0x2a9e13(0x481)]||!0x1,'angle':_0x4dd1b['worldRect'][_0x2a9e13(0x46e)]||0x0,'newAdjustValues':_0x1a76e2[_0x2a9e13(0x16c)],'oldAdjustValues':_0x4262fa,'newLineType':_0x1a76e2[_0x2a9e13(0x1f2)],'oldLineType':_0x2b7205};this[_0x2a9e13(0x39a)][_0x2a9e13(0x1f9)](_0x276c17['UpdateLineShapeResizeCommand']['id'],_0x373afa);}[_0x5671d9(0x16e)](_0xcc5509,_0x4a4af2,_0x457d33,_0x17461a,_0xcf45af){const _0x86866b=_0x5671d9;let _0x3c3c54=this[_0x86866b(0x194)][_0x86866b(0xe8)]()['relation'],_0x338617={..._0x3c3c54},_0x38a097={'shapeId':_0x4a4af2[_0x86866b(0x37d)],'cxnIndex':_0x4a4af2[_0x86866b(0xcb)]};_0x17461a?(_0x338617['from']=_0x38a097,_0x338617['to']=_0x457d33):(_0x338617[_0x86866b(0x2c0)]=_0x457d33,_0x338617['to']=_0x38a097);let _0x3763f1={'unitId':this[_0x86866b(0x48e)],'subUnitId':this[_0x86866b(0x1f0)],'connectorShapeId':this[_0x86866b(0x166)],'width':_0xcc5509[_0x86866b(0x42b)][_0x86866b(0x439)],'height':_0xcc5509[_0x86866b(0x42b)][_0x86866b(0x2ea)],'left':_0xcc5509[_0x86866b(0x42b)][_0x86866b(0x32c)],'top':_0xcc5509['worldRect'][_0x86866b(0x1e1)],'flipX':_0xcc5509[_0x86866b(0x42b)]['flipX']||!0x1,'flipY':_0xcc5509[_0x86866b(0x42b)][_0x86866b(0x481)]||!0x1,'oldAdjustValues':_0xcf45af,'newAdjustValues':_0xcc5509[_0x86866b(0x16c)],'newLineType':_0xcc5509[_0x86866b(0x1f2)],'rotation':_0xcc5509[_0x86866b(0x374)],'oldRelation':_0x3c3c54,'newRelation':_0x338617};this[_0x86866b(0x39a)][_0x86866b(0x1f9)](_0x276c17['UpdateConnectorRelationCommand']['id'],_0x3763f1);}[_0x5671d9(0x2bb)](_0x488a9a,_0x2ff61b,_0x2a53e5,_0x4dff4e){const _0x35cb0b=_0x5671d9;let _0x162f07=this[_0x35cb0b(0x194)][_0x35cb0b(0xe8)]()[_0x35cb0b(0x1a8)],_0x48dc3c={};_0x2a53e5?(_0x48dc3c['to']=_0x2ff61b,_0x48dc3c[_0x35cb0b(0x2c0)]=void 0x0):(_0x48dc3c[_0x35cb0b(0x2c0)]=_0x2ff61b,_0x48dc3c['to']=void 0x0);let _0x4d1bb2={'unitId':this[_0x35cb0b(0x48e)],'subUnitId':this[_0x35cb0b(0x1f0)],'connectorShapeId':this[_0x35cb0b(0x166)],'width':_0x488a9a['worldRect'][_0x35cb0b(0x439)],'height':_0x488a9a[_0x35cb0b(0x42b)][_0x35cb0b(0x2ea)],'left':_0x488a9a[_0x35cb0b(0x42b)]['left'],'top':_0x488a9a[_0x35cb0b(0x42b)][_0x35cb0b(0x1e1)],'flipX':_0x488a9a[_0x35cb0b(0x42b)]['flipX']||!0x1,'flipY':_0x488a9a['worldRect'][_0x35cb0b(0x481)]||!0x1,'oldAdjustValues':_0x4dff4e,'newAdjustValues':_0x488a9a['adjustValues'],'newLineType':_0x488a9a[_0x35cb0b(0x1f2)],'rotation':_0x488a9a['rotation'],'oldRelation':_0x162f07,'newRelation':_0x48dc3c};this[_0x35cb0b(0x39a)]['executeCommand'](_0x276c17[_0x35cb0b(0x3ea)]['id'],_0x4d1bb2);}[_0x5671d9(0x103)](_0x50b9f8,_0x2ff342,_0x3b258b){const _0x2c021b=_0x5671d9;this[_0x2c021b(0x252)]((0x0,_0x383631[_0x2c021b(0x292)])(_0x50b9f8[_0x2c021b(0xe5)][_0x2c021b(0x17a)]((_0x1ac193,_0x5207ce)=>{const _0x34fa3=_0x2c021b;let _0x1e4a9c=_0x50b9f8[_0x34fa3(0x4cd)]();if(this['_activeShapeModel']=this[_0x34fa3(0xd0)][_0x34fa3(0x3a8)](_0x1e4a9c[_0x34fa3(0x173)],_0x1e4a9c[_0x34fa3(0x135)],_0x1e4a9c[_0x34fa3(0x493)]),!this[_0x34fa3(0x194)])return;let _0x5dd65f={};this[_0x34fa3(0x194)]['getAdjustNames']()[_0x34fa3(0x3a7)](_0x25268b=>{const _0x1d9ad1=_0x34fa3;let _0x29802a=this[_0x1d9ad1(0x194)][_0x1d9ad1(0x440)](_0x25268b);_0x29802a!==void 0x0&&(_0x5dd65f[_0x25268b]=_0x29802a);});let _0x81ecf6=this[_0x34fa3(0x1c8)]();if(!_0x81ecf6)return;this['_baseDrawingRect']={..._0x81ecf6};let _0x14122c=new _0x287478[(_0x34fa3(0x2ec))](this[_0x34fa3(0x209)]),_0x379480=(0x0,_0x279593[_0x34fa3(0x201)])({'unitId':this[_0x34fa3(0x48e)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x34fa3(0x166)]}),_0x362b9f=_0x2ff342[_0x34fa3(0x327)](_0x379480);this[_0x34fa3(0x128)]=!0x0,_0x2ff342[_0x34fa3(0x457)](),this[_0x34fa3(0x1de)][_0x34fa3(0x359)](_0x2ff342,this[_0x34fa3(0x48e)],this[_0x34fa3(0x1f0)],this[_0x34fa3(0x166)]),this[_0x34fa3(0x19d)]=null;let _0x57f541=this[_0x34fa3(0x194)][_0x34fa3(0x4c4)](),_0x303849=_0x57f541[0x0],_0x460bf1=_0x57f541[_0x57f541[_0x34fa3(0x175)]-0x1],_0x4fa993=_0x3b258b?_0x14122c[_0x34fa3(0xf7)](_0x460bf1):_0x14122c[_0x34fa3(0xf7)](_0x303849);this[_0x34fa3(0x16f)]=_0x2ff342['onPointerMove$'][_0x34fa3(0x17a)]((_0x4c267c,_0x4c1014)=>{const _0x150910=_0x34fa3;if(!this['_isConnecting']||!this['_activeShapeModel'])return;this[_0x150910(0x41d)]||=(this[_0x150910(0x100)][_0x150910(0x386)](),this[_0x150910(0x194)][_0x150910(0x203)](),!0x0);let _0x404a3a=this[_0x150910(0x4a4)](this['_unitId'],this[_0x150910(0x1f0)]),_0x8ca1c6=this[_0x150910(0x36c)](this[_0x150910(0x48e)],this[_0x150910(0x1f0)]),_0x487d5e={'x':_0x4c267c[_0x150910(0x388)]/_0x8ca1c6+_0x404a3a['x'],'y':_0x4c267c[_0x150910(0x41c)]/_0x8ca1c6+_0x404a3a['y']},_0x168f66=this[_0x150910(0x1de)][_0x150910(0x1c7)](_0x487d5e);if(_0x168f66){let {shapeId:_0x240701,unitId:_0x21316b,subUnitId:_0x4d3d26}=_0x168f66;if(_0x240701&&_0x21316b&&_0x4d3d26){let _0x55ed99=(0x0,_0x279593[_0x150910(0x201)])({'unitId':_0x21316b,'subUnitId':_0x4d3d26,'drawingId':_0x240701});_0x168f66[_0x150910(0x46e)]=(_0x2ff342['getObjectIncludeInGroup'](_0x55ed99)[_0x150910(0x46e)]||0x0)+_0x168f66[_0x150910(0x46e)];}}this[_0x150910(0x19d)]=_0x168f66;let _0x49d63e=_0x3b258b?this[_0x150910(0x194)][_0x150910(0x3cf)]():this[_0x150910(0x194)][_0x150910(0x39c)]();if(_0x49d63e){this[_0x150910(0x11c)](_0x49d63e,_0x487d5e,_0x3b258b,_0x362b9f,_0x50b9f8);return;}this['_handleFreeEndpointMove'](_0x487d5e,_0x4fa993,_0x3b258b,_0x362b9f,_0x50b9f8);}),this['_cxtHandlerPointerUp']=_0x2ff342[_0x34fa3(0x243)][_0x34fa3(0x17a)]((_0x394cde,_0x5de4de)=>{this['_handleConnectorPointerUp'](_0x2ff342,_0x4fa993,_0x394cde,_0x3b258b,_0x5dd65f);}),_0x5207ce[_0x34fa3(0x425)]();})));}['_handleBasicShapeUpdateConnectorLineShape'](_0x26cfce,_0x31c0b0,_0x4954ae){const _0x43adca=_0x5671d9;let _0x4c2350=this[_0x43adca(0xd0)]['getBasicShapeRelation'](_0x26cfce,_0x31c0b0,_0x4954ae);if(!_0x4c2350||_0x4c2350[_0x43adca(0x175)]===0x0)return;let _0x454670=this[_0x43adca(0x42d)][_0x43adca(0x1fa)](_0x26cfce);if(!_0x454670)return;let {scene:_0xfd05bb}=_0x454670;for(let _0x142c24 of _0x4c2350){let _0x4ffe0a=_0x142c24[_0x43adca(0x1cd)],_0xf1d8e9=this[_0x43adca(0xd0)][_0x43adca(0x3a8)](_0x26cfce,_0x31c0b0,_0x4ffe0a);if(!_0xf1d8e9)continue;let _0x1bea5e=_0xf1d8e9[_0x43adca(0x39c)](),_0x3c2e46=_0xf1d8e9[_0x43adca(0x3cf)](),_0x3174ff=(_0x1bea5e==null?void 0x0:_0x1bea5e[_0x43adca(0x37d)])===_0x4954ae,_0x43c5d1=(0x0,_0x279593[_0x43adca(0x201)])({'unitId':_0x26cfce,'subUnitId':_0x31c0b0,'drawingId':_0x4ffe0a}),_0x3a7f9b=_0xfd05bb[_0x43adca(0x327)](_0x43c5d1);if(!_0x3a7f9b)continue;let _0x409faf=this['_drawingManagerService'][_0x43adca(0x14d)]({'unitId':_0x26cfce,'subUnitId':_0x31c0b0,'drawingId':_0x4ffe0a});_0x409faf!=null&&_0x409faf['transform']&&(_0x1bea5e&&_0x3c2e46?this[_0x43adca(0x348)](_0x26cfce,_0x31c0b0,_0x4ffe0a,_0xf1d8e9,_0x1bea5e,_0x3c2e46,_0x3a7f9b):this[_0x43adca(0x448)](_0x26cfce,_0x31c0b0,_0x4ffe0a,_0xf1d8e9,_0x3174ff?_0x1bea5e:_0x3c2e46,_0x3174ff,_0x409faf,_0x3a7f9b));}}[_0x5671d9(0x348)](_0x5325aa,_0x107df5,_0x4e816f,_0x5eb96b,_0x57a8da,_0x3a9974,_0x3a5680){const _0x2b1fea=_0x5671d9;let _0x23a2b1=this['_unitId'],_0xf9c63f=this['_subUnitId'];this[_0x2b1fea(0x48e)]=_0x5325aa,this[_0x2b1fea(0x1f0)]=_0x107df5;let _0x9373=this['_getConnectPointInfo'](_0x57a8da),_0x15abea=this[_0x2b1fea(0x334)](_0x3a9974);if(this['_unitId']=_0x23a2b1,this[_0x2b1fea(0x1f0)]=_0xf9c63f,!_0x9373||!_0x15abea)return;let _0x2c7813=_0x5eb96b['getShapeType'](),_0x3a05a8=(0x0,_0x287478['routeConnectorLineShape'])(_0x9373,_0x15abea,_0x2c7813);_0x3a05a8&&_0x5eb96b[_0x2b1fea(0x4b3)](_0x3a05a8);let _0x369f40=(0x0,_0x287478[_0x2b1fea(0x11b)])(_0x3a05a8,_0x2c7813);_0x369f40[_0x2b1fea(0x1f2)]!==_0x2c7813&&_0x5eb96b[_0x2b1fea(0x1db)](_0x369f40[_0x2b1fea(0x1f2)]),_0x5eb96b[_0x2b1fea(0x203)]();for(let [_0xa85726,_0x12813c]of Object['entries'](_0x369f40[_0x2b1fea(0x16c)]))_0x5eb96b[_0x2b1fea(0x290)](_0xa85726,_0x12813c);_0x5eb96b['updateContext']({'width':_0x369f40[_0x2b1fea(0x42b)][_0x2b1fea(0x439)],'height':_0x369f40[_0x2b1fea(0x42b)][_0x2b1fea(0x2ea)]}),_0x3a5680[_0x2b1fea(0x315)]({'flipX':_0x369f40[_0x2b1fea(0x42b)][_0x2b1fea(0x160)],'flipY':_0x369f40['worldRect'][_0x2b1fea(0x481)],'left':_0x369f40['worldRect'][_0x2b1fea(0x32c)],'top':_0x369f40[_0x2b1fea(0x42b)][_0x2b1fea(0x1e1)],'width':_0x369f40[_0x2b1fea(0x42b)]['width'],'height':_0x369f40['worldRect'][_0x2b1fea(0x2ea)],'angle':_0x369f40[_0x2b1fea(0x374)]}),_0x5eb96b[_0x2b1fea(0x1eb)]();}['_moveConnectorWithShape'](_0x51e4a9,_0x1e98a8,_0x5e3f0a,_0x423bc6,_0x278416,_0x58c03e,_0x4876b0,_0x1033d7){const _0xf4d948=_0x5671d9;let _0x40ff3c=this[_0xf4d948(0x48e)],_0xf95dfc=this[_0xf4d948(0x1f0)];this['_unitId']=_0x51e4a9,this[_0xf4d948(0x1f0)]=_0x1e98a8;let _0x331bb5=this[_0xf4d948(0x334)](_0x278416);if(this['_unitId']=_0x40ff3c,this[_0xf4d948(0x1f0)]=_0xf95dfc,!_0x331bb5)return;let {left:_0x16fe4b=0x0,top:_0x52149d=0x0,width:_0x5ab2ed=0x0,height:_0x2d0447=0x0,flipX:_0x4b3ea4=!0x1,flipY:_0x50b902=!0x1}=_0x4876b0[_0xf4d948(0x2c6)],_0x44ddb8=_0x423bc6[_0xf4d948(0x4c4)]();if(_0x44ddb8[_0xf4d948(0x175)]<0x2)return;let _0x5677d2=new _0x287478[(_0xf4d948(0x2ec))]({'left':_0x16fe4b,'top':_0x52149d,'width':_0x5ab2ed,'height':_0x2d0447,'flipX':_0x4b3ea4,'flipY':_0x50b902}),_0x333ffc=_0x58c03e?_0x44ddb8[_0x44ddb8['length']-0x1]:_0x44ddb8[0x0],_0xaa5234=_0x5677d2[_0xf4d948(0xf7)](_0x333ffc),_0x5d70a5=_0x287478[_0xf4d948(0x2ec)]['computeConnectorResizeLayout'](_0xaa5234,_0x331bb5[_0xf4d948(0x32b)],!_0x58c03e);_0x1033d7[_0xf4d948(0x315)]({'flipX':_0x5d70a5['worldRect'][_0xf4d948(0x160)],'flipY':_0x5d70a5[_0xf4d948(0x42b)][_0xf4d948(0x481)],'left':_0x5d70a5['worldRect']['left'],'top':_0x5d70a5['worldRect'][_0xf4d948(0x1e1)],'width':_0x5d70a5[_0xf4d948(0x42b)][_0xf4d948(0x439)],'height':_0x5d70a5[_0xf4d948(0x42b)][_0xf4d948(0x2ea)],'angle':_0x5d70a5['worldRect'][_0xf4d948(0x46e)]}),_0x1033d7[_0xf4d948(0x33a)](!0x0);}[_0x5671d9(0x478)](){const _0x4100ed=_0x5671d9;this[_0x4100ed(0x1a1)][_0x4100ed(0x175)]!==0x0&&(this['_connectorObjects'][_0x4100ed(0x3a7)](_0x4db9e4=>{const _0x52ab51=_0x4100ed;_0x4db9e4[_0x52ab51(0x39f)]();}),this['_connectorObjects']=[]);}[_0x5671d9(0x497)](){const _0x58925e=_0x5671d9;let _0x1e8af5=this[_0x58925e(0x434)]['getCurrentTypeOfUnit$'](_0x383631['UniverInstanceType']['UNIVER_SHEET']);this[_0x58925e(0x252)](_0x1e8af5[_0x58925e(0x33d)]((0x0,_0x4250df[_0x58925e(0x1bd)])(_0x183ac8=>_0x183ac8?_0x183ac8['activeSheet$'][_0x58925e(0x33d)]((0x0,_0x4250df[_0x58925e(0x1bd)])(_0xfb2451=>{const _0x25dcb8=_0x58925e;if(!_0xfb2451)return _0x4250df[_0x25dcb8(0x15b)];let _0x18bec2=_0x183ac8[_0x25dcb8(0x358)](),_0x28a152=this[_0x25dcb8(0x42d)]['getRenderUnitById'](_0x18bec2),_0x1aa4c7=_0x28a152==null?void 0x0:_0x28a152[_0x25dcb8(0x333)];return _0x1aa4c7?(0x0,_0x4250df['of'])(_0x1aa4c7):_0x4250df[_0x25dcb8(0x15b)];})):_0x4250df[_0x58925e(0x15b)]))[_0x58925e(0x317)](_0x32cb7c=>{const _0x34ecac=_0x58925e;let _0x54f78f=_0x32cb7c[_0x34ecac(0x178)]();this['disposeWithMe'](_0x32cb7c['onPointerMove$'][_0x34ecac(0x17a)](_0x38581e=>{const _0x4a949a=_0x34ecac;this[_0x4a949a(0x20e)]&&this[_0x4a949a(0x166)]&&this[_0x4a949a(0x478)]();})),this['disposeWithMe'](_0x54f78f[_0x34ecac(0x443)][_0x34ecac(0x317)](_0x423c5f=>{const _0x48ea9d=_0x34ecac;let {objects:_0xeb93ea}=_0x423c5f;this[_0x48ea9d(0x478)](),_0xeb93ea!==null&&_0xeb93ea[_0x48ea9d(0x23c)]===0x1&&_0xeb93ea[_0x48ea9d(0x206)]()[_0x48ea9d(0x289)]()[_0x48ea9d(0x320)]instanceof _0x23237e&&(this[_0x48ea9d(0x20e)]=!0x0);})),this[_0x34ecac(0x252)](_0x54f78f['changing$'][_0x34ecac(0x317)](_0x11ebd2=>{const _0x421aff=_0x34ecac;this['_isDrawingShapePointDown']&&this[_0x421aff(0x478)]();})),this[_0x34ecac(0x252)](_0x32cb7c[_0x34ecac(0x243)][_0x34ecac(0x17a)](()=>{const _0x3ea33b=_0x34ecac;this[_0x3ea33b(0x20e)]&&(this[_0x3ea33b(0x20e)]=!0x1,this[_0x3ea33b(0x131)]());})),this[_0x34ecac(0x252)](_0x54f78f[_0x34ecac(0x3c2)][_0x34ecac(0x317)](()=>{const _0x3f2ab1=_0x34ecac;this[_0x3f2ab1(0x48e)]&&this[_0x3f2ab1(0x1f0)]&&this[_0x3f2ab1(0x166)]&&this[_0x3f2ab1(0x306)][_0x3f2ab1(0x14d)]({'unitId':this[_0x3f2ab1(0x48e)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x3f2ab1(0x166)]})&&(this['_clearShapeConnectorHandlerObjects'](),this[_0x3f2ab1(0x131)]());}));}));}[_0x5671d9(0x365)](){const _0x501fe4=_0x5671d9;this[_0x501fe4(0x252)](this[_0x501fe4(0x306)][_0x501fe4(0x262)][_0x501fe4(0x317)](_0x3e417e=>{const _0x4289b4=_0x501fe4;if(_0x3e417e['length']===0x1){let _0x4e2955=_0x3e417e[0x0];if(_0x4e2955[_0x4289b4(0x3d6)]===_0x383631[_0x4289b4(0x286)][_0x4289b4(0x456)]){let _0x18a817=this[_0x4289b4(0xd0)]['getShapeModel'](_0x4e2955['unitId'],_0x4e2955[_0x4289b4(0x135)],_0x4e2955[_0x4289b4(0x493)]);if(_0x18a817&&(0x0,_0x287478[_0x4289b4(0x4d2)])(_0x18a817[_0x4289b4(0x347)]())){this['_activeShapeId']=_0x4e2955[_0x4289b4(0x493)],this[_0x4289b4(0x48e)]=_0x4e2955[_0x4289b4(0x173)],this[_0x4289b4(0x1f0)]=_0x4e2955[_0x4289b4(0x135)],this[_0x4289b4(0x478)](),this[_0x4289b4(0x131)]();return;}}}this[_0x4289b4(0x166)]=void 0x0,this['_unitId']=void 0x0,this[_0x4289b4(0x1f0)]=void 0x0,this[_0x4289b4(0x478)]();})),this[_0x501fe4(0x252)](this[_0x501fe4(0x306)][_0x501fe4(0x294)][_0x501fe4(0x317)](_0x4b4671=>{const _0x4d0346=_0x501fe4;if(_0x4b4671['length']===0x1){var _0x2e061d;let _0x23ccde=_0x4b4671[0x0],_0x3a949f=(_0x2e061d=this[_0x4d0346(0x306)]['getDrawingByParam'](_0x23ccde))==null?void 0x0:_0x2e061d[_0x4d0346(0x3d6)];_0x3a949f===_0x383631[_0x4d0346(0x286)][_0x4d0346(0x456)]&&_0x23ccde[_0x4d0346(0x493)]===this[_0x4d0346(0x166)]?(this['_clearShapeConnectorHandlerObjects'](),this[_0x4d0346(0x131)]()):!this[_0x4d0346(0x166)]&&_0x3a949f===_0x383631[_0x4d0346(0x286)][_0x4d0346(0x456)]&&this[_0x4d0346(0x11f)](_0x23ccde[_0x4d0346(0x173)],_0x23ccde[_0x4d0346(0x135)],_0x23ccde[_0x4d0346(0x493)]);}})),this['disposeWithMe'](this[_0x501fe4(0x306)][_0x501fe4(0x1d5)][_0x501fe4(0x317)](_0x49a4e9=>{const _0x47b7fb=_0x501fe4;for(let _0x1466e1 of _0x49a4e9){let {drawingId:_0x4de62c}=_0x1466e1;if(this[_0x47b7fb(0x166)]===_0x4de62c){this[_0x47b7fb(0x241)]();return;}}}));}[_0x5671d9(0x11c)](_0x32cf96,_0x31d3cc,_0xde2416,_0x18e9f6,_0xd7b60){const _0x456eeb=_0x5671d9;var _0x1e378b;if(!this['_activeShapeModel'])return;let _0x53977b=this[_0x456eeb(0x334)](_0x32cf96);if(!_0x53977b)return;let _0x45a19c=this[_0x456eeb(0x19d)]?this['_currentConnectionTarget']['worldPoint']:_0x31d3cc,_0x2080b6=this[_0x456eeb(0x19d)]?this[_0x456eeb(0x19d)][_0x456eeb(0x46e)]:this[_0x456eeb(0x174)](_0x53977b[_0x456eeb(0x32b)],_0x45a19c),_0x5b4013;if(this[_0x456eeb(0x19d)]){let _0x21bae0=this['_drawingManagerService'][_0x456eeb(0x14d)]({'unitId':this[_0x456eeb(0x19d)][_0x456eeb(0x173)],'subUnitId':this[_0x456eeb(0x19d)][_0x456eeb(0x135)],'drawingId':this[_0x456eeb(0x19d)][_0x456eeb(0x37d)]});if(_0x21bae0!=null&&_0x21bae0['transform']){let {left:_0x17af72=0x0,top:_0x2e454e=0x0,width:_0x11cad3=0x0,height:_0x2f887d=0x0,angle:_0x38e193}=_0x21bae0[_0x456eeb(0x2c6)];_0x5b4013=(0x0,_0x287478[_0x456eeb(0x27b)])({'left':_0x17af72,'top':_0x2e454e,'width':_0x11cad3,'height':_0x2f887d},_0x38e193||0x0);}else _0x5b4013={'left':_0x45a19c['x'],'top':_0x45a19c['y'],'width':0x0,'height':0x0};}else _0x5b4013={'left':_0x45a19c['x'],'top':_0x45a19c['y'],'width':0x0,'height':0x0};let _0x54bb4b={'point':_0x45a19c,'angle':_0x2080b6,'bounds':_0x5b4013},_0x4da14d=_0xde2416?_0x54bb4b:_0x53977b,_0x18c9e6=_0xde2416?_0x53977b:_0x54bb4b,_0x4c4828=this[_0x456eeb(0x194)][_0x456eeb(0x347)](),_0x2c8bc3=(0x0,_0x287478['routeConnectorLineShape'])(_0x4da14d,_0x18c9e6,_0x4c4828);_0x2c8bc3&&this[_0x456eeb(0x194)][_0x456eeb(0x4b3)](_0x2c8bc3);let _0x40cce0=(0x0,_0x287478['computeConnectorRouteLayout'])(_0x2c8bc3,_0x4c4828);_0x40cce0[_0x456eeb(0x1f2)]!==_0x4c4828&&this[_0x456eeb(0x194)][_0x456eeb(0x1db)](_0x40cce0[_0x456eeb(0x1f2)]);for(let [_0x1aa38b,_0xfb0eb5]of Object['entries'](_0x40cce0['adjustValues']))this[_0x456eeb(0x194)][_0x456eeb(0x290)](_0x1aa38b,_0xfb0eb5);this['_activeShapeModel'][_0x456eeb(0x288)]({'width':_0x40cce0[_0x456eeb(0x42b)][_0x456eeb(0x439)],'height':_0x40cce0[_0x456eeb(0x42b)][_0x456eeb(0x2ea)]}),_0x18e9f6[_0x456eeb(0x315)]({'flipX':_0x40cce0[_0x456eeb(0x42b)][_0x456eeb(0x160)],'flipY':_0x40cce0['worldRect'][_0x456eeb(0x481)],'left':_0x40cce0['worldRect'][_0x456eeb(0x32c)],'top':_0x40cce0[_0x456eeb(0x42b)][_0x456eeb(0x1e1)],'width':_0x40cce0['worldRect'][_0x456eeb(0x439)],'height':_0x40cce0['worldRect'][_0x456eeb(0x2ea)],'angle':_0x40cce0[_0x456eeb(0x374)]}),_0x18e9f6[_0x456eeb(0x33a)](!0x0);let _0x272567=((_0x1e378b=this[_0x456eeb(0x19d)])==null?void 0x0:_0x1e378b[_0x456eeb(0x2c3)])??_0x31d3cc;_0xd7b60[_0x456eeb(0x315)]({'left':_0x272567['x']-_0x287478[_0x456eeb(0x10a)]['cxnPointRadius'],'top':_0x272567['y']-_0x287478['ShapeDefaultConfig'][_0x456eeb(0xd9)]});}[_0x5671d9(0x143)](_0x582284,_0x3b7b9c,_0x49f172,_0xad524d,_0x167ce4){const _0xc10dab=_0x5671d9;var _0x5be945,_0xfcd2b;let _0x1a88ea=((_0x5be945=this[_0xc10dab(0x19d)])==null?void 0x0:_0x5be945['worldPoint'])??_0x582284,_0x42ef95=_0x287478[_0xc10dab(0x2ec)][_0xc10dab(0x162)](_0x3b7b9c,_0x1a88ea,_0x49f172);_0xad524d[_0xc10dab(0x315)]({'flipX':_0x42ef95[_0xc10dab(0x42b)][_0xc10dab(0x160)],'flipY':_0x42ef95[_0xc10dab(0x42b)][_0xc10dab(0x481)],'left':_0x42ef95[_0xc10dab(0x42b)][_0xc10dab(0x32c)],'top':_0x42ef95[_0xc10dab(0x42b)]['top'],'width':_0x42ef95['worldRect'][_0xc10dab(0x439)],'height':_0x42ef95[_0xc10dab(0x42b)]['height'],'angle':_0x42ef95[_0xc10dab(0x42b)]['angle']});let _0x2662d5=((_0xfcd2b=this['_currentConnectionTarget'])==null?void 0x0:_0xfcd2b[_0xc10dab(0x2c3)])??_0x582284;_0x167ce4[_0xc10dab(0x315)]({'left':_0x2662d5['x']-_0x287478[_0xc10dab(0x10a)][_0xc10dab(0xd9)],'top':_0x2662d5['y']-_0x287478[_0xc10dab(0x10a)][_0xc10dab(0xd9)]});}['_getConnectPointInfo'](_0x303be3){const _0x4ba49f=_0x5671d9;if(!this[_0x4ba49f(0x48e)]||!this[_0x4ba49f(0x1f0)])return null;let {shapeId:_0x5a8e81,cxnIndex:_0x2e5bf9}=_0x303be3,_0xa00510=this[_0x4ba49f(0xd0)][_0x4ba49f(0x3a8)](this[_0x4ba49f(0x48e)],this[_0x4ba49f(0x1f0)],_0x5a8e81);if(!_0xa00510)return null;let _0x4c94cf=this[_0x4ba49f(0x306)][_0x4ba49f(0x14d)]({'unitId':this[_0x4ba49f(0x48e)],'subUnitId':this[_0x4ba49f(0x1f0)],'drawingId':_0x5a8e81});if(!(_0x4c94cf!=null&&_0x4c94cf[_0x4ba49f(0x2c6)]))return null;let {left:_0x1c12ef=0x0,top:_0x530cf4=0x0,width:_0x12cc95=0x0,height:_0x10f8c9=0x0,flipX:_0x5af90c=!0x1,flipY:_0x403d41=!0x1,angle:_0x4d4c32}=_0x4c94cf[_0x4ba49f(0x2c6)];_0xa00510[_0x4ba49f(0x288)]({'width':_0x12cc95,'height':_0x10f8c9});let _0x126b52=_0xa00510[_0x4ba49f(0x475)]()[_0x4ba49f(0x3de)](_0x32b5d3=>_0x32b5d3[_0x4ba49f(0x368)]===_0x2e5bf9);if(!_0x126b52)return null;let _0x3dbee0=_0x5af90c?_0x12cc95-_0x126b52['x']:_0x126b52['x'],_0x384f08=_0x403d41?_0x10f8c9-_0x126b52['y']:_0x126b52['y'];if(_0x4d4c32!==0x0&&_0x4d4c32!=null){let _0x478203=_0x4d4c32*Math['PI']/0xb4,_0x575467=Math[_0x4ba49f(0x3bb)](_0x478203),_0x40c41a=Math[_0x4ba49f(0x417)](_0x478203),_0xee5cc1=_0x12cc95/0x2,_0x4b901e=_0x10f8c9/0x2,_0x33c1c0=_0x3dbee0-_0xee5cc1,_0xcab808=_0x384f08-_0x4b901e;_0x3dbee0=_0xee5cc1+_0x33c1c0*_0x575467-_0xcab808*_0x40c41a,_0x384f08=_0x4b901e+_0x33c1c0*_0x40c41a+_0xcab808*_0x575467;}_0x3dbee0+=_0x1c12ef,_0x384f08+=_0x530cf4;let _0x36800b=_0x126b52[_0x4ba49f(0x31b)]/0xea60;_0x5af90c&&(_0x36800b=0xb4-_0x36800b),_0x403d41&&(_0x36800b=-_0x36800b),_0x36800b+=_0x4d4c32||0x0,_0x36800b=(_0x36800b%0x168+0x168)%0x168;let _0x59286d=(0x0,_0x287478['getBasicShapeRotateBound'])({'left':_0x1c12ef,'top':_0x530cf4,'width':_0x12cc95,'height':_0x10f8c9},_0x4d4c32||0x0);return{'point':{'x':_0x3dbee0,'y':_0x384f08},'angle':_0x36800b,'bounds':_0x59286d};}[_0x5671d9(0x174)](_0x435a01,_0x8861d6){const _0xe6620b=_0x5671d9;let _0x5608c3=_0x8861d6['x']-_0x435a01['x'],_0x4ea85e=_0x8861d6['y']-_0x435a01['y'];return Math[_0xe6620b(0x190)](_0x5608c3)>=Math[_0xe6620b(0x190)](_0x4ea85e)?_0x5608c3>=0x0?0xb4:0x0:_0x4ea85e>=0x0?0x10e:0x5a;}[_0x5671d9(0x241)](){const _0x427358=_0x5671d9;this['_activeShapeId']=void 0x0,this['_unitId']=void 0x0,this['_subUnitId']=void 0x0,this[_0x427358(0x478)]();}[_0x5671d9(0x39f)](){const _0x5f141f=_0x5671d9;this['_clearShapeConnectorHandlerObjects'](),super[_0x5f141f(0x39f)]();}};_0x2d0bb9=_0x25a2aa([_0x4177c4(0x1,_0x383631[_0x5671d9(0x24e)]),_0x4177c4(0x2,_0x1c3608['IRenderManagerService']),_0x4177c4(0x3,_0x279593['IDrawingManagerService']),_0x4177c4(0x4,_0x383631[_0x5671d9(0x1f7)]),_0x4177c4(0x5,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x276c17[_0x5671d9(0x188)])),_0x4177c4(0x6,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x243401)),_0x4177c4(0x7,(0x0,_0x383631['Inject'])(_0x53dc4d))],_0x2d0bb9);let _0x2dbe31=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x43ac8c,_0x30191b,_0x214d87){const _0x3de1ea=_0x5671d9;super(),this[_0x3de1ea(0xfc)]=_0x43ac8c,this['_drawingManagerService']=_0x30191b,this['_shapeRenderController']=_0x214d87,this[_0x3de1ea(0x1b2)]();}[_0x5671d9(0x1b2)](){const _0x117ad3=_0x5671d9;this[_0x117ad3(0x252)](this['_sheetPrintInterceptorService'][_0x117ad3(0x31c)]['intercept'](this[_0x117ad3(0xfc)][_0x117ad3(0x31c)]['getInterceptPoints']()[_0x117ad3(0xd1)],{'handler':(_0x23b979,_0xb7469a,_0x11cd22)=>{const _0x3f06b1=_0x117ad3;var _0x5e1e52;let {unitId:_0x3f7149,subUnitId:_0x215d12,scene:_0x2f7fa7,resourceCollector:_0x44361a}=_0xb7469a,_0x249706=(_0x5e1e52=this[_0x3f06b1(0x306)][_0x3f06b1(0x3d0)](_0x3f7149))==null?void 0x0:_0x5e1e52[_0x215d12];return _0x249706==null||_0x249706['order']['forEach'](_0x4b6efc=>{const _0x950022=_0x3f06b1;let _0x29a380=_0x249706['data'][_0x4b6efc];_0x29a380['drawingType']===_0x383631['DrawingTypeEnum'][_0x950022(0x456)]&&!_0x29a380[_0x950022(0x185)]&&this[_0x950022(0x281)]['renderDrawingShape'](_0x29a380,_0x2f7fa7,{'resourceCollector':_0x44361a});}),_0x11cd22(_0x23b979);}}));}};_0x2dbe31=_0x25a2aa([_0x4177c4(0x0,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x261221[_0x5671d9(0x446)])),_0x4177c4(0x1,_0x279593[_0x5671d9(0xf1)]),_0x4177c4(0x2,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x57eebe))],_0x2dbe31);let _0x3c6deb=class extends _0x383631['Disposable']{constructor(_0x51206c,_0x2fafd3,_0x2e0b2a){const _0x578712=_0x5671d9;super(),this[_0x578712(0x39a)]=_0x51206c,this[_0x578712(0x114)]=_0x2fafd3,this[_0x578712(0x20a)]=_0x2e0b2a,this[_0x578712(0x325)]();}[_0x5671d9(0x325)](){const _0x50b3c3=_0x5671d9;this[_0x50b3c3(0x252)](this[_0x50b3c3(0x39a)][_0x50b3c3(0x3cd)](_0xd8a692=>{const _0x5ee4db=_0x50b3c3;let _0x275294,_0x145690;if(_0xd8a692['id']===_0x276c17[_0x5ee4db(0x3e8)]['id']||_0xd8a692['id']===_0x276c17['SetShapeDrawingDataCommand']['id']||_0xd8a692['id']===_0x276c17[_0x5ee4db(0x3ea)]['id']){let _0x13a093=_0xd8a692[_0x5ee4db(0x4a7)];_0x275294=_0x13a093[_0x5ee4db(0x173)],_0x145690=_0x13a093['subUnitId'];}_0x275294&&_0x145690&&(this[_0x5ee4db(0x20a)][_0x5ee4db(0x12c)]({'workbookTypes':[_0x111c96[_0x5ee4db(0x121)]],'worksheetTypes':[_0x111c96[_0x5ee4db(0x293)]]},_0x275294,_0x145690)||this['_sheetPermissionCheckController'][_0x5ee4db(0x4a9)](this[_0x5ee4db(0x114)]['t'](_0x5ee4db(0x2a3))));}));}};_0x3c6deb=_0x25a2aa([_0x4177c4(0x0,(0x0,_0x383631['Inject'])(_0x383631[_0x5671d9(0x24e)])),_0x4177c4(0x1,(0x0,_0x383631['Inject'])(_0x383631['LocaleService'])),_0x4177c4(0x2,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x111c96[_0x5671d9(0x48d)]))],_0x3c6deb);let _0xa77d06=class{constructor(_0x52a6c2){this['_renderManagerService']=_0x52a6c2;}['updateShapeFillImage'](_0x4323e1,_0x7d03e3){const _0x19ea9f=_0x5671d9;let _0x1d7716=this[_0x19ea9f(0x42d)][_0x19ea9f(0x1fa)](_0x4323e1[_0x19ea9f(0x173)]),_0xafebd=_0x1d7716==null?void 0x0:_0x1d7716['scene'];if(!_0xafebd)return;let _0x4bcb12=(0x0,_0x279593[_0x19ea9f(0x201)])(_0x4323e1),_0x20aa76=_0xafebd['getObjectIncludeInGroup'](_0x4bcb12);_0x20aa76==null||_0x20aa76[_0x19ea9f(0x2f5)](_0x7d03e3);}};_0xa77d06=_0x25a2aa([_0x4177c4(0x0,_0x1c3608[_0x5671d9(0x1fd)])],_0xa77d06);let _0x2ce7ec=class extends _0x383631[_0x5671d9(0x28b)]{constructor(_0x1dfad6=_0xda7fc9,_0x94d898,_0xbfc40f,_0x36e1cf,_0xe4953e){const _0x5289f5=_0x5671d9;super(),this['_config']=_0x1dfad6,this[_0x5289f5(0x1ef)]=_0x94d898,this[_0x5289f5(0x39a)]=_0xbfc40f,this[_0x5289f5(0x1b1)]=_0x36e1cf,this['_renderManagerService']=_0xe4953e;let {..._0x4f7eda}=(0x0,_0x383631[_0x5289f5(0xce)])({},_0xda7fc9,this[_0x5289f5(0x46f)]);this[_0x5289f5(0x1b1)][_0x5289f5(0x2d5)](_0x317c0c,_0x4f7eda),this['_initCommands']();}[_0x5671d9(0x35f)](){const _0x36ff00=_0x5671d9;this['_injector'][_0x36ff00(0x338)]([_0x15ba05]),this[_0x36ff00(0x1ef)][_0x36ff00(0x4be)](_0x15ba05),(0x0,_0x383631['registerDependencies'])(this[_0x36ff00(0x1ef)],[[_0x403f30],[_0x3fcbb7],[_0x57eebe],[_0x2dbe31],[_0xa77d06],[_0xc020ee],[_0x5e5ab0],[_0x5343de],[_0x3c6deb]]);}[_0x5671d9(0x2ff)](){const _0x4dee17=_0x5671d9;(0x0,_0x383631[_0x4dee17(0x2c2)])(this[_0x4dee17(0x1ef)],[[_0x53dc4d],[_0x243401],[_0x544c39]]),(0x0,_0x383631[_0x4dee17(0xf5)])(this[_0x4dee17(0x1ef)],[[_0x544c39],[_0x243401]]),[[_0x53dc4d],[_0x2d7d8a],[_0x2d0bb9],[_0x2c3642]][_0x4dee17(0x3a7)](_0x109af7=>{const _0x38ab42=_0x4dee17;this[_0x38ab42(0x252)](this['_renderManagerService']['registerRenderModule'](_0x383631[_0x38ab42(0x363)][_0x38ab42(0x3e4)],_0x109af7));});}[_0x5671d9(0x28d)](){const _0x2677ae=_0x5671d9;(0x0,_0x383631['touchDependencies'])(this[_0x2677ae(0x1ef)],[[_0x403f30],[_0x3fcbb7],[_0x57eebe],[_0x2dbe31],[_0xa77d06],[_0xc020ee],[_0x5e5ab0],[_0x5343de],[_0x3c6deb]]);}[_0x5671d9(0x24d)](){const _0x2e39d9=_0x5671d9;this[_0x2e39d9(0x1ef)][_0x2e39d9(0x4be)](_0x403f30)[_0x2e39d9(0x380)]();}[_0x5671d9(0x3c8)](){const _0x572ada=_0x5671d9;[_0x45134c,_0x57882a,_0x39b8fc,_0x176123][_0x572ada(0x3a7)](_0x2fa612=>this[_0x572ada(0x252)](this[_0x572ada(0x39a)][_0x572ada(0x37f)](_0x2fa612)));}};_0x20dccc(_0x2ce7ec,_0x5671d9(0x435),_0x383631['UniverInstanceType']['UNIVER_SHEET']),_0x20dccc(_0x2ce7ec,_0x5671d9(0xcd),_0x5671d9(0x261)),_0x20dccc(_0x2ce7ec,_0x5671d9(0x242),_0x42e456),_0x20dccc(_0x2ce7ec,'version',_0x1bfefd),_0x2ce7ec=_0x25a2aa([(0x0,_0x383631[_0x5671d9(0x499)])(_0x42a3f1[_0x5671d9(0x2b8)],_0x1a7a3e[_0x5671d9(0x3a4)],_0x279593['UniverDrawingPlugin'],_0x1c3608[_0x5671d9(0x230)],_0x111c96[_0x5671d9(0x237)],_0x12171b[_0x5671d9(0x234)],_0x72b203[_0x5671d9(0x2a9)],_0x54f73f[_0x5671d9(0x3e3)],_0x44e77f[_0x5671d9(0x3f4)],_0x276c17[_0x5671d9(0x3a5)],_0x261221['UniverSheetsMobileUIPlugin'],_0x2a9d6c[_0x5671d9(0x36b)],_0x2f96d6[_0x5671d9(0x1a2)]),_0x4177c4(0x1,(0x0,_0x383631['Inject'])(_0x383631[_0x5671d9(0x4c7)])),_0x4177c4(0x2,_0x383631[_0x5671d9(0x24e)]),_0x4177c4(0x3,_0x383631[_0x5671d9(0x1ad)]),_0x4177c4(0x4,_0x1c3608[_0x5671d9(0x1fd)])],_0x2ce7ec);let _0x24f5aa={'type':_0x383631[_0x5671d9(0x465)][_0x5671d9(0x229)],'id':'sheet.operation.close-sheet-shape-format-panel','handler'(){return!0x0;}};function _0x5467e1(){const _0x712cec=_0x5671d9;let _0x5bf2b1=(0x0,_0x2f96d6[_0x712cec(0x19e)])(_0x279593['IDrawingManagerService']),_0x5bb60a=(0x0,_0x2f96d6[_0x712cec(0x26f)])(()=>_0x5bf2b1['focus$'],_0x5bf2b1[_0x712cec(0x486)](),!0x1,[_0x5bf2b1]);return _0x5bb60a[_0x712cec(0x175)]===0x0?null:(0x0,_0x4170e1[_0x712cec(0x157)])(_0x712cec(0x1a7),{'children':(0x0,_0x4170e1[_0x712cec(0x413)])(_0x712cec(0x1a7),{'className':'univer-box-border\x20univer-px-4\x20univer-text-sm','children':[(0x0,_0x4170e1[_0x712cec(0x157)])(_0x129810[_0x712cec(0x431)],{'drawings':_0x5bb60a,'hasCropper':!0x1}),(0x0,_0x4170e1[_0x712cec(0x157)])(_0x44e77f[_0x712cec(0x3c0)],{'drawings':_0x5bb60a})]})});}function _0x4aa9e6(_0x80fb3c){const _0x1e5abb=_0x5671d9;let {unitId:_0x5a714a,subUnitId:_0x2bebf7,shapeId:_0x1a9579}=_0x80fb3c,_0x15b2fe=(0x0,_0x2f96d6[_0x1e5abb(0x19e)])(_0x383631['ICommandService']),_0x215df9=(0x0,_0x2f96d6[_0x1e5abb(0x19e)])(_0xa77d06);return(0x0,_0x4170e1[_0x1e5abb(0x157)])(_0x2a9d6c[_0x1e5abb(0x36d)],{..._0x80fb3c,'positionEditor':(0x0,_0x4170e1[_0x1e5abb(0x157)])(_0x5467e1,{}),'onUpdateShapeData':(_0x30c388,_0x4f0106)=>{_0x100eae(_0x15b2fe,_0x5a714a,_0x2bebf7,_0x1a9579,_0x30c388,_0x4f0106);},'onUpdateLineShapeData':(_0x32e071,_0x111860)=>{_0x9cff5f(_0x15b2fe,_0x5a714a,_0x2bebf7,_0x1a9579,_0x32e071,_0x111860);},'onUpdateShapeFillImage':_0x369615=>{const _0x4204fa=_0x1e5abb;_0x215df9[_0x4204fa(0x16b)]({'unitId':_0x5a714a,'subUnitId':_0x2bebf7,'drawingId':_0x1a9579},_0x369615);}});}function _0x508c98(_0x5ad81e){const _0x998c25=_0x5671d9;let _0x5b280e=(0x0,_0x2f96d6['useDependency'])(_0x2a9d6c[_0x998c25(0x259)]),_0x4b9362=(0x0,_0x2f96d6[_0x998c25(0x26f)])(()=>_0x5b280e[_0x998c25(0x233)],_0x5b280e[_0x998c25(0x257)](),!0x1,[_0x5b280e]),_0x24f6d4=_0x5ad81e[_0x998c25(0x2fe)][_0x998c25(0x1fc)];return!_0x24f6d4||!_0x4b9362?null:(0x0,_0x4170e1[_0x998c25(0x157)])(_0x147578,{..._0x24f6d4,'canvasElement':_0x5ad81e['popup'][_0x998c25(0x4ae)]});}function _0x147578(_0x3a16dd){const _0xdcd4fa=_0x5671d9;let _0x3bf1ab=(0x0,_0x2f96d6[_0xdcd4fa(0x19e)])(_0x383631['ICommandService']),_0x1b3c45=(0x0,_0x2f96d6['useDependency'])(_0x276c17[_0xdcd4fa(0x188)]),{unitId:_0x1cab4a,subUnitId:_0x3722d2,drawingId:_0xc35354,drawingType:_0x5d73c6,shapeType:_0x2ad6f9}=_0x3a16dd,[_0x51aed5,_0x3e6547]=(0x0,_0x6ed98f[_0xdcd4fa(0x3f3)])(_0x3a16dd[_0xdcd4fa(0x1a0)]),_0x2fbc4a=(0x0,_0x6ed98f[_0xdcd4fa(0x420)])(()=>(0x0,_0x2a9d6c[_0xdcd4fa(0x468)])(_0x51aed5),[_0x51aed5]),_0x10a3e2=(0x0,_0x6ed98f[_0xdcd4fa(0x420)])(()=>(0x0,_0x2a9d6c[_0xdcd4fa(0x11e)])(_0x51aed5),[_0x51aed5]);(0x0,_0x6ed98f[_0xdcd4fa(0x136)])(()=>{const _0x97abeb=_0xdcd4fa;let _0x566af6=_0x3bf1ab[_0x97abeb(0x15d)](_0x83bd77=>{const _0x228cdb=_0x97abeb;if(_0x83bd77['id']!==_0x276c17[_0x228cdb(0x250)]['id'])return;let _0x4341ea=_0x1b3c45['getShapeDataById'](_0x1cab4a,_0x3722d2,_0xc35354);_0x4341ea&&_0x3e6547(_0x4341ea);});return()=>_0x566af6[_0x97abeb(0x39f)]();},[_0x3bf1ab,_0xc35354,_0x1b3c45,_0x3722d2,_0x1cab4a]);let _0x18cd34=_0x2cf9c1=>{_0x3e6547(_0x96c146=>({..._0x96c146,..._0x2cf9c1}));},_0x822b40=_0x3172f6=>{const _0x173f70=_0xdcd4fa;let _0x372a53=(0x0,_0x2a9d6c[_0x173f70(0x1b9)])(_0x51aed5,_0x3172f6);_0x100eae(_0x3bf1ab,_0x1cab4a,_0x3722d2,_0xc35354,{'oldShapeData':{'shapeText':_0x51aed5[_0x173f70(0x244)]}},_0x372a53),_0x18cd34(_0x372a53);},_0x33cf13=(0x0,_0x2a9d6c[_0xdcd4fa(0x46a)])({'hostType':_0x383631[_0xdcd4fa(0x363)][_0xdcd4fa(0x3e4)],'unitId':_0x1cab4a,'subUnitId':_0x3722d2,'shapeId':_0xc35354,'shapeData':_0x51aed5,'onUpdateBinding':_0x373ddc=>{const _0x534826=_0xdcd4fa;let _0x345834={'formulaBinding':_0x373ddc};_0x100eae(_0x3bf1ab,_0x1cab4a,_0x3722d2,_0xc35354,{'oldShapeData':{'formulaBinding':_0x51aed5[_0x534826(0x339)]}},_0x345834),_0x18cd34(_0x345834);}});return(0x0,_0x4170e1[_0xdcd4fa(0x413)])(_0x4170e1[_0xdcd4fa(0x27f)],{'children':[(0x0,_0x4170e1['jsx'])(_0x2a9d6c[_0xdcd4fa(0xf8)],{'canvasElement':_0x3a16dd['canvasElement'],'shapeData':_0x51aed5,'shapeType':_0x2ad6f9,'textStyle':{'ff':_0x287478['ShapeDefaultConfig'][_0xdcd4fa(0x244)][_0xdcd4fa(0x146)],'fs':_0x287478[_0xdcd4fa(0x10a)][_0xdcd4fa(0x244)][_0xdcd4fa(0x1b4)],'cl':{'rgb':_0x287478[_0xdcd4fa(0x10a)]['shapeText'][_0xdcd4fa(0x151)]},..._0x2fbc4a},'textModel':_0x10a3e2?{'ha':_0x10a3e2['ha']??_0x383631['HorizontalAlign']['LEFT'],'va':_0x10a3e2['va']??_0x383631[_0xdcd4fa(0x2aa)][_0xdcd4fa(0x106)]}:null,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x287478[_0xdcd4fa(0x10a)][_0xdcd4fa(0x3c6)],'defaultGradientEndColor':_0x287478[_0xdcd4fa(0x10a)][_0xdcd4fa(0x32f)],'defaultStrokeColor':_0x287478[_0xdcd4fa(0x10a)][_0xdcd4fa(0x193)],'extensionGroups':_0x33cf13['extensionGroups'],'floatingObjectToolbarPosition':_0x2f96d6['FloatingObjectToolbarPosition'][_0xdcd4fa(0x2ba)],'onUpdateShapeData':(_0x3f54f6,_0xedd8d1)=>{_0x100eae(_0x3bf1ab,_0x1cab4a,_0x3722d2,_0xc35354,_0x3f54f6,_0xedd8d1),_0xedd8d1&&_0x18cd34(_0xedd8d1);},'onUpdateText':_0x822b40,'onOpenPanel':()=>{const _0x289ba3=_0xdcd4fa;_0x3bf1ab[_0x289ba3(0x1f9)](_0x57e247['id'],{'unitId':_0x1cab4a,'subUnitId':_0x3722d2,'drawingId':_0xc35354});},'onDelete':()=>{const _0x53d06e=_0xdcd4fa;_0x3bf1ab[_0x53d06e(0x1f9)](_0x72b203[_0x53d06e(0x4a8)]['id'],{'unitId':_0x1cab4a,'drawings':[{'unitId':_0x1cab4a,'subUnitId':_0x3722d2,'drawingId':_0xc35354,'drawingType':_0x5d73c6}]});}}),_0x33cf13[_0xdcd4fa(0x414)]]});}function _0x2aa89d(_0x3c3ff6){const _0x3453a8=_0x5671d9;return!!_0x3c3ff6&&'axisAlignSheetTransform'in _0x3c3ff6&&_0x3453a8(0x1e4)in _0x3c3ff6;}let _0x2c4a36=(0x0,_0x6ed98f['memo'])(()=>{const _0x1a67d4=_0x5671d9;let _0x59c6b0=(0x0,_0x2f96d6[_0x1a67d4(0x19e)])(_0xc020ee),_0x509640=(0x0,_0x2f96d6[_0x1a67d4(0x19e)])(_0x276c17[_0x1a67d4(0x188)]),_0x56008a=(0x0,_0x2f96d6[_0x1a67d4(0x19e)])(_0x279593[_0x1a67d4(0xf1)]),_0x11f8d7=(0x0,_0x2f96d6['useDependency'])(_0x383631[_0x1a67d4(0x24e)]),_0x22c5fc=(0x0,_0x2f96d6['useDependency'])(_0x2f96d6[_0x1a67d4(0x349)]),_0x3f146f=(0x0,_0x2f96d6[_0x1a67d4(0x19e)])(_0x1c3608['IRenderManagerService']),_0x234a90=(0x0,_0x6ed98f['useMemo'])(()=>({'getShapeModel':(_0x50a331,_0xfc2c40,_0x202b3c)=>_0x509640[_0x1a67d4(0x3a8)](_0x50a331,_0xfc2c40,_0x202b3c),'getShapeData':(_0x562840,_0x4f7aaa,_0x53e25d)=>_0x509640[_0x1a67d4(0x21f)](_0x562840,_0x4f7aaa,_0x53e25d),'getDrawingTransform':(_0x4ec703,_0x338aa8,_0x124064)=>{const _0x54e701=_0x1a67d4;let _0x65dc10=_0x56008a[_0x54e701(0x14d)]({'unitId':_0x4ec703,'subUnitId':_0x338aa8,'drawingId':_0x124064});return _0x65dc10==null?void 0x0:_0x65dc10['transform'];},'updateShapeText':({unitId:_0x278676,subUnitId:_0x4fc31a,shapeId:_0x35f574,shapeText:_0x4e4e65,oldShapeText:_0x4d1c12,hostSize:_0x1d5bb7})=>{_0x22c5fc['run'](_0x278676,()=>{const _0x4e4e5c=_0x43eb;var _0x2aaac2;let _0x48db54=_0x11f8d7['syncExecuteCommand'](_0x57882a['id'],{'unitId':_0x278676,'subUnitId':_0x4fc31a,'shapeId':_0x35f574,'shapeData':{'shapeText':_0x4e4e65},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x4d1c12}}});if(!_0x48db54||!_0x1d5bb7)return _0x48db54;let _0x376fc6=_0x56008a[_0x4e4e5c(0x14d)]({'unitId':_0x278676,'subUnitId':_0x4fc31a,'drawingId':_0x35f574}),_0x563492=_0x376fc6==null?void 0x0:_0x376fc6[_0x4e4e5c(0x2c6)];if(!_0x2aa89d(_0x376fc6)||!_0x563492)return!0x1;let _0x34aea0={..._0x563492,'width':_0x1d5bb7['width'],'height':_0x1d5bb7[_0x4e4e5c(0x2ea)]},_0x1ce314=(_0x2aaac2=_0x3f146f[_0x4e4e5c(0x1fa)](_0x278676))==null||(_0x2aaac2=_0x2aaac2['with'](_0x261221[_0x4e4e5c(0x3fb)])[_0x4e4e5c(0x24b)](_0x4fc31a))==null?void 0x0:_0x2aaac2[_0x4e4e5c(0x404)];return _0x11f8d7[_0x4e4e5c(0x3e7)](_0x72b203[_0x4e4e5c(0x407)]['id'],{'unitId':_0x278676,'drawings':[{..._0x376fc6,'transform':_0x34aea0,'sheetTransform':_0x1ce314?(0x0,_0x72b203[_0x4e4e5c(0xed)])(_0x34aea0,_0x1ce314)??_0x376fc6[_0x4e4e5c(0x1e4)]:_0x376fc6[_0x4e4e5c(0x1e4)],'axisAlignSheetTransform':_0x1ce314?(0x0,_0x72b203[_0x4e4e5c(0x3c9)])(_0x34aea0,_0x1ce314)??_0x376fc6[_0x4e4e5c(0x3af)]:_0x376fc6['axisAlignSheetTransform']}]});});},'updateHostSize':({unitId:_0x4c5aa4,subUnitId:_0x496f36,shapeId:_0x184af1,width:_0x48cfcc,height:_0x5b5d28})=>{const _0x35ea5d=_0x1a67d4;var _0xe88e9b;let _0x19ca6f=_0x56008a[_0x35ea5d(0x14d)]({'unitId':_0x4c5aa4,'subUnitId':_0x496f36,'drawingId':_0x184af1}),_0x22ff7d=_0x19ca6f==null?void 0x0:_0x19ca6f[_0x35ea5d(0x2c6)];if(!_0x2aa89d(_0x19ca6f)||!_0x22ff7d)return;let _0x48bc3f={..._0x22ff7d,'width':_0x48cfcc,'height':_0x5b5d28},_0x4e2fc4=(_0xe88e9b=_0x3f146f[_0x35ea5d(0x1fa)](_0x4c5aa4))==null||(_0xe88e9b=_0xe88e9b[_0x35ea5d(0x438)](_0x261221['SheetSkeletonManagerService'])[_0x35ea5d(0x24b)](_0x496f36))==null?void 0x0:_0xe88e9b[_0x35ea5d(0x404)],_0xf3ad2b=_0x4e2fc4?(0x0,_0x72b203[_0x35ea5d(0xed)])(_0x48bc3f,_0x4e2fc4)??_0x19ca6f[_0x35ea5d(0x1e4)]:_0x19ca6f[_0x35ea5d(0x1e4)],_0x5e5cd5=_0x4e2fc4?(0x0,_0x72b203[_0x35ea5d(0x3c9)])(_0x48bc3f,_0x4e2fc4)??_0x19ca6f['axisAlignSheetTransform']:_0x19ca6f[_0x35ea5d(0x3af)];_0x11f8d7['executeCommand'](_0x72b203[_0x35ea5d(0x407)]['id'],{'unitId':_0x4c5aa4,'drawings':[{..._0x19ca6f,'transform':_0x48bc3f,'sheetTransform':_0xf3ad2b,'axisAlignSheetTransform':_0x5e5cd5}]});},'allowHostSizeShrink':({unitId:_0x46f915,subUnitId:_0x2b928b,shapeId:_0x29e1fb})=>(0x0,_0x2a9d6c[_0x1a67d4(0x3b5)])(_0x509640['getShapeDataById'](_0x46f915,_0x2b928b,_0x29e1fb)),'deferHostSizeUpdateDuringEditing':()=>!0x0}),[_0x11f8d7,_0x56008a,_0x3f146f,_0x509640,_0x22c5fc]),_0x1e3ae3=(0x0,_0x6ed98f[_0x1a67d4(0x420)])(()=>({'viewportKeys':{'main':_0x1c3608[_0x1a67d4(0x3e2)]['VIEW_MAIN'],'leftTop':_0x1c3608[_0x1a67d4(0x3e2)]['VIEW_MAIN_LEFT_TOP'],'top':_0x1c3608[_0x1a67d4(0x3e2)]['VIEW_MAIN_TOP'],'left':_0x1c3608[_0x1a67d4(0x3e2)][_0x1a67d4(0x2db)]},'getSkeleton':(_0x38f313,_0x2b5a26)=>{const _0x543ed3=_0x1a67d4;var _0x2f6a3b;return((_0x2f6a3b=_0x38f313[_0x543ed3(0x438)](_0x261221[_0x543ed3(0x3fb)])['getSkeletonParam'](_0x2b5a26[_0x543ed3(0x135)]))==null?void 0x0:_0x2f6a3b[_0x543ed3(0x404)])??null;}}),[]);return(0x0,_0x4170e1[_0x1a67d4(0x157)])(_0x2a9d6c[_0x1a67d4(0x287)],{'adapter':_0x234a90,'editingService':_0x59c6b0,'editorUnitId':_0x919f0e,'positionOptions':_0x1e3ae3});}),_0x581450=class extends _0x383631['Disposable']{constructor(_0x34bd98,_0x641ae){const _0x5b258e=_0x5671d9;super(),this[_0x5b258e(0x429)]=_0x34bd98,this['_iconManager']=_0x641ae,this['_registerIcons'](),this[_0x5b258e(0x254)]();}[_0x5671d9(0x18c)](){const _0x11bc15=_0x5671d9;this[_0x11bc15(0x34b)][_0x11bc15(0xf0)]('ObjectLayersIcon')||this[_0x11bc15(0x252)](this[_0x11bc15(0x34b)][_0x11bc15(0x4c3)]({'ObjectLayersIcon':_0x4c5ad8})),this[_0x11bc15(0x34b)][_0x11bc15(0xf0)](_0x11bc15(0x34a))||this[_0x11bc15(0x252)](this[_0x11bc15(0x34b)]['register']({'FlipHorizontalIcon':_0x534026})),this['_iconManager'][_0x11bc15(0xf0)](_0x11bc15(0x346))||this[_0x11bc15(0x252)](this[_0x11bc15(0x34b)][_0x11bc15(0x4c3)]({'FlipVerticalIcon':_0x5e4242})),this[_0x11bc15(0x34b)][_0x11bc15(0xf0)](_0x11bc15(0x402))||this['disposeWithMe'](this[_0x11bc15(0x34b)][_0x11bc15(0x4c3)]({'BottomIcon':_0x3ff1ac})),this[_0x11bc15(0x34b)][_0x11bc15(0xf0)](_0x11bc15(0x195))||this['disposeWithMe'](this[_0x11bc15(0x34b)][_0x11bc15(0x4c3)]({'MoveDownIcon':_0x119d55})),this[_0x11bc15(0x34b)][_0x11bc15(0xf0)](_0x11bc15(0x168))||this[_0x11bc15(0x252)](this[_0x11bc15(0x34b)][_0x11bc15(0x4c3)]({'MoveUpIcon':_0x33a333})),this[_0x11bc15(0x34b)][_0x11bc15(0xf0)](_0x11bc15(0x33b))||this[_0x11bc15(0x252)](this[_0x11bc15(0x34b)]['register']({'ShapeFormatSettingIcon':_0xc8fb54})),this[_0x11bc15(0x34b)]['has']('TopmostIcon')||this[_0x11bc15(0x252)](this['_iconManager'][_0x11bc15(0x4c3)]({'TopmostIcon':_0x5c98e7}));}[_0x5671d9(0x254)](){const _0x48cdec=_0x5671d9;this[_0x48cdec(0x252)](this[_0x48cdec(0x429)]['register'](_0x56e257,_0x4aa9e6)),this[_0x48cdec(0x252)](this['_componentManager'][_0x48cdec(0x4c3)](_0x2f15dd,_0x55f3d8)),this[_0x48cdec(0x252)](this[_0x48cdec(0x429)]['register'](_0x3d6541,_0x177b13)),this[_0x48cdec(0x252)](this[_0x48cdec(0x429)][_0x48cdec(0x4c3)](_0x5812e5,_0x266e1a)),this[_0x48cdec(0x429)][_0x48cdec(0x4be)](_0x129810['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'])||this[_0x48cdec(0x252)](this['_componentManager'][_0x48cdec(0x4c3)](_0x129810[_0x48cdec(0x387)],_0x18ae1b)),this[_0x48cdec(0x252)](this[_0x48cdec(0x429)][_0x48cdec(0x4c3)](_0x2a2c50,_0x508c98)),this[_0x48cdec(0x252)](this[_0x48cdec(0x429)]['register'](_0xc4a475,_0x139dd6)),this['disposeWithMe'](this[_0x48cdec(0x429)][_0x48cdec(0x4c3)](_0x566032,_0x145172)),this[_0x48cdec(0x252)](this[_0x48cdec(0x429)][_0x48cdec(0x4c3)](_0x2ab86a,_0x5c4eaa)),this[_0x48cdec(0x252)](this['_componentManager'][_0x48cdec(0x4c3)](_0x317af2,_0x2f8371)),this[_0x48cdec(0x252)](this[_0x48cdec(0x429)]['register'](_0x472fad,_0x2a9d6c[_0x48cdec(0x1c2)])),this[_0x48cdec(0x252)](this[_0x48cdec(0x429)][_0x48cdec(0x4c3)](_0x48cdec(0x1ec),_0x2c4a36));}};_0x581450=_0x25a2aa([_0x4177c4(0x0,(0x0,_0x383631['Inject'])(_0x2f96d6[_0x5671d9(0x426)])),_0x4177c4(0x1,(0x0,_0x383631['Inject'])(_0x2f96d6[_0x5671d9(0x421)]))],_0x581450);let _0x9e8d4d=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x39c6d7,_0x326f0a,_0x2903ce,_0x5deddf,_0x259307,_0x5bd6fe,_0x26ff3b,_0x2b5706,_0x38fa35){const _0x1d06ad=_0x5671d9;super();let _0x7b2d2a=_0x423f99=>{const _0x432472=_0x43eb;var _0x4eb757,_0x3f2f40;return(((_0x4eb757=_0x2b5706['getPermissionPoint'](new _0x111c96[(_0x432472(0x121))](_0x423f99['unitId'])['id']))==null?void 0x0:_0x4eb757[_0x432472(0x320)])??!0x0)&&(((_0x3f2f40=_0x2b5706[_0x432472(0x20b)](new _0x111c96['WorksheetEditPermission'](_0x423f99['unitId'],_0x423f99['subUnitId'])['id']))==null?void 0x0:_0x3f2f40['value'])??!0x0);},_0x386bbc=_0x2a9765=>_0x2a9765[_0x1d06ad(0x37d)]&&_0x7b2d2a(_0x2a9765)?_0x2903ce[_0x1d06ad(0x21f)](_0x2a9765[_0x1d06ad(0x173)],_0x2a9765[_0x1d06ad(0x135)],_0x2a9765['shapeId'])??null:null,_0x15ae0f=()=>{const _0x3d2497=_0x1d06ad;let _0x56119f=_0x259307[_0x3d2497(0x486)](),_0x9a3451=_0x56119f['length']===0x1?_0x56119f[0x0]:null;return(_0x9a3451==null?void 0x0:_0x9a3451[_0x3d2497(0x3d6)])===_0x383631[_0x3d2497(0x286)][_0x3d2497(0x456)]&&_0x9a3451[_0x3d2497(0x173)]===_0x39c6d7[_0x3d2497(0x173)]?{'unitId':_0x9a3451[_0x3d2497(0x173)],'subUnitId':_0x9a3451['subUnitId'],'shapeId':_0x9a3451[_0x3d2497(0x493)]}:null;};this['disposeWithMe']((0x0,_0x2a9d6c[_0x1d06ad(0x2bc)])(_0x39c6d7,_0x326f0a,{'changes$':(0x0,_0x4250df[_0x1d06ad(0xce)])(_0x259307[_0x1d06ad(0x262)],_0x5deddf[_0x1d06ad(0x3d8)],_0x2b5706[_0x1d06ad(0x364)]),'isActive':()=>{const _0x999eb9=_0x1d06ad;var _0x1b56bf;return((_0x1b56bf=_0x5bd6fe[_0x999eb9(0x3ee)]())==null?void 0x0:_0x1b56bf[_0x999eb9(0x358)]())===_0x39c6d7[_0x999eb9(0x173)]&&!_0x26ff3b[_0x999eb9(0x1cb)](_0x383631['FOCUSING_SHAPE_TEXT_EDITOR'])&&_0x259307['getFocusDrawings']()['some'](_0x597d68=>_0x597d68[_0x999eb9(0x173)]===_0x39c6d7[_0x999eb9(0x173)]);},'getSelectedTarget':_0x15ae0f,'getSource':()=>{let _0x462775=_0x15ae0f();return _0x462775?_0x386bbc(_0x462775):null;},'getTarget':_0x3b17cd=>{const _0x26f0df=_0x1d06ad;let _0x459eae=_0x39c6d7[_0x26f0df(0x333)]['pick'](new _0x1c3608[(_0x26f0df(0x266))](_0x3b17cd['offsetX'],_0x3b17cd[_0x26f0df(0x41c)]));if(!(_0x459eae instanceof _0x23237e))return null;let _0x4e879e={'unitId':_0x39c6d7[_0x26f0df(0x173)],'subUnitId':_0x459eae['subUnitId'],'shapeId':_0x459eae[_0x26f0df(0x37d)]};return _0x7b2d2a(_0x4e879e)?_0x4e879e:null;},'getShape':_0x386bbc,'update':(_0x518f3c,_0x1e3666,_0x4f99b3)=>_0x38fa35[_0x1d06ad(0x1f9)](_0x57882a['id'],{..._0x518f3c,'shapeData':_0x4f99b3,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x1e3666}})}));}};_0x9e8d4d=_0x25a2aa([_0x4177c4(0x1,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x2f96d6[_0x5671d9(0x351)])),_0x4177c4(0x2,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x276c17[_0x5671d9(0x188)])),_0x4177c4(0x3,(0x0,_0x383631[_0x5671d9(0x18f)])(_0xc020ee)),_0x4177c4(0x4,_0x279593['IDrawingManagerService']),_0x4177c4(0x5,_0x383631[_0x5671d9(0x1f7)]),_0x4177c4(0x6,_0x383631[_0x5671d9(0x3e9)]),_0x4177c4(0x7,_0x383631[_0x5671d9(0x495)]),_0x4177c4(0x8,_0x383631[_0x5671d9(0x24e)])],_0x9e8d4d);let _0x505fb5=_0x5671d9(0xf6),_0x42a752=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x360bd8,_0x35a366,_0x28c488,_0x1e43cb,_0x3aff4f,_0x18e4b4){const _0x61130a=_0x5671d9;super(),this[_0x61130a(0x220)]=_0x360bd8,this[_0x61130a(0x116)]=_0x35a366,this[_0x61130a(0x306)]=_0x28c488,this[_0x61130a(0x434)]=_0x1e43cb,this[_0x61130a(0x42d)]=_0x3aff4f,this['_shapeFloatingToolbarService']=_0x18e4b4,_0x20dccc(this,_0x61130a(0x447),!0x1),this[_0x61130a(0x220)][_0x61130a(0x461)](_0x5c037d),this[_0x61130a(0x252)]((0x0,_0x383631[_0x61130a(0x292)])(this['_drawingManagerService'][_0x61130a(0x262)][_0x61130a(0x317)](()=>this[_0x61130a(0x23f)]()))),this[_0x61130a(0x23f)]();}[_0x5671d9(0x39f)](){const _0x4dbb58=_0x5671d9;this['_shapeFloatingToolbarService'][_0x4dbb58(0x25f)](!0x1,_0x505fb5),this['_hide'](),super['dispose']();}[_0x5671d9(0x23f)](){const _0x387e24=_0x5671d9;var _0x3dc148;let _0x58b653=this['_drawingManagerService'][_0x387e24(0x486)](),_0x45e149=_0x58b653[_0x387e24(0x175)]===0x1?_0x58b653[0x0]:void 0x0;if((_0x45e149==null?void 0x0:_0x45e149[_0x387e24(0x3d6)])!==_0x383631['DrawingTypeEnum'][_0x387e24(0x456)]||this['_univerInstanceService'][_0x387e24(0x129)](_0x45e149[_0x387e24(0x173)])!==_0x383631[_0x387e24(0x363)][_0x387e24(0x3e4)]){this[_0x387e24(0x30e)][_0x387e24(0x25f)](!0x1,_0x505fb5),this['_hide']();return;}let _0xa4f7bd=(_0x3dc148=this[_0x387e24(0x42d)][_0x387e24(0x1fa)](_0x45e149['unitId']))==null?void 0x0:_0x3dc148['engine'][_0x387e24(0x218)](),_0x1307bf=(0x0,_0x2a9d6c[_0x387e24(0x198)])(_0xa4f7bd)===_0x387e24(0x4cf);if(this[_0x387e24(0x30e)][_0x387e24(0x25f)](_0x1307bf,_0x505fb5),_0x1307bf){this['_hide']();return;}this[_0x387e24(0x447)]||(this[_0x387e24(0x447)]=!0x0,this[_0x387e24(0x116)][_0x387e24(0x271)](_0x8c3839,{'activate':!0x0}));}['_hide'](){const _0x502ae6=_0x5671d9;this[_0x502ae6(0x447)]&&(this[_0x502ae6(0x447)]=!0x1,this['_ribbonService']['hideContextualTab'](_0x8c3839),this[_0x502ae6(0x116)][_0x502ae6(0x399)]([]));}};_0x42a752=_0x25a2aa([_0x4177c4(0x0,_0x2f96d6[_0x5671d9(0x3ad)]),_0x4177c4(0x1,_0x2f96d6['IRibbonService']),_0x4177c4(0x2,_0x279593[_0x5671d9(0xf1)]),_0x4177c4(0x3,_0x383631['IUniverInstanceService']),_0x4177c4(0x4,_0x1c3608[_0x5671d9(0x1fd)]),_0x4177c4(0x5,(0x0,_0x383631['Inject'])(_0x2a9d6c[_0x5671d9(0x259)]))],_0x42a752);let _0x56ef85=class extends _0x2a9d6c[_0x5671d9(0x1ba)]{constructor(_0x25ccc7,_0x244fa1,_0x52c9f3,_0x5b378f,_0x2b846c,_0x282269,_0xce6999,_0x5a5683,_0x446b03,_0x4763b1){super(_0x25ccc7,_0x244fa1,_0x52c9f3,_0x5b378f,_0x2b846c,_0x282269,_0xce6999,_0x5a5683,_0x446b03,_0x4763b1,{'componentKey':_0x472fad,'editorUnitId':_0x919f0e});}};_0x56ef85=_0x25a2aa([_0x4177c4(0x1,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x1a7a3e[_0x5671d9(0x2a7)])),_0x4177c4(0x2,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x12171b[_0x5671d9(0x39d)])),_0x4177c4(0x3,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x12171b[_0x5671d9(0x15e)])),_0x4177c4(0x4,_0x383631[_0x5671d9(0x24e)]),_0x4177c4(0x5,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x12171b[_0x5671d9(0x476)])),_0x4177c4(0x6,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x2a9d6c[_0x5671d9(0x127)])),_0x4177c4(0x7,(0x0,_0x383631['Inject'])(_0x1a7a3e[_0x5671d9(0x4d0)])),_0x4177c4(0x8,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x12171b['DocRenderController'])),_0x4177c4(0x9,(0x0,_0x383631['Inject'])(_0xc020ee))],_0x56ef85);let _0x5e1c7f=class extends _0x2a9d6c[_0x5671d9(0x2d0)]{constructor(_0x2d0f62,_0x245770,_0x4c03ba,_0x50ecc2,_0x5b81a4){const _0x305ba9=_0x5671d9;super(_0x2d0f62,_0x245770,{'editing$':_0x4c03ba['editingParams$'],'resolve':_0x2f5d50=>{const _0x2fb63d=_0x43eb;var _0x26a2ca,_0x26b298,_0x5548c8;let _0x127484=new _0x1c3608[(_0x2fb63d(0x266))](_0x2f5d50[_0x2fb63d(0x388)],_0x2f5d50[_0x2fb63d(0x41c)]),_0x4c2532=((_0x26a2ca=_0x2d0f62[_0x2fb63d(0x333)]['getActiveViewportByCoord'](_0x127484))==null?void 0x0:_0x26a2ca[_0x2fb63d(0x184)](_0x127484))??_0x127484,_0x4c81bd=(0x0,_0x2a9d6c[_0x2fb63d(0x28f)])(_0x2d0f62[_0x2fb63d(0x333)][_0x2fb63d(0x3ed)](_0x127484)??null,_0x4c2532);if(!(_0x4c81bd instanceof _0x23237e))return null;let _0x478971=_0x4c81bd[_0x2fb63d(0x469)](_0x4c2532);if(!_0x478971)return null;let _0x199ff9=_0x4c81bd,_0x195d19={'componentKey':_0x2a9d6c[_0x2fb63d(0x4a3)][_0x2fb63d(0x3f6)],'direction':'top-center','offset':[0x0,0xa],'onClickOutside':()=>_0x245770[_0x2fb63d(0x3f9)]()};return{'object':_0x4c81bd,'info':{..._0x478971,'unitId':_0x4c81bd['unitId'],'subUnitId':_0x4c81bd[_0x2fb63d(0x135)],'shapeKey':_0x4c81bd['oKey'],'readonly':!0x0,'copyable':((_0x26b298=_0x5b81a4[_0x2fb63d(0x20b)](new _0x111c96[(_0x2fb63d(0x296))](_0x4c81bd['unitId'])['id']))==null?void 0x0:_0x26b298[_0x2fb63d(0x320)])!==!0x1&&((_0x5548c8=_0x5b81a4[_0x2fb63d(0x20b)](new _0x111c96[(_0x2fb63d(0x308))](_0x4c81bd['unitId'],_0x4c81bd[_0x2fb63d(0x135)])['id']))==null?void 0x0:_0x5548c8[_0x2fb63d(0x320)])!==!0x1},'attachPopup':()=>_0x50ecc2['attachPopupToObject'](_0x199ff9,_0x195d19)};}}),this[_0x305ba9(0x252)](_0x2d0f62[_0x305ba9(0x41b)][_0x305ba9(0x410)][_0x305ba9(0x317)](()=>this[_0x305ba9(0x2e9)]()));}};_0x5e1c7f=_0x25a2aa([_0x4177c4(0x1,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x2a9d6c[_0x5671d9(0x127)])),_0x4177c4(0x2,(0x0,_0x383631[_0x5671d9(0x18f)])(_0xc020ee)),_0x4177c4(0x3,(0x0,_0x383631['Inject'])(_0x261221[_0x5671d9(0x278)])),_0x4177c4(0x4,_0x383631[_0x5671d9(0x495)])],_0x5e1c7f);let _0x46561a=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x242815,_0x441818,_0x36bbb8,_0x1a0c81,_0x11f8c7,_0x32dc44,_0x19df40,_0x29ec6e,_0x364ac0,_0x1d0506,_0x58bae1){const _0x4648de=_0x5671d9;super(),this[_0x4648de(0x434)]=_0x242815,this[_0x4648de(0x45f)]=_0x441818,this['_menuManagerService']=_0x36bbb8,this[_0x4648de(0xd0)]=_0x1a0c81,this[_0x4648de(0x114)]=_0x11f8c7,this['_commandService']=_0x32dc44,this[_0x4648de(0x306)]=_0x19df40,this[_0x4648de(0x26a)]=_0x29ec6e,this['_contextService']=_0x364ac0,this[_0x4648de(0x42d)]=_0x1d0506,this[_0x4648de(0x375)]=_0x58bae1,_0x20dccc(this,'_sidebarDisposable',null),_0x20dccc(this,_0x4648de(0x16a),null),_0x20dccc(this,_0x4648de(0x12e),!0x1),_0x20dccc(this,'_shapeEditPanelVersion',0x0),_0x20dccc(this,_0x4648de(0x2a8),null),_0x20dccc(this,_0x4648de(0x3ae),[]),this[_0x4648de(0xe1)](),this[_0x4648de(0x252)](this[_0x4648de(0x434)]['getCurrentTypeOfUnit$'](_0x383631[_0x4648de(0x363)]['UNIVER_SHEET'])['subscribe'](_0x5e9aef=>{const _0x3f4a2f=_0x4648de;if(!_0x5e9aef){var _0x3ca205;(_0x3ca205=this[_0x3f4a2f(0x39e)])==null||_0x3ca205['dispose']();}})),this[_0x4648de(0x2df)](),this[_0x4648de(0x380)](),this['disposeWithMe'](this[_0x4648de(0x375)][_0x4648de(0x3d8)][_0x4648de(0x317)](_0x1777a6=>{const _0x3f3e91=_0x4648de;_0x1777a6&&this[_0x3f3e91(0x1ab)]();}));}[_0x5671d9(0xe1)](){const _0x4bf4f4=_0x5671d9;this['_menuManagerService'][_0x4bf4f4(0x461)](_0x3c6f17);}[_0x5671d9(0x380)](){const _0x2ed499=_0x5671d9;this[_0x2ed499(0x2a8)]||=this['disposeWithMe']((0x0,_0x2a9d6c[_0x2ed499(0x297)])(this[_0x2ed499(0x42d)],_0x383631[_0x2ed499(0x363)]['UNIVER_SHEET'],_0x101833=>this[_0x2ed499(0xf3)](_0x101833)));}['_getShapeInfo'](_0x3d6d79,_0x35ef3f,_0x20577d){const _0x569439=_0x5671d9;let _0x2f17e5=this[_0x569439(0xd0)][_0x569439(0x4d1)](_0x3d6d79,_0x35ef3f,_0x20577d),_0x5c9b41=this[_0x569439(0xd0)][_0x569439(0x21f)](_0x3d6d79,_0x35ef3f,_0x20577d);return _0x2f17e5!==void 0x0&&_0x5c9b41!==void 0x0?{'shapeData':_0x5c9b41,'shapeId':_0x20577d,'shapeType':_0x2f17e5,'unitId':_0x3d6d79,'subUnitId':_0x35ef3f,'version':this[_0x569439(0xe9)],'disableShapeOption':!0x1}:null;}['_clearPopups'](){const _0x34bc24=_0x5671d9;this[_0x34bc24(0x3ae)][_0x34bc24(0x3a7)](_0x55b675=>_0x55b675[_0x34bc24(0x39f)]()),this[_0x34bc24(0x3ae)]['length']=0x0;}[_0x5671d9(0xf3)](_0x5c3712){const _0x4597f4=_0x5671d9;let _0x4060e9=new _0x383631['DisposableCollection']();return _0x4060e9[_0x4597f4(0x338)](_0x5c3712['createControl$'][_0x4597f4(0x317)](()=>{const _0x24222f=_0x4597f4;let _0x59a035=_0x5c3712['getSelectedObjectMap']();if(this[_0x24222f(0x1ab)](),this[_0x24222f(0x12e)]||_0x59a035[_0x24222f(0x23c)]>0x1)return;let _0x5b932b=_0x59a035[_0x24222f(0x206)]()[_0x24222f(0x289)]()[_0x24222f(0x320)];if(!_0x5b932b)return;let _0x18181a=this[_0x24222f(0x306)][_0x24222f(0x1ae)](_0x5b932b[_0x24222f(0x1ed)]);if(!_0x18181a||_0x18181a[_0x24222f(0x3d6)]!==_0x383631[_0x24222f(0x286)][_0x24222f(0x456)])return;let {unitId:_0x28f457,subUnitId:_0x1b3e8a,drawingId:_0x5d3850,drawingType:_0x585eef}=_0x18181a,_0x463958=this[_0x24222f(0x1ee)](_0x28f457,_0x1b3e8a,_0x5d3850);if(!_0x463958)return;this[_0x24222f(0x432)][_0x24222f(0x494)](_0x383631[_0x24222f(0xdf)],!0x0);let _0x3af47f=this[_0x24222f(0x42d)][_0x24222f(0x1fa)](_0x28f457),_0x42a65a=((_0x3af47f==null?void 0x0:_0x3af47f['isMainScene'])===!0x1?_0x3af47f[_0x24222f(0x438)](_0x261221[_0x24222f(0x278)]):this[_0x24222f(0x26a)])[_0x24222f(0x2ed)](_0x5b932b,{'componentKey':_0x2a2c50,'direction':_0x24222f(0x3a3),'offset':[0x0,_0x2a9d6c[_0x24222f(0x38e)]],'extraProps':{'unitId':_0x28f457,'subUnitId':_0x1b3e8a,'drawingId':_0x5d3850,'drawingType':_0x585eef,'shapeType':_0x463958[_0x24222f(0x138)],'shapeData':_0x463958[_0x24222f(0x1a0)]}});this[_0x24222f(0x3ae)][_0x24222f(0x27e)](this[_0x24222f(0x252)](_0x42a65a)),this[_0x24222f(0x306)][_0x24222f(0x486)]()[_0x24222f(0x3de)](_0x20baf1=>_0x20baf1['unitId']===_0x28f457&&_0x20baf1[_0x24222f(0x135)]===_0x1b3e8a&&_0x20baf1[_0x24222f(0x493)]===_0x5d3850)||this[_0x24222f(0x306)]['focusDrawing']([{'unitId':_0x28f457,'subUnitId':_0x1b3e8a,'drawingId':_0x5d3850}]);})),_0x4060e9[_0x4597f4(0x338)](_0x5c3712[_0x4597f4(0x3ce)][_0x4597f4(0x317)](()=>{const _0x5b02e8=_0x4597f4;this[_0x5b02e8(0x1ab)](),this[_0x5b02e8(0x432)][_0x5b02e8(0x494)](_0x383631[_0x5b02e8(0xdf)],!0x1),this['_drawingManagerService'][_0x5b02e8(0x29c)](null);})),_0x4060e9[_0x4597f4(0x338)](_0x5c3712[_0x4597f4(0x1f8)][_0x4597f4(0x317)](()=>{this['_clearPopups']();})),_0x4060e9[_0x4597f4(0x338)](_0x5c3712[_0x4597f4(0x443)][_0x4597f4(0x317)](()=>{const _0x290874=_0x4597f4;this[_0x290874(0x1ab)]();})),(0x0,_0x383631[_0x4597f4(0x292)])(()=>{const _0x150870=_0x4597f4;_0x4060e9[_0x150870(0x39f)](),this[_0x150870(0x1ab)]();});}[_0x5671d9(0x2df)](){const _0x4dd1d6=_0x5671d9;this[_0x4dd1d6(0x252)](this[_0x4dd1d6(0x39a)][_0x4dd1d6(0x15d)](_0x4e7100=>{const _0x4407c7=_0x4dd1d6;if(_0x4e7100['id']===_0x57e247['id']){let {unitId:_0xb85ecc,subUnitId:_0x5dd1af,drawingId:_0x8a57b2}=_0x4e7100['params'];this[_0x4407c7(0xe9)]+=0x1,this['_activeShapeInfo']=this[_0x4407c7(0x1ee)](_0xb85ecc,_0x5dd1af,_0x8a57b2),this[_0x4407c7(0x1ab)](),this[_0x4407c7(0x177)]();}if(_0x4e7100['id']===_0x24f5aa['id']&&(this[_0x4407c7(0x16a)]=null,this[_0x4407c7(0xd7)]()),_0x4e7100['id']===_0x276c17[_0x4407c7(0x250)]['id']){let {unitId:_0x208c36,subUnitId:_0x8992bc,shapeId:_0x17152d}=_0x4e7100[_0x4407c7(0x4a7)];if(this[_0x4407c7(0x16a)]&&this[_0x4407c7(0x16a)][_0x4407c7(0x37d)]===_0x17152d){let _0x4b5d9a=this[_0x4407c7(0x1ee)](_0x208c36,_0x8992bc,_0x17152d);_0x4b5d9a&&(this[_0x4407c7(0xe9)]+=0x1,_0x4b5d9a[_0x4407c7(0x3e6)]=this[_0x4407c7(0xe9)],this[_0x4407c7(0x16a)]=_0x4b5d9a,this[_0x4407c7(0x12e)]&&this[_0x4407c7(0x177)]());}}})),this['disposeWithMe'](this[_0x4dd1d6(0x306)]['focus$'][_0x4dd1d6(0x317)](_0x3f376f=>{const _0x143aa7=_0x4dd1d6;if(this[_0x143aa7(0x12e)]===!0x1)return;if(_0x3f376f[_0x143aa7(0x175)]===0x0){this['_activeShapeInfo']=null,this[_0x143aa7(0xd7)]();return;}if(_0x3f376f['length']===0x1&&_0x3f376f[0x0][_0x143aa7(0x3d6)]===_0x383631[_0x143aa7(0x286)][_0x143aa7(0x456)]&&(this[_0x143aa7(0xe9)]+=0x1,this[_0x143aa7(0x16a)]=this[_0x143aa7(0x1ee)](_0x3f376f[0x0][_0x143aa7(0x173)],_0x3f376f[0x0][_0x143aa7(0x135)],_0x3f376f[0x0][_0x143aa7(0x493)]),this[_0x143aa7(0x16a)])){this[_0x143aa7(0x177)]();return;}let _0x39cce8=_0x3f376f[_0x143aa7(0x265)](_0x3732f0=>_0x3732f0['drawingType']===_0x383631[_0x143aa7(0x286)][_0x143aa7(0x456)]);if(_0x3f376f[_0x143aa7(0x175)]>0x1&&_0x39cce8[_0x143aa7(0x175)]===_0x3f376f[_0x143aa7(0x175)]){if(this['_shapeEditPanelVersion']+=0x1,this[_0x143aa7(0x16a)]=this[_0x143aa7(0x1ee)](_0x3f376f[0x0][_0x143aa7(0x173)],_0x3f376f[0x0]['subUnitId'],_0x3f376f[0x0]['drawingId']),this[_0x143aa7(0x16a)]){this[_0x143aa7(0x177)]();return;}}else{if(this[_0x143aa7(0xe9)]+=0x1,this[_0x143aa7(0x16a)]=this['_getShapeInfo'](_0x3f376f[0x0][_0x143aa7(0x173)],_0x3f376f[0x0]['subUnitId'],_0x3f376f[0x0]['drawingId']),this[_0x143aa7(0x16a)]){this[_0x143aa7(0x16a)]['disableShapeOption']=!0x0,this[_0x143aa7(0x177)]();return;}}this['_closeShapeEditPanel']();}));}[_0x5671d9(0x177)](){const _0x2b198d=_0x5671d9;this[_0x2b198d(0x16a)]&&(this[_0x2b198d(0x39e)]=this[_0x2b198d(0x45f)][_0x2b198d(0x24c)]({'id':_0x56e257,'header':{'title':this[_0x2b198d(0x114)]['t'](_0x2b198d(0x17b))},'width':0x184,'children':{'label':_0x56e257,...this['_activeShapeInfo']},'onClose':()=>{const _0x24df48=_0x2b198d;this[_0x24df48(0x306)]['focusDrawing'](null),this[_0x24df48(0x432)][_0x24df48(0x494)](_0x383631[_0x24df48(0xdf)],!0x1),this['_sidebarDisposable']=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}['_closeShapeEditPanel'](){const _0x25dccf=_0x5671d9;this[_0x25dccf(0x12e)]=!0x1,this['_sidebarService'][_0x25dccf(0x274)](_0x56e257),this[_0x25dccf(0x39e)]=null,this[_0x25dccf(0x432)][_0x25dccf(0x494)](_0x383631['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x25dccf(0x306)][_0x25dccf(0x29c)](null);}};_0x46561a=_0x25a2aa([_0x4177c4(0x0,_0x383631[_0x5671d9(0x1f7)]),_0x4177c4(0x1,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x2f96d6[_0x5671d9(0x31a)])),_0x4177c4(0x2,_0x2f96d6[_0x5671d9(0x3ad)]),_0x4177c4(0x3,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x276c17[_0x5671d9(0x188)])),_0x4177c4(0x4,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x383631['LocaleService'])),_0x4177c4(0x5,_0x383631[_0x5671d9(0x24e)]),_0x4177c4(0x6,_0x279593[_0x5671d9(0xf1)]),_0x4177c4(0x7,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x261221[_0x5671d9(0x278)])),_0x4177c4(0x8,_0x383631[_0x5671d9(0x3e9)]),_0x4177c4(0x9,_0x1c3608['IRenderManagerService']),_0x4177c4(0xa,(0x0,_0x383631[_0x5671d9(0x18f)])(_0xc020ee))],_0x46561a);let _0x4d238c=class extends _0x383631['Plugin']{constructor(_0x3aa7b2=_0xda7fc9,_0x460371,_0x4509d3,_0x4812c3,_0x5ab852){const _0x2e7e9b=_0x5671d9;super(),this[_0x2e7e9b(0x46f)]=_0x3aa7b2,this[_0x2e7e9b(0x1ef)]=_0x460371,this[_0x2e7e9b(0x39a)]=_0x4509d3,this[_0x2e7e9b(0x1b1)]=_0x4812c3,this[_0x2e7e9b(0x42d)]=_0x5ab852;let {..._0x8692db}=(0x0,_0x383631[_0x2e7e9b(0xce)])({},_0xda7fc9,this[_0x2e7e9b(0x46f)]);this[_0x2e7e9b(0x1b1)][_0x2e7e9b(0x2d5)](_0x317c0c,_0x8692db),this[_0x2e7e9b(0x3c8)]();}[_0x5671d9(0x28d)](){const _0x355bb0=_0x5671d9;this[_0x355bb0(0x42d)][_0x355bb0(0x191)](_0x383631[_0x355bb0(0x363)][_0x355bb0(0x354)],[_0x56ef85]),(0x0,_0x383631[_0x355bb0(0xf5)])(this['_injector'],[[_0x46561a],[_0x3fcbb7],[_0x57eebe],[_0x2dbe31]]);}[_0x5671d9(0x24d)](){const _0xc58d8b=_0x5671d9;this[_0xc58d8b(0x1ef)]['get'](_0x46561a)['initShapePopupMenu']();}['onReady'](){const _0x2a025c=_0x5671d9;[[_0x53dc4d],[_0x243401],[_0x544c39]]['forEach'](_0x2a6760=>this['_injector'][_0x2a025c(0x338)](_0x2a6760)),(0x0,_0x383631[_0x2a025c(0xf5)])(this['_injector'],[[_0x544c39],[_0x243401]]),this['_renderManagerService'][_0x2a025c(0x191)](_0x383631[_0x2a025c(0x363)][_0x2a025c(0x3e4)],[_0x53dc4d]),this[_0x2a025c(0x42d)]['registerRenderModule'](_0x383631[_0x2a025c(0x363)][_0x2a025c(0x3e4)],[_0x2d7d8a]),this[_0x2a025c(0x42d)][_0x2a025c(0x191)](_0x383631['UniverInstanceType'][_0x2a025c(0x3e4)],[_0x2d0bb9]),this['_renderManagerService'][_0x2a025c(0x191)](_0x383631['UniverInstanceType'][_0x2a025c(0x3e4)],[_0x1b14da]),this[_0x2a025c(0x252)](this[_0x2a025c(0x42d)][_0x2a025c(0x191)](_0x383631[_0x2a025c(0x363)][_0x2a025c(0x3e4)],[_0x5e1c7f])),this[_0x2a025c(0x252)](this[_0x2a025c(0x42d)][_0x2a025c(0x191)](_0x383631[_0x2a025c(0x363)][_0x2a025c(0x3e4)],[_0x9e8d4d]));}[_0x5671d9(0x35f)](){const _0x548729=_0x5671d9;this[_0x548729(0x1ef)][_0x548729(0x338)]([_0x581450]),this[_0x548729(0x1ef)][_0x548729(0x4be)](_0x581450);let _0x4e3e83=this['_injector'];[[_0x46561a],[_0x3fcbb7],[_0x57eebe],[_0x2dbe31],[_0xa77d06],[_0xc020ee],[_0x5e5ab0],[_0x5343de],[_0x3c6deb],[_0x42a752]][_0x548729(0x3a7)](_0x47ae9a=>_0x4e3e83[_0x548729(0x338)](_0x47ae9a)),(0x0,_0x383631['touchDependencies'])(this[_0x548729(0x1ef)],[[_0x46561a],[_0x3fcbb7],[_0x57eebe],[_0xa77d06],[_0xc020ee],[_0x5e5ab0],[_0x5343de],[_0x3c6deb],[_0x42a752]]);}[_0x5671d9(0x3c8)](){const _0x37e641=_0x5671d9;[_0x45134c,_0x57882a,_0x24f5aa,_0x57e247,_0x5ad9f8,_0x39b8fc,_0x748f1e,_0x3a751e][_0x37e641(0x3a7)](_0x39014a=>this[_0x37e641(0x252)](this[_0x37e641(0x39a)][_0x37e641(0x37f)](_0x39014a)));}};_0x20dccc(_0x4d238c,'type',_0x383631[_0x5671d9(0x363)][_0x5671d9(0x3e4)]),_0x20dccc(_0x4d238c,_0x5671d9(0xcd),_0x5671d9(0x261)),_0x20dccc(_0x4d238c,'packageName',_0x42e456),_0x20dccc(_0x4d238c,_0x5671d9(0x3e6),_0x1bfefd),_0x4d238c=_0x25a2aa([(0x0,_0x383631[_0x5671d9(0x499)])(_0x42a3f1[_0x5671d9(0x2b8)],_0x1a7a3e[_0x5671d9(0x3a4)],_0x279593[_0x5671d9(0x3a6)],_0x129810[_0x5671d9(0x340)],_0x1c3608[_0x5671d9(0x230)],_0x111c96[_0x5671d9(0x237)],_0x12171b['UniverDocsUIPlugin'],_0x72b203[_0x5671d9(0x2a9)],_0x54f73f[_0x5671d9(0x3e3)],_0x44e77f['UniverSheetsDrawingUIPlugin'],_0x276c17['UniverSheetsShapePlugin'],_0x261221[_0x5671d9(0x2dd)],_0x2a9d6c[_0x5671d9(0x1c3)]),_0x4177c4(0x1,(0x0,_0x383631['Inject'])(_0x383631[_0x5671d9(0x4c7)])),_0x4177c4(0x2,_0x383631['ICommandService']),_0x4177c4(0x3,_0x383631[_0x5671d9(0x1ad)]),_0x4177c4(0x4,_0x1c3608[_0x5671d9(0x1fd)])],_0x4d238c),_0x507edb['SheetsShapeUIContextualRibbonSchema']=_0x5c037d,_0x507edb['SheetsShapeUIMenuSchema']=_0x3c6f17,Object[_0x5671d9(0x406)](_0x507edb,_0x5671d9(0x26e),{'enumerable':!0x0,'get':function(){return _0x2ce7ec;}}),Object[_0x5671d9(0x406)](_0x507edb,_0x5671d9(0x31d),{'enumerable':!0x0,'get':function(){return _0x4d238c;}});}));function _0x43eb(_0x2e9b4f,_0x445b2d){_0x2e9b4f=_0x2e9b4f-0xc2;const _0x5c87d0=_0x5c87();let _0x43ebbc=_0x5c87d0[_0x2e9b4f];return _0x43ebbc;}function _0x5c87(){const _0x5528f6=['fillType','assign','onSavingEditorData$','setShapeData','setFillImage','entries','sheets-shape-ui.editText','setCursor','REMOVE','_init','drawing-ui.objectListPanel.typeNames.','error','_handleConnectedEndpointPointerUp','popup','onReady','ObjectListPanelBase','_initEditingParams','sheets-shape-ui.insertShape','sheets-shape-ui.objectListPanel.open','_createShapeAdjustControls','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','_drawingManagerService','M2.2\x208H3.8','WorksheetCopyPermission','1em','sheetViewStartColumn','actions','drawing-ui.objectListPanel.empty','shape-text-','_shapeFloatingToolbarService','clipTop','refreshAdjustControls','sheet.operation.apply-shape-quick-style','iterator','isReleased','routeConnectorLineShape','transformByState','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','subscribe','isRichText','LEFT','ISidebarService','ang','interceptor','UniverSheetsShapeUIPlugin','getScene','ShapeRenderModeEnum','value','0\x200\x2016\x2016','getCurrentUnitInfo','setPrstGeomAdjValues','_attachAdjustEvent','_initPermission','MobileObjectListPanel','getObjectIncludeInGroup','getMenuHiddenObservable','getBatchAddOp','deriveStateFromActiveSheet$','point','left','set','vertical','gradientEndColor','BehaviorSubject','non-scaling-stroke','_hyperLinkRegions','scene','_getConnectPointInfo','mask','_drawRichText','_addShapeAdjustControl','add','formulaBinding','makeDirty','ShapeFormatSettingIcon','drawing-ui.objectListPanel.locate','pipe','getPropertyValue','topmost-icon','UniverDrawingUIPlugin','sheets-shape-ui','parse','isHit','sheets-shape-ui.flipVertical','move-down-icon','FlipVerticalIcon','getShapeType','_rerouteConnectorLine','UndoRedoGroupService','FlipHorizontalIcon','_iconManager','startWith','#1a73e8','redo','function','_updateAdjustControlPositions','FormatPainterSessionService','getState','originalStrokeWidth','UNIVER_DOC','resolveShapeTextDocumentPageHeight','fillImageSourceType','clip','getUnitId','startConnectionDetection','Disposable','isLineShape','Arrow','getMatrix','getShapeTextRect','onStarting','indexOf','OTHERS','getViewportByCell','UniverInstanceType','permissionPointUpdate$','_registerDrawingFocusChangeHandler','enableObjectsEvent','shape-editor-ui.arrange.forward','index','forward','_getImageDrawingInfo','UniverShapeEditorMobileUIPlugin','_getZoomRatio','ShapeEditPanel','UniverDesign','sheets-shape-text-','PaintIcon','drawing-ui.objectListPanel.expand','removeProperty','415372RWyiNA','rotation','_shapeTextEditingService','resolveActiveShapeQuickStylePresetId','start','drawing-ui.objectListPanel.lockAll','HorizontalAlign','@univerjs-pro/engine-shape','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','SHAPE_CHANGE_PICKER_COMPONENT','shapeId','shape-editor-ui.arrange.back','registerCommand','initShapePopupMenu','shape-adjust-point-','SheetSkeletonService','mode','ShapeTypeEnum','PictureFill','clearAdjustControls','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','offsetX','cxnPointStroke','drawing-ui.objectListPanel.filterLocked','getPropertyPriority','@univerjs/drawing-ui','MEDIA','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','getParent','createControl$','DRAWING','45cewVMi','getCurrentTypeOfUnit$','RemoveSheetsShapeMutation','sheets-shape-ui.quickStyles','BUTTON','_shapeId','shape-editor-ui.arrange.backward','setCollapsedIds','_commandService','getInverseCoord','getStartConnectInfo','DocCanvasPopManagerService','_sidebarDisposable','dispose','renderDrawingShape','trim','sheets-shape-ui.ribbon.shape-format.text-control','vertical-center','UniverDocsPlugin','UniverSheetsShapePlugin','UniverDrawingPlugin','forEach','getShapeModel','fromChangeset','horizontal','_insertingShapeKeys','_drawShapeText','IMenuManagerService','_disposePopups','axisAlignSheetTransform','ToggleSheetsShapeFlipCommand','sheet.shape.edit.panel','0\x200\x2017\x2016','strokeOpacity','fillImageSource','shouldAllowShapeTextEditorHostSizeShrink','getAdjustNames','updateDocumentDataMargin','delete','_initialize','drawing-ui.objectListPanel.sectionFloating','cos','M14\x208H14.2','@univerjs/sheets-ui','http://www.w3.org/2000/svg','_showConnectionSites','SheetDrawingAnchor','_drawingAddListener','changeEnd$','_getShapeAdjustPointListById','StraightConnector1','_editingParams$','fill','resolveShapeTextEditorWrapStrategy','_initCommands','transformToAxisAlignPosition','SetDrawingSelectedOperation','_registerFocusChangeHandler','srcRect','beforeCommandExecuted','clearControl$','getEndConnectInfo','getDrawingDataForUnit','string','worldPoints','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','getObject','_registerMoveHandler','drawingType','UniverProLicense','editingParams$','MenuItemType','map','getBatchRemoveOp','undo','RENDER_CLASS_TYPE','find','ContextMenuGroup','FOCUSING_SHAPE_TEXT_EDITOR','@univerjs/sheets-drawing-ui','SHEET_VIEWPORT_KEY','UniverShapeEditorPlugin','UNIVER_SHEET','copyType','version','syncExecuteCommand','InsertShapeCommand','IContextService','UpdateConnectorRelationCommand','@univerjs/docs-ui','_clearShapeAdjustControls','pick','getFocusedUnit','drawing-ui.objectListPanel.moveBackward','getCurrentSkeleton','None','_clearCompletionFrame','useState','UniverSheetsDrawingMobileUIPlugin','backward','componentKey','_initSheetChange','drawing-ui.objectListPanel.filterHidden','hideInfoPopup','strokeWidth','SheetSkeletonManagerService','_groupCopyPasteController','4371666Orgtxg','getBentTypeFromPoints','colorChannel1','reduce','setHighlighted','BottomIcon','viewportScrollY','skeleton','drawing-ui.objectListPanel.hideAll','defineProperty','SetSheetDrawingCommand','setPrstGeom','_insertShapes','sheet.operation.open-mobile-shape-editor','sheets-shape-ui.config','setFormulaPresentation','CUT','_adjHandlerPointerMove','_generateCutPasteMutations','activeSheet$','image-clip-adjust-point-','ArrangeTypeEnum','jsxs','panel','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','M4.2\x205.5H10.5','sin','draw','svg','onPointerMove$','unit','offsetY','_hasReset','prstGeom','createInternalEditorID','useMemo','IconManager','LocaleService','shouldClipShapeTextDocument','@univerjs-pro/shape-editor','stopPropagation','ComponentManager','addClipboardHook','min','_componentManager','useId','worldRect','IUndoRedoService','_renderManagerService','onerror','Shape','flatMap','DrawingCommonPanel','_contextService','MobileShapeEditorService','_univerInstanceService','type','10456ZwOlwx','getBatchUpdateOp','with','width','setProperty','scale','_baseLeft','wrapStrategy','drawing-ui.objectListPanel.lock','@univerjs/design','getAdjustValueByName','current','sheets-shape-ui.ribbon.shape-format.formula-control','changeStart$','stroke-width','xlink:href','SheetPrintInterceptorService','_visible','_moveConnectorWithShape','multiply','ShapeFillEnum','sheets-shape-ui.ribbon.shape-format.arrange-front','MobileDropdown','ShapeArrowTypeEnum','useLayoutEffect','drawFormulaShapeAnimationLayers','CROSSHAIR','_clearFocusedShape','stringify','_renderWithCache','M10.2\x208H11.8','element','DRAWING_SHAPE','disableObjectsEvent','URL','_transform','sheet.shape.object-list.panel','_resetState','PREDEFINED_HOOK_NAME','sheets-shape-ui.shape-format.style-ribbon-control','_targetShapeId','_sidebarService','@univerjs/engine-render','mergeMenu','startX','endConnectionDetection','_updateImageAdjValues','CommandType','getOrCreateDrawingCopyPlan','Circle','getTextStyle','resolveHyperLinkAt','useFormulaShapeToolbar','_sheetInterceptorService','animateFormulaPresentation','@univerjs/core','angle','_config','round','_copyInfo','_getSceneAndTransformerByDrawingSearch','_handleConnectorPointerUp','drawing-ui.objectListPanel.collapse','getConnectionSiteList','DocEventManagerService','presetId','_clearShapeConnectorHandlerObjects','_activeAdjustPointList','save','_urlImageService','ObjectLayersIcon','asObservable','_initCopyPaste','createShapeTextBoxShapeData','GROUP','flipY','@univerjs/sheets-drawing','sectionFloating','ShapeFormulaService','attrs','getFocusDrawings','M8\x206.2V7.8','_sheetDrawingShapeRenderController','render','sheet.image-clip.shape-picker.component','calculate','front','SheetPermissionCheckController','_unitId','viewBox','completeEditing','_shapeUpdateListener','getTransformer','drawingId','setContextValue','IPermissionService','994cygEaU','_registerDrawingMoveHandler','react','DependentOn','_baseShapeHeight','defs','2433qPgiSq','refreshTransform','clipByShape','TopmostIcon','vectorEffect','drawing.operation.set-drawing-active','INSERT','ShapeTextHyperLinkInfo','_getScrollInfo','_context','sheet.operation.open-shape-object-list-panel','params','RemoveSheetDrawingCommand','blockExecuteWithoutPermission','_baseShapeWidth','getShapeQuickStyleType','getActualSize','disconnect','canvasElement','translateWithPrecision','sqrt','clone','attachRangeWithCoord','updateLinePoints','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','UniverProSheetsShapeUi','evenodd','buildClipPath','refreshShapeFillImage','UniverProShapeEditor','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','getDrawingOrder','getAutoFitPresentations','getShapeTextData','get','_updateTransform','add$','default','_applyFormulaAutoFitSize','register','getConnectorLinePoints','prstGeomAdjValues','createElement','Injector','constructor','_createCopyInfoByRange','baseVal','M13.4\x203.3L9.8\x208L13.4\x2012.7V3.3Z','_baseHeight','getDrawingSearch','UniverDocs','isolated','DocInterceptorService','getShapeTypeById','isConnectorShape','_clearControls','path','preValue','_shapeService','_commandExecutedListener','restore','ancestorTransform','shapeModel','targetShapeId','cxnIndex','_createControls','pluginName','merge','shape-editor-ui.arrange.front','_sheetsShapeService','PRINTING_COMPONENT_COLLECT','Transform','_initSelection','getDrawingVisible','_releaseRenderCache','Image','_closeShapeEditPanel','Observable','cxnPointRadius','drawWith','sheetViewStartRow','setShouldShowAdjust','COPY_TYPE','resize','FOCUSING_COMMON_DRAWINGS','108048DaWdMR','_initMenu','clip-adj-','sheets-shape-ui.shape-format.quick-style-gallery','_loadAndSetImage','onPointerDown$','#bcbcbc','text','getShapeData','_shapeEditPanelVersion','SheetsSelectionsService','insertGroupObject','sheets-shape-ui.shape-format.formula-ribbon-control','transformToDrawingPosition','CopySheetCommand','DocumentSkeleton','has','IDrawingManagerService','rxjs','_popupMenuListener','CURSOR_TYPE','touchDependencies','sheets-shape-contextual-ribbon','localToWorld','ShapeFloatingToolbar','_findShapeAtPoint','RemoveSheetCommand','sheet.menu.shape.flip-vertical','_sheetPrintInterceptorService','isArray','1.0.3','M3.3\x202.6L8\x206.2L12.7\x202.6H3.3Z','_sheetShapeAdjustController','_activeTargetShapeId','getActiveSheet','_attachConnectorObjectEvent','ShapeLineTypeEnum','RIBBON','TOP','drawing-ui.objectListPanel.showAll','Medium','hadStyleAttribute','ShapeDefaultConfig','connector-handler-','SELECTOR','UniverProShapeEditorUi','use','_props','IImageIoService','clipHeight','reverse','canvas','_localeService','_adjHandlerPointerUp','_ribbonService','DEFAULT_PASTE','_disposed','includes','getBoundingClientRect','computeConnectorRouteLayout','_handleConnectedEndpointMove','_addShapeConnectorHandlerObject','getTextModel','_handleBasicShapeUpdateConnectorLineShape','normalizeShapeTextModel','WorkbookEditablePermission','UniverSheetsDrawing','adjName','style','bottom-icon','registerFeatureMenu','ShapeTextHyperLinkPopupService','_isConnecting','getUnitType','_focusedDrawings','getAdjustInfoByName','permissionCheckWithoutRange','startArrow','_isOpenedShapeEditPanel','classType','UPDATE','_addShapeConnectorHandlerObjects','defIds','2132124pguktX','_adjName','subUnitId','useEffect','M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','shapeType','_connectionSiteObjects','getSheetBySheetId','sheets-shape-ui.editShape','SolidFill','addObject','_highlightedSiteIndex','invert','sheet.shape.picker.component','getCurrentUnitOfType','_handleFreeEndpointPointerUp','_handleFreeEndpointMove','keys','_isHighlighted','fontFamily','getUnit','url(#$1','doc','call','adjHandleSize','RibbonInsertGroup','getDrawingByParam','startY','@univerjs/sheets','ShapeModel','color','onDblclick$','replace','COMMAND','getPresentation','some','jsx','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','animationEnabled','sheets-shape-ui.flipHorizontal','EMPTY','amd','onCommandExecuted','DocSelectionRenderService','idMap','flipX','useRef','computeConnectorResizeLayout','ShapeArrowSizeEnum','onTransformChange$','unsubscribe','_activeShapeId','visible','MoveUpIcon','FormulaShapeAnimationController','_activeShapeInfo','updateShapeFillImage','adjustValues','getEditing','_executeConnectedRouteConnectionCommand','_cxtHandlerPointerMove','UniverDrawing','applyQuickStyleToShapeData','setShapeProps','unitId','_calculateFreeEndpointAngle','length','_baseWidth','_openShapeEditPanel','getTransformerByCreate','isEditing','subscribeEvent','sheets-shape-ui.formatShape','_drawRichTextLayer','getCurrentRangeDisable$','_clipService','observe','_baseTop','featurePluginUpdateNotification','_activeShapeAdjustPointList','_drawingRenderService','transformVector2SceneCoord','hidden','isDrawingObject','_imageShapeClipController','SheetsShapeService','@univerjs/ui','UniverEngineRender','_isShouldShowDrawingShapeAdjust','_registerIcons','UUID','isHorizontal','Inject','abs','registerRenderModule','displayName','stroke','_activeShapeModel','MoveDownIcon','isFinite','_initEvents','resolveShapeContextualRibbonHostMode','activeAnObject','setSrcRect','Large','ShapeIcon','_currentConnectionTarget','useDependency','_registerGroupFeaturePasteHook','shapeData','_connectorObjects','UniverMobileUIPlugin','resourceCollector','UniverProSheetsShape','isStartConnectorPoint','sheets-shape-ui.imagePanel.crop.shape','div','relation','_generateCopyPasteMutations','beginPath','_clearPopups','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','IConfigService','getDrawingOKey','updateDocumentStyle','localeService','_configService','_initPrinting','drawing-ui.objectListPanel.description','fontSize','SheetScrollManagerService','_cxtHandlerPointerUp','connection-site-','_getConnectionSiteAngle','buildShapeTextDataUpdate','ShapeTextFloatMenuRenderControllerBase','getOwnPropertyDescriptor','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','switchMap','parseFloat','@univerjs/drawing','toStringTag','sheet.operation.open-sheet-shape-format-panel','ShapeTextFloatToolbar','UniverShapeEditorUIPlugin','tag','children','objects','updateConnectionDetection','_getDrawingRect','dataModel','applyPoint','getContextValue','sheets-shape-ui.shape-format.text-ribbon-control','lineShapeId','addImageSourceCache','onload','rect','20knarlt','_updateSrcRectByTransform','_transformCalculateSrcRect','sheet.command.menu-insert-shape','remove$','SolidLine','clearActiveDrawingObjects','M8\x202.2V3.8','resolveShapeTextEditorBehaviorShapeData','UniverCore','changeShapeType','selectable','@univerjs-pro/sheets-shape-ui','_sheetBasicShapeConnectionPointController','ContextMenuPosition','isRenderLinePointsMode','top','clip-','translate','sheetTransform','getZoomRatio','DrawingApplyType','_isStartAdjusting','getSkeleton','setOnSavingEditorData','getValue','removeLinePoints','SheetShapeTextEditorContainer','oKey','_getShapeInfo','_injector','_subUnitId','44RItRzm','lineType','_registerImageShapeClipDelegate','Documents','_formulaAnimation','ImageSourceTypeEnum','IUniverInstanceService','changing$','executeCommand','getRenderUnitById','object-layers-icon','extraProps','IRenderManagerService','drawing-ui.objectListPanel.name','description','drawing-ui.objectListPanel.descriptionPlaceholder','getDrawingShapeKeyByDrawingSearch','plainShapeTextToDocumentData','clearAdjustValue','ToggleShapeFloatingToolbarOperation','_permissionService','values','getDrawingTypeNameKey','_lastEditingShapeKey','_baseDrawingRect','_sheetPermissionCheckController','getPermissionPoint','idSuffix','UniverProEngineShape','_isDrawingShapePointDown','interceptCommand','Module','contentHeight','flip-vertical-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','getCurrentScrollState','InsertSheetsShapeMutation','_baseShapeTop','DRAWING_IMAGE','getCanvasElement','drawing-ui.objectListPanel.title','resolveFormulaShapeAutoFitSize','_sheetClipboardService','_registerFeatureMenu','_executeResizeCommand','shapeKey','getShapeDataById','_menuManagerService','drawing-ui.objectListPanel.nameInput','_cxnIndex','currentColor','sheet.operation.update-shape-type','isHighlighted','SheetInterceptorService','adjHandleFill','ShapePickerPanel','OPERATION','flip-horizontal-icon','getConnectionInfo','createShapeFormulaDocument','isRender','_completionFrame','#FFFFFF','UniverRenderEnginePlugin','sheets-shape-format-font-family-menu','adjHandleStroke','visible$','UniverDocsUIPlugin','FromArray','_shapes','UniverSheetsPlugin','resetCursor','_sheetDrawingService','_activeAdjustInfo','OBJECT_LIST_FLOATING_SECTION_ID','size','_draw','setCanUseShapeClip','_update','react/jsx-runtime','_reset','packageName','onPointerUp$','shapeText','_shapeFormulaService','_isStartConnectorPoint','getDrawingPoints','ISheetDrawingService','_getOrCreateShapeModel','title','getSkeletonParam','open','onSteady','ICommandService','getDrawingData','UpdateSheetsShapeDataMutation','getCurrentLastSelection','disposeWithMe','_currentUniverService','_registerComponents','_getImagePrstGeom','_loadShapePictureFill','getVisible','_activeImageId','ShapeFloatingToolbarService','sheets-shape-ui.deleteShape','setPresentation','M4.2\x208.3H6.8','cloneShapeDataForType','_setTransForm','setFallbackVisible','endArrow','SHEET_SHAPE_UI_PLUGIN','focus$','M2.6\x203.3L6.2\x208L2.6\x2012.7V3.3Z','drawing-ui.objectListPanel.close','filter','Vector2','unregister','prototype','UniverIcon','_sheetCanvasPopManagerService','_executeConnectionCommand','none','_formulaShapes','UniverSheetsShapeMobileUIPlugin','useObservable','_clearConnectionSites','showContextualTab','forwardRef','refreshFormulaPresentation','close','getRealBound','1041230CYOTnH','SHAPE','SheetCanvasPopManagerService','name','React','getBasicShapeRotateBound','ShapeGroupEnum','#4285f4','push','Fragment','_draggingConnectorId','_shapeRenderController','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','getSheetCommandTarget','SetDrawingApplyMutation','debounceRefreshControls','DrawingTypeEnum','ShapeTextEditorContainer','updateContext','next','DRAWING_OBJECT_LAYER_INDEX','Plugin','_formulaKey','onRendered','@univerjs-pro/sheets-shape','resolveShapeTextHyperLinkObject','setAdjustValueByName','_currentScene','toDisposable','WorksheetEditPermission','update$','appliedStrokeWidth','WorkbookCopyPermission','bindRenderTransformerLifecycle','UniverDocsUi','DisposableCollection','resolveShapeTextDocumentRenderLayout','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','focusDrawing','generateRandomId','UniverSheetsDrawingUi','Line','_imageIoService','UniverSheets','isHitLine','sheets-shape-ui.permission.editErr','getShapeQuickStylePreset','cancelEditing','object','DocSelectionManagerService','_shapePopupMenuDisposable','UniverSheetsDrawingPlugin','VerticalAlign','_updateShapeAdjustControls','hasAttribute','composeMatrix','shape-editor-ui.toolbar.quickStyles','custom','priority','isCurvedConnectorShape','setEditing','toFixed','SHAPE_EDITOR_TRANSFORMER_CONFIG','contentVerticalOffset','toPrimitive','ShapeStyleRibbonControl','UniverLicensePlugin','getObjectListPanelSectionIdForDrawingType','SHEET','_executeConnectedRouteResizeCommand','registerShapeFormatPainter','prepareShapeTextDocumentData','decorate','sheets-shape-ui.title','from','target','registerDependencies','worldPoint','image','getConnectionRelation','transform','drawing-ui.objectListPanel.search','M8\x2010.2V11.8','cxnPointStrokeWidth','SetDrawingArrangeCommand','src','sheets-shape-ui.ribbon.shape-format.arrange-back','_index','UniverUi','SheetsDrawingGroupCopyPasteController','ShapeTextHyperLinkHoverController','end','drawing-ui.objectListPanel.unlockHint','normal','_isImagePointerDown','setConfig','_findNearestConnectionSite','cxnPointFill','viewportScrollX','_drawingType','1336rzsDRC','VIEW_MAIN_LEFT','_baseShapeLeft','UniverSheetsUIPlugin','sheet.menu.shape.flip-horizontal','_registerOperations','_onSavingEditorData$','@univerjs-pro/shape-editor-ui','symbol','drawing-ui.objectListPanel.details','DrawingImageClipService','_getShapeAdjustInfosById','sheet.command.update-shape-data','_canEdit','isInGroup','clear','height','_sheetSkeletonService','ConnectorCoordinateTransform','attachPopupToObject','bottom','shape-editor-ui.toolbar.changeShape','copyId'];_0x5c87=function(){return _0x5528f6;};return _0x5c87();}
|
|
1
|
+
function _0x1cfe(_0x55965b,_0x9d727b){_0x55965b=_0x55965b-0xd9;const _0x44257f=_0x4425();let _0x1cfe89=_0x44257f[_0x55965b];return _0x1cfe89;}(function(_0xb95233,_0x9bf9b4){const _0x54b932=_0x1cfe,_0x32fbd0=_0xb95233();while(!![]){try{const _0x2b7e82=-parseInt(_0x54b932(0x15c))/0x1*(parseInt(_0x54b932(0x48d))/0x2)+-parseInt(_0x54b932(0x3b1))/0x3+parseInt(_0x54b932(0x349))/0x4+-parseInt(_0x54b932(0x1f0))/0x5+-parseInt(_0x54b932(0x44e))/0x6*(-parseInt(_0x54b932(0x34d))/0x7)+parseInt(_0x54b932(0x2a2))/0x8*(-parseInt(_0x54b932(0x203))/0x9)+parseInt(_0x54b932(0x272))/0xa;if(_0x2b7e82===_0x9bf9b4)break;else _0x32fbd0['push'](_0x32fbd0['shift']());}catch(_0x303ca6){_0x32fbd0['push'](_0x32fbd0['shift']());}}}(_0x4425,0xdf216),function(_0xe7b300,_0x12e385){const _0x96572b=_0x1cfe;typeof exports=='object'&&typeof module<'u'?_0x12e385(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==_0x96572b(0x24c)&&define['amd']?define([_0x96572b(0x23e),_0x96572b(0x403),_0x96572b(0x20a),_0x96572b(0x357),_0x96572b(0x2eb),'@univerjs-pro/sheets-shape','@univerjs/core',_0x96572b(0x25f),'@univerjs/drawing',_0x96572b(0x238),'@univerjs/sheets-ui',_0x96572b(0x38c),_0x96572b(0x34b),_0x96572b(0x4c5),_0x96572b(0x465),_0x96572b(0x49c),_0x96572b(0x131),_0x96572b(0xe3),_0x96572b(0x436),'@univerjs/sheets-drawing-ui',_0x96572b(0x3e9)],_0x12e385):(_0xe7b300=typeof globalThis<'u'?globalThis:_0xe7b300||self,_0x12e385(_0xe7b300['UniverProSheetsShapeUi']={},_0xe7b300[_0x96572b(0x3cc)],_0xe7b300['UniverUi'],_0xe7b300['UniverProEngineShape'],_0xe7b300[_0x96572b(0x41b)],_0xe7b300[_0x96572b(0x33b)],_0xe7b300[_0x96572b(0x3ee)],_0xe7b300['UniverSheets'],_0xe7b300[_0x96572b(0x15d)],_0xe7b300[_0x96572b(0x418)],_0xe7b300[_0x96572b(0x10b)],_0xe7b300[_0x96572b(0x38c)],_0xe7b300[_0x96572b(0x3c4)],_0xe7b300[_0x96572b(0x3d9)],_0xe7b300['React'],_0xe7b300[_0x96572b(0x12b)],_0xe7b300[_0x96572b(0x358)],_0xe7b300['UniverDocs'],_0xe7b300['UniverDocsUi'],_0xe7b300[_0x96572b(0x134)],_0xe7b300[_0x96572b(0x39c)]));}(this,function(_0x22a054,_0x3ed8c6,_0x416351,_0x24d21b,_0x1b3552,_0x34e612,_0x5cf0ce,_0xdab3fa,_0x2a2438,_0x4413bb,_0x3e532c,_0x4cb228,_0x11fb86,_0x3da0dc,_0x53553e,_0x57dfd6,_0x3d331c,_0x193e85,_0x26442e,_0x22ea8b,_0x41b065){const _0x1a21ce=_0x1cfe;Object[_0x1a21ce(0x401)](_0x22a054,Symbol[_0x1a21ce(0x2f6)],{'value':'Module'});function _0x250954(_0x5f5352,_0x3de62e){const _0x11aa84=_0x1a21ce;let _0x1747d0={};for(let _0x354ea2 of Object[_0x11aa84(0x353)](_0x3de62e)){let _0x2035a6=_0x3de62e[_0x354ea2],_0x1ab8b3=_0x5f5352[_0x354ea2];_0x1747d0[_0x354ea2]=_0x1ab8b3===void 0x0?void 0x0:typeof _0x2035a6==_0x11aa84(0x41c)&&_0x2035a6&&!Array[_0x11aa84(0x24b)](_0x2035a6)&&typeof _0x1ab8b3=='object'&&_0x1ab8b3&&!Array['isArray'](_0x1ab8b3)?_0x250954(_0x1ab8b3,_0x2035a6):_0x1ab8b3;}return _0x1747d0;}let _0x25f5b2={'type':_0x5cf0ce['CommandType']['COMMAND'],'id':'sheet.command.update-shape-data','handler':(_0x909e5d,_0x1d1dc0)=>{const _0x4f3319=_0x1a21ce;let _0x23465b=_0x909e5d[_0x4f3319(0x170)](_0x34e612[_0x4f3319(0x457)]),{unitId:_0x3607f7,subUnitId:_0x4eae4b,shapeType:_0x12fd56,shapeId:_0x41e065,shapeData:_0x11f0b2,replaceShapeData:_0x423bb0,oldShapeJSON:_0x3ef595}=_0x1d1dc0;if(!_0x23465b[_0x4f3319(0x49e)](_0x3607f7,_0x4eae4b,_0x41e065))return!0x1;let _0x190aef=_0x909e5d['get'](_0x5cf0ce['ICommandService']),_0x231454=_0x909e5d[_0x4f3319(0x170)](_0x5cf0ce[_0x4f3319(0x264)]),{oldShapeType:_0x424da3,oldShapeData:_0x494690={}}=_0x3ef595,_0x1ac88f=_0x423bb0?_0x494690:_0x250954(_0x494690,_0x11f0b2||{}),_0x348940={'id':_0x34e612['UpdateSheetsShapeDataMutation']['id'],'params':{'unitId':_0x3607f7,'subUnitId':_0x4eae4b,'shapeId':_0x41e065,'shapeType':_0x12fd56,'shapeData':_0x11f0b2,'replace':_0x423bb0}},_0x3826bb={'id':_0x34e612[_0x4f3319(0x426)]['id'],'params':{'unitId':_0x3607f7,'subUnitId':_0x4eae4b,'shapeId':_0x41e065,'shapeType':_0x424da3,'shapeData':_0x1ac88f,'replace':_0x423bb0}};return _0x190aef['syncExecuteCommand'](_0x348940['id'],_0x348940[_0x4f3319(0x46d)])?(_0x231454[_0x4f3319(0x42b)]({'unitID':_0x3607f7,'undoMutations':[_0x3826bb],'redoMutations':[_0x348940]}),!0x0):!0x1;}};function _0x12c3ae(_0x5f40d2,_0x28b5a3,_0x14d84b,_0x305766,_0x38f310,_0x380858){const _0x35eb54=_0x1a21ce;let _0x4f95c2={'unitId':_0x28b5a3,'subUnitId':_0x14d84b,'shapeId':_0x305766,'shapeData':_0x380858,'oldShapeJSON':_0x38f310};return _0x5f40d2[_0x35eb54(0x2af)](_0x25f5b2['id'],_0x4f95c2);}function _0xa96cd4(_0x487df1,_0x949a63,_0x4b8197,_0x23113a,_0x316971,_0x2beb42){let _0xd4e549={'unitId':_0x949a63,'subUnitId':_0x4b8197,'shapeId':_0x23113a,'shapeData':_0x2beb42,'oldShapeJSON':_0x316971};return _0x487df1['executeCommand'](_0x25f5b2['id'],_0xd4e549);}function _0x3bb010(_0x3aadcf){'@babel/helpers - typeof';const _0x335c92=_0x1a21ce;return _0x3bb010=typeof Symbol=='function'&&typeof Symbol[_0x335c92(0xe8)]=='symbol'?function(_0x402711){return typeof _0x402711;}:function(_0x56ebe7){const _0x5d891e=_0x335c92;return _0x56ebe7&&typeof Symbol=='function'&&_0x56ebe7['constructor']===Symbol&&_0x56ebe7!==Symbol['prototype']?_0x5d891e(0x117):typeof _0x56ebe7;},_0x3bb010(_0x3aadcf);}function _0x15932a(_0x290f1e,_0x5197dc){const _0x43aa73=_0x1a21ce;if(_0x3bb010(_0x290f1e)!=_0x43aa73(0x41c)||!_0x290f1e)return _0x290f1e;var _0x9a9579=_0x290f1e[Symbol[_0x43aa73(0x25c)]];if(_0x9a9579!==void 0x0){var _0xd4ed1e=_0x9a9579[_0x43aa73(0x2be)](_0x290f1e,_0x5197dc||_0x43aa73(0x1d9));if(_0x3bb010(_0xd4ed1e)!=_0x43aa73(0x41c))return _0xd4ed1e;throw TypeError(_0x43aa73(0x1cd));}return(_0x5197dc===_0x43aa73(0x130)?String:Number)(_0x290f1e);}function _0x272b28(_0x3a6276){const _0x41cfd8=_0x1a21ce;var _0x2084cf=_0x15932a(_0x3a6276,_0x41cfd8(0x130));return _0x3bb010(_0x2084cf)=='symbol'?_0x2084cf:_0x2084cf+'';}function _0x339d5f(_0x1ac4a5,_0x2ff213,_0x4ae3bf){const _0x54ee1f=_0x1a21ce;return(_0x2ff213=_0x272b28(_0x2ff213))in _0x1ac4a5?Object[_0x54ee1f(0x401)](_0x1ac4a5,_0x2ff213,{'value':_0x4ae3bf,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1ac4a5[_0x2ff213]=_0x4ae3bf,_0x1ac4a5;}function _0x341603(_0x23222a,_0x322e8c,_0x375f15){const _0xc8157f=_0x1a21ce;let _0x89785={..._0x322e8c,'dataModel':{..._0x322e8c['dataModel']??{},..._0x375f15?{'doc':_0x375f15}:null}},_0x4915ba=(0x0,_0x3ed8c6[_0xc8157f(0x1d1)])(_0x23222a,_0x89785),_0x34bdfc=(0x0,_0x3ed8c6[_0xc8157f(0x13e)])(_0x4915ba);return{'clip':(0x0,_0x3ed8c6[_0xc8157f(0x4bf)])(_0x4915ba,_0x34bdfc),'wrapStrategy':_0x34bdfc};}var _0x4d7701=class extends _0x4413bb['Shape']{constructor(_0x11efd7,_0x1acfe7){const _0x4a73e1=_0x1a21ce;super(_0x11efd7,_0x1acfe7),_0x339d5f(this,_0x4a73e1(0x3d4),[]),_0x339d5f(this,_0x4a73e1(0x448),void 0x0),_0x339d5f(this,'_formulaAnimation',new _0x3ed8c6[(_0x4a73e1(0x2b3))](()=>this[_0x4a73e1(0x2a3)](!0x0),()=>this[_0x4a73e1(0x194)]())),_0x339d5f(this,'_transformCalculateSrcRect',!0x0),_0x339d5f(this,_0x4a73e1(0x198),_0x5cf0ce[_0x4a73e1(0x1c1)][_0x4a73e1(0x33f)]),_0x339d5f(this,_0x4a73e1(0x4c2),!0x0),this[_0x4a73e1(0x448)]={..._0x1acfe7},this[_0x4a73e1(0x39a)][_0x4a73e1(0x345)](_0x1acfe7[_0x4a73e1(0x2d8)],_0x1acfe7[_0x4a73e1(0x256)]!==!0x1),this[_0x4a73e1(0x172)](),this[_0x4a73e1(0x194)]();}[_0x1a21ce(0x172)](){const _0x48c3ed=_0x1a21ce;this[_0x48c3ed(0x329)][_0x48c3ed(0x3fc)](_0x162595=>{this['_updateSrcRectByTransform'](_0x162595);});}[_0x1a21ce(0x1d8)](_0x186fd5){const _0x5d27c3=_0x1a21ce;this[_0x5d27c3(0x448)][_0x5d27c3(0x112)]=_0x186fd5;}['resolveHyperLinkAt'](_0x3c39e2){const _0x5d3c72=_0x1a21ce;if(this[_0x5d3c72(0x448)][_0x5d3c72(0x142)])return null;let _0x45ad42=this['getInverseCoord'](_0x3c39e2),{width:_0x4e7e88,height:_0x1277e0}=this[_0x5d3c72(0x148)]();return(0x0,_0x3ed8c6[_0x5d3c72(0x21a)])(this[_0x5d3c72(0x3d4)],{'x':(this['flipX']?-_0x45ad42['x']:_0x45ad42['x'])+_0x4e7e88/0x2,'y':_0x45ad42['y']+_0x1277e0/0x2});}[_0x1a21ce(0x27f)](_0x45751b){const _0x50f8c2=_0x1a21ce;this[_0x50f8c2(0x448)]['isEditing']=_0x45751b,this[_0x50f8c2(0x2a3)](!0x0);}['setFormulaPresentation'](_0x2118ce,_0xf30b1=!0x0){const _0x5cfaa5=_0x1a21ce;this[_0x5cfaa5(0x39a)][_0x5cfaa5(0x345)](_0x2118ce,_0xf30b1),this[_0x5cfaa5(0x448)][_0x5cfaa5(0x2d8)]=_0x2118ce,this[_0x5cfaa5(0x194)](),this[_0x5cfaa5(0x2a3)](!0x0);}[_0x1a21ce(0x194)](){const _0x4008c2=_0x1a21ce;let _0x374f51=this[_0x4008c2(0x448)][_0x4008c2(0x20d)],_0x3585e1=_0x374f51[_0x4008c2(0x22b)](),_0x5abfba=(0x0,_0x3ed8c6[_0x4008c2(0x2f9)])(_0x3585e1==null?void 0x0:_0x3585e1['dataModel']),_0x41e9ea=_0x5abfba==null?void 0x0:_0x5abfba[_0x4008c2(0x3b7)],_0x9de0b=this['_formulaAnimation'][_0x4008c2(0x42f)]();if(!_0x41e9ea||_0x9de0b[_0x4008c2(0x38a)]===0x0)return;_0x374f51[_0x4008c2(0x433)]({'width':this[_0x4008c2(0x36b)],'height':this[_0x4008c2(0x31b)]});let _0xf09e45=(0x0,_0x3ed8c6[_0x4008c2(0x416)])({'documentData':_0x9de0b[_0x4008c2(0x41e)](_0x253b61=>(0x0,_0x1b3552[_0x4008c2(0x1e7)])(_0x41e9ea,_0x253b61)),'height':this[_0x4008c2(0x31b)],'shapeData':_0x374f51[_0x4008c2(0x1ea)](),'textRect':_0x374f51['getShapeTextRect']({'left':0x0,'top':0x0,'width':this[_0x4008c2(0x36b)],'height':this[_0x4008c2(0x31b)]}),'width':this[_0x4008c2(0x36b)]});if(_0xf09e45){var _0x344112;this['resize'](_0xf09e45[_0x4008c2(0x36b)],_0xf09e45[_0x4008c2(0x31b)]),(_0x344112=this[_0x4008c2(0x38f)]())==null||(_0x344112=_0x344112[_0x4008c2(0x32a)]())==null||_0x344112[_0x4008c2(0x270)]();}}get[_0x1a21ce(0x197)](){const _0xd5efa1=_0x1a21ce;return this[_0xd5efa1(0x448)][_0xd5efa1(0x197)];}get[_0x1a21ce(0x4b3)](){const _0x5d0eb9=_0x1a21ce;return this[_0x5d0eb9(0x448)]['subUnitId'];}[_0x1a21ce(0x22c)](_0x5508f5){const _0x27a6d0=_0x1a21ce;if(this[_0x27a6d0(0x448)][_0x27a6d0(0x166)]==null||!this[_0x27a6d0(0x49b)])return;let {width:_0x12959e,height:_0x5f7930}=this,{width:_0x50f685=0x0,height:_0x2711fb=0x0}=_0x5508f5['preValue'],{left:_0x18a601=0x0,top:_0x3eab17=0x0,right:_0x365939=0x0,bottom:_0x10fc4f=0x0}=this[_0x27a6d0(0x448)][_0x27a6d0(0x166)],_0x2755b5=_0x18a601,_0x4db955=_0x3eab17,_0x2c9c90=_0x365939,_0x1fd20d=_0x10fc4f,_0x2ca850=!0x1;if(_0x50f685!==0x0&&_0x50f685!==_0x12959e){let _0x18a7eb=_0x18a601/_0x50f685,_0xfc1fa2=_0x365939/_0x50f685;_0x2755b5=_0x12959e*_0x18a7eb,_0x2c9c90=_0x12959e*_0xfc1fa2,_0x2ca850=!0x0;}if(_0x2711fb!==0x0&&_0x2711fb!==_0x5f7930){let _0x464cd9=_0x3eab17/_0x2711fb,_0x47b5bf=_0x10fc4f/_0x2711fb;_0x4db955=_0x5f7930*_0x464cd9,_0x1fd20d=_0x5f7930*_0x47b5bf,_0x2ca850=!0x0;}_0x2ca850&&this[_0x27a6d0(0x280)]({'left':_0x2755b5,'top':_0x4db955,'right':_0x2c9c90,'bottom':_0x1fd20d});}[_0x1a21ce(0x280)](_0x13cc39){const _0x5ecdce=_0x1a21ce;this['_props']['srcRect']=_0x13cc39,this[_0x5ecdce(0x2a3)](!0x0);}[_0x1a21ce(0x237)](_0x386de5){this['_props']['image']=_0x386de5,this['makeDirty'](!0x0);}set[_0x1a21ce(0x3a9)](_0x971252){this['_transform']=_0x971252;}get[_0x1a21ce(0x3a9)](){const _0x304035=_0x1a21ce;this[_0x304035(0x484)]||this[_0x304035(0x43d)]();let _0x32b72f=this['_transform']['clone']();return this[_0x304035(0x2ca)](_0x32b72f);}get['shapeModel'](){const _0x274baf=_0x1a21ce;return this['_props'][_0x274baf(0x20d)];}get['shapeId'](){const _0x23dbfa=_0x1a21ce;return this[_0x23dbfa(0x448)][_0x23dbfa(0x1b1)];}get[_0x1a21ce(0x3ed)](){const _0xbcc257=_0x1a21ce;return _0x4413bb[_0xbcc257(0x163)]['SHAPE'];}[_0x1a21ce(0x445)](_0x47ff73,_0x31aebb,_0x2c93b5,_0x4aaf23){const _0x2b0d56=_0x1a21ce;let _0x27b644=this[_0x2b0d56(0x448)][_0x2b0d56(0x20d)];if(!_0x27b644||!_0x31aebb)return;let _0x42ec61=_0x2c93b5??this[_0x2b0d56(0x36b)],_0x24ad31=_0x4aaf23??this[_0x2b0d56(0x31b)],_0x54d2ac={'shapeType':_0x27b644['getShapeType'](),'width':_0x42ec61,'height':_0x24ad31},_0x4b0f11={'renderMode':_0x24d21b[_0x2b0d56(0x1b5)][_0x2b0d56(0x200)],'oKey':this[_0x2b0d56(0x30b)],'image':this['_props'][_0x2b0d56(0x2fc)],'angle':this[_0x2b0d56(0x11e)]};_0x27b644['updateContext'](_0x54d2ac),_0x47ff73[_0x2b0d56(0x2b2)]();let _0x39bf2e={'top':0x0,'left':0x0,'width':_0x42ec61,'height':_0x24ad31},_0x2db481=_0x27b644[_0x2b0d56(0x269)](_0x39bf2e);_0x2db481?this['_renderWithCache'](_0x47ff73,_0x2db481,_0x3d9fa7=>{const _0x260aca=_0x2b0d56;_0x27b644[_0x260aca(0x1ec)](_0x3d9fa7,_0x39bf2e,_0x4b0f11);}):(this[_0x2b0d56(0x2d3)](),_0x27b644[_0x2b0d56(0x1ec)](_0x47ff73,_0x39bf2e,_0x4b0f11)),_0x47ff73[_0x2b0d56(0x361)]();let _0xbe6b43=_0x27b644[_0x2b0d56(0x22b)](),_0x13dd6b=_0x27b644[_0x2b0d56(0x1f4)](_0x39bf2e),_0x74745b=_0x27b644['isLineShape']();if(_0xbe6b43&&_0x13dd6b&&!_0x74745b){_0x47ff73[_0x2b0d56(0x2b2)](),this[_0x2b0d56(0x45f)]()[_0x2b0d56(0x405)]&&_0x47ff73['scale'](-0x1,0x1);let _0x406bd3=_0x42ec61/0x2,_0x441cb0=_0x24ad31/0x2;_0x47ff73[_0x2b0d56(0x19a)](-_0x406bd3,-_0x441cb0),_0x47ff73[_0x2b0d56(0x14d)](),this[_0x2b0d56(0x106)](_0x47ff73,_0xbe6b43,_0x13dd6b),_0x47ff73[_0x2b0d56(0x361)]();}}[_0x1a21ce(0x37c)](_0x4722d1){}[_0x1a21ce(0x106)](_0x1c5993,_0x1ee2cd,_0x2ee02d){const _0x214fbe=_0x1a21ce;var _0x48b7c1;this[_0x214fbe(0x3d4)]=[],!this[_0x214fbe(0x448)][_0x214fbe(0x142)]&&(!((_0x48b7c1=_0x1ee2cd['dataModel'])!=null&&_0x48b7c1['doc'])&&_0x214fbe(0x35e)in _0x1ee2cd&&_0x1ee2cd[_0x214fbe(0x35e)]===!0x1?this[_0x214fbe(0x17b)](_0x1c5993,_0x1ee2cd,_0x2ee02d):this[_0x214fbe(0x421)](_0x1c5993,_0x1ee2cd,_0x2ee02d));}[_0x1a21ce(0x17b)](_0x39f7f4,_0x5ea306,_0x1f1ac7){const _0x4d8539=_0x1a21ce;this['_drawRichText'](_0x39f7f4,{..._0x5ea306,'text':_0x5ea306[_0x4d8539(0x32c)]??'','dataModel':{'doc':(0x0,_0x3ed8c6[_0x4d8539(0x419)])(_0x5ea306,'sheets-shape-text-'+this[_0x4d8539(0x30b)])}},_0x1f1ac7);}['_drawRichText'](_0x3b3f2,_0x36166f,_0x20a9db){const _0x40d57d=_0x1a21ce;(0x0,_0x3ed8c6[_0x40d57d(0x424)])(_0x3b3f2,this[_0x40d57d(0x39a)],(_0x2ff8bd,_0x14eeb6,_0x4a840d)=>{const _0x1e62d6=_0x40d57d;this[_0x1e62d6(0x158)](_0x2ff8bd,_0x36166f,_0x20a9db,_0x14eeb6,_0x4a840d==='current');});}['_drawRichTextLayer'](_0x32e288,_0x2132c4,_0x193a80,_0x3b790a,_0x14affd){const _0x3e54c=_0x1a21ce;let _0x116344=this[_0x3e54c(0x448)]['localeService'];if(!_0x2132c4[_0x3e54c(0x282)]||!_0x116344)return;let _0x2f2914=(0x0,_0x3ed8c6['normalizeShapeTextModel'])(_0x2132c4[_0x3e54c(0x282)]);if(!_0x2f2914)return;let _0x3f0a43=_0x2f2914['doc'];if(!_0x3f0a43)return;let _0x1a6372=(0x0,_0x1b3552[_0x3e54c(0x1e7)])(_0x3f0a43,_0x3b790a),_0x490089=_0x2f2914['va']??_0x5cf0ce[_0x3e54c(0x393)][_0x3e54c(0x3f7)],_0x3af9f2=_0x2f2914['ha']??_0x5cf0ce[_0x3e54c(0x41a)][_0x3e54c(0x2f2)],_0x2d2664=_0x341603(this['_props'][_0x3e54c(0x20d)][_0x3e54c(0x1ea)](),_0x2132c4,_0x1a6372),_0x654419=_0x2132c4[_0x3e54c(0x441)],_0x5af92b=(0x0,_0x3ed8c6[_0x3e54c(0x2b7)])(_0x1a6372,{'isHorizontal':_0x654419!==!0x1,'textRect':_0x193a80,'verticalAlign':_0x490089,'horizontalAlign':_0x3af9f2,'wrapStrategy':_0x2d2664[_0x3e54c(0x1c9)]}),_0x27dde9=new _0x5cf0ce['DocumentDataModel'](_0x5af92b),_0x37fc7e=new _0x4413bb[(_0x3e54c(0x2b4))](_0x27dde9),_0x39e686=_0x4413bb[_0x3e54c(0x402)][_0x3e54c(0x331)](_0x37fc7e,_0x116344);_0x39e686[_0x3e54c(0x2ff)]();let _0x435415=_0x39e686[_0x3e54c(0x279)]()[_0x3e54c(0x206)],_0x25c2a3=(0x0,_0x3ed8c6[_0x3e54c(0x4be)])({'contentHeight':_0x435415,'verticalAlign':_0x490089,'viewportHeight':_0x193a80[_0x3e54c(0x31b)]});_0x27dde9[_0x3e54c(0x1d6)]({'pageSize':{'width':_0x654419===!0x1?_0x193a80[_0x3e54c(0x31b)]:_0x193a80[_0x3e54c(0x36b)],'height':(0x0,_0x3ed8c6[_0x3e54c(0x295)])(_0x1a6372,_0x25c2a3['contentHeight'])}}),_0x27dde9[_0x3e54c(0x3de)]({'t':_0x25c2a3['marginTop']}),_0x39e686[_0x3e54c(0x2ff)]();let _0x48d695=new _0x4413bb[(_0x3e54c(0x1a7))]('shape-text-'+this['oKey'],_0x39e686,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this['makeDirty'](!0x0)});_0x48d695['resize'](_0x193a80[_0x3e54c(0x36b)],_0x25c2a3['contentHeight']),_0x32e288[_0x3e54c(0x2b2)](),_0x32e288[_0x3e54c(0x1dd)](_0x193a80[_0x3e54c(0x192)],_0x193a80[_0x3e54c(0x33a)]),_0x2d2664[_0x3e54c(0x111)]&&(_0x32e288[_0x3e54c(0x14d)](),_0x32e288['rect'](0x0,_0x25c2a3[_0x3e54c(0x178)],_0x193a80[_0x3e54c(0x36b)],_0x25c2a3[_0x3e54c(0x321)]),_0x32e288[_0x3e54c(0x111)]()),_0x25c2a3['contentVerticalOffset']&&_0x32e288[_0x3e54c(0x1dd)](0x0,_0x25c2a3[_0x3e54c(0x3f1)]),_0x48d695[_0x3e54c(0x3b3)](_0x32e288),_0x14affd&&(this[_0x3e54c(0x3d4)]=(0x0,_0x3ed8c6[_0x3e54c(0x285)])(_0x48d695,{'left':_0x193a80[_0x3e54c(0x192)],'top':_0x193a80[_0x3e54c(0x33a)]+_0x25c2a3[_0x3e54c(0x3f1)]},_0x2d2664[_0x3e54c(0x111)]?{'left':_0x193a80[_0x3e54c(0x192)],'right':_0x193a80['left']+_0x193a80[_0x3e54c(0x36b)],'top':_0x193a80['top']+_0x25c2a3['clipTop'],'bottom':_0x193a80[_0x3e54c(0x33a)]+_0x25c2a3[_0x3e54c(0x178)]+_0x25c2a3['clipHeight']}:void 0x0)),_0x32e288[_0x3e54c(0x361)](),_0x48d695[_0x3e54c(0x351)](),_0x39e686[_0x3e54c(0x351)](),_0x37fc7e[_0x3e54c(0x351)](),_0x27dde9[_0x3e54c(0x351)]();}[_0x1a21ce(0x1ec)](_0x45040f,_0x2cbda7,_0x1dec9e=!0x1){const _0x497cd0=_0x1a21ce;if(!this[_0x497cd0(0x241)])return this['makeDirty'](!0x1),this;let {width:_0x38c85b,height:_0x53c049,left:_0x2d5f1c,top:_0x526a26}=this,_0x276d02=this[_0x497cd0(0x148)]();if(_0x38c85b=_0x276d02[_0x497cd0(0x36b)],_0x53c049=_0x276d02[_0x497cd0(0x31b)],_0x2d5f1c=_0x276d02[_0x497cd0(0x192)],_0x526a26=_0x276d02[_0x497cd0(0x33a)],this[_0x497cd0(0x278)](_0x2cbda7)){let {top:_0x5d22d2,left:_0x879b55,bottom:_0x1b6803,right:_0x1a6563}=_0x2cbda7['viewBound'];if(_0x38c85b+this[_0x497cd0(0xef)]+_0x2d5f1c<_0x879b55||_0x1a6563<_0x2d5f1c||_0x53c049+this[_0x497cd0(0xef)]+_0x526a26<_0x5d22d2||_0x1b6803<_0x526a26)return this;}let _0x2ac3a4=_0x2d5f1c+_0x38c85b/0x2,_0x46af73=_0x526a26+_0x53c049/0x2,_0x5363b2=this[_0x497cd0(0x3a9)][_0x497cd0(0x3fb)]();if(this[_0x497cd0(0x448)]['isEditing']){let _0x48c42b=this['getState'](),_0xe68477=new _0x4413bb['Transform']();_0xe68477[_0x497cd0(0x469)]({..._0x48c42b}),_0x5363b2=_0xe68477[_0x497cd0(0x3fb)]();}return _0x45040f[_0x497cd0(0x2b2)](),this['_props'][_0x497cd0(0x20d)][_0x497cd0(0x4c3)]===!0x0||_0x45040f[_0x497cd0(0x3a9)](_0x5363b2[0x0],_0x5363b2[0x1],_0x5363b2[0x2],_0x5363b2[0x3],_0x2ac3a4,_0x46af73),this[_0x497cd0(0x445)](_0x45040f,_0x2cbda7,_0x38c85b,_0x53c049),_0x45040f['restore'](),this[_0x497cd0(0x2a3)](!0x1),this;}['getInverseCoord'](_0x5457ee){const _0x3c82b8=_0x1a21ce;let {left:_0x4b2038,top:_0x3c7859,width:_0x48e267,height:_0x1d96ba}=this['getRealBound'](),_0x5758bc=this['transform'][_0x3c82b8(0x3fb)](),_0xaae8ed=_0x4b2038+_0x48e267/0x2,_0x2e45b2=_0x3c7859+_0x1d96ba/0x2,_0x5ce6ca=new _0x4413bb[(_0x3c82b8(0x492))]([_0x5758bc[0x0],_0x5758bc[0x1],_0x5758bc[0x2],_0x5758bc[0x3],_0xaae8ed,_0x2e45b2]),_0x8c3cc=this[_0x3c82b8(0x1cb)]();return(this['isInGroup']&&(_0x8c3cc==null?void 0x0:_0x8c3cc[_0x3c82b8(0x3ed)])===_0x4413bb['RENDER_CLASS_TYPE'][_0x3c82b8(0x42d)]?_0x8c3cc[_0x3c82b8(0x4c8)]['multiply'](_0x5ce6ca):_0x5ce6ca)['invert']()[_0x3c82b8(0x292)](_0x5457ee);}['isHit'](_0x466008){const _0x197f00=_0x1a21ce;let {left:_0x3b7eb1,top:_0x1ab0e0,width:_0xa2fe8b,height:_0x320fa2}=this[_0x197f00(0x148)](),_0x2d4f8d=_0x3b7eb1+_0xa2fe8b/0x2,_0x54cde1=_0x1ab0e0+_0x320fa2/0x2,_0x1882b8=this[_0x197f00(0x3a9)][_0x197f00(0x3fb)](),_0x459057=new _0x4413bb['Transform']([_0x1882b8[0x0],_0x1882b8[0x1],_0x1882b8[0x2],_0x1882b8[0x3],_0x2d4f8d,_0x54cde1]),_0x4328d1=this[_0x197f00(0x1cb)](),_0x1730b2=(this[_0x197f00(0x3eb)]&&(_0x4328d1==null?void 0x0:_0x4328d1[_0x197f00(0x3ed)])===_0x4413bb['RENDER_CLASS_TYPE'][_0x197f00(0x42d)]?_0x4328d1['ancestorTransform']['multiply'](_0x459057):_0x459057)[_0x197f00(0x41d)]()[_0x197f00(0x292)](_0x466008),_0x485b62=_0xa2fe8b/0x2,_0x41aa30=_0x320fa2/0x2,_0x2eee16=this['_props'][_0x197f00(0x20d)];return _0x2eee16&&_0x2eee16[_0x197f00(0x108)]()?_0x2eee16['isHitLine'](_0x1730b2['x'],_0x1730b2['y'],_0xa2fe8b,_0x320fa2):_0x1730b2['x']>=-_0x485b62-this['strokeWidth']/0x2&&_0x1730b2['x']<=_0x485b62+this['strokeWidth']/0x2&&_0x1730b2['y']>=-_0x41aa30-this['strokeWidth']/0x2&&_0x1730b2['y']<=_0x41aa30+this[_0x197f00(0xef)]/0x2;}[_0x1a21ce(0x351)](){const _0xb91148=_0x1a21ce;this[_0xb91148(0x39a)][_0xb91148(0x351)](),this[_0xb91148(0x448)]['shapeModel']=null,super[_0xb91148(0x351)]();}},_0x4b14c3=class extends _0x4413bb['Shape']{constructor(_0x3a0d6c,_0x1569cb){const _0x17e5ed=_0x1a21ce;super(_0x3a0d6c,_0x1569cb),_0x339d5f(this,'_shapeId',null),_0x339d5f(this,_0x17e5ed(0x306),null),_0x339d5f(this,_0x17e5ed(0x29c),null),_0x339d5f(this,'_subUnitId',null),_0x1569cb&&this[_0x17e5ed(0x4b8)](_0x1569cb);}[_0x1a21ce(0x1a8)](){const _0x4cd1ff=_0x1a21ce;return{'unitId':this[_0x4cd1ff(0x29c)],'subUnitId':this[_0x4cd1ff(0x251)],'drawingId':this[_0x4cd1ff(0x2f8)]};}[_0x1a21ce(0x4b8)](_0x14021b){const _0x1cde2d=_0x1a21ce;_0x14021b[_0x1cde2d(0x1b1)]!==void 0x0&&(this[_0x1cde2d(0x2f8)]=_0x14021b[_0x1cde2d(0x1b1)]),_0x14021b[_0x1cde2d(0xe9)]!==void 0x0&&(this[_0x1cde2d(0x306)]=_0x14021b[_0x1cde2d(0xe9)]),_0x14021b['unitId']!==void 0x0&&(this[_0x1cde2d(0x29c)]=_0x14021b[_0x1cde2d(0x197)]),_0x14021b['subUnitId']!==void 0x0&&(this[_0x1cde2d(0x251)]=_0x14021b['subUnitId']),this[_0x1cde2d(0x4bb)]({'width':_0x14021b[_0x1cde2d(0x36b)],'height':_0x14021b[_0x1cde2d(0x31b)]});}[_0x1a21ce(0x445)](_0x554194){const _0x41b840=_0x1a21ce;_0x4413bb['Circle'][_0x41b840(0x3c9)](_0x554194,{'radius':_0x24d21b['ShapeDefaultConfig'][_0x41b840(0x3e6)],'fill':_0x24d21b[_0x41b840(0x1a9)]['adjHandleFill'],'stroke':_0x24d21b[_0x41b840(0x1a9)]['adjHandleStroke'],'strokeWidth':0x1,'evented':!0x0});}};function _0x4512b4(_0x59279e,_0x1b643c){return function(_0x564061,_0x3df8b4){_0x1b643c(_0x564061,_0x3df8b4,_0x59279e);};}function _0x3f6514(_0x6f858a,_0x41d469,_0x386b4a,_0x17dc82){const _0x1534f3=_0x1a21ce;var _0x4eb7f7=arguments['length'],_0x7fcae3=_0x4eb7f7<0x3?_0x41d469:_0x17dc82===null?_0x17dc82=Object[_0x1534f3(0x31f)](_0x41d469,_0x386b4a):_0x17dc82,_0x5aa39c;if(typeof Reflect=='object'&&typeof Reflect[_0x1534f3(0x387)]==_0x1534f3(0x24c))_0x7fcae3=Reflect[_0x1534f3(0x387)](_0x6f858a,_0x41d469,_0x386b4a,_0x17dc82);else{for(var _0x272f12=_0x6f858a[_0x1534f3(0x38a)]-0x1;_0x272f12>=0x0;_0x272f12--)(_0x5aa39c=_0x6f858a[_0x272f12])&&(_0x7fcae3=(_0x4eb7f7<0x3?_0x5aa39c(_0x7fcae3):_0x4eb7f7>0x3?_0x5aa39c(_0x41d469,_0x386b4a,_0x7fcae3):_0x5aa39c(_0x41d469,_0x386b4a))||_0x7fcae3);}return _0x4eb7f7>0x3&&_0x7fcae3&&Object[_0x1534f3(0x401)](_0x41d469,_0x386b4a,_0x7fcae3),_0x7fcae3;}let _0x251705=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x13b808,_0x2df0b4,_0x57b077,_0x5ba3ac,_0x16c42c,_0x42d43d){const _0x180932=_0x1a21ce;super(),this['_drawingManagerService']=_0x13b808,this[_0x180932(0x23a)]=_0x2df0b4,this[_0x180932(0x438)]=_0x57b077,this[_0x180932(0x1d4)]=_0x5ba3ac,this[_0x180932(0x377)]=_0x16c42c,this[_0x180932(0x29b)]=_0x42d43d,_0x339d5f(this,'_formulaShapes',new Map()),this[_0x180932(0x4c4)](this[_0x180932(0x29b)]['presentationChanged$'][_0x180932(0x3e7)](_0x3cf56e=>{const _0x2ee7c6=_0x180932;var _0x578368;(_0x578368=this[_0x2ee7c6(0x422)][_0x2ee7c6(0x170)](this[_0x2ee7c6(0x337)](_0x3cf56e['unitId'],_0x3cf56e[_0x2ee7c6(0x4b3)],_0x3cf56e[_0x2ee7c6(0x1b1)])))==null||_0x578368[_0x2ee7c6(0x123)](_0x4e56d3=>_0x4e56d3[_0x2ee7c6(0x301)](_0x3cf56e[_0x2ee7c6(0x4ad)],_0x3cf56e[_0x2ee7c6(0x165)]));})),this[_0x180932(0x4c4)](this['_drawingManagerService'][_0x180932(0x44c)][_0x180932(0x3e7)](_0x4ee244=>{const _0x5fcbe=_0x180932;_0x4ee244[_0x5fcbe(0x123)](_0xd3ecc1=>{const _0xf3fefe=_0x5fcbe;this[_0xf3fefe(0x29b)][_0xf3fefe(0x1e1)]({'unitId':_0xd3ecc1[_0xf3fefe(0x197)],'subUnitId':_0xd3ecc1['subUnitId'],'shapeId':_0xd3ecc1[_0xf3fefe(0x1f5)]}),this[_0xf3fefe(0x422)][_0xf3fefe(0x1ef)](this[_0xf3fefe(0x337)](_0xd3ecc1['unitId'],_0xd3ecc1['subUnitId'],_0xd3ecc1[_0xf3fefe(0x1f5)]));});}));}[_0x1a21ce(0x1d5)](_0x344607,_0x1ebbaf,_0x122945){const _0x22b56a=_0x1a21ce;let {transform:_0x28b40a,drawingType:_0xea57ed,srcRect:_0x2da737,prstGeom:_0x3234be,groupId:_0x20309f,unitId:_0x1594f5,subUnitId:_0x3792f4,drawingId:_0xc3efb6,isMultiTransform:_0x1f3adb,transforms:_0x59212d,hidden:_0x390d33,selectable:_0x4aab85}=_0x344607;if(_0xea57ed!==_0x5cf0ce[_0x22b56a(0x1c1)][_0x22b56a(0x33f)]||!this[_0x22b56a(0x383)][_0x22b56a(0xf5)]()||_0x28b40a==null)return;let _0x51cc67=this[_0x22b56a(0x383)][_0x22b56a(0x464)](),_0x3d6985=_0x1f3adb&&_0x59212d?_0x59212d:[_0x28b40a],_0x138612=[];for(let _0x2f53d1 of _0x3d6985){let {left:_0x236e03,top:_0x43c7ee,width:_0x4d2bdc,height:_0x2d609a,angle:_0x2b4a95,flipX:_0x254849,flipY:_0x43744c,skewX:_0x584858,skewY:_0x4a1734}=_0x2f53d1,_0x225c1f=_0x3d6985[_0x22b56a(0x334)](_0x2f53d1),_0x2d725f=(0x0,_0x2a2438[_0x22b56a(0x414)])({'unitId':_0x1594f5,'subUnitId':_0x3792f4,'drawingId':_0xc3efb6},_0x1f3adb?_0x225c1f:void 0x0),_0x2d7624=_0x1ebbaf[_0x22b56a(0x26e)](_0x2d725f);if(_0x2d7624!=null){let _0x5d4c65={'unitId':_0x1594f5,'subUnitId':_0x3792f4,'shapeId':_0xc3efb6};_0x2d7624 instanceof _0x4d7701&&this[_0x22b56a(0x265)](_0x2d7624,_0x5d4c65),_0x2d7624[_0x22b56a(0x4bb)]({'left':_0x236e03,'top':_0x43c7ee,'width':_0x4d2bdc,'height':_0x2d609a,'angle':_0x2b4a95,'flipX':_0x254849,'flipY':_0x43744c,'skewX':_0x584858,'skewY':_0x4a1734});continue;}let _0x216dc8=this['_drawingManagerService'][_0x22b56a(0x289)](_0x1594f5,_0x3792f4),_0x17a329=_0x216dc8[_0x22b56a(0x334)](_0xc3efb6);if(_0x1ebbaf[_0x22b56a(0x26e)](_0x2d725f)||!this[_0x22b56a(0x383)][_0x22b56a(0xf5)]())continue;let _0x43c796=this['_sheetsShapeService'][_0x22b56a(0x49e)](_0x1594f5,_0x3792f4,_0xc3efb6);if(!_0x43c796)continue;let _0x35fbea=(0x0,_0x24d21b['isConnectorShape'])(_0x43c796[_0x22b56a(0x1e0)]())?{..._0x3ed8c6[_0x22b56a(0x3cf)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x3ed8c6['SHAPE_EDITOR_TRANSFORMER_CONFIG'],_0x5a0be8=_0x43c796[_0x22b56a(0x1ea)]()[_0x22b56a(0x126)],_0x303af3={'unitId':_0x1594f5,'subUnitId':_0x3792f4,'shapeId':_0xc3efb6};_0x5a0be8&&this[_0x22b56a(0x29b)][_0x22b56a(0x3b8)](_0x303af3,_0x5a0be8);let _0x45d7a4=new _0x4d7701(_0x2d725f,{..._0x2f53d1,'zIndex':_0x17a329===-0x1?_0x216dc8['length']-0x1:_0x17a329,'shapeModel':_0x43c796,'localeService':this[_0x22b56a(0x438)],'shapeId':_0xc3efb6,'unitId':_0x1594f5,'subUnitId':_0x3792f4,'visible':_0x390d33!==!0x0,'evented':_0x4aab85!==!0x1,'formulaPresentation':_0x5a0be8?this[_0x22b56a(0x29b)][_0x22b56a(0x271)](_0x303af3):void 0x0,'animateFormulaPresentation':(_0x5a0be8==null?void 0x0:_0x5a0be8['animationEnabled'])!==!0x1,'transformerConfig':_0x35fbea});if(_0x5a0be8){let _0x3d38ad=this['_formulaKey'](_0x1594f5,_0x3792f4,_0xc3efb6),_0x408530=this['_formulaShapes'][_0x22b56a(0x170)](_0x3d38ad)??new Set();_0x408530[_0x22b56a(0x36d)](_0x45d7a4),this[_0x22b56a(0x422)]['set'](_0x3d38ad,_0x408530);}_0x1ebbaf[_0x22b56a(0x141)](_0x45d7a4,_0x4413bb[_0x22b56a(0x1ab)]),_0x51cc67&&_0x1ebbaf[_0x22b56a(0x335)](_0x45d7a4),_0x20309f&&(0x0,_0x11fb86[_0x22b56a(0x19e)])({'drawingId':_0x20309f,'unitId':_0x1594f5,'subUnitId':_0x3792f4},_0x45d7a4,_0x1ebbaf,this[_0x22b56a(0x383)]),_0x3234be!=null&&_0x45d7a4[_0x22b56a(0x1d8)](_0x3234be),_0x2da737!=null&&_0x45d7a4[_0x22b56a(0x280)](_0x2da737);let _0x6662c8=this[_0x22b56a(0x341)](_0x45d7a4,_0x43c796[_0x22b56a(0x1ea)]());if(_0x6662c8){var _0x131520;_0x122945==null||(_0x131520=_0x122945['resourceCollector'])==null||_0x131520[_0x22b56a(0x36d)](_0x6662c8);}_0x138612[_0x22b56a(0x109)](_0x45d7a4);}return _0x138612;}[_0x1a21ce(0x337)](_0x439829,_0x5525b8,_0x5cc1cd){return _0x439829+'\x00'+_0x5525b8+'\x00'+_0x5cc1cd;}['refreshFormulaPresentation'](_0xac4a0,_0x4405a0){const _0x2be154=_0x1a21ce;let _0x4c6bdb=this[_0x2be154(0x23a)][_0x2be154(0x49e)](_0x4405a0[_0x2be154(0x197)],_0x4405a0['subUnitId'],_0x4405a0['shapeId']),_0x1d2893=_0x4c6bdb==null?void 0x0:_0x4c6bdb[_0x2be154(0x1ea)]()[_0x2be154(0x126)],_0x5749d0=this['_formulaKey'](_0x4405a0[_0x2be154(0x197)],_0x4405a0[_0x2be154(0x4b3)],_0x4405a0[_0x2be154(0x1b1)]);if(_0x1d2893){this[_0x2be154(0x29b)][_0x2be154(0x3b8)](_0x4405a0,_0x1d2893);let _0x1ef280=this['_formulaShapes'][_0x2be154(0x170)](_0x5749d0)??new Set();_0x1ef280[_0x2be154(0x36d)](_0xac4a0),this[_0x2be154(0x422)][_0x2be154(0x153)](_0x5749d0,_0x1ef280);}else{var _0x2ff049;this[_0x2be154(0x29b)]['unregister'](_0x4405a0),(_0x2ff049=this[_0x2be154(0x422)][_0x2be154(0x170)](_0x5749d0))==null||_0x2ff049[_0x2be154(0x1ef)](_0xac4a0);}_0xac4a0[_0x2be154(0x301)](_0x1d2893?this[_0x2be154(0x29b)][_0x2be154(0x271)](_0x4405a0):void 0x0,(_0x1d2893==null?void 0x0:_0x1d2893[_0x2be154(0x165)])!==!0x1);}[_0x1a21ce(0x3fd)](_0x56b096){const _0x27928b=_0x1a21ce;let _0x24415c=_0x56b096[_0x27928b(0x20d)]['getShapeData'](),_0x5610b0=_0x24415c[_0x27928b(0x4ae)];!_0x5610b0||_0x5610b0[_0x27928b(0x18d)]!==_0x24d21b[_0x27928b(0x4b4)]['PictureFill']||!_0x5610b0[_0x27928b(0x207)]?_0x56b096[_0x27928b(0x237)](void 0x0):this[_0x27928b(0x341)](_0x56b096,_0x24415c);}[_0x1a21ce(0x341)](_0x49962b,_0x4ee4ae){const _0x16c434=_0x1a21ce;let _0x30be5c=_0x4ee4ae[_0x16c434(0x4ae)];if(!_0x30be5c||_0x30be5c[_0x16c434(0x18d)]!==_0x24d21b['ShapeFillEnum'][_0x16c434(0x1df)]||!_0x30be5c['fillImageSource'])return;let _0x18f36b=_0x30be5c[_0x16c434(0x207)],_0x49ccb9=_0x30be5c['fillImageSourceType']??_0x24d21b[_0x16c434(0x297)][_0x16c434(0x35d)],_0x358fcc=this[_0x16c434(0x1d4)][_0x16c434(0x352)](_0x18f36b,_0x49ccb9);if(_0x358fcc)_0x49962b['setFillImage'](_0x358fcc);else return this[_0x16c434(0x2fd)](_0x49962b,_0x18f36b,_0x49ccb9);}async[_0x1a21ce(0x2fd)](_0x188093,_0x22e823,_0x116bff){const _0x2889bd=_0x1a21ce;let _0x2e0883;try{if(_0x116bff===_0x24d21b[_0x2889bd(0x297)]['UUID'])_0x2e0883=await this['_imageIoService']['getImage'](_0x22e823);else{if(_0x116bff===_0x24d21b[_0x2889bd(0x297)][_0x2889bd(0x35d)])try{_0x2e0883=await this[_0x2889bd(0x377)][_0x2889bd(0x189)](_0x22e823);}catch{_0x2e0883=_0x22e823;}else _0x2e0883=_0x22e823;}}catch(_0x11b36a){console['error'](_0x2889bd(0xdd),_0x11b36a);return;}await new Promise(_0x362d82=>{const _0x1b3802=_0x2889bd;let _0x567c85=new window[(_0x1b3802(0x453))]();_0x567c85[_0x1b3802(0x4a8)]=()=>{const _0x2eeca7=_0x1b3802;this['_imageIoService'][_0x2eeca7(0x1be)](_0x22e823,_0x116bff,_0x567c85),_0x188093[_0x2eeca7(0x237)](_0x567c85),_0x362d82();},_0x567c85['onerror']=()=>{const _0x175674=_0x1b3802;console[_0x175674(0x3be)](_0x175674(0x1dc),_0x22e823),_0x362d82();},_0x567c85[_0x1b3802(0x4a7)]=_0x2e0883;});}};_0x251705=_0x3f6514([_0x4512b4(0x0,_0x2a2438[_0x1a21ce(0x3e4)]),_0x4512b4(0x1,(0x0,_0x5cf0ce['Inject'])(_0x34e612[_0x1a21ce(0x457)])),_0x4512b4(0x2,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x5cf0ce[_0x1a21ce(0x4ac)])),_0x4512b4(0x3,_0x5cf0ce[_0x1a21ce(0x218)]),_0x4512b4(0x4,_0x5cf0ce[_0x1a21ce(0x2c9)]),_0x4512b4(0x5,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x1b3552[_0x1a21ce(0x240)]))],_0x251705);let _0x5f5333=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x2ffe3d,_0x27bf26,_0x3cf6df,_0xe89659,_0x71486,_0x39f379){const _0xe062dd=_0x1a21ce;super(),this[_0xe062dd(0x383)]=_0x2ffe3d,this[_0xe062dd(0x23a)]=_0x27bf26,this[_0xe062dd(0x411)]=_0x3cf6df,this[_0xe062dd(0x188)]=_0xe89659,this[_0xe062dd(0x2d5)]=_0x71486,this[_0xe062dd(0x378)]=_0x39f379,_0x339d5f(this,_0xe062dd(0x376),null),_0x339d5f(this,'_unitId',null),_0x339d5f(this,_0xe062dd(0x251),null),_0x339d5f(this,_0xe062dd(0x1ce),void 0x0),_0x339d5f(this,_0xe062dd(0x287),[]),_0x339d5f(this,'_baseShapeLeft',0x0),_0x339d5f(this,_0xe062dd(0x274),0x0),_0x339d5f(this,_0xe062dd(0x423),0x0),_0x339d5f(this,'_baseShapeHeight',0x0),_0x339d5f(this,_0xe062dd(0x3fe),!0x1),_0x339d5f(this,'_activeAdjustInfo',void 0x0),_0x339d5f(this,_0xe062dd(0xf3),void 0x0),_0x339d5f(this,'_adjHandlerPointerMove',void 0x0),_0x339d5f(this,'_adjHandlerPointerUp',void 0x0),_0x339d5f(this,_0xe062dd(0x1b8),!0x1),this[_0xe062dd(0x447)](),this[_0xe062dd(0x293)]();}['_getShapeAdjustPointListById'](_0x48e669,_0x579c67,_0x2a39ac){const _0x3f1da7=_0x1a21ce;let _0x1b18f2=this[_0x3f1da7(0x23a)]['getShapeModel'](_0x48e669,_0x579c67,_0x2a39ac);if(_0x1b18f2)return _0x1b18f2['getDrawingPoints']();}[_0x1a21ce(0x4af)](){const _0x2a5a7c=_0x1a21ce;this[_0x2a5a7c(0x38d)]();}[_0x1a21ce(0x164)](){const _0xbad4d4=_0x1a21ce;this[_0xbad4d4(0x36f)](!0x0);}[_0x1a21ce(0x2e5)](_0x122355){const _0x5133fd=_0x1a21ce;this[_0x5133fd(0x1b8)]=_0x122355;}[_0x1a21ce(0x489)](_0x1fb246,_0x586a93,_0x162ec2,_0x401c14){const _0x525fd0=_0x1a21ce;let _0x2f8fc2=this['_sheetsShapeService']['getShapeModel'](_0x1fb246,_0x586a93,_0x162ec2);if(_0x2f8fc2)return _0x2f8fc2[_0x525fd0(0x3f2)](_0x401c14);}[_0x1a21ce(0x3d6)](_0x18fe9c=!0x1){const _0xd4d876=_0x1a21ce;if(this['_unitId']===null||this['_subUnitId']===null||this[_0xd4d876(0x376)]===null)return;let _0x2d7347=this[_0xd4d876(0x411)]['getRenderUnitById'](this['_unitId']);if(!_0x2d7347||!_0x2d7347[_0xd4d876(0x18b)](_0x3e532c['SheetSkeletonManagerService'])['getCurrentSkeleton']())return;let {scene:_0x5a41ed}=_0x2d7347,_0x2ac476={'unitId':this[_0xd4d876(0x29c)],'subUnitId':this[_0xd4d876(0x251)],'drawingId':this['_activeShapeId']},_0x1484a9=this['_drawingManagerService']['getDrawingByParam'](_0x2ac476),{transform:_0x514541}=_0x1484a9;if(!_0x514541||_0x1484a9['drawingType']!==_0x5cf0ce[_0xd4d876(0x1c1)][_0xd4d876(0x33f)])return;let {left:_0x49c2a4,top:_0x436f3d,width:_0x348e23,height:_0x5c13a5,flipX:_0x357d93,flipY:_0x1ff923,angle:_0x50f77b=0x0}=_0x514541;if(_0x49c2a4===void 0x0||_0x436f3d===void 0x0)return;if(_0x18fe9c){let _0x9ed65e=this['_sheetsShapeService'][_0xd4d876(0x49e)](this['_unitId'],this['_subUnitId'],this['_activeShapeId']);_0x9ed65e==null||_0x9ed65e['updateContext']({'width':_0x348e23??0x0,'height':_0x5c13a5??0x0}),this[_0xd4d876(0x1ce)]=_0x9ed65e==null?void 0x0:_0x9ed65e[_0xd4d876(0x37c)]();}let _0x3f8ee3=this[_0xd4d876(0x1ce)];for(let _0x1a0963=0x0;_0x1a0963<_0x3f8ee3[_0xd4d876(0x38a)];_0x1a0963++){let _0x5f413d=_0x3f8ee3[_0x1a0963],_0x2d0ab7=_0x5f413d['x'],_0x4a22b1=_0x5f413d['y'];if(_0x357d93&&(_0x2d0ab7=(_0x348e23||0x0)-_0x2d0ab7),_0x1ff923&&(_0x4a22b1=(_0x5c13a5||0x0)-_0x4a22b1),_0x50f77b!==0x0){let _0x23c2de=(_0x348e23||0x0)/0x2,_0x10fa5c=(_0x5c13a5||0x0)/0x2,_0xc6a51a=_0x50f77b*Math['PI']/0xb4,_0x3da7b4=Math[_0xd4d876(0x127)](_0xc6a51a),_0x168993=Math[_0xd4d876(0x1bc)](_0xc6a51a),_0x17031f=_0x2d0ab7-_0x23c2de,_0x531920=_0x4a22b1-_0x10fa5c;_0x2d0ab7=_0x23c2de+(_0x17031f*_0x3da7b4-_0x531920*_0x168993),_0x4a22b1=_0x10fa5c+(_0x17031f*_0x168993+_0x531920*_0x3da7b4);}let _0xde5b64={'x':_0x2d0ab7,'y':_0x4a22b1,'adjName':_0x5f413d[_0xd4d876(0xe9)]};this['_addShapeAdjustControl'](_0x5a41ed,_0xde5b64,_0xde5b64['adjName'],_0x49c2a4,_0x436f3d,this[_0xd4d876(0x29c)],this[_0xd4d876(0x251)]);}}[_0x1a21ce(0x36f)](_0x51c876=!0x1){_0x51c876&&(this['_clearShapeAdjustControls'](),this['_createShapeAdjustControls'](_0x51c876));}['_addShapeAdjustControl'](_0x1024f9,_0x57da19,_0x391624,_0x381788,_0x45721a,_0x3bb304,_0x188602){const _0x420b55=_0x1a21ce;if(!this['_activeShapeId'])return;let _0x2a1916=_0x1024f9[_0x420b55(0x26e)](_0x420b55(0x254)+this[_0x420b55(0x376)]+'-'+_0x391624);if(_0x2a1916){_0x2a1916[_0x420b55(0x4bb)]({'left':_0x57da19['x']+_0x381788-_0x24d21b[_0x420b55(0x1a9)][_0x420b55(0x3e6)],'top':_0x57da19['y']+_0x45721a-_0x24d21b['ShapeDefaultConfig']['adjHandleSize']});return;}let _0x4e30dd={'left':_0x57da19['x']+_0x381788-_0x24d21b[_0x420b55(0x1a9)][_0x420b55(0x3e6)],'top':_0x57da19['y']+_0x45721a-_0x24d21b[_0x420b55(0x1a9)][_0x420b55(0x3e6)],'adjName':_0x391624,'shapeId':this[_0x420b55(0x376)],'unitId':_0x3bb304,'subUnitId':_0x188602,'width':_0x24d21b[_0x420b55(0x1a9)][_0x420b55(0x3e6)]+0x8,'height':_0x24d21b[_0x420b55(0x1a9)][_0x420b55(0x3e6)]+0x8,'zIndex':_0x4413bb[_0x420b55(0x1ab)]+0x1,'evented':!0x0},_0x2222f7=new _0x4b14c3('shape-adjust-point-'+this[_0x420b55(0x376)]+'-'+_0x391624,_0x4e30dd);this[_0x420b55(0x287)][_0x420b55(0x109)](_0x2222f7),this[_0x420b55(0x247)](_0x2222f7,_0x1024f9,_0x391624),_0x1024f9['addObject'](_0x2222f7,_0x4413bb[_0x420b55(0x1ab)]+0x1);}[_0x1a21ce(0x38d)](){const _0xd04ac6=_0x1a21ce;this[_0xd04ac6(0x287)][_0xd04ac6(0x38a)]!==0x0&&(this['_shapes'][_0xd04ac6(0x123)](_0x37754c=>{const _0x4ed70b=_0xd04ac6;_0x37754c[_0x4ed70b(0x351)]();}),this[_0xd04ac6(0x287)]=[]);}[_0x1a21ce(0x3f4)](){this['_createShapeAdjustControls']();}[_0x1a21ce(0x39b)](_0x1ea425,_0x156ad2){const _0xd4aeca=_0x1a21ce;var _0x2b77d1;let _0x4ea0ac={'x':0x0,'y':0x0};if(!_0x1ea425||!_0x156ad2)return _0x4ea0ac;let _0x4465d7=this[_0xd4aeca(0x411)][_0xd4aeca(0x3ce)](_0x1ea425);if(!_0x4465d7||!_0x4465d7[_0xd4aeca(0x18b)](_0x3e532c['SheetSkeletonManagerService'])[_0xd4aeca(0x1c6)](_0x156ad2))return _0x4ea0ac;let _0x114f83=_0x4465d7[_0xd4aeca(0x18b)](_0x3e532c[_0xd4aeca(0x47c)]),_0x13e8e9=_0x114f83==null?void 0x0:_0x114f83['getCurrentScrollState']();if(!_0x13e8e9)return _0x4ea0ac;let _0x1cc8c5=(_0x2b77d1=this['_univerInstanceService']['getUnit'](_0x1ea425))==null?void 0x0:_0x2b77d1[_0xd4aeca(0x1c4)](_0x156ad2);if(!_0x1cc8c5)return _0x4ea0ac;let _0x60aabb=(0x0,_0x3e532c[_0xd4aeca(0x3d0)])(_0x13e8e9[_0xd4aeca(0x3ff)],_0x13e8e9[_0xd4aeca(0x4b0)],_0x4465d7[_0xd4aeca(0x2d7)],_0x1cc8c5);return _0x60aabb?{'x':_0x60aabb[_0xd4aeca(0xfd)],'y':_0x60aabb[_0xd4aeca(0x491)]}:_0x4ea0ac;}[_0x1a21ce(0x129)](_0x4767ff,_0x8062e3){const _0x96225b=_0x1a21ce;var _0x415397;let _0x48ed8f=(_0x415397=this['_univerInstanceService'][_0x96225b(0x412)](_0x4767ff))==null?void 0x0:_0x415397['getSheetBySheetId'](_0x8062e3);return(_0x48ed8f==null?void 0x0:_0x48ed8f['getZoomRatio']())??0x1;}['_attachAdjustEvent'](_0x255516,_0x2b762d,_0x1d6c9b){const _0x4025d7=_0x1a21ce;this[_0x4025d7(0x4c4)]((0x0,_0x5cf0ce[_0x4025d7(0xff)])(_0x255516[_0x4025d7(0x39e)]['subscribeEvent']((_0x2ba061,_0x57e857)=>{const _0x5b36a2=_0x4025d7;var _0xb86c39,_0x28137a,_0x7d659e,_0x4361f1;let _0x15c653=_0x255516[_0x5b36a2(0x1a8)]();this[_0x5b36a2(0x209)]=this[_0x5b36a2(0x489)](_0x15c653[_0x5b36a2(0x197)],_0x15c653['subUnitId'],_0x15c653[_0x5b36a2(0x1f5)],_0x1d6c9b),this[_0x5b36a2(0xf3)]=this[_0x5b36a2(0x23a)][_0x5b36a2(0x49e)](_0x15c653[_0x5b36a2(0x197)],_0x15c653[_0x5b36a2(0x4b3)],_0x15c653[_0x5b36a2(0x1f5)]);let _0x25399a=this[_0x5b36a2(0x383)][_0x5b36a2(0x214)]({'unitId':this[_0x5b36a2(0x29c)],'subUnitId':this[_0x5b36a2(0x251)],'drawingId':this['_activeShapeId']}),{transform:_0x3cb29d}=_0x25399a;if(_0x3cb29d){let {left:_0x208e49,top:_0x3580d7,width:_0x57586b,height:_0x1ac71f}=_0x3cb29d;this['_baseShapeLeft']=_0x208e49||0x0,this[_0x5b36a2(0x274)]=_0x3580d7||0x0,this[_0x5b36a2(0x423)]=_0x57586b||0x0,this[_0x5b36a2(0x3d5)]=_0x1ac71f||0x0;}let _0x538e8f=!!((_0xb86c39=_0x25399a[_0x5b36a2(0x3a9)])!=null&&_0xb86c39['flipX']),_0x4efa58=!!((_0x28137a=_0x25399a['transform'])!=null&&_0x28137a[_0x5b36a2(0x488)]),_0x281bf=((_0x7d659e=_0x25399a[_0x5b36a2(0x3a9)])==null?void 0x0:_0x7d659e[_0x5b36a2(0x11e)])||0x0;this[_0x5b36a2(0x3fe)]=!0x0,_0x2b762d['disableObjectsEvent']();let _0xdeaf3e={...((_0x4361f1=this[_0x5b36a2(0x209)])==null?void 0x0:_0x4361f1['currentAdjustValues'])??{}};this[_0x5b36a2(0x1eb)]=_0x2b762d[_0x5b36a2(0xee)][_0x5b36a2(0x3fc)]((_0x238c97,_0x549164)=>{const _0x11fcf5=_0x5b36a2;if(!this[_0x11fcf5(0x3fe)])return;let {offsetX:_0x227657,offsetY:_0x38c68b}=_0x238c97,_0x1a2902=this['_activeAdjustInfo'];if(this['_activeShapeModel']&&_0x1a2902){_0x2b762d[_0x11fcf5(0x2c1)](),_0x2b762d[_0x11fcf5(0x379)](_0x4413bb['CURSOR_TYPE'][_0x11fcf5(0x44d)]);let _0x48b3d7={'left':0x0,'top':0x0,'width':this[_0x11fcf5(0x423)],'height':this[_0x11fcf5(0x3d5)]},_0x1c9d45=this['_getScrollInfo'](this[_0x11fcf5(0x29c)],this[_0x11fcf5(0x251)]),_0x5a3892=this[_0x11fcf5(0x129)](this[_0x11fcf5(0x29c)],this[_0x11fcf5(0x251)]),_0x5ceda8=_0x227657/_0x5a3892+_0x1c9d45['x']-this['_baseShapeLeft'],_0x13fe20=_0x38c68b/_0x5a3892+_0x1c9d45['y']-this['_baseShapeTop'];if(_0x281bf!==0x0){let _0x4bf44d=this['_baseShapeWidth']/0x2,_0x3292cf=this[_0x11fcf5(0x3d5)]/0x2,_0x2db334=_0x281bf*Math['PI']/0xb4,_0x4fd8d1=Math[_0x11fcf5(0x127)](_0x2db334),_0x5b8ce4=Math[_0x11fcf5(0x1bc)](_0x2db334),_0x22e726=_0x5ceda8-_0x4bf44d,_0x144583=_0x13fe20-_0x3292cf;_0x5ceda8=_0x4bf44d+(_0x22e726*_0x4fd8d1+_0x144583*_0x5b8ce4),_0x13fe20=_0x3292cf+(-_0x22e726*_0x5b8ce4+_0x144583*_0x4fd8d1);}_0x538e8f&&(_0x5ceda8=this[_0x11fcf5(0x423)]-_0x5ceda8),_0x4efa58&&(_0x13fe20=this[_0x11fcf5(0x3d5)]-_0x13fe20);let _0xb9379d={'x':_0x5ceda8,'y':_0x13fe20},_0x5a36dc=this[_0x11fcf5(0xf3)][_0x11fcf5(0x133)](_0x48b3d7,_0xb9379d,_0x1a2902,_0x538e8f,_0x4efa58);if(Object[_0x11fcf5(0x353)](_0x5a36dc)[_0x11fcf5(0x38a)]===0x0)return;for(let [_0xee978d,_0x10ed49]of Object[_0x11fcf5(0x210)](_0x5a36dc))this[_0x11fcf5(0xf3)][_0x11fcf5(0x44b)](_0xee978d,_0x10ed49);this['_activeShapeModel'][_0x11fcf5(0x433)]({'width':this[_0x11fcf5(0x423)],'height':this[_0x11fcf5(0x3d5)]});let _0x906e3a=this[_0x11fcf5(0x383)][_0x11fcf5(0x214)]({'unitId':_0x15c653[_0x11fcf5(0x197)],'subUnitId':_0x15c653[_0x11fcf5(0x4b3)],'drawingId':_0x15c653[_0x11fcf5(0x1f5)]});_0x906e3a&&(this['_sheetDrawingShapeRenderController'][_0x11fcf5(0x1d5)](_0x906e3a,_0x2b762d),this[_0x11fcf5(0x1ce)]=this[_0x11fcf5(0x2b5)](_0x15c653[_0x11fcf5(0x197)],_0x15c653[_0x11fcf5(0x4b3)],_0x15c653['drawingId']),this[_0x11fcf5(0x3f4)]());}_0x549164[_0x11fcf5(0x344)]();}),this[_0x5b36a2(0x2e3)]=_0x2b762d[_0x5b36a2(0x3c5)][_0x5b36a2(0x3fc)]((_0x1f2bba,_0x5c066b)=>{const _0xe80bc5=_0x5b36a2;this[_0xe80bc5(0x1eb)][_0xe80bc5(0x15a)](),this[_0xe80bc5(0x2e3)]['unsubscribe'](),_0x2b762d[_0xe80bc5(0x3c0)]();let _0x5172eb=this[_0xe80bc5(0x209)];if(_0x5172eb){let _0x5913f9=_0x15c653[_0xe80bc5(0x197)],_0x3790ec=_0x15c653[_0xe80bc5(0x4b3)],_0x4079e3=_0x15c653[_0xe80bc5(0x1f5)],_0x50526e={};for(let _0xc4e96c of Object[_0xe80bc5(0x353)](_0x5172eb[_0xe80bc5(0xf8)])){var _0x5ab3ab;let _0x541f6d=(_0x5ab3ab=this[_0xe80bc5(0xf3)])==null?void 0x0:_0x5ab3ab[_0xe80bc5(0x317)](_0xc4e96c);_0x541f6d!==void 0x0&&(_0x50526e[_0xc4e96c]=_0x541f6d);}Object[_0xe80bc5(0x353)](_0x50526e)[_0xe80bc5(0x38a)]>0x0&&_0x12c3ae(this[_0xe80bc5(0x378)],_0x5913f9,_0x3790ec,_0x4079e3,{'oldShapeData':{'adjustValues':_0xdeaf3e}},{'adjustValues':_0x50526e});}this[_0xe80bc5(0x209)]=void 0x0,this[_0xe80bc5(0xf3)]=void 0x0,this['_isStartAdjusting']=!0x1,_0x5c066b['stopPropagation'](),_0x2b762d['enableObjectsEvent']();}),_0x57e857[_0x5b36a2(0x344)]();})));}[_0x1a21ce(0x293)](){const _0x1849eb=_0x1a21ce;let _0x5a7a03=this[_0x1849eb(0x2d5)][_0x1849eb(0x17a)](_0x5cf0ce[_0x1849eb(0x21e)][_0x1849eb(0x3a3)]);this[_0x1849eb(0x4c4)](_0x5a7a03[_0x1849eb(0x472)]((0x0,_0x4cb228[_0x1849eb(0x116)])(_0x498645=>_0x498645?_0x498645['activeSheet$'][_0x1849eb(0x472)]((0x0,_0x4cb228[_0x1849eb(0x116)])(_0x43e22d=>{const _0x211c6e=_0x1849eb;if(!_0x43e22d)return _0x4cb228[_0x211c6e(0x223)];let _0x4e871d=_0x498645[_0x211c6e(0x290)](),_0x2c5be1=this[_0x211c6e(0x411)][_0x211c6e(0x3ce)](_0x4e871d),_0x33b1bf=_0x2c5be1==null?void 0x0:_0x2c5be1[_0x211c6e(0x2d7)];return _0x33b1bf?(0x0,_0x4cb228['of'])(_0x33b1bf):_0x4cb228[_0x211c6e(0x223)];})):_0x4cb228['EMPTY']))[_0x1849eb(0x3e7)](_0x5150f4=>{const _0x3f98c2=_0x1849eb;let _0x320318=_0x5150f4['getTransformerByCreate']();this[_0x3f98c2(0x4c4)](_0x5150f4[_0x3f98c2(0xee)][_0x3f98c2(0x3fc)](()=>{this['_isShouldShowDrawingShapeAdjust'];})),this[_0x3f98c2(0x4c4)](_0x320318[_0x3f98c2(0x3f9)][_0x3f98c2(0x3e7)](_0x89b43=>{const _0x118942=_0x3f98c2;let {objects:_0x449c9c}=_0x89b43;this[_0x118942(0x3d6)](),_0x449c9c!==null&&_0x449c9c[_0x118942(0x32b)]===0x1&&_0x449c9c[_0x118942(0x3da)]()[_0x118942(0x395)]()[_0x118942(0x2f5)]instanceof _0x4d7701&&this['setShouldShowAdjust'](!0x0);})),this[_0x3f98c2(0x4c4)](_0x320318[_0x3f98c2(0x4ab)][_0x3f98c2(0x3e7)](()=>{const _0x2db122=_0x3f98c2;this[_0x2db122(0x1b8)]&&this[_0x2db122(0x38d)]();})),this['disposeWithMe'](_0x5150f4['onPointerUp$'][_0x3f98c2(0x3fc)](()=>{const _0x391f90=_0x3f98c2;this[_0x391f90(0x1b8)]&&(this[_0x391f90(0x2e5)](!0x1),this[_0x391f90(0x3d6)]());})),this[_0x3f98c2(0x4c4)](_0x320318[_0x3f98c2(0x154)][_0x3f98c2(0x3e7)](()=>{const _0x12bd36=_0x3f98c2;this[_0x12bd36(0x29c)]&&this[_0x12bd36(0x251)]&&this[_0x12bd36(0x376)]&&this[_0x12bd36(0x383)][_0x12bd36(0x214)]({'unitId':this[_0x12bd36(0x29c)],'subUnitId':this[_0x12bd36(0x251)],'drawingId':this[_0x12bd36(0x376)]})&&(this[_0x12bd36(0x1ce)]=this[_0x12bd36(0x2b5)](this[_0x12bd36(0x29c)],this[_0x12bd36(0x251)],this['_activeShapeId']),this[_0x12bd36(0x3f4)]());}));}));}[_0x1a21ce(0x447)](){const _0x53b9b5=_0x1a21ce;this[_0x53b9b5(0x4c4)](this[_0x53b9b5(0x378)][_0x53b9b5(0x30f)](_0x11bde0=>{const _0x31ee53=_0x53b9b5;if(_0x11bde0['id']!==_0x34e612[_0x31ee53(0x426)]['id'])return;let {unitId:_0x29cb9f,subUnitId:_0x5c0a4f,shapeId:_0x25412f}=_0x11bde0[_0x31ee53(0x46d)];_0x29cb9f===this[_0x31ee53(0x29c)]&&_0x5c0a4f===this['_subUnitId']&&_0x25412f===this['_activeShapeId']&&this['refreshAdjustControls']();})),this[_0x53b9b5(0x4c4)](this[_0x53b9b5(0x383)][_0x53b9b5(0x28c)][_0x53b9b5(0x3e7)](_0x295f40=>{const _0x3a1cb8=_0x53b9b5;if(_0x295f40[_0x3a1cb8(0x38a)]===0x1){let _0xaddfe9=_0x295f40[0x0];if(_0xaddfe9['drawingType']===_0x5cf0ce['DrawingTypeEnum'][_0x3a1cb8(0x33f)]&&this[_0x3a1cb8(0x2d5)][_0x3a1cb8(0xf2)](_0xaddfe9[_0x3a1cb8(0x197)])===_0x5cf0ce[_0x3a1cb8(0x21e)][_0x3a1cb8(0x3a3)]){this[_0x3a1cb8(0x376)]=_0xaddfe9[_0x3a1cb8(0x1f5)];let {unitId:_0x281f0a,subUnitId:_0x1a5be1}=_0xaddfe9;this[_0x3a1cb8(0x1ce)]=this[_0x3a1cb8(0x2b5)](_0x281f0a,_0x1a5be1,this[_0x3a1cb8(0x376)]),this['_unitId']=_0x281f0a,this[_0x3a1cb8(0x251)]=_0x1a5be1,this[_0x3a1cb8(0x38d)](),this[_0x3a1cb8(0x3d6)]();return;}}this['_activeShapeId']=null,this[_0x3a1cb8(0x1ce)]=void 0x0,this[_0x3a1cb8(0x29c)]=null,this[_0x3a1cb8(0x251)]=null,this[_0x3a1cb8(0x38d)]();})),this[_0x53b9b5(0x4c4)](this[_0x53b9b5(0x383)]['update$'][_0x53b9b5(0x3e7)](_0x13204d=>{const _0x24f762=_0x53b9b5;if(_0x13204d[_0x24f762(0x38a)]===0x1){var _0x50af7d;let _0x34f1d3=_0x13204d[0x0];((_0x50af7d=this[_0x24f762(0x383)][_0x24f762(0x214)](_0x34f1d3))==null?void 0x0:_0x50af7d['drawingType'])===_0x5cf0ce[_0x24f762(0x1c1)][_0x24f762(0x33f)]&&this[_0x24f762(0x36f)](!0x0);}})),this[_0x53b9b5(0x4c4)](this['_drawingManagerService'][_0x53b9b5(0x44c)]['subscribe'](_0x5c3e61=>{const _0x184d9a=_0x53b9b5;for(let _0x2aa5fb of _0x5c3e61)this[_0x184d9a(0x376)]===_0x2aa5fb[_0x184d9a(0x1f5)]&&(this[_0x184d9a(0x376)]=null,this[_0x184d9a(0x1ce)]=void 0x0,this[_0x184d9a(0x29c)]=null,this[_0x184d9a(0x251)]=null,this['_clearShapeAdjustControls']());}));}};_0x5f5333=_0x3f6514([_0x4512b4(0x0,_0x2a2438[_0x1a21ce(0x3e4)]),_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x34e612[_0x1a21ce(0x457)])),_0x4512b4(0x2,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x4413bb[_0x1a21ce(0x399)])),_0x4512b4(0x3,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x251705)),_0x4512b4(0x4,_0x5cf0ce['IUniverInstanceService']),_0x4512b4(0x5,_0x5cf0ce[_0x1a21ce(0x311)])],_0x5f5333);let _0x1bb1ad={'id':_0x1a21ce(0x139),'type':_0x5cf0ce['CommandType']['OPERATION'],'handler':(_0x3e80a7,_0x4b8a3b)=>{const _0x3eb894=_0x1a21ce;let _0x3d778f=_0x3e80a7[_0x3eb894(0x170)](_0x2a2438[_0x3eb894(0x3e4)]),_0x15c8a8=_0x3e80a7[_0x3eb894(0x170)](_0x4413bb[_0x3eb894(0x399)]),_0x35a031=_0x3e80a7[_0x3eb894(0x170)](_0x5f5333);if(_0x4b8a3b==null)return!0x0;if(_0x4b8a3b['length']>0x0){var _0x50b0d6;let _0x2143b1=(_0x50b0d6=_0x15c8a8[_0x3eb894(0x3ce)](_0x4b8a3b[0x0][_0x3eb894(0x197)]))==null?void 0x0:_0x50b0d6['scene'];if(_0x2143b1){let {unitId:_0x155933,subUnitId:_0x27322c,drawingId:_0x5a9f6a}=_0x4b8a3b[0x0],_0x233d3e=(0x0,_0x2a2438[_0x3eb894(0x414)])({'unitId':_0x155933,'subUnitId':_0x27322c,'drawingId':_0x5a9f6a},void 0x0),_0x5d038e=_0x2143b1[_0x3eb894(0x26e)](_0x233d3e);if(_0x5d038e){var _0x51c8d9;(_0x51c8d9=_0x15c8a8[_0x3eb894(0x3ce)](_0x4b8a3b[0x0][_0x3eb894(0x197)]))==null||(_0x51c8d9=_0x51c8d9[_0x3eb894(0x2d7)]['getTransformer']())==null||_0x51c8d9[_0x3eb894(0x277)](_0x5d038e);}}_0x3d778f[_0x3eb894(0x149)](_0x4b8a3b),_0x35a031[_0x3eb894(0x2e5)](!0x1);}return!0x0;}},_0x224af7={'type':_0x5cf0ce['CommandType'][_0x1a21ce(0x224)],'id':_0x1a21ce(0x12a),'handler':async(_0x2d2bee,_0x17b799)=>{const _0x5b0e6d=_0x1a21ce;let _0x52dc85=(0x0,_0xdab3fa[_0x5b0e6d(0x12f)])(_0x2d2bee['get'](_0x5cf0ce[_0x5b0e6d(0x1d2)]));if(!_0x52dc85)return!0x1;let _0x3a24e3=_0x2d2bee['get'](_0xdab3fa[_0x5b0e6d(0x230)])[_0x5b0e6d(0x182)]();if(!_0x3a24e3)return!0x1;let _0x407c6f=_0x2d2bee[_0x5b0e6d(0x170)](_0x5cf0ce[_0x5b0e6d(0x311)]),{unitId:_0x189d50,subUnitId:_0x258bb0}=_0x52dc85,{value:_0x335838,enhanceParams:_0x29eecd}=_0x17b799,{range:_0x57b67c}=_0x3a24e3,_0x2f82e2={'unitId':_0x189d50,'subUnitId':_0x258bb0,'shapeType':_0x335838,'range':_0x57b67c,'shapeId':(0x0,_0x5cf0ce[_0x5b0e6d(0x1a3)])()};if(_0x29eecd){let _0x522425=(0x0,_0x24d21b[_0x5b0e6d(0x373)])(_0x335838),_0x6c2c73=_0x335838===_0x24d21b[_0x5b0e6d(0x4a6)][_0x5b0e6d(0x34e)];_0x522425&&(_0x29eecd[_0x5b0e6d(0x288)]||_0x29eecd[_0x5b0e6d(0x1c5)])&&(_0x2f82e2['shapeData']={'ln':{'startArrow':_0x29eecd[_0x5b0e6d(0x288)]?{'type':_0x24d21b['ShapeArrowTypeEnum'][_0x5b0e6d(0x259)],'size':_0x24d21b[_0x5b0e6d(0x313)][_0x5b0e6d(0x3a5)]}:void 0x0,'endArrow':_0x29eecd[_0x5b0e6d(0x1c5)]?{'type':_0x24d21b['ShapeArrowTypeEnum'][_0x5b0e6d(0x259)],'size':_0x24d21b[_0x5b0e6d(0x313)]['Large']}:void 0x0}}),_0x6c2c73&&(_0x29eecd['horizontal']||_0x29eecd['vertical'])&&(_0x2f82e2[_0x5b0e6d(0x476)]=(0x0,_0x1b3552[_0x5b0e6d(0x486)])({'fill':{'fillType':_0x24d21b[_0x5b0e6d(0x4b4)][_0x5b0e6d(0x1ff)],'color':_0x5b0e6d(0x2e1)},'isHorizontal':!!_0x29eecd['horizontal'],'stroke':{'lineStrokeType':_0x24d21b[_0x5b0e6d(0x2ec)][_0x5b0e6d(0x2c4)],'width':0x1,'color':_0x5b0e6d(0x480)}}));}let _0x82604e=_0x407c6f['syncExecuteCommand'](_0x34e612['InsertShapeCommand']['id'],_0x2f82e2);return setTimeout(()=>{const _0xa36e8b=_0x5b0e6d;_0x407c6f['executeCommand'](_0x1bb1ad['id'],[{'unitId':_0x189d50,'subUnitId':_0x258bb0,'drawingId':_0x2f82e2[_0xa36e8b(0x1b1)]}]);},0xc8),_0x82604e;}},_0x454d12=_0x1a21ce(0x43e),_0x56bb7a=_0x1a21ce(0x13f),_0x1931aa=_0x1a21ce(0x226),_0x1e91c2='sheets-shape-ui.ribbon.shape-format',_0x4a60e9=(0x0,_0x5cf0ce[_0x1a21ce(0x1bd)])(_0x1a21ce(0xeb)),_0x4da57b=_0x1a21ce(0x184),_0x106220={'id':_0x1a21ce(0x248),'type':_0x5cf0ce[_0x1a21ce(0x244)][_0x1a21ce(0x224)],'handler':(_0x22ca96,_0x38e73b)=>{const _0x3f7b47=_0x1a21ce;let _0x19cdd4=_0x22ca96[_0x3f7b47(0x170)](_0x416351[_0x3f7b47(0x3bb)]),_0x3cae57=_0x22ca96[_0x3f7b47(0x170)](_0x5cf0ce[_0x3f7b47(0x4ac)]),_0x4493af=_0x22ca96[_0x3f7b47(0x170)](_0x5cf0ce[_0x3f7b47(0x1d2)]),_0x2a9f8c=_0x22ca96[_0x3f7b47(0x170)](_0x5cf0ce[_0x3f7b47(0x311)]);return(0x0,_0xdab3fa['getSheetCommandTarget'])(_0x4493af)?(_0x38e73b==null?void 0x0:_0x38e73b[_0x3f7b47(0x2f5)])===_0x3f7b47(0x1b2)?(_0x19cdd4[_0x3f7b47(0x1b2)](_0x56bb7a),!0x0):(_0x19cdd4[_0x3f7b47(0x31d)]({'id':_0x56bb7a,'header':{'title':_0x3cae57['t'](_0x3f7b47(0x482))},'children':{'label':_0x56bb7a},'onClose':()=>{const _0x1fb8dc=_0x3f7b47;_0x2a9f8c[_0x1fb8dc(0x25e)](_0x2a2438[_0x1fb8dc(0x2db)]['id'],[]);},'width':0x168}),!0x0):!0x1;}},_0x212f1d={'type':_0x5cf0ce[_0x1a21ce(0x244)]['OPERATION'],'id':_0x1a21ce(0x25d),'handler'(){return!0x0;}};function _0x231ff5(_0x4c4ff9){const _0x305e49=_0x1a21ce;let _0xf564be=_0x4c4ff9['get'](_0x2a2438[_0x305e49(0x3e4)])[_0x305e49(0x314)](),_0x79aff6=_0xf564be[_0x305e49(0x38a)]===0x1?_0xf564be[0x0]:null;if(!_0x79aff6||_0x79aff6['drawingType']!==_0x5cf0ce[_0x305e49(0x1c1)]['DRAWING_SHAPE'])return null;let _0x1292d7=_0x4c4ff9[_0x305e49(0x170)](_0x34e612[_0x305e49(0x457)]),_0x5159fd=_0x1292d7[_0x305e49(0x396)](_0x79aff6[_0x305e49(0x197)],_0x79aff6['subUnitId'],_0x79aff6['drawingId']),_0x2a5a06=_0x1292d7['getShapeDataById'](_0x79aff6['unitId'],_0x79aff6[_0x305e49(0x4b3)],_0x79aff6['drawingId']);return _0x5159fd===void 0x0||!_0x2a5a06?null:{'drawing':_0x79aff6,'shapeData':_0x2a5a06,'shapeType':_0x5159fd};}let _0x325d8a={'id':_0x1a21ce(0x440),'type':_0x5cf0ce['CommandType'][_0x1a21ce(0x173)],'handler':(_0x1cdd68,_0x50b7b1)=>{const _0x4df69e=_0x1a21ce;let _0x107e52=_0x231ff5(_0x1cdd68),_0x57d9fa=(0x0,_0x1b3552[_0x4df69e(0x394)])((_0x50b7b1==null?void 0x0:_0x50b7b1[_0x4df69e(0x1f8)])??(_0x50b7b1==null?void 0x0:_0x50b7b1['value'])??'');if(!_0x107e52||!_0x57d9fa||_0x57d9fa['type']!==(0x0,_0x1b3552[_0x4df69e(0x468)])(_0x107e52[_0x4df69e(0x476)]))return!0x1;let _0x156d69=(0x0,_0x1b3552['applyQuickStyleToShapeData'])(_0x107e52[_0x4df69e(0x476)],_0x57d9fa);if(!_0x156d69)return!0x1;let {drawing:_0x136ffb}=_0x107e52;return _0x1cdd68[_0x4df69e(0x170)](_0x5cf0ce[_0x4df69e(0x311)])[_0x4df69e(0x2af)](_0x25f5b2['id'],{'unitId':_0x136ffb[_0x4df69e(0x197)],'subUnitId':_0x136ffb[_0x4df69e(0x4b3)],'shapeId':_0x136ffb[_0x4df69e(0x1f5)],'shapeData':_0x156d69,'oldShapeJSON':{'oldShapeData':_0x107e52[_0x4df69e(0x476)]}});}},_0x684ce2={'id':_0x1a21ce(0xf1),'type':_0x5cf0ce[_0x1a21ce(0x244)]['OPERATION'],'handler':(_0x25cc59,_0x3fff0c)=>{const _0x432251=_0x1a21ce;let _0x2c71c5=_0x231ff5(_0x25cc59),_0x1452cd=(_0x3fff0c==null?void 0x0:_0x3fff0c[_0x432251(0xde)])??(_0x3fff0c==null?void 0x0:_0x3fff0c['value']);if(!_0x2c71c5||!_0x1452cd||(0x0,_0x24d21b[_0x432251(0x373)])(_0x2c71c5[_0x432251(0xde)])||(0x0,_0x24d21b[_0x432251(0x373)])(_0x1452cd))return!0x1;let _0x26b3d4=(0x0,_0x1b3552[_0x432251(0x24e)])(_0x2c71c5[_0x432251(0x476)],_0x1452cd);if(!_0x26b3d4)return!0x1;let {drawing:_0x2079f5}=_0x2c71c5;return _0x25cc59[_0x432251(0x170)](_0x5cf0ce[_0x432251(0x311)])[_0x432251(0x2af)](_0x25f5b2['id'],{'unitId':_0x2079f5[_0x432251(0x197)],'subUnitId':_0x2079f5[_0x432251(0x4b3)],'shapeId':_0x2079f5['drawingId'],'shapeType':_0x1452cd,'shapeData':_0x26b3d4,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x2c71c5[_0x432251(0xde)],'oldShapeData':_0x2c71c5[_0x432251(0x476)]}});}},_0x133380=class extends _0x5cf0ce['Disposable']{constructor(_0x4ef60d,_0x330498){const _0x23bbd6=_0x1a21ce;super(),this[_0x23bbd6(0x122)]=_0x4ef60d,this[_0x23bbd6(0x383)]=_0x330498,this[_0x23bbd6(0x3d1)](),this['_clipService'][_0x23bbd6(0x367)](!0x0),this[_0x23bbd6(0x4c4)]({'dispose':()=>this[_0x23bbd6(0x122)]['setCanUseShapeClip'](!0x1)});}['_registerImageShapeClipDelegate'](){const _0x40c5f0=_0x1a21ce;let _0x5c5a2b=this['_clipService'],_0x38328e=new Map(),_0x545c63=_0x5c5a2b[_0x40c5f0(0x205)]((_0xccdd2c,_0x17cd90,_0x82ae83,_0x4a4cbe,_0x89c359)=>{const _0x15c5a3=_0x40c5f0;let _0x2c805b=_0x17cd90;if(_0x2c805b===_0x24d21b[_0x15c5a3(0x4a6)][_0x15c5a3(0x31c)]||_0x17cd90===_0x15c5a3(0x1d0))return!0x1;try{let _0x71c6b1=_0x38328e[_0x15c5a3(0x170)](_0x17cd90);return _0x71c6b1||(_0x71c6b1=new _0x24d21b['ShapeModel'](_0x2c805b,_0x15c5a3(0x1e3)+_0x17cd90),_0x38328e[_0x15c5a3(0x153)](_0x17cd90,_0x71c6b1)),_0x71c6b1[_0x15c5a3(0x1b7)](),_0x89c359&&Object[_0x15c5a3(0x353)](_0x89c359)[_0x15c5a3(0x38a)]>0x0&&_0x71c6b1['setShapeData']({'adjustValues':_0x89c359},!0x0),_0x71c6b1[_0x15c5a3(0x433)]({'width':_0x82ae83,'height':_0x4a4cbe}),_0x71c6b1[_0x15c5a3(0x16a)](_0xccdd2c,{'left':0x0,'top':0x0,'width':_0x82ae83,'height':_0x4a4cbe});}catch{return!0x1;}});this['disposeWithMe'](_0x545c63),this[_0x40c5f0(0x4c4)]({'dispose':()=>_0x38328e[_0x40c5f0(0x2c6)]()});}['clipByShape'](_0x483c64,_0x3deffb,_0x4607b1,_0x5abb16,_0x5692ae){const _0x24a414=_0x1a21ce;let _0x4797b7=this['_drawingManagerService'][_0x24a414(0x385)](_0x483c64,_0x3deffb);if(!_0x4797b7[_0x4607b1])return;let _0x1471d2={..._0x4797b7[_0x4607b1],'prstGeom':_0x5abb16,'adjustValues':_0x5692ae};this[_0x24a414(0x383)][_0x24a414(0x18a)]([_0x1471d2]);}};_0x133380=_0x3f6514([_0x4512b4(0x0,(0x0,_0x5cf0ce['Inject'])(_0x11fb86['DrawingImageClipService'])),_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x2a2438[_0x1a21ce(0x3e4)]))],_0x133380);let _0x116576=_0x1a21ce(0xec),_0x4a940a='sheet.image-clip.shape-picker.component';function _0x375678({onShapeClick:_0x5634c3,excludeGroups:_0x32d075}){const _0x28c27b=_0x1a21ce;return(0x0,_0x53553e[_0x28c27b(0x404)])(_0x3ed8c6['ShapePickerPanel'],{'excludeGroups':_0x32d075,'onShapeClick':_0x5634c3,'scrollContainer':_0x28c27b(0x2ac)});}function _0x4dc294(){const _0x4572df=_0x1a21ce;let _0xc4ff14=(0x0,_0x416351[_0x4572df(0x20b)])(_0x2a2438[_0x4572df(0x3e4)]),_0x5221e9=(0x0,_0x416351['useDependency'])(_0x133380);return(0x0,_0x53553e[_0x4572df(0x404)])(_0x3ed8c6[_0x4572df(0x456)],{'buttonLabel':_0x4572df(0x474),'excludeGroups':[_0x3ed8c6['ShapeGroupEnum']['Line']],'onShapeClick':_0x173d13=>{const _0x4bf23f=_0x4572df;let _0x42f3c9=_0xc4ff14[_0x4bf23f(0x314)]()[_0x4bf23f(0x169)](_0x5b4d05=>_0x5b4d05[_0x4bf23f(0x497)]===_0x5cf0ce[_0x4bf23f(0x1c1)][_0x4bf23f(0x236)]);if(!_0x42f3c9)return;let {unitId:_0x2d9998,subUnitId:_0x92d000,drawingId:_0x51d173}=_0x42f3c9;_0x5221e9[_0x4bf23f(0x215)](_0x2d9998,_0x92d000,_0x51d173,_0x173d13[_0x4bf23f(0x3cb)]);}});}function _0x1d34b4(){const _0x40eb7f=_0x1a21ce;let _0x485dc4=(0x0,_0x416351[_0x40eb7f(0x20b)])(_0x2a2438['IDrawingManagerService']),_0x596281=(0x0,_0x416351[_0x40eb7f(0x20b)])(_0x133380);return(0x0,_0x53553e[_0x40eb7f(0x404)])(_0x3ed8c6['ShapePickerDropdown'],{'buttonLabel':_0x40eb7f(0x474),'excludeGroups':[_0x3ed8c6[_0x40eb7f(0x125)][_0x40eb7f(0x35a)]],'DropdownComponent':_0x3da0dc[_0x40eb7f(0x2d1)],'onShapeClick':_0x173633=>{const _0x478f43=_0x40eb7f;let _0x413046=_0x485dc4['getFocusDrawings']()[_0x478f43(0x169)](_0x11c085=>_0x11c085[_0x478f43(0x497)]===_0x5cf0ce[_0x478f43(0x1c1)][_0x478f43(0x236)]);if(!_0x413046)return;let {unitId:_0x3de7c8,subUnitId:_0x3c2154,drawingId:_0xb85c06}=_0x413046;_0x596281['clipByShape'](_0x3de7c8,_0x3c2154,_0xb85c06,_0x173633[_0x478f43(0x3cb)]);}});}function _0x5d1131(){const _0x580e59=_0x1a21ce;let _0x363da5=(0x0,_0x416351[_0x580e59(0x20b)])(_0x416351[_0x580e59(0x273)]),_0x54e5e5=(0x0,_0x416351[_0x580e59(0x20b)])(_0x2a2438[_0x580e59(0x3e4)]),_0x4087af=(0x0,_0x416351[_0x580e59(0x20b)])(_0x5cf0ce[_0x580e59(0x1d2)]),_0x4121b4=_0x54e5e5[_0x580e59(0x314)]()[0x0],_0x232344=_0x4121b4?_0x4087af[_0x580e59(0xf2)](_0x4121b4[_0x580e59(0x197)]):void 0x0,_0x12ad55=_0x232344===_0x5cf0ce[_0x580e59(0x21e)][_0x580e59(0x32e)]?_0x580e59(0x28b):_0x232344===_0x5cf0ce[_0x580e59(0x21e)][_0x580e59(0x3a3)]?_0x4a940a:void 0x0,_0x20d999=_0x12ad55?_0x363da5[_0x580e59(0x170)](_0x12ad55):void 0x0;return _0x20d999?(0x0,_0x53553e[_0x580e59(0x404)])(_0x20d999,{}):null;}function _0x52aff6(){const _0x247dee=_0x1a21ce;let _0x43da9f=(0x0,_0x416351[_0x247dee(0x20b)])(_0x5cf0ce[_0x247dee(0x311)]);return(0x0,_0x53553e[_0x247dee(0x404)])(_0x375678,{'onShapeClick':_0x1ab45=>{const _0x4bc01a=_0x247dee;_0x43da9f['executeCommand'](_0x224af7['id'],{'value':_0x1ab45[_0x4bc01a(0x3cb)],'enhanceParams':{'endArrow':_0x1ab45['endArrow'],'startArrow':_0x1ab45[_0x4bc01a(0x288)],'horizontal':_0x1ab45[_0x4bc01a(0x10c)],'vertical':_0x1ab45[_0x4bc01a(0x45d)]}});}});}function _0x15bbb6(){const _0x5edd35=_0x1a21ce;return(0x0,_0x53553e[_0x5edd35(0x404)])(_0x52aff6,{});}function _0x2b3cc1(_0x4de023){const _0x980395=_0x1a21ce;let _0x2d44a7=_0x4de023[_0x980395(0x170)](_0x5cf0ce[_0x980395(0x1d2)]);return{'id':_0x224af7['id'],'type':_0x416351[_0x980395(0x2cc)][_0x980395(0xfe)],'selections':[{'label':{'name':_0x116576,'hoverable':!0x1,'selectable':!0x1,'props':{'id':_0x224af7['id']}}}],'icon':_0x980395(0x410),'tooltip':_0x980395(0xdb),'activated$':(0x0,_0x3e532c[_0x980395(0x29a)])(_0x2d44a7,!0x1,()=>new _0x4cb228[(_0x980395(0x3a0))](_0x4f9c90=>{const _0x248866=_0x980395;_0x4f9c90[_0x248866(0x395)](!0x1);})),'hidden$':(0x0,_0x416351[_0x980395(0x43c)])(_0x4de023,_0x5cf0ce[_0x980395(0x21e)][_0x980395(0x3a3)]),'disabled$':(0x0,_0x3e532c['getCurrentRangeDisable$'])(_0x4de023)};}function _0xff80a(_0x287435){const _0x2358e8=_0x1a21ce;let _0x40308c=_0x287435['get'](_0x5cf0ce[_0x2358e8(0x1d2)]);return{'id':_0x106220['id'],'type':_0x416351['MenuItemType'][_0x2358e8(0x2dd)],'icon':_0x2358e8(0x302),'title':_0x2358e8(0x34f),'tooltip':_0x2358e8(0x34f),'activated$':(0x0,_0x3e532c[_0x2358e8(0x29a)])(_0x40308c,!0x1,()=>new _0x4cb228['Observable'](_0xe56569=>{const _0x360c1e=_0x2358e8;_0xe56569[_0x360c1e(0x395)](!0x1);})),'hidden$':(0x0,_0x416351['getMenuHiddenObservable'])(_0x287435,_0x5cf0ce[_0x2358e8(0x21e)]['UNIVER_SHEET']),'disabled$':(0x0,_0x3e532c[_0x2358e8(0x330)])(_0x287435)};}let _0x1eed22=_0x1a21ce(0x485),_0x2d888b=_0x1a21ce(0x3a6);function _0x649d72(_0x45c1ce){const _0x2cbfbe=_0x1a21ce;let _0xd9fbdb=_0x45c1ce[_0x2cbfbe(0x170)](_0x2a2438['IDrawingManagerService'])['getFocusDrawings']();return _0xd9fbdb['length']===0x1&&_0xd9fbdb[0x0]['drawingType']===_0x5cf0ce[_0x2cbfbe(0x1c1)][_0x2cbfbe(0x33f)]?_0xd9fbdb[0x0]:null;}function _0x3fc561(_0x4d5bd5){const _0x2a24dd=_0x1a21ce;let _0x1ae822=_0x4d5bd5['get'](_0x2a2438['IDrawingManagerService']);return _0x1ae822['focus$'][_0x2a24dd(0x472)]((0x0,_0x4cb228[_0x2a24dd(0x40b)])(_0x1ae822['getFocusDrawings']()),(0x0,_0x4cb228[_0x2a24dd(0x41e)])(_0x562436=>_0x562436[_0x2a24dd(0x38a)]!==0x1||_0x562436[0x0][_0x2a24dd(0x497)]!==_0x5cf0ce[_0x2a24dd(0x1c1)][_0x2a24dd(0x33f)]));}function _0x230a4e(_0x1cb0c0){const _0x179761=_0x1a21ce;return{'id':_0x1eed22,'commandId':_0x34e612[_0x179761(0x47d)]['id'],'type':_0x416351[_0x179761(0x2cc)][_0x179761(0x2dd)],'title':_0x179761(0x375),'tooltip':'sheets-shape-ui.flipHorizontal','icon':_0x179761(0x346),'hidden$':_0x3fc561(_0x1cb0c0),'params':()=>{const _0x14b5d4=_0x179761;let _0x920775=_0x649d72(_0x1cb0c0);return _0x920775?{'unitId':_0x920775[_0x14b5d4(0x197)],'subUnitId':_0x920775[_0x14b5d4(0x4b3)],'shapeId':_0x920775['drawingId'],'flipH':!0x0}:void 0x0;}};}function _0x41d2f5(_0x1c76b9){const _0x25e4af=_0x1a21ce;return{'id':_0x2d888b,'commandId':_0x34e612[_0x25e4af(0x47d)]['id'],'type':_0x416351['MenuItemType']['BUTTON'],'title':_0x25e4af(0x11c),'tooltip':_0x25e4af(0x11c),'icon':'FlipVerticalIcon','hidden$':_0x3fc561(_0x1c76b9),'params':()=>{const _0x14d480=_0x25e4af;let _0x37b117=_0x649d72(_0x1c76b9);return _0x37b117?{'unitId':_0x37b117[_0x14d480(0x197)],'subUnitId':_0x37b117['subUnitId'],'shapeId':_0x37b117[_0x14d480(0x1f5)],'flipV':!0x0}:void 0x0;}};}let _0x55b4e5='sheets-shape-ui.shape-format.quick-style-gallery',_0x47e237='sheets-shape-ui.shape-format.style-ribbon-control',_0x330cdf=_0x1a21ce(0x124),_0x501bd1=_0x1a21ce(0x3e5);function _0xa6432c(){const _0x248cbe=_0x1a21ce;let _0x32d632=(0x0,_0x416351[_0x248cbe(0x20b)])(_0x5cf0ce[_0x248cbe(0x311)]),_0x5e9a96=(0x0,_0x416351[_0x248cbe(0x20b)])(_0x2a2438['IDrawingManagerService']),_0x4834bd=(0x0,_0x416351[_0x248cbe(0x20b)])(_0x34e612[_0x248cbe(0x457)]),_0x5086b9=()=>{const _0xf00084=_0x248cbe;var _0x59c0cd;let _0x200585=_0x5e9a96[_0xf00084(0x314)]();if(_0x200585['length']!==0x1||((_0x59c0cd=_0x200585[0x0])==null?void 0x0:_0x59c0cd[_0xf00084(0x497)])!==_0x5cf0ce[_0xf00084(0x1c1)]['DRAWING_SHAPE'])return null;let {unitId:_0x42961c,subUnitId:_0x34670d,drawingId:_0x247957}=_0x200585[0x0],_0x2a2cd8=_0x4834bd['getShapeTypeById'](_0x42961c,_0x34670d,_0x247957),_0x2a7fad=_0x4834bd[_0xf00084(0x23d)](_0x42961c,_0x34670d,_0x247957);return _0x2a2cd8===void 0x0||!_0x2a7fad?null:{'unitId':_0x42961c,'subUnitId':_0x34670d,'drawingId':_0x247957,'shapeType':_0x2a2cd8,'shapeData':_0x2a7fad};},_0x57f849=(0x0,_0x416351[_0x248cbe(0x3b4)])(()=>new _0x4cb228['Observable'](_0x75ae5=>{const _0x34d264=_0x248cbe;let _0x35d19b=()=>_0x75ae5[_0x34d264(0x395)](_0x5086b9()),_0x293468=_0x5e9a96[_0x34d264(0x28c)][_0x34d264(0x3e7)](_0x35d19b),_0x4fc322=_0x32d632[_0x34d264(0x30f)](_0x3840f7=>{const _0x58fe6b=_0x34d264;_0x3840f7['id']===_0x34e612[_0x58fe6b(0x426)]['id']&&_0x35d19b();});return _0x35d19b(),()=>{const _0x2cf570=_0x34d264;_0x293468[_0x2cf570(0x15a)](),_0x4fc322[_0x2cf570(0x351)]();};}),_0x5086b9(),!0x1,[_0x32d632,_0x5e9a96,_0x4834bd]);return{'selection':_0x57f849,'updateShapeData':_0x3d2c72=>{const _0x226496=_0x248cbe;_0x57f849&&_0x12c3ae(_0x32d632,_0x57f849[_0x226496(0x197)],_0x57f849['subUnitId'],_0x57f849['drawingId'],{'oldShapeData':_0x57f849[_0x226496(0x476)]},_0x3d2c72);}};}function _0xf36676(){const _0x19b19e=_0x1a21ce;let {selection:_0x9c4b18,updateShapeData:_0x35b4d2}=_0xa6432c();return _0x9c4b18?(0x0,_0x53553e['jsx'])(_0x3ed8c6[_0x19b19e(0x28a)],{'shapeData':_0x9c4b18[_0x19b19e(0x476)],'shapeType':_0x9c4b18[_0x19b19e(0xde)],'onUpdateShapeData':_0x35b4d2}):null;}function _0x1c6931(){const _0x4c9172=_0x1a21ce;let _0x1fdfc2=(0x0,_0x416351[_0x4c9172(0x20b)])(_0x5cf0ce[_0x4c9172(0x311)]),_0xa43e17=(0x0,_0x416351[_0x4c9172(0x20b)])(_0x5cf0ce[_0x4c9172(0x4ac)]),{selection:_0x44cac1}=_0xa6432c();return _0x44cac1?(0x0,_0x53553e[_0x4c9172(0x404)])(_0x3ed8c6[_0x4c9172(0x44f)],{'type':(0x0,_0x1b3552[_0x4c9172(0x468)])(_0x44cac1['shapeData']),'ariaLabel':_0xa43e17['t']('sheets-shape-ui.quickStyles'),'activePresetId':(0x0,_0x1b3552[_0x4c9172(0x2ce)])(_0x44cac1['shapeData']),'onSelect':_0x3b456c=>_0x1fdfc2['executeCommand'](_0x325d8a['id'],{'presetId':_0x3b456c})}):null;}function _0x44850f(){const _0x3c20fd=_0x1a21ce;let {selection:_0x534ccb,updateShapeData:_0x2b8a8b}=_0xa6432c();return _0x534ccb?(0x0,_0x53553e[_0x3c20fd(0x404)])(_0x3ed8c6['ShapeTextRibbonControl'],{'fontFamilyPopupDataComponent':'sheets-shape-format-font-family-menu','shapeData':_0x534ccb[_0x3c20fd(0x476)],'onUpdateShapeData':_0x2b8a8b}):null;}function _0x2df28d(){const _0x3dbc8c=_0x1a21ce;var _0x5d0b32;let {selection:_0x10614e,updateShapeData:_0x55e1d0}=_0xa6432c(),_0x5b37e8=(0x0,_0x3ed8c6[_0x3dbc8c(0x390)])({'hostType':_0x5cf0ce[_0x3dbc8c(0x21e)][_0x3dbc8c(0x3a3)],'unitId':(_0x10614e==null?void 0x0:_0x10614e[_0x3dbc8c(0x197)])??'','subUnitId':(_0x10614e==null?void 0x0:_0x10614e['subUnitId'])??'','shapeId':(_0x10614e==null?void 0x0:_0x10614e[_0x3dbc8c(0x1f5)])??'','shapeData':_0x10614e==null?void 0x0:_0x10614e[_0x3dbc8c(0x476)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x3dbc8c(0x2e8),'onUpdateBinding':_0x163a2c=>_0x55e1d0({'formulaBinding':_0x163a2c})}),_0x50f7e4=((_0x5d0b32=_0x5b37e8[_0x3dbc8c(0x26f)])==null?void 0x0:_0x5d0b32[_0x3dbc8c(0x466)](_0x246540=>_0x246540[_0x3dbc8c(0x3b5)])[_0x3dbc8c(0x431)](_0x4721c2=>_0x4721c2[_0x3dbc8c(0x241)]!==!0x1))??[];return _0x10614e!=null&&_0x10614e[_0x3dbc8c(0x476)][_0x3dbc8c(0x126)]?(0x0,_0x53553e[_0x3dbc8c(0x404)])(_0x3ed8c6[_0x3dbc8c(0x359)],{'actions':_0x50f7e4,'panel':_0x5b37e8[_0x3dbc8c(0x400)]}):null;}let _0x65c245=_0x1a21ce(0x2e0),_0x248b70=_0x1a21ce(0xfb),_0x35fdb4=_0x1a21ce(0x3ba),_0x2b0269=_0x1a21ce(0x228),_0x1287cd=_0x1a21ce(0x1e8),_0x12d37b=_0x1a21ce(0x407),_0x2df8c3='sheets-shape-ui.ribbon.shape-format.arrange-back';function _0x37b592(_0x352f23){const _0x1558bf=_0x1a21ce;let _0x4e6adb=_0x352f23[_0x1558bf(0x170)](_0x5cf0ce[_0x1558bf(0x311)]),_0x3a72d5=_0x352f23[_0x1558bf(0x170)](_0x2a2438[_0x1558bf(0x3e4)]),_0x317e94=_0x352f23[_0x1558bf(0x170)](_0x34e612[_0x1558bf(0x457)]);return new _0x4cb228[(_0x1558bf(0x3a0))](_0x23e065=>{const _0x5c761e=_0x1558bf;let _0x494fe6=()=>{const _0x4c7c75=_0x1cfe;let _0x3ce206=_0x25bfbb(_0x352f23),_0x2bff00=_0x3ce206?_0x317e94[_0x4c7c75(0x23d)](_0x3ce206[_0x4c7c75(0x197)],_0x3ce206[_0x4c7c75(0x4b3)],_0x3ce206[_0x4c7c75(0x1f5)]):null;_0x23e065[_0x4c7c75(0x395)](_0x2bff00?(0x0,_0x1b3552[_0x4c7c75(0x2ce)])(_0x2bff00)??'':'');},_0x3d45cd=_0x3a72d5[_0x5c761e(0x28c)][_0x5c761e(0x3e7)](_0x494fe6),_0xae6881=_0x4e6adb[_0x5c761e(0x30f)](_0xfbad6=>{_0xfbad6['id']===_0x34e612['UpdateSheetsShapeDataMutation']['id']&&_0x494fe6();});return _0x494fe6(),()=>{const _0xf80a15=_0x5c761e;_0x3d45cd[_0xf80a15(0x15a)](),_0xae6881[_0xf80a15(0x351)]();};});}function _0x25bfbb(_0x2f6a7b){const _0x32c8d9=_0x1a21ce;var _0x34d9f4;let _0x767696=_0x2f6a7b[_0x32c8d9(0x170)](_0x2a2438[_0x32c8d9(0x3e4)])['getFocusDrawings']();return _0x767696[_0x32c8d9(0x38a)]===0x1&&((_0x34d9f4=_0x767696[0x0])==null?void 0x0:_0x34d9f4[_0x32c8d9(0x497)])===_0x5cf0ce['DrawingTypeEnum']['DRAWING_SHAPE']?_0x767696[0x0]:null;}function _0xc3b9e4(_0x321f30,_0x32a8ab=!0x1){const _0xaaffb9=_0x1a21ce;let _0x118672=_0x321f30[_0xaaffb9(0x170)](_0x5cf0ce[_0xaaffb9(0x311)]),_0x242763=_0x321f30['get'](_0x2a2438['IDrawingManagerService']),_0x21e39f=_0x321f30['get'](_0x34e612[_0xaaffb9(0x457)]);return new _0x4cb228[(_0xaaffb9(0x3a0))](_0x3991e6=>{const _0x4ededb=_0xaaffb9;let _0x18b109=()=>{const _0x48aea5=_0x1cfe;let _0x5c5d35=_0x25bfbb(_0x321f30);if(!_0x5c5d35){_0x3991e6[_0x48aea5(0x395)](!0x0);return;}let _0x565134=_0x21e39f[_0x48aea5(0x23d)](_0x5c5d35['unitId'],_0x5c5d35['subUnitId'],_0x5c5d35['drawingId']);_0x3991e6[_0x48aea5(0x395)](!_0x565134||_0x32a8ab&&_0x565134[_0x48aea5(0x126)]==null);},_0x7d9f3a=_0x242763[_0x4ededb(0x28c)][_0x4ededb(0x3e7)](_0x18b109),_0x37d4df=_0x118672[_0x4ededb(0x30f)](_0xc2a593=>{const _0x82962f=_0x4ededb;_0xc2a593['id']===_0x34e612[_0x82962f(0x426)]['id']&&_0x18b109();});return _0x18b109(),()=>{const _0x3c6e76=_0x4ededb;_0x7d9f3a['unsubscribe'](),_0x37d4df[_0x3c6e76(0x351)]();};});}function _0x1c27de(_0x18bb4a){const _0x43dac8=_0x1a21ce;let _0x1a18b7=_0x18bb4a[_0x43dac8(0x170)](_0x2a2438[_0x43dac8(0x3e4)]),_0x567a7f=_0x18bb4a['get'](_0x34e612[_0x43dac8(0x457)]);return _0x1a18b7[_0x43dac8(0x28c)][_0x43dac8(0x472)]((0x0,_0x4cb228['startWith'])(_0x1a18b7[_0x43dac8(0x314)]()),(0x0,_0x4cb228[_0x43dac8(0x41e)])(()=>{const _0x2f5386=_0x43dac8;let _0x2bce69=_0x25bfbb(_0x18bb4a),_0x5b351b=_0x2bce69?_0x567a7f['getShapeTypeById'](_0x2bce69[_0x2f5386(0x197)],_0x2bce69['subUnitId'],_0x2bce69[_0x2f5386(0x1f5)]):void 0x0;return _0x5b351b===void 0x0||(0x0,_0x24d21b['isConnectorShape'])(_0x5b351b);}));}function _0x3134e2(_0x26a88c){const _0x359721=_0x1a21ce;return{'id':_0x325d8a['id'],'type':_0x416351[_0x359721(0x2cc)][_0x359721(0xfe)],'icon':_0x359721(0x1e2),'title':_0x359721(0x160),'tooltip':_0x359721(0x160),'selections':[{'label':{'name':_0x55b4e5,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x37b592(_0x26a88c),'hidden$':_0xc3b9e4(_0x26a88c)};}function _0x59530b(_0x37c257){const _0x288634=_0x1a21ce;return{'id':_0x684ce2['id'],'type':_0x416351[_0x288634(0x2cc)][_0x288634(0xfe)],'icon':_0x288634(0x410),'title':_0x288634(0x35f),'tooltip':'shape-editor-ui.toolbar.changeShape','slot':!0x0,'selections':[{'label':{'name':_0x3ed8c6[_0x288634(0x10e)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x1c27de(_0x37c257)};}function _0x13d223(_0x57f711,_0x2c4f17,_0x3134f0=!0x1){const _0x4e6c5d=_0x1a21ce;return _0x34d255=>({'id':_0x57f711,'type':_0x416351[_0x4e6c5d(0x2cc)]['BUTTON'],'label':{'name':_0x2c4f17,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0xc3b9e4(_0x34d255,_0x3134f0)});}let _0x89f316=_0x13d223(_0x65c245,_0x47e237),_0xe11359=_0x13d223(_0x248b70,_0x330cdf),_0x4e2b43=_0x13d223(_0x35fdb4,_0x501bd1,!0x0);function _0x1dac08(_0x3cbcad,_0x34314f,_0x106bf4,_0x3eb8b2){const _0x543caf=_0x1a21ce;return _0xfb89a7=>({'id':_0x3cbcad,'commandId':_0x57dfd6['SetDrawingArrangeCommand']['id'],'type':_0x416351[_0x543caf(0x2cc)][_0x543caf(0x2dd)],'icon':_0x106bf4,'title':_0x3eb8b2,'tooltip':_0x3eb8b2,'hidden$':_0xc3b9e4(_0xfb89a7),'params':()=>{const _0x14af2b=_0x543caf;let _0x5e9312=_0x25bfbb(_0xfb89a7);return _0x5e9312?{'unitId':_0x5e9312[_0x14af2b(0x197)],'subUnitId':_0x5e9312[_0x14af2b(0x4b3)],'drawingIds':[_0x5e9312[_0x14af2b(0x1f5)]],'arrangeType':_0x34314f}:void 0x0;}});}let _0x35db48=_0x1dac08(_0x2b0269,_0x5cf0ce[_0x1a21ce(0x348)]['forward'],_0x1a21ce(0x46f),_0x1a21ce(0x229)),_0x2229ad=_0x1dac08(_0x1287cd,_0x5cf0ce[_0x1a21ce(0x348)]['backward'],_0x1a21ce(0x12e),_0x1a21ce(0x21c)),_0x1097ed=_0x1dac08(_0x12d37b,_0x5cf0ce[_0x1a21ce(0x348)][_0x1a21ce(0x294)],'TopmostIcon',_0x1a21ce(0x4c1)),_0x17d7fb=_0x1dac08(_0x2df8c3,_0x5cf0ce[_0x1a21ce(0x348)][_0x1a21ce(0x19b)],_0x1a21ce(0x2ae),_0x1a21ce(0x2aa));function _0x15b638(_0x32182e){const _0x1e0b8c=_0x1a21ce;return{'id':_0x212f1d['id'],'type':_0x416351['MenuItemType'][_0x1e0b8c(0x2dd)],'icon':'ShapeFormatSettingIcon','title':_0x1e0b8c(0x35c),'tooltip':'sheets-shape-ui.formatShape','hidden$':_0xc3b9e4(_0x32182e),'params':()=>{const _0x122e64=_0x1e0b8c;let _0x18c119=_0x25bfbb(_0x32182e);return _0x18c119?{'unitId':_0x18c119[_0x122e64(0x197)],'subUnitId':_0x18c119[_0x122e64(0x4b3)],'drawingId':_0x18c119[_0x122e64(0x1f5)]}:void 0x0;}};}let _0x2bcfb6={[_0x416351[_0x1a21ce(0x3ad)]['RIBBON']]:{[_0x1e91c2]:{'order':0x64,'title':_0x1a21ce(0x35c),'contextual':!0x0,'sheets-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x325d8a['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x3134e2},[_0x684ce2['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x59530b}},'sheets-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x65c245]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x89f316}},'sheets-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x248b70]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0xe11359}},'sheets-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x1eed22]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x230a4e},[_0x2d888b]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x41d2f5},[_0x2b0269]:{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x35db48},[_0x1287cd]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x2229ad},[_0x12d37b]:{'order':0x4,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x1097ed},[_0x2df8c3]:{'order':0x5,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x17d7fb}},'sheets-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x35fdb4]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x4e2b43}},'sheets-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x212f1d['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x15b638},[_0x3ed8c6[_0x1a21ce(0x190)]['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x3ed8c6[_0x1a21ce(0x26c)]}}}}},_0x3456ab={[_0x416351['RibbonInsertGroup']['MEDIA']]:{[_0x224af7['id']]:{'order':0x3,'menuItemFactory':_0x2b3cc1}}},_0x54229f={..._0x3456ab,[_0x416351[_0x1a21ce(0x369)][_0x1a21ce(0x266)]]:{[_0x106220['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0xff80a}},[_0x416351[_0x1a21ce(0x132)]['DRAWING']]:{[_0x416351[_0x1a21ce(0x3ec)]['OTHERS']]:{[_0x1eed22]:{'order':0x4,'menuItemFactory':_0x230a4e},[_0x2d888b]:{'order':0x5,'menuItemFactory':_0x41d2f5}}}};var _0x6f3664=_0x1a21ce(0x18f),_0x46f9c2='1.1.0';let _0x2a1c58={'id':_0x1a21ce(0x263),'type':_0x5cf0ce[_0x1a21ce(0x244)]['OPERATION'],'handler'(_0x1695b0,_0x12bbe5){const _0x4bf678=_0x1a21ce;return _0x12bbe5?(_0x1695b0[_0x4bf678(0x170)](_0x3ed8c6['MobileShapeEditorService'])[_0x4bf678(0x31d)](_0x12bbe5[_0x4bf678(0x222)],{'hostType':_0x5cf0ce[_0x4bf678(0x21e)][_0x4bf678(0x3a3)],'shapeId':_0x12bbe5[_0x4bf678(0x1f5)],'subUnitId':_0x12bbe5[_0x4bf678(0x4b3)],'unitId':_0x12bbe5[_0x4bf678(0x197)]}),!0x0):!0x1;}},_0x3f4761='sheets-shape-ui.config',_0x141627={},_0x360356=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0xfd65b,_0x474048,_0x9bccf6,_0x47a07f,_0x324e52){const _0x25def9=_0x1a21ce;super(),this[_0x25def9(0x4c9)]=_0xfd65b,this[_0x25def9(0x383)]=_0x474048,this['_renderManagerService']=_0x9bccf6,this[_0x25def9(0x2d5)]=_0x47a07f,this[_0x25def9(0x4b6)]=_0x324e52,_0x339d5f(this,_0x25def9(0x490),null),_0x339d5f(this,'_unitId',null),_0x339d5f(this,_0x25def9(0x251),null),_0x339d5f(this,_0x25def9(0x325),void 0x0),_0x339d5f(this,_0x25def9(0x287),[]),_0x339d5f(this,'_baseLeft',0x0),_0x339d5f(this,_0x25def9(0x459),0x0),_0x339d5f(this,_0x25def9(0x1f3),0x0),_0x339d5f(this,'_baseHeight',0x0),_0x339d5f(this,_0x25def9(0x3fe),!0x1),_0x339d5f(this,'_activeAdjustInfo',void 0x0),_0x339d5f(this,'_activeShapeModel',void 0x0),_0x339d5f(this,_0x25def9(0x1eb),void 0x0),_0x339d5f(this,_0x25def9(0x2e3),void 0x0),_0x339d5f(this,_0x25def9(0x3f8),!0x1),this[_0x25def9(0x24a)](),this['_registerMoveHandler']();}[_0x1a21ce(0x4af)](){const _0x3dc74b=_0x1a21ce;this[_0x3dc74b(0x221)]();}[_0x1a21ce(0x164)](){const _0x468162=_0x1a21ce;this[_0x468162(0x221)](),this['_createControls'](!0x0);}[_0x1a21ce(0x328)](_0x5ed007,_0x489b7b,_0x3877c6,_0x57e41e){const _0x590ca9=_0x1a21ce;let _0x477ca2=_0x5ed007;if(_0x477ca2!==_0x24d21b[_0x590ca9(0x4a6)][_0x590ca9(0x31c)]&&_0x5ed007!==_0x590ca9(0x1d0))try{let _0x1b73d3=new _0x24d21b['ShapeModel'](_0x477ca2,_0x590ca9(0x3ea)+_0x5ed007);return _0x57e41e&&_0x1b73d3['setShapeData']({'adjustValues':_0x57e41e},!0x0),_0x1b73d3['updateContext']({'width':_0x489b7b,'height':_0x3877c6}),_0x1b73d3;}catch{return;}}[_0x1a21ce(0x161)](_0x439cb3,_0x102a27,_0x48fcd3){const _0x285b00=_0x1a21ce;let _0x46b745={'unitId':_0x439cb3,'subUnitId':_0x102a27,'drawingId':_0x48fcd3},_0x3e5e51=this[_0x285b00(0x383)][_0x285b00(0x214)](_0x46b745);if(_0x3e5e51&&_0x3e5e51[_0x285b00(0x497)]===_0x5cf0ce['DrawingTypeEnum'][_0x285b00(0x236)])return _0x3e5e51;}[_0x1a21ce(0x4c7)](_0x1d22dd,_0x3412cf,_0x36b11){const _0x2f7998=_0x1a21ce;let _0x378846=this[_0x2f7998(0x411)]['getRenderUnitById'](_0x1d22dd);if(!_0x378846)return;let {scene:_0x420c61}=_0x378846,_0x229769=(0x0,_0x2a2438[_0x2f7998(0x414)])({'unitId':_0x1d22dd,'subUnitId':_0x3412cf,'drawingId':_0x36b11}),_0x240f55=_0x420c61[_0x2f7998(0x26a)](_0x229769);if(_0x240f55 instanceof _0x4413bb[_0x2f7998(0x453)]){let _0x1dd2a3=_0x240f55['prstGeom'];if(_0x1dd2a3)return{'prstGeom':_0x1dd2a3,'adjustValues':_0x240f55['prstGeomAdjValues']};}}[_0x1a21ce(0x4a1)](_0xcba2e9=!0x1){const _0x3c371e=_0x1a21ce;if(!this[_0x3c371e(0x29c)]||!this[_0x3c371e(0x251)]||!this[_0x3c371e(0x490)])return;let _0x1e7726=this[_0x3c371e(0x411)]['getRenderUnitById'](this[_0x3c371e(0x29c)]);if(!_0x1e7726||!_0x1e7726[_0x3c371e(0x18b)](_0x3e532c[_0x3c371e(0x432)])[_0x3c371e(0x475)]())return;let {scene:_0x2b7e61}=_0x1e7726,_0x407344=this['_getImageDrawingInfo'](this[_0x3c371e(0x29c)],this['_subUnitId'],this[_0x3c371e(0x490)]);if(!_0x407344)return;let {transform:_0x32a5b1}=_0x407344;if(!_0x32a5b1)return;let {left:_0x315e1f,top:_0x44f43e,width:_0x3731d6,height:_0xec9a16,flipX:_0x4bfac1,flipY:_0x23c839,angle:_0x2c02ba=0x0}=_0x32a5b1;if(_0x315e1f===void 0x0||_0x44f43e===void 0x0)return;let _0x1219ee=this['_getImagePrstGeom'](this['_unitId'],this[_0x3c371e(0x251)],this['_activeImageId']);if(!_0x1219ee)return;if(_0xcba2e9){let _0x3fa0a1=this[_0x3c371e(0x328)](_0x1219ee[_0x3c371e(0x112)],_0x3731d6||0x0,_0xec9a16||0x0,_0x1219ee['adjustValues']);if(!_0x3fa0a1)return;this[_0x3c371e(0x325)]=_0x3fa0a1[_0x3c371e(0x37c)]();}let _0x130315=this[_0x3c371e(0x325)];if(_0x130315&&_0x130315[_0x3c371e(0x38a)]!==0x0)for(let _0x34b7b5=0x0;_0x34b7b5<_0x130315[_0x3c371e(0x38a)];_0x34b7b5++){let _0x3cd5c7=_0x130315[_0x34b7b5],_0x563fa9=_0x3cd5c7['x'],_0x1239af=_0x3cd5c7['y'];if(_0x4bfac1&&(_0x563fa9=(_0x3731d6||0x0)-_0x563fa9),_0x23c839&&(_0x1239af=(_0xec9a16||0x0)-_0x1239af),_0x2c02ba!==0x0){let _0x31564e=(_0x3731d6||0x0)/0x2,_0x1fe309=(_0xec9a16||0x0)/0x2,_0x131ca4=_0x2c02ba*Math['PI']/0xb4,_0x5ba2e6=Math[_0x3c371e(0x127)](_0x131ca4),_0x3153f7=Math[_0x3c371e(0x1bc)](_0x131ca4),_0x22cb08=_0x563fa9-_0x31564e,_0x3d26b0=_0x1239af-_0x1fe309;_0x563fa9=_0x31564e+(_0x22cb08*_0x5ba2e6-_0x3d26b0*_0x3153f7),_0x1239af=_0x1fe309+(_0x22cb08*_0x3153f7+_0x3d26b0*_0x5ba2e6);}let _0x51aff5={'x':_0x563fa9,'y':_0x1239af,'adjName':_0x3cd5c7[_0x3c371e(0xe9)]};this[_0x3c371e(0x102)](_0x2b7e61,_0x51aff5,_0x51aff5[_0x3c371e(0xe9)],_0x315e1f,_0x44f43e,this[_0x3c371e(0x29c)],this[_0x3c371e(0x251)]);}}[_0x1a21ce(0x102)](_0x2c5c70,_0x5a5c30,_0x41c75c,_0x2ffce3,_0x10f849,_0x1f7150,_0x1ce24e){const _0x214be7=_0x1a21ce;if(!this[_0x214be7(0x490)])return;let _0x3c0bd6=_0x214be7(0x118)+this[_0x214be7(0x490)]+'-'+_0x41c75c,_0x5376f5=_0x2c5c70['getObjectIncludeInGroup'](_0x3c0bd6);if(_0x5376f5){_0x5376f5[_0x214be7(0x4bb)]({'left':_0x5a5c30['x']+_0x2ffce3-_0x24d21b['ShapeDefaultConfig'][_0x214be7(0x3e6)],'top':_0x5a5c30['y']+_0x10f849-_0x24d21b[_0x214be7(0x1a9)][_0x214be7(0x3e6)]});return;}let _0x341e45=new _0x4b14c3(_0x3c0bd6,{'left':_0x5a5c30['x']+_0x2ffce3-_0x24d21b[_0x214be7(0x1a9)][_0x214be7(0x3e6)],'top':_0x5a5c30['y']+_0x10f849-_0x24d21b[_0x214be7(0x1a9)][_0x214be7(0x3e6)],'adjName':_0x41c75c,'shapeId':this[_0x214be7(0x490)],'unitId':_0x1f7150,'subUnitId':_0x1ce24e,'width':_0x24d21b['ShapeDefaultConfig']['adjHandleSize']+0x8,'height':_0x24d21b[_0x214be7(0x1a9)][_0x214be7(0x3e6)]+0x8,'zIndex':_0x4413bb[_0x214be7(0x1ab)]+0x1,'evented':!0x0});this['_shapes'][_0x214be7(0x109)](_0x341e45),this[_0x214be7(0x247)](_0x341e45,_0x2c5c70,_0x41c75c),_0x2c5c70[_0x214be7(0x141)](_0x341e45,_0x4413bb[_0x214be7(0x1ab)]+0x1);}[_0x1a21ce(0x221)](){const _0x37ed2e=_0x1a21ce;this[_0x37ed2e(0x287)][_0x37ed2e(0x38a)]!==0x0&&(this['_shapes']['forEach'](_0x40c9d1=>_0x40c9d1[_0x37ed2e(0x351)]()),this[_0x37ed2e(0x287)]=[]);}[_0x1a21ce(0x39b)](_0x15ea91,_0x299d5b){const _0x31094a=_0x1a21ce;var _0x33ac8e;let _0x578e83={'x':0x0,'y':0x0},_0x17173f=this[_0x31094a(0x411)][_0x31094a(0x3ce)](_0x15ea91);if(!_0x17173f||!_0x17173f['with'](_0x3e532c[_0x31094a(0x432)])['getSkeleton'](_0x299d5b))return _0x578e83;let _0xe1a331=_0x17173f[_0x31094a(0x18b)](_0x3e532c[_0x31094a(0x47c)]),_0x21372f=_0xe1a331==null?void 0x0:_0xe1a331['getCurrentScrollState']();if(!_0x21372f)return _0x578e83;let _0x45f794=(_0x33ac8e=this[_0x31094a(0x2d5)]['getUnit'](_0x15ea91))==null?void 0x0:_0x33ac8e[_0x31094a(0x1c4)](_0x299d5b);if(!_0x45f794)return _0x578e83;let _0x3e8fc6=(0x0,_0x3e532c['getViewportByCell'])(_0x21372f[_0x31094a(0x3ff)],_0x21372f['sheetViewStartColumn'],_0x17173f[_0x31094a(0x2d7)],_0x45f794);return _0x3e8fc6?{'x':_0x3e8fc6['viewportScrollX'],'y':_0x3e8fc6[_0x31094a(0x491)]}:_0x578e83;}[_0x1a21ce(0x129)](_0x27abe5,_0x2168d3){const _0x3a3420=_0x1a21ce;var _0x503283;let _0x14ae6e=(_0x503283=this[_0x3a3420(0x2d5)]['getUnit'](_0x27abe5))==null?void 0x0:_0x503283['getSheetBySheetId'](_0x2168d3);return(_0x14ae6e==null?void 0x0:_0x14ae6e[_0x3a3420(0xea)]())??0x1;}[_0x1a21ce(0x247)](_0x3cfd75,_0x170d1c,_0x50f562){const _0x5e3eee=_0x1a21ce;this[_0x5e3eee(0x4c4)]((0x0,_0x5cf0ce['toDisposable'])(_0x3cfd75[_0x5e3eee(0x39e)][_0x5e3eee(0x3fc)]((_0xfc4517,_0x37528f)=>{const _0x4a2d3c=_0x5e3eee;var _0x5c025f,_0x21739b,_0x5d6848;let {unitId:_0x557182,subUnitId:_0x2a7a63,drawingId:_0x3ae97d}=_0x3cfd75[_0x4a2d3c(0x1a8)](),_0x180530=this[_0x4a2d3c(0x161)](_0x557182,_0x2a7a63,_0x3ae97d);if(!(_0x180530!=null&&_0x180530[_0x4a2d3c(0x3a9)]))return;let {left:_0x28ee09,top:_0x3c7148,width:_0x126e66,height:_0x21b9f0}=_0x180530['transform'];this[_0x4a2d3c(0x3ab)]=_0x28ee09||0x0,this[_0x4a2d3c(0x459)]=_0x3c7148||0x0,this[_0x4a2d3c(0x1f3)]=_0x126e66||0x0,this['_baseHeight']=_0x21b9f0||0x0;let _0x222f68=!!((_0x5c025f=_0x180530[_0x4a2d3c(0x3a9)])!=null&&_0x5c025f[_0x4a2d3c(0x405)]),_0x21669b=!!((_0x21739b=_0x180530[_0x4a2d3c(0x3a9)])!=null&&_0x21739b[_0x4a2d3c(0x488)]),_0x5281ec=((_0x5d6848=_0x180530['transform'])==null?void 0x0:_0x5d6848[_0x4a2d3c(0x11e)])||0x0,_0x5f064d=this[_0x4a2d3c(0x4c7)](_0x557182,_0x2a7a63,_0x3ae97d);if(!_0x5f064d)return;let _0x126bb1=this[_0x4a2d3c(0x328)](_0x5f064d[_0x4a2d3c(0x112)],this[_0x4a2d3c(0x1f3)],this[_0x4a2d3c(0x171)],_0x5f064d['adjustValues']);if(!_0x126bb1||(this[_0x4a2d3c(0xf3)]=_0x126bb1,this[_0x4a2d3c(0x209)]=_0x126bb1['getAdjustInfoByName'](_0x50f562),!this['_activeAdjustInfo']))return;this['_isStartAdjusting']=!0x0,_0x170d1c[_0x4a2d3c(0x2c1)]();let _0x4ab481=_0x5f064d['prstGeom'];this[_0x4a2d3c(0x1eb)]=_0x170d1c[_0x4a2d3c(0xee)][_0x4a2d3c(0x3fc)]((_0x559fbe,_0x290ebf)=>{const _0x1ede54=_0x4a2d3c;if(!this['_isStartAdjusting'])return;let {offsetX:_0x34015b,offsetY:_0x50d9ed}=_0x559fbe,_0x40efbe=this[_0x1ede54(0x209)];if(!this['_activeShapeModel']||!_0x40efbe)return;_0x170d1c[_0x1ede54(0x2c1)](),_0x170d1c[_0x1ede54(0x379)](_0x4413bb[_0x1ede54(0x2b9)]['CROSSHAIR']);let _0x3c1740={'left':0x0,'top':0x0,'width':this['_baseWidth'],'height':this[_0x1ede54(0x171)]},_0x369c1a=this[_0x1ede54(0x39b)](_0x557182,_0x2a7a63),_0x17bac9=this[_0x1ede54(0x129)](_0x557182,_0x2a7a63),_0x894f4c=_0x34015b/_0x17bac9+_0x369c1a['x']-this[_0x1ede54(0x3ab)],_0x29e8d3=_0x50d9ed/_0x17bac9+_0x369c1a['y']-this[_0x1ede54(0x459)];if(_0x5281ec!==0x0){let _0x548c7a=this[_0x1ede54(0x1f3)]/0x2,_0x1d1568=this[_0x1ede54(0x171)]/0x2,_0x45ce99=_0x5281ec*Math['PI']/0xb4,_0x34a57f=Math['cos'](_0x45ce99),_0x232e0a=Math[_0x1ede54(0x1bc)](_0x45ce99),_0x8d3497=_0x894f4c-_0x548c7a,_0x566c3c=_0x29e8d3-_0x1d1568;_0x894f4c=_0x548c7a+(_0x8d3497*_0x34a57f+_0x566c3c*_0x232e0a),_0x29e8d3=_0x1d1568+(-_0x8d3497*_0x232e0a+_0x566c3c*_0x34a57f);}_0x222f68&&(_0x894f4c=this['_baseWidth']-_0x894f4c),_0x21669b&&(_0x29e8d3=this[_0x1ede54(0x171)]-_0x29e8d3);let _0xf5849f=this['_activeShapeModel'][_0x1ede54(0x133)](_0x3c1740,{'x':_0x894f4c,'y':_0x29e8d3},_0x40efbe,_0x222f68,_0x21669b);if(Object[_0x1ede54(0x353)](_0xf5849f)[_0x1ede54(0x38a)]!==0x0){for(let [_0x215163,_0x1ace46]of Object[_0x1ede54(0x210)](_0xf5849f))this['_activeShapeModel']['setAdjustValueByName'](_0x215163,_0x1ace46);this[_0x1ede54(0xf3)][_0x1ede54(0x433)]({'width':this['_baseWidth'],'height':this['_baseHeight']}),this['_updateImageAdjValues'](_0x557182,_0x2a7a63,_0x3ae97d,_0xf5849f),this[_0x1ede54(0x325)]=this['_activeShapeModel'][_0x1ede54(0x37c)](),this[_0x1ede54(0x4a1)](),_0x290ebf[_0x1ede54(0x344)]();}}),this['_adjHandlerPointerUp']=_0x170d1c[_0x4a2d3c(0x3c5)][_0x4a2d3c(0x3fc)]((_0x1344ae,_0x5a474a)=>{const _0x2156e7=_0x4a2d3c;if(this[_0x2156e7(0x1eb)][_0x2156e7(0x15a)](),this['_adjHandlerPointerUp']['unsubscribe'](),_0x170d1c[_0x2156e7(0x3c0)](),this[_0x2156e7(0xf3)]){let _0x1bb681=this[_0x2156e7(0xf3)]['getAdjustNames'](),_0x5dfaf7={};for(let _0x23fcc6 of _0x1bb681){let _0x493dd5=this[_0x2156e7(0xf3)][_0x2156e7(0x317)](_0x23fcc6);_0x493dd5!==void 0x0&&(_0x5dfaf7[_0x23fcc6]=_0x493dd5);}this[_0x2156e7(0x4b6)]['clipByShape'](_0x557182,_0x2a7a63,_0x3ae97d,_0x4ab481,_0x5dfaf7);}this['_activeAdjustInfo']=void 0x0,this[_0x2156e7(0xf3)]=void 0x0,this[_0x2156e7(0x3fe)]=!0x1,_0x5a474a[_0x2156e7(0x344)](),_0x170d1c[_0x2156e7(0x415)]();}),_0x37528f[_0x4a2d3c(0x344)]();})));}[_0x1a21ce(0x34a)](_0x3c2f8d,_0x86a57c,_0x27225c,_0x23502c){const _0x96b94b=_0x1a21ce;let _0x3ae774=this[_0x96b94b(0x411)][_0x96b94b(0x3ce)](_0x3c2f8d);if(!_0x3ae774)return;let {scene:_0xe5bd8d}=_0x3ae774,_0x53c0f6=(0x0,_0x2a2438[_0x96b94b(0x414)])({'unitId':_0x3c2f8d,'subUnitId':_0x86a57c,'drawingId':_0x27225c}),_0x5809e1=_0xe5bd8d[_0x96b94b(0x26a)](_0x53c0f6);if(_0x5809e1 instanceof _0x4413bb[_0x96b94b(0x453)]){let _0x3dba1b=_0x5809e1[_0x96b94b(0x322)]??{};_0x5809e1['setPrstGeomAdjValues']({..._0x3dba1b,..._0x23502c}),_0x5809e1['makeDirty'](!0x0);}}['_registerMoveHandler'](){const _0x12e48c=_0x1a21ce;let _0x31bc9f=this[_0x12e48c(0x2d5)][_0x12e48c(0x17a)](_0x5cf0ce[_0x12e48c(0x21e)][_0x12e48c(0x3a3)]);this[_0x12e48c(0x4c4)](_0x31bc9f[_0x12e48c(0x472)]((0x0,_0x4cb228[_0x12e48c(0x116)])(_0x353631=>_0x353631?_0x353631[_0x12e48c(0x2c0)][_0x12e48c(0x472)]((0x0,_0x4cb228[_0x12e48c(0x116)])(_0x41509b=>{const _0x2f320c=_0x12e48c;if(!_0x41509b)return _0x4cb228[_0x2f320c(0x223)];let _0x43e90c=_0x353631[_0x2f320c(0x290)](),_0x6cc49=this[_0x2f320c(0x411)][_0x2f320c(0x3ce)](_0x43e90c),_0x1e0d7d=_0x6cc49==null?void 0x0:_0x6cc49[_0x2f320c(0x2d7)];return _0x1e0d7d?(0x0,_0x4cb228['of'])(_0x1e0d7d):_0x4cb228[_0x2f320c(0x223)];})):_0x4cb228[_0x12e48c(0x223)]))[_0x12e48c(0x3e7)](_0x2233b3=>{const _0x566f86=_0x12e48c;let _0x531d82=_0x2233b3[_0x566f86(0x17e)]();this[_0x566f86(0x4c4)](_0x2233b3[_0x566f86(0xee)][_0x566f86(0x3fc)](()=>{const _0x4ecd4c=_0x566f86;this[_0x4ecd4c(0x3f8)]&&this['_clearControls']();})),this[_0x566f86(0x4c4)](_0x531d82[_0x566f86(0x3f9)][_0x566f86(0x3e7)](_0x401c24=>{const _0x393e42=_0x566f86;let {objects:_0x4ea715}=_0x401c24;if(this[_0x393e42(0x4a1)](),_0x4ea715!==null&&_0x4ea715[_0x393e42(0x32b)]===0x1){let _0x22b5cf=_0x4ea715['values']()[_0x393e42(0x395)]()[_0x393e42(0x2f5)];_0x22b5cf instanceof _0x4413bb[_0x393e42(0x453)]&&_0x22b5cf[_0x393e42(0x112)]&&(this['_isImagePointerDown']=!0x0);}})),this['disposeWithMe'](_0x531d82[_0x566f86(0x4ab)][_0x566f86(0x3e7)](()=>{const _0x3b956f=_0x566f86;this[_0x3b956f(0x3f8)]&&this[_0x3b956f(0x221)]();})),this[_0x566f86(0x4c4)](_0x2233b3[_0x566f86(0x3c5)][_0x566f86(0x3fc)](()=>{const _0x5e9ace=_0x566f86;this[_0x5e9ace(0x3f8)]&&(this[_0x5e9ace(0x3f8)]=!0x1,this[_0x5e9ace(0x4a1)]());})),this[_0x566f86(0x4c4)](_0x531d82[_0x566f86(0x154)][_0x566f86(0x3e7)](()=>{const _0x51373f=_0x566f86;if(this[_0x51373f(0x29c)]&&this['_subUnitId']&&this['_activeImageId']){let _0x2db4a4=this[_0x51373f(0x4c7)](this[_0x51373f(0x29c)],this[_0x51373f(0x251)],this[_0x51373f(0x490)]);if(_0x2db4a4){var _0x950946,_0x4d4052;let _0x5df56c=this[_0x51373f(0x161)](this[_0x51373f(0x29c)],this['_subUnitId'],this[_0x51373f(0x490)]),_0x2bdf24=(_0x5df56c==null||(_0x950946=_0x5df56c[_0x51373f(0x3a9)])==null?void 0x0:_0x950946[_0x51373f(0x36b)])||0x0,_0x385133=(_0x5df56c==null||(_0x4d4052=_0x5df56c['transform'])==null?void 0x0:_0x4d4052[_0x51373f(0x31b)])||0x0,_0x354c1e=this[_0x51373f(0x328)](_0x2db4a4[_0x51373f(0x112)],_0x2bdf24,_0x385133,_0x2db4a4['adjustValues']);_0x354c1e&&(this['_activeAdjustPointList']=_0x354c1e['getDrawingPoints'](),this['_clearControls'](),this[_0x51373f(0x4a1)](!0x0));}}}));}));}[_0x1a21ce(0x24a)](){const _0x26aa8c=_0x1a21ce;this['disposeWithMe'](this[_0x26aa8c(0x383)]['focus$'][_0x26aa8c(0x3e7)](_0x1b34aa=>{const _0x4080d3=_0x26aa8c;if(_0x1b34aa[_0x4080d3(0x38a)]===0x1){let _0x2fd262=_0x1b34aa[0x0];if(_0x2fd262[_0x4080d3(0x497)]===_0x5cf0ce[_0x4080d3(0x1c1)]['DRAWING_IMAGE']){let {unitId:_0x5b7c22,subUnitId:_0x59ffb9,drawingId:_0x2bca03}=_0x2fd262,_0x57f381=this[_0x4080d3(0x4c7)](_0x5b7c22,_0x59ffb9,_0x2bca03);if(_0x57f381){var _0x58fc94,_0x546047;this[_0x4080d3(0x490)]=_0x2bca03,this[_0x4080d3(0x29c)]=_0x5b7c22,this[_0x4080d3(0x251)]=_0x59ffb9;let _0x14506f=this[_0x4080d3(0x161)](_0x5b7c22,_0x59ffb9,_0x2bca03),_0x4e07cc=(_0x14506f==null||(_0x58fc94=_0x14506f[_0x4080d3(0x3a9)])==null?void 0x0:_0x58fc94[_0x4080d3(0x36b)])||0x0,_0x542467=(_0x14506f==null||(_0x546047=_0x14506f[_0x4080d3(0x3a9)])==null?void 0x0:_0x546047[_0x4080d3(0x31b)])||0x0,_0x35d7fd=this[_0x4080d3(0x328)](_0x57f381[_0x4080d3(0x112)],_0x4e07cc,_0x542467,_0x57f381[_0x4080d3(0x324)]);_0x35d7fd&&(this[_0x4080d3(0x325)]=_0x35d7fd[_0x4080d3(0x37c)]()),this[_0x4080d3(0x221)](),this[_0x4080d3(0x4a1)](!0x0);}else this[_0x4080d3(0x261)]();}else this['_resetState']();}else this['_resetState']();})),this[_0x26aa8c(0x4c4)](this['_drawingManagerService'][_0x26aa8c(0x479)][_0x26aa8c(0x3e7)](_0x777b79=>{const _0x1cfad1=_0x26aa8c;if(_0x777b79[_0x1cfad1(0x38a)]===0x1){let _0x5ec93c=_0x777b79[0x0],_0x3bf505=this[_0x1cfad1(0x383)]['getDrawingByParam'](_0x5ec93c);(_0x3bf505==null?void 0x0:_0x3bf505['drawingType'])===_0x5cf0ce['DrawingTypeEnum'][_0x1cfad1(0x236)]&&this['_activeImageId']===_0x5ec93c[_0x1cfad1(0x1f5)]&&(this[_0x1cfad1(0x221)](),this[_0x1cfad1(0x4a1)](!0x0));}})),this[_0x26aa8c(0x4c4)](this['_drawingManagerService'][_0x26aa8c(0x44c)][_0x26aa8c(0x3e7)](_0x199bed=>{const _0x1d8987=_0x26aa8c;for(let _0x2d0045 of _0x199bed)this[_0x1d8987(0x490)]===_0x2d0045['drawingId']&&this['_resetState']();}));}[_0x1a21ce(0x261)](){const _0x1b8fd8=_0x1a21ce;this[_0x1b8fd8(0x490)]=null,this[_0x1b8fd8(0x29c)]=null,this[_0x1b8fd8(0x251)]=null,this[_0x1b8fd8(0x325)]=void 0x0,this[_0x1b8fd8(0x221)]();}};_0x360356=_0x3f6514([_0x4512b4(0x1,_0x2a2438[_0x1a21ce(0x3e4)]),_0x4512b4(0x2,(0x0,_0x5cf0ce['Inject'])(_0x4413bb[_0x1a21ce(0x399)])),_0x4512b4(0x3,_0x5cf0ce['IUniverInstanceService']),_0x4512b4(0x4,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x133380))],_0x360356);function _0x1aa9c1({ref:_0x170632,..._0x57b552}){const _0x29f361=_0x1a21ce;let {preserveStrokeWidth:_0x1286f6,icon:_0x37de4b,id:_0x269d6f,className:_0x29dad4,extend:_0x59d554,..._0x21b585}=_0x57b552,_0x3da617=('univerjs-icon\x20univerjs-icon-'+_0x269d6f+'\x20'+(_0x29dad4||''))[_0x29f361(0x1ae)](),_0x3cc319='_'+(0x0,_0x41b065[_0x29f361(0x40d)])(),_0x4459d5=(0x0,_0x41b065['useRef'])(null);return(0x0,_0x41b065['useImperativeHandle'])(_0x170632,()=>_0x4459d5[_0x29f361(0x110)]),(0x0,_0x41b065[_0x29f361(0x3b9)])(()=>{const _0x4d210a=_0x29f361;if(_0x1286f6&&_0x4459d5[_0x4d210a(0x110)]&&_0x4459d5[_0x4d210a(0x110)][_0x4d210a(0x162)]===_0x37de4b[_0x4d210a(0x26b)])return _0x4aedeb(_0x4459d5[_0x4d210a(0x110)]);},[_0x1286f6,_0x37de4b]),_0x3dd000(_0x37de4b,''+_0x269d6f,{'defIds':_0x37de4b[_0x29f361(0x354)],'idSuffix':_0x3cc319},{'ref':_0x4459d5,'className':_0x3da617,..._0x21b585},_0x59d554);}function _0x3dd000(_0x1cf784,_0x46de6f,_0x248f29,_0x341ce6,_0x5ea1e0){const _0x397c29=_0x1a21ce;return(0x0,_0x41b065['createElement'])(_0x1cf784[_0x397c29(0x26b)],{'key':_0x46de6f,..._0x3185f9(_0x1cf784,_0x248f29,_0x5ea1e0),..._0x341ce6},(_0x2baf7c(_0x1cf784,_0x248f29)['children']||[])[_0x397c29(0x41e)]((_0x12b85f,_0x3c252a)=>_0x3dd000(_0x12b85f,_0x46de6f+'-'+_0x1cf784[_0x397c29(0x26b)]+'-'+_0x3c252a,_0x248f29,void 0x0,_0x5ea1e0)));}function _0x3185f9(_0x24cc79,_0x33763d,_0x3d6e1a){const _0x366fa9=_0x1a21ce;let _0x440d46={..._0x24cc79['attrs']};_0x3d6e1a!=null&&_0x3d6e1a[_0x366fa9(0x48a)]&&_0x440d46['fill']==='colorChannel1'&&(_0x440d46['fill']=_0x3d6e1a[_0x366fa9(0x48a)]),_0x3d6e1a!=null&&_0x3d6e1a['colorChannel1']&&_0x440d46[_0x366fa9(0x1f2)]===_0x366fa9(0x48a)&&(_0x440d46['stroke']=_0x3d6e1a['colorChannel1']),_0x24cc79[_0x366fa9(0x26b)]===_0x366fa9(0x2a8)&&_0x440d46['id']&&(_0x440d46['id']+=_0x33763d[_0x366fa9(0x2fb)]),Object[_0x366fa9(0x210)](_0x440d46)[_0x366fa9(0x123)](([_0x294d88,_0x350b3b])=>{const _0x4ed23c=_0x366fa9;_0x294d88==='mask'&&typeof _0x350b3b==_0x4ed23c(0x130)&&(_0x440d46[_0x294d88]=_0x350b3b[_0x4ed23c(0x22d)](/url\(#(.*)\)/,'url(#$1'+_0x33763d['idSuffix']+')'));});let {defIds:_0x2482bd}=_0x33763d;return!_0x2482bd||_0x2482bd[_0x366fa9(0x38a)]===0x0||(_0x24cc79[_0x366fa9(0x26b)]===_0x366fa9(0x3bc)&&_0x440d46[_0x366fa9(0x2ed)]&&(_0x440d46[_0x366fa9(0x2ed)]+=_0x33763d['idSuffix']),Object[_0x366fa9(0x210)](_0x440d46)[_0x366fa9(0x123)](([_0x2ae32f,_0x5c6aed])=>{const _0x2697d7=_0x366fa9;typeof _0x5c6aed=='string'&&(_0x440d46[_0x2ae32f]=_0x5c6aed[_0x2697d7(0x22d)](/url\(#(.*)\)/,_0x2697d7(0x22f)+_0x33763d['idSuffix']+')'));})),_0x440d46;}function _0x2baf7c(_0x5c6ed4,_0x412700){const _0x27bbef=_0x1a21ce;var _0x37dc37;let {defIds:_0x100744}=_0x412700;return!_0x100744||_0x100744['length']===0x0?_0x5c6ed4:_0x5c6ed4['tag']==='defs'&&(_0x37dc37=_0x5c6ed4[_0x27bbef(0x2c2)])!=null&&_0x37dc37[_0x27bbef(0x38a)]?{..._0x5c6ed4,'children':_0x5c6ed4[_0x27bbef(0x2c2)][_0x27bbef(0x41e)](_0x3c1db0=>typeof _0x3c1db0[_0x27bbef(0x2a0)]['id']==_0x27bbef(0x130)&&_0x100744&&_0x100744[_0x27bbef(0x24f)](_0x3c1db0[_0x27bbef(0x2a0)]['id'])?{..._0x3c1db0,'attrs':{..._0x3c1db0['attrs'],'id':_0x3c1db0[_0x27bbef(0x2a0)]['id']+_0x412700[_0x27bbef(0x2fb)]}}:_0x3c1db0)}:_0x5c6ed4;}function _0x4aedeb(_0xe2312c){const _0x3c140a=_0x1a21ce;let _0x3e31db=_0xe2312c[_0x3c140a(0x2c8)][_0x3c140a(0x20c)],_0x447b91=Math[_0x3c140a(0x397)](_0x3e31db[_0x3c140a(0x36b)],_0x3e31db[_0x3c140a(0x31b)]);if(!Number['isFinite'](_0x447b91)||_0x447b91<=0x0||_0x3e31db[_0x3c140a(0x36b)]<=0x0||_0x3e31db[_0x3c140a(0x31b)]<=0x0)return()=>void 0x0;let _0x652508=0x10/_0x447b91,_0x396bee=Array['from'](_0xe2312c[_0x3c140a(0x4a3)](_0x3c140a(0x1a4)))[_0x3c140a(0x466)](_0x5126ca=>{const _0x13a6f3=_0x3c140a;let _0x9b612f=getComputedStyle(_0x5126ca),_0x3c955b=Number[_0x13a6f3(0x3d8)](_0x9b612f['strokeWidth']);return _0x9b612f[_0x13a6f3(0x1f2)]===_0x13a6f3(0x2dc)||Number['parseFloat'](_0x9b612f['strokeOpacity'])===0x0||_0x9b612f[_0x13a6f3(0x462)]===_0x13a6f3(0xe0)||!Number[_0x13a6f3(0xed)](_0x3c955b)||_0x3c955b<=0x0?[]:[{'element':_0x5126ca,'hadStyleAttribute':_0x5126ca[_0x13a6f3(0x28e)](_0x13a6f3(0x204)),'originalStrokeWidth':_0x3c955b,'strokeWidth':_0x26a885(_0x5126ca[_0x13a6f3(0x204)],'stroke-width')}];})[_0x3c140a(0x41e)](_0x3e581d=>({'appliedStrokeWidth':null,'element':_0x3e581d[_0x3c140a(0x315)],'hadStyleAttribute':_0x3e581d[_0x3c140a(0x36e)],'isReleased':!0x1,'originalStrokeWidth':_0x3e581d[_0x3c140a(0x17d)],'strokeWidth':_0x3e581d[_0x3c140a(0xef)]}));if(_0x396bee[_0x3c140a(0x38a)]===0x0)return()=>void 0x0;let _0x8eefa1=(_0x182d51,_0x391a0b)=>{const _0x3bd658=_0x3c140a;if(_0x3e31db['width']<=0x0||_0x3e31db[_0x3bd658(0x31b)]<=0x0||_0x182d51<=0x0||_0x391a0b<=0x0)return;let _0x494876=Math[_0x3bd658(0x3df)](_0x182d51/_0x3e31db['width'],_0x391a0b/_0x3e31db['height']);!Number[_0x3bd658(0xed)](_0x494876)||_0x494876<=0x0||_0x396bee[_0x3bd658(0x123)](_0x19833c=>{const _0xe28586=_0x3bd658;if(_0x19833c['isReleased'])return;if(_0x19833c[_0xe28586(0x2f3)]!==null&&(_0x19833c[_0xe28586(0x315)]['style'][_0xe28586(0x26d)]('stroke-width')!==_0x19833c[_0xe28586(0x2f3)]||_0x19833c[_0xe28586(0x315)]['style']['getPropertyPriority'](_0xe28586(0x284))!==_0x19833c[_0xe28586(0xef)]['priority'])){_0x19833c['appliedStrokeWidth']=null,_0x19833c['isReleased']=!0x0;return;}let _0x2831a8=_0x19833c[_0xe28586(0x17d)]*_0x652508/_0x494876,_0xade403=Number(_0x2831a8[_0xe28586(0x3d2)](0xc))+'px';_0x19833c[_0xe28586(0x315)][_0xe28586(0x204)][_0xe28586(0x1de)](_0xe28586(0x284),_0xade403,_0x19833c[_0xe28586(0xef)][_0xe28586(0x442)]),_0x19833c[_0xe28586(0x2f3)]=_0xade403;});},_0x284521=_0xe2312c[_0x3c140a(0x3f0)]();_0x8eefa1(_0x284521[_0x3c140a(0x36b)],_0x284521[_0x3c140a(0x31b)]);let _0x3905f8=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x32667f=>{const _0xd8ba7a=_0x3c140a;if(_0x32667f['some'](_0x2c9777=>_0x2c9777['target']===_0xe2312c)){let _0x70fda2=_0xe2312c[_0xd8ba7a(0x3f0)]();_0x8eefa1(_0x70fda2[_0xd8ba7a(0x36b)],_0x70fda2[_0xd8ba7a(0x31b)]);}});return _0x3905f8==null||_0x3905f8['observe'](_0xe2312c),()=>{const _0x53bd65=_0x3c140a;_0x3905f8==null||_0x3905f8[_0x53bd65(0x39d)](),_0x396bee[_0x53bd65(0x123)](_0x36f2ae=>{const _0x495c30=_0x53bd65;_0x36f2ae[_0x495c30(0x2f3)]!==null&&(_0x5df476(_0x36f2ae[_0x495c30(0x315)]['style'],_0x495c30(0x284),_0x36f2ae[_0x495c30(0x2f3)],_0x36f2ae[_0x495c30(0xef)]['priority'],_0x36f2ae[_0x495c30(0xef)]),!_0x36f2ae[_0x495c30(0x36e)]&&_0x36f2ae[_0x495c30(0x315)][_0x495c30(0x204)][_0x495c30(0x38a)]===0x0&&_0x36f2ae[_0x495c30(0x315)][_0x495c30(0x300)](_0x495c30(0x204)));});};}function _0x26a885(_0x5d68ec,_0x4f6f13){const _0x225379=_0x1a21ce;return{'priority':_0x5d68ec[_0x225379(0x25b)](_0x4f6f13),'value':_0x5d68ec[_0x225379(0x26d)](_0x4f6f13)};}function _0x5df476(_0x19ac67,_0x1e0870,_0x3d0822,_0x204cd1,_0x5f9884){const _0x1dfad4=_0x1a21ce;_0x19ac67[_0x1dfad4(0x26d)](_0x1e0870)===_0x3d0822&&_0x19ac67[_0x1dfad4(0x25b)](_0x1e0870)===_0x204cd1&&(_0x5f9884[_0x1dfad4(0x2f5)]?_0x19ac67['setProperty'](_0x1e0870,_0x5f9884['value'],_0x5f9884['priority']):_0x19ac67[_0x1dfad4(0x136)](_0x1e0870));}_0x1aa9c1[_0x1a21ce(0x2f1)]=_0x1a21ce(0x495);let _0x31b352={'tag':'svg','attrs':{'xmlns':_0x1a21ce(0xf0),'fill':'none','viewBox':_0x1a21ce(0x3b0),'width':'1em','height':_0x1a21ce(0x496)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':'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','fillRule':_0x1a21ce(0x2de),'clipRule':'evenodd'}},{'tag':_0x1a21ce(0x11b),'attrs':{'fill':_0x1a21ce(0x22a),'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':_0x1a21ce(0x2de),'clipRule':_0x1a21ce(0x2de)}},{'tag':_0x1a21ce(0x11b),'attrs':{'fill':_0x1a21ce(0x22a),'d':_0x1a21ce(0x140)}},{'tag':_0x1a21ce(0x11b),'attrs':{'fill':_0x1a21ce(0x22a),'d':_0x1a21ce(0x37e)}}]},_0x5d5b89=(0x0,_0x41b065[_0x1a21ce(0x3dd)])(function(_0x697d5e,_0x204dc4){const _0x20183c=_0x1a21ce;return(0x0,_0x41b065['createElement'])(_0x1aa9c1,Object[_0x20183c(0x147)]({},_0x697d5e,{'id':'bottom-icon','ref':_0x204dc4,'icon':_0x31b352}));});_0x5d5b89[_0x1a21ce(0x2f1)]='BottomIcon';let _0x1eb514={'tag':_0x1a21ce(0x33c),'attrs':{'xmlns':_0x1a21ce(0xf0),'fill':'none','viewBox':_0x1a21ce(0x427),'width':_0x1a21ce(0x496),'height':_0x1a21ce(0x496)},'children':[{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':_0x1a21ce(0x2b6),'strokeLinecap':_0x1a21ce(0x3fa),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':_0x1a21ce(0x2e9),'strokeLinecap':_0x1a21ce(0x3fa),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':_0x1a21ce(0x3f5),'strokeLinecap':_0x1a21ce(0x3fa),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x1a21ce(0x22a),'d':_0x1a21ce(0x4c0),'strokeLinecap':_0x1a21ce(0x3fa),'strokeWidth':1.2}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':_0x1a21ce(0x49a),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':'M8\x2014V14.2','strokeLinecap':'round','strokeWidth':1.2}}]},_0x3e2952=(0x0,_0x41b065['forwardRef'])(function(_0xb0694e,_0x3a725b){const _0x2c08da=_0x1a21ce;return(0x0,_0x41b065[_0x2c08da(0x478)])(_0x1aa9c1,Object['assign']({},_0xb0694e,{'id':_0x2c08da(0x1a0),'ref':_0x3a725b,'icon':_0x1eb514}));});_0x3e2952[_0x1a21ce(0x2f1)]=_0x1a21ce(0x346);let _0x510836={'tag':_0x1a21ce(0x33c),'attrs':{'xmlns':_0x1a21ce(0xf0),'fill':_0x1a21ce(0x2dc),'viewBox':_0x1a21ce(0x427),'width':_0x1a21ce(0x496),'height':_0x1a21ce(0x496)},'children':[{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':'M3.3\x202.6L8\x206.2L12.7\x202.6H3.3Z','strokeLinecap':_0x1a21ce(0x3fa),'strokeLinejoin':_0x1a21ce(0x3fa),'strokeWidth':1.3}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':_0x1a21ce(0x356),'strokeLinecap':'round','strokeLinejoin':_0x1a21ce(0x3fa),'strokeWidth':1.3}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':'M2.2\x208H3.8','strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':'currentColor','d':_0x1a21ce(0x15f),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':'M10.2\x208H11.8','strokeLinecap':_0x1a21ce(0x3fa),'strokeWidth':1.2}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':'currentColor','d':'M14\x208H14.2','strokeLinecap':_0x1a21ce(0x3fa),'strokeWidth':1.2}}]},_0xd31e07=(0x0,_0x41b065[_0x1a21ce(0x3dd)])(function(_0xa3904f,_0x493342){const _0x423068=_0x1a21ce;return(0x0,_0x41b065[_0x423068(0x478)])(_0x1aa9c1,Object[_0x423068(0x147)]({},_0xa3904f,{'id':'flip-vertical-icon','ref':_0x493342,'icon':_0x510836}));});_0xd31e07[_0x1a21ce(0x2f1)]=_0x1a21ce(0x220);let _0x6f100f={'tag':_0x1a21ce(0x33c),'attrs':{'xmlns':_0x1a21ce(0xf0),'fill':_0x1a21ce(0x2dc),'viewBox':_0x1a21ce(0x427),'width':_0x1a21ce(0x496),'height':_0x1a21ce(0x496)},'children':[{'tag':_0x1a21ce(0x11b),'attrs':{'fill':_0x1a21ce(0x22a),'d':'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','fillRule':_0x1a21ce(0x2de),'clipRule':_0x1a21ce(0x2de)}},{'tag':_0x1a21ce(0x11b),'attrs':{'fill':_0x1a21ce(0x22a),'d':_0x1a21ce(0x47f)}}]},_0x2fde21=(0x0,_0x41b065[_0x1a21ce(0x3dd)])(function(_0x28609f,_0x28c172){const _0x3c9ea0=_0x1a21ce;return(0x0,_0x41b065[_0x3c9ea0(0x478)])(_0x1aa9c1,Object[_0x3c9ea0(0x147)]({},_0x28609f,{'id':'move-down-icon','ref':_0x28c172,'icon':_0x6f100f}));});_0x2fde21[_0x1a21ce(0x2f1)]=_0x1a21ce(0x12e);let _0x57eaa5={'tag':_0x1a21ce(0x33c),'attrs':{'xmlns':_0x1a21ce(0xf0),'fill':'none','viewBox':_0x1a21ce(0x427),'width':_0x1a21ce(0x496),'height':_0x1a21ce(0x496)},'children':[{'tag':_0x1a21ce(0x11b),'attrs':{'fill':_0x1a21ce(0x22a),'d':_0x1a21ce(0x24d),'fillRule':_0x1a21ce(0x2de),'clipRule':_0x1a21ce(0x2de)}},{'tag':_0x1a21ce(0x11b),'attrs':{'fill':_0x1a21ce(0x22a),'d':_0x1a21ce(0x146)}}]},_0x560c8a=(0x0,_0x41b065[_0x1a21ce(0x3dd)])(function(_0x21a421,_0x4e422e){const _0x2424de=_0x1a21ce;return(0x0,_0x41b065[_0x2424de(0x478)])(_0x1aa9c1,Object[_0x2424de(0x147)]({},_0x21a421,{'id':_0x2424de(0x4ca),'ref':_0x4e422e,'icon':_0x57eaa5}));});_0x560c8a['displayName']='MoveUpIcon';let _0xea6b7d={'tag':_0x1a21ce(0x33c),'attrs':{'xmlns':_0x1a21ce(0xf0),'fill':_0x1a21ce(0x2dc),'viewBox':'0\x200\x2016\x2016','width':_0x1a21ce(0x496),'height':'1em'},'children':[{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':_0x1a21ce(0x33e),'strokeLinecap':'round','strokeLinejoin':_0x1a21ce(0x3fa),'strokeWidth':1.3}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':_0x1a21ce(0x34c),'strokeLinecap':_0x1a21ce(0x3fa),'strokeLinejoin':_0x1a21ce(0x3fa),'strokeWidth':1.3}}]},_0x829491=(0x0,_0x41b065['forwardRef'])(function(_0x4a648d,_0x19fc81){const _0x12eff5=_0x1a21ce;return(0x0,_0x41b065[_0x12eff5(0x478)])(_0x1aa9c1,Object[_0x12eff5(0x147)]({},_0x4a648d,{'id':_0x12eff5(0x4b1),'ref':_0x19fc81,'icon':_0xea6b7d}));});_0x829491[_0x1a21ce(0x2f1)]=_0x1a21ce(0x302);let _0xc6aa2a={'tag':'svg','attrs':{'xmlns':_0x1a21ce(0xf0),'fill':_0x1a21ce(0x2dc),'viewBox':_0x1a21ce(0x427),'width':_0x1a21ce(0x496),'height':_0x1a21ce(0x496)},'children':[{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'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':_0x1a21ce(0x3fa),'strokeLinejoin':_0x1a21ce(0x3fa),'strokeWidth':1.2}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':'currentColor','d':'M4.2\x205.5H10.5','strokeLinecap':_0x1a21ce(0x3fa),'strokeWidth':1.2}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':_0x1a21ce(0x28d),'strokeLinecap':_0x1a21ce(0x3fa),'strokeWidth':1.2}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':_0x1a21ce(0x21f),'strokeLinejoin':_0x1a21ce(0x3fa)}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':'currentColor','d':_0x1a21ce(0x471)}}]},_0x557122=(0x0,_0x41b065[_0x1a21ce(0x3dd)])(function(_0x4786d7,_0x53f1f0){const _0x21b89d=_0x1a21ce;return(0x0,_0x41b065[_0x21b89d(0x478)])(_0x1aa9c1,Object[_0x21b89d(0x147)]({},_0x4786d7,{'id':_0x21b89d(0x23f),'ref':_0x53f1f0,'icon':_0xc6aa2a}));});_0x557122[_0x1a21ce(0x2f1)]=_0x1a21ce(0x3a7);let _0x26e966={'tag':'svg','attrs':{'xmlns':_0x1a21ce(0xf0),'fill':_0x1a21ce(0x2dc),'viewBox':_0x1a21ce(0x3b0),'width':_0x1a21ce(0x496),'height':_0x1a21ce(0x496)},'children':[{'tag':_0x1a21ce(0x11b),'attrs':{'fill':'currentColor','d':_0x1a21ce(0x3a2)}},{'tag':_0x1a21ce(0x11b),'attrs':{'fill':_0x1a21ce(0x22a),'d':_0x1a21ce(0x391),'fillRule':'evenodd','clipRule':_0x1a21ce(0x2de)}},{'tag':_0x1a21ce(0x11b),'attrs':{'fill':_0x1a21ce(0x22a),'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':_0x1a21ce(0x2de)}}]},_0x4aa8d7=(0x0,_0x41b065[_0x1a21ce(0x3dd)])(function(_0x220469,_0x3c273b){const _0x854ffa=_0x1a21ce;return(0x0,_0x41b065[_0x854ffa(0x478)])(_0x1aa9c1,Object[_0x854ffa(0x147)]({},_0x220469,{'id':'topmost-icon','ref':_0x3c273b,'icon':_0x26e966}));});_0x4aa8d7['displayName']=_0x1a21ce(0x2a7);function _0x38ad1c(_0x1f3998){return _0x1f3998['trim']()||void 0x0;}function _0x2c77f7(_0x29d85c,_0x396a13,_0xd869b1){const _0x28b01d=_0x1a21ce;var _0x598f67;return((_0x598f67=_0x29d85c[_0x28b01d(0x159)])==null?void 0x0:_0x598f67[_0x28b01d(0x1ae)]())||_0xd869b1['t']('drawing-ui.objectListPanel.typeNames.'+(0x0,_0x3ed8c6[_0x28b01d(0x1bb)])(_0x29d85c[_0x28b01d(0x497)]))+'\x20'+(_0x396a13+0x1);}function _0x5f03c9({PanelComponent:_0x221671=_0x11fb86[_0x1a21ce(0x381)]}){const _0x1bb0fc=_0x1a21ce;var _0x5a0ebf;let _0x1fafb1=(0x0,_0x416351[_0x1bb0fc(0x20b)])(_0x5cf0ce[_0x1bb0fc(0x4ac)]),_0x58bcb0={'title':_0x1fafb1['t']('drawing-ui.objectListPanel.title'),'empty':_0x1fafb1['t']('drawing-ui.objectListPanel.empty'),'showAll':_0x1fafb1['t'](_0x1bb0fc(0x364)),'hideAll':_0x1fafb1['t'](_0x1bb0fc(0x37a)),'lockAll':_0x1fafb1['t']('drawing-ui.objectListPanel.lockAll'),'unlockAll':_0x1fafb1['t'](_0x1bb0fc(0x443)),'moveForward':_0x1fafb1['t'](_0x1bb0fc(0x398)),'moveBackward':_0x1fafb1['t'](_0x1bb0fc(0x29d)),'close':_0x1fafb1['t']('drawing-ui.objectListPanel.close'),'show':_0x1fafb1['t'](_0x1bb0fc(0x327)),'hide':_0x1fafb1['t'](_0x1bb0fc(0x392)),'lock':_0x1fafb1['t']('drawing-ui.objectListPanel.lock'),'unlock':_0x1fafb1['t'](_0x1bb0fc(0x29f)),'lockHint':_0x1fafb1['t'](_0x1bb0fc(0x3dc)),'unlockHint':_0x1fafb1['t'](_0x1bb0fc(0x144)),'name':_0x1fafb1['t'](_0x1bb0fc(0x185)),'nameInput':_0x1fafb1['t'](_0x1bb0fc(0x318)),'description':_0x1fafb1['t'](_0x1bb0fc(0x42e)),'descriptionPlaceholder':_0x1fafb1['t'](_0x1bb0fc(0x29e)),'details':_0x1fafb1['t'](_0x1bb0fc(0x2b8)),'noSelection':_0x1fafb1['t'](_0x1bb0fc(0x1c8)),'locate':_0x1fafb1['t'](_0x1bb0fc(0xf6)),'expand':_0x1fafb1['t'](_0x1bb0fc(0x47a)),'collapse':_0x1fafb1['t'](_0x1bb0fc(0x463)),'dragToReorder':_0x1fafb1['t']('drawing-ui.objectListPanel.dragToReorder'),'search':_0x1fafb1['t']('drawing-ui.objectListPanel.search'),'filterAll':_0x1fafb1['t']('drawing-ui.objectListPanel.filterAll'),'filterHidden':_0x1fafb1['t'](_0x1bb0fc(0x2ba)),'filterLocked':_0x1fafb1['t'](_0x1bb0fc(0x434)),'sectionCanvas':_0x1fafb1['t'](_0x1bb0fc(0x15e)),'sectionFloating':_0x1fafb1['t'](_0x1bb0fc(0x435))},_0xc86882=(0x0,_0x416351[_0x1bb0fc(0x20b)])(_0x5cf0ce[_0x1bb0fc(0x311)]),_0x5953dc=(0x0,_0x416351['useDependency'])(_0x5cf0ce['IUniverInstanceService']),_0x4a1e28=(0x0,_0x416351['useDependency'])(_0x57dfd6[_0x1bb0fc(0x114)]),_0x197122=(0x0,_0x416351[_0x1bb0fc(0x20b)])(_0x2a2438[_0x1bb0fc(0x3e4)]),_0x1bb45d=(0x0,_0x416351[_0x1bb0fc(0x20b)])(_0x4413bb['IRenderManagerService']),[,_0x2e077b]=(0x0,_0x41b065[_0x1bb0fc(0x1c2)])(_0x308586=>_0x308586+0x1,0x0),_0x4ead25=_0x5953dc['getCurrentUnitOfType'](_0x5cf0ce[_0x1bb0fc(0x21e)][_0x1bb0fc(0x3a3)]),_0x4c8d9c=(_0x4ead25==null?void 0x0:_0x4ead25[_0x1bb0fc(0x290)]())??'',_0x41ed30=(_0x4ead25==null||(_0x5a0ebf=_0x4ead25[_0x1bb0fc(0x32d)]())==null?void 0x0:_0x5a0ebf[_0x1bb0fc(0x1a1)]())??'',_0x103243=(0x0,_0x416351['useObservable'])(()=>_0x197122[_0x1bb0fc(0x28c)],_0x197122[_0x1bb0fc(0x314)](),!0x1,[_0x197122]);(0x0,_0x41b065[_0x1bb0fc(0x2e2)])(()=>{const _0x58f2ea=_0x1bb0fc;let _0x253977=_0xc86882[_0x58f2ea(0x30f)](()=>_0x2e077b());return()=>_0x253977[_0x58f2ea(0x351)]();},[_0xc86882]);let _0x47cfd9=_0x4c8d9c&&_0x41ed30?_0x4a1e28[_0x1bb0fc(0x385)](_0x4c8d9c,_0x41ed30):{},_0x126500=(_0x4c8d9c&&_0x41ed30?_0x4a1e28[_0x1bb0fc(0x289)](_0x4c8d9c,_0x41ed30):[])[_0x1bb0fc(0x41e)](_0x4cf165=>_0x47cfd9[_0x4cf165])['filter'](_0x354d27=>!!_0x354d27)['reverse'](),_0x48c4f0=_0x126500[_0x1bb0fc(0x1c3)]((_0x5648be,_0x5dfc8c)=>(_0x5648be[(0x0,_0x11fb86[_0x1bb0fc(0xd9)])(_0x5dfc8c[_0x1bb0fc(0x497)])]+=0x1,_0x5648be),{'canvas':0x0,'floating':0x0}),_0x4b8db9={'canvas':0x0,'floating':0x0},_0x446317=_0x126500[_0x1bb0fc(0x41e)]((_0x5365f9,_0x249864)=>{const _0x23df5c=_0x1bb0fc;let _0x2d715f=(0x0,_0x11fb86[_0x23df5c(0xd9)])(_0x5365f9[_0x23df5c(0x497)]),_0x533876=_0x2d715f===_0x11fb86['OBJECT_LIST_FLOATING_SECTION_ID'],_0x49662f=_0x4b8db9[_0x2d715f]++;return{'id':_0x5365f9[_0x23df5c(0x1f5)],'name':_0x2c77f7(_0x5365f9,_0x249864,_0x1fafb1),'description':_0x5365f9[_0x23df5c(0x3c8)],'visible':_0x5365f9[_0x23df5c(0x1bf)]!==!0x0,'selectable':_0x5365f9['selectable']!==!0x1,'sectionId':_0x2d715f,'sectionTitle':_0x533876?_0x58bcb0[_0x23df5c(0x281)]:_0x58bcb0['sectionCanvas'],'capabilities':_0x533876?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x533876&&_0x49662f>0x0,'canMoveBackward':!_0x533876&&_0x49662f<_0x48c4f0['canvas']-0x1,'canReorder':!_0x533876};}),_0x412f1d=(0x0,_0x41b065[_0x1bb0fc(0x455)])(()=>(_0x103243??[])[_0x1bb0fc(0x431)](_0xfa9e61=>_0xfa9e61[_0x1bb0fc(0x197)]===_0x4c8d9c&&_0xfa9e61[_0x1bb0fc(0x4b3)]===_0x41ed30)[_0x1bb0fc(0x41e)](_0x35c467=>_0x35c467[_0x1bb0fc(0x1f5)]),[_0x103243,_0x41ed30,_0x4c8d9c]),_0x263cad=_0x412f1d[_0x412f1d[_0x1bb0fc(0x38a)]-0x1]??null,_0x308997=_0xbce337=>_0x4a1e28[_0x1bb0fc(0x214)]({'unitId':_0x4c8d9c,'subUnitId':_0x41ed30,'drawingId':_0xbce337})??null,_0x3395ae=async _0x54365b=>{const _0x38de63=_0x1bb0fc;_0x4c8d9c&&_0x54365b[_0x38de63(0x38a)]&&await _0xc86882['executeCommand'](_0x57dfd6[_0x38de63(0x120)]['id'],{'unitId':_0x4c8d9c,'drawings':_0x54365b});},_0xa824b5=async(_0x1900a9,_0x2acfc3)=>{_0x308997(_0x1900a9)&&await _0x3395ae([{'unitId':_0x4c8d9c,'subUnitId':_0x41ed30,'drawingId':_0x1900a9,..._0x2acfc3}]);},_0x42ed79=(_0x5a9041,_0x3d6094)=>{const _0x28541c=_0x1bb0fc;if(!_0x4c8d9c||!_0x41ed30)return;let _0x10d016=_0x3d6094?_0x412f1d[_0x28541c(0x24f)](_0x5a9041)?_0x412f1d[_0x28541c(0x431)](_0x2831a6=>_0x2831a6!==_0x5a9041):[..._0x412f1d,_0x5a9041]:[_0x5a9041];_0xc86882[_0x28541c(0x25e)](_0x2a2438[_0x28541c(0x2db)]['id'],_0x10d016[_0x28541c(0x41e)](_0x2ff06d=>({'unitId':_0x4c8d9c,'subUnitId':_0x41ed30,'drawingId':_0x2ff06d})));let _0x37583b=_0x10d016[_0x10d016['length']-0x1];_0x37583b?(0x0,_0x3ed8c6[_0x28541c(0x428)])(_0x1bb45d,{'unitId':_0x4c8d9c,'subUnitId':_0x41ed30,'drawingId':_0x37583b}):(0x0,_0x3ed8c6[_0x28541c(0x48b)])(_0x1bb45d,_0x4c8d9c);},_0x2c7021=async(_0x2c9823,_0xf7c1ff)=>{const _0x4079c8=_0x1bb0fc;await _0x3395ae(_0x2c9823[_0x4079c8(0x41e)](_0x27b2bc=>_0x308997(_0x27b2bc))[_0x4079c8(0x431)](_0x321e84=>!!_0x321e84)[_0x4079c8(0x431)](_0x11400f=>_0x11400f[_0x4079c8(0x1bf)]!==!0x0!==_0xf7c1ff)['map'](_0x18da9a=>({'unitId':_0x4c8d9c,'subUnitId':_0x41ed30,'drawingId':_0x18da9a[_0x4079c8(0x1f5)],'hidden':!_0xf7c1ff})));},_0x18a155=async(_0x8f4545,_0x7afbf9)=>{const _0x22438a=_0x1bb0fc;await _0x3395ae(_0x8f4545[_0x22438a(0x41e)](_0x42b9e7=>_0x308997(_0x42b9e7))[_0x22438a(0x431)](_0x1e1add=>!!_0x1e1add)[_0x22438a(0x431)](_0x568978=>_0x568978[_0x22438a(0x48e)]!==!0x1!==_0x7afbf9)[_0x22438a(0x41e)](_0x420f9f=>({'unitId':_0x4c8d9c,'subUnitId':_0x41ed30,'drawingId':_0x420f9f['drawingId'],'selectable':_0x7afbf9})));},_0x3d39d0=_0x391cf8=>{const _0x499b6e=_0x1bb0fc;let _0x507020=_0x308997(_0x391cf8);if(_0x507020)return _0x18a155([_0x391cf8],_0x507020[_0x499b6e(0x48e)]===!0x1);},_0x156cfd=async(_0x2a3023,_0x1e7ad4)=>{const _0x1aa6eb=_0x1bb0fc;var _0x54de86;let _0x43d10c=_0x38ad1c(_0x1e7ad4);(((_0x54de86=_0x308997(_0x2a3023))==null?void 0x0:_0x54de86[_0x1aa6eb(0x159)])??void 0x0)!==_0x43d10c&&await _0xa824b5(_0x2a3023,{'name':_0x43d10c});},_0x586af8=async(_0xbf9ad5,_0x22c889)=>{const _0x3bb75b=_0x1bb0fc;var _0x14ff5d;let _0x2db533=_0x38ad1c(_0x22c889);(((_0x14ff5d=_0x308997(_0xbf9ad5))==null?void 0x0:_0x14ff5d[_0x3bb75b(0x3c8)])??void 0x0)!==_0x2db533&&await _0xa824b5(_0xbf9ad5,{'description':_0x2db533});},_0x3d9df5=async(_0x215e9c,_0x852f3b)=>{const _0x9b2edc=_0x1bb0fc;_0x4c8d9c&&_0x41ed30&&await _0xc86882['executeCommand'](_0x57dfd6[_0x9b2edc(0x255)]['id'],{'unitId':_0x4c8d9c,'subUnitId':_0x41ed30,'drawingIds':[_0x215e9c],'arrangeType':_0x852f3b});};return!_0x4c8d9c||!_0x41ed30?(0x0,_0x53553e[_0x1bb0fc(0x404)])(_0x1bb0fc(0x429),{'className':_0x1bb0fc(0x1c7),'children':_0x58bcb0['title']}):(0x0,_0x53553e[_0x1bb0fc(0x404)])(_0x221671,{'labels':_0x58bcb0,'items':_0x446317,'selectedIds':_0x412f1d,'focusedId':_0x263cad,'showHeader':!0x1,'onSelect':_0x42ed79,'onSetVisible':_0x2c7021,'onSetSelectable':_0x18a155,'onCommitName':_0x156cfd,'onCommitDescription':_0x586af8,'onMoveForward':async _0x174520=>_0x3d9df5(_0x174520,_0x5cf0ce[_0x1bb0fc(0x348)]['forward']),'onMoveBackward':async _0x4ff312=>_0x3d9df5(_0x4ff312,_0x5cf0ce[_0x1bb0fc(0x348)]['backward']),'onToggleSelectable':_0x3d39d0});}function _0x5edb32(){const _0x26bea4=_0x1a21ce;return(0x0,_0x53553e[_0x26bea4(0x404)])(_0x5f03c9,{'PanelComponent':_0x11fb86[_0x26bea4(0x384)]});}let _0x1338d4=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x213d32,_0x22d7a5){const _0x2a137e=_0x1a21ce;super(),this[_0x2a137e(0x4c4)](_0x213d32['register'](_0x56bb7a,_0x5edb32)),this[_0x2a137e(0x4c4)](_0x22d7a5['register']({'BottomIcon':_0x5d5b89,'FlipHorizontalIcon':_0x3e2952,'FlipVerticalIcon':_0xd31e07,'MoveDownIcon':_0x2fde21,'MoveUpIcon':_0x560c8a,'ObjectLayersIcon':_0x829491,'ShapeFormatSettingIcon':_0x557122,'TopmostIcon':_0x4aa8d7})),this['disposeWithMe'](_0x213d32['register'](_0x116576,_0x15bbb6)),this[_0x2a137e(0x4c4)](_0x213d32[_0x2a137e(0x3b8)](_0x4a940a,_0x1d34b4)),_0x213d32['hasDefault'](_0x11fb86[_0x2a137e(0x1ee)])||this[_0x2a137e(0x4c4)](_0x213d32['register'](_0x11fb86[_0x2a137e(0x1ee)],_0x5d1131));}};_0x1338d4=_0x3f6514([_0x4512b4(0x0,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x416351[_0x1a21ce(0x273)])),_0x4512b4(0x1,(0x0,_0x5cf0ce['Inject'])(_0x416351[_0x1a21ce(0x1a6)]))],_0x1338d4);let _0x46b0ec=class extends _0x5cf0ce['Disposable']{constructor(_0x107738){const _0x2b4e2d=_0x1a21ce;super(),this[_0x2b4e2d(0x374)]=_0x107738,_0x339d5f(this,'_editingParams$',new _0x4cb228['BehaviorSubject'](null)),_0x339d5f(this,_0x2b4e2d(0x326),this[_0x2b4e2d(0x135)][_0x2b4e2d(0x2bd)]()),_0x339d5f(this,_0x2b4e2d(0x157),new _0x4cb228[(_0x2b4e2d(0x470))](!0x1)),_0x339d5f(this,_0x2b4e2d(0x3e2),this[_0x2b4e2d(0x157)]['asObservable']()),_0x339d5f(this,_0x2b4e2d(0x37f),void 0x0),this[_0x2b4e2d(0x4c4)](this[_0x2b4e2d(0x374)][_0x2b4e2d(0x11f)][_0x2b4e2d(0x3e7)](()=>{const _0x1354ce=_0x2b4e2d;let _0x42de23=this[_0x1354ce(0x21d)]();_0x42de23!=null&&_0x42de23[_0x1354ce(0x241)]&&!this[_0x1354ce(0x208)](_0x42de23)&&this[_0x1354ce(0x27f)](null);}));}['dispose'](){const _0x14d93a=_0x1a21ce;this[_0x14d93a(0x104)](),this[_0x14d93a(0x135)]['next'](null),this[_0x14d93a(0x135)][_0x14d93a(0x299)](),this[_0x14d93a(0x157)][_0x14d93a(0x395)](!0x1),this['_onSavingEditorData$'][_0x14d93a(0x299)](),super[_0x14d93a(0x351)]();}[_0x1a21ce(0x27f)](_0x105f5e){const _0x5ed9b5=_0x1a21ce;(_0x105f5e==null||!_0x105f5e[_0x5ed9b5(0x241)]||this[_0x5ed9b5(0x208)](_0x105f5e))&&(this[_0x5ed9b5(0x104)](),this['_editingParams$'][_0x5ed9b5(0x395)](_0x105f5e),(_0x105f5e==null||_0x105f5e[_0x5ed9b5(0x241)]&&this[_0x5ed9b5(0x157)]['getValue']())&&this[_0x5ed9b5(0x157)][_0x5ed9b5(0x395)](!0x1));}[_0x1a21ce(0x347)](_0x2e3a09){const _0x4f7db4=_0x1a21ce;this['_onSavingEditorData$'][_0x4f7db4(0x395)](_0x2e3a09);}[_0x1a21ce(0x21d)](){const _0x42b126=_0x1a21ce;return this['_editingParams$'][_0x42b126(0x1aa)]();}[_0x1a21ce(0x208)](_0xc629a6){const _0x43f643=_0x1a21ce;let _0x4f5c72=this[_0x43f643(0x374)]['getPermissionPoint'](new _0xdab3fa['WorkbookEditablePermission'](_0xc629a6[_0x43f643(0x197)])['id']),_0x5030ce=this['_permissionService'][_0x43f643(0x19f)](new _0xdab3fa['WorksheetEditPermission'](_0xc629a6[_0x43f643(0x197)],_0xc629a6['subUnitId'])['id']);return((_0x4f5c72==null?void 0x0:_0x4f5c72[_0x43f643(0x2f5)])??!0x0)&&((_0x5030ce==null?void 0x0:_0x5030ce['value'])??!0x0);}[_0x1a21ce(0x45c)](_0x3cf091){const _0x40403f=_0x1a21ce;let _0xbbd4d6=this['getEditing']();_0xbbd4d6&&this[_0x40403f(0x37f)]===void 0x0&&(this[_0x40403f(0x347)](!0x0),this['_completionFrame']=requestAnimationFrame(()=>{const _0x4176bb=_0x40403f;this[_0x4176bb(0x37f)]=void 0x0,this[_0x4176bb(0x21d)]()===_0xbbd4d6&&this[_0x4176bb(0x27f)](null);}));}['_clearCompletionFrame'](){const _0x4a00e1=_0x1a21ce;this[_0x4a00e1(0x37f)]!==void 0x0&&(cancelAnimationFrame(this['_completionFrame']),this[_0x4a00e1(0x37f)]=void 0x0);}[_0x1a21ce(0x4b7)](){const _0x52b243=_0x1a21ce;this['getEditing']()&&this[_0x52b243(0x27f)](null);}};_0x46b0ec=_0x3f6514([_0x4512b4(0x0,_0x5cf0ce['IPermissionService'])],_0x46b0ec);let _0x3505a0=class extends _0x5cf0ce['Disposable']{constructor(_0x5bba3e,_0x1cdc94,_0x3dbe3c,_0x93e51a,_0x203216,_0xb43bd7){const _0x4b6959=_0x1a21ce;super(),this[_0x4b6959(0x4c9)]=_0x5bba3e,this[_0x4b6959(0x451)]=_0x1cdc94,this[_0x4b6959(0x2ea)]=_0x3dbe3c,this[_0x4b6959(0x383)]=_0x93e51a,this[_0x4b6959(0x1d7)]=_0x203216,this[_0x4b6959(0x23a)]=_0xb43bd7,_0x339d5f(this,_0x4b6959(0x2a5),null),this[_0x4b6959(0x27e)](),this[_0x4b6959(0x213)](),this[_0x4b6959(0x48f)]();}[_0x1a21ce(0x27e)](){const _0x37d165=_0x1a21ce;let {scene:_0x13b03f}=this[_0x37d165(0x4c9)];this[_0x37d165(0x4c4)](_0x13b03f[_0x37d165(0x145)]['subscribeEvent'](_0x489cf3=>{const _0xa26a9b=_0x37d165;let {offsetX:_0x1f2434,offsetY:_0x597377}=_0x489cf3,_0xf3d5c4=_0x13b03f[_0xa26a9b(0x181)](_0x4413bb[_0xa26a9b(0x40c)][_0xa26a9b(0x14e)]([_0x1f2434,_0x597377]));if(_0xf3d5c4 instanceof _0x4d7701){let _0x1828e1=this[_0xa26a9b(0x23a)][_0xa26a9b(0x49e)](_0xf3d5c4[_0xa26a9b(0x197)],_0xf3d5c4['subUnitId'],_0xf3d5c4[_0xa26a9b(0x1b1)]);if((0x0,_0x24d21b[_0xa26a9b(0x373)])(this['_sheetsShapeService']['getShapeType'](_0xf3d5c4[_0xa26a9b(0x197)],_0xf3d5c4[_0xa26a9b(0x4b3)],_0xf3d5c4[_0xa26a9b(0x1b1)]))||_0x1828e1!=null&&_0x1828e1[_0xa26a9b(0x1ea)]()[_0xa26a9b(0x126)])return;this[_0xa26a9b(0x2ea)][_0xa26a9b(0x27f)]({'visible':!0x0,'unitId':_0xf3d5c4[_0xa26a9b(0x197)],'subUnitId':_0xf3d5c4[_0xa26a9b(0x4b3)],'shapeId':_0xf3d5c4['shapeId'],'shapeKey':_0xf3d5c4['oKey']});}}));}[_0x1a21ce(0x213)](){const _0x148c7f=_0x1a21ce;this['disposeWithMe'](this[_0x148c7f(0x383)][_0x148c7f(0x28c)][_0x148c7f(0x3e7)](_0x3fa2b5=>{const _0x3e58c5=_0x148c7f;if(_0x3fa2b5[_0x3e58c5(0x38a)]===0x1){let _0x5f06e8=_0x3fa2b5[0x0],_0x350736=this[_0x3e58c5(0x383)][_0x3e58c5(0x214)](_0x5f06e8);if((_0x350736==null?void 0x0:_0x350736[_0x3e58c5(0x497)])===_0x5cf0ce[_0x3e58c5(0x1c1)][_0x3e58c5(0x33f)]){var _0x275b46;let _0x20e225=this['_shapeTextEditingService'][_0x3e58c5(0x21d)]();if((_0x20e225==null?void 0x0:_0x20e225[_0x3e58c5(0x1b1)])===_0x5f06e8[_0x3e58c5(0x1f5)]&&_0x20e225[_0x3e58c5(0x241)])return;let _0x126ef2=(0x0,_0x24d21b['isConnectorShape'])(this[_0x3e58c5(0x23a)][_0x3e58c5(0x1e0)](_0x5f06e8[_0x3e58c5(0x197)],_0x5f06e8[_0x3e58c5(0x4b3)],_0x5f06e8[_0x3e58c5(0x1f5)])),_0x4e425d=!!((_0x275b46=this[_0x3e58c5(0x23a)][_0x3e58c5(0x49e)](_0x5f06e8[_0x3e58c5(0x197)],_0x5f06e8[_0x3e58c5(0x4b3)],_0x5f06e8['drawingId']))!=null&&_0x275b46['getShapeData']()[_0x3e58c5(0x126)]);(_0x126ef2||_0x4e425d)&&this['_shapeTextEditingService'][_0x3e58c5(0x27f)](null);}else this[_0x3e58c5(0x2ea)][_0x3e58c5(0x45c)]();}else this[_0x3e58c5(0x2ea)][_0x3e58c5(0x45c)]();})),this[_0x148c7f(0x4c4)](this[_0x148c7f(0x383)][_0x148c7f(0x44c)][_0x148c7f(0x3e7)](_0x2df7b=>{const _0x50dee4=_0x148c7f;let _0x3c7dd4=this['_shapeTextEditingService']['getEditing']();_0x3c7dd4&&_0x2df7b[_0x50dee4(0x25a)](_0x21671a=>_0x21671a[_0x50dee4(0x1f5)]===_0x3c7dd4[_0x50dee4(0x1b1)])&&this[_0x50dee4(0x2ea)]['setEditing'](null);}));}[_0x1a21ce(0x48f)](){const _0x5c7b12=_0x1a21ce;this[_0x5c7b12(0x4c4)](this[_0x5c7b12(0x2ea)][_0x5c7b12(0x326)]['subscribe'](_0x3bf74b=>{const _0x5ec298=_0x5c7b12;let {scene:_0x1f35bb}=this['_context'];if(this[_0x5ec298(0x2a5)]){let _0x2f87cc=_0x1f35bb[_0x5ec298(0x26e)](this[_0x5ec298(0x2a5)]);_0x2f87cc&&_0x2f87cc[_0x5ec298(0x27f)](!0x1);}if(_0x3bf74b){let _0x56e4d7=!!_0x3bf74b[_0x5ec298(0x241)],_0x4f3490=_0x1f35bb[_0x5ec298(0x26e)](_0x3bf74b[_0x5ec298(0x12d)]);_0x4f3490&&(_0x4f3490[_0x5ec298(0x27f)](_0x56e4d7),this[_0x5ec298(0x2a5)]=_0x3bf74b[_0x5ec298(0x12d)]),this[_0x5ec298(0x1d7)][_0x5ec298(0x1fa)](_0x5cf0ce[_0x5ec298(0x307)],_0x56e4d7);}else this[_0x5ec298(0x2a5)]=null,this[_0x5ec298(0x1d7)]['setContextValue'](_0x5cf0ce['FOCUSING_SHAPE_TEXT_EDITOR'],!0x1);}));}};_0x3505a0=_0x3f6514([_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x5cf0ce['Injector'])),_0x4512b4(0x2,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x46b0ec)),_0x4512b4(0x3,_0x2a2438[_0x1a21ce(0x3e4)]),_0x4512b4(0x4,_0x5cf0ce[_0x1a21ce(0x2bb)]),_0x4512b4(0x5,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x34e612[_0x1a21ce(0x457)]))],_0x3505a0);var _0x2c3da1=class extends _0x3505a0{[_0x1a21ce(0x27e)](){const _0x4c61e5=_0x1a21ce;let {scene:_0x44537f}=this[_0x4c61e5(0x4c9)],_0x42a831=this[_0x4c61e5(0x451)][_0x4c61e5(0x170)](_0x3ed8c6[_0x4c61e5(0x46e)]);this[_0x4c61e5(0x4c4)](_0x44537f['onDblclick$'][_0x4c61e5(0x3fc)](_0x6da60a=>{const _0x154eca=_0x4c61e5;let {offsetX:_0x58743f,offsetY:_0x1e52e4}=_0x6da60a,_0x3e44c6=_0x44537f[_0x154eca(0x181)](_0x4413bb['Vector2'][_0x154eca(0x14e)]([_0x58743f,_0x1e52e4]));if(!(_0x3e44c6 instanceof _0x4d7701))return;let _0xed274=this[_0x154eca(0x23a)][_0x154eca(0x49e)](_0x3e44c6[_0x154eca(0x197)],_0x3e44c6[_0x154eca(0x4b3)],_0x3e44c6[_0x154eca(0x1b1)]);(0x0,_0x24d21b[_0x154eca(0x373)])(this[_0x154eca(0x23a)][_0x154eca(0x1e0)](_0x3e44c6[_0x154eca(0x197)],_0x3e44c6[_0x154eca(0x4b3)],_0x3e44c6[_0x154eca(0x1b1)]))||_0xed274!=null&&_0xed274[_0x154eca(0x1ea)]()[_0x154eca(0x126)]||_0x42a831[_0x154eca(0x31d)]('text',{'hostType':_0x5cf0ce[_0x154eca(0x21e)][_0x154eca(0x3a3)],'unitId':_0x3e44c6[_0x154eca(0x197)],'subUnitId':_0x3e44c6[_0x154eca(0x4b3)],'shapeId':_0x3e44c6[_0x154eca(0x1b1)]});}));}};let _0x1baaf8={..._0x3456ab},_0x2790fb=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x579e16,_0x55ddbb,_0x127619,_0x328436,_0x116d35,_0x2f9f7c,_0xb20f42,_0xd374d3){const _0x38ad7a=_0x1a21ce;super(),this['_menuManagerService']=_0x579e16,this[_0x38ad7a(0x23a)]=_0x55ddbb,this[_0x38ad7a(0x378)]=_0x127619,this[_0x38ad7a(0x383)]=_0x328436,this[_0x38ad7a(0x191)]=_0x116d35,this[_0x38ad7a(0x1d7)]=_0x2f9f7c,this[_0x38ad7a(0x411)]=_0xb20f42,this['_shapeTextEditingService']=_0xd374d3,_0x339d5f(this,_0x38ad7a(0x128),null),this[_0x38ad7a(0x4a0)][_0x38ad7a(0x339)](_0x1baaf8),this[_0x38ad7a(0x439)](),this['disposeWithMe'](this['_shapeTextEditingService'][_0x38ad7a(0x326)][_0x38ad7a(0x3e7)](_0x12c6ab=>{const _0x315778=_0x38ad7a;_0x12c6ab&&this[_0x315778(0x2ef)]();}));}[_0x1a21ce(0x27b)](){const _0x5d3de8=_0x1a21ce;this[_0x5d3de8(0x128)]||=this[_0x5d3de8(0x4c4)]((0x0,_0x3ed8c6[_0x5d3de8(0x467)])(this[_0x5d3de8(0x411)],_0x5cf0ce[_0x5d3de8(0x21e)]['UNIVER_SHEET'],_0x18206b=>this[_0x5d3de8(0x14f)](_0x18206b)));}[_0x1a21ce(0x439)](){const _0x1efaaf=_0x1a21ce;this[_0x1efaaf(0x191)][_0x1efaaf(0x2df)](_0x5cf0ce['DrawingTypeEnum'][_0x1efaaf(0x33f)],(_0x13409e,_0x14713d,_0x479795,_0x2d855f)=>{const _0x51584=_0x1efaaf;let _0xee91d7=this['_sheetsShapeService']['getShapeTypeById'](_0x13409e,_0x14713d,_0x479795),_0x3de69e=this[_0x51584(0x23a)][_0x51584(0x23d)](_0x13409e,_0x14713d,_0x479795),_0x5b8e88=_0xee91d7!==void 0x0&&!(0x0,_0x24d21b[_0x51584(0x373)])(_0xee91d7)&&!(_0x3de69e!=null&&_0x3de69e[_0x51584(0x126)]);return[{'label':'sheets-shape-ui.editShape','index':0x0,'commandId':_0x2a1c58['id'],'commandParams':{'unitId':_0x13409e,'subUnitId':_0x14713d,'drawingId':_0x479795,'mode':_0x51584(0x204)},'disable':!0x1},..._0x5b8e88?[{'label':_0x51584(0xe6),'index':0x1,'commandId':_0x2a1c58['id'],'commandParams':{'unitId':_0x13409e,'subUnitId':_0x14713d,'drawingId':_0x479795,'mode':_0x51584(0x32c)},'disable':!0x1}]:[],{'label':_0x51584(0x365),'index':0x2,'commandId':_0x57dfd6[_0x51584(0x22e)]['id'],'commandParams':{'unitId':_0x13409e,'drawings':[{'unitId':_0x13409e,'subUnitId':_0x14713d,'drawingId':_0x479795,'drawingType':_0x2d855f}]},'disable':!0x1},{'label':_0x51584(0x375),'index':0x3,'commandId':_0x34e612['ToggleSheetsShapeFlipCommand']['id'],'commandParams':{'unitId':_0x13409e,'subUnitId':_0x14713d,'shapeId':_0x479795,'flipH':!0x0},'disable':!0x1},{'label':_0x51584(0x11c),'index':0x4,'commandId':_0x34e612[_0x51584(0x47d)]['id'],'commandParams':{'unitId':_0x13409e,'subUnitId':_0x14713d,'shapeId':_0x479795,'flipV':!0x0},'disable':!0x1}];},_0x1efaaf(0x296));}[_0x1a21ce(0x14f)](_0x1c011d){const _0xfbe132=_0x1a21ce;let _0x3a7753=new _0x5cf0ce['DisposableCollection'](),_0x417b54=null,_0x5e840c=()=>{const _0x155613=_0x1cfe;if(!_0x417b54)return;let _0xde12c=this['_drawingManagerService'][_0x155613(0x314)](),_0x949ad4=_0xde12c[_0x155613(0x38a)]===0x0||_0xde12c[_0x155613(0x38a)]===0x1&&_0xde12c[_0x155613(0x25a)](_0x167fe5=>_0x167fe5[_0x155613(0x197)]===(_0x417b54==null?void 0x0:_0x417b54[_0x155613(0x197)])&&_0x167fe5['subUnitId']===(_0x417b54==null?void 0x0:_0x417b54[_0x155613(0x4b3)])&&_0x167fe5[_0x155613(0x1f5)]===(_0x417b54==null?void 0x0:_0x417b54[_0x155613(0x1f5)]));_0x417b54=null,_0x949ad4&&(this[_0x155613(0x1d7)][_0x155613(0x1fa)](_0x5cf0ce['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x155613(0x383)][_0x155613(0x149)](null));};return _0x3a7753[_0xfbe132(0x36d)](_0x1c011d['createControl$'][_0xfbe132(0x3e7)](()=>{const _0x3a0f51=_0xfbe132;let _0x200afd=_0x1c011d['getSelectedObjectMap']();if(_0x200afd[_0x3a0f51(0x32b)]>0x1){_0x5e840c();return;}let _0x29d68e=_0x200afd['values']()[_0x3a0f51(0x395)]()[_0x3a0f51(0x2f5)];if(!_0x29d68e){_0x5e840c();return;}let _0x23653f=this[_0x3a0f51(0x383)][_0x3a0f51(0x372)](_0x29d68e[_0x3a0f51(0x30b)]);if(!_0x23653f||_0x23653f['drawingType']!==_0x5cf0ce[_0x3a0f51(0x1c1)][_0x3a0f51(0x33f)]){_0x5e840c();return;}let {unitId:_0x1d350a,subUnitId:_0x23226d,drawingId:_0x2d6e78}=_0x23653f;_0x417b54={'unitId':_0x1d350a,'subUnitId':_0x23226d,'drawingId':_0x2d6e78},this[_0x3a0f51(0x1d7)][_0x3a0f51(0x1fa)](_0x5cf0ce[_0x3a0f51(0x2ad)],!0x0),this[_0x3a0f51(0x383)]['getFocusDrawings']()[_0x3a0f51(0x169)](_0x59f9cc=>_0x59f9cc[_0x3a0f51(0x197)]===_0x1d350a&&_0x59f9cc[_0x3a0f51(0x4b3)]===_0x23226d&&_0x59f9cc[_0x3a0f51(0x1f5)]===_0x2d6e78)||this[_0x3a0f51(0x383)][_0x3a0f51(0x149)]([{'unitId':_0x1d350a,'subUnitId':_0x23226d,'drawingId':_0x2d6e78}]);})),_0x3a7753[_0xfbe132(0x36d)](_0x1c011d['clearControl$']['subscribe'](()=>{_0x5e840c();})),(0x0,_0x5cf0ce['toDisposable'])(()=>{_0x3a7753['dispose'](),_0x5e840c();});}['_clearFocusedShape'](){const _0x35a515=_0x1a21ce;this['_contextService'][_0x35a515(0x1fa)](_0x5cf0ce['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x35a515(0x383)][_0x35a515(0x149)](null);}};_0x2790fb=_0x3f6514([_0x4512b4(0x0,_0x416351[_0x1a21ce(0x46b)]),_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x34e612['SheetsShapeService'])),_0x4512b4(0x2,_0x5cf0ce[_0x1a21ce(0x311)]),_0x4512b4(0x3,_0x2a2438[_0x1a21ce(0x3e4)]),_0x4512b4(0x4,(0x0,_0x5cf0ce['Inject'])(_0x3e532c[_0x1a21ce(0x199)])),_0x4512b4(0x5,_0x5cf0ce['IContextService']),_0x4512b4(0x6,_0x4413bb[_0x1a21ce(0x399)]),_0x4512b4(0x7,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x46b0ec))],_0x2790fb);function _0x4106a9(_0x2a9d1c,_0x33ee64,_0x5c5e88,_0x15494a){const _0x29fedc=_0x1a21ce;let _0x1e3e53=(0x0,_0x2a2438[_0x29fedc(0x267)])(_0x2a9d1c,_0x33ee64,_0x5c5e88),_0x17902a=[];for(let _0x2c366b of _0x33ee64){let _0x46d21e=_0x1e3e53[_0x29fedc(0x156)]['get'](_0x2c366b['drawingId']),_0x40b666=_0x15494a(_0x2c366b);_0x46d21e&&_0x40b666&&_0x17902a[_0x29fedc(0x109)]({'targetShapeId':_0x46d21e,'source':_0x40b666});}return _0x17902a;}let _0x5819ea=class extends _0x5cf0ce['Disposable']{constructor(_0x510cc5,_0x5dbfba,_0x35b8e2,_0x852671){const _0x18f7cd=_0x1a21ce;super(),this['_univerInstanceService']=_0x510cc5,this['_sheetInterceptorService']=_0x5dbfba,this['_sheetDrawingService']=_0x35b8e2,this['_sheetsShapeService']=_0x852671,this[_0x18f7cd(0x3a4)]();}[_0x1a21ce(0x3a4)](){const _0x46f8d9=_0x1a21ce;this[_0x46f8d9(0x4c4)](this[_0x46f8d9(0x1ba)][_0x46f8d9(0x473)]({'getMutations':_0x4eede6=>{const _0x375d47=_0x46f8d9;if(_0x4eede6['id']===_0xdab3fa[_0x375d47(0x20f)]['id']){let _0x1add80=(0x0,_0xdab3fa[_0x375d47(0x12f)])(this[_0x375d47(0x2d5)],_0x4eede6[_0x375d47(0x46d)]);if(!_0x1add80)return{'redos':[],'undos':[]};let {unitId:_0x327553,subUnitId:_0x169588}=_0x1add80,_0x564f19=this['_sheetDrawingService']['getDrawingData'](_0x327553,_0x169588),_0x506c90=Object[_0x375d47(0x3da)](_0x564f19)[_0x375d47(0x431)](_0x4aeb7e=>_0x4aeb7e[_0x375d47(0x497)]===_0x5cf0ce[_0x375d47(0x1c1)][_0x375d47(0x33f)]);if(_0x506c90[_0x375d47(0x38a)]===0x0)return{'redos':[],'undos':[]};let _0x5c9495=[],_0x1732d3=[];for(let _0x3a780a=0x0;_0x3a780a<_0x506c90[_0x375d47(0x38a)];_0x3a780a++){let _0x3fabd4=_0x506c90[_0x3a780a],_0x10ad63=this['_sheetsShapeService'][_0x375d47(0x49e)](_0x3fabd4[_0x375d47(0x197)],_0x3fabd4[_0x375d47(0x4b3)],_0x3fabd4[_0x375d47(0x1f5)]);_0x10ad63&&(_0x5c9495['push']({'id':_0x34e612[_0x375d47(0x450)]['id'],'params':{'unitId':_0x327553,'subUnitId':_0x169588,'shapeId':_0x3fabd4[_0x375d47(0x1f5)]}}),_0x1732d3[_0x375d47(0x109)]({'id':_0x34e612[_0x375d47(0x2e6)]['id'],'params':{'unitId':_0x327553,'subUnitId':_0x169588,'shapeId':_0x3fabd4['drawingId'],'shapeType':_0x10ad63[_0x375d47(0x1e0)](),'shapeData':JSON[_0x375d47(0x186)](JSON[_0x375d47(0x41f)](_0x10ad63['getShapeData']()))}}));}return{'redos':_0x5c9495,'undos':_0x1732d3};}if(_0x4eede6['id']===_0xdab3fa[_0x375d47(0x3ae)]['id']){let {unitId:_0x207489,subUnitId:_0x10a3e6,targetSubUnitId:_0x1f7f82,copyContext:_0x4c915d}=_0x4eede6[_0x375d47(0x46d)];if(!_0x207489||!_0x10a3e6||!_0x1f7f82)return{'redos':[],'undos':[]};let _0x281b9f=this['_sheetDrawingService']['getDrawingData'](_0x207489,_0x10a3e6),_0x502ff5=Object['values'](_0x281b9f)[_0x375d47(0x431)](_0x45a2b5=>_0x45a2b5[_0x375d47(0x497)]===_0x5cf0ce['DrawingTypeEnum'][_0x375d47(0x33f)]);if(_0x502ff5[_0x375d47(0x38a)]===0x0)return{'redos':[],'undos':[]};let _0x1b19d4=_0x4106a9(_0x4c915d,_0x502ff5,{'unitId':_0x207489,'sourceSubUnitId':_0x10a3e6,'targetSubUnitId':_0x1f7f82},_0xbb2156=>{const _0x59bb90=_0x375d47;let _0x12fe53=this[_0x59bb90(0x23a)]['getShapeModel'](_0xbb2156[_0x59bb90(0x197)],_0xbb2156['subUnitId'],_0xbb2156[_0x59bb90(0x1f5)]);if(_0x12fe53)return{'shapeType':_0x12fe53[_0x59bb90(0x1e0)](),'shapeData':JSON['parse'](JSON[_0x59bb90(0x41f)](_0x12fe53['getShapeData']()))};}),_0x620c90=[],_0x46d2c5=[];for(let {targetShapeId:_0x387208,source:_0x2d96a4}of _0x1b19d4)_0x620c90['push']({'id':_0x34e612[_0x375d47(0x2e6)]['id'],'params':{'unitId':_0x207489,'subUnitId':_0x1f7f82,'shapeId':_0x387208,'shapeType':_0x2d96a4[_0x375d47(0xde)],'shapeData':_0x2d96a4[_0x375d47(0x476)]}}),_0x46d2c5[_0x375d47(0x109)]({'id':_0x34e612[_0x375d47(0x450)]['id'],'params':{'unitId':_0x207489,'subUnitId':_0x1f7f82,'shapeId':_0x387208}});return{'redos':_0x620c90,'undos':_0x46d2c5};}return{'redos':[],'undos':[]};}}));}};_0x5819ea=_0x3f6514([_0x4512b4(0x0,(0x0,_0x5cf0ce['Inject'])(_0x5cf0ce[_0x1a21ce(0x1d2)])),_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0xdab3fa[_0x1a21ce(0x249)])),_0x4512b4(0x2,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x57dfd6[_0x1a21ce(0x114)])),_0x4512b4(0x3,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x34e612['SheetsShapeService']))],_0x5819ea);let _0x4f13f1=class extends _0x5cf0ce['Disposable']{constructor(_0x1051ed,_0x45c4bf,_0x263390,_0x4fd4df,_0x1df6d5,_0x57064b){const _0x4b242b=_0x1a21ce;super(),this[_0x4b242b(0x378)]=_0x1051ed,this[_0x4b242b(0x411)]=_0x45c4bf,this[_0x4b242b(0x383)]=_0x263390,this[_0x4b242b(0x3b2)]=_0x4fd4df,this[_0x4b242b(0x2f0)]=_0x1df6d5,this[_0x4b242b(0x188)]=_0x57064b,_0x339d5f(this,_0x4b242b(0x183),new Set()),this['_initialize']();}[_0x1a21ce(0x49d)](){const _0x18d1e8=_0x1a21ce;this['_drawingAddListener'](),this[_0x18d1e8(0x107)](),this[_0x18d1e8(0x336)]();}[_0x1a21ce(0x298)](){const _0xda1304=_0x1a21ce;this[_0xda1304(0x4c4)](this[_0xda1304(0x383)][_0xda1304(0x3f6)][_0xda1304(0x3e7)](_0x188c87=>{const _0x264d01=_0xda1304;this[_0x264d01(0x252)](_0x188c87);}));}[_0x1a21ce(0x107)](){const _0x48e987=_0x1a21ce;this[_0x48e987(0x4c4)](this[_0x48e987(0x378)][_0x48e987(0x30f)]((_0x21bf25,_0x315ecc)=>{const _0x29cf15=_0x48e987;if(_0x21bf25['id']===_0x34e612['UpdateSheetsShapeDataMutation']['id']){let {unitId:_0x151d7f,subUnitId:_0x36387d,shapeId:_0x14d025}=_0x21bf25[_0x29cf15(0x46d)],_0x34a225=this[_0x29cf15(0x246)](_0x151d7f),_0x1712ab=(0x0,_0x2a2438[_0x29cf15(0x414)])({'unitId':_0x151d7f,'subUnitId':_0x36387d,'drawingId':_0x14d025}),_0x2fe2f4=_0x34a225==null?void 0x0:_0x34a225[_0x29cf15(0x2d7)][_0x29cf15(0x26e)](_0x1712ab);_0x2fe2f4&&(this['_sheetDrawingShapeRenderController'][_0x29cf15(0x3fd)](_0x2fe2f4),this['_sheetDrawingShapeRenderController'][_0x29cf15(0x265)](_0x2fe2f4,{'unitId':_0x151d7f,'subUnitId':_0x36387d,'shapeId':_0x14d025}),_0x2fe2f4[_0x29cf15(0x2a3)](!0x0));}else{if(_0x21bf25['id']===_0x34e612[_0x29cf15(0x2e6)]['id']){var _0x11638c;let {unitId:_0x297f8f,subUnitId:_0x3c62f2,shapeId:_0x5151e4}=_0x21bf25['params'],_0x41d4f9=this['_getSceneAndTransformerByDrawingSearch'](_0x297f8f);if(_0x41d4f9==null)return;let {scene:_0x46421d}=_0x41d4f9,_0x2c9771=(0x0,_0x2a2438[_0x29cf15(0x414)])({'unitId':_0x297f8f,'subUnitId':_0x3c62f2,'drawingId':_0x5151e4}),_0x4e1470=_0x46421d[_0x29cf15(0x26e)](_0x2c9771);if(!((_0x11638c=this[_0x29cf15(0x411)]['getRenderUnitById'](_0x297f8f))!=null&&_0x11638c[_0x29cf15(0x18b)](_0x3e532c[_0x29cf15(0x432)])['getSkeleton'](_0x3c62f2)))return!0x1;if(_0x4e1470)return;if(_0x315ecc!=null&&_0x315ecc['fromChangeset']){queueMicrotask(()=>{const _0x4cc015=_0x29cf15;this[_0x4cc015(0x13b)]||this[_0x4cc015(0x252)]([{'unitId':_0x297f8f,'subUnitId':_0x3c62f2,'drawingId':_0x5151e4}]);});return;}this[_0x29cf15(0x252)]([{'unitId':_0x297f8f,'subUnitId':_0x3c62f2,'drawingId':_0x5151e4}]);}}}));}['_shapeUpdateListener'](){const _0x7d5d36=_0x1a21ce;this[_0x7d5d36(0x4c4)](this['_drawingManagerService'][_0x7d5d36(0x479)][_0x7d5d36(0x3e7)](_0x360d64=>{const _0x3336fa=_0x7d5d36;_0x360d64[_0x3336fa(0x123)](_0x298aea=>{const _0x178fa4=_0x3336fa;let {unitId:_0x299629,subUnitId:_0x138332,drawingId:_0x2adb6f}=_0x298aea,_0x14d67a=this[_0x178fa4(0x383)][_0x178fa4(0x214)](_0x298aea);if(_0x14d67a==null)return;let {transform:_0x2924ab,drawingType:_0x2a32dd,srcRect:_0x22c816,prstGeom:_0x35775a}=_0x14d67a;if(_0x2a32dd!==_0x5cf0ce[_0x178fa4(0x1c1)][_0x178fa4(0x33f)])return;let _0x4a9709=this[_0x178fa4(0x246)](_0x299629);if(_0x4a9709==null)return;let {scene:_0x30310d,transformer:_0x24d53f}=_0x4a9709;if(_0x2924ab==null)return!0x0;let _0xff2965=(0x0,_0x2a2438['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x299629,'subUnitId':_0x138332,'drawingId':_0x2adb6f}),_0x1407c3=_0x30310d['getObjectIncludeInGroup'](_0xff2965);if(_0x1407c3==null)return!0x0;_0x1407c3['setSrcRect'](_0x22c816),_0x1407c3['setPrstGeom'](_0x35775a);});}));}['_insertShapes'](_0xaf776b){const _0x50e890=_0x1a21ce;for(let _0x5e4da1 of _0xaf776b){var _0x570198;let {unitId:_0x33050d,subUnitId:_0xe14aec,drawingId:_0x134e8d}=_0x5e4da1,_0x3184f3=this[_0x50e890(0x246)](_0x33050d),_0xa618de=(_0x570198=(0x0,_0x11fb86[_0x50e890(0x234)])(this[_0x50e890(0x3b2)],_0x33050d))==null?void 0x0:_0x570198[_0x50e890(0x4b3)];if(_0x3184f3==null||_0xa618de!==_0xe14aec)return;let _0x47f31f=(0x0,_0x2a2438[_0x50e890(0x414)])({'unitId':_0x33050d,'subUnitId':_0xe14aec,'drawingId':_0x134e8d});if(this[_0x50e890(0x183)][_0x50e890(0x3c6)](_0x47f31f)||_0x3184f3[_0x50e890(0x2d7)]['getObjectIncludeInGroup'](_0x47f31f)!=null)return;let _0x237701=this['_drawingManagerService']['getDrawingByParam'](_0x5e4da1);if(_0x237701==null||_0x237701['drawingType']!==_0x5cf0ce['DrawingTypeEnum'][_0x50e890(0x33f)])return;let _0x4bc364=_0x237701[_0x50e890(0x366)]||{};if((0x0,_0x24d21b[_0x50e890(0x373)])(_0x4bc364[_0x50e890(0xde)])){let _0x39f58f=_0x237701['transform'];_0x39f58f&&(_0x237701[_0x50e890(0x3a9)]={..._0x39f58f,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x50e890(0x183)]['add'](_0x47f31f);try{this[_0x50e890(0x188)][_0x50e890(0x1d5)](_0x237701,_0x3184f3[_0x50e890(0x2d7)]);}finally{this['_insertingShapeKeys'][_0x50e890(0x1ef)](_0x47f31f);}queueMicrotask(()=>{const _0x4ad14a=_0x50e890;if(this[_0x4ad14a(0x13b)])return;let _0x1782d1=(0x0,_0x2a2438['getDrawingShapeKeyByDrawingSearch'])(_0x5e4da1);if(!_0x3184f3[_0x4ad14a(0x2d7)][_0x4ad14a(0x26e)](_0x1782d1))return;let _0x471a8d=this['_drawingManagerService']['getDrawingByParam'](_0x5e4da1);_0x471a8d&&this[_0x4ad14a(0x383)][_0x4ad14a(0x283)]([_0x471a8d]);});}}[_0x1a21ce(0x246)](_0x303d61){const _0x195898=_0x1a21ce;if(_0x303d61==null)return;let _0x49057c=this[_0x195898(0x411)][_0x195898(0x3ce)](_0x303d61),_0x5f2dd4=_0x49057c==null?void 0x0:_0x49057c[_0x195898(0x2d7)];return _0x5f2dd4==null?null:{'scene':_0x5f2dd4,'transformer':_0x5f2dd4['getTransformerByCreate']()};}};_0x4f13f1=_0x3f6514([_0x4512b4(0x0,_0x5cf0ce['ICommandService']),_0x4512b4(0x1,_0x4413bb[_0x1a21ce(0x399)]),_0x4512b4(0x2,_0x2a2438[_0x1a21ce(0x3e4)]),_0x4512b4(0x3,_0x5cf0ce[_0x1a21ce(0x1d2)]),_0x4512b4(0x4,(0x0,_0x5cf0ce['Inject'])(_0x11fb86[_0x1a21ce(0x338)])),_0x4512b4(0x5,(0x0,_0x5cf0ce['Inject'])(_0x251705))],_0x4f13f1);let _0xeaa6f0={'normal':{'fill':_0x24d21b[_0x1a21ce(0x1a9)][_0x1a21ce(0x38e)],'stroke':_0x24d21b[_0x1a21ce(0x1a9)][_0x1a21ce(0x3cd)],'strokeWidth':_0x24d21b[_0x1a21ce(0x1a9)][_0x1a21ce(0x2fe)]},'highlighted':{'fill':_0x1a21ce(0x36a),'stroke':_0x1a21ce(0x4b2),'strokeWidth':0x2}};var _0x429b69=class extends _0x4413bb[_0x1a21ce(0xe7)]{constructor(_0x4c3d68,_0x20b488){const _0x5d66a1=_0x1a21ce;super(_0x4c3d68,_0x20b488),_0x339d5f(this,_0x5d66a1(0x15b),''),_0x339d5f(this,_0x5d66a1(0x23b),-0x1),_0x339d5f(this,_0x5d66a1(0x29c),''),_0x339d5f(this,_0x5d66a1(0x251),''),_0x339d5f(this,'_isHighlighted',!0x1),_0x20b488&&this[_0x5d66a1(0x4b8)](_0x20b488);}[_0x1a21ce(0x408)](){const _0x5bb359=_0x1a21ce;return{'unitId':this[_0x5bb359(0x29c)],'subUnitId':this[_0x5bb359(0x251)],'shapeId':this[_0x5bb359(0x15b)],'cxnIndex':this[_0x5bb359(0x23b)]};}[_0x1a21ce(0x1af)](_0x4dcbcd){const _0x1bb78b=_0x1a21ce;this[_0x1bb78b(0x245)]!==_0x4dcbcd&&(this[_0x1bb78b(0x245)]=_0x4dcbcd,this[_0x1bb78b(0x2a3)](!0x0));}[_0x1a21ce(0x18c)](){const _0x13f31c=_0x1a21ce;return this[_0x13f31c(0x245)];}['setShapeProps'](_0x14268e){const _0x3fe3e1=_0x1a21ce;_0x14268e['targetShapeId']!==void 0x0&&(this['_targetShapeId']=_0x14268e[_0x3fe3e1(0x1b6)]),_0x14268e[_0x3fe3e1(0x1e9)]!==void 0x0&&(this[_0x3fe3e1(0x23b)]=_0x14268e['cxnIndex']),_0x14268e[_0x3fe3e1(0x197)]!==void 0x0&&(this['_unitId']=_0x14268e[_0x3fe3e1(0x197)]),_0x14268e['subUnitId']!==void 0x0&&(this[_0x3fe3e1(0x251)]=_0x14268e[_0x3fe3e1(0x4b3)]),_0x14268e[_0x3fe3e1(0x18c)]!==void 0x0&&(this[_0x3fe3e1(0x245)]=_0x14268e[_0x3fe3e1(0x18c)]),this['transformByState']({'width':_0x14268e[_0x3fe3e1(0x36b)]??_0x24d21b[_0x3fe3e1(0x1a9)][_0x3fe3e1(0x177)]*0x2,'height':_0x14268e[_0x3fe3e1(0x31b)]??_0x24d21b['ShapeDefaultConfig'][_0x3fe3e1(0x177)]*0x2});}[_0x1a21ce(0x445)](_0x542d66){const _0x2824e3=_0x1a21ce;let _0x1ff6d7=this[_0x2824e3(0x245)]?_0xeaa6f0[_0x2824e3(0x449)]:_0xeaa6f0[_0x2824e3(0x2bf)];_0x4413bb[_0x2824e3(0x3d7)][_0x2824e3(0x3c9)](_0x542d66,{'radius':_0x24d21b[_0x2824e3(0x1a9)]['cxnPointRadius'],'fill':_0x1ff6d7[_0x2824e3(0x4ae)],'stroke':_0x1ff6d7[_0x2824e3(0x1f2)],'strokeWidth':_0x1ff6d7[_0x2824e3(0xef)],'evented':!0x0});}};let _0x1992a8=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x523ed2,_0x155ee4,_0x172305,_0x1872bc){const _0x2a936b=_0x1a21ce;super(),this['_context']=_0x523ed2,this[_0x2a936b(0x411)]=_0x155ee4,this[_0x2a936b(0x383)]=_0x172305,this[_0x2a936b(0x23a)]=_0x1872bc,_0x339d5f(this,'_connectionSiteObjects',[]),_0x339d5f(this,_0x2a936b(0x382),null),_0x339d5f(this,_0x2a936b(0x3ac),-0x1),_0x339d5f(this,_0x2a936b(0x42a),null),_0x339d5f(this,_0x2a936b(0x29c),''),_0x339d5f(this,_0x2a936b(0x251),''),_0x339d5f(this,_0x2a936b(0x2e4),null);}[_0x1a21ce(0x2bc)](_0x4fb599,_0xc684c2,_0x45b7d6,_0x24cd35){const _0x1b1934=_0x1a21ce;this[_0x1b1934(0x42a)]=_0x4fb599,this[_0x1b1934(0x29c)]=_0xc684c2,this[_0x1b1934(0x251)]=_0x45b7d6,this['_draggingConnectorId']=_0x24cd35;}[_0x1a21ce(0x3db)](_0x2c0cf2){const _0x369df3=_0x1a21ce;if(!this[_0x369df3(0x42a)])return null;let _0x5e36d7=this['_findShapeAtPoint'](_0x2c0cf2);return _0x5e36d7?(this[_0x369df3(0x382)]!==_0x5e36d7[_0x369df3(0x1b1)]&&(this[_0x369df3(0x2a9)](),this[_0x369df3(0x1db)](_0x5e36d7[_0x369df3(0x1b1)],_0x5e36d7['shapeModel']),this[_0x369df3(0x382)]=_0x5e36d7[_0x369df3(0x1b1)]),this[_0x369df3(0x260)](_0x2c0cf2)):(this['_activeTargetShapeId']!==null&&(this[_0x369df3(0x2a9)](),this[_0x369df3(0x382)]=null),null);}['endConnectionDetection'](){const _0x1df500=_0x1a21ce;this['_clearConnectionSites'](),this[_0x1df500(0x42a)]=null,this[_0x1df500(0x382)]=null,this[_0x1df500(0x3ac)]=-0x1,this['_draggingConnectorId']=null;}[_0x1a21ce(0x43b)](){const _0x99ed30=_0x1a21ce;return this['_activeTargetShapeId']===null||this[_0x99ed30(0x3ac)]<0x0?null:{'shapeId':this[_0x99ed30(0x382)],'cxnIndex':this[_0x99ed30(0x3ac)]};}['_findShapeAtPoint'](_0x4c98c9){const _0x11c4f3=_0x1a21ce;let _0x305868=this[_0x11c4f3(0x383)][_0x11c4f3(0x385)](this[_0x11c4f3(0x29c)],this['_subUnitId']);for(let _0x58efe1 of Object['keys'](_0x305868)){if(_0x58efe1===this[_0x11c4f3(0x2e4)]||_0x305868[_0x58efe1]['drawingType']!==_0x5cf0ce['DrawingTypeEnum']['DRAWING_SHAPE'])continue;let _0x1c5880=this[_0x11c4f3(0x23a)][_0x11c4f3(0x49e)](this['_unitId'],this['_subUnitId'],_0x58efe1);if(!_0x1c5880||(0x0,_0x24d21b[_0x11c4f3(0x373)])(_0x1c5880['getShapeType']())||_0x1c5880[_0x11c4f3(0x4a2)]()[_0x11c4f3(0x38a)]===0x0||!this[_0x11c4f3(0x42a)])continue;let _0x27714f=(0x0,_0x2a2438[_0x11c4f3(0x414)])({'unitId':this[_0x11c4f3(0x29c)],'subUnitId':this['_subUnitId'],'drawingId':_0x58efe1}),_0x613733=this[_0x11c4f3(0x42a)]['getObjectIncludeInGroup'](_0x27714f);if(!_0x613733)continue;let {left:_0x55385d,top:_0x48fc3c,width:_0x24afe3,height:_0x260691}=_0x613733['getRealBound'](),_0x3b2b69=_0x55385d+_0x24afe3/0x2,_0x105f95=_0x48fc3c+_0x260691/0x2,_0x210eb0=_0x613733['transform'][_0x11c4f3(0x3fb)](),_0x10ecc5=new _0x4413bb['Transform']([_0x210eb0[0x0],_0x210eb0[0x1],_0x210eb0[0x2],_0x210eb0[0x3],_0x3b2b69,_0x105f95]),_0x33f728=_0x613733[_0x11c4f3(0x1cb)](),_0x38761f=(_0x613733[_0x11c4f3(0x3eb)]&&(_0x33f728==null?void 0x0:_0x33f728[_0x11c4f3(0x3ed)])===_0x4413bb[_0x11c4f3(0x163)][_0x11c4f3(0x42d)]?_0x33f728[_0x11c4f3(0x4c8)][_0x11c4f3(0x167)](_0x10ecc5):_0x10ecc5)[_0x11c4f3(0x41d)]()[_0x11c4f3(0x292)](_0x4c98c9),_0x1d97fa=_0x24afe3/0x2,_0x34034c=_0x260691/0x2;if(_0x38761f['x']>=-_0x1d97fa-0x5&&_0x38761f['x']<=_0x1d97fa+0x5&&_0x38761f['y']>=-_0x34034c-0x5&&_0x38761f['y']<=_0x34034c+0x5)return{'shapeId':_0x58efe1,'shapeModel':_0x1c5880};}return null;}[_0x1a21ce(0x1db)](_0x226f66,_0x1cb0ca){const _0x424797=_0x1a21ce;if(!this[_0x424797(0x42a)])return;let _0x138157=(0x0,_0x2a2438['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0x424797(0x29c)],'subUnitId':this[_0x424797(0x251)],'drawingId':_0x226f66}),_0x7acbc9=this[_0x424797(0x42a)][_0x424797(0x26e)](_0x138157);if(!_0x7acbc9)return;let {left:_0x25987b,top:_0x238333,width:_0x1f5c36,height:_0x260b17}=_0x7acbc9[_0x424797(0x148)](),_0x5447c4=_0x25987b+_0x1f5c36/0x2,_0x125b7b=_0x238333+_0x260b17/0x2,_0x26db17=_0x7acbc9[_0x424797(0x3a9)][_0x424797(0x3fb)](),_0x160b66=new _0x4413bb['Transform']([_0x26db17[0x0],_0x26db17[0x1],_0x26db17[0x2],_0x26db17[0x3],_0x5447c4,_0x125b7b]),_0x4829b7=_0x7acbc9[_0x424797(0x1cb)](),_0x212f4f=_0x7acbc9[_0x424797(0x3eb)]&&(_0x4829b7==null?void 0x0:_0x4829b7[_0x424797(0x3ed)])===_0x4413bb[_0x424797(0x163)][_0x424797(0x42d)]?_0x4829b7['ancestorTransform'][_0x424797(0x167)](_0x160b66):_0x160b66;_0x1cb0ca[_0x424797(0x433)]({'width':_0x1f5c36,'height':_0x260b17});let _0x529820=_0x1cb0ca[_0x424797(0x4a2)]();for(let _0x37177c of _0x529820){let _0x4247c2=_0x37177c['x']-_0x1f5c36/0x2,_0x1b14f7=_0x37177c['y']-_0x260b17/0x2,_0x47695a=_0x212f4f[_0x424797(0x292)]({'x':_0x4247c2,'y':_0x1b14f7}),_0x4f621b=_0x47695a['x'],_0xe1dc11=_0x47695a['y'],_0x3d1d9c=new _0x429b69('connection-site-'+_0x226f66+'-'+_0x37177c[_0x424797(0x291)],{'left':_0x4f621b-_0x24d21b[_0x424797(0x1a9)][_0x424797(0x177)],'top':_0xe1dc11-_0x24d21b[_0x424797(0x1a9)][_0x424797(0x177)],'targetShapeId':_0x226f66,'cxnIndex':_0x37177c[_0x424797(0x291)],'unitId':this[_0x424797(0x29c)],'subUnitId':this[_0x424797(0x251)],'width':_0x24d21b['ShapeDefaultConfig'][_0x424797(0x177)]*0x2,'height':_0x24d21b[_0x424797(0x1a9)][_0x424797(0x177)]*0x2,'zIndex':_0x4413bb[_0x424797(0x1ab)]+0x2,'evented':!0x1});this[_0x424797(0xf7)][_0x424797(0x109)](_0x3d1d9c),this[_0x424797(0x42a)][_0x424797(0x141)](_0x3d1d9c,_0x4413bb[_0x424797(0x1ab)]+0x2);}}[_0x1a21ce(0x260)](_0x1573da){const _0x227624=_0x1a21ce;let _0x254bf0=null,_0x27ec8c=0x1/0x0,_0x5f2245=null;for(let _0x29abc1 of this[_0x227624(0xf7)]){let _0x1fa2e2=_0x29abc1[_0x227624(0x192)]+_0x24d21b['ShapeDefaultConfig'][_0x227624(0x177)],_0x32b045=_0x29abc1[_0x227624(0x33a)]+_0x24d21b[_0x227624(0x1a9)][_0x227624(0x177)],_0x5ebf46=_0x1573da['x']-_0x1fa2e2,_0xc24983=_0x1573da['y']-_0x32b045,_0x3601f3=Math[_0x227624(0x138)](_0x5ebf46*_0x5ebf46+_0xc24983*_0xc24983);_0x3601f3<_0x27ec8c&&(_0x27ec8c=_0x3601f3,_0x254bf0=_0x29abc1,_0x5f2245={'x':_0x1fa2e2,'y':_0x32b045});}let _0x4d7a80=_0x27ec8c<=0xa&&_0x254bf0?_0x254bf0[_0x227624(0x408)]()[_0x227624(0x1e9)]:-0x1;if(_0x4d7a80!==this[_0x227624(0x3ac)]){for(let _0x406480 of this[_0x227624(0xf7)]){let _0x4ee3ae=_0x406480[_0x227624(0x408)]();_0x406480[_0x227624(0x1af)](_0x4ee3ae['cxnIndex']===_0x4d7a80);}this['_highlightedSiteIndex']=_0x4d7a80;}if(_0x27ec8c<=0xa&&_0x254bf0&&_0x5f2245){let _0x3edcfd=_0x254bf0['getConnectionInfo'](),_0x43d91f=this[_0x227624(0x1b4)](_0x3edcfd[_0x227624(0x1b1)],_0x3edcfd[_0x227624(0x1e9)]);return{'shapeId':_0x3edcfd[_0x227624(0x1b1)],'cxnIndex':_0x3edcfd[_0x227624(0x1e9)],'unitId':_0x3edcfd[_0x227624(0x197)],'subUnitId':_0x3edcfd[_0x227624(0x4b3)],'worldPoint':_0x5f2245,'angle':_0x43d91f};}return null;}[_0x1a21ce(0x1b4)](_0x3a6024,_0x42d3b7){const _0x482683=_0x1a21ce;let _0x411e03=this[_0x482683(0x23a)][_0x482683(0x49e)](this[_0x482683(0x29c)],this[_0x482683(0x251)],_0x3a6024);if(!_0x411e03)return 0x0;let _0x37edc7=this[_0x482683(0x383)][_0x482683(0x214)]({'unitId':this[_0x482683(0x29c)],'subUnitId':this[_0x482683(0x251)],'drawingId':_0x3a6024});if(!(_0x37edc7!=null&&_0x37edc7[_0x482683(0x3a9)]))return 0x0;let {width:_0x300b08=0x0,height:_0x30c360=0x0,flipX:_0x44741b=!0x1,flipY:_0x517731=!0x1}=_0x37edc7[_0x482683(0x3a9)];_0x411e03[_0x482683(0x433)]({'width':_0x300b08,'height':_0x30c360});let _0x3776b9=_0x411e03['getConnectionSiteList']()[_0x482683(0x169)](_0x26b550=>_0x26b550[_0x482683(0x291)]===_0x42d3b7);if(!_0x3776b9)return 0x0;let _0x45fdef=_0x3776b9[_0x482683(0x363)]/0xea60;return _0x44741b&&(_0x45fdef=0xb4-_0x45fdef),_0x517731&&(_0x45fdef=-_0x45fdef),_0x45fdef=(_0x45fdef%0x168+0x168)%0x168,_0x45fdef;}['_clearConnectionSites'](){const _0x293637=_0x1a21ce;for(let _0x201e11 of this[_0x293637(0xf7)])_0x201e11[_0x293637(0x351)]();this[_0x293637(0xf7)]=[],this[_0x293637(0x3ac)]=-0x1;}['dispose'](){const _0x23b148=_0x1a21ce;this[_0x23b148(0x2a9)](),super[_0x23b148(0x351)]();}};_0x1992a8=_0x3f6514([_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x4413bb[_0x1a21ce(0x399)])),_0x4512b4(0x2,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x2a2438[_0x1a21ce(0x3e4)])),_0x4512b4(0x3,(0x0,_0x5cf0ce['Inject'])(_0x34e612[_0x1a21ce(0x457)]))],_0x1992a8);let _0x4bbe2f=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x56d20a,_0x42418b,_0x17d0a8,_0x2c41a1,_0x4364cd){const _0x13e97f=_0x1a21ce;super(),this['_sheetSkeletonService']=_0x56d20a,this[_0x13e97f(0x2d0)]=_0x42418b,this['_sheetDrawingService']=_0x17d0a8,this[_0x13e97f(0x46c)]=_0x2c41a1,this['_groupCopyPasteController']=_0x4364cd,_0x339d5f(this,'_copyInfo',void 0x0),this[_0x13e97f(0x227)](),this['_registerGroupFeaturePasteHook']();}get[_0x1a21ce(0x33d)](){const _0x1bc2f6=_0x1a21ce;return this[_0x1bc2f6(0x4bd)][_0x1bc2f6(0x314)]();}['_registerGroupFeaturePasteHook'](){const _0xa864d6=_0x1a21ce;this[_0xa864d6(0x350)][_0xa864d6(0x211)](({fromUnitId:_0x15a7d3,fromSubUnitId:_0x551521,toUnitId:_0x3ecb53,toSubUnitId:_0x6f4a35,idMap:_0x312f01})=>{const _0x18530c=_0xa864d6;let _0x19b61a=[],_0x129d53=[];for(let [_0x56cbae,_0x30a523]of _0x312f01[_0x18530c(0x210)]()){let _0x37bbba=this[_0x18530c(0x46c)]['getShapeModel'](_0x15a7d3,_0x551521,_0x56cbae);if(!_0x37bbba)continue;let _0x398a41=_0x37bbba[_0x18530c(0x1e0)](),_0x2a10f7=JSON[_0x18530c(0x186)](JSON['stringify'](_0x37bbba[_0x18530c(0x1ea)]()));if(_0x2a10f7[_0x18530c(0x2d6)]){var _0x5cb2b7,_0x5d9848;let _0x37378c=(_0x5cb2b7=_0x2a10f7[_0x18530c(0x2d6)][_0x18530c(0x413)])==null?void 0x0:_0x5cb2b7[_0x18530c(0x1b1)],_0x4ca678=(_0x5d9848=_0x2a10f7['relation']['to'])==null?void 0x0:_0x5d9848[_0x18530c(0x1b1)],_0x4c28c7=!_0x37378c||_0x312f01[_0x18530c(0x3c6)](_0x37378c),_0x2b584f=!_0x4ca678||_0x312f01[_0x18530c(0x3c6)](_0x4ca678);_0x4c28c7&&_0x37378c&&_0x2a10f7['relation']['from']?_0x2a10f7['relation']['from']={..._0x2a10f7[_0x18530c(0x2d6)]['from'],'shapeId':_0x312f01[_0x18530c(0x170)](_0x37378c)}:_0x2a10f7[_0x18530c(0x2d6)][_0x18530c(0x413)]=void 0x0,_0x2b584f&&_0x4ca678&&_0x2a10f7[_0x18530c(0x2d6)]['to']?_0x2a10f7[_0x18530c(0x2d6)]['to']={..._0x2a10f7[_0x18530c(0x2d6)]['to'],'shapeId':_0x312f01['get'](_0x4ca678)}:_0x2a10f7[_0x18530c(0x2d6)]['to']=void 0x0;}_0x19b61a[_0x18530c(0x109)]({'id':_0x34e612[_0x18530c(0x2e6)]['id'],'params':{'unitId':_0x3ecb53,'subUnitId':_0x6f4a35,'shapeId':_0x30a523,'shapeType':_0x398a41,'shapeData':_0x2a10f7}}),_0x129d53[_0x18530c(0x109)]({'id':_0x34e612[_0x18530c(0x450)]['id'],'params':{'unitId':_0x3ecb53,'subUnitId':_0x6f4a35,'shapeId':_0x30a523}});}return{'redos':_0x19b61a,'undos':_0x129d53};});}[_0x1a21ce(0x227)](){const _0xf13945=_0x1a21ce;this['disposeWithMe'](this[_0xf13945(0x2d0)]['addClipboardHook']({'id':_0xf13945(0x2fa),'onBeforeCopyFocusedObject':(_0x1f76b0,_0x55db43,_0x370c47)=>{const _0x6ba0eb=_0xf13945;this[_0x6ba0eb(0x446)]=null;let _0x39d680=this[_0x6ba0eb(0x33d)][_0x6ba0eb(0x431)](_0x3d1220=>_0x3d1220['drawingType']===_0x5cf0ce[_0x6ba0eb(0x1c1)]['DRAWING_SHAPE']);return _0x39d680[_0x6ba0eb(0x38a)]!==0x0&&(this[_0x6ba0eb(0x446)]={'unitId':_0x1f76b0,'subUnitId':_0x55db43,'copyType':_0x370c47,'drawings':_0x39d680},!0x0);},'onBeforeCopy':(_0x6418ed,_0x14f8bb,_0x5205ca,_0x34ac9e)=>{const _0x50d160=_0xf13945;this[_0x50d160(0x446)]=null,this['_createCopyInfoByRange'](_0x6418ed,_0x14f8bb,_0x5205ca,_0x34ac9e);},'onPasteCells':(_0x1e6822,_0x37ded5,_0x386b08,_0x5968d6)=>{const _0x5e0937=_0xf13945;if(!_0x5968d6[_0x5e0937(0x239)]||!_0x1e6822||!this[_0x5e0937(0x446)])return{'redos':[],'undos':[]};let {pasteType:_0x3a57ea}=_0x5968d6;return _0x3a57ea===_0x3e532c[_0x5e0937(0x27d)]['DEFAULT_PASTE']?this[_0x5e0937(0x370)](_0x37ded5,this[_0x5e0937(0x446)][_0x5e0937(0x14b)]===_0x3e532c[_0x5e0937(0x38b)][_0x5e0937(0x195)]):{'redos':[],'undos':[]};}}));}[_0x1a21ce(0xe5)](_0x3b5162,_0x1e5683,_0x5d04e6,_0x1fe621){const _0x13f206=_0x1a21ce;let _0x3bb3c9=this[_0x13f206(0x386)][_0x13f206(0x1c6)](_0x3b5162,_0x1e5683);if(!_0x3bb3c9)return;let _0x3b46a3=(0x0,_0xdab3fa[_0x13f206(0x19d)])(_0x3bb3c9,_0x5d04e6);if(!_0x3b46a3)return;let {startX:_0x85f284,endX:_0x57fd30,startY:_0x30bf00,endY:_0x48b118}=_0x3b46a3,_0x48953b=this[_0x13f206(0x4bd)][_0x13f206(0x385)](_0x3b5162,_0x1e5683),_0x449a22=[];for(let [_0x129a37,_0x4f2ae8]of Object['entries'](_0x48953b)){if(_0x4f2ae8[_0x13f206(0x497)]!==_0x5cf0ce[_0x13f206(0x1c1)][_0x13f206(0x33f)])continue;let {transform:_0x40c5ec}=_0x4f2ae8;if(!_0x40c5ec)continue;let {left:_0xd3afce=0x0,top:_0xa1dfbe=0x0,width:_0x189680=0x0,height:_0x44b9ae=0x0}=_0x40c5ec;_0x85f284<=_0xd3afce&&_0x57fd30>=_0xd3afce+_0x189680&&_0x30bf00<=_0xa1dfbe&&_0x48b118>=_0xa1dfbe+_0x44b9ae&&_0x449a22['push'](_0x4f2ae8);}_0x449a22[_0x13f206(0x38a)]>0x0&&(this[_0x13f206(0x446)]={'unitId':_0x3b5162,'subUnitId':_0x1e5683,'copyType':_0x1fe621,'copyRange':_0x5d04e6,'drawings':_0x449a22});}[_0x1a21ce(0x370)](_0x52f5b8,_0x5e048b){const _0x247d5d=_0x1a21ce;let {unitId:_0x132702,subUnitId:_0x4d44dc,range:_0x442e8c}=_0x52f5b8,_0x1eb189=this['_sheetSkeletonService'][_0x247d5d(0x1c6)](_0x132702,_0x4d44dc);if(!_0x1eb189)return{'redos':[],'undos':[]};let _0x60f112=(0x0,_0xdab3fa[_0x247d5d(0x2cd)])(_0x442e8c),{unitId:_0x31d020,subUnitId:_0x3fa544,copyRange:_0x1f2c85,drawings:_0x1bb506}=this[_0x247d5d(0x446)],_0x448819=this[_0x247d5d(0x386)][_0x247d5d(0x1c6)](_0x31d020,_0x3fa544);if(!_0x448819)return{'redos':[],'undos':[]};let _0x31f8b3;if(!_0x1f2c85){let _0x54bb10=0x1/0x0,_0x39b336=0x1/0x0;for(let _0xfdb342 of _0x1bb506){let {left:_0x584420=0x0,top:_0x2d47b4=0x0}=_0xfdb342[_0x247d5d(0x3a9)]??{};_0x584420<_0x54bb10&&(_0x54bb10=_0x584420),_0x2d47b4<_0x39b336&&(_0x39b336=_0x2d47b4);}_0x54bb10!==0x1/0x0&&_0x39b336!==0x1/0x0&&(_0x31f8b3={'left':_0x54bb10,'top':_0x39b336});}let _0x483d56=new Map();if(!_0x5e048b){for(let _0x22af27 of _0x1bb506)_0x483d56[_0x247d5d(0x153)](_0x22af27[_0x247d5d(0x1f5)],(0x0,_0x5cf0ce['generateRandomId'])());}let _0x48c7e9=[],_0x368ae5=[];for(let _0x3b9114 of _0x1bb506){let {drawingId:_0x12ab4a,transform:_0xc2f1db,sheetTransform:_0x476792}=_0x3b9114;if(!_0xc2f1db||!_0x476792)continue;let _0x52eb52=this['_updateTransform']({'transform':_0xc2f1db,'sheetTransform':_0x476792},{'skeleton':_0x448819,'range':_0x1f2c85},{'skeleton':_0x1eb189,'range':_0x60f112},_0x31f8b3);if(_0x5e048b){let {redos:_0x417cff,undos:_0x2ea085}=this[_0x247d5d(0x47b)]({'fromUnitId':_0x31d020,'fromSubUnitId':_0x3fa544,'toUnitId':_0x132702,'toSubUnitId':_0x4d44dc,'drawing':_0x3b9114,'newTransforms':_0x52eb52});_0x48c7e9[_0x247d5d(0x109)](..._0x417cff),_0x368ae5[_0x247d5d(0x109)](..._0x2ea085);continue;}let {redos:_0x5a0b22,undos:_0x1ebddd}=this[_0x247d5d(0x201)]({'toUnitId':_0x132702,'toSubUnitId':_0x4d44dc,'drawing':_0x3b9114,'newTransforms':_0x52eb52,'newDrawingId':_0x483d56[_0x247d5d(0x170)](_0x12ab4a),'idMap':_0x483d56});_0x48c7e9[_0x247d5d(0x109)](..._0x5a0b22),_0x368ae5[_0x247d5d(0x109)](..._0x1ebddd);}return{'redos':_0x48c7e9,'undos':_0x368ae5};}['_generateCutPasteMutations'](_0x4ff4fa){const _0xca5af1=_0x1a21ce;let {fromUnitId:_0x5c5e94,fromSubUnitId:_0x4ac575,toUnitId:_0x31b3b9,toSubUnitId:_0x454617,drawing:_0x421178,newTransforms:_0x838106}=_0x4ff4fa,_0x1a100f={..._0x421178,'unitId':_0x31b3b9,'subUnitId':_0x454617,'transform':_0x838106['transform'],'sheetTransform':_0x838106['sheetTransform']};if(_0x31b3b9===_0x5c5e94&&_0x454617===_0x4ac575){let {redo:_0x5fd8ce,undo:_0x146d7f,objects:_0x4a2e25}=this[_0xca5af1(0x4bd)][_0xca5af1(0x1fe)]([_0x1a100f]);return{'redos':[{'id':_0x57dfd6['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x31b3b9,'subUnitId':_0x454617,'type':_0x57dfd6[_0xca5af1(0x14a)][_0xca5af1(0x243)],'op':_0x5fd8ce,'objects':_0x4a2e25}}],'undos':[{'id':_0x57dfd6[_0xca5af1(0xda)]['id'],'params':{'unitId':_0x31b3b9,'subUnitId':_0x454617,'type':_0x57dfd6[_0xca5af1(0x14a)][_0xca5af1(0x243)],'op':_0x146d7f,'objects':_0x4a2e25}}]};}{let _0x52a00b=this['_sheetDrawingService']['getBatchRemoveOp']([_0x421178]),_0x14c295=this['_sheetDrawingService'][_0xca5af1(0x4c6)]([_0x1a100f]),_0x1faf8b=this[_0xca5af1(0x46c)][_0xca5af1(0x49e)](_0x421178[_0xca5af1(0x197)],_0x421178[_0xca5af1(0x4b3)],_0x421178[_0xca5af1(0x1f5)]);if(!_0x1faf8b)return{'redos':[],'undos':[]};let _0x178c22=_0x1faf8b[_0xca5af1(0x1e0)](),_0x2ca2d9=JSON[_0xca5af1(0x186)](JSON[_0xca5af1(0x41f)](_0x1faf8b['getShapeData']()));return{'redos':[{'id':_0x57dfd6['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x5c5e94,'subUnitId':_0x4ac575,'type':_0x57dfd6['DrawingApplyType']['REMOVE'],'op':_0x52a00b[_0xca5af1(0x2da)],'objects':_0x52a00b[_0xca5af1(0x119)]}},{'id':_0x34e612[_0xca5af1(0x450)]['id'],'params':{'unitId':_0x5c5e94,'subUnitId':_0x4ac575,'shapeId':_0x421178[_0xca5af1(0x1f5)]}},{'id':_0x57dfd6[_0xca5af1(0xda)]['id'],'params':{'unitId':_0x31b3b9,'subUnitId':_0x454617,'type':_0x57dfd6[_0xca5af1(0x14a)][_0xca5af1(0x212)],'op':_0x14c295[_0xca5af1(0x2da)],'objects':_0x14c295[_0xca5af1(0x119)]}},{'id':_0x34e612['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x31b3b9,'subUnitId':_0x454617,'shapeId':_0x421178[_0xca5af1(0x1f5)],'shapeType':_0x178c22,'shapeData':_0x2ca2d9}}],'undos':[{'id':_0x57dfd6[_0xca5af1(0xda)]['id'],'params':{'unitId':_0x5c5e94,'subUnitId':_0x4ac575,'type':_0x57dfd6[_0xca5af1(0x14a)][_0xca5af1(0x212)],'op':_0x52a00b['undo'],'objects':_0x52a00b[_0xca5af1(0x119)]}},{'id':_0x34e612[_0xca5af1(0x2e6)]['id'],'params':{'unitId':_0x5c5e94,'subUnitId':_0x4ac575,'shapeId':_0x421178[_0xca5af1(0x1f5)],'shapeType':_0x178c22,'shapeData':_0x2ca2d9}},{'id':_0x57dfd6[_0xca5af1(0xda)]['id'],'params':{'unitId':_0x31b3b9,'subUnitId':_0x454617,'type':_0x57dfd6[_0xca5af1(0x14a)][_0xca5af1(0x4b5)],'op':_0x14c295['undo'],'objects':_0x14c295[_0xca5af1(0x119)]}},{'id':_0x34e612[_0xca5af1(0x450)]['id'],'params':{'unitId':_0x31b3b9,'subUnitId':_0x454617,'shapeId':_0x421178[_0xca5af1(0x1f5)]}}]};}}[_0x1a21ce(0x201)](_0x2da76d){const _0x1dcdb8=_0x1a21ce;let {toUnitId:_0x201b12,toSubUnitId:_0x1dfccd,drawing:_0x4351f0,newTransforms:_0x1028eb,newDrawingId:_0x5bf27e,idMap:_0x57faab}=_0x2da76d,_0x114b85={..._0x4351f0,'unitId':_0x201b12,'subUnitId':_0x1dfccd,'drawingId':_0x5bf27e,'transform':_0x1028eb[_0x1dcdb8(0x3a9)],'sheetTransform':_0x1028eb[_0x1dcdb8(0x1ed)]},{redo:_0x18ad61,undo:_0x57af51,objects:_0x43c249}=this[_0x1dcdb8(0x4bd)][_0x1dcdb8(0x4c6)]([_0x114b85]),_0x1cfa23=this[_0x1dcdb8(0x46c)][_0x1dcdb8(0x49e)](_0x4351f0[_0x1dcdb8(0x197)],_0x4351f0[_0x1dcdb8(0x4b3)],_0x4351f0[_0x1dcdb8(0x1f5)]);if(!_0x1cfa23)return{'redos':[],'undos':[]};let _0x5a126d=_0x1cfa23[_0x1dcdb8(0x1e0)](),_0x4dea4a=JSON[_0x1dcdb8(0x186)](JSON[_0x1dcdb8(0x41f)](_0x1cfa23[_0x1dcdb8(0x1ea)]()));if(_0x4dea4a[_0x1dcdb8(0x2d6)]){var _0x25c66d,_0x9f70f3;let _0x47d530=(_0x25c66d=_0x4dea4a[_0x1dcdb8(0x2d6)][_0x1dcdb8(0x413)])==null?void 0x0:_0x25c66d['shapeId'],_0x591e45=(_0x9f70f3=_0x4dea4a['relation']['to'])==null?void 0x0:_0x9f70f3[_0x1dcdb8(0x1b1)],_0x22fa11=!_0x47d530||_0x57faab[_0x1dcdb8(0x3c6)](_0x47d530),_0x4e2448=!_0x591e45||_0x57faab[_0x1dcdb8(0x3c6)](_0x591e45);_0x22fa11&&_0x47d530&&_0x4dea4a[_0x1dcdb8(0x2d6)][_0x1dcdb8(0x413)]?_0x4dea4a[_0x1dcdb8(0x2d6)][_0x1dcdb8(0x413)]={..._0x4dea4a[_0x1dcdb8(0x2d6)][_0x1dcdb8(0x413)],'shapeId':_0x57faab['get'](_0x47d530)}:_0x4dea4a[_0x1dcdb8(0x2d6)][_0x1dcdb8(0x413)]=void 0x0,_0x4e2448&&_0x591e45&&_0x4dea4a[_0x1dcdb8(0x2d6)]['to']?_0x4dea4a[_0x1dcdb8(0x2d6)]['to']={..._0x4dea4a[_0x1dcdb8(0x2d6)]['to'],'shapeId':_0x57faab[_0x1dcdb8(0x170)](_0x591e45)}:_0x4dea4a[_0x1dcdb8(0x2d6)]['to']=void 0x0;}return{'redos':[{'id':_0x57dfd6[_0x1dcdb8(0xda)]['id'],'params':{'unitId':_0x201b12,'subUnitId':_0x1dfccd,'type':_0x57dfd6['DrawingApplyType'][_0x1dcdb8(0x212)],'op':_0x18ad61,'objects':_0x43c249}},{'id':_0x34e612[_0x1dcdb8(0x2e6)]['id'],'params':{'unitId':_0x201b12,'subUnitId':_0x1dfccd,'shapeId':_0x5bf27e,'shapeType':_0x5a126d,'shapeData':_0x4dea4a}}],'undos':[{'id':_0x57dfd6[_0x1dcdb8(0xda)]['id'],'params':{'unitId':_0x201b12,'subUnitId':_0x1dfccd,'type':_0x57dfd6[_0x1dcdb8(0x14a)]['REMOVE'],'op':_0x57af51,'objects':_0x43c249}},{'id':_0x34e612[_0x1dcdb8(0x450)]['id'],'params':{'unitId':_0x201b12,'subUnitId':_0x1dfccd,'shapeId':_0x5bf27e}}]};}[_0x1a21ce(0x454)](_0x5e02cd,_0x5b0774,_0x54bcd2,_0x170a6d){const _0x4c976a=_0x1a21ce;let {range:_0x2b314d,skeleton:_0x5c4c4a}=_0x5b0774,{range:_0xf1c75f,skeleton:_0x3e79af}=_0x54bcd2,{transform:_0x2f28f9,sheetTransform:_0x1f4fe5}=_0x5e02cd,_0x376e99={..._0x2f28f9};if(_0x2b314d){let _0x6be740=(0x0,_0xdab3fa[_0x4c976a(0x19d)])(_0x5c4c4a,_0x2b314d),_0x2c7dfb=(0x0,_0xdab3fa[_0x4c976a(0x19d)])(_0x3e79af,_0xf1c75f);if(_0x6be740&&_0x2c7dfb){let _0x5e257e=_0x2c7dfb[_0x4c976a(0x16d)]-_0x6be740[_0x4c976a(0x16d)],_0x283546=_0x2c7dfb[_0x4c976a(0x21b)]-_0x6be740['startY'];_0x376e99['left']=(_0x376e99[_0x4c976a(0x192)]??0x0)+_0x5e257e,_0x376e99[_0x4c976a(0x33a)]=(_0x376e99[_0x4c976a(0x33a)]??0x0)+_0x283546;}}else{let _0x7a16d2=(0x0,_0xdab3fa[_0x4c976a(0x19d)])(_0x3e79af,_0xf1c75f);if(_0x170a6d&&_0x7a16d2){let _0x2b948f=(_0x376e99['left']??0x0)-_0x170a6d[_0x4c976a(0x192)],_0x281f4f=(_0x376e99[_0x4c976a(0x33a)]??0x0)-_0x170a6d[_0x4c976a(0x33a)];_0x376e99[_0x4c976a(0x192)]=_0x7a16d2[_0x4c976a(0x16d)]+_0x2b948f,_0x376e99[_0x4c976a(0x33a)]=_0x7a16d2[_0x4c976a(0x21b)]+_0x281f4f;}else _0x376e99['left']=_0x7a16d2==null?void 0x0:_0x7a16d2[_0x4c976a(0x16d)],_0x376e99[_0x4c976a(0x33a)]=_0x7a16d2==null?void 0x0:_0x7a16d2[_0x4c976a(0x21b)];}return{'transform':_0x376e99,'sheetTransform':(0x0,_0x57dfd6['transformToDrawingPosition'])(_0x376e99,_0x3e79af)??_0x1f4fe5};}};_0x4bbe2f=_0x3f6514([_0x4512b4(0x0,(0x0,_0x5cf0ce['Inject'])(_0xdab3fa['SheetSkeletonService'])),_0x4512b4(0x1,(0x0,_0x5cf0ce['Inject'])(_0x3e532c['ISheetClipboardService'])),_0x4512b4(0x2,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x57dfd6[_0x1a21ce(0x114)])),_0x4512b4(0x3,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x34e612['SheetsShapeService'])),_0x4512b4(0x4,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x22ea8b[_0x1a21ce(0x1b0)]))],_0x4bbe2f);var _0x12ef88=class extends _0x4413bb['Shape']{constructor(_0x15ed21,_0x21c6ef){const _0x216c41=_0x1a21ce;super(_0x15ed21,_0x21c6ef),_0x339d5f(this,'_shapeId',null),_0x339d5f(this,'_index',null),_0x339d5f(this,'_unitId',null),_0x339d5f(this,_0x216c41(0x251),null),_0x339d5f(this,_0x216c41(0x3c1),!0x1),_0x21c6ef&&this[_0x216c41(0x4b8)](_0x21c6ef);}['getDrawingSearch'](){const _0x1bfd39=_0x1a21ce;return{'unitId':this[_0x1bfd39(0x29c)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x1bfd39(0x2f8)]};}[_0x1a21ce(0x4b8)](_0xbf337a){const _0x53a6b6=_0x1a21ce;_0xbf337a[_0x53a6b6(0x1b1)]!==void 0x0&&(this[_0x53a6b6(0x2f8)]=_0xbf337a[_0x53a6b6(0x1b1)]),_0xbf337a[_0x53a6b6(0x197)]!==void 0x0&&(this[_0x53a6b6(0x29c)]=_0xbf337a[_0x53a6b6(0x197)]),_0xbf337a['subUnitId']!==void 0x0&&(this[_0x53a6b6(0x251)]=_0xbf337a['subUnitId']),_0xbf337a['isStartConnectorPoint']!==void 0x0&&(this[_0x53a6b6(0x3c1)]=_0xbf337a['isStartConnectorPoint']),this['transformByState']({'width':_0xbf337a['width'],'height':_0xbf337a[_0x53a6b6(0x31b)]});}[_0x1a21ce(0x445)](_0x516f23){const _0xb6566a=_0x1a21ce;_0x4413bb[_0xb6566a(0x3d7)][_0xb6566a(0x3c9)](_0x516f23,{'radius':_0x24d21b['ShapeDefaultConfig'][_0xb6566a(0x177)],'fill':_0x24d21b['ShapeDefaultConfig'][_0xb6566a(0x38e)],'stroke':_0x24d21b['ShapeDefaultConfig'][_0xb6566a(0x3cd)],'strokeWidth':_0x24d21b['ShapeDefaultConfig'][_0xb6566a(0x2fe)],'evented':!0x0});}};let _0x380bd1=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x23ad5b,_0x5eff4c,_0x4913e5,_0x5067f2,_0x3aefe6,_0x26302c,_0x15ebce,_0xf65ee7){const _0x460233=_0x1a21ce;super(),this[_0x460233(0x4c9)]=_0x23ad5b,this[_0x460233(0x378)]=_0x5eff4c,this[_0x460233(0x411)]=_0x4913e5,this[_0x460233(0x383)]=_0x5067f2,this[_0x460233(0x2d5)]=_0x3aefe6,this['_sheetsShapeService']=_0x26302c,this[_0x460233(0x2b1)]=_0x15ebce,this[_0x460233(0x362)]=_0xf65ee7,_0x339d5f(this,'_activeShapeId',void 0x0),_0x339d5f(this,'_unitId',void 0x0),_0x339d5f(this,'_subUnitId',void 0x0),_0x339d5f(this,_0x460233(0x10a),[]),_0x339d5f(this,'_baseDrawingRect',{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),_0x339d5f(this,_0x460233(0xf3),void 0x0),_0x339d5f(this,_0x460233(0x180),!0x1),_0x339d5f(this,_0x460233(0x49f),!0x1),_0x339d5f(this,_0x460233(0x187),!0x1),_0x339d5f(this,'_cxtHandlerPointerMove',void 0x0),_0x339d5f(this,_0x460233(0x3e8),void 0x0),_0x339d5f(this,_0x460233(0x320),null),this[_0x460233(0x49d)]();}[_0x1a21ce(0x49d)](){const _0x143705=_0x1a21ce;this[_0x143705(0x447)](),this[_0x143705(0x293)]();}['_getDrawingRect'](){const _0x366482=_0x1a21ce;if(!this[_0x366482(0x29c)]||!this[_0x366482(0x251)]||!this['_activeShapeId'])return;let _0x19dda6={'unitId':this[_0x366482(0x29c)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x366482(0x376)]},{transform:_0x5d8ab1}=this[_0x366482(0x383)][_0x366482(0x214)](_0x19dda6);if(_0x5d8ab1)return{'left':_0x5d8ab1[_0x366482(0x192)]||0x0,'top':_0x5d8ab1['top']||0x0,'width':_0x5d8ab1[_0x366482(0x36b)]||0x0,'height':_0x5d8ab1[_0x366482(0x31b)]||0x0,'flipX':_0x5d8ab1[_0x366482(0x405)]||!0x1,'flipY':_0x5d8ab1[_0x366482(0x488)]||!0x1,'angle':_0x5d8ab1['angle']};}['_addShapeConnectorHandlerObjects'](){const _0x172c44=_0x1a21ce;if(this[_0x172c44(0x29c)]===void 0x0||this[_0x172c44(0x251)]===void 0x0||this[_0x172c44(0x376)]===void 0x0)return;let _0x58b8fb=this[_0x172c44(0x411)][_0x172c44(0x3ce)](this[_0x172c44(0x29c)]);if(!_0x58b8fb||!_0x58b8fb[_0x172c44(0x18b)](_0x3e532c[_0x172c44(0x432)])[_0x172c44(0x475)]())return;let {scene:_0x264db7}=_0x58b8fb,_0xde5be8=this[_0x172c44(0x225)]();if(!_0xde5be8)return;let _0xc3adfe=this[_0x172c44(0x23a)]['getShapeModel'](this[_0x172c44(0x29c)],this['_subUnitId'],this[_0x172c44(0x376)]);if(!_0xc3adfe||!(0x0,_0x24d21b['isConnectorShape'])(_0xc3adfe['getShapeType']()))return;let _0x2233bb=_0xc3adfe[_0x172c44(0x308)]();if(_0x2233bb[_0x172c44(0x38a)]<0x2)return;let _0xf0fad0=new _0x24d21b[(_0x172c44(0x168))](_0xde5be8),_0x38d251=_0x2233bb[0x0],_0x38abd9=_0x2233bb[_0x2233bb[_0x172c44(0x38a)]-0x1],_0x192865=_0xf0fad0[_0x172c44(0x458)](_0x38d251),_0x5d0184=_0xf0fad0[_0x172c44(0x458)](_0x38abd9);this['_addShapeConnectorHandlerObject'](_0x264db7,{..._0x192865},!0x0),this[_0x172c44(0x2ab)](_0x264db7,{..._0x5d0184},!0x1);}[_0x1a21ce(0x2ab)](_0x150026,_0x5518b2,_0x280477){const _0xfed522=_0x1a21ce;if(this[_0xfed522(0x376)]===void 0x0||this[_0xfed522(0x29c)]===void 0x0||this[_0xfed522(0x251)]===void 0x0)return;let _0x538241=_0xfed522(0x46a)+this[_0xfed522(0x29c)]+'-'+this[_0xfed522(0x251)]+'-'+this[_0xfed522(0x376)]+'-'+(_0x280477?_0xfed522(0x13c):_0xfed522(0x1f9)),_0x5db082=_0x150026[_0xfed522(0x26e)](_0x538241);if(_0x5db082){_0x5db082[_0xfed522(0x4bb)]({'left':_0x5518b2['x']-_0x24d21b['ShapeDefaultConfig'][_0xfed522(0x177)],'top':_0x5518b2['y']-_0x24d21b[_0xfed522(0x1a9)][_0xfed522(0x177)]});return;}let _0xc1d750=new _0x12ef88(_0x538241,{'left':_0x5518b2['x']-_0x24d21b[_0xfed522(0x1a9)][_0xfed522(0x177)],'top':_0x5518b2['y']-_0x24d21b[_0xfed522(0x1a9)][_0xfed522(0x177)],'shapeId':this['_activeShapeId'],'unitId':this['_unitId'],'subUnitId':this[_0xfed522(0x251)],'isStartConnectorPoint':_0x280477,'width':_0x24d21b[_0xfed522(0x1a9)]['cxnPointRadius']*0x2,'height':_0x24d21b['ShapeDefaultConfig'][_0xfed522(0x177)]*0x2,'zIndex':_0x4413bb[_0xfed522(0x1ab)]+0x1,'evented':!0x0});this[_0xfed522(0x10a)][_0xfed522(0x109)](_0xc1d750),this[_0xfed522(0x417)](_0xc1d750,_0x150026,_0x280477),_0x150026[_0xfed522(0x141)](_0xc1d750,_0x4413bb[_0xfed522(0x1ab)]+0x1);}[_0x1a21ce(0x39b)](_0x3fbbe8,_0x32d8c4){const _0x330ea8=_0x1a21ce;var _0x1974e1;let _0x512777={'x':0x0,'y':0x0};if(!_0x3fbbe8||!_0x32d8c4)return _0x512777;let _0x3bc245=this[_0x330ea8(0x411)]['getRenderUnitById'](_0x3fbbe8);if(!_0x3bc245||!_0x3bc245[_0x330ea8(0x18b)](_0x3e532c['SheetSkeletonManagerService'])[_0x330ea8(0x1c6)](_0x32d8c4))return _0x512777;let _0x52759c=_0x3bc245[_0x330ea8(0x18b)](_0x3e532c[_0x330ea8(0x47c)]),_0x7efa17=_0x52759c==null?void 0x0:_0x52759c[_0x330ea8(0x100)]();if(!_0x7efa17)return _0x512777;let _0x2bbd06=(_0x1974e1=this['_univerInstanceService'][_0x330ea8(0x412)](_0x3fbbe8))==null?void 0x0:_0x1974e1['getSheetBySheetId'](_0x32d8c4);if(!_0x2bbd06)return _0x512777;let _0x1b141b=(0x0,_0x3e532c[_0x330ea8(0x3d0)])(_0x7efa17['sheetViewStartRow'],_0x7efa17[_0x330ea8(0x4b0)],_0x3bc245[_0x330ea8(0x2d7)],_0x2bbd06);return _0x1b141b?{'x':_0x1b141b['viewportScrollX'],'y':_0x1b141b[_0x330ea8(0x491)]}:_0x512777;}[_0x1a21ce(0x129)](_0x453481,_0x46c883){const _0x407314=_0x1a21ce;var _0x1e52c0;let _0x2143d5=(_0x1e52c0=this[_0x407314(0x2d5)][_0x407314(0x412)](_0x453481))==null?void 0x0:_0x1e52c0[_0x407314(0x1c4)](_0x46c883);return(_0x2143d5==null?void 0x0:_0x2143d5[_0x407314(0xea)]())??0x1;}[_0x1a21ce(0x380)](_0x11aca9,_0x558c7b,_0x3a5dc5,_0x37078f,_0x2e505d){const _0x5811b6=_0x1a21ce;this[_0x5811b6(0x30e)][_0x5811b6(0x15a)](),this[_0x5811b6(0x3e8)]['unsubscribe'](),this['_sheetShapeAdjustController']['refreshAdjustControls']();let _0x297edc=this[_0x5811b6(0x320)];this[_0x5811b6(0x362)]['endConnectionDetection']();let _0x3ddb92=this[_0x5811b6(0x39b)](this[_0x5811b6(0x29c)],this[_0x5811b6(0x251)]),_0x3d072f=this[_0x5811b6(0x129)](this['_unitId'],this['_subUnitId']),_0x11d245={'x':_0x3a5dc5[_0x5811b6(0x17f)]/_0x3d072f+_0x3ddb92['x'],'y':_0x3a5dc5[_0x5811b6(0x27c)]/_0x3d072f+_0x3ddb92['y']},_0x29ccbe=_0x297edc?_0x297edc[_0x5811b6(0x11d)]:_0x11d245,_0x38fd01=_0x37078f?this[_0x5811b6(0xf3)][_0x5811b6(0x1cc)]():this[_0x5811b6(0xf3)][_0x5811b6(0x2d2)](),_0x5cebbc=this[_0x5811b6(0xf3)][_0x5811b6(0x1e0)]();_0x38fd01?this[_0x5811b6(0x31a)](_0x38fd01,_0x29ccbe,_0x37078f,_0x297edc,_0x2e505d):this[_0x5811b6(0x498)](_0x558c7b,_0x29ccbe,_0x37078f,_0x297edc,_0x2e505d,_0x5cebbc),this[_0x5811b6(0x180)]=!0x1,this['_hasReset']=!0x1,this[_0x5811b6(0x320)]=null,_0x11aca9[_0x5811b6(0x415)]();}[_0x1a21ce(0x498)](_0x5d20a5,_0x20c133,_0xddc2a0,_0xd21316,_0x5237d3,_0x41accd){const _0xb05a75=_0x1a21ce;let _0x1c7dfe=_0x41accd===_0x24d21b['ShapeTypeEnum']['Line']||_0x41accd===_0x24d21b[_0xb05a75(0x4a6)]['StraightConnector1'],_0x402ead=_0xddc2a0?_0x20c133:_0x5d20a5,_0x144ce5=_0xddc2a0?_0x5d20a5:_0x20c133,_0xf79584=this[_0xb05a75(0xf3)]['getConnectorLinePoints'](),_0x57da2d=this['_activeShapeModel'][_0xb05a75(0x1e0)](),_0x3c8f4e=(0x0,_0x24d21b[_0xb05a75(0x437)])(_0x57da2d),_0x1d1237=_0x24d21b['ConnectorCoordinateTransform'][_0xb05a75(0x1fc)](_0xf79584,_0x3c8f4e),_0x301dc1=_0x1c7dfe?_0x24d21b['ConnectorCoordinateTransform']['computeStraightConnectorLayout'](_0x402ead,_0x144ce5):_0x24d21b['ConnectorCoordinateTransform']['computeConnectorResizeLayout'](_0x5d20a5,_0x20c133,_0xddc2a0,_0x1d1237);_0xd21316?this[_0xb05a75(0x143)](_0x301dc1,_0xd21316,_0xddc2a0,_0x5237d3):this[_0xb05a75(0x1e6)](_0x301dc1,_0x5237d3);}[_0x1a21ce(0x31a)](_0x21ccb5,_0x42a7dd,_0x4f35d8,_0x2283af,_0x413350){const _0x1d77a2=_0x1a21ce;let _0x2a49e6=this[_0x1d77a2(0xf4)](_0x21ccb5);if(!_0x2a49e6)return;let _0x5b576d=_0x2283af?_0x2283af[_0x1d77a2(0x11e)]:this[_0x1d77a2(0x430)](_0x2a49e6[_0x1d77a2(0x409)],_0x42a7dd),_0xb766c7;if(_0x2283af){let _0x34fad7=this[_0x1d77a2(0x383)][_0x1d77a2(0x214)]({'unitId':_0x2283af[_0x1d77a2(0x197)],'subUnitId':_0x2283af[_0x1d77a2(0x4b3)],'drawingId':_0x2283af[_0x1d77a2(0x1b1)]});if(_0x34fad7!=null&&_0x34fad7[_0x1d77a2(0x3a9)]){let {left:_0x1f007e=0x0,top:_0xccf37c=0x0,width:_0x61b360=0x0,height:_0x173bf7=0x0,angle:_0xc91e18}=_0x34fad7[_0x1d77a2(0x3a9)];_0xb766c7=(0x0,_0x24d21b[_0x1d77a2(0x37b)])({'left':_0x1f007e,'top':_0xccf37c,'width':_0x61b360,'height':_0x173bf7},_0xc91e18||0x0);}else _0xb766c7={'left':_0x42a7dd['x'],'top':_0x42a7dd['y'],'width':0x0,'height':0x0};}else _0xb766c7={'left':_0x42a7dd['x'],'top':_0x42a7dd['y'],'width':0x0,'height':0x0};let _0x567420={'point':_0x42a7dd,'angle':_0x5b576d,'bounds':_0xb766c7},_0x43951a=_0x4f35d8?_0x567420:_0x2a49e6,_0x17b9aa=_0x4f35d8?_0x2a49e6:_0x567420,_0x5c1b37=this[_0x1d77a2(0xf3)][_0x1d77a2(0x1e0)](),_0x1f49ec=(0x0,_0x24d21b[_0x1d77a2(0x499)])(_0x43951a,_0x17b9aa,_0x5c1b37);this[_0x1d77a2(0xf3)]['removeLinePoints']();let _0x49dcd7=(0x0,_0x24d21b[_0x1d77a2(0xfc)])(_0x1f49ec,_0x5c1b37);_0x2283af?this[_0x1d77a2(0x444)](_0x49dcd7,_0x2283af,_0x21ccb5,_0x4f35d8,_0x413350):this[_0x1d77a2(0x179)](_0x49dcd7,_0x21ccb5,_0x4f35d8,_0x413350);}[_0x1a21ce(0x143)](_0x5de09a,_0xfadf77,_0x75003e,_0x52ee3e){const _0x9d786b=_0x1a21ce;let _0x41eab2=this[_0x9d786b(0xf3)]['getShapeData']()['relation'],_0x52f195={..._0x41eab2},_0x22482a={'shapeId':_0xfadf77[_0x9d786b(0x1b1)],'cxnIndex':_0xfadf77[_0x9d786b(0x1e9)]};_0x75003e?_0x52f195[_0x9d786b(0x413)]=_0x22482a:_0x52f195['to']=_0x22482a;let _0x2a13ff=this[_0x9d786b(0xf3)][_0x9d786b(0x1e0)](),_0x5422a5=(0x0,_0x24d21b[_0x9d786b(0xfc)])(_0x5de09a['worldPoints'],_0x2a13ff),_0x119f83={'unitId':this[_0x9d786b(0x29c)],'subUnitId':this[_0x9d786b(0x251)],'connectorShapeId':this[_0x9d786b(0x376)],'width':_0x5de09a['worldRect'][_0x9d786b(0x36b)],'height':_0x5de09a[_0x9d786b(0x121)][_0x9d786b(0x31b)],'left':_0x5de09a[_0x9d786b(0x121)]['left'],'top':_0x5de09a[_0x9d786b(0x121)][_0x9d786b(0x33a)],'flipX':_0x5de09a['worldRect'][_0x9d786b(0x405)]||!0x1,'flipY':_0x5de09a['worldRect'][_0x9d786b(0x488)]||!0x1,'newAdjustValues':_0x5422a5[_0x9d786b(0x324)],'oldAdjustValues':_0x52ee3e,'oldRelation':_0x41eab2,'newRelation':_0x52f195,'newLineType':_0x5422a5['lineType'],'oldLineType':_0x2a13ff};this['_commandService'][_0x9d786b(0x2af)](_0x34e612[_0x9d786b(0x193)]['id'],_0x119f83);}['_executeResizeCommand'](_0x53a800,_0x12cad0){const _0x29a389=_0x1a21ce;let _0x1e3180=this['_activeShapeModel'][_0x29a389(0x1e0)](),_0x22c4e3=(0x0,_0x24d21b[_0x29a389(0xfc)])(_0x53a800[_0x29a389(0x332)],_0x1e3180),_0x33e704={'unitId':this[_0x29a389(0x29c)],'subUnitId':this['_subUnitId'],'shapeId':this[_0x29a389(0x376)],'width':_0x53a800[_0x29a389(0x121)][_0x29a389(0x36b)],'height':_0x53a800[_0x29a389(0x121)][_0x29a389(0x31b)],'left':_0x53a800[_0x29a389(0x121)][_0x29a389(0x192)],'top':_0x53a800[_0x29a389(0x121)]['top'],'flipX':_0x53a800[_0x29a389(0x121)][_0x29a389(0x405)]||!0x1,'flipY':_0x53a800[_0x29a389(0x121)][_0x29a389(0x488)]||!0x1,'angle':_0x53a800[_0x29a389(0x121)]['angle']||0x0,'newAdjustValues':_0x22c4e3[_0x29a389(0x324)],'oldAdjustValues':_0x12cad0,'newLineType':_0x22c4e3[_0x29a389(0x2cf)],'oldLineType':_0x1e3180};this[_0x29a389(0x378)][_0x29a389(0x2af)](_0x34e612[_0x29a389(0x4a4)]['id'],_0x33e704);}[_0x1a21ce(0x444)](_0x7c8d0c,_0xbbea9d,_0x386a93,_0x197544,_0x1e93ac){const _0x4178e1=_0x1a21ce;let _0x47796e=this[_0x4178e1(0xf3)][_0x4178e1(0x1ea)]()[_0x4178e1(0x2d6)],_0x520572={..._0x47796e},_0x27b3ca={'shapeId':_0xbbea9d['shapeId'],'cxnIndex':_0xbbea9d[_0x4178e1(0x1e9)]};_0x197544?(_0x520572[_0x4178e1(0x413)]=_0x27b3ca,_0x520572['to']=_0x386a93):(_0x520572['from']=_0x386a93,_0x520572['to']=_0x27b3ca);let _0x4b9d6d={'unitId':this[_0x4178e1(0x29c)],'subUnitId':this[_0x4178e1(0x251)],'connectorShapeId':this[_0x4178e1(0x376)],'width':_0x7c8d0c[_0x4178e1(0x121)]['width'],'height':_0x7c8d0c['worldRect'][_0x4178e1(0x31b)],'left':_0x7c8d0c[_0x4178e1(0x121)][_0x4178e1(0x192)],'top':_0x7c8d0c['worldRect'][_0x4178e1(0x33a)],'flipX':_0x7c8d0c[_0x4178e1(0x121)][_0x4178e1(0x405)]||!0x1,'flipY':_0x7c8d0c[_0x4178e1(0x121)][_0x4178e1(0x488)]||!0x1,'oldAdjustValues':_0x1e93ac,'newAdjustValues':_0x7c8d0c[_0x4178e1(0x324)],'newLineType':_0x7c8d0c[_0x4178e1(0x2cf)],'rotation':_0x7c8d0c[_0x4178e1(0x4cc)],'oldRelation':_0x47796e,'newRelation':_0x520572};this[_0x4178e1(0x378)]['executeCommand'](_0x34e612[_0x4178e1(0x193)]['id'],_0x4b9d6d);}[_0x1a21ce(0x179)](_0x5f5867,_0x37b4d6,_0x458677,_0x46c045){const _0x504a96=_0x1a21ce;let _0x53a8d7=this['_activeShapeModel'][_0x504a96(0x1ea)]()['relation'],_0x5d96c8={};_0x458677?(_0x5d96c8['to']=_0x37b4d6,_0x5d96c8['from']=void 0x0):(_0x5d96c8[_0x504a96(0x413)]=_0x37b4d6,_0x5d96c8['to']=void 0x0);let _0x4eca5c={'unitId':this[_0x504a96(0x29c)],'subUnitId':this[_0x504a96(0x251)],'connectorShapeId':this[_0x504a96(0x376)],'width':_0x5f5867['worldRect'][_0x504a96(0x36b)],'height':_0x5f5867[_0x504a96(0x121)][_0x504a96(0x31b)],'left':_0x5f5867['worldRect'][_0x504a96(0x192)],'top':_0x5f5867['worldRect'][_0x504a96(0x33a)],'flipX':_0x5f5867['worldRect']['flipX']||!0x1,'flipY':_0x5f5867['worldRect'][_0x504a96(0x488)]||!0x1,'oldAdjustValues':_0x46c045,'newAdjustValues':_0x5f5867['adjustValues'],'newLineType':_0x5f5867[_0x504a96(0x2cf)],'rotation':_0x5f5867['rotation'],'oldRelation':_0x53a8d7,'newRelation':_0x5d96c8};this['_commandService'][_0x504a96(0x2af)](_0x34e612[_0x504a96(0x193)]['id'],_0x4eca5c);}['_attachConnectorObjectEvent'](_0x5a6dec,_0x1b4c6a,_0x1005ea){const _0x2cb2c3=_0x1a21ce;this[_0x2cb2c3(0x4c4)]((0x0,_0x5cf0ce[_0x2cb2c3(0xff)])(_0x5a6dec[_0x2cb2c3(0x39e)]['subscribeEvent']((_0x2b2092,_0x2b3710)=>{const _0xe53a8e=_0x2cb2c3;let _0x462cd2=_0x5a6dec[_0xe53a8e(0x1a8)]();if(this['_activeShapeModel']=this[_0xe53a8e(0x23a)][_0xe53a8e(0x49e)](_0x462cd2['unitId'],_0x462cd2[_0xe53a8e(0x4b3)],_0x462cd2[_0xe53a8e(0x1f5)]),!this[_0xe53a8e(0xf3)])return;let _0x48883f={};this[_0xe53a8e(0xf3)][_0xe53a8e(0x388)]()[_0xe53a8e(0x123)](_0x3e7c41=>{const _0x74f379=_0xe53a8e;let _0x126633=this[_0x74f379(0xf3)][_0x74f379(0x317)](_0x3e7c41);_0x126633!==void 0x0&&(_0x48883f[_0x3e7c41]=_0x126633);});let _0x3d2153=this[_0xe53a8e(0x225)]();if(!_0x3d2153)return;this[_0xe53a8e(0x2b0)]={..._0x3d2153};let _0x37e652=new _0x24d21b[(_0xe53a8e(0x168))](this['_baseDrawingRect']),_0x5bd0c7=(0x0,_0x2a2438['getDrawingShapeKeyByDrawingSearch'])({'unitId':this['_unitId'],'subUnitId':this[_0xe53a8e(0x251)],'drawingId':this[_0xe53a8e(0x376)]}),_0xcd9ebf=_0x1b4c6a[_0xe53a8e(0x26e)](_0x5bd0c7);this['_isConnecting']=!0x0,_0x1b4c6a[_0xe53a8e(0x2c1)](),this['_sheetBasicShapeConnectionPointController']['startConnectionDetection'](_0x1b4c6a,this[_0xe53a8e(0x29c)],this[_0xe53a8e(0x251)],this[_0xe53a8e(0x376)]),this[_0xe53a8e(0x320)]=null;let _0x35cab7=this['_activeShapeModel'][_0xe53a8e(0x308)](),_0x59a747=_0x35cab7[0x0],_0x1a1f55=_0x35cab7[_0x35cab7['length']-0x1],_0x2bba71=_0x1005ea?_0x37e652[_0xe53a8e(0x458)](_0x1a1f55):_0x37e652[_0xe53a8e(0x458)](_0x59a747);this['_cxtHandlerPointerMove']=_0x1b4c6a[_0xe53a8e(0xee)][_0xe53a8e(0x3fc)]((_0xca476b,_0x44683d)=>{const _0x48f32a=_0xe53a8e;if(!this[_0x48f32a(0x180)]||!this[_0x48f32a(0xf3)])return;this['_hasReset']||=(this['_sheetShapeAdjustController'][_0x48f32a(0x4af)](),this[_0x48f32a(0xf3)][_0x48f32a(0x1b7)](),!0x0);let _0x265275=this['_getScrollInfo'](this['_unitId'],this[_0x48f32a(0x251)]),_0x54b508=this[_0x48f32a(0x129)](this[_0x48f32a(0x29c)],this['_subUnitId']),_0x4f5eb7={'x':_0xca476b[_0x48f32a(0x17f)]/_0x54b508+_0x265275['x'],'y':_0xca476b['offsetY']/_0x54b508+_0x265275['y']},_0x4354e9=this['_sheetBasicShapeConnectionPointController'][_0x48f32a(0x3db)](_0x4f5eb7);if(_0x4354e9){let {shapeId:_0x26e4ad,unitId:_0x201dcb,subUnitId:_0x25c34c}=_0x4354e9;if(_0x26e4ad&&_0x201dcb&&_0x25c34c){let _0x10804f=(0x0,_0x2a2438[_0x48f32a(0x414)])({'unitId':_0x201dcb,'subUnitId':_0x25c34c,'drawingId':_0x26e4ad});_0x4354e9[_0x48f32a(0x11e)]=(_0x1b4c6a['getObjectIncludeInGroup'](_0x10804f)[_0x48f32a(0x11e)]||0x0)+_0x4354e9[_0x48f32a(0x11e)];}}this[_0x48f32a(0x320)]=_0x4354e9;let _0x2fce31=_0x1005ea?this[_0x48f32a(0xf3)]['getEndConnectInfo']():this['_activeShapeModel'][_0x48f32a(0x2d2)]();_0x2fce31?this[_0x48f32a(0xe4)](_0x2fce31,_0x4f5eb7,_0x1005ea,_0xcd9ebf,_0x5a6dec):this[_0x48f32a(0x268)](_0x4f5eb7,_0x2bba71,_0x1005ea,_0xcd9ebf,_0x5a6dec);}),this[_0xe53a8e(0x3e8)]=_0x1b4c6a['onPointerUp$'][_0xe53a8e(0x3fc)]((_0x14e6b4,_0x37cb44)=>{const _0x14f8f0=_0xe53a8e;this[_0x14f8f0(0x380)](_0x1b4c6a,_0x2bba71,_0x14e6b4,_0x1005ea,_0x48883f);}),_0x2b3710[_0xe53a8e(0x344)]();})));}[_0x1a21ce(0x19c)](_0x4ecc18,_0x2842df,_0x622ef2){const _0x4ba55d=_0x1a21ce;let _0x4abb3a=this[_0x4ba55d(0x23a)][_0x4ba55d(0x12c)](_0x4ecc18,_0x2842df,_0x622ef2);if(!_0x4abb3a||_0x4abb3a[_0x4ba55d(0x38a)]===0x0)return;let _0x52b5e8=this[_0x4ba55d(0x411)]['getRenderUnitById'](_0x4ecc18);if(!_0x52b5e8)return;let {scene:_0x294692}=_0x52b5e8;for(let _0x574044 of _0x4abb3a){let _0x453387=_0x574044[_0x4ba55d(0x113)],_0x585a11=this[_0x4ba55d(0x23a)][_0x4ba55d(0x49e)](_0x4ecc18,_0x2842df,_0x453387);if(!_0x585a11)continue;let _0x261c0f=_0x585a11[_0x4ba55d(0x2d2)](),_0x5bf5c0=_0x585a11[_0x4ba55d(0x1cc)](),_0x4e9de5=(_0x261c0f==null?void 0x0:_0x261c0f['shapeId'])===_0x622ef2,_0x2cf2da=(0x0,_0x2a2438[_0x4ba55d(0x414)])({'unitId':_0x4ecc18,'subUnitId':_0x2842df,'drawingId':_0x453387}),_0x2e08bb=_0x294692[_0x4ba55d(0x26e)](_0x2cf2da);if(!_0x2e08bb)continue;let _0x4834a7=this['_drawingManagerService']['getDrawingByParam']({'unitId':_0x4ecc18,'subUnitId':_0x2842df,'drawingId':_0x453387});_0x4834a7!=null&&_0x4834a7[_0x4ba55d(0x3a9)]&&(_0x261c0f&&_0x5bf5c0?this[_0x4ba55d(0x43f)](_0x4ecc18,_0x2842df,_0x453387,_0x585a11,_0x261c0f,_0x5bf5c0,_0x2e08bb):this[_0x4ba55d(0x1da)](_0x4ecc18,_0x2842df,_0x453387,_0x585a11,_0x4e9de5?_0x261c0f:_0x5bf5c0,_0x4e9de5,_0x4834a7,_0x2e08bb));}}[_0x1a21ce(0x43f)](_0x33ebfb,_0x1c4aed,_0x31ccdf,_0x2556cc,_0x226b08,_0x1a053a,_0x40371c){const _0xee4278=_0x1a21ce;let _0x391e94=this['_unitId'],_0xe5abdd=this[_0xee4278(0x251)];this['_unitId']=_0x33ebfb,this[_0xee4278(0x251)]=_0x1c4aed;let _0x3509f5=this[_0xee4278(0xf4)](_0x226b08),_0x5143b4=this[_0xee4278(0xf4)](_0x1a053a);if(this[_0xee4278(0x29c)]=_0x391e94,this['_subUnitId']=_0xe5abdd,!_0x3509f5||!_0x5143b4)return;let _0x2b65ba=_0x2556cc['getShapeType'](),_0x2b7967=(0x0,_0x24d21b['routeConnectorLineShape'])(_0x3509f5,_0x5143b4,_0x2b65ba);_0x2b7967&&_0x2556cc[_0xee4278(0x3bf)](_0x2b7967);let _0x356907=(0x0,_0x24d21b[_0xee4278(0xfc)])(_0x2b7967,_0x2b65ba);_0x356907[_0xee4278(0x2cf)]!==_0x2b65ba&&_0x2556cc['changeShapeType'](_0x356907[_0xee4278(0x2cf)]),_0x2556cc[_0xee4278(0x1b7)]();for(let [_0x1c702a,_0x52531e]of Object[_0xee4278(0x210)](_0x356907[_0xee4278(0x324)]))_0x2556cc[_0xee4278(0x44b)](_0x1c702a,_0x52531e);_0x2556cc[_0xee4278(0x433)]({'width':_0x356907[_0xee4278(0x121)][_0xee4278(0x36b)],'height':_0x356907[_0xee4278(0x121)][_0xee4278(0x31b)]}),_0x40371c[_0xee4278(0x4bb)]({'flipX':_0x356907['worldRect'][_0xee4278(0x405)],'flipY':_0x356907[_0xee4278(0x121)][_0xee4278(0x488)],'left':_0x356907['worldRect'][_0xee4278(0x192)],'top':_0x356907[_0xee4278(0x121)]['top'],'width':_0x356907['worldRect'][_0xee4278(0x36b)],'height':_0x356907['worldRect'][_0xee4278(0x31b)],'angle':_0x356907['rotation']}),_0x2556cc[_0xee4278(0x1ad)]();}[_0x1a21ce(0x1da)](_0x271d53,_0x2592c8,_0x1cb673,_0x35a861,_0x26ef87,_0x22cc55,_0x39b3d3,_0x35fb3a){const _0x397073=_0x1a21ce;let _0x14f172=this['_unitId'],_0x5f231c=this[_0x397073(0x251)];this['_unitId']=_0x271d53,this[_0x397073(0x251)]=_0x2592c8;let _0x5bfef0=this['_getConnectPointInfo'](_0x26ef87);if(this[_0x397073(0x29c)]=_0x14f172,this[_0x397073(0x251)]=_0x5f231c,!_0x5bfef0)return;let {left:_0x44baa6=0x0,top:_0x56c63c=0x0,width:_0x483e9e=0x0,height:_0x4c77a9=0x0,flipX:_0x8e9658=!0x1,flipY:_0x486160=!0x1}=_0x39b3d3[_0x397073(0x3a9)],_0x1b68aa=_0x35a861[_0x397073(0x308)]();if(_0x1b68aa['length']<0x2)return;let _0x455f58=new _0x24d21b[(_0x397073(0x168))]({'left':_0x44baa6,'top':_0x56c63c,'width':_0x483e9e,'height':_0x4c77a9,'flipX':_0x8e9658,'flipY':_0x486160}),_0x52923d=_0x22cc55?_0x1b68aa[_0x1b68aa[_0x397073(0x38a)]-0x1]:_0x1b68aa[0x0],_0x4dd093=_0x455f58['localToWorld'](_0x52923d),_0x2a5dd7=_0x24d21b[_0x397073(0x168)][_0x397073(0x2a1)](_0x4dd093,_0x5bfef0['point'],!_0x22cc55);_0x35fb3a[_0x397073(0x4bb)]({'flipX':_0x2a5dd7['worldRect'][_0x397073(0x405)],'flipY':_0x2a5dd7[_0x397073(0x121)][_0x397073(0x488)],'left':_0x2a5dd7[_0x397073(0x121)][_0x397073(0x192)],'top':_0x2a5dd7['worldRect'][_0x397073(0x33a)],'width':_0x2a5dd7[_0x397073(0x121)][_0x397073(0x36b)],'height':_0x2a5dd7[_0x397073(0x121)][_0x397073(0x31b)],'angle':_0x2a5dd7[_0x397073(0x121)][_0x397073(0x11e)]}),_0x35fb3a['makeDirty'](!0x0);}[_0x1a21ce(0x151)](){const _0x31a7a3=_0x1a21ce;this['_connectorObjects'][_0x31a7a3(0x38a)]!==0x0&&(this[_0x31a7a3(0x10a)][_0x31a7a3(0x123)](_0x2da673=>{_0x2da673['dispose']();}),this[_0x31a7a3(0x10a)]=[]);}[_0x1a21ce(0x293)](){const _0x505e4f=_0x1a21ce;let _0xdd75a5=this[_0x505e4f(0x2d5)][_0x505e4f(0x17a)](_0x5cf0ce[_0x505e4f(0x21e)][_0x505e4f(0x3a3)]);this['disposeWithMe'](_0xdd75a5[_0x505e4f(0x472)]((0x0,_0x4cb228[_0x505e4f(0x116)])(_0x48991d=>_0x48991d?_0x48991d['activeSheet$'][_0x505e4f(0x472)]((0x0,_0x4cb228[_0x505e4f(0x116)])(_0x2f469f=>{const _0x7d7363=_0x505e4f;if(!_0x2f469f)return _0x4cb228[_0x7d7363(0x223)];let _0x4a0fa2=_0x48991d[_0x7d7363(0x290)](),_0x1c5023=this['_renderManagerService'][_0x7d7363(0x3ce)](_0x4a0fa2),_0x47b6c7=_0x1c5023==null?void 0x0:_0x1c5023[_0x7d7363(0x2d7)];return _0x47b6c7?(0x0,_0x4cb228['of'])(_0x47b6c7):_0x4cb228[_0x7d7363(0x223)];})):_0x4cb228[_0x505e4f(0x223)]))[_0x505e4f(0x3e7)](_0x4e912b=>{const _0x1b71c1=_0x505e4f;let _0x98229e=_0x4e912b[_0x1b71c1(0x17e)]();this[_0x1b71c1(0x4c4)](_0x4e912b['onPointerMove$'][_0x1b71c1(0x3fc)](_0x25bf38=>{const _0x45c045=_0x1b71c1;this['_isDrawingShapePointDown']&&this[_0x45c045(0x376)]&&this['_clearShapeConnectorHandlerObjects']();})),this[_0x1b71c1(0x4c4)](_0x98229e[_0x1b71c1(0x3f9)][_0x1b71c1(0x3e7)](_0x1308b7=>{const _0xd2f96c=_0x1b71c1;let {objects:_0x51fa54}=_0x1308b7;this[_0xd2f96c(0x151)](),_0x51fa54!==null&&_0x51fa54[_0xd2f96c(0x32b)]===0x1&&_0x51fa54['values']()[_0xd2f96c(0x395)]()['value']instanceof _0x4d7701&&(this[_0xd2f96c(0x49f)]=!0x0);})),this[_0x1b71c1(0x4c4)](_0x98229e['changing$'][_0x1b71c1(0x3e7)](_0x4d202f=>{const _0xcb3c0e=_0x1b71c1;this[_0xcb3c0e(0x49f)]&&this[_0xcb3c0e(0x151)]();})),this[_0x1b71c1(0x4c4)](_0x4e912b['onPointerUp$'][_0x1b71c1(0x3fc)](()=>{const _0x5132bf=_0x1b71c1;this[_0x5132bf(0x49f)]&&(this[_0x5132bf(0x49f)]=!0x1,this[_0x5132bf(0x31e)]());})),this[_0x1b71c1(0x4c4)](_0x98229e[_0x1b71c1(0x154)][_0x1b71c1(0x3e7)](()=>{const _0x3dd982=_0x1b71c1;this['_unitId']&&this[_0x3dd982(0x251)]&&this[_0x3dd982(0x376)]&&this[_0x3dd982(0x383)][_0x3dd982(0x214)]({'unitId':this['_unitId'],'subUnitId':this[_0x3dd982(0x251)],'drawingId':this[_0x3dd982(0x376)]})&&(this[_0x3dd982(0x151)](),this[_0x3dd982(0x31e)]());}));}));}[_0x1a21ce(0x447)](){const _0x115ff4=_0x1a21ce;this['disposeWithMe'](this['_drawingManagerService'][_0x115ff4(0x28c)][_0x115ff4(0x3e7)](_0xe74d75=>{const _0x537c34=_0x115ff4;if(_0xe74d75[_0x537c34(0x38a)]===0x1){let _0x7e60=_0xe74d75[0x0];if(_0x7e60[_0x537c34(0x497)]===_0x5cf0ce[_0x537c34(0x1c1)][_0x537c34(0x33f)]){let _0x1fb8ae=this[_0x537c34(0x23a)][_0x537c34(0x49e)](_0x7e60[_0x537c34(0x197)],_0x7e60[_0x537c34(0x4b3)],_0x7e60['drawingId']);if(_0x1fb8ae&&(0x0,_0x24d21b[_0x537c34(0x373)])(_0x1fb8ae[_0x537c34(0x1e0)]())){this[_0x537c34(0x376)]=_0x7e60['drawingId'],this[_0x537c34(0x29c)]=_0x7e60['unitId'],this[_0x537c34(0x251)]=_0x7e60[_0x537c34(0x4b3)],this[_0x537c34(0x151)](),this[_0x537c34(0x31e)]();return;}}}this[_0x537c34(0x376)]=void 0x0,this[_0x537c34(0x29c)]=void 0x0,this[_0x537c34(0x251)]=void 0x0,this[_0x537c34(0x151)]();})),this[_0x115ff4(0x4c4)](this[_0x115ff4(0x383)][_0x115ff4(0x479)][_0x115ff4(0x3e7)](_0x168e38=>{const _0x32ea37=_0x115ff4;if(_0x168e38[_0x32ea37(0x38a)]===0x1){var _0x3a98c3;let _0x27b566=_0x168e38[0x0],_0xa77945=(_0x3a98c3=this[_0x32ea37(0x383)][_0x32ea37(0x214)](_0x27b566))==null?void 0x0:_0x3a98c3[_0x32ea37(0x497)];_0xa77945===_0x5cf0ce[_0x32ea37(0x1c1)][_0x32ea37(0x33f)]&&_0x27b566[_0x32ea37(0x1f5)]===this[_0x32ea37(0x376)]?(this[_0x32ea37(0x151)](),this[_0x32ea37(0x31e)]()):!this[_0x32ea37(0x376)]&&_0xa77945===_0x5cf0ce[_0x32ea37(0x1c1)]['DRAWING_SHAPE']&&this[_0x32ea37(0x19c)](_0x27b566[_0x32ea37(0x197)],_0x27b566[_0x32ea37(0x4b3)],_0x27b566[_0x32ea37(0x1f5)]);}})),this['disposeWithMe'](this[_0x115ff4(0x383)][_0x115ff4(0x44c)][_0x115ff4(0x3e7)](_0x168b69=>{const _0xdb8cb6=_0x115ff4;for(let _0x2e06d9 of _0x168b69){let {drawingId:_0x5a481d}=_0x2e06d9;if(this[_0xdb8cb6(0x376)]===_0x5a481d){this[_0xdb8cb6(0x1a5)]();return;}}}));}[_0x1a21ce(0xe4)](_0x192f42,_0x2605fe,_0x36b528,_0x3c5e3c,_0x22a7f8){const _0xb57df8=_0x1a21ce;var _0xb02300;if(!this[_0xb57df8(0xf3)])return;let _0x273354=this[_0xb57df8(0xf4)](_0x192f42);if(!_0x273354)return;let _0x1e964a=this[_0xb57df8(0x320)]?this[_0xb57df8(0x320)]['worldPoint']:_0x2605fe,_0x2cb2fc=this[_0xb57df8(0x320)]?this[_0xb57df8(0x320)]['angle']:this['_calculateFreeEndpointAngle'](_0x273354[_0xb57df8(0x409)],_0x1e964a),_0xf7cb45;if(this[_0xb57df8(0x320)]){let _0x4fbc86=this[_0xb57df8(0x383)][_0xb57df8(0x214)]({'unitId':this[_0xb57df8(0x320)][_0xb57df8(0x197)],'subUnitId':this[_0xb57df8(0x320)][_0xb57df8(0x4b3)],'drawingId':this[_0xb57df8(0x320)][_0xb57df8(0x1b1)]});if(_0x4fbc86!=null&&_0x4fbc86[_0xb57df8(0x3a9)]){let {left:_0x516340=0x0,top:_0x51ae1c=0x0,width:_0x187209=0x0,height:_0x4f6fa5=0x0,angle:_0x177b9d}=_0x4fbc86['transform'];_0xf7cb45=(0x0,_0x24d21b[_0xb57df8(0x37b)])({'left':_0x516340,'top':_0x51ae1c,'width':_0x187209,'height':_0x4f6fa5},_0x177b9d||0x0);}else _0xf7cb45={'left':_0x1e964a['x'],'top':_0x1e964a['y'],'width':0x0,'height':0x0};}else _0xf7cb45={'left':_0x1e964a['x'],'top':_0x1e964a['y'],'width':0x0,'height':0x0};let _0x47fff6={'point':_0x1e964a,'angle':_0x2cb2fc,'bounds':_0xf7cb45},_0x2844be=_0x36b528?_0x47fff6:_0x273354,_0x49fe42=_0x36b528?_0x273354:_0x47fff6,_0x41eecf=this[_0xb57df8(0xf3)][_0xb57df8(0x1e0)](),_0x5379e2=(0x0,_0x24d21b[_0xb57df8(0x499)])(_0x2844be,_0x49fe42,_0x41eecf);_0x5379e2&&this[_0xb57df8(0xf3)][_0xb57df8(0x3bf)](_0x5379e2);let _0x541074=(0x0,_0x24d21b[_0xb57df8(0xfc)])(_0x5379e2,_0x41eecf);_0x541074[_0xb57df8(0x2cf)]!==_0x41eecf&&this[_0xb57df8(0xf3)]['changeShapeType'](_0x541074[_0xb57df8(0x2cf)]);for(let [_0x421502,_0x52fa74]of Object[_0xb57df8(0x210)](_0x541074['adjustValues']))this[_0xb57df8(0xf3)][_0xb57df8(0x44b)](_0x421502,_0x52fa74);this['_activeShapeModel'][_0xb57df8(0x433)]({'width':_0x541074[_0xb57df8(0x121)][_0xb57df8(0x36b)],'height':_0x541074[_0xb57df8(0x121)][_0xb57df8(0x31b)]}),_0x3c5e3c[_0xb57df8(0x4bb)]({'flipX':_0x541074['worldRect'][_0xb57df8(0x405)],'flipY':_0x541074[_0xb57df8(0x121)]['flipY'],'left':_0x541074['worldRect']['left'],'top':_0x541074[_0xb57df8(0x121)]['top'],'width':_0x541074[_0xb57df8(0x121)][_0xb57df8(0x36b)],'height':_0x541074[_0xb57df8(0x121)][_0xb57df8(0x31b)],'angle':_0x541074[_0xb57df8(0x4cc)]}),_0x3c5e3c[_0xb57df8(0x2a3)](!0x0);let _0x5478bb=((_0xb02300=this[_0xb57df8(0x320)])==null?void 0x0:_0xb02300[_0xb57df8(0x11d)])??_0x2605fe;_0x22a7f8[_0xb57df8(0x4bb)]({'left':_0x5478bb['x']-_0x24d21b[_0xb57df8(0x1a9)]['cxnPointRadius'],'top':_0x5478bb['y']-_0x24d21b['ShapeDefaultConfig'][_0xb57df8(0x177)]});}[_0x1a21ce(0x268)](_0x45b6c7,_0x2a13d7,_0x19864a,_0x3de38d,_0x25a7ff){const _0x18a2d5=_0x1a21ce;var _0x1cfe44,_0x3c32f1;let _0x410227=((_0x1cfe44=this[_0x18a2d5(0x320)])==null?void 0x0:_0x1cfe44[_0x18a2d5(0x11d)])??_0x45b6c7,_0x471732=_0x24d21b[_0x18a2d5(0x168)][_0x18a2d5(0x2a1)](_0x2a13d7,_0x410227,_0x19864a);_0x3de38d[_0x18a2d5(0x4bb)]({'flipX':_0x471732[_0x18a2d5(0x121)]['flipX'],'flipY':_0x471732[_0x18a2d5(0x121)]['flipY'],'left':_0x471732[_0x18a2d5(0x121)][_0x18a2d5(0x192)],'top':_0x471732[_0x18a2d5(0x121)][_0x18a2d5(0x33a)],'width':_0x471732[_0x18a2d5(0x121)][_0x18a2d5(0x36b)],'height':_0x471732[_0x18a2d5(0x121)][_0x18a2d5(0x31b)],'angle':_0x471732[_0x18a2d5(0x121)][_0x18a2d5(0x11e)]});let _0x36b095=((_0x3c32f1=this[_0x18a2d5(0x320)])==null?void 0x0:_0x3c32f1[_0x18a2d5(0x11d)])??_0x45b6c7;_0x25a7ff[_0x18a2d5(0x4bb)]({'left':_0x36b095['x']-_0x24d21b['ShapeDefaultConfig'][_0x18a2d5(0x177)],'top':_0x36b095['y']-_0x24d21b[_0x18a2d5(0x1a9)]['cxnPointRadius']});}[_0x1a21ce(0xf4)](_0x2c2d1f){const _0x5b5dc9=_0x1a21ce;if(!this['_unitId']||!this['_subUnitId'])return null;let {shapeId:_0x422bef,cxnIndex:_0x1380ad}=_0x2c2d1f,_0x3bb675=this[_0x5b5dc9(0x23a)][_0x5b5dc9(0x49e)](this['_unitId'],this[_0x5b5dc9(0x251)],_0x422bef);if(!_0x3bb675)return null;let _0x3e88da=this['_drawingManagerService']['getDrawingByParam']({'unitId':this[_0x5b5dc9(0x29c)],'subUnitId':this[_0x5b5dc9(0x251)],'drawingId':_0x422bef});if(!(_0x3e88da!=null&&_0x3e88da[_0x5b5dc9(0x3a9)]))return null;let {left:_0x538385=0x0,top:_0x39c877=0x0,width:_0x2404a1=0x0,height:_0x43b3b8=0x0,flipX:_0x56146e=!0x1,flipY:_0x438cf1=!0x1,angle:_0x26c315}=_0x3e88da[_0x5b5dc9(0x3a9)];_0x3bb675['updateContext']({'width':_0x2404a1,'height':_0x43b3b8});let _0x2a883e=_0x3bb675['getConnectionSiteList']()[_0x5b5dc9(0x169)](_0xd70c40=>_0xd70c40[_0x5b5dc9(0x291)]===_0x1380ad);if(!_0x2a883e)return null;let _0xfc24b8=_0x56146e?_0x2404a1-_0x2a883e['x']:_0x2a883e['x'],_0x545345=_0x438cf1?_0x43b3b8-_0x2a883e['y']:_0x2a883e['y'];if(_0x26c315!==0x0&&_0x26c315!=null){let _0x1f47b5=_0x26c315*Math['PI']/0xb4,_0x161454=Math['cos'](_0x1f47b5),_0x33531a=Math[_0x5b5dc9(0x1bc)](_0x1f47b5),_0x23bf39=_0x2404a1/0x2,_0x3e2fc7=_0x43b3b8/0x2,_0x1319fd=_0xfc24b8-_0x23bf39,_0x12cb60=_0x545345-_0x3e2fc7;_0xfc24b8=_0x23bf39+_0x1319fd*_0x161454-_0x12cb60*_0x33531a,_0x545345=_0x3e2fc7+_0x1319fd*_0x33531a+_0x12cb60*_0x161454;}_0xfc24b8+=_0x538385,_0x545345+=_0x39c877;let _0x4908ea=_0x2a883e[_0x5b5dc9(0x363)]/0xea60;_0x56146e&&(_0x4908ea=0xb4-_0x4908ea),_0x438cf1&&(_0x4908ea=-_0x4908ea),_0x4908ea+=_0x26c315||0x0,_0x4908ea=(_0x4908ea%0x168+0x168)%0x168;let _0xa9f028=(0x0,_0x24d21b[_0x5b5dc9(0x37b)])({'left':_0x538385,'top':_0x39c877,'width':_0x2404a1,'height':_0x43b3b8},_0x26c315||0x0);return{'point':{'x':_0xfc24b8,'y':_0x545345},'angle':_0x4908ea,'bounds':_0xa9f028};}[_0x1a21ce(0x430)](_0x479a9b,_0x226fe4){const _0x4ffcf7=_0x1a21ce;let _0x1a34e5=_0x226fe4['x']-_0x479a9b['x'],_0x5a8a10=_0x226fe4['y']-_0x479a9b['y'];return Math[_0x4ffcf7(0x16b)](_0x1a34e5)>=Math[_0x4ffcf7(0x16b)](_0x5a8a10)?_0x1a34e5>=0x0?0xb4:0x0:_0x5a8a10>=0x0?0x10e:0x5a;}[_0x1a21ce(0x1a5)](){const _0xe722c3=_0x1a21ce;this[_0xe722c3(0x376)]=void 0x0,this[_0xe722c3(0x29c)]=void 0x0,this[_0xe722c3(0x251)]=void 0x0,this[_0xe722c3(0x151)]();}[_0x1a21ce(0x351)](){const _0x490f0f=_0x1a21ce;this[_0x490f0f(0x151)](),super['dispose']();}};_0x380bd1=_0x3f6514([_0x4512b4(0x1,_0x5cf0ce[_0x1a21ce(0x311)]),_0x4512b4(0x2,_0x4413bb[_0x1a21ce(0x399)]),_0x4512b4(0x3,_0x2a2438['IDrawingManagerService']),_0x4512b4(0x4,_0x5cf0ce[_0x1a21ce(0x1d2)]),_0x4512b4(0x5,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x34e612[_0x1a21ce(0x457)])),_0x4512b4(0x6,(0x0,_0x5cf0ce['Inject'])(_0x5f5333)),_0x4512b4(0x7,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x1992a8))],_0x380bd1);let _0xd9aa70=class extends _0x5cf0ce['Disposable']{constructor(_0x4ed12d,_0x500d8b,_0x1fe446){const _0x510b8d=_0x1a21ce;super(),this[_0x510b8d(0x10d)]=_0x4ed12d,this[_0x510b8d(0x383)]=_0x500d8b,this[_0x510b8d(0x477)]=_0x1fe446,this['_initPrinting']();}[_0x1a21ce(0x2c3)](){const _0xfba9b9=_0x1a21ce;this[_0xfba9b9(0x4c4)](this['_sheetPrintInterceptorService'][_0xfba9b9(0x3ef)][_0xfba9b9(0x342)](this[_0xfba9b9(0x10d)]['interceptor']['getInterceptPoints']()[_0xfba9b9(0x2a6)],{'handler':(_0x14b9a3,_0x119c51,_0x297a3f)=>{const _0x7fda79=_0xfba9b9;var _0x38764b;let {unitId:_0x1475df,subUnitId:_0x270935,scene:_0x57e5a2,resourceCollector:_0x66699d}=_0x119c51,_0x44b289=(_0x38764b=this['_drawingManagerService']['getDrawingDataForUnit'](_0x1475df))==null?void 0x0:_0x38764b[_0x270935];return _0x44b289==null||_0x44b289[_0x7fda79(0x202)][_0x7fda79(0x123)](_0x2962b9=>{const _0x301e0d=_0x7fda79;let _0x40a078=_0x44b289[_0x301e0d(0x366)][_0x2962b9];_0x40a078[_0x301e0d(0x497)]===_0x5cf0ce[_0x301e0d(0x1c1)][_0x301e0d(0x33f)]&&!_0x40a078['hidden']&&this['_shapeRenderController']['renderDrawingShape'](_0x40a078,_0x57e5a2,{'resourceCollector':_0x66699d});}),_0x297a3f(_0x14b9a3);}}));}};_0xd9aa70=_0x3f6514([_0x4512b4(0x0,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x3e532c[_0x1a21ce(0x258)])),_0x4512b4(0x1,_0x2a2438['IDrawingManagerService']),_0x4512b4(0x2,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x251705))],_0xd9aa70);let _0x56da88=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x5da858,_0x13e7ac,_0x3f3494){const _0x23fa5b=_0x1a21ce;super(),this[_0x23fa5b(0x378)]=_0x5da858,this[_0x23fa5b(0x438)]=_0x13e7ac,this['_sheetPermissionCheckController']=_0x3f3494,this[_0x23fa5b(0x45a)]();}['_initPermission'](){const _0x53aa58=_0x1a21ce;this['disposeWithMe'](this[_0x53aa58(0x378)][_0x53aa58(0x1a2)](_0x4a619b=>{const _0x353c63=_0x53aa58;let _0x18661e,_0x143a1f;if(_0x4a619b['id']===_0x34e612[_0x353c63(0x4a9)]['id']||_0x4a619b['id']===_0x34e612['SetShapeDrawingDataCommand']['id']||_0x4a619b['id']===_0x34e612['UpdateConnectorRelationCommand']['id']){let _0x3a774b=_0x4a619b[_0x353c63(0x46d)];_0x18661e=_0x3a774b[_0x353c63(0x197)],_0x143a1f=_0x3a774b['subUnitId'];}_0x18661e&&_0x143a1f&&(this[_0x353c63(0x1b3)][_0x353c63(0x3e0)]({'workbookTypes':[_0xdab3fa[_0x353c63(0x1cf)]],'worksheetTypes':[_0xdab3fa[_0x353c63(0x30c)]]},_0x18661e,_0x143a1f)||this['_sheetPermissionCheckController']['blockExecuteWithoutPermission'](this[_0x353c63(0x438)]['t'](_0x353c63(0x231))));}));}};_0x56da88=_0x3f6514([_0x4512b4(0x0,(0x0,_0x5cf0ce['Inject'])(_0x5cf0ce[_0x1a21ce(0x311)])),_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x5cf0ce[_0x1a21ce(0x4ac)])),_0x4512b4(0x2,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0xdab3fa[_0x1a21ce(0x368)]))],_0x56da88);let _0x1451da=class{constructor(_0xd5100f){const _0x348e70=_0x1a21ce;this[_0x348e70(0x411)]=_0xd5100f;}[_0x1a21ce(0x20e)](_0x4b51ae,_0x49a5a7){const _0x14d5cf=_0x1a21ce;let _0x12cd07=this['_renderManagerService']['getRenderUnitById'](_0x4b51ae[_0x14d5cf(0x197)]),_0x2d46e7=_0x12cd07==null?void 0x0:_0x12cd07[_0x14d5cf(0x2d7)];if(!_0x2d46e7)return;let _0x193aef=(0x0,_0x2a2438[_0x14d5cf(0x414)])(_0x4b51ae),_0x7a3f27=_0x2d46e7[_0x14d5cf(0x26e)](_0x193aef);_0x7a3f27==null||_0x7a3f27[_0x14d5cf(0x237)](_0x49a5a7);}};_0x1451da=_0x3f6514([_0x4512b4(0x0,_0x4413bb[_0x1a21ce(0x399)])],_0x1451da);let _0x504be4=class extends _0x5cf0ce[_0x1a21ce(0x494)]{constructor(_0x5badbb=_0x141627,_0x532a64,_0x45e564,_0x1d7308,_0x38bfe5){const _0x209fe0=_0x1a21ce;super(),this['_config']=_0x5badbb,this[_0x209fe0(0x451)]=_0x532a64,this[_0x209fe0(0x378)]=_0x45e564,this[_0x209fe0(0x3d3)]=_0x1d7308,this[_0x209fe0(0x411)]=_0x38bfe5;let {..._0xbdc2d4}=(0x0,_0x5cf0ce[_0x209fe0(0x276)])({},_0x141627,this['_config']);this['_configService'][_0x209fe0(0x425)](_0x3f4761,_0xbdc2d4),this[_0x209fe0(0xe2)]();}[_0x1a21ce(0x152)](){const _0x59023a=_0x1a21ce;this['_injector'][_0x59023a(0x36d)]([_0x1338d4]),this['_injector'][_0x59023a(0x170)](_0x1338d4),(0x0,_0x5cf0ce[_0x59023a(0x18e)])(this[_0x59023a(0x451)],[[_0x2790fb],[_0x4f13f1],[_0x251705],[_0xd9aa70],[_0x1451da],[_0x46b0ec],[_0x5819ea],[_0x133380],[_0x56da88]]);}['onReady'](){const _0x2fbb1a=_0x1a21ce;(0x0,_0x5cf0ce[_0x2fbb1a(0x18e)])(this['_injector'],[[_0x1992a8],[_0x5f5333],[_0x4bbe2f]]),(0x0,_0x5cf0ce['touchDependencies'])(this['_injector'],[[_0x4bbe2f],[_0x5f5333]]),[[_0x1992a8],[_0x360356],[_0x380bd1],[_0x2c3da1]][_0x2fbb1a(0x123)](_0x290d67=>{const _0x49f5b2=_0x2fbb1a;this[_0x49f5b2(0x4c4)](this['_renderManagerService'][_0x49f5b2(0x39f)](_0x5cf0ce[_0x49f5b2(0x21e)]['UNIVER_SHEET'],_0x290d67));});}[_0x1a21ce(0x37d)](){const _0x114ce1=_0x1a21ce;(0x0,_0x5cf0ce[_0x114ce1(0x323)])(this[_0x114ce1(0x451)],[[_0x2790fb],[_0x4f13f1],[_0x251705],[_0xd9aa70],[_0x1451da],[_0x46b0ec],[_0x5819ea],[_0x133380],[_0x56da88]]);}[_0x1a21ce(0x155)](){const _0x5eb95c=_0x1a21ce;this[_0x5eb95c(0x451)][_0x5eb95c(0x170)](_0x2790fb)[_0x5eb95c(0x27b)]();}[_0x1a21ce(0xe2)](){const _0x1cfe66=_0x1a21ce;[_0x224af7,_0x25f5b2,_0x1bb1ad,_0x2a1c58][_0x1cfe66(0x123)](_0x384b9a=>this['disposeWithMe'](this[_0x1cfe66(0x378)]['registerCommand'](_0x384b9a)));}};_0x339d5f(_0x504be4,_0x1a21ce(0x3cb),_0x5cf0ce[_0x1a21ce(0x21e)][_0x1a21ce(0x3a3)]),_0x339d5f(_0x504be4,_0x1a21ce(0x262),_0x1a21ce(0xf9)),_0x339d5f(_0x504be4,_0x1a21ce(0x3aa),_0x6f3664),_0x339d5f(_0x504be4,'version',_0x46f9c2),_0x504be4=_0x3f6514([(0x0,_0x5cf0ce['DependentOn'])(_0x3d331c['UniverLicensePlugin'],_0x193e85['UniverDocsPlugin'],_0x2a2438[_0x1a21ce(0xfa)],_0x4413bb[_0x1a21ce(0x316)],_0xdab3fa[_0x1a21ce(0x389)],_0x26442e['UniverDocsUIPlugin'],_0x57dfd6['UniverSheetsDrawingPlugin'],_0x1b3552[_0x1a21ce(0x45e)],_0x22ea8b[_0x1a21ce(0x2e7)],_0x34e612[_0x1a21ce(0x340)],_0x3e532c[_0x1a21ce(0xe1)],_0x3ed8c6[_0x1a21ce(0x2ee)],_0x416351[_0x1a21ce(0x1c0)]),_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x5cf0ce[_0x1a21ce(0x3c7)])),_0x4512b4(0x2,_0x5cf0ce['ICommandService']),_0x4512b4(0x3,_0x5cf0ce[_0x1a21ce(0x452)]),_0x4512b4(0x4,_0x4413bb['IRenderManagerService'])],_0x504be4);let _0x1641ed={'type':_0x5cf0ce[_0x1a21ce(0x244)]['OPERATION'],'id':_0x1a21ce(0x217),'handler'(){return!0x0;}};function _0x3f9cee(){const _0x45f4ff=_0x1a21ce;let _0x58c036=(0x0,_0x416351['useDependency'])(_0x2a2438[_0x45f4ff(0x3e4)]),_0x248903=(0x0,_0x416351['useObservable'])(()=>_0x58c036[_0x45f4ff(0x28c)],_0x58c036[_0x45f4ff(0x314)](),!0x1,[_0x58c036]);return _0x248903[_0x45f4ff(0x38a)]===0x0?null:(0x0,_0x53553e[_0x45f4ff(0x404)])('div',{'children':(0x0,_0x53553e[_0x45f4ff(0x319)])(_0x45f4ff(0x429),{'className':'univer-box-border\x20univer-px-4\x20univer-text-sm','children':[(0x0,_0x53553e[_0x45f4ff(0x404)])(_0x11fb86[_0x45f4ff(0x360)],{'drawings':_0x248903,'hasCropper':!0x1}),(0x0,_0x53553e[_0x45f4ff(0x404)])(_0x22ea8b[_0x45f4ff(0x275)],{'drawings':_0x248903})]})});}function _0x321498(_0x1994e4){const _0x4973e1=_0x1a21ce;let {unitId:_0x5e9c15,subUnitId:_0x49d4dd,shapeId:_0x12c6ef}=_0x1994e4,_0x36509d=(0x0,_0x416351[_0x4973e1(0x20b)])(_0x5cf0ce[_0x4973e1(0x311)]),_0x3f44e8=(0x0,_0x416351[_0x4973e1(0x20b)])(_0x1451da);return(0x0,_0x53553e[_0x4973e1(0x404)])(_0x3ed8c6[_0x4973e1(0x4aa)],{..._0x1994e4,'positionEditor':(0x0,_0x53553e['jsx'])(_0x3f9cee,{}),'onUpdateShapeData':(_0x2a771f,_0x330469)=>{_0x12c3ae(_0x36509d,_0x5e9c15,_0x49d4dd,_0x12c6ef,_0x2a771f,_0x330469);},'onUpdateLineShapeData':(_0x1e9505,_0x55ad91)=>{_0xa96cd4(_0x36509d,_0x5e9c15,_0x49d4dd,_0x12c6ef,_0x1e9505,_0x55ad91);},'onUpdateShapeFillImage':_0x52e3c1=>{_0x3f44e8['updateShapeFillImage']({'unitId':_0x5e9c15,'subUnitId':_0x49d4dd,'drawingId':_0x12c6ef},_0x52e3c1);}});}function _0x1b59f7(_0x46e22f){const _0x5ef914=_0x1a21ce;let _0x4cb433=(0x0,_0x416351[_0x5ef914(0x20b)])(_0x3ed8c6[_0x5ef914(0x483)]),_0x3c3bdb=(0x0,_0x416351['useObservable'])(()=>_0x4cb433[_0x5ef914(0x310)],_0x4cb433[_0x5ef914(0xdc)](),!0x1,[_0x4cb433]),_0x25c5c6=_0x46e22f[_0x5ef914(0x493)][_0x5ef914(0x137)];return!_0x25c5c6||!_0x3c3bdb?null:(0x0,_0x53553e[_0x5ef914(0x404)])(_0x5a5f3a,{..._0x25c5c6,'canvasElement':_0x46e22f['popup'][_0x5ef914(0x30a)]});}function _0x5a5f3a(_0x28c90e){const _0x4256f7=_0x1a21ce;let _0x33ab3f=(0x0,_0x416351['useDependency'])(_0x5cf0ce[_0x4256f7(0x311)]),_0x1fcc85=(0x0,_0x416351[_0x4256f7(0x20b)])(_0x34e612[_0x4256f7(0x457)]),{unitId:_0xdc79a3,subUnitId:_0x4872fb,drawingId:_0x5d5cb2,drawingType:_0x8e519e,shapeType:_0xa91217}=_0x28c90e,[_0x5deaad,_0x5a9da4]=(0x0,_0x41b065['useState'])(_0x28c90e[_0x4256f7(0x476)]),_0x3bc2be=(0x0,_0x41b065[_0x4256f7(0x455)])(()=>(0x0,_0x3ed8c6[_0x4256f7(0x343)])(_0x5deaad),[_0x5deaad]),_0x38202a=(0x0,_0x41b065['useMemo'])(()=>(0x0,_0x3ed8c6[_0x4256f7(0x303)])(_0x5deaad),[_0x5deaad]);(0x0,_0x41b065[_0x4256f7(0x2e2)])(()=>{const _0x44f676=_0x4256f7;let _0x6b109=_0x33ab3f[_0x44f676(0x30f)](_0xc55dbe=>{const _0x52364a=_0x44f676;if(_0xc55dbe['id']!==_0x34e612['UpdateSheetsShapeDataMutation']['id'])return;let _0x200120=_0x1fcc85[_0x52364a(0x23d)](_0xdc79a3,_0x4872fb,_0x5d5cb2);_0x200120&&_0x5a9da4(_0x200120);});return()=>_0x6b109[_0x44f676(0x351)]();},[_0x33ab3f,_0x5d5cb2,_0x1fcc85,_0x4872fb,_0xdc79a3]);let _0x44e88d=_0x3f08a7=>{_0x5a9da4(_0xdff1fe=>({..._0xdff1fe,..._0x3f08a7}));},_0x3026fe=_0x32140c=>{const _0xacbe39=_0x4256f7;let _0x210788=(0x0,_0x3ed8c6[_0xacbe39(0x16f)])(_0x5deaad,_0x32140c);_0x12c3ae(_0x33ab3f,_0xdc79a3,_0x4872fb,_0x5d5cb2,{'oldShapeData':{'shapeText':_0x5deaad[_0xacbe39(0x2d4)]}},_0x210788),_0x44e88d(_0x210788);},_0x1d1944=(0x0,_0x3ed8c6[_0x4256f7(0x390)])({'hostType':_0x5cf0ce[_0x4256f7(0x21e)][_0x4256f7(0x3a3)],'unitId':_0xdc79a3,'subUnitId':_0x4872fb,'shapeId':_0x5d5cb2,'shapeData':_0x5deaad,'onUpdateBinding':_0x1b3951=>{const _0x193526=_0x4256f7;let _0xf981e3={'formulaBinding':_0x1b3951};_0x12c3ae(_0x33ab3f,_0xdc79a3,_0x4872fb,_0x5d5cb2,{'oldShapeData':{'formulaBinding':_0x5deaad[_0x193526(0x126)]}},_0xf981e3),_0x44e88d(_0xf981e3);}});return(0x0,_0x53553e['jsxs'])(_0x53553e['Fragment'],{'children':[(0x0,_0x53553e['jsx'])(_0x3ed8c6[_0x4256f7(0x1d3)],{'canvasElement':_0x28c90e[_0x4256f7(0x30a)],'shapeData':_0x5deaad,'shapeType':_0xa91217,'textStyle':{'ff':_0x24d21b[_0x4256f7(0x1a9)][_0x4256f7(0x2d4)][_0x4256f7(0x1fd)],'fs':_0x24d21b[_0x4256f7(0x1a9)][_0x4256f7(0x2d4)][_0x4256f7(0x3c3)],'cl':{'rgb':_0x24d21b[_0x4256f7(0x1a9)][_0x4256f7(0x2d4)]['color']},..._0x3bc2be},'textModel':_0x38202a?{'ha':_0x38202a['ha']??_0x5cf0ce[_0x4256f7(0x41a)][_0x4256f7(0x2f2)],'va':_0x38202a['va']??_0x5cf0ce[_0x4256f7(0x393)][_0x4256f7(0x3f7)]}:null,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x24d21b['ShapeDefaultConfig'][_0x4256f7(0x4ae)],'defaultGradientEndColor':_0x24d21b[_0x4256f7(0x1a9)][_0x4256f7(0x232)],'defaultStrokeColor':_0x24d21b[_0x4256f7(0x1a9)][_0x4256f7(0x1f2)],'extensionGroups':_0x1d1944[_0x4256f7(0x26f)],'floatingObjectToolbarPosition':_0x416351[_0x4256f7(0x40e)][_0x4256f7(0x3af)],'onUpdateShapeData':(_0x5211c4,_0x150f2a)=>{_0x12c3ae(_0x33ab3f,_0xdc79a3,_0x4872fb,_0x5d5cb2,_0x5211c4,_0x150f2a),_0x150f2a&&_0x44e88d(_0x150f2a);},'onUpdateText':_0x3026fe,'onOpenPanel':()=>{const _0xa4e29e=_0x4256f7;_0x33ab3f[_0xa4e29e(0x2af)](_0x212f1d['id'],{'unitId':_0xdc79a3,'subUnitId':_0x4872fb,'drawingId':_0x5d5cb2});},'onDelete':()=>{const _0x248d1a=_0x4256f7;_0x33ab3f[_0x248d1a(0x2af)](_0x57dfd6[_0x248d1a(0x22e)]['id'],{'unitId':_0xdc79a3,'drawings':[{'unitId':_0xdc79a3,'subUnitId':_0x4872fb,'drawingId':_0x5d5cb2,'drawingType':_0x8e519e}]});}}),_0x1d1944[_0x4256f7(0x400)]]});}function _0x785574(_0x51b972){const _0x31c303=_0x1a21ce;return!!_0x51b972&&_0x31c303(0x333)in _0x51b972&&_0x31c303(0x1ed)in _0x51b972;}let _0x48f7c2=(0x0,_0x41b065[_0x1a21ce(0x371)])(()=>{const _0x5741c4=_0x1a21ce;let _0x1d41cb=(0x0,_0x416351[_0x5741c4(0x20b)])(_0x46b0ec),_0x15b853=(0x0,_0x416351[_0x5741c4(0x20b)])(_0x34e612[_0x5741c4(0x457)]),_0x384fe9=(0x0,_0x416351[_0x5741c4(0x20b)])(_0x2a2438[_0x5741c4(0x3e4)]),_0x57a434=(0x0,_0x416351['useDependency'])(_0x5cf0ce[_0x5741c4(0x311)]),_0x19a3ef=(0x0,_0x416351['useDependency'])(_0x416351[_0x5741c4(0x115)]),_0x1eba85=(0x0,_0x416351[_0x5741c4(0x20b)])(_0x4413bb['IRenderManagerService']),_0x45764c=(0x0,_0x41b065[_0x5741c4(0x455)])(()=>({'getShapeModel':(_0x4bc5e8,_0x9a0c9,_0x30e3ec)=>_0x15b853['getShapeModel'](_0x4bc5e8,_0x9a0c9,_0x30e3ec),'getShapeData':(_0x1e847c,_0x4fe042,_0x55caad)=>_0x15b853[_0x5741c4(0x23d)](_0x1e847c,_0x4fe042,_0x55caad),'getDrawingTransform':(_0x44d27d,_0x1c2b91,_0x20f7bc)=>{const _0x223f65=_0x5741c4;let _0x41c6b5=_0x384fe9[_0x223f65(0x214)]({'unitId':_0x44d27d,'subUnitId':_0x1c2b91,'drawingId':_0x20f7bc});return _0x41c6b5==null?void 0x0:_0x41c6b5[_0x223f65(0x3a9)];},'updateShapeText':({unitId:_0x1d2020,subUnitId:_0x5525fa,shapeId:_0x23248a,shapeText:_0x24551e,oldShapeText:_0x922fc5,hostSize:_0x14d7bd})=>{const _0x1c254a=_0x5741c4;_0x19a3ef[_0x1c254a(0x3ca)](_0x1d2020,()=>{const _0x1532c1=_0x1c254a;var _0x1611f6;let _0x4c259e=_0x57a434[_0x1532c1(0x25e)](_0x25f5b2['id'],{'unitId':_0x1d2020,'subUnitId':_0x5525fa,'shapeId':_0x23248a,'shapeData':{'shapeText':_0x24551e},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x922fc5}}});if(!_0x4c259e||!_0x14d7bd)return _0x4c259e;let _0x524fcf=_0x384fe9[_0x1532c1(0x214)]({'unitId':_0x1d2020,'subUnitId':_0x5525fa,'drawingId':_0x23248a}),_0x1a4473=_0x524fcf==null?void 0x0:_0x524fcf[_0x1532c1(0x3a9)];if(!_0x785574(_0x524fcf)||!_0x1a4473)return!0x1;let _0x457f82={..._0x1a4473,'width':_0x14d7bd[_0x1532c1(0x36b)],'height':_0x14d7bd[_0x1532c1(0x31b)]},_0x1cffe6=(_0x1611f6=_0x1eba85[_0x1532c1(0x3ce)](_0x1d2020))==null||(_0x1611f6=_0x1611f6[_0x1532c1(0x18b)](_0x3e532c['SheetSkeletonManagerService'])[_0x1532c1(0x30d)](_0x5525fa))==null?void 0x0:_0x1611f6[_0x1532c1(0x40f)];return _0x57a434['syncExecuteCommand'](_0x57dfd6[_0x1532c1(0x120)]['id'],{'unitId':_0x1d2020,'drawings':[{..._0x524fcf,'transform':_0x457f82,'sheetTransform':_0x1cffe6?(0x0,_0x57dfd6[_0x1532c1(0x44a)])(_0x457f82,_0x1cffe6)??_0x524fcf[_0x1532c1(0x1ed)]:_0x524fcf[_0x1532c1(0x1ed)],'axisAlignSheetTransform':_0x1cffe6?(0x0,_0x57dfd6[_0x1532c1(0x242)])(_0x457f82,_0x1cffe6)??_0x524fcf[_0x1532c1(0x333)]:_0x524fcf[_0x1532c1(0x333)]}]});});},'updateHostSize':({unitId:_0x3b854e,subUnitId:_0x1d457d,shapeId:_0x295356,width:_0x16dcaa,height:_0x487fcb})=>{const _0x1f0e7b=_0x5741c4;var _0x128076;let _0x4af2e6=_0x384fe9[_0x1f0e7b(0x214)]({'unitId':_0x3b854e,'subUnitId':_0x1d457d,'drawingId':_0x295356}),_0x4593e7=_0x4af2e6==null?void 0x0:_0x4af2e6[_0x1f0e7b(0x3a9)];if(!_0x785574(_0x4af2e6)||!_0x4593e7)return;let _0x41178d={..._0x4593e7,'width':_0x16dcaa,'height':_0x487fcb},_0x21ac67=(_0x128076=_0x1eba85[_0x1f0e7b(0x3ce)](_0x3b854e))==null||(_0x128076=_0x128076[_0x1f0e7b(0x18b)](_0x3e532c[_0x1f0e7b(0x432)])[_0x1f0e7b(0x30d)](_0x1d457d))==null?void 0x0:_0x128076[_0x1f0e7b(0x40f)],_0x4eb940=_0x21ac67?(0x0,_0x57dfd6[_0x1f0e7b(0x44a)])(_0x41178d,_0x21ac67)??_0x4af2e6[_0x1f0e7b(0x1ed)]:_0x4af2e6[_0x1f0e7b(0x1ed)],_0xf36a2c=_0x21ac67?(0x0,_0x57dfd6[_0x1f0e7b(0x242)])(_0x41178d,_0x21ac67)??_0x4af2e6['axisAlignSheetTransform']:_0x4af2e6['axisAlignSheetTransform'];_0x57a434[_0x1f0e7b(0x2af)](_0x57dfd6[_0x1f0e7b(0x120)]['id'],{'unitId':_0x3b854e,'drawings':[{..._0x4af2e6,'transform':_0x41178d,'sheetTransform':_0x4eb940,'axisAlignSheetTransform':_0xf36a2c}]});},'allowHostSizeShrink':({unitId:_0x2933e3,subUnitId:_0x13bbbe,shapeId:_0x57830f})=>(0x0,_0x3ed8c6[_0x5741c4(0x105)])(_0x15b853[_0x5741c4(0x23d)](_0x2933e3,_0x13bbbe,_0x57830f)),'deferHostSizeUpdateDuringEditing':()=>!0x0}),[_0x57a434,_0x384fe9,_0x1eba85,_0x15b853,_0x19a3ef]),_0x1aaf86=(0x0,_0x41b065['useMemo'])(()=>({'viewportKeys':{'main':_0x4413bb['SHEET_VIEWPORT_KEY'][_0x5741c4(0x16e)],'leftTop':_0x4413bb[_0x5741c4(0x235)]['VIEW_MAIN_LEFT_TOP'],'top':_0x4413bb[_0x5741c4(0x235)][_0x5741c4(0x175)],'left':_0x4413bb[_0x5741c4(0x235)][_0x5741c4(0x28f)]},'getSkeleton':(_0xbb3535,_0x4dbf0d)=>{const _0x2678fa=_0x5741c4;var _0x5c54ac;return((_0x5c54ac=_0xbb3535[_0x2678fa(0x18b)](_0x3e532c[_0x2678fa(0x432)])[_0x2678fa(0x30d)](_0x4dbf0d[_0x2678fa(0x4b3)]))==null?void 0x0:_0x5c54ac[_0x2678fa(0x40f)])??null;}}),[]);return(0x0,_0x53553e[_0x5741c4(0x404)])(_0x3ed8c6[_0x5741c4(0x32f)],{'adapter':_0x45764c,'editingService':_0x1d41cb,'editorUnitId':_0x4a60e9,'positionOptions':_0x1aaf86});}),_0x4c97be=class extends _0x5cf0ce['Disposable']{constructor(_0xf7d64b,_0xbc9cba){const _0x547f5d=_0x1a21ce;super(),this[_0x547f5d(0x1f7)]=_0xf7d64b,this[_0x547f5d(0x460)]=_0xbc9cba,this['_registerIcons'](),this[_0x547f5d(0x1ca)]();}[_0x1a21ce(0x1b9)](){const _0x34fcb3=_0x1a21ce;this[_0x34fcb3(0x460)]['has'](_0x34fcb3(0x302))||this['disposeWithMe'](this[_0x34fcb3(0x460)][_0x34fcb3(0x3b8)]({'ObjectLayersIcon':_0x829491})),this[_0x34fcb3(0x460)][_0x34fcb3(0x3c6)](_0x34fcb3(0x346))||this[_0x34fcb3(0x4c4)](this[_0x34fcb3(0x460)][_0x34fcb3(0x3b8)]({'FlipHorizontalIcon':_0x3e2952})),this[_0x34fcb3(0x460)][_0x34fcb3(0x3c6)](_0x34fcb3(0x220))||this['disposeWithMe'](this['_iconManager'][_0x34fcb3(0x3b8)]({'FlipVerticalIcon':_0xd31e07})),this[_0x34fcb3(0x460)]['has'](_0x34fcb3(0x2ae))||this[_0x34fcb3(0x4c4)](this[_0x34fcb3(0x460)][_0x34fcb3(0x3b8)]({'BottomIcon':_0x5d5b89})),this['_iconManager'][_0x34fcb3(0x3c6)]('MoveDownIcon')||this['disposeWithMe'](this['_iconManager']['register']({'MoveDownIcon':_0x2fde21})),this[_0x34fcb3(0x460)]['has'](_0x34fcb3(0x46f))||this[_0x34fcb3(0x4c4)](this['_iconManager']['register']({'MoveUpIcon':_0x560c8a})),this[_0x34fcb3(0x460)]['has']('ShapeFormatSettingIcon')||this[_0x34fcb3(0x4c4)](this['_iconManager']['register']({'ShapeFormatSettingIcon':_0x557122})),this[_0x34fcb3(0x460)][_0x34fcb3(0x3c6)](_0x34fcb3(0x2a7))||this[_0x34fcb3(0x4c4)](this[_0x34fcb3(0x460)][_0x34fcb3(0x3b8)]({'TopmostIcon':_0x4aa8d7}));}[_0x1a21ce(0x1ca)](){const _0x6398ca=_0x1a21ce;this[_0x6398ca(0x4c4)](this['_componentManager'][_0x6398ca(0x3b8)](_0x454d12,_0x321498)),this['disposeWithMe'](this['_componentManager'][_0x6398ca(0x3b8)](_0x56bb7a,_0x5f03c9)),this[_0x6398ca(0x4c4)](this[_0x6398ca(0x1f7)][_0x6398ca(0x3b8)](_0x116576,_0x52aff6)),this[_0x6398ca(0x4c4)](this['_componentManager'][_0x6398ca(0x3b8)](_0x4a940a,_0x4dc294)),this[_0x6398ca(0x1f7)][_0x6398ca(0x43a)](_0x11fb86[_0x6398ca(0x1ee)])||this[_0x6398ca(0x4c4)](this[_0x6398ca(0x1f7)]['register'](_0x11fb86[_0x6398ca(0x1ee)],_0x5d1131)),this[_0x6398ca(0x4c4)](this['_componentManager']['register'](_0x1931aa,_0x1b59f7)),this[_0x6398ca(0x4c4)](this[_0x6398ca(0x1f7)][_0x6398ca(0x3b8)](_0x47e237,_0xf36676)),this[_0x6398ca(0x4c4)](this[_0x6398ca(0x1f7)][_0x6398ca(0x3b8)](_0x55b4e5,_0x1c6931)),this[_0x6398ca(0x4c4)](this[_0x6398ca(0x1f7)][_0x6398ca(0x3b8)](_0x330cdf,_0x44850f)),this[_0x6398ca(0x4c4)](this['_componentManager']['register'](_0x501bd1,_0x2df28d)),this[_0x6398ca(0x4c4)](this[_0x6398ca(0x1f7)]['register'](_0x4da57b,_0x3ed8c6['ShapeTextFloatToolbar'])),this[_0x6398ca(0x4c4)](this[_0x6398ca(0x1f7)][_0x6398ca(0x3b8)]('SheetShapeTextEditorContainer',_0x48f7c2));}};_0x4c97be=_0x3f6514([_0x4512b4(0x0,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x416351['ComponentManager'])),_0x4512b4(0x1,(0x0,_0x5cf0ce['Inject'])(_0x416351[_0x1a21ce(0x1a6)]))],_0x4c97be);let _0x43a88a=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x44d419,_0x2f087b,_0x44d4a7,_0x8349cf,_0x202294,_0x3643a9,_0x4c8227,_0x25fe3f,_0x2c8fb9){const _0x51c790=_0x1a21ce;super();let _0x1fe108=_0x1327bc=>{const _0x7560b=_0x1cfe;var _0x452a3c,_0x5aee1b;return(((_0x452a3c=_0x25fe3f[_0x7560b(0x19f)](new _0xdab3fa[(_0x7560b(0x1cf))](_0x1327bc[_0x7560b(0x197)])['id']))==null?void 0x0:_0x452a3c[_0x7560b(0x2f5)])??!0x0)&&(((_0x5aee1b=_0x25fe3f[_0x7560b(0x19f)](new _0xdab3fa[(_0x7560b(0x30c))](_0x1327bc['unitId'],_0x1327bc[_0x7560b(0x4b3)])['id']))==null?void 0x0:_0x5aee1b[_0x7560b(0x2f5)])??!0x0);},_0x3f6669=_0x33ff48=>_0x33ff48['shapeId']&&_0x1fe108(_0x33ff48)?_0x44d4a7[_0x51c790(0x23d)](_0x33ff48[_0x51c790(0x197)],_0x33ff48[_0x51c790(0x4b3)],_0x33ff48[_0x51c790(0x1b1)])??null:null,_0xbd91ef=()=>{const _0x54d241=_0x51c790;let _0x28d758=_0x202294[_0x54d241(0x314)](),_0x26580b=_0x28d758[_0x54d241(0x38a)]===0x1?_0x28d758[0x0]:null;return(_0x26580b==null?void 0x0:_0x26580b['drawingType'])===_0x5cf0ce[_0x54d241(0x1c1)][_0x54d241(0x33f)]&&_0x26580b[_0x54d241(0x197)]===_0x44d419[_0x54d241(0x197)]?{'unitId':_0x26580b[_0x54d241(0x197)],'subUnitId':_0x26580b[_0x54d241(0x4b3)],'shapeId':_0x26580b['drawingId']}:null;};this[_0x51c790(0x4c4)]((0x0,_0x3ed8c6['registerShapeFormatPainter'])(_0x44d419,_0x2f087b,{'changes$':(0x0,_0x4cb228[_0x51c790(0x276)])(_0x202294['focus$'],_0x8349cf[_0x51c790(0x326)],_0x25fe3f['permissionPointUpdate$']),'isActive':()=>{const _0x46f98e=_0x51c790;var _0x348012;return((_0x348012=_0x3643a9[_0x46f98e(0x3a1)]())==null?void 0x0:_0x348012[_0x46f98e(0x290)]())===_0x44d419['unitId']&&!_0x4c8227[_0x46f98e(0x4bc)](_0x5cf0ce['FOCUSING_SHAPE_TEXT_EDITOR'])&&_0x202294[_0x46f98e(0x314)]()[_0x46f98e(0x25a)](_0x1a23ac=>_0x1a23ac['unitId']===_0x44d419[_0x46f98e(0x197)]);},'getSelectedTarget':_0xbd91ef,'getSource':()=>{let _0x3a7bea=_0xbd91ef();return _0x3a7bea?_0x3f6669(_0x3a7bea):null;},'getTarget':_0x32e30b=>{const _0x5ddd1d=_0x51c790;let _0x4d5bb5=_0x44d419['scene'][_0x5ddd1d(0x181)](new _0x4413bb['Vector2'](_0x32e30b[_0x5ddd1d(0x17f)],_0x32e30b[_0x5ddd1d(0x27c)]));if(!(_0x4d5bb5 instanceof _0x4d7701))return null;let _0x12f99b={'unitId':_0x44d419[_0x5ddd1d(0x197)],'subUnitId':_0x4d5bb5[_0x5ddd1d(0x4b3)],'shapeId':_0x4d5bb5[_0x5ddd1d(0x1b1)]};return _0x1fe108(_0x12f99b)?_0x12f99b:null;},'getShape':_0x3f6669,'update':(_0x4eb64c,_0x39eabe,_0x56f17b)=>_0x2c8fb9[_0x51c790(0x2af)](_0x25f5b2['id'],{..._0x4eb64c,'shapeData':_0x56f17b,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x39eabe}})}));}};_0x43a88a=_0x3f6514([_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x416351[_0x1a21ce(0x216)])),_0x4512b4(0x2,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x34e612['SheetsShapeService'])),_0x4512b4(0x3,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x46b0ec)),_0x4512b4(0x4,_0x2a2438[_0x1a21ce(0x3e4)]),_0x4512b4(0x5,_0x5cf0ce[_0x1a21ce(0x1d2)]),_0x4512b4(0x6,_0x5cf0ce[_0x1a21ce(0x2bb)]),_0x4512b4(0x7,_0x5cf0ce[_0x1a21ce(0x1e5)]),_0x4512b4(0x8,_0x5cf0ce[_0x1a21ce(0x311)])],_0x43a88a);let _0x482d5f=_0x1a21ce(0x23c),_0x2c9918=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x321fe5,_0x5ba9a5,_0x511fa5,_0xb0034f,_0x1073de,_0x568dcf){const _0x246faf=_0x1a21ce;super(),this['_menuManagerService']=_0x321fe5,this['_ribbonService']=_0x5ba9a5,this['_drawingManagerService']=_0x511fa5,this[_0x246faf(0x2d5)]=_0xb0034f,this[_0x246faf(0x411)]=_0x1073de,this[_0x246faf(0x4cb)]=_0x568dcf,_0x339d5f(this,'_visible',!0x1),this[_0x246faf(0x4a0)][_0x246faf(0x339)](_0x2bcfb6),this['disposeWithMe']((0x0,_0x5cf0ce[_0x246faf(0xff)])(this[_0x246faf(0x383)][_0x246faf(0x28c)][_0x246faf(0x3e7)](()=>this[_0x246faf(0x304)]()))),this[_0x246faf(0x304)]();}['dispose'](){const _0x386609=_0x1a21ce;this[_0x386609(0x4cb)]['setFallbackVisible'](!0x1,_0x482d5f),this['_hide'](),super[_0x386609(0x351)]();}[_0x1a21ce(0x304)](){const _0x4854ca=_0x1a21ce;var _0x23e6e3;let _0x45ecbd=this[_0x4854ca(0x383)]['getFocusDrawings'](),_0xf25ffb=_0x45ecbd[_0x4854ca(0x38a)]===0x1?_0x45ecbd[0x0]:void 0x0;if((_0xf25ffb==null?void 0x0:_0xf25ffb[_0x4854ca(0x497)])!==_0x5cf0ce['DrawingTypeEnum'][_0x4854ca(0x33f)]||this[_0x4854ca(0x2d5)]['getUnitType'](_0xf25ffb[_0x4854ca(0x197)])!==_0x5cf0ce[_0x4854ca(0x21e)]['UNIVER_SHEET']){this[_0x4854ca(0x4cb)][_0x4854ca(0x2f7)](!0x1,_0x482d5f),this[_0x4854ca(0x2c7)]();return;}let _0x580669=(_0x23e6e3=this[_0x4854ca(0x411)]['getRenderUnitById'](_0xf25ffb[_0x4854ca(0x197)]))==null?void 0x0:_0x23e6e3[_0x4854ca(0x4b9)][_0x4854ca(0x36c)](),_0x2379de=(0x0,_0x3ed8c6[_0x4854ca(0x14c)])(_0x580669)===_0x4854ca(0x2cb);this[_0x4854ca(0x4cb)]['setFallbackVisible'](_0x2379de,_0x482d5f),_0x2379de?this['_hide']():this[_0x4854ca(0x250)]||(this['_visible']=!0x0,this[_0x4854ca(0x1ac)][_0x4854ca(0x13d)](_0x1e91c2,{'activate':!0x0}));}[_0x1a21ce(0x2c7)](){const _0x15f26f=_0x1a21ce;this[_0x15f26f(0x250)]&&(this['_visible']=!0x1,this[_0x15f26f(0x1ac)]['hideContextualTab'](_0x1e91c2),this[_0x15f26f(0x1ac)][_0x15f26f(0x406)]([]));}};_0x2c9918=_0x3f6514([_0x4512b4(0x0,_0x416351['IMenuManagerService']),_0x4512b4(0x1,_0x416351['IRibbonService']),_0x4512b4(0x2,_0x2a2438[_0x1a21ce(0x3e4)]),_0x4512b4(0x3,_0x5cf0ce['IUniverInstanceService']),_0x4512b4(0x4,_0x4413bb[_0x1a21ce(0x399)]),_0x4512b4(0x5,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x3ed8c6[_0x1a21ce(0x483)]))],_0x2c9918);let _0xceb7ba=class extends _0x3ed8c6[_0x1a21ce(0x3e3)]{constructor(_0x56ea56,_0x48d513,_0x2faca4,_0x1c23f3,_0x20c19b,_0x11c396,_0x24a0af,_0xb5b296,_0xcc47a4,_0x1ffaab){super(_0x56ea56,_0x48d513,_0x2faca4,_0x1c23f3,_0x20c19b,_0x11c396,_0x24a0af,_0xb5b296,_0xcc47a4,_0x1ffaab,{'componentKey':_0x4da57b,'editorUnitId':_0x4a60e9});}};_0xceb7ba=_0x3f6514([_0x4512b4(0x1,(0x0,_0x5cf0ce['Inject'])(_0x193e85[_0x1a21ce(0x11a)])),_0x4512b4(0x2,(0x0,_0x5cf0ce['Inject'])(_0x26442e[_0x1a21ce(0x13a)])),_0x4512b4(0x3,(0x0,_0x5cf0ce['Inject'])(_0x26442e[_0x1a21ce(0x355)])),_0x4512b4(0x4,_0x5cf0ce['ICommandService']),_0x4512b4(0x5,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x26442e[_0x1a21ce(0x309)])),_0x4512b4(0x6,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x3ed8c6[_0x1a21ce(0x3e1)])),_0x4512b4(0x7,(0x0,_0x5cf0ce['Inject'])(_0x193e85[_0x1a21ce(0x4a5)])),_0x4512b4(0x8,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x26442e['DocRenderController'])),_0x4512b4(0x9,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x46b0ec))],_0xceb7ba);let _0x2b87c7=class extends _0x3ed8c6[_0x1a21ce(0x420)]{constructor(_0x58d5f1,_0x2f79dd,_0x102c42,_0x4bbc65,_0x2ecea8){const _0x56dec7=_0x1a21ce;super(_0x58d5f1,_0x2f79dd,{'editing$':_0x102c42['editingParams$'],'resolve':_0x46290a=>{const _0xa3a241=_0x1cfe;var _0x30d4e5,_0x547f9f,_0x13a1e1;let _0x2d5389=new _0x4413bb['Vector2'](_0x46290a['offsetX'],_0x46290a['offsetY']),_0x15c512=((_0x30d4e5=_0x58d5f1[_0xa3a241(0x2d7)][_0xa3a241(0x253)](_0x2d5389))==null?void 0x0:_0x30d4e5[_0xa3a241(0x2d9)](_0x2d5389))??_0x2d5389,_0x51a8b1=(0x0,_0x3ed8c6['resolveShapeTextHyperLinkObject'])(_0x58d5f1[_0xa3a241(0x2d7)][_0xa3a241(0x181)](_0x2d5389)??null,_0x15c512);if(!(_0x51a8b1 instanceof _0x4d7701))return null;let _0x36c5ae=_0x51a8b1[_0xa3a241(0x45b)](_0x15c512);if(!_0x36c5ae)return null;let _0x16f28e=_0x51a8b1,_0x10bd90={'componentKey':_0x3ed8c6[_0xa3a241(0xdf)][_0xa3a241(0x27a)],'direction':_0xa3a241(0x2a4),'offset':[0x0,0xa],'onClickOutside':()=>_0x2f79dd[_0xa3a241(0x16c)]()};return{'object':_0x51a8b1,'info':{..._0x36c5ae,'unitId':_0x51a8b1[_0xa3a241(0x197)],'subUnitId':_0x51a8b1['subUnitId'],'shapeKey':_0x51a8b1[_0xa3a241(0x30b)],'readonly':!0x0,'copyable':((_0x547f9f=_0x2ecea8[_0xa3a241(0x19f)](new _0xdab3fa[(_0xa3a241(0x1e4))](_0x51a8b1[_0xa3a241(0x197)])['id']))==null?void 0x0:_0x547f9f[_0xa3a241(0x2f5)])!==!0x1&&((_0x13a1e1=_0x2ecea8[_0xa3a241(0x19f)](new _0xdab3fa['WorksheetCopyPermission'](_0x51a8b1[_0xa3a241(0x197)],_0x51a8b1['subUnitId'])['id']))==null?void 0x0:_0x13a1e1[_0xa3a241(0x2f5)])!==!0x1},'attachPopup':()=>_0x4bbc65[_0xa3a241(0x1f6)](_0x16f28e,_0x10bd90)};}}),this[_0x56dec7(0x4c4)](_0x58d5f1[_0x56dec7(0x10f)]['activeSheet$'][_0x56dec7(0x3e7)](()=>this[_0x56dec7(0x2c6)]()));}};_0x2b87c7=_0x3f6514([_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x3ed8c6[_0x1a21ce(0x3e1)])),_0x4512b4(0x2,(0x0,_0x5cf0ce['Inject'])(_0x46b0ec)),_0x4512b4(0x3,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x3e532c[_0x1a21ce(0x199)])),_0x4512b4(0x4,_0x5cf0ce[_0x1a21ce(0x1e5)])],_0x2b87c7);let _0x29f7ba=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x581def,_0x1b5b92,_0x2c9b15,_0x332f84,_0x3bfa83,_0x2434c7,_0x121767,_0x2aba40,_0x3f014f,_0x2e4a27,_0x31bfad){const _0x254e8a=_0x1a21ce;super(),this['_univerInstanceService']=_0x581def,this['_sidebarService']=_0x1b5b92,this[_0x254e8a(0x4a0)]=_0x2c9b15,this[_0x254e8a(0x23a)]=_0x332f84,this[_0x254e8a(0x438)]=_0x3bfa83,this[_0x254e8a(0x378)]=_0x2434c7,this['_drawingManagerService']=_0x121767,this[_0x254e8a(0x191)]=_0x2aba40,this[_0x254e8a(0x1d7)]=_0x3f014f,this[_0x254e8a(0x411)]=_0x2e4a27,this[_0x254e8a(0x2ea)]=_0x31bfad,_0x339d5f(this,_0x254e8a(0x3bd),null),_0x339d5f(this,_0x254e8a(0x312),null),_0x339d5f(this,_0x254e8a(0x487),!0x1),_0x339d5f(this,_0x254e8a(0x48c),0x0),_0x339d5f(this,_0x254e8a(0x128),null),_0x339d5f(this,_0x254e8a(0x3a8),[]),this['_initMenu'](),this['disposeWithMe'](this['_univerInstanceService'][_0x254e8a(0x17a)](_0x5cf0ce['UniverInstanceType']['UNIVER_SHEET'])[_0x254e8a(0x3e7)](_0x2a81d5=>{const _0x37e4fe=_0x254e8a;if(!_0x2a81d5){var _0xf686ea;(_0xf686ea=this[_0x37e4fe(0x3bd)])==null||_0xf686ea[_0x37e4fe(0x351)]();}})),this['_registerOperations'](),this['initShapePopupMenu'](),this[_0x254e8a(0x4c4)](this[_0x254e8a(0x2ea)][_0x254e8a(0x326)][_0x254e8a(0x3e7)](_0xa2137d=>{const _0x190998=_0x254e8a;_0xa2137d&&this[_0x190998(0x257)]();}));}['_initMenu'](){const _0x24f0b1=_0x1a21ce;this[_0x24f0b1(0x4a0)]['mergeMenu'](_0x54229f);}[_0x1a21ce(0x27b)](){const _0x4e275e=_0x1a21ce;this[_0x4e275e(0x128)]||=this[_0x4e275e(0x4c4)]((0x0,_0x3ed8c6[_0x4e275e(0x467)])(this['_renderManagerService'],_0x5cf0ce[_0x4e275e(0x21e)][_0x4e275e(0x3a3)],_0x2cb4a2=>this[_0x4e275e(0x14f)](_0x2cb4a2)));}['_getShapeInfo'](_0x45e076,_0x208fb4,_0x48f132){const _0x53cece=_0x1a21ce;let _0x2fd579=this[_0x53cece(0x23a)]['getShapeTypeById'](_0x45e076,_0x208fb4,_0x48f132),_0x3328d8=this[_0x53cece(0x23a)][_0x53cece(0x23d)](_0x45e076,_0x208fb4,_0x48f132);return _0x2fd579!==void 0x0&&_0x3328d8!==void 0x0?{'shapeData':_0x3328d8,'shapeId':_0x48f132,'shapeType':_0x2fd579,'unitId':_0x45e076,'subUnitId':_0x208fb4,'version':this['_shapeEditPanelVersion'],'disableShapeOption':!0x1}:null;}[_0x1a21ce(0x257)](){const _0x182fe6=_0x1a21ce;this['_disposePopups'][_0x182fe6(0x123)](_0x40c480=>_0x40c480[_0x182fe6(0x351)]()),this['_disposePopups'][_0x182fe6(0x38a)]=0x0;}[_0x1a21ce(0x14f)](_0x3d8186){const _0x1219c3=_0x1a21ce;let _0x1b5e69=new _0x5cf0ce[(_0x1219c3(0x35b))]();return _0x1b5e69[_0x1219c3(0x36d)](_0x3d8186['createControl$'][_0x1219c3(0x3e7)](()=>{const _0x5dd2ff=_0x1219c3;let _0x79e7b8=_0x3d8186[_0x5dd2ff(0x103)]();if(this[_0x5dd2ff(0x257)](),this[_0x5dd2ff(0x487)]||_0x79e7b8['size']>0x1)return;let _0x89e779=_0x79e7b8[_0x5dd2ff(0x3da)]()['next']()['value'];if(!_0x89e779)return;let _0xbb6ac1=this[_0x5dd2ff(0x383)][_0x5dd2ff(0x372)](_0x89e779[_0x5dd2ff(0x30b)]);if(!_0xbb6ac1||_0xbb6ac1[_0x5dd2ff(0x497)]!==_0x5cf0ce['DrawingTypeEnum'][_0x5dd2ff(0x33f)])return;let {unitId:_0x22d157,subUnitId:_0x4baaa6,drawingId:_0x118e97,drawingType:_0x51b18c}=_0xbb6ac1,_0x4007f3=this[_0x5dd2ff(0x47e)](_0x22d157,_0x4baaa6,_0x118e97);if(!_0x4007f3)return;this[_0x5dd2ff(0x1d7)][_0x5dd2ff(0x1fa)](_0x5cf0ce[_0x5dd2ff(0x2ad)],!0x0);let _0x59b159=this[_0x5dd2ff(0x411)][_0x5dd2ff(0x3ce)](_0x22d157),_0x39cb33=((_0x59b159==null?void 0x0:_0x59b159[_0x5dd2ff(0x101)])===!0x1?_0x59b159[_0x5dd2ff(0x18b)](_0x3e532c[_0x5dd2ff(0x199)]):this[_0x5dd2ff(0x191)])[_0x5dd2ff(0x1f6)](_0x89e779,{'componentKey':_0x1931aa,'direction':_0x5dd2ff(0x174),'offset':[0x0,_0x3ed8c6['SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET']],'extraProps':{'unitId':_0x22d157,'subUnitId':_0x4baaa6,'drawingId':_0x118e97,'drawingType':_0x51b18c,'shapeType':_0x4007f3[_0x5dd2ff(0xde)],'shapeData':_0x4007f3[_0x5dd2ff(0x476)]}});this[_0x5dd2ff(0x3a8)]['push'](this[_0x5dd2ff(0x4c4)](_0x39cb33)),this[_0x5dd2ff(0x383)][_0x5dd2ff(0x314)]()[_0x5dd2ff(0x169)](_0x46b7ea=>_0x46b7ea['unitId']===_0x22d157&&_0x46b7ea[_0x5dd2ff(0x4b3)]===_0x4baaa6&&_0x46b7ea[_0x5dd2ff(0x1f5)]===_0x118e97)||this[_0x5dd2ff(0x383)][_0x5dd2ff(0x149)]([{'unitId':_0x22d157,'subUnitId':_0x4baaa6,'drawingId':_0x118e97}]);})),_0x1b5e69[_0x1219c3(0x36d)](_0x3d8186['clearControl$']['subscribe'](()=>{const _0x1b442c=_0x1219c3;this['_clearPopups'](),this['_contextService'][_0x1b442c(0x1fa)](_0x5cf0ce[_0x1b442c(0x2ad)],!0x1),this[_0x1b442c(0x383)][_0x1b442c(0x149)](null);})),_0x1b5e69['add'](_0x3d8186[_0x1219c3(0x4ab)][_0x1219c3(0x3e7)](()=>{this['_clearPopups']();})),_0x1b5e69[_0x1219c3(0x36d)](_0x3d8186[_0x1219c3(0x3f9)]['subscribe'](()=>{const _0x5922f3=_0x1219c3;this[_0x5922f3(0x257)]();})),(0x0,_0x5cf0ce['toDisposable'])(()=>{const _0x42ff79=_0x1219c3;_0x1b5e69[_0x42ff79(0x351)](),this[_0x42ff79(0x257)]();});}['_registerOperations'](){const _0x192f2d=_0x1a21ce;this[_0x192f2d(0x4c4)](this['_commandService'][_0x192f2d(0x30f)](_0x4f44fb=>{const _0x30b6ac=_0x192f2d;if(_0x4f44fb['id']===_0x212f1d['id']){let {unitId:_0x40292e,subUnitId:_0x4824b1,drawingId:_0x343369}=_0x4f44fb[_0x30b6ac(0x46d)];this[_0x30b6ac(0x48c)]+=0x1,this[_0x30b6ac(0x312)]=this[_0x30b6ac(0x47e)](_0x40292e,_0x4824b1,_0x343369),this['_clearPopups'](),this[_0x30b6ac(0x3b6)]();}if(_0x4f44fb['id']===_0x1641ed['id']&&(this[_0x30b6ac(0x312)]=null,this[_0x30b6ac(0x1f1)]()),_0x4f44fb['id']===_0x34e612[_0x30b6ac(0x426)]['id']){let {unitId:_0xd79a37,subUnitId:_0x306e53,shapeId:_0x2542bb}=_0x4f44fb[_0x30b6ac(0x46d)];if(this[_0x30b6ac(0x312)]&&this[_0x30b6ac(0x312)]['shapeId']===_0x2542bb){let _0x335edc=this['_getShapeInfo'](_0xd79a37,_0x306e53,_0x2542bb);_0x335edc&&(this[_0x30b6ac(0x48c)]+=0x1,_0x335edc[_0x30b6ac(0x176)]=this[_0x30b6ac(0x48c)],this[_0x30b6ac(0x312)]=_0x335edc,this[_0x30b6ac(0x487)]&&this[_0x30b6ac(0x3b6)]());}}})),this[_0x192f2d(0x4c4)](this[_0x192f2d(0x383)][_0x192f2d(0x28c)][_0x192f2d(0x3e7)](_0x449a12=>{const _0x14d753=_0x192f2d;if(this['_isOpenedShapeEditPanel']===!0x1)return;if(_0x449a12['length']===0x0){this['_activeShapeInfo']=null,this[_0x14d753(0x1f1)]();return;}if(_0x449a12[_0x14d753(0x38a)]===0x1&&_0x449a12[0x0]['drawingType']===_0x5cf0ce[_0x14d753(0x1c1)]['DRAWING_SHAPE']&&(this[_0x14d753(0x48c)]+=0x1,this[_0x14d753(0x312)]=this[_0x14d753(0x47e)](_0x449a12[0x0][_0x14d753(0x197)],_0x449a12[0x0][_0x14d753(0x4b3)],_0x449a12[0x0][_0x14d753(0x1f5)]),this['_activeShapeInfo'])){this[_0x14d753(0x3b6)]();return;}let _0x136aa3=_0x449a12[_0x14d753(0x431)](_0x2b5b50=>_0x2b5b50['drawingType']===_0x5cf0ce[_0x14d753(0x1c1)][_0x14d753(0x33f)]);if(_0x449a12['length']>0x1&&_0x136aa3['length']===_0x449a12[_0x14d753(0x38a)]){if(this[_0x14d753(0x48c)]+=0x1,this['_activeShapeInfo']=this[_0x14d753(0x47e)](_0x449a12[0x0][_0x14d753(0x197)],_0x449a12[0x0][_0x14d753(0x4b3)],_0x449a12[0x0][_0x14d753(0x1f5)]),this[_0x14d753(0x312)]){this['_openShapeEditPanel']();return;}}else{if(this[_0x14d753(0x48c)]+=0x1,this[_0x14d753(0x312)]=this[_0x14d753(0x47e)](_0x449a12[0x0][_0x14d753(0x197)],_0x449a12[0x0]['subUnitId'],_0x449a12[0x0][_0x14d753(0x1f5)]),this[_0x14d753(0x312)]){this[_0x14d753(0x312)][_0x14d753(0x42c)]=!0x0,this[_0x14d753(0x3b6)]();return;}}this[_0x14d753(0x1f1)]();}));}[_0x1a21ce(0x3b6)](){const _0x2b2537=_0x1a21ce;this[_0x2b2537(0x312)]&&(this[_0x2b2537(0x3bd)]=this['_sidebarService']['open']({'id':_0x454d12,'header':{'title':this[_0x2b2537(0x438)]['t']('sheets-shape-ui.formatShape')},'width':0x184,'children':{'label':_0x454d12,...this[_0x2b2537(0x312)]},'onClose':()=>{const _0x1b585e=_0x2b2537;this[_0x1b585e(0x383)][_0x1b585e(0x149)](null),this['_contextService'][_0x1b585e(0x1fa)](_0x5cf0ce[_0x1b585e(0x2ad)],!0x1),this[_0x1b585e(0x3bd)]=null;}}),this[_0x2b2537(0x487)]=!0x0);}[_0x1a21ce(0x1f1)](){const _0x13a588=_0x1a21ce;this[_0x13a588(0x487)]=!0x1,this[_0x13a588(0x17c)][_0x13a588(0x1b2)](_0x454d12),this[_0x13a588(0x3bd)]=null,this[_0x13a588(0x1d7)][_0x13a588(0x1fa)](_0x5cf0ce[_0x13a588(0x2ad)],!0x1),this['_drawingManagerService']['focusDrawing'](null);}};_0x29f7ba=_0x3f6514([_0x4512b4(0x0,_0x5cf0ce[_0x1a21ce(0x1d2)]),_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x416351[_0x1a21ce(0x3bb)])),_0x4512b4(0x2,_0x416351[_0x1a21ce(0x46b)]),_0x4512b4(0x3,(0x0,_0x5cf0ce['Inject'])(_0x34e612['SheetsShapeService'])),_0x4512b4(0x4,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x5cf0ce['LocaleService'])),_0x4512b4(0x5,_0x5cf0ce[_0x1a21ce(0x311)]),_0x4512b4(0x6,_0x2a2438[_0x1a21ce(0x3e4)]),_0x4512b4(0x7,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x3e532c[_0x1a21ce(0x199)])),_0x4512b4(0x8,_0x5cf0ce[_0x1a21ce(0x2bb)]),_0x4512b4(0x9,_0x4413bb['IRenderManagerService']),_0x4512b4(0xa,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x46b0ec))],_0x29f7ba);let _0x11f9b0=class extends _0x5cf0ce[_0x1a21ce(0x494)]{constructor(_0x4bbdb4=_0x141627,_0x134ff9,_0x293e31,_0x5eeaec,_0x3d5f3e){const _0x58c354=_0x1a21ce;super(),this[_0x58c354(0x196)]=_0x4bbdb4,this[_0x58c354(0x451)]=_0x134ff9,this['_commandService']=_0x293e31,this[_0x58c354(0x3d3)]=_0x5eeaec,this[_0x58c354(0x411)]=_0x3d5f3e;let {..._0x4f6217}=(0x0,_0x5cf0ce[_0x58c354(0x276)])({},_0x141627,this[_0x58c354(0x196)]);this[_0x58c354(0x3d3)][_0x58c354(0x425)](_0x3f4761,_0x4f6217),this[_0x58c354(0xe2)]();}['onRendered'](){const _0xf8aa30=_0x1a21ce;this['_renderManagerService'][_0xf8aa30(0x39f)](_0x5cf0ce[_0xf8aa30(0x21e)][_0xf8aa30(0x32e)],[_0xceb7ba]),(0x0,_0x5cf0ce['touchDependencies'])(this[_0xf8aa30(0x451)],[[_0x29f7ba],[_0x4f13f1],[_0x251705],[_0xd9aa70]]);}[_0x1a21ce(0x155)](){const _0xb75ad3=_0x1a21ce;this[_0xb75ad3(0x451)]['get'](_0x29f7ba)[_0xb75ad3(0x27b)]();}[_0x1a21ce(0x40a)](){const _0x49f780=_0x1a21ce;[[_0x1992a8],[_0x5f5333],[_0x4bbe2f]][_0x49f780(0x123)](_0x18be56=>this[_0x49f780(0x451)][_0x49f780(0x36d)](_0x18be56)),(0x0,_0x5cf0ce[_0x49f780(0x323)])(this[_0x49f780(0x451)],[[_0x4bbe2f],[_0x5f5333]]),this[_0x49f780(0x411)][_0x49f780(0x39f)](_0x5cf0ce['UniverInstanceType']['UNIVER_SHEET'],[_0x1992a8]),this[_0x49f780(0x411)][_0x49f780(0x39f)](_0x5cf0ce[_0x49f780(0x21e)][_0x49f780(0x3a3)],[_0x360356]),this[_0x49f780(0x411)][_0x49f780(0x39f)](_0x5cf0ce[_0x49f780(0x21e)][_0x49f780(0x3a3)],[_0x380bd1]),this[_0x49f780(0x411)][_0x49f780(0x39f)](_0x5cf0ce[_0x49f780(0x21e)][_0x49f780(0x3a3)],[_0x3505a0]),this[_0x49f780(0x4c4)](this['_renderManagerService'][_0x49f780(0x39f)](_0x5cf0ce['UniverInstanceType'][_0x49f780(0x3a3)],[_0x2b87c7])),this[_0x49f780(0x4c4)](this[_0x49f780(0x411)][_0x49f780(0x39f)](_0x5cf0ce[_0x49f780(0x21e)]['UNIVER_SHEET'],[_0x43a88a]));}[_0x1a21ce(0x152)](){const _0x450ec7=_0x1a21ce;this[_0x450ec7(0x451)][_0x450ec7(0x36d)]([_0x4c97be]),this[_0x450ec7(0x451)][_0x450ec7(0x170)](_0x4c97be);let _0xdcfdee=this[_0x450ec7(0x451)];[[_0x29f7ba],[_0x4f13f1],[_0x251705],[_0xd9aa70],[_0x1451da],[_0x46b0ec],[_0x5819ea],[_0x133380],[_0x56da88],[_0x2c9918]]['forEach'](_0x3e5e0e=>_0xdcfdee['add'](_0x3e5e0e)),(0x0,_0x5cf0ce[_0x450ec7(0x323)])(this[_0x450ec7(0x451)],[[_0x29f7ba],[_0x4f13f1],[_0x251705],[_0x1451da],[_0x46b0ec],[_0x5819ea],[_0x133380],[_0x56da88],[_0x2c9918]]);}[_0x1a21ce(0xe2)](){const _0x422174=_0x1a21ce;[_0x224af7,_0x25f5b2,_0x1641ed,_0x212f1d,_0x106220,_0x1bb1ad,_0x325d8a,_0x684ce2]['forEach'](_0x306d2d=>this[_0x422174(0x4c4)](this['_commandService']['registerCommand'](_0x306d2d)));}};_0x339d5f(_0x11f9b0,'type',_0x5cf0ce[_0x1a21ce(0x21e)]['UNIVER_SHEET']),_0x339d5f(_0x11f9b0,_0x1a21ce(0x262),'SHEET_SHAPE_UI_PLUGIN'),_0x339d5f(_0x11f9b0,_0x1a21ce(0x3aa),_0x6f3664),_0x339d5f(_0x11f9b0,_0x1a21ce(0x176),_0x46f9c2),_0x11f9b0=_0x3f6514([(0x0,_0x5cf0ce[_0x1a21ce(0x219)])(_0x3d331c[_0x1a21ce(0x3c2)],_0x193e85[_0x1a21ce(0x4ba)],_0x2a2438[_0x1a21ce(0xfa)],_0x11fb86[_0x1a21ce(0x150)],_0x4413bb[_0x1a21ce(0x316)],_0xdab3fa[_0x1a21ce(0x389)],_0x26442e[_0x1a21ce(0x2c5)],_0x57dfd6[_0x1a21ce(0x233)],_0x1b3552['UniverShapeEditorPlugin'],_0x22ea8b[_0x1a21ce(0x1fb)],_0x34e612[_0x1a21ce(0x340)],_0x3e532c[_0x1a21ce(0x286)],_0x3ed8c6[_0x1a21ce(0x2f4)]),_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x5cf0ce[_0x1a21ce(0x3c7)])),_0x4512b4(0x2,_0x5cf0ce[_0x1a21ce(0x311)]),_0x4512b4(0x3,_0x5cf0ce[_0x1a21ce(0x452)]),_0x4512b4(0x4,_0x4413bb[_0x1a21ce(0x399)])],_0x11f9b0),_0x22a054[_0x1a21ce(0x305)]=_0x2bcfb6,_0x22a054[_0x1a21ce(0x481)]=_0x54229f,Object[_0x1a21ce(0x401)](_0x22a054,'UniverSheetsShapeMobileUIPlugin',{'enumerable':!0x0,'get':function(){return _0x504be4;}}),Object[_0x1a21ce(0x401)](_0x22a054,'UniverSheetsShapeUIPlugin',{'enumerable':!0x0,'get':function(){return _0x11f9b0;}});}));function _0x4425(){const _0x253f84=['VerticalAlign','getShapeQuickStylePreset','next','getShapeTypeById','max','drawing-ui.objectListPanel.moveForward','IRenderManagerService','_formulaAnimation','_getScrollInfo','React','disconnect','onPointerDown$','registerRenderModule','Observable','getFocusedUnit','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','UNIVER_SHEET','_initSheetChange','Medium','sheet.menu.shape.flip-vertical','ShapeFormatSettingIcon','_disposePopups','transform','packageName','_baseLeft','_highlightedSiteIndex','MenuManagerPosition','CopySheetCommand','SHEET','0\x200\x2017\x2016','3883443noDypA','_currentUniverService','draw','useObservable','actions','_openShapeEditPanel','doc','register','useLayoutEffect','sheets-shape-ui.ribbon.shape-format.formula-control','ISidebarService','use','_sidebarDisposable','error','updateLinePoints','resetCursor','_isStartConnectorPoint','UniverLicensePlugin','fontSize','UniverDrawingUi','onPointerUp$','has','Injector','description','drawWith','run','type','UniverProShapeEditorUi','cxnPointStroke','getRenderUnitById','SHAPE_EDITOR_TRANSFORMER_CONFIG','getViewportByCell','_registerImageShapeClipDelegate','toFixed','_configService','_hyperLinkRegions','_baseShapeHeight','_createShapeAdjustControls','Circle','parseFloat','UniverDesign','values','updateConnectionDetection','drawing-ui.objectListPanel.lockHint','forwardRef','updateDocumentDataMargin','min','permissionCheckWithoutRange','ShapeTextHyperLinkPopupService','onSavingEditorData$','ShapeTextFloatMenuRenderControllerBase','IDrawingManagerService','sheets-shape-ui.shape-format.formula-ribbon-control','adjHandleSize','subscribe','_cxtHandlerPointerUp','react','clip-adj-','isInGroup','ContextMenuGroup','classType','UniverCore','interceptor','getBoundingClientRect','contentVerticalOffset','getAdjustInfoByName','Disposable','_updateAdjustControlPositions','M8\x202.2V3.8','add$','TOP','_isImagePointerDown','changeStart$','round','getMatrix','subscribeEvent','refreshShapeFillImage','_isStartAdjusting','sheetViewStartRow','panel','defineProperty','DocumentSkeleton','@univerjs-pro/shape-editor-ui','jsx','flipX','setCollapsedIds','sheets-shape-ui.ribbon.shape-format.arrange-front','getConnectionInfo','point','onReady','startWith','Vector2','useId','FloatingObjectToolbarPosition','skeleton','ShapeIcon','_renderManagerService','getUnit','from','getDrawingShapeKeyByDrawingSearch','enableObjectsEvent','resolveFormulaShapeAutoFitSize','_attachConnectorObjectEvent','UniverEngineRender','plainShapeTextToDocumentData','HorizontalAlign','UniverProShapeEditor','object','invert','map','stringify','ShapeTextHyperLinkHoverController','_drawRichText','_formulaShapes','_baseShapeWidth','drawFormulaShapeAnimationLayers','setConfig','UpdateSheetsShapeDataMutation','0\x200\x2016\x2016','activateDrawingObject','div','_currentScene','pushUndoRedo','disableShapeOption','GROUP','drawing-ui.objectListPanel.description','getAutoFitPresentations','_calculateFreeEndpointAngle','filter','SheetSkeletonManagerService','updateContext','drawing-ui.objectListPanel.filterLocked','drawing-ui.objectListPanel.sectionFloating','@univerjs/docs-ui','isCurvedConnectorShape','_localeService','_registerFeatureMenu','hasDefault','getConnectionRelation','getMenuHiddenObservable','_setTransForm','sheet.shape.edit.panel','_rerouteConnectorLine','sheet.operation.apply-shape-quick-style','isHorizontal','priority','drawing-ui.objectListPanel.unlockAll','_executeConnectedRouteConnectionCommand','_draw','_copyInfo','_registerDrawingFocusChangeHandler','_props','highlighted','transformToDrawingPosition','setAdjustValueByName','remove$','CROSSHAIR','37830PeeVxE','ShapeQuickStyleGallery','RemoveSheetsShapeMutation','_injector','IConfigService','Image','_updateTransform','useMemo','ShapePickerDropdown','SheetsShapeService','localToWorld','_baseTop','_initPermission','resolveHyperLinkAt','completeEditing','vertical','UniverShapeEditorPlugin','getState','_iconManager','Inject','vectorEffect','drawing-ui.objectListPanel.collapse','getDrawingEditable','react/jsx-runtime','flatMap','bindRenderTransformerLifecycle','getShapeQuickStyleType','composeMatrix','connector-handler-','IMenuManagerService','_shapeService','params','MobileShapeEditorService','MoveUpIcon','BehaviorSubject','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','pipe','interceptCommand','sheets-shape-ui.imagePanel.crop.shape','getCurrentSkeleton','shapeData','_shapeRenderController','createElement','update$','drawing-ui.objectListPanel.expand','_generateCutPasteMutations','SheetScrollManagerService','ToggleSheetsShapeFlipCommand','_getShapeInfo','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','#bcbcbc','SheetsShapeUIMenuSchema','sheets-shape-ui.objectListPanel.title','ShapeFloatingToolbarService','_transform','sheet.menu.shape.flip-horizontal','createShapeTextBoxShapeData','_isOpenedShapeEditPanel','flipY','_getShapeAdjustInfosById','colorChannel1','clearActiveDrawingObjects','_shapeEditPanelVersion','77758jCObZp','selectable','_initEditingParams','_activeImageId','viewportScrollY','Transform','popup','Plugin','UniverIcon','1em','drawingType','_handleFreeEndpointPointerUp','routeConnectorLineShape','M8\x2010.2V11.8','_transformCalculateSrcRect','@univerjs/sheets-drawing','_initialize','getShapeModel','_isDrawingShapePointDown','_menuManagerService','_createControls','getConnectionSiteList','querySelectorAll','UpdateLineShapeResizeCommand','DocInterceptorService','ShapeTypeEnum','src','onload','InsertShapeCommand','ShapeEditPanel','changing$','LocaleService','presentation','fill','clearAdjustControls','sheetViewStartColumn','object-layers-icon','#1a73e8','subUnitId','ShapeFillEnum','REMOVE','_imageShapeClipController','cancelEditing','setShapeProps','engine','UniverDocsPlugin','transformByState','getContextValue','_sheetDrawingService','resolveShapeTextDocumentRenderLayout','shouldClipShapeTextDocument','M8\x206.2V7.8','shape-editor-ui.arrange.front','isDrawingObject','isRenderLinePointsMode','disposeWithMe','@univerjs/design','getBatchAddOp','_getImagePrstGeom','ancestorTransform','_context','move-up-icon','_shapeFloatingToolbarService','rotation','getObjectListPanelSectionIdForDrawingType','SetDrawingApplyMutation','sheets-shape-ui.insertShape','getVisible','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','shapeType','ShapeTextHyperLinkInfo','non-scaling-stroke','UniverSheetsMobileUIPlugin','_initCommands','@univerjs/docs','_handleConnectedEndpointMove','_createCopyInfoByRange','sheets-shape-ui.editText','Shape','iterator','adjName','getZoomRatio','SHAPE_TEXT','sheet.shape.picker.component','isFinite','onPointerMove$','strokeWidth','http://www.w3.org/2000/svg','sheet.operation.update-shape-type','getUnitType','_activeShapeModel','_getConnectPointInfo','getDrawingVisible','drawing-ui.objectListPanel.locate','_connectionSiteObjects','currentAdjustValues','SHEET_SHAPE_UI_PLUGIN','UniverDrawingPlugin','sheets-shape-ui.ribbon.shape-format.text-control','computeConnectorRouteLayout','viewportScrollX','SELECTOR','toDisposable','getCurrentScrollState','isMainScene','_addControl','getSelectedObjectMap','_clearCompletionFrame','shouldAllowShapeTextEditorHostSizeShrink','_drawShapeText','_commandExecutedListener','isLineShape','push','_connectorObjects','UniverSheetsUi','horizontal','_sheetPrintInterceptorService','SHAPE_CHANGE_PICKER_COMPONENT','unit','current','clip','prstGeom','lineShapeId','ISheetDrawingService','UndoRedoGroupService','switchMap','symbol','image-clip-adjust-point-','objects','DocSelectionManagerService','path','sheets-shape-ui.flipVertical','worldPoint','angle','permissionPointUpdate$','SetSheetDrawingCommand','worldRect','_clipService','forEach','sheets-shape-ui.shape-format.text-ribbon-control','ShapeGroupEnum','formulaBinding','cos','_shapePopupMenuDisposable','_getZoomRatio','sheet.command.menu-insert-shape','UniverSheetsDrawing','getBasicShapeRelation','shapeKey','MoveDownIcon','getSheetCommandTarget','string','@univerjs-pro/license','ContextMenuPosition','calcAdjValues','UniverSheetsDrawingUi','_editingParams$','removeProperty','extraProps','sqrt','drawing.operation.set-drawing-active','DocCanvasPopManagerService','_disposed','start','showContextualTab','resolveShapeTextEditorWrapStrategy','sheet.shape.object-list.panel','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','addObject','isEditing','_executeConnectionCommand','drawing-ui.objectListPanel.unlockHint','onDblclick$','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','assign','getRealBound','focusDrawing','DrawingApplyType','copyType','resolveShapeContextualRibbonHostMode','beginPath','FromArray','_popupMenuListener','UniverDrawingUIPlugin','_clearShapeConnectorHandlerObjects','onStarting','set','changeEnd$','onSteady','idMap','_onSavingEditorData$','_drawRichTextLayer','name','unsubscribe','_targetShapeId','40LmdpxE','UniverDrawing','drawing-ui.objectListPanel.sectionCanvas','M6.2\x208H7.8','shape-editor-ui.toolbar.quickStyles','_getImageDrawingInfo','localName','RENDER_CLASS_TYPE','refreshAdjustControls','animationEnabled','srcRect','multiply','ConnectorCoordinateTransform','find','buildClipPath','abs','hideInfoPopup','startX','VIEW_MAIN','buildShapeTextDataUpdate','get','_baseHeight','_init','OPERATION','vertical-center','VIEW_MAIN_TOP','version','cxnPointRadius','clipTop','_executeConnectedRouteResizeCommand','getCurrentTypeOfUnit$','_drawSimpleText','_sidebarService','originalStrokeWidth','getTransformerByCreate','offsetX','_isConnecting','pick','getCurrentLastSelection','_insertingShapeKeys','sheet.shape.text.float-menu','drawing-ui.objectListPanel.name','parse','_hasReset','_sheetDrawingShapeRenderController','getImage','featurePluginUpdateNotification','with','isHighlighted','fillType','registerDependencies','@univerjs-pro/sheets-shape-ui','ToggleShapeFloatingToolbarOperation','_sheetCanvasPopManagerService','left','UpdateConnectorRelationCommand','_applyFormulaAutoFitSize','CUT','_config','unitId','_drawingType','SheetCanvasPopManagerService','translate','back','_handleBasicShapeUpdateConnectorLineShape','attachRangeWithCoord','insertGroupObject','getPermissionPoint','flip-horizontal-icon','getSheetId','beforeCommandExecuted','generateRandomId','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','_reset','IconManager','Documents','getDrawingSearch','ShapeDefaultConfig','getValue','DRAWING_OBJECT_LAYER_INDEX','_ribbonService','removeLinePoints','trim','setHighlighted','SheetsDrawingGroupCopyPasteController','shapeId','close','_sheetPermissionCheckController','_getConnectionSiteAngle','ShapeRenderModeEnum','targetShapeId','clearAdjustValue','_isShouldShowDrawingShapeAdjust','_registerIcons','_sheetInterceptorService','getDrawingTypeNameKey','sin','createInternalEditorID','addImageSourceCache','hidden','UniverMobileUIPlugin','DrawingTypeEnum','useReducer','reduce','getSheetBySheetId','endArrow','getSkeleton','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','drawing-ui.objectListPanel.noSelection','wrapStrategy','_registerComponents','getParent','getEndConnectInfo','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_activeShapeAdjustPointList','WorkbookEditablePermission','custom','resolveShapeTextEditorBehaviorShapeData','IUniverInstanceService','ShapeFloatingToolbar','_imageIoService','renderDrawingShape','updateDocumentStyle','_contextService','setPrstGeom','default','_moveConnectorWithShape','_showConnectionSites','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','translateWithPrecision','setProperty','PictureFill','getShapeType','unregister','PaintIcon','clip-','WorkbookCopyPermission','IPermissionService','_executeResizeCommand','createShapeFormulaDocument','sheets-shape-ui.ribbon.shape-format.arrange-backward','cxnIndex','getShapeData','_adjHandlerPointerMove','render','sheetTransform','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','delete','2597145hbzMxQ','_closeShapeEditPanel','stroke','_baseWidth','getShapeTextRect','drawingId','attachPopupToObject','_componentManager','presetId','end','setContextValue','UniverSheetsDrawingUIPlugin','getBentTypeFromPoints','fontFamily','getBatchUpdateOp','SolidFill','Path','_generateCopyPasteMutations','order','15838803XHMBOJ','style','registerClipDelegate','actualHeight','fillImageSource','_canEdit','_activeAdjustInfo','@univerjs/ui','useDependency','baseVal','shapeModel','updateShapeFillImage','RemoveSheetCommand','entries','registerFeaturePasteHook','INSERT','_initSelection','getDrawingByParam','clipByShape','FormatPainterSessionService','sheet.operation.close-sheet-shape-format-panel','IImageIoService','DependentOn','resolveShapeTextHyperLinkAt','startY','shape-editor-ui.arrange.backward','getEditing','UniverInstanceType','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','FlipVerticalIcon','_clearControls','mode','EMPTY','COMMAND','_getDrawingRect','sheet.shape.floating-toolbar','_initCopyPaste','sheets-shape-ui.ribbon.shape-format.arrange-forward','shape-editor-ui.arrange.forward','currentColor','getShapeTextData','_updateSrcRectByTransform','replace','RemoveSheetDrawingCommand','url(#$1','SheetsSelectionsService','sheets-shape-ui.permission.editErr','gradientEndColor','UniverSheetsDrawingPlugin','getCurrentUnitInfo','SHEET_VIEWPORT_KEY','DRAWING_IMAGE','setFillImage','@univerjs/engine-render','copyId','_sheetsShapeService','_cxnIndex','sheets-shape-contextual-ribbon','getShapeDataById','exports','shape-format-setting-icon','ShapeFormulaService','visible','transformToAxisAlignPosition','UPDATE','CommandType','_isHighlighted','_getSceneAndTransformerByDrawingSearch','_attachAdjustEvent','sheet.operation.open-shape-object-list-panel','SheetInterceptorService','_registerFocusChangeHandler','isArray','function','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','cloneShapeDataForType','includes','_visible','_subUnitId','_insertShapes','getActiveViewportByCoord','shape-adjust-point-','SetDrawingArrangeCommand','animateFormulaPresentation','_clearPopups','SheetPrintInterceptorService','Arrow','some','getPropertyPriority','toPrimitive','sheet.operation.open-sheet-shape-format-panel','syncExecuteCommand','@univerjs/sheets','_findNearestConnectionSite','_resetState','pluginName','sheet.operation.open-mobile-shape-editor','IUndoRedoService','refreshFormulaPresentation','OTHERS','getOrCreateDrawingCopyPlan','_handleFreeEndpointMove','getDrawingEffectBounds','getObject','tag','ShapeFloatingToolbarToggleFactory','getPropertyValue','getObjectIncludeInGroup','extensionGroups','debounceRefreshControls','getPresentation','45774260XbbQpN','ComponentManager','_baseShapeTop','SheetDrawingAnchor','merge','activeAnObject','isRender','getActualSize','componentKey','initShapePopupMenu','offsetY','PREDEFINED_HOOK_NAME','_initEvents','setEditing','setSrcRect','sectionFloating','dataModel','refreshTransform','stroke-width','createShapeTextHyperLinkRegions','UniverSheetsUIPlugin','_shapes','startArrow','getDrawingOrder','ShapeStyleRibbonControl','doc.image-clip.shape-picker.component','focus$','M4.2\x208.3H6.8','hasAttribute','VIEW_MAIN_LEFT','getUnitId','index','applyPoint','_registerDrawingMoveHandler','front','resolveShapeTextDocumentPageHeight','sheets-shape-ui.title','ImageSourceTypeEnum','_drawingAddListener','complete','deriveStateFromActiveSheet$','_shapeFormulaService','_unitId','drawing-ui.objectListPanel.moveBackward','drawing-ui.objectListPanel.descriptionPlaceholder','drawing-ui.objectListPanel.unlock','attrs','computeConnectorResizeLayout','8AbgwzW','makeDirty','top-center','_lastEditingShapeKey','PRINTING_COMPONENT_COLLECT','TopmostIcon','mask','_clearConnectionSites','shape-editor-ui.arrange.back','_addShapeConnectorHandlerObject','parent','FOCUSING_COMMON_DRAWINGS','BottomIcon','executeCommand','_baseDrawingRect','_sheetShapeAdjustController','save','FormulaShapeAnimationController','DocumentViewModel','_getShapeAdjustPointListById','M2.6\x203.3L6.2\x208L2.6\x2012.7V3.3Z','prepareShapeTextDocumentData','drawing-ui.objectListPanel.details','CURSOR_TYPE','drawing-ui.objectListPanel.filterHidden','IContextService','startConnectionDetection','asObservable','call','normal','activeSheet$','disableObjectsEvent','children','_initPrinting','SolidLine','UniverDocsUIPlugin','clear','_hide','viewBox','IURLImageService','transformForAngle','isolated','MenuItemType','discreteRangeToRange','resolveActiveShapeQuickStylePresetId','lineType','_sheetClipboardService','MobileDropdown','getStartConnectInfo','_releaseRenderCache','shapeText','_univerInstanceService','relation','scene','formulaPresentation','transformVector2SceneCoord','redo','SetDrawingSelectedOperation','none','BUTTON','evenodd','registerFeatureMenu','sheets-shape-ui.ribbon.shape-format.style-control','#FFFFFF','useEffect','_adjHandlerPointerUp','_draggingConnectorId','setShouldShowAdjust','InsertSheetsShapeMutation','UniverSheetsDrawingMobileUIPlugin','bottom','M13.4\x203.3L9.8\x208L13.4\x2012.7V3.3Z','_shapeTextEditingService','@univerjs-pro/shape-editor','ShapeLineTypeEnum','xlink:href','UniverShapeEditorMobileUIPlugin','_clearFocusedShape','_drawingRenderService','displayName','LEFT','appliedStrokeWidth','UniverShapeEditorUIPlugin','value','toStringTag','setFallbackVisible','_shapeId','normalizeShapeTextModel','sheets-shape-ui','idSuffix','image','_loadAndSetImage','cxnPointStrokeWidth','calculate','removeAttribute','setFormulaPresentation','ObjectLayersIcon','getTextModel','_update','SheetsShapeUIContextualRibbonSchema','_adjName','FOCUSING_SHAPE_TEXT_EDITOR','getConnectorLinePoints','DocEventManagerService','canvasElement','oKey','WorksheetEditPermission','getSkeletonParam','_cxtHandlerPointerMove','onCommandExecuted','visible$','ICommandService','_activeShapeInfo','ShapeArrowSizeEnum','getFocusDrawings','element','UniverRenderEnginePlugin','getAdjustValueByName','drawing-ui.objectListPanel.nameInput','jsxs','_handleConnectedEndpointPointerUp','height','None','open','_addShapeConnectorHandlerObjects','getOwnPropertyDescriptor','_currentConnectionTarget','clipHeight','prstGeomAdjValues','touchDependencies','adjustValues','_activeAdjustPointList','editingParams$','drawing-ui.objectListPanel.show','_getOrCreateShapeModel','onTransformChange$','getTransformer','size','text','getActiveSheet','UNIVER_DOC','ShapeTextEditorContainer','getCurrentRangeDisable$','create','worldPoints','axisAlignSheetTransform','indexOf','attachTransformerTo','_shapeUpdateListener','_formulaKey','DrawingRenderService','mergeMenu','top','UniverProSheetsShape','svg','_focusedDrawings','M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','DRAWING_SHAPE','UniverSheetsShapePlugin','_loadShapePictureFill','intercept','getTextStyle','stopPropagation','setPresentation','FlipHorizontalIcon','setOnSavingEditorData','ArrangeTypeEnum','4979112YoWKHR','_updateImageAdjValues','@univerjs/drawing-ui','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','245Fuomit','Rect','sheets-shape-ui.objectListPanel.open','_groupCopyPasteController','dispose','getImageSourceCache','keys','defIds','DocSelectionRenderService','M3.3\x2013.4L8\x209.8L12.7\x2013.4H3.3Z','@univerjs-pro/engine-shape','UniverProLicense','ShapeFormulaRibbonControl','Line','DisposableCollection','sheets-shape-ui.formatShape','URL','isRichText','shape-editor-ui.toolbar.changeShape','DrawingCommonPanel','restore','_sheetBasicShapeConnectionPointController','ang','drawing-ui.objectListPanel.showAll','sheets-shape-ui.deleteShape','data','setCanUseShapeClip','SheetPermissionCheckController','RibbonInsertGroup','#4285f4','width','getCanvasElement','add','hadStyleAttribute','_updateShapeAdjustControls','_generatePasteMutations','memo','getDrawingOKey','isConnectorShape','_permissionService','sheets-shape-ui.flipHorizontal','_activeShapeId','_urlImageService','_commandService','setCursor','drawing-ui.objectListPanel.hideAll','getBasicShapeRotateBound','getDrawingPoints','onRendered','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','_completionFrame','_handleConnectorPointerUp','ObjectListPanelBase','_activeTargetShapeId','_drawingManagerService','MobileObjectListPanel','getDrawingData','_sheetSkeletonService','decorate','getAdjustNames','UniverSheetsPlugin','length','COPY_TYPE','rxjs','_clearShapeAdjustControls','cxnPointFill','getScene','useFormulaShapeToolbar','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.hide'];_0x4425=function(){return _0x253f84;};return _0x4425();}
|