@univerjs-pro/sheets-shape-ui 1.0.0-rc.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/commands/command/set-shape-text-align.command.d.ts +5 -0
- package/lib/types/commands/command/set-shape-text-style.command.d.ts +7 -0
- package/lib/types/commands/command/set-shape-text-vertical-align.command.d.ts +5 -0
- package/lib/types/commands/command/shape-doc-align.command.d.ts +10 -0
- package/lib/types/commands/menu/shape-doc-format.menu.d.ts +18 -0
- package/lib/types/commands/menu/shape-font-size.menu.d.ts +5 -0
- package/lib/types/commands/menu/shape-text-align.menu.d.ts +9 -0
- package/lib/types/commands/menu/shape-vertical-align.menu.d.ts +9 -0
- package/lib/types/commands/operations/actvie-drawing-operation.d.ts +2 -0
- package/lib/types/controllers/config.schema.d.ts +5 -0
- package/lib/types/controllers/format-painter.controller.d.ts +10 -0
- package/lib/types/controllers/menu.schema.d.ts +2 -0
- package/lib/types/controllers/mobile/ui.controller.d.ts +21 -6
- package/lib/types/controllers/sheets-shape-ui.controller.d.ts +126 -0
- package/lib/types/mobile-plugin.d.ts +1 -3
- package/lib/types/view-model/shape-data-model.d.ts +6 -0
- package/lib/types/views/ShapeOptions.d.ts +30 -0
- 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/types/views/shape-editor-panel/ShapeLineEditor.d.ts +11 -0
- package/lib/types/views/shape-editor-panel/index.d.ts +1 -0
- package/lib/types/views/shape-text-editor/Editor.d.ts +11 -0
- package/lib/types/views/shape-text-editor/ShapePositionWrapper.d.ts +15 -0
- package/lib/types/views/shape-text-editor/hooks/use-shape-position.d.ts +37 -0
- package/lib/types/views/shapes.d.ts +58 -0
- 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 _0x4701(_0x959411,_0x2660a4){_0x959411=_0x959411-0x1ab;const _0x8db22f=_0x8db2();let _0x470106=_0x8db22f[_0x959411];return _0x470106;}function _0x8db2(){const _0x169deb=['disableObjectsEvent','fillImageSourceType','SheetsDrawingGroupCopyPasteController','canvas','createShapeFormulaDocument','_clearShapeConnectorHandlerObjects','DependentOn','subscribe','_imageIoService','prepareShapeTextDocumentData','ContextMenuGroup','FOCUSING_SHAPE_TEXT_EDITOR','vertical','_drawingManagerService','drawing-ui.objectListPanel.details','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','name','_registerOperations','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','_sheetPermissionCheckController','onPointerMove$','LocaleService','parse','refreshShapeFillImage','topmost-icon','UniverShapeEditorMobileUIPlugin','idMap','children','order','stopPropagation','remove$','getBasicShapeRotateBound','Vector2','function','syncExecuteCommand','round','with','_setTransForm','drawing-ui.objectListPanel.filterLocked','switchMap','shape-text-','selectable','DrawingRenderService','object-layers-icon','IconManager','worldRect','709214ZPsFfP','isArray','setPresentation','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','getImage','_shapePopupMenuDisposable','composeMatrix','_sidebarDisposable','_loadShapePictureFill','pipe','DRAWING_OBJECT_LAYER_INDEX','CommandType','getStartConnectInfo','getCurrentTypeOfUnit$','useMemo','M13.4\x203.3L9.8\x208L13.4\x2012.7V3.3Z','OTHERS','IRenderManagerService','DEFAULT_PASTE','onPointerUp$','isReleased','SheetSkeletonService','getObject','UpdateSheetsShapeDataMutation','title','onerror','RemoveSheetDrawingCommand','sheets-shape-ui.shape-format.text-ribbon-control','getParent','start','buildClipPath','unitId','_sheetBasicShapeConnectionPointController','getObjectIncludeInGroup','jsx','Observable','IUndoRedoService','#1a73e8','SheetSkeletonManagerService','normal','move-down-icon','_registerFocusChangeHandler','SELECTOR','getDrawingVisible','_clearCompletionFrame','@univerjs/sheets-drawing','horizontal','insertGroupObject','isStartConnectorPoint','M8\x206.2V7.8','sheet.shape.object-list.panel','sheet.shape.text.float-menu','MenuManagerPosition','_getImagePrstGeom','@univerjs/sheets-drawing-ui','UniverShapeEditorUIPlugin','localName','_commandService','viewportScrollX','_draggingConnectorId','cxnPointFill','isHitLine','_isStartAdjusting','onReady','startWith','complete','flipX','_updateShapeAdjustControls','panel','SheetPermissionCheckController','createControl$','_releaseRenderCache','sheets-shape-ui.config','addClipboardHook','_generateCutPasteMutations','clearControl$','_baseShapeLeft','_subUnitId','type','drawing-ui.objectListPanel.dragToReorder','render','DrawingApplyType','merge','tag','onSteady','editingParams$','Large','text','getDrawingShapeKeyByDrawingSearch','_registerIcons','_imageShapeClipController','dataModel','pushUndoRedo','_clearFocusedShape','createInternalEditorID','_activeImageId','_hide','ShapeTextFloatToolbar','setPrstGeomAdjValues','string','UniverMobileUIPlugin','sheets-shape-ui.ribbon.shape-format.text-control','DrawingImageClipService','multiply','UniverSheetsPlugin','Path','sheets-shape-ui.permission.editErr','getShapeQuickStylePreset','isMainScene','applyQuickStyleToShapeData','4ivbqqw','axisAlignSheetTransform','subUnitId','clipByShape','disconnect','drawing-ui.objectListPanel.moveBackward','rxjs','point','DocRenderController','toStringTag','INSERT','sheet.operation.open-sheet-shape-format-panel','_getShapeAdjustInfosById','getCurrentLastSelection','_initialize','setCursor','_getSceneAndTransformerByDrawingSearch','gradientEndColor','_handleFreeEndpointPointerUp','fillImageSource','currentColor','_registerImageShapeClipDelegate','REMOVE','_formulaShapes','drawingId','defIds','getDrawingPoints','_shapeService','_shapeFormulaService','useLayoutEffect','sheets-shape-ui.imagePanel.crop.shape','sqrt','ShapeFloatingToolbarToggleFactory','makeDirty','ShapeDefaultConfig','getAdjustNames','UniverSheetsShapePlugin','_localeService','getPropertyValue','engine','bottom-icon','_initSelection','drawing-ui.objectListPanel.filterAll','sheets-shape-ui.ribbon.shape-format.arrange-front','extraProps','presetId','size','_baseShapeHeight','_completionFrame','IRibbonService','SHAPE_TEXT','interceptor','MobileObjectListPanel','WorksheetEditPermission','constructor','isLineShape','FOCUSING_COMMON_DRAWINGS','getDrawingByParam','OPERATION','getCurrentUnitOfType','drawingType','getImageSourceCache','M2.2\x208H3.8','ShapeEditPanel','DocumentSkeleton','Fragment','_update','ImageSourceTypeEnum','replace','107346FHQdcT','_adjName','Disposable','#bcbcbc','_initMenu','_baseLeft','drawing-ui.objectListPanel.unlockHint','_closeShapeEditPanel','drawing-ui.objectListPanel.show','UniverDocsUIPlugin','front','forEach','popup','formulaPresentation','sheetViewStartRow','objects','wrapStrategy','SetSheetDrawingCommand','ShapeFloatingToolbar','sheet.menu.shape.flip-horizontal','onCommandExecuted','_cxtHandlerPointerMove','UniverUi','getCurrentSkeleton','getUnitType','drawing-ui.objectListPanel.close','setShapeData','isFinite','fromChangeset','offsetY','TopmostIcon','sheets-shape-ui.objectListPanel.title','calculate','UniverDesign','refreshTransform','_getScrollInfo','top','_addShapeConnectorHandlerObject','_focusedDrawings','src','sheet.menu.shape.flip-vertical','InsertSheetsShapeMutation','_getShapeInfo','executeCommand','translate','sectionCanvas','_sheetInterceptorService','_clearShapeAdjustControls','Medium','mergeMenu','UPDATE','call','visible','SetDrawingSelectedOperation','sheet.image-clip.shape-picker.component','_sidebarService','renderDrawingShape','1em','_iconManager','sheets-shape-ui.objectListPanel.open','_handleFreeEndpointMove','updateDocumentDataMargin','UniverDrawingPlugin','animateFormulaPresentation','_disposePopups','registerClipDelegate','_calculateFreeEndpointAngle','hidden','getShapeTypeById','IURLImageService','shapeId','SheetsShapeUIMenuSchema','svg','canvasElement','resolveShapeTextDocumentPageHeight','RibbonInsertGroup','close','sheets-shape-ui.flipHorizontal','changeShapeType','UniverSheetsDrawingUi','transform','_registerMoveHandler','startX','resolveShapeTextEditorWrapStrategy','targetShapeId','touchDependencies','_handleConnectedEndpointMove','_transform','adjName','SheetsShapeService','changeEnd$','clip','IContextService','Rect','getMenuHiddenObservable','fill','UniverLicensePlugin','add$','_baseWidth','transformByState','getSkeletonParam','_executeConnectedRouteResizeCommand','params','Plugin','_baseHeight','_getShapeAdjustPointListById','getEditing','_sheetCanvasPopManagerService','useReducer','getVisible','cxnIndex','getRealBound','_generatePasteMutations','_initEvents','getConnectionInfo','FloatingObjectToolbarPosition','_drawingType','adjHandleFill','UniverDocsUi','SheetScrollManagerService','DocInterceptorService','sheets-shape-ui.editShape','setContextValue','url(#$1','_baseShapeWidth','URL','copyId','permissionCheckWithoutRange','_sheetShapeAdjustController','DisposableCollection','getBatchUpdateOp','_isConnecting','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','UniverSheetsDrawing','getAdjustValueByName','appliedStrokeWidth','sheet.operation.apply-shape-quick-style','drawing-ui.objectListPanel.showAll','description','changing$','setEditing','actualHeight','image','_shapeUpdateListener','VIEW_MAIN','UniverIcon','clear','@univerjs/sheets','permissionPointUpdate$','refreshFormulaPresentation','useEffect','connection-site-','drawing-ui.objectListPanel.empty','worldPoint','getObjectListPanelSectionIdForDrawingType','sheet.command.update-shape-data','deriveStateFromActiveSheet$','getSheetCommandTarget','reduce','unregister','isEditing','refreshAdjustControls','getSkeleton','rotation','drawing-ui.objectListPanel.typeNames.','getShapeType','getEndConnectInfo','_sheetPrintInterceptorService','getUnit','onStarting','@univerjs/ui','enableObjectsEvent','resolveActiveShapeQuickStylePresetId','removeAttribute','isDrawingObject','ShapeIcon','_getConnectPointInfo','hadStyleAttribute','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','_attachAdjustEvent','getPropertyPriority','UniverDocs','getUnitId','highlighted','@univerjs/engine-render','drawing-ui.objectListPanel.descriptionPlaceholder','getBatchRemoveOp','GROUP','clipTop','_contextService','ShapeQuickStyleGallery','style','sectionFloating','M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','scene','shapeText','UniverRenderEnginePlugin','getConnectorLinePoints','_initPrinting','localToWorld','non-scaling-stroke','MoveUpIcon','M3.3\x2013.4L8\x209.8L12.7\x2013.4H3.3Z','removeProperty','_baseTop','40pfpLNH','M8\x2014V14.2','getBatchAddOp','getFocusDrawings','getTransformerByCreate','computeConnectorResizeLayout','SheetCanvasPopManagerService','setFormulaPresentation','initShapePopupMenu','_isShouldShowDrawingShapeAdjust','iterator','register','_registerComponents','jsxs','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','COPY_TYPE','showContextualTab','RemoveSheetsShapeMutation','length','setCollapsedIds','ShapeGroupEnum','_sheetDrawingShapeRenderController','UniverSheetsUIPlugin','isRichText','_drawSimpleText','vertical-center','ICommandService','drawing-ui.objectListPanel.hideAll','ToggleSheetsShapeFlipCommand','includes','_moveConnectorWithShape','_lastEditingShapeKey','PaintIcon','_targetShapeId','FlipHorizontalIcon','_univerInstanceService','Injector','_attachConnectorObjectEvent','getDrawingData','getValue','_loadAndSetImage','getPermissionPoint','sheets-shape-ui.shape-format.style-ribbon-control','BottomIcon','ShapePickerPanel','element','isolated','sheet.shape.picker.component','_activeShapeId','drawWith','SheetInterceptorService','intercept','isHighlighted','shapeModel','48847WHzYPE','Arrow','_componentManager','attachTransformerTo','lineShapeId','@univerjs-pro/license','_shapeTextEditingService','getShapeQuickStyleType','VIEW_MAIN_LEFT','sheets-shape-text-','IPermissionService','MEDIA','parseFloat','clip-adj-','UNIVER_SHEET','updateContext','_currentScene','backward','onPointerDown$','setShapeProps','_activeTargetShapeId','WorkbookEditablePermission','computeStraightConnectorLayout','_resetState','_isOpenedShapeEditPanel','DrawingTypeEnum','_getDrawingRect','ArrangeTypeEnum','None','_sheetClipboardService','drawing-ui.objectListPanel.noSelection','M4.2\x208.3H6.8','_rerouteConnectorLine','none','_hasReset','react','IMenuManagerService','M10.2\x208H11.8','isInGroup','_connectionSiteObjects','0\x200\x2016\x2016','ShapeFloatingToolbarService','sheets-shape-ui.ribbon.shape-format.arrange-forward','drawing-ui.objectListPanel.locate','extensionGroups','normalizeShapeTextModel','UniverShapeEditorPlugin','LEFT','getSelectedObjectMap','path','UpdateConnectorRelationCommand','getShapeTextRect','drawing-ui.objectListPanel.title','_initCommands','registerCommand','DocSelectionManagerService','doc','xlink:href','DocumentViewModel','_reset','_copyInfo','sheet.operation.open-shape-object-list-panel','delete','flip-horizontal-icon','resolveShapeContextualRibbonHostMode','getState','current','UniverProEngineShape','filter','relation','attachRangeWithCoord','transformToDrawingPosition','_executeConnectionCommand','flatMap','drawing-ui.objectListPanel.name','indexOf','next','276KAxDNq','fillType','VIEW_MAIN_LEFT_TOP','beginPath','height','@univerjs-pro/shape-editor','getMatrix','getDrawingSearch','getShapeData','getCurrentScrollState','set','_updateAdjustControlPositions','getShapeModel','2462105mpjGFO','removeLinePoints','hideContextualTab','getDrawingOrder','animationEnabled','drawing-ui.objectListPanel.sectionCanvas','sheets-shape-ui.title','copyType','SetDrawingApplyMutation','_injector','sin','ShapePickerDropdown','Shape','sheets-shape-ui.ribbon.shape-format.arrange-back','_transformCalculateSrcRect','_editingParams$','idSuffix','pluginName','_renderWithCache','4879KuNAgl','worldPoints','clipHeight','createShapeTextBoxShapeData','getDrawingEffectBounds','drawing-ui.objectListPanel.lock','_init','clip-','priority','ShapeTextFloatMenuRenderControllerBase','updateConnectionDetection','back','_popupMenuListener','entries','UniverSheetsDrawingPlugin','sheets-shape-ui.flipVertical','setOnSavingEditorData','ShapeFormulaRibbonControl','getConnectionRelation','updateLinePoints','_registerDrawingMoveHandler','contentHeight','ShapeFormatSettingIcon','hasAttribute','_clipService','updateShapeFillImage','UniverProShapeEditor','clearAdjustValue','disposeWithMe','univerjs-icon\x20univerjs-icon-','SheetDrawingAnchor','_props','prstGeomAdjValues','_applyFormulaAutoFitSize','push','drawing-ui.objectListPanel.unlockAll','M2.6\x203.3L6.2\x208L2.6\x2012.7V3.3Z','getDrawingEditable','activeAnObject','subscribeEvent','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','resize','_sheetSkeletonService','srcRect','_drawRichTextLayer','UniverCore','from','UniverSheetsUi','_addShapeConnectorHandlerObjects','SheetShapeTextEditorContainer','getActiveSheet','strokeWidth','redo','adjHandleSize','SolidLine','onRendered','M14\x208H14.2','blockExecuteWithoutPermission','transformForAngle','_sheetDrawingService','_disposed','_cxtHandlerPointerUp','ShapeModel','DrawingCommonPanel','startConnectionDetection','OBJECT_LIST_FLOATING_SECTION_ID','useDependency','UniverProShapeEditorUi','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','_shapeRenderController','_currentConnectionTarget','_currentUniverService','end','clone','setHighlighted','drawing-ui.objectListPanel.hide','getShapeTextData','_createShapeAdjustControls','@univerjs-pro/sheets-shape-ui','_connectorObjects','Transform','mask','EMPTY','getCanvasElement','width','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','@univerjs/sheets-ui','getDrawingOKey','M8\x202.2V3.8','image-clip-adjust-point-','toFixed','getBoundingClientRect','displayName','VerticalAlign','_clearConnectionSites','_baseShapeTop','drawing-ui.objectListPanel.unlock','ConnectorCoordinateTransform','keys','use','cxnPointRadius','ToggleShapeFloatingToolbarOperation','drawing-ui.objectListPanel.lockHint','getDrawingDataForUnit','bottom','UniverSheetsShapeUIPlugin','Inject','_drawingRenderService','_formulaAnimation','_activeAdjustPointList','sheetViewStartColumn','shape-editor-ui.arrange.backward','symbol','_adjHandlerPointerUp','sheets-shape-ui.editText','move-up-icon','CROSSHAIR','FlipVerticalIcon','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','_commandExecutedListener','drawing-ui.objectListPanel.sectionFloating','formulaBinding','_generateCopyPasteMutations','save','CURSOR_TYPE','_registerDrawingFocusChangeHandler','some','adjustValues','drawing-ui.objectListPanel.search','undo','cancelEditing','PREDEFINED_HOOK_NAME','toPrimitive','shapeData','version','_draw','completeEditing','_insertingShapeKeys','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','shouldAllowShapeTextEditorHostSizeShrink','drawing-ui.objectListPanel.collapse','drawing-ui.objectListPanel.moveForward','setConfig','UniverDrawing','error','sheets-shape-ui.formatShape','getRenderUnitById','changeStart$','packageName','sheets-shape-ui.ribbon.shape-format','_drawingAddListener','_sheetsShapeService','ang','M4.2\x205.5H10.5','_renderManagerService','_drawRichText','MoveDownIcon','find','isHorizontal','_updateSrcRectByTransform','stringify','DRAWING_IMAGE','clearAdjustControls','_groupCopyPasteController','ShapeTextEditorContainer','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','_addShapeAdjustControl','get','_initPermission','presentationChanged$','SHEET_VIEWPORT_KEY','setShouldShowAdjust','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','ISidebarService','scale','setFillImage','_isStartConnectorPoint','addImageSourceCache','restore','draw','colorChannel1','useId','routeConnectorLineShape','getInterceptPoints','toDisposable','calcAdjValues','shape-adjust-point-','memo','UniverProLicense','sheet.operation.update-shape-type','registerDependencies','has','stroke-width','getContextValue','reverse','_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','_isDrawingShapePointDown','@univerjs-pro/sheets-shape','_getOrCreateShapeModel','startArrow','onload','focusDrawing','_shapeEditPanelVersion','_activeShapeModel','focus$','_baseDrawingRect','startY','ShapeArrowTypeEnum','drawing-ui.objectListPanel.lockAll','beforeCommandExecuted','generateRandomId','MobileDropdown','shape-editor-ui.toolbar.quickStyles','abs','_adjHandlerPointerMove','useRef','0\x200\x2017\x2016','_getImageDrawingInfo','getViewportByCell','ISheetDrawingService','HorizontalAlign','_createControls','onDblclick$','_drawShapeText','ShapeTypeEnum','_config','getOwnPropertyDescriptor','InsertShapeCommand','RENDER_CLASS_TYPE','getTextStyle','_isImagePointerDown','4548Dzezdq','_updateTransform','connector-handler-','getShapeDataById','sheets-shape-format-font-family-menu','_unitId','_canEdit','target','endArrow','getZoomRatio','registerFeaturePasteHook','value','getDrawingTypeNameKey','_showConnectionSites','getCurrentUnitInfo','viewportScrollY','@univerjs/drawing','IConfigService','sheet.shape.edit.panel','MenuItemType','debounceRefreshControls','oKey','#FFFFFF','SetShapeDrawingDataCommand','react/jsx-runtime','4VyQxcE','_initEditingParams','left','resolveShapeTextEditorBehaviorShapeData','_cxnIndex','getInverseCoord','UniverDrawingUIPlugin','defineProperty','data','shapeType','IDrawingManagerService','invert','cos','open','preValue','_activeShapeInfo','createElement','BUTTON','drawing-ui.objectListPanel.filterHidden','sheetTransform','drawing-ui.objectListPanel.description','DRAWING_SHAPE','Line','useObservable','unsubscribe','ComponentManager','IUniverInstanceService','plainShapeTextToDocumentData','_initCopyPaste','ObjectLayersIcon','ShapeFormulaService','VIEW_MAIN_TOP','ObjectListPanelBase','_registerFeatureMenu','assign','ShapeLineTypeEnum','TOP','_onSavingEditorData$','skeleton','@univerjs/docs','_insertShapes','presentation','ancestorTransform','default','React','getTransformer','_menuManagerService','originalStrokeWidth','getPresentation','_highlightedSiteIndex','Image','getScene','prototype','_createCopyInfoByRange','asObservable','_shapes','index','sheets-shape-ui.ribbon.shape-format.style-control','cxnPointStroke','pick','registerRenderModule','MobileShapeEditorService','isConnectorShape','sheets-shape-ui.quickStyles','getSheetBySheetId','_clearPopups','UniverInstanceType','applyPoint','sheet.command.menu-insert-shape','transformToAxisAlignPosition','prstGeom','_permissionService','add','translateWithPrecision','setFallbackVisible','setProperty','getBasicShapeRelation','stroke','getConnectionSiteList','BehaviorSubject','drawFormulaShapeAnimationLayers','ShapeFillEnum','drawing-ui.objectListPanel.nameInput','offsetX','addObject','forward','@univerjs/docs-ui','dispose','_getConnectionSiteAngle','attrs','IImageIoService','custom','_context','evenodd','_activeShapeAdjustPointList','_ribbonService','flipY','setAdjustValueByName','baseVal','_shapeFloatingToolbarService','COMMAND','PictureFill','UniverSheets','min','resetCursor','SheetsShapeUIContextualRibbonSchema','SHAPE_EDITOR_TRANSFORMER_CONFIG','angle','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','fontSize','getAdjustInfoByName','forwardRef','isHit','FormatPainterSessionService','_updateImageAdjValues','http://www.w3.org/2000/svg','setSrcRect','_addControl','_isHighlighted','setPrstGeom','_getZoomRatio','_openShapeEditPanel','classType','_index','_configService','sheet.operation.open-mobile-shape-editor','map','getAutoFitPresentations','sheets-shape-ui.insertShape','useFormulaShapeToolbar','_findShapeAtPoint','_visible','object','trim','_shapeId','update$','_handleConnectorPointerUp','ContextMenuPosition','2471368DciZxi','_activeAdjustInfo','SetDrawingArrangeCommand','UniverSheetsMobileUIPlugin','values','ShapeRenderModeEnum','M8\x2010.2V11.8','setCanUseShapeClip','_executeConnectedRouteConnectionCommand','lineType','sheets-shape-ui.deleteShape','#4285f4','computeConnectorRouteLayout','_clearControls','useState','1593738gupftR','_formulaKey','getCurrentRangeDisable$','shape-editor-ui.toolbar.changeShape','Circle','_findNearestConnectionSite','UUID','contentVerticalOffset'];_0x8db2=function(){return _0x169deb;};return _0x8db2();}(function(_0x134de3,_0x155eb2){const _0x2a575f=_0x4701,_0x13e293=_0x134de3();while(!![]){try{const _0x149c45=-parseInt(_0x2a575f(0x2df))/0x1+-parseInt(_0x2a575f(0x58a))/0x2*(parseInt(_0x2a575f(0x1dc))/0x3)+parseInt(_0x2a575f(0x44d))/0x4*(-parseInt(_0x2a575f(0x339))/0x5)+parseInt(_0x2a575f(0x434))/0x6*(parseInt(_0x2a575f(0x34c))/0x7)+-parseInt(_0x2a575f(0x4d7))/0x8+parseInt(_0x2a575f(0x4e6))/0x9*(-parseInt(_0x2a575f(0x2a9))/0xa)+-parseInt(_0x2a575f(0x51c))/0xb*(-parseInt(_0x2a575f(0x32c))/0xc);if(_0x149c45===_0x155eb2)break;else _0x13e293['push'](_0x13e293['shift']());}catch(_0x3e54f7){_0x13e293['push'](_0x13e293['shift']());}}}(_0x8db2,0x5d0db),function(_0x270a20,_0x26942e){const _0x22b3e0=_0x4701;typeof exports==_0x22b3e0(0x4d1)&&typeof module<'u'?_0x26942e(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==_0x22b3e0(0x50f)&&define['amd']?define(['exports','@univerjs-pro/shape-editor-ui',_0x22b3e0(0x286),'@univerjs-pro/engine-shape',_0x22b3e0(0x331),_0x22b3e0(0x412),'@univerjs/core',_0x22b3e0(0x26f),_0x22b3e0(0x444),_0x22b3e0(0x294),_0x22b3e0(0x3a2),_0x22b3e0(0x590),'@univerjs/drawing-ui','@univerjs/design',_0x22b3e0(0x44c),_0x22b3e0(0x549),_0x22b3e0(0x2e4),_0x22b3e0(0x474),_0x22b3e0(0x4a3),_0x22b3e0(0x552),_0x22b3e0(0x302)],_0x26942e):(_0x270a20=typeof globalThis<'u'?globalThis:_0x270a20||self,_0x26942e(_0x270a20['UniverProSheetsShapeUi']={},_0x270a20[_0x22b3e0(0x38f)],_0x270a20[_0x22b3e0(0x1f2)],_0x270a20[_0x22b3e0(0x322)],_0x270a20[_0x22b3e0(0x366)],_0x270a20['UniverProSheetsShape'],_0x270a20[_0x22b3e0(0x379)],_0x270a20[_0x22b3e0(0x4b3)],_0x270a20[_0x22b3e0(0x3db)],_0x270a20['UniverEngineRender'],_0x270a20[_0x22b3e0(0x37b)],_0x270a20['rxjs'],_0x270a20['UniverDrawingUi'],_0x270a20[_0x22b3e0(0x1fd)],_0x270a20['React'],_0x270a20[_0x22b3e0(0x261)],_0x270a20[_0x22b3e0(0x408)],_0x270a20[_0x22b3e0(0x291)],_0x270a20[_0x22b3e0(0x252)],_0x270a20[_0x22b3e0(0x22b)],_0x270a20[_0x22b3e0(0x479)]));}(this,function(_0x128250,_0x3c7e1c,_0x18daae,_0x1c9bad,_0x214c33,_0x501fe5,_0x5b0763,_0x2e7766,_0x37800f,_0x463287,_0x54c89f,_0x3d6362,_0x3ec2cc,_0x2ba4b8,_0x521d83,_0x47629f,_0x4606ed,_0x411252,_0x2bf0d1,_0x29d240,_0x101f75){const _0x3bbe12=_0x4701;Object[_0x3bbe12(0x454)](_0x128250,Symbol[_0x3bbe12(0x593)],{'value':'Module'});function _0x1f33d3(_0x32809a,_0x506125){const _0x2f1a53=_0x3bbe12;let _0xab570d={};for(let _0x13f5e5 of Object[_0x2f1a53(0x3ae)](_0x506125)){let _0x1f8c0f=_0x506125[_0x13f5e5],_0x5b4672=_0x32809a[_0x13f5e5];if(_0x5b4672===void 0x0){_0xab570d[_0x13f5e5]=void 0x0;continue;}_0xab570d[_0x13f5e5]=typeof _0x1f8c0f==_0x2f1a53(0x4d1)&&_0x1f8c0f&&!Array['isArray'](_0x1f8c0f)&&typeof _0x5b4672==_0x2f1a53(0x4d1)&&_0x5b4672&&!Array[_0x2f1a53(0x51d)](_0x5b4672)?_0x1f33d3(_0x5b4672,_0x1f8c0f):_0x5b4672;}return _0xab570d;}let _0x5163ea={'type':_0x5b0763[_0x3bbe12(0x527)]['COMMAND'],'id':_0x3bbe12(0x277),'handler':(_0x18136e,_0x1159b3)=>{const _0x582646=_0x3bbe12;let _0x2a73cb=_0x18136e[_0x582646(0x3f3)](_0x501fe5[_0x582646(0x235)]),{unitId:_0x2e87bb,subUnitId:_0x530885,shapeType:_0x4d1a09,shapeId:_0x53bee9,shapeData:_0xa659eb,replaceShapeData:_0x4a789b,oldShapeJSON:_0x33ba08}=_0x1159b3;if(!_0x2a73cb[_0x582646(0x338)](_0x2e87bb,_0x530885,_0x53bee9))return!0x1;let _0x3422a4=_0x18136e[_0x582646(0x3f3)](_0x5b0763[_0x582646(0x2c3)]),_0x2e5f6e=_0x18136e['get'](_0x5b0763[_0x582646(0x540)]),{oldShapeType:_0x40e6c7,oldShapeData:_0x2113bc={}}=_0x33ba08,_0x290290=_0x4a789b?_0x2113bc:_0x1f33d3(_0x2113bc,_0xa659eb||{}),_0x3b8968={'id':_0x501fe5[_0x582646(0x533)]['id'],'params':{'unitId':_0x2e87bb,'subUnitId':_0x530885,'shapeId':_0x53bee9,'shapeType':_0x4d1a09,'shapeData':_0xa659eb,'replace':_0x4a789b}},_0x38ce58={'id':_0x501fe5[_0x582646(0x533)]['id'],'params':{'unitId':_0x2e87bb,'subUnitId':_0x530885,'shapeId':_0x53bee9,'shapeType':_0x40e6c7,'shapeData':_0x290290,'replace':_0x4a789b}};return _0x3422a4[_0x582646(0x510)](_0x3b8968['id'],_0x3b8968[_0x582646(0x242)])?(_0x2e5f6e[_0x582646(0x578)]({'unitID':_0x2e87bb,'undoMutations':[_0x38ce58],'redoMutations':[_0x3b8968]}),!0x0):!0x1;}};function _0x5b8a5d(_0x375a88,_0x145516,_0x4ce8ef,_0x386445,_0x54d254,_0x3c04d8){let _0x5efdc9={'unitId':_0x145516,'subUnitId':_0x4ce8ef,'shapeId':_0x386445,'shapeData':_0x3c04d8,'oldShapeJSON':_0x54d254};return _0x375a88['executeCommand'](_0x5163ea['id'],_0x5efdc9);}function _0x5afe63(_0x3245f7,_0xbf0ee8,_0x67743e,_0x14cc0d,_0x3636c2,_0x4f6e47){const _0x1c673e=_0x3bbe12;let _0x351c3b={'unitId':_0xbf0ee8,'subUnitId':_0x67743e,'shapeId':_0x14cc0d,'shapeData':_0x4f6e47,'oldShapeJSON':_0x3636c2};return _0x3245f7[_0x1c673e(0x207)](_0x5163ea['id'],_0x351c3b);}function _0x5bc7f0(_0x365ac2){'@babel/helpers - typeof';const _0x2c6946=_0x3bbe12;return _0x5bc7f0=typeof Symbol==_0x2c6946(0x50f)&&typeof Symbol[_0x2c6946(0x2b3)]==_0x2c6946(0x3bc)?function(_0x41554e){return typeof _0x41554e;}:function(_0x3efae5){const _0x73375d=_0x2c6946;return _0x3efae5&&typeof Symbol=='function'&&_0x3efae5[_0x73375d(0x1cd)]===Symbol&&_0x3efae5!==Symbol[_0x73375d(0x481)]?_0x73375d(0x3bc):typeof _0x3efae5;},_0x5bc7f0(_0x365ac2);}function _0xc81cdb(_0x16fb7a,_0x5ac7ac){const _0x267f5c=_0x3bbe12;if(_0x5bc7f0(_0x16fb7a)!='object'||!_0x16fb7a)return _0x16fb7a;var _0x529270=_0x16fb7a[Symbol[_0x267f5c(0x3d0)]];if(_0x529270!==void 0x0){var _0x295cc4=_0x529270[_0x267f5c(0x20f)](_0x16fb7a,_0x5ac7ac||_0x267f5c(0x478));if(_0x5bc7f0(_0x295cc4)!=_0x267f5c(0x4d1))return _0x295cc4;throw TypeError(_0x267f5c(0x374));}return(_0x5ac7ac===_0x267f5c(0x57f)?String:Number)(_0x16fb7a);}function _0x262519(_0x320434){const _0x495b9c=_0x3bbe12;var _0x293047=_0xc81cdb(_0x320434,_0x495b9c(0x57f));return _0x5bc7f0(_0x293047)=='symbol'?_0x293047:_0x293047+'';}function _0x19095(_0x5f4fe9,_0x400e53,_0x23f7db){const _0x1743a6=_0x3bbe12;return(_0x400e53=_0x262519(_0x400e53))in _0x5f4fe9?Object[_0x1743a6(0x454)](_0x5f4fe9,_0x400e53,{'value':_0x23f7db,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5f4fe9[_0x400e53]=_0x23f7db,_0x5f4fe9;}function _0x5f26ff(_0x219f3a,_0x19ab10,_0x2018c9){const _0x4fbc1e=_0x3bbe12;let _0x2eb212={..._0x19ab10,'dataModel':{..._0x19ab10[_0x4fbc1e(0x577)]??{},..._0x2018c9?{'doc':_0x2018c9}:null}},_0x525c0e=(0x0,_0x3c7e1c[_0x4fbc1e(0x450)])(_0x219f3a,_0x2eb212),_0x60dff6=(0x0,_0x3c7e1c[_0x4fbc1e(0x22f)])(_0x525c0e);return{'clip':(0x0,_0x3c7e1c['shouldClipShapeTextDocument'])(_0x525c0e,_0x60dff6),'wrapStrategy':_0x60dff6};}var _0x30f195=class extends _0x463287[_0x3bbe12(0x345)]{constructor(_0x345902,_0x1a899f){const _0x44de2e=_0x3bbe12;super(_0x345902,_0x1a899f),_0x19095(this,_0x44de2e(0x36b),void 0x0),_0x19095(this,'_formulaAnimation',new _0x3c7e1c['FormulaShapeAnimationController'](()=>this[_0x44de2e(0x1b8)](!0x0),()=>this[_0x44de2e(0x36d)]())),_0x19095(this,'_transformCalculateSrcRect',!0x0),_0x19095(this,_0x44de2e(0x250),_0x5b0763[_0x44de2e(0x2f8)][_0x44de2e(0x462)]),_0x19095(this,_0x44de2e(0x28a),!0x0),this[_0x44de2e(0x36b)]={..._0x1a899f},this[_0x44de2e(0x3b8)][_0x44de2e(0x51e)](_0x1a899f[_0x44de2e(0x1e9)],_0x1a899f[_0x44de2e(0x21b)]!==!0x1),this[_0x44de2e(0x352)](),this['_applyFormulaAutoFitSize']();}[_0x3bbe12(0x352)](){const _0x10cafd=_0x3bbe12;this['onTransformChange$'][_0x10cafd(0x373)](_0x5aad8e=>{const _0x29669c=_0x10cafd;this[_0x29669c(0x3eb)](_0x5aad8e);});}['setPrstGeom'](_0x481ae9){const _0x2dc314=_0x3bbe12;this[_0x2dc314(0x36b)][_0x2dc314(0x493)]=_0x481ae9;}[_0x3bbe12(0x268)](_0x4e701f){const _0x40544b=_0x3bbe12;this[_0x40544b(0x36b)][_0x40544b(0x27c)]=_0x4e701f,this[_0x40544b(0x1b8)](!0x0);}['setFormulaPresentation'](_0x4bed48,_0x5d8025=!0x0){const _0x511570=_0x3bbe12;this[_0x511570(0x3b8)]['setPresentation'](_0x4bed48,_0x5d8025),this['_props'][_0x511570(0x1e9)]=_0x4bed48,this[_0x511570(0x36d)](),this[_0x511570(0x1b8)](!0x0);}[_0x3bbe12(0x36d)](){const _0x507635=_0x3bbe12;let _0x59c319=this[_0x507635(0x36b)][_0x507635(0x2de)],_0x133d32=_0x59c319[_0x507635(0x398)](),_0x3b83c0=(0x0,_0x3c7e1c[_0x507635(0x30c)])(_0x133d32==null?void 0x0:_0x133d32[_0x507635(0x577)]),_0x40e6de=_0x3b83c0==null?void 0x0:_0x3b83c0[_0x507635(0x317)],_0xecae04=this['_formulaAnimation'][_0x507635(0x4cc)]();if(!_0x40e6de||_0xecae04[_0x507635(0x2bb)]===0x0)return;_0x59c319[_0x507635(0x2ee)]({'width':this[_0x507635(0x3a0)],'height':this['height']});let _0x2c7b53=(0x0,_0x3c7e1c['resolveFormulaShapeAutoFitSize'])({'documentData':_0xecae04['map'](_0x7bd7c2=>(0x0,_0x214c33[_0x507635(0x4f2)])(_0x40e6de,_0x7bd7c2)),'height':this[_0x507635(0x330)],'shapeData':_0x59c319[_0x507635(0x334)](),'textRect':_0x59c319[_0x507635(0x312)]({'left':0x0,'top':0x0,'width':this[_0x507635(0x3a0)],'height':this[_0x507635(0x330)]}),'width':this['width']});if(_0x2c7b53){var _0x4b3e23;this[_0x507635(0x375)](_0x2c7b53[_0x507635(0x3a0)],_0x2c7b53['height']),(_0x4b3e23=this[_0x507635(0x480)]())==null||(_0x4b3e23=_0x4b3e23[_0x507635(0x47a)]())==null||_0x4b3e23[_0x507635(0x448)]();}}get[_0x3bbe12(0x53b)](){const _0xa94ecd=_0x3bbe12;return this[_0xa94ecd(0x36b)]['unitId'];}get[_0x3bbe12(0x58c)](){const _0x3c0ead=_0x3bbe12;return this[_0x3c0ead(0x36b)]['subUnitId'];}[_0x3bbe12(0x3eb)](_0x48893c){const _0x54be86=_0x3bbe12;if(this['_props'][_0x54be86(0x377)]==null||!this[_0x54be86(0x347)])return;let {width:_0x2372c6,height:_0x5168e1}=this,{width:_0x4c2b70=0x0,height:_0x5786ba=0x0}=_0x48893c[_0x54be86(0x45b)],{left:_0x1706d8=0x0,top:_0x42fbb1=0x0,right:_0x2bcf04=0x0,bottom:_0x3bdd77=0x0}=this[_0x54be86(0x36b)]['srcRect'],_0x532769=_0x1706d8,_0x308c9a=_0x42fbb1,_0x1be0d3=_0x2bcf04,_0x12e65a=_0x3bdd77,_0x5f48d7=!0x1;if(_0x4c2b70!==0x0&&_0x4c2b70!==_0x2372c6){let _0x4a31b6=_0x1706d8/_0x4c2b70,_0x533cef=_0x2bcf04/_0x4c2b70;_0x532769=_0x2372c6*_0x4a31b6,_0x1be0d3=_0x2372c6*_0x533cef,_0x5f48d7=!0x0;}if(_0x5786ba!==0x0&&_0x5786ba!==_0x5168e1){let _0x2169cf=_0x42fbb1/_0x5786ba,_0x43921a=_0x3bdd77/_0x5786ba;_0x308c9a=_0x5168e1*_0x2169cf,_0x12e65a=_0x5168e1*_0x43921a,_0x5f48d7=!0x0;}_0x5f48d7&&this[_0x54be86(0x4c1)]({'left':_0x532769,'top':_0x308c9a,'right':_0x1be0d3,'bottom':_0x12e65a});}[_0x3bbe12(0x4c1)](_0x193bb8){const _0x3e154c=_0x3bbe12;this['_props'][_0x3e154c(0x377)]=_0x193bb8,this[_0x3e154c(0x1b8)](!0x0);}['setFillImage'](_0x1da0f2){const _0x234f3c=_0x3bbe12;this[_0x234f3c(0x36b)][_0x234f3c(0x26a)]=_0x1da0f2,this[_0x234f3c(0x1b8)](!0x0);}set[_0x3bbe12(0x22c)](_0x1e8a9a){this['_transform']=_0x1e8a9a;}get[_0x3bbe12(0x22c)](){const _0x466908=_0x3bbe12;this[_0x466908(0x233)]||this[_0x466908(0x513)]();let _0x247496=this['_transform'][_0x466908(0x395)]();return this[_0x466908(0x386)](_0x247496);}get['shapeModel'](){const _0x25bff1=_0x3bbe12;return this['_props'][_0x25bff1(0x2de)];}get[_0x3bbe12(0x222)](){const _0x61bf88=_0x3bbe12;return this[_0x61bf88(0x36b)][_0x61bf88(0x222)];}get[_0x3bbe12(0x4c7)](){const _0x478a48=_0x3bbe12;return _0x463287[_0x478a48(0x431)]['SHAPE'];}[_0x3bbe12(0x3d3)](_0x2cb6eb,_0x27be19,_0x3ada8f,_0x598dab){const _0x3a3999=_0x3bbe12;let _0x404c0f=this['_props'][_0x3a3999(0x2de)];if(!_0x404c0f||!_0x27be19)return;let _0x5c7150=_0x3ada8f??this['width'],_0x5a7847=_0x598dab??this[_0x3a3999(0x330)],_0x219aab={'shapeType':_0x404c0f['getShapeType'](),'width':_0x5c7150,'height':_0x5a7847},_0x5baaec={'renderMode':_0x1c9bad[_0x3a3999(0x4dc)][_0x3a3999(0x585)],'oKey':this['oKey'],'image':this[_0x3a3999(0x36b)]['image'],'angle':this[_0x3a3999(0x4b8)]};_0x404c0f[_0x3a3999(0x2ee)](_0x219aab),_0x2cb6eb[_0x3a3999(0x3c7)]();let _0x3c3037={'top':0x0,'left':0x0,'width':_0x5c7150,'height':_0x5a7847},_0x4235b7=_0x404c0f[_0x3a3999(0x350)](_0x3c3037);_0x4235b7?this[_0x3a3999(0x34b)](_0x2cb6eb,_0x4235b7,_0x5aebad=>{_0x404c0f['render'](_0x5aebad,_0x3c3037,_0x5baaec);}):(this[_0x3a3999(0x563)](),_0x404c0f[_0x3a3999(0x56c)](_0x2cb6eb,_0x3c3037,_0x5baaec)),_0x2cb6eb[_0x3a3999(0x3fe)]();let _0x4bea4b=_0x404c0f[_0x3a3999(0x398)](),_0x201d78=_0x404c0f['getShapeTextRect'](_0x3c3037),_0x5513db=_0x404c0f[_0x3a3999(0x1ce)]();if(_0x4bea4b&&_0x201d78&&!_0x5513db){_0x2cb6eb[_0x3a3999(0x3c7)](),this[_0x3a3999(0x320)]()['flipX']&&_0x2cb6eb[_0x3a3999(0x3fa)](-0x1,0x1);let _0x16fac2=_0x5c7150/0x2,_0x35ad65=_0x5a7847/0x2;_0x2cb6eb[_0x3a3999(0x208)](-_0x16fac2,-_0x35ad65),_0x2cb6eb['beginPath'](),this['_drawShapeText'](_0x2cb6eb,_0x4bea4b,_0x201d78),_0x2cb6eb[_0x3a3999(0x3fe)]();}}[_0x3bbe12(0x1b1)](_0x1d1afa){}[_0x3bbe12(0x42c)](_0x1005e3,_0x4c87e1,_0x1f4a58){const _0x5e858c=_0x3bbe12;var _0x40ad11;this[_0x5e858c(0x36b)][_0x5e858c(0x27c)]||(!((_0x40ad11=_0x4c87e1[_0x5e858c(0x577)])!=null&&_0x40ad11[_0x5e858c(0x317)])&&_0x5e858c(0x2c0)in _0x4c87e1&&_0x4c87e1[_0x5e858c(0x2c0)]===!0x1?this[_0x5e858c(0x2c1)](_0x1005e3,_0x4c87e1,_0x1f4a58):this['_drawRichText'](_0x1005e3,_0x4c87e1,_0x1f4a58));}['_drawSimpleText'](_0x3e9180,_0x35a28f,_0x562119){const _0x73aca9=_0x3bbe12;this[_0x73aca9(0x3e7)](_0x3e9180,{..._0x35a28f,'text':_0x35a28f['text']??'','dataModel':{'doc':(0x0,_0x3c7e1c[_0x73aca9(0x468)])(_0x35a28f,_0x73aca9(0x2e8)+this[_0x73aca9(0x449)])}},_0x562119);}[_0x3bbe12(0x3e7)](_0x2d71aa,_0x2a3aa1,_0x5e7bdf){const _0x34fc25=_0x3bbe12;(0x0,_0x3c7e1c[_0x34fc25(0x49d)])(_0x2d71aa,this[_0x34fc25(0x3b8)],(_0x4f8ffc,_0x5c6f7d)=>{const _0x2fc712=_0x34fc25;this[_0x2fc712(0x378)](_0x4f8ffc,_0x2a3aa1,_0x5e7bdf,_0x5c6f7d);});}[_0x3bbe12(0x378)](_0x32ce0d,_0x2bfa1f,_0x3c15b4,_0xffb46a){const _0x4ee06a=_0x3bbe12;let _0x5b678c=this[_0x4ee06a(0x36b)]['localeService'];if(!_0x2bfa1f[_0x4ee06a(0x577)]||!_0x5b678c)return;let _0x44af8b=(0x0,_0x3c7e1c[_0x4ee06a(0x30c)])(_0x2bfa1f[_0x4ee06a(0x577)]);if(!_0x44af8b)return;let _0x1ff3bb=_0x44af8b[_0x4ee06a(0x317)];if(!_0x1ff3bb)return;let _0x3f3f7a=(0x0,_0x214c33['createShapeFormulaDocument'])(_0x1ff3bb,_0xffb46a),_0x293986=_0x44af8b['va']??_0x5b0763[_0x4ee06a(0x3a9)]['TOP'],_0x4d3960=_0x44af8b['ha']??_0x5b0763[_0x4ee06a(0x429)][_0x4ee06a(0x30e)],_0x39ffb9=_0x5f26ff(this['_props'][_0x4ee06a(0x2de)][_0x4ee06a(0x334)](),_0x2bfa1f,_0x3f3f7a),_0x48eb6c=_0x2bfa1f[_0x4ee06a(0x3ea)],_0x4a4d5e=(0x0,_0x3c7e1c[_0x4ee06a(0x4f7)])(_0x3f3f7a,{'isHorizontal':_0x48eb6c!==!0x1,'textRect':_0x3c15b4,'verticalAlign':_0x293986,'horizontalAlign':_0x4d3960,'wrapStrategy':_0x39ffb9[_0x4ee06a(0x1ec)]}),_0x37b25d=new _0x5b0763['DocumentDataModel'](_0x4a4d5e),_0x480ca2=new _0x463287[(_0x4ee06a(0x319))](_0x37b25d),_0x54f8a7=_0x463287[_0x4ee06a(0x1d7)]['create'](_0x480ca2,_0x5b678c);_0x54f8a7[_0x4ee06a(0x1fc)]();let _0x2bf6f6=_0x54f8a7['getActualSize']()[_0x4ee06a(0x269)],_0x3b2c79=(0x0,_0x3c7e1c['resolveShapeTextDocumentRenderLayout'])({'contentHeight':_0x2bf6f6,'verticalAlign':_0x293986,'viewportHeight':_0x3c15b4[_0x4ee06a(0x330)]});_0x37b25d['updateDocumentStyle']({'pageSize':{'width':_0x48eb6c===!0x1?_0x3c15b4[_0x4ee06a(0x330)]:_0x3c15b4[_0x4ee06a(0x3a0)],'height':(0x0,_0x3c7e1c[_0x4ee06a(0x226)])(_0x3f3f7a,_0x3b2c79[_0x4ee06a(0x361)])}}),_0x37b25d[_0x4ee06a(0x219)]({'t':_0x3b2c79['marginTop']}),_0x54f8a7['calculate']();let _0x445249=new _0x463287['Documents'](_0x4ee06a(0x516)+this[_0x4ee06a(0x449)],_0x54f8a7,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x4ee06a(0x1b8)](!0x0)});_0x445249[_0x4ee06a(0x375)](_0x3c15b4[_0x4ee06a(0x3a0)],_0x3b2c79['contentHeight']),_0x32ce0d[_0x4ee06a(0x3c7)](),_0x32ce0d[_0x4ee06a(0x496)](_0x3c15b4[_0x4ee06a(0x44f)],_0x3c15b4['top']),_0x39ffb9['clip']&&(_0x32ce0d[_0x4ee06a(0x32f)](),_0x32ce0d['rect'](0x0,_0x3b2c79[_0x4ee06a(0x298)],_0x3c15b4['width'],_0x3b2c79[_0x4ee06a(0x34e)]),_0x32ce0d[_0x4ee06a(0x237)]()),_0x3b2c79[_0x4ee06a(0x4ed)]&&_0x32ce0d['translateWithPrecision'](0x0,_0x3b2c79[_0x4ee06a(0x4ed)]),_0x445249[_0x4ee06a(0x3ff)](_0x32ce0d),_0x32ce0d['restore'](),_0x445249[_0x4ee06a(0x4a4)](),_0x54f8a7[_0x4ee06a(0x4a4)](),_0x480ca2[_0x4ee06a(0x4a4)](),_0x37b25d[_0x4ee06a(0x4a4)]();}[_0x3bbe12(0x56c)](_0x146db3,_0x47dc4f,_0x28e7a9=!0x1){const _0xf77cf=_0x3bbe12;if(!this[_0xf77cf(0x210)])return this[_0xf77cf(0x1b8)](!0x1),this;let {width:_0x789401,height:_0x4e6f7d,left:_0x121a77,top:_0x27ef3a}=this,_0x395ffb=this[_0xf77cf(0x24b)]();if(_0x789401=_0x395ffb[_0xf77cf(0x3a0)],_0x4e6f7d=_0x395ffb['height'],_0x121a77=_0x395ffb[_0xf77cf(0x44f)],_0x27ef3a=_0x395ffb['top'],this['isRender'](_0x47dc4f)){let {top:_0x32e44d,left:_0x51a63a,bottom:_0x4850ad,right:_0x4de1e4}=_0x47dc4f['viewBound'];if(_0x789401+this[_0xf77cf(0x37f)]+_0x121a77<_0x51a63a||_0x4de1e4<_0x121a77||_0x4e6f7d+this[_0xf77cf(0x37f)]+_0x27ef3a<_0x32e44d||_0x4850ad<_0x27ef3a)return this;}let _0x984aae=_0x121a77+_0x789401/0x2,_0x321798=_0x27ef3a+_0x4e6f7d/0x2,_0x4cee79=this[_0xf77cf(0x22c)][_0xf77cf(0x332)]();if(this['_props'][_0xf77cf(0x27c)]){let _0x3215fb=this['getState'](),_0x42e816=new _0x463287[(_0xf77cf(0x39c))]();_0x42e816[_0xf77cf(0x522)]({..._0x3215fb}),_0x4cee79=_0x42e816[_0xf77cf(0x332)]();}return _0x146db3[_0xf77cf(0x3c7)](),this[_0xf77cf(0x36b)][_0xf77cf(0x2de)]['isRenderLinePointsMode']===!0x0||_0x146db3[_0xf77cf(0x22c)](_0x4cee79[0x0],_0x4cee79[0x1],_0x4cee79[0x2],_0x4cee79[0x3],_0x984aae,_0x321798),this['_draw'](_0x146db3,_0x47dc4f,_0x789401,_0x4e6f7d),_0x146db3[_0xf77cf(0x3fe)](),this[_0xf77cf(0x1b8)](!0x1),this;}[_0x3bbe12(0x452)](_0x5592c9){const _0x30126e=_0x3bbe12;let {left:_0x34fb50,top:_0x2c6996,width:_0xf8e186,height:_0x107141}=this['getRealBound'](),_0x2aebd1=this[_0x30126e(0x22c)][_0x30126e(0x332)](),_0x368d15=_0x34fb50+_0xf8e186/0x2,_0x3ecab0=_0x2c6996+_0x107141/0x2,_0x287abe=new _0x463287[(_0x30126e(0x39c))]([_0x2aebd1[0x0],_0x2aebd1[0x1],_0x2aebd1[0x2],_0x2aebd1[0x3],_0x368d15,_0x3ecab0]),_0x3bed23=this['getParent']();return(this[_0x30126e(0x305)]&&(_0x3bed23==null?void 0x0:_0x3bed23[_0x30126e(0x4c7)])===_0x463287[_0x30126e(0x431)][_0x30126e(0x297)]?_0x3bed23[_0x30126e(0x477)][_0x30126e(0x583)](_0x287abe):_0x287abe)[_0x30126e(0x458)]()['applyPoint'](_0x5592c9);}[_0x3bbe12(0x4bd)](_0x2d6ad0){const _0x4fee1e=_0x3bbe12;let {left:_0x41239b,top:_0x593b58,width:_0x29074a,height:_0x3c866c}=this[_0x4fee1e(0x24b)](),_0x502c0a=_0x41239b+_0x29074a/0x2,_0x33ac79=_0x593b58+_0x3c866c/0x2,_0x1890d5=this[_0x4fee1e(0x22c)][_0x4fee1e(0x332)](),_0x55f848=new _0x463287[(_0x4fee1e(0x39c))]([_0x1890d5[0x0],_0x1890d5[0x1],_0x1890d5[0x2],_0x1890d5[0x3],_0x502c0a,_0x33ac79]),_0x5d54a8=this[_0x4fee1e(0x538)](),_0x18bbf2=(this['isInGroup']&&(_0x5d54a8==null?void 0x0:_0x5d54a8[_0x4fee1e(0x4c7)])===_0x463287[_0x4fee1e(0x431)][_0x4fee1e(0x297)]?_0x5d54a8[_0x4fee1e(0x477)]['multiply'](_0x55f848):_0x55f848)['invert']()[_0x4fee1e(0x490)](_0x2d6ad0),_0x128284=_0x29074a/0x2,_0x313c2b=_0x3c866c/0x2,_0x3ac0fe=this[_0x4fee1e(0x36b)]['shapeModel'];return _0x3ac0fe&&_0x3ac0fe['isLineShape']()?_0x3ac0fe[_0x4fee1e(0x559)](_0x18bbf2['x'],_0x18bbf2['y'],_0x29074a,_0x3c866c):_0x18bbf2['x']>=-_0x128284-this['strokeWidth']/0x2&&_0x18bbf2['x']<=_0x128284+this[_0x4fee1e(0x37f)]/0x2&&_0x18bbf2['y']>=-_0x313c2b-this[_0x4fee1e(0x37f)]/0x2&&_0x18bbf2['y']<=_0x313c2b+this[_0x4fee1e(0x37f)]/0x2;}[_0x3bbe12(0x4a4)](){const _0x50ef67=_0x3bbe12;this['_formulaAnimation'][_0x50ef67(0x4a4)](),this[_0x50ef67(0x36b)]['shapeModel']=null,super[_0x50ef67(0x4a4)]();}},_0x23b942=class extends _0x463287[_0x3bbe12(0x345)]{constructor(_0x2fcee9,_0x11dca4){const _0x57586d=_0x3bbe12;super(_0x2fcee9,_0x11dca4),_0x19095(this,'_shapeId',null),_0x19095(this,_0x57586d(0x1dd),null),_0x19095(this,_0x57586d(0x439),null),_0x19095(this,_0x57586d(0x569),null),_0x11dca4&&this['setShapeProps'](_0x11dca4);}['getDrawingSearch'](){const _0x1b147b=_0x3bbe12;return{'unitId':this[_0x1b147b(0x439)],'subUnitId':this[_0x1b147b(0x569)],'drawingId':this['_shapeId']};}[_0x3bbe12(0x2f2)](_0x5a5d82){const _0x11a3cb=_0x3bbe12;_0x5a5d82[_0x11a3cb(0x222)]!==void 0x0&&(this[_0x11a3cb(0x4d3)]=_0x5a5d82['shapeId']),_0x5a5d82[_0x11a3cb(0x234)]!==void 0x0&&(this[_0x11a3cb(0x1dd)]=_0x5a5d82[_0x11a3cb(0x234)]),_0x5a5d82[_0x11a3cb(0x53b)]!==void 0x0&&(this[_0x11a3cb(0x439)]=_0x5a5d82[_0x11a3cb(0x53b)]),_0x5a5d82[_0x11a3cb(0x58c)]!==void 0x0&&(this[_0x11a3cb(0x569)]=_0x5a5d82[_0x11a3cb(0x58c)]),this[_0x11a3cb(0x23f)]({'width':_0x5a5d82[_0x11a3cb(0x3a0)],'height':_0x5a5d82['height']});}[_0x3bbe12(0x3d3)](_0x22319c){const _0x5589f9=_0x3bbe12;_0x463287['Circle']['drawWith'](_0x22319c,{'radius':_0x1c9bad['ShapeDefaultConfig']['adjHandleSize'],'fill':_0x1c9bad['ShapeDefaultConfig'][_0x5589f9(0x251)],'stroke':_0x1c9bad[_0x5589f9(0x1b9)]['adjHandleStroke'],'strokeWidth':0x1,'evented':!0x0});}};function _0x5ec307(_0x458c5f,_0x3283a7){return function(_0x432f13,_0x4c527d){_0x3283a7(_0x432f13,_0x4c527d,_0x458c5f);};}function _0x476b0f(_0x4c0d54,_0x502a47,_0x1b7220,_0x365abe){const _0x1d2708=_0x3bbe12;var _0x47cef0=arguments[_0x1d2708(0x2bb)],_0x2d8cfa=_0x47cef0<0x3?_0x502a47:_0x365abe===null?_0x365abe=Object[_0x1d2708(0x42f)](_0x502a47,_0x1b7220):_0x365abe,_0x2cc4e6;if(typeof Reflect==_0x1d2708(0x4d1)&&typeof Reflect['decorate']==_0x1d2708(0x50f))_0x2d8cfa=Reflect['decorate'](_0x4c0d54,_0x502a47,_0x1b7220,_0x365abe);else{for(var _0x2667e6=_0x4c0d54['length']-0x1;_0x2667e6>=0x0;_0x2667e6--)(_0x2cc4e6=_0x4c0d54[_0x2667e6])&&(_0x2d8cfa=(_0x47cef0<0x3?_0x2cc4e6(_0x2d8cfa):_0x47cef0>0x3?_0x2cc4e6(_0x502a47,_0x1b7220,_0x2d8cfa):_0x2cc4e6(_0x502a47,_0x1b7220))||_0x2d8cfa);}return _0x47cef0>0x3&&_0x2d8cfa&&Object['defineProperty'](_0x502a47,_0x1b7220,_0x2d8cfa),_0x2d8cfa;}let _0x14a8a5=class extends _0x5b0763['Disposable']{constructor(_0x4432dd,_0x4ee965,_0x110e2f,_0x75b0a7,_0x5bf7b6,_0xaa0b88){const _0x10f0df=_0x3bbe12;super(),this[_0x10f0df(0x4fb)]=_0x4432dd,this[_0x10f0df(0x3e3)]=_0x4ee965,this[_0x10f0df(0x1bc)]=_0x110e2f,this['_imageIoService']=_0x75b0a7,this['_urlImageService']=_0x5bf7b6,this[_0x10f0df(0x1b3)]=_0xaa0b88,_0x19095(this,_0x10f0df(0x1ae),new Map()),this[_0x10f0df(0x368)](this['_shapeFormulaService'][_0x10f0df(0x3f5)]['subscribe'](_0x1cedda=>{const _0x5770a3=_0x10f0df;var _0xb4093d;(_0xb4093d=this[_0x5770a3(0x1ae)][_0x5770a3(0x3f3)](this['_formulaKey'](_0x1cedda[_0x5770a3(0x53b)],_0x1cedda[_0x5770a3(0x58c)],_0x1cedda[_0x5770a3(0x222)])))==null||_0xb4093d[_0x5770a3(0x1e7)](_0x513dae=>_0x513dae['setFormulaPresentation'](_0x1cedda[_0x5770a3(0x476)],_0x1cedda[_0x5770a3(0x33d)]));})),this[_0x10f0df(0x368)](this[_0x10f0df(0x4fb)][_0x10f0df(0x50c)][_0x10f0df(0x4f5)](_0x2a512f=>{const _0x69b30b=_0x10f0df;_0x2a512f[_0x69b30b(0x1e7)](_0x43dca8=>{const _0x1adbd8=_0x69b30b;this['_shapeFormulaService']['unregister']({'unitId':_0x43dca8[_0x1adbd8(0x53b)],'subUnitId':_0x43dca8[_0x1adbd8(0x58c)],'shapeId':_0x43dca8['drawingId']}),this['_formulaShapes'][_0x1adbd8(0x31d)](this[_0x1adbd8(0x4e7)](_0x43dca8[_0x1adbd8(0x53b)],_0x43dca8[_0x1adbd8(0x58c)],_0x43dca8[_0x1adbd8(0x1af)]));});}));}['renderDrawingShape'](_0x39cbbc,_0x1216de,_0x593219){const _0x1169ec=_0x3bbe12;let {transform:_0x21e795,drawingType:_0x5ae1a4,srcRect:_0x423433,prstGeom:_0x8644a7,groupId:_0x40368,unitId:_0x1d395b,subUnitId:_0x54c6cf,drawingId:_0x418f2f,isMultiTransform:_0x3357c8,transforms:_0x2e498e,hidden:_0x1a1f8e,selectable:_0x547af0}=_0x39cbbc;if(_0x5ae1a4!==_0x5b0763[_0x1169ec(0x2f8)][_0x1169ec(0x462)]||!this[_0x1169ec(0x4fb)][_0x1169ec(0x547)]()||_0x21e795==null)return;let _0x4d7a31=this['_drawingManagerService'][_0x1169ec(0x371)](),_0x24e28d=_0x3357c8&&_0x2e498e?_0x2e498e:[_0x21e795],_0x233eb1=[];for(let _0x1a37bb of _0x24e28d){let {left:_0x55b659,top:_0x3cb36d,width:_0x1ab5ac,height:_0x2f2f60,angle:_0x1273a9,flipX:_0x51e27d,flipY:_0x556de2,skewX:_0x3e2aa2,skewY:_0x4abb6c}=_0x1a37bb,_0x2bbcb7=_0x24e28d[_0x1169ec(0x32a)](_0x1a37bb),_0x3c0988=(0x0,_0x37800f[_0x1169ec(0x574)])({'unitId':_0x1d395b,'subUnitId':_0x54c6cf,'drawingId':_0x418f2f},_0x3357c8?_0x2bbcb7:void 0x0),_0x454945=_0x1216de[_0x1169ec(0x53d)](_0x3c0988);if(_0x454945!=null){let _0x4218f4={'unitId':_0x1d395b,'subUnitId':_0x54c6cf,'shapeId':_0x418f2f};_0x454945 instanceof _0x30f195&&this[_0x1169ec(0x271)](_0x454945,_0x4218f4),_0x454945[_0x1169ec(0x23f)]({'left':_0x55b659,'top':_0x3cb36d,'width':_0x1ab5ac,'height':_0x2f2f60,'angle':_0x1273a9,'flipX':_0x51e27d,'flipY':_0x556de2,'skewX':_0x3e2aa2,'skewY':_0x4abb6c});continue;}let _0x4ca9eb=this['_drawingManagerService'][_0x1169ec(0x33c)](_0x1d395b,_0x54c6cf),_0x155856=_0x4ca9eb[_0x1169ec(0x32a)](_0x418f2f);if(_0x1216de[_0x1169ec(0x53d)](_0x3c0988)||!this[_0x1169ec(0x4fb)][_0x1169ec(0x547)]())continue;let _0x5473fd=this['_sheetsShapeService']['getShapeModel'](_0x1d395b,_0x54c6cf,_0x418f2f);if(!_0x5473fd)continue;let _0x45f17b=(0x0,_0x1c9bad[_0x1169ec(0x48b)])(_0x5473fd['getShapeType']())?{..._0x3c7e1c[_0x1169ec(0x4b7)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x3c7e1c[_0x1169ec(0x4b7)],_0xc2396=_0x5473fd[_0x1169ec(0x334)]()[_0x1169ec(0x3c5)],_0x4f5b4e={'unitId':_0x1d395b,'subUnitId':_0x54c6cf,'shapeId':_0x418f2f};_0xc2396&&this[_0x1169ec(0x1b3)][_0x1169ec(0x2b4)](_0x4f5b4e,_0xc2396);let _0x494c6e=new _0x30f195(_0x3c0988,{..._0x1a37bb,'zIndex':_0x155856===-0x1?_0x4ca9eb[_0x1169ec(0x2bb)]-0x1:_0x155856,'shapeModel':_0x5473fd,'localeService':this['_localeService'],'shapeId':_0x418f2f,'unitId':_0x1d395b,'subUnitId':_0x54c6cf,'visible':_0x1a1f8e!==!0x0,'evented':_0x547af0!==!0x1,'formulaPresentation':_0xc2396?this[_0x1169ec(0x1b3)][_0x1169ec(0x47d)](_0x4f5b4e):void 0x0,'animateFormulaPresentation':(_0xc2396==null?void 0x0:_0xc2396['animationEnabled'])!==!0x1,'transformerConfig':_0x45f17b});if(_0xc2396){let _0x1c3951=this[_0x1169ec(0x4e7)](_0x1d395b,_0x54c6cf,_0x418f2f),_0x45e074=this[_0x1169ec(0x1ae)]['get'](_0x1c3951)??new Set();_0x45e074['add'](_0x494c6e),this['_formulaShapes']['set'](_0x1c3951,_0x45e074);}_0x1216de[_0x1169ec(0x4a1)](_0x494c6e,_0x463287[_0x1169ec(0x526)]),_0x4d7a31&&_0x1216de[_0x1169ec(0x2e2)](_0x494c6e),_0x40368&&(0x0,_0x3ec2cc[_0x1169ec(0x54b)])({'drawingId':_0x40368,'unitId':_0x1d395b,'subUnitId':_0x54c6cf},_0x494c6e,_0x1216de,this[_0x1169ec(0x4fb)]),_0x8644a7!=null&&_0x494c6e[_0x1169ec(0x4c4)](_0x8644a7),_0x423433!=null&&_0x494c6e[_0x1169ec(0x4c1)](_0x423433);let _0x37c459=this[_0x1169ec(0x524)](_0x494c6e,_0x5473fd[_0x1169ec(0x334)]());if(_0x37c459){var _0x16fc1b;_0x593219==null||(_0x16fc1b=_0x593219['resourceCollector'])==null||_0x16fc1b[_0x1169ec(0x495)](_0x37c459);}_0x233eb1[_0x1169ec(0x36e)](_0x494c6e);}return _0x233eb1;}[_0x3bbe12(0x4e7)](_0x231efe,_0x5ca5f5,_0x39003f){return _0x231efe+'\x00'+_0x5ca5f5+'\x00'+_0x39003f;}[_0x3bbe12(0x271)](_0x46d3c0,_0x692445){const _0x2258de=_0x3bbe12;let _0x16dfe3=this[_0x2258de(0x3e3)][_0x2258de(0x338)](_0x692445[_0x2258de(0x53b)],_0x692445[_0x2258de(0x58c)],_0x692445[_0x2258de(0x222)]),_0x568479=_0x16dfe3==null?void 0x0:_0x16dfe3[_0x2258de(0x334)]()[_0x2258de(0x3c5)],_0xc62884=this[_0x2258de(0x4e7)](_0x692445[_0x2258de(0x53b)],_0x692445['subUnitId'],_0x692445['shapeId']);if(_0x568479){this['_shapeFormulaService'][_0x2258de(0x2b4)](_0x692445,_0x568479);let _0x4cf539=this[_0x2258de(0x1ae)][_0x2258de(0x3f3)](_0xc62884)??new Set();_0x4cf539['add'](_0x46d3c0),this['_formulaShapes'][_0x2258de(0x336)](_0xc62884,_0x4cf539);}else{var _0x342f1b;this[_0x2258de(0x1b3)][_0x2258de(0x27b)](_0x692445),(_0x342f1b=this[_0x2258de(0x1ae)]['get'](_0xc62884))==null||_0x342f1b[_0x2258de(0x31d)](_0x46d3c0);}_0x46d3c0[_0x2258de(0x2b0)](_0x568479?this[_0x2258de(0x1b3)]['getPresentation'](_0x692445):void 0x0,(_0x568479==null?void 0x0:_0x568479[_0x2258de(0x33d)])!==!0x1);}[_0x3bbe12(0x505)](_0x487543){const _0x38cda5=_0x3bbe12;let _0x3097fa=_0x487543['shapeModel'][_0x38cda5(0x334)](),_0x547704=_0x3097fa[_0x38cda5(0x23b)];if(!_0x547704||_0x547704[_0x38cda5(0x32d)]!==_0x1c9bad[_0x38cda5(0x49e)]['PictureFill']||!_0x547704[_0x38cda5(0x59d)]){_0x487543[_0x38cda5(0x3fb)](void 0x0);return;}this['_loadShapePictureFill'](_0x487543,_0x3097fa);}[_0x3bbe12(0x524)](_0x336434,_0xf18a42){const _0x51f822=_0x3bbe12;let _0x4adcae=_0xf18a42[_0x51f822(0x23b)];if(!_0x4adcae||_0x4adcae[_0x51f822(0x32d)]!==_0x1c9bad[_0x51f822(0x49e)][_0x51f822(0x4b2)]||!_0x4adcae['fillImageSource'])return;let _0x2513b8=_0x4adcae[_0x51f822(0x59d)],_0xe9042e=_0x4adcae[_0x51f822(0x4ef)]??_0x1c9bad[_0x51f822(0x1da)][_0x51f822(0x259)],_0x3f8eab=this[_0x51f822(0x4f6)][_0x51f822(0x1d4)](_0x2513b8,_0xe9042e);if(_0x3f8eab){_0x336434[_0x51f822(0x3fb)](_0x3f8eab);return;}return this[_0x51f822(0x2d1)](_0x336434,_0x2513b8,_0xe9042e);}async[_0x3bbe12(0x2d1)](_0x37913f,_0x877201,_0x28662f){const _0x358143=_0x3bbe12;let _0x6f1a88;try{if(_0x28662f===_0x1c9bad[_0x358143(0x1da)][_0x358143(0x4ec)])_0x6f1a88=await this[_0x358143(0x4f6)][_0x358143(0x520)](_0x877201);else{if(_0x28662f===_0x1c9bad['ImageSourceTypeEnum'][_0x358143(0x259)])try{_0x6f1a88=await this['_urlImageService'][_0x358143(0x520)](_0x877201);}catch{_0x6f1a88=_0x877201;}else _0x6f1a88=_0x877201;}}catch(_0xf1b57b){console[_0x358143(0x3dc)](_0x358143(0x500),_0xf1b57b);return;}await new Promise(_0x13c5ca=>{const _0x3e28a6=_0x358143;let _0x1c1eb5=new window[(_0x3e28a6(0x47f))]();_0x1c1eb5[_0x3e28a6(0x415)]=()=>{const _0x56f640=_0x3e28a6;this[_0x56f640(0x4f6)][_0x56f640(0x3fd)](_0x877201,_0x28662f,_0x1c1eb5),_0x37913f[_0x56f640(0x3fb)](_0x1c1eb5),_0x13c5ca();},_0x1c1eb5[_0x3e28a6(0x535)]=()=>{const _0x1434f0=_0x3e28a6;console[_0x1434f0(0x3dc)](_0x1434f0(0x260),_0x877201),_0x13c5ca();},_0x1c1eb5[_0x3e28a6(0x203)]=_0x6f1a88;});}};_0x14a8a5=_0x476b0f([_0x5ec307(0x0,_0x37800f['IDrawingManagerService']),_0x5ec307(0x1,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x501fe5[_0x3bbe12(0x235)])),_0x5ec307(0x2,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x5b0763[_0x3bbe12(0x503)])),_0x5ec307(0x3,_0x5b0763[_0x3bbe12(0x4a7)]),_0x5ec307(0x4,_0x5b0763[_0x3bbe12(0x221)]),_0x5ec307(0x5,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x214c33[_0x3bbe12(0x46b)]))],_0x14a8a5);let _0x5bb4e7=class extends _0x5b0763[_0x3bbe12(0x1de)]{constructor(_0x34738c,_0x3e8e5e,_0x4b80b7,_0x1422f1,_0x22e7b9,_0x42715d){const _0x30d414=_0x3bbe12;super(),this[_0x30d414(0x4fb)]=_0x34738c,this[_0x30d414(0x3e3)]=_0x3e8e5e,this[_0x30d414(0x3e6)]=_0x4b80b7,this[_0x30d414(0x2be)]=_0x1422f1,this['_univerInstanceService']=_0x22e7b9,this[_0x30d414(0x555)]=_0x42715d,_0x19095(this,_0x30d414(0x2d9),null),_0x19095(this,_0x30d414(0x439),null),_0x19095(this,_0x30d414(0x569),null),_0x19095(this,_0x30d414(0x4ab),void 0x0),_0x19095(this,_0x30d414(0x484),[]),_0x19095(this,'_baseShapeLeft',0x0),_0x19095(this,_0x30d414(0x3ab),0x0),_0x19095(this,_0x30d414(0x258),0x0),_0x19095(this,_0x30d414(0x1c6),0x0),_0x19095(this,_0x30d414(0x55a),!0x1),_0x19095(this,_0x30d414(0x4d8),void 0x0),_0x19095(this,_0x30d414(0x418),void 0x0),_0x19095(this,_0x30d414(0x423),void 0x0),_0x19095(this,'_adjHandlerPointerUp',void 0x0),_0x19095(this,_0x30d414(0x2b2),!0x1),this[_0x30d414(0x3c9)](),this[_0x30d414(0x360)]();}['_getShapeAdjustPointListById'](_0x277831,_0x54c1b1,_0xcc349d){const _0x506612=_0x3bbe12;let _0x12d5b4=this[_0x506612(0x3e3)]['getShapeModel'](_0x277831,_0x54c1b1,_0xcc349d);if(_0x12d5b4)return _0x12d5b4[_0x506612(0x1b1)]();}[_0x3bbe12(0x3ee)](){const _0x1cde0e=_0x3bbe12;this[_0x1cde0e(0x20b)]();}['refreshAdjustControls'](){const _0x95c2c4=_0x3bbe12;this[_0x95c2c4(0x55f)](!0x0);}[_0x3bbe12(0x3f7)](_0x4d975c){const _0x371ca2=_0x3bbe12;this[_0x371ca2(0x2b2)]=_0x4d975c;}[_0x3bbe12(0x596)](_0x546f20,_0x4eb76d,_0x3e0e91,_0x24bd32){const _0x3cda76=_0x3bbe12;let _0x446cc0=this[_0x3cda76(0x3e3)][_0x3cda76(0x338)](_0x546f20,_0x4eb76d,_0x3e0e91);if(_0x446cc0)return _0x446cc0[_0x3cda76(0x4bb)](_0x24bd32);}[_0x3bbe12(0x399)](_0x1b59e4=!0x1){const _0x55f0e4=_0x3bbe12;if(this['_unitId']===null||this[_0x55f0e4(0x569)]===null||this[_0x55f0e4(0x2d9)]===null)return;let _0x284e65=this[_0x55f0e4(0x3e6)]['getRenderUnitById'](this[_0x55f0e4(0x439)]);if(!_0x284e65||!_0x284e65[_0x55f0e4(0x512)](_0x54c89f['SheetSkeletonManagerService'])[_0x55f0e4(0x1f3)]())return;let {scene:_0x3839eb}=_0x284e65,_0x4a11dc={'unitId':this[_0x55f0e4(0x439)],'subUnitId':this[_0x55f0e4(0x569)],'drawingId':this[_0x55f0e4(0x2d9)]},_0x1fe794=this[_0x55f0e4(0x4fb)]['getDrawingByParam'](_0x4a11dc),{transform:_0x799127}=_0x1fe794;if(!_0x799127||_0x1fe794[_0x55f0e4(0x1d3)]!==_0x5b0763[_0x55f0e4(0x2f8)][_0x55f0e4(0x462)])return;let {left:_0x44f806,top:_0x5d6e25,width:_0x4ae6e9,height:_0x31dffc,flipX:_0x382d80,flipY:_0x5de86f,angle:_0x5565c3=0x0}=_0x799127;if(_0x44f806===void 0x0||_0x5d6e25===void 0x0)return;if(_0x1b59e4){let _0x41577c=this['_sheetsShapeService'][_0x55f0e4(0x338)](this[_0x55f0e4(0x439)],this[_0x55f0e4(0x569)],this[_0x55f0e4(0x2d9)]);_0x41577c==null||_0x41577c[_0x55f0e4(0x2ee)]({'width':_0x4ae6e9??0x0,'height':_0x31dffc??0x0}),this[_0x55f0e4(0x4ab)]=_0x41577c==null?void 0x0:_0x41577c['getDrawingPoints']();}let _0x887a28=this[_0x55f0e4(0x4ab)];for(let _0x5a3e73=0x0;_0x5a3e73<_0x887a28['length'];_0x5a3e73++){let _0x1efd29=_0x887a28[_0x5a3e73],_0x3d4c22=_0x1efd29['x'],_0x15a8ee=_0x1efd29['y'];if(_0x382d80&&(_0x3d4c22=(_0x4ae6e9||0x0)-_0x3d4c22),_0x5de86f&&(_0x15a8ee=(_0x31dffc||0x0)-_0x15a8ee),_0x5565c3!==0x0){let _0x341afa=(_0x4ae6e9||0x0)/0x2,_0x5ea896=(_0x31dffc||0x0)/0x2,_0x577b66=_0x5565c3*Math['PI']/0xb4,_0x3519ed=Math[_0x55f0e4(0x459)](_0x577b66),_0x2b755e=Math[_0x55f0e4(0x343)](_0x577b66),_0x3ca7f6=_0x3d4c22-_0x341afa,_0x313abe=_0x15a8ee-_0x5ea896;_0x3d4c22=_0x341afa+(_0x3ca7f6*_0x3519ed-_0x313abe*_0x2b755e),_0x15a8ee=_0x5ea896+(_0x3ca7f6*_0x2b755e+_0x313abe*_0x3519ed);}let _0x48ba32={'x':_0x3d4c22,'y':_0x15a8ee,'adjName':_0x1efd29[_0x55f0e4(0x234)]};this[_0x55f0e4(0x3f2)](_0x3839eb,_0x48ba32,_0x48ba32[_0x55f0e4(0x234)],_0x44f806,_0x5d6e25,this[_0x55f0e4(0x439)],this[_0x55f0e4(0x569)]);}}['_updateShapeAdjustControls'](_0x50e667=!0x1){_0x50e667&&(this['_clearShapeAdjustControls'](),this['_createShapeAdjustControls'](_0x50e667));}[_0x3bbe12(0x3f2)](_0x3e8b5c,_0x422d65,_0x224845,_0x17f529,_0x1cdb41,_0x19bd02,_0x246f8b){const _0x133120=_0x3bbe12;if(!this[_0x133120(0x2d9)])return;let _0x29fbcc=_0x3e8b5c[_0x133120(0x53d)](_0x133120(0x406)+this['_activeShapeId']+'-'+_0x224845);if(_0x29fbcc){_0x29fbcc[_0x133120(0x23f)]({'left':_0x422d65['x']+_0x17f529-_0x1c9bad[_0x133120(0x1b9)][_0x133120(0x381)],'top':_0x422d65['y']+_0x1cdb41-_0x1c9bad[_0x133120(0x1b9)][_0x133120(0x381)]});return;}let _0x407b5c={'left':_0x422d65['x']+_0x17f529-_0x1c9bad[_0x133120(0x1b9)]['adjHandleSize'],'top':_0x422d65['y']+_0x1cdb41-_0x1c9bad[_0x133120(0x1b9)][_0x133120(0x381)],'adjName':_0x224845,'shapeId':this['_activeShapeId'],'unitId':_0x19bd02,'subUnitId':_0x246f8b,'width':_0x1c9bad[_0x133120(0x1b9)][_0x133120(0x381)]+0x8,'height':_0x1c9bad['ShapeDefaultConfig'][_0x133120(0x381)]+0x8,'zIndex':_0x463287[_0x133120(0x526)]+0x1,'evented':!0x0},_0xc4b103=new _0x23b942(_0x133120(0x406)+this[_0x133120(0x2d9)]+'-'+_0x224845,_0x407b5c);this['_shapes'][_0x133120(0x36e)](_0xc4b103),this['_attachAdjustEvent'](_0xc4b103,_0x3e8b5c,_0x224845),_0x3e8b5c[_0x133120(0x4a1)](_0xc4b103,_0x463287[_0x133120(0x526)]+0x1);}[_0x3bbe12(0x20b)](){const _0xea3366=_0x3bbe12;this[_0xea3366(0x484)][_0xea3366(0x2bb)]!==0x0&&(this[_0xea3366(0x484)][_0xea3366(0x1e7)](_0x67aa07=>{const _0x51067e=_0xea3366;_0x67aa07[_0x51067e(0x4a4)]();}),this[_0xea3366(0x484)]=[]);}[_0x3bbe12(0x337)](){this['_createShapeAdjustControls']();}[_0x3bbe12(0x1ff)](_0x23efa1,_0x2d7d02){const _0x22d5e3=_0x3bbe12;var _0x303499;let _0x15ee64={'x':0x0,'y':0x0};if(!_0x23efa1||!_0x2d7d02)return _0x15ee64;let _0x5323b5=this[_0x22d5e3(0x3e6)][_0x22d5e3(0x3de)](_0x23efa1);if(!_0x5323b5||!_0x5323b5[_0x22d5e3(0x512)](_0x54c89f[_0x22d5e3(0x542)])['getSkeleton'](_0x2d7d02))return _0x15ee64;let _0x435c05=_0x5323b5[_0x22d5e3(0x512)](_0x54c89f[_0x22d5e3(0x253)]),_0x28b794=_0x435c05==null?void 0x0:_0x435c05['getCurrentScrollState']();if(!_0x28b794)return _0x15ee64;let _0x2ed8f3=(_0x303499=this[_0x22d5e3(0x2cc)]['getUnit'](_0x23efa1))==null?void 0x0:_0x303499[_0x22d5e3(0x48d)](_0x2d7d02);if(!_0x2ed8f3)return _0x15ee64;let _0x50c994=(0x0,_0x54c89f['getViewportByCell'])(_0x28b794[_0x22d5e3(0x1ea)],_0x28b794[_0x22d5e3(0x3ba)],_0x5323b5[_0x22d5e3(0x29e)],_0x2ed8f3);return _0x50c994?{'x':_0x50c994['viewportScrollX'],'y':_0x50c994['viewportScrollY']}:_0x15ee64;}[_0x3bbe12(0x4c5)](_0x4136ec,_0x5243e7){const _0x32deeb=_0x3bbe12;var _0x4f32fd;let _0xc50e46=(_0x4f32fd=this[_0x32deeb(0x2cc)][_0x32deeb(0x284)](_0x4136ec))==null?void 0x0:_0x4f32fd[_0x32deeb(0x48d)](_0x5243e7);return(_0xc50e46==null?void 0x0:_0xc50e46[_0x32deeb(0x43d)]())??0x1;}['_attachAdjustEvent'](_0x387307,_0x104882,_0x4dbeca){const _0xc85f71=_0x3bbe12;this['disposeWithMe']((0x0,_0x5b0763[_0xc85f71(0x404)])(_0x387307[_0xc85f71(0x2f1)][_0xc85f71(0x373)]((_0x9ecc20,_0x1ad263)=>{const _0x531133=_0xc85f71;var _0x281404,_0x2a43ff,_0x1996aa,_0x2e9232;let _0x497a66=_0x387307[_0x531133(0x333)]();this[_0x531133(0x4d8)]=this['_getShapeAdjustInfosById'](_0x497a66[_0x531133(0x53b)],_0x497a66[_0x531133(0x58c)],_0x497a66[_0x531133(0x1af)],_0x4dbeca),this[_0x531133(0x418)]=this[_0x531133(0x3e3)][_0x531133(0x338)](_0x497a66['unitId'],_0x497a66[_0x531133(0x58c)],_0x497a66[_0x531133(0x1af)]);let _0xc62219=this[_0x531133(0x4fb)]['getDrawingByParam']({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this[_0x531133(0x2d9)]}),{transform:_0x150386}=_0xc62219;if(_0x150386){let {left:_0x305bfc,top:_0x13dea6,width:_0x5642af,height:_0x1d3e76}=_0x150386;this[_0x531133(0x568)]=_0x305bfc||0x0,this[_0x531133(0x3ab)]=_0x13dea6||0x0,this['_baseShapeWidth']=_0x5642af||0x0,this[_0x531133(0x1c6)]=_0x1d3e76||0x0;}let _0x39affe=!!((_0x281404=_0xc62219[_0x531133(0x22c)])!=null&&_0x281404['flipX']),_0x3c6848=!!((_0x2a43ff=_0xc62219[_0x531133(0x22c)])!=null&&_0x2a43ff[_0x531133(0x4ad)]),_0x5c4406=((_0x1996aa=_0xc62219['transform'])==null?void 0x0:_0x1996aa[_0x531133(0x4b8)])||0x0;this[_0x531133(0x55a)]=!0x0,_0x104882[_0x531133(0x4ee)]();let _0x1c99a4={...((_0x2e9232=this[_0x531133(0x4d8)])==null?void 0x0:_0x2e9232['currentAdjustValues'])??{}};this[_0x531133(0x423)]=_0x104882['onPointerMove$'][_0x531133(0x373)]((_0x2bfaf6,_0x461406)=>{const _0x53914f=_0x531133;if(!this[_0x53914f(0x55a)])return;let {offsetX:_0x3bc087,offsetY:_0x2b6caa}=_0x2bfaf6,_0x52c80d=this['_activeAdjustInfo'];if(this[_0x53914f(0x418)]&&_0x52c80d){_0x104882[_0x53914f(0x4ee)](),_0x104882['setCursor'](_0x463287['CURSOR_TYPE'][_0x53914f(0x3c0)]);let _0xd42e55={'left':0x0,'top':0x0,'width':this[_0x53914f(0x258)],'height':this[_0x53914f(0x1c6)]},_0x41938c=this['_getScrollInfo'](this[_0x53914f(0x439)],this[_0x53914f(0x569)]),_0x56a722=this[_0x53914f(0x4c5)](this['_unitId'],this[_0x53914f(0x569)]),_0x5ccc28=_0x3bc087/_0x56a722+_0x41938c['x']-this['_baseShapeLeft'],_0x52c488=_0x2b6caa/_0x56a722+_0x41938c['y']-this[_0x53914f(0x3ab)];if(_0x5c4406!==0x0){let _0x1fb8b2=this[_0x53914f(0x258)]/0x2,_0x5d669a=this['_baseShapeHeight']/0x2,_0xc18292=_0x5c4406*Math['PI']/0xb4,_0x501435=Math[_0x53914f(0x459)](_0xc18292),_0x2463e4=Math['sin'](_0xc18292),_0x135bb3=_0x5ccc28-_0x1fb8b2,_0x3337b2=_0x52c488-_0x5d669a;_0x5ccc28=_0x1fb8b2+(_0x135bb3*_0x501435+_0x3337b2*_0x2463e4),_0x52c488=_0x5d669a+(-_0x135bb3*_0x2463e4+_0x3337b2*_0x501435);}_0x39affe&&(_0x5ccc28=this['_baseShapeWidth']-_0x5ccc28),_0x3c6848&&(_0x52c488=this[_0x53914f(0x1c6)]-_0x52c488);let _0x3d1951={'x':_0x5ccc28,'y':_0x52c488},_0x198ced=this[_0x53914f(0x418)][_0x53914f(0x405)](_0xd42e55,_0x3d1951,_0x52c80d,_0x39affe,_0x3c6848);if(Object[_0x53914f(0x3ae)](_0x198ced)[_0x53914f(0x2bb)]===0x0)return;for(let [_0x359b92,_0x17ddbe]of Object[_0x53914f(0x359)](_0x198ced))this[_0x53914f(0x418)][_0x53914f(0x4ae)](_0x359b92,_0x17ddbe);this[_0x53914f(0x418)][_0x53914f(0x2ee)]({'width':this[_0x53914f(0x258)],'height':this[_0x53914f(0x1c6)]});let _0x5948bf=this[_0x53914f(0x4fb)]['getDrawingByParam']({'unitId':_0x497a66[_0x53914f(0x53b)],'subUnitId':_0x497a66[_0x53914f(0x58c)],'drawingId':_0x497a66['drawingId']});_0x5948bf&&(this[_0x53914f(0x2be)][_0x53914f(0x214)](_0x5948bf,_0x104882),this['_activeShapeAdjustPointList']=this['_getShapeAdjustPointListById'](_0x497a66['unitId'],_0x497a66[_0x53914f(0x58c)],_0x497a66['drawingId']),this[_0x53914f(0x337)]());}_0x461406[_0x53914f(0x50b)]();}),this[_0x531133(0x3bd)]=_0x104882['onPointerUp$'][_0x531133(0x373)]((_0x359797,_0x344fb7)=>{const _0x54c9d9=_0x531133;this[_0x54c9d9(0x423)]['unsubscribe'](),this[_0x54c9d9(0x3bd)][_0x54c9d9(0x465)](),_0x104882['resetCursor']();let _0x3477a9=this[_0x54c9d9(0x4d8)];if(_0x3477a9){let _0x153049=_0x497a66[_0x54c9d9(0x53b)],_0x55d3d5=_0x497a66[_0x54c9d9(0x58c)],_0x184e28=_0x497a66[_0x54c9d9(0x1af)],_0xfd648d={};for(let _0x110fab of Object['keys'](_0x3477a9['currentAdjustValues'])){var _0xfb442c;let _0x2fd707=(_0xfb442c=this[_0x54c9d9(0x418)])==null?void 0x0:_0xfb442c['getAdjustValueByName'](_0x110fab);_0x2fd707!==void 0x0&&(_0xfd648d[_0x110fab]=_0x2fd707);}Object['keys'](_0xfd648d)['length']>0x0&&_0x5b8a5d(this[_0x54c9d9(0x555)],_0x153049,_0x55d3d5,_0x184e28,{'oldShapeData':{'adjustValues':_0x1c99a4}},{'adjustValues':_0xfd648d});}this[_0x54c9d9(0x4d8)]=void 0x0,this[_0x54c9d9(0x418)]=void 0x0,this[_0x54c9d9(0x55a)]=!0x1,_0x344fb7[_0x54c9d9(0x50b)](),_0x104882[_0x54c9d9(0x287)]();}),_0x1ad263[_0x531133(0x50b)]();})));}[_0x3bbe12(0x360)](){const _0x5260ed=_0x3bbe12;let _0x45554f=this[_0x5260ed(0x2cc)][_0x5260ed(0x529)](_0x5b0763[_0x5260ed(0x48f)][_0x5260ed(0x2ed)]);this[_0x5260ed(0x368)](_0x45554f[_0x5260ed(0x525)]((0x0,_0x3d6362[_0x5260ed(0x515)])(_0x33c6c8=>_0x33c6c8?_0x33c6c8['activeSheet$'][_0x5260ed(0x525)]((0x0,_0x3d6362[_0x5260ed(0x515)])(_0x27e824=>{const _0x5a3696=_0x5260ed;if(!_0x27e824)return _0x3d6362[_0x5a3696(0x39e)];let _0x3c7a60=_0x33c6c8[_0x5a3696(0x292)](),_0x405f10=this[_0x5a3696(0x3e6)]['getRenderUnitById'](_0x3c7a60),_0x5e122e=_0x405f10==null?void 0x0:_0x405f10[_0x5a3696(0x29e)];return _0x5e122e?(0x0,_0x3d6362['of'])(_0x5e122e):_0x3d6362[_0x5a3696(0x39e)];})):_0x3d6362[_0x5260ed(0x39e)]))['subscribe'](_0x491614=>{const _0x21f255=_0x5260ed;let _0x365da1=_0x491614[_0x21f255(0x2ad)]();this['disposeWithMe'](_0x491614[_0x21f255(0x502)][_0x21f255(0x373)](()=>{const _0x5c5069=_0x21f255;this[_0x5c5069(0x2b2)];})),this[_0x21f255(0x368)](_0x365da1[_0x21f255(0x3df)][_0x21f255(0x4f5)](_0x582561=>{const _0x541399=_0x21f255;let {objects:_0x653d91}=_0x582561;this[_0x541399(0x399)](),_0x653d91!==null&&_0x653d91[_0x541399(0x1c5)]===0x1&&_0x653d91['values']()['next']()[_0x541399(0x43f)]instanceof _0x30f195&&this[_0x541399(0x3f7)](!0x0);})),this[_0x21f255(0x368)](_0x365da1[_0x21f255(0x267)][_0x21f255(0x4f5)](()=>{const _0x4cd85e=_0x21f255;this[_0x4cd85e(0x2b2)]&&this['_clearShapeAdjustControls']();})),this[_0x21f255(0x368)](_0x491614[_0x21f255(0x52f)]['subscribeEvent'](()=>{const _0x49d006=_0x21f255;this['_isShouldShowDrawingShapeAdjust']&&(this['setShouldShowAdjust'](!0x1),this[_0x49d006(0x399)]());})),this[_0x21f255(0x368)](_0x365da1[_0x21f255(0x236)][_0x21f255(0x4f5)](()=>{const _0x5035c1=_0x21f255;this[_0x5035c1(0x439)]&&this['_subUnitId']&&this[_0x5035c1(0x2d9)]&&this[_0x5035c1(0x4fb)][_0x5035c1(0x1d0)]({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this['_activeShapeId']})&&(this[_0x5035c1(0x4ab)]=this[_0x5035c1(0x245)](this[_0x5035c1(0x439)],this[_0x5035c1(0x569)],this['_activeShapeId']),this['_updateAdjustControlPositions']());}));}));}[_0x3bbe12(0x3c9)](){const _0x4596c8=_0x3bbe12;this[_0x4596c8(0x368)](this['_commandService'][_0x4596c8(0x1f0)](_0x429f3=>{const _0x51ed0f=_0x4596c8;if(_0x429f3['id']!==_0x501fe5[_0x51ed0f(0x533)]['id'])return;let {unitId:_0x257f78,subUnitId:_0x5c04da,shapeId:_0x1973f8}=_0x429f3[_0x51ed0f(0x242)];_0x257f78===this['_unitId']&&_0x5c04da===this[_0x51ed0f(0x569)]&&_0x1973f8===this[_0x51ed0f(0x2d9)]&&this[_0x51ed0f(0x27d)]();})),this[_0x4596c8(0x368)](this[_0x4596c8(0x4fb)]['focus$'][_0x4596c8(0x4f5)](_0xaeb6df=>{const _0x490627=_0x4596c8;if(_0xaeb6df['length']===0x1){let _0x4b8ecd=_0xaeb6df[0x0];if(_0x4b8ecd[_0x490627(0x1d3)]===_0x5b0763[_0x490627(0x2f8)][_0x490627(0x462)]&&this[_0x490627(0x2cc)][_0x490627(0x1f4)](_0x4b8ecd[_0x490627(0x53b)])===_0x5b0763[_0x490627(0x48f)][_0x490627(0x2ed)]){this[_0x490627(0x2d9)]=_0x4b8ecd['drawingId'];let {unitId:_0x16a7ad,subUnitId:_0x21b9de}=_0x4b8ecd;this['_activeShapeAdjustPointList']=this[_0x490627(0x245)](_0x16a7ad,_0x21b9de,this[_0x490627(0x2d9)]),this[_0x490627(0x439)]=_0x16a7ad,this[_0x490627(0x569)]=_0x21b9de,this[_0x490627(0x20b)](),this['_createShapeAdjustControls']();return;}}this[_0x490627(0x2d9)]=null,this[_0x490627(0x4ab)]=void 0x0,this['_unitId']=null,this[_0x490627(0x569)]=null,this['_clearShapeAdjustControls']();})),this[_0x4596c8(0x368)](this['_drawingManagerService']['update$']['subscribe'](_0xf38941=>{const _0x370161=_0x4596c8;if(_0xf38941[_0x370161(0x2bb)]===0x1){var _0x17a4d7;let _0x2ea8d4=_0xf38941[0x0];((_0x17a4d7=this[_0x370161(0x4fb)][_0x370161(0x1d0)](_0x2ea8d4))==null?void 0x0:_0x17a4d7[_0x370161(0x1d3)])===_0x5b0763['DrawingTypeEnum']['DRAWING_SHAPE']&&this[_0x370161(0x55f)](!0x0);}})),this[_0x4596c8(0x368)](this['_drawingManagerService']['remove$']['subscribe'](_0x1c63ae=>{const _0x387c4c=_0x4596c8;for(let _0x3a012d of _0x1c63ae)this['_activeShapeId']===_0x3a012d[_0x387c4c(0x1af)]&&(this[_0x387c4c(0x2d9)]=null,this[_0x387c4c(0x4ab)]=void 0x0,this[_0x387c4c(0x439)]=null,this[_0x387c4c(0x569)]=null,this[_0x387c4c(0x20b)]());}));}};_0x5bb4e7=_0x476b0f([_0x5ec307(0x0,_0x37800f['IDrawingManagerService']),_0x5ec307(0x1,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x501fe5[_0x3bbe12(0x235)])),_0x5ec307(0x2,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x463287['IRenderManagerService'])),_0x5ec307(0x3,(0x0,_0x5b0763['Inject'])(_0x14a8a5)),_0x5ec307(0x4,_0x5b0763[_0x3bbe12(0x467)]),_0x5ec307(0x5,_0x5b0763[_0x3bbe12(0x2c3)])],_0x5bb4e7);let _0x2c3fc4={'id':'drawing.operation.set-drawing-active','type':_0x5b0763[_0x3bbe12(0x527)]['OPERATION'],'handler':(_0x4a801b,_0x125586)=>{const _0x377ac1=_0x3bbe12;let _0x35ecb1=_0x4a801b[_0x377ac1(0x3f3)](_0x37800f[_0x377ac1(0x457)]),_0xefeef7=_0x4a801b[_0x377ac1(0x3f3)](_0x463287[_0x377ac1(0x52d)]),_0x20bb6c=_0x4a801b[_0x377ac1(0x3f3)](_0x5bb4e7);if(_0x125586==null)return!0x0;if(_0x125586['length']>0x0){var _0x1d4993;let _0x57265a=(_0x1d4993=_0xefeef7[_0x377ac1(0x3de)](_0x125586[0x0]['unitId']))==null?void 0x0:_0x1d4993[_0x377ac1(0x29e)];if(_0x57265a){let {unitId:_0xb12496,subUnitId:_0x2f5923,drawingId:_0x4c92f0}=_0x125586[0x0],_0x4d92ec=(0x0,_0x37800f['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0xb12496,'subUnitId':_0x2f5923,'drawingId':_0x4c92f0},void 0x0),_0x48a557=_0x57265a['getObjectIncludeInGroup'](_0x4d92ec);if(_0x48a557){var _0x30c12b;(_0x30c12b=_0xefeef7[_0x377ac1(0x3de)](_0x125586[0x0][_0x377ac1(0x53b)]))==null||(_0x30c12b=_0x30c12b[_0x377ac1(0x29e)][_0x377ac1(0x47a)]())==null||_0x30c12b[_0x377ac1(0x372)](_0x48a557);}}_0x35ecb1[_0x377ac1(0x416)](_0x125586),_0x20bb6c[_0x377ac1(0x3f7)](!0x1);}return!0x0;}},_0x3ae9dd={'type':_0x5b0763[_0x3bbe12(0x527)]['COMMAND'],'id':_0x3bbe12(0x491),'handler':async(_0x4e577a,_0x1a9586)=>{const _0x4d6f5c=_0x3bbe12;let _0x1d0bcf=(0x0,_0x2e7766['getSheetCommandTarget'])(_0x4e577a[_0x4d6f5c(0x3f3)](_0x5b0763[_0x4d6f5c(0x467)]));if(!_0x1d0bcf)return!0x1;let _0x27df8f=_0x4e577a[_0x4d6f5c(0x3f3)](_0x2e7766['SheetsSelectionsService'])[_0x4d6f5c(0x597)]();if(!_0x27df8f)return!0x1;let _0x30af13=_0x4e577a[_0x4d6f5c(0x3f3)](_0x5b0763[_0x4d6f5c(0x2c3)]),{unitId:_0x340585,subUnitId:_0x265913}=_0x1d0bcf,{value:_0x1b356a,enhanceParams:_0x24c4db}=_0x1a9586,{range:_0x22cf72}=_0x27df8f,_0x961520={'unitId':_0x340585,'subUnitId':_0x265913,'shapeType':_0x1b356a,'range':_0x22cf72,'shapeId':(0x0,_0x5b0763[_0x4d6f5c(0x41f)])()};if(_0x24c4db){let _0x2e5799=(0x0,_0x1c9bad['isConnectorShape'])(_0x1b356a),_0xefda52=_0x1b356a===_0x1c9bad[_0x4d6f5c(0x42d)][_0x4d6f5c(0x239)];_0x2e5799&&(_0x24c4db[_0x4d6f5c(0x414)]||_0x24c4db[_0x4d6f5c(0x43c)])&&(_0x961520[_0x4d6f5c(0x3d1)]={'ln':{'startArrow':_0x24c4db[_0x4d6f5c(0x414)]?{'type':_0x1c9bad['ShapeArrowTypeEnum']['Arrow'],'size':_0x1c9bad['ShapeArrowSizeEnum'][_0x4d6f5c(0x20c)]}:void 0x0,'endArrow':_0x24c4db[_0x4d6f5c(0x43c)]?{'type':_0x1c9bad[_0x4d6f5c(0x41c)][_0x4d6f5c(0x2e0)],'size':_0x1c9bad['ShapeArrowSizeEnum'][_0x4d6f5c(0x572)]}:void 0x0}}),_0xefda52&&(_0x24c4db[_0x4d6f5c(0x54a)]||_0x24c4db[_0x4d6f5c(0x4fa)])&&(_0x961520[_0x4d6f5c(0x3d1)]=(0x0,_0x214c33[_0x4d6f5c(0x34f)])({'fill':{'fillType':_0x1c9bad[_0x4d6f5c(0x49e)]['SolidFill'],'color':_0x4d6f5c(0x44a)},'isHorizontal':!!_0x24c4db['horizontal'],'stroke':{'lineStrokeType':_0x1c9bad[_0x4d6f5c(0x470)][_0x4d6f5c(0x382)],'width':0x1,'color':_0x4d6f5c(0x1df)}}));}let _0x5c4915=_0x30af13[_0x4d6f5c(0x510)](_0x501fe5['InsertShapeCommand']['id'],_0x961520);return setTimeout(()=>{const _0xf04318=_0x4d6f5c;_0x30af13[_0xf04318(0x207)](_0x2c3fc4['id'],[{'unitId':_0x340585,'subUnitId':_0x265913,'drawingId':_0x961520[_0xf04318(0x222)]}]);},0xc8),_0x5c4915;}},_0x2f5d2d=_0x3bbe12(0x446),_0x532b4c=_0x3bbe12(0x54e),_0x519660='sheet.shape.floating-toolbar',_0x271abe=_0x3bbe12(0x3e1),_0x340c83=(0x0,_0x5b0763[_0x3bbe12(0x57a)])(_0x3bbe12(0x1c9)),_0x552d76=_0x3bbe12(0x54f),_0x34606a={'id':_0x3bbe12(0x31c),'type':_0x5b0763[_0x3bbe12(0x527)][_0x3bbe12(0x4b1)],'handler':(_0x4e8a33,_0x3f242d)=>{const _0x5ac357=_0x3bbe12;let _0x1ae2f8=_0x4e8a33[_0x5ac357(0x3f3)](_0x18daae[_0x5ac357(0x3f9)]),_0x31bbde=_0x4e8a33[_0x5ac357(0x3f3)](_0x5b0763[_0x5ac357(0x503)]),_0x4319db=_0x4e8a33[_0x5ac357(0x3f3)](_0x5b0763['IUniverInstanceService']),_0x247998=_0x4e8a33['get'](_0x5b0763[_0x5ac357(0x2c3)]);return(0x0,_0x2e7766[_0x5ac357(0x279)])(_0x4319db)?(_0x3f242d==null?void 0x0:_0x3f242d['value'])===_0x5ac357(0x228)?(_0x1ae2f8[_0x5ac357(0x228)](_0x532b4c),!0x0):(_0x1ae2f8[_0x5ac357(0x45a)]({'id':_0x532b4c,'header':{'title':_0x31bbde['t'](_0x5ac357(0x1fb))},'children':{'label':_0x532b4c},'onClose':()=>{const _0x3c61a3=_0x5ac357;_0x247998[_0x3c61a3(0x510)](_0x37800f[_0x3c61a3(0x211)]['id'],[]);},'width':0x168}),!0x0):!0x1;}},_0x3195a4={'type':_0x5b0763['CommandType']['OPERATION'],'id':_0x3bbe12(0x595),'handler'(){return!0x0;}};function _0x373a8b(_0x14ea47){const _0x1372e9=_0x3bbe12;let _0x4d5ad7=_0x14ea47[_0x1372e9(0x3f3)](_0x37800f[_0x1372e9(0x457)])[_0x1372e9(0x2ac)](),_0x196e50=_0x4d5ad7[_0x1372e9(0x2bb)]===0x1?_0x4d5ad7[0x0]:null;if(!_0x196e50||_0x196e50[_0x1372e9(0x1d3)]!==_0x5b0763[_0x1372e9(0x2f8)][_0x1372e9(0x462)])return null;let _0x450323=_0x14ea47[_0x1372e9(0x3f3)](_0x501fe5[_0x1372e9(0x235)]),_0x3ec36d=_0x450323['getShapeTypeById'](_0x196e50['unitId'],_0x196e50[_0x1372e9(0x58c)],_0x196e50[_0x1372e9(0x1af)]),_0x249ce1=_0x450323['getShapeDataById'](_0x196e50[_0x1372e9(0x53b)],_0x196e50[_0x1372e9(0x58c)],_0x196e50['drawingId']);return _0x3ec36d===void 0x0||!_0x249ce1?null:{'drawing':_0x196e50,'shapeData':_0x249ce1,'shapeType':_0x3ec36d};}let _0x9e5b59={'id':_0x3bbe12(0x264),'type':_0x5b0763[_0x3bbe12(0x527)]['OPERATION'],'handler':(_0x34865b,_0x35e875)=>{const _0x7b982b=_0x3bbe12;let _0x5ef6c5=_0x373a8b(_0x34865b),_0x408edc=(0x0,_0x214c33[_0x7b982b(0x587)])((_0x35e875==null?void 0x0:_0x35e875[_0x7b982b(0x1c4)])??(_0x35e875==null?void 0x0:_0x35e875[_0x7b982b(0x43f)])??'');if(!_0x5ef6c5||!_0x408edc||_0x408edc[_0x7b982b(0x56a)]!==(0x0,_0x214c33[_0x7b982b(0x2e6)])(_0x5ef6c5[_0x7b982b(0x3d1)]))return!0x1;let _0xa3a61d=(0x0,_0x214c33[_0x7b982b(0x589)])(_0x5ef6c5['shapeData'],_0x408edc);if(!_0xa3a61d)return!0x1;let {drawing:_0x579101}=_0x5ef6c5;return _0x34865b['get'](_0x5b0763[_0x7b982b(0x2c3)])[_0x7b982b(0x207)](_0x5163ea['id'],{'unitId':_0x579101[_0x7b982b(0x53b)],'subUnitId':_0x579101[_0x7b982b(0x58c)],'shapeId':_0x579101[_0x7b982b(0x1af)],'shapeData':_0xa3a61d,'oldShapeJSON':{'oldShapeData':_0x5ef6c5[_0x7b982b(0x3d1)]}});}},_0x32de08={'id':_0x3bbe12(0x409),'type':_0x5b0763[_0x3bbe12(0x527)][_0x3bbe12(0x1d1)],'handler':(_0x4c179c,_0x176392)=>{const _0x36ea51=_0x3bbe12;let _0x54f577=_0x373a8b(_0x4c179c),_0x40d6b5=(_0x176392==null?void 0x0:_0x176392['shapeType'])??(_0x176392==null?void 0x0:_0x176392[_0x36ea51(0x43f)]);if(!_0x54f577||!_0x40d6b5||(0x0,_0x1c9bad[_0x36ea51(0x48b)])(_0x54f577[_0x36ea51(0x456)])||(0x0,_0x1c9bad['isConnectorShape'])(_0x40d6b5))return!0x1;let _0x3c9164=(0x0,_0x214c33['cloneShapeDataForType'])(_0x54f577[_0x36ea51(0x3d1)],_0x40d6b5);if(!_0x3c9164)return!0x1;let {drawing:_0x598ff4}=_0x54f577;return _0x4c179c[_0x36ea51(0x3f3)](_0x5b0763[_0x36ea51(0x2c3)])[_0x36ea51(0x207)](_0x5163ea['id'],{'unitId':_0x598ff4[_0x36ea51(0x53b)],'subUnitId':_0x598ff4[_0x36ea51(0x58c)],'shapeId':_0x598ff4[_0x36ea51(0x1af)],'shapeType':_0x40d6b5,'shapeData':_0x3c9164,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x54f577[_0x36ea51(0x456)],'oldShapeData':_0x54f577['shapeData']}});}},_0x3a0622=class extends _0x5b0763['Disposable']{constructor(_0xf24344,_0x2c5269){const _0x43e199=_0x3bbe12;super(),this[_0x43e199(0x364)]=_0xf24344,this[_0x43e199(0x4fb)]=_0x2c5269,this[_0x43e199(0x1ac)](),this[_0x43e199(0x364)][_0x43e199(0x4de)](!0x0),this['disposeWithMe']({'dispose':()=>this[_0x43e199(0x364)]['setCanUseShapeClip'](!0x1)});}[_0x3bbe12(0x1ac)](){const _0x1c5e57=_0x3bbe12;let _0x59a239=this[_0x1c5e57(0x364)],_0x506b77=new Map(),_0x65fefc=_0x59a239[_0x1c5e57(0x21d)]((_0x3009d7,_0x1ee9fd,_0x5e4861,_0x2c3ad2,_0x53c466)=>{const _0x3d7ccb=_0x1c5e57;let _0x2e1493=_0x1ee9fd;if(_0x2e1493===_0x1c9bad['ShapeTypeEnum'][_0x3d7ccb(0x2fb)]||_0x1ee9fd===_0x3d7ccb(0x4a8))return!0x1;try{let _0x228c67=_0x506b77[_0x3d7ccb(0x3f3)](_0x1ee9fd);return _0x228c67||(_0x228c67=new _0x1c9bad[(_0x3d7ccb(0x38a))](_0x2e1493,_0x3d7ccb(0x353)+_0x1ee9fd),_0x506b77[_0x3d7ccb(0x336)](_0x1ee9fd,_0x228c67)),_0x228c67[_0x3d7ccb(0x367)](),_0x53c466&&Object[_0x3d7ccb(0x3ae)](_0x53c466)[_0x3d7ccb(0x2bb)]>0x0&&_0x228c67['setShapeData']({'adjustValues':_0x53c466},!0x0),_0x228c67[_0x3d7ccb(0x2ee)]({'width':_0x5e4861,'height':_0x2c3ad2}),_0x228c67[_0x3d7ccb(0x53a)](_0x3009d7,{'left':0x0,'top':0x0,'width':_0x5e4861,'height':_0x2c3ad2});}catch{return!0x1;}});this[_0x1c5e57(0x368)](_0x65fefc),this[_0x1c5e57(0x368)]({'dispose':()=>_0x506b77[_0x1c5e57(0x26e)]()});}[_0x3bbe12(0x58d)](_0x3e4741,_0x115ed7,_0x4c7a70,_0x12a9ac,_0x2d6f1b){const _0x2b85d9=_0x3bbe12;let _0x332bf4=this['_drawingManagerService'][_0x2b85d9(0x2cf)](_0x3e4741,_0x115ed7);if(!_0x332bf4[_0x4c7a70])return;let _0x5c64a9={..._0x332bf4[_0x4c7a70],'prstGeom':_0x12a9ac,'adjustValues':_0x2d6f1b};this['_drawingManagerService']['featurePluginUpdateNotification']([_0x5c64a9]);}};_0x3a0622=_0x476b0f([_0x5ec307(0x0,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x3ec2cc[_0x3bbe12(0x582)])),_0x5ec307(0x1,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x37800f[_0x3bbe12(0x457)]))],_0x3a0622);let _0x59f393=_0x3bbe12(0x2d8),_0x361d67=_0x3bbe12(0x212);function _0x2b14dd({onShapeClick:_0x51f18a,excludeGroups:_0xf95964}){const _0x5d71fa=_0x3bbe12;return(0x0,_0x521d83[_0x5d71fa(0x53e)])(_0x3c7e1c[_0x5d71fa(0x2d5)],{'excludeGroups':_0xf95964,'onShapeClick':_0x51f18a,'scrollContainer':'parent'});}function _0x21712f(){const _0x1efe64=_0x3bbe12;let _0x2b1b14=(0x0,_0x18daae['useDependency'])(_0x37800f[_0x1efe64(0x457)]),_0x4b9c5d=(0x0,_0x18daae[_0x1efe64(0x38e)])(_0x3a0622);return(0x0,_0x521d83[_0x1efe64(0x53e)])(_0x3c7e1c[_0x1efe64(0x344)],{'buttonLabel':_0x1efe64(0x1b5),'excludeGroups':[_0x3c7e1c[_0x1efe64(0x2bd)][_0x1efe64(0x463)]],'onShapeClick':_0x2a912a=>{const _0x4aa99e=_0x1efe64;let _0x50a6d9=_0x2b1b14[_0x4aa99e(0x2ac)]()[_0x4aa99e(0x3e9)](_0x5239fc=>_0x5239fc[_0x4aa99e(0x1d3)]===_0x5b0763['DrawingTypeEnum'][_0x4aa99e(0x3ed)]);if(!_0x50a6d9)return;let {unitId:_0x38f706,subUnitId:_0x1164e2,drawingId:_0x21f8c4}=_0x50a6d9;_0x4b9c5d[_0x4aa99e(0x58d)](_0x38f706,_0x1164e2,_0x21f8c4,_0x2a912a[_0x4aa99e(0x56a)]);}});}function _0x159d71(){const _0x3429da=_0x3bbe12;let _0x5ab3b3=(0x0,_0x18daae['useDependency'])(_0x37800f[_0x3429da(0x457)]),_0x32e729=(0x0,_0x18daae['useDependency'])(_0x3a0622);return(0x0,_0x521d83['jsx'])(_0x3c7e1c[_0x3429da(0x344)],{'buttonLabel':'sheets-shape-ui.imagePanel.crop.shape','excludeGroups':[_0x3c7e1c[_0x3429da(0x2bd)][_0x3429da(0x463)]],'DropdownComponent':_0x2ba4b8[_0x3429da(0x420)],'onShapeClick':_0x596c3f=>{const _0xbb4b97=_0x3429da;let _0x290f25=_0x5ab3b3['getFocusDrawings']()[_0xbb4b97(0x3e9)](_0x35c0ca=>_0x35c0ca[_0xbb4b97(0x1d3)]===_0x5b0763[_0xbb4b97(0x2f8)]['DRAWING_IMAGE']);if(!_0x290f25)return;let {unitId:_0x1df96f,subUnitId:_0x5a9b11,drawingId:_0x16a36d}=_0x290f25;_0x32e729[_0xbb4b97(0x58d)](_0x1df96f,_0x5a9b11,_0x16a36d,_0x596c3f[_0xbb4b97(0x56a)]);}});}function _0x3b5274(){const _0x2bff1b=_0x3bbe12;let _0x38b63f=(0x0,_0x18daae[_0x2bff1b(0x38e)])(_0x18daae[_0x2bff1b(0x466)]),_0x3bca72=(0x0,_0x18daae[_0x2bff1b(0x38e)])(_0x37800f[_0x2bff1b(0x457)]),_0x9fa8ee=(0x0,_0x18daae[_0x2bff1b(0x38e)])(_0x5b0763[_0x2bff1b(0x467)]),_0x10ad6e=_0x3bca72[_0x2bff1b(0x2ac)]()[0x0],_0x4eb709=_0x10ad6e?_0x9fa8ee[_0x2bff1b(0x1f4)](_0x10ad6e['unitId']):void 0x0,_0x43a875=_0x4eb709===_0x5b0763[_0x2bff1b(0x48f)]['UNIVER_DOC']?'doc.image-clip.shape-picker.component':_0x4eb709===_0x5b0763[_0x2bff1b(0x48f)][_0x2bff1b(0x2ed)]?_0x361d67:void 0x0,_0x580984=_0x43a875?_0x38b63f[_0x2bff1b(0x3f3)](_0x43a875):void 0x0;return _0x580984?(0x0,_0x521d83[_0x2bff1b(0x53e)])(_0x580984,{}):null;}function _0x29fcf3(){const _0x394e3d=_0x3bbe12;let _0x2b1116=(0x0,_0x18daae[_0x394e3d(0x38e)])(_0x5b0763[_0x394e3d(0x2c3)]);return(0x0,_0x521d83[_0x394e3d(0x53e)])(_0x2b14dd,{'onShapeClick':_0x1d239d=>{const _0x544333=_0x394e3d;_0x2b1116[_0x544333(0x207)](_0x3ae9dd['id'],{'value':_0x1d239d[_0x544333(0x56a)],'enhanceParams':{'endArrow':_0x1d239d[_0x544333(0x43c)],'startArrow':_0x1d239d['startArrow'],'horizontal':_0x1d239d[_0x544333(0x54a)],'vertical':_0x1d239d['vertical']}});}});}function _0x62158b(){return(0x0,_0x521d83['jsx'])(_0x29fcf3,{});}function _0x1a23b8(_0x9eb0c6){const _0x2c430f=_0x3bbe12;let _0xb45782=_0x9eb0c6[_0x2c430f(0x3f3)](_0x5b0763['IUniverInstanceService']);return{'id':_0x3ae9dd['id'],'type':_0x18daae[_0x2c430f(0x447)][_0x2c430f(0x546)],'selections':[{'label':{'name':_0x59f393,'hoverable':!0x1,'selectable':!0x1,'props':{'id':_0x3ae9dd['id']}}}],'icon':_0x2c430f(0x28b),'tooltip':_0x2c430f(0x4cd),'activated$':(0x0,_0x54c89f[_0x2c430f(0x278)])(_0xb45782,!0x1,()=>new _0x3d6362[(_0x2c430f(0x53f))](_0x3e9ce8=>{const _0x5a8cd8=_0x2c430f;_0x3e9ce8[_0x5a8cd8(0x32b)](!0x1);})),'hidden$':(0x0,_0x18daae[_0x2c430f(0x23a)])(_0x9eb0c6,_0x5b0763[_0x2c430f(0x48f)][_0x2c430f(0x2ed)]),'disabled$':(0x0,_0x54c89f[_0x2c430f(0x4e8)])(_0x9eb0c6)};}function _0x19e34b(_0x3574f7){const _0x26bb7f=_0x3bbe12;let _0x195d30=_0x3574f7['get'](_0x5b0763[_0x26bb7f(0x467)]);return{'id':_0x34606a['id'],'type':_0x18daae[_0x26bb7f(0x447)][_0x26bb7f(0x45e)],'icon':_0x26bb7f(0x46a),'title':'sheets-shape-ui.objectListPanel.open','tooltip':_0x26bb7f(0x217),'activated$':(0x0,_0x54c89f[_0x26bb7f(0x278)])(_0x195d30,!0x1,()=>new _0x3d6362['Observable'](_0x5c4221=>{const _0x2715e7=_0x26bb7f;_0x5c4221[_0x2715e7(0x32b)](!0x1);})),'hidden$':(0x0,_0x18daae[_0x26bb7f(0x23a)])(_0x3574f7,_0x5b0763[_0x26bb7f(0x48f)][_0x26bb7f(0x2ed)]),'disabled$':(0x0,_0x54c89f[_0x26bb7f(0x4e8)])(_0x3574f7)};}let _0x3e8b56=_0x3bbe12(0x1ef),_0x2770c2=_0x3bbe12(0x204);function _0x5532d9(_0x6512b7){const _0x3a9fc9=_0x3bbe12;let _0x5294d9=_0x6512b7[_0x3a9fc9(0x3f3)](_0x37800f[_0x3a9fc9(0x457)])['getFocusDrawings']();return _0x5294d9[_0x3a9fc9(0x2bb)]===0x1&&_0x5294d9[0x0][_0x3a9fc9(0x1d3)]===_0x5b0763[_0x3a9fc9(0x2f8)][_0x3a9fc9(0x462)]?_0x5294d9[0x0]:null;}function _0x374dcd(_0x1845bb){const _0x9a8a10=_0x3bbe12;let _0x2b65fa=_0x1845bb[_0x9a8a10(0x3f3)](_0x37800f[_0x9a8a10(0x457)]);return _0x2b65fa[_0x9a8a10(0x419)][_0x9a8a10(0x525)]((0x0,_0x3d6362[_0x9a8a10(0x55c)])(_0x2b65fa['getFocusDrawings']()),(0x0,_0x3d6362[_0x9a8a10(0x4cb)])(_0x1fda8b=>_0x1fda8b[_0x9a8a10(0x2bb)]!==0x1||_0x1fda8b[0x0][_0x9a8a10(0x1d3)]!==_0x5b0763[_0x9a8a10(0x2f8)][_0x9a8a10(0x462)]));}function _0x50fa0c(_0x8b1234){const _0x38e795=_0x3bbe12;return{'id':_0x3e8b56,'commandId':_0x501fe5[_0x38e795(0x2c5)]['id'],'type':_0x18daae[_0x38e795(0x447)][_0x38e795(0x45e)],'title':_0x38e795(0x229),'tooltip':'sheets-shape-ui.flipHorizontal','icon':_0x38e795(0x2cb),'hidden$':_0x374dcd(_0x8b1234),'params':()=>{const _0x28b253=_0x38e795;let _0x180c7f=_0x5532d9(_0x8b1234);return _0x180c7f?{'unitId':_0x180c7f[_0x28b253(0x53b)],'subUnitId':_0x180c7f[_0x28b253(0x58c)],'shapeId':_0x180c7f[_0x28b253(0x1af)],'flipH':!0x0}:void 0x0;}};}function _0x13139d(_0x995c5f){const _0x140290=_0x3bbe12;return{'id':_0x2770c2,'commandId':_0x501fe5['ToggleSheetsShapeFlipCommand']['id'],'type':_0x18daae[_0x140290(0x447)][_0x140290(0x45e)],'title':'sheets-shape-ui.flipVertical','tooltip':_0x140290(0x35b),'icon':'FlipVerticalIcon','hidden$':_0x374dcd(_0x995c5f),'params':()=>{const _0x140fd1=_0x140290;let _0x3912a3=_0x5532d9(_0x995c5f);return _0x3912a3?{'unitId':_0x3912a3[_0x140fd1(0x53b)],'subUnitId':_0x3912a3[_0x140fd1(0x58c)],'shapeId':_0x3912a3['drawingId'],'flipV':!0x0}:void 0x0;}};}let _0x19261d='sheets-shape-ui.shape-format.quick-style-gallery',_0x525ea0=_0x3bbe12(0x2d3),_0x4676e0=_0x3bbe12(0x537),_0x3ec152='sheets-shape-ui.shape-format.formula-ribbon-control';function _0x3ab685(){const _0x4dca03=_0x3bbe12;let _0x3ebe38=(0x0,_0x18daae[_0x4dca03(0x38e)])(_0x5b0763['ICommandService']),_0x4e4e67=(0x0,_0x18daae['useDependency'])(_0x37800f[_0x4dca03(0x457)]),_0x3bfa6b=(0x0,_0x18daae[_0x4dca03(0x38e)])(_0x501fe5[_0x4dca03(0x235)]),_0x175c3d=()=>{const _0x1af2d7=_0x4dca03;var _0x312c78;let _0x5ee3e1=_0x4e4e67[_0x1af2d7(0x2ac)]();if(_0x5ee3e1[_0x1af2d7(0x2bb)]!==0x1||((_0x312c78=_0x5ee3e1[0x0])==null?void 0x0:_0x312c78[_0x1af2d7(0x1d3)])!==_0x5b0763[_0x1af2d7(0x2f8)]['DRAWING_SHAPE'])return null;let {unitId:_0x210e13,subUnitId:_0x25f88f,drawingId:_0x5963b4}=_0x5ee3e1[0x0],_0x39aaf4=_0x3bfa6b[_0x1af2d7(0x220)](_0x210e13,_0x25f88f,_0x5963b4),_0x296025=_0x3bfa6b[_0x1af2d7(0x437)](_0x210e13,_0x25f88f,_0x5963b4);return _0x39aaf4===void 0x0||!_0x296025?null:{'unitId':_0x210e13,'subUnitId':_0x25f88f,'drawingId':_0x5963b4,'shapeType':_0x39aaf4,'shapeData':_0x296025};},_0x1a330a=(0x0,_0x18daae['useObservable'])(()=>new _0x3d6362[(_0x4dca03(0x53f))](_0x3e3dad=>{const _0x17e1f2=_0x4dca03;let _0x2b30b2=()=>_0x3e3dad['next'](_0x175c3d()),_0x354b40=_0x4e4e67[_0x17e1f2(0x419)][_0x17e1f2(0x4f5)](_0x2b30b2),_0x24a543=_0x3ebe38[_0x17e1f2(0x1f0)](_0xb593a4=>{const _0x43383d=_0x17e1f2;_0xb593a4['id']===_0x501fe5[_0x43383d(0x533)]['id']&&_0x2b30b2();});return _0x2b30b2(),()=>{const _0x218d4f=_0x17e1f2;_0x354b40[_0x218d4f(0x465)](),_0x24a543[_0x218d4f(0x4a4)]();};}),_0x175c3d(),!0x1,[_0x3ebe38,_0x4e4e67,_0x3bfa6b]);return{'selection':_0x1a330a,'updateShapeData':_0x353cf3=>{const _0x4fa778=_0x4dca03;_0x1a330a&&_0x5b8a5d(_0x3ebe38,_0x1a330a[_0x4fa778(0x53b)],_0x1a330a['subUnitId'],_0x1a330a[_0x4fa778(0x1af)],{'oldShapeData':_0x1a330a['shapeData']},_0x353cf3);}};}function _0x6b21a7(){const _0x29fd1a=_0x3bbe12;let {selection:_0x112eda,updateShapeData:_0x258727}=_0x3ab685();return _0x112eda?(0x0,_0x521d83[_0x29fd1a(0x53e)])(_0x3c7e1c['ShapeStyleRibbonControl'],{'shapeData':_0x112eda[_0x29fd1a(0x3d1)],'shapeType':_0x112eda[_0x29fd1a(0x456)],'onUpdateShapeData':_0x258727}):null;}function _0x32c2bc(){const _0xc818bc=_0x3bbe12;let _0x2bb645=(0x0,_0x18daae[_0xc818bc(0x38e)])(_0x5b0763[_0xc818bc(0x2c3)]),_0x27f21f=(0x0,_0x18daae[_0xc818bc(0x38e)])(_0x5b0763[_0xc818bc(0x503)]),{selection:_0x54a535}=_0x3ab685();return _0x54a535?(0x0,_0x521d83[_0xc818bc(0x53e)])(_0x3c7e1c[_0xc818bc(0x29a)],{'type':(0x0,_0x214c33['getShapeQuickStyleType'])(_0x54a535[_0xc818bc(0x3d1)]),'ariaLabel':_0x27f21f['t'](_0xc818bc(0x48c)),'activePresetId':(0x0,_0x214c33[_0xc818bc(0x288)])(_0x54a535[_0xc818bc(0x3d1)]),'onSelect':_0x527ccf=>_0x2bb645[_0xc818bc(0x207)](_0x9e5b59['id'],{'presetId':_0x527ccf})}):null;}function _0x40a4cc(){const _0x115286=_0x3bbe12;let {selection:_0x159000,updateShapeData:_0x5d2c4d}=_0x3ab685();return _0x159000?(0x0,_0x521d83['jsx'])(_0x3c7e1c['ShapeTextRibbonControl'],{'fontFamilyPopupDataComponent':_0x115286(0x438),'shapeData':_0x159000['shapeData'],'onUpdateShapeData':_0x5d2c4d}):null;}function _0x4b63e9(){const _0x5a2dfa=_0x3bbe12;var _0x33e862;let {selection:_0x12ee38,updateShapeData:_0xa41685}=_0x3ab685(),_0x161c75=(0x0,_0x3c7e1c[_0x5a2dfa(0x4ce)])({'hostType':_0x5b0763[_0x5a2dfa(0x48f)][_0x5a2dfa(0x2ed)],'unitId':(_0x12ee38==null?void 0x0:_0x12ee38[_0x5a2dfa(0x53b)])??'','subUnitId':(_0x12ee38==null?void 0x0:_0x12ee38[_0x5a2dfa(0x58c)])??'','shapeId':(_0x12ee38==null?void 0x0:_0x12ee38[_0x5a2dfa(0x1af)])??'','shapeData':_0x12ee38==null?void 0x0:_0x12ee38[_0x5a2dfa(0x3d1)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x5a2dfa(0x3b4),'onUpdateBinding':_0x272e48=>_0xa41685({'formulaBinding':_0x272e48})}),_0x52d6a7=((_0x33e862=_0x161c75['extensionGroups'])==null?void 0x0:_0x33e862[_0x5a2dfa(0x328)](_0x35fa0c=>_0x35fa0c['actions'])[_0x5a2dfa(0x323)](_0x17eb36=>_0x17eb36[_0x5a2dfa(0x210)]!==!0x1))??[];return _0x12ee38!=null&&_0x12ee38[_0x5a2dfa(0x3d1)][_0x5a2dfa(0x3c5)]?(0x0,_0x521d83[_0x5a2dfa(0x53e)])(_0x3c7e1c[_0x5a2dfa(0x35d)],{'actions':_0x52d6a7,'panel':_0x161c75[_0x5a2dfa(0x560)]}):null;}let _0xd8e764=_0x3bbe12(0x486),_0x57bd49=_0x3bbe12(0x581),_0x5a60b0='sheets-shape-ui.ribbon.shape-format.formula-control',_0x19c87c=_0x3bbe12(0x309),_0x414811='sheets-shape-ui.ribbon.shape-format.arrange-backward',_0xd9c964=_0x3bbe12(0x1c2),_0x480496=_0x3bbe12(0x346);function _0x2be0e7(_0x3d6887){const _0x56be98=_0x3bbe12;let _0x346014=_0x3d6887[_0x56be98(0x3f3)](_0x5b0763[_0x56be98(0x2c3)]),_0x14e2d9=_0x3d6887[_0x56be98(0x3f3)](_0x37800f[_0x56be98(0x457)]),_0x41b87a=_0x3d6887[_0x56be98(0x3f3)](_0x501fe5[_0x56be98(0x235)]);return new _0x3d6362['Observable'](_0x584838=>{const _0x688f17=_0x56be98;let _0x55ee54=()=>{const _0x3837b8=_0x4701;let _0x3f74c8=_0x1e3874(_0x3d6887),_0x522f40=_0x3f74c8?_0x41b87a[_0x3837b8(0x437)](_0x3f74c8['unitId'],_0x3f74c8['subUnitId'],_0x3f74c8[_0x3837b8(0x1af)]):null;_0x584838[_0x3837b8(0x32b)](_0x522f40?(0x0,_0x214c33['resolveActiveShapeQuickStylePresetId'])(_0x522f40)??'':'');},_0x38692a=_0x14e2d9['focus$'][_0x688f17(0x4f5)](_0x55ee54),_0x11185f=_0x346014['onCommandExecuted'](_0x17098a=>{_0x17098a['id']===_0x501fe5['UpdateSheetsShapeDataMutation']['id']&&_0x55ee54();});return _0x55ee54(),()=>{const _0x54bb11=_0x688f17;_0x38692a[_0x54bb11(0x465)](),_0x11185f[_0x54bb11(0x4a4)]();};});}function _0x1e3874(_0x1e129a){const _0x494758=_0x3bbe12;var _0x213ae1;let _0x4b3287=_0x1e129a[_0x494758(0x3f3)](_0x37800f[_0x494758(0x457)])['getFocusDrawings']();return _0x4b3287[_0x494758(0x2bb)]===0x1&&((_0x213ae1=_0x4b3287[0x0])==null?void 0x0:_0x213ae1[_0x494758(0x1d3)])===_0x5b0763[_0x494758(0x2f8)][_0x494758(0x462)]?_0x4b3287[0x0]:null;}function _0x51d084(_0x369410,_0x12da98=!0x1){const _0x30e4b3=_0x3bbe12;let _0x448640=_0x369410[_0x30e4b3(0x3f3)](_0x5b0763['ICommandService']),_0x182ae5=_0x369410[_0x30e4b3(0x3f3)](_0x37800f[_0x30e4b3(0x457)]),_0x5e8215=_0x369410[_0x30e4b3(0x3f3)](_0x501fe5[_0x30e4b3(0x235)]);return new _0x3d6362[(_0x30e4b3(0x53f))](_0x1c9084=>{const _0x3af152=_0x30e4b3;let _0x24af4f=()=>{const _0x4ff69a=_0x4701;let _0x12ef9c=_0x1e3874(_0x369410);if(!_0x12ef9c){_0x1c9084[_0x4ff69a(0x32b)](!0x0);return;}let _0x2c0a3e=_0x5e8215[_0x4ff69a(0x437)](_0x12ef9c['unitId'],_0x12ef9c['subUnitId'],_0x12ef9c['drawingId']);_0x1c9084[_0x4ff69a(0x32b)](!_0x2c0a3e||_0x12da98&&_0x2c0a3e['formulaBinding']==null);},_0x24d8d3=_0x182ae5[_0x3af152(0x419)]['subscribe'](_0x24af4f),_0xf7bdbf=_0x448640[_0x3af152(0x1f0)](_0x3605a4=>{_0x3605a4['id']===_0x501fe5['UpdateSheetsShapeDataMutation']['id']&&_0x24af4f();});return _0x24af4f(),()=>{const _0x58d4d9=_0x3af152;_0x24d8d3[_0x58d4d9(0x465)](),_0xf7bdbf[_0x58d4d9(0x4a4)]();};});}function _0x562c23(_0x26fefa){const _0x56de90=_0x3bbe12;let _0x4dc0bd=_0x26fefa[_0x56de90(0x3f3)](_0x37800f[_0x56de90(0x457)]),_0x5d3b7b=_0x26fefa['get'](_0x501fe5[_0x56de90(0x235)]);return _0x4dc0bd[_0x56de90(0x419)]['pipe']((0x0,_0x3d6362[_0x56de90(0x55c)])(_0x4dc0bd[_0x56de90(0x2ac)]()),(0x0,_0x3d6362[_0x56de90(0x4cb)])(()=>{const _0x1a5b55=_0x56de90;let _0x1b2c37=_0x1e3874(_0x26fefa),_0x2725e6=_0x1b2c37?_0x5d3b7b[_0x1a5b55(0x220)](_0x1b2c37[_0x1a5b55(0x53b)],_0x1b2c37[_0x1a5b55(0x58c)],_0x1b2c37[_0x1a5b55(0x1af)]):void 0x0;return _0x2725e6===void 0x0||(0x0,_0x1c9bad['isConnectorShape'])(_0x2725e6);}));}function _0x24d5c9(_0xa88f43){const _0x2b226c=_0x3bbe12;return{'id':_0x9e5b59['id'],'type':_0x18daae[_0x2b226c(0x447)]['SELECTOR'],'icon':_0x2b226c(0x2c9),'title':_0x2b226c(0x421),'tooltip':'shape-editor-ui.toolbar.quickStyles','selections':[{'label':{'name':_0x19261d,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x2be0e7(_0xa88f43),'hidden$':_0x51d084(_0xa88f43)};}function _0x4db52a(_0x586511){const _0xb5013c=_0x3bbe12;return{'id':_0x32de08['id'],'type':_0x18daae[_0xb5013c(0x447)][_0xb5013c(0x546)],'icon':_0xb5013c(0x28b),'title':_0xb5013c(0x4e9),'tooltip':_0xb5013c(0x4e9),'slot':!0x0,'selections':[{'label':{'name':_0x3c7e1c['SHAPE_CHANGE_PICKER_COMPONENT'],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x562c23(_0x586511)};}function _0x402f38(_0x27f701,_0x324972,_0x3f030d=!0x1){const _0x4f333f=_0x3bbe12;return _0x3d1a38=>({'id':_0x27f701,'type':_0x18daae[_0x4f333f(0x447)][_0x4f333f(0x45e)],'label':{'name':_0x324972,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x51d084(_0x3d1a38,_0x3f030d)});}let _0x1f39d3=_0x402f38(_0xd8e764,_0x525ea0),_0x4e458f=_0x402f38(_0x57bd49,_0x4676e0),_0x1dc21e=_0x402f38(_0x5a60b0,_0x3ec152,!0x0);function _0x467067(_0x2dafbd,_0x25f6c7,_0x585c2b,_0x4855ee){const _0x716a23=_0x3bbe12;return _0x55f57a=>({'id':_0x2dafbd,'commandId':_0x47629f['SetDrawingArrangeCommand']['id'],'type':_0x18daae['MenuItemType'][_0x716a23(0x45e)],'icon':_0x585c2b,'title':_0x4855ee,'tooltip':_0x4855ee,'hidden$':_0x51d084(_0x55f57a),'params':()=>{const _0x1e4677=_0x716a23;let _0x2e0ca4=_0x1e3874(_0x55f57a);return _0x2e0ca4?{'unitId':_0x2e0ca4['unitId'],'subUnitId':_0x2e0ca4[_0x1e4677(0x58c)],'drawingIds':[_0x2e0ca4['drawingId']],'arrangeType':_0x25f6c7}:void 0x0;}});}let _0x223ca0=_0x467067(_0x19c87c,_0x5b0763[_0x3bbe12(0x2fa)]['forward'],_0x3bbe12(0x2a5),'shape-editor-ui.arrange.forward'),_0xbf94b3=_0x467067(_0x414811,_0x5b0763[_0x3bbe12(0x2fa)][_0x3bbe12(0x2f0)],_0x3bbe12(0x3e8),_0x3bbe12(0x3bb)),_0x48ea20=_0x467067(_0xd9c964,_0x5b0763['ArrangeTypeEnum'][_0x3bbe12(0x1e6)],_0x3bbe12(0x1fa),'shape-editor-ui.arrange.front'),_0x47f931=_0x467067(_0x480496,_0x5b0763[_0x3bbe12(0x2fa)][_0x3bbe12(0x357)],_0x3bbe12(0x2d4),'shape-editor-ui.arrange.back');function _0x42d232(_0x152f47){const _0x2ef6b8=_0x3bbe12;return{'id':_0x3195a4['id'],'type':_0x18daae[_0x2ef6b8(0x447)][_0x2ef6b8(0x45e)],'icon':_0x2ef6b8(0x362),'title':_0x2ef6b8(0x3dd),'tooltip':_0x2ef6b8(0x3dd),'hidden$':_0x51d084(_0x152f47),'params':()=>{const _0xcd8f3=_0x2ef6b8;let _0x79d2c5=_0x1e3874(_0x152f47);return _0x79d2c5?{'unitId':_0x79d2c5['unitId'],'subUnitId':_0x79d2c5['subUnitId'],'drawingId':_0x79d2c5[_0xcd8f3(0x1af)]}:void 0x0;}};}let _0x21dd32={[_0x18daae[_0x3bbe12(0x550)]['RIBBON']]:{[_0x271abe]:{'order':0x64,'title':'sheets-shape-ui.formatShape','contextual':!0x0,'sheets-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x9e5b59['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x24d5c9},[_0x32de08['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x4db52a}},'sheets-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0xd8e764]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x1f39d3}},'sheets-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x57bd49]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x4e458f}},'sheets-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x3e8b56]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x50fa0c},[_0x2770c2]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x13139d},[_0x19c87c]:{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x223ca0},[_0x414811]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0xbf94b3},[_0xd9c964]:{'order':0x4,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x48ea20},[_0x480496]:{'order':0x5,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x47f931}},'sheets-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x5a60b0]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x1dc21e}},'sheets-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x3195a4['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x42d232},[_0x3c7e1c[_0x3bbe12(0x3b1)]['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x3c7e1c[_0x3bbe12(0x1b7)]}}}}},_0x37ed41={[_0x18daae['RibbonInsertGroup'][_0x3bbe12(0x2ea)]]:{[_0x3ae9dd['id']]:{'order':0x4,'menuItemFactory':_0x1a23b8}}},_0x4710e4={..._0x37ed41,[_0x18daae[_0x3bbe12(0x227)][_0x3bbe12(0x52c)]]:{[_0x34606a['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x19e34b}},[_0x18daae[_0x3bbe12(0x4d6)]['DRAWING']]:{[_0x18daae[_0x3bbe12(0x4f8)][_0x3bbe12(0x52c)]]:{[_0x3e8b56]:{'order':0x4,'menuItemFactory':_0x50fa0c},[_0x2770c2]:{'order':0x5,'menuItemFactory':_0x13139d}}}};var _0x55669f=_0x3bbe12(0x39a),_0x41af0d='1.0.0';let _0x6dca8e={'id':_0x3bbe12(0x4ca),'type':_0x5b0763[_0x3bbe12(0x527)][_0x3bbe12(0x1d1)],'handler'(_0x101bb2,_0x4a7d6c){const _0x15d5fa=_0x3bbe12;return _0x4a7d6c?(_0x101bb2['get'](_0x3c7e1c[_0x15d5fa(0x48a)])[_0x15d5fa(0x45a)](_0x4a7d6c['mode'],{'hostType':_0x5b0763[_0x15d5fa(0x48f)]['UNIVER_SHEET'],'shapeId':_0x4a7d6c[_0x15d5fa(0x1af)],'subUnitId':_0x4a7d6c[_0x15d5fa(0x58c)],'unitId':_0x4a7d6c[_0x15d5fa(0x53b)]}),!0x0):!0x1;}},_0x22e212=_0x3bbe12(0x564),_0x5998c1={},_0x2a5e3f=class extends _0x5b0763[_0x3bbe12(0x1de)]{constructor(_0x945bb4,_0x5a2a66,_0x489b26,_0x14f184,_0x20af58){const _0x5d7595=_0x3bbe12;super(),this[_0x5d7595(0x4a9)]=_0x945bb4,this[_0x5d7595(0x4fb)]=_0x5a2a66,this['_renderManagerService']=_0x489b26,this[_0x5d7595(0x2cc)]=_0x14f184,this[_0x5d7595(0x576)]=_0x20af58,_0x19095(this,'_activeImageId',null),_0x19095(this,_0x5d7595(0x439),null),_0x19095(this,_0x5d7595(0x569),null),_0x19095(this,_0x5d7595(0x3b9),void 0x0),_0x19095(this,_0x5d7595(0x484),[]),_0x19095(this,_0x5d7595(0x1e1),0x0),_0x19095(this,_0x5d7595(0x2a8),0x0),_0x19095(this,_0x5d7595(0x23e),0x0),_0x19095(this,_0x5d7595(0x244),0x0),_0x19095(this,'_isStartAdjusting',!0x1),_0x19095(this,'_activeAdjustInfo',void 0x0),_0x19095(this,_0x5d7595(0x418),void 0x0),_0x19095(this,'_adjHandlerPointerMove',void 0x0),_0x19095(this,_0x5d7595(0x3bd),void 0x0),_0x19095(this,_0x5d7595(0x433),!0x1),this[_0x5d7595(0x545)](),this[_0x5d7595(0x22d)]();}[_0x3bbe12(0x3ee)](){this['_clearControls']();}['refreshAdjustControls'](){const _0x18af41=_0x3bbe12;this[_0x18af41(0x4e4)](),this[_0x18af41(0x42a)](!0x0);}[_0x3bbe12(0x413)](_0x13cd57,_0x4697a5,_0x186b81,_0x3f7aaa){const _0x2c7c66=_0x3bbe12;let _0x3bb7a8=_0x13cd57;if(_0x3bb7a8!==_0x1c9bad['ShapeTypeEnum'][_0x2c7c66(0x2fb)]&&_0x13cd57!==_0x2c7c66(0x4a8))try{let _0x3b63c7=new _0x1c9bad[(_0x2c7c66(0x38a))](_0x3bb7a8,_0x2c7c66(0x2ec)+_0x13cd57);return _0x3f7aaa&&_0x3b63c7[_0x2c7c66(0x1f6)]({'adjustValues':_0x3f7aaa},!0x0),_0x3b63c7[_0x2c7c66(0x2ee)]({'width':_0x4697a5,'height':_0x186b81}),_0x3b63c7;}catch{return;}}[_0x3bbe12(0x426)](_0x40aedc,_0x53c0f2,_0x33ab35){const _0x337ddd=_0x3bbe12;let _0x1339e1={'unitId':_0x40aedc,'subUnitId':_0x53c0f2,'drawingId':_0x33ab35},_0x2c304a=this[_0x337ddd(0x4fb)][_0x337ddd(0x1d0)](_0x1339e1);if(_0x2c304a&&_0x2c304a[_0x337ddd(0x1d3)]===_0x5b0763[_0x337ddd(0x2f8)]['DRAWING_IMAGE'])return _0x2c304a;}[_0x3bbe12(0x551)](_0x552e92,_0x4fc949,_0x419e32){const _0x3d5d79=_0x3bbe12;let _0x401ffa=this['_renderManagerService']['getRenderUnitById'](_0x552e92);if(!_0x401ffa)return;let {scene:_0x557dc1}=_0x401ffa,_0xf0070d=(0x0,_0x37800f[_0x3d5d79(0x574)])({'unitId':_0x552e92,'subUnitId':_0x4fc949,'drawingId':_0x419e32}),_0x2ab0d1=_0x557dc1['getObject'](_0xf0070d);if(_0x2ab0d1 instanceof _0x463287[_0x3d5d79(0x47f)]){let _0xdffec=_0x2ab0d1[_0x3d5d79(0x493)];if(_0xdffec)return{'prstGeom':_0xdffec,'adjustValues':_0x2ab0d1[_0x3d5d79(0x36c)]};}}['_createControls'](_0xcbaeb=!0x1){const _0x360a08=_0x3bbe12;if(!this[_0x360a08(0x439)]||!this[_0x360a08(0x569)]||!this[_0x360a08(0x57b)])return;let _0x94dea7=this[_0x360a08(0x3e6)]['getRenderUnitById'](this[_0x360a08(0x439)]);if(!_0x94dea7||!_0x94dea7[_0x360a08(0x512)](_0x54c89f['SheetSkeletonManagerService'])[_0x360a08(0x1f3)]())return;let {scene:_0x5707b2}=_0x94dea7,_0x15a15a=this['_getImageDrawingInfo'](this[_0x360a08(0x439)],this['_subUnitId'],this[_0x360a08(0x57b)]);if(!_0x15a15a)return;let {transform:_0x34d8a5}=_0x15a15a;if(!_0x34d8a5)return;let {left:_0x30f531,top:_0x3cb955,width:_0x3b40d6,height:_0x44b7a5,flipX:_0x590a8a,flipY:_0x528658,angle:_0x3799b3=0x0}=_0x34d8a5;if(_0x30f531===void 0x0||_0x3cb955===void 0x0)return;let _0x410310=this['_getImagePrstGeom'](this[_0x360a08(0x439)],this[_0x360a08(0x569)],this[_0x360a08(0x57b)]);if(!_0x410310)return;if(_0xcbaeb){let _0x484558=this[_0x360a08(0x413)](_0x410310[_0x360a08(0x493)],_0x3b40d6||0x0,_0x44b7a5||0x0,_0x410310[_0x360a08(0x3cb)]);if(!_0x484558)return;this[_0x360a08(0x3b9)]=_0x484558[_0x360a08(0x1b1)]();}let _0x58822b=this['_activeAdjustPointList'];if(_0x58822b&&_0x58822b[_0x360a08(0x2bb)]!==0x0)for(let _0x3303a1=0x0;_0x3303a1<_0x58822b['length'];_0x3303a1++){let _0x412795=_0x58822b[_0x3303a1],_0x114ecf=_0x412795['x'],_0x28d658=_0x412795['y'];if(_0x590a8a&&(_0x114ecf=(_0x3b40d6||0x0)-_0x114ecf),_0x528658&&(_0x28d658=(_0x44b7a5||0x0)-_0x28d658),_0x3799b3!==0x0){let _0x266db7=(_0x3b40d6||0x0)/0x2,_0x8b578f=(_0x44b7a5||0x0)/0x2,_0x599699=_0x3799b3*Math['PI']/0xb4,_0x2086ca=Math[_0x360a08(0x459)](_0x599699),_0x128386=Math['sin'](_0x599699),_0x2c7470=_0x114ecf-_0x266db7,_0x414284=_0x28d658-_0x8b578f;_0x114ecf=_0x266db7+(_0x2c7470*_0x2086ca-_0x414284*_0x128386),_0x28d658=_0x8b578f+(_0x2c7470*_0x128386+_0x414284*_0x2086ca);}let _0x2eeaf8={'x':_0x114ecf,'y':_0x28d658,'adjName':_0x412795['adjName']};this[_0x360a08(0x4c2)](_0x5707b2,_0x2eeaf8,_0x2eeaf8[_0x360a08(0x234)],_0x30f531,_0x3cb955,this['_unitId'],this[_0x360a08(0x569)]);}}[_0x3bbe12(0x4c2)](_0x10c6ee,_0x4f5841,_0x304165,_0x2cb3f7,_0x192a9f,_0x18d654,_0x3aff34){const _0x59ae01=_0x3bbe12;if(!this['_activeImageId'])return;let _0x260c42=_0x59ae01(0x3a5)+this[_0x59ae01(0x57b)]+'-'+_0x304165,_0x17a432=_0x10c6ee[_0x59ae01(0x53d)](_0x260c42);if(_0x17a432){_0x17a432[_0x59ae01(0x23f)]({'left':_0x4f5841['x']+_0x2cb3f7-_0x1c9bad[_0x59ae01(0x1b9)][_0x59ae01(0x381)],'top':_0x4f5841['y']+_0x192a9f-_0x1c9bad['ShapeDefaultConfig']['adjHandleSize']});return;}let _0x45b84f=new _0x23b942(_0x260c42,{'left':_0x4f5841['x']+_0x2cb3f7-_0x1c9bad['ShapeDefaultConfig'][_0x59ae01(0x381)],'top':_0x4f5841['y']+_0x192a9f-_0x1c9bad[_0x59ae01(0x1b9)][_0x59ae01(0x381)],'adjName':_0x304165,'shapeId':this[_0x59ae01(0x57b)],'unitId':_0x18d654,'subUnitId':_0x3aff34,'width':_0x1c9bad['ShapeDefaultConfig'][_0x59ae01(0x381)]+0x8,'height':_0x1c9bad[_0x59ae01(0x1b9)]['adjHandleSize']+0x8,'zIndex':_0x463287['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0});this[_0x59ae01(0x484)][_0x59ae01(0x36e)](_0x45b84f),this[_0x59ae01(0x28f)](_0x45b84f,_0x10c6ee,_0x304165),_0x10c6ee[_0x59ae01(0x4a1)](_0x45b84f,_0x463287['DRAWING_OBJECT_LAYER_INDEX']+0x1);}[_0x3bbe12(0x4e4)](){const _0x3a5a6c=_0x3bbe12;this[_0x3a5a6c(0x484)][_0x3a5a6c(0x2bb)]!==0x0&&(this['_shapes']['forEach'](_0x2bf137=>_0x2bf137[_0x3a5a6c(0x4a4)]()),this[_0x3a5a6c(0x484)]=[]);}[_0x3bbe12(0x1ff)](_0x5f5f88,_0x555df0){const _0xaac159=_0x3bbe12;var _0xbd8876;let _0x6f8c59={'x':0x0,'y':0x0},_0x4958ee=this[_0xaac159(0x3e6)][_0xaac159(0x3de)](_0x5f5f88);if(!_0x4958ee||!_0x4958ee[_0xaac159(0x512)](_0x54c89f[_0xaac159(0x542)])[_0xaac159(0x27e)](_0x555df0))return _0x6f8c59;let _0x307dfd=_0x4958ee['with'](_0x54c89f[_0xaac159(0x253)]),_0x39e486=_0x307dfd==null?void 0x0:_0x307dfd[_0xaac159(0x335)]();if(!_0x39e486)return _0x6f8c59;let _0x55857c=(_0xbd8876=this['_univerInstanceService'][_0xaac159(0x284)](_0x5f5f88))==null?void 0x0:_0xbd8876['getSheetBySheetId'](_0x555df0);if(!_0x55857c)return _0x6f8c59;let _0x28c1c5=(0x0,_0x54c89f[_0xaac159(0x427)])(_0x39e486[_0xaac159(0x1ea)],_0x39e486[_0xaac159(0x3ba)],_0x4958ee[_0xaac159(0x29e)],_0x55857c);return _0x28c1c5?{'x':_0x28c1c5['viewportScrollX'],'y':_0x28c1c5[_0xaac159(0x443)]}:_0x6f8c59;}[_0x3bbe12(0x4c5)](_0x35f6ff,_0xa22cc8){const _0x48a5eb=_0x3bbe12;var _0x4a4ac5;let _0x1881ac=(_0x4a4ac5=this[_0x48a5eb(0x2cc)]['getUnit'](_0x35f6ff))==null?void 0x0:_0x4a4ac5[_0x48a5eb(0x48d)](_0xa22cc8);return(_0x1881ac==null?void 0x0:_0x1881ac['getZoomRatio']())??0x1;}[_0x3bbe12(0x28f)](_0x49cc71,_0x33d49a,_0x5f8ba6){const _0x39990e=_0x3bbe12;this[_0x39990e(0x368)]((0x0,_0x5b0763['toDisposable'])(_0x49cc71[_0x39990e(0x2f1)]['subscribeEvent']((_0x3136d9,_0x387ce3)=>{const _0x1d38e4=_0x39990e;var _0x15768f,_0x271fb5,_0x5b47e5;let {unitId:_0x2f90e4,subUnitId:_0x1aeaae,drawingId:_0x5338b8}=_0x49cc71[_0x1d38e4(0x333)](),_0x1b9af4=this['_getImageDrawingInfo'](_0x2f90e4,_0x1aeaae,_0x5338b8);if(!(_0x1b9af4!=null&&_0x1b9af4[_0x1d38e4(0x22c)]))return;let {left:_0x1d4e4f,top:_0x7a8684,width:_0x5529d5,height:_0x3a47ef}=_0x1b9af4[_0x1d38e4(0x22c)];this[_0x1d38e4(0x1e1)]=_0x1d4e4f||0x0,this[_0x1d38e4(0x2a8)]=_0x7a8684||0x0,this['_baseWidth']=_0x5529d5||0x0,this[_0x1d38e4(0x244)]=_0x3a47ef||0x0;let _0x1ff926=!!((_0x15768f=_0x1b9af4['transform'])!=null&&_0x15768f['flipX']),_0x5745b4=!!((_0x271fb5=_0x1b9af4[_0x1d38e4(0x22c)])!=null&&_0x271fb5[_0x1d38e4(0x4ad)]),_0x5df8ad=((_0x5b47e5=_0x1b9af4[_0x1d38e4(0x22c)])==null?void 0x0:_0x5b47e5['angle'])||0x0,_0x8cfd30=this[_0x1d38e4(0x551)](_0x2f90e4,_0x1aeaae,_0x5338b8);if(!_0x8cfd30)return;let _0x42ffd0=this['_getOrCreateShapeModel'](_0x8cfd30[_0x1d38e4(0x493)],this['_baseWidth'],this[_0x1d38e4(0x244)],_0x8cfd30[_0x1d38e4(0x3cb)]);if(!_0x42ffd0||(this[_0x1d38e4(0x418)]=_0x42ffd0,this[_0x1d38e4(0x4d8)]=_0x42ffd0[_0x1d38e4(0x4bb)](_0x5f8ba6),!this[_0x1d38e4(0x4d8)]))return;this[_0x1d38e4(0x55a)]=!0x0,_0x33d49a[_0x1d38e4(0x4ee)]();let _0xbf6853=_0x8cfd30[_0x1d38e4(0x493)];this[_0x1d38e4(0x423)]=_0x33d49a['onPointerMove$'][_0x1d38e4(0x373)]((_0x29ec80,_0xab97d2)=>{const _0x2c1da7=_0x1d38e4;if(!this['_isStartAdjusting'])return;let {offsetX:_0x2ba071,offsetY:_0x13ff7f}=_0x29ec80,_0xcee760=this['_activeAdjustInfo'];if(!this['_activeShapeModel']||!_0xcee760)return;_0x33d49a[_0x2c1da7(0x4ee)](),_0x33d49a[_0x2c1da7(0x599)](_0x463287[_0x2c1da7(0x3c8)][_0x2c1da7(0x3c0)]);let _0x284835={'left':0x0,'top':0x0,'width':this['_baseWidth'],'height':this[_0x2c1da7(0x244)]},_0x26acce=this[_0x2c1da7(0x1ff)](_0x2f90e4,_0x1aeaae),_0x46b878=this[_0x2c1da7(0x4c5)](_0x2f90e4,_0x1aeaae),_0xdb1c76=_0x2ba071/_0x46b878+_0x26acce['x']-this['_baseLeft'],_0x18176b=_0x13ff7f/_0x46b878+_0x26acce['y']-this[_0x2c1da7(0x2a8)];if(_0x5df8ad!==0x0){let _0x2031f5=this[_0x2c1da7(0x23e)]/0x2,_0x16490e=this[_0x2c1da7(0x244)]/0x2,_0x4fb5c4=_0x5df8ad*Math['PI']/0xb4,_0x4db738=Math['cos'](_0x4fb5c4),_0x300b5a=Math[_0x2c1da7(0x343)](_0x4fb5c4),_0x132be8=_0xdb1c76-_0x2031f5,_0x1d1da3=_0x18176b-_0x16490e;_0xdb1c76=_0x2031f5+(_0x132be8*_0x4db738+_0x1d1da3*_0x300b5a),_0x18176b=_0x16490e+(-_0x132be8*_0x300b5a+_0x1d1da3*_0x4db738);}_0x1ff926&&(_0xdb1c76=this[_0x2c1da7(0x23e)]-_0xdb1c76),_0x5745b4&&(_0x18176b=this[_0x2c1da7(0x244)]-_0x18176b);let _0x5ed463=this[_0x2c1da7(0x418)][_0x2c1da7(0x405)](_0x284835,{'x':_0xdb1c76,'y':_0x18176b},_0xcee760,_0x1ff926,_0x5745b4);if(Object[_0x2c1da7(0x3ae)](_0x5ed463)[_0x2c1da7(0x2bb)]!==0x0){for(let [_0x19f7b6,_0x3e26c3]of Object['entries'](_0x5ed463))this[_0x2c1da7(0x418)][_0x2c1da7(0x4ae)](_0x19f7b6,_0x3e26c3);this[_0x2c1da7(0x418)]['updateContext']({'width':this[_0x2c1da7(0x23e)],'height':this[_0x2c1da7(0x244)]}),this[_0x2c1da7(0x4bf)](_0x2f90e4,_0x1aeaae,_0x5338b8,_0x5ed463),this[_0x2c1da7(0x3b9)]=this[_0x2c1da7(0x418)][_0x2c1da7(0x1b1)](),this['_createControls'](),_0xab97d2[_0x2c1da7(0x50b)]();}}),this[_0x1d38e4(0x3bd)]=_0x33d49a[_0x1d38e4(0x52f)][_0x1d38e4(0x373)]((_0x57f3be,_0xfd5449)=>{const _0x4baae0=_0x1d38e4;if(this['_adjHandlerPointerMove'][_0x4baae0(0x465)](),this[_0x4baae0(0x3bd)]['unsubscribe'](),_0x33d49a[_0x4baae0(0x4b5)](),this['_activeShapeModel']){let _0x168ce2=this[_0x4baae0(0x418)]['getAdjustNames'](),_0x1b7f8={};for(let _0x10b131 of _0x168ce2){let _0x11e423=this[_0x4baae0(0x418)]['getAdjustValueByName'](_0x10b131);_0x11e423!==void 0x0&&(_0x1b7f8[_0x10b131]=_0x11e423);}this[_0x4baae0(0x576)][_0x4baae0(0x58d)](_0x2f90e4,_0x1aeaae,_0x5338b8,_0xbf6853,_0x1b7f8);}this[_0x4baae0(0x4d8)]=void 0x0,this[_0x4baae0(0x418)]=void 0x0,this[_0x4baae0(0x55a)]=!0x1,_0xfd5449['stopPropagation'](),_0x33d49a[_0x4baae0(0x287)]();}),_0x387ce3[_0x1d38e4(0x50b)]();})));}[_0x3bbe12(0x4bf)](_0x1426a4,_0x47f0d9,_0x4ff7aa,_0x3b6dbf){const _0x3fb971=_0x3bbe12;let _0x10ff42=this[_0x3fb971(0x3e6)][_0x3fb971(0x3de)](_0x1426a4);if(!_0x10ff42)return;let {scene:_0x629d45}=_0x10ff42,_0x398078=(0x0,_0x37800f[_0x3fb971(0x574)])({'unitId':_0x1426a4,'subUnitId':_0x47f0d9,'drawingId':_0x4ff7aa}),_0xa40a3a=_0x629d45[_0x3fb971(0x532)](_0x398078);if(_0xa40a3a instanceof _0x463287[_0x3fb971(0x47f)]){let _0xe2b13e=_0xa40a3a['prstGeomAdjValues']??{};_0xa40a3a[_0x3fb971(0x57e)]({..._0xe2b13e,..._0x3b6dbf}),_0xa40a3a[_0x3fb971(0x1b8)](!0x0);}}[_0x3bbe12(0x22d)](){const _0x5a7de8=_0x3bbe12;let _0x5066d2=this['_univerInstanceService'][_0x5a7de8(0x529)](_0x5b0763['UniverInstanceType']['UNIVER_SHEET']);this[_0x5a7de8(0x368)](_0x5066d2['pipe']((0x0,_0x3d6362[_0x5a7de8(0x515)])(_0x47a6a3=>_0x47a6a3?_0x47a6a3['activeSheet$'][_0x5a7de8(0x525)]((0x0,_0x3d6362[_0x5a7de8(0x515)])(_0x4e5fc7=>{const _0x373210=_0x5a7de8;if(!_0x4e5fc7)return _0x3d6362[_0x373210(0x39e)];let _0x32e1fb=_0x47a6a3[_0x373210(0x292)](),_0x3db5e5=this[_0x373210(0x3e6)][_0x373210(0x3de)](_0x32e1fb),_0x4849e2=_0x3db5e5==null?void 0x0:_0x3db5e5[_0x373210(0x29e)];return _0x4849e2?(0x0,_0x3d6362['of'])(_0x4849e2):_0x3d6362[_0x373210(0x39e)];})):_0x3d6362[_0x5a7de8(0x39e)]))[_0x5a7de8(0x4f5)](_0x3b6975=>{const _0x7debf2=_0x5a7de8;let _0x2535cc=_0x3b6975[_0x7debf2(0x2ad)]();this[_0x7debf2(0x368)](_0x3b6975[_0x7debf2(0x502)][_0x7debf2(0x373)](()=>{const _0x19b852=_0x7debf2;this[_0x19b852(0x433)]&&this[_0x19b852(0x4e4)]();})),this[_0x7debf2(0x368)](_0x2535cc[_0x7debf2(0x3df)][_0x7debf2(0x4f5)](_0x31eb07=>{const _0x28fee7=_0x7debf2;let {objects:_0x1e6d35}=_0x31eb07;if(this[_0x28fee7(0x42a)](),_0x1e6d35!==null&&_0x1e6d35['size']===0x1){let _0x4ff814=_0x1e6d35[_0x28fee7(0x4db)]()[_0x28fee7(0x32b)]()[_0x28fee7(0x43f)];_0x4ff814 instanceof _0x463287[_0x28fee7(0x47f)]&&_0x4ff814['prstGeom']&&(this['_isImagePointerDown']=!0x0);}})),this[_0x7debf2(0x368)](_0x2535cc[_0x7debf2(0x267)][_0x7debf2(0x4f5)](()=>{const _0x4d219c=_0x7debf2;this['_isImagePointerDown']&&this[_0x4d219c(0x4e4)]();})),this[_0x7debf2(0x368)](_0x3b6975['onPointerUp$']['subscribeEvent'](()=>{const _0x313a45=_0x7debf2;this[_0x313a45(0x433)]&&(this[_0x313a45(0x433)]=!0x1,this[_0x313a45(0x42a)]());})),this[_0x7debf2(0x368)](_0x2535cc[_0x7debf2(0x236)][_0x7debf2(0x4f5)](()=>{const _0x484f49=_0x7debf2;if(this[_0x484f49(0x439)]&&this[_0x484f49(0x569)]&&this['_activeImageId']){let _0x4ce5f9=this[_0x484f49(0x551)](this[_0x484f49(0x439)],this[_0x484f49(0x569)],this[_0x484f49(0x57b)]);if(_0x4ce5f9){var _0x455c67,_0x20841e;let _0x142699=this[_0x484f49(0x426)](this[_0x484f49(0x439)],this[_0x484f49(0x569)],this[_0x484f49(0x57b)]),_0x5706c0=(_0x142699==null||(_0x455c67=_0x142699['transform'])==null?void 0x0:_0x455c67[_0x484f49(0x3a0)])||0x0,_0x547f19=(_0x142699==null||(_0x20841e=_0x142699[_0x484f49(0x22c)])==null?void 0x0:_0x20841e[_0x484f49(0x330)])||0x0,_0x577328=this[_0x484f49(0x413)](_0x4ce5f9['prstGeom'],_0x5706c0,_0x547f19,_0x4ce5f9['adjustValues']);_0x577328&&(this[_0x484f49(0x3b9)]=_0x577328['getDrawingPoints'](),this['_clearControls'](),this['_createControls'](!0x0));}}}));}));}[_0x3bbe12(0x545)](){const _0x9d12ba=_0x3bbe12;this[_0x9d12ba(0x368)](this[_0x9d12ba(0x4fb)][_0x9d12ba(0x419)][_0x9d12ba(0x4f5)](_0xa1a04b=>{const _0x545c3f=_0x9d12ba;if(_0xa1a04b[_0x545c3f(0x2bb)]===0x1){let _0x4cd3ef=_0xa1a04b[0x0];if(_0x4cd3ef['drawingType']===_0x5b0763['DrawingTypeEnum'][_0x545c3f(0x3ed)]){let {unitId:_0x1b5aa7,subUnitId:_0x30d787,drawingId:_0x483857}=_0x4cd3ef,_0x3c98bc=this['_getImagePrstGeom'](_0x1b5aa7,_0x30d787,_0x483857);if(_0x3c98bc){var _0x65bb55,_0x3b5cd0;this[_0x545c3f(0x57b)]=_0x483857,this[_0x545c3f(0x439)]=_0x1b5aa7,this[_0x545c3f(0x569)]=_0x30d787;let _0x1f9e67=this[_0x545c3f(0x426)](_0x1b5aa7,_0x30d787,_0x483857),_0x2295db=(_0x1f9e67==null||(_0x65bb55=_0x1f9e67[_0x545c3f(0x22c)])==null?void 0x0:_0x65bb55[_0x545c3f(0x3a0)])||0x0,_0x3ca314=(_0x1f9e67==null||(_0x3b5cd0=_0x1f9e67[_0x545c3f(0x22c)])==null?void 0x0:_0x3b5cd0[_0x545c3f(0x330)])||0x0,_0x98ef69=this[_0x545c3f(0x413)](_0x3c98bc['prstGeom'],_0x2295db,_0x3ca314,_0x3c98bc[_0x545c3f(0x3cb)]);_0x98ef69&&(this[_0x545c3f(0x3b9)]=_0x98ef69[_0x545c3f(0x1b1)]()),this[_0x545c3f(0x4e4)](),this[_0x545c3f(0x42a)](!0x0);}else this[_0x545c3f(0x2f6)]();}else this[_0x545c3f(0x2f6)]();}else this[_0x545c3f(0x2f6)]();})),this[_0x9d12ba(0x368)](this[_0x9d12ba(0x4fb)][_0x9d12ba(0x4d4)][_0x9d12ba(0x4f5)](_0x4049ff=>{const _0x17361c=_0x9d12ba;if(_0x4049ff[_0x17361c(0x2bb)]===0x1){let _0x3f3692=_0x4049ff[0x0],_0x3fa961=this['_drawingManagerService']['getDrawingByParam'](_0x3f3692);(_0x3fa961==null?void 0x0:_0x3fa961[_0x17361c(0x1d3)])===_0x5b0763[_0x17361c(0x2f8)]['DRAWING_IMAGE']&&this[_0x17361c(0x57b)]===_0x3f3692[_0x17361c(0x1af)]&&(this[_0x17361c(0x4e4)](),this[_0x17361c(0x42a)](!0x0));}})),this[_0x9d12ba(0x368)](this[_0x9d12ba(0x4fb)]['remove$'][_0x9d12ba(0x4f5)](_0x49cd90=>{const _0x1226e3=_0x9d12ba;for(let _0x1f1aca of _0x49cd90)this[_0x1226e3(0x57b)]===_0x1f1aca[_0x1226e3(0x1af)]&&this[_0x1226e3(0x2f6)]();}));}[_0x3bbe12(0x2f6)](){const _0x166781=_0x3bbe12;this[_0x166781(0x57b)]=null,this[_0x166781(0x439)]=null,this['_subUnitId']=null,this['_activeAdjustPointList']=void 0x0,this['_clearControls']();}};_0x2a5e3f=_0x476b0f([_0x5ec307(0x1,_0x37800f[_0x3bbe12(0x457)]),_0x5ec307(0x2,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x463287[_0x3bbe12(0x52d)])),_0x5ec307(0x3,_0x5b0763[_0x3bbe12(0x467)]),_0x5ec307(0x4,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x3a0622))],_0x2a5e3f);function _0xbd9c36({ref:_0x1d27a1,..._0x2a38b2}){const _0x1b003f=_0x3bbe12;let {preserveStrokeWidth:_0xb25258,icon:_0x4f6225,id:_0x54b53a,className:_0x1f00ef,extend:_0x356ddb,..._0x33156e}=_0x2a38b2,_0x13a6fc=(_0x1b003f(0x369)+_0x54b53a+'\x20'+(_0x1f00ef||''))[_0x1b003f(0x4d2)](),_0x1f1540='_'+(0x0,_0x101f75[_0x1b003f(0x401)])(),_0x5e518c=(0x0,_0x101f75[_0x1b003f(0x424)])(null);return(0x0,_0x101f75['useImperativeHandle'])(_0x1d27a1,()=>_0x5e518c['current']),(0x0,_0x101f75[_0x1b003f(0x1b4)])(()=>{const _0x58f2bb=_0x1b003f;if(_0xb25258&&_0x5e518c[_0x58f2bb(0x321)]&&_0x5e518c[_0x58f2bb(0x321)][_0x58f2bb(0x554)]===_0x4f6225[_0x58f2bb(0x56f)])return _0x145086(_0x5e518c[_0x58f2bb(0x321)]);},[_0xb25258,_0x4f6225]),_0x206ae0(_0x4f6225,''+_0x54b53a,{'defIds':_0x4f6225[_0x1b003f(0x1b0)],'idSuffix':_0x1f1540},{'ref':_0x5e518c,'className':_0x13a6fc,..._0x33156e},_0x356ddb);}function _0x206ae0(_0x3bf834,_0x1408f9,_0xfe80a6,_0x218283,_0x3cb295){const _0x378720=_0x3bbe12;return(0x0,_0x101f75[_0x378720(0x45d)])(_0x3bf834['tag'],{'key':_0x1408f9,..._0x12f20a(_0x3bf834,_0xfe80a6,_0x3cb295),..._0x218283},(_0x151be3(_0x3bf834,_0xfe80a6)[_0x378720(0x509)]||[])[_0x378720(0x4cb)]((_0x2387d9,_0x1d55c8)=>_0x206ae0(_0x2387d9,_0x1408f9+'-'+_0x3bf834[_0x378720(0x56f)]+'-'+_0x1d55c8,_0xfe80a6,void 0x0,_0x3cb295)));}function _0x12f20a(_0x29f46a,_0x17cf4c,_0x38eca1){const _0x19760b=_0x3bbe12;let _0x1e2173={..._0x29f46a[_0x19760b(0x4a6)]};_0x38eca1!=null&&_0x38eca1[_0x19760b(0x400)]&&_0x1e2173[_0x19760b(0x23b)]===_0x19760b(0x400)&&(_0x1e2173[_0x19760b(0x23b)]=_0x38eca1[_0x19760b(0x400)]),_0x38eca1!=null&&_0x38eca1[_0x19760b(0x400)]&&_0x1e2173[_0x19760b(0x49a)]===_0x19760b(0x400)&&(_0x1e2173[_0x19760b(0x49a)]=_0x38eca1[_0x19760b(0x400)]),_0x29f46a[_0x19760b(0x56f)]===_0x19760b(0x39d)&&_0x1e2173['id']&&(_0x1e2173['id']+=_0x17cf4c['idSuffix']),Object['entries'](_0x1e2173)[_0x19760b(0x1e7)](([_0xb84bae,_0x2c3c92])=>{const _0x56ff14=_0x19760b;_0xb84bae===_0x56ff14(0x39d)&&typeof _0x2c3c92==_0x56ff14(0x57f)&&(_0x1e2173[_0xb84bae]=_0x2c3c92['replace'](/url\(#(.*)\)/,_0x56ff14(0x257)+_0x17cf4c['idSuffix']+')'));});let {defIds:_0x49563e}=_0x17cf4c;return!_0x49563e||_0x49563e[_0x19760b(0x2bb)]===0x0?_0x1e2173:(_0x29f46a[_0x19760b(0x56f)]===_0x19760b(0x3af)&&_0x1e2173['xlink:href']&&(_0x1e2173[_0x19760b(0x318)]+=_0x17cf4c[_0x19760b(0x349)]),Object['entries'](_0x1e2173)['forEach'](([_0xcdf36d,_0x58db41])=>{const _0x155bb9=_0x19760b;typeof _0x58db41=='string'&&(_0x1e2173[_0xcdf36d]=_0x58db41[_0x155bb9(0x1db)](/url\(#(.*)\)/,_0x155bb9(0x257)+_0x17cf4c[_0x155bb9(0x349)]+')'));}),_0x1e2173);}function _0x151be3(_0x3a68f9,_0x37a3da){const _0x47660f=_0x3bbe12;var _0x3b216a;let {defIds:_0x21bec9}=_0x37a3da;return!_0x21bec9||_0x21bec9[_0x47660f(0x2bb)]===0x0?_0x3a68f9:_0x3a68f9[_0x47660f(0x56f)]==='defs'&&(_0x3b216a=_0x3a68f9[_0x47660f(0x509)])!=null&&_0x3b216a[_0x47660f(0x2bb)]?{..._0x3a68f9,'children':_0x3a68f9[_0x47660f(0x509)][_0x47660f(0x4cb)](_0x5b0a27=>typeof _0x5b0a27[_0x47660f(0x4a6)]['id']==_0x47660f(0x57f)&&_0x21bec9&&_0x21bec9['includes'](_0x5b0a27[_0x47660f(0x4a6)]['id'])?{..._0x5b0a27,'attrs':{..._0x5b0a27[_0x47660f(0x4a6)],'id':_0x5b0a27[_0x47660f(0x4a6)]['id']+_0x37a3da[_0x47660f(0x349)]}}:_0x5b0a27)}:_0x3a68f9;}function _0x145086(_0x160e1a){const _0x48ea6b=_0x3bbe12;let _0x5cafea=_0x160e1a['viewBox'][_0x48ea6b(0x4af)],_0x58a1a2=Math['max'](_0x5cafea[_0x48ea6b(0x3a0)],_0x5cafea[_0x48ea6b(0x330)]);if(!Number[_0x48ea6b(0x1f7)](_0x58a1a2)||_0x58a1a2<=0x0||_0x5cafea[_0x48ea6b(0x3a0)]<=0x0||_0x5cafea['height']<=0x0)return()=>void 0x0;let _0x27aec3=0x10/_0x58a1a2,_0x16dc61=Array[_0x48ea6b(0x37a)](_0x160e1a['querySelectorAll']('circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use'))[_0x48ea6b(0x328)](_0x56e873=>{const _0x2ed9a7=_0x48ea6b;let _0x3a324d=getComputedStyle(_0x56e873),_0x32d0dd=Number[_0x2ed9a7(0x2eb)](_0x3a324d[_0x2ed9a7(0x37f)]);return _0x3a324d['stroke']===_0x2ed9a7(0x300)||Number[_0x2ed9a7(0x2eb)](_0x3a324d['strokeOpacity'])===0x0||_0x3a324d['vectorEffect']===_0x2ed9a7(0x2a4)||!Number['isFinite'](_0x32d0dd)||_0x32d0dd<=0x0?[]:[{'element':_0x56e873,'hadStyleAttribute':_0x56e873[_0x2ed9a7(0x363)](_0x2ed9a7(0x29b)),'originalStrokeWidth':_0x32d0dd,'strokeWidth':_0x529f64(_0x56e873['style'],_0x2ed9a7(0x40c))}];})[_0x48ea6b(0x4cb)](_0x510afa=>({'appliedStrokeWidth':null,'element':_0x510afa[_0x48ea6b(0x2d6)],'hadStyleAttribute':_0x510afa[_0x48ea6b(0x28d)],'isReleased':!0x1,'originalStrokeWidth':_0x510afa[_0x48ea6b(0x47c)],'strokeWidth':_0x510afa['strokeWidth']}));if(_0x16dc61[_0x48ea6b(0x2bb)]===0x0)return()=>void 0x0;let _0x1ddff8=(_0x17b1aa,_0x48e44d)=>{const _0x4b1f38=_0x48ea6b;if(_0x5cafea['width']<=0x0||_0x5cafea['height']<=0x0||_0x17b1aa<=0x0||_0x48e44d<=0x0)return;let _0x511e8e=Math[_0x4b1f38(0x4b4)](_0x17b1aa/_0x5cafea[_0x4b1f38(0x3a0)],_0x48e44d/_0x5cafea[_0x4b1f38(0x330)]);!Number['isFinite'](_0x511e8e)||_0x511e8e<=0x0||_0x16dc61[_0x4b1f38(0x1e7)](_0x42387a=>{const _0x400c91=_0x4b1f38;if(_0x42387a[_0x400c91(0x530)])return;if(_0x42387a[_0x400c91(0x263)]!==null&&(_0x42387a[_0x400c91(0x2d6)][_0x400c91(0x29b)][_0x400c91(0x1bd)](_0x400c91(0x40c))!==_0x42387a['appliedStrokeWidth']||_0x42387a[_0x400c91(0x2d6)][_0x400c91(0x29b)]['getPropertyPriority']('stroke-width')!==_0x42387a[_0x400c91(0x37f)][_0x400c91(0x354)])){_0x42387a[_0x400c91(0x263)]=null,_0x42387a[_0x400c91(0x530)]=!0x0;return;}let _0x37dd7f=_0x42387a[_0x400c91(0x47c)]*_0x27aec3/_0x511e8e,_0xc9918a=Number(_0x37dd7f[_0x400c91(0x3a6)](0xc))+'px';_0x42387a[_0x400c91(0x2d6)][_0x400c91(0x29b)][_0x400c91(0x498)](_0x400c91(0x40c),_0xc9918a,_0x42387a[_0x400c91(0x37f)][_0x400c91(0x354)]),_0x42387a[_0x400c91(0x263)]=_0xc9918a;});},_0x387d60=_0x160e1a[_0x48ea6b(0x3a7)]();_0x1ddff8(_0x387d60['width'],_0x387d60[_0x48ea6b(0x330)]);let _0x31b17e=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x555f50=>{const _0x1a32a0=_0x48ea6b;if(_0x555f50[_0x1a32a0(0x3ca)](_0x52547b=>_0x52547b[_0x1a32a0(0x43b)]===_0x160e1a)){let _0x2e35b8=_0x160e1a[_0x1a32a0(0x3a7)]();_0x1ddff8(_0x2e35b8[_0x1a32a0(0x3a0)],_0x2e35b8['height']);}});return _0x31b17e==null||_0x31b17e['observe'](_0x160e1a),()=>{const _0x134aea=_0x48ea6b;_0x31b17e==null||_0x31b17e[_0x134aea(0x58e)](),_0x16dc61['forEach'](_0x1c8505=>{const _0x40fc28=_0x134aea;_0x1c8505[_0x40fc28(0x263)]!==null&&(_0x536e7c(_0x1c8505['element'][_0x40fc28(0x29b)],_0x40fc28(0x40c),_0x1c8505[_0x40fc28(0x263)],_0x1c8505[_0x40fc28(0x37f)][_0x40fc28(0x354)],_0x1c8505[_0x40fc28(0x37f)]),!_0x1c8505[_0x40fc28(0x28d)]&&_0x1c8505[_0x40fc28(0x2d6)]['style'][_0x40fc28(0x2bb)]===0x0&&_0x1c8505['element'][_0x40fc28(0x289)](_0x40fc28(0x29b)));});};}function _0x529f64(_0x3ec576,_0x4848ce){const _0xa634c8=_0x3bbe12;return{'priority':_0x3ec576['getPropertyPriority'](_0x4848ce),'value':_0x3ec576[_0xa634c8(0x1bd)](_0x4848ce)};}function _0x536e7c(_0x5ed974,_0x19d29f,_0x2995c9,_0x48dbc3,_0x20aac2){const _0x172641=_0x3bbe12;_0x5ed974['getPropertyValue'](_0x19d29f)===_0x2995c9&&_0x5ed974[_0x172641(0x290)](_0x19d29f)===_0x48dbc3&&(_0x20aac2['value']?_0x5ed974[_0x172641(0x498)](_0x19d29f,_0x20aac2[_0x172641(0x43f)],_0x20aac2[_0x172641(0x354)]):_0x5ed974[_0x172641(0x2a7)](_0x19d29f));}_0xbd9c36['displayName']=_0x3bbe12(0x26d);let _0xd1e8c6={'tag':_0x3bbe12(0x224),'attrs':{'xmlns':_0x3bbe12(0x4c0),'fill':_0x3bbe12(0x300),'viewBox':_0x3bbe12(0x425),'width':_0x3bbe12(0x215),'height':_0x3bbe12(0x215)},'children':[{'tag':_0x3bbe12(0x310),'attrs':{'fill':'currentColor','d':_0x3bbe12(0x28e),'fillRule':_0x3bbe12(0x4aa),'clipRule':'evenodd'}},{'tag':_0x3bbe12(0x310),'attrs':{'fill':_0x3bbe12(0x1ab),'d':_0x3bbe12(0x3d6),'fillRule':_0x3bbe12(0x4aa),'clipRule':_0x3bbe12(0x4aa)}},{'tag':'path','attrs':{'fill':_0x3bbe12(0x1ab),'d':'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'}},{'tag':_0x3bbe12(0x310),'attrs':{'fill':'currentColor','d':_0x3bbe12(0x390)}}]},_0x5e6af3=(0x0,_0x101f75['forwardRef'])(function(_0xdf9d9f,_0x5c6796){const _0x4077cf=_0x3bbe12;return(0x0,_0x101f75['createElement'])(_0xbd9c36,Object['assign']({},_0xdf9d9f,{'id':_0x4077cf(0x1bf),'ref':_0x5c6796,'icon':_0xd1e8c6}));});_0x5e6af3['displayName']=_0x3bbe12(0x2d4);let _0x4ecacf={'tag':_0x3bbe12(0x224),'attrs':{'xmlns':_0x3bbe12(0x4c0),'fill':'none','viewBox':_0x3bbe12(0x307),'width':'1em','height':'1em'},'children':[{'tag':_0x3bbe12(0x310),'attrs':{'stroke':_0x3bbe12(0x1ab),'d':_0x3bbe12(0x370),'strokeLinecap':_0x3bbe12(0x511),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x3bbe12(0x310),'attrs':{'stroke':'currentColor','d':_0x3bbe12(0x52b),'strokeLinecap':_0x3bbe12(0x511),'strokeLinejoin':_0x3bbe12(0x511),'strokeWidth':1.3}},{'tag':_0x3bbe12(0x310),'attrs':{'stroke':_0x3bbe12(0x1ab),'d':_0x3bbe12(0x3a4),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x3bbe12(0x310),'attrs':{'stroke':'currentColor','d':_0x3bbe12(0x54d),'strokeLinecap':_0x3bbe12(0x511),'strokeWidth':1.2}},{'tag':_0x3bbe12(0x310),'attrs':{'stroke':'currentColor','d':_0x3bbe12(0x4dd),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x3bbe12(0x310),'attrs':{'stroke':_0x3bbe12(0x1ab),'d':_0x3bbe12(0x2aa),'strokeLinecap':_0x3bbe12(0x511),'strokeWidth':1.2}}]},_0x291692=(0x0,_0x101f75[_0x3bbe12(0x4bc)])(function(_0x311b79,_0x27630f){const _0x501f6a=_0x3bbe12;return(0x0,_0x101f75[_0x501f6a(0x45d)])(_0xbd9c36,Object[_0x501f6a(0x46f)]({},_0x311b79,{'id':_0x501f6a(0x31e),'ref':_0x27630f,'icon':_0x4ecacf}));});_0x291692[_0x3bbe12(0x3a8)]=_0x3bbe12(0x2cb);let _0x40f941={'tag':'svg','attrs':{'xmlns':_0x3bbe12(0x4c0),'fill':_0x3bbe12(0x300),'viewBox':_0x3bbe12(0x307),'width':_0x3bbe12(0x215),'height':_0x3bbe12(0x215)},'children':[{'tag':'path','attrs':{'stroke':_0x3bbe12(0x1ab),'d':'M3.3\x202.6L8\x206.2L12.7\x202.6H3.3Z','strokeLinecap':_0x3bbe12(0x511),'strokeLinejoin':_0x3bbe12(0x511),'strokeWidth':1.3}},{'tag':_0x3bbe12(0x310),'attrs':{'stroke':_0x3bbe12(0x1ab),'d':_0x3bbe12(0x2a6),'strokeLinecap':_0x3bbe12(0x511),'strokeLinejoin':_0x3bbe12(0x511),'strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x3bbe12(0x1ab),'d':_0x3bbe12(0x1d5),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x3bbe12(0x310),'attrs':{'stroke':_0x3bbe12(0x1ab),'d':'M6.2\x208H7.8','strokeLinecap':_0x3bbe12(0x511),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x3bbe12(0x1ab),'d':_0x3bbe12(0x304),'strokeLinecap':_0x3bbe12(0x511),'strokeWidth':1.2}},{'tag':_0x3bbe12(0x310),'attrs':{'stroke':_0x3bbe12(0x1ab),'d':_0x3bbe12(0x384),'strokeLinecap':'round','strokeWidth':1.2}}]},_0x1a77b3=(0x0,_0x101f75[_0x3bbe12(0x4bc)])(function(_0x43ba7c,_0x40e17a){const _0x35f7c6=_0x3bbe12;return(0x0,_0x101f75[_0x35f7c6(0x45d)])(_0xbd9c36,Object[_0x35f7c6(0x46f)]({},_0x43ba7c,{'id':'flip-vertical-icon','ref':_0x40e17a,'icon':_0x40f941}));});_0x1a77b3[_0x3bbe12(0x3a8)]=_0x3bbe12(0x3c1);let _0x362a39={'tag':_0x3bbe12(0x224),'attrs':{'xmlns':_0x3bbe12(0x4c0),'fill':_0x3bbe12(0x300),'viewBox':_0x3bbe12(0x307),'width':_0x3bbe12(0x215),'height':_0x3bbe12(0x215)},'children':[{'tag':_0x3bbe12(0x310),'attrs':{'fill':_0x3bbe12(0x1ab),'d':_0x3bbe12(0x4fd),'fillRule':_0x3bbe12(0x4aa),'clipRule':_0x3bbe12(0x4aa)}},{'tag':_0x3bbe12(0x310),'attrs':{'fill':_0x3bbe12(0x1ab),'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'}}]},_0x152cba=(0x0,_0x101f75[_0x3bbe12(0x4bc)])(function(_0x3a9e9a,_0x4a5e74){const _0x4009d3=_0x3bbe12;return(0x0,_0x101f75[_0x4009d3(0x45d)])(_0xbd9c36,Object['assign']({},_0x3a9e9a,{'id':_0x4009d3(0x544),'ref':_0x4a5e74,'icon':_0x362a39}));});_0x152cba[_0x3bbe12(0x3a8)]=_0x3bbe12(0x3e8);let _0x3da1ef={'tag':'svg','attrs':{'xmlns':_0x3bbe12(0x4c0),'fill':_0x3bbe12(0x300),'viewBox':_0x3bbe12(0x307),'width':'1em','height':_0x3bbe12(0x215)},'children':[{'tag':_0x3bbe12(0x310),'attrs':{'fill':_0x3bbe12(0x1ab),'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':_0x3bbe12(0x4aa),'clipRule':'evenodd'}},{'tag':_0x3bbe12(0x310),'attrs':{'fill':_0x3bbe12(0x1ab),'d':_0x3bbe12(0x3a1)}}]},_0xe52333=(0x0,_0x101f75[_0x3bbe12(0x4bc)])(function(_0x5b8b04,_0x4edd6f){const _0x16431e=_0x3bbe12;return(0x0,_0x101f75[_0x16431e(0x45d)])(_0xbd9c36,Object[_0x16431e(0x46f)]({},_0x5b8b04,{'id':_0x16431e(0x3bf),'ref':_0x4edd6f,'icon':_0x3da1ef}));});_0xe52333[_0x3bbe12(0x3a8)]=_0x3bbe12(0x2a5);let _0x10001a={'tag':_0x3bbe12(0x224),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3bbe12(0x300),'viewBox':_0x3bbe12(0x307),'width':_0x3bbe12(0x215),'height':'1em'},'children':[{'tag':'path','attrs':{'stroke':_0x3bbe12(0x1ab),'d':_0x3bbe12(0x29d),'strokeLinecap':_0x3bbe12(0x511),'strokeLinejoin':_0x3bbe12(0x511),'strokeWidth':1.3}},{'tag':_0x3bbe12(0x310),'attrs':{'stroke':'currentColor','d':'m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.3}}]},_0x31f0cf=(0x0,_0x101f75['forwardRef'])(function(_0x493e37,_0x3930e6){const _0x28b978=_0x3bbe12;return(0x0,_0x101f75[_0x28b978(0x45d)])(_0xbd9c36,Object[_0x28b978(0x46f)]({},_0x493e37,{'id':_0x28b978(0x519),'ref':_0x3930e6,'icon':_0x10001a}));});_0x31f0cf['displayName']=_0x3bbe12(0x46a);let _0x2d1435={'tag':_0x3bbe12(0x224),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3bbe12(0x300),'viewBox':'0\x200\x2016\x2016','width':_0x3bbe12(0x215),'height':'1em'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M13.5\x207V4.29412C13.5\x203.5794\x2012.8679\x203\x2012\x203H2.57143C1.70356\x203\x201.5\x203.5794\x201.5\x204.29412V7V10C1.5\x2010.7147\x201.70356\x2011\x202.57143\x2011H7.71429','strokeLinecap':_0x3bbe12(0x511),'strokeLinejoin':_0x3bbe12(0x511),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':'currentColor','d':_0x3bbe12(0x3e5),'strokeLinecap':_0x3bbe12(0x511),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':'currentColor','d':_0x3bbe12(0x2fe),'strokeLinecap':_0x3bbe12(0x511),'strokeWidth':1.2}},{'tag':_0x3bbe12(0x310),'attrs':{'stroke':_0x3bbe12(0x1ab),'d':_0x3bbe12(0x3f1),'strokeLinejoin':'round'}},{'tag':_0x3bbe12(0x310),'attrs':{'stroke':_0x3bbe12(0x1ab),'d':_0x3bbe12(0x3f8)}}]},_0x1d6855=(0x0,_0x101f75[_0x3bbe12(0x4bc)])(function(_0x98b594,_0xd8a7df){const _0x13f98d=_0x3bbe12;return(0x0,_0x101f75['createElement'])(_0xbd9c36,Object[_0x13f98d(0x46f)]({},_0x98b594,{'id':'shape-format-setting-icon','ref':_0xd8a7df,'icon':_0x2d1435}));});_0x1d6855[_0x3bbe12(0x3a8)]=_0x3bbe12(0x362);let _0x4e0e40={'tag':_0x3bbe12(0x224),'attrs':{'xmlns':_0x3bbe12(0x4c0),'fill':_0x3bbe12(0x300),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x3bbe12(0x215)},'children':[{'tag':_0x3bbe12(0x310),'attrs':{'fill':'currentColor','d':_0x3bbe12(0x410)}},{'tag':_0x3bbe12(0x310),'attrs':{'fill':_0x3bbe12(0x1ab),'d':_0x3bbe12(0x4b9),'fillRule':_0x3bbe12(0x4aa),'clipRule':_0x3bbe12(0x4aa)}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x3bbe12(0x3c2),'fillRule':_0x3bbe12(0x4aa),'clipRule':_0x3bbe12(0x4aa)}}]},_0x542c65=(0x0,_0x101f75['forwardRef'])(function(_0x7fb610,_0x1a6110){const _0x3b94e3=_0x3bbe12;return(0x0,_0x101f75[_0x3b94e3(0x45d)])(_0xbd9c36,Object[_0x3b94e3(0x46f)]({},_0x7fb610,{'id':_0x3b94e3(0x506),'ref':_0x1a6110,'icon':_0x4e0e40}));});_0x542c65[_0x3bbe12(0x3a8)]=_0x3bbe12(0x1fa);function _0x21be35(_0xef31cd){const _0x5e513e=_0x3bbe12;return _0xef31cd[_0x5e513e(0x4d2)]()||void 0x0;}function _0x13d4c7(_0x10113f,_0x51addb,_0x781e38){const _0x3bddb4=_0x3bbe12;var _0x3dfa6c;return((_0x3dfa6c=_0x10113f[_0x3bddb4(0x4fe)])==null?void 0x0:_0x3dfa6c[_0x3bddb4(0x4d2)]())||_0x781e38['t'](_0x3bddb4(0x280)+(0x0,_0x3c7e1c[_0x3bddb4(0x440)])(_0x10113f[_0x3bddb4(0x1d3)]))+'\x20'+(_0x51addb+0x1);}function _0x5d4881({PanelComponent:_0x545447=_0x3ec2cc[_0x3bbe12(0x46d)]}){const _0x16ca58=_0x3bbe12;var _0xb0246e;let _0xdf9771=(0x0,_0x18daae[_0x16ca58(0x38e)])(_0x5b0763['LocaleService']),_0x403f18={'title':_0xdf9771['t'](_0x16ca58(0x313)),'empty':_0xdf9771['t'](_0x16ca58(0x274)),'showAll':_0xdf9771['t'](_0x16ca58(0x265)),'hideAll':_0xdf9771['t'](_0x16ca58(0x2c4)),'lockAll':_0xdf9771['t'](_0x16ca58(0x41d)),'unlockAll':_0xdf9771['t'](_0x16ca58(0x36f)),'moveForward':_0xdf9771['t'](_0x16ca58(0x3d9)),'moveBackward':_0xdf9771['t'](_0x16ca58(0x58f)),'close':_0xdf9771['t'](_0x16ca58(0x1f5)),'show':_0xdf9771['t'](_0x16ca58(0x1e4)),'hide':_0xdf9771['t'](_0x16ca58(0x397)),'lock':_0xdf9771['t'](_0x16ca58(0x351)),'unlock':_0xdf9771['t'](_0x16ca58(0x3ac)),'lockHint':_0xdf9771['t'](_0x16ca58(0x3b2)),'unlockHint':_0xdf9771['t'](_0x16ca58(0x1e2)),'name':_0xdf9771['t'](_0x16ca58(0x329)),'nameInput':_0xdf9771['t'](_0x16ca58(0x49f)),'description':_0xdf9771['t'](_0x16ca58(0x461)),'descriptionPlaceholder':_0xdf9771['t'](_0x16ca58(0x295)),'details':_0xdf9771['t'](_0x16ca58(0x4fc)),'noSelection':_0xdf9771['t'](_0x16ca58(0x2fd)),'locate':_0xdf9771['t'](_0x16ca58(0x30a)),'expand':_0xdf9771['t']('drawing-ui.objectListPanel.expand'),'collapse':_0xdf9771['t'](_0x16ca58(0x3d8)),'dragToReorder':_0xdf9771['t'](_0x16ca58(0x56b)),'search':_0xdf9771['t'](_0x16ca58(0x3cc)),'filterAll':_0xdf9771['t'](_0x16ca58(0x1c1)),'filterHidden':_0xdf9771['t'](_0x16ca58(0x45f)),'filterLocked':_0xdf9771['t'](_0x16ca58(0x514)),'sectionCanvas':_0xdf9771['t'](_0x16ca58(0x33e)),'sectionFloating':_0xdf9771['t'](_0x16ca58(0x3c4))},_0x12c865=(0x0,_0x18daae['useDependency'])(_0x5b0763['ICommandService']),_0x37b279=(0x0,_0x18daae[_0x16ca58(0x38e)])(_0x5b0763[_0x16ca58(0x467)]),_0x52628a=(0x0,_0x18daae['useDependency'])(_0x47629f[_0x16ca58(0x428)]),_0x34c99e=(0x0,_0x18daae[_0x16ca58(0x38e)])(_0x37800f[_0x16ca58(0x457)]),_0x1118c4=(0x0,_0x18daae[_0x16ca58(0x38e)])(_0x463287[_0x16ca58(0x52d)]),[,_0x154f35]=(0x0,_0x101f75[_0x16ca58(0x248)])(_0x4ea69c=>_0x4ea69c+0x1,0x0),_0x5e805e=_0x37b279[_0x16ca58(0x1d2)](_0x5b0763[_0x16ca58(0x48f)][_0x16ca58(0x2ed)]),_0x469340=(_0x5e805e==null?void 0x0:_0x5e805e[_0x16ca58(0x292)]())??'',_0x32e250=(_0x5e805e==null||(_0xb0246e=_0x5e805e[_0x16ca58(0x37e)]())==null?void 0x0:_0xb0246e['getSheetId']())??'',_0x3bb902=(0x0,_0x18daae['useObservable'])(()=>_0x34c99e[_0x16ca58(0x419)],_0x34c99e['getFocusDrawings'](),!0x1,[_0x34c99e]);(0x0,_0x101f75[_0x16ca58(0x272)])(()=>{const _0xf96dce=_0x16ca58;let _0x38bcba=_0x12c865['onCommandExecuted'](()=>_0x154f35());return()=>_0x38bcba[_0xf96dce(0x4a4)]();},[_0x12c865]);let _0x248441=_0x469340&&_0x32e250?_0x52628a[_0x16ca58(0x2cf)](_0x469340,_0x32e250):{},_0x2f3a0c=(_0x469340&&_0x32e250?_0x52628a[_0x16ca58(0x33c)](_0x469340,_0x32e250):[])[_0x16ca58(0x4cb)](_0x3441f6=>_0x248441[_0x3441f6])[_0x16ca58(0x323)](_0x19721b=>!!_0x19721b)[_0x16ca58(0x40e)](),_0x3dd641=_0x2f3a0c[_0x16ca58(0x27a)]((_0x57d4b7,_0x17a669)=>(_0x57d4b7[(0x0,_0x3ec2cc[_0x16ca58(0x276)])(_0x17a669['drawingType'])]+=0x1,_0x57d4b7),{'canvas':0x0,'floating':0x0}),_0x1373d5={'canvas':0x0,'floating':0x0},_0x36831b=_0x2f3a0c['map']((_0x113655,_0x4a5bb5)=>{const _0x4c2cf5=_0x16ca58;let _0x875a74=(0x0,_0x3ec2cc['getObjectListPanelSectionIdForDrawingType'])(_0x113655[_0x4c2cf5(0x1d3)]),_0x388675=_0x875a74===_0x3ec2cc[_0x4c2cf5(0x38d)],_0x1be33f=_0x1373d5[_0x875a74]++;return{'id':_0x113655[_0x4c2cf5(0x1af)],'name':_0x13d4c7(_0x113655,_0x4a5bb5,_0xdf9771),'description':_0x113655['description'],'visible':_0x113655[_0x4c2cf5(0x21f)]!==!0x0,'selectable':_0x113655['selectable']!==!0x1,'sectionId':_0x875a74,'sectionTitle':_0x388675?_0x403f18[_0x4c2cf5(0x29c)]:_0x403f18[_0x4c2cf5(0x209)],'capabilities':_0x388675?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x388675&&_0x1be33f>0x0,'canMoveBackward':!_0x388675&&_0x1be33f<_0x3dd641[_0x4c2cf5(0x4f1)]-0x1,'canReorder':!_0x388675};}),_0x599045=(0x0,_0x101f75[_0x16ca58(0x52a)])(()=>(_0x3bb902??[])['filter'](_0x40ffdf=>_0x40ffdf[_0x16ca58(0x53b)]===_0x469340&&_0x40ffdf[_0x16ca58(0x58c)]===_0x32e250)[_0x16ca58(0x4cb)](_0x39925d=>_0x39925d['drawingId']),[_0x3bb902,_0x32e250,_0x469340]),_0x4a029d=_0x599045[_0x599045[_0x16ca58(0x2bb)]-0x1]??null,_0x50e3a8=_0x443c63=>_0x52628a[_0x16ca58(0x1d0)]({'unitId':_0x469340,'subUnitId':_0x32e250,'drawingId':_0x443c63})??null,_0x692398=async _0x35c6be=>{const _0x33d8b9=_0x16ca58;_0x469340&&_0x35c6be[_0x33d8b9(0x2bb)]&&await _0x12c865[_0x33d8b9(0x207)](_0x47629f[_0x33d8b9(0x1ed)]['id'],{'unitId':_0x469340,'drawings':_0x35c6be});},_0x578d39=async(_0x47fd80,_0x4bf8e8)=>{_0x50e3a8(_0x47fd80)&&await _0x692398([{'unitId':_0x469340,'subUnitId':_0x32e250,'drawingId':_0x47fd80,..._0x4bf8e8}]);},_0x1b3b67=(_0x4b040d,_0x36ca37)=>{const _0x26d72e=_0x16ca58;if(!_0x469340||!_0x32e250)return;let _0xa86f10=_0x36ca37?_0x599045[_0x26d72e(0x2c6)](_0x4b040d)?_0x599045[_0x26d72e(0x323)](_0x36cff3=>_0x36cff3!==_0x4b040d):[..._0x599045,_0x4b040d]:[_0x4b040d];_0x12c865[_0x26d72e(0x510)](_0x37800f[_0x26d72e(0x211)]['id'],_0xa86f10['map'](_0x74af50=>({'unitId':_0x469340,'subUnitId':_0x32e250,'drawingId':_0x74af50})));let _0x3a5a38=_0xa86f10[_0xa86f10[_0x26d72e(0x2bb)]-0x1];_0x3a5a38?(0x0,_0x3c7e1c['activateDrawingObject'])(_0x1118c4,{'unitId':_0x469340,'subUnitId':_0x32e250,'drawingId':_0x3a5a38}):(0x0,_0x3c7e1c['clearActiveDrawingObjects'])(_0x1118c4,_0x469340);},_0x4b620a=async(_0x4aeb2f,_0x2c6ee3)=>{const _0x1d342e=_0x16ca58;await _0x692398(_0x4aeb2f[_0x1d342e(0x4cb)](_0x2bced8=>_0x50e3a8(_0x2bced8))['filter'](_0x30a846=>!!_0x30a846)['filter'](_0x287ff9=>_0x287ff9[_0x1d342e(0x21f)]!==!0x0!==_0x2c6ee3)['map'](_0x2fd6cf=>({'unitId':_0x469340,'subUnitId':_0x32e250,'drawingId':_0x2fd6cf[_0x1d342e(0x1af)],'hidden':!_0x2c6ee3})));},_0x154c72=async(_0x28d681,_0x4935a6)=>{const _0x43d74c=_0x16ca58;await _0x692398(_0x28d681['map'](_0x14e94c=>_0x50e3a8(_0x14e94c))[_0x43d74c(0x323)](_0x5d81de=>!!_0x5d81de)[_0x43d74c(0x323)](_0x176519=>_0x176519[_0x43d74c(0x517)]!==!0x1!==_0x4935a6)[_0x43d74c(0x4cb)](_0x1c25c8=>({'unitId':_0x469340,'subUnitId':_0x32e250,'drawingId':_0x1c25c8['drawingId'],'selectable':_0x4935a6})));},_0xd58819=_0x4491af=>{const _0x408256=_0x16ca58;let _0x7e0b61=_0x50e3a8(_0x4491af);if(_0x7e0b61)return _0x154c72([_0x4491af],_0x7e0b61[_0x408256(0x517)]===!0x1);},_0x262449=async(_0x4c6ad7,_0x30bb63)=>{const _0xe0dd46=_0x16ca58;var _0x2ce170;let _0x554a4f=_0x21be35(_0x30bb63);(((_0x2ce170=_0x50e3a8(_0x4c6ad7))==null?void 0x0:_0x2ce170[_0xe0dd46(0x4fe)])??void 0x0)!==_0x554a4f&&await _0x578d39(_0x4c6ad7,{'name':_0x554a4f});},_0x98b304=async(_0x3e565d,_0x19bb3a)=>{const _0x2cfd58=_0x16ca58;var _0xcf5c43;let _0x2f4c0d=_0x21be35(_0x19bb3a);(((_0xcf5c43=_0x50e3a8(_0x3e565d))==null?void 0x0:_0xcf5c43[_0x2cfd58(0x266)])??void 0x0)!==_0x2f4c0d&&await _0x578d39(_0x3e565d,{'description':_0x2f4c0d});},_0x1eaaee=async(_0x497e99,_0x47c21f)=>{const _0x32fcdf=_0x16ca58;_0x469340&&_0x32e250&&await _0x12c865[_0x32fcdf(0x207)](_0x47629f[_0x32fcdf(0x4d9)]['id'],{'unitId':_0x469340,'subUnitId':_0x32e250,'drawingIds':[_0x497e99],'arrangeType':_0x47c21f});};return!_0x469340||!_0x32e250?(0x0,_0x521d83[_0x16ca58(0x53e)])('div',{'className':'univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','children':_0x403f18[_0x16ca58(0x534)]}):(0x0,_0x521d83[_0x16ca58(0x53e)])(_0x545447,{'labels':_0x403f18,'items':_0x36831b,'selectedIds':_0x599045,'focusedId':_0x4a029d,'showHeader':!0x1,'onSelect':_0x1b3b67,'onSetVisible':_0x4b620a,'onSetSelectable':_0x154c72,'onCommitName':_0x262449,'onCommitDescription':_0x98b304,'onMoveForward':async _0x34b2ed=>_0x1eaaee(_0x34b2ed,_0x5b0763[_0x16ca58(0x2fa)][_0x16ca58(0x4a2)]),'onMoveBackward':async _0x585712=>_0x1eaaee(_0x585712,_0x5b0763[_0x16ca58(0x2fa)][_0x16ca58(0x2f0)]),'onToggleSelectable':_0xd58819});}function _0x421455(){const _0x7f1727=_0x3bbe12;return(0x0,_0x521d83[_0x7f1727(0x53e)])(_0x5d4881,{'PanelComponent':_0x3ec2cc[_0x7f1727(0x1cb)]});}let _0x2f7941=class extends _0x5b0763[_0x3bbe12(0x1de)]{constructor(_0x14e16e,_0x2e47ec){const _0x53fa19=_0x3bbe12;super(),this[_0x53fa19(0x368)](_0x14e16e[_0x53fa19(0x2b4)](_0x532b4c,_0x421455)),this[_0x53fa19(0x368)](_0x2e47ec[_0x53fa19(0x2b4)]({'BottomIcon':_0x5e6af3,'FlipHorizontalIcon':_0x291692,'FlipVerticalIcon':_0x1a77b3,'MoveDownIcon':_0x152cba,'MoveUpIcon':_0xe52333,'ObjectLayersIcon':_0x31f0cf,'ShapeFormatSettingIcon':_0x1d6855,'TopmostIcon':_0x542c65})),this[_0x53fa19(0x368)](_0x14e16e[_0x53fa19(0x2b4)](_0x59f393,_0x62158b)),this['disposeWithMe'](_0x14e16e[_0x53fa19(0x2b4)](_0x361d67,_0x159d71)),_0x14e16e['get'](_0x3ec2cc['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'])||this[_0x53fa19(0x368)](_0x14e16e['register'](_0x3ec2cc[_0x53fa19(0x2b7)],_0x3b5274));}};_0x2f7941=_0x476b0f([_0x5ec307(0x0,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x18daae[_0x3bbe12(0x466)])),_0x5ec307(0x1,(0x0,_0x5b0763['Inject'])(_0x18daae[_0x3bbe12(0x51a)]))],_0x2f7941);let _0x57efab=class extends _0x5b0763['Disposable']{constructor(_0x226bbc){const _0xf3c6e=_0x3bbe12;super(),this['_permissionService']=_0x226bbc,_0x19095(this,'_editingParams$',new _0x3d6362['BehaviorSubject'](null)),_0x19095(this,_0xf3c6e(0x571),this[_0xf3c6e(0x348)]['asObservable']()),_0x19095(this,_0xf3c6e(0x472),new _0x3d6362[(_0xf3c6e(0x49c))](!0x1)),_0x19095(this,'onSavingEditorData$',this[_0xf3c6e(0x472)][_0xf3c6e(0x483)]()),_0x19095(this,_0xf3c6e(0x1c7),void 0x0),this['disposeWithMe'](this[_0xf3c6e(0x494)][_0xf3c6e(0x270)]['subscribe'](()=>{const _0x4ba3d3=_0xf3c6e;let _0x52df52=this[_0x4ba3d3(0x246)]();_0x52df52!=null&&_0x52df52[_0x4ba3d3(0x210)]&&!this[_0x4ba3d3(0x43a)](_0x52df52)&&this[_0x4ba3d3(0x268)](null);}));}[_0x3bbe12(0x4a4)](){const _0x4d4a55=_0x3bbe12;this[_0x4d4a55(0x548)](),this[_0x4d4a55(0x348)][_0x4d4a55(0x32b)](null),this[_0x4d4a55(0x348)][_0x4d4a55(0x55d)](),this['_onSavingEditorData$'][_0x4d4a55(0x32b)](!0x1),this[_0x4d4a55(0x472)]['complete'](),super[_0x4d4a55(0x4a4)]();}[_0x3bbe12(0x268)](_0x5e2c4f){const _0xd2bb89=_0x3bbe12;(_0x5e2c4f==null||!_0x5e2c4f[_0xd2bb89(0x210)]||this[_0xd2bb89(0x43a)](_0x5e2c4f))&&(this[_0xd2bb89(0x548)](),this[_0xd2bb89(0x348)]['next'](_0x5e2c4f),(_0x5e2c4f==null||_0x5e2c4f[_0xd2bb89(0x210)]&&this[_0xd2bb89(0x472)]['getValue']())&&this['_onSavingEditorData$']['next'](!0x1));}[_0x3bbe12(0x35c)](_0x2f8324){const _0x400dd6=_0x3bbe12;this[_0x400dd6(0x472)]['next'](_0x2f8324);}[_0x3bbe12(0x246)](){const _0xfb818a=_0x3bbe12;return this['_editingParams$'][_0xfb818a(0x2d0)]();}[_0x3bbe12(0x43a)](_0x2fd3c5){const _0x500573=_0x3bbe12;let _0x3bb010=this[_0x500573(0x494)][_0x500573(0x2d2)](new _0x2e7766['WorkbookEditablePermission'](_0x2fd3c5[_0x500573(0x53b)])['id']),_0x5d78b5=this[_0x500573(0x494)][_0x500573(0x2d2)](new _0x2e7766[(_0x500573(0x1cc))](_0x2fd3c5['unitId'],_0x2fd3c5[_0x500573(0x58c)])['id']);return((_0x3bb010==null?void 0x0:_0x3bb010[_0x500573(0x43f)])??!0x0)&&((_0x5d78b5==null?void 0x0:_0x5d78b5['value'])??!0x0);}['completeEditing'](_0x299b77){const _0x450c96=_0x3bbe12;let _0x35c19d=this[_0x450c96(0x246)]();_0x35c19d&&this['_completionFrame']===void 0x0&&(this[_0x450c96(0x35c)](!0x0),this[_0x450c96(0x1c7)]=requestAnimationFrame(()=>{const _0x31dba7=_0x450c96;this['_completionFrame']=void 0x0,this['getEditing']()===_0x35c19d&&this[_0x31dba7(0x268)](null);}));}['_clearCompletionFrame'](){const _0x172ded=_0x3bbe12;this[_0x172ded(0x1c7)]!==void 0x0&&(cancelAnimationFrame(this[_0x172ded(0x1c7)]),this[_0x172ded(0x1c7)]=void 0x0);}[_0x3bbe12(0x3ce)](){const _0x70fb44=_0x3bbe12;this[_0x70fb44(0x246)]()&&this[_0x70fb44(0x268)](null);}};_0x57efab=_0x476b0f([_0x5ec307(0x0,_0x5b0763[_0x3bbe12(0x2e9)])],_0x57efab);let _0x501afa=class extends _0x5b0763['Disposable']{constructor(_0x4cbd16,_0xc14408,_0x5b185a,_0x2d5467,_0x83c511,_0x150902){const _0x506e56=_0x3bbe12;super(),this['_context']=_0x4cbd16,this[_0x506e56(0x342)]=_0xc14408,this['_shapeTextEditingService']=_0x5b185a,this[_0x506e56(0x4fb)]=_0x2d5467,this[_0x506e56(0x299)]=_0x83c511,this[_0x506e56(0x3e3)]=_0x150902,_0x19095(this,_0x506e56(0x2c8),null),this['_initEvents'](),this[_0x506e56(0x1c0)](),this[_0x506e56(0x44e)]();}[_0x3bbe12(0x24d)](){const _0x5228d6=_0x3bbe12;let {scene:_0x4c93a7}=this[_0x5228d6(0x4a9)];this[_0x5228d6(0x368)](_0x4c93a7[_0x5228d6(0x42b)]['subscribeEvent'](_0x527b68=>{const _0xd7f7bd=_0x5228d6;let {offsetX:_0x3ae834,offsetY:_0x3375c3}=_0x527b68,_0x2f3304=_0x4c93a7['pick'](_0x463287[_0xd7f7bd(0x50e)]['FromArray']([_0x3ae834,_0x3375c3]));if(_0x2f3304 instanceof _0x30f195){let _0x445dd3=this['_sheetsShapeService'][_0xd7f7bd(0x338)](_0x2f3304[_0xd7f7bd(0x53b)],_0x2f3304[_0xd7f7bd(0x58c)],_0x2f3304[_0xd7f7bd(0x222)]);if((0x0,_0x1c9bad[_0xd7f7bd(0x48b)])(this['_sheetsShapeService'][_0xd7f7bd(0x281)](_0x2f3304['unitId'],_0x2f3304[_0xd7f7bd(0x58c)],_0x2f3304['shapeId']))||_0x445dd3!=null&&_0x445dd3[_0xd7f7bd(0x334)]()[_0xd7f7bd(0x3c5)])return;this[_0xd7f7bd(0x2e5)][_0xd7f7bd(0x268)]({'visible':!0x0,'unitId':_0x2f3304[_0xd7f7bd(0x53b)],'subUnitId':_0x2f3304[_0xd7f7bd(0x58c)],'shapeId':_0x2f3304[_0xd7f7bd(0x222)],'shapeKey':_0x2f3304['oKey']});}}));}[_0x3bbe12(0x1c0)](){const _0x466687=_0x3bbe12;this[_0x466687(0x368)](this[_0x466687(0x4fb)][_0x466687(0x419)][_0x466687(0x4f5)](_0x54f6d3=>{const _0x44b113=_0x466687;if(_0x54f6d3['length']===0x1){let _0x3c910c=_0x54f6d3[0x0],_0x337b53=this[_0x44b113(0x4fb)][_0x44b113(0x1d0)](_0x3c910c);if((_0x337b53==null?void 0x0:_0x337b53[_0x44b113(0x1d3)])===_0x5b0763[_0x44b113(0x2f8)][_0x44b113(0x462)]){var _0x250051;let _0x5a11da=this[_0x44b113(0x2e5)][_0x44b113(0x246)]();if((_0x5a11da==null?void 0x0:_0x5a11da[_0x44b113(0x222)])===_0x3c910c[_0x44b113(0x1af)]&&_0x5a11da['visible'])return;let _0x3ab82b=(0x0,_0x1c9bad[_0x44b113(0x48b)])(this[_0x44b113(0x3e3)][_0x44b113(0x281)](_0x3c910c[_0x44b113(0x53b)],_0x3c910c['subUnitId'],_0x3c910c[_0x44b113(0x1af)])),_0x3fae45=!!((_0x250051=this[_0x44b113(0x3e3)][_0x44b113(0x338)](_0x3c910c['unitId'],_0x3c910c[_0x44b113(0x58c)],_0x3c910c[_0x44b113(0x1af)]))!=null&&_0x250051[_0x44b113(0x334)]()[_0x44b113(0x3c5)]);(_0x3ab82b||_0x3fae45)&&this[_0x44b113(0x2e5)][_0x44b113(0x268)](null);}else this[_0x44b113(0x2e5)][_0x44b113(0x3d4)]();}else this[_0x44b113(0x2e5)][_0x44b113(0x3d4)]();})),this[_0x466687(0x368)](this[_0x466687(0x4fb)]['remove$'][_0x466687(0x4f5)](_0x41cc75=>{const _0x2038c9=_0x466687;let _0x3a0259=this[_0x2038c9(0x2e5)][_0x2038c9(0x246)]();_0x3a0259&&_0x41cc75[_0x2038c9(0x3ca)](_0x2601bb=>_0x2601bb[_0x2038c9(0x1af)]===_0x3a0259[_0x2038c9(0x222)])&&this[_0x2038c9(0x2e5)][_0x2038c9(0x268)](null);}));}[_0x3bbe12(0x44e)](){const _0x455c47=_0x3bbe12;this[_0x455c47(0x368)](this[_0x455c47(0x2e5)][_0x455c47(0x571)][_0x455c47(0x4f5)](_0x3df418=>{const _0x25a999=_0x455c47;let {scene:_0x156537}=this[_0x25a999(0x4a9)];if(this[_0x25a999(0x2c8)]){let _0x3936c5=_0x156537[_0x25a999(0x53d)](this[_0x25a999(0x2c8)]);_0x3936c5&&_0x3936c5[_0x25a999(0x268)](!0x1);}if(_0x3df418){let _0x4a9dd1=!!_0x3df418[_0x25a999(0x210)],_0x23a0e1=_0x156537[_0x25a999(0x53d)](_0x3df418['shapeKey']);_0x23a0e1&&(_0x23a0e1[_0x25a999(0x268)](_0x4a9dd1),this[_0x25a999(0x2c8)]=_0x3df418['shapeKey']),this['_contextService']['setContextValue'](_0x5b0763[_0x25a999(0x4f9)],_0x4a9dd1);}else this[_0x25a999(0x2c8)]=null,this[_0x25a999(0x299)][_0x25a999(0x256)](_0x5b0763['FOCUSING_SHAPE_TEXT_EDITOR'],!0x1);}));}};_0x501afa=_0x476b0f([_0x5ec307(0x1,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x5b0763[_0x3bbe12(0x2cd)])),_0x5ec307(0x2,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x57efab)),_0x5ec307(0x3,_0x37800f[_0x3bbe12(0x457)]),_0x5ec307(0x4,_0x5b0763[_0x3bbe12(0x238)]),_0x5ec307(0x5,(0x0,_0x5b0763['Inject'])(_0x501fe5[_0x3bbe12(0x235)]))],_0x501afa);var _0x4b2005=class extends _0x501afa{[_0x3bbe12(0x24d)](){const _0x4a8184=_0x3bbe12;let {scene:_0x5820b1}=this[_0x4a8184(0x4a9)],_0x368e50=this[_0x4a8184(0x342)]['get'](_0x3c7e1c[_0x4a8184(0x48a)]);this[_0x4a8184(0x368)](_0x5820b1['onDblclick$'][_0x4a8184(0x373)](_0x4395dd=>{const _0x46bc50=_0x4a8184;let {offsetX:_0x4ea26f,offsetY:_0x2b09e6}=_0x4395dd,_0x24f566=_0x5820b1[_0x46bc50(0x488)](_0x463287[_0x46bc50(0x50e)]['FromArray']([_0x4ea26f,_0x2b09e6]));if(!(_0x24f566 instanceof _0x30f195))return;let _0x180091=this[_0x46bc50(0x3e3)][_0x46bc50(0x338)](_0x24f566['unitId'],_0x24f566[_0x46bc50(0x58c)],_0x24f566['shapeId']);(0x0,_0x1c9bad[_0x46bc50(0x48b)])(this[_0x46bc50(0x3e3)][_0x46bc50(0x281)](_0x24f566[_0x46bc50(0x53b)],_0x24f566[_0x46bc50(0x58c)],_0x24f566['shapeId']))||_0x180091!=null&&_0x180091[_0x46bc50(0x334)]()[_0x46bc50(0x3c5)]||_0x368e50[_0x46bc50(0x45a)]('text',{'hostType':_0x5b0763[_0x46bc50(0x48f)][_0x46bc50(0x2ed)],'unitId':_0x24f566[_0x46bc50(0x53b)],'subUnitId':_0x24f566[_0x46bc50(0x58c)],'shapeId':_0x24f566[_0x46bc50(0x222)]});}));}};let _0x4be1e5={..._0x37ed41},_0x500e01=class extends _0x5b0763['Disposable']{constructor(_0x23727d,_0x2de039,_0x55bf4d,_0x556051,_0x4af61d,_0x259cd6,_0x25cc02,_0x386c49){const _0x1ec0c3=_0x3bbe12;super(),this[_0x1ec0c3(0x47b)]=_0x23727d,this[_0x1ec0c3(0x3e3)]=_0x2de039,this[_0x1ec0c3(0x555)]=_0x55bf4d,this[_0x1ec0c3(0x4fb)]=_0x556051,this[_0x1ec0c3(0x247)]=_0x4af61d,this[_0x1ec0c3(0x299)]=_0x259cd6,this[_0x1ec0c3(0x3e6)]=_0x25cc02,this['_shapeTextEditingService']=_0x386c49,_0x19095(this,_0x1ec0c3(0x521),null),this['_menuManagerService'][_0x1ec0c3(0x20d)](_0x4be1e5),this[_0x1ec0c3(0x46e)](),this['disposeWithMe'](this[_0x1ec0c3(0x2e5)][_0x1ec0c3(0x571)]['subscribe'](_0x489cda=>{const _0x5a293a=_0x1ec0c3;_0x489cda&&this[_0x5a293a(0x579)]();}));}[_0x3bbe12(0x2b1)](){const _0x4c2c70=_0x3bbe12;this[_0x4c2c70(0x521)]||=this['disposeWithMe']((0x0,_0x3c7e1c['bindRenderTransformerLifecycle'])(this[_0x4c2c70(0x3e6)],_0x5b0763['UniverInstanceType'][_0x4c2c70(0x2ed)],_0x1c207c=>this[_0x4c2c70(0x358)](_0x1c207c)));}[_0x3bbe12(0x46e)](){const _0x3fc084=_0x3bbe12;this[_0x3fc084(0x247)]['registerFeatureMenu'](_0x5b0763['DrawingTypeEnum'][_0x3fc084(0x462)],(_0x2e73c3,_0x13e42f,_0x20c70e,_0xaa52c7)=>{const _0x3b1d20=_0x3fc084;let _0x5f0e0e=this['_sheetsShapeService']['getShapeTypeById'](_0x2e73c3,_0x13e42f,_0x20c70e),_0x581570=this[_0x3b1d20(0x3e3)]['getShapeDataById'](_0x2e73c3,_0x13e42f,_0x20c70e),_0x478e93=_0x5f0e0e!==void 0x0&&!(0x0,_0x1c9bad[_0x3b1d20(0x48b)])(_0x5f0e0e)&&!(_0x581570!=null&&_0x581570[_0x3b1d20(0x3c5)]);return[{'label':_0x3b1d20(0x255),'index':0x0,'commandId':_0x6dca8e['id'],'commandParams':{'unitId':_0x2e73c3,'subUnitId':_0x13e42f,'drawingId':_0x20c70e,'mode':_0x3b1d20(0x29b)},'disable':!0x1},..._0x478e93?[{'label':_0x3b1d20(0x3be),'index':0x1,'commandId':_0x6dca8e['id'],'commandParams':{'unitId':_0x2e73c3,'subUnitId':_0x13e42f,'drawingId':_0x20c70e,'mode':_0x3b1d20(0x573)},'disable':!0x1}]:[],{'label':_0x3b1d20(0x4e1),'index':0x2,'commandId':_0x47629f[_0x3b1d20(0x536)]['id'],'commandParams':{'unitId':_0x2e73c3,'drawings':[{'unitId':_0x2e73c3,'subUnitId':_0x13e42f,'drawingId':_0x20c70e,'drawingType':_0xaa52c7}]},'disable':!0x1},{'label':_0x3b1d20(0x229),'index':0x3,'commandId':_0x501fe5[_0x3b1d20(0x2c5)]['id'],'commandParams':{'unitId':_0x2e73c3,'subUnitId':_0x13e42f,'shapeId':_0x20c70e,'flipH':!0x0},'disable':!0x1},{'label':'sheets-shape-ui.flipVertical','index':0x4,'commandId':_0x501fe5[_0x3b1d20(0x2c5)]['id'],'commandParams':{'unitId':_0x2e73c3,'subUnitId':_0x13e42f,'shapeId':_0x20c70e,'flipV':!0x0},'disable':!0x1}];},_0x3fc084(0x33f));}['_popupMenuListener'](_0x4aff3e){const _0x4c8b62=_0x3bbe12;let _0x2628a2=new _0x5b0763[(_0x4c8b62(0x25d))](),_0x396572=null,_0x5238f5=()=>{const _0x2aa9b2=_0x4c8b62;if(!_0x396572)return;let _0x597c7d=this[_0x2aa9b2(0x4fb)][_0x2aa9b2(0x2ac)](),_0x398590=_0x597c7d[_0x2aa9b2(0x2bb)]===0x0||_0x597c7d[_0x2aa9b2(0x2bb)]===0x1&&_0x597c7d[_0x2aa9b2(0x3ca)](_0x24f699=>_0x24f699[_0x2aa9b2(0x53b)]===(_0x396572==null?void 0x0:_0x396572[_0x2aa9b2(0x53b)])&&_0x24f699['subUnitId']===(_0x396572==null?void 0x0:_0x396572[_0x2aa9b2(0x58c)])&&_0x24f699['drawingId']===(_0x396572==null?void 0x0:_0x396572[_0x2aa9b2(0x1af)]));_0x396572=null,_0x398590&&(this['_contextService'][_0x2aa9b2(0x256)](_0x5b0763['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x2aa9b2(0x4fb)]['focusDrawing'](null));};return _0x2628a2[_0x4c8b62(0x495)](_0x4aff3e[_0x4c8b62(0x562)][_0x4c8b62(0x4f5)](()=>{const _0x2445ca=_0x4c8b62;let _0x1c6313=_0x4aff3e[_0x2445ca(0x30f)]();if(_0x1c6313['size']>0x1){_0x5238f5();return;}let _0x464d7c=_0x1c6313[_0x2445ca(0x4db)]()['next']()[_0x2445ca(0x43f)];if(!_0x464d7c){_0x5238f5();return;}let _0x4d7b1d=this[_0x2445ca(0x4fb)]['getDrawingOKey'](_0x464d7c['oKey']);if(!_0x4d7b1d||_0x4d7b1d[_0x2445ca(0x1d3)]!==_0x5b0763[_0x2445ca(0x2f8)][_0x2445ca(0x462)]){_0x5238f5();return;}let {unitId:_0xa05763,subUnitId:_0xc6d54f,drawingId:_0x138c91}=_0x4d7b1d;_0x396572={'unitId':_0xa05763,'subUnitId':_0xc6d54f,'drawingId':_0x138c91},this[_0x2445ca(0x299)]['setContextValue'](_0x5b0763['FOCUSING_COMMON_DRAWINGS'],!0x0),this[_0x2445ca(0x4fb)][_0x2445ca(0x2ac)]()['find'](_0x21b002=>_0x21b002[_0x2445ca(0x53b)]===_0xa05763&&_0x21b002[_0x2445ca(0x58c)]===_0xc6d54f&&_0x21b002['drawingId']===_0x138c91)||this[_0x2445ca(0x4fb)][_0x2445ca(0x416)]([{'unitId':_0xa05763,'subUnitId':_0xc6d54f,'drawingId':_0x138c91}]);})),_0x2628a2[_0x4c8b62(0x495)](_0x4aff3e['clearControl$']['subscribe'](()=>{_0x5238f5();})),(0x0,_0x5b0763['toDisposable'])(()=>{const _0xfb2cb2=_0x4c8b62;_0x2628a2[_0xfb2cb2(0x4a4)](),_0x5238f5();});}['_clearFocusedShape'](){const _0x41b081=_0x3bbe12;this[_0x41b081(0x299)][_0x41b081(0x256)](_0x5b0763[_0x41b081(0x1cf)],!0x1),this[_0x41b081(0x4fb)][_0x41b081(0x416)](null);}};_0x500e01=_0x476b0f([_0x5ec307(0x0,_0x18daae[_0x3bbe12(0x303)]),_0x5ec307(0x1,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x501fe5[_0x3bbe12(0x235)])),_0x5ec307(0x2,_0x5b0763[_0x3bbe12(0x2c3)]),_0x5ec307(0x3,_0x37800f[_0x3bbe12(0x457)]),_0x5ec307(0x4,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x54c89f[_0x3bbe12(0x2af)])),_0x5ec307(0x5,_0x5b0763[_0x3bbe12(0x238)]),_0x5ec307(0x6,_0x463287[_0x3bbe12(0x52d)]),_0x5ec307(0x7,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x57efab))],_0x500e01);function _0x1666d0(_0x5de04c,_0x221402,_0x11511a,_0x2ca686){const _0x28c557=_0x3bbe12;let _0x16a260=(0x0,_0x37800f['getOrCreateDrawingCopyPlan'])(_0x5de04c,_0x221402,_0x11511a),_0x324752=[];for(let _0x17c831 of _0x221402){let _0x329754=_0x16a260[_0x28c557(0x508)]['get'](_0x17c831['drawingId']),_0xf2669e=_0x2ca686(_0x17c831);_0x329754&&_0xf2669e&&_0x324752[_0x28c557(0x36e)]({'targetShapeId':_0x329754,'source':_0xf2669e});}return _0x324752;}let _0x4c0745=class extends _0x5b0763[_0x3bbe12(0x1de)]{constructor(_0x5be909,_0x2c259f,_0x15ec14,_0x4db613){const _0x3b2f7f=_0x3bbe12;super(),this[_0x3b2f7f(0x2cc)]=_0x5be909,this[_0x3b2f7f(0x20a)]=_0x2c259f,this['_sheetDrawingService']=_0x15ec14,this[_0x3b2f7f(0x3e3)]=_0x4db613,this['_initSheetChange']();}['_initSheetChange'](){const _0x4f75b6=_0x3bbe12;this[_0x4f75b6(0x368)](this[_0x4f75b6(0x20a)]['interceptCommand']({'getMutations':_0x18811=>{const _0x50a99a=_0x4f75b6;if(_0x18811['id']===_0x2e7766['RemoveSheetCommand']['id']){let _0x5be2ac=(0x0,_0x2e7766[_0x50a99a(0x279)])(this[_0x50a99a(0x2cc)],_0x18811['params']);if(!_0x5be2ac)return{'redos':[],'undos':[]};let {unitId:_0x3ae797,subUnitId:_0x4ae5e8}=_0x5be2ac,_0x3bdcba=this[_0x50a99a(0x387)][_0x50a99a(0x2cf)](_0x3ae797,_0x4ae5e8),_0x37b3d6=Object[_0x50a99a(0x4db)](_0x3bdcba)['filter'](_0x229b51=>_0x229b51[_0x50a99a(0x1d3)]===_0x5b0763['DrawingTypeEnum'][_0x50a99a(0x462)]);if(_0x37b3d6[_0x50a99a(0x2bb)]===0x0)return{'redos':[],'undos':[]};let _0x51fc9e=[],_0x10faaa=[];for(let _0x27d1ec=0x0;_0x27d1ec<_0x37b3d6[_0x50a99a(0x2bb)];_0x27d1ec++){let _0x1f0eaf=_0x37b3d6[_0x27d1ec],_0x5654fa=this[_0x50a99a(0x3e3)][_0x50a99a(0x338)](_0x1f0eaf[_0x50a99a(0x53b)],_0x1f0eaf[_0x50a99a(0x58c)],_0x1f0eaf[_0x50a99a(0x1af)]);_0x5654fa&&(_0x51fc9e[_0x50a99a(0x36e)]({'id':_0x501fe5[_0x50a99a(0x2ba)]['id'],'params':{'unitId':_0x3ae797,'subUnitId':_0x4ae5e8,'shapeId':_0x1f0eaf['drawingId']}}),_0x10faaa[_0x50a99a(0x36e)]({'id':_0x501fe5['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x3ae797,'subUnitId':_0x4ae5e8,'shapeId':_0x1f0eaf[_0x50a99a(0x1af)],'shapeType':_0x5654fa['getShapeType'](),'shapeData':JSON[_0x50a99a(0x504)](JSON[_0x50a99a(0x3ec)](_0x5654fa[_0x50a99a(0x334)]()))}}));}return{'redos':_0x51fc9e,'undos':_0x10faaa};}if(_0x18811['id']===_0x2e7766['CopySheetCommand']['id']){let {unitId:_0x41861f,subUnitId:_0x4b436b,targetSubUnitId:_0x517ce5,copyContext:_0xbc5ba9}=_0x18811[_0x50a99a(0x242)];if(!_0x41861f||!_0x4b436b||!_0x517ce5)return{'redos':[],'undos':[]};let _0x1f6a00=this['_sheetDrawingService'][_0x50a99a(0x2cf)](_0x41861f,_0x4b436b),_0x15a26f=Object[_0x50a99a(0x4db)](_0x1f6a00)['filter'](_0x2661e8=>_0x2661e8[_0x50a99a(0x1d3)]===_0x5b0763['DrawingTypeEnum'][_0x50a99a(0x462)]);if(_0x15a26f[_0x50a99a(0x2bb)]===0x0)return{'redos':[],'undos':[]};let _0x93e7d0=_0x1666d0(_0xbc5ba9,_0x15a26f,{'unitId':_0x41861f,'sourceSubUnitId':_0x4b436b,'targetSubUnitId':_0x517ce5},_0x5523e3=>{const _0x544222=_0x50a99a;let _0x177f75=this['_sheetsShapeService'][_0x544222(0x338)](_0x5523e3[_0x544222(0x53b)],_0x5523e3['subUnitId'],_0x5523e3[_0x544222(0x1af)]);if(_0x177f75)return{'shapeType':_0x177f75[_0x544222(0x281)](),'shapeData':JSON[_0x544222(0x504)](JSON[_0x544222(0x3ec)](_0x177f75[_0x544222(0x334)]()))};}),_0x15f063=[],_0x2d6af5=[];for(let {targetShapeId:_0x56220f,source:_0xe8ed20}of _0x93e7d0)_0x15f063[_0x50a99a(0x36e)]({'id':_0x501fe5[_0x50a99a(0x205)]['id'],'params':{'unitId':_0x41861f,'subUnitId':_0x517ce5,'shapeId':_0x56220f,'shapeType':_0xe8ed20[_0x50a99a(0x456)],'shapeData':_0xe8ed20[_0x50a99a(0x3d1)]}}),_0x2d6af5[_0x50a99a(0x36e)]({'id':_0x501fe5[_0x50a99a(0x2ba)]['id'],'params':{'unitId':_0x41861f,'subUnitId':_0x517ce5,'shapeId':_0x56220f}});return{'redos':_0x15f063,'undos':_0x2d6af5};}return{'redos':[],'undos':[]};}}));}};_0x4c0745=_0x476b0f([_0x5ec307(0x0,(0x0,_0x5b0763['Inject'])(_0x5b0763[_0x3bbe12(0x467)])),_0x5ec307(0x1,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x2e7766[_0x3bbe12(0x2db)])),_0x5ec307(0x2,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x47629f[_0x3bbe12(0x428)])),_0x5ec307(0x3,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x501fe5[_0x3bbe12(0x235)]))],_0x4c0745);let _0x337505=class extends _0x5b0763['Disposable']{constructor(_0x57a905,_0x3686e7,_0x1b1e86,_0x1eab06,_0x302abd,_0x34e342){const _0x1269f6=_0x3bbe12;super(),this[_0x1269f6(0x555)]=_0x57a905,this[_0x1269f6(0x3e6)]=_0x3686e7,this[_0x1269f6(0x4fb)]=_0x1b1e86,this['_currentUniverService']=_0x1eab06,this[_0x1269f6(0x3b7)]=_0x302abd,this[_0x1269f6(0x2be)]=_0x34e342,_0x19095(this,'_insertingShapeKeys',new Set()),this[_0x1269f6(0x598)]();}[_0x3bbe12(0x598)](){const _0x18140f=_0x3bbe12;this[_0x18140f(0x3e2)](),this['_commandExecutedListener'](),this[_0x18140f(0x26b)]();}['_drawingAddListener'](){const _0x542acf=_0x3bbe12;this[_0x542acf(0x368)](this[_0x542acf(0x4fb)][_0x542acf(0x23d)][_0x542acf(0x4f5)](_0x4b0669=>{const _0x5a0560=_0x542acf;this[_0x5a0560(0x475)](_0x4b0669);}));}[_0x3bbe12(0x3c3)](){const _0x36fa94=_0x3bbe12;this[_0x36fa94(0x368)](this[_0x36fa94(0x555)]['onCommandExecuted']((_0x5c2048,_0x321f88)=>{const _0x4a0c4e=_0x36fa94;if(_0x5c2048['id']===_0x501fe5[_0x4a0c4e(0x533)]['id']){let {unitId:_0x43b2c5,subUnitId:_0x5676d1,shapeId:_0x2da927}=_0x5c2048[_0x4a0c4e(0x242)],_0x387a34=this[_0x4a0c4e(0x59a)](_0x43b2c5),_0x346df6=(0x0,_0x37800f[_0x4a0c4e(0x574)])({'unitId':_0x43b2c5,'subUnitId':_0x5676d1,'drawingId':_0x2da927}),_0x176a36=_0x387a34==null?void 0x0:_0x387a34['scene']['getObjectIncludeInGroup'](_0x346df6);_0x176a36&&(this['_sheetDrawingShapeRenderController']['refreshShapeFillImage'](_0x176a36),this[_0x4a0c4e(0x2be)][_0x4a0c4e(0x271)](_0x176a36,{'unitId':_0x43b2c5,'subUnitId':_0x5676d1,'shapeId':_0x2da927}),_0x176a36[_0x4a0c4e(0x1b8)](!0x0));return;}if(_0x5c2048['id']===_0x501fe5['InsertSheetsShapeMutation']['id']){var _0x14ed0d;let {unitId:_0x4d4d3d,subUnitId:_0x3a95a7,shapeId:_0x4c521f}=_0x5c2048[_0x4a0c4e(0x242)],_0x1f5ecc=this[_0x4a0c4e(0x59a)](_0x4d4d3d);if(_0x1f5ecc==null)return;let {scene:_0x758187}=_0x1f5ecc,_0x1ad62d=(0x0,_0x37800f[_0x4a0c4e(0x574)])({'unitId':_0x4d4d3d,'subUnitId':_0x3a95a7,'drawingId':_0x4c521f}),_0x513212=_0x758187[_0x4a0c4e(0x53d)](_0x1ad62d);if(!((_0x14ed0d=this['_renderManagerService']['getRenderUnitById'](_0x4d4d3d))!=null&&_0x14ed0d[_0x4a0c4e(0x512)](_0x54c89f[_0x4a0c4e(0x542)])['getSkeleton'](_0x3a95a7)))return!0x1;if(_0x513212)return;if(_0x321f88!=null&&_0x321f88[_0x4a0c4e(0x1f8)]){queueMicrotask(()=>{const _0x30fe5b=_0x4a0c4e;this[_0x30fe5b(0x388)]||this[_0x30fe5b(0x475)]([{'unitId':_0x4d4d3d,'subUnitId':_0x3a95a7,'drawingId':_0x4c521f}]);});return;}this[_0x4a0c4e(0x475)]([{'unitId':_0x4d4d3d,'subUnitId':_0x3a95a7,'drawingId':_0x4c521f}]);}}));}['_shapeUpdateListener'](){const _0x42f30d=_0x3bbe12;this[_0x42f30d(0x368)](this[_0x42f30d(0x4fb)][_0x42f30d(0x4d4)][_0x42f30d(0x4f5)](_0x5909ce=>{const _0x386614=_0x42f30d;_0x5909ce[_0x386614(0x1e7)](_0x58da82=>{const _0xc2be57=_0x386614;let {unitId:_0x216887,subUnitId:_0x2712cf,drawingId:_0x5830eb}=_0x58da82,_0x22d008=this['_drawingManagerService'][_0xc2be57(0x1d0)](_0x58da82);if(_0x22d008==null)return;let {transform:_0x2133b5,drawingType:_0x25bf44,srcRect:_0x3fd26b,prstGeom:_0x6654e4}=_0x22d008;if(_0x25bf44!==_0x5b0763[_0xc2be57(0x2f8)][_0xc2be57(0x462)])return;let _0x511a73=this[_0xc2be57(0x59a)](_0x216887);if(_0x511a73==null)return;let {scene:_0x106d0a,transformer:_0x1ec0e4}=_0x511a73;if(_0x2133b5==null)return!0x0;let _0xdde5cb=(0x0,_0x37800f[_0xc2be57(0x574)])({'unitId':_0x216887,'subUnitId':_0x2712cf,'drawingId':_0x5830eb}),_0x32e378=_0x106d0a[_0xc2be57(0x53d)](_0xdde5cb);if(_0x32e378==null)return!0x0;_0x32e378[_0xc2be57(0x4c1)](_0x3fd26b),_0x32e378['setPrstGeom'](_0x6654e4);});}));}[_0x3bbe12(0x475)](_0x134f63){const _0x3d0a42=_0x3bbe12;for(let _0x107b77 of _0x134f63){var _0x2e7d49;let {unitId:_0x20491e,subUnitId:_0xcb0c8e,drawingId:_0xd13d29}=_0x107b77,_0x46e867=this[_0x3d0a42(0x59a)](_0x20491e),_0x3f13be=(_0x2e7d49=(0x0,_0x3ec2cc[_0x3d0a42(0x442)])(this[_0x3d0a42(0x393)],_0x20491e))==null?void 0x0:_0x2e7d49[_0x3d0a42(0x58c)];if(_0x46e867==null||_0x3f13be!==_0xcb0c8e)return;let _0x13ba3c=(0x0,_0x37800f['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x20491e,'subUnitId':_0xcb0c8e,'drawingId':_0xd13d29});if(this[_0x3d0a42(0x3d5)][_0x3d0a42(0x40b)](_0x13ba3c)||_0x46e867[_0x3d0a42(0x29e)][_0x3d0a42(0x53d)](_0x13ba3c)!=null)return;let _0x226082=this[_0x3d0a42(0x4fb)][_0x3d0a42(0x1d0)](_0x107b77);if(_0x226082==null||_0x226082['drawingType']!==_0x5b0763[_0x3d0a42(0x2f8)][_0x3d0a42(0x462)])return;let _0x4783ef=_0x226082[_0x3d0a42(0x455)]||{};if((0x0,_0x1c9bad['isConnectorShape'])(_0x4783ef[_0x3d0a42(0x456)])){let _0x2c9a5e=_0x226082[_0x3d0a42(0x22c)];_0x2c9a5e&&(_0x226082['transform']={..._0x2c9a5e,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x3d0a42(0x3d5)][_0x3d0a42(0x495)](_0x13ba3c);try{this[_0x3d0a42(0x2be)][_0x3d0a42(0x214)](_0x226082,_0x46e867[_0x3d0a42(0x29e)]);}finally{this[_0x3d0a42(0x3d5)][_0x3d0a42(0x31d)](_0x13ba3c);}queueMicrotask(()=>{const _0x24c8ec=_0x3d0a42;if(this[_0x24c8ec(0x388)])return;let _0x3effd6=(0x0,_0x37800f[_0x24c8ec(0x574)])(_0x107b77);if(!_0x46e867[_0x24c8ec(0x29e)]['getObjectIncludeInGroup'](_0x3effd6))return;let _0x1850f0=this['_drawingManagerService']['getDrawingByParam'](_0x107b77);_0x1850f0&&this[_0x24c8ec(0x4fb)][_0x24c8ec(0x1fe)]([_0x1850f0]);});}}['_getSceneAndTransformerByDrawingSearch'](_0x5156e8){const _0x263b9a=_0x3bbe12;if(_0x5156e8==null)return;let _0xbc5be2=this['_renderManagerService'][_0x263b9a(0x3de)](_0x5156e8),_0x49b276=_0xbc5be2==null?void 0x0:_0xbc5be2[_0x263b9a(0x29e)];return _0x49b276==null?null:{'scene':_0x49b276,'transformer':_0x49b276[_0x263b9a(0x2ad)]()};}};_0x337505=_0x476b0f([_0x5ec307(0x0,_0x5b0763[_0x3bbe12(0x2c3)]),_0x5ec307(0x1,_0x463287[_0x3bbe12(0x52d)]),_0x5ec307(0x2,_0x37800f[_0x3bbe12(0x457)]),_0x5ec307(0x3,_0x5b0763[_0x3bbe12(0x467)]),_0x5ec307(0x4,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x3ec2cc[_0x3bbe12(0x518)])),_0x5ec307(0x5,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x14a8a5))],_0x337505);let _0x33dbc7={'normal':{'fill':_0x1c9bad[_0x3bbe12(0x1b9)]['cxnPointFill'],'stroke':_0x1c9bad[_0x3bbe12(0x1b9)][_0x3bbe12(0x487)],'strokeWidth':_0x1c9bad[_0x3bbe12(0x1b9)]['cxnPointStrokeWidth']},'highlighted':{'fill':_0x3bbe12(0x4e2),'stroke':_0x3bbe12(0x541),'strokeWidth':0x2}};var _0x4e6c60=class extends _0x463287[_0x3bbe12(0x345)]{constructor(_0x2e839f,_0x5c11af){const _0x2bb6c9=_0x3bbe12;super(_0x2e839f,_0x5c11af),_0x19095(this,'_targetShapeId',''),_0x19095(this,'_cxnIndex',-0x1),_0x19095(this,_0x2bb6c9(0x439),''),_0x19095(this,_0x2bb6c9(0x569),''),_0x19095(this,_0x2bb6c9(0x4c3),!0x1),_0x5c11af&&this[_0x2bb6c9(0x2f2)](_0x5c11af);}['getConnectionInfo'](){const _0x1ca1a2=_0x3bbe12;return{'unitId':this[_0x1ca1a2(0x439)],'subUnitId':this[_0x1ca1a2(0x569)],'shapeId':this[_0x1ca1a2(0x2ca)],'cxnIndex':this[_0x1ca1a2(0x451)]};}[_0x3bbe12(0x396)](_0x8d9c1e){const _0x6bf085=_0x3bbe12;this[_0x6bf085(0x4c3)]!==_0x8d9c1e&&(this[_0x6bf085(0x4c3)]=_0x8d9c1e,this[_0x6bf085(0x1b8)](!0x0));}[_0x3bbe12(0x2dd)](){const _0x16a4ae=_0x3bbe12;return this[_0x16a4ae(0x4c3)];}[_0x3bbe12(0x2f2)](_0x6f28f4){const _0x2331c4=_0x3bbe12;_0x6f28f4[_0x2331c4(0x230)]!==void 0x0&&(this['_targetShapeId']=_0x6f28f4[_0x2331c4(0x230)]),_0x6f28f4[_0x2331c4(0x24a)]!==void 0x0&&(this[_0x2331c4(0x451)]=_0x6f28f4[_0x2331c4(0x24a)]),_0x6f28f4[_0x2331c4(0x53b)]!==void 0x0&&(this[_0x2331c4(0x439)]=_0x6f28f4['unitId']),_0x6f28f4[_0x2331c4(0x58c)]!==void 0x0&&(this['_subUnitId']=_0x6f28f4[_0x2331c4(0x58c)]),_0x6f28f4['isHighlighted']!==void 0x0&&(this[_0x2331c4(0x4c3)]=_0x6f28f4[_0x2331c4(0x2dd)]),this[_0x2331c4(0x23f)]({'width':_0x6f28f4['width']??_0x1c9bad[_0x2331c4(0x1b9)]['cxnPointRadius']*0x2,'height':_0x6f28f4['height']??_0x1c9bad[_0x2331c4(0x1b9)]['cxnPointRadius']*0x2});}[_0x3bbe12(0x3d3)](_0x1280be){const _0x48a163=_0x3bbe12;let _0x58d9b0=this[_0x48a163(0x4c3)]?_0x33dbc7[_0x48a163(0x293)]:_0x33dbc7[_0x48a163(0x543)];_0x463287[_0x48a163(0x4ea)]['drawWith'](_0x1280be,{'radius':_0x1c9bad[_0x48a163(0x1b9)][_0x48a163(0x3b0)],'fill':_0x58d9b0[_0x48a163(0x23b)],'stroke':_0x58d9b0[_0x48a163(0x49a)],'strokeWidth':_0x58d9b0[_0x48a163(0x37f)],'evented':!0x0});}};let _0x116eec=class extends _0x5b0763[_0x3bbe12(0x1de)]{constructor(_0x5e05a0,_0x44306b,_0x3e0ad0,_0x50e989){const _0x3b7fd8=_0x3bbe12;super(),this[_0x3b7fd8(0x4a9)]=_0x5e05a0,this[_0x3b7fd8(0x3e6)]=_0x44306b,this['_drawingManagerService']=_0x3e0ad0,this[_0x3b7fd8(0x3e3)]=_0x50e989,_0x19095(this,'_connectionSiteObjects',[]),_0x19095(this,_0x3b7fd8(0x2f3),null),_0x19095(this,'_highlightedSiteIndex',-0x1),_0x19095(this,_0x3b7fd8(0x2ef),null),_0x19095(this,'_unitId',''),_0x19095(this,_0x3b7fd8(0x569),''),_0x19095(this,'_draggingConnectorId',null);}[_0x3bbe12(0x38c)](_0x560528,_0x3ec3a6,_0x11b23e,_0x52b439){const _0x46f5f9=_0x3bbe12;this[_0x46f5f9(0x2ef)]=_0x560528,this[_0x46f5f9(0x439)]=_0x3ec3a6,this[_0x46f5f9(0x569)]=_0x11b23e,this['_draggingConnectorId']=_0x52b439;}['updateConnectionDetection'](_0x4dd40f){const _0x19654d=_0x3bbe12;if(!this[_0x19654d(0x2ef)])return null;let _0x2389a1=this[_0x19654d(0x4cf)](_0x4dd40f);return _0x2389a1?(this[_0x19654d(0x2f3)]!==_0x2389a1[_0x19654d(0x222)]&&(this[_0x19654d(0x3aa)](),this[_0x19654d(0x441)](_0x2389a1[_0x19654d(0x222)],_0x2389a1[_0x19654d(0x2de)]),this[_0x19654d(0x2f3)]=_0x2389a1[_0x19654d(0x222)]),this[_0x19654d(0x4eb)](_0x4dd40f)):(this['_activeTargetShapeId']!==null&&(this[_0x19654d(0x3aa)](),this[_0x19654d(0x2f3)]=null),null);}['endConnectionDetection'](){const _0x451b72=_0x3bbe12;this['_clearConnectionSites'](),this[_0x451b72(0x2ef)]=null,this[_0x451b72(0x2f3)]=null,this[_0x451b72(0x47e)]=-0x1,this['_draggingConnectorId']=null;}[_0x3bbe12(0x35e)](){const _0x2ef315=_0x3bbe12;return this[_0x2ef315(0x2f3)]===null||this[_0x2ef315(0x47e)]<0x0?null:{'shapeId':this['_activeTargetShapeId'],'cxnIndex':this[_0x2ef315(0x47e)]};}[_0x3bbe12(0x4cf)](_0x152419){const _0x159c4d=_0x3bbe12;let _0x59204a=this[_0x159c4d(0x4fb)][_0x159c4d(0x2cf)](this[_0x159c4d(0x439)],this['_subUnitId']);for(let _0x9be862 of Object['keys'](_0x59204a)){if(_0x9be862===this[_0x159c4d(0x557)]||_0x59204a[_0x9be862][_0x159c4d(0x1d3)]!==_0x5b0763[_0x159c4d(0x2f8)][_0x159c4d(0x462)])continue;let _0x35f7bd=this['_sheetsShapeService']['getShapeModel'](this['_unitId'],this[_0x159c4d(0x569)],_0x9be862);if(!_0x35f7bd||(0x0,_0x1c9bad[_0x159c4d(0x48b)])(_0x35f7bd['getShapeType']())||_0x35f7bd[_0x159c4d(0x49b)]()[_0x159c4d(0x2bb)]===0x0||!this[_0x159c4d(0x2ef)])continue;let _0x3f38d8=(0x0,_0x37800f['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0x159c4d(0x439)],'subUnitId':this[_0x159c4d(0x569)],'drawingId':_0x9be862}),_0x44c7d6=this[_0x159c4d(0x2ef)][_0x159c4d(0x53d)](_0x3f38d8);if(!_0x44c7d6)continue;let {left:_0x3b4be8,top:_0x4f9234,width:_0x54c92d,height:_0x3d9c78}=_0x44c7d6[_0x159c4d(0x24b)](),_0x384666=_0x3b4be8+_0x54c92d/0x2,_0x4f8a17=_0x4f9234+_0x3d9c78/0x2,_0x49d80f=_0x44c7d6[_0x159c4d(0x22c)][_0x159c4d(0x332)](),_0x469622=new _0x463287['Transform']([_0x49d80f[0x0],_0x49d80f[0x1],_0x49d80f[0x2],_0x49d80f[0x3],_0x384666,_0x4f8a17]),_0x1df012=_0x44c7d6[_0x159c4d(0x538)](),_0x4d7f87=(_0x44c7d6[_0x159c4d(0x305)]&&(_0x1df012==null?void 0x0:_0x1df012['classType'])===_0x463287['RENDER_CLASS_TYPE'][_0x159c4d(0x297)]?_0x1df012[_0x159c4d(0x477)][_0x159c4d(0x583)](_0x469622):_0x469622)[_0x159c4d(0x458)]()[_0x159c4d(0x490)](_0x152419),_0x18099c=_0x54c92d/0x2,_0x57b26b=_0x3d9c78/0x2;if(_0x4d7f87['x']>=-_0x18099c-0x5&&_0x4d7f87['x']<=_0x18099c+0x5&&_0x4d7f87['y']>=-_0x57b26b-0x5&&_0x4d7f87['y']<=_0x57b26b+0x5)return{'shapeId':_0x9be862,'shapeModel':_0x35f7bd};}return null;}[_0x3bbe12(0x441)](_0x5dabb3,_0xe357bb){const _0x3303a3=_0x3bbe12;if(!this['_currentScene'])return;let _0x2552f5=(0x0,_0x37800f[_0x3303a3(0x574)])({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':_0x5dabb3}),_0x2ee1d1=this[_0x3303a3(0x2ef)][_0x3303a3(0x53d)](_0x2552f5);if(!_0x2ee1d1)return;let {left:_0x269efe,top:_0x558a49,width:_0x80e98d,height:_0x16beda}=_0x2ee1d1[_0x3303a3(0x24b)](),_0x3a0376=_0x269efe+_0x80e98d/0x2,_0x26d9c1=_0x558a49+_0x16beda/0x2,_0x569cc2=_0x2ee1d1['transform'][_0x3303a3(0x332)](),_0x3881=new _0x463287[(_0x3303a3(0x39c))]([_0x569cc2[0x0],_0x569cc2[0x1],_0x569cc2[0x2],_0x569cc2[0x3],_0x3a0376,_0x26d9c1]),_0x162d20=_0x2ee1d1[_0x3303a3(0x538)](),_0x13310e=_0x2ee1d1[_0x3303a3(0x305)]&&(_0x162d20==null?void 0x0:_0x162d20[_0x3303a3(0x4c7)])===_0x463287[_0x3303a3(0x431)][_0x3303a3(0x297)]?_0x162d20['ancestorTransform']['multiply'](_0x3881):_0x3881;_0xe357bb['updateContext']({'width':_0x80e98d,'height':_0x16beda});let _0x375668=_0xe357bb[_0x3303a3(0x49b)]();for(let _0x55d22e of _0x375668){let _0x3c124c=_0x55d22e['x']-_0x80e98d/0x2,_0x4777f9=_0x55d22e['y']-_0x16beda/0x2,_0xc7a530=_0x13310e[_0x3303a3(0x490)]({'x':_0x3c124c,'y':_0x4777f9}),_0x18e95f=_0xc7a530['x'],_0x1ae2d=_0xc7a530['y'],_0x527bca=new _0x4e6c60(_0x3303a3(0x273)+_0x5dabb3+'-'+_0x55d22e[_0x3303a3(0x485)],{'left':_0x18e95f-_0x1c9bad[_0x3303a3(0x1b9)][_0x3303a3(0x3b0)],'top':_0x1ae2d-_0x1c9bad[_0x3303a3(0x1b9)][_0x3303a3(0x3b0)],'targetShapeId':_0x5dabb3,'cxnIndex':_0x55d22e[_0x3303a3(0x485)],'unitId':this[_0x3303a3(0x439)],'subUnitId':this[_0x3303a3(0x569)],'width':_0x1c9bad['ShapeDefaultConfig'][_0x3303a3(0x3b0)]*0x2,'height':_0x1c9bad[_0x3303a3(0x1b9)][_0x3303a3(0x3b0)]*0x2,'zIndex':_0x463287[_0x3303a3(0x526)]+0x2,'evented':!0x1});this[_0x3303a3(0x306)][_0x3303a3(0x36e)](_0x527bca),this[_0x3303a3(0x2ef)][_0x3303a3(0x4a1)](_0x527bca,_0x463287[_0x3303a3(0x526)]+0x2);}}['_findNearestConnectionSite'](_0xd72031){const _0x90eae7=_0x3bbe12;let _0x555cf5=null,_0x58f2dd=0x1/0x0,_0x4d3e9d=null;for(let _0x4d3147 of this[_0x90eae7(0x306)]){let _0x4b720b=_0x4d3147[_0x90eae7(0x44f)]+_0x1c9bad[_0x90eae7(0x1b9)][_0x90eae7(0x3b0)],_0x4baede=_0x4d3147[_0x90eae7(0x200)]+_0x1c9bad[_0x90eae7(0x1b9)][_0x90eae7(0x3b0)],_0x5e39ad=_0xd72031['x']-_0x4b720b,_0x2c3244=_0xd72031['y']-_0x4baede,_0x39201e=Math[_0x90eae7(0x1b6)](_0x5e39ad*_0x5e39ad+_0x2c3244*_0x2c3244);_0x39201e<_0x58f2dd&&(_0x58f2dd=_0x39201e,_0x555cf5=_0x4d3147,_0x4d3e9d={'x':_0x4b720b,'y':_0x4baede});}let _0x5a2854=_0x58f2dd<=0xa&&_0x555cf5?_0x555cf5[_0x90eae7(0x24e)]()[_0x90eae7(0x24a)]:-0x1;if(_0x5a2854!==this[_0x90eae7(0x47e)]){for(let _0xc08f74 of this[_0x90eae7(0x306)]){let _0x34f306=_0xc08f74[_0x90eae7(0x24e)]();_0xc08f74[_0x90eae7(0x396)](_0x34f306[_0x90eae7(0x24a)]===_0x5a2854);}this[_0x90eae7(0x47e)]=_0x5a2854;}if(_0x58f2dd<=0xa&&_0x555cf5&&_0x4d3e9d){let _0x5b547a=_0x555cf5[_0x90eae7(0x24e)](),_0x2c5cc7=this[_0x90eae7(0x4a5)](_0x5b547a[_0x90eae7(0x222)],_0x5b547a['cxnIndex']);return{'shapeId':_0x5b547a[_0x90eae7(0x222)],'cxnIndex':_0x5b547a['cxnIndex'],'unitId':_0x5b547a[_0x90eae7(0x53b)],'subUnitId':_0x5b547a[_0x90eae7(0x58c)],'worldPoint':_0x4d3e9d,'angle':_0x2c5cc7};}return null;}['_getConnectionSiteAngle'](_0x450c7a,_0x388f86){const _0x343ec9=_0x3bbe12;let _0x1da914=this[_0x343ec9(0x3e3)]['getShapeModel'](this[_0x343ec9(0x439)],this[_0x343ec9(0x569)],_0x450c7a);if(!_0x1da914)return 0x0;let _0x2f0b19=this['_drawingManagerService'][_0x343ec9(0x1d0)]({'unitId':this[_0x343ec9(0x439)],'subUnitId':this[_0x343ec9(0x569)],'drawingId':_0x450c7a});if(!(_0x2f0b19!=null&&_0x2f0b19[_0x343ec9(0x22c)]))return 0x0;let {width:_0x2fa9b1=0x0,height:_0x349081=0x0,flipX:_0x399070=!0x1,flipY:_0x4cab39=!0x1}=_0x2f0b19['transform'];_0x1da914[_0x343ec9(0x2ee)]({'width':_0x2fa9b1,'height':_0x349081});let _0x45076c=_0x1da914[_0x343ec9(0x49b)]()[_0x343ec9(0x3e9)](_0x115298=>_0x115298[_0x343ec9(0x485)]===_0x388f86);if(!_0x45076c)return 0x0;let _0xcf2105=_0x45076c[_0x343ec9(0x3e4)]/0xea60;return _0x399070&&(_0xcf2105=0xb4-_0xcf2105),_0x4cab39&&(_0xcf2105=-_0xcf2105),_0xcf2105=(_0xcf2105%0x168+0x168)%0x168,_0xcf2105;}[_0x3bbe12(0x3aa)](){const _0x2c6086=_0x3bbe12;for(let _0x2a4e1b of this[_0x2c6086(0x306)])_0x2a4e1b['dispose']();this[_0x2c6086(0x306)]=[],this['_highlightedSiteIndex']=-0x1;}[_0x3bbe12(0x4a4)](){const _0x3ff1ee=_0x3bbe12;this['_clearConnectionSites'](),super[_0x3ff1ee(0x4a4)]();}};_0x116eec=_0x476b0f([_0x5ec307(0x1,(0x0,_0x5b0763['Inject'])(_0x463287['IRenderManagerService'])),_0x5ec307(0x2,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x37800f['IDrawingManagerService'])),_0x5ec307(0x3,(0x0,_0x5b0763['Inject'])(_0x501fe5[_0x3bbe12(0x235)]))],_0x116eec);let _0x55b3a8=class extends _0x5b0763[_0x3bbe12(0x1de)]{constructor(_0x1babc6,_0xf3dc64,_0x27e692,_0xd17fc6,_0x16ff50){const _0x38cc90=_0x3bbe12;super(),this[_0x38cc90(0x376)]=_0x1babc6,this[_0x38cc90(0x2fc)]=_0xf3dc64,this[_0x38cc90(0x387)]=_0x27e692,this[_0x38cc90(0x1b2)]=_0xd17fc6,this[_0x38cc90(0x3ef)]=_0x16ff50,_0x19095(this,_0x38cc90(0x31b),void 0x0),this[_0x38cc90(0x469)](),this['_registerGroupFeaturePasteHook']();}get[_0x3bbe12(0x202)](){const _0x48bc95=_0x3bbe12;return this['_sheetDrawingService'][_0x48bc95(0x2ac)]();}['_registerGroupFeaturePasteHook'](){const _0x45c82f=_0x3bbe12;this[_0x45c82f(0x3ef)][_0x45c82f(0x43e)](({fromUnitId:_0x1fdf42,fromSubUnitId:_0x49043c,toUnitId:_0x553f87,toSubUnitId:_0x1bc22e,idMap:_0x31ea67})=>{const _0x211e77=_0x45c82f;let _0x24ced4=[],_0x536977=[];for(let [_0x43818e,_0x4968bd]of _0x31ea67[_0x211e77(0x359)]()){let _0x42d324=this['_shapeService'][_0x211e77(0x338)](_0x1fdf42,_0x49043c,_0x43818e);if(!_0x42d324)continue;let _0x1839cb=_0x42d324[_0x211e77(0x281)](),_0x50d2ed=JSON['parse'](JSON[_0x211e77(0x3ec)](_0x42d324[_0x211e77(0x334)]()));if(_0x50d2ed[_0x211e77(0x324)]){var _0x215857,_0x35a420;let _0x3b8398=(_0x215857=_0x50d2ed[_0x211e77(0x324)][_0x211e77(0x37a)])==null?void 0x0:_0x215857[_0x211e77(0x222)],_0x2d18cf=(_0x35a420=_0x50d2ed[_0x211e77(0x324)]['to'])==null?void 0x0:_0x35a420[_0x211e77(0x222)],_0x29e0bd=!_0x3b8398||_0x31ea67[_0x211e77(0x40b)](_0x3b8398),_0x54c2e9=!_0x2d18cf||_0x31ea67['has'](_0x2d18cf);_0x29e0bd&&_0x3b8398&&_0x50d2ed[_0x211e77(0x324)][_0x211e77(0x37a)]?_0x50d2ed['relation'][_0x211e77(0x37a)]={..._0x50d2ed[_0x211e77(0x324)][_0x211e77(0x37a)],'shapeId':_0x31ea67[_0x211e77(0x3f3)](_0x3b8398)}:_0x50d2ed[_0x211e77(0x324)][_0x211e77(0x37a)]=void 0x0,_0x54c2e9&&_0x2d18cf&&_0x50d2ed[_0x211e77(0x324)]['to']?_0x50d2ed[_0x211e77(0x324)]['to']={..._0x50d2ed[_0x211e77(0x324)]['to'],'shapeId':_0x31ea67[_0x211e77(0x3f3)](_0x2d18cf)}:_0x50d2ed['relation']['to']=void 0x0;}_0x24ced4[_0x211e77(0x36e)]({'id':_0x501fe5[_0x211e77(0x205)]['id'],'params':{'unitId':_0x553f87,'subUnitId':_0x1bc22e,'shapeId':_0x4968bd,'shapeType':_0x1839cb,'shapeData':_0x50d2ed}}),_0x536977[_0x211e77(0x36e)]({'id':_0x501fe5[_0x211e77(0x2ba)]['id'],'params':{'unitId':_0x553f87,'subUnitId':_0x1bc22e,'shapeId':_0x4968bd}});}return{'redos':_0x24ced4,'undos':_0x536977};});}[_0x3bbe12(0x469)](){const _0x262c5e=_0x3bbe12;this[_0x262c5e(0x368)](this[_0x262c5e(0x2fc)][_0x262c5e(0x565)]({'id':'sheets-shape-ui','onBeforeCopyFocusedObject':(_0x3a0a4a,_0x243e36,_0x4d4ab3)=>{const _0x3b8faf=_0x262c5e;this[_0x3b8faf(0x31b)]=null;let _0xbc0760=this[_0x3b8faf(0x202)][_0x3b8faf(0x323)](_0x4f7988=>_0x4f7988[_0x3b8faf(0x1d3)]===_0x5b0763['DrawingTypeEnum']['DRAWING_SHAPE']);return _0xbc0760[_0x3b8faf(0x2bb)]!==0x0&&(this[_0x3b8faf(0x31b)]={'unitId':_0x3a0a4a,'subUnitId':_0x243e36,'copyType':_0x4d4ab3,'drawings':_0xbc0760},!0x0);},'onBeforeCopy':(_0x52d791,_0x31ac5c,_0x31e84f,_0x52e879)=>{const _0x4f4c6=_0x262c5e;this[_0x4f4c6(0x31b)]=null,this['_createCopyInfoByRange'](_0x52d791,_0x31ac5c,_0x31e84f,_0x52e879);},'onPasteCells':(_0x14a76d,_0x2c4093,_0xe32bb9,_0x25d9a6)=>{const _0x47ce10=_0x262c5e;if(!_0x25d9a6[_0x47ce10(0x25a)]||!_0x14a76d||!this[_0x47ce10(0x31b)])return{'redos':[],'undos':[]};let {pasteType:_0x497167}=_0x25d9a6;return _0x497167===_0x54c89f[_0x47ce10(0x3cf)][_0x47ce10(0x52e)]?this[_0x47ce10(0x24c)](_0x2c4093,this[_0x47ce10(0x31b)][_0x47ce10(0x340)]===_0x54c89f[_0x47ce10(0x2b8)]['CUT']):{'redos':[],'undos':[]};}}));}[_0x3bbe12(0x482)](_0xc8da9,_0x248a3c,_0x3705c6,_0x410690){const _0x35b956=_0x3bbe12;let _0x32fc27=this[_0x35b956(0x376)][_0x35b956(0x27e)](_0xc8da9,_0x248a3c);if(!_0x32fc27)return;let _0xcc8207=(0x0,_0x2e7766[_0x35b956(0x325)])(_0x32fc27,_0x3705c6);if(!_0xcc8207)return;let {startX:_0x24f9d3,endX:_0x567b0b,startY:_0x4b84d6,endY:_0x367d06}=_0xcc8207,_0x275eeb=this[_0x35b956(0x387)][_0x35b956(0x2cf)](_0xc8da9,_0x248a3c),_0x1c2fb8=[];for(let [_0x4c6a2f,_0x28c42b]of Object['entries'](_0x275eeb)){if(_0x28c42b[_0x35b956(0x1d3)]!==_0x5b0763[_0x35b956(0x2f8)][_0x35b956(0x462)])continue;let {transform:_0xa0d4c8}=_0x28c42b;if(!_0xa0d4c8)continue;let {left:_0x4f9db8=0x0,top:_0x3b37bb=0x0,width:_0x2c724e=0x0,height:_0x53c376=0x0}=_0xa0d4c8;_0x24f9d3<=_0x4f9db8&&_0x567b0b>=_0x4f9db8+_0x2c724e&&_0x4b84d6<=_0x3b37bb&&_0x367d06>=_0x3b37bb+_0x53c376&&_0x1c2fb8[_0x35b956(0x36e)](_0x28c42b);}_0x1c2fb8['length']>0x0&&(this[_0x35b956(0x31b)]={'unitId':_0xc8da9,'subUnitId':_0x248a3c,'copyType':_0x410690,'copyRange':_0x3705c6,'drawings':_0x1c2fb8});}[_0x3bbe12(0x24c)](_0x4699ba,_0x552297){const _0x179380=_0x3bbe12;let {unitId:_0x3f7800,subUnitId:_0xb18090,range:_0x59a036}=_0x4699ba,_0x268e00=this[_0x179380(0x376)]['getSkeleton'](_0x3f7800,_0xb18090);if(!_0x268e00)return{'redos':[],'undos':[]};let _0x519d73=(0x0,_0x2e7766['discreteRangeToRange'])(_0x59a036),{unitId:_0x40d716,subUnitId:_0x39ec4c,copyRange:_0x572d4f,drawings:_0x331984}=this['_copyInfo'],_0xfc9d84=this['_sheetSkeletonService'][_0x179380(0x27e)](_0x40d716,_0x39ec4c);if(!_0xfc9d84)return{'redos':[],'undos':[]};let _0x301710;if(!_0x572d4f){let _0x3662b9=0x1/0x0,_0x2ed7b8=0x1/0x0;for(let _0x4d8e6b of _0x331984){let {left:_0x336677=0x0,top:_0x3f5411=0x0}=_0x4d8e6b['transform']??{};_0x336677<_0x3662b9&&(_0x3662b9=_0x336677),_0x3f5411<_0x2ed7b8&&(_0x2ed7b8=_0x3f5411);}_0x3662b9!==0x1/0x0&&_0x2ed7b8!==0x1/0x0&&(_0x301710={'left':_0x3662b9,'top':_0x2ed7b8});}let _0x16c55e=new Map();if(!_0x552297){for(let _0x4eccd8 of _0x331984)_0x16c55e[_0x179380(0x336)](_0x4eccd8[_0x179380(0x1af)],(0x0,_0x5b0763[_0x179380(0x41f)])());}let _0x518dc5=[],_0x5528f3=[];for(let _0x409989 of _0x331984){let {drawingId:_0x494478,transform:_0x243526,sheetTransform:_0x227f34}=_0x409989;if(!_0x243526||!_0x227f34)continue;let _0x4691e9=this[_0x179380(0x435)]({'transform':_0x243526,'sheetTransform':_0x227f34},{'skeleton':_0xfc9d84,'range':_0x572d4f},{'skeleton':_0x268e00,'range':_0x519d73},_0x301710);if(_0x552297){let {redos:_0xd13f5,undos:_0x31c975}=this[_0x179380(0x566)]({'fromUnitId':_0x40d716,'fromSubUnitId':_0x39ec4c,'toUnitId':_0x3f7800,'toSubUnitId':_0xb18090,'drawing':_0x409989,'newTransforms':_0x4691e9});_0x518dc5[_0x179380(0x36e)](..._0xd13f5),_0x5528f3[_0x179380(0x36e)](..._0x31c975);continue;}let {redos:_0x3286f8,undos:_0xf08d4f}=this[_0x179380(0x3c6)]({'toUnitId':_0x3f7800,'toSubUnitId':_0xb18090,'drawing':_0x409989,'newTransforms':_0x4691e9,'newDrawingId':_0x16c55e[_0x179380(0x3f3)](_0x494478),'idMap':_0x16c55e});_0x518dc5[_0x179380(0x36e)](..._0x3286f8),_0x5528f3['push'](..._0xf08d4f);}return{'redos':_0x518dc5,'undos':_0x5528f3};}[_0x3bbe12(0x566)](_0x4a8295){const _0x795ebe=_0x3bbe12;let {fromUnitId:_0x5952f3,fromSubUnitId:_0x4a2b38,toUnitId:_0x1c312f,toSubUnitId:_0x8ebf5d,drawing:_0x284a1a,newTransforms:_0x4a9cb5}=_0x4a8295,_0x1f94d6={..._0x284a1a,'unitId':_0x1c312f,'subUnitId':_0x8ebf5d,'transform':_0x4a9cb5[_0x795ebe(0x22c)],'sheetTransform':_0x4a9cb5[_0x795ebe(0x460)]};if(_0x1c312f===_0x5952f3&&_0x8ebf5d===_0x4a2b38){let {redo:_0x290aa7,undo:_0x3bae59,objects:_0x1c4865}=this[_0x795ebe(0x387)][_0x795ebe(0x25e)]([_0x1f94d6]);return{'redos':[{'id':_0x47629f[_0x795ebe(0x341)]['id'],'params':{'unitId':_0x1c312f,'subUnitId':_0x8ebf5d,'type':_0x47629f[_0x795ebe(0x56d)]['UPDATE'],'op':_0x290aa7,'objects':_0x1c4865}}],'undos':[{'id':_0x47629f[_0x795ebe(0x341)]['id'],'params':{'unitId':_0x1c312f,'subUnitId':_0x8ebf5d,'type':_0x47629f['DrawingApplyType'][_0x795ebe(0x20e)],'op':_0x3bae59,'objects':_0x1c4865}}]};}{let _0x2867b1=this[_0x795ebe(0x387)][_0x795ebe(0x296)]([_0x284a1a]),_0x1349ee=this[_0x795ebe(0x387)][_0x795ebe(0x2ab)]([_0x1f94d6]),_0x2f323b=this[_0x795ebe(0x1b2)]['getShapeModel'](_0x284a1a[_0x795ebe(0x53b)],_0x284a1a[_0x795ebe(0x58c)],_0x284a1a['drawingId']);if(!_0x2f323b)return{'redos':[],'undos':[]};let _0x2e8c04=_0x2f323b[_0x795ebe(0x281)](),_0x458ada=JSON[_0x795ebe(0x504)](JSON['stringify'](_0x2f323b[_0x795ebe(0x334)]()));return{'redos':[{'id':_0x47629f['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x5952f3,'subUnitId':_0x4a2b38,'type':_0x47629f[_0x795ebe(0x56d)][_0x795ebe(0x1ad)],'op':_0x2867b1[_0x795ebe(0x380)],'objects':_0x2867b1[_0x795ebe(0x1eb)]}},{'id':_0x501fe5['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x5952f3,'subUnitId':_0x4a2b38,'shapeId':_0x284a1a['drawingId']}},{'id':_0x47629f[_0x795ebe(0x341)]['id'],'params':{'unitId':_0x1c312f,'subUnitId':_0x8ebf5d,'type':_0x47629f[_0x795ebe(0x56d)][_0x795ebe(0x594)],'op':_0x1349ee[_0x795ebe(0x380)],'objects':_0x1349ee[_0x795ebe(0x1eb)]}},{'id':_0x501fe5[_0x795ebe(0x205)]['id'],'params':{'unitId':_0x1c312f,'subUnitId':_0x8ebf5d,'shapeId':_0x284a1a[_0x795ebe(0x1af)],'shapeType':_0x2e8c04,'shapeData':_0x458ada}}],'undos':[{'id':_0x47629f[_0x795ebe(0x341)]['id'],'params':{'unitId':_0x5952f3,'subUnitId':_0x4a2b38,'type':_0x47629f[_0x795ebe(0x56d)][_0x795ebe(0x594)],'op':_0x2867b1[_0x795ebe(0x3cd)],'objects':_0x2867b1[_0x795ebe(0x1eb)]}},{'id':_0x501fe5['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x5952f3,'subUnitId':_0x4a2b38,'shapeId':_0x284a1a[_0x795ebe(0x1af)],'shapeType':_0x2e8c04,'shapeData':_0x458ada}},{'id':_0x47629f[_0x795ebe(0x341)]['id'],'params':{'unitId':_0x1c312f,'subUnitId':_0x8ebf5d,'type':_0x47629f[_0x795ebe(0x56d)][_0x795ebe(0x1ad)],'op':_0x1349ee['undo'],'objects':_0x1349ee[_0x795ebe(0x1eb)]}},{'id':_0x501fe5[_0x795ebe(0x2ba)]['id'],'params':{'unitId':_0x1c312f,'subUnitId':_0x8ebf5d,'shapeId':_0x284a1a[_0x795ebe(0x1af)]}}]};}}['_generateCopyPasteMutations'](_0x566670){const _0x3faea0=_0x3bbe12;let {toUnitId:_0x1fa29e,toSubUnitId:_0x43c159,drawing:_0x1297d7,newTransforms:_0x3789b0,newDrawingId:_0x2a2183,idMap:_0x86f31e}=_0x566670,_0x2561a4={..._0x1297d7,'unitId':_0x1fa29e,'subUnitId':_0x43c159,'drawingId':_0x2a2183,'transform':_0x3789b0['transform'],'sheetTransform':_0x3789b0[_0x3faea0(0x460)]},{redo:_0x44acb5,undo:_0x26af63,objects:_0x533e44}=this['_sheetDrawingService'][_0x3faea0(0x2ab)]([_0x2561a4]),_0x334fef=this[_0x3faea0(0x1b2)][_0x3faea0(0x338)](_0x1297d7[_0x3faea0(0x53b)],_0x1297d7[_0x3faea0(0x58c)],_0x1297d7['drawingId']);if(!_0x334fef)return{'redos':[],'undos':[]};let _0x5021dd=_0x334fef['getShapeType'](),_0x398715=JSON[_0x3faea0(0x504)](JSON[_0x3faea0(0x3ec)](_0x334fef[_0x3faea0(0x334)]()));if(_0x398715['relation']){var _0x21a595,_0x14acb8;let _0x26d537=(_0x21a595=_0x398715[_0x3faea0(0x324)][_0x3faea0(0x37a)])==null?void 0x0:_0x21a595[_0x3faea0(0x222)],_0x5cc3d9=(_0x14acb8=_0x398715[_0x3faea0(0x324)]['to'])==null?void 0x0:_0x14acb8['shapeId'],_0x50f3f1=!_0x26d537||_0x86f31e[_0x3faea0(0x40b)](_0x26d537),_0x5309da=!_0x5cc3d9||_0x86f31e[_0x3faea0(0x40b)](_0x5cc3d9);_0x50f3f1&&_0x26d537&&_0x398715[_0x3faea0(0x324)][_0x3faea0(0x37a)]?_0x398715[_0x3faea0(0x324)][_0x3faea0(0x37a)]={..._0x398715[_0x3faea0(0x324)][_0x3faea0(0x37a)],'shapeId':_0x86f31e['get'](_0x26d537)}:_0x398715['relation']['from']=void 0x0,_0x5309da&&_0x5cc3d9&&_0x398715[_0x3faea0(0x324)]['to']?_0x398715['relation']['to']={..._0x398715[_0x3faea0(0x324)]['to'],'shapeId':_0x86f31e['get'](_0x5cc3d9)}:_0x398715['relation']['to']=void 0x0;}return{'redos':[{'id':_0x47629f[_0x3faea0(0x341)]['id'],'params':{'unitId':_0x1fa29e,'subUnitId':_0x43c159,'type':_0x47629f[_0x3faea0(0x56d)][_0x3faea0(0x594)],'op':_0x44acb5,'objects':_0x533e44}},{'id':_0x501fe5[_0x3faea0(0x205)]['id'],'params':{'unitId':_0x1fa29e,'subUnitId':_0x43c159,'shapeId':_0x2a2183,'shapeType':_0x5021dd,'shapeData':_0x398715}}],'undos':[{'id':_0x47629f[_0x3faea0(0x341)]['id'],'params':{'unitId':_0x1fa29e,'subUnitId':_0x43c159,'type':_0x47629f[_0x3faea0(0x56d)][_0x3faea0(0x1ad)],'op':_0x26af63,'objects':_0x533e44}},{'id':_0x501fe5[_0x3faea0(0x2ba)]['id'],'params':{'unitId':_0x1fa29e,'subUnitId':_0x43c159,'shapeId':_0x2a2183}}]};}[_0x3bbe12(0x435)](_0x80f8b4,_0x12c0a0,_0x49aa21,_0x12aa2a){const _0x1565e3=_0x3bbe12;let {range:_0x1eab22,skeleton:_0x3efb08}=_0x12c0a0,{range:_0x38655d,skeleton:_0x5ba3bf}=_0x49aa21,{transform:_0x90deea,sheetTransform:_0x15566c}=_0x80f8b4,_0x20c710={..._0x90deea};if(_0x1eab22){let _0x502479=(0x0,_0x2e7766[_0x1565e3(0x325)])(_0x3efb08,_0x1eab22),_0x39be38=(0x0,_0x2e7766[_0x1565e3(0x325)])(_0x5ba3bf,_0x38655d);if(_0x502479&&_0x39be38){let _0x833fe8=_0x39be38[_0x1565e3(0x22e)]-_0x502479[_0x1565e3(0x22e)],_0x5d3b1d=_0x39be38[_0x1565e3(0x41b)]-_0x502479['startY'];_0x20c710[_0x1565e3(0x44f)]=(_0x20c710['left']??0x0)+_0x833fe8,_0x20c710[_0x1565e3(0x200)]=(_0x20c710[_0x1565e3(0x200)]??0x0)+_0x5d3b1d;}}else{let _0x35c742=(0x0,_0x2e7766[_0x1565e3(0x325)])(_0x5ba3bf,_0x38655d);if(_0x12aa2a&&_0x35c742){let _0xc4c2e1=(_0x20c710[_0x1565e3(0x44f)]??0x0)-_0x12aa2a['left'],_0x1aeac6=(_0x20c710[_0x1565e3(0x200)]??0x0)-_0x12aa2a[_0x1565e3(0x200)];_0x20c710[_0x1565e3(0x44f)]=_0x35c742['startX']+_0xc4c2e1,_0x20c710['top']=_0x35c742[_0x1565e3(0x41b)]+_0x1aeac6;}else _0x20c710[_0x1565e3(0x44f)]=_0x35c742==null?void 0x0:_0x35c742['startX'],_0x20c710['top']=_0x35c742==null?void 0x0:_0x35c742['startY'];}return{'transform':_0x20c710,'sheetTransform':(0x0,_0x47629f[_0x1565e3(0x326)])(_0x20c710,_0x5ba3bf)??_0x15566c};}};_0x55b3a8=_0x476b0f([_0x5ec307(0x0,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x2e7766[_0x3bbe12(0x531)])),_0x5ec307(0x1,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x54c89f['ISheetClipboardService'])),_0x5ec307(0x2,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x47629f[_0x3bbe12(0x428)])),_0x5ec307(0x3,(0x0,_0x5b0763['Inject'])(_0x501fe5[_0x3bbe12(0x235)])),_0x5ec307(0x4,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x29d240[_0x3bbe12(0x4f0)]))],_0x55b3a8);var _0x4daa96=class extends _0x463287['Shape']{constructor(_0x3649ea,_0xf7e2b2){const _0x1de89d=_0x3bbe12;super(_0x3649ea,_0xf7e2b2),_0x19095(this,_0x1de89d(0x4d3),null),_0x19095(this,_0x1de89d(0x4c8),null),_0x19095(this,_0x1de89d(0x439),null),_0x19095(this,'_subUnitId',null),_0x19095(this,'_isStartConnectorPoint',!0x1),_0xf7e2b2&&this[_0x1de89d(0x2f2)](_0xf7e2b2);}['getDrawingSearch'](){const _0x310aa6=_0x3bbe12;return{'unitId':this[_0x310aa6(0x439)],'subUnitId':this[_0x310aa6(0x569)],'drawingId':this['_shapeId']};}['setShapeProps'](_0x100cfa){const _0x177009=_0x3bbe12;_0x100cfa[_0x177009(0x222)]!==void 0x0&&(this[_0x177009(0x4d3)]=_0x100cfa['shapeId']),_0x100cfa[_0x177009(0x53b)]!==void 0x0&&(this[_0x177009(0x439)]=_0x100cfa[_0x177009(0x53b)]),_0x100cfa[_0x177009(0x58c)]!==void 0x0&&(this[_0x177009(0x569)]=_0x100cfa['subUnitId']),_0x100cfa[_0x177009(0x54c)]!==void 0x0&&(this[_0x177009(0x3fc)]=_0x100cfa[_0x177009(0x54c)]),this[_0x177009(0x23f)]({'width':_0x100cfa[_0x177009(0x3a0)],'height':_0x100cfa['height']});}[_0x3bbe12(0x3d3)](_0x15b573){const _0x12ebfa=_0x3bbe12;_0x463287['Circle'][_0x12ebfa(0x2da)](_0x15b573,{'radius':_0x1c9bad[_0x12ebfa(0x1b9)][_0x12ebfa(0x3b0)],'fill':_0x1c9bad[_0x12ebfa(0x1b9)][_0x12ebfa(0x558)],'stroke':_0x1c9bad[_0x12ebfa(0x1b9)]['cxnPointStroke'],'strokeWidth':_0x1c9bad[_0x12ebfa(0x1b9)]['cxnPointStrokeWidth'],'evented':!0x0});}};let _0x297d03=class extends _0x5b0763[_0x3bbe12(0x1de)]{constructor(_0x1919d3,_0x2099f9,_0x23daeb,_0x116450,_0x397d2c,_0x2dccb6,_0x446fab,_0x2f640a){const _0x44da45=_0x3bbe12;super(),this[_0x44da45(0x4a9)]=_0x1919d3,this[_0x44da45(0x555)]=_0x2099f9,this[_0x44da45(0x3e6)]=_0x23daeb,this[_0x44da45(0x4fb)]=_0x116450,this['_univerInstanceService']=_0x397d2c,this[_0x44da45(0x3e3)]=_0x2dccb6,this['_sheetShapeAdjustController']=_0x446fab,this['_sheetBasicShapeConnectionPointController']=_0x2f640a,_0x19095(this,'_activeShapeId',void 0x0),_0x19095(this,_0x44da45(0x439),void 0x0),_0x19095(this,_0x44da45(0x569),void 0x0),_0x19095(this,_0x44da45(0x39b),[]),_0x19095(this,_0x44da45(0x41a),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),_0x19095(this,_0x44da45(0x418),void 0x0),_0x19095(this,_0x44da45(0x25f),!0x1),_0x19095(this,_0x44da45(0x411),!0x1),_0x19095(this,_0x44da45(0x301),!0x1),_0x19095(this,_0x44da45(0x1f1),void 0x0),_0x19095(this,'_cxtHandlerPointerUp',void 0x0),_0x19095(this,_0x44da45(0x392),null),this[_0x44da45(0x598)]();}[_0x3bbe12(0x598)](){const _0x18d609=_0x3bbe12;this[_0x18d609(0x3c9)](),this['_registerDrawingMoveHandler']();}[_0x3bbe12(0x2f9)](){const _0x101c20=_0x3bbe12;if(!this[_0x101c20(0x439)]||!this[_0x101c20(0x569)]||!this[_0x101c20(0x2d9)])return;let _0xc02313={'unitId':this[_0x101c20(0x439)],'subUnitId':this[_0x101c20(0x569)],'drawingId':this[_0x101c20(0x2d9)]},{transform:_0x591801}=this['_drawingManagerService'][_0x101c20(0x1d0)](_0xc02313);if(_0x591801)return{'left':_0x591801['left']||0x0,'top':_0x591801[_0x101c20(0x200)]||0x0,'width':_0x591801[_0x101c20(0x3a0)]||0x0,'height':_0x591801[_0x101c20(0x330)]||0x0,'flipX':_0x591801[_0x101c20(0x55e)]||!0x1,'flipY':_0x591801[_0x101c20(0x4ad)]||!0x1,'angle':_0x591801[_0x101c20(0x4b8)]};}[_0x3bbe12(0x37c)](){const _0x25c9b2=_0x3bbe12;if(this[_0x25c9b2(0x439)]===void 0x0||this['_subUnitId']===void 0x0||this[_0x25c9b2(0x2d9)]===void 0x0)return;let _0x22c0ef=this['_renderManagerService'][_0x25c9b2(0x3de)](this[_0x25c9b2(0x439)]);if(!_0x22c0ef||!_0x22c0ef[_0x25c9b2(0x512)](_0x54c89f['SheetSkeletonManagerService'])[_0x25c9b2(0x1f3)]())return;let {scene:_0x422704}=_0x22c0ef,_0x4d657c=this[_0x25c9b2(0x2f9)]();if(!_0x4d657c)return;let _0x1cb321=this[_0x25c9b2(0x3e3)][_0x25c9b2(0x338)](this[_0x25c9b2(0x439)],this[_0x25c9b2(0x569)],this['_activeShapeId']);if(!_0x1cb321||!(0x0,_0x1c9bad[_0x25c9b2(0x48b)])(_0x1cb321['getShapeType']()))return;let _0x1c0a74=_0x1cb321[_0x25c9b2(0x2a1)]();if(_0x1c0a74[_0x25c9b2(0x2bb)]<0x2)return;let _0x6c8d40=new _0x1c9bad[(_0x25c9b2(0x3ad))](_0x4d657c),_0x309de6=_0x1c0a74[0x0],_0x488192=_0x1c0a74[_0x1c0a74['length']-0x1],_0x1ea0f3=_0x6c8d40[_0x25c9b2(0x2a3)](_0x309de6),_0x567ff8=_0x6c8d40['localToWorld'](_0x488192);this['_addShapeConnectorHandlerObject'](_0x422704,{..._0x1ea0f3},!0x0),this[_0x25c9b2(0x201)](_0x422704,{..._0x567ff8},!0x1);}['_addShapeConnectorHandlerObject'](_0x1f6736,_0x26dfab,_0x560f36){const _0xcc937d=_0x3bbe12;if(this['_activeShapeId']===void 0x0||this[_0xcc937d(0x439)]===void 0x0||this[_0xcc937d(0x569)]===void 0x0)return;let _0x20e11b=_0xcc937d(0x436)+this[_0xcc937d(0x439)]+'-'+this[_0xcc937d(0x569)]+'-'+this[_0xcc937d(0x2d9)]+'-'+(_0x560f36?_0xcc937d(0x539):_0xcc937d(0x394)),_0x19e17b=_0x1f6736[_0xcc937d(0x53d)](_0x20e11b);if(_0x19e17b){_0x19e17b[_0xcc937d(0x23f)]({'left':_0x26dfab['x']-_0x1c9bad['ShapeDefaultConfig']['cxnPointRadius'],'top':_0x26dfab['y']-_0x1c9bad[_0xcc937d(0x1b9)][_0xcc937d(0x3b0)]});return;}let _0x3878d9=new _0x4daa96(_0x20e11b,{'left':_0x26dfab['x']-_0x1c9bad[_0xcc937d(0x1b9)][_0xcc937d(0x3b0)],'top':_0x26dfab['y']-_0x1c9bad[_0xcc937d(0x1b9)][_0xcc937d(0x3b0)],'shapeId':this['_activeShapeId'],'unitId':this['_unitId'],'subUnitId':this[_0xcc937d(0x569)],'isStartConnectorPoint':_0x560f36,'width':_0x1c9bad[_0xcc937d(0x1b9)][_0xcc937d(0x3b0)]*0x2,'height':_0x1c9bad['ShapeDefaultConfig'][_0xcc937d(0x3b0)]*0x2,'zIndex':_0x463287[_0xcc937d(0x526)]+0x1,'evented':!0x0});this[_0xcc937d(0x39b)][_0xcc937d(0x36e)](_0x3878d9),this['_attachConnectorObjectEvent'](_0x3878d9,_0x1f6736,_0x560f36),_0x1f6736[_0xcc937d(0x4a1)](_0x3878d9,_0x463287[_0xcc937d(0x526)]+0x1);}[_0x3bbe12(0x1ff)](_0x5b4c1e,_0x477c32){const _0x3e87b4=_0x3bbe12;var _0x527537;let _0x57ed6d={'x':0x0,'y':0x0};if(!_0x5b4c1e||!_0x477c32)return _0x57ed6d;let _0x599297=this[_0x3e87b4(0x3e6)][_0x3e87b4(0x3de)](_0x5b4c1e);if(!_0x599297||!_0x599297[_0x3e87b4(0x512)](_0x54c89f[_0x3e87b4(0x542)])[_0x3e87b4(0x27e)](_0x477c32))return _0x57ed6d;let _0x5112e4=_0x599297[_0x3e87b4(0x512)](_0x54c89f[_0x3e87b4(0x253)]),_0x58f901=_0x5112e4==null?void 0x0:_0x5112e4[_0x3e87b4(0x335)]();if(!_0x58f901)return _0x57ed6d;let _0x14f732=(_0x527537=this['_univerInstanceService'][_0x3e87b4(0x284)](_0x5b4c1e))==null?void 0x0:_0x527537[_0x3e87b4(0x48d)](_0x477c32);if(!_0x14f732)return _0x57ed6d;let _0x1b4083=(0x0,_0x54c89f[_0x3e87b4(0x427)])(_0x58f901['sheetViewStartRow'],_0x58f901[_0x3e87b4(0x3ba)],_0x599297[_0x3e87b4(0x29e)],_0x14f732);return _0x1b4083?{'x':_0x1b4083[_0x3e87b4(0x556)],'y':_0x1b4083[_0x3e87b4(0x443)]}:_0x57ed6d;}['_getZoomRatio'](_0x350f60,_0x5bd5c8){const _0x475b76=_0x3bbe12;var _0x4cf4a6;let _0x5e30b7=(_0x4cf4a6=this[_0x475b76(0x2cc)][_0x475b76(0x284)](_0x350f60))==null?void 0x0:_0x4cf4a6[_0x475b76(0x48d)](_0x5bd5c8);return(_0x5e30b7==null?void 0x0:_0x5e30b7[_0x475b76(0x43d)]())??0x1;}['_handleConnectorPointerUp'](_0x207612,_0xe3c551,_0x3799f2,_0xf18d3b,_0x3abf02){const _0x51e6=_0x3bbe12;this[_0x51e6(0x1f1)][_0x51e6(0x465)](),this['_cxtHandlerPointerUp'][_0x51e6(0x465)](),this[_0x51e6(0x25c)][_0x51e6(0x27d)]();let _0x355518=this[_0x51e6(0x392)];this['_sheetBasicShapeConnectionPointController']['endConnectionDetection']();let _0x3960be=this[_0x51e6(0x1ff)](this[_0x51e6(0x439)],this[_0x51e6(0x569)]),_0x2fa592=this[_0x51e6(0x4c5)](this['_unitId'],this['_subUnitId']),_0x420648={'x':_0x3799f2['offsetX']/_0x2fa592+_0x3960be['x'],'y':_0x3799f2[_0x51e6(0x1f9)]/_0x2fa592+_0x3960be['y']},_0x5e78cf=_0x355518?_0x355518['worldPoint']:_0x420648,_0x7011de=_0xf18d3b?this[_0x51e6(0x418)][_0x51e6(0x282)]():this[_0x51e6(0x418)][_0x51e6(0x528)](),_0x2d7271=this[_0x51e6(0x418)][_0x51e6(0x281)]();_0x7011de?this['_handleConnectedEndpointPointerUp'](_0x7011de,_0x5e78cf,_0xf18d3b,_0x355518,_0x3abf02):this[_0x51e6(0x59c)](_0xe3c551,_0x5e78cf,_0xf18d3b,_0x355518,_0x3abf02,_0x2d7271),this['_isConnecting']=!0x1,this[_0x51e6(0x301)]=!0x1,this['_currentConnectionTarget']=null,_0x207612['enableObjectsEvent']();}[_0x3bbe12(0x59c)](_0x1464c9,_0x25fe8a,_0x2345da,_0x1700ca,_0x160b42,_0x4acf65){const _0x2a49a7=_0x3bbe12;let _0x18f94d=_0x4acf65===_0x1c9bad['ShapeTypeEnum'][_0x2a49a7(0x463)]||_0x4acf65===_0x1c9bad[_0x2a49a7(0x42d)]['StraightConnector1'],_0xd1ef13=_0x2345da?_0x25fe8a:_0x1464c9,_0x33114a=_0x2345da?_0x1464c9:_0x25fe8a,_0xc6ef6d=this[_0x2a49a7(0x418)][_0x2a49a7(0x2a1)](),_0x19ebe9=this[_0x2a49a7(0x418)]['getShapeType'](),_0x2f2009=(0x0,_0x1c9bad['isCurvedConnectorShape'])(_0x19ebe9),_0x22ca2e=_0x1c9bad['ConnectorCoordinateTransform']['getBentTypeFromPoints'](_0xc6ef6d,_0x2f2009),_0xa7c6df=_0x18f94d?_0x1c9bad[_0x2a49a7(0x3ad)][_0x2a49a7(0x2f5)](_0xd1ef13,_0x33114a):_0x1c9bad[_0x2a49a7(0x3ad)][_0x2a49a7(0x2ae)](_0x1464c9,_0x25fe8a,_0x2345da,_0x22ca2e);_0x1700ca?this[_0x2a49a7(0x327)](_0xa7c6df,_0x1700ca,_0x2345da,_0x160b42):this['_executeResizeCommand'](_0xa7c6df,_0x160b42);}['_handleConnectedEndpointPointerUp'](_0x929d7f,_0x364825,_0x2b9e3f,_0x243aa5,_0x3e467d){const _0xff8f3b=_0x3bbe12;let _0x3b7fbd=this['_getConnectPointInfo'](_0x929d7f);if(!_0x3b7fbd)return;let _0x1ecee2=_0x243aa5?_0x243aa5['angle']:this[_0xff8f3b(0x21e)](_0x3b7fbd[_0xff8f3b(0x591)],_0x364825),_0x3a6ade;if(_0x243aa5){let _0x4dea91=this[_0xff8f3b(0x4fb)]['getDrawingByParam']({'unitId':_0x243aa5[_0xff8f3b(0x53b)],'subUnitId':_0x243aa5[_0xff8f3b(0x58c)],'drawingId':_0x243aa5['shapeId']});if(_0x4dea91!=null&&_0x4dea91[_0xff8f3b(0x22c)]){let {left:_0x34fc23=0x0,top:_0x56f9e4=0x0,width:_0xfc8eed=0x0,height:_0x3996cb=0x0,angle:_0x5c93e8}=_0x4dea91[_0xff8f3b(0x22c)];_0x3a6ade=(0x0,_0x1c9bad[_0xff8f3b(0x50d)])({'left':_0x34fc23,'top':_0x56f9e4,'width':_0xfc8eed,'height':_0x3996cb},_0x5c93e8||0x0);}else _0x3a6ade={'left':_0x364825['x'],'top':_0x364825['y'],'width':0x0,'height':0x0};}else _0x3a6ade={'left':_0x364825['x'],'top':_0x364825['y'],'width':0x0,'height':0x0};let _0x201c13={'point':_0x364825,'angle':_0x1ecee2,'bounds':_0x3a6ade},_0x437299=_0x2b9e3f?_0x201c13:_0x3b7fbd,_0x12ad97=_0x2b9e3f?_0x3b7fbd:_0x201c13,_0x30b4e4=this['_activeShapeModel']['getShapeType'](),_0x4fc9dc=(0x0,_0x1c9bad[_0xff8f3b(0x402)])(_0x437299,_0x12ad97,_0x30b4e4);this[_0xff8f3b(0x418)][_0xff8f3b(0x33a)]();let _0x5356be=(0x0,_0x1c9bad[_0xff8f3b(0x4e3)])(_0x4fc9dc,_0x30b4e4);_0x243aa5?this[_0xff8f3b(0x4df)](_0x5356be,_0x243aa5,_0x929d7f,_0x2b9e3f,_0x3e467d):this['_executeConnectedRouteResizeCommand'](_0x5356be,_0x929d7f,_0x2b9e3f,_0x3e467d);}[_0x3bbe12(0x327)](_0x26bd54,_0x3547bf,_0x321fc1,_0x232a87){const _0x15ae22=_0x3bbe12;let _0x1aa2d0=this[_0x15ae22(0x418)][_0x15ae22(0x334)]()[_0x15ae22(0x324)],_0x256233={..._0x1aa2d0},_0x2cb279={'shapeId':_0x3547bf[_0x15ae22(0x222)],'cxnIndex':_0x3547bf['cxnIndex']};_0x321fc1?_0x256233[_0x15ae22(0x37a)]=_0x2cb279:_0x256233['to']=_0x2cb279;let _0x41fc7a=this[_0x15ae22(0x418)]['getShapeType'](),_0x492572=(0x0,_0x1c9bad[_0x15ae22(0x4e3)])(_0x26bd54[_0x15ae22(0x34d)],_0x41fc7a),_0x54e65d={'unitId':this[_0x15ae22(0x439)],'subUnitId':this[_0x15ae22(0x569)],'connectorShapeId':this[_0x15ae22(0x2d9)],'width':_0x26bd54['worldRect'][_0x15ae22(0x3a0)],'height':_0x26bd54[_0x15ae22(0x51b)]['height'],'left':_0x26bd54[_0x15ae22(0x51b)][_0x15ae22(0x44f)],'top':_0x26bd54['worldRect']['top'],'flipX':_0x26bd54['worldRect'][_0x15ae22(0x55e)]||!0x1,'flipY':_0x26bd54[_0x15ae22(0x51b)][_0x15ae22(0x4ad)]||!0x1,'newAdjustValues':_0x492572[_0x15ae22(0x3cb)],'oldAdjustValues':_0x232a87,'oldRelation':_0x1aa2d0,'newRelation':_0x256233,'newLineType':_0x492572[_0x15ae22(0x4e0)],'oldLineType':_0x41fc7a};this['_commandService'][_0x15ae22(0x207)](_0x501fe5[_0x15ae22(0x311)]['id'],_0x54e65d);}['_executeResizeCommand'](_0x4a2fc9,_0xd9fc80){const _0x456041=_0x3bbe12;let _0x54776f=this[_0x456041(0x418)]['getShapeType'](),_0x4c6843=(0x0,_0x1c9bad[_0x456041(0x4e3)])(_0x4a2fc9[_0x456041(0x34d)],_0x54776f),_0x3bf9e6={'unitId':this['_unitId'],'subUnitId':this[_0x456041(0x569)],'shapeId':this['_activeShapeId'],'width':_0x4a2fc9[_0x456041(0x51b)][_0x456041(0x3a0)],'height':_0x4a2fc9[_0x456041(0x51b)][_0x456041(0x330)],'left':_0x4a2fc9[_0x456041(0x51b)][_0x456041(0x44f)],'top':_0x4a2fc9[_0x456041(0x51b)][_0x456041(0x200)],'flipX':_0x4a2fc9['worldRect'][_0x456041(0x55e)]||!0x1,'flipY':_0x4a2fc9[_0x456041(0x51b)][_0x456041(0x4ad)]||!0x1,'angle':_0x4a2fc9['worldRect'][_0x456041(0x4b8)]||0x0,'newAdjustValues':_0x4c6843[_0x456041(0x3cb)],'oldAdjustValues':_0xd9fc80,'newLineType':_0x4c6843['lineType'],'oldLineType':_0x54776f};this[_0x456041(0x555)]['executeCommand'](_0x501fe5['UpdateLineShapeResizeCommand']['id'],_0x3bf9e6);}[_0x3bbe12(0x4df)](_0x404fb4,_0x11efb0,_0x3bf3ad,_0x2e2b24,_0x4e9c00){const _0x56f7ca=_0x3bbe12;let _0x22845d=this['_activeShapeModel']['getShapeData']()[_0x56f7ca(0x324)],_0x31b8ce={..._0x22845d},_0x1bee8c={'shapeId':_0x11efb0[_0x56f7ca(0x222)],'cxnIndex':_0x11efb0[_0x56f7ca(0x24a)]};_0x2e2b24?(_0x31b8ce[_0x56f7ca(0x37a)]=_0x1bee8c,_0x31b8ce['to']=_0x3bf3ad):(_0x31b8ce[_0x56f7ca(0x37a)]=_0x3bf3ad,_0x31b8ce['to']=_0x1bee8c);let _0x3bcbe1={'unitId':this[_0x56f7ca(0x439)],'subUnitId':this['_subUnitId'],'connectorShapeId':this[_0x56f7ca(0x2d9)],'width':_0x404fb4[_0x56f7ca(0x51b)]['width'],'height':_0x404fb4[_0x56f7ca(0x51b)]['height'],'left':_0x404fb4[_0x56f7ca(0x51b)][_0x56f7ca(0x44f)],'top':_0x404fb4['worldRect']['top'],'flipX':_0x404fb4[_0x56f7ca(0x51b)][_0x56f7ca(0x55e)]||!0x1,'flipY':_0x404fb4[_0x56f7ca(0x51b)][_0x56f7ca(0x4ad)]||!0x1,'oldAdjustValues':_0x4e9c00,'newAdjustValues':_0x404fb4['adjustValues'],'newLineType':_0x404fb4[_0x56f7ca(0x4e0)],'rotation':_0x404fb4[_0x56f7ca(0x27f)],'oldRelation':_0x22845d,'newRelation':_0x31b8ce};this[_0x56f7ca(0x555)][_0x56f7ca(0x207)](_0x501fe5[_0x56f7ca(0x311)]['id'],_0x3bcbe1);}[_0x3bbe12(0x241)](_0x5ca50c,_0x1246b2,_0x2a80ea,_0x29b0a8){const _0x4210bd=_0x3bbe12;let _0x4bf9ee=this['_activeShapeModel'][_0x4210bd(0x334)]()[_0x4210bd(0x324)],_0x29d1f1={};_0x2a80ea?(_0x29d1f1['to']=_0x1246b2,_0x29d1f1['from']=void 0x0):(_0x29d1f1['from']=_0x1246b2,_0x29d1f1['to']=void 0x0);let _0x1d100b={'unitId':this['_unitId'],'subUnitId':this[_0x4210bd(0x569)],'connectorShapeId':this[_0x4210bd(0x2d9)],'width':_0x5ca50c[_0x4210bd(0x51b)][_0x4210bd(0x3a0)],'height':_0x5ca50c[_0x4210bd(0x51b)]['height'],'left':_0x5ca50c[_0x4210bd(0x51b)][_0x4210bd(0x44f)],'top':_0x5ca50c[_0x4210bd(0x51b)][_0x4210bd(0x200)],'flipX':_0x5ca50c[_0x4210bd(0x51b)]['flipX']||!0x1,'flipY':_0x5ca50c['worldRect'][_0x4210bd(0x4ad)]||!0x1,'oldAdjustValues':_0x29b0a8,'newAdjustValues':_0x5ca50c['adjustValues'],'newLineType':_0x5ca50c[_0x4210bd(0x4e0)],'rotation':_0x5ca50c[_0x4210bd(0x27f)],'oldRelation':_0x4bf9ee,'newRelation':_0x29d1f1};this[_0x4210bd(0x555)][_0x4210bd(0x207)](_0x501fe5[_0x4210bd(0x311)]['id'],_0x1d100b);}[_0x3bbe12(0x2ce)](_0x3ba561,_0x2c8cee,_0x3be1ab){const _0x57eeb0=_0x3bbe12;this[_0x57eeb0(0x368)]((0x0,_0x5b0763['toDisposable'])(_0x3ba561['onPointerDown$'][_0x57eeb0(0x373)]((_0x11b4bd,_0x514480)=>{const _0x3526b4=_0x57eeb0;let _0x2b00cb=_0x3ba561[_0x3526b4(0x333)]();if(this[_0x3526b4(0x418)]=this['_sheetsShapeService'][_0x3526b4(0x338)](_0x2b00cb['unitId'],_0x2b00cb[_0x3526b4(0x58c)],_0x2b00cb[_0x3526b4(0x1af)]),!this['_activeShapeModel'])return;let _0x41e19d={};this[_0x3526b4(0x418)][_0x3526b4(0x1ba)]()[_0x3526b4(0x1e7)](_0x3a4695=>{const _0x133720=_0x3526b4;let _0x2e9299=this[_0x133720(0x418)][_0x133720(0x262)](_0x3a4695);_0x2e9299!==void 0x0&&(_0x41e19d[_0x3a4695]=_0x2e9299);});let _0x438ab8=this[_0x3526b4(0x2f9)]();if(!_0x438ab8)return;this[_0x3526b4(0x41a)]={..._0x438ab8};let _0xb5b0c4=new _0x1c9bad[(_0x3526b4(0x3ad))](this[_0x3526b4(0x41a)]),_0x58d9b4=(0x0,_0x37800f['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0x3526b4(0x439)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x3526b4(0x2d9)]}),_0x2e92d6=_0x2c8cee[_0x3526b4(0x53d)](_0x58d9b4);this[_0x3526b4(0x25f)]=!0x0,_0x2c8cee['disableObjectsEvent'](),this['_sheetBasicShapeConnectionPointController']['startConnectionDetection'](_0x2c8cee,this[_0x3526b4(0x439)],this[_0x3526b4(0x569)],this['_activeShapeId']),this[_0x3526b4(0x392)]=null;let _0x5000d9=this[_0x3526b4(0x418)]['getConnectorLinePoints'](),_0x453d69=_0x5000d9[0x0],_0x50d9b8=_0x5000d9[_0x5000d9['length']-0x1],_0x4d3bee=_0x3be1ab?_0xb5b0c4[_0x3526b4(0x2a3)](_0x50d9b8):_0xb5b0c4[_0x3526b4(0x2a3)](_0x453d69);this[_0x3526b4(0x1f1)]=_0x2c8cee[_0x3526b4(0x502)][_0x3526b4(0x373)]((_0x179133,_0x2b79a9)=>{const _0x15ff46=_0x3526b4;if(!this[_0x15ff46(0x25f)]||!this[_0x15ff46(0x418)])return;this[_0x15ff46(0x301)]||=(this[_0x15ff46(0x25c)][_0x15ff46(0x3ee)](),this[_0x15ff46(0x418)][_0x15ff46(0x367)](),!0x0);let _0x2c7c17=this[_0x15ff46(0x1ff)](this[_0x15ff46(0x439)],this['_subUnitId']),_0x558d16=this['_getZoomRatio'](this[_0x15ff46(0x439)],this[_0x15ff46(0x569)]),_0x322c1b={'x':_0x179133[_0x15ff46(0x4a0)]/_0x558d16+_0x2c7c17['x'],'y':_0x179133[_0x15ff46(0x1f9)]/_0x558d16+_0x2c7c17['y']},_0x5bc391=this[_0x15ff46(0x53c)][_0x15ff46(0x356)](_0x322c1b);if(_0x5bc391){let {shapeId:_0x44763a,unitId:_0x29d318,subUnitId:_0x46ded5}=_0x5bc391;if(_0x44763a&&_0x29d318&&_0x46ded5){let _0x287216=(0x0,_0x37800f['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x29d318,'subUnitId':_0x46ded5,'drawingId':_0x44763a});_0x5bc391[_0x15ff46(0x4b8)]=(_0x2c8cee['getObjectIncludeInGroup'](_0x287216)[_0x15ff46(0x4b8)]||0x0)+_0x5bc391[_0x15ff46(0x4b8)];}}this[_0x15ff46(0x392)]=_0x5bc391;let _0x4b02d3=_0x3be1ab?this[_0x15ff46(0x418)][_0x15ff46(0x282)]():this[_0x15ff46(0x418)][_0x15ff46(0x528)]();if(_0x4b02d3){this[_0x15ff46(0x232)](_0x4b02d3,_0x322c1b,_0x3be1ab,_0x2e92d6,_0x3ba561);return;}this['_handleFreeEndpointMove'](_0x322c1b,_0x4d3bee,_0x3be1ab,_0x2e92d6,_0x3ba561);}),this[_0x3526b4(0x389)]=_0x2c8cee[_0x3526b4(0x52f)][_0x3526b4(0x373)]((_0x1ade4b,_0x5076ff)=>{const _0x52210f=_0x3526b4;this[_0x52210f(0x4d5)](_0x2c8cee,_0x4d3bee,_0x1ade4b,_0x3be1ab,_0x41e19d);}),_0x514480[_0x3526b4(0x50b)]();})));}['_handleBasicShapeUpdateConnectorLineShape'](_0x192770,_0x366f2f,_0x2de760){const _0x10ea24=_0x3bbe12;let _0x354e59=this[_0x10ea24(0x3e3)][_0x10ea24(0x499)](_0x192770,_0x366f2f,_0x2de760);if(!_0x354e59||_0x354e59[_0x10ea24(0x2bb)]===0x0)return;let _0x52afd5=this['_renderManagerService'][_0x10ea24(0x3de)](_0x192770);if(!_0x52afd5)return;let {scene:_0x562a53}=_0x52afd5;for(let _0x5256f7 of _0x354e59){let _0x1f0b86=_0x5256f7[_0x10ea24(0x2e3)],_0x3e43e2=this[_0x10ea24(0x3e3)][_0x10ea24(0x338)](_0x192770,_0x366f2f,_0x1f0b86);if(!_0x3e43e2)continue;let _0x292e44=_0x3e43e2[_0x10ea24(0x528)](),_0x44a0ed=_0x3e43e2[_0x10ea24(0x282)](),_0x3138f5=(_0x292e44==null?void 0x0:_0x292e44[_0x10ea24(0x222)])===_0x2de760,_0x1c7694=(0x0,_0x37800f['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x192770,'subUnitId':_0x366f2f,'drawingId':_0x1f0b86}),_0x38fc34=_0x562a53[_0x10ea24(0x53d)](_0x1c7694);if(!_0x38fc34)continue;let _0x246902=this[_0x10ea24(0x4fb)]['getDrawingByParam']({'unitId':_0x192770,'subUnitId':_0x366f2f,'drawingId':_0x1f0b86});_0x246902!=null&&_0x246902['transform']&&(_0x292e44&&_0x44a0ed?this['_rerouteConnectorLine'](_0x192770,_0x366f2f,_0x1f0b86,_0x3e43e2,_0x292e44,_0x44a0ed,_0x38fc34):this[_0x10ea24(0x2c7)](_0x192770,_0x366f2f,_0x1f0b86,_0x3e43e2,_0x3138f5?_0x292e44:_0x44a0ed,_0x3138f5,_0x246902,_0x38fc34));}}[_0x3bbe12(0x2ff)](_0x5d4e20,_0x637537,_0x53fb9b,_0x3c1e12,_0xcd86c5,_0x25b97b,_0x185f30){const _0x50458a=_0x3bbe12;let _0x19ca09=this['_unitId'],_0x3f81d5=this['_subUnitId'];this[_0x50458a(0x439)]=_0x5d4e20,this[_0x50458a(0x569)]=_0x637537;let _0x221737=this['_getConnectPointInfo'](_0xcd86c5),_0x2b97ee=this[_0x50458a(0x28c)](_0x25b97b);if(this[_0x50458a(0x439)]=_0x19ca09,this[_0x50458a(0x569)]=_0x3f81d5,!_0x221737||!_0x2b97ee)return;let _0x14d2cd=_0x3c1e12[_0x50458a(0x281)](),_0x5e23a3=(0x0,_0x1c9bad[_0x50458a(0x402)])(_0x221737,_0x2b97ee,_0x14d2cd);_0x5e23a3&&_0x3c1e12[_0x50458a(0x35f)](_0x5e23a3);let _0x171384=(0x0,_0x1c9bad[_0x50458a(0x4e3)])(_0x5e23a3,_0x14d2cd);_0x171384['lineType']!==_0x14d2cd&&_0x3c1e12[_0x50458a(0x22a)](_0x171384[_0x50458a(0x4e0)]),_0x3c1e12[_0x50458a(0x367)]();for(let [_0x114a35,_0xd7bbbc]of Object[_0x50458a(0x359)](_0x171384[_0x50458a(0x3cb)]))_0x3c1e12['setAdjustValueByName'](_0x114a35,_0xd7bbbc);_0x3c1e12['updateContext']({'width':_0x171384[_0x50458a(0x51b)][_0x50458a(0x3a0)],'height':_0x171384[_0x50458a(0x51b)][_0x50458a(0x330)]}),_0x185f30[_0x50458a(0x23f)]({'flipX':_0x171384[_0x50458a(0x51b)]['flipX'],'flipY':_0x171384[_0x50458a(0x51b)][_0x50458a(0x4ad)],'left':_0x171384[_0x50458a(0x51b)][_0x50458a(0x44f)],'top':_0x171384[_0x50458a(0x51b)]['top'],'width':_0x171384['worldRect'][_0x50458a(0x3a0)],'height':_0x171384[_0x50458a(0x51b)]['height'],'angle':_0x171384[_0x50458a(0x27f)]}),_0x3c1e12[_0x50458a(0x33a)]();}[_0x3bbe12(0x2c7)](_0x13f8b5,_0x48589d,_0x29349d,_0x11a787,_0x2ba928,_0x494c84,_0x45ba38,_0x4a8680){const _0x839244=_0x3bbe12;let _0x149c65=this[_0x839244(0x439)],_0x262f6e=this[_0x839244(0x569)];this['_unitId']=_0x13f8b5,this[_0x839244(0x569)]=_0x48589d;let _0x1e133b=this['_getConnectPointInfo'](_0x2ba928);if(this[_0x839244(0x439)]=_0x149c65,this['_subUnitId']=_0x262f6e,!_0x1e133b)return;let {left:_0x5ece0e=0x0,top:_0x764d75=0x0,width:_0x2ecd4f=0x0,height:_0x2599ed=0x0,flipX:_0x81c072=!0x1,flipY:_0x687cb6=!0x1}=_0x45ba38['transform'],_0x203ea1=_0x11a787['getConnectorLinePoints']();if(_0x203ea1[_0x839244(0x2bb)]<0x2)return;let _0x5f3d7b=new _0x1c9bad[(_0x839244(0x3ad))]({'left':_0x5ece0e,'top':_0x764d75,'width':_0x2ecd4f,'height':_0x2599ed,'flipX':_0x81c072,'flipY':_0x687cb6}),_0x3bb49b=_0x494c84?_0x203ea1[_0x203ea1[_0x839244(0x2bb)]-0x1]:_0x203ea1[0x0],_0x1bdd72=_0x5f3d7b[_0x839244(0x2a3)](_0x3bb49b),_0x1a9087=_0x1c9bad['ConnectorCoordinateTransform'][_0x839244(0x2ae)](_0x1bdd72,_0x1e133b['point'],!_0x494c84);_0x4a8680[_0x839244(0x23f)]({'flipX':_0x1a9087[_0x839244(0x51b)][_0x839244(0x55e)],'flipY':_0x1a9087['worldRect']['flipY'],'left':_0x1a9087[_0x839244(0x51b)]['left'],'top':_0x1a9087[_0x839244(0x51b)][_0x839244(0x200)],'width':_0x1a9087[_0x839244(0x51b)][_0x839244(0x3a0)],'height':_0x1a9087[_0x839244(0x51b)][_0x839244(0x330)],'angle':_0x1a9087['worldRect']['angle']}),_0x4a8680[_0x839244(0x1b8)](!0x0);}[_0x3bbe12(0x4f3)](){const _0xb2d536=_0x3bbe12;this[_0xb2d536(0x39b)]['length']!==0x0&&(this[_0xb2d536(0x39b)][_0xb2d536(0x1e7)](_0x303295=>{const _0x20a2dd=_0xb2d536;_0x303295[_0x20a2dd(0x4a4)]();}),this[_0xb2d536(0x39b)]=[]);}[_0x3bbe12(0x360)](){const _0x43ed6c=_0x3bbe12;let _0x267c59=this[_0x43ed6c(0x2cc)][_0x43ed6c(0x529)](_0x5b0763[_0x43ed6c(0x48f)][_0x43ed6c(0x2ed)]);this[_0x43ed6c(0x368)](_0x267c59[_0x43ed6c(0x525)]((0x0,_0x3d6362[_0x43ed6c(0x515)])(_0x55bbb1=>_0x55bbb1?_0x55bbb1['activeSheet$'][_0x43ed6c(0x525)]((0x0,_0x3d6362[_0x43ed6c(0x515)])(_0x29a85b=>{const _0xd603e5=_0x43ed6c;if(!_0x29a85b)return _0x3d6362[_0xd603e5(0x39e)];let _0x907507=_0x55bbb1[_0xd603e5(0x292)](),_0x145f6a=this[_0xd603e5(0x3e6)][_0xd603e5(0x3de)](_0x907507),_0x1591e9=_0x145f6a==null?void 0x0:_0x145f6a[_0xd603e5(0x29e)];return _0x1591e9?(0x0,_0x3d6362['of'])(_0x1591e9):_0x3d6362[_0xd603e5(0x39e)];})):_0x3d6362[_0x43ed6c(0x39e)]))[_0x43ed6c(0x4f5)](_0x13468d=>{const _0x10078e=_0x43ed6c;let _0x2496f8=_0x13468d['getTransformerByCreate']();this[_0x10078e(0x368)](_0x13468d[_0x10078e(0x502)][_0x10078e(0x373)](_0x221fd5=>{const _0x58153e=_0x10078e;this['_isDrawingShapePointDown']&&this[_0x58153e(0x2d9)]&&this[_0x58153e(0x4f3)]();})),this['disposeWithMe'](_0x2496f8['changeStart$'][_0x10078e(0x4f5)](_0x28e591=>{const _0x3370ec=_0x10078e;let {objects:_0x1776c6}=_0x28e591;this['_clearShapeConnectorHandlerObjects'](),_0x1776c6!==null&&_0x1776c6[_0x3370ec(0x1c5)]===0x1&&_0x1776c6['values']()[_0x3370ec(0x32b)]()[_0x3370ec(0x43f)]instanceof _0x30f195&&(this[_0x3370ec(0x411)]=!0x0);})),this[_0x10078e(0x368)](_0x2496f8[_0x10078e(0x267)]['subscribe'](_0x1b48c5=>{const _0x3463ac=_0x10078e;this[_0x3463ac(0x411)]&&this[_0x3463ac(0x4f3)]();})),this[_0x10078e(0x368)](_0x13468d['onPointerUp$'][_0x10078e(0x373)](()=>{const _0x2ae4bd=_0x10078e;this['_isDrawingShapePointDown']&&(this[_0x2ae4bd(0x411)]=!0x1,this[_0x2ae4bd(0x37c)]());})),this['disposeWithMe'](_0x2496f8[_0x10078e(0x236)][_0x10078e(0x4f5)](()=>{const _0xe50042=_0x10078e;this[_0xe50042(0x439)]&&this[_0xe50042(0x569)]&&this[_0xe50042(0x2d9)]&&this[_0xe50042(0x4fb)][_0xe50042(0x1d0)]({'unitId':this['_unitId'],'subUnitId':this[_0xe50042(0x569)],'drawingId':this[_0xe50042(0x2d9)]})&&(this['_clearShapeConnectorHandlerObjects'](),this[_0xe50042(0x37c)]());}));}));}[_0x3bbe12(0x3c9)](){const _0x257cae=_0x3bbe12;this[_0x257cae(0x368)](this[_0x257cae(0x4fb)][_0x257cae(0x419)][_0x257cae(0x4f5)](_0x209e91=>{const _0x479faa=_0x257cae;if(_0x209e91[_0x479faa(0x2bb)]===0x1){let _0xe625a7=_0x209e91[0x0];if(_0xe625a7[_0x479faa(0x1d3)]===_0x5b0763[_0x479faa(0x2f8)][_0x479faa(0x462)]){let _0x29838e=this[_0x479faa(0x3e3)][_0x479faa(0x338)](_0xe625a7['unitId'],_0xe625a7[_0x479faa(0x58c)],_0xe625a7[_0x479faa(0x1af)]);if(_0x29838e&&(0x0,_0x1c9bad['isConnectorShape'])(_0x29838e[_0x479faa(0x281)]())){this['_activeShapeId']=_0xe625a7['drawingId'],this[_0x479faa(0x439)]=_0xe625a7['unitId'],this['_subUnitId']=_0xe625a7[_0x479faa(0x58c)],this[_0x479faa(0x4f3)](),this['_addShapeConnectorHandlerObjects']();return;}}}this[_0x479faa(0x2d9)]=void 0x0,this[_0x479faa(0x439)]=void 0x0,this[_0x479faa(0x569)]=void 0x0,this[_0x479faa(0x4f3)]();})),this[_0x257cae(0x368)](this[_0x257cae(0x4fb)][_0x257cae(0x4d4)]['subscribe'](_0x4be2a5=>{const _0x57356a=_0x257cae;if(_0x4be2a5[_0x57356a(0x2bb)]===0x1){var _0x297f35;let _0x186354=_0x4be2a5[0x0],_0x28120c=(_0x297f35=this[_0x57356a(0x4fb)][_0x57356a(0x1d0)](_0x186354))==null?void 0x0:_0x297f35['drawingType'];_0x28120c===_0x5b0763[_0x57356a(0x2f8)]['DRAWING_SHAPE']&&_0x186354[_0x57356a(0x1af)]===this[_0x57356a(0x2d9)]?(this[_0x57356a(0x4f3)](),this[_0x57356a(0x37c)]()):!this[_0x57356a(0x2d9)]&&_0x28120c===_0x5b0763[_0x57356a(0x2f8)][_0x57356a(0x462)]&&this[_0x57356a(0x40f)](_0x186354[_0x57356a(0x53b)],_0x186354['subUnitId'],_0x186354[_0x57356a(0x1af)]);}})),this[_0x257cae(0x368)](this[_0x257cae(0x4fb)][_0x257cae(0x50c)][_0x257cae(0x4f5)](_0x486bc0=>{const _0x205a86=_0x257cae;for(let _0x432a37 of _0x486bc0){let {drawingId:_0x2eeb9d}=_0x432a37;if(this[_0x205a86(0x2d9)]===_0x2eeb9d){this[_0x205a86(0x31a)]();return;}}}));}[_0x3bbe12(0x232)](_0x288fa5,_0x4e729a,_0x57993e,_0x578078,_0x1ea9e3){const _0x141e38=_0x3bbe12;var _0x36266c;if(!this[_0x141e38(0x418)])return;let _0x10d903=this[_0x141e38(0x28c)](_0x288fa5);if(!_0x10d903)return;let _0x18c074=this[_0x141e38(0x392)]?this[_0x141e38(0x392)]['worldPoint']:_0x4e729a,_0x3e0b49=this[_0x141e38(0x392)]?this['_currentConnectionTarget'][_0x141e38(0x4b8)]:this['_calculateFreeEndpointAngle'](_0x10d903['point'],_0x18c074),_0x2012e7;if(this[_0x141e38(0x392)]){let _0x108750=this['_drawingManagerService'][_0x141e38(0x1d0)]({'unitId':this['_currentConnectionTarget']['unitId'],'subUnitId':this[_0x141e38(0x392)][_0x141e38(0x58c)],'drawingId':this[_0x141e38(0x392)][_0x141e38(0x222)]});if(_0x108750!=null&&_0x108750[_0x141e38(0x22c)]){let {left:_0x2fc0a6=0x0,top:_0x56923=0x0,width:_0xbe8918=0x0,height:_0x129dd6=0x0,angle:_0x170250}=_0x108750[_0x141e38(0x22c)];_0x2012e7=(0x0,_0x1c9bad[_0x141e38(0x50d)])({'left':_0x2fc0a6,'top':_0x56923,'width':_0xbe8918,'height':_0x129dd6},_0x170250||0x0);}else _0x2012e7={'left':_0x18c074['x'],'top':_0x18c074['y'],'width':0x0,'height':0x0};}else _0x2012e7={'left':_0x18c074['x'],'top':_0x18c074['y'],'width':0x0,'height':0x0};let _0x1a989c={'point':_0x18c074,'angle':_0x3e0b49,'bounds':_0x2012e7},_0x2f7591=_0x57993e?_0x1a989c:_0x10d903,_0x1b63af=_0x57993e?_0x10d903:_0x1a989c,_0xb1b795=this[_0x141e38(0x418)]['getShapeType'](),_0x427dab=(0x0,_0x1c9bad['routeConnectorLineShape'])(_0x2f7591,_0x1b63af,_0xb1b795);_0x427dab&&this[_0x141e38(0x418)][_0x141e38(0x35f)](_0x427dab);let _0x5d459f=(0x0,_0x1c9bad[_0x141e38(0x4e3)])(_0x427dab,_0xb1b795);_0x5d459f[_0x141e38(0x4e0)]!==_0xb1b795&&this[_0x141e38(0x418)][_0x141e38(0x22a)](_0x5d459f[_0x141e38(0x4e0)]);for(let [_0x2d03da,_0x3f4782]of Object[_0x141e38(0x359)](_0x5d459f[_0x141e38(0x3cb)]))this['_activeShapeModel'][_0x141e38(0x4ae)](_0x2d03da,_0x3f4782);this[_0x141e38(0x418)]['updateContext']({'width':_0x5d459f[_0x141e38(0x51b)][_0x141e38(0x3a0)],'height':_0x5d459f[_0x141e38(0x51b)]['height']}),_0x578078[_0x141e38(0x23f)]({'flipX':_0x5d459f[_0x141e38(0x51b)][_0x141e38(0x55e)],'flipY':_0x5d459f[_0x141e38(0x51b)][_0x141e38(0x4ad)],'left':_0x5d459f[_0x141e38(0x51b)]['left'],'top':_0x5d459f[_0x141e38(0x51b)][_0x141e38(0x200)],'width':_0x5d459f[_0x141e38(0x51b)][_0x141e38(0x3a0)],'height':_0x5d459f[_0x141e38(0x51b)][_0x141e38(0x330)],'angle':_0x5d459f[_0x141e38(0x27f)]}),_0x578078['makeDirty'](!0x0);let _0x116082=((_0x36266c=this['_currentConnectionTarget'])==null?void 0x0:_0x36266c[_0x141e38(0x275)])??_0x4e729a;_0x1ea9e3['transformByState']({'left':_0x116082['x']-_0x1c9bad[_0x141e38(0x1b9)][_0x141e38(0x3b0)],'top':_0x116082['y']-_0x1c9bad[_0x141e38(0x1b9)][_0x141e38(0x3b0)]});}[_0x3bbe12(0x218)](_0x20e6b5,_0x56f138,_0x3ce382,_0x50d4ff,_0x8e1f55){const _0x415e6b=_0x3bbe12;var _0x2fe610,_0x16f471;let _0x396509=((_0x2fe610=this[_0x415e6b(0x392)])==null?void 0x0:_0x2fe610[_0x415e6b(0x275)])??_0x20e6b5,_0xc955dd=_0x1c9bad['ConnectorCoordinateTransform'][_0x415e6b(0x2ae)](_0x56f138,_0x396509,_0x3ce382);_0x50d4ff['transformByState']({'flipX':_0xc955dd[_0x415e6b(0x51b)][_0x415e6b(0x55e)],'flipY':_0xc955dd[_0x415e6b(0x51b)][_0x415e6b(0x4ad)],'left':_0xc955dd['worldRect'][_0x415e6b(0x44f)],'top':_0xc955dd[_0x415e6b(0x51b)][_0x415e6b(0x200)],'width':_0xc955dd[_0x415e6b(0x51b)][_0x415e6b(0x3a0)],'height':_0xc955dd[_0x415e6b(0x51b)][_0x415e6b(0x330)],'angle':_0xc955dd[_0x415e6b(0x51b)][_0x415e6b(0x4b8)]});let _0x262ffa=((_0x16f471=this[_0x415e6b(0x392)])==null?void 0x0:_0x16f471['worldPoint'])??_0x20e6b5;_0x8e1f55['transformByState']({'left':_0x262ffa['x']-_0x1c9bad[_0x415e6b(0x1b9)][_0x415e6b(0x3b0)],'top':_0x262ffa['y']-_0x1c9bad['ShapeDefaultConfig'][_0x415e6b(0x3b0)]});}[_0x3bbe12(0x28c)](_0x13ae8c){const _0x219e90=_0x3bbe12;if(!this[_0x219e90(0x439)]||!this[_0x219e90(0x569)])return null;let {shapeId:_0x170011,cxnIndex:_0x243d1a}=_0x13ae8c,_0xd1197c=this[_0x219e90(0x3e3)][_0x219e90(0x338)](this[_0x219e90(0x439)],this[_0x219e90(0x569)],_0x170011);if(!_0xd1197c)return null;let _0x3401be=this[_0x219e90(0x4fb)][_0x219e90(0x1d0)]({'unitId':this[_0x219e90(0x439)],'subUnitId':this[_0x219e90(0x569)],'drawingId':_0x170011});if(!(_0x3401be!=null&&_0x3401be[_0x219e90(0x22c)]))return null;let {left:_0x536fee=0x0,top:_0x489f07=0x0,width:_0x49952c=0x0,height:_0x14900a=0x0,flipX:_0x4790db=!0x1,flipY:_0x91a5fe=!0x1,angle:_0x1135d3}=_0x3401be[_0x219e90(0x22c)];_0xd1197c[_0x219e90(0x2ee)]({'width':_0x49952c,'height':_0x14900a});let _0xcc7ede=_0xd1197c[_0x219e90(0x49b)]()[_0x219e90(0x3e9)](_0x30e234=>_0x30e234[_0x219e90(0x485)]===_0x243d1a);if(!_0xcc7ede)return null;let _0x5137df=_0x4790db?_0x49952c-_0xcc7ede['x']:_0xcc7ede['x'],_0x487e2f=_0x91a5fe?_0x14900a-_0xcc7ede['y']:_0xcc7ede['y'];if(_0x1135d3!==0x0&&_0x1135d3!=null){let _0x26df0e=_0x1135d3*Math['PI']/0xb4,_0x880097=Math[_0x219e90(0x459)](_0x26df0e),_0x11c5b9=Math[_0x219e90(0x343)](_0x26df0e),_0x288377=_0x49952c/0x2,_0x553bc3=_0x14900a/0x2,_0x3bdd16=_0x5137df-_0x288377,_0x3a2a30=_0x487e2f-_0x553bc3;_0x5137df=_0x288377+_0x3bdd16*_0x880097-_0x3a2a30*_0x11c5b9,_0x487e2f=_0x553bc3+_0x3bdd16*_0x11c5b9+_0x3a2a30*_0x880097;}_0x5137df+=_0x536fee,_0x487e2f+=_0x489f07;let _0x5a04a6=_0xcc7ede[_0x219e90(0x3e4)]/0xea60;_0x4790db&&(_0x5a04a6=0xb4-_0x5a04a6),_0x91a5fe&&(_0x5a04a6=-_0x5a04a6),_0x5a04a6+=_0x1135d3||0x0,_0x5a04a6=(_0x5a04a6%0x168+0x168)%0x168;let _0x11d1c0=(0x0,_0x1c9bad[_0x219e90(0x50d)])({'left':_0x536fee,'top':_0x489f07,'width':_0x49952c,'height':_0x14900a},_0x1135d3||0x0);return{'point':{'x':_0x5137df,'y':_0x487e2f},'angle':_0x5a04a6,'bounds':_0x11d1c0};}['_calculateFreeEndpointAngle'](_0x496d9b,_0xffccee){const _0x127b74=_0x3bbe12;let _0x414d56=_0xffccee['x']-_0x496d9b['x'],_0x585c87=_0xffccee['y']-_0x496d9b['y'];return Math['abs'](_0x414d56)>=Math[_0x127b74(0x422)](_0x585c87)?_0x414d56>=0x0?0xb4:0x0:_0x585c87>=0x0?0x10e:0x5a;}[_0x3bbe12(0x31a)](){const _0x1fd2f6=_0x3bbe12;this[_0x1fd2f6(0x2d9)]=void 0x0,this[_0x1fd2f6(0x439)]=void 0x0,this[_0x1fd2f6(0x569)]=void 0x0,this[_0x1fd2f6(0x4f3)]();}[_0x3bbe12(0x4a4)](){const _0x1fcffc=_0x3bbe12;this[_0x1fcffc(0x4f3)](),super[_0x1fcffc(0x4a4)]();}};_0x297d03=_0x476b0f([_0x5ec307(0x1,_0x5b0763[_0x3bbe12(0x2c3)]),_0x5ec307(0x2,_0x463287[_0x3bbe12(0x52d)]),_0x5ec307(0x3,_0x37800f[_0x3bbe12(0x457)]),_0x5ec307(0x4,_0x5b0763[_0x3bbe12(0x467)]),_0x5ec307(0x5,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x501fe5['SheetsShapeService'])),_0x5ec307(0x6,(0x0,_0x5b0763['Inject'])(_0x5bb4e7)),_0x5ec307(0x7,(0x0,_0x5b0763['Inject'])(_0x116eec))],_0x297d03);let _0x2b2ed9=class extends _0x5b0763[_0x3bbe12(0x1de)]{constructor(_0x66036a,_0x56bb48,_0x744927){const _0x147c34=_0x3bbe12;super(),this[_0x147c34(0x283)]=_0x66036a,this['_drawingManagerService']=_0x56bb48,this[_0x147c34(0x391)]=_0x744927,this[_0x147c34(0x2a2)]();}[_0x3bbe12(0x2a2)](){const _0x30ce6e=_0x3bbe12;this[_0x30ce6e(0x368)](this[_0x30ce6e(0x283)]['interceptor'][_0x30ce6e(0x2dc)](this[_0x30ce6e(0x283)][_0x30ce6e(0x1ca)][_0x30ce6e(0x403)]()['PRINTING_COMPONENT_COLLECT'],{'handler':(_0x1222ff,_0x329cfd,_0x3e33df)=>{const _0x183df3=_0x30ce6e;var _0x1c2c4b;let {unitId:_0x3c68f9,subUnitId:_0xe8cd0f,scene:_0x23e6f1,resourceCollector:_0x98aa9a}=_0x329cfd,_0x100b78=(_0x1c2c4b=this[_0x183df3(0x4fb)][_0x183df3(0x3b3)](_0x3c68f9))==null?void 0x0:_0x1c2c4b[_0xe8cd0f];return _0x100b78==null||_0x100b78[_0x183df3(0x50a)]['forEach'](_0x1bfc79=>{const _0x196a42=_0x183df3;let _0x43ab81=_0x100b78[_0x196a42(0x455)][_0x1bfc79];_0x43ab81[_0x196a42(0x1d3)]===_0x5b0763['DrawingTypeEnum']['DRAWING_SHAPE']&&!_0x43ab81[_0x196a42(0x21f)]&&this[_0x196a42(0x391)][_0x196a42(0x214)](_0x43ab81,_0x23e6f1,{'resourceCollector':_0x98aa9a});}),_0x3e33df(_0x1222ff);}}));}};_0x2b2ed9=_0x476b0f([_0x5ec307(0x0,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x54c89f['SheetPrintInterceptorService'])),_0x5ec307(0x1,_0x37800f[_0x3bbe12(0x457)]),_0x5ec307(0x2,(0x0,_0x5b0763['Inject'])(_0x14a8a5))],_0x2b2ed9);let _0x5e5e5c=class extends _0x5b0763[_0x3bbe12(0x1de)]{constructor(_0x46e8c3,_0x267b23,_0x5f4624){const _0x4df7c1=_0x3bbe12;super(),this[_0x4df7c1(0x555)]=_0x46e8c3,this[_0x4df7c1(0x1bc)]=_0x267b23,this[_0x4df7c1(0x501)]=_0x5f4624,this[_0x4df7c1(0x3f4)]();}[_0x3bbe12(0x3f4)](){const _0x401b00=_0x3bbe12;this['disposeWithMe'](this['_commandService'][_0x401b00(0x41e)](_0x264b7d=>{const _0x3a002e=_0x401b00;let _0x4a64b8,_0x36b1ad;if(_0x264b7d['id']===_0x501fe5[_0x3a002e(0x430)]['id']||_0x264b7d['id']===_0x501fe5[_0x3a002e(0x44b)]['id']||_0x264b7d['id']===_0x501fe5[_0x3a002e(0x311)]['id']){let _0x401fa0=_0x264b7d[_0x3a002e(0x242)];_0x4a64b8=_0x401fa0[_0x3a002e(0x53b)],_0x36b1ad=_0x401fa0[_0x3a002e(0x58c)];}_0x4a64b8&&_0x36b1ad&&(this[_0x3a002e(0x501)][_0x3a002e(0x25b)]({'workbookTypes':[_0x2e7766[_0x3a002e(0x2f4)]],'worksheetTypes':[_0x2e7766[_0x3a002e(0x1cc)]]},_0x4a64b8,_0x36b1ad)||this['_sheetPermissionCheckController'][_0x3a002e(0x385)](this[_0x3a002e(0x1bc)]['t'](_0x3a002e(0x586))));}));}};_0x5e5e5c=_0x476b0f([_0x5ec307(0x0,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x5b0763[_0x3bbe12(0x2c3)])),_0x5ec307(0x1,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x5b0763['LocaleService'])),_0x5ec307(0x2,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x2e7766[_0x3bbe12(0x561)]))],_0x5e5e5c);let _0xde24c3=class{constructor(_0x27b07c){this['_renderManagerService']=_0x27b07c;}[_0x3bbe12(0x365)](_0x19a99d,_0x18f582){const _0x27c564=_0x3bbe12;let _0x57d4a9=this['_renderManagerService']['getRenderUnitById'](_0x19a99d[_0x27c564(0x53b)]),_0x381dad=_0x57d4a9==null?void 0x0:_0x57d4a9[_0x27c564(0x29e)];if(!_0x381dad)return;let _0x2ba474=(0x0,_0x37800f['getDrawingShapeKeyByDrawingSearch'])(_0x19a99d),_0x303b0e=_0x381dad['getObjectIncludeInGroup'](_0x2ba474);_0x303b0e==null||_0x303b0e[_0x27c564(0x3fb)](_0x18f582);}};_0xde24c3=_0x476b0f([_0x5ec307(0x0,_0x463287[_0x3bbe12(0x52d)])],_0xde24c3);let _0x4e7129=class extends _0x5b0763[_0x3bbe12(0x243)]{constructor(_0x26fd02=_0x5998c1,_0x2dc1c6,_0x1b9308,_0xd1d7e8,_0x554c58){const _0xd63f19=_0x3bbe12;super(),this[_0xd63f19(0x42e)]=_0x26fd02,this[_0xd63f19(0x342)]=_0x2dc1c6,this[_0xd63f19(0x555)]=_0x1b9308,this[_0xd63f19(0x4c9)]=_0xd1d7e8,this['_renderManagerService']=_0x554c58;let {..._0x4738c2}=(0x0,_0x5b0763[_0xd63f19(0x56e)])({},_0x5998c1,this['_config']);this[_0xd63f19(0x4c9)][_0xd63f19(0x3da)](_0x22e212,_0x4738c2),this[_0xd63f19(0x314)]();}['onStarting'](){const _0x32c73b=_0x3bbe12;this[_0x32c73b(0x342)][_0x32c73b(0x495)]([_0x2f7941]),this['_injector'][_0x32c73b(0x3f3)](_0x2f7941),(0x0,_0x5b0763['registerDependencies'])(this[_0x32c73b(0x342)],[[_0x500e01],[_0x337505],[_0x14a8a5],[_0x2b2ed9],[_0xde24c3],[_0x57efab],[_0x4c0745],[_0x3a0622],[_0x5e5e5c]]);}[_0x3bbe12(0x55b)](){const _0x2375b9=_0x3bbe12;(0x0,_0x5b0763[_0x2375b9(0x40a)])(this['_injector'],[[_0x116eec],[_0x5bb4e7],[_0x55b3a8]]),(0x0,_0x5b0763[_0x2375b9(0x231)])(this['_injector'],[[_0x55b3a8],[_0x5bb4e7]]),[[_0x116eec],[_0x2a5e3f],[_0x297d03],[_0x4b2005]][_0x2375b9(0x1e7)](_0xbe927=>{const _0x7bc5e9=_0x2375b9;this['disposeWithMe'](this[_0x7bc5e9(0x3e6)][_0x7bc5e9(0x489)](_0x5b0763['UniverInstanceType'][_0x7bc5e9(0x2ed)],_0xbe927));});}['onRendered'](){const _0x19bebd=_0x3bbe12;(0x0,_0x5b0763[_0x19bebd(0x231)])(this[_0x19bebd(0x342)],[[_0x500e01],[_0x337505],[_0x14a8a5],[_0x2b2ed9],[_0xde24c3],[_0x57efab],[_0x4c0745],[_0x3a0622],[_0x5e5e5c]]);}[_0x3bbe12(0x570)](){const _0x34dc8f=_0x3bbe12;this[_0x34dc8f(0x342)][_0x34dc8f(0x3f3)](_0x500e01)['initShapePopupMenu']();}[_0x3bbe12(0x314)](){const _0x3f0e3b=_0x3bbe12;[_0x3ae9dd,_0x5163ea,_0x2c3fc4,_0x6dca8e][_0x3f0e3b(0x1e7)](_0xeee9fd=>this[_0x3f0e3b(0x368)](this[_0x3f0e3b(0x555)][_0x3f0e3b(0x315)](_0xeee9fd)));}};_0x19095(_0x4e7129,_0x3bbe12(0x56a),_0x5b0763[_0x3bbe12(0x48f)]['UNIVER_SHEET']),_0x19095(_0x4e7129,_0x3bbe12(0x34a),'SHEET_SHAPE_UI_PLUGIN'),_0x19095(_0x4e7129,_0x3bbe12(0x3e0),_0x55669f),_0x19095(_0x4e7129,_0x3bbe12(0x3d2),_0x41af0d),_0x4e7129=_0x476b0f([(0x0,_0x5b0763[_0x3bbe12(0x4f4)])(_0x4606ed[_0x3bbe12(0x23c)],_0x411252['UniverDocsPlugin'],_0x37800f[_0x3bbe12(0x21a)],_0x463287[_0x3bbe12(0x2a0)],_0x2e7766[_0x3bbe12(0x584)],_0x2bf0d1[_0x3bbe12(0x1e5)],_0x47629f[_0x3bbe12(0x35a)],_0x214c33['UniverShapeEditorPlugin'],_0x29d240['UniverSheetsDrawingMobileUIPlugin'],_0x501fe5[_0x3bbe12(0x1bb)],_0x54c89f[_0x3bbe12(0x4da)],_0x3c7e1c[_0x3bbe12(0x507)],_0x18daae[_0x3bbe12(0x580)]),_0x5ec307(0x1,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x5b0763[_0x3bbe12(0x2cd)])),_0x5ec307(0x2,_0x5b0763[_0x3bbe12(0x2c3)]),_0x5ec307(0x3,_0x5b0763[_0x3bbe12(0x445)]),_0x5ec307(0x4,_0x463287['IRenderManagerService'])],_0x4e7129);let _0x2ab1b0={'type':_0x5b0763['CommandType'][_0x3bbe12(0x1d1)],'id':'sheet.operation.close-sheet-shape-format-panel','handler'(){return!0x0;}};function _0x38c203(){const _0x4fe737=_0x3bbe12;let _0x5e4dfe=(0x0,_0x18daae[_0x4fe737(0x38e)])(_0x37800f[_0x4fe737(0x457)]),_0x3a2694=(0x0,_0x18daae['useObservable'])(()=>_0x5e4dfe['focus$'],_0x5e4dfe[_0x4fe737(0x2ac)](),!0x1,[_0x5e4dfe]);return _0x3a2694[_0x4fe737(0x2bb)]===0x0?null:(0x0,_0x521d83[_0x4fe737(0x53e)])('div',{'children':(0x0,_0x521d83[_0x4fe737(0x2b6)])('div',{'className':'univer-box-border\x20univer-px-4\x20univer-text-sm','children':[(0x0,_0x521d83['jsx'])(_0x3ec2cc[_0x4fe737(0x38b)],{'drawings':_0x3a2694,'hasCropper':!0x1}),(0x0,_0x521d83[_0x4fe737(0x53e)])(_0x29d240[_0x4fe737(0x36a)],{'drawings':_0x3a2694})]})});}function _0x1f959e(_0x4844c1){const _0x1e052a=_0x3bbe12;let {unitId:_0x229f85,subUnitId:_0x19dca0,shapeId:_0x1c8171}=_0x4844c1,_0x29b96e=(0x0,_0x18daae[_0x1e052a(0x38e)])(_0x5b0763[_0x1e052a(0x2c3)]),_0x23c1c1=(0x0,_0x18daae['useDependency'])(_0xde24c3);return(0x0,_0x521d83['jsx'])(_0x3c7e1c[_0x1e052a(0x1d6)],{..._0x4844c1,'positionEditor':(0x0,_0x521d83[_0x1e052a(0x53e)])(_0x38c203,{}),'onUpdateShapeData':(_0xedd403,_0x5c1fda)=>{_0x5b8a5d(_0x29b96e,_0x229f85,_0x19dca0,_0x1c8171,_0xedd403,_0x5c1fda);},'onUpdateLineShapeData':(_0x3887f4,_0x1a32ad)=>{_0x5afe63(_0x29b96e,_0x229f85,_0x19dca0,_0x1c8171,_0x3887f4,_0x1a32ad);},'onUpdateShapeFillImage':_0xef152e=>{const _0x1a2906=_0x1e052a;_0x23c1c1[_0x1a2906(0x365)]({'unitId':_0x229f85,'subUnitId':_0x19dca0,'drawingId':_0x1c8171},_0xef152e);}});}function _0x56150d(_0x5581ba){const _0x537882=_0x3bbe12;let _0x26390b=(0x0,_0x18daae[_0x537882(0x38e)])(_0x3c7e1c[_0x537882(0x308)]),_0x50c747=(0x0,_0x18daae[_0x537882(0x464)])(()=>_0x26390b['visible$'],_0x26390b[_0x537882(0x249)](),!0x1,[_0x26390b]),_0x1d1231=_0x5581ba[_0x537882(0x1e8)][_0x537882(0x1c3)];return!_0x1d1231||!_0x50c747?null:(0x0,_0x521d83[_0x537882(0x53e)])(_0x50cdaa,{..._0x1d1231,'canvasElement':_0x5581ba[_0x537882(0x1e8)]['canvasElement']});}function _0x50cdaa(_0x5e723b){const _0x9401c1=_0x3bbe12;let _0x2c024f=(0x0,_0x18daae[_0x9401c1(0x38e)])(_0x5b0763[_0x9401c1(0x2c3)]),_0x130b48=(0x0,_0x18daae[_0x9401c1(0x38e)])(_0x501fe5[_0x9401c1(0x235)]),{unitId:_0x4b4571,subUnitId:_0x3a476c,drawingId:_0x5445d4,drawingType:_0x390e00,shapeType:_0x2399cc}=_0x5e723b,[_0x304534,_0x598705]=(0x0,_0x101f75[_0x9401c1(0x4e5)])(_0x5e723b[_0x9401c1(0x3d1)]),_0x27be31=(0x0,_0x101f75['useMemo'])(()=>(0x0,_0x3c7e1c[_0x9401c1(0x432)])(_0x304534),[_0x304534]),_0x1e36b9=(0x0,_0x101f75[_0x9401c1(0x52a)])(()=>(0x0,_0x3c7e1c['getTextModel'])(_0x304534),[_0x304534]);(0x0,_0x101f75[_0x9401c1(0x272)])(()=>{const _0x5d54c6=_0x9401c1;let _0x320cc2=_0x2c024f[_0x5d54c6(0x1f0)](_0x1516f0=>{const _0x51014c=_0x5d54c6;if(_0x1516f0['id']!==_0x501fe5['UpdateSheetsShapeDataMutation']['id'])return;let _0x11f9d9=_0x130b48[_0x51014c(0x437)](_0x4b4571,_0x3a476c,_0x5445d4);_0x11f9d9&&_0x598705(_0x11f9d9);});return()=>_0x320cc2[_0x5d54c6(0x4a4)]();},[_0x2c024f,_0x5445d4,_0x130b48,_0x3a476c,_0x4b4571]);let _0x402421=_0x3e37c1=>{_0x598705(_0x34642c=>({..._0x34642c,..._0x3e37c1}));},_0x5340c3=_0x500c7e=>{const _0x2375d8=_0x9401c1;let _0x3d88ba=(0x0,_0x3c7e1c['buildShapeTextDataUpdate'])(_0x304534,_0x500c7e);_0x5b8a5d(_0x2c024f,_0x4b4571,_0x3a476c,_0x5445d4,{'oldShapeData':{'shapeText':_0x304534[_0x2375d8(0x29f)]}},_0x3d88ba),_0x402421(_0x3d88ba);},_0x36274e=(0x0,_0x3c7e1c[_0x9401c1(0x4ce)])({'hostType':_0x5b0763[_0x9401c1(0x48f)][_0x9401c1(0x2ed)],'unitId':_0x4b4571,'subUnitId':_0x3a476c,'shapeId':_0x5445d4,'shapeData':_0x304534,'onUpdateBinding':_0xf3f024=>{const _0x1c26f0=_0x9401c1;let _0x46ce5a={'formulaBinding':_0xf3f024};_0x5b8a5d(_0x2c024f,_0x4b4571,_0x3a476c,_0x5445d4,{'oldShapeData':{'formulaBinding':_0x304534[_0x1c26f0(0x3c5)]}},_0x46ce5a),_0x402421(_0x46ce5a);}});return(0x0,_0x521d83[_0x9401c1(0x2b6)])(_0x521d83[_0x9401c1(0x1d8)],{'children':[(0x0,_0x521d83[_0x9401c1(0x53e)])(_0x3c7e1c[_0x9401c1(0x1ee)],{'canvasElement':_0x5e723b[_0x9401c1(0x225)],'shapeData':_0x304534,'shapeType':_0x2399cc,'textStyle':{'ff':_0x1c9bad[_0x9401c1(0x1b9)][_0x9401c1(0x29f)]['fontFamily'],'fs':_0x1c9bad[_0x9401c1(0x1b9)]['shapeText'][_0x9401c1(0x4ba)],'cl':{'rgb':_0x1c9bad[_0x9401c1(0x1b9)][_0x9401c1(0x29f)]['color']},..._0x27be31},'textModel':_0x1e36b9?{'ha':_0x1e36b9['ha']??_0x5b0763[_0x9401c1(0x429)][_0x9401c1(0x30e)],'va':_0x1e36b9['va']??_0x5b0763['VerticalAlign'][_0x9401c1(0x471)]}:null,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x1c9bad[_0x9401c1(0x1b9)][_0x9401c1(0x23b)],'defaultGradientEndColor':_0x1c9bad['ShapeDefaultConfig'][_0x9401c1(0x59b)],'defaultStrokeColor':_0x1c9bad['ShapeDefaultConfig'][_0x9401c1(0x49a)],'extensionGroups':_0x36274e[_0x9401c1(0x30b)],'floatingObjectToolbarPosition':_0x18daae[_0x9401c1(0x24f)]['SHEET'],'onUpdateShapeData':(_0x530787,_0x4869f1)=>{_0x5b8a5d(_0x2c024f,_0x4b4571,_0x3a476c,_0x5445d4,_0x530787,_0x4869f1),_0x4869f1&&_0x402421(_0x4869f1);},'onUpdateText':_0x5340c3,'onOpenPanel':()=>{const _0x2519f9=_0x9401c1;_0x2c024f[_0x2519f9(0x207)](_0x3195a4['id'],{'unitId':_0x4b4571,'subUnitId':_0x3a476c,'drawingId':_0x5445d4});},'onDelete':()=>{const _0x208f0e=_0x9401c1;_0x2c024f[_0x208f0e(0x207)](_0x47629f[_0x208f0e(0x536)]['id'],{'unitId':_0x4b4571,'drawings':[{'unitId':_0x4b4571,'subUnitId':_0x3a476c,'drawingId':_0x5445d4,'drawingType':_0x390e00}]});}}),_0x36274e[_0x9401c1(0x560)]]});}function _0xd55ecb(_0xac0cc3){const _0x3d7945=_0x3bbe12;return!!_0xac0cc3&&_0x3d7945(0x58b)in _0xac0cc3&&_0x3d7945(0x460)in _0xac0cc3;}let _0x29d576=(0x0,_0x101f75[_0x3bbe12(0x407)])(()=>{const _0x2e24e6=_0x3bbe12;let _0x28c023=(0x0,_0x18daae['useDependency'])(_0x57efab),_0x21815c=(0x0,_0x18daae[_0x2e24e6(0x38e)])(_0x501fe5[_0x2e24e6(0x235)]),_0xa911f4=(0x0,_0x18daae[_0x2e24e6(0x38e)])(_0x37800f[_0x2e24e6(0x457)]),_0x1bf2f8=(0x0,_0x18daae[_0x2e24e6(0x38e)])(_0x5b0763[_0x2e24e6(0x2c3)]),_0x10f49c=(0x0,_0x18daae[_0x2e24e6(0x38e)])(_0x18daae['UndoRedoGroupService']),_0x3152dd=(0x0,_0x18daae[_0x2e24e6(0x38e)])(_0x463287[_0x2e24e6(0x52d)]),_0x247b75=(0x0,_0x101f75[_0x2e24e6(0x52a)])(()=>({'getShapeModel':(_0x45fd9e,_0x348e2d,_0x589fcc)=>_0x21815c['getShapeModel'](_0x45fd9e,_0x348e2d,_0x589fcc),'getShapeData':(_0x57dd4b,_0x452a8e,_0x53e0d3)=>_0x21815c[_0x2e24e6(0x437)](_0x57dd4b,_0x452a8e,_0x53e0d3),'getDrawingTransform':(_0x341f6f,_0x1bf40c,_0x13a565)=>{const _0x98d382=_0x2e24e6;let _0x30d1c4=_0xa911f4[_0x98d382(0x1d0)]({'unitId':_0x341f6f,'subUnitId':_0x1bf40c,'drawingId':_0x13a565});return _0x30d1c4==null?void 0x0:_0x30d1c4['transform'];},'updateShapeText':({unitId:_0x18c67d,subUnitId:_0x303dcd,shapeId:_0x44fbe6,shapeText:_0x7c16ea,oldShapeText:_0x809111,hostSize:_0xddd95c})=>{_0x10f49c['run'](_0x18c67d,()=>{const _0xa5d3ec=_0x4701;var _0x5cb9b1;let _0x3abb30=_0x1bf2f8[_0xa5d3ec(0x510)](_0x5163ea['id'],{'unitId':_0x18c67d,'subUnitId':_0x303dcd,'shapeId':_0x44fbe6,'shapeData':{'shapeText':_0x7c16ea},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x809111}}});if(!_0x3abb30||!_0xddd95c)return _0x3abb30;let _0xa86b37=_0xa911f4[_0xa5d3ec(0x1d0)]({'unitId':_0x18c67d,'subUnitId':_0x303dcd,'drawingId':_0x44fbe6}),_0x3fffeb=_0xa86b37==null?void 0x0:_0xa86b37['transform'];if(!_0xd55ecb(_0xa86b37)||!_0x3fffeb)return!0x1;let _0x351e02={..._0x3fffeb,'width':_0xddd95c[_0xa5d3ec(0x3a0)],'height':_0xddd95c[_0xa5d3ec(0x330)]},_0x2c0bfd=(_0x5cb9b1=_0x3152dd[_0xa5d3ec(0x3de)](_0x18c67d))==null||(_0x5cb9b1=_0x5cb9b1['with'](_0x54c89f[_0xa5d3ec(0x542)])[_0xa5d3ec(0x240)](_0x303dcd))==null?void 0x0:_0x5cb9b1[_0xa5d3ec(0x473)];return _0x1bf2f8[_0xa5d3ec(0x510)](_0x47629f[_0xa5d3ec(0x1ed)]['id'],{'unitId':_0x18c67d,'drawings':[{..._0xa86b37,'transform':_0x351e02,'sheetTransform':_0x2c0bfd?(0x0,_0x47629f['transformToDrawingPosition'])(_0x351e02,_0x2c0bfd)??_0xa86b37[_0xa5d3ec(0x460)]:_0xa86b37[_0xa5d3ec(0x460)],'axisAlignSheetTransform':_0x2c0bfd?(0x0,_0x47629f[_0xa5d3ec(0x492)])(_0x351e02,_0x2c0bfd)??_0xa86b37[_0xa5d3ec(0x58b)]:_0xa86b37['axisAlignSheetTransform']}]});});},'updateHostSize':({unitId:_0x45a1e8,subUnitId:_0x361f7a,shapeId:_0x5dc6fe,width:_0x218bda,height:_0x121cff})=>{const _0xe45199=_0x2e24e6;var _0x341cee;let _0x19fafc=_0xa911f4['getDrawingByParam']({'unitId':_0x45a1e8,'subUnitId':_0x361f7a,'drawingId':_0x5dc6fe}),_0xade634=_0x19fafc==null?void 0x0:_0x19fafc[_0xe45199(0x22c)];if(!_0xd55ecb(_0x19fafc)||!_0xade634)return;let _0x348ba2={..._0xade634,'width':_0x218bda,'height':_0x121cff},_0x4f649c=(_0x341cee=_0x3152dd[_0xe45199(0x3de)](_0x45a1e8))==null||(_0x341cee=_0x341cee[_0xe45199(0x512)](_0x54c89f[_0xe45199(0x542)])['getSkeletonParam'](_0x361f7a))==null?void 0x0:_0x341cee[_0xe45199(0x473)],_0x1e0477=_0x4f649c?(0x0,_0x47629f['transformToDrawingPosition'])(_0x348ba2,_0x4f649c)??_0x19fafc[_0xe45199(0x460)]:_0x19fafc[_0xe45199(0x460)],_0x3a8fab=_0x4f649c?(0x0,_0x47629f['transformToAxisAlignPosition'])(_0x348ba2,_0x4f649c)??_0x19fafc['axisAlignSheetTransform']:_0x19fafc[_0xe45199(0x58b)];_0x1bf2f8[_0xe45199(0x207)](_0x47629f[_0xe45199(0x1ed)]['id'],{'unitId':_0x45a1e8,'drawings':[{..._0x19fafc,'transform':_0x348ba2,'sheetTransform':_0x1e0477,'axisAlignSheetTransform':_0x3a8fab}]});},'allowHostSizeShrink':({unitId:_0x133c52,subUnitId:_0x3b176f,shapeId:_0x235a49})=>(0x0,_0x3c7e1c[_0x2e24e6(0x3d7)])(_0x21815c['getShapeDataById'](_0x133c52,_0x3b176f,_0x235a49)),'deferHostSizeUpdateDuringEditing':()=>!0x0}),[_0x1bf2f8,_0xa911f4,_0x3152dd,_0x21815c,_0x10f49c]),_0x133995=(0x0,_0x101f75[_0x2e24e6(0x52a)])(()=>({'viewportKeys':{'main':_0x463287[_0x2e24e6(0x3f6)][_0x2e24e6(0x26c)],'leftTop':_0x463287[_0x2e24e6(0x3f6)][_0x2e24e6(0x32e)],'top':_0x463287[_0x2e24e6(0x3f6)][_0x2e24e6(0x46c)],'left':_0x463287['SHEET_VIEWPORT_KEY'][_0x2e24e6(0x2e7)]},'getSkeleton':(_0x3c2dfb,_0x26f0dd)=>{const _0x464cf2=_0x2e24e6;var _0x944b2;return((_0x944b2=_0x3c2dfb[_0x464cf2(0x512)](_0x54c89f[_0x464cf2(0x542)])[_0x464cf2(0x240)](_0x26f0dd[_0x464cf2(0x58c)]))==null?void 0x0:_0x944b2[_0x464cf2(0x473)])??null;}}),[]);return(0x0,_0x521d83[_0x2e24e6(0x53e)])(_0x3c7e1c[_0x2e24e6(0x3f0)],{'adapter':_0x247b75,'editingService':_0x28c023,'editorUnitId':_0x340c83,'positionOptions':_0x133995});}),_0x459e50=class extends _0x5b0763[_0x3bbe12(0x1de)]{constructor(_0x14f7d2,_0x322f9b){const _0x378807=_0x3bbe12;super(),this[_0x378807(0x2e1)]=_0x14f7d2,this[_0x378807(0x216)]=_0x322f9b,this[_0x378807(0x575)](),this[_0x378807(0x2b5)]();}[_0x3bbe12(0x575)](){const _0x2d4b71=_0x3bbe12;this[_0x2d4b71(0x216)][_0x2d4b71(0x40b)]('ObjectLayersIcon')||this[_0x2d4b71(0x368)](this[_0x2d4b71(0x216)][_0x2d4b71(0x2b4)]({'ObjectLayersIcon':_0x31f0cf})),this[_0x2d4b71(0x216)][_0x2d4b71(0x40b)](_0x2d4b71(0x2cb))||this[_0x2d4b71(0x368)](this[_0x2d4b71(0x216)]['register']({'FlipHorizontalIcon':_0x291692})),this[_0x2d4b71(0x216)][_0x2d4b71(0x40b)](_0x2d4b71(0x3c1))||this[_0x2d4b71(0x368)](this[_0x2d4b71(0x216)][_0x2d4b71(0x2b4)]({'FlipVerticalIcon':_0x1a77b3})),this[_0x2d4b71(0x216)][_0x2d4b71(0x40b)]('BottomIcon')||this['disposeWithMe'](this[_0x2d4b71(0x216)][_0x2d4b71(0x2b4)]({'BottomIcon':_0x5e6af3})),this[_0x2d4b71(0x216)][_0x2d4b71(0x40b)](_0x2d4b71(0x3e8))||this[_0x2d4b71(0x368)](this[_0x2d4b71(0x216)][_0x2d4b71(0x2b4)]({'MoveDownIcon':_0x152cba})),this[_0x2d4b71(0x216)][_0x2d4b71(0x40b)](_0x2d4b71(0x2a5))||this[_0x2d4b71(0x368)](this[_0x2d4b71(0x216)][_0x2d4b71(0x2b4)]({'MoveUpIcon':_0xe52333})),this[_0x2d4b71(0x216)][_0x2d4b71(0x40b)](_0x2d4b71(0x362))||this[_0x2d4b71(0x368)](this['_iconManager'][_0x2d4b71(0x2b4)]({'ShapeFormatSettingIcon':_0x1d6855})),this[_0x2d4b71(0x216)][_0x2d4b71(0x40b)](_0x2d4b71(0x1fa))||this[_0x2d4b71(0x368)](this['_iconManager'][_0x2d4b71(0x2b4)]({'TopmostIcon':_0x542c65}));}[_0x3bbe12(0x2b5)](){const _0x1ee919=_0x3bbe12;this[_0x1ee919(0x368)](this[_0x1ee919(0x2e1)][_0x1ee919(0x2b4)](_0x2f5d2d,_0x1f959e)),this[_0x1ee919(0x368)](this['_componentManager'][_0x1ee919(0x2b4)](_0x532b4c,_0x5d4881)),this[_0x1ee919(0x368)](this[_0x1ee919(0x2e1)][_0x1ee919(0x2b4)](_0x59f393,_0x29fcf3)),this[_0x1ee919(0x368)](this['_componentManager']['register'](_0x361d67,_0x21712f)),this[_0x1ee919(0x2e1)]['get'](_0x3ec2cc[_0x1ee919(0x2b7)])||this[_0x1ee919(0x368)](this[_0x1ee919(0x2e1)]['register'](_0x3ec2cc[_0x1ee919(0x2b7)],_0x3b5274)),this[_0x1ee919(0x368)](this[_0x1ee919(0x2e1)][_0x1ee919(0x2b4)](_0x519660,_0x56150d)),this[_0x1ee919(0x368)](this['_componentManager'][_0x1ee919(0x2b4)](_0x525ea0,_0x6b21a7)),this[_0x1ee919(0x368)](this['_componentManager'][_0x1ee919(0x2b4)](_0x19261d,_0x32c2bc)),this[_0x1ee919(0x368)](this[_0x1ee919(0x2e1)]['register'](_0x4676e0,_0x40a4cc)),this[_0x1ee919(0x368)](this[_0x1ee919(0x2e1)][_0x1ee919(0x2b4)](_0x3ec152,_0x4b63e9)),this[_0x1ee919(0x368)](this[_0x1ee919(0x2e1)][_0x1ee919(0x2b4)](_0x552d76,_0x3c7e1c[_0x1ee919(0x57d)])),this[_0x1ee919(0x368)](this[_0x1ee919(0x2e1)][_0x1ee919(0x2b4)](_0x1ee919(0x37d),_0x29d576));}};_0x459e50=_0x476b0f([_0x5ec307(0x0,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x18daae[_0x3bbe12(0x466)])),_0x5ec307(0x1,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x18daae[_0x3bbe12(0x51a)]))],_0x459e50);let _0x4f7651=class extends _0x5b0763['Disposable']{constructor(_0x53b4a8,_0x1dd3a2,_0x12911c,_0x406605,_0x46027b,_0x47de41,_0x5b54ca,_0x2bbfe4,_0x44a95d){const _0x251a93=_0x3bbe12;super();let _0x525d35=_0x381d3a=>{const _0x3ed658=_0x4701;var _0x4acd4c,_0x46e0f5;return(((_0x4acd4c=_0x2bbfe4['getPermissionPoint'](new _0x2e7766[(_0x3ed658(0x2f4))](_0x381d3a[_0x3ed658(0x53b)])['id']))==null?void 0x0:_0x4acd4c[_0x3ed658(0x43f)])??!0x0)&&(((_0x46e0f5=_0x2bbfe4['getPermissionPoint'](new _0x2e7766[(_0x3ed658(0x1cc))](_0x381d3a[_0x3ed658(0x53b)],_0x381d3a[_0x3ed658(0x58c)])['id']))==null?void 0x0:_0x46e0f5[_0x3ed658(0x43f)])??!0x0);},_0x1459bc=_0x2e7ea0=>_0x2e7ea0[_0x251a93(0x222)]&&_0x525d35(_0x2e7ea0)?_0x12911c['getShapeDataById'](_0x2e7ea0[_0x251a93(0x53b)],_0x2e7ea0[_0x251a93(0x58c)],_0x2e7ea0['shapeId'])??null:null,_0x56e0a3=()=>{const _0x4f789e=_0x251a93;let _0x42526c=_0x46027b[_0x4f789e(0x2ac)](),_0x1a9369=_0x42526c[_0x4f789e(0x2bb)]===0x1?_0x42526c[0x0]:null;return(_0x1a9369==null?void 0x0:_0x1a9369['drawingType'])===_0x5b0763['DrawingTypeEnum']['DRAWING_SHAPE']&&_0x1a9369['unitId']===_0x53b4a8['unitId']?{'unitId':_0x1a9369[_0x4f789e(0x53b)],'subUnitId':_0x1a9369[_0x4f789e(0x58c)],'shapeId':_0x1a9369[_0x4f789e(0x1af)]}:null;};this['disposeWithMe']((0x0,_0x3c7e1c['registerShapeFormatPainter'])(_0x53b4a8,_0x1dd3a2,{'changes$':(0x0,_0x3d6362['merge'])(_0x46027b['focus$'],_0x406605['editingParams$'],_0x2bbfe4['permissionPointUpdate$']),'isActive':()=>{const _0x5abdc8=_0x251a93;var _0x590c1c;return((_0x590c1c=_0x47de41['getFocusedUnit']())==null?void 0x0:_0x590c1c[_0x5abdc8(0x292)]())===_0x53b4a8[_0x5abdc8(0x53b)]&&!_0x5b54ca[_0x5abdc8(0x40d)](_0x5b0763['FOCUSING_SHAPE_TEXT_EDITOR'])&&_0x46027b[_0x5abdc8(0x2ac)]()['some'](_0x2d300b=>_0x2d300b['unitId']===_0x53b4a8[_0x5abdc8(0x53b)]);},'getSelectedTarget':_0x56e0a3,'getSource':()=>{let _0x246506=_0x56e0a3();return _0x246506?_0x1459bc(_0x246506):null;},'getTarget':_0xf9d614=>{const _0x1d2dc5=_0x251a93;let _0x32973d=_0x53b4a8[_0x1d2dc5(0x29e)][_0x1d2dc5(0x488)](new _0x463287[(_0x1d2dc5(0x50e))](_0xf9d614[_0x1d2dc5(0x4a0)],_0xf9d614[_0x1d2dc5(0x1f9)]));if(!(_0x32973d instanceof _0x30f195))return null;let _0x344351={'unitId':_0x53b4a8[_0x1d2dc5(0x53b)],'subUnitId':_0x32973d['subUnitId'],'shapeId':_0x32973d[_0x1d2dc5(0x222)]};return _0x525d35(_0x344351)?_0x344351:null;},'getShape':_0x1459bc,'update':(_0xbb8569,_0x7d7a7b,_0x2d5435)=>_0x44a95d[_0x251a93(0x207)](_0x5163ea['id'],{..._0xbb8569,'shapeData':_0x2d5435,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x7d7a7b}})}));}};_0x4f7651=_0x476b0f([_0x5ec307(0x1,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x18daae[_0x3bbe12(0x4be)])),_0x5ec307(0x2,(0x0,_0x5b0763['Inject'])(_0x501fe5[_0x3bbe12(0x235)])),_0x5ec307(0x3,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x57efab)),_0x5ec307(0x4,_0x37800f['IDrawingManagerService']),_0x5ec307(0x5,_0x5b0763[_0x3bbe12(0x467)]),_0x5ec307(0x6,_0x5b0763[_0x3bbe12(0x238)]),_0x5ec307(0x7,_0x5b0763[_0x3bbe12(0x2e9)]),_0x5ec307(0x8,_0x5b0763[_0x3bbe12(0x2c3)])],_0x4f7651);let _0xd22bba='sheets-shape-contextual-ribbon',_0x52dfd5=class extends _0x5b0763[_0x3bbe12(0x1de)]{constructor(_0x35f98e,_0x515d9c,_0x124cf5,_0x32908e,_0x1f6d5d,_0xbaab8a){const _0x2b182d=_0x3bbe12;super(),this[_0x2b182d(0x47b)]=_0x35f98e,this['_ribbonService']=_0x515d9c,this['_drawingManagerService']=_0x124cf5,this[_0x2b182d(0x2cc)]=_0x32908e,this[_0x2b182d(0x3e6)]=_0x1f6d5d,this[_0x2b182d(0x4b0)]=_0xbaab8a,_0x19095(this,_0x2b182d(0x4d0),!0x1),this[_0x2b182d(0x47b)][_0x2b182d(0x20d)](_0x21dd32),this[_0x2b182d(0x368)]((0x0,_0x5b0763[_0x2b182d(0x404)])(this[_0x2b182d(0x4fb)][_0x2b182d(0x419)][_0x2b182d(0x4f5)](()=>this[_0x2b182d(0x1d9)]()))),this[_0x2b182d(0x1d9)]();}['dispose'](){const _0x1a8225=_0x3bbe12;this['_shapeFloatingToolbarService'][_0x1a8225(0x497)](!0x1,_0xd22bba),this[_0x1a8225(0x57c)](),super[_0x1a8225(0x4a4)]();}[_0x3bbe12(0x1d9)](){const _0x4e0b69=_0x3bbe12;var _0x4a6565;let _0x1e1a50=this[_0x4e0b69(0x4fb)]['getFocusDrawings'](),_0x28fcfb=_0x1e1a50[_0x4e0b69(0x2bb)]===0x1?_0x1e1a50[0x0]:void 0x0;if((_0x28fcfb==null?void 0x0:_0x28fcfb[_0x4e0b69(0x1d3)])!==_0x5b0763[_0x4e0b69(0x2f8)]['DRAWING_SHAPE']||this[_0x4e0b69(0x2cc)][_0x4e0b69(0x1f4)](_0x28fcfb['unitId'])!==_0x5b0763[_0x4e0b69(0x48f)][_0x4e0b69(0x2ed)]){this[_0x4e0b69(0x4b0)]['setFallbackVisible'](!0x1,_0xd22bba),this[_0x4e0b69(0x57c)]();return;}let _0x1c2b30=(_0x4a6565=this[_0x4e0b69(0x3e6)][_0x4e0b69(0x3de)](_0x28fcfb[_0x4e0b69(0x53b)]))==null?void 0x0:_0x4a6565[_0x4e0b69(0x1be)][_0x4e0b69(0x39f)](),_0x197fe5=(0x0,_0x3c7e1c[_0x4e0b69(0x31f)])(_0x1c2b30)===_0x4e0b69(0x2d7);if(this[_0x4e0b69(0x4b0)]['setFallbackVisible'](_0x197fe5,_0xd22bba),_0x197fe5){this[_0x4e0b69(0x57c)]();return;}this[_0x4e0b69(0x4d0)]||(this[_0x4e0b69(0x4d0)]=!0x0,this[_0x4e0b69(0x4ac)][_0x4e0b69(0x2b9)](_0x271abe,{'activate':!0x0}));}[_0x3bbe12(0x57c)](){const _0x624f95=_0x3bbe12;this['_visible']&&(this['_visible']=!0x1,this[_0x624f95(0x4ac)][_0x624f95(0x33b)](_0x271abe),this[_0x624f95(0x4ac)][_0x624f95(0x2bc)]([]));}};_0x52dfd5=_0x476b0f([_0x5ec307(0x0,_0x18daae[_0x3bbe12(0x303)]),_0x5ec307(0x1,_0x18daae[_0x3bbe12(0x1c8)]),_0x5ec307(0x2,_0x37800f[_0x3bbe12(0x457)]),_0x5ec307(0x3,_0x5b0763[_0x3bbe12(0x467)]),_0x5ec307(0x4,_0x463287['IRenderManagerService']),_0x5ec307(0x5,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x3c7e1c[_0x3bbe12(0x308)]))],_0x52dfd5);let _0x49eab1=class extends _0x3c7e1c[_0x3bbe12(0x355)]{constructor(_0x428603,_0xf85d65,_0x504854,_0x2d8897,_0x3ab72f,_0xb7d0a9,_0x100191,_0x222cb7,_0x221382,_0x56b141){super(_0x428603,_0xf85d65,_0x504854,_0x2d8897,_0x3ab72f,_0xb7d0a9,_0x100191,_0x222cb7,_0x221382,_0x56b141,{'componentKey':_0x552d76,'editorUnitId':_0x340c83});}};_0x49eab1=_0x476b0f([_0x5ec307(0x1,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x411252[_0x3bbe12(0x316)])),_0x5ec307(0x2,(0x0,_0x5b0763['Inject'])(_0x2bf0d1['DocCanvasPopManagerService'])),_0x5ec307(0x3,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x2bf0d1['DocSelectionRenderService'])),_0x5ec307(0x4,_0x5b0763[_0x3bbe12(0x2c3)]),_0x5ec307(0x5,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x2bf0d1['DocEventManagerService'])),_0x5ec307(0x6,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x3c7e1c['ShapeTextHyperLinkPopupService'])),_0x5ec307(0x7,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x411252[_0x3bbe12(0x254)])),_0x5ec307(0x8,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x2bf0d1[_0x3bbe12(0x592)])),_0x5ec307(0x9,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x57efab))],_0x49eab1);let _0x5d5daf=class extends _0x5b0763[_0x3bbe12(0x1de)]{constructor(_0x2e9258,_0x4be929,_0x133a49,_0x2e8cd1,_0x16dfee,_0x422de0,_0x4dfbff,_0x57b643,_0xae5f96,_0x30145b,_0xe9ba71){const _0x1b9486=_0x3bbe12;super(),this[_0x1b9486(0x2cc)]=_0x2e9258,this[_0x1b9486(0x213)]=_0x4be929,this[_0x1b9486(0x47b)]=_0x133a49,this[_0x1b9486(0x3e3)]=_0x2e8cd1,this['_localeService']=_0x16dfee,this[_0x1b9486(0x555)]=_0x422de0,this['_drawingManagerService']=_0x4dfbff,this['_sheetCanvasPopManagerService']=_0x57b643,this[_0x1b9486(0x299)]=_0xae5f96,this[_0x1b9486(0x3e6)]=_0x30145b,this['_shapeTextEditingService']=_0xe9ba71,_0x19095(this,_0x1b9486(0x523),null),_0x19095(this,'_activeShapeInfo',null),_0x19095(this,'_isOpenedShapeEditPanel',!0x1),_0x19095(this,'_shapeEditPanelVersion',0x0),_0x19095(this,_0x1b9486(0x521),null),_0x19095(this,_0x1b9486(0x21c),[]),this[_0x1b9486(0x1e0)](),this[_0x1b9486(0x368)](this['_univerInstanceService'][_0x1b9486(0x529)](_0x5b0763[_0x1b9486(0x48f)][_0x1b9486(0x2ed)])['subscribe'](_0x2fd094=>{if(!_0x2fd094){var _0x2fcf5e;(_0x2fcf5e=this['_sidebarDisposable'])==null||_0x2fcf5e['dispose']();}})),this['_registerOperations'](),this[_0x1b9486(0x2b1)](),this[_0x1b9486(0x368)](this[_0x1b9486(0x2e5)][_0x1b9486(0x571)][_0x1b9486(0x4f5)](_0x10d5af=>{const _0xd7b98=_0x1b9486;_0x10d5af&&this[_0xd7b98(0x48e)]();}));}[_0x3bbe12(0x1e0)](){const _0x2971af=_0x3bbe12;this[_0x2971af(0x47b)][_0x2971af(0x20d)](_0x4710e4);}[_0x3bbe12(0x2b1)](){const _0x15f768=_0x3bbe12;this[_0x15f768(0x521)]||=this[_0x15f768(0x368)]((0x0,_0x3c7e1c['bindRenderTransformerLifecycle'])(this[_0x15f768(0x3e6)],_0x5b0763[_0x15f768(0x48f)][_0x15f768(0x2ed)],_0x1d4dae=>this[_0x15f768(0x358)](_0x1d4dae)));}[_0x3bbe12(0x206)](_0x9648da,_0x540f6a,_0x5bf5ac){const _0x3b7534=_0x3bbe12;let _0x5a76ff=this[_0x3b7534(0x3e3)][_0x3b7534(0x220)](_0x9648da,_0x540f6a,_0x5bf5ac),_0x4b1e1d=this['_sheetsShapeService']['getShapeDataById'](_0x9648da,_0x540f6a,_0x5bf5ac);return _0x5a76ff!==void 0x0&&_0x4b1e1d!==void 0x0?{'shapeData':_0x4b1e1d,'shapeId':_0x5bf5ac,'shapeType':_0x5a76ff,'unitId':_0x9648da,'subUnitId':_0x540f6a,'version':this[_0x3b7534(0x417)],'disableShapeOption':!0x1}:null;}['_clearPopups'](){const _0x300c49=_0x3bbe12;this[_0x300c49(0x21c)][_0x300c49(0x1e7)](_0x45963b=>_0x45963b[_0x300c49(0x4a4)]()),this['_disposePopups'][_0x300c49(0x2bb)]=0x0;}[_0x3bbe12(0x358)](_0x1dba99){const _0x56a3e4=_0x3bbe12;let _0x5ba7f6=new _0x5b0763[(_0x56a3e4(0x25d))]();return _0x5ba7f6[_0x56a3e4(0x495)](_0x1dba99['createControl$'][_0x56a3e4(0x4f5)](()=>{const _0x31936a=_0x56a3e4;let _0x3d645c=_0x1dba99[_0x31936a(0x30f)]();if(this[_0x31936a(0x48e)](),this[_0x31936a(0x2f7)]||_0x3d645c[_0x31936a(0x1c5)]>0x1)return;let _0x3d3e33=_0x3d645c[_0x31936a(0x4db)]()['next']()[_0x31936a(0x43f)];if(!_0x3d3e33)return;let _0x4d15bb=this[_0x31936a(0x4fb)][_0x31936a(0x3a3)](_0x3d3e33[_0x31936a(0x449)]);if(!_0x4d15bb||_0x4d15bb[_0x31936a(0x1d3)]!==_0x5b0763[_0x31936a(0x2f8)]['DRAWING_SHAPE'])return;let {unitId:_0xe76e4b,subUnitId:_0x3feeb4,drawingId:_0x575d05,drawingType:_0x591b95}=_0x4d15bb,_0x354dcd=this['_getShapeInfo'](_0xe76e4b,_0x3feeb4,_0x575d05);if(!_0x354dcd)return;this[_0x31936a(0x299)][_0x31936a(0x256)](_0x5b0763[_0x31936a(0x1cf)],!0x0);let _0x4bac2=this[_0x31936a(0x3e6)]['getRenderUnitById'](_0xe76e4b),_0x1f71d6=((_0x4bac2==null?void 0x0:_0x4bac2[_0x31936a(0x588)])===!0x1?_0x4bac2['with'](_0x54c89f[_0x31936a(0x2af)]):this['_sheetCanvasPopManagerService'])['attachPopupToObject'](_0x3d3e33,{'componentKey':_0x519660,'direction':_0x31936a(0x2c2),'offset':[0x0,_0x3c7e1c[_0x31936a(0x51f)]],'extraProps':{'unitId':_0xe76e4b,'subUnitId':_0x3feeb4,'drawingId':_0x575d05,'drawingType':_0x591b95,'shapeType':_0x354dcd[_0x31936a(0x456)],'shapeData':_0x354dcd[_0x31936a(0x3d1)]}});this[_0x31936a(0x21c)][_0x31936a(0x36e)](this[_0x31936a(0x368)](_0x1f71d6)),this['_drawingManagerService'][_0x31936a(0x2ac)]()['find'](_0x46edbd=>_0x46edbd[_0x31936a(0x53b)]===_0xe76e4b&&_0x46edbd[_0x31936a(0x58c)]===_0x3feeb4&&_0x46edbd[_0x31936a(0x1af)]===_0x575d05)||this[_0x31936a(0x4fb)][_0x31936a(0x416)]([{'unitId':_0xe76e4b,'subUnitId':_0x3feeb4,'drawingId':_0x575d05}]);})),_0x5ba7f6[_0x56a3e4(0x495)](_0x1dba99[_0x56a3e4(0x567)][_0x56a3e4(0x4f5)](()=>{const _0x4282a6=_0x56a3e4;this['_clearPopups'](),this[_0x4282a6(0x299)][_0x4282a6(0x256)](_0x5b0763[_0x4282a6(0x1cf)],!0x1),this['_drawingManagerService']['focusDrawing'](null);})),_0x5ba7f6[_0x56a3e4(0x495)](_0x1dba99[_0x56a3e4(0x267)][_0x56a3e4(0x4f5)](()=>{const _0x300fef=_0x56a3e4;this[_0x300fef(0x48e)]();})),_0x5ba7f6[_0x56a3e4(0x495)](_0x1dba99['changeStart$'][_0x56a3e4(0x4f5)](()=>{const _0x3b95e4=_0x56a3e4;this[_0x3b95e4(0x48e)]();})),(0x0,_0x5b0763['toDisposable'])(()=>{const _0xd9966=_0x56a3e4;_0x5ba7f6['dispose'](),this[_0xd9966(0x48e)]();});}[_0x3bbe12(0x4ff)](){const _0x5424d5=_0x3bbe12;this['disposeWithMe'](this[_0x5424d5(0x555)][_0x5424d5(0x1f0)](_0x2fb4f5=>{const _0x357c3d=_0x5424d5;if(_0x2fb4f5['id']===_0x3195a4['id']){let {unitId:_0x543ba7,subUnitId:_0x4e2a28,drawingId:_0x3b63ff}=_0x2fb4f5[_0x357c3d(0x242)];this[_0x357c3d(0x417)]+=0x1,this[_0x357c3d(0x45c)]=this[_0x357c3d(0x206)](_0x543ba7,_0x4e2a28,_0x3b63ff),this[_0x357c3d(0x48e)](),this['_openShapeEditPanel']();}if(_0x2fb4f5['id']===_0x2ab1b0['id']&&(this['_activeShapeInfo']=null,this[_0x357c3d(0x1e3)]()),_0x2fb4f5['id']===_0x501fe5['UpdateSheetsShapeDataMutation']['id']){let {unitId:_0x10bb7c,subUnitId:_0x2ba802,shapeId:_0x58a143}=_0x2fb4f5[_0x357c3d(0x242)];if(this[_0x357c3d(0x45c)]&&this[_0x357c3d(0x45c)][_0x357c3d(0x222)]===_0x58a143){let _0x3e8b53=this[_0x357c3d(0x206)](_0x10bb7c,_0x2ba802,_0x58a143);_0x3e8b53&&(this['_shapeEditPanelVersion']+=0x1,_0x3e8b53[_0x357c3d(0x3d2)]=this[_0x357c3d(0x417)],this[_0x357c3d(0x45c)]=_0x3e8b53,this[_0x357c3d(0x2f7)]&&this[_0x357c3d(0x4c6)]());}}})),this[_0x5424d5(0x368)](this[_0x5424d5(0x4fb)][_0x5424d5(0x419)][_0x5424d5(0x4f5)](_0x44fada=>{const _0x1a35bd=_0x5424d5;if(this[_0x1a35bd(0x2f7)]===!0x1)return;if(_0x44fada['length']===0x0){this[_0x1a35bd(0x45c)]=null,this[_0x1a35bd(0x1e3)]();return;}if(_0x44fada['length']===0x1&&_0x44fada[0x0][_0x1a35bd(0x1d3)]===_0x5b0763[_0x1a35bd(0x2f8)][_0x1a35bd(0x462)]&&(this[_0x1a35bd(0x417)]+=0x1,this['_activeShapeInfo']=this[_0x1a35bd(0x206)](_0x44fada[0x0][_0x1a35bd(0x53b)],_0x44fada[0x0]['subUnitId'],_0x44fada[0x0][_0x1a35bd(0x1af)]),this[_0x1a35bd(0x45c)])){this[_0x1a35bd(0x4c6)]();return;}let _0x22a20b=_0x44fada[_0x1a35bd(0x323)](_0x1a9593=>_0x1a9593[_0x1a35bd(0x1d3)]===_0x5b0763[_0x1a35bd(0x2f8)][_0x1a35bd(0x462)]);if(_0x44fada[_0x1a35bd(0x2bb)]>0x1&&_0x22a20b['length']===_0x44fada[_0x1a35bd(0x2bb)]){if(this[_0x1a35bd(0x417)]+=0x1,this[_0x1a35bd(0x45c)]=this[_0x1a35bd(0x206)](_0x44fada[0x0][_0x1a35bd(0x53b)],_0x44fada[0x0][_0x1a35bd(0x58c)],_0x44fada[0x0][_0x1a35bd(0x1af)]),this[_0x1a35bd(0x45c)]){this[_0x1a35bd(0x4c6)]();return;}}else{if(this[_0x1a35bd(0x417)]+=0x1,this[_0x1a35bd(0x45c)]=this[_0x1a35bd(0x206)](_0x44fada[0x0]['unitId'],_0x44fada[0x0][_0x1a35bd(0x58c)],_0x44fada[0x0][_0x1a35bd(0x1af)]),this['_activeShapeInfo']){this[_0x1a35bd(0x45c)]['disableShapeOption']=!0x0,this[_0x1a35bd(0x4c6)]();return;}}this[_0x1a35bd(0x1e3)]();}));}[_0x3bbe12(0x4c6)](){const _0x1b805a=_0x3bbe12;this[_0x1b805a(0x45c)]&&(this[_0x1b805a(0x523)]=this['_sidebarService'][_0x1b805a(0x45a)]({'id':_0x2f5d2d,'header':{'title':this[_0x1b805a(0x1bc)]['t'](_0x1b805a(0x3dd))},'width':0x184,'children':{'label':_0x2f5d2d,...this[_0x1b805a(0x45c)]},'onClose':()=>{const _0x2a4bfd=_0x1b805a;this[_0x2a4bfd(0x4fb)][_0x2a4bfd(0x416)](null),this['_contextService']['setContextValue'](_0x5b0763[_0x2a4bfd(0x1cf)],!0x1),this[_0x2a4bfd(0x523)]=null;}}),this[_0x1b805a(0x2f7)]=!0x0);}[_0x3bbe12(0x1e3)](){const _0x5b6854=_0x3bbe12;this[_0x5b6854(0x2f7)]=!0x1,this[_0x5b6854(0x213)]['close'](_0x2f5d2d),this[_0x5b6854(0x523)]=null,this[_0x5b6854(0x299)]['setContextValue'](_0x5b0763[_0x5b6854(0x1cf)],!0x1),this[_0x5b6854(0x4fb)][_0x5b6854(0x416)](null);}};_0x5d5daf=_0x476b0f([_0x5ec307(0x0,_0x5b0763[_0x3bbe12(0x467)]),_0x5ec307(0x1,(0x0,_0x5b0763['Inject'])(_0x18daae[_0x3bbe12(0x3f9)])),_0x5ec307(0x2,_0x18daae[_0x3bbe12(0x303)]),_0x5ec307(0x3,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x501fe5[_0x3bbe12(0x235)])),_0x5ec307(0x4,(0x0,_0x5b0763['Inject'])(_0x5b0763['LocaleService'])),_0x5ec307(0x5,_0x5b0763[_0x3bbe12(0x2c3)]),_0x5ec307(0x6,_0x37800f[_0x3bbe12(0x457)]),_0x5ec307(0x7,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x54c89f[_0x3bbe12(0x2af)])),_0x5ec307(0x8,_0x5b0763[_0x3bbe12(0x238)]),_0x5ec307(0x9,_0x463287[_0x3bbe12(0x52d)]),_0x5ec307(0xa,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x57efab))],_0x5d5daf);let _0x45d6f3=class extends _0x5b0763['Plugin']{constructor(_0x6df2ae=_0x5998c1,_0x21d6bc,_0x3e4d2e,_0x238c5c,_0xfef8f0){const _0x52e2c3=_0x3bbe12;super(),this[_0x52e2c3(0x42e)]=_0x6df2ae,this['_injector']=_0x21d6bc,this[_0x52e2c3(0x555)]=_0x3e4d2e,this[_0x52e2c3(0x4c9)]=_0x238c5c,this[_0x52e2c3(0x3e6)]=_0xfef8f0;let {..._0x2db8cf}=(0x0,_0x5b0763[_0x52e2c3(0x56e)])({},_0x5998c1,this[_0x52e2c3(0x42e)]);this[_0x52e2c3(0x4c9)][_0x52e2c3(0x3da)](_0x22e212,_0x2db8cf),this[_0x52e2c3(0x314)]();}[_0x3bbe12(0x383)](){const _0x51a958=_0x3bbe12;this[_0x51a958(0x3e6)]['registerRenderModule'](_0x5b0763[_0x51a958(0x48f)]['UNIVER_DOC'],[_0x49eab1]),(0x0,_0x5b0763[_0x51a958(0x231)])(this[_0x51a958(0x342)],[[_0x5d5daf],[_0x337505],[_0x14a8a5],[_0x2b2ed9]]);}[_0x3bbe12(0x570)](){const _0x1b05d6=_0x3bbe12;this[_0x1b05d6(0x342)][_0x1b05d6(0x3f3)](_0x5d5daf)[_0x1b05d6(0x2b1)]();}[_0x3bbe12(0x55b)](){const _0x2bcb88=_0x3bbe12;[[_0x116eec],[_0x5bb4e7],[_0x55b3a8]][_0x2bcb88(0x1e7)](_0x1aaa60=>this[_0x2bcb88(0x342)]['add'](_0x1aaa60)),(0x0,_0x5b0763[_0x2bcb88(0x231)])(this[_0x2bcb88(0x342)],[[_0x55b3a8],[_0x5bb4e7]]),this['_renderManagerService'][_0x2bcb88(0x489)](_0x5b0763[_0x2bcb88(0x48f)][_0x2bcb88(0x2ed)],[_0x116eec]),this[_0x2bcb88(0x3e6)][_0x2bcb88(0x489)](_0x5b0763['UniverInstanceType']['UNIVER_SHEET'],[_0x2a5e3f]),this['_renderManagerService'][_0x2bcb88(0x489)](_0x5b0763['UniverInstanceType'][_0x2bcb88(0x2ed)],[_0x297d03]),this['_renderManagerService'][_0x2bcb88(0x489)](_0x5b0763[_0x2bcb88(0x48f)]['UNIVER_SHEET'],[_0x501afa]),this[_0x2bcb88(0x368)](this['_renderManagerService'][_0x2bcb88(0x489)](_0x5b0763[_0x2bcb88(0x48f)][_0x2bcb88(0x2ed)],[_0x4f7651]));}[_0x3bbe12(0x285)](){const _0x219416=_0x3bbe12;this[_0x219416(0x342)][_0x219416(0x495)]([_0x459e50]),this['_injector'][_0x219416(0x3f3)](_0x459e50);let _0x5401ff=this[_0x219416(0x342)];[[_0x5d5daf],[_0x337505],[_0x14a8a5],[_0x2b2ed9],[_0xde24c3],[_0x57efab],[_0x4c0745],[_0x3a0622],[_0x5e5e5c],[_0x52dfd5]][_0x219416(0x1e7)](_0x4838ad=>_0x5401ff[_0x219416(0x495)](_0x4838ad)),(0x0,_0x5b0763['touchDependencies'])(this[_0x219416(0x342)],[[_0x5d5daf],[_0x337505],[_0x14a8a5],[_0xde24c3],[_0x57efab],[_0x4c0745],[_0x3a0622],[_0x5e5e5c],[_0x52dfd5]]);}[_0x3bbe12(0x314)](){const _0x215ec9=_0x3bbe12;[_0x3ae9dd,_0x5163ea,_0x2ab1b0,_0x3195a4,_0x34606a,_0x2c3fc4,_0x9e5b59,_0x32de08][_0x215ec9(0x1e7)](_0x3f5708=>this[_0x215ec9(0x368)](this[_0x215ec9(0x555)][_0x215ec9(0x315)](_0x3f5708)));}};_0x19095(_0x45d6f3,_0x3bbe12(0x56a),_0x5b0763[_0x3bbe12(0x48f)][_0x3bbe12(0x2ed)]),_0x19095(_0x45d6f3,_0x3bbe12(0x34a),'SHEET_SHAPE_UI_PLUGIN'),_0x19095(_0x45d6f3,_0x3bbe12(0x3e0),_0x55669f),_0x19095(_0x45d6f3,_0x3bbe12(0x3d2),_0x41af0d),_0x45d6f3=_0x476b0f([(0x0,_0x5b0763[_0x3bbe12(0x4f4)])(_0x4606ed[_0x3bbe12(0x23c)],_0x411252['UniverDocsPlugin'],_0x37800f[_0x3bbe12(0x21a)],_0x3ec2cc[_0x3bbe12(0x453)],_0x463287[_0x3bbe12(0x2a0)],_0x2e7766[_0x3bbe12(0x584)],_0x2bf0d1[_0x3bbe12(0x1e5)],_0x47629f[_0x3bbe12(0x35a)],_0x214c33[_0x3bbe12(0x30d)],_0x29d240['UniverSheetsDrawingUIPlugin'],_0x501fe5[_0x3bbe12(0x1bb)],_0x54c89f[_0x3bbe12(0x2bf)],_0x3c7e1c[_0x3bbe12(0x553)]),_0x5ec307(0x1,(0x0,_0x5b0763['Inject'])(_0x5b0763['Injector'])),_0x5ec307(0x2,_0x5b0763[_0x3bbe12(0x2c3)]),_0x5ec307(0x3,_0x5b0763[_0x3bbe12(0x445)]),_0x5ec307(0x4,_0x463287[_0x3bbe12(0x52d)])],_0x45d6f3),_0x128250[_0x3bbe12(0x4b6)]=_0x21dd32,_0x128250[_0x3bbe12(0x223)]=_0x4710e4,Object['defineProperty'](_0x128250,'UniverSheetsShapeMobileUIPlugin',{'enumerable':!0x0,'get':function(){return _0x4e7129;}}),Object[_0x3bbe12(0x454)](_0x128250,_0x3bbe12(0x3b5),{'enumerable':!0x0,'get':function(){return _0x45d6f3;}});}));
|