@univerjs-pro/sheets-shape-ui 1.0.0-rc.0 → 1.0.1
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/types/controllers/format-painter.controller.d.ts +10 -0
- package/lib/types/controllers/mobile/ui.controller.d.ts +21 -6
- package/lib/types/mobile-plugin.d.ts +1 -3
- package/lib/types/views/object-list-panel/MobileSheetDrawingObjectListPanel.d.ts +1 -0
- package/lib/types/views/object-list-panel/SheetDrawingObjectListPanel.d.ts +5 -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 +21 -21
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x4b8f0a,_0x55ec9b){const _0x28ab73=_0x387f,_0x31d18b=_0x4b8f0a();while(!![]){try{const _0x5f2d58=parseInt(_0x28ab73(0x21c))/0x1*(-parseInt(_0x28ab73(0x4f9))/0x2)+-parseInt(_0x28ab73(0x2a0))/0x3*(-parseInt(_0x28ab73(0x2e5))/0x4)+-parseInt(_0x28ab73(0x40c))/0x5+-parseInt(_0x28ab73(0x3b6))/0x6+parseInt(_0x28ab73(0x40e))/0x7*(-parseInt(_0x28ab73(0x432))/0x8)+-parseInt(_0x28ab73(0x34a))/0x9*(-parseInt(_0x28ab73(0x38d))/0xa)+parseInt(_0x28ab73(0x383))/0xb;if(_0x5f2d58===_0x55ec9b)break;else _0x31d18b['push'](_0x31d18b['shift']());}catch(_0x3114b4){_0x31d18b['push'](_0x31d18b['shift']());}}}(_0x3b99,0xc8de6),function(_0x4b588e,_0x5234e9){const _0x53d2db=_0x387f;typeof exports==_0x53d2db(0x43c)&&typeof module<'u'?_0x5234e9(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==_0x53d2db(0x364)&&define[_0x53d2db(0x3e2)]?define(['exports',_0x53d2db(0x44c),_0x53d2db(0x1e3),_0x53d2db(0x307),_0x53d2db(0x2fd),'@univerjs-pro/sheets-shape','@univerjs/core',_0x53d2db(0x539),'@univerjs/drawing',_0x53d2db(0x3f0),_0x53d2db(0x451),'rxjs','@univerjs/drawing-ui','@univerjs/design',_0x53d2db(0x274),_0x53d2db(0x573),_0x53d2db(0x2df),_0x53d2db(0x3aa),_0x53d2db(0x224),_0x53d2db(0x3b7),_0x53d2db(0x413)],_0x5234e9):(_0x4b588e=typeof globalThis<'u'?globalThis:_0x4b588e||self,_0x5234e9(_0x4b588e['UniverProSheetsShapeUi']={},_0x4b588e[_0x53d2db(0x283)],_0x4b588e[_0x53d2db(0x3d2)],_0x4b588e[_0x53d2db(0x588)],_0x4b588e['UniverProShapeEditor'],_0x4b588e[_0x53d2db(0x215)],_0x4b588e[_0x53d2db(0x3f7)],_0x4b588e[_0x53d2db(0x512)],_0x4b588e[_0x53d2db(0x45b)],_0x4b588e[_0x53d2db(0x46a)],_0x4b588e[_0x53d2db(0x2d5)],_0x4b588e[_0x53d2db(0x49d)],_0x4b588e[_0x53d2db(0x4c7)],_0x4b588e[_0x53d2db(0x46c)],_0x4b588e['React'],_0x4b588e[_0x53d2db(0x231)],_0x4b588e['UniverProLicense'],_0x4b588e[_0x53d2db(0x2d0)],_0x4b588e['UniverDocsUi'],_0x4b588e[_0x53d2db(0x4a6)],_0x4b588e[_0x53d2db(0x2fb)]));}(this,function(_0x242c87,_0xae3e2f,_0xf803d,_0x1e2604,_0x2b022d,_0x137641,_0x141609,_0x200933,_0x193b7c,_0x4fd0c0,_0x2e59a1,_0x3fc41f,_0x21abf6,_0x365ec3,_0x4e51e5,_0xf06dc,_0x86ef8e,_0x23dfef,_0x414ed6,_0x2d0a48,_0x16f5cd){const _0x50e1ba=_0x387f;Object[_0x50e1ba(0x5bb)](_0x242c87,Symbol[_0x50e1ba(0x3b4)],{'value':_0x50e1ba(0x1fe)});function _0x493489(_0xf02c4c,_0x7ce2e2){const _0x520f0a=_0x50e1ba;let _0x252f10={};for(let _0x20d3cb of Object[_0x520f0a(0x4c1)](_0x7ce2e2)){let _0x31cc16=_0x7ce2e2[_0x20d3cb],_0xe3dd0=_0xf02c4c[_0x20d3cb];if(_0x31cc16!==void 0x0){if(_0xe3dd0===void 0x0){_0x252f10[_0x20d3cb]=void 0x0;continue;}typeof _0x31cc16==_0x520f0a(0x43c)&&_0x31cc16&&!Array[_0x520f0a(0x344)](_0x31cc16)&&typeof _0xe3dd0==_0x520f0a(0x43c)&&_0xe3dd0&&!Array[_0x520f0a(0x344)](_0xe3dd0)?_0x252f10[_0x20d3cb]=_0x493489(_0xe3dd0,_0x31cc16):_0x252f10[_0x20d3cb]=_0xe3dd0;}}return _0x252f10;}let _0x36db55={'type':_0x141609[_0x50e1ba(0x2c8)][_0x50e1ba(0x55c)],'id':'sheet.command.update-shape-data','handler':(_0x12ee64,_0x6f6694)=>{const _0xcd3fa=_0x50e1ba;let _0x55569=_0x12ee64['get'](_0x137641[_0xcd3fa(0x4f5)]),{unitId:_0xb90e7d,subUnitId:_0xb34a44,shapeType:_0x28d002,shapeId:_0x332ddb,shapeData:_0x5802b6,replaceShapeData:_0x57587f,oldShapeJSON:_0x310607}=_0x6f6694;if(!_0x55569[_0xcd3fa(0x4d3)](_0xb90e7d,_0xb34a44,_0x332ddb))return!0x1;let _0xdb77b2=_0x12ee64[_0xcd3fa(0x404)](_0x141609[_0xcd3fa(0x3f2)]),_0x2eac19=_0x12ee64[_0xcd3fa(0x404)](_0x141609[_0xcd3fa(0x3bb)]),{oldShapeType:_0x168d3c,oldShapeData:_0x43d226={}}=_0x310607,_0x37afcd=_0x57587f?_0x43d226:_0x493489(_0x43d226,_0x5802b6||{}),_0x140655={'id':_0x137641['UpdateSheetsShapeDataMutation']['id'],'params':{'unitId':_0xb90e7d,'subUnitId':_0xb34a44,'shapeId':_0x332ddb,'shapeType':_0x28d002,'shapeData':_0x5802b6,'replace':_0x57587f}},_0x2aa66f={'id':_0x137641[_0xcd3fa(0x23d)]['id'],'params':{'unitId':_0xb90e7d,'subUnitId':_0xb34a44,'shapeId':_0x332ddb,'shapeType':_0x168d3c,'shapeData':_0x37afcd,'replace':_0x57587f}};return _0xdb77b2['syncExecuteCommand'](_0x140655['id'],_0x140655['params'])?(_0x2eac19[_0xcd3fa(0x491)]({'unitID':_0xb90e7d,'undoMutations':[_0x2aa66f],'redoMutations':[_0x140655]}),!0x0):!0x1;}};function _0x35f8e1(_0x6b0178,_0x3a174a,_0x43c6d4,_0x39f15f,_0x53fcdc,_0x5b0421){const _0x17fc28=_0x50e1ba;let _0x4e618d={'unitId':_0x3a174a,'subUnitId':_0x43c6d4,'shapeId':_0x39f15f,'shapeData':_0x5b0421,'oldShapeJSON':_0x53fcdc};return _0x6b0178[_0x17fc28(0x228)](_0x36db55['id'],_0x4e618d);}function _0x11280c(_0x3d8f04,_0x6a0a72,_0x57281e,_0x44bf94,_0x19f495,_0x44a493){let _0x3ca585={'unitId':_0x6a0a72,'subUnitId':_0x57281e,'shapeId':_0x44bf94,'shapeData':_0x44a493,'oldShapeJSON':_0x19f495};return _0x3d8f04['executeCommand'](_0x36db55['id'],_0x3ca585);}function _0x535f3f(_0x5186eb){'@babel/helpers - typeof';const _0xafae30=_0x50e1ba;return _0x535f3f=typeof Symbol==_0xafae30(0x364)&&typeof Symbol[_0xafae30(0x347)]=='symbol'?function(_0x371a42){return typeof _0x371a42;}:function(_0x42178c){const _0x1fff2b=_0xafae30;return _0x42178c&&typeof Symbol=='function'&&_0x42178c[_0x1fff2b(0x260)]===Symbol&&_0x42178c!==Symbol[_0x1fff2b(0x417)]?_0x1fff2b(0x509):typeof _0x42178c;},_0x535f3f(_0x5186eb);}function _0x5b869d(_0x536cd9,_0x36d662){const _0x3d031c=_0x50e1ba;if(_0x535f3f(_0x536cd9)!=_0x3d031c(0x43c)||!_0x536cd9)return _0x536cd9;var _0x322909=_0x536cd9[Symbol[_0x3d031c(0x2e6)]];if(_0x322909!==void 0x0){var _0x1cb200=_0x322909[_0x3d031c(0x42e)](_0x536cd9,_0x36d662||_0x3d031c(0x39e));if(_0x535f3f(_0x1cb200)!=_0x3d031c(0x43c))return _0x1cb200;throw TypeError(_0x3d031c(0x3e3));}return(_0x36d662==='string'?String:Number)(_0x536cd9);}function _0x12d3a2(_0xe6fa2e){const _0x2a5549=_0x50e1ba;var _0x4e4439=_0x5b869d(_0xe6fa2e,'string');return _0x535f3f(_0x4e4439)==_0x2a5549(0x509)?_0x4e4439:_0x4e4439+'';}function _0x46f35a(_0x4430b8,_0x5621af,_0x4ea97b){const _0x59e67b=_0x50e1ba;return(_0x5621af=_0x12d3a2(_0x5621af))in _0x4430b8?Object[_0x59e67b(0x5bb)](_0x4430b8,_0x5621af,{'value':_0x4ea97b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4430b8[_0x5621af]=_0x4ea97b,_0x4430b8;}function _0x1d5107(_0x7ccf97,_0x42f27a,_0x83e307){const _0xda0c2c=_0x50e1ba;let _0x310bd5=(0x0,_0xae3e2f[_0xda0c2c(0x385)])(_0x7ccf97,{..._0x42f27a,'dataModel':{..._0x42f27a[_0xda0c2c(0x32e)]??{},..._0x83e307?{'doc':_0x83e307}:null}}),_0x2c346c=(0x0,_0xae3e2f[_0xda0c2c(0x24d)])(_0x310bd5);return{'clip':(0x0,_0xae3e2f[_0xda0c2c(0x3a6)])(_0x310bd5,_0x2c346c),'wrapStrategy':_0x2c346c};}var _0x2c197b=class extends _0x4fd0c0[_0x50e1ba(0x4de)]{constructor(_0x37e098,_0x23f811){const _0x421c8e=_0x50e1ba;super(_0x37e098,_0x23f811),_0x46f35a(this,_0x421c8e(0x3b0),void 0x0),_0x46f35a(this,_0x421c8e(0x549),new _0xae3e2f['FormulaShapeAnimationController'](()=>this[_0x421c8e(0x48c)](!0x0),()=>this[_0x421c8e(0x363)]())),_0x46f35a(this,_0x421c8e(0x533),!0x0),_0x46f35a(this,_0x421c8e(0x442),_0x141609[_0x421c8e(0x397)][_0x421c8e(0x285)]),_0x46f35a(this,_0x421c8e(0x377),!0x0),this[_0x421c8e(0x3b0)]={..._0x23f811},this['_formulaAnimation'][_0x421c8e(0x22d)](_0x23f811[_0x421c8e(0x439)],_0x23f811['animateFormulaPresentation']!==!0x1),this['_init'](),this[_0x421c8e(0x363)]();}[_0x50e1ba(0x556)](){const _0x2b26d3=_0x50e1ba;this[_0x2b26d3(0x249)][_0x2b26d3(0x4e4)](_0x4accb6=>{const _0x46b561=_0x2b26d3;this[_0x46b561(0x1f0)](_0x4accb6);});}[_0x50e1ba(0x37e)](_0x3e561d){const _0x368315=_0x50e1ba;this['_props'][_0x368315(0x5b0)]=_0x3e561d;}[_0x50e1ba(0x269)](_0x24c586){const _0x17959b=_0x50e1ba;this[_0x17959b(0x3b0)][_0x17959b(0x3af)]=_0x24c586,this['makeDirty'](!0x0);}[_0x50e1ba(0x55f)](_0x4eba96,_0x526d82=!0x0){const _0x8436d8=_0x50e1ba;this[_0x8436d8(0x549)][_0x8436d8(0x22d)](_0x4eba96,_0x526d82),this['_props'][_0x8436d8(0x439)]=_0x4eba96,this[_0x8436d8(0x363)](),this[_0x8436d8(0x48c)](!0x0);}[_0x50e1ba(0x363)](){const _0x392d52=_0x50e1ba;let _0x2bf3a0=this['_props']['shapeModel'],_0x318f13=_0x2bf3a0[_0x392d52(0x503)](),_0x1a8180=(0x0,_0xae3e2f[_0x392d52(0x2aa)])(_0x318f13==null?void 0x0:_0x318f13[_0x392d52(0x32e)]),_0x4769da=_0x1a8180==null?void 0x0:_0x1a8180[_0x392d52(0x406)],_0x2642b6=this[_0x392d52(0x549)][_0x392d52(0x275)]();if(!_0x4769da||_0x2642b6['length']===0x0)return;_0x2bf3a0[_0x392d52(0x5a2)]({'width':this[_0x392d52(0x44b)],'height':this['height']});let _0x58f13d=(0x0,_0xae3e2f[_0x392d52(0x456)])({'documentData':_0x2642b6[_0x392d52(0x33e)](_0x1568e7=>(0x0,_0x2b022d[_0x392d52(0x4b2)])(_0x4769da,_0x1568e7)),'height':this[_0x392d52(0x4d8)],'shapeData':_0x2bf3a0['getShapeData'](),'textRect':_0x2bf3a0[_0x392d52(0x55e)]({'left':0x0,'top':0x0,'width':this['width'],'height':this[_0x392d52(0x4d8)]}),'width':this[_0x392d52(0x44b)]});if(_0x58f13d){var _0x10c343;this[_0x392d52(0x24e)](_0x58f13d['width'],_0x58f13d[_0x392d52(0x4d8)]),(_0x10c343=this[_0x392d52(0x494)]())==null||(_0x10c343=_0x10c343[_0x392d52(0x53b)]())==null||_0x10c343['debounceRefreshControls']();}}get[_0x50e1ba(0x524)](){const _0x5efd7b=_0x50e1ba;return this[_0x5efd7b(0x3b0)][_0x5efd7b(0x524)];}get[_0x50e1ba(0x582)](){const _0x15e223=_0x50e1ba;return this[_0x15e223(0x3b0)][_0x15e223(0x582)];}['_updateSrcRectByTransform'](_0x650ca8){const _0x2f6d44=_0x50e1ba;if(this[_0x2f6d44(0x3b0)][_0x2f6d44(0x515)]==null||!this[_0x2f6d44(0x533)])return;let {width:_0x2b9343,height:_0x396172}=this,{width:_0x1692f7=0x0,height:_0x4abc19=0x0}=_0x650ca8[_0x2f6d44(0x3b3)],{left:_0x4bd9e7=0x0,top:_0x602a55=0x0,right:_0x1d328e=0x0,bottom:_0x23b20=0x0}=this['_props'][_0x2f6d44(0x515)],_0x3ffda7=_0x4bd9e7,_0x3ebfca=_0x602a55,_0x35bcf8=_0x1d328e,_0x445ad1=_0x23b20,_0x1b7054=!0x1;if(_0x1692f7!==0x0&&_0x1692f7!==_0x2b9343){let _0x32430e=_0x4bd9e7/_0x1692f7,_0x3913c6=_0x1d328e/_0x1692f7;_0x3ffda7=_0x2b9343*_0x32430e,_0x35bcf8=_0x2b9343*_0x3913c6,_0x1b7054=!0x0;}if(_0x4abc19!==0x0&&_0x4abc19!==_0x396172){let _0x1954da=_0x602a55/_0x4abc19,_0x3a1caa=_0x23b20/_0x4abc19;_0x3ebfca=_0x396172*_0x1954da,_0x445ad1=_0x396172*_0x3a1caa,_0x1b7054=!0x0;}_0x1b7054&&this[_0x2f6d44(0x25b)]({'left':_0x3ffda7,'top':_0x3ebfca,'right':_0x35bcf8,'bottom':_0x445ad1});}[_0x50e1ba(0x25b)](_0x3f1693){const _0x2c8095=_0x50e1ba;this[_0x2c8095(0x3b0)][_0x2c8095(0x515)]=_0x3f1693,this[_0x2c8095(0x48c)](!0x0);}[_0x50e1ba(0x469)](_0x29e0de){const _0x50b7d7=_0x50e1ba;this[_0x50b7d7(0x3b0)][_0x50b7d7(0x497)]=_0x29e0de,this[_0x50b7d7(0x48c)](!0x0);}set[_0x50e1ba(0x25f)](_0xd9f901){const _0x10ceff=_0x50e1ba;this[_0x10ceff(0x2ec)]=_0xd9f901;}get[_0x50e1ba(0x25f)](){const _0x18c864=_0x50e1ba;this[_0x18c864(0x2ec)]||this[_0x18c864(0x355)]();let _0x3b891f=this[_0x18c864(0x2ec)][_0x18c864(0x59b)]();return this['transformForAngle'](_0x3b891f);}get[_0x50e1ba(0x3b1)](){const _0x4a0b6d=_0x50e1ba;return this['_props'][_0x4a0b6d(0x3b1)];}get[_0x50e1ba(0x35b)](){const _0x13710f=_0x50e1ba;return this[_0x13710f(0x3b0)][_0x13710f(0x35b)];}get[_0x50e1ba(0x424)](){const _0x5e1cb3=_0x50e1ba;return _0x4fd0c0['RENDER_CLASS_TYPE'][_0x5e1cb3(0x405)];}[_0x50e1ba(0x333)](_0x18eb34,_0x340088,_0x1651d0,_0x8d0532){const _0x4467fb=_0x50e1ba;let _0x450f80=this[_0x4467fb(0x3b0)][_0x4467fb(0x3b1)];if(!_0x450f80||!_0x340088)return;let _0x44d392=_0x1651d0??this['width'],_0xb53012=_0x8d0532??this[_0x4467fb(0x4d8)],_0x1d98dc={'shapeType':_0x450f80['getShapeType'](),'width':_0x44d392,'height':_0xb53012},_0x5abcd3={'renderMode':_0x1e2604[_0x4467fb(0x54f)][_0x4467fb(0x213)],'oKey':this[_0x4467fb(0x5b6)],'image':this[_0x4467fb(0x3b0)][_0x4467fb(0x497)],'angle':this[_0x4467fb(0x4c4)]};_0x450f80[_0x4467fb(0x5a2)](_0x1d98dc),_0x18eb34[_0x4467fb(0x21e)]();let _0xa4208d={'top':0x0,'left':0x0,'width':_0x44d392,'height':_0xb53012},_0x27c4d2=_0x450f80['getDrawingEffectBounds'](_0xa4208d);_0x27c4d2?this[_0x4467fb(0x3cd)](_0x18eb34,_0x27c4d2,_0x7b7601=>{const _0x1ea29a=_0x4467fb;_0x450f80[_0x1ea29a(0x28a)](_0x7b7601,_0xa4208d,_0x5abcd3);}):(this[_0x4467fb(0x253)](),_0x450f80[_0x4467fb(0x28a)](_0x18eb34,_0xa4208d,_0x5abcd3)),_0x18eb34[_0x4467fb(0x38b)]();let _0xe67547=_0x450f80['getShapeTextData'](),_0x24c5ea=_0x450f80[_0x4467fb(0x55e)](_0xa4208d),_0x13bb2e=_0x450f80[_0x4467fb(0x561)]();if(_0xe67547&&_0x24c5ea&&!_0x13bb2e){_0x18eb34[_0x4467fb(0x21e)](),this[_0x4467fb(0x2f3)]()[_0x4467fb(0x217)]&&_0x18eb34[_0x4467fb(0x324)](-0x1,0x1);let _0x530b5e=_0x44d392/0x2,_0x50ec6b=_0xb53012/0x2;_0x18eb34['translate'](-_0x530b5e,-_0x50ec6b),_0x18eb34[_0x4467fb(0x223)](),this['_drawShapeText'](_0x18eb34,_0xe67547,_0x24c5ea),_0x18eb34['restore']();}}[_0x50e1ba(0x423)](_0x5544cf){}[_0x50e1ba(0x3b2)](_0x161f47,_0x4e61b0,_0x23f4d2){const _0x336273=_0x50e1ba;var _0x4feeb6;this['_props'][_0x336273(0x3af)]||(!((_0x4feeb6=_0x4e61b0[_0x336273(0x32e)])!=null&&_0x4feeb6[_0x336273(0x406)])&&_0x336273(0x529)in _0x4e61b0&&_0x4e61b0[_0x336273(0x529)]===!0x1?this[_0x336273(0x52e)](_0x161f47,_0x4e61b0,_0x23f4d2):this[_0x336273(0x527)](_0x161f47,_0x4e61b0,_0x23f4d2));}[_0x50e1ba(0x52e)](_0x51f9f8,_0x24b56b,_0x4ddbdd){const _0x494328=_0x50e1ba;this['_drawRichText'](_0x51f9f8,{..._0x24b56b,'text':_0x24b56b['text']??'','dataModel':{'doc':(0x0,_0xae3e2f[_0x494328(0x244)])(_0x24b56b,_0x494328(0x4bf)+this[_0x494328(0x5b6)])}},_0x4ddbdd);}[_0x50e1ba(0x527)](_0x39fd4d,_0x5bb426,_0x2a5f3f){const _0x4a54b9=_0x50e1ba;(0x0,_0xae3e2f[_0x4a54b9(0x3ad)])(_0x39fd4d,this[_0x4a54b9(0x549)],(_0x546684,_0x4b0ce0)=>{const _0x47acdb=_0x4a54b9;this[_0x47acdb(0x595)](_0x546684,_0x5bb426,_0x2a5f3f,_0x4b0ce0);});}['_drawRichTextLayer'](_0x390850,_0x4b4c36,_0x5210d8,_0x5e5c2c){const _0x224953=_0x50e1ba;let _0x19cd85=this[_0x224953(0x3b0)][_0x224953(0x2db)];if(!_0x4b4c36[_0x224953(0x32e)]||!_0x19cd85)return;let _0x3ed943=(0x0,_0xae3e2f['normalizeShapeTextModel'])(_0x4b4c36[_0x224953(0x32e)]);if(!_0x3ed943)return;let _0x570dd8=_0x3ed943['doc'];if(!_0x570dd8)return;let _0x351b6b=(0x0,_0x2b022d['createShapeFormulaDocument'])(_0x570dd8,_0x5e5c2c),_0x481f2b=_0x3ed943['va']??_0x141609['VerticalAlign'][_0x224953(0x3d6)],_0x4b5740=_0x3ed943['ha']??_0x141609[_0x224953(0x50a)][_0x224953(0x298)],_0x1e3879=_0x1d5107(this[_0x224953(0x3b0)][_0x224953(0x3b1)][_0x224953(0x513)](),_0x4b4c36,_0x351b6b),_0x522867=_0x4b4c36[_0x224953(0x528)],_0x4e8768=new _0x141609[(_0x224953(0x4bb))]((0x0,_0xae3e2f['prepareShapeTextDocumentData'])(_0x351b6b,{'isHorizontal':_0x522867!==!0x1,'textRect':_0x5210d8,'verticalAlign':_0x481f2b,'horizontalAlign':_0x4b5740,'wrapStrategy':_0x1e3879[_0x224953(0x327)]})),_0x1ac5f5=new _0x4fd0c0[(_0x224953(0x290))](_0x4e8768),_0x4a2e27=_0x4fd0c0[_0x224953(0x58c)]['create'](_0x1ac5f5,_0x19cd85);_0x4a2e27[_0x224953(0x1f6)]();let _0x32ca57=_0x4a2e27[_0x224953(0x2e1)]()[_0x224953(0x27e)],_0xa80d57=(0x0,_0xae3e2f[_0x224953(0x371)])({'contentHeight':_0x32ca57,'verticalAlign':_0x481f2b,'viewportHeight':_0x5210d8['height']});_0x4e8768['updateDocumentStyle']({'pageSize':{'width':_0x522867===!0x1?_0x5210d8[_0x224953(0x4d8)]:_0x5210d8[_0x224953(0x44b)],'height':_0xa80d57[_0x224953(0x351)]}}),_0x4e8768[_0x224953(0x35c)]({'t':_0xa80d57[_0x224953(0x4d1)]}),_0x4a2e27[_0x224953(0x1f6)]();let _0x4f9479=new _0x4fd0c0[(_0x224953(0x594))]('shape-text-'+this[_0x224953(0x5b6)],_0x4a2e27,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x224953(0x48c)](!0x0)});_0x4f9479[_0x224953(0x24e)](_0x5210d8[_0x224953(0x44b)],_0xa80d57['contentHeight']),_0x390850[_0x224953(0x21e)](),_0x390850['translateWithPrecision'](_0x5210d8[_0x224953(0x487)],_0x5210d8['top']),_0x1e3879['clip']&&(_0x390850['beginPath'](),_0x390850['rect'](0x0,_0xa80d57[_0x224953(0x516)],_0x5210d8[_0x224953(0x44b)],_0xa80d57[_0x224953(0x535)]),_0x390850[_0x224953(0x382)]()),_0xa80d57[_0x224953(0x49e)]&&_0x390850[_0x224953(0x49a)](0x0,_0xa80d57['contentVerticalOffset']),_0x4f9479[_0x224953(0x30f)](_0x390850),_0x390850['restore'](),_0x4f9479['dispose'](),_0x4a2e27['dispose'](),_0x1ac5f5[_0x224953(0x270)](),_0x4e8768[_0x224953(0x270)]();}[_0x50e1ba(0x28a)](_0x39cfdc,_0x20c428,_0x345aed=!0x1){const _0x211a15=_0x50e1ba;if(!this[_0x211a15(0x1e9)])return this['makeDirty'](!0x1),this;let {width:_0x5779e6,height:_0x55b74c,left:_0x39a4f9,top:_0x190132}=this,_0x73f4dd=this[_0x211a15(0x255)]();if(_0x5779e6=_0x73f4dd[_0x211a15(0x44b)],_0x55b74c=_0x73f4dd[_0x211a15(0x4d8)],_0x39a4f9=_0x73f4dd[_0x211a15(0x487)],_0x190132=_0x73f4dd[_0x211a15(0x44a)],this[_0x211a15(0x218)](_0x20c428)){let {top:_0x4518e8,left:_0x208461,bottom:_0x302cc8,right:_0x49d882}=_0x20c428['viewBound'];if(_0x5779e6+this[_0x211a15(0x53a)]+_0x39a4f9<_0x208461||_0x49d882<_0x39a4f9||_0x55b74c+this[_0x211a15(0x53a)]+_0x190132<_0x4518e8||_0x302cc8<_0x190132)return this;}let _0x217cc7=_0x39a4f9+_0x5779e6/0x2,_0xe75ebb=_0x190132+_0x55b74c/0x2,_0x108aa4=this[_0x211a15(0x25f)]['getMatrix']();if(this[_0x211a15(0x3b0)][_0x211a15(0x3af)]){let _0x1c9044=this[_0x211a15(0x2f3)](),_0x506f5d=new _0x4fd0c0[(_0x211a15(0x3ed))]();_0x506f5d[_0x211a15(0x586)]({..._0x1c9044}),_0x108aa4=_0x506f5d[_0x211a15(0x490)]();}return _0x39cfdc[_0x211a15(0x21e)](),this[_0x211a15(0x3b0)][_0x211a15(0x3b1)][_0x211a15(0x585)]===!0x0||_0x39cfdc[_0x211a15(0x25f)](_0x108aa4[0x0],_0x108aa4[0x1],_0x108aa4[0x2],_0x108aa4[0x3],_0x217cc7,_0xe75ebb),this[_0x211a15(0x333)](_0x39cfdc,_0x20c428,_0x5779e6,_0x55b74c),_0x39cfdc[_0x211a15(0x38b)](),this[_0x211a15(0x48c)](!0x1),this;}[_0x50e1ba(0x368)](_0x23f43e){const _0x4c3c80=_0x50e1ba;let {left:_0x2575e1,top:_0x87dae9,width:_0x19766c,height:_0xd5cdeb}=this[_0x4c3c80(0x255)](),_0x359022=this[_0x4c3c80(0x25f)][_0x4c3c80(0x490)](),_0x4415a8=_0x2575e1+_0x19766c/0x2,_0x3a1024=_0x87dae9+_0xd5cdeb/0x2,_0x414086=new _0x4fd0c0[(_0x4c3c80(0x3ed))]([_0x359022[0x0],_0x359022[0x1],_0x359022[0x2],_0x359022[0x3],_0x4415a8,_0x3a1024]),_0x483902=this[_0x4c3c80(0x1fc)]();return(this[_0x4c3c80(0x331)]&&(_0x483902==null?void 0x0:_0x483902[_0x4c3c80(0x424)])===_0x4fd0c0[_0x4c3c80(0x5aa)][_0x4c3c80(0x2da)]?_0x483902[_0x4c3c80(0x3de)][_0x4c3c80(0x587)](_0x414086):_0x414086)[_0x4c3c80(0x2fa)]()[_0x4c3c80(0x4be)](_0x23f43e);}['isHit'](_0x45d98d){const _0x4d313e=_0x50e1ba;let {left:_0x4b46ef,top:_0xfc0894,width:_0x1f026a,height:_0x26e2a8}=this[_0x4d313e(0x255)](),_0x105c2d=_0x4b46ef+_0x1f026a/0x2,_0x3dd1f=_0xfc0894+_0x26e2a8/0x2,_0x409140=this[_0x4d313e(0x25f)][_0x4d313e(0x490)](),_0x26ad7a=new _0x4fd0c0[(_0x4d313e(0x3ed))]([_0x409140[0x0],_0x409140[0x1],_0x409140[0x2],_0x409140[0x3],_0x105c2d,_0x3dd1f]),_0x5aae3b=this['getParent'](),_0x5f04d0=(this[_0x4d313e(0x331)]&&(_0x5aae3b==null?void 0x0:_0x5aae3b[_0x4d313e(0x424)])===_0x4fd0c0[_0x4d313e(0x5aa)][_0x4d313e(0x2da)]?_0x5aae3b[_0x4d313e(0x3de)][_0x4d313e(0x587)](_0x26ad7a):_0x26ad7a)['invert']()['applyPoint'](_0x45d98d),_0x4f5653=_0x1f026a/0x2,_0x2793fb=_0x26e2a8/0x2,_0x175df0=this[_0x4d313e(0x3b0)]['shapeModel'];return _0x175df0&&_0x175df0[_0x4d313e(0x561)]()?_0x175df0[_0x4d313e(0x51b)](_0x5f04d0['x'],_0x5f04d0['y'],_0x1f026a,_0x26e2a8):_0x5f04d0['x']>=-_0x4f5653-this[_0x4d313e(0x53a)]/0x2&&_0x5f04d0['x']<=_0x4f5653+this['strokeWidth']/0x2&&_0x5f04d0['y']>=-_0x2793fb-this[_0x4d313e(0x53a)]/0x2&&_0x5f04d0['y']<=_0x2793fb+this[_0x4d313e(0x53a)]/0x2;}[_0x50e1ba(0x270)](){const _0xd1c5f2=_0x50e1ba;this[_0xd1c5f2(0x549)]['dispose'](),this['_props'][_0xd1c5f2(0x3b1)]=null,super['dispose']();}},_0xe1f07e=class extends _0x4fd0c0[_0x50e1ba(0x4de)]{constructor(_0x1498d7,_0x2c403d){const _0x1b464a=_0x50e1ba;super(_0x1498d7,_0x2c403d),_0x46f35a(this,_0x1b464a(0x2a4),null),_0x46f35a(this,_0x1b464a(0x40f),null),_0x46f35a(this,_0x1b464a(0x4a7),null),_0x46f35a(this,_0x1b464a(0x5b5),null),_0x2c403d&&this[_0x1b464a(0x22c)](_0x2c403d);}[_0x50e1ba(0x55b)](){const _0x53b042=_0x50e1ba;return{'unitId':this[_0x53b042(0x4a7)],'subUnitId':this[_0x53b042(0x5b5)],'drawingId':this[_0x53b042(0x2a4)]};}['setShapeProps'](_0x283c21){const _0x21f9a9=_0x50e1ba;_0x283c21[_0x21f9a9(0x35b)]!==void 0x0&&(this[_0x21f9a9(0x2a4)]=_0x283c21[_0x21f9a9(0x35b)]),_0x283c21[_0x21f9a9(0x5b7)]!==void 0x0&&(this['_adjName']=_0x283c21[_0x21f9a9(0x5b7)]),_0x283c21[_0x21f9a9(0x524)]!==void 0x0&&(this[_0x21f9a9(0x4a7)]=_0x283c21[_0x21f9a9(0x524)]),_0x283c21[_0x21f9a9(0x582)]!==void 0x0&&(this[_0x21f9a9(0x5b5)]=_0x283c21[_0x21f9a9(0x582)]),this[_0x21f9a9(0x433)]({'width':_0x283c21[_0x21f9a9(0x44b)],'height':_0x283c21[_0x21f9a9(0x4d8)]});}[_0x50e1ba(0x333)](_0x33ca76){const _0x42f576=_0x50e1ba;_0x4fd0c0['Circle'][_0x42f576(0x314)](_0x33ca76,{'radius':_0x1e2604[_0x42f576(0x2c5)][_0x42f576(0x330)],'fill':_0x1e2604[_0x42f576(0x2c5)]['adjHandleFill'],'stroke':_0x1e2604[_0x42f576(0x2c5)][_0x42f576(0x1f5)],'strokeWidth':0x1,'evented':!0x0});}};function _0x3ceba3(_0xc56709,_0x14d5c6){return function(_0x2c75da,_0x36a3a8){_0x14d5c6(_0x2c75da,_0x36a3a8,_0xc56709);};}function _0x488baa(_0xf7d9d,_0x2317d5,_0x11bd1b,_0x40ccf1){const _0x2711bd=_0x50e1ba;var _0xa97772=arguments[_0x2711bd(0x59f)],_0x1b6211=_0xa97772<0x3?_0x2317d5:_0x40ccf1===null?_0x40ccf1=Object[_0x2711bd(0x54b)](_0x2317d5,_0x11bd1b):_0x40ccf1,_0x169d20;if(typeof Reflect=='object'&&typeof Reflect[_0x2711bd(0x496)]==_0x2711bd(0x364))_0x1b6211=Reflect['decorate'](_0xf7d9d,_0x2317d5,_0x11bd1b,_0x40ccf1);else{for(var _0xfa3ad5=_0xf7d9d['length']-0x1;_0xfa3ad5>=0x0;_0xfa3ad5--)(_0x169d20=_0xf7d9d[_0xfa3ad5])&&(_0x1b6211=(_0xa97772<0x3?_0x169d20(_0x1b6211):_0xa97772>0x3?_0x169d20(_0x2317d5,_0x11bd1b,_0x1b6211):_0x169d20(_0x2317d5,_0x11bd1b))||_0x1b6211);}return _0xa97772>0x3&&_0x1b6211&&Object[_0x2711bd(0x5bb)](_0x2317d5,_0x11bd1b,_0x1b6211),_0x1b6211;}let _0x52a530=class extends _0x141609['Disposable']{constructor(_0x5f5ba9,_0x46acec,_0x2c31a0,_0x510e76,_0x595266,_0x4dad62){const _0x59460e=_0x50e1ba;super(),this[_0x59460e(0x5be)]=_0x5f5ba9,this[_0x59460e(0x4ba)]=_0x46acec,this[_0x59460e(0x457)]=_0x2c31a0,this[_0x59460e(0x584)]=_0x510e76,this[_0x59460e(0x3bd)]=_0x595266,this[_0x59460e(0x45c)]=_0x4dad62,_0x46f35a(this,_0x59460e(0x4fb),new Map()),this['disposeWithMe'](this['_shapeFormulaService']['presentationChanged$']['subscribe'](_0x7df26e=>{const _0x4e2e71=_0x59460e;var _0x1ea16f;(_0x1ea16f=this['_formulaShapes'][_0x4e2e71(0x404)](this[_0x4e2e71(0x33b)](_0x7df26e[_0x4e2e71(0x524)],_0x7df26e[_0x4e2e71(0x582)],_0x7df26e[_0x4e2e71(0x35b)])))==null||_0x1ea16f['forEach'](_0x3426e5=>_0x3426e5[_0x4e2e71(0x55f)](_0x7df26e[_0x4e2e71(0x36d)],_0x7df26e[_0x4e2e71(0x31b)]));})),this[_0x59460e(0x297)](this[_0x59460e(0x5be)][_0x59460e(0x272)][_0x59460e(0x5a8)](_0x6de532=>{const _0x422c73=_0x59460e;_0x6de532[_0x422c73(0x311)](_0x50ee3c=>{const _0x42dc41=_0x422c73;this[_0x42dc41(0x45c)]['unregister']({'unitId':_0x50ee3c[_0x42dc41(0x524)],'subUnitId':_0x50ee3c[_0x42dc41(0x582)],'shapeId':_0x50ee3c[_0x42dc41(0x4ae)]}),this[_0x42dc41(0x4fb)][_0x42dc41(0x43b)](this[_0x42dc41(0x33b)](_0x50ee3c[_0x42dc41(0x524)],_0x50ee3c['subUnitId'],_0x50ee3c['drawingId']));});}));}['renderDrawingShape'](_0x446497,_0x46f40e,_0x26cc86){const _0x41b937=_0x50e1ba;let {transform:_0x27515c,drawingType:_0x5f5a05,srcRect:_0x4cf861,prstGeom:_0x138bc4,groupId:_0x19776d,unitId:_0x2524fc,subUnitId:_0x5f3bf2,drawingId:_0x1b91a7,isMultiTransform:_0x34f7d0,transforms:_0x4cb969,hidden:_0x40009f,selectable:_0xf65882}=_0x446497;if(_0x5f5a05!==_0x141609[_0x41b937(0x397)][_0x41b937(0x285)]||!this[_0x41b937(0x5be)][_0x41b937(0x209)]()||_0x27515c==null)return;let _0x23247f=this['_drawingManagerService'][_0x41b937(0x550)](),_0x15171b=_0x34f7d0&&_0x4cb969?_0x4cb969:[_0x27515c],_0x2be546=[];for(let _0x27974b of _0x15171b){let {left:_0x118b7f,top:_0x53f63a,width:_0x452d55,height:_0x43ae7d,angle:_0x34c5f9,flipX:_0x3c2db8,flipY:_0x1e6dd4,skewX:_0x5c0780,skewY:_0x1a3810}=_0x27974b,_0x312c3a=_0x15171b[_0x41b937(0x492)](_0x27974b),_0x53b2b2=(0x0,_0x193b7c[_0x41b937(0x1e4)])({'unitId':_0x2524fc,'subUnitId':_0x5f3bf2,'drawingId':_0x1b91a7},_0x34f7d0?_0x312c3a:void 0x0),_0x18ed48=_0x46f40e[_0x41b937(0x3c2)](_0x53b2b2);if(_0x18ed48!=null){let _0xe425f6={'unitId':_0x2524fc,'subUnitId':_0x5f3bf2,'shapeId':_0x1b91a7};_0x18ed48 instanceof _0x2c197b&&this['refreshFormulaPresentation'](_0x18ed48,_0xe425f6),_0x18ed48[_0x41b937(0x433)]({'left':_0x118b7f,'top':_0x53f63a,'width':_0x452d55,'height':_0x43ae7d,'angle':_0x34c5f9,'flipX':_0x3c2db8,'flipY':_0x1e6dd4,'skewX':_0x5c0780,'skewY':_0x1a3810});continue;}let _0x492066=this[_0x41b937(0x5be)][_0x41b937(0x32d)](_0x2524fc,_0x5f3bf2),_0x3a8229=_0x492066['indexOf'](_0x1b91a7);if(_0x46f40e['getObjectIncludeInGroup'](_0x53b2b2)||!this[_0x41b937(0x5be)][_0x41b937(0x209)]())continue;let _0x32b5b9=this[_0x41b937(0x4ba)][_0x41b937(0x4d3)](_0x2524fc,_0x5f3bf2,_0x1b91a7);if(!_0x32b5b9)continue;let _0x4b5077=(0x0,_0x1e2604[_0x41b937(0x56f)])(_0x32b5b9[_0x41b937(0x232)]())?{..._0xae3e2f[_0x41b937(0x2b2)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0xae3e2f['SHAPE_EDITOR_TRANSFORMER_CONFIG'],_0x424bd3=_0x32b5b9[_0x41b937(0x513)]()['formulaBinding'],_0x20eb3d={'unitId':_0x2524fc,'subUnitId':_0x5f3bf2,'shapeId':_0x1b91a7};_0x424bd3&&this[_0x41b937(0x45c)]['register'](_0x20eb3d,_0x424bd3);let _0x17a816=new _0x2c197b(_0x53b2b2,{..._0x27974b,'zIndex':_0x3a8229===-0x1?_0x492066[_0x41b937(0x59f)]-0x1:_0x3a8229,'shapeModel':_0x32b5b9,'localeService':this['_localeService'],'shapeId':_0x1b91a7,'unitId':_0x2524fc,'subUnitId':_0x5f3bf2,'visible':_0x40009f!==!0x0,'evented':_0xf65882!==!0x1,'formulaPresentation':_0x424bd3?this['_shapeFormulaService'][_0x41b937(0x261)](_0x20eb3d):void 0x0,'animateFormulaPresentation':(_0x424bd3==null?void 0x0:_0x424bd3[_0x41b937(0x31b)])!==!0x1,'transformerConfig':_0x4b5077});if(_0x424bd3){let _0x5d2bec=this['_formulaKey'](_0x2524fc,_0x5f3bf2,_0x1b91a7),_0x37b397=this[_0x41b937(0x4fb)][_0x41b937(0x404)](_0x5d2bec)??new Set();_0x37b397[_0x41b937(0x30e)](_0x17a816),this[_0x41b937(0x4fb)][_0x41b937(0x3c7)](_0x5d2bec,_0x37b397);}_0x46f40e[_0x41b937(0x3a7)](_0x17a816,_0x4fd0c0[_0x41b937(0x31a)]),_0x23247f&&_0x46f40e[_0x41b937(0x2a2)](_0x17a816),_0x19776d&&(0x0,_0x21abf6[_0x41b937(0x4ab)])({'drawingId':_0x19776d,'unitId':_0x2524fc,'subUnitId':_0x5f3bf2},_0x17a816,_0x46f40e,this[_0x41b937(0x5be)]),_0x138bc4!=null&&_0x17a816[_0x41b937(0x37e)](_0x138bc4),_0x4cf861!=null&&_0x17a816[_0x41b937(0x25b)](_0x4cf861);let _0x2aa57d=this[_0x41b937(0x33a)](_0x17a816,_0x32b5b9[_0x41b937(0x513)]());if(_0x2aa57d){var _0x50c335;_0x26cc86==null||(_0x50c335=_0x26cc86[_0x41b937(0x35a)])==null||_0x50c335[_0x41b937(0x30e)](_0x2aa57d);}_0x2be546[_0x41b937(0x447)](_0x17a816);}return _0x2be546;}['_formulaKey'](_0x4b0341,_0x5d6730,_0x896144){return _0x4b0341+'\x00'+_0x5d6730+'\x00'+_0x896144;}[_0x50e1ba(0x384)](_0x52a4e0,_0x4ec056){const _0x56cfaa=_0x50e1ba;let _0x409d03=this[_0x56cfaa(0x4ba)][_0x56cfaa(0x4d3)](_0x4ec056[_0x56cfaa(0x524)],_0x4ec056[_0x56cfaa(0x582)],_0x4ec056[_0x56cfaa(0x35b)]),_0x2775cd=_0x409d03==null?void 0x0:_0x409d03[_0x56cfaa(0x513)]()[_0x56cfaa(0x312)],_0x48fdd1=this[_0x56cfaa(0x33b)](_0x4ec056[_0x56cfaa(0x524)],_0x4ec056['subUnitId'],_0x4ec056[_0x56cfaa(0x35b)]);if(_0x2775cd){this[_0x56cfaa(0x45c)][_0x56cfaa(0x48e)](_0x4ec056,_0x2775cd);let _0x2ab7be=this[_0x56cfaa(0x4fb)]['get'](_0x48fdd1)??new Set();_0x2ab7be[_0x56cfaa(0x30e)](_0x52a4e0),this[_0x56cfaa(0x4fb)][_0x56cfaa(0x3c7)](_0x48fdd1,_0x2ab7be);}else{var _0x3f7dc7;this[_0x56cfaa(0x45c)]['unregister'](_0x4ec056),(_0x3f7dc7=this[_0x56cfaa(0x4fb)][_0x56cfaa(0x404)](_0x48fdd1))==null||_0x3f7dc7[_0x56cfaa(0x43b)](_0x52a4e0);}_0x52a4e0[_0x56cfaa(0x55f)](_0x2775cd?this[_0x56cfaa(0x45c)]['getPresentation'](_0x4ec056):void 0x0,(_0x2775cd==null?void 0x0:_0x2775cd[_0x56cfaa(0x31b)])!==!0x1);}[_0x50e1ba(0x458)](_0x2fd41a){const _0x3c461b=_0x50e1ba;let _0x43ec0f=_0x2fd41a[_0x3c461b(0x3b1)][_0x3c461b(0x513)](),_0x394bb3=_0x43ec0f[_0x3c461b(0x320)];if(!_0x394bb3||_0x394bb3[_0x3c461b(0x375)]!==_0x1e2604[_0x3c461b(0x339)][_0x3c461b(0x4e1)]||!_0x394bb3[_0x3c461b(0x2ed)]){_0x2fd41a[_0x3c461b(0x469)](void 0x0);return;}this['_loadShapePictureFill'](_0x2fd41a,_0x43ec0f);}[_0x50e1ba(0x33a)](_0x3e9e4b,_0x34ff22){const _0x4b0b4c=_0x50e1ba;let _0x3fd208=_0x34ff22[_0x4b0b4c(0x320)];if(!_0x3fd208||_0x3fd208[_0x4b0b4c(0x375)]!==_0x1e2604[_0x4b0b4c(0x339)][_0x4b0b4c(0x4e1)]||!_0x3fd208[_0x4b0b4c(0x2ed)])return;let _0x8f28e9=_0x3fd208[_0x4b0b4c(0x2ed)],_0x2610fd=_0x3fd208[_0x4b0b4c(0x4c0)]??_0x1e2604[_0x4b0b4c(0x537)][_0x4b0b4c(0x566)],_0x317d84=this['_imageIoService'][_0x4b0b4c(0x408)](_0x8f28e9,_0x2610fd);if(_0x317d84){_0x3e9e4b['setFillImage'](_0x317d84);return;}return this[_0x4b0b4c(0x328)](_0x3e9e4b,_0x8f28e9,_0x2610fd);}async[_0x50e1ba(0x328)](_0x5e8264,_0x1978cc,_0x3e827d){const _0x40a56c=_0x50e1ba;let _0x559530;try{if(_0x3e827d===_0x1e2604[_0x40a56c(0x537)][_0x40a56c(0x560)])_0x559530=await this['_imageIoService'][_0x40a56c(0x259)](_0x1978cc);else{if(_0x3e827d===_0x1e2604[_0x40a56c(0x537)][_0x40a56c(0x566)])try{_0x559530=await this[_0x40a56c(0x3bd)][_0x40a56c(0x259)](_0x1978cc);}catch{_0x559530=_0x1978cc;}else _0x559530=_0x1978cc;}}catch(_0x2f9647){console[_0x40a56c(0x334)](_0x40a56c(0x1e5),_0x2f9647);return;}await new Promise(_0x10ed5f=>{const _0x35bea7=_0x40a56c;let _0x2e2027=new window[(_0x35bea7(0x2a7))]();_0x2e2027[_0x35bea7(0x54e)]=()=>{const _0x28b158=_0x35bea7;this['_imageIoService']['addImageSourceCache'](_0x1978cc,_0x3e827d,_0x2e2027),_0x5e8264[_0x28b158(0x469)](_0x2e2027),_0x10ed5f();},_0x2e2027[_0x35bea7(0x386)]=()=>{const _0xb227be=_0x35bea7;console[_0xb227be(0x334)](_0xb227be(0x421),_0x1978cc),_0x10ed5f();},_0x2e2027[_0x35bea7(0x3df)]=_0x559530;});}};_0x52a530=_0x488baa([_0x3ceba3(0x0,_0x193b7c[_0x50e1ba(0x349)]),_0x3ceba3(0x1,(0x0,_0x141609['Inject'])(_0x137641[_0x50e1ba(0x4f5)])),_0x3ceba3(0x2,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x141609[_0x50e1ba(0x4fc)])),_0x3ceba3(0x3,_0x141609[_0x50e1ba(0x590)]),_0x3ceba3(0x4,_0x141609[_0x50e1ba(0x266)]),_0x3ceba3(0x5,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x2b022d[_0x50e1ba(0x30d)]))],_0x52a530);let _0x29e2ba=class extends _0x141609['Disposable']{constructor(_0x4f72eb,_0x38d514,_0x1e1cf4,_0x1e50bb,_0x997548,_0x46ed9a){const _0x5b2403=_0x50e1ba;super(),this[_0x5b2403(0x5be)]=_0x4f72eb,this['_sheetsShapeService']=_0x38d514,this[_0x5b2403(0x2e0)]=_0x1e1cf4,this[_0x5b2403(0x2d9)]=_0x1e50bb,this['_univerInstanceService']=_0x997548,this['_commandService']=_0x46ed9a,_0x46f35a(this,_0x5b2403(0x3ff),null),_0x46f35a(this,_0x5b2403(0x4a7),null),_0x46f35a(this,_0x5b2403(0x5b5),null),_0x46f35a(this,_0x5b2403(0x41a),void 0x0),_0x46f35a(this,_0x5b2403(0x48a),[]),_0x46f35a(this,_0x5b2403(0x57f),0x0),_0x46f35a(this,_0x5b2403(0x39b),0x0),_0x46f35a(this,_0x5b2403(0x569),0x0),_0x46f35a(this,_0x5b2403(0x502),0x0),_0x46f35a(this,_0x5b2403(0x388),!0x1),_0x46f35a(this,_0x5b2403(0x559),void 0x0),_0x46f35a(this,'_activeShapeModel',void 0x0),_0x46f35a(this,_0x5b2403(0x4ce),void 0x0),_0x46f35a(this,'_adjHandlerPointerUp',void 0x0),_0x46f35a(this,_0x5b2403(0x477),!0x1),this[_0x5b2403(0x445)](),this[_0x5b2403(0x42b)]();}[_0x50e1ba(0x4f6)](_0x118c78,_0x2d582e,_0x42092f){const _0x10ca69=_0x50e1ba;let _0x3215b2=this[_0x10ca69(0x4ba)][_0x10ca69(0x4d3)](_0x118c78,_0x2d582e,_0x42092f);if(_0x3215b2)return _0x3215b2['getDrawingPoints']();}[_0x50e1ba(0x40a)](){const _0x2aadc5=_0x50e1ba;this[_0x2aadc5(0x575)]();}['refreshAdjustControls'](){const _0x3dc69e=_0x50e1ba;this[_0x3dc69e(0x56c)](!0x0);}[_0x50e1ba(0x204)](_0x4a08de){const _0x472ef8=_0x50e1ba;this[_0x472ef8(0x477)]=_0x4a08de;}[_0x50e1ba(0x47f)](_0x3777bd,_0x23ccb1,_0x440538,_0x553f9c){const _0x349b29=_0x50e1ba;let _0x51946b=this[_0x349b29(0x4ba)][_0x349b29(0x4d3)](_0x3777bd,_0x23ccb1,_0x440538);if(_0x51946b)return _0x51946b[_0x349b29(0x481)](_0x553f9c);}['_createShapeAdjustControls'](_0x3a31d4=!0x1){const _0x269281=_0x50e1ba;if(this[_0x269281(0x4a7)]===null||this[_0x269281(0x5b5)]===null||this[_0x269281(0x3ff)]===null)return;let _0x3fd747=this[_0x269281(0x2e0)][_0x269281(0x22b)](this['_unitId']);if(!_0x3fd747||!_0x3fd747[_0x269281(0x2ea)](_0x2e59a1[_0x269281(0x21f)])[_0x269281(0x4ed)]())return;let {scene:_0x31f89e}=_0x3fd747,_0x5317b9={'unitId':this['_unitId'],'subUnitId':this[_0x269281(0x5b5)],'drawingId':this[_0x269281(0x3ff)]},_0x560c5d=this[_0x269281(0x5be)][_0x269281(0x1fd)](_0x5317b9),{transform:_0x990880}=_0x560c5d;if(!_0x990880||_0x560c5d['drawingType']!==_0x141609[_0x269281(0x397)][_0x269281(0x285)])return;let {left:_0x4cf2a1,top:_0xae3ec7,width:_0x39a728,height:_0x3d5b4c,flipX:_0x5c277c,flipY:_0x512f90,angle:_0x32f61d=0x0}=_0x990880;if(_0x4cf2a1===void 0x0||_0xae3ec7===void 0x0)return;if(_0x3a31d4){let _0x4d9473=this[_0x269281(0x4ba)][_0x269281(0x4d3)](this['_unitId'],this[_0x269281(0x5b5)],this[_0x269281(0x3ff)]);_0x4d9473==null||_0x4d9473['updateContext']({'width':_0x39a728??0x0,'height':_0x3d5b4c??0x0}),this[_0x269281(0x41a)]=_0x4d9473==null?void 0x0:_0x4d9473[_0x269281(0x423)]();}let _0xcf3407=this['_activeShapeAdjustPointList'];for(let _0x1827b2=0x0;_0x1827b2<_0xcf3407[_0x269281(0x59f)];_0x1827b2++){let _0x30a9e0=_0xcf3407[_0x1827b2],_0x560b8e=_0x30a9e0['x'],_0x41b861=_0x30a9e0['y'];if(_0x5c277c&&(_0x560b8e=(_0x39a728||0x0)-_0x560b8e),_0x512f90&&(_0x41b861=(_0x3d5b4c||0x0)-_0x41b861),_0x32f61d!==0x0){let _0x1ddc64=(_0x39a728||0x0)/0x2,_0x1e6acd=(_0x3d5b4c||0x0)/0x2,_0x46a040=_0x32f61d*Math['PI']/0xb4,_0x2ef1ba=Math[_0x269281(0x3f6)](_0x46a040),_0xe43bfb=Math['sin'](_0x46a040),_0x2efc22=_0x560b8e-_0x1ddc64,_0x311ee8=_0x41b861-_0x1e6acd;_0x560b8e=_0x1ddc64+(_0x2efc22*_0x2ef1ba-_0x311ee8*_0xe43bfb),_0x41b861=_0x1e6acd+(_0x2efc22*_0xe43bfb+_0x311ee8*_0x2ef1ba);}let _0x51bd2={'x':_0x560b8e,'y':_0x41b861,'adjName':_0x30a9e0[_0x269281(0x5b7)]};this[_0x269281(0x25a)](_0x31f89e,_0x51bd2,_0x51bd2['adjName'],_0x4cf2a1,_0xae3ec7,this['_unitId'],this[_0x269281(0x5b5)]);}}[_0x50e1ba(0x56c)](_0x2dcc63=!0x1){const _0x5149f5=_0x50e1ba;_0x2dcc63&&(this[_0x5149f5(0x575)](),this[_0x5149f5(0x20a)](_0x2dcc63));}[_0x50e1ba(0x25a)](_0x3ee602,_0x1e984b,_0x3ea822,_0x1bb321,_0x184772,_0x5116de,_0x3e0495){const _0x3e5858=_0x50e1ba;if(!this['_activeShapeId'])return;let _0x5b37f1=_0x3ee602[_0x3e5858(0x3c2)](_0x3e5858(0x3e6)+this[_0x3e5858(0x3ff)]+'-'+_0x3ea822);if(_0x5b37f1){_0x5b37f1['transformByState']({'left':_0x1e984b['x']+_0x1bb321-_0x1e2604[_0x3e5858(0x2c5)]['adjHandleSize'],'top':_0x1e984b['y']+_0x184772-_0x1e2604[_0x3e5858(0x2c5)][_0x3e5858(0x330)]});return;}let _0x551eb0={'left':_0x1e984b['x']+_0x1bb321-_0x1e2604[_0x3e5858(0x2c5)]['adjHandleSize'],'top':_0x1e984b['y']+_0x184772-_0x1e2604[_0x3e5858(0x2c5)][_0x3e5858(0x330)],'adjName':_0x3ea822,'shapeId':this['_activeShapeId'],'unitId':_0x5116de,'subUnitId':_0x3e0495,'width':_0x1e2604[_0x3e5858(0x2c5)][_0x3e5858(0x330)]+0x8,'height':_0x1e2604[_0x3e5858(0x2c5)][_0x3e5858(0x330)]+0x8,'zIndex':_0x4fd0c0[_0x3e5858(0x31a)]+0x1,'evented':!0x0},_0x43ecd7=new _0xe1f07e(_0x3e5858(0x3e6)+this['_activeShapeId']+'-'+_0x3ea822,_0x551eb0);this[_0x3e5858(0x48a)][_0x3e5858(0x447)](_0x43ecd7),this['_attachAdjustEvent'](_0x43ecd7,_0x3ee602,_0x3ea822),_0x3ee602[_0x3e5858(0x3a7)](_0x43ecd7,_0x4fd0c0[_0x3e5858(0x31a)]+0x1);}[_0x50e1ba(0x575)](){const _0xd836a0=_0x50e1ba;this[_0xd836a0(0x48a)]['length']!==0x0&&(this[_0xd836a0(0x48a)]['forEach'](_0x120446=>{const _0x36c6b1=_0xd836a0;_0x120446[_0x36c6b1(0x270)]();}),this[_0xd836a0(0x48a)]=[]);}[_0x50e1ba(0x53d)](){const _0x2ca4a7=_0x50e1ba;this[_0x2ca4a7(0x20a)]();}[_0x50e1ba(0x58e)](_0x3a9e0a,_0xe89f1f){const _0x5a3335=_0x50e1ba;var _0x15a552;let _0x56be0b={'x':0x0,'y':0x0};if(!_0x3a9e0a||!_0xe89f1f)return _0x56be0b;let _0x64d6b3=this[_0x5a3335(0x2e0)][_0x5a3335(0x22b)](_0x3a9e0a);if(!_0x64d6b3||!_0x64d6b3[_0x5a3335(0x2ea)](_0x2e59a1[_0x5a3335(0x21f)])['getSkeleton'](_0xe89f1f))return _0x56be0b;let _0x37b540=_0x64d6b3[_0x5a3335(0x2ea)](_0x2e59a1[_0x5a3335(0x3ac)]),_0x371817=_0x37b540==null?void 0x0:_0x37b540[_0x5a3335(0x38e)]();if(!_0x371817)return _0x56be0b;let _0x3eca3c=(_0x15a552=this[_0x5a3335(0x50c)]['getUnit'](_0x3a9e0a))==null?void 0x0:_0x15a552[_0x5a3335(0x226)](_0xe89f1f);if(!_0x3eca3c)return _0x56be0b;let _0x370796=(0x0,_0x2e59a1['getViewportByCell'])(_0x371817[_0x5a3335(0x252)],_0x371817[_0x5a3335(0x2c4)],_0x64d6b3[_0x5a3335(0x498)],_0x3eca3c);return _0x370796?{'x':_0x370796[_0x5a3335(0x410)],'y':_0x370796[_0x5a3335(0x54a)]}:_0x56be0b;}[_0x50e1ba(0x4ec)](_0x213c6e,_0x2381f7){const _0x1fc4e5=_0x50e1ba;var _0x252181;let _0x4ab113=(_0x252181=this[_0x1fc4e5(0x50c)][_0x1fc4e5(0x2bd)](_0x213c6e))==null?void 0x0:_0x252181[_0x1fc4e5(0x226)](_0x2381f7);return(_0x4ab113==null?void 0x0:_0x4ab113['getZoomRatio']())??0x1;}[_0x50e1ba(0x583)](_0x565e49,_0x484ab6,_0xb16e35){const _0x41d295=_0x50e1ba;this[_0x41d295(0x297)]((0x0,_0x141609[_0x41d295(0x235)])(_0x565e49[_0x41d295(0x3bf)]['subscribeEvent']((_0x32f618,_0x4d315a)=>{const _0x155435=_0x41d295;var _0x6faf3d,_0x276aae,_0x1cefe9,_0x50ee95;let _0x3e04a2=_0x565e49[_0x155435(0x55b)]();this[_0x155435(0x559)]=this['_getShapeAdjustInfosById'](_0x3e04a2[_0x155435(0x524)],_0x3e04a2[_0x155435(0x582)],_0x3e04a2[_0x155435(0x4ae)],_0xb16e35),this['_activeShapeModel']=this['_sheetsShapeService'][_0x155435(0x4d3)](_0x3e04a2[_0x155435(0x524)],_0x3e04a2['subUnitId'],_0x3e04a2[_0x155435(0x4ae)]);let _0x2d9d7e=this[_0x155435(0x5be)][_0x155435(0x1fd)]({'unitId':this[_0x155435(0x4a7)],'subUnitId':this[_0x155435(0x5b5)],'drawingId':this[_0x155435(0x3ff)]}),{transform:_0x5ce01e}=_0x2d9d7e;if(_0x5ce01e){let {left:_0x3e6d59,top:_0x257835,width:_0x5b673a,height:_0x446db1}=_0x5ce01e;this[_0x155435(0x57f)]=_0x3e6d59||0x0,this['_baseShapeTop']=_0x257835||0x0,this[_0x155435(0x569)]=_0x5b673a||0x0,this[_0x155435(0x502)]=_0x446db1||0x0;}let _0x3023d0=!!((_0x6faf3d=_0x2d9d7e['transform'])!=null&&_0x6faf3d['flipX']),_0x240274=!!((_0x276aae=_0x2d9d7e[_0x155435(0x25f)])!=null&&_0x276aae['flipY']),_0x1fade2=((_0x1cefe9=_0x2d9d7e[_0x155435(0x25f)])==null?void 0x0:_0x1cefe9[_0x155435(0x4c4)])||0x0;this[_0x155435(0x388)]=!0x0,_0x484ab6[_0x155435(0x29f)]();let _0x554179={...((_0x50ee95=this[_0x155435(0x559)])==null?void 0x0:_0x50ee95['currentAdjustValues'])??{}};this['_adjHandlerPointerMove']=_0x484ab6['onPointerMove$'][_0x155435(0x4e4)]((_0x59d748,_0x1904e0)=>{const _0x5476a8=_0x155435;if(!this[_0x5476a8(0x388)])return;let {offsetX:_0x4a3745,offsetY:_0x20f09e}=_0x59d748,_0x5e635a=this[_0x5476a8(0x559)];if(this[_0x5476a8(0x1ea)]&&_0x5e635a){_0x484ab6[_0x5476a8(0x29f)](),_0x484ab6[_0x5476a8(0x239)](_0x4fd0c0[_0x5476a8(0x4af)][_0x5476a8(0x571)]);let _0x19dec0={'left':0x0,'top':0x0,'width':this['_baseShapeWidth'],'height':this['_baseShapeHeight']},_0x58e18b=this[_0x5476a8(0x58e)](this[_0x5476a8(0x4a7)],this[_0x5476a8(0x5b5)]),_0x2ca492=this[_0x5476a8(0x4ec)](this[_0x5476a8(0x4a7)],this['_subUnitId']),_0x15932e=_0x4a3745/_0x2ca492+_0x58e18b['x']-this[_0x5476a8(0x57f)],_0x495a7c=_0x20f09e/_0x2ca492+_0x58e18b['y']-this[_0x5476a8(0x39b)];if(_0x1fade2!==0x0){let _0x470e44=this['_baseShapeWidth']/0x2,_0x1f9922=this[_0x5476a8(0x502)]/0x2,_0x553c9c=_0x1fade2*Math['PI']/0xb4,_0x482bc0=Math['cos'](_0x553c9c),_0x3649cd=Math[_0x5476a8(0x5a9)](_0x553c9c),_0x5c9a85=_0x15932e-_0x470e44,_0x38e6f7=_0x495a7c-_0x1f9922;_0x15932e=_0x470e44+(_0x5c9a85*_0x482bc0+_0x38e6f7*_0x3649cd),_0x495a7c=_0x1f9922+(-_0x5c9a85*_0x3649cd+_0x38e6f7*_0x482bc0);}_0x3023d0&&(_0x15932e=this[_0x5476a8(0x569)]-_0x15932e),_0x240274&&(_0x495a7c=this[_0x5476a8(0x502)]-_0x495a7c);let _0x348609={'x':_0x15932e,'y':_0x495a7c},_0x373e44=this[_0x5476a8(0x1ea)]['calcAdjValues'](_0x19dec0,_0x348609,_0x5e635a,_0x3023d0,_0x240274);if(Object['keys'](_0x373e44)[_0x5476a8(0x59f)]===0x0)return;for(let [_0x1bac9b,_0x2ff52f]of Object[_0x5476a8(0x1ed)](_0x373e44))this[_0x5476a8(0x1ea)]['setAdjustValueByName'](_0x1bac9b,_0x2ff52f);this[_0x5476a8(0x1ea)][_0x5476a8(0x5a2)]({'width':this['_baseShapeWidth'],'height':this[_0x5476a8(0x502)]});let _0x1d8455=this[_0x5476a8(0x5be)][_0x5476a8(0x1fd)]({'unitId':_0x3e04a2['unitId'],'subUnitId':_0x3e04a2[_0x5476a8(0x582)],'drawingId':_0x3e04a2[_0x5476a8(0x4ae)]});_0x1d8455&&(this[_0x5476a8(0x2d9)][_0x5476a8(0x2de)](_0x1d8455,_0x484ab6),this[_0x5476a8(0x41a)]=this[_0x5476a8(0x4f6)](_0x3e04a2[_0x5476a8(0x524)],_0x3e04a2['subUnitId'],_0x3e04a2[_0x5476a8(0x4ae)]),this[_0x5476a8(0x53d)]());}_0x1904e0['stopPropagation']();}),this[_0x155435(0x3eb)]=_0x484ab6[_0x155435(0x597)][_0x155435(0x4e4)]((_0x1a682a,_0xf8f6a0)=>{const _0x15489e=_0x155435;this[_0x15489e(0x4ce)][_0x15489e(0x570)](),this['_adjHandlerPointerUp'][_0x15489e(0x570)](),_0x484ab6[_0x15489e(0x544)]();let _0x55f700=this['_activeAdjustInfo'];if(_0x55f700){let _0x4ff0c5=_0x3e04a2[_0x15489e(0x524)],_0x21b9e9=_0x3e04a2['subUnitId'],_0xc015c1=_0x3e04a2[_0x15489e(0x4ae)],_0x1b5d9b={};for(let _0x480f34 of Object[_0x15489e(0x4c1)](_0x55f700[_0x15489e(0x525)])){var _0x5ed2c3;let _0xe01cf6=(_0x5ed2c3=this[_0x15489e(0x1ea)])==null?void 0x0:_0x5ed2c3[_0x15489e(0x57c)](_0x480f34);_0xe01cf6!==void 0x0&&(_0x1b5d9b[_0x480f34]=_0xe01cf6);}Object[_0x15489e(0x4c1)](_0x1b5d9b)[_0x15489e(0x59f)]>0x0&&_0x35f8e1(this[_0x15489e(0x4d6)],_0x4ff0c5,_0x21b9e9,_0xc015c1,{'oldShapeData':{'adjustValues':_0x554179}},{'adjustValues':_0x1b5d9b});}this[_0x15489e(0x559)]=void 0x0,this[_0x15489e(0x1ea)]=void 0x0,this['_isStartAdjusting']=!0x1,_0xf8f6a0['stopPropagation'](),_0x484ab6['enableObjectsEvent']();}),_0x4d315a[_0x155435(0x4ff)]();})));}['_registerDrawingMoveHandler'](){const _0x27bd85=_0x50e1ba;let _0x4f0b5f=this['_univerInstanceService'][_0x27bd85(0x29c)](_0x141609[_0x27bd85(0x25d)][_0x27bd85(0x247)]);this[_0x27bd85(0x297)](_0x4f0b5f[_0x27bd85(0x4ee)]((0x0,_0x3fc41f['switchMap'])(_0x5b6ef8=>_0x5b6ef8?_0x5b6ef8[_0x27bd85(0x23b)][_0x27bd85(0x4ee)]((0x0,_0x3fc41f['switchMap'])(_0x42e7c2=>{const _0x20028e=_0x27bd85;if(!_0x42e7c2)return _0x3fc41f['EMPTY'];let _0x2a0431=_0x5b6ef8[_0x20028e(0x389)](),_0x13a6a3=this[_0x20028e(0x2e0)][_0x20028e(0x22b)](_0x2a0431),_0x3e0dda=_0x13a6a3==null?void 0x0:_0x13a6a3[_0x20028e(0x498)];return _0x3e0dda?(0x0,_0x3fc41f['of'])(_0x3e0dda):_0x3fc41f[_0x20028e(0x4b4)];})):_0x3fc41f[_0x27bd85(0x4b4)]))['subscribe'](_0x3383e7=>{const _0x33bad6=_0x27bd85;let _0x2a6e2b=_0x3383e7[_0x33bad6(0x592)]();this[_0x33bad6(0x297)](_0x3383e7[_0x33bad6(0x4a1)]['subscribeEvent'](()=>{const _0x1cfc2a=_0x33bad6;this[_0x1cfc2a(0x477)];})),this[_0x33bad6(0x297)](_0x2a6e2b[_0x33bad6(0x5b3)][_0x33bad6(0x5a8)](_0x3acef7=>{const _0x2f9d28=_0x33bad6;let {objects:_0x4d1ae8}=_0x3acef7;this['_createShapeAdjustControls'](),_0x4d1ae8!==null&&_0x4d1ae8['size']===0x1&&_0x4d1ae8[_0x2f9d28(0x4b6)]()['next']()['value']instanceof _0x2c197b&&this[_0x2f9d28(0x204)](!0x0);})),this[_0x33bad6(0x297)](_0x2a6e2b[_0x33bad6(0x4c8)]['subscribe'](()=>{const _0x51c8ca=_0x33bad6;this[_0x51c8ca(0x477)]&&this[_0x51c8ca(0x575)]();})),this['disposeWithMe'](_0x3383e7[_0x33bad6(0x597)][_0x33bad6(0x4e4)](()=>{const _0x1f1fa5=_0x33bad6;this['_isShouldShowDrawingShapeAdjust']&&(this[_0x1f1fa5(0x204)](!0x1),this[_0x1f1fa5(0x20a)]());})),this[_0x33bad6(0x297)](_0x2a6e2b['changeEnd$'][_0x33bad6(0x5a8)](()=>{const _0x465ae9=_0x33bad6;this[_0x465ae9(0x4a7)]&&this[_0x465ae9(0x5b5)]&&this[_0x465ae9(0x3ff)]&&this[_0x465ae9(0x5be)][_0x465ae9(0x1fd)]({'unitId':this['_unitId'],'subUnitId':this[_0x465ae9(0x5b5)],'drawingId':this[_0x465ae9(0x3ff)]})&&(this['_activeShapeAdjustPointList']=this[_0x465ae9(0x4f6)](this[_0x465ae9(0x4a7)],this['_subUnitId'],this['_activeShapeId']),this['_updateAdjustControlPositions']());}));}));}[_0x50e1ba(0x445)](){const _0x2f1918=_0x50e1ba;this['disposeWithMe'](this[_0x2f1918(0x4d6)][_0x2f1918(0x27b)](_0x107f71=>{const _0x4dca78=_0x2f1918;if(_0x107f71['id']!==_0x137641[_0x4dca78(0x23d)]['id'])return;let {unitId:_0x489c2b,subUnitId:_0x48dbb1,shapeId:_0x514754}=_0x107f71['params'];_0x489c2b===this[_0x4dca78(0x4a7)]&&_0x48dbb1===this[_0x4dca78(0x5b5)]&&_0x514754===this['_activeShapeId']&&this[_0x4dca78(0x461)]();})),this['disposeWithMe'](this[_0x2f1918(0x5be)][_0x2f1918(0x267)][_0x2f1918(0x5a8)](_0x4ba46d=>{const _0x50d4f2=_0x2f1918;if(_0x4ba46d[_0x50d4f2(0x59f)]===0x1){let _0x526e12=_0x4ba46d[0x0];if(_0x526e12[_0x50d4f2(0x589)]===_0x141609[_0x50d4f2(0x397)][_0x50d4f2(0x285)]&&this[_0x50d4f2(0x50c)]['getUnitType'](_0x526e12[_0x50d4f2(0x524)])===_0x141609[_0x50d4f2(0x25d)][_0x50d4f2(0x247)]){this[_0x50d4f2(0x3ff)]=_0x526e12['drawingId'];let {unitId:_0x39995b,subUnitId:_0x43448e}=_0x526e12;this['_activeShapeAdjustPointList']=this[_0x50d4f2(0x4f6)](_0x39995b,_0x43448e,this[_0x50d4f2(0x3ff)]),this[_0x50d4f2(0x4a7)]=_0x39995b,this[_0x50d4f2(0x5b5)]=_0x43448e,this[_0x50d4f2(0x575)](),this[_0x50d4f2(0x20a)]();return;}}this['_activeShapeId']=null,this[_0x50d4f2(0x41a)]=void 0x0,this[_0x50d4f2(0x4a7)]=null,this['_subUnitId']=null,this['_clearShapeAdjustControls']();})),this[_0x2f1918(0x297)](this['_drawingManagerService'][_0x2f1918(0x216)][_0x2f1918(0x5a8)](_0x3f2c44=>{const _0x4139fd=_0x2f1918;if(_0x3f2c44[_0x4139fd(0x59f)]===0x1){var _0x13a412;let _0x391ff7=_0x3f2c44[0x0];((_0x13a412=this['_drawingManagerService'][_0x4139fd(0x1fd)](_0x391ff7))==null?void 0x0:_0x13a412['drawingType'])===_0x141609[_0x4139fd(0x397)][_0x4139fd(0x285)]&&this[_0x4139fd(0x56c)](!0x0);}})),this[_0x2f1918(0x297)](this[_0x2f1918(0x5be)][_0x2f1918(0x272)][_0x2f1918(0x5a8)](_0x57caab=>{const _0x4c143b=_0x2f1918;for(let _0x28c442 of _0x57caab)this[_0x4c143b(0x3ff)]===_0x28c442[_0x4c143b(0x4ae)]&&(this[_0x4c143b(0x3ff)]=null,this[_0x4c143b(0x41a)]=void 0x0,this[_0x4c143b(0x4a7)]=null,this[_0x4c143b(0x5b5)]=null,this[_0x4c143b(0x575)]());}));}};_0x29e2ba=_0x488baa([_0x3ceba3(0x0,_0x193b7c[_0x50e1ba(0x349)]),_0x3ceba3(0x1,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x137641[_0x50e1ba(0x4f5)])),_0x3ceba3(0x2,(0x0,_0x141609['Inject'])(_0x4fd0c0[_0x50e1ba(0x403)])),_0x3ceba3(0x3,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x52a530)),_0x3ceba3(0x4,_0x141609[_0x50e1ba(0x465)]),_0x3ceba3(0x5,_0x141609['ICommandService'])],_0x29e2ba);let _0x45476e={'id':_0x50e1ba(0x32c),'type':_0x141609[_0x50e1ba(0x2c8)][_0x50e1ba(0x2ad)],'handler':(_0x3d5021,_0x299d7b)=>{const _0x21acb2=_0x50e1ba;let _0x374d85=_0x3d5021['get'](_0x193b7c[_0x21acb2(0x349)]),_0x181862=_0x3d5021[_0x21acb2(0x404)](_0x4fd0c0[_0x21acb2(0x403)]),_0x5703be=_0x3d5021[_0x21acb2(0x404)](_0x29e2ba);if(_0x299d7b==null)return!0x0;if(_0x299d7b[_0x21acb2(0x59f)]>0x0){var _0x5a6621;let _0xfacb23=(_0x5a6621=_0x181862[_0x21acb2(0x22b)](_0x299d7b[0x0][_0x21acb2(0x524)]))==null?void 0x0:_0x5a6621[_0x21acb2(0x498)];if(_0xfacb23){let {unitId:_0x1f75b5,subUnitId:_0x259b1b,drawingId:_0x21ce93}=_0x299d7b[0x0],_0x262dec=(0x0,_0x193b7c[_0x21acb2(0x1e4)])({'unitId':_0x1f75b5,'subUnitId':_0x259b1b,'drawingId':_0x21ce93},void 0x0),_0x1c39e7=_0xfacb23[_0x21acb2(0x3c2)](_0x262dec);if(_0x1c39e7){var _0x6e2d3d;(_0x6e2d3d=_0x181862[_0x21acb2(0x22b)](_0x299d7b[0x0][_0x21acb2(0x524)]))==null||(_0x6e2d3d=_0x6e2d3d[_0x21acb2(0x498)][_0x21acb2(0x53b)]())==null||_0x6e2d3d['activeAnObject'](_0x1c39e7);}}_0x374d85['focusDrawing'](_0x299d7b),_0x5703be[_0x21acb2(0x204)](!0x1);}return!0x0;}},_0x30dee9={'type':_0x141609[_0x50e1ba(0x2c8)][_0x50e1ba(0x55c)],'id':_0x50e1ba(0x22e),'handler':async(_0x5bcff9,_0x58992f)=>{const _0x448b93=_0x50e1ba;let _0x449fa9=(0x0,_0x200933['getSheetCommandTarget'])(_0x5bcff9[_0x448b93(0x404)](_0x141609[_0x448b93(0x465)]));if(!_0x449fa9)return!0x1;let _0x37e6f2=_0x5bcff9[_0x448b93(0x404)](_0x200933[_0x448b93(0x1e6)])[_0x448b93(0x208)]();if(!_0x37e6f2)return!0x1;let _0x1acdcb=_0x5bcff9['get'](_0x141609[_0x448b93(0x3f2)]),{unitId:_0x1f20ab,subUnitId:_0x4359b1}=_0x449fa9,{value:_0x158fe0,enhanceParams:_0x242d92}=_0x58992f,{range:_0x4617f6}=_0x37e6f2,_0x2b4e26={'unitId':_0x1f20ab,'subUnitId':_0x4359b1,'shapeType':_0x158fe0,'range':_0x4617f6,'shapeId':(0x0,_0x141609[_0x448b93(0x3a8)])()};if(_0x242d92){let _0x3ba1ef=(0x0,_0x1e2604[_0x448b93(0x56f)])(_0x158fe0),_0x36403d=_0x158fe0===_0x1e2604[_0x448b93(0x2b8)][_0x448b93(0x504)];_0x3ba1ef&&(_0x242d92['startArrow']||_0x242d92[_0x448b93(0x3cf)])&&(_0x2b4e26[_0x448b93(0x42a)]={'ln':{'startArrow':_0x242d92[_0x448b93(0x2a8)]?{'type':_0x1e2604[_0x448b93(0x25c)][_0x448b93(0x30a)],'size':_0x1e2604[_0x448b93(0x23a)][_0x448b93(0x4b1)]}:void 0x0,'endArrow':_0x242d92[_0x448b93(0x3cf)]?{'type':_0x1e2604['ShapeArrowTypeEnum'][_0x448b93(0x30a)],'size':_0x1e2604[_0x448b93(0x23a)][_0x448b93(0x2b6)]}:void 0x0}}),_0x36403d&&(_0x242d92['horizontal']||_0x242d92[_0x448b93(0x329)])&&(_0x2b4e26['shapeData']=(0x0,_0x2b022d[_0x448b93(0x299)])({'fill':{'fillType':_0x1e2604[_0x448b93(0x339)]['SolidFill'],'color':'#FFFFFF'},'isHorizontal':!!_0x242d92[_0x448b93(0x3ae)],'stroke':{'lineStrokeType':_0x1e2604[_0x448b93(0x38a)][_0x448b93(0x3c4)],'width':0x1,'color':_0x448b93(0x32b)}}));}let _0x3d0223=_0x1acdcb[_0x448b93(0x472)](_0x137641[_0x448b93(0x395)]['id'],_0x2b4e26);return setTimeout(()=>{const _0x399d22=_0x448b93;_0x1acdcb[_0x399d22(0x228)](_0x45476e['id'],[{'unitId':_0x1f20ab,'subUnitId':_0x4359b1,'drawingId':_0x2b4e26[_0x399d22(0x35b)]}]);},0xc8),_0x3d0223;}},_0x4b86ba='sheet.shape.edit.panel',_0x55694c=_0x50e1ba(0x486),_0x114db3=_0x50e1ba(0x1f2),_0x57ff38=_0x50e1ba(0x518),_0x4a7e86=(0x0,_0x141609[_0x50e1ba(0x4df)])(_0x50e1ba(0x51f)),_0x3c7997=_0x50e1ba(0x530),_0x75f1e={'id':_0x50e1ba(0x3a2),'type':_0x141609[_0x50e1ba(0x2c8)][_0x50e1ba(0x55c)],'handler':(_0x4a476b,_0x50dc82)=>{const _0x413f33=_0x50e1ba;let _0x4ab139=_0x4a476b[_0x413f33(0x404)](_0xf803d[_0x413f33(0x5b1)]),_0x29f5bb=_0x4a476b['get'](_0x141609[_0x413f33(0x4fc)]),_0x488e1c=_0x4a476b['get'](_0x141609[_0x413f33(0x465)]),_0x5ed66e=_0x4a476b['get'](_0x141609[_0x413f33(0x3f2)]);return(0x0,_0x200933[_0x413f33(0x245)])(_0x488e1c)?(_0x50dc82==null?void 0x0:_0x50dc82[_0x413f33(0x598)])===_0x413f33(0x3a3)?(_0x4ab139['close'](_0x55694c),!0x0):(_0x4ab139[_0x413f33(0x29e)]({'id':_0x55694c,'header':{'title':_0x29f5bb['t'](_0x413f33(0x4f0))},'children':{'label':_0x55694c},'onClose':()=>{_0x5ed66e['syncExecuteCommand'](_0x193b7c['SetDrawingSelectedOperation']['id'],[]);},'width':0x168}),!0x0):!0x1;}},_0x209047={'type':_0x141609[_0x50e1ba(0x2c8)]['OPERATION'],'id':'sheet.operation.open-sheet-shape-format-panel','handler'(){return!0x0;}};function _0x9725ca(_0x3133a3){const _0x3abe65=_0x50e1ba;let _0x15a804=_0x3133a3[_0x3abe65(0x404)](_0x193b7c[_0x3abe65(0x349)])[_0x3abe65(0x380)](),_0x3033a9=_0x15a804[_0x3abe65(0x59f)]===0x1?_0x15a804[0x0]:null;if(!_0x3033a9||_0x3033a9[_0x3abe65(0x589)]!==_0x141609[_0x3abe65(0x397)][_0x3abe65(0x285)])return null;let _0x1b3984=_0x3133a3[_0x3abe65(0x404)](_0x137641[_0x3abe65(0x4f5)]),_0x704697=_0x1b3984[_0x3abe65(0x1e1)](_0x3033a9[_0x3abe65(0x524)],_0x3033a9[_0x3abe65(0x582)],_0x3033a9[_0x3abe65(0x4ae)]),_0x368b22=_0x1b3984[_0x3abe65(0x338)](_0x3033a9['unitId'],_0x3033a9[_0x3abe65(0x582)],_0x3033a9['drawingId']);return _0x704697===void 0x0||!_0x368b22?null:{'drawing':_0x3033a9,'shapeData':_0x368b22,'shapeType':_0x704697};}let _0x519d9a={'id':'sheet.operation.apply-shape-quick-style','type':_0x141609[_0x50e1ba(0x2c8)]['OPERATION'],'handler':(_0xb20a,_0x5a7818)=>{const _0x2a6ba6=_0x50e1ba;let _0x81b0d4=_0x9725ca(_0xb20a),_0x528780=(0x0,_0x2b022d['getShapeQuickStylePreset'])((_0x5a7818==null?void 0x0:_0x5a7818['presetId'])??(_0x5a7818==null?void 0x0:_0x5a7818[_0x2a6ba6(0x598)])??'');if(!_0x81b0d4||!_0x528780||_0x528780[_0x2a6ba6(0x4b5)]!==(0x0,_0x2b022d[_0x2a6ba6(0x31e)])(_0x81b0d4['shapeData']))return!0x1;let _0x9ff70=(0x0,_0x2b022d[_0x2a6ba6(0x541)])(_0x81b0d4[_0x2a6ba6(0x42a)],_0x528780);if(!_0x9ff70)return!0x1;let {drawing:_0x263b74}=_0x81b0d4;return _0xb20a[_0x2a6ba6(0x404)](_0x141609[_0x2a6ba6(0x3f2)])[_0x2a6ba6(0x228)](_0x36db55['id'],{'unitId':_0x263b74[_0x2a6ba6(0x524)],'subUnitId':_0x263b74[_0x2a6ba6(0x582)],'shapeId':_0x263b74[_0x2a6ba6(0x4ae)],'shapeData':_0x9ff70,'oldShapeJSON':{'oldShapeData':_0x81b0d4[_0x2a6ba6(0x42a)]}});}},_0x6a5739={'id':_0x50e1ba(0x50f),'type':_0x141609['CommandType'][_0x50e1ba(0x2ad)],'handler':(_0x58543e,_0x1d3674)=>{const _0x521ea2=_0x50e1ba;let _0x20f52f=_0x9725ca(_0x58543e),_0x45a21f=(_0x1d3674==null?void 0x0:_0x1d3674[_0x521ea2(0x57e)])??(_0x1d3674==null?void 0x0:_0x1d3674['value']);if(!_0x20f52f||!_0x45a21f||(0x0,_0x1e2604['isConnectorShape'])(_0x20f52f['shapeType'])||(0x0,_0x1e2604[_0x521ea2(0x56f)])(_0x45a21f))return!0x1;let _0x373c74=(0x0,_0x2b022d[_0x521ea2(0x306)])(_0x20f52f[_0x521ea2(0x42a)],_0x45a21f);if(!_0x373c74)return!0x1;let {drawing:_0x4de96b}=_0x20f52f;return _0x58543e[_0x521ea2(0x404)](_0x141609[_0x521ea2(0x3f2)])['executeCommand'](_0x36db55['id'],{'unitId':_0x4de96b[_0x521ea2(0x524)],'subUnitId':_0x4de96b[_0x521ea2(0x582)],'shapeId':_0x4de96b[_0x521ea2(0x4ae)],'shapeType':_0x45a21f,'shapeData':_0x373c74,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x20f52f[_0x521ea2(0x57e)],'oldShapeData':_0x20f52f['shapeData']}});}},_0x5549d5=class extends _0x141609[_0x50e1ba(0x50e)]{constructor(_0x4e6c44,_0x4407c4){const _0x1d962b=_0x50e1ba;super(),this[_0x1d962b(0x57d)]=_0x4e6c44,this[_0x1d962b(0x5be)]=_0x4407c4,this['_registerImageShapeClipDelegate'](),this[_0x1d962b(0x57d)][_0x1d962b(0x1e0)](!0x0),this[_0x1d962b(0x297)]({'dispose':()=>this[_0x1d962b(0x57d)]['setCanUseShapeClip'](!0x1)});}[_0x50e1ba(0x50d)](){const _0xa42ee=_0x50e1ba;let _0x410410=this[_0xa42ee(0x57d)],_0x57036f=new Map(),_0x267161=_0x410410['registerClipDelegate']((_0x4ca4e9,_0x33d0e3,_0x29ef72,_0x153e64,_0xd4e8ab)=>{const _0x20eebe=_0xa42ee;let _0x452c53=_0x33d0e3;if(_0x452c53===_0x1e2604['ShapeTypeEnum']['None']||_0x33d0e3===_0x20eebe(0x2e8))return!0x1;try{let _0x2175b9=_0x57036f['get'](_0x33d0e3);return _0x2175b9||(_0x2175b9=new _0x1e2604['ShapeModel'](_0x452c53,_0x20eebe(0x5a7)+_0x33d0e3),_0x57036f['set'](_0x33d0e3,_0x2175b9)),_0x2175b9[_0x20eebe(0x2f7)](),_0xd4e8ab&&Object[_0x20eebe(0x4c1)](_0xd4e8ab)[_0x20eebe(0x59f)]>0x0&&_0x2175b9['setShapeData']({'adjustValues':_0xd4e8ab},!0x0),_0x2175b9['updateContext']({'width':_0x29ef72,'height':_0x153e64}),_0x2175b9[_0x20eebe(0x579)](_0x4ca4e9,{'left':0x0,'top':0x0,'width':_0x29ef72,'height':_0x153e64});}catch{return!0x1;}});this['disposeWithMe'](_0x267161),this[_0xa42ee(0x297)]({'dispose':()=>_0x57036f[_0xa42ee(0x391)]()});}[_0x50e1ba(0x596)](_0x123cc1,_0x1defca,_0x4782b1,_0x5e3a1a,_0x48d261){const _0x14e010=_0x50e1ba;let _0x596050=this[_0x14e010(0x5be)]['getDrawingData'](_0x123cc1,_0x1defca);if(!_0x596050[_0x4782b1])return;let _0x35940c={..._0x596050[_0x4782b1],'prstGeom':_0x5e3a1a,'adjustValues':_0x48d261};this[_0x14e010(0x5be)][_0x14e010(0x3c1)]([_0x35940c]);}};_0x5549d5=_0x488baa([_0x3ceba3(0x0,(0x0,_0x141609['Inject'])(_0x21abf6[_0x50e1ba(0x3d7)])),_0x3ceba3(0x1,(0x0,_0x141609['Inject'])(_0x193b7c[_0x50e1ba(0x349)]))],_0x5549d5);let _0x285581=_0x50e1ba(0x521),_0x330ef9=_0x50e1ba(0x2b5);function _0x23bec2({onShapeClick:_0x29ef69,excludeGroups:_0x107fd7}){const _0x440130=_0x50e1ba;return(0x0,_0x4e51e5[_0x440130(0x54d)])(_0xae3e2f[_0x440130(0x507)],{'excludeGroups':_0x107fd7,'onShapeClick':_0x29ef69,'scrollContainer':_0x440130(0x422)});}function _0x33e5b7(){const _0x4a3cbc=_0x50e1ba;let _0x4c21dd=(0x0,_0xf803d[_0x4a3cbc(0x394)])(_0x193b7c[_0x4a3cbc(0x349)]),_0x5a3d91=(0x0,_0xf803d['useDependency'])(_0x5549d5);return(0x0,_0x4e51e5['jsx'])(_0xae3e2f[_0x4a3cbc(0x39a)],{'buttonLabel':_0x4a3cbc(0x4db),'excludeGroups':[_0xae3e2f['ShapeGroupEnum'][_0x4a3cbc(0x2e7)]],'onShapeClick':_0x56ad83=>{const _0x1cebde=_0x4a3cbc;let _0x2a3462=_0x4c21dd[_0x1cebde(0x380)]()[_0x1cebde(0x4c3)](_0xe7329b=>_0xe7329b[_0x1cebde(0x589)]===_0x141609[_0x1cebde(0x397)]['DRAWING_IMAGE']);if(!_0x2a3462)return;let {unitId:_0x5e204e,subUnitId:_0x343282,drawingId:_0xc6ce69}=_0x2a3462;_0x5a3d91[_0x1cebde(0x596)](_0x5e204e,_0x343282,_0xc6ce69,_0x56ad83[_0x1cebde(0x4b5)]);}});}function _0x3d05d(){const _0x57a65c=_0x50e1ba;let _0x581ef2=(0x0,_0xf803d['useDependency'])(_0x193b7c['IDrawingManagerService']),_0x1935d9=(0x0,_0xf803d[_0x57a65c(0x394)])(_0x5549d5);return(0x0,_0x4e51e5['jsx'])(_0xae3e2f['ShapePickerDropdown'],{'buttonLabel':'sheets-shape-ui.imagePanel.crop.shape','excludeGroups':[_0xae3e2f[_0x57a65c(0x2e9)][_0x57a65c(0x2e7)]],'DropdownComponent':_0x365ec3['MobileDropdown'],'onShapeClick':_0xbf0af=>{const _0x344679=_0x57a65c;let _0x5189ba=_0x581ef2[_0x344679(0x380)]()[_0x344679(0x4c3)](_0x13c7c9=>_0x13c7c9[_0x344679(0x589)]===_0x141609[_0x344679(0x397)][_0x344679(0x308)]);if(!_0x5189ba)return;let {unitId:_0x2aade5,subUnitId:_0x263587,drawingId:_0x48ca1f}=_0x5189ba;_0x1935d9[_0x344679(0x596)](_0x2aade5,_0x263587,_0x48ca1f,_0xbf0af[_0x344679(0x4b5)]);}});}function _0x88d4b0(){const _0x46e31a=_0x50e1ba;let _0x28a624=(0x0,_0xf803d['useDependency'])(_0xf803d[_0x46e31a(0x4b7)]),_0x568f88=(0x0,_0xf803d['useDependency'])(_0x193b7c[_0x46e31a(0x349)]),_0x41d787=(0x0,_0xf803d[_0x46e31a(0x394)])(_0x141609[_0x46e31a(0x465)]),_0xbed1b1=_0x568f88['getFocusDrawings']()[0x0],_0x182936=_0xbed1b1?_0x41d787[_0x46e31a(0x473)](_0xbed1b1[_0x46e31a(0x524)]):void 0x0,_0x42a1f2=_0x182936===_0x141609[_0x46e31a(0x25d)][_0x46e31a(0x286)]?_0x46e31a(0x29b):_0x182936===_0x141609[_0x46e31a(0x25d)][_0x46e31a(0x247)]?_0x330ef9:void 0x0,_0x27b5ab=_0x42a1f2?_0x28a624[_0x46e31a(0x404)](_0x42a1f2):void 0x0;return _0x27b5ab?(0x0,_0x4e51e5['jsx'])(_0x27b5ab,{}):null;}function _0x4d39eb(){const _0x5b5892=_0x50e1ba;let _0x5347f9=(0x0,_0xf803d['useDependency'])(_0x141609[_0x5b5892(0x3f2)]);return(0x0,_0x4e51e5['jsx'])(_0x23bec2,{'onShapeClick':_0x56622d=>{const _0x4d6280=_0x5b5892;_0x5347f9['executeCommand'](_0x30dee9['id'],{'value':_0x56622d['type'],'enhanceParams':{'endArrow':_0x56622d[_0x4d6280(0x3cf)],'startArrow':_0x56622d[_0x4d6280(0x2a8)],'horizontal':_0x56622d['horizontal'],'vertical':_0x56622d[_0x4d6280(0x329)]}});}});}function _0x237deb(){const _0x28c614=_0x50e1ba;return(0x0,_0x4e51e5[_0x28c614(0x54d)])(_0x4d39eb,{});}function _0x46a699(_0x127df4){const _0x2078ac=_0x50e1ba;let _0x2288f7=_0x127df4[_0x2078ac(0x404)](_0x141609[_0x2078ac(0x465)]);return{'id':_0x30dee9['id'],'type':_0xf803d['MenuItemType']['SELECTOR'],'selections':[{'label':{'name':_0x285581,'hoverable':!0x1,'selectable':!0x1,'props':{'id':_0x30dee9['id']}}}],'icon':'ShapeIcon','tooltip':_0x2078ac(0x4e9),'activated$':(0x0,_0x2e59a1[_0x2078ac(0x4e8)])(_0x2288f7,!0x1,()=>new _0x3fc41f['Observable'](_0x571d63=>{_0x571d63['next'](!0x1);})),'hidden$':(0x0,_0xf803d[_0x2078ac(0x254)])(_0x127df4,_0x141609[_0x2078ac(0x25d)]['UNIVER_SHEET']),'disabled$':(0x0,_0x2e59a1[_0x2078ac(0x321)])(_0x127df4)};}function _0x2215d3(_0x56933c){const _0x3f4eb3=_0x50e1ba;let _0x21d152=_0x56933c[_0x3f4eb3(0x404)](_0x141609[_0x3f4eb3(0x465)]);return{'id':_0x75f1e['id'],'type':_0xf803d[_0x3f4eb3(0x460)][_0x3f4eb3(0x4c2)],'icon':'ObjectLayersIcon','title':'sheets-shape-ui.objectListPanel.open','tooltip':_0x3f4eb3(0x21a),'activated$':(0x0,_0x2e59a1[_0x3f4eb3(0x4e8)])(_0x21d152,!0x1,()=>new _0x3fc41f['Observable'](_0x881a91=>{const _0x224600=_0x3f4eb3;_0x881a91[_0x224600(0x1f9)](!0x1);})),'hidden$':(0x0,_0xf803d[_0x3f4eb3(0x254)])(_0x56933c,_0x141609[_0x3f4eb3(0x25d)][_0x3f4eb3(0x247)]),'disabled$':(0x0,_0x2e59a1[_0x3f4eb3(0x321)])(_0x56933c)};}let _0x5a41d7='sheet.menu.shape.flip-horizontal',_0x5017ee=_0x50e1ba(0x412);function _0x441fb1(_0x2aef8a){const _0x227ef4=_0x50e1ba;let _0x33e588=_0x2aef8a[_0x227ef4(0x404)](_0x193b7c[_0x227ef4(0x349)])[_0x227ef4(0x380)]();return _0x33e588[_0x227ef4(0x59f)]===0x1&&_0x33e588[0x0][_0x227ef4(0x589)]===_0x141609[_0x227ef4(0x397)]['DRAWING_SHAPE']?_0x33e588[0x0]:null;}function _0x27c83f(_0x446fd7){const _0x1dfeb9=_0x50e1ba;let _0xc8c48f=_0x446fd7['get'](_0x193b7c[_0x1dfeb9(0x349)]);return _0xc8c48f['focus$'][_0x1dfeb9(0x4ee)]((0x0,_0x3fc41f[_0x1dfeb9(0x23e)])(_0xc8c48f['getFocusDrawings']()),(0x0,_0x3fc41f['map'])(_0x5341d9=>_0x5341d9[_0x1dfeb9(0x59f)]!==0x1||_0x5341d9[0x0]['drawingType']!==_0x141609[_0x1dfeb9(0x397)][_0x1dfeb9(0x285)]));}function _0x2946b3(_0x59e98c){const _0x5024ca=_0x50e1ba;return{'id':_0x5a41d7,'commandId':_0x137641[_0x5024ca(0x545)]['id'],'type':_0xf803d['MenuItemType'][_0x5024ca(0x4c2)],'title':_0x5024ca(0x28c),'tooltip':_0x5024ca(0x28c),'icon':_0x5024ca(0x593),'hidden$':_0x27c83f(_0x59e98c),'params':()=>{const _0x478c73=_0x5024ca;let _0x198126=_0x441fb1(_0x59e98c);return _0x198126?{'unitId':_0x198126['unitId'],'subUnitId':_0x198126['subUnitId'],'shapeId':_0x198126[_0x478c73(0x4ae)],'flipH':!0x0}:void 0x0;}};}function _0xa662ee(_0x483ba6){const _0x725cb8=_0x50e1ba;return{'id':_0x5017ee,'commandId':_0x137641[_0x725cb8(0x545)]['id'],'type':_0xf803d[_0x725cb8(0x460)][_0x725cb8(0x4c2)],'title':_0x725cb8(0x3c0),'tooltip':_0x725cb8(0x3c0),'icon':_0x725cb8(0x454),'hidden$':_0x27c83f(_0x483ba6),'params':()=>{const _0x50568b=_0x725cb8;let _0x578ad6=_0x441fb1(_0x483ba6);return _0x578ad6?{'unitId':_0x578ad6[_0x50568b(0x524)],'subUnitId':_0x578ad6['subUnitId'],'shapeId':_0x578ad6[_0x50568b(0x4ae)],'flipV':!0x0}:void 0x0;}};}let _0x12e389='sheets-shape-ui.shape-format.quick-style-gallery',_0x331621=_0x50e1ba(0x256),_0x20628b=_0x50e1ba(0x309),_0x5afa76=_0x50e1ba(0x396);function _0x1b2a2e(){const _0xc2225b=_0x50e1ba;let _0x532ca4=(0x0,_0xf803d[_0xc2225b(0x394)])(_0x141609[_0xc2225b(0x3f2)]),_0x438b26=(0x0,_0xf803d[_0xc2225b(0x394)])(_0x193b7c[_0xc2225b(0x349)]),_0xbc2be5=(0x0,_0xf803d[_0xc2225b(0x394)])(_0x137641[_0xc2225b(0x4f5)]),_0x326dd0=()=>{const _0x1b3895=_0xc2225b;var _0x2fe2ba;let _0x3f8034=_0x438b26['getFocusDrawings']();if(_0x3f8034[_0x1b3895(0x59f)]!==0x1||((_0x2fe2ba=_0x3f8034[0x0])==null?void 0x0:_0x2fe2ba[_0x1b3895(0x589)])!==_0x141609[_0x1b3895(0x397)][_0x1b3895(0x285)])return null;let {unitId:_0x599959,subUnitId:_0x10c0ab,drawingId:_0x5dfbfc}=_0x3f8034[0x0],_0x2055fc=_0xbc2be5[_0x1b3895(0x1e1)](_0x599959,_0x10c0ab,_0x5dfbfc),_0x385242=_0xbc2be5[_0x1b3895(0x338)](_0x599959,_0x10c0ab,_0x5dfbfc);return _0x2055fc===void 0x0||!_0x385242?null:{'unitId':_0x599959,'subUnitId':_0x10c0ab,'drawingId':_0x5dfbfc,'shapeType':_0x2055fc,'shapeData':_0x385242};},_0x41d9ec=(0x0,_0xf803d[_0xc2225b(0x3d8)])(()=>new _0x3fc41f[(_0xc2225b(0x449))](_0x689d05=>{const _0x195cef=_0xc2225b;let _0x4e3cb9=()=>_0x689d05[_0x195cef(0x1f9)](_0x326dd0()),_0x3c7fa0=_0x438b26[_0x195cef(0x267)][_0x195cef(0x5a8)](_0x4e3cb9),_0x514682=_0x532ca4[_0x195cef(0x27b)](_0x5a7dec=>{const _0x4dc0c1=_0x195cef;_0x5a7dec['id']===_0x137641[_0x4dc0c1(0x23d)]['id']&&_0x4e3cb9();});return _0x4e3cb9(),()=>{const _0x592828=_0x195cef;_0x3c7fa0[_0x592828(0x570)](),_0x514682[_0x592828(0x270)]();};}),_0x326dd0(),!0x1,[_0x532ca4,_0x438b26,_0xbc2be5]);return{'selection':_0x41d9ec,'updateShapeData':_0x371e35=>{const _0x5a3a7c=_0xc2225b;_0x41d9ec&&_0x35f8e1(_0x532ca4,_0x41d9ec['unitId'],_0x41d9ec['subUnitId'],_0x41d9ec[_0x5a3a7c(0x4ae)],{'oldShapeData':_0x41d9ec['shapeData']},_0x371e35);}};}function _0x5ae2e2(){const _0x5efb22=_0x50e1ba;let {selection:_0x348ee4,updateShapeData:_0x354518}=_0x1b2a2e();return _0x348ee4?(0x0,_0x4e51e5['jsx'])(_0xae3e2f[_0x5efb22(0x480)],{'shapeData':_0x348ee4[_0x5efb22(0x42a)],'shapeType':_0x348ee4[_0x5efb22(0x57e)],'onUpdateShapeData':_0x354518}):null;}function _0x1b5b09(){const _0x364b2f=_0x50e1ba;let _0x11d936=(0x0,_0xf803d[_0x364b2f(0x394)])(_0x141609['ICommandService']),_0x5ab0f3=(0x0,_0xf803d[_0x364b2f(0x394)])(_0x141609['LocaleService']),{selection:_0x348b5f}=_0x1b2a2e();return _0x348b5f?(0x0,_0x4e51e5[_0x364b2f(0x54d)])(_0xae3e2f[_0x364b2f(0x46d)],{'type':(0x0,_0x2b022d[_0x364b2f(0x31e)])(_0x348b5f['shapeData']),'ariaLabel':_0x5ab0f3['t'](_0x364b2f(0x4a9)),'activePresetId':(0x0,_0x2b022d[_0x364b2f(0x4c6)])(_0x348b5f['shapeData']),'onSelect':_0x2b4cae=>_0x11d936['executeCommand'](_0x519d9a['id'],{'presetId':_0x2b4cae})}):null;}function _0x2fe990(){const _0x55ebed=_0x50e1ba;let {selection:_0x294fbd,updateShapeData:_0x1f3396}=_0x1b2a2e();return _0x294fbd?(0x0,_0x4e51e5[_0x55ebed(0x54d)])(_0xae3e2f['ShapeTextRibbonControl'],{'fontFamilyPopupDataComponent':_0x55ebed(0x251),'shapeData':_0x294fbd[_0x55ebed(0x42a)],'onUpdateShapeData':_0x1f3396}):null;}function _0x273723(){const _0xedb5a4=_0x50e1ba;var _0x44410b;let {selection:_0x5d73cc,updateShapeData:_0x5bbf6a}=_0x1b2a2e(),_0x14a9be=(0x0,_0xae3e2f[_0xedb5a4(0x221)])({'hostType':_0x141609[_0xedb5a4(0x25d)][_0xedb5a4(0x247)],'unitId':(_0x5d73cc==null?void 0x0:_0x5d73cc[_0xedb5a4(0x524)])??'','subUnitId':(_0x5d73cc==null?void 0x0:_0x5d73cc['subUnitId'])??'','shapeId':(_0x5d73cc==null?void 0x0:_0x5d73cc['drawingId'])??'','shapeData':_0x5d73cc==null?void 0x0:_0x5d73cc[_0xedb5a4(0x42a)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':'bottom','onUpdateBinding':_0x58fe38=>_0x5bbf6a({'formulaBinding':_0x58fe38})}),_0x543ecb=((_0x44410b=_0x14a9be[_0xedb5a4(0x2b0)])==null?void 0x0:_0x44410b[_0xedb5a4(0x543)](_0x449e1b=>_0x449e1b[_0xedb5a4(0x23f)])[_0xedb5a4(0x4c5)](_0x364128=>_0x364128[_0xedb5a4(0x1e9)]!==!0x1))??[];return _0x5d73cc!=null&&_0x5d73cc[_0xedb5a4(0x42a)][_0xedb5a4(0x312)]?(0x0,_0x4e51e5[_0xedb5a4(0x54d)])(_0xae3e2f[_0xedb5a4(0x1ee)],{'actions':_0x543ecb,'panel':_0x14a9be['panel']}):null;}let _0x545117=_0x50e1ba(0x2ce),_0x24daa3=_0x50e1ba(0x24b),_0x4eae5a='sheets-shape-ui.ribbon.shape-format.formula-control',_0x17b58d=_0x50e1ba(0x47b),_0x39d7fb='sheets-shape-ui.ribbon.shape-format.arrange-backward',_0x3f7918=_0x50e1ba(0x455),_0x2635e4=_0x50e1ba(0x361);function _0x2e7385(_0x67f63d){const _0x520009=_0x50e1ba;let _0xced97a=_0x67f63d[_0x520009(0x404)](_0x141609[_0x520009(0x3f2)]),_0x543cfc=_0x67f63d[_0x520009(0x404)](_0x193b7c[_0x520009(0x349)]),_0x5d674c=_0x67f63d[_0x520009(0x404)](_0x137641[_0x520009(0x4f5)]);return new _0x3fc41f['Observable'](_0x4418a9=>{const _0x50eff1=_0x520009;let _0x13571b=()=>{const _0x2d3293=_0x387f;let _0x5d2441=_0x5643b2(_0x67f63d),_0x364d31=_0x5d2441?_0x5d674c['getShapeDataById'](_0x5d2441['unitId'],_0x5d2441[_0x2d3293(0x582)],_0x5d2441[_0x2d3293(0x4ae)]):null;_0x4418a9[_0x2d3293(0x1f9)](_0x364d31?(0x0,_0x2b022d[_0x2d3293(0x4c6)])(_0x364d31)??'':'');},_0x5038ca=_0x543cfc[_0x50eff1(0x267)]['subscribe'](_0x13571b),_0x2dff56=_0xced97a[_0x50eff1(0x27b)](_0x4f2fdf=>{const _0x28400d=_0x50eff1;_0x4f2fdf['id']===_0x137641[_0x28400d(0x23d)]['id']&&_0x13571b();});return _0x13571b(),()=>{const _0x164e60=_0x50eff1;_0x5038ca[_0x164e60(0x570)](),_0x2dff56[_0x164e60(0x270)]();};});}function _0x5643b2(_0xb24f7e){const _0x393d8f=_0x50e1ba;var _0x26390c;let _0x1d0ebc=_0xb24f7e['get'](_0x193b7c['IDrawingManagerService'])[_0x393d8f(0x380)]();return _0x1d0ebc[_0x393d8f(0x59f)]===0x1&&((_0x26390c=_0x1d0ebc[0x0])==null?void 0x0:_0x26390c[_0x393d8f(0x589)])===_0x141609['DrawingTypeEnum'][_0x393d8f(0x285)]?_0x1d0ebc[0x0]:null;}function _0x5844bc(_0x3a152e,_0x4765be=!0x1){const _0x3ff3ca=_0x50e1ba;let _0x2b91e0=_0x3a152e['get'](_0x141609[_0x3ff3ca(0x3f2)]),_0x5d9379=_0x3a152e[_0x3ff3ca(0x404)](_0x193b7c[_0x3ff3ca(0x349)]),_0x16fdf9=_0x3a152e[_0x3ff3ca(0x404)](_0x137641[_0x3ff3ca(0x4f5)]);return new _0x3fc41f[(_0x3ff3ca(0x449))](_0x3b82ef=>{const _0x5f21b0=_0x3ff3ca;let _0x125dba=()=>{const _0x38cfcc=_0x387f;let _0x18730f=_0x5643b2(_0x3a152e);if(!_0x18730f){_0x3b82ef[_0x38cfcc(0x1f9)](!0x0);return;}let _0x51eab8=_0x16fdf9[_0x38cfcc(0x338)](_0x18730f[_0x38cfcc(0x524)],_0x18730f[_0x38cfcc(0x582)],_0x18730f[_0x38cfcc(0x4ae)]);_0x3b82ef[_0x38cfcc(0x1f9)](!_0x51eab8||_0x4765be&&_0x51eab8['formulaBinding']==null);},_0x1d0fb4=_0x5d9379[_0x5f21b0(0x267)][_0x5f21b0(0x5a8)](_0x125dba),_0x3059f8=_0x2b91e0[_0x5f21b0(0x27b)](_0x5cd4da=>{_0x5cd4da['id']===_0x137641['UpdateSheetsShapeDataMutation']['id']&&_0x125dba();});return _0x125dba(),()=>{const _0x449853=_0x5f21b0;_0x1d0fb4[_0x449853(0x570)](),_0x3059f8[_0x449853(0x270)]();};});}function _0x48f152(_0x5da3aa){const _0x367900=_0x50e1ba;let _0x4731a7=_0x5da3aa['get'](_0x193b7c[_0x367900(0x349)]),_0x49144f=_0x5da3aa[_0x367900(0x404)](_0x137641[_0x367900(0x4f5)]);return _0x4731a7[_0x367900(0x267)]['pipe']((0x0,_0x3fc41f['startWith'])(_0x4731a7[_0x367900(0x380)]()),(0x0,_0x3fc41f[_0x367900(0x33e)])(()=>{const _0x5f55be=_0x367900;let _0x5470c4=_0x5643b2(_0x5da3aa),_0x4eae4b=_0x5470c4?_0x49144f[_0x5f55be(0x1e1)](_0x5470c4[_0x5f55be(0x524)],_0x5470c4['subUnitId'],_0x5470c4['drawingId']):void 0x0;return _0x4eae4b===void 0x0||(0x0,_0x1e2604[_0x5f55be(0x56f)])(_0x4eae4b);}));}function _0xcdf0ae(_0x4a8b75){const _0x1ad3d5=_0x50e1ba;return{'id':_0x519d9a['id'],'type':_0xf803d[_0x1ad3d5(0x460)][_0x1ad3d5(0x471)],'icon':'PaintIcon','title':_0x1ad3d5(0x242),'tooltip':_0x1ad3d5(0x242),'selections':[{'label':{'name':_0x12e389,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x2e7385(_0x4a8b75),'hidden$':_0x5844bc(_0x4a8b75)};}function _0x3a69b4(_0x4c6025){const _0x5eaf64=_0x50e1ba;return{'id':_0x6a5739['id'],'type':_0xf803d['MenuItemType'][_0x5eaf64(0x471)],'icon':_0x5eaf64(0x420),'title':_0x5eaf64(0x2ba),'tooltip':_0x5eaf64(0x2ba),'slot':!0x0,'selections':[{'label':{'name':_0xae3e2f[_0x5eaf64(0x41c)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x48f152(_0x4c6025)};}function _0x9b8457(_0x405a48,_0x56e5b4,_0x4b797f=!0x1){const _0x414e7d=_0x50e1ba;return _0x3c2ae7=>({'id':_0x405a48,'type':_0xf803d[_0x414e7d(0x460)][_0x414e7d(0x4c2)],'label':{'name':_0x56e5b4,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x5844bc(_0x3c2ae7,_0x4b797f)});}let _0x443f84=_0x9b8457(_0x545117,_0x331621),_0xcf7ed6=_0x9b8457(_0x24daa3,_0x20628b),_0x1e36e6=_0x9b8457(_0x4eae5a,_0x5afa76,!0x0);function _0x3f3c66(_0x39298a,_0x38e4ca,_0x1b0fc1,_0x1c3572){const _0x1ef2a7=_0x50e1ba;return _0x3061be=>({'id':_0x39298a,'commandId':_0xf06dc[_0x1ef2a7(0x44f)]['id'],'type':_0xf803d[_0x1ef2a7(0x460)][_0x1ef2a7(0x4c2)],'icon':_0x1b0fc1,'title':_0x1c3572,'tooltip':_0x1c3572,'hidden$':_0x5844bc(_0x3061be),'params':()=>{const _0x1f952c=_0x1ef2a7;let _0x124a41=_0x5643b2(_0x3061be);return _0x124a41?{'unitId':_0x124a41[_0x1f952c(0x524)],'subUnitId':_0x124a41[_0x1f952c(0x582)],'drawingIds':[_0x124a41['drawingId']],'arrangeType':_0x38e4ca}:void 0x0;}});}let _0x118a43=_0x3f3c66(_0x17b58d,_0x141609[_0x50e1ba(0x46f)][_0x50e1ba(0x315)],_0x50e1ba(0x4ca),_0x50e1ba(0x348)),_0x2861c2=_0x3f3c66(_0x39d7fb,_0x141609[_0x50e1ba(0x46f)][_0x50e1ba(0x264)],_0x50e1ba(0x45e),'shape-editor-ui.arrange.backward'),_0x1962eb=_0x3f3c66(_0x3f7918,_0x141609['ArrangeTypeEnum']['front'],_0x50e1ba(0x393),_0x50e1ba(0x3da)),_0x2c8609=_0x3f3c66(_0x2635e4,_0x141609[_0x50e1ba(0x46f)][_0x50e1ba(0x250)],_0x50e1ba(0x5a1),'shape-editor-ui.arrange.back');function _0x2c7cee(_0x13c070){const _0x3fb31d=_0x50e1ba;return{'id':_0x209047['id'],'type':_0xf803d[_0x3fb31d(0x460)][_0x3fb31d(0x4c2)],'icon':_0x3fb31d(0x3a4),'title':_0x3fb31d(0x5b9),'tooltip':_0x3fb31d(0x5b9),'hidden$':_0x5844bc(_0x13c070),'params':()=>{const _0x4fc1ba=_0x3fb31d;let _0x5d81bb=_0x5643b2(_0x13c070);return _0x5d81bb?{'unitId':_0x5d81bb['unitId'],'subUnitId':_0x5d81bb[_0x4fc1ba(0x582)],'drawingId':_0x5d81bb['drawingId']}:void 0x0;}};}let _0x1b7045={[_0xf803d[_0x50e1ba(0x225)][_0x50e1ba(0x426)]]:{[_0x57ff38]:{'order':0x64,'title':_0x50e1ba(0x5b9),'contextual':!0x0,'sheets-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x519d9a['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0xcdf0ae},[_0x6a5739['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x3a69b4}},'sheets-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x545117]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x443f84}},'sheets-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x24daa3]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0xcf7ed6}},'sheets-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x5a41d7]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x2946b3},[_0x5017ee]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0xa662ee},[_0x17b58d]:{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x118a43},[_0x39d7fb]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x2861c2},[_0x3f7918]:{'order':0x4,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x1962eb},[_0x2635e4]:{'order':0x5,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x2c8609}},'sheets-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x4eae5a]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x1e36e6}},'sheets-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x209047['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x2c7cee},[_0xae3e2f[_0x50e1ba(0x366)]['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0xae3e2f['ShapeFloatingToolbarToggleFactory']}}}}},_0x46541b={[_0xf803d[_0x50e1ba(0x39c)][_0x50e1ba(0x28f)]]:{[_0x30dee9['id']]:{'order':0x4,'menuItemFactory':_0x46a699}}},_0x560b72={..._0x46541b,[_0xf803d[_0x50e1ba(0x39c)][_0x50e1ba(0x49c)]]:{[_0x75f1e['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x2215d3}},[_0xf803d['ContextMenuPosition'][_0x50e1ba(0x59c)]]:{[_0xf803d[_0x50e1ba(0x2b9)][_0x50e1ba(0x49c)]]:{[_0x5a41d7]:{'order':0x4,'menuItemFactory':_0x2946b3},[_0x5017ee]:{'order':0x5,'menuItemFactory':_0xa662ee}}}};var _0x2173cd='@univerjs-pro/sheets-shape-ui',_0x469d54=_0x50e1ba(0x211);let _0x63339a={'id':_0x50e1ba(0x52a),'type':_0x141609[_0x50e1ba(0x2c8)][_0x50e1ba(0x2ad)],'handler'(_0x7810a3,_0x2263ea){const _0x3ba54c=_0x50e1ba;return _0x2263ea?(_0x7810a3['get'](_0xae3e2f[_0x3ba54c(0x522)])[_0x3ba54c(0x29e)](_0x2263ea['mode'],{'hostType':_0x141609[_0x3ba54c(0x25d)][_0x3ba54c(0x247)],'shapeId':_0x2263ea[_0x3ba54c(0x4ae)],'subUnitId':_0x2263ea[_0x3ba54c(0x582)],'unitId':_0x2263ea[_0x3ba54c(0x524)]}),!0x0):!0x1;}},_0x40fe56=_0x50e1ba(0x3f3),_0x58c57b={},_0x32ad2f=class extends _0x141609[_0x50e1ba(0x50e)]{constructor(_0x22b66c,_0x18d8e8,_0xd7d74c,_0xcd7de1,_0x3181aa){const _0x13b763=_0x50e1ba;super(),this[_0x13b763(0x2d6)]=_0x22b66c,this[_0x13b763(0x5be)]=_0x18d8e8,this[_0x13b763(0x2e0)]=_0xd7d74c,this[_0x13b763(0x50c)]=_0xcd7de1,this[_0x13b763(0x230)]=_0x3181aa,_0x46f35a(this,_0x13b763(0x553),null),_0x46f35a(this,'_unitId',null),_0x46f35a(this,_0x13b763(0x5b5),null),_0x46f35a(this,'_activeAdjustPointList',void 0x0),_0x46f35a(this,'_shapes',[]),_0x46f35a(this,_0x13b763(0x337),0x0),_0x46f35a(this,'_baseTop',0x0),_0x46f35a(this,_0x13b763(0x4b0),0x0),_0x46f35a(this,'_baseHeight',0x0),_0x46f35a(this,_0x13b763(0x388),!0x1),_0x46f35a(this,_0x13b763(0x559),void 0x0),_0x46f35a(this,_0x13b763(0x1ea),void 0x0),_0x46f35a(this,'_adjHandlerPointerMove',void 0x0),_0x46f35a(this,_0x13b763(0x3eb),void 0x0),_0x46f35a(this,_0x13b763(0x4d0),!0x1),this[_0x13b763(0x210)](),this[_0x13b763(0x2a5)]();}['clearAdjustControls'](){const _0x3bd8f0=_0x50e1ba;this[_0x3bd8f0(0x20f)]();}[_0x50e1ba(0x461)](){const _0x1943fa=_0x50e1ba;this[_0x1943fa(0x20f)](),this[_0x1943fa(0x58b)](!0x0);}[_0x50e1ba(0x2f8)](_0x8fcae0,_0x2fde14,_0x5391d7,_0x250073){const _0x1b5584=_0x50e1ba;let _0xbe733=_0x8fcae0;if(_0xbe733!==_0x1e2604[_0x1b5584(0x2b8)][_0x1b5584(0x43a)]&&_0x8fcae0!==_0x1b5584(0x2e8))try{let _0x3ecb35=new _0x1e2604[(_0x1b5584(0x546))](_0xbe733,_0x1b5584(0x47e)+_0x8fcae0);return _0x250073&&_0x3ecb35['setShapeData']({'adjustValues':_0x250073},!0x0),_0x3ecb35['updateContext']({'width':_0x2fde14,'height':_0x5391d7}),_0x3ecb35;}catch{return;}}[_0x50e1ba(0x1fa)](_0x5080c2,_0x4c2094,_0x3319ec){const _0x5e2d94=_0x50e1ba;let _0x4875a5={'unitId':_0x5080c2,'subUnitId':_0x4c2094,'drawingId':_0x3319ec},_0x40ae2c=this[_0x5e2d94(0x5be)][_0x5e2d94(0x1fd)](_0x4875a5);if(!(!_0x40ae2c||_0x40ae2c[_0x5e2d94(0x589)]!==_0x141609[_0x5e2d94(0x397)][_0x5e2d94(0x308)]))return _0x40ae2c;}[_0x50e1ba(0x3ce)](_0x220730,_0x208b67,_0x1f467d){const _0x391f54=_0x50e1ba;let _0x5c520f=this[_0x391f54(0x2e0)][_0x391f54(0x22b)](_0x220730);if(!_0x5c520f)return;let {scene:_0x398314}=_0x5c520f,_0x2e56e9=(0x0,_0x193b7c['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x220730,'subUnitId':_0x208b67,'drawingId':_0x1f467d}),_0x4d1902=_0x398314['getObject'](_0x2e56e9);if(_0x4d1902 instanceof _0x4fd0c0[_0x391f54(0x2a7)]){let _0x19da37=_0x4d1902['prstGeom'];if(_0x19da37)return{'prstGeom':_0x19da37,'adjustValues':_0x4d1902[_0x391f54(0x20b)]};}}[_0x50e1ba(0x58b)](_0x33d3d5=!0x1){const _0x1634aa=_0x50e1ba;if(!this[_0x1634aa(0x4a7)]||!this['_subUnitId']||!this[_0x1634aa(0x553)])return;let _0x279b27=this['_renderManagerService']['getRenderUnitById'](this['_unitId']);if(!_0x279b27||!_0x279b27[_0x1634aa(0x2ea)](_0x2e59a1['SheetSkeletonManagerService'])[_0x1634aa(0x4ed)]())return;let {scene:_0x21ef66}=_0x279b27,_0x5dca0b=this[_0x1634aa(0x1fa)](this[_0x1634aa(0x4a7)],this[_0x1634aa(0x5b5)],this[_0x1634aa(0x553)]);if(!_0x5dca0b)return;let {transform:_0x50c498}=_0x5dca0b;if(!_0x50c498)return;let {left:_0x102c96,top:_0x470ce4,width:_0x2215f8,height:_0x1b783b,flipX:_0x2ceac5,flipY:_0x11267f,angle:_0x533c34=0x0}=_0x50c498;if(_0x102c96===void 0x0||_0x470ce4===void 0x0)return;let _0x305602=this['_getImagePrstGeom'](this[_0x1634aa(0x4a7)],this[_0x1634aa(0x5b5)],this[_0x1634aa(0x553)]);if(!_0x305602)return;if(_0x33d3d5){let _0x1a301c=this[_0x1634aa(0x2f8)](_0x305602[_0x1634aa(0x5b0)],_0x2215f8||0x0,_0x1b783b||0x0,_0x305602[_0x1634aa(0x4ea)]);if(!_0x1a301c)return;this[_0x1634aa(0x36a)]=_0x1a301c[_0x1634aa(0x423)]();}let _0x508295=this['_activeAdjustPointList'];if(!(!_0x508295||_0x508295[_0x1634aa(0x59f)]===0x0))for(let _0x258dd0=0x0;_0x258dd0<_0x508295[_0x1634aa(0x59f)];_0x258dd0++){let _0x5e71c7=_0x508295[_0x258dd0],_0x41471f=_0x5e71c7['x'],_0x38c853=_0x5e71c7['y'];if(_0x2ceac5&&(_0x41471f=(_0x2215f8||0x0)-_0x41471f),_0x11267f&&(_0x38c853=(_0x1b783b||0x0)-_0x38c853),_0x533c34!==0x0){let _0x2e52ab=(_0x2215f8||0x0)/0x2,_0x4f0a13=(_0x1b783b||0x0)/0x2,_0x2900ba=_0x533c34*Math['PI']/0xb4,_0xd68494=Math[_0x1634aa(0x3f6)](_0x2900ba),_0x1be006=Math[_0x1634aa(0x5a9)](_0x2900ba),_0x372ba5=_0x41471f-_0x2e52ab,_0x34af90=_0x38c853-_0x4f0a13;_0x41471f=_0x2e52ab+(_0x372ba5*_0xd68494-_0x34af90*_0x1be006),_0x38c853=_0x4f0a13+(_0x372ba5*_0x1be006+_0x34af90*_0xd68494);}let _0x2f8a3a={'x':_0x41471f,'y':_0x38c853,'adjName':_0x5e71c7[_0x1634aa(0x5b7)]};this[_0x1634aa(0x562)](_0x21ef66,_0x2f8a3a,_0x2f8a3a[_0x1634aa(0x5b7)],_0x102c96,_0x470ce4,this[_0x1634aa(0x4a7)],this['_subUnitId']);}}['_addControl'](_0x19d8b5,_0x3d455c,_0xad8573,_0x476cbb,_0x365240,_0x54a7f8,_0x1daa5c){const _0xa5f22c=_0x50e1ba;if(!this[_0xa5f22c(0x553)])return;let _0xaaa0e4=_0xa5f22c(0x52f)+this[_0xa5f22c(0x553)]+'-'+_0xad8573,_0x4b3788=_0x19d8b5[_0xa5f22c(0x3c2)](_0xaaa0e4);if(_0x4b3788){_0x4b3788[_0xa5f22c(0x433)]({'left':_0x3d455c['x']+_0x476cbb-_0x1e2604['ShapeDefaultConfig'][_0xa5f22c(0x330)],'top':_0x3d455c['y']+_0x365240-_0x1e2604[_0xa5f22c(0x2c5)][_0xa5f22c(0x330)]});return;}let _0x5772dc=new _0xe1f07e(_0xaaa0e4,{'left':_0x3d455c['x']+_0x476cbb-_0x1e2604[_0xa5f22c(0x2c5)][_0xa5f22c(0x330)],'top':_0x3d455c['y']+_0x365240-_0x1e2604[_0xa5f22c(0x2c5)][_0xa5f22c(0x330)],'adjName':_0xad8573,'shapeId':this[_0xa5f22c(0x553)],'unitId':_0x54a7f8,'subUnitId':_0x1daa5c,'width':_0x1e2604['ShapeDefaultConfig']['adjHandleSize']+0x8,'height':_0x1e2604[_0xa5f22c(0x2c5)][_0xa5f22c(0x330)]+0x8,'zIndex':_0x4fd0c0[_0xa5f22c(0x31a)]+0x1,'evented':!0x0});this[_0xa5f22c(0x48a)][_0xa5f22c(0x447)](_0x5772dc),this[_0xa5f22c(0x583)](_0x5772dc,_0x19d8b5,_0xad8573),_0x19d8b5[_0xa5f22c(0x3a7)](_0x5772dc,_0x4fd0c0[_0xa5f22c(0x31a)]+0x1);}[_0x50e1ba(0x20f)](){const _0x4ac4a0=_0x50e1ba;this[_0x4ac4a0(0x48a)][_0x4ac4a0(0x59f)]!==0x0&&(this[_0x4ac4a0(0x48a)][_0x4ac4a0(0x311)](_0x2ec20e=>_0x2ec20e[_0x4ac4a0(0x270)]()),this['_shapes']=[]);}['_getScrollInfo'](_0x2649d3,_0x485f09){const _0x409205=_0x50e1ba;var _0x194739;let _0xd3a205={'x':0x0,'y':0x0},_0x3aa741=this[_0x409205(0x2e0)]['getRenderUnitById'](_0x2649d3);if(!_0x3aa741||!_0x3aa741['with'](_0x2e59a1[_0x409205(0x21f)])['getSkeleton'](_0x485f09))return _0xd3a205;let _0x3a65f7=_0x3aa741[_0x409205(0x2ea)](_0x2e59a1[_0x409205(0x3ac)]),_0x237b9a=_0x3a65f7==null?void 0x0:_0x3a65f7[_0x409205(0x38e)]();if(!_0x237b9a)return _0xd3a205;let _0x3bf269=(_0x194739=this[_0x409205(0x50c)]['getUnit'](_0x2649d3))==null?void 0x0:_0x194739['getSheetBySheetId'](_0x485f09);if(!_0x3bf269)return _0xd3a205;let _0x5aa8b6=(0x0,_0x2e59a1[_0x409205(0x538)])(_0x237b9a[_0x409205(0x252)],_0x237b9a[_0x409205(0x2c4)],_0x3aa741['scene'],_0x3bf269);return _0x5aa8b6?{'x':_0x5aa8b6[_0x409205(0x410)],'y':_0x5aa8b6['viewportScrollY']}:_0xd3a205;}[_0x50e1ba(0x4ec)](_0x37afa2,_0x333d39){const _0x338c0d=_0x50e1ba;var _0x18d401;let _0x34544b=(_0x18d401=this[_0x338c0d(0x50c)]['getUnit'](_0x37afa2))==null?void 0x0:_0x18d401[_0x338c0d(0x226)](_0x333d39);return(_0x34544b==null?void 0x0:_0x34544b[_0x338c0d(0x33c)]())??0x1;}[_0x50e1ba(0x583)](_0x1a2eaf,_0x58ccb4,_0x574e2f){const _0x82f62=_0x50e1ba;this['disposeWithMe']((0x0,_0x141609['toDisposable'])(_0x1a2eaf[_0x82f62(0x3bf)][_0x82f62(0x4e4)]((_0x4a3d24,_0x5e77b3)=>{const _0x242a3a=_0x82f62;var _0x47b864,_0x388d04,_0x184949;let {unitId:_0x14ecd5,subUnitId:_0x321fcd,drawingId:_0x15e579}=_0x1a2eaf[_0x242a3a(0x55b)](),_0xd2e7a0=this[_0x242a3a(0x1fa)](_0x14ecd5,_0x321fcd,_0x15e579);if(!(_0xd2e7a0!=null&&_0xd2e7a0[_0x242a3a(0x25f)]))return;let {left:_0x52e994,top:_0x20dc1f,width:_0x341452,height:_0x469833}=_0xd2e7a0['transform'];this[_0x242a3a(0x337)]=_0x52e994||0x0,this[_0x242a3a(0x292)]=_0x20dc1f||0x0,this[_0x242a3a(0x4b0)]=_0x341452||0x0,this[_0x242a3a(0x2b4)]=_0x469833||0x0;let _0xbffd4e=!!((_0x47b864=_0xd2e7a0[_0x242a3a(0x25f)])!=null&&_0x47b864[_0x242a3a(0x217)]),_0x213608=!!((_0x388d04=_0xd2e7a0['transform'])!=null&&_0x388d04[_0x242a3a(0x580)]),_0x5707bc=((_0x184949=_0xd2e7a0[_0x242a3a(0x25f)])==null?void 0x0:_0x184949[_0x242a3a(0x4c4)])||0x0,_0x3afca8=this[_0x242a3a(0x3ce)](_0x14ecd5,_0x321fcd,_0x15e579);if(!_0x3afca8)return;let _0x1a8285=this[_0x242a3a(0x2f8)](_0x3afca8[_0x242a3a(0x5b0)],this[_0x242a3a(0x4b0)],this[_0x242a3a(0x2b4)],_0x3afca8[_0x242a3a(0x4ea)]);if(!_0x1a8285||(this[_0x242a3a(0x1ea)]=_0x1a8285,this[_0x242a3a(0x559)]=_0x1a8285['getAdjustInfoByName'](_0x574e2f),!this[_0x242a3a(0x559)]))return;this[_0x242a3a(0x388)]=!0x0,_0x58ccb4['disableObjectsEvent']();let _0x4a1e34=_0x3afca8[_0x242a3a(0x5b0)];this[_0x242a3a(0x4ce)]=_0x58ccb4[_0x242a3a(0x4a1)][_0x242a3a(0x4e4)]((_0x2b217b,_0x25ec08)=>{const _0x5b8def=_0x242a3a;if(!this[_0x5b8def(0x388)])return;let {offsetX:_0x1d9988,offsetY:_0x211cc4}=_0x2b217b,_0x44e9b5=this['_activeAdjustInfo'];if(!this[_0x5b8def(0x1ea)]||!_0x44e9b5)return;_0x58ccb4['disableObjectsEvent'](),_0x58ccb4[_0x5b8def(0x239)](_0x4fd0c0[_0x5b8def(0x4af)]['CROSSHAIR']);let _0x34190c={'left':0x0,'top':0x0,'width':this[_0x5b8def(0x4b0)],'height':this[_0x5b8def(0x2b4)]},_0x1e2525=this['_getScrollInfo'](_0x14ecd5,_0x321fcd),_0x2fb09e=this[_0x5b8def(0x4ec)](_0x14ecd5,_0x321fcd),_0x2c1f26=_0x1d9988/_0x2fb09e+_0x1e2525['x']-this[_0x5b8def(0x337)],_0x221e2f=_0x211cc4/_0x2fb09e+_0x1e2525['y']-this[_0x5b8def(0x292)];if(_0x5707bc!==0x0){let _0x582322=this[_0x5b8def(0x4b0)]/0x2,_0x3a2843=this[_0x5b8def(0x2b4)]/0x2,_0x2ee2e0=_0x5707bc*Math['PI']/0xb4,_0x2af85b=Math['cos'](_0x2ee2e0),_0x8adeaf=Math[_0x5b8def(0x5a9)](_0x2ee2e0),_0x201367=_0x2c1f26-_0x582322,_0xae5609=_0x221e2f-_0x3a2843;_0x2c1f26=_0x582322+(_0x201367*_0x2af85b+_0xae5609*_0x8adeaf),_0x221e2f=_0x3a2843+(-_0x201367*_0x8adeaf+_0xae5609*_0x2af85b);}_0xbffd4e&&(_0x2c1f26=this['_baseWidth']-_0x2c1f26),_0x213608&&(_0x221e2f=this['_baseHeight']-_0x221e2f);let _0x4a1513=this[_0x5b8def(0x1ea)][_0x5b8def(0x325)](_0x34190c,{'x':_0x2c1f26,'y':_0x221e2f},_0x44e9b5,_0xbffd4e,_0x213608);if(Object[_0x5b8def(0x4c1)](_0x4a1513)['length']!==0x0){for(let [_0x202774,_0x1ac1a1]of Object[_0x5b8def(0x1ed)](_0x4a1513))this[_0x5b8def(0x1ea)][_0x5b8def(0x21d)](_0x202774,_0x1ac1a1);this[_0x5b8def(0x1ea)][_0x5b8def(0x5a2)]({'width':this[_0x5b8def(0x4b0)],'height':this[_0x5b8def(0x2b4)]}),this[_0x5b8def(0x47a)](_0x14ecd5,_0x321fcd,_0x15e579,_0x4a1513),this[_0x5b8def(0x36a)]=this[_0x5b8def(0x1ea)]['getDrawingPoints'](),this['_createControls'](),_0x25ec08['stopPropagation']();}}),this[_0x242a3a(0x3eb)]=_0x58ccb4[_0x242a3a(0x597)][_0x242a3a(0x4e4)]((_0x5256ff,_0x1e6a20)=>{const _0x8331e5=_0x242a3a;if(this[_0x8331e5(0x4ce)]['unsubscribe'](),this[_0x8331e5(0x3eb)][_0x8331e5(0x570)](),_0x58ccb4['resetCursor'](),this[_0x8331e5(0x1ea)]){let _0x5c545e=this[_0x8331e5(0x1ea)][_0x8331e5(0x2f4)](),_0x50148e={};for(let _0x39d1d8 of _0x5c545e){let _0x79030a=this['_activeShapeModel']['getAdjustValueByName'](_0x39d1d8);_0x79030a!==void 0x0&&(_0x50148e[_0x39d1d8]=_0x79030a);}this[_0x8331e5(0x230)]['clipByShape'](_0x14ecd5,_0x321fcd,_0x15e579,_0x4a1e34,_0x50148e);}this['_activeAdjustInfo']=void 0x0,this['_activeShapeModel']=void 0x0,this[_0x8331e5(0x388)]=!0x1,_0x1e6a20[_0x8331e5(0x4ff)](),_0x58ccb4[_0x8331e5(0x2a1)]();}),_0x5e77b3[_0x242a3a(0x4ff)]();})));}[_0x50e1ba(0x47a)](_0x4335a1,_0xa9138f,_0x497df2,_0x3a4ac8){const _0x4b7f47=_0x50e1ba;let _0x1e6fc8=this[_0x4b7f47(0x2e0)]['getRenderUnitById'](_0x4335a1);if(!_0x1e6fc8)return;let {scene:_0x5f01b9}=_0x1e6fc8,_0x44ed88=(0x0,_0x193b7c['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x4335a1,'subUnitId':_0xa9138f,'drawingId':_0x497df2}),_0x4e29f7=_0x5f01b9[_0x4b7f47(0x41d)](_0x44ed88);if(_0x4e29f7 instanceof _0x4fd0c0[_0x4b7f47(0x2a7)]){let _0x54042a=_0x4e29f7[_0x4b7f47(0x20b)]??{};_0x4e29f7[_0x4b7f47(0x3dd)]({..._0x54042a,..._0x3a4ac8}),_0x4e29f7[_0x4b7f47(0x48c)](!0x0);}}[_0x50e1ba(0x2a5)](){const _0xe6bf=_0x50e1ba;let _0x47182d=this['_univerInstanceService']['getCurrentTypeOfUnit$'](_0x141609[_0xe6bf(0x25d)][_0xe6bf(0x247)]);this['disposeWithMe'](_0x47182d[_0xe6bf(0x4ee)]((0x0,_0x3fc41f[_0xe6bf(0x43e)])(_0x16cdb1=>_0x16cdb1?_0x16cdb1['activeSheet$'][_0xe6bf(0x4ee)]((0x0,_0x3fc41f[_0xe6bf(0x43e)])(_0x4432bc=>{const _0x5ddbaa=_0xe6bf;if(!_0x4432bc)return _0x3fc41f[_0x5ddbaa(0x4b4)];let _0x198e6f=_0x16cdb1[_0x5ddbaa(0x389)](),_0x244273=this[_0x5ddbaa(0x2e0)]['getRenderUnitById'](_0x198e6f),_0x17c18b=_0x244273==null?void 0x0:_0x244273[_0x5ddbaa(0x498)];return _0x17c18b?(0x0,_0x3fc41f['of'])(_0x17c18b):_0x3fc41f[_0x5ddbaa(0x4b4)];})):_0x3fc41f[_0xe6bf(0x4b4)]))['subscribe'](_0x50e9bf=>{const _0x1bf504=_0xe6bf;let _0x38c462=_0x50e9bf[_0x1bf504(0x592)]();this['disposeWithMe'](_0x50e9bf['onPointerMove$'][_0x1bf504(0x4e4)](()=>{const _0x49d0e2=_0x1bf504;this[_0x49d0e2(0x4d0)]&&this[_0x49d0e2(0x20f)]();})),this[_0x1bf504(0x297)](_0x38c462['changeStart$'][_0x1bf504(0x5a8)](_0xcfdca8=>{const _0x39e582=_0x1bf504;let {objects:_0x6d8e65}=_0xcfdca8;if(this[_0x39e582(0x58b)](),_0x6d8e65!==null&&_0x6d8e65[_0x39e582(0x277)]===0x1){let _0x10b12d=_0x6d8e65[_0x39e582(0x4b6)]()[_0x39e582(0x1f9)]()[_0x39e582(0x598)];_0x10b12d instanceof _0x4fd0c0[_0x39e582(0x2a7)]&&_0x10b12d[_0x39e582(0x5b0)]&&(this['_isImagePointerDown']=!0x0);}})),this[_0x1bf504(0x297)](_0x38c462[_0x1bf504(0x4c8)][_0x1bf504(0x5a8)](()=>{const _0x29121c=_0x1bf504;this[_0x29121c(0x4d0)]&&this[_0x29121c(0x20f)]();})),this[_0x1bf504(0x297)](_0x50e9bf['onPointerUp$'][_0x1bf504(0x4e4)](()=>{const _0xaca960=_0x1bf504;this['_isImagePointerDown']&&(this[_0xaca960(0x4d0)]=!0x1,this[_0xaca960(0x58b)]());})),this[_0x1bf504(0x297)](_0x38c462[_0x1bf504(0x4e6)]['subscribe'](()=>{const _0x460cb6=_0x1bf504;if(this[_0x460cb6(0x4a7)]&&this[_0x460cb6(0x5b5)]&&this[_0x460cb6(0x553)]){let _0x278675=this[_0x460cb6(0x3ce)](this[_0x460cb6(0x4a7)],this[_0x460cb6(0x5b5)],this['_activeImageId']);if(_0x278675){var _0x5ef23c,_0x45bcc8;let _0x5b607f=this[_0x460cb6(0x1fa)](this[_0x460cb6(0x4a7)],this[_0x460cb6(0x5b5)],this[_0x460cb6(0x553)]),_0x36ac43=(_0x5b607f==null||(_0x5ef23c=_0x5b607f['transform'])==null?void 0x0:_0x5ef23c[_0x460cb6(0x44b)])||0x0,_0x171460=(_0x5b607f==null||(_0x45bcc8=_0x5b607f[_0x460cb6(0x25f)])==null?void 0x0:_0x45bcc8[_0x460cb6(0x4d8)])||0x0,_0x55024d=this['_getOrCreateShapeModel'](_0x278675['prstGeom'],_0x36ac43,_0x171460,_0x278675[_0x460cb6(0x4ea)]);_0x55024d&&(this[_0x460cb6(0x36a)]=_0x55024d[_0x460cb6(0x423)](),this[_0x460cb6(0x20f)](),this['_createControls'](!0x0));}}}));}));}[_0x50e1ba(0x210)](){const _0x11a7a2=_0x50e1ba;this[_0x11a7a2(0x297)](this['_drawingManagerService'][_0x11a7a2(0x267)][_0x11a7a2(0x5a8)](_0x3716b2=>{const _0x4e6b45=_0x11a7a2;if(_0x3716b2[_0x4e6b45(0x59f)]===0x1){let _0x2d9bfa=_0x3716b2[0x0];if(_0x2d9bfa[_0x4e6b45(0x589)]===_0x141609['DrawingTypeEnum'][_0x4e6b45(0x308)]){let {unitId:_0x56d206,subUnitId:_0xb71823,drawingId:_0x303717}=_0x2d9bfa,_0x44c481=this['_getImagePrstGeom'](_0x56d206,_0xb71823,_0x303717);if(_0x44c481){var _0x3578a3,_0x65069e;this[_0x4e6b45(0x553)]=_0x303717,this[_0x4e6b45(0x4a7)]=_0x56d206,this[_0x4e6b45(0x5b5)]=_0xb71823;let _0x4a47a3=this[_0x4e6b45(0x1fa)](_0x56d206,_0xb71823,_0x303717),_0x109232=(_0x4a47a3==null||(_0x3578a3=_0x4a47a3[_0x4e6b45(0x25f)])==null?void 0x0:_0x3578a3[_0x4e6b45(0x44b)])||0x0,_0x823b60=(_0x4a47a3==null||(_0x65069e=_0x4a47a3[_0x4e6b45(0x25f)])==null?void 0x0:_0x65069e['height'])||0x0,_0x306a06=this[_0x4e6b45(0x2f8)](_0x44c481[_0x4e6b45(0x5b0)],_0x109232,_0x823b60,_0x44c481[_0x4e6b45(0x4ea)]);_0x306a06&&(this['_activeAdjustPointList']=_0x306a06[_0x4e6b45(0x423)]()),this['_clearControls'](),this[_0x4e6b45(0x58b)](!0x0);}else this[_0x4e6b45(0x2f1)]();}else this[_0x4e6b45(0x2f1)]();}else this[_0x4e6b45(0x2f1)]();})),this[_0x11a7a2(0x297)](this['_drawingManagerService']['update$'][_0x11a7a2(0x5a8)](_0x290da2=>{const _0x30831a=_0x11a7a2;if(_0x290da2[_0x30831a(0x59f)]===0x1){let _0x5727d2=_0x290da2[0x0],_0x385230=this[_0x30831a(0x5be)][_0x30831a(0x1fd)](_0x5727d2);(_0x385230==null?void 0x0:_0x385230[_0x30831a(0x589)])===_0x141609['DrawingTypeEnum'][_0x30831a(0x308)]&&this[_0x30831a(0x553)]===_0x5727d2[_0x30831a(0x4ae)]&&(this[_0x30831a(0x20f)](),this['_createControls'](!0x0));}})),this['disposeWithMe'](this[_0x11a7a2(0x5be)][_0x11a7a2(0x272)][_0x11a7a2(0x5a8)](_0xe1f2e1=>{const _0x6779f=_0x11a7a2;for(let _0x5b6c72 of _0xe1f2e1)this[_0x6779f(0x553)]===_0x5b6c72[_0x6779f(0x4ae)]&&this[_0x6779f(0x2f1)]();}));}[_0x50e1ba(0x2f1)](){const _0x115582=_0x50e1ba;this[_0x115582(0x553)]=null,this[_0x115582(0x4a7)]=null,this[_0x115582(0x5b5)]=null,this[_0x115582(0x36a)]=void 0x0,this['_clearControls']();}};_0x32ad2f=_0x488baa([_0x3ceba3(0x1,_0x193b7c[_0x50e1ba(0x349)]),_0x3ceba3(0x2,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x4fd0c0[_0x50e1ba(0x403)])),_0x3ceba3(0x3,_0x141609[_0x50e1ba(0x465)]),_0x3ceba3(0x4,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x5549d5))],_0x32ad2f);function _0x10f04a({ref:_0x20e413,..._0x11ad71}){const _0x4245d7=_0x50e1ba;let {preserveStrokeWidth:_0x4d258d,icon:_0x14b127,id:_0x55d9f5,className:_0x2f3b15,extend:_0x56548a,..._0x1865d1}=_0x11ad71,_0x20b214=(_0x4245d7(0x5bc)+_0x55d9f5+'\x20'+(_0x2f3b15||''))[_0x4245d7(0x47c)](),_0x1cd656='_'+(0x0,_0x16f5cd[_0x4245d7(0x26e)])(),_0x46b245=(0x0,_0x16f5cd['useRef'])(null);return(0x0,_0x16f5cd[_0x4245d7(0x42f)])(_0x20e413,()=>_0x46b245[_0x4245d7(0x2c9)]),(0x0,_0x16f5cd['useLayoutEffect'])(()=>{const _0x4f1fa3=_0x4245d7;if(!(!_0x4d258d||!_0x46b245[_0x4f1fa3(0x2c9)]||_0x46b245[_0x4f1fa3(0x2c9)][_0x4f1fa3(0x452)]!==_0x14b127[_0x4f1fa3(0x557)]))return _0x30b99e(_0x46b245['current']);},[_0x4d258d,_0x14b127]),_0x362a0c(_0x14b127,''+_0x55d9f5,{'defIds':_0x14b127[_0x4245d7(0x2f5)],'idSuffix':_0x1cd656},{'ref':_0x46b245,'className':_0x20b214,..._0x1865d1},_0x56548a);}function _0x362a0c(_0xe5239b,_0x389f1c,_0x1abd15,_0x5adb8b,_0x17c5ee){const _0x426fe3=_0x50e1ba;return(0x0,_0x16f5cd[_0x426fe3(0x58f)])(_0xe5239b[_0x426fe3(0x557)],{'key':_0x389f1c,..._0x12bbe7(_0xe5239b,_0x1abd15,_0x17c5ee),..._0x5adb8b},(_0x19f913(_0xe5239b,_0x1abd15)[_0x426fe3(0x1eb)]||[])[_0x426fe3(0x33e)]((_0x5d2be3,_0x31c4aa)=>_0x362a0c(_0x5d2be3,_0x389f1c+'-'+_0xe5239b['tag']+'-'+_0x31c4aa,_0x1abd15,void 0x0,_0x17c5ee)));}function _0x12bbe7(_0x330987,_0x13106f,_0x2fe760){const _0x265ac7=_0x50e1ba;let _0x1647a2={..._0x330987['attrs']};_0x2fe760!=null&&_0x2fe760[_0x265ac7(0x237)]&&_0x1647a2[_0x265ac7(0x320)]===_0x265ac7(0x237)&&(_0x1647a2[_0x265ac7(0x320)]=_0x2fe760[_0x265ac7(0x237)]),_0x2fe760!=null&&_0x2fe760[_0x265ac7(0x237)]&&_0x1647a2[_0x265ac7(0x304)]===_0x265ac7(0x237)&&(_0x1647a2[_0x265ac7(0x304)]=_0x2fe760[_0x265ac7(0x237)]),_0x330987[_0x265ac7(0x557)]==='mask'&&_0x1647a2['id']&&(_0x1647a2['id']+=_0x13106f[_0x265ac7(0x296)]),Object[_0x265ac7(0x1ed)](_0x1647a2)[_0x265ac7(0x311)](([_0x99f56f,_0x59af12])=>{const _0x49cce3=_0x265ac7;_0x99f56f===_0x49cce3(0x4cc)&&typeof _0x59af12==_0x49cce3(0x36b)&&(_0x1647a2[_0x99f56f]=_0x59af12['replace'](/url\(#(.*)\)/,_0x49cce3(0x1f1)+_0x13106f['idSuffix']+')'));});let {defIds:_0x381f52}=_0x13106f;return!_0x381f52||_0x381f52[_0x265ac7(0x59f)]===0x0?_0x1647a2:(_0x330987[_0x265ac7(0x557)]==='use'&&_0x1647a2['xlink:href']&&(_0x1647a2[_0x265ac7(0x24a)]+=_0x13106f[_0x265ac7(0x296)]),Object['entries'](_0x1647a2)[_0x265ac7(0x311)](([_0x22ea7a,_0x19f68c])=>{const _0xf8e229=_0x265ac7;typeof _0x19f68c==_0xf8e229(0x36b)&&(_0x1647a2[_0x22ea7a]=_0x19f68c['replace'](/url\(#(.*)\)/,_0xf8e229(0x1f1)+_0x13106f[_0xf8e229(0x296)]+')'));}),_0x1647a2);}function _0x19f913(_0xbd79dc,_0x2e57c9){const _0x36f54b=_0x50e1ba;var _0x28f9d3;let {defIds:_0x2f735c}=_0x2e57c9;return!_0x2f735c||_0x2f735c[_0x36f54b(0x59f)]===0x0?_0xbd79dc:_0xbd79dc[_0x36f54b(0x557)]===_0x36f54b(0x45d)&&(_0x28f9d3=_0xbd79dc[_0x36f54b(0x1eb)])!=null&&_0x28f9d3['length']?{..._0xbd79dc,'children':_0xbd79dc[_0x36f54b(0x1eb)]['map'](_0x23d3bf=>typeof _0x23d3bf[_0x36f54b(0x56e)]['id']==_0x36f54b(0x36b)&&_0x2f735c&&_0x2f735c[_0x36f54b(0x257)](_0x23d3bf[_0x36f54b(0x56e)]['id'])?{..._0x23d3bf,'attrs':{..._0x23d3bf[_0x36f54b(0x56e)],'id':_0x23d3bf[_0x36f54b(0x56e)]['id']+_0x2e57c9[_0x36f54b(0x296)]}}:_0x23d3bf)}:_0xbd79dc;}function _0x30b99e(_0x2de119){const _0x4ff505=_0x50e1ba;let _0x48b9f0=_0x2de119[_0x4ff505(0x2f2)][_0x4ff505(0x3b9)],_0x26ebb7=Math[_0x4ff505(0x51a)](_0x48b9f0[_0x4ff505(0x44b)],_0x48b9f0[_0x4ff505(0x4d8)]);if(!Number[_0x4ff505(0x2a9)](_0x26ebb7)||_0x26ebb7<=0x0||_0x48b9f0[_0x4ff505(0x44b)]<=0x0||_0x48b9f0[_0x4ff505(0x4d8)]<=0x0)return()=>void 0x0;let _0x24c8de=0x10/_0x26ebb7,_0x26228d=Array[_0x4ff505(0x268)](_0x2de119['querySelectorAll'](_0x4ff505(0x485)))[_0x4ff505(0x543)](_0x4a8b6b=>{const _0x4e6efb=_0x4ff505;let _0xd0ce43=getComputedStyle(_0x4a8b6b),_0x512fbd=Number['parseFloat'](_0xd0ce43[_0x4e6efb(0x53a)]);return _0xd0ce43[_0x4e6efb(0x304)]==='none'||Number['parseFloat'](_0xd0ce43[_0x4e6efb(0x43f)])===0x0||_0xd0ce43['vectorEffect']===_0x4e6efb(0x520)||!Number['isFinite'](_0x512fbd)||_0x512fbd<=0x0?[]:[{'element':_0x4a8b6b,'hadStyleAttribute':_0x4a8b6b[_0x4e6efb(0x2d4)]('style'),'originalStrokeWidth':_0x512fbd,'strokeWidth':_0x468acb(_0x4a8b6b[_0x4e6efb(0x2cd)],_0x4e6efb(0x5a6))}];})[_0x4ff505(0x33e)](_0x3e3923=>({'appliedStrokeWidth':null,'element':_0x3e3923[_0x4ff505(0x3fd)],'hadStyleAttribute':_0x3e3923[_0x4ff505(0x2d2)],'isReleased':!0x1,'originalStrokeWidth':_0x3e3923[_0x4ff505(0x3b8)],'strokeWidth':_0x3e3923[_0x4ff505(0x53a)]}));if(_0x26228d[_0x4ff505(0x59f)]===0x0)return()=>void 0x0;let _0x2b02e6=(_0x13f47e,_0x3fe5a7)=>{const _0x4731f3=_0x4ff505;if(_0x48b9f0[_0x4731f3(0x44b)]<=0x0||_0x48b9f0[_0x4731f3(0x4d8)]<=0x0||_0x13f47e<=0x0||_0x3fe5a7<=0x0)return;let _0x569a5f=Math['min'](_0x13f47e/_0x48b9f0[_0x4731f3(0x44b)],_0x3fe5a7/_0x48b9f0[_0x4731f3(0x4d8)]);!Number[_0x4731f3(0x2a9)](_0x569a5f)||_0x569a5f<=0x0||_0x26228d['forEach'](_0x38211b=>{const _0x3122a2=_0x4731f3;if(_0x38211b[_0x3122a2(0x4e5)])return;if(_0x38211b[_0x3122a2(0x4d4)]!==null&&(_0x38211b[_0x3122a2(0x3fd)][_0x3122a2(0x2cd)][_0x3122a2(0x354)](_0x3122a2(0x5a6))!==_0x38211b[_0x3122a2(0x4d4)]||_0x38211b[_0x3122a2(0x3fd)][_0x3122a2(0x2cd)][_0x3122a2(0x514)]('stroke-width')!==_0x38211b[_0x3122a2(0x53a)][_0x3122a2(0x519)])){_0x38211b[_0x3122a2(0x4d4)]=null,_0x38211b[_0x3122a2(0x4e5)]=!0x0;return;}let _0x1e2148=_0x38211b['originalStrokeWidth']*_0x24c8de/_0x569a5f,_0x3e0f37=Number(_0x1e2148[_0x3122a2(0x2d7)](0xc))+'px';_0x38211b[_0x3122a2(0x3fd)][_0x3122a2(0x2cd)][_0x3122a2(0x52d)](_0x3122a2(0x5a6),_0x3e0f37,_0x38211b[_0x3122a2(0x53a)][_0x3122a2(0x519)]),_0x38211b[_0x3122a2(0x4d4)]=_0x3e0f37;});},_0x34f292=_0x2de119['getBoundingClientRect']();_0x2b02e6(_0x34f292[_0x4ff505(0x44b)],_0x34f292[_0x4ff505(0x4d8)]);let _0x2f0de0=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x34f58=>{const _0x119e6c=_0x4ff505;if(_0x34f58[_0x119e6c(0x57b)](_0x240605=>_0x240605[_0x119e6c(0x581)]===_0x2de119)){let _0xfc1115=_0x2de119[_0x119e6c(0x262)]();_0x2b02e6(_0xfc1115[_0x119e6c(0x44b)],_0xfc1115['height']);}});return _0x2f0de0==null||_0x2f0de0[_0x4ff505(0x38f)](_0x2de119),()=>{const _0x21a8fd=_0x4ff505;_0x2f0de0==null||_0x2f0de0['disconnect'](),_0x26228d[_0x21a8fd(0x311)](_0x3103e3=>{const _0x211d3a=_0x21a8fd;_0x3103e3[_0x211d3a(0x4d4)]!==null&&(_0x1b54c0(_0x3103e3[_0x211d3a(0x3fd)][_0x211d3a(0x2cd)],_0x211d3a(0x5a6),_0x3103e3[_0x211d3a(0x4d4)],_0x3103e3[_0x211d3a(0x53a)][_0x211d3a(0x519)],_0x3103e3[_0x211d3a(0x53a)]),!_0x3103e3['hadStyleAttribute']&&_0x3103e3['element']['style'][_0x211d3a(0x59f)]===0x0&&_0x3103e3['element']['removeAttribute'](_0x211d3a(0x2cd)));});};}function _0x468acb(_0x32ea43,_0x47b803){const _0x5757ad=_0x50e1ba;return{'priority':_0x32ea43[_0x5757ad(0x514)](_0x47b803),'value':_0x32ea43['getPropertyValue'](_0x47b803)};}function _0x1b54c0(_0x15d79b,_0x3bcfc9,_0x8f462f,_0x2b0850,_0xfb5dc6){const _0x3ccca8=_0x50e1ba;_0x15d79b[_0x3ccca8(0x354)](_0x3bcfc9)===_0x8f462f&&_0x15d79b[_0x3ccca8(0x514)](_0x3bcfc9)===_0x2b0850&&(_0xfb5dc6[_0x3ccca8(0x598)]?_0x15d79b[_0x3ccca8(0x52d)](_0x3bcfc9,_0xfb5dc6[_0x3ccca8(0x598)],_0xfb5dc6[_0x3ccca8(0x519)]):_0x15d79b['removeProperty'](_0x3bcfc9));}_0x10f04a['displayName']='UniverIcon';let _0x55feee={'tag':_0x50e1ba(0x5ba),'attrs':{'xmlns':_0x50e1ba(0x353),'fill':_0x50e1ba(0x50b),'viewBox':_0x50e1ba(0x532),'width':_0x50e1ba(0x438),'height':'1em'},'children':[{'tag':_0x50e1ba(0x4f1),'attrs':{'fill':_0x50e1ba(0x358),'d':_0x50e1ba(0x291),'fillRule':_0x50e1ba(0x411),'clipRule':_0x50e1ba(0x411)}},{'tag':_0x50e1ba(0x4f1),'attrs':{'fill':_0x50e1ba(0x358),'d':_0x50e1ba(0x2cc),'fillRule':_0x50e1ba(0x411),'clipRule':'evenodd'}},{'tag':_0x50e1ba(0x4f1),'attrs':{'fill':_0x50e1ba(0x358),'d':_0x50e1ba(0x1de)}},{'tag':'path','attrs':{'fill':_0x50e1ba(0x358),'d':_0x50e1ba(0x350)}}]},_0x41f186=(0x0,_0x16f5cd[_0x50e1ba(0x4fd)])(function(_0x10e265,_0x3010f6){const _0x4b2d26=_0x50e1ba;return(0x0,_0x16f5cd[_0x4b2d26(0x58f)])(_0x10f04a,Object[_0x4b2d26(0x34b)]({},_0x10e265,{'id':_0x4b2d26(0x36f),'ref':_0x3010f6,'icon':_0x55feee}));});_0x41f186[_0x50e1ba(0x4ef)]=_0x50e1ba(0x5a1);let _0x35d7ea={'tag':_0x50e1ba(0x5ba),'attrs':{'xmlns':_0x50e1ba(0x353),'fill':'none','viewBox':_0x50e1ba(0x5a3),'width':'1em','height':_0x50e1ba(0x438)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x50e1ba(0x41f),'strokeLinecap':_0x50e1ba(0x542),'strokeLinejoin':_0x50e1ba(0x542),'strokeWidth':1.3}},{'tag':_0x50e1ba(0x4f1),'attrs':{'stroke':_0x50e1ba(0x358),'d':_0x50e1ba(0x567),'strokeLinecap':_0x50e1ba(0x542),'strokeLinejoin':_0x50e1ba(0x542),'strokeWidth':1.3}},{'tag':_0x50e1ba(0x4f1),'attrs':{'stroke':'currentColor','d':'M8\x202.2V3.8','strokeLinecap':_0x50e1ba(0x542),'strokeWidth':1.2}},{'tag':_0x50e1ba(0x4f1),'attrs':{'stroke':'currentColor','d':'M8\x206.2V7.8','strokeLinecap':_0x50e1ba(0x542),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x50e1ba(0x358),'d':_0x50e1ba(0x431),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x50e1ba(0x4f1),'attrs':{'stroke':_0x50e1ba(0x358),'d':_0x50e1ba(0x2ab),'strokeLinecap':_0x50e1ba(0x542),'strokeWidth':1.2}}]},_0x286258=(0x0,_0x16f5cd[_0x50e1ba(0x4fd)])(function(_0x545a9f,_0x1d5b74){const _0xd4eefd=_0x50e1ba;return(0x0,_0x16f5cd[_0xd4eefd(0x58f)])(_0x10f04a,Object[_0xd4eefd(0x34b)]({},_0x545a9f,{'id':_0xd4eefd(0x32f),'ref':_0x1d5b74,'icon':_0x35d7ea}));});_0x286258[_0x50e1ba(0x4ef)]='FlipHorizontalIcon';let _0x211ab7={'tag':_0x50e1ba(0x5ba),'attrs':{'xmlns':_0x50e1ba(0x353),'fill':_0x50e1ba(0x50b),'viewBox':_0x50e1ba(0x5a3),'width':_0x50e1ba(0x438),'height':_0x50e1ba(0x438)},'children':[{'tag':'path','attrs':{'stroke':_0x50e1ba(0x358),'d':_0x50e1ba(0x20c),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x50e1ba(0x4f1),'attrs':{'stroke':'currentColor','d':_0x50e1ba(0x281),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x50e1ba(0x4f1),'attrs':{'stroke':_0x50e1ba(0x358),'d':_0x50e1ba(0x20d),'strokeLinecap':_0x50e1ba(0x542),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x50e1ba(0x358),'d':_0x50e1ba(0x294),'strokeLinecap':_0x50e1ba(0x542),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x50e1ba(0x358),'d':_0x50e1ba(0x3d0),'strokeLinecap':_0x50e1ba(0x542),'strokeWidth':1.2}},{'tag':_0x50e1ba(0x4f1),'attrs':{'stroke':_0x50e1ba(0x358),'d':_0x50e1ba(0x293),'strokeLinecap':_0x50e1ba(0x542),'strokeWidth':1.2}}]},_0x9d06d5=(0x0,_0x16f5cd[_0x50e1ba(0x4fd)])(function(_0x62fb64,_0x42ad81){const _0x369d25=_0x50e1ba;return(0x0,_0x16f5cd[_0x369d25(0x58f)])(_0x10f04a,Object[_0x369d25(0x34b)]({},_0x62fb64,{'id':_0x369d25(0x41e),'ref':_0x42ad81,'icon':_0x211ab7}));});_0x9d06d5[_0x50e1ba(0x4ef)]=_0x50e1ba(0x454);let _0x5d5619={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x50e1ba(0x50b),'viewBox':'0\x200\x2016\x2016','width':_0x50e1ba(0x438),'height':'1em'},'children':[{'tag':_0x50e1ba(0x4f1),'attrs':{'fill':_0x50e1ba(0x358),'d':_0x50e1ba(0x35d),'fillRule':_0x50e1ba(0x411),'clipRule':_0x50e1ba(0x411)}},{'tag':'path','attrs':{'fill':_0x50e1ba(0x358),'d':_0x50e1ba(0x407)}}]},_0x19c742=(0x0,_0x16f5cd[_0x50e1ba(0x4fd)])(function(_0x3e7209,_0x3ea5ea){const _0x20e795=_0x50e1ba;return(0x0,_0x16f5cd['createElement'])(_0x10f04a,Object['assign']({},_0x3e7209,{'id':_0x20e795(0x4a0),'ref':_0x3ea5ea,'icon':_0x5d5619}));});_0x19c742['displayName']='MoveDownIcon';let _0x3209a6={'tag':_0x50e1ba(0x5ba),'attrs':{'xmlns':_0x50e1ba(0x353),'fill':_0x50e1ba(0x50b),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':_0x50e1ba(0x4f1),'attrs':{'fill':_0x50e1ba(0x358),'d':_0x50e1ba(0x3e8),'fillRule':'evenodd','clipRule':'evenodd'}},{'tag':_0x50e1ba(0x4f1),'attrs':{'fill':_0x50e1ba(0x358),'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'}}]},_0x26765f=(0x0,_0x16f5cd[_0x50e1ba(0x4fd)])(function(_0xe8cae5,_0x3708cb){const _0x495302=_0x50e1ba;return(0x0,_0x16f5cd[_0x495302(0x58f)])(_0x10f04a,Object[_0x495302(0x34b)]({},_0xe8cae5,{'id':_0x495302(0x2f6),'ref':_0x3708cb,'icon':_0x3209a6}));});_0x26765f[_0x50e1ba(0x4ef)]=_0x50e1ba(0x4ca);let _0xf05f04={'tag':_0x50e1ba(0x5ba),'attrs':{'xmlns':_0x50e1ba(0x353),'fill':'none','viewBox':_0x50e1ba(0x5a3),'width':_0x50e1ba(0x438),'height':_0x50e1ba(0x438)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','strokeLinecap':_0x50e1ba(0x542),'strokeLinejoin':_0x50e1ba(0x542),'strokeWidth':1.3}},{'tag':_0x50e1ba(0x4f1),'attrs':{'stroke':_0x50e1ba(0x358),'d':_0x50e1ba(0x322),'strokeLinecap':_0x50e1ba(0x542),'strokeLinejoin':_0x50e1ba(0x542),'strokeWidth':1.3}}]},_0x37f331=(0x0,_0x16f5cd[_0x50e1ba(0x4fd)])(function(_0x19418f,_0x234513){const _0x5d0dcb=_0x50e1ba;return(0x0,_0x16f5cd[_0x5d0dcb(0x58f)])(_0x10f04a,Object[_0x5d0dcb(0x34b)]({},_0x19418f,{'id':_0x5d0dcb(0x46b),'ref':_0x234513,'icon':_0xf05f04}));});_0x37f331['displayName']=_0x50e1ba(0x2fc);let _0x23d4f0={'tag':_0x50e1ba(0x5ba),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x50e1ba(0x50b),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':_0x50e1ba(0x4f1),'attrs':{'stroke':_0x50e1ba(0x358),'d':_0x50e1ba(0x2dc),'strokeLinecap':'round','strokeLinejoin':_0x50e1ba(0x542),'strokeWidth':1.2}},{'tag':_0x50e1ba(0x4f1),'attrs':{'stroke':'currentColor','d':_0x50e1ba(0x3d4),'strokeLinecap':_0x50e1ba(0x542),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x50e1ba(0x358),'d':_0x50e1ba(0x27a),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x50e1ba(0x4f1),'attrs':{'stroke':_0x50e1ba(0x358),'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':'round'}},{'tag':'path','attrs':{'stroke':_0x50e1ba(0x358),'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'}}]},_0x3313a6=(0x0,_0x16f5cd[_0x50e1ba(0x4fd)])(function(_0x1d16ac,_0x326dac){const _0xf737b8=_0x50e1ba;return(0x0,_0x16f5cd[_0xf737b8(0x58f)])(_0x10f04a,Object['assign']({},_0x1d16ac,{'id':_0xf737b8(0x4b9),'ref':_0x326dac,'icon':_0x23d4f0}));});_0x3313a6[_0x50e1ba(0x4ef)]=_0x50e1ba(0x3a4);let _0x4c1077={'tag':_0x50e1ba(0x5ba),'attrs':{'xmlns':_0x50e1ba(0x353),'fill':'none','viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x50e1ba(0x438)},'children':[{'tag':'path','attrs':{'fill':_0x50e1ba(0x358),'d':_0x50e1ba(0x526)}},{'tag':'path','attrs':{'fill':_0x50e1ba(0x358),'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':'evenodd','clipRule':'evenodd'}},{'tag':_0x50e1ba(0x4f1),'attrs':{'fill':'currentColor','d':_0x50e1ba(0x305),'fillRule':'evenodd','clipRule':_0x50e1ba(0x411)}}]},_0x217e80=(0x0,_0x16f5cd[_0x50e1ba(0x4fd)])(function(_0x20fdaa,_0x496773){const _0x21a649=_0x50e1ba;return(0x0,_0x16f5cd[_0x21a649(0x58f)])(_0x10f04a,Object[_0x21a649(0x34b)]({},_0x20fdaa,{'id':_0x21a649(0x29a),'ref':_0x496773,'icon':_0x4c1077}));});_0x217e80['displayName']=_0x50e1ba(0x393);let _0x4903b6=class extends _0x141609[_0x50e1ba(0x50e)]{constructor(_0x10af14,_0x1498de){const _0x57a703=_0x50e1ba;super(),this[_0x57a703(0x297)](_0x1498de[_0x57a703(0x48e)]({'BottomIcon':_0x41f186,'FlipHorizontalIcon':_0x286258,'FlipVerticalIcon':_0x9d06d5,'MoveDownIcon':_0x19c742,'MoveUpIcon':_0x26765f,'ObjectLayersIcon':_0x37f331,'ShapeFormatSettingIcon':_0x3313a6,'TopmostIcon':_0x217e80})),this[_0x57a703(0x297)](_0x10af14[_0x57a703(0x48e)](_0x285581,_0x237deb)),this[_0x57a703(0x297)](_0x10af14['register'](_0x330ef9,_0x3d05d)),_0x10af14[_0x57a703(0x404)](_0x21abf6[_0x57a703(0x26d)])||this[_0x57a703(0x297)](_0x10af14[_0x57a703(0x48e)](_0x21abf6[_0x57a703(0x26d)],_0x88d4b0));}};_0x4903b6=_0x488baa([_0x3ceba3(0x0,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0xf803d[_0x50e1ba(0x4b7)])),_0x3ceba3(0x1,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0xf803d[_0x50e1ba(0x52b)]))],_0x4903b6);let _0x5dbfb4=class extends _0x141609['Disposable']{constructor(_0x588687){const _0x956f93=_0x50e1ba;super(),this[_0x956f93(0x365)]=_0x588687,_0x46f35a(this,'_editingParams$',new _0x3fc41f[(_0x956f93(0x278))](null)),_0x46f35a(this,_0x956f93(0x552),this['_editingParams$'][_0x956f93(0x2e4)]()),_0x46f35a(this,_0x956f93(0x301),new _0x3fc41f[(_0x956f93(0x278))](!0x1)),_0x46f35a(this,_0x956f93(0x468),this[_0x956f93(0x301)][_0x956f93(0x2e4)]()),_0x46f35a(this,_0x956f93(0x3a0),void 0x0),this['disposeWithMe'](this[_0x956f93(0x365)]['permissionPointUpdate$'][_0x956f93(0x5a8)](()=>{let _0x27d946=this['getEditing']();_0x27d946!=null&&_0x27d946['visible']&&!this['_canEdit'](_0x27d946)&&this['setEditing'](null);}));}['dispose'](){const _0x48ffbf=_0x50e1ba;this['_clearCompletionFrame'](),this[_0x48ffbf(0x3fb)][_0x48ffbf(0x1f9)](null),this['_editingParams$'][_0x48ffbf(0x58a)](),this['_onSavingEditorData$']['next'](!0x1),this['_onSavingEditorData$']['complete'](),super['dispose']();}[_0x50e1ba(0x269)](_0xbca65a){const _0x67e923=_0x50e1ba;_0xbca65a!=null&&_0xbca65a[_0x67e923(0x1e9)]&&!this[_0x67e923(0x450)](_0xbca65a)||(this['_clearCompletionFrame'](),this['_editingParams$'][_0x67e923(0x1f9)](_0xbca65a),(_0xbca65a==null||_0xbca65a[_0x67e923(0x1e9)]&&this[_0x67e923(0x301)][_0x67e923(0x2fe)]())&&this['_onSavingEditorData$']['next'](!0x1));}[_0x50e1ba(0x5a4)](_0x6cc87){const _0x4376f8=_0x50e1ba;this[_0x4376f8(0x301)]['next'](_0x6cc87);}[_0x50e1ba(0x476)](){const _0x3f5a16=_0x50e1ba;return this[_0x3f5a16(0x3fb)][_0x3f5a16(0x2fe)]();}[_0x50e1ba(0x450)](_0x10e2c2){const _0x1e2250=_0x50e1ba;let _0x13fc51=this[_0x1e2250(0x365)][_0x1e2250(0x2d3)](new _0x200933['WorkbookEditablePermission'](_0x10e2c2[_0x1e2250(0x524)])['id']),_0x4fae14=this[_0x1e2250(0x365)][_0x1e2250(0x2d3)](new _0x200933[(_0x1e2250(0x536))](_0x10e2c2[_0x1e2250(0x524)],_0x10e2c2[_0x1e2250(0x582)])['id']);return((_0x13fc51==null?void 0x0:_0x13fc51[_0x1e2250(0x598)])??!0x0)&&((_0x4fae14==null?void 0x0:_0x4fae14[_0x1e2250(0x598)])??!0x0);}[_0x50e1ba(0x34d)](_0x2212e0){const _0x1d4823=_0x50e1ba;let _0x292ed0=this['getEditing']();!_0x292ed0||this[_0x1d4823(0x3a0)]!==void 0x0||(this[_0x1d4823(0x5a4)](!0x0),this[_0x1d4823(0x3a0)]=requestAnimationFrame(()=>{this['_completionFrame']=void 0x0,this['getEditing']()===_0x292ed0&&this['setEditing'](null);}));}[_0x50e1ba(0x265)](){const _0xa5585b=_0x50e1ba;this['_completionFrame']!==void 0x0&&(cancelAnimationFrame(this[_0xa5585b(0x3a0)]),this[_0xa5585b(0x3a0)]=void 0x0);}[_0x50e1ba(0x203)](){this['getEditing']()&&this['setEditing'](null);}};_0x5dbfb4=_0x488baa([_0x3ceba3(0x0,_0x141609[_0x50e1ba(0x387)])],_0x5dbfb4);let _0x143d9=class extends _0x141609[_0x50e1ba(0x50e)]{constructor(_0x49b504,_0x594920,_0x59188b,_0x17d9a6,_0x2d3d65,_0x898838){const _0x36dbbc=_0x50e1ba;super(),this[_0x36dbbc(0x2d6)]=_0x49b504,this[_0x36dbbc(0x1dd)]=_0x594920,this['_shapeTextEditingService']=_0x59188b,this['_drawingManagerService']=_0x17d9a6,this[_0x36dbbc(0x599)]=_0x2d3d65,this[_0x36dbbc(0x4ba)]=_0x898838,_0x46f35a(this,_0x36dbbc(0x3ca),null),this[_0x36dbbc(0x4e0)](),this['_initSelection'](),this['_initEditingParams']();}['_initEvents'](){const _0x2f776a=_0x50e1ba;let {scene:_0x27d468}=this[_0x2f776a(0x2d6)];this[_0x2f776a(0x297)](_0x27d468['onDblclick$'][_0x2f776a(0x4e4)](_0x1f677d=>{const _0x303379=_0x2f776a;let {offsetX:_0x24f050,offsetY:_0x248169}=_0x1f677d,_0x29753b=_0x27d468[_0x303379(0x4eb)](_0x4fd0c0[_0x303379(0x222)][_0x303379(0x414)]([_0x24f050,_0x248169]));if(_0x29753b instanceof _0x2c197b){let _0x400a5e=this[_0x303379(0x4ba)][_0x303379(0x4d3)](_0x29753b[_0x303379(0x524)],_0x29753b[_0x303379(0x582)],_0x29753b[_0x303379(0x35b)]);if((0x0,_0x1e2604[_0x303379(0x56f)])(this[_0x303379(0x4ba)][_0x303379(0x232)](_0x29753b[_0x303379(0x524)],_0x29753b[_0x303379(0x582)],_0x29753b['shapeId']))||_0x400a5e!=null&&_0x400a5e[_0x303379(0x513)]()[_0x303379(0x312)])return;this[_0x303379(0x402)][_0x303379(0x269)]({'visible':!0x0,'unitId':_0x29753b[_0x303379(0x524)],'subUnitId':_0x29753b[_0x303379(0x582)],'shapeId':_0x29753b['shapeId'],'shapeKey':_0x29753b['oKey']});}}));}[_0x50e1ba(0x34f)](){const _0x370e09=_0x50e1ba;this[_0x370e09(0x297)](this[_0x370e09(0x5be)]['focus$'][_0x370e09(0x5a8)](_0x492499=>{const _0x5ac61c=_0x370e09;if(_0x492499['length']===0x1){let _0x1c9561=_0x492499[0x0],_0x502f8b=this[_0x5ac61c(0x5be)][_0x5ac61c(0x1fd)](_0x1c9561);if((_0x502f8b==null?void 0x0:_0x502f8b[_0x5ac61c(0x589)])===_0x141609[_0x5ac61c(0x397)]['DRAWING_SHAPE']){var _0x3f4ef4;let _0x58f185=this[_0x5ac61c(0x402)][_0x5ac61c(0x476)]();if((_0x58f185==null?void 0x0:_0x58f185[_0x5ac61c(0x35b)])===_0x1c9561[_0x5ac61c(0x4ae)]&&_0x58f185[_0x5ac61c(0x1e9)])return;let _0x7d4487=(0x0,_0x1e2604['isConnectorShape'])(this[_0x5ac61c(0x4ba)][_0x5ac61c(0x232)](_0x1c9561[_0x5ac61c(0x524)],_0x1c9561['subUnitId'],_0x1c9561[_0x5ac61c(0x4ae)])),_0x4e20a0=!!((_0x3f4ef4=this[_0x5ac61c(0x4ba)][_0x5ac61c(0x4d3)](_0x1c9561[_0x5ac61c(0x524)],_0x1c9561[_0x5ac61c(0x582)],_0x1c9561[_0x5ac61c(0x4ae)]))!=null&&_0x3f4ef4['getShapeData']()[_0x5ac61c(0x312)]);(_0x7d4487||_0x4e20a0)&&this[_0x5ac61c(0x402)][_0x5ac61c(0x269)](null);}else this[_0x5ac61c(0x402)][_0x5ac61c(0x34d)]();}else this[_0x5ac61c(0x402)][_0x5ac61c(0x34d)]();})),this[_0x370e09(0x297)](this[_0x370e09(0x5be)][_0x370e09(0x272)][_0x370e09(0x5a8)](_0x24473c=>{const _0x4754f6=_0x370e09;let _0x3fe1b8=this[_0x4754f6(0x402)]['getEditing']();_0x3fe1b8&&_0x24473c['some'](_0x5ecc73=>_0x5ecc73[_0x4754f6(0x4ae)]===_0x3fe1b8[_0x4754f6(0x35b)])&&this[_0x4754f6(0x402)][_0x4754f6(0x269)](null);}));}[_0x50e1ba(0x40d)](){const _0x2c38ec=_0x50e1ba;this[_0x2c38ec(0x297)](this[_0x2c38ec(0x402)][_0x2c38ec(0x552)]['subscribe'](_0x4ee8a0=>{const _0x287e56=_0x2c38ec;let {scene:_0x2b8836}=this[_0x287e56(0x2d6)];if(this[_0x287e56(0x3ca)]){let _0x598a3f=_0x2b8836[_0x287e56(0x3c2)](this['_lastEditingShapeKey']);_0x598a3f&&_0x598a3f[_0x287e56(0x269)](!0x1);}if(_0x4ee8a0){let _0x4974f2=!!_0x4ee8a0[_0x287e56(0x1e9)],_0x4e3fea=_0x2b8836[_0x287e56(0x3c2)](_0x4ee8a0[_0x287e56(0x46e)]);_0x4e3fea&&(_0x4e3fea[_0x287e56(0x269)](_0x4974f2),this[_0x287e56(0x3ca)]=_0x4ee8a0[_0x287e56(0x46e)]),this[_0x287e56(0x599)]['setContextValue'](_0x141609[_0x287e56(0x243)],_0x4974f2);}else this['_lastEditingShapeKey']=null,this[_0x287e56(0x599)][_0x287e56(0x3a5)](_0x141609[_0x287e56(0x243)],!0x1);}));}};_0x143d9=_0x488baa([_0x3ceba3(0x1,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x141609[_0x50e1ba(0x55d)])),_0x3ceba3(0x2,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x5dbfb4)),_0x3ceba3(0x3,_0x193b7c[_0x50e1ba(0x349)]),_0x3ceba3(0x4,_0x141609['IContextService']),_0x3ceba3(0x5,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x137641['SheetsShapeService']))],_0x143d9);var _0x442bd9=class extends _0x143d9{[_0x50e1ba(0x4e0)](){const _0x3650c=_0x50e1ba;let {scene:_0xd051ef}=this[_0x3650c(0x2d6)],_0x5a8f23=this['_injector']['get'](_0xae3e2f[_0x3650c(0x522)]);this['disposeWithMe'](_0xd051ef[_0x3650c(0x59e)][_0x3650c(0x4e4)](_0x31fbe9=>{const _0x1390d6=_0x3650c;let {offsetX:_0x28858f,offsetY:_0x51bccd}=_0x31fbe9,_0x237383=_0xd051ef[_0x1390d6(0x4eb)](_0x4fd0c0['Vector2'][_0x1390d6(0x414)]([_0x28858f,_0x51bccd]));if(!(_0x237383 instanceof _0x2c197b))return;let _0x554e79=this['_sheetsShapeService'][_0x1390d6(0x4d3)](_0x237383[_0x1390d6(0x524)],_0x237383['subUnitId'],_0x237383[_0x1390d6(0x35b)]);(0x0,_0x1e2604[_0x1390d6(0x56f)])(this[_0x1390d6(0x4ba)][_0x1390d6(0x232)](_0x237383[_0x1390d6(0x524)],_0x237383[_0x1390d6(0x582)],_0x237383[_0x1390d6(0x35b)]))||_0x554e79!=null&&_0x554e79[_0x1390d6(0x513)]()[_0x1390d6(0x312)]||_0x5a8f23[_0x1390d6(0x29e)](_0x1390d6(0x3c8),{'hostType':_0x141609[_0x1390d6(0x25d)]['UNIVER_SHEET'],'unitId':_0x237383[_0x1390d6(0x524)],'subUnitId':_0x237383[_0x1390d6(0x582)],'shapeId':_0x237383[_0x1390d6(0x35b)]});}));}};let _0x354d0c={..._0x46541b},_0x26ce35={'type':_0x141609[_0x50e1ba(0x2c8)][_0x50e1ba(0x2ad)],'id':_0x50e1ba(0x2a3),'handler'(){return!0x0;}},_0x4552ae=class extends _0x141609[_0x50e1ba(0x50e)]{constructor(_0x148a46,_0x28543e,_0x3d10c0,_0x467f90,_0x3d069b,_0x4df3f2,_0x34757d,_0x11e8a8,_0x394fb7,_0x1a16f6,_0x3cffff){const _0x16acfa=_0x50e1ba;super(),this[_0x16acfa(0x50c)]=_0x148a46,this[_0x16acfa(0x3cb)]=_0x28543e,this[_0x16acfa(0x2ff)]=_0x3d10c0,this[_0x16acfa(0x4ba)]=_0x467f90,this[_0x16acfa(0x457)]=_0x3d069b,this[_0x16acfa(0x4d6)]=_0x4df3f2,this['_drawingManagerService']=_0x34757d,this['_sheetCanvasPopManagerService']=_0x11e8a8,this[_0x16acfa(0x599)]=_0x394fb7,this[_0x16acfa(0x2e0)]=_0x1a16f6,this[_0x16acfa(0x402)]=_0x3cffff,_0x46f35a(this,_0x16acfa(0x466),null),_0x46f35a(this,_0x16acfa(0x30b),null),_0x46f35a(this,_0x16acfa(0x463),!0x1),_0x46f35a(this,'_shapeEditPanelVersion',0x0),_0x46f35a(this,'_shapePopupMenuDisposable',null),_0x46f35a(this,'_disposePopups',[]),this[_0x16acfa(0x409)](),this[_0x16acfa(0x297)](this[_0x16acfa(0x50c)]['getCurrentTypeOfUnit$'](_0x141609[_0x16acfa(0x25d)]['UNIVER_SHEET'])[_0x16acfa(0x5a8)](_0x46d5c1=>{const _0x3bf4da=_0x16acfa;if(!_0x46d5c1){var _0x42ee22;(_0x42ee22=this[_0x3bf4da(0x466)])==null||_0x42ee22[_0x3bf4da(0x270)]();}})),this[_0x16acfa(0x38c)](),this[_0x16acfa(0x381)](),this[_0x16acfa(0x297)](this[_0x16acfa(0x402)]['editingParams$'][_0x16acfa(0x5a8)](_0x1255d7=>{const _0x30830f=_0x16acfa;_0x1255d7&&this[_0x30830f(0x1e2)]();}));}[_0x50e1ba(0x409)](){const _0x23f893=_0x50e1ba;this[_0x23f893(0x2ff)][_0x23f893(0x35f)](_0x560b72);}['initShapePopupMenu'](){const _0x373867=_0x50e1ba;this['_shapePopupMenuDisposable']||=this['disposeWithMe']((0x0,_0xae3e2f[_0x373867(0x399)])(this[_0x373867(0x2e0)],_0x141609[_0x373867(0x25d)][_0x373867(0x247)],_0x11572e=>this[_0x373867(0x510)](_0x11572e)));}[_0x50e1ba(0x3ef)](_0x5c7ae7,_0x3b1418,_0x198c75){const _0x42c1c1=_0x50e1ba;let _0x2c49ca=this['_sheetsShapeService'][_0x42c1c1(0x1e1)](_0x5c7ae7,_0x3b1418,_0x198c75),_0x42bf44=this[_0x42c1c1(0x4ba)][_0x42c1c1(0x338)](_0x5c7ae7,_0x3b1418,_0x198c75);return _0x2c49ca!==void 0x0&&_0x42bf44!==void 0x0?{'shapeData':_0x42bf44,'shapeId':_0x198c75,'shapeType':_0x2c49ca,'unitId':_0x5c7ae7,'subUnitId':_0x3b1418,'version':this[_0x42c1c1(0x3dc)],'disableShapeOption':!0x1}:null;}[_0x50e1ba(0x1e2)](){const _0x13af24=_0x50e1ba;this['_disposePopups']['forEach'](_0xd7e520=>_0xd7e520[_0x13af24(0x270)]()),this[_0x13af24(0x2f9)][_0x13af24(0x59f)]=0x0;}[_0x50e1ba(0x510)](_0x4d37a5){const _0x159fa4=_0x50e1ba;let _0x537ef0=new _0x141609['DisposableCollection']();return _0x537ef0[_0x159fa4(0x30e)](_0x4d37a5['createControl$']['subscribe'](()=>{const _0x22b5a0=_0x159fa4;let _0x2aec7c=_0x4d37a5[_0x22b5a0(0x37f)]();if(this[_0x22b5a0(0x1e2)](),this[_0x22b5a0(0x463)]||_0x2aec7c['size']>0x1)return;let _0x3b65b9=_0x2aec7c['values']()[_0x22b5a0(0x1f9)]()[_0x22b5a0(0x598)];if(!_0x3b65b9)return;let _0x580dc5=this['_drawingManagerService'][_0x22b5a0(0x20e)](_0x3b65b9[_0x22b5a0(0x5b6)]);if(!_0x580dc5||_0x580dc5[_0x22b5a0(0x589)]!==_0x141609[_0x22b5a0(0x397)][_0x22b5a0(0x285)])return;let {unitId:_0x2cae25,subUnitId:_0x3499c3,drawingId:_0x1c1eac,drawingType:_0x184bee}=_0x580dc5,_0xffd87b=this[_0x22b5a0(0x3ef)](_0x2cae25,_0x3499c3,_0x1c1eac);if(!_0xffd87b)return;this[_0x22b5a0(0x599)][_0x22b5a0(0x3a5)](_0x141609[_0x22b5a0(0x55a)],!0x0);let _0x39e553=this[_0x22b5a0(0x2e0)][_0x22b5a0(0x22b)](_0x2cae25),_0x33b4b3=((_0x39e553==null?void 0x0:_0x39e553[_0x22b5a0(0x558)])===!0x1?_0x39e553[_0x22b5a0(0x2ea)](_0x2e59a1['SheetCanvasPopManagerService']):this[_0x22b5a0(0x464)])[_0x22b5a0(0x446)](_0x3b65b9,{'componentKey':_0x114db3,'direction':_0x22b5a0(0x3f1),'offset':[0x0,_0xae3e2f['SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET']],'extraProps':{'unitId':_0x2cae25,'subUnitId':_0x3499c3,'drawingId':_0x1c1eac,'drawingType':_0x184bee,'shapeType':_0xffd87b['shapeType'],'shapeData':_0xffd87b[_0x22b5a0(0x42a)]}});this[_0x22b5a0(0x2f9)][_0x22b5a0(0x447)](this[_0x22b5a0(0x297)](_0x33b4b3)),this['_drawingManagerService'][_0x22b5a0(0x380)]()[_0x22b5a0(0x4c3)](_0x2db2af=>_0x2db2af[_0x22b5a0(0x524)]===_0x2cae25&&_0x2db2af[_0x22b5a0(0x582)]===_0x3499c3&&_0x2db2af[_0x22b5a0(0x4ae)]===_0x1c1eac)||this[_0x22b5a0(0x5be)]['focusDrawing']([{'unitId':_0x2cae25,'subUnitId':_0x3499c3,'drawingId':_0x1c1eac}]);})),_0x537ef0[_0x159fa4(0x30e)](_0x4d37a5[_0x159fa4(0x5bf)][_0x159fa4(0x5a8)](()=>{const _0x380c71=_0x159fa4;this[_0x380c71(0x1e2)](),this[_0x380c71(0x599)][_0x380c71(0x3a5)](_0x141609[_0x380c71(0x55a)],!0x1),this['_drawingManagerService'][_0x380c71(0x326)](null);})),_0x537ef0[_0x159fa4(0x30e)](_0x4d37a5['changing$']['subscribe'](()=>{const _0x448770=_0x159fa4;this[_0x448770(0x1e2)]();})),_0x537ef0[_0x159fa4(0x30e)](_0x4d37a5['changeStart$'][_0x159fa4(0x5a8)](()=>{const _0x5d7635=_0x159fa4;this[_0x5d7635(0x1e2)]();})),(0x0,_0x141609[_0x159fa4(0x235)])(()=>{const _0x1aac02=_0x159fa4;_0x537ef0[_0x1aac02(0x270)](),this[_0x1aac02(0x1e2)]();});}[_0x50e1ba(0x38c)](){const _0x1a9c15=_0x50e1ba;this[_0x1a9c15(0x297)](this[_0x1a9c15(0x4d6)][_0x1a9c15(0x27b)](_0x2dce66=>{const _0x84fcdb=_0x1a9c15;if(_0x2dce66['id']===_0x209047['id']){let {unitId:_0xa83dce,subUnitId:_0x4c84ff,drawingId:_0x12a0f}=_0x2dce66[_0x84fcdb(0x392)];this[_0x84fcdb(0x3dc)]+=0x1,this[_0x84fcdb(0x30b)]=this[_0x84fcdb(0x3ef)](_0xa83dce,_0x4c84ff,_0x12a0f),this['_clearPopups'](),this[_0x84fcdb(0x201)]();}if(_0x2dce66['id']===_0x26ce35['id']&&(this[_0x84fcdb(0x30b)]=null,this[_0x84fcdb(0x3db)]()),_0x2dce66['id']===_0x137641['UpdateSheetsShapeDataMutation']['id']){let {unitId:_0x890a2d,subUnitId:_0x8f91eb,shapeId:_0x19a675}=_0x2dce66[_0x84fcdb(0x392)];if(this[_0x84fcdb(0x30b)]&&this[_0x84fcdb(0x30b)][_0x84fcdb(0x35b)]===_0x19a675){let _0x590efa=this[_0x84fcdb(0x3ef)](_0x890a2d,_0x8f91eb,_0x19a675);_0x590efa&&(this[_0x84fcdb(0x3dc)]+=0x1,_0x590efa['version']=this[_0x84fcdb(0x3dc)],this[_0x84fcdb(0x30b)]=_0x590efa,this['_isOpenedShapeEditPanel']&&this['_openShapeEditPanel']());}}})),this['disposeWithMe'](this[_0x1a9c15(0x5be)]['focus$'][_0x1a9c15(0x5a8)](_0x5c8ed1=>{const _0x28b2df=_0x1a9c15;if(this[_0x28b2df(0x463)]===!0x1)return;if(_0x5c8ed1['length']===0x0){this[_0x28b2df(0x30b)]=null,this[_0x28b2df(0x3db)]();return;}if(_0x5c8ed1[_0x28b2df(0x59f)]===0x1&&_0x5c8ed1[0x0]['drawingType']===_0x141609[_0x28b2df(0x397)][_0x28b2df(0x285)]&&(this['_shapeEditPanelVersion']+=0x1,this[_0x28b2df(0x30b)]=this[_0x28b2df(0x3ef)](_0x5c8ed1[0x0]['unitId'],_0x5c8ed1[0x0]['subUnitId'],_0x5c8ed1[0x0]['drawingId']),this[_0x28b2df(0x30b)])){this[_0x28b2df(0x201)]();return;}let _0x17daba=_0x5c8ed1[_0x28b2df(0x4c5)](_0x370bbe=>_0x370bbe['drawingType']===_0x141609['DrawingTypeEnum']['DRAWING_SHAPE']);if(_0x5c8ed1['length']>0x1&&_0x17daba[_0x28b2df(0x59f)]===_0x5c8ed1['length']){if(this['_shapeEditPanelVersion']+=0x1,this[_0x28b2df(0x30b)]=this[_0x28b2df(0x3ef)](_0x5c8ed1[0x0]['unitId'],_0x5c8ed1[0x0][_0x28b2df(0x582)],_0x5c8ed1[0x0]['drawingId']),this[_0x28b2df(0x30b)]){this[_0x28b2df(0x201)]();return;}}else{if(this[_0x28b2df(0x3dc)]+=0x1,this[_0x28b2df(0x30b)]=this[_0x28b2df(0x3ef)](_0x5c8ed1[0x0][_0x28b2df(0x524)],_0x5c8ed1[0x0][_0x28b2df(0x582)],_0x5c8ed1[0x0][_0x28b2df(0x4ae)]),this[_0x28b2df(0x30b)]){this[_0x28b2df(0x30b)][_0x28b2df(0x4d2)]=!0x0,this[_0x28b2df(0x201)]();return;}}this[_0x28b2df(0x3db)]();}));}['_openShapeEditPanel'](){const _0x5d7218=_0x50e1ba;this[_0x5d7218(0x30b)]&&(this['_sidebarDisposable']=this[_0x5d7218(0x3cb)][_0x5d7218(0x29e)]({'id':_0x4b86ba,'header':{'title':this[_0x5d7218(0x457)]['t']('sheets-shape-ui.formatShape')},'width':0x184,'children':{'label':_0x4b86ba,...this['_activeShapeInfo']},'onClose':()=>{const _0x1e3ac3=_0x5d7218;this[_0x1e3ac3(0x5be)]['focusDrawing'](null),this[_0x1e3ac3(0x599)]['setContextValue'](_0x141609[_0x1e3ac3(0x55a)],!0x1),this[_0x1e3ac3(0x466)]=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}['_closeShapeEditPanel'](){const _0xdf28aa=_0x50e1ba;this['_isOpenedShapeEditPanel']=!0x1,this[_0xdf28aa(0x3cb)]['close'](_0x4b86ba),this[_0xdf28aa(0x466)]=null,this[_0xdf28aa(0x599)][_0xdf28aa(0x3a5)](_0x141609[_0xdf28aa(0x55a)],!0x1),this[_0xdf28aa(0x5be)][_0xdf28aa(0x326)](null);}};_0x4552ae=_0x488baa([_0x3ceba3(0x0,_0x141609[_0x50e1ba(0x465)]),_0x3ceba3(0x1,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0xf803d[_0x50e1ba(0x5b1)])),_0x3ceba3(0x2,_0xf803d[_0x50e1ba(0x2ee)]),_0x3ceba3(0x3,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x137641[_0x50e1ba(0x4f5)])),_0x3ceba3(0x4,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x141609[_0x50e1ba(0x4fc)])),_0x3ceba3(0x5,_0x141609[_0x50e1ba(0x3f2)]),_0x3ceba3(0x6,_0x193b7c['IDrawingManagerService']),_0x3ceba3(0x7,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x2e59a1['SheetCanvasPopManagerService'])),_0x3ceba3(0x8,_0x141609['IContextService']),_0x3ceba3(0x9,_0x4fd0c0[_0x50e1ba(0x403)]),_0x3ceba3(0xa,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x5dbfb4))],_0x4552ae);var _0xc25560=class extends _0x4552ae{[_0x50e1ba(0x409)](){const _0x251f81=_0x50e1ba;this[_0x251f81(0x2ff)][_0x251f81(0x35f)](_0x354d0c);}[_0x50e1ba(0x3d3)](){const _0x32e5f9=_0x50e1ba;this[_0x32e5f9(0x464)]['registerFeatureMenu'](_0x141609['DrawingTypeEnum'][_0x32e5f9(0x285)],(_0x30fbb5,_0x25ba46,_0x8e32b7,_0x235f11)=>{const _0x46f5e8=_0x32e5f9;let _0x31d7c8=this[_0x46f5e8(0x4ba)][_0x46f5e8(0x1e1)](_0x30fbb5,_0x25ba46,_0x8e32b7),_0x55a707=this[_0x46f5e8(0x4ba)]['getShapeDataById'](_0x30fbb5,_0x25ba46,_0x8e32b7),_0x13220b=_0x31d7c8!==void 0x0&&!(0x0,_0x1e2604[_0x46f5e8(0x56f)])(_0x31d7c8)&&!(_0x55a707!=null&&_0x55a707[_0x46f5e8(0x312)]);return[{'label':_0x46f5e8(0x234),'index':0x0,'commandId':_0x63339a['id'],'commandParams':{'unitId':_0x30fbb5,'subUnitId':_0x25ba46,'drawingId':_0x8e32b7,'mode':_0x46f5e8(0x2cd)},'disable':!0x1},..._0x13220b?[{'label':_0x46f5e8(0x499),'index':0x1,'commandId':_0x63339a['id'],'commandParams':{'unitId':_0x30fbb5,'subUnitId':_0x25ba46,'drawingId':_0x8e32b7,'mode':_0x46f5e8(0x3c8)},'disable':!0x1}]:[],{'label':'sheets-shape-ui.deleteShape','index':0x2,'commandId':_0xf06dc['RemoveSheetDrawingCommand']['id'],'commandParams':{'unitId':_0x30fbb5,'drawings':[{'unitId':_0x30fbb5,'subUnitId':_0x25ba46,'drawingId':_0x8e32b7,'drawingType':_0x235f11}]},'disable':!0x1},{'label':_0x46f5e8(0x28c),'index':0x3,'commandId':_0x137641[_0x46f5e8(0x545)]['id'],'commandParams':{'unitId':_0x30fbb5,'subUnitId':_0x25ba46,'shapeId':_0x8e32b7,'flipH':!0x0},'disable':!0x1},{'label':_0x46f5e8(0x3c0),'index':0x4,'commandId':_0x137641['ToggleSheetsShapeFlipCommand']['id'],'commandParams':{'unitId':_0x30fbb5,'subUnitId':_0x25ba46,'shapeId':_0x8e32b7,'flipV':!0x0},'disable':!0x1}];},_0x32e5f9(0x3d5));}[_0x50e1ba(0x510)](_0x5dd8f1){const _0x12c450=_0x50e1ba;this[_0x12c450(0x3d3)]();let _0x51dbce=new _0x141609[(_0x12c450(0x425))](),_0x3747c6=null,_0x40f0f6=()=>{const _0x4ebca3=_0x12c450;if(!_0x3747c6)return;let _0x2ff7d7=this['_drawingManagerService'][_0x4ebca3(0x380)](),_0x1a96f8=_0x2ff7d7[_0x4ebca3(0x59f)]===0x0||_0x2ff7d7[_0x4ebca3(0x59f)]===0x1&&_0x2ff7d7[_0x4ebca3(0x57b)](_0x1b3178=>_0x1b3178[_0x4ebca3(0x524)]===(_0x3747c6==null?void 0x0:_0x3747c6[_0x4ebca3(0x524)])&&_0x1b3178[_0x4ebca3(0x582)]===(_0x3747c6==null?void 0x0:_0x3747c6['subUnitId'])&&_0x1b3178['drawingId']===(_0x3747c6==null?void 0x0:_0x3747c6[_0x4ebca3(0x4ae)]));_0x3747c6=null,_0x1a96f8&&(this['_contextService']['setContextValue'](_0x141609['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x4ebca3(0x5be)][_0x4ebca3(0x326)](null));};return _0x51dbce[_0x12c450(0x30e)](_0x5dd8f1[_0x12c450(0x367)]['subscribe'](()=>{const _0x301149=_0x12c450;let _0xb1bdbe=_0x5dd8f1[_0x301149(0x37f)]();if(_0xb1bdbe[_0x301149(0x277)]>0x1){_0x40f0f6();return;}let _0x10cc9a=_0xb1bdbe['values']()['next']()[_0x301149(0x598)];if(!_0x10cc9a){_0x40f0f6();return;}let _0x284f48=this['_drawingManagerService'][_0x301149(0x20e)](_0x10cc9a[_0x301149(0x5b6)]);if(!_0x284f48||_0x284f48[_0x301149(0x589)]!==_0x141609[_0x301149(0x397)][_0x301149(0x285)]){_0x40f0f6();return;}let {unitId:_0xc58905,subUnitId:_0x5ae9d3,drawingId:_0x886521}=_0x284f48;_0x3747c6={'unitId':_0xc58905,'subUnitId':_0x5ae9d3,'drawingId':_0x886521},this[_0x301149(0x599)]['setContextValue'](_0x141609[_0x301149(0x55a)],!0x0),this[_0x301149(0x5be)]['getFocusDrawings']()[_0x301149(0x4c3)](_0x4bb675=>_0x4bb675[_0x301149(0x524)]===_0xc58905&&_0x4bb675[_0x301149(0x582)]===_0x5ae9d3&&_0x4bb675['drawingId']===_0x886521)||this['_drawingManagerService'][_0x301149(0x326)]([{'unitId':_0xc58905,'subUnitId':_0x5ae9d3,'drawingId':_0x886521}]);})),_0x51dbce[_0x12c450(0x30e)](_0x5dd8f1['clearControl$'][_0x12c450(0x5a8)](()=>{_0x40f0f6();})),(0x0,_0x141609[_0x12c450(0x235)])(()=>{const _0x1ad11d=_0x12c450;_0x51dbce[_0x1ad11d(0x270)](),_0x40f0f6();});}};function _0x18f598(_0x5cb12f,_0x5dd915,_0x2f779a,_0x4fcc39){const _0x554bcd=_0x50e1ba;let _0x103495=(0x0,_0x193b7c[_0x554bcd(0x534)])(_0x5cb12f,_0x5dd915,_0x2f779a),_0x168b19=[];for(let _0x11094f of _0x5dd915){let _0x5b93ea=_0x103495[_0x554bcd(0x2be)][_0x554bcd(0x404)](_0x11094f[_0x554bcd(0x4ae)]),_0x1bcf10=_0x4fcc39(_0x11094f);!_0x5b93ea||!_0x1bcf10||_0x168b19[_0x554bcd(0x447)]({'targetShapeId':_0x5b93ea,'source':_0x1bcf10});}return _0x168b19;}let _0x2edea9=class extends _0x141609[_0x50e1ba(0x50e)]{constructor(_0x4043b7,_0x354dcc,_0x5958ce,_0x2fc4c7){const _0x3710fb=_0x50e1ba;super(),this['_univerInstanceService']=_0x4043b7,this[_0x3710fb(0x37a)]=_0x354dcc,this['_sheetDrawingService']=_0x5958ce,this[_0x3710fb(0x4ba)]=_0x2fc4c7,this[_0x3710fb(0x3b5)]();}[_0x50e1ba(0x3b5)](){const _0x175888=_0x50e1ba;this[_0x175888(0x297)](this[_0x175888(0x37a)][_0x175888(0x3f5)]({'getMutations':_0x132083=>{const _0x152f3e=_0x175888;if(_0x132083['id']===_0x200933[_0x152f3e(0x227)]['id']){let _0x387df5=(0x0,_0x200933['getSheetCommandTarget'])(this[_0x152f3e(0x50c)],_0x132083[_0x152f3e(0x392)]);if(!_0x387df5)return{'redos':[],'undos':[]};let {unitId:_0x3f86dd,subUnitId:_0x226351}=_0x387df5,_0x990c1f=this[_0x152f3e(0x5ac)]['getDrawingData'](_0x3f86dd,_0x226351),_0x4cf7fb=Object['values'](_0x990c1f)['filter'](_0x5e762b=>_0x5e762b[_0x152f3e(0x589)]===_0x141609['DrawingTypeEnum'][_0x152f3e(0x285)]);if(_0x4cf7fb[_0x152f3e(0x59f)]===0x0)return{'redos':[],'undos':[]};let _0x21f863=[],_0x39faff=[];for(let _0x24180b=0x0;_0x24180b<_0x4cf7fb['length'];_0x24180b++){let _0x1d7f02=_0x4cf7fb[_0x24180b],_0xf07b91=this[_0x152f3e(0x4ba)][_0x152f3e(0x4d3)](_0x1d7f02['unitId'],_0x1d7f02[_0x152f3e(0x582)],_0x1d7f02[_0x152f3e(0x4ae)]);_0xf07b91&&(_0x21f863[_0x152f3e(0x447)]({'id':_0x137641[_0x152f3e(0x435)]['id'],'params':{'unitId':_0x3f86dd,'subUnitId':_0x226351,'shapeId':_0x1d7f02['drawingId']}}),_0x39faff[_0x152f3e(0x447)]({'id':_0x137641['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x3f86dd,'subUnitId':_0x226351,'shapeId':_0x1d7f02[_0x152f3e(0x4ae)],'shapeType':_0xf07b91[_0x152f3e(0x232)](),'shapeData':JSON[_0x152f3e(0x379)](JSON[_0x152f3e(0x282)](_0xf07b91[_0x152f3e(0x513)]()))}}));}return{'redos':_0x21f863,'undos':_0x39faff};}else{if(_0x132083['id']===_0x200933['CopySheetCommand']['id']){let {unitId:_0x5b8946,subUnitId:_0x361b20,targetSubUnitId:_0x40f2ab,copyContext:_0x178d68}=_0x132083[_0x152f3e(0x392)];if(!_0x5b8946||!_0x361b20||!_0x40f2ab)return{'redos':[],'undos':[]};let _0x47c2c4=this[_0x152f3e(0x5ac)][_0x152f3e(0x59a)](_0x5b8946,_0x361b20),_0x5b0a91=Object[_0x152f3e(0x4b6)](_0x47c2c4)['filter'](_0x375820=>_0x375820[_0x152f3e(0x589)]===_0x141609[_0x152f3e(0x397)][_0x152f3e(0x285)]);if(_0x5b0a91[_0x152f3e(0x59f)]===0x0)return{'redos':[],'undos':[]};let _0x56a417=_0x18f598(_0x178d68,_0x5b0a91,{'unitId':_0x5b8946,'sourceSubUnitId':_0x361b20,'targetSubUnitId':_0x40f2ab},_0x3ac984=>{const _0x48d249=_0x152f3e;let _0x2b1611=this[_0x48d249(0x4ba)][_0x48d249(0x4d3)](_0x3ac984[_0x48d249(0x524)],_0x3ac984[_0x48d249(0x582)],_0x3ac984[_0x48d249(0x4ae)]);if(_0x2b1611)return{'shapeType':_0x2b1611[_0x48d249(0x232)](),'shapeData':JSON[_0x48d249(0x379)](JSON['stringify'](_0x2b1611[_0x48d249(0x513)]()))};}),_0x7b5281=[],_0x90f607=[];for(let {targetShapeId:_0x4c5a1e,source:_0x7691ca}of _0x56a417)_0x7b5281[_0x152f3e(0x447)]({'id':_0x137641[_0x152f3e(0x1e8)]['id'],'params':{'unitId':_0x5b8946,'subUnitId':_0x40f2ab,'shapeId':_0x4c5a1e,'shapeType':_0x7691ca[_0x152f3e(0x57e)],'shapeData':_0x7691ca['shapeData']}}),_0x90f607[_0x152f3e(0x447)]({'id':_0x137641[_0x152f3e(0x435)]['id'],'params':{'unitId':_0x5b8946,'subUnitId':_0x40f2ab,'shapeId':_0x4c5a1e}});return{'redos':_0x7b5281,'undos':_0x90f607};}}return{'redos':[],'undos':[]};}}));}};_0x2edea9=_0x488baa([_0x3ceba3(0x0,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x141609[_0x50e1ba(0x465)])),_0x3ceba3(0x1,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x200933[_0x50e1ba(0x356)])),_0x3ceba3(0x2,(0x0,_0x141609['Inject'])(_0xf06dc[_0x50e1ba(0x295)])),_0x3ceba3(0x3,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x137641['SheetsShapeService']))],_0x2edea9);let _0x12299d=class extends _0x141609['Disposable']{constructor(_0x3e2dd8,_0x114939,_0x2898b4,_0x3d1a03,_0x75383,_0x274be7){const _0x541dc5=_0x50e1ba;super(),this['_commandService']=_0x3e2dd8,this[_0x541dc5(0x2e0)]=_0x114939,this[_0x541dc5(0x5be)]=_0x2898b4,this['_currentUniverService']=_0x3d1a03,this['_drawingRenderService']=_0x75383,this['_sheetDrawingShapeRenderController']=_0x274be7,_0x46f35a(this,'_insertingShapeKeys',new Set()),this[_0x541dc5(0x214)]();}[_0x50e1ba(0x214)](){const _0x515dab=_0x50e1ba;this[_0x515dab(0x3c5)](),this['_commandExecutedListener'](),this[_0x515dab(0x4f4)]();}[_0x50e1ba(0x3c5)](){const _0x340928=_0x50e1ba;this[_0x340928(0x297)](this[_0x340928(0x5be)][_0x340928(0x289)][_0x340928(0x5a8)](_0x96452d=>{const _0x6913f9=_0x340928;this[_0x6913f9(0x205)](_0x96452d);}));}[_0x50e1ba(0x373)](){const _0x5a18a5=_0x50e1ba;this[_0x5a18a5(0x297)](this['_commandService'][_0x5a18a5(0x27b)]((_0x50eed9,_0x466e06)=>{const _0x480121=_0x5a18a5;if(_0x50eed9['id']===_0x137641[_0x480121(0x23d)]['id']){let {unitId:_0x6f7874,subUnitId:_0xc49f42,shapeId:_0x54e9aa}=_0x50eed9[_0x480121(0x392)],_0x15ac86=this[_0x480121(0x31d)](_0x6f7874),_0x196191=(0x0,_0x193b7c[_0x480121(0x1e4)])({'unitId':_0x6f7874,'subUnitId':_0xc49f42,'drawingId':_0x54e9aa}),_0x1091c0=_0x15ac86==null?void 0x0:_0x15ac86[_0x480121(0x498)]['getObjectIncludeInGroup'](_0x196191);_0x1091c0&&(this['_sheetDrawingShapeRenderController'][_0x480121(0x458)](_0x1091c0),this[_0x480121(0x2d9)][_0x480121(0x384)](_0x1091c0,{'unitId':_0x6f7874,'subUnitId':_0xc49f42,'shapeId':_0x54e9aa}),_0x1091c0[_0x480121(0x48c)](!0x0));return;}if(_0x50eed9['id']===_0x137641[_0x480121(0x1e8)]['id']){var _0x59c7a8;let {unitId:_0x36f570,subUnitId:_0x191732,shapeId:_0x371782}=_0x50eed9[_0x480121(0x392)],_0x4353fe=this[_0x480121(0x31d)](_0x36f570);if(_0x4353fe==null)return;let {scene:_0x5e48b5}=_0x4353fe,_0x23db8e=(0x0,_0x193b7c[_0x480121(0x1e4)])({'unitId':_0x36f570,'subUnitId':_0x191732,'drawingId':_0x371782}),_0x96cef=_0x5e48b5['getObjectIncludeInGroup'](_0x23db8e);if(!((_0x59c7a8=this[_0x480121(0x2e0)][_0x480121(0x22b)](_0x36f570))!=null&&_0x59c7a8[_0x480121(0x2ea)](_0x2e59a1[_0x480121(0x21f)])['getSkeleton'](_0x191732)))return!0x1;if(_0x96cef)return;if(_0x466e06!=null&&_0x466e06[_0x480121(0x489)]){queueMicrotask(()=>{const _0x1ec956=_0x480121;this[_0x1ec956(0x474)]||this['_insertShapes']([{'unitId':_0x36f570,'subUnitId':_0x191732,'drawingId':_0x371782}]);});return;}this[_0x480121(0x205)]([{'unitId':_0x36f570,'subUnitId':_0x191732,'drawingId':_0x371782}]);}}));}[_0x50e1ba(0x4f4)](){const _0x263a86=_0x50e1ba;this[_0x263a86(0x297)](this['_drawingManagerService']['update$'][_0x263a86(0x5a8)](_0x474032=>{_0x474032['forEach'](_0x4a6b7f=>{const _0x44887f=_0x387f;let {unitId:_0x30a4cc,subUnitId:_0x41800a,drawingId:_0x21c955}=_0x4a6b7f,_0x4c4687=this['_drawingManagerService'][_0x44887f(0x1fd)](_0x4a6b7f);if(_0x4c4687==null)return;let {transform:_0x5c6348,drawingType:_0x52feed,srcRect:_0x3059f3,prstGeom:_0x3d5533}=_0x4c4687;if(_0x52feed!==_0x141609[_0x44887f(0x397)][_0x44887f(0x285)])return;let _0x1b7d2f=this['_getSceneAndTransformerByDrawingSearch'](_0x30a4cc);if(_0x1b7d2f==null)return;let {scene:_0x3429c8,transformer:_0x141686}=_0x1b7d2f;if(_0x5c6348==null)return!0x0;let _0xab121f=(0x0,_0x193b7c['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x30a4cc,'subUnitId':_0x41800a,'drawingId':_0x21c955}),_0x8fdda=_0x3429c8[_0x44887f(0x3c2)](_0xab121f);if(_0x8fdda==null)return!0x0;_0x8fdda['setSrcRect'](_0x3059f3),_0x8fdda[_0x44887f(0x37e)](_0x3d5533);});}));}[_0x50e1ba(0x205)](_0x2d4594){const _0x3e951e=_0x50e1ba;for(let _0x2d488c of _0x2d4594){var _0xae9065;let {unitId:_0x4b7ccf,subUnitId:_0x1eef9d,drawingId:_0x4ed294}=_0x2d488c,_0x1bb20b=this[_0x3e951e(0x31d)](_0x4b7ccf),_0xbf292c=(_0xae9065=(0x0,_0x21abf6[_0x3e951e(0x3bc)])(this['_currentUniverService'],_0x4b7ccf))==null?void 0x0:_0xae9065[_0x3e951e(0x582)];if(_0x1bb20b==null||_0xbf292c!==_0x1eef9d)return;let _0x2ed7e0=(0x0,_0x193b7c[_0x3e951e(0x1e4)])({'unitId':_0x4b7ccf,'subUnitId':_0x1eef9d,'drawingId':_0x4ed294});if(this[_0x3e951e(0x360)][_0x3e951e(0x40b)](_0x2ed7e0)||_0x1bb20b[_0x3e951e(0x498)][_0x3e951e(0x3c2)](_0x2ed7e0)!=null)return;let _0x269016=this[_0x3e951e(0x5be)][_0x3e951e(0x1fd)](_0x2d488c);if(_0x269016==null||_0x269016['drawingType']!==_0x141609[_0x3e951e(0x397)][_0x3e951e(0x285)])return;if((0x0,_0x1e2604['isConnectorShape'])((_0x269016[_0x3e951e(0x318)]||{})[_0x3e951e(0x57e)])){let _0x127c58=_0x269016['transform'];_0x127c58&&(_0x269016['transform']={..._0x127c58,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x3e951e(0x360)]['add'](_0x2ed7e0);try{this[_0x3e951e(0x2d9)]['renderDrawingShape'](_0x269016,_0x1bb20b[_0x3e951e(0x498)]);}finally{this[_0x3e951e(0x360)][_0x3e951e(0x43b)](_0x2ed7e0);}queueMicrotask(()=>{const _0x224abb=_0x3e951e;if(this[_0x224abb(0x474)])return;let _0x341128=(0x0,_0x193b7c['getDrawingShapeKeyByDrawingSearch'])(_0x2d488c);if(!_0x1bb20b[_0x224abb(0x498)]['getObjectIncludeInGroup'](_0x341128))return;let _0x26bd37=this[_0x224abb(0x5be)][_0x224abb(0x1fd)](_0x2d488c);_0x26bd37&&this[_0x224abb(0x5be)][_0x224abb(0x1f3)]([_0x26bd37]);});}}[_0x50e1ba(0x31d)](_0x45d3a1){const _0x1162e2=_0x50e1ba;if(_0x45d3a1==null)return;let _0x3c5671=this[_0x1162e2(0x2e0)][_0x1162e2(0x22b)](_0x45d3a1),_0x1d0349=_0x3c5671==null?void 0x0:_0x3c5671[_0x1162e2(0x498)];return _0x1d0349==null?null:{'scene':_0x1d0349,'transformer':_0x1d0349[_0x1162e2(0x592)]()};}};_0x12299d=_0x488baa([_0x3ceba3(0x0,_0x141609[_0x50e1ba(0x3f2)]),_0x3ceba3(0x1,_0x4fd0c0[_0x50e1ba(0x403)]),_0x3ceba3(0x2,_0x193b7c[_0x50e1ba(0x349)]),_0x3ceba3(0x3,_0x141609['IUniverInstanceService']),_0x3ceba3(0x4,(0x0,_0x141609['Inject'])(_0x21abf6[_0x50e1ba(0x24c)])),_0x3ceba3(0x5,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x52a530))],_0x12299d);let _0x5783d4={'normal':{'fill':_0x1e2604[_0x50e1ba(0x2c5)][_0x50e1ba(0x58d)],'stroke':_0x1e2604[_0x50e1ba(0x2c5)][_0x50e1ba(0x429)],'strokeWidth':_0x1e2604['ShapeDefaultConfig'][_0x50e1ba(0x4ac)]},'highlighted':{'fill':_0x50e1ba(0x3be),'stroke':_0x50e1ba(0x370),'strokeWidth':0x2}};var _0x40dde2=class extends _0x4fd0c0[_0x50e1ba(0x4de)]{constructor(_0x173dba,_0x5559b9){const _0x4b5f12=_0x50e1ba;super(_0x173dba,_0x5559b9),_0x46f35a(this,'_targetShapeId',''),_0x46f35a(this,'_cxnIndex',-0x1),_0x46f35a(this,_0x4b5f12(0x4a7),''),_0x46f35a(this,_0x4b5f12(0x5b5),''),_0x46f35a(this,_0x4b5f12(0x3c3),!0x1),_0x5559b9&&this[_0x4b5f12(0x22c)](_0x5559b9);}['getConnectionInfo'](){const _0x307488=_0x50e1ba;return{'unitId':this[_0x307488(0x4a7)],'subUnitId':this['_subUnitId'],'shapeId':this['_targetShapeId'],'cxnIndex':this[_0x307488(0x27c)]};}['setHighlighted'](_0x4f4544){const _0x5c73fe=_0x50e1ba;this['_isHighlighted']!==_0x4f4544&&(this[_0x5c73fe(0x3c3)]=_0x4f4544,this['makeDirty'](!0x0));}['isHighlighted'](){return this['_isHighlighted'];}[_0x50e1ba(0x22c)](_0x5891d7){const _0xc95aef=_0x50e1ba;_0x5891d7['targetShapeId']!==void 0x0&&(this[_0xc95aef(0x323)]=_0x5891d7[_0xc95aef(0x2f0)]),_0x5891d7[_0xc95aef(0x390)]!==void 0x0&&(this[_0xc95aef(0x27c)]=_0x5891d7[_0xc95aef(0x390)]),_0x5891d7[_0xc95aef(0x524)]!==void 0x0&&(this[_0xc95aef(0x4a7)]=_0x5891d7[_0xc95aef(0x524)]),_0x5891d7[_0xc95aef(0x582)]!==void 0x0&&(this['_subUnitId']=_0x5891d7[_0xc95aef(0x582)]),_0x5891d7[_0xc95aef(0x302)]!==void 0x0&&(this['_isHighlighted']=_0x5891d7['isHighlighted']),this[_0xc95aef(0x433)]({'width':_0x5891d7['width']??_0x1e2604[_0xc95aef(0x2c5)][_0xc95aef(0x5ad)]*0x2,'height':_0x5891d7['height']??_0x1e2604[_0xc95aef(0x2c5)]['cxnPointRadius']*0x2});}[_0x50e1ba(0x333)](_0xd28d44){const _0x204ef1=_0x50e1ba;let _0x34f794=this[_0x204ef1(0x3c3)]?_0x5783d4['highlighted']:_0x5783d4[_0x204ef1(0x444)];_0x4fd0c0[_0x204ef1(0x258)]['drawWith'](_0xd28d44,{'radius':_0x1e2604[_0x204ef1(0x2c5)]['cxnPointRadius'],'fill':_0x34f794[_0x204ef1(0x320)],'stroke':_0x34f794[_0x204ef1(0x304)],'strokeWidth':_0x34f794[_0x204ef1(0x53a)],'evented':!0x0});}};let _0x1314ff=class extends _0x141609[_0x50e1ba(0x50e)]{constructor(_0x3512d1,_0x3fab3a,_0x5142a6,_0x31d263){const _0x1d1942=_0x50e1ba;super(),this[_0x1d1942(0x2d6)]=_0x3512d1,this[_0x1d1942(0x2e0)]=_0x3fab3a,this[_0x1d1942(0x5be)]=_0x5142a6,this[_0x1d1942(0x4ba)]=_0x31d263,_0x46f35a(this,_0x1d1942(0x42d),[]),_0x46f35a(this,_0x1d1942(0x493),null),_0x46f35a(this,_0x1d1942(0x3f4),-0x1),_0x46f35a(this,_0x1d1942(0x441),null),_0x46f35a(this,_0x1d1942(0x4a7),''),_0x46f35a(this,'_subUnitId',''),_0x46f35a(this,_0x1d1942(0x2cb),null);}[_0x50e1ba(0x31c)](_0x37612f,_0x495bf2,_0x36ce78,_0x3a3840){const _0x9da3f1=_0x50e1ba;this['_currentScene']=_0x37612f,this[_0x9da3f1(0x4a7)]=_0x495bf2,this['_subUnitId']=_0x36ce78,this[_0x9da3f1(0x2cb)]=_0x3a3840;}[_0x50e1ba(0x3f8)](_0x1d8046){const _0x55cab6=_0x50e1ba;if(!this[_0x55cab6(0x441)])return null;let _0x3d0b9b=this['_findShapeAtPoint'](_0x1d8046);return _0x3d0b9b?(this[_0x55cab6(0x493)]!==_0x3d0b9b['shapeId']&&(this[_0x55cab6(0x1ef)](),this[_0x55cab6(0x4cd)](_0x3d0b9b[_0x55cab6(0x35b)],_0x3d0b9b['shapeModel']),this[_0x55cab6(0x493)]=_0x3d0b9b[_0x55cab6(0x35b)]),this[_0x55cab6(0x4e7)](_0x1d8046)):(this[_0x55cab6(0x493)]!==null&&(this[_0x55cab6(0x1ef)](),this[_0x55cab6(0x493)]=null),null);}[_0x50e1ba(0x48d)](){const _0x2942cb=_0x50e1ba;this['_clearConnectionSites'](),this[_0x2942cb(0x441)]=null,this[_0x2942cb(0x493)]=null,this['_highlightedSiteIndex']=-0x1,this[_0x2942cb(0x2cb)]=null;}[_0x50e1ba(0x37c)](){const _0xfdc89f=_0x50e1ba;return this[_0xfdc89f(0x493)]===null||this[_0xfdc89f(0x3f4)]<0x0?null:{'shapeId':this[_0xfdc89f(0x493)],'cxnIndex':this['_highlightedSiteIndex']};}['_findShapeAtPoint'](_0xf47e27){const _0x12cd49=_0x50e1ba;let _0x57a36c=this[_0x12cd49(0x5be)]['getDrawingData'](this[_0x12cd49(0x4a7)],this['_subUnitId']);for(let _0x40fcf4 of Object['keys'](_0x57a36c)){if(_0x40fcf4===this[_0x12cd49(0x2cb)]||_0x57a36c[_0x40fcf4][_0x12cd49(0x589)]!==_0x141609[_0x12cd49(0x397)]['DRAWING_SHAPE'])continue;let _0x2e67c8=this[_0x12cd49(0x4ba)]['getShapeModel'](this[_0x12cd49(0x4a7)],this[_0x12cd49(0x5b5)],_0x40fcf4);if(!_0x2e67c8||(0x0,_0x1e2604[_0x12cd49(0x56f)])(_0x2e67c8[_0x12cd49(0x232)]())||_0x2e67c8[_0x12cd49(0x523)]()[_0x12cd49(0x59f)]===0x0||!this[_0x12cd49(0x441)])continue;let _0x15bbe3=(0x0,_0x193b7c[_0x12cd49(0x1e4)])({'unitId':this[_0x12cd49(0x4a7)],'subUnitId':this['_subUnitId'],'drawingId':_0x40fcf4}),_0x224d4b=this[_0x12cd49(0x441)][_0x12cd49(0x3c2)](_0x15bbe3);if(!_0x224d4b)continue;let {left:_0x42be44,top:_0x2914f9,width:_0x38b72e,height:_0x195750}=_0x224d4b[_0x12cd49(0x255)](),_0x279000=_0x42be44+_0x38b72e/0x2,_0x106089=_0x2914f9+_0x195750/0x2,_0x597910=_0x224d4b[_0x12cd49(0x25f)][_0x12cd49(0x490)](),_0x2f7c86=new _0x4fd0c0[(_0x12cd49(0x3ed))]([_0x597910[0x0],_0x597910[0x1],_0x597910[0x2],_0x597910[0x3],_0x279000,_0x106089]),_0x3ef485=_0x224d4b[_0x12cd49(0x1fc)](),_0x3c3823=(_0x224d4b[_0x12cd49(0x331)]&&(_0x3ef485==null?void 0x0:_0x3ef485[_0x12cd49(0x424)])===_0x4fd0c0[_0x12cd49(0x5aa)][_0x12cd49(0x2da)]?_0x3ef485[_0x12cd49(0x3de)]['multiply'](_0x2f7c86):_0x2f7c86)[_0x12cd49(0x2fa)]()[_0x12cd49(0x4be)](_0xf47e27),_0x544786=_0x38b72e/0x2,_0x4f7bd2=_0x195750/0x2;if(_0x3c3823['x']>=-_0x544786-0x5&&_0x3c3823['x']<=_0x544786+0x5&&_0x3c3823['y']>=-_0x4f7bd2-0x5&&_0x3c3823['y']<=_0x4f7bd2+0x5)return{'shapeId':_0x40fcf4,'shapeModel':_0x2e67c8};}return null;}[_0x50e1ba(0x4cd)](_0x535def,_0xecec0f){const _0x3ed278=_0x50e1ba;if(!this[_0x3ed278(0x441)])return;let _0x2c3622=(0x0,_0x193b7c['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0x3ed278(0x4a7)],'subUnitId':this[_0x3ed278(0x5b5)],'drawingId':_0x535def}),_0xb5e797=this['_currentScene'][_0x3ed278(0x3c2)](_0x2c3622);if(!_0xb5e797)return;let {left:_0x4e2190,top:_0x5bead7,width:_0x16f5d7,height:_0x4d626e}=_0xb5e797[_0x3ed278(0x255)](),_0xc88d34=_0x4e2190+_0x16f5d7/0x2,_0x3b98e2=_0x5bead7+_0x4d626e/0x2,_0x222a6d=_0xb5e797[_0x3ed278(0x25f)][_0x3ed278(0x490)](),_0xdbe146=new _0x4fd0c0[(_0x3ed278(0x3ed))]([_0x222a6d[0x0],_0x222a6d[0x1],_0x222a6d[0x2],_0x222a6d[0x3],_0xc88d34,_0x3b98e2]),_0x5a6e40=_0xb5e797['getParent'](),_0xc90e0c=_0xb5e797[_0x3ed278(0x331)]&&(_0x5a6e40==null?void 0x0:_0x5a6e40['classType'])===_0x4fd0c0[_0x3ed278(0x5aa)][_0x3ed278(0x2da)]?_0x5a6e40[_0x3ed278(0x3de)][_0x3ed278(0x587)](_0xdbe146):_0xdbe146;_0xecec0f['updateContext']({'width':_0x16f5d7,'height':_0x4d626e});let _0x438923=_0xecec0f[_0x3ed278(0x523)]();for(let _0xec36a0 of _0x438923){let _0x20264d=_0xec36a0['x']-_0x16f5d7/0x2,_0x45ac3d=_0xec36a0['y']-_0x4d626e/0x2,_0x49c738=_0xc90e0c['applyPoint']({'x':_0x20264d,'y':_0x45ac3d}),_0x56e052=_0x49c738['x'],_0x4fe85a=_0x49c738['y'],_0x471469=new _0x40dde2(_0x3ed278(0x4e2)+_0x535def+'-'+_0xec36a0[_0x3ed278(0x508)],{'left':_0x56e052-_0x1e2604[_0x3ed278(0x2c5)][_0x3ed278(0x5ad)],'top':_0x4fe85a-_0x1e2604[_0x3ed278(0x2c5)][_0x3ed278(0x5ad)],'targetShapeId':_0x535def,'cxnIndex':_0xec36a0[_0x3ed278(0x508)],'unitId':this[_0x3ed278(0x4a7)],'subUnitId':this['_subUnitId'],'width':_0x1e2604['ShapeDefaultConfig']['cxnPointRadius']*0x2,'height':_0x1e2604[_0x3ed278(0x2c5)][_0x3ed278(0x5ad)]*0x2,'zIndex':_0x4fd0c0[_0x3ed278(0x31a)]+0x2,'evented':!0x1});this[_0x3ed278(0x42d)][_0x3ed278(0x447)](_0x471469),this[_0x3ed278(0x441)][_0x3ed278(0x3a7)](_0x471469,_0x4fd0c0[_0x3ed278(0x31a)]+0x2);}}['_findNearestConnectionSite'](_0x23ec58){const _0x542dda=_0x50e1ba;let _0x4b5742=null,_0x1d4389=0x1/0x0,_0x4aba37=null;for(let _0x4d3877 of this[_0x542dda(0x42d)]){let _0x3d4082=_0x4d3877['left']+_0x1e2604[_0x542dda(0x2c5)][_0x542dda(0x5ad)],_0x3d358f=_0x4d3877[_0x542dda(0x44a)]+_0x1e2604[_0x542dda(0x2c5)][_0x542dda(0x5ad)],_0x17e3f6=_0x23ec58['x']-_0x3d4082,_0x319822=_0x23ec58['y']-_0x3d358f,_0x518614=Math[_0x542dda(0x238)](_0x17e3f6*_0x17e3f6+_0x319822*_0x319822);_0x518614<_0x1d4389&&(_0x1d4389=_0x518614,_0x4b5742=_0x4d3877,_0x4aba37={'x':_0x3d4082,'y':_0x3d358f});}let _0x24bef3=_0x1d4389<=0xa&&_0x4b5742?_0x4b5742[_0x542dda(0x35e)]()[_0x542dda(0x390)]:-0x1;if(_0x24bef3!==this['_highlightedSiteIndex']){for(let _0xc842d3 of this[_0x542dda(0x42d)]){let _0x38216c=_0xc842d3[_0x542dda(0x35e)]();_0xc842d3[_0x542dda(0x4f2)](_0x38216c[_0x542dda(0x390)]===_0x24bef3);}this['_highlightedSiteIndex']=_0x24bef3;}if(_0x1d4389<=0xa&&_0x4b5742&&_0x4aba37){let _0xc964ed=_0x4b5742[_0x542dda(0x35e)](),_0x56ffee=this[_0x542dda(0x39d)](_0xc964ed[_0x542dda(0x35b)],_0xc964ed[_0x542dda(0x390)]);return{'shapeId':_0xc964ed[_0x542dda(0x35b)],'cxnIndex':_0xc964ed['cxnIndex'],'unitId':_0xc964ed[_0x542dda(0x524)],'subUnitId':_0xc964ed[_0x542dda(0x582)],'worldPoint':_0x4aba37,'angle':_0x56ffee};}return null;}[_0x50e1ba(0x39d)](_0x3a2587,_0x3ed4ec){const _0x248202=_0x50e1ba;let _0x224cec=this[_0x248202(0x4ba)]['getShapeModel'](this['_unitId'],this[_0x248202(0x5b5)],_0x3a2587);if(!_0x224cec)return 0x0;let _0x28301c=this[_0x248202(0x5be)][_0x248202(0x1fd)]({'unitId':this[_0x248202(0x4a7)],'subUnitId':this[_0x248202(0x5b5)],'drawingId':_0x3a2587});if(!(_0x28301c!=null&&_0x28301c[_0x248202(0x25f)]))return 0x0;let {width:_0x21c333=0x0,height:_0x4c1ae1=0x0,flipX:_0x4f4a2f=!0x1,flipY:_0xc9c18e=!0x1}=_0x28301c[_0x248202(0x25f)];_0x224cec['updateContext']({'width':_0x21c333,'height':_0x4c1ae1});let _0x1105ae=_0x224cec['getConnectionSiteList']()[_0x248202(0x4c3)](_0x51eafe=>_0x51eafe[_0x248202(0x508)]===_0x3ed4ec);if(!_0x1105ae)return 0x0;let _0x137ab2=_0x1105ae[_0x248202(0x4a4)]/0xea60;return _0x4f4a2f&&(_0x137ab2=0xb4-_0x137ab2),_0xc9c18e&&(_0x137ab2=-_0x137ab2),_0x137ab2=(_0x137ab2%0x168+0x168)%0x168,_0x137ab2;}['_clearConnectionSites'](){const _0x23a5fb=_0x50e1ba;for(let _0x23d573 of this['_connectionSiteObjects'])_0x23d573['dispose']();this[_0x23a5fb(0x42d)]=[],this[_0x23a5fb(0x3f4)]=-0x1;}['dispose'](){const _0x3307b2=_0x50e1ba;this[_0x3307b2(0x1ef)](),super['dispose']();}};_0x1314ff=_0x488baa([_0x3ceba3(0x1,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x4fd0c0[_0x50e1ba(0x403)])),_0x3ceba3(0x2,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x193b7c[_0x50e1ba(0x349)])),_0x3ceba3(0x3,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x137641['SheetsShapeService']))],_0x1314ff);let _0x336972=class extends _0x141609[_0x50e1ba(0x50e)]{constructor(_0x11b6b5,_0x1129e8,_0x185721,_0x454497,_0x37978a){const _0x5ccf47=_0x50e1ba;super(),this[_0x5ccf47(0x2af)]=_0x11b6b5,this[_0x5ccf47(0x3fa)]=_0x1129e8,this['_sheetDrawingService']=_0x185721,this[_0x5ccf47(0x416)]=_0x454497,this[_0x5ccf47(0x419)]=_0x37978a,_0x46f35a(this,_0x5ccf47(0x2e2),void 0x0),this['_initCopyPaste'](),this['_registerGroupFeaturePasteHook']();}get['_focusedDrawings'](){const _0x32e25a=_0x50e1ba;return this[_0x32e25a(0x5ac)][_0x32e25a(0x380)]();}[_0x50e1ba(0x418)](){this['_groupCopyPasteController']['registerFeaturePasteHook'](({fromUnitId:_0x2aa174,fromSubUnitId:_0x3ce50e,toUnitId:_0x5416b5,toSubUnitId:_0x2f1901,idMap:_0x211897})=>{const _0x2992eb=_0x387f;let _0x2f664f=[],_0x18ef4c=[];for(let [_0x128d64,_0x3a3fd7]of _0x211897[_0x2992eb(0x1ed)]()){let _0x27d212=this['_shapeService'][_0x2992eb(0x4d3)](_0x2aa174,_0x3ce50e,_0x128d64);if(!_0x27d212)continue;let _0x309336=_0x27d212['getShapeType'](),_0x18bb69=JSON[_0x2992eb(0x379)](JSON[_0x2992eb(0x282)](_0x27d212[_0x2992eb(0x513)]()));if(_0x18bb69['relation']){var _0x11c655,_0x5e7096;let _0x3f4a06=(_0x11c655=_0x18bb69[_0x2992eb(0x44e)]['from'])==null?void 0x0:_0x11c655[_0x2992eb(0x35b)],_0x1570e3=(_0x5e7096=_0x18bb69['relation']['to'])==null?void 0x0:_0x5e7096[_0x2992eb(0x35b)],_0x49c233=!_0x3f4a06||_0x211897[_0x2992eb(0x40b)](_0x3f4a06),_0x11c42f=!_0x1570e3||_0x211897[_0x2992eb(0x40b)](_0x1570e3);_0x49c233&&_0x3f4a06&&_0x18bb69['relation'][_0x2992eb(0x268)]?_0x18bb69[_0x2992eb(0x44e)]['from']={..._0x18bb69[_0x2992eb(0x44e)][_0x2992eb(0x268)],'shapeId':_0x211897['get'](_0x3f4a06)}:_0x18bb69[_0x2992eb(0x44e)][_0x2992eb(0x268)]=void 0x0,_0x11c42f&&_0x1570e3&&_0x18bb69['relation']['to']?_0x18bb69[_0x2992eb(0x44e)]['to']={..._0x18bb69[_0x2992eb(0x44e)]['to'],'shapeId':_0x211897[_0x2992eb(0x404)](_0x1570e3)}:_0x18bb69[_0x2992eb(0x44e)]['to']=void 0x0;}_0x2f664f[_0x2992eb(0x447)]({'id':_0x137641[_0x2992eb(0x1e8)]['id'],'params':{'unitId':_0x5416b5,'subUnitId':_0x2f1901,'shapeId':_0x3a3fd7,'shapeType':_0x309336,'shapeData':_0x18bb69}}),_0x18ef4c[_0x2992eb(0x447)]({'id':_0x137641[_0x2992eb(0x435)]['id'],'params':{'unitId':_0x5416b5,'subUnitId':_0x2f1901,'shapeId':_0x3a3fd7}});}return{'redos':_0x2f664f,'undos':_0x18ef4c};});}[_0x50e1ba(0x578)](){const _0x58b4f7=_0x50e1ba;this['disposeWithMe'](this[_0x58b4f7(0x3fa)][_0x58b4f7(0x563)]({'id':_0x58b4f7(0x2e3),'onBeforeCopyFocusedObject':(_0x2ed838,_0x220536,_0x4c8d82)=>{const _0x4b83ce=_0x58b4f7;this['_copyInfo']=null;let _0x76b6b8=this[_0x4b83ce(0x401)][_0x4b83ce(0x4c5)](_0x436afa=>_0x436afa['drawingType']===_0x141609[_0x4b83ce(0x397)]['DRAWING_SHAPE']);return _0x76b6b8[_0x4b83ce(0x59f)]===0x0?!0x1:(this['_copyInfo']={'unitId':_0x2ed838,'subUnitId':_0x220536,'copyType':_0x4c8d82,'drawings':_0x76b6b8},!0x0);},'onBeforeCopy':(_0x320a6c,_0x227d75,_0x568b98,_0x22ccf2)=>{const _0x59605d=_0x58b4f7;this[_0x59605d(0x2e2)]=null,this['_createCopyInfoByRange'](_0x320a6c,_0x227d75,_0x568b98,_0x22ccf2);},'onPasteCells':(_0x322bda,_0x487828,_0x5509db,_0x172ab2)=>{const _0x1ca5c7=_0x58b4f7;if(!_0x172ab2[_0x1ca5c7(0x3c6)]||!_0x322bda||!this[_0x1ca5c7(0x2e2)])return{'redos':[],'undos':[]};let {pasteType:_0x4e0b2b}=_0x172ab2;return _0x4e0b2b===_0x2e59a1[_0x1ca5c7(0x52c)][_0x1ca5c7(0x400)]?this[_0x1ca5c7(0x28d)](_0x487828,this[_0x1ca5c7(0x2e2)][_0x1ca5c7(0x577)]===_0x2e59a1[_0x1ca5c7(0x2dd)]['CUT']):{'redos':[],'undos':[]};}}));}[_0x50e1ba(0x574)](_0x44c8ae,_0x280669,_0x1df380,_0x47c42b){const _0x383fdf=_0x50e1ba;let _0x4c686d=this[_0x383fdf(0x2af)][_0x383fdf(0x45a)](_0x44c8ae,_0x280669);if(!_0x4c686d)return;let _0x422094=(0x0,_0x200933[_0x383fdf(0x45f)])(_0x4c686d,_0x1df380);if(!_0x422094)return;let {startX:_0x3e2ce0,endX:_0xb079a4,startY:_0x20968d,endY:_0x264c3c}=_0x422094,_0x2803c1=this[_0x383fdf(0x5ac)][_0x383fdf(0x59a)](_0x44c8ae,_0x280669),_0x2220e8=[];for(let [_0x1670c7,_0x3d736d]of Object['entries'](_0x2803c1)){if(_0x3d736d['drawingType']!==_0x141609[_0x383fdf(0x397)][_0x383fdf(0x285)])continue;let {transform:_0x45d3a6}=_0x3d736d;if(!_0x45d3a6)continue;let {left:_0x27ce55=0x0,top:_0x25f29f=0x0,width:_0x3c2111=0x0,height:_0x14a994=0x0}=_0x45d3a6;_0x3e2ce0<=_0x27ce55&&_0xb079a4>=_0x27ce55+_0x3c2111&&_0x20968d<=_0x25f29f&&_0x264c3c>=_0x25f29f+_0x14a994&&_0x2220e8[_0x383fdf(0x447)](_0x3d736d);}_0x2220e8[_0x383fdf(0x59f)]>0x0&&(this['_copyInfo']={'unitId':_0x44c8ae,'subUnitId':_0x280669,'copyType':_0x47c42b,'copyRange':_0x1df380,'drawings':_0x2220e8});}[_0x50e1ba(0x28d)](_0x3f9a8c,_0x167e26){const _0x44dbda=_0x50e1ba;let {unitId:_0x1f0a12,subUnitId:_0x525962,range:_0x520db7}=_0x3f9a8c,_0x265e3c=this[_0x44dbda(0x2af)]['getSkeleton'](_0x1f0a12,_0x525962);if(!_0x265e3c)return{'redos':[],'undos':[]};let _0x596f92=(0x0,_0x200933[_0x44dbda(0x22a)])(_0x520db7),{unitId:_0x47efb9,subUnitId:_0xc76822,copyRange:_0x1e4063,drawings:_0x392d8a}=this['_copyInfo'],_0x1d3356=this[_0x44dbda(0x2af)][_0x44dbda(0x45a)](_0x47efb9,_0xc76822);if(!_0x1d3356)return{'redos':[],'undos':[]};let _0x21a92f;if(!_0x1e4063){let _0x43f796=0x1/0x0,_0x2aac1d=0x1/0x0;for(let _0x39bdb0 of _0x392d8a){let {left:_0x3584a1=0x0,top:_0x34ffd6=0x0}=_0x39bdb0[_0x44dbda(0x25f)]??{};_0x3584a1<_0x43f796&&(_0x43f796=_0x3584a1),_0x34ffd6<_0x2aac1d&&(_0x2aac1d=_0x34ffd6);}_0x43f796!==0x1/0x0&&_0x2aac1d!==0x1/0x0&&(_0x21a92f={'left':_0x43f796,'top':_0x2aac1d});}let _0x5589d4=new Map();if(!_0x167e26){for(let _0x461288 of _0x392d8a)_0x5589d4[_0x44dbda(0x3c7)](_0x461288['drawingId'],(0x0,_0x141609[_0x44dbda(0x3a8)])());}let _0x4d19cd=[],_0x4d0227=[];for(let _0x2d8466 of _0x392d8a){let {drawingId:_0x15f141,transform:_0x3022e9,sheetTransform:_0x1b439e}=_0x2d8466;if(!_0x3022e9||!_0x1b439e)continue;let _0x27e759=this[_0x44dbda(0x342)]({'transform':_0x3022e9,'sheetTransform':_0x1b439e},{'skeleton':_0x1d3356,'range':_0x1e4063},{'skeleton':_0x265e3c,'range':_0x596f92},_0x21a92f);if(_0x167e26){let {redos:_0x42dcc8,undos:_0x17ec48}=this[_0x44dbda(0x345)]({'fromUnitId':_0x47efb9,'fromSubUnitId':_0xc76822,'toUnitId':_0x1f0a12,'toSubUnitId':_0x525962,'drawing':_0x2d8466,'newTransforms':_0x27e759});_0x4d19cd[_0x44dbda(0x447)](..._0x42dcc8),_0x4d0227[_0x44dbda(0x447)](..._0x17ec48);continue;}let {redos:_0x53aa41,undos:_0x47db3a}=this[_0x44dbda(0x576)]({'toUnitId':_0x1f0a12,'toSubUnitId':_0x525962,'drawing':_0x2d8466,'newTransforms':_0x27e759,'newDrawingId':_0x5589d4[_0x44dbda(0x404)](_0x15f141),'idMap':_0x5589d4});_0x4d19cd[_0x44dbda(0x447)](..._0x53aa41),_0x4d0227[_0x44dbda(0x447)](..._0x47db3a);}return{'redos':_0x4d19cd,'undos':_0x4d0227};}[_0x50e1ba(0x345)](_0x2569e2){const _0x3cff49=_0x50e1ba;let {fromUnitId:_0x127817,fromSubUnitId:_0x1c9396,toUnitId:_0x281d74,toSubUnitId:_0x2aeed8,drawing:_0x62832e,newTransforms:_0x6f8ff8}=_0x2569e2,_0x43cd94={..._0x62832e,'unitId':_0x281d74,'subUnitId':_0x2aeed8,'transform':_0x6f8ff8[_0x3cff49(0x25f)],'sheetTransform':_0x6f8ff8[_0x3cff49(0x3ea)]};if(_0x281d74===_0x127817&&_0x2aeed8===_0x1c9396){let {redo:_0x52c2d6,undo:_0x3abe7e,objects:_0x556cdb}=this['_sheetDrawingService']['getBatchUpdateOp']([_0x43cd94]);return{'redos':[{'id':_0xf06dc['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x281d74,'subUnitId':_0x2aeed8,'type':_0xf06dc[_0x3cff49(0x4ad)][_0x3cff49(0x459)],'op':_0x52c2d6,'objects':_0x556cdb}}],'undos':[{'id':_0xf06dc[_0x3cff49(0x434)]['id'],'params':{'unitId':_0x281d74,'subUnitId':_0x2aeed8,'type':_0xf06dc['DrawingApplyType'][_0x3cff49(0x459)],'op':_0x3abe7e,'objects':_0x556cdb}}]};}else{let _0x17df4e=this[_0x3cff49(0x5ac)][_0x3cff49(0x25e)]([_0x62832e]),_0x3abd62=this[_0x3cff49(0x5ac)][_0x3cff49(0x42c)]([_0x43cd94]),_0x3c46b9=this[_0x3cff49(0x416)][_0x3cff49(0x4d3)](_0x62832e[_0x3cff49(0x524)],_0x62832e['subUnitId'],_0x62832e[_0x3cff49(0x4ae)]);if(!_0x3c46b9)return{'redos':[],'undos':[]};let _0x301419=_0x3c46b9[_0x3cff49(0x232)](),_0x5889c2=JSON[_0x3cff49(0x379)](JSON[_0x3cff49(0x282)](_0x3c46b9[_0x3cff49(0x513)]()));return{'redos':[{'id':_0xf06dc[_0x3cff49(0x434)]['id'],'params':{'unitId':_0x127817,'subUnitId':_0x1c9396,'type':_0xf06dc[_0x3cff49(0x4ad)][_0x3cff49(0x4e3)],'op':_0x17df4e[_0x3cff49(0x51e)],'objects':_0x17df4e[_0x3cff49(0x59d)]}},{'id':_0x137641[_0x3cff49(0x435)]['id'],'params':{'unitId':_0x127817,'subUnitId':_0x1c9396,'shapeId':_0x62832e[_0x3cff49(0x4ae)]}},{'id':_0xf06dc[_0x3cff49(0x434)]['id'],'params':{'unitId':_0x281d74,'subUnitId':_0x2aeed8,'type':_0xf06dc[_0x3cff49(0x4ad)][_0x3cff49(0x5a0)],'op':_0x3abd62[_0x3cff49(0x51e)],'objects':_0x3abd62[_0x3cff49(0x59d)]}},{'id':_0x137641[_0x3cff49(0x1e8)]['id'],'params':{'unitId':_0x281d74,'subUnitId':_0x2aeed8,'shapeId':_0x62832e['drawingId'],'shapeType':_0x301419,'shapeData':_0x5889c2}}],'undos':[{'id':_0xf06dc[_0x3cff49(0x434)]['id'],'params':{'unitId':_0x127817,'subUnitId':_0x1c9396,'type':_0xf06dc['DrawingApplyType'][_0x3cff49(0x5a0)],'op':_0x17df4e[_0x3cff49(0x2c1)],'objects':_0x17df4e[_0x3cff49(0x59d)]}},{'id':_0x137641[_0x3cff49(0x1e8)]['id'],'params':{'unitId':_0x127817,'subUnitId':_0x1c9396,'shapeId':_0x62832e[_0x3cff49(0x4ae)],'shapeType':_0x301419,'shapeData':_0x5889c2}},{'id':_0xf06dc[_0x3cff49(0x434)]['id'],'params':{'unitId':_0x281d74,'subUnitId':_0x2aeed8,'type':_0xf06dc['DrawingApplyType'][_0x3cff49(0x4e3)],'op':_0x3abd62[_0x3cff49(0x2c1)],'objects':_0x3abd62['objects']}},{'id':_0x137641['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x281d74,'subUnitId':_0x2aeed8,'shapeId':_0x62832e['drawingId']}}]};}}[_0x50e1ba(0x576)](_0x5445c5){const _0x3b3ad7=_0x50e1ba;let {toUnitId:_0x45e137,toSubUnitId:_0xe98953,drawing:_0x593f41,newTransforms:_0x56a2f2,newDrawingId:_0x45e9f5,idMap:_0x363e02}=_0x5445c5,_0x12c43b={..._0x593f41,'unitId':_0x45e137,'subUnitId':_0xe98953,'drawingId':_0x45e9f5,'transform':_0x56a2f2[_0x3b3ad7(0x25f)],'sheetTransform':_0x56a2f2[_0x3b3ad7(0x3ea)]},{redo:_0x77c7d8,undo:_0x343e6e,objects:_0x300a0a}=this[_0x3b3ad7(0x5ac)]['getBatchAddOp']([_0x12c43b]),_0x126b58=this[_0x3b3ad7(0x416)][_0x3b3ad7(0x4d3)](_0x593f41[_0x3b3ad7(0x524)],_0x593f41[_0x3b3ad7(0x582)],_0x593f41[_0x3b3ad7(0x4ae)]);if(!_0x126b58)return{'redos':[],'undos':[]};let _0x227387=_0x126b58[_0x3b3ad7(0x232)](),_0x3b9975=JSON['parse'](JSON['stringify'](_0x126b58[_0x3b3ad7(0x513)]()));if(_0x3b9975[_0x3b3ad7(0x44e)]){var _0x41239f,_0x3f4d89;let _0xbe5c7e=(_0x41239f=_0x3b9975[_0x3b3ad7(0x44e)][_0x3b3ad7(0x268)])==null?void 0x0:_0x41239f['shapeId'],_0x5d5d79=(_0x3f4d89=_0x3b9975['relation']['to'])==null?void 0x0:_0x3f4d89[_0x3b3ad7(0x35b)],_0x4850af=!_0xbe5c7e||_0x363e02[_0x3b3ad7(0x40b)](_0xbe5c7e),_0x1b1b1c=!_0x5d5d79||_0x363e02[_0x3b3ad7(0x40b)](_0x5d5d79);_0x4850af&&_0xbe5c7e&&_0x3b9975[_0x3b3ad7(0x44e)]['from']?_0x3b9975[_0x3b3ad7(0x44e)][_0x3b3ad7(0x268)]={..._0x3b9975['relation'][_0x3b3ad7(0x268)],'shapeId':_0x363e02[_0x3b3ad7(0x404)](_0xbe5c7e)}:_0x3b9975[_0x3b3ad7(0x44e)]['from']=void 0x0,_0x1b1b1c&&_0x5d5d79&&_0x3b9975[_0x3b3ad7(0x44e)]['to']?_0x3b9975[_0x3b3ad7(0x44e)]['to']={..._0x3b9975[_0x3b3ad7(0x44e)]['to'],'shapeId':_0x363e02[_0x3b3ad7(0x404)](_0x5d5d79)}:_0x3b9975[_0x3b3ad7(0x44e)]['to']=void 0x0;}return{'redos':[{'id':_0xf06dc[_0x3b3ad7(0x434)]['id'],'params':{'unitId':_0x45e137,'subUnitId':_0xe98953,'type':_0xf06dc[_0x3b3ad7(0x4ad)][_0x3b3ad7(0x5a0)],'op':_0x77c7d8,'objects':_0x300a0a}},{'id':_0x137641[_0x3b3ad7(0x1e8)]['id'],'params':{'unitId':_0x45e137,'subUnitId':_0xe98953,'shapeId':_0x45e9f5,'shapeType':_0x227387,'shapeData':_0x3b9975}}],'undos':[{'id':_0xf06dc[_0x3b3ad7(0x434)]['id'],'params':{'unitId':_0x45e137,'subUnitId':_0xe98953,'type':_0xf06dc['DrawingApplyType'][_0x3b3ad7(0x4e3)],'op':_0x343e6e,'objects':_0x300a0a}},{'id':_0x137641[_0x3b3ad7(0x435)]['id'],'params':{'unitId':_0x45e137,'subUnitId':_0xe98953,'shapeId':_0x45e9f5}}]};}[_0x50e1ba(0x342)](_0x2b65f7,_0x4275b1,_0x3c2dd4,_0x4d08e6){const _0x3058b5=_0x50e1ba;let {range:_0x1d8d5b,skeleton:_0x7dd31a}=_0x4275b1,{range:_0x11b843,skeleton:_0x5ce9a8}=_0x3c2dd4,{transform:_0xabd837,sheetTransform:_0x5864a4}=_0x2b65f7,_0x1dee08={..._0xabd837};if(_0x1d8d5b){let _0x3f8106=(0x0,_0x200933[_0x3058b5(0x45f)])(_0x7dd31a,_0x1d8d5b),_0xfe9755=(0x0,_0x200933[_0x3058b5(0x45f)])(_0x5ce9a8,_0x11b843);if(_0x3f8106&&_0xfe9755){let _0x3caabd=_0xfe9755[_0x3058b5(0x26c)]-_0x3f8106[_0x3058b5(0x26c)],_0x365cd8=_0xfe9755[_0x3058b5(0x236)]-_0x3f8106['startY'];_0x1dee08[_0x3058b5(0x487)]=(_0x1dee08['left']??0x0)+_0x3caabd,_0x1dee08[_0x3058b5(0x44a)]=(_0x1dee08[_0x3058b5(0x44a)]??0x0)+_0x365cd8;}}else{let _0x540789=(0x0,_0x200933['attachRangeWithCoord'])(_0x5ce9a8,_0x11b843);if(_0x4d08e6&&_0x540789){let _0x3d66cc=(_0x1dee08['left']??0x0)-_0x4d08e6[_0x3058b5(0x487)],_0x47acd4=(_0x1dee08['top']??0x0)-_0x4d08e6['top'];_0x1dee08[_0x3058b5(0x487)]=_0x540789[_0x3058b5(0x26c)]+_0x3d66cc,_0x1dee08[_0x3058b5(0x44a)]=_0x540789[_0x3058b5(0x236)]+_0x47acd4;}else _0x1dee08[_0x3058b5(0x487)]=_0x540789==null?void 0x0:_0x540789['startX'],_0x1dee08['top']=_0x540789==null?void 0x0:_0x540789[_0x3058b5(0x236)];}return{'transform':_0x1dee08,'sheetTransform':(0x0,_0xf06dc['transformToDrawingPosition'])(_0x1dee08,_0x5ce9a8)??_0x5864a4};}};_0x336972=_0x488baa([_0x3ceba3(0x0,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x200933[_0x50e1ba(0x2cf)])),_0x3ceba3(0x1,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x2e59a1[_0x50e1ba(0x33d)])),_0x3ceba3(0x2,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0xf06dc[_0x50e1ba(0x295)])),_0x3ceba3(0x3,(0x0,_0x141609['Inject'])(_0x137641[_0x50e1ba(0x4f5)])),_0x3ceba3(0x4,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x2d0a48[_0x50e1ba(0x4a5)]))],_0x336972);var _0x4ccc43=class extends _0x4fd0c0[_0x50e1ba(0x4de)]{constructor(_0x34be8c,_0x257567){const _0x434ec0=_0x50e1ba;super(_0x34be8c,_0x257567),_0x46f35a(this,_0x434ec0(0x2a4),null),_0x46f35a(this,_0x434ec0(0x5b8),null),_0x46f35a(this,'_unitId',null),_0x46f35a(this,'_subUnitId',null),_0x46f35a(this,_0x434ec0(0x5a5),!0x1),_0x257567&&this[_0x434ec0(0x22c)](_0x257567);}[_0x50e1ba(0x55b)](){const _0x4b9546=_0x50e1ba;return{'unitId':this['_unitId'],'subUnitId':this[_0x4b9546(0x5b5)],'drawingId':this[_0x4b9546(0x2a4)]};}[_0x50e1ba(0x22c)](_0x44deb2){const _0x4ccf79=_0x50e1ba;_0x44deb2['shapeId']!==void 0x0&&(this[_0x4ccf79(0x2a4)]=_0x44deb2['shapeId']),_0x44deb2[_0x4ccf79(0x524)]!==void 0x0&&(this['_unitId']=_0x44deb2['unitId']),_0x44deb2[_0x4ccf79(0x582)]!==void 0x0&&(this['_subUnitId']=_0x44deb2[_0x4ccf79(0x582)]),_0x44deb2['isStartConnectorPoint']!==void 0x0&&(this[_0x4ccf79(0x5a5)]=_0x44deb2[_0x4ccf79(0x26a)]),this[_0x4ccf79(0x433)]({'width':_0x44deb2['width'],'height':_0x44deb2[_0x4ccf79(0x4d8)]});}['_draw'](_0x386c84){const _0x300038=_0x50e1ba;_0x4fd0c0[_0x300038(0x258)][_0x300038(0x314)](_0x386c84,{'radius':_0x1e2604[_0x300038(0x2c5)][_0x300038(0x5ad)],'fill':_0x1e2604['ShapeDefaultConfig'][_0x300038(0x58d)],'stroke':_0x1e2604[_0x300038(0x2c5)]['cxnPointStroke'],'strokeWidth':_0x1e2604[_0x300038(0x2c5)]['cxnPointStrokeWidth'],'evented':!0x0});}};let _0x2cc80a=class extends _0x141609[_0x50e1ba(0x50e)]{constructor(_0x522fb1,_0x4261f5,_0x217bcb,_0x4110d8,_0x20667e,_0x3e5b1d,_0x3a395b,_0x23b331){const _0xc6431e=_0x50e1ba;super(),this[_0xc6431e(0x2d6)]=_0x522fb1,this['_commandService']=_0x4261f5,this[_0xc6431e(0x2e0)]=_0x217bcb,this['_drawingManagerService']=_0x4110d8,this[_0xc6431e(0x50c)]=_0x20667e,this[_0xc6431e(0x4ba)]=_0x3e5b1d,this[_0xc6431e(0x3d1)]=_0x3a395b,this[_0xc6431e(0x555)]=_0x23b331,_0x46f35a(this,_0xc6431e(0x3ff),void 0x0),_0x46f35a(this,_0xc6431e(0x4a7),void 0x0),_0x46f35a(this,_0xc6431e(0x5b5),void 0x0),_0x46f35a(this,_0xc6431e(0x2eb),[]),_0x46f35a(this,_0xc6431e(0x4bd),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),_0x46f35a(this,'_activeShapeModel',void 0x0),_0x46f35a(this,_0xc6431e(0x2c7),!0x1),_0x46f35a(this,_0xc6431e(0x54c),!0x1),_0x46f35a(this,_0xc6431e(0x3e9),!0x1),_0x46f35a(this,_0xc6431e(0x2c6),void 0x0),_0x46f35a(this,'_cxtHandlerPointerUp',void 0x0),_0x46f35a(this,_0xc6431e(0x362),null),this['_initialize']();}[_0x50e1ba(0x214)](){const _0x2740dd=_0x50e1ba;this[_0x2740dd(0x445)](),this[_0x2740dd(0x42b)]();}[_0x50e1ba(0x478)](){const _0x425ee9=_0x50e1ba;if(!this[_0x425ee9(0x4a7)]||!this[_0x425ee9(0x5b5)]||!this[_0x425ee9(0x3ff)])return;let _0x5a32c3={'unitId':this[_0x425ee9(0x4a7)],'subUnitId':this[_0x425ee9(0x5b5)],'drawingId':this[_0x425ee9(0x3ff)]},{transform:_0xa4f359}=this[_0x425ee9(0x5be)][_0x425ee9(0x1fd)](_0x5a32c3);if(_0xa4f359)return{'left':_0xa4f359[_0x425ee9(0x487)]||0x0,'top':_0xa4f359[_0x425ee9(0x44a)]||0x0,'width':_0xa4f359['width']||0x0,'height':_0xa4f359[_0x425ee9(0x4d8)]||0x0,'flipX':_0xa4f359[_0x425ee9(0x217)]||!0x1,'flipY':_0xa4f359[_0x425ee9(0x580)]||!0x1,'angle':_0xa4f359[_0x425ee9(0x4c4)]};}[_0x50e1ba(0x436)](){const _0x2bcb3f=_0x50e1ba;if(this[_0x2bcb3f(0x4a7)]===void 0x0||this[_0x2bcb3f(0x5b5)]===void 0x0||this[_0x2bcb3f(0x3ff)]===void 0x0)return;let _0x2d48d8=this[_0x2bcb3f(0x2e0)][_0x2bcb3f(0x22b)](this[_0x2bcb3f(0x4a7)]);if(!_0x2d48d8||!_0x2d48d8['with'](_0x2e59a1['SheetSkeletonManagerService'])['getCurrentSkeleton']())return;let {scene:_0x4ea544}=_0x2d48d8,_0x1a157d=this[_0x2bcb3f(0x478)]();if(!_0x1a157d)return;let _0xb42d23=this['_sheetsShapeService'][_0x2bcb3f(0x4d3)](this['_unitId'],this[_0x2bcb3f(0x5b5)],this['_activeShapeId']);if(!_0xb42d23||!(0x0,_0x1e2604['isConnectorShape'])(_0xb42d23['getShapeType']()))return;let _0x1f7ce3=_0xb42d23[_0x2bcb3f(0x488)]();if(_0x1f7ce3[_0x2bcb3f(0x59f)]<0x2)return;let _0x1c719d=new _0x1e2604[(_0x2bcb3f(0x53c))](_0x1a157d),_0x155687=_0x1f7ce3[0x0],_0x255581=_0x1f7ce3[_0x1f7ce3['length']-0x1],_0x4d4109=_0x1c719d[_0x2bcb3f(0x372)](_0x155687),_0x54e8bf=_0x1c719d[_0x2bcb3f(0x372)](_0x255581);this[_0x2bcb3f(0x540)](_0x4ea544,{..._0x4d4109},!0x0),this[_0x2bcb3f(0x540)](_0x4ea544,{..._0x54e8bf},!0x1);}['_addShapeConnectorHandlerObject'](_0x3f92fa,_0x3b98a8,_0x52485b){const _0x7d133e=_0x50e1ba;if(this[_0x7d133e(0x3ff)]===void 0x0||this[_0x7d133e(0x4a7)]===void 0x0||this[_0x7d133e(0x5b5)]===void 0x0)return;let _0x37b0f9=_0x7d133e(0x207)+this[_0x7d133e(0x4a7)]+'-'+this['_subUnitId']+'-'+this['_activeShapeId']+'-'+(_0x52485b?_0x7d133e(0x41b):_0x7d133e(0x3ba)),_0x533585=_0x3f92fa[_0x7d133e(0x3c2)](_0x37b0f9);if(_0x533585){_0x533585['transformByState']({'left':_0x3b98a8['x']-_0x1e2604[_0x7d133e(0x2c5)][_0x7d133e(0x5ad)],'top':_0x3b98a8['y']-_0x1e2604[_0x7d133e(0x2c5)]['cxnPointRadius']});return;}let _0x1def16=new _0x4ccc43(_0x37b0f9,{'left':_0x3b98a8['x']-_0x1e2604[_0x7d133e(0x2c5)]['cxnPointRadius'],'top':_0x3b98a8['y']-_0x1e2604[_0x7d133e(0x2c5)][_0x7d133e(0x5ad)],'shapeId':this[_0x7d133e(0x3ff)],'unitId':this['_unitId'],'subUnitId':this[_0x7d133e(0x5b5)],'isStartConnectorPoint':_0x52485b,'width':_0x1e2604['ShapeDefaultConfig'][_0x7d133e(0x5ad)]*0x2,'height':_0x1e2604[_0x7d133e(0x2c5)][_0x7d133e(0x5ad)]*0x2,'zIndex':_0x4fd0c0[_0x7d133e(0x31a)]+0x1,'evented':!0x0});this[_0x7d133e(0x2eb)]['push'](_0x1def16),this[_0x7d133e(0x369)](_0x1def16,_0x3f92fa,_0x52485b),_0x3f92fa[_0x7d133e(0x3a7)](_0x1def16,_0x4fd0c0[_0x7d133e(0x31a)]+0x1);}[_0x50e1ba(0x58e)](_0x53a35c,_0x2b7152){const _0x212db4=_0x50e1ba;var _0x390fe6;let _0x5bcaec={'x':0x0,'y':0x0};if(!_0x53a35c||!_0x2b7152)return _0x5bcaec;let _0x72d2e7=this['_renderManagerService']['getRenderUnitById'](_0x53a35c);if(!_0x72d2e7||!_0x72d2e7['with'](_0x2e59a1[_0x212db4(0x21f)])[_0x212db4(0x45a)](_0x2b7152))return _0x5bcaec;let _0xb51852=_0x72d2e7[_0x212db4(0x2ea)](_0x2e59a1['SheetScrollManagerService']),_0x36285b=_0xb51852==null?void 0x0:_0xb51852['getCurrentScrollState']();if(!_0x36285b)return _0x5bcaec;let _0x3ee363=(_0x390fe6=this['_univerInstanceService'][_0x212db4(0x2bd)](_0x53a35c))==null?void 0x0:_0x390fe6[_0x212db4(0x226)](_0x2b7152);if(!_0x3ee363)return _0x5bcaec;let _0x12d8e1=(0x0,_0x2e59a1[_0x212db4(0x538)])(_0x36285b[_0x212db4(0x252)],_0x36285b[_0x212db4(0x2c4)],_0x72d2e7[_0x212db4(0x498)],_0x3ee363);return _0x12d8e1?{'x':_0x12d8e1[_0x212db4(0x410)],'y':_0x12d8e1[_0x212db4(0x54a)]}:_0x5bcaec;}[_0x50e1ba(0x4ec)](_0x5edd4d,_0x22f1fc){const _0x3190d2=_0x50e1ba;var _0x588dbe;let _0x10115b=(_0x588dbe=this[_0x3190d2(0x50c)][_0x3190d2(0x2bd)](_0x5edd4d))==null?void 0x0:_0x588dbe[_0x3190d2(0x226)](_0x22f1fc);return(_0x10115b==null?void 0x0:_0x10115b[_0x3190d2(0x33c)]())??0x1;}[_0x50e1ba(0x4dd)](_0x4bfdcb,_0x76bcea,_0x49e9dd,_0x1cfbdb,_0x10b36d){const _0x57a438=_0x50e1ba;this[_0x57a438(0x2c6)][_0x57a438(0x570)](),this['_cxtHandlerPointerUp']['unsubscribe'](),this['_sheetShapeAdjustController']['refreshAdjustControls']();let _0x5a95a2=this['_currentConnectionTarget'];this['_sheetBasicShapeConnectionPointController'][_0x57a438(0x48d)]();let _0xfae3bb=this[_0x57a438(0x58e)](this[_0x57a438(0x4a7)],this[_0x57a438(0x5b5)]),_0x6df4d3=this['_getZoomRatio'](this[_0x57a438(0x4a7)],this[_0x57a438(0x5b5)]),_0x446e95={'x':_0x49e9dd[_0x57a438(0x200)]/_0x6df4d3+_0xfae3bb['x'],'y':_0x49e9dd[_0x57a438(0x316)]/_0x6df4d3+_0xfae3bb['y']},_0x2e13a0=_0x5a95a2?_0x5a95a2[_0x57a438(0x30c)]:_0x446e95,_0x1bb03a=_0x1cfbdb?this[_0x57a438(0x1ea)][_0x57a438(0x220)]():this[_0x57a438(0x1ea)][_0x57a438(0x3e5)](),_0x3991bb=this[_0x57a438(0x1ea)][_0x57a438(0x232)]();_0x1bb03a?this[_0x57a438(0x37b)](_0x1bb03a,_0x2e13a0,_0x1cfbdb,_0x5a95a2,_0x10b36d):this[_0x57a438(0x547)](_0x76bcea,_0x2e13a0,_0x1cfbdb,_0x5a95a2,_0x10b36d,_0x3991bb),this[_0x57a438(0x2c7)]=!0x1,this[_0x57a438(0x3e9)]=!0x1,this[_0x57a438(0x362)]=null,_0x4bfdcb['enableObjectsEvent']();}['_handleFreeEndpointPointerUp'](_0x263ec8,_0x196b4a,_0x4570a9,_0x17e19d,_0x3b35c1,_0x319871){const _0xa23443=_0x50e1ba;let _0x23fe30=_0x319871===_0x1e2604['ShapeTypeEnum'][_0xa23443(0x2e7)]||_0x319871===_0x1e2604[_0xa23443(0x2b8)][_0xa23443(0x39f)],_0xcb24dd=_0x4570a9?_0x196b4a:_0x263ec8,_0x31943e=_0x4570a9?_0x263ec8:_0x196b4a,_0x3a8b5c=this[_0xa23443(0x1ea)][_0xa23443(0x488)](),_0x164c68=(0x0,_0x1e2604[_0xa23443(0x572)])(this[_0xa23443(0x1ea)][_0xa23443(0x232)]()),_0x18ab7c=_0x1e2604[_0xa23443(0x53c)][_0xa23443(0x33f)](_0x3a8b5c,_0x164c68),_0x59940c=_0x23fe30?_0x1e2604[_0xa23443(0x53c)][_0xa23443(0x4bc)](_0xcb24dd,_0x31943e):_0x1e2604['ConnectorCoordinateTransform'][_0xa23443(0x359)](_0x263ec8,_0x196b4a,_0x4570a9,_0x18ab7c);_0x17e19d?this['_executeConnectionCommand'](_0x59940c,_0x17e19d,_0x4570a9,_0x3b35c1):this['_executeResizeCommand'](_0x59940c,_0x3b35c1);}[_0x50e1ba(0x37b)](_0x1a9d61,_0x750122,_0x4f0016,_0x3dccb4,_0x137b7c){const _0x1d0063=_0x50e1ba;let _0x4257cb=this[_0x1d0063(0x1ec)](_0x1a9d61);if(!_0x4257cb)return;let _0x4a1b24=_0x3dccb4?_0x3dccb4[_0x1d0063(0x4c4)]:this[_0x1d0063(0x2ae)](_0x4257cb[_0x1d0063(0x505)],_0x750122),_0x1e3398;if(_0x3dccb4){let _0x58374e=this[_0x1d0063(0x5be)]['getDrawingByParam']({'unitId':_0x3dccb4[_0x1d0063(0x524)],'subUnitId':_0x3dccb4[_0x1d0063(0x582)],'drawingId':_0x3dccb4[_0x1d0063(0x35b)]});if(_0x58374e!=null&&_0x58374e[_0x1d0063(0x25f)]){let {left:_0x55d3c2=0x0,top:_0x2fd239=0x0,width:_0x13a536=0x0,height:_0x4476e8=0x0,angle:_0x2df450}=_0x58374e[_0x1d0063(0x25f)];_0x1e3398=(0x0,_0x1e2604['getBasicShapeRotateBound'])({'left':_0x55d3c2,'top':_0x2fd239,'width':_0x13a536,'height':_0x4476e8},_0x2df450||0x0);}else _0x1e3398={'left':_0x750122['x'],'top':_0x750122['y'],'width':0x0,'height':0x0};}else _0x1e3398={'left':_0x750122['x'],'top':_0x750122['y'],'width':0x0,'height':0x0};let _0x364d6c={'point':_0x750122,'angle':_0x4a1b24,'bounds':_0x1e3398},_0x1e3806=_0x4f0016?_0x364d6c:_0x4257cb,_0x3b973a=_0x4f0016?_0x4257cb:_0x364d6c,_0x295274=this[_0x1d0063(0x1ea)][_0x1d0063(0x232)](),_0x312d69=(0x0,_0x1e2604[_0x1d0063(0x479)])(_0x1e3806,_0x3b973a,_0x295274);this['_activeShapeModel']['removeLinePoints']();let _0x25eaeb=(0x0,_0x1e2604[_0x1d0063(0x352)])(_0x312d69,_0x295274);_0x3dccb4?this[_0x1d0063(0x511)](_0x25eaeb,_0x3dccb4,_0x1a9d61,_0x4f0016,_0x137b7c):this[_0x1d0063(0x279)](_0x25eaeb,_0x1a9d61,_0x4f0016,_0x137b7c);}['_executeConnectionCommand'](_0x5b8d02,_0x507f9e,_0x2a89de,_0x68583b){const _0x25054c=_0x50e1ba;let _0x30f8ec=this['_activeShapeModel'][_0x25054c(0x513)]()[_0x25054c(0x44e)],_0x4f8bbb={..._0x30f8ec},_0x3f7ecc={'shapeId':_0x507f9e[_0x25054c(0x35b)],'cxnIndex':_0x507f9e[_0x25054c(0x390)]};_0x2a89de?_0x4f8bbb[_0x25054c(0x268)]=_0x3f7ecc:_0x4f8bbb['to']=_0x3f7ecc;let _0x22e4f9=this[_0x25054c(0x1ea)][_0x25054c(0x232)](),_0x4f21ac=(0x0,_0x1e2604[_0x25054c(0x352)])(_0x5b8d02[_0x25054c(0x500)],_0x22e4f9),_0x1a3d53={'unitId':this[_0x25054c(0x4a7)],'subUnitId':this['_subUnitId'],'connectorShapeId':this[_0x25054c(0x3ff)],'width':_0x5b8d02[_0x25054c(0x240)]['width'],'height':_0x5b8d02[_0x25054c(0x240)][_0x25054c(0x4d8)],'left':_0x5b8d02[_0x25054c(0x240)][_0x25054c(0x487)],'top':_0x5b8d02[_0x25054c(0x240)]['top'],'flipX':_0x5b8d02[_0x25054c(0x240)][_0x25054c(0x217)]||!0x1,'flipY':_0x5b8d02['worldRect'][_0x25054c(0x580)]||!0x1,'newAdjustValues':_0x4f21ac['adjustValues'],'oldAdjustValues':_0x68583b,'oldRelation':_0x30f8ec,'newRelation':_0x4f8bbb,'newLineType':_0x4f21ac[_0x25054c(0x5ae)],'oldLineType':_0x22e4f9};this['_commandService'][_0x25054c(0x228)](_0x137641['UpdateConnectorRelationCommand']['id'],_0x1a3d53);}[_0x50e1ba(0x4f7)](_0x3b0512,_0x3945c0){const _0x3ba79e=_0x50e1ba;let _0x217fdf=this[_0x3ba79e(0x1ea)][_0x3ba79e(0x232)](),_0x2c2186=(0x0,_0x1e2604[_0x3ba79e(0x352)])(_0x3b0512[_0x3ba79e(0x500)],_0x217fdf),_0x48701a={'unitId':this[_0x3ba79e(0x4a7)],'subUnitId':this[_0x3ba79e(0x5b5)],'shapeId':this[_0x3ba79e(0x3ff)],'width':_0x3b0512['worldRect'][_0x3ba79e(0x44b)],'height':_0x3b0512[_0x3ba79e(0x240)][_0x3ba79e(0x4d8)],'left':_0x3b0512[_0x3ba79e(0x240)][_0x3ba79e(0x487)],'top':_0x3b0512['worldRect']['top'],'flipX':_0x3b0512['worldRect'][_0x3ba79e(0x217)]||!0x1,'flipY':_0x3b0512[_0x3ba79e(0x240)][_0x3ba79e(0x580)]||!0x1,'angle':_0x3b0512[_0x3ba79e(0x240)][_0x3ba79e(0x4c4)]||0x0,'newAdjustValues':_0x2c2186[_0x3ba79e(0x4ea)],'oldAdjustValues':_0x3945c0,'newLineType':_0x2c2186['lineType'],'oldLineType':_0x217fdf};this[_0x3ba79e(0x4d6)][_0x3ba79e(0x228)](_0x137641[_0x3ba79e(0x470)]['id'],_0x48701a);}[_0x50e1ba(0x511)](_0x32b716,_0x461f47,_0x5528ed,_0x33f78d,_0x316477){const _0x1b7eee=_0x50e1ba;let _0x4e4c2f=this[_0x1b7eee(0x1ea)][_0x1b7eee(0x513)]()[_0x1b7eee(0x44e)],_0x1b6fb9={..._0x4e4c2f},_0x140323={'shapeId':_0x461f47['shapeId'],'cxnIndex':_0x461f47[_0x1b7eee(0x390)]};_0x33f78d?(_0x1b6fb9[_0x1b7eee(0x268)]=_0x140323,_0x1b6fb9['to']=_0x5528ed):(_0x1b6fb9[_0x1b7eee(0x268)]=_0x5528ed,_0x1b6fb9['to']=_0x140323);let _0x13cec5={'unitId':this[_0x1b7eee(0x4a7)],'subUnitId':this[_0x1b7eee(0x5b5)],'connectorShapeId':this[_0x1b7eee(0x3ff)],'width':_0x32b716[_0x1b7eee(0x240)][_0x1b7eee(0x44b)],'height':_0x32b716[_0x1b7eee(0x240)]['height'],'left':_0x32b716['worldRect'][_0x1b7eee(0x487)],'top':_0x32b716[_0x1b7eee(0x240)][_0x1b7eee(0x44a)],'flipX':_0x32b716['worldRect'][_0x1b7eee(0x217)]||!0x1,'flipY':_0x32b716[_0x1b7eee(0x240)]['flipY']||!0x1,'oldAdjustValues':_0x316477,'newAdjustValues':_0x32b716[_0x1b7eee(0x4ea)],'newLineType':_0x32b716[_0x1b7eee(0x5ae)],'rotation':_0x32b716[_0x1b7eee(0x453)],'oldRelation':_0x4e4c2f,'newRelation':_0x1b6fb9};this[_0x1b7eee(0x4d6)][_0x1b7eee(0x228)](_0x137641[_0x1b7eee(0x4b8)]['id'],_0x13cec5);}[_0x50e1ba(0x279)](_0x2f8bfc,_0x52377d,_0xfd1fe8,_0xc16900){const _0x34a5ee=_0x50e1ba;let _0x19ebed=this[_0x34a5ee(0x1ea)][_0x34a5ee(0x513)]()[_0x34a5ee(0x44e)],_0x1095dc={};_0xfd1fe8?(_0x1095dc['to']=_0x52377d,_0x1095dc[_0x34a5ee(0x268)]=void 0x0):(_0x1095dc['from']=_0x52377d,_0x1095dc['to']=void 0x0);let _0x37ac36={'unitId':this[_0x34a5ee(0x4a7)],'subUnitId':this[_0x34a5ee(0x5b5)],'connectorShapeId':this[_0x34a5ee(0x3ff)],'width':_0x2f8bfc['worldRect']['width'],'height':_0x2f8bfc['worldRect']['height'],'left':_0x2f8bfc[_0x34a5ee(0x240)][_0x34a5ee(0x487)],'top':_0x2f8bfc[_0x34a5ee(0x240)][_0x34a5ee(0x44a)],'flipX':_0x2f8bfc[_0x34a5ee(0x240)][_0x34a5ee(0x217)]||!0x1,'flipY':_0x2f8bfc[_0x34a5ee(0x240)][_0x34a5ee(0x580)]||!0x1,'oldAdjustValues':_0xc16900,'newAdjustValues':_0x2f8bfc[_0x34a5ee(0x4ea)],'newLineType':_0x2f8bfc[_0x34a5ee(0x5ae)],'rotation':_0x2f8bfc[_0x34a5ee(0x453)],'oldRelation':_0x19ebed,'newRelation':_0x1095dc};this[_0x34a5ee(0x4d6)][_0x34a5ee(0x228)](_0x137641['UpdateConnectorRelationCommand']['id'],_0x37ac36);}[_0x50e1ba(0x369)](_0x206d37,_0x350632,_0x42e26b){const _0x2ec4ee=_0x50e1ba;this[_0x2ec4ee(0x297)]((0x0,_0x141609[_0x2ec4ee(0x235)])(_0x206d37['onPointerDown$'][_0x2ec4ee(0x4e4)]((_0x193505,_0x196c13)=>{const _0x4caf24=_0x2ec4ee;let _0x10d6d3=_0x206d37[_0x4caf24(0x55b)]();if(this[_0x4caf24(0x1ea)]=this['_sheetsShapeService']['getShapeModel'](_0x10d6d3[_0x4caf24(0x524)],_0x10d6d3[_0x4caf24(0x582)],_0x10d6d3['drawingId']),!this[_0x4caf24(0x1ea)])return;let _0x5e9aac={};this[_0x4caf24(0x1ea)][_0x4caf24(0x2f4)]()['forEach'](_0x4baa22=>{const _0x1f97ae=_0x4caf24;let _0x1996cf=this[_0x1f97ae(0x1ea)][_0x1f97ae(0x57c)](_0x4baa22);_0x1996cf!==void 0x0&&(_0x5e9aac[_0x4baa22]=_0x1996cf);});let _0x20f3a0=this['_getDrawingRect']();if(!_0x20f3a0)return;this[_0x4caf24(0x4bd)]={..._0x20f3a0};let _0x5c0934=new _0x1e2604[(_0x4caf24(0x53c))](this['_baseDrawingRect']),_0x533485=(0x0,_0x193b7c[_0x4caf24(0x1e4)])({'unitId':this[_0x4caf24(0x4a7)],'subUnitId':this[_0x4caf24(0x5b5)],'drawingId':this[_0x4caf24(0x3ff)]}),_0x4e28bd=_0x350632[_0x4caf24(0x3c2)](_0x533485);this['_isConnecting']=!0x0,_0x350632[_0x4caf24(0x29f)](),this[_0x4caf24(0x555)]['startConnectionDetection'](_0x350632,this[_0x4caf24(0x4a7)],this[_0x4caf24(0x5b5)],this[_0x4caf24(0x3ff)]),this[_0x4caf24(0x362)]=null;let _0xbedb09=this['_activeShapeModel'][_0x4caf24(0x488)](),_0x10c4bd=_0xbedb09[0x0],_0x2848a5=_0xbedb09[_0xbedb09[_0x4caf24(0x59f)]-0x1],_0x2dc566=_0x42e26b?_0x5c0934[_0x4caf24(0x372)](_0x2848a5):_0x5c0934[_0x4caf24(0x372)](_0x10c4bd);this['_cxtHandlerPointerMove']=_0x350632[_0x4caf24(0x4a1)][_0x4caf24(0x4e4)]((_0x200282,_0x27f9b6)=>{const _0x71ef58=_0x4caf24;if(!this[_0x71ef58(0x2c7)]||!this[_0x71ef58(0x1ea)])return;this[_0x71ef58(0x3e9)]||=(this[_0x71ef58(0x3d1)][_0x71ef58(0x40a)](),this['_activeShapeModel'][_0x71ef58(0x2f7)](),!0x0);let _0x1db590=this[_0x71ef58(0x58e)](this[_0x71ef58(0x4a7)],this[_0x71ef58(0x5b5)]),_0x4dea5a=this['_getZoomRatio'](this['_unitId'],this[_0x71ef58(0x5b5)]),_0x1bd825={'x':_0x200282[_0x71ef58(0x200)]/_0x4dea5a+_0x1db590['x'],'y':_0x200282[_0x71ef58(0x316)]/_0x4dea5a+_0x1db590['y']},_0x575be1=this['_sheetBasicShapeConnectionPointController'][_0x71ef58(0x3f8)](_0x1bd825);if(_0x575be1){let {shapeId:_0x2786e6,unitId:_0x596786,subUnitId:_0x254b83}=_0x575be1;if(_0x2786e6&&_0x596786&&_0x254b83){let _0xd9c984=(0x0,_0x193b7c[_0x71ef58(0x1e4)])({'unitId':_0x596786,'subUnitId':_0x254b83,'drawingId':_0x2786e6});_0x575be1[_0x71ef58(0x4c4)]=(_0x350632['getObjectIncludeInGroup'](_0xd9c984)[_0x71ef58(0x4c4)]||0x0)+_0x575be1[_0x71ef58(0x4c4)];}}this[_0x71ef58(0x362)]=_0x575be1;let _0x5c08ab=_0x42e26b?this['_activeShapeModel']['getEndConnectInfo']():this[_0x71ef58(0x1ea)][_0x71ef58(0x3e5)]();if(_0x5c08ab){this[_0x71ef58(0x3a1)](_0x5c08ab,_0x1bd825,_0x42e26b,_0x4e28bd,_0x206d37);return;}this[_0x71ef58(0x506)](_0x1bd825,_0x2dc566,_0x42e26b,_0x4e28bd,_0x206d37);}),this[_0x4caf24(0x229)]=_0x350632[_0x4caf24(0x597)]['subscribeEvent']((_0xe10704,_0x15722b)=>{const _0x1ef819=_0x4caf24;this[_0x1ef819(0x4dd)](_0x350632,_0x2dc566,_0xe10704,_0x42e26b,_0x5e9aac);}),_0x196c13[_0x4caf24(0x4ff)]();})));}[_0x50e1ba(0x319)](_0x3da325,_0x2b1301,_0x2ddd0f){const _0x25bdc2=_0x50e1ba;let _0x232815=this[_0x25bdc2(0x4ba)]['getBasicShapeRelation'](_0x3da325,_0x2b1301,_0x2ddd0f);if(!_0x232815||_0x232815[_0x25bdc2(0x59f)]===0x0)return;let _0x1d2fb4=this[_0x25bdc2(0x2e0)][_0x25bdc2(0x22b)](_0x3da325);if(!_0x1d2fb4)return;let {scene:_0x8f33d6}=_0x1d2fb4;for(let _0x13c87e of _0x232815){let _0x49b378=_0x13c87e['lineShapeId'],_0x4d47c8=this[_0x25bdc2(0x4ba)][_0x25bdc2(0x4d3)](_0x3da325,_0x2b1301,_0x49b378);if(!_0x4d47c8)continue;let _0x2d4627=_0x4d47c8['getStartConnectInfo'](),_0x2f8ba0=_0x4d47c8[_0x25bdc2(0x220)](),_0x51ca8e=(_0x2d4627==null?void 0x0:_0x2d4627[_0x25bdc2(0x35b)])===_0x2ddd0f,_0x725ced=(0x0,_0x193b7c[_0x25bdc2(0x1e4)])({'unitId':_0x3da325,'subUnitId':_0x2b1301,'drawingId':_0x49b378}),_0x23ee42=_0x8f33d6[_0x25bdc2(0x3c2)](_0x725ced);if(!_0x23ee42)continue;let _0x57bfad=this[_0x25bdc2(0x5be)][_0x25bdc2(0x1fd)]({'unitId':_0x3da325,'subUnitId':_0x2b1301,'drawingId':_0x49b378});_0x57bfad!=null&&_0x57bfad[_0x25bdc2(0x25f)]&&(_0x2d4627&&_0x2f8ba0?this[_0x25bdc2(0x4a2)](_0x3da325,_0x2b1301,_0x49b378,_0x4d47c8,_0x2d4627,_0x2f8ba0,_0x23ee42):this[_0x25bdc2(0x4c9)](_0x3da325,_0x2b1301,_0x49b378,_0x4d47c8,_0x51ca8e?_0x2d4627:_0x2f8ba0,_0x51ca8e,_0x57bfad,_0x23ee42));}}[_0x50e1ba(0x4a2)](_0x269dd0,_0x33372b,_0x202f4c,_0x1ca26b,_0x14b058,_0x5c8a6a,_0x80967b){const _0x282a47=_0x50e1ba;let _0x554de4=this[_0x282a47(0x4a7)],_0x4dd289=this[_0x282a47(0x5b5)];this[_0x282a47(0x4a7)]=_0x269dd0,this['_subUnitId']=_0x33372b;let _0xc4a75e=this[_0x282a47(0x1ec)](_0x14b058),_0x4b0d65=this[_0x282a47(0x1ec)](_0x5c8a6a);if(this[_0x282a47(0x4a7)]=_0x554de4,this[_0x282a47(0x5b5)]=_0x4dd289,!_0xc4a75e||!_0x4b0d65)return;let _0xdaa195=_0x1ca26b['getShapeType'](),_0x1e9d9f=(0x0,_0x1e2604[_0x282a47(0x479)])(_0xc4a75e,_0x4b0d65,_0xdaa195);_0x1e9d9f&&_0x1ca26b[_0x282a47(0x4b3)](_0x1e9d9f);let _0x39d0d7=(0x0,_0x1e2604[_0x282a47(0x352)])(_0x1e9d9f,_0xdaa195);_0x39d0d7['lineType']!==_0xdaa195&&_0x1ca26b[_0x282a47(0x53f)](_0x39d0d7[_0x282a47(0x5ae)]),_0x1ca26b[_0x282a47(0x2f7)]();for(let [_0x109b99,_0x1250fc]of Object[_0x282a47(0x1ed)](_0x39d0d7[_0x282a47(0x4ea)]))_0x1ca26b['setAdjustValueByName'](_0x109b99,_0x1250fc);_0x1ca26b[_0x282a47(0x5a2)]({'width':_0x39d0d7[_0x282a47(0x240)]['width'],'height':_0x39d0d7[_0x282a47(0x240)][_0x282a47(0x4d8)]}),_0x80967b[_0x282a47(0x433)]({'flipX':_0x39d0d7[_0x282a47(0x240)][_0x282a47(0x217)],'flipY':_0x39d0d7[_0x282a47(0x240)]['flipY'],'left':_0x39d0d7[_0x282a47(0x240)][_0x282a47(0x487)],'top':_0x39d0d7['worldRect'][_0x282a47(0x44a)],'width':_0x39d0d7[_0x282a47(0x240)]['width'],'height':_0x39d0d7[_0x282a47(0x240)][_0x282a47(0x4d8)],'angle':_0x39d0d7['rotation']}),_0x1ca26b['removeLinePoints']();}[_0x50e1ba(0x4c9)](_0x3fa9a4,_0x50ae28,_0x2890d9,_0x3c5953,_0x4b13d2,_0x487cc8,_0x5747d0,_0x20bb87){const _0x413067=_0x50e1ba;let _0x461906=this[_0x413067(0x4a7)],_0x45edf9=this[_0x413067(0x5b5)];this['_unitId']=_0x3fa9a4,this[_0x413067(0x5b5)]=_0x50ae28;let _0x9ec76e=this[_0x413067(0x1ec)](_0x4b13d2);if(this[_0x413067(0x4a7)]=_0x461906,this['_subUnitId']=_0x45edf9,!_0x9ec76e)return;let {left:_0x427311=0x0,top:_0x3885d5=0x0,width:_0x2fed25=0x0,height:_0x72a7c0=0x0,flipX:_0xa12f5f=!0x1,flipY:_0x4d4595=!0x1}=_0x5747d0[_0x413067(0x25f)],_0x1e96e4=_0x3c5953[_0x413067(0x488)]();if(_0x1e96e4[_0x413067(0x59f)]<0x2)return;let _0x35d5ba=new _0x1e2604[(_0x413067(0x53c))]({'left':_0x427311,'top':_0x3885d5,'width':_0x2fed25,'height':_0x72a7c0,'flipX':_0xa12f5f,'flipY':_0x4d4595}),_0x2c625f=_0x487cc8?_0x1e96e4[_0x1e96e4[_0x413067(0x59f)]-0x1]:_0x1e96e4[0x0],_0x5bef52=_0x35d5ba[_0x413067(0x372)](_0x2c625f),_0x2c9ca7=_0x1e2604[_0x413067(0x53c)][_0x413067(0x359)](_0x5bef52,_0x9ec76e[_0x413067(0x505)],!_0x487cc8);_0x20bb87[_0x413067(0x433)]({'flipX':_0x2c9ca7[_0x413067(0x240)]['flipX'],'flipY':_0x2c9ca7[_0x413067(0x240)][_0x413067(0x580)],'left':_0x2c9ca7['worldRect'][_0x413067(0x487)],'top':_0x2c9ca7[_0x413067(0x240)][_0x413067(0x44a)],'width':_0x2c9ca7[_0x413067(0x240)][_0x413067(0x44b)],'height':_0x2c9ca7[_0x413067(0x240)]['height'],'angle':_0x2c9ca7[_0x413067(0x240)][_0x413067(0x4c4)]}),_0x20bb87[_0x413067(0x48c)](!0x0);}[_0x50e1ba(0x3e1)](){const _0x178611=_0x50e1ba;this['_connectorObjects'][_0x178611(0x59f)]!==0x0&&(this[_0x178611(0x2eb)][_0x178611(0x311)](_0x35e1fd=>{const _0x364cbd=_0x178611;_0x35e1fd[_0x364cbd(0x270)]();}),this[_0x178611(0x2eb)]=[]);}[_0x50e1ba(0x42b)](){const _0x25b17d=_0x50e1ba;let _0x4c1a96=this[_0x25b17d(0x50c)][_0x25b17d(0x29c)](_0x141609[_0x25b17d(0x25d)][_0x25b17d(0x247)]);this['disposeWithMe'](_0x4c1a96[_0x25b17d(0x4ee)]((0x0,_0x3fc41f[_0x25b17d(0x43e)])(_0x36f92d=>_0x36f92d?_0x36f92d[_0x25b17d(0x23b)][_0x25b17d(0x4ee)]((0x0,_0x3fc41f['switchMap'])(_0x346b4e=>{const _0x267e3d=_0x25b17d;if(!_0x346b4e)return _0x3fc41f['EMPTY'];let _0x516665=_0x36f92d[_0x267e3d(0x389)](),_0x49c257=this[_0x267e3d(0x2e0)][_0x267e3d(0x22b)](_0x516665),_0x20a230=_0x49c257==null?void 0x0:_0x49c257[_0x267e3d(0x498)];return _0x20a230?(0x0,_0x3fc41f['of'])(_0x20a230):_0x3fc41f[_0x267e3d(0x4b4)];})):_0x3fc41f[_0x25b17d(0x4b4)]))[_0x25b17d(0x5a8)](_0x4fc5fb=>{const _0x5047e2=_0x25b17d;let _0x1c71fe=_0x4fc5fb[_0x5047e2(0x592)]();this[_0x5047e2(0x297)](_0x4fc5fb[_0x5047e2(0x4a1)][_0x5047e2(0x4e4)](_0x7e2883=>{const _0x436b75=_0x5047e2;this[_0x436b75(0x54c)]&&this[_0x436b75(0x3ff)]&&this['_clearShapeConnectorHandlerObjects']();})),this[_0x5047e2(0x297)](_0x1c71fe[_0x5047e2(0x5b3)][_0x5047e2(0x5a8)](_0x2142dd=>{const _0x5170a2=_0x5047e2;let {objects:_0x2c5b75}=_0x2142dd;this[_0x5170a2(0x3e1)](),_0x2c5b75!==null&&_0x2c5b75[_0x5170a2(0x277)]===0x1&&_0x2c5b75[_0x5170a2(0x4b6)]()[_0x5170a2(0x1f9)]()[_0x5170a2(0x598)]instanceof _0x2c197b&&(this[_0x5170a2(0x54c)]=!0x0);})),this[_0x5047e2(0x297)](_0x1c71fe[_0x5047e2(0x4c8)][_0x5047e2(0x5a8)](_0x26a1ca=>{const _0x2b8b1e=_0x5047e2;this[_0x2b8b1e(0x54c)]&&this[_0x2b8b1e(0x3e1)]();})),this[_0x5047e2(0x297)](_0x4fc5fb[_0x5047e2(0x597)][_0x5047e2(0x4e4)](()=>{const _0x13868e=_0x5047e2;this[_0x13868e(0x54c)]&&(this[_0x13868e(0x54c)]=!0x1,this[_0x13868e(0x436)]());})),this['disposeWithMe'](_0x1c71fe[_0x5047e2(0x4e6)][_0x5047e2(0x5a8)](()=>{const _0x5c4288=_0x5047e2;this[_0x5c4288(0x4a7)]&&this[_0x5c4288(0x5b5)]&&this['_activeShapeId']&&this[_0x5c4288(0x5be)][_0x5c4288(0x1fd)]({'unitId':this[_0x5c4288(0x4a7)],'subUnitId':this[_0x5c4288(0x5b5)],'drawingId':this[_0x5c4288(0x3ff)]})&&(this[_0x5c4288(0x3e1)](),this[_0x5c4288(0x436)]());}));}));}[_0x50e1ba(0x445)](){const _0x5905cb=_0x50e1ba;this[_0x5905cb(0x297)](this[_0x5905cb(0x5be)][_0x5905cb(0x267)][_0x5905cb(0x5a8)](_0x54e241=>{const _0x5853c6=_0x5905cb;if(_0x54e241['length']===0x1){let _0xb1b139=_0x54e241[0x0];if(_0xb1b139[_0x5853c6(0x589)]===_0x141609[_0x5853c6(0x397)][_0x5853c6(0x285)]){let _0x4d6c77=this['_sheetsShapeService']['getShapeModel'](_0xb1b139[_0x5853c6(0x524)],_0xb1b139[_0x5853c6(0x582)],_0xb1b139[_0x5853c6(0x4ae)]);if(_0x4d6c77&&(0x0,_0x1e2604['isConnectorShape'])(_0x4d6c77[_0x5853c6(0x232)]())){this[_0x5853c6(0x3ff)]=_0xb1b139[_0x5853c6(0x4ae)],this['_unitId']=_0xb1b139['unitId'],this[_0x5853c6(0x5b5)]=_0xb1b139[_0x5853c6(0x582)],this[_0x5853c6(0x3e1)](),this['_addShapeConnectorHandlerObjects']();return;}}}this[_0x5853c6(0x3ff)]=void 0x0,this['_unitId']=void 0x0,this[_0x5853c6(0x5b5)]=void 0x0,this[_0x5853c6(0x3e1)]();})),this['disposeWithMe'](this[_0x5905cb(0x5be)][_0x5905cb(0x216)][_0x5905cb(0x5a8)](_0x4571db=>{const _0x140d80=_0x5905cb;if(_0x4571db[_0x140d80(0x59f)]===0x1){var _0x473948;let _0x32e062=_0x4571db[0x0],_0x562ff5=(_0x473948=this[_0x140d80(0x5be)][_0x140d80(0x1fd)](_0x32e062))==null?void 0x0:_0x473948['drawingType'];_0x562ff5===_0x141609[_0x140d80(0x397)][_0x140d80(0x285)]&&_0x32e062[_0x140d80(0x4ae)]===this[_0x140d80(0x3ff)]?(this[_0x140d80(0x3e1)](),this['_addShapeConnectorHandlerObjects']()):!this[_0x140d80(0x3ff)]&&_0x562ff5===_0x141609[_0x140d80(0x397)][_0x140d80(0x285)]&&this[_0x140d80(0x319)](_0x32e062[_0x140d80(0x524)],_0x32e062[_0x140d80(0x582)],_0x32e062[_0x140d80(0x4ae)]);}})),this[_0x5905cb(0x297)](this[_0x5905cb(0x5be)][_0x5905cb(0x272)][_0x5905cb(0x5a8)](_0x1c94b5=>{const _0x1f4b86=_0x5905cb;for(let _0x5f0e2f of _0x1c94b5){let {drawingId:_0x2ac85e}=_0x5f0e2f;if(this[_0x1f4b86(0x3ff)]===_0x2ac85e){this['_reset']();return;}}}));}[_0x50e1ba(0x3a1)](_0x515f6b,_0x36ca68,_0x43b62f,_0x7210f8,_0x4141a2){const _0xbab05b=_0x50e1ba;var _0x1de02b;if(!this[_0xbab05b(0x1ea)])return;let _0x29ef24=this[_0xbab05b(0x1ec)](_0x515f6b);if(!_0x29ef24)return;let _0x500152=this[_0xbab05b(0x362)]?this['_currentConnectionTarget'][_0xbab05b(0x30c)]:_0x36ca68,_0xa7ac8=this['_currentConnectionTarget']?this[_0xbab05b(0x362)][_0xbab05b(0x4c4)]:this['_calculateFreeEndpointAngle'](_0x29ef24[_0xbab05b(0x505)],_0x500152),_0x422049;if(this[_0xbab05b(0x362)]){let _0x1047c1=this['_drawingManagerService'][_0xbab05b(0x1fd)]({'unitId':this[_0xbab05b(0x362)][_0xbab05b(0x524)],'subUnitId':this[_0xbab05b(0x362)]['subUnitId'],'drawingId':this[_0xbab05b(0x362)][_0xbab05b(0x35b)]});if(_0x1047c1!=null&&_0x1047c1['transform']){let {left:_0x19e1a1=0x0,top:_0x7a6763=0x0,width:_0x286a5f=0x0,height:_0x2e7ecc=0x0,angle:_0xda0f79}=_0x1047c1[_0xbab05b(0x25f)];_0x422049=(0x0,_0x1e2604[_0xbab05b(0x317)])({'left':_0x19e1a1,'top':_0x7a6763,'width':_0x286a5f,'height':_0x2e7ecc},_0xda0f79||0x0);}else _0x422049={'left':_0x500152['x'],'top':_0x500152['y'],'width':0x0,'height':0x0};}else _0x422049={'left':_0x500152['x'],'top':_0x500152['y'],'width':0x0,'height':0x0};let _0x1fd0e1={'point':_0x500152,'angle':_0xa7ac8,'bounds':_0x422049},_0x428645=_0x43b62f?_0x1fd0e1:_0x29ef24,_0x32347a=_0x43b62f?_0x29ef24:_0x1fd0e1,_0x50f24f=this[_0xbab05b(0x1ea)][_0xbab05b(0x232)](),_0x3b570b=(0x0,_0x1e2604['routeConnectorLineShape'])(_0x428645,_0x32347a,_0x50f24f);_0x3b570b&&this[_0xbab05b(0x1ea)][_0xbab05b(0x4b3)](_0x3b570b);let _0x2a1549=(0x0,_0x1e2604['computeConnectorRouteLayout'])(_0x3b570b,_0x50f24f);_0x2a1549[_0xbab05b(0x5ae)]!==_0x50f24f&&this[_0xbab05b(0x1ea)][_0xbab05b(0x53f)](_0x2a1549[_0xbab05b(0x5ae)]);for(let [_0x1dd263,_0x2980de]of Object['entries'](_0x2a1549[_0xbab05b(0x4ea)]))this[_0xbab05b(0x1ea)][_0xbab05b(0x21d)](_0x1dd263,_0x2980de);this[_0xbab05b(0x1ea)][_0xbab05b(0x5a2)]({'width':_0x2a1549['worldRect']['width'],'height':_0x2a1549['worldRect'][_0xbab05b(0x4d8)]}),_0x7210f8[_0xbab05b(0x433)]({'flipX':_0x2a1549[_0xbab05b(0x240)]['flipX'],'flipY':_0x2a1549[_0xbab05b(0x240)][_0xbab05b(0x580)],'left':_0x2a1549[_0xbab05b(0x240)][_0xbab05b(0x487)],'top':_0x2a1549[_0xbab05b(0x240)][_0xbab05b(0x44a)],'width':_0x2a1549[_0xbab05b(0x240)][_0xbab05b(0x44b)],'height':_0x2a1549[_0xbab05b(0x240)][_0xbab05b(0x4d8)],'angle':_0x2a1549[_0xbab05b(0x453)]}),_0x7210f8[_0xbab05b(0x48c)](!0x0);let _0x61d0a3=((_0x1de02b=this['_currentConnectionTarget'])==null?void 0x0:_0x1de02b['worldPoint'])??_0x36ca68;_0x4141a2['transformByState']({'left':_0x61d0a3['x']-_0x1e2604[_0xbab05b(0x2c5)][_0xbab05b(0x5ad)],'top':_0x61d0a3['y']-_0x1e2604['ShapeDefaultConfig'][_0xbab05b(0x5ad)]});}[_0x50e1ba(0x506)](_0x56f39d,_0x5158c8,_0x424fcc,_0x5651b1,_0x663c8a){const _0x149277=_0x50e1ba;var _0x205be2,_0x2257a6;let _0x345801=((_0x205be2=this[_0x149277(0x362)])==null?void 0x0:_0x205be2[_0x149277(0x30c)])??_0x56f39d,_0x138f28=_0x1e2604[_0x149277(0x53c)][_0x149277(0x359)](_0x5158c8,_0x345801,_0x424fcc);_0x5651b1[_0x149277(0x433)]({'flipX':_0x138f28[_0x149277(0x240)][_0x149277(0x217)],'flipY':_0x138f28['worldRect']['flipY'],'left':_0x138f28['worldRect'][_0x149277(0x487)],'top':_0x138f28[_0x149277(0x240)]['top'],'width':_0x138f28[_0x149277(0x240)][_0x149277(0x44b)],'height':_0x138f28['worldRect'][_0x149277(0x4d8)],'angle':_0x138f28[_0x149277(0x240)][_0x149277(0x4c4)]});let _0x467b24=((_0x2257a6=this[_0x149277(0x362)])==null?void 0x0:_0x2257a6[_0x149277(0x30c)])??_0x56f39d;_0x663c8a['transformByState']({'left':_0x467b24['x']-_0x1e2604['ShapeDefaultConfig'][_0x149277(0x5ad)],'top':_0x467b24['y']-_0x1e2604[_0x149277(0x2c5)][_0x149277(0x5ad)]});}[_0x50e1ba(0x1ec)](_0x4ee343){const _0x5422a3=_0x50e1ba;if(!this[_0x5422a3(0x4a7)]||!this['_subUnitId'])return null;let {shapeId:_0x2357d4,cxnIndex:_0x449a49}=_0x4ee343,_0x363910=this['_sheetsShapeService'][_0x5422a3(0x4d3)](this[_0x5422a3(0x4a7)],this[_0x5422a3(0x5b5)],_0x2357d4);if(!_0x363910)return null;let _0x50f336=this['_drawingManagerService'][_0x5422a3(0x1fd)]({'unitId':this[_0x5422a3(0x4a7)],'subUnitId':this[_0x5422a3(0x5b5)],'drawingId':_0x2357d4});if(!(_0x50f336!=null&&_0x50f336[_0x5422a3(0x25f)]))return null;let {left:_0x4734f4=0x0,top:_0x17dc5b=0x0,width:_0x4572f1=0x0,height:_0x3b4c05=0x0,flipX:_0x3d6b44=!0x1,flipY:_0x24e3c8=!0x1,angle:_0x327b4e}=_0x50f336[_0x5422a3(0x25f)];_0x363910[_0x5422a3(0x5a2)]({'width':_0x4572f1,'height':_0x3b4c05});let _0x5da430=_0x363910[_0x5422a3(0x523)]()['find'](_0x7034d5=>_0x7034d5['index']===_0x449a49);if(!_0x5da430)return null;let _0x2b5be3=_0x3d6b44?_0x4572f1-_0x5da430['x']:_0x5da430['x'],_0x522c9e=_0x24e3c8?_0x3b4c05-_0x5da430['y']:_0x5da430['y'];if(_0x327b4e!==0x0&&_0x327b4e!=null){let _0x1f6381=_0x327b4e*Math['PI']/0xb4,_0x2a1908=Math[_0x5422a3(0x3f6)](_0x1f6381),_0x106216=Math['sin'](_0x1f6381),_0x5061e6=_0x4572f1/0x2,_0x9a6785=_0x3b4c05/0x2,_0x28c7d0=_0x2b5be3-_0x5061e6,_0x2b08b7=_0x522c9e-_0x9a6785;_0x2b5be3=_0x5061e6+_0x28c7d0*_0x2a1908-_0x2b08b7*_0x106216,_0x522c9e=_0x9a6785+_0x28c7d0*_0x106216+_0x2b08b7*_0x2a1908;}_0x2b5be3+=_0x4734f4,_0x522c9e+=_0x17dc5b;let _0x48d32f=_0x5da430[_0x5422a3(0x4a4)]/0xea60;_0x3d6b44&&(_0x48d32f=0xb4-_0x48d32f),_0x24e3c8&&(_0x48d32f=-_0x48d32f),_0x48d32f+=_0x327b4e||0x0,_0x48d32f=(_0x48d32f%0x168+0x168)%0x168;let _0x4198f8=(0x0,_0x1e2604[_0x5422a3(0x317)])({'left':_0x4734f4,'top':_0x17dc5b,'width':_0x4572f1,'height':_0x3b4c05},_0x327b4e||0x0);return{'point':{'x':_0x2b5be3,'y':_0x522c9e},'angle':_0x48d32f,'bounds':_0x4198f8};}['_calculateFreeEndpointAngle'](_0xf0e0c1,_0x3574a2){const _0x3c89a0=_0x50e1ba;let _0x35f2c4=_0x3574a2['x']-_0xf0e0c1['x'],_0x2d56ba=_0x3574a2['y']-_0xf0e0c1['y'];return Math[_0x3c89a0(0x484)](_0x35f2c4)>=Math[_0x3c89a0(0x484)](_0x2d56ba)?_0x35f2c4>=0x0?0xb4:0x0:_0x2d56ba>=0x0?0x10e:0x5a;}['_reset'](){const _0x3e7e1e=_0x50e1ba;this['_activeShapeId']=void 0x0,this[_0x3e7e1e(0x4a7)]=void 0x0,this[_0x3e7e1e(0x5b5)]=void 0x0,this['_clearShapeConnectorHandlerObjects']();}[_0x50e1ba(0x270)](){const _0x3bd876=_0x50e1ba;this[_0x3bd876(0x3e1)](),super[_0x3bd876(0x270)]();}};_0x2cc80a=_0x488baa([_0x3ceba3(0x1,_0x141609[_0x50e1ba(0x3f2)]),_0x3ceba3(0x2,_0x4fd0c0[_0x50e1ba(0x403)]),_0x3ceba3(0x3,_0x193b7c['IDrawingManagerService']),_0x3ceba3(0x4,_0x141609['IUniverInstanceService']),_0x3ceba3(0x5,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x137641['SheetsShapeService'])),_0x3ceba3(0x6,(0x0,_0x141609['Inject'])(_0x29e2ba)),_0x3ceba3(0x7,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x1314ff))],_0x2cc80a);let _0x3200ba=class extends _0x141609['Disposable']{constructor(_0x2bc140,_0x45d7c8,_0x309ebb){const _0x12aa5f=_0x50e1ba;super(),this[_0x12aa5f(0x428)]=_0x2bc140,this[_0x12aa5f(0x5be)]=_0x45d7c8,this[_0x12aa5f(0x28e)]=_0x309ebb,this[_0x12aa5f(0x26f)]();}[_0x50e1ba(0x26f)](){const _0xfd354=_0x50e1ba;this['disposeWithMe'](this['_sheetPrintInterceptorService']['interceptor']['intercept'](this[_0xfd354(0x428)][_0xfd354(0x2c3)]['getInterceptPoints']()[_0xfd354(0x5bd)],{'handler':(_0x462d81,_0x3ac2f0,_0xb737c7)=>{const _0x3865cd=_0xfd354;var _0x539016;let {unitId:_0x592112,subUnitId:_0x371507,scene:_0x1994da,resourceCollector:_0x52ecc1}=_0x3ac2f0,_0x12f1c9=(_0x539016=this[_0x3865cd(0x5be)][_0x3865cd(0x5b4)](_0x592112))==null?void 0x0:_0x539016[_0x371507];return _0x12f1c9==null||_0x12f1c9[_0x3865cd(0x4cf)]['forEach'](_0x51bf9c=>{const _0x42aba8=_0x3865cd;let _0x3e10e4=_0x12f1c9[_0x42aba8(0x318)][_0x51bf9c];_0x3e10e4[_0x42aba8(0x589)]===_0x141609[_0x42aba8(0x397)][_0x42aba8(0x285)]&&!_0x3e10e4[_0x42aba8(0x288)]&&this['_shapeRenderController'][_0x42aba8(0x2de)](_0x3e10e4,_0x1994da,{'resourceCollector':_0x52ecc1});}),_0xb737c7(_0x462d81);}}));}};_0x3200ba=_0x488baa([_0x3ceba3(0x0,(0x0,_0x141609['Inject'])(_0x2e59a1[_0x50e1ba(0x49f)])),_0x3ceba3(0x1,_0x193b7c[_0x50e1ba(0x349)]),_0x3ceba3(0x2,(0x0,_0x141609['Inject'])(_0x52a530))],_0x3200ba);let _0x594476=class extends _0x141609[_0x50e1ba(0x50e)]{constructor(_0x30161d,_0xb481eb,_0xbb9a4b){const _0x13d164=_0x50e1ba;super(),this[_0x13d164(0x4d6)]=_0x30161d,this[_0x13d164(0x457)]=_0xb481eb,this[_0x13d164(0x346)]=_0xbb9a4b,this[_0x13d164(0x4a3)]();}['_initPermission'](){const _0x18090b=_0x50e1ba;this[_0x18090b(0x297)](this[_0x18090b(0x4d6)][_0x18090b(0x2b7)](_0x3e8f42=>{const _0x59b197=_0x18090b;let _0x35d2cb,_0x365403;if(_0x3e8f42['id']===_0x137641[_0x59b197(0x395)]['id']||_0x3e8f42['id']===_0x137641['SetShapeDrawingDataCommand']['id']||_0x3e8f42['id']===_0x137641[_0x59b197(0x4b8)]['id']){let _0x34d2e4=_0x3e8f42['params'];_0x35d2cb=_0x34d2e4[_0x59b197(0x524)],_0x365403=_0x34d2e4[_0x59b197(0x582)];}!_0x35d2cb||!_0x365403||this[_0x59b197(0x346)]['permissionCheckWithoutRange']({'workbookTypes':[_0x200933[_0x59b197(0x415)]],'worksheetTypes':[_0x200933['WorksheetEditPermission']]},_0x35d2cb,_0x365403)||this[_0x59b197(0x346)][_0x59b197(0x313)](this[_0x59b197(0x457)]['t']('sheets-shape-ui.permission.editErr'));}));}};_0x594476=_0x488baa([_0x3ceba3(0x0,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x141609['ICommandService'])),_0x3ceba3(0x1,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x141609['LocaleService'])),_0x3ceba3(0x2,(0x0,_0x141609['Inject'])(_0x200933[_0x50e1ba(0x21b)]))],_0x594476);let _0x39f919=class{constructor(_0x31ee66){const _0x48d3f5=_0x50e1ba;this[_0x48d3f5(0x2e0)]=_0x31ee66;}['updateShapeFillImage'](_0x3b969,_0x329c27){const _0x39add0=_0x50e1ba;let _0x3985e7=this[_0x39add0(0x2e0)]['getRenderUnitById'](_0x3b969[_0x39add0(0x524)]),_0x195673=_0x3985e7==null?void 0x0:_0x3985e7[_0x39add0(0x498)];if(!_0x195673)return;let _0x59e066=(0x0,_0x193b7c[_0x39add0(0x1e4)])(_0x3b969),_0x2e7caa=_0x195673[_0x39add0(0x3c2)](_0x59e066);_0x2e7caa==null||_0x2e7caa['setFillImage'](_0x329c27);}};_0x39f919=_0x488baa([_0x3ceba3(0x0,_0x4fd0c0[_0x50e1ba(0x403)])],_0x39f919);let _0x374ea3=class extends _0x141609[_0x50e1ba(0x3e0)]{constructor(_0x195abe=_0x58c57b,_0x270e7c,_0x387f23,_0x2c027e,_0x425e41,_0x10463f){const _0x2d5040=_0x50e1ba;super(),this['_config']=_0x195abe,this[_0x2d5040(0x1dd)]=_0x270e7c,this[_0x2d5040(0x4d6)]=_0x387f23,this[_0x2d5040(0x43d)]=_0x2c027e,this[_0x2d5040(0x2e0)]=_0x425e41,this[_0x2d5040(0x443)]=_0x10463f;let {..._0x4316d6}=(0x0,_0x141609['merge'])({},_0x58c57b,this[_0x2d5040(0x3d9)]);this['_configService'][_0x2d5040(0x1f8)](_0x40fe56,_0x4316d6),this[_0x2d5040(0x276)]();}[_0x50e1ba(0x2b1)](){const _0x20071b=_0x50e1ba;this['_injector'][_0x20071b(0x30e)]([_0x4903b6]),this['_injector'][_0x20071b(0x404)](_0x4903b6),(0x0,_0x141609[_0x20071b(0x335)])(this['_injector'],[[_0xc25560],[_0x12299d],[_0x52a530],[_0x3200ba],[_0x39f919],[_0x5dbfb4],[_0x2edea9],[_0x5549d5],[_0x594476]]);}[_0x50e1ba(0x3e4)](){const _0xf0b040=_0x50e1ba;(0x0,_0x141609[_0xf0b040(0x335)])(this[_0xf0b040(0x1dd)],[[_0x1314ff],[_0x29e2ba],[_0x336972]]),(0x0,_0x141609['touchDependencies'])(this['_injector'],[[_0x336972],[_0x29e2ba]]),[[_0x1314ff],[_0x32ad2f],[_0x2cc80a],[_0x442bd9]][_0xf0b040(0x311)](_0x4b415e=>{const _0x485992=_0xf0b040;this[_0x485992(0x297)](this[_0x485992(0x2e0)][_0x485992(0x28b)](_0x141609[_0x485992(0x25d)][_0x485992(0x247)],_0x4b415e));}),this[_0xf0b040(0x297)](this[_0xf0b040(0x443)][_0xf0b040(0x48f)](_0xf803d[_0xf0b040(0x1df)][_0xf0b040(0x2bc)],()=>(0x0,_0xf803d['connectInjector'])(_0xae3e2f[_0xf0b040(0x5b2)],this[_0xf0b040(0x1dd)])));}['onRendered'](){const _0x48ea74=_0x50e1ba;(0x0,_0x141609['touchDependencies'])(this[_0x48ea74(0x1dd)],[[_0xc25560],[_0x12299d],[_0x52a530],[_0x3200ba],[_0x39f919],[_0x5dbfb4],[_0x2edea9],[_0x5549d5],[_0x594476]]);}[_0x50e1ba(0x2bb)](){const _0xc054c2=_0x50e1ba;this[_0xc054c2(0x1dd)][_0xc054c2(0x404)](_0xc25560)['initShapePopupMenu']();}['_initCommands'](){const _0xc0632=_0x50e1ba;[_0x30dee9,_0x36db55,_0x45476e,_0x63339a][_0xc0632(0x311)](_0x3cfe50=>this[_0xc0632(0x297)](this[_0xc0632(0x4d6)][_0xc0632(0x47d)](_0x3cfe50)));}};_0x46f35a(_0x374ea3,_0x50e1ba(0x4b5),_0x141609[_0x50e1ba(0x25d)]['UNIVER_SHEET']),_0x46f35a(_0x374ea3,_0x50e1ba(0x440),_0x50e1ba(0x2a6)),_0x46f35a(_0x374ea3,_0x50e1ba(0x26b),_0x2173cd),_0x46f35a(_0x374ea3,_0x50e1ba(0x22f),_0x469d54),_0x374ea3=_0x488baa([(0x0,_0x141609[_0x50e1ba(0x3c9)])(_0x86ef8e[_0x50e1ba(0x246)],_0x23dfef['UniverDocsPlugin'],_0x193b7c[_0x50e1ba(0x4fe)],_0x4fd0c0[_0x50e1ba(0x565)],_0x200933['UniverSheetsPlugin'],_0x414ed6[_0x50e1ba(0x37d)],_0xf06dc[_0x50e1ba(0x29d)],_0x2b022d[_0x50e1ba(0x4da)],_0x2d0a48[_0x50e1ba(0x340)],_0x137641[_0x50e1ba(0x51c)],_0x2e59a1[_0x50e1ba(0x34c)],_0xae3e2f[_0x50e1ba(0x56d)],_0xf803d[_0x50e1ba(0x273)]),_0x3ceba3(0x1,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x141609['Injector'])),_0x3ceba3(0x2,_0x141609[_0x50e1ba(0x3f2)]),_0x3ceba3(0x3,_0x141609['IConfigService']),_0x3ceba3(0x4,_0x4fd0c0[_0x50e1ba(0x403)]),_0x3ceba3(0x5,_0xf803d[_0x50e1ba(0x32a)])],_0x374ea3);function _0x200f9b(_0x76dabd){const _0x1d1880=_0x50e1ba;return _0x76dabd[_0x1d1880(0x47c)]()||void 0x0;}function _0xa764a(_0xd47b0c,_0x10199c,_0x36936a){const _0x282581=_0x50e1ba;var _0x46035b;return((_0x46035b=_0xd47b0c[_0x282581(0x1f4)])==null?void 0x0:_0x46035b[_0x282581(0x47c)]())||(0x0,_0x21abf6['getObjectListPanelTypeName'])(_0x36936a,(0x0,_0xae3e2f[_0x282581(0x4aa)])(_0xd47b0c[_0x282581(0x589)]))+'\x20'+(_0x10199c+0x1);}function _0xb2cead(){const _0xbcf430=_0x50e1ba;var _0x155a7d;let _0x2d9850=(0x0,_0xf803d[_0xbcf430(0x394)])(_0x141609['LocaleService']),_0x28dfa4=(0x0,_0xf803d[_0xbcf430(0x394)])(_0x141609[_0xbcf430(0x3f2)]),_0x1b0e8e=(0x0,_0xf803d[_0xbcf430(0x394)])(_0x141609[_0xbcf430(0x465)]),_0x4d20d0=(0x0,_0xf803d[_0xbcf430(0x394)])(_0xf06dc[_0xbcf430(0x295)]),_0x11e364=(0x0,_0xf803d['useDependency'])(_0x193b7c['IDrawingManagerService']),_0x5cad28=(0x0,_0xf803d[_0xbcf430(0x394)])(_0x4fd0c0[_0xbcf430(0x403)]),[,_0x46f53d]=(0x0,_0x16f5cd['useReducer'])(_0x490bb6=>_0x490bb6+0x1,0x0),_0x324b56=_0x1b0e8e[_0xbcf430(0x48b)](_0x141609[_0xbcf430(0x25d)]['UNIVER_SHEET']),_0x374f88=(_0x324b56==null?void 0x0:_0x324b56[_0xbcf430(0x389)]())??'',_0x476156=(_0x324b56==null||(_0x155a7d=_0x324b56[_0xbcf430(0x36c)]())==null?void 0x0:_0x155a7d[_0xbcf430(0x212)]())??'',_0x327f0d=(0x0,_0xf803d['useObservable'])(()=>_0x11e364[_0xbcf430(0x267)],_0x11e364[_0xbcf430(0x380)](),!0x1,[_0x11e364]);(0x0,_0x16f5cd[_0xbcf430(0x31f)])(()=>{const _0x9a25b4=_0xbcf430;let _0xf1ba88=_0x28dfa4[_0x9a25b4(0x27b)](()=>_0x46f53d());return()=>_0xf1ba88[_0x9a25b4(0x270)]();},[_0x28dfa4]);let _0x286c55=(0x0,_0x16f5cd['useMemo'])(()=>(0x0,_0x21abf6['getObjectListPanelLabels'])(_0x2d9850),[_0x2d9850]),_0x139145=_0x374f88&&_0x476156?_0x4d20d0[_0xbcf430(0x59a)](_0x374f88,_0x476156):{},_0x5b7054=(_0x374f88&&_0x476156?_0x4d20d0[_0xbcf430(0x32d)](_0x374f88,_0x476156):[])[_0xbcf430(0x33e)](_0x1514a3=>_0x139145[_0x1514a3])[_0xbcf430(0x4c5)](_0x4630c7=>!!_0x4630c7)[_0xbcf430(0x4cb)](),_0x21880d=_0x5b7054[_0xbcf430(0x284)]((_0x334986,_0x309e8a)=>(_0x334986[(0x0,_0x21abf6['getObjectListPanelSectionIdForDrawingType'])(_0x309e8a[_0xbcf430(0x589)])]+=0x1,_0x334986),{'canvas':0x0,'floating':0x0}),_0x3da10a={'canvas':0x0,'floating':0x0},_0x25d97e=_0x5b7054['map']((_0x4605de,_0x227d05)=>{const _0x2d76e0=_0xbcf430;let _0x1253ec=(0x0,_0x21abf6[_0x2d76e0(0x271)])(_0x4605de['drawingType']),_0x5274db=_0x1253ec===_0x21abf6[_0x2d76e0(0x2c2)],_0x20a6cd=_0x3da10a[_0x1253ec]++;return{'id':_0x4605de[_0x2d76e0(0x4ae)],'name':_0xa764a(_0x4605de,_0x227d05,_0x2d9850),'description':_0x4605de['description'],'visible':_0x4605de[_0x2d76e0(0x288)]!==!0x0,'selectable':_0x4605de[_0x2d76e0(0x3f9)]!==!0x1,'sectionId':_0x1253ec,'sectionTitle':_0x5274db?_0x286c55[_0x2d76e0(0x3ee)]:_0x286c55[_0x2d76e0(0x2bf)],'capabilities':_0x5274db?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x5274db&&_0x20a6cd>0x0,'canMoveBackward':!_0x5274db&&_0x20a6cd<_0x21880d[_0x2d76e0(0x3a9)]-0x1,'canReorder':!_0x5274db};}),_0x50fa42=(0x0,_0x16f5cd['useMemo'])(()=>(_0x327f0d??[])[_0xbcf430(0x4c5)](_0x56e2f8=>_0x56e2f8[_0xbcf430(0x524)]===_0x374f88&&_0x56e2f8[_0xbcf430(0x582)]===_0x476156)['map'](_0x43589e=>_0x43589e[_0xbcf430(0x4ae)]),[_0x327f0d,_0x476156,_0x374f88]),_0x538bcd=_0x50fa42[_0x50fa42['length']-0x1]??null,_0x3997d4=_0x4810e8=>_0x4d20d0[_0xbcf430(0x1fd)]({'unitId':_0x374f88,'subUnitId':_0x476156,'drawingId':_0x4810e8})??null,_0x23560a=async _0x1de941=>{const _0x42fa28=_0xbcf430;!_0x374f88||!_0x1de941[_0x42fa28(0x59f)]||await _0x28dfa4[_0x42fa28(0x228)](_0xf06dc['SetSheetDrawingCommand']['id'],{'unitId':_0x374f88,'drawings':_0x1de941});},_0x1b079e=async(_0x3c988a,_0x16c906)=>{_0x3997d4(_0x3c988a)&&await _0x23560a([{'unitId':_0x374f88,'subUnitId':_0x476156,'drawingId':_0x3c988a,..._0x16c906}]);},_0x46c08c=(_0x2f47be,_0x5c1899)=>{const _0x22dbe1=_0xbcf430;if(!_0x374f88||!_0x476156)return;let _0x3279d9=_0x5c1899?_0x50fa42[_0x22dbe1(0x257)](_0x2f47be)?_0x50fa42['filter'](_0x2868f1=>_0x2868f1!==_0x2f47be):[..._0x50fa42,_0x2f47be]:[_0x2f47be];_0x28dfa4[_0x22dbe1(0x472)](_0x193b7c['SetDrawingSelectedOperation']['id'],_0x3279d9['map'](_0x49228a=>({'unitId':_0x374f88,'subUnitId':_0x476156,'drawingId':_0x49228a})));let _0x2313a3=_0x3279d9[_0x3279d9[_0x22dbe1(0x59f)]-0x1];_0x2313a3?(0x0,_0xae3e2f[_0x22dbe1(0x398)])(_0x5cad28,{'unitId':_0x374f88,'subUnitId':_0x476156,'drawingId':_0x2313a3}):(0x0,_0xae3e2f[_0x22dbe1(0x4d9)])(_0x5cad28,_0x374f88);},_0x17b0eb=async(_0x1d6a32,_0x40e662)=>{const _0x4f0df0=_0xbcf430;await _0x23560a(_0x1d6a32[_0x4f0df0(0x33e)](_0x26b141=>_0x3997d4(_0x26b141))['filter'](_0x46138a=>!!_0x46138a)[_0x4f0df0(0x4c5)](_0x34f075=>_0x34f075['hidden']!==!0x0!==_0x40e662)[_0x4f0df0(0x33e)](_0x2e4eeb=>({'unitId':_0x374f88,'subUnitId':_0x476156,'drawingId':_0x2e4eeb[_0x4f0df0(0x4ae)],'hidden':!_0x40e662})));},_0x166fea=async(_0x5e5d12,_0x7352d0)=>{const _0x404890=_0xbcf430;await _0x23560a(_0x5e5d12['map'](_0xfedcf4=>_0x3997d4(_0xfedcf4))[_0x404890(0x4c5)](_0x426ee7=>!!_0x426ee7)['filter'](_0x55d804=>_0x55d804[_0x404890(0x3f9)]!==!0x1!==_0x7352d0)['map'](_0x1f0fae=>({'unitId':_0x374f88,'subUnitId':_0x476156,'drawingId':_0x1f0fae['drawingId'],'selectable':_0x7352d0})));},_0x13d403=_0x374c96=>{const _0x5be00a=_0xbcf430;let _0xd78c9f=_0x3997d4(_0x374c96);if(_0xd78c9f)return _0x166fea([_0x374c96],_0xd78c9f[_0x5be00a(0x3f9)]===!0x1);},_0x40e367=async(_0x17d207,_0xc9dc0a)=>{const _0x426852=_0xbcf430;var _0xdc4be1;let _0x50a421=_0x200f9b(_0xc9dc0a);(((_0xdc4be1=_0x3997d4(_0x17d207))==null?void 0x0:_0xdc4be1[_0x426852(0x1f4)])??void 0x0)!==_0x50a421&&await _0x1b079e(_0x17d207,{'name':_0x50a421});},_0x5af9f8=async(_0x767752,_0x5f5253)=>{const _0xf4750d=_0xbcf430;var _0xed6ba1;let _0xa89048=_0x200f9b(_0x5f5253);(((_0xed6ba1=_0x3997d4(_0x767752))==null?void 0x0:_0xed6ba1[_0xf4750d(0x27d)])??void 0x0)!==_0xa89048&&await _0x1b079e(_0x767752,{'description':_0xa89048});},_0x286a5b=async(_0x262607,_0x4ed98e)=>{const _0x452a30=_0xbcf430;!_0x374f88||!_0x476156||await _0x28dfa4[_0x452a30(0x228)](_0xf06dc['SetDrawingArrangeCommand']['id'],{'unitId':_0x374f88,'subUnitId':_0x476156,'drawingIds':[_0x262607],'arrangeType':_0x4ed98e});};return!_0x374f88||!_0x476156?(0x0,_0x4e51e5['jsx'])(_0xbcf430(0x4f3),{'className':_0xbcf430(0x2c0),'children':_0x286c55[_0xbcf430(0x4dc)]}):(0x0,_0x4e51e5[_0xbcf430(0x54d)])(_0x21abf6['ObjectListPanelBase'],{'items':_0x25d97e,'selectedIds':_0x50fa42,'focusedId':_0x538bcd,'labels':_0x286c55,'showHeader':!0x1,'onSelect':_0x46c08c,'onSetVisible':_0x17b0eb,'onSetSelectable':_0x166fea,'onCommitName':_0x40e367,'onCommitDescription':_0x5af9f8,'onMoveForward':async _0x5608af=>_0x286a5b(_0x5608af,_0x141609['ArrangeTypeEnum'][_0xbcf430(0x315)]),'onMoveBackward':async _0x4c8fa3=>_0x286a5b(_0x4c8fa3,_0x141609[_0xbcf430(0x46f)][_0xbcf430(0x264)]),'onToggleSelectable':_0x13d403});}function _0x5c4308(){const _0x30f69c=_0x50e1ba;let _0xba3de4=(0x0,_0xf803d[_0x30f69c(0x394)])(_0x193b7c[_0x30f69c(0x349)]),_0x8adcc=(0x0,_0xf803d[_0x30f69c(0x3d8)])(()=>_0xba3de4[_0x30f69c(0x267)],_0xba3de4[_0x30f69c(0x380)](),!0x1,[_0xba3de4]);return _0x8adcc[_0x30f69c(0x59f)]===0x0?null:(0x0,_0x4e51e5[_0x30f69c(0x54d)])('div',{'children':(0x0,_0x4e51e5[_0x30f69c(0x24f)])(_0x30f69c(0x4f3),{'className':_0x30f69c(0x3fc),'children':[(0x0,_0x4e51e5[_0x30f69c(0x54d)])(_0x21abf6['DrawingCommonPanel'],{'drawings':_0x8adcc,'hasCropper':!0x1}),(0x0,_0x4e51e5[_0x30f69c(0x54d)])(_0x2d0a48[_0x30f69c(0x36e)],{'drawings':_0x8adcc})]})});}function _0xf4e00b(_0x7eb5c4){const _0x24c4cb=_0x50e1ba;let {unitId:_0x2f8298,subUnitId:_0x24a110,shapeId:_0x6ae3c9}=_0x7eb5c4,_0x357a06=(0x0,_0xf803d['useDependency'])(_0x141609[_0x24c4cb(0x3f2)]),_0x21b300=(0x0,_0xf803d[_0x24c4cb(0x394)])(_0x39f919);return(0x0,_0x4e51e5['jsx'])(_0xae3e2f[_0x24c4cb(0x483)],{..._0x7eb5c4,'positionEditor':(0x0,_0x4e51e5[_0x24c4cb(0x54d)])(_0x5c4308,{}),'onUpdateShapeData':(_0x40e505,_0x423b29)=>{_0x35f8e1(_0x357a06,_0x2f8298,_0x24a110,_0x6ae3c9,_0x40e505,_0x423b29);},'onUpdateLineShapeData':(_0x43e0e2,_0x4f6fe0)=>{_0x11280c(_0x357a06,_0x2f8298,_0x24a110,_0x6ae3c9,_0x43e0e2,_0x4f6fe0);},'onUpdateShapeFillImage':_0xd655e8=>{_0x21b300['updateShapeFillImage']({'unitId':_0x2f8298,'subUnitId':_0x24a110,'drawingId':_0x6ae3c9},_0xd655e8);}});}function _0x1664c1(_0x4206ab){const _0xf61198=_0x50e1ba;let _0x3383c8=(0x0,_0xf803d['useDependency'])(_0xae3e2f['ShapeFloatingToolbarService']),_0x2e4d86=(0x0,_0xf803d[_0xf61198(0x3d8)])(()=>_0x3383c8[_0xf61198(0x5af)],_0x3383c8[_0xf61198(0x51d)](),!0x1,[_0x3383c8]),_0x24049b=_0x4206ab[_0xf61198(0x248)][_0xf61198(0x49b)];return!_0x24049b||!_0x2e4d86?null:(0x0,_0x4e51e5[_0xf61198(0x54d)])(_0x4ce1f9,{..._0x24049b,'canvasElement':_0x4206ab[_0xf61198(0x248)]['canvasElement']});}function _0x4ce1f9(_0xd77578){const _0x15e9f4=_0x50e1ba;let _0x1e49a3=(0x0,_0xf803d['useDependency'])(_0x141609[_0x15e9f4(0x3f2)]),_0x468f01=(0x0,_0xf803d['useDependency'])(_0x137641['SheetsShapeService']),{unitId:_0x7d9d2d,subUnitId:_0x328683,drawingId:_0x19303d,drawingType:_0x3d766e,shapeType:_0x5ca881}=_0xd77578,[_0x485b26,_0x4a3315]=(0x0,_0x16f5cd[_0x15e9f4(0x53e)])(_0xd77578[_0x15e9f4(0x42a)]),_0x273d8a=(0x0,_0x16f5cd[_0x15e9f4(0x233)])(()=>(0x0,_0xae3e2f[_0x15e9f4(0x341)])(_0x485b26),[_0x485b26]),_0x5f5def=(0x0,_0x16f5cd[_0x15e9f4(0x233)])(()=>(0x0,_0xae3e2f['getTextModel'])(_0x485b26),[_0x485b26]);(0x0,_0x16f5cd[_0x15e9f4(0x31f)])(()=>{const _0x5c19c4=_0x15e9f4;let _0x286ba3=_0x1e49a3[_0x5c19c4(0x27b)](_0x5c5ecd=>{const _0x53104e=_0x5c19c4;if(_0x5c5ecd['id']!==_0x137641['UpdateSheetsShapeDataMutation']['id'])return;let _0x5656d6=_0x468f01[_0x53104e(0x338)](_0x7d9d2d,_0x328683,_0x19303d);_0x5656d6&&_0x4a3315(_0x5656d6);});return()=>_0x286ba3[_0x5c19c4(0x270)]();},[_0x1e49a3,_0x19303d,_0x468f01,_0x328683,_0x7d9d2d]);let _0x5b4a4b=_0x5f109b=>{_0x4a3315(_0x5d0786=>({..._0x5d0786,..._0x5f109b}));},_0x3a008e=_0x2549cc=>{const _0x56ba54=_0x15e9f4;let _0x278580=(0x0,_0xae3e2f[_0x56ba54(0x56b)])(_0x485b26,_0x2549cc);_0x35f8e1(_0x1e49a3,_0x7d9d2d,_0x328683,_0x19303d,{'oldShapeData':{'shapeText':_0x485b26[_0x56ba54(0x437)]}},_0x278580),_0x5b4a4b(_0x278580);},_0x7e68d4=(0x0,_0xae3e2f[_0x15e9f4(0x221)])({'hostType':_0x141609[_0x15e9f4(0x25d)][_0x15e9f4(0x247)],'unitId':_0x7d9d2d,'subUnitId':_0x328683,'shapeId':_0x19303d,'shapeData':_0x485b26,'onUpdateBinding':_0x2664a7=>{const _0x31a45a=_0x15e9f4;let _0x42f824={'formulaBinding':_0x2664a7};_0x35f8e1(_0x1e49a3,_0x7d9d2d,_0x328683,_0x19303d,{'oldShapeData':{'formulaBinding':_0x485b26[_0x31a45a(0x312)]}},_0x42f824),_0x5b4a4b(_0x42f824);}});return(0x0,_0x4e51e5[_0x15e9f4(0x24f)])(_0x4e51e5[_0x15e9f4(0x517)],{'children':[(0x0,_0x4e51e5[_0x15e9f4(0x54d)])(_0xae3e2f[_0x15e9f4(0x4d7)],{'canvasElement':_0xd77578[_0x15e9f4(0x287)],'shapeData':_0x485b26,'shapeType':_0x5ca881,'textStyle':{'ff':_0x1e2604['ShapeDefaultConfig']['shapeText']['fontFamily'],'fs':_0x1e2604['ShapeDefaultConfig'][_0x15e9f4(0x437)][_0x15e9f4(0x482)],'cl':{'rgb':_0x1e2604['ShapeDefaultConfig']['shapeText'][_0x15e9f4(0x1fb)]},..._0x273d8a},'textModel':_0x5f5def?{'ha':_0x5f5def['ha']??_0x141609[_0x15e9f4(0x50a)][_0x15e9f4(0x298)],'va':_0x5f5def['va']??_0x141609['VerticalAlign'][_0x15e9f4(0x3d6)]}:null,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x1e2604['ShapeDefaultConfig'][_0x15e9f4(0x320)],'defaultGradientEndColor':_0x1e2604[_0x15e9f4(0x2c5)][_0x15e9f4(0x343)],'defaultStrokeColor':_0x1e2604[_0x15e9f4(0x2c5)][_0x15e9f4(0x304)],'extensionGroups':_0x7e68d4['extensionGroups'],'floatingObjectToolbarPosition':_0xf803d['FloatingObjectToolbarPosition'][_0x15e9f4(0x551)],'onUpdateShapeData':(_0x312a3c,_0x51b8dd)=>{_0x35f8e1(_0x1e49a3,_0x7d9d2d,_0x328683,_0x19303d,_0x312a3c,_0x51b8dd),_0x51b8dd&&_0x5b4a4b(_0x51b8dd);},'onUpdateText':_0x3a008e,'onOpenPanel':()=>{const _0x59d9d3=_0x15e9f4;_0x1e49a3[_0x59d9d3(0x228)](_0x209047['id'],{'unitId':_0x7d9d2d,'subUnitId':_0x328683,'drawingId':_0x19303d});},'onDelete':()=>{const _0x2f2680=_0x15e9f4;_0x1e49a3[_0x2f2680(0x228)](_0xf06dc['RemoveSheetDrawingCommand']['id'],{'unitId':_0x7d9d2d,'drawings':[{'unitId':_0x7d9d2d,'subUnitId':_0x328683,'drawingId':_0x19303d,'drawingType':_0x3d766e}]});}}),_0x7e68d4['panel']]});}function _0x1fd3b6(_0x1e530e){const _0x3b6030=_0x50e1ba;return!!_0x1e530e&&_0x3b6030(0x495)in _0x1e530e&&_0x3b6030(0x3ea)in _0x1e530e;}let _0x3c7765=(0x0,_0x16f5cd[_0x50e1ba(0x280)])(()=>{const _0xc557ec=_0x50e1ba;let _0x2588c1=(0x0,_0xf803d[_0xc557ec(0x394)])(_0x5dbfb4),_0x2e9af3=(0x0,_0xf803d[_0xc557ec(0x394)])(_0x137641['SheetsShapeService']),_0x1680a0=(0x0,_0xf803d['useDependency'])(_0x193b7c[_0xc557ec(0x349)]),_0x45c9cf=(0x0,_0xf803d[_0xc557ec(0x394)])(_0x141609['ICommandService']),_0x5a43e4=(0x0,_0xf803d[_0xc557ec(0x394)])(_0xf803d[_0xc557ec(0x554)]),_0x37a665=(0x0,_0xf803d['useDependency'])(_0x4fd0c0[_0xc557ec(0x403)]);return(0x0,_0x4e51e5[_0xc557ec(0x54d)])(_0xae3e2f[_0xc557ec(0x3ab)],{'adapter':(0x0,_0x16f5cd[_0xc557ec(0x233)])(()=>({'getShapeModel':(_0x5c3cda,_0x2ce972,_0x468d39)=>_0x2e9af3['getShapeModel'](_0x5c3cda,_0x2ce972,_0x468d39),'getShapeData':(_0x4bb606,_0x449a1a,_0x21ad0d)=>_0x2e9af3[_0xc557ec(0x338)](_0x4bb606,_0x449a1a,_0x21ad0d),'getDrawingTransform':(_0x3cc7bb,_0x270a4f,_0x5d479e)=>{const _0x3d9f35=_0xc557ec;let _0x1a765d=_0x1680a0[_0x3d9f35(0x1fd)]({'unitId':_0x3cc7bb,'subUnitId':_0x270a4f,'drawingId':_0x5d479e});return _0x1a765d==null?void 0x0:_0x1a765d[_0x3d9f35(0x25f)];},'updateShapeText':({unitId:_0x5d8be7,subUnitId:_0x110e59,shapeId:_0x516fcd,shapeText:_0x2fef2f,oldShapeText:_0x58d6d3,hostSize:_0x1b77b6})=>{const _0x540217=_0xc557ec;_0x5a43e4[_0x540217(0x310)](_0x5d8be7,()=>{const _0x487d9f=_0x540217;var _0x3b36d7;let _0x25f1d0=_0x45c9cf[_0x487d9f(0x472)](_0x36db55['id'],{'unitId':_0x5d8be7,'subUnitId':_0x110e59,'shapeId':_0x516fcd,'shapeData':{'shapeText':_0x2fef2f},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x58d6d3}}});if(!_0x25f1d0||!_0x1b77b6)return _0x25f1d0;let _0x3bd121=_0x1680a0[_0x487d9f(0x1fd)]({'unitId':_0x5d8be7,'subUnitId':_0x110e59,'drawingId':_0x516fcd}),_0x3f4f70=_0x3bd121==null?void 0x0:_0x3bd121[_0x487d9f(0x25f)];if(!_0x1fd3b6(_0x3bd121)||!_0x3f4f70)return!0x1;let _0x27bc8d={..._0x3f4f70,'width':_0x1b77b6[_0x487d9f(0x44b)],'height':_0x1b77b6[_0x487d9f(0x4d8)]},_0x2f2a6f=(_0x3b36d7=_0x37a665[_0x487d9f(0x22b)](_0x5d8be7))==null||(_0x3b36d7=_0x3b36d7[_0x487d9f(0x2ea)](_0x2e59a1[_0x487d9f(0x21f)])[_0x487d9f(0x430)](_0x110e59))==null?void 0x0:_0x3b36d7[_0x487d9f(0x462)];return _0x45c9cf[_0x487d9f(0x472)](_0xf06dc[_0x487d9f(0x1e7)]['id'],{'unitId':_0x5d8be7,'drawings':[{..._0x3bd121,'transform':_0x27bc8d,'sheetTransform':_0x2f2a6f?(0x0,_0xf06dc[_0x487d9f(0x1ff)])(_0x27bc8d,_0x2f2a6f)??_0x3bd121[_0x487d9f(0x3ea)]:_0x3bd121['sheetTransform'],'axisAlignSheetTransform':_0x2f2a6f?(0x0,_0xf06dc[_0x487d9f(0x5ab)])(_0x27bc8d,_0x2f2a6f)??_0x3bd121['axisAlignSheetTransform']:_0x3bd121[_0x487d9f(0x495)]}]});});},'updateHostSize':({unitId:_0x234fc2,subUnitId:_0x8bf4cd,shapeId:_0x4436a6,width:_0x57fb59,height:_0x5a4b35})=>{const _0x3793be=_0xc557ec;var _0x579070;let _0x3c1d6b=_0x1680a0[_0x3793be(0x1fd)]({'unitId':_0x234fc2,'subUnitId':_0x8bf4cd,'drawingId':_0x4436a6}),_0x48d040=_0x3c1d6b==null?void 0x0:_0x3c1d6b[_0x3793be(0x25f)];if(!_0x1fd3b6(_0x3c1d6b)||!_0x48d040)return;let _0x4d6a08={..._0x48d040,'width':_0x57fb59,'height':_0x5a4b35},_0x1f23ce=(_0x579070=_0x37a665[_0x3793be(0x22b)](_0x234fc2))==null||(_0x579070=_0x579070['with'](_0x2e59a1[_0x3793be(0x21f)])[_0x3793be(0x430)](_0x8bf4cd))==null?void 0x0:_0x579070[_0x3793be(0x462)],_0x142336=_0x1f23ce?(0x0,_0xf06dc[_0x3793be(0x1ff)])(_0x4d6a08,_0x1f23ce)??_0x3c1d6b['sheetTransform']:_0x3c1d6b[_0x3793be(0x3ea)],_0x16b2cc=_0x1f23ce?(0x0,_0xf06dc['transformToAxisAlignPosition'])(_0x4d6a08,_0x1f23ce)??_0x3c1d6b[_0x3793be(0x495)]:_0x3c1d6b[_0x3793be(0x495)];_0x45c9cf[_0x3793be(0x228)](_0xf06dc['SetSheetDrawingCommand']['id'],{'unitId':_0x234fc2,'drawings':[{..._0x3c1d6b,'transform':_0x4d6a08,'sheetTransform':_0x142336,'axisAlignSheetTransform':_0x16b2cc}]});},'allowHostSizeShrink':({unitId:_0x461075,subUnitId:_0x508c69,shapeId:_0x3bb8d2})=>(0x0,_0xae3e2f[_0xc557ec(0x448)])(_0x2e9af3['getShapeDataById'](_0x461075,_0x508c69,_0x3bb8d2)),'deferHostSizeUpdateDuringEditing':()=>!0x0}),[_0x45c9cf,_0x1680a0,_0x37a665,_0x2e9af3,_0x5a43e4]),'editingService':_0x2588c1,'editorUnitId':_0x4a7e86,'positionOptions':(0x0,_0x16f5cd[_0xc557ec(0x233)])(()=>({'viewportKeys':{'main':_0x4fd0c0[_0xc557ec(0x376)][_0xc557ec(0x501)],'leftTop':_0x4fd0c0[_0xc557ec(0x376)][_0xc557ec(0x4fa)],'top':_0x4fd0c0[_0xc557ec(0x376)][_0xc557ec(0x2d8)],'left':_0x4fd0c0['SHEET_VIEWPORT_KEY'][_0xc557ec(0x1f7)]},'getSkeleton':(_0xef7361,_0x29318b)=>{const _0x1d4a06=_0xc557ec;var _0x249ee8;return((_0x249ee8=_0xef7361['with'](_0x2e59a1[_0x1d4a06(0x21f)])['getSkeletonParam'](_0x29318b['subUnitId']))==null?void 0x0:_0x249ee8[_0x1d4a06(0x462)])??null;}}),[])});}),_0x4e14b7=class extends _0x141609['Disposable']{constructor(_0x2b5497,_0x47b883){const _0x4e4721=_0x50e1ba;super(),this['_componentManager']=_0x2b5497,this[_0x4e4721(0x3ec)]=_0x47b883,this[_0x4e4721(0x374)](),this[_0x4e4721(0x332)]();}[_0x50e1ba(0x374)](){const _0x3f4f53=_0x50e1ba;this[_0x3f4f53(0x3ec)][_0x3f4f53(0x40b)](_0x3f4f53(0x2fc))||this[_0x3f4f53(0x297)](this[_0x3f4f53(0x3ec)][_0x3f4f53(0x48e)]({'ObjectLayersIcon':_0x37f331})),this[_0x3f4f53(0x3ec)]['has']('FlipHorizontalIcon')||this[_0x3f4f53(0x297)](this['_iconManager'][_0x3f4f53(0x48e)]({'FlipHorizontalIcon':_0x286258})),this[_0x3f4f53(0x3ec)][_0x3f4f53(0x40b)](_0x3f4f53(0x454))||this[_0x3f4f53(0x297)](this['_iconManager'][_0x3f4f53(0x48e)]({'FlipVerticalIcon':_0x9d06d5})),this[_0x3f4f53(0x3ec)][_0x3f4f53(0x40b)](_0x3f4f53(0x5a1))||this['disposeWithMe'](this[_0x3f4f53(0x3ec)][_0x3f4f53(0x48e)]({'BottomIcon':_0x41f186})),this[_0x3f4f53(0x3ec)][_0x3f4f53(0x40b)](_0x3f4f53(0x45e))||this[_0x3f4f53(0x297)](this[_0x3f4f53(0x3ec)][_0x3f4f53(0x48e)]({'MoveDownIcon':_0x19c742})),this['_iconManager'][_0x3f4f53(0x40b)](_0x3f4f53(0x4ca))||this[_0x3f4f53(0x297)](this[_0x3f4f53(0x3ec)][_0x3f4f53(0x48e)]({'MoveUpIcon':_0x26765f})),this[_0x3f4f53(0x3ec)][_0x3f4f53(0x40b)]('ShapeFormatSettingIcon')||this[_0x3f4f53(0x297)](this[_0x3f4f53(0x3ec)][_0x3f4f53(0x48e)]({'ShapeFormatSettingIcon':_0x3313a6})),this[_0x3f4f53(0x3ec)][_0x3f4f53(0x40b)](_0x3f4f53(0x393))||this['disposeWithMe'](this[_0x3f4f53(0x3ec)][_0x3f4f53(0x48e)]({'TopmostIcon':_0x217e80}));}['_registerComponents'](){const _0x2d2851=_0x50e1ba;this[_0x2d2851(0x297)](this['_componentManager'][_0x2d2851(0x48e)](_0x4b86ba,_0xf4e00b)),this[_0x2d2851(0x297)](this['_componentManager'][_0x2d2851(0x48e)](_0x55694c,_0xb2cead)),this[_0x2d2851(0x297)](this[_0x2d2851(0x531)]['register'](_0x285581,_0x4d39eb)),this['disposeWithMe'](this[_0x2d2851(0x531)]['register'](_0x330ef9,_0x33e5b7)),this[_0x2d2851(0x531)][_0x2d2851(0x404)](_0x21abf6[_0x2d2851(0x26d)])||this['disposeWithMe'](this['_componentManager'][_0x2d2851(0x48e)](_0x21abf6[_0x2d2851(0x26d)],_0x88d4b0)),this[_0x2d2851(0x297)](this[_0x2d2851(0x531)][_0x2d2851(0x48e)](_0x114db3,_0x1664c1)),this[_0x2d2851(0x297)](this[_0x2d2851(0x531)][_0x2d2851(0x48e)](_0x331621,_0x5ae2e2)),this[_0x2d2851(0x297)](this[_0x2d2851(0x531)][_0x2d2851(0x48e)](_0x12e389,_0x1b5b09)),this[_0x2d2851(0x297)](this[_0x2d2851(0x531)][_0x2d2851(0x48e)](_0x20628b,_0x2fe990)),this[_0x2d2851(0x297)](this[_0x2d2851(0x531)][_0x2d2851(0x48e)](_0x5afa76,_0x273723)),this[_0x2d2851(0x297)](this[_0x2d2851(0x531)]['register'](_0x3c7997,_0xae3e2f[_0x2d2851(0x548)])),this[_0x2d2851(0x297)](this[_0x2d2851(0x531)][_0x2d2851(0x48e)](_0x2d2851(0x568),_0x3c7765));}};_0x4e14b7=_0x488baa([_0x3ceba3(0x0,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0xf803d['ComponentManager'])),_0x3ceba3(0x1,(0x0,_0x141609['Inject'])(_0xf803d['IconManager']))],_0x4e14b7);let _0x4b5b23=_0x50e1ba(0x300),_0x59168d=class extends _0x141609['Disposable']{constructor(_0x34770d,_0x44186d,_0x90925c,_0x10c70e,_0x5d7a3e,_0x2a0ae2){const _0x22af11=_0x50e1ba;super(),this[_0x22af11(0x2ff)]=_0x34770d,this[_0x22af11(0x591)]=_0x44186d,this[_0x22af11(0x5be)]=_0x90925c,this[_0x22af11(0x50c)]=_0x10c70e,this[_0x22af11(0x2e0)]=_0x5d7a3e,this[_0x22af11(0x202)]=_0x2a0ae2,_0x46f35a(this,_0x22af11(0x357),!0x1),this['_menuManagerService'][_0x22af11(0x35f)](_0x1b7045),this[_0x22af11(0x297)]((0x0,_0x141609[_0x22af11(0x235)])(this[_0x22af11(0x5be)][_0x22af11(0x267)][_0x22af11(0x5a8)](()=>this[_0x22af11(0x2ef)]()))),this[_0x22af11(0x2ef)]();}[_0x50e1ba(0x270)](){const _0x22a2bd=_0x50e1ba;this[_0x22a2bd(0x202)][_0x22a2bd(0x44d)](!0x1,_0x4b5b23),this[_0x22a2bd(0x303)](),super[_0x22a2bd(0x270)]();}[_0x50e1ba(0x2ef)](){const _0x1348cb=_0x50e1ba;var _0x258531;let _0x13f9b8=this[_0x1348cb(0x5be)][_0x1348cb(0x380)](),_0x5a5cf4=_0x13f9b8[_0x1348cb(0x59f)]===0x1?_0x13f9b8[0x0]:void 0x0;if((_0x5a5cf4==null?void 0x0:_0x5a5cf4[_0x1348cb(0x589)])!==_0x141609[_0x1348cb(0x397)][_0x1348cb(0x285)]||this[_0x1348cb(0x50c)]['getUnitType'](_0x5a5cf4[_0x1348cb(0x524)])!==_0x141609[_0x1348cb(0x25d)]['UNIVER_SHEET']){this[_0x1348cb(0x202)][_0x1348cb(0x44d)](!0x1,_0x4b5b23),this[_0x1348cb(0x303)]();return;}let _0x1562db=(0x0,_0xae3e2f[_0x1348cb(0x475)])((_0x258531=this['_renderManagerService'][_0x1348cb(0x22b)](_0x5a5cf4['unitId']))==null?void 0x0:_0x258531[_0x1348cb(0x263)][_0x1348cb(0x206)]())===_0x1348cb(0x3cc);if(this['_shapeFloatingToolbarService']['setFallbackVisible'](_0x1562db,_0x4b5b23),_0x1562db){this['_hide']();return;}this['_visible']||(this[_0x1348cb(0x357)]=!0x0,this[_0x1348cb(0x591)][_0x1348cb(0x336)](_0x57ff38,{'activate':!0x0}));}['_hide'](){const _0x40392b=_0x50e1ba;this[_0x40392b(0x357)]&&(this[_0x40392b(0x357)]=!0x1,this[_0x40392b(0x591)][_0x40392b(0x4f8)](_0x57ff38),this[_0x40392b(0x591)]['setCollapsedIds']([]));}};_0x59168d=_0x488baa([_0x3ceba3(0x0,_0xf803d[_0x50e1ba(0x2ee)]),_0x3ceba3(0x1,_0xf803d[_0x50e1ba(0x427)]),_0x3ceba3(0x2,_0x193b7c[_0x50e1ba(0x349)]),_0x3ceba3(0x3,_0x141609[_0x50e1ba(0x465)]),_0x3ceba3(0x4,_0x4fd0c0[_0x50e1ba(0x403)]),_0x3ceba3(0x5,(0x0,_0x141609['Inject'])(_0xae3e2f[_0x50e1ba(0x2d1)]))],_0x59168d);let _0xac88a5=class extends _0xae3e2f[_0x50e1ba(0x378)]{constructor(_0x5ec7a0,_0x37f255,_0x8d2c50,_0x5221fc,_0x3d774a,_0x57ed29,_0x508439,_0x4a1cd5,_0x8735f8,_0x5c833d){super(_0x5ec7a0,_0x37f255,_0x8d2c50,_0x5221fc,_0x3d774a,_0x57ed29,_0x508439,_0x4a1cd5,_0x8735f8,_0x5c833d,{'componentKey':_0x3c7997,'editorUnitId':_0x4a7e86});}};_0xac88a5=_0x488baa([_0x3ceba3(0x1,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x23dfef['DocSelectionManagerService'])),_0x3ceba3(0x2,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x414ed6[_0x50e1ba(0x56a)])),_0x3ceba3(0x3,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x414ed6[_0x50e1ba(0x27f)])),_0x3ceba3(0x4,_0x141609[_0x50e1ba(0x3f2)]),_0x3ceba3(0x5,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x414ed6['DocEventManagerService'])),_0x3ceba3(0x6,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0xae3e2f[_0x50e1ba(0x23c)])),_0x3ceba3(0x7,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x23dfef['DocInterceptorService'])),_0x3ceba3(0x8,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x414ed6[_0x50e1ba(0x4d5)])),_0x3ceba3(0x9,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x5dbfb4))],_0xac88a5);let _0x4df295=class extends _0x141609['Plugin']{constructor(_0x493c10=_0x58c57b,_0x35746d,_0x243a13,_0x34ddd3,_0x5a7f94){const _0x465b61=_0x50e1ba;super(),this[_0x465b61(0x3d9)]=_0x493c10,this['_injector']=_0x35746d,this['_commandService']=_0x243a13,this[_0x465b61(0x43d)]=_0x34ddd3,this[_0x465b61(0x2e0)]=_0x5a7f94;let {..._0x114231}=(0x0,_0x141609[_0x465b61(0x4a8)])({},_0x58c57b,this['_config']);this[_0x465b61(0x43d)][_0x465b61(0x1f8)](_0x40fe56,_0x114231),this[_0x465b61(0x276)]();}[_0x50e1ba(0x564)](){const _0x5f55ff=_0x50e1ba;this[_0x5f55ff(0x2e0)][_0x5f55ff(0x28b)](_0x141609[_0x5f55ff(0x25d)][_0x5f55ff(0x286)],[_0xac88a5]),(0x0,_0x141609[_0x5f55ff(0x3fe)])(this[_0x5f55ff(0x1dd)],[[_0x4552ae],[_0x12299d],[_0x52a530],[_0x3200ba]]);}[_0x50e1ba(0x2bb)](){const _0x28d2c1=_0x50e1ba;this[_0x28d2c1(0x1dd)][_0x28d2c1(0x404)](_0x4552ae)[_0x28d2c1(0x381)]();}[_0x50e1ba(0x3e4)](){const _0xe6bed=_0x50e1ba;[[_0x1314ff],[_0x29e2ba],[_0x336972]][_0xe6bed(0x311)](_0x4068ef=>this['_injector'][_0xe6bed(0x30e)](_0x4068ef)),(0x0,_0x141609[_0xe6bed(0x3fe)])(this['_injector'],[[_0x336972],[_0x29e2ba]]),this[_0xe6bed(0x2e0)]['registerRenderModule'](_0x141609[_0xe6bed(0x25d)][_0xe6bed(0x247)],[_0x1314ff]),this[_0xe6bed(0x2e0)][_0xe6bed(0x28b)](_0x141609[_0xe6bed(0x25d)]['UNIVER_SHEET'],[_0x32ad2f]),this[_0xe6bed(0x2e0)]['registerRenderModule'](_0x141609['UniverInstanceType']['UNIVER_SHEET'],[_0x2cc80a]),this[_0xe6bed(0x2e0)][_0xe6bed(0x28b)](_0x141609[_0xe6bed(0x25d)][_0xe6bed(0x247)],[_0x143d9]);}['onStarting'](){const _0x98538a=_0x50e1ba;this['_injector'][_0x98538a(0x30e)]([_0x4e14b7]),this[_0x98538a(0x1dd)]['get'](_0x4e14b7);let _0x522669=this[_0x98538a(0x1dd)];[[_0x4552ae],[_0x12299d],[_0x52a530],[_0x3200ba],[_0x39f919],[_0x5dbfb4],[_0x2edea9],[_0x5549d5],[_0x594476],[_0x59168d]][_0x98538a(0x311)](_0x15d8e0=>_0x522669[_0x98538a(0x30e)](_0x15d8e0)),(0x0,_0x141609['touchDependencies'])(this[_0x98538a(0x1dd)],[[_0x4552ae],[_0x12299d],[_0x52a530],[_0x39f919],[_0x5dbfb4],[_0x2edea9],[_0x5549d5],[_0x594476],[_0x59168d]]);}['_initCommands'](){const _0x4abe81=_0x50e1ba;[_0x30dee9,_0x36db55,_0x26ce35,_0x209047,_0x75f1e,_0x45476e,_0x519d9a,_0x6a5739][_0x4abe81(0x311)](_0x3e18b5=>this[_0x4abe81(0x297)](this[_0x4abe81(0x4d6)][_0x4abe81(0x47d)](_0x3e18b5)));}};_0x46f35a(_0x4df295,_0x50e1ba(0x4b5),_0x141609[_0x50e1ba(0x25d)][_0x50e1ba(0x247)]),_0x46f35a(_0x4df295,_0x50e1ba(0x440),'SHEET_SHAPE_UI_PLUGIN'),_0x46f35a(_0x4df295,_0x50e1ba(0x26b),_0x2173cd),_0x46f35a(_0x4df295,_0x50e1ba(0x22f),_0x469d54),_0x4df295=_0x488baa([(0x0,_0x141609[_0x50e1ba(0x3c9)])(_0x86ef8e['UniverLicensePlugin'],_0x23dfef[_0x50e1ba(0x219)],_0x193b7c[_0x50e1ba(0x4fe)],_0x21abf6[_0x50e1ba(0x2ca)],_0x4fd0c0[_0x50e1ba(0x565)],_0x200933[_0x50e1ba(0x2b3)],_0x414ed6['UniverDocsUIPlugin'],_0xf06dc[_0x50e1ba(0x29d)],_0x2b022d[_0x50e1ba(0x4da)],_0x2d0a48[_0x50e1ba(0x3e7)],_0x137641['UniverSheetsShapePlugin'],_0x2e59a1['UniverSheetsUIPlugin'],_0xae3e2f['UniverShapeEditorUIPlugin']),_0x3ceba3(0x1,(0x0,_0x141609[_0x50e1ba(0x34e)])(_0x141609[_0x50e1ba(0x55d)])),_0x3ceba3(0x2,_0x141609['ICommandService']),_0x3ceba3(0x3,_0x141609[_0x50e1ba(0x2ac)]),_0x3ceba3(0x4,_0x4fd0c0['IRenderManagerService'])],_0x4df295),_0x242c87[_0x50e1ba(0x57a)]=_0x1b7045,_0x242c87[_0x50e1ba(0x241)]=_0x560b72,Object[_0x50e1ba(0x5bb)](_0x242c87,'UniverSheetsShapeMobileUIPlugin',{'enumerable':!0x0,'get':function(){return _0x374ea3;}}),Object[_0x50e1ba(0x5bb)](_0x242c87,_0x50e1ba(0x467),{'enumerable':!0x0,'get':function(){return _0x4df295;}});}));function _0x387f(_0x49e888,_0x578e6d){_0x49e888=_0x49e888-0x1dd;const _0x3b9923=_0x3b99();let _0x387f39=_0x3b9923[_0x49e888];return _0x387f39;}function _0x3b99(){const _0x3472d1=['816uNymBh','transformByState','SetDrawingApplyMutation','RemoveSheetsShapeMutation','_addShapeConnectorHandlerObjects','shapeText','1em','formulaPresentation','None','delete','object','_configService','switchMap','strokeOpacity','pluginName','_currentScene','_drawingType','_uiPartsService','normal','_registerDrawingFocusChangeHandler','attachPopupToObject','push','shouldAllowShapeTextEditorHostSizeShrink','Observable','top','width','@univerjs-pro/shape-editor-ui','setFallbackVisible','relation','SetDrawingArrangeCommand','_canEdit','@univerjs/sheets-ui','localName','rotation','FlipVerticalIcon','sheets-shape-ui.ribbon.shape-format.arrange-front','resolveFormulaShapeAutoFitSize','_localeService','refreshShapeFillImage','UPDATE','getSkeleton','UniverDrawing','_shapeFormulaService','defs','MoveDownIcon','attachRangeWithCoord','MenuItemType','refreshAdjustControls','skeleton','_isOpenedShapeEditPanel','_sheetCanvasPopManagerService','IUniverInstanceService','_sidebarDisposable','UniverSheetsShapeUIPlugin','onSavingEditorData$','setFillImage','UniverEngineRender','object-layers-icon','UniverDesign','ShapeQuickStyleGallery','shapeKey','ArrangeTypeEnum','UpdateLineShapeResizeCommand','SELECTOR','syncExecuteCommand','getUnitType','_disposed','resolveShapeContextualRibbonHostMode','getEditing','_isShouldShowDrawingShapeAdjust','_getDrawingRect','routeConnectorLineShape','_updateImageAdjValues','sheets-shape-ui.ribbon.shape-format.arrange-forward','trim','registerCommand','clip-adj-','_getShapeAdjustInfosById','ShapeStyleRibbonControl','getAdjustInfoByName','fontSize','ShapeEditPanel','abs','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','sheet.shape.object-list.panel','left','getConnectorLinePoints','fromChangeset','_shapes','getCurrentUnitOfType','makeDirty','endConnectionDetection','register','registerComponent','getMatrix','pushUndoRedo','indexOf','_activeTargetShapeId','getScene','axisAlignSheetTransform','decorate','image','scene','sheets-shape-ui.editText','translateWithPrecision','extraProps','OTHERS','rxjs','contentVerticalOffset','SheetPrintInterceptorService','move-down-icon','onPointerMove$','_rerouteConnectorLine','_initPermission','ang','SheetsDrawingGroupCopyPasteController','UniverSheetsDrawingUi','_unitId','merge','sheets-shape-ui.quickStyles','getDrawingTypeNameKey','insertGroupObject','cxnPointStrokeWidth','DrawingApplyType','drawingId','CURSOR_TYPE','_baseWidth','Medium','createShapeFormulaDocument','updateLinePoints','EMPTY','type','values','ComponentManager','UpdateConnectorRelationCommand','shape-format-setting-icon','_sheetsShapeService','DocumentDataModel','computeStraightConnectorLayout','_baseDrawingRect','applyPoint','sheets-shape-text-','fillImageSourceType','keys','BUTTON','find','angle','filter','resolveActiveShapeQuickStylePresetId','UniverDrawingUi','changing$','_moveConnectorWithShape','MoveUpIcon','reverse','mask','_showConnectionSites','_adjHandlerPointerMove','order','_isImagePointerDown','marginTop','disableShapeOption','getShapeModel','appliedStrokeWidth','DocRenderController','_commandService','ShapeFloatingToolbar','height','clearActiveDrawingObjects','UniverShapeEditorPlugin','sheets-shape-ui.imagePanel.crop.shape','title','_handleConnectorPointerUp','Shape','createInternalEditorID','_initEvents','PictureFill','connection-site-','REMOVE','subscribeEvent','isReleased','changeEnd$','_findNearestConnectionSite','deriveStateFromActiveSheet$','sheets-shape-ui.insertShape','adjustValues','pick','_getZoomRatio','getCurrentSkeleton','pipe','displayName','sheets-shape-ui.objectListPanel.title','path','setHighlighted','div','_shapeUpdateListener','SheetsShapeService','_getShapeAdjustPointListById','_executeResizeCommand','hideContextualTab','235778iuVOsm','VIEW_MAIN_LEFT_TOP','_formulaShapes','LocaleService','forwardRef','UniverDrawingPlugin','stopPropagation','worldPoints','VIEW_MAIN','_baseShapeHeight','getShapeTextData','Rect','point','_handleFreeEndpointMove','ShapePickerPanel','index','symbol','HorizontalAlign','none','_univerInstanceService','_registerImageShapeClipDelegate','Disposable','sheet.operation.update-shape-type','_popupMenuListener','_executeConnectedRouteConnectionCommand','UniverSheets','getShapeData','getPropertyPriority','srcRect','clipTop','Fragment','sheets-shape-ui.ribbon.shape-format','priority','max','isHitLine','UniverSheetsShapePlugin','getVisible','redo','SHAPE_TEXT','non-scaling-stroke','sheet.shape.picker.component','MobileShapeEditorService','getConnectionSiteList','unitId','currentAdjustValues','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','_drawRichText','isHorizontal','isRichText','sheet.operation.open-mobile-shape-editor','IconManager','PREDEFINED_HOOK_NAME','setProperty','_drawSimpleText','image-clip-adjust-point-','sheet.shape.text.float-menu','_componentManager','0\x200\x2017\x2016','_transformCalculateSrcRect','getOrCreateDrawingCopyPlan','clipHeight','WorksheetEditPermission','ImageSourceTypeEnum','getViewportByCell','@univerjs/sheets','strokeWidth','getTransformer','ConnectorCoordinateTransform','_updateAdjustControlPositions','useState','changeShapeType','_addShapeConnectorHandlerObject','applyQuickStyleToShapeData','round','flatMap','resetCursor','ToggleSheetsShapeFlipCommand','ShapeModel','_handleFreeEndpointPointerUp','ShapeTextFloatToolbar','_formulaAnimation','viewportScrollY','getOwnPropertyDescriptor','_isDrawingShapePointDown','jsx','onload','ShapeRenderModeEnum','getDrawingEditable','SHEET','editingParams$','_activeImageId','UndoRedoGroupService','_sheetBasicShapeConnectionPointController','_init','tag','isMainScene','_activeAdjustInfo','FOCUSING_COMMON_DRAWINGS','getDrawingSearch','COMMAND','Injector','getShapeTextRect','setFormulaPresentation','UUID','isLineShape','_addControl','addClipboardHook','onRendered','UniverRenderEnginePlugin','URL','M13.4\x203.3L9.8\x208L13.4\x2012.7V3.3Z','SheetShapeTextEditorContainer','_baseShapeWidth','DocCanvasPopManagerService','buildShapeTextDataUpdate','_updateShapeAdjustControls','UniverShapeEditorMobileUIPlugin','attrs','isConnectorShape','unsubscribe','CROSSHAIR','isCurvedConnectorShape','@univerjs/sheets-drawing','_createCopyInfoByRange','_clearShapeAdjustControls','_generateCopyPasteMutations','copyType','_initCopyPaste','buildClipPath','SheetsShapeUIContextualRibbonSchema','some','getAdjustValueByName','_clipService','shapeType','_baseShapeLeft','flipY','target','subUnitId','_attachAdjustEvent','_imageIoService','isRenderLinePointsMode','composeMatrix','multiply','UniverProEngineShape','drawingType','complete','_createControls','DocumentSkeleton','cxnPointFill','_getScrollInfo','createElement','IImageIoService','_ribbonService','getTransformerByCreate','FlipHorizontalIcon','Documents','_drawRichTextLayer','clipByShape','onPointerUp$','value','_contextService','getDrawingData','clone','DRAWING','objects','onDblclick$','length','INSERT','BottomIcon','updateContext','0\x200\x2016\x2016','setOnSavingEditorData','_isStartConnectorPoint','stroke-width','clip-','subscribe','sin','RENDER_CLASS_TYPE','transformToAxisAlignPosition','_sheetDrawingService','cxnPointRadius','lineType','visible$','prstGeom','ISidebarService','MobileShapeActionPanel','changeStart$','getDrawingDataForUnit','_subUnitId','oKey','adjName','_index','sheets-shape-ui.formatShape','svg','defineProperty','univerjs-icon\x20univerjs-icon-','PRINTING_COMPONENT_COLLECT','_drawingManagerService','clearControl$','_injector','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','BuiltInUIPart','setCanUseShapeClip','getShapeTypeById','_clearPopups','@univerjs/ui','getDrawingShapeKeyByDrawingSearch','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','SheetsSelectionsService','SetSheetDrawingCommand','InsertSheetsShapeMutation','visible','_activeShapeModel','children','_getConnectPointInfo','entries','ShapeFormulaRibbonControl','_clearConnectionSites','_updateSrcRectByTransform','url(#$1','sheet.shape.floating-toolbar','refreshTransform','name','adjHandleStroke','calculate','VIEW_MAIN_LEFT','setConfig','next','_getImageDrawingInfo','color','getParent','getDrawingByParam','Module','transformToDrawingPosition','offsetX','_openShapeEditPanel','_shapeFloatingToolbarService','cancelEditing','setShouldShowAdjust','_insertShapes','getCanvasElement','connector-handler-','getCurrentLastSelection','getDrawingVisible','_createShapeAdjustControls','prstGeomAdjValues','M3.3\x202.6L8\x206.2L12.7\x202.6H3.3Z','M2.2\x208H3.8','getDrawingOKey','_clearControls','_registerFocusChangeHandler','1.0.0-rc.0','getSheetId','Path','_initialize','UniverProSheetsShape','update$','flipX','isRender','UniverDocsPlugin','sheets-shape-ui.objectListPanel.open','SheetPermissionCheckController','13cLbNLF','setAdjustValueByName','save','SheetSkeletonManagerService','getEndConnectInfo','useFormulaShapeToolbar','Vector2','beginPath','@univerjs/docs-ui','MenuManagerPosition','getSheetBySheetId','RemoveSheetCommand','executeCommand','_cxtHandlerPointerUp','discreteRangeToRange','getRenderUnitById','setShapeProps','setPresentation','sheet.command.menu-insert-shape','version','_imageShapeClipController','UniverSheetsDrawing','getShapeType','useMemo','sheets-shape-ui.editShape','toDisposable','startY','colorChannel1','sqrt','setCursor','ShapeArrowSizeEnum','activeSheet$','ShapeTextHyperLinkPopupService','UpdateSheetsShapeDataMutation','startWith','actions','worldRect','SheetsShapeUIMenuSchema','shape-editor-ui.toolbar.quickStyles','FOCUSING_SHAPE_TEXT_EDITOR','plainShapeTextToDocumentData','getSheetCommandTarget','UniverLicensePlugin','UNIVER_SHEET','popup','onTransformChange$','xlink:href','sheets-shape-ui.ribbon.shape-format.text-control','DrawingRenderService','resolveShapeTextEditorWrapStrategy','resize','jsxs','back','sheets-shape-format-font-family-menu','sheetViewStartRow','_releaseRenderCache','getMenuHiddenObservable','getRealBound','sheets-shape-ui.shape-format.style-ribbon-control','includes','Circle','getImage','_addShapeAdjustControl','setSrcRect','ShapeArrowTypeEnum','UniverInstanceType','getBatchRemoveOp','transform','constructor','getPresentation','getBoundingClientRect','engine','backward','_clearCompletionFrame','IURLImageService','focus$','from','setEditing','isStartConnectorPoint','packageName','startX','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','useId','_initPrinting','dispose','getObjectListPanelSectionIdForDrawingType','remove$','UniverMobileUIPlugin','react/jsx-runtime','getAutoFitPresentations','_initCommands','size','BehaviorSubject','_executeConnectedRouteResizeCommand','M4.2\x208.3H6.8','onCommandExecuted','_cxnIndex','description','actualHeight','DocSelectionRenderService','memo','M3.3\x2013.4L8\x209.8L12.7\x2013.4H3.3Z','stringify','UniverProShapeEditorUi','reduce','DRAWING_SHAPE','UNIVER_DOC','canvasElement','hidden','add$','render','registerRenderModule','sheets-shape-ui.flipHorizontal','_generatePasteMutations','_shapeRenderController','MEDIA','DocumentViewModel','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','_baseTop','M14\x208H14.2','M6.2\x208H7.8','ISheetDrawingService','idSuffix','disposeWithMe','LEFT','createShapeTextBoxShapeData','topmost-icon','doc.image-clip.shape-picker.component','getCurrentTypeOfUnit$','UniverSheetsDrawingPlugin','open','disableObjectsEvent','546093YXuVSI','enableObjectsEvent','attachTransformerTo','sheet.operation.close-sheet-shape-format-panel','_shapeId','_registerMoveHandler','SHEET_SHAPE_UI_PLUGIN','Image','startArrow','isFinite','normalizeShapeTextModel','M8\x2014V14.2','IConfigService','OPERATION','_calculateFreeEndpointAngle','_sheetSkeletonService','extensionGroups','onStarting','SHAPE_EDITOR_TRANSFORMER_CONFIG','UniverSheetsPlugin','_baseHeight','sheet.image-clip.shape-picker.component','Large','beforeCommandExecuted','ShapeTypeEnum','ContextMenuGroup','shape-editor-ui.toolbar.changeShape','onSteady','FOOTER','getUnit','idMap','sectionCanvas','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','undo','OBJECT_LIST_FLOATING_SECTION_ID','interceptor','sheetViewStartColumn','ShapeDefaultConfig','_cxtHandlerPointerMove','_isConnecting','CommandType','current','UniverDrawingUIPlugin','_draggingConnectorId','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','style','sheets-shape-ui.ribbon.shape-format.style-control','SheetSkeletonService','UniverDocs','ShapeFloatingToolbarService','hadStyleAttribute','getPermissionPoint','hasAttribute','UniverSheetsUi','_context','toFixed','VIEW_MAIN_TOP','_sheetDrawingShapeRenderController','GROUP','localeService','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','COPY_TYPE','renderDrawingShape','@univerjs-pro/license','_renderManagerService','getActualSize','_copyInfo','sheets-shape-ui','asObservable','12AToGuY','toPrimitive','Line','custom','ShapeGroupEnum','with','_connectorObjects','_transform','fillImageSource','IMenuManagerService','_update','targetShapeId','_resetState','viewBox','getState','getAdjustNames','defIds','move-up-icon','clearAdjustValue','_getOrCreateShapeModel','_disposePopups','invert','React','ObjectLayersIcon','@univerjs-pro/shape-editor','getValue','_menuManagerService','sheets-shape-contextual-ribbon','_onSavingEditorData$','isHighlighted','_hide','stroke','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','cloneShapeDataForType','@univerjs-pro/engine-shape','DRAWING_IMAGE','sheets-shape-ui.shape-format.text-ribbon-control','Arrow','_activeShapeInfo','worldPoint','ShapeFormulaService','add','draw','run','forEach','formulaBinding','blockExecuteWithoutPermission','drawWith','forward','offsetY','getBasicShapeRotateBound','data','_handleBasicShapeUpdateConnectorLineShape','DRAWING_OBJECT_LAYER_INDEX','animationEnabled','startConnectionDetection','_getSceneAndTransformerByDrawingSearch','getShapeQuickStyleType','useEffect','fill','getCurrentRangeDisable$','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','_targetShapeId','scale','calcAdjValues','focusDrawing','wrapStrategy','_loadAndSetImage','vertical','IUIPartsService','#bcbcbc','drawing.operation.set-drawing-active','getDrawingOrder','dataModel','flip-horizontal-icon','adjHandleSize','isInGroup','_registerComponents','_draw','error','registerDependencies','showContextualTab','_baseLeft','getShapeDataById','ShapeFillEnum','_loadShapePictureFill','_formulaKey','getZoomRatio','ISheetClipboardService','map','getBentTypeFromPoints','UniverSheetsDrawingMobileUIPlugin','getTextStyle','_updateTransform','gradientEndColor','isArray','_generateCutPasteMutations','_sheetPermissionCheckController','iterator','shape-editor-ui.arrange.forward','IDrawingManagerService','9HkOeqv','assign','UniverSheetsMobileUIPlugin','completeEditing','Inject','_initSelection','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','contentHeight','computeConnectorRouteLayout','http://www.w3.org/2000/svg','getPropertyValue','_setTransForm','SheetInterceptorService','_visible','currentColor','computeConnectorResizeLayout','resourceCollector','shapeId','updateDocumentDataMargin','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','getConnectionInfo','mergeMenu','_insertingShapeKeys','sheets-shape-ui.ribbon.shape-format.arrange-back','_currentConnectionTarget','_applyFormulaAutoFitSize','function','_permissionService','ToggleShapeFloatingToolbarOperation','createControl$','getInverseCoord','_attachConnectorObjectEvent','_activeAdjustPointList','string','getActiveSheet','presentation','SheetDrawingAnchor','bottom-icon','#1a73e8','resolveShapeTextDocumentRenderLayout','localToWorld','_commandExecutedListener','_registerIcons','fillType','SHEET_VIEWPORT_KEY','isDrawingObject','ShapeTextFloatMenuRenderControllerBase','parse','_sheetInterceptorService','_handleConnectedEndpointPointerUp','getConnectionRelation','UniverDocsUIPlugin','setPrstGeom','getSelectedObjectMap','getFocusDrawings','initShapePopupMenu','clip','32937663KpdZun','refreshFormulaPresentation','resolveShapeTextEditorBehaviorShapeData','onerror','IPermissionService','_isStartAdjusting','getUnitId','ShapeLineTypeEnum','restore','_registerOperations','5517790WvMesA','getCurrentScrollState','observe','cxnIndex','clear','params','TopmostIcon','useDependency','InsertShapeCommand','sheets-shape-ui.shape-format.formula-ribbon-control','DrawingTypeEnum','activateDrawingObject','bindRenderTransformerLifecycle','ShapePickerDropdown','_baseShapeTop','RibbonInsertGroup','_getConnectionSiteAngle','default','StraightConnector1','_completionFrame','_handleConnectedEndpointMove','sheet.operation.open-shape-object-list-panel','close','ShapeFormatSettingIcon','setContextValue','shouldClipShapeTextDocument','addObject','generateRandomId','canvas','@univerjs/docs','ShapeTextEditorContainer','SheetScrollManagerService','drawFormulaShapeAnimationLayers','horizontal','isEditing','_props','shapeModel','_drawShapeText','preValue','toStringTag','_initSheetChange','7298916MDEbZJ','@univerjs/sheets-drawing-ui','originalStrokeWidth','baseVal','end','IUndoRedoService','getCurrentUnitInfo','_urlImageService','#4285f4','onPointerDown$','sheets-shape-ui.flipVertical','featurePluginUpdateNotification','getObjectIncludeInGroup','_isHighlighted','SolidLine','_drawingAddListener','copyId','set','text','DependentOn','_lastEditingShapeKey','_sidebarService','isolated','_renderWithCache','_getImagePrstGeom','endArrow','M10.2\x208H11.8','_sheetShapeAdjustController','UniverUi','_registerFeatureMenu','M4.2\x205.5H10.5','sheets-shape-ui.title','TOP','DrawingImageClipService','useObservable','_config','shape-editor-ui.arrange.front','_closeShapeEditPanel','_shapeEditPanelVersion','setPrstGeomAdjValues','ancestorTransform','src','Plugin','_clearShapeConnectorHandlerObjects','amd','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','onReady','getStartConnectInfo','shape-adjust-point-','UniverSheetsDrawingUIPlugin','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','_hasReset','sheetTransform','_adjHandlerPointerUp','_iconManager','Transform','sectionFloating','_getShapeInfo','@univerjs/engine-render','vertical-center','ICommandService','sheets-shape-ui.config','_highlightedSiteIndex','interceptCommand','cos','UniverCore','updateConnectionDetection','selectable','_sheetClipboardService','_editingParams$','univer-box-border\x20univer-px-4\x20univer-text-sm','element','touchDependencies','_activeShapeId','DEFAULT_PASTE','_focusedDrawings','_shapeTextEditingService','IRenderManagerService','get','SHAPE','doc','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','getImageSourceCache','_initMenu','clearAdjustControls','has','2255730cHPHjl','_initEditingParams','4753jXkzKs','_adjName','viewportScrollX','evenodd','sheet.menu.shape.flip-vertical','react','FromArray','WorkbookEditablePermission','_shapeService','prototype','_registerGroupFeaturePasteHook','_groupCopyPasteController','_activeShapeAdjustPointList','start','SHAPE_CHANGE_PICKER_COMPONENT','getObject','flip-vertical-icon','M2.6\x203.3L6.2\x208L2.6\x2012.7V3.3Z','ShapeIcon','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','parent','getDrawingPoints','classType','DisposableCollection','RIBBON','IRibbonService','_sheetPrintInterceptorService','cxnPointStroke','shapeData','_registerDrawingMoveHandler','getBatchAddOp','_connectionSiteObjects','call','useImperativeHandle','getSkeletonParam','M8\x2010.2V11.8'];_0x3b99=function(){return _0x3472d1;};return _0x3b99();}
|
|
1
|
+
function _0x49ca(_0x189bfc,_0x312eb8){_0x189bfc=_0x189bfc-0x199;const _0x300a63=_0x300a();let _0x49caf1=_0x300a63[_0x189bfc];return _0x49caf1;}function _0x300a(){const _0x1da732=['_initPrinting','memo','canvasElement','IContextService','object-layers-icon','onDblclick$','_calculateFreeEndpointAngle','point','FOCUSING_COMMON_DRAWINGS','worldRect','getShapeModel','ShapeFloatingToolbarService','isDrawingObject','colorChannel1','unitId','color','_drawRichTextLayer','hideContextualTab','DrawingImageClipService','UniverProShapeEditor','_addShapeConnectorHandlerObject','RemoveSheetDrawingCommand','drawing-ui.objectListPanel.filterLocked','SELECTOR','MEDIA','string','_contextService','registerRenderModule','includes','_registerDrawingMoveHandler','sheets-shape-ui.ribbon.shape-format.style-control','_initEditingParams','getDrawingData','focus$','UniverSheetsShapeUIPlugin','@univerjs-pro/shape-editor','transformToDrawingPosition','DependentOn','UniverSheetsDrawing','getZoomRatio','0\x200\x2017\x2016','intercept','ImageSourceTypeEnum','blockExecuteWithoutPermission','visible','from','drawing-ui.objectListPanel.show','merge','style','DocInterceptorService','FlipHorizontalIcon','UUID','subscribeEvent','sheet.shape.floating-toolbar','React','sheet.operation.apply-shape-quick-style','srcRect','drawing-ui.objectListPanel.dragToReorder','drawing-ui.objectListPanel.lockAll','_visible','registerCommand','mode','routeConnectorLineShape','_resetState','resolveShapeTextEditorBehaviorShapeData','trim','viewBound','backward','ShapeTextEditorContainer','OPERATION','UniverRenderEnginePlugin','_clearFocusedShape','UpdateConnectorRelationCommand','_groupCopyPasteController','getState','_disposePopups','_loadAndSetImage','registerFeatureMenu','_initEvents','permissionCheckWithoutRange','EMPTY','MenuItemType','UPDATE','shouldAllowShapeTextEditorHostSizeShrink','_menuManagerService','changing$','_handleConnectorPointerUp','shape-editor-ui.toolbar.quickStyles','#1a73e8','shape-text-','attachRangeWithCoord','PRINTING_COMPONENT_COLLECT','name','url(#$1','_permissionService','engine','getConnectionSiteList','DocEventManagerService','top','@univerjs/design','changeStart$','IURLImageService','_localeService','getParent','onPointerUp$','setContextValue','div','@univerjs/core','_drawSimpleText','_initCommands','SheetPrintInterceptorService','ShapeFormulaRibbonControl','sheets-shape-ui.objectListPanel.open','_index','error','onCommandExecuted','FloatingObjectToolbarPosition','sheet.shape.object-list.panel','WorkbookEditablePermission','PaintIcon','transform','target','OBJECT_LIST_FLOATING_SECTION_ID','remove$','_clearControls','objects','_sheetsShapeService','normal','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','wrapStrategy','_getOrCreateShapeModel','isRenderLinePointsMode','discreteRangeToRange','showContextualTab','offsetX','sheets-shape-ui.formatShape','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','_disposed','SolidLine','_shapeTextEditingService','contentHeight','getCanvasElement','dispose','20GgJAgJ','LEFT','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','registerClipDelegate','priority','multiply','_initialize','COMMAND','UniverLicensePlugin','HorizontalAlign','UniverProSheetsShape','drawing.operation.set-drawing-active','RemoveSheetsShapeMutation','UniverSheetsShapePlugin','indexOf','_baseShapeTop','panel','_executeResizeCommand','clearAdjustValue','isFinite','_cxtHandlerPointerUp','cxnPointFill','getCurrentUnitInfo','SHAPE_CHANGE_PICKER_COMPONENT','UniverShapeEditorMobileUIPlugin','editingParams$','skeleton','isInGroup','ShapeFormatSettingIcon','ShapeArrowSizeEnum','WorksheetEditPermission','M8\x2010.2V11.8','back','symbol','_executeConnectedRouteResizeCommand','getBatchUpdateOp','getObjectListPanelSectionIdForDrawingType','disposeWithMe','M8\x2014V14.2','onload','_targetShapeId','_drawingAddListener','order','sheets-shape-ui.ribbon.shape-format.arrange-forward','register','M13.4\x203.3L9.8\x208L13.4\x2012.7V3.3Z','selectable','isHighlighted','getSkeleton','_getZoomRatio','removeAttribute','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','UniverDocsUi','sheetTransform','DRAWING','_handleConnectedEndpointPointerUp','SheetsSelectionsService','copyType','update$','iterator','popup','drawing-ui.objectListPanel.locate','transformForAngle','ShapeFloatingToolbarToggleFactory','appliedStrokeWidth','_sheetClipboardService','setShapeProps','getEndConnectInfo','shapeData','fillImageSourceType','ancestorTransform','ISidebarService','ShapeDefaultConfig','_unitId','@univerjs-pro/license','IDrawingManagerService','bottom-icon','drawing-ui.objectListPanel.name','_isImagePointerDown','value','permissionPointUpdate$','getSkeletonParam','computeConnectorResizeLayout','SHAPE_TEXT','FOCUSING_SHAPE_TEXT_EDITOR','DRAWING_OBJECT_LAYER_INDEX','#FFFFFF','drawing-ui.objectListPanel.title','VIEW_MAIN_LEFT','image','getDrawingDataForUnit','_sheetDrawingService','Shape','switchMap','scene','react/jsx-runtime','viewBox','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','sheets-shape-ui.editShape','horizontal','_isDrawingShapePointDown','computeConnectorRouteLayout','_activeTargetShapeId','_subUnitId','attrs','UniverIcon','preValue','with','getBatchAddOp','sheets-shape-ui.shape-format.quick-style-gallery','defineProperty','registerDependencies','390288ubFxjM','updateConnectionDetection','idSuffix','None','getPropertyPriority','attachPopupToObject','flipX','calcAdjValues','getDrawingEffectBounds','_activeAdjustPointList','_shapeUpdateListener','isReleased','MoveUpIcon','UniverSheetsDrawingUi','_canEdit','_formulaAnimation','reverse','useFormulaShapeToolbar','_init','_config','_executeConnectedRouteConnectionCommand','_shapeFormulaService','getInterceptPoints','_componentManager','getObjectIncludeInGroup','drawing-ui.objectListPanel.details','resolveFormulaShapeAutoFitSize','getActiveSheet','animateFormulaPresentation','_registerGroupFeaturePasteHook','getDrawingShapeKeyByDrawingSearch','activeSheet$','_clipService','pluginName','getEditing','UniverDocs','amd','drawing-ui.objectListPanel.moveBackward','disableObjectsEvent','_insertingShapeKeys','beginPath','add$','drawWith','hidden','sheets-shape-ui.ribbon.shape-format.arrange-backward','ShapeQuickStyleGallery','getConnectionInfo','getSelectedObjectMap','_renderManagerService','useId','ShapeStyleRibbonControl','_clearConnectionSites','_getImageDrawingInfo','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','shape-editor-ui.arrange.backward','_openShapeEditPanel','prototype','getObject','pick','close','SHAPE_EDITOR_TRANSFORMER_CONFIG','DrawingApplyType','SheetSkeletonService','setPresentation','isEditing','ShapeGroupEnum','isHit','resolveShapeTextEditorWrapStrategy','setCanUseShapeClip','FromArray','_commandService','@univerjs/ui','_sheetCanvasPopManagerService','18HEfAwY','shape-editor-ui.toolbar.changeShape','getSheetBySheetId','drawing-ui.objectListPanel.noSelection','type','_drawShapeText','drawing-ui.objectListPanel.typeNames.','getDrawingPoints','UndoRedoGroupService','marginTop','_urlImageService','createShapeFormulaDocument','viewportScrollY','removeLinePoints','M3.3\x202.6L8\x206.2L12.7\x202.6H3.3Z','sheets-shape-ui.ribbon.shape-format.formula-control','_sheetDrawingShapeRenderController','_drawRichText','_currentScene','parent','getDrawingVisible','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','start','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','focusDrawing','fillType','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','_isStartAdjusting','_getConnectionSiteAngle','clearAdjustControls','useImperativeHandle','localToWorld','cos','updateContext','UniverDocsUIPlugin','drawing-ui.objectListPanel.hide','presentation','sheet.command.update-shape-data','canvas','rect','ShapeIcon','_editingParams$','delete','setConfig','_activeAdjustInfo','PREDEFINED_HOOK_NAME','154745tRXVFF','title','VIEW_MAIN_TOP','onerror','shape-editor-ui.arrange.back','_getScrollInfo','ICommandService','getMenuHiddenObservable','oKey','@univerjs-pro/sheets-shape-ui','_formulaKey','_initPermission','find','complete','@univerjs/docs','clipByShape','DRAWING_IMAGE','drawing-ui.objectListPanel.description','Line','sin','onPointerMove$','_currentConnectionTarget','description','defs','BUTTON','getShapeData','react','getActualSize','UniverInstanceType','_rerouteConnectorLine','Large','replace','restore','ShapeTypeEnum','getAutoFitPresentations','SetDrawingApplyMutation','flipY','stringify','height','element','addObject','initShapePopupMenu','shapeKey','_connectionSiteObjects','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','M6.2\x208H7.8','relation','save','entries','_releaseRenderCache','ShapePickerPanel','undo','shapeId','_shapeService','UniverEngineRender','_registerOperations','M8\x202.2V3.8','getTransformerByCreate','getShapeDataById','SheetSkeletonManagerService','getDrawingOrder','isHitLine','@univerjs/engine-render','getShapeQuickStylePreset','_closeShapeEditPanel','resetCursor','ComponentManager','_createCopyInfoByRange','create','parseFloat','DRAWING_SHAPE','reduce','_completionFrame','length','URL','Vector2','IConfigService','_transform','push','Transform','getDrawingTypeNameKey','isLineShape','_findNearestConnectionSite','_hide','setFallbackVisible','drawing-ui.objectListPanel.unlock','_clearPopups','originalStrokeWidth','UniverProLicense','src','UniverProSheetsShapeUi','sheets-shape-ui.ribbon.shape-format.arrange-front','extraProps','getScene','Rect','getImageSourceCache','lineShapeId','RibbonInsertGroup','_sheetBasicShapeConnectionPointController','render','isConnectorShape','sheet.operation.open-mobile-shape-editor','ArrangeTypeEnum','featurePluginUpdateNotification','UniverSheetsDrawingMobileUIPlugin','@univerjs/sheets-drawing','Circle','sheet.command.menu-insert-shape','sectionFloating','lineType','adjHandleSize','_baseHeight','sheets-shape-ui.title','disableShapeOption','drawing-ui.objectListPanel.unlockAll','toDisposable','getTransformer','_shapeRenderController','BehaviorSubject','_sheetPrintInterceptorService','forEach','left','path','VIEW_MAIN','2172222XnDyLp','prepareShapeTextDocumentData','params','completeEditing','_injector','formulaPresentation','_renderWithCache','getCurrentUnitOfType','MobileShapeEditorService','none','ObjectLayersIcon','_draw','_clearShapeConnectorHandlerObjects','ShapeFloatingToolbar','_applyFormulaAutoFitSize','createElement','ShapeRenderModeEnum','currentAdjustValues','CROSSHAIR','jsxs','cancelEditing','abs','currentColor','getUnit','drawingId','disconnect','#4285f4','cxnPointStroke','prstGeomAdjValues','translateWithPrecision','onSteady','getContextValue','0\x200\x2016\x2016','DocumentViewModel','TopmostIcon','_getShapeAdjustPointListById','non-scaling-stroke','MoveDownIcon','CommandType','drawing-ui.objectListPanel.unlockHint','_handleConnectedEndpointMove','_cxtHandlerPointerMove','sheet.menu.shape.flip-vertical','formulaBinding','topmost-icon','DEFAULT_PASTE','cxnPointStrokeWidth','getSheetId','sheets-shape-ui.objectListPanel.title','DocumentSkeleton','1082147GIxzdP','getMatrix','presentationChanged$','ShapeLineTypeEnum','text','clone','getCurrentRangeDisable$','getValue','targetShapeId','@univerjs/drawing','RENDER_CLASS_TYPE','_shapeEditPanelVersion','localName','ShapeTextHyperLinkPopupService','forward','UniverDrawingPlugin','sheets-shape-ui.deleteShape','useRef','clearActiveDrawingObjects','adjustValues','univer-box-border\x20univer-px-4\x20univer-text-sm','_activeShapeId','drawing-ui.objectListPanel.sectionFloating','_addShapeConnectorHandlerObjects','UniverCore','GROUP','resolveShapeContextualRibbonHostMode','updateDocumentDataMargin','@univerjs-pro/sheets-shape','sheets-shape-ui.config','_getShapeInfo','onReady','ShapeTextFloatMenuRenderControllerBase','redo','registerShapeFormatPainter','getCurrentScrollState','INSERT','_ribbonService','Observable','getBoundingClientRect','Disposable','renderDrawingShape','_updateAdjustControlPositions','applyPoint','setFillImage','drawing-ui.objectListPanel.lock','UniverSheetsShapeMobileUIPlugin','stroke','_lastEditingShapeKey','_drawingManagerService','M2.2\x208H3.8','_sheetSkeletonService','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','isRichText','createControl$','_registerImageShapeClipDelegate','drawing-ui.objectListPanel.expand','querySelectorAll','_sidebarDisposable','isRender','shapeText','onRendered','sheet.operation.open-sheet-shape-format-panel','dataModel','BottomIcon','REMOVE','_baseShapeHeight','extensionGroups','jsx','_adjHandlerPointerUp','shape-format-setting-icon','classType','setProperty','_executeConnectionCommand','refreshAdjustControls','ShapePickerDropdown','ObjectListPanelBase','deriveStateFromActiveSheet$','mask','toStringTag','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','sheets-shape-ui.permission.editErr','getTextModel','getCurrentLastSelection','_handleFreeEndpointPointerUp','_registerIcons','getShapeTypeById','setPrstGeom','InsertSheetsShapeMutation','presetId','touchDependencies','_insertShapes','getCurrentSkeleton','transformByState','ShapeTextRibbonControl','copyId','_drawingRenderService','getSheetCommandTarget','RIBBON','pipe','size','getFocusedUnit','pushUndoRedo','FormatPainterSessionService','UniverShapeEditorPlugin','fontSize','cxnIndex','sheet.shape.picker.component','bottom','sheet.operation.update-shape-type','getShapeTextData','UNIVER_SHEET','getRealBound','sheets-shape-ui.shape-format.formula-ribbon-control','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','_registerFeatureMenu','setFormulaPresentation','UniverDesign','sheets-shape-ui','axisAlignSheetTransform','_updateShapeAdjustControls','DrawingRenderService','DrawingTypeEnum','_adjName','_activeShapeModel','adjName','onPointerDown$','_context','_showConnectionSites','parse','sheets-shape-ui.shape-format.text-ribbon-control','_isOpenedShapeEditPanel','_isStartConnectorPoint','setAdjustValueByName','MobileObjectListPanel','_imageIoService','UniverSheetsMobileUIPlugin','sheet.image-clip.shape-picker.component','unsubscribe','UpdateSheetsShapeDataMutation','ShapeModel','hadStyleAttribute','isHorizontal','_handleFreeEndpointMove','refreshFormulaPresentation','_updateImageAdjValues','DocRenderController','min','FlipVerticalIcon','sheets-shape-ui.shape-format.style-ribbon-control','endArrow','sheets-shape-ui.flipVertical','getConnectorLinePoints','univerjs-icon\x20univerjs-icon-','addImageSourceCache','Fragment','constructor','_shapeId','_updateSrcRectByTransform','drawing-ui.objectListPanel.lockHint','enableObjectsEvent','strokeWidth','drawing-ui.objectListPanel.close','OTHERS','getImage','_currentUniverService','UniverDocsPlugin','_initSelection','subUnitId','@univerjs/sheets-ui','DocCanvasPopManagerService','getPermissionPoint','front','onSavingEditorData$','_generatePasteMutations','SHEET_SHAPE_UI_PLUGIN','set','drawFormulaShapeAnimationLayers','useObservable','IUndoRedoService','drawing-ui.objectListPanel.filterAll','values','http://www.w3.org/2000/svg','IUniverInstanceService','function','_shapes','getUnitType','computeStraightConnectorLayout','contentVerticalOffset','_cxnIndex','ToggleSheetsShapeFlipCommand','applyQuickStyleToShapeData','keys','prstGeom','SheetCanvasPopManagerService','cloneShapeDataForType','useMemo','_initSheetChange','SheetsDrawingGroupCopyPasteController','_getSceneAndTransformerByDrawingSearch','setShapeData','activeAnObject','_handleBasicShapeUpdateConnectorLineShape','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','isMainScene','ContextMenuGroup','version','endConnectionDetection','_createControls','getStartConnectInfo','startArrow','_univerInstanceService','createInternalEditorID','setPrstGeomAdjValues','syncExecuteCommand','ShapeFillEnum','next','_clearShapeAdjustControls','2632945NJWTSg','updateShapeFillImage','sheets-shape-ui.flipHorizontal','UniverSheets','_attachAdjustEvent','drawing-ui.objectListPanel.collapse','_activeShapeAdjustPointList','stroke-width','LocaleService','UniverSheetsPlugin','_isShouldShowDrawingShapeAdjust','_baseLeft','interceptor','Image','getUnitId','_baseWidth','asObservable','_loadShapePictureFill','_getShapeAdjustInfosById','SetDrawingArrangeCommand','CopySheetCommand','viewportScrollX','_addShapeAdjustControl','generateRandomId','SheetScrollManagerService','UniverMobileUIPlugin','_generateCutPasteMutations','sheets-shape-ui.ribbon.shape-format.text-control','ang','_copyInfo','sheets-shape-ui.quickStyles','M14\x208H14.2','ConnectorCoordinateTransform','onTransformChange$','_highlightedSiteIndex','subscribe','@univerjs-pro/shape-editor-ui','getShapeQuickStyleType','fillImageSource','setOnSavingEditorData','_update','_registerFocusChangeHandler','sectionCanvas','angle','getDrawingByParam','transformToAxisAlignPosition','drawingType','getDrawingOKey','getPresentation','1.0.1','ShapeArrowTypeEnum','_baseTop','sheets-shape-text-','attachTransformerTo','worldPoint','run','clip','UniverDrawingUIPlugin','changeEnd$','Path','clip-adj-','sheetViewStartRow','displayName','fromChangeset','useDependency','unregister','Module','SetDrawingSelectedOperation','open','some','sheet.shape.edit.panel','_popupMenuListener','Medium','scale','COPY_TYPE','IPermissionService','plainShapeTextToDocumentData','IRenderManagerService','get','fill','toFixed','DocSelectionRenderService','@univerjs/drawing-ui','IconManager','_createShapeAdjustControls','M4.2\x208.3H6.8','getBasicShapeRotateBound','_isConnecting','_formulaShapes','146376FEbGwq','stopPropagation','changeShapeType','index','vertical-center','shape-editor-ui.arrange.front','getShapeTextRect','drawing-ui.objectListPanel.sectionCanvas','ContextMenuPosition','sheet.shape.text.float-menu','75vZKOry','_reset','resolveActiveShapeQuickStylePresetId','_shapePopupMenuDisposable','SheetsShapeUIMenuSchema','_onSavingEditorData$','setSrcRect','_getConnectPointInfo','_registerMoveHandler','getAdjustValueByName','_registerDrawingFocusChangeHandler','SheetPermissionCheckController','executeCommand','filter','drawing-ui.objectListPanel.descriptionPlaceholder','_baseShapeWidth','_activeImageId','ShapeFormulaService','sheets-shape-ui.imagePanel.crop.shape','updateLinePoints','Arrow','_clearCompletionFrame','ISheetClipboardService','_baseDrawingRect','assign','_draggingConnectorId','makeDirty','sheetViewStartColumn','getCurrentTypeOfUnit$','width','_sheetPermissionCheckController','custom','move-down-icon','shapeType','vertical','_getDrawingRect','setHighlighted','_sheetInterceptorService','isolated','SheetsShapeService','_findShapeAtPoint','startX','DisposableCollection','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','shapeModel','_attachConnectorObjectEvent','_transformCalculateSrcRect','add','composeMatrix','_adjHandlerPointerMove','_registerComponents','_commandExecutedListener','map','startConnectionDetection','_updateTransform','svg','UpdateLineShapeResizeCommand','getBatchRemoveOp','ISheetDrawingService','normalizeShapeTextModel','fontFamily','_props','shouldClipShapeTextDocument','toPrimitive','Inject','M2.6\x203.3L6.2\x208L2.6\x2012.7V3.3Z','useState','data','connection-site-','getAdjustNames','_iconManager','TOP','children','bindRenderTransformerLifecycle','_moveConnectorWithShape','evenodd','Documents','UniverProShapeEditorUi','shape-adjust-point-','getRenderUnitById','invert','SHEET_VIEWPORT_KEY','@univerjs/sheets-drawing-ui','clear','UniverDrawing','setShouldShowAdjust','setCursor','7778LAOnyx','ShapeEditPanel','has','1em','clipTop','round','_getImagePrstGeom','_hasReset','packageName','DocSelectionManagerService','getDrawingEditable','rotation','buildClipPath','DrawingCommonPanel','getAdjustInfoByName','flip-horizontal-icon','SetSheetDrawingCommand','sheets-shape-ui.ribbon.shape-format','cxnPointRadius','end','buildShapeTextDataUpdate','UNIVER_DOC','object','forwardRef','offsetY','70cssdkJ','getBasicShapeRelation','_sheetShapeAdjustController','resourceCollector','setEditing','mergeMenu','CURSOR_TYPE','_initMenu','addClipboardHook','adjHandleStroke','startY','_isHighlighted','use','_focusedDrawings','refreshShapeFillImage','_drawingType','VIEW_MAIN_LEFT_TOP','VerticalAlign','_activeShapeInfo','exports','doc','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','getShapeType','drawing-ui.objectListPanel.hideAll','PictureFill','current','isStartConnectorPoint','_configService','getDrawingSearch','SHEET','Injector','IMenuManagerService','getPropertyValue','baseVal','call','getFocusDrawings','_sidebarService','_baseShapeLeft','Plugin','tag','decorate','flatMap','_connectorObjects'];_0x300a=function(){return _0x1da732;};return _0x300a();}(function(_0x22e21d,_0x4149a0){const _0x54e171=_0x49ca,_0x21f4e6=_0x22e21d();while(!![]){try{const _0x3c0787=-parseInt(_0x54e171(0x1c9))/0x1+-parseInt(_0x54e171(0x40b))/0x2*(-parseInt(_0x54e171(0x3b4))/0x3)+parseInt(_0x54e171(0x54e))/0x4*(-parseInt(_0x54e171(0x4de))/0x5)+-parseInt(_0x54e171(0x245))/0x6+parseInt(_0x54e171(0x351))/0x7+-parseInt(_0x54e171(0x3aa))/0x8*(-parseInt(_0x54e171(0x19b))/0x9)+parseInt(_0x54e171(0x424))/0xa*(parseInt(_0x54e171(0x277))/0xb);if(_0x3c0787===_0x4149a0)break;else _0x21f4e6['push'](_0x21f4e6['shift']());}catch(_0x4ff6b8){_0x21f4e6['push'](_0x21f4e6['shift']());}}}(_0x300a,0x472c3),function(_0x24fbfb,_0x5e78f4){const _0x23ad47=_0x49ca;typeof exports==_0x23ad47(0x421)&&typeof module<'u'?_0x5e78f4(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=='function'&&define[_0x23ad47(0x572)]?define([_0x23ad47(0x437),_0x23ad47(0x375),_0x23ad47(0x199),'@univerjs-pro/engine-shape',_0x23ad47(0x472),_0x23ad47(0x293),_0x23ad47(0x4ba),'@univerjs/sheets',_0x23ad47(0x280),_0x23ad47(0x207),_0x23ad47(0x320),'rxjs',_0x23ad47(0x3a3),_0x23ad47(0x4b2),_0x23ad47(0x53d),_0x23ad47(0x232),_0x23ad47(0x528),_0x23ad47(0x1d7),'@univerjs/docs-ui',_0x23ad47(0x406),_0x23ad47(0x1e3)],_0x5e78f4):(_0x24fbfb=typeof globalThis<'u'?globalThis:_0x24fbfb||self,_0x5e78f4(_0x24fbfb[_0x23ad47(0x223)]={},_0x24fbfb[_0x23ad47(0x401)],_0x24fbfb['UniverUi'],_0x24fbfb['UniverProEngineShape'],_0x24fbfb[_0x23ad47(0x462)],_0x24fbfb[_0x23ad47(0x4e8)],_0x24fbfb[_0x23ad47(0x28f)],_0x24fbfb[_0x23ad47(0x354)],_0x24fbfb[_0x23ad47(0x408)],_0x24fbfb[_0x23ad47(0x1ff)],_0x24fbfb['UniverSheetsUi'],_0x24fbfb['rxjs'],_0x24fbfb['UniverDrawingUi'],_0x24fbfb[_0x23ad47(0x2ec)],_0x24fbfb[_0x23ad47(0x485)],_0x24fbfb[_0x23ad47(0x475)],_0x24fbfb[_0x23ad47(0x221)],_0x24fbfb[_0x23ad47(0x571)],_0x24fbfb[_0x23ad47(0x512)],_0x24fbfb[_0x23ad47(0x55b)],_0x24fbfb['React']));}(this,function(_0x389d98,_0x54a51b,_0x5744c6,_0x34f551,_0x42b73e,_0x239f56,_0x567e1d,_0x11447f,_0x36b4c7,_0x3e5eae,_0x17eed7,_0x1d246a,_0x44d5e4,_0x41b81b,_0x1a5094,_0x1f8323,_0x2b0b35,_0x4d3fb2,_0x36809f,_0x2ea516,_0x58a2d5){const _0x718440=_0x49ca;Object[_0x718440(0x54c)](_0x389d98,Symbol[_0x718440(0x2c6)],{'value':_0x718440(0x393)});function _0x7e0c6a(_0x36e5ca,_0x36658c){const _0x4ab5fe=_0x718440;let _0x28f561={};for(let _0x532d45 of Object[_0x4ab5fe(0x337)](_0x36658c)){let _0x590911=_0x36658c[_0x532d45],_0xba3c60=_0x36e5ca[_0x532d45];if(_0xba3c60===void 0x0){_0x28f561[_0x532d45]=void 0x0;continue;}_0x28f561[_0x532d45]=typeof _0x590911==_0x4ab5fe(0x421)&&_0x590911&&!Array['isArray'](_0x590911)&&typeof _0xba3c60==_0x4ab5fe(0x421)&&_0xba3c60&&!Array['isArray'](_0xba3c60)?_0x7e0c6a(_0xba3c60,_0x590911):_0xba3c60;}return _0x28f561;}let _0x1f4f18={'type':_0x567e1d[_0x718440(0x26b)]['COMMAND'],'id':_0x718440(0x1c0),'handler':(_0x4514b7,_0x5f4d8f)=>{const _0x2bd364=_0x718440;let _0x31d4ad=_0x4514b7[_0x2bd364(0x39f)](_0x239f56['SheetsShapeService']),{unitId:_0x90f963,subUnitId:_0x4ebfb0,shapeType:_0x1b0298,shapeId:_0x429406,shapeData:_0x20fd54,replaceShapeData:_0x2bb471,oldShapeJSON:_0x1444c1}=_0x5f4d8f;if(!_0x31d4ad[_0x2bd364(0x459)](_0x90f963,_0x4ebfb0,_0x429406))return!0x1;let _0x301788=_0x4514b7[_0x2bd364(0x39f)](_0x567e1d[_0x2bd364(0x1cf)]),_0x1af615=_0x4514b7[_0x2bd364(0x39f)](_0x567e1d[_0x2bd364(0x32a)]),{oldShapeType:_0x2a8723,oldShapeData:_0x50f6ea={}}=_0x1444c1,_0x46038d=_0x2bb471?_0x50f6ea:_0x7e0c6a(_0x50f6ea,_0x20fd54||{}),_0x90cbda={'id':_0x239f56[_0x2bd364(0x302)]['id'],'params':{'unitId':_0x90f963,'subUnitId':_0x4ebfb0,'shapeId':_0x429406,'shapeType':_0x1b0298,'shapeData':_0x20fd54,'replace':_0x2bb471}},_0x46cfb7={'id':_0x239f56[_0x2bd364(0x302)]['id'],'params':{'unitId':_0x90f963,'subUnitId':_0x4ebfb0,'shapeId':_0x429406,'shapeType':_0x2a8723,'shapeData':_0x46038d,'replace':_0x2bb471}};return _0x301788['syncExecuteCommand'](_0x90cbda['id'],_0x90cbda[_0x2bd364(0x247)])?(_0x1af615[_0x2bd364(0x2dd)]({'unitID':_0x90f963,'undoMutations':[_0x46cfb7],'redoMutations':[_0x90cbda]}),!0x0):!0x1;}};function _0x322a2b(_0x13da3c,_0x45e8a0,_0x34536f,_0x38b556,_0x4dd3e6,_0x26cd80){const _0x46a142=_0x718440;let _0x41f000={'unitId':_0x45e8a0,'subUnitId':_0x34536f,'shapeId':_0x38b556,'shapeData':_0x26cd80,'oldShapeJSON':_0x4dd3e6};return _0x13da3c[_0x46a142(0x3c0)](_0x1f4f18['id'],_0x41f000);}function _0x435eb2(_0x5330c6,_0x5bbc49,_0x54c070,_0x4a5e2c,_0x789deb,_0x5c6492){let _0x14f58a={'unitId':_0x5bbc49,'subUnitId':_0x54c070,'shapeId':_0x4a5e2c,'shapeData':_0x5c6492,'oldShapeJSON':_0x789deb};return _0x5330c6['executeCommand'](_0x1f4f18['id'],_0x14f58a);}function _0x2d0497(_0x30d3ca){'@babel/helpers - typeof';const _0x3ba07a=_0x718440;return _0x2d0497=typeof Symbol=='function'&&typeof Symbol[_0x3ba07a(0x519)]==_0x3ba07a(0x4ff)?function(_0x2fcce7){return typeof _0x2fcce7;}:function(_0x2a2bd3){const _0x12fb5b=_0x3ba07a;return _0x2a2bd3&&typeof Symbol==_0x12fb5b(0x32f)&&_0x2a2bd3[_0x12fb5b(0x313)]===Symbol&&_0x2a2bd3!==Symbol[_0x12fb5b(0x586)]?_0x12fb5b(0x4ff):typeof _0x2a2bd3;},_0x2d0497(_0x30d3ca);}function _0x4d262e(_0x5251cd,_0x1e31cc){const _0x5345e9=_0x718440;if(_0x2d0497(_0x5251cd)!='object'||!_0x5251cd)return _0x5251cd;var _0xc4eb11=_0x5251cd[Symbol[_0x5345e9(0x3f3)]];if(_0xc4eb11!==void 0x0){var _0x2fa5a3=_0xc4eb11[_0x5345e9(0x446)](_0x5251cd,_0x1e31cc||'default');if(_0x2d0497(_0x2fa5a3)!='object')return _0x2fa5a3;throw TypeError(_0x5345e9(0x1f5));}return(_0x1e31cc===_0x5345e9(0x468)?String:Number)(_0x5251cd);}function _0x3187b2(_0x2f7f53){const _0x4851d3=_0x718440;var _0x3634ce=_0x4d262e(_0x2f7f53,_0x4851d3(0x468));return _0x2d0497(_0x3634ce)=='symbol'?_0x3634ce:_0x3634ce+'';}function _0x55cc91(_0x6ba21f,_0x523c90,_0x46cb56){const _0x5bd943=_0x718440;return(_0x523c90=_0x3187b2(_0x523c90))in _0x6ba21f?Object[_0x5bd943(0x54c)](_0x6ba21f,_0x523c90,{'value':_0x46cb56,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x6ba21f[_0x523c90]=_0x46cb56,_0x6ba21f;}function _0x21bee7(_0x7a9cc8,_0x2f5496,_0x250be1){const _0x23b014=_0x718440;let _0x43e6bd={..._0x2f5496,'dataModel':{..._0x2f5496[_0x23b014(0x2b6)]??{},..._0x250be1?{'doc':_0x250be1}:null}},_0xc62b80=(0x0,_0x54a51b[_0x23b014(0x48f)])(_0x7a9cc8,_0x43e6bd),_0x1f1b10=(0x0,_0x54a51b[_0x23b014(0x591)])(_0xc62b80);return{'clip':(0x0,_0x54a51b[_0x23b014(0x3f2)])(_0xc62b80,_0x1f1b10),'wrapStrategy':_0x1f1b10};}var _0x5b187c=class extends _0x3e5eae[_0x718440(0x53a)]{constructor(_0x4ab90d,_0x2845f8){const _0xfdd1c1=_0x718440;super(_0x4ab90d,_0x2845f8),_0x55cc91(this,'_props',void 0x0),_0x55cc91(this,_0xfdd1c1(0x55d),new _0x54a51b['FormulaShapeAnimationController'](()=>this['makeDirty'](!0x0),()=>this[_0xfdd1c1(0x253)]())),_0x55cc91(this,_0xfdd1c1(0x3e2),!0x0),_0x55cc91(this,_0xfdd1c1(0x433),_0x567e1d[_0xfdd1c1(0x2f1)][_0xfdd1c1(0x20f)]),_0x55cc91(this,_0xfdd1c1(0x45b),!0x0),this['_props']={..._0x2845f8},this['_formulaAnimation'][_0xfdd1c1(0x58d)](_0x2845f8['formulaPresentation'],_0x2845f8[_0xfdd1c1(0x56a)]!==!0x1),this['_init'](),this[_0xfdd1c1(0x253)]();}[_0x718440(0x560)](){const _0x288a3b=_0x718440;this[_0x288a3b(0x372)][_0x288a3b(0x483)](_0xce90ed=>{const _0x5ed578=_0x288a3b;this[_0x5ed578(0x315)](_0xce90ed);});}[_0x718440(0x2ce)](_0x1ea98c){const _0x4fcd5f=_0x718440;this['_props'][_0x4fcd5f(0x338)]=_0x1ea98c;}[_0x718440(0x428)](_0x221b27){const _0x36da86=_0x718440;this[_0x36da86(0x3f1)][_0x36da86(0x58e)]=_0x221b27,this[_0x36da86(0x3ce)](!0x0);}[_0x718440(0x2eb)](_0x3e6614,_0xf7bc32=!0x0){const _0x233143=_0x718440;this['_formulaAnimation'][_0x233143(0x58d)](_0x3e6614,_0xf7bc32),this['_props'][_0x233143(0x24a)]=_0x3e6614,this[_0x233143(0x253)](),this[_0x233143(0x3ce)](!0x0);}[_0x718440(0x253)](){const _0x465f93=_0x718440;let _0x1f3f5a=this[_0x465f93(0x3f1)][_0x465f93(0x3e0)],_0x368dbd=_0x1f3f5a[_0x465f93(0x2e5)](),_0x4ae7e0=(0x0,_0x54a51b[_0x465f93(0x3ef)])(_0x368dbd==null?void 0x0:_0x368dbd[_0x465f93(0x2b6)]),_0x2dcf15=_0x4ae7e0==null?void 0x0:_0x4ae7e0[_0x465f93(0x438)],_0x11b25b=this['_formulaAnimation'][_0x465f93(0x1eb)]();if(!_0x2dcf15||_0x11b25b[_0x465f93(0x212)]===0x0)return;_0x1f3f5a[_0x465f93(0x1bc)]({'width':this[_0x465f93(0x3d1)],'height':this['height']});let _0x4c51e9=(0x0,_0x54a51b[_0x465f93(0x568)])({'documentData':_0x11b25b[_0x465f93(0x3e8)](_0x231cc0=>(0x0,_0x42b73e['createShapeFormulaDocument'])(_0x2dcf15,_0x231cc0)),'height':this[_0x465f93(0x1ef)],'shapeData':_0x1f3f5a[_0x465f93(0x1e2)](),'textRect':_0x1f3f5a[_0x465f93(0x3b0)]({'left':0x0,'top':0x0,'width':this[_0x465f93(0x3d1)],'height':this[_0x465f93(0x1ef)]}),'width':this['width']});if(_0x4c51e9){var _0x5d9373;this['resize'](_0x4c51e9[_0x465f93(0x3d1)],_0x4c51e9[_0x465f93(0x1ef)]),(_0x5d9373=this[_0x465f93(0x226)]())==null||(_0x5d9373=_0x5d9373[_0x465f93(0x23d)]())==null||_0x5d9373['debounceRefreshControls']();}}get[_0x718440(0x45d)](){return this['_props']['unitId'];}get[_0x718440(0x31f)](){const _0x3ca9ba=_0x718440;return this[_0x3ca9ba(0x3f1)][_0x3ca9ba(0x31f)];}[_0x718440(0x315)](_0x4d3202){const _0x5d5252=_0x718440;if(this[_0x5d5252(0x3f1)]['srcRect']==null||!this[_0x5d5252(0x3e2)])return;let {width:_0x5a0185,height:_0x270afa}=this,{width:_0x1ca7f9=0x0,height:_0x12f4de=0x0}=_0x4d3202[_0x5d5252(0x548)],{left:_0x1c355b=0x0,top:_0x59030b=0x0,right:_0x458d40=0x0,bottom:_0x4276f7=0x0}=this[_0x5d5252(0x3f1)][_0x5d5252(0x487)],_0x281b17=_0x1c355b,_0x44063d=_0x59030b,_0x139079=_0x458d40,_0x469846=_0x4276f7,_0x263d8a=!0x1;if(_0x1ca7f9!==0x0&&_0x1ca7f9!==_0x5a0185){let _0x169e72=_0x1c355b/_0x1ca7f9,_0x21c12b=_0x458d40/_0x1ca7f9;_0x281b17=_0x5a0185*_0x169e72,_0x139079=_0x5a0185*_0x21c12b,_0x263d8a=!0x0;}if(_0x12f4de!==0x0&&_0x12f4de!==_0x270afa){let _0x598f3a=_0x59030b/_0x12f4de,_0x49f395=_0x4276f7/_0x12f4de;_0x44063d=_0x270afa*_0x598f3a,_0x469846=_0x270afa*_0x49f395,_0x263d8a=!0x0;}_0x263d8a&&this[_0x5d5252(0x3ba)]({'left':_0x281b17,'top':_0x44063d,'right':_0x139079,'bottom':_0x469846});}['setSrcRect'](_0x57d2f4){const _0x23b312=_0x718440;this[_0x23b312(0x3f1)]['srcRect']=_0x57d2f4,this[_0x23b312(0x3ce)](!0x0);}['setFillImage'](_0x8fa7a8){const _0x1ab0fd=_0x718440;this[_0x1ab0fd(0x3f1)]['image']=_0x8fa7a8,this[_0x1ab0fd(0x3ce)](!0x0);}set['transform'](_0x388c5a){const _0x34ebf5=_0x718440;this[_0x34ebf5(0x216)]=_0x388c5a;}get['transform'](){const _0x222423=_0x718440;this[_0x222423(0x216)]||this['_setTransForm']();let _0xd7a87d=this[_0x222423(0x216)][_0x222423(0x27c)]();return this[_0x222423(0x51c)](_0xd7a87d);}get[_0x718440(0x3e0)](){const _0x4e826b=_0x718440;return this[_0x4e826b(0x3f1)][_0x4e826b(0x3e0)];}get[_0x718440(0x1fd)](){const _0xdc1e0e=_0x718440;return this[_0xdc1e0e(0x3f1)][_0xdc1e0e(0x1fd)];}get[_0x718440(0x2be)](){const _0x5871d8=_0x718440;return _0x3e5eae[_0x5871d8(0x281)]['SHAPE'];}[_0x718440(0x250)](_0x3e2e3d,_0x9d9bd5,_0x261c34,_0x51a84b){const _0x3c973c=_0x718440;let _0x286529=this['_props'][_0x3c973c(0x3e0)];if(!_0x286529||!_0x9d9bd5)return;let _0x1ac161=_0x261c34??this[_0x3c973c(0x3d1)],_0x2083d3=_0x51a84b??this[_0x3c973c(0x1ef)],_0x325ecf={'shapeType':_0x286529['getShapeType'](),'width':_0x1ac161,'height':_0x2083d3},_0xb3a5e3={'renderMode':_0x34f551[_0x3c973c(0x255)][_0x3c973c(0x38c)],'oKey':this['oKey'],'image':this['_props'][_0x3c973c(0x537)],'angle':this['angle']};_0x286529[_0x3c973c(0x1bc)](_0x325ecf),_0x3e2e3d[_0x3c973c(0x1f8)]();let _0x373963={'top':0x0,'left':0x0,'width':_0x1ac161,'height':_0x2083d3},_0x146313=_0x286529[_0x3c973c(0x556)](_0x373963);_0x146313?this[_0x3c973c(0x24b)](_0x3e2e3d,_0x146313,_0x376de2=>{const _0x4a1b3d=_0x3c973c;_0x286529[_0x4a1b3d(0x22c)](_0x376de2,_0x373963,_0xb3a5e3);}):(this[_0x3c973c(0x1fa)](),_0x286529[_0x3c973c(0x22c)](_0x3e2e3d,_0x373963,_0xb3a5e3)),_0x3e2e3d['restore']();let _0x158d74=_0x286529[_0x3c973c(0x2e5)](),_0x5ed005=_0x286529[_0x3c973c(0x3b0)](_0x373963),_0x240287=_0x286529[_0x3c973c(0x21a)]();if(_0x158d74&&_0x5ed005&&!_0x240287){_0x3e2e3d[_0x3c973c(0x1f8)](),this[_0x3c973c(0x499)]()['flipX']&&_0x3e2e3d[_0x3c973c(0x39a)](-0x1,0x1);let _0xf2c24=_0x1ac161/0x2,_0x25deaf=_0x2083d3/0x2;_0x3e2e3d['translate'](-_0xf2c24,-_0x25deaf),_0x3e2e3d['beginPath'](),this[_0x3c973c(0x1a0)](_0x3e2e3d,_0x158d74,_0x5ed005),_0x3e2e3d[_0x3c973c(0x1e9)]();}}[_0x718440(0x1a2)](_0x1b5b53){}[_0x718440(0x1a0)](_0x103e4f,_0x4bdf45,_0x2145cf){const _0x26205d=_0x718440;var _0xebce85;this[_0x26205d(0x3f1)][_0x26205d(0x58e)]||(!((_0xebce85=_0x4bdf45['dataModel'])!=null&&_0xebce85[_0x26205d(0x438)])&&_0x26205d(0x2ac)in _0x4bdf45&&_0x4bdf45['isRichText']===!0x1?this[_0x26205d(0x4bb)](_0x103e4f,_0x4bdf45,_0x2145cf):this[_0x26205d(0x1ac)](_0x103e4f,_0x4bdf45,_0x2145cf));}[_0x718440(0x4bb)](_0x4cb74b,_0x202114,_0x51392){const _0x25ff3d=_0x718440;this['_drawRichText'](_0x4cb74b,{..._0x202114,'text':_0x202114[_0x25ff3d(0x27b)]??'','dataModel':{'doc':(0x0,_0x54a51b[_0x25ff3d(0x39d)])(_0x202114,_0x25ff3d(0x385)+this[_0x25ff3d(0x1d1)])}},_0x51392);}[_0x718440(0x1ac)](_0x4c24c3,_0x2f1c63,_0x3d0944){const _0x14551a=_0x718440;(0x0,_0x54a51b[_0x14551a(0x328)])(_0x4c24c3,this[_0x14551a(0x55d)],(_0x2319a2,_0x5ee82f)=>{this['_drawRichTextLayer'](_0x2319a2,_0x2f1c63,_0x3d0944,_0x5ee82f);});}[_0x718440(0x45f)](_0x46d94e,_0x3183ee,_0x7690f7,_0x237b04){const _0xe5be5=_0x718440;let _0x3ef342=this[_0xe5be5(0x3f1)]['localeService'];if(!_0x3183ee[_0xe5be5(0x2b6)]||!_0x3ef342)return;let _0x2c1e1d=(0x0,_0x54a51b[_0xe5be5(0x3ef)])(_0x3183ee['dataModel']);if(!_0x2c1e1d)return;let _0xa276fc=_0x2c1e1d[_0xe5be5(0x438)];if(!_0xa276fc)return;let _0x12e583=(0x0,_0x42b73e[_0xe5be5(0x1a6)])(_0xa276fc,_0x237b04),_0x6c58c6=_0x2c1e1d['va']??_0x567e1d['VerticalAlign'][_0xe5be5(0x3fb)],_0x42a6c4=_0x2c1e1d['ha']??_0x567e1d[_0xe5be5(0x4e7)]['LEFT'],_0x222b2a=_0x21bee7(this[_0xe5be5(0x3f1)][_0xe5be5(0x3e0)][_0xe5be5(0x1e2)](),_0x3183ee,_0x12e583),_0x38d22f=_0x3183ee[_0xe5be5(0x305)],_0x454fe0=(0x0,_0x54a51b[_0xe5be5(0x246)])(_0x12e583,{'isHorizontal':_0x38d22f!==!0x1,'textRect':_0x7690f7,'verticalAlign':_0x6c58c6,'horizontalAlign':_0x42a6c4,'wrapStrategy':_0x222b2a[_0xe5be5(0x4d0)]}),_0x306487=new _0x567e1d['DocumentDataModel'](_0x454fe0),_0x2fce93=new _0x3e5eae[(_0xe5be5(0x266))](_0x306487),_0x1607c1=_0x3e5eae[_0xe5be5(0x276)][_0xe5be5(0x20d)](_0x2fce93,_0x3ef342);_0x1607c1['calculate']();let _0x50d992=_0x1607c1[_0xe5be5(0x1e4)]()['actualHeight'],_0x2a392b=(0x0,_0x54a51b['resolveShapeTextDocumentRenderLayout'])({'contentHeight':_0x50d992,'verticalAlign':_0x6c58c6,'viewportHeight':_0x7690f7[_0xe5be5(0x1ef)]});_0x306487['updateDocumentStyle']({'pageSize':{'width':_0x38d22f===!0x1?_0x7690f7[_0xe5be5(0x1ef)]:_0x7690f7[_0xe5be5(0x3d1)],'height':(0x0,_0x54a51b['resolveShapeTextDocumentPageHeight'])(_0x12e583,_0x2a392b[_0xe5be5(0x4db)])}}),_0x306487[_0xe5be5(0x292)]({'t':_0x2a392b[_0xe5be5(0x1a4)]}),_0x1607c1['calculate']();let _0x566609=new _0x3e5eae[(_0xe5be5(0x400))](_0xe5be5(0x4a8)+this[_0xe5be5(0x1d1)],_0x1607c1,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0xe5be5(0x3ce)](!0x0)});_0x566609['resize'](_0x7690f7[_0xe5be5(0x3d1)],_0x2a392b[_0xe5be5(0x4db)]),_0x46d94e[_0xe5be5(0x1f8)](),_0x46d94e[_0xe5be5(0x262)](_0x7690f7['left'],_0x7690f7['top']),_0x222b2a['clip']&&(_0x46d94e[_0xe5be5(0x576)](),_0x46d94e[_0xe5be5(0x1c2)](0x0,_0x2a392b[_0xe5be5(0x40f)],_0x7690f7['width'],_0x2a392b['clipHeight']),_0x46d94e[_0xe5be5(0x389)]()),_0x2a392b['contentVerticalOffset']&&_0x46d94e[_0xe5be5(0x262)](0x0,_0x2a392b[_0xe5be5(0x333)]),_0x566609['draw'](_0x46d94e),_0x46d94e[_0xe5be5(0x1e9)](),_0x566609[_0xe5be5(0x4dd)](),_0x1607c1[_0xe5be5(0x4dd)](),_0x2fce93[_0xe5be5(0x4dd)](),_0x306487[_0xe5be5(0x4dd)]();}[_0x718440(0x22c)](_0x38de9a,_0x11b44c,_0xf2e58d=!0x1){const _0x16b8b1=_0x718440;if(!this[_0x16b8b1(0x47b)])return this['makeDirty'](!0x1),this;let {width:_0x5ca794,height:_0x415753,left:_0x2905c2,top:_0x44831a}=this,_0xfafeac=this[_0x16b8b1(0x2e7)]();if(_0x5ca794=_0xfafeac[_0x16b8b1(0x3d1)],_0x415753=_0xfafeac[_0x16b8b1(0x1ef)],_0x2905c2=_0xfafeac[_0x16b8b1(0x242)],_0x44831a=_0xfafeac[_0x16b8b1(0x4b1)],this[_0x16b8b1(0x2b2)](_0x11b44c)){let {top:_0x20821a,left:_0xe09c3f,bottom:_0x1bd9fc,right:_0x388ca}=_0x11b44c[_0x16b8b1(0x491)];if(_0x5ca794+this['strokeWidth']+_0x2905c2<_0xe09c3f||_0x388ca<_0x2905c2||_0x415753+this[_0x16b8b1(0x318)]+_0x44831a<_0x20821a||_0x1bd9fc<_0x44831a)return this;}let _0x3200c4=_0x2905c2+_0x5ca794/0x2,_0xa52876=_0x44831a+_0x415753/0x2,_0x180894=this['transform'][_0x16b8b1(0x278)]();if(this['_props'][_0x16b8b1(0x58e)]){let _0x3f4de9=this[_0x16b8b1(0x499)](),_0x14522d=new _0x3e5eae[(_0x16b8b1(0x218))]();_0x14522d[_0x16b8b1(0x3e4)]({..._0x3f4de9}),_0x180894=_0x14522d[_0x16b8b1(0x278)]();}return _0x38de9a[_0x16b8b1(0x1f8)](),this[_0x16b8b1(0x3f1)][_0x16b8b1(0x3e0)][_0x16b8b1(0x4d2)]===!0x0||_0x38de9a[_0x16b8b1(0x4c7)](_0x180894[0x0],_0x180894[0x1],_0x180894[0x2],_0x180894[0x3],_0x3200c4,_0xa52876),this[_0x16b8b1(0x250)](_0x38de9a,_0x11b44c,_0x5ca794,_0x415753),_0x38de9a[_0x16b8b1(0x1e9)](),this[_0x16b8b1(0x3ce)](!0x1),this;}['getInverseCoord'](_0x148e7e){const _0xa7161c=_0x718440;let {left:_0x2c8e63,top:_0xbbe582,width:_0x5df6e3,height:_0xc13458}=this['getRealBound'](),_0x183dc2=this[_0xa7161c(0x4c7)][_0xa7161c(0x278)](),_0x54da18=_0x2c8e63+_0x5df6e3/0x2,_0x3277b2=_0xbbe582+_0xc13458/0x2,_0x31990a=new _0x3e5eae[(_0xa7161c(0x218))]([_0x183dc2[0x0],_0x183dc2[0x1],_0x183dc2[0x2],_0x183dc2[0x3],_0x54da18,_0x3277b2]),_0x1be48a=this[_0xa7161c(0x4b6)]();return(this[_0xa7161c(0x4f9)]&&(_0x1be48a==null?void 0x0:_0x1be48a['classType'])===_0x3e5eae[_0xa7161c(0x281)]['GROUP']?_0x1be48a['ancestorTransform']['multiply'](_0x31990a):_0x31990a)[_0xa7161c(0x404)]()[_0xa7161c(0x2a2)](_0x148e7e);}[_0x718440(0x590)](_0x21a28c){const _0x3bb45a=_0x718440;let {left:_0x3f996d,top:_0x502b9d,width:_0x46e6c6,height:_0x10a9e1}=this[_0x3bb45a(0x2e7)](),_0x10eac4=_0x3f996d+_0x46e6c6/0x2,_0x1dc5c9=_0x502b9d+_0x10a9e1/0x2,_0x2fd340=this[_0x3bb45a(0x4c7)][_0x3bb45a(0x278)](),_0x90ec3a=new _0x3e5eae[(_0x3bb45a(0x218))]([_0x2fd340[0x0],_0x2fd340[0x1],_0x2fd340[0x2],_0x2fd340[0x3],_0x10eac4,_0x1dc5c9]),_0x59436f=this[_0x3bb45a(0x4b6)](),_0x2f27a6=(this['isInGroup']&&(_0x59436f==null?void 0x0:_0x59436f['classType'])===_0x3e5eae[_0x3bb45a(0x281)][_0x3bb45a(0x290)]?_0x59436f[_0x3bb45a(0x524)][_0x3bb45a(0x4e3)](_0x90ec3a):_0x90ec3a)['invert']()[_0x3bb45a(0x2a2)](_0x21a28c),_0x6d7aa5=_0x46e6c6/0x2,_0x867c6a=_0x10a9e1/0x2,_0xb1b288=this[_0x3bb45a(0x3f1)][_0x3bb45a(0x3e0)];return _0xb1b288&&_0xb1b288['isLineShape']()?_0xb1b288[_0x3bb45a(0x206)](_0x2f27a6['x'],_0x2f27a6['y'],_0x46e6c6,_0x10a9e1):_0x2f27a6['x']>=-_0x6d7aa5-this['strokeWidth']/0x2&&_0x2f27a6['x']<=_0x6d7aa5+this['strokeWidth']/0x2&&_0x2f27a6['y']>=-_0x867c6a-this['strokeWidth']/0x2&&_0x2f27a6['y']<=_0x867c6a+this[_0x3bb45a(0x318)]/0x2;}[_0x718440(0x4dd)](){const _0x4833a0=_0x718440;this[_0x4833a0(0x55d)][_0x4833a0(0x4dd)](),this[_0x4833a0(0x3f1)]['shapeModel']=null,super[_0x4833a0(0x4dd)]();}},_0x8c69ab=class extends _0x3e5eae[_0x718440(0x53a)]{constructor(_0x2fb548,_0x98c91c){const _0xe2ee=_0x718440;super(_0x2fb548,_0x98c91c),_0x55cc91(this,_0xe2ee(0x314),null),_0x55cc91(this,_0xe2ee(0x2f2),null),_0x55cc91(this,_0xe2ee(0x527),null),_0x55cc91(this,_0xe2ee(0x545),null),_0x98c91c&&this['setShapeProps'](_0x98c91c);}['getDrawingSearch'](){return{'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this['_shapeId']};}[_0x718440(0x520)](_0x76a02){const _0x468097=_0x718440;_0x76a02[_0x468097(0x1fd)]!==void 0x0&&(this[_0x468097(0x314)]=_0x76a02[_0x468097(0x1fd)]),_0x76a02[_0x468097(0x2f4)]!==void 0x0&&(this[_0x468097(0x2f2)]=_0x76a02['adjName']),_0x76a02[_0x468097(0x45d)]!==void 0x0&&(this[_0x468097(0x527)]=_0x76a02['unitId']),_0x76a02[_0x468097(0x31f)]!==void 0x0&&(this[_0x468097(0x545)]=_0x76a02['subUnitId']),this[_0x468097(0x2d4)]({'width':_0x76a02['width'],'height':_0x76a02['height']});}[_0x718440(0x250)](_0x365ce9){const _0x36a085=_0x718440;_0x3e5eae[_0x36a085(0x233)][_0x36a085(0x578)](_0x365ce9,{'radius':_0x34f551[_0x36a085(0x526)]['adjHandleSize'],'fill':_0x34f551[_0x36a085(0x526)]['adjHandleFill'],'stroke':_0x34f551['ShapeDefaultConfig'][_0x36a085(0x42d)],'strokeWidth':0x1,'evented':!0x0});}};function _0x519f13(_0x398aca,_0x3e92e6){return function(_0x2c97f3,_0x2fcf39){_0x3e92e6(_0x2c97f3,_0x2fcf39,_0x398aca);};}function _0xb31b0c(_0x59a3c1,_0x29dcab,_0x89c049,_0xb3329b){const _0x30fd99=_0x718440;var _0x1d9c7f=arguments[_0x30fd99(0x212)],_0x57ab39=_0x1d9c7f<0x3?_0x29dcab:_0xb3329b===null?_0xb3329b=Object['getOwnPropertyDescriptor'](_0x29dcab,_0x89c049):_0xb3329b,_0x10d31d;if(typeof Reflect=='object'&&typeof Reflect[_0x30fd99(0x44c)]=='function')_0x57ab39=Reflect[_0x30fd99(0x44c)](_0x59a3c1,_0x29dcab,_0x89c049,_0xb3329b);else{for(var _0x383bd7=_0x59a3c1[_0x30fd99(0x212)]-0x1;_0x383bd7>=0x0;_0x383bd7--)(_0x10d31d=_0x59a3c1[_0x383bd7])&&(_0x57ab39=(_0x1d9c7f<0x3?_0x10d31d(_0x57ab39):_0x1d9c7f>0x3?_0x10d31d(_0x29dcab,_0x89c049,_0x57ab39):_0x10d31d(_0x29dcab,_0x89c049))||_0x57ab39);}return _0x1d9c7f>0x3&&_0x57ab39&&Object[_0x30fd99(0x54c)](_0x29dcab,_0x89c049,_0x57ab39),_0x57ab39;}let _0x29d254=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x2d0e9b,_0x23c5d6,_0x33aa5c,_0x124828,_0x242502,_0x2158e6){const _0x146b12=_0x718440;super(),this[_0x146b12(0x2a8)]=_0x2d0e9b,this[_0x146b12(0x4cd)]=_0x23c5d6,this[_0x146b12(0x4b5)]=_0x33aa5c,this[_0x146b12(0x2fe)]=_0x124828,this[_0x146b12(0x1a5)]=_0x242502,this[_0x146b12(0x563)]=_0x2158e6,_0x55cc91(this,_0x146b12(0x3a9),new Map()),this[_0x146b12(0x503)](this['_shapeFormulaService'][_0x146b12(0x279)][_0x146b12(0x374)](_0x4bf7fe=>{const _0x2895c6=_0x146b12;var _0x1494cf;(_0x1494cf=this['_formulaShapes'][_0x2895c6(0x39f)](this['_formulaKey'](_0x4bf7fe['unitId'],_0x4bf7fe[_0x2895c6(0x31f)],_0x4bf7fe['shapeId'])))==null||_0x1494cf[_0x2895c6(0x241)](_0x539eb3=>_0x539eb3[_0x2895c6(0x2eb)](_0x4bf7fe[_0x2895c6(0x1bf)],_0x4bf7fe['animationEnabled']));})),this[_0x146b12(0x503)](this[_0x146b12(0x2a8)][_0x146b12(0x4ca)][_0x146b12(0x374)](_0x520bcb=>{const _0x213bc8=_0x146b12;_0x520bcb[_0x213bc8(0x241)](_0x248fea=>{const _0x34df81=_0x213bc8;this[_0x34df81(0x563)][_0x34df81(0x392)]({'unitId':_0x248fea[_0x34df81(0x45d)],'subUnitId':_0x248fea[_0x34df81(0x31f)],'shapeId':_0x248fea[_0x34df81(0x25d)]}),this['_formulaShapes'][_0x34df81(0x1c5)](this[_0x34df81(0x1d3)](_0x248fea[_0x34df81(0x45d)],_0x248fea[_0x34df81(0x31f)],_0x248fea[_0x34df81(0x25d)]));});}));}[_0x718440(0x2a0)](_0x3bb4e9,_0x155dfa,_0x2a3992){const _0x11e8fc=_0x718440;let {transform:_0x1ad286,drawingType:_0x19961f,srcRect:_0x46f9c3,prstGeom:_0x5bb7a2,groupId:_0x12605b,unitId:_0x51154a,subUnitId:_0x18a8e9,drawingId:_0x10118a,isMultiTransform:_0x33f55c,transforms:_0x228a3b,hidden:_0x29410b,selectable:_0x177728}=_0x3bb4e9;if(_0x19961f!==_0x567e1d[_0x11e8fc(0x2f1)][_0x11e8fc(0x20f)]||!this['_drawingManagerService'][_0x11e8fc(0x1af)]()||_0x1ad286==null)return;let _0x5c66ca=this[_0x11e8fc(0x2a8)][_0x11e8fc(0x415)](),_0x372663=_0x33f55c&&_0x228a3b?_0x228a3b:[_0x1ad286],_0x135f69=[];for(let _0x132f5b of _0x372663){let {left:_0x226c3a,top:_0x1db082,width:_0x4d0165,height:_0x374111,angle:_0x44f20c,flipX:_0x454d51,flipY:_0x208ed5,skewX:_0x5e769b,skewY:_0x4e6bf5}=_0x132f5b,_0x1fcc1=_0x372663[_0x11e8fc(0x4ec)](_0x132f5b),_0x497a7a=(0x0,_0x36b4c7[_0x11e8fc(0x56c)])({'unitId':_0x51154a,'subUnitId':_0x18a8e9,'drawingId':_0x10118a},_0x33f55c?_0x1fcc1:void 0x0),_0x471149=_0x155dfa[_0x11e8fc(0x566)](_0x497a7a);if(_0x471149!=null){let _0x603a55={'unitId':_0x51154a,'subUnitId':_0x18a8e9,'shapeId':_0x10118a};_0x471149 instanceof _0x5b187c&&this[_0x11e8fc(0x307)](_0x471149,_0x603a55),_0x471149[_0x11e8fc(0x2d4)]({'left':_0x226c3a,'top':_0x1db082,'width':_0x4d0165,'height':_0x374111,'angle':_0x44f20c,'flipX':_0x454d51,'flipY':_0x208ed5,'skewX':_0x5e769b,'skewY':_0x4e6bf5});continue;}let _0xa1b5be=this[_0x11e8fc(0x2a8)][_0x11e8fc(0x205)](_0x51154a,_0x18a8e9),_0x1dee7e=_0xa1b5be[_0x11e8fc(0x4ec)](_0x10118a);if(_0x155dfa['getObjectIncludeInGroup'](_0x497a7a)||!this['_drawingManagerService'][_0x11e8fc(0x1af)]())continue;let _0x89f839=this[_0x11e8fc(0x4cd)][_0x11e8fc(0x459)](_0x51154a,_0x18a8e9,_0x10118a);if(!_0x89f839)continue;let _0x588c21=(0x0,_0x34f551['isConnectorShape'])(_0x89f839[_0x11e8fc(0x43a)]())?{..._0x54a51b['SHAPE_EDITOR_TRANSFORMER_CONFIG'],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x54a51b[_0x11e8fc(0x58a)],_0x4066eb=_0x89f839['getShapeData']()['formulaBinding'],_0x2b1a0b={'unitId':_0x51154a,'subUnitId':_0x18a8e9,'shapeId':_0x10118a};_0x4066eb&&this['_shapeFormulaService'][_0x11e8fc(0x50a)](_0x2b1a0b,_0x4066eb);let _0x239055=new _0x5b187c(_0x497a7a,{..._0x132f5b,'zIndex':_0x1dee7e===-0x1?_0xa1b5be['length']-0x1:_0x1dee7e,'shapeModel':_0x89f839,'localeService':this['_localeService'],'shapeId':_0x10118a,'unitId':_0x51154a,'subUnitId':_0x18a8e9,'visible':_0x29410b!==!0x0,'evented':_0x177728!==!0x1,'formulaPresentation':_0x4066eb?this[_0x11e8fc(0x563)][_0x11e8fc(0x381)](_0x2b1a0b):void 0x0,'animateFormulaPresentation':(_0x4066eb==null?void 0x0:_0x4066eb['animationEnabled'])!==!0x1,'transformerConfig':_0x588c21});if(_0x4066eb){let _0x2325a7=this['_formulaKey'](_0x51154a,_0x18a8e9,_0x10118a),_0x40da8b=this['_formulaShapes'][_0x11e8fc(0x39f)](_0x2325a7)??new Set();_0x40da8b[_0x11e8fc(0x3e3)](_0x239055),this[_0x11e8fc(0x3a9)][_0x11e8fc(0x327)](_0x2325a7,_0x40da8b);}_0x155dfa[_0x11e8fc(0x1f1)](_0x239055,_0x3e5eae['DRAWING_OBJECT_LAYER_INDEX']),_0x5c66ca&&_0x155dfa[_0x11e8fc(0x386)](_0x239055),_0x12605b&&(0x0,_0x44d5e4['insertGroupObject'])({'drawingId':_0x12605b,'unitId':_0x51154a,'subUnitId':_0x18a8e9},_0x239055,_0x155dfa,this[_0x11e8fc(0x2a8)]),_0x5bb7a2!=null&&_0x239055[_0x11e8fc(0x2ce)](_0x5bb7a2),_0x46f9c3!=null&&_0x239055[_0x11e8fc(0x3ba)](_0x46f9c3);let _0x1f9bff=this['_loadShapePictureFill'](_0x239055,_0x89f839[_0x11e8fc(0x1e2)]());if(_0x1f9bff){var _0x224fcb;_0x2a3992==null||(_0x224fcb=_0x2a3992[_0x11e8fc(0x427)])==null||_0x224fcb[_0x11e8fc(0x3e3)](_0x1f9bff);}_0x135f69['push'](_0x239055);}return _0x135f69;}['_formulaKey'](_0x550d38,_0x4ba24e,_0x63ac45){return _0x550d38+'\x00'+_0x4ba24e+'\x00'+_0x63ac45;}[_0x718440(0x307)](_0x427826,_0x5a0991){const _0x6c87de=_0x718440;let _0x46761c=this['_sheetsShapeService'][_0x6c87de(0x459)](_0x5a0991[_0x6c87de(0x45d)],_0x5a0991['subUnitId'],_0x5a0991['shapeId']),_0x470729=_0x46761c==null?void 0x0:_0x46761c[_0x6c87de(0x1e2)]()[_0x6c87de(0x270)],_0x41378c=this[_0x6c87de(0x1d3)](_0x5a0991['unitId'],_0x5a0991[_0x6c87de(0x31f)],_0x5a0991[_0x6c87de(0x1fd)]);if(_0x470729){this[_0x6c87de(0x563)][_0x6c87de(0x50a)](_0x5a0991,_0x470729);let _0x51476c=this[_0x6c87de(0x3a9)]['get'](_0x41378c)??new Set();_0x51476c[_0x6c87de(0x3e3)](_0x427826),this[_0x6c87de(0x3a9)][_0x6c87de(0x327)](_0x41378c,_0x51476c);}else{var _0x309a4a;this['_shapeFormulaService'][_0x6c87de(0x392)](_0x5a0991),(_0x309a4a=this['_formulaShapes']['get'](_0x41378c))==null||_0x309a4a[_0x6c87de(0x1c5)](_0x427826);}_0x427826[_0x6c87de(0x2eb)](_0x470729?this['_shapeFormulaService'][_0x6c87de(0x381)](_0x5a0991):void 0x0,(_0x470729==null?void 0x0:_0x470729['animationEnabled'])!==!0x1);}[_0x718440(0x432)](_0x52230f){const _0x3b3851=_0x718440;let _0x577030=_0x52230f[_0x3b3851(0x3e0)][_0x3b3851(0x1e2)](),_0x4d8b7c=_0x577030[_0x3b3851(0x3a0)];if(!_0x4d8b7c||_0x4d8b7c[_0x3b3851(0x1b4)]!==_0x34f551[_0x3b3851(0x34e)][_0x3b3851(0x43c)]||!_0x4d8b7c['fillImageSource']){_0x52230f[_0x3b3851(0x2a3)](void 0x0);return;}this[_0x3b3851(0x362)](_0x52230f,_0x577030);}[_0x718440(0x362)](_0x2e16df,_0x11a02f){const _0x151dc7=_0x718440;let _0x372fc6=_0x11a02f[_0x151dc7(0x3a0)];if(!_0x372fc6||_0x372fc6[_0x151dc7(0x1b4)]!==_0x34f551['ShapeFillEnum']['PictureFill']||!_0x372fc6['fillImageSource'])return;let _0xb09694=_0x372fc6[_0x151dc7(0x377)],_0x11b2a5=_0x372fc6[_0x151dc7(0x523)]??_0x34f551[_0x151dc7(0x479)][_0x151dc7(0x213)],_0x2211c6=this[_0x151dc7(0x2fe)][_0x151dc7(0x228)](_0xb09694,_0x11b2a5);if(_0x2211c6){_0x2e16df[_0x151dc7(0x2a3)](_0x2211c6);return;}return this[_0x151dc7(0x49b)](_0x2e16df,_0xb09694,_0x11b2a5);}async[_0x718440(0x49b)](_0x1a0003,_0x243019,_0xbfe6c8){const _0xe27d9f=_0x718440;let _0x26756b;try{if(_0xbfe6c8===_0x34f551[_0xe27d9f(0x479)][_0xe27d9f(0x482)])_0x26756b=await this[_0xe27d9f(0x2fe)][_0xe27d9f(0x31b)](_0x243019);else{if(_0xbfe6c8===_0x34f551['ImageSourceTypeEnum'][_0xe27d9f(0x213)])try{_0x26756b=await this[_0xe27d9f(0x1a5)]['getImage'](_0x243019);}catch{_0x26756b=_0x243019;}else _0x26756b=_0x243019;}}catch(_0x5ec406){console[_0xe27d9f(0x4c1)](_0xe27d9f(0x2c7),_0x5ec406);return;}await new Promise(_0x16367e=>{const _0x7e0b6=_0xe27d9f;let _0x31f3a9=new window[(_0x7e0b6(0x35e))]();_0x31f3a9[_0x7e0b6(0x505)]=()=>{const _0x113c77=_0x7e0b6;this[_0x113c77(0x2fe)][_0x113c77(0x311)](_0x243019,_0xbfe6c8,_0x31f3a9),_0x1a0003[_0x113c77(0x2a3)](_0x31f3a9),_0x16367e();},_0x31f3a9[_0x7e0b6(0x1cc)]=()=>{console['error']('[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image',_0x243019),_0x16367e();},_0x31f3a9[_0x7e0b6(0x222)]=_0x26756b;});}};_0x29d254=_0xb31b0c([_0x519f13(0x0,_0x36b4c7[_0x718440(0x529)]),_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x239f56[_0x718440(0x3db)])),_0x519f13(0x2,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x567e1d[_0x718440(0x359)])),_0x519f13(0x3,_0x567e1d['IImageIoService']),_0x519f13(0x4,_0x567e1d[_0x718440(0x4b4)]),_0x519f13(0x5,(0x0,_0x567e1d['Inject'])(_0x42b73e[_0x718440(0x3c5)]))],_0x29d254);let _0x5258f8=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x25381d,_0x3d1490,_0x488501,_0x20802a,_0x55a720,_0x1dceb5){const _0x13f76e=_0x718440;super(),this[_0x13f76e(0x2a8)]=_0x25381d,this[_0x13f76e(0x4cd)]=_0x3d1490,this[_0x13f76e(0x57e)]=_0x488501,this[_0x13f76e(0x1ab)]=_0x20802a,this['_univerInstanceService']=_0x55a720,this[_0x13f76e(0x594)]=_0x1dceb5,_0x55cc91(this,_0x13f76e(0x28c),null),_0x55cc91(this,_0x13f76e(0x527),null),_0x55cc91(this,_0x13f76e(0x545),null),_0x55cc91(this,'_activeShapeAdjustPointList',void 0x0),_0x55cc91(this,'_shapes',[]),_0x55cc91(this,_0x13f76e(0x449),0x0),_0x55cc91(this,_0x13f76e(0x4ed),0x0),_0x55cc91(this,_0x13f76e(0x3c3),0x0),_0x55cc91(this,_0x13f76e(0x2b9),0x0),_0x55cc91(this,_0x13f76e(0x1b6),!0x1),_0x55cc91(this,_0x13f76e(0x1c7),void 0x0),_0x55cc91(this,_0x13f76e(0x2f3),void 0x0),_0x55cc91(this,_0x13f76e(0x3e5),void 0x0),_0x55cc91(this,_0x13f76e(0x2bc),void 0x0),_0x55cc91(this,_0x13f76e(0x35b),!0x1),this[_0x13f76e(0x3be)](),this[_0x13f76e(0x46c)]();}[_0x718440(0x268)](_0x41b0f1,_0x2d9374,_0x54c22d){const _0x232080=_0x718440;let _0x2f3e47=this[_0x232080(0x4cd)][_0x232080(0x459)](_0x41b0f1,_0x2d9374,_0x54c22d);if(_0x2f3e47)return _0x2f3e47[_0x232080(0x1a2)]();}['clearAdjustControls'](){this['_clearShapeAdjustControls']();}[_0x718440(0x2c1)](){const _0x498a7a=_0x718440;this[_0x498a7a(0x2ef)](!0x0);}['setShouldShowAdjust'](_0x24e778){const _0x17269d=_0x718440;this[_0x17269d(0x35b)]=_0x24e778;}[_0x718440(0x363)](_0x4c3e18,_0xef6e11,_0xa28331,_0x4f0bef){const _0xc2a041=_0x718440;let _0x134e3a=this[_0xc2a041(0x4cd)]['getShapeModel'](_0x4c3e18,_0xef6e11,_0xa28331);if(_0x134e3a)return _0x134e3a[_0xc2a041(0x419)](_0x4f0bef);}[_0x718440(0x3a5)](_0x4affbe=!0x1){const _0x21b2c5=_0x718440;if(this[_0x21b2c5(0x527)]===null||this[_0x21b2c5(0x545)]===null||this[_0x21b2c5(0x28c)]===null)return;let _0x568c12=this['_renderManagerService'][_0x21b2c5(0x403)](this[_0x21b2c5(0x527)]);if(!_0x568c12||!_0x568c12[_0x21b2c5(0x549)](_0x17eed7[_0x21b2c5(0x204)])[_0x21b2c5(0x2d3)]())return;let {scene:_0x208c55}=_0x568c12,_0x55c9fc={'unitId':this[_0x21b2c5(0x527)],'subUnitId':this['_subUnitId'],'drawingId':this['_activeShapeId']},_0x3e133c=this[_0x21b2c5(0x2a8)][_0x21b2c5(0x37d)](_0x55c9fc),{transform:_0x590e35}=_0x3e133c;if(!_0x590e35||_0x3e133c['drawingType']!==_0x567e1d[_0x21b2c5(0x2f1)][_0x21b2c5(0x20f)])return;let {left:_0x18ebd1,top:_0x3eea2d,width:_0x43c9ce,height:_0x2f9776,flipX:_0x237670,flipY:_0x57939c,angle:_0x2f8567=0x0}=_0x590e35;if(_0x18ebd1===void 0x0||_0x3eea2d===void 0x0)return;if(_0x4affbe){let _0x47877a=this['_sheetsShapeService'][_0x21b2c5(0x459)](this['_unitId'],this['_subUnitId'],this[_0x21b2c5(0x28c)]);_0x47877a==null||_0x47877a[_0x21b2c5(0x1bc)]({'width':_0x43c9ce??0x0,'height':_0x2f9776??0x0}),this[_0x21b2c5(0x357)]=_0x47877a==null?void 0x0:_0x47877a['getDrawingPoints']();}let _0x33309b=this[_0x21b2c5(0x357)];for(let _0x39aff6=0x0;_0x39aff6<_0x33309b['length'];_0x39aff6++){let _0x380580=_0x33309b[_0x39aff6],_0x1e5831=_0x380580['x'],_0x7b3d77=_0x380580['y'];if(_0x237670&&(_0x1e5831=(_0x43c9ce||0x0)-_0x1e5831),_0x57939c&&(_0x7b3d77=(_0x2f9776||0x0)-_0x7b3d77),_0x2f8567!==0x0){let _0x55285e=(_0x43c9ce||0x0)/0x2,_0x2a2430=(_0x2f9776||0x0)/0x2,_0x2d874f=_0x2f8567*Math['PI']/0xb4,_0x2f42bb=Math[_0x21b2c5(0x1bb)](_0x2d874f),_0x5c91f7=Math['sin'](_0x2d874f),_0x11bc91=_0x1e5831-_0x55285e,_0x580bba=_0x7b3d77-_0x2a2430;_0x1e5831=_0x55285e+(_0x11bc91*_0x2f42bb-_0x580bba*_0x5c91f7),_0x7b3d77=_0x2a2430+(_0x11bc91*_0x5c91f7+_0x580bba*_0x2f42bb);}let _0x57a628={'x':_0x1e5831,'y':_0x7b3d77,'adjName':_0x380580[_0x21b2c5(0x2f4)]};this[_0x21b2c5(0x367)](_0x208c55,_0x57a628,_0x57a628[_0x21b2c5(0x2f4)],_0x18ebd1,_0x3eea2d,this[_0x21b2c5(0x527)],this[_0x21b2c5(0x545)]);}}[_0x718440(0x2ef)](_0x5432d2=!0x1){const _0x2dceaf=_0x718440;_0x5432d2&&(this[_0x2dceaf(0x350)](),this[_0x2dceaf(0x3a5)](_0x5432d2));}[_0x718440(0x367)](_0x458fab,_0x465625,_0xa4795e,_0x35801e,_0x5431ca,_0x3b5070,_0x49cdc2){const _0x9544ad=_0x718440;if(!this[_0x9544ad(0x28c)])return;let _0x50b553=_0x458fab['getObjectIncludeInGroup']('shape-adjust-point-'+this['_activeShapeId']+'-'+_0xa4795e);if(_0x50b553){_0x50b553[_0x9544ad(0x2d4)]({'left':_0x465625['x']+_0x35801e-_0x34f551['ShapeDefaultConfig'][_0x9544ad(0x237)],'top':_0x465625['y']+_0x5431ca-_0x34f551[_0x9544ad(0x526)][_0x9544ad(0x237)]});return;}let _0x2f1aa3={'left':_0x465625['x']+_0x35801e-_0x34f551[_0x9544ad(0x526)][_0x9544ad(0x237)],'top':_0x465625['y']+_0x5431ca-_0x34f551[_0x9544ad(0x526)][_0x9544ad(0x237)],'adjName':_0xa4795e,'shapeId':this[_0x9544ad(0x28c)],'unitId':_0x3b5070,'subUnitId':_0x49cdc2,'width':_0x34f551[_0x9544ad(0x526)][_0x9544ad(0x237)]+0x8,'height':_0x34f551[_0x9544ad(0x526)][_0x9544ad(0x237)]+0x8,'zIndex':_0x3e5eae[_0x9544ad(0x533)]+0x1,'evented':!0x0},_0x376a9b=new _0x8c69ab(_0x9544ad(0x402)+this['_activeShapeId']+'-'+_0xa4795e,_0x2f1aa3);this[_0x9544ad(0x330)][_0x9544ad(0x217)](_0x376a9b),this[_0x9544ad(0x355)](_0x376a9b,_0x458fab,_0xa4795e),_0x458fab[_0x9544ad(0x1f1)](_0x376a9b,_0x3e5eae[_0x9544ad(0x533)]+0x1);}[_0x718440(0x350)](){const _0x132ea2=_0x718440;this[_0x132ea2(0x330)][_0x132ea2(0x212)]!==0x0&&(this[_0x132ea2(0x330)]['forEach'](_0x447b07=>{const _0x700335=_0x132ea2;_0x447b07[_0x700335(0x4dd)]();}),this['_shapes']=[]);}[_0x718440(0x2a1)](){const _0x473da2=_0x718440;this[_0x473da2(0x3a5)]();}[_0x718440(0x1ce)](_0x300d14,_0x4de813){const _0x122d62=_0x718440;var _0x56626d;let _0x525665={'x':0x0,'y':0x0};if(!_0x300d14||!_0x4de813)return _0x525665;let _0x3bdce0=this['_renderManagerService']['getRenderUnitById'](_0x300d14);if(!_0x3bdce0||!_0x3bdce0[_0x122d62(0x549)](_0x17eed7['SheetSkeletonManagerService'])[_0x122d62(0x50e)](_0x4de813))return _0x525665;let _0x1c7416=_0x3bdce0[_0x122d62(0x549)](_0x17eed7[_0x122d62(0x369)]),_0x5391c9=_0x1c7416==null?void 0x0:_0x1c7416['getCurrentScrollState']();if(!_0x5391c9)return _0x525665;let _0x37cda8=(_0x56626d=this[_0x122d62(0x34a)][_0x122d62(0x25c)](_0x300d14))==null?void 0x0:_0x56626d[_0x122d62(0x19d)](_0x4de813);if(!_0x37cda8)return _0x525665;let _0x333721=(0x0,_0x17eed7['getViewportByCell'])(_0x5391c9[_0x122d62(0x38e)],_0x5391c9[_0x122d62(0x3cf)],_0x3bdce0[_0x122d62(0x53c)],_0x37cda8);return _0x333721?{'x':_0x333721['viewportScrollX'],'y':_0x333721[_0x122d62(0x1a7)]}:_0x525665;}[_0x718440(0x50f)](_0x501913,_0xcf2e62){const _0x3e0571=_0x718440;var _0x57dca0;let _0x505177=(_0x57dca0=this[_0x3e0571(0x34a)][_0x3e0571(0x25c)](_0x501913))==null?void 0x0:_0x57dca0[_0x3e0571(0x19d)](_0xcf2e62);return(_0x505177==null?void 0x0:_0x505177[_0x3e0571(0x476)]())??0x1;}['_attachAdjustEvent'](_0x2fcca0,_0x35a334,_0xf79422){const _0x378c83=_0x718440;this['disposeWithMe']((0x0,_0x567e1d[_0x378c83(0x23c)])(_0x2fcca0[_0x378c83(0x2f5)][_0x378c83(0x483)]((_0x3826f7,_0x35633a)=>{const _0x4fb193=_0x378c83;var _0x3bcb64,_0x3cbb28,_0xa3c4bd,_0x380b6e;let _0xb1988f=_0x2fcca0[_0x4fb193(0x440)]();this[_0x4fb193(0x1c7)]=this['_getShapeAdjustInfosById'](_0xb1988f[_0x4fb193(0x45d)],_0xb1988f[_0x4fb193(0x31f)],_0xb1988f['drawingId'],_0xf79422),this[_0x4fb193(0x2f3)]=this['_sheetsShapeService'][_0x4fb193(0x459)](_0xb1988f[_0x4fb193(0x45d)],_0xb1988f[_0x4fb193(0x31f)],_0xb1988f[_0x4fb193(0x25d)]);let _0x28aa4a=this[_0x4fb193(0x2a8)][_0x4fb193(0x37d)]({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this[_0x4fb193(0x28c)]}),{transform:_0x46e16c}=_0x28aa4a;if(_0x46e16c){let {left:_0x6fdf33,top:_0x33bb9f,width:_0x2d4c12,height:_0x4eeb04}=_0x46e16c;this[_0x4fb193(0x449)]=_0x6fdf33||0x0,this[_0x4fb193(0x4ed)]=_0x33bb9f||0x0,this['_baseShapeWidth']=_0x2d4c12||0x0,this[_0x4fb193(0x2b9)]=_0x4eeb04||0x0;}let _0x5a9093=!!((_0x3bcb64=_0x28aa4a[_0x4fb193(0x4c7)])!=null&&_0x3bcb64['flipX']),_0x1f3f83=!!((_0x3cbb28=_0x28aa4a[_0x4fb193(0x4c7)])!=null&&_0x3cbb28[_0x4fb193(0x1ed)]),_0xd0e1f9=((_0xa3c4bd=_0x28aa4a[_0x4fb193(0x4c7)])==null?void 0x0:_0xa3c4bd[_0x4fb193(0x37c)])||0x0;this[_0x4fb193(0x1b6)]=!0x0,_0x35a334[_0x4fb193(0x574)]();let _0x493e62={...((_0x380b6e=this[_0x4fb193(0x1c7)])==null?void 0x0:_0x380b6e['currentAdjustValues'])??{}};this[_0x4fb193(0x3e5)]=_0x35a334[_0x4fb193(0x1dd)][_0x4fb193(0x483)]((_0x5d125f,_0x24c523)=>{const _0x36d2a0=_0x4fb193;if(!this[_0x36d2a0(0x1b6)])return;let {offsetX:_0x1005aa,offsetY:_0x20c088}=_0x5d125f,_0x11f02d=this['_activeAdjustInfo'];if(this[_0x36d2a0(0x2f3)]&&_0x11f02d){_0x35a334[_0x36d2a0(0x574)](),_0x35a334[_0x36d2a0(0x40a)](_0x3e5eae['CURSOR_TYPE']['CROSSHAIR']);let _0x1d518d={'left':0x0,'top':0x0,'width':this['_baseShapeWidth'],'height':this[_0x36d2a0(0x2b9)]},_0x33d847=this[_0x36d2a0(0x1ce)](this[_0x36d2a0(0x527)],this['_subUnitId']),_0xa41ef8=this[_0x36d2a0(0x50f)](this[_0x36d2a0(0x527)],this[_0x36d2a0(0x545)]),_0x1bd138=_0x1005aa/_0xa41ef8+_0x33d847['x']-this['_baseShapeLeft'],_0x2ba429=_0x20c088/_0xa41ef8+_0x33d847['y']-this[_0x36d2a0(0x4ed)];if(_0xd0e1f9!==0x0){let _0x206ddc=this[_0x36d2a0(0x3c3)]/0x2,_0x38b340=this[_0x36d2a0(0x2b9)]/0x2,_0x5007b0=_0xd0e1f9*Math['PI']/0xb4,_0x4c077a=Math[_0x36d2a0(0x1bb)](_0x5007b0),_0x5d7e7f=Math['sin'](_0x5007b0),_0x3b8bc1=_0x1bd138-_0x206ddc,_0x399f0a=_0x2ba429-_0x38b340;_0x1bd138=_0x206ddc+(_0x3b8bc1*_0x4c077a+_0x399f0a*_0x5d7e7f),_0x2ba429=_0x38b340+(-_0x3b8bc1*_0x5d7e7f+_0x399f0a*_0x4c077a);}_0x5a9093&&(_0x1bd138=this[_0x36d2a0(0x3c3)]-_0x1bd138),_0x1f3f83&&(_0x2ba429=this[_0x36d2a0(0x2b9)]-_0x2ba429);let _0x55759f={'x':_0x1bd138,'y':_0x2ba429},_0x1b8db7=this['_activeShapeModel'][_0x36d2a0(0x555)](_0x1d518d,_0x55759f,_0x11f02d,_0x5a9093,_0x1f3f83);if(Object['keys'](_0x1b8db7)[_0x36d2a0(0x212)]===0x0)return;for(let [_0xc099ac,_0x4c4635]of Object[_0x36d2a0(0x1f9)](_0x1b8db7))this[_0x36d2a0(0x2f3)][_0x36d2a0(0x2fc)](_0xc099ac,_0x4c4635);this[_0x36d2a0(0x2f3)][_0x36d2a0(0x1bc)]({'width':this[_0x36d2a0(0x3c3)],'height':this[_0x36d2a0(0x2b9)]});let _0x53b41e=this[_0x36d2a0(0x2a8)][_0x36d2a0(0x37d)]({'unitId':_0xb1988f['unitId'],'subUnitId':_0xb1988f['subUnitId'],'drawingId':_0xb1988f[_0x36d2a0(0x25d)]});_0x53b41e&&(this['_sheetDrawingShapeRenderController'][_0x36d2a0(0x2a0)](_0x53b41e,_0x35a334),this[_0x36d2a0(0x357)]=this[_0x36d2a0(0x268)](_0xb1988f[_0x36d2a0(0x45d)],_0xb1988f['subUnitId'],_0xb1988f[_0x36d2a0(0x25d)]),this['_updateAdjustControlPositions']());}_0x24c523['stopPropagation']();}),this[_0x4fb193(0x2bc)]=_0x35a334[_0x4fb193(0x4b7)][_0x4fb193(0x483)]((_0x57068c,_0x23a11e)=>{const _0x2ea714=_0x4fb193;this[_0x2ea714(0x3e5)][_0x2ea714(0x301)](),this[_0x2ea714(0x2bc)][_0x2ea714(0x301)](),_0x35a334['resetCursor']();let _0x3ff38b=this['_activeAdjustInfo'];if(_0x3ff38b){let _0x394e66=_0xb1988f[_0x2ea714(0x45d)],_0x3409f4=_0xb1988f[_0x2ea714(0x31f)],_0x40ebfc=_0xb1988f[_0x2ea714(0x25d)],_0x10c14d={};for(let _0x568593 of Object[_0x2ea714(0x337)](_0x3ff38b[_0x2ea714(0x256)])){var _0x172ba8;let _0x43dd56=(_0x172ba8=this[_0x2ea714(0x2f3)])==null?void 0x0:_0x172ba8[_0x2ea714(0x3bd)](_0x568593);_0x43dd56!==void 0x0&&(_0x10c14d[_0x568593]=_0x43dd56);}Object[_0x2ea714(0x337)](_0x10c14d)[_0x2ea714(0x212)]>0x0&&_0x322a2b(this[_0x2ea714(0x594)],_0x394e66,_0x3409f4,_0x40ebfc,{'oldShapeData':{'adjustValues':_0x493e62}},{'adjustValues':_0x10c14d});}this[_0x2ea714(0x1c7)]=void 0x0,this[_0x2ea714(0x2f3)]=void 0x0,this[_0x2ea714(0x1b6)]=!0x1,_0x23a11e[_0x2ea714(0x3ab)](),_0x35a334[_0x2ea714(0x317)]();}),_0x35633a[_0x4fb193(0x3ab)]();})));}[_0x718440(0x46c)](){const _0x1dd07a=_0x718440;let _0x39eefa=this[_0x1dd07a(0x34a)][_0x1dd07a(0x3d0)](_0x567e1d[_0x1dd07a(0x1e5)]['UNIVER_SHEET']);this[_0x1dd07a(0x503)](_0x39eefa[_0x1dd07a(0x2da)]((0x0,_0x1d246a[_0x1dd07a(0x53b)])(_0x796f09=>_0x796f09?_0x796f09[_0x1dd07a(0x56d)][_0x1dd07a(0x2da)]((0x0,_0x1d246a[_0x1dd07a(0x53b)])(_0x9409a5=>{const _0x1a9027=_0x1dd07a;if(!_0x9409a5)return _0x1d246a[_0x1a9027(0x49f)];let _0x2f1e5a=_0x796f09[_0x1a9027(0x35f)](),_0x260df0=this[_0x1a9027(0x57e)][_0x1a9027(0x403)](_0x2f1e5a),_0x315ea8=_0x260df0==null?void 0x0:_0x260df0[_0x1a9027(0x53c)];return _0x315ea8?(0x0,_0x1d246a['of'])(_0x315ea8):_0x1d246a[_0x1a9027(0x49f)];})):_0x1d246a[_0x1dd07a(0x49f)]))[_0x1dd07a(0x374)](_0x566ae9=>{const _0x4701c7=_0x1dd07a;let _0x32e649=_0x566ae9[_0x4701c7(0x202)]();this[_0x4701c7(0x503)](_0x566ae9[_0x4701c7(0x1dd)][_0x4701c7(0x483)](()=>{this['_isShouldShowDrawingShapeAdjust'];})),this[_0x4701c7(0x503)](_0x32e649[_0x4701c7(0x4b3)][_0x4701c7(0x374)](_0xac8e38=>{const _0x16e244=_0x4701c7;let {objects:_0x57839e}=_0xac8e38;this[_0x16e244(0x3a5)](),_0x57839e!==null&&_0x57839e[_0x16e244(0x2db)]===0x1&&_0x57839e['values']()[_0x16e244(0x34f)]()[_0x16e244(0x52d)]instanceof _0x5b187c&&this[_0x16e244(0x409)](!0x0);})),this[_0x4701c7(0x503)](_0x32e649[_0x4701c7(0x4a4)]['subscribe'](()=>{const _0x533a0f=_0x4701c7;this[_0x533a0f(0x35b)]&&this['_clearShapeAdjustControls']();})),this[_0x4701c7(0x503)](_0x566ae9[_0x4701c7(0x4b7)][_0x4701c7(0x483)](()=>{const _0x2ce60c=_0x4701c7;this[_0x2ce60c(0x35b)]&&(this[_0x2ce60c(0x409)](!0x1),this[_0x2ce60c(0x3a5)]());})),this[_0x4701c7(0x503)](_0x32e649['changeEnd$']['subscribe'](()=>{const _0x5949bc=_0x4701c7;this[_0x5949bc(0x527)]&&this[_0x5949bc(0x545)]&&this['_activeShapeId']&&this[_0x5949bc(0x2a8)][_0x5949bc(0x37d)]({'unitId':this['_unitId'],'subUnitId':this[_0x5949bc(0x545)],'drawingId':this[_0x5949bc(0x28c)]})&&(this[_0x5949bc(0x357)]=this[_0x5949bc(0x268)](this[_0x5949bc(0x527)],this['_subUnitId'],this[_0x5949bc(0x28c)]),this[_0x5949bc(0x2a1)]());}));}));}[_0x718440(0x3be)](){const _0x5e1c39=_0x718440;this['disposeWithMe'](this[_0x5e1c39(0x594)][_0x5e1c39(0x4c2)](_0x5a9908=>{const _0x500997=_0x5e1c39;if(_0x5a9908['id']!==_0x239f56[_0x500997(0x302)]['id'])return;let {unitId:_0x2757be,subUnitId:_0x33b2a8,shapeId:_0x2265a8}=_0x5a9908[_0x500997(0x247)];_0x2757be===this[_0x500997(0x527)]&&_0x33b2a8===this[_0x500997(0x545)]&&_0x2265a8===this['_activeShapeId']&&this['refreshAdjustControls']();})),this['disposeWithMe'](this[_0x5e1c39(0x2a8)][_0x5e1c39(0x470)][_0x5e1c39(0x374)](_0x45955a=>{const _0x23eb18=_0x5e1c39;if(_0x45955a['length']===0x1){let _0x44f586=_0x45955a[0x0];if(_0x44f586['drawingType']===_0x567e1d[_0x23eb18(0x2f1)][_0x23eb18(0x20f)]&&this[_0x23eb18(0x34a)][_0x23eb18(0x331)](_0x44f586[_0x23eb18(0x45d)])===_0x567e1d[_0x23eb18(0x1e5)][_0x23eb18(0x2e6)]){this[_0x23eb18(0x28c)]=_0x44f586[_0x23eb18(0x25d)];let {unitId:_0x540e2a,subUnitId:_0x27f522}=_0x44f586;this['_activeShapeAdjustPointList']=this[_0x23eb18(0x268)](_0x540e2a,_0x27f522,this[_0x23eb18(0x28c)]),this[_0x23eb18(0x527)]=_0x540e2a,this[_0x23eb18(0x545)]=_0x27f522,this[_0x23eb18(0x350)](),this['_createShapeAdjustControls']();return;}}this[_0x23eb18(0x28c)]=null,this[_0x23eb18(0x357)]=void 0x0,this[_0x23eb18(0x527)]=null,this[_0x23eb18(0x545)]=null,this['_clearShapeAdjustControls']();})),this[_0x5e1c39(0x503)](this[_0x5e1c39(0x2a8)][_0x5e1c39(0x518)][_0x5e1c39(0x374)](_0x48a562=>{const _0x2101ec=_0x5e1c39;if(_0x48a562['length']===0x1){var _0x43a23f;let _0x570345=_0x48a562[0x0];((_0x43a23f=this[_0x2101ec(0x2a8)][_0x2101ec(0x37d)](_0x570345))==null?void 0x0:_0x43a23f[_0x2101ec(0x37f)])===_0x567e1d[_0x2101ec(0x2f1)]['DRAWING_SHAPE']&&this[_0x2101ec(0x2ef)](!0x0);}})),this['disposeWithMe'](this[_0x5e1c39(0x2a8)][_0x5e1c39(0x4ca)][_0x5e1c39(0x374)](_0x379571=>{const _0x3537c5=_0x5e1c39;for(let _0x31dfc9 of _0x379571)this[_0x3537c5(0x28c)]===_0x31dfc9[_0x3537c5(0x25d)]&&(this[_0x3537c5(0x28c)]=null,this[_0x3537c5(0x357)]=void 0x0,this[_0x3537c5(0x527)]=null,this['_subUnitId']=null,this[_0x3537c5(0x350)]());}));}};_0x5258f8=_0xb31b0c([_0x519f13(0x0,_0x36b4c7[_0x718440(0x529)]),_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x239f56[_0x718440(0x3db)])),_0x519f13(0x2,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x3e5eae[_0x718440(0x39e)])),_0x519f13(0x3,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x29d254)),_0x519f13(0x4,_0x567e1d[_0x718440(0x32e)]),_0x519f13(0x5,_0x567e1d[_0x718440(0x1cf)])],_0x5258f8);let _0x2a6b80={'id':_0x718440(0x4e9),'type':_0x567e1d[_0x718440(0x26b)][_0x718440(0x494)],'handler':(_0x3b9944,_0x4eef08)=>{const _0x4e5ed1=_0x718440;let _0x8395d7=_0x3b9944[_0x4e5ed1(0x39f)](_0x36b4c7['IDrawingManagerService']),_0x4831ad=_0x3b9944[_0x4e5ed1(0x39f)](_0x3e5eae[_0x4e5ed1(0x39e)]),_0x486bbe=_0x3b9944['get'](_0x5258f8);if(_0x4eef08==null)return!0x0;if(_0x4eef08[_0x4e5ed1(0x212)]>0x0){var _0x52a7ba;let _0xb71c01=(_0x52a7ba=_0x4831ad[_0x4e5ed1(0x403)](_0x4eef08[0x0][_0x4e5ed1(0x45d)]))==null?void 0x0:_0x52a7ba[_0x4e5ed1(0x53c)];if(_0xb71c01){let {unitId:_0x7d10d,subUnitId:_0xcafff8,drawingId:_0x31f519}=_0x4eef08[0x0],_0x5528c6=(0x0,_0x36b4c7[_0x4e5ed1(0x56c)])({'unitId':_0x7d10d,'subUnitId':_0xcafff8,'drawingId':_0x31f519},void 0x0),_0x36b9d5=_0xb71c01['getObjectIncludeInGroup'](_0x5528c6);if(_0x36b9d5){var _0x173151;(_0x173151=_0x4831ad['getRenderUnitById'](_0x4eef08[0x0][_0x4e5ed1(0x45d)]))==null||(_0x173151=_0x173151['scene']['getTransformer']())==null||_0x173151[_0x4e5ed1(0x340)](_0x36b9d5);}}_0x8395d7[_0x4e5ed1(0x1b3)](_0x4eef08),_0x486bbe[_0x4e5ed1(0x409)](!0x1);}return!0x0;}},_0x31381b={'type':_0x567e1d['CommandType'][_0x718440(0x4e5)],'id':_0x718440(0x234),'handler':async(_0x31d7f9,_0xc2d23a)=>{const _0x289627=_0x718440;let _0x4fd69e=(0x0,_0x11447f[_0x289627(0x2d8)])(_0x31d7f9[_0x289627(0x39f)](_0x567e1d[_0x289627(0x32e)]));if(!_0x4fd69e)return!0x1;let _0x1ad0a1=_0x31d7f9['get'](_0x11447f[_0x289627(0x516)])[_0x289627(0x2ca)]();if(!_0x1ad0a1)return!0x1;let _0x454615=_0x31d7f9[_0x289627(0x39f)](_0x567e1d[_0x289627(0x1cf)]),{unitId:_0x3cda9d,subUnitId:_0x13b049}=_0x4fd69e,{value:_0x5f2b82,enhanceParams:_0x55d022}=_0xc2d23a,{range:_0x330939}=_0x1ad0a1,_0x7de43e={'unitId':_0x3cda9d,'subUnitId':_0x13b049,'shapeType':_0x5f2b82,'range':_0x330939,'shapeId':(0x0,_0x567e1d['generateRandomId'])()};if(_0x55d022){let _0x8c9fe9=(0x0,_0x34f551[_0x289627(0x22d)])(_0x5f2b82),_0x5b93e4=_0x5f2b82===_0x34f551[_0x289627(0x1ea)][_0x289627(0x227)];_0x8c9fe9&&(_0x55d022[_0x289627(0x349)]||_0x55d022[_0x289627(0x30d)])&&(_0x7de43e[_0x289627(0x522)]={'ln':{'startArrow':_0x55d022[_0x289627(0x349)]?{'type':_0x34f551[_0x289627(0x383)][_0x289627(0x3c8)],'size':_0x34f551['ShapeArrowSizeEnum'][_0x289627(0x399)]}:void 0x0,'endArrow':_0x55d022[_0x289627(0x30d)]?{'type':_0x34f551[_0x289627(0x383)]['Arrow'],'size':_0x34f551[_0x289627(0x4fb)][_0x289627(0x1e7)]}:void 0x0}}),_0x5b93e4&&(_0x55d022[_0x289627(0x541)]||_0x55d022['vertical'])&&(_0x7de43e[_0x289627(0x522)]=(0x0,_0x42b73e['createShapeTextBoxShapeData'])({'fill':{'fillType':_0x34f551[_0x289627(0x34e)]['SolidFill'],'color':_0x289627(0x534)},'isHorizontal':!!_0x55d022[_0x289627(0x541)],'stroke':{'lineStrokeType':_0x34f551[_0x289627(0x27a)][_0x289627(0x4d9)],'width':0x1,'color':'#bcbcbc'}}));}let _0x2e044f=_0x454615['syncExecuteCommand'](_0x239f56['InsertShapeCommand']['id'],_0x7de43e);return setTimeout(()=>{const _0x1fa6ea=_0x289627;_0x454615[_0x1fa6ea(0x3c0)](_0x2a6b80['id'],[{'unitId':_0x3cda9d,'subUnitId':_0x13b049,'drawingId':_0x7de43e[_0x1fa6ea(0x1fd)]}]);},0xc8),_0x2e044f;}},_0x1b3159=_0x718440(0x397),_0x46acea=_0x718440(0x4c4),_0x708f5a=_0x718440(0x484),_0x32af6f=_0x718440(0x41c),_0x58dd4c=(0x0,_0x567e1d[_0x718440(0x34b)])(_0x718440(0x531)),_0x4dfefd=_0x718440(0x3b3),_0x465174={'id':'sheet.operation.open-shape-object-list-panel','type':_0x567e1d[_0x718440(0x26b)][_0x718440(0x4e5)],'handler':(_0x1c16ae,_0x42b32d)=>{const _0xeb3d98=_0x718440;let _0x578c30=_0x1c16ae[_0xeb3d98(0x39f)](_0x5744c6[_0xeb3d98(0x525)]),_0x54ccb1=_0x1c16ae['get'](_0x567e1d[_0xeb3d98(0x359)]),_0x229552=_0x1c16ae[_0xeb3d98(0x39f)](_0x567e1d[_0xeb3d98(0x32e)]),_0x500313=_0x1c16ae[_0xeb3d98(0x39f)](_0x567e1d[_0xeb3d98(0x1cf)]);return(0x0,_0x11447f[_0xeb3d98(0x2d8)])(_0x229552)?(_0x42b32d==null?void 0x0:_0x42b32d[_0xeb3d98(0x52d)])==='close'?(_0x578c30[_0xeb3d98(0x589)](_0x46acea),!0x0):(_0x578c30[_0xeb3d98(0x395)]({'id':_0x46acea,'header':{'title':_0x54ccb1['t'](_0xeb3d98(0x275))},'children':{'label':_0x46acea},'onClose':()=>{const _0x4381da=_0xeb3d98;_0x500313[_0x4381da(0x34d)](_0x36b4c7[_0x4381da(0x394)]['id'],[]);},'width':0x168}),!0x0):!0x1;}},_0x55af59={'type':_0x567e1d[_0x718440(0x26b)]['OPERATION'],'id':_0x718440(0x2b5),'handler'(){return!0x0;}};function _0x581a84(_0xb2fc8){const _0x5a8cc2=_0x718440;let _0x344a33=_0xb2fc8[_0x5a8cc2(0x39f)](_0x36b4c7[_0x5a8cc2(0x529)])[_0x5a8cc2(0x447)](),_0x42b241=_0x344a33[_0x5a8cc2(0x212)]===0x1?_0x344a33[0x0]:null;if(!_0x42b241||_0x42b241[_0x5a8cc2(0x37f)]!==_0x567e1d[_0x5a8cc2(0x2f1)]['DRAWING_SHAPE'])return null;let _0x23bd9c=_0xb2fc8[_0x5a8cc2(0x39f)](_0x239f56[_0x5a8cc2(0x3db)]),_0xf2c253=_0x23bd9c[_0x5a8cc2(0x2cd)](_0x42b241[_0x5a8cc2(0x45d)],_0x42b241['subUnitId'],_0x42b241[_0x5a8cc2(0x25d)]),_0x2e0831=_0x23bd9c['getShapeDataById'](_0x42b241[_0x5a8cc2(0x45d)],_0x42b241[_0x5a8cc2(0x31f)],_0x42b241['drawingId']);return _0xf2c253===void 0x0||!_0x2e0831?null:{'drawing':_0x42b241,'shapeData':_0x2e0831,'shapeType':_0xf2c253};}let _0x2ecd4a={'id':_0x718440(0x486),'type':_0x567e1d[_0x718440(0x26b)][_0x718440(0x494)],'handler':(_0x270d9f,_0x58293c)=>{const _0x5ad30c=_0x718440;let _0x3d6ac9=_0x581a84(_0x270d9f),_0x29c2c4=(0x0,_0x42b73e[_0x5ad30c(0x208)])((_0x58293c==null?void 0x0:_0x58293c[_0x5ad30c(0x2d0)])??(_0x58293c==null?void 0x0:_0x58293c[_0x5ad30c(0x52d)])??'');if(!_0x3d6ac9||!_0x29c2c4||_0x29c2c4[_0x5ad30c(0x19f)]!==(0x0,_0x42b73e[_0x5ad30c(0x376)])(_0x3d6ac9[_0x5ad30c(0x522)]))return!0x1;let _0x559f3a=(0x0,_0x42b73e[_0x5ad30c(0x336)])(_0x3d6ac9['shapeData'],_0x29c2c4);if(!_0x559f3a)return!0x1;let {drawing:_0x37e6e2}=_0x3d6ac9;return _0x270d9f[_0x5ad30c(0x39f)](_0x567e1d[_0x5ad30c(0x1cf)])[_0x5ad30c(0x3c0)](_0x1f4f18['id'],{'unitId':_0x37e6e2[_0x5ad30c(0x45d)],'subUnitId':_0x37e6e2[_0x5ad30c(0x31f)],'shapeId':_0x37e6e2[_0x5ad30c(0x25d)],'shapeData':_0x559f3a,'oldShapeJSON':{'oldShapeData':_0x3d6ac9[_0x5ad30c(0x522)]}});}},_0x471ba4={'id':_0x718440(0x2e4),'type':_0x567e1d[_0x718440(0x26b)][_0x718440(0x494)],'handler':(_0x2116d4,_0x2bea77)=>{const _0x3cdc90=_0x718440;let _0x395e61=_0x581a84(_0x2116d4),_0x31ff1c=(_0x2bea77==null?void 0x0:_0x2bea77[_0x3cdc90(0x3d5)])??(_0x2bea77==null?void 0x0:_0x2bea77['value']);if(!_0x395e61||!_0x31ff1c||(0x0,_0x34f551[_0x3cdc90(0x22d)])(_0x395e61[_0x3cdc90(0x3d5)])||(0x0,_0x34f551[_0x3cdc90(0x22d)])(_0x31ff1c))return!0x1;let _0x1b74b5=(0x0,_0x42b73e[_0x3cdc90(0x33a)])(_0x395e61['shapeData'],_0x31ff1c);if(!_0x1b74b5)return!0x1;let {drawing:_0x2d4909}=_0x395e61;return _0x2116d4[_0x3cdc90(0x39f)](_0x567e1d[_0x3cdc90(0x1cf)])[_0x3cdc90(0x3c0)](_0x1f4f18['id'],{'unitId':_0x2d4909[_0x3cdc90(0x45d)],'subUnitId':_0x2d4909[_0x3cdc90(0x31f)],'shapeId':_0x2d4909[_0x3cdc90(0x25d)],'shapeType':_0x31ff1c,'shapeData':_0x1b74b5,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x395e61[_0x3cdc90(0x3d5)],'oldShapeData':_0x395e61['shapeData']}});}},_0x392613=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x449e00,_0x2922dc){const _0x242e07=_0x718440;super(),this[_0x242e07(0x56e)]=_0x449e00,this['_drawingManagerService']=_0x2922dc,this[_0x242e07(0x2ae)](),this[_0x242e07(0x56e)][_0x242e07(0x592)](!0x0),this[_0x242e07(0x503)]({'dispose':()=>this[_0x242e07(0x56e)][_0x242e07(0x592)](!0x1)});}[_0x718440(0x2ae)](){const _0x366750=_0x718440;let _0x1484f9=this[_0x366750(0x56e)],_0x3be8d2=new Map(),_0x165a1b=_0x1484f9[_0x366750(0x4e1)]((_0x211741,_0x2aa346,_0x172b3b,_0x9b0fbc,_0x4d4a58)=>{const _0xde70eb=_0x366750;let _0x504e91=_0x2aa346;if(_0x504e91===_0x34f551['ShapeTypeEnum'][_0xde70eb(0x551)]||_0x2aa346===_0xde70eb(0x3d3))return!0x1;try{let _0x264700=_0x3be8d2[_0xde70eb(0x39f)](_0x2aa346);return _0x264700||(_0x264700=new _0x34f551[(_0xde70eb(0x303))](_0x504e91,'clip-'+_0x2aa346),_0x3be8d2[_0xde70eb(0x327)](_0x2aa346,_0x264700)),_0x264700['clearAdjustValue'](),_0x4d4a58&&Object[_0xde70eb(0x337)](_0x4d4a58)[_0xde70eb(0x212)]>0x0&&_0x264700[_0xde70eb(0x33f)]({'adjustValues':_0x4d4a58},!0x0),_0x264700[_0xde70eb(0x1bc)]({'width':_0x172b3b,'height':_0x9b0fbc}),_0x264700[_0xde70eb(0x417)](_0x211741,{'left':0x0,'top':0x0,'width':_0x172b3b,'height':_0x9b0fbc});}catch{return!0x1;}});this[_0x366750(0x503)](_0x165a1b),this[_0x366750(0x503)]({'dispose':()=>_0x3be8d2[_0x366750(0x407)]()});}[_0x718440(0x1d8)](_0x5cc5c6,_0x122cbf,_0x1b6266,_0x21c9dc,_0x2f6bd4){const _0x5a5e4=_0x718440;let _0x174ff7=this[_0x5a5e4(0x2a8)]['getDrawingData'](_0x5cc5c6,_0x122cbf);if(!_0x174ff7[_0x1b6266])return;let _0x5829c0={..._0x174ff7[_0x1b6266],'prstGeom':_0x21c9dc,'adjustValues':_0x2f6bd4};this[_0x5a5e4(0x2a8)][_0x5a5e4(0x230)]([_0x5829c0]);}};_0x392613=_0xb31b0c([_0x519f13(0x0,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x44d5e4[_0x718440(0x461)])),_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x36b4c7[_0x718440(0x529)]))],_0x392613);let _0x4440a=_0x718440(0x2e2),_0x16e69b=_0x718440(0x300);function _0x321dea({onShapeClick:_0x2a8f2c,excludeGroups:_0x2544ba}){const _0x252eb1=_0x718440;return(0x0,_0x1a5094[_0x252eb1(0x2bb)])(_0x54a51b[_0x252eb1(0x1fb)],{'excludeGroups':_0x2544ba,'onShapeClick':_0x2a8f2c,'scrollContainer':_0x252eb1(0x1ae)});}function _0x192670(){const _0x21ef6f=_0x718440;let _0x4589ff=(0x0,_0x5744c6[_0x21ef6f(0x391)])(_0x36b4c7[_0x21ef6f(0x529)]),_0x1cdf8d=(0x0,_0x5744c6[_0x21ef6f(0x391)])(_0x392613);return(0x0,_0x1a5094['jsx'])(_0x54a51b[_0x21ef6f(0x2c2)],{'buttonLabel':_0x21ef6f(0x3c6),'excludeGroups':[_0x54a51b[_0x21ef6f(0x58f)][_0x21ef6f(0x1db)]],'onShapeClick':_0x3956db=>{const _0x2481c5=_0x21ef6f;let _0x31c8bd=_0x4589ff[_0x2481c5(0x447)]()[_0x2481c5(0x1d5)](_0x130c27=>_0x130c27[_0x2481c5(0x37f)]===_0x567e1d[_0x2481c5(0x2f1)][_0x2481c5(0x1d9)]);if(!_0x31c8bd)return;let {unitId:_0x4fdeca,subUnitId:_0x1e1874,drawingId:_0x276fc9}=_0x31c8bd;_0x1cdf8d['clipByShape'](_0x4fdeca,_0x1e1874,_0x276fc9,_0x3956db['type']);}});}function _0x4190ca(){const _0x396eb8=_0x718440;let _0x418282=(0x0,_0x5744c6[_0x396eb8(0x391)])(_0x36b4c7[_0x396eb8(0x529)]),_0x2eb66f=(0x0,_0x5744c6[_0x396eb8(0x391)])(_0x392613);return(0x0,_0x1a5094[_0x396eb8(0x2bb)])(_0x54a51b[_0x396eb8(0x2c2)],{'buttonLabel':_0x396eb8(0x3c6),'excludeGroups':[_0x54a51b[_0x396eb8(0x58f)][_0x396eb8(0x1db)]],'DropdownComponent':_0x41b81b['MobileDropdown'],'onShapeClick':_0x1d11f1=>{const _0x11276d=_0x396eb8;let _0x58d471=_0x418282[_0x11276d(0x447)]()[_0x11276d(0x1d5)](_0x55eda=>_0x55eda['drawingType']===_0x567e1d['DrawingTypeEnum'][_0x11276d(0x1d9)]);if(!_0x58d471)return;let {unitId:_0x47049a,subUnitId:_0x5563ab,drawingId:_0x2447f6}=_0x58d471;_0x2eb66f[_0x11276d(0x1d8)](_0x47049a,_0x5563ab,_0x2447f6,_0x1d11f1[_0x11276d(0x19f)]);}});}function _0xa77841(){const _0x37db9e=_0x718440;let _0x31ea64=(0x0,_0x5744c6['useDependency'])(_0x5744c6[_0x37db9e(0x20b)]),_0x215106=(0x0,_0x5744c6[_0x37db9e(0x391)])(_0x36b4c7['IDrawingManagerService']),_0x5b38c5=(0x0,_0x5744c6[_0x37db9e(0x391)])(_0x567e1d[_0x37db9e(0x32e)]),_0x306887=_0x215106['getFocusDrawings']()[0x0],_0x4b8b0a=_0x306887?_0x5b38c5[_0x37db9e(0x331)](_0x306887[_0x37db9e(0x45d)]):void 0x0,_0x1b9995=_0x4b8b0a===_0x567e1d[_0x37db9e(0x1e5)][_0x37db9e(0x420)]?'doc.image-clip.shape-picker.component':_0x4b8b0a===_0x567e1d['UniverInstanceType'][_0x37db9e(0x2e6)]?_0x16e69b:void 0x0,_0x383495=_0x1b9995?_0x31ea64[_0x37db9e(0x39f)](_0x1b9995):void 0x0;return _0x383495?(0x0,_0x1a5094[_0x37db9e(0x2bb)])(_0x383495,{}):null;}function _0x5bb668(){const _0x32a7c3=_0x718440;let _0x1fbcce=(0x0,_0x5744c6['useDependency'])(_0x567e1d[_0x32a7c3(0x1cf)]);return(0x0,_0x1a5094[_0x32a7c3(0x2bb)])(_0x321dea,{'onShapeClick':_0x1f206d=>{const _0x2623ba=_0x32a7c3;_0x1fbcce[_0x2623ba(0x3c0)](_0x31381b['id'],{'value':_0x1f206d[_0x2623ba(0x19f)],'enhanceParams':{'endArrow':_0x1f206d[_0x2623ba(0x30d)],'startArrow':_0x1f206d[_0x2623ba(0x349)],'horizontal':_0x1f206d[_0x2623ba(0x541)],'vertical':_0x1f206d[_0x2623ba(0x3d6)]}});}});}function _0x373485(){const _0x45d43a=_0x718440;return(0x0,_0x1a5094[_0x45d43a(0x2bb)])(_0x5bb668,{});}function _0x571263(_0x515c38){const _0x19ee46=_0x718440;let _0x5c9af1=_0x515c38[_0x19ee46(0x39f)](_0x567e1d[_0x19ee46(0x32e)]);return{'id':_0x31381b['id'],'type':_0x5744c6[_0x19ee46(0x4a0)][_0x19ee46(0x466)],'selections':[{'label':{'name':_0x4440a,'hoverable':!0x1,'selectable':!0x1,'props':{'id':_0x31381b['id']}}}],'icon':_0x19ee46(0x1c3),'tooltip':'sheets-shape-ui.insertShape','activated$':(0x0,_0x17eed7[_0x19ee46(0x2c4)])(_0x5c9af1,!0x1,()=>new _0x1d246a[(_0x19ee46(0x29d))](_0xed49ce=>{_0xed49ce['next'](!0x1);})),'hidden$':(0x0,_0x5744c6[_0x19ee46(0x1d0)])(_0x515c38,_0x567e1d[_0x19ee46(0x1e5)]['UNIVER_SHEET']),'disabled$':(0x0,_0x17eed7[_0x19ee46(0x27d)])(_0x515c38)};}function _0x4ff684(_0x39d618){const _0x54045c=_0x718440;let _0x54caf5=_0x39d618[_0x54045c(0x39f)](_0x567e1d['IUniverInstanceService']);return{'id':_0x465174['id'],'type':_0x5744c6['MenuItemType'][_0x54045c(0x1e1)],'icon':_0x54045c(0x24f),'title':_0x54045c(0x4bf),'tooltip':_0x54045c(0x4bf),'activated$':(0x0,_0x17eed7[_0x54045c(0x2c4)])(_0x54caf5,!0x1,()=>new _0x1d246a[(_0x54045c(0x29d))](_0x3c497f=>{const _0x542871=_0x54045c;_0x3c497f[_0x542871(0x34f)](!0x1);})),'hidden$':(0x0,_0x5744c6[_0x54045c(0x1d0)])(_0x39d618,_0x567e1d['UniverInstanceType'][_0x54045c(0x2e6)]),'disabled$':(0x0,_0x17eed7[_0x54045c(0x27d)])(_0x39d618)};}let _0x1e9955='sheet.menu.shape.flip-horizontal',_0x286dc9=_0x718440(0x26f);function _0x4c09b1(_0x2bac3b){const _0x228bb7=_0x718440;let _0x22496d=_0x2bac3b[_0x228bb7(0x39f)](_0x36b4c7[_0x228bb7(0x529)])[_0x228bb7(0x447)]();return _0x22496d[_0x228bb7(0x212)]===0x1&&_0x22496d[0x0][_0x228bb7(0x37f)]===_0x567e1d[_0x228bb7(0x2f1)]['DRAWING_SHAPE']?_0x22496d[0x0]:null;}function _0x12ac6b(_0x1176ba){const _0x4ac221=_0x718440;let _0x26b29a=_0x1176ba[_0x4ac221(0x39f)](_0x36b4c7[_0x4ac221(0x529)]);return _0x26b29a[_0x4ac221(0x470)][_0x4ac221(0x2da)]((0x0,_0x1d246a['startWith'])(_0x26b29a[_0x4ac221(0x447)]()),(0x0,_0x1d246a[_0x4ac221(0x3e8)])(_0x1247bc=>_0x1247bc['length']!==0x1||_0x1247bc[0x0][_0x4ac221(0x37f)]!==_0x567e1d[_0x4ac221(0x2f1)][_0x4ac221(0x20f)]));}function _0x41bc05(_0x3213f0){const _0x3aeb0c=_0x718440;return{'id':_0x1e9955,'commandId':_0x239f56[_0x3aeb0c(0x335)]['id'],'type':_0x5744c6['MenuItemType'][_0x3aeb0c(0x1e1)],'title':_0x3aeb0c(0x353),'tooltip':'sheets-shape-ui.flipHorizontal','icon':_0x3aeb0c(0x481),'hidden$':_0x12ac6b(_0x3213f0),'params':()=>{const _0x5be54a=_0x3aeb0c;let _0x5e4e3c=_0x4c09b1(_0x3213f0);return _0x5e4e3c?{'unitId':_0x5e4e3c[_0x5be54a(0x45d)],'subUnitId':_0x5e4e3c['subUnitId'],'shapeId':_0x5e4e3c[_0x5be54a(0x25d)],'flipH':!0x0}:void 0x0;}};}function _0x341038(_0x2fd51c){const _0x364c8b=_0x718440;return{'id':_0x286dc9,'commandId':_0x239f56[_0x364c8b(0x335)]['id'],'type':_0x5744c6[_0x364c8b(0x4a0)]['BUTTON'],'title':_0x364c8b(0x30e),'tooltip':_0x364c8b(0x30e),'icon':_0x364c8b(0x30b),'hidden$':_0x12ac6b(_0x2fd51c),'params':()=>{const _0x262dd2=_0x364c8b;let _0x1f9feb=_0x4c09b1(_0x2fd51c);return _0x1f9feb?{'unitId':_0x1f9feb[_0x262dd2(0x45d)],'subUnitId':_0x1f9feb[_0x262dd2(0x31f)],'shapeId':_0x1f9feb['drawingId'],'flipV':!0x0}:void 0x0;}};}let _0x1b92b5=_0x718440(0x54b),_0x5e79d8=_0x718440(0x30c),_0x70ed4a=_0x718440(0x2f9),_0x5908f2=_0x718440(0x2e8);function _0x22c104(){const _0x4d7888=_0x718440;let _0x914895=(0x0,_0x5744c6['useDependency'])(_0x567e1d[_0x4d7888(0x1cf)]),_0x36aed6=(0x0,_0x5744c6[_0x4d7888(0x391)])(_0x36b4c7[_0x4d7888(0x529)]),_0x52c9a2=(0x0,_0x5744c6['useDependency'])(_0x239f56[_0x4d7888(0x3db)]),_0x1f77d1=()=>{const _0x8f3e06=_0x4d7888;var _0x486e04;let _0x555236=_0x36aed6[_0x8f3e06(0x447)]();if(_0x555236[_0x8f3e06(0x212)]!==0x1||((_0x486e04=_0x555236[0x0])==null?void 0x0:_0x486e04[_0x8f3e06(0x37f)])!==_0x567e1d['DrawingTypeEnum'][_0x8f3e06(0x20f)])return null;let {unitId:_0x3fbe23,subUnitId:_0x2d5ff7,drawingId:_0x52728f}=_0x555236[0x0],_0x1cc22b=_0x52c9a2['getShapeTypeById'](_0x3fbe23,_0x2d5ff7,_0x52728f),_0x572437=_0x52c9a2['getShapeDataById'](_0x3fbe23,_0x2d5ff7,_0x52728f);return _0x1cc22b===void 0x0||!_0x572437?null:{'unitId':_0x3fbe23,'subUnitId':_0x2d5ff7,'drawingId':_0x52728f,'shapeType':_0x1cc22b,'shapeData':_0x572437};},_0x33cff9=(0x0,_0x5744c6[_0x4d7888(0x329)])(()=>new _0x1d246a[(_0x4d7888(0x29d))](_0x1b869a=>{const _0x481f6f=_0x4d7888;let _0x7b17ba=()=>_0x1b869a[_0x481f6f(0x34f)](_0x1f77d1()),_0x26e881=_0x36aed6[_0x481f6f(0x470)][_0x481f6f(0x374)](_0x7b17ba),_0x3f87d9=_0x914895['onCommandExecuted'](_0x408f81=>{const _0x2ac08f=_0x481f6f;_0x408f81['id']===_0x239f56[_0x2ac08f(0x302)]['id']&&_0x7b17ba();});return _0x7b17ba(),()=>{const _0xde52c4=_0x481f6f;_0x26e881[_0xde52c4(0x301)](),_0x3f87d9['dispose']();};}),_0x1f77d1(),!0x1,[_0x914895,_0x36aed6,_0x52c9a2]);return{'selection':_0x33cff9,'updateShapeData':_0x32cc1a=>{const _0x59f20d=_0x4d7888;_0x33cff9&&_0x322a2b(_0x914895,_0x33cff9[_0x59f20d(0x45d)],_0x33cff9[_0x59f20d(0x31f)],_0x33cff9['drawingId'],{'oldShapeData':_0x33cff9[_0x59f20d(0x522)]},_0x32cc1a);}};}function _0x5d0f5f(){const _0x317b11=_0x718440;let {selection:_0x376416,updateShapeData:_0x3724f6}=_0x22c104();return _0x376416?(0x0,_0x1a5094['jsx'])(_0x54a51b[_0x317b11(0x580)],{'shapeData':_0x376416[_0x317b11(0x522)],'shapeType':_0x376416[_0x317b11(0x3d5)],'onUpdateShapeData':_0x3724f6}):null;}function _0x491081(){const _0x520d69=_0x718440;let _0x35689c=(0x0,_0x5744c6[_0x520d69(0x391)])(_0x567e1d['ICommandService']),_0x3c8ea7=(0x0,_0x5744c6[_0x520d69(0x391)])(_0x567e1d[_0x520d69(0x359)]),{selection:_0x2dcab8}=_0x22c104();return _0x2dcab8?(0x0,_0x1a5094[_0x520d69(0x2bb)])(_0x54a51b[_0x520d69(0x57b)],{'type':(0x0,_0x42b73e['getShapeQuickStyleType'])(_0x2dcab8[_0x520d69(0x522)]),'ariaLabel':_0x3c8ea7['t'](_0x520d69(0x36f)),'activePresetId':(0x0,_0x42b73e[_0x520d69(0x3b6)])(_0x2dcab8[_0x520d69(0x522)]),'onSelect':_0x159c28=>_0x35689c[_0x520d69(0x3c0)](_0x2ecd4a['id'],{'presetId':_0x159c28})}):null;}function _0x19da7f(){const _0x4f1d52=_0x718440;let {selection:_0x4ddd5d,updateShapeData:_0x24ce25}=_0x22c104();return _0x4ddd5d?(0x0,_0x1a5094[_0x4f1d52(0x2bb)])(_0x54a51b[_0x4f1d52(0x2d5)],{'fontFamilyPopupDataComponent':'sheets-shape-format-font-family-menu','shapeData':_0x4ddd5d['shapeData'],'onUpdateShapeData':_0x24ce25}):null;}function _0xcd1106(){const _0x2295cc=_0x718440;var _0x1663df;let {selection:_0x124988,updateShapeData:_0xd72066}=_0x22c104(),_0x4a1a4c=(0x0,_0x54a51b[_0x2295cc(0x55f)])({'hostType':_0x567e1d[_0x2295cc(0x1e5)][_0x2295cc(0x2e6)],'unitId':(_0x124988==null?void 0x0:_0x124988[_0x2295cc(0x45d)])??'','subUnitId':(_0x124988==null?void 0x0:_0x124988[_0x2295cc(0x31f)])??'','shapeId':(_0x124988==null?void 0x0:_0x124988[_0x2295cc(0x25d)])??'','shapeData':_0x124988==null?void 0x0:_0x124988[_0x2295cc(0x522)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x2295cc(0x2e3),'onUpdateBinding':_0x59c019=>_0xd72066({'formulaBinding':_0x59c019})}),_0x5195a9=((_0x1663df=_0x4a1a4c['extensionGroups'])==null?void 0x0:_0x1663df[_0x2295cc(0x44d)](_0x5a7d34=>_0x5a7d34['actions'])[_0x2295cc(0x3c1)](_0x5c11ee=>_0x5c11ee[_0x2295cc(0x47b)]!==!0x1))??[];return _0x124988!=null&&_0x124988['shapeData']['formulaBinding']?(0x0,_0x1a5094[_0x2295cc(0x2bb)])(_0x54a51b[_0x2295cc(0x4be)],{'actions':_0x5195a9,'panel':_0x4a1a4c[_0x2295cc(0x4ee)]}):null;}let _0x2cbb19=_0x718440(0x46d),_0xd66f07=_0x718440(0x36c),_0x9836ef=_0x718440(0x1aa),_0x6604e9=_0x718440(0x509),_0x502bb9=_0x718440(0x57a),_0x2d50a6=_0x718440(0x224),_0x503170='sheets-shape-ui.ribbon.shape-format.arrange-back';function _0x1ec86f(_0x59ef43){const _0x4ab2d6=_0x718440;let _0x55760b=_0x59ef43[_0x4ab2d6(0x39f)](_0x567e1d[_0x4ab2d6(0x1cf)]),_0x1ea858=_0x59ef43[_0x4ab2d6(0x39f)](_0x36b4c7['IDrawingManagerService']),_0x34e9e2=_0x59ef43[_0x4ab2d6(0x39f)](_0x239f56[_0x4ab2d6(0x3db)]);return new _0x1d246a[(_0x4ab2d6(0x29d))](_0x36d1fc=>{const _0x2592c6=_0x4ab2d6;let _0x1e9a01=()=>{const _0x302f6c=_0x49ca;let _0x46ce2a=_0x551983(_0x59ef43),_0xbd8e70=_0x46ce2a?_0x34e9e2[_0x302f6c(0x203)](_0x46ce2a[_0x302f6c(0x45d)],_0x46ce2a[_0x302f6c(0x31f)],_0x46ce2a['drawingId']):null;_0x36d1fc['next'](_0xbd8e70?(0x0,_0x42b73e[_0x302f6c(0x3b6)])(_0xbd8e70)??'':'');},_0x4abcfc=_0x1ea858[_0x2592c6(0x470)][_0x2592c6(0x374)](_0x1e9a01),_0x38450b=_0x55760b[_0x2592c6(0x4c2)](_0x5381b7=>{_0x5381b7['id']===_0x239f56['UpdateSheetsShapeDataMutation']['id']&&_0x1e9a01();});return _0x1e9a01(),()=>{const _0x4e7cc5=_0x2592c6;_0x4abcfc['unsubscribe'](),_0x38450b[_0x4e7cc5(0x4dd)]();};});}function _0x551983(_0x1f8e34){const _0x1cddf7=_0x718440;var _0x423bf1;let _0x44d2e2=_0x1f8e34[_0x1cddf7(0x39f)](_0x36b4c7[_0x1cddf7(0x529)])[_0x1cddf7(0x447)]();return _0x44d2e2[_0x1cddf7(0x212)]===0x1&&((_0x423bf1=_0x44d2e2[0x0])==null?void 0x0:_0x423bf1[_0x1cddf7(0x37f)])===_0x567e1d[_0x1cddf7(0x2f1)][_0x1cddf7(0x20f)]?_0x44d2e2[0x0]:null;}function _0x6b4b0b(_0x3cf8ca,_0x308cdc=!0x1){const _0x504481=_0x718440;let _0x14557b=_0x3cf8ca[_0x504481(0x39f)](_0x567e1d['ICommandService']),_0x5f3c3c=_0x3cf8ca[_0x504481(0x39f)](_0x36b4c7[_0x504481(0x529)]),_0x7977dc=_0x3cf8ca[_0x504481(0x39f)](_0x239f56['SheetsShapeService']);return new _0x1d246a[(_0x504481(0x29d))](_0x1414f8=>{const _0x597642=_0x504481;let _0x5a8b5e=()=>{const _0x26721c=_0x49ca;let _0x264aed=_0x551983(_0x3cf8ca);if(!_0x264aed){_0x1414f8[_0x26721c(0x34f)](!0x0);return;}let _0x2843a7=_0x7977dc[_0x26721c(0x203)](_0x264aed['unitId'],_0x264aed['subUnitId'],_0x264aed[_0x26721c(0x25d)]);_0x1414f8[_0x26721c(0x34f)](!_0x2843a7||_0x308cdc&&_0x2843a7[_0x26721c(0x270)]==null);},_0x409173=_0x5f3c3c[_0x597642(0x470)]['subscribe'](_0x5a8b5e),_0x321dcd=_0x14557b[_0x597642(0x4c2)](_0x3ab12f=>{const _0x2e4877=_0x597642;_0x3ab12f['id']===_0x239f56[_0x2e4877(0x302)]['id']&&_0x5a8b5e();});return _0x5a8b5e(),()=>{const _0x95ddfc=_0x597642;_0x409173[_0x95ddfc(0x301)](),_0x321dcd[_0x95ddfc(0x4dd)]();};});}function _0x12b453(_0x3d3ee8){const _0x160a65=_0x718440;let _0x1d16e6=_0x3d3ee8['get'](_0x36b4c7[_0x160a65(0x529)]),_0x4b1303=_0x3d3ee8[_0x160a65(0x39f)](_0x239f56[_0x160a65(0x3db)]);return _0x1d16e6[_0x160a65(0x470)]['pipe']((0x0,_0x1d246a['startWith'])(_0x1d16e6[_0x160a65(0x447)]()),(0x0,_0x1d246a[_0x160a65(0x3e8)])(()=>{const _0x590070=_0x160a65;let _0xd4a055=_0x551983(_0x3d3ee8),_0x10859f=_0xd4a055?_0x4b1303[_0x590070(0x2cd)](_0xd4a055[_0x590070(0x45d)],_0xd4a055[_0x590070(0x31f)],_0xd4a055[_0x590070(0x25d)]):void 0x0;return _0x10859f===void 0x0||(0x0,_0x34f551['isConnectorShape'])(_0x10859f);}));}function _0x287e83(_0x3c5938){const _0x450aa6=_0x718440;return{'id':_0x2ecd4a['id'],'type':_0x5744c6[_0x450aa6(0x4a0)][_0x450aa6(0x466)],'icon':_0x450aa6(0x4c6),'title':_0x450aa6(0x4a6),'tooltip':'shape-editor-ui.toolbar.quickStyles','selections':[{'label':{'name':_0x1b92b5,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x1ec86f(_0x3c5938),'hidden$':_0x6b4b0b(_0x3c5938)};}function _0x45756c(_0x58880d){const _0x2c46e1=_0x718440;return{'id':_0x471ba4['id'],'type':_0x5744c6[_0x2c46e1(0x4a0)]['SELECTOR'],'icon':_0x2c46e1(0x1c3),'title':_0x2c46e1(0x19c),'tooltip':_0x2c46e1(0x19c),'slot':!0x0,'selections':[{'label':{'name':_0x54a51b[_0x2c46e1(0x4f5)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x12b453(_0x58880d)};}function _0x3253da(_0x2bad6c,_0x5343dd,_0x2f51b4=!0x1){const _0x4fdef8=_0x718440;return _0xfa6737=>({'id':_0x2bad6c,'type':_0x5744c6[_0x4fdef8(0x4a0)]['BUTTON'],'label':{'name':_0x5343dd,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x6b4b0b(_0xfa6737,_0x2f51b4)});}let _0x4d412e=_0x3253da(_0x2cbb19,_0x5e79d8),_0x1ebcf3=_0x3253da(_0xd66f07,_0x70ed4a),_0xd9dbe3=_0x3253da(_0x9836ef,_0x5908f2,!0x0);function _0x1b3e67(_0x57066a,_0x8b06ba,_0x4cf9ae,_0x4c7d0c){const _0x565f36=_0x718440;return _0x10eb31=>({'id':_0x57066a,'commandId':_0x1f8323[_0x565f36(0x364)]['id'],'type':_0x5744c6[_0x565f36(0x4a0)]['BUTTON'],'icon':_0x4cf9ae,'title':_0x4c7d0c,'tooltip':_0x4c7d0c,'hidden$':_0x6b4b0b(_0x10eb31),'params':()=>{const _0x50ebc0=_0x565f36;let _0x4c6ec1=_0x551983(_0x10eb31);return _0x4c6ec1?{'unitId':_0x4c6ec1[_0x50ebc0(0x45d)],'subUnitId':_0x4c6ec1['subUnitId'],'drawingIds':[_0x4c6ec1[_0x50ebc0(0x25d)]],'arrangeType':_0x8b06ba}:void 0x0;}});}let _0x2a0615=_0x1b3e67(_0x6604e9,_0x567e1d[_0x718440(0x22f)][_0x718440(0x285)],'MoveUpIcon','shape-editor-ui.arrange.forward'),_0x4835fe=_0x1b3e67(_0x502bb9,_0x567e1d[_0x718440(0x22f)][_0x718440(0x492)],_0x718440(0x26a),_0x718440(0x584)),_0x222ad6=_0x1b3e67(_0x2d50a6,_0x567e1d['ArrangeTypeEnum'][_0x718440(0x323)],_0x718440(0x267),_0x718440(0x3af)),_0xf5e5d8=_0x1b3e67(_0x503170,_0x567e1d[_0x718440(0x22f)][_0x718440(0x4fe)],_0x718440(0x2b7),_0x718440(0x1cd));function _0x63688c(_0x966c6a){const _0x1348ef=_0x718440;return{'id':_0x55af59['id'],'type':_0x5744c6[_0x1348ef(0x4a0)][_0x1348ef(0x1e1)],'icon':'ShapeFormatSettingIcon','title':_0x1348ef(0x4d6),'tooltip':_0x1348ef(0x4d6),'hidden$':_0x6b4b0b(_0x966c6a),'params':()=>{const _0x454111=_0x1348ef;let _0x4466d9=_0x551983(_0x966c6a);return _0x4466d9?{'unitId':_0x4466d9[_0x454111(0x45d)],'subUnitId':_0x4466d9[_0x454111(0x31f)],'drawingId':_0x4466d9['drawingId']}:void 0x0;}};}let _0x5a4d9c={[_0x5744c6['MenuManagerPosition'][_0x718440(0x2d9)]]:{[_0x32af6f]:{'order':0x64,'title':_0x718440(0x4d6),'contextual':!0x0,'sheets-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x2ecd4a['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x287e83},[_0x471ba4['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x45756c}},'sheets-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x2cbb19]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x4d412e}},'sheets-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0xd66f07]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x1ebcf3}},'sheets-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x1e9955]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x41bc05},[_0x286dc9]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x341038},[_0x6604e9]:{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x2a0615},[_0x502bb9]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x4835fe},[_0x2d50a6]:{'order':0x4,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x222ad6},[_0x503170]:{'order':0x5,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0xf5e5d8}},'sheets-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x9836ef]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0xd9dbe3}},'sheets-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x55af59['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x63688c},[_0x54a51b['ToggleShapeFloatingToolbarOperation']['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x54a51b[_0x718440(0x51d)]}}}}},_0x254fae={[_0x5744c6[_0x718440(0x22a)][_0x718440(0x467)]]:{[_0x31381b['id']]:{'order':0x4,'menuItemFactory':_0x571263}}},_0x4fc050={..._0x254fae,[_0x5744c6[_0x718440(0x22a)][_0x718440(0x31a)]]:{[_0x465174['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x4ff684}},[_0x5744c6[_0x718440(0x3b2)][_0x718440(0x514)]]:{[_0x5744c6[_0x718440(0x344)][_0x718440(0x31a)]]:{[_0x1e9955]:{'order':0x4,'menuItemFactory':_0x41bc05},[_0x286dc9]:{'order':0x5,'menuItemFactory':_0x341038}}}};var _0x1b0553=_0x718440(0x1d2),_0x1ae96e=_0x718440(0x382);let _0x55f058={'id':_0x718440(0x22e),'type':_0x567e1d[_0x718440(0x26b)][_0x718440(0x494)],'handler'(_0x41b94a,_0x43fe81){const _0x4db85a=_0x718440;return _0x43fe81?(_0x41b94a[_0x4db85a(0x39f)](_0x54a51b[_0x4db85a(0x24d)])[_0x4db85a(0x395)](_0x43fe81[_0x4db85a(0x48c)],{'hostType':_0x567e1d['UniverInstanceType'][_0x4db85a(0x2e6)],'shapeId':_0x43fe81[_0x4db85a(0x25d)],'subUnitId':_0x43fe81[_0x4db85a(0x31f)],'unitId':_0x43fe81[_0x4db85a(0x45d)]}),!0x0):!0x1;}},_0x31802e=_0x718440(0x294),_0x3dd284={},_0x47426e=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x2ae240,_0x2151d1,_0x2a9416,_0x350dd1,_0x3e399f){const _0x19db61=_0x718440;super(),this[_0x19db61(0x2f6)]=_0x2ae240,this['_drawingManagerService']=_0x2151d1,this['_renderManagerService']=_0x2a9416,this[_0x19db61(0x34a)]=_0x350dd1,this['_imageShapeClipController']=_0x3e399f,_0x55cc91(this,'_activeImageId',null),_0x55cc91(this,_0x19db61(0x527),null),_0x55cc91(this,_0x19db61(0x545),null),_0x55cc91(this,_0x19db61(0x557),void 0x0),_0x55cc91(this,_0x19db61(0x330),[]),_0x55cc91(this,_0x19db61(0x35c),0x0),_0x55cc91(this,_0x19db61(0x384),0x0),_0x55cc91(this,'_baseWidth',0x0),_0x55cc91(this,_0x19db61(0x238),0x0),_0x55cc91(this,_0x19db61(0x1b6),!0x1),_0x55cc91(this,_0x19db61(0x1c7),void 0x0),_0x55cc91(this,_0x19db61(0x2f3),void 0x0),_0x55cc91(this,_0x19db61(0x3e5),void 0x0),_0x55cc91(this,'_adjHandlerPointerUp',void 0x0),_0x55cc91(this,_0x19db61(0x52c),!0x1),this[_0x19db61(0x37a)](),this[_0x19db61(0x3bc)]();}[_0x718440(0x1b8)](){const _0xcd93d=_0x718440;this[_0xcd93d(0x4cb)]();}['refreshAdjustControls'](){const _0x3d6887=_0x718440;this['_clearControls'](),this[_0x3d6887(0x347)](!0x0);}[_0x718440(0x4d1)](_0x2fcdd6,_0x14b25a,_0x384ea3,_0x186ce8){const _0x14b484=_0x718440;let _0x3535ee=_0x2fcdd6;if(_0x3535ee!==_0x34f551[_0x14b484(0x1ea)]['None']&&_0x2fcdd6!=='custom')try{let _0x1512ca=new _0x34f551[(_0x14b484(0x303))](_0x3535ee,_0x14b484(0x38d)+_0x2fcdd6);return _0x186ce8&&_0x1512ca[_0x14b484(0x33f)]({'adjustValues':_0x186ce8},!0x0),_0x1512ca[_0x14b484(0x1bc)]({'width':_0x14b25a,'height':_0x384ea3}),_0x1512ca;}catch{return;}}['_getImageDrawingInfo'](_0x1fde2b,_0x4dae0e,_0x29f437){const _0x483c21=_0x718440;let _0x313f33={'unitId':_0x1fde2b,'subUnitId':_0x4dae0e,'drawingId':_0x29f437},_0x5763f5=this[_0x483c21(0x2a8)][_0x483c21(0x37d)](_0x313f33);if(_0x5763f5&&_0x5763f5[_0x483c21(0x37f)]===_0x567e1d[_0x483c21(0x2f1)][_0x483c21(0x1d9)])return _0x5763f5;}[_0x718440(0x411)](_0x58f4b3,_0x2f9dcd,_0x1411fa){const _0x14046a=_0x718440;let _0x49a9bc=this['_renderManagerService'][_0x14046a(0x403)](_0x58f4b3);if(!_0x49a9bc)return;let {scene:_0x3034a7}=_0x49a9bc,_0x4ad9d3=(0x0,_0x36b4c7[_0x14046a(0x56c)])({'unitId':_0x58f4b3,'subUnitId':_0x2f9dcd,'drawingId':_0x1411fa}),_0x4d33e8=_0x3034a7[_0x14046a(0x587)](_0x4ad9d3);if(_0x4d33e8 instanceof _0x3e5eae[_0x14046a(0x35e)]){let _0x31472c=_0x4d33e8[_0x14046a(0x338)];if(_0x31472c)return{'prstGeom':_0x31472c,'adjustValues':_0x4d33e8[_0x14046a(0x261)]};}}['_createControls'](_0x3b88b4=!0x1){const _0x247c0b=_0x718440;if(!this[_0x247c0b(0x527)]||!this[_0x247c0b(0x545)]||!this[_0x247c0b(0x3c4)])return;let _0xcb46ea=this[_0x247c0b(0x57e)][_0x247c0b(0x403)](this['_unitId']);if(!_0xcb46ea||!_0xcb46ea['with'](_0x17eed7['SheetSkeletonManagerService'])[_0x247c0b(0x2d3)]())return;let {scene:_0x56acaf}=_0xcb46ea,_0x3c7e2d=this['_getImageDrawingInfo'](this[_0x247c0b(0x527)],this[_0x247c0b(0x545)],this['_activeImageId']);if(!_0x3c7e2d)return;let {transform:_0x1d9c02}=_0x3c7e2d;if(!_0x1d9c02)return;let {left:_0x34f329,top:_0x2e2a96,width:_0x4b492f,height:_0x1b5fdf,flipX:_0x504f57,flipY:_0x37f921,angle:_0x2e214f=0x0}=_0x1d9c02;if(_0x34f329===void 0x0||_0x2e2a96===void 0x0)return;let _0x2c22ba=this[_0x247c0b(0x411)](this[_0x247c0b(0x527)],this[_0x247c0b(0x545)],this['_activeImageId']);if(!_0x2c22ba)return;if(_0x3b88b4){let _0x273a44=this[_0x247c0b(0x4d1)](_0x2c22ba[_0x247c0b(0x338)],_0x4b492f||0x0,_0x1b5fdf||0x0,_0x2c22ba[_0x247c0b(0x28a)]);if(!_0x273a44)return;this[_0x247c0b(0x557)]=_0x273a44[_0x247c0b(0x1a2)]();}let _0x5cd281=this['_activeAdjustPointList'];if(_0x5cd281&&_0x5cd281['length']!==0x0)for(let _0x35c4f3=0x0;_0x35c4f3<_0x5cd281[_0x247c0b(0x212)];_0x35c4f3++){let _0x3b8563=_0x5cd281[_0x35c4f3],_0x2509d2=_0x3b8563['x'],_0x2332a4=_0x3b8563['y'];if(_0x504f57&&(_0x2509d2=(_0x4b492f||0x0)-_0x2509d2),_0x37f921&&(_0x2332a4=(_0x1b5fdf||0x0)-_0x2332a4),_0x2e214f!==0x0){let _0x4dfa97=(_0x4b492f||0x0)/0x2,_0x289128=(_0x1b5fdf||0x0)/0x2,_0x64acee=_0x2e214f*Math['PI']/0xb4,_0x25336a=Math[_0x247c0b(0x1bb)](_0x64acee),_0x50a1d2=Math[_0x247c0b(0x1dc)](_0x64acee),_0x16380f=_0x2509d2-_0x4dfa97,_0x4a8e2f=_0x2332a4-_0x289128;_0x2509d2=_0x4dfa97+(_0x16380f*_0x25336a-_0x4a8e2f*_0x50a1d2),_0x2332a4=_0x289128+(_0x16380f*_0x50a1d2+_0x4a8e2f*_0x25336a);}let _0x24a17f={'x':_0x2509d2,'y':_0x2332a4,'adjName':_0x3b8563['adjName']};this['_addControl'](_0x56acaf,_0x24a17f,_0x24a17f[_0x247c0b(0x2f4)],_0x34f329,_0x2e2a96,this[_0x247c0b(0x527)],this['_subUnitId']);}}['_addControl'](_0x31230c,_0x48fce7,_0x1072be,_0x31baa7,_0x3645cd,_0x330b4b,_0x262c17){const _0x599152=_0x718440;if(!this[_0x599152(0x3c4)])return;let _0x5e4ecb='image-clip-adjust-point-'+this[_0x599152(0x3c4)]+'-'+_0x1072be,_0x550965=_0x31230c[_0x599152(0x566)](_0x5e4ecb);if(_0x550965){_0x550965[_0x599152(0x2d4)]({'left':_0x48fce7['x']+_0x31baa7-_0x34f551['ShapeDefaultConfig']['adjHandleSize'],'top':_0x48fce7['y']+_0x3645cd-_0x34f551[_0x599152(0x526)][_0x599152(0x237)]});return;}let _0x5f1d7e=new _0x8c69ab(_0x5e4ecb,{'left':_0x48fce7['x']+_0x31baa7-_0x34f551[_0x599152(0x526)][_0x599152(0x237)],'top':_0x48fce7['y']+_0x3645cd-_0x34f551[_0x599152(0x526)][_0x599152(0x237)],'adjName':_0x1072be,'shapeId':this[_0x599152(0x3c4)],'unitId':_0x330b4b,'subUnitId':_0x262c17,'width':_0x34f551['ShapeDefaultConfig'][_0x599152(0x237)]+0x8,'height':_0x34f551['ShapeDefaultConfig'][_0x599152(0x237)]+0x8,'zIndex':_0x3e5eae[_0x599152(0x533)]+0x1,'evented':!0x0});this[_0x599152(0x330)][_0x599152(0x217)](_0x5f1d7e),this[_0x599152(0x355)](_0x5f1d7e,_0x31230c,_0x1072be),_0x31230c[_0x599152(0x1f1)](_0x5f1d7e,_0x3e5eae[_0x599152(0x533)]+0x1);}[_0x718440(0x4cb)](){const _0x336864=_0x718440;this[_0x336864(0x330)][_0x336864(0x212)]!==0x0&&(this[_0x336864(0x330)]['forEach'](_0x142621=>_0x142621[_0x336864(0x4dd)]()),this[_0x336864(0x330)]=[]);}[_0x718440(0x1ce)](_0x2c7b83,_0x3e4ab8){const _0x92a369=_0x718440;var _0x262190;let _0x5b93c0={'x':0x0,'y':0x0},_0x456902=this[_0x92a369(0x57e)]['getRenderUnitById'](_0x2c7b83);if(!_0x456902||!_0x456902['with'](_0x17eed7[_0x92a369(0x204)])[_0x92a369(0x50e)](_0x3e4ab8))return _0x5b93c0;let _0x17e591=_0x456902[_0x92a369(0x549)](_0x17eed7[_0x92a369(0x369)]),_0x33eca4=_0x17e591==null?void 0x0:_0x17e591[_0x92a369(0x29a)]();if(!_0x33eca4)return _0x5b93c0;let _0x14f9cf=(_0x262190=this[_0x92a369(0x34a)][_0x92a369(0x25c)](_0x2c7b83))==null?void 0x0:_0x262190[_0x92a369(0x19d)](_0x3e4ab8);if(!_0x14f9cf)return _0x5b93c0;let _0x678d9b=(0x0,_0x17eed7['getViewportByCell'])(_0x33eca4[_0x92a369(0x38e)],_0x33eca4[_0x92a369(0x3cf)],_0x456902[_0x92a369(0x53c)],_0x14f9cf);return _0x678d9b?{'x':_0x678d9b[_0x92a369(0x366)],'y':_0x678d9b[_0x92a369(0x1a7)]}:_0x5b93c0;}[_0x718440(0x50f)](_0x51baf0,_0x166043){const _0x43fbdb=_0x718440;var _0x53fa69;let _0x2f1a04=(_0x53fa69=this[_0x43fbdb(0x34a)][_0x43fbdb(0x25c)](_0x51baf0))==null?void 0x0:_0x53fa69[_0x43fbdb(0x19d)](_0x166043);return(_0x2f1a04==null?void 0x0:_0x2f1a04[_0x43fbdb(0x476)]())??0x1;}[_0x718440(0x355)](_0x2b65e3,_0x2b221d,_0x409c1a){const _0x18b084=_0x718440;this['disposeWithMe']((0x0,_0x567e1d['toDisposable'])(_0x2b65e3[_0x18b084(0x2f5)]['subscribeEvent']((_0x425654,_0x12550d)=>{const _0x1305d0=_0x18b084;var _0xa55858,_0x35c92f,_0x5373d4;let {unitId:_0x35f326,subUnitId:_0x530f1c,drawingId:_0x3a05bd}=_0x2b65e3[_0x1305d0(0x440)](),_0xb143e0=this[_0x1305d0(0x582)](_0x35f326,_0x530f1c,_0x3a05bd);if(!(_0xb143e0!=null&&_0xb143e0['transform']))return;let {left:_0x5ce8ce,top:_0x2ca0ce,width:_0x42de4e,height:_0x1ba82d}=_0xb143e0['transform'];this[_0x1305d0(0x35c)]=_0x5ce8ce||0x0,this[_0x1305d0(0x384)]=_0x2ca0ce||0x0,this[_0x1305d0(0x360)]=_0x42de4e||0x0,this['_baseHeight']=_0x1ba82d||0x0;let _0x51f00a=!!((_0xa55858=_0xb143e0[_0x1305d0(0x4c7)])!=null&&_0xa55858[_0x1305d0(0x554)]),_0x154502=!!((_0x35c92f=_0xb143e0[_0x1305d0(0x4c7)])!=null&&_0x35c92f['flipY']),_0x38ec24=((_0x5373d4=_0xb143e0[_0x1305d0(0x4c7)])==null?void 0x0:_0x5373d4[_0x1305d0(0x37c)])||0x0,_0x38f4a4=this['_getImagePrstGeom'](_0x35f326,_0x530f1c,_0x3a05bd);if(!_0x38f4a4)return;let _0x1e402c=this['_getOrCreateShapeModel'](_0x38f4a4['prstGeom'],this[_0x1305d0(0x360)],this['_baseHeight'],_0x38f4a4['adjustValues']);if(!_0x1e402c||(this[_0x1305d0(0x2f3)]=_0x1e402c,this[_0x1305d0(0x1c7)]=_0x1e402c[_0x1305d0(0x419)](_0x409c1a),!this[_0x1305d0(0x1c7)]))return;this['_isStartAdjusting']=!0x0,_0x2b221d[_0x1305d0(0x574)]();let _0x23d3bc=_0x38f4a4[_0x1305d0(0x338)];this[_0x1305d0(0x3e5)]=_0x2b221d['onPointerMove$'][_0x1305d0(0x483)]((_0x122501,_0x154014)=>{const _0x6c804f=_0x1305d0;if(!this['_isStartAdjusting'])return;let {offsetX:_0xc2e72f,offsetY:_0x2ce4f7}=_0x122501,_0x4b924b=this[_0x6c804f(0x1c7)];if(!this['_activeShapeModel']||!_0x4b924b)return;_0x2b221d[_0x6c804f(0x574)](),_0x2b221d[_0x6c804f(0x40a)](_0x3e5eae[_0x6c804f(0x42a)][_0x6c804f(0x257)]);let _0x3a8bc9={'left':0x0,'top':0x0,'width':this[_0x6c804f(0x360)],'height':this['_baseHeight']},_0x1ef5eb=this[_0x6c804f(0x1ce)](_0x35f326,_0x530f1c),_0x3c5678=this['_getZoomRatio'](_0x35f326,_0x530f1c),_0x49540c=_0xc2e72f/_0x3c5678+_0x1ef5eb['x']-this[_0x6c804f(0x35c)],_0x511441=_0x2ce4f7/_0x3c5678+_0x1ef5eb['y']-this[_0x6c804f(0x384)];if(_0x38ec24!==0x0){let _0x35ea9b=this['_baseWidth']/0x2,_0x454185=this[_0x6c804f(0x238)]/0x2,_0x3fcbce=_0x38ec24*Math['PI']/0xb4,_0x1b295b=Math[_0x6c804f(0x1bb)](_0x3fcbce),_0x3d7e19=Math['sin'](_0x3fcbce),_0x3ef482=_0x49540c-_0x35ea9b,_0x4507e4=_0x511441-_0x454185;_0x49540c=_0x35ea9b+(_0x3ef482*_0x1b295b+_0x4507e4*_0x3d7e19),_0x511441=_0x454185+(-_0x3ef482*_0x3d7e19+_0x4507e4*_0x1b295b);}_0x51f00a&&(_0x49540c=this['_baseWidth']-_0x49540c),_0x154502&&(_0x511441=this[_0x6c804f(0x238)]-_0x511441);let _0x5dddb2=this[_0x6c804f(0x2f3)]['calcAdjValues'](_0x3a8bc9,{'x':_0x49540c,'y':_0x511441},_0x4b924b,_0x51f00a,_0x154502);if(Object[_0x6c804f(0x337)](_0x5dddb2)['length']!==0x0){for(let [_0x448685,_0x1a59c8]of Object[_0x6c804f(0x1f9)](_0x5dddb2))this[_0x6c804f(0x2f3)][_0x6c804f(0x2fc)](_0x448685,_0x1a59c8);this[_0x6c804f(0x2f3)][_0x6c804f(0x1bc)]({'width':this['_baseWidth'],'height':this[_0x6c804f(0x238)]}),this[_0x6c804f(0x308)](_0x35f326,_0x530f1c,_0x3a05bd,_0x5dddb2),this[_0x6c804f(0x557)]=this[_0x6c804f(0x2f3)][_0x6c804f(0x1a2)](),this[_0x6c804f(0x347)](),_0x154014[_0x6c804f(0x3ab)]();}}),this[_0x1305d0(0x2bc)]=_0x2b221d[_0x1305d0(0x4b7)][_0x1305d0(0x483)]((_0x17d8d5,_0x17e0e7)=>{const _0x19229e=_0x1305d0;if(this['_adjHandlerPointerMove'][_0x19229e(0x301)](),this[_0x19229e(0x2bc)]['unsubscribe'](),_0x2b221d[_0x19229e(0x20a)](),this['_activeShapeModel']){let _0x13a4e2=this['_activeShapeModel'][_0x19229e(0x3f9)](),_0x44a5a3={};for(let _0x33272d of _0x13a4e2){let _0x1db4e7=this[_0x19229e(0x2f3)][_0x19229e(0x3bd)](_0x33272d);_0x1db4e7!==void 0x0&&(_0x44a5a3[_0x33272d]=_0x1db4e7);}this['_imageShapeClipController'][_0x19229e(0x1d8)](_0x35f326,_0x530f1c,_0x3a05bd,_0x23d3bc,_0x44a5a3);}this[_0x19229e(0x1c7)]=void 0x0,this[_0x19229e(0x2f3)]=void 0x0,this[_0x19229e(0x1b6)]=!0x1,_0x17e0e7['stopPropagation'](),_0x2b221d['enableObjectsEvent']();}),_0x12550d[_0x1305d0(0x3ab)]();})));}[_0x718440(0x308)](_0x3328e9,_0x1070e9,_0x427ed4,_0x225092){const _0x34789a=_0x718440;let _0x17523d=this[_0x34789a(0x57e)][_0x34789a(0x403)](_0x3328e9);if(!_0x17523d)return;let {scene:_0x55f006}=_0x17523d,_0x594018=(0x0,_0x36b4c7['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x3328e9,'subUnitId':_0x1070e9,'drawingId':_0x427ed4}),_0x2878a9=_0x55f006[_0x34789a(0x587)](_0x594018);if(_0x2878a9 instanceof _0x3e5eae[_0x34789a(0x35e)]){let _0x3d16f5=_0x2878a9[_0x34789a(0x261)]??{};_0x2878a9[_0x34789a(0x34c)]({..._0x3d16f5,..._0x225092}),_0x2878a9[_0x34789a(0x3ce)](!0x0);}}['_registerMoveHandler'](){const _0x49b054=_0x718440;let _0x1c0a7f=this[_0x49b054(0x34a)][_0x49b054(0x3d0)](_0x567e1d[_0x49b054(0x1e5)][_0x49b054(0x2e6)]);this[_0x49b054(0x503)](_0x1c0a7f[_0x49b054(0x2da)]((0x0,_0x1d246a[_0x49b054(0x53b)])(_0x49c835=>_0x49c835?_0x49c835['activeSheet$']['pipe']((0x0,_0x1d246a['switchMap'])(_0x42a5ce=>{const _0x22d438=_0x49b054;if(!_0x42a5ce)return _0x1d246a[_0x22d438(0x49f)];let _0x9d9f57=_0x49c835[_0x22d438(0x35f)](),_0x2ac720=this['_renderManagerService']['getRenderUnitById'](_0x9d9f57),_0x163795=_0x2ac720==null?void 0x0:_0x2ac720[_0x22d438(0x53c)];return _0x163795?(0x0,_0x1d246a['of'])(_0x163795):_0x1d246a['EMPTY'];})):_0x1d246a['EMPTY']))[_0x49b054(0x374)](_0x40298f=>{const _0x4b8c46=_0x49b054;let _0x4b14c1=_0x40298f[_0x4b8c46(0x202)]();this[_0x4b8c46(0x503)](_0x40298f[_0x4b8c46(0x1dd)]['subscribeEvent'](()=>{const _0x5f4b95=_0x4b8c46;this[_0x5f4b95(0x52c)]&&this['_clearControls']();})),this[_0x4b8c46(0x503)](_0x4b14c1[_0x4b8c46(0x4b3)][_0x4b8c46(0x374)](_0xa576cb=>{const _0x2e0426=_0x4b8c46;let {objects:_0x57a18d}=_0xa576cb;if(this['_createControls'](),_0x57a18d!==null&&_0x57a18d[_0x2e0426(0x2db)]===0x1){let _0x86fc61=_0x57a18d[_0x2e0426(0x32c)]()[_0x2e0426(0x34f)]()['value'];_0x86fc61 instanceof _0x3e5eae[_0x2e0426(0x35e)]&&_0x86fc61[_0x2e0426(0x338)]&&(this[_0x2e0426(0x52c)]=!0x0);}})),this['disposeWithMe'](_0x4b14c1['changing$'][_0x4b8c46(0x374)](()=>{const _0x4886d5=_0x4b8c46;this[_0x4886d5(0x52c)]&&this['_clearControls']();})),this[_0x4b8c46(0x503)](_0x40298f[_0x4b8c46(0x4b7)]['subscribeEvent'](()=>{const _0xa745d6=_0x4b8c46;this[_0xa745d6(0x52c)]&&(this[_0xa745d6(0x52c)]=!0x1,this[_0xa745d6(0x347)]());})),this[_0x4b8c46(0x503)](_0x4b14c1[_0x4b8c46(0x38b)][_0x4b8c46(0x374)](()=>{const _0x57f8f4=_0x4b8c46;if(this[_0x57f8f4(0x527)]&&this[_0x57f8f4(0x545)]&&this[_0x57f8f4(0x3c4)]){let _0xa9cd2=this[_0x57f8f4(0x411)](this[_0x57f8f4(0x527)],this[_0x57f8f4(0x545)],this[_0x57f8f4(0x3c4)]);if(_0xa9cd2){var _0x53350e,_0x2f4ae2;let _0x4c53c2=this[_0x57f8f4(0x582)](this[_0x57f8f4(0x527)],this[_0x57f8f4(0x545)],this[_0x57f8f4(0x3c4)]),_0x25080c=(_0x4c53c2==null||(_0x53350e=_0x4c53c2['transform'])==null?void 0x0:_0x53350e[_0x57f8f4(0x3d1)])||0x0,_0x913cce=(_0x4c53c2==null||(_0x2f4ae2=_0x4c53c2[_0x57f8f4(0x4c7)])==null?void 0x0:_0x2f4ae2[_0x57f8f4(0x1ef)])||0x0,_0x261f6a=this[_0x57f8f4(0x4d1)](_0xa9cd2['prstGeom'],_0x25080c,_0x913cce,_0xa9cd2[_0x57f8f4(0x28a)]);_0x261f6a&&(this['_activeAdjustPointList']=_0x261f6a['getDrawingPoints'](),this[_0x57f8f4(0x4cb)](),this[_0x57f8f4(0x347)](!0x0));}}}));}));}[_0x718440(0x37a)](){const _0x4207cb=_0x718440;this[_0x4207cb(0x503)](this[_0x4207cb(0x2a8)][_0x4207cb(0x470)][_0x4207cb(0x374)](_0x496981=>{const _0xab00f=_0x4207cb;if(_0x496981[_0xab00f(0x212)]===0x1){let _0x349d91=_0x496981[0x0];if(_0x349d91['drawingType']===_0x567e1d[_0xab00f(0x2f1)]['DRAWING_IMAGE']){let {unitId:_0xdd94a6,subUnitId:_0x42230f,drawingId:_0x492b2e}=_0x349d91,_0x429072=this['_getImagePrstGeom'](_0xdd94a6,_0x42230f,_0x492b2e);if(_0x429072){var _0x2ed120,_0x43bc62;this[_0xab00f(0x3c4)]=_0x492b2e,this['_unitId']=_0xdd94a6,this[_0xab00f(0x545)]=_0x42230f;let _0xfd5a6a=this['_getImageDrawingInfo'](_0xdd94a6,_0x42230f,_0x492b2e),_0x5b6db7=(_0xfd5a6a==null||(_0x2ed120=_0xfd5a6a[_0xab00f(0x4c7)])==null?void 0x0:_0x2ed120[_0xab00f(0x3d1)])||0x0,_0x40ca6b=(_0xfd5a6a==null||(_0x43bc62=_0xfd5a6a[_0xab00f(0x4c7)])==null?void 0x0:_0x43bc62['height'])||0x0,_0x5e36bc=this[_0xab00f(0x4d1)](_0x429072[_0xab00f(0x338)],_0x5b6db7,_0x40ca6b,_0x429072['adjustValues']);_0x5e36bc&&(this[_0xab00f(0x557)]=_0x5e36bc[_0xab00f(0x1a2)]()),this['_clearControls'](),this[_0xab00f(0x347)](!0x0);}else this[_0xab00f(0x48e)]();}else this['_resetState']();}else this[_0xab00f(0x48e)]();})),this[_0x4207cb(0x503)](this[_0x4207cb(0x2a8)][_0x4207cb(0x518)]['subscribe'](_0x301daf=>{const _0x1d0696=_0x4207cb;if(_0x301daf[_0x1d0696(0x212)]===0x1){let _0x3a9b73=_0x301daf[0x0],_0x57f24f=this[_0x1d0696(0x2a8)][_0x1d0696(0x37d)](_0x3a9b73);(_0x57f24f==null?void 0x0:_0x57f24f[_0x1d0696(0x37f)])===_0x567e1d[_0x1d0696(0x2f1)]['DRAWING_IMAGE']&&this[_0x1d0696(0x3c4)]===_0x3a9b73['drawingId']&&(this[_0x1d0696(0x4cb)](),this[_0x1d0696(0x347)](!0x0));}})),this[_0x4207cb(0x503)](this[_0x4207cb(0x2a8)]['remove$'][_0x4207cb(0x374)](_0x576553=>{const _0x1af993=_0x4207cb;for(let _0x41afa9 of _0x576553)this[_0x1af993(0x3c4)]===_0x41afa9[_0x1af993(0x25d)]&&this[_0x1af993(0x48e)]();}));}[_0x718440(0x48e)](){const _0x34cb8d=_0x718440;this[_0x34cb8d(0x3c4)]=null,this['_unitId']=null,this[_0x34cb8d(0x545)]=null,this['_activeAdjustPointList']=void 0x0,this[_0x34cb8d(0x4cb)]();}};_0x47426e=_0xb31b0c([_0x519f13(0x1,_0x36b4c7[_0x718440(0x529)]),_0x519f13(0x2,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x3e5eae[_0x718440(0x39e)])),_0x519f13(0x3,_0x567e1d[_0x718440(0x32e)]),_0x519f13(0x4,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x392613))],_0x47426e);function _0x538cc0({ref:_0x2b6e0a,..._0x41d559}){const _0x431131=_0x718440;let {preserveStrokeWidth:_0x20eb53,icon:_0x11bd9f,id:_0x1286e1,className:_0x5e9bf6,extend:_0x4c3529,..._0x5bbe0e}=_0x41d559,_0x28c144=(_0x431131(0x310)+_0x1286e1+'\x20'+(_0x5e9bf6||''))['trim'](),_0x21b2eb='_'+(0x0,_0x58a2d5[_0x431131(0x57f)])(),_0x1ad1b7=(0x0,_0x58a2d5[_0x431131(0x288)])(null);return(0x0,_0x58a2d5[_0x431131(0x1b9)])(_0x2b6e0a,()=>_0x1ad1b7['current']),(0x0,_0x58a2d5['useLayoutEffect'])(()=>{const _0xbb1f28=_0x431131;if(_0x20eb53&&_0x1ad1b7[_0xbb1f28(0x43d)]&&_0x1ad1b7[_0xbb1f28(0x43d)][_0xbb1f28(0x283)]===_0x11bd9f[_0xbb1f28(0x44b)])return _0x4987e3(_0x1ad1b7['current']);},[_0x20eb53,_0x11bd9f]),_0x1ef20a(_0x11bd9f,''+_0x1286e1,{'defIds':_0x11bd9f['defIds'],'idSuffix':_0x21b2eb},{'ref':_0x1ad1b7,'className':_0x28c144,..._0x5bbe0e},_0x4c3529);}function _0x1ef20a(_0xeb5cfa,_0x5b8579,_0x14b060,_0x2a9ba4,_0x1edcd0){const _0x391d90=_0x718440;return(0x0,_0x58a2d5[_0x391d90(0x254)])(_0xeb5cfa[_0x391d90(0x44b)],{'key':_0x5b8579,..._0x4bc3df(_0xeb5cfa,_0x14b060,_0x1edcd0),..._0x2a9ba4},(_0xc5135a(_0xeb5cfa,_0x14b060)[_0x391d90(0x3fc)]||[])[_0x391d90(0x3e8)]((_0x3a46d9,_0x2372aa)=>_0x1ef20a(_0x3a46d9,_0x5b8579+'-'+_0xeb5cfa[_0x391d90(0x44b)]+'-'+_0x2372aa,_0x14b060,void 0x0,_0x1edcd0)));}function _0x4bc3df(_0x5924ed,_0x2d72d0,_0x5b5db6){const _0x41cace=_0x718440;let _0x34b2ca={..._0x5924ed[_0x41cace(0x546)]};_0x5b5db6!=null&&_0x5b5db6[_0x41cace(0x45c)]&&_0x34b2ca[_0x41cace(0x3a0)]==='colorChannel1'&&(_0x34b2ca['fill']=_0x5b5db6[_0x41cace(0x45c)]),_0x5b5db6!=null&&_0x5b5db6[_0x41cace(0x45c)]&&_0x34b2ca['stroke']===_0x41cace(0x45c)&&(_0x34b2ca['stroke']=_0x5b5db6[_0x41cace(0x45c)]),_0x5924ed['tag']==='mask'&&_0x34b2ca['id']&&(_0x34b2ca['id']+=_0x2d72d0[_0x41cace(0x550)]),Object[_0x41cace(0x1f9)](_0x34b2ca)[_0x41cace(0x241)](([_0x3a6a12,_0x597c37])=>{const _0x510070=_0x41cace;_0x3a6a12===_0x510070(0x2c5)&&typeof _0x597c37==_0x510070(0x468)&&(_0x34b2ca[_0x3a6a12]=_0x597c37[_0x510070(0x1e8)](/url\(#(.*)\)/,_0x510070(0x4ac)+_0x2d72d0[_0x510070(0x550)]+')'));});let {defIds:_0x89884}=_0x2d72d0;return!_0x89884||_0x89884[_0x41cace(0x212)]===0x0?_0x34b2ca:(_0x5924ed[_0x41cace(0x44b)]===_0x41cace(0x430)&&_0x34b2ca['xlink:href']&&(_0x34b2ca['xlink:href']+=_0x2d72d0[_0x41cace(0x550)]),Object['entries'](_0x34b2ca)[_0x41cace(0x241)](([_0x1de9c1,_0x136694])=>{const _0x1a23e4=_0x41cace;typeof _0x136694==_0x1a23e4(0x468)&&(_0x34b2ca[_0x1de9c1]=_0x136694[_0x1a23e4(0x1e8)](/url\(#(.*)\)/,_0x1a23e4(0x4ac)+_0x2d72d0[_0x1a23e4(0x550)]+')'));}),_0x34b2ca);}function _0xc5135a(_0x1d5575,_0x3c9dce){const _0x535cfa=_0x718440;var _0x177c69;let {defIds:_0x3e223a}=_0x3c9dce;return!_0x3e223a||_0x3e223a['length']===0x0?_0x1d5575:_0x1d5575['tag']===_0x535cfa(0x1e0)&&(_0x177c69=_0x1d5575[_0x535cfa(0x3fc)])!=null&&_0x177c69[_0x535cfa(0x212)]?{..._0x1d5575,'children':_0x1d5575['children'][_0x535cfa(0x3e8)](_0x205574=>typeof _0x205574[_0x535cfa(0x546)]['id']==_0x535cfa(0x468)&&_0x3e223a&&_0x3e223a[_0x535cfa(0x46b)](_0x205574[_0x535cfa(0x546)]['id'])?{..._0x205574,'attrs':{..._0x205574['attrs'],'id':_0x205574[_0x535cfa(0x546)]['id']+_0x3c9dce[_0x535cfa(0x550)]}}:_0x205574)}:_0x1d5575;}function _0x4987e3(_0x2cf2d4){const _0x5d89f5=_0x718440;let _0x2f27dc=_0x2cf2d4[_0x5d89f5(0x53e)][_0x5d89f5(0x445)],_0xd1a68c=Math['max'](_0x2f27dc[_0x5d89f5(0x3d1)],_0x2f27dc['height']);if(!Number[_0x5d89f5(0x4f1)](_0xd1a68c)||_0xd1a68c<=0x0||_0x2f27dc['width']<=0x0||_0x2f27dc['height']<=0x0)return()=>void 0x0;let _0x51d3c8=0x10/_0xd1a68c,_0x51e708=Array[_0x5d89f5(0x47c)](_0x2cf2d4[_0x5d89f5(0x2b0)]('circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use'))['flatMap'](_0x52ef94=>{const _0x41d5cb=_0x5d89f5;let _0x50bdb2=getComputedStyle(_0x52ef94),_0x377c6a=Number[_0x41d5cb(0x20e)](_0x50bdb2[_0x41d5cb(0x318)]);return _0x50bdb2[_0x41d5cb(0x2a6)]==='none'||Number[_0x41d5cb(0x20e)](_0x50bdb2['strokeOpacity'])===0x0||_0x50bdb2['vectorEffect']===_0x41d5cb(0x269)||!Number[_0x41d5cb(0x4f1)](_0x377c6a)||_0x377c6a<=0x0?[]:[{'element':_0x52ef94,'hadStyleAttribute':_0x52ef94['hasAttribute'](_0x41d5cb(0x47f)),'originalStrokeWidth':_0x377c6a,'strokeWidth':_0x59c665(_0x52ef94['style'],'stroke-width')}];})['map'](_0x29cd2f=>({'appliedStrokeWidth':null,'element':_0x29cd2f[_0x5d89f5(0x1f0)],'hadStyleAttribute':_0x29cd2f[_0x5d89f5(0x304)],'isReleased':!0x1,'originalStrokeWidth':_0x29cd2f[_0x5d89f5(0x220)],'strokeWidth':_0x29cd2f[_0x5d89f5(0x318)]}));if(_0x51e708[_0x5d89f5(0x212)]===0x0)return()=>void 0x0;let _0x5f0b58=(_0x5a4d13,_0x26ecca)=>{const _0x2a980c=_0x5d89f5;if(_0x2f27dc['width']<=0x0||_0x2f27dc[_0x2a980c(0x1ef)]<=0x0||_0x5a4d13<=0x0||_0x26ecca<=0x0)return;let _0x12dbcc=Math[_0x2a980c(0x30a)](_0x5a4d13/_0x2f27dc['width'],_0x26ecca/_0x2f27dc[_0x2a980c(0x1ef)]);!Number[_0x2a980c(0x4f1)](_0x12dbcc)||_0x12dbcc<=0x0||_0x51e708[_0x2a980c(0x241)](_0x393c68=>{const _0x1e3133=_0x2a980c;if(_0x393c68[_0x1e3133(0x559)])return;if(_0x393c68[_0x1e3133(0x51e)]!==null&&(_0x393c68[_0x1e3133(0x1f0)][_0x1e3133(0x47f)][_0x1e3133(0x444)]('stroke-width')!==_0x393c68[_0x1e3133(0x51e)]||_0x393c68[_0x1e3133(0x1f0)]['style']['getPropertyPriority'](_0x1e3133(0x358))!==_0x393c68[_0x1e3133(0x318)]['priority'])){_0x393c68[_0x1e3133(0x51e)]=null,_0x393c68['isReleased']=!0x0;return;}let _0x1398b5=_0x393c68[_0x1e3133(0x220)]*_0x51d3c8/_0x12dbcc,_0x30e54d=Number(_0x1398b5[_0x1e3133(0x3a1)](0xc))+'px';_0x393c68[_0x1e3133(0x1f0)][_0x1e3133(0x47f)][_0x1e3133(0x2bf)]('stroke-width',_0x30e54d,_0x393c68[_0x1e3133(0x318)][_0x1e3133(0x4e2)]),_0x393c68[_0x1e3133(0x51e)]=_0x30e54d;});},_0x229eda=_0x2cf2d4['getBoundingClientRect']();_0x5f0b58(_0x229eda[_0x5d89f5(0x3d1)],_0x229eda[_0x5d89f5(0x1ef)]);let _0x6acc59=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x115fde=>{const _0x2fcfb2=_0x5d89f5;if(_0x115fde[_0x2fcfb2(0x396)](_0x2486c6=>_0x2486c6[_0x2fcfb2(0x4c8)]===_0x2cf2d4)){let _0x4d5325=_0x2cf2d4[_0x2fcfb2(0x29e)]();_0x5f0b58(_0x4d5325['width'],_0x4d5325['height']);}});return _0x6acc59==null||_0x6acc59['observe'](_0x2cf2d4),()=>{const _0x2a39d3=_0x5d89f5;_0x6acc59==null||_0x6acc59[_0x2a39d3(0x25e)](),_0x51e708[_0x2a39d3(0x241)](_0x624a87=>{const _0x4477dc=_0x2a39d3;_0x624a87[_0x4477dc(0x51e)]!==null&&(_0x20871e(_0x624a87[_0x4477dc(0x1f0)][_0x4477dc(0x47f)],_0x4477dc(0x358),_0x624a87[_0x4477dc(0x51e)],_0x624a87[_0x4477dc(0x318)][_0x4477dc(0x4e2)],_0x624a87[_0x4477dc(0x318)]),!_0x624a87[_0x4477dc(0x304)]&&_0x624a87[_0x4477dc(0x1f0)][_0x4477dc(0x47f)]['length']===0x0&&_0x624a87[_0x4477dc(0x1f0)][_0x4477dc(0x510)]('style'));});};}function _0x59c665(_0x1ccdec,_0x100c38){const _0x2bcc9c=_0x718440;return{'priority':_0x1ccdec[_0x2bcc9c(0x552)](_0x100c38),'value':_0x1ccdec[_0x2bcc9c(0x444)](_0x100c38)};}function _0x20871e(_0x4dc58a,_0x5096f2,_0x489805,_0x1235e7,_0x1eabaf){const _0x427684=_0x718440;_0x4dc58a[_0x427684(0x444)](_0x5096f2)===_0x489805&&_0x4dc58a[_0x427684(0x552)](_0x5096f2)===_0x1235e7&&(_0x1eabaf['value']?_0x4dc58a['setProperty'](_0x5096f2,_0x1eabaf['value'],_0x1eabaf[_0x427684(0x4e2)]):_0x4dc58a['removeProperty'](_0x5096f2));}_0x538cc0[_0x718440(0x38f)]=_0x718440(0x547);let _0x1906d4={'tag':_0x718440(0x3eb),'attrs':{'xmlns':_0x718440(0x32d),'fill':_0x718440(0x24e),'viewBox':_0x718440(0x477),'width':_0x718440(0x40e),'height':_0x718440(0x40e)},'children':[{'tag':_0x718440(0x243),'attrs':{'fill':'currentColor','d':_0x718440(0x1b2),'fillRule':_0x718440(0x3ff),'clipRule':_0x718440(0x3ff)}},{'tag':'path','attrs':{'fill':'currentColor','d':'M14.1544\x208.5999C15.038\x208.5999\x2015.7544\x207.88356\x2015.7544\x206.9999C15.7544\x206.11625\x2015.038\x205.3999\x2014.1544\x205.3999H3.85439C2.97074\x205.3999\x202.25439\x206.11625\x202.25439\x206.9999C2.25439\x207.88356\x202.97074\x208.5999\x203.85439\x208.5999H14.1544ZM14.5544\x206.9999C14.5544\x207.22082\x2014.3753\x207.3999\x2014.1544\x207.3999H3.85439C3.63348\x207.3999\x203.45439\x207.22082\x203.45439\x206.9999C3.45439\x206.77899\x203.63348\x206.5999\x203.85439\x206.5999H14.1544C14.3753\x206.5999\x2014.5544\x206.77899\x2014.5544\x206.9999Z','fillRule':_0x718440(0x3ff),'clipRule':_0x718440(0x3ff)}},{'tag':_0x718440(0x243),'attrs':{'fill':_0x718440(0x25b),'d':_0x718440(0x1b5)}},{'tag':_0x718440(0x243),'attrs':{'fill':'currentColor','d':_0x718440(0x3df)}}]},_0x539c37=(0x0,_0x58a2d5[_0x718440(0x422)])(function(_0x4a8446,_0x5b7a00){const _0x16cd75=_0x718440;return(0x0,_0x58a2d5[_0x16cd75(0x254)])(_0x538cc0,Object[_0x16cd75(0x3cc)]({},_0x4a8446,{'id':_0x16cd75(0x52a),'ref':_0x5b7a00,'icon':_0x1906d4}));});_0x539c37[_0x718440(0x38f)]='BottomIcon';let _0x2d8c15={'tag':_0x718440(0x3eb),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x718440(0x40e),'height':'1em'},'children':[{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x3f5),'strokeLinecap':_0x718440(0x410),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x50b),'strokeLinecap':_0x718440(0x410),'strokeLinejoin':_0x718440(0x410),'strokeWidth':1.3}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x201),'strokeLinecap':_0x718440(0x410),'strokeWidth':1.2}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':'M8\x206.2V7.8','strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x4fd),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x718440(0x243),'attrs':{'stroke':'currentColor','d':_0x718440(0x504),'strokeLinecap':_0x718440(0x410),'strokeWidth':1.2}}]},_0xfdb1e6=(0x0,_0x58a2d5[_0x718440(0x422)])(function(_0x26ee85,_0x444a4b){const _0x321053=_0x718440;return(0x0,_0x58a2d5[_0x321053(0x254)])(_0x538cc0,Object[_0x321053(0x3cc)]({},_0x26ee85,{'id':_0x321053(0x41a),'ref':_0x444a4b,'icon':_0x2d8c15}));});_0xfdb1e6[_0x718440(0x38f)]=_0x718440(0x481);let _0x1e7bcc={'tag':_0x718440(0x3eb),'attrs':{'xmlns':_0x718440(0x32d),'fill':_0x718440(0x24e),'viewBox':_0x718440(0x265),'width':_0x718440(0x40e),'height':_0x718440(0x40e)},'children':[{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x1a9),'strokeLinecap':_0x718440(0x410),'strokeLinejoin':_0x718440(0x410),'strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x718440(0x25b),'d':'M3.3\x2013.4L8\x209.8L12.7\x2013.4H3.3Z','strokeLinecap':_0x718440(0x410),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x2a9),'strokeLinecap':_0x718440(0x410),'strokeWidth':1.2}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x1f6),'strokeLinecap':_0x718440(0x410),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x718440(0x25b),'d':'M10.2\x208H11.8','strokeLinecap':_0x718440(0x410),'strokeWidth':1.2}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x370),'strokeLinecap':'round','strokeWidth':1.2}}]},_0x5a8225=(0x0,_0x58a2d5[_0x718440(0x422)])(function(_0x49e5b1,_0x6270bf){return(0x0,_0x58a2d5['createElement'])(_0x538cc0,Object['assign']({},_0x49e5b1,{'id':'flip-vertical-icon','ref':_0x6270bf,'icon':_0x1e7bcc}));});_0x5a8225[_0x718440(0x38f)]=_0x718440(0x30b);let _0x4de916={'tag':_0x718440(0x3eb),'attrs':{'xmlns':_0x718440(0x32d),'fill':_0x718440(0x24e),'viewBox':_0x718440(0x265),'width':_0x718440(0x40e),'height':_0x718440(0x40e)},'children':[{'tag':_0x718440(0x243),'attrs':{'fill':'currentColor','d':_0x718440(0x4cf),'fillRule':_0x718440(0x3ff),'clipRule':_0x718440(0x3ff)}},{'tag':_0x718440(0x243),'attrs':{'fill':_0x718440(0x25b),'d':'M5.57564\x2011.6118C5.80995\x2011.3774\x206.18985\x2011.3774\x206.42417\x2011.6118L7.3999\x2012.5875V6.36951C7.3999\x206.03814\x207.66853\x205.76951\x207.9999\x205.76951C8.33127\x205.76951\x208.5999\x206.03814\x208.5999\x206.36951V12.5875L9.57564\x2011.6118C9.80995\x2011.3774\x2010.1899\x2011.3774\x2010.4242\x2011.6118C10.6585\x2011.8461\x2010.6585\x2012.226\x2010.4242\x2012.4603L8.4324\x2014.452C8.32324\x2014.5655\x208.16982\x2014.6362\x207.9999\x2014.6362C7.82998\x2014.6362\x207.67655\x2014.5655\x207.56739\x2014.452L5.57564\x2012.4603C5.34132\x2012.226\x205.34132\x2011.8461\x205.57564\x2011.6118Z'}}]},_0x230930=(0x0,_0x58a2d5[_0x718440(0x422)])(function(_0x71ab68,_0x5e7db3){const _0x2a5b5b=_0x718440;return(0x0,_0x58a2d5[_0x2a5b5b(0x254)])(_0x538cc0,Object[_0x2a5b5b(0x3cc)]({},_0x71ab68,{'id':_0x2a5b5b(0x3d4),'ref':_0x5e7db3,'icon':_0x4de916}));});_0x230930[_0x718440(0x38f)]=_0x718440(0x26a);let _0x5b66a0={'tag':_0x718440(0x3eb),'attrs':{'xmlns':_0x718440(0x32d),'fill':_0x718440(0x24e),'viewBox':_0x718440(0x265),'width':_0x718440(0x40e),'height':_0x718440(0x40e)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':'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','fillRule':_0x718440(0x3ff),'clipRule':_0x718440(0x3ff)}},{'tag':_0x718440(0x243),'attrs':{'fill':_0x718440(0x25b),'d':_0x718440(0x439)}}]},_0x14d267=(0x0,_0x58a2d5[_0x718440(0x422)])(function(_0x2af5d0,_0x4e8b73){const _0xac36d7=_0x718440;return(0x0,_0x58a2d5[_0xac36d7(0x254)])(_0x538cc0,Object[_0xac36d7(0x3cc)]({},_0x2af5d0,{'id':'move-up-icon','ref':_0x4e8b73,'icon':_0x5b66a0}));});_0x14d267[_0x718440(0x38f)]=_0x718440(0x55a);let _0x1479a1={'tag':'svg','attrs':{'xmlns':_0x718440(0x32d),'fill':_0x718440(0x24e),'viewBox':'0\x200\x2016\x2016','width':_0x718440(0x40e),'height':_0x718440(0x40e)},'children':[{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':'M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','strokeLinecap':_0x718440(0x410),'strokeLinejoin':_0x718440(0x410),'strokeWidth':1.3}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x2e9),'strokeLinecap':_0x718440(0x410),'strokeLinejoin':'round','strokeWidth':1.3}}]},_0x31ea2d=(0x0,_0x58a2d5['forwardRef'])(function(_0xf75af8,_0x11bd4e){const _0x31b008=_0x718440;return(0x0,_0x58a2d5[_0x31b008(0x254)])(_0x538cc0,Object[_0x31b008(0x3cc)]({},_0xf75af8,{'id':_0x31b008(0x453),'ref':_0x11bd4e,'icon':_0x1479a1}));});_0x31ea2d[_0x718440(0x38f)]=_0x718440(0x24f);let _0x1089ed={'tag':_0x718440(0x3eb),'attrs':{'xmlns':_0x718440(0x32d),'fill':'none','viewBox':_0x718440(0x265),'width':_0x718440(0x40e),'height':_0x718440(0x40e)},'children':[{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x583),'strokeLinecap':'round','strokeLinejoin':_0x718440(0x410),'strokeWidth':1.2}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':'M4.2\x205.5H10.5','strokeLinecap':_0x718440(0x410),'strokeWidth':1.2}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x3a6),'strokeLinecap':_0x718440(0x410),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x1b0),'strokeLinejoin':_0x718440(0x410)}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'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'}}]},_0x53179a=(0x0,_0x58a2d5['forwardRef'])(function(_0x2fa556,_0x5bfe1d){const _0x440110=_0x718440;return(0x0,_0x58a2d5['createElement'])(_0x538cc0,Object['assign']({},_0x2fa556,{'id':_0x440110(0x2bd),'ref':_0x5bfe1d,'icon':_0x1089ed}));});_0x53179a[_0x718440(0x38f)]=_0x718440(0x4fa);let _0x46bad7={'tag':_0x718440(0x3eb),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x718440(0x477),'width':'1em','height':_0x718440(0x40e)},'children':[{'tag':_0x718440(0x243),'attrs':{'fill':_0x718440(0x25b),'d':_0x718440(0x342)}},{'tag':_0x718440(0x243),'attrs':{'fill':_0x718440(0x25b),'d':_0x718440(0x4d7),'fillRule':_0x718440(0x3ff),'clipRule':'evenodd'}},{'tag':'path','attrs':{'fill':_0x718440(0x25b),'d':_0x718440(0x2ab),'fillRule':_0x718440(0x3ff),'clipRule':_0x718440(0x3ff)}}]},_0x3f7a19=(0x0,_0x58a2d5[_0x718440(0x422)])(function(_0xc3e367,_0x27f449){const _0x4b55bc=_0x718440;return(0x0,_0x58a2d5[_0x4b55bc(0x254)])(_0x538cc0,Object[_0x4b55bc(0x3cc)]({},_0xc3e367,{'id':_0x4b55bc(0x271),'ref':_0x27f449,'icon':_0x46bad7}));});_0x3f7a19[_0x718440(0x38f)]=_0x718440(0x267);function _0x4e26a6(_0x79a5bd){const _0x3e3862=_0x718440;return _0x79a5bd[_0x3e3862(0x490)]()||void 0x0;}function _0x29733e(_0x445488,_0x365152,_0x398987){const _0x589ff7=_0x718440;var _0x202f15;return((_0x202f15=_0x445488[_0x589ff7(0x4ab)])==null?void 0x0:_0x202f15[_0x589ff7(0x490)]())||_0x398987['t'](_0x589ff7(0x1a1)+(0x0,_0x54a51b[_0x589ff7(0x219)])(_0x445488[_0x589ff7(0x37f)]))+'\x20'+(_0x365152+0x1);}function _0x32a716({PanelComponent:_0xe84cf8=_0x44d5e4[_0x718440(0x2c3)]}){const _0x3b061d=_0x718440;var _0x3a7751;let _0x3beb5e=(0x0,_0x5744c6[_0x3b061d(0x391)])(_0x567e1d['LocaleService']),_0x1c2a10={'title':_0x3beb5e['t'](_0x3b061d(0x535)),'empty':_0x3beb5e['t']('drawing-ui.objectListPanel.empty'),'showAll':_0x3beb5e['t']('drawing-ui.objectListPanel.showAll'),'hideAll':_0x3beb5e['t'](_0x3b061d(0x43b)),'lockAll':_0x3beb5e['t'](_0x3b061d(0x489)),'unlockAll':_0x3beb5e['t'](_0x3b061d(0x23b)),'moveForward':_0x3beb5e['t']('drawing-ui.objectListPanel.moveForward'),'moveBackward':_0x3beb5e['t'](_0x3b061d(0x573)),'close':_0x3beb5e['t'](_0x3b061d(0x319)),'show':_0x3beb5e['t'](_0x3b061d(0x47d)),'hide':_0x3beb5e['t'](_0x3b061d(0x1be)),'lock':_0x3beb5e['t'](_0x3b061d(0x2a4)),'unlock':_0x3beb5e['t'](_0x3b061d(0x21e)),'lockHint':_0x3beb5e['t'](_0x3b061d(0x316)),'unlockHint':_0x3beb5e['t'](_0x3b061d(0x26c)),'name':_0x3beb5e['t'](_0x3b061d(0x52b)),'nameInput':_0x3beb5e['t']('drawing-ui.objectListPanel.nameInput'),'description':_0x3beb5e['t'](_0x3b061d(0x1da)),'descriptionPlaceholder':_0x3beb5e['t'](_0x3b061d(0x3c2)),'details':_0x3beb5e['t'](_0x3b061d(0x567)),'noSelection':_0x3beb5e['t'](_0x3b061d(0x19e)),'locate':_0x3beb5e['t'](_0x3b061d(0x51b)),'expand':_0x3beb5e['t'](_0x3b061d(0x2af)),'collapse':_0x3beb5e['t'](_0x3b061d(0x356)),'dragToReorder':_0x3beb5e['t'](_0x3b061d(0x488)),'search':_0x3beb5e['t']('drawing-ui.objectListPanel.search'),'filterAll':_0x3beb5e['t'](_0x3b061d(0x32b)),'filterHidden':_0x3beb5e['t']('drawing-ui.objectListPanel.filterHidden'),'filterLocked':_0x3beb5e['t'](_0x3b061d(0x465)),'sectionCanvas':_0x3beb5e['t'](_0x3b061d(0x3b1)),'sectionFloating':_0x3beb5e['t'](_0x3b061d(0x28d))},_0x66dd02=(0x0,_0x5744c6[_0x3b061d(0x391)])(_0x567e1d[_0x3b061d(0x1cf)]),_0xeb14c6=(0x0,_0x5744c6[_0x3b061d(0x391)])(_0x567e1d[_0x3b061d(0x32e)]),_0x3f2da0=(0x0,_0x5744c6[_0x3b061d(0x391)])(_0x1f8323['ISheetDrawingService']),_0x39ecd1=(0x0,_0x5744c6[_0x3b061d(0x391)])(_0x36b4c7[_0x3b061d(0x529)]),_0x271d11=(0x0,_0x5744c6[_0x3b061d(0x391)])(_0x3e5eae[_0x3b061d(0x39e)]),[,_0x5d9a49]=(0x0,_0x58a2d5['useReducer'])(_0x2665e1=>_0x2665e1+0x1,0x0),_0x19e035=_0xeb14c6[_0x3b061d(0x24c)](_0x567e1d['UniverInstanceType'][_0x3b061d(0x2e6)]),_0x5be5d3=(_0x19e035==null?void 0x0:_0x19e035[_0x3b061d(0x35f)]())??'',_0x22488e=(_0x19e035==null||(_0x3a7751=_0x19e035[_0x3b061d(0x569)]())==null?void 0x0:_0x3a7751[_0x3b061d(0x274)]())??'',_0x1e6c20=(0x0,_0x5744c6[_0x3b061d(0x329)])(()=>_0x39ecd1['focus$'],_0x39ecd1[_0x3b061d(0x447)](),!0x1,[_0x39ecd1]);(0x0,_0x58a2d5['useEffect'])(()=>{const _0x5454df=_0x3b061d;let _0x52ea2a=_0x66dd02[_0x5454df(0x4c2)](()=>_0x5d9a49());return()=>_0x52ea2a[_0x5454df(0x4dd)]();},[_0x66dd02]);let _0x13c1c5=_0x5be5d3&&_0x22488e?_0x3f2da0[_0x3b061d(0x46f)](_0x5be5d3,_0x22488e):{},_0x1484ad=(_0x5be5d3&&_0x22488e?_0x3f2da0[_0x3b061d(0x205)](_0x5be5d3,_0x22488e):[])['map'](_0x1e122b=>_0x13c1c5[_0x1e122b])[_0x3b061d(0x3c1)](_0x3f7c00=>!!_0x3f7c00)[_0x3b061d(0x55e)](),_0x237426=_0x1484ad[_0x3b061d(0x210)]((_0x58cb9a,_0x5e8ca4)=>(_0x58cb9a[(0x0,_0x44d5e4['getObjectListPanelSectionIdForDrawingType'])(_0x5e8ca4[_0x3b061d(0x37f)])]+=0x1,_0x58cb9a),{'canvas':0x0,'floating':0x0}),_0x2b4f7c={'canvas':0x0,'floating':0x0},_0xfea4ad=_0x1484ad[_0x3b061d(0x3e8)]((_0x34e065,_0x59af8f)=>{const _0x39efd4=_0x3b061d;let _0x5d4f80=(0x0,_0x44d5e4[_0x39efd4(0x502)])(_0x34e065['drawingType']),_0x575727=_0x5d4f80===_0x44d5e4[_0x39efd4(0x4c9)],_0x2baa0d=_0x2b4f7c[_0x5d4f80]++;return{'id':_0x34e065[_0x39efd4(0x25d)],'name':_0x29733e(_0x34e065,_0x59af8f,_0x3beb5e),'description':_0x34e065[_0x39efd4(0x1df)],'visible':_0x34e065['hidden']!==!0x0,'selectable':_0x34e065[_0x39efd4(0x50c)]!==!0x1,'sectionId':_0x5d4f80,'sectionTitle':_0x575727?_0x1c2a10[_0x39efd4(0x235)]:_0x1c2a10[_0x39efd4(0x37b)],'capabilities':_0x575727?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x575727&&_0x2baa0d>0x0,'canMoveBackward':!_0x575727&&_0x2baa0d<_0x237426[_0x39efd4(0x1c1)]-0x1,'canReorder':!_0x575727};}),_0x290fe3=(0x0,_0x58a2d5[_0x3b061d(0x33b)])(()=>(_0x1e6c20??[])['filter'](_0x465295=>_0x465295['unitId']===_0x5be5d3&&_0x465295[_0x3b061d(0x31f)]===_0x22488e)[_0x3b061d(0x3e8)](_0x15eafd=>_0x15eafd[_0x3b061d(0x25d)]),[_0x1e6c20,_0x22488e,_0x5be5d3]),_0x410073=_0x290fe3[_0x290fe3[_0x3b061d(0x212)]-0x1]??null,_0x46a8a8=_0x931b25=>_0x3f2da0[_0x3b061d(0x37d)]({'unitId':_0x5be5d3,'subUnitId':_0x22488e,'drawingId':_0x931b25})??null,_0x44b382=async _0x453ca3=>{const _0x1c2aa9=_0x3b061d;_0x5be5d3&&_0x453ca3[_0x1c2aa9(0x212)]&&await _0x66dd02['executeCommand'](_0x1f8323[_0x1c2aa9(0x41b)]['id'],{'unitId':_0x5be5d3,'drawings':_0x453ca3});},_0x4f56db=async(_0x540e08,_0x200265)=>{_0x46a8a8(_0x540e08)&&await _0x44b382([{'unitId':_0x5be5d3,'subUnitId':_0x22488e,'drawingId':_0x540e08,..._0x200265}]);},_0x871a3a=(_0x620ace,_0x1e78b0)=>{const _0x982238=_0x3b061d;if(!_0x5be5d3||!_0x22488e)return;let _0x5d571f=_0x1e78b0?_0x290fe3[_0x982238(0x46b)](_0x620ace)?_0x290fe3[_0x982238(0x3c1)](_0x446490=>_0x446490!==_0x620ace):[..._0x290fe3,_0x620ace]:[_0x620ace];_0x66dd02[_0x982238(0x34d)](_0x36b4c7['SetDrawingSelectedOperation']['id'],_0x5d571f[_0x982238(0x3e8)](_0x485240=>({'unitId':_0x5be5d3,'subUnitId':_0x22488e,'drawingId':_0x485240})));let _0xf74e9=_0x5d571f[_0x5d571f['length']-0x1];_0xf74e9?(0x0,_0x54a51b['activateDrawingObject'])(_0x271d11,{'unitId':_0x5be5d3,'subUnitId':_0x22488e,'drawingId':_0xf74e9}):(0x0,_0x54a51b[_0x982238(0x289)])(_0x271d11,_0x5be5d3);},_0x40435f=async(_0x9adf4f,_0x2311fa)=>{const _0x33cf50=_0x3b061d;await _0x44b382(_0x9adf4f[_0x33cf50(0x3e8)](_0x2b4ad9=>_0x46a8a8(_0x2b4ad9))[_0x33cf50(0x3c1)](_0x557645=>!!_0x557645)[_0x33cf50(0x3c1)](_0x388cf4=>_0x388cf4[_0x33cf50(0x579)]!==!0x0!==_0x2311fa)[_0x33cf50(0x3e8)](_0x36f10d=>({'unitId':_0x5be5d3,'subUnitId':_0x22488e,'drawingId':_0x36f10d['drawingId'],'hidden':!_0x2311fa})));},_0x2d5256=async(_0x2e0914,_0x39aa1a)=>{const _0x533000=_0x3b061d;await _0x44b382(_0x2e0914['map'](_0x16c15f=>_0x46a8a8(_0x16c15f))['filter'](_0x420e8b=>!!_0x420e8b)['filter'](_0xef9b3b=>_0xef9b3b[_0x533000(0x50c)]!==!0x1!==_0x39aa1a)[_0x533000(0x3e8)](_0xfd6404=>({'unitId':_0x5be5d3,'subUnitId':_0x22488e,'drawingId':_0xfd6404[_0x533000(0x25d)],'selectable':_0x39aa1a})));},_0x2bcc47=_0x17914a=>{const _0x24c256=_0x3b061d;let _0x5b2641=_0x46a8a8(_0x17914a);if(_0x5b2641)return _0x2d5256([_0x17914a],_0x5b2641[_0x24c256(0x50c)]===!0x1);},_0x592c34=async(_0xb149ee,_0x1f229f)=>{var _0x3699ac;let _0x32bffd=_0x4e26a6(_0x1f229f);(((_0x3699ac=_0x46a8a8(_0xb149ee))==null?void 0x0:_0x3699ac['name'])??void 0x0)!==_0x32bffd&&await _0x4f56db(_0xb149ee,{'name':_0x32bffd});},_0x3f0913=async(_0x504b00,_0x29cd17)=>{const _0x4490b5=_0x3b061d;var _0x262657;let _0x4e559a=_0x4e26a6(_0x29cd17);(((_0x262657=_0x46a8a8(_0x504b00))==null?void 0x0:_0x262657[_0x4490b5(0x1df)])??void 0x0)!==_0x4e559a&&await _0x4f56db(_0x504b00,{'description':_0x4e559a});},_0x4e7c3b=async(_0x46974c,_0x425102)=>{const _0x4978bd=_0x3b061d;_0x5be5d3&&_0x22488e&&await _0x66dd02['executeCommand'](_0x1f8323[_0x4978bd(0x364)]['id'],{'unitId':_0x5be5d3,'subUnitId':_0x22488e,'drawingIds':[_0x46974c],'arrangeType':_0x425102});};return!_0x5be5d3||!_0x22488e?(0x0,_0x1a5094[_0x3b061d(0x2bb)])(_0x3b061d(0x4b9),{'className':_0x3b061d(0x511),'children':_0x1c2a10[_0x3b061d(0x1ca)]}):(0x0,_0x1a5094[_0x3b061d(0x2bb)])(_0xe84cf8,{'labels':_0x1c2a10,'items':_0xfea4ad,'selectedIds':_0x290fe3,'focusedId':_0x410073,'showHeader':!0x1,'onSelect':_0x871a3a,'onSetVisible':_0x40435f,'onSetSelectable':_0x2d5256,'onCommitName':_0x592c34,'onCommitDescription':_0x3f0913,'onMoveForward':async _0x441d7d=>_0x4e7c3b(_0x441d7d,_0x567e1d[_0x3b061d(0x22f)][_0x3b061d(0x285)]),'onMoveBackward':async _0x3a0fe5=>_0x4e7c3b(_0x3a0fe5,_0x567e1d[_0x3b061d(0x22f)][_0x3b061d(0x492)]),'onToggleSelectable':_0x2bcc47});}function _0x354eaa(){const _0xfc9941=_0x718440;return(0x0,_0x1a5094[_0xfc9941(0x2bb)])(_0x32a716,{'PanelComponent':_0x44d5e4[_0xfc9941(0x2fd)]});}let _0x26ba20=class extends _0x567e1d['Disposable']{constructor(_0x3a90f1,_0x20b411){const _0x1d66c5=_0x718440;super(),this[_0x1d66c5(0x503)](_0x3a90f1['register'](_0x46acea,_0x354eaa)),this[_0x1d66c5(0x503)](_0x20b411['register']({'BottomIcon':_0x539c37,'FlipHorizontalIcon':_0xfdb1e6,'FlipVerticalIcon':_0x5a8225,'MoveDownIcon':_0x230930,'MoveUpIcon':_0x14d267,'ObjectLayersIcon':_0x31ea2d,'ShapeFormatSettingIcon':_0x53179a,'TopmostIcon':_0x3f7a19})),this['disposeWithMe'](_0x3a90f1[_0x1d66c5(0x50a)](_0x4440a,_0x373485)),this[_0x1d66c5(0x503)](_0x3a90f1['register'](_0x16e69b,_0x4190ca)),_0x3a90f1[_0x1d66c5(0x39f)](_0x44d5e4[_0x1d66c5(0x4e0)])||this['disposeWithMe'](_0x3a90f1['register'](_0x44d5e4[_0x1d66c5(0x4e0)],_0xa77841));}};_0x26ba20=_0xb31b0c([_0x519f13(0x0,(0x0,_0x567e1d['Inject'])(_0x5744c6[_0x718440(0x20b)])),_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x5744c6[_0x718440(0x3a4)]))],_0x26ba20);let _0x5c8f01=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x2781b5){const _0x35fab9=_0x718440;super(),this[_0x35fab9(0x4ad)]=_0x2781b5,_0x55cc91(this,_0x35fab9(0x1c4),new _0x1d246a[(_0x35fab9(0x23f))](null)),_0x55cc91(this,_0x35fab9(0x4f7),this[_0x35fab9(0x1c4)][_0x35fab9(0x361)]()),_0x55cc91(this,_0x35fab9(0x3b9),new _0x1d246a['BehaviorSubject'](!0x1)),_0x55cc91(this,_0x35fab9(0x324),this[_0x35fab9(0x3b9)][_0x35fab9(0x361)]()),_0x55cc91(this,_0x35fab9(0x211),void 0x0),this[_0x35fab9(0x503)](this[_0x35fab9(0x4ad)][_0x35fab9(0x52e)][_0x35fab9(0x374)](()=>{const _0x169415=_0x35fab9;let _0x28dae0=this[_0x169415(0x570)]();_0x28dae0!=null&&_0x28dae0['visible']&&!this[_0x169415(0x55c)](_0x28dae0)&&this[_0x169415(0x428)](null);}));}['dispose'](){const _0x124c50=_0x718440;this['_clearCompletionFrame'](),this['_editingParams$'][_0x124c50(0x34f)](null),this[_0x124c50(0x1c4)][_0x124c50(0x1d6)](),this['_onSavingEditorData$'][_0x124c50(0x34f)](!0x1),this[_0x124c50(0x3b9)][_0x124c50(0x1d6)](),super['dispose']();}[_0x718440(0x428)](_0x2f68ad){const _0x11d98f=_0x718440;(_0x2f68ad==null||!_0x2f68ad[_0x11d98f(0x47b)]||this[_0x11d98f(0x55c)](_0x2f68ad))&&(this['_clearCompletionFrame'](),this[_0x11d98f(0x1c4)][_0x11d98f(0x34f)](_0x2f68ad),(_0x2f68ad==null||_0x2f68ad['visible']&&this[_0x11d98f(0x3b9)][_0x11d98f(0x27e)]())&&this['_onSavingEditorData$']['next'](!0x1));}[_0x718440(0x378)](_0x5220c0){const _0x349a99=_0x718440;this[_0x349a99(0x3b9)]['next'](_0x5220c0);}[_0x718440(0x570)](){const _0x23c97f=_0x718440;return this[_0x23c97f(0x1c4)]['getValue']();}[_0x718440(0x55c)](_0x415518){const _0x1e73f1=_0x718440;let _0x21b146=this[_0x1e73f1(0x4ad)][_0x1e73f1(0x322)](new _0x11447f[(_0x1e73f1(0x4c5))](_0x415518[_0x1e73f1(0x45d)])['id']),_0x57c2a0=this[_0x1e73f1(0x4ad)][_0x1e73f1(0x322)](new _0x11447f[(_0x1e73f1(0x4fc))](_0x415518['unitId'],_0x415518[_0x1e73f1(0x31f)])['id']);return((_0x21b146==null?void 0x0:_0x21b146['value'])??!0x0)&&((_0x57c2a0==null?void 0x0:_0x57c2a0[_0x1e73f1(0x52d)])??!0x0);}['completeEditing'](_0x413e43){const _0x5c101d=_0x718440;let _0x531f10=this[_0x5c101d(0x570)]();_0x531f10&&this[_0x5c101d(0x211)]===void 0x0&&(this['setOnSavingEditorData'](!0x0),this[_0x5c101d(0x211)]=requestAnimationFrame(()=>{const _0x20646d=_0x5c101d;this[_0x20646d(0x211)]=void 0x0,this[_0x20646d(0x570)]()===_0x531f10&&this['setEditing'](null);}));}[_0x718440(0x3c9)](){const _0x6a98da=_0x718440;this['_completionFrame']!==void 0x0&&(cancelAnimationFrame(this[_0x6a98da(0x211)]),this[_0x6a98da(0x211)]=void 0x0);}[_0x718440(0x259)](){const _0x1f236b=_0x718440;this[_0x1f236b(0x570)]()&&this[_0x1f236b(0x428)](null);}};_0x5c8f01=_0xb31b0c([_0x519f13(0x0,_0x567e1d['IPermissionService'])],_0x5c8f01);let _0x26166d=class extends _0x567e1d['Disposable']{constructor(_0x4d4262,_0x114289,_0x2154cd,_0xc41faa,_0x185fd1,_0x172930){const _0x42b50c=_0x718440;super(),this[_0x42b50c(0x2f6)]=_0x4d4262,this[_0x42b50c(0x249)]=_0x114289,this[_0x42b50c(0x4da)]=_0x2154cd,this[_0x42b50c(0x2a8)]=_0xc41faa,this[_0x42b50c(0x469)]=_0x185fd1,this['_sheetsShapeService']=_0x172930,_0x55cc91(this,'_lastEditingShapeKey',null),this[_0x42b50c(0x49d)](),this[_0x42b50c(0x31e)](),this[_0x42b50c(0x46e)]();}[_0x718440(0x49d)](){const _0x32a737=_0x718440;let {scene:_0x1077cf}=this['_context'];this['disposeWithMe'](_0x1077cf[_0x32a737(0x454)][_0x32a737(0x483)](_0x55b7d6=>{const _0x333541=_0x32a737;let {offsetX:_0x2751a7,offsetY:_0x179c0f}=_0x55b7d6,_0x13b0f7=_0x1077cf[_0x333541(0x588)](_0x3e5eae[_0x333541(0x214)][_0x333541(0x593)]([_0x2751a7,_0x179c0f]));if(_0x13b0f7 instanceof _0x5b187c){let _0x293544=this[_0x333541(0x4cd)][_0x333541(0x459)](_0x13b0f7['unitId'],_0x13b0f7[_0x333541(0x31f)],_0x13b0f7[_0x333541(0x1fd)]);if((0x0,_0x34f551['isConnectorShape'])(this['_sheetsShapeService']['getShapeType'](_0x13b0f7['unitId'],_0x13b0f7[_0x333541(0x31f)],_0x13b0f7['shapeId']))||_0x293544!=null&&_0x293544[_0x333541(0x1e2)]()[_0x333541(0x270)])return;this[_0x333541(0x4da)]['setEditing']({'visible':!0x0,'unitId':_0x13b0f7[_0x333541(0x45d)],'subUnitId':_0x13b0f7[_0x333541(0x31f)],'shapeId':_0x13b0f7[_0x333541(0x1fd)],'shapeKey':_0x13b0f7[_0x333541(0x1d1)]});}}));}[_0x718440(0x31e)](){const _0x4c108b=_0x718440;this[_0x4c108b(0x503)](this[_0x4c108b(0x2a8)][_0x4c108b(0x470)]['subscribe'](_0xd4eeb1=>{const _0x30cc96=_0x4c108b;if(_0xd4eeb1[_0x30cc96(0x212)]===0x1){let _0x52efa3=_0xd4eeb1[0x0],_0x223fb7=this[_0x30cc96(0x2a8)][_0x30cc96(0x37d)](_0x52efa3);if((_0x223fb7==null?void 0x0:_0x223fb7['drawingType'])===_0x567e1d['DrawingTypeEnum'][_0x30cc96(0x20f)]){var _0x423b76;let _0x4ffa4b=this[_0x30cc96(0x4da)][_0x30cc96(0x570)]();if((_0x4ffa4b==null?void 0x0:_0x4ffa4b['shapeId'])===_0x52efa3[_0x30cc96(0x25d)]&&_0x4ffa4b[_0x30cc96(0x47b)])return;let _0x24d7be=(0x0,_0x34f551[_0x30cc96(0x22d)])(this['_sheetsShapeService'][_0x30cc96(0x43a)](_0x52efa3[_0x30cc96(0x45d)],_0x52efa3['subUnitId'],_0x52efa3['drawingId'])),_0x53c98c=!!((_0x423b76=this[_0x30cc96(0x4cd)][_0x30cc96(0x459)](_0x52efa3[_0x30cc96(0x45d)],_0x52efa3[_0x30cc96(0x31f)],_0x52efa3['drawingId']))!=null&&_0x423b76['getShapeData']()['formulaBinding']);(_0x24d7be||_0x53c98c)&&this[_0x30cc96(0x4da)][_0x30cc96(0x428)](null);}else this[_0x30cc96(0x4da)][_0x30cc96(0x248)]();}else this[_0x30cc96(0x4da)][_0x30cc96(0x248)]();})),this[_0x4c108b(0x503)](this[_0x4c108b(0x2a8)][_0x4c108b(0x4ca)][_0x4c108b(0x374)](_0x48752a=>{const _0x23b9c1=_0x4c108b;let _0x314058=this[_0x23b9c1(0x4da)]['getEditing']();_0x314058&&_0x48752a[_0x23b9c1(0x396)](_0x33b88a=>_0x33b88a['drawingId']===_0x314058[_0x23b9c1(0x1fd)])&&this[_0x23b9c1(0x4da)][_0x23b9c1(0x428)](null);}));}[_0x718440(0x46e)](){const _0x4d5714=_0x718440;this[_0x4d5714(0x503)](this[_0x4d5714(0x4da)][_0x4d5714(0x4f7)][_0x4d5714(0x374)](_0x806e5=>{const _0x1bdc4a=_0x4d5714;let {scene:_0xac89c7}=this['_context'];if(this['_lastEditingShapeKey']){let _0x179806=_0xac89c7[_0x1bdc4a(0x566)](this[_0x1bdc4a(0x2a7)]);_0x179806&&_0x179806['setEditing'](!0x1);}if(_0x806e5){let _0x1ae1fd=!!_0x806e5[_0x1bdc4a(0x47b)],_0x1800ed=_0xac89c7[_0x1bdc4a(0x566)](_0x806e5[_0x1bdc4a(0x1f3)]);_0x1800ed&&(_0x1800ed['setEditing'](_0x1ae1fd),this[_0x1bdc4a(0x2a7)]=_0x806e5[_0x1bdc4a(0x1f3)]),this[_0x1bdc4a(0x469)][_0x1bdc4a(0x4b8)](_0x567e1d['FOCUSING_SHAPE_TEXT_EDITOR'],_0x1ae1fd);}else this[_0x1bdc4a(0x2a7)]=null,this[_0x1bdc4a(0x469)][_0x1bdc4a(0x4b8)](_0x567e1d[_0x1bdc4a(0x532)],!0x1);}));}};_0x26166d=_0xb31b0c([_0x519f13(0x1,(0x0,_0x567e1d['Inject'])(_0x567e1d[_0x718440(0x442)])),_0x519f13(0x2,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x5c8f01)),_0x519f13(0x3,_0x36b4c7[_0x718440(0x529)]),_0x519f13(0x4,_0x567e1d['IContextService']),_0x519f13(0x5,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x239f56[_0x718440(0x3db)]))],_0x26166d);var _0x2955f2=class extends _0x26166d{['_initEvents'](){const _0x9d9753=_0x718440;let {scene:_0x1e6e93}=this[_0x9d9753(0x2f6)],_0x26c504=this[_0x9d9753(0x249)][_0x9d9753(0x39f)](_0x54a51b[_0x9d9753(0x24d)]);this[_0x9d9753(0x503)](_0x1e6e93['onDblclick$'][_0x9d9753(0x483)](_0x5e07c4=>{const _0x12a1bc=_0x9d9753;let {offsetX:_0x4eac4f,offsetY:_0x260c85}=_0x5e07c4,_0x1ef6b9=_0x1e6e93[_0x12a1bc(0x588)](_0x3e5eae[_0x12a1bc(0x214)]['FromArray']([_0x4eac4f,_0x260c85]));if(!(_0x1ef6b9 instanceof _0x5b187c))return;let _0x5b86ea=this[_0x12a1bc(0x4cd)][_0x12a1bc(0x459)](_0x1ef6b9[_0x12a1bc(0x45d)],_0x1ef6b9[_0x12a1bc(0x31f)],_0x1ef6b9[_0x12a1bc(0x1fd)]);(0x0,_0x34f551['isConnectorShape'])(this[_0x12a1bc(0x4cd)][_0x12a1bc(0x43a)](_0x1ef6b9[_0x12a1bc(0x45d)],_0x1ef6b9[_0x12a1bc(0x31f)],_0x1ef6b9[_0x12a1bc(0x1fd)]))||_0x5b86ea!=null&&_0x5b86ea[_0x12a1bc(0x1e2)]()['formulaBinding']||_0x26c504[_0x12a1bc(0x395)]('text',{'hostType':_0x567e1d['UniverInstanceType'][_0x12a1bc(0x2e6)],'unitId':_0x1ef6b9[_0x12a1bc(0x45d)],'subUnitId':_0x1ef6b9[_0x12a1bc(0x31f)],'shapeId':_0x1ef6b9[_0x12a1bc(0x1fd)]});}));}};let _0x470b76={..._0x254fae},_0x29acd6=class extends _0x567e1d['Disposable']{constructor(_0x20ebb6,_0x19a1b4,_0x11ff06,_0x395d54,_0x201430,_0x441db8,_0x4e0dc1,_0x4c510e){const _0x52c5ab=_0x718440;super(),this[_0x52c5ab(0x4a3)]=_0x20ebb6,this['_sheetsShapeService']=_0x19a1b4,this['_commandService']=_0x11ff06,this[_0x52c5ab(0x2a8)]=_0x395d54,this[_0x52c5ab(0x19a)]=_0x201430,this[_0x52c5ab(0x469)]=_0x441db8,this[_0x52c5ab(0x57e)]=_0x4e0dc1,this[_0x52c5ab(0x4da)]=_0x4c510e,_0x55cc91(this,_0x52c5ab(0x3b7),null),this['_menuManagerService']['mergeMenu'](_0x470b76),this[_0x52c5ab(0x2ea)](),this[_0x52c5ab(0x503)](this[_0x52c5ab(0x4da)][_0x52c5ab(0x4f7)][_0x52c5ab(0x374)](_0x9fe82d=>{const _0x36c281=_0x52c5ab;_0x9fe82d&&this[_0x36c281(0x496)]();}));}[_0x718440(0x1f2)](){const _0x1468d8=_0x718440;this[_0x1468d8(0x3b7)]||=this[_0x1468d8(0x503)]((0x0,_0x54a51b[_0x1468d8(0x3fd)])(this[_0x1468d8(0x57e)],_0x567e1d[_0x1468d8(0x1e5)][_0x1468d8(0x2e6)],_0x24ff74=>this[_0x1468d8(0x398)](_0x24ff74)));}[_0x718440(0x2ea)](){const _0x392800=_0x718440;this['_sheetCanvasPopManagerService'][_0x392800(0x49c)](_0x567e1d['DrawingTypeEnum']['DRAWING_SHAPE'],(_0x4808ca,_0x372309,_0x271eb9,_0x267c52)=>{const _0x162198=_0x392800;let _0x379717=this[_0x162198(0x4cd)]['getShapeTypeById'](_0x4808ca,_0x372309,_0x271eb9),_0x2905f0=this[_0x162198(0x4cd)][_0x162198(0x203)](_0x4808ca,_0x372309,_0x271eb9),_0x1f9e0f=_0x379717!==void 0x0&&!(0x0,_0x34f551['isConnectorShape'])(_0x379717)&&!(_0x2905f0!=null&&_0x2905f0[_0x162198(0x270)]);return[{'label':_0x162198(0x540),'index':0x0,'commandId':_0x55f058['id'],'commandParams':{'unitId':_0x4808ca,'subUnitId':_0x372309,'drawingId':_0x271eb9,'mode':_0x162198(0x47f)},'disable':!0x1},..._0x1f9e0f?[{'label':'sheets-shape-ui.editText','index':0x1,'commandId':_0x55f058['id'],'commandParams':{'unitId':_0x4808ca,'subUnitId':_0x372309,'drawingId':_0x271eb9,'mode':_0x162198(0x27b)},'disable':!0x1}]:[],{'label':_0x162198(0x287),'index':0x2,'commandId':_0x1f8323[_0x162198(0x464)]['id'],'commandParams':{'unitId':_0x4808ca,'drawings':[{'unitId':_0x4808ca,'subUnitId':_0x372309,'drawingId':_0x271eb9,'drawingType':_0x267c52}]},'disable':!0x1},{'label':_0x162198(0x353),'index':0x3,'commandId':_0x239f56['ToggleSheetsShapeFlipCommand']['id'],'commandParams':{'unitId':_0x4808ca,'subUnitId':_0x372309,'shapeId':_0x271eb9,'flipH':!0x0},'disable':!0x1},{'label':_0x162198(0x30e),'index':0x4,'commandId':_0x239f56[_0x162198(0x335)]['id'],'commandParams':{'unitId':_0x4808ca,'subUnitId':_0x372309,'shapeId':_0x271eb9,'flipV':!0x0},'disable':!0x1}];},_0x392800(0x239));}[_0x718440(0x398)](_0x367f26){const _0x24d3cb=_0x718440;let _0x5e23ce=new _0x567e1d[(_0x24d3cb(0x3de))](),_0x391b5f=null,_0x5eb0e2=()=>{const _0x4d7093=_0x24d3cb;if(!_0x391b5f)return;let _0x23dcc0=this[_0x4d7093(0x2a8)][_0x4d7093(0x447)](),_0x48d2a6=_0x23dcc0[_0x4d7093(0x212)]===0x0||_0x23dcc0[_0x4d7093(0x212)]===0x1&&_0x23dcc0[_0x4d7093(0x396)](_0x5786a2=>_0x5786a2['unitId']===(_0x391b5f==null?void 0x0:_0x391b5f['unitId'])&&_0x5786a2[_0x4d7093(0x31f)]===(_0x391b5f==null?void 0x0:_0x391b5f[_0x4d7093(0x31f)])&&_0x5786a2[_0x4d7093(0x25d)]===(_0x391b5f==null?void 0x0:_0x391b5f[_0x4d7093(0x25d)]));_0x391b5f=null,_0x48d2a6&&(this[_0x4d7093(0x469)]['setContextValue'](_0x567e1d[_0x4d7093(0x457)],!0x1),this[_0x4d7093(0x2a8)][_0x4d7093(0x1b3)](null));};return _0x5e23ce[_0x24d3cb(0x3e3)](_0x367f26['createControl$'][_0x24d3cb(0x374)](()=>{const _0x445a6d=_0x24d3cb;let _0x41117d=_0x367f26[_0x445a6d(0x57d)]();if(_0x41117d[_0x445a6d(0x2db)]>0x1){_0x5eb0e2();return;}let _0x150294=_0x41117d['values']()[_0x445a6d(0x34f)]()['value'];if(!_0x150294){_0x5eb0e2();return;}let _0x182a2b=this[_0x445a6d(0x2a8)][_0x445a6d(0x380)](_0x150294[_0x445a6d(0x1d1)]);if(!_0x182a2b||_0x182a2b[_0x445a6d(0x37f)]!==_0x567e1d['DrawingTypeEnum'][_0x445a6d(0x20f)]){_0x5eb0e2();return;}let {unitId:_0x17a1d6,subUnitId:_0xf4fd02,drawingId:_0x243c82}=_0x182a2b;_0x391b5f={'unitId':_0x17a1d6,'subUnitId':_0xf4fd02,'drawingId':_0x243c82},this[_0x445a6d(0x469)][_0x445a6d(0x4b8)](_0x567e1d[_0x445a6d(0x457)],!0x0),this[_0x445a6d(0x2a8)][_0x445a6d(0x447)]()[_0x445a6d(0x1d5)](_0x365515=>_0x365515[_0x445a6d(0x45d)]===_0x17a1d6&&_0x365515[_0x445a6d(0x31f)]===_0xf4fd02&&_0x365515[_0x445a6d(0x25d)]===_0x243c82)||this['_drawingManagerService']['focusDrawing']([{'unitId':_0x17a1d6,'subUnitId':_0xf4fd02,'drawingId':_0x243c82}]);})),_0x5e23ce['add'](_0x367f26['clearControl$'][_0x24d3cb(0x374)](()=>{_0x5eb0e2();})),(0x0,_0x567e1d[_0x24d3cb(0x23c)])(()=>{const _0x4a0714=_0x24d3cb;_0x5e23ce[_0x4a0714(0x4dd)](),_0x5eb0e2();});}[_0x718440(0x496)](){const _0x2aa0e1=_0x718440;this['_contextService'][_0x2aa0e1(0x4b8)](_0x567e1d[_0x2aa0e1(0x457)],!0x1),this[_0x2aa0e1(0x2a8)][_0x2aa0e1(0x1b3)](null);}};_0x29acd6=_0xb31b0c([_0x519f13(0x0,_0x5744c6[_0x718440(0x443)]),_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x239f56[_0x718440(0x3db)])),_0x519f13(0x2,_0x567e1d[_0x718440(0x1cf)]),_0x519f13(0x3,_0x36b4c7[_0x718440(0x529)]),_0x519f13(0x4,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x17eed7[_0x718440(0x339)])),_0x519f13(0x5,_0x567e1d[_0x718440(0x452)]),_0x519f13(0x6,_0x3e5eae[_0x718440(0x39e)]),_0x519f13(0x7,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x5c8f01))],_0x29acd6);function _0x2143ad(_0x1c1daa,_0x1ab145,_0x4b72cd,_0x19ae6d){const _0x253f92=_0x718440;let _0x818719=(0x0,_0x36b4c7['getOrCreateDrawingCopyPlan'])(_0x1c1daa,_0x1ab145,_0x4b72cd),_0x31301b=[];for(let _0x43e0ae of _0x1ab145){let _0x5a6f2b=_0x818719['idMap'][_0x253f92(0x39f)](_0x43e0ae['drawingId']),_0x245adc=_0x19ae6d(_0x43e0ae);_0x5a6f2b&&_0x245adc&&_0x31301b[_0x253f92(0x217)]({'targetShapeId':_0x5a6f2b,'source':_0x245adc});}return _0x31301b;}let _0x256f6f=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0xb0523c,_0xa5decd,_0x51037b,_0x49ba84){const _0x1eecb0=_0x718440;super(),this[_0x1eecb0(0x34a)]=_0xb0523c,this[_0x1eecb0(0x3d9)]=_0xa5decd,this['_sheetDrawingService']=_0x51037b,this[_0x1eecb0(0x4cd)]=_0x49ba84,this[_0x1eecb0(0x33c)]();}[_0x718440(0x33c)](){const _0x4e5e55=_0x718440;this[_0x4e5e55(0x503)](this['_sheetInterceptorService']['interceptCommand']({'getMutations':_0x5b9bed=>{const _0x12b38b=_0x4e5e55;if(_0x5b9bed['id']===_0x11447f['RemoveSheetCommand']['id']){let _0x1eaee6=(0x0,_0x11447f[_0x12b38b(0x2d8)])(this[_0x12b38b(0x34a)],_0x5b9bed['params']);if(!_0x1eaee6)return{'redos':[],'undos':[]};let {unitId:_0x53eaa0,subUnitId:_0x5c00ae}=_0x1eaee6,_0x465706=this['_sheetDrawingService'][_0x12b38b(0x46f)](_0x53eaa0,_0x5c00ae),_0x32335b=Object[_0x12b38b(0x32c)](_0x465706)['filter'](_0x57015d=>_0x57015d[_0x12b38b(0x37f)]===_0x567e1d[_0x12b38b(0x2f1)]['DRAWING_SHAPE']);if(_0x32335b[_0x12b38b(0x212)]===0x0)return{'redos':[],'undos':[]};let _0x1e6879=[],_0x4f8aab=[];for(let _0x4b1578=0x0;_0x4b1578<_0x32335b[_0x12b38b(0x212)];_0x4b1578++){let _0x312d3d=_0x32335b[_0x4b1578],_0x40431e=this[_0x12b38b(0x4cd)]['getShapeModel'](_0x312d3d[_0x12b38b(0x45d)],_0x312d3d[_0x12b38b(0x31f)],_0x312d3d[_0x12b38b(0x25d)]);_0x40431e&&(_0x1e6879[_0x12b38b(0x217)]({'id':_0x239f56[_0x12b38b(0x4ea)]['id'],'params':{'unitId':_0x53eaa0,'subUnitId':_0x5c00ae,'shapeId':_0x312d3d['drawingId']}}),_0x4f8aab[_0x12b38b(0x217)]({'id':_0x239f56[_0x12b38b(0x2cf)]['id'],'params':{'unitId':_0x53eaa0,'subUnitId':_0x5c00ae,'shapeId':_0x312d3d['drawingId'],'shapeType':_0x40431e[_0x12b38b(0x43a)](),'shapeData':JSON[_0x12b38b(0x2f8)](JSON[_0x12b38b(0x1ee)](_0x40431e[_0x12b38b(0x1e2)]()))}}));}return{'redos':_0x1e6879,'undos':_0x4f8aab};}if(_0x5b9bed['id']===_0x11447f[_0x12b38b(0x365)]['id']){let {unitId:_0x85916d,subUnitId:_0x439f7e,targetSubUnitId:_0x41e2bf,copyContext:_0x273f21}=_0x5b9bed[_0x12b38b(0x247)];if(!_0x85916d||!_0x439f7e||!_0x41e2bf)return{'redos':[],'undos':[]};let _0x42c41f=this['_sheetDrawingService'][_0x12b38b(0x46f)](_0x85916d,_0x439f7e),_0x1671d1=Object[_0x12b38b(0x32c)](_0x42c41f)[_0x12b38b(0x3c1)](_0x5f159d=>_0x5f159d[_0x12b38b(0x37f)]===_0x567e1d['DrawingTypeEnum'][_0x12b38b(0x20f)]);if(_0x1671d1[_0x12b38b(0x212)]===0x0)return{'redos':[],'undos':[]};let _0x6aaf80=_0x2143ad(_0x273f21,_0x1671d1,{'unitId':_0x85916d,'sourceSubUnitId':_0x439f7e,'targetSubUnitId':_0x41e2bf},_0x4578d2=>{const _0x4e2e5b=_0x12b38b;let _0x4c963f=this[_0x4e2e5b(0x4cd)][_0x4e2e5b(0x459)](_0x4578d2['unitId'],_0x4578d2[_0x4e2e5b(0x31f)],_0x4578d2[_0x4e2e5b(0x25d)]);if(_0x4c963f)return{'shapeType':_0x4c963f[_0x4e2e5b(0x43a)](),'shapeData':JSON['parse'](JSON[_0x4e2e5b(0x1ee)](_0x4c963f[_0x4e2e5b(0x1e2)]()))};}),_0x3ea276=[],_0x15bfea=[];for(let {targetShapeId:_0xf73f28,source:_0x227cb1}of _0x6aaf80)_0x3ea276[_0x12b38b(0x217)]({'id':_0x239f56[_0x12b38b(0x2cf)]['id'],'params':{'unitId':_0x85916d,'subUnitId':_0x41e2bf,'shapeId':_0xf73f28,'shapeType':_0x227cb1[_0x12b38b(0x3d5)],'shapeData':_0x227cb1[_0x12b38b(0x522)]}}),_0x15bfea['push']({'id':_0x239f56[_0x12b38b(0x4ea)]['id'],'params':{'unitId':_0x85916d,'subUnitId':_0x41e2bf,'shapeId':_0xf73f28}});return{'redos':_0x3ea276,'undos':_0x15bfea};}return{'redos':[],'undos':[]};}}));}};_0x256f6f=_0xb31b0c([_0x519f13(0x0,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x567e1d[_0x718440(0x32e)])),_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x11447f['SheetInterceptorService'])),_0x519f13(0x2,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x1f8323[_0x718440(0x3ee)])),_0x519f13(0x3,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x239f56[_0x718440(0x3db)]))],_0x256f6f);let _0x55730e=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x57cfef,_0x2781e6,_0x44de97,_0x3417a1,_0x5c9beb,_0x1f5dc8){const _0x77fd7b=_0x718440;super(),this['_commandService']=_0x57cfef,this[_0x77fd7b(0x57e)]=_0x2781e6,this[_0x77fd7b(0x2a8)]=_0x44de97,this[_0x77fd7b(0x31c)]=_0x3417a1,this[_0x77fd7b(0x2d7)]=_0x5c9beb,this[_0x77fd7b(0x1ab)]=_0x1f5dc8,_0x55cc91(this,_0x77fd7b(0x575),new Set()),this[_0x77fd7b(0x4e4)]();}['_initialize'](){const _0x435f4b=_0x718440;this[_0x435f4b(0x507)](),this[_0x435f4b(0x3e7)](),this[_0x435f4b(0x558)]();}[_0x718440(0x507)](){const _0x3d6bf3=_0x718440;this['disposeWithMe'](this[_0x3d6bf3(0x2a8)][_0x3d6bf3(0x577)][_0x3d6bf3(0x374)](_0x3db9cc=>{const _0x4ea48c=_0x3d6bf3;this[_0x4ea48c(0x2d2)](_0x3db9cc);}));}[_0x718440(0x3e7)](){const _0xa0b407=_0x718440;this['disposeWithMe'](this[_0xa0b407(0x594)][_0xa0b407(0x4c2)]((_0x42a544,_0x3bf7fd)=>{const _0x367c9e=_0xa0b407;if(_0x42a544['id']===_0x239f56['UpdateSheetsShapeDataMutation']['id']){let {unitId:_0x39ba68,subUnitId:_0x425685,shapeId:_0x4700b1}=_0x42a544[_0x367c9e(0x247)],_0x19cdd0=this[_0x367c9e(0x33e)](_0x39ba68),_0x4295dc=(0x0,_0x36b4c7[_0x367c9e(0x56c)])({'unitId':_0x39ba68,'subUnitId':_0x425685,'drawingId':_0x4700b1}),_0x49ee53=_0x19cdd0==null?void 0x0:_0x19cdd0['scene'][_0x367c9e(0x566)](_0x4295dc);_0x49ee53&&(this[_0x367c9e(0x1ab)][_0x367c9e(0x432)](_0x49ee53),this['_sheetDrawingShapeRenderController'][_0x367c9e(0x307)](_0x49ee53,{'unitId':_0x39ba68,'subUnitId':_0x425685,'shapeId':_0x4700b1}),_0x49ee53[_0x367c9e(0x3ce)](!0x0));return;}if(_0x42a544['id']===_0x239f56[_0x367c9e(0x2cf)]['id']){var _0x3de617;let {unitId:_0x324346,subUnitId:_0x2ba7e7,shapeId:_0x4ac4dc}=_0x42a544['params'],_0x273a40=this[_0x367c9e(0x33e)](_0x324346);if(_0x273a40==null)return;let {scene:_0x4da251}=_0x273a40,_0x5e2ff1=(0x0,_0x36b4c7[_0x367c9e(0x56c)])({'unitId':_0x324346,'subUnitId':_0x2ba7e7,'drawingId':_0x4ac4dc}),_0x49f26b=_0x4da251[_0x367c9e(0x566)](_0x5e2ff1);if(!((_0x3de617=this[_0x367c9e(0x57e)]['getRenderUnitById'](_0x324346))!=null&&_0x3de617[_0x367c9e(0x549)](_0x17eed7[_0x367c9e(0x204)])[_0x367c9e(0x50e)](_0x2ba7e7)))return!0x1;if(_0x49f26b)return;if(_0x3bf7fd!=null&&_0x3bf7fd[_0x367c9e(0x390)]){queueMicrotask(()=>{const _0x3e8f56=_0x367c9e;this[_0x3e8f56(0x4d8)]||this[_0x3e8f56(0x2d2)]([{'unitId':_0x324346,'subUnitId':_0x2ba7e7,'drawingId':_0x4ac4dc}]);});return;}this[_0x367c9e(0x2d2)]([{'unitId':_0x324346,'subUnitId':_0x2ba7e7,'drawingId':_0x4ac4dc}]);}}));}[_0x718440(0x558)](){const _0x37874e=_0x718440;this[_0x37874e(0x503)](this[_0x37874e(0x2a8)][_0x37874e(0x518)]['subscribe'](_0x3ba16b=>{_0x3ba16b['forEach'](_0x2de913=>{const _0x50af1c=_0x49ca;let {unitId:_0x48971e,subUnitId:_0x509f6f,drawingId:_0x329f95}=_0x2de913,_0x1585ca=this[_0x50af1c(0x2a8)][_0x50af1c(0x37d)](_0x2de913);if(_0x1585ca==null)return;let {transform:_0x3fad89,drawingType:_0x188c47,srcRect:_0x1dc484,prstGeom:_0x756557}=_0x1585ca;if(_0x188c47!==_0x567e1d[_0x50af1c(0x2f1)][_0x50af1c(0x20f)])return;let _0xc54c23=this['_getSceneAndTransformerByDrawingSearch'](_0x48971e);if(_0xc54c23==null)return;let {scene:_0x4d8aaf,transformer:_0x500a56}=_0xc54c23;if(_0x3fad89==null)return!0x0;let _0x31446d=(0x0,_0x36b4c7[_0x50af1c(0x56c)])({'unitId':_0x48971e,'subUnitId':_0x509f6f,'drawingId':_0x329f95}),_0x457774=_0x4d8aaf[_0x50af1c(0x566)](_0x31446d);if(_0x457774==null)return!0x0;_0x457774[_0x50af1c(0x3ba)](_0x1dc484),_0x457774[_0x50af1c(0x2ce)](_0x756557);});}));}[_0x718440(0x2d2)](_0xac3d25){const _0x1f6c3a=_0x718440;for(let _0x153b8b of _0xac3d25){var _0x4944ca;let {unitId:_0x13fbb5,subUnitId:_0xd56239,drawingId:_0x1918ab}=_0x153b8b,_0xf59a0f=this[_0x1f6c3a(0x33e)](_0x13fbb5),_0x43f9ea=(_0x4944ca=(0x0,_0x44d5e4[_0x1f6c3a(0x4f4)])(this['_currentUniverService'],_0x13fbb5))==null?void 0x0:_0x4944ca[_0x1f6c3a(0x31f)];if(_0xf59a0f==null||_0x43f9ea!==_0xd56239)return;let _0x44e89b=(0x0,_0x36b4c7['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x13fbb5,'subUnitId':_0xd56239,'drawingId':_0x1918ab});if(this[_0x1f6c3a(0x575)]['has'](_0x44e89b)||_0xf59a0f[_0x1f6c3a(0x53c)][_0x1f6c3a(0x566)](_0x44e89b)!=null)return;let _0x3741e3=this[_0x1f6c3a(0x2a8)]['getDrawingByParam'](_0x153b8b);if(_0x3741e3==null||_0x3741e3['drawingType']!==_0x567e1d[_0x1f6c3a(0x2f1)]['DRAWING_SHAPE'])return;let _0x2d327c=_0x3741e3['data']||{};if((0x0,_0x34f551[_0x1f6c3a(0x22d)])(_0x2d327c[_0x1f6c3a(0x3d5)])){let _0x389690=_0x3741e3[_0x1f6c3a(0x4c7)];_0x389690&&(_0x3741e3[_0x1f6c3a(0x4c7)]={..._0x389690,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x1f6c3a(0x575)]['add'](_0x44e89b);try{this['_sheetDrawingShapeRenderController'][_0x1f6c3a(0x2a0)](_0x3741e3,_0xf59a0f[_0x1f6c3a(0x53c)]);}finally{this['_insertingShapeKeys'][_0x1f6c3a(0x1c5)](_0x44e89b);}queueMicrotask(()=>{const _0x2ce21c=_0x1f6c3a;if(this[_0x2ce21c(0x4d8)])return;let _0x17f995=(0x0,_0x36b4c7[_0x2ce21c(0x56c)])(_0x153b8b);if(!_0xf59a0f[_0x2ce21c(0x53c)]['getObjectIncludeInGroup'](_0x17f995))return;let _0x16bcb4=this['_drawingManagerService']['getDrawingByParam'](_0x153b8b);_0x16bcb4&&this['_drawingManagerService']['refreshTransform']([_0x16bcb4]);});}}[_0x718440(0x33e)](_0x44151b){const _0x17301e=_0x718440;if(_0x44151b==null)return;let _0x2044fc=this[_0x17301e(0x57e)]['getRenderUnitById'](_0x44151b),_0x277864=_0x2044fc==null?void 0x0:_0x2044fc[_0x17301e(0x53c)];return _0x277864==null?null:{'scene':_0x277864,'transformer':_0x277864[_0x17301e(0x202)]()};}};_0x55730e=_0xb31b0c([_0x519f13(0x0,_0x567e1d[_0x718440(0x1cf)]),_0x519f13(0x1,_0x3e5eae['IRenderManagerService']),_0x519f13(0x2,_0x36b4c7[_0x718440(0x529)]),_0x519f13(0x3,_0x567e1d[_0x718440(0x32e)]),_0x519f13(0x4,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x44d5e4[_0x718440(0x2f0)])),_0x519f13(0x5,(0x0,_0x567e1d['Inject'])(_0x29d254))],_0x55730e);let _0x46de3a={'normal':{'fill':_0x34f551[_0x718440(0x526)][_0x718440(0x4f3)],'stroke':_0x34f551[_0x718440(0x526)][_0x718440(0x260)],'strokeWidth':_0x34f551[_0x718440(0x526)][_0x718440(0x273)]},'highlighted':{'fill':_0x718440(0x25f),'stroke':_0x718440(0x4a7),'strokeWidth':0x2}};var _0x564523=class extends _0x3e5eae['Shape']{constructor(_0x6508af,_0x25cde1){const _0x29d7d6=_0x718440;super(_0x6508af,_0x25cde1),_0x55cc91(this,_0x29d7d6(0x506),''),_0x55cc91(this,_0x29d7d6(0x334),-0x1),_0x55cc91(this,'_unitId',''),_0x55cc91(this,_0x29d7d6(0x545),''),_0x55cc91(this,_0x29d7d6(0x42f),!0x1),_0x25cde1&&this['setShapeProps'](_0x25cde1);}['getConnectionInfo'](){const _0x3cf5d7=_0x718440;return{'unitId':this[_0x3cf5d7(0x527)],'subUnitId':this['_subUnitId'],'shapeId':this['_targetShapeId'],'cxnIndex':this[_0x3cf5d7(0x334)]};}[_0x718440(0x3d8)](_0x1997be){const _0x4077f9=_0x718440;this[_0x4077f9(0x42f)]!==_0x1997be&&(this[_0x4077f9(0x42f)]=_0x1997be,this[_0x4077f9(0x3ce)](!0x0));}[_0x718440(0x50d)](){return this['_isHighlighted'];}['setShapeProps'](_0x290606){const _0x3d1be8=_0x718440;_0x290606[_0x3d1be8(0x27f)]!==void 0x0&&(this['_targetShapeId']=_0x290606['targetShapeId']),_0x290606[_0x3d1be8(0x2e1)]!==void 0x0&&(this[_0x3d1be8(0x334)]=_0x290606['cxnIndex']),_0x290606[_0x3d1be8(0x45d)]!==void 0x0&&(this[_0x3d1be8(0x527)]=_0x290606[_0x3d1be8(0x45d)]),_0x290606[_0x3d1be8(0x31f)]!==void 0x0&&(this['_subUnitId']=_0x290606[_0x3d1be8(0x31f)]),_0x290606[_0x3d1be8(0x50d)]!==void 0x0&&(this[_0x3d1be8(0x42f)]=_0x290606[_0x3d1be8(0x50d)]),this[_0x3d1be8(0x2d4)]({'width':_0x290606[_0x3d1be8(0x3d1)]??_0x34f551[_0x3d1be8(0x526)]['cxnPointRadius']*0x2,'height':_0x290606['height']??_0x34f551[_0x3d1be8(0x526)][_0x3d1be8(0x41d)]*0x2});}[_0x718440(0x250)](_0xe13f3a){const _0x1663ef=_0x718440;let _0x46b7aa=this[_0x1663ef(0x42f)]?_0x46de3a['highlighted']:_0x46de3a[_0x1663ef(0x4ce)];_0x3e5eae[_0x1663ef(0x233)][_0x1663ef(0x578)](_0xe13f3a,{'radius':_0x34f551[_0x1663ef(0x526)][_0x1663ef(0x41d)],'fill':_0x46b7aa[_0x1663ef(0x3a0)],'stroke':_0x46b7aa['stroke'],'strokeWidth':_0x46b7aa['strokeWidth'],'evented':!0x0});}};let _0x39d55c=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x42bdbf,_0x4ecf48,_0x2d8b84,_0x179ed5){const _0x52b899=_0x718440;super(),this[_0x52b899(0x2f6)]=_0x42bdbf,this['_renderManagerService']=_0x4ecf48,this['_drawingManagerService']=_0x2d8b84,this[_0x52b899(0x4cd)]=_0x179ed5,_0x55cc91(this,_0x52b899(0x1f4),[]),_0x55cc91(this,_0x52b899(0x544),null),_0x55cc91(this,_0x52b899(0x373),-0x1),_0x55cc91(this,_0x52b899(0x1ad),null),_0x55cc91(this,_0x52b899(0x527),''),_0x55cc91(this,_0x52b899(0x545),''),_0x55cc91(this,_0x52b899(0x3cd),null);}[_0x718440(0x3e9)](_0x52b572,_0x6e35a9,_0x9365b7,_0x20d365){const _0x2953c5=_0x718440;this[_0x2953c5(0x1ad)]=_0x52b572,this[_0x2953c5(0x527)]=_0x6e35a9,this[_0x2953c5(0x545)]=_0x9365b7,this['_draggingConnectorId']=_0x20d365;}[_0x718440(0x54f)](_0x352641){const _0x5ec69a=_0x718440;if(!this['_currentScene'])return null;let _0x4002c9=this['_findShapeAtPoint'](_0x352641);return _0x4002c9?(this[_0x5ec69a(0x544)]!==_0x4002c9['shapeId']&&(this[_0x5ec69a(0x581)](),this[_0x5ec69a(0x2f7)](_0x4002c9[_0x5ec69a(0x1fd)],_0x4002c9[_0x5ec69a(0x3e0)]),this[_0x5ec69a(0x544)]=_0x4002c9[_0x5ec69a(0x1fd)]),this[_0x5ec69a(0x21b)](_0x352641)):(this[_0x5ec69a(0x544)]!==null&&(this[_0x5ec69a(0x581)](),this[_0x5ec69a(0x544)]=null),null);}[_0x718440(0x346)](){const _0x14b845=_0x718440;this[_0x14b845(0x581)](),this['_currentScene']=null,this[_0x14b845(0x544)]=null,this[_0x14b845(0x373)]=-0x1,this[_0x14b845(0x3cd)]=null;}['getConnectionRelation'](){const _0xf27d91=_0x718440;return this['_activeTargetShapeId']===null||this[_0xf27d91(0x373)]<0x0?null:{'shapeId':this['_activeTargetShapeId'],'cxnIndex':this[_0xf27d91(0x373)]};}[_0x718440(0x3dc)](_0x3c9e73){const _0x2032fe=_0x718440;let _0x4d07ad=this['_drawingManagerService'][_0x2032fe(0x46f)](this[_0x2032fe(0x527)],this[_0x2032fe(0x545)]);for(let _0x210e6 of Object[_0x2032fe(0x337)](_0x4d07ad)){if(_0x210e6===this['_draggingConnectorId']||_0x4d07ad[_0x210e6][_0x2032fe(0x37f)]!==_0x567e1d[_0x2032fe(0x2f1)][_0x2032fe(0x20f)])continue;let _0x5b6557=this['_sheetsShapeService'][_0x2032fe(0x459)](this[_0x2032fe(0x527)],this[_0x2032fe(0x545)],_0x210e6);if(!_0x5b6557||(0x0,_0x34f551[_0x2032fe(0x22d)])(_0x5b6557[_0x2032fe(0x43a)]())||_0x5b6557[_0x2032fe(0x4af)]()['length']===0x0||!this[_0x2032fe(0x1ad)])continue;let _0x55d597=(0x0,_0x36b4c7[_0x2032fe(0x56c)])({'unitId':this[_0x2032fe(0x527)],'subUnitId':this[_0x2032fe(0x545)],'drawingId':_0x210e6}),_0x3922e8=this[_0x2032fe(0x1ad)][_0x2032fe(0x566)](_0x55d597);if(!_0x3922e8)continue;let {left:_0x190e6c,top:_0x22e0a3,width:_0x50d177,height:_0x3168ba}=_0x3922e8[_0x2032fe(0x2e7)](),_0x2b88ef=_0x190e6c+_0x50d177/0x2,_0x14f258=_0x22e0a3+_0x3168ba/0x2,_0x9650b8=_0x3922e8[_0x2032fe(0x4c7)][_0x2032fe(0x278)](),_0x2afd4a=new _0x3e5eae[(_0x2032fe(0x218))]([_0x9650b8[0x0],_0x9650b8[0x1],_0x9650b8[0x2],_0x9650b8[0x3],_0x2b88ef,_0x14f258]),_0x6ad1d5=_0x3922e8[_0x2032fe(0x4b6)](),_0x210c3c=(_0x3922e8[_0x2032fe(0x4f9)]&&(_0x6ad1d5==null?void 0x0:_0x6ad1d5[_0x2032fe(0x2be)])===_0x3e5eae['RENDER_CLASS_TYPE'][_0x2032fe(0x290)]?_0x6ad1d5[_0x2032fe(0x524)][_0x2032fe(0x4e3)](_0x2afd4a):_0x2afd4a)[_0x2032fe(0x404)]()[_0x2032fe(0x2a2)](_0x3c9e73),_0x27c107=_0x50d177/0x2,_0x58cc90=_0x3168ba/0x2;if(_0x210c3c['x']>=-_0x27c107-0x5&&_0x210c3c['x']<=_0x27c107+0x5&&_0x210c3c['y']>=-_0x58cc90-0x5&&_0x210c3c['y']<=_0x58cc90+0x5)return{'shapeId':_0x210e6,'shapeModel':_0x5b6557};}return null;}[_0x718440(0x2f7)](_0x3edee3,_0x33da99){const _0x5ad554=_0x718440;if(!this[_0x5ad554(0x1ad)])return;let _0x235e02=(0x0,_0x36b4c7['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0x5ad554(0x527)],'subUnitId':this[_0x5ad554(0x545)],'drawingId':_0x3edee3}),_0x291f25=this['_currentScene'][_0x5ad554(0x566)](_0x235e02);if(!_0x291f25)return;let {left:_0x30e946,top:_0x26e18d,width:_0x31dd2a,height:_0x2fad70}=_0x291f25[_0x5ad554(0x2e7)](),_0x4ca327=_0x30e946+_0x31dd2a/0x2,_0x3a4bcb=_0x26e18d+_0x2fad70/0x2,_0x59210a=_0x291f25[_0x5ad554(0x4c7)][_0x5ad554(0x278)](),_0x1a9e8c=new _0x3e5eae[(_0x5ad554(0x218))]([_0x59210a[0x0],_0x59210a[0x1],_0x59210a[0x2],_0x59210a[0x3],_0x4ca327,_0x3a4bcb]),_0x46c0d9=_0x291f25[_0x5ad554(0x4b6)](),_0x394e10=_0x291f25[_0x5ad554(0x4f9)]&&(_0x46c0d9==null?void 0x0:_0x46c0d9[_0x5ad554(0x2be)])===_0x3e5eae[_0x5ad554(0x281)]['GROUP']?_0x46c0d9[_0x5ad554(0x524)][_0x5ad554(0x4e3)](_0x1a9e8c):_0x1a9e8c;_0x33da99[_0x5ad554(0x1bc)]({'width':_0x31dd2a,'height':_0x2fad70});let _0x57ca5c=_0x33da99['getConnectionSiteList']();for(let _0x4e863f of _0x57ca5c){let _0x4a6b95=_0x4e863f['x']-_0x31dd2a/0x2,_0x3b2702=_0x4e863f['y']-_0x2fad70/0x2,_0x14d865=_0x394e10[_0x5ad554(0x2a2)]({'x':_0x4a6b95,'y':_0x3b2702}),_0x320858=_0x14d865['x'],_0x48d816=_0x14d865['y'],_0x4b2775=new _0x564523(_0x5ad554(0x3f8)+_0x3edee3+'-'+_0x4e863f[_0x5ad554(0x3ad)],{'left':_0x320858-_0x34f551[_0x5ad554(0x526)][_0x5ad554(0x41d)],'top':_0x48d816-_0x34f551[_0x5ad554(0x526)]['cxnPointRadius'],'targetShapeId':_0x3edee3,'cxnIndex':_0x4e863f[_0x5ad554(0x3ad)],'unitId':this[_0x5ad554(0x527)],'subUnitId':this[_0x5ad554(0x545)],'width':_0x34f551[_0x5ad554(0x526)]['cxnPointRadius']*0x2,'height':_0x34f551[_0x5ad554(0x526)][_0x5ad554(0x41d)]*0x2,'zIndex':_0x3e5eae[_0x5ad554(0x533)]+0x2,'evented':!0x1});this['_connectionSiteObjects'][_0x5ad554(0x217)](_0x4b2775),this[_0x5ad554(0x1ad)][_0x5ad554(0x1f1)](_0x4b2775,_0x3e5eae[_0x5ad554(0x533)]+0x2);}}['_findNearestConnectionSite'](_0x2102fd){const _0x4f5f67=_0x718440;let _0x29edc4=null,_0x283d67=0x1/0x0,_0x3b01f7=null;for(let _0x52b763 of this['_connectionSiteObjects']){let _0x2395f6=_0x52b763[_0x4f5f67(0x242)]+_0x34f551[_0x4f5f67(0x526)][_0x4f5f67(0x41d)],_0x257c57=_0x52b763[_0x4f5f67(0x4b1)]+_0x34f551['ShapeDefaultConfig'][_0x4f5f67(0x41d)],_0x13c2c0=_0x2102fd['x']-_0x2395f6,_0x1fee65=_0x2102fd['y']-_0x257c57,_0x14a14d=Math['sqrt'](_0x13c2c0*_0x13c2c0+_0x1fee65*_0x1fee65);_0x14a14d<_0x283d67&&(_0x283d67=_0x14a14d,_0x29edc4=_0x52b763,_0x3b01f7={'x':_0x2395f6,'y':_0x257c57});}let _0x155b09=_0x283d67<=0xa&&_0x29edc4?_0x29edc4[_0x4f5f67(0x57c)]()[_0x4f5f67(0x2e1)]:-0x1;if(_0x155b09!==this[_0x4f5f67(0x373)]){for(let _0x52155f of this[_0x4f5f67(0x1f4)]){let _0x204a39=_0x52155f[_0x4f5f67(0x57c)]();_0x52155f[_0x4f5f67(0x3d8)](_0x204a39[_0x4f5f67(0x2e1)]===_0x155b09);}this[_0x4f5f67(0x373)]=_0x155b09;}if(_0x283d67<=0xa&&_0x29edc4&&_0x3b01f7){let _0x273d3d=_0x29edc4['getConnectionInfo'](),_0x1e5211=this[_0x4f5f67(0x1b7)](_0x273d3d[_0x4f5f67(0x1fd)],_0x273d3d[_0x4f5f67(0x2e1)]);return{'shapeId':_0x273d3d[_0x4f5f67(0x1fd)],'cxnIndex':_0x273d3d['cxnIndex'],'unitId':_0x273d3d[_0x4f5f67(0x45d)],'subUnitId':_0x273d3d[_0x4f5f67(0x31f)],'worldPoint':_0x3b01f7,'angle':_0x1e5211};}return null;}[_0x718440(0x1b7)](_0x15c08c,_0xdc4e44){const _0x13ea68=_0x718440;let _0x530ef7=this[_0x13ea68(0x4cd)][_0x13ea68(0x459)](this['_unitId'],this['_subUnitId'],_0x15c08c);if(!_0x530ef7)return 0x0;let _0x396bec=this[_0x13ea68(0x2a8)][_0x13ea68(0x37d)]({'unitId':this[_0x13ea68(0x527)],'subUnitId':this[_0x13ea68(0x545)],'drawingId':_0x15c08c});if(!(_0x396bec!=null&&_0x396bec[_0x13ea68(0x4c7)]))return 0x0;let {width:_0x520e9d=0x0,height:_0x4bd951=0x0,flipX:_0x27017b=!0x1,flipY:_0x4573d5=!0x1}=_0x396bec['transform'];_0x530ef7[_0x13ea68(0x1bc)]({'width':_0x520e9d,'height':_0x4bd951});let _0x8b833=_0x530ef7[_0x13ea68(0x4af)]()['find'](_0x5af804=>_0x5af804[_0x13ea68(0x3ad)]===_0xdc4e44);if(!_0x8b833)return 0x0;let _0x11ceff=_0x8b833['ang']/0xea60;return _0x27017b&&(_0x11ceff=0xb4-_0x11ceff),_0x4573d5&&(_0x11ceff=-_0x11ceff),_0x11ceff=(_0x11ceff%0x168+0x168)%0x168,_0x11ceff;}[_0x718440(0x581)](){const _0x41a953=_0x718440;for(let _0x36bf60 of this['_connectionSiteObjects'])_0x36bf60[_0x41a953(0x4dd)]();this[_0x41a953(0x1f4)]=[],this[_0x41a953(0x373)]=-0x1;}[_0x718440(0x4dd)](){const _0x20d617=_0x718440;this[_0x20d617(0x581)](),super[_0x20d617(0x4dd)]();}};_0x39d55c=_0xb31b0c([_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x3e5eae[_0x718440(0x39e)])),_0x519f13(0x2,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x36b4c7['IDrawingManagerService'])),_0x519f13(0x3,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x239f56[_0x718440(0x3db)]))],_0x39d55c);let _0x19fd0d=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x131d70,_0x3b1f53,_0x19eff8,_0x4f1cc4,_0x454c62){const _0x4bfcb6=_0x718440;super(),this['_sheetSkeletonService']=_0x131d70,this[_0x4bfcb6(0x51f)]=_0x3b1f53,this[_0x4bfcb6(0x539)]=_0x19eff8,this[_0x4bfcb6(0x1fe)]=_0x4f1cc4,this[_0x4bfcb6(0x498)]=_0x454c62,_0x55cc91(this,_0x4bfcb6(0x36e),void 0x0),this['_initCopyPaste'](),this[_0x4bfcb6(0x56b)]();}get[_0x718440(0x431)](){const _0x47bd9c=_0x718440;return this[_0x47bd9c(0x539)]['getFocusDrawings']();}[_0x718440(0x56b)](){const _0xfd2d52=_0x718440;this[_0xfd2d52(0x498)]['registerFeaturePasteHook'](({fromUnitId:_0x324aed,fromSubUnitId:_0x3b1c59,toUnitId:_0xa02c03,toSubUnitId:_0x188780,idMap:_0x2b9160})=>{const _0x4af2f7=_0xfd2d52;let _0x1c36f7=[],_0x2c0ea5=[];for(let [_0x5b993d,_0xe81d4b]of _0x2b9160[_0x4af2f7(0x1f9)]()){let _0xe05b0f=this['_shapeService'][_0x4af2f7(0x459)](_0x324aed,_0x3b1c59,_0x5b993d);if(!_0xe05b0f)continue;let _0xa59f8e=_0xe05b0f['getShapeType'](),_0x273357=JSON[_0x4af2f7(0x2f8)](JSON[_0x4af2f7(0x1ee)](_0xe05b0f[_0x4af2f7(0x1e2)]()));if(_0x273357['relation']){var _0x20bb60,_0x5ba594;let _0x58fd8d=(_0x20bb60=_0x273357[_0x4af2f7(0x1f7)][_0x4af2f7(0x47c)])==null?void 0x0:_0x20bb60[_0x4af2f7(0x1fd)],_0x4978df=(_0x5ba594=_0x273357[_0x4af2f7(0x1f7)]['to'])==null?void 0x0:_0x5ba594[_0x4af2f7(0x1fd)],_0x53277c=!_0x58fd8d||_0x2b9160['has'](_0x58fd8d),_0x236a97=!_0x4978df||_0x2b9160[_0x4af2f7(0x40d)](_0x4978df);_0x53277c&&_0x58fd8d&&_0x273357[_0x4af2f7(0x1f7)][_0x4af2f7(0x47c)]?_0x273357[_0x4af2f7(0x1f7)]['from']={..._0x273357['relation'][_0x4af2f7(0x47c)],'shapeId':_0x2b9160['get'](_0x58fd8d)}:_0x273357['relation'][_0x4af2f7(0x47c)]=void 0x0,_0x236a97&&_0x4978df&&_0x273357['relation']['to']?_0x273357[_0x4af2f7(0x1f7)]['to']={..._0x273357['relation']['to'],'shapeId':_0x2b9160[_0x4af2f7(0x39f)](_0x4978df)}:_0x273357[_0x4af2f7(0x1f7)]['to']=void 0x0;}_0x1c36f7[_0x4af2f7(0x217)]({'id':_0x239f56[_0x4af2f7(0x2cf)]['id'],'params':{'unitId':_0xa02c03,'subUnitId':_0x188780,'shapeId':_0xe81d4b,'shapeType':_0xa59f8e,'shapeData':_0x273357}}),_0x2c0ea5[_0x4af2f7(0x217)]({'id':_0x239f56[_0x4af2f7(0x4ea)]['id'],'params':{'unitId':_0xa02c03,'subUnitId':_0x188780,'shapeId':_0xe81d4b}});}return{'redos':_0x1c36f7,'undos':_0x2c0ea5};});}['_initCopyPaste'](){const _0x167e52=_0x718440;this[_0x167e52(0x503)](this[_0x167e52(0x51f)][_0x167e52(0x42c)]({'id':_0x167e52(0x2ed),'onBeforeCopyFocusedObject':(_0x30fb80,_0x4fecf1,_0x422b03)=>{const _0x3649f4=_0x167e52;this[_0x3649f4(0x36e)]=null;let _0x2cd14f=this[_0x3649f4(0x431)][_0x3649f4(0x3c1)](_0x39a81c=>_0x39a81c[_0x3649f4(0x37f)]===_0x567e1d['DrawingTypeEnum'][_0x3649f4(0x20f)]);return _0x2cd14f[_0x3649f4(0x212)]!==0x0&&(this[_0x3649f4(0x36e)]={'unitId':_0x30fb80,'subUnitId':_0x4fecf1,'copyType':_0x422b03,'drawings':_0x2cd14f},!0x0);},'onBeforeCopy':(_0x3dfdb1,_0x380068,_0x14f469,_0x2a522f)=>{const _0x55bf2c=_0x167e52;this[_0x55bf2c(0x36e)]=null,this[_0x55bf2c(0x20c)](_0x3dfdb1,_0x380068,_0x14f469,_0x2a522f);},'onPasteCells':(_0x58dda0,_0x4e382b,_0x8575ef,_0x142f7a)=>{const _0x2030e6=_0x167e52;if(!_0x142f7a[_0x2030e6(0x2d6)]||!_0x58dda0||!this[_0x2030e6(0x36e)])return{'redos':[],'undos':[]};let {pasteType:_0x1a04f5}=_0x142f7a;return _0x1a04f5===_0x17eed7[_0x2030e6(0x1c8)][_0x2030e6(0x272)]?this[_0x2030e6(0x325)](_0x4e382b,this[_0x2030e6(0x36e)][_0x2030e6(0x517)]===_0x17eed7[_0x2030e6(0x39b)]['CUT']):{'redos':[],'undos':[]};}}));}[_0x718440(0x20c)](_0x54389e,_0x3a852e,_0x3dde9f,_0x50612c){const _0x34cabc=_0x718440;let _0x129976=this[_0x34cabc(0x2aa)][_0x34cabc(0x50e)](_0x54389e,_0x3a852e);if(!_0x129976)return;let _0xaf5ea=(0x0,_0x11447f[_0x34cabc(0x4a9)])(_0x129976,_0x3dde9f);if(!_0xaf5ea)return;let {startX:_0x2b39f2,endX:_0x440fa6,startY:_0x284c6d,endY:_0x1e5d42}=_0xaf5ea,_0x579c3b=this[_0x34cabc(0x539)][_0x34cabc(0x46f)](_0x54389e,_0x3a852e),_0x137990=[];for(let [_0x418561,_0x22910e]of Object[_0x34cabc(0x1f9)](_0x579c3b)){if(_0x22910e[_0x34cabc(0x37f)]!==_0x567e1d[_0x34cabc(0x2f1)]['DRAWING_SHAPE'])continue;let {transform:_0x38b585}=_0x22910e;if(!_0x38b585)continue;let {left:_0x35c6d6=0x0,top:_0x3eb2d0=0x0,width:_0x2d1d1c=0x0,height:_0x54c05b=0x0}=_0x38b585;_0x2b39f2<=_0x35c6d6&&_0x440fa6>=_0x35c6d6+_0x2d1d1c&&_0x284c6d<=_0x3eb2d0&&_0x1e5d42>=_0x3eb2d0+_0x54c05b&&_0x137990[_0x34cabc(0x217)](_0x22910e);}_0x137990['length']>0x0&&(this[_0x34cabc(0x36e)]={'unitId':_0x54389e,'subUnitId':_0x3a852e,'copyType':_0x50612c,'copyRange':_0x3dde9f,'drawings':_0x137990});}['_generatePasteMutations'](_0xd7fd,_0x58e5f7){const _0x51a74c=_0x718440;let {unitId:_0x4ef1b9,subUnitId:_0x25c88c,range:_0x27b73c}=_0xd7fd,_0x3de53a=this[_0x51a74c(0x2aa)]['getSkeleton'](_0x4ef1b9,_0x25c88c);if(!_0x3de53a)return{'redos':[],'undos':[]};let _0x3eb854=(0x0,_0x11447f[_0x51a74c(0x4d3)])(_0x27b73c),{unitId:_0x1ea1f7,subUnitId:_0x58a177,copyRange:_0x487332,drawings:_0x441a61}=this[_0x51a74c(0x36e)],_0x3f1030=this['_sheetSkeletonService'][_0x51a74c(0x50e)](_0x1ea1f7,_0x58a177);if(!_0x3f1030)return{'redos':[],'undos':[]};let _0x3c5872;if(!_0x487332){let _0x2ef3a9=0x1/0x0,_0x4a9c3d=0x1/0x0;for(let _0x172ed2 of _0x441a61){let {left:_0x2353d6=0x0,top:_0x4b3aab=0x0}=_0x172ed2[_0x51a74c(0x4c7)]??{};_0x2353d6<_0x2ef3a9&&(_0x2ef3a9=_0x2353d6),_0x4b3aab<_0x4a9c3d&&(_0x4a9c3d=_0x4b3aab);}_0x2ef3a9!==0x1/0x0&&_0x4a9c3d!==0x1/0x0&&(_0x3c5872={'left':_0x2ef3a9,'top':_0x4a9c3d});}let _0x38b640=new Map();if(!_0x58e5f7){for(let _0x3886b3 of _0x441a61)_0x38b640[_0x51a74c(0x327)](_0x3886b3[_0x51a74c(0x25d)],(0x0,_0x567e1d[_0x51a74c(0x368)])());}let _0x426e06=[],_0x3e0253=[];for(let _0x333fbc of _0x441a61){let {drawingId:_0x516c6b,transform:_0x37dbcf,sheetTransform:_0x195052}=_0x333fbc;if(!_0x37dbcf||!_0x195052)continue;let _0xe723ff=this['_updateTransform']({'transform':_0x37dbcf,'sheetTransform':_0x195052},{'skeleton':_0x3f1030,'range':_0x487332},{'skeleton':_0x3de53a,'range':_0x3eb854},_0x3c5872);if(_0x58e5f7){let {redos:_0x2a4b1d,undos:_0x21a791}=this['_generateCutPasteMutations']({'fromUnitId':_0x1ea1f7,'fromSubUnitId':_0x58a177,'toUnitId':_0x4ef1b9,'toSubUnitId':_0x25c88c,'drawing':_0x333fbc,'newTransforms':_0xe723ff});_0x426e06[_0x51a74c(0x217)](..._0x2a4b1d),_0x3e0253[_0x51a74c(0x217)](..._0x21a791);continue;}let {redos:_0x2b9812,undos:_0x2b39fd}=this['_generateCopyPasteMutations']({'toUnitId':_0x4ef1b9,'toSubUnitId':_0x25c88c,'drawing':_0x333fbc,'newTransforms':_0xe723ff,'newDrawingId':_0x38b640[_0x51a74c(0x39f)](_0x516c6b),'idMap':_0x38b640});_0x426e06[_0x51a74c(0x217)](..._0x2b9812),_0x3e0253[_0x51a74c(0x217)](..._0x2b39fd);}return{'redos':_0x426e06,'undos':_0x3e0253};}[_0x718440(0x36b)](_0x39bf5e){const _0x48cf9b=_0x718440;let {fromUnitId:_0x53f3f4,fromSubUnitId:_0x336a62,toUnitId:_0x3f7bfb,toSubUnitId:_0x11cc13,drawing:_0x4da2c5,newTransforms:_0x3baf17}=_0x39bf5e,_0x1e9a47={..._0x4da2c5,'unitId':_0x3f7bfb,'subUnitId':_0x11cc13,'transform':_0x3baf17['transform'],'sheetTransform':_0x3baf17[_0x48cf9b(0x513)]};if(_0x3f7bfb===_0x53f3f4&&_0x11cc13===_0x336a62){let {redo:_0x218859,undo:_0x10c442,objects:_0x17fd28}=this[_0x48cf9b(0x539)][_0x48cf9b(0x501)]([_0x1e9a47]);return{'redos':[{'id':_0x1f8323[_0x48cf9b(0x1ec)]['id'],'params':{'unitId':_0x3f7bfb,'subUnitId':_0x11cc13,'type':_0x1f8323[_0x48cf9b(0x58b)][_0x48cf9b(0x4a1)],'op':_0x218859,'objects':_0x17fd28}}],'undos':[{'id':_0x1f8323[_0x48cf9b(0x1ec)]['id'],'params':{'unitId':_0x3f7bfb,'subUnitId':_0x11cc13,'type':_0x1f8323[_0x48cf9b(0x58b)][_0x48cf9b(0x4a1)],'op':_0x10c442,'objects':_0x17fd28}}]};}{let _0x509083=this[_0x48cf9b(0x539)][_0x48cf9b(0x3ed)]([_0x4da2c5]),_0x4843e0=this[_0x48cf9b(0x539)][_0x48cf9b(0x54a)]([_0x1e9a47]),_0x1db6b3=this[_0x48cf9b(0x1fe)][_0x48cf9b(0x459)](_0x4da2c5[_0x48cf9b(0x45d)],_0x4da2c5[_0x48cf9b(0x31f)],_0x4da2c5[_0x48cf9b(0x25d)]);if(!_0x1db6b3)return{'redos':[],'undos':[]};let _0x4050cc=_0x1db6b3[_0x48cf9b(0x43a)](),_0x39bf39=JSON[_0x48cf9b(0x2f8)](JSON[_0x48cf9b(0x1ee)](_0x1db6b3['getShapeData']()));return{'redos':[{'id':_0x1f8323[_0x48cf9b(0x1ec)]['id'],'params':{'unitId':_0x53f3f4,'subUnitId':_0x336a62,'type':_0x1f8323[_0x48cf9b(0x58b)][_0x48cf9b(0x2b8)],'op':_0x509083[_0x48cf9b(0x298)],'objects':_0x509083[_0x48cf9b(0x4cc)]}},{'id':_0x239f56[_0x48cf9b(0x4ea)]['id'],'params':{'unitId':_0x53f3f4,'subUnitId':_0x336a62,'shapeId':_0x4da2c5[_0x48cf9b(0x25d)]}},{'id':_0x1f8323[_0x48cf9b(0x1ec)]['id'],'params':{'unitId':_0x3f7bfb,'subUnitId':_0x11cc13,'type':_0x1f8323['DrawingApplyType'][_0x48cf9b(0x29b)],'op':_0x4843e0[_0x48cf9b(0x298)],'objects':_0x4843e0[_0x48cf9b(0x4cc)]}},{'id':_0x239f56['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x3f7bfb,'subUnitId':_0x11cc13,'shapeId':_0x4da2c5[_0x48cf9b(0x25d)],'shapeType':_0x4050cc,'shapeData':_0x39bf39}}],'undos':[{'id':_0x1f8323['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x53f3f4,'subUnitId':_0x336a62,'type':_0x1f8323[_0x48cf9b(0x58b)][_0x48cf9b(0x29b)],'op':_0x509083[_0x48cf9b(0x1fc)],'objects':_0x509083[_0x48cf9b(0x4cc)]}},{'id':_0x239f56[_0x48cf9b(0x2cf)]['id'],'params':{'unitId':_0x53f3f4,'subUnitId':_0x336a62,'shapeId':_0x4da2c5[_0x48cf9b(0x25d)],'shapeType':_0x4050cc,'shapeData':_0x39bf39}},{'id':_0x1f8323[_0x48cf9b(0x1ec)]['id'],'params':{'unitId':_0x3f7bfb,'subUnitId':_0x11cc13,'type':_0x1f8323[_0x48cf9b(0x58b)][_0x48cf9b(0x2b8)],'op':_0x4843e0[_0x48cf9b(0x1fc)],'objects':_0x4843e0['objects']}},{'id':_0x239f56[_0x48cf9b(0x4ea)]['id'],'params':{'unitId':_0x3f7bfb,'subUnitId':_0x11cc13,'shapeId':_0x4da2c5[_0x48cf9b(0x25d)]}}]};}}['_generateCopyPasteMutations'](_0x46927a){const _0x27d564=_0x718440;let {toUnitId:_0x285a07,toSubUnitId:_0x1dbce7,drawing:_0x2e7398,newTransforms:_0x60448a,newDrawingId:_0x3e18f0,idMap:_0x4b9681}=_0x46927a,_0x13315b={..._0x2e7398,'unitId':_0x285a07,'subUnitId':_0x1dbce7,'drawingId':_0x3e18f0,'transform':_0x60448a[_0x27d564(0x4c7)],'sheetTransform':_0x60448a['sheetTransform']},{redo:_0x37c56e,undo:_0x1797bb,objects:_0x2ad823}=this['_sheetDrawingService'][_0x27d564(0x54a)]([_0x13315b]),_0x27393c=this[_0x27d564(0x1fe)]['getShapeModel'](_0x2e7398[_0x27d564(0x45d)],_0x2e7398[_0x27d564(0x31f)],_0x2e7398[_0x27d564(0x25d)]);if(!_0x27393c)return{'redos':[],'undos':[]};let _0x50fcff=_0x27393c[_0x27d564(0x43a)](),_0x322354=JSON[_0x27d564(0x2f8)](JSON['stringify'](_0x27393c[_0x27d564(0x1e2)]()));if(_0x322354[_0x27d564(0x1f7)]){var _0x894a89,_0x19913c;let _0x4ec188=(_0x894a89=_0x322354['relation']['from'])==null?void 0x0:_0x894a89[_0x27d564(0x1fd)],_0x1c24bb=(_0x19913c=_0x322354[_0x27d564(0x1f7)]['to'])==null?void 0x0:_0x19913c[_0x27d564(0x1fd)],_0x19f571=!_0x4ec188||_0x4b9681[_0x27d564(0x40d)](_0x4ec188),_0x5b6c88=!_0x1c24bb||_0x4b9681['has'](_0x1c24bb);_0x19f571&&_0x4ec188&&_0x322354[_0x27d564(0x1f7)][_0x27d564(0x47c)]?_0x322354[_0x27d564(0x1f7)][_0x27d564(0x47c)]={..._0x322354[_0x27d564(0x1f7)][_0x27d564(0x47c)],'shapeId':_0x4b9681[_0x27d564(0x39f)](_0x4ec188)}:_0x322354[_0x27d564(0x1f7)][_0x27d564(0x47c)]=void 0x0,_0x5b6c88&&_0x1c24bb&&_0x322354['relation']['to']?_0x322354['relation']['to']={..._0x322354[_0x27d564(0x1f7)]['to'],'shapeId':_0x4b9681[_0x27d564(0x39f)](_0x1c24bb)}:_0x322354['relation']['to']=void 0x0;}return{'redos':[{'id':_0x1f8323['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x285a07,'subUnitId':_0x1dbce7,'type':_0x1f8323[_0x27d564(0x58b)][_0x27d564(0x29b)],'op':_0x37c56e,'objects':_0x2ad823}},{'id':_0x239f56[_0x27d564(0x2cf)]['id'],'params':{'unitId':_0x285a07,'subUnitId':_0x1dbce7,'shapeId':_0x3e18f0,'shapeType':_0x50fcff,'shapeData':_0x322354}}],'undos':[{'id':_0x1f8323[_0x27d564(0x1ec)]['id'],'params':{'unitId':_0x285a07,'subUnitId':_0x1dbce7,'type':_0x1f8323['DrawingApplyType']['REMOVE'],'op':_0x1797bb,'objects':_0x2ad823}},{'id':_0x239f56[_0x27d564(0x4ea)]['id'],'params':{'unitId':_0x285a07,'subUnitId':_0x1dbce7,'shapeId':_0x3e18f0}}]};}[_0x718440(0x3ea)](_0x48de01,_0x24bb0c,_0xf8fea9,_0x3b10a0){const _0x211f22=_0x718440;let {range:_0x5a46b3,skeleton:_0x4c5848}=_0x24bb0c,{range:_0x41343a,skeleton:_0x377bbf}=_0xf8fea9,{transform:_0x32359f,sheetTransform:_0x2aa49d}=_0x48de01,_0x550a62={..._0x32359f};if(_0x5a46b3){let _0x4b2a30=(0x0,_0x11447f[_0x211f22(0x4a9)])(_0x4c5848,_0x5a46b3),_0x2d59e3=(0x0,_0x11447f[_0x211f22(0x4a9)])(_0x377bbf,_0x41343a);if(_0x4b2a30&&_0x2d59e3){let _0x52614d=_0x2d59e3[_0x211f22(0x3dd)]-_0x4b2a30['startX'],_0x52a223=_0x2d59e3[_0x211f22(0x42e)]-_0x4b2a30[_0x211f22(0x42e)];_0x550a62['left']=(_0x550a62[_0x211f22(0x242)]??0x0)+_0x52614d,_0x550a62[_0x211f22(0x4b1)]=(_0x550a62[_0x211f22(0x4b1)]??0x0)+_0x52a223;}}else{let _0x26c9a8=(0x0,_0x11447f[_0x211f22(0x4a9)])(_0x377bbf,_0x41343a);if(_0x3b10a0&&_0x26c9a8){let _0x4ff7b1=(_0x550a62[_0x211f22(0x242)]??0x0)-_0x3b10a0['left'],_0x2b5473=(_0x550a62[_0x211f22(0x4b1)]??0x0)-_0x3b10a0[_0x211f22(0x4b1)];_0x550a62[_0x211f22(0x242)]=_0x26c9a8[_0x211f22(0x3dd)]+_0x4ff7b1,_0x550a62[_0x211f22(0x4b1)]=_0x26c9a8['startY']+_0x2b5473;}else _0x550a62['left']=_0x26c9a8==null?void 0x0:_0x26c9a8[_0x211f22(0x3dd)],_0x550a62[_0x211f22(0x4b1)]=_0x26c9a8==null?void 0x0:_0x26c9a8['startY'];}return{'transform':_0x550a62,'sheetTransform':(0x0,_0x1f8323[_0x211f22(0x473)])(_0x550a62,_0x377bbf)??_0x2aa49d};}};_0x19fd0d=_0xb31b0c([_0x519f13(0x0,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x11447f[_0x718440(0x58c)])),_0x519f13(0x1,(0x0,_0x567e1d['Inject'])(_0x17eed7[_0x718440(0x3ca)])),_0x519f13(0x2,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x1f8323['ISheetDrawingService'])),_0x519f13(0x3,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x239f56[_0x718440(0x3db)])),_0x519f13(0x4,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x2ea516[_0x718440(0x33d)]))],_0x19fd0d);var _0x375908=class extends _0x3e5eae[_0x718440(0x53a)]{constructor(_0x46e31f,_0x56a7df){const _0x43b919=_0x718440;super(_0x46e31f,_0x56a7df),_0x55cc91(this,'_shapeId',null),_0x55cc91(this,_0x43b919(0x4c0),null),_0x55cc91(this,'_unitId',null),_0x55cc91(this,_0x43b919(0x545),null),_0x55cc91(this,_0x43b919(0x2fb),!0x1),_0x56a7df&&this[_0x43b919(0x520)](_0x56a7df);}[_0x718440(0x440)](){const _0x1a18a2=_0x718440;return{'unitId':this[_0x1a18a2(0x527)],'subUnitId':this[_0x1a18a2(0x545)],'drawingId':this[_0x1a18a2(0x314)]};}['setShapeProps'](_0x2964e5){const _0x2d2b36=_0x718440;_0x2964e5['shapeId']!==void 0x0&&(this[_0x2d2b36(0x314)]=_0x2964e5[_0x2d2b36(0x1fd)]),_0x2964e5['unitId']!==void 0x0&&(this[_0x2d2b36(0x527)]=_0x2964e5[_0x2d2b36(0x45d)]),_0x2964e5[_0x2d2b36(0x31f)]!==void 0x0&&(this[_0x2d2b36(0x545)]=_0x2964e5[_0x2d2b36(0x31f)]),_0x2964e5[_0x2d2b36(0x43e)]!==void 0x0&&(this[_0x2d2b36(0x2fb)]=_0x2964e5['isStartConnectorPoint']),this[_0x2d2b36(0x2d4)]({'width':_0x2964e5['width'],'height':_0x2964e5[_0x2d2b36(0x1ef)]});}[_0x718440(0x250)](_0x3ff718){const _0x57d181=_0x718440;_0x3e5eae['Circle'][_0x57d181(0x578)](_0x3ff718,{'radius':_0x34f551['ShapeDefaultConfig']['cxnPointRadius'],'fill':_0x34f551[_0x57d181(0x526)][_0x57d181(0x4f3)],'stroke':_0x34f551[_0x57d181(0x526)][_0x57d181(0x260)],'strokeWidth':_0x34f551[_0x57d181(0x526)][_0x57d181(0x273)],'evented':!0x0});}};let _0x2dd992=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x4cee70,_0x5a69cb,_0x123cc9,_0x3edb63,_0x3389f2,_0x4ce82c,_0x4ffe61,_0x177a81){const _0x27cf04=_0x718440;super(),this[_0x27cf04(0x2f6)]=_0x4cee70,this[_0x27cf04(0x594)]=_0x5a69cb,this['_renderManagerService']=_0x123cc9,this[_0x27cf04(0x2a8)]=_0x3edb63,this[_0x27cf04(0x34a)]=_0x3389f2,this[_0x27cf04(0x4cd)]=_0x4ce82c,this[_0x27cf04(0x426)]=_0x4ffe61,this[_0x27cf04(0x22b)]=_0x177a81,_0x55cc91(this,_0x27cf04(0x28c),void 0x0),_0x55cc91(this,_0x27cf04(0x527),void 0x0),_0x55cc91(this,'_subUnitId',void 0x0),_0x55cc91(this,_0x27cf04(0x44e),[]),_0x55cc91(this,_0x27cf04(0x3cb),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),_0x55cc91(this,'_activeShapeModel',void 0x0),_0x55cc91(this,_0x27cf04(0x3a8),!0x1),_0x55cc91(this,_0x27cf04(0x542),!0x1),_0x55cc91(this,'_hasReset',!0x1),_0x55cc91(this,_0x27cf04(0x26e),void 0x0),_0x55cc91(this,_0x27cf04(0x4f2),void 0x0),_0x55cc91(this,_0x27cf04(0x1de),null),this[_0x27cf04(0x4e4)]();}[_0x718440(0x4e4)](){const _0x20556e=_0x718440;this[_0x20556e(0x3be)](),this[_0x20556e(0x46c)]();}[_0x718440(0x3d7)](){const _0x456fce=_0x718440;if(!this[_0x456fce(0x527)]||!this[_0x456fce(0x545)]||!this[_0x456fce(0x28c)])return;let _0x532530={'unitId':this[_0x456fce(0x527)],'subUnitId':this[_0x456fce(0x545)],'drawingId':this['_activeShapeId']},{transform:_0x4833a3}=this[_0x456fce(0x2a8)][_0x456fce(0x37d)](_0x532530);if(_0x4833a3)return{'left':_0x4833a3[_0x456fce(0x242)]||0x0,'top':_0x4833a3[_0x456fce(0x4b1)]||0x0,'width':_0x4833a3[_0x456fce(0x3d1)]||0x0,'height':_0x4833a3[_0x456fce(0x1ef)]||0x0,'flipX':_0x4833a3[_0x456fce(0x554)]||!0x1,'flipY':_0x4833a3[_0x456fce(0x1ed)]||!0x1,'angle':_0x4833a3[_0x456fce(0x37c)]};}[_0x718440(0x28e)](){const _0x5e8ea3=_0x718440;if(this['_unitId']===void 0x0||this['_subUnitId']===void 0x0||this[_0x5e8ea3(0x28c)]===void 0x0)return;let _0x560f6f=this[_0x5e8ea3(0x57e)][_0x5e8ea3(0x403)](this['_unitId']);if(!_0x560f6f||!_0x560f6f['with'](_0x17eed7['SheetSkeletonManagerService'])['getCurrentSkeleton']())return;let {scene:_0x662602}=_0x560f6f,_0x4176ff=this[_0x5e8ea3(0x3d7)]();if(!_0x4176ff)return;let _0x281ffb=this[_0x5e8ea3(0x4cd)][_0x5e8ea3(0x459)](this['_unitId'],this[_0x5e8ea3(0x545)],this['_activeShapeId']);if(!_0x281ffb||!(0x0,_0x34f551[_0x5e8ea3(0x22d)])(_0x281ffb[_0x5e8ea3(0x43a)]()))return;let _0x9e3cee=_0x281ffb['getConnectorLinePoints']();if(_0x9e3cee['length']<0x2)return;let _0x52302e=new _0x34f551[(_0x5e8ea3(0x371))](_0x4176ff),_0x269be0=_0x9e3cee[0x0],_0xa0d456=_0x9e3cee[_0x9e3cee['length']-0x1],_0x581a3e=_0x52302e[_0x5e8ea3(0x1ba)](_0x269be0),_0x927766=_0x52302e[_0x5e8ea3(0x1ba)](_0xa0d456);this[_0x5e8ea3(0x463)](_0x662602,{..._0x581a3e},!0x0),this[_0x5e8ea3(0x463)](_0x662602,{..._0x927766},!0x1);}[_0x718440(0x463)](_0x23ab04,_0x1d02b8,_0x527566){const _0x3a75f7=_0x718440;if(this['_activeShapeId']===void 0x0||this['_unitId']===void 0x0||this[_0x3a75f7(0x545)]===void 0x0)return;let _0x18c54f='connector-handler-'+this[_0x3a75f7(0x527)]+'-'+this[_0x3a75f7(0x545)]+'-'+this[_0x3a75f7(0x28c)]+'-'+(_0x527566?_0x3a75f7(0x1b1):_0x3a75f7(0x41e)),_0x2e8abc=_0x23ab04[_0x3a75f7(0x566)](_0x18c54f);if(_0x2e8abc){_0x2e8abc[_0x3a75f7(0x2d4)]({'left':_0x1d02b8['x']-_0x34f551[_0x3a75f7(0x526)][_0x3a75f7(0x41d)],'top':_0x1d02b8['y']-_0x34f551[_0x3a75f7(0x526)][_0x3a75f7(0x41d)]});return;}let _0x543181=new _0x375908(_0x18c54f,{'left':_0x1d02b8['x']-_0x34f551['ShapeDefaultConfig'][_0x3a75f7(0x41d)],'top':_0x1d02b8['y']-_0x34f551['ShapeDefaultConfig'][_0x3a75f7(0x41d)],'shapeId':this[_0x3a75f7(0x28c)],'unitId':this[_0x3a75f7(0x527)],'subUnitId':this['_subUnitId'],'isStartConnectorPoint':_0x527566,'width':_0x34f551[_0x3a75f7(0x526)]['cxnPointRadius']*0x2,'height':_0x34f551[_0x3a75f7(0x526)][_0x3a75f7(0x41d)]*0x2,'zIndex':_0x3e5eae[_0x3a75f7(0x533)]+0x1,'evented':!0x0});this[_0x3a75f7(0x44e)][_0x3a75f7(0x217)](_0x543181),this['_attachConnectorObjectEvent'](_0x543181,_0x23ab04,_0x527566),_0x23ab04['addObject'](_0x543181,_0x3e5eae[_0x3a75f7(0x533)]+0x1);}[_0x718440(0x1ce)](_0x4eb341,_0x128758){const _0x2cbdd5=_0x718440;var _0x33966a;let _0x81da8e={'x':0x0,'y':0x0};if(!_0x4eb341||!_0x128758)return _0x81da8e;let _0x4c4756=this[_0x2cbdd5(0x57e)][_0x2cbdd5(0x403)](_0x4eb341);if(!_0x4c4756||!_0x4c4756[_0x2cbdd5(0x549)](_0x17eed7[_0x2cbdd5(0x204)])[_0x2cbdd5(0x50e)](_0x128758))return _0x81da8e;let _0x177497=_0x4c4756[_0x2cbdd5(0x549)](_0x17eed7[_0x2cbdd5(0x369)]),_0x25d389=_0x177497==null?void 0x0:_0x177497[_0x2cbdd5(0x29a)]();if(!_0x25d389)return _0x81da8e;let _0x1f9fee=(_0x33966a=this[_0x2cbdd5(0x34a)][_0x2cbdd5(0x25c)](_0x4eb341))==null?void 0x0:_0x33966a[_0x2cbdd5(0x19d)](_0x128758);if(!_0x1f9fee)return _0x81da8e;let _0x4b364f=(0x0,_0x17eed7['getViewportByCell'])(_0x25d389[_0x2cbdd5(0x38e)],_0x25d389[_0x2cbdd5(0x3cf)],_0x4c4756[_0x2cbdd5(0x53c)],_0x1f9fee);return _0x4b364f?{'x':_0x4b364f[_0x2cbdd5(0x366)],'y':_0x4b364f[_0x2cbdd5(0x1a7)]}:_0x81da8e;}[_0x718440(0x50f)](_0xe5f23a,_0x3f3dec){const _0x1497ef=_0x718440;var _0x85bc2a;let _0x5e4826=(_0x85bc2a=this[_0x1497ef(0x34a)][_0x1497ef(0x25c)](_0xe5f23a))==null?void 0x0:_0x85bc2a[_0x1497ef(0x19d)](_0x3f3dec);return(_0x5e4826==null?void 0x0:_0x5e4826['getZoomRatio']())??0x1;}['_handleConnectorPointerUp'](_0x3b6c8c,_0x134a5d,_0x27bf33,_0x5d1cf7,_0xcf07fb){const _0x4daed5=_0x718440;this[_0x4daed5(0x26e)]['unsubscribe'](),this['_cxtHandlerPointerUp']['unsubscribe'](),this['_sheetShapeAdjustController'][_0x4daed5(0x2c1)]();let _0x20d627=this['_currentConnectionTarget'];this['_sheetBasicShapeConnectionPointController'][_0x4daed5(0x346)]();let _0x2ecaf9=this['_getScrollInfo'](this['_unitId'],this[_0x4daed5(0x545)]),_0x238ce7=this['_getZoomRatio'](this[_0x4daed5(0x527)],this['_subUnitId']),_0x20824f={'x':_0x27bf33[_0x4daed5(0x4d5)]/_0x238ce7+_0x2ecaf9['x'],'y':_0x27bf33[_0x4daed5(0x423)]/_0x238ce7+_0x2ecaf9['y']},_0x1220ec=_0x20d627?_0x20d627[_0x4daed5(0x387)]:_0x20824f,_0x1c3c19=_0x5d1cf7?this[_0x4daed5(0x2f3)][_0x4daed5(0x521)]():this[_0x4daed5(0x2f3)][_0x4daed5(0x348)](),_0x374e2a=this[_0x4daed5(0x2f3)]['getShapeType']();_0x1c3c19?this['_handleConnectedEndpointPointerUp'](_0x1c3c19,_0x1220ec,_0x5d1cf7,_0x20d627,_0xcf07fb):this[_0x4daed5(0x2cb)](_0x134a5d,_0x1220ec,_0x5d1cf7,_0x20d627,_0xcf07fb,_0x374e2a),this[_0x4daed5(0x3a8)]=!0x1,this[_0x4daed5(0x412)]=!0x1,this['_currentConnectionTarget']=null,_0x3b6c8c[_0x4daed5(0x317)]();}[_0x718440(0x2cb)](_0x19b12e,_0x14c295,_0x1bb9c6,_0xef107e,_0x48d5ec,_0x22df71){const _0x559705=_0x718440;let _0x5ddc1a=_0x22df71===_0x34f551[_0x559705(0x1ea)]['Line']||_0x22df71===_0x34f551[_0x559705(0x1ea)]['StraightConnector1'],_0x58e5b4=_0x1bb9c6?_0x14c295:_0x19b12e,_0xc20013=_0x1bb9c6?_0x19b12e:_0x14c295,_0x4cec74=this[_0x559705(0x2f3)][_0x559705(0x30f)](),_0x4c5628=this[_0x559705(0x2f3)][_0x559705(0x43a)](),_0x46ba59=(0x0,_0x34f551['isCurvedConnectorShape'])(_0x4c5628),_0x4d7458=_0x34f551[_0x559705(0x371)]['getBentTypeFromPoints'](_0x4cec74,_0x46ba59),_0x330001=_0x5ddc1a?_0x34f551[_0x559705(0x371)][_0x559705(0x332)](_0x58e5b4,_0xc20013):_0x34f551[_0x559705(0x371)][_0x559705(0x530)](_0x19b12e,_0x14c295,_0x1bb9c6,_0x4d7458);_0xef107e?this[_0x559705(0x2c0)](_0x330001,_0xef107e,_0x1bb9c6,_0x48d5ec):this[_0x559705(0x4ef)](_0x330001,_0x48d5ec);}[_0x718440(0x515)](_0x2f8f6d,_0x35feaf,_0x2382aa,_0x43c932,_0x1be3c5){const _0x2e22a6=_0x718440;let _0x40f177=this['_getConnectPointInfo'](_0x2f8f6d);if(!_0x40f177)return;let _0x13305a=_0x43c932?_0x43c932[_0x2e22a6(0x37c)]:this[_0x2e22a6(0x455)](_0x40f177[_0x2e22a6(0x456)],_0x35feaf),_0x227b19;if(_0x43c932){let _0x20051f=this[_0x2e22a6(0x2a8)]['getDrawingByParam']({'unitId':_0x43c932['unitId'],'subUnitId':_0x43c932[_0x2e22a6(0x31f)],'drawingId':_0x43c932[_0x2e22a6(0x1fd)]});if(_0x20051f!=null&&_0x20051f['transform']){let {left:_0x140e34=0x0,top:_0x445e41=0x0,width:_0x2d89eb=0x0,height:_0x5e0000=0x0,angle:_0x266606}=_0x20051f[_0x2e22a6(0x4c7)];_0x227b19=(0x0,_0x34f551[_0x2e22a6(0x3a7)])({'left':_0x140e34,'top':_0x445e41,'width':_0x2d89eb,'height':_0x5e0000},_0x266606||0x0);}else _0x227b19={'left':_0x35feaf['x'],'top':_0x35feaf['y'],'width':0x0,'height':0x0};}else _0x227b19={'left':_0x35feaf['x'],'top':_0x35feaf['y'],'width':0x0,'height':0x0};let _0x1a52c4={'point':_0x35feaf,'angle':_0x13305a,'bounds':_0x227b19},_0x51f9eb=_0x2382aa?_0x1a52c4:_0x40f177,_0x1dc46e=_0x2382aa?_0x40f177:_0x1a52c4,_0xfaa0ad=this[_0x2e22a6(0x2f3)][_0x2e22a6(0x43a)](),_0x2c9880=(0x0,_0x34f551['routeConnectorLineShape'])(_0x51f9eb,_0x1dc46e,_0xfaa0ad);this[_0x2e22a6(0x2f3)][_0x2e22a6(0x1a8)]();let _0xa72c5c=(0x0,_0x34f551[_0x2e22a6(0x543)])(_0x2c9880,_0xfaa0ad);_0x43c932?this[_0x2e22a6(0x562)](_0xa72c5c,_0x43c932,_0x2f8f6d,_0x2382aa,_0x1be3c5):this[_0x2e22a6(0x500)](_0xa72c5c,_0x2f8f6d,_0x2382aa,_0x1be3c5);}[_0x718440(0x2c0)](_0x24b2a4,_0xa9a043,_0x1d4b48,_0x1ad28b){const _0x5c813f=_0x718440;let _0x4758bc=this[_0x5c813f(0x2f3)]['getShapeData']()[_0x5c813f(0x1f7)],_0x10c256={..._0x4758bc},_0x320710={'shapeId':_0xa9a043[_0x5c813f(0x1fd)],'cxnIndex':_0xa9a043['cxnIndex']};_0x1d4b48?_0x10c256['from']=_0x320710:_0x10c256['to']=_0x320710;let _0x187e58=this[_0x5c813f(0x2f3)][_0x5c813f(0x43a)](),_0x2053bf=(0x0,_0x34f551[_0x5c813f(0x543)])(_0x24b2a4['worldPoints'],_0x187e58),_0x10702b={'unitId':this['_unitId'],'subUnitId':this[_0x5c813f(0x545)],'connectorShapeId':this[_0x5c813f(0x28c)],'width':_0x24b2a4[_0x5c813f(0x458)][_0x5c813f(0x3d1)],'height':_0x24b2a4[_0x5c813f(0x458)][_0x5c813f(0x1ef)],'left':_0x24b2a4['worldRect']['left'],'top':_0x24b2a4[_0x5c813f(0x458)][_0x5c813f(0x4b1)],'flipX':_0x24b2a4[_0x5c813f(0x458)][_0x5c813f(0x554)]||!0x1,'flipY':_0x24b2a4['worldRect'][_0x5c813f(0x1ed)]||!0x1,'newAdjustValues':_0x2053bf['adjustValues'],'oldAdjustValues':_0x1ad28b,'oldRelation':_0x4758bc,'newRelation':_0x10c256,'newLineType':_0x2053bf[_0x5c813f(0x236)],'oldLineType':_0x187e58};this[_0x5c813f(0x594)][_0x5c813f(0x3c0)](_0x239f56[_0x5c813f(0x497)]['id'],_0x10702b);}[_0x718440(0x4ef)](_0x2959ce,_0x21870b){const _0x5aaac1=_0x718440;let _0x5d6f0b=this['_activeShapeModel'][_0x5aaac1(0x43a)](),_0x709eef=(0x0,_0x34f551['computeConnectorRouteLayout'])(_0x2959ce['worldPoints'],_0x5d6f0b),_0x3da094={'unitId':this[_0x5aaac1(0x527)],'subUnitId':this['_subUnitId'],'shapeId':this[_0x5aaac1(0x28c)],'width':_0x2959ce[_0x5aaac1(0x458)][_0x5aaac1(0x3d1)],'height':_0x2959ce[_0x5aaac1(0x458)][_0x5aaac1(0x1ef)],'left':_0x2959ce[_0x5aaac1(0x458)][_0x5aaac1(0x242)],'top':_0x2959ce[_0x5aaac1(0x458)]['top'],'flipX':_0x2959ce['worldRect']['flipX']||!0x1,'flipY':_0x2959ce[_0x5aaac1(0x458)][_0x5aaac1(0x1ed)]||!0x1,'angle':_0x2959ce[_0x5aaac1(0x458)][_0x5aaac1(0x37c)]||0x0,'newAdjustValues':_0x709eef[_0x5aaac1(0x28a)],'oldAdjustValues':_0x21870b,'newLineType':_0x709eef[_0x5aaac1(0x236)],'oldLineType':_0x5d6f0b};this[_0x5aaac1(0x594)][_0x5aaac1(0x3c0)](_0x239f56[_0x5aaac1(0x3ec)]['id'],_0x3da094);}[_0x718440(0x562)](_0x44fcbb,_0x27e79f,_0x5594ff,_0x64af86,_0x33cab3){const _0x346486=_0x718440;let _0x5d37a5=this[_0x346486(0x2f3)][_0x346486(0x1e2)]()[_0x346486(0x1f7)],_0x111cf0={..._0x5d37a5},_0x227fec={'shapeId':_0x27e79f['shapeId'],'cxnIndex':_0x27e79f[_0x346486(0x2e1)]};_0x64af86?(_0x111cf0[_0x346486(0x47c)]=_0x227fec,_0x111cf0['to']=_0x5594ff):(_0x111cf0['from']=_0x5594ff,_0x111cf0['to']=_0x227fec);let _0x274362={'unitId':this[_0x346486(0x527)],'subUnitId':this['_subUnitId'],'connectorShapeId':this['_activeShapeId'],'width':_0x44fcbb[_0x346486(0x458)][_0x346486(0x3d1)],'height':_0x44fcbb[_0x346486(0x458)][_0x346486(0x1ef)],'left':_0x44fcbb[_0x346486(0x458)][_0x346486(0x242)],'top':_0x44fcbb[_0x346486(0x458)]['top'],'flipX':_0x44fcbb[_0x346486(0x458)]['flipX']||!0x1,'flipY':_0x44fcbb['worldRect'][_0x346486(0x1ed)]||!0x1,'oldAdjustValues':_0x33cab3,'newAdjustValues':_0x44fcbb[_0x346486(0x28a)],'newLineType':_0x44fcbb[_0x346486(0x236)],'rotation':_0x44fcbb['rotation'],'oldRelation':_0x5d37a5,'newRelation':_0x111cf0};this[_0x346486(0x594)]['executeCommand'](_0x239f56[_0x346486(0x497)]['id'],_0x274362);}['_executeConnectedRouteResizeCommand'](_0x25f295,_0x59a3f0,_0x5bd13c,_0x51eeca){const _0x5d82dd=_0x718440;let _0x3def98=this['_activeShapeModel'][_0x5d82dd(0x1e2)]()[_0x5d82dd(0x1f7)],_0x245557={};_0x5bd13c?(_0x245557['to']=_0x59a3f0,_0x245557[_0x5d82dd(0x47c)]=void 0x0):(_0x245557['from']=_0x59a3f0,_0x245557['to']=void 0x0);let _0x2d3255={'unitId':this['_unitId'],'subUnitId':this[_0x5d82dd(0x545)],'connectorShapeId':this[_0x5d82dd(0x28c)],'width':_0x25f295[_0x5d82dd(0x458)]['width'],'height':_0x25f295[_0x5d82dd(0x458)][_0x5d82dd(0x1ef)],'left':_0x25f295[_0x5d82dd(0x458)][_0x5d82dd(0x242)],'top':_0x25f295[_0x5d82dd(0x458)][_0x5d82dd(0x4b1)],'flipX':_0x25f295[_0x5d82dd(0x458)][_0x5d82dd(0x554)]||!0x1,'flipY':_0x25f295[_0x5d82dd(0x458)]['flipY']||!0x1,'oldAdjustValues':_0x51eeca,'newAdjustValues':_0x25f295[_0x5d82dd(0x28a)],'newLineType':_0x25f295[_0x5d82dd(0x236)],'rotation':_0x25f295[_0x5d82dd(0x416)],'oldRelation':_0x3def98,'newRelation':_0x245557};this[_0x5d82dd(0x594)][_0x5d82dd(0x3c0)](_0x239f56[_0x5d82dd(0x497)]['id'],_0x2d3255);}[_0x718440(0x3e1)](_0x36b6f9,_0x4fb0b0,_0xc3e895){const _0x49f870=_0x718440;this[_0x49f870(0x503)]((0x0,_0x567e1d[_0x49f870(0x23c)])(_0x36b6f9[_0x49f870(0x2f5)]['subscribeEvent']((_0x46391f,_0x5c6d4e)=>{const _0x49f6d8=_0x49f870;let _0x2ba49e=_0x36b6f9[_0x49f6d8(0x440)]();if(this[_0x49f6d8(0x2f3)]=this['_sheetsShapeService'][_0x49f6d8(0x459)](_0x2ba49e[_0x49f6d8(0x45d)],_0x2ba49e[_0x49f6d8(0x31f)],_0x2ba49e[_0x49f6d8(0x25d)]),!this[_0x49f6d8(0x2f3)])return;let _0x106a34={};this['_activeShapeModel'][_0x49f6d8(0x3f9)]()[_0x49f6d8(0x241)](_0x3e7445=>{const _0x4a8093=_0x49f6d8;let _0x4713f4=this[_0x4a8093(0x2f3)]['getAdjustValueByName'](_0x3e7445);_0x4713f4!==void 0x0&&(_0x106a34[_0x3e7445]=_0x4713f4);});let _0x46750f=this[_0x49f6d8(0x3d7)]();if(!_0x46750f)return;this[_0x49f6d8(0x3cb)]={..._0x46750f};let _0x5d017c=new _0x34f551['ConnectorCoordinateTransform'](this['_baseDrawingRect']),_0x27d755=(0x0,_0x36b4c7[_0x49f6d8(0x56c)])({'unitId':this[_0x49f6d8(0x527)],'subUnitId':this[_0x49f6d8(0x545)],'drawingId':this[_0x49f6d8(0x28c)]}),_0x5d5045=_0x4fb0b0[_0x49f6d8(0x566)](_0x27d755);this[_0x49f6d8(0x3a8)]=!0x0,_0x4fb0b0['disableObjectsEvent'](),this['_sheetBasicShapeConnectionPointController']['startConnectionDetection'](_0x4fb0b0,this[_0x49f6d8(0x527)],this['_subUnitId'],this[_0x49f6d8(0x28c)]),this[_0x49f6d8(0x1de)]=null;let _0x3158ce=this[_0x49f6d8(0x2f3)][_0x49f6d8(0x30f)](),_0x40842a=_0x3158ce[0x0],_0x482614=_0x3158ce[_0x3158ce['length']-0x1],_0x2b5bc2=_0xc3e895?_0x5d017c[_0x49f6d8(0x1ba)](_0x482614):_0x5d017c[_0x49f6d8(0x1ba)](_0x40842a);this['_cxtHandlerPointerMove']=_0x4fb0b0[_0x49f6d8(0x1dd)]['subscribeEvent']((_0x4fdc6b,_0x15b1af)=>{const _0x2b7317=_0x49f6d8;if(!this[_0x2b7317(0x3a8)]||!this[_0x2b7317(0x2f3)])return;this[_0x2b7317(0x412)]||=(this[_0x2b7317(0x426)][_0x2b7317(0x1b8)](),this[_0x2b7317(0x2f3)][_0x2b7317(0x4f0)](),!0x0);let _0x1075a0=this[_0x2b7317(0x1ce)](this['_unitId'],this[_0x2b7317(0x545)]),_0x3859f4=this[_0x2b7317(0x50f)](this[_0x2b7317(0x527)],this[_0x2b7317(0x545)]),_0x33b8ea={'x':_0x4fdc6b[_0x2b7317(0x4d5)]/_0x3859f4+_0x1075a0['x'],'y':_0x4fdc6b[_0x2b7317(0x423)]/_0x3859f4+_0x1075a0['y']},_0x59d10a=this[_0x2b7317(0x22b)][_0x2b7317(0x54f)](_0x33b8ea);if(_0x59d10a){let {shapeId:_0x15bd0e,unitId:_0x536960,subUnitId:_0x4d0217}=_0x59d10a;if(_0x15bd0e&&_0x536960&&_0x4d0217){let _0x1f80db=(0x0,_0x36b4c7['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x536960,'subUnitId':_0x4d0217,'drawingId':_0x15bd0e});_0x59d10a[_0x2b7317(0x37c)]=(_0x4fb0b0[_0x2b7317(0x566)](_0x1f80db)[_0x2b7317(0x37c)]||0x0)+_0x59d10a['angle'];}}this[_0x2b7317(0x1de)]=_0x59d10a;let _0x1300c0=_0xc3e895?this[_0x2b7317(0x2f3)][_0x2b7317(0x521)]():this[_0x2b7317(0x2f3)]['getStartConnectInfo']();if(_0x1300c0){this[_0x2b7317(0x26d)](_0x1300c0,_0x33b8ea,_0xc3e895,_0x5d5045,_0x36b6f9);return;}this[_0x2b7317(0x306)](_0x33b8ea,_0x2b5bc2,_0xc3e895,_0x5d5045,_0x36b6f9);}),this['_cxtHandlerPointerUp']=_0x4fb0b0[_0x49f6d8(0x4b7)][_0x49f6d8(0x483)]((_0x3e7134,_0x389f83)=>{const _0x1919c0=_0x49f6d8;this[_0x1919c0(0x4a5)](_0x4fb0b0,_0x2b5bc2,_0x3e7134,_0xc3e895,_0x106a34);}),_0x5c6d4e[_0x49f6d8(0x3ab)]();})));}['_handleBasicShapeUpdateConnectorLineShape'](_0x34933b,_0x47f9d7,_0x727bfa){const _0x33e7ad=_0x718440;let _0x39c7df=this['_sheetsShapeService'][_0x33e7ad(0x425)](_0x34933b,_0x47f9d7,_0x727bfa);if(!_0x39c7df||_0x39c7df[_0x33e7ad(0x212)]===0x0)return;let _0x5deb8c=this[_0x33e7ad(0x57e)][_0x33e7ad(0x403)](_0x34933b);if(!_0x5deb8c)return;let {scene:_0xf98289}=_0x5deb8c;for(let _0x5bd0bd of _0x39c7df){let _0x277739=_0x5bd0bd[_0x33e7ad(0x229)],_0x22f0e6=this[_0x33e7ad(0x4cd)][_0x33e7ad(0x459)](_0x34933b,_0x47f9d7,_0x277739);if(!_0x22f0e6)continue;let _0x1a44db=_0x22f0e6['getStartConnectInfo'](),_0x311d27=_0x22f0e6['getEndConnectInfo'](),_0x225c9a=(_0x1a44db==null?void 0x0:_0x1a44db[_0x33e7ad(0x1fd)])===_0x727bfa,_0x5295c8=(0x0,_0x36b4c7[_0x33e7ad(0x56c)])({'unitId':_0x34933b,'subUnitId':_0x47f9d7,'drawingId':_0x277739}),_0x15633e=_0xf98289['getObjectIncludeInGroup'](_0x5295c8);if(!_0x15633e)continue;let _0x4e6cee=this[_0x33e7ad(0x2a8)][_0x33e7ad(0x37d)]({'unitId':_0x34933b,'subUnitId':_0x47f9d7,'drawingId':_0x277739});_0x4e6cee!=null&&_0x4e6cee[_0x33e7ad(0x4c7)]&&(_0x1a44db&&_0x311d27?this[_0x33e7ad(0x1e6)](_0x34933b,_0x47f9d7,_0x277739,_0x22f0e6,_0x1a44db,_0x311d27,_0x15633e):this[_0x33e7ad(0x3fe)](_0x34933b,_0x47f9d7,_0x277739,_0x22f0e6,_0x225c9a?_0x1a44db:_0x311d27,_0x225c9a,_0x4e6cee,_0x15633e));}}[_0x718440(0x1e6)](_0x426e2a,_0x5bea1a,_0x3196f1,_0x585df5,_0x5880e8,_0x49cc38,_0x589f57){const _0x338f1e=_0x718440;let _0x594b1e=this[_0x338f1e(0x527)],_0x355078=this[_0x338f1e(0x545)];this[_0x338f1e(0x527)]=_0x426e2a,this['_subUnitId']=_0x5bea1a;let _0x3a1e53=this[_0x338f1e(0x3bb)](_0x5880e8),_0x4bc8ea=this['_getConnectPointInfo'](_0x49cc38);if(this['_unitId']=_0x594b1e,this[_0x338f1e(0x545)]=_0x355078,!_0x3a1e53||!_0x4bc8ea)return;let _0x4ea02e=_0x585df5[_0x338f1e(0x43a)](),_0x340926=(0x0,_0x34f551[_0x338f1e(0x48d)])(_0x3a1e53,_0x4bc8ea,_0x4ea02e);_0x340926&&_0x585df5[_0x338f1e(0x3c7)](_0x340926);let _0x14a561=(0x0,_0x34f551[_0x338f1e(0x543)])(_0x340926,_0x4ea02e);_0x14a561[_0x338f1e(0x236)]!==_0x4ea02e&&_0x585df5[_0x338f1e(0x3ac)](_0x14a561[_0x338f1e(0x236)]),_0x585df5['clearAdjustValue']();for(let [_0x568248,_0x33ea0e]of Object[_0x338f1e(0x1f9)](_0x14a561[_0x338f1e(0x28a)]))_0x585df5[_0x338f1e(0x2fc)](_0x568248,_0x33ea0e);_0x585df5[_0x338f1e(0x1bc)]({'width':_0x14a561[_0x338f1e(0x458)][_0x338f1e(0x3d1)],'height':_0x14a561[_0x338f1e(0x458)][_0x338f1e(0x1ef)]}),_0x589f57[_0x338f1e(0x2d4)]({'flipX':_0x14a561['worldRect']['flipX'],'flipY':_0x14a561[_0x338f1e(0x458)][_0x338f1e(0x1ed)],'left':_0x14a561['worldRect'][_0x338f1e(0x242)],'top':_0x14a561[_0x338f1e(0x458)][_0x338f1e(0x4b1)],'width':_0x14a561[_0x338f1e(0x458)][_0x338f1e(0x3d1)],'height':_0x14a561['worldRect'][_0x338f1e(0x1ef)],'angle':_0x14a561[_0x338f1e(0x416)]}),_0x585df5['removeLinePoints']();}[_0x718440(0x3fe)](_0x2f6052,_0x2392f5,_0x1fb355,_0x117f6b,_0x365747,_0x185603,_0x556bd1,_0x18e858){const _0x4cec89=_0x718440;let _0x28ddce=this['_unitId'],_0x20a35f=this[_0x4cec89(0x545)];this['_unitId']=_0x2f6052,this['_subUnitId']=_0x2392f5;let _0x476345=this[_0x4cec89(0x3bb)](_0x365747);if(this[_0x4cec89(0x527)]=_0x28ddce,this['_subUnitId']=_0x20a35f,!_0x476345)return;let {left:_0x1067a5=0x0,top:_0x130451=0x0,width:_0x5c0e96=0x0,height:_0x258463=0x0,flipX:_0x146bac=!0x1,flipY:_0x1d7b0e=!0x1}=_0x556bd1[_0x4cec89(0x4c7)],_0x509324=_0x117f6b['getConnectorLinePoints']();if(_0x509324[_0x4cec89(0x212)]<0x2)return;let _0x4b6988=new _0x34f551[(_0x4cec89(0x371))]({'left':_0x1067a5,'top':_0x130451,'width':_0x5c0e96,'height':_0x258463,'flipX':_0x146bac,'flipY':_0x1d7b0e}),_0x3f653e=_0x185603?_0x509324[_0x509324[_0x4cec89(0x212)]-0x1]:_0x509324[0x0],_0x47bcff=_0x4b6988[_0x4cec89(0x1ba)](_0x3f653e),_0x20171f=_0x34f551['ConnectorCoordinateTransform'][_0x4cec89(0x530)](_0x47bcff,_0x476345[_0x4cec89(0x456)],!_0x185603);_0x18e858[_0x4cec89(0x2d4)]({'flipX':_0x20171f[_0x4cec89(0x458)][_0x4cec89(0x554)],'flipY':_0x20171f[_0x4cec89(0x458)][_0x4cec89(0x1ed)],'left':_0x20171f['worldRect'][_0x4cec89(0x242)],'top':_0x20171f['worldRect'][_0x4cec89(0x4b1)],'width':_0x20171f[_0x4cec89(0x458)]['width'],'height':_0x20171f['worldRect'][_0x4cec89(0x1ef)],'angle':_0x20171f[_0x4cec89(0x458)][_0x4cec89(0x37c)]}),_0x18e858[_0x4cec89(0x3ce)](!0x0);}[_0x718440(0x251)](){const _0x1aadee=_0x718440;this[_0x1aadee(0x44e)]['length']!==0x0&&(this[_0x1aadee(0x44e)]['forEach'](_0x2161d2=>{const _0x4d2e8b=_0x1aadee;_0x2161d2[_0x4d2e8b(0x4dd)]();}),this[_0x1aadee(0x44e)]=[]);}['_registerDrawingMoveHandler'](){const _0x1d4565=_0x718440;let _0x334292=this['_univerInstanceService'][_0x1d4565(0x3d0)](_0x567e1d[_0x1d4565(0x1e5)]['UNIVER_SHEET']);this[_0x1d4565(0x503)](_0x334292['pipe']((0x0,_0x1d246a[_0x1d4565(0x53b)])(_0x3aa9f6=>_0x3aa9f6?_0x3aa9f6['activeSheet$'][_0x1d4565(0x2da)]((0x0,_0x1d246a['switchMap'])(_0x40fb76=>{const _0x57513a=_0x1d4565;if(!_0x40fb76)return _0x1d246a[_0x57513a(0x49f)];let _0x545998=_0x3aa9f6[_0x57513a(0x35f)](),_0x4bfb51=this[_0x57513a(0x57e)][_0x57513a(0x403)](_0x545998),_0x2735a5=_0x4bfb51==null?void 0x0:_0x4bfb51[_0x57513a(0x53c)];return _0x2735a5?(0x0,_0x1d246a['of'])(_0x2735a5):_0x1d246a[_0x57513a(0x49f)];})):_0x1d246a[_0x1d4565(0x49f)]))['subscribe'](_0x197173=>{const _0x4e4f4a=_0x1d4565;let _0x3bf25d=_0x197173[_0x4e4f4a(0x202)]();this['disposeWithMe'](_0x197173[_0x4e4f4a(0x1dd)][_0x4e4f4a(0x483)](_0x1ae861=>{const _0x212130=_0x4e4f4a;this[_0x212130(0x542)]&&this[_0x212130(0x28c)]&&this['_clearShapeConnectorHandlerObjects']();})),this['disposeWithMe'](_0x3bf25d['changeStart$'][_0x4e4f4a(0x374)](_0x1c5bf1=>{const _0x39f652=_0x4e4f4a;let {objects:_0x5c16b2}=_0x1c5bf1;this[_0x39f652(0x251)](),_0x5c16b2!==null&&_0x5c16b2[_0x39f652(0x2db)]===0x1&&_0x5c16b2[_0x39f652(0x32c)]()[_0x39f652(0x34f)]()['value']instanceof _0x5b187c&&(this[_0x39f652(0x542)]=!0x0);})),this['disposeWithMe'](_0x3bf25d[_0x4e4f4a(0x4a4)][_0x4e4f4a(0x374)](_0x326a0d=>{const _0x22b692=_0x4e4f4a;this['_isDrawingShapePointDown']&&this[_0x22b692(0x251)]();})),this[_0x4e4f4a(0x503)](_0x197173[_0x4e4f4a(0x4b7)][_0x4e4f4a(0x483)](()=>{const _0x3c10ee=_0x4e4f4a;this[_0x3c10ee(0x542)]&&(this['_isDrawingShapePointDown']=!0x1,this[_0x3c10ee(0x28e)]());})),this[_0x4e4f4a(0x503)](_0x3bf25d[_0x4e4f4a(0x38b)][_0x4e4f4a(0x374)](()=>{const _0x547f6b=_0x4e4f4a;this[_0x547f6b(0x527)]&&this[_0x547f6b(0x545)]&&this[_0x547f6b(0x28c)]&&this[_0x547f6b(0x2a8)]['getDrawingByParam']({'unitId':this['_unitId'],'subUnitId':this[_0x547f6b(0x545)],'drawingId':this[_0x547f6b(0x28c)]})&&(this[_0x547f6b(0x251)](),this['_addShapeConnectorHandlerObjects']());}));}));}['_registerDrawingFocusChangeHandler'](){const _0x32d739=_0x718440;this['disposeWithMe'](this[_0x32d739(0x2a8)][_0x32d739(0x470)][_0x32d739(0x374)](_0x101c57=>{const _0x1e45c7=_0x32d739;if(_0x101c57['length']===0x1){let _0x2e4fd1=_0x101c57[0x0];if(_0x2e4fd1[_0x1e45c7(0x37f)]===_0x567e1d['DrawingTypeEnum'][_0x1e45c7(0x20f)]){let _0x2652c1=this[_0x1e45c7(0x4cd)][_0x1e45c7(0x459)](_0x2e4fd1[_0x1e45c7(0x45d)],_0x2e4fd1[_0x1e45c7(0x31f)],_0x2e4fd1[_0x1e45c7(0x25d)]);if(_0x2652c1&&(0x0,_0x34f551[_0x1e45c7(0x22d)])(_0x2652c1[_0x1e45c7(0x43a)]())){this['_activeShapeId']=_0x2e4fd1['drawingId'],this[_0x1e45c7(0x527)]=_0x2e4fd1[_0x1e45c7(0x45d)],this[_0x1e45c7(0x545)]=_0x2e4fd1[_0x1e45c7(0x31f)],this[_0x1e45c7(0x251)](),this[_0x1e45c7(0x28e)]();return;}}}this[_0x1e45c7(0x28c)]=void 0x0,this[_0x1e45c7(0x527)]=void 0x0,this[_0x1e45c7(0x545)]=void 0x0,this[_0x1e45c7(0x251)]();})),this[_0x32d739(0x503)](this[_0x32d739(0x2a8)][_0x32d739(0x518)][_0x32d739(0x374)](_0x5d0e63=>{const _0x1fbc88=_0x32d739;if(_0x5d0e63[_0x1fbc88(0x212)]===0x1){var _0x1f8ddb;let _0x4f456a=_0x5d0e63[0x0],_0x50c740=(_0x1f8ddb=this['_drawingManagerService'][_0x1fbc88(0x37d)](_0x4f456a))==null?void 0x0:_0x1f8ddb[_0x1fbc88(0x37f)];_0x50c740===_0x567e1d[_0x1fbc88(0x2f1)][_0x1fbc88(0x20f)]&&_0x4f456a[_0x1fbc88(0x25d)]===this[_0x1fbc88(0x28c)]?(this[_0x1fbc88(0x251)](),this['_addShapeConnectorHandlerObjects']()):!this['_activeShapeId']&&_0x50c740===_0x567e1d[_0x1fbc88(0x2f1)]['DRAWING_SHAPE']&&this[_0x1fbc88(0x341)](_0x4f456a[_0x1fbc88(0x45d)],_0x4f456a[_0x1fbc88(0x31f)],_0x4f456a[_0x1fbc88(0x25d)]);}})),this[_0x32d739(0x503)](this['_drawingManagerService'][_0x32d739(0x4ca)][_0x32d739(0x374)](_0x26c3e6=>{const _0x513bf5=_0x32d739;for(let _0xf38d02 of _0x26c3e6){let {drawingId:_0x3007d3}=_0xf38d02;if(this[_0x513bf5(0x28c)]===_0x3007d3){this[_0x513bf5(0x3b5)]();return;}}}));}['_handleConnectedEndpointMove'](_0x162f2a,_0x41f1b3,_0x5691e3,_0x4a9a48,_0xb957d4){const _0x718c4f=_0x718440;var _0x507a34;if(!this[_0x718c4f(0x2f3)])return;let _0x458436=this[_0x718c4f(0x3bb)](_0x162f2a);if(!_0x458436)return;let _0x5ae966=this['_currentConnectionTarget']?this[_0x718c4f(0x1de)]['worldPoint']:_0x41f1b3,_0x3e06f8=this[_0x718c4f(0x1de)]?this[_0x718c4f(0x1de)][_0x718c4f(0x37c)]:this[_0x718c4f(0x455)](_0x458436[_0x718c4f(0x456)],_0x5ae966),_0x4940a7;if(this[_0x718c4f(0x1de)]){let _0x109cb8=this[_0x718c4f(0x2a8)][_0x718c4f(0x37d)]({'unitId':this[_0x718c4f(0x1de)][_0x718c4f(0x45d)],'subUnitId':this[_0x718c4f(0x1de)]['subUnitId'],'drawingId':this[_0x718c4f(0x1de)][_0x718c4f(0x1fd)]});if(_0x109cb8!=null&&_0x109cb8[_0x718c4f(0x4c7)]){let {left:_0x1ddfc0=0x0,top:_0x48f213=0x0,width:_0x7ffa79=0x0,height:_0x2e5d39=0x0,angle:_0xd20c41}=_0x109cb8[_0x718c4f(0x4c7)];_0x4940a7=(0x0,_0x34f551[_0x718c4f(0x3a7)])({'left':_0x1ddfc0,'top':_0x48f213,'width':_0x7ffa79,'height':_0x2e5d39},_0xd20c41||0x0);}else _0x4940a7={'left':_0x5ae966['x'],'top':_0x5ae966['y'],'width':0x0,'height':0x0};}else _0x4940a7={'left':_0x5ae966['x'],'top':_0x5ae966['y'],'width':0x0,'height':0x0};let _0x2aa1df={'point':_0x5ae966,'angle':_0x3e06f8,'bounds':_0x4940a7},_0x4eab1f=_0x5691e3?_0x2aa1df:_0x458436,_0x1fd0a3=_0x5691e3?_0x458436:_0x2aa1df,_0x3a8b7f=this['_activeShapeModel'][_0x718c4f(0x43a)](),_0x514a92=(0x0,_0x34f551[_0x718c4f(0x48d)])(_0x4eab1f,_0x1fd0a3,_0x3a8b7f);_0x514a92&&this[_0x718c4f(0x2f3)][_0x718c4f(0x3c7)](_0x514a92);let _0x18eef5=(0x0,_0x34f551['computeConnectorRouteLayout'])(_0x514a92,_0x3a8b7f);_0x18eef5['lineType']!==_0x3a8b7f&&this[_0x718c4f(0x2f3)]['changeShapeType'](_0x18eef5[_0x718c4f(0x236)]);for(let [_0x5f352a,_0x3c2dd9]of Object[_0x718c4f(0x1f9)](_0x18eef5[_0x718c4f(0x28a)]))this[_0x718c4f(0x2f3)][_0x718c4f(0x2fc)](_0x5f352a,_0x3c2dd9);this[_0x718c4f(0x2f3)]['updateContext']({'width':_0x18eef5['worldRect'][_0x718c4f(0x3d1)],'height':_0x18eef5[_0x718c4f(0x458)][_0x718c4f(0x1ef)]}),_0x4a9a48[_0x718c4f(0x2d4)]({'flipX':_0x18eef5[_0x718c4f(0x458)]['flipX'],'flipY':_0x18eef5['worldRect'][_0x718c4f(0x1ed)],'left':_0x18eef5[_0x718c4f(0x458)]['left'],'top':_0x18eef5[_0x718c4f(0x458)][_0x718c4f(0x4b1)],'width':_0x18eef5['worldRect']['width'],'height':_0x18eef5[_0x718c4f(0x458)][_0x718c4f(0x1ef)],'angle':_0x18eef5[_0x718c4f(0x416)]}),_0x4a9a48[_0x718c4f(0x3ce)](!0x0);let _0x1afe38=((_0x507a34=this['_currentConnectionTarget'])==null?void 0x0:_0x507a34[_0x718c4f(0x387)])??_0x41f1b3;_0xb957d4[_0x718c4f(0x2d4)]({'left':_0x1afe38['x']-_0x34f551[_0x718c4f(0x526)]['cxnPointRadius'],'top':_0x1afe38['y']-_0x34f551[_0x718c4f(0x526)][_0x718c4f(0x41d)]});}[_0x718440(0x306)](_0x2b97ae,_0x2058fe,_0xeddc20,_0x58c224,_0xa5cd1a){const _0x3fbd76=_0x718440;var _0x3347ad,_0x5aa231;let _0x1386e0=((_0x3347ad=this[_0x3fbd76(0x1de)])==null?void 0x0:_0x3347ad['worldPoint'])??_0x2b97ae,_0x3ba5e7=_0x34f551[_0x3fbd76(0x371)][_0x3fbd76(0x530)](_0x2058fe,_0x1386e0,_0xeddc20);_0x58c224[_0x3fbd76(0x2d4)]({'flipX':_0x3ba5e7[_0x3fbd76(0x458)][_0x3fbd76(0x554)],'flipY':_0x3ba5e7[_0x3fbd76(0x458)]['flipY'],'left':_0x3ba5e7[_0x3fbd76(0x458)]['left'],'top':_0x3ba5e7[_0x3fbd76(0x458)][_0x3fbd76(0x4b1)],'width':_0x3ba5e7[_0x3fbd76(0x458)][_0x3fbd76(0x3d1)],'height':_0x3ba5e7['worldRect'][_0x3fbd76(0x1ef)],'angle':_0x3ba5e7[_0x3fbd76(0x458)][_0x3fbd76(0x37c)]});let _0x59f1c4=((_0x5aa231=this[_0x3fbd76(0x1de)])==null?void 0x0:_0x5aa231[_0x3fbd76(0x387)])??_0x2b97ae;_0xa5cd1a[_0x3fbd76(0x2d4)]({'left':_0x59f1c4['x']-_0x34f551[_0x3fbd76(0x526)]['cxnPointRadius'],'top':_0x59f1c4['y']-_0x34f551[_0x3fbd76(0x526)]['cxnPointRadius']});}[_0x718440(0x3bb)](_0x257633){const _0xbf0e4e=_0x718440;if(!this['_unitId']||!this[_0xbf0e4e(0x545)])return null;let {shapeId:_0xa24e2f,cxnIndex:_0x44c05e}=_0x257633,_0x555155=this[_0xbf0e4e(0x4cd)]['getShapeModel'](this['_unitId'],this[_0xbf0e4e(0x545)],_0xa24e2f);if(!_0x555155)return null;let _0x5cfaae=this[_0xbf0e4e(0x2a8)][_0xbf0e4e(0x37d)]({'unitId':this[_0xbf0e4e(0x527)],'subUnitId':this[_0xbf0e4e(0x545)],'drawingId':_0xa24e2f});if(!(_0x5cfaae!=null&&_0x5cfaae[_0xbf0e4e(0x4c7)]))return null;let {left:_0x496efe=0x0,top:_0x8ba97c=0x0,width:_0x31c34f=0x0,height:_0x412644=0x0,flipX:_0x2009bc=!0x1,flipY:_0x24007d=!0x1,angle:_0x55e7ef}=_0x5cfaae['transform'];_0x555155[_0xbf0e4e(0x1bc)]({'width':_0x31c34f,'height':_0x412644});let _0xd393d5=_0x555155[_0xbf0e4e(0x4af)]()[_0xbf0e4e(0x1d5)](_0x3e9652=>_0x3e9652['index']===_0x44c05e);if(!_0xd393d5)return null;let _0x4cfdc8=_0x2009bc?_0x31c34f-_0xd393d5['x']:_0xd393d5['x'],_0x4a7ac6=_0x24007d?_0x412644-_0xd393d5['y']:_0xd393d5['y'];if(_0x55e7ef!==0x0&&_0x55e7ef!=null){let _0x3cb376=_0x55e7ef*Math['PI']/0xb4,_0x2645ef=Math[_0xbf0e4e(0x1bb)](_0x3cb376),_0x29962f=Math[_0xbf0e4e(0x1dc)](_0x3cb376),_0x321eb0=_0x31c34f/0x2,_0x243d46=_0x412644/0x2,_0x520ff1=_0x4cfdc8-_0x321eb0,_0x19f617=_0x4a7ac6-_0x243d46;_0x4cfdc8=_0x321eb0+_0x520ff1*_0x2645ef-_0x19f617*_0x29962f,_0x4a7ac6=_0x243d46+_0x520ff1*_0x29962f+_0x19f617*_0x2645ef;}_0x4cfdc8+=_0x496efe,_0x4a7ac6+=_0x8ba97c;let _0x3c57f7=_0xd393d5[_0xbf0e4e(0x36d)]/0xea60;_0x2009bc&&(_0x3c57f7=0xb4-_0x3c57f7),_0x24007d&&(_0x3c57f7=-_0x3c57f7),_0x3c57f7+=_0x55e7ef||0x0,_0x3c57f7=(_0x3c57f7%0x168+0x168)%0x168;let _0x3f7249=(0x0,_0x34f551['getBasicShapeRotateBound'])({'left':_0x496efe,'top':_0x8ba97c,'width':_0x31c34f,'height':_0x412644},_0x55e7ef||0x0);return{'point':{'x':_0x4cfdc8,'y':_0x4a7ac6},'angle':_0x3c57f7,'bounds':_0x3f7249};}[_0x718440(0x455)](_0x9643f7,_0x383015){const _0x43af51=_0x718440;let _0x22fe9c=_0x383015['x']-_0x9643f7['x'],_0x40f98d=_0x383015['y']-_0x9643f7['y'];return Math[_0x43af51(0x25a)](_0x22fe9c)>=Math[_0x43af51(0x25a)](_0x40f98d)?_0x22fe9c>=0x0?0xb4:0x0:_0x40f98d>=0x0?0x10e:0x5a;}[_0x718440(0x3b5)](){const _0x153d5f=_0x718440;this[_0x153d5f(0x28c)]=void 0x0,this[_0x153d5f(0x527)]=void 0x0,this[_0x153d5f(0x545)]=void 0x0,this[_0x153d5f(0x251)]();}[_0x718440(0x4dd)](){const _0x2ca57c=_0x718440;this['_clearShapeConnectorHandlerObjects'](),super[_0x2ca57c(0x4dd)]();}};_0x2dd992=_0xb31b0c([_0x519f13(0x1,_0x567e1d[_0x718440(0x1cf)]),_0x519f13(0x2,_0x3e5eae['IRenderManagerService']),_0x519f13(0x3,_0x36b4c7[_0x718440(0x529)]),_0x519f13(0x4,_0x567e1d[_0x718440(0x32e)]),_0x519f13(0x5,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x239f56[_0x718440(0x3db)])),_0x519f13(0x6,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x5258f8)),_0x519f13(0x7,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x39d55c))],_0x2dd992);let _0x189611=class extends _0x567e1d['Disposable']{constructor(_0x2a8e87,_0x56efe0,_0x5edd5b){const _0x4819ca=_0x718440;super(),this[_0x4819ca(0x240)]=_0x2a8e87,this[_0x4819ca(0x2a8)]=_0x56efe0,this[_0x4819ca(0x23e)]=_0x5edd5b,this['_initPrinting']();}[_0x718440(0x44f)](){const _0x2e6cc5=_0x718440;this[_0x2e6cc5(0x503)](this[_0x2e6cc5(0x240)][_0x2e6cc5(0x35d)][_0x2e6cc5(0x478)](this['_sheetPrintInterceptorService'][_0x2e6cc5(0x35d)][_0x2e6cc5(0x564)]()[_0x2e6cc5(0x4aa)],{'handler':(_0x340e2d,_0x4deaba,_0x471ebd)=>{const _0x36febc=_0x2e6cc5;var _0x13dfa8;let {unitId:_0x5b393e,subUnitId:_0x5d3c5a,scene:_0x48c953,resourceCollector:_0x1e630d}=_0x4deaba,_0x4fcb10=(_0x13dfa8=this[_0x36febc(0x2a8)][_0x36febc(0x538)](_0x5b393e))==null?void 0x0:_0x13dfa8[_0x5d3c5a];return _0x4fcb10==null||_0x4fcb10[_0x36febc(0x508)][_0x36febc(0x241)](_0x51eec5=>{const _0x4773a6=_0x36febc;let _0x26de4c=_0x4fcb10[_0x4773a6(0x3f7)][_0x51eec5];_0x26de4c[_0x4773a6(0x37f)]===_0x567e1d[_0x4773a6(0x2f1)]['DRAWING_SHAPE']&&!_0x26de4c['hidden']&&this[_0x4773a6(0x23e)][_0x4773a6(0x2a0)](_0x26de4c,_0x48c953,{'resourceCollector':_0x1e630d});}),_0x471ebd(_0x340e2d);}}));}};_0x189611=_0xb31b0c([_0x519f13(0x0,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x17eed7[_0x718440(0x4bd)])),_0x519f13(0x1,_0x36b4c7['IDrawingManagerService']),_0x519f13(0x2,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x29d254))],_0x189611);let _0x1f125a=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x175211,_0x18aa99,_0x23e206){const _0x266bfc=_0x718440;super(),this[_0x266bfc(0x594)]=_0x175211,this[_0x266bfc(0x4b5)]=_0x18aa99,this[_0x266bfc(0x3d2)]=_0x23e206,this[_0x266bfc(0x1d4)]();}[_0x718440(0x1d4)](){const _0x2c9804=_0x718440;this['disposeWithMe'](this[_0x2c9804(0x594)]['beforeCommandExecuted'](_0x334637=>{const _0x4acc9f=_0x2c9804;let _0x1573a0,_0x2000f7;if(_0x334637['id']===_0x239f56['InsertShapeCommand']['id']||_0x334637['id']===_0x239f56['SetShapeDrawingDataCommand']['id']||_0x334637['id']===_0x239f56['UpdateConnectorRelationCommand']['id']){let _0xba4f6e=_0x334637[_0x4acc9f(0x247)];_0x1573a0=_0xba4f6e[_0x4acc9f(0x45d)],_0x2000f7=_0xba4f6e[_0x4acc9f(0x31f)];}_0x1573a0&&_0x2000f7&&(this[_0x4acc9f(0x3d2)][_0x4acc9f(0x49e)]({'workbookTypes':[_0x11447f[_0x4acc9f(0x4c5)]],'worksheetTypes':[_0x11447f[_0x4acc9f(0x4fc)]]},_0x1573a0,_0x2000f7)||this[_0x4acc9f(0x3d2)][_0x4acc9f(0x47a)](this[_0x4acc9f(0x4b5)]['t'](_0x4acc9f(0x2c8))));}));}};_0x1f125a=_0xb31b0c([_0x519f13(0x0,(0x0,_0x567e1d['Inject'])(_0x567e1d[_0x718440(0x1cf)])),_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x567e1d[_0x718440(0x359)])),_0x519f13(0x2,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x11447f[_0x718440(0x3bf)]))],_0x1f125a);let _0x42fc7f=class{constructor(_0x97a758){const _0x28ab7a=_0x718440;this[_0x28ab7a(0x57e)]=_0x97a758;}[_0x718440(0x352)](_0x7b8b39,_0x50a4fa){const _0x5bc849=_0x718440;let _0x598815=this[_0x5bc849(0x57e)]['getRenderUnitById'](_0x7b8b39[_0x5bc849(0x45d)]),_0x24883a=_0x598815==null?void 0x0:_0x598815[_0x5bc849(0x53c)];if(!_0x24883a)return;let _0x58e170=(0x0,_0x36b4c7[_0x5bc849(0x56c)])(_0x7b8b39),_0x316bfd=_0x24883a[_0x5bc849(0x566)](_0x58e170);_0x316bfd==null||_0x316bfd['setFillImage'](_0x50a4fa);}};_0x42fc7f=_0xb31b0c([_0x519f13(0x0,_0x3e5eae['IRenderManagerService'])],_0x42fc7f);let _0x51e94d=class extends _0x567e1d[_0x718440(0x44a)]{constructor(_0x4814fb=_0x3dd284,_0x21a8db,_0x46633f,_0x56fa76,_0x504408){const _0x50de6b=_0x718440;super(),this[_0x50de6b(0x561)]=_0x4814fb,this['_injector']=_0x21a8db,this[_0x50de6b(0x594)]=_0x46633f,this[_0x50de6b(0x43f)]=_0x56fa76,this[_0x50de6b(0x57e)]=_0x504408;let {..._0x32aec0}=(0x0,_0x567e1d['merge'])({},_0x3dd284,this[_0x50de6b(0x561)]);this['_configService'][_0x50de6b(0x1c6)](_0x31802e,_0x32aec0),this[_0x50de6b(0x4bc)]();}['onStarting'](){const _0x530e17=_0x718440;this[_0x530e17(0x249)][_0x530e17(0x3e3)]([_0x26ba20]),this['_injector'][_0x530e17(0x39f)](_0x26ba20),(0x0,_0x567e1d[_0x530e17(0x54d)])(this['_injector'],[[_0x29acd6],[_0x55730e],[_0x29d254],[_0x189611],[_0x42fc7f],[_0x5c8f01],[_0x256f6f],[_0x392613],[_0x1f125a]]);}[_0x718440(0x296)](){const _0x305c33=_0x718440;(0x0,_0x567e1d['registerDependencies'])(this['_injector'],[[_0x39d55c],[_0x5258f8],[_0x19fd0d]]),(0x0,_0x567e1d['touchDependencies'])(this[_0x305c33(0x249)],[[_0x19fd0d],[_0x5258f8]]),[[_0x39d55c],[_0x47426e],[_0x2dd992],[_0x2955f2]][_0x305c33(0x241)](_0x1a2d32=>{const _0x15c8c3=_0x305c33;this[_0x15c8c3(0x503)](this[_0x15c8c3(0x57e)]['registerRenderModule'](_0x567e1d[_0x15c8c3(0x1e5)][_0x15c8c3(0x2e6)],_0x1a2d32));});}[_0x718440(0x2b4)](){const _0x47d01f=_0x718440;(0x0,_0x567e1d[_0x47d01f(0x2d1)])(this['_injector'],[[_0x29acd6],[_0x55730e],[_0x29d254],[_0x189611],[_0x42fc7f],[_0x5c8f01],[_0x256f6f],[_0x392613],[_0x1f125a]]);}[_0x718440(0x263)](){const _0x463716=_0x718440;this[_0x463716(0x249)][_0x463716(0x39f)](_0x29acd6)[_0x463716(0x1f2)]();}[_0x718440(0x4bc)](){const _0x14a6ce=_0x718440;[_0x31381b,_0x1f4f18,_0x2a6b80,_0x55f058][_0x14a6ce(0x241)](_0xdfa9=>this[_0x14a6ce(0x503)](this['_commandService'][_0x14a6ce(0x48b)](_0xdfa9)));}};_0x55cc91(_0x51e94d,_0x718440(0x19f),_0x567e1d[_0x718440(0x1e5)][_0x718440(0x2e6)]),_0x55cc91(_0x51e94d,_0x718440(0x56f),_0x718440(0x326)),_0x55cc91(_0x51e94d,'packageName',_0x1b0553),_0x55cc91(_0x51e94d,_0x718440(0x345),_0x1ae96e),_0x51e94d=_0xb31b0c([(0x0,_0x567e1d[_0x718440(0x474)])(_0x2b0b35['UniverLicensePlugin'],_0x4d3fb2[_0x718440(0x31d)],_0x36b4c7['UniverDrawingPlugin'],_0x3e5eae['UniverRenderEnginePlugin'],_0x11447f[_0x718440(0x35a)],_0x36809f[_0x718440(0x1bd)],_0x1f8323['UniverSheetsDrawingPlugin'],_0x42b73e['UniverShapeEditorPlugin'],_0x2ea516[_0x718440(0x231)],_0x239f56[_0x718440(0x4eb)],_0x17eed7[_0x718440(0x2ff)],_0x54a51b[_0x718440(0x4f6)],_0x5744c6[_0x718440(0x36a)]),_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x567e1d['Injector'])),_0x519f13(0x2,_0x567e1d['ICommandService']),_0x519f13(0x3,_0x567e1d['IConfigService']),_0x519f13(0x4,_0x3e5eae['IRenderManagerService'])],_0x51e94d);let _0x26247f={'type':_0x567e1d[_0x718440(0x26b)][_0x718440(0x494)],'id':'sheet.operation.close-sheet-shape-format-panel','handler'(){return!0x0;}};function _0x404630(){const _0x347b02=_0x718440;let _0x3cc03c=(0x0,_0x5744c6[_0x347b02(0x391)])(_0x36b4c7[_0x347b02(0x529)]),_0x396b6b=(0x0,_0x5744c6[_0x347b02(0x329)])(()=>_0x3cc03c[_0x347b02(0x470)],_0x3cc03c[_0x347b02(0x447)](),!0x1,[_0x3cc03c]);return _0x396b6b[_0x347b02(0x212)]===0x0?null:(0x0,_0x1a5094[_0x347b02(0x2bb)])('div',{'children':(0x0,_0x1a5094[_0x347b02(0x258)])('div',{'className':_0x347b02(0x28b),'children':[(0x0,_0x1a5094[_0x347b02(0x2bb)])(_0x44d5e4[_0x347b02(0x418)],{'drawings':_0x396b6b,'hasCropper':!0x1}),(0x0,_0x1a5094[_0x347b02(0x2bb)])(_0x2ea516['SheetDrawingAnchor'],{'drawings':_0x396b6b})]})});}function _0x25ee4c(_0x8b54a0){const _0x3879c9=_0x718440;let {unitId:_0x16ebd2,subUnitId:_0x1ec18d,shapeId:_0x27d42c}=_0x8b54a0,_0x59c657=(0x0,_0x5744c6[_0x3879c9(0x391)])(_0x567e1d[_0x3879c9(0x1cf)]),_0x50c84a=(0x0,_0x5744c6[_0x3879c9(0x391)])(_0x42fc7f);return(0x0,_0x1a5094['jsx'])(_0x54a51b[_0x3879c9(0x40c)],{..._0x8b54a0,'positionEditor':(0x0,_0x1a5094[_0x3879c9(0x2bb)])(_0x404630,{}),'onUpdateShapeData':(_0x37ba89,_0x365d82)=>{_0x322a2b(_0x59c657,_0x16ebd2,_0x1ec18d,_0x27d42c,_0x37ba89,_0x365d82);},'onUpdateLineShapeData':(_0x489d02,_0x32b930)=>{_0x435eb2(_0x59c657,_0x16ebd2,_0x1ec18d,_0x27d42c,_0x489d02,_0x32b930);},'onUpdateShapeFillImage':_0x1bbde9=>{const _0x35889d=_0x3879c9;_0x50c84a[_0x35889d(0x352)]({'unitId':_0x16ebd2,'subUnitId':_0x1ec18d,'drawingId':_0x27d42c},_0x1bbde9);}});}function _0x22bbea(_0x37dcc3){const _0x15168c=_0x718440;let _0x11c1b8=(0x0,_0x5744c6[_0x15168c(0x391)])(_0x54a51b[_0x15168c(0x45a)]),_0x5c8b68=(0x0,_0x5744c6['useObservable'])(()=>_0x11c1b8['visible$'],_0x11c1b8['getVisible'](),!0x1,[_0x11c1b8]),_0x398a71=_0x37dcc3['popup'][_0x15168c(0x225)];return!_0x398a71||!_0x5c8b68?null:(0x0,_0x1a5094[_0x15168c(0x2bb)])(_0x5d5717,{..._0x398a71,'canvasElement':_0x37dcc3[_0x15168c(0x51a)][_0x15168c(0x451)]});}function _0x5d5717(_0x914db4){const _0x4f10e7=_0x718440;let _0x1fab5e=(0x0,_0x5744c6[_0x4f10e7(0x391)])(_0x567e1d['ICommandService']),_0x402e05=(0x0,_0x5744c6['useDependency'])(_0x239f56['SheetsShapeService']),{unitId:_0x59640e,subUnitId:_0x2f2047,drawingId:_0xc35e0c,drawingType:_0x21df54,shapeType:_0x50a12b}=_0x914db4,[_0x3711b8,_0x2fa01b]=(0x0,_0x58a2d5[_0x4f10e7(0x3f6)])(_0x914db4[_0x4f10e7(0x522)]),_0x1b7b28=(0x0,_0x58a2d5[_0x4f10e7(0x33b)])(()=>(0x0,_0x54a51b['getTextStyle'])(_0x3711b8),[_0x3711b8]),_0x4426c5=(0x0,_0x58a2d5['useMemo'])(()=>(0x0,_0x54a51b[_0x4f10e7(0x2c9)])(_0x3711b8),[_0x3711b8]);(0x0,_0x58a2d5['useEffect'])(()=>{let _0x45a96c=_0x1fab5e['onCommandExecuted'](_0x583b64=>{const _0xe28fb2=_0x49ca;if(_0x583b64['id']!==_0x239f56[_0xe28fb2(0x302)]['id'])return;let _0x39201e=_0x402e05[_0xe28fb2(0x203)](_0x59640e,_0x2f2047,_0xc35e0c);_0x39201e&&_0x2fa01b(_0x39201e);});return()=>_0x45a96c['dispose']();},[_0x1fab5e,_0xc35e0c,_0x402e05,_0x2f2047,_0x59640e]);let _0x2a792b=_0x2f49c9=>{_0x2fa01b(_0x26228d=>({..._0x26228d,..._0x2f49c9}));},_0x4fdca5=_0x1e0f04=>{const _0x4fecce=_0x4f10e7;let _0x4f30fa=(0x0,_0x54a51b[_0x4fecce(0x41f)])(_0x3711b8,_0x1e0f04);_0x322a2b(_0x1fab5e,_0x59640e,_0x2f2047,_0xc35e0c,{'oldShapeData':{'shapeText':_0x3711b8[_0x4fecce(0x2b3)]}},_0x4f30fa),_0x2a792b(_0x4f30fa);},_0x1dff59=(0x0,_0x54a51b['useFormulaShapeToolbar'])({'hostType':_0x567e1d[_0x4f10e7(0x1e5)]['UNIVER_SHEET'],'unitId':_0x59640e,'subUnitId':_0x2f2047,'shapeId':_0xc35e0c,'shapeData':_0x3711b8,'onUpdateBinding':_0x18979f=>{const _0x18668b=_0x4f10e7;let _0x5d4b67={'formulaBinding':_0x18979f};_0x322a2b(_0x1fab5e,_0x59640e,_0x2f2047,_0xc35e0c,{'oldShapeData':{'formulaBinding':_0x3711b8[_0x18668b(0x270)]}},_0x5d4b67),_0x2a792b(_0x5d4b67);}});return(0x0,_0x1a5094[_0x4f10e7(0x258)])(_0x1a5094[_0x4f10e7(0x312)],{'children':[(0x0,_0x1a5094['jsx'])(_0x54a51b[_0x4f10e7(0x252)],{'canvasElement':_0x914db4['canvasElement'],'shapeData':_0x3711b8,'shapeType':_0x50a12b,'textStyle':{'ff':_0x34f551['ShapeDefaultConfig'][_0x4f10e7(0x2b3)][_0x4f10e7(0x3f0)],'fs':_0x34f551['ShapeDefaultConfig'][_0x4f10e7(0x2b3)][_0x4f10e7(0x2e0)],'cl':{'rgb':_0x34f551['ShapeDefaultConfig'][_0x4f10e7(0x2b3)][_0x4f10e7(0x45e)]},..._0x1b7b28},'textModel':_0x4426c5?{'ha':_0x4426c5['ha']??_0x567e1d['HorizontalAlign'][_0x4f10e7(0x4df)],'va':_0x4426c5['va']??_0x567e1d[_0x4f10e7(0x435)][_0x4f10e7(0x3fb)]}:null,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x34f551['ShapeDefaultConfig'][_0x4f10e7(0x3a0)],'defaultGradientEndColor':_0x34f551[_0x4f10e7(0x526)]['gradientEndColor'],'defaultStrokeColor':_0x34f551[_0x4f10e7(0x526)][_0x4f10e7(0x2a6)],'extensionGroups':_0x1dff59[_0x4f10e7(0x2ba)],'floatingObjectToolbarPosition':_0x5744c6[_0x4f10e7(0x4c3)][_0x4f10e7(0x441)],'onUpdateShapeData':(_0xbf0c00,_0x1b5704)=>{_0x322a2b(_0x1fab5e,_0x59640e,_0x2f2047,_0xc35e0c,_0xbf0c00,_0x1b5704),_0x1b5704&&_0x2a792b(_0x1b5704);},'onUpdateText':_0x4fdca5,'onOpenPanel':()=>{const _0x183100=_0x4f10e7;_0x1fab5e[_0x183100(0x3c0)](_0x55af59['id'],{'unitId':_0x59640e,'subUnitId':_0x2f2047,'drawingId':_0xc35e0c});},'onDelete':()=>{const _0x1ac14a=_0x4f10e7;_0x1fab5e['executeCommand'](_0x1f8323[_0x1ac14a(0x464)]['id'],{'unitId':_0x59640e,'drawings':[{'unitId':_0x59640e,'subUnitId':_0x2f2047,'drawingId':_0xc35e0c,'drawingType':_0x21df54}]});}}),_0x1dff59['panel']]});}function _0x5766af(_0x1e100b){const _0x26b2e0=_0x718440;return!!_0x1e100b&&_0x26b2e0(0x2ee)in _0x1e100b&&_0x26b2e0(0x513)in _0x1e100b;}let _0x2c9eb0=(0x0,_0x58a2d5[_0x718440(0x450)])(()=>{const _0xd9fff9=_0x718440;let _0x5887e7=(0x0,_0x5744c6['useDependency'])(_0x5c8f01),_0x3107d4=(0x0,_0x5744c6[_0xd9fff9(0x391)])(_0x239f56[_0xd9fff9(0x3db)]),_0x2a9094=(0x0,_0x5744c6['useDependency'])(_0x36b4c7['IDrawingManagerService']),_0x11678c=(0x0,_0x5744c6[_0xd9fff9(0x391)])(_0x567e1d[_0xd9fff9(0x1cf)]),_0xf38f31=(0x0,_0x5744c6[_0xd9fff9(0x391)])(_0x5744c6[_0xd9fff9(0x1a3)]),_0x1ab2da=(0x0,_0x5744c6[_0xd9fff9(0x391)])(_0x3e5eae[_0xd9fff9(0x39e)]),_0x3a7333=(0x0,_0x58a2d5[_0xd9fff9(0x33b)])(()=>({'getShapeModel':(_0x1d8384,_0xd0e89d,_0x42675a)=>_0x3107d4[_0xd9fff9(0x459)](_0x1d8384,_0xd0e89d,_0x42675a),'getShapeData':(_0x3e778c,_0x25374e,_0x5898b3)=>_0x3107d4[_0xd9fff9(0x203)](_0x3e778c,_0x25374e,_0x5898b3),'getDrawingTransform':(_0x5839fd,_0x2da87f,_0x15bf7c)=>{const _0x22069e=_0xd9fff9;let _0x1f9e14=_0x2a9094[_0x22069e(0x37d)]({'unitId':_0x5839fd,'subUnitId':_0x2da87f,'drawingId':_0x15bf7c});return _0x1f9e14==null?void 0x0:_0x1f9e14[_0x22069e(0x4c7)];},'updateShapeText':({unitId:_0x34e862,subUnitId:_0x3978ce,shapeId:_0x239acd,shapeText:_0x710fbb,oldShapeText:_0x442738,hostSize:_0x117700})=>{const _0x2090e8=_0xd9fff9;_0xf38f31[_0x2090e8(0x388)](_0x34e862,()=>{const _0x2d3182=_0x2090e8;var _0x4493c8;let _0x4d8911=_0x11678c[_0x2d3182(0x34d)](_0x1f4f18['id'],{'unitId':_0x34e862,'subUnitId':_0x3978ce,'shapeId':_0x239acd,'shapeData':{'shapeText':_0x710fbb},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x442738}}});if(!_0x4d8911||!_0x117700)return _0x4d8911;let _0x6ee40a=_0x2a9094['getDrawingByParam']({'unitId':_0x34e862,'subUnitId':_0x3978ce,'drawingId':_0x239acd}),_0x1159df=_0x6ee40a==null?void 0x0:_0x6ee40a['transform'];if(!_0x5766af(_0x6ee40a)||!_0x1159df)return!0x1;let _0x4a5e24={..._0x1159df,'width':_0x117700[_0x2d3182(0x3d1)],'height':_0x117700[_0x2d3182(0x1ef)]},_0x14e897=(_0x4493c8=_0x1ab2da['getRenderUnitById'](_0x34e862))==null||(_0x4493c8=_0x4493c8[_0x2d3182(0x549)](_0x17eed7[_0x2d3182(0x204)])[_0x2d3182(0x52f)](_0x3978ce))==null?void 0x0:_0x4493c8[_0x2d3182(0x4f8)];return _0x11678c[_0x2d3182(0x34d)](_0x1f8323[_0x2d3182(0x41b)]['id'],{'unitId':_0x34e862,'drawings':[{..._0x6ee40a,'transform':_0x4a5e24,'sheetTransform':_0x14e897?(0x0,_0x1f8323['transformToDrawingPosition'])(_0x4a5e24,_0x14e897)??_0x6ee40a[_0x2d3182(0x513)]:_0x6ee40a['sheetTransform'],'axisAlignSheetTransform':_0x14e897?(0x0,_0x1f8323[_0x2d3182(0x37e)])(_0x4a5e24,_0x14e897)??_0x6ee40a['axisAlignSheetTransform']:_0x6ee40a[_0x2d3182(0x2ee)]}]});});},'updateHostSize':({unitId:_0xd70803,subUnitId:_0x3ea04c,shapeId:_0x16a528,width:_0x49a80d,height:_0x3906eb})=>{const _0x28bd18=_0xd9fff9;var _0x111a15;let _0x343d0e=_0x2a9094[_0x28bd18(0x37d)]({'unitId':_0xd70803,'subUnitId':_0x3ea04c,'drawingId':_0x16a528}),_0x2f0cc4=_0x343d0e==null?void 0x0:_0x343d0e[_0x28bd18(0x4c7)];if(!_0x5766af(_0x343d0e)||!_0x2f0cc4)return;let _0x4f6ead={..._0x2f0cc4,'width':_0x49a80d,'height':_0x3906eb},_0x6eb495=(_0x111a15=_0x1ab2da[_0x28bd18(0x403)](_0xd70803))==null||(_0x111a15=_0x111a15[_0x28bd18(0x549)](_0x17eed7[_0x28bd18(0x204)])[_0x28bd18(0x52f)](_0x3ea04c))==null?void 0x0:_0x111a15['skeleton'],_0x596e42=_0x6eb495?(0x0,_0x1f8323[_0x28bd18(0x473)])(_0x4f6ead,_0x6eb495)??_0x343d0e[_0x28bd18(0x513)]:_0x343d0e[_0x28bd18(0x513)],_0x171272=_0x6eb495?(0x0,_0x1f8323['transformToAxisAlignPosition'])(_0x4f6ead,_0x6eb495)??_0x343d0e[_0x28bd18(0x2ee)]:_0x343d0e[_0x28bd18(0x2ee)];_0x11678c[_0x28bd18(0x3c0)](_0x1f8323[_0x28bd18(0x41b)]['id'],{'unitId':_0xd70803,'drawings':[{..._0x343d0e,'transform':_0x4f6ead,'sheetTransform':_0x596e42,'axisAlignSheetTransform':_0x171272}]});},'allowHostSizeShrink':({unitId:_0x4f93e3,subUnitId:_0x18d4ef,shapeId:_0x3c2321})=>(0x0,_0x54a51b[_0xd9fff9(0x4a2)])(_0x3107d4['getShapeDataById'](_0x4f93e3,_0x18d4ef,_0x3c2321)),'deferHostSizeUpdateDuringEditing':()=>!0x0}),[_0x11678c,_0x2a9094,_0x1ab2da,_0x3107d4,_0xf38f31]),_0x35f5cf=(0x0,_0x58a2d5[_0xd9fff9(0x33b)])(()=>({'viewportKeys':{'main':_0x3e5eae[_0xd9fff9(0x405)][_0xd9fff9(0x244)],'leftTop':_0x3e5eae[_0xd9fff9(0x405)][_0xd9fff9(0x434)],'top':_0x3e5eae[_0xd9fff9(0x405)][_0xd9fff9(0x1cb)],'left':_0x3e5eae[_0xd9fff9(0x405)][_0xd9fff9(0x536)]},'getSkeleton':(_0x6c6174,_0x47d655)=>{const _0x45ead4=_0xd9fff9;var _0x41bbdf;return((_0x41bbdf=_0x6c6174[_0x45ead4(0x549)](_0x17eed7[_0x45ead4(0x204)])['getSkeletonParam'](_0x47d655[_0x45ead4(0x31f)]))==null?void 0x0:_0x41bbdf[_0x45ead4(0x4f8)])??null;}}),[]);return(0x0,_0x1a5094['jsx'])(_0x54a51b[_0xd9fff9(0x493)],{'adapter':_0x3a7333,'editingService':_0x5887e7,'editorUnitId':_0x58dd4c,'positionOptions':_0x35f5cf});}),_0x5b23a2=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x19d80c,_0xbe6299){const _0x5d6cbd=_0x718440;super(),this[_0x5d6cbd(0x565)]=_0x19d80c,this[_0x5d6cbd(0x3fa)]=_0xbe6299,this[_0x5d6cbd(0x2cc)](),this[_0x5d6cbd(0x3e6)]();}['_registerIcons'](){const _0xa1cc92=_0x718440;this[_0xa1cc92(0x3fa)][_0xa1cc92(0x40d)]('ObjectLayersIcon')||this[_0xa1cc92(0x503)](this[_0xa1cc92(0x3fa)][_0xa1cc92(0x50a)]({'ObjectLayersIcon':_0x31ea2d})),this['_iconManager'][_0xa1cc92(0x40d)]('FlipHorizontalIcon')||this[_0xa1cc92(0x503)](this['_iconManager'][_0xa1cc92(0x50a)]({'FlipHorizontalIcon':_0xfdb1e6})),this[_0xa1cc92(0x3fa)][_0xa1cc92(0x40d)](_0xa1cc92(0x30b))||this[_0xa1cc92(0x503)](this[_0xa1cc92(0x3fa)]['register']({'FlipVerticalIcon':_0x5a8225})),this[_0xa1cc92(0x3fa)][_0xa1cc92(0x40d)](_0xa1cc92(0x2b7))||this[_0xa1cc92(0x503)](this[_0xa1cc92(0x3fa)][_0xa1cc92(0x50a)]({'BottomIcon':_0x539c37})),this[_0xa1cc92(0x3fa)][_0xa1cc92(0x40d)](_0xa1cc92(0x26a))||this[_0xa1cc92(0x503)](this[_0xa1cc92(0x3fa)][_0xa1cc92(0x50a)]({'MoveDownIcon':_0x230930})),this['_iconManager'][_0xa1cc92(0x40d)](_0xa1cc92(0x55a))||this['disposeWithMe'](this['_iconManager'][_0xa1cc92(0x50a)]({'MoveUpIcon':_0x14d267})),this['_iconManager']['has']('ShapeFormatSettingIcon')||this[_0xa1cc92(0x503)](this[_0xa1cc92(0x3fa)][_0xa1cc92(0x50a)]({'ShapeFormatSettingIcon':_0x53179a})),this[_0xa1cc92(0x3fa)][_0xa1cc92(0x40d)](_0xa1cc92(0x267))||this['disposeWithMe'](this[_0xa1cc92(0x3fa)][_0xa1cc92(0x50a)]({'TopmostIcon':_0x3f7a19}));}['_registerComponents'](){const _0x103146=_0x718440;this['disposeWithMe'](this['_componentManager'][_0x103146(0x50a)](_0x1b3159,_0x25ee4c)),this[_0x103146(0x503)](this[_0x103146(0x565)][_0x103146(0x50a)](_0x46acea,_0x32a716)),this[_0x103146(0x503)](this['_componentManager']['register'](_0x4440a,_0x5bb668)),this[_0x103146(0x503)](this['_componentManager'][_0x103146(0x50a)](_0x16e69b,_0x192670)),this[_0x103146(0x565)][_0x103146(0x39f)](_0x44d5e4['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'])||this[_0x103146(0x503)](this[_0x103146(0x565)][_0x103146(0x50a)](_0x44d5e4['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'],_0xa77841)),this[_0x103146(0x503)](this[_0x103146(0x565)][_0x103146(0x50a)](_0x708f5a,_0x22bbea)),this[_0x103146(0x503)](this[_0x103146(0x565)][_0x103146(0x50a)](_0x5e79d8,_0x5d0f5f)),this[_0x103146(0x503)](this['_componentManager']['register'](_0x1b92b5,_0x491081)),this[_0x103146(0x503)](this['_componentManager'][_0x103146(0x50a)](_0x70ed4a,_0x19da7f)),this[_0x103146(0x503)](this[_0x103146(0x565)][_0x103146(0x50a)](_0x5908f2,_0xcd1106)),this['disposeWithMe'](this[_0x103146(0x565)][_0x103146(0x50a)](_0x4dfefd,_0x54a51b['ShapeTextFloatToolbar'])),this[_0x103146(0x503)](this[_0x103146(0x565)][_0x103146(0x50a)]('SheetShapeTextEditorContainer',_0x2c9eb0));}};_0x5b23a2=_0xb31b0c([_0x519f13(0x0,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x5744c6[_0x718440(0x20b)])),_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x5744c6['IconManager']))],_0x5b23a2);let _0x139a8e=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x324080,_0x138e93,_0x439806,_0x4733fc,_0x5145f9,_0x2088cc,_0x42b920,_0x46d2b4,_0x1a9276){const _0x58279e=_0x718440;super();let _0x370f94=_0x4b3dcc=>{const _0x453a24=_0x49ca;var _0x193887,_0x377e32;return(((_0x193887=_0x46d2b4[_0x453a24(0x322)](new _0x11447f[(_0x453a24(0x4c5))](_0x4b3dcc[_0x453a24(0x45d)])['id']))==null?void 0x0:_0x193887['value'])??!0x0)&&(((_0x377e32=_0x46d2b4['getPermissionPoint'](new _0x11447f[(_0x453a24(0x4fc))](_0x4b3dcc[_0x453a24(0x45d)],_0x4b3dcc['subUnitId'])['id']))==null?void 0x0:_0x377e32[_0x453a24(0x52d)])??!0x0);},_0x5c7900=_0x222124=>_0x222124[_0x58279e(0x1fd)]&&_0x370f94(_0x222124)?_0x439806[_0x58279e(0x203)](_0x222124[_0x58279e(0x45d)],_0x222124['subUnitId'],_0x222124[_0x58279e(0x1fd)])??null:null,_0x54503c=()=>{const _0x466808=_0x58279e;let _0x5031d4=_0x5145f9[_0x466808(0x447)](),_0x99e38c=_0x5031d4[_0x466808(0x212)]===0x1?_0x5031d4[0x0]:null;return(_0x99e38c==null?void 0x0:_0x99e38c[_0x466808(0x37f)])===_0x567e1d[_0x466808(0x2f1)][_0x466808(0x20f)]&&_0x99e38c[_0x466808(0x45d)]===_0x324080[_0x466808(0x45d)]?{'unitId':_0x99e38c[_0x466808(0x45d)],'subUnitId':_0x99e38c['subUnitId'],'shapeId':_0x99e38c['drawingId']}:null;};this[_0x58279e(0x503)]((0x0,_0x54a51b[_0x58279e(0x299)])(_0x324080,_0x138e93,{'changes$':(0x0,_0x1d246a[_0x58279e(0x47e)])(_0x5145f9[_0x58279e(0x470)],_0x4733fc['editingParams$'],_0x46d2b4[_0x58279e(0x52e)]),'isActive':()=>{const _0x2cb2c8=_0x58279e;var _0x31ce69;return((_0x31ce69=_0x2088cc[_0x2cb2c8(0x2dc)]())==null?void 0x0:_0x31ce69[_0x2cb2c8(0x35f)]())===_0x324080['unitId']&&!_0x42b920[_0x2cb2c8(0x264)](_0x567e1d[_0x2cb2c8(0x532)])&&_0x5145f9['getFocusDrawings']()['some'](_0x17cee5=>_0x17cee5['unitId']===_0x324080['unitId']);},'getSelectedTarget':_0x54503c,'getSource':()=>{let _0x3ebf01=_0x54503c();return _0x3ebf01?_0x5c7900(_0x3ebf01):null;},'getTarget':_0x3e6ddc=>{const _0x2dd050=_0x58279e;let _0x42efa9=_0x324080[_0x2dd050(0x53c)][_0x2dd050(0x588)](new _0x3e5eae[(_0x2dd050(0x214))](_0x3e6ddc[_0x2dd050(0x4d5)],_0x3e6ddc[_0x2dd050(0x423)]));if(!(_0x42efa9 instanceof _0x5b187c))return null;let _0x4532a4={'unitId':_0x324080['unitId'],'subUnitId':_0x42efa9['subUnitId'],'shapeId':_0x42efa9[_0x2dd050(0x1fd)]};return _0x370f94(_0x4532a4)?_0x4532a4:null;},'getShape':_0x5c7900,'update':(_0x4c27ca,_0x5dd01a,_0x51d544)=>_0x1a9276[_0x58279e(0x3c0)](_0x1f4f18['id'],{..._0x4c27ca,'shapeData':_0x51d544,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x5dd01a}})}));}};_0x139a8e=_0xb31b0c([_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x5744c6[_0x718440(0x2de)])),_0x519f13(0x2,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x239f56['SheetsShapeService'])),_0x519f13(0x3,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x5c8f01)),_0x519f13(0x4,_0x36b4c7['IDrawingManagerService']),_0x519f13(0x5,_0x567e1d['IUniverInstanceService']),_0x519f13(0x6,_0x567e1d[_0x718440(0x452)]),_0x519f13(0x7,_0x567e1d[_0x718440(0x39c)]),_0x519f13(0x8,_0x567e1d[_0x718440(0x1cf)])],_0x139a8e);let _0x149550='sheets-shape-contextual-ribbon',_0x53b597=class extends _0x567e1d['Disposable']{constructor(_0x5197bb,_0x5ab637,_0x38529f,_0x5ad02e,_0x2ae55e,_0x4eace3){const _0x38e396=_0x718440;super(),this[_0x38e396(0x4a3)]=_0x5197bb,this['_ribbonService']=_0x5ab637,this[_0x38e396(0x2a8)]=_0x38529f,this[_0x38e396(0x34a)]=_0x5ad02e,this[_0x38e396(0x57e)]=_0x2ae55e,this['_shapeFloatingToolbarService']=_0x4eace3,_0x55cc91(this,_0x38e396(0x48a),!0x1),this['_menuManagerService'][_0x38e396(0x429)](_0x5a4d9c),this[_0x38e396(0x503)]((0x0,_0x567e1d['toDisposable'])(this[_0x38e396(0x2a8)][_0x38e396(0x470)]['subscribe'](()=>this[_0x38e396(0x379)]()))),this[_0x38e396(0x379)]();}[_0x718440(0x4dd)](){const _0x57c785=_0x718440;this['_shapeFloatingToolbarService'][_0x57c785(0x21d)](!0x1,_0x149550),this[_0x57c785(0x21c)](),super['dispose']();}[_0x718440(0x379)](){const _0x264f46=_0x718440;var _0x1289cf;let _0x23aad1=this['_drawingManagerService'][_0x264f46(0x447)](),_0x1501fa=_0x23aad1[_0x264f46(0x212)]===0x1?_0x23aad1[0x0]:void 0x0;if((_0x1501fa==null?void 0x0:_0x1501fa[_0x264f46(0x37f)])!==_0x567e1d[_0x264f46(0x2f1)][_0x264f46(0x20f)]||this[_0x264f46(0x34a)][_0x264f46(0x331)](_0x1501fa[_0x264f46(0x45d)])!==_0x567e1d[_0x264f46(0x1e5)][_0x264f46(0x2e6)]){this['_shapeFloatingToolbarService'][_0x264f46(0x21d)](!0x1,_0x149550),this[_0x264f46(0x21c)]();return;}let _0x5248d1=(_0x1289cf=this[_0x264f46(0x57e)][_0x264f46(0x403)](_0x1501fa['unitId']))==null?void 0x0:_0x1289cf[_0x264f46(0x4ae)][_0x264f46(0x4dc)](),_0x163973=(0x0,_0x54a51b[_0x264f46(0x291)])(_0x5248d1)===_0x264f46(0x3da);if(this['_shapeFloatingToolbarService']['setFallbackVisible'](_0x163973,_0x149550),_0x163973){this['_hide']();return;}this[_0x264f46(0x48a)]||(this[_0x264f46(0x48a)]=!0x0,this[_0x264f46(0x29c)][_0x264f46(0x4d4)](_0x32af6f,{'activate':!0x0}));}[_0x718440(0x21c)](){const _0x262ebc=_0x718440;this['_visible']&&(this[_0x262ebc(0x48a)]=!0x1,this[_0x262ebc(0x29c)][_0x262ebc(0x460)](_0x32af6f),this[_0x262ebc(0x29c)]['setCollapsedIds']([]));}};_0x53b597=_0xb31b0c([_0x519f13(0x0,_0x5744c6[_0x718440(0x443)]),_0x519f13(0x1,_0x5744c6['IRibbonService']),_0x519f13(0x2,_0x36b4c7[_0x718440(0x529)]),_0x519f13(0x3,_0x567e1d[_0x718440(0x32e)]),_0x519f13(0x4,_0x3e5eae['IRenderManagerService']),_0x519f13(0x5,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x54a51b['ShapeFloatingToolbarService']))],_0x53b597);let _0x4c6bc3=class extends _0x54a51b[_0x718440(0x297)]{constructor(_0x5b6469,_0x5e42ea,_0x34862a,_0x3df1f5,_0x2a5526,_0x593d67,_0x571005,_0x5558ba,_0x43f96d,_0x5c2fb4){super(_0x5b6469,_0x5e42ea,_0x34862a,_0x3df1f5,_0x2a5526,_0x593d67,_0x571005,_0x5558ba,_0x43f96d,_0x5c2fb4,{'componentKey':_0x4dfefd,'editorUnitId':_0x58dd4c});}};_0x4c6bc3=_0xb31b0c([_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x4d3fb2[_0x718440(0x414)])),_0x519f13(0x2,(0x0,_0x567e1d['Inject'])(_0x36809f[_0x718440(0x321)])),_0x519f13(0x3,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x36809f[_0x718440(0x3a2)])),_0x519f13(0x4,_0x567e1d['ICommandService']),_0x519f13(0x5,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x36809f[_0x718440(0x4b0)])),_0x519f13(0x6,(0x0,_0x567e1d['Inject'])(_0x54a51b[_0x718440(0x284)])),_0x519f13(0x7,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x4d3fb2[_0x718440(0x480)])),_0x519f13(0x8,(0x0,_0x567e1d['Inject'])(_0x36809f[_0x718440(0x309)])),_0x519f13(0x9,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x5c8f01))],_0x4c6bc3);let _0x37583a=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x3991e9,_0x19dc83,_0x5d1f7d,_0x34b9e8,_0x230c84,_0x2f5538,_0x1d0d66,_0x5b6334,_0x534748,_0xa69ab9,_0x2fcb3b){const _0x4616ee=_0x718440;super(),this[_0x4616ee(0x34a)]=_0x3991e9,this[_0x4616ee(0x448)]=_0x19dc83,this[_0x4616ee(0x4a3)]=_0x5d1f7d,this[_0x4616ee(0x4cd)]=_0x34b9e8,this['_localeService']=_0x230c84,this[_0x4616ee(0x594)]=_0x2f5538,this[_0x4616ee(0x2a8)]=_0x1d0d66,this[_0x4616ee(0x19a)]=_0x5b6334,this[_0x4616ee(0x469)]=_0x534748,this[_0x4616ee(0x57e)]=_0xa69ab9,this[_0x4616ee(0x4da)]=_0x2fcb3b,_0x55cc91(this,_0x4616ee(0x2b1),null),_0x55cc91(this,_0x4616ee(0x436),null),_0x55cc91(this,_0x4616ee(0x2fa),!0x1),_0x55cc91(this,'_shapeEditPanelVersion',0x0),_0x55cc91(this,_0x4616ee(0x3b7),null),_0x55cc91(this,'_disposePopups',[]),this[_0x4616ee(0x42b)](),this['disposeWithMe'](this[_0x4616ee(0x34a)]['getCurrentTypeOfUnit$'](_0x567e1d['UniverInstanceType'][_0x4616ee(0x2e6)])[_0x4616ee(0x374)](_0x222ce0=>{const _0x8ce2=_0x4616ee;if(!_0x222ce0){var _0x1e4155;(_0x1e4155=this[_0x8ce2(0x2b1)])==null||_0x1e4155[_0x8ce2(0x4dd)]();}})),this[_0x4616ee(0x200)](),this[_0x4616ee(0x1f2)](),this[_0x4616ee(0x503)](this['_shapeTextEditingService']['editingParams$']['subscribe'](_0x59deb4=>{const _0x2fd159=_0x4616ee;_0x59deb4&&this[_0x2fd159(0x21f)]();}));}[_0x718440(0x42b)](){const _0x5d1ca8=_0x718440;this[_0x5d1ca8(0x4a3)][_0x5d1ca8(0x429)](_0x4fc050);}[_0x718440(0x1f2)](){const _0x271707=_0x718440;this[_0x271707(0x3b7)]||=this[_0x271707(0x503)]((0x0,_0x54a51b['bindRenderTransformerLifecycle'])(this[_0x271707(0x57e)],_0x567e1d['UniverInstanceType'][_0x271707(0x2e6)],_0x1760ef=>this['_popupMenuListener'](_0x1760ef)));}[_0x718440(0x295)](_0xc3c0a6,_0x342713,_0x9acf82){const _0x2e441f=_0x718440;let _0x37f338=this['_sheetsShapeService'][_0x2e441f(0x2cd)](_0xc3c0a6,_0x342713,_0x9acf82),_0x2c17eb=this[_0x2e441f(0x4cd)][_0x2e441f(0x203)](_0xc3c0a6,_0x342713,_0x9acf82);return _0x37f338!==void 0x0&&_0x2c17eb!==void 0x0?{'shapeData':_0x2c17eb,'shapeId':_0x9acf82,'shapeType':_0x37f338,'unitId':_0xc3c0a6,'subUnitId':_0x342713,'version':this[_0x2e441f(0x282)],'disableShapeOption':!0x1}:null;}[_0x718440(0x21f)](){const _0x5a315a=_0x718440;this[_0x5a315a(0x49a)][_0x5a315a(0x241)](_0x3e3943=>_0x3e3943['dispose']()),this[_0x5a315a(0x49a)][_0x5a315a(0x212)]=0x0;}['_popupMenuListener'](_0x256edf){const _0x3f2a8c=_0x718440;let _0x19e9dc=new _0x567e1d[(_0x3f2a8c(0x3de))]();return _0x19e9dc[_0x3f2a8c(0x3e3)](_0x256edf[_0x3f2a8c(0x2ad)][_0x3f2a8c(0x374)](()=>{const _0x407bd2=_0x3f2a8c;let _0x4959ee=_0x256edf['getSelectedObjectMap']();if(this[_0x407bd2(0x21f)](),this[_0x407bd2(0x2fa)]||_0x4959ee[_0x407bd2(0x2db)]>0x1)return;let _0x455cfd=_0x4959ee['values']()[_0x407bd2(0x34f)]()['value'];if(!_0x455cfd)return;let _0x481903=this['_drawingManagerService'][_0x407bd2(0x380)](_0x455cfd[_0x407bd2(0x1d1)]);if(!_0x481903||_0x481903['drawingType']!==_0x567e1d[_0x407bd2(0x2f1)]['DRAWING_SHAPE'])return;let {unitId:_0x5348a1,subUnitId:_0x3d8b38,drawingId:_0x45297c,drawingType:_0x33531d}=_0x481903,_0x34aa98=this[_0x407bd2(0x295)](_0x5348a1,_0x3d8b38,_0x45297c);if(!_0x34aa98)return;this['_contextService'][_0x407bd2(0x4b8)](_0x567e1d[_0x407bd2(0x457)],!0x0);let _0x434e6a=this['_renderManagerService'][_0x407bd2(0x403)](_0x5348a1),_0x3ada43=((_0x434e6a==null?void 0x0:_0x434e6a[_0x407bd2(0x343)])===!0x1?_0x434e6a[_0x407bd2(0x549)](_0x17eed7[_0x407bd2(0x339)]):this[_0x407bd2(0x19a)])[_0x407bd2(0x553)](_0x455cfd,{'componentKey':_0x708f5a,'direction':_0x407bd2(0x3ae),'offset':[0x0,_0x54a51b[_0x407bd2(0x53f)]],'extraProps':{'unitId':_0x5348a1,'subUnitId':_0x3d8b38,'drawingId':_0x45297c,'drawingType':_0x33531d,'shapeType':_0x34aa98['shapeType'],'shapeData':_0x34aa98['shapeData']}});this[_0x407bd2(0x49a)]['push'](this[_0x407bd2(0x503)](_0x3ada43)),this['_drawingManagerService'][_0x407bd2(0x447)]()['find'](_0x8abb47=>_0x8abb47[_0x407bd2(0x45d)]===_0x5348a1&&_0x8abb47[_0x407bd2(0x31f)]===_0x3d8b38&&_0x8abb47['drawingId']===_0x45297c)||this[_0x407bd2(0x2a8)][_0x407bd2(0x1b3)]([{'unitId':_0x5348a1,'subUnitId':_0x3d8b38,'drawingId':_0x45297c}]);})),_0x19e9dc['add'](_0x256edf['clearControl$'][_0x3f2a8c(0x374)](()=>{const _0x17e8f0=_0x3f2a8c;this['_clearPopups'](),this[_0x17e8f0(0x469)]['setContextValue'](_0x567e1d['FOCUSING_COMMON_DRAWINGS'],!0x1),this['_drawingManagerService'][_0x17e8f0(0x1b3)](null);})),_0x19e9dc['add'](_0x256edf[_0x3f2a8c(0x4a4)][_0x3f2a8c(0x374)](()=>{const _0x2beea2=_0x3f2a8c;this[_0x2beea2(0x21f)]();})),_0x19e9dc[_0x3f2a8c(0x3e3)](_0x256edf[_0x3f2a8c(0x4b3)][_0x3f2a8c(0x374)](()=>{const _0x5d568f=_0x3f2a8c;this[_0x5d568f(0x21f)]();})),(0x0,_0x567e1d[_0x3f2a8c(0x23c)])(()=>{const _0x38bf1e=_0x3f2a8c;_0x19e9dc[_0x38bf1e(0x4dd)](),this[_0x38bf1e(0x21f)]();});}['_registerOperations'](){const _0x2389a5=_0x718440;this[_0x2389a5(0x503)](this[_0x2389a5(0x594)][_0x2389a5(0x4c2)](_0x521198=>{const _0x25dc78=_0x2389a5;if(_0x521198['id']===_0x55af59['id']){let {unitId:_0xd28fa,subUnitId:_0x273dde,drawingId:_0x27e748}=_0x521198[_0x25dc78(0x247)];this[_0x25dc78(0x282)]+=0x1,this[_0x25dc78(0x436)]=this[_0x25dc78(0x295)](_0xd28fa,_0x273dde,_0x27e748),this[_0x25dc78(0x21f)](),this[_0x25dc78(0x585)]();}if(_0x521198['id']===_0x26247f['id']&&(this['_activeShapeInfo']=null,this['_closeShapeEditPanel']()),_0x521198['id']===_0x239f56['UpdateSheetsShapeDataMutation']['id']){let {unitId:_0x56f5d5,subUnitId:_0xcc5992,shapeId:_0x5c9c18}=_0x521198[_0x25dc78(0x247)];if(this[_0x25dc78(0x436)]&&this[_0x25dc78(0x436)][_0x25dc78(0x1fd)]===_0x5c9c18){let _0xeb49e6=this['_getShapeInfo'](_0x56f5d5,_0xcc5992,_0x5c9c18);_0xeb49e6&&(this[_0x25dc78(0x282)]+=0x1,_0xeb49e6[_0x25dc78(0x345)]=this[_0x25dc78(0x282)],this['_activeShapeInfo']=_0xeb49e6,this[_0x25dc78(0x2fa)]&&this['_openShapeEditPanel']());}}})),this['disposeWithMe'](this['_drawingManagerService']['focus$']['subscribe'](_0x2e98cc=>{const _0x251e4b=_0x2389a5;if(this['_isOpenedShapeEditPanel']===!0x1)return;if(_0x2e98cc[_0x251e4b(0x212)]===0x0){this[_0x251e4b(0x436)]=null,this[_0x251e4b(0x209)]();return;}if(_0x2e98cc[_0x251e4b(0x212)]===0x1&&_0x2e98cc[0x0]['drawingType']===_0x567e1d[_0x251e4b(0x2f1)]['DRAWING_SHAPE']&&(this['_shapeEditPanelVersion']+=0x1,this[_0x251e4b(0x436)]=this[_0x251e4b(0x295)](_0x2e98cc[0x0]['unitId'],_0x2e98cc[0x0][_0x251e4b(0x31f)],_0x2e98cc[0x0][_0x251e4b(0x25d)]),this[_0x251e4b(0x436)])){this[_0x251e4b(0x585)]();return;}let _0x30b7da=_0x2e98cc['filter'](_0xe1952e=>_0xe1952e[_0x251e4b(0x37f)]===_0x567e1d[_0x251e4b(0x2f1)]['DRAWING_SHAPE']);if(_0x2e98cc[_0x251e4b(0x212)]>0x1&&_0x30b7da['length']===_0x2e98cc[_0x251e4b(0x212)]){if(this[_0x251e4b(0x282)]+=0x1,this[_0x251e4b(0x436)]=this['_getShapeInfo'](_0x2e98cc[0x0][_0x251e4b(0x45d)],_0x2e98cc[0x0][_0x251e4b(0x31f)],_0x2e98cc[0x0][_0x251e4b(0x25d)]),this[_0x251e4b(0x436)]){this[_0x251e4b(0x585)]();return;}}else{if(this[_0x251e4b(0x282)]+=0x1,this['_activeShapeInfo']=this['_getShapeInfo'](_0x2e98cc[0x0][_0x251e4b(0x45d)],_0x2e98cc[0x0]['subUnitId'],_0x2e98cc[0x0][_0x251e4b(0x25d)]),this[_0x251e4b(0x436)]){this[_0x251e4b(0x436)][_0x251e4b(0x23a)]=!0x0,this['_openShapeEditPanel']();return;}}this[_0x251e4b(0x209)]();}));}[_0x718440(0x585)](){const _0x30b9bb=_0x718440;this[_0x30b9bb(0x436)]&&(this['_sidebarDisposable']=this['_sidebarService'][_0x30b9bb(0x395)]({'id':_0x1b3159,'header':{'title':this['_localeService']['t'](_0x30b9bb(0x4d6))},'width':0x184,'children':{'label':_0x1b3159,...this[_0x30b9bb(0x436)]},'onClose':()=>{const _0x362ee4=_0x30b9bb;this[_0x362ee4(0x2a8)]['focusDrawing'](null),this[_0x362ee4(0x469)][_0x362ee4(0x4b8)](_0x567e1d[_0x362ee4(0x457)],!0x1),this['_sidebarDisposable']=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}[_0x718440(0x209)](){const _0x501c9a=_0x718440;this[_0x501c9a(0x2fa)]=!0x1,this['_sidebarService'][_0x501c9a(0x589)](_0x1b3159),this[_0x501c9a(0x2b1)]=null,this[_0x501c9a(0x469)][_0x501c9a(0x4b8)](_0x567e1d[_0x501c9a(0x457)],!0x1),this[_0x501c9a(0x2a8)][_0x501c9a(0x1b3)](null);}};_0x37583a=_0xb31b0c([_0x519f13(0x0,_0x567e1d[_0x718440(0x32e)]),_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x5744c6[_0x718440(0x525)])),_0x519f13(0x2,_0x5744c6['IMenuManagerService']),_0x519f13(0x3,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x239f56['SheetsShapeService'])),_0x519f13(0x4,(0x0,_0x567e1d['Inject'])(_0x567e1d[_0x718440(0x359)])),_0x519f13(0x5,_0x567e1d['ICommandService']),_0x519f13(0x6,_0x36b4c7[_0x718440(0x529)]),_0x519f13(0x7,(0x0,_0x567e1d['Inject'])(_0x17eed7[_0x718440(0x339)])),_0x519f13(0x8,_0x567e1d[_0x718440(0x452)]),_0x519f13(0x9,_0x3e5eae[_0x718440(0x39e)]),_0x519f13(0xa,(0x0,_0x567e1d['Inject'])(_0x5c8f01))],_0x37583a);let _0x29c25b=class extends _0x567e1d[_0x718440(0x44a)]{constructor(_0x48cad4=_0x3dd284,_0x156d62,_0x556893,_0x395b7e,_0x11b36f){const _0x4c19bb=_0x718440;super(),this[_0x4c19bb(0x561)]=_0x48cad4,this['_injector']=_0x156d62,this[_0x4c19bb(0x594)]=_0x556893,this[_0x4c19bb(0x43f)]=_0x395b7e,this[_0x4c19bb(0x57e)]=_0x11b36f;let {..._0x382d04}=(0x0,_0x567e1d['merge'])({},_0x3dd284,this[_0x4c19bb(0x561)]);this[_0x4c19bb(0x43f)]['setConfig'](_0x31802e,_0x382d04),this[_0x4c19bb(0x4bc)]();}[_0x718440(0x2b4)](){const _0xdd0566=_0x718440;this[_0xdd0566(0x57e)][_0xdd0566(0x46a)](_0x567e1d[_0xdd0566(0x1e5)][_0xdd0566(0x420)],[_0x4c6bc3]),(0x0,_0x567e1d[_0xdd0566(0x2d1)])(this['_injector'],[[_0x37583a],[_0x55730e],[_0x29d254],[_0x189611]]);}[_0x718440(0x263)](){const _0x3199f2=_0x718440;this['_injector']['get'](_0x37583a)[_0x3199f2(0x1f2)]();}['onReady'](){const _0x5936e2=_0x718440;[[_0x39d55c],[_0x5258f8],[_0x19fd0d]][_0x5936e2(0x241)](_0x4af4c1=>this[_0x5936e2(0x249)][_0x5936e2(0x3e3)](_0x4af4c1)),(0x0,_0x567e1d[_0x5936e2(0x2d1)])(this['_injector'],[[_0x19fd0d],[_0x5258f8]]),this[_0x5936e2(0x57e)][_0x5936e2(0x46a)](_0x567e1d[_0x5936e2(0x1e5)]['UNIVER_SHEET'],[_0x39d55c]),this[_0x5936e2(0x57e)][_0x5936e2(0x46a)](_0x567e1d[_0x5936e2(0x1e5)][_0x5936e2(0x2e6)],[_0x47426e]),this[_0x5936e2(0x57e)]['registerRenderModule'](_0x567e1d['UniverInstanceType'][_0x5936e2(0x2e6)],[_0x2dd992]),this[_0x5936e2(0x57e)][_0x5936e2(0x46a)](_0x567e1d[_0x5936e2(0x1e5)][_0x5936e2(0x2e6)],[_0x26166d]),this[_0x5936e2(0x503)](this[_0x5936e2(0x57e)][_0x5936e2(0x46a)](_0x567e1d[_0x5936e2(0x1e5)]['UNIVER_SHEET'],[_0x139a8e]));}['onStarting'](){const _0x3b936d=_0x718440;this[_0x3b936d(0x249)]['add']([_0x5b23a2]),this[_0x3b936d(0x249)]['get'](_0x5b23a2);let _0x7299e4=this[_0x3b936d(0x249)];[[_0x37583a],[_0x55730e],[_0x29d254],[_0x189611],[_0x42fc7f],[_0x5c8f01],[_0x256f6f],[_0x392613],[_0x1f125a],[_0x53b597]][_0x3b936d(0x241)](_0x19ceae=>_0x7299e4[_0x3b936d(0x3e3)](_0x19ceae)),(0x0,_0x567e1d[_0x3b936d(0x2d1)])(this[_0x3b936d(0x249)],[[_0x37583a],[_0x55730e],[_0x29d254],[_0x42fc7f],[_0x5c8f01],[_0x256f6f],[_0x392613],[_0x1f125a],[_0x53b597]]);}[_0x718440(0x4bc)](){const _0x226a37=_0x718440;[_0x31381b,_0x1f4f18,_0x26247f,_0x55af59,_0x465174,_0x2a6b80,_0x2ecd4a,_0x471ba4][_0x226a37(0x241)](_0x4df9fc=>this[_0x226a37(0x503)](this[_0x226a37(0x594)][_0x226a37(0x48b)](_0x4df9fc)));}};_0x55cc91(_0x29c25b,_0x718440(0x19f),_0x567e1d['UniverInstanceType'][_0x718440(0x2e6)]),_0x55cc91(_0x29c25b,_0x718440(0x56f),_0x718440(0x326)),_0x55cc91(_0x29c25b,_0x718440(0x413),_0x1b0553),_0x55cc91(_0x29c25b,_0x718440(0x345),_0x1ae96e),_0x29c25b=_0xb31b0c([(0x0,_0x567e1d[_0x718440(0x474)])(_0x2b0b35[_0x718440(0x4e6)],_0x4d3fb2['UniverDocsPlugin'],_0x36b4c7[_0x718440(0x286)],_0x44d5e4[_0x718440(0x38a)],_0x3e5eae[_0x718440(0x495)],_0x11447f[_0x718440(0x35a)],_0x36809f[_0x718440(0x1bd)],_0x1f8323['UniverSheetsDrawingPlugin'],_0x42b73e[_0x718440(0x2df)],_0x2ea516['UniverSheetsDrawingUIPlugin'],_0x239f56[_0x718440(0x4eb)],_0x17eed7['UniverSheetsUIPlugin'],_0x54a51b['UniverShapeEditorUIPlugin']),_0x519f13(0x1,(0x0,_0x567e1d['Inject'])(_0x567e1d[_0x718440(0x442)])),_0x519f13(0x2,_0x567e1d[_0x718440(0x1cf)]),_0x519f13(0x3,_0x567e1d[_0x718440(0x215)]),_0x519f13(0x4,_0x3e5eae[_0x718440(0x39e)])],_0x29c25b),_0x389d98['SheetsShapeUIContextualRibbonSchema']=_0x5a4d9c,_0x389d98[_0x718440(0x3b8)]=_0x4fc050,Object['defineProperty'](_0x389d98,_0x718440(0x2a5),{'enumerable':!0x0,'get':function(){return _0x51e94d;}}),Object[_0x718440(0x54c)](_0x389d98,_0x718440(0x471),{'enumerable':!0x0,'get':function(){return _0x29c25b;}});}));
|