@univerjs-pro/sheets-shape-ui 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +20 -20
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x1cfe(_0x55965b,_0x9d727b){_0x55965b=_0x55965b-0xd9;const _0x44257f=_0x4425();let _0x1cfe89=_0x44257f[_0x55965b];return _0x1cfe89;}(function(_0xb95233,_0x9bf9b4){const _0x54b932=_0x1cfe,_0x32fbd0=_0xb95233();while(!![]){try{const _0x2b7e82=-parseInt(_0x54b932(0x15c))/0x1*(parseInt(_0x54b932(0x48d))/0x2)+-parseInt(_0x54b932(0x3b1))/0x3+parseInt(_0x54b932(0x349))/0x4+-parseInt(_0x54b932(0x1f0))/0x5+-parseInt(_0x54b932(0x44e))/0x6*(-parseInt(_0x54b932(0x34d))/0x7)+parseInt(_0x54b932(0x2a2))/0x8*(-parseInt(_0x54b932(0x203))/0x9)+parseInt(_0x54b932(0x272))/0xa;if(_0x2b7e82===_0x9bf9b4)break;else _0x32fbd0['push'](_0x32fbd0['shift']());}catch(_0x303ca6){_0x32fbd0['push'](_0x32fbd0['shift']());}}}(_0x4425,0xdf216),function(_0xe7b300,_0x12e385){const _0x96572b=_0x1cfe;typeof exports=='object'&&typeof module<'u'?_0x12e385(exports,require('@univerjs-pro/shape-editor-ui'),require('@univerjs/ui'),require('@univerjs-pro/engine-shape'),require('@univerjs-pro/shape-editor'),require('@univerjs-pro/sheets-shape'),require('@univerjs/core'),require('@univerjs/sheets'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/sheets-ui'),require('rxjs'),require('@univerjs/drawing-ui'),require('@univerjs/design'),require('react/jsx-runtime'),require('@univerjs/sheets-drawing'),require('@univerjs-pro/license'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/sheets-drawing-ui'),require('react')):typeof define==_0x96572b(0x24c)&&define['amd']?define([_0x96572b(0x23e),_0x96572b(0x403),_0x96572b(0x20a),_0x96572b(0x357),_0x96572b(0x2eb),'@univerjs-pro/sheets-shape','@univerjs/core',_0x96572b(0x25f),'@univerjs/drawing',_0x96572b(0x238),'@univerjs/sheets-ui',_0x96572b(0x38c),_0x96572b(0x34b),_0x96572b(0x4c5),_0x96572b(0x465),_0x96572b(0x49c),_0x96572b(0x131),_0x96572b(0xe3),_0x96572b(0x436),'@univerjs/sheets-drawing-ui',_0x96572b(0x3e9)],_0x12e385):(_0xe7b300=typeof globalThis<'u'?globalThis:_0xe7b300||self,_0x12e385(_0xe7b300['UniverProSheetsShapeUi']={},_0xe7b300[_0x96572b(0x3cc)],_0xe7b300['UniverUi'],_0xe7b300['UniverProEngineShape'],_0xe7b300[_0x96572b(0x41b)],_0xe7b300[_0x96572b(0x33b)],_0xe7b300[_0x96572b(0x3ee)],_0xe7b300['UniverSheets'],_0xe7b300[_0x96572b(0x15d)],_0xe7b300[_0x96572b(0x418)],_0xe7b300[_0x96572b(0x10b)],_0xe7b300[_0x96572b(0x38c)],_0xe7b300[_0x96572b(0x3c4)],_0xe7b300[_0x96572b(0x3d9)],_0xe7b300['React'],_0xe7b300[_0x96572b(0x12b)],_0xe7b300[_0x96572b(0x358)],_0xe7b300['UniverDocs'],_0xe7b300['UniverDocsUi'],_0xe7b300[_0x96572b(0x134)],_0xe7b300[_0x96572b(0x39c)]));}(this,function(_0x22a054,_0x3ed8c6,_0x416351,_0x24d21b,_0x1b3552,_0x34e612,_0x5cf0ce,_0xdab3fa,_0x2a2438,_0x4413bb,_0x3e532c,_0x4cb228,_0x11fb86,_0x3da0dc,_0x53553e,_0x57dfd6,_0x3d331c,_0x193e85,_0x26442e,_0x22ea8b,_0x41b065){const _0x1a21ce=_0x1cfe;Object[_0x1a21ce(0x401)](_0x22a054,Symbol[_0x1a21ce(0x2f6)],{'value':'Module'});function _0x250954(_0x5f5352,_0x3de62e){const _0x11aa84=_0x1a21ce;let _0x1747d0={};for(let _0x354ea2 of Object[_0x11aa84(0x353)](_0x3de62e)){let _0x2035a6=_0x3de62e[_0x354ea2],_0x1ab8b3=_0x5f5352[_0x354ea2];_0x1747d0[_0x354ea2]=_0x1ab8b3===void 0x0?void 0x0:typeof _0x2035a6==_0x11aa84(0x41c)&&_0x2035a6&&!Array[_0x11aa84(0x24b)](_0x2035a6)&&typeof _0x1ab8b3=='object'&&_0x1ab8b3&&!Array['isArray'](_0x1ab8b3)?_0x250954(_0x1ab8b3,_0x2035a6):_0x1ab8b3;}return _0x1747d0;}let _0x25f5b2={'type':_0x5cf0ce['CommandType']['COMMAND'],'id':'sheet.command.update-shape-data','handler':(_0x909e5d,_0x1d1dc0)=>{const _0x4f3319=_0x1a21ce;let _0x23465b=_0x909e5d[_0x4f3319(0x170)](_0x34e612[_0x4f3319(0x457)]),{unitId:_0x3607f7,subUnitId:_0x4eae4b,shapeType:_0x12fd56,shapeId:_0x41e065,shapeData:_0x11f0b2,replaceShapeData:_0x423bb0,oldShapeJSON:_0x3ef595}=_0x1d1dc0;if(!_0x23465b[_0x4f3319(0x49e)](_0x3607f7,_0x4eae4b,_0x41e065))return!0x1;let _0x190aef=_0x909e5d['get'](_0x5cf0ce['ICommandService']),_0x231454=_0x909e5d[_0x4f3319(0x170)](_0x5cf0ce[_0x4f3319(0x264)]),{oldShapeType:_0x424da3,oldShapeData:_0x494690={}}=_0x3ef595,_0x1ac88f=_0x423bb0?_0x494690:_0x250954(_0x494690,_0x11f0b2||{}),_0x348940={'id':_0x34e612['UpdateSheetsShapeDataMutation']['id'],'params':{'unitId':_0x3607f7,'subUnitId':_0x4eae4b,'shapeId':_0x41e065,'shapeType':_0x12fd56,'shapeData':_0x11f0b2,'replace':_0x423bb0}},_0x3826bb={'id':_0x34e612[_0x4f3319(0x426)]['id'],'params':{'unitId':_0x3607f7,'subUnitId':_0x4eae4b,'shapeId':_0x41e065,'shapeType':_0x424da3,'shapeData':_0x1ac88f,'replace':_0x423bb0}};return _0x190aef['syncExecuteCommand'](_0x348940['id'],_0x348940[_0x4f3319(0x46d)])?(_0x231454[_0x4f3319(0x42b)]({'unitID':_0x3607f7,'undoMutations':[_0x3826bb],'redoMutations':[_0x348940]}),!0x0):!0x1;}};function _0x12c3ae(_0x5f40d2,_0x28b5a3,_0x14d84b,_0x305766,_0x38f310,_0x380858){const _0x35eb54=_0x1a21ce;let _0x4f95c2={'unitId':_0x28b5a3,'subUnitId':_0x14d84b,'shapeId':_0x305766,'shapeData':_0x380858,'oldShapeJSON':_0x38f310};return _0x5f40d2[_0x35eb54(0x2af)](_0x25f5b2['id'],_0x4f95c2);}function _0xa96cd4(_0x487df1,_0x949a63,_0x4b8197,_0x23113a,_0x316971,_0x2beb42){let _0xd4e549={'unitId':_0x949a63,'subUnitId':_0x4b8197,'shapeId':_0x23113a,'shapeData':_0x2beb42,'oldShapeJSON':_0x316971};return _0x487df1['executeCommand'](_0x25f5b2['id'],_0xd4e549);}function _0x3bb010(_0x3aadcf){'@babel/helpers - typeof';const _0x335c92=_0x1a21ce;return _0x3bb010=typeof Symbol=='function'&&typeof Symbol[_0x335c92(0xe8)]=='symbol'?function(_0x402711){return typeof _0x402711;}:function(_0x56ebe7){const _0x5d891e=_0x335c92;return _0x56ebe7&&typeof Symbol=='function'&&_0x56ebe7['constructor']===Symbol&&_0x56ebe7!==Symbol['prototype']?_0x5d891e(0x117):typeof _0x56ebe7;},_0x3bb010(_0x3aadcf);}function _0x15932a(_0x290f1e,_0x5197dc){const _0x43aa73=_0x1a21ce;if(_0x3bb010(_0x290f1e)!=_0x43aa73(0x41c)||!_0x290f1e)return _0x290f1e;var _0x9a9579=_0x290f1e[Symbol[_0x43aa73(0x25c)]];if(_0x9a9579!==void 0x0){var _0xd4ed1e=_0x9a9579[_0x43aa73(0x2be)](_0x290f1e,_0x5197dc||_0x43aa73(0x1d9));if(_0x3bb010(_0xd4ed1e)!=_0x43aa73(0x41c))return _0xd4ed1e;throw TypeError(_0x43aa73(0x1cd));}return(_0x5197dc===_0x43aa73(0x130)?String:Number)(_0x290f1e);}function _0x272b28(_0x3a6276){const _0x41cfd8=_0x1a21ce;var _0x2084cf=_0x15932a(_0x3a6276,_0x41cfd8(0x130));return _0x3bb010(_0x2084cf)=='symbol'?_0x2084cf:_0x2084cf+'';}function _0x339d5f(_0x1ac4a5,_0x2ff213,_0x4ae3bf){const _0x54ee1f=_0x1a21ce;return(_0x2ff213=_0x272b28(_0x2ff213))in _0x1ac4a5?Object[_0x54ee1f(0x401)](_0x1ac4a5,_0x2ff213,{'value':_0x4ae3bf,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1ac4a5[_0x2ff213]=_0x4ae3bf,_0x1ac4a5;}function _0x341603(_0x23222a,_0x322e8c,_0x375f15){const _0xc8157f=_0x1a21ce;let _0x89785={..._0x322e8c,'dataModel':{..._0x322e8c['dataModel']??{},..._0x375f15?{'doc':_0x375f15}:null}},_0x4915ba=(0x0,_0x3ed8c6[_0xc8157f(0x1d1)])(_0x23222a,_0x89785),_0x34bdfc=(0x0,_0x3ed8c6[_0xc8157f(0x13e)])(_0x4915ba);return{'clip':(0x0,_0x3ed8c6[_0xc8157f(0x4bf)])(_0x4915ba,_0x34bdfc),'wrapStrategy':_0x34bdfc};}var _0x4d7701=class extends _0x4413bb['Shape']{constructor(_0x11efd7,_0x1acfe7){const _0x4a73e1=_0x1a21ce;super(_0x11efd7,_0x1acfe7),_0x339d5f(this,_0x4a73e1(0x3d4),[]),_0x339d5f(this,_0x4a73e1(0x448),void 0x0),_0x339d5f(this,'_formulaAnimation',new _0x3ed8c6[(_0x4a73e1(0x2b3))](()=>this[_0x4a73e1(0x2a3)](!0x0),()=>this[_0x4a73e1(0x194)]())),_0x339d5f(this,'_transformCalculateSrcRect',!0x0),_0x339d5f(this,_0x4a73e1(0x198),_0x5cf0ce[_0x4a73e1(0x1c1)][_0x4a73e1(0x33f)]),_0x339d5f(this,_0x4a73e1(0x4c2),!0x0),this[_0x4a73e1(0x448)]={..._0x1acfe7},this[_0x4a73e1(0x39a)][_0x4a73e1(0x345)](_0x1acfe7[_0x4a73e1(0x2d8)],_0x1acfe7[_0x4a73e1(0x256)]!==!0x1),this[_0x4a73e1(0x172)](),this[_0x4a73e1(0x194)]();}[_0x1a21ce(0x172)](){const _0x48c3ed=_0x1a21ce;this[_0x48c3ed(0x329)][_0x48c3ed(0x3fc)](_0x162595=>{this['_updateSrcRectByTransform'](_0x162595);});}[_0x1a21ce(0x1d8)](_0x186fd5){const _0x5d27c3=_0x1a21ce;this[_0x5d27c3(0x448)][_0x5d27c3(0x112)]=_0x186fd5;}['resolveHyperLinkAt'](_0x3c39e2){const _0x5d3c72=_0x1a21ce;if(this[_0x5d3c72(0x448)][_0x5d3c72(0x142)])return null;let _0x45ad42=this['getInverseCoord'](_0x3c39e2),{width:_0x4e7e88,height:_0x1277e0}=this[_0x5d3c72(0x148)]();return(0x0,_0x3ed8c6[_0x5d3c72(0x21a)])(this[_0x5d3c72(0x3d4)],{'x':(this['flipX']?-_0x45ad42['x']:_0x45ad42['x'])+_0x4e7e88/0x2,'y':_0x45ad42['y']+_0x1277e0/0x2});}[_0x1a21ce(0x27f)](_0x45751b){const _0x50f8c2=_0x1a21ce;this[_0x50f8c2(0x448)]['isEditing']=_0x45751b,this[_0x50f8c2(0x2a3)](!0x0);}['setFormulaPresentation'](_0x2118ce,_0xf30b1=!0x0){const _0x5cfaa5=_0x1a21ce;this[_0x5cfaa5(0x39a)][_0x5cfaa5(0x345)](_0x2118ce,_0xf30b1),this[_0x5cfaa5(0x448)][_0x5cfaa5(0x2d8)]=_0x2118ce,this[_0x5cfaa5(0x194)](),this[_0x5cfaa5(0x2a3)](!0x0);}[_0x1a21ce(0x194)](){const _0x4008c2=_0x1a21ce;let _0x374f51=this[_0x4008c2(0x448)][_0x4008c2(0x20d)],_0x3585e1=_0x374f51[_0x4008c2(0x22b)](),_0x5abfba=(0x0,_0x3ed8c6[_0x4008c2(0x2f9)])(_0x3585e1==null?void 0x0:_0x3585e1['dataModel']),_0x41e9ea=_0x5abfba==null?void 0x0:_0x5abfba[_0x4008c2(0x3b7)],_0x9de0b=this['_formulaAnimation'][_0x4008c2(0x42f)]();if(!_0x41e9ea||_0x9de0b[_0x4008c2(0x38a)]===0x0)return;_0x374f51[_0x4008c2(0x433)]({'width':this[_0x4008c2(0x36b)],'height':this[_0x4008c2(0x31b)]});let _0xf09e45=(0x0,_0x3ed8c6[_0x4008c2(0x416)])({'documentData':_0x9de0b[_0x4008c2(0x41e)](_0x253b61=>(0x0,_0x1b3552[_0x4008c2(0x1e7)])(_0x41e9ea,_0x253b61)),'height':this[_0x4008c2(0x31b)],'shapeData':_0x374f51[_0x4008c2(0x1ea)](),'textRect':_0x374f51['getShapeTextRect']({'left':0x0,'top':0x0,'width':this[_0x4008c2(0x36b)],'height':this[_0x4008c2(0x31b)]}),'width':this[_0x4008c2(0x36b)]});if(_0xf09e45){var _0x344112;this['resize'](_0xf09e45[_0x4008c2(0x36b)],_0xf09e45[_0x4008c2(0x31b)]),(_0x344112=this[_0x4008c2(0x38f)]())==null||(_0x344112=_0x344112[_0x4008c2(0x32a)]())==null||_0x344112[_0x4008c2(0x270)]();}}get[_0x1a21ce(0x197)](){const _0xd5efa1=_0x1a21ce;return this[_0xd5efa1(0x448)][_0xd5efa1(0x197)];}get[_0x1a21ce(0x4b3)](){const _0x5d0eb9=_0x1a21ce;return this[_0x5d0eb9(0x448)]['subUnitId'];}[_0x1a21ce(0x22c)](_0x5508f5){const _0x27a6d0=_0x1a21ce;if(this[_0x27a6d0(0x448)][_0x27a6d0(0x166)]==null||!this[_0x27a6d0(0x49b)])return;let {width:_0x12959e,height:_0x5f7930}=this,{width:_0x50f685=0x0,height:_0x2711fb=0x0}=_0x5508f5['preValue'],{left:_0x18a601=0x0,top:_0x3eab17=0x0,right:_0x365939=0x0,bottom:_0x10fc4f=0x0}=this[_0x27a6d0(0x448)][_0x27a6d0(0x166)],_0x2755b5=_0x18a601,_0x4db955=_0x3eab17,_0x2c9c90=_0x365939,_0x1fd20d=_0x10fc4f,_0x2ca850=!0x1;if(_0x50f685!==0x0&&_0x50f685!==_0x12959e){let _0x18a7eb=_0x18a601/_0x50f685,_0xfc1fa2=_0x365939/_0x50f685;_0x2755b5=_0x12959e*_0x18a7eb,_0x2c9c90=_0x12959e*_0xfc1fa2,_0x2ca850=!0x0;}if(_0x2711fb!==0x0&&_0x2711fb!==_0x5f7930){let _0x464cd9=_0x3eab17/_0x2711fb,_0x47b5bf=_0x10fc4f/_0x2711fb;_0x4db955=_0x5f7930*_0x464cd9,_0x1fd20d=_0x5f7930*_0x47b5bf,_0x2ca850=!0x0;}_0x2ca850&&this[_0x27a6d0(0x280)]({'left':_0x2755b5,'top':_0x4db955,'right':_0x2c9c90,'bottom':_0x1fd20d});}[_0x1a21ce(0x280)](_0x13cc39){const _0x5ecdce=_0x1a21ce;this['_props']['srcRect']=_0x13cc39,this[_0x5ecdce(0x2a3)](!0x0);}[_0x1a21ce(0x237)](_0x386de5){this['_props']['image']=_0x386de5,this['makeDirty'](!0x0);}set[_0x1a21ce(0x3a9)](_0x971252){this['_transform']=_0x971252;}get[_0x1a21ce(0x3a9)](){const _0x304035=_0x1a21ce;this[_0x304035(0x484)]||this[_0x304035(0x43d)]();let _0x32b72f=this['_transform']['clone']();return this[_0x304035(0x2ca)](_0x32b72f);}get['shapeModel'](){const _0x274baf=_0x1a21ce;return this['_props'][_0x274baf(0x20d)];}get['shapeId'](){const _0x23dbfa=_0x1a21ce;return this[_0x23dbfa(0x448)][_0x23dbfa(0x1b1)];}get[_0x1a21ce(0x3ed)](){const _0xbcc257=_0x1a21ce;return _0x4413bb[_0xbcc257(0x163)]['SHAPE'];}[_0x1a21ce(0x445)](_0x47ff73,_0x31aebb,_0x2c93b5,_0x4aaf23){const _0x2b0d56=_0x1a21ce;let _0x27b644=this[_0x2b0d56(0x448)][_0x2b0d56(0x20d)];if(!_0x27b644||!_0x31aebb)return;let _0x42ec61=_0x2c93b5??this[_0x2b0d56(0x36b)],_0x24ad31=_0x4aaf23??this[_0x2b0d56(0x31b)],_0x54d2ac={'shapeType':_0x27b644['getShapeType'](),'width':_0x42ec61,'height':_0x24ad31},_0x4b0f11={'renderMode':_0x24d21b[_0x2b0d56(0x1b5)][_0x2b0d56(0x200)],'oKey':this[_0x2b0d56(0x30b)],'image':this['_props'][_0x2b0d56(0x2fc)],'angle':this[_0x2b0d56(0x11e)]};_0x27b644['updateContext'](_0x54d2ac),_0x47ff73[_0x2b0d56(0x2b2)]();let _0x39bf2e={'top':0x0,'left':0x0,'width':_0x42ec61,'height':_0x24ad31},_0x2db481=_0x27b644[_0x2b0d56(0x269)](_0x39bf2e);_0x2db481?this['_renderWithCache'](_0x47ff73,_0x2db481,_0x3d9fa7=>{const _0x260aca=_0x2b0d56;_0x27b644[_0x260aca(0x1ec)](_0x3d9fa7,_0x39bf2e,_0x4b0f11);}):(this[_0x2b0d56(0x2d3)](),_0x27b644[_0x2b0d56(0x1ec)](_0x47ff73,_0x39bf2e,_0x4b0f11)),_0x47ff73[_0x2b0d56(0x361)]();let _0xbe6b43=_0x27b644[_0x2b0d56(0x22b)](),_0x13dd6b=_0x27b644[_0x2b0d56(0x1f4)](_0x39bf2e),_0x74745b=_0x27b644['isLineShape']();if(_0xbe6b43&&_0x13dd6b&&!_0x74745b){_0x47ff73[_0x2b0d56(0x2b2)](),this[_0x2b0d56(0x45f)]()[_0x2b0d56(0x405)]&&_0x47ff73['scale'](-0x1,0x1);let _0x406bd3=_0x42ec61/0x2,_0x441cb0=_0x24ad31/0x2;_0x47ff73[_0x2b0d56(0x19a)](-_0x406bd3,-_0x441cb0),_0x47ff73[_0x2b0d56(0x14d)](),this[_0x2b0d56(0x106)](_0x47ff73,_0xbe6b43,_0x13dd6b),_0x47ff73[_0x2b0d56(0x361)]();}}[_0x1a21ce(0x37c)](_0x4722d1){}[_0x1a21ce(0x106)](_0x1c5993,_0x1ee2cd,_0x2ee02d){const _0x214fbe=_0x1a21ce;var _0x48b7c1;this[_0x214fbe(0x3d4)]=[],!this[_0x214fbe(0x448)][_0x214fbe(0x142)]&&(!((_0x48b7c1=_0x1ee2cd['dataModel'])!=null&&_0x48b7c1['doc'])&&_0x214fbe(0x35e)in _0x1ee2cd&&_0x1ee2cd[_0x214fbe(0x35e)]===!0x1?this[_0x214fbe(0x17b)](_0x1c5993,_0x1ee2cd,_0x2ee02d):this[_0x214fbe(0x421)](_0x1c5993,_0x1ee2cd,_0x2ee02d));}[_0x1a21ce(0x17b)](_0x39f7f4,_0x5ea306,_0x1f1ac7){const _0x4d8539=_0x1a21ce;this['_drawRichText'](_0x39f7f4,{..._0x5ea306,'text':_0x5ea306[_0x4d8539(0x32c)]??'','dataModel':{'doc':(0x0,_0x3ed8c6[_0x4d8539(0x419)])(_0x5ea306,'sheets-shape-text-'+this[_0x4d8539(0x30b)])}},_0x1f1ac7);}['_drawRichText'](_0x3b3f2,_0x36166f,_0x20a9db){const _0x40d57d=_0x1a21ce;(0x0,_0x3ed8c6[_0x40d57d(0x424)])(_0x3b3f2,this[_0x40d57d(0x39a)],(_0x2ff8bd,_0x14eeb6,_0x4a840d)=>{const _0x1e62d6=_0x40d57d;this[_0x1e62d6(0x158)](_0x2ff8bd,_0x36166f,_0x20a9db,_0x14eeb6,_0x4a840d==='current');});}['_drawRichTextLayer'](_0x32e288,_0x2132c4,_0x193a80,_0x3b790a,_0x14affd){const _0x3e54c=_0x1a21ce;let _0x116344=this[_0x3e54c(0x448)]['localeService'];if(!_0x2132c4[_0x3e54c(0x282)]||!_0x116344)return;let _0x2f2914=(0x0,_0x3ed8c6['normalizeShapeTextModel'])(_0x2132c4[_0x3e54c(0x282)]);if(!_0x2f2914)return;let _0x3f0a43=_0x2f2914['doc'];if(!_0x3f0a43)return;let _0x1a6372=(0x0,_0x1b3552[_0x3e54c(0x1e7)])(_0x3f0a43,_0x3b790a),_0x490089=_0x2f2914['va']??_0x5cf0ce[_0x3e54c(0x393)][_0x3e54c(0x3f7)],_0x3af9f2=_0x2f2914['ha']??_0x5cf0ce[_0x3e54c(0x41a)][_0x3e54c(0x2f2)],_0x2d2664=_0x341603(this['_props'][_0x3e54c(0x20d)][_0x3e54c(0x1ea)](),_0x2132c4,_0x1a6372),_0x654419=_0x2132c4[_0x3e54c(0x441)],_0x5af92b=(0x0,_0x3ed8c6[_0x3e54c(0x2b7)])(_0x1a6372,{'isHorizontal':_0x654419!==!0x1,'textRect':_0x193a80,'verticalAlign':_0x490089,'horizontalAlign':_0x3af9f2,'wrapStrategy':_0x2d2664[_0x3e54c(0x1c9)]}),_0x27dde9=new _0x5cf0ce['DocumentDataModel'](_0x5af92b),_0x37fc7e=new _0x4413bb[(_0x3e54c(0x2b4))](_0x27dde9),_0x39e686=_0x4413bb[_0x3e54c(0x402)][_0x3e54c(0x331)](_0x37fc7e,_0x116344);_0x39e686[_0x3e54c(0x2ff)]();let _0x435415=_0x39e686[_0x3e54c(0x279)]()[_0x3e54c(0x206)],_0x25c2a3=(0x0,_0x3ed8c6[_0x3e54c(0x4be)])({'contentHeight':_0x435415,'verticalAlign':_0x490089,'viewportHeight':_0x193a80[_0x3e54c(0x31b)]});_0x27dde9[_0x3e54c(0x1d6)]({'pageSize':{'width':_0x654419===!0x1?_0x193a80[_0x3e54c(0x31b)]:_0x193a80[_0x3e54c(0x36b)],'height':(0x0,_0x3ed8c6[_0x3e54c(0x295)])(_0x1a6372,_0x25c2a3['contentHeight'])}}),_0x27dde9[_0x3e54c(0x3de)]({'t':_0x25c2a3['marginTop']}),_0x39e686[_0x3e54c(0x2ff)]();let _0x48d695=new _0x4413bb[(_0x3e54c(0x1a7))]('shape-text-'+this['oKey'],_0x39e686,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this['makeDirty'](!0x0)});_0x48d695['resize'](_0x193a80[_0x3e54c(0x36b)],_0x25c2a3['contentHeight']),_0x32e288[_0x3e54c(0x2b2)](),_0x32e288[_0x3e54c(0x1dd)](_0x193a80[_0x3e54c(0x192)],_0x193a80[_0x3e54c(0x33a)]),_0x2d2664[_0x3e54c(0x111)]&&(_0x32e288[_0x3e54c(0x14d)](),_0x32e288['rect'](0x0,_0x25c2a3[_0x3e54c(0x178)],_0x193a80[_0x3e54c(0x36b)],_0x25c2a3[_0x3e54c(0x321)]),_0x32e288[_0x3e54c(0x111)]()),_0x25c2a3['contentVerticalOffset']&&_0x32e288[_0x3e54c(0x1dd)](0x0,_0x25c2a3[_0x3e54c(0x3f1)]),_0x48d695[_0x3e54c(0x3b3)](_0x32e288),_0x14affd&&(this[_0x3e54c(0x3d4)]=(0x0,_0x3ed8c6[_0x3e54c(0x285)])(_0x48d695,{'left':_0x193a80[_0x3e54c(0x192)],'top':_0x193a80[_0x3e54c(0x33a)]+_0x25c2a3[_0x3e54c(0x3f1)]},_0x2d2664[_0x3e54c(0x111)]?{'left':_0x193a80[_0x3e54c(0x192)],'right':_0x193a80['left']+_0x193a80[_0x3e54c(0x36b)],'top':_0x193a80['top']+_0x25c2a3['clipTop'],'bottom':_0x193a80[_0x3e54c(0x33a)]+_0x25c2a3[_0x3e54c(0x178)]+_0x25c2a3['clipHeight']}:void 0x0)),_0x32e288[_0x3e54c(0x361)](),_0x48d695[_0x3e54c(0x351)](),_0x39e686[_0x3e54c(0x351)](),_0x37fc7e[_0x3e54c(0x351)](),_0x27dde9[_0x3e54c(0x351)]();}[_0x1a21ce(0x1ec)](_0x45040f,_0x2cbda7,_0x1dec9e=!0x1){const _0x497cd0=_0x1a21ce;if(!this[_0x497cd0(0x241)])return this['makeDirty'](!0x1),this;let {width:_0x38c85b,height:_0x53c049,left:_0x2d5f1c,top:_0x526a26}=this,_0x276d02=this[_0x497cd0(0x148)]();if(_0x38c85b=_0x276d02[_0x497cd0(0x36b)],_0x53c049=_0x276d02[_0x497cd0(0x31b)],_0x2d5f1c=_0x276d02[_0x497cd0(0x192)],_0x526a26=_0x276d02[_0x497cd0(0x33a)],this[_0x497cd0(0x278)](_0x2cbda7)){let {top:_0x5d22d2,left:_0x879b55,bottom:_0x1b6803,right:_0x1a6563}=_0x2cbda7['viewBound'];if(_0x38c85b+this[_0x497cd0(0xef)]+_0x2d5f1c<_0x879b55||_0x1a6563<_0x2d5f1c||_0x53c049+this[_0x497cd0(0xef)]+_0x526a26<_0x5d22d2||_0x1b6803<_0x526a26)return this;}let _0x2ac3a4=_0x2d5f1c+_0x38c85b/0x2,_0x46af73=_0x526a26+_0x53c049/0x2,_0x5363b2=this[_0x497cd0(0x3a9)][_0x497cd0(0x3fb)]();if(this[_0x497cd0(0x448)]['isEditing']){let _0x48c42b=this['getState'](),_0xe68477=new _0x4413bb['Transform']();_0xe68477[_0x497cd0(0x469)]({..._0x48c42b}),_0x5363b2=_0xe68477[_0x497cd0(0x3fb)]();}return _0x45040f[_0x497cd0(0x2b2)](),this['_props'][_0x497cd0(0x20d)][_0x497cd0(0x4c3)]===!0x0||_0x45040f[_0x497cd0(0x3a9)](_0x5363b2[0x0],_0x5363b2[0x1],_0x5363b2[0x2],_0x5363b2[0x3],_0x2ac3a4,_0x46af73),this[_0x497cd0(0x445)](_0x45040f,_0x2cbda7,_0x38c85b,_0x53c049),_0x45040f['restore'](),this[_0x497cd0(0x2a3)](!0x1),this;}['getInverseCoord'](_0x5457ee){const _0x3c82b8=_0x1a21ce;let {left:_0x4b2038,top:_0x3c7859,width:_0x48e267,height:_0x1d96ba}=this['getRealBound'](),_0x5758bc=this['transform'][_0x3c82b8(0x3fb)](),_0xaae8ed=_0x4b2038+_0x48e267/0x2,_0x2e45b2=_0x3c7859+_0x1d96ba/0x2,_0x5ce6ca=new _0x4413bb[(_0x3c82b8(0x492))]([_0x5758bc[0x0],_0x5758bc[0x1],_0x5758bc[0x2],_0x5758bc[0x3],_0xaae8ed,_0x2e45b2]),_0x8c3cc=this[_0x3c82b8(0x1cb)]();return(this['isInGroup']&&(_0x8c3cc==null?void 0x0:_0x8c3cc[_0x3c82b8(0x3ed)])===_0x4413bb['RENDER_CLASS_TYPE'][_0x3c82b8(0x42d)]?_0x8c3cc[_0x3c82b8(0x4c8)]['multiply'](_0x5ce6ca):_0x5ce6ca)['invert']()[_0x3c82b8(0x292)](_0x5457ee);}['isHit'](_0x466008){const _0x197f00=_0x1a21ce;let {left:_0x3b7eb1,top:_0x1ab0e0,width:_0xa2fe8b,height:_0x320fa2}=this[_0x197f00(0x148)](),_0x2d4f8d=_0x3b7eb1+_0xa2fe8b/0x2,_0x54cde1=_0x1ab0e0+_0x320fa2/0x2,_0x1882b8=this[_0x197f00(0x3a9)][_0x197f00(0x3fb)](),_0x459057=new _0x4413bb['Transform']([_0x1882b8[0x0],_0x1882b8[0x1],_0x1882b8[0x2],_0x1882b8[0x3],_0x2d4f8d,_0x54cde1]),_0x4328d1=this[_0x197f00(0x1cb)](),_0x1730b2=(this[_0x197f00(0x3eb)]&&(_0x4328d1==null?void 0x0:_0x4328d1[_0x197f00(0x3ed)])===_0x4413bb['RENDER_CLASS_TYPE'][_0x197f00(0x42d)]?_0x4328d1['ancestorTransform']['multiply'](_0x459057):_0x459057)[_0x197f00(0x41d)]()[_0x197f00(0x292)](_0x466008),_0x485b62=_0xa2fe8b/0x2,_0x41aa30=_0x320fa2/0x2,_0x2eee16=this['_props'][_0x197f00(0x20d)];return _0x2eee16&&_0x2eee16[_0x197f00(0x108)]()?_0x2eee16['isHitLine'](_0x1730b2['x'],_0x1730b2['y'],_0xa2fe8b,_0x320fa2):_0x1730b2['x']>=-_0x485b62-this['strokeWidth']/0x2&&_0x1730b2['x']<=_0x485b62+this['strokeWidth']/0x2&&_0x1730b2['y']>=-_0x41aa30-this['strokeWidth']/0x2&&_0x1730b2['y']<=_0x41aa30+this[_0x197f00(0xef)]/0x2;}[_0x1a21ce(0x351)](){const _0xb91148=_0x1a21ce;this[_0xb91148(0x39a)][_0xb91148(0x351)](),this[_0xb91148(0x448)]['shapeModel']=null,super[_0xb91148(0x351)]();}},_0x4b14c3=class extends _0x4413bb['Shape']{constructor(_0x3a0d6c,_0x1569cb){const _0x17e5ed=_0x1a21ce;super(_0x3a0d6c,_0x1569cb),_0x339d5f(this,'_shapeId',null),_0x339d5f(this,_0x17e5ed(0x306),null),_0x339d5f(this,_0x17e5ed(0x29c),null),_0x339d5f(this,'_subUnitId',null),_0x1569cb&&this[_0x17e5ed(0x4b8)](_0x1569cb);}[_0x1a21ce(0x1a8)](){const _0x4cd1ff=_0x1a21ce;return{'unitId':this[_0x4cd1ff(0x29c)],'subUnitId':this[_0x4cd1ff(0x251)],'drawingId':this[_0x4cd1ff(0x2f8)]};}[_0x1a21ce(0x4b8)](_0x14021b){const _0x1cde2d=_0x1a21ce;_0x14021b[_0x1cde2d(0x1b1)]!==void 0x0&&(this[_0x1cde2d(0x2f8)]=_0x14021b[_0x1cde2d(0x1b1)]),_0x14021b[_0x1cde2d(0xe9)]!==void 0x0&&(this[_0x1cde2d(0x306)]=_0x14021b[_0x1cde2d(0xe9)]),_0x14021b['unitId']!==void 0x0&&(this[_0x1cde2d(0x29c)]=_0x14021b[_0x1cde2d(0x197)]),_0x14021b['subUnitId']!==void 0x0&&(this[_0x1cde2d(0x251)]=_0x14021b['subUnitId']),this[_0x1cde2d(0x4bb)]({'width':_0x14021b[_0x1cde2d(0x36b)],'height':_0x14021b[_0x1cde2d(0x31b)]});}[_0x1a21ce(0x445)](_0x554194){const _0x41b840=_0x1a21ce;_0x4413bb['Circle'][_0x41b840(0x3c9)](_0x554194,{'radius':_0x24d21b['ShapeDefaultConfig'][_0x41b840(0x3e6)],'fill':_0x24d21b[_0x41b840(0x1a9)]['adjHandleFill'],'stroke':_0x24d21b[_0x41b840(0x1a9)]['adjHandleStroke'],'strokeWidth':0x1,'evented':!0x0});}};function _0x4512b4(_0x59279e,_0x1b643c){return function(_0x564061,_0x3df8b4){_0x1b643c(_0x564061,_0x3df8b4,_0x59279e);};}function _0x3f6514(_0x6f858a,_0x41d469,_0x386b4a,_0x17dc82){const _0x1534f3=_0x1a21ce;var _0x4eb7f7=arguments['length'],_0x7fcae3=_0x4eb7f7<0x3?_0x41d469:_0x17dc82===null?_0x17dc82=Object[_0x1534f3(0x31f)](_0x41d469,_0x386b4a):_0x17dc82,_0x5aa39c;if(typeof Reflect=='object'&&typeof Reflect[_0x1534f3(0x387)]==_0x1534f3(0x24c))_0x7fcae3=Reflect[_0x1534f3(0x387)](_0x6f858a,_0x41d469,_0x386b4a,_0x17dc82);else{for(var _0x272f12=_0x6f858a[_0x1534f3(0x38a)]-0x1;_0x272f12>=0x0;_0x272f12--)(_0x5aa39c=_0x6f858a[_0x272f12])&&(_0x7fcae3=(_0x4eb7f7<0x3?_0x5aa39c(_0x7fcae3):_0x4eb7f7>0x3?_0x5aa39c(_0x41d469,_0x386b4a,_0x7fcae3):_0x5aa39c(_0x41d469,_0x386b4a))||_0x7fcae3);}return _0x4eb7f7>0x3&&_0x7fcae3&&Object[_0x1534f3(0x401)](_0x41d469,_0x386b4a,_0x7fcae3),_0x7fcae3;}let _0x251705=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x13b808,_0x2df0b4,_0x57b077,_0x5ba3ac,_0x16c42c,_0x42d43d){const _0x180932=_0x1a21ce;super(),this['_drawingManagerService']=_0x13b808,this[_0x180932(0x23a)]=_0x2df0b4,this[_0x180932(0x438)]=_0x57b077,this[_0x180932(0x1d4)]=_0x5ba3ac,this[_0x180932(0x377)]=_0x16c42c,this[_0x180932(0x29b)]=_0x42d43d,_0x339d5f(this,'_formulaShapes',new Map()),this[_0x180932(0x4c4)](this[_0x180932(0x29b)]['presentationChanged$'][_0x180932(0x3e7)](_0x3cf56e=>{const _0x2ee7c6=_0x180932;var _0x578368;(_0x578368=this[_0x2ee7c6(0x422)][_0x2ee7c6(0x170)](this[_0x2ee7c6(0x337)](_0x3cf56e['unitId'],_0x3cf56e[_0x2ee7c6(0x4b3)],_0x3cf56e[_0x2ee7c6(0x1b1)])))==null||_0x578368[_0x2ee7c6(0x123)](_0x4e56d3=>_0x4e56d3[_0x2ee7c6(0x301)](_0x3cf56e[_0x2ee7c6(0x4ad)],_0x3cf56e[_0x2ee7c6(0x165)]));})),this[_0x180932(0x4c4)](this['_drawingManagerService'][_0x180932(0x44c)][_0x180932(0x3e7)](_0x4ee244=>{const _0x5fcbe=_0x180932;_0x4ee244[_0x5fcbe(0x123)](_0xd3ecc1=>{const _0xf3fefe=_0x5fcbe;this[_0xf3fefe(0x29b)][_0xf3fefe(0x1e1)]({'unitId':_0xd3ecc1[_0xf3fefe(0x197)],'subUnitId':_0xd3ecc1['subUnitId'],'shapeId':_0xd3ecc1[_0xf3fefe(0x1f5)]}),this[_0xf3fefe(0x422)][_0xf3fefe(0x1ef)](this[_0xf3fefe(0x337)](_0xd3ecc1['unitId'],_0xd3ecc1['subUnitId'],_0xd3ecc1[_0xf3fefe(0x1f5)]));});}));}[_0x1a21ce(0x1d5)](_0x344607,_0x1ebbaf,_0x122945){const _0x22b56a=_0x1a21ce;let {transform:_0x28b40a,drawingType:_0xea57ed,srcRect:_0x2da737,prstGeom:_0x3234be,groupId:_0x20309f,unitId:_0x1594f5,subUnitId:_0x3792f4,drawingId:_0xc3efb6,isMultiTransform:_0x1f3adb,transforms:_0x59212d,hidden:_0x390d33,selectable:_0x4aab85}=_0x344607;if(_0xea57ed!==_0x5cf0ce[_0x22b56a(0x1c1)][_0x22b56a(0x33f)]||!this[_0x22b56a(0x383)][_0x22b56a(0xf5)]()||_0x28b40a==null)return;let _0x51cc67=this[_0x22b56a(0x383)][_0x22b56a(0x464)](),_0x3d6985=_0x1f3adb&&_0x59212d?_0x59212d:[_0x28b40a],_0x138612=[];for(let _0x2f53d1 of _0x3d6985){let {left:_0x236e03,top:_0x43c7ee,width:_0x4d2bdc,height:_0x2d609a,angle:_0x2b4a95,flipX:_0x254849,flipY:_0x43744c,skewX:_0x584858,skewY:_0x4a1734}=_0x2f53d1,_0x225c1f=_0x3d6985[_0x22b56a(0x334)](_0x2f53d1),_0x2d725f=(0x0,_0x2a2438[_0x22b56a(0x414)])({'unitId':_0x1594f5,'subUnitId':_0x3792f4,'drawingId':_0xc3efb6},_0x1f3adb?_0x225c1f:void 0x0),_0x2d7624=_0x1ebbaf[_0x22b56a(0x26e)](_0x2d725f);if(_0x2d7624!=null){let _0x5d4c65={'unitId':_0x1594f5,'subUnitId':_0x3792f4,'shapeId':_0xc3efb6};_0x2d7624 instanceof _0x4d7701&&this[_0x22b56a(0x265)](_0x2d7624,_0x5d4c65),_0x2d7624[_0x22b56a(0x4bb)]({'left':_0x236e03,'top':_0x43c7ee,'width':_0x4d2bdc,'height':_0x2d609a,'angle':_0x2b4a95,'flipX':_0x254849,'flipY':_0x43744c,'skewX':_0x584858,'skewY':_0x4a1734});continue;}let _0x216dc8=this['_drawingManagerService'][_0x22b56a(0x289)](_0x1594f5,_0x3792f4),_0x17a329=_0x216dc8[_0x22b56a(0x334)](_0xc3efb6);if(_0x1ebbaf[_0x22b56a(0x26e)](_0x2d725f)||!this[_0x22b56a(0x383)][_0x22b56a(0xf5)]())continue;let _0x43c796=this['_sheetsShapeService'][_0x22b56a(0x49e)](_0x1594f5,_0x3792f4,_0xc3efb6);if(!_0x43c796)continue;let _0x35fbea=(0x0,_0x24d21b['isConnectorShape'])(_0x43c796[_0x22b56a(0x1e0)]())?{..._0x3ed8c6[_0x22b56a(0x3cf)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x3ed8c6['SHAPE_EDITOR_TRANSFORMER_CONFIG'],_0x5a0be8=_0x43c796[_0x22b56a(0x1ea)]()[_0x22b56a(0x126)],_0x303af3={'unitId':_0x1594f5,'subUnitId':_0x3792f4,'shapeId':_0xc3efb6};_0x5a0be8&&this[_0x22b56a(0x29b)][_0x22b56a(0x3b8)](_0x303af3,_0x5a0be8);let _0x45d7a4=new _0x4d7701(_0x2d725f,{..._0x2f53d1,'zIndex':_0x17a329===-0x1?_0x216dc8['length']-0x1:_0x17a329,'shapeModel':_0x43c796,'localeService':this[_0x22b56a(0x438)],'shapeId':_0xc3efb6,'unitId':_0x1594f5,'subUnitId':_0x3792f4,'visible':_0x390d33!==!0x0,'evented':_0x4aab85!==!0x1,'formulaPresentation':_0x5a0be8?this[_0x22b56a(0x29b)][_0x22b56a(0x271)](_0x303af3):void 0x0,'animateFormulaPresentation':(_0x5a0be8==null?void 0x0:_0x5a0be8['animationEnabled'])!==!0x1,'transformerConfig':_0x35fbea});if(_0x5a0be8){let _0x3d38ad=this['_formulaKey'](_0x1594f5,_0x3792f4,_0xc3efb6),_0x408530=this['_formulaShapes'][_0x22b56a(0x170)](_0x3d38ad)??new Set();_0x408530[_0x22b56a(0x36d)](_0x45d7a4),this[_0x22b56a(0x422)]['set'](_0x3d38ad,_0x408530);}_0x1ebbaf[_0x22b56a(0x141)](_0x45d7a4,_0x4413bb[_0x22b56a(0x1ab)]),_0x51cc67&&_0x1ebbaf[_0x22b56a(0x335)](_0x45d7a4),_0x20309f&&(0x0,_0x11fb86[_0x22b56a(0x19e)])({'drawingId':_0x20309f,'unitId':_0x1594f5,'subUnitId':_0x3792f4},_0x45d7a4,_0x1ebbaf,this[_0x22b56a(0x383)]),_0x3234be!=null&&_0x45d7a4[_0x22b56a(0x1d8)](_0x3234be),_0x2da737!=null&&_0x45d7a4[_0x22b56a(0x280)](_0x2da737);let _0x6662c8=this[_0x22b56a(0x341)](_0x45d7a4,_0x43c796[_0x22b56a(0x1ea)]());if(_0x6662c8){var _0x131520;_0x122945==null||(_0x131520=_0x122945['resourceCollector'])==null||_0x131520[_0x22b56a(0x36d)](_0x6662c8);}_0x138612[_0x22b56a(0x109)](_0x45d7a4);}return _0x138612;}[_0x1a21ce(0x337)](_0x439829,_0x5525b8,_0x5cc1cd){return _0x439829+'\x00'+_0x5525b8+'\x00'+_0x5cc1cd;}['refreshFormulaPresentation'](_0xac4a0,_0x4405a0){const _0x2be154=_0x1a21ce;let _0x4c6bdb=this[_0x2be154(0x23a)][_0x2be154(0x49e)](_0x4405a0[_0x2be154(0x197)],_0x4405a0['subUnitId'],_0x4405a0['shapeId']),_0x1d2893=_0x4c6bdb==null?void 0x0:_0x4c6bdb[_0x2be154(0x1ea)]()[_0x2be154(0x126)],_0x5749d0=this['_formulaKey'](_0x4405a0[_0x2be154(0x197)],_0x4405a0[_0x2be154(0x4b3)],_0x4405a0[_0x2be154(0x1b1)]);if(_0x1d2893){this[_0x2be154(0x29b)][_0x2be154(0x3b8)](_0x4405a0,_0x1d2893);let _0x1ef280=this['_formulaShapes'][_0x2be154(0x170)](_0x5749d0)??new Set();_0x1ef280[_0x2be154(0x36d)](_0xac4a0),this[_0x2be154(0x422)][_0x2be154(0x153)](_0x5749d0,_0x1ef280);}else{var _0x2ff049;this[_0x2be154(0x29b)]['unregister'](_0x4405a0),(_0x2ff049=this[_0x2be154(0x422)][_0x2be154(0x170)](_0x5749d0))==null||_0x2ff049[_0x2be154(0x1ef)](_0xac4a0);}_0xac4a0[_0x2be154(0x301)](_0x1d2893?this[_0x2be154(0x29b)][_0x2be154(0x271)](_0x4405a0):void 0x0,(_0x1d2893==null?void 0x0:_0x1d2893[_0x2be154(0x165)])!==!0x1);}[_0x1a21ce(0x3fd)](_0x56b096){const _0x27928b=_0x1a21ce;let _0x24415c=_0x56b096[_0x27928b(0x20d)]['getShapeData'](),_0x5610b0=_0x24415c[_0x27928b(0x4ae)];!_0x5610b0||_0x5610b0[_0x27928b(0x18d)]!==_0x24d21b[_0x27928b(0x4b4)]['PictureFill']||!_0x5610b0[_0x27928b(0x207)]?_0x56b096[_0x27928b(0x237)](void 0x0):this[_0x27928b(0x341)](_0x56b096,_0x24415c);}[_0x1a21ce(0x341)](_0x49962b,_0x4ee4ae){const _0x16c434=_0x1a21ce;let _0x30be5c=_0x4ee4ae[_0x16c434(0x4ae)];if(!_0x30be5c||_0x30be5c[_0x16c434(0x18d)]!==_0x24d21b['ShapeFillEnum'][_0x16c434(0x1df)]||!_0x30be5c['fillImageSource'])return;let _0x18f36b=_0x30be5c[_0x16c434(0x207)],_0x49ccb9=_0x30be5c['fillImageSourceType']??_0x24d21b[_0x16c434(0x297)][_0x16c434(0x35d)],_0x358fcc=this[_0x16c434(0x1d4)][_0x16c434(0x352)](_0x18f36b,_0x49ccb9);if(_0x358fcc)_0x49962b['setFillImage'](_0x358fcc);else return this[_0x16c434(0x2fd)](_0x49962b,_0x18f36b,_0x49ccb9);}async[_0x1a21ce(0x2fd)](_0x188093,_0x22e823,_0x116bff){const _0x2889bd=_0x1a21ce;let _0x2e0883;try{if(_0x116bff===_0x24d21b[_0x2889bd(0x297)]['UUID'])_0x2e0883=await this['_imageIoService']['getImage'](_0x22e823);else{if(_0x116bff===_0x24d21b[_0x2889bd(0x297)][_0x2889bd(0x35d)])try{_0x2e0883=await this[_0x2889bd(0x377)][_0x2889bd(0x189)](_0x22e823);}catch{_0x2e0883=_0x22e823;}else _0x2e0883=_0x22e823;}}catch(_0x11b36a){console['error'](_0x2889bd(0xdd),_0x11b36a);return;}await new Promise(_0x362d82=>{const _0x1b3802=_0x2889bd;let _0x567c85=new window[(_0x1b3802(0x453))]();_0x567c85[_0x1b3802(0x4a8)]=()=>{const _0x2eeca7=_0x1b3802;this['_imageIoService'][_0x2eeca7(0x1be)](_0x22e823,_0x116bff,_0x567c85),_0x188093[_0x2eeca7(0x237)](_0x567c85),_0x362d82();},_0x567c85['onerror']=()=>{const _0x175674=_0x1b3802;console[_0x175674(0x3be)](_0x175674(0x1dc),_0x22e823),_0x362d82();},_0x567c85[_0x1b3802(0x4a7)]=_0x2e0883;});}};_0x251705=_0x3f6514([_0x4512b4(0x0,_0x2a2438[_0x1a21ce(0x3e4)]),_0x4512b4(0x1,(0x0,_0x5cf0ce['Inject'])(_0x34e612[_0x1a21ce(0x457)])),_0x4512b4(0x2,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x5cf0ce[_0x1a21ce(0x4ac)])),_0x4512b4(0x3,_0x5cf0ce[_0x1a21ce(0x218)]),_0x4512b4(0x4,_0x5cf0ce[_0x1a21ce(0x2c9)]),_0x4512b4(0x5,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x1b3552[_0x1a21ce(0x240)]))],_0x251705);let _0x5f5333=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x2ffe3d,_0x27bf26,_0x3cf6df,_0xe89659,_0x71486,_0x39f379){const _0xe062dd=_0x1a21ce;super(),this[_0xe062dd(0x383)]=_0x2ffe3d,this[_0xe062dd(0x23a)]=_0x27bf26,this[_0xe062dd(0x411)]=_0x3cf6df,this[_0xe062dd(0x188)]=_0xe89659,this[_0xe062dd(0x2d5)]=_0x71486,this[_0xe062dd(0x378)]=_0x39f379,_0x339d5f(this,_0xe062dd(0x376),null),_0x339d5f(this,'_unitId',null),_0x339d5f(this,_0xe062dd(0x251),null),_0x339d5f(this,_0xe062dd(0x1ce),void 0x0),_0x339d5f(this,_0xe062dd(0x287),[]),_0x339d5f(this,'_baseShapeLeft',0x0),_0x339d5f(this,_0xe062dd(0x274),0x0),_0x339d5f(this,_0xe062dd(0x423),0x0),_0x339d5f(this,'_baseShapeHeight',0x0),_0x339d5f(this,_0xe062dd(0x3fe),!0x1),_0x339d5f(this,'_activeAdjustInfo',void 0x0),_0x339d5f(this,_0xe062dd(0xf3),void 0x0),_0x339d5f(this,'_adjHandlerPointerMove',void 0x0),_0x339d5f(this,'_adjHandlerPointerUp',void 0x0),_0x339d5f(this,_0xe062dd(0x1b8),!0x1),this[_0xe062dd(0x447)](),this[_0xe062dd(0x293)]();}['_getShapeAdjustPointListById'](_0x48e669,_0x579c67,_0x2a39ac){const _0x3f1da7=_0x1a21ce;let _0x1b18f2=this[_0x3f1da7(0x23a)]['getShapeModel'](_0x48e669,_0x579c67,_0x2a39ac);if(_0x1b18f2)return _0x1b18f2['getDrawingPoints']();}[_0x1a21ce(0x4af)](){const _0x2a5a7c=_0x1a21ce;this[_0x2a5a7c(0x38d)]();}[_0x1a21ce(0x164)](){const _0xbad4d4=_0x1a21ce;this[_0xbad4d4(0x36f)](!0x0);}[_0x1a21ce(0x2e5)](_0x122355){const _0x5133fd=_0x1a21ce;this[_0x5133fd(0x1b8)]=_0x122355;}[_0x1a21ce(0x489)](_0x1fb246,_0x586a93,_0x162ec2,_0x401c14){const _0x525fd0=_0x1a21ce;let _0x2f8fc2=this['_sheetsShapeService']['getShapeModel'](_0x1fb246,_0x586a93,_0x162ec2);if(_0x2f8fc2)return _0x2f8fc2[_0x525fd0(0x3f2)](_0x401c14);}[_0x1a21ce(0x3d6)](_0x18fe9c=!0x1){const _0xd4d876=_0x1a21ce;if(this['_unitId']===null||this['_subUnitId']===null||this[_0xd4d876(0x376)]===null)return;let _0x2d7347=this[_0xd4d876(0x411)]['getRenderUnitById'](this['_unitId']);if(!_0x2d7347||!_0x2d7347[_0xd4d876(0x18b)](_0x3e532c['SheetSkeletonManagerService'])['getCurrentSkeleton']())return;let {scene:_0x5a41ed}=_0x2d7347,_0x2ac476={'unitId':this[_0xd4d876(0x29c)],'subUnitId':this[_0xd4d876(0x251)],'drawingId':this['_activeShapeId']},_0x1484a9=this['_drawingManagerService']['getDrawingByParam'](_0x2ac476),{transform:_0x514541}=_0x1484a9;if(!_0x514541||_0x1484a9['drawingType']!==_0x5cf0ce[_0xd4d876(0x1c1)][_0xd4d876(0x33f)])return;let {left:_0x49c2a4,top:_0x436f3d,width:_0x348e23,height:_0x5c13a5,flipX:_0x357d93,flipY:_0x1ff923,angle:_0x50f77b=0x0}=_0x514541;if(_0x49c2a4===void 0x0||_0x436f3d===void 0x0)return;if(_0x18fe9c){let _0x9ed65e=this['_sheetsShapeService'][_0xd4d876(0x49e)](this['_unitId'],this['_subUnitId'],this['_activeShapeId']);_0x9ed65e==null||_0x9ed65e['updateContext']({'width':_0x348e23??0x0,'height':_0x5c13a5??0x0}),this[_0xd4d876(0x1ce)]=_0x9ed65e==null?void 0x0:_0x9ed65e[_0xd4d876(0x37c)]();}let _0x3f8ee3=this[_0xd4d876(0x1ce)];for(let _0x1a0963=0x0;_0x1a0963<_0x3f8ee3[_0xd4d876(0x38a)];_0x1a0963++){let _0x5f413d=_0x3f8ee3[_0x1a0963],_0x2d0ab7=_0x5f413d['x'],_0x4a22b1=_0x5f413d['y'];if(_0x357d93&&(_0x2d0ab7=(_0x348e23||0x0)-_0x2d0ab7),_0x1ff923&&(_0x4a22b1=(_0x5c13a5||0x0)-_0x4a22b1),_0x50f77b!==0x0){let _0x23c2de=(_0x348e23||0x0)/0x2,_0x10fa5c=(_0x5c13a5||0x0)/0x2,_0xc6a51a=_0x50f77b*Math['PI']/0xb4,_0x3da7b4=Math[_0xd4d876(0x127)](_0xc6a51a),_0x168993=Math[_0xd4d876(0x1bc)](_0xc6a51a),_0x17031f=_0x2d0ab7-_0x23c2de,_0x531920=_0x4a22b1-_0x10fa5c;_0x2d0ab7=_0x23c2de+(_0x17031f*_0x3da7b4-_0x531920*_0x168993),_0x4a22b1=_0x10fa5c+(_0x17031f*_0x168993+_0x531920*_0x3da7b4);}let _0xde5b64={'x':_0x2d0ab7,'y':_0x4a22b1,'adjName':_0x5f413d[_0xd4d876(0xe9)]};this['_addShapeAdjustControl'](_0x5a41ed,_0xde5b64,_0xde5b64['adjName'],_0x49c2a4,_0x436f3d,this[_0xd4d876(0x29c)],this[_0xd4d876(0x251)]);}}[_0x1a21ce(0x36f)](_0x51c876=!0x1){_0x51c876&&(this['_clearShapeAdjustControls'](),this['_createShapeAdjustControls'](_0x51c876));}['_addShapeAdjustControl'](_0x1024f9,_0x57da19,_0x391624,_0x381788,_0x45721a,_0x3bb304,_0x188602){const _0x420b55=_0x1a21ce;if(!this['_activeShapeId'])return;let _0x2a1916=_0x1024f9[_0x420b55(0x26e)](_0x420b55(0x254)+this[_0x420b55(0x376)]+'-'+_0x391624);if(_0x2a1916){_0x2a1916[_0x420b55(0x4bb)]({'left':_0x57da19['x']+_0x381788-_0x24d21b[_0x420b55(0x1a9)][_0x420b55(0x3e6)],'top':_0x57da19['y']+_0x45721a-_0x24d21b['ShapeDefaultConfig']['adjHandleSize']});return;}let _0x4e30dd={'left':_0x57da19['x']+_0x381788-_0x24d21b[_0x420b55(0x1a9)][_0x420b55(0x3e6)],'top':_0x57da19['y']+_0x45721a-_0x24d21b[_0x420b55(0x1a9)][_0x420b55(0x3e6)],'adjName':_0x391624,'shapeId':this[_0x420b55(0x376)],'unitId':_0x3bb304,'subUnitId':_0x188602,'width':_0x24d21b[_0x420b55(0x1a9)][_0x420b55(0x3e6)]+0x8,'height':_0x24d21b[_0x420b55(0x1a9)][_0x420b55(0x3e6)]+0x8,'zIndex':_0x4413bb[_0x420b55(0x1ab)]+0x1,'evented':!0x0},_0x2222f7=new _0x4b14c3('shape-adjust-point-'+this[_0x420b55(0x376)]+'-'+_0x391624,_0x4e30dd);this[_0x420b55(0x287)][_0x420b55(0x109)](_0x2222f7),this[_0x420b55(0x247)](_0x2222f7,_0x1024f9,_0x391624),_0x1024f9['addObject'](_0x2222f7,_0x4413bb[_0x420b55(0x1ab)]+0x1);}[_0x1a21ce(0x38d)](){const _0xd04ac6=_0x1a21ce;this[_0xd04ac6(0x287)][_0xd04ac6(0x38a)]!==0x0&&(this['_shapes'][_0xd04ac6(0x123)](_0x37754c=>{const _0x4ed70b=_0xd04ac6;_0x37754c[_0x4ed70b(0x351)]();}),this[_0xd04ac6(0x287)]=[]);}[_0x1a21ce(0x3f4)](){this['_createShapeAdjustControls']();}[_0x1a21ce(0x39b)](_0x1ea425,_0x156ad2){const _0xd4aeca=_0x1a21ce;var _0x2b77d1;let _0x4ea0ac={'x':0x0,'y':0x0};if(!_0x1ea425||!_0x156ad2)return _0x4ea0ac;let _0x4465d7=this[_0xd4aeca(0x411)][_0xd4aeca(0x3ce)](_0x1ea425);if(!_0x4465d7||!_0x4465d7[_0xd4aeca(0x18b)](_0x3e532c['SheetSkeletonManagerService'])[_0xd4aeca(0x1c6)](_0x156ad2))return _0x4ea0ac;let _0x114f83=_0x4465d7[_0xd4aeca(0x18b)](_0x3e532c[_0xd4aeca(0x47c)]),_0x13e8e9=_0x114f83==null?void 0x0:_0x114f83['getCurrentScrollState']();if(!_0x13e8e9)return _0x4ea0ac;let _0x1cc8c5=(_0x2b77d1=this['_univerInstanceService']['getUnit'](_0x1ea425))==null?void 0x0:_0x2b77d1[_0xd4aeca(0x1c4)](_0x156ad2);if(!_0x1cc8c5)return _0x4ea0ac;let _0x60aabb=(0x0,_0x3e532c[_0xd4aeca(0x3d0)])(_0x13e8e9[_0xd4aeca(0x3ff)],_0x13e8e9[_0xd4aeca(0x4b0)],_0x4465d7[_0xd4aeca(0x2d7)],_0x1cc8c5);return _0x60aabb?{'x':_0x60aabb[_0xd4aeca(0xfd)],'y':_0x60aabb[_0xd4aeca(0x491)]}:_0x4ea0ac;}[_0x1a21ce(0x129)](_0x4767ff,_0x8062e3){const _0x96225b=_0x1a21ce;var _0x415397;let _0x48ed8f=(_0x415397=this['_univerInstanceService'][_0x96225b(0x412)](_0x4767ff))==null?void 0x0:_0x415397['getSheetBySheetId'](_0x8062e3);return(_0x48ed8f==null?void 0x0:_0x48ed8f['getZoomRatio']())??0x1;}['_attachAdjustEvent'](_0x255516,_0x2b762d,_0x1d6c9b){const _0x4025d7=_0x1a21ce;this[_0x4025d7(0x4c4)]((0x0,_0x5cf0ce[_0x4025d7(0xff)])(_0x255516[_0x4025d7(0x39e)]['subscribeEvent']((_0x2ba061,_0x57e857)=>{const _0x5b36a2=_0x4025d7;var _0xb86c39,_0x28137a,_0x7d659e,_0x4361f1;let _0x15c653=_0x255516[_0x5b36a2(0x1a8)]();this[_0x5b36a2(0x209)]=this[_0x5b36a2(0x489)](_0x15c653[_0x5b36a2(0x197)],_0x15c653['subUnitId'],_0x15c653[_0x5b36a2(0x1f5)],_0x1d6c9b),this[_0x5b36a2(0xf3)]=this[_0x5b36a2(0x23a)][_0x5b36a2(0x49e)](_0x15c653[_0x5b36a2(0x197)],_0x15c653[_0x5b36a2(0x4b3)],_0x15c653[_0x5b36a2(0x1f5)]);let _0x25399a=this[_0x5b36a2(0x383)][_0x5b36a2(0x214)]({'unitId':this[_0x5b36a2(0x29c)],'subUnitId':this[_0x5b36a2(0x251)],'drawingId':this['_activeShapeId']}),{transform:_0x3cb29d}=_0x25399a;if(_0x3cb29d){let {left:_0x208e49,top:_0x3580d7,width:_0x57586b,height:_0x1ac71f}=_0x3cb29d;this['_baseShapeLeft']=_0x208e49||0x0,this[_0x5b36a2(0x274)]=_0x3580d7||0x0,this[_0x5b36a2(0x423)]=_0x57586b||0x0,this[_0x5b36a2(0x3d5)]=_0x1ac71f||0x0;}let _0x538e8f=!!((_0xb86c39=_0x25399a[_0x5b36a2(0x3a9)])!=null&&_0xb86c39['flipX']),_0x4efa58=!!((_0x28137a=_0x25399a['transform'])!=null&&_0x28137a[_0x5b36a2(0x488)]),_0x281bf=((_0x7d659e=_0x25399a[_0x5b36a2(0x3a9)])==null?void 0x0:_0x7d659e[_0x5b36a2(0x11e)])||0x0;this[_0x5b36a2(0x3fe)]=!0x0,_0x2b762d['disableObjectsEvent']();let _0xdeaf3e={...((_0x4361f1=this[_0x5b36a2(0x209)])==null?void 0x0:_0x4361f1['currentAdjustValues'])??{}};this[_0x5b36a2(0x1eb)]=_0x2b762d[_0x5b36a2(0xee)][_0x5b36a2(0x3fc)]((_0x238c97,_0x549164)=>{const _0x11fcf5=_0x5b36a2;if(!this[_0x11fcf5(0x3fe)])return;let {offsetX:_0x227657,offsetY:_0x38c68b}=_0x238c97,_0x1a2902=this['_activeAdjustInfo'];if(this['_activeShapeModel']&&_0x1a2902){_0x2b762d[_0x11fcf5(0x2c1)](),_0x2b762d[_0x11fcf5(0x379)](_0x4413bb['CURSOR_TYPE'][_0x11fcf5(0x44d)]);let _0x48b3d7={'left':0x0,'top':0x0,'width':this[_0x11fcf5(0x423)],'height':this[_0x11fcf5(0x3d5)]},_0x1c9d45=this['_getScrollInfo'](this[_0x11fcf5(0x29c)],this[_0x11fcf5(0x251)]),_0x5a3892=this[_0x11fcf5(0x129)](this[_0x11fcf5(0x29c)],this[_0x11fcf5(0x251)]),_0x5ceda8=_0x227657/_0x5a3892+_0x1c9d45['x']-this['_baseShapeLeft'],_0x13fe20=_0x38c68b/_0x5a3892+_0x1c9d45['y']-this['_baseShapeTop'];if(_0x281bf!==0x0){let _0x4bf44d=this['_baseShapeWidth']/0x2,_0x3292cf=this[_0x11fcf5(0x3d5)]/0x2,_0x2db334=_0x281bf*Math['PI']/0xb4,_0x4fd8d1=Math[_0x11fcf5(0x127)](_0x2db334),_0x5b8ce4=Math[_0x11fcf5(0x1bc)](_0x2db334),_0x22e726=_0x5ceda8-_0x4bf44d,_0x144583=_0x13fe20-_0x3292cf;_0x5ceda8=_0x4bf44d+(_0x22e726*_0x4fd8d1+_0x144583*_0x5b8ce4),_0x13fe20=_0x3292cf+(-_0x22e726*_0x5b8ce4+_0x144583*_0x4fd8d1);}_0x538e8f&&(_0x5ceda8=this[_0x11fcf5(0x423)]-_0x5ceda8),_0x4efa58&&(_0x13fe20=this[_0x11fcf5(0x3d5)]-_0x13fe20);let _0xb9379d={'x':_0x5ceda8,'y':_0x13fe20},_0x5a36dc=this[_0x11fcf5(0xf3)][_0x11fcf5(0x133)](_0x48b3d7,_0xb9379d,_0x1a2902,_0x538e8f,_0x4efa58);if(Object[_0x11fcf5(0x353)](_0x5a36dc)[_0x11fcf5(0x38a)]===0x0)return;for(let [_0xee978d,_0x10ed49]of Object[_0x11fcf5(0x210)](_0x5a36dc))this[_0x11fcf5(0xf3)][_0x11fcf5(0x44b)](_0xee978d,_0x10ed49);this['_activeShapeModel'][_0x11fcf5(0x433)]({'width':this[_0x11fcf5(0x423)],'height':this[_0x11fcf5(0x3d5)]});let _0x906e3a=this[_0x11fcf5(0x383)][_0x11fcf5(0x214)]({'unitId':_0x15c653[_0x11fcf5(0x197)],'subUnitId':_0x15c653[_0x11fcf5(0x4b3)],'drawingId':_0x15c653[_0x11fcf5(0x1f5)]});_0x906e3a&&(this['_sheetDrawingShapeRenderController'][_0x11fcf5(0x1d5)](_0x906e3a,_0x2b762d),this[_0x11fcf5(0x1ce)]=this[_0x11fcf5(0x2b5)](_0x15c653[_0x11fcf5(0x197)],_0x15c653[_0x11fcf5(0x4b3)],_0x15c653['drawingId']),this[_0x11fcf5(0x3f4)]());}_0x549164[_0x11fcf5(0x344)]();}),this[_0x5b36a2(0x2e3)]=_0x2b762d[_0x5b36a2(0x3c5)][_0x5b36a2(0x3fc)]((_0x1f2bba,_0x5c066b)=>{const _0xe80bc5=_0x5b36a2;this[_0xe80bc5(0x1eb)][_0xe80bc5(0x15a)](),this[_0xe80bc5(0x2e3)]['unsubscribe'](),_0x2b762d[_0xe80bc5(0x3c0)]();let _0x5172eb=this[_0xe80bc5(0x209)];if(_0x5172eb){let _0x5913f9=_0x15c653[_0xe80bc5(0x197)],_0x3790ec=_0x15c653[_0xe80bc5(0x4b3)],_0x4079e3=_0x15c653[_0xe80bc5(0x1f5)],_0x50526e={};for(let _0xc4e96c of Object[_0xe80bc5(0x353)](_0x5172eb[_0xe80bc5(0xf8)])){var _0x5ab3ab;let _0x541f6d=(_0x5ab3ab=this[_0xe80bc5(0xf3)])==null?void 0x0:_0x5ab3ab[_0xe80bc5(0x317)](_0xc4e96c);_0x541f6d!==void 0x0&&(_0x50526e[_0xc4e96c]=_0x541f6d);}Object[_0xe80bc5(0x353)](_0x50526e)[_0xe80bc5(0x38a)]>0x0&&_0x12c3ae(this[_0xe80bc5(0x378)],_0x5913f9,_0x3790ec,_0x4079e3,{'oldShapeData':{'adjustValues':_0xdeaf3e}},{'adjustValues':_0x50526e});}this[_0xe80bc5(0x209)]=void 0x0,this[_0xe80bc5(0xf3)]=void 0x0,this['_isStartAdjusting']=!0x1,_0x5c066b['stopPropagation'](),_0x2b762d['enableObjectsEvent']();}),_0x57e857[_0x5b36a2(0x344)]();})));}[_0x1a21ce(0x293)](){const _0x1849eb=_0x1a21ce;let _0x5a7a03=this[_0x1849eb(0x2d5)][_0x1849eb(0x17a)](_0x5cf0ce[_0x1849eb(0x21e)][_0x1849eb(0x3a3)]);this[_0x1849eb(0x4c4)](_0x5a7a03[_0x1849eb(0x472)]((0x0,_0x4cb228[_0x1849eb(0x116)])(_0x498645=>_0x498645?_0x498645['activeSheet$'][_0x1849eb(0x472)]((0x0,_0x4cb228[_0x1849eb(0x116)])(_0x43e22d=>{const _0x211c6e=_0x1849eb;if(!_0x43e22d)return _0x4cb228[_0x211c6e(0x223)];let _0x4e871d=_0x498645[_0x211c6e(0x290)](),_0x2c5be1=this[_0x211c6e(0x411)][_0x211c6e(0x3ce)](_0x4e871d),_0x33b1bf=_0x2c5be1==null?void 0x0:_0x2c5be1[_0x211c6e(0x2d7)];return _0x33b1bf?(0x0,_0x4cb228['of'])(_0x33b1bf):_0x4cb228[_0x211c6e(0x223)];})):_0x4cb228['EMPTY']))[_0x1849eb(0x3e7)](_0x5150f4=>{const _0x3f98c2=_0x1849eb;let _0x320318=_0x5150f4['getTransformerByCreate']();this[_0x3f98c2(0x4c4)](_0x5150f4[_0x3f98c2(0xee)][_0x3f98c2(0x3fc)](()=>{this['_isShouldShowDrawingShapeAdjust'];})),this[_0x3f98c2(0x4c4)](_0x320318[_0x3f98c2(0x3f9)][_0x3f98c2(0x3e7)](_0x89b43=>{const _0x118942=_0x3f98c2;let {objects:_0x449c9c}=_0x89b43;this[_0x118942(0x3d6)](),_0x449c9c!==null&&_0x449c9c[_0x118942(0x32b)]===0x1&&_0x449c9c[_0x118942(0x3da)]()[_0x118942(0x395)]()[_0x118942(0x2f5)]instanceof _0x4d7701&&this['setShouldShowAdjust'](!0x0);})),this[_0x3f98c2(0x4c4)](_0x320318[_0x3f98c2(0x4ab)][_0x3f98c2(0x3e7)](()=>{const _0x2db122=_0x3f98c2;this[_0x2db122(0x1b8)]&&this[_0x2db122(0x38d)]();})),this['disposeWithMe'](_0x5150f4['onPointerUp$'][_0x3f98c2(0x3fc)](()=>{const _0x391f90=_0x3f98c2;this[_0x391f90(0x1b8)]&&(this[_0x391f90(0x2e5)](!0x1),this[_0x391f90(0x3d6)]());})),this[_0x3f98c2(0x4c4)](_0x320318[_0x3f98c2(0x154)][_0x3f98c2(0x3e7)](()=>{const _0x12bd36=_0x3f98c2;this[_0x12bd36(0x29c)]&&this[_0x12bd36(0x251)]&&this[_0x12bd36(0x376)]&&this[_0x12bd36(0x383)][_0x12bd36(0x214)]({'unitId':this[_0x12bd36(0x29c)],'subUnitId':this[_0x12bd36(0x251)],'drawingId':this[_0x12bd36(0x376)]})&&(this[_0x12bd36(0x1ce)]=this[_0x12bd36(0x2b5)](this[_0x12bd36(0x29c)],this[_0x12bd36(0x251)],this['_activeShapeId']),this[_0x12bd36(0x3f4)]());}));}));}[_0x1a21ce(0x447)](){const _0x53b9b5=_0x1a21ce;this[_0x53b9b5(0x4c4)](this[_0x53b9b5(0x378)][_0x53b9b5(0x30f)](_0x11bde0=>{const _0x31ee53=_0x53b9b5;if(_0x11bde0['id']!==_0x34e612[_0x31ee53(0x426)]['id'])return;let {unitId:_0x29cb9f,subUnitId:_0x5c0a4f,shapeId:_0x25412f}=_0x11bde0[_0x31ee53(0x46d)];_0x29cb9f===this[_0x31ee53(0x29c)]&&_0x5c0a4f===this['_subUnitId']&&_0x25412f===this['_activeShapeId']&&this['refreshAdjustControls']();})),this[_0x53b9b5(0x4c4)](this[_0x53b9b5(0x383)][_0x53b9b5(0x28c)][_0x53b9b5(0x3e7)](_0x295f40=>{const _0x3a1cb8=_0x53b9b5;if(_0x295f40[_0x3a1cb8(0x38a)]===0x1){let _0xaddfe9=_0x295f40[0x0];if(_0xaddfe9['drawingType']===_0x5cf0ce['DrawingTypeEnum'][_0x3a1cb8(0x33f)]&&this[_0x3a1cb8(0x2d5)][_0x3a1cb8(0xf2)](_0xaddfe9[_0x3a1cb8(0x197)])===_0x5cf0ce[_0x3a1cb8(0x21e)][_0x3a1cb8(0x3a3)]){this[_0x3a1cb8(0x376)]=_0xaddfe9[_0x3a1cb8(0x1f5)];let {unitId:_0x281f0a,subUnitId:_0x1a5be1}=_0xaddfe9;this[_0x3a1cb8(0x1ce)]=this[_0x3a1cb8(0x2b5)](_0x281f0a,_0x1a5be1,this[_0x3a1cb8(0x376)]),this['_unitId']=_0x281f0a,this[_0x3a1cb8(0x251)]=_0x1a5be1,this[_0x3a1cb8(0x38d)](),this[_0x3a1cb8(0x3d6)]();return;}}this['_activeShapeId']=null,this[_0x3a1cb8(0x1ce)]=void 0x0,this[_0x3a1cb8(0x29c)]=null,this[_0x3a1cb8(0x251)]=null,this[_0x3a1cb8(0x38d)]();})),this[_0x53b9b5(0x4c4)](this[_0x53b9b5(0x383)]['update$'][_0x53b9b5(0x3e7)](_0x13204d=>{const _0x24f762=_0x53b9b5;if(_0x13204d[_0x24f762(0x38a)]===0x1){var _0x50af7d;let _0x34f1d3=_0x13204d[0x0];((_0x50af7d=this[_0x24f762(0x383)][_0x24f762(0x214)](_0x34f1d3))==null?void 0x0:_0x50af7d['drawingType'])===_0x5cf0ce[_0x24f762(0x1c1)][_0x24f762(0x33f)]&&this[_0x24f762(0x36f)](!0x0);}})),this[_0x53b9b5(0x4c4)](this['_drawingManagerService'][_0x53b9b5(0x44c)]['subscribe'](_0x5c3e61=>{const _0x184d9a=_0x53b9b5;for(let _0x2aa5fb of _0x5c3e61)this[_0x184d9a(0x376)]===_0x2aa5fb[_0x184d9a(0x1f5)]&&(this[_0x184d9a(0x376)]=null,this[_0x184d9a(0x1ce)]=void 0x0,this[_0x184d9a(0x29c)]=null,this[_0x184d9a(0x251)]=null,this['_clearShapeAdjustControls']());}));}};_0x5f5333=_0x3f6514([_0x4512b4(0x0,_0x2a2438[_0x1a21ce(0x3e4)]),_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x34e612[_0x1a21ce(0x457)])),_0x4512b4(0x2,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x4413bb[_0x1a21ce(0x399)])),_0x4512b4(0x3,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x251705)),_0x4512b4(0x4,_0x5cf0ce['IUniverInstanceService']),_0x4512b4(0x5,_0x5cf0ce[_0x1a21ce(0x311)])],_0x5f5333);let _0x1bb1ad={'id':_0x1a21ce(0x139),'type':_0x5cf0ce['CommandType']['OPERATION'],'handler':(_0x3e80a7,_0x4b8a3b)=>{const _0x3eb894=_0x1a21ce;let _0x3d778f=_0x3e80a7[_0x3eb894(0x170)](_0x2a2438[_0x3eb894(0x3e4)]),_0x15c8a8=_0x3e80a7[_0x3eb894(0x170)](_0x4413bb[_0x3eb894(0x399)]),_0x35a031=_0x3e80a7[_0x3eb894(0x170)](_0x5f5333);if(_0x4b8a3b==null)return!0x0;if(_0x4b8a3b['length']>0x0){var _0x50b0d6;let _0x2143b1=(_0x50b0d6=_0x15c8a8[_0x3eb894(0x3ce)](_0x4b8a3b[0x0][_0x3eb894(0x197)]))==null?void 0x0:_0x50b0d6['scene'];if(_0x2143b1){let {unitId:_0x155933,subUnitId:_0x27322c,drawingId:_0x5a9f6a}=_0x4b8a3b[0x0],_0x233d3e=(0x0,_0x2a2438[_0x3eb894(0x414)])({'unitId':_0x155933,'subUnitId':_0x27322c,'drawingId':_0x5a9f6a},void 0x0),_0x5d038e=_0x2143b1[_0x3eb894(0x26e)](_0x233d3e);if(_0x5d038e){var _0x51c8d9;(_0x51c8d9=_0x15c8a8[_0x3eb894(0x3ce)](_0x4b8a3b[0x0][_0x3eb894(0x197)]))==null||(_0x51c8d9=_0x51c8d9[_0x3eb894(0x2d7)]['getTransformer']())==null||_0x51c8d9[_0x3eb894(0x277)](_0x5d038e);}}_0x3d778f[_0x3eb894(0x149)](_0x4b8a3b),_0x35a031[_0x3eb894(0x2e5)](!0x1);}return!0x0;}},_0x224af7={'type':_0x5cf0ce['CommandType'][_0x1a21ce(0x224)],'id':_0x1a21ce(0x12a),'handler':async(_0x2d2bee,_0x17b799)=>{const _0x5b0e6d=_0x1a21ce;let _0x52dc85=(0x0,_0xdab3fa[_0x5b0e6d(0x12f)])(_0x2d2bee['get'](_0x5cf0ce[_0x5b0e6d(0x1d2)]));if(!_0x52dc85)return!0x1;let _0x3a24e3=_0x2d2bee['get'](_0xdab3fa[_0x5b0e6d(0x230)])[_0x5b0e6d(0x182)]();if(!_0x3a24e3)return!0x1;let _0x407c6f=_0x2d2bee[_0x5b0e6d(0x170)](_0x5cf0ce[_0x5b0e6d(0x311)]),{unitId:_0x189d50,subUnitId:_0x258bb0}=_0x52dc85,{value:_0x335838,enhanceParams:_0x29eecd}=_0x17b799,{range:_0x57b67c}=_0x3a24e3,_0x2f82e2={'unitId':_0x189d50,'subUnitId':_0x258bb0,'shapeType':_0x335838,'range':_0x57b67c,'shapeId':(0x0,_0x5cf0ce[_0x5b0e6d(0x1a3)])()};if(_0x29eecd){let _0x522425=(0x0,_0x24d21b[_0x5b0e6d(0x373)])(_0x335838),_0x6c2c73=_0x335838===_0x24d21b[_0x5b0e6d(0x4a6)][_0x5b0e6d(0x34e)];_0x522425&&(_0x29eecd[_0x5b0e6d(0x288)]||_0x29eecd[_0x5b0e6d(0x1c5)])&&(_0x2f82e2['shapeData']={'ln':{'startArrow':_0x29eecd[_0x5b0e6d(0x288)]?{'type':_0x24d21b['ShapeArrowTypeEnum'][_0x5b0e6d(0x259)],'size':_0x24d21b[_0x5b0e6d(0x313)][_0x5b0e6d(0x3a5)]}:void 0x0,'endArrow':_0x29eecd[_0x5b0e6d(0x1c5)]?{'type':_0x24d21b['ShapeArrowTypeEnum'][_0x5b0e6d(0x259)],'size':_0x24d21b[_0x5b0e6d(0x313)]['Large']}:void 0x0}}),_0x6c2c73&&(_0x29eecd['horizontal']||_0x29eecd['vertical'])&&(_0x2f82e2[_0x5b0e6d(0x476)]=(0x0,_0x1b3552[_0x5b0e6d(0x486)])({'fill':{'fillType':_0x24d21b[_0x5b0e6d(0x4b4)][_0x5b0e6d(0x1ff)],'color':_0x5b0e6d(0x2e1)},'isHorizontal':!!_0x29eecd['horizontal'],'stroke':{'lineStrokeType':_0x24d21b[_0x5b0e6d(0x2ec)][_0x5b0e6d(0x2c4)],'width':0x1,'color':_0x5b0e6d(0x480)}}));}let _0x82604e=_0x407c6f['syncExecuteCommand'](_0x34e612['InsertShapeCommand']['id'],_0x2f82e2);return setTimeout(()=>{const _0xa36e8b=_0x5b0e6d;_0x407c6f['executeCommand'](_0x1bb1ad['id'],[{'unitId':_0x189d50,'subUnitId':_0x258bb0,'drawingId':_0x2f82e2[_0xa36e8b(0x1b1)]}]);},0xc8),_0x82604e;}},_0x454d12=_0x1a21ce(0x43e),_0x56bb7a=_0x1a21ce(0x13f),_0x1931aa=_0x1a21ce(0x226),_0x1e91c2='sheets-shape-ui.ribbon.shape-format',_0x4a60e9=(0x0,_0x5cf0ce[_0x1a21ce(0x1bd)])(_0x1a21ce(0xeb)),_0x4da57b=_0x1a21ce(0x184),_0x106220={'id':_0x1a21ce(0x248),'type':_0x5cf0ce[_0x1a21ce(0x244)][_0x1a21ce(0x224)],'handler':(_0x22ca96,_0x38e73b)=>{const _0x3f7b47=_0x1a21ce;let _0x19cdd4=_0x22ca96[_0x3f7b47(0x170)](_0x416351[_0x3f7b47(0x3bb)]),_0x3cae57=_0x22ca96[_0x3f7b47(0x170)](_0x5cf0ce[_0x3f7b47(0x4ac)]),_0x4493af=_0x22ca96[_0x3f7b47(0x170)](_0x5cf0ce[_0x3f7b47(0x1d2)]),_0x2a9f8c=_0x22ca96[_0x3f7b47(0x170)](_0x5cf0ce[_0x3f7b47(0x311)]);return(0x0,_0xdab3fa['getSheetCommandTarget'])(_0x4493af)?(_0x38e73b==null?void 0x0:_0x38e73b[_0x3f7b47(0x2f5)])===_0x3f7b47(0x1b2)?(_0x19cdd4[_0x3f7b47(0x1b2)](_0x56bb7a),!0x0):(_0x19cdd4[_0x3f7b47(0x31d)]({'id':_0x56bb7a,'header':{'title':_0x3cae57['t'](_0x3f7b47(0x482))},'children':{'label':_0x56bb7a},'onClose':()=>{const _0x1fb8dc=_0x3f7b47;_0x2a9f8c[_0x1fb8dc(0x25e)](_0x2a2438[_0x1fb8dc(0x2db)]['id'],[]);},'width':0x168}),!0x0):!0x1;}},_0x212f1d={'type':_0x5cf0ce[_0x1a21ce(0x244)]['OPERATION'],'id':_0x1a21ce(0x25d),'handler'(){return!0x0;}};function _0x231ff5(_0x4c4ff9){const _0x305e49=_0x1a21ce;let _0xf564be=_0x4c4ff9['get'](_0x2a2438[_0x305e49(0x3e4)])[_0x305e49(0x314)](),_0x79aff6=_0xf564be[_0x305e49(0x38a)]===0x1?_0xf564be[0x0]:null;if(!_0x79aff6||_0x79aff6['drawingType']!==_0x5cf0ce[_0x305e49(0x1c1)]['DRAWING_SHAPE'])return null;let _0x1292d7=_0x4c4ff9[_0x305e49(0x170)](_0x34e612[_0x305e49(0x457)]),_0x5159fd=_0x1292d7[_0x305e49(0x396)](_0x79aff6[_0x305e49(0x197)],_0x79aff6['subUnitId'],_0x79aff6['drawingId']),_0x2a5a06=_0x1292d7['getShapeDataById'](_0x79aff6['unitId'],_0x79aff6[_0x305e49(0x4b3)],_0x79aff6['drawingId']);return _0x5159fd===void 0x0||!_0x2a5a06?null:{'drawing':_0x79aff6,'shapeData':_0x2a5a06,'shapeType':_0x5159fd};}let _0x325d8a={'id':_0x1a21ce(0x440),'type':_0x5cf0ce['CommandType'][_0x1a21ce(0x173)],'handler':(_0x1cdd68,_0x50b7b1)=>{const _0x4df69e=_0x1a21ce;let _0x107e52=_0x231ff5(_0x1cdd68),_0x57d9fa=(0x0,_0x1b3552[_0x4df69e(0x394)])((_0x50b7b1==null?void 0x0:_0x50b7b1[_0x4df69e(0x1f8)])??(_0x50b7b1==null?void 0x0:_0x50b7b1['value'])??'');if(!_0x107e52||!_0x57d9fa||_0x57d9fa['type']!==(0x0,_0x1b3552[_0x4df69e(0x468)])(_0x107e52[_0x4df69e(0x476)]))return!0x1;let _0x156d69=(0x0,_0x1b3552['applyQuickStyleToShapeData'])(_0x107e52[_0x4df69e(0x476)],_0x57d9fa);if(!_0x156d69)return!0x1;let {drawing:_0x136ffb}=_0x107e52;return _0x1cdd68[_0x4df69e(0x170)](_0x5cf0ce[_0x4df69e(0x311)])[_0x4df69e(0x2af)](_0x25f5b2['id'],{'unitId':_0x136ffb[_0x4df69e(0x197)],'subUnitId':_0x136ffb[_0x4df69e(0x4b3)],'shapeId':_0x136ffb[_0x4df69e(0x1f5)],'shapeData':_0x156d69,'oldShapeJSON':{'oldShapeData':_0x107e52[_0x4df69e(0x476)]}});}},_0x684ce2={'id':_0x1a21ce(0xf1),'type':_0x5cf0ce[_0x1a21ce(0x244)]['OPERATION'],'handler':(_0x25cc59,_0x3fff0c)=>{const _0x432251=_0x1a21ce;let _0x2c71c5=_0x231ff5(_0x25cc59),_0x1452cd=(_0x3fff0c==null?void 0x0:_0x3fff0c[_0x432251(0xde)])??(_0x3fff0c==null?void 0x0:_0x3fff0c['value']);if(!_0x2c71c5||!_0x1452cd||(0x0,_0x24d21b[_0x432251(0x373)])(_0x2c71c5[_0x432251(0xde)])||(0x0,_0x24d21b[_0x432251(0x373)])(_0x1452cd))return!0x1;let _0x26b3d4=(0x0,_0x1b3552[_0x432251(0x24e)])(_0x2c71c5[_0x432251(0x476)],_0x1452cd);if(!_0x26b3d4)return!0x1;let {drawing:_0x2079f5}=_0x2c71c5;return _0x25cc59[_0x432251(0x170)](_0x5cf0ce[_0x432251(0x311)])[_0x432251(0x2af)](_0x25f5b2['id'],{'unitId':_0x2079f5[_0x432251(0x197)],'subUnitId':_0x2079f5[_0x432251(0x4b3)],'shapeId':_0x2079f5['drawingId'],'shapeType':_0x1452cd,'shapeData':_0x26b3d4,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x2c71c5[_0x432251(0xde)],'oldShapeData':_0x2c71c5[_0x432251(0x476)]}});}},_0x133380=class extends _0x5cf0ce['Disposable']{constructor(_0x4ef60d,_0x330498){const _0x23bbd6=_0x1a21ce;super(),this[_0x23bbd6(0x122)]=_0x4ef60d,this[_0x23bbd6(0x383)]=_0x330498,this[_0x23bbd6(0x3d1)](),this['_clipService'][_0x23bbd6(0x367)](!0x0),this[_0x23bbd6(0x4c4)]({'dispose':()=>this[_0x23bbd6(0x122)]['setCanUseShapeClip'](!0x1)});}['_registerImageShapeClipDelegate'](){const _0x40c5f0=_0x1a21ce;let _0x5c5a2b=this['_clipService'],_0x38328e=new Map(),_0x545c63=_0x5c5a2b[_0x40c5f0(0x205)]((_0xccdd2c,_0x17cd90,_0x82ae83,_0x4a4cbe,_0x89c359)=>{const _0x15c5a3=_0x40c5f0;let _0x2c805b=_0x17cd90;if(_0x2c805b===_0x24d21b[_0x15c5a3(0x4a6)][_0x15c5a3(0x31c)]||_0x17cd90===_0x15c5a3(0x1d0))return!0x1;try{let _0x71c6b1=_0x38328e[_0x15c5a3(0x170)](_0x17cd90);return _0x71c6b1||(_0x71c6b1=new _0x24d21b['ShapeModel'](_0x2c805b,_0x15c5a3(0x1e3)+_0x17cd90),_0x38328e[_0x15c5a3(0x153)](_0x17cd90,_0x71c6b1)),_0x71c6b1[_0x15c5a3(0x1b7)](),_0x89c359&&Object[_0x15c5a3(0x353)](_0x89c359)[_0x15c5a3(0x38a)]>0x0&&_0x71c6b1['setShapeData']({'adjustValues':_0x89c359},!0x0),_0x71c6b1[_0x15c5a3(0x433)]({'width':_0x82ae83,'height':_0x4a4cbe}),_0x71c6b1[_0x15c5a3(0x16a)](_0xccdd2c,{'left':0x0,'top':0x0,'width':_0x82ae83,'height':_0x4a4cbe});}catch{return!0x1;}});this['disposeWithMe'](_0x545c63),this[_0x40c5f0(0x4c4)]({'dispose':()=>_0x38328e[_0x40c5f0(0x2c6)]()});}['clipByShape'](_0x483c64,_0x3deffb,_0x4607b1,_0x5abb16,_0x5692ae){const _0x24a414=_0x1a21ce;let _0x4797b7=this['_drawingManagerService'][_0x24a414(0x385)](_0x483c64,_0x3deffb);if(!_0x4797b7[_0x4607b1])return;let _0x1471d2={..._0x4797b7[_0x4607b1],'prstGeom':_0x5abb16,'adjustValues':_0x5692ae};this[_0x24a414(0x383)][_0x24a414(0x18a)]([_0x1471d2]);}};_0x133380=_0x3f6514([_0x4512b4(0x0,(0x0,_0x5cf0ce['Inject'])(_0x11fb86['DrawingImageClipService'])),_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x2a2438[_0x1a21ce(0x3e4)]))],_0x133380);let _0x116576=_0x1a21ce(0xec),_0x4a940a='sheet.image-clip.shape-picker.component';function _0x375678({onShapeClick:_0x5634c3,excludeGroups:_0x32d075}){const _0x28c27b=_0x1a21ce;return(0x0,_0x53553e[_0x28c27b(0x404)])(_0x3ed8c6['ShapePickerPanel'],{'excludeGroups':_0x32d075,'onShapeClick':_0x5634c3,'scrollContainer':_0x28c27b(0x2ac)});}function _0x4dc294(){const _0x4572df=_0x1a21ce;let _0xc4ff14=(0x0,_0x416351[_0x4572df(0x20b)])(_0x2a2438[_0x4572df(0x3e4)]),_0x5221e9=(0x0,_0x416351['useDependency'])(_0x133380);return(0x0,_0x53553e[_0x4572df(0x404)])(_0x3ed8c6[_0x4572df(0x456)],{'buttonLabel':_0x4572df(0x474),'excludeGroups':[_0x3ed8c6['ShapeGroupEnum']['Line']],'onShapeClick':_0x173d13=>{const _0x4bf23f=_0x4572df;let _0x42f3c9=_0xc4ff14[_0x4bf23f(0x314)]()[_0x4bf23f(0x169)](_0x5b4d05=>_0x5b4d05[_0x4bf23f(0x497)]===_0x5cf0ce[_0x4bf23f(0x1c1)][_0x4bf23f(0x236)]);if(!_0x42f3c9)return;let {unitId:_0x2d9998,subUnitId:_0x92d000,drawingId:_0x51d173}=_0x42f3c9;_0x5221e9[_0x4bf23f(0x215)](_0x2d9998,_0x92d000,_0x51d173,_0x173d13[_0x4bf23f(0x3cb)]);}});}function _0x1d34b4(){const _0x40eb7f=_0x1a21ce;let _0x485dc4=(0x0,_0x416351[_0x40eb7f(0x20b)])(_0x2a2438['IDrawingManagerService']),_0x596281=(0x0,_0x416351[_0x40eb7f(0x20b)])(_0x133380);return(0x0,_0x53553e[_0x40eb7f(0x404)])(_0x3ed8c6['ShapePickerDropdown'],{'buttonLabel':_0x40eb7f(0x474),'excludeGroups':[_0x3ed8c6[_0x40eb7f(0x125)][_0x40eb7f(0x35a)]],'DropdownComponent':_0x3da0dc[_0x40eb7f(0x2d1)],'onShapeClick':_0x173633=>{const _0x478f43=_0x40eb7f;let _0x413046=_0x485dc4['getFocusDrawings']()[_0x478f43(0x169)](_0x11c085=>_0x11c085[_0x478f43(0x497)]===_0x5cf0ce[_0x478f43(0x1c1)][_0x478f43(0x236)]);if(!_0x413046)return;let {unitId:_0x3de7c8,subUnitId:_0x3c2154,drawingId:_0xb85c06}=_0x413046;_0x596281['clipByShape'](_0x3de7c8,_0x3c2154,_0xb85c06,_0x173633[_0x478f43(0x3cb)]);}});}function _0x5d1131(){const _0x580e59=_0x1a21ce;let _0x363da5=(0x0,_0x416351[_0x580e59(0x20b)])(_0x416351[_0x580e59(0x273)]),_0x54e5e5=(0x0,_0x416351[_0x580e59(0x20b)])(_0x2a2438[_0x580e59(0x3e4)]),_0x4087af=(0x0,_0x416351[_0x580e59(0x20b)])(_0x5cf0ce[_0x580e59(0x1d2)]),_0x4121b4=_0x54e5e5[_0x580e59(0x314)]()[0x0],_0x232344=_0x4121b4?_0x4087af[_0x580e59(0xf2)](_0x4121b4[_0x580e59(0x197)]):void 0x0,_0x12ad55=_0x232344===_0x5cf0ce[_0x580e59(0x21e)][_0x580e59(0x32e)]?_0x580e59(0x28b):_0x232344===_0x5cf0ce[_0x580e59(0x21e)][_0x580e59(0x3a3)]?_0x4a940a:void 0x0,_0x20d999=_0x12ad55?_0x363da5[_0x580e59(0x170)](_0x12ad55):void 0x0;return _0x20d999?(0x0,_0x53553e[_0x580e59(0x404)])(_0x20d999,{}):null;}function _0x52aff6(){const _0x247dee=_0x1a21ce;let _0x43da9f=(0x0,_0x416351[_0x247dee(0x20b)])(_0x5cf0ce[_0x247dee(0x311)]);return(0x0,_0x53553e[_0x247dee(0x404)])(_0x375678,{'onShapeClick':_0x1ab45=>{const _0x4bc01a=_0x247dee;_0x43da9f['executeCommand'](_0x224af7['id'],{'value':_0x1ab45[_0x4bc01a(0x3cb)],'enhanceParams':{'endArrow':_0x1ab45['endArrow'],'startArrow':_0x1ab45[_0x4bc01a(0x288)],'horizontal':_0x1ab45[_0x4bc01a(0x10c)],'vertical':_0x1ab45[_0x4bc01a(0x45d)]}});}});}function _0x15bbb6(){const _0x5edd35=_0x1a21ce;return(0x0,_0x53553e[_0x5edd35(0x404)])(_0x52aff6,{});}function _0x2b3cc1(_0x4de023){const _0x980395=_0x1a21ce;let _0x2d44a7=_0x4de023[_0x980395(0x170)](_0x5cf0ce[_0x980395(0x1d2)]);return{'id':_0x224af7['id'],'type':_0x416351[_0x980395(0x2cc)][_0x980395(0xfe)],'selections':[{'label':{'name':_0x116576,'hoverable':!0x1,'selectable':!0x1,'props':{'id':_0x224af7['id']}}}],'icon':_0x980395(0x410),'tooltip':_0x980395(0xdb),'activated$':(0x0,_0x3e532c[_0x980395(0x29a)])(_0x2d44a7,!0x1,()=>new _0x4cb228[(_0x980395(0x3a0))](_0x4f9c90=>{const _0x248866=_0x980395;_0x4f9c90[_0x248866(0x395)](!0x1);})),'hidden$':(0x0,_0x416351[_0x980395(0x43c)])(_0x4de023,_0x5cf0ce[_0x980395(0x21e)][_0x980395(0x3a3)]),'disabled$':(0x0,_0x3e532c['getCurrentRangeDisable$'])(_0x4de023)};}function _0xff80a(_0x287435){const _0x2358e8=_0x1a21ce;let _0x40308c=_0x287435['get'](_0x5cf0ce[_0x2358e8(0x1d2)]);return{'id':_0x106220['id'],'type':_0x416351['MenuItemType'][_0x2358e8(0x2dd)],'icon':_0x2358e8(0x302),'title':_0x2358e8(0x34f),'tooltip':_0x2358e8(0x34f),'activated$':(0x0,_0x3e532c[_0x2358e8(0x29a)])(_0x40308c,!0x1,()=>new _0x4cb228['Observable'](_0xe56569=>{const _0x360c1e=_0x2358e8;_0xe56569[_0x360c1e(0x395)](!0x1);})),'hidden$':(0x0,_0x416351['getMenuHiddenObservable'])(_0x287435,_0x5cf0ce[_0x2358e8(0x21e)]['UNIVER_SHEET']),'disabled$':(0x0,_0x3e532c[_0x2358e8(0x330)])(_0x287435)};}let _0x1eed22=_0x1a21ce(0x485),_0x2d888b=_0x1a21ce(0x3a6);function _0x649d72(_0x45c1ce){const _0x2cbfbe=_0x1a21ce;let _0xd9fbdb=_0x45c1ce[_0x2cbfbe(0x170)](_0x2a2438['IDrawingManagerService'])['getFocusDrawings']();return _0xd9fbdb['length']===0x1&&_0xd9fbdb[0x0]['drawingType']===_0x5cf0ce[_0x2cbfbe(0x1c1)][_0x2cbfbe(0x33f)]?_0xd9fbdb[0x0]:null;}function _0x3fc561(_0x4d5bd5){const _0x2a24dd=_0x1a21ce;let _0x1ae822=_0x4d5bd5['get'](_0x2a2438['IDrawingManagerService']);return _0x1ae822['focus$'][_0x2a24dd(0x472)]((0x0,_0x4cb228[_0x2a24dd(0x40b)])(_0x1ae822['getFocusDrawings']()),(0x0,_0x4cb228[_0x2a24dd(0x41e)])(_0x562436=>_0x562436[_0x2a24dd(0x38a)]!==0x1||_0x562436[0x0][_0x2a24dd(0x497)]!==_0x5cf0ce[_0x2a24dd(0x1c1)][_0x2a24dd(0x33f)]));}function _0x230a4e(_0x1cb0c0){const _0x179761=_0x1a21ce;return{'id':_0x1eed22,'commandId':_0x34e612[_0x179761(0x47d)]['id'],'type':_0x416351[_0x179761(0x2cc)][_0x179761(0x2dd)],'title':_0x179761(0x375),'tooltip':'sheets-shape-ui.flipHorizontal','icon':_0x179761(0x346),'hidden$':_0x3fc561(_0x1cb0c0),'params':()=>{const _0x14b5d4=_0x179761;let _0x920775=_0x649d72(_0x1cb0c0);return _0x920775?{'unitId':_0x920775[_0x14b5d4(0x197)],'subUnitId':_0x920775[_0x14b5d4(0x4b3)],'shapeId':_0x920775['drawingId'],'flipH':!0x0}:void 0x0;}};}function _0x41d2f5(_0x1c76b9){const _0x25e4af=_0x1a21ce;return{'id':_0x2d888b,'commandId':_0x34e612[_0x25e4af(0x47d)]['id'],'type':_0x416351['MenuItemType']['BUTTON'],'title':_0x25e4af(0x11c),'tooltip':_0x25e4af(0x11c),'icon':'FlipVerticalIcon','hidden$':_0x3fc561(_0x1c76b9),'params':()=>{const _0x14d480=_0x25e4af;let _0x37b117=_0x649d72(_0x1c76b9);return _0x37b117?{'unitId':_0x37b117[_0x14d480(0x197)],'subUnitId':_0x37b117['subUnitId'],'shapeId':_0x37b117[_0x14d480(0x1f5)],'flipV':!0x0}:void 0x0;}};}let _0x55b4e5='sheets-shape-ui.shape-format.quick-style-gallery',_0x47e237='sheets-shape-ui.shape-format.style-ribbon-control',_0x330cdf=_0x1a21ce(0x124),_0x501bd1=_0x1a21ce(0x3e5);function _0xa6432c(){const _0x248cbe=_0x1a21ce;let _0x32d632=(0x0,_0x416351[_0x248cbe(0x20b)])(_0x5cf0ce[_0x248cbe(0x311)]),_0x5e9a96=(0x0,_0x416351[_0x248cbe(0x20b)])(_0x2a2438['IDrawingManagerService']),_0x4834bd=(0x0,_0x416351[_0x248cbe(0x20b)])(_0x34e612[_0x248cbe(0x457)]),_0x5086b9=()=>{const _0xf00084=_0x248cbe;var _0x59c0cd;let _0x200585=_0x5e9a96[_0xf00084(0x314)]();if(_0x200585['length']!==0x1||((_0x59c0cd=_0x200585[0x0])==null?void 0x0:_0x59c0cd[_0xf00084(0x497)])!==_0x5cf0ce[_0xf00084(0x1c1)]['DRAWING_SHAPE'])return null;let {unitId:_0x42961c,subUnitId:_0x34670d,drawingId:_0x247957}=_0x200585[0x0],_0x2a2cd8=_0x4834bd['getShapeTypeById'](_0x42961c,_0x34670d,_0x247957),_0x2a7fad=_0x4834bd[_0xf00084(0x23d)](_0x42961c,_0x34670d,_0x247957);return _0x2a2cd8===void 0x0||!_0x2a7fad?null:{'unitId':_0x42961c,'subUnitId':_0x34670d,'drawingId':_0x247957,'shapeType':_0x2a2cd8,'shapeData':_0x2a7fad};},_0x57f849=(0x0,_0x416351[_0x248cbe(0x3b4)])(()=>new _0x4cb228['Observable'](_0x75ae5=>{const _0x34d264=_0x248cbe;let _0x35d19b=()=>_0x75ae5[_0x34d264(0x395)](_0x5086b9()),_0x293468=_0x5e9a96[_0x34d264(0x28c)][_0x34d264(0x3e7)](_0x35d19b),_0x4fc322=_0x32d632[_0x34d264(0x30f)](_0x3840f7=>{const _0x58fe6b=_0x34d264;_0x3840f7['id']===_0x34e612[_0x58fe6b(0x426)]['id']&&_0x35d19b();});return _0x35d19b(),()=>{const _0x2cf570=_0x34d264;_0x293468[_0x2cf570(0x15a)](),_0x4fc322[_0x2cf570(0x351)]();};}),_0x5086b9(),!0x1,[_0x32d632,_0x5e9a96,_0x4834bd]);return{'selection':_0x57f849,'updateShapeData':_0x3d2c72=>{const _0x226496=_0x248cbe;_0x57f849&&_0x12c3ae(_0x32d632,_0x57f849[_0x226496(0x197)],_0x57f849['subUnitId'],_0x57f849['drawingId'],{'oldShapeData':_0x57f849[_0x226496(0x476)]},_0x3d2c72);}};}function _0xf36676(){const _0x19b19e=_0x1a21ce;let {selection:_0x9c4b18,updateShapeData:_0x35b4d2}=_0xa6432c();return _0x9c4b18?(0x0,_0x53553e['jsx'])(_0x3ed8c6[_0x19b19e(0x28a)],{'shapeData':_0x9c4b18[_0x19b19e(0x476)],'shapeType':_0x9c4b18[_0x19b19e(0xde)],'onUpdateShapeData':_0x35b4d2}):null;}function _0x1c6931(){const _0x4c9172=_0x1a21ce;let _0x1fdfc2=(0x0,_0x416351[_0x4c9172(0x20b)])(_0x5cf0ce[_0x4c9172(0x311)]),_0xa43e17=(0x0,_0x416351[_0x4c9172(0x20b)])(_0x5cf0ce[_0x4c9172(0x4ac)]),{selection:_0x44cac1}=_0xa6432c();return _0x44cac1?(0x0,_0x53553e[_0x4c9172(0x404)])(_0x3ed8c6[_0x4c9172(0x44f)],{'type':(0x0,_0x1b3552[_0x4c9172(0x468)])(_0x44cac1['shapeData']),'ariaLabel':_0xa43e17['t']('sheets-shape-ui.quickStyles'),'activePresetId':(0x0,_0x1b3552[_0x4c9172(0x2ce)])(_0x44cac1['shapeData']),'onSelect':_0x3b456c=>_0x1fdfc2['executeCommand'](_0x325d8a['id'],{'presetId':_0x3b456c})}):null;}function _0x44850f(){const _0x3c20fd=_0x1a21ce;let {selection:_0x534ccb,updateShapeData:_0x2b8a8b}=_0xa6432c();return _0x534ccb?(0x0,_0x53553e[_0x3c20fd(0x404)])(_0x3ed8c6['ShapeTextRibbonControl'],{'fontFamilyPopupDataComponent':'sheets-shape-format-font-family-menu','shapeData':_0x534ccb[_0x3c20fd(0x476)],'onUpdateShapeData':_0x2b8a8b}):null;}function _0x2df28d(){const _0x3dbc8c=_0x1a21ce;var _0x5d0b32;let {selection:_0x10614e,updateShapeData:_0x55e1d0}=_0xa6432c(),_0x5b37e8=(0x0,_0x3ed8c6[_0x3dbc8c(0x390)])({'hostType':_0x5cf0ce[_0x3dbc8c(0x21e)][_0x3dbc8c(0x3a3)],'unitId':(_0x10614e==null?void 0x0:_0x10614e[_0x3dbc8c(0x197)])??'','subUnitId':(_0x10614e==null?void 0x0:_0x10614e['subUnitId'])??'','shapeId':(_0x10614e==null?void 0x0:_0x10614e[_0x3dbc8c(0x1f5)])??'','shapeData':_0x10614e==null?void 0x0:_0x10614e[_0x3dbc8c(0x476)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x3dbc8c(0x2e8),'onUpdateBinding':_0x163a2c=>_0x55e1d0({'formulaBinding':_0x163a2c})}),_0x50f7e4=((_0x5d0b32=_0x5b37e8[_0x3dbc8c(0x26f)])==null?void 0x0:_0x5d0b32[_0x3dbc8c(0x466)](_0x246540=>_0x246540[_0x3dbc8c(0x3b5)])[_0x3dbc8c(0x431)](_0x4721c2=>_0x4721c2[_0x3dbc8c(0x241)]!==!0x1))??[];return _0x10614e!=null&&_0x10614e[_0x3dbc8c(0x476)][_0x3dbc8c(0x126)]?(0x0,_0x53553e[_0x3dbc8c(0x404)])(_0x3ed8c6[_0x3dbc8c(0x359)],{'actions':_0x50f7e4,'panel':_0x5b37e8[_0x3dbc8c(0x400)]}):null;}let _0x65c245=_0x1a21ce(0x2e0),_0x248b70=_0x1a21ce(0xfb),_0x35fdb4=_0x1a21ce(0x3ba),_0x2b0269=_0x1a21ce(0x228),_0x1287cd=_0x1a21ce(0x1e8),_0x12d37b=_0x1a21ce(0x407),_0x2df8c3='sheets-shape-ui.ribbon.shape-format.arrange-back';function _0x37b592(_0x352f23){const _0x1558bf=_0x1a21ce;let _0x4e6adb=_0x352f23[_0x1558bf(0x170)](_0x5cf0ce[_0x1558bf(0x311)]),_0x3a72d5=_0x352f23[_0x1558bf(0x170)](_0x2a2438[_0x1558bf(0x3e4)]),_0x317e94=_0x352f23[_0x1558bf(0x170)](_0x34e612[_0x1558bf(0x457)]);return new _0x4cb228[(_0x1558bf(0x3a0))](_0x23e065=>{const _0x5c761e=_0x1558bf;let _0x494fe6=()=>{const _0x4c7c75=_0x1cfe;let _0x3ce206=_0x25bfbb(_0x352f23),_0x2bff00=_0x3ce206?_0x317e94[_0x4c7c75(0x23d)](_0x3ce206[_0x4c7c75(0x197)],_0x3ce206[_0x4c7c75(0x4b3)],_0x3ce206[_0x4c7c75(0x1f5)]):null;_0x23e065[_0x4c7c75(0x395)](_0x2bff00?(0x0,_0x1b3552[_0x4c7c75(0x2ce)])(_0x2bff00)??'':'');},_0x3d45cd=_0x3a72d5[_0x5c761e(0x28c)][_0x5c761e(0x3e7)](_0x494fe6),_0xae6881=_0x4e6adb[_0x5c761e(0x30f)](_0xfbad6=>{_0xfbad6['id']===_0x34e612['UpdateSheetsShapeDataMutation']['id']&&_0x494fe6();});return _0x494fe6(),()=>{const _0xf80a15=_0x5c761e;_0x3d45cd[_0xf80a15(0x15a)](),_0xae6881[_0xf80a15(0x351)]();};});}function _0x25bfbb(_0x2f6a7b){const _0x32c8d9=_0x1a21ce;var _0x34d9f4;let _0x767696=_0x2f6a7b[_0x32c8d9(0x170)](_0x2a2438[_0x32c8d9(0x3e4)])['getFocusDrawings']();return _0x767696[_0x32c8d9(0x38a)]===0x1&&((_0x34d9f4=_0x767696[0x0])==null?void 0x0:_0x34d9f4[_0x32c8d9(0x497)])===_0x5cf0ce['DrawingTypeEnum']['DRAWING_SHAPE']?_0x767696[0x0]:null;}function _0xc3b9e4(_0x321f30,_0x32a8ab=!0x1){const _0xaaffb9=_0x1a21ce;let _0x118672=_0x321f30[_0xaaffb9(0x170)](_0x5cf0ce[_0xaaffb9(0x311)]),_0x242763=_0x321f30['get'](_0x2a2438['IDrawingManagerService']),_0x21e39f=_0x321f30['get'](_0x34e612[_0xaaffb9(0x457)]);return new _0x4cb228[(_0xaaffb9(0x3a0))](_0x3991e6=>{const _0x4ededb=_0xaaffb9;let _0x18b109=()=>{const _0x48aea5=_0x1cfe;let _0x5c5d35=_0x25bfbb(_0x321f30);if(!_0x5c5d35){_0x3991e6[_0x48aea5(0x395)](!0x0);return;}let _0x565134=_0x21e39f[_0x48aea5(0x23d)](_0x5c5d35['unitId'],_0x5c5d35['subUnitId'],_0x5c5d35['drawingId']);_0x3991e6[_0x48aea5(0x395)](!_0x565134||_0x32a8ab&&_0x565134[_0x48aea5(0x126)]==null);},_0x7d9f3a=_0x242763[_0x4ededb(0x28c)][_0x4ededb(0x3e7)](_0x18b109),_0x37d4df=_0x118672[_0x4ededb(0x30f)](_0xc2a593=>{const _0x82962f=_0x4ededb;_0xc2a593['id']===_0x34e612[_0x82962f(0x426)]['id']&&_0x18b109();});return _0x18b109(),()=>{const _0x3c6e76=_0x4ededb;_0x7d9f3a['unsubscribe'](),_0x37d4df[_0x3c6e76(0x351)]();};});}function _0x1c27de(_0x18bb4a){const _0x43dac8=_0x1a21ce;let _0x1a18b7=_0x18bb4a[_0x43dac8(0x170)](_0x2a2438[_0x43dac8(0x3e4)]),_0x567a7f=_0x18bb4a['get'](_0x34e612[_0x43dac8(0x457)]);return _0x1a18b7[_0x43dac8(0x28c)][_0x43dac8(0x472)]((0x0,_0x4cb228['startWith'])(_0x1a18b7[_0x43dac8(0x314)]()),(0x0,_0x4cb228[_0x43dac8(0x41e)])(()=>{const _0x2f5386=_0x43dac8;let _0x2bce69=_0x25bfbb(_0x18bb4a),_0x5b351b=_0x2bce69?_0x567a7f['getShapeTypeById'](_0x2bce69[_0x2f5386(0x197)],_0x2bce69['subUnitId'],_0x2bce69[_0x2f5386(0x1f5)]):void 0x0;return _0x5b351b===void 0x0||(0x0,_0x24d21b['isConnectorShape'])(_0x5b351b);}));}function _0x3134e2(_0x26a88c){const _0x359721=_0x1a21ce;return{'id':_0x325d8a['id'],'type':_0x416351[_0x359721(0x2cc)][_0x359721(0xfe)],'icon':_0x359721(0x1e2),'title':_0x359721(0x160),'tooltip':_0x359721(0x160),'selections':[{'label':{'name':_0x55b4e5,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x37b592(_0x26a88c),'hidden$':_0xc3b9e4(_0x26a88c)};}function _0x59530b(_0x37c257){const _0x288634=_0x1a21ce;return{'id':_0x684ce2['id'],'type':_0x416351[_0x288634(0x2cc)][_0x288634(0xfe)],'icon':_0x288634(0x410),'title':_0x288634(0x35f),'tooltip':'shape-editor-ui.toolbar.changeShape','slot':!0x0,'selections':[{'label':{'name':_0x3ed8c6[_0x288634(0x10e)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x1c27de(_0x37c257)};}function _0x13d223(_0x57f711,_0x2c4f17,_0x3134f0=!0x1){const _0x4e6c5d=_0x1a21ce;return _0x34d255=>({'id':_0x57f711,'type':_0x416351[_0x4e6c5d(0x2cc)]['BUTTON'],'label':{'name':_0x2c4f17,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0xc3b9e4(_0x34d255,_0x3134f0)});}let _0x89f316=_0x13d223(_0x65c245,_0x47e237),_0xe11359=_0x13d223(_0x248b70,_0x330cdf),_0x4e2b43=_0x13d223(_0x35fdb4,_0x501bd1,!0x0);function _0x1dac08(_0x3cbcad,_0x34314f,_0x106bf4,_0x3eb8b2){const _0x543caf=_0x1a21ce;return _0xfb89a7=>({'id':_0x3cbcad,'commandId':_0x57dfd6['SetDrawingArrangeCommand']['id'],'type':_0x416351[_0x543caf(0x2cc)][_0x543caf(0x2dd)],'icon':_0x106bf4,'title':_0x3eb8b2,'tooltip':_0x3eb8b2,'hidden$':_0xc3b9e4(_0xfb89a7),'params':()=>{const _0x14af2b=_0x543caf;let _0x5e9312=_0x25bfbb(_0xfb89a7);return _0x5e9312?{'unitId':_0x5e9312[_0x14af2b(0x197)],'subUnitId':_0x5e9312[_0x14af2b(0x4b3)],'drawingIds':[_0x5e9312[_0x14af2b(0x1f5)]],'arrangeType':_0x34314f}:void 0x0;}});}let _0x35db48=_0x1dac08(_0x2b0269,_0x5cf0ce[_0x1a21ce(0x348)]['forward'],_0x1a21ce(0x46f),_0x1a21ce(0x229)),_0x2229ad=_0x1dac08(_0x1287cd,_0x5cf0ce[_0x1a21ce(0x348)]['backward'],_0x1a21ce(0x12e),_0x1a21ce(0x21c)),_0x1097ed=_0x1dac08(_0x12d37b,_0x5cf0ce[_0x1a21ce(0x348)][_0x1a21ce(0x294)],'TopmostIcon',_0x1a21ce(0x4c1)),_0x17d7fb=_0x1dac08(_0x2df8c3,_0x5cf0ce[_0x1a21ce(0x348)][_0x1a21ce(0x19b)],_0x1a21ce(0x2ae),_0x1a21ce(0x2aa));function _0x15b638(_0x32182e){const _0x1e0b8c=_0x1a21ce;return{'id':_0x212f1d['id'],'type':_0x416351['MenuItemType'][_0x1e0b8c(0x2dd)],'icon':'ShapeFormatSettingIcon','title':_0x1e0b8c(0x35c),'tooltip':'sheets-shape-ui.formatShape','hidden$':_0xc3b9e4(_0x32182e),'params':()=>{const _0x122e64=_0x1e0b8c;let _0x18c119=_0x25bfbb(_0x32182e);return _0x18c119?{'unitId':_0x18c119[_0x122e64(0x197)],'subUnitId':_0x18c119[_0x122e64(0x4b3)],'drawingId':_0x18c119[_0x122e64(0x1f5)]}:void 0x0;}};}let _0x2bcfb6={[_0x416351[_0x1a21ce(0x3ad)]['RIBBON']]:{[_0x1e91c2]:{'order':0x64,'title':_0x1a21ce(0x35c),'contextual':!0x0,'sheets-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x325d8a['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x3134e2},[_0x684ce2['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x59530b}},'sheets-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x65c245]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x89f316}},'sheets-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x248b70]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0xe11359}},'sheets-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x1eed22]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x230a4e},[_0x2d888b]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x41d2f5},[_0x2b0269]:{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x35db48},[_0x1287cd]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x2229ad},[_0x12d37b]:{'order':0x4,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x1097ed},[_0x2df8c3]:{'order':0x5,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x17d7fb}},'sheets-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x35fdb4]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x4e2b43}},'sheets-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x212f1d['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x15b638},[_0x3ed8c6[_0x1a21ce(0x190)]['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x3ed8c6[_0x1a21ce(0x26c)]}}}}},_0x3456ab={[_0x416351['RibbonInsertGroup']['MEDIA']]:{[_0x224af7['id']]:{'order':0x3,'menuItemFactory':_0x2b3cc1}}},_0x54229f={..._0x3456ab,[_0x416351[_0x1a21ce(0x369)][_0x1a21ce(0x266)]]:{[_0x106220['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0xff80a}},[_0x416351[_0x1a21ce(0x132)]['DRAWING']]:{[_0x416351[_0x1a21ce(0x3ec)]['OTHERS']]:{[_0x1eed22]:{'order':0x4,'menuItemFactory':_0x230a4e},[_0x2d888b]:{'order':0x5,'menuItemFactory':_0x41d2f5}}}};var _0x6f3664=_0x1a21ce(0x18f),_0x46f9c2='1.1.0';let _0x2a1c58={'id':_0x1a21ce(0x263),'type':_0x5cf0ce[_0x1a21ce(0x244)]['OPERATION'],'handler'(_0x1695b0,_0x12bbe5){const _0x4bf678=_0x1a21ce;return _0x12bbe5?(_0x1695b0[_0x4bf678(0x170)](_0x3ed8c6['MobileShapeEditorService'])[_0x4bf678(0x31d)](_0x12bbe5[_0x4bf678(0x222)],{'hostType':_0x5cf0ce[_0x4bf678(0x21e)][_0x4bf678(0x3a3)],'shapeId':_0x12bbe5[_0x4bf678(0x1f5)],'subUnitId':_0x12bbe5[_0x4bf678(0x4b3)],'unitId':_0x12bbe5[_0x4bf678(0x197)]}),!0x0):!0x1;}},_0x3f4761='sheets-shape-ui.config',_0x141627={},_0x360356=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0xfd65b,_0x474048,_0x9bccf6,_0x47a07f,_0x324e52){const _0x25def9=_0x1a21ce;super(),this[_0x25def9(0x4c9)]=_0xfd65b,this[_0x25def9(0x383)]=_0x474048,this['_renderManagerService']=_0x9bccf6,this[_0x25def9(0x2d5)]=_0x47a07f,this[_0x25def9(0x4b6)]=_0x324e52,_0x339d5f(this,_0x25def9(0x490),null),_0x339d5f(this,'_unitId',null),_0x339d5f(this,_0x25def9(0x251),null),_0x339d5f(this,_0x25def9(0x325),void 0x0),_0x339d5f(this,_0x25def9(0x287),[]),_0x339d5f(this,'_baseLeft',0x0),_0x339d5f(this,_0x25def9(0x459),0x0),_0x339d5f(this,_0x25def9(0x1f3),0x0),_0x339d5f(this,'_baseHeight',0x0),_0x339d5f(this,_0x25def9(0x3fe),!0x1),_0x339d5f(this,'_activeAdjustInfo',void 0x0),_0x339d5f(this,'_activeShapeModel',void 0x0),_0x339d5f(this,_0x25def9(0x1eb),void 0x0),_0x339d5f(this,_0x25def9(0x2e3),void 0x0),_0x339d5f(this,_0x25def9(0x3f8),!0x1),this[_0x25def9(0x24a)](),this['_registerMoveHandler']();}[_0x1a21ce(0x4af)](){const _0x3dc74b=_0x1a21ce;this[_0x3dc74b(0x221)]();}[_0x1a21ce(0x164)](){const _0x468162=_0x1a21ce;this[_0x468162(0x221)](),this['_createControls'](!0x0);}[_0x1a21ce(0x328)](_0x5ed007,_0x489b7b,_0x3877c6,_0x57e41e){const _0x590ca9=_0x1a21ce;let _0x477ca2=_0x5ed007;if(_0x477ca2!==_0x24d21b[_0x590ca9(0x4a6)][_0x590ca9(0x31c)]&&_0x5ed007!==_0x590ca9(0x1d0))try{let _0x1b73d3=new _0x24d21b['ShapeModel'](_0x477ca2,_0x590ca9(0x3ea)+_0x5ed007);return _0x57e41e&&_0x1b73d3['setShapeData']({'adjustValues':_0x57e41e},!0x0),_0x1b73d3['updateContext']({'width':_0x489b7b,'height':_0x3877c6}),_0x1b73d3;}catch{return;}}[_0x1a21ce(0x161)](_0x439cb3,_0x102a27,_0x48fcd3){const _0x285b00=_0x1a21ce;let _0x46b745={'unitId':_0x439cb3,'subUnitId':_0x102a27,'drawingId':_0x48fcd3},_0x3e5e51=this[_0x285b00(0x383)][_0x285b00(0x214)](_0x46b745);if(_0x3e5e51&&_0x3e5e51[_0x285b00(0x497)]===_0x5cf0ce['DrawingTypeEnum'][_0x285b00(0x236)])return _0x3e5e51;}[_0x1a21ce(0x4c7)](_0x1d22dd,_0x3412cf,_0x36b11){const _0x2f7998=_0x1a21ce;let _0x378846=this[_0x2f7998(0x411)]['getRenderUnitById'](_0x1d22dd);if(!_0x378846)return;let {scene:_0x420c61}=_0x378846,_0x229769=(0x0,_0x2a2438[_0x2f7998(0x414)])({'unitId':_0x1d22dd,'subUnitId':_0x3412cf,'drawingId':_0x36b11}),_0x240f55=_0x420c61[_0x2f7998(0x26a)](_0x229769);if(_0x240f55 instanceof _0x4413bb[_0x2f7998(0x453)]){let _0x1dd2a3=_0x240f55['prstGeom'];if(_0x1dd2a3)return{'prstGeom':_0x1dd2a3,'adjustValues':_0x240f55['prstGeomAdjValues']};}}[_0x1a21ce(0x4a1)](_0xcba2e9=!0x1){const _0x3c371e=_0x1a21ce;if(!this[_0x3c371e(0x29c)]||!this[_0x3c371e(0x251)]||!this[_0x3c371e(0x490)])return;let _0x1e7726=this[_0x3c371e(0x411)]['getRenderUnitById'](this[_0x3c371e(0x29c)]);if(!_0x1e7726||!_0x1e7726[_0x3c371e(0x18b)](_0x3e532c[_0x3c371e(0x432)])[_0x3c371e(0x475)]())return;let {scene:_0x2b7e61}=_0x1e7726,_0x407344=this['_getImageDrawingInfo'](this[_0x3c371e(0x29c)],this['_subUnitId'],this[_0x3c371e(0x490)]);if(!_0x407344)return;let {transform:_0x32a5b1}=_0x407344;if(!_0x32a5b1)return;let {left:_0x315e1f,top:_0x44f43e,width:_0x3731d6,height:_0xec9a16,flipX:_0x4bfac1,flipY:_0x23c839,angle:_0x2c02ba=0x0}=_0x32a5b1;if(_0x315e1f===void 0x0||_0x44f43e===void 0x0)return;let _0x1219ee=this['_getImagePrstGeom'](this['_unitId'],this[_0x3c371e(0x251)],this['_activeImageId']);if(!_0x1219ee)return;if(_0xcba2e9){let _0x3fa0a1=this[_0x3c371e(0x328)](_0x1219ee[_0x3c371e(0x112)],_0x3731d6||0x0,_0xec9a16||0x0,_0x1219ee['adjustValues']);if(!_0x3fa0a1)return;this[_0x3c371e(0x325)]=_0x3fa0a1[_0x3c371e(0x37c)]();}let _0x130315=this[_0x3c371e(0x325)];if(_0x130315&&_0x130315[_0x3c371e(0x38a)]!==0x0)for(let _0x34b7b5=0x0;_0x34b7b5<_0x130315[_0x3c371e(0x38a)];_0x34b7b5++){let _0x3cd5c7=_0x130315[_0x34b7b5],_0x563fa9=_0x3cd5c7['x'],_0x1239af=_0x3cd5c7['y'];if(_0x4bfac1&&(_0x563fa9=(_0x3731d6||0x0)-_0x563fa9),_0x23c839&&(_0x1239af=(_0xec9a16||0x0)-_0x1239af),_0x2c02ba!==0x0){let _0x31564e=(_0x3731d6||0x0)/0x2,_0x1fe309=(_0xec9a16||0x0)/0x2,_0x131ca4=_0x2c02ba*Math['PI']/0xb4,_0x5ba2e6=Math[_0x3c371e(0x127)](_0x131ca4),_0x3153f7=Math[_0x3c371e(0x1bc)](_0x131ca4),_0x22cb08=_0x563fa9-_0x31564e,_0x3d26b0=_0x1239af-_0x1fe309;_0x563fa9=_0x31564e+(_0x22cb08*_0x5ba2e6-_0x3d26b0*_0x3153f7),_0x1239af=_0x1fe309+(_0x22cb08*_0x3153f7+_0x3d26b0*_0x5ba2e6);}let _0x51aff5={'x':_0x563fa9,'y':_0x1239af,'adjName':_0x3cd5c7[_0x3c371e(0xe9)]};this[_0x3c371e(0x102)](_0x2b7e61,_0x51aff5,_0x51aff5[_0x3c371e(0xe9)],_0x315e1f,_0x44f43e,this[_0x3c371e(0x29c)],this[_0x3c371e(0x251)]);}}[_0x1a21ce(0x102)](_0x2c5c70,_0x5a5c30,_0x41c75c,_0x2ffce3,_0x10f849,_0x1f7150,_0x1ce24e){const _0x214be7=_0x1a21ce;if(!this[_0x214be7(0x490)])return;let _0x3c0bd6=_0x214be7(0x118)+this[_0x214be7(0x490)]+'-'+_0x41c75c,_0x5376f5=_0x2c5c70['getObjectIncludeInGroup'](_0x3c0bd6);if(_0x5376f5){_0x5376f5[_0x214be7(0x4bb)]({'left':_0x5a5c30['x']+_0x2ffce3-_0x24d21b['ShapeDefaultConfig'][_0x214be7(0x3e6)],'top':_0x5a5c30['y']+_0x10f849-_0x24d21b[_0x214be7(0x1a9)][_0x214be7(0x3e6)]});return;}let _0x341e45=new _0x4b14c3(_0x3c0bd6,{'left':_0x5a5c30['x']+_0x2ffce3-_0x24d21b[_0x214be7(0x1a9)][_0x214be7(0x3e6)],'top':_0x5a5c30['y']+_0x10f849-_0x24d21b[_0x214be7(0x1a9)][_0x214be7(0x3e6)],'adjName':_0x41c75c,'shapeId':this[_0x214be7(0x490)],'unitId':_0x1f7150,'subUnitId':_0x1ce24e,'width':_0x24d21b['ShapeDefaultConfig']['adjHandleSize']+0x8,'height':_0x24d21b[_0x214be7(0x1a9)][_0x214be7(0x3e6)]+0x8,'zIndex':_0x4413bb[_0x214be7(0x1ab)]+0x1,'evented':!0x0});this['_shapes'][_0x214be7(0x109)](_0x341e45),this[_0x214be7(0x247)](_0x341e45,_0x2c5c70,_0x41c75c),_0x2c5c70[_0x214be7(0x141)](_0x341e45,_0x4413bb[_0x214be7(0x1ab)]+0x1);}[_0x1a21ce(0x221)](){const _0x37ed2e=_0x1a21ce;this[_0x37ed2e(0x287)][_0x37ed2e(0x38a)]!==0x0&&(this['_shapes']['forEach'](_0x40c9d1=>_0x40c9d1[_0x37ed2e(0x351)]()),this[_0x37ed2e(0x287)]=[]);}[_0x1a21ce(0x39b)](_0x15ea91,_0x299d5b){const _0x31094a=_0x1a21ce;var _0x33ac8e;let _0x578e83={'x':0x0,'y':0x0},_0x17173f=this[_0x31094a(0x411)][_0x31094a(0x3ce)](_0x15ea91);if(!_0x17173f||!_0x17173f['with'](_0x3e532c[_0x31094a(0x432)])['getSkeleton'](_0x299d5b))return _0x578e83;let _0xe1a331=_0x17173f[_0x31094a(0x18b)](_0x3e532c[_0x31094a(0x47c)]),_0x21372f=_0xe1a331==null?void 0x0:_0xe1a331['getCurrentScrollState']();if(!_0x21372f)return _0x578e83;let _0x45f794=(_0x33ac8e=this[_0x31094a(0x2d5)]['getUnit'](_0x15ea91))==null?void 0x0:_0x33ac8e[_0x31094a(0x1c4)](_0x299d5b);if(!_0x45f794)return _0x578e83;let _0x3e8fc6=(0x0,_0x3e532c['getViewportByCell'])(_0x21372f[_0x31094a(0x3ff)],_0x21372f['sheetViewStartColumn'],_0x17173f[_0x31094a(0x2d7)],_0x45f794);return _0x3e8fc6?{'x':_0x3e8fc6['viewportScrollX'],'y':_0x3e8fc6[_0x31094a(0x491)]}:_0x578e83;}[_0x1a21ce(0x129)](_0x27abe5,_0x2168d3){const _0x3a3420=_0x1a21ce;var _0x503283;let _0x14ae6e=(_0x503283=this[_0x3a3420(0x2d5)]['getUnit'](_0x27abe5))==null?void 0x0:_0x503283['getSheetBySheetId'](_0x2168d3);return(_0x14ae6e==null?void 0x0:_0x14ae6e[_0x3a3420(0xea)]())??0x1;}[_0x1a21ce(0x247)](_0x3cfd75,_0x170d1c,_0x50f562){const _0x5e3eee=_0x1a21ce;this[_0x5e3eee(0x4c4)]((0x0,_0x5cf0ce['toDisposable'])(_0x3cfd75[_0x5e3eee(0x39e)][_0x5e3eee(0x3fc)]((_0xfc4517,_0x37528f)=>{const _0x4a2d3c=_0x5e3eee;var _0x5c025f,_0x21739b,_0x5d6848;let {unitId:_0x557182,subUnitId:_0x2a7a63,drawingId:_0x3ae97d}=_0x3cfd75[_0x4a2d3c(0x1a8)](),_0x180530=this[_0x4a2d3c(0x161)](_0x557182,_0x2a7a63,_0x3ae97d);if(!(_0x180530!=null&&_0x180530[_0x4a2d3c(0x3a9)]))return;let {left:_0x28ee09,top:_0x3c7148,width:_0x126e66,height:_0x21b9f0}=_0x180530['transform'];this[_0x4a2d3c(0x3ab)]=_0x28ee09||0x0,this[_0x4a2d3c(0x459)]=_0x3c7148||0x0,this[_0x4a2d3c(0x1f3)]=_0x126e66||0x0,this['_baseHeight']=_0x21b9f0||0x0;let _0x222f68=!!((_0x5c025f=_0x180530[_0x4a2d3c(0x3a9)])!=null&&_0x5c025f[_0x4a2d3c(0x405)]),_0x21669b=!!((_0x21739b=_0x180530[_0x4a2d3c(0x3a9)])!=null&&_0x21739b[_0x4a2d3c(0x488)]),_0x5281ec=((_0x5d6848=_0x180530['transform'])==null?void 0x0:_0x5d6848[_0x4a2d3c(0x11e)])||0x0,_0x5f064d=this[_0x4a2d3c(0x4c7)](_0x557182,_0x2a7a63,_0x3ae97d);if(!_0x5f064d)return;let _0x126bb1=this[_0x4a2d3c(0x328)](_0x5f064d[_0x4a2d3c(0x112)],this[_0x4a2d3c(0x1f3)],this[_0x4a2d3c(0x171)],_0x5f064d['adjustValues']);if(!_0x126bb1||(this[_0x4a2d3c(0xf3)]=_0x126bb1,this[_0x4a2d3c(0x209)]=_0x126bb1['getAdjustInfoByName'](_0x50f562),!this['_activeAdjustInfo']))return;this['_isStartAdjusting']=!0x0,_0x170d1c[_0x4a2d3c(0x2c1)]();let _0x4ab481=_0x5f064d['prstGeom'];this[_0x4a2d3c(0x1eb)]=_0x170d1c[_0x4a2d3c(0xee)][_0x4a2d3c(0x3fc)]((_0x559fbe,_0x290ebf)=>{const _0x1ede54=_0x4a2d3c;if(!this['_isStartAdjusting'])return;let {offsetX:_0x34015b,offsetY:_0x50d9ed}=_0x559fbe,_0x40efbe=this[_0x1ede54(0x209)];if(!this['_activeShapeModel']||!_0x40efbe)return;_0x170d1c[_0x1ede54(0x2c1)](),_0x170d1c[_0x1ede54(0x379)](_0x4413bb[_0x1ede54(0x2b9)]['CROSSHAIR']);let _0x3c1740={'left':0x0,'top':0x0,'width':this['_baseWidth'],'height':this[_0x1ede54(0x171)]},_0x369c1a=this[_0x1ede54(0x39b)](_0x557182,_0x2a7a63),_0x17bac9=this[_0x1ede54(0x129)](_0x557182,_0x2a7a63),_0x894f4c=_0x34015b/_0x17bac9+_0x369c1a['x']-this[_0x1ede54(0x3ab)],_0x29e8d3=_0x50d9ed/_0x17bac9+_0x369c1a['y']-this[_0x1ede54(0x459)];if(_0x5281ec!==0x0){let _0x548c7a=this[_0x1ede54(0x1f3)]/0x2,_0x1d1568=this[_0x1ede54(0x171)]/0x2,_0x45ce99=_0x5281ec*Math['PI']/0xb4,_0x34a57f=Math['cos'](_0x45ce99),_0x232e0a=Math[_0x1ede54(0x1bc)](_0x45ce99),_0x8d3497=_0x894f4c-_0x548c7a,_0x566c3c=_0x29e8d3-_0x1d1568;_0x894f4c=_0x548c7a+(_0x8d3497*_0x34a57f+_0x566c3c*_0x232e0a),_0x29e8d3=_0x1d1568+(-_0x8d3497*_0x232e0a+_0x566c3c*_0x34a57f);}_0x222f68&&(_0x894f4c=this['_baseWidth']-_0x894f4c),_0x21669b&&(_0x29e8d3=this[_0x1ede54(0x171)]-_0x29e8d3);let _0xf5849f=this['_activeShapeModel'][_0x1ede54(0x133)](_0x3c1740,{'x':_0x894f4c,'y':_0x29e8d3},_0x40efbe,_0x222f68,_0x21669b);if(Object[_0x1ede54(0x353)](_0xf5849f)[_0x1ede54(0x38a)]!==0x0){for(let [_0x215163,_0x1ace46]of Object[_0x1ede54(0x210)](_0xf5849f))this['_activeShapeModel']['setAdjustValueByName'](_0x215163,_0x1ace46);this[_0x1ede54(0xf3)][_0x1ede54(0x433)]({'width':this['_baseWidth'],'height':this['_baseHeight']}),this['_updateImageAdjValues'](_0x557182,_0x2a7a63,_0x3ae97d,_0xf5849f),this[_0x1ede54(0x325)]=this['_activeShapeModel'][_0x1ede54(0x37c)](),this[_0x1ede54(0x4a1)](),_0x290ebf[_0x1ede54(0x344)]();}}),this['_adjHandlerPointerUp']=_0x170d1c[_0x4a2d3c(0x3c5)][_0x4a2d3c(0x3fc)]((_0x1344ae,_0x5a474a)=>{const _0x2156e7=_0x4a2d3c;if(this[_0x2156e7(0x1eb)][_0x2156e7(0x15a)](),this['_adjHandlerPointerUp']['unsubscribe'](),_0x170d1c[_0x2156e7(0x3c0)](),this[_0x2156e7(0xf3)]){let _0x1bb681=this[_0x2156e7(0xf3)]['getAdjustNames'](),_0x5dfaf7={};for(let _0x23fcc6 of _0x1bb681){let _0x493dd5=this[_0x2156e7(0xf3)][_0x2156e7(0x317)](_0x23fcc6);_0x493dd5!==void 0x0&&(_0x5dfaf7[_0x23fcc6]=_0x493dd5);}this[_0x2156e7(0x4b6)]['clipByShape'](_0x557182,_0x2a7a63,_0x3ae97d,_0x4ab481,_0x5dfaf7);}this['_activeAdjustInfo']=void 0x0,this[_0x2156e7(0xf3)]=void 0x0,this[_0x2156e7(0x3fe)]=!0x1,_0x5a474a[_0x2156e7(0x344)](),_0x170d1c[_0x2156e7(0x415)]();}),_0x37528f[_0x4a2d3c(0x344)]();})));}[_0x1a21ce(0x34a)](_0x3c2f8d,_0x86a57c,_0x27225c,_0x23502c){const _0x96b94b=_0x1a21ce;let _0x3ae774=this[_0x96b94b(0x411)][_0x96b94b(0x3ce)](_0x3c2f8d);if(!_0x3ae774)return;let {scene:_0xe5bd8d}=_0x3ae774,_0x53c0f6=(0x0,_0x2a2438[_0x96b94b(0x414)])({'unitId':_0x3c2f8d,'subUnitId':_0x86a57c,'drawingId':_0x27225c}),_0x5809e1=_0xe5bd8d[_0x96b94b(0x26a)](_0x53c0f6);if(_0x5809e1 instanceof _0x4413bb[_0x96b94b(0x453)]){let _0x3dba1b=_0x5809e1[_0x96b94b(0x322)]??{};_0x5809e1['setPrstGeomAdjValues']({..._0x3dba1b,..._0x23502c}),_0x5809e1['makeDirty'](!0x0);}}['_registerMoveHandler'](){const _0x12e48c=_0x1a21ce;let _0x31bc9f=this[_0x12e48c(0x2d5)][_0x12e48c(0x17a)](_0x5cf0ce[_0x12e48c(0x21e)][_0x12e48c(0x3a3)]);this[_0x12e48c(0x4c4)](_0x31bc9f[_0x12e48c(0x472)]((0x0,_0x4cb228[_0x12e48c(0x116)])(_0x353631=>_0x353631?_0x353631[_0x12e48c(0x2c0)][_0x12e48c(0x472)]((0x0,_0x4cb228[_0x12e48c(0x116)])(_0x41509b=>{const _0x2f320c=_0x12e48c;if(!_0x41509b)return _0x4cb228[_0x2f320c(0x223)];let _0x43e90c=_0x353631[_0x2f320c(0x290)](),_0x6cc49=this[_0x2f320c(0x411)][_0x2f320c(0x3ce)](_0x43e90c),_0x1e0d7d=_0x6cc49==null?void 0x0:_0x6cc49[_0x2f320c(0x2d7)];return _0x1e0d7d?(0x0,_0x4cb228['of'])(_0x1e0d7d):_0x4cb228[_0x2f320c(0x223)];})):_0x4cb228[_0x12e48c(0x223)]))[_0x12e48c(0x3e7)](_0x2233b3=>{const _0x566f86=_0x12e48c;let _0x531d82=_0x2233b3[_0x566f86(0x17e)]();this[_0x566f86(0x4c4)](_0x2233b3[_0x566f86(0xee)][_0x566f86(0x3fc)](()=>{const _0x4ecd4c=_0x566f86;this[_0x4ecd4c(0x3f8)]&&this['_clearControls']();})),this[_0x566f86(0x4c4)](_0x531d82[_0x566f86(0x3f9)][_0x566f86(0x3e7)](_0x401c24=>{const _0x393e42=_0x566f86;let {objects:_0x4ea715}=_0x401c24;if(this[_0x393e42(0x4a1)](),_0x4ea715!==null&&_0x4ea715[_0x393e42(0x32b)]===0x1){let _0x22b5cf=_0x4ea715['values']()[_0x393e42(0x395)]()[_0x393e42(0x2f5)];_0x22b5cf instanceof _0x4413bb[_0x393e42(0x453)]&&_0x22b5cf[_0x393e42(0x112)]&&(this['_isImagePointerDown']=!0x0);}})),this['disposeWithMe'](_0x531d82[_0x566f86(0x4ab)][_0x566f86(0x3e7)](()=>{const _0x3b956f=_0x566f86;this[_0x3b956f(0x3f8)]&&this[_0x3b956f(0x221)]();})),this[_0x566f86(0x4c4)](_0x2233b3[_0x566f86(0x3c5)][_0x566f86(0x3fc)](()=>{const _0x5e9ace=_0x566f86;this[_0x5e9ace(0x3f8)]&&(this[_0x5e9ace(0x3f8)]=!0x1,this[_0x5e9ace(0x4a1)]());})),this[_0x566f86(0x4c4)](_0x531d82[_0x566f86(0x154)][_0x566f86(0x3e7)](()=>{const _0x51373f=_0x566f86;if(this[_0x51373f(0x29c)]&&this['_subUnitId']&&this['_activeImageId']){let _0x2db4a4=this[_0x51373f(0x4c7)](this[_0x51373f(0x29c)],this[_0x51373f(0x251)],this[_0x51373f(0x490)]);if(_0x2db4a4){var _0x950946,_0x4d4052;let _0x5df56c=this[_0x51373f(0x161)](this[_0x51373f(0x29c)],this['_subUnitId'],this[_0x51373f(0x490)]),_0x2bdf24=(_0x5df56c==null||(_0x950946=_0x5df56c[_0x51373f(0x3a9)])==null?void 0x0:_0x950946[_0x51373f(0x36b)])||0x0,_0x385133=(_0x5df56c==null||(_0x4d4052=_0x5df56c['transform'])==null?void 0x0:_0x4d4052[_0x51373f(0x31b)])||0x0,_0x354c1e=this[_0x51373f(0x328)](_0x2db4a4[_0x51373f(0x112)],_0x2bdf24,_0x385133,_0x2db4a4['adjustValues']);_0x354c1e&&(this['_activeAdjustPointList']=_0x354c1e['getDrawingPoints'](),this['_clearControls'](),this[_0x51373f(0x4a1)](!0x0));}}}));}));}[_0x1a21ce(0x24a)](){const _0x26aa8c=_0x1a21ce;this['disposeWithMe'](this[_0x26aa8c(0x383)]['focus$'][_0x26aa8c(0x3e7)](_0x1b34aa=>{const _0x4080d3=_0x26aa8c;if(_0x1b34aa[_0x4080d3(0x38a)]===0x1){let _0x2fd262=_0x1b34aa[0x0];if(_0x2fd262[_0x4080d3(0x497)]===_0x5cf0ce[_0x4080d3(0x1c1)]['DRAWING_IMAGE']){let {unitId:_0x5b7c22,subUnitId:_0x59ffb9,drawingId:_0x2bca03}=_0x2fd262,_0x57f381=this[_0x4080d3(0x4c7)](_0x5b7c22,_0x59ffb9,_0x2bca03);if(_0x57f381){var _0x58fc94,_0x546047;this[_0x4080d3(0x490)]=_0x2bca03,this[_0x4080d3(0x29c)]=_0x5b7c22,this[_0x4080d3(0x251)]=_0x59ffb9;let _0x14506f=this[_0x4080d3(0x161)](_0x5b7c22,_0x59ffb9,_0x2bca03),_0x4e07cc=(_0x14506f==null||(_0x58fc94=_0x14506f[_0x4080d3(0x3a9)])==null?void 0x0:_0x58fc94[_0x4080d3(0x36b)])||0x0,_0x542467=(_0x14506f==null||(_0x546047=_0x14506f[_0x4080d3(0x3a9)])==null?void 0x0:_0x546047[_0x4080d3(0x31b)])||0x0,_0x35d7fd=this[_0x4080d3(0x328)](_0x57f381[_0x4080d3(0x112)],_0x4e07cc,_0x542467,_0x57f381[_0x4080d3(0x324)]);_0x35d7fd&&(this[_0x4080d3(0x325)]=_0x35d7fd[_0x4080d3(0x37c)]()),this[_0x4080d3(0x221)](),this[_0x4080d3(0x4a1)](!0x0);}else this[_0x4080d3(0x261)]();}else this['_resetState']();}else this['_resetState']();})),this[_0x26aa8c(0x4c4)](this['_drawingManagerService'][_0x26aa8c(0x479)][_0x26aa8c(0x3e7)](_0x777b79=>{const _0x1cfad1=_0x26aa8c;if(_0x777b79[_0x1cfad1(0x38a)]===0x1){let _0x5ec93c=_0x777b79[0x0],_0x3bf505=this[_0x1cfad1(0x383)]['getDrawingByParam'](_0x5ec93c);(_0x3bf505==null?void 0x0:_0x3bf505['drawingType'])===_0x5cf0ce['DrawingTypeEnum'][_0x1cfad1(0x236)]&&this['_activeImageId']===_0x5ec93c[_0x1cfad1(0x1f5)]&&(this[_0x1cfad1(0x221)](),this[_0x1cfad1(0x4a1)](!0x0));}})),this[_0x26aa8c(0x4c4)](this['_drawingManagerService'][_0x26aa8c(0x44c)][_0x26aa8c(0x3e7)](_0x199bed=>{const _0x1d8987=_0x26aa8c;for(let _0x2d0045 of _0x199bed)this[_0x1d8987(0x490)]===_0x2d0045['drawingId']&&this['_resetState']();}));}[_0x1a21ce(0x261)](){const _0x1b8fd8=_0x1a21ce;this[_0x1b8fd8(0x490)]=null,this[_0x1b8fd8(0x29c)]=null,this[_0x1b8fd8(0x251)]=null,this[_0x1b8fd8(0x325)]=void 0x0,this[_0x1b8fd8(0x221)]();}};_0x360356=_0x3f6514([_0x4512b4(0x1,_0x2a2438[_0x1a21ce(0x3e4)]),_0x4512b4(0x2,(0x0,_0x5cf0ce['Inject'])(_0x4413bb[_0x1a21ce(0x399)])),_0x4512b4(0x3,_0x5cf0ce['IUniverInstanceService']),_0x4512b4(0x4,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x133380))],_0x360356);function _0x1aa9c1({ref:_0x170632,..._0x57b552}){const _0x29f361=_0x1a21ce;let {preserveStrokeWidth:_0x1286f6,icon:_0x37de4b,id:_0x269d6f,className:_0x29dad4,extend:_0x59d554,..._0x21b585}=_0x57b552,_0x3da617=('univerjs-icon\x20univerjs-icon-'+_0x269d6f+'\x20'+(_0x29dad4||''))[_0x29f361(0x1ae)](),_0x3cc319='_'+(0x0,_0x41b065[_0x29f361(0x40d)])(),_0x4459d5=(0x0,_0x41b065['useRef'])(null);return(0x0,_0x41b065['useImperativeHandle'])(_0x170632,()=>_0x4459d5[_0x29f361(0x110)]),(0x0,_0x41b065[_0x29f361(0x3b9)])(()=>{const _0x4d210a=_0x29f361;if(_0x1286f6&&_0x4459d5[_0x4d210a(0x110)]&&_0x4459d5[_0x4d210a(0x110)][_0x4d210a(0x162)]===_0x37de4b[_0x4d210a(0x26b)])return _0x4aedeb(_0x4459d5[_0x4d210a(0x110)]);},[_0x1286f6,_0x37de4b]),_0x3dd000(_0x37de4b,''+_0x269d6f,{'defIds':_0x37de4b[_0x29f361(0x354)],'idSuffix':_0x3cc319},{'ref':_0x4459d5,'className':_0x3da617,..._0x21b585},_0x59d554);}function _0x3dd000(_0x1cf784,_0x46de6f,_0x248f29,_0x341ce6,_0x5ea1e0){const _0x397c29=_0x1a21ce;return(0x0,_0x41b065['createElement'])(_0x1cf784[_0x397c29(0x26b)],{'key':_0x46de6f,..._0x3185f9(_0x1cf784,_0x248f29,_0x5ea1e0),..._0x341ce6},(_0x2baf7c(_0x1cf784,_0x248f29)['children']||[])[_0x397c29(0x41e)]((_0x12b85f,_0x3c252a)=>_0x3dd000(_0x12b85f,_0x46de6f+'-'+_0x1cf784[_0x397c29(0x26b)]+'-'+_0x3c252a,_0x248f29,void 0x0,_0x5ea1e0)));}function _0x3185f9(_0x24cc79,_0x33763d,_0x3d6e1a){const _0x366fa9=_0x1a21ce;let _0x440d46={..._0x24cc79['attrs']};_0x3d6e1a!=null&&_0x3d6e1a[_0x366fa9(0x48a)]&&_0x440d46['fill']==='colorChannel1'&&(_0x440d46['fill']=_0x3d6e1a[_0x366fa9(0x48a)]),_0x3d6e1a!=null&&_0x3d6e1a['colorChannel1']&&_0x440d46[_0x366fa9(0x1f2)]===_0x366fa9(0x48a)&&(_0x440d46['stroke']=_0x3d6e1a['colorChannel1']),_0x24cc79[_0x366fa9(0x26b)]===_0x366fa9(0x2a8)&&_0x440d46['id']&&(_0x440d46['id']+=_0x33763d[_0x366fa9(0x2fb)]),Object[_0x366fa9(0x210)](_0x440d46)[_0x366fa9(0x123)](([_0x294d88,_0x350b3b])=>{const _0x4ed23c=_0x366fa9;_0x294d88==='mask'&&typeof _0x350b3b==_0x4ed23c(0x130)&&(_0x440d46[_0x294d88]=_0x350b3b[_0x4ed23c(0x22d)](/url\(#(.*)\)/,'url(#$1'+_0x33763d['idSuffix']+')'));});let {defIds:_0x2482bd}=_0x33763d;return!_0x2482bd||_0x2482bd[_0x366fa9(0x38a)]===0x0||(_0x24cc79[_0x366fa9(0x26b)]===_0x366fa9(0x3bc)&&_0x440d46[_0x366fa9(0x2ed)]&&(_0x440d46[_0x366fa9(0x2ed)]+=_0x33763d['idSuffix']),Object[_0x366fa9(0x210)](_0x440d46)[_0x366fa9(0x123)](([_0x2ae32f,_0x5c6aed])=>{const _0x2697d7=_0x366fa9;typeof _0x5c6aed=='string'&&(_0x440d46[_0x2ae32f]=_0x5c6aed[_0x2697d7(0x22d)](/url\(#(.*)\)/,_0x2697d7(0x22f)+_0x33763d['idSuffix']+')'));})),_0x440d46;}function _0x2baf7c(_0x5c6ed4,_0x412700){const _0x27bbef=_0x1a21ce;var _0x37dc37;let {defIds:_0x100744}=_0x412700;return!_0x100744||_0x100744['length']===0x0?_0x5c6ed4:_0x5c6ed4['tag']==='defs'&&(_0x37dc37=_0x5c6ed4[_0x27bbef(0x2c2)])!=null&&_0x37dc37[_0x27bbef(0x38a)]?{..._0x5c6ed4,'children':_0x5c6ed4[_0x27bbef(0x2c2)][_0x27bbef(0x41e)](_0x3c1db0=>typeof _0x3c1db0[_0x27bbef(0x2a0)]['id']==_0x27bbef(0x130)&&_0x100744&&_0x100744[_0x27bbef(0x24f)](_0x3c1db0[_0x27bbef(0x2a0)]['id'])?{..._0x3c1db0,'attrs':{..._0x3c1db0['attrs'],'id':_0x3c1db0[_0x27bbef(0x2a0)]['id']+_0x412700[_0x27bbef(0x2fb)]}}:_0x3c1db0)}:_0x5c6ed4;}function _0x4aedeb(_0xe2312c){const _0x3c140a=_0x1a21ce;let _0x3e31db=_0xe2312c[_0x3c140a(0x2c8)][_0x3c140a(0x20c)],_0x447b91=Math[_0x3c140a(0x397)](_0x3e31db[_0x3c140a(0x36b)],_0x3e31db[_0x3c140a(0x31b)]);if(!Number['isFinite'](_0x447b91)||_0x447b91<=0x0||_0x3e31db[_0x3c140a(0x36b)]<=0x0||_0x3e31db[_0x3c140a(0x31b)]<=0x0)return()=>void 0x0;let _0x652508=0x10/_0x447b91,_0x396bee=Array['from'](_0xe2312c[_0x3c140a(0x4a3)](_0x3c140a(0x1a4)))[_0x3c140a(0x466)](_0x5126ca=>{const _0x13a6f3=_0x3c140a;let _0x9b612f=getComputedStyle(_0x5126ca),_0x3c955b=Number[_0x13a6f3(0x3d8)](_0x9b612f['strokeWidth']);return _0x9b612f[_0x13a6f3(0x1f2)]===_0x13a6f3(0x2dc)||Number['parseFloat'](_0x9b612f['strokeOpacity'])===0x0||_0x9b612f[_0x13a6f3(0x462)]===_0x13a6f3(0xe0)||!Number[_0x13a6f3(0xed)](_0x3c955b)||_0x3c955b<=0x0?[]:[{'element':_0x5126ca,'hadStyleAttribute':_0x5126ca[_0x13a6f3(0x28e)](_0x13a6f3(0x204)),'originalStrokeWidth':_0x3c955b,'strokeWidth':_0x26a885(_0x5126ca[_0x13a6f3(0x204)],'stroke-width')}];})[_0x3c140a(0x41e)](_0x3e581d=>({'appliedStrokeWidth':null,'element':_0x3e581d[_0x3c140a(0x315)],'hadStyleAttribute':_0x3e581d[_0x3c140a(0x36e)],'isReleased':!0x1,'originalStrokeWidth':_0x3e581d[_0x3c140a(0x17d)],'strokeWidth':_0x3e581d[_0x3c140a(0xef)]}));if(_0x396bee[_0x3c140a(0x38a)]===0x0)return()=>void 0x0;let _0x8eefa1=(_0x182d51,_0x391a0b)=>{const _0x3bd658=_0x3c140a;if(_0x3e31db['width']<=0x0||_0x3e31db[_0x3bd658(0x31b)]<=0x0||_0x182d51<=0x0||_0x391a0b<=0x0)return;let _0x494876=Math[_0x3bd658(0x3df)](_0x182d51/_0x3e31db['width'],_0x391a0b/_0x3e31db['height']);!Number[_0x3bd658(0xed)](_0x494876)||_0x494876<=0x0||_0x396bee[_0x3bd658(0x123)](_0x19833c=>{const _0xe28586=_0x3bd658;if(_0x19833c['isReleased'])return;if(_0x19833c[_0xe28586(0x2f3)]!==null&&(_0x19833c[_0xe28586(0x315)]['style'][_0xe28586(0x26d)]('stroke-width')!==_0x19833c[_0xe28586(0x2f3)]||_0x19833c[_0xe28586(0x315)]['style']['getPropertyPriority'](_0xe28586(0x284))!==_0x19833c[_0xe28586(0xef)]['priority'])){_0x19833c['appliedStrokeWidth']=null,_0x19833c['isReleased']=!0x0;return;}let _0x2831a8=_0x19833c[_0xe28586(0x17d)]*_0x652508/_0x494876,_0xade403=Number(_0x2831a8[_0xe28586(0x3d2)](0xc))+'px';_0x19833c[_0xe28586(0x315)][_0xe28586(0x204)][_0xe28586(0x1de)](_0xe28586(0x284),_0xade403,_0x19833c[_0xe28586(0xef)][_0xe28586(0x442)]),_0x19833c[_0xe28586(0x2f3)]=_0xade403;});},_0x284521=_0xe2312c[_0x3c140a(0x3f0)]();_0x8eefa1(_0x284521[_0x3c140a(0x36b)],_0x284521[_0x3c140a(0x31b)]);let _0x3905f8=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x32667f=>{const _0xd8ba7a=_0x3c140a;if(_0x32667f['some'](_0x2c9777=>_0x2c9777['target']===_0xe2312c)){let _0x70fda2=_0xe2312c[_0xd8ba7a(0x3f0)]();_0x8eefa1(_0x70fda2[_0xd8ba7a(0x36b)],_0x70fda2[_0xd8ba7a(0x31b)]);}});return _0x3905f8==null||_0x3905f8['observe'](_0xe2312c),()=>{const _0x53bd65=_0x3c140a;_0x3905f8==null||_0x3905f8[_0x53bd65(0x39d)](),_0x396bee[_0x53bd65(0x123)](_0x36f2ae=>{const _0x495c30=_0x53bd65;_0x36f2ae[_0x495c30(0x2f3)]!==null&&(_0x5df476(_0x36f2ae[_0x495c30(0x315)]['style'],_0x495c30(0x284),_0x36f2ae[_0x495c30(0x2f3)],_0x36f2ae[_0x495c30(0xef)]['priority'],_0x36f2ae[_0x495c30(0xef)]),!_0x36f2ae[_0x495c30(0x36e)]&&_0x36f2ae[_0x495c30(0x315)][_0x495c30(0x204)][_0x495c30(0x38a)]===0x0&&_0x36f2ae[_0x495c30(0x315)][_0x495c30(0x300)](_0x495c30(0x204)));});};}function _0x26a885(_0x5d68ec,_0x4f6f13){const _0x225379=_0x1a21ce;return{'priority':_0x5d68ec[_0x225379(0x25b)](_0x4f6f13),'value':_0x5d68ec[_0x225379(0x26d)](_0x4f6f13)};}function _0x5df476(_0x19ac67,_0x1e0870,_0x3d0822,_0x204cd1,_0x5f9884){const _0x1dfad4=_0x1a21ce;_0x19ac67[_0x1dfad4(0x26d)](_0x1e0870)===_0x3d0822&&_0x19ac67[_0x1dfad4(0x25b)](_0x1e0870)===_0x204cd1&&(_0x5f9884[_0x1dfad4(0x2f5)]?_0x19ac67['setProperty'](_0x1e0870,_0x5f9884['value'],_0x5f9884['priority']):_0x19ac67[_0x1dfad4(0x136)](_0x1e0870));}_0x1aa9c1[_0x1a21ce(0x2f1)]=_0x1a21ce(0x495);let _0x31b352={'tag':'svg','attrs':{'xmlns':_0x1a21ce(0xf0),'fill':'none','viewBox':_0x1a21ce(0x3b0),'width':'1em','height':_0x1a21ce(0x496)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':'M14.0045\x204.4334C14.8881\x204.4334\x2015.6045\x203.71705\x2015.6045\x202.8334C15.6045\x201.94974\x2014.8881\x201.2334\x2014.0045\x201.2334H3.70449C2.82084\x201.2334\x202.10449\x201.94974\x202.10449\x202.8334C2.10449\x203.71705\x202.82084\x204.4334\x203.70449\x204.4334H14.0045ZM14.4045\x202.8334C14.4045\x203.05431\x2014.2254\x203.2334\x2014.0045\x203.2334H3.70449C3.48358\x203.2334\x203.30449\x203.05431\x203.30449\x202.8334C3.30449\x202.61248\x203.48358\x202.4334\x203.70449\x202.4334H14.0045C14.2254\x202.4334\x2014.4045\x202.61249\x2014.4045\x202.8334Z','fillRule':_0x1a21ce(0x2de),'clipRule':'evenodd'}},{'tag':_0x1a21ce(0x11b),'attrs':{'fill':_0x1a21ce(0x22a),'d':'M14.1544\x208.5999C15.038\x208.5999\x2015.7544\x207.88356\x2015.7544\x206.9999C15.7544\x206.11625\x2015.038\x205.3999\x2014.1544\x205.3999H3.85439C2.97074\x205.3999\x202.25439\x206.11625\x202.25439\x206.9999C2.25439\x207.88356\x202.97074\x208.5999\x203.85439\x208.5999H14.1544ZM14.5544\x206.9999C14.5544\x207.22082\x2014.3753\x207.3999\x2014.1544\x207.3999H3.85439C3.63348\x207.3999\x203.45439\x207.22082\x203.45439\x206.9999C3.45439\x206.77899\x203.63348\x206.5999\x203.85439\x206.5999H14.1544C14.3753\x206.5999\x2014.5544\x206.77899\x2014.5544\x206.9999Z','fillRule':_0x1a21ce(0x2de),'clipRule':_0x1a21ce(0x2de)}},{'tag':_0x1a21ce(0x11b),'attrs':{'fill':_0x1a21ce(0x22a),'d':_0x1a21ce(0x140)}},{'tag':_0x1a21ce(0x11b),'attrs':{'fill':_0x1a21ce(0x22a),'d':_0x1a21ce(0x37e)}}]},_0x5d5b89=(0x0,_0x41b065[_0x1a21ce(0x3dd)])(function(_0x697d5e,_0x204dc4){const _0x20183c=_0x1a21ce;return(0x0,_0x41b065['createElement'])(_0x1aa9c1,Object[_0x20183c(0x147)]({},_0x697d5e,{'id':'bottom-icon','ref':_0x204dc4,'icon':_0x31b352}));});_0x5d5b89[_0x1a21ce(0x2f1)]='BottomIcon';let _0x1eb514={'tag':_0x1a21ce(0x33c),'attrs':{'xmlns':_0x1a21ce(0xf0),'fill':'none','viewBox':_0x1a21ce(0x427),'width':_0x1a21ce(0x496),'height':_0x1a21ce(0x496)},'children':[{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':_0x1a21ce(0x2b6),'strokeLinecap':_0x1a21ce(0x3fa),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':_0x1a21ce(0x2e9),'strokeLinecap':_0x1a21ce(0x3fa),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':_0x1a21ce(0x3f5),'strokeLinecap':_0x1a21ce(0x3fa),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x1a21ce(0x22a),'d':_0x1a21ce(0x4c0),'strokeLinecap':_0x1a21ce(0x3fa),'strokeWidth':1.2}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':_0x1a21ce(0x49a),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':'M8\x2014V14.2','strokeLinecap':'round','strokeWidth':1.2}}]},_0x3e2952=(0x0,_0x41b065['forwardRef'])(function(_0xb0694e,_0x3a725b){const _0x2c08da=_0x1a21ce;return(0x0,_0x41b065[_0x2c08da(0x478)])(_0x1aa9c1,Object['assign']({},_0xb0694e,{'id':_0x2c08da(0x1a0),'ref':_0x3a725b,'icon':_0x1eb514}));});_0x3e2952[_0x1a21ce(0x2f1)]=_0x1a21ce(0x346);let _0x510836={'tag':_0x1a21ce(0x33c),'attrs':{'xmlns':_0x1a21ce(0xf0),'fill':_0x1a21ce(0x2dc),'viewBox':_0x1a21ce(0x427),'width':_0x1a21ce(0x496),'height':_0x1a21ce(0x496)},'children':[{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':'M3.3\x202.6L8\x206.2L12.7\x202.6H3.3Z','strokeLinecap':_0x1a21ce(0x3fa),'strokeLinejoin':_0x1a21ce(0x3fa),'strokeWidth':1.3}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':_0x1a21ce(0x356),'strokeLinecap':'round','strokeLinejoin':_0x1a21ce(0x3fa),'strokeWidth':1.3}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':'M2.2\x208H3.8','strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':'currentColor','d':_0x1a21ce(0x15f),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':'M10.2\x208H11.8','strokeLinecap':_0x1a21ce(0x3fa),'strokeWidth':1.2}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':'currentColor','d':'M14\x208H14.2','strokeLinecap':_0x1a21ce(0x3fa),'strokeWidth':1.2}}]},_0xd31e07=(0x0,_0x41b065[_0x1a21ce(0x3dd)])(function(_0xa3904f,_0x493342){const _0x423068=_0x1a21ce;return(0x0,_0x41b065[_0x423068(0x478)])(_0x1aa9c1,Object[_0x423068(0x147)]({},_0xa3904f,{'id':'flip-vertical-icon','ref':_0x493342,'icon':_0x510836}));});_0xd31e07[_0x1a21ce(0x2f1)]=_0x1a21ce(0x220);let _0x6f100f={'tag':_0x1a21ce(0x33c),'attrs':{'xmlns':_0x1a21ce(0xf0),'fill':_0x1a21ce(0x2dc),'viewBox':_0x1a21ce(0x427),'width':_0x1a21ce(0x496),'height':_0x1a21ce(0x496)},'children':[{'tag':_0x1a21ce(0x11b),'attrs':{'fill':_0x1a21ce(0x22a),'d':'M1.25\x202.96401C1.25\x203.84767\x201.96634\x204.56401\x202.85\x204.56401H13.15C14.0337\x204.56401\x2014.75\x203.84767\x2014.75\x202.96401C14.75\x202.08036\x2014.0337\x201.36401\x2013.15\x201.36401H2.85C1.96635\x201.36401\x201.25\x202.08036\x201.25\x202.96401ZM2.85\x203.36401C2.62909\x203.36401\x202.45\x203.18493\x202.45\x202.96401C2.45\x202.7431\x202.62909\x202.56401\x202.85\x202.56401H13.15C13.3709\x202.56401\x2013.55\x202.7431\x2013.55\x202.96401C13.55\x203.18493\x2013.3709\x203.36401\x2013.15\x203.36401H2.85Z','fillRule':_0x1a21ce(0x2de),'clipRule':_0x1a21ce(0x2de)}},{'tag':_0x1a21ce(0x11b),'attrs':{'fill':_0x1a21ce(0x22a),'d':_0x1a21ce(0x47f)}}]},_0x2fde21=(0x0,_0x41b065[_0x1a21ce(0x3dd)])(function(_0x28609f,_0x28c172){const _0x3c9ea0=_0x1a21ce;return(0x0,_0x41b065[_0x3c9ea0(0x478)])(_0x1aa9c1,Object[_0x3c9ea0(0x147)]({},_0x28609f,{'id':'move-down-icon','ref':_0x28c172,'icon':_0x6f100f}));});_0x2fde21[_0x1a21ce(0x2f1)]=_0x1a21ce(0x12e);let _0x57eaa5={'tag':_0x1a21ce(0x33c),'attrs':{'xmlns':_0x1a21ce(0xf0),'fill':'none','viewBox':_0x1a21ce(0x427),'width':_0x1a21ce(0x496),'height':_0x1a21ce(0x496)},'children':[{'tag':_0x1a21ce(0x11b),'attrs':{'fill':_0x1a21ce(0x22a),'d':_0x1a21ce(0x24d),'fillRule':_0x1a21ce(0x2de),'clipRule':_0x1a21ce(0x2de)}},{'tag':_0x1a21ce(0x11b),'attrs':{'fill':_0x1a21ce(0x22a),'d':_0x1a21ce(0x146)}}]},_0x560c8a=(0x0,_0x41b065[_0x1a21ce(0x3dd)])(function(_0x21a421,_0x4e422e){const _0x2424de=_0x1a21ce;return(0x0,_0x41b065[_0x2424de(0x478)])(_0x1aa9c1,Object[_0x2424de(0x147)]({},_0x21a421,{'id':_0x2424de(0x4ca),'ref':_0x4e422e,'icon':_0x57eaa5}));});_0x560c8a['displayName']='MoveUpIcon';let _0xea6b7d={'tag':_0x1a21ce(0x33c),'attrs':{'xmlns':_0x1a21ce(0xf0),'fill':_0x1a21ce(0x2dc),'viewBox':'0\x200\x2016\x2016','width':_0x1a21ce(0x496),'height':'1em'},'children':[{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':_0x1a21ce(0x33e),'strokeLinecap':'round','strokeLinejoin':_0x1a21ce(0x3fa),'strokeWidth':1.3}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':_0x1a21ce(0x34c),'strokeLinecap':_0x1a21ce(0x3fa),'strokeLinejoin':_0x1a21ce(0x3fa),'strokeWidth':1.3}}]},_0x829491=(0x0,_0x41b065['forwardRef'])(function(_0x4a648d,_0x19fc81){const _0x12eff5=_0x1a21ce;return(0x0,_0x41b065[_0x12eff5(0x478)])(_0x1aa9c1,Object[_0x12eff5(0x147)]({},_0x4a648d,{'id':_0x12eff5(0x4b1),'ref':_0x19fc81,'icon':_0xea6b7d}));});_0x829491[_0x1a21ce(0x2f1)]=_0x1a21ce(0x302);let _0xc6aa2a={'tag':'svg','attrs':{'xmlns':_0x1a21ce(0xf0),'fill':_0x1a21ce(0x2dc),'viewBox':_0x1a21ce(0x427),'width':_0x1a21ce(0x496),'height':_0x1a21ce(0x496)},'children':[{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':'M13.5\x207V4.29412C13.5\x203.5794\x2012.8679\x203\x2012\x203H2.57143C1.70356\x203\x201.5\x203.5794\x201.5\x204.29412V7V10C1.5\x2010.7147\x201.70356\x2011\x202.57143\x2011H7.71429','strokeLinecap':_0x1a21ce(0x3fa),'strokeLinejoin':_0x1a21ce(0x3fa),'strokeWidth':1.2}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':'currentColor','d':'M4.2\x205.5H10.5','strokeLinecap':_0x1a21ce(0x3fa),'strokeWidth':1.2}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':_0x1a21ce(0x28d),'strokeLinecap':_0x1a21ce(0x3fa),'strokeWidth':1.2}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':_0x1a21ce(0x21f),'strokeLinejoin':_0x1a21ce(0x3fa)}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':'currentColor','d':_0x1a21ce(0x471)}}]},_0x557122=(0x0,_0x41b065[_0x1a21ce(0x3dd)])(function(_0x4786d7,_0x53f1f0){const _0x21b89d=_0x1a21ce;return(0x0,_0x41b065[_0x21b89d(0x478)])(_0x1aa9c1,Object[_0x21b89d(0x147)]({},_0x4786d7,{'id':_0x21b89d(0x23f),'ref':_0x53f1f0,'icon':_0xc6aa2a}));});_0x557122[_0x1a21ce(0x2f1)]=_0x1a21ce(0x3a7);let _0x26e966={'tag':'svg','attrs':{'xmlns':_0x1a21ce(0xf0),'fill':_0x1a21ce(0x2dc),'viewBox':_0x1a21ce(0x3b0),'width':_0x1a21ce(0x496),'height':_0x1a21ce(0x496)},'children':[{'tag':_0x1a21ce(0x11b),'attrs':{'fill':'currentColor','d':_0x1a21ce(0x3a2)}},{'tag':_0x1a21ce(0x11b),'attrs':{'fill':_0x1a21ce(0x22a),'d':_0x1a21ce(0x391),'fillRule':'evenodd','clipRule':_0x1a21ce(0x2de)}},{'tag':_0x1a21ce(0x11b),'attrs':{'fill':_0x1a21ce(0x22a),'d':'M1.6543\x2013.1665C1.6543\x2012.2828\x202.37064\x2011.5665\x203.2543\x2011.5665H13.5543C14.438\x2011.5665\x2015.1543\x2012.2828\x2015.1543\x2013.1665C15.1543\x2014.0502\x2014.438\x2014.7665\x2013.5543\x2014.7665H3.2543C2.37064\x2014.7665\x201.6543\x2014.0502\x201.6543\x2013.1665ZM3.2543\x2012.7665C3.03338\x2012.7665\x202.8543\x2012.9456\x202.8543\x2013.1665C2.8543\x2013.3874\x203.03338\x2013.5665\x203.2543\x2013.5665H13.5543C13.7752\x2013.5665\x2013.9543\x2013.3874\x2013.9543\x2013.1665C13.9543\x2012.9456\x2013.7752\x2012.7665\x2013.5543\x2012.7665H3.2543Z','fillRule':'evenodd','clipRule':_0x1a21ce(0x2de)}}]},_0x4aa8d7=(0x0,_0x41b065[_0x1a21ce(0x3dd)])(function(_0x220469,_0x3c273b){const _0x854ffa=_0x1a21ce;return(0x0,_0x41b065[_0x854ffa(0x478)])(_0x1aa9c1,Object[_0x854ffa(0x147)]({},_0x220469,{'id':'topmost-icon','ref':_0x3c273b,'icon':_0x26e966}));});_0x4aa8d7['displayName']=_0x1a21ce(0x2a7);function _0x38ad1c(_0x1f3998){return _0x1f3998['trim']()||void 0x0;}function _0x2c77f7(_0x29d85c,_0x396a13,_0xd869b1){const _0x28b01d=_0x1a21ce;var _0x598f67;return((_0x598f67=_0x29d85c[_0x28b01d(0x159)])==null?void 0x0:_0x598f67[_0x28b01d(0x1ae)]())||_0xd869b1['t']('drawing-ui.objectListPanel.typeNames.'+(0x0,_0x3ed8c6[_0x28b01d(0x1bb)])(_0x29d85c[_0x28b01d(0x497)]))+'\x20'+(_0x396a13+0x1);}function _0x5f03c9({PanelComponent:_0x221671=_0x11fb86[_0x1a21ce(0x381)]}){const _0x1bb0fc=_0x1a21ce;var _0x5a0ebf;let _0x1fafb1=(0x0,_0x416351[_0x1bb0fc(0x20b)])(_0x5cf0ce[_0x1bb0fc(0x4ac)]),_0x58bcb0={'title':_0x1fafb1['t']('drawing-ui.objectListPanel.title'),'empty':_0x1fafb1['t']('drawing-ui.objectListPanel.empty'),'showAll':_0x1fafb1['t'](_0x1bb0fc(0x364)),'hideAll':_0x1fafb1['t'](_0x1bb0fc(0x37a)),'lockAll':_0x1fafb1['t']('drawing-ui.objectListPanel.lockAll'),'unlockAll':_0x1fafb1['t'](_0x1bb0fc(0x443)),'moveForward':_0x1fafb1['t'](_0x1bb0fc(0x398)),'moveBackward':_0x1fafb1['t'](_0x1bb0fc(0x29d)),'close':_0x1fafb1['t']('drawing-ui.objectListPanel.close'),'show':_0x1fafb1['t'](_0x1bb0fc(0x327)),'hide':_0x1fafb1['t'](_0x1bb0fc(0x392)),'lock':_0x1fafb1['t']('drawing-ui.objectListPanel.lock'),'unlock':_0x1fafb1['t'](_0x1bb0fc(0x29f)),'lockHint':_0x1fafb1['t'](_0x1bb0fc(0x3dc)),'unlockHint':_0x1fafb1['t'](_0x1bb0fc(0x144)),'name':_0x1fafb1['t'](_0x1bb0fc(0x185)),'nameInput':_0x1fafb1['t'](_0x1bb0fc(0x318)),'description':_0x1fafb1['t'](_0x1bb0fc(0x42e)),'descriptionPlaceholder':_0x1fafb1['t'](_0x1bb0fc(0x29e)),'details':_0x1fafb1['t'](_0x1bb0fc(0x2b8)),'noSelection':_0x1fafb1['t'](_0x1bb0fc(0x1c8)),'locate':_0x1fafb1['t'](_0x1bb0fc(0xf6)),'expand':_0x1fafb1['t'](_0x1bb0fc(0x47a)),'collapse':_0x1fafb1['t'](_0x1bb0fc(0x463)),'dragToReorder':_0x1fafb1['t']('drawing-ui.objectListPanel.dragToReorder'),'search':_0x1fafb1['t']('drawing-ui.objectListPanel.search'),'filterAll':_0x1fafb1['t']('drawing-ui.objectListPanel.filterAll'),'filterHidden':_0x1fafb1['t'](_0x1bb0fc(0x2ba)),'filterLocked':_0x1fafb1['t'](_0x1bb0fc(0x434)),'sectionCanvas':_0x1fafb1['t'](_0x1bb0fc(0x15e)),'sectionFloating':_0x1fafb1['t'](_0x1bb0fc(0x435))},_0xc86882=(0x0,_0x416351[_0x1bb0fc(0x20b)])(_0x5cf0ce[_0x1bb0fc(0x311)]),_0x5953dc=(0x0,_0x416351['useDependency'])(_0x5cf0ce['IUniverInstanceService']),_0x4a1e28=(0x0,_0x416351['useDependency'])(_0x57dfd6[_0x1bb0fc(0x114)]),_0x197122=(0x0,_0x416351[_0x1bb0fc(0x20b)])(_0x2a2438[_0x1bb0fc(0x3e4)]),_0x1bb45d=(0x0,_0x416351[_0x1bb0fc(0x20b)])(_0x4413bb['IRenderManagerService']),[,_0x2e077b]=(0x0,_0x41b065[_0x1bb0fc(0x1c2)])(_0x308586=>_0x308586+0x1,0x0),_0x4ead25=_0x5953dc['getCurrentUnitOfType'](_0x5cf0ce[_0x1bb0fc(0x21e)][_0x1bb0fc(0x3a3)]),_0x4c8d9c=(_0x4ead25==null?void 0x0:_0x4ead25[_0x1bb0fc(0x290)]())??'',_0x41ed30=(_0x4ead25==null||(_0x5a0ebf=_0x4ead25[_0x1bb0fc(0x32d)]())==null?void 0x0:_0x5a0ebf[_0x1bb0fc(0x1a1)]())??'',_0x103243=(0x0,_0x416351['useObservable'])(()=>_0x197122[_0x1bb0fc(0x28c)],_0x197122[_0x1bb0fc(0x314)](),!0x1,[_0x197122]);(0x0,_0x41b065[_0x1bb0fc(0x2e2)])(()=>{const _0x58f2ea=_0x1bb0fc;let _0x253977=_0xc86882[_0x58f2ea(0x30f)](()=>_0x2e077b());return()=>_0x253977[_0x58f2ea(0x351)]();},[_0xc86882]);let _0x47cfd9=_0x4c8d9c&&_0x41ed30?_0x4a1e28[_0x1bb0fc(0x385)](_0x4c8d9c,_0x41ed30):{},_0x126500=(_0x4c8d9c&&_0x41ed30?_0x4a1e28[_0x1bb0fc(0x289)](_0x4c8d9c,_0x41ed30):[])[_0x1bb0fc(0x41e)](_0x4cf165=>_0x47cfd9[_0x4cf165])['filter'](_0x354d27=>!!_0x354d27)['reverse'](),_0x48c4f0=_0x126500[_0x1bb0fc(0x1c3)]((_0x5648be,_0x5dfc8c)=>(_0x5648be[(0x0,_0x11fb86[_0x1bb0fc(0xd9)])(_0x5dfc8c[_0x1bb0fc(0x497)])]+=0x1,_0x5648be),{'canvas':0x0,'floating':0x0}),_0x4b8db9={'canvas':0x0,'floating':0x0},_0x446317=_0x126500[_0x1bb0fc(0x41e)]((_0x5365f9,_0x249864)=>{const _0x23df5c=_0x1bb0fc;let _0x2d715f=(0x0,_0x11fb86[_0x23df5c(0xd9)])(_0x5365f9[_0x23df5c(0x497)]),_0x533876=_0x2d715f===_0x11fb86['OBJECT_LIST_FLOATING_SECTION_ID'],_0x49662f=_0x4b8db9[_0x2d715f]++;return{'id':_0x5365f9[_0x23df5c(0x1f5)],'name':_0x2c77f7(_0x5365f9,_0x249864,_0x1fafb1),'description':_0x5365f9[_0x23df5c(0x3c8)],'visible':_0x5365f9[_0x23df5c(0x1bf)]!==!0x0,'selectable':_0x5365f9['selectable']!==!0x1,'sectionId':_0x2d715f,'sectionTitle':_0x533876?_0x58bcb0[_0x23df5c(0x281)]:_0x58bcb0['sectionCanvas'],'capabilities':_0x533876?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x533876&&_0x49662f>0x0,'canMoveBackward':!_0x533876&&_0x49662f<_0x48c4f0['canvas']-0x1,'canReorder':!_0x533876};}),_0x412f1d=(0x0,_0x41b065[_0x1bb0fc(0x455)])(()=>(_0x103243??[])[_0x1bb0fc(0x431)](_0xfa9e61=>_0xfa9e61[_0x1bb0fc(0x197)]===_0x4c8d9c&&_0xfa9e61[_0x1bb0fc(0x4b3)]===_0x41ed30)[_0x1bb0fc(0x41e)](_0x35c467=>_0x35c467[_0x1bb0fc(0x1f5)]),[_0x103243,_0x41ed30,_0x4c8d9c]),_0x263cad=_0x412f1d[_0x412f1d[_0x1bb0fc(0x38a)]-0x1]??null,_0x308997=_0xbce337=>_0x4a1e28[_0x1bb0fc(0x214)]({'unitId':_0x4c8d9c,'subUnitId':_0x41ed30,'drawingId':_0xbce337})??null,_0x3395ae=async _0x54365b=>{const _0x38de63=_0x1bb0fc;_0x4c8d9c&&_0x54365b[_0x38de63(0x38a)]&&await _0xc86882['executeCommand'](_0x57dfd6[_0x38de63(0x120)]['id'],{'unitId':_0x4c8d9c,'drawings':_0x54365b});},_0xa824b5=async(_0x1900a9,_0x2acfc3)=>{_0x308997(_0x1900a9)&&await _0x3395ae([{'unitId':_0x4c8d9c,'subUnitId':_0x41ed30,'drawingId':_0x1900a9,..._0x2acfc3}]);},_0x42ed79=(_0x5a9041,_0x3d6094)=>{const _0x28541c=_0x1bb0fc;if(!_0x4c8d9c||!_0x41ed30)return;let _0x10d016=_0x3d6094?_0x412f1d[_0x28541c(0x24f)](_0x5a9041)?_0x412f1d[_0x28541c(0x431)](_0x2831a6=>_0x2831a6!==_0x5a9041):[..._0x412f1d,_0x5a9041]:[_0x5a9041];_0xc86882[_0x28541c(0x25e)](_0x2a2438[_0x28541c(0x2db)]['id'],_0x10d016[_0x28541c(0x41e)](_0x2ff06d=>({'unitId':_0x4c8d9c,'subUnitId':_0x41ed30,'drawingId':_0x2ff06d})));let _0x37583b=_0x10d016[_0x10d016['length']-0x1];_0x37583b?(0x0,_0x3ed8c6[_0x28541c(0x428)])(_0x1bb45d,{'unitId':_0x4c8d9c,'subUnitId':_0x41ed30,'drawingId':_0x37583b}):(0x0,_0x3ed8c6[_0x28541c(0x48b)])(_0x1bb45d,_0x4c8d9c);},_0x2c7021=async(_0x2c9823,_0xf7c1ff)=>{const _0x4079c8=_0x1bb0fc;await _0x3395ae(_0x2c9823[_0x4079c8(0x41e)](_0x27b2bc=>_0x308997(_0x27b2bc))[_0x4079c8(0x431)](_0x321e84=>!!_0x321e84)[_0x4079c8(0x431)](_0x11400f=>_0x11400f[_0x4079c8(0x1bf)]!==!0x0!==_0xf7c1ff)['map'](_0x18da9a=>({'unitId':_0x4c8d9c,'subUnitId':_0x41ed30,'drawingId':_0x18da9a[_0x4079c8(0x1f5)],'hidden':!_0xf7c1ff})));},_0x18a155=async(_0x8f4545,_0x7afbf9)=>{const _0x22438a=_0x1bb0fc;await _0x3395ae(_0x8f4545[_0x22438a(0x41e)](_0x42b9e7=>_0x308997(_0x42b9e7))[_0x22438a(0x431)](_0x1e1add=>!!_0x1e1add)[_0x22438a(0x431)](_0x568978=>_0x568978[_0x22438a(0x48e)]!==!0x1!==_0x7afbf9)[_0x22438a(0x41e)](_0x420f9f=>({'unitId':_0x4c8d9c,'subUnitId':_0x41ed30,'drawingId':_0x420f9f['drawingId'],'selectable':_0x7afbf9})));},_0x3d39d0=_0x391cf8=>{const _0x499b6e=_0x1bb0fc;let _0x507020=_0x308997(_0x391cf8);if(_0x507020)return _0x18a155([_0x391cf8],_0x507020[_0x499b6e(0x48e)]===!0x1);},_0x156cfd=async(_0x2a3023,_0x1e7ad4)=>{const _0x1aa6eb=_0x1bb0fc;var _0x54de86;let _0x43d10c=_0x38ad1c(_0x1e7ad4);(((_0x54de86=_0x308997(_0x2a3023))==null?void 0x0:_0x54de86[_0x1aa6eb(0x159)])??void 0x0)!==_0x43d10c&&await _0xa824b5(_0x2a3023,{'name':_0x43d10c});},_0x586af8=async(_0xbf9ad5,_0x22c889)=>{const _0x3bb75b=_0x1bb0fc;var _0x14ff5d;let _0x2db533=_0x38ad1c(_0x22c889);(((_0x14ff5d=_0x308997(_0xbf9ad5))==null?void 0x0:_0x14ff5d[_0x3bb75b(0x3c8)])??void 0x0)!==_0x2db533&&await _0xa824b5(_0xbf9ad5,{'description':_0x2db533});},_0x3d9df5=async(_0x215e9c,_0x852f3b)=>{const _0x9b2edc=_0x1bb0fc;_0x4c8d9c&&_0x41ed30&&await _0xc86882['executeCommand'](_0x57dfd6[_0x9b2edc(0x255)]['id'],{'unitId':_0x4c8d9c,'subUnitId':_0x41ed30,'drawingIds':[_0x215e9c],'arrangeType':_0x852f3b});};return!_0x4c8d9c||!_0x41ed30?(0x0,_0x53553e[_0x1bb0fc(0x404)])(_0x1bb0fc(0x429),{'className':_0x1bb0fc(0x1c7),'children':_0x58bcb0['title']}):(0x0,_0x53553e[_0x1bb0fc(0x404)])(_0x221671,{'labels':_0x58bcb0,'items':_0x446317,'selectedIds':_0x412f1d,'focusedId':_0x263cad,'showHeader':!0x1,'onSelect':_0x42ed79,'onSetVisible':_0x2c7021,'onSetSelectable':_0x18a155,'onCommitName':_0x156cfd,'onCommitDescription':_0x586af8,'onMoveForward':async _0x174520=>_0x3d9df5(_0x174520,_0x5cf0ce[_0x1bb0fc(0x348)]['forward']),'onMoveBackward':async _0x4ff312=>_0x3d9df5(_0x4ff312,_0x5cf0ce[_0x1bb0fc(0x348)]['backward']),'onToggleSelectable':_0x3d39d0});}function _0x5edb32(){const _0x26bea4=_0x1a21ce;return(0x0,_0x53553e[_0x26bea4(0x404)])(_0x5f03c9,{'PanelComponent':_0x11fb86[_0x26bea4(0x384)]});}let _0x1338d4=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x213d32,_0x22d7a5){const _0x2a137e=_0x1a21ce;super(),this[_0x2a137e(0x4c4)](_0x213d32['register'](_0x56bb7a,_0x5edb32)),this[_0x2a137e(0x4c4)](_0x22d7a5['register']({'BottomIcon':_0x5d5b89,'FlipHorizontalIcon':_0x3e2952,'FlipVerticalIcon':_0xd31e07,'MoveDownIcon':_0x2fde21,'MoveUpIcon':_0x560c8a,'ObjectLayersIcon':_0x829491,'ShapeFormatSettingIcon':_0x557122,'TopmostIcon':_0x4aa8d7})),this['disposeWithMe'](_0x213d32['register'](_0x116576,_0x15bbb6)),this[_0x2a137e(0x4c4)](_0x213d32[_0x2a137e(0x3b8)](_0x4a940a,_0x1d34b4)),_0x213d32['hasDefault'](_0x11fb86[_0x2a137e(0x1ee)])||this[_0x2a137e(0x4c4)](_0x213d32['register'](_0x11fb86[_0x2a137e(0x1ee)],_0x5d1131));}};_0x1338d4=_0x3f6514([_0x4512b4(0x0,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x416351[_0x1a21ce(0x273)])),_0x4512b4(0x1,(0x0,_0x5cf0ce['Inject'])(_0x416351[_0x1a21ce(0x1a6)]))],_0x1338d4);let _0x46b0ec=class extends _0x5cf0ce['Disposable']{constructor(_0x107738){const _0x2b4e2d=_0x1a21ce;super(),this[_0x2b4e2d(0x374)]=_0x107738,_0x339d5f(this,'_editingParams$',new _0x4cb228['BehaviorSubject'](null)),_0x339d5f(this,_0x2b4e2d(0x326),this[_0x2b4e2d(0x135)][_0x2b4e2d(0x2bd)]()),_0x339d5f(this,_0x2b4e2d(0x157),new _0x4cb228[(_0x2b4e2d(0x470))](!0x1)),_0x339d5f(this,_0x2b4e2d(0x3e2),this[_0x2b4e2d(0x157)]['asObservable']()),_0x339d5f(this,_0x2b4e2d(0x37f),void 0x0),this[_0x2b4e2d(0x4c4)](this[_0x2b4e2d(0x374)][_0x2b4e2d(0x11f)][_0x2b4e2d(0x3e7)](()=>{const _0x1354ce=_0x2b4e2d;let _0x42de23=this[_0x1354ce(0x21d)]();_0x42de23!=null&&_0x42de23[_0x1354ce(0x241)]&&!this[_0x1354ce(0x208)](_0x42de23)&&this[_0x1354ce(0x27f)](null);}));}['dispose'](){const _0x14d93a=_0x1a21ce;this[_0x14d93a(0x104)](),this[_0x14d93a(0x135)]['next'](null),this[_0x14d93a(0x135)][_0x14d93a(0x299)](),this[_0x14d93a(0x157)][_0x14d93a(0x395)](!0x1),this['_onSavingEditorData$'][_0x14d93a(0x299)](),super[_0x14d93a(0x351)]();}[_0x1a21ce(0x27f)](_0x105f5e){const _0x5ed9b5=_0x1a21ce;(_0x105f5e==null||!_0x105f5e[_0x5ed9b5(0x241)]||this[_0x5ed9b5(0x208)](_0x105f5e))&&(this[_0x5ed9b5(0x104)](),this['_editingParams$'][_0x5ed9b5(0x395)](_0x105f5e),(_0x105f5e==null||_0x105f5e[_0x5ed9b5(0x241)]&&this[_0x5ed9b5(0x157)]['getValue']())&&this[_0x5ed9b5(0x157)][_0x5ed9b5(0x395)](!0x1));}[_0x1a21ce(0x347)](_0x2e3a09){const _0x4f7db4=_0x1a21ce;this['_onSavingEditorData$'][_0x4f7db4(0x395)](_0x2e3a09);}[_0x1a21ce(0x21d)](){const _0x42b126=_0x1a21ce;return this['_editingParams$'][_0x42b126(0x1aa)]();}[_0x1a21ce(0x208)](_0xc629a6){const _0x43f643=_0x1a21ce;let _0x4f5c72=this[_0x43f643(0x374)]['getPermissionPoint'](new _0xdab3fa['WorkbookEditablePermission'](_0xc629a6[_0x43f643(0x197)])['id']),_0x5030ce=this['_permissionService'][_0x43f643(0x19f)](new _0xdab3fa['WorksheetEditPermission'](_0xc629a6[_0x43f643(0x197)],_0xc629a6['subUnitId'])['id']);return((_0x4f5c72==null?void 0x0:_0x4f5c72[_0x43f643(0x2f5)])??!0x0)&&((_0x5030ce==null?void 0x0:_0x5030ce['value'])??!0x0);}[_0x1a21ce(0x45c)](_0x3cf091){const _0x40403f=_0x1a21ce;let _0xbbd4d6=this['getEditing']();_0xbbd4d6&&this[_0x40403f(0x37f)]===void 0x0&&(this[_0x40403f(0x347)](!0x0),this['_completionFrame']=requestAnimationFrame(()=>{const _0x4176bb=_0x40403f;this[_0x4176bb(0x37f)]=void 0x0,this[_0x4176bb(0x21d)]()===_0xbbd4d6&&this[_0x4176bb(0x27f)](null);}));}['_clearCompletionFrame'](){const _0x4a00e1=_0x1a21ce;this[_0x4a00e1(0x37f)]!==void 0x0&&(cancelAnimationFrame(this['_completionFrame']),this[_0x4a00e1(0x37f)]=void 0x0);}[_0x1a21ce(0x4b7)](){const _0x52b243=_0x1a21ce;this['getEditing']()&&this[_0x52b243(0x27f)](null);}};_0x46b0ec=_0x3f6514([_0x4512b4(0x0,_0x5cf0ce['IPermissionService'])],_0x46b0ec);let _0x3505a0=class extends _0x5cf0ce['Disposable']{constructor(_0x5bba3e,_0x1cdc94,_0x3dbe3c,_0x93e51a,_0x203216,_0xb43bd7){const _0x4b6959=_0x1a21ce;super(),this[_0x4b6959(0x4c9)]=_0x5bba3e,this[_0x4b6959(0x451)]=_0x1cdc94,this[_0x4b6959(0x2ea)]=_0x3dbe3c,this[_0x4b6959(0x383)]=_0x93e51a,this[_0x4b6959(0x1d7)]=_0x203216,this[_0x4b6959(0x23a)]=_0xb43bd7,_0x339d5f(this,_0x4b6959(0x2a5),null),this[_0x4b6959(0x27e)](),this[_0x4b6959(0x213)](),this[_0x4b6959(0x48f)]();}[_0x1a21ce(0x27e)](){const _0x37d165=_0x1a21ce;let {scene:_0x13b03f}=this[_0x37d165(0x4c9)];this[_0x37d165(0x4c4)](_0x13b03f[_0x37d165(0x145)]['subscribeEvent'](_0x489cf3=>{const _0xa26a9b=_0x37d165;let {offsetX:_0x1f2434,offsetY:_0x597377}=_0x489cf3,_0xf3d5c4=_0x13b03f[_0xa26a9b(0x181)](_0x4413bb[_0xa26a9b(0x40c)][_0xa26a9b(0x14e)]([_0x1f2434,_0x597377]));if(_0xf3d5c4 instanceof _0x4d7701){let _0x1828e1=this[_0xa26a9b(0x23a)][_0xa26a9b(0x49e)](_0xf3d5c4[_0xa26a9b(0x197)],_0xf3d5c4['subUnitId'],_0xf3d5c4[_0xa26a9b(0x1b1)]);if((0x0,_0x24d21b[_0xa26a9b(0x373)])(this['_sheetsShapeService']['getShapeType'](_0xf3d5c4[_0xa26a9b(0x197)],_0xf3d5c4[_0xa26a9b(0x4b3)],_0xf3d5c4[_0xa26a9b(0x1b1)]))||_0x1828e1!=null&&_0x1828e1[_0xa26a9b(0x1ea)]()[_0xa26a9b(0x126)])return;this[_0xa26a9b(0x2ea)][_0xa26a9b(0x27f)]({'visible':!0x0,'unitId':_0xf3d5c4[_0xa26a9b(0x197)],'subUnitId':_0xf3d5c4[_0xa26a9b(0x4b3)],'shapeId':_0xf3d5c4['shapeId'],'shapeKey':_0xf3d5c4['oKey']});}}));}[_0x1a21ce(0x213)](){const _0x148c7f=_0x1a21ce;this['disposeWithMe'](this[_0x148c7f(0x383)][_0x148c7f(0x28c)][_0x148c7f(0x3e7)](_0x3fa2b5=>{const _0x3e58c5=_0x148c7f;if(_0x3fa2b5[_0x3e58c5(0x38a)]===0x1){let _0x5f06e8=_0x3fa2b5[0x0],_0x350736=this[_0x3e58c5(0x383)][_0x3e58c5(0x214)](_0x5f06e8);if((_0x350736==null?void 0x0:_0x350736[_0x3e58c5(0x497)])===_0x5cf0ce[_0x3e58c5(0x1c1)][_0x3e58c5(0x33f)]){var _0x275b46;let _0x20e225=this['_shapeTextEditingService'][_0x3e58c5(0x21d)]();if((_0x20e225==null?void 0x0:_0x20e225[_0x3e58c5(0x1b1)])===_0x5f06e8[_0x3e58c5(0x1f5)]&&_0x20e225[_0x3e58c5(0x241)])return;let _0x126ef2=(0x0,_0x24d21b['isConnectorShape'])(this[_0x3e58c5(0x23a)][_0x3e58c5(0x1e0)](_0x5f06e8[_0x3e58c5(0x197)],_0x5f06e8[_0x3e58c5(0x4b3)],_0x5f06e8[_0x3e58c5(0x1f5)])),_0x4e425d=!!((_0x275b46=this[_0x3e58c5(0x23a)][_0x3e58c5(0x49e)](_0x5f06e8[_0x3e58c5(0x197)],_0x5f06e8[_0x3e58c5(0x4b3)],_0x5f06e8['drawingId']))!=null&&_0x275b46['getShapeData']()[_0x3e58c5(0x126)]);(_0x126ef2||_0x4e425d)&&this['_shapeTextEditingService'][_0x3e58c5(0x27f)](null);}else this[_0x3e58c5(0x2ea)][_0x3e58c5(0x45c)]();}else this[_0x3e58c5(0x2ea)][_0x3e58c5(0x45c)]();})),this[_0x148c7f(0x4c4)](this[_0x148c7f(0x383)][_0x148c7f(0x44c)][_0x148c7f(0x3e7)](_0x2df7b=>{const _0x50dee4=_0x148c7f;let _0x3c7dd4=this['_shapeTextEditingService']['getEditing']();_0x3c7dd4&&_0x2df7b[_0x50dee4(0x25a)](_0x21671a=>_0x21671a[_0x50dee4(0x1f5)]===_0x3c7dd4[_0x50dee4(0x1b1)])&&this[_0x50dee4(0x2ea)]['setEditing'](null);}));}[_0x1a21ce(0x48f)](){const _0x5c7b12=_0x1a21ce;this[_0x5c7b12(0x4c4)](this[_0x5c7b12(0x2ea)][_0x5c7b12(0x326)]['subscribe'](_0x3bf74b=>{const _0x5ec298=_0x5c7b12;let {scene:_0x1f35bb}=this['_context'];if(this[_0x5ec298(0x2a5)]){let _0x2f87cc=_0x1f35bb[_0x5ec298(0x26e)](this[_0x5ec298(0x2a5)]);_0x2f87cc&&_0x2f87cc[_0x5ec298(0x27f)](!0x1);}if(_0x3bf74b){let _0x56e4d7=!!_0x3bf74b[_0x5ec298(0x241)],_0x4f3490=_0x1f35bb[_0x5ec298(0x26e)](_0x3bf74b[_0x5ec298(0x12d)]);_0x4f3490&&(_0x4f3490[_0x5ec298(0x27f)](_0x56e4d7),this[_0x5ec298(0x2a5)]=_0x3bf74b[_0x5ec298(0x12d)]),this[_0x5ec298(0x1d7)][_0x5ec298(0x1fa)](_0x5cf0ce[_0x5ec298(0x307)],_0x56e4d7);}else this[_0x5ec298(0x2a5)]=null,this[_0x5ec298(0x1d7)]['setContextValue'](_0x5cf0ce['FOCUSING_SHAPE_TEXT_EDITOR'],!0x1);}));}};_0x3505a0=_0x3f6514([_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x5cf0ce['Injector'])),_0x4512b4(0x2,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x46b0ec)),_0x4512b4(0x3,_0x2a2438[_0x1a21ce(0x3e4)]),_0x4512b4(0x4,_0x5cf0ce[_0x1a21ce(0x2bb)]),_0x4512b4(0x5,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x34e612[_0x1a21ce(0x457)]))],_0x3505a0);var _0x2c3da1=class extends _0x3505a0{[_0x1a21ce(0x27e)](){const _0x4c61e5=_0x1a21ce;let {scene:_0x44537f}=this[_0x4c61e5(0x4c9)],_0x42a831=this[_0x4c61e5(0x451)][_0x4c61e5(0x170)](_0x3ed8c6[_0x4c61e5(0x46e)]);this[_0x4c61e5(0x4c4)](_0x44537f['onDblclick$'][_0x4c61e5(0x3fc)](_0x6da60a=>{const _0x154eca=_0x4c61e5;let {offsetX:_0x58743f,offsetY:_0x1e52e4}=_0x6da60a,_0x3e44c6=_0x44537f[_0x154eca(0x181)](_0x4413bb['Vector2'][_0x154eca(0x14e)]([_0x58743f,_0x1e52e4]));if(!(_0x3e44c6 instanceof _0x4d7701))return;let _0xed274=this[_0x154eca(0x23a)][_0x154eca(0x49e)](_0x3e44c6[_0x154eca(0x197)],_0x3e44c6[_0x154eca(0x4b3)],_0x3e44c6[_0x154eca(0x1b1)]);(0x0,_0x24d21b[_0x154eca(0x373)])(this[_0x154eca(0x23a)][_0x154eca(0x1e0)](_0x3e44c6[_0x154eca(0x197)],_0x3e44c6[_0x154eca(0x4b3)],_0x3e44c6[_0x154eca(0x1b1)]))||_0xed274!=null&&_0xed274[_0x154eca(0x1ea)]()[_0x154eca(0x126)]||_0x42a831[_0x154eca(0x31d)]('text',{'hostType':_0x5cf0ce[_0x154eca(0x21e)][_0x154eca(0x3a3)],'unitId':_0x3e44c6[_0x154eca(0x197)],'subUnitId':_0x3e44c6[_0x154eca(0x4b3)],'shapeId':_0x3e44c6[_0x154eca(0x1b1)]});}));}};let _0x1baaf8={..._0x3456ab},_0x2790fb=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x579e16,_0x55ddbb,_0x127619,_0x328436,_0x116d35,_0x2f9f7c,_0xb20f42,_0xd374d3){const _0x38ad7a=_0x1a21ce;super(),this['_menuManagerService']=_0x579e16,this[_0x38ad7a(0x23a)]=_0x55ddbb,this[_0x38ad7a(0x378)]=_0x127619,this[_0x38ad7a(0x383)]=_0x328436,this[_0x38ad7a(0x191)]=_0x116d35,this[_0x38ad7a(0x1d7)]=_0x2f9f7c,this[_0x38ad7a(0x411)]=_0xb20f42,this['_shapeTextEditingService']=_0xd374d3,_0x339d5f(this,_0x38ad7a(0x128),null),this[_0x38ad7a(0x4a0)][_0x38ad7a(0x339)](_0x1baaf8),this[_0x38ad7a(0x439)](),this['disposeWithMe'](this['_shapeTextEditingService'][_0x38ad7a(0x326)][_0x38ad7a(0x3e7)](_0x12c6ab=>{const _0x315778=_0x38ad7a;_0x12c6ab&&this[_0x315778(0x2ef)]();}));}[_0x1a21ce(0x27b)](){const _0x5d3de8=_0x1a21ce;this[_0x5d3de8(0x128)]||=this[_0x5d3de8(0x4c4)]((0x0,_0x3ed8c6[_0x5d3de8(0x467)])(this[_0x5d3de8(0x411)],_0x5cf0ce[_0x5d3de8(0x21e)]['UNIVER_SHEET'],_0x18206b=>this[_0x5d3de8(0x14f)](_0x18206b)));}[_0x1a21ce(0x439)](){const _0x1efaaf=_0x1a21ce;this[_0x1efaaf(0x191)][_0x1efaaf(0x2df)](_0x5cf0ce['DrawingTypeEnum'][_0x1efaaf(0x33f)],(_0x13409e,_0x14713d,_0x479795,_0x2d855f)=>{const _0x51584=_0x1efaaf;let _0xee91d7=this['_sheetsShapeService']['getShapeTypeById'](_0x13409e,_0x14713d,_0x479795),_0x3de69e=this[_0x51584(0x23a)][_0x51584(0x23d)](_0x13409e,_0x14713d,_0x479795),_0x5b8e88=_0xee91d7!==void 0x0&&!(0x0,_0x24d21b[_0x51584(0x373)])(_0xee91d7)&&!(_0x3de69e!=null&&_0x3de69e[_0x51584(0x126)]);return[{'label':'sheets-shape-ui.editShape','index':0x0,'commandId':_0x2a1c58['id'],'commandParams':{'unitId':_0x13409e,'subUnitId':_0x14713d,'drawingId':_0x479795,'mode':_0x51584(0x204)},'disable':!0x1},..._0x5b8e88?[{'label':_0x51584(0xe6),'index':0x1,'commandId':_0x2a1c58['id'],'commandParams':{'unitId':_0x13409e,'subUnitId':_0x14713d,'drawingId':_0x479795,'mode':_0x51584(0x32c)},'disable':!0x1}]:[],{'label':_0x51584(0x365),'index':0x2,'commandId':_0x57dfd6[_0x51584(0x22e)]['id'],'commandParams':{'unitId':_0x13409e,'drawings':[{'unitId':_0x13409e,'subUnitId':_0x14713d,'drawingId':_0x479795,'drawingType':_0x2d855f}]},'disable':!0x1},{'label':_0x51584(0x375),'index':0x3,'commandId':_0x34e612['ToggleSheetsShapeFlipCommand']['id'],'commandParams':{'unitId':_0x13409e,'subUnitId':_0x14713d,'shapeId':_0x479795,'flipH':!0x0},'disable':!0x1},{'label':_0x51584(0x11c),'index':0x4,'commandId':_0x34e612[_0x51584(0x47d)]['id'],'commandParams':{'unitId':_0x13409e,'subUnitId':_0x14713d,'shapeId':_0x479795,'flipV':!0x0},'disable':!0x1}];},_0x1efaaf(0x296));}[_0x1a21ce(0x14f)](_0x1c011d){const _0xfbe132=_0x1a21ce;let _0x3a7753=new _0x5cf0ce['DisposableCollection'](),_0x417b54=null,_0x5e840c=()=>{const _0x155613=_0x1cfe;if(!_0x417b54)return;let _0xde12c=this['_drawingManagerService'][_0x155613(0x314)](),_0x949ad4=_0xde12c[_0x155613(0x38a)]===0x0||_0xde12c[_0x155613(0x38a)]===0x1&&_0xde12c[_0x155613(0x25a)](_0x167fe5=>_0x167fe5[_0x155613(0x197)]===(_0x417b54==null?void 0x0:_0x417b54[_0x155613(0x197)])&&_0x167fe5['subUnitId']===(_0x417b54==null?void 0x0:_0x417b54[_0x155613(0x4b3)])&&_0x167fe5[_0x155613(0x1f5)]===(_0x417b54==null?void 0x0:_0x417b54[_0x155613(0x1f5)]));_0x417b54=null,_0x949ad4&&(this[_0x155613(0x1d7)][_0x155613(0x1fa)](_0x5cf0ce['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x155613(0x383)][_0x155613(0x149)](null));};return _0x3a7753[_0xfbe132(0x36d)](_0x1c011d['createControl$'][_0xfbe132(0x3e7)](()=>{const _0x3a0f51=_0xfbe132;let _0x200afd=_0x1c011d['getSelectedObjectMap']();if(_0x200afd[_0x3a0f51(0x32b)]>0x1){_0x5e840c();return;}let _0x29d68e=_0x200afd['values']()[_0x3a0f51(0x395)]()[_0x3a0f51(0x2f5)];if(!_0x29d68e){_0x5e840c();return;}let _0x23653f=this[_0x3a0f51(0x383)][_0x3a0f51(0x372)](_0x29d68e[_0x3a0f51(0x30b)]);if(!_0x23653f||_0x23653f['drawingType']!==_0x5cf0ce[_0x3a0f51(0x1c1)][_0x3a0f51(0x33f)]){_0x5e840c();return;}let {unitId:_0x1d350a,subUnitId:_0x23226d,drawingId:_0x2d6e78}=_0x23653f;_0x417b54={'unitId':_0x1d350a,'subUnitId':_0x23226d,'drawingId':_0x2d6e78},this[_0x3a0f51(0x1d7)][_0x3a0f51(0x1fa)](_0x5cf0ce[_0x3a0f51(0x2ad)],!0x0),this[_0x3a0f51(0x383)]['getFocusDrawings']()[_0x3a0f51(0x169)](_0x59f9cc=>_0x59f9cc[_0x3a0f51(0x197)]===_0x1d350a&&_0x59f9cc[_0x3a0f51(0x4b3)]===_0x23226d&&_0x59f9cc[_0x3a0f51(0x1f5)]===_0x2d6e78)||this[_0x3a0f51(0x383)][_0x3a0f51(0x149)]([{'unitId':_0x1d350a,'subUnitId':_0x23226d,'drawingId':_0x2d6e78}]);})),_0x3a7753[_0xfbe132(0x36d)](_0x1c011d['clearControl$']['subscribe'](()=>{_0x5e840c();})),(0x0,_0x5cf0ce['toDisposable'])(()=>{_0x3a7753['dispose'](),_0x5e840c();});}['_clearFocusedShape'](){const _0x35a515=_0x1a21ce;this['_contextService'][_0x35a515(0x1fa)](_0x5cf0ce['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x35a515(0x383)][_0x35a515(0x149)](null);}};_0x2790fb=_0x3f6514([_0x4512b4(0x0,_0x416351[_0x1a21ce(0x46b)]),_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x34e612['SheetsShapeService'])),_0x4512b4(0x2,_0x5cf0ce[_0x1a21ce(0x311)]),_0x4512b4(0x3,_0x2a2438[_0x1a21ce(0x3e4)]),_0x4512b4(0x4,(0x0,_0x5cf0ce['Inject'])(_0x3e532c[_0x1a21ce(0x199)])),_0x4512b4(0x5,_0x5cf0ce['IContextService']),_0x4512b4(0x6,_0x4413bb[_0x1a21ce(0x399)]),_0x4512b4(0x7,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x46b0ec))],_0x2790fb);function _0x4106a9(_0x2a9d1c,_0x33ee64,_0x5c5e88,_0x15494a){const _0x29fedc=_0x1a21ce;let _0x1e3e53=(0x0,_0x2a2438[_0x29fedc(0x267)])(_0x2a9d1c,_0x33ee64,_0x5c5e88),_0x17902a=[];for(let _0x2c366b of _0x33ee64){let _0x46d21e=_0x1e3e53[_0x29fedc(0x156)]['get'](_0x2c366b['drawingId']),_0x40b666=_0x15494a(_0x2c366b);_0x46d21e&&_0x40b666&&_0x17902a[_0x29fedc(0x109)]({'targetShapeId':_0x46d21e,'source':_0x40b666});}return _0x17902a;}let _0x5819ea=class extends _0x5cf0ce['Disposable']{constructor(_0x510cc5,_0x5dbfba,_0x35b8e2,_0x852671){const _0x18f7cd=_0x1a21ce;super(),this['_univerInstanceService']=_0x510cc5,this['_sheetInterceptorService']=_0x5dbfba,this['_sheetDrawingService']=_0x35b8e2,this['_sheetsShapeService']=_0x852671,this[_0x18f7cd(0x3a4)]();}[_0x1a21ce(0x3a4)](){const _0x46f8d9=_0x1a21ce;this[_0x46f8d9(0x4c4)](this[_0x46f8d9(0x1ba)][_0x46f8d9(0x473)]({'getMutations':_0x4eede6=>{const _0x375d47=_0x46f8d9;if(_0x4eede6['id']===_0xdab3fa[_0x375d47(0x20f)]['id']){let _0x1add80=(0x0,_0xdab3fa[_0x375d47(0x12f)])(this[_0x375d47(0x2d5)],_0x4eede6[_0x375d47(0x46d)]);if(!_0x1add80)return{'redos':[],'undos':[]};let {unitId:_0x327553,subUnitId:_0x169588}=_0x1add80,_0x564f19=this['_sheetDrawingService']['getDrawingData'](_0x327553,_0x169588),_0x506c90=Object[_0x375d47(0x3da)](_0x564f19)[_0x375d47(0x431)](_0x4aeb7e=>_0x4aeb7e[_0x375d47(0x497)]===_0x5cf0ce[_0x375d47(0x1c1)][_0x375d47(0x33f)]);if(_0x506c90[_0x375d47(0x38a)]===0x0)return{'redos':[],'undos':[]};let _0x5c9495=[],_0x1732d3=[];for(let _0x3a780a=0x0;_0x3a780a<_0x506c90[_0x375d47(0x38a)];_0x3a780a++){let _0x3fabd4=_0x506c90[_0x3a780a],_0x10ad63=this['_sheetsShapeService'][_0x375d47(0x49e)](_0x3fabd4[_0x375d47(0x197)],_0x3fabd4[_0x375d47(0x4b3)],_0x3fabd4[_0x375d47(0x1f5)]);_0x10ad63&&(_0x5c9495['push']({'id':_0x34e612[_0x375d47(0x450)]['id'],'params':{'unitId':_0x327553,'subUnitId':_0x169588,'shapeId':_0x3fabd4[_0x375d47(0x1f5)]}}),_0x1732d3[_0x375d47(0x109)]({'id':_0x34e612[_0x375d47(0x2e6)]['id'],'params':{'unitId':_0x327553,'subUnitId':_0x169588,'shapeId':_0x3fabd4['drawingId'],'shapeType':_0x10ad63[_0x375d47(0x1e0)](),'shapeData':JSON[_0x375d47(0x186)](JSON[_0x375d47(0x41f)](_0x10ad63['getShapeData']()))}}));}return{'redos':_0x5c9495,'undos':_0x1732d3};}if(_0x4eede6['id']===_0xdab3fa[_0x375d47(0x3ae)]['id']){let {unitId:_0x207489,subUnitId:_0x10a3e6,targetSubUnitId:_0x1f7f82,copyContext:_0x4c915d}=_0x4eede6[_0x375d47(0x46d)];if(!_0x207489||!_0x10a3e6||!_0x1f7f82)return{'redos':[],'undos':[]};let _0x281b9f=this['_sheetDrawingService']['getDrawingData'](_0x207489,_0x10a3e6),_0x502ff5=Object['values'](_0x281b9f)[_0x375d47(0x431)](_0x45a2b5=>_0x45a2b5[_0x375d47(0x497)]===_0x5cf0ce['DrawingTypeEnum'][_0x375d47(0x33f)]);if(_0x502ff5[_0x375d47(0x38a)]===0x0)return{'redos':[],'undos':[]};let _0x1b19d4=_0x4106a9(_0x4c915d,_0x502ff5,{'unitId':_0x207489,'sourceSubUnitId':_0x10a3e6,'targetSubUnitId':_0x1f7f82},_0xbb2156=>{const _0x59bb90=_0x375d47;let _0x12fe53=this[_0x59bb90(0x23a)]['getShapeModel'](_0xbb2156[_0x59bb90(0x197)],_0xbb2156['subUnitId'],_0xbb2156[_0x59bb90(0x1f5)]);if(_0x12fe53)return{'shapeType':_0x12fe53[_0x59bb90(0x1e0)](),'shapeData':JSON['parse'](JSON[_0x59bb90(0x41f)](_0x12fe53['getShapeData']()))};}),_0x620c90=[],_0x46d2c5=[];for(let {targetShapeId:_0x387208,source:_0x2d96a4}of _0x1b19d4)_0x620c90['push']({'id':_0x34e612[_0x375d47(0x2e6)]['id'],'params':{'unitId':_0x207489,'subUnitId':_0x1f7f82,'shapeId':_0x387208,'shapeType':_0x2d96a4[_0x375d47(0xde)],'shapeData':_0x2d96a4[_0x375d47(0x476)]}}),_0x46d2c5[_0x375d47(0x109)]({'id':_0x34e612[_0x375d47(0x450)]['id'],'params':{'unitId':_0x207489,'subUnitId':_0x1f7f82,'shapeId':_0x387208}});return{'redos':_0x620c90,'undos':_0x46d2c5};}return{'redos':[],'undos':[]};}}));}};_0x5819ea=_0x3f6514([_0x4512b4(0x0,(0x0,_0x5cf0ce['Inject'])(_0x5cf0ce[_0x1a21ce(0x1d2)])),_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0xdab3fa[_0x1a21ce(0x249)])),_0x4512b4(0x2,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x57dfd6[_0x1a21ce(0x114)])),_0x4512b4(0x3,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x34e612['SheetsShapeService']))],_0x5819ea);let _0x4f13f1=class extends _0x5cf0ce['Disposable']{constructor(_0x1051ed,_0x45c4bf,_0x263390,_0x4fd4df,_0x1df6d5,_0x57064b){const _0x4b242b=_0x1a21ce;super(),this[_0x4b242b(0x378)]=_0x1051ed,this[_0x4b242b(0x411)]=_0x45c4bf,this[_0x4b242b(0x383)]=_0x263390,this[_0x4b242b(0x3b2)]=_0x4fd4df,this[_0x4b242b(0x2f0)]=_0x1df6d5,this[_0x4b242b(0x188)]=_0x57064b,_0x339d5f(this,_0x4b242b(0x183),new Set()),this['_initialize']();}[_0x1a21ce(0x49d)](){const _0x18d1e8=_0x1a21ce;this['_drawingAddListener'](),this[_0x18d1e8(0x107)](),this[_0x18d1e8(0x336)]();}[_0x1a21ce(0x298)](){const _0xda1304=_0x1a21ce;this[_0xda1304(0x4c4)](this[_0xda1304(0x383)][_0xda1304(0x3f6)][_0xda1304(0x3e7)](_0x188c87=>{const _0x264d01=_0xda1304;this[_0x264d01(0x252)](_0x188c87);}));}[_0x1a21ce(0x107)](){const _0x48e987=_0x1a21ce;this[_0x48e987(0x4c4)](this[_0x48e987(0x378)][_0x48e987(0x30f)]((_0x21bf25,_0x315ecc)=>{const _0x29cf15=_0x48e987;if(_0x21bf25['id']===_0x34e612['UpdateSheetsShapeDataMutation']['id']){let {unitId:_0x151d7f,subUnitId:_0x36387d,shapeId:_0x14d025}=_0x21bf25[_0x29cf15(0x46d)],_0x34a225=this[_0x29cf15(0x246)](_0x151d7f),_0x1712ab=(0x0,_0x2a2438[_0x29cf15(0x414)])({'unitId':_0x151d7f,'subUnitId':_0x36387d,'drawingId':_0x14d025}),_0x2fe2f4=_0x34a225==null?void 0x0:_0x34a225[_0x29cf15(0x2d7)][_0x29cf15(0x26e)](_0x1712ab);_0x2fe2f4&&(this['_sheetDrawingShapeRenderController'][_0x29cf15(0x3fd)](_0x2fe2f4),this['_sheetDrawingShapeRenderController'][_0x29cf15(0x265)](_0x2fe2f4,{'unitId':_0x151d7f,'subUnitId':_0x36387d,'shapeId':_0x14d025}),_0x2fe2f4[_0x29cf15(0x2a3)](!0x0));}else{if(_0x21bf25['id']===_0x34e612[_0x29cf15(0x2e6)]['id']){var _0x11638c;let {unitId:_0x297f8f,subUnitId:_0x3c62f2,shapeId:_0x5151e4}=_0x21bf25['params'],_0x41d4f9=this['_getSceneAndTransformerByDrawingSearch'](_0x297f8f);if(_0x41d4f9==null)return;let {scene:_0x46421d}=_0x41d4f9,_0x2c9771=(0x0,_0x2a2438[_0x29cf15(0x414)])({'unitId':_0x297f8f,'subUnitId':_0x3c62f2,'drawingId':_0x5151e4}),_0x4e1470=_0x46421d[_0x29cf15(0x26e)](_0x2c9771);if(!((_0x11638c=this[_0x29cf15(0x411)]['getRenderUnitById'](_0x297f8f))!=null&&_0x11638c[_0x29cf15(0x18b)](_0x3e532c[_0x29cf15(0x432)])['getSkeleton'](_0x3c62f2)))return!0x1;if(_0x4e1470)return;if(_0x315ecc!=null&&_0x315ecc['fromChangeset']){queueMicrotask(()=>{const _0x4cc015=_0x29cf15;this[_0x4cc015(0x13b)]||this[_0x4cc015(0x252)]([{'unitId':_0x297f8f,'subUnitId':_0x3c62f2,'drawingId':_0x5151e4}]);});return;}this[_0x29cf15(0x252)]([{'unitId':_0x297f8f,'subUnitId':_0x3c62f2,'drawingId':_0x5151e4}]);}}}));}['_shapeUpdateListener'](){const _0x7d5d36=_0x1a21ce;this[_0x7d5d36(0x4c4)](this['_drawingManagerService'][_0x7d5d36(0x479)][_0x7d5d36(0x3e7)](_0x360d64=>{const _0x3336fa=_0x7d5d36;_0x360d64[_0x3336fa(0x123)](_0x298aea=>{const _0x178fa4=_0x3336fa;let {unitId:_0x299629,subUnitId:_0x138332,drawingId:_0x2adb6f}=_0x298aea,_0x14d67a=this[_0x178fa4(0x383)][_0x178fa4(0x214)](_0x298aea);if(_0x14d67a==null)return;let {transform:_0x2924ab,drawingType:_0x2a32dd,srcRect:_0x22c816,prstGeom:_0x35775a}=_0x14d67a;if(_0x2a32dd!==_0x5cf0ce[_0x178fa4(0x1c1)][_0x178fa4(0x33f)])return;let _0x4a9709=this[_0x178fa4(0x246)](_0x299629);if(_0x4a9709==null)return;let {scene:_0x30310d,transformer:_0x24d53f}=_0x4a9709;if(_0x2924ab==null)return!0x0;let _0xff2965=(0x0,_0x2a2438['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x299629,'subUnitId':_0x138332,'drawingId':_0x2adb6f}),_0x1407c3=_0x30310d['getObjectIncludeInGroup'](_0xff2965);if(_0x1407c3==null)return!0x0;_0x1407c3['setSrcRect'](_0x22c816),_0x1407c3['setPrstGeom'](_0x35775a);});}));}['_insertShapes'](_0xaf776b){const _0x50e890=_0x1a21ce;for(let _0x5e4da1 of _0xaf776b){var _0x570198;let {unitId:_0x33050d,subUnitId:_0xe14aec,drawingId:_0x134e8d}=_0x5e4da1,_0x3184f3=this[_0x50e890(0x246)](_0x33050d),_0xa618de=(_0x570198=(0x0,_0x11fb86[_0x50e890(0x234)])(this[_0x50e890(0x3b2)],_0x33050d))==null?void 0x0:_0x570198[_0x50e890(0x4b3)];if(_0x3184f3==null||_0xa618de!==_0xe14aec)return;let _0x47f31f=(0x0,_0x2a2438[_0x50e890(0x414)])({'unitId':_0x33050d,'subUnitId':_0xe14aec,'drawingId':_0x134e8d});if(this[_0x50e890(0x183)][_0x50e890(0x3c6)](_0x47f31f)||_0x3184f3[_0x50e890(0x2d7)]['getObjectIncludeInGroup'](_0x47f31f)!=null)return;let _0x237701=this['_drawingManagerService']['getDrawingByParam'](_0x5e4da1);if(_0x237701==null||_0x237701['drawingType']!==_0x5cf0ce['DrawingTypeEnum'][_0x50e890(0x33f)])return;let _0x4bc364=_0x237701[_0x50e890(0x366)]||{};if((0x0,_0x24d21b[_0x50e890(0x373)])(_0x4bc364[_0x50e890(0xde)])){let _0x39f58f=_0x237701['transform'];_0x39f58f&&(_0x237701[_0x50e890(0x3a9)]={..._0x39f58f,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x50e890(0x183)]['add'](_0x47f31f);try{this[_0x50e890(0x188)][_0x50e890(0x1d5)](_0x237701,_0x3184f3[_0x50e890(0x2d7)]);}finally{this['_insertingShapeKeys'][_0x50e890(0x1ef)](_0x47f31f);}queueMicrotask(()=>{const _0x4ad14a=_0x50e890;if(this[_0x4ad14a(0x13b)])return;let _0x1782d1=(0x0,_0x2a2438['getDrawingShapeKeyByDrawingSearch'])(_0x5e4da1);if(!_0x3184f3[_0x4ad14a(0x2d7)][_0x4ad14a(0x26e)](_0x1782d1))return;let _0x471a8d=this['_drawingManagerService']['getDrawingByParam'](_0x5e4da1);_0x471a8d&&this[_0x4ad14a(0x383)][_0x4ad14a(0x283)]([_0x471a8d]);});}}[_0x1a21ce(0x246)](_0x303d61){const _0x195898=_0x1a21ce;if(_0x303d61==null)return;let _0x49057c=this[_0x195898(0x411)][_0x195898(0x3ce)](_0x303d61),_0x5f2dd4=_0x49057c==null?void 0x0:_0x49057c[_0x195898(0x2d7)];return _0x5f2dd4==null?null:{'scene':_0x5f2dd4,'transformer':_0x5f2dd4['getTransformerByCreate']()};}};_0x4f13f1=_0x3f6514([_0x4512b4(0x0,_0x5cf0ce['ICommandService']),_0x4512b4(0x1,_0x4413bb[_0x1a21ce(0x399)]),_0x4512b4(0x2,_0x2a2438[_0x1a21ce(0x3e4)]),_0x4512b4(0x3,_0x5cf0ce[_0x1a21ce(0x1d2)]),_0x4512b4(0x4,(0x0,_0x5cf0ce['Inject'])(_0x11fb86[_0x1a21ce(0x338)])),_0x4512b4(0x5,(0x0,_0x5cf0ce['Inject'])(_0x251705))],_0x4f13f1);let _0xeaa6f0={'normal':{'fill':_0x24d21b[_0x1a21ce(0x1a9)][_0x1a21ce(0x38e)],'stroke':_0x24d21b[_0x1a21ce(0x1a9)][_0x1a21ce(0x3cd)],'strokeWidth':_0x24d21b[_0x1a21ce(0x1a9)][_0x1a21ce(0x2fe)]},'highlighted':{'fill':_0x1a21ce(0x36a),'stroke':_0x1a21ce(0x4b2),'strokeWidth':0x2}};var _0x429b69=class extends _0x4413bb[_0x1a21ce(0xe7)]{constructor(_0x4c3d68,_0x20b488){const _0x5d66a1=_0x1a21ce;super(_0x4c3d68,_0x20b488),_0x339d5f(this,_0x5d66a1(0x15b),''),_0x339d5f(this,_0x5d66a1(0x23b),-0x1),_0x339d5f(this,_0x5d66a1(0x29c),''),_0x339d5f(this,_0x5d66a1(0x251),''),_0x339d5f(this,'_isHighlighted',!0x1),_0x20b488&&this[_0x5d66a1(0x4b8)](_0x20b488);}[_0x1a21ce(0x408)](){const _0x5bb359=_0x1a21ce;return{'unitId':this[_0x5bb359(0x29c)],'subUnitId':this[_0x5bb359(0x251)],'shapeId':this[_0x5bb359(0x15b)],'cxnIndex':this[_0x5bb359(0x23b)]};}[_0x1a21ce(0x1af)](_0x4dcbcd){const _0x1bb78b=_0x1a21ce;this[_0x1bb78b(0x245)]!==_0x4dcbcd&&(this[_0x1bb78b(0x245)]=_0x4dcbcd,this[_0x1bb78b(0x2a3)](!0x0));}[_0x1a21ce(0x18c)](){const _0x13f31c=_0x1a21ce;return this[_0x13f31c(0x245)];}['setShapeProps'](_0x14268e){const _0x3fe3e1=_0x1a21ce;_0x14268e['targetShapeId']!==void 0x0&&(this['_targetShapeId']=_0x14268e[_0x3fe3e1(0x1b6)]),_0x14268e[_0x3fe3e1(0x1e9)]!==void 0x0&&(this[_0x3fe3e1(0x23b)]=_0x14268e['cxnIndex']),_0x14268e[_0x3fe3e1(0x197)]!==void 0x0&&(this['_unitId']=_0x14268e[_0x3fe3e1(0x197)]),_0x14268e['subUnitId']!==void 0x0&&(this[_0x3fe3e1(0x251)]=_0x14268e[_0x3fe3e1(0x4b3)]),_0x14268e[_0x3fe3e1(0x18c)]!==void 0x0&&(this[_0x3fe3e1(0x245)]=_0x14268e[_0x3fe3e1(0x18c)]),this['transformByState']({'width':_0x14268e[_0x3fe3e1(0x36b)]??_0x24d21b[_0x3fe3e1(0x1a9)][_0x3fe3e1(0x177)]*0x2,'height':_0x14268e[_0x3fe3e1(0x31b)]??_0x24d21b['ShapeDefaultConfig'][_0x3fe3e1(0x177)]*0x2});}[_0x1a21ce(0x445)](_0x542d66){const _0x2824e3=_0x1a21ce;let _0x1ff6d7=this[_0x2824e3(0x245)]?_0xeaa6f0[_0x2824e3(0x449)]:_0xeaa6f0[_0x2824e3(0x2bf)];_0x4413bb[_0x2824e3(0x3d7)][_0x2824e3(0x3c9)](_0x542d66,{'radius':_0x24d21b[_0x2824e3(0x1a9)]['cxnPointRadius'],'fill':_0x1ff6d7[_0x2824e3(0x4ae)],'stroke':_0x1ff6d7[_0x2824e3(0x1f2)],'strokeWidth':_0x1ff6d7[_0x2824e3(0xef)],'evented':!0x0});}};let _0x1992a8=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x523ed2,_0x155ee4,_0x172305,_0x1872bc){const _0x2a936b=_0x1a21ce;super(),this['_context']=_0x523ed2,this[_0x2a936b(0x411)]=_0x155ee4,this[_0x2a936b(0x383)]=_0x172305,this[_0x2a936b(0x23a)]=_0x1872bc,_0x339d5f(this,'_connectionSiteObjects',[]),_0x339d5f(this,_0x2a936b(0x382),null),_0x339d5f(this,_0x2a936b(0x3ac),-0x1),_0x339d5f(this,_0x2a936b(0x42a),null),_0x339d5f(this,_0x2a936b(0x29c),''),_0x339d5f(this,_0x2a936b(0x251),''),_0x339d5f(this,_0x2a936b(0x2e4),null);}[_0x1a21ce(0x2bc)](_0x4fb599,_0xc684c2,_0x45b7d6,_0x24cd35){const _0x1b1934=_0x1a21ce;this[_0x1b1934(0x42a)]=_0x4fb599,this[_0x1b1934(0x29c)]=_0xc684c2,this[_0x1b1934(0x251)]=_0x45b7d6,this['_draggingConnectorId']=_0x24cd35;}[_0x1a21ce(0x3db)](_0x2c0cf2){const _0x369df3=_0x1a21ce;if(!this[_0x369df3(0x42a)])return null;let _0x5e36d7=this['_findShapeAtPoint'](_0x2c0cf2);return _0x5e36d7?(this[_0x369df3(0x382)]!==_0x5e36d7[_0x369df3(0x1b1)]&&(this[_0x369df3(0x2a9)](),this[_0x369df3(0x1db)](_0x5e36d7[_0x369df3(0x1b1)],_0x5e36d7['shapeModel']),this[_0x369df3(0x382)]=_0x5e36d7[_0x369df3(0x1b1)]),this[_0x369df3(0x260)](_0x2c0cf2)):(this['_activeTargetShapeId']!==null&&(this[_0x369df3(0x2a9)](),this[_0x369df3(0x382)]=null),null);}['endConnectionDetection'](){const _0x1df500=_0x1a21ce;this['_clearConnectionSites'](),this[_0x1df500(0x42a)]=null,this[_0x1df500(0x382)]=null,this[_0x1df500(0x3ac)]=-0x1,this['_draggingConnectorId']=null;}[_0x1a21ce(0x43b)](){const _0x99ed30=_0x1a21ce;return this['_activeTargetShapeId']===null||this[_0x99ed30(0x3ac)]<0x0?null:{'shapeId':this[_0x99ed30(0x382)],'cxnIndex':this[_0x99ed30(0x3ac)]};}['_findShapeAtPoint'](_0x4c98c9){const _0x11c4f3=_0x1a21ce;let _0x305868=this[_0x11c4f3(0x383)][_0x11c4f3(0x385)](this[_0x11c4f3(0x29c)],this['_subUnitId']);for(let _0x58efe1 of Object['keys'](_0x305868)){if(_0x58efe1===this[_0x11c4f3(0x2e4)]||_0x305868[_0x58efe1]['drawingType']!==_0x5cf0ce['DrawingTypeEnum']['DRAWING_SHAPE'])continue;let _0x1c5880=this[_0x11c4f3(0x23a)][_0x11c4f3(0x49e)](this['_unitId'],this['_subUnitId'],_0x58efe1);if(!_0x1c5880||(0x0,_0x24d21b[_0x11c4f3(0x373)])(_0x1c5880['getShapeType']())||_0x1c5880[_0x11c4f3(0x4a2)]()[_0x11c4f3(0x38a)]===0x0||!this[_0x11c4f3(0x42a)])continue;let _0x27714f=(0x0,_0x2a2438[_0x11c4f3(0x414)])({'unitId':this[_0x11c4f3(0x29c)],'subUnitId':this['_subUnitId'],'drawingId':_0x58efe1}),_0x613733=this[_0x11c4f3(0x42a)]['getObjectIncludeInGroup'](_0x27714f);if(!_0x613733)continue;let {left:_0x55385d,top:_0x48fc3c,width:_0x24afe3,height:_0x260691}=_0x613733['getRealBound'](),_0x3b2b69=_0x55385d+_0x24afe3/0x2,_0x105f95=_0x48fc3c+_0x260691/0x2,_0x210eb0=_0x613733['transform'][_0x11c4f3(0x3fb)](),_0x10ecc5=new _0x4413bb['Transform']([_0x210eb0[0x0],_0x210eb0[0x1],_0x210eb0[0x2],_0x210eb0[0x3],_0x3b2b69,_0x105f95]),_0x33f728=_0x613733[_0x11c4f3(0x1cb)](),_0x38761f=(_0x613733[_0x11c4f3(0x3eb)]&&(_0x33f728==null?void 0x0:_0x33f728[_0x11c4f3(0x3ed)])===_0x4413bb[_0x11c4f3(0x163)][_0x11c4f3(0x42d)]?_0x33f728[_0x11c4f3(0x4c8)][_0x11c4f3(0x167)](_0x10ecc5):_0x10ecc5)[_0x11c4f3(0x41d)]()[_0x11c4f3(0x292)](_0x4c98c9),_0x1d97fa=_0x24afe3/0x2,_0x34034c=_0x260691/0x2;if(_0x38761f['x']>=-_0x1d97fa-0x5&&_0x38761f['x']<=_0x1d97fa+0x5&&_0x38761f['y']>=-_0x34034c-0x5&&_0x38761f['y']<=_0x34034c+0x5)return{'shapeId':_0x58efe1,'shapeModel':_0x1c5880};}return null;}[_0x1a21ce(0x1db)](_0x226f66,_0x1cb0ca){const _0x424797=_0x1a21ce;if(!this[_0x424797(0x42a)])return;let _0x138157=(0x0,_0x2a2438['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0x424797(0x29c)],'subUnitId':this[_0x424797(0x251)],'drawingId':_0x226f66}),_0x7acbc9=this[_0x424797(0x42a)][_0x424797(0x26e)](_0x138157);if(!_0x7acbc9)return;let {left:_0x25987b,top:_0x238333,width:_0x1f5c36,height:_0x260b17}=_0x7acbc9[_0x424797(0x148)](),_0x5447c4=_0x25987b+_0x1f5c36/0x2,_0x125b7b=_0x238333+_0x260b17/0x2,_0x26db17=_0x7acbc9[_0x424797(0x3a9)][_0x424797(0x3fb)](),_0x160b66=new _0x4413bb['Transform']([_0x26db17[0x0],_0x26db17[0x1],_0x26db17[0x2],_0x26db17[0x3],_0x5447c4,_0x125b7b]),_0x4829b7=_0x7acbc9[_0x424797(0x1cb)](),_0x212f4f=_0x7acbc9[_0x424797(0x3eb)]&&(_0x4829b7==null?void 0x0:_0x4829b7[_0x424797(0x3ed)])===_0x4413bb[_0x424797(0x163)][_0x424797(0x42d)]?_0x4829b7['ancestorTransform'][_0x424797(0x167)](_0x160b66):_0x160b66;_0x1cb0ca[_0x424797(0x433)]({'width':_0x1f5c36,'height':_0x260b17});let _0x529820=_0x1cb0ca[_0x424797(0x4a2)]();for(let _0x37177c of _0x529820){let _0x4247c2=_0x37177c['x']-_0x1f5c36/0x2,_0x1b14f7=_0x37177c['y']-_0x260b17/0x2,_0x47695a=_0x212f4f[_0x424797(0x292)]({'x':_0x4247c2,'y':_0x1b14f7}),_0x4f621b=_0x47695a['x'],_0xe1dc11=_0x47695a['y'],_0x3d1d9c=new _0x429b69('connection-site-'+_0x226f66+'-'+_0x37177c[_0x424797(0x291)],{'left':_0x4f621b-_0x24d21b[_0x424797(0x1a9)][_0x424797(0x177)],'top':_0xe1dc11-_0x24d21b[_0x424797(0x1a9)][_0x424797(0x177)],'targetShapeId':_0x226f66,'cxnIndex':_0x37177c[_0x424797(0x291)],'unitId':this[_0x424797(0x29c)],'subUnitId':this[_0x424797(0x251)],'width':_0x24d21b['ShapeDefaultConfig'][_0x424797(0x177)]*0x2,'height':_0x24d21b[_0x424797(0x1a9)][_0x424797(0x177)]*0x2,'zIndex':_0x4413bb[_0x424797(0x1ab)]+0x2,'evented':!0x1});this[_0x424797(0xf7)][_0x424797(0x109)](_0x3d1d9c),this[_0x424797(0x42a)][_0x424797(0x141)](_0x3d1d9c,_0x4413bb[_0x424797(0x1ab)]+0x2);}}[_0x1a21ce(0x260)](_0x1573da){const _0x227624=_0x1a21ce;let _0x254bf0=null,_0x27ec8c=0x1/0x0,_0x5f2245=null;for(let _0x29abc1 of this[_0x227624(0xf7)]){let _0x1fa2e2=_0x29abc1[_0x227624(0x192)]+_0x24d21b['ShapeDefaultConfig'][_0x227624(0x177)],_0x32b045=_0x29abc1[_0x227624(0x33a)]+_0x24d21b[_0x227624(0x1a9)][_0x227624(0x177)],_0x5ebf46=_0x1573da['x']-_0x1fa2e2,_0xc24983=_0x1573da['y']-_0x32b045,_0x3601f3=Math[_0x227624(0x138)](_0x5ebf46*_0x5ebf46+_0xc24983*_0xc24983);_0x3601f3<_0x27ec8c&&(_0x27ec8c=_0x3601f3,_0x254bf0=_0x29abc1,_0x5f2245={'x':_0x1fa2e2,'y':_0x32b045});}let _0x4d7a80=_0x27ec8c<=0xa&&_0x254bf0?_0x254bf0[_0x227624(0x408)]()[_0x227624(0x1e9)]:-0x1;if(_0x4d7a80!==this[_0x227624(0x3ac)]){for(let _0x406480 of this[_0x227624(0xf7)]){let _0x4ee3ae=_0x406480[_0x227624(0x408)]();_0x406480[_0x227624(0x1af)](_0x4ee3ae['cxnIndex']===_0x4d7a80);}this['_highlightedSiteIndex']=_0x4d7a80;}if(_0x27ec8c<=0xa&&_0x254bf0&&_0x5f2245){let _0x3edcfd=_0x254bf0['getConnectionInfo'](),_0x43d91f=this[_0x227624(0x1b4)](_0x3edcfd[_0x227624(0x1b1)],_0x3edcfd[_0x227624(0x1e9)]);return{'shapeId':_0x3edcfd[_0x227624(0x1b1)],'cxnIndex':_0x3edcfd[_0x227624(0x1e9)],'unitId':_0x3edcfd[_0x227624(0x197)],'subUnitId':_0x3edcfd[_0x227624(0x4b3)],'worldPoint':_0x5f2245,'angle':_0x43d91f};}return null;}[_0x1a21ce(0x1b4)](_0x3a6024,_0x42d3b7){const _0x482683=_0x1a21ce;let _0x411e03=this[_0x482683(0x23a)][_0x482683(0x49e)](this[_0x482683(0x29c)],this[_0x482683(0x251)],_0x3a6024);if(!_0x411e03)return 0x0;let _0x37edc7=this[_0x482683(0x383)][_0x482683(0x214)]({'unitId':this[_0x482683(0x29c)],'subUnitId':this[_0x482683(0x251)],'drawingId':_0x3a6024});if(!(_0x37edc7!=null&&_0x37edc7[_0x482683(0x3a9)]))return 0x0;let {width:_0x300b08=0x0,height:_0x30c360=0x0,flipX:_0x44741b=!0x1,flipY:_0x517731=!0x1}=_0x37edc7[_0x482683(0x3a9)];_0x411e03[_0x482683(0x433)]({'width':_0x300b08,'height':_0x30c360});let _0x3776b9=_0x411e03['getConnectionSiteList']()[_0x482683(0x169)](_0x26b550=>_0x26b550[_0x482683(0x291)]===_0x42d3b7);if(!_0x3776b9)return 0x0;let _0x45fdef=_0x3776b9[_0x482683(0x363)]/0xea60;return _0x44741b&&(_0x45fdef=0xb4-_0x45fdef),_0x517731&&(_0x45fdef=-_0x45fdef),_0x45fdef=(_0x45fdef%0x168+0x168)%0x168,_0x45fdef;}['_clearConnectionSites'](){const _0x293637=_0x1a21ce;for(let _0x201e11 of this[_0x293637(0xf7)])_0x201e11[_0x293637(0x351)]();this[_0x293637(0xf7)]=[],this[_0x293637(0x3ac)]=-0x1;}['dispose'](){const _0x23b148=_0x1a21ce;this[_0x23b148(0x2a9)](),super[_0x23b148(0x351)]();}};_0x1992a8=_0x3f6514([_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x4413bb[_0x1a21ce(0x399)])),_0x4512b4(0x2,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x2a2438[_0x1a21ce(0x3e4)])),_0x4512b4(0x3,(0x0,_0x5cf0ce['Inject'])(_0x34e612[_0x1a21ce(0x457)]))],_0x1992a8);let _0x4bbe2f=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x56d20a,_0x42418b,_0x17d0a8,_0x2c41a1,_0x4364cd){const _0x13e97f=_0x1a21ce;super(),this['_sheetSkeletonService']=_0x56d20a,this[_0x13e97f(0x2d0)]=_0x42418b,this['_sheetDrawingService']=_0x17d0a8,this[_0x13e97f(0x46c)]=_0x2c41a1,this['_groupCopyPasteController']=_0x4364cd,_0x339d5f(this,'_copyInfo',void 0x0),this[_0x13e97f(0x227)](),this['_registerGroupFeaturePasteHook']();}get[_0x1a21ce(0x33d)](){const _0x1bc2f6=_0x1a21ce;return this[_0x1bc2f6(0x4bd)][_0x1bc2f6(0x314)]();}['_registerGroupFeaturePasteHook'](){const _0xa864d6=_0x1a21ce;this[_0xa864d6(0x350)][_0xa864d6(0x211)](({fromUnitId:_0x15a7d3,fromSubUnitId:_0x551521,toUnitId:_0x3ecb53,toSubUnitId:_0x6f4a35,idMap:_0x312f01})=>{const _0x18530c=_0xa864d6;let _0x19b61a=[],_0x129d53=[];for(let [_0x56cbae,_0x30a523]of _0x312f01[_0x18530c(0x210)]()){let _0x37bbba=this[_0x18530c(0x46c)]['getShapeModel'](_0x15a7d3,_0x551521,_0x56cbae);if(!_0x37bbba)continue;let _0x398a41=_0x37bbba[_0x18530c(0x1e0)](),_0x2a10f7=JSON[_0x18530c(0x186)](JSON['stringify'](_0x37bbba[_0x18530c(0x1ea)]()));if(_0x2a10f7[_0x18530c(0x2d6)]){var _0x5cb2b7,_0x5d9848;let _0x37378c=(_0x5cb2b7=_0x2a10f7[_0x18530c(0x2d6)][_0x18530c(0x413)])==null?void 0x0:_0x5cb2b7[_0x18530c(0x1b1)],_0x4ca678=(_0x5d9848=_0x2a10f7['relation']['to'])==null?void 0x0:_0x5d9848[_0x18530c(0x1b1)],_0x4c28c7=!_0x37378c||_0x312f01[_0x18530c(0x3c6)](_0x37378c),_0x2b584f=!_0x4ca678||_0x312f01[_0x18530c(0x3c6)](_0x4ca678);_0x4c28c7&&_0x37378c&&_0x2a10f7['relation']['from']?_0x2a10f7['relation']['from']={..._0x2a10f7[_0x18530c(0x2d6)]['from'],'shapeId':_0x312f01[_0x18530c(0x170)](_0x37378c)}:_0x2a10f7[_0x18530c(0x2d6)][_0x18530c(0x413)]=void 0x0,_0x2b584f&&_0x4ca678&&_0x2a10f7[_0x18530c(0x2d6)]['to']?_0x2a10f7[_0x18530c(0x2d6)]['to']={..._0x2a10f7[_0x18530c(0x2d6)]['to'],'shapeId':_0x312f01['get'](_0x4ca678)}:_0x2a10f7[_0x18530c(0x2d6)]['to']=void 0x0;}_0x19b61a[_0x18530c(0x109)]({'id':_0x34e612[_0x18530c(0x2e6)]['id'],'params':{'unitId':_0x3ecb53,'subUnitId':_0x6f4a35,'shapeId':_0x30a523,'shapeType':_0x398a41,'shapeData':_0x2a10f7}}),_0x129d53[_0x18530c(0x109)]({'id':_0x34e612[_0x18530c(0x450)]['id'],'params':{'unitId':_0x3ecb53,'subUnitId':_0x6f4a35,'shapeId':_0x30a523}});}return{'redos':_0x19b61a,'undos':_0x129d53};});}[_0x1a21ce(0x227)](){const _0xf13945=_0x1a21ce;this['disposeWithMe'](this[_0xf13945(0x2d0)]['addClipboardHook']({'id':_0xf13945(0x2fa),'onBeforeCopyFocusedObject':(_0x1f76b0,_0x55db43,_0x370c47)=>{const _0x6ba0eb=_0xf13945;this[_0x6ba0eb(0x446)]=null;let _0x39d680=this[_0x6ba0eb(0x33d)][_0x6ba0eb(0x431)](_0x3d1220=>_0x3d1220['drawingType']===_0x5cf0ce[_0x6ba0eb(0x1c1)]['DRAWING_SHAPE']);return _0x39d680[_0x6ba0eb(0x38a)]!==0x0&&(this[_0x6ba0eb(0x446)]={'unitId':_0x1f76b0,'subUnitId':_0x55db43,'copyType':_0x370c47,'drawings':_0x39d680},!0x0);},'onBeforeCopy':(_0x6418ed,_0x14f8bb,_0x5205ca,_0x34ac9e)=>{const _0x50d160=_0xf13945;this[_0x50d160(0x446)]=null,this['_createCopyInfoByRange'](_0x6418ed,_0x14f8bb,_0x5205ca,_0x34ac9e);},'onPasteCells':(_0x1e6822,_0x37ded5,_0x386b08,_0x5968d6)=>{const _0x5e0937=_0xf13945;if(!_0x5968d6[_0x5e0937(0x239)]||!_0x1e6822||!this[_0x5e0937(0x446)])return{'redos':[],'undos':[]};let {pasteType:_0x3a57ea}=_0x5968d6;return _0x3a57ea===_0x3e532c[_0x5e0937(0x27d)]['DEFAULT_PASTE']?this[_0x5e0937(0x370)](_0x37ded5,this[_0x5e0937(0x446)][_0x5e0937(0x14b)]===_0x3e532c[_0x5e0937(0x38b)][_0x5e0937(0x195)]):{'redos':[],'undos':[]};}}));}[_0x1a21ce(0xe5)](_0x3b5162,_0x1e5683,_0x5d04e6,_0x1fe621){const _0x13f206=_0x1a21ce;let _0x3bb3c9=this[_0x13f206(0x386)][_0x13f206(0x1c6)](_0x3b5162,_0x1e5683);if(!_0x3bb3c9)return;let _0x3b46a3=(0x0,_0xdab3fa[_0x13f206(0x19d)])(_0x3bb3c9,_0x5d04e6);if(!_0x3b46a3)return;let {startX:_0x85f284,endX:_0x57fd30,startY:_0x30bf00,endY:_0x48b118}=_0x3b46a3,_0x48953b=this[_0x13f206(0x4bd)][_0x13f206(0x385)](_0x3b5162,_0x1e5683),_0x449a22=[];for(let [_0x129a37,_0x4f2ae8]of Object['entries'](_0x48953b)){if(_0x4f2ae8[_0x13f206(0x497)]!==_0x5cf0ce[_0x13f206(0x1c1)][_0x13f206(0x33f)])continue;let {transform:_0x40c5ec}=_0x4f2ae8;if(!_0x40c5ec)continue;let {left:_0xd3afce=0x0,top:_0xa1dfbe=0x0,width:_0x189680=0x0,height:_0x44b9ae=0x0}=_0x40c5ec;_0x85f284<=_0xd3afce&&_0x57fd30>=_0xd3afce+_0x189680&&_0x30bf00<=_0xa1dfbe&&_0x48b118>=_0xa1dfbe+_0x44b9ae&&_0x449a22['push'](_0x4f2ae8);}_0x449a22[_0x13f206(0x38a)]>0x0&&(this[_0x13f206(0x446)]={'unitId':_0x3b5162,'subUnitId':_0x1e5683,'copyType':_0x1fe621,'copyRange':_0x5d04e6,'drawings':_0x449a22});}[_0x1a21ce(0x370)](_0x52f5b8,_0x5e048b){const _0x247d5d=_0x1a21ce;let {unitId:_0x132702,subUnitId:_0x4d44dc,range:_0x442e8c}=_0x52f5b8,_0x1eb189=this['_sheetSkeletonService'][_0x247d5d(0x1c6)](_0x132702,_0x4d44dc);if(!_0x1eb189)return{'redos':[],'undos':[]};let _0x60f112=(0x0,_0xdab3fa[_0x247d5d(0x2cd)])(_0x442e8c),{unitId:_0x31d020,subUnitId:_0x3fa544,copyRange:_0x1f2c85,drawings:_0x1bb506}=this[_0x247d5d(0x446)],_0x448819=this[_0x247d5d(0x386)][_0x247d5d(0x1c6)](_0x31d020,_0x3fa544);if(!_0x448819)return{'redos':[],'undos':[]};let _0x31f8b3;if(!_0x1f2c85){let _0x54bb10=0x1/0x0,_0x39b336=0x1/0x0;for(let _0xfdb342 of _0x1bb506){let {left:_0x584420=0x0,top:_0x2d47b4=0x0}=_0xfdb342[_0x247d5d(0x3a9)]??{};_0x584420<_0x54bb10&&(_0x54bb10=_0x584420),_0x2d47b4<_0x39b336&&(_0x39b336=_0x2d47b4);}_0x54bb10!==0x1/0x0&&_0x39b336!==0x1/0x0&&(_0x31f8b3={'left':_0x54bb10,'top':_0x39b336});}let _0x483d56=new Map();if(!_0x5e048b){for(let _0x22af27 of _0x1bb506)_0x483d56[_0x247d5d(0x153)](_0x22af27[_0x247d5d(0x1f5)],(0x0,_0x5cf0ce['generateRandomId'])());}let _0x48c7e9=[],_0x368ae5=[];for(let _0x3b9114 of _0x1bb506){let {drawingId:_0x12ab4a,transform:_0xc2f1db,sheetTransform:_0x476792}=_0x3b9114;if(!_0xc2f1db||!_0x476792)continue;let _0x52eb52=this['_updateTransform']({'transform':_0xc2f1db,'sheetTransform':_0x476792},{'skeleton':_0x448819,'range':_0x1f2c85},{'skeleton':_0x1eb189,'range':_0x60f112},_0x31f8b3);if(_0x5e048b){let {redos:_0x417cff,undos:_0x2ea085}=this[_0x247d5d(0x47b)]({'fromUnitId':_0x31d020,'fromSubUnitId':_0x3fa544,'toUnitId':_0x132702,'toSubUnitId':_0x4d44dc,'drawing':_0x3b9114,'newTransforms':_0x52eb52});_0x48c7e9[_0x247d5d(0x109)](..._0x417cff),_0x368ae5[_0x247d5d(0x109)](..._0x2ea085);continue;}let {redos:_0x5a0b22,undos:_0x1ebddd}=this[_0x247d5d(0x201)]({'toUnitId':_0x132702,'toSubUnitId':_0x4d44dc,'drawing':_0x3b9114,'newTransforms':_0x52eb52,'newDrawingId':_0x483d56[_0x247d5d(0x170)](_0x12ab4a),'idMap':_0x483d56});_0x48c7e9[_0x247d5d(0x109)](..._0x5a0b22),_0x368ae5[_0x247d5d(0x109)](..._0x1ebddd);}return{'redos':_0x48c7e9,'undos':_0x368ae5};}['_generateCutPasteMutations'](_0x4ff4fa){const _0xca5af1=_0x1a21ce;let {fromUnitId:_0x5c5e94,fromSubUnitId:_0x4ac575,toUnitId:_0x31b3b9,toSubUnitId:_0x454617,drawing:_0x421178,newTransforms:_0x838106}=_0x4ff4fa,_0x1a100f={..._0x421178,'unitId':_0x31b3b9,'subUnitId':_0x454617,'transform':_0x838106['transform'],'sheetTransform':_0x838106['sheetTransform']};if(_0x31b3b9===_0x5c5e94&&_0x454617===_0x4ac575){let {redo:_0x5fd8ce,undo:_0x146d7f,objects:_0x4a2e25}=this[_0xca5af1(0x4bd)][_0xca5af1(0x1fe)]([_0x1a100f]);return{'redos':[{'id':_0x57dfd6['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x31b3b9,'subUnitId':_0x454617,'type':_0x57dfd6[_0xca5af1(0x14a)][_0xca5af1(0x243)],'op':_0x5fd8ce,'objects':_0x4a2e25}}],'undos':[{'id':_0x57dfd6[_0xca5af1(0xda)]['id'],'params':{'unitId':_0x31b3b9,'subUnitId':_0x454617,'type':_0x57dfd6[_0xca5af1(0x14a)][_0xca5af1(0x243)],'op':_0x146d7f,'objects':_0x4a2e25}}]};}{let _0x52a00b=this['_sheetDrawingService']['getBatchRemoveOp']([_0x421178]),_0x14c295=this['_sheetDrawingService'][_0xca5af1(0x4c6)]([_0x1a100f]),_0x1faf8b=this[_0xca5af1(0x46c)][_0xca5af1(0x49e)](_0x421178[_0xca5af1(0x197)],_0x421178[_0xca5af1(0x4b3)],_0x421178[_0xca5af1(0x1f5)]);if(!_0x1faf8b)return{'redos':[],'undos':[]};let _0x178c22=_0x1faf8b[_0xca5af1(0x1e0)](),_0x2ca2d9=JSON[_0xca5af1(0x186)](JSON[_0xca5af1(0x41f)](_0x1faf8b['getShapeData']()));return{'redos':[{'id':_0x57dfd6['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x5c5e94,'subUnitId':_0x4ac575,'type':_0x57dfd6['DrawingApplyType']['REMOVE'],'op':_0x52a00b[_0xca5af1(0x2da)],'objects':_0x52a00b[_0xca5af1(0x119)]}},{'id':_0x34e612[_0xca5af1(0x450)]['id'],'params':{'unitId':_0x5c5e94,'subUnitId':_0x4ac575,'shapeId':_0x421178[_0xca5af1(0x1f5)]}},{'id':_0x57dfd6[_0xca5af1(0xda)]['id'],'params':{'unitId':_0x31b3b9,'subUnitId':_0x454617,'type':_0x57dfd6[_0xca5af1(0x14a)][_0xca5af1(0x212)],'op':_0x14c295[_0xca5af1(0x2da)],'objects':_0x14c295[_0xca5af1(0x119)]}},{'id':_0x34e612['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x31b3b9,'subUnitId':_0x454617,'shapeId':_0x421178[_0xca5af1(0x1f5)],'shapeType':_0x178c22,'shapeData':_0x2ca2d9}}],'undos':[{'id':_0x57dfd6[_0xca5af1(0xda)]['id'],'params':{'unitId':_0x5c5e94,'subUnitId':_0x4ac575,'type':_0x57dfd6[_0xca5af1(0x14a)][_0xca5af1(0x212)],'op':_0x52a00b['undo'],'objects':_0x52a00b[_0xca5af1(0x119)]}},{'id':_0x34e612[_0xca5af1(0x2e6)]['id'],'params':{'unitId':_0x5c5e94,'subUnitId':_0x4ac575,'shapeId':_0x421178[_0xca5af1(0x1f5)],'shapeType':_0x178c22,'shapeData':_0x2ca2d9}},{'id':_0x57dfd6[_0xca5af1(0xda)]['id'],'params':{'unitId':_0x31b3b9,'subUnitId':_0x454617,'type':_0x57dfd6[_0xca5af1(0x14a)][_0xca5af1(0x4b5)],'op':_0x14c295['undo'],'objects':_0x14c295[_0xca5af1(0x119)]}},{'id':_0x34e612[_0xca5af1(0x450)]['id'],'params':{'unitId':_0x31b3b9,'subUnitId':_0x454617,'shapeId':_0x421178[_0xca5af1(0x1f5)]}}]};}}[_0x1a21ce(0x201)](_0x2da76d){const _0x1dcdb8=_0x1a21ce;let {toUnitId:_0x201b12,toSubUnitId:_0x1dfccd,drawing:_0x4351f0,newTransforms:_0x1028eb,newDrawingId:_0x5bf27e,idMap:_0x57faab}=_0x2da76d,_0x114b85={..._0x4351f0,'unitId':_0x201b12,'subUnitId':_0x1dfccd,'drawingId':_0x5bf27e,'transform':_0x1028eb[_0x1dcdb8(0x3a9)],'sheetTransform':_0x1028eb[_0x1dcdb8(0x1ed)]},{redo:_0x18ad61,undo:_0x57af51,objects:_0x43c249}=this[_0x1dcdb8(0x4bd)][_0x1dcdb8(0x4c6)]([_0x114b85]),_0x1cfa23=this[_0x1dcdb8(0x46c)][_0x1dcdb8(0x49e)](_0x4351f0[_0x1dcdb8(0x197)],_0x4351f0[_0x1dcdb8(0x4b3)],_0x4351f0[_0x1dcdb8(0x1f5)]);if(!_0x1cfa23)return{'redos':[],'undos':[]};let _0x5a126d=_0x1cfa23[_0x1dcdb8(0x1e0)](),_0x4dea4a=JSON[_0x1dcdb8(0x186)](JSON[_0x1dcdb8(0x41f)](_0x1cfa23[_0x1dcdb8(0x1ea)]()));if(_0x4dea4a[_0x1dcdb8(0x2d6)]){var _0x25c66d,_0x9f70f3;let _0x47d530=(_0x25c66d=_0x4dea4a[_0x1dcdb8(0x2d6)][_0x1dcdb8(0x413)])==null?void 0x0:_0x25c66d['shapeId'],_0x591e45=(_0x9f70f3=_0x4dea4a['relation']['to'])==null?void 0x0:_0x9f70f3[_0x1dcdb8(0x1b1)],_0x22fa11=!_0x47d530||_0x57faab[_0x1dcdb8(0x3c6)](_0x47d530),_0x4e2448=!_0x591e45||_0x57faab[_0x1dcdb8(0x3c6)](_0x591e45);_0x22fa11&&_0x47d530&&_0x4dea4a[_0x1dcdb8(0x2d6)][_0x1dcdb8(0x413)]?_0x4dea4a[_0x1dcdb8(0x2d6)][_0x1dcdb8(0x413)]={..._0x4dea4a[_0x1dcdb8(0x2d6)][_0x1dcdb8(0x413)],'shapeId':_0x57faab['get'](_0x47d530)}:_0x4dea4a[_0x1dcdb8(0x2d6)][_0x1dcdb8(0x413)]=void 0x0,_0x4e2448&&_0x591e45&&_0x4dea4a[_0x1dcdb8(0x2d6)]['to']?_0x4dea4a[_0x1dcdb8(0x2d6)]['to']={..._0x4dea4a[_0x1dcdb8(0x2d6)]['to'],'shapeId':_0x57faab[_0x1dcdb8(0x170)](_0x591e45)}:_0x4dea4a[_0x1dcdb8(0x2d6)]['to']=void 0x0;}return{'redos':[{'id':_0x57dfd6[_0x1dcdb8(0xda)]['id'],'params':{'unitId':_0x201b12,'subUnitId':_0x1dfccd,'type':_0x57dfd6['DrawingApplyType'][_0x1dcdb8(0x212)],'op':_0x18ad61,'objects':_0x43c249}},{'id':_0x34e612[_0x1dcdb8(0x2e6)]['id'],'params':{'unitId':_0x201b12,'subUnitId':_0x1dfccd,'shapeId':_0x5bf27e,'shapeType':_0x5a126d,'shapeData':_0x4dea4a}}],'undos':[{'id':_0x57dfd6[_0x1dcdb8(0xda)]['id'],'params':{'unitId':_0x201b12,'subUnitId':_0x1dfccd,'type':_0x57dfd6[_0x1dcdb8(0x14a)]['REMOVE'],'op':_0x57af51,'objects':_0x43c249}},{'id':_0x34e612[_0x1dcdb8(0x450)]['id'],'params':{'unitId':_0x201b12,'subUnitId':_0x1dfccd,'shapeId':_0x5bf27e}}]};}[_0x1a21ce(0x454)](_0x5e02cd,_0x5b0774,_0x54bcd2,_0x170a6d){const _0x4c976a=_0x1a21ce;let {range:_0x2b314d,skeleton:_0x5c4c4a}=_0x5b0774,{range:_0xf1c75f,skeleton:_0x3e79af}=_0x54bcd2,{transform:_0x2f28f9,sheetTransform:_0x1f4fe5}=_0x5e02cd,_0x376e99={..._0x2f28f9};if(_0x2b314d){let _0x6be740=(0x0,_0xdab3fa[_0x4c976a(0x19d)])(_0x5c4c4a,_0x2b314d),_0x2c7dfb=(0x0,_0xdab3fa[_0x4c976a(0x19d)])(_0x3e79af,_0xf1c75f);if(_0x6be740&&_0x2c7dfb){let _0x5e257e=_0x2c7dfb[_0x4c976a(0x16d)]-_0x6be740[_0x4c976a(0x16d)],_0x283546=_0x2c7dfb[_0x4c976a(0x21b)]-_0x6be740['startY'];_0x376e99['left']=(_0x376e99[_0x4c976a(0x192)]??0x0)+_0x5e257e,_0x376e99[_0x4c976a(0x33a)]=(_0x376e99[_0x4c976a(0x33a)]??0x0)+_0x283546;}}else{let _0x7a16d2=(0x0,_0xdab3fa[_0x4c976a(0x19d)])(_0x3e79af,_0xf1c75f);if(_0x170a6d&&_0x7a16d2){let _0x2b948f=(_0x376e99['left']??0x0)-_0x170a6d[_0x4c976a(0x192)],_0x281f4f=(_0x376e99[_0x4c976a(0x33a)]??0x0)-_0x170a6d[_0x4c976a(0x33a)];_0x376e99[_0x4c976a(0x192)]=_0x7a16d2[_0x4c976a(0x16d)]+_0x2b948f,_0x376e99[_0x4c976a(0x33a)]=_0x7a16d2[_0x4c976a(0x21b)]+_0x281f4f;}else _0x376e99['left']=_0x7a16d2==null?void 0x0:_0x7a16d2[_0x4c976a(0x16d)],_0x376e99[_0x4c976a(0x33a)]=_0x7a16d2==null?void 0x0:_0x7a16d2[_0x4c976a(0x21b)];}return{'transform':_0x376e99,'sheetTransform':(0x0,_0x57dfd6['transformToDrawingPosition'])(_0x376e99,_0x3e79af)??_0x1f4fe5};}};_0x4bbe2f=_0x3f6514([_0x4512b4(0x0,(0x0,_0x5cf0ce['Inject'])(_0xdab3fa['SheetSkeletonService'])),_0x4512b4(0x1,(0x0,_0x5cf0ce['Inject'])(_0x3e532c['ISheetClipboardService'])),_0x4512b4(0x2,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x57dfd6[_0x1a21ce(0x114)])),_0x4512b4(0x3,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x34e612['SheetsShapeService'])),_0x4512b4(0x4,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x22ea8b[_0x1a21ce(0x1b0)]))],_0x4bbe2f);var _0x12ef88=class extends _0x4413bb['Shape']{constructor(_0x15ed21,_0x21c6ef){const _0x216c41=_0x1a21ce;super(_0x15ed21,_0x21c6ef),_0x339d5f(this,'_shapeId',null),_0x339d5f(this,'_index',null),_0x339d5f(this,'_unitId',null),_0x339d5f(this,_0x216c41(0x251),null),_0x339d5f(this,_0x216c41(0x3c1),!0x1),_0x21c6ef&&this[_0x216c41(0x4b8)](_0x21c6ef);}['getDrawingSearch'](){const _0x1bfd39=_0x1a21ce;return{'unitId':this[_0x1bfd39(0x29c)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x1bfd39(0x2f8)]};}[_0x1a21ce(0x4b8)](_0xbf337a){const _0x53a6b6=_0x1a21ce;_0xbf337a[_0x53a6b6(0x1b1)]!==void 0x0&&(this[_0x53a6b6(0x2f8)]=_0xbf337a[_0x53a6b6(0x1b1)]),_0xbf337a[_0x53a6b6(0x197)]!==void 0x0&&(this[_0x53a6b6(0x29c)]=_0xbf337a[_0x53a6b6(0x197)]),_0xbf337a['subUnitId']!==void 0x0&&(this[_0x53a6b6(0x251)]=_0xbf337a['subUnitId']),_0xbf337a['isStartConnectorPoint']!==void 0x0&&(this[_0x53a6b6(0x3c1)]=_0xbf337a['isStartConnectorPoint']),this['transformByState']({'width':_0xbf337a['width'],'height':_0xbf337a[_0x53a6b6(0x31b)]});}[_0x1a21ce(0x445)](_0x516f23){const _0xb6566a=_0x1a21ce;_0x4413bb[_0xb6566a(0x3d7)][_0xb6566a(0x3c9)](_0x516f23,{'radius':_0x24d21b['ShapeDefaultConfig'][_0xb6566a(0x177)],'fill':_0x24d21b['ShapeDefaultConfig'][_0xb6566a(0x38e)],'stroke':_0x24d21b['ShapeDefaultConfig'][_0xb6566a(0x3cd)],'strokeWidth':_0x24d21b['ShapeDefaultConfig'][_0xb6566a(0x2fe)],'evented':!0x0});}};let _0x380bd1=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x23ad5b,_0x5eff4c,_0x4913e5,_0x5067f2,_0x3aefe6,_0x26302c,_0x15ebce,_0xf65ee7){const _0x460233=_0x1a21ce;super(),this[_0x460233(0x4c9)]=_0x23ad5b,this[_0x460233(0x378)]=_0x5eff4c,this[_0x460233(0x411)]=_0x4913e5,this[_0x460233(0x383)]=_0x5067f2,this[_0x460233(0x2d5)]=_0x3aefe6,this['_sheetsShapeService']=_0x26302c,this[_0x460233(0x2b1)]=_0x15ebce,this[_0x460233(0x362)]=_0xf65ee7,_0x339d5f(this,'_activeShapeId',void 0x0),_0x339d5f(this,'_unitId',void 0x0),_0x339d5f(this,'_subUnitId',void 0x0),_0x339d5f(this,_0x460233(0x10a),[]),_0x339d5f(this,'_baseDrawingRect',{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),_0x339d5f(this,_0x460233(0xf3),void 0x0),_0x339d5f(this,_0x460233(0x180),!0x1),_0x339d5f(this,_0x460233(0x49f),!0x1),_0x339d5f(this,_0x460233(0x187),!0x1),_0x339d5f(this,'_cxtHandlerPointerMove',void 0x0),_0x339d5f(this,_0x460233(0x3e8),void 0x0),_0x339d5f(this,_0x460233(0x320),null),this[_0x460233(0x49d)]();}[_0x1a21ce(0x49d)](){const _0x143705=_0x1a21ce;this[_0x143705(0x447)](),this[_0x143705(0x293)]();}['_getDrawingRect'](){const _0x366482=_0x1a21ce;if(!this[_0x366482(0x29c)]||!this[_0x366482(0x251)]||!this['_activeShapeId'])return;let _0x19dda6={'unitId':this[_0x366482(0x29c)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x366482(0x376)]},{transform:_0x5d8ab1}=this[_0x366482(0x383)][_0x366482(0x214)](_0x19dda6);if(_0x5d8ab1)return{'left':_0x5d8ab1[_0x366482(0x192)]||0x0,'top':_0x5d8ab1['top']||0x0,'width':_0x5d8ab1[_0x366482(0x36b)]||0x0,'height':_0x5d8ab1[_0x366482(0x31b)]||0x0,'flipX':_0x5d8ab1[_0x366482(0x405)]||!0x1,'flipY':_0x5d8ab1[_0x366482(0x488)]||!0x1,'angle':_0x5d8ab1['angle']};}['_addShapeConnectorHandlerObjects'](){const _0x172c44=_0x1a21ce;if(this[_0x172c44(0x29c)]===void 0x0||this[_0x172c44(0x251)]===void 0x0||this[_0x172c44(0x376)]===void 0x0)return;let _0x58b8fb=this[_0x172c44(0x411)][_0x172c44(0x3ce)](this[_0x172c44(0x29c)]);if(!_0x58b8fb||!_0x58b8fb[_0x172c44(0x18b)](_0x3e532c[_0x172c44(0x432)])[_0x172c44(0x475)]())return;let {scene:_0x264db7}=_0x58b8fb,_0xde5be8=this[_0x172c44(0x225)]();if(!_0xde5be8)return;let _0xc3adfe=this[_0x172c44(0x23a)]['getShapeModel'](this[_0x172c44(0x29c)],this['_subUnitId'],this[_0x172c44(0x376)]);if(!_0xc3adfe||!(0x0,_0x24d21b['isConnectorShape'])(_0xc3adfe['getShapeType']()))return;let _0x2233bb=_0xc3adfe[_0x172c44(0x308)]();if(_0x2233bb[_0x172c44(0x38a)]<0x2)return;let _0xf0fad0=new _0x24d21b[(_0x172c44(0x168))](_0xde5be8),_0x38d251=_0x2233bb[0x0],_0x38abd9=_0x2233bb[_0x2233bb[_0x172c44(0x38a)]-0x1],_0x192865=_0xf0fad0[_0x172c44(0x458)](_0x38d251),_0x5d0184=_0xf0fad0[_0x172c44(0x458)](_0x38abd9);this['_addShapeConnectorHandlerObject'](_0x264db7,{..._0x192865},!0x0),this[_0x172c44(0x2ab)](_0x264db7,{..._0x5d0184},!0x1);}[_0x1a21ce(0x2ab)](_0x150026,_0x5518b2,_0x280477){const _0xfed522=_0x1a21ce;if(this[_0xfed522(0x376)]===void 0x0||this[_0xfed522(0x29c)]===void 0x0||this[_0xfed522(0x251)]===void 0x0)return;let _0x538241=_0xfed522(0x46a)+this[_0xfed522(0x29c)]+'-'+this[_0xfed522(0x251)]+'-'+this[_0xfed522(0x376)]+'-'+(_0x280477?_0xfed522(0x13c):_0xfed522(0x1f9)),_0x5db082=_0x150026[_0xfed522(0x26e)](_0x538241);if(_0x5db082){_0x5db082[_0xfed522(0x4bb)]({'left':_0x5518b2['x']-_0x24d21b['ShapeDefaultConfig'][_0xfed522(0x177)],'top':_0x5518b2['y']-_0x24d21b[_0xfed522(0x1a9)][_0xfed522(0x177)]});return;}let _0xc1d750=new _0x12ef88(_0x538241,{'left':_0x5518b2['x']-_0x24d21b[_0xfed522(0x1a9)][_0xfed522(0x177)],'top':_0x5518b2['y']-_0x24d21b[_0xfed522(0x1a9)][_0xfed522(0x177)],'shapeId':this['_activeShapeId'],'unitId':this['_unitId'],'subUnitId':this[_0xfed522(0x251)],'isStartConnectorPoint':_0x280477,'width':_0x24d21b[_0xfed522(0x1a9)]['cxnPointRadius']*0x2,'height':_0x24d21b['ShapeDefaultConfig'][_0xfed522(0x177)]*0x2,'zIndex':_0x4413bb[_0xfed522(0x1ab)]+0x1,'evented':!0x0});this[_0xfed522(0x10a)][_0xfed522(0x109)](_0xc1d750),this[_0xfed522(0x417)](_0xc1d750,_0x150026,_0x280477),_0x150026[_0xfed522(0x141)](_0xc1d750,_0x4413bb[_0xfed522(0x1ab)]+0x1);}[_0x1a21ce(0x39b)](_0x3fbbe8,_0x32d8c4){const _0x330ea8=_0x1a21ce;var _0x1974e1;let _0x512777={'x':0x0,'y':0x0};if(!_0x3fbbe8||!_0x32d8c4)return _0x512777;let _0x3bc245=this[_0x330ea8(0x411)]['getRenderUnitById'](_0x3fbbe8);if(!_0x3bc245||!_0x3bc245[_0x330ea8(0x18b)](_0x3e532c['SheetSkeletonManagerService'])[_0x330ea8(0x1c6)](_0x32d8c4))return _0x512777;let _0x52759c=_0x3bc245[_0x330ea8(0x18b)](_0x3e532c[_0x330ea8(0x47c)]),_0x7efa17=_0x52759c==null?void 0x0:_0x52759c[_0x330ea8(0x100)]();if(!_0x7efa17)return _0x512777;let _0x2bbd06=(_0x1974e1=this['_univerInstanceService'][_0x330ea8(0x412)](_0x3fbbe8))==null?void 0x0:_0x1974e1['getSheetBySheetId'](_0x32d8c4);if(!_0x2bbd06)return _0x512777;let _0x1b141b=(0x0,_0x3e532c[_0x330ea8(0x3d0)])(_0x7efa17['sheetViewStartRow'],_0x7efa17[_0x330ea8(0x4b0)],_0x3bc245[_0x330ea8(0x2d7)],_0x2bbd06);return _0x1b141b?{'x':_0x1b141b['viewportScrollX'],'y':_0x1b141b[_0x330ea8(0x491)]}:_0x512777;}[_0x1a21ce(0x129)](_0x453481,_0x46c883){const _0x407314=_0x1a21ce;var _0x1e52c0;let _0x2143d5=(_0x1e52c0=this[_0x407314(0x2d5)][_0x407314(0x412)](_0x453481))==null?void 0x0:_0x1e52c0[_0x407314(0x1c4)](_0x46c883);return(_0x2143d5==null?void 0x0:_0x2143d5[_0x407314(0xea)]())??0x1;}[_0x1a21ce(0x380)](_0x11aca9,_0x558c7b,_0x3a5dc5,_0x37078f,_0x2e505d){const _0x5811b6=_0x1a21ce;this[_0x5811b6(0x30e)][_0x5811b6(0x15a)](),this[_0x5811b6(0x3e8)]['unsubscribe'](),this['_sheetShapeAdjustController']['refreshAdjustControls']();let _0x297edc=this[_0x5811b6(0x320)];this[_0x5811b6(0x362)]['endConnectionDetection']();let _0x3ddb92=this[_0x5811b6(0x39b)](this[_0x5811b6(0x29c)],this[_0x5811b6(0x251)]),_0x3d072f=this[_0x5811b6(0x129)](this['_unitId'],this['_subUnitId']),_0x11d245={'x':_0x3a5dc5[_0x5811b6(0x17f)]/_0x3d072f+_0x3ddb92['x'],'y':_0x3a5dc5[_0x5811b6(0x27c)]/_0x3d072f+_0x3ddb92['y']},_0x29ccbe=_0x297edc?_0x297edc[_0x5811b6(0x11d)]:_0x11d245,_0x38fd01=_0x37078f?this[_0x5811b6(0xf3)][_0x5811b6(0x1cc)]():this[_0x5811b6(0xf3)][_0x5811b6(0x2d2)](),_0x5cebbc=this[_0x5811b6(0xf3)][_0x5811b6(0x1e0)]();_0x38fd01?this[_0x5811b6(0x31a)](_0x38fd01,_0x29ccbe,_0x37078f,_0x297edc,_0x2e505d):this[_0x5811b6(0x498)](_0x558c7b,_0x29ccbe,_0x37078f,_0x297edc,_0x2e505d,_0x5cebbc),this[_0x5811b6(0x180)]=!0x1,this['_hasReset']=!0x1,this[_0x5811b6(0x320)]=null,_0x11aca9[_0x5811b6(0x415)]();}[_0x1a21ce(0x498)](_0x5d20a5,_0x20c133,_0xddc2a0,_0xd21316,_0x5237d3,_0x41accd){const _0xb05a75=_0x1a21ce;let _0x1c7dfe=_0x41accd===_0x24d21b['ShapeTypeEnum']['Line']||_0x41accd===_0x24d21b[_0xb05a75(0x4a6)]['StraightConnector1'],_0x402ead=_0xddc2a0?_0x20c133:_0x5d20a5,_0x144ce5=_0xddc2a0?_0x5d20a5:_0x20c133,_0xf79584=this[_0xb05a75(0xf3)]['getConnectorLinePoints'](),_0x57da2d=this['_activeShapeModel'][_0xb05a75(0x1e0)](),_0x3c8f4e=(0x0,_0x24d21b[_0xb05a75(0x437)])(_0x57da2d),_0x1d1237=_0x24d21b['ConnectorCoordinateTransform'][_0xb05a75(0x1fc)](_0xf79584,_0x3c8f4e),_0x301dc1=_0x1c7dfe?_0x24d21b['ConnectorCoordinateTransform']['computeStraightConnectorLayout'](_0x402ead,_0x144ce5):_0x24d21b['ConnectorCoordinateTransform']['computeConnectorResizeLayout'](_0x5d20a5,_0x20c133,_0xddc2a0,_0x1d1237);_0xd21316?this[_0xb05a75(0x143)](_0x301dc1,_0xd21316,_0xddc2a0,_0x5237d3):this[_0xb05a75(0x1e6)](_0x301dc1,_0x5237d3);}[_0x1a21ce(0x31a)](_0x21ccb5,_0x42a7dd,_0x4f35d8,_0x2283af,_0x413350){const _0x1d77a2=_0x1a21ce;let _0x2a49e6=this[_0x1d77a2(0xf4)](_0x21ccb5);if(!_0x2a49e6)return;let _0x5b576d=_0x2283af?_0x2283af[_0x1d77a2(0x11e)]:this[_0x1d77a2(0x430)](_0x2a49e6[_0x1d77a2(0x409)],_0x42a7dd),_0xb766c7;if(_0x2283af){let _0x34fad7=this[_0x1d77a2(0x383)][_0x1d77a2(0x214)]({'unitId':_0x2283af[_0x1d77a2(0x197)],'subUnitId':_0x2283af[_0x1d77a2(0x4b3)],'drawingId':_0x2283af[_0x1d77a2(0x1b1)]});if(_0x34fad7!=null&&_0x34fad7[_0x1d77a2(0x3a9)]){let {left:_0x1f007e=0x0,top:_0xccf37c=0x0,width:_0x61b360=0x0,height:_0x173bf7=0x0,angle:_0xc91e18}=_0x34fad7[_0x1d77a2(0x3a9)];_0xb766c7=(0x0,_0x24d21b[_0x1d77a2(0x37b)])({'left':_0x1f007e,'top':_0xccf37c,'width':_0x61b360,'height':_0x173bf7},_0xc91e18||0x0);}else _0xb766c7={'left':_0x42a7dd['x'],'top':_0x42a7dd['y'],'width':0x0,'height':0x0};}else _0xb766c7={'left':_0x42a7dd['x'],'top':_0x42a7dd['y'],'width':0x0,'height':0x0};let _0x567420={'point':_0x42a7dd,'angle':_0x5b576d,'bounds':_0xb766c7},_0x43951a=_0x4f35d8?_0x567420:_0x2a49e6,_0x17b9aa=_0x4f35d8?_0x2a49e6:_0x567420,_0x5c1b37=this[_0x1d77a2(0xf3)][_0x1d77a2(0x1e0)](),_0x1f49ec=(0x0,_0x24d21b[_0x1d77a2(0x499)])(_0x43951a,_0x17b9aa,_0x5c1b37);this[_0x1d77a2(0xf3)]['removeLinePoints']();let _0x49dcd7=(0x0,_0x24d21b[_0x1d77a2(0xfc)])(_0x1f49ec,_0x5c1b37);_0x2283af?this[_0x1d77a2(0x444)](_0x49dcd7,_0x2283af,_0x21ccb5,_0x4f35d8,_0x413350):this[_0x1d77a2(0x179)](_0x49dcd7,_0x21ccb5,_0x4f35d8,_0x413350);}[_0x1a21ce(0x143)](_0x5de09a,_0xfadf77,_0x75003e,_0x52ee3e){const _0x9d786b=_0x1a21ce;let _0x41eab2=this[_0x9d786b(0xf3)]['getShapeData']()['relation'],_0x52f195={..._0x41eab2},_0x22482a={'shapeId':_0xfadf77[_0x9d786b(0x1b1)],'cxnIndex':_0xfadf77[_0x9d786b(0x1e9)]};_0x75003e?_0x52f195[_0x9d786b(0x413)]=_0x22482a:_0x52f195['to']=_0x22482a;let _0x2a13ff=this[_0x9d786b(0xf3)][_0x9d786b(0x1e0)](),_0x5422a5=(0x0,_0x24d21b[_0x9d786b(0xfc)])(_0x5de09a['worldPoints'],_0x2a13ff),_0x119f83={'unitId':this[_0x9d786b(0x29c)],'subUnitId':this[_0x9d786b(0x251)],'connectorShapeId':this[_0x9d786b(0x376)],'width':_0x5de09a['worldRect'][_0x9d786b(0x36b)],'height':_0x5de09a[_0x9d786b(0x121)][_0x9d786b(0x31b)],'left':_0x5de09a[_0x9d786b(0x121)]['left'],'top':_0x5de09a[_0x9d786b(0x121)][_0x9d786b(0x33a)],'flipX':_0x5de09a['worldRect'][_0x9d786b(0x405)]||!0x1,'flipY':_0x5de09a['worldRect'][_0x9d786b(0x488)]||!0x1,'newAdjustValues':_0x5422a5[_0x9d786b(0x324)],'oldAdjustValues':_0x52ee3e,'oldRelation':_0x41eab2,'newRelation':_0x52f195,'newLineType':_0x5422a5['lineType'],'oldLineType':_0x2a13ff};this['_commandService'][_0x9d786b(0x2af)](_0x34e612[_0x9d786b(0x193)]['id'],_0x119f83);}['_executeResizeCommand'](_0x53a800,_0x12cad0){const _0x29a389=_0x1a21ce;let _0x1e3180=this['_activeShapeModel'][_0x29a389(0x1e0)](),_0x22c4e3=(0x0,_0x24d21b[_0x29a389(0xfc)])(_0x53a800[_0x29a389(0x332)],_0x1e3180),_0x33e704={'unitId':this[_0x29a389(0x29c)],'subUnitId':this['_subUnitId'],'shapeId':this[_0x29a389(0x376)],'width':_0x53a800[_0x29a389(0x121)][_0x29a389(0x36b)],'height':_0x53a800[_0x29a389(0x121)][_0x29a389(0x31b)],'left':_0x53a800[_0x29a389(0x121)][_0x29a389(0x192)],'top':_0x53a800[_0x29a389(0x121)]['top'],'flipX':_0x53a800[_0x29a389(0x121)][_0x29a389(0x405)]||!0x1,'flipY':_0x53a800[_0x29a389(0x121)][_0x29a389(0x488)]||!0x1,'angle':_0x53a800[_0x29a389(0x121)]['angle']||0x0,'newAdjustValues':_0x22c4e3[_0x29a389(0x324)],'oldAdjustValues':_0x12cad0,'newLineType':_0x22c4e3[_0x29a389(0x2cf)],'oldLineType':_0x1e3180};this[_0x29a389(0x378)][_0x29a389(0x2af)](_0x34e612[_0x29a389(0x4a4)]['id'],_0x33e704);}[_0x1a21ce(0x444)](_0x7c8d0c,_0xbbea9d,_0x386a93,_0x197544,_0x1e93ac){const _0x4178e1=_0x1a21ce;let _0x47796e=this[_0x4178e1(0xf3)][_0x4178e1(0x1ea)]()[_0x4178e1(0x2d6)],_0x520572={..._0x47796e},_0x27b3ca={'shapeId':_0xbbea9d['shapeId'],'cxnIndex':_0xbbea9d[_0x4178e1(0x1e9)]};_0x197544?(_0x520572[_0x4178e1(0x413)]=_0x27b3ca,_0x520572['to']=_0x386a93):(_0x520572['from']=_0x386a93,_0x520572['to']=_0x27b3ca);let _0x4b9d6d={'unitId':this[_0x4178e1(0x29c)],'subUnitId':this[_0x4178e1(0x251)],'connectorShapeId':this[_0x4178e1(0x376)],'width':_0x7c8d0c[_0x4178e1(0x121)]['width'],'height':_0x7c8d0c['worldRect'][_0x4178e1(0x31b)],'left':_0x7c8d0c[_0x4178e1(0x121)][_0x4178e1(0x192)],'top':_0x7c8d0c['worldRect'][_0x4178e1(0x33a)],'flipX':_0x7c8d0c[_0x4178e1(0x121)][_0x4178e1(0x405)]||!0x1,'flipY':_0x7c8d0c[_0x4178e1(0x121)][_0x4178e1(0x488)]||!0x1,'oldAdjustValues':_0x1e93ac,'newAdjustValues':_0x7c8d0c[_0x4178e1(0x324)],'newLineType':_0x7c8d0c[_0x4178e1(0x2cf)],'rotation':_0x7c8d0c[_0x4178e1(0x4cc)],'oldRelation':_0x47796e,'newRelation':_0x520572};this[_0x4178e1(0x378)]['executeCommand'](_0x34e612[_0x4178e1(0x193)]['id'],_0x4b9d6d);}[_0x1a21ce(0x179)](_0x5f5867,_0x37b4d6,_0x458677,_0x46c045){const _0x504a96=_0x1a21ce;let _0x53a8d7=this['_activeShapeModel'][_0x504a96(0x1ea)]()['relation'],_0x5d96c8={};_0x458677?(_0x5d96c8['to']=_0x37b4d6,_0x5d96c8['from']=void 0x0):(_0x5d96c8[_0x504a96(0x413)]=_0x37b4d6,_0x5d96c8['to']=void 0x0);let _0x4eca5c={'unitId':this[_0x504a96(0x29c)],'subUnitId':this[_0x504a96(0x251)],'connectorShapeId':this[_0x504a96(0x376)],'width':_0x5f5867['worldRect'][_0x504a96(0x36b)],'height':_0x5f5867[_0x504a96(0x121)][_0x504a96(0x31b)],'left':_0x5f5867['worldRect'][_0x504a96(0x192)],'top':_0x5f5867['worldRect'][_0x504a96(0x33a)],'flipX':_0x5f5867['worldRect']['flipX']||!0x1,'flipY':_0x5f5867['worldRect'][_0x504a96(0x488)]||!0x1,'oldAdjustValues':_0x46c045,'newAdjustValues':_0x5f5867['adjustValues'],'newLineType':_0x5f5867[_0x504a96(0x2cf)],'rotation':_0x5f5867['rotation'],'oldRelation':_0x53a8d7,'newRelation':_0x5d96c8};this['_commandService'][_0x504a96(0x2af)](_0x34e612[_0x504a96(0x193)]['id'],_0x4eca5c);}['_attachConnectorObjectEvent'](_0x5a6dec,_0x1b4c6a,_0x1005ea){const _0x2cb2c3=_0x1a21ce;this[_0x2cb2c3(0x4c4)]((0x0,_0x5cf0ce[_0x2cb2c3(0xff)])(_0x5a6dec[_0x2cb2c3(0x39e)]['subscribeEvent']((_0x2b2092,_0x2b3710)=>{const _0xe53a8e=_0x2cb2c3;let _0x462cd2=_0x5a6dec[_0xe53a8e(0x1a8)]();if(this['_activeShapeModel']=this[_0xe53a8e(0x23a)][_0xe53a8e(0x49e)](_0x462cd2['unitId'],_0x462cd2[_0xe53a8e(0x4b3)],_0x462cd2[_0xe53a8e(0x1f5)]),!this[_0xe53a8e(0xf3)])return;let _0x48883f={};this[_0xe53a8e(0xf3)][_0xe53a8e(0x388)]()[_0xe53a8e(0x123)](_0x3e7c41=>{const _0x74f379=_0xe53a8e;let _0x126633=this[_0x74f379(0xf3)][_0x74f379(0x317)](_0x3e7c41);_0x126633!==void 0x0&&(_0x48883f[_0x3e7c41]=_0x126633);});let _0x3d2153=this[_0xe53a8e(0x225)]();if(!_0x3d2153)return;this[_0xe53a8e(0x2b0)]={..._0x3d2153};let _0x37e652=new _0x24d21b[(_0xe53a8e(0x168))](this['_baseDrawingRect']),_0x5bd0c7=(0x0,_0x2a2438['getDrawingShapeKeyByDrawingSearch'])({'unitId':this['_unitId'],'subUnitId':this[_0xe53a8e(0x251)],'drawingId':this[_0xe53a8e(0x376)]}),_0xcd9ebf=_0x1b4c6a[_0xe53a8e(0x26e)](_0x5bd0c7);this['_isConnecting']=!0x0,_0x1b4c6a[_0xe53a8e(0x2c1)](),this['_sheetBasicShapeConnectionPointController']['startConnectionDetection'](_0x1b4c6a,this[_0xe53a8e(0x29c)],this[_0xe53a8e(0x251)],this[_0xe53a8e(0x376)]),this[_0xe53a8e(0x320)]=null;let _0x35cab7=this['_activeShapeModel'][_0xe53a8e(0x308)](),_0x59a747=_0x35cab7[0x0],_0x1a1f55=_0x35cab7[_0x35cab7['length']-0x1],_0x2bba71=_0x1005ea?_0x37e652[_0xe53a8e(0x458)](_0x1a1f55):_0x37e652[_0xe53a8e(0x458)](_0x59a747);this['_cxtHandlerPointerMove']=_0x1b4c6a[_0xe53a8e(0xee)][_0xe53a8e(0x3fc)]((_0xca476b,_0x44683d)=>{const _0x48f32a=_0xe53a8e;if(!this[_0x48f32a(0x180)]||!this[_0x48f32a(0xf3)])return;this['_hasReset']||=(this['_sheetShapeAdjustController'][_0x48f32a(0x4af)](),this[_0x48f32a(0xf3)][_0x48f32a(0x1b7)](),!0x0);let _0x265275=this['_getScrollInfo'](this['_unitId'],this[_0x48f32a(0x251)]),_0x54b508=this[_0x48f32a(0x129)](this[_0x48f32a(0x29c)],this['_subUnitId']),_0x4f5eb7={'x':_0xca476b[_0x48f32a(0x17f)]/_0x54b508+_0x265275['x'],'y':_0xca476b['offsetY']/_0x54b508+_0x265275['y']},_0x4354e9=this['_sheetBasicShapeConnectionPointController'][_0x48f32a(0x3db)](_0x4f5eb7);if(_0x4354e9){let {shapeId:_0x26e4ad,unitId:_0x201dcb,subUnitId:_0x25c34c}=_0x4354e9;if(_0x26e4ad&&_0x201dcb&&_0x25c34c){let _0x10804f=(0x0,_0x2a2438[_0x48f32a(0x414)])({'unitId':_0x201dcb,'subUnitId':_0x25c34c,'drawingId':_0x26e4ad});_0x4354e9[_0x48f32a(0x11e)]=(_0x1b4c6a['getObjectIncludeInGroup'](_0x10804f)[_0x48f32a(0x11e)]||0x0)+_0x4354e9[_0x48f32a(0x11e)];}}this[_0x48f32a(0x320)]=_0x4354e9;let _0x2fce31=_0x1005ea?this[_0x48f32a(0xf3)]['getEndConnectInfo']():this['_activeShapeModel'][_0x48f32a(0x2d2)]();_0x2fce31?this[_0x48f32a(0xe4)](_0x2fce31,_0x4f5eb7,_0x1005ea,_0xcd9ebf,_0x5a6dec):this[_0x48f32a(0x268)](_0x4f5eb7,_0x2bba71,_0x1005ea,_0xcd9ebf,_0x5a6dec);}),this[_0xe53a8e(0x3e8)]=_0x1b4c6a['onPointerUp$'][_0xe53a8e(0x3fc)]((_0x14e6b4,_0x37cb44)=>{const _0x14f8f0=_0xe53a8e;this[_0x14f8f0(0x380)](_0x1b4c6a,_0x2bba71,_0x14e6b4,_0x1005ea,_0x48883f);}),_0x2b3710[_0xe53a8e(0x344)]();})));}[_0x1a21ce(0x19c)](_0x4ecc18,_0x2842df,_0x622ef2){const _0x4ba55d=_0x1a21ce;let _0x4abb3a=this[_0x4ba55d(0x23a)][_0x4ba55d(0x12c)](_0x4ecc18,_0x2842df,_0x622ef2);if(!_0x4abb3a||_0x4abb3a[_0x4ba55d(0x38a)]===0x0)return;let _0x52b5e8=this[_0x4ba55d(0x411)]['getRenderUnitById'](_0x4ecc18);if(!_0x52b5e8)return;let {scene:_0x294692}=_0x52b5e8;for(let _0x574044 of _0x4abb3a){let _0x453387=_0x574044[_0x4ba55d(0x113)],_0x585a11=this[_0x4ba55d(0x23a)][_0x4ba55d(0x49e)](_0x4ecc18,_0x2842df,_0x453387);if(!_0x585a11)continue;let _0x261c0f=_0x585a11[_0x4ba55d(0x2d2)](),_0x5bf5c0=_0x585a11[_0x4ba55d(0x1cc)](),_0x4e9de5=(_0x261c0f==null?void 0x0:_0x261c0f['shapeId'])===_0x622ef2,_0x2cf2da=(0x0,_0x2a2438[_0x4ba55d(0x414)])({'unitId':_0x4ecc18,'subUnitId':_0x2842df,'drawingId':_0x453387}),_0x2e08bb=_0x294692[_0x4ba55d(0x26e)](_0x2cf2da);if(!_0x2e08bb)continue;let _0x4834a7=this['_drawingManagerService']['getDrawingByParam']({'unitId':_0x4ecc18,'subUnitId':_0x2842df,'drawingId':_0x453387});_0x4834a7!=null&&_0x4834a7[_0x4ba55d(0x3a9)]&&(_0x261c0f&&_0x5bf5c0?this[_0x4ba55d(0x43f)](_0x4ecc18,_0x2842df,_0x453387,_0x585a11,_0x261c0f,_0x5bf5c0,_0x2e08bb):this[_0x4ba55d(0x1da)](_0x4ecc18,_0x2842df,_0x453387,_0x585a11,_0x4e9de5?_0x261c0f:_0x5bf5c0,_0x4e9de5,_0x4834a7,_0x2e08bb));}}[_0x1a21ce(0x43f)](_0x33ebfb,_0x1c4aed,_0x31ccdf,_0x2556cc,_0x226b08,_0x1a053a,_0x40371c){const _0xee4278=_0x1a21ce;let _0x391e94=this['_unitId'],_0xe5abdd=this[_0xee4278(0x251)];this['_unitId']=_0x33ebfb,this[_0xee4278(0x251)]=_0x1c4aed;let _0x3509f5=this[_0xee4278(0xf4)](_0x226b08),_0x5143b4=this[_0xee4278(0xf4)](_0x1a053a);if(this[_0xee4278(0x29c)]=_0x391e94,this['_subUnitId']=_0xe5abdd,!_0x3509f5||!_0x5143b4)return;let _0x2b65ba=_0x2556cc['getShapeType'](),_0x2b7967=(0x0,_0x24d21b['routeConnectorLineShape'])(_0x3509f5,_0x5143b4,_0x2b65ba);_0x2b7967&&_0x2556cc[_0xee4278(0x3bf)](_0x2b7967);let _0x356907=(0x0,_0x24d21b[_0xee4278(0xfc)])(_0x2b7967,_0x2b65ba);_0x356907[_0xee4278(0x2cf)]!==_0x2b65ba&&_0x2556cc['changeShapeType'](_0x356907[_0xee4278(0x2cf)]),_0x2556cc[_0xee4278(0x1b7)]();for(let [_0x1c702a,_0x52531e]of Object[_0xee4278(0x210)](_0x356907[_0xee4278(0x324)]))_0x2556cc[_0xee4278(0x44b)](_0x1c702a,_0x52531e);_0x2556cc[_0xee4278(0x433)]({'width':_0x356907[_0xee4278(0x121)][_0xee4278(0x36b)],'height':_0x356907[_0xee4278(0x121)][_0xee4278(0x31b)]}),_0x40371c[_0xee4278(0x4bb)]({'flipX':_0x356907['worldRect'][_0xee4278(0x405)],'flipY':_0x356907[_0xee4278(0x121)][_0xee4278(0x488)],'left':_0x356907['worldRect'][_0xee4278(0x192)],'top':_0x356907[_0xee4278(0x121)]['top'],'width':_0x356907['worldRect'][_0xee4278(0x36b)],'height':_0x356907['worldRect'][_0xee4278(0x31b)],'angle':_0x356907['rotation']}),_0x2556cc[_0xee4278(0x1ad)]();}[_0x1a21ce(0x1da)](_0x271d53,_0x2592c8,_0x1cb673,_0x35a861,_0x26ef87,_0x22cc55,_0x39b3d3,_0x35fb3a){const _0x397073=_0x1a21ce;let _0x14f172=this['_unitId'],_0x5f231c=this[_0x397073(0x251)];this['_unitId']=_0x271d53,this[_0x397073(0x251)]=_0x2592c8;let _0x5bfef0=this['_getConnectPointInfo'](_0x26ef87);if(this[_0x397073(0x29c)]=_0x14f172,this[_0x397073(0x251)]=_0x5f231c,!_0x5bfef0)return;let {left:_0x44baa6=0x0,top:_0x56c63c=0x0,width:_0x483e9e=0x0,height:_0x4c77a9=0x0,flipX:_0x8e9658=!0x1,flipY:_0x486160=!0x1}=_0x39b3d3[_0x397073(0x3a9)],_0x1b68aa=_0x35a861[_0x397073(0x308)]();if(_0x1b68aa['length']<0x2)return;let _0x455f58=new _0x24d21b[(_0x397073(0x168))]({'left':_0x44baa6,'top':_0x56c63c,'width':_0x483e9e,'height':_0x4c77a9,'flipX':_0x8e9658,'flipY':_0x486160}),_0x52923d=_0x22cc55?_0x1b68aa[_0x1b68aa[_0x397073(0x38a)]-0x1]:_0x1b68aa[0x0],_0x4dd093=_0x455f58['localToWorld'](_0x52923d),_0x2a5dd7=_0x24d21b[_0x397073(0x168)][_0x397073(0x2a1)](_0x4dd093,_0x5bfef0['point'],!_0x22cc55);_0x35fb3a[_0x397073(0x4bb)]({'flipX':_0x2a5dd7['worldRect'][_0x397073(0x405)],'flipY':_0x2a5dd7[_0x397073(0x121)][_0x397073(0x488)],'left':_0x2a5dd7[_0x397073(0x121)][_0x397073(0x192)],'top':_0x2a5dd7['worldRect'][_0x397073(0x33a)],'width':_0x2a5dd7[_0x397073(0x121)][_0x397073(0x36b)],'height':_0x2a5dd7[_0x397073(0x121)][_0x397073(0x31b)],'angle':_0x2a5dd7[_0x397073(0x121)][_0x397073(0x11e)]}),_0x35fb3a['makeDirty'](!0x0);}[_0x1a21ce(0x151)](){const _0x31a7a3=_0x1a21ce;this['_connectorObjects'][_0x31a7a3(0x38a)]!==0x0&&(this[_0x31a7a3(0x10a)][_0x31a7a3(0x123)](_0x2da673=>{_0x2da673['dispose']();}),this[_0x31a7a3(0x10a)]=[]);}[_0x1a21ce(0x293)](){const _0x505e4f=_0x1a21ce;let _0xdd75a5=this[_0x505e4f(0x2d5)][_0x505e4f(0x17a)](_0x5cf0ce[_0x505e4f(0x21e)][_0x505e4f(0x3a3)]);this['disposeWithMe'](_0xdd75a5[_0x505e4f(0x472)]((0x0,_0x4cb228[_0x505e4f(0x116)])(_0x48991d=>_0x48991d?_0x48991d['activeSheet$'][_0x505e4f(0x472)]((0x0,_0x4cb228[_0x505e4f(0x116)])(_0x2f469f=>{const _0x7d7363=_0x505e4f;if(!_0x2f469f)return _0x4cb228[_0x7d7363(0x223)];let _0x4a0fa2=_0x48991d[_0x7d7363(0x290)](),_0x1c5023=this['_renderManagerService'][_0x7d7363(0x3ce)](_0x4a0fa2),_0x47b6c7=_0x1c5023==null?void 0x0:_0x1c5023[_0x7d7363(0x2d7)];return _0x47b6c7?(0x0,_0x4cb228['of'])(_0x47b6c7):_0x4cb228[_0x7d7363(0x223)];})):_0x4cb228[_0x505e4f(0x223)]))[_0x505e4f(0x3e7)](_0x4e912b=>{const _0x1b71c1=_0x505e4f;let _0x98229e=_0x4e912b[_0x1b71c1(0x17e)]();this[_0x1b71c1(0x4c4)](_0x4e912b['onPointerMove$'][_0x1b71c1(0x3fc)](_0x25bf38=>{const _0x45c045=_0x1b71c1;this['_isDrawingShapePointDown']&&this[_0x45c045(0x376)]&&this['_clearShapeConnectorHandlerObjects']();})),this[_0x1b71c1(0x4c4)](_0x98229e[_0x1b71c1(0x3f9)][_0x1b71c1(0x3e7)](_0x1308b7=>{const _0xd2f96c=_0x1b71c1;let {objects:_0x51fa54}=_0x1308b7;this[_0xd2f96c(0x151)](),_0x51fa54!==null&&_0x51fa54[_0xd2f96c(0x32b)]===0x1&&_0x51fa54['values']()[_0xd2f96c(0x395)]()['value']instanceof _0x4d7701&&(this[_0xd2f96c(0x49f)]=!0x0);})),this[_0x1b71c1(0x4c4)](_0x98229e['changing$'][_0x1b71c1(0x3e7)](_0x4d202f=>{const _0xcb3c0e=_0x1b71c1;this[_0xcb3c0e(0x49f)]&&this[_0xcb3c0e(0x151)]();})),this[_0x1b71c1(0x4c4)](_0x4e912b['onPointerUp$'][_0x1b71c1(0x3fc)](()=>{const _0x5132bf=_0x1b71c1;this[_0x5132bf(0x49f)]&&(this[_0x5132bf(0x49f)]=!0x1,this[_0x5132bf(0x31e)]());})),this[_0x1b71c1(0x4c4)](_0x98229e[_0x1b71c1(0x154)][_0x1b71c1(0x3e7)](()=>{const _0x3dd982=_0x1b71c1;this['_unitId']&&this[_0x3dd982(0x251)]&&this[_0x3dd982(0x376)]&&this[_0x3dd982(0x383)][_0x3dd982(0x214)]({'unitId':this['_unitId'],'subUnitId':this[_0x3dd982(0x251)],'drawingId':this[_0x3dd982(0x376)]})&&(this[_0x3dd982(0x151)](),this[_0x3dd982(0x31e)]());}));}));}[_0x1a21ce(0x447)](){const _0x115ff4=_0x1a21ce;this['disposeWithMe'](this['_drawingManagerService'][_0x115ff4(0x28c)][_0x115ff4(0x3e7)](_0xe74d75=>{const _0x537c34=_0x115ff4;if(_0xe74d75[_0x537c34(0x38a)]===0x1){let _0x7e60=_0xe74d75[0x0];if(_0x7e60[_0x537c34(0x497)]===_0x5cf0ce[_0x537c34(0x1c1)][_0x537c34(0x33f)]){let _0x1fb8ae=this[_0x537c34(0x23a)][_0x537c34(0x49e)](_0x7e60[_0x537c34(0x197)],_0x7e60[_0x537c34(0x4b3)],_0x7e60['drawingId']);if(_0x1fb8ae&&(0x0,_0x24d21b[_0x537c34(0x373)])(_0x1fb8ae[_0x537c34(0x1e0)]())){this[_0x537c34(0x376)]=_0x7e60['drawingId'],this[_0x537c34(0x29c)]=_0x7e60['unitId'],this[_0x537c34(0x251)]=_0x7e60[_0x537c34(0x4b3)],this[_0x537c34(0x151)](),this[_0x537c34(0x31e)]();return;}}}this[_0x537c34(0x376)]=void 0x0,this[_0x537c34(0x29c)]=void 0x0,this[_0x537c34(0x251)]=void 0x0,this[_0x537c34(0x151)]();})),this[_0x115ff4(0x4c4)](this[_0x115ff4(0x383)][_0x115ff4(0x479)][_0x115ff4(0x3e7)](_0x168e38=>{const _0x32ea37=_0x115ff4;if(_0x168e38[_0x32ea37(0x38a)]===0x1){var _0x3a98c3;let _0x27b566=_0x168e38[0x0],_0xa77945=(_0x3a98c3=this[_0x32ea37(0x383)][_0x32ea37(0x214)](_0x27b566))==null?void 0x0:_0x3a98c3[_0x32ea37(0x497)];_0xa77945===_0x5cf0ce[_0x32ea37(0x1c1)][_0x32ea37(0x33f)]&&_0x27b566[_0x32ea37(0x1f5)]===this[_0x32ea37(0x376)]?(this[_0x32ea37(0x151)](),this[_0x32ea37(0x31e)]()):!this[_0x32ea37(0x376)]&&_0xa77945===_0x5cf0ce[_0x32ea37(0x1c1)]['DRAWING_SHAPE']&&this[_0x32ea37(0x19c)](_0x27b566[_0x32ea37(0x197)],_0x27b566[_0x32ea37(0x4b3)],_0x27b566[_0x32ea37(0x1f5)]);}})),this['disposeWithMe'](this[_0x115ff4(0x383)][_0x115ff4(0x44c)][_0x115ff4(0x3e7)](_0x168b69=>{const _0xdb8cb6=_0x115ff4;for(let _0x2e06d9 of _0x168b69){let {drawingId:_0x5a481d}=_0x2e06d9;if(this[_0xdb8cb6(0x376)]===_0x5a481d){this[_0xdb8cb6(0x1a5)]();return;}}}));}[_0x1a21ce(0xe4)](_0x192f42,_0x2605fe,_0x36b528,_0x3c5e3c,_0x22a7f8){const _0xb57df8=_0x1a21ce;var _0xb02300;if(!this[_0xb57df8(0xf3)])return;let _0x273354=this[_0xb57df8(0xf4)](_0x192f42);if(!_0x273354)return;let _0x1e964a=this[_0xb57df8(0x320)]?this[_0xb57df8(0x320)]['worldPoint']:_0x2605fe,_0x2cb2fc=this[_0xb57df8(0x320)]?this[_0xb57df8(0x320)]['angle']:this['_calculateFreeEndpointAngle'](_0x273354[_0xb57df8(0x409)],_0x1e964a),_0xf7cb45;if(this[_0xb57df8(0x320)]){let _0x4fbc86=this[_0xb57df8(0x383)][_0xb57df8(0x214)]({'unitId':this[_0xb57df8(0x320)][_0xb57df8(0x197)],'subUnitId':this[_0xb57df8(0x320)][_0xb57df8(0x4b3)],'drawingId':this[_0xb57df8(0x320)][_0xb57df8(0x1b1)]});if(_0x4fbc86!=null&&_0x4fbc86[_0xb57df8(0x3a9)]){let {left:_0x516340=0x0,top:_0x51ae1c=0x0,width:_0x187209=0x0,height:_0x4f6fa5=0x0,angle:_0x177b9d}=_0x4fbc86['transform'];_0xf7cb45=(0x0,_0x24d21b[_0xb57df8(0x37b)])({'left':_0x516340,'top':_0x51ae1c,'width':_0x187209,'height':_0x4f6fa5},_0x177b9d||0x0);}else _0xf7cb45={'left':_0x1e964a['x'],'top':_0x1e964a['y'],'width':0x0,'height':0x0};}else _0xf7cb45={'left':_0x1e964a['x'],'top':_0x1e964a['y'],'width':0x0,'height':0x0};let _0x47fff6={'point':_0x1e964a,'angle':_0x2cb2fc,'bounds':_0xf7cb45},_0x2844be=_0x36b528?_0x47fff6:_0x273354,_0x49fe42=_0x36b528?_0x273354:_0x47fff6,_0x41eecf=this[_0xb57df8(0xf3)][_0xb57df8(0x1e0)](),_0x5379e2=(0x0,_0x24d21b[_0xb57df8(0x499)])(_0x2844be,_0x49fe42,_0x41eecf);_0x5379e2&&this[_0xb57df8(0xf3)][_0xb57df8(0x3bf)](_0x5379e2);let _0x541074=(0x0,_0x24d21b[_0xb57df8(0xfc)])(_0x5379e2,_0x41eecf);_0x541074[_0xb57df8(0x2cf)]!==_0x41eecf&&this[_0xb57df8(0xf3)]['changeShapeType'](_0x541074[_0xb57df8(0x2cf)]);for(let [_0x421502,_0x52fa74]of Object[_0xb57df8(0x210)](_0x541074['adjustValues']))this[_0xb57df8(0xf3)][_0xb57df8(0x44b)](_0x421502,_0x52fa74);this['_activeShapeModel'][_0xb57df8(0x433)]({'width':_0x541074[_0xb57df8(0x121)][_0xb57df8(0x36b)],'height':_0x541074[_0xb57df8(0x121)][_0xb57df8(0x31b)]}),_0x3c5e3c[_0xb57df8(0x4bb)]({'flipX':_0x541074['worldRect'][_0xb57df8(0x405)],'flipY':_0x541074[_0xb57df8(0x121)]['flipY'],'left':_0x541074['worldRect']['left'],'top':_0x541074[_0xb57df8(0x121)]['top'],'width':_0x541074[_0xb57df8(0x121)][_0xb57df8(0x36b)],'height':_0x541074[_0xb57df8(0x121)][_0xb57df8(0x31b)],'angle':_0x541074[_0xb57df8(0x4cc)]}),_0x3c5e3c[_0xb57df8(0x2a3)](!0x0);let _0x5478bb=((_0xb02300=this[_0xb57df8(0x320)])==null?void 0x0:_0xb02300[_0xb57df8(0x11d)])??_0x2605fe;_0x22a7f8[_0xb57df8(0x4bb)]({'left':_0x5478bb['x']-_0x24d21b[_0xb57df8(0x1a9)]['cxnPointRadius'],'top':_0x5478bb['y']-_0x24d21b['ShapeDefaultConfig'][_0xb57df8(0x177)]});}[_0x1a21ce(0x268)](_0x45b6c7,_0x2a13d7,_0x19864a,_0x3de38d,_0x25a7ff){const _0x18a2d5=_0x1a21ce;var _0x1cfe44,_0x3c32f1;let _0x410227=((_0x1cfe44=this[_0x18a2d5(0x320)])==null?void 0x0:_0x1cfe44[_0x18a2d5(0x11d)])??_0x45b6c7,_0x471732=_0x24d21b[_0x18a2d5(0x168)][_0x18a2d5(0x2a1)](_0x2a13d7,_0x410227,_0x19864a);_0x3de38d[_0x18a2d5(0x4bb)]({'flipX':_0x471732[_0x18a2d5(0x121)]['flipX'],'flipY':_0x471732[_0x18a2d5(0x121)]['flipY'],'left':_0x471732[_0x18a2d5(0x121)][_0x18a2d5(0x192)],'top':_0x471732[_0x18a2d5(0x121)][_0x18a2d5(0x33a)],'width':_0x471732[_0x18a2d5(0x121)][_0x18a2d5(0x36b)],'height':_0x471732[_0x18a2d5(0x121)][_0x18a2d5(0x31b)],'angle':_0x471732[_0x18a2d5(0x121)][_0x18a2d5(0x11e)]});let _0x36b095=((_0x3c32f1=this[_0x18a2d5(0x320)])==null?void 0x0:_0x3c32f1[_0x18a2d5(0x11d)])??_0x45b6c7;_0x25a7ff[_0x18a2d5(0x4bb)]({'left':_0x36b095['x']-_0x24d21b['ShapeDefaultConfig'][_0x18a2d5(0x177)],'top':_0x36b095['y']-_0x24d21b[_0x18a2d5(0x1a9)]['cxnPointRadius']});}[_0x1a21ce(0xf4)](_0x2c2d1f){const _0x5b5dc9=_0x1a21ce;if(!this['_unitId']||!this['_subUnitId'])return null;let {shapeId:_0x422bef,cxnIndex:_0x1380ad}=_0x2c2d1f,_0x3bb675=this[_0x5b5dc9(0x23a)][_0x5b5dc9(0x49e)](this['_unitId'],this[_0x5b5dc9(0x251)],_0x422bef);if(!_0x3bb675)return null;let _0x3e88da=this['_drawingManagerService']['getDrawingByParam']({'unitId':this[_0x5b5dc9(0x29c)],'subUnitId':this[_0x5b5dc9(0x251)],'drawingId':_0x422bef});if(!(_0x3e88da!=null&&_0x3e88da[_0x5b5dc9(0x3a9)]))return null;let {left:_0x538385=0x0,top:_0x39c877=0x0,width:_0x2404a1=0x0,height:_0x43b3b8=0x0,flipX:_0x56146e=!0x1,flipY:_0x438cf1=!0x1,angle:_0x26c315}=_0x3e88da[_0x5b5dc9(0x3a9)];_0x3bb675['updateContext']({'width':_0x2404a1,'height':_0x43b3b8});let _0x2a883e=_0x3bb675['getConnectionSiteList']()[_0x5b5dc9(0x169)](_0xd70c40=>_0xd70c40[_0x5b5dc9(0x291)]===_0x1380ad);if(!_0x2a883e)return null;let _0xfc24b8=_0x56146e?_0x2404a1-_0x2a883e['x']:_0x2a883e['x'],_0x545345=_0x438cf1?_0x43b3b8-_0x2a883e['y']:_0x2a883e['y'];if(_0x26c315!==0x0&&_0x26c315!=null){let _0x1f47b5=_0x26c315*Math['PI']/0xb4,_0x161454=Math['cos'](_0x1f47b5),_0x33531a=Math[_0x5b5dc9(0x1bc)](_0x1f47b5),_0x23bf39=_0x2404a1/0x2,_0x3e2fc7=_0x43b3b8/0x2,_0x1319fd=_0xfc24b8-_0x23bf39,_0x12cb60=_0x545345-_0x3e2fc7;_0xfc24b8=_0x23bf39+_0x1319fd*_0x161454-_0x12cb60*_0x33531a,_0x545345=_0x3e2fc7+_0x1319fd*_0x33531a+_0x12cb60*_0x161454;}_0xfc24b8+=_0x538385,_0x545345+=_0x39c877;let _0x4908ea=_0x2a883e[_0x5b5dc9(0x363)]/0xea60;_0x56146e&&(_0x4908ea=0xb4-_0x4908ea),_0x438cf1&&(_0x4908ea=-_0x4908ea),_0x4908ea+=_0x26c315||0x0,_0x4908ea=(_0x4908ea%0x168+0x168)%0x168;let _0xa9f028=(0x0,_0x24d21b[_0x5b5dc9(0x37b)])({'left':_0x538385,'top':_0x39c877,'width':_0x2404a1,'height':_0x43b3b8},_0x26c315||0x0);return{'point':{'x':_0xfc24b8,'y':_0x545345},'angle':_0x4908ea,'bounds':_0xa9f028};}[_0x1a21ce(0x430)](_0x479a9b,_0x226fe4){const _0x4ffcf7=_0x1a21ce;let _0x1a34e5=_0x226fe4['x']-_0x479a9b['x'],_0x5a8a10=_0x226fe4['y']-_0x479a9b['y'];return Math[_0x4ffcf7(0x16b)](_0x1a34e5)>=Math[_0x4ffcf7(0x16b)](_0x5a8a10)?_0x1a34e5>=0x0?0xb4:0x0:_0x5a8a10>=0x0?0x10e:0x5a;}[_0x1a21ce(0x1a5)](){const _0xe722c3=_0x1a21ce;this[_0xe722c3(0x376)]=void 0x0,this[_0xe722c3(0x29c)]=void 0x0,this[_0xe722c3(0x251)]=void 0x0,this[_0xe722c3(0x151)]();}[_0x1a21ce(0x351)](){const _0x490f0f=_0x1a21ce;this[_0x490f0f(0x151)](),super['dispose']();}};_0x380bd1=_0x3f6514([_0x4512b4(0x1,_0x5cf0ce[_0x1a21ce(0x311)]),_0x4512b4(0x2,_0x4413bb[_0x1a21ce(0x399)]),_0x4512b4(0x3,_0x2a2438['IDrawingManagerService']),_0x4512b4(0x4,_0x5cf0ce[_0x1a21ce(0x1d2)]),_0x4512b4(0x5,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x34e612[_0x1a21ce(0x457)])),_0x4512b4(0x6,(0x0,_0x5cf0ce['Inject'])(_0x5f5333)),_0x4512b4(0x7,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x1992a8))],_0x380bd1);let _0xd9aa70=class extends _0x5cf0ce['Disposable']{constructor(_0x4ed12d,_0x500d8b,_0x1fe446){const _0x510b8d=_0x1a21ce;super(),this[_0x510b8d(0x10d)]=_0x4ed12d,this[_0x510b8d(0x383)]=_0x500d8b,this[_0x510b8d(0x477)]=_0x1fe446,this['_initPrinting']();}[_0x1a21ce(0x2c3)](){const _0xfba9b9=_0x1a21ce;this[_0xfba9b9(0x4c4)](this['_sheetPrintInterceptorService'][_0xfba9b9(0x3ef)][_0xfba9b9(0x342)](this[_0xfba9b9(0x10d)]['interceptor']['getInterceptPoints']()[_0xfba9b9(0x2a6)],{'handler':(_0x14b9a3,_0x119c51,_0x297a3f)=>{const _0x7fda79=_0xfba9b9;var _0x38764b;let {unitId:_0x1475df,subUnitId:_0x270935,scene:_0x57e5a2,resourceCollector:_0x66699d}=_0x119c51,_0x44b289=(_0x38764b=this['_drawingManagerService']['getDrawingDataForUnit'](_0x1475df))==null?void 0x0:_0x38764b[_0x270935];return _0x44b289==null||_0x44b289[_0x7fda79(0x202)][_0x7fda79(0x123)](_0x2962b9=>{const _0x301e0d=_0x7fda79;let _0x40a078=_0x44b289[_0x301e0d(0x366)][_0x2962b9];_0x40a078[_0x301e0d(0x497)]===_0x5cf0ce[_0x301e0d(0x1c1)][_0x301e0d(0x33f)]&&!_0x40a078['hidden']&&this['_shapeRenderController']['renderDrawingShape'](_0x40a078,_0x57e5a2,{'resourceCollector':_0x66699d});}),_0x297a3f(_0x14b9a3);}}));}};_0xd9aa70=_0x3f6514([_0x4512b4(0x0,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x3e532c[_0x1a21ce(0x258)])),_0x4512b4(0x1,_0x2a2438['IDrawingManagerService']),_0x4512b4(0x2,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x251705))],_0xd9aa70);let _0x56da88=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x5da858,_0x13e7ac,_0x3f3494){const _0x23fa5b=_0x1a21ce;super(),this[_0x23fa5b(0x378)]=_0x5da858,this[_0x23fa5b(0x438)]=_0x13e7ac,this['_sheetPermissionCheckController']=_0x3f3494,this[_0x23fa5b(0x45a)]();}['_initPermission'](){const _0x53aa58=_0x1a21ce;this['disposeWithMe'](this[_0x53aa58(0x378)][_0x53aa58(0x1a2)](_0x4a619b=>{const _0x353c63=_0x53aa58;let _0x18661e,_0x143a1f;if(_0x4a619b['id']===_0x34e612[_0x353c63(0x4a9)]['id']||_0x4a619b['id']===_0x34e612['SetShapeDrawingDataCommand']['id']||_0x4a619b['id']===_0x34e612['UpdateConnectorRelationCommand']['id']){let _0x3a774b=_0x4a619b[_0x353c63(0x46d)];_0x18661e=_0x3a774b[_0x353c63(0x197)],_0x143a1f=_0x3a774b['subUnitId'];}_0x18661e&&_0x143a1f&&(this[_0x353c63(0x1b3)][_0x353c63(0x3e0)]({'workbookTypes':[_0xdab3fa[_0x353c63(0x1cf)]],'worksheetTypes':[_0xdab3fa[_0x353c63(0x30c)]]},_0x18661e,_0x143a1f)||this['_sheetPermissionCheckController']['blockExecuteWithoutPermission'](this[_0x353c63(0x438)]['t'](_0x353c63(0x231))));}));}};_0x56da88=_0x3f6514([_0x4512b4(0x0,(0x0,_0x5cf0ce['Inject'])(_0x5cf0ce[_0x1a21ce(0x311)])),_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x5cf0ce[_0x1a21ce(0x4ac)])),_0x4512b4(0x2,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0xdab3fa[_0x1a21ce(0x368)]))],_0x56da88);let _0x1451da=class{constructor(_0xd5100f){const _0x348e70=_0x1a21ce;this[_0x348e70(0x411)]=_0xd5100f;}[_0x1a21ce(0x20e)](_0x4b51ae,_0x49a5a7){const _0x14d5cf=_0x1a21ce;let _0x12cd07=this['_renderManagerService']['getRenderUnitById'](_0x4b51ae[_0x14d5cf(0x197)]),_0x2d46e7=_0x12cd07==null?void 0x0:_0x12cd07[_0x14d5cf(0x2d7)];if(!_0x2d46e7)return;let _0x193aef=(0x0,_0x2a2438[_0x14d5cf(0x414)])(_0x4b51ae),_0x7a3f27=_0x2d46e7[_0x14d5cf(0x26e)](_0x193aef);_0x7a3f27==null||_0x7a3f27[_0x14d5cf(0x237)](_0x49a5a7);}};_0x1451da=_0x3f6514([_0x4512b4(0x0,_0x4413bb[_0x1a21ce(0x399)])],_0x1451da);let _0x504be4=class extends _0x5cf0ce[_0x1a21ce(0x494)]{constructor(_0x5badbb=_0x141627,_0x532a64,_0x45e564,_0x1d7308,_0x38bfe5){const _0x209fe0=_0x1a21ce;super(),this['_config']=_0x5badbb,this[_0x209fe0(0x451)]=_0x532a64,this[_0x209fe0(0x378)]=_0x45e564,this[_0x209fe0(0x3d3)]=_0x1d7308,this[_0x209fe0(0x411)]=_0x38bfe5;let {..._0xbdc2d4}=(0x0,_0x5cf0ce[_0x209fe0(0x276)])({},_0x141627,this['_config']);this['_configService'][_0x209fe0(0x425)](_0x3f4761,_0xbdc2d4),this[_0x209fe0(0xe2)]();}[_0x1a21ce(0x152)](){const _0x59023a=_0x1a21ce;this['_injector'][_0x59023a(0x36d)]([_0x1338d4]),this['_injector'][_0x59023a(0x170)](_0x1338d4),(0x0,_0x5cf0ce[_0x59023a(0x18e)])(this[_0x59023a(0x451)],[[_0x2790fb],[_0x4f13f1],[_0x251705],[_0xd9aa70],[_0x1451da],[_0x46b0ec],[_0x5819ea],[_0x133380],[_0x56da88]]);}['onReady'](){const _0x2fbb1a=_0x1a21ce;(0x0,_0x5cf0ce[_0x2fbb1a(0x18e)])(this['_injector'],[[_0x1992a8],[_0x5f5333],[_0x4bbe2f]]),(0x0,_0x5cf0ce['touchDependencies'])(this['_injector'],[[_0x4bbe2f],[_0x5f5333]]),[[_0x1992a8],[_0x360356],[_0x380bd1],[_0x2c3da1]][_0x2fbb1a(0x123)](_0x290d67=>{const _0x49f5b2=_0x2fbb1a;this[_0x49f5b2(0x4c4)](this['_renderManagerService'][_0x49f5b2(0x39f)](_0x5cf0ce[_0x49f5b2(0x21e)]['UNIVER_SHEET'],_0x290d67));});}[_0x1a21ce(0x37d)](){const _0x114ce1=_0x1a21ce;(0x0,_0x5cf0ce[_0x114ce1(0x323)])(this[_0x114ce1(0x451)],[[_0x2790fb],[_0x4f13f1],[_0x251705],[_0xd9aa70],[_0x1451da],[_0x46b0ec],[_0x5819ea],[_0x133380],[_0x56da88]]);}[_0x1a21ce(0x155)](){const _0x5eb95c=_0x1a21ce;this[_0x5eb95c(0x451)][_0x5eb95c(0x170)](_0x2790fb)[_0x5eb95c(0x27b)]();}[_0x1a21ce(0xe2)](){const _0x1cfe66=_0x1a21ce;[_0x224af7,_0x25f5b2,_0x1bb1ad,_0x2a1c58][_0x1cfe66(0x123)](_0x384b9a=>this['disposeWithMe'](this[_0x1cfe66(0x378)]['registerCommand'](_0x384b9a)));}};_0x339d5f(_0x504be4,_0x1a21ce(0x3cb),_0x5cf0ce[_0x1a21ce(0x21e)][_0x1a21ce(0x3a3)]),_0x339d5f(_0x504be4,_0x1a21ce(0x262),_0x1a21ce(0xf9)),_0x339d5f(_0x504be4,_0x1a21ce(0x3aa),_0x6f3664),_0x339d5f(_0x504be4,'version',_0x46f9c2),_0x504be4=_0x3f6514([(0x0,_0x5cf0ce['DependentOn'])(_0x3d331c['UniverLicensePlugin'],_0x193e85['UniverDocsPlugin'],_0x2a2438[_0x1a21ce(0xfa)],_0x4413bb[_0x1a21ce(0x316)],_0xdab3fa[_0x1a21ce(0x389)],_0x26442e['UniverDocsUIPlugin'],_0x57dfd6['UniverSheetsDrawingPlugin'],_0x1b3552[_0x1a21ce(0x45e)],_0x22ea8b[_0x1a21ce(0x2e7)],_0x34e612[_0x1a21ce(0x340)],_0x3e532c[_0x1a21ce(0xe1)],_0x3ed8c6[_0x1a21ce(0x2ee)],_0x416351[_0x1a21ce(0x1c0)]),_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x5cf0ce[_0x1a21ce(0x3c7)])),_0x4512b4(0x2,_0x5cf0ce['ICommandService']),_0x4512b4(0x3,_0x5cf0ce[_0x1a21ce(0x452)]),_0x4512b4(0x4,_0x4413bb['IRenderManagerService'])],_0x504be4);let _0x1641ed={'type':_0x5cf0ce[_0x1a21ce(0x244)]['OPERATION'],'id':_0x1a21ce(0x217),'handler'(){return!0x0;}};function _0x3f9cee(){const _0x45f4ff=_0x1a21ce;let _0x58c036=(0x0,_0x416351['useDependency'])(_0x2a2438[_0x45f4ff(0x3e4)]),_0x248903=(0x0,_0x416351['useObservable'])(()=>_0x58c036[_0x45f4ff(0x28c)],_0x58c036[_0x45f4ff(0x314)](),!0x1,[_0x58c036]);return _0x248903[_0x45f4ff(0x38a)]===0x0?null:(0x0,_0x53553e[_0x45f4ff(0x404)])('div',{'children':(0x0,_0x53553e[_0x45f4ff(0x319)])(_0x45f4ff(0x429),{'className':'univer-box-border\x20univer-px-4\x20univer-text-sm','children':[(0x0,_0x53553e[_0x45f4ff(0x404)])(_0x11fb86[_0x45f4ff(0x360)],{'drawings':_0x248903,'hasCropper':!0x1}),(0x0,_0x53553e[_0x45f4ff(0x404)])(_0x22ea8b[_0x45f4ff(0x275)],{'drawings':_0x248903})]})});}function _0x321498(_0x1994e4){const _0x4973e1=_0x1a21ce;let {unitId:_0x5e9c15,subUnitId:_0x49d4dd,shapeId:_0x12c6ef}=_0x1994e4,_0x36509d=(0x0,_0x416351[_0x4973e1(0x20b)])(_0x5cf0ce[_0x4973e1(0x311)]),_0x3f44e8=(0x0,_0x416351[_0x4973e1(0x20b)])(_0x1451da);return(0x0,_0x53553e[_0x4973e1(0x404)])(_0x3ed8c6[_0x4973e1(0x4aa)],{..._0x1994e4,'positionEditor':(0x0,_0x53553e['jsx'])(_0x3f9cee,{}),'onUpdateShapeData':(_0x2a771f,_0x330469)=>{_0x12c3ae(_0x36509d,_0x5e9c15,_0x49d4dd,_0x12c6ef,_0x2a771f,_0x330469);},'onUpdateLineShapeData':(_0x1e9505,_0x55ad91)=>{_0xa96cd4(_0x36509d,_0x5e9c15,_0x49d4dd,_0x12c6ef,_0x1e9505,_0x55ad91);},'onUpdateShapeFillImage':_0x52e3c1=>{_0x3f44e8['updateShapeFillImage']({'unitId':_0x5e9c15,'subUnitId':_0x49d4dd,'drawingId':_0x12c6ef},_0x52e3c1);}});}function _0x1b59f7(_0x46e22f){const _0x5ef914=_0x1a21ce;let _0x4cb433=(0x0,_0x416351[_0x5ef914(0x20b)])(_0x3ed8c6[_0x5ef914(0x483)]),_0x3c3bdb=(0x0,_0x416351['useObservable'])(()=>_0x4cb433[_0x5ef914(0x310)],_0x4cb433[_0x5ef914(0xdc)](),!0x1,[_0x4cb433]),_0x25c5c6=_0x46e22f[_0x5ef914(0x493)][_0x5ef914(0x137)];return!_0x25c5c6||!_0x3c3bdb?null:(0x0,_0x53553e[_0x5ef914(0x404)])(_0x5a5f3a,{..._0x25c5c6,'canvasElement':_0x46e22f['popup'][_0x5ef914(0x30a)]});}function _0x5a5f3a(_0x28c90e){const _0x4256f7=_0x1a21ce;let _0x33ab3f=(0x0,_0x416351['useDependency'])(_0x5cf0ce[_0x4256f7(0x311)]),_0x1fcc85=(0x0,_0x416351[_0x4256f7(0x20b)])(_0x34e612[_0x4256f7(0x457)]),{unitId:_0xdc79a3,subUnitId:_0x4872fb,drawingId:_0x5d5cb2,drawingType:_0x8e519e,shapeType:_0xa91217}=_0x28c90e,[_0x5deaad,_0x5a9da4]=(0x0,_0x41b065['useState'])(_0x28c90e[_0x4256f7(0x476)]),_0x3bc2be=(0x0,_0x41b065[_0x4256f7(0x455)])(()=>(0x0,_0x3ed8c6[_0x4256f7(0x343)])(_0x5deaad),[_0x5deaad]),_0x38202a=(0x0,_0x41b065['useMemo'])(()=>(0x0,_0x3ed8c6[_0x4256f7(0x303)])(_0x5deaad),[_0x5deaad]);(0x0,_0x41b065[_0x4256f7(0x2e2)])(()=>{const _0x44f676=_0x4256f7;let _0x6b109=_0x33ab3f[_0x44f676(0x30f)](_0xc55dbe=>{const _0x52364a=_0x44f676;if(_0xc55dbe['id']!==_0x34e612['UpdateSheetsShapeDataMutation']['id'])return;let _0x200120=_0x1fcc85[_0x52364a(0x23d)](_0xdc79a3,_0x4872fb,_0x5d5cb2);_0x200120&&_0x5a9da4(_0x200120);});return()=>_0x6b109[_0x44f676(0x351)]();},[_0x33ab3f,_0x5d5cb2,_0x1fcc85,_0x4872fb,_0xdc79a3]);let _0x44e88d=_0x3f08a7=>{_0x5a9da4(_0xdff1fe=>({..._0xdff1fe,..._0x3f08a7}));},_0x3026fe=_0x32140c=>{const _0xacbe39=_0x4256f7;let _0x210788=(0x0,_0x3ed8c6[_0xacbe39(0x16f)])(_0x5deaad,_0x32140c);_0x12c3ae(_0x33ab3f,_0xdc79a3,_0x4872fb,_0x5d5cb2,{'oldShapeData':{'shapeText':_0x5deaad[_0xacbe39(0x2d4)]}},_0x210788),_0x44e88d(_0x210788);},_0x1d1944=(0x0,_0x3ed8c6[_0x4256f7(0x390)])({'hostType':_0x5cf0ce[_0x4256f7(0x21e)][_0x4256f7(0x3a3)],'unitId':_0xdc79a3,'subUnitId':_0x4872fb,'shapeId':_0x5d5cb2,'shapeData':_0x5deaad,'onUpdateBinding':_0x1b3951=>{const _0x193526=_0x4256f7;let _0xf981e3={'formulaBinding':_0x1b3951};_0x12c3ae(_0x33ab3f,_0xdc79a3,_0x4872fb,_0x5d5cb2,{'oldShapeData':{'formulaBinding':_0x5deaad[_0x193526(0x126)]}},_0xf981e3),_0x44e88d(_0xf981e3);}});return(0x0,_0x53553e['jsxs'])(_0x53553e['Fragment'],{'children':[(0x0,_0x53553e['jsx'])(_0x3ed8c6[_0x4256f7(0x1d3)],{'canvasElement':_0x28c90e[_0x4256f7(0x30a)],'shapeData':_0x5deaad,'shapeType':_0xa91217,'textStyle':{'ff':_0x24d21b[_0x4256f7(0x1a9)][_0x4256f7(0x2d4)][_0x4256f7(0x1fd)],'fs':_0x24d21b[_0x4256f7(0x1a9)][_0x4256f7(0x2d4)][_0x4256f7(0x3c3)],'cl':{'rgb':_0x24d21b[_0x4256f7(0x1a9)][_0x4256f7(0x2d4)]['color']},..._0x3bc2be},'textModel':_0x38202a?{'ha':_0x38202a['ha']??_0x5cf0ce[_0x4256f7(0x41a)][_0x4256f7(0x2f2)],'va':_0x38202a['va']??_0x5cf0ce[_0x4256f7(0x393)][_0x4256f7(0x3f7)]}:null,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x24d21b['ShapeDefaultConfig'][_0x4256f7(0x4ae)],'defaultGradientEndColor':_0x24d21b[_0x4256f7(0x1a9)][_0x4256f7(0x232)],'defaultStrokeColor':_0x24d21b[_0x4256f7(0x1a9)][_0x4256f7(0x1f2)],'extensionGroups':_0x1d1944[_0x4256f7(0x26f)],'floatingObjectToolbarPosition':_0x416351[_0x4256f7(0x40e)][_0x4256f7(0x3af)],'onUpdateShapeData':(_0x5211c4,_0x150f2a)=>{_0x12c3ae(_0x33ab3f,_0xdc79a3,_0x4872fb,_0x5d5cb2,_0x5211c4,_0x150f2a),_0x150f2a&&_0x44e88d(_0x150f2a);},'onUpdateText':_0x3026fe,'onOpenPanel':()=>{const _0xa4e29e=_0x4256f7;_0x33ab3f[_0xa4e29e(0x2af)](_0x212f1d['id'],{'unitId':_0xdc79a3,'subUnitId':_0x4872fb,'drawingId':_0x5d5cb2});},'onDelete':()=>{const _0x248d1a=_0x4256f7;_0x33ab3f[_0x248d1a(0x2af)](_0x57dfd6[_0x248d1a(0x22e)]['id'],{'unitId':_0xdc79a3,'drawings':[{'unitId':_0xdc79a3,'subUnitId':_0x4872fb,'drawingId':_0x5d5cb2,'drawingType':_0x8e519e}]});}}),_0x1d1944[_0x4256f7(0x400)]]});}function _0x785574(_0x51b972){const _0x31c303=_0x1a21ce;return!!_0x51b972&&_0x31c303(0x333)in _0x51b972&&_0x31c303(0x1ed)in _0x51b972;}let _0x48f7c2=(0x0,_0x41b065[_0x1a21ce(0x371)])(()=>{const _0x5741c4=_0x1a21ce;let _0x1d41cb=(0x0,_0x416351[_0x5741c4(0x20b)])(_0x46b0ec),_0x15b853=(0x0,_0x416351[_0x5741c4(0x20b)])(_0x34e612[_0x5741c4(0x457)]),_0x384fe9=(0x0,_0x416351[_0x5741c4(0x20b)])(_0x2a2438[_0x5741c4(0x3e4)]),_0x57a434=(0x0,_0x416351['useDependency'])(_0x5cf0ce[_0x5741c4(0x311)]),_0x19a3ef=(0x0,_0x416351['useDependency'])(_0x416351[_0x5741c4(0x115)]),_0x1eba85=(0x0,_0x416351[_0x5741c4(0x20b)])(_0x4413bb['IRenderManagerService']),_0x45764c=(0x0,_0x41b065[_0x5741c4(0x455)])(()=>({'getShapeModel':(_0x4bc5e8,_0x9a0c9,_0x30e3ec)=>_0x15b853['getShapeModel'](_0x4bc5e8,_0x9a0c9,_0x30e3ec),'getShapeData':(_0x1e847c,_0x4fe042,_0x55caad)=>_0x15b853[_0x5741c4(0x23d)](_0x1e847c,_0x4fe042,_0x55caad),'getDrawingTransform':(_0x44d27d,_0x1c2b91,_0x20f7bc)=>{const _0x223f65=_0x5741c4;let _0x41c6b5=_0x384fe9[_0x223f65(0x214)]({'unitId':_0x44d27d,'subUnitId':_0x1c2b91,'drawingId':_0x20f7bc});return _0x41c6b5==null?void 0x0:_0x41c6b5[_0x223f65(0x3a9)];},'updateShapeText':({unitId:_0x1d2020,subUnitId:_0x5525fa,shapeId:_0x23248a,shapeText:_0x24551e,oldShapeText:_0x922fc5,hostSize:_0x14d7bd})=>{const _0x1c254a=_0x5741c4;_0x19a3ef[_0x1c254a(0x3ca)](_0x1d2020,()=>{const _0x1532c1=_0x1c254a;var _0x1611f6;let _0x4c259e=_0x57a434[_0x1532c1(0x25e)](_0x25f5b2['id'],{'unitId':_0x1d2020,'subUnitId':_0x5525fa,'shapeId':_0x23248a,'shapeData':{'shapeText':_0x24551e},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x922fc5}}});if(!_0x4c259e||!_0x14d7bd)return _0x4c259e;let _0x524fcf=_0x384fe9[_0x1532c1(0x214)]({'unitId':_0x1d2020,'subUnitId':_0x5525fa,'drawingId':_0x23248a}),_0x1a4473=_0x524fcf==null?void 0x0:_0x524fcf[_0x1532c1(0x3a9)];if(!_0x785574(_0x524fcf)||!_0x1a4473)return!0x1;let _0x457f82={..._0x1a4473,'width':_0x14d7bd[_0x1532c1(0x36b)],'height':_0x14d7bd[_0x1532c1(0x31b)]},_0x1cffe6=(_0x1611f6=_0x1eba85[_0x1532c1(0x3ce)](_0x1d2020))==null||(_0x1611f6=_0x1611f6[_0x1532c1(0x18b)](_0x3e532c['SheetSkeletonManagerService'])[_0x1532c1(0x30d)](_0x5525fa))==null?void 0x0:_0x1611f6[_0x1532c1(0x40f)];return _0x57a434['syncExecuteCommand'](_0x57dfd6[_0x1532c1(0x120)]['id'],{'unitId':_0x1d2020,'drawings':[{..._0x524fcf,'transform':_0x457f82,'sheetTransform':_0x1cffe6?(0x0,_0x57dfd6[_0x1532c1(0x44a)])(_0x457f82,_0x1cffe6)??_0x524fcf[_0x1532c1(0x1ed)]:_0x524fcf[_0x1532c1(0x1ed)],'axisAlignSheetTransform':_0x1cffe6?(0x0,_0x57dfd6[_0x1532c1(0x242)])(_0x457f82,_0x1cffe6)??_0x524fcf[_0x1532c1(0x333)]:_0x524fcf[_0x1532c1(0x333)]}]});});},'updateHostSize':({unitId:_0x3b854e,subUnitId:_0x1d457d,shapeId:_0x295356,width:_0x16dcaa,height:_0x487fcb})=>{const _0x1f0e7b=_0x5741c4;var _0x128076;let _0x4af2e6=_0x384fe9[_0x1f0e7b(0x214)]({'unitId':_0x3b854e,'subUnitId':_0x1d457d,'drawingId':_0x295356}),_0x4593e7=_0x4af2e6==null?void 0x0:_0x4af2e6[_0x1f0e7b(0x3a9)];if(!_0x785574(_0x4af2e6)||!_0x4593e7)return;let _0x41178d={..._0x4593e7,'width':_0x16dcaa,'height':_0x487fcb},_0x21ac67=(_0x128076=_0x1eba85[_0x1f0e7b(0x3ce)](_0x3b854e))==null||(_0x128076=_0x128076[_0x1f0e7b(0x18b)](_0x3e532c[_0x1f0e7b(0x432)])[_0x1f0e7b(0x30d)](_0x1d457d))==null?void 0x0:_0x128076[_0x1f0e7b(0x40f)],_0x4eb940=_0x21ac67?(0x0,_0x57dfd6[_0x1f0e7b(0x44a)])(_0x41178d,_0x21ac67)??_0x4af2e6[_0x1f0e7b(0x1ed)]:_0x4af2e6[_0x1f0e7b(0x1ed)],_0xf36a2c=_0x21ac67?(0x0,_0x57dfd6[_0x1f0e7b(0x242)])(_0x41178d,_0x21ac67)??_0x4af2e6['axisAlignSheetTransform']:_0x4af2e6['axisAlignSheetTransform'];_0x57a434[_0x1f0e7b(0x2af)](_0x57dfd6[_0x1f0e7b(0x120)]['id'],{'unitId':_0x3b854e,'drawings':[{..._0x4af2e6,'transform':_0x41178d,'sheetTransform':_0x4eb940,'axisAlignSheetTransform':_0xf36a2c}]});},'allowHostSizeShrink':({unitId:_0x2933e3,subUnitId:_0x13bbbe,shapeId:_0x57830f})=>(0x0,_0x3ed8c6[_0x5741c4(0x105)])(_0x15b853[_0x5741c4(0x23d)](_0x2933e3,_0x13bbbe,_0x57830f)),'deferHostSizeUpdateDuringEditing':()=>!0x0}),[_0x57a434,_0x384fe9,_0x1eba85,_0x15b853,_0x19a3ef]),_0x1aaf86=(0x0,_0x41b065['useMemo'])(()=>({'viewportKeys':{'main':_0x4413bb['SHEET_VIEWPORT_KEY'][_0x5741c4(0x16e)],'leftTop':_0x4413bb[_0x5741c4(0x235)]['VIEW_MAIN_LEFT_TOP'],'top':_0x4413bb[_0x5741c4(0x235)][_0x5741c4(0x175)],'left':_0x4413bb[_0x5741c4(0x235)][_0x5741c4(0x28f)]},'getSkeleton':(_0xbb3535,_0x4dbf0d)=>{const _0x2678fa=_0x5741c4;var _0x5c54ac;return((_0x5c54ac=_0xbb3535[_0x2678fa(0x18b)](_0x3e532c[_0x2678fa(0x432)])[_0x2678fa(0x30d)](_0x4dbf0d[_0x2678fa(0x4b3)]))==null?void 0x0:_0x5c54ac[_0x2678fa(0x40f)])??null;}}),[]);return(0x0,_0x53553e[_0x5741c4(0x404)])(_0x3ed8c6[_0x5741c4(0x32f)],{'adapter':_0x45764c,'editingService':_0x1d41cb,'editorUnitId':_0x4a60e9,'positionOptions':_0x1aaf86});}),_0x4c97be=class extends _0x5cf0ce['Disposable']{constructor(_0xf7d64b,_0xbc9cba){const _0x547f5d=_0x1a21ce;super(),this[_0x547f5d(0x1f7)]=_0xf7d64b,this[_0x547f5d(0x460)]=_0xbc9cba,this['_registerIcons'](),this[_0x547f5d(0x1ca)]();}[_0x1a21ce(0x1b9)](){const _0x34fcb3=_0x1a21ce;this[_0x34fcb3(0x460)]['has'](_0x34fcb3(0x302))||this['disposeWithMe'](this[_0x34fcb3(0x460)][_0x34fcb3(0x3b8)]({'ObjectLayersIcon':_0x829491})),this[_0x34fcb3(0x460)][_0x34fcb3(0x3c6)](_0x34fcb3(0x346))||this[_0x34fcb3(0x4c4)](this[_0x34fcb3(0x460)][_0x34fcb3(0x3b8)]({'FlipHorizontalIcon':_0x3e2952})),this[_0x34fcb3(0x460)][_0x34fcb3(0x3c6)](_0x34fcb3(0x220))||this['disposeWithMe'](this['_iconManager'][_0x34fcb3(0x3b8)]({'FlipVerticalIcon':_0xd31e07})),this[_0x34fcb3(0x460)]['has'](_0x34fcb3(0x2ae))||this[_0x34fcb3(0x4c4)](this[_0x34fcb3(0x460)][_0x34fcb3(0x3b8)]({'BottomIcon':_0x5d5b89})),this['_iconManager'][_0x34fcb3(0x3c6)]('MoveDownIcon')||this['disposeWithMe'](this['_iconManager']['register']({'MoveDownIcon':_0x2fde21})),this[_0x34fcb3(0x460)]['has'](_0x34fcb3(0x46f))||this[_0x34fcb3(0x4c4)](this['_iconManager']['register']({'MoveUpIcon':_0x560c8a})),this[_0x34fcb3(0x460)]['has']('ShapeFormatSettingIcon')||this[_0x34fcb3(0x4c4)](this['_iconManager']['register']({'ShapeFormatSettingIcon':_0x557122})),this[_0x34fcb3(0x460)][_0x34fcb3(0x3c6)](_0x34fcb3(0x2a7))||this[_0x34fcb3(0x4c4)](this[_0x34fcb3(0x460)][_0x34fcb3(0x3b8)]({'TopmostIcon':_0x4aa8d7}));}[_0x1a21ce(0x1ca)](){const _0x6398ca=_0x1a21ce;this[_0x6398ca(0x4c4)](this['_componentManager'][_0x6398ca(0x3b8)](_0x454d12,_0x321498)),this['disposeWithMe'](this['_componentManager'][_0x6398ca(0x3b8)](_0x56bb7a,_0x5f03c9)),this[_0x6398ca(0x4c4)](this[_0x6398ca(0x1f7)][_0x6398ca(0x3b8)](_0x116576,_0x52aff6)),this[_0x6398ca(0x4c4)](this['_componentManager'][_0x6398ca(0x3b8)](_0x4a940a,_0x4dc294)),this[_0x6398ca(0x1f7)][_0x6398ca(0x43a)](_0x11fb86[_0x6398ca(0x1ee)])||this[_0x6398ca(0x4c4)](this[_0x6398ca(0x1f7)]['register'](_0x11fb86[_0x6398ca(0x1ee)],_0x5d1131)),this[_0x6398ca(0x4c4)](this['_componentManager']['register'](_0x1931aa,_0x1b59f7)),this[_0x6398ca(0x4c4)](this[_0x6398ca(0x1f7)][_0x6398ca(0x3b8)](_0x47e237,_0xf36676)),this[_0x6398ca(0x4c4)](this[_0x6398ca(0x1f7)][_0x6398ca(0x3b8)](_0x55b4e5,_0x1c6931)),this[_0x6398ca(0x4c4)](this[_0x6398ca(0x1f7)][_0x6398ca(0x3b8)](_0x330cdf,_0x44850f)),this[_0x6398ca(0x4c4)](this['_componentManager']['register'](_0x501bd1,_0x2df28d)),this[_0x6398ca(0x4c4)](this[_0x6398ca(0x1f7)]['register'](_0x4da57b,_0x3ed8c6['ShapeTextFloatToolbar'])),this[_0x6398ca(0x4c4)](this[_0x6398ca(0x1f7)][_0x6398ca(0x3b8)]('SheetShapeTextEditorContainer',_0x48f7c2));}};_0x4c97be=_0x3f6514([_0x4512b4(0x0,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x416351['ComponentManager'])),_0x4512b4(0x1,(0x0,_0x5cf0ce['Inject'])(_0x416351[_0x1a21ce(0x1a6)]))],_0x4c97be);let _0x43a88a=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x44d419,_0x2f087b,_0x44d4a7,_0x8349cf,_0x202294,_0x3643a9,_0x4c8227,_0x25fe3f,_0x2c8fb9){const _0x51c790=_0x1a21ce;super();let _0x1fe108=_0x1327bc=>{const _0x7560b=_0x1cfe;var _0x452a3c,_0x5aee1b;return(((_0x452a3c=_0x25fe3f[_0x7560b(0x19f)](new _0xdab3fa[(_0x7560b(0x1cf))](_0x1327bc[_0x7560b(0x197)])['id']))==null?void 0x0:_0x452a3c[_0x7560b(0x2f5)])??!0x0)&&(((_0x5aee1b=_0x25fe3f[_0x7560b(0x19f)](new _0xdab3fa[(_0x7560b(0x30c))](_0x1327bc['unitId'],_0x1327bc[_0x7560b(0x4b3)])['id']))==null?void 0x0:_0x5aee1b[_0x7560b(0x2f5)])??!0x0);},_0x3f6669=_0x33ff48=>_0x33ff48['shapeId']&&_0x1fe108(_0x33ff48)?_0x44d4a7[_0x51c790(0x23d)](_0x33ff48[_0x51c790(0x197)],_0x33ff48[_0x51c790(0x4b3)],_0x33ff48[_0x51c790(0x1b1)])??null:null,_0xbd91ef=()=>{const _0x54d241=_0x51c790;let _0x28d758=_0x202294[_0x54d241(0x314)](),_0x26580b=_0x28d758[_0x54d241(0x38a)]===0x1?_0x28d758[0x0]:null;return(_0x26580b==null?void 0x0:_0x26580b['drawingType'])===_0x5cf0ce[_0x54d241(0x1c1)][_0x54d241(0x33f)]&&_0x26580b[_0x54d241(0x197)]===_0x44d419[_0x54d241(0x197)]?{'unitId':_0x26580b[_0x54d241(0x197)],'subUnitId':_0x26580b[_0x54d241(0x4b3)],'shapeId':_0x26580b['drawingId']}:null;};this[_0x51c790(0x4c4)]((0x0,_0x3ed8c6['registerShapeFormatPainter'])(_0x44d419,_0x2f087b,{'changes$':(0x0,_0x4cb228[_0x51c790(0x276)])(_0x202294['focus$'],_0x8349cf[_0x51c790(0x326)],_0x25fe3f['permissionPointUpdate$']),'isActive':()=>{const _0x46f98e=_0x51c790;var _0x348012;return((_0x348012=_0x3643a9[_0x46f98e(0x3a1)]())==null?void 0x0:_0x348012[_0x46f98e(0x290)]())===_0x44d419['unitId']&&!_0x4c8227[_0x46f98e(0x4bc)](_0x5cf0ce['FOCUSING_SHAPE_TEXT_EDITOR'])&&_0x202294[_0x46f98e(0x314)]()[_0x46f98e(0x25a)](_0x1a23ac=>_0x1a23ac['unitId']===_0x44d419[_0x46f98e(0x197)]);},'getSelectedTarget':_0xbd91ef,'getSource':()=>{let _0x3a7bea=_0xbd91ef();return _0x3a7bea?_0x3f6669(_0x3a7bea):null;},'getTarget':_0x32e30b=>{const _0x5ddd1d=_0x51c790;let _0x4d5bb5=_0x44d419['scene'][_0x5ddd1d(0x181)](new _0x4413bb['Vector2'](_0x32e30b[_0x5ddd1d(0x17f)],_0x32e30b[_0x5ddd1d(0x27c)]));if(!(_0x4d5bb5 instanceof _0x4d7701))return null;let _0x12f99b={'unitId':_0x44d419[_0x5ddd1d(0x197)],'subUnitId':_0x4d5bb5[_0x5ddd1d(0x4b3)],'shapeId':_0x4d5bb5[_0x5ddd1d(0x1b1)]};return _0x1fe108(_0x12f99b)?_0x12f99b:null;},'getShape':_0x3f6669,'update':(_0x4eb64c,_0x39eabe,_0x56f17b)=>_0x2c8fb9[_0x51c790(0x2af)](_0x25f5b2['id'],{..._0x4eb64c,'shapeData':_0x56f17b,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x39eabe}})}));}};_0x43a88a=_0x3f6514([_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x416351[_0x1a21ce(0x216)])),_0x4512b4(0x2,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x34e612['SheetsShapeService'])),_0x4512b4(0x3,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x46b0ec)),_0x4512b4(0x4,_0x2a2438[_0x1a21ce(0x3e4)]),_0x4512b4(0x5,_0x5cf0ce[_0x1a21ce(0x1d2)]),_0x4512b4(0x6,_0x5cf0ce[_0x1a21ce(0x2bb)]),_0x4512b4(0x7,_0x5cf0ce[_0x1a21ce(0x1e5)]),_0x4512b4(0x8,_0x5cf0ce[_0x1a21ce(0x311)])],_0x43a88a);let _0x482d5f=_0x1a21ce(0x23c),_0x2c9918=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x321fe5,_0x5ba9a5,_0x511fa5,_0xb0034f,_0x1073de,_0x568dcf){const _0x246faf=_0x1a21ce;super(),this['_menuManagerService']=_0x321fe5,this['_ribbonService']=_0x5ba9a5,this['_drawingManagerService']=_0x511fa5,this[_0x246faf(0x2d5)]=_0xb0034f,this[_0x246faf(0x411)]=_0x1073de,this[_0x246faf(0x4cb)]=_0x568dcf,_0x339d5f(this,'_visible',!0x1),this[_0x246faf(0x4a0)][_0x246faf(0x339)](_0x2bcfb6),this['disposeWithMe']((0x0,_0x5cf0ce[_0x246faf(0xff)])(this[_0x246faf(0x383)][_0x246faf(0x28c)][_0x246faf(0x3e7)](()=>this[_0x246faf(0x304)]()))),this[_0x246faf(0x304)]();}['dispose'](){const _0x386609=_0x1a21ce;this[_0x386609(0x4cb)]['setFallbackVisible'](!0x1,_0x482d5f),this['_hide'](),super[_0x386609(0x351)]();}[_0x1a21ce(0x304)](){const _0x4854ca=_0x1a21ce;var _0x23e6e3;let _0x45ecbd=this[_0x4854ca(0x383)]['getFocusDrawings'](),_0xf25ffb=_0x45ecbd[_0x4854ca(0x38a)]===0x1?_0x45ecbd[0x0]:void 0x0;if((_0xf25ffb==null?void 0x0:_0xf25ffb[_0x4854ca(0x497)])!==_0x5cf0ce['DrawingTypeEnum'][_0x4854ca(0x33f)]||this[_0x4854ca(0x2d5)]['getUnitType'](_0xf25ffb[_0x4854ca(0x197)])!==_0x5cf0ce[_0x4854ca(0x21e)]['UNIVER_SHEET']){this[_0x4854ca(0x4cb)][_0x4854ca(0x2f7)](!0x1,_0x482d5f),this[_0x4854ca(0x2c7)]();return;}let _0x580669=(_0x23e6e3=this[_0x4854ca(0x411)]['getRenderUnitById'](_0xf25ffb[_0x4854ca(0x197)]))==null?void 0x0:_0x23e6e3[_0x4854ca(0x4b9)][_0x4854ca(0x36c)](),_0x2379de=(0x0,_0x3ed8c6[_0x4854ca(0x14c)])(_0x580669)===_0x4854ca(0x2cb);this[_0x4854ca(0x4cb)]['setFallbackVisible'](_0x2379de,_0x482d5f),_0x2379de?this['_hide']():this[_0x4854ca(0x250)]||(this['_visible']=!0x0,this[_0x4854ca(0x1ac)][_0x4854ca(0x13d)](_0x1e91c2,{'activate':!0x0}));}[_0x1a21ce(0x2c7)](){const _0x15f26f=_0x1a21ce;this[_0x15f26f(0x250)]&&(this['_visible']=!0x1,this[_0x15f26f(0x1ac)]['hideContextualTab'](_0x1e91c2),this[_0x15f26f(0x1ac)][_0x15f26f(0x406)]([]));}};_0x2c9918=_0x3f6514([_0x4512b4(0x0,_0x416351['IMenuManagerService']),_0x4512b4(0x1,_0x416351['IRibbonService']),_0x4512b4(0x2,_0x2a2438[_0x1a21ce(0x3e4)]),_0x4512b4(0x3,_0x5cf0ce['IUniverInstanceService']),_0x4512b4(0x4,_0x4413bb[_0x1a21ce(0x399)]),_0x4512b4(0x5,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x3ed8c6[_0x1a21ce(0x483)]))],_0x2c9918);let _0xceb7ba=class extends _0x3ed8c6[_0x1a21ce(0x3e3)]{constructor(_0x56ea56,_0x48d513,_0x2faca4,_0x1c23f3,_0x20c19b,_0x11c396,_0x24a0af,_0xb5b296,_0xcc47a4,_0x1ffaab){super(_0x56ea56,_0x48d513,_0x2faca4,_0x1c23f3,_0x20c19b,_0x11c396,_0x24a0af,_0xb5b296,_0xcc47a4,_0x1ffaab,{'componentKey':_0x4da57b,'editorUnitId':_0x4a60e9});}};_0xceb7ba=_0x3f6514([_0x4512b4(0x1,(0x0,_0x5cf0ce['Inject'])(_0x193e85[_0x1a21ce(0x11a)])),_0x4512b4(0x2,(0x0,_0x5cf0ce['Inject'])(_0x26442e[_0x1a21ce(0x13a)])),_0x4512b4(0x3,(0x0,_0x5cf0ce['Inject'])(_0x26442e[_0x1a21ce(0x355)])),_0x4512b4(0x4,_0x5cf0ce['ICommandService']),_0x4512b4(0x5,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x26442e[_0x1a21ce(0x309)])),_0x4512b4(0x6,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x3ed8c6[_0x1a21ce(0x3e1)])),_0x4512b4(0x7,(0x0,_0x5cf0ce['Inject'])(_0x193e85[_0x1a21ce(0x4a5)])),_0x4512b4(0x8,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x26442e['DocRenderController'])),_0x4512b4(0x9,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x46b0ec))],_0xceb7ba);let _0x2b87c7=class extends _0x3ed8c6[_0x1a21ce(0x420)]{constructor(_0x58d5f1,_0x2f79dd,_0x102c42,_0x4bbc65,_0x2ecea8){const _0x56dec7=_0x1a21ce;super(_0x58d5f1,_0x2f79dd,{'editing$':_0x102c42['editingParams$'],'resolve':_0x46290a=>{const _0xa3a241=_0x1cfe;var _0x30d4e5,_0x547f9f,_0x13a1e1;let _0x2d5389=new _0x4413bb['Vector2'](_0x46290a['offsetX'],_0x46290a['offsetY']),_0x15c512=((_0x30d4e5=_0x58d5f1[_0xa3a241(0x2d7)][_0xa3a241(0x253)](_0x2d5389))==null?void 0x0:_0x30d4e5[_0xa3a241(0x2d9)](_0x2d5389))??_0x2d5389,_0x51a8b1=(0x0,_0x3ed8c6['resolveShapeTextHyperLinkObject'])(_0x58d5f1[_0xa3a241(0x2d7)][_0xa3a241(0x181)](_0x2d5389)??null,_0x15c512);if(!(_0x51a8b1 instanceof _0x4d7701))return null;let _0x36c5ae=_0x51a8b1[_0xa3a241(0x45b)](_0x15c512);if(!_0x36c5ae)return null;let _0x16f28e=_0x51a8b1,_0x10bd90={'componentKey':_0x3ed8c6[_0xa3a241(0xdf)][_0xa3a241(0x27a)],'direction':_0xa3a241(0x2a4),'offset':[0x0,0xa],'onClickOutside':()=>_0x2f79dd[_0xa3a241(0x16c)]()};return{'object':_0x51a8b1,'info':{..._0x36c5ae,'unitId':_0x51a8b1[_0xa3a241(0x197)],'subUnitId':_0x51a8b1['subUnitId'],'shapeKey':_0x51a8b1[_0xa3a241(0x30b)],'readonly':!0x0,'copyable':((_0x547f9f=_0x2ecea8[_0xa3a241(0x19f)](new _0xdab3fa[(_0xa3a241(0x1e4))](_0x51a8b1[_0xa3a241(0x197)])['id']))==null?void 0x0:_0x547f9f[_0xa3a241(0x2f5)])!==!0x1&&((_0x13a1e1=_0x2ecea8[_0xa3a241(0x19f)](new _0xdab3fa['WorksheetCopyPermission'](_0x51a8b1[_0xa3a241(0x197)],_0x51a8b1['subUnitId'])['id']))==null?void 0x0:_0x13a1e1[_0xa3a241(0x2f5)])!==!0x1},'attachPopup':()=>_0x4bbc65[_0xa3a241(0x1f6)](_0x16f28e,_0x10bd90)};}}),this[_0x56dec7(0x4c4)](_0x58d5f1[_0x56dec7(0x10f)]['activeSheet$'][_0x56dec7(0x3e7)](()=>this[_0x56dec7(0x2c6)]()));}};_0x2b87c7=_0x3f6514([_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x3ed8c6[_0x1a21ce(0x3e1)])),_0x4512b4(0x2,(0x0,_0x5cf0ce['Inject'])(_0x46b0ec)),_0x4512b4(0x3,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x3e532c[_0x1a21ce(0x199)])),_0x4512b4(0x4,_0x5cf0ce[_0x1a21ce(0x1e5)])],_0x2b87c7);let _0x29f7ba=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x581def,_0x1b5b92,_0x2c9b15,_0x332f84,_0x3bfa83,_0x2434c7,_0x121767,_0x2aba40,_0x3f014f,_0x2e4a27,_0x31bfad){const _0x254e8a=_0x1a21ce;super(),this['_univerInstanceService']=_0x581def,this['_sidebarService']=_0x1b5b92,this[_0x254e8a(0x4a0)]=_0x2c9b15,this[_0x254e8a(0x23a)]=_0x332f84,this[_0x254e8a(0x438)]=_0x3bfa83,this[_0x254e8a(0x378)]=_0x2434c7,this['_drawingManagerService']=_0x121767,this[_0x254e8a(0x191)]=_0x2aba40,this[_0x254e8a(0x1d7)]=_0x3f014f,this[_0x254e8a(0x411)]=_0x2e4a27,this[_0x254e8a(0x2ea)]=_0x31bfad,_0x339d5f(this,_0x254e8a(0x3bd),null),_0x339d5f(this,_0x254e8a(0x312),null),_0x339d5f(this,_0x254e8a(0x487),!0x1),_0x339d5f(this,_0x254e8a(0x48c),0x0),_0x339d5f(this,_0x254e8a(0x128),null),_0x339d5f(this,_0x254e8a(0x3a8),[]),this['_initMenu'](),this['disposeWithMe'](this['_univerInstanceService'][_0x254e8a(0x17a)](_0x5cf0ce['UniverInstanceType']['UNIVER_SHEET'])[_0x254e8a(0x3e7)](_0x2a81d5=>{const _0x37e4fe=_0x254e8a;if(!_0x2a81d5){var _0xf686ea;(_0xf686ea=this[_0x37e4fe(0x3bd)])==null||_0xf686ea[_0x37e4fe(0x351)]();}})),this['_registerOperations'](),this['initShapePopupMenu'](),this[_0x254e8a(0x4c4)](this[_0x254e8a(0x2ea)][_0x254e8a(0x326)][_0x254e8a(0x3e7)](_0xa2137d=>{const _0x190998=_0x254e8a;_0xa2137d&&this[_0x190998(0x257)]();}));}['_initMenu'](){const _0x24f0b1=_0x1a21ce;this[_0x24f0b1(0x4a0)]['mergeMenu'](_0x54229f);}[_0x1a21ce(0x27b)](){const _0x4e275e=_0x1a21ce;this[_0x4e275e(0x128)]||=this[_0x4e275e(0x4c4)]((0x0,_0x3ed8c6[_0x4e275e(0x467)])(this['_renderManagerService'],_0x5cf0ce[_0x4e275e(0x21e)][_0x4e275e(0x3a3)],_0x2cb4a2=>this[_0x4e275e(0x14f)](_0x2cb4a2)));}['_getShapeInfo'](_0x45e076,_0x208fb4,_0x48f132){const _0x53cece=_0x1a21ce;let _0x2fd579=this[_0x53cece(0x23a)]['getShapeTypeById'](_0x45e076,_0x208fb4,_0x48f132),_0x3328d8=this[_0x53cece(0x23a)][_0x53cece(0x23d)](_0x45e076,_0x208fb4,_0x48f132);return _0x2fd579!==void 0x0&&_0x3328d8!==void 0x0?{'shapeData':_0x3328d8,'shapeId':_0x48f132,'shapeType':_0x2fd579,'unitId':_0x45e076,'subUnitId':_0x208fb4,'version':this['_shapeEditPanelVersion'],'disableShapeOption':!0x1}:null;}[_0x1a21ce(0x257)](){const _0x182fe6=_0x1a21ce;this['_disposePopups'][_0x182fe6(0x123)](_0x40c480=>_0x40c480[_0x182fe6(0x351)]()),this['_disposePopups'][_0x182fe6(0x38a)]=0x0;}[_0x1a21ce(0x14f)](_0x3d8186){const _0x1219c3=_0x1a21ce;let _0x1b5e69=new _0x5cf0ce[(_0x1219c3(0x35b))]();return _0x1b5e69[_0x1219c3(0x36d)](_0x3d8186['createControl$'][_0x1219c3(0x3e7)](()=>{const _0x5dd2ff=_0x1219c3;let _0x79e7b8=_0x3d8186[_0x5dd2ff(0x103)]();if(this[_0x5dd2ff(0x257)](),this[_0x5dd2ff(0x487)]||_0x79e7b8['size']>0x1)return;let _0x89e779=_0x79e7b8[_0x5dd2ff(0x3da)]()['next']()['value'];if(!_0x89e779)return;let _0xbb6ac1=this[_0x5dd2ff(0x383)][_0x5dd2ff(0x372)](_0x89e779[_0x5dd2ff(0x30b)]);if(!_0xbb6ac1||_0xbb6ac1[_0x5dd2ff(0x497)]!==_0x5cf0ce['DrawingTypeEnum'][_0x5dd2ff(0x33f)])return;let {unitId:_0x22d157,subUnitId:_0x4baaa6,drawingId:_0x118e97,drawingType:_0x51b18c}=_0xbb6ac1,_0x4007f3=this[_0x5dd2ff(0x47e)](_0x22d157,_0x4baaa6,_0x118e97);if(!_0x4007f3)return;this[_0x5dd2ff(0x1d7)][_0x5dd2ff(0x1fa)](_0x5cf0ce[_0x5dd2ff(0x2ad)],!0x0);let _0x59b159=this[_0x5dd2ff(0x411)][_0x5dd2ff(0x3ce)](_0x22d157),_0x39cb33=((_0x59b159==null?void 0x0:_0x59b159[_0x5dd2ff(0x101)])===!0x1?_0x59b159[_0x5dd2ff(0x18b)](_0x3e532c[_0x5dd2ff(0x199)]):this[_0x5dd2ff(0x191)])[_0x5dd2ff(0x1f6)](_0x89e779,{'componentKey':_0x1931aa,'direction':_0x5dd2ff(0x174),'offset':[0x0,_0x3ed8c6['SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET']],'extraProps':{'unitId':_0x22d157,'subUnitId':_0x4baaa6,'drawingId':_0x118e97,'drawingType':_0x51b18c,'shapeType':_0x4007f3[_0x5dd2ff(0xde)],'shapeData':_0x4007f3[_0x5dd2ff(0x476)]}});this[_0x5dd2ff(0x3a8)]['push'](this[_0x5dd2ff(0x4c4)](_0x39cb33)),this[_0x5dd2ff(0x383)][_0x5dd2ff(0x314)]()[_0x5dd2ff(0x169)](_0x46b7ea=>_0x46b7ea['unitId']===_0x22d157&&_0x46b7ea[_0x5dd2ff(0x4b3)]===_0x4baaa6&&_0x46b7ea[_0x5dd2ff(0x1f5)]===_0x118e97)||this[_0x5dd2ff(0x383)][_0x5dd2ff(0x149)]([{'unitId':_0x22d157,'subUnitId':_0x4baaa6,'drawingId':_0x118e97}]);})),_0x1b5e69[_0x1219c3(0x36d)](_0x3d8186['clearControl$']['subscribe'](()=>{const _0x1b442c=_0x1219c3;this['_clearPopups'](),this['_contextService'][_0x1b442c(0x1fa)](_0x5cf0ce[_0x1b442c(0x2ad)],!0x1),this[_0x1b442c(0x383)][_0x1b442c(0x149)](null);})),_0x1b5e69['add'](_0x3d8186[_0x1219c3(0x4ab)][_0x1219c3(0x3e7)](()=>{this['_clearPopups']();})),_0x1b5e69[_0x1219c3(0x36d)](_0x3d8186[_0x1219c3(0x3f9)]['subscribe'](()=>{const _0x5922f3=_0x1219c3;this[_0x5922f3(0x257)]();})),(0x0,_0x5cf0ce['toDisposable'])(()=>{const _0x42ff79=_0x1219c3;_0x1b5e69[_0x42ff79(0x351)](),this[_0x42ff79(0x257)]();});}['_registerOperations'](){const _0x192f2d=_0x1a21ce;this[_0x192f2d(0x4c4)](this['_commandService'][_0x192f2d(0x30f)](_0x4f44fb=>{const _0x30b6ac=_0x192f2d;if(_0x4f44fb['id']===_0x212f1d['id']){let {unitId:_0x40292e,subUnitId:_0x4824b1,drawingId:_0x343369}=_0x4f44fb[_0x30b6ac(0x46d)];this[_0x30b6ac(0x48c)]+=0x1,this[_0x30b6ac(0x312)]=this[_0x30b6ac(0x47e)](_0x40292e,_0x4824b1,_0x343369),this['_clearPopups'](),this[_0x30b6ac(0x3b6)]();}if(_0x4f44fb['id']===_0x1641ed['id']&&(this[_0x30b6ac(0x312)]=null,this[_0x30b6ac(0x1f1)]()),_0x4f44fb['id']===_0x34e612[_0x30b6ac(0x426)]['id']){let {unitId:_0xd79a37,subUnitId:_0x306e53,shapeId:_0x2542bb}=_0x4f44fb[_0x30b6ac(0x46d)];if(this[_0x30b6ac(0x312)]&&this[_0x30b6ac(0x312)]['shapeId']===_0x2542bb){let _0x335edc=this['_getShapeInfo'](_0xd79a37,_0x306e53,_0x2542bb);_0x335edc&&(this[_0x30b6ac(0x48c)]+=0x1,_0x335edc[_0x30b6ac(0x176)]=this[_0x30b6ac(0x48c)],this[_0x30b6ac(0x312)]=_0x335edc,this[_0x30b6ac(0x487)]&&this[_0x30b6ac(0x3b6)]());}}})),this[_0x192f2d(0x4c4)](this[_0x192f2d(0x383)][_0x192f2d(0x28c)][_0x192f2d(0x3e7)](_0x449a12=>{const _0x14d753=_0x192f2d;if(this['_isOpenedShapeEditPanel']===!0x1)return;if(_0x449a12['length']===0x0){this['_activeShapeInfo']=null,this[_0x14d753(0x1f1)]();return;}if(_0x449a12[_0x14d753(0x38a)]===0x1&&_0x449a12[0x0]['drawingType']===_0x5cf0ce[_0x14d753(0x1c1)]['DRAWING_SHAPE']&&(this[_0x14d753(0x48c)]+=0x1,this[_0x14d753(0x312)]=this[_0x14d753(0x47e)](_0x449a12[0x0][_0x14d753(0x197)],_0x449a12[0x0][_0x14d753(0x4b3)],_0x449a12[0x0][_0x14d753(0x1f5)]),this['_activeShapeInfo'])){this[_0x14d753(0x3b6)]();return;}let _0x136aa3=_0x449a12[_0x14d753(0x431)](_0x2b5b50=>_0x2b5b50['drawingType']===_0x5cf0ce[_0x14d753(0x1c1)][_0x14d753(0x33f)]);if(_0x449a12['length']>0x1&&_0x136aa3['length']===_0x449a12[_0x14d753(0x38a)]){if(this[_0x14d753(0x48c)]+=0x1,this['_activeShapeInfo']=this[_0x14d753(0x47e)](_0x449a12[0x0][_0x14d753(0x197)],_0x449a12[0x0][_0x14d753(0x4b3)],_0x449a12[0x0][_0x14d753(0x1f5)]),this[_0x14d753(0x312)]){this['_openShapeEditPanel']();return;}}else{if(this[_0x14d753(0x48c)]+=0x1,this[_0x14d753(0x312)]=this[_0x14d753(0x47e)](_0x449a12[0x0][_0x14d753(0x197)],_0x449a12[0x0]['subUnitId'],_0x449a12[0x0][_0x14d753(0x1f5)]),this[_0x14d753(0x312)]){this[_0x14d753(0x312)][_0x14d753(0x42c)]=!0x0,this[_0x14d753(0x3b6)]();return;}}this[_0x14d753(0x1f1)]();}));}[_0x1a21ce(0x3b6)](){const _0x2b2537=_0x1a21ce;this[_0x2b2537(0x312)]&&(this[_0x2b2537(0x3bd)]=this['_sidebarService']['open']({'id':_0x454d12,'header':{'title':this[_0x2b2537(0x438)]['t']('sheets-shape-ui.formatShape')},'width':0x184,'children':{'label':_0x454d12,...this[_0x2b2537(0x312)]},'onClose':()=>{const _0x1b585e=_0x2b2537;this[_0x1b585e(0x383)][_0x1b585e(0x149)](null),this['_contextService'][_0x1b585e(0x1fa)](_0x5cf0ce[_0x1b585e(0x2ad)],!0x1),this[_0x1b585e(0x3bd)]=null;}}),this[_0x2b2537(0x487)]=!0x0);}[_0x1a21ce(0x1f1)](){const _0x13a588=_0x1a21ce;this[_0x13a588(0x487)]=!0x1,this[_0x13a588(0x17c)][_0x13a588(0x1b2)](_0x454d12),this[_0x13a588(0x3bd)]=null,this[_0x13a588(0x1d7)][_0x13a588(0x1fa)](_0x5cf0ce[_0x13a588(0x2ad)],!0x1),this['_drawingManagerService']['focusDrawing'](null);}};_0x29f7ba=_0x3f6514([_0x4512b4(0x0,_0x5cf0ce[_0x1a21ce(0x1d2)]),_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x416351[_0x1a21ce(0x3bb)])),_0x4512b4(0x2,_0x416351[_0x1a21ce(0x46b)]),_0x4512b4(0x3,(0x0,_0x5cf0ce['Inject'])(_0x34e612['SheetsShapeService'])),_0x4512b4(0x4,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x5cf0ce['LocaleService'])),_0x4512b4(0x5,_0x5cf0ce[_0x1a21ce(0x311)]),_0x4512b4(0x6,_0x2a2438[_0x1a21ce(0x3e4)]),_0x4512b4(0x7,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x3e532c[_0x1a21ce(0x199)])),_0x4512b4(0x8,_0x5cf0ce[_0x1a21ce(0x2bb)]),_0x4512b4(0x9,_0x4413bb['IRenderManagerService']),_0x4512b4(0xa,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x46b0ec))],_0x29f7ba);let _0x11f9b0=class extends _0x5cf0ce[_0x1a21ce(0x494)]{constructor(_0x4bbdb4=_0x141627,_0x134ff9,_0x293e31,_0x5eeaec,_0x3d5f3e){const _0x58c354=_0x1a21ce;super(),this[_0x58c354(0x196)]=_0x4bbdb4,this[_0x58c354(0x451)]=_0x134ff9,this['_commandService']=_0x293e31,this[_0x58c354(0x3d3)]=_0x5eeaec,this[_0x58c354(0x411)]=_0x3d5f3e;let {..._0x4f6217}=(0x0,_0x5cf0ce[_0x58c354(0x276)])({},_0x141627,this[_0x58c354(0x196)]);this[_0x58c354(0x3d3)][_0x58c354(0x425)](_0x3f4761,_0x4f6217),this[_0x58c354(0xe2)]();}['onRendered'](){const _0xf8aa30=_0x1a21ce;this['_renderManagerService'][_0xf8aa30(0x39f)](_0x5cf0ce[_0xf8aa30(0x21e)][_0xf8aa30(0x32e)],[_0xceb7ba]),(0x0,_0x5cf0ce['touchDependencies'])(this[_0xf8aa30(0x451)],[[_0x29f7ba],[_0x4f13f1],[_0x251705],[_0xd9aa70]]);}[_0x1a21ce(0x155)](){const _0xb75ad3=_0x1a21ce;this[_0xb75ad3(0x451)]['get'](_0x29f7ba)[_0xb75ad3(0x27b)]();}[_0x1a21ce(0x40a)](){const _0x49f780=_0x1a21ce;[[_0x1992a8],[_0x5f5333],[_0x4bbe2f]][_0x49f780(0x123)](_0x18be56=>this[_0x49f780(0x451)][_0x49f780(0x36d)](_0x18be56)),(0x0,_0x5cf0ce[_0x49f780(0x323)])(this[_0x49f780(0x451)],[[_0x4bbe2f],[_0x5f5333]]),this[_0x49f780(0x411)][_0x49f780(0x39f)](_0x5cf0ce['UniverInstanceType']['UNIVER_SHEET'],[_0x1992a8]),this[_0x49f780(0x411)][_0x49f780(0x39f)](_0x5cf0ce[_0x49f780(0x21e)][_0x49f780(0x3a3)],[_0x360356]),this[_0x49f780(0x411)][_0x49f780(0x39f)](_0x5cf0ce[_0x49f780(0x21e)][_0x49f780(0x3a3)],[_0x380bd1]),this[_0x49f780(0x411)][_0x49f780(0x39f)](_0x5cf0ce[_0x49f780(0x21e)][_0x49f780(0x3a3)],[_0x3505a0]),this[_0x49f780(0x4c4)](this['_renderManagerService'][_0x49f780(0x39f)](_0x5cf0ce['UniverInstanceType'][_0x49f780(0x3a3)],[_0x2b87c7])),this[_0x49f780(0x4c4)](this[_0x49f780(0x411)][_0x49f780(0x39f)](_0x5cf0ce[_0x49f780(0x21e)]['UNIVER_SHEET'],[_0x43a88a]));}[_0x1a21ce(0x152)](){const _0x450ec7=_0x1a21ce;this[_0x450ec7(0x451)][_0x450ec7(0x36d)]([_0x4c97be]),this[_0x450ec7(0x451)][_0x450ec7(0x170)](_0x4c97be);let _0xdcfdee=this[_0x450ec7(0x451)];[[_0x29f7ba],[_0x4f13f1],[_0x251705],[_0xd9aa70],[_0x1451da],[_0x46b0ec],[_0x5819ea],[_0x133380],[_0x56da88],[_0x2c9918]]['forEach'](_0x3e5e0e=>_0xdcfdee['add'](_0x3e5e0e)),(0x0,_0x5cf0ce[_0x450ec7(0x323)])(this[_0x450ec7(0x451)],[[_0x29f7ba],[_0x4f13f1],[_0x251705],[_0x1451da],[_0x46b0ec],[_0x5819ea],[_0x133380],[_0x56da88],[_0x2c9918]]);}[_0x1a21ce(0xe2)](){const _0x422174=_0x1a21ce;[_0x224af7,_0x25f5b2,_0x1641ed,_0x212f1d,_0x106220,_0x1bb1ad,_0x325d8a,_0x684ce2]['forEach'](_0x306d2d=>this[_0x422174(0x4c4)](this['_commandService']['registerCommand'](_0x306d2d)));}};_0x339d5f(_0x11f9b0,'type',_0x5cf0ce[_0x1a21ce(0x21e)]['UNIVER_SHEET']),_0x339d5f(_0x11f9b0,_0x1a21ce(0x262),'SHEET_SHAPE_UI_PLUGIN'),_0x339d5f(_0x11f9b0,_0x1a21ce(0x3aa),_0x6f3664),_0x339d5f(_0x11f9b0,_0x1a21ce(0x176),_0x46f9c2),_0x11f9b0=_0x3f6514([(0x0,_0x5cf0ce[_0x1a21ce(0x219)])(_0x3d331c[_0x1a21ce(0x3c2)],_0x193e85[_0x1a21ce(0x4ba)],_0x2a2438[_0x1a21ce(0xfa)],_0x11fb86[_0x1a21ce(0x150)],_0x4413bb[_0x1a21ce(0x316)],_0xdab3fa[_0x1a21ce(0x389)],_0x26442e[_0x1a21ce(0x2c5)],_0x57dfd6[_0x1a21ce(0x233)],_0x1b3552['UniverShapeEditorPlugin'],_0x22ea8b[_0x1a21ce(0x1fb)],_0x34e612[_0x1a21ce(0x340)],_0x3e532c[_0x1a21ce(0x286)],_0x3ed8c6[_0x1a21ce(0x2f4)]),_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x5cf0ce[_0x1a21ce(0x3c7)])),_0x4512b4(0x2,_0x5cf0ce[_0x1a21ce(0x311)]),_0x4512b4(0x3,_0x5cf0ce[_0x1a21ce(0x452)]),_0x4512b4(0x4,_0x4413bb[_0x1a21ce(0x399)])],_0x11f9b0),_0x22a054[_0x1a21ce(0x305)]=_0x2bcfb6,_0x22a054[_0x1a21ce(0x481)]=_0x54229f,Object[_0x1a21ce(0x401)](_0x22a054,'UniverSheetsShapeMobileUIPlugin',{'enumerable':!0x0,'get':function(){return _0x504be4;}}),Object[_0x1a21ce(0x401)](_0x22a054,'UniverSheetsShapeUIPlugin',{'enumerable':!0x0,'get':function(){return _0x11f9b0;}});}));function _0x4425(){const _0x253f84=['VerticalAlign','getShapeQuickStylePreset','next','getShapeTypeById','max','drawing-ui.objectListPanel.moveForward','IRenderManagerService','_formulaAnimation','_getScrollInfo','React','disconnect','onPointerDown$','registerRenderModule','Observable','getFocusedUnit','M7.82994\x201.40913C7.88746\x201.35161\x207.95376\x201.30821\x208.02453\x201.27893C8.09527\x201.24959\x208.17285\x201.2334\x208.2542\x201.2334C8.33555\x201.2334\x208.41313\x201.24959\x208.48387\x201.27893C8.55464\x201.30821\x208.62094\x201.35161\x208.67846\x201.40913L10.6785\x203.40913C10.9128\x203.64345\x2010.9128\x204.02335\x2010.6785\x204.25766C10.4441\x204.49198\x2010.0642\x204.49198\x209.82994\x204.25766L8.8542\x203.28193V5.8334C8.8542\x206.16477\x208.58557\x206.4334\x208.2542\x206.4334C7.92283\x206.4334\x207.6542\x206.16477\x207.6542\x205.8334V3.28193L6.67846\x204.25766C6.44415\x204.49198\x206.06425\x204.49198\x205.82994\x204.25766C5.59562\x204.02335\x205.59562\x203.64345\x205.82994\x203.40913L7.82994\x201.40913Z','UNIVER_SHEET','_initSheetChange','Medium','sheet.menu.shape.flip-vertical','ShapeFormatSettingIcon','_disposePopups','transform','packageName','_baseLeft','_highlightedSiteIndex','MenuManagerPosition','CopySheetCommand','SHEET','0\x200\x2017\x2016','3883443noDypA','_currentUniverService','draw','useObservable','actions','_openShapeEditPanel','doc','register','useLayoutEffect','sheets-shape-ui.ribbon.shape-format.formula-control','ISidebarService','use','_sidebarDisposable','error','updateLinePoints','resetCursor','_isStartConnectorPoint','UniverLicensePlugin','fontSize','UniverDrawingUi','onPointerUp$','has','Injector','description','drawWith','run','type','UniverProShapeEditorUi','cxnPointStroke','getRenderUnitById','SHAPE_EDITOR_TRANSFORMER_CONFIG','getViewportByCell','_registerImageShapeClipDelegate','toFixed','_configService','_hyperLinkRegions','_baseShapeHeight','_createShapeAdjustControls','Circle','parseFloat','UniverDesign','values','updateConnectionDetection','drawing-ui.objectListPanel.lockHint','forwardRef','updateDocumentDataMargin','min','permissionCheckWithoutRange','ShapeTextHyperLinkPopupService','onSavingEditorData$','ShapeTextFloatMenuRenderControllerBase','IDrawingManagerService','sheets-shape-ui.shape-format.formula-ribbon-control','adjHandleSize','subscribe','_cxtHandlerPointerUp','react','clip-adj-','isInGroup','ContextMenuGroup','classType','UniverCore','interceptor','getBoundingClientRect','contentVerticalOffset','getAdjustInfoByName','Disposable','_updateAdjustControlPositions','M8\x202.2V3.8','add$','TOP','_isImagePointerDown','changeStart$','round','getMatrix','subscribeEvent','refreshShapeFillImage','_isStartAdjusting','sheetViewStartRow','panel','defineProperty','DocumentSkeleton','@univerjs-pro/shape-editor-ui','jsx','flipX','setCollapsedIds','sheets-shape-ui.ribbon.shape-format.arrange-front','getConnectionInfo','point','onReady','startWith','Vector2','useId','FloatingObjectToolbarPosition','skeleton','ShapeIcon','_renderManagerService','getUnit','from','getDrawingShapeKeyByDrawingSearch','enableObjectsEvent','resolveFormulaShapeAutoFitSize','_attachConnectorObjectEvent','UniverEngineRender','plainShapeTextToDocumentData','HorizontalAlign','UniverProShapeEditor','object','invert','map','stringify','ShapeTextHyperLinkHoverController','_drawRichText','_formulaShapes','_baseShapeWidth','drawFormulaShapeAnimationLayers','setConfig','UpdateSheetsShapeDataMutation','0\x200\x2016\x2016','activateDrawingObject','div','_currentScene','pushUndoRedo','disableShapeOption','GROUP','drawing-ui.objectListPanel.description','getAutoFitPresentations','_calculateFreeEndpointAngle','filter','SheetSkeletonManagerService','updateContext','drawing-ui.objectListPanel.filterLocked','drawing-ui.objectListPanel.sectionFloating','@univerjs/docs-ui','isCurvedConnectorShape','_localeService','_registerFeatureMenu','hasDefault','getConnectionRelation','getMenuHiddenObservable','_setTransForm','sheet.shape.edit.panel','_rerouteConnectorLine','sheet.operation.apply-shape-quick-style','isHorizontal','priority','drawing-ui.objectListPanel.unlockAll','_executeConnectedRouteConnectionCommand','_draw','_copyInfo','_registerDrawingFocusChangeHandler','_props','highlighted','transformToDrawingPosition','setAdjustValueByName','remove$','CROSSHAIR','37830PeeVxE','ShapeQuickStyleGallery','RemoveSheetsShapeMutation','_injector','IConfigService','Image','_updateTransform','useMemo','ShapePickerDropdown','SheetsShapeService','localToWorld','_baseTop','_initPermission','resolveHyperLinkAt','completeEditing','vertical','UniverShapeEditorPlugin','getState','_iconManager','Inject','vectorEffect','drawing-ui.objectListPanel.collapse','getDrawingEditable','react/jsx-runtime','flatMap','bindRenderTransformerLifecycle','getShapeQuickStyleType','composeMatrix','connector-handler-','IMenuManagerService','_shapeService','params','MobileShapeEditorService','MoveUpIcon','BehaviorSubject','M12.05\x2012.1C12.6299\x2012.1\x2013.1\x2011.6299\x2013.1\x2011.05C13.1\x2010.4701\x2012.6299\x2010\x2012.05\x2010C11.4701\x2010\x2011\x2010.4701\x2011\x2011.05C11\x2011.6299\x2011.4701\x2012.1\x2012.05\x2012.1Z','pipe','interceptCommand','sheets-shape-ui.imagePanel.crop.shape','getCurrentSkeleton','shapeData','_shapeRenderController','createElement','update$','drawing-ui.objectListPanel.expand','_generateCutPasteMutations','SheetScrollManagerService','ToggleSheetsShapeFlipCommand','_getShapeInfo','M5.57564\x2011.6118C5.80995\x2011.3774\x206.18985\x2011.3774\x206.42417\x2011.6118L7.3999\x2012.5875V6.36951C7.3999\x206.03814\x207.66853\x205.76951\x207.9999\x205.76951C8.33127\x205.76951\x208.5999\x206.03814\x208.5999\x206.36951V12.5875L9.57564\x2011.6118C9.80995\x2011.3774\x2010.1899\x2011.3774\x2010.4242\x2011.6118C10.6585\x2011.8461\x2010.6585\x2012.226\x2010.4242\x2012.4603L8.4324\x2014.452C8.32324\x2014.5655\x208.16982\x2014.6362\x207.9999\x2014.6362C7.82998\x2014.6362\x207.67655\x2014.5655\x207.56739\x2014.452L5.57564\x2012.4603C5.34132\x2012.226\x205.34132\x2011.8461\x205.57564\x2011.6118Z','#bcbcbc','SheetsShapeUIMenuSchema','sheets-shape-ui.objectListPanel.title','ShapeFloatingToolbarService','_transform','sheet.menu.shape.flip-horizontal','createShapeTextBoxShapeData','_isOpenedShapeEditPanel','flipY','_getShapeAdjustInfosById','colorChannel1','clearActiveDrawingObjects','_shapeEditPanelVersion','77758jCObZp','selectable','_initEditingParams','_activeImageId','viewportScrollY','Transform','popup','Plugin','UniverIcon','1em','drawingType','_handleFreeEndpointPointerUp','routeConnectorLineShape','M8\x2010.2V11.8','_transformCalculateSrcRect','@univerjs/sheets-drawing','_initialize','getShapeModel','_isDrawingShapePointDown','_menuManagerService','_createControls','getConnectionSiteList','querySelectorAll','UpdateLineShapeResizeCommand','DocInterceptorService','ShapeTypeEnum','src','onload','InsertShapeCommand','ShapeEditPanel','changing$','LocaleService','presentation','fill','clearAdjustControls','sheetViewStartColumn','object-layers-icon','#1a73e8','subUnitId','ShapeFillEnum','REMOVE','_imageShapeClipController','cancelEditing','setShapeProps','engine','UniverDocsPlugin','transformByState','getContextValue','_sheetDrawingService','resolveShapeTextDocumentRenderLayout','shouldClipShapeTextDocument','M8\x206.2V7.8','shape-editor-ui.arrange.front','isDrawingObject','isRenderLinePointsMode','disposeWithMe','@univerjs/design','getBatchAddOp','_getImagePrstGeom','ancestorTransform','_context','move-up-icon','_shapeFloatingToolbarService','rotation','getObjectListPanelSectionIdForDrawingType','SetDrawingApplyMutation','sheets-shape-ui.insertShape','getVisible','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','shapeType','ShapeTextHyperLinkInfo','non-scaling-stroke','UniverSheetsMobileUIPlugin','_initCommands','@univerjs/docs','_handleConnectedEndpointMove','_createCopyInfoByRange','sheets-shape-ui.editText','Shape','iterator','adjName','getZoomRatio','SHAPE_TEXT','sheet.shape.picker.component','isFinite','onPointerMove$','strokeWidth','http://www.w3.org/2000/svg','sheet.operation.update-shape-type','getUnitType','_activeShapeModel','_getConnectPointInfo','getDrawingVisible','drawing-ui.objectListPanel.locate','_connectionSiteObjects','currentAdjustValues','SHEET_SHAPE_UI_PLUGIN','UniverDrawingPlugin','sheets-shape-ui.ribbon.shape-format.text-control','computeConnectorRouteLayout','viewportScrollX','SELECTOR','toDisposable','getCurrentScrollState','isMainScene','_addControl','getSelectedObjectMap','_clearCompletionFrame','shouldAllowShapeTextEditorHostSizeShrink','_drawShapeText','_commandExecutedListener','isLineShape','push','_connectorObjects','UniverSheetsUi','horizontal','_sheetPrintInterceptorService','SHAPE_CHANGE_PICKER_COMPONENT','unit','current','clip','prstGeom','lineShapeId','ISheetDrawingService','UndoRedoGroupService','switchMap','symbol','image-clip-adjust-point-','objects','DocSelectionManagerService','path','sheets-shape-ui.flipVertical','worldPoint','angle','permissionPointUpdate$','SetSheetDrawingCommand','worldRect','_clipService','forEach','sheets-shape-ui.shape-format.text-ribbon-control','ShapeGroupEnum','formulaBinding','cos','_shapePopupMenuDisposable','_getZoomRatio','sheet.command.menu-insert-shape','UniverSheetsDrawing','getBasicShapeRelation','shapeKey','MoveDownIcon','getSheetCommandTarget','string','@univerjs-pro/license','ContextMenuPosition','calcAdjValues','UniverSheetsDrawingUi','_editingParams$','removeProperty','extraProps','sqrt','drawing.operation.set-drawing-active','DocCanvasPopManagerService','_disposed','start','showContextualTab','resolveShapeTextEditorWrapStrategy','sheet.shape.object-list.panel','M8.57975\x2014.5902L6.58023\x2012.5907C6.34591\x2012.3564\x206.34591\x2011.9765\x206.58023\x2011.7421C6.81454\x2011.5078\x207.19444\x2011.5078\x207.42876\x2011.7421L8.40449\x2012.7179V10.1664C8.40449\x209.83504\x208.67312\x209.56641\x209.00449\x209.56641C9.33586\x209.56641\x209.60449\x209.83504\x209.60449\x2010.1664V12.7179L10.5802\x2011.7421C10.8145\x2011.5078\x2011.1944\x2011.5078\x2011.4288\x2011.7421C11.6631\x2011.9765\x2011.6631\x2012.3564\x2011.4288\x2012.5907L9.42923\x2014.5902','addObject','isEditing','_executeConnectionCommand','drawing-ui.objectListPanel.unlockHint','onDblclick$','M5.57564\x204.38825C5.80995\x204.62256\x206.18985\x204.62256\x206.42417\x204.38825L7.3999\x203.41251V9.63049C7.3999\x209.96186\x207.66853\x2010.2305\x207.9999\x2010.2305C8.33127\x2010.2305\x208.5999\x209.96186\x208.5999\x209.63049V3.41251L9.57564\x204.38825C9.80995\x204.62256\x2010.1899\x204.62256\x2010.4242\x204.38825C10.6585\x204.15393\x2010.6585\x203.77403\x2010.4242\x203.53972L8.4324\x201.54796C8.32324\x201.43445\x208.16982\x201.36382\x207.9999\x201.36382C7.82998\x201.36382\x207.67655\x201.43446\x207.56739\x201.54797L5.57564\x203.53972C5.34132\x203.77403\x205.34132\x204.15393\x205.57564\x204.38825Z','assign','getRealBound','focusDrawing','DrawingApplyType','copyType','resolveShapeContextualRibbonHostMode','beginPath','FromArray','_popupMenuListener','UniverDrawingUIPlugin','_clearShapeConnectorHandlerObjects','onStarting','set','changeEnd$','onSteady','idMap','_onSavingEditorData$','_drawRichTextLayer','name','unsubscribe','_targetShapeId','40LmdpxE','UniverDrawing','drawing-ui.objectListPanel.sectionCanvas','M6.2\x208H7.8','shape-editor-ui.toolbar.quickStyles','_getImageDrawingInfo','localName','RENDER_CLASS_TYPE','refreshAdjustControls','animationEnabled','srcRect','multiply','ConnectorCoordinateTransform','find','buildClipPath','abs','hideInfoPopup','startX','VIEW_MAIN','buildShapeTextDataUpdate','get','_baseHeight','_init','OPERATION','vertical-center','VIEW_MAIN_TOP','version','cxnPointRadius','clipTop','_executeConnectedRouteResizeCommand','getCurrentTypeOfUnit$','_drawSimpleText','_sidebarService','originalStrokeWidth','getTransformerByCreate','offsetX','_isConnecting','pick','getCurrentLastSelection','_insertingShapeKeys','sheet.shape.text.float-menu','drawing-ui.objectListPanel.name','parse','_hasReset','_sheetDrawingShapeRenderController','getImage','featurePluginUpdateNotification','with','isHighlighted','fillType','registerDependencies','@univerjs-pro/sheets-shape-ui','ToggleShapeFloatingToolbarOperation','_sheetCanvasPopManagerService','left','UpdateConnectorRelationCommand','_applyFormulaAutoFitSize','CUT','_config','unitId','_drawingType','SheetCanvasPopManagerService','translate','back','_handleBasicShapeUpdateConnectorLineShape','attachRangeWithCoord','insertGroupObject','getPermissionPoint','flip-horizontal-icon','getSheetId','beforeCommandExecuted','generateRandomId','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','_reset','IconManager','Documents','getDrawingSearch','ShapeDefaultConfig','getValue','DRAWING_OBJECT_LAYER_INDEX','_ribbonService','removeLinePoints','trim','setHighlighted','SheetsDrawingGroupCopyPasteController','shapeId','close','_sheetPermissionCheckController','_getConnectionSiteAngle','ShapeRenderModeEnum','targetShapeId','clearAdjustValue','_isShouldShowDrawingShapeAdjust','_registerIcons','_sheetInterceptorService','getDrawingTypeNameKey','sin','createInternalEditorID','addImageSourceCache','hidden','UniverMobileUIPlugin','DrawingTypeEnum','useReducer','reduce','getSheetBySheetId','endArrow','getSkeleton','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','drawing-ui.objectListPanel.noSelection','wrapStrategy','_registerComponents','getParent','getEndConnectInfo','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_activeShapeAdjustPointList','WorkbookEditablePermission','custom','resolveShapeTextEditorBehaviorShapeData','IUniverInstanceService','ShapeFloatingToolbar','_imageIoService','renderDrawingShape','updateDocumentStyle','_contextService','setPrstGeom','default','_moveConnectorWithShape','_showConnectionSites','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','translateWithPrecision','setProperty','PictureFill','getShapeType','unregister','PaintIcon','clip-','WorkbookCopyPermission','IPermissionService','_executeResizeCommand','createShapeFormulaDocument','sheets-shape-ui.ribbon.shape-format.arrange-backward','cxnIndex','getShapeData','_adjHandlerPointerMove','render','sheetTransform','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','delete','2597145hbzMxQ','_closeShapeEditPanel','stroke','_baseWidth','getShapeTextRect','drawingId','attachPopupToObject','_componentManager','presetId','end','setContextValue','UniverSheetsDrawingUIPlugin','getBentTypeFromPoints','fontFamily','getBatchUpdateOp','SolidFill','Path','_generateCopyPasteMutations','order','15838803XHMBOJ','style','registerClipDelegate','actualHeight','fillImageSource','_canEdit','_activeAdjustInfo','@univerjs/ui','useDependency','baseVal','shapeModel','updateShapeFillImage','RemoveSheetCommand','entries','registerFeaturePasteHook','INSERT','_initSelection','getDrawingByParam','clipByShape','FormatPainterSessionService','sheet.operation.close-sheet-shape-format-panel','IImageIoService','DependentOn','resolveShapeTextHyperLinkAt','startY','shape-editor-ui.arrange.backward','getEditing','UniverInstanceType','M11.5565\x208H12.4435L12.913\x208.78261L13.8\x208.57391L14.4261\x209.2L14.2174\x2010.087L15\x2010.5565V11.4435L14.2174\x2011.913L14.4261\x2012.8L13.8\x2013.4261L12.913\x2013.2174L12.4435\x2014H11.5565L11.087\x2013.2174L10.2\x2013.4261L9.57391\x2012.8L9.78261\x2011.913L9\x2011.4435V10.5565L9.78261\x2010.087L9.57391\x209.2L10.2\x208.57391L11.087\x208.78261L11.5565\x208Z','FlipVerticalIcon','_clearControls','mode','EMPTY','COMMAND','_getDrawingRect','sheet.shape.floating-toolbar','_initCopyPaste','sheets-shape-ui.ribbon.shape-format.arrange-forward','shape-editor-ui.arrange.forward','currentColor','getShapeTextData','_updateSrcRectByTransform','replace','RemoveSheetDrawingCommand','url(#$1','SheetsSelectionsService','sheets-shape-ui.permission.editErr','gradientEndColor','UniverSheetsDrawingPlugin','getCurrentUnitInfo','SHEET_VIEWPORT_KEY','DRAWING_IMAGE','setFillImage','@univerjs/engine-render','copyId','_sheetsShapeService','_cxnIndex','sheets-shape-contextual-ribbon','getShapeDataById','exports','shape-format-setting-icon','ShapeFormulaService','visible','transformToAxisAlignPosition','UPDATE','CommandType','_isHighlighted','_getSceneAndTransformerByDrawingSearch','_attachAdjustEvent','sheet.operation.open-shape-object-list-panel','SheetInterceptorService','_registerFocusChangeHandler','isArray','function','M1.25\x2013.036C1.25\x2012.1523\x201.96634\x2011.436\x202.85\x2011.436H13.15C14.0337\x2011.436\x2014.75\x2012.1523\x2014.75\x2013.036C14.75\x2013.9196\x2014.0337\x2014.636\x2013.15\x2014.636H2.85C1.96635\x2014.636\x201.25\x2013.9196\x201.25\x2013.036ZM2.85\x2012.636C2.62909\x2012.636\x202.45\x2012.8151\x202.45\x2013.036C2.45\x2013.2569\x202.62909\x2013.436\x202.85\x2013.436H13.15C13.3709\x2013.436\x2013.55\x2013.2569\x2013.55\x2013.036C13.55\x2012.8151\x2013.3709\x2012.636\x2013.15\x2012.636H2.85Z','cloneShapeDataForType','includes','_visible','_subUnitId','_insertShapes','getActiveViewportByCoord','shape-adjust-point-','SetDrawingArrangeCommand','animateFormulaPresentation','_clearPopups','SheetPrintInterceptorService','Arrow','some','getPropertyPriority','toPrimitive','sheet.operation.open-sheet-shape-format-panel','syncExecuteCommand','@univerjs/sheets','_findNearestConnectionSite','_resetState','pluginName','sheet.operation.open-mobile-shape-editor','IUndoRedoService','refreshFormulaPresentation','OTHERS','getOrCreateDrawingCopyPlan','_handleFreeEndpointMove','getDrawingEffectBounds','getObject','tag','ShapeFloatingToolbarToggleFactory','getPropertyValue','getObjectIncludeInGroup','extensionGroups','debounceRefreshControls','getPresentation','45774260XbbQpN','ComponentManager','_baseShapeTop','SheetDrawingAnchor','merge','activeAnObject','isRender','getActualSize','componentKey','initShapePopupMenu','offsetY','PREDEFINED_HOOK_NAME','_initEvents','setEditing','setSrcRect','sectionFloating','dataModel','refreshTransform','stroke-width','createShapeTextHyperLinkRegions','UniverSheetsUIPlugin','_shapes','startArrow','getDrawingOrder','ShapeStyleRibbonControl','doc.image-clip.shape-picker.component','focus$','M4.2\x208.3H6.8','hasAttribute','VIEW_MAIN_LEFT','getUnitId','index','applyPoint','_registerDrawingMoveHandler','front','resolveShapeTextDocumentPageHeight','sheets-shape-ui.title','ImageSourceTypeEnum','_drawingAddListener','complete','deriveStateFromActiveSheet$','_shapeFormulaService','_unitId','drawing-ui.objectListPanel.moveBackward','drawing-ui.objectListPanel.descriptionPlaceholder','drawing-ui.objectListPanel.unlock','attrs','computeConnectorResizeLayout','8AbgwzW','makeDirty','top-center','_lastEditingShapeKey','PRINTING_COMPONENT_COLLECT','TopmostIcon','mask','_clearConnectionSites','shape-editor-ui.arrange.back','_addShapeConnectorHandlerObject','parent','FOCUSING_COMMON_DRAWINGS','BottomIcon','executeCommand','_baseDrawingRect','_sheetShapeAdjustController','save','FormulaShapeAnimationController','DocumentViewModel','_getShapeAdjustPointListById','M2.6\x203.3L6.2\x208L2.6\x2012.7V3.3Z','prepareShapeTextDocumentData','drawing-ui.objectListPanel.details','CURSOR_TYPE','drawing-ui.objectListPanel.filterHidden','IContextService','startConnectionDetection','asObservable','call','normal','activeSheet$','disableObjectsEvent','children','_initPrinting','SolidLine','UniverDocsUIPlugin','clear','_hide','viewBox','IURLImageService','transformForAngle','isolated','MenuItemType','discreteRangeToRange','resolveActiveShapeQuickStylePresetId','lineType','_sheetClipboardService','MobileDropdown','getStartConnectInfo','_releaseRenderCache','shapeText','_univerInstanceService','relation','scene','formulaPresentation','transformVector2SceneCoord','redo','SetDrawingSelectedOperation','none','BUTTON','evenodd','registerFeatureMenu','sheets-shape-ui.ribbon.shape-format.style-control','#FFFFFF','useEffect','_adjHandlerPointerUp','_draggingConnectorId','setShouldShowAdjust','InsertSheetsShapeMutation','UniverSheetsDrawingMobileUIPlugin','bottom','M13.4\x203.3L9.8\x208L13.4\x2012.7V3.3Z','_shapeTextEditingService','@univerjs-pro/shape-editor','ShapeLineTypeEnum','xlink:href','UniverShapeEditorMobileUIPlugin','_clearFocusedShape','_drawingRenderService','displayName','LEFT','appliedStrokeWidth','UniverShapeEditorUIPlugin','value','toStringTag','setFallbackVisible','_shapeId','normalizeShapeTextModel','sheets-shape-ui','idSuffix','image','_loadAndSetImage','cxnPointStrokeWidth','calculate','removeAttribute','setFormulaPresentation','ObjectLayersIcon','getTextModel','_update','SheetsShapeUIContextualRibbonSchema','_adjName','FOCUSING_SHAPE_TEXT_EDITOR','getConnectorLinePoints','DocEventManagerService','canvasElement','oKey','WorksheetEditPermission','getSkeletonParam','_cxtHandlerPointerMove','onCommandExecuted','visible$','ICommandService','_activeShapeInfo','ShapeArrowSizeEnum','getFocusDrawings','element','UniverRenderEnginePlugin','getAdjustValueByName','drawing-ui.objectListPanel.nameInput','jsxs','_handleConnectedEndpointPointerUp','height','None','open','_addShapeConnectorHandlerObjects','getOwnPropertyDescriptor','_currentConnectionTarget','clipHeight','prstGeomAdjValues','touchDependencies','adjustValues','_activeAdjustPointList','editingParams$','drawing-ui.objectListPanel.show','_getOrCreateShapeModel','onTransformChange$','getTransformer','size','text','getActiveSheet','UNIVER_DOC','ShapeTextEditorContainer','getCurrentRangeDisable$','create','worldPoints','axisAlignSheetTransform','indexOf','attachTransformerTo','_shapeUpdateListener','_formulaKey','DrawingRenderService','mergeMenu','top','UniverProSheetsShape','svg','_focusedDrawings','M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','DRAWING_SHAPE','UniverSheetsShapePlugin','_loadShapePictureFill','intercept','getTextStyle','stopPropagation','setPresentation','FlipHorizontalIcon','setOnSavingEditorData','ArrangeTypeEnum','4979112YoWKHR','_updateImageAdjValues','@univerjs/drawing-ui','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','245Fuomit','Rect','sheets-shape-ui.objectListPanel.open','_groupCopyPasteController','dispose','getImageSourceCache','keys','defIds','DocSelectionRenderService','M3.3\x2013.4L8\x209.8L12.7\x2013.4H3.3Z','@univerjs-pro/engine-shape','UniverProLicense','ShapeFormulaRibbonControl','Line','DisposableCollection','sheets-shape-ui.formatShape','URL','isRichText','shape-editor-ui.toolbar.changeShape','DrawingCommonPanel','restore','_sheetBasicShapeConnectionPointController','ang','drawing-ui.objectListPanel.showAll','sheets-shape-ui.deleteShape','data','setCanUseShapeClip','SheetPermissionCheckController','RibbonInsertGroup','#4285f4','width','getCanvasElement','add','hadStyleAttribute','_updateShapeAdjustControls','_generatePasteMutations','memo','getDrawingOKey','isConnectorShape','_permissionService','sheets-shape-ui.flipHorizontal','_activeShapeId','_urlImageService','_commandService','setCursor','drawing-ui.objectListPanel.hideAll','getBasicShapeRotateBound','getDrawingPoints','onRendered','M8.57975\x2014.5902C8.58121\x2014.5917\x208.58268\x2014.5931\x208.58416\x2014.5946C8.64077\x2014.6502\x208.70566\x2014.6923\x208.77482\x2014.7209C8.84557\x2014.7502\x208.92314\x2014.7664\x209.00449\x2014.7664C9.08585\x2014.7664\x209.16342\x2014.7502\x209.23416\x2014.7209C9.30332\x2014.6923\x209.36821\x2014.6502\x209.42482\x2014.5946','_completionFrame','_handleConnectorPointerUp','ObjectListPanelBase','_activeTargetShapeId','_drawingManagerService','MobileObjectListPanel','getDrawingData','_sheetSkeletonService','decorate','getAdjustNames','UniverSheetsPlugin','length','COPY_TYPE','rxjs','_clearShapeAdjustControls','cxnPointFill','getScene','useFormulaShapeToolbar','M1.50439\x209C1.50439\x208.11634\x202.22074\x207.4\x203.10439\x207.4H13.4044C14.288\x207.4\x2015.0044\x208.11634\x2015.0044\x209C15.0044\x209.88366\x2014.2881\x2010.6\x2013.4044\x2010.6H3.1044C2.22074\x2010.6\x201.50439\x209.88366\x201.50439\x209ZM3.10439\x208.6C2.88348\x208.6\x202.70439\x208.77909\x202.70439\x209C2.70439\x209.22091\x202.88348\x209.4\x203.1044\x209.4H13.4044C13.6253\x209.4\x2013.8044\x209.22091\x2013.8044\x209C13.8044\x208.77909\x2013.6253\x208.6\x2013.4044\x208.6H3.10439Z','drawing-ui.objectListPanel.hide'];_0x4425=function(){return _0x253f84;};return _0x4425();}
|
|
1
|
+
function _0x1b6e(_0x1ff68a,_0x382c42){_0x1ff68a=_0x1ff68a-0xe5;const _0x9eb299=_0x9eb2();let _0x1b6ec2=_0x9eb299[_0x1ff68a];return _0x1b6ec2;}function _0x9eb2(){const _0x43f9e9=['UniverDocs','relation','start','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','getTransformer','_addShapeConnectorHandlerObject','mask','attachRangeWithCoord','SolidLine','ObjectListPanelBase','refreshShapeFillImage','doc','getFocusDrawings','_popupMenuListener','none','keys','drawing-ui.objectListPanel.unlockAll','useFormulaShapeToolbar','UniverSheetsDrawing','_formulaAnimation','_hide','_shapeFormulaService','shapeModel','drawingType','_initSheetChange','disableObjectsEvent','custom','_baseDrawingRect','_loadShapePictureFill','priority','defs','horizontal','ConnectorCoordinateTransform','children','toPrimitive','@univerjs/docs-ui','_initEvents','isHitLine','UniverLicensePlugin','lineType','prstGeomAdjValues','formulaPresentation','buildClipPath','has','src','getOwnPropertyDescriptor','presentation','move-up-icon','_renderManagerService','drawing-ui.objectListPanel.name','getConnectionInfo','registerClipDelegate','ShapeFloatingToolbarService','onDblclick$','_props','_contextService','subscribe','RibbonInsertGroup','_sidebarService','_shapes','idSuffix','endConnectionDetection','default','SHAPE_EDITOR_TRANSFORMER_CONFIG','selectable','pick','update$','_ribbonService','localToWorld','Line','abs','IUndoRedoService','isHighlighted','strokeOpacity','switchMap','_applyFormulaAutoFitSize','VerticalAlign','blockExecuteWithoutPermission','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','sheets-shape-ui.deleteShape','getCurrentUnitInfo','viewportScrollY','_clearShapeAdjustControls','_registerComponents','worldPoints','sheets-shape-ui.shape-format.quick-style-gallery','SheetsDrawingGroupCopyPasteController','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','add$','hasAttribute','shape-editor-ui.toolbar.quickStyles','setHighlighted','_config','isMainScene','computeConnectorRouteLayout','drawing-ui.objectListPanel.lockHint','_copyInfo','sheet.menu.shape.flip-vertical','getSkeleton','updateLinePoints','M4.2\x208.3H6.8','getViewportByCell','UniverUi','onPointerDown$','_getImageDrawingInfo','setPrstGeom','_commandExecutedListener','M8\x206.2V7.8','originalStrokeWidth','showContextualTab','_shapeUpdateListener','_updateTransform','copyType','Observable','marginTop','reverse','forwardRef','_clearPopups','sheets-shape-ui.ribbon.shape-format.text-control','_insertShapes','UpdateSheetsShapeDataMutation','CUT','_urlImageService','UniverDrawingPlugin','getObjectListPanelSectionIdForDrawingType','drawing-ui.objectListPanel.unlock','UNIVER_SHEET','toDisposable','translate','insertGroupObject','hideContextualTab','values','data','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','clip','IRenderManagerService','M4.2\x205.5H10.5','activateDrawingObject','sheets-shape-ui.editText','setCollapsedIds','drawing-ui.objectListPanel.filterLocked','_clearConnectionSites','drawing-ui.objectListPanel.moveForward','updateContext','ShapeTextFloatToolbar','canvas','strokeWidth','UniverDrawing','SolidFill','resolveShapeTextHyperLinkObject','_getOrCreateShapeModel','_initEditingParams','ObjectLayersIcon','getBoundingClientRect','_drawSimpleText','function','transform','tag','syncExecuteCommand','stroke-width','_shapeTextEditingService','fontSize','_transformCalculateSrcRect','sheets-shape-ui.ribbon.shape-format.arrange-front','viewBox','_clearFocusedShape','_handleConnectedEndpointMove','createElement','type','setShouldShowAdjust','M8\x2014V14.2','_sheetDrawingService','text','shouldAllowShapeTextEditorHostSizeShrink','PRINTING_COMPONENT_COLLECT','sheets-shape-ui.ribbon.shape-format.arrange-forward','sqrt','max','bottom-icon','DrawingTypeEnum','ShapeQuickStyleGallery','_menuManagerService','_configService','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','UniverMobileUIPlugin','_currentUniverService','flip-horizontal-icon','_init','adjHandleStroke','sheet.menu.shape.flip-horizontal','SELECTOR','ShapeFormatSettingIcon','@univerjs/engine-render','bindRenderTransformerLifecycle','_isOpenedShapeEditPanel','visible','cloneShapeDataForType','_generatePasteMutations','setFormulaPresentation','SetDrawingArrangeCommand','ToggleShapeFloatingToolbarOperation','PictureFill','ICommandService','ImageSourceTypeEnum','REMOVE','_formulaShapes','description','disableShapeOption','clearActiveDrawingObjects','VIEW_MAIN_LEFT_TOP','FlipVerticalIcon','applyPoint','_isDrawingShapePointDown','_drawingAddListener','contentVerticalOffset','get','enableObjectsEvent','intercept','shape-editor-ui.arrange.front','save','getSheetId','DRAWING_SHAPE','_targetShapeId','doc.image-clip.shape-picker.component','_updateSrcRectByTransform','run','6755030RegztX','getRealBound','getPresentation','UniverSheetsShapeMobileUIPlugin','setProperty','_sidebarDisposable','_activeShapeModel','setSrcRect','_draggingConnectorId','_completionFrame','_shapeService','_baseShapeHeight','ToggleSheetsShapeFlipCommand','resolveShapeTextDocumentRenderLayout','getUnitType','error','_drawRichText','_releaseRenderCache','_initialize','_shapePopupMenuDisposable','Module','setShapeData','RemoveSheetCommand','onPointerUp$','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','IMenuManagerService','getAdjustValueByName','_univerInstanceService','SheetCanvasPopManagerService','sectionCanvas','SheetPrintInterceptorService','MenuItemType','touchDependencies','UniverSheetsUi','getZoomRatio','startArrow','cxnPointRadius','drawing-ui.objectListPanel.lockAll','ShapeFloatingToolbarToggleFactory','drawing-ui.objectListPanel.nameInput','sheet.operation.open-sheet-shape-format-panel','prepareShapeTextDocumentData','_initMenu','highlighted','drawing-ui.objectListPanel.description','onSavingEditorData$','UniverSheetsDrawingPlugin','React','Inject','delete','unsubscribe','_lastEditingShapeKey','interceptCommand','color','_baseShapeWidth','shape-editor-ui.arrange.backward','InsertShapeCommand','rect','VIEW_MAIN','Image','unregister','setEditing','localName','drawing-ui.objectListPanel.sectionCanvas','drawing-ui.objectListPanel.filterHidden','getBatchAddOp','SHEET_SHAPE_UI_PLUGIN','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','_drawingType','IUniverInstanceService','_isHighlighted','target','_hyperLinkRegions','url(#$1','clearAdjustControls','IPermissionService','ShapeTextRibbonControl','presetId','some','shapeId','HorizontalAlign','getRenderUnitById','drawing.operation.set-drawing-active','cxnPointStroke','front','adjHandleFill','FlipHorizontalIcon','COMMAND','TopmostIcon','UniverProEngineShape','drawing-ui.objectListPanel.dragToReorder','createShapeTextHyperLinkRegions','UniverDesign','_reset','_sheetBasicShapeConnectionPointController','adjHandleSize','defIds','drawing-ui.objectListPanel.showAll','sheet.shape.object-list.panel','#4285f4','sheets-shape-format-font-family-menu','getDrawingEffectBounds','33162wzKEPB','stringify','BottomIcon','_isShouldShowDrawingShapeAdjust','sectionFloating','OBJECT_LIST_FLOATING_SECTION_ID','_attachAdjustEvent','offsetX','value','DependentOn','cxnPointStrokeWidth','decorate','SetShapeDrawingDataCommand','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','normalizeShapeTextModel','getAdjustNames','size','_insertingShapeKeys','isArray','0\x200\x2016\x2016','sheet.command.menu-insert-shape','transformToAxisAlignPosition','permissionCheckWithoutRange','http://www.w3.org/2000/svg','WorksheetEditPermission','getDrawingShapeKeyByDrawingSearch','UpdateConnectorRelationCommand','Circle','shape-editor-ui.arrange.back','RENDER_CLASS_TYPE','merge','#FFFFFF','popup','getSheetBySheetId','_localeService','Rect','_context','resourceCollector','_adjHandlerPointerUp','sheets-shape-ui.imagePanel.crop.shape','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','Arrow','getCurrentSkeleton','focus$','open','_registerDrawingFocusChangeHandler','call','getShapeType','OPERATION','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','_sheetCanvasPopManagerService','flip-vertical-icon','onPointerMove$','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','UniverSheetsPlugin','getCurrentScrollState','discreteRangeToRange','_registerFeatureMenu','ISheetDrawingService','43dTHwhn','_updateAdjustControlPositions','vertical','bottom','vectorEffect','translateWithPrecision','getObjectIncludeInGroup','amd','drawing-ui.objectListPanel.empty','INSERT','_drawingManagerService','shouldClipShapeTextDocument','sheets-shape-ui.ribbon.shape-format','isInGroup','initShapePopupMenu','ShapeArrowTypeEnum','shapeType','classType','_update','params','ContextMenuGroup','_sheetShapeAdjustController','InsertSheetsShapeMutation','current','_activeShapeInfo','_getShapeAdjustPointListById','setConfig','startConnectionDetection','VIEW_MAIN_TOP','_baseLeft','_connectionSiteObjects','SheetsShapeUIMenuSchema','Transform','top','flipX','shapeKey','sheets-shape-ui.objectListPanel.title','DocSelectionRenderService','_shapeFloatingToolbarService','@univerjs-pro/sheets-shape-ui','clip-','ShapeTextHyperLinkPopupService','renderDrawingShape','ShapeTextHyperLinkInfo','offsetY','hideInfoPopup','@univerjs/ui','_getConnectPointInfo','getShapeModel','parseFloat','updateDocumentStyle','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','EMPTY','isEditing','memo','fillImageSourceType','viewportScrollX','dispose','@univerjs-pro/engine-shape','move-down-icon','dataModel','lineShapeId','_disposed','sheetViewStartColumn','registerShapeFormatPainter','svg','sheet.shape.picker.component','_initPrinting','sheet.shape.text.float-menu','plainShapeTextToDocumentData','transformByState','name','startWith','getCurrentLastSelection','getState','getTextModel','componentKey','CROSSHAIR','subscribeEvent','addObject','point','version','MobileObjectListPanel','_activeImageId','sheets-shape-ui.title','getCurrentTypeOfUnit$','_getConnectionSiteAngle','debounceRefreshControls','removeAttribute','getUnitId','getShapeDataById','SetDrawingApplyMutation','DocRenderController','querySelectorAll','setPrstGeomAdjValues','drawWith','attachPopupToObject','@univerjs/sheets-ui','sheet.command.update-shape-data','_sheetPermissionCheckController','getEditing','_getDrawingRect','Documents','reduce','getConnectionRelation','cos','_createCopyInfoByRange','editingParams$','_activeAdjustInfo','stroke','order','Injector','sheetTransform','UniverSheetsShapeUIPlugin','isStartConnectorPoint','getStartConnectInfo','getPermissionPoint','SheetShapeTextEditorContainer','DEFAULT_PASTE','UNIVER_DOC','focusDrawing','getVisible','sheets-shape-ui.flipHorizontal','_clearControls','register','changeEnd$','prstGeom','with','UniverShapeEditorMobileUIPlugin','flatMap','isolated','UPDATE','VIEW_MAIN_LEFT','_handleConnectorPointerUp','_addShapeAdjustControl','_hasReset','interceptor','useRef','getImage','CopySheetCommand','_findNearestConnectionSite','displayName','useMemo','setFillImage','resolveHyperLinkAt','getShapeQuickStyleType','image-clip-adjust-point-','targetShapeId','univer-box-border\x20univer-px-4\x20univer-text-sm','@univerjs/design','sheet.operation.update-shape-type','_baseTop','invert','exports','sheetViewStartRow','ShapePickerDropdown','sheets-shape-text-','FromArray','use','complete','changing$','includes','_activeAdjustPointList','setOnSavingEditorData','_createShapeAdjustControls','UniverDrawingUIPlugin','calcAdjValues','engine','GROUP','WorkbookEditablePermission','ISidebarService','find','onerror','_initPermission','_sheetPrintInterceptorService','_currentConnectionTarget','MEDIA','DRAWING_IMAGE','setFallbackVisible','canvasElement','_isStartConnectorPoint','sheets-shape-contextual-ribbon','SHAPE','topmost-icon','angle','DrawingApplyType','completeEditing','getBatchRemoveOp','entries','_baseShapeLeft','string','_injector','remove$','jsx','LocaleService','add','changeStart$','_executeConnectedRouteResizeCommand','shape-format-setting-icon','oKey','UniverInstanceType','refreshFormulaPresentation','_unitId','_activeShapeAdjustPointList','M2.6\x203.3L6.2\x208L2.6\x2012.7V3.3Z','actions','registerRenderModule','sheets-shape-ui.ribbon.shape-format.arrange-backward','getBasicShapeRotateBound','_registerFocusChangeHandler','getInterceptPoints','title','231WJvzcm','drawing-ui.objectListPanel.search','_getShapeAdjustInfosById','useDependency','addImageSourceCache','_draw','indexOf','_shapeId','_resetState','DocEventManagerService','min','_focusedDrawings','prototype','onRendered','drawing-ui.objectListPanel.filterAll','_getImagePrstGeom','activeAnObject','drawing-ui.objectListPanel.hideAll','getConnectionSiteList','_visible','unit','map','setAdjustValueByName','136048ODGqbt','UndoRedoGroupService','ArrangeTypeEnum','rotation','_executeConnectedRouteConnectionCommand','_drawShapeText','forward','getShapeQuickStylePreset','attrs','pipe','clipByShape','_editingParams$','_canEdit','_getZoomRatio','sheets-shape-ui.config','getDrawingData','left','srcRect','makeDirty','clipTop','ShapeDefaultConfig','_activeShapeId','_getSceneAndTransformerByDrawingSearch','getObject','sheets-shape-ui.flipVertical','getFocusedUnit','xlink:href','CommandType','_handleBasicShapeUpdateConnectorLineShape','getDrawingOrder','getDrawingPoints','currentAdjustValues','UniverProLicense','SetDrawingSelectedOperation','_cxtHandlerPointerUp','shape-editor-ui.arrange.forward','_registerMoveHandler','setContextValue','updateDocumentDataMargin','path','UniverProSheetsShapeUi','cxnIndex','drawingId','getCurrentUnitOfType','element','StraightConnector1','drawing-ui.objectListPanel.unlockHint','_initCommands','skeleton','object','useEffect','attachTransformerTo','_isStartAdjusting','getPropertyValue','LEFT','endArrow','useLayoutEffect','disposeWithMe','updateConnectionDetection','computeStraightConnectorLayout','IURLImageService','getUnit','appliedStrokeWidth','removeLinePoints','_sheetDrawingShapeRenderController','ancestorTransform','UniverDocsUIPlugin','sin','#1a73e8','executeCommand','generateRandomId','Vector2','@univerjs-pro/shape-editor-ui','_subUnitId','2901756IFXgNF','pluginName','TOP','_generateCopyPasteMutations','image','worldRect','BehaviorSubject','scale','resolveShapeContextualRibbonHostMode','UniverIcon','undo','URL','_attachConnectorObjectEvent','_loadAndSetImage','getPropertyPriority','_drawRichTextLayer','sheets-shape-ui.permission.editErr','getParent','_adjName','M14\x208H14.2','Fragment','symbol','SheetsShapeService','_findShapeAtPoint','resize','replace','Plugin','4419192YzoWQE','render','round','_currentScene','getShapeTypeById','resolveShapeTextEditorBehaviorShapeData','set','sheet.operation.open-mobile-shape-editor','_highlightedSiteIndex','pushUndoRedo','drawing-ui.objectListPanel.noSelection','createShapeFormulaDocument','UniverSheets','_commandService','getMatrix','isRichText','startY','M3.3\x2013.4L8\x209.8L12.7\x2013.4H3.3Z','react/jsx-runtime','ShapeTextFloatMenuRenderControllerBase','_addShapeConnectorHandlerObjects','onload','@univerjs/drawing','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','fontFamily','non-scaling-stroke','evenodd','_sheetsShapeService','SheetSkeletonService','axisAlignSheetTransform','Large','_connectorObjects','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','getMenuHiddenObservable','getBentTypeFromPoints','resolveShapeTextDocumentPageHeight','copyId','Shape','sheet.shape.edit.panel','_baseHeight','clip-adj-','_executeConnectionCommand','deriveStateFromActiveSheet$','sheets-shape-ui.ribbon.shape-format.arrange-back','_clearShapeConnectorHandlerObjects','getEndConnectInfo','_updateImageAdjValues','ComponentManager','_clipService','transformForAngle','M2.2\x208H3.8','SheetScrollManagerService','@univerjs/drawing-ui','sheets-shape-ui.ribbon.shape-format.style-control','iterator','ShapeLineTypeEnum','PREDEFINED_HOOK_NAME','M3.3\x202.6L8\x206.2L12.7\x202.6H3.3Z','_rerouteConnectorLine','getCurrentRangeDisable$','Path','sheets-shape-ui.ribbon.shape-format.formula-control','drawing-ui.objectListPanel.title','isConnectorShape','parent','registerFeatureMenu','getSheetCommandTarget','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','adjName','_showConnectionSites','_getScrollInfo','normal','_updateShapeAdjustControls','registerCommand','drawing-ui.objectListPanel.close','refreshTransform','trim','shapeText','_adjHandlerPointerMove','mode','height','toStringTag','clearControl$','setPresentation','DocCanvasPopManagerService','ShapeTextEditorContainer','_initCopyPaste','create','RemoveSheetsShapeMutation','isReleased','_registerOperations','_openShapeEditPanel','computeConnectorResizeLayout','_baseWidth','SHEET','ShapeTypeEnum','CURSOR_TYPE','objects','subUnitId','_isConnecting','onStarting','refreshAdjustControls','hidden','DocumentViewModel','onReady','animationEnabled','_onSavingEditorData$','ShapeStyleRibbonControl','@univerjs/docs','getActiveViewportByCoord','getSkeletonParam','MoveDownIcon','sheets-shape-ui.editShape','formulaBinding','useId','drawing-ui.objectListPanel.collapse','_activeTargetShapeId','_initSelection','isHorizontal','PaintIcon','getDrawingOKey','hadStyleAttribute','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','sheets-shape-ui.formatShape','ShapeTextHyperLinkHoverController','scene','None','fill','FOCUSING_COMMON_DRAWINGS','multiply','_getShapeInfo','rxjs','RIBBON','_disposePopups','_handleConnectedEndpointPointerUp','unitId','UniverSheetsShapePlugin','resolveShapeTextHyperLinkAt','colorChannel1','registerDependencies','updateShapeFillImage','extensionGroups','currentColor','drawFormulaShapeAnimationLayers','220775txUdDs','Disposable','_renderWithCache','forEach','ShapeFloatingToolbar','getTransformerByCreate','SetSheetDrawingCommand','activeSheet$','UniverProShapeEditorUi','DrawingCommonPanel','_registerDrawingMoveHandler','SHEET_VIEWPORT_KEY','_permissionService','sheets-shape-ui.objectListPanel.open','UniverEngineRender','_iconManager','defineProperty','_shapeRenderController','mergeMenu','next','ShapeModel','transformToDrawingPosition','_registerImageShapeClipDelegate','MoveUpIcon','_createControls','setShapeProps','_closeShapeEditPanel','ang','_formulaKey','0\x200\x2017\x2016','redo','DRAWING_OBJECT_LAYER_INDEX','IImageIoService','jsxs','UniverSheetsUIPlugin','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','width','fillImageSource','OTHERS','IContextService','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','filter','IDrawingManagerService','ShapeGroupEnum','getBatchUpdateOp','contentHeight','extraProps','ShapePickerPanel','_shapeEditPanelVersion','permissionPointUpdate$','resolveActiveShapeQuickStylePresetId','drawing-ui.objectListPanel.lock','ShapeArrowSizeEnum','worldPoint','assign','_registerGroupFeaturePasteHook','_moveConnectorWithShape','ShapeFillEnum','SheetSkeletonManagerService','push','ShapeFormulaService','length','UniverCore','_baseShapeTop','drawing-ui.objectListPanel.details','1em','routeConnectorLineShape','sheets-shape-ui.insertShape','cxnPointFill','MenuManagerPosition','UpdateLineShapeResizeCommand','_imageShapeClipController','@univerjs-pro/shape-editor','_drawingRenderService','sheet.operation.close-sheet-shape-format-panel','MobileDropdown','getValue','M8\x2010.2V11.8','wrapStrategy','getInverseCoord','index','660240mgQGeI','style','setCursor','ShapeIcon','DocInterceptorService','flipY','calculate','sheets-shape-ui.quickStyles','createControl$','_executeResizeCommand','RemoveSheetDrawingCommand','changeShapeType','startX','connection-site-','adjustValues','useObservable','DrawingRenderService','getDrawingSearch','getConnectorLinePoints','45QANhdq','_generateCutPasteMutations','_cxtHandlerPointerMove','_transform','IconManager','_calculateFreeEndpointAngle','transformVector2SceneCoord','UniverSheetsMobileUIPlugin','@univerjs/sheets-drawing','featurePluginUpdateNotification','stopPropagation','_registerIcons','getShapeTextData','setCanUseShapeClip','getOrCreateDrawingCopyPlan','ISheetClipboardService','getCanvasElement','draw','restore','from','getBasicShapeRelation','backward','SheetsSelectionsService','back','panel','_cxnIndex','isFinite','shape-editor-ui.toolbar.changeShape','_imageIoService','BUTTON','getShapeData','div','_isImagePointerDown','getDrawingByParam','_sheetInterceptorService','clearAdjustValue','onCommandExecuted','_componentManager','_sheetSkeletonService','FormatPainterSessionService','M6.2\x208H7.8','drawing-ui.objectListPanel.hide','getAdjustInfoByName','shapeData','observe','DisposableCollection','M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','close','getShapeTextRect','useImperativeHandle','getDrawingVisible'];_0x9eb2=function(){return _0x43f9e9;};return _0x9eb2();}(function(_0x593736,_0x474619){const _0x302b29=_0x1b6e,_0x52a817=_0x593736();while(!![]){try{const _0x4c7584=parseInt(_0x302b29(0xff))/0x1*(-parseInt(_0x302b29(0x4be))/0x2)+-parseInt(_0x302b29(0x330))/0x3+-parseInt(_0x302b29(0x234))/0x4+-parseInt(_0x302b29(0x2df))/0x5+-parseInt(_0x302b29(0x24f))/0x6+parseInt(_0x302b29(0x1d3))/0x7*(-parseInt(_0x302b29(0x1ea))/0x8)+-parseInt(_0x302b29(0x343))/0x9*(-parseInt(_0x302b29(0x458))/0xa);if(_0x4c7584===_0x474619)break;else _0x52a817['push'](_0x52a817['shift']());}catch(_0x26b877){_0x52a817['push'](_0x52a817['shift']());}}}(_0x9eb2,0x5c128),function(_0x1702f1,_0x28b1e6){const _0xe33c04=_0x1b6e;typeof exports=='object'&&typeof module<'u'?_0x28b1e6(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==_0xe33c04(0x411)&&define[_0xe33c04(0x106)]?define([_0xe33c04(0x198),_0xe33c04(0x232),_0xe33c04(0x12d),_0xe33c04(0x139),_0xe33c04(0x327),'@univerjs-pro/sheets-shape','@univerjs/core','@univerjs/sheets',_0xe33c04(0x265),_0xe33c04(0x436),_0xe33c04(0x160),_0xe33c04(0x2d2),_0xe33c04(0x283),_0xe33c04(0x194),_0xe33c04(0x261),_0xe33c04(0x34b),'@univerjs-pro/license',_0xe33c04(0x2bb),_0xe33c04(0x399),'@univerjs/sheets-drawing-ui','react'],_0x28b1e6):(_0x1702f1=typeof globalThis<'u'?globalThis:_0x1702f1||self,_0x28b1e6(_0x1702f1[_0xe33c04(0x212)]={},_0x1702f1[_0xe33c04(0x2e7)],_0x1702f1[_0xe33c04(0x3dc)],_0x1702f1[_0xe33c04(0x4b1)],_0x1702f1['UniverProShapeEditor'],_0x1702f1['UniverProSheetsShape'],_0x1702f1[_0xe33c04(0x31d)],_0x1702f1[_0xe33c04(0x25b)],_0x1702f1[_0xe33c04(0x409)],_0x1702f1[_0xe33c04(0x2ed)],_0x1702f1[_0xe33c04(0x479)],_0x1702f1[_0xe33c04(0x2d2)],_0x1702f1['UniverDrawingUi'],_0x1702f1[_0xe33c04(0x4b4)],_0x1702f1[_0xe33c04(0x487)],_0x1702f1[_0xe33c04(0x388)],_0x1702f1[_0xe33c04(0x20a)],_0x1702f1[_0xe33c04(0x376)],_0x1702f1['UniverDocsUi'],_0x1702f1['UniverSheetsDrawingUi'],_0x1702f1[_0xe33c04(0x487)]));}(this,function(_0x46347d,_0x478c88,_0x45c65a,_0x163f94,_0x3e01f8,_0x4d9a77,_0x4a54e1,_0x517d2f,_0x46a31d,_0x163b80,_0x1f919d,_0x393422,_0x359560,_0x4a79ba,_0x5818ca,_0xe8736,_0x41799b,_0x495f84,_0x42907f,_0x69857,_0x5ddce8){const _0x229451=_0x1b6e;Object['defineProperty'](_0x46347d,Symbol[_0x229451(0x2a0)],{'value':_0x229451(0x46c)});function _0x27c56a(_0x876226,_0x311415){const _0x2aebf9=_0x229451;let _0x466b4e={};for(let _0x3358cc of Object['keys'](_0x311415)){let _0x3c4fc7=_0x311415[_0x3358cc],_0x1346f4=_0x876226[_0x3358cc];_0x466b4e[_0x3358cc]=_0x1346f4===void 0x0?void 0x0:typeof _0x3c4fc7==_0x2aebf9(0x21b)&&_0x3c4fc7&&!Array[_0x2aebf9(0x4d0)](_0x3c4fc7)&&typeof _0x1346f4==_0x2aebf9(0x21b)&&_0x1346f4&&!Array['isArray'](_0x1346f4)?_0x27c56a(_0x1346f4,_0x3c4fc7):_0x1346f4;}return _0x466b4e;}let _0x58f758={'type':_0x4a54e1[_0x229451(0x205)][_0x229451(0x4af)],'id':_0x229451(0x161),'handler':(_0x55f441,_0x2b7990)=>{const _0x27b34a=_0x229451;let _0x569af5=_0x55f441[_0x27b34a(0x44d)](_0x4d9a77['SheetsShapeService']),{unitId:_0x4c0a18,subUnitId:_0xd1c04a,shapeType:_0x3784ab,shapeId:_0x461007,shapeData:_0x58a5aa,replaceShapeData:_0xdef52b,oldShapeJSON:_0x582f5a}=_0x2b7990;if(!_0x569af5['getShapeModel'](_0x4c0a18,_0xd1c04a,_0x461007))return!0x1;let _0x11a73b=_0x55f441['get'](_0x4a54e1['ICommandService']),_0x56655c=_0x55f441[_0x27b34a(0x44d)](_0x4a54e1[_0x27b34a(0x3bd)]),{oldShapeType:_0x383f0a,oldShapeData:_0x3ab9c9={}}=_0x582f5a,_0x21a7b9=_0xdef52b?_0x3ab9c9:_0x27c56a(_0x3ab9c9,_0x58a5aa||{}),_0x2782ef={'id':_0x4d9a77['UpdateSheetsShapeDataMutation']['id'],'params':{'unitId':_0x4c0a18,'subUnitId':_0xd1c04a,'shapeId':_0x461007,'shapeType':_0x3784ab,'shapeData':_0x58a5aa,'replace':_0xdef52b}},_0x294d39={'id':_0x4d9a77[_0x27b34a(0x3ee)]['id'],'params':{'unitId':_0x4c0a18,'subUnitId':_0xd1c04a,'shapeId':_0x461007,'shapeType':_0x383f0a,'shapeData':_0x21a7b9,'replace':_0xdef52b}};return _0x11a73b[_0x27b34a(0x414)](_0x2782ef['id'],_0x2782ef[_0x27b34a(0x112)])?(_0x56655c[_0x27b34a(0x258)]({'unitID':_0x4c0a18,'undoMutations':[_0x294d39],'redoMutations':[_0x2782ef]}),!0x0):!0x1;}};function _0x28480e(_0x3e306b,_0x166c15,_0x431f23,_0x28e68b,_0x5f58ce,_0x35cdaa){const _0x40b963=_0x229451;let _0x335e3a={'unitId':_0x166c15,'subUnitId':_0x431f23,'shapeId':_0x28e68b,'shapeData':_0x35cdaa,'oldShapeJSON':_0x5f58ce};return _0x3e306b[_0x40b963(0x22f)](_0x58f758['id'],_0x335e3a);}function _0x55dad8(_0x6675a0,_0x3d0534,_0x5c8f84,_0x317176,_0x5c996c,_0xb325e){const _0x13c595=_0x229451;let _0x26d00e={'unitId':_0x3d0534,'subUnitId':_0x5c8f84,'shapeId':_0x317176,'shapeData':_0xb325e,'oldShapeJSON':_0x5c996c};return _0x6675a0[_0x13c595(0x22f)](_0x58f758['id'],_0x26d00e);}function _0x1126a4(_0x226fb6){'@babel/helpers - typeof';const _0x2668ac=_0x229451;return _0x1126a4=typeof Symbol=='function'&&typeof Symbol[_0x2668ac(0x285)]==_0x2668ac(0x249)?function(_0x310730){return typeof _0x310730;}:function(_0x45f270){const _0x113bae=_0x2668ac;return _0x45f270&&typeof Symbol==_0x113bae(0x411)&&_0x45f270['constructor']===Symbol&&_0x45f270!==Symbol[_0x113bae(0x1df)]?_0x113bae(0x249):typeof _0x45f270;},_0x1126a4(_0x226fb6);}function _0x2e4696(_0x4ead8f,_0x149b75){const _0x1de0c5=_0x229451;if(_0x1126a4(_0x4ead8f)!='object'||!_0x4ead8f)return _0x4ead8f;var _0x5e73e5=_0x4ead8f[Symbol[_0x1de0c5(0x398)]];if(_0x5e73e5!==void 0x0){var _0x15667c=_0x5e73e5[_0x1de0c5(0xf2)](_0x4ead8f,_0x149b75||_0x1de0c5(0x3b4));if(_0x1126a4(_0x15667c)!=_0x1de0c5(0x21b))return _0x15667c;throw TypeError(_0x1de0c5(0x292));}return(_0x149b75===_0x1de0c5(0x1bd)?String:Number)(_0x4ead8f);}function _0x2b8d65(_0x41cf65){const _0x3f842f=_0x229451;var _0x1331ba=_0x2e4696(_0x41cf65,_0x3f842f(0x1bd));return _0x1126a4(_0x1331ba)==_0x3f842f(0x249)?_0x1331ba:_0x1331ba+'';}function _0x2624fb(_0x55f6a7,_0x5bc33f,_0x58557c){const _0x5b6833=_0x229451;return(_0x5bc33f=_0x2b8d65(_0x5bc33f))in _0x55f6a7?Object[_0x5b6833(0x2ef)](_0x55f6a7,_0x5bc33f,{'value':_0x58557c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x55f6a7[_0x5bc33f]=_0x58557c,_0x55f6a7;}function _0x3e4231(_0x20a943,_0x2a4461,_0x147e99){const _0x7f24b0=_0x229451;let _0x2d7a00={..._0x2a4461,'dataModel':{..._0x2a4461[_0x7f24b0(0x13b)]??{},..._0x147e99?{'doc':_0x147e99}:null}},_0x27a970=(0x0,_0x478c88[_0x7f24b0(0x254)])(_0x20a943,_0x2d7a00),_0x3da847=(0x0,_0x478c88['resolveShapeTextEditorWrapStrategy'])(_0x27a970);return{'clip':(0x0,_0x478c88[_0x7f24b0(0x10a)])(_0x27a970,_0x3da847),'wrapStrategy':_0x3da847};}var _0x229110=class extends _0x163b80['Shape']{constructor(_0x1f3987,_0x47d6c0){const _0x166533=_0x229451;super(_0x1f3987,_0x47d6c0),_0x2624fb(this,'_hyperLinkRegions',[]),_0x2624fb(this,_0x166533(0x3ac),void 0x0),_0x2624fb(this,_0x166533(0x389),new _0x478c88['FormulaShapeAnimationController'](()=>this['makeDirty'](!0x0),()=>this[_0x166533(0x3c1)]())),_0x2624fb(this,_0x166533(0x418),!0x0),_0x2624fb(this,_0x166533(0x49c),_0x4a54e1[_0x166533(0x429)]['DRAWING_SHAPE']),_0x2624fb(this,'isDrawingObject',!0x0),this['_props']={..._0x47d6c0},this[_0x166533(0x389)][_0x166533(0x2a2)](_0x47d6c0[_0x166533(0x39f)],_0x47d6c0['animateFormulaPresentation']!==!0x1),this['_init'](),this[_0x166533(0x3c1)]();}[_0x229451(0x431)](){const _0x2591b6=_0x229451;this['onTransformChange$'][_0x2591b6(0x14d)](_0x1df29d=>{const _0x2873a6=_0x2591b6;this[_0x2873a6(0x456)](_0x1df29d);});}[_0x229451(0x3df)](_0xf14b2e){const _0x496b45=_0x229451;this['_props'][_0x496b45(0x17d)]=_0xf14b2e;}[_0x229451(0x18f)](_0x9755b2){const _0x252587=_0x229451;if(this['_props'][_0x252587(0x134)])return null;let _0x558fb6=this[_0x252587(0x32e)](_0x9755b2),{width:_0x4433aa,height:_0x21b956}=this[_0x252587(0x459)]();return(0x0,_0x478c88[_0x252587(0x2d8)])(this[_0x252587(0x4a0)],{'x':(this[_0x252587(0x121)]?-_0x558fb6['x']:_0x558fb6['x'])+_0x4433aa/0x2,'y':_0x558fb6['y']+_0x21b956/0x2});}[_0x229451(0x495)](_0x3b2b36){const _0x5991e8=_0x229451;this[_0x5991e8(0x3ac)][_0x5991e8(0x134)]=_0x3b2b36,this[_0x5991e8(0x1fc)](!0x0);}[_0x229451(0x43c)](_0x378558,_0x3792bb=!0x0){const _0x541d81=_0x229451;this[_0x541d81(0x389)][_0x541d81(0x2a2)](_0x378558,_0x3792bb),this[_0x541d81(0x3ac)][_0x541d81(0x39f)]=_0x378558,this[_0x541d81(0x3c1)](),this[_0x541d81(0x1fc)](!0x0);}['_applyFormulaAutoFitSize'](){const _0x3f8589=_0x229451;let _0x1264cf=this[_0x3f8589(0x3ac)][_0x3f8589(0x38c)],_0x247cc7=_0x1264cf['getShapeTextData'](),_0x49377b=(0x0,_0x478c88[_0x3f8589(0x4cc)])(_0x247cc7==null?void 0x0:_0x247cc7[_0x3f8589(0x13b)]),_0x251191=_0x49377b==null?void 0x0:_0x49377b['doc'],_0x3f2b95=this['_formulaAnimation']['getAutoFitPresentations']();if(!_0x251191||_0x3f2b95[_0x3f8589(0x31c)]===0x0)return;_0x1264cf[_0x3f8589(0x405)]({'width':this[_0x3f8589(0x303)],'height':this[_0x3f8589(0x29f)]});let _0xbad071=(0x0,_0x478c88['resolveFormulaShapeAutoFitSize'])({'documentData':_0x3f2b95['map'](_0x67ca7f=>(0x0,_0x3e01f8['createShapeFormulaDocument'])(_0x251191,_0x67ca7f)),'height':this[_0x3f8589(0x29f)],'shapeData':_0x1264cf[_0x3f8589(0x361)](),'textRect':_0x1264cf[_0x3f8589(0x373)]({'left':0x0,'top':0x0,'width':this[_0x3f8589(0x303)],'height':this['height']}),'width':this[_0x3f8589(0x303)]});if(_0xbad071){var _0x21dfa0;this[_0x3f8589(0x24c)](_0xbad071[_0x3f8589(0x303)],_0xbad071[_0x3f8589(0x29f)]),(_0x21dfa0=this['getScene']())==null||(_0x21dfa0=_0x21dfa0[_0x3f8589(0x37a)]())==null||_0x21dfa0[_0x3f8589(0x156)]();}}get['unitId'](){const _0x444f20=_0x229451;return this['_props'][_0x444f20(0x2d6)];}get['subUnitId'](){const _0x2f922a=_0x229451;return this[_0x2f922a(0x3ac)][_0x2f922a(0x2b1)];}[_0x229451(0x456)](_0x551392){const _0x5aea71=_0x229451;if(this['_props'][_0x5aea71(0x1fb)]==null||!this[_0x5aea71(0x418)])return;let {width:_0x477160,height:_0x194eef}=this,{width:_0x302bc3=0x0,height:_0x475a9a=0x0}=_0x551392['preValue'],{left:_0x48cc9c=0x0,top:_0x117181=0x0,right:_0x3a6ecd=0x0,bottom:_0x5b865b=0x0}=this[_0x5aea71(0x3ac)][_0x5aea71(0x1fb)],_0x41073b=_0x48cc9c,_0x52f3a6=_0x117181,_0x287628=_0x3a6ecd,_0x2d1038=_0x5b865b,_0xea75c0=!0x1;if(_0x302bc3!==0x0&&_0x302bc3!==_0x477160){let _0x2ed208=_0x48cc9c/_0x302bc3,_0x599b6f=_0x3a6ecd/_0x302bc3;_0x41073b=_0x477160*_0x2ed208,_0x287628=_0x477160*_0x599b6f,_0xea75c0=!0x0;}if(_0x475a9a!==0x0&&_0x475a9a!==_0x194eef){let _0x4327ef=_0x117181/_0x475a9a,_0x1d73b6=_0x5b865b/_0x475a9a;_0x52f3a6=_0x194eef*_0x4327ef,_0x2d1038=_0x194eef*_0x1d73b6,_0xea75c0=!0x0;}_0xea75c0&&this['setSrcRect']({'left':_0x41073b,'top':_0x52f3a6,'right':_0x287628,'bottom':_0x2d1038});}[_0x229451(0x45f)](_0x34d7cb){const _0x43ae03=_0x229451;this['_props']['srcRect']=_0x34d7cb,this[_0x43ae03(0x1fc)](!0x0);}[_0x229451(0x18e)](_0x9ceb2e){const _0x2aefe7=_0x229451;this[_0x2aefe7(0x3ac)][_0x2aefe7(0x238)]=_0x9ceb2e,this[_0x2aefe7(0x1fc)](!0x0);}set[_0x229451(0x412)](_0x32e0e0){const _0x2157c2=_0x229451;this[_0x2157c2(0x346)]=_0x32e0e0;}get['transform'](){const _0x46c560=_0x229451;this[_0x46c560(0x346)]||this['_setTransForm']();let _0x197953=this['_transform']['clone']();return this[_0x46c560(0x280)](_0x197953);}get[_0x229451(0x38c)](){const _0x113b80=_0x229451;return this[_0x113b80(0x3ac)][_0x113b80(0x38c)];}get[_0x229451(0x4a7)](){const _0x564977=_0x229451;return this[_0x564977(0x3ac)][_0x564977(0x4a7)];}get[_0x229451(0x110)](){const _0x3a4fcb=_0x229451;return _0x163b80['RENDER_CLASS_TYPE'][_0x3a4fcb(0x1b5)];}[_0x229451(0x1d8)](_0x949da7,_0x52713c,_0x473474,_0x33d9e1){const _0x351bad=_0x229451;let _0x4b40eb=this[_0x351bad(0x3ac)][_0x351bad(0x38c)];if(!_0x4b40eb||!_0x52713c)return;let _0x35dcce=_0x473474??this[_0x351bad(0x303)],_0x10ba11=_0x33d9e1??this['height'],_0x4a233f={'shapeType':_0x4b40eb[_0x351bad(0xf3)](),'width':_0x35dcce,'height':_0x10ba11},_0x1a54d2={'renderMode':_0x163f94['ShapeRenderModeEnum'][_0x351bad(0x28b)],'oKey':this[_0x351bad(0x1c6)],'image':this['_props'][_0x351bad(0x238)],'angle':this[_0x351bad(0x1b7)]};_0x4b40eb[_0x351bad(0x405)](_0x4a233f),_0x949da7[_0x351bad(0x451)]();let _0x50e3f6={'top':0x0,'left':0x0,'width':_0x35dcce,'height':_0x10ba11},_0x2ef334=_0x4b40eb[_0x351bad(0x4bd)](_0x50e3f6);_0x2ef334?this[_0x351bad(0x2e1)](_0x949da7,_0x2ef334,_0xec2734=>{const _0xc660d8=_0x351bad;_0x4b40eb[_0xc660d8(0x250)](_0xec2734,_0x50e3f6,_0x1a54d2);}):(this[_0x351bad(0x469)](),_0x4b40eb[_0x351bad(0x250)](_0x949da7,_0x50e3f6,_0x1a54d2)),_0x949da7[_0x351bad(0x355)]();let _0x26f66b=_0x4b40eb[_0x351bad(0x34f)](),_0x4f66a7=_0x4b40eb[_0x351bad(0x373)](_0x50e3f6),_0xcdc68e=_0x4b40eb['isLineShape']();if(_0x26f66b&&_0x4f66a7&&!_0xcdc68e){_0x949da7['save'](),this[_0x351bad(0x149)]()['flipX']&&_0x949da7[_0x351bad(0x23b)](-0x1,0x1);let _0x2d5e53=_0x35dcce/0x2,_0x41b9b4=_0x10ba11/0x2;_0x949da7[_0x351bad(0x3f6)](-_0x2d5e53,-_0x41b9b4),_0x949da7['beginPath'](),this['_drawShapeText'](_0x949da7,_0x26f66b,_0x4f66a7),_0x949da7[_0x351bad(0x355)]();}}[_0x229451(0x208)](_0x543cb8){}[_0x229451(0x1ef)](_0x2f5b49,_0x249e61,_0x2baec6){const _0x1a1a42=_0x229451;var _0x68bf46;this[_0x1a1a42(0x4a0)]=[],!this[_0x1a1a42(0x3ac)]['isEditing']&&(!((_0x68bf46=_0x249e61[_0x1a1a42(0x13b)])!=null&&_0x68bf46[_0x1a1a42(0x381)])&&_0x1a1a42(0x25e)in _0x249e61&&_0x249e61['isRichText']===!0x1?this[_0x1a1a42(0x410)](_0x2f5b49,_0x249e61,_0x2baec6):this[_0x1a1a42(0x468)](_0x2f5b49,_0x249e61,_0x2baec6));}[_0x229451(0x410)](_0x2b8a8a,_0x2da400,_0xc0e0a8){const _0x42e853=_0x229451;this['_drawRichText'](_0x2b8a8a,{..._0x2da400,'text':_0x2da400[_0x42e853(0x422)]??'','dataModel':{'doc':(0x0,_0x478c88[_0x42e853(0x144)])(_0x2da400,_0x42e853(0x19b)+this['oKey'])}},_0xc0e0a8);}[_0x229451(0x468)](_0xb8e951,_0x5cd29b,_0x45a01f){const _0x3210ac=_0x229451;(0x0,_0x478c88[_0x3210ac(0x2de)])(_0xb8e951,this[_0x3210ac(0x389)],(_0x58badd,_0x2f7afd,_0x79b0c2)=>{const _0x2e3b9e=_0x3210ac;this[_0x2e3b9e(0x243)](_0x58badd,_0x5cd29b,_0x45a01f,_0x2f7afd,_0x79b0c2===_0x2e3b9e(0x116));});}['_drawRichTextLayer'](_0x1d1228,_0x38bef6,_0x29f589,_0x1cf6a7,_0x52fef8){const _0x407740=_0x229451;let _0x3ce249=this[_0x407740(0x3ac)]['localeService'];if(!_0x38bef6[_0x407740(0x13b)]||!_0x3ce249)return;let _0x4e5408=(0x0,_0x478c88[_0x407740(0x4cc)])(_0x38bef6[_0x407740(0x13b)]);if(!_0x4e5408)return;let _0x21afa5=_0x4e5408[_0x407740(0x381)];if(!_0x21afa5)return;let _0x34ac85=(0x0,_0x3e01f8[_0x407740(0x25a)])(_0x21afa5,_0x1cf6a7),_0x3771cf=_0x4e5408['va']??_0x4a54e1[_0x407740(0x3c2)][_0x407740(0x236)],_0x35ab4f=_0x4e5408['ha']??_0x4a54e1[_0x407740(0x4a8)][_0x407740(0x220)],_0x1d5540=_0x3e4231(this[_0x407740(0x3ac)][_0x407740(0x38c)][_0x407740(0x361)](),_0x38bef6,_0x34ac85),_0x29ae39=_0x38bef6[_0x407740(0x2c5)],_0x1c2177=(0x0,_0x478c88[_0x407740(0x481)])(_0x34ac85,{'isHorizontal':_0x29ae39!==!0x1,'textRect':_0x29f589,'verticalAlign':_0x3771cf,'horizontalAlign':_0x35ab4f,'wrapStrategy':_0x1d5540[_0x407740(0x32d)]}),_0x5bc8a5=new _0x4a54e1['DocumentDataModel'](_0x1c2177),_0x4d8cbd=new _0x163b80[(_0x407740(0x2b6))](_0x5bc8a5),_0x2ac711=_0x163b80['DocumentSkeleton'][_0x407740(0x2a6)](_0x4d8cbd,_0x3ce249);_0x2ac711[_0x407740(0x336)]();let _0x50de19=_0x2ac711['getActualSize']()['actualHeight'],_0x3975e8=(0x0,_0x478c88[_0x407740(0x465)])({'contentHeight':_0x50de19,'verticalAlign':_0x3771cf,'viewportHeight':_0x29f589[_0x407740(0x29f)]});_0x5bc8a5[_0x407740(0x131)]({'pageSize':{'width':_0x29ae39===!0x1?_0x29f589[_0x407740(0x29f)]:_0x29f589['width'],'height':(0x0,_0x478c88[_0x407740(0x272)])(_0x34ac85,_0x3975e8[_0x407740(0x30c)])}}),_0x5bc8a5[_0x407740(0x210)]({'t':_0x3975e8[_0x407740(0x3e8)]}),_0x2ac711[_0x407740(0x336)]();let _0x53004e=new _0x163b80[(_0x407740(0x165))]('shape-text-'+this[_0x407740(0x1c6)],_0x2ac711,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x407740(0x1fc)](!0x0)});_0x53004e['resize'](_0x29f589[_0x407740(0x303)],_0x3975e8['contentHeight']),_0x1d1228[_0x407740(0x451)](),_0x1d1228[_0x407740(0x104)](_0x29f589[_0x407740(0x1fa)],_0x29f589[_0x407740(0x120)]),_0x1d5540[_0x407740(0x3fc)]&&(_0x1d1228['beginPath'](),_0x1d1228[_0x407740(0x491)](0x0,_0x3975e8[_0x407740(0x1fd)],_0x29f589[_0x407740(0x303)],_0x3975e8['clipHeight']),_0x1d1228[_0x407740(0x3fc)]()),_0x3975e8[_0x407740(0x44c)]&&_0x1d1228['translateWithPrecision'](0x0,_0x3975e8['contentVerticalOffset']),_0x53004e[_0x407740(0x354)](_0x1d1228),_0x52fef8&&(this[_0x407740(0x4a0)]=(0x0,_0x478c88[_0x407740(0x4b3)])(_0x53004e,{'left':_0x29f589[_0x407740(0x1fa)],'top':_0x29f589[_0x407740(0x120)]+_0x3975e8['contentVerticalOffset']},_0x1d5540[_0x407740(0x3fc)]?{'left':_0x29f589[_0x407740(0x1fa)],'right':_0x29f589[_0x407740(0x1fa)]+_0x29f589['width'],'top':_0x29f589[_0x407740(0x120)]+_0x3975e8[_0x407740(0x1fd)],'bottom':_0x29f589['top']+_0x3975e8[_0x407740(0x1fd)]+_0x3975e8['clipHeight']}:void 0x0)),_0x1d1228[_0x407740(0x355)](),_0x53004e[_0x407740(0x138)](),_0x2ac711[_0x407740(0x138)](),_0x4d8cbd[_0x407740(0x138)](),_0x5bc8a5['dispose']();}[_0x229451(0x250)](_0x31f069,_0x3a2022,_0x20ad38=!0x1){const _0x5d7f1a=_0x229451;if(!this['visible'])return this['makeDirty'](!0x1),this;let {width:_0xcd822c,height:_0x49abad,left:_0x3a24d6,top:_0x44afbb}=this,_0x272243=this['getRealBound']();if(_0xcd822c=_0x272243[_0x5d7f1a(0x303)],_0x49abad=_0x272243['height'],_0x3a24d6=_0x272243[_0x5d7f1a(0x1fa)],_0x44afbb=_0x272243[_0x5d7f1a(0x120)],this['isRender'](_0x3a2022)){let {top:_0x3d3659,left:_0x500727,bottom:_0x5a4cc5,right:_0x563fd3}=_0x3a2022['viewBound'];if(_0xcd822c+this[_0x5d7f1a(0x408)]+_0x3a24d6<_0x500727||_0x563fd3<_0x3a24d6||_0x49abad+this[_0x5d7f1a(0x408)]+_0x44afbb<_0x3d3659||_0x5a4cc5<_0x44afbb)return this;}let _0x1feb28=_0x3a24d6+_0xcd822c/0x2,_0x4722b3=_0x44afbb+_0x49abad/0x2,_0xfbca06=this[_0x5d7f1a(0x412)][_0x5d7f1a(0x25d)]();if(this[_0x5d7f1a(0x3ac)][_0x5d7f1a(0x134)]){let _0x282cc2=this['getState'](),_0x468d3a=new _0x163b80[(_0x5d7f1a(0x11f))]();_0x468d3a['composeMatrix']({..._0x282cc2}),_0xfbca06=_0x468d3a[_0x5d7f1a(0x25d)]();}return _0x31f069[_0x5d7f1a(0x451)](),this[_0x5d7f1a(0x3ac)][_0x5d7f1a(0x38c)]['isRenderLinePointsMode']===!0x0||_0x31f069[_0x5d7f1a(0x412)](_0xfbca06[0x0],_0xfbca06[0x1],_0xfbca06[0x2],_0xfbca06[0x3],_0x1feb28,_0x4722b3),this[_0x5d7f1a(0x1d8)](_0x31f069,_0x3a2022,_0xcd822c,_0x49abad),_0x31f069[_0x5d7f1a(0x355)](),this[_0x5d7f1a(0x1fc)](!0x1),this;}[_0x229451(0x32e)](_0x227957){const _0x110385=_0x229451;let {left:_0x58a423,top:_0x1beb82,width:_0x4b2e53,height:_0x1601de}=this[_0x110385(0x459)](),_0x27e114=this[_0x110385(0x412)][_0x110385(0x25d)](),_0x23c109=_0x58a423+_0x4b2e53/0x2,_0x50e20c=_0x1beb82+_0x1601de/0x2,_0x46d93b=new _0x163b80['Transform']([_0x27e114[0x0],_0x27e114[0x1],_0x27e114[0x2],_0x27e114[0x3],_0x23c109,_0x50e20c]),_0x52cdcb=this[_0x110385(0x245)]();return(this[_0x110385(0x10c)]&&(_0x52cdcb==null?void 0x0:_0x52cdcb[_0x110385(0x110)])===_0x163b80[_0x110385(0x4db)][_0x110385(0x1a7)]?_0x52cdcb[_0x110385(0x22b)][_0x110385(0x2d0)](_0x46d93b):_0x46d93b)['invert']()['applyPoint'](_0x227957);}['isHit'](_0x45f4d8){const _0x52df58=_0x229451;let {left:_0x2b8da4,top:_0x1951d4,width:_0x2fa609,height:_0x3054b6}=this[_0x52df58(0x459)](),_0x1cb7b2=_0x2b8da4+_0x2fa609/0x2,_0x3157a6=_0x1951d4+_0x3054b6/0x2,_0x6abc20=this['transform']['getMatrix'](),_0x15a8b4=new _0x163b80[(_0x52df58(0x11f))]([_0x6abc20[0x0],_0x6abc20[0x1],_0x6abc20[0x2],_0x6abc20[0x3],_0x1cb7b2,_0x3157a6]),_0x298aee=this[_0x52df58(0x245)](),_0x17da51=(this[_0x52df58(0x10c)]&&(_0x298aee==null?void 0x0:_0x298aee[_0x52df58(0x110)])===_0x163b80[_0x52df58(0x4db)]['GROUP']?_0x298aee[_0x52df58(0x22b)][_0x52df58(0x2d0)](_0x15a8b4):_0x15a8b4)[_0x52df58(0x197)]()['applyPoint'](_0x45f4d8),_0x54825e=_0x2fa609/0x2,_0x364acb=_0x3054b6/0x2,_0xf280de=this['_props']['shapeModel'];return _0xf280de&&_0xf280de['isLineShape']()?_0xf280de[_0x52df58(0x39b)](_0x17da51['x'],_0x17da51['y'],_0x2fa609,_0x3054b6):_0x17da51['x']>=-_0x54825e-this[_0x52df58(0x408)]/0x2&&_0x17da51['x']<=_0x54825e+this['strokeWidth']/0x2&&_0x17da51['y']>=-_0x364acb-this['strokeWidth']/0x2&&_0x17da51['y']<=_0x364acb+this[_0x52df58(0x408)]/0x2;}[_0x229451(0x138)](){const _0x27455a=_0x229451;this[_0x27455a(0x389)][_0x27455a(0x138)](),this['_props'][_0x27455a(0x38c)]=null,super[_0x27455a(0x138)]();}},_0x2a957f=class extends _0x163b80[_0x229451(0x274)]{constructor(_0x1adea4,_0x5840b0){const _0x1259e7=_0x229451;super(_0x1adea4,_0x5840b0),_0x2624fb(this,_0x1259e7(0x1da),null),_0x2624fb(this,_0x1259e7(0x246),null),_0x2624fb(this,_0x1259e7(0x1c9),null),_0x2624fb(this,_0x1259e7(0x233),null),_0x5840b0&&this[_0x1259e7(0x2f8)](_0x5840b0);}[_0x229451(0x341)](){const _0x647a50=_0x229451;return{'unitId':this[_0x647a50(0x1c9)],'subUnitId':this[_0x647a50(0x233)],'drawingId':this[_0x647a50(0x1da)]};}[_0x229451(0x2f8)](_0xed8e89){const _0x176202=_0x229451;_0xed8e89['shapeId']!==void 0x0&&(this[_0x176202(0x1da)]=_0xed8e89[_0x176202(0x4a7)]),_0xed8e89['adjName']!==void 0x0&&(this['_adjName']=_0xed8e89[_0x176202(0x293)]),_0xed8e89[_0x176202(0x2d6)]!==void 0x0&&(this[_0x176202(0x1c9)]=_0xed8e89[_0x176202(0x2d6)]),_0xed8e89[_0x176202(0x2b1)]!==void 0x0&&(this[_0x176202(0x233)]=_0xed8e89[_0x176202(0x2b1)]),this[_0x176202(0x145)]({'width':_0xed8e89[_0x176202(0x303)],'height':_0xed8e89[_0x176202(0x29f)]});}[_0x229451(0x1d8)](_0x180009){const _0x51e7d7=_0x229451;_0x163b80[_0x51e7d7(0x4d9)][_0x51e7d7(0x15e)](_0x180009,{'radius':_0x163f94[_0x51e7d7(0x1fe)]['adjHandleSize'],'fill':_0x163f94[_0x51e7d7(0x1fe)][_0x51e7d7(0x4ad)],'stroke':_0x163f94[_0x51e7d7(0x1fe)][_0x51e7d7(0x432)],'strokeWidth':0x1,'evented':!0x0});}};function _0x1c0f1c(_0x39c42b,_0x50aee2){return function(_0x2582cc,_0x475f2e){_0x50aee2(_0x2582cc,_0x475f2e,_0x39c42b);};}function _0x3f173a(_0x334044,_0x328aff,_0x5b5eb2,_0x529404){const _0x3b8b4f=_0x229451;var _0x216ef4=arguments[_0x3b8b4f(0x31c)],_0x1cfde4=_0x216ef4<0x3?_0x328aff:_0x529404===null?_0x529404=Object[_0x3b8b4f(0x3a3)](_0x328aff,_0x5b5eb2):_0x529404,_0x5aa5c1;if(typeof Reflect==_0x3b8b4f(0x21b)&&typeof Reflect[_0x3b8b4f(0x4c9)]==_0x3b8b4f(0x411))_0x1cfde4=Reflect[_0x3b8b4f(0x4c9)](_0x334044,_0x328aff,_0x5b5eb2,_0x529404);else{for(var _0x1a4559=_0x334044[_0x3b8b4f(0x31c)]-0x1;_0x1a4559>=0x0;_0x1a4559--)(_0x5aa5c1=_0x334044[_0x1a4559])&&(_0x1cfde4=(_0x216ef4<0x3?_0x5aa5c1(_0x1cfde4):_0x216ef4>0x3?_0x5aa5c1(_0x328aff,_0x5b5eb2,_0x1cfde4):_0x5aa5c1(_0x328aff,_0x5b5eb2))||_0x1cfde4);}return _0x216ef4>0x3&&_0x1cfde4&&Object[_0x3b8b4f(0x2ef)](_0x328aff,_0x5b5eb2,_0x1cfde4),_0x1cfde4;}let _0x46b13f=class extends _0x4a54e1[_0x229451(0x2e0)]{constructor(_0xbe063d,_0x4b442f,_0x4ca6de,_0x5bab06,_0x5acfe1,_0x4ae467){const _0x33ae45=_0x229451;super(),this[_0x33ae45(0x109)]=_0xbe063d,this[_0x33ae45(0x26a)]=_0x4b442f,this[_0x33ae45(0xe6)]=_0x4ca6de,this['_imageIoService']=_0x5bab06,this[_0x33ae45(0x3f0)]=_0x5acfe1,this[_0x33ae45(0x38b)]=_0x4ae467,_0x2624fb(this,_0x33ae45(0x443),new Map()),this['disposeWithMe'](this[_0x33ae45(0x38b)]['presentationChanged$'][_0x33ae45(0x3ae)](_0x583319=>{const _0x3a137b=_0x33ae45;var _0x39dc0f;(_0x39dc0f=this[_0x3a137b(0x443)][_0x3a137b(0x44d)](this[_0x3a137b(0x2fb)](_0x583319[_0x3a137b(0x2d6)],_0x583319['subUnitId'],_0x583319['shapeId'])))==null||_0x39dc0f[_0x3a137b(0x2e2)](_0x512db2=>_0x512db2[_0x3a137b(0x43c)](_0x583319[_0x3a137b(0x3a4)],_0x583319[_0x3a137b(0x2b8)]));})),this[_0x33ae45(0x223)](this[_0x33ae45(0x109)][_0x33ae45(0x1bf)]['subscribe'](_0x11ae29=>{_0x11ae29['forEach'](_0x1423f9=>{const _0x42ef9b=_0x1b6e;this[_0x42ef9b(0x38b)][_0x42ef9b(0x494)]({'unitId':_0x1423f9[_0x42ef9b(0x2d6)],'subUnitId':_0x1423f9[_0x42ef9b(0x2b1)],'shapeId':_0x1423f9['drawingId']}),this[_0x42ef9b(0x443)][_0x42ef9b(0x489)](this[_0x42ef9b(0x2fb)](_0x1423f9[_0x42ef9b(0x2d6)],_0x1423f9[_0x42ef9b(0x2b1)],_0x1423f9[_0x42ef9b(0x214)]));});}));}[_0x229451(0x129)](_0x2e13ee,_0x5bb3b1,_0x470d62){const _0x2dba9a=_0x229451;let {transform:_0x3d3bd0,drawingType:_0x16c0b4,srcRect:_0x2b7623,prstGeom:_0x30c3e1,groupId:_0xf2f6b2,unitId:_0x2e2755,subUnitId:_0x1cb434,drawingId:_0x13f86e,isMultiTransform:_0x269daf,transforms:_0x3ca95d,hidden:_0x32a2fb,selectable:_0x5c995a}=_0x2e13ee;if(_0x16c0b4!==_0x4a54e1[_0x2dba9a(0x429)][_0x2dba9a(0x453)]||!this[_0x2dba9a(0x109)][_0x2dba9a(0x375)]()||_0x3d3bd0==null)return;let _0x306a96=this['_drawingManagerService']['getDrawingEditable'](),_0x1a29eb=_0x269daf&&_0x3ca95d?_0x3ca95d:[_0x3d3bd0],_0x3d5ddc=[];for(let _0x3e8a3c of _0x1a29eb){let {left:_0x4b8162,top:_0x46ab5f,width:_0x593af8,height:_0x1e5b0f,angle:_0x25923b,flipX:_0x25f16c,flipY:_0x4751c9,skewX:_0xb55a5b,skewY:_0x3cb23a}=_0x3e8a3c,_0x465c7f=_0x1a29eb[_0x2dba9a(0x1d9)](_0x3e8a3c),_0x2cf29d=(0x0,_0x46a31d[_0x2dba9a(0x4d7)])({'unitId':_0x2e2755,'subUnitId':_0x1cb434,'drawingId':_0x13f86e},_0x269daf?_0x465c7f:void 0x0),_0x2cd540=_0x5bb3b1[_0x2dba9a(0x105)](_0x2cf29d);if(_0x2cd540!=null){let _0x41ebd6={'unitId':_0x2e2755,'subUnitId':_0x1cb434,'shapeId':_0x13f86e};_0x2cd540 instanceof _0x229110&&this['refreshFormulaPresentation'](_0x2cd540,_0x41ebd6),_0x2cd540[_0x2dba9a(0x145)]({'left':_0x4b8162,'top':_0x46ab5f,'width':_0x593af8,'height':_0x1e5b0f,'angle':_0x25923b,'flipX':_0x25f16c,'flipY':_0x4751c9,'skewX':_0xb55a5b,'skewY':_0x3cb23a});continue;}let _0x4c5e30=this['_drawingManagerService'][_0x2dba9a(0x207)](_0x2e2755,_0x1cb434),_0xe93886=_0x4c5e30['indexOf'](_0x13f86e);if(_0x5bb3b1[_0x2dba9a(0x105)](_0x2cf29d)||!this[_0x2dba9a(0x109)][_0x2dba9a(0x375)]())continue;let _0x5aeec2=this['_sheetsShapeService'][_0x2dba9a(0x12f)](_0x2e2755,_0x1cb434,_0x13f86e);if(!_0x5aeec2)continue;let _0x5b1b7b=(0x0,_0x163f94[_0x2dba9a(0x28e)])(_0x5aeec2[_0x2dba9a(0xf3)]())?{..._0x478c88[_0x2dba9a(0x3b5)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x478c88[_0x2dba9a(0x3b5)],_0x150f6c=_0x5aeec2[_0x2dba9a(0x361)]()[_0x2dba9a(0x2c0)],_0x2d7c02={'unitId':_0x2e2755,'subUnitId':_0x1cb434,'shapeId':_0x13f86e};_0x150f6c&&this[_0x2dba9a(0x38b)][_0x2dba9a(0x17b)](_0x2d7c02,_0x150f6c);let _0x20974e=new _0x229110(_0x2cf29d,{..._0x3e8a3c,'zIndex':_0xe93886===-0x1?_0x4c5e30[_0x2dba9a(0x31c)]-0x1:_0xe93886,'shapeModel':_0x5aeec2,'localeService':this[_0x2dba9a(0xe6)],'shapeId':_0x13f86e,'unitId':_0x2e2755,'subUnitId':_0x1cb434,'visible':_0x32a2fb!==!0x0,'evented':_0x5c995a!==!0x1,'formulaPresentation':_0x150f6c?this[_0x2dba9a(0x38b)][_0x2dba9a(0x45a)](_0x2d7c02):void 0x0,'animateFormulaPresentation':(_0x150f6c==null?void 0x0:_0x150f6c[_0x2dba9a(0x2b8)])!==!0x1,'transformerConfig':_0x5b1b7b});if(_0x150f6c){let _0xe561ac=this[_0x2dba9a(0x2fb)](_0x2e2755,_0x1cb434,_0x13f86e),_0x3a633d=this[_0x2dba9a(0x443)][_0x2dba9a(0x44d)](_0xe561ac)??new Set();_0x3a633d[_0x2dba9a(0x1c2)](_0x20974e),this['_formulaShapes'][_0x2dba9a(0x255)](_0xe561ac,_0x3a633d);}_0x5bb3b1[_0x2dba9a(0x14e)](_0x20974e,_0x163b80['DRAWING_OBJECT_LAYER_INDEX']),_0x306a96&&_0x5bb3b1[_0x2dba9a(0x21d)](_0x20974e),_0xf2f6b2&&(0x0,_0x359560[_0x2dba9a(0x3f7)])({'drawingId':_0xf2f6b2,'unitId':_0x2e2755,'subUnitId':_0x1cb434},_0x20974e,_0x5bb3b1,this['_drawingManagerService']),_0x30c3e1!=null&&_0x20974e[_0x2dba9a(0x3df)](_0x30c3e1),_0x2b7623!=null&&_0x20974e['setSrcRect'](_0x2b7623);let _0x2da2db=this['_loadShapePictureFill'](_0x20974e,_0x5aeec2[_0x2dba9a(0x361)]());if(_0x2da2db){var _0x23c6ad;_0x470d62==null||(_0x23c6ad=_0x470d62[_0x2dba9a(0xe9)])==null||_0x23c6ad[_0x2dba9a(0x1c2)](_0x2da2db);}_0x3d5ddc[_0x2dba9a(0x31a)](_0x20974e);}return _0x3d5ddc;}[_0x229451(0x2fb)](_0x2f5d31,_0x35e788,_0x4974dd){return _0x2f5d31+'\x00'+_0x35e788+'\x00'+_0x4974dd;}[_0x229451(0x1c8)](_0x3bf3b3,_0x90da86){const _0x18e579=_0x229451;let _0x1a7ae0=this['_sheetsShapeService'][_0x18e579(0x12f)](_0x90da86[_0x18e579(0x2d6)],_0x90da86[_0x18e579(0x2b1)],_0x90da86[_0x18e579(0x4a7)]),_0x386f24=_0x1a7ae0==null?void 0x0:_0x1a7ae0['getShapeData']()[_0x18e579(0x2c0)],_0x411488=this['_formulaKey'](_0x90da86[_0x18e579(0x2d6)],_0x90da86[_0x18e579(0x2b1)],_0x90da86[_0x18e579(0x4a7)]);if(_0x386f24){this[_0x18e579(0x38b)][_0x18e579(0x17b)](_0x90da86,_0x386f24);let _0x391ae8=this[_0x18e579(0x443)][_0x18e579(0x44d)](_0x411488)??new Set();_0x391ae8[_0x18e579(0x1c2)](_0x3bf3b3),this[_0x18e579(0x443)][_0x18e579(0x255)](_0x411488,_0x391ae8);}else{var _0x3500d3;this[_0x18e579(0x38b)][_0x18e579(0x494)](_0x90da86),(_0x3500d3=this['_formulaShapes'][_0x18e579(0x44d)](_0x411488))==null||_0x3500d3[_0x18e579(0x489)](_0x3bf3b3);}_0x3bf3b3[_0x18e579(0x43c)](_0x386f24?this[_0x18e579(0x38b)]['getPresentation'](_0x90da86):void 0x0,(_0x386f24==null?void 0x0:_0x386f24['animationEnabled'])!==!0x1);}[_0x229451(0x380)](_0x2090a8){const _0x2362e9=_0x229451;let _0x2d7f4b=_0x2090a8[_0x2362e9(0x38c)][_0x2362e9(0x361)](),_0x7310e0=_0x2d7f4b[_0x2362e9(0x2ce)];!_0x7310e0||_0x7310e0['fillType']!==_0x163f94[_0x2362e9(0x318)][_0x2362e9(0x43f)]||!_0x7310e0[_0x2362e9(0x304)]?_0x2090a8[_0x2362e9(0x18e)](void 0x0):this[_0x2362e9(0x392)](_0x2090a8,_0x2d7f4b);}[_0x229451(0x392)](_0x326142,_0x319819){const _0x297cdf=_0x229451;let _0x40332d=_0x319819[_0x297cdf(0x2ce)];if(!_0x40332d||_0x40332d['fillType']!==_0x163f94['ShapeFillEnum'][_0x297cdf(0x43f)]||!_0x40332d['fillImageSource'])return;let _0x32fc4e=_0x40332d[_0x297cdf(0x304)],_0x3decf9=_0x40332d[_0x297cdf(0x136)]??_0x163f94['ImageSourceTypeEnum'][_0x297cdf(0x23f)],_0x206cee=this['_imageIoService']['getImageSourceCache'](_0x32fc4e,_0x3decf9);if(_0x206cee)_0x326142[_0x297cdf(0x18e)](_0x206cee);else return this[_0x297cdf(0x241)](_0x326142,_0x32fc4e,_0x3decf9);}async[_0x229451(0x241)](_0x474223,_0x15269d,_0x548789){const _0x47d065=_0x229451;let _0x464d28;try{if(_0x548789===_0x163f94[_0x47d065(0x441)]['UUID'])_0x464d28=await this[_0x47d065(0x35f)]['getImage'](_0x15269d);else{if(_0x548789===_0x163f94[_0x47d065(0x441)][_0x47d065(0x23f)])try{_0x464d28=await this['_urlImageService'][_0x47d065(0x189)](_0x15269d);}catch{_0x464d28=_0x15269d;}else _0x464d28=_0x15269d;}}catch(_0x16456d){console[_0x47d065(0x467)](_0x47d065(0x266),_0x16456d);return;}await new Promise(_0x1807be=>{const _0x37673e=_0x47d065;let _0x491d70=new window['Image']();_0x491d70[_0x37673e(0x264)]=()=>{const _0x411c90=_0x37673e;this['_imageIoService'][_0x411c90(0x1d7)](_0x15269d,_0x548789,_0x491d70),_0x474223[_0x411c90(0x18e)](_0x491d70),_0x1807be();},_0x491d70[_0x37673e(0x1ab)]=()=>{const _0x15afbe=_0x37673e;console[_0x15afbe(0x467)](_0x15afbe(0x3c4),_0x15269d),_0x1807be();},_0x491d70[_0x37673e(0x3a2)]=_0x464d28;});}};_0x46b13f=_0x3f173a([_0x1c0f1c(0x0,_0x46a31d[_0x229451(0x309)]),_0x1c0f1c(0x1,(0x0,_0x4a54e1['Inject'])(_0x4d9a77[_0x229451(0x24a)])),_0x1c0f1c(0x2,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x4a54e1[_0x229451(0x1c1)])),_0x1c0f1c(0x3,_0x4a54e1[_0x229451(0x2ff)]),_0x1c0f1c(0x4,_0x4a54e1[_0x229451(0x226)]),_0x1c0f1c(0x5,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x3e01f8[_0x229451(0x31b)]))],_0x46b13f);let _0x51de41=class extends _0x4a54e1[_0x229451(0x2e0)]{constructor(_0x14247e,_0x50f810,_0x67d015,_0x36cb31,_0x1ea32c,_0x2a91f9){const _0x55ba7f=_0x229451;super(),this[_0x55ba7f(0x109)]=_0x14247e,this[_0x55ba7f(0x26a)]=_0x50f810,this['_renderManagerService']=_0x67d015,this[_0x55ba7f(0x22a)]=_0x36cb31,this[_0x55ba7f(0x473)]=_0x1ea32c,this[_0x55ba7f(0x25c)]=_0x2a91f9,_0x2624fb(this,'_activeShapeId',null),_0x2624fb(this,'_unitId',null),_0x2624fb(this,'_subUnitId',null),_0x2624fb(this,_0x55ba7f(0x1ca),void 0x0),_0x2624fb(this,'_shapes',[]),_0x2624fb(this,_0x55ba7f(0x1bc),0x0),_0x2624fb(this,_0x55ba7f(0x31e),0x0),_0x2624fb(this,_0x55ba7f(0x48e),0x0),_0x2624fb(this,_0x55ba7f(0x463),0x0),_0x2624fb(this,_0x55ba7f(0x21e),!0x1),_0x2624fb(this,'_activeAdjustInfo',void 0x0),_0x2624fb(this,'_activeShapeModel',void 0x0),_0x2624fb(this,_0x55ba7f(0x29d),void 0x0),_0x2624fb(this,_0x55ba7f(0xea),void 0x0),_0x2624fb(this,_0x55ba7f(0x4c1),!0x1),this['_registerDrawingFocusChangeHandler'](),this[_0x55ba7f(0x2e9)]();}['_getShapeAdjustPointListById'](_0x3c897a,_0x4f7088,_0xdec18b){let _0x5031fd=this['_sheetsShapeService']['getShapeModel'](_0x3c897a,_0x4f7088,_0xdec18b);if(_0x5031fd)return _0x5031fd['getDrawingPoints']();}[_0x229451(0x4a2)](){this['_clearShapeAdjustControls']();}[_0x229451(0x2b4)](){const _0x34286b=_0x229451;this[_0x34286b(0x297)](!0x0);}[_0x229451(0x41f)](_0x3f5691){const _0x48d234=_0x229451;this[_0x48d234(0x4c1)]=_0x3f5691;}['_getShapeAdjustInfosById'](_0x4c344f,_0x9d0757,_0x34cfa6,_0x2bf330){let _0x72b8bc=this['_sheetsShapeService']['getShapeModel'](_0x4c344f,_0x9d0757,_0x34cfa6);if(_0x72b8bc)return _0x72b8bc['getAdjustInfoByName'](_0x2bf330);}[_0x229451(0x1a3)](_0x2c885f=!0x1){const _0x52924a=_0x229451;if(this['_unitId']===null||this[_0x52924a(0x233)]===null||this['_activeShapeId']===null)return;let _0x318035=this[_0x52924a(0x3a6)][_0x52924a(0x4a9)](this[_0x52924a(0x1c9)]);if(!_0x318035||!_0x318035[_0x52924a(0x17e)](_0x1f919d[_0x52924a(0x319)])[_0x52924a(0xee)]())return;let {scene:_0xaa0cd7}=_0x318035,_0x228e66={'unitId':this['_unitId'],'subUnitId':this[_0x52924a(0x233)],'drawingId':this[_0x52924a(0x1ff)]},_0x3705ed=this[_0x52924a(0x109)][_0x52924a(0x364)](_0x228e66),{transform:_0x4b15fe}=_0x3705ed;if(!_0x4b15fe||_0x3705ed[_0x52924a(0x38d)]!==_0x4a54e1[_0x52924a(0x429)][_0x52924a(0x453)])return;let {left:_0x2014fa,top:_0x2c1ec8,width:_0x5e333a,height:_0x551e14,flipX:_0x1a09bd,flipY:_0x84be7b,angle:_0x1f45dd=0x0}=_0x4b15fe;if(_0x2014fa===void 0x0||_0x2c1ec8===void 0x0)return;if(_0x2c885f){let _0x42f68f=this['_sheetsShapeService'][_0x52924a(0x12f)](this[_0x52924a(0x1c9)],this['_subUnitId'],this[_0x52924a(0x1ff)]);_0x42f68f==null||_0x42f68f[_0x52924a(0x405)]({'width':_0x5e333a??0x0,'height':_0x551e14??0x0}),this[_0x52924a(0x1ca)]=_0x42f68f==null?void 0x0:_0x42f68f[_0x52924a(0x208)]();}let _0x5d040b=this['_activeShapeAdjustPointList'];for(let _0x3996f6=0x0;_0x3996f6<_0x5d040b[_0x52924a(0x31c)];_0x3996f6++){let _0x2c0785=_0x5d040b[_0x3996f6],_0x2807ef=_0x2c0785['x'],_0x874583=_0x2c0785['y'];if(_0x1a09bd&&(_0x2807ef=(_0x5e333a||0x0)-_0x2807ef),_0x84be7b&&(_0x874583=(_0x551e14||0x0)-_0x874583),_0x1f45dd!==0x0){let _0x204a91=(_0x5e333a||0x0)/0x2,_0x10d4ee=(_0x551e14||0x0)/0x2,_0x53f178=_0x1f45dd*Math['PI']/0xb4,_0x5a3127=Math[_0x52924a(0x168)](_0x53f178),_0x4bce15=Math['sin'](_0x53f178),_0x134245=_0x2807ef-_0x204a91,_0xa8bf3a=_0x874583-_0x10d4ee;_0x2807ef=_0x204a91+(_0x134245*_0x5a3127-_0xa8bf3a*_0x4bce15),_0x874583=_0x10d4ee+(_0x134245*_0x4bce15+_0xa8bf3a*_0x5a3127);}let _0x59ded7={'x':_0x2807ef,'y':_0x874583,'adjName':_0x2c0785['adjName']};this['_addShapeAdjustControl'](_0xaa0cd7,_0x59ded7,_0x59ded7['adjName'],_0x2014fa,_0x2c1ec8,this[_0x52924a(0x1c9)],this[_0x52924a(0x233)]);}}[_0x229451(0x297)](_0x450ae8=!0x1){_0x450ae8&&(this['_clearShapeAdjustControls'](),this['_createShapeAdjustControls'](_0x450ae8));}[_0x229451(0x185)](_0x53e17e,_0x191718,_0x377aab,_0x1c18e5,_0x1e39d5,_0x2388d1,_0x5424e6){const _0x19cdfc=_0x229451;if(!this['_activeShapeId'])return;let _0x1b6401=_0x53e17e[_0x19cdfc(0x105)]('shape-adjust-point-'+this[_0x19cdfc(0x1ff)]+'-'+_0x377aab);if(_0x1b6401){_0x1b6401[_0x19cdfc(0x145)]({'left':_0x191718['x']+_0x1c18e5-_0x163f94[_0x19cdfc(0x1fe)][_0x19cdfc(0x4b7)],'top':_0x191718['y']+_0x1e39d5-_0x163f94['ShapeDefaultConfig'][_0x19cdfc(0x4b7)]});return;}let _0x386273={'left':_0x191718['x']+_0x1c18e5-_0x163f94[_0x19cdfc(0x1fe)][_0x19cdfc(0x4b7)],'top':_0x191718['y']+_0x1e39d5-_0x163f94[_0x19cdfc(0x1fe)][_0x19cdfc(0x4b7)],'adjName':_0x377aab,'shapeId':this['_activeShapeId'],'unitId':_0x2388d1,'subUnitId':_0x5424e6,'width':_0x163f94[_0x19cdfc(0x1fe)]['adjHandleSize']+0x8,'height':_0x163f94['ShapeDefaultConfig'][_0x19cdfc(0x4b7)]+0x8,'zIndex':_0x163b80[_0x19cdfc(0x2fe)]+0x1,'evented':!0x0},_0x44dd8c=new _0x2a957f('shape-adjust-point-'+this[_0x19cdfc(0x1ff)]+'-'+_0x377aab,_0x386273);this[_0x19cdfc(0x3b1)][_0x19cdfc(0x31a)](_0x44dd8c),this[_0x19cdfc(0x4c4)](_0x44dd8c,_0x53e17e,_0x377aab),_0x53e17e['addObject'](_0x44dd8c,_0x163b80[_0x19cdfc(0x2fe)]+0x1);}[_0x229451(0x3c8)](){const _0x2e8645=_0x229451;this['_shapes'][_0x2e8645(0x31c)]!==0x0&&(this[_0x2e8645(0x3b1)][_0x2e8645(0x2e2)](_0x3de5b6=>{const _0xe478e5=_0x2e8645;_0x3de5b6[_0xe478e5(0x138)]();}),this[_0x2e8645(0x3b1)]=[]);}[_0x229451(0x100)](){this['_createShapeAdjustControls']();}[_0x229451(0x295)](_0x4e3444,_0x3f8ae8){const _0x1ad7e4=_0x229451;var _0x418af1;let _0x438315={'x':0x0,'y':0x0};if(!_0x4e3444||!_0x3f8ae8)return _0x438315;let _0x2625bd=this[_0x1ad7e4(0x3a6)][_0x1ad7e4(0x4a9)](_0x4e3444);if(!_0x2625bd||!_0x2625bd[_0x1ad7e4(0x17e)](_0x1f919d[_0x1ad7e4(0x319)])[_0x1ad7e4(0x3d8)](_0x3f8ae8))return _0x438315;let _0x1d2b09=_0x2625bd['with'](_0x1f919d[_0x1ad7e4(0x282)]),_0x36b507=_0x1d2b09==null?void 0x0:_0x1d2b09[_0x1ad7e4(0xfb)]();if(!_0x36b507)return _0x438315;let _0x543d5d=(_0x418af1=this['_univerInstanceService'][_0x1ad7e4(0x227)](_0x4e3444))==null?void 0x0:_0x418af1[_0x1ad7e4(0xe5)](_0x3f8ae8);if(!_0x543d5d)return _0x438315;let _0x2b1122=(0x0,_0x1f919d[_0x1ad7e4(0x3db)])(_0x36b507['sheetViewStartRow'],_0x36b507[_0x1ad7e4(0x13e)],_0x2625bd[_0x1ad7e4(0x2cc)],_0x543d5d);return _0x2b1122?{'x':_0x2b1122['viewportScrollX'],'y':_0x2b1122[_0x1ad7e4(0x3c7)]}:_0x438315;}[_0x229451(0x1f7)](_0x3177dc,_0xbd9000){const _0x12a22f=_0x229451;var _0x5cf560;let _0x19cc99=(_0x5cf560=this[_0x12a22f(0x473)][_0x12a22f(0x227)](_0x3177dc))==null?void 0x0:_0x5cf560[_0x12a22f(0xe5)](_0xbd9000);return(_0x19cc99==null?void 0x0:_0x19cc99[_0x12a22f(0x47a)]())??0x1;}[_0x229451(0x4c4)](_0x5255da,_0x10008c,_0x575675){const _0x1183fb=_0x229451;this['disposeWithMe']((0x0,_0x4a54e1[_0x1183fb(0x3f5)])(_0x5255da[_0x1183fb(0x3dd)]['subscribeEvent']((_0x277d23,_0x4821a5)=>{const _0x335e57=_0x1183fb;var _0x13771a,_0x7292e,_0x56cda1,_0x24ea47;let _0x5167db=_0x5255da['getDrawingSearch']();this['_activeAdjustInfo']=this[_0x335e57(0x1d5)](_0x5167db[_0x335e57(0x2d6)],_0x5167db[_0x335e57(0x2b1)],_0x5167db[_0x335e57(0x214)],_0x575675),this['_activeShapeModel']=this[_0x335e57(0x26a)]['getShapeModel'](_0x5167db[_0x335e57(0x2d6)],_0x5167db[_0x335e57(0x2b1)],_0x5167db[_0x335e57(0x214)]);let _0x5e1973=this['_drawingManagerService'][_0x335e57(0x364)]({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this[_0x335e57(0x1ff)]}),{transform:_0x3aa81b}=_0x5e1973;if(_0x3aa81b){let {left:_0x5d04c5,top:_0x18213e,width:_0x2730f4,height:_0x2dd48a}=_0x3aa81b;this[_0x335e57(0x1bc)]=_0x5d04c5||0x0,this[_0x335e57(0x31e)]=_0x18213e||0x0,this[_0x335e57(0x48e)]=_0x2730f4||0x0,this[_0x335e57(0x463)]=_0x2dd48a||0x0;}let _0xe8a209=!!((_0x13771a=_0x5e1973[_0x335e57(0x412)])!=null&&_0x13771a[_0x335e57(0x121)]),_0x39a226=!!((_0x7292e=_0x5e1973[_0x335e57(0x412)])!=null&&_0x7292e[_0x335e57(0x335)]),_0x23ca30=((_0x56cda1=_0x5e1973[_0x335e57(0x412)])==null?void 0x0:_0x56cda1[_0x335e57(0x1b7)])||0x0;this[_0x335e57(0x21e)]=!0x0,_0x10008c[_0x335e57(0x38f)]();let _0x1b6dd4={...((_0x24ea47=this[_0x335e57(0x16b)])==null?void 0x0:_0x24ea47[_0x335e57(0x209)])??{}};this[_0x335e57(0x29d)]=_0x10008c[_0x335e57(0xf8)][_0x335e57(0x14d)]((_0x49544d,_0x23ff25)=>{const _0x208a9e=_0x335e57;if(!this[_0x208a9e(0x21e)])return;let {offsetX:_0x369233,offsetY:_0x1bbfa1}=_0x49544d,_0x5a0b8c=this[_0x208a9e(0x16b)];if(this[_0x208a9e(0x45e)]&&_0x5a0b8c){_0x10008c[_0x208a9e(0x38f)](),_0x10008c[_0x208a9e(0x332)](_0x163b80['CURSOR_TYPE']['CROSSHAIR']);let _0x15875c={'left':0x0,'top':0x0,'width':this['_baseShapeWidth'],'height':this[_0x208a9e(0x463)]},_0xbe1d42=this[_0x208a9e(0x295)](this[_0x208a9e(0x1c9)],this['_subUnitId']),_0x55faf8=this[_0x208a9e(0x1f7)](this[_0x208a9e(0x1c9)],this[_0x208a9e(0x233)]),_0xd7b258=_0x369233/_0x55faf8+_0xbe1d42['x']-this[_0x208a9e(0x1bc)],_0x19242b=_0x1bbfa1/_0x55faf8+_0xbe1d42['y']-this[_0x208a9e(0x31e)];if(_0x23ca30!==0x0){let _0x46480f=this['_baseShapeWidth']/0x2,_0x1726d6=this[_0x208a9e(0x463)]/0x2,_0x48619b=_0x23ca30*Math['PI']/0xb4,_0x344e2c=Math['cos'](_0x48619b),_0x45e523=Math[_0x208a9e(0x22d)](_0x48619b),_0xd4e9e6=_0xd7b258-_0x46480f,_0x84b75c=_0x19242b-_0x1726d6;_0xd7b258=_0x46480f+(_0xd4e9e6*_0x344e2c+_0x84b75c*_0x45e523),_0x19242b=_0x1726d6+(-_0xd4e9e6*_0x45e523+_0x84b75c*_0x344e2c);}_0xe8a209&&(_0xd7b258=this[_0x208a9e(0x48e)]-_0xd7b258),_0x39a226&&(_0x19242b=this[_0x208a9e(0x463)]-_0x19242b);let _0x40650b={'x':_0xd7b258,'y':_0x19242b},_0x1bde13=this[_0x208a9e(0x45e)][_0x208a9e(0x1a5)](_0x15875c,_0x40650b,_0x5a0b8c,_0xe8a209,_0x39a226);if(Object['keys'](_0x1bde13)[_0x208a9e(0x31c)]===0x0)return;for(let [_0x167c8f,_0x3d9ca9]of Object[_0x208a9e(0x1bb)](_0x1bde13))this[_0x208a9e(0x45e)][_0x208a9e(0x1e9)](_0x167c8f,_0x3d9ca9);this[_0x208a9e(0x45e)]['updateContext']({'width':this[_0x208a9e(0x48e)],'height':this[_0x208a9e(0x463)]});let _0x228680=this['_drawingManagerService'][_0x208a9e(0x364)]({'unitId':_0x5167db['unitId'],'subUnitId':_0x5167db[_0x208a9e(0x2b1)],'drawingId':_0x5167db[_0x208a9e(0x214)]});_0x228680&&(this[_0x208a9e(0x22a)][_0x208a9e(0x129)](_0x228680,_0x10008c),this['_activeShapeAdjustPointList']=this[_0x208a9e(0x118)](_0x5167db[_0x208a9e(0x2d6)],_0x5167db[_0x208a9e(0x2b1)],_0x5167db['drawingId']),this[_0x208a9e(0x100)]());}_0x23ff25[_0x208a9e(0x34d)]();}),this['_adjHandlerPointerUp']=_0x10008c['onPointerUp$']['subscribeEvent']((_0x3c2707,_0x1b0281)=>{const _0x5bfd05=_0x335e57;this[_0x5bfd05(0x29d)][_0x5bfd05(0x48a)](),this['_adjHandlerPointerUp'][_0x5bfd05(0x48a)](),_0x10008c['resetCursor']();let _0x564410=this['_activeAdjustInfo'];if(_0x564410){let _0x2a7a29=_0x5167db['unitId'],_0x396781=_0x5167db['subUnitId'],_0x428764=_0x5167db[_0x5bfd05(0x214)],_0x374426={};for(let _0x4c1109 of Object[_0x5bfd05(0x385)](_0x564410[_0x5bfd05(0x209)])){var _0x3b53a2;let _0x2eddac=(_0x3b53a2=this[_0x5bfd05(0x45e)])==null?void 0x0:_0x3b53a2[_0x5bfd05(0x472)](_0x4c1109);_0x2eddac!==void 0x0&&(_0x374426[_0x4c1109]=_0x2eddac);}Object[_0x5bfd05(0x385)](_0x374426)['length']>0x0&&_0x28480e(this[_0x5bfd05(0x25c)],_0x2a7a29,_0x396781,_0x428764,{'oldShapeData':{'adjustValues':_0x1b6dd4}},{'adjustValues':_0x374426});}this[_0x5bfd05(0x16b)]=void 0x0,this[_0x5bfd05(0x45e)]=void 0x0,this[_0x5bfd05(0x21e)]=!0x1,_0x1b0281[_0x5bfd05(0x34d)](),_0x10008c[_0x5bfd05(0x44e)]();}),_0x4821a5[_0x335e57(0x34d)]();})));}['_registerDrawingMoveHandler'](){const _0x26c669=_0x229451;let _0x355b71=this[_0x26c669(0x473)][_0x26c669(0x154)](_0x4a54e1[_0x26c669(0x1c7)][_0x26c669(0x3f4)]);this[_0x26c669(0x223)](_0x355b71[_0x26c669(0x1f3)]((0x0,_0x393422[_0x26c669(0x3c0)])(_0x2fb33f=>_0x2fb33f?_0x2fb33f[_0x26c669(0x2e6)][_0x26c669(0x1f3)]((0x0,_0x393422['switchMap'])(_0xb37151=>{const _0xb0373=_0x26c669;if(!_0xb37151)return _0x393422['EMPTY'];let _0x21f35e=_0x2fb33f[_0xb0373(0x158)](),_0x35bb7c=this[_0xb0373(0x3a6)][_0xb0373(0x4a9)](_0x21f35e),_0x3e7553=_0x35bb7c==null?void 0x0:_0x35bb7c[_0xb0373(0x2cc)];return _0x3e7553?(0x0,_0x393422['of'])(_0x3e7553):_0x393422['EMPTY'];})):_0x393422[_0x26c669(0x133)]))['subscribe'](_0x393e5c=>{const _0x3a914e=_0x26c669;let _0x3d19d4=_0x393e5c[_0x3a914e(0x2e4)]();this[_0x3a914e(0x223)](_0x393e5c[_0x3a914e(0xf8)][_0x3a914e(0x14d)](()=>{const _0x3f07c3=_0x3a914e;this[_0x3f07c3(0x4c1)];})),this[_0x3a914e(0x223)](_0x3d19d4[_0x3a914e(0x1c3)][_0x3a914e(0x3ae)](_0x26e834=>{const _0x220162=_0x3a914e;let {objects:_0x1a5c36}=_0x26e834;this[_0x220162(0x1a3)](),_0x1a5c36!==null&&_0x1a5c36[_0x220162(0x4ce)]===0x1&&_0x1a5c36['values']()[_0x220162(0x2f2)]()[_0x220162(0x4c6)]instanceof _0x229110&&this[_0x220162(0x41f)](!0x0);})),this[_0x3a914e(0x223)](_0x3d19d4[_0x3a914e(0x19f)]['subscribe'](()=>{const _0x605f7=_0x3a914e;this['_isShouldShowDrawingShapeAdjust']&&this[_0x605f7(0x3c8)]();})),this['disposeWithMe'](_0x393e5c[_0x3a914e(0x46f)][_0x3a914e(0x14d)](()=>{const _0xdd96c2=_0x3a914e;this[_0xdd96c2(0x4c1)]&&(this['setShouldShowAdjust'](!0x1),this[_0xdd96c2(0x1a3)]());})),this['disposeWithMe'](_0x3d19d4[_0x3a914e(0x17c)][_0x3a914e(0x3ae)](()=>{const _0x1cade5=_0x3a914e;this[_0x1cade5(0x1c9)]&&this[_0x1cade5(0x233)]&&this[_0x1cade5(0x1ff)]&&this[_0x1cade5(0x109)][_0x1cade5(0x364)]({'unitId':this['_unitId'],'subUnitId':this[_0x1cade5(0x233)],'drawingId':this[_0x1cade5(0x1ff)]})&&(this[_0x1cade5(0x1ca)]=this[_0x1cade5(0x118)](this[_0x1cade5(0x1c9)],this[_0x1cade5(0x233)],this[_0x1cade5(0x1ff)]),this[_0x1cade5(0x100)]());}));}));}[_0x229451(0xf1)](){const _0x1f146a=_0x229451;this[_0x1f146a(0x223)](this['_commandService'][_0x1f146a(0x367)](_0x1c25e7=>{const _0x5cabc6=_0x1f146a;if(_0x1c25e7['id']!==_0x4d9a77[_0x5cabc6(0x3ee)]['id'])return;let {unitId:_0x108a17,subUnitId:_0x2bba56,shapeId:_0x4e48a3}=_0x1c25e7[_0x5cabc6(0x112)];_0x108a17===this[_0x5cabc6(0x1c9)]&&_0x2bba56===this[_0x5cabc6(0x233)]&&_0x4e48a3===this[_0x5cabc6(0x1ff)]&&this[_0x5cabc6(0x2b4)]();})),this[_0x1f146a(0x223)](this[_0x1f146a(0x109)][_0x1f146a(0xef)][_0x1f146a(0x3ae)](_0x1349bd=>{const _0x2eee05=_0x1f146a;if(_0x1349bd[_0x2eee05(0x31c)]===0x1){let _0xb9947a=_0x1349bd[0x0];if(_0xb9947a[_0x2eee05(0x38d)]===_0x4a54e1[_0x2eee05(0x429)]['DRAWING_SHAPE']&&this[_0x2eee05(0x473)][_0x2eee05(0x466)](_0xb9947a[_0x2eee05(0x2d6)])===_0x4a54e1[_0x2eee05(0x1c7)]['UNIVER_SHEET']){this['_activeShapeId']=_0xb9947a[_0x2eee05(0x214)];let {unitId:_0x3ef325,subUnitId:_0x28452d}=_0xb9947a;this['_activeShapeAdjustPointList']=this[_0x2eee05(0x118)](_0x3ef325,_0x28452d,this[_0x2eee05(0x1ff)]),this[_0x2eee05(0x1c9)]=_0x3ef325,this['_subUnitId']=_0x28452d,this[_0x2eee05(0x3c8)](),this['_createShapeAdjustControls']();return;}}this[_0x2eee05(0x1ff)]=null,this[_0x2eee05(0x1ca)]=void 0x0,this[_0x2eee05(0x1c9)]=null,this['_subUnitId']=null,this[_0x2eee05(0x3c8)]();})),this[_0x1f146a(0x223)](this[_0x1f146a(0x109)][_0x1f146a(0x3b8)][_0x1f146a(0x3ae)](_0x2cbbb3=>{const _0x2997b7=_0x1f146a;if(_0x2cbbb3[_0x2997b7(0x31c)]===0x1){var _0x54e23d;let _0x1deb84=_0x2cbbb3[0x0];((_0x54e23d=this[_0x2997b7(0x109)][_0x2997b7(0x364)](_0x1deb84))==null?void 0x0:_0x54e23d[_0x2997b7(0x38d)])===_0x4a54e1[_0x2997b7(0x429)][_0x2997b7(0x453)]&&this['_updateShapeAdjustControls'](!0x0);}})),this[_0x1f146a(0x223)](this[_0x1f146a(0x109)][_0x1f146a(0x1bf)][_0x1f146a(0x3ae)](_0x4fa11b=>{const _0x11ff13=_0x1f146a;for(let _0x472f36 of _0x4fa11b)this[_0x11ff13(0x1ff)]===_0x472f36[_0x11ff13(0x214)]&&(this[_0x11ff13(0x1ff)]=null,this[_0x11ff13(0x1ca)]=void 0x0,this[_0x11ff13(0x1c9)]=null,this[_0x11ff13(0x233)]=null,this['_clearShapeAdjustControls']());}));}};_0x51de41=_0x3f173a([_0x1c0f1c(0x0,_0x46a31d[_0x229451(0x309)]),_0x1c0f1c(0x1,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x4d9a77[_0x229451(0x24a)])),_0x1c0f1c(0x2,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x163b80[_0x229451(0x3fd)])),_0x1c0f1c(0x3,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x46b13f)),_0x1c0f1c(0x4,_0x4a54e1['IUniverInstanceService']),_0x1c0f1c(0x5,_0x4a54e1['ICommandService'])],_0x51de41);let _0x4cd6f0={'id':_0x229451(0x4aa),'type':_0x4a54e1[_0x229451(0x205)][_0x229451(0xf4)],'handler':(_0x22f873,_0x26fc33)=>{const _0x5ade02=_0x229451;let _0x333049=_0x22f873[_0x5ade02(0x44d)](_0x46a31d['IDrawingManagerService']),_0x2062cf=_0x22f873[_0x5ade02(0x44d)](_0x163b80[_0x5ade02(0x3fd)]),_0x687c71=_0x22f873['get'](_0x51de41);if(_0x26fc33==null)return!0x0;if(_0x26fc33['length']>0x0){var _0x2dad65;let _0x3fba12=(_0x2dad65=_0x2062cf['getRenderUnitById'](_0x26fc33[0x0][_0x5ade02(0x2d6)]))==null?void 0x0:_0x2dad65[_0x5ade02(0x2cc)];if(_0x3fba12){let {unitId:_0x564a82,subUnitId:_0x2ebfde,drawingId:_0x1a0c62}=_0x26fc33[0x0],_0x22a4a0=(0x0,_0x46a31d['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x564a82,'subUnitId':_0x2ebfde,'drawingId':_0x1a0c62},void 0x0),_0x595d5c=_0x3fba12['getObjectIncludeInGroup'](_0x22a4a0);if(_0x595d5c){var _0x3aa48d;(_0x3aa48d=_0x2062cf[_0x5ade02(0x4a9)](_0x26fc33[0x0][_0x5ade02(0x2d6)]))==null||(_0x3aa48d=_0x3aa48d[_0x5ade02(0x2cc)]['getTransformer']())==null||_0x3aa48d[_0x5ade02(0x1e3)](_0x595d5c);}}_0x333049['focusDrawing'](_0x26fc33),_0x687c71['setShouldShowAdjust'](!0x1);}return!0x0;}},_0x197b3e={'type':_0x4a54e1[_0x229451(0x205)]['COMMAND'],'id':_0x229451(0x4d2),'handler':async(_0x5df8d0,_0x76f3ed)=>{const _0x5101f1=_0x229451;let _0x5792e4=(0x0,_0x517d2f['getSheetCommandTarget'])(_0x5df8d0[_0x5101f1(0x44d)](_0x4a54e1[_0x5101f1(0x49d)]));if(!_0x5792e4)return!0x1;let _0x38f141=_0x5df8d0['get'](_0x517d2f[_0x5101f1(0x359)])[_0x5101f1(0x148)]();if(!_0x38f141)return!0x1;let _0x3f5646=_0x5df8d0[_0x5101f1(0x44d)](_0x4a54e1[_0x5101f1(0x440)]),{unitId:_0x4acff9,subUnitId:_0x5a7dde}=_0x5792e4,{value:_0x166323,enhanceParams:_0x2f3866}=_0x76f3ed,{range:_0x4f97f0}=_0x38f141,_0x5bbb05={'unitId':_0x4acff9,'subUnitId':_0x5a7dde,'shapeType':_0x166323,'range':_0x4f97f0,'shapeId':(0x0,_0x4a54e1[_0x5101f1(0x230)])()};if(_0x2f3866){let _0x1f2571=(0x0,_0x163f94[_0x5101f1(0x28e)])(_0x166323),_0x262bc6=_0x166323===_0x163f94[_0x5101f1(0x2ae)][_0x5101f1(0xe7)];_0x1f2571&&(_0x2f3866[_0x5101f1(0x47b)]||_0x2f3866['endArrow'])&&(_0x5bbb05[_0x5101f1(0x36e)]={'ln':{'startArrow':_0x2f3866[_0x5101f1(0x47b)]?{'type':_0x163f94[_0x5101f1(0x10e)][_0x5101f1(0xed)],'size':_0x163f94[_0x5101f1(0x313)]['Medium']}:void 0x0,'endArrow':_0x2f3866[_0x5101f1(0x221)]?{'type':_0x163f94[_0x5101f1(0x10e)][_0x5101f1(0xed)],'size':_0x163f94[_0x5101f1(0x313)][_0x5101f1(0x26d)]}:void 0x0}}),_0x262bc6&&(_0x2f3866[_0x5101f1(0x395)]||_0x2f3866[_0x5101f1(0x101)])&&(_0x5bbb05[_0x5101f1(0x36e)]=(0x0,_0x3e01f8['createShapeTextBoxShapeData'])({'fill':{'fillType':_0x163f94['ShapeFillEnum'][_0x5101f1(0x40a)],'color':_0x5101f1(0x4dd)},'isHorizontal':!!_0x2f3866['horizontal'],'stroke':{'lineStrokeType':_0x163f94[_0x5101f1(0x286)][_0x5101f1(0x37e)],'width':0x1,'color':'#bcbcbc'}}));}let _0x56dc45=_0x3f5646[_0x5101f1(0x414)](_0x4d9a77[_0x5101f1(0x490)]['id'],_0x5bbb05);return setTimeout(()=>{const _0x40c108=_0x5101f1;_0x3f5646[_0x40c108(0x22f)](_0x4cd6f0['id'],[{'unitId':_0x4acff9,'subUnitId':_0x5a7dde,'drawingId':_0x5bbb05[_0x40c108(0x4a7)]}]);},0xc8),_0x56dc45;}},_0x3295b7=_0x229451(0x275),_0x3fbbc0=_0x229451(0x4ba),_0x4f01dc='sheet.shape.floating-toolbar',_0x15e36c=_0x229451(0x10b),_0x5adf59=(0x0,_0x4a54e1['createInternalEditorID'])('SHAPE_TEXT'),_0x4863f3=_0x229451(0x143),_0x503851={'id':'sheet.operation.open-shape-object-list-panel','type':_0x4a54e1[_0x229451(0x205)][_0x229451(0x4af)],'handler':(_0x2bce63,_0xbbaf8b)=>{const _0x3fad30=_0x229451;let _0x1088dd=_0x2bce63['get'](_0x45c65a[_0x3fad30(0x1a9)]),_0x12a8d1=_0x2bce63['get'](_0x4a54e1[_0x3fad30(0x1c1)]),_0x5c26c8=_0x2bce63[_0x3fad30(0x44d)](_0x4a54e1[_0x3fad30(0x49d)]),_0x460a5f=_0x2bce63['get'](_0x4a54e1[_0x3fad30(0x440)]);return(0x0,_0x517d2f[_0x3fad30(0x291)])(_0x5c26c8)?(_0xbbaf8b==null?void 0x0:_0xbbaf8b[_0x3fad30(0x4c6)])===_0x3fad30(0x372)?(_0x1088dd[_0x3fad30(0x372)](_0x3fbbc0),!0x0):(_0x1088dd[_0x3fad30(0xf0)]({'id':_0x3fbbc0,'header':{'title':_0x12a8d1['t'](_0x3fad30(0x123))},'children':{'label':_0x3fbbc0},'onClose':()=>{const _0x3574ae=_0x3fad30;_0x460a5f[_0x3574ae(0x414)](_0x46a31d[_0x3574ae(0x20b)]['id'],[]);},'width':0x168}),!0x0):!0x1;}},_0x37c60f={'type':_0x4a54e1['CommandType'][_0x229451(0xf4)],'id':_0x229451(0x480),'handler'(){return!0x0;}};function _0x441bfa(_0x403790){const _0x4435a0=_0x229451;let _0x210a71=_0x403790[_0x4435a0(0x44d)](_0x46a31d[_0x4435a0(0x309)])['getFocusDrawings'](),_0x2d2b09=_0x210a71['length']===0x1?_0x210a71[0x0]:null;if(!_0x2d2b09||_0x2d2b09[_0x4435a0(0x38d)]!==_0x4a54e1[_0x4435a0(0x429)]['DRAWING_SHAPE'])return null;let _0x2c26d4=_0x403790[_0x4435a0(0x44d)](_0x4d9a77[_0x4435a0(0x24a)]),_0x2ffb01=_0x2c26d4[_0x4435a0(0x253)](_0x2d2b09[_0x4435a0(0x2d6)],_0x2d2b09['subUnitId'],_0x2d2b09['drawingId']),_0x30e22c=_0x2c26d4['getShapeDataById'](_0x2d2b09[_0x4435a0(0x2d6)],_0x2d2b09['subUnitId'],_0x2d2b09[_0x4435a0(0x214)]);return _0x2ffb01===void 0x0||!_0x30e22c?null:{'drawing':_0x2d2b09,'shapeData':_0x30e22c,'shapeType':_0x2ffb01};}let _0x4d19d8={'id':'sheet.operation.apply-shape-quick-style','type':_0x4a54e1[_0x229451(0x205)][_0x229451(0xf4)],'handler':(_0x2a4e63,_0x37915a)=>{const _0x335b8a=_0x229451;let _0x79d09f=_0x441bfa(_0x2a4e63),_0x2d38a1=(0x0,_0x3e01f8[_0x335b8a(0x1f1)])((_0x37915a==null?void 0x0:_0x37915a[_0x335b8a(0x4a5)])??(_0x37915a==null?void 0x0:_0x37915a[_0x335b8a(0x4c6)])??'');if(!_0x79d09f||!_0x2d38a1||_0x2d38a1[_0x335b8a(0x41e)]!==(0x0,_0x3e01f8[_0x335b8a(0x190)])(_0x79d09f['shapeData']))return!0x1;let _0xb4b084=(0x0,_0x3e01f8['applyQuickStyleToShapeData'])(_0x79d09f[_0x335b8a(0x36e)],_0x2d38a1);if(!_0xb4b084)return!0x1;let {drawing:_0x134969}=_0x79d09f;return _0x2a4e63[_0x335b8a(0x44d)](_0x4a54e1[_0x335b8a(0x440)])[_0x335b8a(0x22f)](_0x58f758['id'],{'unitId':_0x134969[_0x335b8a(0x2d6)],'subUnitId':_0x134969['subUnitId'],'shapeId':_0x134969[_0x335b8a(0x214)],'shapeData':_0xb4b084,'oldShapeJSON':{'oldShapeData':_0x79d09f[_0x335b8a(0x36e)]}});}},_0x533335={'id':_0x229451(0x195),'type':_0x4a54e1[_0x229451(0x205)][_0x229451(0xf4)],'handler':(_0x4c9669,_0x25de72)=>{const _0x1c9f34=_0x229451;let _0x26d8be=_0x441bfa(_0x4c9669),_0x501c28=(_0x25de72==null?void 0x0:_0x25de72[_0x1c9f34(0x10f)])??(_0x25de72==null?void 0x0:_0x25de72[_0x1c9f34(0x4c6)]);if(!_0x26d8be||!_0x501c28||(0x0,_0x163f94[_0x1c9f34(0x28e)])(_0x26d8be[_0x1c9f34(0x10f)])||(0x0,_0x163f94[_0x1c9f34(0x28e)])(_0x501c28))return!0x1;let _0x55355e=(0x0,_0x3e01f8[_0x1c9f34(0x43a)])(_0x26d8be[_0x1c9f34(0x36e)],_0x501c28);if(!_0x55355e)return!0x1;let {drawing:_0x1275b3}=_0x26d8be;return _0x4c9669['get'](_0x4a54e1[_0x1c9f34(0x440)])[_0x1c9f34(0x22f)](_0x58f758['id'],{'unitId':_0x1275b3[_0x1c9f34(0x2d6)],'subUnitId':_0x1275b3[_0x1c9f34(0x2b1)],'shapeId':_0x1275b3[_0x1c9f34(0x214)],'shapeType':_0x501c28,'shapeData':_0x55355e,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x26d8be['shapeType'],'oldShapeData':_0x26d8be[_0x1c9f34(0x36e)]}});}},_0x5ad6df=class extends _0x4a54e1[_0x229451(0x2e0)]{constructor(_0x1c1bdd,_0x336205){const _0x598d57=_0x229451;super(),this[_0x598d57(0x27f)]=_0x1c1bdd,this[_0x598d57(0x109)]=_0x336205,this[_0x598d57(0x2f5)](),this['_clipService'][_0x598d57(0x350)](!0x0),this[_0x598d57(0x223)]({'dispose':()=>this[_0x598d57(0x27f)][_0x598d57(0x350)](!0x1)});}['_registerImageShapeClipDelegate'](){const _0x2ac211=_0x229451;let _0x3d5f5b=this[_0x2ac211(0x27f)],_0x136ccb=new Map(),_0x3ee6c5=_0x3d5f5b[_0x2ac211(0x3a9)]((_0x17a786,_0x2f291d,_0x172cc2,_0x26e48d,_0x3ce222)=>{const _0x3d2e1c=_0x2ac211;let _0x261848=_0x2f291d;if(_0x261848===_0x163f94['ShapeTypeEnum'][_0x3d2e1c(0x2cd)]||_0x2f291d==='custom')return!0x1;try{let _0x164e6e=_0x136ccb[_0x3d2e1c(0x44d)](_0x2f291d);return _0x164e6e||(_0x164e6e=new _0x163f94[(_0x3d2e1c(0x2f3))](_0x261848,_0x3d2e1c(0x127)+_0x2f291d),_0x136ccb[_0x3d2e1c(0x255)](_0x2f291d,_0x164e6e)),_0x164e6e[_0x3d2e1c(0x366)](),_0x3ce222&&Object[_0x3d2e1c(0x385)](_0x3ce222)[_0x3d2e1c(0x31c)]>0x0&&_0x164e6e[_0x3d2e1c(0x46d)]({'adjustValues':_0x3ce222},!0x0),_0x164e6e['updateContext']({'width':_0x172cc2,'height':_0x26e48d}),_0x164e6e[_0x3d2e1c(0x3a0)](_0x17a786,{'left':0x0,'top':0x0,'width':_0x172cc2,'height':_0x26e48d});}catch{return!0x1;}});this[_0x2ac211(0x223)](_0x3ee6c5),this['disposeWithMe']({'dispose':()=>_0x136ccb['clear']()});}['clipByShape'](_0x1b86be,_0x47ebd6,_0x21d045,_0x41079e,_0x43dbaa){const _0x439460=_0x229451;let _0x25f94d=this[_0x439460(0x109)][_0x439460(0x1f9)](_0x1b86be,_0x47ebd6);if(!_0x25f94d[_0x21d045])return;let _0x184d41={..._0x25f94d[_0x21d045],'prstGeom':_0x41079e,'adjustValues':_0x43dbaa};this[_0x439460(0x109)][_0x439460(0x34c)]([_0x184d41]);}};_0x5ad6df=_0x3f173a([_0x1c0f1c(0x0,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x359560['DrawingImageClipService'])),_0x1c0f1c(0x1,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x46a31d['IDrawingManagerService']))],_0x5ad6df);let _0x8f21ab=_0x229451(0x141),_0x10d02c='sheet.image-clip.shape-picker.component';function _0x4878a7({onShapeClick:_0x68a0aa,excludeGroups:_0x3856ea}){const _0x3a34cc=_0x229451;return(0x0,_0x5818ca['jsx'])(_0x478c88[_0x3a34cc(0x30e)],{'excludeGroups':_0x3856ea,'onShapeClick':_0x68a0aa,'scrollContainer':_0x3a34cc(0x28f)});}function _0x5a1915(){const _0x3ad268=_0x229451;let _0x503011=(0x0,_0x45c65a[_0x3ad268(0x1d6)])(_0x46a31d[_0x3ad268(0x309)]),_0x1a164e=(0x0,_0x45c65a['useDependency'])(_0x5ad6df);return(0x0,_0x5818ca[_0x3ad268(0x1c0)])(_0x478c88[_0x3ad268(0x19a)],{'buttonLabel':_0x3ad268(0xeb),'excludeGroups':[_0x478c88[_0x3ad268(0x30a)][_0x3ad268(0x3bb)]],'onShapeClick':_0x3f5370=>{const _0x39868b=_0x3ad268;let _0xa45d52=_0x503011['getFocusDrawings']()[_0x39868b(0x1aa)](_0x1c2a11=>_0x1c2a11[_0x39868b(0x38d)]===_0x4a54e1['DrawingTypeEnum']['DRAWING_IMAGE']);if(!_0xa45d52)return;let {unitId:_0x478d5a,subUnitId:_0x186d0a,drawingId:_0x353c67}=_0xa45d52;_0x1a164e[_0x39868b(0x1f4)](_0x478d5a,_0x186d0a,_0x353c67,_0x3f5370[_0x39868b(0x41e)]);}});}function _0x5da34d(){const _0x321f3e=_0x229451;let _0x122e9c=(0x0,_0x45c65a[_0x321f3e(0x1d6)])(_0x46a31d['IDrawingManagerService']),_0x4da238=(0x0,_0x45c65a[_0x321f3e(0x1d6)])(_0x5ad6df);return(0x0,_0x5818ca[_0x321f3e(0x1c0)])(_0x478c88[_0x321f3e(0x19a)],{'buttonLabel':_0x321f3e(0xeb),'excludeGroups':[_0x478c88[_0x321f3e(0x30a)][_0x321f3e(0x3bb)]],'DropdownComponent':_0x4a79ba[_0x321f3e(0x32a)],'onShapeClick':_0x251179=>{const _0x3acb1d=_0x321f3e;let _0x4bb5de=_0x122e9c[_0x3acb1d(0x382)]()[_0x3acb1d(0x1aa)](_0x4a67bc=>_0x4a67bc[_0x3acb1d(0x38d)]===_0x4a54e1[_0x3acb1d(0x429)][_0x3acb1d(0x1b0)]);if(!_0x4bb5de)return;let {unitId:_0x3fb101,subUnitId:_0x4913a2,drawingId:_0x291d26}=_0x4bb5de;_0x4da238[_0x3acb1d(0x1f4)](_0x3fb101,_0x4913a2,_0x291d26,_0x251179['type']);}});}function _0x2f4b88(){const _0x18d282=_0x229451;let _0xaf58f3=(0x0,_0x45c65a[_0x18d282(0x1d6)])(_0x45c65a[_0x18d282(0x27e)]),_0x4b2546=(0x0,_0x45c65a['useDependency'])(_0x46a31d['IDrawingManagerService']),_0x35c926=(0x0,_0x45c65a['useDependency'])(_0x4a54e1['IUniverInstanceService']),_0x21eb6e=_0x4b2546[_0x18d282(0x382)]()[0x0],_0x38e846=_0x21eb6e?_0x35c926[_0x18d282(0x466)](_0x21eb6e[_0x18d282(0x2d6)]):void 0x0,_0x366bf6=_0x38e846===_0x4a54e1[_0x18d282(0x1c7)]['UNIVER_DOC']?_0x18d282(0x455):_0x38e846===_0x4a54e1[_0x18d282(0x1c7)]['UNIVER_SHEET']?_0x10d02c:void 0x0,_0x2fd022=_0x366bf6?_0xaf58f3[_0x18d282(0x44d)](_0x366bf6):void 0x0;return _0x2fd022?(0x0,_0x5818ca[_0x18d282(0x1c0)])(_0x2fd022,{}):null;}function _0x8245e9(){const _0x4ee73c=_0x229451;let _0x50eaa0=(0x0,_0x45c65a['useDependency'])(_0x4a54e1['ICommandService']);return(0x0,_0x5818ca[_0x4ee73c(0x1c0)])(_0x4878a7,{'onShapeClick':_0x3a28e0=>{const _0x1f5400=_0x4ee73c;_0x50eaa0[_0x1f5400(0x22f)](_0x197b3e['id'],{'value':_0x3a28e0['type'],'enhanceParams':{'endArrow':_0x3a28e0[_0x1f5400(0x221)],'startArrow':_0x3a28e0['startArrow'],'horizontal':_0x3a28e0['horizontal'],'vertical':_0x3a28e0['vertical']}});}});}function _0x284948(){const _0x326f51=_0x229451;return(0x0,_0x5818ca[_0x326f51(0x1c0)])(_0x8245e9,{});}function _0x6edd84(_0x25f290){const _0x11f1cc=_0x229451;let _0x261e54=_0x25f290[_0x11f1cc(0x44d)](_0x4a54e1[_0x11f1cc(0x49d)]);return{'id':_0x197b3e['id'],'type':_0x45c65a[_0x11f1cc(0x477)]['SELECTOR'],'selections':[{'label':{'name':_0x8f21ab,'hoverable':!0x1,'selectable':!0x1,'props':{'id':_0x197b3e['id']}}}],'icon':_0x11f1cc(0x333),'tooltip':_0x11f1cc(0x322),'activated$':(0x0,_0x1f919d[_0x11f1cc(0x279)])(_0x261e54,!0x1,()=>new _0x393422[(_0x11f1cc(0x3e7))](_0x42858b=>{const _0xe5f1e2=_0x11f1cc;_0x42858b[_0xe5f1e2(0x2f2)](!0x1);})),'hidden$':(0x0,_0x45c65a[_0x11f1cc(0x270)])(_0x25f290,_0x4a54e1[_0x11f1cc(0x1c7)]['UNIVER_SHEET']),'disabled$':(0x0,_0x1f919d[_0x11f1cc(0x28a)])(_0x25f290)};}function _0x299f5e(_0x1b25ec){const _0xb0f29b=_0x229451;let _0x32b8db=_0x1b25ec[_0xb0f29b(0x44d)](_0x4a54e1[_0xb0f29b(0x49d)]);return{'id':_0x503851['id'],'type':_0x45c65a[_0xb0f29b(0x477)][_0xb0f29b(0x360)],'icon':'ObjectLayersIcon','title':'sheets-shape-ui.objectListPanel.open','tooltip':_0xb0f29b(0x2ec),'activated$':(0x0,_0x1f919d[_0xb0f29b(0x279)])(_0x32b8db,!0x1,()=>new _0x393422[(_0xb0f29b(0x3e7))](_0x13f099=>{_0x13f099['next'](!0x1);})),'hidden$':(0x0,_0x45c65a[_0xb0f29b(0x270)])(_0x1b25ec,_0x4a54e1[_0xb0f29b(0x1c7)][_0xb0f29b(0x3f4)]),'disabled$':(0x0,_0x1f919d[_0xb0f29b(0x28a)])(_0x1b25ec)};}let _0x3aced8=_0x229451(0x433),_0x17d818=_0x229451(0x3d7);function _0x22b4e6(_0x7ad62d){const _0x2fdcf6=_0x229451;let _0x453b9b=_0x7ad62d['get'](_0x46a31d[_0x2fdcf6(0x309)])['getFocusDrawings']();return _0x453b9b['length']===0x1&&_0x453b9b[0x0][_0x2fdcf6(0x38d)]===_0x4a54e1[_0x2fdcf6(0x429)]['DRAWING_SHAPE']?_0x453b9b[0x0]:null;}function _0x7fe228(_0x57503c){const _0x53f630=_0x229451;let _0x5b1854=_0x57503c[_0x53f630(0x44d)](_0x46a31d[_0x53f630(0x309)]);return _0x5b1854[_0x53f630(0xef)][_0x53f630(0x1f3)]((0x0,_0x393422[_0x53f630(0x147)])(_0x5b1854[_0x53f630(0x382)]()),(0x0,_0x393422['map'])(_0x6ae063=>_0x6ae063['length']!==0x1||_0x6ae063[0x0]['drawingType']!==_0x4a54e1[_0x53f630(0x429)]['DRAWING_SHAPE']));}function _0x249911(_0x452bc5){const _0x49ed4e=_0x229451;return{'id':_0x3aced8,'commandId':_0x4d9a77[_0x49ed4e(0x464)]['id'],'type':_0x45c65a['MenuItemType'][_0x49ed4e(0x360)],'title':'sheets-shape-ui.flipHorizontal','tooltip':_0x49ed4e(0x179),'icon':_0x49ed4e(0x4ae),'hidden$':_0x7fe228(_0x452bc5),'params':()=>{const _0x20ba7c=_0x49ed4e;let _0x47c4b7=_0x22b4e6(_0x452bc5);return _0x47c4b7?{'unitId':_0x47c4b7[_0x20ba7c(0x2d6)],'subUnitId':_0x47c4b7[_0x20ba7c(0x2b1)],'shapeId':_0x47c4b7[_0x20ba7c(0x214)],'flipH':!0x0}:void 0x0;}};}function _0x5789ff(_0x141acb){const _0x51bd13=_0x229451;return{'id':_0x17d818,'commandId':_0x4d9a77[_0x51bd13(0x464)]['id'],'type':_0x45c65a[_0x51bd13(0x477)]['BUTTON'],'title':_0x51bd13(0x202),'tooltip':_0x51bd13(0x202),'icon':_0x51bd13(0x448),'hidden$':_0x7fe228(_0x141acb),'params':()=>{const _0x4da1be=_0x51bd13;let _0x338ce0=_0x22b4e6(_0x141acb);return _0x338ce0?{'unitId':_0x338ce0[_0x4da1be(0x2d6)],'subUnitId':_0x338ce0[_0x4da1be(0x2b1)],'shapeId':_0x338ce0[_0x4da1be(0x214)],'flipV':!0x0}:void 0x0;}};}let _0x2c801d=_0x229451(0x3cb),_0x339631='sheets-shape-ui.shape-format.style-ribbon-control',_0xcefc98='sheets-shape-ui.shape-format.text-ribbon-control',_0x4ecdd0='sheets-shape-ui.shape-format.formula-ribbon-control';function _0x41048d(){const _0x21a9b9=_0x229451;let _0xcc86e5=(0x0,_0x45c65a[_0x21a9b9(0x1d6)])(_0x4a54e1[_0x21a9b9(0x440)]),_0x1a1f74=(0x0,_0x45c65a[_0x21a9b9(0x1d6)])(_0x46a31d['IDrawingManagerService']),_0x598fc4=(0x0,_0x45c65a[_0x21a9b9(0x1d6)])(_0x4d9a77['SheetsShapeService']),_0x3956ec=()=>{const _0x270c32=_0x21a9b9;var _0x10f785;let _0xfd5baa=_0x1a1f74['getFocusDrawings']();if(_0xfd5baa[_0x270c32(0x31c)]!==0x1||((_0x10f785=_0xfd5baa[0x0])==null?void 0x0:_0x10f785['drawingType'])!==_0x4a54e1[_0x270c32(0x429)]['DRAWING_SHAPE'])return null;let {unitId:_0xeeb8ea,subUnitId:_0x5de486,drawingId:_0x289cc8}=_0xfd5baa[0x0],_0x242665=_0x598fc4[_0x270c32(0x253)](_0xeeb8ea,_0x5de486,_0x289cc8),_0x3ff915=_0x598fc4[_0x270c32(0x159)](_0xeeb8ea,_0x5de486,_0x289cc8);return _0x242665===void 0x0||!_0x3ff915?null:{'unitId':_0xeeb8ea,'subUnitId':_0x5de486,'drawingId':_0x289cc8,'shapeType':_0x242665,'shapeData':_0x3ff915};},_0x2cb606=(0x0,_0x45c65a['useObservable'])(()=>new _0x393422[(_0x21a9b9(0x3e7))](_0x4f9f9b=>{const _0x5cfe15=_0x21a9b9;let _0x22660a=()=>_0x4f9f9b['next'](_0x3956ec()),_0x220a12=_0x1a1f74['focus$'][_0x5cfe15(0x3ae)](_0x22660a),_0x402a33=_0xcc86e5[_0x5cfe15(0x367)](_0x3a6673=>{const _0x4d1b58=_0x5cfe15;_0x3a6673['id']===_0x4d9a77[_0x4d1b58(0x3ee)]['id']&&_0x22660a();});return _0x22660a(),()=>{const _0x5f2c18=_0x5cfe15;_0x220a12[_0x5f2c18(0x48a)](),_0x402a33[_0x5f2c18(0x138)]();};}),_0x3956ec(),!0x1,[_0xcc86e5,_0x1a1f74,_0x598fc4]);return{'selection':_0x2cb606,'updateShapeData':_0x2fec40=>{const _0x352d6e=_0x21a9b9;_0x2cb606&&_0x28480e(_0xcc86e5,_0x2cb606[_0x352d6e(0x2d6)],_0x2cb606[_0x352d6e(0x2b1)],_0x2cb606[_0x352d6e(0x214)],{'oldShapeData':_0x2cb606[_0x352d6e(0x36e)]},_0x2fec40);}};}function _0x5502ff(){const _0x490776=_0x229451;let {selection:_0x20731e,updateShapeData:_0x5131f3}=_0x41048d();return _0x20731e?(0x0,_0x5818ca[_0x490776(0x1c0)])(_0x478c88[_0x490776(0x2ba)],{'shapeData':_0x20731e[_0x490776(0x36e)],'shapeType':_0x20731e['shapeType'],'onUpdateShapeData':_0x5131f3}):null;}function _0x500609(){const _0x3995fc=_0x229451;let _0x581e39=(0x0,_0x45c65a[_0x3995fc(0x1d6)])(_0x4a54e1['ICommandService']),_0x21f252=(0x0,_0x45c65a[_0x3995fc(0x1d6)])(_0x4a54e1['LocaleService']),{selection:_0x5b484c}=_0x41048d();return _0x5b484c?(0x0,_0x5818ca[_0x3995fc(0x1c0)])(_0x478c88[_0x3995fc(0x42a)],{'type':(0x0,_0x3e01f8['getShapeQuickStyleType'])(_0x5b484c['shapeData']),'ariaLabel':_0x21f252['t'](_0x3995fc(0x337)),'activePresetId':(0x0,_0x3e01f8[_0x3995fc(0x311)])(_0x5b484c['shapeData']),'onSelect':_0x250d7a=>_0x581e39[_0x3995fc(0x22f)](_0x4d19d8['id'],{'presetId':_0x250d7a})}):null;}function _0x2f805c(){const _0x2d8b31=_0x229451;let {selection:_0x11b613,updateShapeData:_0x39b591}=_0x41048d();return _0x11b613?(0x0,_0x5818ca[_0x2d8b31(0x1c0)])(_0x478c88[_0x2d8b31(0x4a4)],{'fontFamilyPopupDataComponent':_0x2d8b31(0x4bc),'shapeData':_0x11b613['shapeData'],'onUpdateShapeData':_0x39b591}):null;}function _0x1037db(){const _0x30ec47=_0x229451;var _0x58769a;let {selection:_0x46cb21,updateShapeData:_0x3210ce}=_0x41048d(),_0x22be37=(0x0,_0x478c88[_0x30ec47(0x387)])({'hostType':_0x4a54e1[_0x30ec47(0x1c7)][_0x30ec47(0x3f4)],'unitId':(_0x46cb21==null?void 0x0:_0x46cb21[_0x30ec47(0x2d6)])??'','subUnitId':(_0x46cb21==null?void 0x0:_0x46cb21['subUnitId'])??'','shapeId':(_0x46cb21==null?void 0x0:_0x46cb21[_0x30ec47(0x214)])??'','shapeData':_0x46cb21==null?void 0x0:_0x46cb21[_0x30ec47(0x36e)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x30ec47(0x102),'onUpdateBinding':_0x2e2fee=>_0x3210ce({'formulaBinding':_0x2e2fee})}),_0x5703bf=((_0x58769a=_0x22be37[_0x30ec47(0x2dc)])==null?void 0x0:_0x58769a[_0x30ec47(0x180)](_0x23142b=>_0x23142b[_0x30ec47(0x1cc)])[_0x30ec47(0x308)](_0x18dfda=>_0x18dfda[_0x30ec47(0x439)]!==!0x1))??[];return _0x46cb21!=null&&_0x46cb21[_0x30ec47(0x36e)][_0x30ec47(0x2c0)]?(0x0,_0x5818ca['jsx'])(_0x478c88['ShapeFormulaRibbonControl'],{'actions':_0x5703bf,'panel':_0x22be37[_0x30ec47(0x35b)]}):null;}let _0x41a818=_0x229451(0x284),_0x53bfed=_0x229451(0x3ec),_0x267d09=_0x229451(0x28c),_0x4bd4b4=_0x229451(0x425),_0xdf3f28=_0x229451(0x1ce),_0x550d53=_0x229451(0x419),_0x3b9627=_0x229451(0x27a);function _0x49f095(_0x597f5c){const _0x1b0122=_0x229451;let _0x3a18d5=_0x597f5c[_0x1b0122(0x44d)](_0x4a54e1['ICommandService']),_0x5047c6=_0x597f5c['get'](_0x46a31d[_0x1b0122(0x309)]),_0x55866f=_0x597f5c[_0x1b0122(0x44d)](_0x4d9a77[_0x1b0122(0x24a)]);return new _0x393422['Observable'](_0x18cbab=>{const _0x4552ec=_0x1b0122;let _0x7aef87=()=>{const _0x3017d3=_0x1b6e;let _0x3f38d8=_0x4dbff3(_0x597f5c),_0xcb8eb6=_0x3f38d8?_0x55866f[_0x3017d3(0x159)](_0x3f38d8[_0x3017d3(0x2d6)],_0x3f38d8[_0x3017d3(0x2b1)],_0x3f38d8[_0x3017d3(0x214)]):null;_0x18cbab[_0x3017d3(0x2f2)](_0xcb8eb6?(0x0,_0x3e01f8['resolveActiveShapeQuickStylePresetId'])(_0xcb8eb6)??'':'');},_0x4ebed3=_0x5047c6['focus$']['subscribe'](_0x7aef87),_0x290412=_0x3a18d5[_0x4552ec(0x367)](_0x13b6ca=>{const _0x102f3c=_0x4552ec;_0x13b6ca['id']===_0x4d9a77[_0x102f3c(0x3ee)]['id']&&_0x7aef87();});return _0x7aef87(),()=>{const _0x3dc9d3=_0x4552ec;_0x4ebed3[_0x3dc9d3(0x48a)](),_0x290412[_0x3dc9d3(0x138)]();};});}function _0x4dbff3(_0x5d4f81){const _0x29cc78=_0x229451;var _0x50ebcf;let _0x3f5e37=_0x5d4f81[_0x29cc78(0x44d)](_0x46a31d[_0x29cc78(0x309)])[_0x29cc78(0x382)]();return _0x3f5e37[_0x29cc78(0x31c)]===0x1&&((_0x50ebcf=_0x3f5e37[0x0])==null?void 0x0:_0x50ebcf[_0x29cc78(0x38d)])===_0x4a54e1['DrawingTypeEnum']['DRAWING_SHAPE']?_0x3f5e37[0x0]:null;}function _0x486db0(_0x59bbd4,_0x1e2936=!0x1){const _0x511e96=_0x229451;let _0x515c85=_0x59bbd4['get'](_0x4a54e1['ICommandService']),_0x51147d=_0x59bbd4[_0x511e96(0x44d)](_0x46a31d['IDrawingManagerService']),_0x592107=_0x59bbd4['get'](_0x4d9a77['SheetsShapeService']);return new _0x393422[(_0x511e96(0x3e7))](_0x1637be=>{const _0x4b2241=_0x511e96;let _0x267788=()=>{const _0x1d3037=_0x1b6e;let _0x398a29=_0x4dbff3(_0x59bbd4);if(!_0x398a29){_0x1637be['next'](!0x0);return;}let _0x2f869d=_0x592107['getShapeDataById'](_0x398a29[_0x1d3037(0x2d6)],_0x398a29[_0x1d3037(0x2b1)],_0x398a29[_0x1d3037(0x214)]);_0x1637be[_0x1d3037(0x2f2)](!_0x2f869d||_0x1e2936&&_0x2f869d[_0x1d3037(0x2c0)]==null);},_0x21d31a=_0x51147d[_0x4b2241(0xef)][_0x4b2241(0x3ae)](_0x267788),_0x4c65c3=_0x515c85['onCommandExecuted'](_0x242c0d=>{const _0x4612b7=_0x4b2241;_0x242c0d['id']===_0x4d9a77[_0x4612b7(0x3ee)]['id']&&_0x267788();});return _0x267788(),()=>{const _0x3623e2=_0x4b2241;_0x21d31a['unsubscribe'](),_0x4c65c3[_0x3623e2(0x138)]();};});}function _0x25ed8e(_0x4b617a){const _0x3240e3=_0x229451;let _0x5024c7=_0x4b617a['get'](_0x46a31d[_0x3240e3(0x309)]),_0x297d5e=_0x4b617a['get'](_0x4d9a77[_0x3240e3(0x24a)]);return _0x5024c7[_0x3240e3(0xef)][_0x3240e3(0x1f3)]((0x0,_0x393422[_0x3240e3(0x147)])(_0x5024c7[_0x3240e3(0x382)]()),(0x0,_0x393422[_0x3240e3(0x1e8)])(()=>{const _0x3e9bcb=_0x3240e3;let _0x2d9273=_0x4dbff3(_0x4b617a),_0x4471b3=_0x2d9273?_0x297d5e[_0x3e9bcb(0x253)](_0x2d9273[_0x3e9bcb(0x2d6)],_0x2d9273[_0x3e9bcb(0x2b1)],_0x2d9273[_0x3e9bcb(0x214)]):void 0x0;return _0x4471b3===void 0x0||(0x0,_0x163f94[_0x3e9bcb(0x28e)])(_0x4471b3);}));}function _0x4ced67(_0xd4fd9a){const _0x4a437f=_0x229451;return{'id':_0x4d19d8['id'],'type':_0x45c65a['MenuItemType'][_0x4a437f(0x434)],'icon':_0x4a437f(0x2c6),'title':_0x4a437f(0x3d0),'tooltip':_0x4a437f(0x3d0),'selections':[{'label':{'name':_0x2c801d,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x49f095(_0xd4fd9a),'hidden$':_0x486db0(_0xd4fd9a)};}function _0x2d80f1(_0x48a08a){const _0x528830=_0x229451;return{'id':_0x533335['id'],'type':_0x45c65a[_0x528830(0x477)][_0x528830(0x434)],'icon':_0x528830(0x333),'title':_0x528830(0x35e),'tooltip':'shape-editor-ui.toolbar.changeShape','slot':!0x0,'selections':[{'label':{'name':_0x478c88['SHAPE_CHANGE_PICKER_COMPONENT'],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x25ed8e(_0x48a08a)};}function _0x2f5cb8(_0xf79f5b,_0x32c6d8,_0x569c28=!0x1){return _0x2b267e=>({'id':_0xf79f5b,'type':_0x45c65a['MenuItemType']['BUTTON'],'label':{'name':_0x32c6d8,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x486db0(_0x2b267e,_0x569c28)});}let _0x5aa2c9=_0x2f5cb8(_0x41a818,_0x339631),_0x235ddf=_0x2f5cb8(_0x53bfed,_0xcefc98),_0x3cc867=_0x2f5cb8(_0x267d09,_0x4ecdd0,!0x0);function _0x5dadce(_0x365c6c,_0x4eb6d9,_0x37e3a5,_0x53c353){const _0x19a572=_0x229451;return _0x3df8ae=>({'id':_0x365c6c,'commandId':_0xe8736[_0x19a572(0x43d)]['id'],'type':_0x45c65a['MenuItemType'][_0x19a572(0x360)],'icon':_0x37e3a5,'title':_0x53c353,'tooltip':_0x53c353,'hidden$':_0x486db0(_0x3df8ae),'params':()=>{const _0x1e4c27=_0x19a572;let _0x1e94fa=_0x4dbff3(_0x3df8ae);return _0x1e94fa?{'unitId':_0x1e94fa['unitId'],'subUnitId':_0x1e94fa[_0x1e4c27(0x2b1)],'drawingIds':[_0x1e94fa[_0x1e4c27(0x214)]],'arrangeType':_0x4eb6d9}:void 0x0;}});}let _0x205f3f=_0x5dadce(_0x4bd4b4,_0x4a54e1[_0x229451(0x1ec)][_0x229451(0x1f0)],'MoveUpIcon',_0x229451(0x20d)),_0x4e0ab3=_0x5dadce(_0xdf3f28,_0x4a54e1[_0x229451(0x1ec)][_0x229451(0x358)],_0x229451(0x2be),_0x229451(0x48f)),_0x10e122=_0x5dadce(_0x550d53,_0x4a54e1[_0x229451(0x1ec)][_0x229451(0x4ac)],_0x229451(0x4b0),_0x229451(0x450)),_0x45e22c=_0x5dadce(_0x3b9627,_0x4a54e1[_0x229451(0x1ec)][_0x229451(0x35a)],_0x229451(0x4c0),_0x229451(0x4da));function _0x26870b(_0x1afd7e){const _0xc04ff3=_0x229451;return{'id':_0x37c60f['id'],'type':_0x45c65a[_0xc04ff3(0x477)]['BUTTON'],'icon':_0xc04ff3(0x435),'title':_0xc04ff3(0x2ca),'tooltip':_0xc04ff3(0x2ca),'hidden$':_0x486db0(_0x1afd7e),'params':()=>{const _0x1676a2=_0xc04ff3;let _0x3721b4=_0x4dbff3(_0x1afd7e);return _0x3721b4?{'unitId':_0x3721b4[_0x1676a2(0x2d6)],'subUnitId':_0x3721b4[_0x1676a2(0x2b1)],'drawingId':_0x3721b4['drawingId']}:void 0x0;}};}let _0x1b5f0c={[_0x45c65a[_0x229451(0x324)][_0x229451(0x2d3)]]:{[_0x15e36c]:{'order':0x64,'title':_0x229451(0x2ca),'contextual':!0x0,'sheets-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x4d19d8['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x4ced67},[_0x533335['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x2d80f1}},'sheets-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x41a818]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x5aa2c9}},'sheets-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x53bfed]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x235ddf}},'sheets-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x3aced8]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x249911},[_0x17d818]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x5789ff},[_0x4bd4b4]:{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x205f3f},[_0xdf3f28]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x4e0ab3},[_0x550d53]:{'order':0x4,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x10e122},[_0x3b9627]:{'order':0x5,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x45e22c}},'sheets-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x267d09]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x3cc867}},'sheets-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x37c60f['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x26870b},[_0x478c88[_0x229451(0x43e)]['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x478c88[_0x229451(0x47e)]}}}}},_0x368a48={[_0x45c65a[_0x229451(0x3af)][_0x229451(0x1af)]]:{[_0x197b3e['id']]:{'order':0x3,'menuItemFactory':_0x6edd84}}},_0x309f33={..._0x368a48,[_0x45c65a[_0x229451(0x3af)][_0x229451(0x305)]]:{[_0x503851['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x299f5e}},[_0x45c65a['ContextMenuPosition']['DRAWING']]:{[_0x45c65a[_0x229451(0x113)][_0x229451(0x305)]]:{[_0x3aced8]:{'order':0x4,'menuItemFactory':_0x249911},[_0x17d818]:{'order':0x5,'menuItemFactory':_0x5789ff}}}};var _0xd011e4=_0x229451(0x126),_0x3a72ed='1.2.0';let _0x257d23={'id':_0x229451(0x256),'type':_0x4a54e1[_0x229451(0x205)][_0x229451(0xf4)],'handler'(_0xd9ff1e,_0x3bb76a){const _0x1b0a66=_0x229451;return _0x3bb76a?(_0xd9ff1e[_0x1b0a66(0x44d)](_0x478c88['MobileShapeEditorService'])[_0x1b0a66(0xf0)](_0x3bb76a[_0x1b0a66(0x29e)],{'hostType':_0x4a54e1[_0x1b0a66(0x1c7)][_0x1b0a66(0x3f4)],'shapeId':_0x3bb76a[_0x1b0a66(0x214)],'subUnitId':_0x3bb76a[_0x1b0a66(0x2b1)],'unitId':_0x3bb76a['unitId']}),!0x0):!0x1;}},_0xdb1df0=_0x229451(0x1f8),_0x13a58f={},_0x31496d=class extends _0x4a54e1[_0x229451(0x2e0)]{constructor(_0x7d17d0,_0xd34c81,_0x3ccbff,_0x2be0f3,_0x2bb8db){const _0x5a0b4c=_0x229451;super(),this['_context']=_0x7d17d0,this['_drawingManagerService']=_0xd34c81,this[_0x5a0b4c(0x3a6)]=_0x3ccbff,this[_0x5a0b4c(0x473)]=_0x2be0f3,this[_0x5a0b4c(0x326)]=_0x2bb8db,_0x2624fb(this,_0x5a0b4c(0x152),null),_0x2624fb(this,_0x5a0b4c(0x1c9),null),_0x2624fb(this,'_subUnitId',null),_0x2624fb(this,_0x5a0b4c(0x1a1),void 0x0),_0x2624fb(this,_0x5a0b4c(0x3b1),[]),_0x2624fb(this,_0x5a0b4c(0x11c),0x0),_0x2624fb(this,_0x5a0b4c(0x196),0x0),_0x2624fb(this,_0x5a0b4c(0x2ac),0x0),_0x2624fb(this,_0x5a0b4c(0x276),0x0),_0x2624fb(this,_0x5a0b4c(0x21e),!0x1),_0x2624fb(this,_0x5a0b4c(0x16b),void 0x0),_0x2624fb(this,_0x5a0b4c(0x45e),void 0x0),_0x2624fb(this,'_adjHandlerPointerMove',void 0x0),_0x2624fb(this,'_adjHandlerPointerUp',void 0x0),_0x2624fb(this,_0x5a0b4c(0x363),!0x1),this['_registerFocusChangeHandler'](),this[_0x5a0b4c(0x20e)]();}[_0x229451(0x4a2)](){this['_clearControls']();}['refreshAdjustControls'](){const _0x42b573=_0x229451;this['_clearControls'](),this[_0x42b573(0x2f7)](!0x0);}['_getOrCreateShapeModel'](_0x5b8503,_0x20a1a7,_0xd8405a,_0x3ae2c7){const _0xc668da=_0x229451;let _0x4705c3=_0x5b8503;if(_0x4705c3!==_0x163f94[_0xc668da(0x2ae)][_0xc668da(0x2cd)]&&_0x5b8503!==_0xc668da(0x390))try{let _0x3156ae=new _0x163f94[(_0xc668da(0x2f3))](_0x4705c3,_0xc668da(0x277)+_0x5b8503);return _0x3ae2c7&&_0x3156ae['setShapeData']({'adjustValues':_0x3ae2c7},!0x0),_0x3156ae[_0xc668da(0x405)]({'width':_0x20a1a7,'height':_0xd8405a}),_0x3156ae;}catch{return;}}['_getImageDrawingInfo'](_0x2073e7,_0x2fc806,_0x2ca70b){const _0x3239b8=_0x229451;let _0xf2a28f={'unitId':_0x2073e7,'subUnitId':_0x2fc806,'drawingId':_0x2ca70b},_0x39daaf=this[_0x3239b8(0x109)][_0x3239b8(0x364)](_0xf2a28f);if(_0x39daaf&&_0x39daaf[_0x3239b8(0x38d)]===_0x4a54e1[_0x3239b8(0x429)]['DRAWING_IMAGE'])return _0x39daaf;}[_0x229451(0x1e2)](_0x36311e,_0x2ef793,_0x5962e1){const _0x285201=_0x229451;let _0x328600=this[_0x285201(0x3a6)][_0x285201(0x4a9)](_0x36311e);if(!_0x328600)return;let {scene:_0x736013}=_0x328600,_0x31f2ee=(0x0,_0x46a31d['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x36311e,'subUnitId':_0x2ef793,'drawingId':_0x5962e1}),_0xa5529e=_0x736013[_0x285201(0x201)](_0x31f2ee);if(_0xa5529e instanceof _0x163b80[_0x285201(0x493)]){let _0x31b4f2=_0xa5529e[_0x285201(0x17d)];if(_0x31b4f2)return{'prstGeom':_0x31b4f2,'adjustValues':_0xa5529e[_0x285201(0x39e)]};}}['_createControls'](_0x153f64=!0x1){const _0x1f09c7=_0x229451;if(!this[_0x1f09c7(0x1c9)]||!this[_0x1f09c7(0x233)]||!this[_0x1f09c7(0x152)])return;let _0x1f8cce=this[_0x1f09c7(0x3a6)]['getRenderUnitById'](this[_0x1f09c7(0x1c9)]);if(!_0x1f8cce||!_0x1f8cce['with'](_0x1f919d[_0x1f09c7(0x319)])[_0x1f09c7(0xee)]())return;let {scene:_0x38f131}=_0x1f8cce,_0x1100ab=this[_0x1f09c7(0x3de)](this[_0x1f09c7(0x1c9)],this['_subUnitId'],this[_0x1f09c7(0x152)]);if(!_0x1100ab)return;let {transform:_0x349ed8}=_0x1100ab;if(!_0x349ed8)return;let {left:_0xa46c26,top:_0x2869f7,width:_0x462b2c,height:_0x52a7a0,flipX:_0x4ca004,flipY:_0x46c809,angle:_0x338af2=0x0}=_0x349ed8;if(_0xa46c26===void 0x0||_0x2869f7===void 0x0)return;let _0x894ec3=this[_0x1f09c7(0x1e2)](this['_unitId'],this['_subUnitId'],this[_0x1f09c7(0x152)]);if(!_0x894ec3)return;if(_0x153f64){let _0x410739=this['_getOrCreateShapeModel'](_0x894ec3[_0x1f09c7(0x17d)],_0x462b2c||0x0,_0x52a7a0||0x0,_0x894ec3['adjustValues']);if(!_0x410739)return;this['_activeAdjustPointList']=_0x410739[_0x1f09c7(0x208)]();}let _0x22c9cb=this[_0x1f09c7(0x1a1)];if(_0x22c9cb&&_0x22c9cb[_0x1f09c7(0x31c)]!==0x0)for(let _0x2d4492=0x0;_0x2d4492<_0x22c9cb[_0x1f09c7(0x31c)];_0x2d4492++){let _0x50ea4f=_0x22c9cb[_0x2d4492],_0x3ab142=_0x50ea4f['x'],_0x4307cd=_0x50ea4f['y'];if(_0x4ca004&&(_0x3ab142=(_0x462b2c||0x0)-_0x3ab142),_0x46c809&&(_0x4307cd=(_0x52a7a0||0x0)-_0x4307cd),_0x338af2!==0x0){let _0x20f37a=(_0x462b2c||0x0)/0x2,_0x3a970d=(_0x52a7a0||0x0)/0x2,_0x429d19=_0x338af2*Math['PI']/0xb4,_0x4dc737=Math[_0x1f09c7(0x168)](_0x429d19),_0x1d9715=Math[_0x1f09c7(0x22d)](_0x429d19),_0x37eca2=_0x3ab142-_0x20f37a,_0x2ad12f=_0x4307cd-_0x3a970d;_0x3ab142=_0x20f37a+(_0x37eca2*_0x4dc737-_0x2ad12f*_0x1d9715),_0x4307cd=_0x3a970d+(_0x37eca2*_0x1d9715+_0x2ad12f*_0x4dc737);}let _0x1a8714={'x':_0x3ab142,'y':_0x4307cd,'adjName':_0x50ea4f[_0x1f09c7(0x293)]};this['_addControl'](_0x38f131,_0x1a8714,_0x1a8714[_0x1f09c7(0x293)],_0xa46c26,_0x2869f7,this['_unitId'],this[_0x1f09c7(0x233)]);}}['_addControl'](_0x19c95e,_0x1d7c75,_0x37ae9f,_0x671b4a,_0x51d904,_0x1efbe8,_0x1ac17f){const _0xb191c2=_0x229451;if(!this[_0xb191c2(0x152)])return;let _0x281ce4=_0xb191c2(0x191)+this['_activeImageId']+'-'+_0x37ae9f,_0x5662c0=_0x19c95e['getObjectIncludeInGroup'](_0x281ce4);if(_0x5662c0){_0x5662c0['transformByState']({'left':_0x1d7c75['x']+_0x671b4a-_0x163f94[_0xb191c2(0x1fe)][_0xb191c2(0x4b7)],'top':_0x1d7c75['y']+_0x51d904-_0x163f94['ShapeDefaultConfig']['adjHandleSize']});return;}let _0x4503af=new _0x2a957f(_0x281ce4,{'left':_0x1d7c75['x']+_0x671b4a-_0x163f94[_0xb191c2(0x1fe)][_0xb191c2(0x4b7)],'top':_0x1d7c75['y']+_0x51d904-_0x163f94[_0xb191c2(0x1fe)]['adjHandleSize'],'adjName':_0x37ae9f,'shapeId':this['_activeImageId'],'unitId':_0x1efbe8,'subUnitId':_0x1ac17f,'width':_0x163f94[_0xb191c2(0x1fe)][_0xb191c2(0x4b7)]+0x8,'height':_0x163f94[_0xb191c2(0x1fe)][_0xb191c2(0x4b7)]+0x8,'zIndex':_0x163b80['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0});this[_0xb191c2(0x3b1)][_0xb191c2(0x31a)](_0x4503af),this[_0xb191c2(0x4c4)](_0x4503af,_0x19c95e,_0x37ae9f),_0x19c95e[_0xb191c2(0x14e)](_0x4503af,_0x163b80['DRAWING_OBJECT_LAYER_INDEX']+0x1);}[_0x229451(0x17a)](){const _0x4952bd=_0x229451;this[_0x4952bd(0x3b1)][_0x4952bd(0x31c)]!==0x0&&(this[_0x4952bd(0x3b1)]['forEach'](_0x194a49=>_0x194a49[_0x4952bd(0x138)]()),this['_shapes']=[]);}[_0x229451(0x295)](_0x3b573f,_0x2a9981){const _0x2cf0c0=_0x229451;var _0x562c65;let _0x3ed0fc={'x':0x0,'y':0x0},_0x1de17e=this['_renderManagerService']['getRenderUnitById'](_0x3b573f);if(!_0x1de17e||!_0x1de17e[_0x2cf0c0(0x17e)](_0x1f919d[_0x2cf0c0(0x319)])[_0x2cf0c0(0x3d8)](_0x2a9981))return _0x3ed0fc;let _0x54b0c9=_0x1de17e[_0x2cf0c0(0x17e)](_0x1f919d[_0x2cf0c0(0x282)]),_0x140773=_0x54b0c9==null?void 0x0:_0x54b0c9['getCurrentScrollState']();if(!_0x140773)return _0x3ed0fc;let _0x3c483c=(_0x562c65=this[_0x2cf0c0(0x473)][_0x2cf0c0(0x227)](_0x3b573f))==null?void 0x0:_0x562c65[_0x2cf0c0(0xe5)](_0x2a9981);if(!_0x3c483c)return _0x3ed0fc;let _0x334d88=(0x0,_0x1f919d[_0x2cf0c0(0x3db)])(_0x140773['sheetViewStartRow'],_0x140773[_0x2cf0c0(0x13e)],_0x1de17e[_0x2cf0c0(0x2cc)],_0x3c483c);return _0x334d88?{'x':_0x334d88[_0x2cf0c0(0x137)],'y':_0x334d88[_0x2cf0c0(0x3c7)]}:_0x3ed0fc;}[_0x229451(0x1f7)](_0x5d302d,_0x20d5df){const _0x4ba6fd=_0x229451;var _0x42eaa6;let _0x36a86b=(_0x42eaa6=this[_0x4ba6fd(0x473)][_0x4ba6fd(0x227)](_0x5d302d))==null?void 0x0:_0x42eaa6['getSheetBySheetId'](_0x20d5df);return(_0x36a86b==null?void 0x0:_0x36a86b[_0x4ba6fd(0x47a)]())??0x1;}['_attachAdjustEvent'](_0x17c395,_0x1d019d,_0x34339a){const _0x515c08=_0x229451;this[_0x515c08(0x223)]((0x0,_0x4a54e1['toDisposable'])(_0x17c395['onPointerDown$'][_0x515c08(0x14d)]((_0x17924d,_0x456559)=>{const _0x3539db=_0x515c08;var _0xcc18fe,_0x2a7ab5,_0x30fc34;let {unitId:_0x205b95,subUnitId:_0x1b2f96,drawingId:_0x2ddc50}=_0x17c395[_0x3539db(0x341)](),_0x425bec=this[_0x3539db(0x3de)](_0x205b95,_0x1b2f96,_0x2ddc50);if(!(_0x425bec!=null&&_0x425bec[_0x3539db(0x412)]))return;let {left:_0x210f1e,top:_0x1b28f9,width:_0x5c8e24,height:_0x1b81ee}=_0x425bec[_0x3539db(0x412)];this['_baseLeft']=_0x210f1e||0x0,this[_0x3539db(0x196)]=_0x1b28f9||0x0,this[_0x3539db(0x2ac)]=_0x5c8e24||0x0,this[_0x3539db(0x276)]=_0x1b81ee||0x0;let _0xb060cf=!!((_0xcc18fe=_0x425bec['transform'])!=null&&_0xcc18fe[_0x3539db(0x121)]),_0x11eb39=!!((_0x2a7ab5=_0x425bec[_0x3539db(0x412)])!=null&&_0x2a7ab5[_0x3539db(0x335)]),_0x1d08da=((_0x30fc34=_0x425bec['transform'])==null?void 0x0:_0x30fc34[_0x3539db(0x1b7)])||0x0,_0x17cac9=this[_0x3539db(0x1e2)](_0x205b95,_0x1b2f96,_0x2ddc50);if(!_0x17cac9)return;let _0x273c49=this[_0x3539db(0x40c)](_0x17cac9['prstGeom'],this['_baseWidth'],this[_0x3539db(0x276)],_0x17cac9[_0x3539db(0x33e)]);if(!_0x273c49||(this[_0x3539db(0x45e)]=_0x273c49,this[_0x3539db(0x16b)]=_0x273c49[_0x3539db(0x36d)](_0x34339a),!this[_0x3539db(0x16b)]))return;this[_0x3539db(0x21e)]=!0x0,_0x1d019d[_0x3539db(0x38f)]();let _0x2bfd48=_0x17cac9[_0x3539db(0x17d)];this[_0x3539db(0x29d)]=_0x1d019d[_0x3539db(0xf8)][_0x3539db(0x14d)]((_0x3bb576,_0x57096e)=>{const _0x57129a=_0x3539db;if(!this[_0x57129a(0x21e)])return;let {offsetX:_0x122e1c,offsetY:_0x27beee}=_0x3bb576,_0xe4ba4a=this['_activeAdjustInfo'];if(!this['_activeShapeModel']||!_0xe4ba4a)return;_0x1d019d[_0x57129a(0x38f)](),_0x1d019d[_0x57129a(0x332)](_0x163b80[_0x57129a(0x2af)][_0x57129a(0x14c)]);let _0x4c656c={'left':0x0,'top':0x0,'width':this[_0x57129a(0x2ac)],'height':this[_0x57129a(0x276)]},_0x5c3bf8=this[_0x57129a(0x295)](_0x205b95,_0x1b2f96),_0x44ee6d=this['_getZoomRatio'](_0x205b95,_0x1b2f96),_0x58d016=_0x122e1c/_0x44ee6d+_0x5c3bf8['x']-this[_0x57129a(0x11c)],_0x4738f7=_0x27beee/_0x44ee6d+_0x5c3bf8['y']-this['_baseTop'];if(_0x1d08da!==0x0){let _0x1ee9b8=this[_0x57129a(0x2ac)]/0x2,_0x1820db=this[_0x57129a(0x276)]/0x2,_0x2cc469=_0x1d08da*Math['PI']/0xb4,_0x525a80=Math[_0x57129a(0x168)](_0x2cc469),_0x1e3b87=Math['sin'](_0x2cc469),_0x355a8a=_0x58d016-_0x1ee9b8,_0x410d5d=_0x4738f7-_0x1820db;_0x58d016=_0x1ee9b8+(_0x355a8a*_0x525a80+_0x410d5d*_0x1e3b87),_0x4738f7=_0x1820db+(-_0x355a8a*_0x1e3b87+_0x410d5d*_0x525a80);}_0xb060cf&&(_0x58d016=this[_0x57129a(0x2ac)]-_0x58d016),_0x11eb39&&(_0x4738f7=this[_0x57129a(0x276)]-_0x4738f7);let _0x57ba60=this[_0x57129a(0x45e)]['calcAdjValues'](_0x4c656c,{'x':_0x58d016,'y':_0x4738f7},_0xe4ba4a,_0xb060cf,_0x11eb39);if(Object[_0x57129a(0x385)](_0x57ba60)['length']!==0x0){for(let [_0x94b848,_0x5bd5b1]of Object['entries'](_0x57ba60))this[_0x57129a(0x45e)][_0x57129a(0x1e9)](_0x94b848,_0x5bd5b1);this[_0x57129a(0x45e)][_0x57129a(0x405)]({'width':this[_0x57129a(0x2ac)],'height':this[_0x57129a(0x276)]}),this[_0x57129a(0x27d)](_0x205b95,_0x1b2f96,_0x2ddc50,_0x57ba60),this[_0x57129a(0x1a1)]=this[_0x57129a(0x45e)]['getDrawingPoints'](),this[_0x57129a(0x2f7)](),_0x57096e[_0x57129a(0x34d)]();}}),this['_adjHandlerPointerUp']=_0x1d019d[_0x3539db(0x46f)][_0x3539db(0x14d)]((_0x1110ed,_0x4c5054)=>{const _0x320b55=_0x3539db;if(this[_0x320b55(0x29d)][_0x320b55(0x48a)](),this['_adjHandlerPointerUp'][_0x320b55(0x48a)](),_0x1d019d['resetCursor'](),this[_0x320b55(0x45e)]){let _0x4e8558=this['_activeShapeModel'][_0x320b55(0x4cd)](),_0x610085={};for(let _0x18b9b0 of _0x4e8558){let _0x23bef1=this['_activeShapeModel'][_0x320b55(0x472)](_0x18b9b0);_0x23bef1!==void 0x0&&(_0x610085[_0x18b9b0]=_0x23bef1);}this[_0x320b55(0x326)][_0x320b55(0x1f4)](_0x205b95,_0x1b2f96,_0x2ddc50,_0x2bfd48,_0x610085);}this['_activeAdjustInfo']=void 0x0,this[_0x320b55(0x45e)]=void 0x0,this['_isStartAdjusting']=!0x1,_0x4c5054[_0x320b55(0x34d)](),_0x1d019d['enableObjectsEvent']();}),_0x456559[_0x3539db(0x34d)]();})));}[_0x229451(0x27d)](_0x2c785f,_0x983b3d,_0x207c69,_0x22c440){const _0x1476d5=_0x229451;let _0x4a88d1=this[_0x1476d5(0x3a6)][_0x1476d5(0x4a9)](_0x2c785f);if(!_0x4a88d1)return;let {scene:_0xb7a99c}=_0x4a88d1,_0x4d695c=(0x0,_0x46a31d['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x2c785f,'subUnitId':_0x983b3d,'drawingId':_0x207c69}),_0x2a72f=_0xb7a99c[_0x1476d5(0x201)](_0x4d695c);if(_0x2a72f instanceof _0x163b80[_0x1476d5(0x493)]){let _0x1e6fbb=_0x2a72f['prstGeomAdjValues']??{};_0x2a72f[_0x1476d5(0x15d)]({..._0x1e6fbb,..._0x22c440}),_0x2a72f[_0x1476d5(0x1fc)](!0x0);}}[_0x229451(0x20e)](){const _0x1cdb35=_0x229451;let _0x5abf95=this[_0x1cdb35(0x473)][_0x1cdb35(0x154)](_0x4a54e1[_0x1cdb35(0x1c7)][_0x1cdb35(0x3f4)]);this[_0x1cdb35(0x223)](_0x5abf95['pipe']((0x0,_0x393422[_0x1cdb35(0x3c0)])(_0x1cd067=>_0x1cd067?_0x1cd067[_0x1cdb35(0x2e6)][_0x1cdb35(0x1f3)]((0x0,_0x393422[_0x1cdb35(0x3c0)])(_0x51891e=>{const _0x390c89=_0x1cdb35;if(!_0x51891e)return _0x393422['EMPTY'];let _0x49c4da=_0x1cd067[_0x390c89(0x158)](),_0x14067a=this[_0x390c89(0x3a6)][_0x390c89(0x4a9)](_0x49c4da),_0x426b60=_0x14067a==null?void 0x0:_0x14067a['scene'];return _0x426b60?(0x0,_0x393422['of'])(_0x426b60):_0x393422['EMPTY'];})):_0x393422[_0x1cdb35(0x133)]))['subscribe'](_0x133424=>{const _0x13adcf=_0x1cdb35;let _0x4caf29=_0x133424['getTransformerByCreate']();this[_0x13adcf(0x223)](_0x133424[_0x13adcf(0xf8)][_0x13adcf(0x14d)](()=>{const _0xa2e8fa=_0x13adcf;this[_0xa2e8fa(0x363)]&&this[_0xa2e8fa(0x17a)]();})),this[_0x13adcf(0x223)](_0x4caf29['changeStart$'][_0x13adcf(0x3ae)](_0x294001=>{const _0x31e803=_0x13adcf;let {objects:_0x44e33a}=_0x294001;if(this['_createControls'](),_0x44e33a!==null&&_0x44e33a['size']===0x1){let _0x7a9223=_0x44e33a[_0x31e803(0x3f9)]()[_0x31e803(0x2f2)]()[_0x31e803(0x4c6)];_0x7a9223 instanceof _0x163b80[_0x31e803(0x493)]&&_0x7a9223[_0x31e803(0x17d)]&&(this[_0x31e803(0x363)]=!0x0);}})),this[_0x13adcf(0x223)](_0x4caf29['changing$']['subscribe'](()=>{const _0x2035d6=_0x13adcf;this[_0x2035d6(0x363)]&&this['_clearControls']();})),this[_0x13adcf(0x223)](_0x133424[_0x13adcf(0x46f)][_0x13adcf(0x14d)](()=>{const _0xcc83fb=_0x13adcf;this[_0xcc83fb(0x363)]&&(this[_0xcc83fb(0x363)]=!0x1,this[_0xcc83fb(0x2f7)]());})),this['disposeWithMe'](_0x4caf29[_0x13adcf(0x17c)]['subscribe'](()=>{const _0x1cf9d6=_0x13adcf;if(this[_0x1cf9d6(0x1c9)]&&this[_0x1cf9d6(0x233)]&&this[_0x1cf9d6(0x152)]){let _0x1e76be=this[_0x1cf9d6(0x1e2)](this[_0x1cf9d6(0x1c9)],this[_0x1cf9d6(0x233)],this[_0x1cf9d6(0x152)]);if(_0x1e76be){var _0x1f33b5,_0x1cb550;let _0xf3a0c7=this[_0x1cf9d6(0x3de)](this[_0x1cf9d6(0x1c9)],this[_0x1cf9d6(0x233)],this[_0x1cf9d6(0x152)]),_0x373531=(_0xf3a0c7==null||(_0x1f33b5=_0xf3a0c7[_0x1cf9d6(0x412)])==null?void 0x0:_0x1f33b5[_0x1cf9d6(0x303)])||0x0,_0x35b931=(_0xf3a0c7==null||(_0x1cb550=_0xf3a0c7[_0x1cf9d6(0x412)])==null?void 0x0:_0x1cb550[_0x1cf9d6(0x29f)])||0x0,_0x120520=this[_0x1cf9d6(0x40c)](_0x1e76be[_0x1cf9d6(0x17d)],_0x373531,_0x35b931,_0x1e76be[_0x1cf9d6(0x33e)]);_0x120520&&(this['_activeAdjustPointList']=_0x120520[_0x1cf9d6(0x208)](),this[_0x1cf9d6(0x17a)](),this['_createControls'](!0x0));}}}));}));}[_0x229451(0x1d0)](){const _0x288fe7=_0x229451;this[_0x288fe7(0x223)](this['_drawingManagerService'][_0x288fe7(0xef)]['subscribe'](_0x1eded2=>{const _0x14bb2a=_0x288fe7;if(_0x1eded2[_0x14bb2a(0x31c)]===0x1){let _0x1dd835=_0x1eded2[0x0];if(_0x1dd835['drawingType']===_0x4a54e1[_0x14bb2a(0x429)][_0x14bb2a(0x1b0)]){let {unitId:_0x39379c,subUnitId:_0x42ec1a,drawingId:_0xc43c14}=_0x1dd835,_0x185d2f=this[_0x14bb2a(0x1e2)](_0x39379c,_0x42ec1a,_0xc43c14);if(_0x185d2f){var _0x1c17ba,_0x4c90ad;this['_activeImageId']=_0xc43c14,this['_unitId']=_0x39379c,this[_0x14bb2a(0x233)]=_0x42ec1a;let _0x1c8fc0=this[_0x14bb2a(0x3de)](_0x39379c,_0x42ec1a,_0xc43c14),_0x1a32f5=(_0x1c8fc0==null||(_0x1c17ba=_0x1c8fc0[_0x14bb2a(0x412)])==null?void 0x0:_0x1c17ba[_0x14bb2a(0x303)])||0x0,_0x338bc6=(_0x1c8fc0==null||(_0x4c90ad=_0x1c8fc0[_0x14bb2a(0x412)])==null?void 0x0:_0x4c90ad['height'])||0x0,_0x5a5494=this[_0x14bb2a(0x40c)](_0x185d2f[_0x14bb2a(0x17d)],_0x1a32f5,_0x338bc6,_0x185d2f[_0x14bb2a(0x33e)]);_0x5a5494&&(this['_activeAdjustPointList']=_0x5a5494[_0x14bb2a(0x208)]()),this[_0x14bb2a(0x17a)](),this[_0x14bb2a(0x2f7)](!0x0);}else this[_0x14bb2a(0x1db)]();}else this[_0x14bb2a(0x1db)]();}else this['_resetState']();})),this[_0x288fe7(0x223)](this[_0x288fe7(0x109)][_0x288fe7(0x3b8)][_0x288fe7(0x3ae)](_0x2288b3=>{const _0x578623=_0x288fe7;if(_0x2288b3[_0x578623(0x31c)]===0x1){let _0x527c16=_0x2288b3[0x0],_0x3541ca=this[_0x578623(0x109)][_0x578623(0x364)](_0x527c16);(_0x3541ca==null?void 0x0:_0x3541ca[_0x578623(0x38d)])===_0x4a54e1[_0x578623(0x429)]['DRAWING_IMAGE']&&this[_0x578623(0x152)]===_0x527c16[_0x578623(0x214)]&&(this[_0x578623(0x17a)](),this[_0x578623(0x2f7)](!0x0));}})),this['disposeWithMe'](this['_drawingManagerService'][_0x288fe7(0x1bf)]['subscribe'](_0x2fff9d=>{const _0x8aca90=_0x288fe7;for(let _0x5b3bba of _0x2fff9d)this[_0x8aca90(0x152)]===_0x5b3bba[_0x8aca90(0x214)]&&this[_0x8aca90(0x1db)]();}));}[_0x229451(0x1db)](){const _0x425ee9=_0x229451;this[_0x425ee9(0x152)]=null,this[_0x425ee9(0x1c9)]=null,this[_0x425ee9(0x233)]=null,this[_0x425ee9(0x1a1)]=void 0x0,this[_0x425ee9(0x17a)]();}};_0x31496d=_0x3f173a([_0x1c0f1c(0x1,_0x46a31d['IDrawingManagerService']),_0x1c0f1c(0x2,(0x0,_0x4a54e1['Inject'])(_0x163b80[_0x229451(0x3fd)])),_0x1c0f1c(0x3,_0x4a54e1[_0x229451(0x49d)]),_0x1c0f1c(0x4,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x5ad6df))],_0x31496d);function _0x228fe5({ref:_0xe4371a,..._0x2de9c0}){const _0x343d7b=_0x229451;let {preserveStrokeWidth:_0x167f35,icon:_0x337168,id:_0x1d1cce,className:_0x1b6478,extend:_0x5df349,..._0x47fd3b}=_0x2de9c0,_0x4f786b=('univerjs-icon\x20univerjs-icon-'+_0x1d1cce+'\x20'+(_0x1b6478||''))[_0x343d7b(0x29b)](),_0x523fe7='_'+(0x0,_0x5ddce8[_0x343d7b(0x2c1)])(),_0x511f3d=(0x0,_0x5ddce8[_0x343d7b(0x188)])(null);return(0x0,_0x5ddce8[_0x343d7b(0x374)])(_0xe4371a,()=>_0x511f3d['current']),(0x0,_0x5ddce8[_0x343d7b(0x222)])(()=>{const _0x21f938=_0x343d7b;if(_0x167f35&&_0x511f3d[_0x21f938(0x116)]&&_0x511f3d[_0x21f938(0x116)][_0x21f938(0x496)]===_0x337168['tag'])return _0x405950(_0x511f3d['current']);},[_0x167f35,_0x337168]),_0x226ff1(_0x337168,''+_0x1d1cce,{'defIds':_0x337168[_0x343d7b(0x4b8)],'idSuffix':_0x523fe7},{'ref':_0x511f3d,'className':_0x4f786b,..._0x47fd3b},_0x5df349);}function _0x226ff1(_0x97d4ff,_0x368ff3,_0x59a497,_0x541a55,_0x439157){const _0x491106=_0x229451;return(0x0,_0x5ddce8[_0x491106(0x41d)])(_0x97d4ff[_0x491106(0x413)],{'key':_0x368ff3,..._0x3d7171(_0x97d4ff,_0x59a497,_0x439157),..._0x541a55},(_0x45269d(_0x97d4ff,_0x59a497)['children']||[])[_0x491106(0x1e8)]((_0x38ea7a,_0x54c5e6)=>_0x226ff1(_0x38ea7a,_0x368ff3+'-'+_0x97d4ff['tag']+'-'+_0x54c5e6,_0x59a497,void 0x0,_0x439157)));}function _0x3d7171(_0x1de34c,_0x365b40,_0x1ec20f){const _0x32f0c9=_0x229451;let _0x1eb8f9={..._0x1de34c['attrs']};_0x1ec20f!=null&&_0x1ec20f['colorChannel1']&&_0x1eb8f9[_0x32f0c9(0x2ce)]===_0x32f0c9(0x2d9)&&(_0x1eb8f9[_0x32f0c9(0x2ce)]=_0x1ec20f[_0x32f0c9(0x2d9)]),_0x1ec20f!=null&&_0x1ec20f[_0x32f0c9(0x2d9)]&&_0x1eb8f9[_0x32f0c9(0x16c)]==='colorChannel1'&&(_0x1eb8f9['stroke']=_0x1ec20f['colorChannel1']),_0x1de34c[_0x32f0c9(0x413)]==='mask'&&_0x1eb8f9['id']&&(_0x1eb8f9['id']+=_0x365b40[_0x32f0c9(0x3b2)]),Object[_0x32f0c9(0x1bb)](_0x1eb8f9)[_0x32f0c9(0x2e2)](([_0x1505c3,_0x346e24])=>{const _0x5887c4=_0x32f0c9;_0x1505c3===_0x5887c4(0x37c)&&typeof _0x346e24=='string'&&(_0x1eb8f9[_0x1505c3]=_0x346e24['replace'](/url\(#(.*)\)/,_0x5887c4(0x4a1)+_0x365b40[_0x5887c4(0x3b2)]+')'));});let {defIds:_0x1166b6}=_0x365b40;return!_0x1166b6||_0x1166b6['length']===0x0||(_0x1de34c[_0x32f0c9(0x413)]===_0x32f0c9(0x19d)&&_0x1eb8f9['xlink:href']&&(_0x1eb8f9[_0x32f0c9(0x204)]+=_0x365b40[_0x32f0c9(0x3b2)]),Object[_0x32f0c9(0x1bb)](_0x1eb8f9)[_0x32f0c9(0x2e2)](([_0x44e2e9,_0x4910c6])=>{const _0x5947fe=_0x32f0c9;typeof _0x4910c6==_0x5947fe(0x1bd)&&(_0x1eb8f9[_0x44e2e9]=_0x4910c6[_0x5947fe(0x24d)](/url\(#(.*)\)/,_0x5947fe(0x4a1)+_0x365b40[_0x5947fe(0x3b2)]+')'));})),_0x1eb8f9;}function _0x45269d(_0x532d80,_0x426c20){const _0x349876=_0x229451;var _0x54f314;let {defIds:_0x1ee559}=_0x426c20;return!_0x1ee559||_0x1ee559['length']===0x0?_0x532d80:_0x532d80[_0x349876(0x413)]===_0x349876(0x394)&&(_0x54f314=_0x532d80[_0x349876(0x397)])!=null&&_0x54f314[_0x349876(0x31c)]?{..._0x532d80,'children':_0x532d80[_0x349876(0x397)][_0x349876(0x1e8)](_0xef4cb5=>typeof _0xef4cb5[_0x349876(0x1f2)]['id']==_0x349876(0x1bd)&&_0x1ee559&&_0x1ee559[_0x349876(0x1a0)](_0xef4cb5['attrs']['id'])?{..._0xef4cb5,'attrs':{..._0xef4cb5[_0x349876(0x1f2)],'id':_0xef4cb5[_0x349876(0x1f2)]['id']+_0x426c20[_0x349876(0x3b2)]}}:_0xef4cb5)}:_0x532d80;}function _0x405950(_0x597c5f){const _0x3a805a=_0x229451;let _0x28829e=_0x597c5f[_0x3a805a(0x41a)]['baseVal'],_0x311a6a=Math[_0x3a805a(0x427)](_0x28829e[_0x3a805a(0x303)],_0x28829e[_0x3a805a(0x29f)]);if(!Number[_0x3a805a(0x35d)](_0x311a6a)||_0x311a6a<=0x0||_0x28829e[_0x3a805a(0x303)]<=0x0||_0x28829e['height']<=0x0)return()=>void 0x0;let _0x390089=0x10/_0x311a6a,_0x1ca9f9=Array['from'](_0x597c5f[_0x3a805a(0x15c)](_0x3a805a(0x2c9)))[_0x3a805a(0x180)](_0xe14295=>{const _0x5385ba=_0x3a805a;let _0x411c57=getComputedStyle(_0xe14295),_0x83ffcf=Number[_0x5385ba(0x130)](_0x411c57[_0x5385ba(0x408)]);return _0x411c57[_0x5385ba(0x16c)]===_0x5385ba(0x384)||Number[_0x5385ba(0x130)](_0x411c57[_0x5385ba(0x3bf)])===0x0||_0x411c57[_0x5385ba(0x103)]===_0x5385ba(0x268)||!Number[_0x5385ba(0x35d)](_0x83ffcf)||_0x83ffcf<=0x0?[]:[{'element':_0xe14295,'hadStyleAttribute':_0xe14295[_0x5385ba(0x3cf)](_0x5385ba(0x331)),'originalStrokeWidth':_0x83ffcf,'strokeWidth':_0x3a2522(_0xe14295['style'],_0x5385ba(0x415))}];})[_0x3a805a(0x1e8)](_0x24cdad=>({'appliedStrokeWidth':null,'element':_0x24cdad['element'],'hadStyleAttribute':_0x24cdad[_0x3a805a(0x2c8)],'isReleased':!0x1,'originalStrokeWidth':_0x24cdad[_0x3a805a(0x3e2)],'strokeWidth':_0x24cdad['strokeWidth']}));if(_0x1ca9f9['length']===0x0)return()=>void 0x0;let _0x12dfee=(_0x330abb,_0x1fff41)=>{const _0x504d3c=_0x3a805a;if(_0x28829e[_0x504d3c(0x303)]<=0x0||_0x28829e['height']<=0x0||_0x330abb<=0x0||_0x1fff41<=0x0)return;let _0x233ce4=Math[_0x504d3c(0x1dd)](_0x330abb/_0x28829e['width'],_0x1fff41/_0x28829e[_0x504d3c(0x29f)]);!Number[_0x504d3c(0x35d)](_0x233ce4)||_0x233ce4<=0x0||_0x1ca9f9['forEach'](_0x1d2a8f=>{const _0x37838a=_0x504d3c;if(_0x1d2a8f[_0x37838a(0x2a8)])return;if(_0x1d2a8f[_0x37838a(0x228)]!==null&&(_0x1d2a8f[_0x37838a(0x216)][_0x37838a(0x331)]['getPropertyValue'](_0x37838a(0x415))!==_0x1d2a8f[_0x37838a(0x228)]||_0x1d2a8f[_0x37838a(0x216)]['style'][_0x37838a(0x242)](_0x37838a(0x415))!==_0x1d2a8f['strokeWidth']['priority'])){_0x1d2a8f['appliedStrokeWidth']=null,_0x1d2a8f[_0x37838a(0x2a8)]=!0x0;return;}let _0x3bc59f=_0x1d2a8f[_0x37838a(0x3e2)]*_0x390089/_0x233ce4,_0x2a5859=Number(_0x3bc59f['toFixed'](0xc))+'px';_0x1d2a8f[_0x37838a(0x216)]['style'][_0x37838a(0x45c)](_0x37838a(0x415),_0x2a5859,_0x1d2a8f['strokeWidth'][_0x37838a(0x393)]),_0x1d2a8f['appliedStrokeWidth']=_0x2a5859;});},_0x4e71a0=_0x597c5f[_0x3a805a(0x40f)]();_0x12dfee(_0x4e71a0['width'],_0x4e71a0[_0x3a805a(0x29f)]);let _0x1c4569=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x3b073b=>{const _0x2b3a81=_0x3a805a;if(_0x3b073b[_0x2b3a81(0x4a6)](_0x2d31b9=>_0x2d31b9[_0x2b3a81(0x49f)]===_0x597c5f)){let _0x2cf6ee=_0x597c5f[_0x2b3a81(0x40f)]();_0x12dfee(_0x2cf6ee['width'],_0x2cf6ee[_0x2b3a81(0x29f)]);}});return _0x1c4569==null||_0x1c4569[_0x3a805a(0x36f)](_0x597c5f),()=>{_0x1c4569==null||_0x1c4569['disconnect'](),_0x1ca9f9['forEach'](_0x4fcaa2=>{const _0x3184b1=_0x1b6e;_0x4fcaa2[_0x3184b1(0x228)]!==null&&(_0x3de872(_0x4fcaa2[_0x3184b1(0x216)][_0x3184b1(0x331)],_0x3184b1(0x415),_0x4fcaa2['appliedStrokeWidth'],_0x4fcaa2['strokeWidth'][_0x3184b1(0x393)],_0x4fcaa2[_0x3184b1(0x408)]),!_0x4fcaa2[_0x3184b1(0x2c8)]&&_0x4fcaa2['element'][_0x3184b1(0x331)]['length']===0x0&&_0x4fcaa2[_0x3184b1(0x216)][_0x3184b1(0x157)](_0x3184b1(0x331)));});};}function _0x3a2522(_0x130c4f,_0x51d622){const _0x50a027=_0x229451;return{'priority':_0x130c4f['getPropertyPriority'](_0x51d622),'value':_0x130c4f[_0x50a027(0x21f)](_0x51d622)};}function _0x3de872(_0x5f5434,_0x2ae593,_0xce160f,_0x5ec62b,_0x2eceb4){const _0x3d3114=_0x229451;_0x5f5434['getPropertyValue'](_0x2ae593)===_0xce160f&&_0x5f5434[_0x3d3114(0x242)](_0x2ae593)===_0x5ec62b&&(_0x2eceb4[_0x3d3114(0x4c6)]?_0x5f5434[_0x3d3114(0x45c)](_0x2ae593,_0x2eceb4['value'],_0x2eceb4['priority']):_0x5f5434['removeProperty'](_0x2ae593));}_0x228fe5[_0x229451(0x18c)]=_0x229451(0x23d);let _0x3d58a8={'tag':_0x229451(0x140),'attrs':{'xmlns':_0x229451(0x4d5),'fill':_0x229451(0x384),'viewBox':_0x229451(0x2fc),'width':'1em','height':_0x229451(0x320)},'children':[{'tag':_0x229451(0x211),'attrs':{'fill':'currentColor','d':_0x229451(0x26f),'fillRule':'evenodd','clipRule':_0x229451(0x269)}},{'tag':_0x229451(0x211),'attrs':{'fill':'currentColor','d':_0x229451(0x307),'fillRule':'evenodd','clipRule':'evenodd'}},{'tag':_0x229451(0x211),'attrs':{'fill':_0x229451(0x2dd),'d':_0x229451(0x302)}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x229451(0x132)}}]},_0xc29b81=(0x0,_0x5ddce8[_0x229451(0x3ea)])(function(_0x25eec5,_0xb8c93c){const _0x1d72f4=_0x229451;return(0x0,_0x5ddce8[_0x1d72f4(0x41d)])(_0x228fe5,Object[_0x1d72f4(0x315)]({},_0x25eec5,{'id':_0x1d72f4(0x428),'ref':_0xb8c93c,'icon':_0x3d58a8}));});_0xc29b81[_0x229451(0x18c)]='BottomIcon';let _0x284620={'tag':_0x229451(0x140),'attrs':{'xmlns':_0x229451(0x4d5),'fill':_0x229451(0x384),'viewBox':_0x229451(0x4d1),'width':_0x229451(0x320),'height':'1em'},'children':[{'tag':_0x229451(0x211),'attrs':{'stroke':_0x229451(0x2dd),'d':_0x229451(0x1cb),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x229451(0x211),'attrs':{'stroke':_0x229451(0x2dd),'d':'M13.4\x203.3L9.8\x208L13.4\x2012.7V3.3Z','strokeLinecap':_0x229451(0x251),'strokeLinejoin':_0x229451(0x251),'strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':'currentColor','d':'M8\x202.2V3.8','strokeLinecap':_0x229451(0x251),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x229451(0x2dd),'d':_0x229451(0x3e1),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x229451(0x211),'attrs':{'stroke':_0x229451(0x2dd),'d':_0x229451(0x32c),'strokeLinecap':_0x229451(0x251),'strokeWidth':1.2}},{'tag':_0x229451(0x211),'attrs':{'stroke':_0x229451(0x2dd),'d':_0x229451(0x420),'strokeLinecap':_0x229451(0x251),'strokeWidth':1.2}}]},_0x418ef0=(0x0,_0x5ddce8[_0x229451(0x3ea)])(function(_0x429bc0,_0xf5764a){const _0x1c03bb=_0x229451;return(0x0,_0x5ddce8['createElement'])(_0x228fe5,Object['assign']({},_0x429bc0,{'id':_0x1c03bb(0x430),'ref':_0xf5764a,'icon':_0x284620}));});_0x418ef0[_0x229451(0x18c)]=_0x229451(0x4ae);let _0x338e1a={'tag':_0x229451(0x140),'attrs':{'xmlns':_0x229451(0x4d5),'fill':_0x229451(0x384),'viewBox':_0x229451(0x4d1),'width':_0x229451(0x320),'height':_0x229451(0x320)},'children':[{'tag':_0x229451(0x211),'attrs':{'stroke':'currentColor','d':_0x229451(0x288),'strokeLinecap':_0x229451(0x251),'strokeLinejoin':_0x229451(0x251),'strokeWidth':1.3}},{'tag':_0x229451(0x211),'attrs':{'stroke':_0x229451(0x2dd),'d':_0x229451(0x260),'strokeLinecap':_0x229451(0x251),'strokeLinejoin':_0x229451(0x251),'strokeWidth':1.3}},{'tag':_0x229451(0x211),'attrs':{'stroke':'currentColor','d':_0x229451(0x281),'strokeLinecap':_0x229451(0x251),'strokeWidth':1.2}},{'tag':_0x229451(0x211),'attrs':{'stroke':_0x229451(0x2dd),'d':_0x229451(0x36b),'strokeLinecap':_0x229451(0x251),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x229451(0x2dd),'d':'M10.2\x208H11.8','strokeLinecap':_0x229451(0x251),'strokeWidth':1.2}},{'tag':_0x229451(0x211),'attrs':{'stroke':_0x229451(0x2dd),'d':_0x229451(0x247),'strokeLinecap':_0x229451(0x251),'strokeWidth':1.2}}]},_0x247f26=(0x0,_0x5ddce8[_0x229451(0x3ea)])(function(_0x2f9002,_0x1f0786){const _0x1f35b8=_0x229451;return(0x0,_0x5ddce8[_0x1f35b8(0x41d)])(_0x228fe5,Object[_0x1f35b8(0x315)]({},_0x2f9002,{'id':_0x1f35b8(0xf7),'ref':_0x1f0786,'icon':_0x338e1a}));});_0x247f26['displayName']=_0x229451(0x448);let _0x55618c={'tag':'svg','attrs':{'xmlns':_0x229451(0x4d5),'fill':_0x229451(0x384),'viewBox':_0x229451(0x4d1),'width':'1em','height':_0x229451(0x320)},'children':[{'tag':'path','attrs':{'fill':_0x229451(0x2dd),'d':'M1.25\x202.96401C1.25\x203.84767\x201.96634\x204.56401\x202.85\x204.56401H13.15C14.0337\x204.56401\x2014.75\x203.84767\x2014.75\x202.96401C14.75\x202.08036\x2014.0337\x201.36401\x2013.15\x201.36401H2.85C1.96635\x201.36401\x201.25\x202.08036\x201.25\x202.96401ZM2.85\x203.36401C2.62909\x203.36401\x202.45\x203.18493\x202.45\x202.96401C2.45\x202.7431\x202.62909\x202.56401\x202.85\x202.56401H13.15C13.3709\x202.56401\x2013.55\x202.7431\x2013.55\x202.96401C13.55\x203.18493\x2013.3709\x203.36401\x2013.15\x203.36401H2.85Z','fillRule':_0x229451(0x269),'clipRule':_0x229451(0x269)}},{'tag':_0x229451(0x211),'attrs':{'fill':_0x229451(0x2dd),'d':_0x229451(0x42d)}}]},_0x8c7334=(0x0,_0x5ddce8[_0x229451(0x3ea)])(function(_0x5a0e47,_0x43c44c){const _0x27d973=_0x229451;return(0x0,_0x5ddce8['createElement'])(_0x228fe5,Object[_0x27d973(0x315)]({},_0x5a0e47,{'id':_0x27d973(0x13a),'ref':_0x43c44c,'icon':_0x55618c}));});_0x8c7334[_0x229451(0x18c)]=_0x229451(0x2be);let _0x42d7e1={'tag':_0x229451(0x140),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x229451(0x384),'viewBox':_0x229451(0x4d1),'width':_0x229451(0x320),'height':_0x229451(0x320)},'children':[{'tag':_0x229451(0x211),'attrs':{'fill':_0x229451(0x2dd),'d':_0x229451(0x470),'fillRule':'evenodd','clipRule':_0x229451(0x269)}},{'tag':_0x229451(0x211),'attrs':{'fill':'currentColor','d':_0x229451(0xf9)}}]},_0x5a6082=(0x0,_0x5ddce8[_0x229451(0x3ea)])(function(_0x466afe,_0x511188){const _0x5672eb=_0x229451;return(0x0,_0x5ddce8[_0x5672eb(0x41d)])(_0x228fe5,Object['assign']({},_0x466afe,{'id':_0x5672eb(0x3a5),'ref':_0x511188,'icon':_0x42d7e1}));});_0x5a6082[_0x229451(0x18c)]=_0x229451(0x2f6);let _0x263fb4={'tag':'svg','attrs':{'xmlns':_0x229451(0x4d5),'fill':_0x229451(0x384),'viewBox':_0x229451(0x4d1),'width':_0x229451(0x320),'height':_0x229451(0x320)},'children':[{'tag':'path','attrs':{'stroke':_0x229451(0x2dd),'d':_0x229451(0x371),'strokeLinecap':_0x229451(0x251),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x229451(0x2dd),'d':'m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','strokeLinecap':_0x229451(0x251),'strokeLinejoin':_0x229451(0x251),'strokeWidth':1.3}}]},_0x2f8e4b=(0x0,_0x5ddce8[_0x229451(0x3ea)])(function(_0x3417cd,_0x3c1600){const _0x5f35fe=_0x229451;return(0x0,_0x5ddce8[_0x5f35fe(0x41d)])(_0x228fe5,Object[_0x5f35fe(0x315)]({},_0x3417cd,{'id':'object-layers-icon','ref':_0x3c1600,'icon':_0x263fb4}));});_0x2f8e4b['displayName']=_0x229451(0x40e);let _0x3265cb={'tag':'svg','attrs':{'xmlns':_0x229451(0x4d5),'fill':'none','viewBox':_0x229451(0x4d1),'width':_0x229451(0x320),'height':'1em'},'children':[{'tag':_0x229451(0x211),'attrs':{'stroke':_0x229451(0x2dd),'d':_0x229451(0xec),'strokeLinecap':_0x229451(0x251),'strokeLinejoin':_0x229451(0x251),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x229451(0x2dd),'d':_0x229451(0x3fe),'strokeLinecap':_0x229451(0x251),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x229451(0x2dd),'d':_0x229451(0x3da),'strokeLinecap':_0x229451(0x251),'strokeWidth':1.2}},{'tag':_0x229451(0x211),'attrs':{'stroke':'currentColor','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':_0x229451(0x211),'attrs':{'stroke':_0x229451(0x2dd),'d':_0x229451(0x4cb)}}]},_0x38e4aa=(0x0,_0x5ddce8[_0x229451(0x3ea)])(function(_0x46c111,_0x4cd7d8){const _0x434c1b=_0x229451;return(0x0,_0x5ddce8[_0x434c1b(0x41d)])(_0x228fe5,Object[_0x434c1b(0x315)]({},_0x46c111,{'id':_0x434c1b(0x1c5),'ref':_0x4cd7d8,'icon':_0x3265cb}));});_0x38e4aa[_0x229451(0x18c)]='ShapeFormatSettingIcon';let _0x10fe08={'tag':_0x229451(0x140),'attrs':{'xmlns':_0x229451(0x4d5),'fill':_0x229451(0x384),'viewBox':'0\x200\x2017\x2016','width':_0x229451(0x320),'height':'1em'},'children':[{'tag':_0x229451(0x211),'attrs':{'fill':_0x229451(0x2dd),'d':_0x229451(0x3fb)}},{'tag':_0x229451(0x211),'attrs':{'fill':'currentColor','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':_0x229451(0x211),'attrs':{'fill':_0x229451(0x2dd),'d':_0x229451(0xf5),'fillRule':'evenodd','clipRule':_0x229451(0x269)}}]},_0x8201a2=(0x0,_0x5ddce8[_0x229451(0x3ea)])(function(_0xddfb7a,_0x3191d6){const _0x2d7c2f=_0x229451;return(0x0,_0x5ddce8[_0x2d7c2f(0x41d)])(_0x228fe5,Object[_0x2d7c2f(0x315)]({},_0xddfb7a,{'id':_0x2d7c2f(0x1b6),'ref':_0x3191d6,'icon':_0x10fe08}));});_0x8201a2[_0x229451(0x18c)]='TopmostIcon';function _0x37e0b2(_0x235391){const _0x1a9cf6=_0x229451;return _0x235391[_0x1a9cf6(0x29b)]()||void 0x0;}function _0x108215(_0x20d737,_0x1beea5,_0x436b4f){const _0x70ba2b=_0x229451;var _0x4f1833;return((_0x4f1833=_0x20d737[_0x70ba2b(0x146)])==null?void 0x0:_0x4f1833[_0x70ba2b(0x29b)]())||_0x436b4f['t']('drawing-ui.objectListPanel.typeNames.'+(0x0,_0x478c88['getDrawingTypeNameKey'])(_0x20d737[_0x70ba2b(0x38d)]))+'\x20'+(_0x1beea5+0x1);}function _0x2907cc({PanelComponent:_0xbe5575=_0x359560[_0x229451(0x37f)]}){const _0x54fcad=_0x229451;var _0x3908b4;let _0x1fbec6=(0x0,_0x45c65a[_0x54fcad(0x1d6)])(_0x4a54e1[_0x54fcad(0x1c1)]),_0x36fadb={'title':_0x1fbec6['t'](_0x54fcad(0x28d)),'empty':_0x1fbec6['t'](_0x54fcad(0x107)),'showAll':_0x1fbec6['t'](_0x54fcad(0x4b9)),'hideAll':_0x1fbec6['t'](_0x54fcad(0x1e4)),'lockAll':_0x1fbec6['t'](_0x54fcad(0x47d)),'unlockAll':_0x1fbec6['t'](_0x54fcad(0x386)),'moveForward':_0x1fbec6['t'](_0x54fcad(0x404)),'moveBackward':_0x1fbec6['t']('drawing-ui.objectListPanel.moveBackward'),'close':_0x1fbec6['t'](_0x54fcad(0x299)),'show':_0x1fbec6['t']('drawing-ui.objectListPanel.show'),'hide':_0x1fbec6['t'](_0x54fcad(0x36c)),'lock':_0x1fbec6['t'](_0x54fcad(0x312)),'unlock':_0x1fbec6['t'](_0x54fcad(0x3f3)),'lockHint':_0x1fbec6['t'](_0x54fcad(0x3d5)),'unlockHint':_0x1fbec6['t'](_0x54fcad(0x218)),'name':_0x1fbec6['t'](_0x54fcad(0x3a7)),'nameInput':_0x1fbec6['t'](_0x54fcad(0x47f)),'description':_0x1fbec6['t'](_0x54fcad(0x484)),'descriptionPlaceholder':_0x1fbec6['t']('drawing-ui.objectListPanel.descriptionPlaceholder'),'details':_0x1fbec6['t'](_0x54fcad(0x31f)),'noSelection':_0x1fbec6['t'](_0x54fcad(0x259)),'locate':_0x1fbec6['t']('drawing-ui.objectListPanel.locate'),'expand':_0x1fbec6['t']('drawing-ui.objectListPanel.expand'),'collapse':_0x1fbec6['t'](_0x54fcad(0x2c2)),'dragToReorder':_0x1fbec6['t'](_0x54fcad(0x4b2)),'search':_0x1fbec6['t'](_0x54fcad(0x1d4)),'filterAll':_0x1fbec6['t'](_0x54fcad(0x1e1)),'filterHidden':_0x1fbec6['t'](_0x54fcad(0x498)),'filterLocked':_0x1fbec6['t'](_0x54fcad(0x402)),'sectionCanvas':_0x1fbec6['t'](_0x54fcad(0x497)),'sectionFloating':_0x1fbec6['t']('drawing-ui.objectListPanel.sectionFloating')},_0x2249bb=(0x0,_0x45c65a[_0x54fcad(0x1d6)])(_0x4a54e1['ICommandService']),_0x4fab98=(0x0,_0x45c65a[_0x54fcad(0x1d6)])(_0x4a54e1['IUniverInstanceService']),_0x2502f6=(0x0,_0x45c65a[_0x54fcad(0x1d6)])(_0xe8736[_0x54fcad(0xfe)]),_0x2fff30=(0x0,_0x45c65a[_0x54fcad(0x1d6)])(_0x46a31d[_0x54fcad(0x309)]),_0x270866=(0x0,_0x45c65a[_0x54fcad(0x1d6)])(_0x163b80[_0x54fcad(0x3fd)]),[,_0x312627]=(0x0,_0x5ddce8['useReducer'])(_0x17b0d4=>_0x17b0d4+0x1,0x0),_0x264e59=_0x4fab98[_0x54fcad(0x215)](_0x4a54e1[_0x54fcad(0x1c7)][_0x54fcad(0x3f4)]),_0x20fffe=(_0x264e59==null?void 0x0:_0x264e59[_0x54fcad(0x158)]())??'',_0x2ddafa=(_0x264e59==null||(_0x3908b4=_0x264e59['getActiveSheet']())==null?void 0x0:_0x3908b4[_0x54fcad(0x452)]())??'',_0xf33c0d=(0x0,_0x45c65a[_0x54fcad(0x33f)])(()=>_0x2fff30[_0x54fcad(0xef)],_0x2fff30[_0x54fcad(0x382)](),!0x1,[_0x2fff30]);(0x0,_0x5ddce8['useEffect'])(()=>{const _0xe2e389=_0x54fcad;let _0x4f5061=_0x2249bb[_0xe2e389(0x367)](()=>_0x312627());return()=>_0x4f5061[_0xe2e389(0x138)]();},[_0x2249bb]);let _0x34c063=_0x20fffe&&_0x2ddafa?_0x2502f6[_0x54fcad(0x1f9)](_0x20fffe,_0x2ddafa):{},_0x3797b1=(_0x20fffe&&_0x2ddafa?_0x2502f6[_0x54fcad(0x207)](_0x20fffe,_0x2ddafa):[])[_0x54fcad(0x1e8)](_0x265e2f=>_0x34c063[_0x265e2f])[_0x54fcad(0x308)](_0x2b4112=>!!_0x2b4112)[_0x54fcad(0x3e9)](),_0x53c18a=_0x3797b1[_0x54fcad(0x166)]((_0x154508,_0x5d2d78)=>(_0x154508[(0x0,_0x359560[_0x54fcad(0x3f2)])(_0x5d2d78[_0x54fcad(0x38d)])]+=0x1,_0x154508),{'canvas':0x0,'floating':0x0}),_0x702ece={'canvas':0x0,'floating':0x0},_0x2d1c0c=_0x3797b1[_0x54fcad(0x1e8)]((_0x4230ff,_0x1f923c)=>{const _0x4afc45=_0x54fcad;let _0x41ea63=(0x0,_0x359560[_0x4afc45(0x3f2)])(_0x4230ff[_0x4afc45(0x38d)]),_0x49f917=_0x41ea63===_0x359560[_0x4afc45(0x4c3)],_0x44ed83=_0x702ece[_0x41ea63]++;return{'id':_0x4230ff[_0x4afc45(0x214)],'name':_0x108215(_0x4230ff,_0x1f923c,_0x1fbec6),'description':_0x4230ff[_0x4afc45(0x444)],'visible':_0x4230ff['hidden']!==!0x0,'selectable':_0x4230ff['selectable']!==!0x1,'sectionId':_0x41ea63,'sectionTitle':_0x49f917?_0x36fadb[_0x4afc45(0x4c2)]:_0x36fadb[_0x4afc45(0x475)],'capabilities':_0x49f917?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x49f917&&_0x44ed83>0x0,'canMoveBackward':!_0x49f917&&_0x44ed83<_0x53c18a[_0x4afc45(0x407)]-0x1,'canReorder':!_0x49f917};}),_0xe6a508=(0x0,_0x5ddce8['useMemo'])(()=>(_0xf33c0d??[])['filter'](_0x17d1ec=>_0x17d1ec['unitId']===_0x20fffe&&_0x17d1ec[_0x54fcad(0x2b1)]===_0x2ddafa)['map'](_0x45731c=>_0x45731c[_0x54fcad(0x214)]),[_0xf33c0d,_0x2ddafa,_0x20fffe]),_0x10cf35=_0xe6a508[_0xe6a508[_0x54fcad(0x31c)]-0x1]??null,_0x4b4305=_0x510a3c=>_0x2502f6['getDrawingByParam']({'unitId':_0x20fffe,'subUnitId':_0x2ddafa,'drawingId':_0x510a3c})??null,_0x3dded1=async _0x2d9b60=>{const _0x6d0837=_0x54fcad;_0x20fffe&&_0x2d9b60['length']&&await _0x2249bb[_0x6d0837(0x22f)](_0xe8736['SetSheetDrawingCommand']['id'],{'unitId':_0x20fffe,'drawings':_0x2d9b60});},_0x198c28=async(_0x211860,_0x7f2255)=>{_0x4b4305(_0x211860)&&await _0x3dded1([{'unitId':_0x20fffe,'subUnitId':_0x2ddafa,'drawingId':_0x211860,..._0x7f2255}]);},_0x35f5bd=(_0x16b867,_0x544a3a)=>{const _0x4e37ca=_0x54fcad;if(!_0x20fffe||!_0x2ddafa)return;let _0x509fd5=_0x544a3a?_0xe6a508['includes'](_0x16b867)?_0xe6a508[_0x4e37ca(0x308)](_0x16d3e2=>_0x16d3e2!==_0x16b867):[..._0xe6a508,_0x16b867]:[_0x16b867];_0x2249bb[_0x4e37ca(0x414)](_0x46a31d[_0x4e37ca(0x20b)]['id'],_0x509fd5['map'](_0x552b19=>({'unitId':_0x20fffe,'subUnitId':_0x2ddafa,'drawingId':_0x552b19})));let _0x1088ba=_0x509fd5[_0x509fd5[_0x4e37ca(0x31c)]-0x1];_0x1088ba?(0x0,_0x478c88[_0x4e37ca(0x3ff)])(_0x270866,{'unitId':_0x20fffe,'subUnitId':_0x2ddafa,'drawingId':_0x1088ba}):(0x0,_0x478c88[_0x4e37ca(0x446)])(_0x270866,_0x20fffe);},_0x4bd741=async(_0x3d2421,_0x2c3c34)=>{const _0x44d94d=_0x54fcad;await _0x3dded1(_0x3d2421[_0x44d94d(0x1e8)](_0x2a7768=>_0x4b4305(_0x2a7768))[_0x44d94d(0x308)](_0x54c002=>!!_0x54c002)['filter'](_0x330f95=>_0x330f95[_0x44d94d(0x2b5)]!==!0x0!==_0x2c3c34)[_0x44d94d(0x1e8)](_0x46d0dc=>({'unitId':_0x20fffe,'subUnitId':_0x2ddafa,'drawingId':_0x46d0dc[_0x44d94d(0x214)],'hidden':!_0x2c3c34})));},_0x1e8e78=async(_0x5c1ac1,_0x4abb38)=>{const _0x3e3f36=_0x54fcad;await _0x3dded1(_0x5c1ac1[_0x3e3f36(0x1e8)](_0x4d3700=>_0x4b4305(_0x4d3700))[_0x3e3f36(0x308)](_0x361bef=>!!_0x361bef)['filter'](_0x4d7d50=>_0x4d7d50[_0x3e3f36(0x3b6)]!==!0x1!==_0x4abb38)[_0x3e3f36(0x1e8)](_0x51efcc=>({'unitId':_0x20fffe,'subUnitId':_0x2ddafa,'drawingId':_0x51efcc[_0x3e3f36(0x214)],'selectable':_0x4abb38})));},_0x2bd0df=_0x1f8629=>{const _0x2f3165=_0x54fcad;let _0x39cc65=_0x4b4305(_0x1f8629);if(_0x39cc65)return _0x1e8e78([_0x1f8629],_0x39cc65[_0x2f3165(0x3b6)]===!0x1);},_0x2bf34c=async(_0x375737,_0x1a0999)=>{const _0x5ac25a=_0x54fcad;var _0x2a4e0a;let _0x5b68aa=_0x37e0b2(_0x1a0999);(((_0x2a4e0a=_0x4b4305(_0x375737))==null?void 0x0:_0x2a4e0a[_0x5ac25a(0x146)])??void 0x0)!==_0x5b68aa&&await _0x198c28(_0x375737,{'name':_0x5b68aa});},_0x91595a=async(_0x3e035,_0x899217)=>{var _0x5a5b7f;let _0x34d432=_0x37e0b2(_0x899217);(((_0x5a5b7f=_0x4b4305(_0x3e035))==null?void 0x0:_0x5a5b7f['description'])??void 0x0)!==_0x34d432&&await _0x198c28(_0x3e035,{'description':_0x34d432});},_0x59feac=async(_0x17d0d7,_0x32ff90)=>{const _0x2c7875=_0x54fcad;_0x20fffe&&_0x2ddafa&&await _0x2249bb[_0x2c7875(0x22f)](_0xe8736[_0x2c7875(0x43d)]['id'],{'unitId':_0x20fffe,'subUnitId':_0x2ddafa,'drawingIds':[_0x17d0d7],'arrangeType':_0x32ff90});};return!_0x20fffe||!_0x2ddafa?(0x0,_0x5818ca[_0x54fcad(0x1c0)])(_0x54fcad(0x362),{'className':_0x54fcad(0x49b),'children':_0x36fadb[_0x54fcad(0x1d2)]}):(0x0,_0x5818ca[_0x54fcad(0x1c0)])(_0xbe5575,{'labels':_0x36fadb,'items':_0x2d1c0c,'selectedIds':_0xe6a508,'focusedId':_0x10cf35,'showHeader':!0x1,'onSelect':_0x35f5bd,'onSetVisible':_0x4bd741,'onSetSelectable':_0x1e8e78,'onCommitName':_0x2bf34c,'onCommitDescription':_0x91595a,'onMoveForward':async _0xb9a40d=>_0x59feac(_0xb9a40d,_0x4a54e1[_0x54fcad(0x1ec)][_0x54fcad(0x1f0)]),'onMoveBackward':async _0x593eda=>_0x59feac(_0x593eda,_0x4a54e1[_0x54fcad(0x1ec)]['backward']),'onToggleSelectable':_0x2bd0df});}function _0x41a823(){const _0xf662ee=_0x229451;return(0x0,_0x5818ca['jsx'])(_0x2907cc,{'PanelComponent':_0x359560[_0xf662ee(0x151)]});}let _0x3dd74c=class extends _0x4a54e1['Disposable']{constructor(_0x503900,_0x347738){const _0x50039b=_0x229451;super(),this[_0x50039b(0x223)](_0x503900[_0x50039b(0x17b)](_0x3fbbc0,_0x41a823)),this[_0x50039b(0x223)](_0x347738[_0x50039b(0x17b)]({'BottomIcon':_0xc29b81,'FlipHorizontalIcon':_0x418ef0,'FlipVerticalIcon':_0x247f26,'MoveDownIcon':_0x8c7334,'MoveUpIcon':_0x5a6082,'ObjectLayersIcon':_0x2f8e4b,'ShapeFormatSettingIcon':_0x38e4aa,'TopmostIcon':_0x8201a2})),this[_0x50039b(0x223)](_0x503900['register'](_0x8f21ab,_0x284948)),this['disposeWithMe'](_0x503900[_0x50039b(0x17b)](_0x10d02c,_0x5da34d)),_0x503900['hasDefault'](_0x359560['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'])||this[_0x50039b(0x223)](_0x503900[_0x50039b(0x17b)](_0x359560[_0x50039b(0x3cd)],_0x2f4b88));}};_0x3dd74c=_0x3f173a([_0x1c0f1c(0x0,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x45c65a[_0x229451(0x27e)])),_0x1c0f1c(0x1,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x45c65a['IconManager']))],_0x3dd74c);let _0x3b44ca=class extends _0x4a54e1[_0x229451(0x2e0)]{constructor(_0x15ed9a){const _0x25d314=_0x229451;super(),this[_0x25d314(0x2eb)]=_0x15ed9a,_0x2624fb(this,_0x25d314(0x1f5),new _0x393422['BehaviorSubject'](null)),_0x2624fb(this,_0x25d314(0x16a),this[_0x25d314(0x1f5)]['asObservable']()),_0x2624fb(this,_0x25d314(0x2b9),new _0x393422[(_0x25d314(0x23a))](!0x1)),_0x2624fb(this,_0x25d314(0x485),this[_0x25d314(0x2b9)]['asObservable']()),_0x2624fb(this,_0x25d314(0x461),void 0x0),this[_0x25d314(0x223)](this[_0x25d314(0x2eb)][_0x25d314(0x310)][_0x25d314(0x3ae)](()=>{const _0x27d1a9=_0x25d314;let _0x16ca92=this[_0x27d1a9(0x163)]();_0x16ca92!=null&&_0x16ca92['visible']&&!this['_canEdit'](_0x16ca92)&&this[_0x27d1a9(0x495)](null);}));}[_0x229451(0x138)](){const _0x158183=_0x229451;this['_clearCompletionFrame'](),this[_0x158183(0x1f5)][_0x158183(0x2f2)](null),this['_editingParams$']['complete'](),this[_0x158183(0x2b9)][_0x158183(0x2f2)](!0x1),this[_0x158183(0x2b9)][_0x158183(0x19e)](),super['dispose']();}[_0x229451(0x495)](_0x25e308){const _0xc243d=_0x229451;(_0x25e308==null||!_0x25e308[_0xc243d(0x439)]||this[_0xc243d(0x1f6)](_0x25e308))&&(this['_clearCompletionFrame'](),this[_0xc243d(0x1f5)][_0xc243d(0x2f2)](_0x25e308),(_0x25e308==null||_0x25e308['visible']&&this[_0xc243d(0x2b9)][_0xc243d(0x32b)]())&&this[_0xc243d(0x2b9)][_0xc243d(0x2f2)](!0x1));}[_0x229451(0x1a2)](_0x44178c){const _0x510b49=_0x229451;this[_0x510b49(0x2b9)][_0x510b49(0x2f2)](_0x44178c);}[_0x229451(0x163)](){const _0x5df38d=_0x229451;return this[_0x5df38d(0x1f5)][_0x5df38d(0x32b)]();}[_0x229451(0x1f6)](_0x59d88b){const _0x446f15=_0x229451;let _0x4afad4=this[_0x446f15(0x2eb)][_0x446f15(0x173)](new _0x517d2f[(_0x446f15(0x1a8))](_0x59d88b[_0x446f15(0x2d6)])['id']),_0x807809=this[_0x446f15(0x2eb)]['getPermissionPoint'](new _0x517d2f['WorksheetEditPermission'](_0x59d88b['unitId'],_0x59d88b[_0x446f15(0x2b1)])['id']);return((_0x4afad4==null?void 0x0:_0x4afad4[_0x446f15(0x4c6)])??!0x0)&&((_0x807809==null?void 0x0:_0x807809[_0x446f15(0x4c6)])??!0x0);}['completeEditing'](_0x2e33f3){const _0x1238f5=_0x229451;let _0x394228=this['getEditing']();_0x394228&&this[_0x1238f5(0x461)]===void 0x0&&(this[_0x1238f5(0x1a2)](!0x0),this[_0x1238f5(0x461)]=requestAnimationFrame(()=>{const _0x518995=_0x1238f5;this['_completionFrame']=void 0x0,this['getEditing']()===_0x394228&&this[_0x518995(0x495)](null);}));}['_clearCompletionFrame'](){const _0x3842e5=_0x229451;this['_completionFrame']!==void 0x0&&(cancelAnimationFrame(this[_0x3842e5(0x461)]),this[_0x3842e5(0x461)]=void 0x0);}['cancelEditing'](){const _0x465eca=_0x229451;this[_0x465eca(0x163)]()&&this[_0x465eca(0x495)](null);}};_0x3b44ca=_0x3f173a([_0x1c0f1c(0x0,_0x4a54e1[_0x229451(0x4a3)])],_0x3b44ca);let _0xd601cc=class extends _0x4a54e1[_0x229451(0x2e0)]{constructor(_0x551b74,_0x2392e7,_0x454577,_0x2210da,_0x329a80,_0x1f6b7c){const _0x26ab20=_0x229451;super(),this[_0x26ab20(0xe8)]=_0x551b74,this[_0x26ab20(0x1be)]=_0x2392e7,this['_shapeTextEditingService']=_0x454577,this['_drawingManagerService']=_0x2210da,this[_0x26ab20(0x3ad)]=_0x329a80,this[_0x26ab20(0x26a)]=_0x1f6b7c,_0x2624fb(this,_0x26ab20(0x48b),null),this[_0x26ab20(0x39a)](),this['_initSelection'](),this['_initEditingParams']();}['_initEvents'](){const _0x1ddef5=_0x229451;let {scene:_0x29b73d}=this[_0x1ddef5(0xe8)];this[_0x1ddef5(0x223)](_0x29b73d[_0x1ddef5(0x3ab)]['subscribeEvent'](_0x470935=>{const _0x426d71=_0x1ddef5;let {offsetX:_0x37c5ce,offsetY:_0x3b2e71}=_0x470935,_0xf6686e=_0x29b73d['pick'](_0x163b80[_0x426d71(0x231)][_0x426d71(0x19c)]([_0x37c5ce,_0x3b2e71]));if(_0xf6686e instanceof _0x229110){let _0x3a1d40=this[_0x426d71(0x26a)]['getShapeModel'](_0xf6686e[_0x426d71(0x2d6)],_0xf6686e[_0x426d71(0x2b1)],_0xf6686e[_0x426d71(0x4a7)]);if((0x0,_0x163f94[_0x426d71(0x28e)])(this['_sheetsShapeService'][_0x426d71(0xf3)](_0xf6686e[_0x426d71(0x2d6)],_0xf6686e[_0x426d71(0x2b1)],_0xf6686e[_0x426d71(0x4a7)]))||_0x3a1d40!=null&&_0x3a1d40[_0x426d71(0x361)]()[_0x426d71(0x2c0)])return;this[_0x426d71(0x416)][_0x426d71(0x495)]({'visible':!0x0,'unitId':_0xf6686e[_0x426d71(0x2d6)],'subUnitId':_0xf6686e[_0x426d71(0x2b1)],'shapeId':_0xf6686e[_0x426d71(0x4a7)],'shapeKey':_0xf6686e['oKey']});}}));}[_0x229451(0x2c4)](){const _0x4e4142=_0x229451;this['disposeWithMe'](this['_drawingManagerService']['focus$'][_0x4e4142(0x3ae)](_0x393614=>{const _0x58192d=_0x4e4142;if(_0x393614[_0x58192d(0x31c)]===0x1){let _0x28405b=_0x393614[0x0],_0x2eb2ab=this[_0x58192d(0x109)]['getDrawingByParam'](_0x28405b);if((_0x2eb2ab==null?void 0x0:_0x2eb2ab[_0x58192d(0x38d)])===_0x4a54e1['DrawingTypeEnum']['DRAWING_SHAPE']){var _0x5794d9;let _0x2f07da=this['_shapeTextEditingService'][_0x58192d(0x163)]();if((_0x2f07da==null?void 0x0:_0x2f07da[_0x58192d(0x4a7)])===_0x28405b[_0x58192d(0x214)]&&_0x2f07da['visible'])return;let _0x117281=(0x0,_0x163f94[_0x58192d(0x28e)])(this[_0x58192d(0x26a)]['getShapeType'](_0x28405b[_0x58192d(0x2d6)],_0x28405b[_0x58192d(0x2b1)],_0x28405b[_0x58192d(0x214)])),_0x3bd9c8=!!((_0x5794d9=this['_sheetsShapeService'][_0x58192d(0x12f)](_0x28405b[_0x58192d(0x2d6)],_0x28405b['subUnitId'],_0x28405b['drawingId']))!=null&&_0x5794d9[_0x58192d(0x361)]()[_0x58192d(0x2c0)]);(_0x117281||_0x3bd9c8)&&this['_shapeTextEditingService'][_0x58192d(0x495)](null);}else this[_0x58192d(0x416)]['completeEditing']();}else this[_0x58192d(0x416)][_0x58192d(0x1b9)]();})),this[_0x4e4142(0x223)](this[_0x4e4142(0x109)][_0x4e4142(0x1bf)][_0x4e4142(0x3ae)](_0x2855ae=>{const _0x3a0a56=_0x4e4142;let _0x16ad63=this['_shapeTextEditingService'][_0x3a0a56(0x163)]();_0x16ad63&&_0x2855ae[_0x3a0a56(0x4a6)](_0x1925c6=>_0x1925c6[_0x3a0a56(0x214)]===_0x16ad63[_0x3a0a56(0x4a7)])&&this[_0x3a0a56(0x416)][_0x3a0a56(0x495)](null);}));}[_0x229451(0x40d)](){const _0x319e80=_0x229451;this[_0x319e80(0x223)](this[_0x319e80(0x416)][_0x319e80(0x16a)][_0x319e80(0x3ae)](_0x137fad=>{const _0x155ebb=_0x319e80;let {scene:_0x19d475}=this['_context'];if(this['_lastEditingShapeKey']){let _0x1f4034=_0x19d475[_0x155ebb(0x105)](this['_lastEditingShapeKey']);_0x1f4034&&_0x1f4034[_0x155ebb(0x495)](!0x1);}if(_0x137fad){let _0x539bc=!!_0x137fad['visible'],_0x1245bb=_0x19d475[_0x155ebb(0x105)](_0x137fad[_0x155ebb(0x122)]);_0x1245bb&&(_0x1245bb[_0x155ebb(0x495)](_0x539bc),this[_0x155ebb(0x48b)]=_0x137fad['shapeKey']),this[_0x155ebb(0x3ad)][_0x155ebb(0x20f)](_0x4a54e1['FOCUSING_SHAPE_TEXT_EDITOR'],_0x539bc);}else this[_0x155ebb(0x48b)]=null,this[_0x155ebb(0x3ad)][_0x155ebb(0x20f)](_0x4a54e1['FOCUSING_SHAPE_TEXT_EDITOR'],!0x1);}));}};_0xd601cc=_0x3f173a([_0x1c0f1c(0x1,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x4a54e1['Injector'])),_0x1c0f1c(0x2,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x3b44ca)),_0x1c0f1c(0x3,_0x46a31d[_0x229451(0x309)]),_0x1c0f1c(0x4,_0x4a54e1[_0x229451(0x306)]),_0x1c0f1c(0x5,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x4d9a77[_0x229451(0x24a)]))],_0xd601cc);var _0x5391f4=class extends _0xd601cc{[_0x229451(0x39a)](){const _0x38d80c=_0x229451;let {scene:_0x36ef86}=this[_0x38d80c(0xe8)],_0x3acab9=this['_injector'][_0x38d80c(0x44d)](_0x478c88['MobileShapeEditorService']);this[_0x38d80c(0x223)](_0x36ef86[_0x38d80c(0x3ab)]['subscribeEvent'](_0x2d968a=>{const _0x457bae=_0x38d80c;let {offsetX:_0x87734b,offsetY:_0x9c919f}=_0x2d968a,_0x26bdfe=_0x36ef86[_0x457bae(0x3b7)](_0x163b80[_0x457bae(0x231)]['FromArray']([_0x87734b,_0x9c919f]));if(!(_0x26bdfe instanceof _0x229110))return;let _0x4378ca=this[_0x457bae(0x26a)][_0x457bae(0x12f)](_0x26bdfe[_0x457bae(0x2d6)],_0x26bdfe['subUnitId'],_0x26bdfe['shapeId']);(0x0,_0x163f94['isConnectorShape'])(this[_0x457bae(0x26a)][_0x457bae(0xf3)](_0x26bdfe[_0x457bae(0x2d6)],_0x26bdfe[_0x457bae(0x2b1)],_0x26bdfe[_0x457bae(0x4a7)]))||_0x4378ca!=null&&_0x4378ca[_0x457bae(0x361)]()[_0x457bae(0x2c0)]||_0x3acab9[_0x457bae(0xf0)](_0x457bae(0x422),{'hostType':_0x4a54e1[_0x457bae(0x1c7)][_0x457bae(0x3f4)],'unitId':_0x26bdfe[_0x457bae(0x2d6)],'subUnitId':_0x26bdfe[_0x457bae(0x2b1)],'shapeId':_0x26bdfe['shapeId']});}));}};let _0x318847={..._0x368a48},_0x5b0733=class extends _0x4a54e1[_0x229451(0x2e0)]{constructor(_0x42caa8,_0x1a0a33,_0x4f9609,_0xc5d912,_0x424508,_0x44c302,_0x3dd32a,_0x62f440){const _0x54034b=_0x229451;super(),this[_0x54034b(0x42b)]=_0x42caa8,this[_0x54034b(0x26a)]=_0x1a0a33,this[_0x54034b(0x25c)]=_0x4f9609,this[_0x54034b(0x109)]=_0xc5d912,this[_0x54034b(0xf6)]=_0x424508,this[_0x54034b(0x3ad)]=_0x44c302,this[_0x54034b(0x3a6)]=_0x3dd32a,this[_0x54034b(0x416)]=_0x62f440,_0x2624fb(this,_0x54034b(0x46b),null),this[_0x54034b(0x42b)][_0x54034b(0x2f1)](_0x318847),this[_0x54034b(0xfd)](),this[_0x54034b(0x223)](this[_0x54034b(0x416)][_0x54034b(0x16a)]['subscribe'](_0x17bec7=>{const _0x199d8=_0x54034b;_0x17bec7&&this[_0x199d8(0x41b)]();}));}[_0x229451(0x10d)](){const _0x56b90a=_0x229451;this[_0x56b90a(0x46b)]||=this['disposeWithMe']((0x0,_0x478c88[_0x56b90a(0x437)])(this[_0x56b90a(0x3a6)],_0x4a54e1['UniverInstanceType'][_0x56b90a(0x3f4)],_0x4edb93=>this[_0x56b90a(0x383)](_0x4edb93)));}['_registerFeatureMenu'](){const _0x5974e7=_0x229451;this[_0x5974e7(0xf6)][_0x5974e7(0x290)](_0x4a54e1['DrawingTypeEnum']['DRAWING_SHAPE'],(_0x3f5805,_0x417109,_0x2bdce0,_0x28ad08)=>{const _0x34fbf8=_0x5974e7;let _0x281040=this[_0x34fbf8(0x26a)][_0x34fbf8(0x253)](_0x3f5805,_0x417109,_0x2bdce0),_0x522342=this['_sheetsShapeService']['getShapeDataById'](_0x3f5805,_0x417109,_0x2bdce0),_0x128b9e=_0x281040!==void 0x0&&!(0x0,_0x163f94[_0x34fbf8(0x28e)])(_0x281040)&&!(_0x522342!=null&&_0x522342['formulaBinding']);return[{'label':_0x34fbf8(0x2bf),'index':0x0,'commandId':_0x257d23['id'],'commandParams':{'unitId':_0x3f5805,'subUnitId':_0x417109,'drawingId':_0x2bdce0,'mode':_0x34fbf8(0x331)},'disable':!0x1},..._0x128b9e?[{'label':_0x34fbf8(0x400),'index':0x1,'commandId':_0x257d23['id'],'commandParams':{'unitId':_0x3f5805,'subUnitId':_0x417109,'drawingId':_0x2bdce0,'mode':_0x34fbf8(0x422)},'disable':!0x1}]:[],{'label':_0x34fbf8(0x3c5),'index':0x2,'commandId':_0xe8736[_0x34fbf8(0x33a)]['id'],'commandParams':{'unitId':_0x3f5805,'drawings':[{'unitId':_0x3f5805,'subUnitId':_0x417109,'drawingId':_0x2bdce0,'drawingType':_0x28ad08}]},'disable':!0x1},{'label':_0x34fbf8(0x179),'index':0x3,'commandId':_0x4d9a77[_0x34fbf8(0x464)]['id'],'commandParams':{'unitId':_0x3f5805,'subUnitId':_0x417109,'shapeId':_0x2bdce0,'flipH':!0x0},'disable':!0x1},{'label':_0x34fbf8(0x202),'index':0x4,'commandId':_0x4d9a77[_0x34fbf8(0x464)]['id'],'commandParams':{'unitId':_0x3f5805,'subUnitId':_0x417109,'shapeId':_0x2bdce0,'flipV':!0x0},'disable':!0x1}];},_0x5974e7(0x153));}[_0x229451(0x383)](_0x3f14ef){const _0x2d44ac=_0x229451;let _0x4b196e=new _0x4a54e1[(_0x2d44ac(0x370))](),_0x18540b=null,_0x1b960b=()=>{const _0x307e75=_0x2d44ac;if(!_0x18540b)return;let _0x468718=this[_0x307e75(0x109)][_0x307e75(0x382)](),_0x3337ca=_0x468718[_0x307e75(0x31c)]===0x0||_0x468718[_0x307e75(0x31c)]===0x1&&_0x468718[_0x307e75(0x4a6)](_0x196b66=>_0x196b66[_0x307e75(0x2d6)]===(_0x18540b==null?void 0x0:_0x18540b['unitId'])&&_0x196b66[_0x307e75(0x2b1)]===(_0x18540b==null?void 0x0:_0x18540b['subUnitId'])&&_0x196b66[_0x307e75(0x214)]===(_0x18540b==null?void 0x0:_0x18540b[_0x307e75(0x214)]));_0x18540b=null,_0x3337ca&&(this[_0x307e75(0x3ad)][_0x307e75(0x20f)](_0x4a54e1[_0x307e75(0x2cf)],!0x1),this[_0x307e75(0x109)]['focusDrawing'](null));};return _0x4b196e['add'](_0x3f14ef['createControl$']['subscribe'](()=>{const _0x4b8593=_0x2d44ac;let _0x19ad18=_0x3f14ef['getSelectedObjectMap']();if(_0x19ad18[_0x4b8593(0x4ce)]>0x1){_0x1b960b();return;}let _0x94c6d1=_0x19ad18[_0x4b8593(0x3f9)]()['next']()[_0x4b8593(0x4c6)];if(!_0x94c6d1){_0x1b960b();return;}let _0x4a535c=this['_drawingManagerService']['getDrawingOKey'](_0x94c6d1['oKey']);if(!_0x4a535c||_0x4a535c['drawingType']!==_0x4a54e1['DrawingTypeEnum']['DRAWING_SHAPE']){_0x1b960b();return;}let {unitId:_0x239976,subUnitId:_0xa5b221,drawingId:_0x237a59}=_0x4a535c;_0x18540b={'unitId':_0x239976,'subUnitId':_0xa5b221,'drawingId':_0x237a59},this[_0x4b8593(0x3ad)][_0x4b8593(0x20f)](_0x4a54e1[_0x4b8593(0x2cf)],!0x0),this['_drawingManagerService']['getFocusDrawings']()['find'](_0x2cbaa2=>_0x2cbaa2['unitId']===_0x239976&&_0x2cbaa2[_0x4b8593(0x2b1)]===_0xa5b221&&_0x2cbaa2[_0x4b8593(0x214)]===_0x237a59)||this[_0x4b8593(0x109)][_0x4b8593(0x177)]([{'unitId':_0x239976,'subUnitId':_0xa5b221,'drawingId':_0x237a59}]);})),_0x4b196e[_0x2d44ac(0x1c2)](_0x3f14ef[_0x2d44ac(0x2a1)][_0x2d44ac(0x3ae)](()=>{_0x1b960b();})),(0x0,_0x4a54e1[_0x2d44ac(0x3f5)])(()=>{_0x4b196e['dispose'](),_0x1b960b();});}['_clearFocusedShape'](){const _0x10514a=_0x229451;this[_0x10514a(0x3ad)][_0x10514a(0x20f)](_0x4a54e1[_0x10514a(0x2cf)],!0x1),this[_0x10514a(0x109)]['focusDrawing'](null);}};_0x5b0733=_0x3f173a([_0x1c0f1c(0x0,_0x45c65a[_0x229451(0x471)]),_0x1c0f1c(0x1,(0x0,_0x4a54e1['Inject'])(_0x4d9a77[_0x229451(0x24a)])),_0x1c0f1c(0x2,_0x4a54e1['ICommandService']),_0x1c0f1c(0x3,_0x46a31d[_0x229451(0x309)]),_0x1c0f1c(0x4,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x1f919d[_0x229451(0x474)])),_0x1c0f1c(0x5,_0x4a54e1[_0x229451(0x306)]),_0x1c0f1c(0x6,_0x163b80['IRenderManagerService']),_0x1c0f1c(0x7,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x3b44ca))],_0x5b0733);function _0x4be673(_0x53f869,_0x75f166,_0x2fe2b6,_0x3eed84){const _0x18032b=_0x229451;let _0x34964d=(0x0,_0x46a31d[_0x18032b(0x351)])(_0x53f869,_0x75f166,_0x2fe2b6),_0x4effa0=[];for(let _0x37b6c3 of _0x75f166){let _0x13fe3e=_0x34964d['idMap'][_0x18032b(0x44d)](_0x37b6c3[_0x18032b(0x214)]),_0x90eb41=_0x3eed84(_0x37b6c3);_0x13fe3e&&_0x90eb41&&_0x4effa0['push']({'targetShapeId':_0x13fe3e,'source':_0x90eb41});}return _0x4effa0;}let _0x55f6b1=class extends _0x4a54e1[_0x229451(0x2e0)]{constructor(_0x334056,_0x4f1b0f,_0x5a13ae,_0x338f1e){const _0x2eb9ef=_0x229451;super(),this[_0x2eb9ef(0x473)]=_0x334056,this['_sheetInterceptorService']=_0x4f1b0f,this[_0x2eb9ef(0x421)]=_0x5a13ae,this[_0x2eb9ef(0x26a)]=_0x338f1e,this[_0x2eb9ef(0x38e)]();}[_0x229451(0x38e)](){const _0x710c9e=_0x229451;this[_0x710c9e(0x223)](this[_0x710c9e(0x365)][_0x710c9e(0x48c)]({'getMutations':_0x18da4c=>{const _0x221c9f=_0x710c9e;if(_0x18da4c['id']===_0x517d2f[_0x221c9f(0x46e)]['id']){let _0x312e7e=(0x0,_0x517d2f['getSheetCommandTarget'])(this[_0x221c9f(0x473)],_0x18da4c[_0x221c9f(0x112)]);if(!_0x312e7e)return{'redos':[],'undos':[]};let {unitId:_0x4fc54b,subUnitId:_0x5e93cc}=_0x312e7e,_0x3b6885=this[_0x221c9f(0x421)][_0x221c9f(0x1f9)](_0x4fc54b,_0x5e93cc),_0x45127d=Object['values'](_0x3b6885)[_0x221c9f(0x308)](_0x21e104=>_0x21e104['drawingType']===_0x4a54e1[_0x221c9f(0x429)][_0x221c9f(0x453)]);if(_0x45127d['length']===0x0)return{'redos':[],'undos':[]};let _0x18d1b2=[],_0x196fc0=[];for(let _0x59c9ac=0x0;_0x59c9ac<_0x45127d['length'];_0x59c9ac++){let _0xb8f0dd=_0x45127d[_0x59c9ac],_0x79e94b=this[_0x221c9f(0x26a)][_0x221c9f(0x12f)](_0xb8f0dd['unitId'],_0xb8f0dd[_0x221c9f(0x2b1)],_0xb8f0dd[_0x221c9f(0x214)]);_0x79e94b&&(_0x18d1b2[_0x221c9f(0x31a)]({'id':_0x4d9a77['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x4fc54b,'subUnitId':_0x5e93cc,'shapeId':_0xb8f0dd[_0x221c9f(0x214)]}}),_0x196fc0[_0x221c9f(0x31a)]({'id':_0x4d9a77[_0x221c9f(0x115)]['id'],'params':{'unitId':_0x4fc54b,'subUnitId':_0x5e93cc,'shapeId':_0xb8f0dd[_0x221c9f(0x214)],'shapeType':_0x79e94b[_0x221c9f(0xf3)](),'shapeData':JSON['parse'](JSON[_0x221c9f(0x4bf)](_0x79e94b[_0x221c9f(0x361)]()))}}));}return{'redos':_0x18d1b2,'undos':_0x196fc0};}if(_0x18da4c['id']===_0x517d2f[_0x221c9f(0x18a)]['id']){let {unitId:_0x52f68b,subUnitId:_0x2b47c3,targetSubUnitId:_0x10718f,copyContext:_0x1cafb1}=_0x18da4c[_0x221c9f(0x112)];if(!_0x52f68b||!_0x2b47c3||!_0x10718f)return{'redos':[],'undos':[]};let _0x546762=this['_sheetDrawingService'][_0x221c9f(0x1f9)](_0x52f68b,_0x2b47c3),_0x551352=Object['values'](_0x546762)[_0x221c9f(0x308)](_0x47e207=>_0x47e207[_0x221c9f(0x38d)]===_0x4a54e1['DrawingTypeEnum'][_0x221c9f(0x453)]);if(_0x551352[_0x221c9f(0x31c)]===0x0)return{'redos':[],'undos':[]};let _0x13e056=_0x4be673(_0x1cafb1,_0x551352,{'unitId':_0x52f68b,'sourceSubUnitId':_0x2b47c3,'targetSubUnitId':_0x10718f},_0x20022f=>{const _0x50c681=_0x221c9f;let _0x46533d=this[_0x50c681(0x26a)][_0x50c681(0x12f)](_0x20022f[_0x50c681(0x2d6)],_0x20022f['subUnitId'],_0x20022f['drawingId']);if(_0x46533d)return{'shapeType':_0x46533d[_0x50c681(0xf3)](),'shapeData':JSON['parse'](JSON[_0x50c681(0x4bf)](_0x46533d[_0x50c681(0x361)]()))};}),_0x2a760f=[],_0x55d850=[];for(let {targetShapeId:_0x2a7715,source:_0x5348d5}of _0x13e056)_0x2a760f[_0x221c9f(0x31a)]({'id':_0x4d9a77[_0x221c9f(0x115)]['id'],'params':{'unitId':_0x52f68b,'subUnitId':_0x10718f,'shapeId':_0x2a7715,'shapeType':_0x5348d5[_0x221c9f(0x10f)],'shapeData':_0x5348d5[_0x221c9f(0x36e)]}}),_0x55d850[_0x221c9f(0x31a)]({'id':_0x4d9a77[_0x221c9f(0x2a7)]['id'],'params':{'unitId':_0x52f68b,'subUnitId':_0x10718f,'shapeId':_0x2a7715}});return{'redos':_0x2a760f,'undos':_0x55d850};}return{'redos':[],'undos':[]};}}));}};_0x55f6b1=_0x3f173a([_0x1c0f1c(0x0,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x4a54e1[_0x229451(0x49d)])),_0x1c0f1c(0x1,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x517d2f['SheetInterceptorService'])),_0x1c0f1c(0x2,(0x0,_0x4a54e1[_0x229451(0x488)])(_0xe8736[_0x229451(0xfe)])),_0x1c0f1c(0x3,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x4d9a77[_0x229451(0x24a)]))],_0x55f6b1);let _0x2cbc52=class extends _0x4a54e1['Disposable']{constructor(_0x55b486,_0x47f759,_0x241c30,_0x4a5d02,_0xe4b4db,_0x246c72){const _0x2e6964=_0x229451;super(),this[_0x2e6964(0x25c)]=_0x55b486,this[_0x2e6964(0x3a6)]=_0x47f759,this[_0x2e6964(0x109)]=_0x241c30,this[_0x2e6964(0x42f)]=_0x4a5d02,this[_0x2e6964(0x328)]=_0xe4b4db,this['_sheetDrawingShapeRenderController']=_0x246c72,_0x2624fb(this,_0x2e6964(0x4cf),new Set()),this['_initialize']();}[_0x229451(0x46a)](){const _0x5c57d1=_0x229451;this[_0x5c57d1(0x44b)](),this[_0x5c57d1(0x3e0)](),this[_0x5c57d1(0x3e4)]();}[_0x229451(0x44b)](){const _0xf73a7c=_0x229451;this[_0xf73a7c(0x223)](this[_0xf73a7c(0x109)][_0xf73a7c(0x3ce)][_0xf73a7c(0x3ae)](_0x46e73e=>{const _0x266d64=_0xf73a7c;this[_0x266d64(0x3ed)](_0x46e73e);}));}[_0x229451(0x3e0)](){const _0x470d4c=_0x229451;this[_0x470d4c(0x223)](this[_0x470d4c(0x25c)][_0x470d4c(0x367)]((_0x4e13b4,_0x3fc4f4)=>{const _0x36082e=_0x470d4c;if(_0x4e13b4['id']===_0x4d9a77[_0x36082e(0x3ee)]['id']){let {unitId:_0x22d2ab,subUnitId:_0x5e9538,shapeId:_0x4a6bc3}=_0x4e13b4[_0x36082e(0x112)],_0x5b5049=this['_getSceneAndTransformerByDrawingSearch'](_0x22d2ab),_0x47eb4e=(0x0,_0x46a31d[_0x36082e(0x4d7)])({'unitId':_0x22d2ab,'subUnitId':_0x5e9538,'drawingId':_0x4a6bc3}),_0x3fbdb4=_0x5b5049==null?void 0x0:_0x5b5049[_0x36082e(0x2cc)]['getObjectIncludeInGroup'](_0x47eb4e);_0x3fbdb4&&(this[_0x36082e(0x22a)]['refreshShapeFillImage'](_0x3fbdb4),this[_0x36082e(0x22a)]['refreshFormulaPresentation'](_0x3fbdb4,{'unitId':_0x22d2ab,'subUnitId':_0x5e9538,'shapeId':_0x4a6bc3}),_0x3fbdb4[_0x36082e(0x1fc)](!0x0));}else{if(_0x4e13b4['id']===_0x4d9a77[_0x36082e(0x115)]['id']){var _0x52c167;let {unitId:_0x41f0df,subUnitId:_0x59ab7a,shapeId:_0x4482e5}=_0x4e13b4['params'],_0x5d4a8b=this[_0x36082e(0x200)](_0x41f0df);if(_0x5d4a8b==null)return;let {scene:_0x1223b7}=_0x5d4a8b,_0x5eff8b=(0x0,_0x46a31d[_0x36082e(0x4d7)])({'unitId':_0x41f0df,'subUnitId':_0x59ab7a,'drawingId':_0x4482e5}),_0x13f196=_0x1223b7[_0x36082e(0x105)](_0x5eff8b);if(!((_0x52c167=this['_renderManagerService'][_0x36082e(0x4a9)](_0x41f0df))!=null&&_0x52c167[_0x36082e(0x17e)](_0x1f919d[_0x36082e(0x319)])[_0x36082e(0x3d8)](_0x59ab7a)))return!0x1;if(_0x13f196)return;if(_0x3fc4f4!=null&&_0x3fc4f4['fromChangeset']){queueMicrotask(()=>{this['_disposed']||this['_insertShapes']([{'unitId':_0x41f0df,'subUnitId':_0x59ab7a,'drawingId':_0x4482e5}]);});return;}this[_0x36082e(0x3ed)]([{'unitId':_0x41f0df,'subUnitId':_0x59ab7a,'drawingId':_0x4482e5}]);}}}));}[_0x229451(0x3e4)](){const _0x513ae0=_0x229451;this['disposeWithMe'](this[_0x513ae0(0x109)][_0x513ae0(0x3b8)]['subscribe'](_0x1fdc4f=>{const _0x278b65=_0x513ae0;_0x1fdc4f[_0x278b65(0x2e2)](_0x485039=>{const _0x579e02=_0x278b65;let {unitId:_0x40b222,subUnitId:_0x5a7934,drawingId:_0x1ebf9d}=_0x485039,_0x460bf8=this[_0x579e02(0x109)][_0x579e02(0x364)](_0x485039);if(_0x460bf8==null)return;let {transform:_0x1df2a2,drawingType:_0xec965b,srcRect:_0x1c3c5e,prstGeom:_0x15a8ef}=_0x460bf8;if(_0xec965b!==_0x4a54e1[_0x579e02(0x429)][_0x579e02(0x453)])return;let _0x32070c=this[_0x579e02(0x200)](_0x40b222);if(_0x32070c==null)return;let {scene:_0x1e3dfb,transformer:_0x23af26}=_0x32070c;if(_0x1df2a2==null)return!0x0;let _0x450416=(0x0,_0x46a31d[_0x579e02(0x4d7)])({'unitId':_0x40b222,'subUnitId':_0x5a7934,'drawingId':_0x1ebf9d}),_0x2fbb5e=_0x1e3dfb[_0x579e02(0x105)](_0x450416);if(_0x2fbb5e==null)return!0x0;_0x2fbb5e['setSrcRect'](_0x1c3c5e),_0x2fbb5e[_0x579e02(0x3df)](_0x15a8ef);});}));}['_insertShapes'](_0x45b856){const _0x3808c2=_0x229451;for(let _0x2ccd1f of _0x45b856){var _0x1f2fba;let {unitId:_0x2c3b78,subUnitId:_0x1eb48d,drawingId:_0xd308ef}=_0x2ccd1f,_0x43ce14=this[_0x3808c2(0x200)](_0x2c3b78),_0x560ec4=(_0x1f2fba=(0x0,_0x359560[_0x3808c2(0x3c6)])(this[_0x3808c2(0x42f)],_0x2c3b78))==null?void 0x0:_0x1f2fba[_0x3808c2(0x2b1)];if(_0x43ce14==null||_0x560ec4!==_0x1eb48d)return;let _0x1ddb92=(0x0,_0x46a31d[_0x3808c2(0x4d7)])({'unitId':_0x2c3b78,'subUnitId':_0x1eb48d,'drawingId':_0xd308ef});if(this[_0x3808c2(0x4cf)][_0x3808c2(0x3a1)](_0x1ddb92)||_0x43ce14[_0x3808c2(0x2cc)][_0x3808c2(0x105)](_0x1ddb92)!=null)return;let _0x41d31a=this[_0x3808c2(0x109)]['getDrawingByParam'](_0x2ccd1f);if(_0x41d31a==null||_0x41d31a[_0x3808c2(0x38d)]!==_0x4a54e1[_0x3808c2(0x429)][_0x3808c2(0x453)])return;let _0x920788=_0x41d31a[_0x3808c2(0x3fa)]||{};if((0x0,_0x163f94['isConnectorShape'])(_0x920788[_0x3808c2(0x10f)])){let _0xb31670=_0x41d31a['transform'];_0xb31670&&(_0x41d31a['transform']={..._0xb31670,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x3808c2(0x4cf)][_0x3808c2(0x1c2)](_0x1ddb92);try{this[_0x3808c2(0x22a)][_0x3808c2(0x129)](_0x41d31a,_0x43ce14[_0x3808c2(0x2cc)]);}finally{this['_insertingShapeKeys'][_0x3808c2(0x489)](_0x1ddb92);}queueMicrotask(()=>{const _0x2caae2=_0x3808c2;if(this[_0x2caae2(0x13d)])return;let _0x5cfb4f=(0x0,_0x46a31d['getDrawingShapeKeyByDrawingSearch'])(_0x2ccd1f);if(!_0x43ce14['scene'][_0x2caae2(0x105)](_0x5cfb4f))return;let _0x5e1f94=this[_0x2caae2(0x109)][_0x2caae2(0x364)](_0x2ccd1f);_0x5e1f94&&this[_0x2caae2(0x109)][_0x2caae2(0x29a)]([_0x5e1f94]);});}}[_0x229451(0x200)](_0x53b18d){const _0xdb4575=_0x229451;if(_0x53b18d==null)return;let _0x12464c=this[_0xdb4575(0x3a6)]['getRenderUnitById'](_0x53b18d),_0x3924c3=_0x12464c==null?void 0x0:_0x12464c[_0xdb4575(0x2cc)];return _0x3924c3==null?null:{'scene':_0x3924c3,'transformer':_0x3924c3[_0xdb4575(0x2e4)]()};}};_0x2cbc52=_0x3f173a([_0x1c0f1c(0x0,_0x4a54e1[_0x229451(0x440)]),_0x1c0f1c(0x1,_0x163b80[_0x229451(0x3fd)]),_0x1c0f1c(0x2,_0x46a31d['IDrawingManagerService']),_0x1c0f1c(0x3,_0x4a54e1[_0x229451(0x49d)]),_0x1c0f1c(0x4,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x359560[_0x229451(0x340)])),_0x1c0f1c(0x5,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x46b13f))],_0x2cbc52);let _0x48310b={'normal':{'fill':_0x163f94[_0x229451(0x1fe)][_0x229451(0x323)],'stroke':_0x163f94[_0x229451(0x1fe)]['cxnPointStroke'],'strokeWidth':_0x163f94[_0x229451(0x1fe)][_0x229451(0x4c8)]},'highlighted':{'fill':_0x229451(0x4bb),'stroke':_0x229451(0x22e),'strokeWidth':0x2}};var _0x1c3ba7=class extends _0x163b80['Shape']{constructor(_0x1b20e9,_0x4efa78){const _0x358a0e=_0x229451;super(_0x1b20e9,_0x4efa78),_0x2624fb(this,_0x358a0e(0x454),''),_0x2624fb(this,'_cxnIndex',-0x1),_0x2624fb(this,_0x358a0e(0x1c9),''),_0x2624fb(this,'_subUnitId',''),_0x2624fb(this,_0x358a0e(0x49e),!0x1),_0x4efa78&&this[_0x358a0e(0x2f8)](_0x4efa78);}['getConnectionInfo'](){const _0x26c6d4=_0x229451;return{'unitId':this[_0x26c6d4(0x1c9)],'subUnitId':this[_0x26c6d4(0x233)],'shapeId':this['_targetShapeId'],'cxnIndex':this[_0x26c6d4(0x35c)]};}[_0x229451(0x3d1)](_0x2eb149){const _0x278390=_0x229451;this[_0x278390(0x49e)]!==_0x2eb149&&(this[_0x278390(0x49e)]=_0x2eb149,this[_0x278390(0x1fc)](!0x0));}[_0x229451(0x3be)](){const _0x5d6f12=_0x229451;return this[_0x5d6f12(0x49e)];}[_0x229451(0x2f8)](_0x4e4fdd){const _0x13313b=_0x229451;_0x4e4fdd[_0x13313b(0x192)]!==void 0x0&&(this[_0x13313b(0x454)]=_0x4e4fdd[_0x13313b(0x192)]),_0x4e4fdd[_0x13313b(0x213)]!==void 0x0&&(this['_cxnIndex']=_0x4e4fdd[_0x13313b(0x213)]),_0x4e4fdd[_0x13313b(0x2d6)]!==void 0x0&&(this[_0x13313b(0x1c9)]=_0x4e4fdd['unitId']),_0x4e4fdd['subUnitId']!==void 0x0&&(this['_subUnitId']=_0x4e4fdd['subUnitId']),_0x4e4fdd[_0x13313b(0x3be)]!==void 0x0&&(this[_0x13313b(0x49e)]=_0x4e4fdd['isHighlighted']),this[_0x13313b(0x145)]({'width':_0x4e4fdd[_0x13313b(0x303)]??_0x163f94['ShapeDefaultConfig'][_0x13313b(0x47c)]*0x2,'height':_0x4e4fdd['height']??_0x163f94[_0x13313b(0x1fe)][_0x13313b(0x47c)]*0x2});}[_0x229451(0x1d8)](_0x466e36){const _0x2b5951=_0x229451;let _0x306bac=this['_isHighlighted']?_0x48310b[_0x2b5951(0x483)]:_0x48310b[_0x2b5951(0x296)];_0x163b80[_0x2b5951(0x4d9)][_0x2b5951(0x15e)](_0x466e36,{'radius':_0x163f94[_0x2b5951(0x1fe)][_0x2b5951(0x47c)],'fill':_0x306bac['fill'],'stroke':_0x306bac[_0x2b5951(0x16c)],'strokeWidth':_0x306bac[_0x2b5951(0x408)],'evented':!0x0});}};let _0x283ee0=class extends _0x4a54e1[_0x229451(0x2e0)]{constructor(_0x1cf8f4,_0x5f22fb,_0x46ff19,_0x4fe0cb){const _0x5e11e0=_0x229451;super(),this[_0x5e11e0(0xe8)]=_0x1cf8f4,this[_0x5e11e0(0x3a6)]=_0x5f22fb,this[_0x5e11e0(0x109)]=_0x46ff19,this[_0x5e11e0(0x26a)]=_0x4fe0cb,_0x2624fb(this,_0x5e11e0(0x11d),[]),_0x2624fb(this,'_activeTargetShapeId',null),_0x2624fb(this,_0x5e11e0(0x257),-0x1),_0x2624fb(this,_0x5e11e0(0x252),null),_0x2624fb(this,_0x5e11e0(0x1c9),''),_0x2624fb(this,'_subUnitId',''),_0x2624fb(this,_0x5e11e0(0x460),null);}['startConnectionDetection'](_0x2d31c2,_0x1feae1,_0x36647f,_0x3ecc8f){const _0x5463ce=_0x229451;this[_0x5463ce(0x252)]=_0x2d31c2,this[_0x5463ce(0x1c9)]=_0x1feae1,this[_0x5463ce(0x233)]=_0x36647f,this[_0x5463ce(0x460)]=_0x3ecc8f;}[_0x229451(0x224)](_0x4e73c2){const _0x4ab106=_0x229451;if(!this[_0x4ab106(0x252)])return null;let _0x55e9ef=this['_findShapeAtPoint'](_0x4e73c2);return _0x55e9ef?(this[_0x4ab106(0x2c3)]!==_0x55e9ef['shapeId']&&(this['_clearConnectionSites'](),this['_showConnectionSites'](_0x55e9ef[_0x4ab106(0x4a7)],_0x55e9ef[_0x4ab106(0x38c)]),this['_activeTargetShapeId']=_0x55e9ef[_0x4ab106(0x4a7)]),this[_0x4ab106(0x18b)](_0x4e73c2)):(this[_0x4ab106(0x2c3)]!==null&&(this[_0x4ab106(0x403)](),this['_activeTargetShapeId']=null),null);}[_0x229451(0x3b3)](){const _0x5d7e57=_0x229451;this['_clearConnectionSites'](),this['_currentScene']=null,this[_0x5d7e57(0x2c3)]=null,this[_0x5d7e57(0x257)]=-0x1,this[_0x5d7e57(0x460)]=null;}[_0x229451(0x167)](){return this['_activeTargetShapeId']===null||this['_highlightedSiteIndex']<0x0?null:{'shapeId':this['_activeTargetShapeId'],'cxnIndex':this['_highlightedSiteIndex']};}[_0x229451(0x24b)](_0x117266){const _0x12122c=_0x229451;let _0x253a19=this['_drawingManagerService'][_0x12122c(0x1f9)](this[_0x12122c(0x1c9)],this['_subUnitId']);for(let _0x446a62 of Object[_0x12122c(0x385)](_0x253a19)){if(_0x446a62===this['_draggingConnectorId']||_0x253a19[_0x446a62][_0x12122c(0x38d)]!==_0x4a54e1[_0x12122c(0x429)][_0x12122c(0x453)])continue;let _0x4294b7=this['_sheetsShapeService'][_0x12122c(0x12f)](this['_unitId'],this['_subUnitId'],_0x446a62);if(!_0x4294b7||(0x0,_0x163f94['isConnectorShape'])(_0x4294b7[_0x12122c(0xf3)]())||_0x4294b7[_0x12122c(0x1e5)]()['length']===0x0||!this[_0x12122c(0x252)])continue;let _0x29a56e=(0x0,_0x46a31d['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0x12122c(0x1c9)],'subUnitId':this[_0x12122c(0x233)],'drawingId':_0x446a62}),_0xa4d0ea=this[_0x12122c(0x252)][_0x12122c(0x105)](_0x29a56e);if(!_0xa4d0ea)continue;let {left:_0x33227e,top:_0x357dbf,width:_0x4d2e4a,height:_0x5f228b}=_0xa4d0ea['getRealBound'](),_0x1eddd8=_0x33227e+_0x4d2e4a/0x2,_0x16c603=_0x357dbf+_0x5f228b/0x2,_0x5d62e4=_0xa4d0ea[_0x12122c(0x412)][_0x12122c(0x25d)](),_0x56e1f1=new _0x163b80[(_0x12122c(0x11f))]([_0x5d62e4[0x0],_0x5d62e4[0x1],_0x5d62e4[0x2],_0x5d62e4[0x3],_0x1eddd8,_0x16c603]),_0x4e24d3=_0xa4d0ea['getParent'](),_0x209e66=(_0xa4d0ea['isInGroup']&&(_0x4e24d3==null?void 0x0:_0x4e24d3[_0x12122c(0x110)])===_0x163b80['RENDER_CLASS_TYPE'][_0x12122c(0x1a7)]?_0x4e24d3[_0x12122c(0x22b)][_0x12122c(0x2d0)](_0x56e1f1):_0x56e1f1)['invert']()[_0x12122c(0x449)](_0x117266),_0x30a65f=_0x4d2e4a/0x2,_0x385173=_0x5f228b/0x2;if(_0x209e66['x']>=-_0x30a65f-0x5&&_0x209e66['x']<=_0x30a65f+0x5&&_0x209e66['y']>=-_0x385173-0x5&&_0x209e66['y']<=_0x385173+0x5)return{'shapeId':_0x446a62,'shapeModel':_0x4294b7};}return null;}[_0x229451(0x294)](_0x24593c,_0x29cb1e){const _0x49f864=_0x229451;if(!this[_0x49f864(0x252)])return;let _0x193ebb=(0x0,_0x46a31d[_0x49f864(0x4d7)])({'unitId':this[_0x49f864(0x1c9)],'subUnitId':this[_0x49f864(0x233)],'drawingId':_0x24593c}),_0x24528e=this[_0x49f864(0x252)][_0x49f864(0x105)](_0x193ebb);if(!_0x24528e)return;let {left:_0x2ce261,top:_0xb6378d,width:_0x3b9795,height:_0x544465}=_0x24528e[_0x49f864(0x459)](),_0x3cafd4=_0x2ce261+_0x3b9795/0x2,_0x3d6bf5=_0xb6378d+_0x544465/0x2,_0x50b121=_0x24528e['transform']['getMatrix'](),_0x113747=new _0x163b80[(_0x49f864(0x11f))]([_0x50b121[0x0],_0x50b121[0x1],_0x50b121[0x2],_0x50b121[0x3],_0x3cafd4,_0x3d6bf5]),_0x268ee0=_0x24528e['getParent'](),_0x56ee0b=_0x24528e['isInGroup']&&(_0x268ee0==null?void 0x0:_0x268ee0[_0x49f864(0x110)])===_0x163b80[_0x49f864(0x4db)][_0x49f864(0x1a7)]?_0x268ee0['ancestorTransform'][_0x49f864(0x2d0)](_0x113747):_0x113747;_0x29cb1e[_0x49f864(0x405)]({'width':_0x3b9795,'height':_0x544465});let _0x37ef41=_0x29cb1e['getConnectionSiteList']();for(let _0x39958e of _0x37ef41){let _0x34e236=_0x39958e['x']-_0x3b9795/0x2,_0x123b8c=_0x39958e['y']-_0x544465/0x2,_0x704c3=_0x56ee0b['applyPoint']({'x':_0x34e236,'y':_0x123b8c}),_0x1a37a0=_0x704c3['x'],_0x5b37cc=_0x704c3['y'],_0x412e59=new _0x1c3ba7(_0x49f864(0x33d)+_0x24593c+'-'+_0x39958e['index'],{'left':_0x1a37a0-_0x163f94[_0x49f864(0x1fe)][_0x49f864(0x47c)],'top':_0x5b37cc-_0x163f94[_0x49f864(0x1fe)][_0x49f864(0x47c)],'targetShapeId':_0x24593c,'cxnIndex':_0x39958e['index'],'unitId':this[_0x49f864(0x1c9)],'subUnitId':this[_0x49f864(0x233)],'width':_0x163f94[_0x49f864(0x1fe)][_0x49f864(0x47c)]*0x2,'height':_0x163f94[_0x49f864(0x1fe)]['cxnPointRadius']*0x2,'zIndex':_0x163b80[_0x49f864(0x2fe)]+0x2,'evented':!0x1});this[_0x49f864(0x11d)][_0x49f864(0x31a)](_0x412e59),this['_currentScene']['addObject'](_0x412e59,_0x163b80[_0x49f864(0x2fe)]+0x2);}}['_findNearestConnectionSite'](_0x2c7070){const _0xc57b28=_0x229451;let _0xc3126d=null,_0x5108be=0x1/0x0,_0x3c3ef1=null;for(let _0x246b63 of this['_connectionSiteObjects']){let _0x4f293c=_0x246b63[_0xc57b28(0x1fa)]+_0x163f94[_0xc57b28(0x1fe)]['cxnPointRadius'],_0x2adce9=_0x246b63['top']+_0x163f94[_0xc57b28(0x1fe)][_0xc57b28(0x47c)],_0x32d94d=_0x2c7070['x']-_0x4f293c,_0x1909e5=_0x2c7070['y']-_0x2adce9,_0x41cff7=Math[_0xc57b28(0x426)](_0x32d94d*_0x32d94d+_0x1909e5*_0x1909e5);_0x41cff7<_0x5108be&&(_0x5108be=_0x41cff7,_0xc3126d=_0x246b63,_0x3c3ef1={'x':_0x4f293c,'y':_0x2adce9});}let _0x5599e4=_0x5108be<=0xa&&_0xc3126d?_0xc3126d[_0xc57b28(0x3a8)]()[_0xc57b28(0x213)]:-0x1;if(_0x5599e4!==this[_0xc57b28(0x257)]){for(let _0x56d3bb of this[_0xc57b28(0x11d)]){let _0x58aa25=_0x56d3bb[_0xc57b28(0x3a8)]();_0x56d3bb['setHighlighted'](_0x58aa25['cxnIndex']===_0x5599e4);}this[_0xc57b28(0x257)]=_0x5599e4;}if(_0x5108be<=0xa&&_0xc3126d&&_0x3c3ef1){let _0x8f0e5e=_0xc3126d['getConnectionInfo'](),_0x2e75e8=this[_0xc57b28(0x155)](_0x8f0e5e[_0xc57b28(0x4a7)],_0x8f0e5e[_0xc57b28(0x213)]);return{'shapeId':_0x8f0e5e[_0xc57b28(0x4a7)],'cxnIndex':_0x8f0e5e['cxnIndex'],'unitId':_0x8f0e5e['unitId'],'subUnitId':_0x8f0e5e[_0xc57b28(0x2b1)],'worldPoint':_0x3c3ef1,'angle':_0x2e75e8};}return null;}['_getConnectionSiteAngle'](_0x573ed4,_0x2d5769){const _0x45ea83=_0x229451;let _0x15dd50=this[_0x45ea83(0x26a)][_0x45ea83(0x12f)](this[_0x45ea83(0x1c9)],this['_subUnitId'],_0x573ed4);if(!_0x15dd50)return 0x0;let _0x548fdc=this['_drawingManagerService'][_0x45ea83(0x364)]({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':_0x573ed4});if(!(_0x548fdc!=null&&_0x548fdc[_0x45ea83(0x412)]))return 0x0;let {width:_0x3392b2=0x0,height:_0x1b6b51=0x0,flipX:_0x30aa42=!0x1,flipY:_0x552d8b=!0x1}=_0x548fdc[_0x45ea83(0x412)];_0x15dd50[_0x45ea83(0x405)]({'width':_0x3392b2,'height':_0x1b6b51});let _0x44e84c=_0x15dd50[_0x45ea83(0x1e5)]()[_0x45ea83(0x1aa)](_0x1ddb04=>_0x1ddb04[_0x45ea83(0x32f)]===_0x2d5769);if(!_0x44e84c)return 0x0;let _0x4070e4=_0x44e84c['ang']/0xea60;return _0x30aa42&&(_0x4070e4=0xb4-_0x4070e4),_0x552d8b&&(_0x4070e4=-_0x4070e4),_0x4070e4=(_0x4070e4%0x168+0x168)%0x168,_0x4070e4;}[_0x229451(0x403)](){const _0x30b1db=_0x229451;for(let _0xb32f73 of this[_0x30b1db(0x11d)])_0xb32f73['dispose']();this[_0x30b1db(0x11d)]=[],this[_0x30b1db(0x257)]=-0x1;}[_0x229451(0x138)](){const _0x16cc6d=_0x229451;this[_0x16cc6d(0x403)](),super[_0x16cc6d(0x138)]();}};_0x283ee0=_0x3f173a([_0x1c0f1c(0x1,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x163b80[_0x229451(0x3fd)])),_0x1c0f1c(0x2,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x46a31d[_0x229451(0x309)])),_0x1c0f1c(0x3,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x4d9a77[_0x229451(0x24a)]))],_0x283ee0);let _0x5d1655=class extends _0x4a54e1[_0x229451(0x2e0)]{constructor(_0x2bb03e,_0x2f122b,_0x2694ae,_0x50bd8f,_0x4c1a44){const _0x2930ff=_0x229451;super(),this[_0x2930ff(0x369)]=_0x2bb03e,this['_sheetClipboardService']=_0x2f122b,this[_0x2930ff(0x421)]=_0x2694ae,this[_0x2930ff(0x462)]=_0x50bd8f,this['_groupCopyPasteController']=_0x4c1a44,_0x2624fb(this,'_copyInfo',void 0x0),this[_0x2930ff(0x2a5)](),this['_registerGroupFeaturePasteHook']();}get[_0x229451(0x1de)](){const _0x422e8f=_0x229451;return this[_0x422e8f(0x421)][_0x422e8f(0x382)]();}[_0x229451(0x316)](){this['_groupCopyPasteController']['registerFeaturePasteHook'](({fromUnitId:_0x57db64,fromSubUnitId:_0x55edc3,toUnitId:_0x161a1f,toSubUnitId:_0x289a76,idMap:_0x2043ef})=>{const _0x5b9851=_0x1b6e;let _0x2aa1cf=[],_0x2e0d00=[];for(let [_0x178234,_0x1a0b48]of _0x2043ef[_0x5b9851(0x1bb)]()){let _0x1699ee=this[_0x5b9851(0x462)][_0x5b9851(0x12f)](_0x57db64,_0x55edc3,_0x178234);if(!_0x1699ee)continue;let _0x27bbe5=_0x1699ee[_0x5b9851(0xf3)](),_0x59c349=JSON['parse'](JSON[_0x5b9851(0x4bf)](_0x1699ee[_0x5b9851(0x361)]()));if(_0x59c349[_0x5b9851(0x377)]){var _0x1467b,_0x4245b1;let _0x54fc0c=(_0x1467b=_0x59c349[_0x5b9851(0x377)][_0x5b9851(0x356)])==null?void 0x0:_0x1467b[_0x5b9851(0x4a7)],_0x518ea6=(_0x4245b1=_0x59c349[_0x5b9851(0x377)]['to'])==null?void 0x0:_0x4245b1[_0x5b9851(0x4a7)],_0x4312d7=!_0x54fc0c||_0x2043ef[_0x5b9851(0x3a1)](_0x54fc0c),_0x50a651=!_0x518ea6||_0x2043ef[_0x5b9851(0x3a1)](_0x518ea6);_0x4312d7&&_0x54fc0c&&_0x59c349[_0x5b9851(0x377)][_0x5b9851(0x356)]?_0x59c349[_0x5b9851(0x377)][_0x5b9851(0x356)]={..._0x59c349['relation'][_0x5b9851(0x356)],'shapeId':_0x2043ef['get'](_0x54fc0c)}:_0x59c349[_0x5b9851(0x377)][_0x5b9851(0x356)]=void 0x0,_0x50a651&&_0x518ea6&&_0x59c349[_0x5b9851(0x377)]['to']?_0x59c349[_0x5b9851(0x377)]['to']={..._0x59c349[_0x5b9851(0x377)]['to'],'shapeId':_0x2043ef[_0x5b9851(0x44d)](_0x518ea6)}:_0x59c349['relation']['to']=void 0x0;}_0x2aa1cf[_0x5b9851(0x31a)]({'id':_0x4d9a77[_0x5b9851(0x115)]['id'],'params':{'unitId':_0x161a1f,'subUnitId':_0x289a76,'shapeId':_0x1a0b48,'shapeType':_0x27bbe5,'shapeData':_0x59c349}}),_0x2e0d00[_0x5b9851(0x31a)]({'id':_0x4d9a77[_0x5b9851(0x2a7)]['id'],'params':{'unitId':_0x161a1f,'subUnitId':_0x289a76,'shapeId':_0x1a0b48}});}return{'redos':_0x2aa1cf,'undos':_0x2e0d00};});}['_initCopyPaste'](){const _0x54d296=_0x229451;this[_0x54d296(0x223)](this['_sheetClipboardService']['addClipboardHook']({'id':'sheets-shape-ui','onBeforeCopyFocusedObject':(_0x44e3cb,_0x9b44a0,_0x2fe4d7)=>{const _0x686327=_0x54d296;this[_0x686327(0x3d6)]=null;let _0x35b84c=this['_focusedDrawings'][_0x686327(0x308)](_0x5d44af=>_0x5d44af[_0x686327(0x38d)]===_0x4a54e1[_0x686327(0x429)][_0x686327(0x453)]);return _0x35b84c[_0x686327(0x31c)]!==0x0&&(this[_0x686327(0x3d6)]={'unitId':_0x44e3cb,'subUnitId':_0x9b44a0,'copyType':_0x2fe4d7,'drawings':_0x35b84c},!0x0);},'onBeforeCopy':(_0x10b3ff,_0x5285d1,_0xa3ce86,_0x5b73d4)=>{this['_copyInfo']=null,this['_createCopyInfoByRange'](_0x10b3ff,_0x5285d1,_0xa3ce86,_0x5b73d4);},'onPasteCells':(_0x5aa05d,_0x17135e,_0x1fe3cc,_0x36b2dc)=>{const _0x209ae2=_0x54d296;if(!_0x36b2dc[_0x209ae2(0x273)]||!_0x5aa05d||!this[_0x209ae2(0x3d6)])return{'redos':[],'undos':[]};let {pasteType:_0x14ab76}=_0x36b2dc;return _0x14ab76===_0x1f919d[_0x209ae2(0x287)][_0x209ae2(0x175)]?this[_0x209ae2(0x43b)](_0x17135e,this[_0x209ae2(0x3d6)][_0x209ae2(0x3e6)]===_0x1f919d['COPY_TYPE'][_0x209ae2(0x3ef)]):{'redos':[],'undos':[]};}}));}[_0x229451(0x169)](_0x431e37,_0x437290,_0x528af0,_0x41720b){const _0x3e71a2=_0x229451;let _0x5f442e=this['_sheetSkeletonService']['getSkeleton'](_0x431e37,_0x437290);if(!_0x5f442e)return;let _0x396d5e=(0x0,_0x517d2f[_0x3e71a2(0x37d)])(_0x5f442e,_0x528af0);if(!_0x396d5e)return;let {startX:_0x2aabf9,endX:_0x4a7d17,startY:_0x22bbb8,endY:_0x175547}=_0x396d5e,_0x352340=this[_0x3e71a2(0x421)]['getDrawingData'](_0x431e37,_0x437290),_0x4d57a2=[];for(let [_0x571f78,_0x45b92a]of Object[_0x3e71a2(0x1bb)](_0x352340)){if(_0x45b92a[_0x3e71a2(0x38d)]!==_0x4a54e1[_0x3e71a2(0x429)][_0x3e71a2(0x453)])continue;let {transform:_0x2ffb90}=_0x45b92a;if(!_0x2ffb90)continue;let {left:_0x8a79=0x0,top:_0x440c9c=0x0,width:_0xe8e1cb=0x0,height:_0x51e332=0x0}=_0x2ffb90;_0x2aabf9<=_0x8a79&&_0x4a7d17>=_0x8a79+_0xe8e1cb&&_0x22bbb8<=_0x440c9c&&_0x175547>=_0x440c9c+_0x51e332&&_0x4d57a2[_0x3e71a2(0x31a)](_0x45b92a);}_0x4d57a2[_0x3e71a2(0x31c)]>0x0&&(this['_copyInfo']={'unitId':_0x431e37,'subUnitId':_0x437290,'copyType':_0x41720b,'copyRange':_0x528af0,'drawings':_0x4d57a2});}[_0x229451(0x43b)](_0x1e515f,_0x182add){const _0x5cd601=_0x229451;let {unitId:_0x4f91d1,subUnitId:_0x39ce51,range:_0x5ee24c}=_0x1e515f,_0x36767b=this[_0x5cd601(0x369)][_0x5cd601(0x3d8)](_0x4f91d1,_0x39ce51);if(!_0x36767b)return{'redos':[],'undos':[]};let _0x5534fd=(0x0,_0x517d2f[_0x5cd601(0xfc)])(_0x5ee24c),{unitId:_0x12001b,subUnitId:_0x118a38,copyRange:_0x2c2428,drawings:_0x54f5d1}=this['_copyInfo'],_0x2e65e3=this['_sheetSkeletonService']['getSkeleton'](_0x12001b,_0x118a38);if(!_0x2e65e3)return{'redos':[],'undos':[]};let _0x1cf1c1;if(!_0x2c2428){let _0x7bfd49=0x1/0x0,_0x5b01f4=0x1/0x0;for(let _0x4009a7 of _0x54f5d1){let {left:_0x4451f1=0x0,top:_0x46d9f8=0x0}=_0x4009a7[_0x5cd601(0x412)]??{};_0x4451f1<_0x7bfd49&&(_0x7bfd49=_0x4451f1),_0x46d9f8<_0x5b01f4&&(_0x5b01f4=_0x46d9f8);}_0x7bfd49!==0x1/0x0&&_0x5b01f4!==0x1/0x0&&(_0x1cf1c1={'left':_0x7bfd49,'top':_0x5b01f4});}let _0xfd0265=new Map();if(!_0x182add){for(let _0x4d865f of _0x54f5d1)_0xfd0265[_0x5cd601(0x255)](_0x4d865f[_0x5cd601(0x214)],(0x0,_0x4a54e1[_0x5cd601(0x230)])());}let _0x4bf20f=[],_0x26aa14=[];for(let _0x1c90fc of _0x54f5d1){let {drawingId:_0x5d150d,transform:_0x7f174b,sheetTransform:_0x144a9d}=_0x1c90fc;if(!_0x7f174b||!_0x144a9d)continue;let _0x5435a1=this['_updateTransform']({'transform':_0x7f174b,'sheetTransform':_0x144a9d},{'skeleton':_0x2e65e3,'range':_0x2c2428},{'skeleton':_0x36767b,'range':_0x5534fd},_0x1cf1c1);if(_0x182add){let {redos:_0x56b908,undos:_0x370285}=this['_generateCutPasteMutations']({'fromUnitId':_0x12001b,'fromSubUnitId':_0x118a38,'toUnitId':_0x4f91d1,'toSubUnitId':_0x39ce51,'drawing':_0x1c90fc,'newTransforms':_0x5435a1});_0x4bf20f['push'](..._0x56b908),_0x26aa14[_0x5cd601(0x31a)](..._0x370285);continue;}let {redos:_0x263220,undos:_0x3557bf}=this['_generateCopyPasteMutations']({'toUnitId':_0x4f91d1,'toSubUnitId':_0x39ce51,'drawing':_0x1c90fc,'newTransforms':_0x5435a1,'newDrawingId':_0xfd0265[_0x5cd601(0x44d)](_0x5d150d),'idMap':_0xfd0265});_0x4bf20f['push'](..._0x263220),_0x26aa14[_0x5cd601(0x31a)](..._0x3557bf);}return{'redos':_0x4bf20f,'undos':_0x26aa14};}[_0x229451(0x344)](_0x481e06){const _0x41b411=_0x229451;let {fromUnitId:_0x521ba5,fromSubUnitId:_0x3c1b95,toUnitId:_0x7da952,toSubUnitId:_0x30f644,drawing:_0x99a4d6,newTransforms:_0x4d1dae}=_0x481e06,_0x1f7138={..._0x99a4d6,'unitId':_0x7da952,'subUnitId':_0x30f644,'transform':_0x4d1dae[_0x41b411(0x412)],'sheetTransform':_0x4d1dae[_0x41b411(0x16f)]};if(_0x7da952===_0x521ba5&&_0x30f644===_0x3c1b95){let {redo:_0x1f7c48,undo:_0x54f8ed,objects:_0x2c305c}=this[_0x41b411(0x421)][_0x41b411(0x30b)]([_0x1f7138]);return{'redos':[{'id':_0xe8736[_0x41b411(0x15a)]['id'],'params':{'unitId':_0x7da952,'subUnitId':_0x30f644,'type':_0xe8736[_0x41b411(0x1b8)][_0x41b411(0x182)],'op':_0x1f7c48,'objects':_0x2c305c}}],'undos':[{'id':_0xe8736[_0x41b411(0x15a)]['id'],'params':{'unitId':_0x7da952,'subUnitId':_0x30f644,'type':_0xe8736[_0x41b411(0x1b8)][_0x41b411(0x182)],'op':_0x54f8ed,'objects':_0x2c305c}}]};}{let _0x557635=this['_sheetDrawingService'][_0x41b411(0x1ba)]([_0x99a4d6]),_0x1b1c45=this[_0x41b411(0x421)][_0x41b411(0x499)]([_0x1f7138]),_0x568402=this['_shapeService']['getShapeModel'](_0x99a4d6[_0x41b411(0x2d6)],_0x99a4d6[_0x41b411(0x2b1)],_0x99a4d6[_0x41b411(0x214)]);if(!_0x568402)return{'redos':[],'undos':[]};let _0x542599=_0x568402[_0x41b411(0xf3)](),_0x74f04b=JSON['parse'](JSON[_0x41b411(0x4bf)](_0x568402[_0x41b411(0x361)]()));return{'redos':[{'id':_0xe8736[_0x41b411(0x15a)]['id'],'params':{'unitId':_0x521ba5,'subUnitId':_0x3c1b95,'type':_0xe8736[_0x41b411(0x1b8)][_0x41b411(0x442)],'op':_0x557635['redo'],'objects':_0x557635['objects']}},{'id':_0x4d9a77['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x521ba5,'subUnitId':_0x3c1b95,'shapeId':_0x99a4d6[_0x41b411(0x214)]}},{'id':_0xe8736[_0x41b411(0x15a)]['id'],'params':{'unitId':_0x7da952,'subUnitId':_0x30f644,'type':_0xe8736[_0x41b411(0x1b8)][_0x41b411(0x108)],'op':_0x1b1c45[_0x41b411(0x2fd)],'objects':_0x1b1c45[_0x41b411(0x2b0)]}},{'id':_0x4d9a77['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x7da952,'subUnitId':_0x30f644,'shapeId':_0x99a4d6[_0x41b411(0x214)],'shapeType':_0x542599,'shapeData':_0x74f04b}}],'undos':[{'id':_0xe8736[_0x41b411(0x15a)]['id'],'params':{'unitId':_0x521ba5,'subUnitId':_0x3c1b95,'type':_0xe8736['DrawingApplyType'][_0x41b411(0x108)],'op':_0x557635[_0x41b411(0x23e)],'objects':_0x557635[_0x41b411(0x2b0)]}},{'id':_0x4d9a77[_0x41b411(0x115)]['id'],'params':{'unitId':_0x521ba5,'subUnitId':_0x3c1b95,'shapeId':_0x99a4d6[_0x41b411(0x214)],'shapeType':_0x542599,'shapeData':_0x74f04b}},{'id':_0xe8736[_0x41b411(0x15a)]['id'],'params':{'unitId':_0x7da952,'subUnitId':_0x30f644,'type':_0xe8736['DrawingApplyType'][_0x41b411(0x442)],'op':_0x1b1c45[_0x41b411(0x23e)],'objects':_0x1b1c45[_0x41b411(0x2b0)]}},{'id':_0x4d9a77[_0x41b411(0x2a7)]['id'],'params':{'unitId':_0x7da952,'subUnitId':_0x30f644,'shapeId':_0x99a4d6['drawingId']}}]};}}[_0x229451(0x237)](_0x42b999){const _0x57cdf0=_0x229451;let {toUnitId:_0x43af93,toSubUnitId:_0x168edb,drawing:_0x49c1ed,newTransforms:_0x529662,newDrawingId:_0x23fac5,idMap:_0x5ced44}=_0x42b999,_0xe85d5b={..._0x49c1ed,'unitId':_0x43af93,'subUnitId':_0x168edb,'drawingId':_0x23fac5,'transform':_0x529662[_0x57cdf0(0x412)],'sheetTransform':_0x529662[_0x57cdf0(0x16f)]},{redo:_0xf95105,undo:_0x5c7b72,objects:_0x114303}=this[_0x57cdf0(0x421)][_0x57cdf0(0x499)]([_0xe85d5b]),_0x4c292e=this[_0x57cdf0(0x462)][_0x57cdf0(0x12f)](_0x49c1ed[_0x57cdf0(0x2d6)],_0x49c1ed[_0x57cdf0(0x2b1)],_0x49c1ed[_0x57cdf0(0x214)]);if(!_0x4c292e)return{'redos':[],'undos':[]};let _0x38cdc0=_0x4c292e[_0x57cdf0(0xf3)](),_0x2add8f=JSON['parse'](JSON['stringify'](_0x4c292e[_0x57cdf0(0x361)]()));if(_0x2add8f[_0x57cdf0(0x377)]){var _0x442a82,_0x45a071;let _0x28c658=(_0x442a82=_0x2add8f['relation'][_0x57cdf0(0x356)])==null?void 0x0:_0x442a82[_0x57cdf0(0x4a7)],_0x156785=(_0x45a071=_0x2add8f[_0x57cdf0(0x377)]['to'])==null?void 0x0:_0x45a071['shapeId'],_0x4a99ff=!_0x28c658||_0x5ced44['has'](_0x28c658),_0x40ca3f=!_0x156785||_0x5ced44[_0x57cdf0(0x3a1)](_0x156785);_0x4a99ff&&_0x28c658&&_0x2add8f[_0x57cdf0(0x377)][_0x57cdf0(0x356)]?_0x2add8f['relation']['from']={..._0x2add8f['relation'][_0x57cdf0(0x356)],'shapeId':_0x5ced44[_0x57cdf0(0x44d)](_0x28c658)}:_0x2add8f[_0x57cdf0(0x377)][_0x57cdf0(0x356)]=void 0x0,_0x40ca3f&&_0x156785&&_0x2add8f[_0x57cdf0(0x377)]['to']?_0x2add8f[_0x57cdf0(0x377)]['to']={..._0x2add8f[_0x57cdf0(0x377)]['to'],'shapeId':_0x5ced44[_0x57cdf0(0x44d)](_0x156785)}:_0x2add8f[_0x57cdf0(0x377)]['to']=void 0x0;}return{'redos':[{'id':_0xe8736[_0x57cdf0(0x15a)]['id'],'params':{'unitId':_0x43af93,'subUnitId':_0x168edb,'type':_0xe8736[_0x57cdf0(0x1b8)][_0x57cdf0(0x108)],'op':_0xf95105,'objects':_0x114303}},{'id':_0x4d9a77['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x43af93,'subUnitId':_0x168edb,'shapeId':_0x23fac5,'shapeType':_0x38cdc0,'shapeData':_0x2add8f}}],'undos':[{'id':_0xe8736[_0x57cdf0(0x15a)]['id'],'params':{'unitId':_0x43af93,'subUnitId':_0x168edb,'type':_0xe8736[_0x57cdf0(0x1b8)][_0x57cdf0(0x442)],'op':_0x5c7b72,'objects':_0x114303}},{'id':_0x4d9a77[_0x57cdf0(0x2a7)]['id'],'params':{'unitId':_0x43af93,'subUnitId':_0x168edb,'shapeId':_0x23fac5}}]};}[_0x229451(0x3e5)](_0x1de1ca,_0x5bcd18,_0x424076,_0x232591){const _0x5afca3=_0x229451;let {range:_0x5a423c,skeleton:_0x74dc48}=_0x5bcd18,{range:_0x562a4a,skeleton:_0x1684ec}=_0x424076,{transform:_0x4bae07,sheetTransform:_0x34d53d}=_0x1de1ca,_0x1286bf={..._0x4bae07};if(_0x5a423c){let _0x420c69=(0x0,_0x517d2f[_0x5afca3(0x37d)])(_0x74dc48,_0x5a423c),_0x4f1ef0=(0x0,_0x517d2f[_0x5afca3(0x37d)])(_0x1684ec,_0x562a4a);if(_0x420c69&&_0x4f1ef0){let _0x43ec75=_0x4f1ef0['startX']-_0x420c69[_0x5afca3(0x33c)],_0x37ae7b=_0x4f1ef0[_0x5afca3(0x25f)]-_0x420c69[_0x5afca3(0x25f)];_0x1286bf[_0x5afca3(0x1fa)]=(_0x1286bf[_0x5afca3(0x1fa)]??0x0)+_0x43ec75,_0x1286bf[_0x5afca3(0x120)]=(_0x1286bf[_0x5afca3(0x120)]??0x0)+_0x37ae7b;}}else{let _0x544994=(0x0,_0x517d2f[_0x5afca3(0x37d)])(_0x1684ec,_0x562a4a);if(_0x232591&&_0x544994){let _0x40dbf0=(_0x1286bf[_0x5afca3(0x1fa)]??0x0)-_0x232591['left'],_0x258294=(_0x1286bf[_0x5afca3(0x120)]??0x0)-_0x232591[_0x5afca3(0x120)];_0x1286bf[_0x5afca3(0x1fa)]=_0x544994[_0x5afca3(0x33c)]+_0x40dbf0,_0x1286bf[_0x5afca3(0x120)]=_0x544994[_0x5afca3(0x25f)]+_0x258294;}else _0x1286bf[_0x5afca3(0x1fa)]=_0x544994==null?void 0x0:_0x544994[_0x5afca3(0x33c)],_0x1286bf[_0x5afca3(0x120)]=_0x544994==null?void 0x0:_0x544994['startY'];}return{'transform':_0x1286bf,'sheetTransform':(0x0,_0xe8736[_0x5afca3(0x2f4)])(_0x1286bf,_0x1684ec)??_0x34d53d};}};_0x5d1655=_0x3f173a([_0x1c0f1c(0x0,(0x0,_0x4a54e1['Inject'])(_0x517d2f[_0x229451(0x26b)])),_0x1c0f1c(0x1,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x1f919d[_0x229451(0x352)])),_0x1c0f1c(0x2,(0x0,_0x4a54e1[_0x229451(0x488)])(_0xe8736['ISheetDrawingService'])),_0x1c0f1c(0x3,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x4d9a77[_0x229451(0x24a)])),_0x1c0f1c(0x4,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x69857[_0x229451(0x3cc)]))],_0x5d1655);var _0x362223=class extends _0x163b80[_0x229451(0x274)]{constructor(_0x36f496,_0x264b0e){const _0x5ba82d=_0x229451;super(_0x36f496,_0x264b0e),_0x2624fb(this,_0x5ba82d(0x1da),null),_0x2624fb(this,'_index',null),_0x2624fb(this,_0x5ba82d(0x1c9),null),_0x2624fb(this,_0x5ba82d(0x233),null),_0x2624fb(this,'_isStartConnectorPoint',!0x1),_0x264b0e&&this['setShapeProps'](_0x264b0e);}[_0x229451(0x341)](){const _0x54489a=_0x229451;return{'unitId':this[_0x54489a(0x1c9)],'subUnitId':this[_0x54489a(0x233)],'drawingId':this['_shapeId']};}[_0x229451(0x2f8)](_0x27e9ea){const _0x8cc3fb=_0x229451;_0x27e9ea[_0x8cc3fb(0x4a7)]!==void 0x0&&(this['_shapeId']=_0x27e9ea['shapeId']),_0x27e9ea[_0x8cc3fb(0x2d6)]!==void 0x0&&(this['_unitId']=_0x27e9ea[_0x8cc3fb(0x2d6)]),_0x27e9ea['subUnitId']!==void 0x0&&(this['_subUnitId']=_0x27e9ea['subUnitId']),_0x27e9ea['isStartConnectorPoint']!==void 0x0&&(this[_0x8cc3fb(0x1b3)]=_0x27e9ea[_0x8cc3fb(0x171)]),this[_0x8cc3fb(0x145)]({'width':_0x27e9ea[_0x8cc3fb(0x303)],'height':_0x27e9ea[_0x8cc3fb(0x29f)]});}['_draw'](_0x373d89){const _0x293714=_0x229451;_0x163b80['Circle'][_0x293714(0x15e)](_0x373d89,{'radius':_0x163f94[_0x293714(0x1fe)][_0x293714(0x47c)],'fill':_0x163f94[_0x293714(0x1fe)]['cxnPointFill'],'stroke':_0x163f94['ShapeDefaultConfig'][_0x293714(0x4ab)],'strokeWidth':_0x163f94[_0x293714(0x1fe)]['cxnPointStrokeWidth'],'evented':!0x0});}};let _0x11c732=class extends _0x4a54e1[_0x229451(0x2e0)]{constructor(_0x4a3a65,_0x19fd5d,_0x462ba5,_0x1eb9ef,_0x54605e,_0xbc539,_0x2d4aa9,_0x274d27){const _0x5de276=_0x229451;super(),this['_context']=_0x4a3a65,this[_0x5de276(0x25c)]=_0x19fd5d,this[_0x5de276(0x3a6)]=_0x462ba5,this[_0x5de276(0x109)]=_0x1eb9ef,this['_univerInstanceService']=_0x54605e,this[_0x5de276(0x26a)]=_0xbc539,this[_0x5de276(0x114)]=_0x2d4aa9,this['_sheetBasicShapeConnectionPointController']=_0x274d27,_0x2624fb(this,'_activeShapeId',void 0x0),_0x2624fb(this,'_unitId',void 0x0),_0x2624fb(this,_0x5de276(0x233),void 0x0),_0x2624fb(this,_0x5de276(0x26e),[]),_0x2624fb(this,_0x5de276(0x391),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),_0x2624fb(this,_0x5de276(0x45e),void 0x0),_0x2624fb(this,'_isConnecting',!0x1),_0x2624fb(this,_0x5de276(0x44a),!0x1),_0x2624fb(this,_0x5de276(0x186),!0x1),_0x2624fb(this,_0x5de276(0x345),void 0x0),_0x2624fb(this,_0x5de276(0x20c),void 0x0),_0x2624fb(this,_0x5de276(0x1ae),null),this[_0x5de276(0x46a)]();}[_0x229451(0x46a)](){const _0x48aebe=_0x229451;this[_0x48aebe(0xf1)](),this[_0x48aebe(0x2e9)]();}[_0x229451(0x164)](){const _0x4ecc01=_0x229451;if(!this[_0x4ecc01(0x1c9)]||!this[_0x4ecc01(0x233)]||!this[_0x4ecc01(0x1ff)])return;let _0x12047c={'unitId':this['_unitId'],'subUnitId':this[_0x4ecc01(0x233)],'drawingId':this[_0x4ecc01(0x1ff)]},{transform:_0x573f28}=this[_0x4ecc01(0x109)][_0x4ecc01(0x364)](_0x12047c);if(_0x573f28)return{'left':_0x573f28['left']||0x0,'top':_0x573f28[_0x4ecc01(0x120)]||0x0,'width':_0x573f28[_0x4ecc01(0x303)]||0x0,'height':_0x573f28[_0x4ecc01(0x29f)]||0x0,'flipX':_0x573f28['flipX']||!0x1,'flipY':_0x573f28[_0x4ecc01(0x335)]||!0x1,'angle':_0x573f28['angle']};}[_0x229451(0x263)](){const _0x3c4af8=_0x229451;if(this['_unitId']===void 0x0||this[_0x3c4af8(0x233)]===void 0x0||this[_0x3c4af8(0x1ff)]===void 0x0)return;let _0x48cea1=this[_0x3c4af8(0x3a6)][_0x3c4af8(0x4a9)](this['_unitId']);if(!_0x48cea1||!_0x48cea1['with'](_0x1f919d[_0x3c4af8(0x319)])[_0x3c4af8(0xee)]())return;let {scene:_0x176630}=_0x48cea1,_0x48415b=this[_0x3c4af8(0x164)]();if(!_0x48415b)return;let _0x31f760=this['_sheetsShapeService']['getShapeModel'](this['_unitId'],this[_0x3c4af8(0x233)],this['_activeShapeId']);if(!_0x31f760||!(0x0,_0x163f94[_0x3c4af8(0x28e)])(_0x31f760['getShapeType']()))return;let _0x2fd74a=_0x31f760[_0x3c4af8(0x342)]();if(_0x2fd74a[_0x3c4af8(0x31c)]<0x2)return;let _0xde8abc=new _0x163f94['ConnectorCoordinateTransform'](_0x48415b),_0x1da3d5=_0x2fd74a[0x0],_0x55be2d=_0x2fd74a[_0x2fd74a['length']-0x1],_0x4be06b=_0xde8abc[_0x3c4af8(0x3ba)](_0x1da3d5),_0x426a44=_0xde8abc[_0x3c4af8(0x3ba)](_0x55be2d);this[_0x3c4af8(0x37b)](_0x176630,{..._0x4be06b},!0x0),this[_0x3c4af8(0x37b)](_0x176630,{..._0x426a44},!0x1);}['_addShapeConnectorHandlerObject'](_0x33b8e8,_0x5ca6a1,_0x5edab){const _0x1246eb=_0x229451;if(this['_activeShapeId']===void 0x0||this['_unitId']===void 0x0||this[_0x1246eb(0x233)]===void 0x0)return;let _0x4e22d3='connector-handler-'+this[_0x1246eb(0x1c9)]+'-'+this[_0x1246eb(0x233)]+'-'+this[_0x1246eb(0x1ff)]+'-'+(_0x5edab?_0x1246eb(0x378):'end'),_0x7a471c=_0x33b8e8[_0x1246eb(0x105)](_0x4e22d3);if(_0x7a471c){_0x7a471c['transformByState']({'left':_0x5ca6a1['x']-_0x163f94[_0x1246eb(0x1fe)]['cxnPointRadius'],'top':_0x5ca6a1['y']-_0x163f94[_0x1246eb(0x1fe)][_0x1246eb(0x47c)]});return;}let _0x32205b=new _0x362223(_0x4e22d3,{'left':_0x5ca6a1['x']-_0x163f94[_0x1246eb(0x1fe)][_0x1246eb(0x47c)],'top':_0x5ca6a1['y']-_0x163f94[_0x1246eb(0x1fe)][_0x1246eb(0x47c)],'shapeId':this['_activeShapeId'],'unitId':this['_unitId'],'subUnitId':this[_0x1246eb(0x233)],'isStartConnectorPoint':_0x5edab,'width':_0x163f94[_0x1246eb(0x1fe)]['cxnPointRadius']*0x2,'height':_0x163f94[_0x1246eb(0x1fe)][_0x1246eb(0x47c)]*0x2,'zIndex':_0x163b80[_0x1246eb(0x2fe)]+0x1,'evented':!0x0});this[_0x1246eb(0x26e)][_0x1246eb(0x31a)](_0x32205b),this[_0x1246eb(0x240)](_0x32205b,_0x33b8e8,_0x5edab),_0x33b8e8['addObject'](_0x32205b,_0x163b80[_0x1246eb(0x2fe)]+0x1);}[_0x229451(0x295)](_0x4cede7,_0x5aae52){const _0x186fae=_0x229451;var _0x299f26;let _0x53d13c={'x':0x0,'y':0x0};if(!_0x4cede7||!_0x5aae52)return _0x53d13c;let _0x281b24=this[_0x186fae(0x3a6)]['getRenderUnitById'](_0x4cede7);if(!_0x281b24||!_0x281b24[_0x186fae(0x17e)](_0x1f919d[_0x186fae(0x319)])[_0x186fae(0x3d8)](_0x5aae52))return _0x53d13c;let _0x303628=_0x281b24['with'](_0x1f919d[_0x186fae(0x282)]),_0x59b606=_0x303628==null?void 0x0:_0x303628['getCurrentScrollState']();if(!_0x59b606)return _0x53d13c;let _0x1954bc=(_0x299f26=this[_0x186fae(0x473)][_0x186fae(0x227)](_0x4cede7))==null?void 0x0:_0x299f26['getSheetBySheetId'](_0x5aae52);if(!_0x1954bc)return _0x53d13c;let _0x171452=(0x0,_0x1f919d['getViewportByCell'])(_0x59b606[_0x186fae(0x199)],_0x59b606[_0x186fae(0x13e)],_0x281b24[_0x186fae(0x2cc)],_0x1954bc);return _0x171452?{'x':_0x171452[_0x186fae(0x137)],'y':_0x171452[_0x186fae(0x3c7)]}:_0x53d13c;}[_0x229451(0x1f7)](_0x3740ef,_0x41d672){const _0x2fd52c=_0x229451;var _0x412f6d;let _0x4e49e3=(_0x412f6d=this[_0x2fd52c(0x473)][_0x2fd52c(0x227)](_0x3740ef))==null?void 0x0:_0x412f6d[_0x2fd52c(0xe5)](_0x41d672);return(_0x4e49e3==null?void 0x0:_0x4e49e3[_0x2fd52c(0x47a)]())??0x1;}[_0x229451(0x184)](_0x10aeca,_0x1270fc,_0x2d62a3,_0x1a49e5,_0x1e09b6){const _0x4d110f=_0x229451;this['_cxtHandlerPointerMove'][_0x4d110f(0x48a)](),this['_cxtHandlerPointerUp'][_0x4d110f(0x48a)](),this[_0x4d110f(0x114)]['refreshAdjustControls']();let _0x319b53=this[_0x4d110f(0x1ae)];this[_0x4d110f(0x4b6)][_0x4d110f(0x3b3)]();let _0x49a11e=this['_getScrollInfo'](this[_0x4d110f(0x1c9)],this[_0x4d110f(0x233)]),_0x452d9a=this[_0x4d110f(0x1f7)](this[_0x4d110f(0x1c9)],this[_0x4d110f(0x233)]),_0x18f53f={'x':_0x2d62a3[_0x4d110f(0x4c5)]/_0x452d9a+_0x49a11e['x'],'y':_0x2d62a3[_0x4d110f(0x12b)]/_0x452d9a+_0x49a11e['y']},_0x216889=_0x319b53?_0x319b53['worldPoint']:_0x18f53f,_0x655c81=_0x1a49e5?this[_0x4d110f(0x45e)][_0x4d110f(0x27c)]():this[_0x4d110f(0x45e)]['getStartConnectInfo'](),_0x4e1b2f=this[_0x4d110f(0x45e)][_0x4d110f(0xf3)]();_0x655c81?this[_0x4d110f(0x2d5)](_0x655c81,_0x216889,_0x1a49e5,_0x319b53,_0x1e09b6):this['_handleFreeEndpointPointerUp'](_0x1270fc,_0x216889,_0x1a49e5,_0x319b53,_0x1e09b6,_0x4e1b2f),this[_0x4d110f(0x2b2)]=!0x1,this[_0x4d110f(0x186)]=!0x1,this[_0x4d110f(0x1ae)]=null,_0x10aeca[_0x4d110f(0x44e)]();}['_handleFreeEndpointPointerUp'](_0x32d3f6,_0xc384a9,_0x29f8d0,_0x905c23,_0x3110ff,_0xcf6ecd){const _0x1a79b1=_0x229451;let _0x3f5749=_0xcf6ecd===_0x163f94['ShapeTypeEnum'][_0x1a79b1(0x3bb)]||_0xcf6ecd===_0x163f94['ShapeTypeEnum'][_0x1a79b1(0x217)],_0x50a4a2=_0x29f8d0?_0xc384a9:_0x32d3f6,_0x52aeaa=_0x29f8d0?_0x32d3f6:_0xc384a9,_0x206103=this[_0x1a79b1(0x45e)][_0x1a79b1(0x342)](),_0x74ed3d=this[_0x1a79b1(0x45e)][_0x1a79b1(0xf3)](),_0x957531=(0x0,_0x163f94['isCurvedConnectorShape'])(_0x74ed3d),_0xa6d9b=_0x163f94[_0x1a79b1(0x396)][_0x1a79b1(0x271)](_0x206103,_0x957531),_0x5769f9=_0x3f5749?_0x163f94['ConnectorCoordinateTransform'][_0x1a79b1(0x225)](_0x50a4a2,_0x52aeaa):_0x163f94[_0x1a79b1(0x396)][_0x1a79b1(0x2ab)](_0x32d3f6,_0xc384a9,_0x29f8d0,_0xa6d9b);_0x905c23?this['_executeConnectionCommand'](_0x5769f9,_0x905c23,_0x29f8d0,_0x3110ff):this[_0x1a79b1(0x339)](_0x5769f9,_0x3110ff);}[_0x229451(0x2d5)](_0x55045c,_0x200be6,_0x2f4df6,_0x379744,_0x4b3273){const _0x442d17=_0x229451;let _0x4bf640=this['_getConnectPointInfo'](_0x55045c);if(!_0x4bf640)return;let _0x231a95=_0x379744?_0x379744['angle']:this[_0x442d17(0x348)](_0x4bf640[_0x442d17(0x14f)],_0x200be6),_0x1787ff;if(_0x379744){let _0x20a7a6=this[_0x442d17(0x109)][_0x442d17(0x364)]({'unitId':_0x379744['unitId'],'subUnitId':_0x379744['subUnitId'],'drawingId':_0x379744['shapeId']});if(_0x20a7a6!=null&&_0x20a7a6[_0x442d17(0x412)]){let {left:_0x4b9059=0x0,top:_0x33a4ce=0x0,width:_0x3ddb70=0x0,height:_0x4bb881=0x0,angle:_0x37744e}=_0x20a7a6[_0x442d17(0x412)];_0x1787ff=(0x0,_0x163f94[_0x442d17(0x1cf)])({'left':_0x4b9059,'top':_0x33a4ce,'width':_0x3ddb70,'height':_0x4bb881},_0x37744e||0x0);}else _0x1787ff={'left':_0x200be6['x'],'top':_0x200be6['y'],'width':0x0,'height':0x0};}else _0x1787ff={'left':_0x200be6['x'],'top':_0x200be6['y'],'width':0x0,'height':0x0};let _0x423e9c={'point':_0x200be6,'angle':_0x231a95,'bounds':_0x1787ff},_0x57fdb5=_0x2f4df6?_0x423e9c:_0x4bf640,_0x218f13=_0x2f4df6?_0x4bf640:_0x423e9c,_0x13cf1f=this['_activeShapeModel'][_0x442d17(0xf3)](),_0x590862=(0x0,_0x163f94[_0x442d17(0x321)])(_0x57fdb5,_0x218f13,_0x13cf1f);this[_0x442d17(0x45e)][_0x442d17(0x229)]();let _0xff6bd2=(0x0,_0x163f94[_0x442d17(0x3d4)])(_0x590862,_0x13cf1f);_0x379744?this['_executeConnectedRouteConnectionCommand'](_0xff6bd2,_0x379744,_0x55045c,_0x2f4df6,_0x4b3273):this['_executeConnectedRouteResizeCommand'](_0xff6bd2,_0x55045c,_0x2f4df6,_0x4b3273);}[_0x229451(0x278)](_0xd3cdd7,_0x4176,_0x512548,_0x445fb2){const _0x3750b2=_0x229451;let _0x489a43=this[_0x3750b2(0x45e)][_0x3750b2(0x361)]()['relation'],_0x560ac2={..._0x489a43},_0x4615dc={'shapeId':_0x4176[_0x3750b2(0x4a7)],'cxnIndex':_0x4176[_0x3750b2(0x213)]};_0x512548?_0x560ac2['from']=_0x4615dc:_0x560ac2['to']=_0x4615dc;let _0x430a6b=this['_activeShapeModel'][_0x3750b2(0xf3)](),_0x442a55=(0x0,_0x163f94[_0x3750b2(0x3d4)])(_0xd3cdd7['worldPoints'],_0x430a6b),_0x1dcfe0={'unitId':this[_0x3750b2(0x1c9)],'subUnitId':this[_0x3750b2(0x233)],'connectorShapeId':this[_0x3750b2(0x1ff)],'width':_0xd3cdd7[_0x3750b2(0x239)][_0x3750b2(0x303)],'height':_0xd3cdd7[_0x3750b2(0x239)]['height'],'left':_0xd3cdd7[_0x3750b2(0x239)]['left'],'top':_0xd3cdd7[_0x3750b2(0x239)][_0x3750b2(0x120)],'flipX':_0xd3cdd7['worldRect'][_0x3750b2(0x121)]||!0x1,'flipY':_0xd3cdd7['worldRect'][_0x3750b2(0x335)]||!0x1,'newAdjustValues':_0x442a55['adjustValues'],'oldAdjustValues':_0x445fb2,'oldRelation':_0x489a43,'newRelation':_0x560ac2,'newLineType':_0x442a55[_0x3750b2(0x39d)],'oldLineType':_0x430a6b};this[_0x3750b2(0x25c)][_0x3750b2(0x22f)](_0x4d9a77[_0x3750b2(0x4d8)]['id'],_0x1dcfe0);}[_0x229451(0x339)](_0x5f238c,_0xf50e2b){const _0x2125f5=_0x229451;let _0x5ab813=this[_0x2125f5(0x45e)][_0x2125f5(0xf3)](),_0x271dcd=(0x0,_0x163f94[_0x2125f5(0x3d4)])(_0x5f238c[_0x2125f5(0x3ca)],_0x5ab813),_0x529ee6={'unitId':this['_unitId'],'subUnitId':this[_0x2125f5(0x233)],'shapeId':this[_0x2125f5(0x1ff)],'width':_0x5f238c[_0x2125f5(0x239)]['width'],'height':_0x5f238c[_0x2125f5(0x239)][_0x2125f5(0x29f)],'left':_0x5f238c[_0x2125f5(0x239)][_0x2125f5(0x1fa)],'top':_0x5f238c[_0x2125f5(0x239)][_0x2125f5(0x120)],'flipX':_0x5f238c[_0x2125f5(0x239)][_0x2125f5(0x121)]||!0x1,'flipY':_0x5f238c['worldRect'][_0x2125f5(0x335)]||!0x1,'angle':_0x5f238c[_0x2125f5(0x239)][_0x2125f5(0x1b7)]||0x0,'newAdjustValues':_0x271dcd['adjustValues'],'oldAdjustValues':_0xf50e2b,'newLineType':_0x271dcd[_0x2125f5(0x39d)],'oldLineType':_0x5ab813};this[_0x2125f5(0x25c)][_0x2125f5(0x22f)](_0x4d9a77[_0x2125f5(0x325)]['id'],_0x529ee6);}[_0x229451(0x1ee)](_0x29c203,_0x4afd6c,_0x17fe31,_0x291ea3,_0x4ea977){const _0x1a261f=_0x229451;let _0x15836f=this[_0x1a261f(0x45e)][_0x1a261f(0x361)]()['relation'],_0x3e29e9={..._0x15836f},_0xbf9d37={'shapeId':_0x4afd6c[_0x1a261f(0x4a7)],'cxnIndex':_0x4afd6c[_0x1a261f(0x213)]};_0x291ea3?(_0x3e29e9[_0x1a261f(0x356)]=_0xbf9d37,_0x3e29e9['to']=_0x17fe31):(_0x3e29e9[_0x1a261f(0x356)]=_0x17fe31,_0x3e29e9['to']=_0xbf9d37);let _0x559112={'unitId':this[_0x1a261f(0x1c9)],'subUnitId':this[_0x1a261f(0x233)],'connectorShapeId':this['_activeShapeId'],'width':_0x29c203['worldRect'][_0x1a261f(0x303)],'height':_0x29c203[_0x1a261f(0x239)][_0x1a261f(0x29f)],'left':_0x29c203[_0x1a261f(0x239)][_0x1a261f(0x1fa)],'top':_0x29c203['worldRect'][_0x1a261f(0x120)],'flipX':_0x29c203[_0x1a261f(0x239)]['flipX']||!0x1,'flipY':_0x29c203[_0x1a261f(0x239)]['flipY']||!0x1,'oldAdjustValues':_0x4ea977,'newAdjustValues':_0x29c203[_0x1a261f(0x33e)],'newLineType':_0x29c203[_0x1a261f(0x39d)],'rotation':_0x29c203[_0x1a261f(0x1ed)],'oldRelation':_0x15836f,'newRelation':_0x3e29e9};this['_commandService'][_0x1a261f(0x22f)](_0x4d9a77[_0x1a261f(0x4d8)]['id'],_0x559112);}[_0x229451(0x1c4)](_0x36d6d4,_0x20048f,_0x4c04de,_0x534059){const _0x2647dc=_0x229451;let _0x16c3d7=this[_0x2647dc(0x45e)][_0x2647dc(0x361)]()['relation'],_0x7542b9={};_0x4c04de?(_0x7542b9['to']=_0x20048f,_0x7542b9[_0x2647dc(0x356)]=void 0x0):(_0x7542b9[_0x2647dc(0x356)]=_0x20048f,_0x7542b9['to']=void 0x0);let _0x32fa04={'unitId':this[_0x2647dc(0x1c9)],'subUnitId':this[_0x2647dc(0x233)],'connectorShapeId':this[_0x2647dc(0x1ff)],'width':_0x36d6d4[_0x2647dc(0x239)][_0x2647dc(0x303)],'height':_0x36d6d4[_0x2647dc(0x239)][_0x2647dc(0x29f)],'left':_0x36d6d4[_0x2647dc(0x239)][_0x2647dc(0x1fa)],'top':_0x36d6d4[_0x2647dc(0x239)][_0x2647dc(0x120)],'flipX':_0x36d6d4['worldRect'][_0x2647dc(0x121)]||!0x1,'flipY':_0x36d6d4['worldRect'][_0x2647dc(0x335)]||!0x1,'oldAdjustValues':_0x534059,'newAdjustValues':_0x36d6d4[_0x2647dc(0x33e)],'newLineType':_0x36d6d4['lineType'],'rotation':_0x36d6d4[_0x2647dc(0x1ed)],'oldRelation':_0x16c3d7,'newRelation':_0x7542b9};this[_0x2647dc(0x25c)][_0x2647dc(0x22f)](_0x4d9a77[_0x2647dc(0x4d8)]['id'],_0x32fa04);}[_0x229451(0x240)](_0x238181,_0x3d76ff,_0x1a33f3){const _0x1ee7b3=_0x229451;this[_0x1ee7b3(0x223)]((0x0,_0x4a54e1[_0x1ee7b3(0x3f5)])(_0x238181['onPointerDown$'][_0x1ee7b3(0x14d)]((_0x5e36e1,_0x44fdc9)=>{const _0x1c7534=_0x1ee7b3;let _0x2f59c0=_0x238181[_0x1c7534(0x341)]();if(this[_0x1c7534(0x45e)]=this['_sheetsShapeService']['getShapeModel'](_0x2f59c0[_0x1c7534(0x2d6)],_0x2f59c0[_0x1c7534(0x2b1)],_0x2f59c0[_0x1c7534(0x214)]),!this[_0x1c7534(0x45e)])return;let _0x17b9a6={};this[_0x1c7534(0x45e)][_0x1c7534(0x4cd)]()[_0x1c7534(0x2e2)](_0x4283ad=>{const _0x322ba4=_0x1c7534;let _0x555a13=this[_0x322ba4(0x45e)]['getAdjustValueByName'](_0x4283ad);_0x555a13!==void 0x0&&(_0x17b9a6[_0x4283ad]=_0x555a13);});let _0x32be7e=this[_0x1c7534(0x164)]();if(!_0x32be7e)return;this[_0x1c7534(0x391)]={..._0x32be7e};let _0x311b38=new _0x163f94[(_0x1c7534(0x396))](this['_baseDrawingRect']),_0x68dc2f=(0x0,_0x46a31d[_0x1c7534(0x4d7)])({'unitId':this[_0x1c7534(0x1c9)],'subUnitId':this[_0x1c7534(0x233)],'drawingId':this['_activeShapeId']}),_0x4be4ae=_0x3d76ff['getObjectIncludeInGroup'](_0x68dc2f);this[_0x1c7534(0x2b2)]=!0x0,_0x3d76ff[_0x1c7534(0x38f)](),this[_0x1c7534(0x4b6)][_0x1c7534(0x11a)](_0x3d76ff,this[_0x1c7534(0x1c9)],this[_0x1c7534(0x233)],this[_0x1c7534(0x1ff)]),this['_currentConnectionTarget']=null;let _0x2de73b=this[_0x1c7534(0x45e)]['getConnectorLinePoints'](),_0x970797=_0x2de73b[0x0],_0x271876=_0x2de73b[_0x2de73b[_0x1c7534(0x31c)]-0x1],_0x2dc503=_0x1a33f3?_0x311b38[_0x1c7534(0x3ba)](_0x271876):_0x311b38[_0x1c7534(0x3ba)](_0x970797);this['_cxtHandlerPointerMove']=_0x3d76ff[_0x1c7534(0xf8)][_0x1c7534(0x14d)]((_0x4c9f16,_0x343bc4)=>{const _0xc9e9ee=_0x1c7534;if(!this[_0xc9e9ee(0x2b2)]||!this[_0xc9e9ee(0x45e)])return;this['_hasReset']||=(this[_0xc9e9ee(0x114)][_0xc9e9ee(0x4a2)](),this[_0xc9e9ee(0x45e)][_0xc9e9ee(0x366)](),!0x0);let _0x5c302e=this[_0xc9e9ee(0x295)](this[_0xc9e9ee(0x1c9)],this[_0xc9e9ee(0x233)]),_0x45c066=this[_0xc9e9ee(0x1f7)](this[_0xc9e9ee(0x1c9)],this['_subUnitId']),_0xfd5a0={'x':_0x4c9f16['offsetX']/_0x45c066+_0x5c302e['x'],'y':_0x4c9f16[_0xc9e9ee(0x12b)]/_0x45c066+_0x5c302e['y']},_0x150545=this[_0xc9e9ee(0x4b6)][_0xc9e9ee(0x224)](_0xfd5a0);if(_0x150545){let {shapeId:_0x193599,unitId:_0x17537b,subUnitId:_0x7612fd}=_0x150545;if(_0x193599&&_0x17537b&&_0x7612fd){let _0x29c11a=(0x0,_0x46a31d['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x17537b,'subUnitId':_0x7612fd,'drawingId':_0x193599});_0x150545[_0xc9e9ee(0x1b7)]=(_0x3d76ff[_0xc9e9ee(0x105)](_0x29c11a)[_0xc9e9ee(0x1b7)]||0x0)+_0x150545[_0xc9e9ee(0x1b7)];}}this[_0xc9e9ee(0x1ae)]=_0x150545;let _0x225681=_0x1a33f3?this['_activeShapeModel']['getEndConnectInfo']():this[_0xc9e9ee(0x45e)][_0xc9e9ee(0x172)]();_0x225681?this['_handleConnectedEndpointMove'](_0x225681,_0xfd5a0,_0x1a33f3,_0x4be4ae,_0x238181):this['_handleFreeEndpointMove'](_0xfd5a0,_0x2dc503,_0x1a33f3,_0x4be4ae,_0x238181);}),this[_0x1c7534(0x20c)]=_0x3d76ff[_0x1c7534(0x46f)]['subscribeEvent']((_0x423f80,_0x112308)=>{this['_handleConnectorPointerUp'](_0x3d76ff,_0x2dc503,_0x423f80,_0x1a33f3,_0x17b9a6);}),_0x44fdc9[_0x1c7534(0x34d)]();})));}[_0x229451(0x206)](_0x2741e1,_0x3ba2d1,_0x1baea6){const _0x3597cf=_0x229451;let _0x116318=this[_0x3597cf(0x26a)][_0x3597cf(0x357)](_0x2741e1,_0x3ba2d1,_0x1baea6);if(!_0x116318||_0x116318[_0x3597cf(0x31c)]===0x0)return;let _0x50ae3c=this[_0x3597cf(0x3a6)][_0x3597cf(0x4a9)](_0x2741e1);if(!_0x50ae3c)return;let {scene:_0x2c1afd}=_0x50ae3c;for(let _0x368c82 of _0x116318){let _0x40b8cc=_0x368c82[_0x3597cf(0x13c)],_0x41da59=this[_0x3597cf(0x26a)][_0x3597cf(0x12f)](_0x2741e1,_0x3ba2d1,_0x40b8cc);if(!_0x41da59)continue;let _0x5743f0=_0x41da59[_0x3597cf(0x172)](),_0x304bd8=_0x41da59['getEndConnectInfo'](),_0xaf5043=(_0x5743f0==null?void 0x0:_0x5743f0['shapeId'])===_0x1baea6,_0x3f13f9=(0x0,_0x46a31d[_0x3597cf(0x4d7)])({'unitId':_0x2741e1,'subUnitId':_0x3ba2d1,'drawingId':_0x40b8cc}),_0x10e5e2=_0x2c1afd[_0x3597cf(0x105)](_0x3f13f9);if(!_0x10e5e2)continue;let _0x2e4c52=this[_0x3597cf(0x109)][_0x3597cf(0x364)]({'unitId':_0x2741e1,'subUnitId':_0x3ba2d1,'drawingId':_0x40b8cc});_0x2e4c52!=null&&_0x2e4c52['transform']&&(_0x5743f0&&_0x304bd8?this[_0x3597cf(0x289)](_0x2741e1,_0x3ba2d1,_0x40b8cc,_0x41da59,_0x5743f0,_0x304bd8,_0x10e5e2):this[_0x3597cf(0x317)](_0x2741e1,_0x3ba2d1,_0x40b8cc,_0x41da59,_0xaf5043?_0x5743f0:_0x304bd8,_0xaf5043,_0x2e4c52,_0x10e5e2));}}[_0x229451(0x289)](_0x29b096,_0x2c5209,_0x1f018a,_0x572bfd,_0x492cae,_0x1cb5e5,_0x538d91){const _0x3c469c=_0x229451;let _0x1e6c3a=this['_unitId'],_0x5d0326=this[_0x3c469c(0x233)];this[_0x3c469c(0x1c9)]=_0x29b096,this['_subUnitId']=_0x2c5209;let _0x153398=this[_0x3c469c(0x12e)](_0x492cae),_0x25992a=this[_0x3c469c(0x12e)](_0x1cb5e5);if(this[_0x3c469c(0x1c9)]=_0x1e6c3a,this['_subUnitId']=_0x5d0326,!_0x153398||!_0x25992a)return;let _0x3d8bfa=_0x572bfd[_0x3c469c(0xf3)](),_0x445486=(0x0,_0x163f94['routeConnectorLineShape'])(_0x153398,_0x25992a,_0x3d8bfa);_0x445486&&_0x572bfd[_0x3c469c(0x3d9)](_0x445486);let _0x485e66=(0x0,_0x163f94[_0x3c469c(0x3d4)])(_0x445486,_0x3d8bfa);_0x485e66[_0x3c469c(0x39d)]!==_0x3d8bfa&&_0x572bfd['changeShapeType'](_0x485e66[_0x3c469c(0x39d)]),_0x572bfd['clearAdjustValue']();for(let [_0x57a6ff,_0xe8ac3]of Object['entries'](_0x485e66[_0x3c469c(0x33e)]))_0x572bfd['setAdjustValueByName'](_0x57a6ff,_0xe8ac3);_0x572bfd[_0x3c469c(0x405)]({'width':_0x485e66[_0x3c469c(0x239)]['width'],'height':_0x485e66[_0x3c469c(0x239)][_0x3c469c(0x29f)]}),_0x538d91['transformByState']({'flipX':_0x485e66[_0x3c469c(0x239)][_0x3c469c(0x121)],'flipY':_0x485e66[_0x3c469c(0x239)][_0x3c469c(0x335)],'left':_0x485e66[_0x3c469c(0x239)]['left'],'top':_0x485e66[_0x3c469c(0x239)][_0x3c469c(0x120)],'width':_0x485e66[_0x3c469c(0x239)]['width'],'height':_0x485e66['worldRect']['height'],'angle':_0x485e66[_0x3c469c(0x1ed)]}),_0x572bfd['removeLinePoints']();}[_0x229451(0x317)](_0x3bdf0,_0x109de6,_0x11a5d5,_0x2eebf5,_0x5f21b1,_0x127054,_0x53e577,_0x5450c6){const _0x2977fb=_0x229451;let _0x267bf9=this['_unitId'],_0x5861a4=this['_subUnitId'];this[_0x2977fb(0x1c9)]=_0x3bdf0,this[_0x2977fb(0x233)]=_0x109de6;let _0x1c14bd=this[_0x2977fb(0x12e)](_0x5f21b1);if(this[_0x2977fb(0x1c9)]=_0x267bf9,this[_0x2977fb(0x233)]=_0x5861a4,!_0x1c14bd)return;let {left:_0x5b6162=0x0,top:_0x306d68=0x0,width:_0x46024d=0x0,height:_0x50c4cd=0x0,flipX:_0x330b89=!0x1,flipY:_0x23fce0=!0x1}=_0x53e577[_0x2977fb(0x412)],_0x429042=_0x2eebf5['getConnectorLinePoints']();if(_0x429042[_0x2977fb(0x31c)]<0x2)return;let _0x2859c0=new _0x163f94[(_0x2977fb(0x396))]({'left':_0x5b6162,'top':_0x306d68,'width':_0x46024d,'height':_0x50c4cd,'flipX':_0x330b89,'flipY':_0x23fce0}),_0x44a4f5=_0x127054?_0x429042[_0x429042[_0x2977fb(0x31c)]-0x1]:_0x429042[0x0],_0x15397b=_0x2859c0[_0x2977fb(0x3ba)](_0x44a4f5),_0x49a05e=_0x163f94['ConnectorCoordinateTransform'][_0x2977fb(0x2ab)](_0x15397b,_0x1c14bd[_0x2977fb(0x14f)],!_0x127054);_0x5450c6[_0x2977fb(0x145)]({'flipX':_0x49a05e[_0x2977fb(0x239)][_0x2977fb(0x121)],'flipY':_0x49a05e[_0x2977fb(0x239)]['flipY'],'left':_0x49a05e['worldRect']['left'],'top':_0x49a05e[_0x2977fb(0x239)]['top'],'width':_0x49a05e['worldRect']['width'],'height':_0x49a05e[_0x2977fb(0x239)][_0x2977fb(0x29f)],'angle':_0x49a05e[_0x2977fb(0x239)][_0x2977fb(0x1b7)]}),_0x5450c6[_0x2977fb(0x1fc)](!0x0);}[_0x229451(0x27b)](){const _0x24d34a=_0x229451;this['_connectorObjects'][_0x24d34a(0x31c)]!==0x0&&(this[_0x24d34a(0x26e)][_0x24d34a(0x2e2)](_0x9ef8b3=>{const _0x39f606=_0x24d34a;_0x9ef8b3[_0x39f606(0x138)]();}),this[_0x24d34a(0x26e)]=[]);}['_registerDrawingMoveHandler'](){const _0x5342ed=_0x229451;let _0x5ac90b=this[_0x5342ed(0x473)][_0x5342ed(0x154)](_0x4a54e1[_0x5342ed(0x1c7)][_0x5342ed(0x3f4)]);this[_0x5342ed(0x223)](_0x5ac90b[_0x5342ed(0x1f3)]((0x0,_0x393422[_0x5342ed(0x3c0)])(_0x1f5b06=>_0x1f5b06?_0x1f5b06['activeSheet$'][_0x5342ed(0x1f3)]((0x0,_0x393422[_0x5342ed(0x3c0)])(_0x5314e9=>{const _0x31beb3=_0x5342ed;if(!_0x5314e9)return _0x393422[_0x31beb3(0x133)];let _0x5d5603=_0x1f5b06[_0x31beb3(0x158)](),_0xd94592=this['_renderManagerService'][_0x31beb3(0x4a9)](_0x5d5603),_0x4a956e=_0xd94592==null?void 0x0:_0xd94592[_0x31beb3(0x2cc)];return _0x4a956e?(0x0,_0x393422['of'])(_0x4a956e):_0x393422[_0x31beb3(0x133)];})):_0x393422['EMPTY']))['subscribe'](_0x19a0a2=>{const _0xf42308=_0x5342ed;let _0x237cd6=_0x19a0a2['getTransformerByCreate']();this[_0xf42308(0x223)](_0x19a0a2[_0xf42308(0xf8)]['subscribeEvent'](_0x46744f=>{const _0x5984f0=_0xf42308;this[_0x5984f0(0x44a)]&&this[_0x5984f0(0x1ff)]&&this[_0x5984f0(0x27b)]();})),this['disposeWithMe'](_0x237cd6['changeStart$']['subscribe'](_0x438d2a=>{const _0x4d16ef=_0xf42308;let {objects:_0x2396ab}=_0x438d2a;this['_clearShapeConnectorHandlerObjects'](),_0x2396ab!==null&&_0x2396ab[_0x4d16ef(0x4ce)]===0x1&&_0x2396ab['values']()[_0x4d16ef(0x2f2)]()[_0x4d16ef(0x4c6)]instanceof _0x229110&&(this[_0x4d16ef(0x44a)]=!0x0);})),this[_0xf42308(0x223)](_0x237cd6['changing$'][_0xf42308(0x3ae)](_0x556093=>{const _0x4eef68=_0xf42308;this[_0x4eef68(0x44a)]&&this[_0x4eef68(0x27b)]();})),this[_0xf42308(0x223)](_0x19a0a2['onPointerUp$'][_0xf42308(0x14d)](()=>{const _0x5105ea=_0xf42308;this[_0x5105ea(0x44a)]&&(this[_0x5105ea(0x44a)]=!0x1,this['_addShapeConnectorHandlerObjects']());})),this[_0xf42308(0x223)](_0x237cd6['changeEnd$'][_0xf42308(0x3ae)](()=>{const _0x34b9f1=_0xf42308;this[_0x34b9f1(0x1c9)]&&this['_subUnitId']&&this[_0x34b9f1(0x1ff)]&&this[_0x34b9f1(0x109)][_0x34b9f1(0x364)]({'unitId':this[_0x34b9f1(0x1c9)],'subUnitId':this[_0x34b9f1(0x233)],'drawingId':this[_0x34b9f1(0x1ff)]})&&(this[_0x34b9f1(0x27b)](),this[_0x34b9f1(0x263)]());}));}));}[_0x229451(0xf1)](){const _0x4d10f8=_0x229451;this[_0x4d10f8(0x223)](this[_0x4d10f8(0x109)][_0x4d10f8(0xef)]['subscribe'](_0x404a0f=>{const _0x29fb13=_0x4d10f8;if(_0x404a0f[_0x29fb13(0x31c)]===0x1){let _0x3fd095=_0x404a0f[0x0];if(_0x3fd095[_0x29fb13(0x38d)]===_0x4a54e1[_0x29fb13(0x429)][_0x29fb13(0x453)]){let _0x3d1211=this[_0x29fb13(0x26a)][_0x29fb13(0x12f)](_0x3fd095['unitId'],_0x3fd095[_0x29fb13(0x2b1)],_0x3fd095[_0x29fb13(0x214)]);if(_0x3d1211&&(0x0,_0x163f94[_0x29fb13(0x28e)])(_0x3d1211['getShapeType']())){this[_0x29fb13(0x1ff)]=_0x3fd095[_0x29fb13(0x214)],this[_0x29fb13(0x1c9)]=_0x3fd095[_0x29fb13(0x2d6)],this[_0x29fb13(0x233)]=_0x3fd095['subUnitId'],this[_0x29fb13(0x27b)](),this['_addShapeConnectorHandlerObjects']();return;}}}this[_0x29fb13(0x1ff)]=void 0x0,this[_0x29fb13(0x1c9)]=void 0x0,this['_subUnitId']=void 0x0,this[_0x29fb13(0x27b)]();})),this[_0x4d10f8(0x223)](this[_0x4d10f8(0x109)]['update$'][_0x4d10f8(0x3ae)](_0x410623=>{const _0x1ca638=_0x4d10f8;if(_0x410623[_0x1ca638(0x31c)]===0x1){var _0x3dade5;let _0x565a0a=_0x410623[0x0],_0x2837f7=(_0x3dade5=this[_0x1ca638(0x109)][_0x1ca638(0x364)](_0x565a0a))==null?void 0x0:_0x3dade5['drawingType'];_0x2837f7===_0x4a54e1[_0x1ca638(0x429)]['DRAWING_SHAPE']&&_0x565a0a[_0x1ca638(0x214)]===this[_0x1ca638(0x1ff)]?(this[_0x1ca638(0x27b)](),this['_addShapeConnectorHandlerObjects']()):!this[_0x1ca638(0x1ff)]&&_0x2837f7===_0x4a54e1[_0x1ca638(0x429)][_0x1ca638(0x453)]&&this[_0x1ca638(0x206)](_0x565a0a[_0x1ca638(0x2d6)],_0x565a0a[_0x1ca638(0x2b1)],_0x565a0a[_0x1ca638(0x214)]);}})),this[_0x4d10f8(0x223)](this[_0x4d10f8(0x109)][_0x4d10f8(0x1bf)][_0x4d10f8(0x3ae)](_0x133de6=>{const _0x32a3f7=_0x4d10f8;for(let _0x198bc2 of _0x133de6){let {drawingId:_0x54182c}=_0x198bc2;if(this[_0x32a3f7(0x1ff)]===_0x54182c){this[_0x32a3f7(0x4b5)]();return;}}}));}[_0x229451(0x41c)](_0x15b004,_0x571af0,_0x8876e5,_0x2ff556,_0x3197e8){const _0x4c830f=_0x229451;var _0x45c6f5;if(!this[_0x4c830f(0x45e)])return;let _0x1d1688=this[_0x4c830f(0x12e)](_0x15b004);if(!_0x1d1688)return;let _0x59ab5f=this['_currentConnectionTarget']?this[_0x4c830f(0x1ae)][_0x4c830f(0x314)]:_0x571af0,_0x1872c1=this[_0x4c830f(0x1ae)]?this[_0x4c830f(0x1ae)][_0x4c830f(0x1b7)]:this[_0x4c830f(0x348)](_0x1d1688[_0x4c830f(0x14f)],_0x59ab5f),_0xa0a631;if(this[_0x4c830f(0x1ae)]){let _0x386e49=this['_drawingManagerService']['getDrawingByParam']({'unitId':this[_0x4c830f(0x1ae)][_0x4c830f(0x2d6)],'subUnitId':this[_0x4c830f(0x1ae)][_0x4c830f(0x2b1)],'drawingId':this['_currentConnectionTarget'][_0x4c830f(0x4a7)]});if(_0x386e49!=null&&_0x386e49['transform']){let {left:_0x2191e7=0x0,top:_0x12eb25=0x0,width:_0x19e3a7=0x0,height:_0x20d72=0x0,angle:_0x2078c7}=_0x386e49[_0x4c830f(0x412)];_0xa0a631=(0x0,_0x163f94['getBasicShapeRotateBound'])({'left':_0x2191e7,'top':_0x12eb25,'width':_0x19e3a7,'height':_0x20d72},_0x2078c7||0x0);}else _0xa0a631={'left':_0x59ab5f['x'],'top':_0x59ab5f['y'],'width':0x0,'height':0x0};}else _0xa0a631={'left':_0x59ab5f['x'],'top':_0x59ab5f['y'],'width':0x0,'height':0x0};let _0x8c2575={'point':_0x59ab5f,'angle':_0x1872c1,'bounds':_0xa0a631},_0x418368=_0x8876e5?_0x8c2575:_0x1d1688,_0x44d386=_0x8876e5?_0x1d1688:_0x8c2575,_0x5bedb8=this[_0x4c830f(0x45e)][_0x4c830f(0xf3)](),_0x172273=(0x0,_0x163f94[_0x4c830f(0x321)])(_0x418368,_0x44d386,_0x5bedb8);_0x172273&&this[_0x4c830f(0x45e)]['updateLinePoints'](_0x172273);let _0x5a2687=(0x0,_0x163f94[_0x4c830f(0x3d4)])(_0x172273,_0x5bedb8);_0x5a2687[_0x4c830f(0x39d)]!==_0x5bedb8&&this[_0x4c830f(0x45e)][_0x4c830f(0x33b)](_0x5a2687[_0x4c830f(0x39d)]);for(let [_0xa32968,_0x4fddef]of Object[_0x4c830f(0x1bb)](_0x5a2687[_0x4c830f(0x33e)]))this[_0x4c830f(0x45e)]['setAdjustValueByName'](_0xa32968,_0x4fddef);this['_activeShapeModel'][_0x4c830f(0x405)]({'width':_0x5a2687['worldRect'][_0x4c830f(0x303)],'height':_0x5a2687[_0x4c830f(0x239)][_0x4c830f(0x29f)]}),_0x2ff556[_0x4c830f(0x145)]({'flipX':_0x5a2687[_0x4c830f(0x239)][_0x4c830f(0x121)],'flipY':_0x5a2687['worldRect'][_0x4c830f(0x335)],'left':_0x5a2687['worldRect']['left'],'top':_0x5a2687['worldRect'][_0x4c830f(0x120)],'width':_0x5a2687[_0x4c830f(0x239)]['width'],'height':_0x5a2687[_0x4c830f(0x239)][_0x4c830f(0x29f)],'angle':_0x5a2687['rotation']}),_0x2ff556['makeDirty'](!0x0);let _0x162f81=((_0x45c6f5=this[_0x4c830f(0x1ae)])==null?void 0x0:_0x45c6f5[_0x4c830f(0x314)])??_0x571af0;_0x3197e8[_0x4c830f(0x145)]({'left':_0x162f81['x']-_0x163f94[_0x4c830f(0x1fe)]['cxnPointRadius'],'top':_0x162f81['y']-_0x163f94[_0x4c830f(0x1fe)]['cxnPointRadius']});}['_handleFreeEndpointMove'](_0x344d5e,_0x23fb7b,_0x281dc1,_0x504746,_0x4743d6){const _0x4c4194=_0x229451;var _0x264a7a,_0x268db2;let _0x2ddeff=((_0x264a7a=this[_0x4c4194(0x1ae)])==null?void 0x0:_0x264a7a[_0x4c4194(0x314)])??_0x344d5e,_0x5ed7b3=_0x163f94[_0x4c4194(0x396)][_0x4c4194(0x2ab)](_0x23fb7b,_0x2ddeff,_0x281dc1);_0x504746[_0x4c4194(0x145)]({'flipX':_0x5ed7b3[_0x4c4194(0x239)][_0x4c4194(0x121)],'flipY':_0x5ed7b3[_0x4c4194(0x239)][_0x4c4194(0x335)],'left':_0x5ed7b3[_0x4c4194(0x239)]['left'],'top':_0x5ed7b3[_0x4c4194(0x239)][_0x4c4194(0x120)],'width':_0x5ed7b3[_0x4c4194(0x239)][_0x4c4194(0x303)],'height':_0x5ed7b3[_0x4c4194(0x239)]['height'],'angle':_0x5ed7b3[_0x4c4194(0x239)]['angle']});let _0x138428=((_0x268db2=this[_0x4c4194(0x1ae)])==null?void 0x0:_0x268db2[_0x4c4194(0x314)])??_0x344d5e;_0x4743d6[_0x4c4194(0x145)]({'left':_0x138428['x']-_0x163f94[_0x4c4194(0x1fe)]['cxnPointRadius'],'top':_0x138428['y']-_0x163f94[_0x4c4194(0x1fe)][_0x4c4194(0x47c)]});}['_getConnectPointInfo'](_0x46db4e){const _0x5e6cf8=_0x229451;if(!this[_0x5e6cf8(0x1c9)]||!this[_0x5e6cf8(0x233)])return null;let {shapeId:_0x4a6c3a,cxnIndex:_0x5672d6}=_0x46db4e,_0x61d6d6=this['_sheetsShapeService'][_0x5e6cf8(0x12f)](this[_0x5e6cf8(0x1c9)],this[_0x5e6cf8(0x233)],_0x4a6c3a);if(!_0x61d6d6)return null;let _0x286286=this[_0x5e6cf8(0x109)][_0x5e6cf8(0x364)]({'unitId':this[_0x5e6cf8(0x1c9)],'subUnitId':this[_0x5e6cf8(0x233)],'drawingId':_0x4a6c3a});if(!(_0x286286!=null&&_0x286286['transform']))return null;let {left:_0x50957b=0x0,top:_0xb8947e=0x0,width:_0x1551ab=0x0,height:_0x1514d4=0x0,flipX:_0xa52f97=!0x1,flipY:_0x301064=!0x1,angle:_0x5978bf}=_0x286286[_0x5e6cf8(0x412)];_0x61d6d6['updateContext']({'width':_0x1551ab,'height':_0x1514d4});let _0x5c1012=_0x61d6d6[_0x5e6cf8(0x1e5)]()['find'](_0x3f4454=>_0x3f4454[_0x5e6cf8(0x32f)]===_0x5672d6);if(!_0x5c1012)return null;let _0x4c62f4=_0xa52f97?_0x1551ab-_0x5c1012['x']:_0x5c1012['x'],_0x1c2846=_0x301064?_0x1514d4-_0x5c1012['y']:_0x5c1012['y'];if(_0x5978bf!==0x0&&_0x5978bf!=null){let _0x2969a2=_0x5978bf*Math['PI']/0xb4,_0x1c3b3b=Math[_0x5e6cf8(0x168)](_0x2969a2),_0x547092=Math[_0x5e6cf8(0x22d)](_0x2969a2),_0xe0e503=_0x1551ab/0x2,_0xfbaa7a=_0x1514d4/0x2,_0x23cf75=_0x4c62f4-_0xe0e503,_0x17adf7=_0x1c2846-_0xfbaa7a;_0x4c62f4=_0xe0e503+_0x23cf75*_0x1c3b3b-_0x17adf7*_0x547092,_0x1c2846=_0xfbaa7a+_0x23cf75*_0x547092+_0x17adf7*_0x1c3b3b;}_0x4c62f4+=_0x50957b,_0x1c2846+=_0xb8947e;let _0x42809d=_0x5c1012[_0x5e6cf8(0x2fa)]/0xea60;_0xa52f97&&(_0x42809d=0xb4-_0x42809d),_0x301064&&(_0x42809d=-_0x42809d),_0x42809d+=_0x5978bf||0x0,_0x42809d=(_0x42809d%0x168+0x168)%0x168;let _0x5847a6=(0x0,_0x163f94[_0x5e6cf8(0x1cf)])({'left':_0x50957b,'top':_0xb8947e,'width':_0x1551ab,'height':_0x1514d4},_0x5978bf||0x0);return{'point':{'x':_0x4c62f4,'y':_0x1c2846},'angle':_0x42809d,'bounds':_0x5847a6};}[_0x229451(0x348)](_0x1e7763,_0x359a9d){const _0x16d3e1=_0x229451;let _0x5b9017=_0x359a9d['x']-_0x1e7763['x'],_0x213f8c=_0x359a9d['y']-_0x1e7763['y'];return Math[_0x16d3e1(0x3bc)](_0x5b9017)>=Math[_0x16d3e1(0x3bc)](_0x213f8c)?_0x5b9017>=0x0?0xb4:0x0:_0x213f8c>=0x0?0x10e:0x5a;}[_0x229451(0x4b5)](){const _0x2acdde=_0x229451;this['_activeShapeId']=void 0x0,this[_0x2acdde(0x1c9)]=void 0x0,this[_0x2acdde(0x233)]=void 0x0,this[_0x2acdde(0x27b)]();}['dispose'](){const _0x4bd66f=_0x229451;this[_0x4bd66f(0x27b)](),super[_0x4bd66f(0x138)]();}};_0x11c732=_0x3f173a([_0x1c0f1c(0x1,_0x4a54e1[_0x229451(0x440)]),_0x1c0f1c(0x2,_0x163b80[_0x229451(0x3fd)]),_0x1c0f1c(0x3,_0x46a31d[_0x229451(0x309)]),_0x1c0f1c(0x4,_0x4a54e1[_0x229451(0x49d)]),_0x1c0f1c(0x5,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x4d9a77[_0x229451(0x24a)])),_0x1c0f1c(0x6,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x51de41)),_0x1c0f1c(0x7,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x283ee0))],_0x11c732);let _0x2f8be8=class extends _0x4a54e1[_0x229451(0x2e0)]{constructor(_0x50b140,_0x63a0e4,_0x4782a1){const _0x2e57c9=_0x229451;super(),this['_sheetPrintInterceptorService']=_0x50b140,this[_0x2e57c9(0x109)]=_0x63a0e4,this['_shapeRenderController']=_0x4782a1,this[_0x2e57c9(0x142)]();}[_0x229451(0x142)](){const _0x53de83=_0x229451;this[_0x53de83(0x223)](this[_0x53de83(0x1ad)][_0x53de83(0x187)][_0x53de83(0x44f)](this[_0x53de83(0x1ad)][_0x53de83(0x187)][_0x53de83(0x1d1)]()[_0x53de83(0x424)],{'handler':(_0x20cdbf,_0xc69f2b,_0x2b512c)=>{const _0x276b37=_0x53de83;var _0x58b822;let {unitId:_0x437598,subUnitId:_0x234700,scene:_0x585e0a,resourceCollector:_0x2c3f4d}=_0xc69f2b,_0x5cc74f=(_0x58b822=this[_0x276b37(0x109)]['getDrawingDataForUnit'](_0x437598))==null?void 0x0:_0x58b822[_0x234700];return _0x5cc74f==null||_0x5cc74f[_0x276b37(0x16d)][_0x276b37(0x2e2)](_0x1b0bb1=>{const _0x6d4ea1=_0x276b37;let _0x224e87=_0x5cc74f[_0x6d4ea1(0x3fa)][_0x1b0bb1];_0x224e87[_0x6d4ea1(0x38d)]===_0x4a54e1[_0x6d4ea1(0x429)][_0x6d4ea1(0x453)]&&!_0x224e87[_0x6d4ea1(0x2b5)]&&this[_0x6d4ea1(0x2f0)][_0x6d4ea1(0x129)](_0x224e87,_0x585e0a,{'resourceCollector':_0x2c3f4d});}),_0x2b512c(_0x20cdbf);}}));}};_0x2f8be8=_0x3f173a([_0x1c0f1c(0x0,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x1f919d[_0x229451(0x476)])),_0x1c0f1c(0x1,_0x46a31d[_0x229451(0x309)]),_0x1c0f1c(0x2,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x46b13f))],_0x2f8be8);let _0x46eb4c=class extends _0x4a54e1[_0x229451(0x2e0)]{constructor(_0x56a9e6,_0x37709c,_0x32aff3){const _0x1e8af5=_0x229451;super(),this[_0x1e8af5(0x25c)]=_0x56a9e6,this['_localeService']=_0x37709c,this[_0x1e8af5(0x162)]=_0x32aff3,this['_initPermission']();}[_0x229451(0x1ac)](){const _0x52042b=_0x229451;this['disposeWithMe'](this[_0x52042b(0x25c)]['beforeCommandExecuted'](_0x152a6e=>{const _0x118f16=_0x52042b;let _0x17dde3,_0x2f7ce0;if(_0x152a6e['id']===_0x4d9a77[_0x118f16(0x490)]['id']||_0x152a6e['id']===_0x4d9a77[_0x118f16(0x4ca)]['id']||_0x152a6e['id']===_0x4d9a77[_0x118f16(0x4d8)]['id']){let _0x527773=_0x152a6e[_0x118f16(0x112)];_0x17dde3=_0x527773[_0x118f16(0x2d6)],_0x2f7ce0=_0x527773[_0x118f16(0x2b1)];}_0x17dde3&&_0x2f7ce0&&(this['_sheetPermissionCheckController'][_0x118f16(0x4d4)]({'workbookTypes':[_0x517d2f[_0x118f16(0x1a8)]],'worksheetTypes':[_0x517d2f[_0x118f16(0x4d6)]]},_0x17dde3,_0x2f7ce0)||this[_0x118f16(0x162)][_0x118f16(0x3c3)](this['_localeService']['t'](_0x118f16(0x244))));}));}};_0x46eb4c=_0x3f173a([_0x1c0f1c(0x0,(0x0,_0x4a54e1['Inject'])(_0x4a54e1['ICommandService'])),_0x1c0f1c(0x1,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x4a54e1[_0x229451(0x1c1)])),_0x1c0f1c(0x2,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x517d2f['SheetPermissionCheckController']))],_0x46eb4c);let _0x300885=class{constructor(_0xbef0b8){const _0x4b0dae=_0x229451;this[_0x4b0dae(0x3a6)]=_0xbef0b8;}['updateShapeFillImage'](_0xb99899,_0x20ddce){const _0x24d428=_0x229451;let _0x29e929=this[_0x24d428(0x3a6)]['getRenderUnitById'](_0xb99899[_0x24d428(0x2d6)]),_0x30e0ad=_0x29e929==null?void 0x0:_0x29e929[_0x24d428(0x2cc)];if(!_0x30e0ad)return;let _0xdfc1cf=(0x0,_0x46a31d[_0x24d428(0x4d7)])(_0xb99899),_0x43f74d=_0x30e0ad[_0x24d428(0x105)](_0xdfc1cf);_0x43f74d==null||_0x43f74d[_0x24d428(0x18e)](_0x20ddce);}};_0x300885=_0x3f173a([_0x1c0f1c(0x0,_0x163b80['IRenderManagerService'])],_0x300885);let _0x7074d1=class extends _0x4a54e1[_0x229451(0x24e)]{constructor(_0x3d2308=_0x13a58f,_0x23f3dc,_0x3e4298,_0x45ce8e,_0x98f893){const _0x4d6e45=_0x229451;super(),this[_0x4d6e45(0x3d2)]=_0x3d2308,this[_0x4d6e45(0x1be)]=_0x23f3dc,this[_0x4d6e45(0x25c)]=_0x3e4298,this['_configService']=_0x45ce8e,this[_0x4d6e45(0x3a6)]=_0x98f893;let {..._0x5570fe}=(0x0,_0x4a54e1['merge'])({},_0x13a58f,this[_0x4d6e45(0x3d2)]);this[_0x4d6e45(0x42c)][_0x4d6e45(0x119)](_0xdb1df0,_0x5570fe),this['_initCommands']();}[_0x229451(0x2b3)](){const _0x45d4c9=_0x229451;this[_0x45d4c9(0x1be)][_0x45d4c9(0x1c2)]([_0x3dd74c]),this[_0x45d4c9(0x1be)][_0x45d4c9(0x44d)](_0x3dd74c),(0x0,_0x4a54e1[_0x45d4c9(0x2da)])(this[_0x45d4c9(0x1be)],[[_0x5b0733],[_0x2cbc52],[_0x46b13f],[_0x2f8be8],[_0x300885],[_0x3b44ca],[_0x55f6b1],[_0x5ad6df],[_0x46eb4c]]);}[_0x229451(0x2b7)](){const _0x45be4c=_0x229451;(0x0,_0x4a54e1[_0x45be4c(0x2da)])(this['_injector'],[[_0x283ee0],[_0x51de41],[_0x5d1655]]),(0x0,_0x4a54e1[_0x45be4c(0x478)])(this[_0x45be4c(0x1be)],[[_0x5d1655],[_0x51de41]]),[[_0x283ee0],[_0x31496d],[_0x11c732],[_0x5391f4]][_0x45be4c(0x2e2)](_0x20e5f7=>{const _0x23d1c0=_0x45be4c;this[_0x23d1c0(0x223)](this[_0x23d1c0(0x3a6)][_0x23d1c0(0x1cd)](_0x4a54e1[_0x23d1c0(0x1c7)][_0x23d1c0(0x3f4)],_0x20e5f7));});}[_0x229451(0x1e0)](){const _0x595d54=_0x229451;(0x0,_0x4a54e1['touchDependencies'])(this[_0x595d54(0x1be)],[[_0x5b0733],[_0x2cbc52],[_0x46b13f],[_0x2f8be8],[_0x300885],[_0x3b44ca],[_0x55f6b1],[_0x5ad6df],[_0x46eb4c]]);}['onSteady'](){const _0x42bba1=_0x229451;this[_0x42bba1(0x1be)][_0x42bba1(0x44d)](_0x5b0733)[_0x42bba1(0x10d)]();}['_initCommands'](){const _0x35e1ca=_0x229451;[_0x197b3e,_0x58f758,_0x4cd6f0,_0x257d23][_0x35e1ca(0x2e2)](_0x14462c=>this['disposeWithMe'](this[_0x35e1ca(0x25c)][_0x35e1ca(0x298)](_0x14462c)));}};_0x2624fb(_0x7074d1,_0x229451(0x41e),_0x4a54e1['UniverInstanceType']['UNIVER_SHEET']),_0x2624fb(_0x7074d1,_0x229451(0x235),_0x229451(0x49a)),_0x2624fb(_0x7074d1,'packageName',_0xd011e4),_0x2624fb(_0x7074d1,_0x229451(0x150),_0x3a72ed),_0x7074d1=_0x3f173a([(0x0,_0x4a54e1[_0x229451(0x4c7)])(_0x41799b[_0x229451(0x39c)],_0x495f84['UniverDocsPlugin'],_0x46a31d[_0x229451(0x3f1)],_0x163b80['UniverRenderEnginePlugin'],_0x517d2f[_0x229451(0xfa)],_0x42907f['UniverDocsUIPlugin'],_0xe8736[_0x229451(0x486)],_0x3e01f8['UniverShapeEditorPlugin'],_0x69857['UniverSheetsDrawingMobileUIPlugin'],_0x4d9a77['UniverSheetsShapePlugin'],_0x1f919d[_0x229451(0x34a)],_0x478c88[_0x229451(0x17f)],_0x45c65a[_0x229451(0x42e)]),_0x1c0f1c(0x1,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x4a54e1['Injector'])),_0x1c0f1c(0x2,_0x4a54e1['ICommandService']),_0x1c0f1c(0x3,_0x4a54e1['IConfigService']),_0x1c0f1c(0x4,_0x163b80[_0x229451(0x3fd)])],_0x7074d1);let _0x3e2df6={'type':_0x4a54e1[_0x229451(0x205)][_0x229451(0xf4)],'id':_0x229451(0x329),'handler'(){return!0x0;}};function _0x56f689(){const _0x4f9e0a=_0x229451;let _0x6ed3e9=(0x0,_0x45c65a[_0x4f9e0a(0x1d6)])(_0x46a31d['IDrawingManagerService']),_0x3274f9=(0x0,_0x45c65a[_0x4f9e0a(0x33f)])(()=>_0x6ed3e9['focus$'],_0x6ed3e9[_0x4f9e0a(0x382)](),!0x1,[_0x6ed3e9]);return _0x3274f9[_0x4f9e0a(0x31c)]===0x0?null:(0x0,_0x5818ca['jsx'])(_0x4f9e0a(0x362),{'children':(0x0,_0x5818ca[_0x4f9e0a(0x300)])('div',{'className':_0x4f9e0a(0x193),'children':[(0x0,_0x5818ca[_0x4f9e0a(0x1c0)])(_0x359560[_0x4f9e0a(0x2e8)],{'drawings':_0x3274f9,'hasCropper':!0x1}),(0x0,_0x5818ca[_0x4f9e0a(0x1c0)])(_0x69857['SheetDrawingAnchor'],{'drawings':_0x3274f9})]})});}function _0x231f6e(_0x518694){const _0x357728=_0x229451;let {unitId:_0x456eab,subUnitId:_0xc00781,shapeId:_0x4ca3c0}=_0x518694,_0x473aa0=(0x0,_0x45c65a[_0x357728(0x1d6)])(_0x4a54e1['ICommandService']),_0x57ed7d=(0x0,_0x45c65a[_0x357728(0x1d6)])(_0x300885);return(0x0,_0x5818ca[_0x357728(0x1c0)])(_0x478c88['ShapeEditPanel'],{..._0x518694,'positionEditor':(0x0,_0x5818ca['jsx'])(_0x56f689,{}),'onUpdateShapeData':(_0x42ca0c,_0x4b1285)=>{_0x28480e(_0x473aa0,_0x456eab,_0xc00781,_0x4ca3c0,_0x42ca0c,_0x4b1285);},'onUpdateLineShapeData':(_0x37f6c9,_0x179bef)=>{_0x55dad8(_0x473aa0,_0x456eab,_0xc00781,_0x4ca3c0,_0x37f6c9,_0x179bef);},'onUpdateShapeFillImage':_0x181b97=>{const _0x207e17=_0x357728;_0x57ed7d[_0x207e17(0x2db)]({'unitId':_0x456eab,'subUnitId':_0xc00781,'drawingId':_0x4ca3c0},_0x181b97);}});}function _0x340fbc(_0x503544){const _0xa33f0b=_0x229451;let _0x18d398=(0x0,_0x45c65a[_0xa33f0b(0x1d6)])(_0x478c88[_0xa33f0b(0x3aa)]),_0x49d474=(0x0,_0x45c65a[_0xa33f0b(0x33f)])(()=>_0x18d398['visible$'],_0x18d398[_0xa33f0b(0x178)](),!0x1,[_0x18d398]),_0x27cffb=_0x503544[_0xa33f0b(0x4de)][_0xa33f0b(0x30d)];return!_0x27cffb||!_0x49d474?null:(0x0,_0x5818ca[_0xa33f0b(0x1c0)])(_0x2d81f5,{..._0x27cffb,'canvasElement':_0x503544[_0xa33f0b(0x4de)][_0xa33f0b(0x1b2)]});}function _0x2d81f5(_0x4dabad){const _0xa197f=_0x229451;let _0x39cdbf=(0x0,_0x45c65a[_0xa197f(0x1d6)])(_0x4a54e1[_0xa197f(0x440)]),_0x31cfb9=(0x0,_0x45c65a[_0xa197f(0x1d6)])(_0x4d9a77[_0xa197f(0x24a)]),{unitId:_0x181e6e,subUnitId:_0x153af3,drawingId:_0x308cfa,drawingType:_0xef3a92,shapeType:_0x553160}=_0x4dabad,[_0x113434,_0x532954]=(0x0,_0x5ddce8['useState'])(_0x4dabad['shapeData']),_0x845f9d=(0x0,_0x5ddce8[_0xa197f(0x18d)])(()=>(0x0,_0x478c88['getTextStyle'])(_0x113434),[_0x113434]),_0xdd3056=(0x0,_0x5ddce8['useMemo'])(()=>(0x0,_0x478c88[_0xa197f(0x14a)])(_0x113434),[_0x113434]);(0x0,_0x5ddce8[_0xa197f(0x21c)])(()=>{const _0x5b2ff7=_0xa197f;let _0xa573d5=_0x39cdbf[_0x5b2ff7(0x367)](_0x41be8b=>{const _0x4297f7=_0x5b2ff7;if(_0x41be8b['id']!==_0x4d9a77[_0x4297f7(0x3ee)]['id'])return;let _0x4debe4=_0x31cfb9['getShapeDataById'](_0x181e6e,_0x153af3,_0x308cfa);_0x4debe4&&_0x532954(_0x4debe4);});return()=>_0xa573d5[_0x5b2ff7(0x138)]();},[_0x39cdbf,_0x308cfa,_0x31cfb9,_0x153af3,_0x181e6e]);let _0x3ade37=_0x4077d3=>{_0x532954(_0x46c0b0=>({..._0x46c0b0,..._0x4077d3}));},_0x308135=_0x1fabe7=>{let _0x5710a0=(0x0,_0x478c88['buildShapeTextDataUpdate'])(_0x113434,_0x1fabe7);_0x28480e(_0x39cdbf,_0x181e6e,_0x153af3,_0x308cfa,{'oldShapeData':{'shapeText':_0x113434['shapeText']}},_0x5710a0),_0x3ade37(_0x5710a0);},_0x43cbaf=(0x0,_0x478c88['useFormulaShapeToolbar'])({'hostType':_0x4a54e1[_0xa197f(0x1c7)]['UNIVER_SHEET'],'unitId':_0x181e6e,'subUnitId':_0x153af3,'shapeId':_0x308cfa,'shapeData':_0x113434,'onUpdateBinding':_0x2e7824=>{const _0x44ef0d=_0xa197f;let _0x52e4d5={'formulaBinding':_0x2e7824};_0x28480e(_0x39cdbf,_0x181e6e,_0x153af3,_0x308cfa,{'oldShapeData':{'formulaBinding':_0x113434[_0x44ef0d(0x2c0)]}},_0x52e4d5),_0x3ade37(_0x52e4d5);}});return(0x0,_0x5818ca[_0xa197f(0x300)])(_0x5818ca[_0xa197f(0x248)],{'children':[(0x0,_0x5818ca[_0xa197f(0x1c0)])(_0x478c88[_0xa197f(0x2e3)],{'canvasElement':_0x4dabad[_0xa197f(0x1b2)],'shapeData':_0x113434,'shapeType':_0x553160,'textStyle':{'ff':_0x163f94[_0xa197f(0x1fe)]['shapeText'][_0xa197f(0x267)],'fs':_0x163f94[_0xa197f(0x1fe)][_0xa197f(0x29c)][_0xa197f(0x417)],'cl':{'rgb':_0x163f94['ShapeDefaultConfig'][_0xa197f(0x29c)][_0xa197f(0x48d)]},..._0x845f9d},'textModel':_0xdd3056?{'ha':_0xdd3056['ha']??_0x4a54e1[_0xa197f(0x4a8)]['LEFT'],'va':_0xdd3056['va']??_0x4a54e1[_0xa197f(0x3c2)][_0xa197f(0x236)]}:null,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x163f94[_0xa197f(0x1fe)][_0xa197f(0x2ce)],'defaultGradientEndColor':_0x163f94[_0xa197f(0x1fe)]['gradientEndColor'],'defaultStrokeColor':_0x163f94[_0xa197f(0x1fe)][_0xa197f(0x16c)],'extensionGroups':_0x43cbaf[_0xa197f(0x2dc)],'floatingObjectToolbarPosition':_0x45c65a['FloatingObjectToolbarPosition'][_0xa197f(0x2ad)],'onUpdateShapeData':(_0x4e1364,_0x403a83)=>{_0x28480e(_0x39cdbf,_0x181e6e,_0x153af3,_0x308cfa,_0x4e1364,_0x403a83),_0x403a83&&_0x3ade37(_0x403a83);},'onUpdateText':_0x308135,'onOpenPanel':()=>{_0x39cdbf['executeCommand'](_0x37c60f['id'],{'unitId':_0x181e6e,'subUnitId':_0x153af3,'drawingId':_0x308cfa});},'onDelete':()=>{const _0x168122=_0xa197f;_0x39cdbf[_0x168122(0x22f)](_0xe8736[_0x168122(0x33a)]['id'],{'unitId':_0x181e6e,'drawings':[{'unitId':_0x181e6e,'subUnitId':_0x153af3,'drawingId':_0x308cfa,'drawingType':_0xef3a92}]});}}),_0x43cbaf[_0xa197f(0x35b)]]});}function _0x4fc5b3(_0x257981){const _0x1da259=_0x229451;return!!_0x257981&&_0x1da259(0x26c)in _0x257981&&_0x1da259(0x16f)in _0x257981;}let _0x4d46d5=(0x0,_0x5ddce8[_0x229451(0x135)])(()=>{const _0x3c3ded=_0x229451;let _0x3c051b=(0x0,_0x45c65a['useDependency'])(_0x3b44ca),_0x85f7c4=(0x0,_0x45c65a['useDependency'])(_0x4d9a77[_0x3c3ded(0x24a)]),_0x30abc8=(0x0,_0x45c65a['useDependency'])(_0x46a31d[_0x3c3ded(0x309)]),_0x289bc4=(0x0,_0x45c65a['useDependency'])(_0x4a54e1[_0x3c3ded(0x440)]),_0x55b7d8=(0x0,_0x45c65a[_0x3c3ded(0x1d6)])(_0x45c65a[_0x3c3ded(0x1eb)]),_0x13aeb2=(0x0,_0x45c65a[_0x3c3ded(0x1d6)])(_0x163b80['IRenderManagerService']),_0x2ddffd=(0x0,_0x5ddce8[_0x3c3ded(0x18d)])(()=>({'getShapeModel':(_0x4e89d1,_0x280f29,_0x3ae3d7)=>_0x85f7c4[_0x3c3ded(0x12f)](_0x4e89d1,_0x280f29,_0x3ae3d7),'getShapeData':(_0x3f889f,_0x33edcb,_0x22247a)=>_0x85f7c4[_0x3c3ded(0x159)](_0x3f889f,_0x33edcb,_0x22247a),'getDrawingTransform':(_0xe56b5b,_0x4abf01,_0x5af190)=>{let _0x4796da=_0x30abc8['getDrawingByParam']({'unitId':_0xe56b5b,'subUnitId':_0x4abf01,'drawingId':_0x5af190});return _0x4796da==null?void 0x0:_0x4796da['transform'];},'updateShapeText':({unitId:_0xd4e1e3,subUnitId:_0x5a57c5,shapeId:_0x40bed0,shapeText:_0x434bdf,oldShapeText:_0x33aaf6,hostSize:_0x45533e})=>{const _0x5a8fe6=_0x3c3ded;_0x55b7d8[_0x5a8fe6(0x457)](_0xd4e1e3,()=>{const _0x2b0453=_0x5a8fe6;var _0x16d519;let _0x4d544a=_0x289bc4[_0x2b0453(0x414)](_0x58f758['id'],{'unitId':_0xd4e1e3,'subUnitId':_0x5a57c5,'shapeId':_0x40bed0,'shapeData':{'shapeText':_0x434bdf},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x33aaf6}}});if(!_0x4d544a||!_0x45533e)return _0x4d544a;let _0x58ff19=_0x30abc8[_0x2b0453(0x364)]({'unitId':_0xd4e1e3,'subUnitId':_0x5a57c5,'drawingId':_0x40bed0}),_0x5b9601=_0x58ff19==null?void 0x0:_0x58ff19[_0x2b0453(0x412)];if(!_0x4fc5b3(_0x58ff19)||!_0x5b9601)return!0x1;let _0x5bd8a7={..._0x5b9601,'width':_0x45533e[_0x2b0453(0x303)],'height':_0x45533e[_0x2b0453(0x29f)]},_0x33de4b=(_0x16d519=_0x13aeb2[_0x2b0453(0x4a9)](_0xd4e1e3))==null||(_0x16d519=_0x16d519[_0x2b0453(0x17e)](_0x1f919d[_0x2b0453(0x319)])[_0x2b0453(0x2bd)](_0x5a57c5))==null?void 0x0:_0x16d519[_0x2b0453(0x21a)];return _0x289bc4['syncExecuteCommand'](_0xe8736[_0x2b0453(0x2e5)]['id'],{'unitId':_0xd4e1e3,'drawings':[{..._0x58ff19,'transform':_0x5bd8a7,'sheetTransform':_0x33de4b?(0x0,_0xe8736[_0x2b0453(0x2f4)])(_0x5bd8a7,_0x33de4b)??_0x58ff19[_0x2b0453(0x16f)]:_0x58ff19[_0x2b0453(0x16f)],'axisAlignSheetTransform':_0x33de4b?(0x0,_0xe8736[_0x2b0453(0x4d3)])(_0x5bd8a7,_0x33de4b)??_0x58ff19['axisAlignSheetTransform']:_0x58ff19[_0x2b0453(0x26c)]}]});});},'updateHostSize':({unitId:_0x364dc3,subUnitId:_0x409920,shapeId:_0x403001,width:_0x11b396,height:_0x35f4fe})=>{const _0x1f044c=_0x3c3ded;var _0xf9209d;let _0x518f22=_0x30abc8[_0x1f044c(0x364)]({'unitId':_0x364dc3,'subUnitId':_0x409920,'drawingId':_0x403001}),_0x8bb1ff=_0x518f22==null?void 0x0:_0x518f22['transform'];if(!_0x4fc5b3(_0x518f22)||!_0x8bb1ff)return;let _0x35cae3={..._0x8bb1ff,'width':_0x11b396,'height':_0x35f4fe},_0xbcfa36=(_0xf9209d=_0x13aeb2[_0x1f044c(0x4a9)](_0x364dc3))==null||(_0xf9209d=_0xf9209d[_0x1f044c(0x17e)](_0x1f919d[_0x1f044c(0x319)])['getSkeletonParam'](_0x409920))==null?void 0x0:_0xf9209d[_0x1f044c(0x21a)],_0x52b189=_0xbcfa36?(0x0,_0xe8736['transformToDrawingPosition'])(_0x35cae3,_0xbcfa36)??_0x518f22[_0x1f044c(0x16f)]:_0x518f22[_0x1f044c(0x16f)],_0x49c5ea=_0xbcfa36?(0x0,_0xe8736[_0x1f044c(0x4d3)])(_0x35cae3,_0xbcfa36)??_0x518f22[_0x1f044c(0x26c)]:_0x518f22[_0x1f044c(0x26c)];_0x289bc4['executeCommand'](_0xe8736[_0x1f044c(0x2e5)]['id'],{'unitId':_0x364dc3,'drawings':[{..._0x518f22,'transform':_0x35cae3,'sheetTransform':_0x52b189,'axisAlignSheetTransform':_0x49c5ea}]});},'allowHostSizeShrink':({unitId:_0x52461c,subUnitId:_0x3d4b5e,shapeId:_0x290b6e})=>(0x0,_0x478c88[_0x3c3ded(0x423)])(_0x85f7c4['getShapeDataById'](_0x52461c,_0x3d4b5e,_0x290b6e)),'deferHostSizeUpdateDuringEditing':()=>!0x0}),[_0x289bc4,_0x30abc8,_0x13aeb2,_0x85f7c4,_0x55b7d8]),_0x3fd7ef=(0x0,_0x5ddce8[_0x3c3ded(0x18d)])(()=>({'viewportKeys':{'main':_0x163b80['SHEET_VIEWPORT_KEY'][_0x3c3ded(0x492)],'leftTop':_0x163b80[_0x3c3ded(0x2ea)][_0x3c3ded(0x447)],'top':_0x163b80['SHEET_VIEWPORT_KEY'][_0x3c3ded(0x11b)],'left':_0x163b80[_0x3c3ded(0x2ea)][_0x3c3ded(0x183)]},'getSkeleton':(_0x1aada1,_0x45b551)=>{const _0x550fee=_0x3c3ded;var _0x5b4887;return((_0x5b4887=_0x1aada1[_0x550fee(0x17e)](_0x1f919d['SheetSkeletonManagerService'])[_0x550fee(0x2bd)](_0x45b551['subUnitId']))==null?void 0x0:_0x5b4887['skeleton'])??null;}}),[]);return(0x0,_0x5818ca[_0x3c3ded(0x1c0)])(_0x478c88[_0x3c3ded(0x2a4)],{'adapter':_0x2ddffd,'editingService':_0x3c051b,'editorUnitId':_0x5adf59,'positionOptions':_0x3fd7ef});}),_0x3d35b2=class extends _0x4a54e1[_0x229451(0x2e0)]{constructor(_0x2b91d6,_0x489cfa){const _0x3f97de=_0x229451;super(),this['_componentManager']=_0x2b91d6,this[_0x3f97de(0x2ee)]=_0x489cfa,this[_0x3f97de(0x34e)](),this[_0x3f97de(0x3c9)]();}[_0x229451(0x34e)](){const _0x4a861b=_0x229451;this['_iconManager'][_0x4a861b(0x3a1)](_0x4a861b(0x40e))||this['disposeWithMe'](this[_0x4a861b(0x2ee)][_0x4a861b(0x17b)]({'ObjectLayersIcon':_0x2f8e4b})),this[_0x4a861b(0x2ee)][_0x4a861b(0x3a1)]('FlipHorizontalIcon')||this['disposeWithMe'](this[_0x4a861b(0x2ee)][_0x4a861b(0x17b)]({'FlipHorizontalIcon':_0x418ef0})),this[_0x4a861b(0x2ee)][_0x4a861b(0x3a1)]('FlipVerticalIcon')||this[_0x4a861b(0x223)](this[_0x4a861b(0x2ee)][_0x4a861b(0x17b)]({'FlipVerticalIcon':_0x247f26})),this[_0x4a861b(0x2ee)][_0x4a861b(0x3a1)](_0x4a861b(0x4c0))||this['disposeWithMe'](this[_0x4a861b(0x2ee)][_0x4a861b(0x17b)]({'BottomIcon':_0xc29b81})),this[_0x4a861b(0x2ee)]['has'](_0x4a861b(0x2be))||this[_0x4a861b(0x223)](this[_0x4a861b(0x2ee)][_0x4a861b(0x17b)]({'MoveDownIcon':_0x8c7334})),this[_0x4a861b(0x2ee)][_0x4a861b(0x3a1)](_0x4a861b(0x2f6))||this['disposeWithMe'](this[_0x4a861b(0x2ee)]['register']({'MoveUpIcon':_0x5a6082})),this[_0x4a861b(0x2ee)][_0x4a861b(0x3a1)](_0x4a861b(0x435))||this[_0x4a861b(0x223)](this[_0x4a861b(0x2ee)]['register']({'ShapeFormatSettingIcon':_0x38e4aa})),this[_0x4a861b(0x2ee)][_0x4a861b(0x3a1)]('TopmostIcon')||this[_0x4a861b(0x223)](this[_0x4a861b(0x2ee)]['register']({'TopmostIcon':_0x8201a2}));}['_registerComponents'](){const _0x2dfc06=_0x229451;this[_0x2dfc06(0x223)](this['_componentManager'][_0x2dfc06(0x17b)](_0x3295b7,_0x231f6e)),this[_0x2dfc06(0x223)](this[_0x2dfc06(0x368)][_0x2dfc06(0x17b)](_0x3fbbc0,_0x2907cc)),this['disposeWithMe'](this['_componentManager'][_0x2dfc06(0x17b)](_0x8f21ab,_0x8245e9)),this[_0x2dfc06(0x223)](this[_0x2dfc06(0x368)][_0x2dfc06(0x17b)](_0x10d02c,_0x5a1915)),this[_0x2dfc06(0x368)]['hasDefault'](_0x359560['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'])||this[_0x2dfc06(0x223)](this['_componentManager'][_0x2dfc06(0x17b)](_0x359560[_0x2dfc06(0x3cd)],_0x2f4b88)),this[_0x2dfc06(0x223)](this[_0x2dfc06(0x368)][_0x2dfc06(0x17b)](_0x4f01dc,_0x340fbc)),this[_0x2dfc06(0x223)](this['_componentManager'][_0x2dfc06(0x17b)](_0x339631,_0x5502ff)),this['disposeWithMe'](this[_0x2dfc06(0x368)]['register'](_0x2c801d,_0x500609)),this['disposeWithMe'](this[_0x2dfc06(0x368)][_0x2dfc06(0x17b)](_0xcefc98,_0x2f805c)),this[_0x2dfc06(0x223)](this['_componentManager']['register'](_0x4ecdd0,_0x1037db)),this[_0x2dfc06(0x223)](this['_componentManager'][_0x2dfc06(0x17b)](_0x4863f3,_0x478c88[_0x2dfc06(0x406)])),this[_0x2dfc06(0x223)](this[_0x2dfc06(0x368)][_0x2dfc06(0x17b)](_0x2dfc06(0x174),_0x4d46d5));}};_0x3d35b2=_0x3f173a([_0x1c0f1c(0x0,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x45c65a[_0x229451(0x27e)])),_0x1c0f1c(0x1,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x45c65a[_0x229451(0x347)]))],_0x3d35b2);let _0xfe53f3=class extends _0x4a54e1[_0x229451(0x2e0)]{constructor(_0x210e8f,_0x47b55e,_0x3bdbe8,_0x3ba4ec,_0xb25f31,_0x2c8e2d,_0x5a9504,_0x2da572,_0x1bae25){const _0x30ba64=_0x229451;super();let _0x1e431f=_0x2fcfc3=>{const _0x3940f5=_0x1b6e;var _0x41d6b5,_0x114809;return(((_0x41d6b5=_0x2da572[_0x3940f5(0x173)](new _0x517d2f[(_0x3940f5(0x1a8))](_0x2fcfc3[_0x3940f5(0x2d6)])['id']))==null?void 0x0:_0x41d6b5[_0x3940f5(0x4c6)])??!0x0)&&(((_0x114809=_0x2da572[_0x3940f5(0x173)](new _0x517d2f[(_0x3940f5(0x4d6))](_0x2fcfc3['unitId'],_0x2fcfc3['subUnitId'])['id']))==null?void 0x0:_0x114809[_0x3940f5(0x4c6)])??!0x0);},_0x2ad383=_0x4ea726=>_0x4ea726[_0x30ba64(0x4a7)]&&_0x1e431f(_0x4ea726)?_0x3bdbe8[_0x30ba64(0x159)](_0x4ea726[_0x30ba64(0x2d6)],_0x4ea726[_0x30ba64(0x2b1)],_0x4ea726[_0x30ba64(0x4a7)])??null:null,_0x32ab42=()=>{const _0x595792=_0x30ba64;let _0x1854d4=_0xb25f31[_0x595792(0x382)](),_0x2e00c8=_0x1854d4[_0x595792(0x31c)]===0x1?_0x1854d4[0x0]:null;return(_0x2e00c8==null?void 0x0:_0x2e00c8[_0x595792(0x38d)])===_0x4a54e1[_0x595792(0x429)][_0x595792(0x453)]&&_0x2e00c8['unitId']===_0x210e8f[_0x595792(0x2d6)]?{'unitId':_0x2e00c8['unitId'],'subUnitId':_0x2e00c8['subUnitId'],'shapeId':_0x2e00c8[_0x595792(0x214)]}:null;};this[_0x30ba64(0x223)]((0x0,_0x478c88[_0x30ba64(0x13f)])(_0x210e8f,_0x47b55e,{'changes$':(0x0,_0x393422[_0x30ba64(0x4dc)])(_0xb25f31[_0x30ba64(0xef)],_0x3ba4ec[_0x30ba64(0x16a)],_0x2da572['permissionPointUpdate$']),'isActive':()=>{const _0x16ea39=_0x30ba64;var _0x59a992;return((_0x59a992=_0x2c8e2d[_0x16ea39(0x203)]())==null?void 0x0:_0x59a992['getUnitId']())===_0x210e8f[_0x16ea39(0x2d6)]&&!_0x5a9504['getContextValue'](_0x4a54e1['FOCUSING_SHAPE_TEXT_EDITOR'])&&_0xb25f31[_0x16ea39(0x382)]()[_0x16ea39(0x4a6)](_0x3185a3=>_0x3185a3[_0x16ea39(0x2d6)]===_0x210e8f[_0x16ea39(0x2d6)]);},'getSelectedTarget':_0x32ab42,'getSource':()=>{let _0x1ef8c2=_0x32ab42();return _0x1ef8c2?_0x2ad383(_0x1ef8c2):null;},'getTarget':_0x3854e8=>{const _0x4b3d17=_0x30ba64;let _0x4b366a=_0x210e8f[_0x4b3d17(0x2cc)][_0x4b3d17(0x3b7)](new _0x163b80[(_0x4b3d17(0x231))](_0x3854e8[_0x4b3d17(0x4c5)],_0x3854e8[_0x4b3d17(0x12b)]));if(!(_0x4b366a instanceof _0x229110))return null;let _0x297564={'unitId':_0x210e8f[_0x4b3d17(0x2d6)],'subUnitId':_0x4b366a[_0x4b3d17(0x2b1)],'shapeId':_0x4b366a[_0x4b3d17(0x4a7)]};return _0x1e431f(_0x297564)?_0x297564:null;},'getShape':_0x2ad383,'update':(_0x343228,_0x58662c,_0x1092d0)=>_0x1bae25[_0x30ba64(0x22f)](_0x58f758['id'],{..._0x343228,'shapeData':_0x1092d0,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x58662c}})}));}};_0xfe53f3=_0x3f173a([_0x1c0f1c(0x1,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x45c65a[_0x229451(0x36a)])),_0x1c0f1c(0x2,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x4d9a77[_0x229451(0x24a)])),_0x1c0f1c(0x3,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x3b44ca)),_0x1c0f1c(0x4,_0x46a31d[_0x229451(0x309)]),_0x1c0f1c(0x5,_0x4a54e1['IUniverInstanceService']),_0x1c0f1c(0x6,_0x4a54e1['IContextService']),_0x1c0f1c(0x7,_0x4a54e1[_0x229451(0x4a3)]),_0x1c0f1c(0x8,_0x4a54e1['ICommandService'])],_0xfe53f3);let _0x34e85a=_0x229451(0x1b4),_0x443603=class extends _0x4a54e1[_0x229451(0x2e0)]{constructor(_0x39a8d0,_0x44ccec,_0x4eef9f,_0x30e7c7,_0x56233d,_0x114195){const _0x160a00=_0x229451;super(),this[_0x160a00(0x42b)]=_0x39a8d0,this['_ribbonService']=_0x44ccec,this[_0x160a00(0x109)]=_0x4eef9f,this['_univerInstanceService']=_0x30e7c7,this[_0x160a00(0x3a6)]=_0x56233d,this[_0x160a00(0x125)]=_0x114195,_0x2624fb(this,_0x160a00(0x1e6),!0x1),this[_0x160a00(0x42b)][_0x160a00(0x2f1)](_0x1b5f0c),this[_0x160a00(0x223)]((0x0,_0x4a54e1['toDisposable'])(this[_0x160a00(0x109)][_0x160a00(0xef)][_0x160a00(0x3ae)](()=>this[_0x160a00(0x111)]()))),this[_0x160a00(0x111)]();}['dispose'](){const _0x5ece5e=_0x229451;this['_shapeFloatingToolbarService'][_0x5ece5e(0x1b1)](!0x1,_0x34e85a),this[_0x5ece5e(0x38a)](),super[_0x5ece5e(0x138)]();}[_0x229451(0x111)](){const _0x17eff6=_0x229451;var _0x96dd9c;let _0x5b485a=this[_0x17eff6(0x109)][_0x17eff6(0x382)](),_0xe529fc=_0x5b485a['length']===0x1?_0x5b485a[0x0]:void 0x0;if((_0xe529fc==null?void 0x0:_0xe529fc[_0x17eff6(0x38d)])!==_0x4a54e1[_0x17eff6(0x429)][_0x17eff6(0x453)]||this['_univerInstanceService'][_0x17eff6(0x466)](_0xe529fc[_0x17eff6(0x2d6)])!==_0x4a54e1[_0x17eff6(0x1c7)][_0x17eff6(0x3f4)]){this[_0x17eff6(0x125)][_0x17eff6(0x1b1)](!0x1,_0x34e85a),this[_0x17eff6(0x38a)]();return;}let _0x3c6316=(_0x96dd9c=this['_renderManagerService']['getRenderUnitById'](_0xe529fc[_0x17eff6(0x2d6)]))==null?void 0x0:_0x96dd9c[_0x17eff6(0x1a6)][_0x17eff6(0x353)](),_0x105d1f=(0x0,_0x478c88[_0x17eff6(0x23c)])(_0x3c6316)===_0x17eff6(0x181);this[_0x17eff6(0x125)][_0x17eff6(0x1b1)](_0x105d1f,_0x34e85a),_0x105d1f?this[_0x17eff6(0x38a)]():this[_0x17eff6(0x1e6)]||(this[_0x17eff6(0x1e6)]=!0x0,this[_0x17eff6(0x3b9)][_0x17eff6(0x3e3)](_0x15e36c,{'activate':!0x0}));}[_0x229451(0x38a)](){const _0x3d55ba=_0x229451;this[_0x3d55ba(0x1e6)]&&(this[_0x3d55ba(0x1e6)]=!0x1,this[_0x3d55ba(0x3b9)][_0x3d55ba(0x3f8)](_0x15e36c),this['_ribbonService'][_0x3d55ba(0x401)]([]));}};_0x443603=_0x3f173a([_0x1c0f1c(0x0,_0x45c65a[_0x229451(0x471)]),_0x1c0f1c(0x1,_0x45c65a['IRibbonService']),_0x1c0f1c(0x2,_0x46a31d[_0x229451(0x309)]),_0x1c0f1c(0x3,_0x4a54e1[_0x229451(0x49d)]),_0x1c0f1c(0x4,_0x163b80[_0x229451(0x3fd)]),_0x1c0f1c(0x5,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x478c88[_0x229451(0x3aa)]))],_0x443603);let _0x2bf256=class extends _0x478c88[_0x229451(0x262)]{constructor(_0x5b5868,_0x2a84e6,_0x423d32,_0x344ed6,_0x3f45af,_0x5a2404,_0x18034b,_0x2ef2f8,_0x400f6a,_0x1944e3){super(_0x5b5868,_0x2a84e6,_0x423d32,_0x344ed6,_0x3f45af,_0x5a2404,_0x18034b,_0x2ef2f8,_0x400f6a,_0x1944e3,{'componentKey':_0x4863f3,'editorUnitId':_0x5adf59});}};_0x2bf256=_0x3f173a([_0x1c0f1c(0x1,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x495f84['DocSelectionManagerService'])),_0x1c0f1c(0x2,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x42907f[_0x229451(0x2a3)])),_0x1c0f1c(0x3,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x42907f[_0x229451(0x124)])),_0x1c0f1c(0x4,_0x4a54e1[_0x229451(0x440)]),_0x1c0f1c(0x5,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x42907f[_0x229451(0x1dc)])),_0x1c0f1c(0x6,(0x0,_0x4a54e1['Inject'])(_0x478c88[_0x229451(0x128)])),_0x1c0f1c(0x7,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x495f84[_0x229451(0x334)])),_0x1c0f1c(0x8,(0x0,_0x4a54e1['Inject'])(_0x42907f[_0x229451(0x15b)])),_0x1c0f1c(0x9,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x3b44ca))],_0x2bf256);let _0x1d79c1=class extends _0x478c88[_0x229451(0x2cb)]{constructor(_0x15ad9c,_0x517919,_0x4c9aca,_0x3171a1,_0x356f11){const _0x17416e=_0x229451;super(_0x15ad9c,_0x517919,{'editing$':_0x4c9aca['editingParams$'],'resolve':_0x38129c=>{const _0x4eb7ca=_0x1b6e;var _0x7bc4ed,_0xb417d3,_0x40af01;let _0x5d24f1=new _0x163b80['Vector2'](_0x38129c[_0x4eb7ca(0x4c5)],_0x38129c[_0x4eb7ca(0x12b)]),_0x5e3d52=((_0x7bc4ed=_0x15ad9c[_0x4eb7ca(0x2cc)][_0x4eb7ca(0x2bc)](_0x5d24f1))==null?void 0x0:_0x7bc4ed[_0x4eb7ca(0x349)](_0x5d24f1))??_0x5d24f1,_0x134da2=(0x0,_0x478c88[_0x4eb7ca(0x40b)])(_0x15ad9c[_0x4eb7ca(0x2cc)][_0x4eb7ca(0x3b7)](_0x5d24f1)??null,_0x5e3d52);if(!(_0x134da2 instanceof _0x229110))return null;let _0x5f4969=_0x134da2[_0x4eb7ca(0x18f)](_0x5e3d52);if(!_0x5f4969)return null;let _0x5e7cf9=_0x134da2,_0x33e526={'componentKey':_0x478c88[_0x4eb7ca(0x12a)][_0x4eb7ca(0x14b)],'direction':'top-center','offset':[0x0,0xa],'onClickOutside':()=>_0x517919[_0x4eb7ca(0x12c)]()};return{'object':_0x134da2,'info':{..._0x5f4969,'unitId':_0x134da2[_0x4eb7ca(0x2d6)],'subUnitId':_0x134da2[_0x4eb7ca(0x2b1)],'shapeKey':_0x134da2[_0x4eb7ca(0x1c6)],'readonly':!0x0,'copyable':((_0xb417d3=_0x356f11[_0x4eb7ca(0x173)](new _0x517d2f['WorkbookCopyPermission'](_0x134da2[_0x4eb7ca(0x2d6)])['id']))==null?void 0x0:_0xb417d3[_0x4eb7ca(0x4c6)])!==!0x1&&((_0x40af01=_0x356f11[_0x4eb7ca(0x173)](new _0x517d2f['WorksheetCopyPermission'](_0x134da2['unitId'],_0x134da2['subUnitId'])['id']))==null?void 0x0:_0x40af01['value'])!==!0x1},'attachPopup':()=>_0x3171a1[_0x4eb7ca(0x15f)](_0x5e7cf9,_0x33e526)};}}),this[_0x17416e(0x223)](_0x15ad9c[_0x17416e(0x1e7)][_0x17416e(0x2e6)][_0x17416e(0x3ae)](()=>this['clear']()));}};_0x1d79c1=_0x3f173a([_0x1c0f1c(0x1,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x478c88['ShapeTextHyperLinkPopupService'])),_0x1c0f1c(0x2,(0x0,_0x4a54e1['Inject'])(_0x3b44ca)),_0x1c0f1c(0x3,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x1f919d[_0x229451(0x474)])),_0x1c0f1c(0x4,_0x4a54e1['IPermissionService'])],_0x1d79c1);let _0x154095=class extends _0x4a54e1[_0x229451(0x2e0)]{constructor(_0x25ab97,_0x592a3a,_0x3376dc,_0x4b091d,_0xeffa19,_0x4fbeff,_0x1ba56b,_0x44ac8e,_0x2a9a12,_0x24c565,_0x3c4377){const _0x2ff374=_0x229451;super(),this[_0x2ff374(0x473)]=_0x25ab97,this[_0x2ff374(0x3b0)]=_0x592a3a,this['_menuManagerService']=_0x3376dc,this[_0x2ff374(0x26a)]=_0x4b091d,this[_0x2ff374(0xe6)]=_0xeffa19,this[_0x2ff374(0x25c)]=_0x4fbeff,this[_0x2ff374(0x109)]=_0x1ba56b,this[_0x2ff374(0xf6)]=_0x44ac8e,this[_0x2ff374(0x3ad)]=_0x2a9a12,this['_renderManagerService']=_0x24c565,this[_0x2ff374(0x416)]=_0x3c4377,_0x2624fb(this,_0x2ff374(0x45d),null),_0x2624fb(this,_0x2ff374(0x117),null),_0x2624fb(this,_0x2ff374(0x438),!0x1),_0x2624fb(this,_0x2ff374(0x30f),0x0),_0x2624fb(this,_0x2ff374(0x46b),null),_0x2624fb(this,'_disposePopups',[]),this[_0x2ff374(0x482)](),this[_0x2ff374(0x223)](this[_0x2ff374(0x473)][_0x2ff374(0x154)](_0x4a54e1['UniverInstanceType'][_0x2ff374(0x3f4)])[_0x2ff374(0x3ae)](_0x271174=>{const _0x3c62a0=_0x2ff374;if(!_0x271174){var _0x36be7d;(_0x36be7d=this[_0x3c62a0(0x45d)])==null||_0x36be7d[_0x3c62a0(0x138)]();}})),this['_registerOperations'](),this[_0x2ff374(0x10d)](),this[_0x2ff374(0x223)](this[_0x2ff374(0x416)][_0x2ff374(0x16a)][_0x2ff374(0x3ae)](_0x3e29b5=>{const _0x38e393=_0x2ff374;_0x3e29b5&&this[_0x38e393(0x3eb)]();}));}[_0x229451(0x482)](){const _0x4da9c3=_0x229451;this[_0x4da9c3(0x42b)][_0x4da9c3(0x2f1)](_0x309f33);}[_0x229451(0x10d)](){const _0xb63d9d=_0x229451;this[_0xb63d9d(0x46b)]||=this['disposeWithMe']((0x0,_0x478c88[_0xb63d9d(0x437)])(this['_renderManagerService'],_0x4a54e1[_0xb63d9d(0x1c7)]['UNIVER_SHEET'],_0x1f2f37=>this['_popupMenuListener'](_0x1f2f37)));}[_0x229451(0x2d1)](_0x4c0c4f,_0xf3655a,_0x589230){const _0x56e838=_0x229451;let _0x1ae9f8=this[_0x56e838(0x26a)]['getShapeTypeById'](_0x4c0c4f,_0xf3655a,_0x589230),_0x5bcc0e=this[_0x56e838(0x26a)][_0x56e838(0x159)](_0x4c0c4f,_0xf3655a,_0x589230);return _0x1ae9f8!==void 0x0&&_0x5bcc0e!==void 0x0?{'shapeData':_0x5bcc0e,'shapeId':_0x589230,'shapeType':_0x1ae9f8,'unitId':_0x4c0c4f,'subUnitId':_0xf3655a,'version':this[_0x56e838(0x30f)],'disableShapeOption':!0x1}:null;}[_0x229451(0x3eb)](){const _0xde63ac=_0x229451;this[_0xde63ac(0x2d4)]['forEach'](_0x264aa4=>_0x264aa4['dispose']()),this['_disposePopups'][_0xde63ac(0x31c)]=0x0;}['_popupMenuListener'](_0x55ce53){const _0x40f980=_0x229451;let _0x377a82=new _0x4a54e1[(_0x40f980(0x370))]();return _0x377a82[_0x40f980(0x1c2)](_0x55ce53[_0x40f980(0x338)][_0x40f980(0x3ae)](()=>{const _0x44f4f0=_0x40f980;let _0x1beca6=_0x55ce53['getSelectedObjectMap']();if(this[_0x44f4f0(0x3eb)](),this[_0x44f4f0(0x438)]||_0x1beca6[_0x44f4f0(0x4ce)]>0x1)return;let _0x1b45c4=_0x1beca6['values']()[_0x44f4f0(0x2f2)]()[_0x44f4f0(0x4c6)];if(!_0x1b45c4)return;let _0x805660=this[_0x44f4f0(0x109)][_0x44f4f0(0x2c7)](_0x1b45c4[_0x44f4f0(0x1c6)]);if(!_0x805660||_0x805660['drawingType']!==_0x4a54e1[_0x44f4f0(0x429)][_0x44f4f0(0x453)])return;let {unitId:_0x253aee,subUnitId:_0xdcaeaf,drawingId:_0xea99c1,drawingType:_0x2b068e}=_0x805660,_0x27ef0d=this[_0x44f4f0(0x2d1)](_0x253aee,_0xdcaeaf,_0xea99c1);if(!_0x27ef0d)return;this[_0x44f4f0(0x3ad)]['setContextValue'](_0x4a54e1[_0x44f4f0(0x2cf)],!0x0);let _0x389550=this['_renderManagerService'][_0x44f4f0(0x4a9)](_0x253aee),_0x2519d9=((_0x389550==null?void 0x0:_0x389550[_0x44f4f0(0x3d3)])===!0x1?_0x389550[_0x44f4f0(0x17e)](_0x1f919d[_0x44f4f0(0x474)]):this[_0x44f4f0(0xf6)])['attachPopupToObject'](_0x1b45c4,{'componentKey':_0x4f01dc,'direction':'vertical-center','offset':[0x0,_0x478c88[_0x44f4f0(0x379)]],'extraProps':{'unitId':_0x253aee,'subUnitId':_0xdcaeaf,'drawingId':_0xea99c1,'drawingType':_0x2b068e,'shapeType':_0x27ef0d[_0x44f4f0(0x10f)],'shapeData':_0x27ef0d[_0x44f4f0(0x36e)]}});this[_0x44f4f0(0x2d4)]['push'](this[_0x44f4f0(0x223)](_0x2519d9)),this[_0x44f4f0(0x109)][_0x44f4f0(0x382)]()[_0x44f4f0(0x1aa)](_0x520707=>_0x520707[_0x44f4f0(0x2d6)]===_0x253aee&&_0x520707['subUnitId']===_0xdcaeaf&&_0x520707[_0x44f4f0(0x214)]===_0xea99c1)||this[_0x44f4f0(0x109)][_0x44f4f0(0x177)]([{'unitId':_0x253aee,'subUnitId':_0xdcaeaf,'drawingId':_0xea99c1}]);})),_0x377a82['add'](_0x55ce53[_0x40f980(0x2a1)][_0x40f980(0x3ae)](()=>{const _0x303b60=_0x40f980;this[_0x303b60(0x3eb)](),this[_0x303b60(0x3ad)][_0x303b60(0x20f)](_0x4a54e1[_0x303b60(0x2cf)],!0x1),this[_0x303b60(0x109)][_0x303b60(0x177)](null);})),_0x377a82[_0x40f980(0x1c2)](_0x55ce53[_0x40f980(0x19f)][_0x40f980(0x3ae)](()=>{const _0x32083a=_0x40f980;this[_0x32083a(0x3eb)]();})),_0x377a82[_0x40f980(0x1c2)](_0x55ce53[_0x40f980(0x1c3)][_0x40f980(0x3ae)](()=>{const _0x346232=_0x40f980;this[_0x346232(0x3eb)]();})),(0x0,_0x4a54e1[_0x40f980(0x3f5)])(()=>{const _0x2bdb52=_0x40f980;_0x377a82['dispose'](),this[_0x2bdb52(0x3eb)]();});}[_0x229451(0x2a9)](){const _0x4cd2c1=_0x229451;this[_0x4cd2c1(0x223)](this[_0x4cd2c1(0x25c)][_0x4cd2c1(0x367)](_0x21bc72=>{const _0x6e56e=_0x4cd2c1;if(_0x21bc72['id']===_0x37c60f['id']){let {unitId:_0x2b0222,subUnitId:_0x27f641,drawingId:_0x3b3215}=_0x21bc72[_0x6e56e(0x112)];this[_0x6e56e(0x30f)]+=0x1,this[_0x6e56e(0x117)]=this[_0x6e56e(0x2d1)](_0x2b0222,_0x27f641,_0x3b3215),this[_0x6e56e(0x3eb)](),this[_0x6e56e(0x2aa)]();}if(_0x21bc72['id']===_0x3e2df6['id']&&(this[_0x6e56e(0x117)]=null,this[_0x6e56e(0x2f9)]()),_0x21bc72['id']===_0x4d9a77['UpdateSheetsShapeDataMutation']['id']){let {unitId:_0x450165,subUnitId:_0x447c93,shapeId:_0xbe5be8}=_0x21bc72[_0x6e56e(0x112)];if(this[_0x6e56e(0x117)]&&this[_0x6e56e(0x117)][_0x6e56e(0x4a7)]===_0xbe5be8){let _0x384f4a=this[_0x6e56e(0x2d1)](_0x450165,_0x447c93,_0xbe5be8);_0x384f4a&&(this['_shapeEditPanelVersion']+=0x1,_0x384f4a[_0x6e56e(0x150)]=this['_shapeEditPanelVersion'],this[_0x6e56e(0x117)]=_0x384f4a,this[_0x6e56e(0x438)]&&this['_openShapeEditPanel']());}}})),this[_0x4cd2c1(0x223)](this['_drawingManagerService']['focus$'][_0x4cd2c1(0x3ae)](_0x244778=>{const _0x55c7a9=_0x4cd2c1;if(this[_0x55c7a9(0x438)]===!0x1)return;if(_0x244778['length']===0x0){this['_activeShapeInfo']=null,this[_0x55c7a9(0x2f9)]();return;}if(_0x244778[_0x55c7a9(0x31c)]===0x1&&_0x244778[0x0][_0x55c7a9(0x38d)]===_0x4a54e1['DrawingTypeEnum']['DRAWING_SHAPE']&&(this[_0x55c7a9(0x30f)]+=0x1,this[_0x55c7a9(0x117)]=this[_0x55c7a9(0x2d1)](_0x244778[0x0][_0x55c7a9(0x2d6)],_0x244778[0x0][_0x55c7a9(0x2b1)],_0x244778[0x0][_0x55c7a9(0x214)]),this[_0x55c7a9(0x117)])){this[_0x55c7a9(0x2aa)]();return;}let _0x3c2f1d=_0x244778['filter'](_0x55939e=>_0x55939e[_0x55c7a9(0x38d)]===_0x4a54e1[_0x55c7a9(0x429)]['DRAWING_SHAPE']);if(_0x244778[_0x55c7a9(0x31c)]>0x1&&_0x3c2f1d['length']===_0x244778['length']){if(this[_0x55c7a9(0x30f)]+=0x1,this['_activeShapeInfo']=this[_0x55c7a9(0x2d1)](_0x244778[0x0][_0x55c7a9(0x2d6)],_0x244778[0x0][_0x55c7a9(0x2b1)],_0x244778[0x0][_0x55c7a9(0x214)]),this[_0x55c7a9(0x117)]){this['_openShapeEditPanel']();return;}}else{if(this['_shapeEditPanelVersion']+=0x1,this['_activeShapeInfo']=this['_getShapeInfo'](_0x244778[0x0]['unitId'],_0x244778[0x0][_0x55c7a9(0x2b1)],_0x244778[0x0]['drawingId']),this['_activeShapeInfo']){this['_activeShapeInfo'][_0x55c7a9(0x445)]=!0x0,this[_0x55c7a9(0x2aa)]();return;}}this[_0x55c7a9(0x2f9)]();}));}[_0x229451(0x2aa)](){const _0x2f2710=_0x229451;this[_0x2f2710(0x117)]&&(this['_sidebarDisposable']=this[_0x2f2710(0x3b0)][_0x2f2710(0xf0)]({'id':_0x3295b7,'header':{'title':this[_0x2f2710(0xe6)]['t'](_0x2f2710(0x2ca))},'width':0x184,'children':{'label':_0x3295b7,...this[_0x2f2710(0x117)]},'onClose':()=>{const _0x36a8a2=_0x2f2710;this['_drawingManagerService']['focusDrawing'](null),this[_0x36a8a2(0x3ad)]['setContextValue'](_0x4a54e1[_0x36a8a2(0x2cf)],!0x1),this[_0x36a8a2(0x45d)]=null;}}),this[_0x2f2710(0x438)]=!0x0);}[_0x229451(0x2f9)](){const _0x122979=_0x229451;this[_0x122979(0x438)]=!0x1,this[_0x122979(0x3b0)][_0x122979(0x372)](_0x3295b7),this[_0x122979(0x45d)]=null,this['_contextService']['setContextValue'](_0x4a54e1[_0x122979(0x2cf)],!0x1),this[_0x122979(0x109)][_0x122979(0x177)](null);}};_0x154095=_0x3f173a([_0x1c0f1c(0x0,_0x4a54e1[_0x229451(0x49d)]),_0x1c0f1c(0x1,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x45c65a[_0x229451(0x1a9)])),_0x1c0f1c(0x2,_0x45c65a[_0x229451(0x471)]),_0x1c0f1c(0x3,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x4d9a77['SheetsShapeService'])),_0x1c0f1c(0x4,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x4a54e1[_0x229451(0x1c1)])),_0x1c0f1c(0x5,_0x4a54e1[_0x229451(0x440)]),_0x1c0f1c(0x6,_0x46a31d[_0x229451(0x309)]),_0x1c0f1c(0x7,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x1f919d['SheetCanvasPopManagerService'])),_0x1c0f1c(0x8,_0x4a54e1[_0x229451(0x306)]),_0x1c0f1c(0x9,_0x163b80[_0x229451(0x3fd)]),_0x1c0f1c(0xa,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x3b44ca))],_0x154095);let _0x263d5d=class extends _0x4a54e1[_0x229451(0x24e)]{constructor(_0x2c4b27=_0x13a58f,_0x14e68b,_0x3b5129,_0x1e6365,_0x27a0c2){const _0xedaefe=_0x229451;super(),this[_0xedaefe(0x3d2)]=_0x2c4b27,this[_0xedaefe(0x1be)]=_0x14e68b,this[_0xedaefe(0x25c)]=_0x3b5129,this['_configService']=_0x1e6365,this['_renderManagerService']=_0x27a0c2;let {..._0x1be11e}=(0x0,_0x4a54e1[_0xedaefe(0x4dc)])({},_0x13a58f,this[_0xedaefe(0x3d2)]);this[_0xedaefe(0x42c)][_0xedaefe(0x119)](_0xdb1df0,_0x1be11e),this['_initCommands']();}[_0x229451(0x1e0)](){const _0xeda8bc=_0x229451;this[_0xeda8bc(0x3a6)][_0xeda8bc(0x1cd)](_0x4a54e1[_0xeda8bc(0x1c7)][_0xeda8bc(0x176)],[_0x2bf256]),(0x0,_0x4a54e1[_0xeda8bc(0x478)])(this[_0xeda8bc(0x1be)],[[_0x154095],[_0x2cbc52],[_0x46b13f],[_0x2f8be8]]);}['onSteady'](){const _0x25c80a=_0x229451;this['_injector']['get'](_0x154095)[_0x25c80a(0x10d)]();}[_0x229451(0x2b7)](){const _0x669cec=_0x229451;[[_0x283ee0],[_0x51de41],[_0x5d1655]][_0x669cec(0x2e2)](_0x4a999b=>this['_injector']['add'](_0x4a999b)),(0x0,_0x4a54e1[_0x669cec(0x478)])(this['_injector'],[[_0x5d1655],[_0x51de41]]),this['_renderManagerService']['registerRenderModule'](_0x4a54e1[_0x669cec(0x1c7)]['UNIVER_SHEET'],[_0x283ee0]),this[_0x669cec(0x3a6)][_0x669cec(0x1cd)](_0x4a54e1[_0x669cec(0x1c7)]['UNIVER_SHEET'],[_0x31496d]),this[_0x669cec(0x3a6)]['registerRenderModule'](_0x4a54e1[_0x669cec(0x1c7)]['UNIVER_SHEET'],[_0x11c732]),this[_0x669cec(0x3a6)]['registerRenderModule'](_0x4a54e1[_0x669cec(0x1c7)][_0x669cec(0x3f4)],[_0xd601cc]),this[_0x669cec(0x223)](this[_0x669cec(0x3a6)][_0x669cec(0x1cd)](_0x4a54e1[_0x669cec(0x1c7)][_0x669cec(0x3f4)],[_0x1d79c1])),this[_0x669cec(0x223)](this['_renderManagerService'][_0x669cec(0x1cd)](_0x4a54e1[_0x669cec(0x1c7)][_0x669cec(0x3f4)],[_0xfe53f3]));}[_0x229451(0x2b3)](){const _0x2db553=_0x229451;this['_injector'][_0x2db553(0x1c2)]([_0x3d35b2]),this[_0x2db553(0x1be)]['get'](_0x3d35b2);let _0x246dae=this[_0x2db553(0x1be)];[[_0x154095],[_0x2cbc52],[_0x46b13f],[_0x2f8be8],[_0x300885],[_0x3b44ca],[_0x55f6b1],[_0x5ad6df],[_0x46eb4c],[_0x443603]][_0x2db553(0x2e2)](_0x2e361e=>_0x246dae[_0x2db553(0x1c2)](_0x2e361e)),(0x0,_0x4a54e1[_0x2db553(0x478)])(this[_0x2db553(0x1be)],[[_0x154095],[_0x2cbc52],[_0x46b13f],[_0x300885],[_0x3b44ca],[_0x55f6b1],[_0x5ad6df],[_0x46eb4c],[_0x443603]]);}[_0x229451(0x219)](){const _0x120524=_0x229451;[_0x197b3e,_0x58f758,_0x3e2df6,_0x37c60f,_0x503851,_0x4cd6f0,_0x4d19d8,_0x533335]['forEach'](_0x29e45f=>this[_0x120524(0x223)](this[_0x120524(0x25c)][_0x120524(0x298)](_0x29e45f)));}};_0x2624fb(_0x263d5d,_0x229451(0x41e),_0x4a54e1[_0x229451(0x1c7)]['UNIVER_SHEET']),_0x2624fb(_0x263d5d,_0x229451(0x235),_0x229451(0x49a)),_0x2624fb(_0x263d5d,'packageName',_0xd011e4),_0x2624fb(_0x263d5d,_0x229451(0x150),_0x3a72ed),_0x263d5d=_0x3f173a([(0x0,_0x4a54e1['DependentOn'])(_0x41799b[_0x229451(0x39c)],_0x495f84['UniverDocsPlugin'],_0x46a31d[_0x229451(0x3f1)],_0x359560[_0x229451(0x1a4)],_0x163b80['UniverRenderEnginePlugin'],_0x517d2f[_0x229451(0xfa)],_0x42907f[_0x229451(0x22c)],_0xe8736[_0x229451(0x486)],_0x3e01f8['UniverShapeEditorPlugin'],_0x69857['UniverSheetsDrawingUIPlugin'],_0x4d9a77[_0x229451(0x2d7)],_0x1f919d[_0x229451(0x301)],_0x478c88['UniverShapeEditorUIPlugin']),_0x1c0f1c(0x1,(0x0,_0x4a54e1[_0x229451(0x488)])(_0x4a54e1[_0x229451(0x16e)])),_0x1c0f1c(0x2,_0x4a54e1['ICommandService']),_0x1c0f1c(0x3,_0x4a54e1['IConfigService']),_0x1c0f1c(0x4,_0x163b80[_0x229451(0x3fd)])],_0x263d5d),_0x46347d['SheetsShapeUIContextualRibbonSchema']=_0x1b5f0c,_0x46347d[_0x229451(0x11e)]=_0x309f33,Object['defineProperty'](_0x46347d,_0x229451(0x45b),{'enumerable':!0x0,'get':function(){return _0x7074d1;}}),Object['defineProperty'](_0x46347d,_0x229451(0x170),{'enumerable':!0x0,'get':function(){return _0x263d5d;}});}));
|