@univerjs-pro/sheets-shape-ui 1.0.3 → 1.0.4
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 +19 -19
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 _0x1e1c(){const _0xb1cf6a=['transform','next','setAdjustValueByName','_baseShapeTop','_registerImageShapeClipDelegate','UpdateSheetsShapeDataMutation','_connectorObjects','contentHeight','drawing-ui.objectListPanel.descriptionPlaceholder','@univerjs/sheets-drawing-ui','computeConnectorResizeLayout','disposeWithMe','_sheetBasicShapeConnectionPointController','MoveDownIcon','LocaleService','setProperty','Inject','ShapeFormulaService','abs','UpdateLineShapeResizeCommand','_baseShapeHeight','add$','_findShapeAtPoint','SheetDrawingAnchor','VerticalAlign','ObjectListPanelBase','Injector','ShapeModel','SetDrawingArrangeCommand','presetId','ShapeFormatSettingIcon','SolidFill','sheets-shape-ui.insertShape','getAdjustInfoByName','getOrCreateDrawingCopyPlan','DisposableCollection','7qctnSR','refreshTransform','_cxnIndex','DocSelectionManagerService','_baseShapeWidth','SHEET_SHAPE_UI_PLUGIN','_generateCutPasteMutations','stopPropagation','fillImageSource','oKey','non-scaling-stroke','Image','_focusedDrawings','resolveShapeTextDocumentPageHeight','_clearShapeConnectorHandlerObjects','2873245oJCApw','sheets-shape-ui.editShape','getUnit','setFormulaPresentation','M8\x206.2V7.8','fill','_drawingRenderService','DrawingApplyType','fillImageSourceType','IMenuManagerService','DocRenderController','_baseWidth','hadStyleAttribute','registerRenderModule','DRAWING_OBJECT_LAYER_INDEX','updateConnectionDetection','undo','ShapeFloatingToolbar','drawing-ui.objectListPanel.moveBackward','clearAdjustValue','_sheetDrawingService','UniverProShapeEditorUi','createShapeTextHyperLinkRegions','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','CURSOR_TYPE','Large','_sidebarDisposable','@univerjs/ui','adjustValues','ContextMenuGroup','_addShapeConnectorHandlerObject','editingParams$','Transform','updateDocumentDataMargin','0\x200\x2017\x2016','shape-adjust-point-','_initCommands','isInGroup','highlighted','isStartConnectorPoint','_initCopyPaste','_imageShapeClipController','entries','isCurvedConnectorShape','SheetsShapeService','sectionCanvas','localToWorld','setShapeData','translate','defineProperty','DependentOn','Circle','_attachConnectorObjectEvent','_init','_getConnectPointInfo','isolated','_shapeService','useLayoutEffect','marginTop','cxnPointFill','SheetsShapeUIContextualRibbonSchema','vertical-center','_findNearestConnectionSite','getBatchUpdateOp','renderDrawingShape','IDrawingManagerService','getConnectorLinePoints','updateShapeFillImage','getDrawingEditable','onSteady','cloneShapeDataForType','sheets-shape-ui.title','MobileShapeEditorService','InsertSheetsShapeMutation','max','CopySheetCommand','startX','left','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','_baseTop','_clearConnectionSites','sheet.operation.open-shape-object-list-panel','WorkbookEditablePermission','_baseLeft','_initEditingParams','getCurrentLastSelection','string','error','DocSelectionRenderService','_disposePopups','getViewportByCell','_connectionSiteObjects','UniverInstanceType','getEndConnectInfo','extensionGroups','@univerjs/docs','sheetViewStartColumn','useId','IPermissionService','getTextStyle','_registerIcons','getSkeleton','evenodd','createElement','_openShapeEditPanel','beforeCommandExecuted','asObservable','ShapeRenderModeEnum','SheetPermissionCheckController','transformVector2SceneCoord','sin','getBentTypeFromPoints','createControl$','_getImagePrstGeom','worldPoint','enableObjectsEvent','tag','SheetScrollManagerService','packageName','sheet.operation.open-sheet-shape-format-panel','TopmostIcon','#1a73e8','SheetShapeTextEditorContainer','RemoveSheetsShapeMutation','updateContext','getDrawingPoints','restore','startY','Module','Arrow','register','sheet.shape.edit.panel','viewportScrollY','reverse','_menuManagerService','drawingType','unit','_getShapeAdjustInfosById','getDrawingTypeNameKey','drawing-ui.objectListPanel.unlock','keys','_copyInfo','shape-text-','_sheetPermissionCheckController','getDrawingOrder','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','unsubscribe','SheetCanvasPopManagerService','point','rotation','resolveShapeContextualRibbonHostMode','useDependency','UniverDrawing','CROSSHAIR','permissionPointUpdate$','none','getPresentation','animationEnabled','_closeShapeEditPanel','ISidebarService','_loadShapePictureFill','resolveFormulaShapeAutoFitSize','ShapeTextRibbonControl','_clipService','onPointerUp$','_updateShapeAdjustControls','order','VIEW_MAIN_LEFT_TOP','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','sheets-shape-ui.ribbon.shape-format.style-control','_clearControls','sheets-shape-ui.objectListPanel.open','flipX','computeStraightConnectorLayout','_registerComponents','M8\x202.2V3.8','xlink:href','_commandService','activateDrawingObject','drawing-ui.objectListPanel.title','_sheetPrintInterceptorService','fillType','_permissionService','_initPermission','_activeTargetShapeId','pipe','resolveActiveShapeQuickStylePresetId','shouldAllowShapeTextEditorHostSizeShrink','_targetShapeId','_commandExecutedListener','registerShapeFormatPainter','_executeConnectedRouteResizeCommand','getState','_shapeEditPanelVersion','rxjs','UniverSheetsUi','CommandType','_sheetsShapeService','_groupCopyPasteController','invert','getCurrentRangeDisable$','_getZoomRatio','beginPath','stroke-width','ImageSourceTypeEnum','_drawingAddListener','ShapeTypeEnum','toDisposable','UniverDocsPlugin','setEditing','drawing-ui.objectListPanel.details','applyPoint','translateWithPrecision','plainShapeTextToDocumentData','_cxtHandlerPointerMove','buildClipPath','getRenderUnitById','objects','trim','@univerjs-pro/sheets-shape','_univerInstanceService','_index','useFormulaShapeToolbar','drawing-ui.objectListPanel.showAll','getContextValue','registerFeatureMenu','_getImageDrawingInfo','setCanUseShapeClip','sheet.shape.object-list.panel','_injector','index','startWith','setPrstGeomAdjValues','engine','localeService','_imageIoService','_shapeFloatingToolbarService','sheets-shape-ui.deleteShape','DocInterceptorService','getAdjustNames','DRAWING_IMAGE','calculate','_sheetDrawingShapeRenderController','data','23878294daPWLi','URL','@univerjs-pro/sheets-shape-ui','M2.2\x208H3.8','_addControl','delete','_urlImageService','_initMenu','blockExecuteWithoutPermission','OTHERS','setHighlighted','setContextValue','sheet.operation.update-shape-type','_getConnectionSiteAngle','attrs','drawing-ui.objectListPanel.sectionCanvas','drawFormulaShapeAnimationLayers','getObjectIncludeInGroup','_currentConnectionTarget','getMatrix','applyQuickStyleToShapeData','UniverProSheetsShapeUi','onCommandExecuted','setFillImage','Rect','shape-editor-ui.toolbar.quickStyles','mask','getShapeQuickStyleType','push','onReady','ShapePickerPanel','getSelectedObjectMap','drawing-ui.objectListPanel.filterLocked','setCursor','_getSceneAndTransformerByDrawingSearch','sheet.operation.open-mobile-shape-editor','doc','_registerOperations','sheets-shape-format-font-family-menu','dataModel','WorkbookCopyPermission','clearControl$','redo','clear','formulaBinding','IContextService','RENDER_CLASS_TYPE','hidden','ancestorTransform','vectorEffect','top','ShapeArrowTypeEnum','use','values','_completionFrame','UniverShapeEditorPlugin','disableObjectsEvent','getDrawingEffectBounds','MoveUpIcon','resize','_lastEditingShapeKey','adjHandleSize','sheet.shape.floating-toolbar','sheet.command.update-shape-data','sheet.shape.picker.component','has','mergeMenu','_formulaAnimation','getFocusDrawings','_update','InsertShapeCommand','width','image-clip-adjust-point-','includes','_shapePopupMenuDisposable','_getOrCreateShapeModel','ShapeFloatingToolbarService','ShapeFormulaRibbonControl','setOnSavingEditorData','UniverRenderEnginePlugin','getMenuHiddenObservable','jsxs','refreshShapeFillImage','_configService','_loadAndSetImage','_executeConnectedRouteConnectionCommand','setFallbackVisible','getSheetBySheetId','ConnectorCoordinateTransform','MEDIA','_insertShapes','_initSheetChange','WorksheetEditPermission','isLineShape','_draggingConnectorId','remove$','name','isReleased','syncExecuteCommand','useState','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','drawing-ui.objectListPanel.sectionFloating','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','from','_registerDrawingFocusChangeHandler','viewportScrollX','clearAdjustControls','_popupMenuListener','changeStart$','M10.2\x208H11.8','getShapeDataById','_shapeTextEditingService','dispose','discreteRangeToRange','backward','getDrawingOKey','interceptor','interceptCommand','PaintIcon','DRAWING_SHAPE','FOCUSING_SHAPE_TEXT_EDITOR','_config','featurePluginUpdateNotification','SheetSkeletonService','SHAPE_EDITOR_TRANSFORMER_CONFIG','5586690zRAjob','getConnectionSiteList','OPERATION','adjName','element','Disposable','path','unregister','drawing-ui.objectListPanel.close','UniverCore','sheets-shape-ui.config','getShapeType','_getShapeInfo','originalStrokeWidth','_clearPopups','BehaviorSubject','_activeShapeModel','1077ZMdTSg','ShapeDefaultConfig','isEditing','sheets-shape-ui.imagePanel.crop.shape','@univerjs-pro/license','querySelectorAll','UniverSheetsDrawingUi','SELECTOR','srcRect','getTransformerByCreate','_activeImageId','resetCursor','decorate','VIEW_MAIN_LEFT','_addShapeAdjustControl','prstGeom','_adjHandlerPointerUp','9MrZyZs','assign','_sheetInterceptorService','_drawRichTextLayer','_clearFocusedShape','clip','offsetY','sheets-shape-ui.flipVertical','onerror','_componentManager','UniverSheetsShapeMobileUIPlugin','_handleConnectedEndpointPointerUp','isRenderLinePointsMode','clipByShape','debounceRefreshControls','drawing-ui.objectListPanel.lockAll','_registerGroupFeaturePasteHook','replace','registerDependencies','Documents','removeAttribute','_hasReset','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','@univerjs/drawing','MenuManagerPosition','_registerMoveHandler','stroke','fontSize','sheets-shape-ui.ribbon.shape-format.arrange-forward','getBasicShapeRelation','6840280QhwBxa','min','react','_shapeRenderController','parse','bindRenderTransformerLifecycle','activeSheet$','_adjName','_activeShapeInfo','isHorizontal','transformToAxisAlignPosition','shapeType','_handleFreeEndpointMove','clip-','custom','SHAPE_TEXT','_updateTransform','scale','Vector2','_executeConnectionCommand','_isStartAdjusting','UPDATE','open','_isImagePointerDown','getCurrentUnitInfo','SHEET_VIEWPORT_KEY','getPropertyValue','unitId','SetSheetDrawingCommand','createShapeTextBoxShapeData','_shapeUpdateListener','drawingId','UniverDrawingPlugin','executeCommand','_generatePasteMutations','object','SheetSkeletonManagerService','add','_releaseRenderCache','isHitLine','hasDefault','shape-editor-ui.arrange.backward','_adjHandlerPointerMove','onPointerDown$','useImperativeHandle','UniverSheetsUIPlugin','map','_drawingType','isHighlighted','title','shape-format-setting-icon','onStarting','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','useRef','switchMap','drawing-ui.objectListPanel.lock','ShapeTextHyperLinkPopupService','OBJECT_LIST_FLOATING_SECTION_ID','_sheetShapeAdjustController','update$','_updateImageAdjValues','cxnPointRadius','REMOVE','ISheetDrawingService','sqrt','getCurrentScrollState','UpdateConnectorRelationCommand','Observable','ICommandService','find','_activeShapeId','UniverShapeEditorMobileUIPlugin','run','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','8JzOnsB','M14\x208H14.2','getAdjustValueByName','back','useMemo','VIEW_MAIN_TOP','updateLinePoints','_resetState','IRenderManagerService','@univerjs/sheets-drawing','scene','FormulaShapeAnimationController','clearActiveDrawingObjects','panel','#4285f4','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','UniverDocsUIPlugin','shouldClipShapeTextDocument','_canEdit','_reset','setShapeProps','#bcbcbc','routeConnectorLineShape','shape-editor-ui.toolbar.changeShape','_registerFeatureMenu','endConnectionDetection','BUTTON','parseFloat','gradientEndColor','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','ShapeGroupEnum','getFocusedUnit','flip-vertical-icon','_baseShapeLeft','_editingParams$','wrapStrategy','object-layers-icon','drawing-ui.objectListPanel.expand','ComponentManager','viewBound','height','connection-site-','@univerjs/sheets-ui','getDrawingSearch','flip-horizontal-icon','_initEvents','isArray','worldRect','_registerFocusChangeHandler','React','_subUnitId','isDrawingObject','_cxtHandlerPointerUp','cxnPointStrokeWidth','vertical','shapeKey','removeProperty','UniverSheetsDrawingMobileUIPlugin','touchDependencies','flatMap','sheets-shape-ui.shape-format.quick-style-gallery','useReducer','_generateCopyPasteMutations','changeEnd$','DrawingRenderService','target','getDrawingShapeKeyByDrawingSearch','cos','DrawingTypeEnum','_renderManagerService','initShapePopupMenu','setSrcRect','UUID','_formulaShapes','normalizeShapeTextModel','SetDrawingSelectedOperation','ObjectLayersIcon','sheetTransform','_drawRichText','toStringTag','visible','attachPopupToObject','M4.2\x208.3H6.8','_hide','IImageIoService','displayName','iterator','FOCUSING_COMMON_DRAWINGS','getShapeModel','subscribeEvent','_isConnecting','_updateSrcRectByTransform','SheetsShapeUIMenuSchema','_draw','sheets-shape-ui.ribbon.shape-format.arrange-front','isFinite','SHAPE_CHANGE_PICKER_COMPONENT','stringify','RibbonInsertGroup','isMainScene','some','getShapeTextRect','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','function','relation','_shapeFormulaService','transformToDrawingPosition','UniverUi','clipHeight','close','generateRandomId','UniverIcon','DocumentDataModel','setPrstGeom','forwardRef','_handleConnectorPointerUp','call','_sheetSkeletonService','startArrow','move-up-icon','UniverProLicense','0\x200\x2016\x2016','parent','drawing-ui.objectListPanel.unlockAll','drawing.operation.set-drawing-active','M8\x2014V14.2','getDrawingData','shape-editor-ui.arrange.front','Fragment','_localeService','canvas','description','drawing-ui.objectListPanel.filterHidden','getVisible','bottom-icon','_baseDrawingRect','UniverDesign','getParent','IconManager','_activeAdjustInfo','bottom','DocumentViewModel','_isShouldShowDrawingShapeAdjust','presentation','symbol','_showConnectionSites','_handleBasicShapeUpdateConnectorLineShape','clone','axisAlignSheetTransform','focus$','_addShapeConnectorHandlerObjects','makeDirty','resolveShapeTextDocumentRenderLayout','priority','MenuItemType','getValue','SHAPE','version','render','_clearShapeAdjustControls','IUndoRedoService','sheet.menu.shape.flip-vertical','None','getUnitType','sheets-shape-ui.permission.editErr','shapeText','_setTransForm','sheets-shape-ui.formatShape','drawing-ui.objectListPanel.collapse','currentColor','copyType','refreshAdjustControls','_onSavingEditorData$','forEach','2648xZVHDl','M3.3\x202.6L8\x206.2L12.7\x202.6H3.3Z','sheets-shape-contextual-ribbon','getCurrentUnitOfType','M6.2\x208H7.8','BottomIcon','@univerjs/drawing-ui','params','LEFT','subUnitId','_props','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','jsx','subscribe','createInternalEditorID','SheetsDrawingGroupCopyPasteController','setPresentation','exports','_unitId','startConnectionDetection','defIds','current','Plugin','EMPTY','Line','useObservable','@univerjs-pro/shape-editor','RemoveSheetCommand','ShapeTextHyperLinkHoverController','sheets-shape-ui.shape-format.formula-ribbon-control','http://www.w3.org/2000/svg','isConnectorShape','_registerDrawingMoveHandler','getTransformer','ToggleSheetsShapeFlipCommand','react/jsx-runtime','angle','Path','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','_sheetCanvasPopManagerService','_shapeId','PRINTING_COMPONENT_COLLECT','url(#$1','VIEW_MAIN','UndoRedoGroupService','_iconManager','StraightConnector1','ShapeFillEnum','drawing-ui.objectListPanel.empty','getSheetId','_isDrawingShapePointDown','ShapeIcon','intercept','_executeResizeCommand','_currentScene','selectable','sheets-shape-ui.quickStyles','mode','_createShapeAdjustControls','strokeWidth','getCurrentSkeleton','_highlightedSiteIndex','connector-handler-','getObject','getStartConnectInfo','buildShapeTextDataUpdate','type','cxnPointStroke','ang','amd','getDrawingVisible','_initSelection','getSkeletonParam','sheets-shape-ui.shape-format.style-ribbon-control','doc.image-clip.shape-picker.component','round','deriveStateFromActiveSheet$','DRAWING','classType','_applyFormulaAutoFitSize','_contextService','getSheetCommandTarget','getAutoFitPresentations','with','100825PMAzYB','getBasicShapeRotateBound','hideContextualTab','_isOpenedShapeEditPanel','idSuffix','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','div','multiply','fromChangeset','PictureFill','pluginName','sheets-shape-ui.ribbon.shape-format','animateFormulaPresentation','localName','colorChannel1','FromArray','onPointerMove$','currentAdjustValues','drawing-ui.objectListPanel.hide','complete','setConfig','resolveHyperLinkAt','_moveConnectorWithShape','sheetViewStartRow','_visible','getConnectionInfo','_formulaKey','size','setShouldShowAdjust','isRichText','getEditing','contentVerticalOffset','calcAdjValues','pick','attachRangeWithCoord','canvasElement','src','@univerjs-pro/shape-editor-ui','_drawingManagerService','_hyperLinkRegions','sheets-shape-ui.shape-format.text-ribbon-control','endArrow','save','ShapeQuickStyleGallery','_context','FlipHorizontalIcon','IConfigService','_insertingShapeKeys','SheetsSelectionsService','copyId','isHit','SheetInterceptorService','getCurrentTypeOfUnit$','SetDrawingApplyMutation','memo','SheetPrintInterceptorService','drawing-ui.objectListPanel.show','activeAnObject','observe','getPermissionPoint','getDrawingByParam','@univerjs/sheets','_isStartConnectorPoint','getImage','HorizontalAlign','sheets-shape-ui.flipHorizontal','ArrangeTypeEnum','transformByState','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','createShapeFormulaDocument','offsetX','_drawShapeText','appliedStrokeWidth','_sidebarService','cxnIndex','_attachAdjustEvent','_initialize','flipY','getOwnPropertyDescriptor','sheet.operation.close-sheet-shape-format-panel','idMap','front','1em','UniverProShapeEditor','_disposed','_isHighlighted','move-down-icon','disableShapeOption','_clearCompletionFrame','_renderWithCache','focusDrawing','MobileObjectListPanel','draw','_updateAdjustControlPositions','INSERT','UniverEngineRender','getUnitId','COPY_TYPE','UniverSheetsPlugin','skeleton','completeEditing','UniverSheetsMobileUIPlugin','removeLinePoints','_activeShapeAdjustPointList','lineType','hasAttribute','_handleFreeEndpointPointerUp','drawing-ui.objectListPanel.search','clipTop','resolveShapeTextEditorWrapStrategy','extraProps','_getShapeAdjustPointListById','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','ShapeTextFloatToolbar','DEFAULT_PASTE','addObject','getInverseCoord','DocCanvasPopManagerService','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','drawWith','onDblclick$','ShapeFloatingToolbarToggleFactory','Medium','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','drawing-ui.objectListPanel.hideAll','_baseHeight','IUniverInstanceService','useEffect','formulaPresentation','pushUndoRedo','_drawSimpleText','preValue','getCanvasElement','registerCommand','shape-editor-ui.arrange.back','UNIVER_DOC','getBatchRemoveOp','resolveShapeTextHyperLinkObject','shapeData','shapeId','getShapeTypeById','sectionFloating','top-center','_createCopyInfoByRange','changing$','1.0.4','FlipVerticalIcon','_createControls','computeConnectorRouteLayout','getShapeData','filter','shape-editor-ui.arrange.forward','svg','UniverDrawingUi','univer-box-border\x20univer-px-4\x20univer-text-sm','text','onRendered','_getScrollInfo','TOP','normal','drawing-ui.objectListPanel.typeNames.','Shape','ISheetClipboardService','9415850CgwOdb','viewBox','prstGeomAdjValues','merge','attachTransformerTo','shapeModel','_handleConnectedEndpointMove','composeMatrix','ShapeTextHyperLinkInfo','M13.4\x203.3L9.8\x208L13.4\x2012.7V3.3Z','defs','horizontal','WorksheetCopyPermission','GROUP','UNIVER_SHEET','_activeAdjustPointList','getBoundingClientRect','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','drawing-ui.objectListPanel.nameInput','set','SetShapeDrawingDataCommand','isRender','getRealBound','_transform','FormatPainterSessionService','length','COMMAND','style','_calculateFreeEndpointAngle','ContextMenuPosition','RemoveSheetDrawingCommand','getZoomRatio','baseVal','UniverProEngineShape','_getDrawingRect','reduce','permissionCheckWithoutRange','_currentUniverService','get','_shapes','showContextualTab','getConnectionRelation','ShapeEditPanel','children','UniverDrawingUIPlugin','drawing-ui.objectListPanel.lockHint','forward','getShapeQuickStylePreset','value','_ribbonService'];_0x1e1c=function(){return _0xb1cf6a;};return _0x1e1c();}function _0x2e4e(_0x93cb19,_0x354889){_0x93cb19=_0x93cb19-0x199;const _0x1e1c5f=_0x1e1c();let _0x2e4e35=_0x1e1c5f[_0x93cb19];return _0x2e4e35;}(function(_0x155869,_0x27d951){const _0x387377=_0x2e4e,_0x5940d4=_0x155869();while(!![]){try{const _0x34273c=-parseInt(_0x387377(0x39f))/0x1*(-parseInt(_0x387377(0x29d))/0x2)+-parseInt(_0x387377(0x224))/0x3*(parseInt(_0x387377(0x34b))/0x4)+-parseInt(_0x387377(0x4a7))/0x5+parseInt(_0x387377(0x213))/0x6*(-parseInt(_0x387377(0x498))/0x7)+-parseInt(_0x387377(0x253))/0x8*(-parseInt(_0x387377(0x235))/0x9)+-parseInt(_0x387377(0x442))/0xa+parseInt(_0x387377(0x59b))/0xb;if(_0x34273c===_0x27d951)break;else _0x5940d4['push'](_0x5940d4['shift']());}catch(_0x21f598){_0x5940d4['push'](_0x5940d4['shift']());}}}(_0x1e1c,0xb5a92),function(_0x477aad,_0x48c3ba){const _0x57b4a3=_0x2e4e;typeof exports==_0x57b4a3(0x276)&&typeof module<'u'?_0x48c3ba(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==_0x57b4a3(0x304)&&define[_0x57b4a3(0x390)]?define([_0x57b4a3(0x35c),_0x57b4a3(0x3c4),_0x57b4a3(0x4c2),'@univerjs-pro/engine-shape',_0x57b4a3(0x365),_0x57b4a3(0x582),'@univerjs/core',_0x57b4a3(0x3dc),_0x57b4a3(0x24c),'@univerjs/engine-render',_0x57b4a3(0x2c7),_0x57b4a3(0x569),_0x57b4a3(0x351),'@univerjs/design',_0x57b4a3(0x36e),_0x57b4a3(0x2a6),_0x57b4a3(0x228),_0x57b4a3(0x506),'@univerjs/docs-ui',_0x57b4a3(0x47d),_0x57b4a3(0x255)],_0x48c3ba):(_0x477aad=typeof globalThis<'u'?globalThis:_0x477aad||self,_0x48c3ba(_0x477aad[_0x57b4a3(0x1ab)]={},_0x477aad[_0x57b4a3(0x4bc)],_0x477aad[_0x57b4a3(0x308)],_0x477aad[_0x57b4a3(0x463)],_0x477aad[_0x57b4a3(0x3f2)],_0x477aad['UniverProSheetsShape'],_0x477aad[_0x57b4a3(0x21c)],_0x477aad['UniverSheets'],_0x477aad[_0x57b4a3(0x53f)],_0x477aad[_0x57b4a3(0x3fe)],_0x477aad[_0x57b4a3(0x56a)],_0x477aad[_0x57b4a3(0x569)],_0x477aad[_0x57b4a3(0x438)],_0x477aad[_0x57b4a3(0x325)],_0x477aad['React'],_0x477aad['UniverSheetsDrawing'],_0x477aad[_0x57b4a3(0x315)],_0x477aad['UniverDocs'],_0x477aad['UniverDocsUi'],_0x477aad[_0x57b4a3(0x22a)],_0x477aad[_0x57b4a3(0x2ce)]));}(this,function(_0x4a6de9,_0xba932b,_0x187e10,_0xd67e3f,_0x1397ca,_0x2f2bb5,_0x10e5f9,_0x32abfe,_0x15864b,_0x3458ba,_0x189be3,_0x364ff4,_0x2a7f32,_0x457cfe,_0x30a372,_0x40f1a1,_0x53a89d,_0x1ac066,_0x31aefd,_0x3c03b9,_0x18bd90){const _0x13ba7a=_0x2e4e;Object['defineProperty'](_0x4a6de9,Symbol[_0x13ba7a(0x2ec)],{'value':_0x13ba7a(0x527)});function _0x564b9f(_0x3df234,_0x2a0998){const _0x40eb29=_0x13ba7a;let _0x50b0ed={};for(let _0x139e72 of Object[_0x40eb29(0x533)](_0x2a0998)){let _0x1ac6c6=_0x2a0998[_0x139e72],_0x1c1798=_0x3df234[_0x139e72];if(_0x1c1798===void 0x0){_0x50b0ed[_0x139e72]=void 0x0;continue;}_0x50b0ed[_0x139e72]=typeof _0x1ac6c6==_0x40eb29(0x276)&&_0x1ac6c6&&!Array[_0x40eb29(0x2cb)](_0x1ac6c6)&&typeof _0x1c1798=='object'&&_0x1c1798&&!Array[_0x40eb29(0x2cb)](_0x1c1798)?_0x564b9f(_0x1c1798,_0x1ac6c6):_0x1c1798;}return _0x50b0ed;}let _0x6c1302={'type':_0x10e5f9[_0x13ba7a(0x56b)]['COMMAND'],'id':_0x13ba7a(0x1d5),'handler':(_0x1a8cb8,_0x4903c9)=>{const _0x43495e=_0x13ba7a;let _0x54703f=_0x1a8cb8[_0x43495e(0x468)](_0x2f2bb5[_0x43495e(0x4d3)]),{unitId:_0x29be53,subUnitId:_0x1b580b,shapeType:_0x96084d,shapeId:_0x2d0dd9,shapeData:_0x425921,replaceShapeData:_0x4a046a,oldShapeJSON:_0x5fddd0}=_0x4903c9;if(!_0x54703f[_0x43495e(0x2f5)](_0x29be53,_0x1b580b,_0x2d0dd9))return!0x1;let _0x321644=_0x1a8cb8[_0x43495e(0x468)](_0x10e5f9['ICommandService']),_0x72b35=_0x1a8cb8[_0x43495e(0x468)](_0x10e5f9[_0x43495e(0x33d)]),{oldShapeType:_0x4b761e,oldShapeData:_0x3c2ca3={}}=_0x5fddd0,_0x47bf82=_0x4a046a?_0x3c2ca3:_0x564b9f(_0x3c2ca3,_0x425921||{}),_0x5eb127={'id':_0x2f2bb5[_0x43495e(0x479)]['id'],'params':{'unitId':_0x29be53,'subUnitId':_0x1b580b,'shapeId':_0x2d0dd9,'shapeType':_0x96084d,'shapeData':_0x425921,'replace':_0x4a046a}},_0x1089b0={'id':_0x2f2bb5[_0x43495e(0x479)]['id'],'params':{'unitId':_0x29be53,'subUnitId':_0x1b580b,'shapeId':_0x2d0dd9,'shapeType':_0x4b761e,'shapeData':_0x47bf82,'replace':_0x4a046a}};return _0x321644['syncExecuteCommand'](_0x5eb127['id'],_0x5eb127['params'])?(_0x72b35[_0x43495e(0x420)]({'unitID':_0x29be53,'undoMutations':[_0x1089b0],'redoMutations':[_0x5eb127]}),!0x0):!0x1;}};function _0x2b1bec(_0x2116f8,_0x1bbcc2,_0xea017a,_0x4ea819,_0x2ee224,_0x384511){const _0x520182=_0x13ba7a;let _0x5576af={'unitId':_0x1bbcc2,'subUnitId':_0xea017a,'shapeId':_0x4ea819,'shapeData':_0x384511,'oldShapeJSON':_0x2ee224};return _0x2116f8[_0x520182(0x274)](_0x6c1302['id'],_0x5576af);}function _0x595a99(_0x50c11b,_0x369b3b,_0x566f88,_0x435243,_0x4b4175,_0x544e4c){const _0x3a7223=_0x13ba7a;let _0x25e8ce={'unitId':_0x369b3b,'subUnitId':_0x566f88,'shapeId':_0x435243,'shapeData':_0x544e4c,'oldShapeJSON':_0x4b4175};return _0x50c11b[_0x3a7223(0x274)](_0x6c1302['id'],_0x25e8ce);}function _0x57f550(_0x16de12){'@babel/helpers - typeof';const _0x5708b4=_0x13ba7a;return _0x57f550=typeof Symbol=='function'&&typeof Symbol[_0x5708b4(0x2f3)]==_0x5708b4(0x32d)?function(_0x557b37){return typeof _0x557b37;}:function(_0xf35845){const _0x1d76da=_0x5708b4;return _0xf35845&&typeof Symbol==_0x1d76da(0x304)&&_0xf35845['constructor']===Symbol&&_0xf35845!==Symbol['prototype']?'symbol':typeof _0xf35845;},_0x57f550(_0x16de12);}function _0x36a0d5(_0x5d81e6,_0x583322){const _0x53825a=_0x13ba7a;if(_0x57f550(_0x5d81e6)!=_0x53825a(0x276)||!_0x5d81e6)return _0x5d81e6;var _0x47565f=_0x5d81e6[Symbol['toPrimitive']];if(_0x47565f!==void 0x0){var _0x5826cf=_0x47565f[_0x53825a(0x311)](_0x5d81e6,_0x583322||'default');if(_0x57f550(_0x5826cf)!=_0x53825a(0x276))return _0x5826cf;throw TypeError(_0x53825a(0x3a4));}return(_0x583322==='string'?String:Number)(_0x5d81e6);}function _0x11a17e(_0x270d38){const _0x35382e=_0x13ba7a;var _0x66ff9f=_0x36a0d5(_0x270d38,_0x35382e(0x4fd));return _0x57f550(_0x66ff9f)==_0x35382e(0x32d)?_0x66ff9f:_0x66ff9f+'';}function _0x5ae661(_0x2bb2d7,_0x36e58c,_0x4ffe9f){return(_0x36e58c=_0x11a17e(_0x36e58c))in _0x2bb2d7?Object['defineProperty'](_0x2bb2d7,_0x36e58c,{'value':_0x4ffe9f,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2bb2d7[_0x36e58c]=_0x4ffe9f,_0x2bb2d7;}function _0x2bcad2(_0x458b5e,_0x13a776,_0x177958){const _0xfbe90=_0x13ba7a;let _0x58182b={..._0x13a776,'dataModel':{..._0x13a776['dataModel']??{},..._0x177958?{'doc':_0x177958}:null}},_0x19d54e=(0x0,_0xba932b['resolveShapeTextEditorBehaviorShapeData'])(_0x458b5e,_0x58182b),_0x22cbc3=(0x0,_0xba932b[_0xfbe90(0x40c)])(_0x19d54e);return{'clip':(0x0,_0xba932b[_0xfbe90(0x2ae)])(_0x19d54e,_0x22cbc3),'wrapStrategy':_0x22cbc3};}var _0x402866=class extends _0x3458ba['Shape']{constructor(_0x27568a,_0x481ba1){const _0x2b1bbb=_0x13ba7a;super(_0x27568a,_0x481ba1),_0x5ae661(this,_0x2b1bbb(0x3c6),[]),_0x5ae661(this,'_props',void 0x0),_0x5ae661(this,'_formulaAnimation',new _0xba932b[(_0x2b1bbb(0x2a8))](()=>this[_0x2b1bbb(0x334)](!0x0),()=>this[_0x2b1bbb(0x39a)]())),_0x5ae661(this,'_transformCalculateSrcRect',!0x0),_0x5ae661(this,_0x2b1bbb(0x282),_0x10e5f9[_0x2b1bbb(0x2e1)]['DRAWING_SHAPE']),_0x5ae661(this,_0x2b1bbb(0x2d0),!0x0),this[_0x2b1bbb(0x355)]={..._0x481ba1},this[_0x2b1bbb(0x1d9)][_0x2b1bbb(0x35b)](_0x481ba1[_0x2b1bbb(0x41f)],_0x481ba1[_0x2b1bbb(0x3ab)]!==!0x1),this['_init'](),this[_0x2b1bbb(0x39a)]();}[_0x13ba7a(0x4dc)](){const _0x4e046a=_0x13ba7a;this['onTransformChange$'][_0x4e046a(0x2f6)](_0x23c997=>{this['_updateSrcRectByTransform'](_0x23c997);});}[_0x13ba7a(0x30e)](_0x281a4d){const _0x2ec06d=_0x13ba7a;this[_0x2ec06d(0x355)][_0x2ec06d(0x233)]=_0x281a4d;}['resolveHyperLinkAt'](_0x68f76a){const _0x2ed7d0=_0x13ba7a;if(this[_0x2ed7d0(0x355)]['isEditing'])return null;let _0x1d3680=this[_0x2ed7d0(0x413)](_0x68f76a),{width:_0x5d65ad,height:_0x2d5b6e}=this['getRealBound']();return(0x0,_0xba932b['resolveShapeTextHyperLinkAt'])(this[_0x2ed7d0(0x3c6)],{'x':(this[_0x2ed7d0(0x553)]?-_0x1d3680['x']:_0x1d3680['x'])+_0x5d65ad/0x2,'y':_0x1d3680['y']+_0x2d5b6e/0x2});}[_0x13ba7a(0x578)](_0x2855d5){const _0x587ae3=_0x13ba7a;this[_0x587ae3(0x355)][_0x587ae3(0x226)]=_0x2855d5,this[_0x587ae3(0x334)](!0x0);}[_0x13ba7a(0x4aa)](_0x47d183,_0x3bd1a4=!0x0){const _0x18be68=_0x13ba7a;this[_0x18be68(0x1d9)]['setPresentation'](_0x47d183,_0x3bd1a4),this[_0x18be68(0x355)][_0x18be68(0x41f)]=_0x47d183,this[_0x18be68(0x39a)](),this[_0x18be68(0x334)](!0x0);}[_0x13ba7a(0x39a)](){const _0x31a211=_0x13ba7a;let _0x16cedb=this['_props'][_0x31a211(0x447)],_0x19657b=_0x16cedb['getShapeTextData'](),_0x4e8fa3=(0x0,_0xba932b[_0x31a211(0x2e7)])(_0x19657b==null?void 0x0:_0x19657b[_0x31a211(0x1bd)]),_0x55c3d7=_0x4e8fa3==null?void 0x0:_0x4e8fa3['doc'],_0x42aa56=this['_formulaAnimation'][_0x31a211(0x39d)]();if(!_0x55c3d7||_0x42aa56['length']===0x0)return;_0x16cedb['updateContext']({'width':this[_0x31a211(0x1dd)],'height':this[_0x31a211(0x2c5)]});let _0x5bbe92=(0x0,_0xba932b[_0x31a211(0x548)])({'documentData':_0x42aa56[_0x31a211(0x281)](_0x5ba10b=>(0x0,_0x1397ca[_0x31a211(0x3e4)])(_0x55c3d7,_0x5ba10b)),'height':this[_0x31a211(0x2c5)],'shapeData':_0x16cedb[_0x31a211(0x434)](),'textRect':_0x16cedb[_0x31a211(0x302)]({'left':0x0,'top':0x0,'width':this[_0x31a211(0x1dd)],'height':this['height']}),'width':this['width']});if(_0x5bbe92){var _0x5699ca;this['resize'](_0x5bbe92[_0x31a211(0x1dd)],_0x5bbe92[_0x31a211(0x2c5)]),(_0x5699ca=this['getScene']())==null||(_0x5699ca=_0x5699ca[_0x31a211(0x36c)]())==null||_0x5699ca[_0x31a211(0x243)]();}}get[_0x13ba7a(0x26e)](){const _0x254d9c=_0x13ba7a;return this[_0x254d9c(0x355)][_0x254d9c(0x26e)];}get[_0x13ba7a(0x354)](){const _0xc57f9e=_0x13ba7a;return this[_0xc57f9e(0x355)]['subUnitId'];}[_0x13ba7a(0x2f8)](_0x327b33){const _0x7604dd=_0x13ba7a;if(this[_0x7604dd(0x355)]['srcRect']==null||!this['_transformCalculateSrcRect'])return;let {width:_0x325335,height:_0x1adfb0}=this,{width:_0x17f23e=0x0,height:_0x330c1d=0x0}=_0x327b33[_0x7604dd(0x422)],{left:_0x19b6c3=0x0,top:_0x506df3=0x0,right:_0x124860=0x0,bottom:_0xea2870=0x0}=this[_0x7604dd(0x355)][_0x7604dd(0x22c)],_0x228770=_0x19b6c3,_0x363ffe=_0x506df3,_0xc3013e=_0x124860,_0x424ebf=_0xea2870,_0x4998e0=!0x1;if(_0x17f23e!==0x0&&_0x17f23e!==_0x325335){let _0x3f1c19=_0x19b6c3/_0x17f23e,_0x34fb02=_0x124860/_0x17f23e;_0x228770=_0x325335*_0x3f1c19,_0xc3013e=_0x325335*_0x34fb02,_0x4998e0=!0x0;}if(_0x330c1d!==0x0&&_0x330c1d!==_0x1adfb0){let _0x16780c=_0x506df3/_0x330c1d,_0x3e2ed6=_0xea2870/_0x330c1d;_0x363ffe=_0x1adfb0*_0x16780c,_0x424ebf=_0x1adfb0*_0x3e2ed6,_0x4998e0=!0x0;}_0x4998e0&&this[_0x7604dd(0x2e4)]({'left':_0x228770,'top':_0x363ffe,'right':_0xc3013e,'bottom':_0x424ebf});}[_0x13ba7a(0x2e4)](_0x440224){const _0x27dbdb=_0x13ba7a;this[_0x27dbdb(0x355)][_0x27dbdb(0x22c)]=_0x440224,this[_0x27dbdb(0x334)](!0x0);}[_0x13ba7a(0x1ad)](_0x104a74){const _0xc8441f=_0x13ba7a;this[_0xc8441f(0x355)]['image']=_0x104a74,this[_0xc8441f(0x334)](!0x0);}set['transform'](_0x3a4332){const _0x1e6b96=_0x13ba7a;this[_0x1e6b96(0x459)]=_0x3a4332;}get[_0x13ba7a(0x474)](){const _0x3c8fd1=_0x13ba7a;this[_0x3c8fd1(0x459)]||this[_0x3c8fd1(0x343)]();let _0x255055=this[_0x3c8fd1(0x459)][_0x3c8fd1(0x330)]();return this['transformForAngle'](_0x255055);}get[_0x13ba7a(0x447)](){const _0x80cca3=_0x13ba7a;return this['_props'][_0x80cca3(0x447)];}get['shapeId'](){const _0x5ec254=_0x13ba7a;return this[_0x5ec254(0x355)][_0x5ec254(0x42a)];}get[_0x13ba7a(0x399)](){const _0x3b0616=_0x13ba7a;return _0x3458ba[_0x3b0616(0x1c4)][_0x3b0616(0x339)];}[_0x13ba7a(0x2fa)](_0x38d52b,_0x1ecfc0,_0x26d5a1,_0x553e76){const _0x540e9d=_0x13ba7a;let _0x42dfb1=this[_0x540e9d(0x355)][_0x540e9d(0x447)];if(!_0x42dfb1||!_0x1ecfc0)return;let _0x30e539=_0x26d5a1??this[_0x540e9d(0x1dd)],_0x38fafd=_0x553e76??this[_0x540e9d(0x2c5)],_0x5b3e75={'shapeType':_0x42dfb1[_0x540e9d(0x21e)](),'width':_0x30e539,'height':_0x38fafd},_0x46dac0={'renderMode':_0xd67e3f[_0x540e9d(0x512)][_0x540e9d(0x370)],'oKey':this[_0x540e9d(0x4a1)],'image':this['_props']['image'],'angle':this[_0x540e9d(0x36f)]};_0x42dfb1[_0x540e9d(0x523)](_0x5b3e75),_0x38d52b[_0x540e9d(0x3c9)]();let _0x2f75a0={'top':0x0,'left':0x0,'width':_0x30e539,'height':_0x38fafd},_0x47e48e=_0x42dfb1[_0x540e9d(0x1cf)](_0x2f75a0);_0x47e48e?this[_0x540e9d(0x3f8)](_0x38d52b,_0x47e48e,_0xce1e3f=>{const _0x5101e3=_0x540e9d;_0x42dfb1[_0x5101e3(0x33b)](_0xce1e3f,_0x2f75a0,_0x46dac0);}):(this[_0x540e9d(0x279)](),_0x42dfb1[_0x540e9d(0x33b)](_0x38d52b,_0x2f75a0,_0x46dac0)),_0x38d52b['restore']();let _0xd815db=_0x42dfb1['getShapeTextData'](),_0x5e3e20=_0x42dfb1[_0x540e9d(0x302)](_0x2f75a0),_0x2e65e9=_0x42dfb1[_0x540e9d(0x1f3)]();if(_0xd815db&&_0x5e3e20&&!_0x2e65e9){_0x38d52b[_0x540e9d(0x3c9)](),this[_0x540e9d(0x567)]()[_0x540e9d(0x553)]&&_0x38d52b[_0x540e9d(0x264)](-0x1,0x1);let _0x30d40b=_0x30e539/0x2,_0x4f6ca7=_0x38fafd/0x2;_0x38d52b[_0x540e9d(0x4d7)](-_0x30d40b,-_0x4f6ca7),_0x38d52b['beginPath'](),this['_drawShapeText'](_0x38d52b,_0xd815db,_0x5e3e20),_0x38d52b[_0x540e9d(0x525)]();}}['getDrawingPoints'](_0x1875d0){}[_0x13ba7a(0x3e6)](_0x4ef413,_0x56a00f,_0x53fcfc){const _0x3d657b=_0x13ba7a;var _0x237f3e;this[_0x3d657b(0x3c6)]=[],!this['_props'][_0x3d657b(0x226)]&&(!((_0x237f3e=_0x56a00f[_0x3d657b(0x1bd)])!=null&&_0x237f3e[_0x3d657b(0x1ba)])&&_0x3d657b(0x3bc)in _0x56a00f&&_0x56a00f[_0x3d657b(0x3bc)]===!0x1?this['_drawSimpleText'](_0x4ef413,_0x56a00f,_0x53fcfc):this[_0x3d657b(0x2eb)](_0x4ef413,_0x56a00f,_0x53fcfc));}[_0x13ba7a(0x421)](_0x187c2e,_0x55f36d,_0x40618a){const _0x32a272=_0x13ba7a;this[_0x32a272(0x2eb)](_0x187c2e,{..._0x55f36d,'text':_0x55f36d[_0x32a272(0x43a)]??'','dataModel':{'doc':(0x0,_0xba932b[_0x32a272(0x57c)])(_0x55f36d,'sheets-shape-text-'+this[_0x32a272(0x4a1)])}},_0x40618a);}['_drawRichText'](_0x13fec4,_0xdf9738,_0x216eba){const _0x583872=_0x13ba7a;(0x0,_0xba932b[_0x583872(0x1a6)])(_0x13fec4,this[_0x583872(0x1d9)],(_0x4274ae,_0x4da0c8,_0xb3bd10)=>{const _0x5f2231=_0x583872;this[_0x5f2231(0x238)](_0x4274ae,_0xdf9738,_0x216eba,_0x4da0c8,_0xb3bd10===_0x5f2231(0x360));});}['_drawRichTextLayer'](_0x3b697d,_0x22865c,_0x11b7da,_0x3d8185,_0x557b9e){const _0x92781f=_0x13ba7a;let _0x7162ed=this[_0x92781f(0x355)][_0x92781f(0x591)];if(!_0x22865c[_0x92781f(0x1bd)]||!_0x7162ed)return;let _0x4a318a=(0x0,_0xba932b['normalizeShapeTextModel'])(_0x22865c['dataModel']);if(!_0x4a318a)return;let _0x1eda64=_0x4a318a[_0x92781f(0x1ba)];if(!_0x1eda64)return;let _0xe21ed3=(0x0,_0x1397ca[_0x92781f(0x3e4)])(_0x1eda64,_0x3d8185),_0x44eca3=_0x4a318a['va']??_0x10e5f9[_0x92781f(0x48c)][_0x92781f(0x43d)],_0x3a6bfb=_0x4a318a['ha']??_0x10e5f9[_0x92781f(0x3df)][_0x92781f(0x353)],_0x5adc06=_0x2bcad2(this[_0x92781f(0x355)]['shapeModel']['getShapeData'](),_0x22865c,_0xe21ed3),_0x58e25b=_0x22865c[_0x92781f(0x25c)],_0x382bf9=(0x0,_0xba932b['prepareShapeTextDocumentData'])(_0xe21ed3,{'isHorizontal':_0x58e25b!==!0x1,'textRect':_0x11b7da,'verticalAlign':_0x44eca3,'horizontalAlign':_0x3a6bfb,'wrapStrategy':_0x5adc06[_0x92781f(0x2c0)]}),_0x2c22ac=new _0x10e5f9[(_0x92781f(0x30d))](_0x382bf9),_0x20fecb=new _0x3458ba[(_0x92781f(0x32a))](_0x2c22ac),_0x1765c0=_0x3458ba['DocumentSkeleton']['create'](_0x20fecb,_0x7162ed);_0x1765c0[_0x92781f(0x598)]();let _0x470b75=_0x1765c0['getActualSize']()['actualHeight'],_0x5c5fb3=(0x0,_0xba932b[_0x92781f(0x335)])({'contentHeight':_0x470b75,'verticalAlign':_0x44eca3,'viewportHeight':_0x11b7da['height']});_0x2c22ac['updateDocumentStyle']({'pageSize':{'width':_0x58e25b===!0x1?_0x11b7da['height']:_0x11b7da[_0x92781f(0x1dd)],'height':(0x0,_0xba932b[_0x92781f(0x4a5)])(_0xe21ed3,_0x5c5fb3[_0x92781f(0x47b)])}}),_0x2c22ac[_0x92781f(0x4c8)]({'t':_0x5c5fb3[_0x92781f(0x4e1)]}),_0x1765c0[_0x92781f(0x598)]();let _0x58f656=new _0x3458ba[(_0x92781f(0x248))](_0x92781f(0x535)+this[_0x92781f(0x4a1)],_0x1765c0,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x92781f(0x334)](!0x0)});_0x58f656[_0x92781f(0x1d1)](_0x11b7da[_0x92781f(0x1dd)],_0x5c5fb3[_0x92781f(0x47b)]),_0x3b697d[_0x92781f(0x3c9)](),_0x3b697d[_0x92781f(0x57b)](_0x11b7da[_0x92781f(0x4f4)],_0x11b7da['top']),_0x5adc06[_0x92781f(0x23a)]&&(_0x3b697d[_0x92781f(0x571)](),_0x3b697d['rect'](0x0,_0x5c5fb3[_0x92781f(0x40b)],_0x11b7da['width'],_0x5c5fb3['clipHeight']),_0x3b697d[_0x92781f(0x23a)]()),_0x5c5fb3[_0x92781f(0x3be)]&&_0x3b697d['translateWithPrecision'](0x0,_0x5c5fb3[_0x92781f(0x3be)]),_0x58f656[_0x92781f(0x3fb)](_0x3b697d),_0x557b9e&&(this[_0x92781f(0x3c6)]=(0x0,_0xba932b[_0x92781f(0x4bd)])(_0x58f656,{'left':_0x11b7da[_0x92781f(0x4f4)],'top':_0x11b7da[_0x92781f(0x1c8)]+_0x5c5fb3[_0x92781f(0x3be)]},_0x5adc06[_0x92781f(0x23a)]?{'left':_0x11b7da[_0x92781f(0x4f4)],'right':_0x11b7da[_0x92781f(0x4f4)]+_0x11b7da[_0x92781f(0x1dd)],'top':_0x11b7da[_0x92781f(0x1c8)]+_0x5c5fb3[_0x92781f(0x40b)],'bottom':_0x11b7da[_0x92781f(0x1c8)]+_0x5c5fb3['clipTop']+_0x5c5fb3[_0x92781f(0x309)]}:void 0x0)),_0x3b697d[_0x92781f(0x525)](),_0x58f656[_0x92781f(0x206)](),_0x1765c0[_0x92781f(0x206)](),_0x20fecb[_0x92781f(0x206)](),_0x2c22ac[_0x92781f(0x206)]();}['render'](_0x350d2f,_0x508857,_0x2f9f57=!0x1){const _0x5641e2=_0x13ba7a;if(!this['visible'])return this[_0x5641e2(0x334)](!0x1),this;let {width:_0x4c08f7,height:_0x128779,left:_0x3472e8,top:_0x2ac023}=this,_0x4b3ee1=this[_0x5641e2(0x458)]();if(_0x4c08f7=_0x4b3ee1[_0x5641e2(0x1dd)],_0x128779=_0x4b3ee1['height'],_0x3472e8=_0x4b3ee1['left'],_0x2ac023=_0x4b3ee1[_0x5641e2(0x1c8)],this[_0x5641e2(0x457)](_0x508857)){let {top:_0x9bdc2a,left:_0x2fbdf6,bottom:_0x3a8097,right:_0x1846a2}=_0x508857[_0x5641e2(0x2c4)];if(_0x4c08f7+this['strokeWidth']+_0x3472e8<_0x2fbdf6||_0x1846a2<_0x3472e8||_0x128779+this[_0x5641e2(0x386)]+_0x2ac023<_0x9bdc2a||_0x3a8097<_0x2ac023)return this;}let _0x5c9cd1=_0x3472e8+_0x4c08f7/0x2,_0x43d4b4=_0x2ac023+_0x128779/0x2,_0x5b83be=this['transform'][_0x5641e2(0x1a9)]();if(this[_0x5641e2(0x355)][_0x5641e2(0x226)]){let _0x1d7cec=this[_0x5641e2(0x567)](),_0x47055b=new _0x3458ba[(_0x5641e2(0x4c7))]();_0x47055b[_0x5641e2(0x449)]({..._0x1d7cec}),_0x5b83be=_0x47055b[_0x5641e2(0x1a9)]();}return _0x350d2f[_0x5641e2(0x3c9)](),this[_0x5641e2(0x355)]['shapeModel'][_0x5641e2(0x241)]===!0x0||_0x350d2f[_0x5641e2(0x474)](_0x5b83be[0x0],_0x5b83be[0x1],_0x5b83be[0x2],_0x5b83be[0x3],_0x5c9cd1,_0x43d4b4),this['_draw'](_0x350d2f,_0x508857,_0x4c08f7,_0x128779),_0x350d2f[_0x5641e2(0x525)](),this['makeDirty'](!0x1),this;}[_0x13ba7a(0x413)](_0x15ed3f){const _0x539bfc=_0x13ba7a;let {left:_0xa7864a,top:_0x1f8f83,width:_0x4e15a8,height:_0x50cf17}=this[_0x539bfc(0x458)](),_0x166857=this[_0x539bfc(0x474)][_0x539bfc(0x1a9)](),_0xd0b8d4=_0xa7864a+_0x4e15a8/0x2,_0x86e5=_0x1f8f83+_0x50cf17/0x2,_0x35e9b1=new _0x3458ba[(_0x539bfc(0x4c7))]([_0x166857[0x0],_0x166857[0x1],_0x166857[0x2],_0x166857[0x3],_0xd0b8d4,_0x86e5]),_0x1fc1f6=this[_0x539bfc(0x326)]();return(this[_0x539bfc(0x4cc)]&&(_0x1fc1f6==null?void 0x0:_0x1fc1f6[_0x539bfc(0x399)])===_0x3458ba[_0x539bfc(0x1c4)][_0x539bfc(0x44f)]?_0x1fc1f6['ancestorTransform'][_0x539bfc(0x3a6)](_0x35e9b1):_0x35e9b1)['invert']()[_0x539bfc(0x57a)](_0x15ed3f);}[_0x13ba7a(0x3d1)](_0xa936a3){const _0x3c475a=_0x13ba7a;let {left:_0x97ff50,top:_0x1a3d3b,width:_0x3c9326,height:_0x5b0487}=this[_0x3c475a(0x458)](),_0x9dacb1=_0x97ff50+_0x3c9326/0x2,_0x58741e=_0x1a3d3b+_0x5b0487/0x2,_0xf8508c=this[_0x3c475a(0x474)][_0x3c475a(0x1a9)](),_0x53bfd6=new _0x3458ba[(_0x3c475a(0x4c7))]([_0xf8508c[0x0],_0xf8508c[0x1],_0xf8508c[0x2],_0xf8508c[0x3],_0x9dacb1,_0x58741e]),_0x415380=this['getParent'](),_0x4bf578=(this[_0x3c475a(0x4cc)]&&(_0x415380==null?void 0x0:_0x415380[_0x3c475a(0x399)])===_0x3458ba[_0x3c475a(0x1c4)][_0x3c475a(0x44f)]?_0x415380[_0x3c475a(0x1c6)]['multiply'](_0x53bfd6):_0x53bfd6)[_0x3c475a(0x56e)]()['applyPoint'](_0xa936a3),_0x10e898=_0x3c9326/0x2,_0x2ad52d=_0x5b0487/0x2,_0x343643=this['_props'][_0x3c475a(0x447)];return _0x343643&&_0x343643['isLineShape']()?_0x343643[_0x3c475a(0x27a)](_0x4bf578['x'],_0x4bf578['y'],_0x3c9326,_0x5b0487):_0x4bf578['x']>=-_0x10e898-this[_0x3c475a(0x386)]/0x2&&_0x4bf578['x']<=_0x10e898+this[_0x3c475a(0x386)]/0x2&&_0x4bf578['y']>=-_0x2ad52d-this[_0x3c475a(0x386)]/0x2&&_0x4bf578['y']<=_0x2ad52d+this['strokeWidth']/0x2;}['dispose'](){const _0x4887a2=_0x13ba7a;this[_0x4887a2(0x1d9)][_0x4887a2(0x206)](),this['_props']['shapeModel']=null,super[_0x4887a2(0x206)]();}},_0x537ea9=class extends _0x3458ba[_0x13ba7a(0x440)]{constructor(_0x47d0fa,_0x53d398){const _0x1d1b59=_0x13ba7a;super(_0x47d0fa,_0x53d398),_0x5ae661(this,_0x1d1b59(0x373),null),_0x5ae661(this,_0x1d1b59(0x25a),null),_0x5ae661(this,_0x1d1b59(0x35d),null),_0x5ae661(this,_0x1d1b59(0x2cf),null),_0x53d398&&this['setShapeProps'](_0x53d398);}[_0x13ba7a(0x2c8)](){const _0x341a3e=_0x13ba7a;return{'unitId':this[_0x341a3e(0x35d)],'subUnitId':this[_0x341a3e(0x2cf)],'drawingId':this[_0x341a3e(0x373)]};}[_0x13ba7a(0x2b1)](_0x4a6f6){const _0x122825=_0x13ba7a;_0x4a6f6[_0x122825(0x42a)]!==void 0x0&&(this['_shapeId']=_0x4a6f6[_0x122825(0x42a)]),_0x4a6f6[_0x122825(0x216)]!==void 0x0&&(this['_adjName']=_0x4a6f6[_0x122825(0x216)]),_0x4a6f6[_0x122825(0x26e)]!==void 0x0&&(this[_0x122825(0x35d)]=_0x4a6f6[_0x122825(0x26e)]),_0x4a6f6[_0x122825(0x354)]!==void 0x0&&(this['_subUnitId']=_0x4a6f6[_0x122825(0x354)]),this[_0x122825(0x3e2)]({'width':_0x4a6f6[_0x122825(0x1dd)],'height':_0x4a6f6['height']});}[_0x13ba7a(0x2fa)](_0x4f88f0){const _0x46e029=_0x13ba7a;_0x3458ba[_0x46e029(0x4da)]['drawWith'](_0x4f88f0,{'radius':_0xd67e3f[_0x46e029(0x225)][_0x46e029(0x1d3)],'fill':_0xd67e3f[_0x46e029(0x225)]['adjHandleFill'],'stroke':_0xd67e3f['ShapeDefaultConfig']['adjHandleStroke'],'strokeWidth':0x1,'evented':!0x0});}};function _0x174396(_0x2a4618,_0x1bf059){return function(_0x155de9,_0x2a1330){_0x1bf059(_0x155de9,_0x2a1330,_0x2a4618);};}function _0x12f75a(_0x23edc4,_0xc6f380,_0xbf811,_0x407a1c){const _0x3fd3f5=_0x13ba7a;var _0x4aa284=arguments[_0x3fd3f5(0x45b)],_0x4dd386=_0x4aa284<0x3?_0xc6f380:_0x407a1c===null?_0x407a1c=Object[_0x3fd3f5(0x3ed)](_0xc6f380,_0xbf811):_0x407a1c,_0x45c30f;if(typeof Reflect==_0x3fd3f5(0x276)&&typeof Reflect['decorate']==_0x3fd3f5(0x304))_0x4dd386=Reflect[_0x3fd3f5(0x230)](_0x23edc4,_0xc6f380,_0xbf811,_0x407a1c);else{for(var _0x15fb5=_0x23edc4['length']-0x1;_0x15fb5>=0x0;_0x15fb5--)(_0x45c30f=_0x23edc4[_0x15fb5])&&(_0x4dd386=(_0x4aa284<0x3?_0x45c30f(_0x4dd386):_0x4aa284>0x3?_0x45c30f(_0xc6f380,_0xbf811,_0x4dd386):_0x45c30f(_0xc6f380,_0xbf811))||_0x4dd386);}return _0x4aa284>0x3&&_0x4dd386&&Object[_0x3fd3f5(0x4d8)](_0xc6f380,_0xbf811,_0x4dd386),_0x4dd386;}let _0x5191eb=class extends _0x10e5f9['Disposable']{constructor(_0x3664d7,_0x712e95,_0xcad439,_0x312a35,_0x1d5052,_0x505667){const _0x59dc62=_0x13ba7a;super(),this[_0x59dc62(0x3c5)]=_0x3664d7,this['_sheetsShapeService']=_0x712e95,this[_0x59dc62(0x31e)]=_0xcad439,this[_0x59dc62(0x592)]=_0x312a35,this[_0x59dc62(0x19c)]=_0x1d5052,this[_0x59dc62(0x306)]=_0x505667,_0x5ae661(this,_0x59dc62(0x2e6),new Map()),this[_0x59dc62(0x47f)](this['_shapeFormulaService']['presentationChanged$']['subscribe'](_0x15445d=>{const _0x455c0f=_0x59dc62;var _0x42d571;(_0x42d571=this[_0x455c0f(0x2e6)][_0x455c0f(0x468)](this[_0x455c0f(0x3b9)](_0x15445d[_0x455c0f(0x26e)],_0x15445d[_0x455c0f(0x354)],_0x15445d['shapeId'])))==null||_0x42d571[_0x455c0f(0x34a)](_0x382077=>_0x382077[_0x455c0f(0x4aa)](_0x15445d[_0x455c0f(0x32c)],_0x15445d[_0x455c0f(0x544)]));})),this[_0x59dc62(0x47f)](this['_drawingManagerService'][_0x59dc62(0x1f5)][_0x59dc62(0x358)](_0x48b4a8=>{const _0x57191c=_0x59dc62;_0x48b4a8[_0x57191c(0x34a)](_0xd88c09=>{const _0x1f28d8=_0x57191c;this[_0x1f28d8(0x306)][_0x1f28d8(0x21a)]({'unitId':_0xd88c09['unitId'],'subUnitId':_0xd88c09[_0x1f28d8(0x354)],'shapeId':_0xd88c09[_0x1f28d8(0x272)]}),this[_0x1f28d8(0x2e6)][_0x1f28d8(0x19b)](this['_formulaKey'](_0xd88c09['unitId'],_0xd88c09['subUnitId'],_0xd88c09[_0x1f28d8(0x272)]));});}));}[_0x13ba7a(0x4e7)](_0x477902,_0x19a35e,_0x25246c){const _0x4246d9=_0x13ba7a;let {transform:_0xa5c6ee,drawingType:_0x34df82,srcRect:_0x43f98e,prstGeom:_0x483571,groupId:_0x4370ab,unitId:_0xe8fab6,subUnitId:_0x53e65e,drawingId:_0x2cb877,isMultiTransform:_0x3bfa32,transforms:_0x37a4f2,hidden:_0x39a62e,selectable:_0x1a2615}=_0x477902;if(_0x34df82!==_0x10e5f9[_0x4246d9(0x2e1)][_0x4246d9(0x20d)]||!this[_0x4246d9(0x3c5)][_0x4246d9(0x391)]()||_0xa5c6ee==null)return;let _0x5569f5=this[_0x4246d9(0x3c5)][_0x4246d9(0x4eb)](),_0x42802a=_0x3bfa32&&_0x37a4f2?_0x37a4f2:[_0xa5c6ee],_0x2cfd28=[];for(let _0x50f97c of _0x42802a){let {left:_0x213121,top:_0x55f49a,width:_0x4f681c,height:_0x120fd1,angle:_0xb41b03,flipX:_0x585186,flipY:_0x5ebf15,skewX:_0x82d406,skewY:_0x5550be}=_0x50f97c,_0x30880a=_0x42802a['indexOf'](_0x50f97c),_0x5cb8db=(0x0,_0x15864b[_0x4246d9(0x2df)])({'unitId':_0xe8fab6,'subUnitId':_0x53e65e,'drawingId':_0x2cb877},_0x3bfa32?_0x30880a:void 0x0),_0x8581e7=_0x19a35e['getObjectIncludeInGroup'](_0x5cb8db);if(_0x8581e7!=null){let _0x4c16d={'unitId':_0xe8fab6,'subUnitId':_0x53e65e,'shapeId':_0x2cb877};_0x8581e7 instanceof _0x402866&&this['refreshFormulaPresentation'](_0x8581e7,_0x4c16d),_0x8581e7['transformByState']({'left':_0x213121,'top':_0x55f49a,'width':_0x4f681c,'height':_0x120fd1,'angle':_0xb41b03,'flipX':_0x585186,'flipY':_0x5ebf15,'skewX':_0x82d406,'skewY':_0x5550be});continue;}let _0x3fd21c=this[_0x4246d9(0x3c5)][_0x4246d9(0x537)](_0xe8fab6,_0x53e65e),_0x2db25b=_0x3fd21c['indexOf'](_0x2cb877);if(_0x19a35e[_0x4246d9(0x1a7)](_0x5cb8db)||!this['_drawingManagerService']['getDrawingVisible']())continue;let _0x15a2bb=this['_sheetsShapeService'][_0x4246d9(0x2f5)](_0xe8fab6,_0x53e65e,_0x2cb877);if(!_0x15a2bb)continue;let _0x37c411=(0x0,_0xd67e3f[_0x4246d9(0x36a)])(_0x15a2bb[_0x4246d9(0x21e)]())?{..._0xba932b['SHAPE_EDITOR_TRANSFORMER_CONFIG'],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0xba932b[_0x4246d9(0x212)],_0x1ac42f=_0x15a2bb['getShapeData']()['formulaBinding'],_0xb34fe2={'unitId':_0xe8fab6,'subUnitId':_0x53e65e,'shapeId':_0x2cb877};_0x1ac42f&&this[_0x4246d9(0x306)][_0x4246d9(0x529)](_0xb34fe2,_0x1ac42f);let _0x2ff9bf=new _0x402866(_0x5cb8db,{..._0x50f97c,'zIndex':_0x2db25b===-0x1?_0x3fd21c[_0x4246d9(0x45b)]-0x1:_0x2db25b,'shapeModel':_0x15a2bb,'localeService':this[_0x4246d9(0x31e)],'shapeId':_0x2cb877,'unitId':_0xe8fab6,'subUnitId':_0x53e65e,'visible':_0x39a62e!==!0x0,'evented':_0x1a2615!==!0x1,'formulaPresentation':_0x1ac42f?this[_0x4246d9(0x306)][_0x4246d9(0x543)](_0xb34fe2):void 0x0,'animateFormulaPresentation':(_0x1ac42f==null?void 0x0:_0x1ac42f[_0x4246d9(0x544)])!==!0x1,'transformerConfig':_0x37c411});if(_0x1ac42f){let _0x4a0a32=this[_0x4246d9(0x3b9)](_0xe8fab6,_0x53e65e,_0x2cb877),_0x19f891=this[_0x4246d9(0x2e6)]['get'](_0x4a0a32)??new Set();_0x19f891['add'](_0x2ff9bf),this[_0x4246d9(0x2e6)][_0x4246d9(0x455)](_0x4a0a32,_0x19f891);}_0x19a35e[_0x4246d9(0x412)](_0x2ff9bf,_0x3458ba[_0x4246d9(0x4b5)]),_0x5569f5&&_0x19a35e[_0x4246d9(0x446)](_0x2ff9bf),_0x4370ab&&(0x0,_0x2a7f32['insertGroupObject'])({'drawingId':_0x4370ab,'unitId':_0xe8fab6,'subUnitId':_0x53e65e},_0x2ff9bf,_0x19a35e,this[_0x4246d9(0x3c5)]),_0x483571!=null&&_0x2ff9bf[_0x4246d9(0x30e)](_0x483571),_0x43f98e!=null&&_0x2ff9bf[_0x4246d9(0x2e4)](_0x43f98e);let _0x3572cf=this['_loadShapePictureFill'](_0x2ff9bf,_0x15a2bb[_0x4246d9(0x434)]());if(_0x3572cf){var _0xde7557;_0x25246c==null||(_0xde7557=_0x25246c['resourceCollector'])==null||_0xde7557['add'](_0x3572cf);}_0x2cfd28[_0x4246d9(0x1b2)](_0x2ff9bf);}return _0x2cfd28;}[_0x13ba7a(0x3b9)](_0x461920,_0x4b872e,_0xdcdbe){return _0x461920+'\x00'+_0x4b872e+'\x00'+_0xdcdbe;}['refreshFormulaPresentation'](_0x405547,_0x5bcec3){const _0x374bc1=_0x13ba7a;let _0x1480c0=this[_0x374bc1(0x56c)][_0x374bc1(0x2f5)](_0x5bcec3[_0x374bc1(0x26e)],_0x5bcec3[_0x374bc1(0x354)],_0x5bcec3['shapeId']),_0x40fe9f=_0x1480c0==null?void 0x0:_0x1480c0[_0x374bc1(0x434)]()[_0x374bc1(0x1c2)],_0x53f908=this[_0x374bc1(0x3b9)](_0x5bcec3[_0x374bc1(0x26e)],_0x5bcec3['subUnitId'],_0x5bcec3['shapeId']);if(_0x40fe9f){this['_shapeFormulaService'][_0x374bc1(0x529)](_0x5bcec3,_0x40fe9f);let _0xe652e0=this[_0x374bc1(0x2e6)]['get'](_0x53f908)??new Set();_0xe652e0[_0x374bc1(0x278)](_0x405547),this[_0x374bc1(0x2e6)]['set'](_0x53f908,_0xe652e0);}else{var _0x16e1e9;this[_0x374bc1(0x306)]['unregister'](_0x5bcec3),(_0x16e1e9=this[_0x374bc1(0x2e6)]['get'](_0x53f908))==null||_0x16e1e9[_0x374bc1(0x19b)](_0x405547);}_0x405547[_0x374bc1(0x4aa)](_0x40fe9f?this[_0x374bc1(0x306)][_0x374bc1(0x543)](_0x5bcec3):void 0x0,(_0x40fe9f==null?void 0x0:_0x40fe9f[_0x374bc1(0x544)])!==!0x1);}['refreshShapeFillImage'](_0x517259){const _0x33a6b1=_0x13ba7a;let _0x470f07=_0x517259['shapeModel']['getShapeData'](),_0x2c559c=_0x470f07['fill'];if(!_0x2c559c||_0x2c559c[_0x33a6b1(0x55c)]!==_0xd67e3f[_0x33a6b1(0x37a)]['PictureFill']||!_0x2c559c[_0x33a6b1(0x4a0)]){_0x517259[_0x33a6b1(0x1ad)](void 0x0);return;}this[_0x33a6b1(0x547)](_0x517259,_0x470f07);}[_0x13ba7a(0x547)](_0x49b046,_0x25a902){const _0x803e65=_0x13ba7a;let _0x26b3ed=_0x25a902[_0x803e65(0x4ac)];if(!_0x26b3ed||_0x26b3ed[_0x803e65(0x55c)]!==_0xd67e3f['ShapeFillEnum'][_0x803e65(0x3a8)]||!_0x26b3ed[_0x803e65(0x4a0)])return;let _0x514576=_0x26b3ed[_0x803e65(0x4a0)],_0x1241c8=_0x26b3ed[_0x803e65(0x4af)]??_0xd67e3f['ImageSourceTypeEnum']['URL'],_0x195f7a=this[_0x803e65(0x592)]['getImageSourceCache'](_0x514576,_0x1241c8);if(_0x195f7a){_0x49b046[_0x803e65(0x1ad)](_0x195f7a);return;}return this[_0x803e65(0x1ea)](_0x49b046,_0x514576,_0x1241c8);}async[_0x13ba7a(0x1ea)](_0x96e1d8,_0x4f79c3,_0x1558ff){const _0x4a4504=_0x13ba7a;let _0x45116d;try{if(_0x1558ff===_0xd67e3f[_0x4a4504(0x573)][_0x4a4504(0x2e5)])_0x45116d=await this[_0x4a4504(0x592)][_0x4a4504(0x3de)](_0x4f79c3);else{if(_0x1558ff===_0xd67e3f[_0x4a4504(0x573)][_0x4a4504(0x59c)])try{_0x45116d=await this[_0x4a4504(0x19c)]['getImage'](_0x4f79c3);}catch{_0x45116d=_0x4f79c3;}else _0x45116d=_0x4f79c3;}}catch(_0x32da3e){console[_0x4a4504(0x4fe)](_0x4a4504(0x29c),_0x32da3e);return;}await new Promise(_0x35f67b=>{const _0x419126=_0x4a4504;let _0x3adc02=new window[(_0x419126(0x4a3))]();_0x3adc02['onload']=()=>{const _0x2e87f3=_0x419126;this[_0x2e87f3(0x592)]['addImageSourceCache'](_0x4f79c3,_0x1558ff,_0x3adc02),_0x96e1d8['setFillImage'](_0x3adc02),_0x35f67b();},_0x3adc02[_0x419126(0x23d)]=()=>{const _0x1521b3=_0x419126;console[_0x1521b3(0x4fe)](_0x1521b3(0x4be),_0x4f79c3),_0x35f67b();},_0x3adc02[_0x419126(0x3c3)]=_0x45116d;});}};_0x5191eb=_0x12f75a([_0x174396(0x0,_0x15864b[_0x13ba7a(0x4e8)]),_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x2f2bb5[_0x13ba7a(0x4d3)])),_0x174396(0x2,(0x0,_0x10e5f9['Inject'])(_0x10e5f9[_0x13ba7a(0x482)])),_0x174396(0x3,_0x10e5f9[_0x13ba7a(0x2f1)]),_0x174396(0x4,_0x10e5f9['IURLImageService']),_0x174396(0x5,(0x0,_0x10e5f9['Inject'])(_0x1397ca[_0x13ba7a(0x485)]))],_0x5191eb);let _0x5507d6=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0x55f31d,_0xee006c,_0x4adb43,_0x53ca0b,_0x96143c,_0x585f2c){const _0x361097=_0x13ba7a;super(),this[_0x361097(0x3c5)]=_0x55f31d,this[_0x361097(0x56c)]=_0xee006c,this['_renderManagerService']=_0x4adb43,this[_0x361097(0x599)]=_0x53ca0b,this['_univerInstanceService']=_0x96143c,this['_commandService']=_0x585f2c,_0x5ae661(this,'_activeShapeId',null),_0x5ae661(this,_0x361097(0x35d),null),_0x5ae661(this,_0x361097(0x2cf),null),_0x5ae661(this,'_activeShapeAdjustPointList',void 0x0),_0x5ae661(this,_0x361097(0x469),[]),_0x5ae661(this,_0x361097(0x2be),0x0),_0x5ae661(this,_0x361097(0x477),0x0),_0x5ae661(this,_0x361097(0x49c),0x0),_0x5ae661(this,_0x361097(0x488),0x0),_0x5ae661(this,_0x361097(0x267),!0x1),_0x5ae661(this,_0x361097(0x328),void 0x0),_0x5ae661(this,_0x361097(0x223),void 0x0),_0x5ae661(this,_0x361097(0x27d),void 0x0),_0x5ae661(this,'_adjHandlerPointerUp',void 0x0),_0x5ae661(this,_0x361097(0x32b),!0x1),this[_0x361097(0x1fe)](),this[_0x361097(0x36b)]();}['_getShapeAdjustPointListById'](_0x3116d1,_0x575caa,_0x43d4b6){const _0x19388d=_0x13ba7a;let _0x536fec=this[_0x19388d(0x56c)][_0x19388d(0x2f5)](_0x3116d1,_0x575caa,_0x43d4b6);if(_0x536fec)return _0x536fec['getDrawingPoints']();}[_0x13ba7a(0x200)](){this['_clearShapeAdjustControls']();}[_0x13ba7a(0x348)](){const _0x1de88a=_0x13ba7a;this[_0x1de88a(0x54c)](!0x0);}[_0x13ba7a(0x3bb)](_0x4d8a2c){const _0x197b6d=_0x13ba7a;this[_0x197b6d(0x32b)]=_0x4d8a2c;}['_getShapeAdjustInfosById'](_0x2aeea2,_0x470a11,_0x18bc25,_0x56d73d){const _0x19180d=_0x13ba7a;let _0x596db8=this['_sheetsShapeService'][_0x19180d(0x2f5)](_0x2aeea2,_0x470a11,_0x18bc25);if(_0x596db8)return _0x596db8[_0x19180d(0x495)](_0x56d73d);}[_0x13ba7a(0x385)](_0x21744f=!0x1){const _0x3489c3=_0x13ba7a;if(this[_0x3489c3(0x35d)]===null||this['_subUnitId']===null||this['_activeShapeId']===null)return;let _0x246e27=this[_0x3489c3(0x2e2)][_0x3489c3(0x57f)](this[_0x3489c3(0x35d)]);if(!_0x246e27||!_0x246e27[_0x3489c3(0x39e)](_0x189be3['SheetSkeletonManagerService'])['getCurrentSkeleton']())return;let {scene:_0x3a2046}=_0x246e27,_0x11ac9c={'unitId':this[_0x3489c3(0x35d)],'subUnitId':this[_0x3489c3(0x2cf)],'drawingId':this['_activeShapeId']},_0x594313=this[_0x3489c3(0x3c5)][_0x3489c3(0x3db)](_0x11ac9c),{transform:_0xe59366}=_0x594313;if(!_0xe59366||_0x594313['drawingType']!==_0x10e5f9[_0x3489c3(0x2e1)][_0x3489c3(0x20d)])return;let {left:_0x100118,top:_0x417c39,width:_0x2f31a9,height:_0x155c22,flipX:_0x4214aa,flipY:_0x30c768,angle:_0x88bba4=0x0}=_0xe59366;if(_0x100118===void 0x0||_0x417c39===void 0x0)return;if(_0x21744f){let _0x562dc4=this[_0x3489c3(0x56c)][_0x3489c3(0x2f5)](this[_0x3489c3(0x35d)],this['_subUnitId'],this['_activeShapeId']);_0x562dc4==null||_0x562dc4['updateContext']({'width':_0x2f31a9??0x0,'height':_0x155c22??0x0}),this[_0x3489c3(0x406)]=_0x562dc4==null?void 0x0:_0x562dc4[_0x3489c3(0x524)]();}let _0x3264ca=this['_activeShapeAdjustPointList'];for(let _0x453808=0x0;_0x453808<_0x3264ca['length'];_0x453808++){let _0x5160e5=_0x3264ca[_0x453808],_0x45b43f=_0x5160e5['x'],_0xcd31c4=_0x5160e5['y'];if(_0x4214aa&&(_0x45b43f=(_0x2f31a9||0x0)-_0x45b43f),_0x30c768&&(_0xcd31c4=(_0x155c22||0x0)-_0xcd31c4),_0x88bba4!==0x0){let _0x5662ff=(_0x2f31a9||0x0)/0x2,_0x568b00=(_0x155c22||0x0)/0x2,_0x3ba90a=_0x88bba4*Math['PI']/0xb4,_0x75da0=Math['cos'](_0x3ba90a),_0x1bcbbe=Math[_0x3489c3(0x515)](_0x3ba90a),_0x279366=_0x45b43f-_0x5662ff,_0x48ea57=_0xcd31c4-_0x568b00;_0x45b43f=_0x5662ff+(_0x279366*_0x75da0-_0x48ea57*_0x1bcbbe),_0xcd31c4=_0x568b00+(_0x279366*_0x1bcbbe+_0x48ea57*_0x75da0);}let _0x43388e={'x':_0x45b43f,'y':_0xcd31c4,'adjName':_0x5160e5['adjName']};this[_0x3489c3(0x232)](_0x3a2046,_0x43388e,_0x43388e['adjName'],_0x100118,_0x417c39,this['_unitId'],this[_0x3489c3(0x2cf)]);}}[_0x13ba7a(0x54c)](_0x1fa1f1=!0x1){const _0x2cd4b8=_0x13ba7a;_0x1fa1f1&&(this[_0x2cd4b8(0x33c)](),this[_0x2cd4b8(0x385)](_0x1fa1f1));}[_0x13ba7a(0x232)](_0x1600c5,_0x2a2086,_0x3c8022,_0x49ae34,_0x2334e9,_0x1963c4,_0x2a9e5d){const _0x383ff6=_0x13ba7a;if(!this['_activeShapeId'])return;let _0x1f3ef5=_0x1600c5['getObjectIncludeInGroup'](_0x383ff6(0x4ca)+this[_0x383ff6(0x299)]+'-'+_0x3c8022);if(_0x1f3ef5){_0x1f3ef5['transformByState']({'left':_0x2a2086['x']+_0x49ae34-_0xd67e3f['ShapeDefaultConfig'][_0x383ff6(0x1d3)],'top':_0x2a2086['y']+_0x2334e9-_0xd67e3f['ShapeDefaultConfig'][_0x383ff6(0x1d3)]});return;}let _0x858b9d={'left':_0x2a2086['x']+_0x49ae34-_0xd67e3f[_0x383ff6(0x225)][_0x383ff6(0x1d3)],'top':_0x2a2086['y']+_0x2334e9-_0xd67e3f[_0x383ff6(0x225)]['adjHandleSize'],'adjName':_0x3c8022,'shapeId':this[_0x383ff6(0x299)],'unitId':_0x1963c4,'subUnitId':_0x2a9e5d,'width':_0xd67e3f[_0x383ff6(0x225)][_0x383ff6(0x1d3)]+0x8,'height':_0xd67e3f['ShapeDefaultConfig'][_0x383ff6(0x1d3)]+0x8,'zIndex':_0x3458ba[_0x383ff6(0x4b5)]+0x1,'evented':!0x0},_0x290893=new _0x537ea9('shape-adjust-point-'+this[_0x383ff6(0x299)]+'-'+_0x3c8022,_0x858b9d);this[_0x383ff6(0x469)][_0x383ff6(0x1b2)](_0x290893),this[_0x383ff6(0x3ea)](_0x290893,_0x1600c5,_0x3c8022),_0x1600c5[_0x383ff6(0x412)](_0x290893,_0x3458ba[_0x383ff6(0x4b5)]+0x1);}['_clearShapeAdjustControls'](){const _0x413e26=_0x13ba7a;this[_0x413e26(0x469)]['length']!==0x0&&(this[_0x413e26(0x469)][_0x413e26(0x34a)](_0x43da45=>{const _0xd4a123=_0x413e26;_0x43da45[_0xd4a123(0x206)]();}),this[_0x413e26(0x469)]=[]);}[_0x13ba7a(0x3fc)](){const _0x5c18e1=_0x13ba7a;this[_0x5c18e1(0x385)]();}['_getScrollInfo'](_0x198923,_0x2fd553){const _0x3410ed=_0x13ba7a;var _0x43aa52;let _0x1e69f5={'x':0x0,'y':0x0};if(!_0x198923||!_0x2fd553)return _0x1e69f5;let _0x44db17=this['_renderManagerService'][_0x3410ed(0x57f)](_0x198923);if(!_0x44db17||!_0x44db17[_0x3410ed(0x39e)](_0x189be3[_0x3410ed(0x277)])[_0x3410ed(0x50c)](_0x2fd553))return _0x1e69f5;let _0x4912f8=_0x44db17[_0x3410ed(0x39e)](_0x189be3[_0x3410ed(0x51c)]),_0x2603b4=_0x4912f8==null?void 0x0:_0x4912f8[_0x3410ed(0x294)]();if(!_0x2603b4)return _0x1e69f5;let _0x317246=(_0x43aa52=this[_0x3410ed(0x583)][_0x3410ed(0x4a9)](_0x198923))==null?void 0x0:_0x43aa52[_0x3410ed(0x1ed)](_0x2fd553);if(!_0x317246)return _0x1e69f5;let _0x3f6a5d=(0x0,_0x189be3[_0x3410ed(0x501)])(_0x2603b4[_0x3410ed(0x3b6)],_0x2603b4['sheetViewStartColumn'],_0x44db17[_0x3410ed(0x2a7)],_0x317246);return _0x3f6a5d?{'x':_0x3f6a5d[_0x3410ed(0x1ff)],'y':_0x3f6a5d['viewportScrollY']}:_0x1e69f5;}['_getZoomRatio'](_0x35bd63,_0x151e9b){const _0x108040=_0x13ba7a;var _0x1c62e9;let _0x52950b=(_0x1c62e9=this[_0x108040(0x583)]['getUnit'](_0x35bd63))==null?void 0x0:_0x1c62e9[_0x108040(0x1ed)](_0x151e9b);return(_0x52950b==null?void 0x0:_0x52950b[_0x108040(0x461)]())??0x1;}[_0x13ba7a(0x3ea)](_0x33bff8,_0x3e3955,_0x38e9e7){const _0x2764ab=_0x13ba7a;this[_0x2764ab(0x47f)]((0x0,_0x10e5f9['toDisposable'])(_0x33bff8[_0x2764ab(0x27e)][_0x2764ab(0x2f6)]((_0x3cc4d2,_0x1c7efe)=>{const _0xea0773=_0x2764ab;var _0x24c369,_0x5865ec,_0x25b99b,_0x7eb598;let _0x264be0=_0x33bff8[_0xea0773(0x2c8)]();this[_0xea0773(0x328)]=this[_0xea0773(0x530)](_0x264be0[_0xea0773(0x26e)],_0x264be0[_0xea0773(0x354)],_0x264be0['drawingId'],_0x38e9e7),this['_activeShapeModel']=this['_sheetsShapeService'][_0xea0773(0x2f5)](_0x264be0[_0xea0773(0x26e)],_0x264be0[_0xea0773(0x354)],_0x264be0[_0xea0773(0x272)]);let _0x5c112a=this[_0xea0773(0x3c5)][_0xea0773(0x3db)]({'unitId':this[_0xea0773(0x35d)],'subUnitId':this['_subUnitId'],'drawingId':this[_0xea0773(0x299)]}),{transform:_0x3713f3}=_0x5c112a;if(_0x3713f3){let {left:_0x41176d,top:_0x51ae89,width:_0x33fea8,height:_0x387661}=_0x3713f3;this[_0xea0773(0x2be)]=_0x41176d||0x0,this[_0xea0773(0x477)]=_0x51ae89||0x0,this[_0xea0773(0x49c)]=_0x33fea8||0x0,this[_0xea0773(0x488)]=_0x387661||0x0;}let _0xed9f0f=!!((_0x24c369=_0x5c112a[_0xea0773(0x474)])!=null&&_0x24c369[_0xea0773(0x553)]),_0xed29f6=!!((_0x5865ec=_0x5c112a[_0xea0773(0x474)])!=null&&_0x5865ec[_0xea0773(0x3ec)]),_0x399194=((_0x25b99b=_0x5c112a[_0xea0773(0x474)])==null?void 0x0:_0x25b99b[_0xea0773(0x36f)])||0x0;this[_0xea0773(0x267)]=!0x0,_0x3e3955[_0xea0773(0x1ce)]();let _0x6bd1d1={...((_0x7eb598=this['_activeAdjustInfo'])==null?void 0x0:_0x7eb598[_0xea0773(0x3b0)])??{}};this[_0xea0773(0x27d)]=_0x3e3955[_0xea0773(0x3af)][_0xea0773(0x2f6)]((_0x24863b,_0x20d52e)=>{const _0x37f03d=_0xea0773;if(!this['_isStartAdjusting'])return;let {offsetX:_0x51968c,offsetY:_0x189899}=_0x24863b,_0x2197f8=this[_0x37f03d(0x328)];if(this[_0x37f03d(0x223)]&&_0x2197f8){_0x3e3955[_0x37f03d(0x1ce)](),_0x3e3955['setCursor'](_0x3458ba['CURSOR_TYPE']['CROSSHAIR']);let _0x116a8c={'left':0x0,'top':0x0,'width':this[_0x37f03d(0x49c)],'height':this[_0x37f03d(0x488)]},_0x3f90c9=this['_getScrollInfo'](this['_unitId'],this['_subUnitId']),_0x101961=this['_getZoomRatio'](this['_unitId'],this['_subUnitId']),_0x230e0f=_0x51968c/_0x101961+_0x3f90c9['x']-this[_0x37f03d(0x2be)],_0x34fe49=_0x189899/_0x101961+_0x3f90c9['y']-this[_0x37f03d(0x477)];if(_0x399194!==0x0){let _0x302d81=this[_0x37f03d(0x49c)]/0x2,_0x3e5475=this[_0x37f03d(0x488)]/0x2,_0x3a4436=_0x399194*Math['PI']/0xb4,_0x133469=Math['cos'](_0x3a4436),_0x194d45=Math[_0x37f03d(0x515)](_0x3a4436),_0xab0ea8=_0x230e0f-_0x302d81,_0x235e1d=_0x34fe49-_0x3e5475;_0x230e0f=_0x302d81+(_0xab0ea8*_0x133469+_0x235e1d*_0x194d45),_0x34fe49=_0x3e5475+(-_0xab0ea8*_0x194d45+_0x235e1d*_0x133469);}_0xed9f0f&&(_0x230e0f=this['_baseShapeWidth']-_0x230e0f),_0xed29f6&&(_0x34fe49=this[_0x37f03d(0x488)]-_0x34fe49);let _0x50fd8f={'x':_0x230e0f,'y':_0x34fe49},_0x170cf4=this[_0x37f03d(0x223)]['calcAdjValues'](_0x116a8c,_0x50fd8f,_0x2197f8,_0xed9f0f,_0xed29f6);if(Object[_0x37f03d(0x533)](_0x170cf4)[_0x37f03d(0x45b)]===0x0)return;for(let [_0x27696f,_0x36c364]of Object[_0x37f03d(0x4d1)](_0x170cf4))this['_activeShapeModel']['setAdjustValueByName'](_0x27696f,_0x36c364);this[_0x37f03d(0x223)][_0x37f03d(0x523)]({'width':this['_baseShapeWidth'],'height':this[_0x37f03d(0x488)]});let _0x346f19=this[_0x37f03d(0x3c5)][_0x37f03d(0x3db)]({'unitId':_0x264be0['unitId'],'subUnitId':_0x264be0['subUnitId'],'drawingId':_0x264be0[_0x37f03d(0x272)]});_0x346f19&&(this['_sheetDrawingShapeRenderController']['renderDrawingShape'](_0x346f19,_0x3e3955),this['_activeShapeAdjustPointList']=this[_0x37f03d(0x40e)](_0x264be0[_0x37f03d(0x26e)],_0x264be0['subUnitId'],_0x264be0['drawingId']),this['_updateAdjustControlPositions']());}_0x20d52e[_0x37f03d(0x49f)]();}),this[_0xea0773(0x234)]=_0x3e3955[_0xea0773(0x54b)][_0xea0773(0x2f6)]((_0x26f419,_0x11f2a7)=>{const _0x2b00d1=_0xea0773;this[_0x2b00d1(0x27d)]['unsubscribe'](),this['_adjHandlerPointerUp'][_0x2b00d1(0x539)](),_0x3e3955[_0x2b00d1(0x22f)]();let _0x83c1ca=this['_activeAdjustInfo'];if(_0x83c1ca){let _0x544021=_0x264be0[_0x2b00d1(0x26e)],_0x57205c=_0x264be0[_0x2b00d1(0x354)],_0x50c06b=_0x264be0[_0x2b00d1(0x272)],_0x5910a5={};for(let _0x373023 of Object['keys'](_0x83c1ca[_0x2b00d1(0x3b0)])){var _0x4bf65e;let _0x19e159=(_0x4bf65e=this[_0x2b00d1(0x223)])==null?void 0x0:_0x4bf65e[_0x2b00d1(0x29f)](_0x373023);_0x19e159!==void 0x0&&(_0x5910a5[_0x373023]=_0x19e159);}Object['keys'](_0x5910a5)[_0x2b00d1(0x45b)]>0x0&&_0x2b1bec(this[_0x2b00d1(0x558)],_0x544021,_0x57205c,_0x50c06b,{'oldShapeData':{'adjustValues':_0x6bd1d1}},{'adjustValues':_0x5910a5});}this[_0x2b00d1(0x328)]=void 0x0,this[_0x2b00d1(0x223)]=void 0x0,this[_0x2b00d1(0x267)]=!0x1,_0x11f2a7['stopPropagation'](),_0x3e3955[_0x2b00d1(0x51a)]();}),_0x1c7efe[_0xea0773(0x49f)]();})));}[_0x13ba7a(0x36b)](){const _0x1f681d=_0x13ba7a;let _0x3026c7=this[_0x1f681d(0x583)][_0x1f681d(0x3d3)](_0x10e5f9[_0x1f681d(0x503)][_0x1f681d(0x450)]);this[_0x1f681d(0x47f)](_0x3026c7[_0x1f681d(0x560)]((0x0,_0x364ff4[_0x1f681d(0x289)])(_0x50f7a9=>_0x50f7a9?_0x50f7a9[_0x1f681d(0x259)]['pipe']((0x0,_0x364ff4[_0x1f681d(0x289)])(_0x4e6301=>{const _0x168d5c=_0x1f681d;if(!_0x4e6301)return _0x364ff4[_0x168d5c(0x362)];let _0x2b65f6=_0x50f7a9['getUnitId'](),_0x4fd6ff=this[_0x168d5c(0x2e2)][_0x168d5c(0x57f)](_0x2b65f6),_0x1c98f9=_0x4fd6ff==null?void 0x0:_0x4fd6ff['scene'];return _0x1c98f9?(0x0,_0x364ff4['of'])(_0x1c98f9):_0x364ff4['EMPTY'];})):_0x364ff4[_0x1f681d(0x362)]))[_0x1f681d(0x358)](_0x1aa19d=>{const _0x2ee125=_0x1f681d;let _0x20c8ba=_0x1aa19d[_0x2ee125(0x22d)]();this[_0x2ee125(0x47f)](_0x1aa19d[_0x2ee125(0x3af)][_0x2ee125(0x2f6)](()=>{const _0x4c1f39=_0x2ee125;this[_0x4c1f39(0x32b)];})),this[_0x2ee125(0x47f)](_0x20c8ba[_0x2ee125(0x202)][_0x2ee125(0x358)](_0x34ddb2=>{const _0xca3afb=_0x2ee125;let {objects:_0x177c5d}=_0x34ddb2;this[_0xca3afb(0x385)](),_0x177c5d!==null&&_0x177c5d[_0xca3afb(0x3ba)]===0x1&&_0x177c5d[_0xca3afb(0x1cb)]()[_0xca3afb(0x475)]()[_0xca3afb(0x472)]instanceof _0x402866&&this['setShouldShowAdjust'](!0x0);})),this[_0x2ee125(0x47f)](_0x20c8ba[_0x2ee125(0x42f)][_0x2ee125(0x358)](()=>{const _0x3f099c=_0x2ee125;this[_0x3f099c(0x32b)]&&this[_0x3f099c(0x33c)]();})),this[_0x2ee125(0x47f)](_0x1aa19d[_0x2ee125(0x54b)][_0x2ee125(0x2f6)](()=>{const _0x22d26e=_0x2ee125;this['_isShouldShowDrawingShapeAdjust']&&(this[_0x22d26e(0x3bb)](!0x1),this[_0x22d26e(0x385)]());})),this[_0x2ee125(0x47f)](_0x20c8ba[_0x2ee125(0x2dc)]['subscribe'](()=>{const _0x3f0a60=_0x2ee125;this['_unitId']&&this[_0x3f0a60(0x2cf)]&&this[_0x3f0a60(0x299)]&&this[_0x3f0a60(0x3c5)][_0x3f0a60(0x3db)]({'unitId':this[_0x3f0a60(0x35d)],'subUnitId':this[_0x3f0a60(0x2cf)],'drawingId':this['_activeShapeId']})&&(this['_activeShapeAdjustPointList']=this[_0x3f0a60(0x40e)](this[_0x3f0a60(0x35d)],this[_0x3f0a60(0x2cf)],this['_activeShapeId']),this[_0x3f0a60(0x3fc)]());}));}));}['_registerDrawingFocusChangeHandler'](){const _0x2a22a3=_0x13ba7a;this[_0x2a22a3(0x47f)](this[_0x2a22a3(0x558)][_0x2a22a3(0x1ac)](_0x5c1d79=>{const _0x6a40ed=_0x2a22a3;if(_0x5c1d79['id']!==_0x2f2bb5['UpdateSheetsShapeDataMutation']['id'])return;let {unitId:_0x7fabc6,subUnitId:_0x335783,shapeId:_0x180ee0}=_0x5c1d79[_0x6a40ed(0x352)];_0x7fabc6===this[_0x6a40ed(0x35d)]&&_0x335783===this[_0x6a40ed(0x2cf)]&&_0x180ee0===this[_0x6a40ed(0x299)]&&this['refreshAdjustControls']();})),this[_0x2a22a3(0x47f)](this[_0x2a22a3(0x3c5)][_0x2a22a3(0x332)]['subscribe'](_0x18066a=>{const _0x562fec=_0x2a22a3;if(_0x18066a['length']===0x1){let _0x563bf1=_0x18066a[0x0];if(_0x563bf1['drawingType']===_0x10e5f9[_0x562fec(0x2e1)][_0x562fec(0x20d)]&&this[_0x562fec(0x583)]['getUnitType'](_0x563bf1[_0x562fec(0x26e)])===_0x10e5f9[_0x562fec(0x503)][_0x562fec(0x450)]){this['_activeShapeId']=_0x563bf1[_0x562fec(0x272)];let {unitId:_0x1632c3,subUnitId:_0x2573ed}=_0x563bf1;this[_0x562fec(0x406)]=this[_0x562fec(0x40e)](_0x1632c3,_0x2573ed,this[_0x562fec(0x299)]),this[_0x562fec(0x35d)]=_0x1632c3,this[_0x562fec(0x2cf)]=_0x2573ed,this['_clearShapeAdjustControls'](),this[_0x562fec(0x385)]();return;}}this[_0x562fec(0x299)]=null,this[_0x562fec(0x406)]=void 0x0,this[_0x562fec(0x35d)]=null,this[_0x562fec(0x2cf)]=null,this[_0x562fec(0x33c)]();})),this[_0x2a22a3(0x47f)](this['_drawingManagerService'][_0x2a22a3(0x28e)]['subscribe'](_0x2d9427=>{const _0x351abb=_0x2a22a3;if(_0x2d9427[_0x351abb(0x45b)]===0x1){var _0x2f2c17;let _0x2ba62f=_0x2d9427[0x0];((_0x2f2c17=this[_0x351abb(0x3c5)]['getDrawingByParam'](_0x2ba62f))==null?void 0x0:_0x2f2c17[_0x351abb(0x52e)])===_0x10e5f9['DrawingTypeEnum'][_0x351abb(0x20d)]&&this[_0x351abb(0x54c)](!0x0);}})),this['disposeWithMe'](this[_0x2a22a3(0x3c5)][_0x2a22a3(0x1f5)][_0x2a22a3(0x358)](_0x3a5996=>{const _0x55c72a=_0x2a22a3;for(let _0x188a6a of _0x3a5996)this[_0x55c72a(0x299)]===_0x188a6a['drawingId']&&(this[_0x55c72a(0x299)]=null,this[_0x55c72a(0x406)]=void 0x0,this[_0x55c72a(0x35d)]=null,this['_subUnitId']=null,this[_0x55c72a(0x33c)]());}));}};_0x5507d6=_0x12f75a([_0x174396(0x0,_0x15864b['IDrawingManagerService']),_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x2f2bb5[_0x13ba7a(0x4d3)])),_0x174396(0x2,(0x0,_0x10e5f9['Inject'])(_0x3458ba[_0x13ba7a(0x2a5)])),_0x174396(0x3,(0x0,_0x10e5f9['Inject'])(_0x5191eb)),_0x174396(0x4,_0x10e5f9['IUniverInstanceService']),_0x174396(0x5,_0x10e5f9[_0x13ba7a(0x297)])],_0x5507d6);let _0x34de34={'id':_0x13ba7a(0x319),'type':_0x10e5f9['CommandType'][_0x13ba7a(0x215)],'handler':(_0x1dab06,_0x4ad171)=>{const _0x62e4be=_0x13ba7a;let _0x46d9eb=_0x1dab06[_0x62e4be(0x468)](_0x15864b[_0x62e4be(0x4e8)]),_0x3a0429=_0x1dab06[_0x62e4be(0x468)](_0x3458ba[_0x62e4be(0x2a5)]),_0x17b473=_0x1dab06[_0x62e4be(0x468)](_0x5507d6);if(_0x4ad171==null)return!0x0;if(_0x4ad171[_0x62e4be(0x45b)]>0x0){var _0x13c83e;let _0x2f5c4a=(_0x13c83e=_0x3a0429[_0x62e4be(0x57f)](_0x4ad171[0x0][_0x62e4be(0x26e)]))==null?void 0x0:_0x13c83e[_0x62e4be(0x2a7)];if(_0x2f5c4a){let {unitId:_0x519bf3,subUnitId:_0x5d6d13,drawingId:_0x52bad3}=_0x4ad171[0x0],_0xad6c2d=(0x0,_0x15864b[_0x62e4be(0x2df)])({'unitId':_0x519bf3,'subUnitId':_0x5d6d13,'drawingId':_0x52bad3},void 0x0),_0x584c12=_0x2f5c4a[_0x62e4be(0x1a7)](_0xad6c2d);if(_0x584c12){var _0x10a0e6;(_0x10a0e6=_0x3a0429[_0x62e4be(0x57f)](_0x4ad171[0x0][_0x62e4be(0x26e)]))==null||(_0x10a0e6=_0x10a0e6[_0x62e4be(0x2a7)][_0x62e4be(0x36c)]())==null||_0x10a0e6[_0x62e4be(0x3d8)](_0x584c12);}}_0x46d9eb[_0x62e4be(0x3f9)](_0x4ad171),_0x17b473['setShouldShowAdjust'](!0x1);}return!0x0;}},_0x313c0d={'type':_0x10e5f9['CommandType'][_0x13ba7a(0x45c)],'id':'sheet.command.menu-insert-shape','handler':async(_0x58ecb2,_0x4a861e)=>{const _0xebdd31=_0x13ba7a;let _0x437eb8=(0x0,_0x32abfe[_0xebdd31(0x39c)])(_0x58ecb2[_0xebdd31(0x468)](_0x10e5f9[_0xebdd31(0x41d)]));if(!_0x437eb8)return!0x1;let _0x3392b9=_0x58ecb2['get'](_0x32abfe[_0xebdd31(0x3cf)])[_0xebdd31(0x4fc)]();if(!_0x3392b9)return!0x1;let _0x2aec38=_0x58ecb2[_0xebdd31(0x468)](_0x10e5f9['ICommandService']),{unitId:_0xcb75ca,subUnitId:_0x56272e}=_0x437eb8,{value:_0x19c370,enhanceParams:_0x239a10}=_0x4a861e,{range:_0x35da8c}=_0x3392b9,_0x413ed7={'unitId':_0xcb75ca,'subUnitId':_0x56272e,'shapeType':_0x19c370,'range':_0x35da8c,'shapeId':(0x0,_0x10e5f9[_0xebdd31(0x30b)])()};if(_0x239a10){let _0x288c2c=(0x0,_0xd67e3f[_0xebdd31(0x36a)])(_0x19c370),_0x590407=_0x19c370===_0xd67e3f['ShapeTypeEnum'][_0xebdd31(0x1ae)];_0x288c2c&&(_0x239a10[_0xebdd31(0x313)]||_0x239a10[_0xebdd31(0x3c8)])&&(_0x413ed7[_0xebdd31(0x429)]={'ln':{'startArrow':_0x239a10[_0xebdd31(0x313)]?{'type':_0xd67e3f[_0xebdd31(0x1c9)][_0xebdd31(0x528)],'size':_0xd67e3f['ShapeArrowSizeEnum'][_0xebdd31(0x419)]}:void 0x0,'endArrow':_0x239a10[_0xebdd31(0x3c8)]?{'type':_0xd67e3f[_0xebdd31(0x1c9)]['Arrow'],'size':_0xd67e3f['ShapeArrowSizeEnum'][_0xebdd31(0x4c0)]}:void 0x0}}),_0x590407&&(_0x239a10[_0xebdd31(0x44d)]||_0x239a10[_0xebdd31(0x2d3)])&&(_0x413ed7[_0xebdd31(0x429)]=(0x0,_0x1397ca[_0xebdd31(0x270)])({'fill':{'fillType':_0xd67e3f[_0xebdd31(0x37a)][_0xebdd31(0x493)],'color':'#FFFFFF'},'isHorizontal':!!_0x239a10['horizontal'],'stroke':{'lineStrokeType':_0xd67e3f['ShapeLineTypeEnum']['SolidLine'],'width':0x1,'color':_0xebdd31(0x2b2)}}));}let _0x93ae23=_0x2aec38[_0xebdd31(0x1f8)](_0x2f2bb5[_0xebdd31(0x1dc)]['id'],_0x413ed7);return setTimeout(()=>{const _0x5315b7=_0xebdd31;_0x2aec38[_0x5315b7(0x274)](_0x34de34['id'],[{'unitId':_0xcb75ca,'subUnitId':_0x56272e,'drawingId':_0x413ed7[_0x5315b7(0x42a)]}]);},0xc8),_0x93ae23;}},_0x6fddbc=_0x13ba7a(0x52a),_0x4dafcd=_0x13ba7a(0x58b),_0x42484a=_0x13ba7a(0x1d4),_0x523b08=_0x13ba7a(0x3aa),_0x28b28e=(0x0,_0x10e5f9[_0x13ba7a(0x359)])(_0x13ba7a(0x262)),_0x41bb10='sheet.shape.text.float-menu',_0x3a0e82={'id':_0x13ba7a(0x4f8),'type':_0x10e5f9[_0x13ba7a(0x56b)][_0x13ba7a(0x45c)],'handler':(_0x441586,_0x3b1952)=>{const _0x1043fc=_0x13ba7a;let _0x554d10=_0x441586['get'](_0x187e10[_0x1043fc(0x546)]),_0x3cb88c=_0x441586[_0x1043fc(0x468)](_0x10e5f9[_0x1043fc(0x482)]),_0xa466db=_0x441586['get'](_0x10e5f9[_0x1043fc(0x41d)]),_0x14f056=_0x441586[_0x1043fc(0x468)](_0x10e5f9[_0x1043fc(0x297)]);return(0x0,_0x32abfe[_0x1043fc(0x39c)])(_0xa466db)?(_0x3b1952==null?void 0x0:_0x3b1952['value'])===_0x1043fc(0x30a)?(_0x554d10[_0x1043fc(0x30a)](_0x4dafcd),!0x0):(_0x554d10[_0x1043fc(0x269)]({'id':_0x4dafcd,'header':{'title':_0x3cb88c['t']('sheets-shape-ui.objectListPanel.title')},'children':{'label':_0x4dafcd},'onClose':()=>{const _0x56e284=_0x1043fc;_0x14f056['syncExecuteCommand'](_0x15864b[_0x56e284(0x2e8)]['id'],[]);},'width':0x168}),!0x0):!0x1;}},_0x47ad5b={'type':_0x10e5f9[_0x13ba7a(0x56b)][_0x13ba7a(0x215)],'id':_0x13ba7a(0x51e),'handler'(){return!0x0;}};function _0x6d2ea(_0x4e32ce){const _0xb3452=_0x13ba7a;let _0x48e2d2=_0x4e32ce[_0xb3452(0x468)](_0x15864b[_0xb3452(0x4e8)])[_0xb3452(0x1da)](),_0x7f7d9d=_0x48e2d2['length']===0x1?_0x48e2d2[0x0]:null;if(!_0x7f7d9d||_0x7f7d9d[_0xb3452(0x52e)]!==_0x10e5f9[_0xb3452(0x2e1)][_0xb3452(0x20d)])return null;let _0x48651c=_0x4e32ce[_0xb3452(0x468)](_0x2f2bb5[_0xb3452(0x4d3)]),_0x4b1523=_0x48651c[_0xb3452(0x42b)](_0x7f7d9d[_0xb3452(0x26e)],_0x7f7d9d['subUnitId'],_0x7f7d9d[_0xb3452(0x272)]),_0x5a4fc8=_0x48651c[_0xb3452(0x204)](_0x7f7d9d['unitId'],_0x7f7d9d[_0xb3452(0x354)],_0x7f7d9d[_0xb3452(0x272)]);return _0x4b1523===void 0x0||!_0x5a4fc8?null:{'drawing':_0x7f7d9d,'shapeData':_0x5a4fc8,'shapeType':_0x4b1523};}let _0x25693e={'id':'sheet.operation.apply-shape-quick-style','type':_0x10e5f9[_0x13ba7a(0x56b)][_0x13ba7a(0x215)],'handler':(_0x19528f,_0x3b1159)=>{const _0x5084da=_0x13ba7a;let _0x49b3d3=_0x6d2ea(_0x19528f),_0x4c8abb=(0x0,_0x1397ca[_0x5084da(0x471)])((_0x3b1159==null?void 0x0:_0x3b1159[_0x5084da(0x491)])??(_0x3b1159==null?void 0x0:_0x3b1159['value'])??'');if(!_0x49b3d3||!_0x4c8abb||_0x4c8abb['type']!==(0x0,_0x1397ca[_0x5084da(0x1b1)])(_0x49b3d3[_0x5084da(0x429)]))return!0x1;let _0x342270=(0x0,_0x1397ca[_0x5084da(0x1aa)])(_0x49b3d3['shapeData'],_0x4c8abb);if(!_0x342270)return!0x1;let {drawing:_0x2df4fd}=_0x49b3d3;return _0x19528f[_0x5084da(0x468)](_0x10e5f9['ICommandService'])[_0x5084da(0x274)](_0x6c1302['id'],{'unitId':_0x2df4fd[_0x5084da(0x26e)],'subUnitId':_0x2df4fd[_0x5084da(0x354)],'shapeId':_0x2df4fd[_0x5084da(0x272)],'shapeData':_0x342270,'oldShapeJSON':{'oldShapeData':_0x49b3d3[_0x5084da(0x429)]}});}},_0x18da86={'id':_0x13ba7a(0x1a2),'type':_0x10e5f9[_0x13ba7a(0x56b)]['OPERATION'],'handler':(_0xd9ea9c,_0x5e0c2a)=>{const _0xb4e519=_0x13ba7a;let _0x5ab80b=_0x6d2ea(_0xd9ea9c),_0x3e3ee4=(_0x5e0c2a==null?void 0x0:_0x5e0c2a[_0xb4e519(0x25e)])??(_0x5e0c2a==null?void 0x0:_0x5e0c2a['value']);if(!_0x5ab80b||!_0x3e3ee4||(0x0,_0xd67e3f[_0xb4e519(0x36a)])(_0x5ab80b['shapeType'])||(0x0,_0xd67e3f[_0xb4e519(0x36a)])(_0x3e3ee4))return!0x1;let _0x3f295d=(0x0,_0x1397ca[_0xb4e519(0x4ed)])(_0x5ab80b[_0xb4e519(0x429)],_0x3e3ee4);if(!_0x3f295d)return!0x1;let {drawing:_0x4895f6}=_0x5ab80b;return _0xd9ea9c[_0xb4e519(0x468)](_0x10e5f9['ICommandService'])['executeCommand'](_0x6c1302['id'],{'unitId':_0x4895f6[_0xb4e519(0x26e)],'subUnitId':_0x4895f6[_0xb4e519(0x354)],'shapeId':_0x4895f6['drawingId'],'shapeType':_0x3e3ee4,'shapeData':_0x3f295d,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x5ab80b['shapeType'],'oldShapeData':_0x5ab80b[_0xb4e519(0x429)]}});}},_0x29f473=class extends _0x10e5f9['Disposable']{constructor(_0xf29365,_0x40d972){const _0x509bc3=_0x13ba7a;super(),this['_clipService']=_0xf29365,this[_0x509bc3(0x3c5)]=_0x40d972,this[_0x509bc3(0x478)](),this['_clipService'][_0x509bc3(0x58a)](!0x0),this[_0x509bc3(0x47f)]({'dispose':()=>this['_clipService'][_0x509bc3(0x58a)](!0x1)});}['_registerImageShapeClipDelegate'](){const _0x36d216=_0x13ba7a;let _0x3a12e5=this[_0x36d216(0x54a)],_0x9df45d=new Map(),_0x43c318=_0x3a12e5['registerClipDelegate']((_0x18ef22,_0x8e42c9,_0x1f0015,_0x117e50,_0x3f0760)=>{const _0x506e8b=_0x36d216;let _0x56b049=_0x8e42c9;if(_0x56b049===_0xd67e3f['ShapeTypeEnum'][_0x506e8b(0x33f)]||_0x8e42c9===_0x506e8b(0x261))return!0x1;try{let _0x3eadbc=_0x9df45d[_0x506e8b(0x468)](_0x8e42c9);return _0x3eadbc||(_0x3eadbc=new _0xd67e3f[(_0x506e8b(0x48f))](_0x56b049,_0x506e8b(0x260)+_0x8e42c9),_0x9df45d['set'](_0x8e42c9,_0x3eadbc)),_0x3eadbc['clearAdjustValue'](),_0x3f0760&&Object[_0x506e8b(0x533)](_0x3f0760)['length']>0x0&&_0x3eadbc['setShapeData']({'adjustValues':_0x3f0760},!0x0),_0x3eadbc[_0x506e8b(0x523)]({'width':_0x1f0015,'height':_0x117e50}),_0x3eadbc[_0x506e8b(0x57e)](_0x18ef22,{'left':0x0,'top':0x0,'width':_0x1f0015,'height':_0x117e50});}catch{return!0x1;}});this[_0x36d216(0x47f)](_0x43c318),this[_0x36d216(0x47f)]({'dispose':()=>_0x9df45d[_0x36d216(0x1c1)]()});}[_0x13ba7a(0x242)](_0x45ee20,_0x18b4d8,_0x5a2d77,_0x41d4ea,_0x1ccf41){const _0x49d94a=_0x13ba7a;let _0x1df98c=this[_0x49d94a(0x3c5)]['getDrawingData'](_0x45ee20,_0x18b4d8);if(!_0x1df98c[_0x5a2d77])return;let _0x337641={..._0x1df98c[_0x5a2d77],'prstGeom':_0x41d4ea,'adjustValues':_0x1ccf41};this['_drawingManagerService'][_0x49d94a(0x210)]([_0x337641]);}};_0x29f473=_0x12f75a([_0x174396(0x0,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x2a7f32['DrawingImageClipService'])),_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x15864b['IDrawingManagerService']))],_0x29f473);let _0xb1d681=_0x13ba7a(0x1d6),_0x993061='sheet.image-clip.shape-picker.component';function _0x46ac97({onShapeClick:_0x3be4c5,excludeGroups:_0x2fbc2e}){const _0x2d6a5a=_0x13ba7a;return(0x0,_0x30a372[_0x2d6a5a(0x357)])(_0xba932b[_0x2d6a5a(0x1b4)],{'excludeGroups':_0x2fbc2e,'onShapeClick':_0x3be4c5,'scrollContainer':_0x2d6a5a(0x317)});}function _0x544130(){const _0x473afa=_0x13ba7a;let _0x27feb5=(0x0,_0x187e10[_0x473afa(0x53e)])(_0x15864b[_0x473afa(0x4e8)]),_0x504223=(0x0,_0x187e10['useDependency'])(_0x29f473);return(0x0,_0x30a372[_0x473afa(0x357)])(_0xba932b['ShapePickerDropdown'],{'buttonLabel':'sheets-shape-ui.imagePanel.crop.shape','excludeGroups':[_0xba932b[_0x473afa(0x2bb)][_0x473afa(0x363)]],'onShapeClick':_0xbb69ed=>{const _0x5cd931=_0x473afa;let _0x30a6a8=_0x27feb5['getFocusDrawings']()[_0x5cd931(0x298)](_0x3f21c4=>_0x3f21c4[_0x5cd931(0x52e)]===_0x10e5f9['DrawingTypeEnum'][_0x5cd931(0x597)]);if(!_0x30a6a8)return;let {unitId:_0x95fb13,subUnitId:_0x2fa06b,drawingId:_0x5a7f76}=_0x30a6a8;_0x504223[_0x5cd931(0x242)](_0x95fb13,_0x2fa06b,_0x5a7f76,_0xbb69ed['type']);}});}function _0x52a211(){const _0xcfe88=_0x13ba7a;let _0x1bfa29=(0x0,_0x187e10[_0xcfe88(0x53e)])(_0x15864b['IDrawingManagerService']),_0x7c3aea=(0x0,_0x187e10[_0xcfe88(0x53e)])(_0x29f473);return(0x0,_0x30a372[_0xcfe88(0x357)])(_0xba932b['ShapePickerDropdown'],{'buttonLabel':_0xcfe88(0x227),'excludeGroups':[_0xba932b[_0xcfe88(0x2bb)]['Line']],'DropdownComponent':_0x457cfe['MobileDropdown'],'onShapeClick':_0x54ab54=>{const _0x414e83=_0xcfe88;let _0x2b97e0=_0x1bfa29[_0x414e83(0x1da)]()[_0x414e83(0x298)](_0x559059=>_0x559059[_0x414e83(0x52e)]===_0x10e5f9[_0x414e83(0x2e1)][_0x414e83(0x597)]);if(!_0x2b97e0)return;let {unitId:_0xdeb202,subUnitId:_0x57ab65,drawingId:_0x2ca45d}=_0x2b97e0;_0x7c3aea[_0x414e83(0x242)](_0xdeb202,_0x57ab65,_0x2ca45d,_0x54ab54[_0x414e83(0x38d)]);}});}function _0x88ad35(){const _0x2959b0=_0x13ba7a;let _0x29bae3=(0x0,_0x187e10['useDependency'])(_0x187e10['ComponentManager']),_0x249272=(0x0,_0x187e10[_0x2959b0(0x53e)])(_0x15864b[_0x2959b0(0x4e8)]),_0x58ec85=(0x0,_0x187e10['useDependency'])(_0x10e5f9['IUniverInstanceService']),_0x338e2b=_0x249272[_0x2959b0(0x1da)]()[0x0],_0x323bb5=_0x338e2b?_0x58ec85[_0x2959b0(0x340)](_0x338e2b[_0x2959b0(0x26e)]):void 0x0,_0x3023f6=_0x323bb5===_0x10e5f9[_0x2959b0(0x503)]['UNIVER_DOC']?_0x2959b0(0x395):_0x323bb5===_0x10e5f9[_0x2959b0(0x503)]['UNIVER_SHEET']?_0x993061:void 0x0,_0x43832d=_0x3023f6?_0x29bae3[_0x2959b0(0x468)](_0x3023f6):void 0x0;return _0x43832d?(0x0,_0x30a372[_0x2959b0(0x357)])(_0x43832d,{}):null;}function _0x3f0386(){const _0x23a11b=_0x13ba7a;let _0x318c2b=(0x0,_0x187e10['useDependency'])(_0x10e5f9[_0x23a11b(0x297)]);return(0x0,_0x30a372[_0x23a11b(0x357)])(_0x46ac97,{'onShapeClick':_0x53ee69=>{const _0x2ba744=_0x23a11b;_0x318c2b['executeCommand'](_0x313c0d['id'],{'value':_0x53ee69['type'],'enhanceParams':{'endArrow':_0x53ee69[_0x2ba744(0x3c8)],'startArrow':_0x53ee69[_0x2ba744(0x313)],'horizontal':_0x53ee69['horizontal'],'vertical':_0x53ee69[_0x2ba744(0x2d3)]}});}});}function _0x29a2e(){const _0x1a3b73=_0x13ba7a;return(0x0,_0x30a372[_0x1a3b73(0x357)])(_0x3f0386,{});}function _0x1bacfe(_0xaa1da1){const _0x56e28f=_0x13ba7a;let _0xcae4cc=_0xaa1da1['get'](_0x10e5f9[_0x56e28f(0x41d)]);return{'id':_0x313c0d['id'],'type':_0x187e10[_0x56e28f(0x337)][_0x56e28f(0x22b)],'selections':[{'label':{'name':_0xb1d681,'hoverable':!0x1,'selectable':!0x1,'props':{'id':_0x313c0d['id']}}}],'icon':_0x56e28f(0x37e),'tooltip':_0x56e28f(0x494),'activated$':(0x0,_0x189be3['deriveStateFromActiveSheet$'])(_0xcae4cc,!0x1,()=>new _0x364ff4['Observable'](_0x88f5a2=>{const _0xae962f=_0x56e28f;_0x88f5a2[_0xae962f(0x475)](!0x1);})),'hidden$':(0x0,_0x187e10[_0x56e28f(0x1e6)])(_0xaa1da1,_0x10e5f9[_0x56e28f(0x503)][_0x56e28f(0x450)]),'disabled$':(0x0,_0x189be3[_0x56e28f(0x56f)])(_0xaa1da1)};}function _0x40dcb5(_0x56c7cf){const _0x326e69=_0x13ba7a;let _0x147072=_0x56c7cf[_0x326e69(0x468)](_0x10e5f9['IUniverInstanceService']);return{'id':_0x3a0e82['id'],'type':_0x187e10[_0x326e69(0x337)][_0x326e69(0x2b7)],'icon':_0x326e69(0x2e9),'title':_0x326e69(0x552),'tooltip':_0x326e69(0x552),'activated$':(0x0,_0x189be3[_0x326e69(0x397)])(_0x147072,!0x1,()=>new _0x364ff4[(_0x326e69(0x296))](_0x3fc44e=>{const _0x5d86ab=_0x326e69;_0x3fc44e[_0x5d86ab(0x475)](!0x1);})),'hidden$':(0x0,_0x187e10[_0x326e69(0x1e6)])(_0x56c7cf,_0x10e5f9['UniverInstanceType'][_0x326e69(0x450)]),'disabled$':(0x0,_0x189be3[_0x326e69(0x56f)])(_0x56c7cf)};}let _0x5a41ed='sheet.menu.shape.flip-horizontal',_0x354587=_0x13ba7a(0x33e);function _0x31633c(_0x4669cc){const _0x5258b6=_0x13ba7a;let _0x4fc276=_0x4669cc[_0x5258b6(0x468)](_0x15864b[_0x5258b6(0x4e8)])['getFocusDrawings']();return _0x4fc276['length']===0x1&&_0x4fc276[0x0][_0x5258b6(0x52e)]===_0x10e5f9[_0x5258b6(0x2e1)][_0x5258b6(0x20d)]?_0x4fc276[0x0]:null;}function _0x38b711(_0x25ca25){const _0x34a330=_0x13ba7a;let _0x15a64f=_0x25ca25[_0x34a330(0x468)](_0x15864b[_0x34a330(0x4e8)]);return _0x15a64f[_0x34a330(0x332)][_0x34a330(0x560)]((0x0,_0x364ff4[_0x34a330(0x58e)])(_0x15a64f[_0x34a330(0x1da)]()),(0x0,_0x364ff4['map'])(_0x3e291b=>_0x3e291b[_0x34a330(0x45b)]!==0x1||_0x3e291b[0x0][_0x34a330(0x52e)]!==_0x10e5f9['DrawingTypeEnum'][_0x34a330(0x20d)]));}function _0x26320c(_0x49866d){const _0x50a32e=_0x13ba7a;return{'id':_0x5a41ed,'commandId':_0x2f2bb5['ToggleSheetsShapeFlipCommand']['id'],'type':_0x187e10[_0x50a32e(0x337)][_0x50a32e(0x2b7)],'title':'sheets-shape-ui.flipHorizontal','tooltip':_0x50a32e(0x3e0),'icon':_0x50a32e(0x3cc),'hidden$':_0x38b711(_0x49866d),'params':()=>{const _0x3ece23=_0x50a32e;let _0x23bfc7=_0x31633c(_0x49866d);return _0x23bfc7?{'unitId':_0x23bfc7[_0x3ece23(0x26e)],'subUnitId':_0x23bfc7['subUnitId'],'shapeId':_0x23bfc7[_0x3ece23(0x272)],'flipH':!0x0}:void 0x0;}};}function _0x4152b2(_0x2bb239){const _0x29490b=_0x13ba7a;return{'id':_0x354587,'commandId':_0x2f2bb5[_0x29490b(0x36d)]['id'],'type':_0x187e10[_0x29490b(0x337)][_0x29490b(0x2b7)],'title':'sheets-shape-ui.flipVertical','tooltip':_0x29490b(0x23c),'icon':_0x29490b(0x431),'hidden$':_0x38b711(_0x2bb239),'params':()=>{const _0x5a5f89=_0x29490b;let _0x321173=_0x31633c(_0x2bb239);return _0x321173?{'unitId':_0x321173[_0x5a5f89(0x26e)],'subUnitId':_0x321173[_0x5a5f89(0x354)],'shapeId':_0x321173[_0x5a5f89(0x272)],'flipV':!0x0}:void 0x0;}};}let _0x3084b1=_0x13ba7a(0x2d9),_0x5c3e05=_0x13ba7a(0x394),_0x41bd5b=_0x13ba7a(0x3c7),_0x26103a=_0x13ba7a(0x368);function _0x5f412c(){const _0x4d3eb3=_0x13ba7a;let _0x3e0377=(0x0,_0x187e10[_0x4d3eb3(0x53e)])(_0x10e5f9[_0x4d3eb3(0x297)]),_0x3d6a3e=(0x0,_0x187e10[_0x4d3eb3(0x53e)])(_0x15864b[_0x4d3eb3(0x4e8)]),_0x513a2c=(0x0,_0x187e10[_0x4d3eb3(0x53e)])(_0x2f2bb5[_0x4d3eb3(0x4d3)]),_0x1055f2=()=>{const _0x4d0236=_0x4d3eb3;var _0x36d97d;let _0x1569cf=_0x3d6a3e['getFocusDrawings']();if(_0x1569cf['length']!==0x1||((_0x36d97d=_0x1569cf[0x0])==null?void 0x0:_0x36d97d[_0x4d0236(0x52e)])!==_0x10e5f9[_0x4d0236(0x2e1)][_0x4d0236(0x20d)])return null;let {unitId:_0x500597,subUnitId:_0x41eeb7,drawingId:_0x42cffa}=_0x1569cf[0x0],_0x164b16=_0x513a2c[_0x4d0236(0x42b)](_0x500597,_0x41eeb7,_0x42cffa),_0x5a0eb8=_0x513a2c[_0x4d0236(0x204)](_0x500597,_0x41eeb7,_0x42cffa);return _0x164b16===void 0x0||!_0x5a0eb8?null:{'unitId':_0x500597,'subUnitId':_0x41eeb7,'drawingId':_0x42cffa,'shapeType':_0x164b16,'shapeData':_0x5a0eb8};},_0x263f54=(0x0,_0x187e10[_0x4d3eb3(0x364)])(()=>new _0x364ff4['Observable'](_0x16805c=>{const _0x18ca86=_0x4d3eb3;let _0x21510c=()=>_0x16805c[_0x18ca86(0x475)](_0x1055f2()),_0x31d336=_0x3d6a3e[_0x18ca86(0x332)][_0x18ca86(0x358)](_0x21510c),_0x58cbd7=_0x3e0377[_0x18ca86(0x1ac)](_0xb6afd5=>{const _0xd33f90=_0x18ca86;_0xb6afd5['id']===_0x2f2bb5[_0xd33f90(0x479)]['id']&&_0x21510c();});return _0x21510c(),()=>{const _0xe31e34=_0x18ca86;_0x31d336[_0xe31e34(0x539)](),_0x58cbd7[_0xe31e34(0x206)]();};}),_0x1055f2(),!0x1,[_0x3e0377,_0x3d6a3e,_0x513a2c]);return{'selection':_0x263f54,'updateShapeData':_0xda921b=>{const _0x53bb2c=_0x4d3eb3;_0x263f54&&_0x2b1bec(_0x3e0377,_0x263f54[_0x53bb2c(0x26e)],_0x263f54['subUnitId'],_0x263f54[_0x53bb2c(0x272)],{'oldShapeData':_0x263f54[_0x53bb2c(0x429)]},_0xda921b);}};}function _0x1024f0(){const _0x5e140c=_0x13ba7a;let {selection:_0x153d16,updateShapeData:_0x24d0de}=_0x5f412c();return _0x153d16?(0x0,_0x30a372[_0x5e140c(0x357)])(_0xba932b['ShapeStyleRibbonControl'],{'shapeData':_0x153d16[_0x5e140c(0x429)],'shapeType':_0x153d16[_0x5e140c(0x25e)],'onUpdateShapeData':_0x24d0de}):null;}function _0x23f7be(){const _0x3c75f9=_0x13ba7a;let _0x32c905=(0x0,_0x187e10[_0x3c75f9(0x53e)])(_0x10e5f9[_0x3c75f9(0x297)]),_0x23af04=(0x0,_0x187e10[_0x3c75f9(0x53e)])(_0x10e5f9[_0x3c75f9(0x482)]),{selection:_0x1c4e5b}=_0x5f412c();return _0x1c4e5b?(0x0,_0x30a372['jsx'])(_0xba932b[_0x3c75f9(0x3ca)],{'type':(0x0,_0x1397ca[_0x3c75f9(0x1b1)])(_0x1c4e5b[_0x3c75f9(0x429)]),'ariaLabel':_0x23af04['t'](_0x3c75f9(0x383)),'activePresetId':(0x0,_0x1397ca[_0x3c75f9(0x561)])(_0x1c4e5b[_0x3c75f9(0x429)]),'onSelect':_0x487606=>_0x32c905[_0x3c75f9(0x274)](_0x25693e['id'],{'presetId':_0x487606})}):null;}function _0x3e9412(){const _0x1f3672=_0x13ba7a;let {selection:_0x314962,updateShapeData:_0x20cc40}=_0x5f412c();return _0x314962?(0x0,_0x30a372['jsx'])(_0xba932b[_0x1f3672(0x549)],{'fontFamilyPopupDataComponent':_0x1f3672(0x1bc),'shapeData':_0x314962[_0x1f3672(0x429)],'onUpdateShapeData':_0x20cc40}):null;}function _0x184a26(){const _0x1e7c71=_0x13ba7a;var _0x761ccb;let {selection:_0x2c0a7e,updateShapeData:_0x5d959e}=_0x5f412c(),_0x21095f=(0x0,_0xba932b[_0x1e7c71(0x585)])({'hostType':_0x10e5f9[_0x1e7c71(0x503)][_0x1e7c71(0x450)],'unitId':(_0x2c0a7e==null?void 0x0:_0x2c0a7e[_0x1e7c71(0x26e)])??'','subUnitId':(_0x2c0a7e==null?void 0x0:_0x2c0a7e[_0x1e7c71(0x354)])??'','shapeId':(_0x2c0a7e==null?void 0x0:_0x2c0a7e[_0x1e7c71(0x272)])??'','shapeData':_0x2c0a7e==null?void 0x0:_0x2c0a7e['shapeData'],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x1e7c71(0x329),'onUpdateBinding':_0x2a08eb=>_0x5d959e({'formulaBinding':_0x2a08eb})}),_0x23dc5e=((_0x761ccb=_0x21095f[_0x1e7c71(0x505)])==null?void 0x0:_0x761ccb[_0x1e7c71(0x2d8)](_0x2e61ac=>_0x2e61ac['actions'])['filter'](_0x3dd5d7=>_0x3dd5d7[_0x1e7c71(0x2ed)]!==!0x1))??[];return _0x2c0a7e!=null&&_0x2c0a7e[_0x1e7c71(0x429)][_0x1e7c71(0x1c2)]?(0x0,_0x30a372[_0x1e7c71(0x357)])(_0xba932b[_0x1e7c71(0x1e3)],{'actions':_0x23dc5e,'panel':_0x21095f[_0x1e7c71(0x2aa)]}):null;}let _0x2ef528=_0x13ba7a(0x550),_0x1f2db5='sheets-shape-ui.ribbon.shape-format.text-control',_0x439bdc='sheets-shape-ui.ribbon.shape-format.formula-control',_0x54cce7=_0x13ba7a(0x251),_0x323ce2='sheets-shape-ui.ribbon.shape-format.arrange-backward',_0xd4e195=_0x13ba7a(0x2fb),_0x56c720='sheets-shape-ui.ribbon.shape-format.arrange-back';function _0x3b0825(_0x2f9262){const _0x38e321=_0x13ba7a;let _0x54a38d=_0x2f9262[_0x38e321(0x468)](_0x10e5f9[_0x38e321(0x297)]),_0x319ff5=_0x2f9262[_0x38e321(0x468)](_0x15864b['IDrawingManagerService']),_0x4d90c6=_0x2f9262['get'](_0x2f2bb5['SheetsShapeService']);return new _0x364ff4[(_0x38e321(0x296))](_0x4827d9=>{const _0xd4ee27=_0x38e321;let _0xfd78ab=()=>{const _0x5209df=_0x2e4e;let _0x213421=_0x777d84(_0x2f9262),_0x72f58a=_0x213421?_0x4d90c6[_0x5209df(0x204)](_0x213421[_0x5209df(0x26e)],_0x213421[_0x5209df(0x354)],_0x213421[_0x5209df(0x272)]):null;_0x4827d9['next'](_0x72f58a?(0x0,_0x1397ca[_0x5209df(0x561)])(_0x72f58a)??'':'');},_0x465fc7=_0x319ff5[_0xd4ee27(0x332)][_0xd4ee27(0x358)](_0xfd78ab),_0x29f0a7=_0x54a38d[_0xd4ee27(0x1ac)](_0x1271cb=>{const _0x5d2730=_0xd4ee27;_0x1271cb['id']===_0x2f2bb5[_0x5d2730(0x479)]['id']&&_0xfd78ab();});return _0xfd78ab(),()=>{const _0x52c1c2=_0xd4ee27;_0x465fc7[_0x52c1c2(0x539)](),_0x29f0a7[_0x52c1c2(0x206)]();};});}function _0x777d84(_0x3e55f0){const _0x379b90=_0x13ba7a;var _0x2e3513;let _0x1064d4=_0x3e55f0[_0x379b90(0x468)](_0x15864b['IDrawingManagerService'])['getFocusDrawings']();return _0x1064d4[_0x379b90(0x45b)]===0x1&&((_0x2e3513=_0x1064d4[0x0])==null?void 0x0:_0x2e3513['drawingType'])===_0x10e5f9[_0x379b90(0x2e1)][_0x379b90(0x20d)]?_0x1064d4[0x0]:null;}function _0x5a6557(_0x558f03,_0x25882a=!0x1){const _0x50b245=_0x13ba7a;let _0x5a6110=_0x558f03['get'](_0x10e5f9[_0x50b245(0x297)]),_0x2a7b86=_0x558f03[_0x50b245(0x468)](_0x15864b[_0x50b245(0x4e8)]),_0x371eab=_0x558f03[_0x50b245(0x468)](_0x2f2bb5[_0x50b245(0x4d3)]);return new _0x364ff4[(_0x50b245(0x296))](_0x480fb4=>{const _0x4ebfd8=_0x50b245;let _0x2c1aab=()=>{const _0x5d7629=_0x2e4e;let _0x2e454d=_0x777d84(_0x558f03);if(!_0x2e454d){_0x480fb4[_0x5d7629(0x475)](!0x0);return;}let _0x3ee819=_0x371eab[_0x5d7629(0x204)](_0x2e454d[_0x5d7629(0x26e)],_0x2e454d[_0x5d7629(0x354)],_0x2e454d[_0x5d7629(0x272)]);_0x480fb4[_0x5d7629(0x475)](!_0x3ee819||_0x25882a&&_0x3ee819['formulaBinding']==null);},_0x4a13c5=_0x2a7b86[_0x4ebfd8(0x332)][_0x4ebfd8(0x358)](_0x2c1aab),_0xebe78c=_0x5a6110[_0x4ebfd8(0x1ac)](_0x2a5374=>{const _0x32553a=_0x4ebfd8;_0x2a5374['id']===_0x2f2bb5[_0x32553a(0x479)]['id']&&_0x2c1aab();});return _0x2c1aab(),()=>{const _0x272f03=_0x4ebfd8;_0x4a13c5[_0x272f03(0x539)](),_0xebe78c[_0x272f03(0x206)]();};});}function _0x5de34c(_0x34ab01){const _0x37d0f6=_0x13ba7a;let _0xc76877=_0x34ab01[_0x37d0f6(0x468)](_0x15864b[_0x37d0f6(0x4e8)]),_0x126674=_0x34ab01['get'](_0x2f2bb5['SheetsShapeService']);return _0xc76877['focus$'][_0x37d0f6(0x560)]((0x0,_0x364ff4['startWith'])(_0xc76877[_0x37d0f6(0x1da)]()),(0x0,_0x364ff4[_0x37d0f6(0x281)])(()=>{const _0x529c99=_0x37d0f6;let _0x2ab23f=_0x777d84(_0x34ab01),_0x5552cf=_0x2ab23f?_0x126674[_0x529c99(0x42b)](_0x2ab23f[_0x529c99(0x26e)],_0x2ab23f[_0x529c99(0x354)],_0x2ab23f[_0x529c99(0x272)]):void 0x0;return _0x5552cf===void 0x0||(0x0,_0xd67e3f['isConnectorShape'])(_0x5552cf);}));}function _0x830cfc(_0x12c648){const _0x51a422=_0x13ba7a;return{'id':_0x25693e['id'],'type':_0x187e10[_0x51a422(0x337)]['SELECTOR'],'icon':_0x51a422(0x20c),'title':_0x51a422(0x1af),'tooltip':_0x51a422(0x1af),'selections':[{'label':{'name':_0x3084b1,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x3b0825(_0x12c648),'hidden$':_0x5a6557(_0x12c648)};}function _0x4aa8e6(_0x525d6a){const _0x6147a2=_0x13ba7a;return{'id':_0x18da86['id'],'type':_0x187e10[_0x6147a2(0x337)][_0x6147a2(0x22b)],'icon':'ShapeIcon','title':_0x6147a2(0x2b4),'tooltip':_0x6147a2(0x2b4),'slot':!0x0,'selections':[{'label':{'name':_0xba932b[_0x6147a2(0x2fd)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x5de34c(_0x525d6a)};}function _0x2794d2(_0x35f4ab,_0x6345dc,_0x282e79=!0x1){const _0x359dcb=_0x13ba7a;return _0x4534c6=>({'id':_0x35f4ab,'type':_0x187e10[_0x359dcb(0x337)]['BUTTON'],'label':{'name':_0x6345dc,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x5a6557(_0x4534c6,_0x282e79)});}let _0x4583f1=_0x2794d2(_0x2ef528,_0x5c3e05),_0x4a097d=_0x2794d2(_0x1f2db5,_0x41bd5b),_0x5dbb48=_0x2794d2(_0x439bdc,_0x26103a,!0x0);function _0x271b7f(_0xd891ca,_0x1053b6,_0x2399b7,_0x1a5abf){const _0x6a3715=_0x13ba7a;return _0x2fa939=>({'id':_0xd891ca,'commandId':_0x40f1a1[_0x6a3715(0x490)]['id'],'type':_0x187e10[_0x6a3715(0x337)][_0x6a3715(0x2b7)],'icon':_0x2399b7,'title':_0x1a5abf,'tooltip':_0x1a5abf,'hidden$':_0x5a6557(_0x2fa939),'params':()=>{const _0x12740a=_0x6a3715;let _0x58b471=_0x777d84(_0x2fa939);return _0x58b471?{'unitId':_0x58b471['unitId'],'subUnitId':_0x58b471[_0x12740a(0x354)],'drawingIds':[_0x58b471[_0x12740a(0x272)]],'arrangeType':_0x1053b6}:void 0x0;}});}let _0x33a626=_0x271b7f(_0x54cce7,_0x10e5f9['ArrangeTypeEnum']['forward'],_0x13ba7a(0x1d0),_0x13ba7a(0x436)),_0x2c409e=_0x271b7f(_0x323ce2,_0x10e5f9[_0x13ba7a(0x3e1)]['backward'],_0x13ba7a(0x481),_0x13ba7a(0x27c)),_0x3ba6f1=_0x271b7f(_0xd4e195,_0x10e5f9[_0x13ba7a(0x3e1)][_0x13ba7a(0x3f0)],_0x13ba7a(0x51f),_0x13ba7a(0x31c)),_0x4c0302=_0x271b7f(_0x56c720,_0x10e5f9[_0x13ba7a(0x3e1)][_0x13ba7a(0x2a0)],'BottomIcon',_0x13ba7a(0x425));function _0x150b96(_0x5c690c){const _0x22a77b=_0x13ba7a;return{'id':_0x47ad5b['id'],'type':_0x187e10['MenuItemType']['BUTTON'],'icon':_0x22a77b(0x492),'title':_0x22a77b(0x344),'tooltip':_0x22a77b(0x344),'hidden$':_0x5a6557(_0x5c690c),'params':()=>{const _0x14f10f=_0x22a77b;let _0x57d232=_0x777d84(_0x5c690c);return _0x57d232?{'unitId':_0x57d232[_0x14f10f(0x26e)],'subUnitId':_0x57d232[_0x14f10f(0x354)],'drawingId':_0x57d232['drawingId']}:void 0x0;}};}let _0x136219={[_0x187e10[_0x13ba7a(0x24d)]['RIBBON']]:{[_0x523b08]:{'order':0x64,'title':_0x13ba7a(0x344),'contextual':!0x0,'sheets-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x25693e['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x830cfc},[_0x18da86['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x4aa8e6}},'sheets-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x2ef528]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x4583f1}},'sheets-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x1f2db5]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x4a097d}},'sheets-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x5a41ed]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x26320c},[_0x354587]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x4152b2},[_0x54cce7]:{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x33a626},[_0x323ce2]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x2c409e},[_0xd4e195]:{'order':0x4,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x3ba6f1},[_0x56c720]:{'order':0x5,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x4c0302}},'sheets-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x439bdc]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x5dbb48}},'sheets-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x47ad5b['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x150b96},[_0xba932b['ToggleShapeFloatingToolbarOperation']['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0xba932b[_0x13ba7a(0x418)]}}}}},_0x1c5a09={[_0x187e10[_0x13ba7a(0x2ff)][_0x13ba7a(0x1ef)]]:{[_0x313c0d['id']]:{'order':0x4,'menuItemFactory':_0x1bacfe}}},_0x713457={..._0x1c5a09,[_0x187e10[_0x13ba7a(0x2ff)][_0x13ba7a(0x19f)]]:{[_0x3a0e82['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x40dcb5}},[_0x187e10[_0x13ba7a(0x45f)][_0x13ba7a(0x398)]]:{[_0x187e10[_0x13ba7a(0x4c4)][_0x13ba7a(0x19f)]]:{[_0x5a41ed]:{'order':0x4,'menuItemFactory':_0x26320c},[_0x354587]:{'order':0x5,'menuItemFactory':_0x4152b2}}}};var _0x3e9d67=_0x13ba7a(0x59d),_0x4f17df=_0x13ba7a(0x430);let _0x1e868c={'id':_0x13ba7a(0x1b9),'type':_0x10e5f9[_0x13ba7a(0x56b)]['OPERATION'],'handler'(_0x1bf39c,_0x57010b){const _0x20b16d=_0x13ba7a;return _0x57010b?(_0x1bf39c[_0x20b16d(0x468)](_0xba932b[_0x20b16d(0x4ef)])[_0x20b16d(0x269)](_0x57010b[_0x20b16d(0x384)],{'hostType':_0x10e5f9[_0x20b16d(0x503)][_0x20b16d(0x450)],'shapeId':_0x57010b['drawingId'],'subUnitId':_0x57010b[_0x20b16d(0x354)],'unitId':_0x57010b['unitId']}),!0x0):!0x1;}},_0x56997c=_0x13ba7a(0x21d),_0x26e934={},_0x9f7a3e=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0x26ad30,_0x372984,_0x415c47,_0x3f35fd,_0xc0b24){const _0x6c46e=_0x13ba7a;super(),this[_0x6c46e(0x3cb)]=_0x26ad30,this[_0x6c46e(0x3c5)]=_0x372984,this[_0x6c46e(0x2e2)]=_0x415c47,this[_0x6c46e(0x583)]=_0x3f35fd,this[_0x6c46e(0x4d0)]=_0xc0b24,_0x5ae661(this,_0x6c46e(0x22e),null),_0x5ae661(this,'_unitId',null),_0x5ae661(this,_0x6c46e(0x2cf),null),_0x5ae661(this,_0x6c46e(0x451),void 0x0),_0x5ae661(this,'_shapes',[]),_0x5ae661(this,_0x6c46e(0x4fa),0x0),_0x5ae661(this,_0x6c46e(0x4f6),0x0),_0x5ae661(this,_0x6c46e(0x4b2),0x0),_0x5ae661(this,_0x6c46e(0x41c),0x0),_0x5ae661(this,_0x6c46e(0x267),!0x1),_0x5ae661(this,_0x6c46e(0x328),void 0x0),_0x5ae661(this,_0x6c46e(0x223),void 0x0),_0x5ae661(this,_0x6c46e(0x27d),void 0x0),_0x5ae661(this,'_adjHandlerPointerUp',void 0x0),_0x5ae661(this,_0x6c46e(0x26a),!0x1),this[_0x6c46e(0x2cd)](),this[_0x6c46e(0x24e)]();}[_0x13ba7a(0x200)](){const _0xf66f7f=_0x13ba7a;this[_0xf66f7f(0x551)]();}[_0x13ba7a(0x348)](){const _0x55e0b6=_0x13ba7a;this['_clearControls'](),this[_0x55e0b6(0x432)](!0x0);}[_0x13ba7a(0x1e1)](_0x8dee8b,_0x3aa13a,_0x1b1a76,_0xd94ce1){const _0x57b5a9=_0x13ba7a;let _0x49dd08=_0x8dee8b;if(_0x49dd08!==_0xd67e3f[_0x57b5a9(0x575)]['None']&&_0x8dee8b!==_0x57b5a9(0x261))try{let _0xc26ddc=new _0xd67e3f[(_0x57b5a9(0x48f))](_0x49dd08,'clip-adj-'+_0x8dee8b);return _0xd94ce1&&_0xc26ddc[_0x57b5a9(0x4d6)]({'adjustValues':_0xd94ce1},!0x0),_0xc26ddc[_0x57b5a9(0x523)]({'width':_0x3aa13a,'height':_0x1b1a76}),_0xc26ddc;}catch{return;}}[_0x13ba7a(0x589)](_0x3af17d,_0x2e3c4b,_0x19c444){const _0x2a5bbe=_0x13ba7a;let _0x5e1784={'unitId':_0x3af17d,'subUnitId':_0x2e3c4b,'drawingId':_0x19c444},_0x50ccb5=this[_0x2a5bbe(0x3c5)][_0x2a5bbe(0x3db)](_0x5e1784);if(_0x50ccb5&&_0x50ccb5[_0x2a5bbe(0x52e)]===_0x10e5f9['DrawingTypeEnum'][_0x2a5bbe(0x597)])return _0x50ccb5;}[_0x13ba7a(0x518)](_0x4af6a5,_0x1df6c2,_0x193bb2){const _0x33c08d=_0x13ba7a;let _0x24d52b=this[_0x33c08d(0x2e2)][_0x33c08d(0x57f)](_0x4af6a5);if(!_0x24d52b)return;let {scene:_0x296f08}=_0x24d52b,_0x3f0cd7=(0x0,_0x15864b[_0x33c08d(0x2df)])({'unitId':_0x4af6a5,'subUnitId':_0x1df6c2,'drawingId':_0x193bb2}),_0x2f7687=_0x296f08[_0x33c08d(0x38a)](_0x3f0cd7);if(_0x2f7687 instanceof _0x3458ba['Image']){let _0x1c7b61=_0x2f7687[_0x33c08d(0x233)];if(_0x1c7b61)return{'prstGeom':_0x1c7b61,'adjustValues':_0x2f7687[_0x33c08d(0x444)]};}}['_createControls'](_0x4bc74c=!0x1){const _0xd208a1=_0x13ba7a;if(!this['_unitId']||!this[_0xd208a1(0x2cf)]||!this['_activeImageId'])return;let _0x4467cd=this[_0xd208a1(0x2e2)]['getRenderUnitById'](this['_unitId']);if(!_0x4467cd||!_0x4467cd[_0xd208a1(0x39e)](_0x189be3[_0xd208a1(0x277)])[_0xd208a1(0x387)]())return;let {scene:_0x2797f3}=_0x4467cd,_0x25b3f4=this['_getImageDrawingInfo'](this[_0xd208a1(0x35d)],this[_0xd208a1(0x2cf)],this['_activeImageId']);if(!_0x25b3f4)return;let {transform:_0x26f472}=_0x25b3f4;if(!_0x26f472)return;let {left:_0x4f8f5d,top:_0x3db95c,width:_0x582411,height:_0x2bd777,flipX:_0x2fe672,flipY:_0x3c499e,angle:_0x22c498=0x0}=_0x26f472;if(_0x4f8f5d===void 0x0||_0x3db95c===void 0x0)return;let _0x2d7f79=this[_0xd208a1(0x518)](this[_0xd208a1(0x35d)],this['_subUnitId'],this[_0xd208a1(0x22e)]);if(!_0x2d7f79)return;if(_0x4bc74c){let _0x2a1df7=this[_0xd208a1(0x1e1)](_0x2d7f79['prstGeom'],_0x582411||0x0,_0x2bd777||0x0,_0x2d7f79[_0xd208a1(0x4c3)]);if(!_0x2a1df7)return;this[_0xd208a1(0x451)]=_0x2a1df7[_0xd208a1(0x524)]();}let _0x4209a2=this[_0xd208a1(0x451)];if(_0x4209a2&&_0x4209a2[_0xd208a1(0x45b)]!==0x0)for(let _0x592a0a=0x0;_0x592a0a<_0x4209a2[_0xd208a1(0x45b)];_0x592a0a++){let _0x39d1b1=_0x4209a2[_0x592a0a],_0x10a28a=_0x39d1b1['x'],_0x3e665c=_0x39d1b1['y'];if(_0x2fe672&&(_0x10a28a=(_0x582411||0x0)-_0x10a28a),_0x3c499e&&(_0x3e665c=(_0x2bd777||0x0)-_0x3e665c),_0x22c498!==0x0){let _0x595413=(_0x582411||0x0)/0x2,_0x4ff861=(_0x2bd777||0x0)/0x2,_0x3bb1a2=_0x22c498*Math['PI']/0xb4,_0xae31b=Math[_0xd208a1(0x2e0)](_0x3bb1a2),_0x383117=Math['sin'](_0x3bb1a2),_0x1f3e6a=_0x10a28a-_0x595413,_0xb1ff1c=_0x3e665c-_0x4ff861;_0x10a28a=_0x595413+(_0x1f3e6a*_0xae31b-_0xb1ff1c*_0x383117),_0x3e665c=_0x4ff861+(_0x1f3e6a*_0x383117+_0xb1ff1c*_0xae31b);}let _0x58b5a8={'x':_0x10a28a,'y':_0x3e665c,'adjName':_0x39d1b1['adjName']};this['_addControl'](_0x2797f3,_0x58b5a8,_0x58b5a8[_0xd208a1(0x216)],_0x4f8f5d,_0x3db95c,this[_0xd208a1(0x35d)],this[_0xd208a1(0x2cf)]);}}[_0x13ba7a(0x19a)](_0x8f0577,_0x210b47,_0x37db10,_0x341f7a,_0x300c95,_0x2a1bea,_0x3a66ad){const _0x14c5a8=_0x13ba7a;if(!this[_0x14c5a8(0x22e)])return;let _0x4e10a3=_0x14c5a8(0x1de)+this['_activeImageId']+'-'+_0x37db10,_0x4a240a=_0x8f0577['getObjectIncludeInGroup'](_0x4e10a3);if(_0x4a240a){_0x4a240a[_0x14c5a8(0x3e2)]({'left':_0x210b47['x']+_0x341f7a-_0xd67e3f[_0x14c5a8(0x225)][_0x14c5a8(0x1d3)],'top':_0x210b47['y']+_0x300c95-_0xd67e3f[_0x14c5a8(0x225)][_0x14c5a8(0x1d3)]});return;}let _0x1a49fa=new _0x537ea9(_0x4e10a3,{'left':_0x210b47['x']+_0x341f7a-_0xd67e3f[_0x14c5a8(0x225)][_0x14c5a8(0x1d3)],'top':_0x210b47['y']+_0x300c95-_0xd67e3f[_0x14c5a8(0x225)]['adjHandleSize'],'adjName':_0x37db10,'shapeId':this[_0x14c5a8(0x22e)],'unitId':_0x2a1bea,'subUnitId':_0x3a66ad,'width':_0xd67e3f['ShapeDefaultConfig'][_0x14c5a8(0x1d3)]+0x8,'height':_0xd67e3f['ShapeDefaultConfig'][_0x14c5a8(0x1d3)]+0x8,'zIndex':_0x3458ba[_0x14c5a8(0x4b5)]+0x1,'evented':!0x0});this[_0x14c5a8(0x469)][_0x14c5a8(0x1b2)](_0x1a49fa),this[_0x14c5a8(0x3ea)](_0x1a49fa,_0x8f0577,_0x37db10),_0x8f0577[_0x14c5a8(0x412)](_0x1a49fa,_0x3458ba[_0x14c5a8(0x4b5)]+0x1);}[_0x13ba7a(0x551)](){const _0x3947cf=_0x13ba7a;this[_0x3947cf(0x469)][_0x3947cf(0x45b)]!==0x0&&(this[_0x3947cf(0x469)][_0x3947cf(0x34a)](_0xe90b60=>_0xe90b60['dispose']()),this['_shapes']=[]);}[_0x13ba7a(0x43c)](_0x1078d3,_0x2a0531){const _0x3a54f7=_0x13ba7a;var _0x1330d7;let _0x285f56={'x':0x0,'y':0x0},_0x2f4ad6=this[_0x3a54f7(0x2e2)][_0x3a54f7(0x57f)](_0x1078d3);if(!_0x2f4ad6||!_0x2f4ad6['with'](_0x189be3[_0x3a54f7(0x277)])[_0x3a54f7(0x50c)](_0x2a0531))return _0x285f56;let _0x3020bb=_0x2f4ad6[_0x3a54f7(0x39e)](_0x189be3[_0x3a54f7(0x51c)]),_0x3d0a65=_0x3020bb==null?void 0x0:_0x3020bb[_0x3a54f7(0x294)]();if(!_0x3d0a65)return _0x285f56;let _0x2f9289=(_0x1330d7=this['_univerInstanceService'][_0x3a54f7(0x4a9)](_0x1078d3))==null?void 0x0:_0x1330d7[_0x3a54f7(0x1ed)](_0x2a0531);if(!_0x2f9289)return _0x285f56;let _0x42bceb=(0x0,_0x189be3[_0x3a54f7(0x501)])(_0x3d0a65[_0x3a54f7(0x3b6)],_0x3d0a65['sheetViewStartColumn'],_0x2f4ad6[_0x3a54f7(0x2a7)],_0x2f9289);return _0x42bceb?{'x':_0x42bceb[_0x3a54f7(0x1ff)],'y':_0x42bceb['viewportScrollY']}:_0x285f56;}['_getZoomRatio'](_0x25c4de,_0x2e26d1){const _0x54df1e=_0x13ba7a;var _0x5a5a42;let _0x6ee90a=(_0x5a5a42=this[_0x54df1e(0x583)][_0x54df1e(0x4a9)](_0x25c4de))==null?void 0x0:_0x5a5a42[_0x54df1e(0x1ed)](_0x2e26d1);return(_0x6ee90a==null?void 0x0:_0x6ee90a[_0x54df1e(0x461)]())??0x1;}[_0x13ba7a(0x3ea)](_0xd0881,_0x5068a0,_0x3a7763){const _0x2cb983=_0x13ba7a;this[_0x2cb983(0x47f)]((0x0,_0x10e5f9[_0x2cb983(0x576)])(_0xd0881[_0x2cb983(0x27e)][_0x2cb983(0x2f6)]((_0x533ffa,_0x2a6957)=>{const _0x4dfe2d=_0x2cb983;var _0x351521,_0x5e2c73,_0x9da47d;let {unitId:_0x1a39ec,subUnitId:_0x19df63,drawingId:_0x19172e}=_0xd0881[_0x4dfe2d(0x2c8)](),_0x2a50ce=this[_0x4dfe2d(0x589)](_0x1a39ec,_0x19df63,_0x19172e);if(!(_0x2a50ce!=null&&_0x2a50ce['transform']))return;let {left:_0x30f270,top:_0x34c827,width:_0xddb5d0,height:_0x7a4f15}=_0x2a50ce[_0x4dfe2d(0x474)];this[_0x4dfe2d(0x4fa)]=_0x30f270||0x0,this[_0x4dfe2d(0x4f6)]=_0x34c827||0x0,this['_baseWidth']=_0xddb5d0||0x0,this['_baseHeight']=_0x7a4f15||0x0;let _0x18eca2=!!((_0x351521=_0x2a50ce[_0x4dfe2d(0x474)])!=null&&_0x351521['flipX']),_0x85b8a8=!!((_0x5e2c73=_0x2a50ce['transform'])!=null&&_0x5e2c73['flipY']),_0x3defaa=((_0x9da47d=_0x2a50ce[_0x4dfe2d(0x474)])==null?void 0x0:_0x9da47d['angle'])||0x0,_0x58161d=this[_0x4dfe2d(0x518)](_0x1a39ec,_0x19df63,_0x19172e);if(!_0x58161d)return;let _0x5e2c9a=this['_getOrCreateShapeModel'](_0x58161d[_0x4dfe2d(0x233)],this[_0x4dfe2d(0x4b2)],this[_0x4dfe2d(0x41c)],_0x58161d[_0x4dfe2d(0x4c3)]);if(!_0x5e2c9a||(this['_activeShapeModel']=_0x5e2c9a,this['_activeAdjustInfo']=_0x5e2c9a[_0x4dfe2d(0x495)](_0x3a7763),!this[_0x4dfe2d(0x328)]))return;this[_0x4dfe2d(0x267)]=!0x0,_0x5068a0[_0x4dfe2d(0x1ce)]();let _0x160de0=_0x58161d['prstGeom'];this['_adjHandlerPointerMove']=_0x5068a0[_0x4dfe2d(0x3af)][_0x4dfe2d(0x2f6)]((_0x361bb5,_0x32b871)=>{const _0x170d03=_0x4dfe2d;if(!this[_0x170d03(0x267)])return;let {offsetX:_0x3fd755,offsetY:_0xb82002}=_0x361bb5,_0x4e11f0=this[_0x170d03(0x328)];if(!this['_activeShapeModel']||!_0x4e11f0)return;_0x5068a0[_0x170d03(0x1ce)](),_0x5068a0[_0x170d03(0x1b7)](_0x3458ba[_0x170d03(0x4bf)][_0x170d03(0x540)]);let _0x4ca8f9={'left':0x0,'top':0x0,'width':this[_0x170d03(0x4b2)],'height':this[_0x170d03(0x41c)]},_0x4829e7=this[_0x170d03(0x43c)](_0x1a39ec,_0x19df63),_0x4b1cb3=this[_0x170d03(0x570)](_0x1a39ec,_0x19df63),_0x1a6a6d=_0x3fd755/_0x4b1cb3+_0x4829e7['x']-this['_baseLeft'],_0x10632c=_0xb82002/_0x4b1cb3+_0x4829e7['y']-this['_baseTop'];if(_0x3defaa!==0x0){let _0x1b144e=this[_0x170d03(0x4b2)]/0x2,_0x4f9852=this[_0x170d03(0x41c)]/0x2,_0xef3e0b=_0x3defaa*Math['PI']/0xb4,_0x21524e=Math[_0x170d03(0x2e0)](_0xef3e0b),_0x5b0bd4=Math[_0x170d03(0x515)](_0xef3e0b),_0x4ffcff=_0x1a6a6d-_0x1b144e,_0x144260=_0x10632c-_0x4f9852;_0x1a6a6d=_0x1b144e+(_0x4ffcff*_0x21524e+_0x144260*_0x5b0bd4),_0x10632c=_0x4f9852+(-_0x4ffcff*_0x5b0bd4+_0x144260*_0x21524e);}_0x18eca2&&(_0x1a6a6d=this[_0x170d03(0x4b2)]-_0x1a6a6d),_0x85b8a8&&(_0x10632c=this[_0x170d03(0x41c)]-_0x10632c);let _0x1e4861=this[_0x170d03(0x223)][_0x170d03(0x3bf)](_0x4ca8f9,{'x':_0x1a6a6d,'y':_0x10632c},_0x4e11f0,_0x18eca2,_0x85b8a8);if(Object[_0x170d03(0x533)](_0x1e4861)['length']!==0x0){for(let [_0x5f1179,_0x18f495]of Object[_0x170d03(0x4d1)](_0x1e4861))this[_0x170d03(0x223)][_0x170d03(0x476)](_0x5f1179,_0x18f495);this[_0x170d03(0x223)][_0x170d03(0x523)]({'width':this[_0x170d03(0x4b2)],'height':this[_0x170d03(0x41c)]}),this[_0x170d03(0x28f)](_0x1a39ec,_0x19df63,_0x19172e,_0x1e4861),this[_0x170d03(0x451)]=this[_0x170d03(0x223)]['getDrawingPoints'](),this[_0x170d03(0x432)](),_0x32b871[_0x170d03(0x49f)]();}}),this[_0x4dfe2d(0x234)]=_0x5068a0['onPointerUp$']['subscribeEvent']((_0x2f10ed,_0x4848a2)=>{const _0x65fcd7=_0x4dfe2d;if(this[_0x65fcd7(0x27d)]['unsubscribe'](),this[_0x65fcd7(0x234)][_0x65fcd7(0x539)](),_0x5068a0[_0x65fcd7(0x22f)](),this[_0x65fcd7(0x223)]){let _0x49a209=this[_0x65fcd7(0x223)]['getAdjustNames'](),_0x1dc091={};for(let _0x32842a of _0x49a209){let _0x10f7ec=this[_0x65fcd7(0x223)]['getAdjustValueByName'](_0x32842a);_0x10f7ec!==void 0x0&&(_0x1dc091[_0x32842a]=_0x10f7ec);}this[_0x65fcd7(0x4d0)]['clipByShape'](_0x1a39ec,_0x19df63,_0x19172e,_0x160de0,_0x1dc091);}this[_0x65fcd7(0x328)]=void 0x0,this[_0x65fcd7(0x223)]=void 0x0,this['_isStartAdjusting']=!0x1,_0x4848a2['stopPropagation'](),_0x5068a0[_0x65fcd7(0x51a)]();}),_0x2a6957[_0x4dfe2d(0x49f)]();})));}[_0x13ba7a(0x28f)](_0xbc539a,_0x59dd86,_0x1184e1,_0x3b5c75){const _0x4361b7=_0x13ba7a;let _0x2cbac9=this[_0x4361b7(0x2e2)][_0x4361b7(0x57f)](_0xbc539a);if(!_0x2cbac9)return;let {scene:_0x18265c}=_0x2cbac9,_0x10606d=(0x0,_0x15864b[_0x4361b7(0x2df)])({'unitId':_0xbc539a,'subUnitId':_0x59dd86,'drawingId':_0x1184e1}),_0x1a9b45=_0x18265c['getObject'](_0x10606d);if(_0x1a9b45 instanceof _0x3458ba[_0x4361b7(0x4a3)]){let _0x530120=_0x1a9b45[_0x4361b7(0x444)]??{};_0x1a9b45[_0x4361b7(0x58f)]({..._0x530120,..._0x3b5c75}),_0x1a9b45[_0x4361b7(0x334)](!0x0);}}[_0x13ba7a(0x24e)](){const _0x4ae11c=_0x13ba7a;let _0x4d28e6=this[_0x4ae11c(0x583)][_0x4ae11c(0x3d3)](_0x10e5f9['UniverInstanceType'][_0x4ae11c(0x450)]);this[_0x4ae11c(0x47f)](_0x4d28e6[_0x4ae11c(0x560)]((0x0,_0x364ff4['switchMap'])(_0x1c2dcf=>_0x1c2dcf?_0x1c2dcf[_0x4ae11c(0x259)][_0x4ae11c(0x560)]((0x0,_0x364ff4[_0x4ae11c(0x289)])(_0x1f1f68=>{const _0x55ce0e=_0x4ae11c;if(!_0x1f1f68)return _0x364ff4['EMPTY'];let _0x5938f4=_0x1c2dcf[_0x55ce0e(0x3ff)](),_0x229eb2=this[_0x55ce0e(0x2e2)][_0x55ce0e(0x57f)](_0x5938f4),_0xa1d119=_0x229eb2==null?void 0x0:_0x229eb2[_0x55ce0e(0x2a7)];return _0xa1d119?(0x0,_0x364ff4['of'])(_0xa1d119):_0x364ff4['EMPTY'];})):_0x364ff4[_0x4ae11c(0x362)]))[_0x4ae11c(0x358)](_0xfe822f=>{const _0xb2e009=_0x4ae11c;let _0x4edd06=_0xfe822f[_0xb2e009(0x22d)]();this['disposeWithMe'](_0xfe822f[_0xb2e009(0x3af)][_0xb2e009(0x2f6)](()=>{const _0x25cc18=_0xb2e009;this[_0x25cc18(0x26a)]&&this[_0x25cc18(0x551)]();})),this[_0xb2e009(0x47f)](_0x4edd06[_0xb2e009(0x202)]['subscribe'](_0x5787b4=>{const _0x51ecd8=_0xb2e009;let {objects:_0x5a0709}=_0x5787b4;if(this[_0x51ecd8(0x432)](),_0x5a0709!==null&&_0x5a0709[_0x51ecd8(0x3ba)]===0x1){let _0x5bd109=_0x5a0709['values']()[_0x51ecd8(0x475)]()[_0x51ecd8(0x472)];_0x5bd109 instanceof _0x3458ba[_0x51ecd8(0x4a3)]&&_0x5bd109[_0x51ecd8(0x233)]&&(this[_0x51ecd8(0x26a)]=!0x0);}})),this[_0xb2e009(0x47f)](_0x4edd06['changing$'][_0xb2e009(0x358)](()=>{const _0x5cc913=_0xb2e009;this[_0x5cc913(0x26a)]&&this[_0x5cc913(0x551)]();})),this['disposeWithMe'](_0xfe822f[_0xb2e009(0x54b)][_0xb2e009(0x2f6)](()=>{const _0x5dd8fc=_0xb2e009;this[_0x5dd8fc(0x26a)]&&(this[_0x5dd8fc(0x26a)]=!0x1,this[_0x5dd8fc(0x432)]());})),this[_0xb2e009(0x47f)](_0x4edd06[_0xb2e009(0x2dc)][_0xb2e009(0x358)](()=>{const _0x1f9fb6=_0xb2e009;if(this[_0x1f9fb6(0x35d)]&&this['_subUnitId']&&this['_activeImageId']){let _0x2dd13b=this[_0x1f9fb6(0x518)](this[_0x1f9fb6(0x35d)],this[_0x1f9fb6(0x2cf)],this[_0x1f9fb6(0x22e)]);if(_0x2dd13b){var _0x36849e,_0x5e242f;let _0x206276=this[_0x1f9fb6(0x589)](this['_unitId'],this[_0x1f9fb6(0x2cf)],this['_activeImageId']),_0x544ac1=(_0x206276==null||(_0x36849e=_0x206276[_0x1f9fb6(0x474)])==null?void 0x0:_0x36849e[_0x1f9fb6(0x1dd)])||0x0,_0x4fbb91=(_0x206276==null||(_0x5e242f=_0x206276['transform'])==null?void 0x0:_0x5e242f['height'])||0x0,_0x4d416b=this[_0x1f9fb6(0x1e1)](_0x2dd13b[_0x1f9fb6(0x233)],_0x544ac1,_0x4fbb91,_0x2dd13b[_0x1f9fb6(0x4c3)]);_0x4d416b&&(this[_0x1f9fb6(0x451)]=_0x4d416b[_0x1f9fb6(0x524)](),this['_clearControls'](),this[_0x1f9fb6(0x432)](!0x0));}}}));}));}[_0x13ba7a(0x2cd)](){const _0x2eeee2=_0x13ba7a;this[_0x2eeee2(0x47f)](this[_0x2eeee2(0x3c5)]['focus$'][_0x2eeee2(0x358)](_0x53d4fa=>{const _0x2cb298=_0x2eeee2;if(_0x53d4fa[_0x2cb298(0x45b)]===0x1){let _0x294d22=_0x53d4fa[0x0];if(_0x294d22['drawingType']===_0x10e5f9[_0x2cb298(0x2e1)][_0x2cb298(0x597)]){let {unitId:_0x140d5c,subUnitId:_0x5c1e75,drawingId:_0xe71d5f}=_0x294d22,_0x53e787=this[_0x2cb298(0x518)](_0x140d5c,_0x5c1e75,_0xe71d5f);if(_0x53e787){var _0x198eb8,_0xaf5fd5;this[_0x2cb298(0x22e)]=_0xe71d5f,this[_0x2cb298(0x35d)]=_0x140d5c,this[_0x2cb298(0x2cf)]=_0x5c1e75;let _0x9ef6ab=this[_0x2cb298(0x589)](_0x140d5c,_0x5c1e75,_0xe71d5f),_0xd2dd23=(_0x9ef6ab==null||(_0x198eb8=_0x9ef6ab[_0x2cb298(0x474)])==null?void 0x0:_0x198eb8[_0x2cb298(0x1dd)])||0x0,_0x380772=(_0x9ef6ab==null||(_0xaf5fd5=_0x9ef6ab[_0x2cb298(0x474)])==null?void 0x0:_0xaf5fd5['height'])||0x0,_0x468eed=this['_getOrCreateShapeModel'](_0x53e787[_0x2cb298(0x233)],_0xd2dd23,_0x380772,_0x53e787['adjustValues']);_0x468eed&&(this[_0x2cb298(0x451)]=_0x468eed[_0x2cb298(0x524)]()),this[_0x2cb298(0x551)](),this[_0x2cb298(0x432)](!0x0);}else this[_0x2cb298(0x2a4)]();}else this[_0x2cb298(0x2a4)]();}else this['_resetState']();})),this[_0x2eeee2(0x47f)](this[_0x2eeee2(0x3c5)][_0x2eeee2(0x28e)][_0x2eeee2(0x358)](_0x54095f=>{const _0x5c099e=_0x2eeee2;if(_0x54095f[_0x5c099e(0x45b)]===0x1){let _0x9053e6=_0x54095f[0x0],_0x2efcb6=this[_0x5c099e(0x3c5)][_0x5c099e(0x3db)](_0x9053e6);(_0x2efcb6==null?void 0x0:_0x2efcb6[_0x5c099e(0x52e)])===_0x10e5f9['DrawingTypeEnum']['DRAWING_IMAGE']&&this[_0x5c099e(0x22e)]===_0x9053e6[_0x5c099e(0x272)]&&(this[_0x5c099e(0x551)](),this['_createControls'](!0x0));}})),this[_0x2eeee2(0x47f)](this[_0x2eeee2(0x3c5)][_0x2eeee2(0x1f5)][_0x2eeee2(0x358)](_0xa3578d=>{const _0x45d864=_0x2eeee2;for(let _0x520f50 of _0xa3578d)this[_0x45d864(0x22e)]===_0x520f50['drawingId']&&this['_resetState']();}));}[_0x13ba7a(0x2a4)](){const _0x29891f=_0x13ba7a;this['_activeImageId']=null,this['_unitId']=null,this[_0x29891f(0x2cf)]=null,this[_0x29891f(0x451)]=void 0x0,this[_0x29891f(0x551)]();}};_0x9f7a3e=_0x12f75a([_0x174396(0x1,_0x15864b[_0x13ba7a(0x4e8)]),_0x174396(0x2,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x3458ba[_0x13ba7a(0x2a5)])),_0x174396(0x3,_0x10e5f9[_0x13ba7a(0x41d)]),_0x174396(0x4,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x29f473))],_0x9f7a3e);function _0x3f4c4b({ref:_0x39ae4f,..._0x18ab6f}){const _0x24944a=_0x13ba7a;let {preserveStrokeWidth:_0x4186ad,icon:_0x117ba3,id:_0x37e751,className:_0x2c7a73,extend:_0x2a95eb,..._0x1c386e}=_0x18ab6f,_0x2e1aeb=('univerjs-icon\x20univerjs-icon-'+_0x37e751+'\x20'+(_0x2c7a73||''))[_0x24944a(0x581)](),_0x41e24f='_'+(0x0,_0x18bd90[_0x24944a(0x508)])(),_0x1fbe94=(0x0,_0x18bd90[_0x24944a(0x288)])(null);return(0x0,_0x18bd90[_0x24944a(0x27f)])(_0x39ae4f,()=>_0x1fbe94[_0x24944a(0x360)]),(0x0,_0x18bd90[_0x24944a(0x4e0)])(()=>{const _0x41cdcb=_0x24944a;if(_0x4186ad&&_0x1fbe94[_0x41cdcb(0x360)]&&_0x1fbe94[_0x41cdcb(0x360)][_0x41cdcb(0x3ac)]===_0x117ba3[_0x41cdcb(0x51b)])return _0x3eb98a(_0x1fbe94['current']);},[_0x4186ad,_0x117ba3]),_0x415d98(_0x117ba3,''+_0x37e751,{'defIds':_0x117ba3[_0x24944a(0x35f)],'idSuffix':_0x41e24f},{'ref':_0x1fbe94,'className':_0x2e1aeb,..._0x1c386e},_0x2a95eb);}function _0x415d98(_0x4e9922,_0x5c93b4,_0x4314fc,_0x33643b,_0x30ecff){const _0x1c6719=_0x13ba7a;return(0x0,_0x18bd90['createElement'])(_0x4e9922[_0x1c6719(0x51b)],{'key':_0x5c93b4,..._0x5ee590(_0x4e9922,_0x4314fc,_0x30ecff),..._0x33643b},(_0x4db7f6(_0x4e9922,_0x4314fc)[_0x1c6719(0x46d)]||[])['map']((_0x48f144,_0x52a05a)=>_0x415d98(_0x48f144,_0x5c93b4+'-'+_0x4e9922['tag']+'-'+_0x52a05a,_0x4314fc,void 0x0,_0x30ecff)));}function _0x5ee590(_0xbf56c,_0x1fd983,_0x4436d2){const _0x4838ae=_0x13ba7a;let _0x542fc3={..._0xbf56c[_0x4838ae(0x1a4)]};_0x4436d2!=null&&_0x4436d2[_0x4838ae(0x3ad)]&&_0x542fc3['fill']==='colorChannel1'&&(_0x542fc3['fill']=_0x4436d2[_0x4838ae(0x3ad)]),_0x4436d2!=null&&_0x4436d2[_0x4838ae(0x3ad)]&&_0x542fc3[_0x4838ae(0x24f)]===_0x4838ae(0x3ad)&&(_0x542fc3[_0x4838ae(0x24f)]=_0x4436d2[_0x4838ae(0x3ad)]),_0xbf56c[_0x4838ae(0x51b)]===_0x4838ae(0x1b0)&&_0x542fc3['id']&&(_0x542fc3['id']+=_0x1fd983['idSuffix']),Object[_0x4838ae(0x4d1)](_0x542fc3)[_0x4838ae(0x34a)](([_0x30c863,_0x10322b])=>{const _0xb5212e=_0x4838ae;_0x30c863===_0xb5212e(0x1b0)&&typeof _0x10322b==_0xb5212e(0x4fd)&&(_0x542fc3[_0x30c863]=_0x10322b[_0xb5212e(0x246)](/url\(#(.*)\)/,_0xb5212e(0x375)+_0x1fd983[_0xb5212e(0x3a3)]+')'));});let {defIds:_0x26d280}=_0x1fd983;return!_0x26d280||_0x26d280['length']===0x0?_0x542fc3:(_0xbf56c['tag']===_0x4838ae(0x1ca)&&_0x542fc3[_0x4838ae(0x557)]&&(_0x542fc3[_0x4838ae(0x557)]+=_0x1fd983[_0x4838ae(0x3a3)]),Object[_0x4838ae(0x4d1)](_0x542fc3)[_0x4838ae(0x34a)](([_0x6a2ca2,_0x195e84])=>{const _0xe21ea5=_0x4838ae;typeof _0x195e84==_0xe21ea5(0x4fd)&&(_0x542fc3[_0x6a2ca2]=_0x195e84[_0xe21ea5(0x246)](/url\(#(.*)\)/,_0xe21ea5(0x375)+_0x1fd983[_0xe21ea5(0x3a3)]+')'));}),_0x542fc3);}function _0x4db7f6(_0x150970,_0x59460a){const _0x54b214=_0x13ba7a;var _0x972079;let {defIds:_0x50b2e1}=_0x59460a;return!_0x50b2e1||_0x50b2e1[_0x54b214(0x45b)]===0x0?_0x150970:_0x150970[_0x54b214(0x51b)]===_0x54b214(0x44c)&&(_0x972079=_0x150970[_0x54b214(0x46d)])!=null&&_0x972079[_0x54b214(0x45b)]?{..._0x150970,'children':_0x150970['children'][_0x54b214(0x281)](_0x890982=>typeof _0x890982[_0x54b214(0x1a4)]['id']==_0x54b214(0x4fd)&&_0x50b2e1&&_0x50b2e1['includes'](_0x890982[_0x54b214(0x1a4)]['id'])?{..._0x890982,'attrs':{..._0x890982[_0x54b214(0x1a4)],'id':_0x890982[_0x54b214(0x1a4)]['id']+_0x59460a[_0x54b214(0x3a3)]}}:_0x890982)}:_0x150970;}function _0x3eb98a(_0x3f64fa){const _0x2eb91c=_0x13ba7a;let _0x5de1c9=_0x3f64fa[_0x2eb91c(0x443)][_0x2eb91c(0x462)],_0xd161ca=Math[_0x2eb91c(0x4f1)](_0x5de1c9[_0x2eb91c(0x1dd)],_0x5de1c9[_0x2eb91c(0x2c5)]);if(!Number[_0x2eb91c(0x2fc)](_0xd161ca)||_0xd161ca<=0x0||_0x5de1c9[_0x2eb91c(0x1dd)]<=0x0||_0x5de1c9[_0x2eb91c(0x2c5)]<=0x0)return()=>void 0x0;let _0x43a467=0x10/_0xd161ca,_0x10a064=Array[_0x2eb91c(0x1fd)](_0x3f64fa[_0x2eb91c(0x229)](_0x2eb91c(0x2ac)))[_0x2eb91c(0x2d8)](_0xead1ff=>{const _0x106c4c=_0x2eb91c;let _0x1ff8f2=getComputedStyle(_0xead1ff),_0x3f219e=Number[_0x106c4c(0x2b8)](_0x1ff8f2[_0x106c4c(0x386)]);return _0x1ff8f2[_0x106c4c(0x24f)]===_0x106c4c(0x542)||Number[_0x106c4c(0x2b8)](_0x1ff8f2['strokeOpacity'])===0x0||_0x1ff8f2[_0x106c4c(0x1c7)]===_0x106c4c(0x4a2)||!Number[_0x106c4c(0x2fc)](_0x3f219e)||_0x3f219e<=0x0?[]:[{'element':_0xead1ff,'hadStyleAttribute':_0xead1ff[_0x106c4c(0x408)]('style'),'originalStrokeWidth':_0x3f219e,'strokeWidth':_0x477470(_0xead1ff['style'],_0x106c4c(0x572))}];})[_0x2eb91c(0x281)](_0x5b4b9d=>({'appliedStrokeWidth':null,'element':_0x5b4b9d[_0x2eb91c(0x217)],'hadStyleAttribute':_0x5b4b9d[_0x2eb91c(0x4b3)],'isReleased':!0x1,'originalStrokeWidth':_0x5b4b9d['originalStrokeWidth'],'strokeWidth':_0x5b4b9d[_0x2eb91c(0x386)]}));if(_0x10a064[_0x2eb91c(0x45b)]===0x0)return()=>void 0x0;let _0x484b81=(_0x142f3c,_0x48aaa9)=>{const _0x1239b1=_0x2eb91c;if(_0x5de1c9[_0x1239b1(0x1dd)]<=0x0||_0x5de1c9[_0x1239b1(0x2c5)]<=0x0||_0x142f3c<=0x0||_0x48aaa9<=0x0)return;let _0xc1257e=Math[_0x1239b1(0x254)](_0x142f3c/_0x5de1c9[_0x1239b1(0x1dd)],_0x48aaa9/_0x5de1c9[_0x1239b1(0x2c5)]);!Number[_0x1239b1(0x2fc)](_0xc1257e)||_0xc1257e<=0x0||_0x10a064[_0x1239b1(0x34a)](_0x5f1d50=>{const _0x36544e=_0x1239b1;if(_0x5f1d50[_0x36544e(0x1f7)])return;if(_0x5f1d50[_0x36544e(0x3e7)]!==null&&(_0x5f1d50['element'][_0x36544e(0x45d)][_0x36544e(0x26d)]('stroke-width')!==_0x5f1d50[_0x36544e(0x3e7)]||_0x5f1d50[_0x36544e(0x217)][_0x36544e(0x45d)]['getPropertyPriority'](_0x36544e(0x572))!==_0x5f1d50['strokeWidth'][_0x36544e(0x336)])){_0x5f1d50[_0x36544e(0x3e7)]=null,_0x5f1d50['isReleased']=!0x0;return;}let _0x5e4504=_0x5f1d50[_0x36544e(0x220)]*_0x43a467/_0xc1257e,_0x18b86f=Number(_0x5e4504['toFixed'](0xc))+'px';_0x5f1d50[_0x36544e(0x217)][_0x36544e(0x45d)][_0x36544e(0x483)]('stroke-width',_0x18b86f,_0x5f1d50[_0x36544e(0x386)][_0x36544e(0x336)]),_0x5f1d50[_0x36544e(0x3e7)]=_0x18b86f;});},_0x3f3a5b=_0x3f64fa[_0x2eb91c(0x452)]();_0x484b81(_0x3f3a5b[_0x2eb91c(0x1dd)],_0x3f3a5b['height']);let _0x2d1add=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x22b7fc=>{const _0x2a3d6b=_0x2eb91c;if(_0x22b7fc[_0x2a3d6b(0x301)](_0x4de675=>_0x4de675[_0x2a3d6b(0x2de)]===_0x3f64fa)){let _0x551ff6=_0x3f64fa['getBoundingClientRect']();_0x484b81(_0x551ff6[_0x2a3d6b(0x1dd)],_0x551ff6[_0x2a3d6b(0x2c5)]);}});return _0x2d1add==null||_0x2d1add[_0x2eb91c(0x3d9)](_0x3f64fa),()=>{const _0xe5720=_0x2eb91c;_0x2d1add==null||_0x2d1add['disconnect'](),_0x10a064[_0xe5720(0x34a)](_0x29ea8a=>{const _0x31f6a6=_0xe5720;_0x29ea8a[_0x31f6a6(0x3e7)]!==null&&(_0x5c44c9(_0x29ea8a[_0x31f6a6(0x217)]['style'],'stroke-width',_0x29ea8a[_0x31f6a6(0x3e7)],_0x29ea8a['strokeWidth'][_0x31f6a6(0x336)],_0x29ea8a['strokeWidth']),!_0x29ea8a[_0x31f6a6(0x4b3)]&&_0x29ea8a['element']['style'][_0x31f6a6(0x45b)]===0x0&&_0x29ea8a['element'][_0x31f6a6(0x249)](_0x31f6a6(0x45d)));});};}function _0x477470(_0x397ab6,_0x3d174b){const _0x3a6c1c=_0x13ba7a;return{'priority':_0x397ab6['getPropertyPriority'](_0x3d174b),'value':_0x397ab6[_0x3a6c1c(0x26d)](_0x3d174b)};}function _0x5c44c9(_0xc83d27,_0x3a1b23,_0x50af69,_0x598415,_0x341895){const _0x2f586f=_0x13ba7a;_0xc83d27[_0x2f586f(0x26d)](_0x3a1b23)===_0x50af69&&_0xc83d27['getPropertyPriority'](_0x3a1b23)===_0x598415&&(_0x341895[_0x2f586f(0x472)]?_0xc83d27['setProperty'](_0x3a1b23,_0x341895['value'],_0x341895['priority']):_0xc83d27[_0x2f586f(0x2d5)](_0x3a1b23));}_0x3f4c4b[_0x13ba7a(0x2f2)]=_0x13ba7a(0x30c);let _0x47913d={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x13ba7a(0x542),'viewBox':_0x13ba7a(0x4c9),'width':_0x13ba7a(0x3f1),'height':_0x13ba7a(0x3f1)},'children':[{'tag':_0x13ba7a(0x219),'attrs':{'fill':'currentColor','d':_0x13ba7a(0x1fc),'fillRule':_0x13ba7a(0x50d),'clipRule':_0x13ba7a(0x50d)}},{'tag':_0x13ba7a(0x219),'attrs':{'fill':'currentColor','d':_0x13ba7a(0x371),'fillRule':'evenodd','clipRule':_0x13ba7a(0x50d)}},{'tag':'path','attrs':{'fill':_0x13ba7a(0x346),'d':_0x13ba7a(0x287)}},{'tag':_0x13ba7a(0x219),'attrs':{'fill':_0x13ba7a(0x346),'d':_0x13ba7a(0x415)}}]},_0x414477=(0x0,_0x18bd90[_0x13ba7a(0x30f)])(function(_0x2e8f91,_0x30fda1){const _0x28922b=_0x13ba7a;return(0x0,_0x18bd90[_0x28922b(0x50e)])(_0x3f4c4b,Object[_0x28922b(0x236)]({},_0x2e8f91,{'id':_0x28922b(0x323),'ref':_0x30fda1,'icon':_0x47913d}));});_0x414477[_0x13ba7a(0x2f2)]=_0x13ba7a(0x350);let _0x592adc={'tag':'svg','attrs':{'xmlns':_0x13ba7a(0x369),'fill':_0x13ba7a(0x542),'viewBox':_0x13ba7a(0x316),'width':'1em','height':_0x13ba7a(0x3f1)},'children':[{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':'M2.6\x203.3L6.2\x208L2.6\x2012.7V3.3Z','strokeLinecap':_0x13ba7a(0x396),'strokeLinejoin':_0x13ba7a(0x396),'strokeWidth':1.3}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x44b),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x556),'strokeLinecap':_0x13ba7a(0x396),'strokeWidth':1.2}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x4ab),'strokeLinecap':_0x13ba7a(0x396),'strokeWidth':1.2}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':'M8\x2010.2V11.8','strokeLinecap':_0x13ba7a(0x396),'strokeWidth':1.2}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x31a),'strokeLinecap':_0x13ba7a(0x396),'strokeWidth':1.2}}]},_0x20e04e=(0x0,_0x18bd90[_0x13ba7a(0x30f)])(function(_0x572c69,_0xc60eff){const _0x14ac33=_0x13ba7a;return(0x0,_0x18bd90[_0x14ac33(0x50e)])(_0x3f4c4b,Object[_0x14ac33(0x236)]({},_0x572c69,{'id':_0x14ac33(0x2c9),'ref':_0xc60eff,'icon':_0x592adc}));});_0x20e04e[_0x13ba7a(0x2f2)]=_0x13ba7a(0x3cc);let _0x5f5806={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x13ba7a(0x542),'viewBox':_0x13ba7a(0x316),'width':_0x13ba7a(0x3f1),'height':_0x13ba7a(0x3f1)},'children':[{'tag':'path','attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x34c),'strokeLinecap':'round','strokeLinejoin':_0x13ba7a(0x396),'strokeWidth':1.3}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':'currentColor','d':'M3.3\x2013.4L8\x209.8L12.7\x2013.4H3.3Z','strokeLinecap':_0x13ba7a(0x396),'strokeLinejoin':_0x13ba7a(0x396),'strokeWidth':1.3}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x199),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x34f),'strokeLinecap':_0x13ba7a(0x396),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':'currentColor','d':_0x13ba7a(0x203),'strokeLinecap':_0x13ba7a(0x396),'strokeWidth':1.2}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x29e),'strokeLinecap':'round','strokeWidth':1.2}}]},_0x5b520d=(0x0,_0x18bd90[_0x13ba7a(0x30f)])(function(_0x41f1ef,_0x3bd550){const _0x1b3d78=_0x13ba7a;return(0x0,_0x18bd90['createElement'])(_0x3f4c4b,Object[_0x1b3d78(0x236)]({},_0x41f1ef,{'id':_0x1b3d78(0x2bd),'ref':_0x3bd550,'icon':_0x5f5806}));});_0x5b520d[_0x13ba7a(0x2f2)]=_0x13ba7a(0x431);let _0x3a88f1={'tag':_0x13ba7a(0x437),'attrs':{'xmlns':_0x13ba7a(0x369),'fill':_0x13ba7a(0x542),'viewBox':_0x13ba7a(0x316),'width':_0x13ba7a(0x3f1),'height':'1em'},'children':[{'tag':_0x13ba7a(0x219),'attrs':{'fill':_0x13ba7a(0x346),'d':_0x13ba7a(0x356),'fillRule':_0x13ba7a(0x50d),'clipRule':_0x13ba7a(0x50d)}},{'tag':_0x13ba7a(0x219),'attrs':{'fill':'currentColor','d':_0x13ba7a(0x4f5)}}]},_0x561e77=(0x0,_0x18bd90['forwardRef'])(function(_0x323736,_0xe41a6a){const _0x257c1a=_0x13ba7a;return(0x0,_0x18bd90[_0x257c1a(0x50e)])(_0x3f4c4b,Object['assign']({},_0x323736,{'id':_0x257c1a(0x3f5),'ref':_0xe41a6a,'icon':_0x3a88f1}));});_0x561e77[_0x13ba7a(0x2f2)]='MoveDownIcon';let _0x228117={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x13ba7a(0x542),'viewBox':_0x13ba7a(0x316),'width':'1em','height':_0x13ba7a(0x3f1)},'children':[{'tag':_0x13ba7a(0x219),'attrs':{'fill':_0x13ba7a(0x346),'d':_0x13ba7a(0x41a),'fillRule':'evenodd','clipRule':_0x13ba7a(0x50d)}},{'tag':_0x13ba7a(0x219),'attrs':{'fill':_0x13ba7a(0x346),'d':'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'}}]},_0x37f265=(0x0,_0x18bd90[_0x13ba7a(0x30f)])(function(_0x16a8bb,_0x3ca48e){const _0x37ada5=_0x13ba7a;return(0x0,_0x18bd90[_0x37ada5(0x50e)])(_0x3f4c4b,Object[_0x37ada5(0x236)]({},_0x16a8bb,{'id':_0x37ada5(0x314),'ref':_0x3ca48e,'icon':_0x228117}));});_0x37f265[_0x13ba7a(0x2f2)]=_0x13ba7a(0x1d0);let _0x4b5d4b={'tag':'svg','attrs':{'xmlns':_0x13ba7a(0x369),'fill':_0x13ba7a(0x542),'viewBox':_0x13ba7a(0x316),'width':_0x13ba7a(0x3f1),'height':_0x13ba7a(0x3f1)},'children':[{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':'M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','strokeLinecap':_0x13ba7a(0x396),'strokeLinejoin':_0x13ba7a(0x396),'strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x13ba7a(0x346),'d':'m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.3}}]},_0x4e302b=(0x0,_0x18bd90['forwardRef'])(function(_0x23bec4,_0x44f71){const _0x1164cc=_0x13ba7a;return(0x0,_0x18bd90['createElement'])(_0x3f4c4b,Object[_0x1164cc(0x236)]({},_0x23bec4,{'id':_0x1164cc(0x2c1),'ref':_0x44f71,'icon':_0x4b5d4b}));});_0x4e302b[_0x13ba7a(0x2f2)]=_0x13ba7a(0x2e9);let _0x195121={'tag':_0x13ba7a(0x437),'attrs':{'xmlns':_0x13ba7a(0x369),'fill':_0x13ba7a(0x542),'viewBox':_0x13ba7a(0x316),'width':_0x13ba7a(0x3f1),'height':'1em'},'children':[{'tag':'path','attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x2ba),'strokeLinecap':_0x13ba7a(0x396),'strokeLinejoin':_0x13ba7a(0x396),'strokeWidth':1.2}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':'currentColor','d':'M4.2\x205.5H10.5','strokeLinecap':_0x13ba7a(0x396),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x2ef),'strokeLinecap':_0x13ba7a(0x396),'strokeWidth':1.2}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x54f),'strokeLinejoin':'round'}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x40f)}}]},_0x2534bb=(0x0,_0x18bd90['forwardRef'])(function(_0x3d42bc,_0x239065){const _0x1cd4c4=_0x13ba7a;return(0x0,_0x18bd90['createElement'])(_0x3f4c4b,Object[_0x1cd4c4(0x236)]({},_0x3d42bc,{'id':_0x1cd4c4(0x285),'ref':_0x239065,'icon':_0x195121}));});_0x2534bb['displayName']=_0x13ba7a(0x492);let _0x5594fa={'tag':'svg','attrs':{'xmlns':_0x13ba7a(0x369),'fill':_0x13ba7a(0x542),'viewBox':'0\x200\x2017\x2016','width':_0x13ba7a(0x3f1),'height':_0x13ba7a(0x3f1)},'children':[{'tag':_0x13ba7a(0x219),'attrs':{'fill':'currentColor','d':_0x13ba7a(0x3e3)}},{'tag':_0x13ba7a(0x219),'attrs':{'fill':_0x13ba7a(0x346),'d':_0x13ba7a(0x24b),'fillRule':_0x13ba7a(0x50d),'clipRule':_0x13ba7a(0x50d)}},{'tag':_0x13ba7a(0x219),'attrs':{'fill':_0x13ba7a(0x346),'d':_0x13ba7a(0x453),'fillRule':_0x13ba7a(0x50d),'clipRule':'evenodd'}}]},_0x209146=(0x0,_0x18bd90[_0x13ba7a(0x30f)])(function(_0x4a217a,_0x2a6ffa){const _0x11e1a8=_0x13ba7a;return(0x0,_0x18bd90[_0x11e1a8(0x50e)])(_0x3f4c4b,Object[_0x11e1a8(0x236)]({},_0x4a217a,{'id':'topmost-icon','ref':_0x2a6ffa,'icon':_0x5594fa}));});_0x209146[_0x13ba7a(0x2f2)]=_0x13ba7a(0x51f);function _0x18dc10(_0x86c5e){const _0x8bea11=_0x13ba7a;return _0x86c5e[_0x8bea11(0x581)]()||void 0x0;}function _0xd0506c(_0x21741e,_0x1f4a9e,_0x5a3f0b){const _0x5ef6c2=_0x13ba7a;var _0xe90dd4;return((_0xe90dd4=_0x21741e['name'])==null?void 0x0:_0xe90dd4[_0x5ef6c2(0x581)]())||_0x5a3f0b['t'](_0x5ef6c2(0x43f)+(0x0,_0xba932b[_0x5ef6c2(0x531)])(_0x21741e['drawingType']))+'\x20'+(_0x1f4a9e+0x1);}function _0x339519({PanelComponent:_0x157833=_0x2a7f32[_0x13ba7a(0x48d)]}){const _0x116f24=_0x13ba7a;var _0x4a87ce;let _0x71a148=(0x0,_0x187e10[_0x116f24(0x53e)])(_0x10e5f9[_0x116f24(0x482)]),_0x2ca1fa={'title':_0x71a148['t'](_0x116f24(0x55a)),'empty':_0x71a148['t'](_0x116f24(0x37b)),'showAll':_0x71a148['t'](_0x116f24(0x586)),'hideAll':_0x71a148['t'](_0x116f24(0x41b)),'lockAll':_0x71a148['t'](_0x116f24(0x244)),'unlockAll':_0x71a148['t'](_0x116f24(0x318)),'moveForward':_0x71a148['t']('drawing-ui.objectListPanel.moveForward'),'moveBackward':_0x71a148['t'](_0x116f24(0x4b9)),'close':_0x71a148['t'](_0x116f24(0x21b)),'show':_0x71a148['t'](_0x116f24(0x3d7)),'hide':_0x71a148['t'](_0x116f24(0x3b1)),'lock':_0x71a148['t'](_0x116f24(0x28a)),'unlock':_0x71a148['t'](_0x116f24(0x532)),'lockHint':_0x71a148['t'](_0x116f24(0x46f)),'unlockHint':_0x71a148['t']('drawing-ui.objectListPanel.unlockHint'),'name':_0x71a148['t']('drawing-ui.objectListPanel.name'),'nameInput':_0x71a148['t'](_0x116f24(0x454)),'description':_0x71a148['t']('drawing-ui.objectListPanel.description'),'descriptionPlaceholder':_0x71a148['t'](_0x116f24(0x47c)),'details':_0x71a148['t'](_0x116f24(0x579)),'noSelection':_0x71a148['t']('drawing-ui.objectListPanel.noSelection'),'locate':_0x71a148['t']('drawing-ui.objectListPanel.locate'),'expand':_0x71a148['t'](_0x116f24(0x2c2)),'collapse':_0x71a148['t'](_0x116f24(0x345)),'dragToReorder':_0x71a148['t']('drawing-ui.objectListPanel.dragToReorder'),'search':_0x71a148['t'](_0x116f24(0x40a)),'filterAll':_0x71a148['t']('drawing-ui.objectListPanel.filterAll'),'filterHidden':_0x71a148['t'](_0x116f24(0x321)),'filterLocked':_0x71a148['t'](_0x116f24(0x1b6)),'sectionCanvas':_0x71a148['t'](_0x116f24(0x1a5)),'sectionFloating':_0x71a148['t'](_0x116f24(0x1fb))},_0x114ead=(0x0,_0x187e10[_0x116f24(0x53e)])(_0x10e5f9[_0x116f24(0x297)]),_0x338f6a=(0x0,_0x187e10[_0x116f24(0x53e)])(_0x10e5f9[_0x116f24(0x41d)]),_0x1f56f5=(0x0,_0x187e10[_0x116f24(0x53e)])(_0x40f1a1[_0x116f24(0x292)]),_0x2630f6=(0x0,_0x187e10[_0x116f24(0x53e)])(_0x15864b[_0x116f24(0x4e8)]),_0x527233=(0x0,_0x187e10[_0x116f24(0x53e)])(_0x3458ba[_0x116f24(0x2a5)]),[,_0x16df67]=(0x0,_0x18bd90[_0x116f24(0x2da)])(_0x4bbff9=>_0x4bbff9+0x1,0x0),_0x275265=_0x338f6a[_0x116f24(0x34e)](_0x10e5f9['UniverInstanceType'][_0x116f24(0x450)]),_0x5f4bfc=(_0x275265==null?void 0x0:_0x275265['getUnitId']())??'',_0x16a15a=(_0x275265==null||(_0x4a87ce=_0x275265['getActiveSheet']())==null?void 0x0:_0x4a87ce[_0x116f24(0x37c)]())??'',_0xda63fd=(0x0,_0x187e10[_0x116f24(0x364)])(()=>_0x2630f6[_0x116f24(0x332)],_0x2630f6[_0x116f24(0x1da)](),!0x1,[_0x2630f6]);(0x0,_0x18bd90[_0x116f24(0x41e)])(()=>{const _0x40f824=_0x116f24;let _0x1fc01d=_0x114ead[_0x40f824(0x1ac)](()=>_0x16df67());return()=>_0x1fc01d[_0x40f824(0x206)]();},[_0x114ead]);let _0x2e7029=_0x5f4bfc&&_0x16a15a?_0x1f56f5['getDrawingData'](_0x5f4bfc,_0x16a15a):{},_0x266b5b=(_0x5f4bfc&&_0x16a15a?_0x1f56f5['getDrawingOrder'](_0x5f4bfc,_0x16a15a):[])['map'](_0x3dd385=>_0x2e7029[_0x3dd385])[_0x116f24(0x435)](_0x5d3454=>!!_0x5d3454)[_0x116f24(0x52c)](),_0x3478e1=_0x266b5b[_0x116f24(0x465)]((_0x344252,_0x3defc9)=>(_0x344252[(0x0,_0x2a7f32['getObjectListPanelSectionIdForDrawingType'])(_0x3defc9[_0x116f24(0x52e)])]+=0x1,_0x344252),{'canvas':0x0,'floating':0x0}),_0x5e818a={'canvas':0x0,'floating':0x0},_0x38e450=_0x266b5b[_0x116f24(0x281)]((_0x2aae4a,_0x5a5c83)=>{const _0x563c07=_0x116f24;let _0x3e70ec=(0x0,_0x2a7f32['getObjectListPanelSectionIdForDrawingType'])(_0x2aae4a['drawingType']),_0x280a1a=_0x3e70ec===_0x2a7f32[_0x563c07(0x28c)],_0x26cea8=_0x5e818a[_0x3e70ec]++;return{'id':_0x2aae4a[_0x563c07(0x272)],'name':_0xd0506c(_0x2aae4a,_0x5a5c83,_0x71a148),'description':_0x2aae4a['description'],'visible':_0x2aae4a[_0x563c07(0x1c5)]!==!0x0,'selectable':_0x2aae4a[_0x563c07(0x382)]!==!0x1,'sectionId':_0x3e70ec,'sectionTitle':_0x280a1a?_0x2ca1fa[_0x563c07(0x42c)]:_0x2ca1fa[_0x563c07(0x4d4)],'capabilities':_0x280a1a?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x280a1a&&_0x26cea8>0x0,'canMoveBackward':!_0x280a1a&&_0x26cea8<_0x3478e1[_0x563c07(0x31f)]-0x1,'canReorder':!_0x280a1a};}),_0x86da9a=(0x0,_0x18bd90[_0x116f24(0x2a1)])(()=>(_0xda63fd??[])[_0x116f24(0x435)](_0x58cf0a=>_0x58cf0a[_0x116f24(0x26e)]===_0x5f4bfc&&_0x58cf0a[_0x116f24(0x354)]===_0x16a15a)[_0x116f24(0x281)](_0x311789=>_0x311789[_0x116f24(0x272)]),[_0xda63fd,_0x16a15a,_0x5f4bfc]),_0x4a775d=_0x86da9a[_0x86da9a[_0x116f24(0x45b)]-0x1]??null,_0x58f603=_0x2418f3=>_0x1f56f5[_0x116f24(0x3db)]({'unitId':_0x5f4bfc,'subUnitId':_0x16a15a,'drawingId':_0x2418f3})??null,_0x57d64b=async _0x230f10=>{const _0x3dd290=_0x116f24;_0x5f4bfc&&_0x230f10['length']&&await _0x114ead[_0x3dd290(0x274)](_0x40f1a1[_0x3dd290(0x26f)]['id'],{'unitId':_0x5f4bfc,'drawings':_0x230f10});},_0x7319cd=async(_0x4d7e31,_0x5f43ab)=>{_0x58f603(_0x4d7e31)&&await _0x57d64b([{'unitId':_0x5f4bfc,'subUnitId':_0x16a15a,'drawingId':_0x4d7e31,..._0x5f43ab}]);},_0x34f45f=(_0x2f620c,_0x23d19f)=>{const _0x1b1aad=_0x116f24;if(!_0x5f4bfc||!_0x16a15a)return;let _0x294462=_0x23d19f?_0x86da9a[_0x1b1aad(0x1df)](_0x2f620c)?_0x86da9a[_0x1b1aad(0x435)](_0x194953=>_0x194953!==_0x2f620c):[..._0x86da9a,_0x2f620c]:[_0x2f620c];_0x114ead[_0x1b1aad(0x1f8)](_0x15864b[_0x1b1aad(0x2e8)]['id'],_0x294462[_0x1b1aad(0x281)](_0x28ffe7=>({'unitId':_0x5f4bfc,'subUnitId':_0x16a15a,'drawingId':_0x28ffe7})));let _0x2ec5bb=_0x294462[_0x294462[_0x1b1aad(0x45b)]-0x1];_0x2ec5bb?(0x0,_0xba932b[_0x1b1aad(0x559)])(_0x527233,{'unitId':_0x5f4bfc,'subUnitId':_0x16a15a,'drawingId':_0x2ec5bb}):(0x0,_0xba932b[_0x1b1aad(0x2a9)])(_0x527233,_0x5f4bfc);},_0x3b8c4b=async(_0x96a124,_0x3fe9b7)=>{const _0x37668b=_0x116f24;await _0x57d64b(_0x96a124[_0x37668b(0x281)](_0x42a4e9=>_0x58f603(_0x42a4e9))['filter'](_0x3afb2c=>!!_0x3afb2c)[_0x37668b(0x435)](_0x2e03a3=>_0x2e03a3[_0x37668b(0x1c5)]!==!0x0!==_0x3fe9b7)[_0x37668b(0x281)](_0x55882f=>({'unitId':_0x5f4bfc,'subUnitId':_0x16a15a,'drawingId':_0x55882f[_0x37668b(0x272)],'hidden':!_0x3fe9b7})));},_0x48b695=async(_0x122f59,_0x67b6c1)=>{const _0x4882a5=_0x116f24;await _0x57d64b(_0x122f59[_0x4882a5(0x281)](_0x546e6c=>_0x58f603(_0x546e6c))[_0x4882a5(0x435)](_0x1732de=>!!_0x1732de)[_0x4882a5(0x435)](_0x47b5c6=>_0x47b5c6[_0x4882a5(0x382)]!==!0x1!==_0x67b6c1)[_0x4882a5(0x281)](_0x3fa86d=>({'unitId':_0x5f4bfc,'subUnitId':_0x16a15a,'drawingId':_0x3fa86d[_0x4882a5(0x272)],'selectable':_0x67b6c1})));},_0x9cd754=_0x24c8c6=>{const _0x4fbbbf=_0x116f24;let _0x154752=_0x58f603(_0x24c8c6);if(_0x154752)return _0x48b695([_0x24c8c6],_0x154752[_0x4fbbbf(0x382)]===!0x1);},_0x2b6df4=async(_0x233ebc,_0x211888)=>{const _0x465e59=_0x116f24;var _0x785f74;let _0x2cf699=_0x18dc10(_0x211888);(((_0x785f74=_0x58f603(_0x233ebc))==null?void 0x0:_0x785f74[_0x465e59(0x1f6)])??void 0x0)!==_0x2cf699&&await _0x7319cd(_0x233ebc,{'name':_0x2cf699});},_0x463211=async(_0x117b38,_0xd75c29)=>{const _0x4b8eb2=_0x116f24;var _0x470a8c;let _0x34f8e3=_0x18dc10(_0xd75c29);(((_0x470a8c=_0x58f603(_0x117b38))==null?void 0x0:_0x470a8c[_0x4b8eb2(0x320)])??void 0x0)!==_0x34f8e3&&await _0x7319cd(_0x117b38,{'description':_0x34f8e3});},_0xbfb439=async(_0x280536,_0x544658)=>{const _0x4621f5=_0x116f24;_0x5f4bfc&&_0x16a15a&&await _0x114ead[_0x4621f5(0x274)](_0x40f1a1['SetDrawingArrangeCommand']['id'],{'unitId':_0x5f4bfc,'subUnitId':_0x16a15a,'drawingIds':[_0x280536],'arrangeType':_0x544658});};return!_0x5f4bfc||!_0x16a15a?(0x0,_0x30a372[_0x116f24(0x357)])(_0x116f24(0x3a5),{'className':_0x116f24(0x1fa),'children':_0x2ca1fa[_0x116f24(0x284)]}):(0x0,_0x30a372['jsx'])(_0x157833,{'labels':_0x2ca1fa,'items':_0x38e450,'selectedIds':_0x86da9a,'focusedId':_0x4a775d,'showHeader':!0x1,'onSelect':_0x34f45f,'onSetVisible':_0x3b8c4b,'onSetSelectable':_0x48b695,'onCommitName':_0x2b6df4,'onCommitDescription':_0x463211,'onMoveForward':async _0x1cc14e=>_0xbfb439(_0x1cc14e,_0x10e5f9[_0x116f24(0x3e1)][_0x116f24(0x470)]),'onMoveBackward':async _0x30b3a0=>_0xbfb439(_0x30b3a0,_0x10e5f9[_0x116f24(0x3e1)][_0x116f24(0x208)]),'onToggleSelectable':_0x9cd754});}function _0x1c616(){const _0x106164=_0x13ba7a;return(0x0,_0x30a372[_0x106164(0x357)])(_0x339519,{'PanelComponent':_0x2a7f32[_0x106164(0x3fa)]});}let _0x5debd6=class extends _0x10e5f9['Disposable']{constructor(_0x1557d5,_0x57992c){const _0x3a437f=_0x13ba7a;super(),this['disposeWithMe'](_0x1557d5[_0x3a437f(0x529)](_0x4dafcd,_0x1c616)),this[_0x3a437f(0x47f)](_0x57992c[_0x3a437f(0x529)]({'BottomIcon':_0x414477,'FlipHorizontalIcon':_0x20e04e,'FlipVerticalIcon':_0x5b520d,'MoveDownIcon':_0x561e77,'MoveUpIcon':_0x37f265,'ObjectLayersIcon':_0x4e302b,'ShapeFormatSettingIcon':_0x2534bb,'TopmostIcon':_0x209146})),this[_0x3a437f(0x47f)](_0x1557d5['register'](_0xb1d681,_0x29a2e)),this['disposeWithMe'](_0x1557d5['register'](_0x993061,_0x52a211)),_0x1557d5[_0x3a437f(0x27b)](_0x2a7f32['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'])||this[_0x3a437f(0x47f)](_0x1557d5['register'](_0x2a7f32[_0x3a437f(0x303)],_0x88ad35));}};_0x5debd6=_0x12f75a([_0x174396(0x0,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x187e10[_0x13ba7a(0x2c3)])),_0x174396(0x1,(0x0,_0x10e5f9['Inject'])(_0x187e10[_0x13ba7a(0x327)]))],_0x5debd6);let _0x17f3c3=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0xb342d3){const _0x4844e4=_0x13ba7a;super(),this[_0x4844e4(0x55d)]=_0xb342d3,_0x5ae661(this,_0x4844e4(0x2bf),new _0x364ff4['BehaviorSubject'](null)),_0x5ae661(this,'editingParams$',this[_0x4844e4(0x2bf)][_0x4844e4(0x511)]()),_0x5ae661(this,_0x4844e4(0x349),new _0x364ff4[(_0x4844e4(0x222))](!0x1)),_0x5ae661(this,'onSavingEditorData$',this[_0x4844e4(0x349)]['asObservable']()),_0x5ae661(this,_0x4844e4(0x1cc),void 0x0),this['disposeWithMe'](this[_0x4844e4(0x55d)][_0x4844e4(0x541)][_0x4844e4(0x358)](()=>{const _0x4e62ef=_0x4844e4;let _0x12ee7a=this[_0x4e62ef(0x3bd)]();_0x12ee7a!=null&&_0x12ee7a['visible']&&!this[_0x4e62ef(0x2af)](_0x12ee7a)&&this[_0x4e62ef(0x578)](null);}));}['dispose'](){const _0x114da=_0x13ba7a;this[_0x114da(0x3f7)](),this[_0x114da(0x2bf)][_0x114da(0x475)](null),this[_0x114da(0x2bf)]['complete'](),this[_0x114da(0x349)][_0x114da(0x475)](!0x1),this[_0x114da(0x349)][_0x114da(0x3b2)](),super[_0x114da(0x206)]();}[_0x13ba7a(0x578)](_0xdb94c7){const _0x5708f0=_0x13ba7a;(_0xdb94c7==null||!_0xdb94c7[_0x5708f0(0x2ed)]||this[_0x5708f0(0x2af)](_0xdb94c7))&&(this[_0x5708f0(0x3f7)](),this['_editingParams$']['next'](_0xdb94c7),(_0xdb94c7==null||_0xdb94c7[_0x5708f0(0x2ed)]&&this[_0x5708f0(0x349)][_0x5708f0(0x338)]())&&this[_0x5708f0(0x349)][_0x5708f0(0x475)](!0x1));}[_0x13ba7a(0x1e4)](_0x21fa02){const _0x3624bc=_0x13ba7a;this[_0x3624bc(0x349)][_0x3624bc(0x475)](_0x21fa02);}[_0x13ba7a(0x3bd)](){const _0xa3d466=_0x13ba7a;return this['_editingParams$'][_0xa3d466(0x338)]();}[_0x13ba7a(0x2af)](_0x278e3e){const _0x23c8da=_0x13ba7a;let _0x7ee1d2=this[_0x23c8da(0x55d)][_0x23c8da(0x3da)](new _0x32abfe['WorkbookEditablePermission'](_0x278e3e[_0x23c8da(0x26e)])['id']),_0x444d54=this['_permissionService']['getPermissionPoint'](new _0x32abfe[(_0x23c8da(0x1f2))](_0x278e3e['unitId'],_0x278e3e[_0x23c8da(0x354)])['id']);return((_0x7ee1d2==null?void 0x0:_0x7ee1d2[_0x23c8da(0x472)])??!0x0)&&((_0x444d54==null?void 0x0:_0x444d54[_0x23c8da(0x472)])??!0x0);}[_0x13ba7a(0x403)](_0x1308ba){const _0x473e26=_0x13ba7a;let _0x87b23e=this[_0x473e26(0x3bd)]();_0x87b23e&&this['_completionFrame']===void 0x0&&(this['setOnSavingEditorData'](!0x0),this['_completionFrame']=requestAnimationFrame(()=>{const _0x1c0208=_0x473e26;this[_0x1c0208(0x1cc)]=void 0x0,this[_0x1c0208(0x3bd)]()===_0x87b23e&&this['setEditing'](null);}));}[_0x13ba7a(0x3f7)](){const _0x499d93=_0x13ba7a;this[_0x499d93(0x1cc)]!==void 0x0&&(cancelAnimationFrame(this[_0x499d93(0x1cc)]),this[_0x499d93(0x1cc)]=void 0x0);}['cancelEditing'](){const _0x57da10=_0x13ba7a;this[_0x57da10(0x3bd)]()&&this[_0x57da10(0x578)](null);}};_0x17f3c3=_0x12f75a([_0x174396(0x0,_0x10e5f9[_0x13ba7a(0x509)])],_0x17f3c3);let _0xa4311e=class extends _0x10e5f9['Disposable']{constructor(_0x3b602f,_0x50b6fc,_0x449602,_0x1f165f,_0x2b62e7,_0x2bbd8a){const _0x362d2a=_0x13ba7a;super(),this[_0x362d2a(0x3cb)]=_0x3b602f,this[_0x362d2a(0x58c)]=_0x50b6fc,this[_0x362d2a(0x205)]=_0x449602,this[_0x362d2a(0x3c5)]=_0x1f165f,this[_0x362d2a(0x39b)]=_0x2b62e7,this[_0x362d2a(0x56c)]=_0x2bbd8a,_0x5ae661(this,_0x362d2a(0x1d2),null),this[_0x362d2a(0x2ca)](),this['_initSelection'](),this[_0x362d2a(0x4fb)]();}[_0x13ba7a(0x2ca)](){const _0x2d7520=_0x13ba7a;let {scene:_0x4e02d3}=this['_context'];this['disposeWithMe'](_0x4e02d3[_0x2d7520(0x417)]['subscribeEvent'](_0x1f3afb=>{const _0x5ed7da=_0x2d7520;let {offsetX:_0x3329a7,offsetY:_0x5da42a}=_0x1f3afb,_0x1a94ec=_0x4e02d3[_0x5ed7da(0x3c0)](_0x3458ba[_0x5ed7da(0x265)][_0x5ed7da(0x3ae)]([_0x3329a7,_0x5da42a]));if(_0x1a94ec instanceof _0x402866){let _0xb4a03f=this[_0x5ed7da(0x56c)][_0x5ed7da(0x2f5)](_0x1a94ec[_0x5ed7da(0x26e)],_0x1a94ec['subUnitId'],_0x1a94ec[_0x5ed7da(0x42a)]);if((0x0,_0xd67e3f[_0x5ed7da(0x36a)])(this[_0x5ed7da(0x56c)][_0x5ed7da(0x21e)](_0x1a94ec[_0x5ed7da(0x26e)],_0x1a94ec[_0x5ed7da(0x354)],_0x1a94ec['shapeId']))||_0xb4a03f!=null&&_0xb4a03f['getShapeData']()[_0x5ed7da(0x1c2)])return;this[_0x5ed7da(0x205)][_0x5ed7da(0x578)]({'visible':!0x0,'unitId':_0x1a94ec[_0x5ed7da(0x26e)],'subUnitId':_0x1a94ec[_0x5ed7da(0x354)],'shapeId':_0x1a94ec[_0x5ed7da(0x42a)],'shapeKey':_0x1a94ec['oKey']});}}));}[_0x13ba7a(0x392)](){const _0x459b81=_0x13ba7a;this[_0x459b81(0x47f)](this[_0x459b81(0x3c5)][_0x459b81(0x332)][_0x459b81(0x358)](_0xf591af=>{const _0x5bf42=_0x459b81;if(_0xf591af[_0x5bf42(0x45b)]===0x1){let _0x137003=_0xf591af[0x0],_0x507de2=this[_0x5bf42(0x3c5)][_0x5bf42(0x3db)](_0x137003);if((_0x507de2==null?void 0x0:_0x507de2[_0x5bf42(0x52e)])===_0x10e5f9[_0x5bf42(0x2e1)][_0x5bf42(0x20d)]){var _0x7ce5a7;let _0x500d76=this[_0x5bf42(0x205)][_0x5bf42(0x3bd)]();if((_0x500d76==null?void 0x0:_0x500d76[_0x5bf42(0x42a)])===_0x137003[_0x5bf42(0x272)]&&_0x500d76[_0x5bf42(0x2ed)])return;let _0x25795b=(0x0,_0xd67e3f['isConnectorShape'])(this[_0x5bf42(0x56c)][_0x5bf42(0x21e)](_0x137003[_0x5bf42(0x26e)],_0x137003[_0x5bf42(0x354)],_0x137003[_0x5bf42(0x272)])),_0x5444a8=!!((_0x7ce5a7=this[_0x5bf42(0x56c)][_0x5bf42(0x2f5)](_0x137003[_0x5bf42(0x26e)],_0x137003[_0x5bf42(0x354)],_0x137003[_0x5bf42(0x272)]))!=null&&_0x7ce5a7[_0x5bf42(0x434)]()[_0x5bf42(0x1c2)]);(_0x25795b||_0x5444a8)&&this[_0x5bf42(0x205)][_0x5bf42(0x578)](null);}else this['_shapeTextEditingService']['completeEditing']();}else this['_shapeTextEditingService'][_0x5bf42(0x403)]();})),this[_0x459b81(0x47f)](this['_drawingManagerService']['remove$'][_0x459b81(0x358)](_0x4a27e8=>{const _0x275506=_0x459b81;let _0x483c1e=this[_0x275506(0x205)]['getEditing']();_0x483c1e&&_0x4a27e8[_0x275506(0x301)](_0x29f339=>_0x29f339[_0x275506(0x272)]===_0x483c1e[_0x275506(0x42a)])&&this['_shapeTextEditingService'][_0x275506(0x578)](null);}));}[_0x13ba7a(0x4fb)](){const _0x3ee940=_0x13ba7a;this[_0x3ee940(0x47f)](this[_0x3ee940(0x205)]['editingParams$'][_0x3ee940(0x358)](_0x91bff3=>{const _0x575c56=_0x3ee940;let {scene:_0x2b82b6}=this[_0x575c56(0x3cb)];if(this[_0x575c56(0x1d2)]){let _0x383f63=_0x2b82b6[_0x575c56(0x1a7)](this[_0x575c56(0x1d2)]);_0x383f63&&_0x383f63['setEditing'](!0x1);}if(_0x91bff3){let _0x41b151=!!_0x91bff3[_0x575c56(0x2ed)],_0x257e39=_0x2b82b6[_0x575c56(0x1a7)](_0x91bff3[_0x575c56(0x2d4)]);_0x257e39&&(_0x257e39[_0x575c56(0x578)](_0x41b151),this[_0x575c56(0x1d2)]=_0x91bff3['shapeKey']),this[_0x575c56(0x39b)][_0x575c56(0x1a1)](_0x10e5f9[_0x575c56(0x20e)],_0x41b151);}else this[_0x575c56(0x1d2)]=null,this[_0x575c56(0x39b)][_0x575c56(0x1a1)](_0x10e5f9['FOCUSING_SHAPE_TEXT_EDITOR'],!0x1);}));}};_0xa4311e=_0x12f75a([_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x10e5f9[_0x13ba7a(0x48e)])),_0x174396(0x2,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x17f3c3)),_0x174396(0x3,_0x15864b[_0x13ba7a(0x4e8)]),_0x174396(0x4,_0x10e5f9[_0x13ba7a(0x1c3)]),_0x174396(0x5,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x2f2bb5['SheetsShapeService']))],_0xa4311e);var _0x1aee3a=class extends _0xa4311e{[_0x13ba7a(0x2ca)](){const _0xfcd053=_0x13ba7a;let {scene:_0x3fcfa5}=this[_0xfcd053(0x3cb)],_0x2ba89b=this[_0xfcd053(0x58c)][_0xfcd053(0x468)](_0xba932b['MobileShapeEditorService']);this[_0xfcd053(0x47f)](_0x3fcfa5[_0xfcd053(0x417)][_0xfcd053(0x2f6)](_0x2fd314=>{const _0x50844a=_0xfcd053;let {offsetX:_0x489cd8,offsetY:_0x243a79}=_0x2fd314,_0x144f9e=_0x3fcfa5[_0x50844a(0x3c0)](_0x3458ba[_0x50844a(0x265)][_0x50844a(0x3ae)]([_0x489cd8,_0x243a79]));if(!(_0x144f9e instanceof _0x402866))return;let _0x5cfaad=this['_sheetsShapeService'][_0x50844a(0x2f5)](_0x144f9e[_0x50844a(0x26e)],_0x144f9e[_0x50844a(0x354)],_0x144f9e[_0x50844a(0x42a)]);(0x0,_0xd67e3f[_0x50844a(0x36a)])(this['_sheetsShapeService'][_0x50844a(0x21e)](_0x144f9e['unitId'],_0x144f9e[_0x50844a(0x354)],_0x144f9e[_0x50844a(0x42a)]))||_0x5cfaad!=null&&_0x5cfaad[_0x50844a(0x434)]()[_0x50844a(0x1c2)]||_0x2ba89b[_0x50844a(0x269)](_0x50844a(0x43a),{'hostType':_0x10e5f9[_0x50844a(0x503)][_0x50844a(0x450)],'unitId':_0x144f9e[_0x50844a(0x26e)],'subUnitId':_0x144f9e[_0x50844a(0x354)],'shapeId':_0x144f9e[_0x50844a(0x42a)]});}));}};let _0x10ddc4={..._0x1c5a09},_0x22d2ee=class extends _0x10e5f9['Disposable']{constructor(_0x3a8d4d,_0x582e19,_0x40cc82,_0x526033,_0x330121,_0x843d1d,_0x29d6da,_0x8160a9){const _0xa5e7e2=_0x13ba7a;super(),this['_menuManagerService']=_0x3a8d4d,this[_0xa5e7e2(0x56c)]=_0x582e19,this[_0xa5e7e2(0x558)]=_0x40cc82,this[_0xa5e7e2(0x3c5)]=_0x526033,this['_sheetCanvasPopManagerService']=_0x330121,this[_0xa5e7e2(0x39b)]=_0x843d1d,this['_renderManagerService']=_0x29d6da,this[_0xa5e7e2(0x205)]=_0x8160a9,_0x5ae661(this,'_shapePopupMenuDisposable',null),this[_0xa5e7e2(0x52d)][_0xa5e7e2(0x1d8)](_0x10ddc4),this[_0xa5e7e2(0x2b5)](),this['disposeWithMe'](this['_shapeTextEditingService'][_0xa5e7e2(0x4c6)]['subscribe'](_0x3d8656=>{const _0x56170e=_0xa5e7e2;_0x3d8656&&this[_0x56170e(0x239)]();}));}[_0x13ba7a(0x2e3)](){const _0x15e236=_0x13ba7a;this[_0x15e236(0x1e0)]||=this[_0x15e236(0x47f)]((0x0,_0xba932b['bindRenderTransformerLifecycle'])(this[_0x15e236(0x2e2)],_0x10e5f9['UniverInstanceType'][_0x15e236(0x450)],_0x44f90e=>this[_0x15e236(0x201)](_0x44f90e)));}[_0x13ba7a(0x2b5)](){const _0x927cc7=_0x13ba7a;this[_0x927cc7(0x372)][_0x927cc7(0x588)](_0x10e5f9['DrawingTypeEnum']['DRAWING_SHAPE'],(_0x20c79f,_0xa335c7,_0x2592eb,_0x323da0)=>{const _0x4e22a2=_0x927cc7;let _0xfbdfcd=this[_0x4e22a2(0x56c)][_0x4e22a2(0x42b)](_0x20c79f,_0xa335c7,_0x2592eb),_0x261898=this[_0x4e22a2(0x56c)][_0x4e22a2(0x204)](_0x20c79f,_0xa335c7,_0x2592eb),_0x11fa74=_0xfbdfcd!==void 0x0&&!(0x0,_0xd67e3f[_0x4e22a2(0x36a)])(_0xfbdfcd)&&!(_0x261898!=null&&_0x261898['formulaBinding']);return[{'label':_0x4e22a2(0x4a8),'index':0x0,'commandId':_0x1e868c['id'],'commandParams':{'unitId':_0x20c79f,'subUnitId':_0xa335c7,'drawingId':_0x2592eb,'mode':_0x4e22a2(0x45d)},'disable':!0x1},..._0x11fa74?[{'label':'sheets-shape-ui.editText','index':0x1,'commandId':_0x1e868c['id'],'commandParams':{'unitId':_0x20c79f,'subUnitId':_0xa335c7,'drawingId':_0x2592eb,'mode':'text'},'disable':!0x1}]:[],{'label':_0x4e22a2(0x594),'index':0x2,'commandId':_0x40f1a1[_0x4e22a2(0x460)]['id'],'commandParams':{'unitId':_0x20c79f,'drawings':[{'unitId':_0x20c79f,'subUnitId':_0xa335c7,'drawingId':_0x2592eb,'drawingType':_0x323da0}]},'disable':!0x1},{'label':_0x4e22a2(0x3e0),'index':0x3,'commandId':_0x2f2bb5[_0x4e22a2(0x36d)]['id'],'commandParams':{'unitId':_0x20c79f,'subUnitId':_0xa335c7,'shapeId':_0x2592eb,'flipH':!0x0},'disable':!0x1},{'label':_0x4e22a2(0x23c),'index':0x4,'commandId':_0x2f2bb5[_0x4e22a2(0x36d)]['id'],'commandParams':{'unitId':_0x20c79f,'subUnitId':_0xa335c7,'shapeId':_0x2592eb,'flipV':!0x0},'disable':!0x1}];},_0x927cc7(0x4ee));}[_0x13ba7a(0x201)](_0x1ce3b0){const _0x3bbeab=_0x13ba7a;let _0x339f36=new _0x10e5f9[(_0x3bbeab(0x497))](),_0x5397c5=null,_0x35a6ec=()=>{const _0x3cd8c7=_0x3bbeab;if(!_0x5397c5)return;let _0x2c034c=this['_drawingManagerService'][_0x3cd8c7(0x1da)](),_0x26d6c3=_0x2c034c[_0x3cd8c7(0x45b)]===0x0||_0x2c034c[_0x3cd8c7(0x45b)]===0x1&&_0x2c034c[_0x3cd8c7(0x301)](_0x7d79cf=>_0x7d79cf[_0x3cd8c7(0x26e)]===(_0x5397c5==null?void 0x0:_0x5397c5[_0x3cd8c7(0x26e)])&&_0x7d79cf[_0x3cd8c7(0x354)]===(_0x5397c5==null?void 0x0:_0x5397c5[_0x3cd8c7(0x354)])&&_0x7d79cf['drawingId']===(_0x5397c5==null?void 0x0:_0x5397c5['drawingId']));_0x5397c5=null,_0x26d6c3&&(this['_contextService'][_0x3cd8c7(0x1a1)](_0x10e5f9['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x3cd8c7(0x3c5)][_0x3cd8c7(0x3f9)](null));};return _0x339f36['add'](_0x1ce3b0[_0x3bbeab(0x517)][_0x3bbeab(0x358)](()=>{const _0x2390fc=_0x3bbeab;let _0x47b7c1=_0x1ce3b0[_0x2390fc(0x1b5)]();if(_0x47b7c1['size']>0x1){_0x35a6ec();return;}let _0xaf85cf=_0x47b7c1[_0x2390fc(0x1cb)]()[_0x2390fc(0x475)]()[_0x2390fc(0x472)];if(!_0xaf85cf){_0x35a6ec();return;}let _0x5ce017=this[_0x2390fc(0x3c5)]['getDrawingOKey'](_0xaf85cf['oKey']);if(!_0x5ce017||_0x5ce017['drawingType']!==_0x10e5f9[_0x2390fc(0x2e1)][_0x2390fc(0x20d)]){_0x35a6ec();return;}let {unitId:_0x11101d,subUnitId:_0x4317a9,drawingId:_0x54a3a6}=_0x5ce017;_0x5397c5={'unitId':_0x11101d,'subUnitId':_0x4317a9,'drawingId':_0x54a3a6},this[_0x2390fc(0x39b)][_0x2390fc(0x1a1)](_0x10e5f9['FOCUSING_COMMON_DRAWINGS'],!0x0),this['_drawingManagerService'][_0x2390fc(0x1da)]()[_0x2390fc(0x298)](_0x59a80a=>_0x59a80a[_0x2390fc(0x26e)]===_0x11101d&&_0x59a80a['subUnitId']===_0x4317a9&&_0x59a80a['drawingId']===_0x54a3a6)||this[_0x2390fc(0x3c5)][_0x2390fc(0x3f9)]([{'unitId':_0x11101d,'subUnitId':_0x4317a9,'drawingId':_0x54a3a6}]);})),_0x339f36[_0x3bbeab(0x278)](_0x1ce3b0[_0x3bbeab(0x1bf)]['subscribe'](()=>{_0x35a6ec();})),(0x0,_0x10e5f9[_0x3bbeab(0x576)])(()=>{const _0x194ada=_0x3bbeab;_0x339f36[_0x194ada(0x206)](),_0x35a6ec();});}['_clearFocusedShape'](){const _0x278406=_0x13ba7a;this[_0x278406(0x39b)]['setContextValue'](_0x10e5f9[_0x278406(0x2f4)],!0x1),this[_0x278406(0x3c5)]['focusDrawing'](null);}};_0x22d2ee=_0x12f75a([_0x174396(0x0,_0x187e10['IMenuManagerService']),_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x2f2bb5['SheetsShapeService'])),_0x174396(0x2,_0x10e5f9[_0x13ba7a(0x297)]),_0x174396(0x3,_0x15864b[_0x13ba7a(0x4e8)]),_0x174396(0x4,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x189be3[_0x13ba7a(0x53a)])),_0x174396(0x5,_0x10e5f9['IContextService']),_0x174396(0x6,_0x3458ba['IRenderManagerService']),_0x174396(0x7,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x17f3c3))],_0x22d2ee);function _0x2c1d4e(_0x1e2bca,_0x6dd6ba,_0x40f8db,_0x2ef21d){const _0x444552=_0x13ba7a;let _0xa2826f=(0x0,_0x15864b[_0x444552(0x496)])(_0x1e2bca,_0x6dd6ba,_0x40f8db),_0xee46e8=[];for(let _0x305ca9 of _0x6dd6ba){let _0x498082=_0xa2826f[_0x444552(0x3ef)][_0x444552(0x468)](_0x305ca9[_0x444552(0x272)]),_0x274518=_0x2ef21d(_0x305ca9);_0x498082&&_0x274518&&_0xee46e8[_0x444552(0x1b2)]({'targetShapeId':_0x498082,'source':_0x274518});}return _0xee46e8;}let _0x570b9c=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0x4a250b,_0x5657c7,_0x4af634,_0x5c8e27){const _0x2c5b1a=_0x13ba7a;super(),this[_0x2c5b1a(0x583)]=_0x4a250b,this[_0x2c5b1a(0x237)]=_0x5657c7,this[_0x2c5b1a(0x4bb)]=_0x4af634,this['_sheetsShapeService']=_0x5c8e27,this[_0x2c5b1a(0x1f1)]();}[_0x13ba7a(0x1f1)](){const _0x5d0914=_0x13ba7a;this[_0x5d0914(0x47f)](this['_sheetInterceptorService'][_0x5d0914(0x20b)]({'getMutations':_0x2eef49=>{const _0x31d8df=_0x5d0914;if(_0x2eef49['id']===_0x32abfe[_0x31d8df(0x366)]['id']){let _0x7a6dee=(0x0,_0x32abfe[_0x31d8df(0x39c)])(this['_univerInstanceService'],_0x2eef49[_0x31d8df(0x352)]);if(!_0x7a6dee)return{'redos':[],'undos':[]};let {unitId:_0x2abb27,subUnitId:_0x1b790e}=_0x7a6dee,_0x38ba88=this[_0x31d8df(0x4bb)][_0x31d8df(0x31b)](_0x2abb27,_0x1b790e),_0x48a868=Object['values'](_0x38ba88)['filter'](_0x43841d=>_0x43841d[_0x31d8df(0x52e)]===_0x10e5f9[_0x31d8df(0x2e1)][_0x31d8df(0x20d)]);if(_0x48a868[_0x31d8df(0x45b)]===0x0)return{'redos':[],'undos':[]};let _0x3ae9e1=[],_0x5ea40e=[];for(let _0xca35b5=0x0;_0xca35b5<_0x48a868[_0x31d8df(0x45b)];_0xca35b5++){let _0x1c9c11=_0x48a868[_0xca35b5],_0x188624=this[_0x31d8df(0x56c)][_0x31d8df(0x2f5)](_0x1c9c11[_0x31d8df(0x26e)],_0x1c9c11['subUnitId'],_0x1c9c11['drawingId']);_0x188624&&(_0x3ae9e1[_0x31d8df(0x1b2)]({'id':_0x2f2bb5['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x2abb27,'subUnitId':_0x1b790e,'shapeId':_0x1c9c11[_0x31d8df(0x272)]}}),_0x5ea40e[_0x31d8df(0x1b2)]({'id':_0x2f2bb5[_0x31d8df(0x4f0)]['id'],'params':{'unitId':_0x2abb27,'subUnitId':_0x1b790e,'shapeId':_0x1c9c11['drawingId'],'shapeType':_0x188624['getShapeType'](),'shapeData':JSON[_0x31d8df(0x257)](JSON[_0x31d8df(0x2fe)](_0x188624[_0x31d8df(0x434)]()))}}));}return{'redos':_0x3ae9e1,'undos':_0x5ea40e};}if(_0x2eef49['id']===_0x32abfe[_0x31d8df(0x4f2)]['id']){let {unitId:_0x3e43f6,subUnitId:_0x8063ae,targetSubUnitId:_0x32f24f,copyContext:_0x14b9d5}=_0x2eef49[_0x31d8df(0x352)];if(!_0x3e43f6||!_0x8063ae||!_0x32f24f)return{'redos':[],'undos':[]};let _0x2d2b83=this[_0x31d8df(0x4bb)][_0x31d8df(0x31b)](_0x3e43f6,_0x8063ae),_0x1d653a=Object[_0x31d8df(0x1cb)](_0x2d2b83)[_0x31d8df(0x435)](_0x364b35=>_0x364b35[_0x31d8df(0x52e)]===_0x10e5f9[_0x31d8df(0x2e1)][_0x31d8df(0x20d)]);if(_0x1d653a['length']===0x0)return{'redos':[],'undos':[]};let _0x57a2de=_0x2c1d4e(_0x14b9d5,_0x1d653a,{'unitId':_0x3e43f6,'sourceSubUnitId':_0x8063ae,'targetSubUnitId':_0x32f24f},_0x46d38b=>{const _0x1ccec5=_0x31d8df;let _0x27dc9e=this[_0x1ccec5(0x56c)][_0x1ccec5(0x2f5)](_0x46d38b['unitId'],_0x46d38b['subUnitId'],_0x46d38b[_0x1ccec5(0x272)]);if(_0x27dc9e)return{'shapeType':_0x27dc9e[_0x1ccec5(0x21e)](),'shapeData':JSON[_0x1ccec5(0x257)](JSON['stringify'](_0x27dc9e[_0x1ccec5(0x434)]()))};}),_0x44887a=[],_0x3ba2f4=[];for(let {targetShapeId:_0x257c20,source:_0x33f5c1}of _0x57a2de)_0x44887a[_0x31d8df(0x1b2)]({'id':_0x2f2bb5[_0x31d8df(0x4f0)]['id'],'params':{'unitId':_0x3e43f6,'subUnitId':_0x32f24f,'shapeId':_0x257c20,'shapeType':_0x33f5c1[_0x31d8df(0x25e)],'shapeData':_0x33f5c1[_0x31d8df(0x429)]}}),_0x3ba2f4[_0x31d8df(0x1b2)]({'id':_0x2f2bb5[_0x31d8df(0x522)]['id'],'params':{'unitId':_0x3e43f6,'subUnitId':_0x32f24f,'shapeId':_0x257c20}});return{'redos':_0x44887a,'undos':_0x3ba2f4};}return{'redos':[],'undos':[]};}}));}};_0x570b9c=_0x12f75a([_0x174396(0x0,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x10e5f9[_0x13ba7a(0x41d)])),_0x174396(0x1,(0x0,_0x10e5f9['Inject'])(_0x32abfe[_0x13ba7a(0x3d2)])),_0x174396(0x2,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x40f1a1['ISheetDrawingService'])),_0x174396(0x3,(0x0,_0x10e5f9['Inject'])(_0x2f2bb5[_0x13ba7a(0x4d3)]))],_0x570b9c);let _0x3fa9e3=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0x5b25cb,_0x13342d,_0x4437ab,_0x303bc1,_0x32a6ba,_0x4d9352){const _0x1cf8fb=_0x13ba7a;super(),this[_0x1cf8fb(0x558)]=_0x5b25cb,this[_0x1cf8fb(0x2e2)]=_0x13342d,this[_0x1cf8fb(0x3c5)]=_0x4437ab,this[_0x1cf8fb(0x467)]=_0x303bc1,this[_0x1cf8fb(0x4ad)]=_0x32a6ba,this['_sheetDrawingShapeRenderController']=_0x4d9352,_0x5ae661(this,_0x1cf8fb(0x3ce),new Set()),this['_initialize']();}[_0x13ba7a(0x3eb)](){const _0x2c8c89=_0x13ba7a;this['_drawingAddListener'](),this[_0x2c8c89(0x564)](),this['_shapeUpdateListener']();}[_0x13ba7a(0x574)](){const _0x11e5d1=_0x13ba7a;this[_0x11e5d1(0x47f)](this['_drawingManagerService'][_0x11e5d1(0x489)][_0x11e5d1(0x358)](_0x3561c1=>{const _0x394981=_0x11e5d1;this[_0x394981(0x1f0)](_0x3561c1);}));}[_0x13ba7a(0x564)](){const _0x36469d=_0x13ba7a;this['disposeWithMe'](this[_0x36469d(0x558)][_0x36469d(0x1ac)]((_0x3a52d7,_0x38d90d)=>{const _0x27a18c=_0x36469d;if(_0x3a52d7['id']===_0x2f2bb5[_0x27a18c(0x479)]['id']){let {unitId:_0x4aa026,subUnitId:_0x21a6f3,shapeId:_0x107f36}=_0x3a52d7['params'],_0x2d31db=this[_0x27a18c(0x1b8)](_0x4aa026),_0x1ba2ad=(0x0,_0x15864b[_0x27a18c(0x2df)])({'unitId':_0x4aa026,'subUnitId':_0x21a6f3,'drawingId':_0x107f36}),_0x444a42=_0x2d31db==null?void 0x0:_0x2d31db['scene'][_0x27a18c(0x1a7)](_0x1ba2ad);_0x444a42&&(this[_0x27a18c(0x599)][_0x27a18c(0x1e8)](_0x444a42),this['_sheetDrawingShapeRenderController']['refreshFormulaPresentation'](_0x444a42,{'unitId':_0x4aa026,'subUnitId':_0x21a6f3,'shapeId':_0x107f36}),_0x444a42[_0x27a18c(0x334)](!0x0));return;}if(_0x3a52d7['id']===_0x2f2bb5[_0x27a18c(0x4f0)]['id']){var _0x485953;let {unitId:_0x43ea5d,subUnitId:_0x571878,shapeId:_0x4f0122}=_0x3a52d7[_0x27a18c(0x352)],_0x50433b=this[_0x27a18c(0x1b8)](_0x43ea5d);if(_0x50433b==null)return;let {scene:_0x4bb2e9}=_0x50433b,_0x12e1a3=(0x0,_0x15864b[_0x27a18c(0x2df)])({'unitId':_0x43ea5d,'subUnitId':_0x571878,'drawingId':_0x4f0122}),_0x4b2b04=_0x4bb2e9[_0x27a18c(0x1a7)](_0x12e1a3);if(!((_0x485953=this['_renderManagerService'][_0x27a18c(0x57f)](_0x43ea5d))!=null&&_0x485953[_0x27a18c(0x39e)](_0x189be3['SheetSkeletonManagerService'])[_0x27a18c(0x50c)](_0x571878)))return!0x1;if(_0x4b2b04)return;if(_0x38d90d!=null&&_0x38d90d[_0x27a18c(0x3a7)]){queueMicrotask(()=>{const _0x32381f=_0x27a18c;this[_0x32381f(0x3f3)]||this['_insertShapes']([{'unitId':_0x43ea5d,'subUnitId':_0x571878,'drawingId':_0x4f0122}]);});return;}this[_0x27a18c(0x1f0)]([{'unitId':_0x43ea5d,'subUnitId':_0x571878,'drawingId':_0x4f0122}]);}}));}[_0x13ba7a(0x271)](){const _0x19fa45=_0x13ba7a;this[_0x19fa45(0x47f)](this[_0x19fa45(0x3c5)][_0x19fa45(0x28e)][_0x19fa45(0x358)](_0x414960=>{const _0x390340=_0x19fa45;_0x414960[_0x390340(0x34a)](_0x9c2bc3=>{const _0x188783=_0x390340;let {unitId:_0x285a05,subUnitId:_0xf65dbe,drawingId:_0x3aed76}=_0x9c2bc3,_0x3a7e1a=this[_0x188783(0x3c5)][_0x188783(0x3db)](_0x9c2bc3);if(_0x3a7e1a==null)return;let {transform:_0x1df36d,drawingType:_0x3ac577,srcRect:_0x32afa0,prstGeom:_0x57f742}=_0x3a7e1a;if(_0x3ac577!==_0x10e5f9[_0x188783(0x2e1)][_0x188783(0x20d)])return;let _0x4014fb=this[_0x188783(0x1b8)](_0x285a05);if(_0x4014fb==null)return;let {scene:_0x80ec16,transformer:_0x280cd9}=_0x4014fb;if(_0x1df36d==null)return!0x0;let _0x277561=(0x0,_0x15864b['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x285a05,'subUnitId':_0xf65dbe,'drawingId':_0x3aed76}),_0x28147c=_0x80ec16[_0x188783(0x1a7)](_0x277561);if(_0x28147c==null)return!0x0;_0x28147c[_0x188783(0x2e4)](_0x32afa0),_0x28147c[_0x188783(0x30e)](_0x57f742);});}));}['_insertShapes'](_0x540286){const _0x374aca=_0x13ba7a;for(let _0x33b07c of _0x540286){var _0x5de82e;let {unitId:_0xdf7ae8,subUnitId:_0x8f6ea,drawingId:_0x13795e}=_0x33b07c,_0xfbd10b=this['_getSceneAndTransformerByDrawingSearch'](_0xdf7ae8),_0x54f632=(_0x5de82e=(0x0,_0x2a7f32[_0x374aca(0x26b)])(this['_currentUniverService'],_0xdf7ae8))==null?void 0x0:_0x5de82e[_0x374aca(0x354)];if(_0xfbd10b==null||_0x54f632!==_0x8f6ea)return;let _0x413293=(0x0,_0x15864b[_0x374aca(0x2df)])({'unitId':_0xdf7ae8,'subUnitId':_0x8f6ea,'drawingId':_0x13795e});if(this['_insertingShapeKeys'][_0x374aca(0x1d7)](_0x413293)||_0xfbd10b[_0x374aca(0x2a7)][_0x374aca(0x1a7)](_0x413293)!=null)return;let _0x424360=this['_drawingManagerService'][_0x374aca(0x3db)](_0x33b07c);if(_0x424360==null||_0x424360['drawingType']!==_0x10e5f9[_0x374aca(0x2e1)]['DRAWING_SHAPE'])return;let _0x44e638=_0x424360[_0x374aca(0x59a)]||{};if((0x0,_0xd67e3f[_0x374aca(0x36a)])(_0x44e638['shapeType'])){let _0x37899f=_0x424360[_0x374aca(0x474)];_0x37899f&&(_0x424360[_0x374aca(0x474)]={..._0x37899f,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x374aca(0x3ce)][_0x374aca(0x278)](_0x413293);try{this['_sheetDrawingShapeRenderController'][_0x374aca(0x4e7)](_0x424360,_0xfbd10b[_0x374aca(0x2a7)]);}finally{this[_0x374aca(0x3ce)]['delete'](_0x413293);}queueMicrotask(()=>{const _0x539d5f=_0x374aca;if(this[_0x539d5f(0x3f3)])return;let _0x31e3e1=(0x0,_0x15864b[_0x539d5f(0x2df)])(_0x33b07c);if(!_0xfbd10b[_0x539d5f(0x2a7)][_0x539d5f(0x1a7)](_0x31e3e1))return;let _0x8f1f9a=this[_0x539d5f(0x3c5)]['getDrawingByParam'](_0x33b07c);_0x8f1f9a&&this['_drawingManagerService'][_0x539d5f(0x499)]([_0x8f1f9a]);});}}['_getSceneAndTransformerByDrawingSearch'](_0x3988fb){const _0x277e21=_0x13ba7a;if(_0x3988fb==null)return;let _0x38ebc3=this['_renderManagerService'][_0x277e21(0x57f)](_0x3988fb),_0xb467a2=_0x38ebc3==null?void 0x0:_0x38ebc3[_0x277e21(0x2a7)];return _0xb467a2==null?null:{'scene':_0xb467a2,'transformer':_0xb467a2['getTransformerByCreate']()};}};_0x3fa9e3=_0x12f75a([_0x174396(0x0,_0x10e5f9['ICommandService']),_0x174396(0x1,_0x3458ba[_0x13ba7a(0x2a5)]),_0x174396(0x2,_0x15864b[_0x13ba7a(0x4e8)]),_0x174396(0x3,_0x10e5f9[_0x13ba7a(0x41d)]),_0x174396(0x4,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x2a7f32[_0x13ba7a(0x2dd)])),_0x174396(0x5,(0x0,_0x10e5f9['Inject'])(_0x5191eb))],_0x3fa9e3);let _0x5a843b={'normal':{'fill':_0xd67e3f[_0x13ba7a(0x225)][_0x13ba7a(0x4e2)],'stroke':_0xd67e3f['ShapeDefaultConfig'][_0x13ba7a(0x38e)],'strokeWidth':_0xd67e3f[_0x13ba7a(0x225)]['cxnPointStrokeWidth']},'highlighted':{'fill':_0x13ba7a(0x2ab),'stroke':_0x13ba7a(0x520),'strokeWidth':0x2}};var _0x39c6da=class extends _0x3458ba[_0x13ba7a(0x440)]{constructor(_0x3ff93b,_0x52ddfe){const _0x10b140=_0x13ba7a;super(_0x3ff93b,_0x52ddfe),_0x5ae661(this,_0x10b140(0x563),''),_0x5ae661(this,_0x10b140(0x49a),-0x1),_0x5ae661(this,_0x10b140(0x35d),''),_0x5ae661(this,'_subUnitId',''),_0x5ae661(this,'_isHighlighted',!0x1),_0x52ddfe&&this['setShapeProps'](_0x52ddfe);}['getConnectionInfo'](){const _0x4feec6=_0x13ba7a;return{'unitId':this['_unitId'],'subUnitId':this[_0x4feec6(0x2cf)],'shapeId':this[_0x4feec6(0x563)],'cxnIndex':this[_0x4feec6(0x49a)]};}[_0x13ba7a(0x1a0)](_0x977b33){const _0x3334d1=_0x13ba7a;this['_isHighlighted']!==_0x977b33&&(this[_0x3334d1(0x3f4)]=_0x977b33,this[_0x3334d1(0x334)](!0x0));}['isHighlighted'](){return this['_isHighlighted'];}[_0x13ba7a(0x2b1)](_0x4b5911){const _0x535dcd=_0x13ba7a;_0x4b5911['targetShapeId']!==void 0x0&&(this[_0x535dcd(0x563)]=_0x4b5911['targetShapeId']),_0x4b5911[_0x535dcd(0x3e9)]!==void 0x0&&(this[_0x535dcd(0x49a)]=_0x4b5911['cxnIndex']),_0x4b5911[_0x535dcd(0x26e)]!==void 0x0&&(this[_0x535dcd(0x35d)]=_0x4b5911[_0x535dcd(0x26e)]),_0x4b5911[_0x535dcd(0x354)]!==void 0x0&&(this['_subUnitId']=_0x4b5911[_0x535dcd(0x354)]),_0x4b5911[_0x535dcd(0x283)]!==void 0x0&&(this['_isHighlighted']=_0x4b5911[_0x535dcd(0x283)]),this[_0x535dcd(0x3e2)]({'width':_0x4b5911['width']??_0xd67e3f['ShapeDefaultConfig'][_0x535dcd(0x290)]*0x2,'height':_0x4b5911[_0x535dcd(0x2c5)]??_0xd67e3f[_0x535dcd(0x225)]['cxnPointRadius']*0x2});}[_0x13ba7a(0x2fa)](_0x45f747){const _0x492cb4=_0x13ba7a;let _0xaa9a4=this[_0x492cb4(0x3f4)]?_0x5a843b[_0x492cb4(0x4cd)]:_0x5a843b[_0x492cb4(0x43e)];_0x3458ba[_0x492cb4(0x4da)][_0x492cb4(0x416)](_0x45f747,{'radius':_0xd67e3f['ShapeDefaultConfig'][_0x492cb4(0x290)],'fill':_0xaa9a4['fill'],'stroke':_0xaa9a4[_0x492cb4(0x24f)],'strokeWidth':_0xaa9a4[_0x492cb4(0x386)],'evented':!0x0});}};let _0x4d5792=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0x53e22d,_0x5c17f6,_0x3e4c06,_0x38c6b6){const _0x430600=_0x13ba7a;super(),this[_0x430600(0x3cb)]=_0x53e22d,this[_0x430600(0x2e2)]=_0x5c17f6,this[_0x430600(0x3c5)]=_0x3e4c06,this[_0x430600(0x56c)]=_0x38c6b6,_0x5ae661(this,_0x430600(0x502),[]),_0x5ae661(this,_0x430600(0x55f),null),_0x5ae661(this,_0x430600(0x388),-0x1),_0x5ae661(this,_0x430600(0x381),null),_0x5ae661(this,_0x430600(0x35d),''),_0x5ae661(this,_0x430600(0x2cf),''),_0x5ae661(this,'_draggingConnectorId',null);}[_0x13ba7a(0x35e)](_0x3ebde0,_0x2c544,_0x313b12,_0x98b16b){const _0x178402=_0x13ba7a;this[_0x178402(0x381)]=_0x3ebde0,this[_0x178402(0x35d)]=_0x2c544,this[_0x178402(0x2cf)]=_0x313b12,this[_0x178402(0x1f4)]=_0x98b16b;}[_0x13ba7a(0x4b6)](_0x9b84b1){const _0xbc2e0a=_0x13ba7a;if(!this[_0xbc2e0a(0x381)])return null;let _0x40868f=this[_0xbc2e0a(0x48a)](_0x9b84b1);return _0x40868f?(this[_0xbc2e0a(0x55f)]!==_0x40868f['shapeId']&&(this['_clearConnectionSites'](),this[_0xbc2e0a(0x32e)](_0x40868f[_0xbc2e0a(0x42a)],_0x40868f[_0xbc2e0a(0x447)]),this['_activeTargetShapeId']=_0x40868f[_0xbc2e0a(0x42a)]),this[_0xbc2e0a(0x4e5)](_0x9b84b1)):(this[_0xbc2e0a(0x55f)]!==null&&(this[_0xbc2e0a(0x4f7)](),this[_0xbc2e0a(0x55f)]=null),null);}[_0x13ba7a(0x2b6)](){const _0x562bcd=_0x13ba7a;this[_0x562bcd(0x4f7)](),this[_0x562bcd(0x381)]=null,this[_0x562bcd(0x55f)]=null,this[_0x562bcd(0x388)]=-0x1,this['_draggingConnectorId']=null;}[_0x13ba7a(0x46b)](){const _0x919adf=_0x13ba7a;return this[_0x919adf(0x55f)]===null||this[_0x919adf(0x388)]<0x0?null:{'shapeId':this['_activeTargetShapeId'],'cxnIndex':this[_0x919adf(0x388)]};}['_findShapeAtPoint'](_0x484082){const _0x50a761=_0x13ba7a;let _0x418453=this['_drawingManagerService'][_0x50a761(0x31b)](this[_0x50a761(0x35d)],this[_0x50a761(0x2cf)]);for(let _0x34140e of Object[_0x50a761(0x533)](_0x418453)){if(_0x34140e===this[_0x50a761(0x1f4)]||_0x418453[_0x34140e]['drawingType']!==_0x10e5f9['DrawingTypeEnum'][_0x50a761(0x20d)])continue;let _0x1d0fce=this[_0x50a761(0x56c)][_0x50a761(0x2f5)](this[_0x50a761(0x35d)],this[_0x50a761(0x2cf)],_0x34140e);if(!_0x1d0fce||(0x0,_0xd67e3f[_0x50a761(0x36a)])(_0x1d0fce[_0x50a761(0x21e)]())||_0x1d0fce[_0x50a761(0x214)]()[_0x50a761(0x45b)]===0x0||!this[_0x50a761(0x381)])continue;let _0x665742=(0x0,_0x15864b[_0x50a761(0x2df)])({'unitId':this[_0x50a761(0x35d)],'subUnitId':this[_0x50a761(0x2cf)],'drawingId':_0x34140e}),_0xc2617d=this['_currentScene'][_0x50a761(0x1a7)](_0x665742);if(!_0xc2617d)continue;let {left:_0x3bf402,top:_0x40ad7b,width:_0x30ce87,height:_0xb95f08}=_0xc2617d[_0x50a761(0x458)](),_0x40b7e8=_0x3bf402+_0x30ce87/0x2,_0x590250=_0x40ad7b+_0xb95f08/0x2,_0x212ed3=_0xc2617d['transform']['getMatrix'](),_0x3f8d12=new _0x3458ba['Transform']([_0x212ed3[0x0],_0x212ed3[0x1],_0x212ed3[0x2],_0x212ed3[0x3],_0x40b7e8,_0x590250]),_0x1f6de9=_0xc2617d[_0x50a761(0x326)](),_0x15da98=(_0xc2617d[_0x50a761(0x4cc)]&&(_0x1f6de9==null?void 0x0:_0x1f6de9[_0x50a761(0x399)])===_0x3458ba[_0x50a761(0x1c4)][_0x50a761(0x44f)]?_0x1f6de9[_0x50a761(0x1c6)][_0x50a761(0x3a6)](_0x3f8d12):_0x3f8d12)[_0x50a761(0x56e)]()['applyPoint'](_0x484082),_0x37231e=_0x30ce87/0x2,_0xfa3fcd=_0xb95f08/0x2;if(_0x15da98['x']>=-_0x37231e-0x5&&_0x15da98['x']<=_0x37231e+0x5&&_0x15da98['y']>=-_0xfa3fcd-0x5&&_0x15da98['y']<=_0xfa3fcd+0x5)return{'shapeId':_0x34140e,'shapeModel':_0x1d0fce};}return null;}['_showConnectionSites'](_0x4efb90,_0x1019df){const _0x4e190e=_0x13ba7a;if(!this['_currentScene'])return;let _0x4cf4cc=(0x0,_0x15864b['getDrawingShapeKeyByDrawingSearch'])({'unitId':this['_unitId'],'subUnitId':this[_0x4e190e(0x2cf)],'drawingId':_0x4efb90}),_0x355fc6=this[_0x4e190e(0x381)][_0x4e190e(0x1a7)](_0x4cf4cc);if(!_0x355fc6)return;let {left:_0x68872f,top:_0xc55d87,width:_0x5b5466,height:_0x278b3c}=_0x355fc6['getRealBound'](),_0x19505a=_0x68872f+_0x5b5466/0x2,_0xb8955f=_0xc55d87+_0x278b3c/0x2,_0x19cce3=_0x355fc6[_0x4e190e(0x474)]['getMatrix'](),_0x353f65=new _0x3458ba['Transform']([_0x19cce3[0x0],_0x19cce3[0x1],_0x19cce3[0x2],_0x19cce3[0x3],_0x19505a,_0xb8955f]),_0x9686b=_0x355fc6[_0x4e190e(0x326)](),_0x471c68=_0x355fc6[_0x4e190e(0x4cc)]&&(_0x9686b==null?void 0x0:_0x9686b[_0x4e190e(0x399)])===_0x3458ba['RENDER_CLASS_TYPE'][_0x4e190e(0x44f)]?_0x9686b['ancestorTransform']['multiply'](_0x353f65):_0x353f65;_0x1019df[_0x4e190e(0x523)]({'width':_0x5b5466,'height':_0x278b3c});let _0x557555=_0x1019df[_0x4e190e(0x214)]();for(let _0x4798c5 of _0x557555){let _0x5d2531=_0x4798c5['x']-_0x5b5466/0x2,_0x5ed3a6=_0x4798c5['y']-_0x278b3c/0x2,_0x1e4278=_0x471c68['applyPoint']({'x':_0x5d2531,'y':_0x5ed3a6}),_0x1c9ba7=_0x1e4278['x'],_0x4b4ef4=_0x1e4278['y'],_0x37f110=new _0x39c6da(_0x4e190e(0x2c6)+_0x4efb90+'-'+_0x4798c5[_0x4e190e(0x58d)],{'left':_0x1c9ba7-_0xd67e3f[_0x4e190e(0x225)]['cxnPointRadius'],'top':_0x4b4ef4-_0xd67e3f[_0x4e190e(0x225)][_0x4e190e(0x290)],'targetShapeId':_0x4efb90,'cxnIndex':_0x4798c5['index'],'unitId':this[_0x4e190e(0x35d)],'subUnitId':this[_0x4e190e(0x2cf)],'width':_0xd67e3f['ShapeDefaultConfig']['cxnPointRadius']*0x2,'height':_0xd67e3f[_0x4e190e(0x225)][_0x4e190e(0x290)]*0x2,'zIndex':_0x3458ba['DRAWING_OBJECT_LAYER_INDEX']+0x2,'evented':!0x1});this[_0x4e190e(0x502)][_0x4e190e(0x1b2)](_0x37f110),this[_0x4e190e(0x381)][_0x4e190e(0x412)](_0x37f110,_0x3458ba['DRAWING_OBJECT_LAYER_INDEX']+0x2);}}['_findNearestConnectionSite'](_0x200d06){const _0x1be7c6=_0x13ba7a;let _0x206af4=null,_0x524bb7=0x1/0x0,_0x108900=null;for(let _0x1fd147 of this[_0x1be7c6(0x502)]){let _0x3c6967=_0x1fd147['left']+_0xd67e3f[_0x1be7c6(0x225)][_0x1be7c6(0x290)],_0xd26e2f=_0x1fd147[_0x1be7c6(0x1c8)]+_0xd67e3f[_0x1be7c6(0x225)][_0x1be7c6(0x290)],_0x13bd9b=_0x200d06['x']-_0x3c6967,_0x634821=_0x200d06['y']-_0xd26e2f,_0x9dbaf=Math[_0x1be7c6(0x293)](_0x13bd9b*_0x13bd9b+_0x634821*_0x634821);_0x9dbaf<_0x524bb7&&(_0x524bb7=_0x9dbaf,_0x206af4=_0x1fd147,_0x108900={'x':_0x3c6967,'y':_0xd26e2f});}let _0x5d19f6=_0x524bb7<=0xa&&_0x206af4?_0x206af4[_0x1be7c6(0x3b8)]()['cxnIndex']:-0x1;if(_0x5d19f6!==this['_highlightedSiteIndex']){for(let _0x395911 of this[_0x1be7c6(0x502)]){let _0x4f59f8=_0x395911[_0x1be7c6(0x3b8)]();_0x395911[_0x1be7c6(0x1a0)](_0x4f59f8[_0x1be7c6(0x3e9)]===_0x5d19f6);}this[_0x1be7c6(0x388)]=_0x5d19f6;}if(_0x524bb7<=0xa&&_0x206af4&&_0x108900){let _0x310855=_0x206af4[_0x1be7c6(0x3b8)](),_0x55f249=this[_0x1be7c6(0x1a3)](_0x310855[_0x1be7c6(0x42a)],_0x310855[_0x1be7c6(0x3e9)]);return{'shapeId':_0x310855['shapeId'],'cxnIndex':_0x310855['cxnIndex'],'unitId':_0x310855['unitId'],'subUnitId':_0x310855[_0x1be7c6(0x354)],'worldPoint':_0x108900,'angle':_0x55f249};}return null;}['_getConnectionSiteAngle'](_0x4777af,_0x10ba0a){const _0x318588=_0x13ba7a;let _0x529863=this['_sheetsShapeService'][_0x318588(0x2f5)](this[_0x318588(0x35d)],this[_0x318588(0x2cf)],_0x4777af);if(!_0x529863)return 0x0;let _0x1f3377=this[_0x318588(0x3c5)][_0x318588(0x3db)]({'unitId':this[_0x318588(0x35d)],'subUnitId':this[_0x318588(0x2cf)],'drawingId':_0x4777af});if(!(_0x1f3377!=null&&_0x1f3377[_0x318588(0x474)]))return 0x0;let {width:_0x3bc431=0x0,height:_0x2b4dd2=0x0,flipX:_0x58e5=!0x1,flipY:_0x41313b=!0x1}=_0x1f3377[_0x318588(0x474)];_0x529863[_0x318588(0x523)]({'width':_0x3bc431,'height':_0x2b4dd2});let _0x59c547=_0x529863['getConnectionSiteList']()[_0x318588(0x298)](_0x4bf26b=>_0x4bf26b[_0x318588(0x58d)]===_0x10ba0a);if(!_0x59c547)return 0x0;let _0x304e75=_0x59c547[_0x318588(0x38f)]/0xea60;return _0x58e5&&(_0x304e75=0xb4-_0x304e75),_0x41313b&&(_0x304e75=-_0x304e75),_0x304e75=(_0x304e75%0x168+0x168)%0x168,_0x304e75;}['_clearConnectionSites'](){const _0x59e4c4=_0x13ba7a;for(let _0x333fe9 of this[_0x59e4c4(0x502)])_0x333fe9[_0x59e4c4(0x206)]();this[_0x59e4c4(0x502)]=[],this[_0x59e4c4(0x388)]=-0x1;}[_0x13ba7a(0x206)](){const _0x43f889=_0x13ba7a;this[_0x43f889(0x4f7)](),super[_0x43f889(0x206)]();}};_0x4d5792=_0x12f75a([_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x3458ba['IRenderManagerService'])),_0x174396(0x2,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x15864b[_0x13ba7a(0x4e8)])),_0x174396(0x3,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x2f2bb5['SheetsShapeService']))],_0x4d5792);let _0x32e137=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0x4df4f3,_0x257669,_0x11233d,_0x4c0931,_0x2d096c){const _0x51355c=_0x13ba7a;super(),this['_sheetSkeletonService']=_0x4df4f3,this['_sheetClipboardService']=_0x257669,this[_0x51355c(0x4bb)]=_0x11233d,this[_0x51355c(0x4df)]=_0x4c0931,this[_0x51355c(0x56d)]=_0x2d096c,_0x5ae661(this,_0x51355c(0x534),void 0x0),this[_0x51355c(0x4cf)](),this['_registerGroupFeaturePasteHook']();}get[_0x13ba7a(0x4a4)](){const _0x193287=_0x13ba7a;return this[_0x193287(0x4bb)][_0x193287(0x1da)]();}[_0x13ba7a(0x245)](){this['_groupCopyPasteController']['registerFeaturePasteHook'](({fromUnitId:_0x2b6a98,fromSubUnitId:_0x40b5a0,toUnitId:_0x1da96c,toSubUnitId:_0x96f9f5,idMap:_0x57c074})=>{const _0x348baa=_0x2e4e;let _0x33755e=[],_0xc90384=[];for(let [_0x49425a,_0x3c03f9]of _0x57c074[_0x348baa(0x4d1)]()){let _0x337957=this['_shapeService']['getShapeModel'](_0x2b6a98,_0x40b5a0,_0x49425a);if(!_0x337957)continue;let _0x1e7f2a=_0x337957['getShapeType'](),_0x1b372a=JSON[_0x348baa(0x257)](JSON['stringify'](_0x337957[_0x348baa(0x434)]()));if(_0x1b372a[_0x348baa(0x305)]){var _0x531039,_0x44c39d;let _0x38c55b=(_0x531039=_0x1b372a[_0x348baa(0x305)][_0x348baa(0x1fd)])==null?void 0x0:_0x531039[_0x348baa(0x42a)],_0x4862d6=(_0x44c39d=_0x1b372a['relation']['to'])==null?void 0x0:_0x44c39d['shapeId'],_0x17bad7=!_0x38c55b||_0x57c074['has'](_0x38c55b),_0x1818db=!_0x4862d6||_0x57c074[_0x348baa(0x1d7)](_0x4862d6);_0x17bad7&&_0x38c55b&&_0x1b372a['relation'][_0x348baa(0x1fd)]?_0x1b372a[_0x348baa(0x305)][_0x348baa(0x1fd)]={..._0x1b372a[_0x348baa(0x305)][_0x348baa(0x1fd)],'shapeId':_0x57c074[_0x348baa(0x468)](_0x38c55b)}:_0x1b372a[_0x348baa(0x305)]['from']=void 0x0,_0x1818db&&_0x4862d6&&_0x1b372a[_0x348baa(0x305)]['to']?_0x1b372a['relation']['to']={..._0x1b372a[_0x348baa(0x305)]['to'],'shapeId':_0x57c074[_0x348baa(0x468)](_0x4862d6)}:_0x1b372a['relation']['to']=void 0x0;}_0x33755e[_0x348baa(0x1b2)]({'id':_0x2f2bb5['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x1da96c,'subUnitId':_0x96f9f5,'shapeId':_0x3c03f9,'shapeType':_0x1e7f2a,'shapeData':_0x1b372a}}),_0xc90384[_0x348baa(0x1b2)]({'id':_0x2f2bb5[_0x348baa(0x522)]['id'],'params':{'unitId':_0x1da96c,'subUnitId':_0x96f9f5,'shapeId':_0x3c03f9}});}return{'redos':_0x33755e,'undos':_0xc90384};});}[_0x13ba7a(0x4cf)](){const _0x2f0ec0=_0x13ba7a;this[_0x2f0ec0(0x47f)](this['_sheetClipboardService']['addClipboardHook']({'id':'sheets-shape-ui','onBeforeCopyFocusedObject':(_0x5be3f8,_0x14f03d,_0x58d49e)=>{const _0x54ec8a=_0x2f0ec0;this[_0x54ec8a(0x534)]=null;let _0x38fc2c=this[_0x54ec8a(0x4a4)]['filter'](_0x325521=>_0x325521[_0x54ec8a(0x52e)]===_0x10e5f9[_0x54ec8a(0x2e1)]['DRAWING_SHAPE']);return _0x38fc2c[_0x54ec8a(0x45b)]!==0x0&&(this['_copyInfo']={'unitId':_0x5be3f8,'subUnitId':_0x14f03d,'copyType':_0x58d49e,'drawings':_0x38fc2c},!0x0);},'onBeforeCopy':(_0x49f8e6,_0x2fe375,_0x3ea04d,_0x1f00b3)=>{const _0x2c193d=_0x2f0ec0;this[_0x2c193d(0x534)]=null,this[_0x2c193d(0x42e)](_0x49f8e6,_0x2fe375,_0x3ea04d,_0x1f00b3);},'onPasteCells':(_0x292e38,_0x3a7f69,_0x49ac4b,_0x4f6aec)=>{const _0x3e0b7c=_0x2f0ec0;if(!_0x4f6aec[_0x3e0b7c(0x3d0)]||!_0x292e38||!this['_copyInfo'])return{'redos':[],'undos':[]};let {pasteType:_0x4e8caf}=_0x4f6aec;return _0x4e8caf===_0x189be3['PREDEFINED_HOOK_NAME'][_0x3e0b7c(0x411)]?this[_0x3e0b7c(0x275)](_0x3a7f69,this['_copyInfo'][_0x3e0b7c(0x347)]===_0x189be3[_0x3e0b7c(0x400)]['CUT']):{'redos':[],'undos':[]};}}));}[_0x13ba7a(0x42e)](_0x4637cf,_0x58ecc9,_0x3dcf9e,_0x43b830){const _0x303354=_0x13ba7a;let _0x32be8e=this[_0x303354(0x312)][_0x303354(0x50c)](_0x4637cf,_0x58ecc9);if(!_0x32be8e)return;let _0x1e5dc0=(0x0,_0x32abfe[_0x303354(0x3c1)])(_0x32be8e,_0x3dcf9e);if(!_0x1e5dc0)return;let {startX:_0x1d1c33,endX:_0x21ece9,startY:_0x214a3a,endY:_0x1c36e0}=_0x1e5dc0,_0x111d72=this[_0x303354(0x4bb)]['getDrawingData'](_0x4637cf,_0x58ecc9),_0x36eebc=[];for(let [_0x1fe552,_0x11ce7f]of Object[_0x303354(0x4d1)](_0x111d72)){if(_0x11ce7f['drawingType']!==_0x10e5f9['DrawingTypeEnum'][_0x303354(0x20d)])continue;let {transform:_0x466931}=_0x11ce7f;if(!_0x466931)continue;let {left:_0x5b922b=0x0,top:_0x297fca=0x0,width:_0x1098e2=0x0,height:_0xdd069e=0x0}=_0x466931;_0x1d1c33<=_0x5b922b&&_0x21ece9>=_0x5b922b+_0x1098e2&&_0x214a3a<=_0x297fca&&_0x1c36e0>=_0x297fca+_0xdd069e&&_0x36eebc['push'](_0x11ce7f);}_0x36eebc[_0x303354(0x45b)]>0x0&&(this[_0x303354(0x534)]={'unitId':_0x4637cf,'subUnitId':_0x58ecc9,'copyType':_0x43b830,'copyRange':_0x3dcf9e,'drawings':_0x36eebc});}[_0x13ba7a(0x275)](_0x883a5,_0x87bee){const _0x18d191=_0x13ba7a;let {unitId:_0x4ef778,subUnitId:_0x442763,range:_0x39c021}=_0x883a5,_0x363aa6=this[_0x18d191(0x312)][_0x18d191(0x50c)](_0x4ef778,_0x442763);if(!_0x363aa6)return{'redos':[],'undos':[]};let _0x2c60e2=(0x0,_0x32abfe[_0x18d191(0x207)])(_0x39c021),{unitId:_0x1ef8d0,subUnitId:_0x27da7f,copyRange:_0x18761d,drawings:_0x507269}=this[_0x18d191(0x534)],_0x1593f7=this[_0x18d191(0x312)][_0x18d191(0x50c)](_0x1ef8d0,_0x27da7f);if(!_0x1593f7)return{'redos':[],'undos':[]};let _0x25c7d1;if(!_0x18761d){let _0xabb378=0x1/0x0,_0x216eaa=0x1/0x0;for(let _0x2f851e of _0x507269){let {left:_0x5dd2d8=0x0,top:_0x1888fd=0x0}=_0x2f851e[_0x18d191(0x474)]??{};_0x5dd2d8<_0xabb378&&(_0xabb378=_0x5dd2d8),_0x1888fd<_0x216eaa&&(_0x216eaa=_0x1888fd);}_0xabb378!==0x1/0x0&&_0x216eaa!==0x1/0x0&&(_0x25c7d1={'left':_0xabb378,'top':_0x216eaa});}let _0x55121d=new Map();if(!_0x87bee){for(let _0x3a1f0d of _0x507269)_0x55121d[_0x18d191(0x455)](_0x3a1f0d[_0x18d191(0x272)],(0x0,_0x10e5f9[_0x18d191(0x30b)])());}let _0x10c84b=[],_0x216ae8=[];for(let _0x400f23 of _0x507269){let {drawingId:_0x392067,transform:_0x35d35f,sheetTransform:_0x5c88a2}=_0x400f23;if(!_0x35d35f||!_0x5c88a2)continue;let _0x595b08=this[_0x18d191(0x263)]({'transform':_0x35d35f,'sheetTransform':_0x5c88a2},{'skeleton':_0x1593f7,'range':_0x18761d},{'skeleton':_0x363aa6,'range':_0x2c60e2},_0x25c7d1);if(_0x87bee){let {redos:_0x363594,undos:_0xa4f12d}=this[_0x18d191(0x49e)]({'fromUnitId':_0x1ef8d0,'fromSubUnitId':_0x27da7f,'toUnitId':_0x4ef778,'toSubUnitId':_0x442763,'drawing':_0x400f23,'newTransforms':_0x595b08});_0x10c84b['push'](..._0x363594),_0x216ae8[_0x18d191(0x1b2)](..._0xa4f12d);continue;}let {redos:_0x5146a7,undos:_0x2d1766}=this[_0x18d191(0x2db)]({'toUnitId':_0x4ef778,'toSubUnitId':_0x442763,'drawing':_0x400f23,'newTransforms':_0x595b08,'newDrawingId':_0x55121d[_0x18d191(0x468)](_0x392067),'idMap':_0x55121d});_0x10c84b[_0x18d191(0x1b2)](..._0x5146a7),_0x216ae8[_0x18d191(0x1b2)](..._0x2d1766);}return{'redos':_0x10c84b,'undos':_0x216ae8};}[_0x13ba7a(0x49e)](_0x40ab0e){const _0xf39dcc=_0x13ba7a;let {fromUnitId:_0xe67adf,fromSubUnitId:_0x5571b1,toUnitId:_0x249f38,toSubUnitId:_0x34b385,drawing:_0x13cf58,newTransforms:_0x1e6084}=_0x40ab0e,_0x29d63c={..._0x13cf58,'unitId':_0x249f38,'subUnitId':_0x34b385,'transform':_0x1e6084[_0xf39dcc(0x474)],'sheetTransform':_0x1e6084[_0xf39dcc(0x2ea)]};if(_0x249f38===_0xe67adf&&_0x34b385===_0x5571b1){let {redo:_0x5ca7b2,undo:_0x816b33,objects:_0x395b51}=this['_sheetDrawingService'][_0xf39dcc(0x4e6)]([_0x29d63c]);return{'redos':[{'id':_0x40f1a1[_0xf39dcc(0x3d4)]['id'],'params':{'unitId':_0x249f38,'subUnitId':_0x34b385,'type':_0x40f1a1[_0xf39dcc(0x4ae)][_0xf39dcc(0x268)],'op':_0x5ca7b2,'objects':_0x395b51}}],'undos':[{'id':_0x40f1a1[_0xf39dcc(0x3d4)]['id'],'params':{'unitId':_0x249f38,'subUnitId':_0x34b385,'type':_0x40f1a1[_0xf39dcc(0x4ae)][_0xf39dcc(0x268)],'op':_0x816b33,'objects':_0x395b51}}]};}{let _0x2433b8=this[_0xf39dcc(0x4bb)][_0xf39dcc(0x427)]([_0x13cf58]),_0xa5d6c7=this[_0xf39dcc(0x4bb)]['getBatchAddOp']([_0x29d63c]),_0x3389d4=this[_0xf39dcc(0x4df)][_0xf39dcc(0x2f5)](_0x13cf58[_0xf39dcc(0x26e)],_0x13cf58[_0xf39dcc(0x354)],_0x13cf58[_0xf39dcc(0x272)]);if(!_0x3389d4)return{'redos':[],'undos':[]};let _0x5964d3=_0x3389d4[_0xf39dcc(0x21e)](),_0x2cd6d4=JSON[_0xf39dcc(0x257)](JSON[_0xf39dcc(0x2fe)](_0x3389d4[_0xf39dcc(0x434)]()));return{'redos':[{'id':_0x40f1a1['SetDrawingApplyMutation']['id'],'params':{'unitId':_0xe67adf,'subUnitId':_0x5571b1,'type':_0x40f1a1[_0xf39dcc(0x4ae)][_0xf39dcc(0x291)],'op':_0x2433b8[_0xf39dcc(0x1c0)],'objects':_0x2433b8[_0xf39dcc(0x580)]}},{'id':_0x2f2bb5['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0xe67adf,'subUnitId':_0x5571b1,'shapeId':_0x13cf58[_0xf39dcc(0x272)]}},{'id':_0x40f1a1[_0xf39dcc(0x3d4)]['id'],'params':{'unitId':_0x249f38,'subUnitId':_0x34b385,'type':_0x40f1a1['DrawingApplyType'][_0xf39dcc(0x3fd)],'op':_0xa5d6c7[_0xf39dcc(0x1c0)],'objects':_0xa5d6c7['objects']}},{'id':_0x2f2bb5['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x249f38,'subUnitId':_0x34b385,'shapeId':_0x13cf58[_0xf39dcc(0x272)],'shapeType':_0x5964d3,'shapeData':_0x2cd6d4}}],'undos':[{'id':_0x40f1a1['SetDrawingApplyMutation']['id'],'params':{'unitId':_0xe67adf,'subUnitId':_0x5571b1,'type':_0x40f1a1['DrawingApplyType'][_0xf39dcc(0x3fd)],'op':_0x2433b8[_0xf39dcc(0x4b7)],'objects':_0x2433b8['objects']}},{'id':_0x2f2bb5[_0xf39dcc(0x4f0)]['id'],'params':{'unitId':_0xe67adf,'subUnitId':_0x5571b1,'shapeId':_0x13cf58[_0xf39dcc(0x272)],'shapeType':_0x5964d3,'shapeData':_0x2cd6d4}},{'id':_0x40f1a1['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x249f38,'subUnitId':_0x34b385,'type':_0x40f1a1[_0xf39dcc(0x4ae)][_0xf39dcc(0x291)],'op':_0xa5d6c7[_0xf39dcc(0x4b7)],'objects':_0xa5d6c7[_0xf39dcc(0x580)]}},{'id':_0x2f2bb5['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x249f38,'subUnitId':_0x34b385,'shapeId':_0x13cf58[_0xf39dcc(0x272)]}}]};}}[_0x13ba7a(0x2db)](_0x4472a8){const _0x4266c8=_0x13ba7a;let {toUnitId:_0x3f7fad,toSubUnitId:_0x302d26,drawing:_0x3ec94c,newTransforms:_0x3f0006,newDrawingId:_0x4142e2,idMap:_0x30d455}=_0x4472a8,_0xd02bc5={..._0x3ec94c,'unitId':_0x3f7fad,'subUnitId':_0x302d26,'drawingId':_0x4142e2,'transform':_0x3f0006[_0x4266c8(0x474)],'sheetTransform':_0x3f0006[_0x4266c8(0x2ea)]},{redo:_0x28e94c,undo:_0x56fada,objects:_0x13dfdf}=this['_sheetDrawingService']['getBatchAddOp']([_0xd02bc5]),_0x3ffa35=this['_shapeService'][_0x4266c8(0x2f5)](_0x3ec94c[_0x4266c8(0x26e)],_0x3ec94c[_0x4266c8(0x354)],_0x3ec94c[_0x4266c8(0x272)]);if(!_0x3ffa35)return{'redos':[],'undos':[]};let _0x28707a=_0x3ffa35['getShapeType'](),_0x3a1ffb=JSON[_0x4266c8(0x257)](JSON[_0x4266c8(0x2fe)](_0x3ffa35[_0x4266c8(0x434)]()));if(_0x3a1ffb[_0x4266c8(0x305)]){var _0xaa6ef8,_0x41fc46;let _0x2afd23=(_0xaa6ef8=_0x3a1ffb[_0x4266c8(0x305)][_0x4266c8(0x1fd)])==null?void 0x0:_0xaa6ef8[_0x4266c8(0x42a)],_0x59dae1=(_0x41fc46=_0x3a1ffb[_0x4266c8(0x305)]['to'])==null?void 0x0:_0x41fc46[_0x4266c8(0x42a)],_0x3d3223=!_0x2afd23||_0x30d455['has'](_0x2afd23),_0x48365b=!_0x59dae1||_0x30d455['has'](_0x59dae1);_0x3d3223&&_0x2afd23&&_0x3a1ffb['relation'][_0x4266c8(0x1fd)]?_0x3a1ffb[_0x4266c8(0x305)][_0x4266c8(0x1fd)]={..._0x3a1ffb[_0x4266c8(0x305)]['from'],'shapeId':_0x30d455[_0x4266c8(0x468)](_0x2afd23)}:_0x3a1ffb[_0x4266c8(0x305)]['from']=void 0x0,_0x48365b&&_0x59dae1&&_0x3a1ffb[_0x4266c8(0x305)]['to']?_0x3a1ffb[_0x4266c8(0x305)]['to']={..._0x3a1ffb[_0x4266c8(0x305)]['to'],'shapeId':_0x30d455[_0x4266c8(0x468)](_0x59dae1)}:_0x3a1ffb['relation']['to']=void 0x0;}return{'redos':[{'id':_0x40f1a1['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x3f7fad,'subUnitId':_0x302d26,'type':_0x40f1a1[_0x4266c8(0x4ae)][_0x4266c8(0x3fd)],'op':_0x28e94c,'objects':_0x13dfdf}},{'id':_0x2f2bb5['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x3f7fad,'subUnitId':_0x302d26,'shapeId':_0x4142e2,'shapeType':_0x28707a,'shapeData':_0x3a1ffb}}],'undos':[{'id':_0x40f1a1['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x3f7fad,'subUnitId':_0x302d26,'type':_0x40f1a1['DrawingApplyType'][_0x4266c8(0x291)],'op':_0x56fada,'objects':_0x13dfdf}},{'id':_0x2f2bb5[_0x4266c8(0x522)]['id'],'params':{'unitId':_0x3f7fad,'subUnitId':_0x302d26,'shapeId':_0x4142e2}}]};}[_0x13ba7a(0x263)](_0x548642,_0x14ff8c,_0x3039bd,_0x4b0e96){const _0x5e335a=_0x13ba7a;let {range:_0x5cfec1,skeleton:_0x688db3}=_0x14ff8c,{range:_0x13a980,skeleton:_0xed2f8a}=_0x3039bd,{transform:_0x580789,sheetTransform:_0x2d67a5}=_0x548642,_0x2d6294={..._0x580789};if(_0x5cfec1){let _0x53918e=(0x0,_0x32abfe[_0x5e335a(0x3c1)])(_0x688db3,_0x5cfec1),_0x211102=(0x0,_0x32abfe[_0x5e335a(0x3c1)])(_0xed2f8a,_0x13a980);if(_0x53918e&&_0x211102){let _0x41a2f0=_0x211102[_0x5e335a(0x4f3)]-_0x53918e[_0x5e335a(0x4f3)],_0x24beec=_0x211102[_0x5e335a(0x526)]-_0x53918e[_0x5e335a(0x526)];_0x2d6294[_0x5e335a(0x4f4)]=(_0x2d6294['left']??0x0)+_0x41a2f0,_0x2d6294['top']=(_0x2d6294[_0x5e335a(0x1c8)]??0x0)+_0x24beec;}}else{let _0x41bfe4=(0x0,_0x32abfe[_0x5e335a(0x3c1)])(_0xed2f8a,_0x13a980);if(_0x4b0e96&&_0x41bfe4){let _0x2345ab=(_0x2d6294[_0x5e335a(0x4f4)]??0x0)-_0x4b0e96[_0x5e335a(0x4f4)],_0x1908a=(_0x2d6294[_0x5e335a(0x1c8)]??0x0)-_0x4b0e96['top'];_0x2d6294[_0x5e335a(0x4f4)]=_0x41bfe4['startX']+_0x2345ab,_0x2d6294[_0x5e335a(0x1c8)]=_0x41bfe4[_0x5e335a(0x526)]+_0x1908a;}else _0x2d6294['left']=_0x41bfe4==null?void 0x0:_0x41bfe4[_0x5e335a(0x4f3)],_0x2d6294['top']=_0x41bfe4==null?void 0x0:_0x41bfe4[_0x5e335a(0x526)];}return{'transform':_0x2d6294,'sheetTransform':(0x0,_0x40f1a1[_0x5e335a(0x307)])(_0x2d6294,_0xed2f8a)??_0x2d67a5};}};_0x32e137=_0x12f75a([_0x174396(0x0,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x32abfe[_0x13ba7a(0x211)])),_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x189be3[_0x13ba7a(0x441)])),_0x174396(0x2,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x40f1a1[_0x13ba7a(0x292)])),_0x174396(0x3,(0x0,_0x10e5f9['Inject'])(_0x2f2bb5['SheetsShapeService'])),_0x174396(0x4,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x3c03b9[_0x13ba7a(0x35a)]))],_0x32e137);var _0x5d4642=class extends _0x3458ba[_0x13ba7a(0x440)]{constructor(_0x4b48d3,_0x23ac1f){const _0x167992=_0x13ba7a;super(_0x4b48d3,_0x23ac1f),_0x5ae661(this,'_shapeId',null),_0x5ae661(this,_0x167992(0x584),null),_0x5ae661(this,_0x167992(0x35d),null),_0x5ae661(this,_0x167992(0x2cf),null),_0x5ae661(this,_0x167992(0x3dd),!0x1),_0x23ac1f&&this[_0x167992(0x2b1)](_0x23ac1f);}['getDrawingSearch'](){const _0x4b4126=_0x13ba7a;return{'unitId':this[_0x4b4126(0x35d)],'subUnitId':this[_0x4b4126(0x2cf)],'drawingId':this[_0x4b4126(0x373)]};}[_0x13ba7a(0x2b1)](_0x2220ff){const _0xfef488=_0x13ba7a;_0x2220ff[_0xfef488(0x42a)]!==void 0x0&&(this[_0xfef488(0x373)]=_0x2220ff[_0xfef488(0x42a)]),_0x2220ff[_0xfef488(0x26e)]!==void 0x0&&(this['_unitId']=_0x2220ff[_0xfef488(0x26e)]),_0x2220ff[_0xfef488(0x354)]!==void 0x0&&(this[_0xfef488(0x2cf)]=_0x2220ff[_0xfef488(0x354)]),_0x2220ff[_0xfef488(0x4ce)]!==void 0x0&&(this[_0xfef488(0x3dd)]=_0x2220ff[_0xfef488(0x4ce)]),this['transformByState']({'width':_0x2220ff[_0xfef488(0x1dd)],'height':_0x2220ff[_0xfef488(0x2c5)]});}[_0x13ba7a(0x2fa)](_0x27cbc1){const _0x1a0f21=_0x13ba7a;_0x3458ba[_0x1a0f21(0x4da)][_0x1a0f21(0x416)](_0x27cbc1,{'radius':_0xd67e3f[_0x1a0f21(0x225)][_0x1a0f21(0x290)],'fill':_0xd67e3f[_0x1a0f21(0x225)]['cxnPointFill'],'stroke':_0xd67e3f[_0x1a0f21(0x225)][_0x1a0f21(0x38e)],'strokeWidth':_0xd67e3f[_0x1a0f21(0x225)][_0x1a0f21(0x2d2)],'evented':!0x0});}};let _0x191a85=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0x1cc0f1,_0x1385f5,_0x3cdfc0,_0xc29ac7,_0x1c6776,_0x1f6344,_0x3ab9ff,_0x298cc7){const _0x2d32d1=_0x13ba7a;super(),this[_0x2d32d1(0x3cb)]=_0x1cc0f1,this['_commandService']=_0x1385f5,this[_0x2d32d1(0x2e2)]=_0x3cdfc0,this[_0x2d32d1(0x3c5)]=_0xc29ac7,this['_univerInstanceService']=_0x1c6776,this[_0x2d32d1(0x56c)]=_0x1f6344,this['_sheetShapeAdjustController']=_0x3ab9ff,this['_sheetBasicShapeConnectionPointController']=_0x298cc7,_0x5ae661(this,_0x2d32d1(0x299),void 0x0),_0x5ae661(this,_0x2d32d1(0x35d),void 0x0),_0x5ae661(this,'_subUnitId',void 0x0),_0x5ae661(this,_0x2d32d1(0x47a),[]),_0x5ae661(this,_0x2d32d1(0x324),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),_0x5ae661(this,'_activeShapeModel',void 0x0),_0x5ae661(this,_0x2d32d1(0x2f7),!0x1),_0x5ae661(this,'_isDrawingShapePointDown',!0x1),_0x5ae661(this,'_hasReset',!0x1),_0x5ae661(this,_0x2d32d1(0x57d),void 0x0),_0x5ae661(this,'_cxtHandlerPointerUp',void 0x0),_0x5ae661(this,_0x2d32d1(0x1a8),null),this[_0x2d32d1(0x3eb)]();}[_0x13ba7a(0x3eb)](){const _0x4eb4b8=_0x13ba7a;this['_registerDrawingFocusChangeHandler'](),this[_0x4eb4b8(0x36b)]();}[_0x13ba7a(0x464)](){const _0x3bcb24=_0x13ba7a;if(!this['_unitId']||!this[_0x3bcb24(0x2cf)]||!this[_0x3bcb24(0x299)])return;let _0x243c05={'unitId':this['_unitId'],'subUnitId':this[_0x3bcb24(0x2cf)],'drawingId':this[_0x3bcb24(0x299)]},{transform:_0x2bfbb2}=this[_0x3bcb24(0x3c5)][_0x3bcb24(0x3db)](_0x243c05);if(_0x2bfbb2)return{'left':_0x2bfbb2['left']||0x0,'top':_0x2bfbb2['top']||0x0,'width':_0x2bfbb2[_0x3bcb24(0x1dd)]||0x0,'height':_0x2bfbb2['height']||0x0,'flipX':_0x2bfbb2['flipX']||!0x1,'flipY':_0x2bfbb2['flipY']||!0x1,'angle':_0x2bfbb2[_0x3bcb24(0x36f)]};}['_addShapeConnectorHandlerObjects'](){const _0x25db9a=_0x13ba7a;if(this[_0x25db9a(0x35d)]===void 0x0||this[_0x25db9a(0x2cf)]===void 0x0||this[_0x25db9a(0x299)]===void 0x0)return;let _0x3588cf=this['_renderManagerService']['getRenderUnitById'](this[_0x25db9a(0x35d)]);if(!_0x3588cf||!_0x3588cf['with'](_0x189be3[_0x25db9a(0x277)])[_0x25db9a(0x387)]())return;let {scene:_0x3dc9cd}=_0x3588cf,_0x204bd5=this[_0x25db9a(0x464)]();if(!_0x204bd5)return;let _0x18a8c8=this['_sheetsShapeService'][_0x25db9a(0x2f5)](this[_0x25db9a(0x35d)],this[_0x25db9a(0x2cf)],this[_0x25db9a(0x299)]);if(!_0x18a8c8||!(0x0,_0xd67e3f[_0x25db9a(0x36a)])(_0x18a8c8[_0x25db9a(0x21e)]()))return;let _0x1f5781=_0x18a8c8[_0x25db9a(0x4e9)]();if(_0x1f5781[_0x25db9a(0x45b)]<0x2)return;let _0x3c0bf9=new _0xd67e3f[(_0x25db9a(0x1ee))](_0x204bd5),_0x179b43=_0x1f5781[0x0],_0x34674d=_0x1f5781[_0x1f5781[_0x25db9a(0x45b)]-0x1],_0x45ec19=_0x3c0bf9[_0x25db9a(0x4d5)](_0x179b43),_0x5bf77a=_0x3c0bf9['localToWorld'](_0x34674d);this[_0x25db9a(0x4c5)](_0x3dc9cd,{..._0x45ec19},!0x0),this[_0x25db9a(0x4c5)](_0x3dc9cd,{..._0x5bf77a},!0x1);}[_0x13ba7a(0x4c5)](_0x586ffd,_0x2f0d17,_0x541dac){const _0x29cccd=_0x13ba7a;if(this[_0x29cccd(0x299)]===void 0x0||this[_0x29cccd(0x35d)]===void 0x0||this['_subUnitId']===void 0x0)return;let _0x9a5d4=_0x29cccd(0x389)+this[_0x29cccd(0x35d)]+'-'+this[_0x29cccd(0x2cf)]+'-'+this['_activeShapeId']+'-'+(_0x541dac?'start':'end'),_0x37f966=_0x586ffd['getObjectIncludeInGroup'](_0x9a5d4);if(_0x37f966){_0x37f966[_0x29cccd(0x3e2)]({'left':_0x2f0d17['x']-_0xd67e3f[_0x29cccd(0x225)][_0x29cccd(0x290)],'top':_0x2f0d17['y']-_0xd67e3f['ShapeDefaultConfig'][_0x29cccd(0x290)]});return;}let _0x38661a=new _0x5d4642(_0x9a5d4,{'left':_0x2f0d17['x']-_0xd67e3f['ShapeDefaultConfig'][_0x29cccd(0x290)],'top':_0x2f0d17['y']-_0xd67e3f[_0x29cccd(0x225)][_0x29cccd(0x290)],'shapeId':this[_0x29cccd(0x299)],'unitId':this[_0x29cccd(0x35d)],'subUnitId':this['_subUnitId'],'isStartConnectorPoint':_0x541dac,'width':_0xd67e3f[_0x29cccd(0x225)][_0x29cccd(0x290)]*0x2,'height':_0xd67e3f[_0x29cccd(0x225)][_0x29cccd(0x290)]*0x2,'zIndex':_0x3458ba['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0});this[_0x29cccd(0x47a)][_0x29cccd(0x1b2)](_0x38661a),this[_0x29cccd(0x4db)](_0x38661a,_0x586ffd,_0x541dac),_0x586ffd[_0x29cccd(0x412)](_0x38661a,_0x3458ba[_0x29cccd(0x4b5)]+0x1);}[_0x13ba7a(0x43c)](_0x38ea74,_0x4d46b3){const _0x3eb00b=_0x13ba7a;var _0x2a4d37;let _0x461447={'x':0x0,'y':0x0};if(!_0x38ea74||!_0x4d46b3)return _0x461447;let _0x20c7f1=this[_0x3eb00b(0x2e2)][_0x3eb00b(0x57f)](_0x38ea74);if(!_0x20c7f1||!_0x20c7f1[_0x3eb00b(0x39e)](_0x189be3[_0x3eb00b(0x277)])[_0x3eb00b(0x50c)](_0x4d46b3))return _0x461447;let _0x27ae53=_0x20c7f1[_0x3eb00b(0x39e)](_0x189be3[_0x3eb00b(0x51c)]),_0x1274a1=_0x27ae53==null?void 0x0:_0x27ae53['getCurrentScrollState']();if(!_0x1274a1)return _0x461447;let _0x1fe07b=(_0x2a4d37=this[_0x3eb00b(0x583)][_0x3eb00b(0x4a9)](_0x38ea74))==null?void 0x0:_0x2a4d37[_0x3eb00b(0x1ed)](_0x4d46b3);if(!_0x1fe07b)return _0x461447;let _0x41acf4=(0x0,_0x189be3[_0x3eb00b(0x501)])(_0x1274a1['sheetViewStartRow'],_0x1274a1[_0x3eb00b(0x507)],_0x20c7f1[_0x3eb00b(0x2a7)],_0x1fe07b);return _0x41acf4?{'x':_0x41acf4[_0x3eb00b(0x1ff)],'y':_0x41acf4[_0x3eb00b(0x52b)]}:_0x461447;}[_0x13ba7a(0x570)](_0x5be2e5,_0x219d37){const _0x3d4323=_0x13ba7a;var _0x36ca36;let _0x24d440=(_0x36ca36=this[_0x3d4323(0x583)][_0x3d4323(0x4a9)](_0x5be2e5))==null?void 0x0:_0x36ca36[_0x3d4323(0x1ed)](_0x219d37);return(_0x24d440==null?void 0x0:_0x24d440[_0x3d4323(0x461)]())??0x1;}[_0x13ba7a(0x310)](_0x49d691,_0x30a186,_0x18946c,_0x3a0cbf,_0x94c5e0){const _0x133610=_0x13ba7a;this[_0x133610(0x57d)][_0x133610(0x539)](),this[_0x133610(0x2d1)]['unsubscribe'](),this[_0x133610(0x28d)][_0x133610(0x348)]();let _0x3e1098=this[_0x133610(0x1a8)];this['_sheetBasicShapeConnectionPointController']['endConnectionDetection']();let _0x11ffcb=this[_0x133610(0x43c)](this[_0x133610(0x35d)],this[_0x133610(0x2cf)]),_0x347837=this[_0x133610(0x570)](this[_0x133610(0x35d)],this[_0x133610(0x2cf)]),_0x3bbd3c={'x':_0x18946c[_0x133610(0x3e5)]/_0x347837+_0x11ffcb['x'],'y':_0x18946c['offsetY']/_0x347837+_0x11ffcb['y']},_0xc52dc4=_0x3e1098?_0x3e1098[_0x133610(0x519)]:_0x3bbd3c,_0x4b38c2=_0x3a0cbf?this[_0x133610(0x223)][_0x133610(0x504)]():this[_0x133610(0x223)][_0x133610(0x38b)](),_0x4bf7eb=this['_activeShapeModel'][_0x133610(0x21e)]();_0x4b38c2?this[_0x133610(0x240)](_0x4b38c2,_0xc52dc4,_0x3a0cbf,_0x3e1098,_0x94c5e0):this[_0x133610(0x409)](_0x30a186,_0xc52dc4,_0x3a0cbf,_0x3e1098,_0x94c5e0,_0x4bf7eb),this[_0x133610(0x2f7)]=!0x1,this[_0x133610(0x24a)]=!0x1,this[_0x133610(0x1a8)]=null,_0x49d691[_0x133610(0x51a)]();}[_0x13ba7a(0x409)](_0x57cd11,_0x2d1f40,_0x18d144,_0x192805,_0x21ffb9,_0x557f71){const _0x8b3d5e=_0x13ba7a;let _0x5ad94f=_0x557f71===_0xd67e3f[_0x8b3d5e(0x575)][_0x8b3d5e(0x363)]||_0x557f71===_0xd67e3f[_0x8b3d5e(0x575)][_0x8b3d5e(0x379)],_0x3c10a2=_0x18d144?_0x2d1f40:_0x57cd11,_0x426c9f=_0x18d144?_0x57cd11:_0x2d1f40,_0x1edcc4=this[_0x8b3d5e(0x223)][_0x8b3d5e(0x4e9)](),_0x1fc951=this[_0x8b3d5e(0x223)]['getShapeType'](),_0x596dc0=(0x0,_0xd67e3f[_0x8b3d5e(0x4d2)])(_0x1fc951),_0xb860f5=_0xd67e3f[_0x8b3d5e(0x1ee)][_0x8b3d5e(0x516)](_0x1edcc4,_0x596dc0),_0x25378d=_0x5ad94f?_0xd67e3f[_0x8b3d5e(0x1ee)][_0x8b3d5e(0x554)](_0x3c10a2,_0x426c9f):_0xd67e3f['ConnectorCoordinateTransform'][_0x8b3d5e(0x47e)](_0x57cd11,_0x2d1f40,_0x18d144,_0xb860f5);_0x192805?this[_0x8b3d5e(0x266)](_0x25378d,_0x192805,_0x18d144,_0x21ffb9):this[_0x8b3d5e(0x380)](_0x25378d,_0x21ffb9);}[_0x13ba7a(0x240)](_0xc41064,_0x135026,_0xb45e3,_0x31c821,_0x4ca97d){const _0x427d6a=_0x13ba7a;let _0x27fb98=this[_0x427d6a(0x4dd)](_0xc41064);if(!_0x27fb98)return;let _0x4376d1=_0x31c821?_0x31c821[_0x427d6a(0x36f)]:this[_0x427d6a(0x45e)](_0x27fb98[_0x427d6a(0x53b)],_0x135026),_0x4b8768;if(_0x31c821){let _0x33608e=this[_0x427d6a(0x3c5)][_0x427d6a(0x3db)]({'unitId':_0x31c821[_0x427d6a(0x26e)],'subUnitId':_0x31c821[_0x427d6a(0x354)],'drawingId':_0x31c821[_0x427d6a(0x42a)]});if(_0x33608e!=null&&_0x33608e[_0x427d6a(0x474)]){let {left:_0x566a07=0x0,top:_0x556210=0x0,width:_0xd16d89=0x0,height:_0xdb5f38=0x0,angle:_0x19dbb9}=_0x33608e[_0x427d6a(0x474)];_0x4b8768=(0x0,_0xd67e3f['getBasicShapeRotateBound'])({'left':_0x566a07,'top':_0x556210,'width':_0xd16d89,'height':_0xdb5f38},_0x19dbb9||0x0);}else _0x4b8768={'left':_0x135026['x'],'top':_0x135026['y'],'width':0x0,'height':0x0};}else _0x4b8768={'left':_0x135026['x'],'top':_0x135026['y'],'width':0x0,'height':0x0};let _0x5340c3={'point':_0x135026,'angle':_0x4376d1,'bounds':_0x4b8768},_0x22e4a3=_0xb45e3?_0x5340c3:_0x27fb98,_0x4ec2d0=_0xb45e3?_0x27fb98:_0x5340c3,_0x5ccf49=this[_0x427d6a(0x223)][_0x427d6a(0x21e)](),_0x5ec0b2=(0x0,_0xd67e3f[_0x427d6a(0x2b3)])(_0x22e4a3,_0x4ec2d0,_0x5ccf49);this[_0x427d6a(0x223)]['removeLinePoints']();let _0x1fde95=(0x0,_0xd67e3f[_0x427d6a(0x433)])(_0x5ec0b2,_0x5ccf49);_0x31c821?this[_0x427d6a(0x1eb)](_0x1fde95,_0x31c821,_0xc41064,_0xb45e3,_0x4ca97d):this[_0x427d6a(0x566)](_0x1fde95,_0xc41064,_0xb45e3,_0x4ca97d);}['_executeConnectionCommand'](_0x56bb0e,_0x5e9d63,_0x4a933d,_0x34a79b){const _0x114e43=_0x13ba7a;let _0x1b394d=this[_0x114e43(0x223)][_0x114e43(0x434)]()[_0x114e43(0x305)],_0xc44eac={..._0x1b394d},_0x23c83b={'shapeId':_0x5e9d63[_0x114e43(0x42a)],'cxnIndex':_0x5e9d63[_0x114e43(0x3e9)]};_0x4a933d?_0xc44eac[_0x114e43(0x1fd)]=_0x23c83b:_0xc44eac['to']=_0x23c83b;let _0x14649f=this[_0x114e43(0x223)][_0x114e43(0x21e)](),_0x270988=(0x0,_0xd67e3f[_0x114e43(0x433)])(_0x56bb0e['worldPoints'],_0x14649f),_0x48efed={'unitId':this[_0x114e43(0x35d)],'subUnitId':this[_0x114e43(0x2cf)],'connectorShapeId':this[_0x114e43(0x299)],'width':_0x56bb0e[_0x114e43(0x2cc)][_0x114e43(0x1dd)],'height':_0x56bb0e['worldRect'][_0x114e43(0x2c5)],'left':_0x56bb0e['worldRect'][_0x114e43(0x4f4)],'top':_0x56bb0e['worldRect'][_0x114e43(0x1c8)],'flipX':_0x56bb0e[_0x114e43(0x2cc)][_0x114e43(0x553)]||!0x1,'flipY':_0x56bb0e[_0x114e43(0x2cc)]['flipY']||!0x1,'newAdjustValues':_0x270988['adjustValues'],'oldAdjustValues':_0x34a79b,'oldRelation':_0x1b394d,'newRelation':_0xc44eac,'newLineType':_0x270988['lineType'],'oldLineType':_0x14649f};this['_commandService'][_0x114e43(0x274)](_0x2f2bb5[_0x114e43(0x295)]['id'],_0x48efed);}['_executeResizeCommand'](_0x485046,_0x1ace11){const _0x807c1=_0x13ba7a;let _0xf97d12=this[_0x807c1(0x223)][_0x807c1(0x21e)](),_0x130f71=(0x0,_0xd67e3f[_0x807c1(0x433)])(_0x485046['worldPoints'],_0xf97d12),_0x2f9eb4={'unitId':this[_0x807c1(0x35d)],'subUnitId':this[_0x807c1(0x2cf)],'shapeId':this[_0x807c1(0x299)],'width':_0x485046['worldRect'][_0x807c1(0x1dd)],'height':_0x485046[_0x807c1(0x2cc)][_0x807c1(0x2c5)],'left':_0x485046[_0x807c1(0x2cc)]['left'],'top':_0x485046[_0x807c1(0x2cc)][_0x807c1(0x1c8)],'flipX':_0x485046[_0x807c1(0x2cc)][_0x807c1(0x553)]||!0x1,'flipY':_0x485046[_0x807c1(0x2cc)][_0x807c1(0x3ec)]||!0x1,'angle':_0x485046[_0x807c1(0x2cc)][_0x807c1(0x36f)]||0x0,'newAdjustValues':_0x130f71[_0x807c1(0x4c3)],'oldAdjustValues':_0x1ace11,'newLineType':_0x130f71[_0x807c1(0x407)],'oldLineType':_0xf97d12};this[_0x807c1(0x558)]['executeCommand'](_0x2f2bb5[_0x807c1(0x487)]['id'],_0x2f9eb4);}[_0x13ba7a(0x1eb)](_0x4d4b41,_0x199405,_0x3dae08,_0x178bab,_0x25f575){const _0x1a5455=_0x13ba7a;let _0x23b535=this[_0x1a5455(0x223)][_0x1a5455(0x434)]()[_0x1a5455(0x305)],_0x2cd7fe={..._0x23b535},_0x59a454={'shapeId':_0x199405[_0x1a5455(0x42a)],'cxnIndex':_0x199405[_0x1a5455(0x3e9)]};_0x178bab?(_0x2cd7fe['from']=_0x59a454,_0x2cd7fe['to']=_0x3dae08):(_0x2cd7fe[_0x1a5455(0x1fd)]=_0x3dae08,_0x2cd7fe['to']=_0x59a454);let _0x2d8aca={'unitId':this[_0x1a5455(0x35d)],'subUnitId':this[_0x1a5455(0x2cf)],'connectorShapeId':this['_activeShapeId'],'width':_0x4d4b41['worldRect'][_0x1a5455(0x1dd)],'height':_0x4d4b41[_0x1a5455(0x2cc)][_0x1a5455(0x2c5)],'left':_0x4d4b41[_0x1a5455(0x2cc)][_0x1a5455(0x4f4)],'top':_0x4d4b41[_0x1a5455(0x2cc)]['top'],'flipX':_0x4d4b41['worldRect'][_0x1a5455(0x553)]||!0x1,'flipY':_0x4d4b41[_0x1a5455(0x2cc)][_0x1a5455(0x3ec)]||!0x1,'oldAdjustValues':_0x25f575,'newAdjustValues':_0x4d4b41[_0x1a5455(0x4c3)],'newLineType':_0x4d4b41['lineType'],'rotation':_0x4d4b41[_0x1a5455(0x53c)],'oldRelation':_0x23b535,'newRelation':_0x2cd7fe};this[_0x1a5455(0x558)][_0x1a5455(0x274)](_0x2f2bb5[_0x1a5455(0x295)]['id'],_0x2d8aca);}[_0x13ba7a(0x566)](_0x50430a,_0x417926,_0xecb116,_0x2b75da){const _0x1f86be=_0x13ba7a;let _0x1a5645=this[_0x1f86be(0x223)][_0x1f86be(0x434)]()[_0x1f86be(0x305)],_0x19ce7f={};_0xecb116?(_0x19ce7f['to']=_0x417926,_0x19ce7f[_0x1f86be(0x1fd)]=void 0x0):(_0x19ce7f[_0x1f86be(0x1fd)]=_0x417926,_0x19ce7f['to']=void 0x0);let _0xf5aef7={'unitId':this[_0x1f86be(0x35d)],'subUnitId':this[_0x1f86be(0x2cf)],'connectorShapeId':this['_activeShapeId'],'width':_0x50430a['worldRect'][_0x1f86be(0x1dd)],'height':_0x50430a['worldRect'][_0x1f86be(0x2c5)],'left':_0x50430a[_0x1f86be(0x2cc)]['left'],'top':_0x50430a[_0x1f86be(0x2cc)]['top'],'flipX':_0x50430a[_0x1f86be(0x2cc)][_0x1f86be(0x553)]||!0x1,'flipY':_0x50430a[_0x1f86be(0x2cc)][_0x1f86be(0x3ec)]||!0x1,'oldAdjustValues':_0x2b75da,'newAdjustValues':_0x50430a[_0x1f86be(0x4c3)],'newLineType':_0x50430a[_0x1f86be(0x407)],'rotation':_0x50430a[_0x1f86be(0x53c)],'oldRelation':_0x1a5645,'newRelation':_0x19ce7f};this[_0x1f86be(0x558)][_0x1f86be(0x274)](_0x2f2bb5[_0x1f86be(0x295)]['id'],_0xf5aef7);}[_0x13ba7a(0x4db)](_0x222fed,_0x1bd32f,_0x378a1a){const _0x474a18=_0x13ba7a;this[_0x474a18(0x47f)]((0x0,_0x10e5f9[_0x474a18(0x576)])(_0x222fed[_0x474a18(0x27e)][_0x474a18(0x2f6)]((_0x3d361c,_0x5d955e)=>{const _0x4b8082=_0x474a18;let _0x58f313=_0x222fed[_0x4b8082(0x2c8)]();if(this[_0x4b8082(0x223)]=this[_0x4b8082(0x56c)]['getShapeModel'](_0x58f313[_0x4b8082(0x26e)],_0x58f313[_0x4b8082(0x354)],_0x58f313[_0x4b8082(0x272)]),!this['_activeShapeModel'])return;let _0x530a61={};this['_activeShapeModel'][_0x4b8082(0x596)]()[_0x4b8082(0x34a)](_0x567be5=>{const _0x1bff26=_0x4b8082;let _0x4b928b=this['_activeShapeModel'][_0x1bff26(0x29f)](_0x567be5);_0x4b928b!==void 0x0&&(_0x530a61[_0x567be5]=_0x4b928b);});let _0x3e1a13=this[_0x4b8082(0x464)]();if(!_0x3e1a13)return;this[_0x4b8082(0x324)]={..._0x3e1a13};let _0x1c81f2=new _0xd67e3f['ConnectorCoordinateTransform'](this[_0x4b8082(0x324)]),_0x5bcf44=(0x0,_0x15864b['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0x4b8082(0x35d)],'subUnitId':this[_0x4b8082(0x2cf)],'drawingId':this['_activeShapeId']}),_0x238050=_0x1bd32f[_0x4b8082(0x1a7)](_0x5bcf44);this[_0x4b8082(0x2f7)]=!0x0,_0x1bd32f[_0x4b8082(0x1ce)](),this['_sheetBasicShapeConnectionPointController'][_0x4b8082(0x35e)](_0x1bd32f,this['_unitId'],this[_0x4b8082(0x2cf)],this[_0x4b8082(0x299)]),this['_currentConnectionTarget']=null;let _0x436e02=this[_0x4b8082(0x223)][_0x4b8082(0x4e9)](),_0x11d1a8=_0x436e02[0x0],_0x48574f=_0x436e02[_0x436e02[_0x4b8082(0x45b)]-0x1],_0x52fe23=_0x378a1a?_0x1c81f2[_0x4b8082(0x4d5)](_0x48574f):_0x1c81f2[_0x4b8082(0x4d5)](_0x11d1a8);this['_cxtHandlerPointerMove']=_0x1bd32f[_0x4b8082(0x3af)][_0x4b8082(0x2f6)]((_0x547aa2,_0x4cff6f)=>{const _0x1b11cf=_0x4b8082;if(!this[_0x1b11cf(0x2f7)]||!this[_0x1b11cf(0x223)])return;this[_0x1b11cf(0x24a)]||=(this[_0x1b11cf(0x28d)]['clearAdjustControls'](),this[_0x1b11cf(0x223)]['clearAdjustValue'](),!0x0);let _0x2f12f4=this[_0x1b11cf(0x43c)](this[_0x1b11cf(0x35d)],this[_0x1b11cf(0x2cf)]),_0x4274f1=this[_0x1b11cf(0x570)](this[_0x1b11cf(0x35d)],this['_subUnitId']),_0x3adba6={'x':_0x547aa2[_0x1b11cf(0x3e5)]/_0x4274f1+_0x2f12f4['x'],'y':_0x547aa2[_0x1b11cf(0x23b)]/_0x4274f1+_0x2f12f4['y']},_0x44e8a9=this[_0x1b11cf(0x480)][_0x1b11cf(0x4b6)](_0x3adba6);if(_0x44e8a9){let {shapeId:_0x47c78c,unitId:_0x25477c,subUnitId:_0x4f55ed}=_0x44e8a9;if(_0x47c78c&&_0x25477c&&_0x4f55ed){let _0x13a959=(0x0,_0x15864b[_0x1b11cf(0x2df)])({'unitId':_0x25477c,'subUnitId':_0x4f55ed,'drawingId':_0x47c78c});_0x44e8a9[_0x1b11cf(0x36f)]=(_0x1bd32f[_0x1b11cf(0x1a7)](_0x13a959)[_0x1b11cf(0x36f)]||0x0)+_0x44e8a9[_0x1b11cf(0x36f)];}}this['_currentConnectionTarget']=_0x44e8a9;let _0x72c992=_0x378a1a?this['_activeShapeModel'][_0x1b11cf(0x504)]():this['_activeShapeModel'][_0x1b11cf(0x38b)]();if(_0x72c992){this[_0x1b11cf(0x448)](_0x72c992,_0x3adba6,_0x378a1a,_0x238050,_0x222fed);return;}this[_0x1b11cf(0x25f)](_0x3adba6,_0x52fe23,_0x378a1a,_0x238050,_0x222fed);}),this[_0x4b8082(0x2d1)]=_0x1bd32f[_0x4b8082(0x54b)]['subscribeEvent']((_0x5a2d9e,_0x5eb3c8)=>{const _0x5704be=_0x4b8082;this[_0x5704be(0x310)](_0x1bd32f,_0x52fe23,_0x5a2d9e,_0x378a1a,_0x530a61);}),_0x5d955e[_0x4b8082(0x49f)]();})));}[_0x13ba7a(0x32f)](_0x43e324,_0x41adc4,_0x283212){const _0x59fb17=_0x13ba7a;let _0x19bea4=this['_sheetsShapeService'][_0x59fb17(0x252)](_0x43e324,_0x41adc4,_0x283212);if(!_0x19bea4||_0x19bea4['length']===0x0)return;let _0x48557b=this[_0x59fb17(0x2e2)]['getRenderUnitById'](_0x43e324);if(!_0x48557b)return;let {scene:_0x29e49e}=_0x48557b;for(let _0x2db420 of _0x19bea4){let _0x9e2baf=_0x2db420['lineShapeId'],_0x35a33c=this[_0x59fb17(0x56c)][_0x59fb17(0x2f5)](_0x43e324,_0x41adc4,_0x9e2baf);if(!_0x35a33c)continue;let _0x44ecbb=_0x35a33c[_0x59fb17(0x38b)](),_0x2defff=_0x35a33c['getEndConnectInfo'](),_0x31c795=(_0x44ecbb==null?void 0x0:_0x44ecbb['shapeId'])===_0x283212,_0x96588=(0x0,_0x15864b[_0x59fb17(0x2df)])({'unitId':_0x43e324,'subUnitId':_0x41adc4,'drawingId':_0x9e2baf}),_0x164105=_0x29e49e[_0x59fb17(0x1a7)](_0x96588);if(!_0x164105)continue;let _0x5c82a6=this['_drawingManagerService'][_0x59fb17(0x3db)]({'unitId':_0x43e324,'subUnitId':_0x41adc4,'drawingId':_0x9e2baf});_0x5c82a6!=null&&_0x5c82a6[_0x59fb17(0x474)]&&(_0x44ecbb&&_0x2defff?this['_rerouteConnectorLine'](_0x43e324,_0x41adc4,_0x9e2baf,_0x35a33c,_0x44ecbb,_0x2defff,_0x164105):this[_0x59fb17(0x3b5)](_0x43e324,_0x41adc4,_0x9e2baf,_0x35a33c,_0x31c795?_0x44ecbb:_0x2defff,_0x31c795,_0x5c82a6,_0x164105));}}['_rerouteConnectorLine'](_0x678bbb,_0x58d71e,_0x1ffb1f,_0x4dd10a,_0x1a2e39,_0x19c07e,_0x1780a0){const _0x164b89=_0x13ba7a;let _0x36a788=this[_0x164b89(0x35d)],_0x1a6ed1=this[_0x164b89(0x2cf)];this['_unitId']=_0x678bbb,this[_0x164b89(0x2cf)]=_0x58d71e;let _0x1b60fb=this[_0x164b89(0x4dd)](_0x1a2e39),_0x3bddeb=this[_0x164b89(0x4dd)](_0x19c07e);if(this[_0x164b89(0x35d)]=_0x36a788,this[_0x164b89(0x2cf)]=_0x1a6ed1,!_0x1b60fb||!_0x3bddeb)return;let _0x2796e1=_0x4dd10a[_0x164b89(0x21e)](),_0x260ac9=(0x0,_0xd67e3f[_0x164b89(0x2b3)])(_0x1b60fb,_0x3bddeb,_0x2796e1);_0x260ac9&&_0x4dd10a[_0x164b89(0x2a3)](_0x260ac9);let _0x3aa8a6=(0x0,_0xd67e3f['computeConnectorRouteLayout'])(_0x260ac9,_0x2796e1);_0x3aa8a6[_0x164b89(0x407)]!==_0x2796e1&&_0x4dd10a['changeShapeType'](_0x3aa8a6[_0x164b89(0x407)]),_0x4dd10a[_0x164b89(0x4ba)]();for(let [_0x5a1911,_0x141d17]of Object['entries'](_0x3aa8a6[_0x164b89(0x4c3)]))_0x4dd10a[_0x164b89(0x476)](_0x5a1911,_0x141d17);_0x4dd10a['updateContext']({'width':_0x3aa8a6[_0x164b89(0x2cc)]['width'],'height':_0x3aa8a6[_0x164b89(0x2cc)][_0x164b89(0x2c5)]}),_0x1780a0['transformByState']({'flipX':_0x3aa8a6[_0x164b89(0x2cc)][_0x164b89(0x553)],'flipY':_0x3aa8a6[_0x164b89(0x2cc)][_0x164b89(0x3ec)],'left':_0x3aa8a6['worldRect'][_0x164b89(0x4f4)],'top':_0x3aa8a6[_0x164b89(0x2cc)][_0x164b89(0x1c8)],'width':_0x3aa8a6[_0x164b89(0x2cc)][_0x164b89(0x1dd)],'height':_0x3aa8a6[_0x164b89(0x2cc)][_0x164b89(0x2c5)],'angle':_0x3aa8a6[_0x164b89(0x53c)]}),_0x4dd10a[_0x164b89(0x405)]();}['_moveConnectorWithShape'](_0x3a43fc,_0x5b51cf,_0x4bc5b3,_0xd97d53,_0x51850a,_0x30354b,_0x7da453,_0x3125a5){const _0x3766b4=_0x13ba7a;let _0x435ca1=this[_0x3766b4(0x35d)],_0x2d9167=this['_subUnitId'];this[_0x3766b4(0x35d)]=_0x3a43fc,this[_0x3766b4(0x2cf)]=_0x5b51cf;let _0x3cd45e=this[_0x3766b4(0x4dd)](_0x51850a);if(this['_unitId']=_0x435ca1,this[_0x3766b4(0x2cf)]=_0x2d9167,!_0x3cd45e)return;let {left:_0x9f2d58=0x0,top:_0x46bff5=0x0,width:_0x279185=0x0,height:_0x4dabd1=0x0,flipX:_0xdcc769=!0x1,flipY:_0x54eba1=!0x1}=_0x7da453[_0x3766b4(0x474)],_0x2b045d=_0xd97d53[_0x3766b4(0x4e9)]();if(_0x2b045d[_0x3766b4(0x45b)]<0x2)return;let _0x55f78a=new _0xd67e3f[(_0x3766b4(0x1ee))]({'left':_0x9f2d58,'top':_0x46bff5,'width':_0x279185,'height':_0x4dabd1,'flipX':_0xdcc769,'flipY':_0x54eba1}),_0x13740d=_0x30354b?_0x2b045d[_0x2b045d[_0x3766b4(0x45b)]-0x1]:_0x2b045d[0x0],_0x564142=_0x55f78a[_0x3766b4(0x4d5)](_0x13740d),_0x22466f=_0xd67e3f[_0x3766b4(0x1ee)][_0x3766b4(0x47e)](_0x564142,_0x3cd45e[_0x3766b4(0x53b)],!_0x30354b);_0x3125a5['transformByState']({'flipX':_0x22466f[_0x3766b4(0x2cc)][_0x3766b4(0x553)],'flipY':_0x22466f[_0x3766b4(0x2cc)]['flipY'],'left':_0x22466f['worldRect']['left'],'top':_0x22466f['worldRect'][_0x3766b4(0x1c8)],'width':_0x22466f[_0x3766b4(0x2cc)][_0x3766b4(0x1dd)],'height':_0x22466f[_0x3766b4(0x2cc)][_0x3766b4(0x2c5)],'angle':_0x22466f['worldRect'][_0x3766b4(0x36f)]}),_0x3125a5[_0x3766b4(0x334)](!0x0);}[_0x13ba7a(0x4a6)](){const _0xf8c0e5=_0x13ba7a;this[_0xf8c0e5(0x47a)][_0xf8c0e5(0x45b)]!==0x0&&(this[_0xf8c0e5(0x47a)][_0xf8c0e5(0x34a)](_0xac7388=>{const _0x452c04=_0xf8c0e5;_0xac7388[_0x452c04(0x206)]();}),this['_connectorObjects']=[]);}[_0x13ba7a(0x36b)](){const _0x48299c=_0x13ba7a;let _0x405c5e=this[_0x48299c(0x583)][_0x48299c(0x3d3)](_0x10e5f9['UniverInstanceType']['UNIVER_SHEET']);this[_0x48299c(0x47f)](_0x405c5e[_0x48299c(0x560)]((0x0,_0x364ff4[_0x48299c(0x289)])(_0x1f6c9b=>_0x1f6c9b?_0x1f6c9b[_0x48299c(0x259)][_0x48299c(0x560)]((0x0,_0x364ff4['switchMap'])(_0x133845=>{const _0x1d9208=_0x48299c;if(!_0x133845)return _0x364ff4['EMPTY'];let _0x49291c=_0x1f6c9b[_0x1d9208(0x3ff)](),_0x55932c=this[_0x1d9208(0x2e2)][_0x1d9208(0x57f)](_0x49291c),_0x4a0eb7=_0x55932c==null?void 0x0:_0x55932c[_0x1d9208(0x2a7)];return _0x4a0eb7?(0x0,_0x364ff4['of'])(_0x4a0eb7):_0x364ff4['EMPTY'];})):_0x364ff4['EMPTY']))['subscribe'](_0x2a1505=>{const _0x5032c8=_0x48299c;let _0x34a938=_0x2a1505[_0x5032c8(0x22d)]();this['disposeWithMe'](_0x2a1505[_0x5032c8(0x3af)][_0x5032c8(0x2f6)](_0xcce5ee=>{const _0x4b353e=_0x5032c8;this['_isDrawingShapePointDown']&&this['_activeShapeId']&&this[_0x4b353e(0x4a6)]();})),this[_0x5032c8(0x47f)](_0x34a938[_0x5032c8(0x202)][_0x5032c8(0x358)](_0x4b64b9=>{const _0x576672=_0x5032c8;let {objects:_0x3a3fa4}=_0x4b64b9;this[_0x576672(0x4a6)](),_0x3a3fa4!==null&&_0x3a3fa4['size']===0x1&&_0x3a3fa4[_0x576672(0x1cb)]()[_0x576672(0x475)]()[_0x576672(0x472)]instanceof _0x402866&&(this['_isDrawingShapePointDown']=!0x0);})),this[_0x5032c8(0x47f)](_0x34a938[_0x5032c8(0x42f)][_0x5032c8(0x358)](_0x2c4c64=>{const _0x437c0e=_0x5032c8;this['_isDrawingShapePointDown']&&this[_0x437c0e(0x4a6)]();})),this[_0x5032c8(0x47f)](_0x2a1505[_0x5032c8(0x54b)][_0x5032c8(0x2f6)](()=>{const _0x2b2241=_0x5032c8;this[_0x2b2241(0x37d)]&&(this['_isDrawingShapePointDown']=!0x1,this[_0x2b2241(0x333)]());})),this[_0x5032c8(0x47f)](_0x34a938['changeEnd$'][_0x5032c8(0x358)](()=>{const _0x49e297=_0x5032c8;this[_0x49e297(0x35d)]&&this[_0x49e297(0x2cf)]&&this[_0x49e297(0x299)]&&this[_0x49e297(0x3c5)][_0x49e297(0x3db)]({'unitId':this[_0x49e297(0x35d)],'subUnitId':this[_0x49e297(0x2cf)],'drawingId':this['_activeShapeId']})&&(this[_0x49e297(0x4a6)](),this[_0x49e297(0x333)]());}));}));}[_0x13ba7a(0x1fe)](){const _0x522aff=_0x13ba7a;this[_0x522aff(0x47f)](this['_drawingManagerService']['focus$'][_0x522aff(0x358)](_0x377344=>{const _0x40c4dc=_0x522aff;if(_0x377344[_0x40c4dc(0x45b)]===0x1){let _0x1fa630=_0x377344[0x0];if(_0x1fa630[_0x40c4dc(0x52e)]===_0x10e5f9[_0x40c4dc(0x2e1)][_0x40c4dc(0x20d)]){let _0x274f62=this[_0x40c4dc(0x56c)][_0x40c4dc(0x2f5)](_0x1fa630[_0x40c4dc(0x26e)],_0x1fa630[_0x40c4dc(0x354)],_0x1fa630[_0x40c4dc(0x272)]);if(_0x274f62&&(0x0,_0xd67e3f[_0x40c4dc(0x36a)])(_0x274f62[_0x40c4dc(0x21e)]())){this[_0x40c4dc(0x299)]=_0x1fa630[_0x40c4dc(0x272)],this[_0x40c4dc(0x35d)]=_0x1fa630['unitId'],this[_0x40c4dc(0x2cf)]=_0x1fa630[_0x40c4dc(0x354)],this['_clearShapeConnectorHandlerObjects'](),this[_0x40c4dc(0x333)]();return;}}}this[_0x40c4dc(0x299)]=void 0x0,this[_0x40c4dc(0x35d)]=void 0x0,this['_subUnitId']=void 0x0,this[_0x40c4dc(0x4a6)]();})),this[_0x522aff(0x47f)](this[_0x522aff(0x3c5)][_0x522aff(0x28e)][_0x522aff(0x358)](_0x49197a=>{const _0x46e9c5=_0x522aff;if(_0x49197a[_0x46e9c5(0x45b)]===0x1){var _0x45f84c;let _0x2ebdec=_0x49197a[0x0],_0x9f3aa0=(_0x45f84c=this[_0x46e9c5(0x3c5)]['getDrawingByParam'](_0x2ebdec))==null?void 0x0:_0x45f84c['drawingType'];_0x9f3aa0===_0x10e5f9['DrawingTypeEnum']['DRAWING_SHAPE']&&_0x2ebdec[_0x46e9c5(0x272)]===this['_activeShapeId']?(this[_0x46e9c5(0x4a6)](),this[_0x46e9c5(0x333)]()):!this[_0x46e9c5(0x299)]&&_0x9f3aa0===_0x10e5f9[_0x46e9c5(0x2e1)][_0x46e9c5(0x20d)]&&this[_0x46e9c5(0x32f)](_0x2ebdec[_0x46e9c5(0x26e)],_0x2ebdec[_0x46e9c5(0x354)],_0x2ebdec[_0x46e9c5(0x272)]);}})),this[_0x522aff(0x47f)](this[_0x522aff(0x3c5)][_0x522aff(0x1f5)][_0x522aff(0x358)](_0x12c3ac=>{const _0x27fb9d=_0x522aff;for(let _0x1145df of _0x12c3ac){let {drawingId:_0xe7cab4}=_0x1145df;if(this[_0x27fb9d(0x299)]===_0xe7cab4){this[_0x27fb9d(0x2b0)]();return;}}}));}[_0x13ba7a(0x448)](_0x35c8f3,_0x1160d5,_0x5cf1ea,_0x30645c,_0x1854ec){const _0x2019f1=_0x13ba7a;var _0x47580a;if(!this[_0x2019f1(0x223)])return;let _0x24e645=this[_0x2019f1(0x4dd)](_0x35c8f3);if(!_0x24e645)return;let _0x415e82=this['_currentConnectionTarget']?this[_0x2019f1(0x1a8)][_0x2019f1(0x519)]:_0x1160d5,_0x3928fb=this['_currentConnectionTarget']?this[_0x2019f1(0x1a8)][_0x2019f1(0x36f)]:this[_0x2019f1(0x45e)](_0x24e645[_0x2019f1(0x53b)],_0x415e82),_0x592be2;if(this[_0x2019f1(0x1a8)]){let _0xb45142=this[_0x2019f1(0x3c5)][_0x2019f1(0x3db)]({'unitId':this[_0x2019f1(0x1a8)][_0x2019f1(0x26e)],'subUnitId':this[_0x2019f1(0x1a8)][_0x2019f1(0x354)],'drawingId':this[_0x2019f1(0x1a8)][_0x2019f1(0x42a)]});if(_0xb45142!=null&&_0xb45142['transform']){let {left:_0x18b9d8=0x0,top:_0x3b219b=0x0,width:_0x2eb70c=0x0,height:_0x5dd5cd=0x0,angle:_0x16db70}=_0xb45142[_0x2019f1(0x474)];_0x592be2=(0x0,_0xd67e3f[_0x2019f1(0x3a0)])({'left':_0x18b9d8,'top':_0x3b219b,'width':_0x2eb70c,'height':_0x5dd5cd},_0x16db70||0x0);}else _0x592be2={'left':_0x415e82['x'],'top':_0x415e82['y'],'width':0x0,'height':0x0};}else _0x592be2={'left':_0x415e82['x'],'top':_0x415e82['y'],'width':0x0,'height':0x0};let _0x165604={'point':_0x415e82,'angle':_0x3928fb,'bounds':_0x592be2},_0x112135=_0x5cf1ea?_0x165604:_0x24e645,_0x11dbf9=_0x5cf1ea?_0x24e645:_0x165604,_0x303e7d=this[_0x2019f1(0x223)]['getShapeType'](),_0x49e0ee=(0x0,_0xd67e3f[_0x2019f1(0x2b3)])(_0x112135,_0x11dbf9,_0x303e7d);_0x49e0ee&&this[_0x2019f1(0x223)][_0x2019f1(0x2a3)](_0x49e0ee);let _0x1f78a7=(0x0,_0xd67e3f[_0x2019f1(0x433)])(_0x49e0ee,_0x303e7d);_0x1f78a7[_0x2019f1(0x407)]!==_0x303e7d&&this['_activeShapeModel']['changeShapeType'](_0x1f78a7['lineType']);for(let [_0x6a0935,_0x59db7f]of Object[_0x2019f1(0x4d1)](_0x1f78a7[_0x2019f1(0x4c3)]))this[_0x2019f1(0x223)][_0x2019f1(0x476)](_0x6a0935,_0x59db7f);this[_0x2019f1(0x223)][_0x2019f1(0x523)]({'width':_0x1f78a7['worldRect'][_0x2019f1(0x1dd)],'height':_0x1f78a7[_0x2019f1(0x2cc)][_0x2019f1(0x2c5)]}),_0x30645c[_0x2019f1(0x3e2)]({'flipX':_0x1f78a7[_0x2019f1(0x2cc)][_0x2019f1(0x553)],'flipY':_0x1f78a7[_0x2019f1(0x2cc)]['flipY'],'left':_0x1f78a7[_0x2019f1(0x2cc)][_0x2019f1(0x4f4)],'top':_0x1f78a7[_0x2019f1(0x2cc)]['top'],'width':_0x1f78a7[_0x2019f1(0x2cc)][_0x2019f1(0x1dd)],'height':_0x1f78a7['worldRect'][_0x2019f1(0x2c5)],'angle':_0x1f78a7['rotation']}),_0x30645c[_0x2019f1(0x334)](!0x0);let _0x36c71a=((_0x47580a=this[_0x2019f1(0x1a8)])==null?void 0x0:_0x47580a[_0x2019f1(0x519)])??_0x1160d5;_0x1854ec['transformByState']({'left':_0x36c71a['x']-_0xd67e3f[_0x2019f1(0x225)]['cxnPointRadius'],'top':_0x36c71a['y']-_0xd67e3f[_0x2019f1(0x225)][_0x2019f1(0x290)]});}[_0x13ba7a(0x25f)](_0x369c0a,_0x5bf614,_0x216d70,_0x2aa011,_0x1c8847){const _0x45915f=_0x13ba7a;var _0x46616d,_0x37ae03;let _0x571a67=((_0x46616d=this[_0x45915f(0x1a8)])==null?void 0x0:_0x46616d['worldPoint'])??_0x369c0a,_0x6ec78d=_0xd67e3f[_0x45915f(0x1ee)][_0x45915f(0x47e)](_0x5bf614,_0x571a67,_0x216d70);_0x2aa011[_0x45915f(0x3e2)]({'flipX':_0x6ec78d[_0x45915f(0x2cc)][_0x45915f(0x553)],'flipY':_0x6ec78d[_0x45915f(0x2cc)]['flipY'],'left':_0x6ec78d[_0x45915f(0x2cc)][_0x45915f(0x4f4)],'top':_0x6ec78d[_0x45915f(0x2cc)]['top'],'width':_0x6ec78d['worldRect'][_0x45915f(0x1dd)],'height':_0x6ec78d[_0x45915f(0x2cc)][_0x45915f(0x2c5)],'angle':_0x6ec78d[_0x45915f(0x2cc)][_0x45915f(0x36f)]});let _0x42d368=((_0x37ae03=this['_currentConnectionTarget'])==null?void 0x0:_0x37ae03[_0x45915f(0x519)])??_0x369c0a;_0x1c8847['transformByState']({'left':_0x42d368['x']-_0xd67e3f[_0x45915f(0x225)][_0x45915f(0x290)],'top':_0x42d368['y']-_0xd67e3f[_0x45915f(0x225)][_0x45915f(0x290)]});}[_0x13ba7a(0x4dd)](_0x4b20aa){const _0x16c730=_0x13ba7a;if(!this[_0x16c730(0x35d)]||!this['_subUnitId'])return null;let {shapeId:_0x45276d,cxnIndex:_0x3e3c5f}=_0x4b20aa,_0x24c96f=this[_0x16c730(0x56c)][_0x16c730(0x2f5)](this[_0x16c730(0x35d)],this[_0x16c730(0x2cf)],_0x45276d);if(!_0x24c96f)return null;let _0x1a4079=this[_0x16c730(0x3c5)]['getDrawingByParam']({'unitId':this['_unitId'],'subUnitId':this[_0x16c730(0x2cf)],'drawingId':_0x45276d});if(!(_0x1a4079!=null&&_0x1a4079[_0x16c730(0x474)]))return null;let {left:_0x344994=0x0,top:_0x50d1a2=0x0,width:_0x424bb7=0x0,height:_0x162e21=0x0,flipX:_0x287f98=!0x1,flipY:_0x324c64=!0x1,angle:_0x10cce7}=_0x1a4079[_0x16c730(0x474)];_0x24c96f[_0x16c730(0x523)]({'width':_0x424bb7,'height':_0x162e21});let _0xef0462=_0x24c96f[_0x16c730(0x214)]()[_0x16c730(0x298)](_0x5088ba=>_0x5088ba[_0x16c730(0x58d)]===_0x3e3c5f);if(!_0xef0462)return null;let _0x714540=_0x287f98?_0x424bb7-_0xef0462['x']:_0xef0462['x'],_0x1823ff=_0x324c64?_0x162e21-_0xef0462['y']:_0xef0462['y'];if(_0x10cce7!==0x0&&_0x10cce7!=null){let _0x3dfc4a=_0x10cce7*Math['PI']/0xb4,_0x1f8fdf=Math[_0x16c730(0x2e0)](_0x3dfc4a),_0x3e21f5=Math[_0x16c730(0x515)](_0x3dfc4a),_0x3acc72=_0x424bb7/0x2,_0x4e1601=_0x162e21/0x2,_0x4262e5=_0x714540-_0x3acc72,_0x135b17=_0x1823ff-_0x4e1601;_0x714540=_0x3acc72+_0x4262e5*_0x1f8fdf-_0x135b17*_0x3e21f5,_0x1823ff=_0x4e1601+_0x4262e5*_0x3e21f5+_0x135b17*_0x1f8fdf;}_0x714540+=_0x344994,_0x1823ff+=_0x50d1a2;let _0x4df858=_0xef0462[_0x16c730(0x38f)]/0xea60;_0x287f98&&(_0x4df858=0xb4-_0x4df858),_0x324c64&&(_0x4df858=-_0x4df858),_0x4df858+=_0x10cce7||0x0,_0x4df858=(_0x4df858%0x168+0x168)%0x168;let _0x3b84a7=(0x0,_0xd67e3f[_0x16c730(0x3a0)])({'left':_0x344994,'top':_0x50d1a2,'width':_0x424bb7,'height':_0x162e21},_0x10cce7||0x0);return{'point':{'x':_0x714540,'y':_0x1823ff},'angle':_0x4df858,'bounds':_0x3b84a7};}[_0x13ba7a(0x45e)](_0x205749,_0x15d532){const _0x53e152=_0x13ba7a;let _0x215b93=_0x15d532['x']-_0x205749['x'],_0x17fa73=_0x15d532['y']-_0x205749['y'];return Math[_0x53e152(0x486)](_0x215b93)>=Math[_0x53e152(0x486)](_0x17fa73)?_0x215b93>=0x0?0xb4:0x0:_0x17fa73>=0x0?0x10e:0x5a;}[_0x13ba7a(0x2b0)](){const _0x3bc5fd=_0x13ba7a;this[_0x3bc5fd(0x299)]=void 0x0,this[_0x3bc5fd(0x35d)]=void 0x0,this[_0x3bc5fd(0x2cf)]=void 0x0,this[_0x3bc5fd(0x4a6)]();}['dispose'](){const _0x36b364=_0x13ba7a;this[_0x36b364(0x4a6)](),super[_0x36b364(0x206)]();}};_0x191a85=_0x12f75a([_0x174396(0x1,_0x10e5f9['ICommandService']),_0x174396(0x2,_0x3458ba[_0x13ba7a(0x2a5)]),_0x174396(0x3,_0x15864b[_0x13ba7a(0x4e8)]),_0x174396(0x4,_0x10e5f9[_0x13ba7a(0x41d)]),_0x174396(0x5,(0x0,_0x10e5f9['Inject'])(_0x2f2bb5[_0x13ba7a(0x4d3)])),_0x174396(0x6,(0x0,_0x10e5f9['Inject'])(_0x5507d6)),_0x174396(0x7,(0x0,_0x10e5f9['Inject'])(_0x4d5792))],_0x191a85);let _0x47c32c=class extends _0x10e5f9['Disposable']{constructor(_0xf59fcc,_0x2e9f63,_0x4e322c){const _0x38054b=_0x13ba7a;super(),this[_0x38054b(0x55b)]=_0xf59fcc,this[_0x38054b(0x3c5)]=_0x2e9f63,this[_0x38054b(0x256)]=_0x4e322c,this['_initPrinting']();}['_initPrinting'](){const _0x3b5dc8=_0x13ba7a;this[_0x3b5dc8(0x47f)](this['_sheetPrintInterceptorService'][_0x3b5dc8(0x20a)][_0x3b5dc8(0x37f)](this['_sheetPrintInterceptorService']['interceptor']['getInterceptPoints']()[_0x3b5dc8(0x374)],{'handler':(_0x204bc7,_0x2abb09,_0x5cd407)=>{const _0x58878b=_0x3b5dc8;var _0x3f4891;let {unitId:_0x4e4733,subUnitId:_0x5892eb,scene:_0x40c78d,resourceCollector:_0x151e1f}=_0x2abb09,_0x20f21e=(_0x3f4891=this[_0x58878b(0x3c5)]['getDrawingDataForUnit'](_0x4e4733))==null?void 0x0:_0x3f4891[_0x5892eb];return _0x20f21e==null||_0x20f21e[_0x58878b(0x54d)][_0x58878b(0x34a)](_0x219b47=>{const _0x37d154=_0x58878b;let _0x5ce144=_0x20f21e[_0x37d154(0x59a)][_0x219b47];_0x5ce144[_0x37d154(0x52e)]===_0x10e5f9[_0x37d154(0x2e1)][_0x37d154(0x20d)]&&!_0x5ce144['hidden']&&this[_0x37d154(0x256)][_0x37d154(0x4e7)](_0x5ce144,_0x40c78d,{'resourceCollector':_0x151e1f});}),_0x5cd407(_0x204bc7);}}));}};_0x47c32c=_0x12f75a([_0x174396(0x0,(0x0,_0x10e5f9['Inject'])(_0x189be3[_0x13ba7a(0x3d6)])),_0x174396(0x1,_0x15864b[_0x13ba7a(0x4e8)]),_0x174396(0x2,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x5191eb))],_0x47c32c);let _0x7c3790=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0x1b1978,_0x730f1b,_0x3d7450){const _0x5c2b56=_0x13ba7a;super(),this[_0x5c2b56(0x558)]=_0x1b1978,this['_localeService']=_0x730f1b,this[_0x5c2b56(0x536)]=_0x3d7450,this['_initPermission']();}[_0x13ba7a(0x55e)](){const _0x24c1c3=_0x13ba7a;this[_0x24c1c3(0x47f)](this[_0x24c1c3(0x558)][_0x24c1c3(0x510)](_0x11feff=>{const _0x205aa5=_0x24c1c3;let _0x1df1df,_0x15dd36;if(_0x11feff['id']===_0x2f2bb5['InsertShapeCommand']['id']||_0x11feff['id']===_0x2f2bb5[_0x205aa5(0x456)]['id']||_0x11feff['id']===_0x2f2bb5[_0x205aa5(0x295)]['id']){let _0x47ec92=_0x11feff[_0x205aa5(0x352)];_0x1df1df=_0x47ec92[_0x205aa5(0x26e)],_0x15dd36=_0x47ec92[_0x205aa5(0x354)];}_0x1df1df&&_0x15dd36&&(this[_0x205aa5(0x536)][_0x205aa5(0x466)]({'workbookTypes':[_0x32abfe[_0x205aa5(0x4f9)]],'worksheetTypes':[_0x32abfe[_0x205aa5(0x1f2)]]},_0x1df1df,_0x15dd36)||this['_sheetPermissionCheckController'][_0x205aa5(0x19e)](this[_0x205aa5(0x31e)]['t'](_0x205aa5(0x341))));}));}};_0x7c3790=_0x12f75a([_0x174396(0x0,(0x0,_0x10e5f9['Inject'])(_0x10e5f9[_0x13ba7a(0x297)])),_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x10e5f9[_0x13ba7a(0x482)])),_0x174396(0x2,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x32abfe[_0x13ba7a(0x513)]))],_0x7c3790);let _0x16741e=class{constructor(_0x148b81){const _0xaabb65=_0x13ba7a;this[_0xaabb65(0x2e2)]=_0x148b81;}['updateShapeFillImage'](_0x147b75,_0x200e40){const _0x577904=_0x13ba7a;let _0x5f790e=this[_0x577904(0x2e2)][_0x577904(0x57f)](_0x147b75['unitId']),_0x3f2e98=_0x5f790e==null?void 0x0:_0x5f790e['scene'];if(!_0x3f2e98)return;let _0x1ae5ba=(0x0,_0x15864b[_0x577904(0x2df)])(_0x147b75),_0x97db07=_0x3f2e98[_0x577904(0x1a7)](_0x1ae5ba);_0x97db07==null||_0x97db07[_0x577904(0x1ad)](_0x200e40);}};_0x16741e=_0x12f75a([_0x174396(0x0,_0x3458ba[_0x13ba7a(0x2a5)])],_0x16741e);let _0x39f9ab=class extends _0x10e5f9[_0x13ba7a(0x361)]{constructor(_0x27939a=_0x26e934,_0x169cd0,_0x4c52de,_0x38a2dd,_0x4ac962){const _0x5cc508=_0x13ba7a;super(),this[_0x5cc508(0x20f)]=_0x27939a,this[_0x5cc508(0x58c)]=_0x169cd0,this[_0x5cc508(0x558)]=_0x4c52de,this[_0x5cc508(0x1e9)]=_0x38a2dd,this[_0x5cc508(0x2e2)]=_0x4ac962;let {..._0x31dd29}=(0x0,_0x10e5f9[_0x5cc508(0x445)])({},_0x26e934,this['_config']);this[_0x5cc508(0x1e9)][_0x5cc508(0x3b3)](_0x56997c,_0x31dd29),this[_0x5cc508(0x4cb)]();}['onStarting'](){const _0x16294c=_0x13ba7a;this[_0x16294c(0x58c)][_0x16294c(0x278)]([_0x5debd6]),this['_injector'][_0x16294c(0x468)](_0x5debd6),(0x0,_0x10e5f9[_0x16294c(0x247)])(this[_0x16294c(0x58c)],[[_0x22d2ee],[_0x3fa9e3],[_0x5191eb],[_0x47c32c],[_0x16741e],[_0x17f3c3],[_0x570b9c],[_0x29f473],[_0x7c3790]]);}[_0x13ba7a(0x1b3)](){const _0x33afe5=_0x13ba7a;(0x0,_0x10e5f9[_0x33afe5(0x247)])(this['_injector'],[[_0x4d5792],[_0x5507d6],[_0x32e137]]),(0x0,_0x10e5f9[_0x33afe5(0x2d7)])(this[_0x33afe5(0x58c)],[[_0x32e137],[_0x5507d6]]),[[_0x4d5792],[_0x9f7a3e],[_0x191a85],[_0x1aee3a]][_0x33afe5(0x34a)](_0x540724=>{const _0x36b134=_0x33afe5;this[_0x36b134(0x47f)](this['_renderManagerService']['registerRenderModule'](_0x10e5f9[_0x36b134(0x503)][_0x36b134(0x450)],_0x540724));});}['onRendered'](){const _0x350f22=_0x13ba7a;(0x0,_0x10e5f9[_0x350f22(0x2d7)])(this[_0x350f22(0x58c)],[[_0x22d2ee],[_0x3fa9e3],[_0x5191eb],[_0x47c32c],[_0x16741e],[_0x17f3c3],[_0x570b9c],[_0x29f473],[_0x7c3790]]);}[_0x13ba7a(0x4ec)](){const _0x30c141=_0x13ba7a;this['_injector'][_0x30c141(0x468)](_0x22d2ee)['initShapePopupMenu']();}[_0x13ba7a(0x4cb)](){const _0x483b1e=_0x13ba7a;[_0x313c0d,_0x6c1302,_0x34de34,_0x1e868c][_0x483b1e(0x34a)](_0x35eb20=>this['disposeWithMe'](this[_0x483b1e(0x558)][_0x483b1e(0x424)](_0x35eb20)));}};_0x5ae661(_0x39f9ab,_0x13ba7a(0x38d),_0x10e5f9[_0x13ba7a(0x503)][_0x13ba7a(0x450)]),_0x5ae661(_0x39f9ab,_0x13ba7a(0x3a9),_0x13ba7a(0x49d)),_0x5ae661(_0x39f9ab,_0x13ba7a(0x51d),_0x3e9d67),_0x5ae661(_0x39f9ab,_0x13ba7a(0x33a),_0x4f17df),_0x39f9ab=_0x12f75a([(0x0,_0x10e5f9[_0x13ba7a(0x4d9)])(_0x53a89d['UniverLicensePlugin'],_0x1ac066['UniverDocsPlugin'],_0x15864b[_0x13ba7a(0x273)],_0x3458ba[_0x13ba7a(0x1e5)],_0x32abfe['UniverSheetsPlugin'],_0x31aefd[_0x13ba7a(0x2ad)],_0x40f1a1['UniverSheetsDrawingPlugin'],_0x1397ca[_0x13ba7a(0x1cd)],_0x3c03b9[_0x13ba7a(0x2d6)],_0x2f2bb5['UniverSheetsShapePlugin'],_0x189be3[_0x13ba7a(0x404)],_0xba932b[_0x13ba7a(0x29a)],_0x187e10['UniverMobileUIPlugin']),_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x10e5f9[_0x13ba7a(0x48e)])),_0x174396(0x2,_0x10e5f9[_0x13ba7a(0x297)]),_0x174396(0x3,_0x10e5f9['IConfigService']),_0x174396(0x4,_0x3458ba['IRenderManagerService'])],_0x39f9ab);let _0x53d33a={'type':_0x10e5f9[_0x13ba7a(0x56b)][_0x13ba7a(0x215)],'id':_0x13ba7a(0x3ee),'handler'(){return!0x0;}};function _0x10faf6(){const _0x42c372=_0x13ba7a;let _0x52f09c=(0x0,_0x187e10['useDependency'])(_0x15864b[_0x42c372(0x4e8)]),_0x286545=(0x0,_0x187e10[_0x42c372(0x364)])(()=>_0x52f09c[_0x42c372(0x332)],_0x52f09c[_0x42c372(0x1da)](),!0x1,[_0x52f09c]);return _0x286545[_0x42c372(0x45b)]===0x0?null:(0x0,_0x30a372[_0x42c372(0x357)])(_0x42c372(0x3a5),{'children':(0x0,_0x30a372[_0x42c372(0x1e7)])(_0x42c372(0x3a5),{'className':_0x42c372(0x439),'children':[(0x0,_0x30a372[_0x42c372(0x357)])(_0x2a7f32['DrawingCommonPanel'],{'drawings':_0x286545,'hasCropper':!0x1}),(0x0,_0x30a372[_0x42c372(0x357)])(_0x3c03b9[_0x42c372(0x48b)],{'drawings':_0x286545})]})});}function _0x1718cc(_0x3aedd3){const _0x12624e=_0x13ba7a;let {unitId:_0x354507,subUnitId:_0x5e1fdf,shapeId:_0x28c16a}=_0x3aedd3,_0x577a1c=(0x0,_0x187e10[_0x12624e(0x53e)])(_0x10e5f9[_0x12624e(0x297)]),_0x1833b3=(0x0,_0x187e10['useDependency'])(_0x16741e);return(0x0,_0x30a372['jsx'])(_0xba932b[_0x12624e(0x46c)],{..._0x3aedd3,'positionEditor':(0x0,_0x30a372['jsx'])(_0x10faf6,{}),'onUpdateShapeData':(_0x2d6756,_0x345a2f)=>{_0x2b1bec(_0x577a1c,_0x354507,_0x5e1fdf,_0x28c16a,_0x2d6756,_0x345a2f);},'onUpdateLineShapeData':(_0x4d0206,_0x282fb6)=>{_0x595a99(_0x577a1c,_0x354507,_0x5e1fdf,_0x28c16a,_0x4d0206,_0x282fb6);},'onUpdateShapeFillImage':_0x1452d2=>{const _0xcf110e=_0x12624e;_0x1833b3[_0xcf110e(0x4ea)]({'unitId':_0x354507,'subUnitId':_0x5e1fdf,'drawingId':_0x28c16a},_0x1452d2);}});}function _0x257027(_0x2cb9f1){const _0x74f15a=_0x13ba7a;let _0x28c2dd=(0x0,_0x187e10[_0x74f15a(0x53e)])(_0xba932b[_0x74f15a(0x1e2)]),_0x264c2e=(0x0,_0x187e10[_0x74f15a(0x364)])(()=>_0x28c2dd['visible$'],_0x28c2dd[_0x74f15a(0x322)](),!0x1,[_0x28c2dd]),_0x4a0b8e=_0x2cb9f1['popup'][_0x74f15a(0x40d)];return!_0x4a0b8e||!_0x264c2e?null:(0x0,_0x30a372[_0x74f15a(0x357)])(_0x454ad0,{..._0x4a0b8e,'canvasElement':_0x2cb9f1['popup']['canvasElement']});}function _0x454ad0(_0x22eff3){const _0x4a445a=_0x13ba7a;let _0x4fc2a5=(0x0,_0x187e10[_0x4a445a(0x53e)])(_0x10e5f9[_0x4a445a(0x297)]),_0x9d6e58=(0x0,_0x187e10['useDependency'])(_0x2f2bb5[_0x4a445a(0x4d3)]),{unitId:_0x42f57d,subUnitId:_0xfd7f76,drawingId:_0x3c11c0,drawingType:_0x21e228,shapeType:_0xa1a986}=_0x22eff3,[_0x5dd385,_0x781e74]=(0x0,_0x18bd90[_0x4a445a(0x1f9)])(_0x22eff3[_0x4a445a(0x429)]),_0x2ed0d1=(0x0,_0x18bd90['useMemo'])(()=>(0x0,_0xba932b[_0x4a445a(0x50a)])(_0x5dd385),[_0x5dd385]),_0x5dcf6c=(0x0,_0x18bd90[_0x4a445a(0x2a1)])(()=>(0x0,_0xba932b['getTextModel'])(_0x5dd385),[_0x5dd385]);(0x0,_0x18bd90[_0x4a445a(0x41e)])(()=>{const _0x300e27=_0x4a445a;let _0x4a4816=_0x4fc2a5[_0x300e27(0x1ac)](_0x202bc0=>{const _0x4f3031=_0x300e27;if(_0x202bc0['id']!==_0x2f2bb5[_0x4f3031(0x479)]['id'])return;let _0x304065=_0x9d6e58[_0x4f3031(0x204)](_0x42f57d,_0xfd7f76,_0x3c11c0);_0x304065&&_0x781e74(_0x304065);});return()=>_0x4a4816[_0x300e27(0x206)]();},[_0x4fc2a5,_0x3c11c0,_0x9d6e58,_0xfd7f76,_0x42f57d]);let _0x19594b=_0x433141=>{_0x781e74(_0x4df4db=>({..._0x4df4db,..._0x433141}));},_0x463127=_0x2c9771=>{const _0x3e48c9=_0x4a445a;let _0x4db731=(0x0,_0xba932b[_0x3e48c9(0x38c)])(_0x5dd385,_0x2c9771);_0x2b1bec(_0x4fc2a5,_0x42f57d,_0xfd7f76,_0x3c11c0,{'oldShapeData':{'shapeText':_0x5dd385[_0x3e48c9(0x342)]}},_0x4db731),_0x19594b(_0x4db731);},_0x30d053=(0x0,_0xba932b[_0x4a445a(0x585)])({'hostType':_0x10e5f9['UniverInstanceType'][_0x4a445a(0x450)],'unitId':_0x42f57d,'subUnitId':_0xfd7f76,'shapeId':_0x3c11c0,'shapeData':_0x5dd385,'onUpdateBinding':_0x1d4ac2=>{const _0x596e86=_0x4a445a;let _0x4ae9c5={'formulaBinding':_0x1d4ac2};_0x2b1bec(_0x4fc2a5,_0x42f57d,_0xfd7f76,_0x3c11c0,{'oldShapeData':{'formulaBinding':_0x5dd385[_0x596e86(0x1c2)]}},_0x4ae9c5),_0x19594b(_0x4ae9c5);}});return(0x0,_0x30a372['jsxs'])(_0x30a372[_0x4a445a(0x31d)],{'children':[(0x0,_0x30a372[_0x4a445a(0x357)])(_0xba932b[_0x4a445a(0x4b8)],{'canvasElement':_0x22eff3[_0x4a445a(0x3c2)],'shapeData':_0x5dd385,'shapeType':_0xa1a986,'textStyle':{'ff':_0xd67e3f['ShapeDefaultConfig'][_0x4a445a(0x342)]['fontFamily'],'fs':_0xd67e3f['ShapeDefaultConfig']['shapeText'][_0x4a445a(0x250)],'cl':{'rgb':_0xd67e3f[_0x4a445a(0x225)]['shapeText']['color']},..._0x2ed0d1},'textModel':_0x5dcf6c?{'ha':_0x5dcf6c['ha']??_0x10e5f9[_0x4a445a(0x3df)][_0x4a445a(0x353)],'va':_0x5dcf6c['va']??_0x10e5f9[_0x4a445a(0x48c)][_0x4a445a(0x43d)]}:null,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0xd67e3f[_0x4a445a(0x225)]['fill'],'defaultGradientEndColor':_0xd67e3f[_0x4a445a(0x225)][_0x4a445a(0x2b9)],'defaultStrokeColor':_0xd67e3f[_0x4a445a(0x225)][_0x4a445a(0x24f)],'extensionGroups':_0x30d053[_0x4a445a(0x505)],'floatingObjectToolbarPosition':_0x187e10['FloatingObjectToolbarPosition']['SHEET'],'onUpdateShapeData':(_0x2ec1eb,_0x5abc5d)=>{_0x2b1bec(_0x4fc2a5,_0x42f57d,_0xfd7f76,_0x3c11c0,_0x2ec1eb,_0x5abc5d),_0x5abc5d&&_0x19594b(_0x5abc5d);},'onUpdateText':_0x463127,'onOpenPanel':()=>{const _0xece09d=_0x4a445a;_0x4fc2a5[_0xece09d(0x274)](_0x47ad5b['id'],{'unitId':_0x42f57d,'subUnitId':_0xfd7f76,'drawingId':_0x3c11c0});},'onDelete':()=>{const _0x45c4b5=_0x4a445a;_0x4fc2a5[_0x45c4b5(0x274)](_0x40f1a1[_0x45c4b5(0x460)]['id'],{'unitId':_0x42f57d,'drawings':[{'unitId':_0x42f57d,'subUnitId':_0xfd7f76,'drawingId':_0x3c11c0,'drawingType':_0x21e228}]});}}),_0x30d053['panel']]});}function _0x4421c9(_0x3ae445){const _0x50fdf1=_0x13ba7a;return!!_0x3ae445&&_0x50fdf1(0x331)in _0x3ae445&&_0x50fdf1(0x2ea)in _0x3ae445;}let _0x576a99=(0x0,_0x18bd90[_0x13ba7a(0x3d5)])(()=>{const _0x46f8e6=_0x13ba7a;let _0x1d0021=(0x0,_0x187e10[_0x46f8e6(0x53e)])(_0x17f3c3),_0x39e504=(0x0,_0x187e10[_0x46f8e6(0x53e)])(_0x2f2bb5[_0x46f8e6(0x4d3)]),_0x363233=(0x0,_0x187e10[_0x46f8e6(0x53e)])(_0x15864b['IDrawingManagerService']),_0x9e59ef=(0x0,_0x187e10[_0x46f8e6(0x53e)])(_0x10e5f9[_0x46f8e6(0x297)]),_0x28d63e=(0x0,_0x187e10['useDependency'])(_0x187e10[_0x46f8e6(0x377)]),_0x2b7674=(0x0,_0x187e10['useDependency'])(_0x3458ba[_0x46f8e6(0x2a5)]),_0x25c7a4=(0x0,_0x18bd90['useMemo'])(()=>({'getShapeModel':(_0x5beae8,_0x297bc3,_0x4f059d)=>_0x39e504[_0x46f8e6(0x2f5)](_0x5beae8,_0x297bc3,_0x4f059d),'getShapeData':(_0x55d019,_0xe82ffb,_0x4565db)=>_0x39e504['getShapeDataById'](_0x55d019,_0xe82ffb,_0x4565db),'getDrawingTransform':(_0x59a7a9,_0x30e6e8,_0x2654c7)=>{const _0x1d7819=_0x46f8e6;let _0x5a53aa=_0x363233['getDrawingByParam']({'unitId':_0x59a7a9,'subUnitId':_0x30e6e8,'drawingId':_0x2654c7});return _0x5a53aa==null?void 0x0:_0x5a53aa[_0x1d7819(0x474)];},'updateShapeText':({unitId:_0x7fa5d2,subUnitId:_0x34b23a,shapeId:_0x865b71,shapeText:_0x368bf9,oldShapeText:_0x5e9633,hostSize:_0x37d8bf})=>{const _0x3019a9=_0x46f8e6;_0x28d63e[_0x3019a9(0x29b)](_0x7fa5d2,()=>{const _0x4e66da=_0x3019a9;var _0x2f3003;let _0x4e8bfd=_0x9e59ef[_0x4e66da(0x1f8)](_0x6c1302['id'],{'unitId':_0x7fa5d2,'subUnitId':_0x34b23a,'shapeId':_0x865b71,'shapeData':{'shapeText':_0x368bf9},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x5e9633}}});if(!_0x4e8bfd||!_0x37d8bf)return _0x4e8bfd;let _0x50d726=_0x363233[_0x4e66da(0x3db)]({'unitId':_0x7fa5d2,'subUnitId':_0x34b23a,'drawingId':_0x865b71}),_0x566cb9=_0x50d726==null?void 0x0:_0x50d726[_0x4e66da(0x474)];if(!_0x4421c9(_0x50d726)||!_0x566cb9)return!0x1;let _0x1bc8ec={..._0x566cb9,'width':_0x37d8bf[_0x4e66da(0x1dd)],'height':_0x37d8bf['height']},_0x4fb722=(_0x2f3003=_0x2b7674['getRenderUnitById'](_0x7fa5d2))==null||(_0x2f3003=_0x2f3003['with'](_0x189be3[_0x4e66da(0x277)])[_0x4e66da(0x393)](_0x34b23a))==null?void 0x0:_0x2f3003[_0x4e66da(0x402)];return _0x9e59ef[_0x4e66da(0x1f8)](_0x40f1a1[_0x4e66da(0x26f)]['id'],{'unitId':_0x7fa5d2,'drawings':[{..._0x50d726,'transform':_0x1bc8ec,'sheetTransform':_0x4fb722?(0x0,_0x40f1a1[_0x4e66da(0x307)])(_0x1bc8ec,_0x4fb722)??_0x50d726[_0x4e66da(0x2ea)]:_0x50d726[_0x4e66da(0x2ea)],'axisAlignSheetTransform':_0x4fb722?(0x0,_0x40f1a1[_0x4e66da(0x25d)])(_0x1bc8ec,_0x4fb722)??_0x50d726['axisAlignSheetTransform']:_0x50d726[_0x4e66da(0x331)]}]});});},'updateHostSize':({unitId:_0x11c3c0,subUnitId:_0x494551,shapeId:_0x4b0daa,width:_0x4341a8,height:_0x1717c0})=>{const _0x2fdcbf=_0x46f8e6;var _0x5164f1;let _0x3f6ac2=_0x363233[_0x2fdcbf(0x3db)]({'unitId':_0x11c3c0,'subUnitId':_0x494551,'drawingId':_0x4b0daa}),_0x5e72bd=_0x3f6ac2==null?void 0x0:_0x3f6ac2[_0x2fdcbf(0x474)];if(!_0x4421c9(_0x3f6ac2)||!_0x5e72bd)return;let _0x25f1cd={..._0x5e72bd,'width':_0x4341a8,'height':_0x1717c0},_0x15d6a9=(_0x5164f1=_0x2b7674[_0x2fdcbf(0x57f)](_0x11c3c0))==null||(_0x5164f1=_0x5164f1[_0x2fdcbf(0x39e)](_0x189be3[_0x2fdcbf(0x277)])[_0x2fdcbf(0x393)](_0x494551))==null?void 0x0:_0x5164f1[_0x2fdcbf(0x402)],_0x2ee1f6=_0x15d6a9?(0x0,_0x40f1a1[_0x2fdcbf(0x307)])(_0x25f1cd,_0x15d6a9)??_0x3f6ac2[_0x2fdcbf(0x2ea)]:_0x3f6ac2[_0x2fdcbf(0x2ea)],_0x5e51e9=_0x15d6a9?(0x0,_0x40f1a1[_0x2fdcbf(0x25d)])(_0x25f1cd,_0x15d6a9)??_0x3f6ac2[_0x2fdcbf(0x331)]:_0x3f6ac2[_0x2fdcbf(0x331)];_0x9e59ef[_0x2fdcbf(0x274)](_0x40f1a1[_0x2fdcbf(0x26f)]['id'],{'unitId':_0x11c3c0,'drawings':[{..._0x3f6ac2,'transform':_0x25f1cd,'sheetTransform':_0x2ee1f6,'axisAlignSheetTransform':_0x5e51e9}]});},'allowHostSizeShrink':({unitId:_0x119a77,subUnitId:_0x33c2f4,shapeId:_0x15811b})=>(0x0,_0xba932b[_0x46f8e6(0x562)])(_0x39e504[_0x46f8e6(0x204)](_0x119a77,_0x33c2f4,_0x15811b)),'deferHostSizeUpdateDuringEditing':()=>!0x0}),[_0x9e59ef,_0x363233,_0x2b7674,_0x39e504,_0x28d63e]),_0x10ec4f=(0x0,_0x18bd90[_0x46f8e6(0x2a1)])(()=>({'viewportKeys':{'main':_0x3458ba[_0x46f8e6(0x26c)][_0x46f8e6(0x376)],'leftTop':_0x3458ba[_0x46f8e6(0x26c)][_0x46f8e6(0x54e)],'top':_0x3458ba['SHEET_VIEWPORT_KEY'][_0x46f8e6(0x2a2)],'left':_0x3458ba[_0x46f8e6(0x26c)][_0x46f8e6(0x231)]},'getSkeleton':(_0x183588,_0x431ce1)=>{const _0x2a2519=_0x46f8e6;var _0x188226;return((_0x188226=_0x183588['with'](_0x189be3[_0x2a2519(0x277)])[_0x2a2519(0x393)](_0x431ce1[_0x2a2519(0x354)]))==null?void 0x0:_0x188226[_0x2a2519(0x402)])??null;}}),[]);return(0x0,_0x30a372[_0x46f8e6(0x357)])(_0xba932b['ShapeTextEditorContainer'],{'adapter':_0x25c7a4,'editingService':_0x1d0021,'editorUnitId':_0x28b28e,'positionOptions':_0x10ec4f});}),_0xd91588=class extends _0x10e5f9['Disposable']{constructor(_0x3ffd41,_0x48cc66){const _0x335d9=_0x13ba7a;super(),this[_0x335d9(0x23e)]=_0x3ffd41,this[_0x335d9(0x378)]=_0x48cc66,this['_registerIcons'](),this[_0x335d9(0x555)]();}[_0x13ba7a(0x50b)](){const _0x179942=_0x13ba7a;this[_0x179942(0x378)][_0x179942(0x1d7)](_0x179942(0x2e9))||this[_0x179942(0x47f)](this[_0x179942(0x378)][_0x179942(0x529)]({'ObjectLayersIcon':_0x4e302b})),this[_0x179942(0x378)]['has']('FlipHorizontalIcon')||this['disposeWithMe'](this[_0x179942(0x378)]['register']({'FlipHorizontalIcon':_0x20e04e})),this[_0x179942(0x378)]['has'](_0x179942(0x431))||this[_0x179942(0x47f)](this[_0x179942(0x378)]['register']({'FlipVerticalIcon':_0x5b520d})),this[_0x179942(0x378)][_0x179942(0x1d7)](_0x179942(0x350))||this[_0x179942(0x47f)](this[_0x179942(0x378)][_0x179942(0x529)]({'BottomIcon':_0x414477})),this[_0x179942(0x378)]['has']('MoveDownIcon')||this['disposeWithMe'](this['_iconManager']['register']({'MoveDownIcon':_0x561e77})),this['_iconManager']['has']('MoveUpIcon')||this[_0x179942(0x47f)](this[_0x179942(0x378)][_0x179942(0x529)]({'MoveUpIcon':_0x37f265})),this[_0x179942(0x378)][_0x179942(0x1d7)]('ShapeFormatSettingIcon')||this[_0x179942(0x47f)](this['_iconManager'][_0x179942(0x529)]({'ShapeFormatSettingIcon':_0x2534bb})),this[_0x179942(0x378)][_0x179942(0x1d7)](_0x179942(0x51f))||this[_0x179942(0x47f)](this[_0x179942(0x378)][_0x179942(0x529)]({'TopmostIcon':_0x209146}));}[_0x13ba7a(0x555)](){const _0x1335b6=_0x13ba7a;this[_0x1335b6(0x47f)](this[_0x1335b6(0x23e)][_0x1335b6(0x529)](_0x6fddbc,_0x1718cc)),this['disposeWithMe'](this['_componentManager']['register'](_0x4dafcd,_0x339519)),this[_0x1335b6(0x47f)](this[_0x1335b6(0x23e)]['register'](_0xb1d681,_0x3f0386)),this[_0x1335b6(0x47f)](this['_componentManager'][_0x1335b6(0x529)](_0x993061,_0x544130)),this[_0x1335b6(0x23e)][_0x1335b6(0x27b)](_0x2a7f32['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'])||this[_0x1335b6(0x47f)](this[_0x1335b6(0x23e)][_0x1335b6(0x529)](_0x2a7f32[_0x1335b6(0x303)],_0x88ad35)),this[_0x1335b6(0x47f)](this[_0x1335b6(0x23e)]['register'](_0x42484a,_0x257027)),this[_0x1335b6(0x47f)](this[_0x1335b6(0x23e)][_0x1335b6(0x529)](_0x5c3e05,_0x1024f0)),this['disposeWithMe'](this[_0x1335b6(0x23e)][_0x1335b6(0x529)](_0x3084b1,_0x23f7be)),this['disposeWithMe'](this['_componentManager'][_0x1335b6(0x529)](_0x41bd5b,_0x3e9412)),this[_0x1335b6(0x47f)](this['_componentManager'][_0x1335b6(0x529)](_0x26103a,_0x184a26)),this[_0x1335b6(0x47f)](this['_componentManager'][_0x1335b6(0x529)](_0x41bb10,_0xba932b[_0x1335b6(0x410)])),this[_0x1335b6(0x47f)](this['_componentManager']['register'](_0x1335b6(0x521),_0x576a99));}};_0xd91588=_0x12f75a([_0x174396(0x0,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x187e10[_0x13ba7a(0x2c3)])),_0x174396(0x1,(0x0,_0x10e5f9['Inject'])(_0x187e10[_0x13ba7a(0x327)]))],_0xd91588);let _0x2eec39=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0x12a005,_0x16859d,_0x4eeb6d,_0x279e0d,_0x4337ff,_0xcc5dcb,_0x55602d,_0xba1425,_0x2c6430){const _0x3bc3e3=_0x13ba7a;super();let _0x535fa8=_0x5d1644=>{const _0x4427c5=_0x2e4e;var _0x31cf7c,_0x21db03;return(((_0x31cf7c=_0xba1425['getPermissionPoint'](new _0x32abfe[(_0x4427c5(0x4f9))](_0x5d1644[_0x4427c5(0x26e)])['id']))==null?void 0x0:_0x31cf7c['value'])??!0x0)&&(((_0x21db03=_0xba1425['getPermissionPoint'](new _0x32abfe[(_0x4427c5(0x1f2))](_0x5d1644[_0x4427c5(0x26e)],_0x5d1644['subUnitId'])['id']))==null?void 0x0:_0x21db03['value'])??!0x0);},_0x861c43=_0x1274fc=>_0x1274fc['shapeId']&&_0x535fa8(_0x1274fc)?_0x4eeb6d[_0x3bc3e3(0x204)](_0x1274fc['unitId'],_0x1274fc[_0x3bc3e3(0x354)],_0x1274fc['shapeId'])??null:null,_0x2358e5=()=>{const _0x100b44=_0x3bc3e3;let _0x356298=_0x4337ff['getFocusDrawings'](),_0x352587=_0x356298[_0x100b44(0x45b)]===0x1?_0x356298[0x0]:null;return(_0x352587==null?void 0x0:_0x352587[_0x100b44(0x52e)])===_0x10e5f9[_0x100b44(0x2e1)]['DRAWING_SHAPE']&&_0x352587['unitId']===_0x12a005[_0x100b44(0x26e)]?{'unitId':_0x352587['unitId'],'subUnitId':_0x352587['subUnitId'],'shapeId':_0x352587['drawingId']}:null;};this[_0x3bc3e3(0x47f)]((0x0,_0xba932b[_0x3bc3e3(0x565)])(_0x12a005,_0x16859d,{'changes$':(0x0,_0x364ff4['merge'])(_0x4337ff[_0x3bc3e3(0x332)],_0x279e0d['editingParams$'],_0xba1425[_0x3bc3e3(0x541)]),'isActive':()=>{const _0x380696=_0x3bc3e3;var _0x3f401e;return((_0x3f401e=_0xcc5dcb[_0x380696(0x2bc)]())==null?void 0x0:_0x3f401e[_0x380696(0x3ff)]())===_0x12a005[_0x380696(0x26e)]&&!_0x55602d[_0x380696(0x587)](_0x10e5f9['FOCUSING_SHAPE_TEXT_EDITOR'])&&_0x4337ff[_0x380696(0x1da)]()[_0x380696(0x301)](_0x1c939c=>_0x1c939c[_0x380696(0x26e)]===_0x12a005[_0x380696(0x26e)]);},'getSelectedTarget':_0x2358e5,'getSource':()=>{let _0x35b1ee=_0x2358e5();return _0x35b1ee?_0x861c43(_0x35b1ee):null;},'getTarget':_0xd908c5=>{const _0x209da0=_0x3bc3e3;let _0x1e64e8=_0x12a005['scene'][_0x209da0(0x3c0)](new _0x3458ba['Vector2'](_0xd908c5['offsetX'],_0xd908c5[_0x209da0(0x23b)]));if(!(_0x1e64e8 instanceof _0x402866))return null;let _0x3ee63e={'unitId':_0x12a005[_0x209da0(0x26e)],'subUnitId':_0x1e64e8[_0x209da0(0x354)],'shapeId':_0x1e64e8['shapeId']};return _0x535fa8(_0x3ee63e)?_0x3ee63e:null;},'getShape':_0x861c43,'update':(_0x53c280,_0x5b2d2b,_0x58f1ec)=>_0x2c6430['executeCommand'](_0x6c1302['id'],{..._0x53c280,'shapeData':_0x58f1ec,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x5b2d2b}})}));}};_0x2eec39=_0x12f75a([_0x174396(0x1,(0x0,_0x10e5f9['Inject'])(_0x187e10[_0x13ba7a(0x45a)])),_0x174396(0x2,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x2f2bb5[_0x13ba7a(0x4d3)])),_0x174396(0x3,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x17f3c3)),_0x174396(0x4,_0x15864b['IDrawingManagerService']),_0x174396(0x5,_0x10e5f9['IUniverInstanceService']),_0x174396(0x6,_0x10e5f9['IContextService']),_0x174396(0x7,_0x10e5f9[_0x13ba7a(0x509)]),_0x174396(0x8,_0x10e5f9[_0x13ba7a(0x297)])],_0x2eec39);let _0x44ebdd=_0x13ba7a(0x34d),_0x1aaf55=class extends _0x10e5f9['Disposable']{constructor(_0x4a89c0,_0x3f6df5,_0x310aa4,_0x512a7c,_0x3d4941,_0x5d8252){const _0xc0328b=_0x13ba7a;super(),this[_0xc0328b(0x52d)]=_0x4a89c0,this[_0xc0328b(0x473)]=_0x3f6df5,this[_0xc0328b(0x3c5)]=_0x310aa4,this[_0xc0328b(0x583)]=_0x512a7c,this[_0xc0328b(0x2e2)]=_0x3d4941,this['_shapeFloatingToolbarService']=_0x5d8252,_0x5ae661(this,_0xc0328b(0x3b7),!0x1),this[_0xc0328b(0x52d)][_0xc0328b(0x1d8)](_0x136219),this['disposeWithMe']((0x0,_0x10e5f9['toDisposable'])(this[_0xc0328b(0x3c5)][_0xc0328b(0x332)]['subscribe'](()=>this[_0xc0328b(0x1db)]()))),this[_0xc0328b(0x1db)]();}[_0x13ba7a(0x206)](){const _0x55e246=_0x13ba7a;this['_shapeFloatingToolbarService'][_0x55e246(0x1ec)](!0x1,_0x44ebdd),this[_0x55e246(0x2f0)](),super['dispose']();}[_0x13ba7a(0x1db)](){const _0x488eb8=_0x13ba7a;var _0x344c02;let _0xaf6a54=this[_0x488eb8(0x3c5)][_0x488eb8(0x1da)](),_0x22f60c=_0xaf6a54[_0x488eb8(0x45b)]===0x1?_0xaf6a54[0x0]:void 0x0;if((_0x22f60c==null?void 0x0:_0x22f60c['drawingType'])!==_0x10e5f9[_0x488eb8(0x2e1)]['DRAWING_SHAPE']||this[_0x488eb8(0x583)]['getUnitType'](_0x22f60c[_0x488eb8(0x26e)])!==_0x10e5f9['UniverInstanceType'][_0x488eb8(0x450)]){this[_0x488eb8(0x593)][_0x488eb8(0x1ec)](!0x1,_0x44ebdd),this[_0x488eb8(0x2f0)]();return;}let _0x4e5742=(_0x344c02=this[_0x488eb8(0x2e2)]['getRenderUnitById'](_0x22f60c[_0x488eb8(0x26e)]))==null?void 0x0:_0x344c02[_0x488eb8(0x590)][_0x488eb8(0x423)](),_0x33f5c9=(0x0,_0xba932b[_0x488eb8(0x53d)])(_0x4e5742)===_0x488eb8(0x4de);if(this[_0x488eb8(0x593)][_0x488eb8(0x1ec)](_0x33f5c9,_0x44ebdd),_0x33f5c9){this[_0x488eb8(0x2f0)]();return;}this[_0x488eb8(0x3b7)]||(this[_0x488eb8(0x3b7)]=!0x0,this[_0x488eb8(0x473)][_0x488eb8(0x46a)](_0x523b08,{'activate':!0x0}));}[_0x13ba7a(0x2f0)](){const _0x42ad6b=_0x13ba7a;this[_0x42ad6b(0x3b7)]&&(this[_0x42ad6b(0x3b7)]=!0x1,this['_ribbonService'][_0x42ad6b(0x3a1)](_0x523b08),this[_0x42ad6b(0x473)]['setCollapsedIds']([]));}};_0x1aaf55=_0x12f75a([_0x174396(0x0,_0x187e10[_0x13ba7a(0x4b0)]),_0x174396(0x1,_0x187e10['IRibbonService']),_0x174396(0x2,_0x15864b[_0x13ba7a(0x4e8)]),_0x174396(0x3,_0x10e5f9[_0x13ba7a(0x41d)]),_0x174396(0x4,_0x3458ba[_0x13ba7a(0x2a5)]),_0x174396(0x5,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0xba932b[_0x13ba7a(0x1e2)]))],_0x1aaf55);let _0x402c67=class extends _0xba932b['ShapeTextFloatMenuRenderControllerBase']{constructor(_0x1ea29f,_0x265df4,_0x57c013,_0x184e0e,_0x4e9b79,_0x4528c4,_0x172a6d,_0x1b6690,_0x297d58,_0x4ff6b3){super(_0x1ea29f,_0x265df4,_0x57c013,_0x184e0e,_0x4e9b79,_0x4528c4,_0x172a6d,_0x1b6690,_0x297d58,_0x4ff6b3,{'componentKey':_0x41bb10,'editorUnitId':_0x28b28e});}};_0x402c67=_0x12f75a([_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x1ac066[_0x13ba7a(0x49b)])),_0x174396(0x2,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x31aefd[_0x13ba7a(0x414)])),_0x174396(0x3,(0x0,_0x10e5f9['Inject'])(_0x31aefd[_0x13ba7a(0x4ff)])),_0x174396(0x4,_0x10e5f9['ICommandService']),_0x174396(0x5,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x31aefd['DocEventManagerService'])),_0x174396(0x6,(0x0,_0x10e5f9['Inject'])(_0xba932b['ShapeTextHyperLinkPopupService'])),_0x174396(0x7,(0x0,_0x10e5f9['Inject'])(_0x1ac066[_0x13ba7a(0x595)])),_0x174396(0x8,(0x0,_0x10e5f9['Inject'])(_0x31aefd[_0x13ba7a(0x4b1)])),_0x174396(0x9,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x17f3c3))],_0x402c67);let _0x110f72=class extends _0xba932b[_0x13ba7a(0x367)]{constructor(_0x41adc9,_0x206baa,_0x412ee7,_0x4d3500,_0x422eb1){const _0x16b7a3=_0x13ba7a;super(_0x41adc9,_0x206baa,{'editing$':_0x412ee7[_0x16b7a3(0x4c6)],'resolve':_0x20bee6=>{const _0x9978b0=_0x16b7a3;var _0x226c3a,_0x270461,_0x57fb99;let _0x3ad835=new _0x3458ba[(_0x9978b0(0x265))](_0x20bee6['offsetX'],_0x20bee6[_0x9978b0(0x23b)]),_0x3bea75=((_0x226c3a=_0x41adc9[_0x9978b0(0x2a7)]['getActiveViewportByCoord'](_0x3ad835))==null?void 0x0:_0x226c3a[_0x9978b0(0x514)](_0x3ad835))??_0x3ad835,_0x3115b4=(0x0,_0xba932b[_0x9978b0(0x428)])(_0x41adc9[_0x9978b0(0x2a7)][_0x9978b0(0x3c0)](_0x3ad835)??null,_0x3bea75);if(!(_0x3115b4 instanceof _0x402866))return null;let _0x4f2c6b=_0x3115b4[_0x9978b0(0x3b4)](_0x3bea75);if(!_0x4f2c6b)return null;let _0x1ee218=_0x3115b4,_0x2d29a2={'componentKey':_0xba932b[_0x9978b0(0x44a)]['componentKey'],'direction':_0x9978b0(0x42d),'offset':[0x0,0xa],'onClickOutside':()=>_0x206baa['hideInfoPopup']()};return{'object':_0x3115b4,'info':{..._0x4f2c6b,'unitId':_0x3115b4[_0x9978b0(0x26e)],'subUnitId':_0x3115b4[_0x9978b0(0x354)],'shapeKey':_0x3115b4['oKey'],'readonly':!0x0,'copyable':((_0x270461=_0x422eb1[_0x9978b0(0x3da)](new _0x32abfe[(_0x9978b0(0x1be))](_0x3115b4[_0x9978b0(0x26e)])['id']))==null?void 0x0:_0x270461[_0x9978b0(0x472)])!==!0x1&&((_0x57fb99=_0x422eb1[_0x9978b0(0x3da)](new _0x32abfe[(_0x9978b0(0x44e))](_0x3115b4[_0x9978b0(0x26e)],_0x3115b4['subUnitId'])['id']))==null?void 0x0:_0x57fb99[_0x9978b0(0x472)])!==!0x1},'attachPopup':()=>_0x4d3500['attachPopupToObject'](_0x1ee218,_0x2d29a2)};}}),this['disposeWithMe'](_0x41adc9[_0x16b7a3(0x52f)][_0x16b7a3(0x259)][_0x16b7a3(0x358)](()=>this['clear']()));}};_0x110f72=_0x12f75a([_0x174396(0x1,(0x0,_0x10e5f9['Inject'])(_0xba932b[_0x13ba7a(0x28b)])),_0x174396(0x2,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x17f3c3)),_0x174396(0x3,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x189be3['SheetCanvasPopManagerService'])),_0x174396(0x4,_0x10e5f9[_0x13ba7a(0x509)])],_0x110f72);let _0x1bb23d=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0x138e53,_0xdd13bc,_0x4ec6a9,_0x162e8c,_0x58a2e9,_0x6fab,_0xefc4,_0x13beb2,_0x257cb2,_0x42e666,_0x1f5774){const _0x3e9be6=_0x13ba7a;super(),this[_0x3e9be6(0x583)]=_0x138e53,this['_sidebarService']=_0xdd13bc,this[_0x3e9be6(0x52d)]=_0x4ec6a9,this[_0x3e9be6(0x56c)]=_0x162e8c,this[_0x3e9be6(0x31e)]=_0x58a2e9,this[_0x3e9be6(0x558)]=_0x6fab,this[_0x3e9be6(0x3c5)]=_0xefc4,this[_0x3e9be6(0x372)]=_0x13beb2,this[_0x3e9be6(0x39b)]=_0x257cb2,this[_0x3e9be6(0x2e2)]=_0x42e666,this[_0x3e9be6(0x205)]=_0x1f5774,_0x5ae661(this,_0x3e9be6(0x4c1),null),_0x5ae661(this,'_activeShapeInfo',null),_0x5ae661(this,'_isOpenedShapeEditPanel',!0x1),_0x5ae661(this,_0x3e9be6(0x568),0x0),_0x5ae661(this,'_shapePopupMenuDisposable',null),_0x5ae661(this,_0x3e9be6(0x500),[]),this[_0x3e9be6(0x19d)](),this[_0x3e9be6(0x47f)](this[_0x3e9be6(0x583)][_0x3e9be6(0x3d3)](_0x10e5f9[_0x3e9be6(0x503)][_0x3e9be6(0x450)])[_0x3e9be6(0x358)](_0x19b8b9=>{const _0x857919=_0x3e9be6;if(!_0x19b8b9){var _0xf1d687;(_0xf1d687=this[_0x857919(0x4c1)])==null||_0xf1d687[_0x857919(0x206)]();}})),this[_0x3e9be6(0x1bb)](),this[_0x3e9be6(0x2e3)](),this['disposeWithMe'](this[_0x3e9be6(0x205)][_0x3e9be6(0x4c6)][_0x3e9be6(0x358)](_0x1e55a8=>{const _0x2d2021=_0x3e9be6;_0x1e55a8&&this[_0x2d2021(0x221)]();}));}[_0x13ba7a(0x19d)](){const _0x297d2f=_0x13ba7a;this[_0x297d2f(0x52d)][_0x297d2f(0x1d8)](_0x713457);}['initShapePopupMenu'](){const _0x2f2a31=_0x13ba7a;this[_0x2f2a31(0x1e0)]||=this[_0x2f2a31(0x47f)]((0x0,_0xba932b[_0x2f2a31(0x258)])(this[_0x2f2a31(0x2e2)],_0x10e5f9[_0x2f2a31(0x503)][_0x2f2a31(0x450)],_0x3a831c=>this[_0x2f2a31(0x201)](_0x3a831c)));}[_0x13ba7a(0x21f)](_0x797fe0,_0x459d4f,_0x1bf273){const _0x28ab6e=_0x13ba7a;let _0xba5fc2=this[_0x28ab6e(0x56c)][_0x28ab6e(0x42b)](_0x797fe0,_0x459d4f,_0x1bf273),_0x562d91=this[_0x28ab6e(0x56c)][_0x28ab6e(0x204)](_0x797fe0,_0x459d4f,_0x1bf273);return _0xba5fc2!==void 0x0&&_0x562d91!==void 0x0?{'shapeData':_0x562d91,'shapeId':_0x1bf273,'shapeType':_0xba5fc2,'unitId':_0x797fe0,'subUnitId':_0x459d4f,'version':this['_shapeEditPanelVersion'],'disableShapeOption':!0x1}:null;}[_0x13ba7a(0x221)](){const _0x369d2e=_0x13ba7a;this[_0x369d2e(0x500)][_0x369d2e(0x34a)](_0x3d99b8=>_0x3d99b8['dispose']()),this['_disposePopups'][_0x369d2e(0x45b)]=0x0;}['_popupMenuListener'](_0xc483c3){const _0x3ee16e=_0x13ba7a;let _0x7bfb72=new _0x10e5f9[(_0x3ee16e(0x497))]();return _0x7bfb72[_0x3ee16e(0x278)](_0xc483c3[_0x3ee16e(0x517)][_0x3ee16e(0x358)](()=>{const _0x33312d=_0x3ee16e;let _0x4fe677=_0xc483c3['getSelectedObjectMap']();if(this['_clearPopups'](),this[_0x33312d(0x3a2)]||_0x4fe677[_0x33312d(0x3ba)]>0x1)return;let _0x597945=_0x4fe677[_0x33312d(0x1cb)]()[_0x33312d(0x475)]()[_0x33312d(0x472)];if(!_0x597945)return;let _0x581498=this[_0x33312d(0x3c5)][_0x33312d(0x209)](_0x597945['oKey']);if(!_0x581498||_0x581498[_0x33312d(0x52e)]!==_0x10e5f9[_0x33312d(0x2e1)]['DRAWING_SHAPE'])return;let {unitId:_0x3de0ef,subUnitId:_0x261089,drawingId:_0x541b72,drawingType:_0x15a57f}=_0x581498,_0x1ee738=this[_0x33312d(0x21f)](_0x3de0ef,_0x261089,_0x541b72);if(!_0x1ee738)return;this[_0x33312d(0x39b)][_0x33312d(0x1a1)](_0x10e5f9[_0x33312d(0x2f4)],!0x0);let _0x1fb45f=this[_0x33312d(0x2e2)][_0x33312d(0x57f)](_0x3de0ef),_0x28accc=((_0x1fb45f==null?void 0x0:_0x1fb45f[_0x33312d(0x300)])===!0x1?_0x1fb45f[_0x33312d(0x39e)](_0x189be3[_0x33312d(0x53a)]):this['_sheetCanvasPopManagerService'])[_0x33312d(0x2ee)](_0x597945,{'componentKey':_0x42484a,'direction':_0x33312d(0x4e4),'offset':[0x0,_0xba932b[_0x33312d(0x538)]],'extraProps':{'unitId':_0x3de0ef,'subUnitId':_0x261089,'drawingId':_0x541b72,'drawingType':_0x15a57f,'shapeType':_0x1ee738['shapeType'],'shapeData':_0x1ee738[_0x33312d(0x429)]}});this[_0x33312d(0x500)][_0x33312d(0x1b2)](this[_0x33312d(0x47f)](_0x28accc)),this[_0x33312d(0x3c5)][_0x33312d(0x1da)]()[_0x33312d(0x298)](_0x11f152=>_0x11f152[_0x33312d(0x26e)]===_0x3de0ef&&_0x11f152['subUnitId']===_0x261089&&_0x11f152[_0x33312d(0x272)]===_0x541b72)||this[_0x33312d(0x3c5)][_0x33312d(0x3f9)]([{'unitId':_0x3de0ef,'subUnitId':_0x261089,'drawingId':_0x541b72}]);})),_0x7bfb72[_0x3ee16e(0x278)](_0xc483c3[_0x3ee16e(0x1bf)]['subscribe'](()=>{const _0x5e2426=_0x3ee16e;this[_0x5e2426(0x221)](),this['_contextService'][_0x5e2426(0x1a1)](_0x10e5f9[_0x5e2426(0x2f4)],!0x1),this[_0x5e2426(0x3c5)]['focusDrawing'](null);})),_0x7bfb72[_0x3ee16e(0x278)](_0xc483c3[_0x3ee16e(0x42f)][_0x3ee16e(0x358)](()=>{const _0x261687=_0x3ee16e;this[_0x261687(0x221)]();})),_0x7bfb72[_0x3ee16e(0x278)](_0xc483c3[_0x3ee16e(0x202)][_0x3ee16e(0x358)](()=>{this['_clearPopups']();})),(0x0,_0x10e5f9[_0x3ee16e(0x576)])(()=>{const _0x528e76=_0x3ee16e;_0x7bfb72[_0x528e76(0x206)](),this[_0x528e76(0x221)]();});}[_0x13ba7a(0x1bb)](){const _0x4cd9e0=_0x13ba7a;this[_0x4cd9e0(0x47f)](this[_0x4cd9e0(0x558)]['onCommandExecuted'](_0x4e8c35=>{const _0x1a6b5b=_0x4cd9e0;if(_0x4e8c35['id']===_0x47ad5b['id']){let {unitId:_0xd9ed2e,subUnitId:_0x3dd5d6,drawingId:_0x35e7fd}=_0x4e8c35[_0x1a6b5b(0x352)];this[_0x1a6b5b(0x568)]+=0x1,this['_activeShapeInfo']=this[_0x1a6b5b(0x21f)](_0xd9ed2e,_0x3dd5d6,_0x35e7fd),this['_clearPopups'](),this['_openShapeEditPanel']();}if(_0x4e8c35['id']===_0x53d33a['id']&&(this[_0x1a6b5b(0x25b)]=null,this[_0x1a6b5b(0x545)]()),_0x4e8c35['id']===_0x2f2bb5[_0x1a6b5b(0x479)]['id']){let {unitId:_0x6d8ce1,subUnitId:_0x606fff,shapeId:_0x4e7d02}=_0x4e8c35[_0x1a6b5b(0x352)];if(this[_0x1a6b5b(0x25b)]&&this[_0x1a6b5b(0x25b)][_0x1a6b5b(0x42a)]===_0x4e7d02){let _0xab840f=this[_0x1a6b5b(0x21f)](_0x6d8ce1,_0x606fff,_0x4e7d02);_0xab840f&&(this[_0x1a6b5b(0x568)]+=0x1,_0xab840f[_0x1a6b5b(0x33a)]=this[_0x1a6b5b(0x568)],this[_0x1a6b5b(0x25b)]=_0xab840f,this['_isOpenedShapeEditPanel']&&this[_0x1a6b5b(0x50f)]());}}})),this['disposeWithMe'](this[_0x4cd9e0(0x3c5)][_0x4cd9e0(0x332)][_0x4cd9e0(0x358)](_0x73b724=>{const _0x3ee9c1=_0x4cd9e0;if(this[_0x3ee9c1(0x3a2)]===!0x1)return;if(_0x73b724[_0x3ee9c1(0x45b)]===0x0){this[_0x3ee9c1(0x25b)]=null,this[_0x3ee9c1(0x545)]();return;}if(_0x73b724[_0x3ee9c1(0x45b)]===0x1&&_0x73b724[0x0]['drawingType']===_0x10e5f9[_0x3ee9c1(0x2e1)][_0x3ee9c1(0x20d)]&&(this[_0x3ee9c1(0x568)]+=0x1,this['_activeShapeInfo']=this[_0x3ee9c1(0x21f)](_0x73b724[0x0][_0x3ee9c1(0x26e)],_0x73b724[0x0][_0x3ee9c1(0x354)],_0x73b724[0x0][_0x3ee9c1(0x272)]),this[_0x3ee9c1(0x25b)])){this[_0x3ee9c1(0x50f)]();return;}let _0x58e0dd=_0x73b724[_0x3ee9c1(0x435)](_0x444c70=>_0x444c70[_0x3ee9c1(0x52e)]===_0x10e5f9['DrawingTypeEnum']['DRAWING_SHAPE']);if(_0x73b724[_0x3ee9c1(0x45b)]>0x1&&_0x58e0dd['length']===_0x73b724[_0x3ee9c1(0x45b)]){if(this[_0x3ee9c1(0x568)]+=0x1,this['_activeShapeInfo']=this['_getShapeInfo'](_0x73b724[0x0][_0x3ee9c1(0x26e)],_0x73b724[0x0][_0x3ee9c1(0x354)],_0x73b724[0x0][_0x3ee9c1(0x272)]),this['_activeShapeInfo']){this[_0x3ee9c1(0x50f)]();return;}}else{if(this[_0x3ee9c1(0x568)]+=0x1,this['_activeShapeInfo']=this['_getShapeInfo'](_0x73b724[0x0][_0x3ee9c1(0x26e)],_0x73b724[0x0][_0x3ee9c1(0x354)],_0x73b724[0x0]['drawingId']),this[_0x3ee9c1(0x25b)]){this[_0x3ee9c1(0x25b)][_0x3ee9c1(0x3f6)]=!0x0,this['_openShapeEditPanel']();return;}}this['_closeShapeEditPanel']();}));}[_0x13ba7a(0x50f)](){const _0x3ca4a7=_0x13ba7a;this['_activeShapeInfo']&&(this[_0x3ca4a7(0x4c1)]=this['_sidebarService'][_0x3ca4a7(0x269)]({'id':_0x6fddbc,'header':{'title':this['_localeService']['t'](_0x3ca4a7(0x344))},'width':0x184,'children':{'label':_0x6fddbc,...this[_0x3ca4a7(0x25b)]},'onClose':()=>{const _0x3de66d=_0x3ca4a7;this[_0x3de66d(0x3c5)][_0x3de66d(0x3f9)](null),this[_0x3de66d(0x39b)][_0x3de66d(0x1a1)](_0x10e5f9[_0x3de66d(0x2f4)],!0x1),this[_0x3de66d(0x4c1)]=null;}}),this[_0x3ca4a7(0x3a2)]=!0x0);}['_closeShapeEditPanel'](){const _0x17ef0f=_0x13ba7a;this[_0x17ef0f(0x3a2)]=!0x1,this[_0x17ef0f(0x3e8)][_0x17ef0f(0x30a)](_0x6fddbc),this[_0x17ef0f(0x4c1)]=null,this['_contextService'][_0x17ef0f(0x1a1)](_0x10e5f9[_0x17ef0f(0x2f4)],!0x1),this[_0x17ef0f(0x3c5)][_0x17ef0f(0x3f9)](null);}};_0x1bb23d=_0x12f75a([_0x174396(0x0,_0x10e5f9[_0x13ba7a(0x41d)]),_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x187e10[_0x13ba7a(0x546)])),_0x174396(0x2,_0x187e10[_0x13ba7a(0x4b0)]),_0x174396(0x3,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x2f2bb5[_0x13ba7a(0x4d3)])),_0x174396(0x4,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x10e5f9['LocaleService'])),_0x174396(0x5,_0x10e5f9[_0x13ba7a(0x297)]),_0x174396(0x6,_0x15864b[_0x13ba7a(0x4e8)]),_0x174396(0x7,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x189be3[_0x13ba7a(0x53a)])),_0x174396(0x8,_0x10e5f9[_0x13ba7a(0x1c3)]),_0x174396(0x9,_0x3458ba['IRenderManagerService']),_0x174396(0xa,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x17f3c3))],_0x1bb23d);let _0x2fab71=class extends _0x10e5f9[_0x13ba7a(0x361)]{constructor(_0x579f13=_0x26e934,_0x561406,_0x1b3d69,_0x17b5e8,_0x39da24){const _0x1d3c7d=_0x13ba7a;super(),this[_0x1d3c7d(0x20f)]=_0x579f13,this[_0x1d3c7d(0x58c)]=_0x561406,this[_0x1d3c7d(0x558)]=_0x1b3d69,this[_0x1d3c7d(0x1e9)]=_0x17b5e8,this[_0x1d3c7d(0x2e2)]=_0x39da24;let {..._0x4eaaea}=(0x0,_0x10e5f9[_0x1d3c7d(0x445)])({},_0x26e934,this[_0x1d3c7d(0x20f)]);this[_0x1d3c7d(0x1e9)][_0x1d3c7d(0x3b3)](_0x56997c,_0x4eaaea),this[_0x1d3c7d(0x4cb)]();}[_0x13ba7a(0x43b)](){const _0x289584=_0x13ba7a;this['_renderManagerService']['registerRenderModule'](_0x10e5f9['UniverInstanceType'][_0x289584(0x426)],[_0x402c67]),(0x0,_0x10e5f9[_0x289584(0x2d7)])(this[_0x289584(0x58c)],[[_0x1bb23d],[_0x3fa9e3],[_0x5191eb],[_0x47c32c]]);}[_0x13ba7a(0x4ec)](){const _0x258cd4=_0x13ba7a;this[_0x258cd4(0x58c)]['get'](_0x1bb23d)['initShapePopupMenu']();}['onReady'](){const _0x27fc87=_0x13ba7a;[[_0x4d5792],[_0x5507d6],[_0x32e137]][_0x27fc87(0x34a)](_0x4db7e5=>this['_injector'][_0x27fc87(0x278)](_0x4db7e5)),(0x0,_0x10e5f9[_0x27fc87(0x2d7)])(this[_0x27fc87(0x58c)],[[_0x32e137],[_0x5507d6]]),this[_0x27fc87(0x2e2)][_0x27fc87(0x4b4)](_0x10e5f9[_0x27fc87(0x503)][_0x27fc87(0x450)],[_0x4d5792]),this[_0x27fc87(0x2e2)][_0x27fc87(0x4b4)](_0x10e5f9[_0x27fc87(0x503)][_0x27fc87(0x450)],[_0x9f7a3e]),this[_0x27fc87(0x2e2)][_0x27fc87(0x4b4)](_0x10e5f9[_0x27fc87(0x503)][_0x27fc87(0x450)],[_0x191a85]),this['_renderManagerService'][_0x27fc87(0x4b4)](_0x10e5f9['UniverInstanceType'][_0x27fc87(0x450)],[_0xa4311e]),this[_0x27fc87(0x47f)](this[_0x27fc87(0x2e2)][_0x27fc87(0x4b4)](_0x10e5f9[_0x27fc87(0x503)][_0x27fc87(0x450)],[_0x110f72])),this['disposeWithMe'](this['_renderManagerService'][_0x27fc87(0x4b4)](_0x10e5f9['UniverInstanceType'][_0x27fc87(0x450)],[_0x2eec39]));}[_0x13ba7a(0x286)](){const _0x1b875f=_0x13ba7a;this['_injector'][_0x1b875f(0x278)]([_0xd91588]),this['_injector'][_0x1b875f(0x468)](_0xd91588);let _0x47c059=this[_0x1b875f(0x58c)];[[_0x1bb23d],[_0x3fa9e3],[_0x5191eb],[_0x47c32c],[_0x16741e],[_0x17f3c3],[_0x570b9c],[_0x29f473],[_0x7c3790],[_0x1aaf55]][_0x1b875f(0x34a)](_0x475029=>_0x47c059[_0x1b875f(0x278)](_0x475029)),(0x0,_0x10e5f9[_0x1b875f(0x2d7)])(this[_0x1b875f(0x58c)],[[_0x1bb23d],[_0x3fa9e3],[_0x5191eb],[_0x16741e],[_0x17f3c3],[_0x570b9c],[_0x29f473],[_0x7c3790],[_0x1aaf55]]);}[_0x13ba7a(0x4cb)](){const _0x5ba9ef=_0x13ba7a;[_0x313c0d,_0x6c1302,_0x53d33a,_0x47ad5b,_0x3a0e82,_0x34de34,_0x25693e,_0x18da86]['forEach'](_0xb0b245=>this[_0x5ba9ef(0x47f)](this[_0x5ba9ef(0x558)][_0x5ba9ef(0x424)](_0xb0b245)));}};_0x5ae661(_0x2fab71,_0x13ba7a(0x38d),_0x10e5f9[_0x13ba7a(0x503)][_0x13ba7a(0x450)]),_0x5ae661(_0x2fab71,_0x13ba7a(0x3a9),_0x13ba7a(0x49d)),_0x5ae661(_0x2fab71,'packageName',_0x3e9d67),_0x5ae661(_0x2fab71,'version',_0x4f17df),_0x2fab71=_0x12f75a([(0x0,_0x10e5f9[_0x13ba7a(0x4d9)])(_0x53a89d['UniverLicensePlugin'],_0x1ac066[_0x13ba7a(0x577)],_0x15864b[_0x13ba7a(0x273)],_0x2a7f32[_0x13ba7a(0x46e)],_0x3458ba['UniverRenderEnginePlugin'],_0x32abfe[_0x13ba7a(0x401)],_0x31aefd['UniverDocsUIPlugin'],_0x40f1a1['UniverSheetsDrawingPlugin'],_0x1397ca[_0x13ba7a(0x1cd)],_0x3c03b9['UniverSheetsDrawingUIPlugin'],_0x2f2bb5['UniverSheetsShapePlugin'],_0x189be3[_0x13ba7a(0x280)],_0xba932b['UniverShapeEditorUIPlugin']),_0x174396(0x1,(0x0,_0x10e5f9['Inject'])(_0x10e5f9[_0x13ba7a(0x48e)])),_0x174396(0x2,_0x10e5f9[_0x13ba7a(0x297)]),_0x174396(0x3,_0x10e5f9[_0x13ba7a(0x3cd)]),_0x174396(0x4,_0x3458ba['IRenderManagerService'])],_0x2fab71),_0x4a6de9[_0x13ba7a(0x4e3)]=_0x136219,_0x4a6de9[_0x13ba7a(0x2f9)]=_0x713457,Object[_0x13ba7a(0x4d8)](_0x4a6de9,_0x13ba7a(0x23f),{'enumerable':!0x0,'get':function(){return _0x39f9ab;}}),Object[_0x13ba7a(0x4d8)](_0x4a6de9,'UniverSheetsShapeUIPlugin',{'enumerable':!0x0,'get':function(){return _0x2fab71;}});}));
|