@univerjs-pro/sheets-shape-ui 1.0.0-alpha.0 → 1.0.0-insiders.20260629-12f2e44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/views/shapes.d.ts +8 -43
- 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 +18 -18
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x559cdc=_0x51f7;(function(_0x2b3637,_0xef6a3d){const _0x163320=_0x51f7,_0x333194=_0x2b3637();while(!![]){try{const _0x4c9936=-parseInt(_0x163320(0x31a))/0x1+-parseInt(_0x163320(0x4ac))/0x2+parseInt(_0x163320(0x58b))/0x3*(-parseInt(_0x163320(0x21c))/0x4)+-parseInt(_0x163320(0x144))/0x5+parseInt(_0x163320(0x586))/0x6+parseInt(_0x163320(0x3ed))/0x7*(parseInt(_0x163320(0x30f))/0x8)+-parseInt(_0x163320(0x304))/0x9*(-parseInt(_0x163320(0x35d))/0xa);if(_0x4c9936===_0xef6a3d)break;else _0x333194['push'](_0x333194['shift']());}catch(_0x2ca0f1){_0x333194['push'](_0x333194['shift']());}}}(_0x4e63,0x5e796),Object[_0x559cdc(0x4f9)](exports,Symbol[_0x559cdc(0x532)],{'value':_0x559cdc(0x2bb)}));let e=require('@univerjs-pro/sheets-shape'),t=require('@univerjs/core'),n=require('@univerjs/sheets'),r=require('@univerjs/sheets-drawing'),i=require('rxjs'),a=require('@univerjs/drawing'),o=require('@univerjs/engine-render'),s=require('@univerjs/docs-ui'),c=require('@univerjs/sheets-ui'),l=require('@univerjs/ui'),u=require('@univerjs-pro/engine-shape'),d=require('@univerjs/drawing-ui'),f=require('@univerjs/docs'),p=require('@univerjs/design'),m=require('react'),h=require('react/jsx-runtime'),g=require('@univerjs/sheets-drawing-ui'),_=require('@univerjs/icons'),v=require('@univerjs-pro/shape-editor-ui');function y(_0xa62a4d){'@babel/helpers - typeof';const _0x28d69f=_0x559cdc;return y=typeof Symbol==_0x28d69f(0x2d3)&&typeof Symbol['iterator']==_0x28d69f(0x177)?function(_0x1b5836){return typeof _0x1b5836;}:function(_0x1fe98c){const _0x1c7e9f=_0x28d69f;return _0x1fe98c&&typeof Symbol==_0x1c7e9f(0x2d3)&&_0x1fe98c[_0x1c7e9f(0x242)]===Symbol&&_0x1fe98c!==Symbol[_0x1c7e9f(0x283)]?_0x1c7e9f(0x177):typeof _0x1fe98c;},y(_0xa62a4d);}function b(_0x263d51,_0x517d6e){const _0x16d000=_0x559cdc;if(y(_0x263d51)!=_0x16d000(0x487)||!_0x263d51)return _0x263d51;var _0x4b1e56=_0x263d51[Symbol[_0x16d000(0x5ac)]];if(_0x4b1e56!==void 0x0){var _0x5650bd=_0x4b1e56[_0x16d000(0x233)](_0x263d51,_0x517d6e||_0x16d000(0x247));if(y(_0x5650bd)!=_0x16d000(0x487))return _0x5650bd;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x517d6e===_0x16d000(0x2e3)?String:Number)(_0x263d51);}function x(_0x3cde3d){const _0x4c352b=_0x559cdc;var _0x3a4134=b(_0x3cde3d,_0x4c352b(0x2e3));return y(_0x3a4134)==_0x4c352b(0x177)?_0x3a4134:_0x3a4134+'';}function S(_0x2716c7,_0x401972,_0x14088c){return(_0x401972=x(_0x401972))in _0x2716c7?Object['defineProperty'](_0x2716c7,_0x401972,{'value':_0x14088c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2716c7[_0x401972]=_0x14088c,_0x2716c7;}var C=class extends t[_0x559cdc(0x54a)]{constructor(..._0x4e7d08){const _0xac32b0=_0x559cdc;super(..._0x4e7d08),S(this,'_editingParams$',new i['BehaviorSubject'](null)),S(this,'editingParams$',this[_0xac32b0(0x388)][_0xac32b0(0x428)]()),S(this,'_onSavingEditorData$',new i['BehaviorSubject'](!0x1)),S(this,_0xac32b0(0x4ad),this['_onSavingEditorData$'][_0xac32b0(0x428)]());}[_0x559cdc(0x327)](){const _0x10b43e=_0x559cdc;this[_0x10b43e(0x388)][_0x10b43e(0x2c1)](null),this[_0x10b43e(0x388)][_0x10b43e(0x361)](),this[_0x10b43e(0x53e)][_0x10b43e(0x2c1)](!0x1),this['_onSavingEditorData$'][_0x10b43e(0x361)](),super[_0x10b43e(0x327)]();}[_0x559cdc(0x1ab)](_0x272215){const _0x54ff5c=_0x559cdc;this[_0x54ff5c(0x388)]['next'](_0x272215),_0x272215==null&&this[_0x54ff5c(0x53e)][_0x54ff5c(0x2c1)](!0x1);}['setOnSavingEditorData'](_0x2d6e2d){const _0xd61743=_0x559cdc;this[_0xd61743(0x53e)]['next'](_0x2d6e2d);}['getEditing'](){const _0x536df4=_0x559cdc;return this[_0x536df4(0x388)][_0x536df4(0x2c7)]();}};function w(_0x574b01,_0x2ffc3c){const _0xc0095f=_0x559cdc;let _0x3558fb={};for(let _0x708125 of Object[_0xc0095f(0x4c0)](_0x2ffc3c)){let _0x40109e=_0x2ffc3c[_0x708125],_0x446247=_0x574b01[_0x708125];if(_0x40109e!==void 0x0){if(_0x446247===void 0x0){_0x3558fb[_0x708125]=void 0x0;continue;}typeof _0x40109e==_0xc0095f(0x487)&&_0x40109e&&!Array[_0xc0095f(0x4e6)](_0x40109e)&&typeof _0x446247==_0xc0095f(0x487)&&_0x446247&&!Array[_0xc0095f(0x4e6)](_0x446247)?_0x3558fb[_0x708125]=w(_0x446247,_0x40109e):_0x3558fb[_0x708125]=_0x446247;}}return _0x3558fb;}const T={'type':t[_0x559cdc(0x1b0)][_0x559cdc(0x564)],'id':'sheet.command.update-shape-data','handler':(_0x46f61a,_0x370773)=>{const _0x552b0a=_0x559cdc;let _0x2cdf95=_0x46f61a['get'](e[_0x552b0a(0x1bd)]),{unitId:_0x58a7fc,subUnitId:_0x3c3fe6,shapeType:_0x44b186,shapeId:_0x11c377,shapeData:_0x2de010,oldShapeJSON:_0x4d66ad}=_0x370773;if(!_0x2cdf95[_0x552b0a(0x269)](_0x58a7fc,_0x3c3fe6,_0x11c377))return!0x1;let _0xaa5e07=_0x46f61a['get'](t[_0x552b0a(0x279)]),_0x27a64a=_0x46f61a[_0x552b0a(0x2b9)](t[_0x552b0a(0x337)]),{oldShapeType:_0x2ff1b9,oldShapeData:_0x2002d3={}}=_0x4d66ad,_0x148687=w(_0x2002d3,_0x2de010||{}),_0x3c1a10={'id':e[_0x552b0a(0x18f)]['id'],'params':{'unitId':_0x58a7fc,'subUnitId':_0x3c3fe6,'shapeId':_0x11c377,'shapeType':_0x44b186,'shapeData':_0x2de010}},_0x5ba796={'id':e[_0x552b0a(0x18f)]['id'],'params':{'unitId':_0x58a7fc,'subUnitId':_0x3c3fe6,'shapeId':_0x11c377,'shapeType':_0x2ff1b9,'shapeData':_0x148687}};return _0xaa5e07['syncExecuteCommand'](_0x3c1a10['id'],_0x3c1a10[_0x552b0a(0x1e5)])?(_0x27a64a[_0x552b0a(0x4a4)]({'unitID':_0x58a7fc,'undoMutations':[_0x5ba796],'redoMutations':[_0x3c1a10]}),!0x0):!0x1;}},E={'type':t['CommandType'][_0x559cdc(0x564)],'id':'sheet.command.set-shape-text-horizontal-align','handler':async(_0x44f119,_0x22768a)=>{const _0x22e4c0=_0x559cdc;var _0x574a7c;if(!(0x0,n[_0x22e4c0(0x485)])(_0x44f119[_0x22e4c0(0x2b9)](t['IUniverInstanceService'])))return!0x1;let _0x3abd5c=_0x44f119[_0x22e4c0(0x2b9)](r[_0x22e4c0(0x21f)])[_0x22e4c0(0x49d)]()[_0x22e4c0(0x583)](_0x14efb5=>_0x14efb5['drawingType']===t['DrawingTypeEnum'][_0x22e4c0(0x2d8)]);if(_0x3abd5c['length']!==0x1)return!0x1;let _0x4ca7e8=_0x44f119[_0x22e4c0(0x2b9)](C)['getEditing'](),_0x567a67=(_0x4ca7e8==null?void 0x0:_0x4ca7e8[_0x22e4c0(0x180)])||_0x3abd5c[0x0][_0x22e4c0(0x180)],_0x2461b0=(_0x4ca7e8==null?void 0x0:_0x4ca7e8[_0x22e4c0(0x582)])||_0x3abd5c[0x0][_0x22e4c0(0x582)],_0x2df136=(_0x4ca7e8==null?void 0x0:_0x4ca7e8[_0x22e4c0(0x45d)])||_0x3abd5c[0x0][_0x22e4c0(0x1fa)],_0x5b5087=_0x44f119[_0x22e4c0(0x2b9)](e['SheetsShapeService'])[_0x22e4c0(0x269)](_0x567a67,_0x2461b0,_0x2df136);if(!_0x5b5087)return!0x1;let _0x20c545=_0x5b5087['getShapeTextData']();if(!_0x20c545||!(_0x22e4c0(0x406)in _0x20c545))return!0x1;let _0x45a7d9=_0x44f119['get'](t[_0x22e4c0(0x279)]),{value:_0x244e73}=_0x22768a,_0x504278=_0x5b5087[_0x22e4c0(0x33d)](),_0x49594c=_0x5b5087[_0x22e4c0(0x222)](),_0x65ab9d={..._0x20c545[_0x22e4c0(0x406)],'ha':_0x244e73};return await _0x45a7d9['executeCommand'](T['id'],{'unitId':_0x567a67,'subUnitId':_0x2461b0,'shapeId':_0x2df136,'shapeType':_0x504278,'shapeData':{'shapeText':{'isHorizontal':(_0x574a7c=_0x20c545['isHorizontal'])==null?!0x0:_0x574a7c,'dataModel':_0x65ab9d}},'oldShapeJSON':{'oldShapeType':_0x504278,'oldShapeData':_0x49594c}});}},D={'type':t[_0x559cdc(0x1b0)]['COMMAND'],'id':_0x559cdc(0x3ba),'handler':async(_0x21951a,_0x8d4625)=>{const _0xfd97da=_0x559cdc;var _0x34facc;if(!_0x8d4625)return!0x1;let {value:_0x3255a0}=_0x8d4625,_0x4c2515=_0x21951a[_0xfd97da(0x2b9)](t[_0xfd97da(0x279)]),_0x4f9984=_0x21951a[_0xfd97da(0x2b9)](C),_0xf73026=_0x21951a[_0xfd97da(0x2b9)](e['SheetsShapeService']),_0x1105ca=_0x21951a[_0xfd97da(0x2b9)](o[_0xfd97da(0x2f1)]),_0x31a823=_0x4f9984[_0xfd97da(0x1dc)]();if(!_0x31a823)return!0x1;let {unitId:_0x4aeaf7,subUnitId:_0x3cf368,shapeId:_0x43313c}=_0x31a823,_0x175cd1=_0xf73026['getShapeModel'](_0x4aeaf7,_0x3cf368,_0x43313c);if(!_0x175cd1)return!0x1;let _0x374210=_0x175cd1[_0xfd97da(0x15c)]();if(!_0x374210||!(_0xfd97da(0x406)in _0x374210))return!0x1;let _0x4c28f9=_0x374210[_0xfd97da(0x406)];if(!_0x4c28f9)return!0x1;let _0x1e5cff={..._0x4c28f9,'fs':_0x3255a0},_0x32d2aa=await _0x4c2515['executeCommand'](T['id'],{'unitId':_0x4aeaf7,'subUnitId':_0x3cf368,'shapeId':_0x43313c,'shapeData':{'shapeText':{'isHorizontal':(_0x34facc=_0x374210['isHorizontal'])==null?!0x0:_0x34facc,'dataModel':_0x1e5cff}}});if(_0x32d2aa){let _0x24463c=_0x1105ca[_0xfd97da(0x28b)](_0x4aeaf7);if(_0x24463c!=null&&_0x24463c[_0xfd97da(0x5e3)]){let _0x38a868=(0x0,a[_0xfd97da(0x317)])({'unitId':_0x4aeaf7,'subUnitId':_0x3cf368,'drawingId':_0x43313c}),_0xc89737=_0x24463c[_0xfd97da(0x5e3)][_0xfd97da(0x332)](_0x38a868);_0xc89737&&_0xc89737[_0xfd97da(0x4b8)](!0x0);}}return _0x32d2aa;}},O={'type':t[_0x559cdc(0x1b0)][_0x559cdc(0x564)],'id':_0x559cdc(0x2e5),'handler':async _0x3dc0ac=>{const _0x1dade2=_0x559cdc;var _0x502e15;let _0x4b7b32=_0x3dc0ac[_0x1dade2(0x2b9)](C),_0x29ac21=_0x3dc0ac[_0x1dade2(0x2b9)](e[_0x1dade2(0x1bd)]),_0x21deb0=_0x3dc0ac['get'](t['ICommandService']),_0x2ac9ec=_0x4b7b32[_0x1dade2(0x1dc)]();if(!_0x2ac9ec)return!0x1;let {unitId:_0x287f60,subUnitId:_0x56f633,shapeId:_0x52c818}=_0x2ac9ec,_0xa8ac4b=_0x29ac21[_0x1dade2(0x269)](_0x287f60,_0x56f633,_0x52c818);if(!_0xa8ac4b)return!0x1;let _0x2aff87=_0xa8ac4b['getShapeTextData']();if(!_0x2aff87||!(_0x1dade2(0x406)in _0x2aff87))return!0x1;let _0x1a6c76=_0x2aff87['dataModel'],_0x586dee=(_0x502e15=_0x1a6c76==null?void 0x0:_0x1a6c76['fs'])==null?0xe:_0x502e15,_0x45faa2=[0x9,0xa,0xb,0xc,0xe,0x10,0x12,0x14,0x16,0x18,0x1a,0x1c,0x24,0x30,0x48],_0x21c127=_0x586dee,_0x1fd01f=_0x45faa2[_0x1dade2(0x536)](_0x586dee);return _0x1fd01f!==-0x1&&_0x1fd01f<_0x45faa2[_0x1dade2(0x5ef)]-0x1?_0x21c127=_0x45faa2[_0x1fd01f+0x1]:_0x1fd01f===-0x1&&(_0x21c127=Math[_0x1dade2(0x27d)](_0x586dee)+0x1),_0x21deb0[_0x1dade2(0x1ed)](D['id'],{'value':_0x21c127});}},k={'type':t[_0x559cdc(0x1b0)][_0x559cdc(0x564)],'id':'sheet.command.set-shape-text-font-size-decrease','handler':async _0x173b40=>{const _0x5c1c87=_0x559cdc;var _0x249901;let _0x6307c5=_0x173b40[_0x5c1c87(0x2b9)](C),_0x412cf9=_0x173b40[_0x5c1c87(0x2b9)](e[_0x5c1c87(0x1bd)]),_0x4d099c=_0x173b40['get'](t[_0x5c1c87(0x279)]),_0xcf846c=_0x6307c5[_0x5c1c87(0x1dc)]();if(!_0xcf846c)return!0x1;let {unitId:_0x26a278,subUnitId:_0x5d1a2d,shapeId:_0x461ed5}=_0xcf846c,_0x44901d=_0x412cf9[_0x5c1c87(0x269)](_0x26a278,_0x5d1a2d,_0x461ed5);if(!_0x44901d)return!0x1;let _0x29a9eb=_0x44901d[_0x5c1c87(0x15c)]();if(!_0x29a9eb||!('dataModel'in _0x29a9eb))return!0x1;let _0x4f2c79=_0x29a9eb[_0x5c1c87(0x406)],_0xa4a057=(_0x249901=_0x4f2c79==null?void 0x0:_0x4f2c79['fs'])==null?0xe:_0x249901,_0x24f8a5=[0x9,0xa,0xb,0xc,0xe,0x10,0x12,0x14,0x16,0x18,0x1a,0x1c,0x24,0x30,0x48],_0x5d94ef=_0xa4a057,_0x2af864=_0x24f8a5['indexOf'](_0xa4a057);return _0x2af864!==-0x1&&_0x2af864>0x0?_0x5d94ef=_0x24f8a5[_0x2af864-0x1]:_0x2af864===-0x1&&(_0x5d94ef=Math[_0x5c1c87(0x27d)](_0xa4a057)-0x1),_0x5d94ef<0x1&&(_0x5d94ef=0x1),_0x4d099c[_0x5c1c87(0x1ed)](D['id'],{'value':_0x5d94ef});}},A={'type':t[_0x559cdc(0x1b0)][_0x559cdc(0x564)],'id':_0x559cdc(0x2e6),'handler':async(_0x4e3fa8,_0x39d036)=>{const _0xc9e262=_0x559cdc;var _0x5d11b3;if(!(0x0,n['getSheetCommandTarget'])(_0x4e3fa8[_0xc9e262(0x2b9)](t[_0xc9e262(0x3c1)])))return!0x1;let _0x37a1df=_0x4e3fa8['get'](r['ISheetDrawingService'])['getFocusDrawings']()[_0xc9e262(0x583)](_0x3c25bd=>_0x3c25bd[_0xc9e262(0x3f1)]===t[_0xc9e262(0x19c)][_0xc9e262(0x2d8)]);if(_0x37a1df[_0xc9e262(0x5ef)]!==0x1)return!0x1;let _0x5d0068=_0x4e3fa8[_0xc9e262(0x2b9)](C)['getEditing'](),_0xc43039=(_0x5d0068==null?void 0x0:_0x5d0068[_0xc9e262(0x180)])||_0x37a1df[0x0][_0xc9e262(0x180)],_0x1a5fe4=(_0x5d0068==null?void 0x0:_0x5d0068[_0xc9e262(0x582)])||_0x37a1df[0x0][_0xc9e262(0x582)],_0x2acee5=(_0x5d0068==null?void 0x0:_0x5d0068[_0xc9e262(0x45d)])||_0x37a1df[0x0][_0xc9e262(0x1fa)],_0xa8e7b7=_0x4e3fa8[_0xc9e262(0x2b9)](e['SheetsShapeService'])[_0xc9e262(0x269)](_0xc43039,_0x1a5fe4,_0x2acee5);if(!_0xa8e7b7)return!0x1;let _0x450f8e=_0xa8e7b7[_0xc9e262(0x15c)]();if(!_0x450f8e||!(_0xc9e262(0x406)in _0x450f8e))return!0x1;let _0x5b6d85=_0x4e3fa8[_0xc9e262(0x2b9)](t[_0xc9e262(0x279)]),{value:_0x9b9c5b}=_0x39d036,_0x308286=_0xa8e7b7[_0xc9e262(0x33d)](),_0x2eb838=_0xa8e7b7[_0xc9e262(0x222)](),_0x19df2b={..._0x450f8e['dataModel'],'va':_0x9b9c5b};return await _0x5b6d85[_0xc9e262(0x1ed)](T['id'],{'unitId':_0xc43039,'subUnitId':_0x1a5fe4,'shapeId':_0x2acee5,'shapeType':_0x308286,'shapeData':{'shapeText':{'isHorizontal':(_0x5d11b3=_0x450f8e[_0xc9e262(0x555)])==null?!0x0:_0x5d11b3,'dataModel':_0x19df2b}},'oldShapeJSON':{'oldShapeType':_0x308286,'oldShapeData':_0x2eb838}});}},j={'type':t[_0x559cdc(0x1b0)][_0x559cdc(0x564)],'id':_0x559cdc(0x251),'handler':(_0x2d4876,_0x128815)=>{const _0x2a9567=_0x559cdc;if(!_0x128815)return!0x1;let {value:_0x37d555}=_0x128815;return _0x2d4876[_0x2a9567(0x2b9)](t['ICommandService'])[_0x2a9567(0x561)](s[_0x2a9567(0x16e)]['id'],{'alignType':_0x37d555});}},M={'type':t[_0x559cdc(0x1b0)][_0x559cdc(0x178)],'id':'sheet.operation.close-sheet-shape-format-panel','handler'(){return!0x0;}},N={'type':t['CommandType'][_0x559cdc(0x178)],'id':_0x559cdc(0x356),'handler'(){return!0x0;}},P=_0x559cdc(0x49f),ee=_0x559cdc(0x5cc),te=(0x0,t[_0x559cdc(0x272)])(_0x559cdc(0x514));function F(_0x182793,_0x3d01a8,_0x367b33,_0x5ed3ce,_0x1fdba8,_0x30b05b){const _0x5c4491=_0x559cdc;let _0x336280={'unitId':_0x3d01a8,'subUnitId':_0x367b33,'shapeId':_0x5ed3ce,'shapeData':_0x30b05b,'oldShapeJSON':_0x1fdba8};return _0x182793[_0x5c4491(0x1ed)](T['id'],_0x336280);}function ne(_0x5c8b17,_0x4a21ca,_0xe8ecc,_0x2bc441,_0x4173cb,_0x507531){let _0x4a821b={'unitId':_0x4a21ca,'subUnitId':_0xe8ecc,'shapeId':_0x2bc441,'shapeData':_0x507531,'oldShapeJSON':_0x4173cb};return _0x5c8b17['executeCommand'](T['id'],_0x4a821b);}function re(_0x172f52){const _0x250743=_0x559cdc;var _0x38952f,_0xbc99b4,_0x27ad8c,_0x5b636b;let _0x35c2c0=(_0x38952f=(_0xbc99b4=_0x172f52[_0x250743(0x22a)])==null||(_0xbc99b4=_0xbc99b4[_0x250743(0x47a)])==null?void 0x0:_0xbc99b4[_0x250743(0x5ef)])==null?0x0:_0x38952f,_0x4fa25f=(_0x27ad8c=_0x172f52['body'])==null?void 0x0:_0x27ad8c[_0x250743(0x5c0)];if(_0x4fa25f!=null&&_0x4fa25f[_0x250743(0x5ef)])for(let _0x4b42ed of _0x4fa25f){var _0x2880bc;_0x4b42ed[_0x250743(0x51a)]=(_0x2880bc=_0x4b42ed[_0x250743(0x51a)])==null?t[_0x250743(0x5d6)][_0x250743(0x36c)]:_0x2880bc;}else _0x172f52['body']&&(_0x172f52[_0x250743(0x22a)]['sectionBreaks']=[{'startIndex':Math[_0x250743(0x48b)](0x0,_0x35c2c0-0x1),'gridType':t['GridType']['DEFAULT']}]);let _0x525a73=(_0x5b636b=_0x172f52['body'])==null?void 0x0:_0x5b636b[_0x250743(0x4c2)];if(_0x525a73)for(let _0x3dbcc3 of _0x525a73){var _0x5195bd,_0x5d2358,_0x245684,_0xea759,_0x19bcbf,_0x493fe9,_0x3da501,_0x2e0d56;_0x3dbcc3[_0x250743(0x525)]={..._0x3dbcc3[_0x250743(0x525)],'lineSpacing':(_0x5195bd=(_0x5d2358=_0x3dbcc3[_0x250743(0x525)])==null?void 0x0:_0x5d2358[_0x250743(0x20f)])==null?0x1:_0x5195bd,'snapToGrid':(_0x245684=(_0xea759=_0x3dbcc3[_0x250743(0x525)])==null?void 0x0:_0xea759[_0x250743(0x160)])==null?t[_0x250743(0x1f4)][_0x250743(0x5a3)]:_0x245684,'spaceAbove':(_0x19bcbf=(_0x493fe9=_0x3dbcc3[_0x250743(0x525)])==null?void 0x0:_0x493fe9[_0x250743(0x435)])==null?{'v':0x0}:_0x19bcbf,'spaceBelow':(_0x3da501=(_0x2e0d56=_0x3dbcc3[_0x250743(0x525)])==null?void 0x0:_0x2e0d56[_0x250743(0x293)])==null?{'v':0x0}:_0x3da501};}}function ie(_0xd2b5c6){const _0xb94175=_0x559cdc;let _0x1cbc81=_0xd2b5c6['body'],_0x13390b=_0x1cbc81==null?void 0x0:_0x1cbc81[_0xb94175(0x4c2)],_0x4804af=_0x1cbc81==null?void 0x0:_0x1cbc81[_0xb94175(0x47a)];if(!_0x1cbc81||!(_0x13390b!=null&&_0x13390b[_0xb94175(0x5ef)])||!_0x4804af)return;let _0x46986d=[];for(let _0x38285a=0x0;_0x38285a<_0x4804af[_0xb94175(0x5ef)];_0x38285a++)_0x4804af[_0x38285a]==='\x0d'&&_0x46986d[_0xb94175(0x42d)](_0x38285a);_0x46986d[_0xb94175(0x5ef)]===_0x13390b['length']&&(_0x1cbc81[_0xb94175(0x4c2)]=_0x13390b[_0xb94175(0x408)]((_0x398f99,_0xff7530)=>({..._0x398f99,'startIndex':_0x46986d[_0xff7530]})));}function ae(_0x266386,_0x4412fb){const _0x5b0041=_0x559cdc;var _0x21b449,_0xa06c6b,_0x27bd58;let {isHorizontal:_0x4e6502,textRect:_0x5cf7e6,verticalAlign:_0x2fc37a}=_0x4412fb,_0x50890b=_0x4e6502?_0x5cf7e6[_0x5b0041(0x43a)]:_0x5cf7e6['height'],_0x42c0dd=t[_0x5b0041(0x3d6)][_0x5b0041(0x57e)](_0x266386),_0x221218=(_0x21b449=_0x42c0dd[_0x5b0041(0x37e)])==null?{}:_0x21b449,_0x5183cc={..._0x221218[_0x5b0041(0x520)],'centerAngle':_0x4e6502?0x0:o[_0x5b0041(0x472)],'vertexAngle':_0x4e6502?0x0:o[_0x5b0041(0x472)],'wrapStrategy':t[_0x5b0041(0x39f)][_0x5b0041(0x52d)],'zeroWidthParagraphBreak':(_0xa06c6b=(_0x27bd58=_0x221218[_0x5b0041(0x520)])==null?void 0x0:_0x27bd58[_0x5b0041(0x3d2)])==null?t[_0x5b0041(0x1f4)][_0x5b0041(0x405)]:_0xa06c6b};if(_0x2fc37a!==void 0x0&&(_0x5183cc[_0x5b0041(0x198)]=_0x2fc37a),_0x4412fb[_0x5b0041(0x565)]!==void 0x0){var _0x2f1b9b;_0x5183cc[_0x5b0041(0x565)]=_0x4412fb['horizontalAlign'];let _0x321d69=(_0x2f1b9b=_0x42c0dd[_0x5b0041(0x22a)])==null?void 0x0:_0x2f1b9b['paragraphs'];if(_0x321d69){for(let _0x3b7168 of _0x321d69)_0x3b7168[_0x5b0041(0x525)]||(_0x3b7168[_0x5b0041(0x525)]={}),_0x3b7168[_0x5b0041(0x525)][_0x5b0041(0x565)]=_0x4412fb[_0x5b0041(0x565)];}}return _0x42c0dd[_0x5b0041(0x37e)]={..._0x221218,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x50890b,'height':0x1/0x0},'renderConfig':_0x5183cc},ie(_0x42c0dd),re(_0x42c0dd),_0x42c0dd;}var I=class extends o[_0x559cdc(0x2c9)]{constructor(_0x1b629c,_0x1480d9){const _0x359f9e=_0x559cdc;super(_0x1b629c,_0x1480d9),S(this,_0x359f9e(0x414),void 0x0),S(this,_0x359f9e(0x496),!0x0),S(this,_0x359f9e(0x167),t[_0x359f9e(0x19c)][_0x359f9e(0x2d8)]),S(this,'isDrawingObject',!0x0),this['_props']={..._0x1480d9},this['_init']();}[_0x559cdc(0x1c1)](){const _0x36b0da=_0x559cdc;this['onTransformChange$'][_0x36b0da(0x581)](_0x25381a=>{const _0x318a1f=_0x36b0da;this[_0x318a1f(0x539)](_0x25381a);});}[_0x559cdc(0x571)](_0xe06c9){const _0xd22b66=_0x559cdc;this[_0xd22b66(0x414)][_0xd22b66(0x4af)]=_0xe06c9;}['setEditing'](_0xb6d710){const _0x14259a=_0x559cdc;this[_0x14259a(0x414)][_0x14259a(0x352)]=_0xb6d710,this[_0x14259a(0x4b8)](!0x0);}get[_0x559cdc(0x180)](){const _0xb731c2=_0x559cdc;return this[_0xb731c2(0x414)][_0xb731c2(0x180)];}get[_0x559cdc(0x582)](){const _0x2d4c4a=_0x559cdc;return this['_props'][_0x2d4c4a(0x582)];}[_0x559cdc(0x539)](_0x1cfb55){const _0x21891f=_0x559cdc;if(this[_0x21891f(0x414)][_0x21891f(0x426)]==null||!this[_0x21891f(0x496)])return;let {width:_0x2cd234,height:_0x16938e}=this,{width:_0x27a000=0x0,height:_0x2dde01=0x0}=_0x1cfb55[_0x21891f(0x443)],{left:_0x9acb25=0x0,top:_0x12411e=0x0,right:_0x59e21e=0x0,bottom:_0x1a1b9e=0x0}=this[_0x21891f(0x414)][_0x21891f(0x426)],_0xb96151=_0x9acb25,_0x2a77e8=_0x12411e,_0x28d562=_0x59e21e,_0x4ec670=_0x1a1b9e,_0x462dee=!0x1;if(_0x27a000!==0x0&&_0x27a000!==_0x2cd234){let _0x2c5fc8=_0x9acb25/_0x27a000,_0x480eb2=_0x59e21e/_0x27a000;_0xb96151=_0x2cd234*_0x2c5fc8,_0x28d562=_0x2cd234*_0x480eb2,_0x462dee=!0x0;}if(_0x2dde01!==0x0&&_0x2dde01!==_0x16938e){let _0x1a2726=_0x12411e/_0x2dde01,_0x2431de=_0x1a1b9e/_0x2dde01;_0x2a77e8=_0x16938e*_0x1a2726,_0x4ec670=_0x16938e*_0x2431de,_0x462dee=!0x0;}_0x462dee&&this[_0x21891f(0x3bf)]({'left':_0xb96151,'top':_0x2a77e8,'right':_0x28d562,'bottom':_0x4ec670});}[_0x559cdc(0x3bf)](_0x43ee6c){const _0x44575b=_0x559cdc;this['_props'][_0x44575b(0x426)]=_0x43ee6c,this[_0x44575b(0x4b8)](!0x0);}[_0x559cdc(0x150)](_0xfbe42a){const _0x3c1baa=_0x559cdc;this[_0x3c1baa(0x414)]['image']=_0xfbe42a,this[_0x3c1baa(0x4b8)](!0x0);}set['transform'](_0x44670e){const _0x4ed414=_0x559cdc;this[_0x4ed414(0x54e)]=_0x44670e;}get['transform'](){const _0x924a1d=_0x559cdc;this[_0x924a1d(0x54e)]||this[_0x924a1d(0x14b)]();let _0x1a2796=this[_0x924a1d(0x54e)][_0x924a1d(0x53c)]();return this[_0x924a1d(0x159)](_0x1a2796);}get['shapeModel'](){const _0x5e23aa=_0x559cdc;return this[_0x5e23aa(0x414)][_0x5e23aa(0x4a8)];}get[_0x559cdc(0x45d)](){const _0x5dfdf0=_0x559cdc;return this[_0x5dfdf0(0x414)]['shapeId'];}get[_0x559cdc(0x140)](){const _0x405fc8=_0x559cdc;return o['RENDER_CLASS_TYPE'][_0x405fc8(0x458)];}['_draw'](_0x196489,_0x3e15c4,_0x4eb5e9,_0x54a7a8){const _0x4325b1=_0x559cdc;let _0xff255a=this['_props']['shapeModel'];if(!_0xff255a||!_0x3e15c4)return;let _0x3c15c2=_0x4eb5e9==null?this[_0x4325b1(0x43a)]:_0x4eb5e9,_0x8fc159=_0x54a7a8==null?this['height']:_0x54a7a8,_0x11a3fc={'shapeType':_0xff255a['getShapeType'](),'width':_0x3c15c2,'height':_0x8fc159},_0x5e5805={'renderMode':u['ShapeRenderModeEnum']['Path'],'oKey':this[_0x4325b1(0x1a3)],'image':this[_0x4325b1(0x414)][_0x4325b1(0x28e)],'angle':this['angle']};_0xff255a['updateContext'](_0x11a3fc),_0x196489[_0x4325b1(0x1b1)]();let _0x15db6d={'top':0x0,'left':0x0,'width':_0x3c15c2,'height':_0x8fc159};_0xff255a[_0x4325b1(0x419)](_0x196489,_0x15db6d,_0x5e5805),_0x196489[_0x4325b1(0x3c4)]();let _0x35ea99=_0xff255a[_0x4325b1(0x15c)](),_0x57c578=_0xff255a[_0x4325b1(0x3a0)](_0x15db6d),_0x3cf134=_0xff255a[_0x4325b1(0x1ad)]();if(_0x35ea99&&_0x57c578&&!_0x3cf134){_0x196489[_0x4325b1(0x1b1)](),this[_0x4325b1(0x141)]()[_0x4325b1(0x224)]&&_0x196489['scale'](-0x1,0x1);let _0x582cbd=_0x3c15c2/0x2,_0x2b7435=_0x8fc159/0x2;_0x196489[_0x4325b1(0x573)](-_0x582cbd,-_0x2b7435),_0x196489[_0x4325b1(0x36f)](),this[_0x4325b1(0x396)](_0x196489,_0x35ea99,_0x57c578),_0x196489[_0x4325b1(0x3c4)]();}}['getDrawingPoints'](_0xc3e0d){}[_0x559cdc(0x396)](_0x11271a,_0xb5a8fc,_0x5c9d82){const _0x14875f=_0x559cdc;this[_0x14875f(0x414)][_0x14875f(0x352)]||(_0x14875f(0x41d)in _0xb5a8fc&&_0xb5a8fc['isRichText']===!0x1?this[_0x14875f(0x29a)](_0x11271a,_0xb5a8fc,_0x5c9d82):this[_0x14875f(0x208)](_0x11271a,_0xb5a8fc,_0x5c9d82));}[_0x559cdc(0x29a)](_0x5ce1d2,_0x3ea830,_0x1d821f){}[_0x559cdc(0x208)](_0x4a4884,_0x324863,_0x4b8ba6){const _0x3b912f=_0x559cdc;var _0x5a8fd1,_0xeae9c8;let _0x37e974=this['_props'][_0x3b912f(0x4a2)];if(!_0x324863[_0x3b912f(0x406)]||!_0x37e974)return;let _0x505c6e=_0x324863[_0x3b912f(0x406)],_0x33665d=_0x505c6e[_0x3b912f(0x3b8)],_0x2373cf=(_0x5a8fd1=_0x505c6e['va'])==null?t['VerticalAlign'][_0x3b912f(0x2fc)]:_0x5a8fd1,_0x1e9aa2=(_0xeae9c8=_0x505c6e['ha'])==null?t[_0x3b912f(0x552)][_0x3b912f(0x240)]:_0xeae9c8;if(!_0x33665d)return;let _0x2800e2=_0x324863['isHorizontal'],_0x472bc7=new t[(_0x3b912f(0x34f))](ae(_0x33665d,{'isHorizontal':_0x2800e2!==!0x1,'textRect':_0x4b8ba6,'verticalAlign':_0x2373cf,'horizontalAlign':_0x1e9aa2})),_0x39f048=new o[(_0x3b912f(0x440))](_0x472bc7),_0x5ab7c7=o[_0x3b912f(0x526)][_0x3b912f(0x286)](_0x39f048,_0x37e974);_0x5ab7c7[_0x3b912f(0x44f)]();let _0x6ad199=new o[(_0x3b912f(0x2ea))]('shape-text-'+this[_0x3b912f(0x1a3)],_0x5ab7c7,{'pageMarginLeft':0x0,'pageMarginTop':0x0});_0x6ad199[_0x3b912f(0x259)](_0x4b8ba6[_0x3b912f(0x43a)],_0x4b8ba6['height']),_0x4a4884[_0x3b912f(0x1b1)](),_0x4a4884[_0x3b912f(0x38b)](_0x4b8ba6[_0x3b912f(0x475)],_0x4b8ba6[_0x3b912f(0x4d6)]),_0x4a4884['beginPath'](),_0x4a4884['rect'](0x0,0x0,_0x4b8ba6['width'],_0x4b8ba6[_0x3b912f(0x383)]),_0x4a4884[_0x3b912f(0x1f0)](),_0x6ad199[_0x3b912f(0x3c6)](_0x4a4884),_0x4a4884[_0x3b912f(0x3c4)](),_0x6ad199['dispose'](),_0x5ab7c7[_0x3b912f(0x327)](),_0x39f048[_0x3b912f(0x327)](),_0x472bc7['dispose']();}[_0x559cdc(0x419)](_0x5aed30,_0x5e7c03,_0x861bc1=!0x1){const _0x449d8d=_0x559cdc;if(!this['visible'])return this[_0x449d8d(0x4b8)](!0x1),this;let {width:_0x1895e8,height:_0x4ceedc,left:_0x275a36,top:_0x1957ba}=this,_0x3bf6d4=this[_0x449d8d(0x23f)]();if(_0x1895e8=_0x3bf6d4[_0x449d8d(0x43a)],_0x4ceedc=_0x3bf6d4[_0x449d8d(0x383)],_0x275a36=_0x3bf6d4[_0x449d8d(0x475)],_0x1957ba=_0x3bf6d4['top'],this['isRender'](_0x5e7c03)){let {top:_0x3b4ef7,left:_0x194c0a,bottom:_0x5c2541,right:_0x12636d}=_0x5e7c03['viewBound'];if(_0x1895e8+this[_0x449d8d(0x44a)]+_0x275a36<_0x194c0a||_0x12636d<_0x275a36||_0x4ceedc+this[_0x449d8d(0x44a)]+_0x1957ba<_0x3b4ef7||_0x5c2541<_0x1957ba)return this;}let _0x3c5178=_0x275a36+_0x1895e8/0x2,_0x4e1378=_0x1957ba+_0x4ceedc/0x2,_0x4e4086=this[_0x449d8d(0x326)][_0x449d8d(0x3db)]();if(this[_0x449d8d(0x414)]['isEditing']){let _0x5ab54a=this[_0x449d8d(0x141)](),_0x31558c=new o[(_0x449d8d(0x5c8))]();_0x31558c[_0x449d8d(0x5e7)]({..._0x5ab54a}),_0x4e4086=_0x31558c[_0x449d8d(0x3db)]();}return _0x5aed30[_0x449d8d(0x1b1)](),this['_props'][_0x449d8d(0x4a8)][_0x449d8d(0x14a)]===!0x0||_0x5aed30[_0x449d8d(0x326)](_0x4e4086[0x0],_0x4e4086[0x1],_0x4e4086[0x2],_0x4e4086[0x3],_0x3c5178,_0x4e1378),this[_0x449d8d(0x2ed)](_0x5aed30,_0x5e7c03,_0x1895e8,_0x4ceedc),_0x5aed30[_0x449d8d(0x3c4)](),this[_0x449d8d(0x4b8)](!0x1),this;}[_0x559cdc(0x280)](_0xdab088){const _0x2a06d2=_0x559cdc;let {left:_0x348928,top:_0x51970c,width:_0x3d4e1c,height:_0x215fe3}=this[_0x2a06d2(0x23f)](),_0x44b9aa=this[_0x2a06d2(0x326)][_0x2a06d2(0x3db)](),_0x32e4b2=_0x348928+_0x3d4e1c/0x2,_0x11bc9b=_0x51970c+_0x215fe3/0x2,_0x14f59b=new o[(_0x2a06d2(0x5c8))]([_0x44b9aa[0x0],_0x44b9aa[0x1],_0x44b9aa[0x2],_0x44b9aa[0x3],_0x32e4b2,_0x11bc9b]),_0x136c8d=this[_0x2a06d2(0x172)]();return(this[_0x2a06d2(0x5ae)]&&(_0x136c8d==null?void 0x0:_0x136c8d[_0x2a06d2(0x140)])===o[_0x2a06d2(0x2cc)][_0x2a06d2(0x27e)]?_0x136c8d[_0x2a06d2(0x333)]['multiply'](_0x14f59b):_0x14f59b)[_0x2a06d2(0x5b0)]()['applyPoint'](_0xdab088);}['isHit'](_0x42153a){const _0x50bccd=_0x559cdc;let {left:_0x353aa8,top:_0x3163a7,width:_0x4f7d94,height:_0x1366c5}=this[_0x50bccd(0x23f)](),_0x3bd6d6=_0x353aa8+_0x4f7d94/0x2,_0x52b318=_0x3163a7+_0x1366c5/0x2,_0x542fb1=this['transform'][_0x50bccd(0x3db)](),_0x389cd7=new o[(_0x50bccd(0x5c8))]([_0x542fb1[0x0],_0x542fb1[0x1],_0x542fb1[0x2],_0x542fb1[0x3],_0x3bd6d6,_0x52b318]),_0x558db3=this[_0x50bccd(0x172)](),_0x328562=(this[_0x50bccd(0x5ae)]&&(_0x558db3==null?void 0x0:_0x558db3['classType'])===o[_0x50bccd(0x2cc)][_0x50bccd(0x27e)]?_0x558db3['ancestorTransform'][_0x50bccd(0x576)](_0x389cd7):_0x389cd7)[_0x50bccd(0x5b0)]()[_0x50bccd(0x589)](_0x42153a),_0x6cb79a=_0x4f7d94/0x2,_0x43e4c6=_0x1366c5/0x2,_0x231cd2=this[_0x50bccd(0x414)][_0x50bccd(0x4a8)];return _0x231cd2&&_0x231cd2[_0x50bccd(0x1ad)]()?_0x231cd2[_0x50bccd(0x5dd)](_0x328562['x'],_0x328562['y'],_0x4f7d94,_0x1366c5):_0x328562['x']>=-_0x6cb79a-this[_0x50bccd(0x44a)]/0x2&&_0x328562['x']<=_0x6cb79a+this['strokeWidth']/0x2&&_0x328562['y']>=-_0x43e4c6-this[_0x50bccd(0x44a)]/0x2&&_0x328562['y']<=_0x43e4c6+this[_0x50bccd(0x44a)]/0x2;}[_0x559cdc(0x327)](){const _0x2c321f=_0x559cdc;this['_props']['shapeModel']=null,super[_0x2c321f(0x327)]();}},oe=class extends o[_0x559cdc(0x2c9)]{constructor(_0x544a51,_0x5f2068){const _0x204bd7=_0x559cdc;super(_0x544a51,_0x5f2068),S(this,_0x204bd7(0x4ca),null),S(this,_0x204bd7(0x3cf),null),S(this,_0x204bd7(0x13b),null),S(this,_0x204bd7(0x2a1),null),_0x5f2068&&this[_0x204bd7(0x425)](_0x5f2068);}[_0x559cdc(0x300)](){const _0x1c7fde=_0x559cdc;return{'unitId':this[_0x1c7fde(0x13b)],'subUnitId':this[_0x1c7fde(0x2a1)],'drawingId':this[_0x1c7fde(0x4ca)]};}[_0x559cdc(0x425)](_0x298a9f){const _0x59b2ac=_0x559cdc;_0x298a9f['shapeId']!==void 0x0&&(this[_0x59b2ac(0x4ca)]=_0x298a9f[_0x59b2ac(0x45d)]),_0x298a9f[_0x59b2ac(0x1c5)]!==void 0x0&&(this[_0x59b2ac(0x3cf)]=_0x298a9f['adjName']),_0x298a9f[_0x59b2ac(0x180)]!==void 0x0&&(this['_unitId']=_0x298a9f[_0x59b2ac(0x180)]),_0x298a9f[_0x59b2ac(0x582)]!==void 0x0&&(this['_subUnitId']=_0x298a9f[_0x59b2ac(0x582)]),this[_0x59b2ac(0x380)]({'width':_0x298a9f['width'],'height':_0x298a9f['height']});}[_0x559cdc(0x2ed)](_0x5465d1){const _0x3913e0=_0x559cdc;o[_0x3913e0(0x5ad)][_0x3913e0(0x250)](_0x5465d1,{'radius':u[_0x3913e0(0x2b5)][_0x3913e0(0x190)],'fill':u[_0x3913e0(0x2b5)][_0x3913e0(0x4f3)],'stroke':u[_0x3913e0(0x2b5)][_0x3913e0(0x455)],'strokeWidth':0x1,'evented':!0x0});}};function L(_0x1aa6b6,_0x5d035e){return function(_0x5519c8,_0x1604f8){_0x5d035e(_0x5519c8,_0x1604f8,_0x1aa6b6);};}function R(_0x3c5abc,_0x3ba22e,_0x329073,_0x285963){const _0x52b136=_0x559cdc;var _0x567dd2=arguments[_0x52b136(0x5ef)],_0x4d30d6=_0x567dd2<0x3?_0x3ba22e:_0x285963===null?_0x285963=Object['getOwnPropertyDescriptor'](_0x3ba22e,_0x329073):_0x285963,_0x56a6b8;if(typeof Reflect==_0x52b136(0x487)&&typeof Reflect[_0x52b136(0x15a)]=='function')_0x4d30d6=Reflect[_0x52b136(0x15a)](_0x3c5abc,_0x3ba22e,_0x329073,_0x285963);else{for(var _0x22b874=_0x3c5abc[_0x52b136(0x5ef)]-0x1;_0x22b874>=0x0;_0x22b874--)(_0x56a6b8=_0x3c5abc[_0x22b874])&&(_0x4d30d6=(_0x567dd2<0x3?_0x56a6b8(_0x4d30d6):_0x567dd2>0x3?_0x56a6b8(_0x3ba22e,_0x329073,_0x4d30d6):_0x56a6b8(_0x3ba22e,_0x329073))||_0x4d30d6);}return _0x567dd2>0x3&&_0x4d30d6&&Object[_0x52b136(0x4f9)](_0x3ba22e,_0x329073,_0x4d30d6),_0x4d30d6;}let z=class extends t[_0x559cdc(0x54a)]{constructor(_0x37ce9f,_0x137e80,_0x12f027,_0x5c6d77,_0x12ae7e){const _0x1dc8d1=_0x559cdc;super(),this['_drawingManagerService']=_0x37ce9f,this[_0x1dc8d1(0x1f9)]=_0x137e80,this[_0x1dc8d1(0x5d3)]=_0x12f027,this['_imageIoService']=_0x5c6d77,this['_urlImageService']=_0x12ae7e;}['renderDrawingShape'](_0x1cebee,_0x38c5a5){const _0x3850e3=_0x559cdc;let {transform:_0x5ef07f,drawingType:_0x417165,srcRect:_0x3c00c3,prstGeom:_0x3e5774,groupId:_0x282e97,unitId:_0x58f948,subUnitId:_0xee8a3a,drawingId:_0x36a64f,isMultiTransform:_0x56a550,transforms:_0x171936,hidden:_0x3441c2}=_0x1cebee;if(_0x417165!==t[_0x3850e3(0x19c)]['DRAWING_SHAPE']||!this[_0x3850e3(0x2e9)][_0x3850e3(0x4d4)]()||_0x5ef07f==null)return;let _0x30ff43=_0x56a550&&_0x171936?_0x171936:[_0x5ef07f],_0x297607=[];for(let _0x3f678b of _0x30ff43){let {left:_0x426e2b,top:_0x55b2e7,width:_0x4c649e,height:_0x364c56,angle:_0x2022a5,flipX:_0x1be535,flipY:_0xc47c56,skewX:_0x4e7327,skewY:_0x1e6769}=_0x3f678b,_0x1a409f=_0x30ff43[_0x3850e3(0x536)](_0x3f678b),_0x3146a1=(0x0,a[_0x3850e3(0x317)])({'unitId':_0x58f948,'subUnitId':_0xee8a3a,'drawingId':_0x36a64f},_0x56a550?_0x1a409f:void 0x0),_0x2fa38b=_0x38c5a5['getObjectIncludeInGroup'](_0x3146a1);if(_0x2fa38b!=null){_0x2fa38b[_0x3850e3(0x380)]({'left':_0x426e2b,'top':_0x55b2e7,'width':_0x4c649e,'height':_0x364c56,'angle':_0x2022a5,'flipX':_0x1be535,'flipY':_0xc47c56,'skewX':_0x4e7327,'skewY':_0x1e6769});continue;}let _0x494b3c=this[_0x3850e3(0x2e9)][_0x3850e3(0x505)](_0x58f948,_0xee8a3a),_0x1be8a6=_0x494b3c[_0x3850e3(0x536)](_0x36a64f);if(_0x38c5a5[_0x3850e3(0x332)](_0x3146a1)||!this[_0x3850e3(0x2e9)]['getDrawingVisible']())continue;let _0x340155=this[_0x3850e3(0x1f9)][_0x3850e3(0x269)](_0x58f948,_0xee8a3a,_0x36a64f);if(!_0x340155)continue;let _0x27a534=new I(_0x3146a1,{...(0x0,u[_0x3850e3(0x522)])(_0x340155[_0x3850e3(0x33d)]())?{..._0x3f678b,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x3f678b},'zIndex':_0x1be8a6===-0x1?_0x494b3c[_0x3850e3(0x5ef)]-0x1:_0x1be8a6,'shapeModel':_0x340155,'localeService':this[_0x3850e3(0x5d3)],'shapeId':_0x36a64f,'unitId':_0x58f948,'subUnitId':_0xee8a3a,'visible':_0x3441c2!==!0x0});_0x38c5a5[_0x3850e3(0x2b0)](_0x27a534,o['DRAWING_OBJECT_LAYER_INDEX']),this[_0x3850e3(0x2e9)][_0x3850e3(0x478)]()&&_0x38c5a5[_0x3850e3(0x3c2)](_0x27a534),_0x282e97&&(0x0,d[_0x3850e3(0x1ba)])({'drawingId':_0x282e97,'unitId':_0x58f948,'subUnitId':_0xee8a3a},_0x27a534,_0x38c5a5,this[_0x3850e3(0x2e9)]),_0x3e5774!=null&&_0x27a534['setPrstGeom'](_0x3e5774),_0x3c00c3!=null&&_0x27a534[_0x3850e3(0x3bf)](_0x3c00c3),this[_0x3850e3(0x444)](_0x27a534,_0x340155[_0x3850e3(0x222)]()),_0x297607[_0x3850e3(0x42d)](_0x27a534);}return _0x297607;}[_0x559cdc(0x444)](_0x22d81f,_0x37f416){const _0x1270ad=_0x559cdc;var _0x2eeda3;let _0x1bba1f=_0x37f416[_0x1270ad(0x3e9)];if(!_0x1bba1f||_0x1bba1f[_0x1270ad(0x2ba)]!==u[_0x1270ad(0x538)][_0x1270ad(0x5b9)]||!_0x1bba1f['fillImageSource'])return;let _0x231701=_0x1bba1f[_0x1270ad(0x21d)],_0x192f28=(_0x2eeda3=_0x1bba1f['fillImageSourceType'])==null?u[_0x1270ad(0x254)][_0x1270ad(0x5ab)]:_0x2eeda3,_0x56afc6=this[_0x1270ad(0x4a7)][_0x1270ad(0x3f8)](_0x231701,_0x192f28);if(_0x56afc6){_0x22d81f[_0x1270ad(0x150)](_0x56afc6);return;}this[_0x1270ad(0x52f)](_0x22d81f,_0x231701,_0x192f28);}async['_loadAndSetImage'](_0x3dde4f,_0x255933,_0x1b9e77){const _0x362642=_0x559cdc;let _0x6fac8c;try{if(_0x1b9e77===u[_0x362642(0x254)][_0x362642(0x597)])_0x6fac8c=await this[_0x362642(0x4a7)]['getImage'](_0x255933);else{if(_0x1b9e77===u[_0x362642(0x254)][_0x362642(0x5ab)])try{_0x6fac8c=await this['_urlImageService'][_0x362642(0x1cb)](_0x255933);}catch{_0x6fac8c=_0x255933;}else _0x6fac8c=_0x255933;}}catch(_0x48692f){console[_0x362642(0x248)]('[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source',_0x48692f);return;}let _0x72b444=new window['Image']();_0x72b444[_0x362642(0x4b9)]=()=>{const _0xbb24ca=_0x362642;this['_imageIoService'][_0xbb24ca(0x4ae)](_0x255933,_0x1b9e77,_0x72b444),_0x3dde4f[_0xbb24ca(0x150)](_0x72b444);},_0x72b444[_0x362642(0x152)]=()=>{const _0x4d5678=_0x362642;console[_0x4d5678(0x248)]('[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image',_0x255933);},_0x72b444['src']=_0x6fac8c;}};z=R([L(0x0,a[_0x559cdc(0x470)]),L(0x1,(0x0,t[_0x559cdc(0x4fa)])(e['SheetsShapeService'])),L(0x2,(0x0,t['Inject'])(t[_0x559cdc(0x359)])),L(0x3,a['IImageIoService']),L(0x4,t[_0x559cdc(0x56b)])],z);let B=class extends t['Disposable']{constructor(_0x299929,_0x10bacc,_0x2f0d49,_0x42c1e7,_0x137b36,_0x122ba1,_0x2491e8,_0x2b8dab){const _0xb36e47=_0x559cdc;super(),this['_context']=_0x299929,this[_0xb36e47(0x244)]=_0x10bacc,this['_drawingManagerService']=_0x2f0d49,this[_0xb36e47(0x1f9)]=_0x42c1e7,this[_0xb36e47(0x310)]=_0x137b36,this[_0xb36e47(0x291)]=_0x122ba1,this[_0xb36e47(0x2cf)]=_0x2491e8,this[_0xb36e47(0x193)]=_0x2b8dab,S(this,_0xb36e47(0x447),null),S(this,'_unitId',null),S(this,_0xb36e47(0x2a1),null),S(this,'_activeShapeAdjustPointList',void 0x0),S(this,_0xb36e47(0x330),[]),S(this,_0xb36e47(0x421),0x0),S(this,_0xb36e47(0x26e),0x0),S(this,_0xb36e47(0x4c1),0x0),S(this,_0xb36e47(0x3b0),0x0),S(this,_0xb36e47(0x37b),!0x1),S(this,'_activeAdjustInfo',void 0x0),S(this,_0xb36e47(0x3ec),void 0x0),S(this,'_adjHandlerPointerMove',void 0x0),S(this,_0xb36e47(0x3bc),void 0x0),S(this,'_isShouldShowDrawingShapeAdjust',!0x1),this[_0xb36e47(0x547)](),this[_0xb36e47(0x3f6)]();}['_getShapeAdjustPointListById'](_0x330552,_0x2f34d0,_0x56b45c){const _0xe78af6=_0x559cdc;let _0x4c6ce8=this[_0xe78af6(0x1f9)]['getShapeModel'](_0x330552,_0x2f34d0,_0x56b45c);if(_0x4c6ce8)return _0x4c6ce8['getDrawingPoints']();}[_0x559cdc(0x1ce)](){this['_clearShapeAdjustControls']();}['refreshAdjustControls'](){const _0x1581fa=_0x559cdc;this[_0x1581fa(0x2c3)](!0x0);}[_0x559cdc(0x4fc)](_0x2303dc){const _0x1218e8=_0x559cdc;this[_0x1218e8(0x4de)]=_0x2303dc;}[_0x559cdc(0x292)](_0x2d6898,_0x1a905f,_0x220217,_0x3e3962){const _0x5bc5e2=_0x559cdc;let _0x3f28fd=this['_sheetsShapeService'][_0x5bc5e2(0x269)](_0x2d6898,_0x1a905f,_0x220217);if(_0x3f28fd)return _0x3f28fd[_0x5bc5e2(0x4a3)](_0x3e3962);}['_createShapeAdjustControls'](_0x2e3244=!0x1){const _0x2e3b3e=_0x559cdc;if(this[_0x2e3b3e(0x13b)]===null||this['_subUnitId']===null||this[_0x2e3b3e(0x447)]===null)return;let _0x5c0533=this['_renderManagerService'][_0x2e3b3e(0x28b)](this[_0x2e3b3e(0x13b)]);if(!_0x5c0533||!_0x5c0533[_0x2e3b3e(0x4bd)](c[_0x2e3b3e(0x265)])[_0x2e3b3e(0x20a)]())return;let {scene:_0x2d6808}=_0x5c0533,_0x55ce01={'unitId':this[_0x2e3b3e(0x13b)],'subUnitId':this[_0x2e3b3e(0x2a1)],'drawingId':this[_0x2e3b3e(0x447)]},_0x4696a4=this['_drawingManagerService'][_0x2e3b3e(0x217)](_0x55ce01),{transform:_0x3938dc}=_0x4696a4;if(!_0x3938dc||_0x4696a4[_0x2e3b3e(0x3f1)]!==t[_0x2e3b3e(0x19c)][_0x2e3b3e(0x2d8)])return;let {left:_0x5e20a8,top:_0x5abbb7,width:_0xba4e10,height:_0x26adc4,flipX:_0x1aa0d2,flipY:_0x390660,angle:_0x9ecbdc=0x0}=_0x3938dc;if(_0x5e20a8===void 0x0||_0x5abbb7===void 0x0)return;_0x2e3244&&(this['_activeShapeAdjustPointList']=this[_0x2e3b3e(0x2ac)](this[_0x2e3b3e(0x13b)],this[_0x2e3b3e(0x2a1)],this[_0x2e3b3e(0x447)]));let _0x553866=this[_0x2e3b3e(0x17b)];for(let _0x482fd4=0x0;_0x482fd4<_0x553866['length'];_0x482fd4++){let _0x584d4b=_0x553866[_0x482fd4],_0xa1d8fb=_0x584d4b['x'],_0x5e0805=_0x584d4b['y'];if(_0x1aa0d2&&(_0xa1d8fb=(_0xba4e10||0x0)-_0xa1d8fb),_0x390660&&(_0x5e0805=(_0x26adc4||0x0)-_0x5e0805),_0x9ecbdc!==0x0){let _0x354e88=(_0xba4e10||0x0)/0x2,_0x1a6fc2=(_0x26adc4||0x0)/0x2,_0x47cd5c=_0x9ecbdc*Math['PI']/0xb4,_0x3775c1=Math['cos'](_0x47cd5c),_0x351556=Math[_0x2e3b3e(0x2f5)](_0x47cd5c),_0x50c1a5=_0xa1d8fb-_0x354e88,_0x3c513d=_0x5e0805-_0x1a6fc2;_0xa1d8fb=_0x354e88+(_0x50c1a5*_0x3775c1-_0x3c513d*_0x351556),_0x5e0805=_0x1a6fc2+(_0x50c1a5*_0x351556+_0x3c513d*_0x3775c1);}let _0x3db48d={'x':_0xa1d8fb,'y':_0x5e0805,'adjName':_0x584d4b['adjName']};this[_0x2e3b3e(0x5a5)](_0x2d6808,_0x3db48d,_0x3db48d[_0x2e3b3e(0x1c5)],_0x5e20a8,_0x5abbb7,this[_0x2e3b3e(0x13b)],this[_0x2e3b3e(0x2a1)]);}}[_0x559cdc(0x2c3)](_0x4ba462=!0x1){const _0x173696=_0x559cdc;_0x4ba462&&(this[_0x173696(0x322)](),this[_0x173696(0x32c)](_0x4ba462));}[_0x559cdc(0x5a5)](_0x57e6ae,_0x13ea88,_0x2b6313,_0x59ba2b,_0x2b0444,_0x1154d7,_0x10aca2){const _0x579b41=_0x559cdc;if(!this['_activeShapeId'])return;let _0x57194f=_0x57e6ae[_0x579b41(0x332)](_0x579b41(0x4e9)+this[_0x579b41(0x447)]+'-'+_0x2b6313);if(_0x57194f){_0x57194f[_0x579b41(0x380)]({'left':_0x13ea88['x']+_0x59ba2b-u[_0x579b41(0x2b5)][_0x579b41(0x190)],'top':_0x13ea88['y']+_0x2b0444-u['ShapeDefaultConfig']['adjHandleSize']});return;}let _0x42b5a9={'left':_0x13ea88['x']+_0x59ba2b-u[_0x579b41(0x2b5)][_0x579b41(0x190)],'top':_0x13ea88['y']+_0x2b0444-u['ShapeDefaultConfig'][_0x579b41(0x190)],'adjName':_0x2b6313,'shapeId':this[_0x579b41(0x447)],'unitId':_0x1154d7,'subUnitId':_0x10aca2,'width':u['ShapeDefaultConfig'][_0x579b41(0x190)]+0x8,'height':u[_0x579b41(0x2b5)]['adjHandleSize']+0x8,'zIndex':o['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0},_0x1e652c=new oe(_0x579b41(0x4e9)+this[_0x579b41(0x447)]+'-'+_0x2b6313,_0x42b5a9);this[_0x579b41(0x330)][_0x579b41(0x42d)](_0x1e652c),this[_0x579b41(0x363)](_0x1e652c,_0x57e6ae,_0x2b6313),_0x57e6ae[_0x579b41(0x2b0)](_0x1e652c,o[_0x579b41(0x36e)]+0x1);}[_0x559cdc(0x322)](){const _0x4f4735=_0x559cdc;this[_0x4f4735(0x330)][_0x4f4735(0x5ef)]!==0x0&&(this[_0x4f4735(0x330)][_0x4f4735(0x1d0)](_0x3eb4cd=>{const _0x136fc7=_0x4f4735;_0x3eb4cd[_0x136fc7(0x327)]();}),this[_0x4f4735(0x330)]=[]);}['_updateAdjustControlPositions'](){this['_createShapeAdjustControls']();}[_0x559cdc(0x2b8)](_0x28c500,_0x3520bf){const _0x15b737=_0x559cdc;var _0x4a0675;let _0x93a1ca={'x':0x0,'y':0x0};if(!_0x28c500||!_0x3520bf)return _0x93a1ca;let _0x16b268=this[_0x15b737(0x310)]['getRenderById'](_0x28c500);if(!_0x16b268||!_0x16b268['with'](c[_0x15b737(0x265)])[_0x15b737(0x297)](_0x3520bf))return _0x93a1ca;let _0x26a814=_0x16b268[_0x15b737(0x4bd)](c[_0x15b737(0x323)]),_0x56de67=_0x26a814==null?void 0x0:_0x26a814[_0x15b737(0x298)]();if(!_0x56de67)return _0x93a1ca;let _0x87f264=(_0x4a0675=this['_univerInstanceService'][_0x15b737(0x529)](_0x28c500))==null?void 0x0:_0x4a0675[_0x15b737(0x1d6)](_0x3520bf);if(!_0x87f264)return _0x93a1ca;let _0x1a9665=(0x0,c['getViewportByCell'])(_0x56de67[_0x15b737(0x31c)],_0x56de67[_0x15b737(0x513)],_0x16b268[_0x15b737(0x5e3)],_0x87f264);return _0x1a9665?{'x':_0x1a9665[_0x15b737(0x23c)],'y':_0x1a9665[_0x15b737(0x346)]}:_0x93a1ca;}[_0x559cdc(0x4a9)](_0x10340e,_0x4cb9b6){const _0x55084b=_0x559cdc;var _0x131bb4,_0x307aa9;let _0x3e9be3=(_0x131bb4=this[_0x55084b(0x2cf)][_0x55084b(0x529)](_0x10340e))==null?void 0x0:_0x131bb4[_0x55084b(0x1d6)](_0x4cb9b6);return(_0x307aa9=_0x3e9be3==null?void 0x0:_0x3e9be3['getZoomRatio']())==null?0x1:_0x307aa9;}['_attachAdjustEvent'](_0x37304d,_0x5644a2,_0x335d90){const _0xccda64=_0x559cdc;this[_0xccda64(0x491)]((0x0,t['toDisposable'])(_0x37304d[_0xccda64(0x1d5)][_0xccda64(0x581)]((_0x3abb23,_0x516770)=>{const _0x2513fa=_0xccda64;var _0x5afffb,_0x1d7b32,_0x139903,_0x52bb10;let _0x3b4144=_0x37304d[_0x2513fa(0x300)]();this[_0x2513fa(0x5d0)]=this[_0x2513fa(0x292)](_0x3b4144[_0x2513fa(0x180)],_0x3b4144[_0x2513fa(0x582)],_0x3b4144[_0x2513fa(0x1fa)],_0x335d90),this[_0x2513fa(0x3ec)]=this[_0x2513fa(0x1f9)]['getShapeModel'](_0x3b4144['unitId'],_0x3b4144[_0x2513fa(0x582)],_0x3b4144[_0x2513fa(0x1fa)]);let _0x22186e=this[_0x2513fa(0x2e9)]['getDrawingByParam']({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this[_0x2513fa(0x447)]}),{transform:_0x2e2e66}=_0x22186e;if(_0x2e2e66){let {left:_0x255c3c,top:_0x592395,width:_0x2df9b,height:_0x152896}=_0x2e2e66;this['_baseShapeLeft']=_0x255c3c||0x0,this['_baseShapeTop']=_0x592395||0x0,this[_0x2513fa(0x4c1)]=_0x2df9b||0x0,this[_0x2513fa(0x3b0)]=_0x152896||0x0;}let _0x1bfdac=!!((_0x5afffb=_0x22186e[_0x2513fa(0x326)])!=null&&_0x5afffb[_0x2513fa(0x224)]),_0x4c8bf9=!!((_0x1d7b32=_0x22186e['transform'])!=null&&_0x1d7b32['flipY']),_0x372d47=((_0x139903=_0x22186e['transform'])==null?void 0x0:_0x139903['angle'])||0x0;this['_isStartAdjusting']=!0x0,_0x5644a2[_0x2513fa(0x2a7)]();let _0x1a9dca=(_0x52bb10=this[_0x2513fa(0x3ec)])==null?void 0x0:_0x52bb10['getAdjustValueByName'](_0x335d90),_0x8ce85e={[_0x335d90]:_0x1a9dca};this[_0x2513fa(0x28a)]=_0x5644a2['onPointerMove$']['subscribeEvent']((_0x11260a,_0x2bae21)=>{const _0x50b966=_0x2513fa;if(!this['_isStartAdjusting'])return;let {offsetX:_0x594119,offsetY:_0x3315b5}=_0x11260a,_0x2894ae=this[_0x50b966(0x5d0)];if(this[_0x50b966(0x3ec)]&&_0x2894ae){_0x5644a2['disableObjectsEvent'](),_0x5644a2[_0x50b966(0x2ae)](o[_0x50b966(0x399)][_0x50b966(0x3ff)]);let _0x41ab08={'left':0x0,'top':0x0,'width':this[_0x50b966(0x4c1)],'height':this[_0x50b966(0x3b0)]},_0x5e4d68=this['_getScrollInfo'](this[_0x50b966(0x13b)],this['_subUnitId']),_0x733506=this[_0x50b966(0x4a9)](this[_0x50b966(0x13b)],this[_0x50b966(0x2a1)]),_0x3981f5=_0x594119/_0x733506+_0x5e4d68['x']-this[_0x50b966(0x421)],_0x3da543=_0x3315b5/_0x733506+_0x5e4d68['y']-this[_0x50b966(0x26e)];if(_0x372d47!==0x0){let _0x5fb4e2=this['_baseShapeWidth']/0x2,_0x3f6daa=this[_0x50b966(0x3b0)]/0x2,_0x487b59=_0x372d47*Math['PI']/0xb4,_0x505a0f=Math[_0x50b966(0x50a)](_0x487b59),_0x53bbd6=Math[_0x50b966(0x2f5)](_0x487b59),_0xc43eed=_0x3981f5-_0x5fb4e2,_0x43a768=_0x3da543-_0x3f6daa;_0x3981f5=_0x5fb4e2+(_0xc43eed*_0x505a0f+_0x43a768*_0x53bbd6),_0x3da543=_0x3f6daa+(-_0xc43eed*_0x53bbd6+_0x43a768*_0x505a0f);}_0x1bfdac&&(_0x3981f5=this[_0x50b966(0x4c1)]-_0x3981f5),_0x4c8bf9&&(_0x3da543=this[_0x50b966(0x3b0)]-_0x3da543);let _0x3d3735={'x':_0x3981f5,'y':_0x3da543},_0x35a6bc=this[_0x50b966(0x3ec)]['calcAdjValue'](_0x41ab08,_0x3d3735,_0x2894ae,_0x1bfdac,_0x4c8bf9),_0x43a6ee=_0x2894ae['gdRefX']||_0x2894ae[_0x50b966(0x549)]||_0x2894ae[_0x50b966(0x465)]||_0x2894ae[_0x50b966(0x4a6)];if(_0x43a6ee===void 0x0)return;this[_0x50b966(0x3ec)][_0x50b966(0x445)](_0x43a6ee,_0x35a6bc);let _0x5a1452=this[_0x50b966(0x2e9)]['getDrawingByParam']({'unitId':_0x3b4144[_0x50b966(0x180)],'subUnitId':_0x3b4144[_0x50b966(0x582)],'drawingId':_0x3b4144['drawingId']});_0x5a1452&&(this[_0x50b966(0x291)][_0x50b966(0x40c)](_0x5a1452,_0x5644a2),this[_0x50b966(0x17b)]=this[_0x50b966(0x2ac)](_0x3b4144[_0x50b966(0x180)],_0x3b4144['subUnitId'],_0x3b4144[_0x50b966(0x1fa)]),this[_0x50b966(0x15d)]());}_0x2bae21[_0x50b966(0x411)]();}),this[_0x2513fa(0x3bc)]=_0x5644a2[_0x2513fa(0x1b5)][_0x2513fa(0x581)]((_0x586ad5,_0xc89f3a)=>{const _0x32e218=_0x2513fa;this[_0x32e218(0x28a)]['unsubscribe'](),this[_0x32e218(0x3bc)][_0x32e218(0x2f9)](),_0x5644a2[_0x32e218(0x31d)]();let _0x134c1a=this[_0x32e218(0x5d0)];if(_0x134c1a){let _0x360524=_0x3b4144[_0x32e218(0x180)],_0x5b954f=_0x3b4144['subUnitId'],_0x1ce5cf=_0x3b4144[_0x32e218(0x1fa)],_0x358449=_0x134c1a[_0x32e218(0x467)]||_0x134c1a['gdRefY']||_0x134c1a[_0x32e218(0x465)]||_0x134c1a[_0x32e218(0x4a6)];if(_0x358449!==void 0x0){var _0x58a250;let _0x5087c6=(_0x58a250=this[_0x32e218(0x3ec)])==null?void 0x0:_0x58a250[_0x32e218(0x4c3)](_0x358449);_0x5087c6!==void 0x0&&F(this[_0x32e218(0x193)],_0x360524,_0x5b954f,_0x1ce5cf,{'oldShapeData':{'adjustValues':_0x8ce85e}},{'adjustValues':{[_0x358449]:_0x5087c6}});}}this[_0x32e218(0x5d0)]=void 0x0,this[_0x32e218(0x3ec)]=void 0x0,this[_0x32e218(0x37b)]=!0x1,_0xc89f3a[_0x32e218(0x411)](),_0x5644a2[_0x32e218(0x5b1)]();}),_0x516770[_0x2513fa(0x411)]();})));}[_0x559cdc(0x3f6)](){const _0x3ceceb=_0x559cdc;let _0x51d62b=this[_0x3ceceb(0x2cf)][_0x3ceceb(0x4f5)](t[_0x3ceceb(0x3f5)][_0x3ceceb(0x2d0)]);this[_0x3ceceb(0x491)](_0x51d62b[_0x3ceceb(0x44b)]((0x0,i[_0x3ceceb(0x366)])(_0x4939be=>_0x4939be?_0x4939be['activeSheet$'][_0x3ceceb(0x44b)]((0x0,i[_0x3ceceb(0x366)])(_0x2cf4cd=>{const _0x3fbd2e=_0x3ceceb;if(!_0x2cf4cd)return i[_0x3fbd2e(0x4fd)];let _0xcc1850=_0x4939be[_0x3fbd2e(0x4c5)](),_0x333bf8=this['_renderManagerService'][_0x3fbd2e(0x28b)](_0xcc1850),_0x305f4c=_0x333bf8==null?void 0x0:_0x333bf8['scene'];return _0x305f4c?(0x0,i['of'])(_0x305f4c):i[_0x3fbd2e(0x4fd)];})):i['EMPTY']))['subscribe'](_0x17de26=>{const _0x4f8cad=_0x3ceceb;let _0x532700=_0x17de26[_0x4f8cad(0x4b5)]();this[_0x4f8cad(0x491)](_0x17de26['onPointerMove$'][_0x4f8cad(0x581)](()=>{this['_isShouldShowDrawingShapeAdjust'];})),this[_0x4f8cad(0x491)](_0x532700[_0x4f8cad(0x5cf)]['subscribe'](_0x1b0d50=>{const _0x53bcac=_0x4f8cad;let {objects:_0x5d53cc}=_0x1b0d50;this[_0x53bcac(0x32c)](),_0x5d53cc!==null&&_0x5d53cc[_0x53bcac(0x1d9)]===0x1&&_0x5d53cc[_0x53bcac(0x540)]()[_0x53bcac(0x2c1)]()[_0x53bcac(0x490)]instanceof I&&this[_0x53bcac(0x4fc)](!0x0);})),this['disposeWithMe'](_0x532700[_0x4f8cad(0x19e)]['subscribe'](()=>{const _0x1ec056=_0x4f8cad;this[_0x1ec056(0x4de)]&&this[_0x1ec056(0x322)]();})),this[_0x4f8cad(0x491)](_0x17de26['onPointerUp$']['subscribeEvent'](()=>{const _0x38a50e=_0x4f8cad;this[_0x38a50e(0x4de)]&&(this[_0x38a50e(0x4fc)](!0x1),this[_0x38a50e(0x32c)]());})),this['disposeWithMe'](_0x532700[_0x4f8cad(0x38d)][_0x4f8cad(0x174)](()=>{const _0x32125a=_0x4f8cad;this['_unitId']&&this[_0x32125a(0x2a1)]&&this['_activeShapeId']&&this[_0x32125a(0x2e9)][_0x32125a(0x217)]({'unitId':this[_0x32125a(0x13b)],'subUnitId':this[_0x32125a(0x2a1)],'drawingId':this[_0x32125a(0x447)]})&&(this[_0x32125a(0x17b)]=this[_0x32125a(0x2ac)](this['_unitId'],this[_0x32125a(0x2a1)],this[_0x32125a(0x447)]),this[_0x32125a(0x15d)]());}));}));}['_registerDrawingFocusChangeHandler'](){const _0x4c8238=_0x559cdc;this['disposeWithMe'](this['_drawingManagerService']['focus$'][_0x4c8238(0x174)](_0x962697=>{const _0x128334=_0x4c8238;if(_0x962697[_0x128334(0x5ef)]===0x1){let _0x3cc673=_0x962697[0x0];if(_0x3cc673[_0x128334(0x3f1)]===t['DrawingTypeEnum'][_0x128334(0x2d8)]){this[_0x128334(0x447)]=_0x3cc673['drawingId'];let {unitId:_0x4adc1a,subUnitId:_0xf096cc}=_0x3cc673;this[_0x128334(0x17b)]=this[_0x128334(0x2ac)](_0x4adc1a,_0xf096cc,this[_0x128334(0x447)]),this[_0x128334(0x13b)]=_0x4adc1a,this['_subUnitId']=_0xf096cc,this[_0x128334(0x322)](),this['_createShapeAdjustControls']();}else this[_0x128334(0x447)]=null,this[_0x128334(0x17b)]=void 0x0,this['_unitId']=null,this[_0x128334(0x2a1)]=null,this[_0x128334(0x322)]();}(_0x962697['length']>0x1||_0x962697['length']===0x0)&&(this[_0x128334(0x447)]=null,this[_0x128334(0x17b)]=void 0x0,this[_0x128334(0x13b)]=null,this['_subUnitId']=null,this[_0x128334(0x322)]());})),this[_0x4c8238(0x491)](this[_0x4c8238(0x2e9)][_0x4c8238(0x4e8)][_0x4c8238(0x174)](_0x346ad2=>{const _0x370656=_0x4c8238;if(_0x346ad2['length']===0x1){var _0x2c4495;let _0x5c710e=_0x346ad2[0x0];((_0x2c4495=this[_0x370656(0x2e9)]['getDrawingByParam'](_0x5c710e))==null?void 0x0:_0x2c4495[_0x370656(0x3f1)])===t[_0x370656(0x19c)][_0x370656(0x2d8)]&&this['_updateShapeAdjustControls'](!0x0);}})),this[_0x4c8238(0x491)](this['_drawingManagerService'][_0x4c8238(0x541)][_0x4c8238(0x174)](_0x3b9f30=>{const _0x24564f=_0x4c8238;for(let _0x1683b1 of _0x3b9f30)this[_0x24564f(0x447)]===_0x1683b1[_0x24564f(0x1fa)]&&(this['_activeShapeId']=null,this['_activeShapeAdjustPointList']=void 0x0,this['_unitId']=null,this[_0x24564f(0x2a1)]=null,this[_0x24564f(0x322)]());}));}};B=R([L(0x1,t[_0x559cdc(0x451)]),L(0x2,a[_0x559cdc(0x470)]),L(0x3,(0x0,t[_0x559cdc(0x4fa)])(e['SheetsShapeService'])),L(0x4,(0x0,t[_0x559cdc(0x4fa)])(o[_0x559cdc(0x2f1)])),L(0x5,(0x0,t['Inject'])(z)),L(0x6,t[_0x559cdc(0x3c1)]),L(0x7,t['ICommandService'])],B);const se={'id':_0x559cdc(0x2f8),'type':t[_0x559cdc(0x1b0)][_0x559cdc(0x178)],'handler':(_0x64414b,_0x39a43a)=>{const _0x24539e=_0x559cdc;let _0x86181e=_0x64414b['get'](a[_0x24539e(0x470)]),_0xcffce9=_0x64414b['get'](o[_0x24539e(0x2f1)]),_0x45ffd9=_0x64414b['get'](B);if(_0x39a43a==null)return!0x0;if(_0x39a43a['length']>0x0){var _0x5d7911;let _0x5c76c0=(_0x5d7911=_0xcffce9['getRenderById'](_0x39a43a[0x0][_0x24539e(0x180)]))==null?void 0x0:_0x5d7911[_0x24539e(0x5e3)];if(_0x5c76c0){let {unitId:_0x4858bf,subUnitId:_0x3d5bf2,drawingId:_0x262f95}=_0x39a43a[0x0],_0xb742b4=(0x0,a['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x4858bf,'subUnitId':_0x3d5bf2,'drawingId':_0x262f95},void 0x0),_0x32f00d=_0x5c76c0[_0x24539e(0x332)](_0xb742b4);if(_0x32f00d){var _0x1a89bf;(_0x1a89bf=_0xcffce9[_0x24539e(0x28b)](_0x39a43a[0x0][_0x24539e(0x180)]))==null||(_0x1a89bf=_0x1a89bf[_0x24539e(0x5e3)][_0x24539e(0x3d9)]())==null||_0x1a89bf[_0x24539e(0x1ee)](_0x32f00d);}}_0x86181e[_0x24539e(0x4b1)](_0x39a43a),_0x45ffd9[_0x24539e(0x4fc)](!0x1);}return!0x0;}},V={'type':t[_0x559cdc(0x1b0)]['COMMAND'],'id':_0x559cdc(0x2bc),'handler':async(_0x34e542,_0x21658d)=>{const _0x46f01b=_0x559cdc;let _0x544c12=(0x0,n[_0x46f01b(0x485)])(_0x34e542[_0x46f01b(0x2b9)](t[_0x46f01b(0x3c1)]));if(!_0x544c12)return!0x1;let _0x4ba152=_0x34e542['get'](n[_0x46f01b(0x560)])['getCurrentLastSelection']();if(!_0x4ba152)return!0x1;let _0x5a59fc=_0x34e542['get'](t[_0x46f01b(0x279)]),{unitId:_0x2e785f,subUnitId:_0x43c710}=_0x544c12,{value:_0x431545,enhanceParams:_0x3545e2}=_0x21658d,{range:_0xb5d344}=_0x4ba152,_0x15525e={'unitId':_0x2e785f,'subUnitId':_0x43c710,'shapeType':_0x431545,'range':_0xb5d344,'shapeId':(0x0,t['generateRandomId'])()};if(_0x3545e2){let _0x5896a8=(0x0,u[_0x46f01b(0x522)])(_0x431545),_0xe10605=_0x431545===u[_0x46f01b(0x4db)][_0x46f01b(0x26d)];_0x5896a8&&(_0x3545e2[_0x46f01b(0x501)]||_0x3545e2[_0x46f01b(0x545)])&&(_0x15525e[_0x46f01b(0x3df)]={'ln':{'startArrow':_0x3545e2[_0x46f01b(0x501)]?{'type':u[_0x46f01b(0x471)]['Arrow'],'size':u[_0x46f01b(0x588)][_0x46f01b(0x1a6)]}:void 0x0,'endArrow':_0x3545e2[_0x46f01b(0x545)]?{'type':u[_0x46f01b(0x471)]['Arrow'],'size':u[_0x46f01b(0x588)][_0x46f01b(0x170)]}:void 0x0}}),_0xe10605&&(_0x3545e2[_0x46f01b(0x4ab)]||_0x3545e2[_0x46f01b(0x3fd)])&&(_0x15525e[_0x46f01b(0x3df)]={'fill':{'fillType':u[_0x46f01b(0x538)][_0x46f01b(0x53f)],'color':_0x46f01b(0x482)},'stroke':{'lineStrokeType':u[_0x46f01b(0x51c)][_0x46f01b(0x309)],'width':0x1,'color':_0x46f01b(0x2dd)},'shapeText':{'isHorizontal':!!_0x3545e2['horizontal']}});}let _0x5a0326=_0x5a59fc[_0x46f01b(0x561)](e['InsertShapeCommand']['id'],_0x15525e);return setTimeout(()=>{const _0x495313=_0x46f01b;_0x5a59fc[_0x495313(0x1ed)](se['id'],[{'unitId':_0x2e785f,'subUnitId':_0x43c710,'drawingId':_0x15525e[_0x495313(0x45d)]}]);},0xc8),_0x5a0326;}};t[_0x559cdc(0x552)][_0x559cdc(0x240)],t[_0x559cdc(0x552)][_0x559cdc(0x370)],t[_0x559cdc(0x552)][_0x559cdc(0x4ce)];function ce(_0x1d4167){const _0x3d49b4=_0x559cdc;let _0x267683=_0x1d4167['get'](t['IContextService']),_0x36dfeb=_0x1d4167['get'](t['ThemeService']);return{'id':s[_0x3d49b4(0x2e1)]['id'],'tooltip':_0x3d49b4(0x32e),'type':l[_0x3d49b4(0x3a4)][_0x3d49b4(0x46e)],'icon':_0x3d49b4(0x1c6),'selections':[{'label':{'name':l[_0x3d49b4(0x3fb)],'hoverable':!0x1,'selectable':!0x1}}],'value$':new i['Observable'](_0x173c7c=>{const _0x1499e0=_0x3d49b4;_0x173c7c[_0x1499e0(0x2c1)](_0x36dfeb[_0x1499e0(0x146)](_0x1499e0(0x253)));}),'hidden$':_0x267683[_0x3d49b4(0x325)](t[_0x3d49b4(0x402)])[_0x3d49b4(0x44b)]((0x0,i[_0x3d49b4(0x16d)])(_0x267683['getContextValue'](t[_0x3d49b4(0x402)])),(0x0,i[_0x3d49b4(0x408)])(_0x39f940=>!_0x39f940))};}function le(_0x5d584d){const _0x200c23=_0x559cdc;let _0x5c527a=_0x5d584d[_0x200c23(0x2b9)](t['IContextService']);return{'id':s[_0x200c23(0x36b)]['id'],'type':l[_0x200c23(0x3a4)][_0x200c23(0x246)],'title':_0x200c23(0x5db),'hidden$':_0x5c527a[_0x200c23(0x325)](t['FOCUSING_COMMON_DRAWINGS'])['pipe']((0x0,i['startWith'])(_0x5c527a['getContextValue'](t[_0x200c23(0x402)])),(0x0,i[_0x200c23(0x408)])(_0x130d48=>!_0x130d48))};}const ue=[{'label':_0x559cdc(0x216),'icon':_0x559cdc(0x3f7),'value':t[_0x559cdc(0x552)][_0x559cdc(0x240)]},{'label':_0x559cdc(0x53d),'icon':_0x559cdc(0x1aa),'value':t[_0x559cdc(0x552)][_0x559cdc(0x370)]},{'label':_0x559cdc(0x4e4),'icon':'RightJustifyingIcon','value':t[_0x559cdc(0x552)][_0x559cdc(0x4ce)]}];function de(_0x9acdb8){const _0xd26d54=_0x559cdc;var _0x5ab6e5;let _0x46ff4b=_0x9acdb8[_0xd26d54(0x2b9)](t[_0xd26d54(0x279)]),_0x938718=_0x9acdb8['get'](t[_0xd26d54(0x451)]),_0x4a556c=_0x9acdb8['get'](r[_0xd26d54(0x21f)]),_0x16ed93=_0x9acdb8[_0xd26d54(0x2b9)](C),_0x1e04b0=_0x9acdb8[_0xd26d54(0x2b9)](e[_0xd26d54(0x1bd)]),_0x19cbaa=t[_0xd26d54(0x552)][_0xd26d54(0x240)],_0x5a16a4=()=>{const _0x30078d=_0xd26d54;var _0x451be5;let _0x35416e=_0x4a556c[_0x30078d(0x49d)]()['filter'](_0x125514=>_0x125514[_0x30078d(0x3f1)]===t['DrawingTypeEnum'][_0x30078d(0x2d8)]);if(_0x35416e[_0x30078d(0x5ef)]!==0x1)return _0x19cbaa;let _0x4a71ab=_0x16ed93[_0x30078d(0x1dc)](),_0x17a545=(_0x4a71ab==null?void 0x0:_0x4a71ab[_0x30078d(0x180)])||_0x35416e[0x0][_0x30078d(0x180)],_0x5daf98=(_0x4a71ab==null?void 0x0:_0x4a71ab['subUnitId'])||_0x35416e[0x0]['subUnitId'],_0x5ec92b=(_0x4a71ab==null?void 0x0:_0x4a71ab[_0x30078d(0x45d)])||_0x35416e[0x0][_0x30078d(0x1fa)],_0x41d7a7=_0x1e04b0['getShapeModel'](_0x17a545,_0x5daf98,_0x5ec92b);if(!_0x41d7a7)return _0x19cbaa;let _0x149db6=_0x41d7a7[_0x30078d(0x15c)]();if(!_0x149db6||!(_0x30078d(0x406)in _0x149db6))return _0x19cbaa;let _0x550753=_0x149db6[_0x30078d(0x406)];return(_0x451be5=_0x550753==null?void 0x0:_0x550753['ha'])==null?_0x19cbaa:_0x451be5;};return{'id':E['id'],'icon':(_0x5ab6e5=ue[_0xd26d54(0x1c0)](_0x3aa384=>_0x3aa384[_0xd26d54(0x490)]===_0x19cbaa))==null?void 0x0:_0x5ab6e5[_0xd26d54(0x1f5)],'tooltip':_0xd26d54(0x41c),'type':l[_0xd26d54(0x3a4)][_0xd26d54(0x515)],'selections':ue,'value$':new i['Observable'](_0x505dfa=>{const _0x48dc4a=_0xd26d54;let _0x49fa0c=_0x46ff4b[_0x48dc4a(0x4cd)](_0x20bdc3=>{const _0x521760=_0x48dc4a;_0x20bdc3['id']===E['id']&&_0x505dfa[_0x521760(0x2c1)](_0x5a16a4());}),_0x546fc1=_0x16ed93[_0x48dc4a(0x3eb)][_0x48dc4a(0x174)](()=>{_0x505dfa['next'](_0x5a16a4());});return _0x505dfa[_0x48dc4a(0x2c1)](_0x5a16a4()),()=>{const _0x1de279=_0x48dc4a;_0x49fa0c[_0x1de279(0x327)](),_0x546fc1[_0x1de279(0x2f9)]();};}),'hidden$':_0x938718[_0xd26d54(0x325)](t[_0xd26d54(0x402)])[_0xd26d54(0x44b)]((0x0,i['map'])(_0x22f965=>!_0x22f965))};}const fe=[{'label':_0x559cdc(0x35f),'icon':_0x559cdc(0x40b),'value':t[_0x559cdc(0x448)][_0x559cdc(0x2fc)]},{'label':_0x559cdc(0x5e2),'icon':_0x559cdc(0x3ad),'value':t['VerticalAlign'][_0x559cdc(0x40a)]},{'label':_0x559cdc(0x432),'icon':_0x559cdc(0x595),'value':t[_0x559cdc(0x448)][_0x559cdc(0x245)]}];function pe(_0x13cd48){const _0x595d1f=_0x559cdc;var _0x4d897e;let _0x2a51ac=_0x13cd48['get'](t['ICommandService']),_0x14568e=_0x13cd48[_0x595d1f(0x2b9)](t[_0x595d1f(0x451)]),_0xd701d3=_0x13cd48[_0x595d1f(0x2b9)](r[_0x595d1f(0x21f)]),_0x519ffc=_0x13cd48[_0x595d1f(0x2b9)](C),_0x5f5613=_0x13cd48['get'](e[_0x595d1f(0x1bd)]),_0x5a7637=t[_0x595d1f(0x448)]['TOP'],_0x3c3232=()=>{const _0x5085e2=_0x595d1f;var _0x2d5828;let _0x9702a3=_0xd701d3['getFocusDrawings']()[_0x5085e2(0x583)](_0x5687ec=>_0x5687ec[_0x5085e2(0x3f1)]===t[_0x5085e2(0x19c)]['DRAWING_SHAPE']);if(_0x9702a3['length']!==0x1)return _0x5a7637;let _0x5284a7=_0x519ffc[_0x5085e2(0x1dc)](),_0x4087af=(_0x5284a7==null?void 0x0:_0x5284a7[_0x5085e2(0x180)])||_0x9702a3[0x0][_0x5085e2(0x180)],_0x33f698=(_0x5284a7==null?void 0x0:_0x5284a7[_0x5085e2(0x582)])||_0x9702a3[0x0]['subUnitId'],_0x225f7e=(_0x5284a7==null?void 0x0:_0x5284a7[_0x5085e2(0x45d)])||_0x9702a3[0x0][_0x5085e2(0x1fa)],_0x36208e=_0x5f5613['getShapeModel'](_0x4087af,_0x33f698,_0x225f7e);if(!_0x36208e)return _0x5a7637;let _0x46f498=_0x36208e['getShapeTextData']();if(!_0x46f498||!(_0x5085e2(0x406)in _0x46f498))return _0x5a7637;let _0xac6199=_0x46f498['dataModel'];return(_0x2d5828=_0xac6199==null?void 0x0:_0xac6199['va'])==null?_0x5a7637:_0x2d5828;};return{'id':A['id'],'icon':(_0x4d897e=fe['find'](_0x3bf7e6=>_0x3bf7e6[_0x595d1f(0x490)]===_0x5a7637))==null?void 0x0:_0x4d897e[_0x595d1f(0x1f5)],'tooltip':_0x595d1f(0x4fb),'type':l['MenuItemType'][_0x595d1f(0x515)],'selections':fe,'value$':new i[(_0x595d1f(0x43e))](_0x259c5f=>{const _0x2e0af0=_0x595d1f;let _0x28635d=_0x2a51ac[_0x2e0af0(0x4cd)](_0x1e2c7f=>{const _0x27e26b=_0x2e0af0;_0x1e2c7f['id']===A['id']&&_0x259c5f[_0x27e26b(0x2c1)](_0x3c3232());}),_0x5b440f=_0x519ffc[_0x2e0af0(0x3eb)][_0x2e0af0(0x174)](()=>{_0x259c5f['next'](_0x3c3232());});return _0x259c5f[_0x2e0af0(0x2c1)](_0x3c3232()),()=>{const _0xcc5a26=_0x2e0af0;_0x28635d[_0xcc5a26(0x327)](),_0x5b440f[_0xcc5a26(0x2f9)]();};}),'hidden$':_0x14568e[_0x595d1f(0x325)](t[_0x595d1f(0x402)])[_0x595d1f(0x44b)]((0x0,i[_0x595d1f(0x408)])(_0x5d256e=>!_0x5d256e))};}let H=class extends t['Disposable']{constructor(_0x1611b1,_0x1d4111){const _0x305efa=_0x559cdc;super(),this[_0x305efa(0x374)]=_0x1611b1,this[_0x305efa(0x2e9)]=_0x1d4111,this[_0x305efa(0x550)](),this[_0x305efa(0x374)][_0x305efa(0x4b6)](!0x0),this[_0x305efa(0x491)]({'dispose':()=>this[_0x305efa(0x374)][_0x305efa(0x4b6)](!0x1)});}[_0x559cdc(0x550)](){const _0x98ddd4=_0x559cdc;let _0x12c465=this[_0x98ddd4(0x374)],_0x4e54a8=new Map(),_0x3b36f6=_0x12c465[_0x98ddd4(0x498)]((_0x2d389c,_0x1bfcaa,_0x2eed4b,_0x3b0aed,_0x2913a2)=>{const _0x1e28a9=_0x98ddd4;let _0x54978e=_0x1bfcaa;if(_0x54978e===u[_0x1e28a9(0x4db)][_0x1e28a9(0x3a3)]||_0x1bfcaa===_0x1e28a9(0x3f4))return!0x1;try{let _0x135a2e=_0x4e54a8[_0x1e28a9(0x2b9)](_0x1bfcaa);return _0x135a2e||(_0x135a2e=new u[(_0x1e28a9(0x52b))](_0x54978e,'clip-'+_0x1bfcaa),_0x4e54a8[_0x1e28a9(0x546)](_0x1bfcaa,_0x135a2e)),_0x2913a2&&_0x135a2e['setShapeData']({'adjustValues':_0x2913a2},!0x0),_0x135a2e[_0x1e28a9(0x202)]({'width':_0x2eed4b,'height':_0x3b0aed}),_0x135a2e['buildClipPath'](_0x2d389c,{'left':0x0,'top':0x0,'width':_0x2eed4b,'height':_0x3b0aed});}catch{return!0x1;}});this[_0x98ddd4(0x491)](_0x3b36f6),this[_0x98ddd4(0x491)]({'dispose':()=>_0x4e54a8['clear']()});}[_0x559cdc(0x446)](_0x162c80,_0x18af37,_0xcb048,_0x15c135,_0x4cb9c7){const _0x35fc71=_0x559cdc;let _0xdd3227=this['_drawingManagerService'][_0x35fc71(0x4f7)](_0x162c80,_0x18af37);if(!_0xdd3227[_0xcb048])return;let _0x46d7f2={..._0xdd3227[_0xcb048],'prstGeom':_0x15c135,'adjustValues':_0x4cb9c7};this[_0x35fc71(0x2e9)][_0x35fc71(0x2c0)]([_0x46d7f2]);}};H=R([L(0x0,(0x0,t['Inject'])(d[_0x559cdc(0x16c)])),L(0x1,(0x0,t[_0x559cdc(0x4fa)])(a[_0x559cdc(0x470)]))],H);const me=[{'group':_0x559cdc(0x262),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x183)],'icon':_0x559cdc(0x2d5),'name':_0x559cdc(0x175)},{'group':_0x559cdc(0x262),'type':u[_0x559cdc(0x4db)]['StraightConnector1'],'icon':'ShapeStraightConnector1Icon','name':'sheets-shape-ui.shape.type.straight-connector1','endArrow':!0x0},{'group':_0x559cdc(0x262),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x1bf)],'icon':_0x559cdc(0x223),'name':_0x559cdc(0x25b),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x559cdc(0x262),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x3b1)],'icon':_0x559cdc(0x49c),'name':'sheets-shape-ui.shape.type.bent-connector3'},{'group':'line','type':u[_0x559cdc(0x4db)][_0x559cdc(0x3b1)],'icon':'ShapeBentConnector3Arrow1Icon','name':'sheets-shape-ui.shape.type.bent-connector3-arrow1','endArrow':!0x0},{'group':'line','type':u[_0x559cdc(0x4db)][_0x559cdc(0x3b1)],'icon':_0x559cdc(0x39c),'name':_0x559cdc(0x59b),'endArrow':!0x0,'startArrow':!0x0},{'group':'line','type':u[_0x559cdc(0x4db)]['CurvedConnector3'],'icon':'ShapeCurvedConnector3Icon','name':_0x559cdc(0x4ef)},{'group':_0x559cdc(0x262),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x3f0)],'icon':_0x559cdc(0x46f),'name':_0x559cdc(0x24b),'endArrow':!0x0},{'group':_0x559cdc(0x262),'type':u[_0x559cdc(0x4db)]['CurvedConnector3'],'icon':_0x559cdc(0x22d),'name':_0x559cdc(0x18b),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x559cdc(0x454),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x26d)],'icon':_0x559cdc(0x2bd),'name':_0x559cdc(0x59e)},{'group':'rectangle','type':u[_0x559cdc(0x4db)][_0x559cdc(0x4bf)],'icon':'ShapeRoundRectIcon','name':_0x559cdc(0x31b)},{'group':_0x559cdc(0x454),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x460)],'icon':_0x559cdc(0x2b2),'name':_0x559cdc(0x4cc)},{'group':'rectangle','type':u[_0x559cdc(0x4db)][_0x559cdc(0x238)],'icon':_0x559cdc(0x28c),'name':_0x559cdc(0x204)},{'group':_0x559cdc(0x454),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x312)],'icon':'ShapeSnip2DiagRectIcon','name':_0x559cdc(0x28f)},{'group':_0x559cdc(0x454),'type':u[_0x559cdc(0x4db)]['SnipRoundRect'],'icon':_0x559cdc(0x523),'name':_0x559cdc(0x4f4)},{'group':_0x559cdc(0x454),'type':u[_0x559cdc(0x4db)]['Round1Rect'],'icon':'ShapeRound1RectIcon','name':_0x559cdc(0x43d)},{'group':'rectangle','type':u[_0x559cdc(0x4db)][_0x559cdc(0x5d4)],'icon':'ShapeRound2SameRectIcon','name':_0x559cdc(0x537)},{'group':_0x559cdc(0x454),'type':u['ShapeTypeEnum'][_0x559cdc(0x503)],'icon':_0x559cdc(0x5a4),'name':_0x559cdc(0x3dd)},{'group':_0x559cdc(0x2d9),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x26d)],'icon':_0x559cdc(0x32b),'name':'sheets-shape-ui.shape.type.rect-textbox-horizontal','horizontal':!0x0},{'group':_0x559cdc(0x2d9),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x26d)],'icon':_0x559cdc(0x593),'name':_0x559cdc(0x48f),'vertical':!0x0},{'group':'basicShape','type':u[_0x559cdc(0x4db)][_0x559cdc(0x3c7)],'icon':'ShapeEllipseIcon','name':_0x559cdc(0x3ae)},{'group':_0x559cdc(0x2d9),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x5ea)],'icon':'ShapeTriangleIcon','name':_0x559cdc(0x4c8)},{'group':_0x559cdc(0x2d9),'type':u['ShapeTypeEnum'][_0x559cdc(0x427)],'icon':_0x559cdc(0x1c2),'name':_0x559cdc(0x2ca)},{'group':'basicShape','type':u['ShapeTypeEnum'][_0x559cdc(0x1db)],'icon':_0x559cdc(0x274),'name':_0x559cdc(0x194)},{'group':_0x559cdc(0x2d9),'type':u['ShapeTypeEnum'][_0x559cdc(0x53a)],'icon':_0x559cdc(0x423),'name':'sheets-shape-ui.shape.type.trapezoid'},{'group':_0x559cdc(0x2d9),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x41a)],'icon':_0x559cdc(0x4ec),'name':'sheets-shape-ui.shape.type.diamond'},{'group':_0x559cdc(0x2d9),'type':u['ShapeTypeEnum'][_0x559cdc(0x350)],'icon':_0x559cdc(0x2df),'name':_0x559cdc(0x48a)},{'group':_0x559cdc(0x2d9),'type':u[_0x559cdc(0x4db)]['Hexagon'],'icon':_0x559cdc(0x5b6),'name':_0x559cdc(0x3e4)},{'group':_0x559cdc(0x2d9),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x364)],'icon':'ShapeHeptagonIcon','name':_0x559cdc(0x16b)},{'group':'basicShape','type':u[_0x559cdc(0x4db)][_0x559cdc(0x237)],'icon':_0x559cdc(0x3ca),'name':_0x559cdc(0x2ef)},{'group':_0x559cdc(0x2d9),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x1ca)],'icon':_0x559cdc(0x168),'name':_0x559cdc(0x40e)},{'group':_0x559cdc(0x2d9),'type':u['ShapeTypeEnum']['Dodecagon'],'icon':_0x559cdc(0x37d),'name':_0x559cdc(0x27f)},{'group':'basicShape','type':u['ShapeTypeEnum'][_0x559cdc(0x3d5)],'icon':_0x559cdc(0x5eb),'name':_0x559cdc(0x5d8)},{'group':'basicShape','type':u[_0x559cdc(0x4db)]['Chord'],'icon':_0x559cdc(0x18c),'name':_0x559cdc(0x56f)},{'group':_0x559cdc(0x2d9),'type':u[_0x559cdc(0x4db)]['Teardrop'],'icon':'ShapeTeardropIcon','name':_0x559cdc(0x430)},{'group':_0x559cdc(0x2d9),'type':u[_0x559cdc(0x4db)]['Frame'],'icon':_0x559cdc(0x554),'name':_0x559cdc(0x48e)},{'group':_0x559cdc(0x2d9),'type':u['ShapeTypeEnum'][_0x559cdc(0x56a)],'icon':'ShapeHalfFrameIcon','name':_0x559cdc(0x4e1)},{'group':_0x559cdc(0x2d9),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x256)],'icon':_0x559cdc(0x4d2),'name':_0x559cdc(0x47f)},{'group':_0x559cdc(0x2d9),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x278)],'icon':_0x559cdc(0x36a),'name':_0x559cdc(0x563)},{'group':_0x559cdc(0x2d9),'type':u[_0x559cdc(0x4db)]['Plus'],'icon':'ShapePlusIcon','name':_0x559cdc(0x1ec)},{'group':_0x559cdc(0x2d9),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x389)],'icon':'ShapePlaqueIcon','name':_0x559cdc(0x400)},{'group':_0x559cdc(0x2d9),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x5e8)],'icon':_0x559cdc(0x1f2),'name':'sheets-shape-ui.shape.type.can'},{'group':_0x559cdc(0x2d9),'type':u[_0x559cdc(0x4db)]['Cube'],'icon':_0x559cdc(0x59c),'name':_0x559cdc(0x4ba)},{'group':_0x559cdc(0x2d9),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x566)],'icon':_0x559cdc(0x4dd),'name':'sheets-shape-ui.shape.type.bevel'},{'group':_0x559cdc(0x2d9),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x4a5)],'icon':_0x559cdc(0x308),'name':'sheets-shape-ui.shape.type.donut'},{'group':_0x559cdc(0x2d9),'type':u[_0x559cdc(0x4db)]['NoSmoking'],'icon':_0x559cdc(0x530),'name':_0x559cdc(0x46a)},{'group':_0x559cdc(0x2d9),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x372)],'icon':_0x559cdc(0x1f7),'name':_0x559cdc(0x556)},{'group':_0x559cdc(0x2d9),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x56d)],'icon':_0x559cdc(0x3bd),'name':_0x559cdc(0x3d1)},{'group':_0x559cdc(0x2d9),'type':u[_0x559cdc(0x4db)]['SmileyFace'],'icon':'ShapeSmileyFaceIcon','name':_0x559cdc(0x19d)},{'group':_0x559cdc(0x2d9),'type':u[_0x559cdc(0x4db)]['Heart'],'icon':_0x559cdc(0x1a2),'name':_0x559cdc(0x18a)},{'group':_0x559cdc(0x2d9),'type':u[_0x559cdc(0x4db)]['LightningBolt'],'icon':_0x559cdc(0x365),'name':_0x559cdc(0x34b)},{'group':'basicShape','type':u[_0x559cdc(0x4db)][_0x559cdc(0x373)],'icon':_0x559cdc(0x1a1),'name':_0x559cdc(0x5df)},{'group':_0x559cdc(0x2d9),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x1d8)],'icon':_0x559cdc(0x2a9),'name':_0x559cdc(0x21e)},{'group':_0x559cdc(0x2d9),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x20c)],'icon':_0x559cdc(0x417),'name':'sheets-shape-ui.shape.type.cloud'},{'group':'basicShape','type':u[_0x559cdc(0x4db)][_0x559cdc(0x28d)],'icon':_0x559cdc(0x2e2),'name':_0x559cdc(0x54d)},{'group':_0x559cdc(0x2d9),'type':u['ShapeTypeEnum'][_0x559cdc(0x192)],'icon':_0x559cdc(0x3ab),'name':_0x559cdc(0x41e)},{'group':'basicShape','type':u[_0x559cdc(0x4db)]['BracePair'],'icon':'ShapeBracePairIcon','name':'sheets-shape-ui.shape.type.brace-pair'},{'group':_0x559cdc(0x2d9),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x574)],'icon':_0x559cdc(0x22f),'name':_0x559cdc(0x2c6)},{'group':_0x559cdc(0x2d9),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x225)],'icon':'ShapeRightBracketIcon','name':_0x559cdc(0x354)},{'group':_0x559cdc(0x2d9),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x56e)],'icon':_0x559cdc(0x1b2),'name':_0x559cdc(0x46b)},{'group':_0x559cdc(0x2d9),'type':u[_0x559cdc(0x4db)]['RightBrace'],'icon':_0x559cdc(0x1fb),'name':_0x559cdc(0x231)},{'group':_0x559cdc(0x5d5),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x4e3)],'icon':_0x559cdc(0x2d7),'name':'sheets-shape-ui.shape.type.right-arrow'},{'group':_0x559cdc(0x5d5),'type':u[_0x559cdc(0x4db)]['LeftArrow'],'icon':'ShapeLeftArrowIcon','name':_0x559cdc(0x173)},{'group':_0x559cdc(0x5d5),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x1d7)],'icon':_0x559cdc(0x31e),'name':_0x559cdc(0x5c1)},{'group':_0x559cdc(0x5d5),'type':u['ShapeTypeEnum'][_0x559cdc(0x1bc)],'icon':_0x559cdc(0x2be),'name':_0x559cdc(0x2fd)},{'group':_0x559cdc(0x5d5),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x22c)],'icon':_0x559cdc(0x596),'name':'sheets-shape-ui.shape.type.left-right-arrow'},{'group':'blockArrow','type':u[_0x559cdc(0x4db)][_0x559cdc(0x157)],'icon':_0x559cdc(0x42e),'name':_0x559cdc(0x47e)},{'group':_0x559cdc(0x5d5),'type':u['ShapeTypeEnum'][_0x559cdc(0x480)],'icon':_0x559cdc(0x3c9),'name':_0x559cdc(0x349)},{'group':_0x559cdc(0x5d5),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x5bd)],'icon':_0x559cdc(0x3e7),'name':_0x559cdc(0x2f7)},{'group':'blockArrow','type':u['ShapeTypeEnum']['BentArrow'],'icon':_0x559cdc(0x559),'name':_0x559cdc(0x38f)},{'group':'blockArrow','type':u['ShapeTypeEnum'][_0x559cdc(0x1d2)],'icon':_0x559cdc(0x2c4),'name':'sheets-shape-ui.shape.type.uturn-arrow'},{'group':'blockArrow','type':u[_0x559cdc(0x4db)][_0x559cdc(0x19a)],'icon':'ShapeLeftUpArrowIcon','name':'sheets-shape-ui.shape.type.left-up-arrow'},{'group':_0x559cdc(0x5d5),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x17e)],'icon':_0x559cdc(0x42c),'name':_0x559cdc(0x2aa)},{'group':_0x559cdc(0x5d5),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x22e)],'icon':_0x559cdc(0x1cc),'name':_0x559cdc(0x50c)},{'group':_0x559cdc(0x5d5),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x2ff)],'icon':'ShapeCurvedLeftArrowIcon','name':'sheets-shape-ui.shape.type.curved-left-arrow'},{'group':_0x559cdc(0x5d5),'type':u['ShapeTypeEnum'][_0x559cdc(0x2de)],'icon':'ShapeCurvedUpArrowIcon','name':_0x559cdc(0x562)},{'group':_0x559cdc(0x5d5),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x30d)],'icon':_0x559cdc(0x169),'name':_0x559cdc(0x5aa)},{'group':_0x559cdc(0x5d5),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x266)],'icon':_0x559cdc(0x486),'name':_0x559cdc(0x386)},{'group':_0x559cdc(0x5d5),'type':u[_0x559cdc(0x4db)]['NotchedRightArrow'],'icon':_0x559cdc(0x339),'name':_0x559cdc(0x320)},{'group':_0x559cdc(0x5d5),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x22b)],'icon':'ShapeHomePlateIcon','name':'sheets-shape-ui.shape.type.home-plate'},{'group':_0x559cdc(0x5d5),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x5e5)],'icon':_0x559cdc(0x568),'name':_0x559cdc(0x4b4)},{'group':_0x559cdc(0x5d5),'type':u['ShapeTypeEnum'][_0x559cdc(0x431)],'icon':_0x559cdc(0x187),'name':'sheets-shape-ui.shape.type.right-arrow-callout'},{'group':'blockArrow','type':u[_0x559cdc(0x4db)][_0x559cdc(0x3da)],'icon':_0x559cdc(0x33f),'name':_0x559cdc(0x584)},{'group':_0x559cdc(0x5d5),'type':u['ShapeTypeEnum']['LeftArrowCallout'],'icon':_0x559cdc(0x341),'name':'sheets-shape-ui.shape.type.left-arrow-callout'},{'group':_0x559cdc(0x5d5),'type':u['ShapeTypeEnum'][_0x559cdc(0x1df)],'icon':'ShapeUpArrowCalloutIcon','name':_0x559cdc(0x3d0)},{'group':'blockArrow','type':u[_0x559cdc(0x4db)][_0x559cdc(0x569)],'icon':_0x559cdc(0x434),'name':_0x559cdc(0x57d)},{'group':_0x559cdc(0x5d5),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x4c9)],'icon':'ShapeQuadArrowCalloutIcon','name':_0x559cdc(0x2e7)},{'group':_0x559cdc(0x5d5),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x4f0)],'icon':_0x559cdc(0x5d9),'name':'sheets-shape-ui.shape.type.circular-arrow'},{'group':'equationShape','type':u[_0x559cdc(0x4db)]['MathPlus'],'icon':_0x559cdc(0x1e8),'name':_0x559cdc(0x2c8)},{'group':_0x559cdc(0x5b2),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x4df)],'icon':_0x559cdc(0x45f),'name':_0x559cdc(0x407)},{'group':'equationShape','type':u[_0x559cdc(0x4db)][_0x559cdc(0x3ce)],'icon':_0x559cdc(0x287),'name':_0x559cdc(0x489)},{'group':_0x559cdc(0x5b2),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x54c)],'icon':_0x559cdc(0x2d4),'name':'sheets-shape-ui.shape.type.math-divide'},{'group':_0x559cdc(0x5b2),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x4b0)],'icon':_0x559cdc(0x5dc),'name':_0x559cdc(0x189)},{'group':_0x559cdc(0x5b2),'type':u['ShapeTypeEnum'][_0x559cdc(0x15f)],'icon':_0x559cdc(0x5c4),'name':'sheets-shape-ui.shape.type.math-not-equal'},{'group':_0x559cdc(0x4e2),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x5de)],'icon':_0x559cdc(0x2dc),'name':_0x559cdc(0x35c)},{'group':_0x559cdc(0x4e2),'type':u['ShapeTypeEnum'][_0x559cdc(0x29c)],'icon':'ShapeFlowChartAlternateProcessIcon','name':'sheets-shape-ui.shape.type.flow-chart-alternate-process'},{'group':_0x559cdc(0x4e2),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x508)],'icon':_0x559cdc(0x3c8),'name':_0x559cdc(0x236)},{'group':_0x559cdc(0x4e2),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x210)],'icon':_0x559cdc(0x219),'name':_0x559cdc(0x285)},{'group':'flowchart','type':u['ShapeTypeEnum'][_0x559cdc(0x449)],'icon':_0x559cdc(0x315),'name':_0x559cdc(0x4f2)},{'group':_0x559cdc(0x4e2),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x30e)],'icon':_0x559cdc(0x418),'name':_0x559cdc(0x1b9)},{'group':'flowchart','type':u[_0x559cdc(0x4db)][_0x559cdc(0x2c2)],'icon':_0x559cdc(0x3d4),'name':_0x559cdc(0x25f)},{'group':_0x559cdc(0x4e2),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x5a7)],'icon':_0x559cdc(0x55a),'name':_0x559cdc(0x4ed)},{'group':_0x559cdc(0x4e2),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x376)],'icon':'ShapeFlowChartTerminatorIcon','name':_0x559cdc(0x4eb)},{'group':_0x559cdc(0x4e2),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x5c7)],'icon':_0x559cdc(0x1c3),'name':_0x559cdc(0x3ee)},{'group':_0x559cdc(0x4e2),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x29e)],'icon':_0x559cdc(0x3ef),'name':_0x559cdc(0x395)},{'group':_0x559cdc(0x4e2),'type':u['ShapeTypeEnum'][_0x559cdc(0x1ea)],'icon':'ShapeFlowChartManualOperationIcon','name':_0x559cdc(0x32a)},{'group':_0x559cdc(0x4e2),'type':u['ShapeTypeEnum']['FlowchartConnector'],'icon':_0x559cdc(0x409),'name':_0x559cdc(0x579)},{'group':_0x559cdc(0x4e2),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x1f8)],'icon':_0x559cdc(0x260),'name':_0x559cdc(0x4f6)},{'group':_0x559cdc(0x4e2),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x1e9)],'icon':'ShapeFlowChartPunchedCardIcon','name':_0x559cdc(0x30c)},{'group':_0x559cdc(0x4e2),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x5c2)],'icon':'ShapeFlowChartPunchedTapeIcon','name':'sheets-shape-ui.shape.type.flow-chart-punched-tape'},{'group':_0x559cdc(0x4e2),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x5c6)],'icon':_0x559cdc(0x55d),'name':_0x559cdc(0x20d)},{'group':_0x559cdc(0x4e2),'type':u[_0x559cdc(0x4db)]['FlowchartOr'],'icon':_0x559cdc(0x5c3),'name':_0x559cdc(0x466)},{'group':_0x559cdc(0x4e2),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x3a6)],'icon':_0x559cdc(0x1dd),'name':'sheets-shape-ui.shape.type.flow-chart-collate'},{'group':_0x559cdc(0x4e2),'type':u[_0x559cdc(0x4db)]['FlowchartSort'],'icon':_0x559cdc(0x2b3),'name':_0x559cdc(0x13f)},{'group':_0x559cdc(0x4e2),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x32d)],'icon':_0x559cdc(0x58c),'name':_0x559cdc(0x33c)},{'group':_0x559cdc(0x4e2),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x3a2)],'icon':'ShapeFlowChartMergeIcon','name':_0x559cdc(0x512)},{'group':_0x559cdc(0x4e2),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x153)],'icon':_0x559cdc(0x551),'name':_0x559cdc(0x37f)},{'group':_0x559cdc(0x4e2),'type':u[_0x559cdc(0x4db)]['FlowchartDelay'],'icon':'ShapeFlowChartDelayIcon','name':_0x559cdc(0x232)},{'group':_0x559cdc(0x4e2),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x142)],'icon':_0x559cdc(0x49e),'name':_0x559cdc(0x464)},{'group':_0x559cdc(0x4e2),'type':u[_0x559cdc(0x4db)]['FlowchartMagneticDisk'],'icon':_0x559cdc(0x4d9),'name':'sheets-shape-ui.shape.type.flow-chart-magnetic-disk'},{'group':_0x559cdc(0x4e2),'type':u['ShapeTypeEnum'][_0x559cdc(0x599)],'icon':_0x559cdc(0x164),'name':_0x559cdc(0x188)},{'group':'flowchart','type':u[_0x559cdc(0x4db)][_0x559cdc(0x220)],'icon':'ShapeFlowChartDisplayIcon','name':_0x559cdc(0x226)},{'group':_0x559cdc(0x2a8),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x30b)],'icon':'ShapeIrregularSeal1Icon','name':'sheets-shape-ui.shape.type.irregular-seal1'},{'group':_0x559cdc(0x2a8),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x1d4)],'icon':'ShapeIrregularSeal2Icon','name':_0x559cdc(0x2f0)},{'group':_0x559cdc(0x2a8),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x5ed)],'icon':_0x559cdc(0x3cb),'name':_0x559cdc(0x457)},{'group':'starAndBanner','type':u['ShapeTypeEnum'][_0x559cdc(0x2ce)],'icon':'ShapeStar5Icon','name':_0x559cdc(0x542)},{'group':_0x559cdc(0x2a8),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x55c)],'icon':_0x559cdc(0x5a0),'name':_0x559cdc(0x5a2)},{'group':_0x559cdc(0x2a8),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x235)],'icon':_0x559cdc(0x33b),'name':'sheets-shape-ui.shape.type.star7'},{'group':'starAndBanner','type':u[_0x559cdc(0x4db)][_0x559cdc(0x3e3)],'icon':_0x559cdc(0x2af),'name':'sheets-shape-ui.shape.type.star8'},{'group':_0x559cdc(0x2a8),'type':u['ShapeTypeEnum'][_0x559cdc(0x181)],'icon':'ShapeStar10Icon','name':'sheets-shape-ui.shape.type.star10'},{'group':_0x559cdc(0x2a8),'type':u[_0x559cdc(0x4db)]['Star12'],'icon':'ShapeStar12Icon','name':_0x559cdc(0x2b6)},{'group':_0x559cdc(0x2a8),'type':u['ShapeTypeEnum']['Star16'],'icon':_0x559cdc(0x4aa),'name':_0x559cdc(0x1c7)},{'group':_0x559cdc(0x2a8),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x590)],'icon':_0x559cdc(0x3d7),'name':'sheets-shape-ui.shape.type.star24'},{'group':'starAndBanner','type':u['ShapeTypeEnum'][_0x559cdc(0x243)],'icon':_0x559cdc(0x171),'name':'sheets-shape-ui.shape.type.star32'},{'group':'starAndBanner','type':u['ShapeTypeEnum'][_0x559cdc(0x387)],'icon':_0x559cdc(0x511),'name':_0x559cdc(0x1e1)},{'group':_0x559cdc(0x2a8),'type':u['ShapeTypeEnum'][_0x559cdc(0x362)],'icon':_0x559cdc(0x3d3),'name':_0x559cdc(0x469)},{'group':'starAndBanner','type':u[_0x559cdc(0x4db)]['EllipseRibbon2'],'icon':_0x559cdc(0x474),'name':_0x559cdc(0x185)},{'group':'starAndBanner','type':u[_0x559cdc(0x4db)][_0x559cdc(0x3e6)],'icon':_0x559cdc(0x4cb),'name':'sheets-shape-ui.shape.type.ellipse-ribbon'},{'group':_0x559cdc(0x2a8),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x3f3)],'icon':_0x559cdc(0x3cc),'name':_0x559cdc(0x324)},{'group':_0x559cdc(0x2a8),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x5bf)],'icon':_0x559cdc(0x3f9),'name':'sheets-shape-ui.shape.type.horizontal-scroll'},{'group':_0x559cdc(0x2a8),'type':u[_0x559cdc(0x4db)]['Wave'],'icon':_0x559cdc(0x27a),'name':_0x559cdc(0x348)},{'group':_0x559cdc(0x2a8),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x3a1)],'icon':_0x559cdc(0x37c),'name':_0x559cdc(0x338)},{'group':'callout','type':u[_0x559cdc(0x4db)][_0x559cdc(0x35b)],'icon':'ShapeWedgeRectCalloutIcon','name':'sheets-shape-ui.shape.type.wedge-rect-callout'},{'group':_0x559cdc(0x3b7),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x351)],'icon':_0x559cdc(0x23b),'name':_0x559cdc(0x211)},{'group':_0x559cdc(0x3b7),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x52c)],'icon':_0x559cdc(0x288),'name':_0x559cdc(0x2fa)},{'group':_0x559cdc(0x3b7),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x479)],'icon':_0x559cdc(0x17a),'name':_0x559cdc(0x52e)},{'group':_0x559cdc(0x3b7),'type':u['ShapeTypeEnum'][_0x559cdc(0x207)],'icon':_0x559cdc(0x3b6),'name':_0x559cdc(0x1fd)},{'group':_0x559cdc(0x3b7),'type':u['ShapeTypeEnum'][_0x559cdc(0x2d1)],'icon':_0x559cdc(0x484),'name':'sheets-shape-ui.shape.type.border-callout2'},{'group':_0x559cdc(0x3b7),'type':u['ShapeTypeEnum'][_0x559cdc(0x176)],'icon':_0x559cdc(0x3af),'name':_0x559cdc(0x14e)},{'group':'callout','type':u[_0x559cdc(0x4db)][_0x559cdc(0x518)],'icon':_0x559cdc(0x34c),'name':_0x559cdc(0x303)},{'group':_0x559cdc(0x3b7),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x456)],'icon':_0x559cdc(0x163),'name':_0x559cdc(0x2d2)},{'group':_0x559cdc(0x3b7),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x44e)],'icon':_0x559cdc(0x2e8),'name':_0x559cdc(0x5ca)},{'group':_0x559cdc(0x3b7),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x462)],'icon':_0x559cdc(0x276),'name':_0x559cdc(0x3e2)},{'group':_0x559cdc(0x3b7),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x385)],'icon':_0x559cdc(0x56c),'name':'sheets-shape-ui.shape.type.callout2'},{'group':_0x559cdc(0x3b7),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x46d)],'icon':_0x559cdc(0x5da),'name':_0x559cdc(0x3fe)},{'group':_0x559cdc(0x3b7),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x2a2)],'icon':_0x559cdc(0x31f),'name':'sheets-shape-ui.shape.type.accent-border-callout1'},{'group':'callout','type':u[_0x559cdc(0x4db)]['AccentBorderCallout2'],'icon':'ShapeAccentBorderCallout2Icon','name':_0x559cdc(0x2b1)},{'group':'callout','type':u[_0x559cdc(0x4db)][_0x559cdc(0x47c)],'icon':_0x559cdc(0x5d7),'name':_0x559cdc(0x476)},{'group':_0x559cdc(0x1e6),'type':u[_0x559cdc(0x4db)]['LeftCircularArrow'],'icon':'ShapeLeftCircularArrowIcon','name':_0x559cdc(0x3a9)},{'group':_0x559cdc(0x1e6),'type':u[_0x559cdc(0x4db)]['LeftRightCircularArrow'],'icon':_0x559cdc(0x353),'name':_0x559cdc(0x492)},{'group':_0x559cdc(0x1e6),'type':u['ShapeTypeEnum'][_0x559cdc(0x1b7)],'icon':_0x559cdc(0x5ba),'name':_0x559cdc(0x5d1)},{'group':_0x559cdc(0x1e6),'type':u['ShapeTypeEnum'][_0x559cdc(0x521)],'icon':_0x559cdc(0x3e5),'name':'sheets-shape-ui.shape.type.left-right-ribbon'},{'group':_0x559cdc(0x1e6),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x3b9)],'icon':_0x559cdc(0x50f),'name':_0x559cdc(0x147)},{'group':'other','type':u[_0x559cdc(0x4db)][_0x559cdc(0x1f6)],'icon':_0x559cdc(0x4cf),'name':_0x559cdc(0x43f)},{'group':_0x559cdc(0x1e6),'type':u['ShapeTypeEnum']['Gear6'],'icon':'ShapeGear6Icon','name':_0x559cdc(0x360)},{'group':'other','type':u[_0x559cdc(0x4db)][_0x559cdc(0x261)],'icon':_0x559cdc(0x2da),'name':_0x559cdc(0x1e3)},{'group':_0x559cdc(0x1e6),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x200)],'icon':_0x559cdc(0x318),'name':'sheets-shape-ui.shape.type.corner-tabs'},{'group':'other','type':u[_0x559cdc(0x4db)][_0x559cdc(0x258)],'icon':_0x559cdc(0x201),'name':_0x559cdc(0x2ee)},{'group':_0x559cdc(0x1e6),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x49b)],'icon':_0x559cdc(0x42a),'name':_0x559cdc(0x519)},{'group':'other','type':u[_0x559cdc(0x4db)][_0x559cdc(0x1e7)],'icon':_0x559cdc(0x441),'name':'sheets-shape-ui.shape.type.action-button-beginning'},{'group':'other','type':u['ShapeTypeEnum'][_0x559cdc(0x3a8)],'icon':'ShapeActionButtonEndIcon','name':_0x559cdc(0x378)},{'group':_0x559cdc(0x1e6),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x437)],'icon':_0x559cdc(0x4f8),'name':_0x559cdc(0x45c)},{'group':_0x559cdc(0x1e6),'type':u[_0x559cdc(0x4db)]['ActionButtonInformation'],'icon':'ShapeActionButtonInformationIcon','name':_0x559cdc(0x5cb)},{'group':_0x559cdc(0x1e6),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x452)],'icon':_0x559cdc(0x334),'name':_0x559cdc(0x148)},{'group':_0x559cdc(0x1e6),'type':u[_0x559cdc(0x4db)]['ActionButtonMovie'],'icon':'ShapeActionButtonMovieIcon','name':_0x559cdc(0x209)},{'group':_0x559cdc(0x1e6),'type':u['ShapeTypeEnum'][_0x559cdc(0x371)],'icon':_0x559cdc(0x5d2),'name':_0x559cdc(0x48c)},{'group':_0x559cdc(0x1e6),'type':u['ShapeTypeEnum'][_0x559cdc(0x4da)],'icon':'ShapeActionButtonSoundIcon','name':_0x559cdc(0x29f)},{'group':_0x559cdc(0x1e6),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x21b)],'icon':_0x559cdc(0x382),'name':_0x559cdc(0x32f)},{'group':_0x559cdc(0x1e6),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x3b2)],'icon':'ShapeActionButtonBlankIcon','name':'sheets-shape-ui.shape.type.action-button-blank'},{'group':'other','type':u[_0x559cdc(0x4db)]['ChartPlus'],'icon':_0x559cdc(0x158),'name':_0x559cdc(0x1ac)},{'group':'other','type':u[_0x559cdc(0x4db)]['ChartStar'],'icon':_0x559cdc(0x40d),'name':_0x559cdc(0x2db)},{'group':_0x559cdc(0x1e6),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x3de)],'icon':_0x559cdc(0x16f),'name':'sheets-shape-ui.shape.type.chart-x'},{'group':_0x559cdc(0x1e6),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x4d5)],'icon':_0x559cdc(0x1da),'name':_0x559cdc(0x182)},{'group':_0x559cdc(0x1e6),'type':u[_0x559cdc(0x4db)]['LineInv'],'icon':'ShapeLineInvIcon','name':'sheets-shape-ui.shape.type.line-inv'},{'group':_0x559cdc(0x1e6),'type':u[_0x559cdc(0x4db)][_0x559cdc(0x329)],'icon':_0x559cdc(0x570),'name':_0x559cdc(0x255)},{'group':_0x559cdc(0x1e6),'type':u['ShapeTypeEnum'][_0x559cdc(0x494)],'icon':_0x559cdc(0x392),'name':_0x559cdc(0x3c5)},{'group':_0x559cdc(0x1e6),'type':u['ShapeTypeEnum'][_0x559cdc(0x154)],'icon':_0x559cdc(0x2f3),'name':'sheets-shape-ui.shape.type.up-down-arrow-callout'},{'group':'other','type':u['ShapeTypeEnum']['NonIsoscelesTrapezoid'],'icon':_0x559cdc(0x535),'name':_0x559cdc(0x5ee)}],he=_0x559cdc(0x497);function ge({onShapeClick:_0x16b02b,excludeGroups:_0x350980}){const _0x25990d=_0x559cdc;let _0x4bfb03=(0x0,l[_0x25990d(0x3a5)])(t[_0x25990d(0x359)]),_0xf19145=(0x0,l[_0x25990d(0x3a5)])(l[_0x25990d(0x282)]),_0x297525=(_0x350980?me[_0x25990d(0x583)](_0x30335e=>!_0x350980[_0x25990d(0x299)](_0x30335e[_0x25990d(0x527)])):me)[_0x25990d(0x528)]((_0x40dee4,_0x139b04)=>(_0x40dee4[_0x139b04['group']]||(_0x40dee4[_0x139b04[_0x25990d(0x527)]]=[]),_0x40dee4[_0x139b04[_0x25990d(0x527)]]['push'](_0x139b04),_0x40dee4),{});return(0x0,h[_0x25990d(0x429)])(_0x25990d(0x4d3),{'className':_0x25990d(0x1a0),'children':Object[_0x25990d(0x335)](_0x297525)[_0x25990d(0x408)](([_0x3cbd17,_0x4d6571])=>(0x0,h[_0x25990d(0x13d)])(_0x25990d(0x4d3),{'className':'univer-mb-2','children':[(0x0,h['jsx'])(_0x25990d(0x4d3),{'className':_0x25990d(0x241),'children':_0x4bfb03['t'](_0x25990d(0x473)+_0x3cbd17)}),(0x0,h['jsx'])(_0x25990d(0x4d3),{'className':'univer-grid\x20univer-grid-cols-10\x20univer-gap-1','children':_0x4d6571[_0x25990d(0x408)](_0x1666b5=>{const _0x42b611=_0x25990d;let _0x4be9cf=_0xf19145[_0x42b611(0x2b9)](_0x1666b5[_0x42b611(0x1f5)]);return(0x0,h[_0x42b611(0x429)])(_0x42b611(0x4d3),{'title':_0x4bfb03['t'](_0x1666b5[_0x42b611(0x1f3)]),'onClick':()=>_0x16b02b(_0x1666b5),'className':_0x42b611(0x5cd),'children':_0x4be9cf&&(0x0,h[_0x42b611(0x429)])(_0x4be9cf,{'className':'univer-size-full'})},_0x1666b5[_0x42b611(0x1f3)]);})})]},_0x3cbd17))});}function _e(){const _0x51e840=_0x559cdc;let _0x5495a5=(0x0,l[_0x51e840(0x3a5)])(t['LocaleService']),_0x5546c6=(0x0,l[_0x51e840(0x3a5)])(a[_0x51e840(0x470)]),_0x1cd3a7=(0x0,l[_0x51e840(0x3a5)])(H),[_0x3c6037,_0x2dc1d3]=(0x0,m['useState'])(!0x1);return(0x0,h[_0x51e840(0x429)])(p['Dropdown'],{'side':_0x51e840(0x475),'open':_0x3c6037,'onOpenChange':_0x2dc1d3,'overlay':(0x0,h[_0x51e840(0x429)])(ge,{'onShapeClick':_0x288ab5=>{const _0x294b16=_0x51e840;let _0x4c6b70=_0x5546c6['getFocusDrawings']()[_0x294b16(0x1c0)](_0x32713f=>_0x32713f[_0x294b16(0x3f1)]===t['DrawingTypeEnum']['DRAWING_IMAGE']);if(!_0x4c6b70)return;let {unitId:_0x345904,subUnitId:_0x4bf3c2,drawingId:_0x519844}=_0x4c6b70;_0x1cd3a7['clipByShape'](_0x345904,_0x4bf3c2,_0x519844,_0x288ab5['type']),_0x2dc1d3(!0x1);},'excludeGroups':[_0x51e840(0x262)]}),'children':(0x0,h['jsx'])(p[_0x51e840(0x23e)],{'children':_0x5495a5['t'](_0x51e840(0x215))})});}function ve(){const _0x3e327f=_0x559cdc;let _0x4ded2a=(0x0,l[_0x3e327f(0x3a5)])(t[_0x3e327f(0x279)]);return(0x0,h['jsx'])(ge,{'onShapeClick':_0x33dba0=>{const _0x9da98d=_0x3e327f;_0x4ded2a[_0x9da98d(0x1ed)](V['id'],{'value':_0x33dba0[_0x9da98d(0x270)],'enhanceParams':{'endArrow':_0x33dba0[_0x9da98d(0x545)],'startArrow':_0x33dba0[_0x9da98d(0x501)],'horizontal':_0x33dba0['horizontal'],'vertical':_0x33dba0[_0x9da98d(0x3fd)]}});}});}function ye(_0x3f4ba4){const _0x32d955=_0x559cdc;let _0x566ebc=_0x3f4ba4[_0x32d955(0x2b9)](t['IUniverInstanceService']);return{'id':V['id'],'type':l[_0x32d955(0x3a4)][_0x32d955(0x515)],'selections':[{'label':{'name':he,'hoverable':!0x1,'selectable':!0x1,'props':{'id':V['id']}}}],'icon':_0x32d955(0x25a),'tooltip':_0x32d955(0x205),'activated$':(0x0,c[_0x32d955(0x19b)])(_0x566ebc,!0x1,()=>new i[(_0x32d955(0x43e))](_0x2b4d95=>{const _0x26adf0=_0x32d955;_0x2b4d95[_0x26adf0(0x2c1)](!0x1);})),'hidden$':(0x0,l['getMenuHiddenObservable'])(_0x3f4ba4,t[_0x32d955(0x3f5)][_0x32d955(0x2d0)]),'disabled$':(0x0,c[_0x32d955(0x301)])(_0x3f4ba4)};}const be={[l[_0x559cdc(0x375)][_0x559cdc(0x20b)]]:{[l[_0x559cdc(0x436)][_0x559cdc(0x311)]]:{[A['id']]:{'order':3.5,'menuItemFactory':pe},[E['id']]:{'order':3.4,'menuItemFactory':de}},[l['RibbonStartGroup'][_0x559cdc(0x252)]]:{[s[_0x559cdc(0x2e1)]['id']]:{'order':0x1,'menuItemFactory':ce,[s[_0x559cdc(0x36b)]['id']]:{'order':0x0,'menuItemFactory':le}}}},[l['RibbonInsertGroup']['MEDIA']]:{[V['id']]:{'order':0x4,'menuItemFactory':ye}}};let U=class extends t['Disposable']{constructor(_0x3df5ae,_0x212987,_0x222fc8,_0x5c3259,_0x4c48e1,_0xfb3407,_0x198e76,_0x24cff1,_0x556220,_0x30a522,_0x8543ea){const _0x25ac46=_0x559cdc;super(),this[_0x25ac46(0x2cf)]=_0x3df5ae,this[_0x25ac46(0x5ce)]=_0x212987,this[_0x25ac46(0x19f)]=_0x222fc8,this[_0x25ac46(0x1f9)]=_0x5c3259,this[_0x25ac46(0x5d3)]=_0x4c48e1,this[_0x25ac46(0x193)]=_0xfb3407,this[_0x25ac46(0x2e9)]=_0x198e76,this[_0x25ac46(0x381)]=_0x24cff1,this[_0x25ac46(0x244)]=_0x556220,this[_0x25ac46(0x310)]=_0x30a522,this[_0x25ac46(0x499)]=_0x8543ea,S(this,_0x25ac46(0x38c),null),S(this,_0x25ac46(0x5b7),null),S(this,_0x25ac46(0x26c),!0x1),S(this,_0x25ac46(0x342),0x0),S(this,_0x25ac46(0x17f),new Set()),S(this,_0x25ac46(0x34d),[]),this[_0x25ac46(0x355)](),this['disposeWithMe'](this[_0x25ac46(0x2cf)]['getCurrentTypeOfUnit$'](t['UniverInstanceType'][_0x25ac46(0x2d0)])['subscribe'](_0x54b0fe=>{const _0x2eb1a1=_0x25ac46;if(!_0x54b0fe){var _0x1175cd;(_0x1175cd=this[_0x2eb1a1(0x38c)])==null||_0x1175cd[_0x2eb1a1(0x327)]();return;}this[_0x2eb1a1(0x145)](_0x54b0fe);})),this[_0x25ac46(0x1b8)](),this['_registerShapeMenu'](),this[_0x25ac46(0x20e)](),this[_0x25ac46(0x491)](this['_shapeTextEditingService']['editingParams$'][_0x25ac46(0x174)](_0x14d27e=>{const _0x598002=_0x25ac46;_0x14d27e&&this[_0x598002(0x1ae)]();}));}[_0x559cdc(0x355)](){const _0x5294f4=_0x559cdc;this[_0x5294f4(0x19f)][_0x5294f4(0x25e)](be);}[_0x559cdc(0x2fb)](){const _0x386fb3=_0x559cdc;this[_0x386fb3(0x381)][_0x386fb3(0x18d)](t[_0x386fb3(0x19c)][_0x386fb3(0x2d8)],this['getShapePopupMenus'][_0x386fb3(0x5ec)](this)),this[_0x386fb3(0x381)][_0x386fb3(0x17d)](t[_0x386fb3(0x19c)][_0x386fb3(0x2d8)],0x6,0x4);}[_0x559cdc(0x20e)](){const _0x45906a=_0x559cdc;this[_0x45906a(0x2cf)][_0x45906a(0x488)](t['UniverInstanceType'][_0x45906a(0x2d0)])[_0x45906a(0x1d0)](_0x125f9c=>this[_0x45906a(0x145)](_0x125f9c));}[_0x559cdc(0x249)](_0x3ca161,_0x5a021b,_0x390b88,_0x1213d6){const _0x3e51fd=_0x559cdc;return[{'label':_0x3e51fd(0x21a),'index':0x0,'commandId':N['id'],'commandParams':{'unitId':_0x3ca161,'subUnitId':_0x5a021b,'drawingId':_0x390b88},'disable':_0x1213d6===t['DrawingTypeEnum'][_0x3e51fd(0x3be)]},{'label':'sheets-shape-ui.deleteShape','index':0x1,'commandId':r[_0x3e51fd(0x59d)]['id'],'commandParams':{'unitId':_0x3ca161,'drawings':[{'unitId':_0x3ca161,'subUnitId':_0x5a021b,'drawingId':_0x390b88,'drawingType':_0x1213d6}]},'disable':!0x1},{'label':_0x3e51fd(0x199),'index':0x2,'commandId':M['id'],'commandParams':{'unitId':_0x3ca161,'subUnitId':_0x5a021b,'drawingId':_0x390b88},'disable':!0x1},{'label':_0x3e51fd(0x5e9),'index':0x3,'commandId':e['ToggleSheetsShapeFlipCommand']['id'],'commandParams':{'unitId':_0x3ca161,'subUnitId':_0x5a021b,'shapeId':_0x390b88,'flipH':!0x0},'disable':!0x1},{'label':'sheets-shape-ui.toggleFlipV','index':0x4,'commandId':e['ToggleSheetsShapeFlipCommand']['id'],'commandParams':{'unitId':_0x3ca161,'subUnitId':_0x5a021b,'shapeId':_0x390b88,'flipV':!0x0},'disable':!0x1},{'label':_0x3e51fd(0x507),'index':0x4,'commandId':e[_0x3e51fd(0x3b4)]['id'],'commandParams':{'unitId':_0x3ca161,'subUnitId':_0x5a021b,'shapeId':_0x390b88,'rotate':0x5a},'disable':!0x1},{'label':'sheets-shape-ui.rotateLeft90','index':0x4,'commandId':e[_0x3e51fd(0x3b4)]['id'],'commandParams':{'unitId':_0x3ca161,'subUnitId':_0x5a021b,'shapeId':_0x390b88,'rotate':-0x5a},'disable':!0x1},{'label':_0x3e51fd(0x306),'index':0x4,'commandId':e['SetSheetsShapeTextVerticalToggleCommand']['id'],'commandParams':{'unitId':_0x3ca161,'subUnitId':_0x5a021b,'shapeId':_0x390b88},'disable':!0x1}];}[_0x559cdc(0x295)](_0x16afee,_0x377088,_0x359352){const _0x49e263=_0x559cdc;let _0x456eda=this[_0x49e263(0x1f9)][_0x49e263(0x4bc)](_0x16afee,_0x377088,_0x359352),_0x42410b=this[_0x49e263(0x1f9)]['getShapeDataById'](_0x16afee,_0x377088,_0x359352);return _0x456eda!==void 0x0&&_0x42410b!==void 0x0?{'shapeData':_0x42410b,'shapeId':_0x359352,'shapeType':_0x456eda,'unitId':_0x16afee,'subUnitId':_0x377088,'version':this[_0x49e263(0x342)],'disableShapeOption':!0x1}:null;}['_createShapePopupMenu'](_0x580734){const _0x4bfbe6=_0x559cdc;if(!_0x580734)return;let _0x1d6fe2=_0x580734[_0x4bfbe6(0x4c5)]();this[_0x4bfbe6(0x310)][_0x4bfbe6(0x5be)](_0x1d6fe2)&&!this['_initializedShapePopupMenu'][_0x4bfbe6(0x5be)](_0x1d6fe2)&&(this[_0x4bfbe6(0x5a6)](_0x1d6fe2),this[_0x4bfbe6(0x17f)][_0x4bfbe6(0x504)](_0x1d6fe2));}[_0x559cdc(0x1ae)](){const _0x4c5a2a=_0x559cdc;this[_0x4c5a2a(0x34d)][_0x4c5a2a(0x1d0)](_0x3f0ce6=>_0x3f0ce6[_0x4c5a2a(0x327)]()),this[_0x4c5a2a(0x34d)][_0x4c5a2a(0x5ef)]=0x0;}[_0x559cdc(0x5a6)](_0x330ee0){const _0x337c48=_0x559cdc;var _0x3c4d7d;let _0x5e97ca=(_0x3c4d7d=this[_0x337c48(0x310)]['getRenderById'](_0x330ee0))==null?void 0x0:_0x3c4d7d[_0x337c48(0x5e3)],_0x429676=_0x5e97ca==null?void 0x0:_0x5e97ca['getTransformerByCreate']();!_0x5e97ca||!_0x429676||(this[_0x337c48(0x491)](_0x429676[_0x337c48(0x230)][_0x337c48(0x174)](()=>{const _0x3d35d6=_0x337c48;let _0x5cd45f=_0x429676[_0x3d35d6(0x5b8)]();if(this['_clearPopups'](),this[_0x3d35d6(0x26c)]||_0x5cd45f[_0x3d35d6(0x1d9)]>0x1)return;let _0x36caa5=_0x5cd45f[_0x3d35d6(0x540)]()['next']()['value'];if(!_0x36caa5)return;let _0x58d0c0=this['_drawingManagerService'][_0x3d35d6(0x55e)](_0x36caa5['oKey']);if(!_0x58d0c0||_0x58d0c0[_0x3d35d6(0x3f1)]!==t[_0x3d35d6(0x19c)][_0x3d35d6(0x2d8)])return;let {unitId:_0x399135,subUnitId:_0x1d47fc,drawingId:_0x2fb00e,drawingType:_0x20dbc8}=_0x58d0c0,_0x5c31f6=this[_0x3d35d6(0x295)](_0x399135,_0x1d47fc,_0x2fb00e);if(!_0x5c31f6)return;this[_0x3d35d6(0x244)]['setContextValue'](t[_0x3d35d6(0x402)],!0x0);let _0x5895ad=this['_sheetCanvasPopManagerService'][_0x3d35d6(0x410)](_0x36caa5,{'componentKey':ee,'direction':_0x3d35d6(0x587),'offset':[0x0,0x8],'extraProps':{'unitId':_0x399135,'subUnitId':_0x1d47fc,'drawingId':_0x2fb00e,'drawingType':_0x20dbc8,'shapeType':_0x5c31f6[_0x3d35d6(0x420)],'shapeData':_0x5c31f6['shapeData']}});this[_0x3d35d6(0x34d)][_0x3d35d6(0x42d)](this[_0x3d35d6(0x491)](_0x5895ad)),this[_0x3d35d6(0x2e9)][_0x3d35d6(0x49d)]()[_0x3d35d6(0x1c0)](_0x4d479=>_0x4d479[_0x3d35d6(0x180)]===_0x399135&&_0x4d479[_0x3d35d6(0x582)]===_0x1d47fc&&_0x4d479[_0x3d35d6(0x1fa)]===_0x2fb00e)||this['_drawingManagerService'][_0x3d35d6(0x4b1)]([{'unitId':_0x399135,'subUnitId':_0x1d47fc,'drawingId':_0x2fb00e}]);})),this['disposeWithMe'](_0x429676[_0x337c48(0x544)][_0x337c48(0x174)](()=>{const _0x291e21=_0x337c48;this[_0x291e21(0x1ae)](),this[_0x291e21(0x244)]['setContextValue'](t['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x291e21(0x2e9)][_0x291e21(0x4b1)](null);})),this[_0x337c48(0x491)](_0x429676[_0x337c48(0x19e)]['subscribe'](()=>{this['_clearPopups']();})),this['disposeWithMe'](_0x429676[_0x337c48(0x5cf)]['subscribe'](()=>{const _0x48f018=_0x337c48;this[_0x48f018(0x1ae)]();})));}[_0x559cdc(0x1b8)](){const _0x2fbe5c=_0x559cdc;this['disposeWithMe'](this[_0x2fbe5c(0x193)]['onCommandExecuted'](_0x505c9b=>{const _0x4f2398=_0x2fbe5c;if(_0x505c9b['id']===N['id']){let {unitId:_0x29672e,subUnitId:_0x5c34d9,drawingId:_0x11fda4}=_0x505c9b[_0x4f2398(0x1e5)];this['_shapeEditPanelVersion']+=0x1,this['_activeShapeInfo']=this['_getShapeInfo'](_0x29672e,_0x5c34d9,_0x11fda4),this['_clearPopups'](),this[_0x4f2398(0x358)]();}if(_0x505c9b['id']===M['id']&&(this[_0x4f2398(0x5b7)]=null,this[_0x4f2398(0x4fe)]()),_0x505c9b['id']===e['UpdateSheetsShapeDataMutation']['id']){let {unitId:_0xd4aea0,subUnitId:_0x5719b6,shapeId:_0x20c63d}=_0x505c9b[_0x4f2398(0x1e5)];if(this['_activeShapeInfo']&&this['_activeShapeInfo'][_0x4f2398(0x45d)]===_0x20c63d){let _0x30d584=this[_0x4f2398(0x295)](_0xd4aea0,_0x5719b6,_0x20c63d);_0x30d584&&(this[_0x4f2398(0x342)]+=0x1,_0x30d584[_0x4f2398(0x151)]=this['_shapeEditPanelVersion'],this[_0x4f2398(0x5b7)]=_0x30d584,this['_isOpenedShapeEditPanel']&&this[_0x4f2398(0x358)]());}}})),this[_0x2fbe5c(0x491)](this[_0x2fbe5c(0x2e9)][_0x2fbe5c(0x3bb)]['subscribe'](_0x13cc40=>{const _0xa77ddd=_0x2fbe5c;if(this[_0xa77ddd(0x26c)]===!0x1)return;if(_0x13cc40[_0xa77ddd(0x5ef)]===0x0){this[_0xa77ddd(0x5b7)]=null,this[_0xa77ddd(0x4fe)]();return;}if(_0x13cc40[_0xa77ddd(0x5ef)]===0x1&&_0x13cc40[0x0]['drawingType']===t[_0xa77ddd(0x19c)]['DRAWING_SHAPE']&&(this[_0xa77ddd(0x342)]+=0x1,this[_0xa77ddd(0x5b7)]=this[_0xa77ddd(0x295)](_0x13cc40[0x0][_0xa77ddd(0x180)],_0x13cc40[0x0][_0xa77ddd(0x582)],_0x13cc40[0x0][_0xa77ddd(0x1fa)]),this[_0xa77ddd(0x5b7)])){this['_openShapeEditPanel']();return;}let _0x22f3e3=_0x13cc40[_0xa77ddd(0x583)](_0x5d9e6d=>_0x5d9e6d['drawingType']===t[_0xa77ddd(0x19c)]['DRAWING_SHAPE']);if(_0x13cc40['length']>0x1&&_0x22f3e3[_0xa77ddd(0x5ef)]===_0x13cc40[_0xa77ddd(0x5ef)]){if(this['_shapeEditPanelVersion']+=0x1,this[_0xa77ddd(0x5b7)]=this[_0xa77ddd(0x295)](_0x13cc40[0x0]['unitId'],_0x13cc40[0x0][_0xa77ddd(0x582)],_0x13cc40[0x0][_0xa77ddd(0x1fa)]),this[_0xa77ddd(0x5b7)]){this[_0xa77ddd(0x358)]();return;}}else{if(this['_shapeEditPanelVersion']+=0x1,this['_activeShapeInfo']=this['_getShapeInfo'](_0x13cc40[0x0]['unitId'],_0x13cc40[0x0][_0xa77ddd(0x582)],_0x13cc40[0x0][_0xa77ddd(0x1fa)]),this['_activeShapeInfo']){this[_0xa77ddd(0x5b7)][_0xa77ddd(0x314)]=!0x0,this[_0xa77ddd(0x358)]();return;}}this[_0xa77ddd(0x4fe)]();}));}[_0x559cdc(0x358)](){const _0x4e55f1=_0x559cdc;this[_0x4e55f1(0x5b7)]&&(this[_0x4e55f1(0x38c)]=this[_0x4e55f1(0x5ce)][_0x4e55f1(0x3e8)]({'id':P,'header':{'title':this[_0x4e55f1(0x5d3)]['t'](_0x4e55f1(0x281))},'width':0x184,'children':{'label':P,...this['_activeShapeInfo']},'onClose':()=>{const _0x22855b=_0x4e55f1;this[_0x22855b(0x2e9)][_0x22855b(0x4b1)](null),this[_0x22855b(0x244)][_0x22855b(0x161)](t[_0x22855b(0x402)],!0x1),this[_0x22855b(0x38c)]=null;}}),this[_0x4e55f1(0x26c)]=!0x0);}[_0x559cdc(0x4fe)](){const _0x21a2dd=_0x559cdc;this[_0x21a2dd(0x26c)]=!0x1,this['_sidebarService']['close'](P),this[_0x21a2dd(0x38c)]=null,this[_0x21a2dd(0x244)]['setContextValue'](t[_0x21a2dd(0x402)],!0x1),this[_0x21a2dd(0x2e9)][_0x21a2dd(0x4b1)](null);}};U=R([L(0x0,t[_0x559cdc(0x3c1)]),L(0x1,(0x0,t['Inject'])(l[_0x559cdc(0x2cb)])),L(0x2,l[_0x559cdc(0x5af)]),L(0x3,(0x0,t[_0x559cdc(0x4fa)])(e[_0x559cdc(0x1bd)])),L(0x4,(0x0,t[_0x559cdc(0x4fa)])(t[_0x559cdc(0x359)])),L(0x5,t[_0x559cdc(0x279)]),L(0x6,a[_0x559cdc(0x470)]),L(0x7,(0x0,t[_0x559cdc(0x4fa)])(c[_0x559cdc(0x1bb)])),L(0x8,t[_0x559cdc(0x451)]),L(0x9,o[_0x559cdc(0x2f1)]),L(0xa,(0x0,t[_0x559cdc(0x4fa)])(C))],U);var xe=_0x559cdc(0x3e1),Se=_0x559cdc(0x33e);const Ce={};let W=class extends t[_0x559cdc(0x54a)]{constructor(_0x244287,_0x3656ac,_0x5ca96c,_0x5c7d81,_0x3537d1,_0xd78ecd){const _0x14b36c=_0x559cdc;super(),this[_0x14b36c(0x193)]=_0x244287,this['_renderManagerService']=_0x3656ac,this[_0x14b36c(0x2e9)]=_0x5ca96c,this[_0x14b36c(0x273)]=_0x5c7d81,this[_0x14b36c(0x23a)]=_0x3537d1,this['_sheetDrawingShapeRenderController']=_0xd78ecd,this['_initialize']();}['_initialize'](){const _0x105501=_0x559cdc;this[_0x105501(0x450)](),this['_commandExecutedListener'](),this[_0x105501(0x267)]();}[_0x559cdc(0x450)](){const _0x2bd124=_0x559cdc;this[_0x2bd124(0x491)](this['_drawingManagerService']['add$'][_0x2bd124(0x174)](_0x3d4839=>{const _0x29e371=_0x2bd124;this[_0x29e371(0x4d1)](_0x3d4839);}));}['_commandExecutedListener'](){const _0x11e865=_0x559cdc;this['disposeWithMe'](this[_0x11e865(0x193)][_0x11e865(0x4cd)](_0x2d332b=>{const _0x769e33=_0x11e865;if(_0x2d332b['id']===e['InsertSheetsShapeMutation']['id']){var _0x41a262;let {unitId:_0x88006d,subUnitId:_0x9d460,shapeId:_0x119263}=_0x2d332b[_0x769e33(0x1e5)],_0x1c21c5=this[_0x769e33(0x577)](_0x88006d);if(_0x1c21c5==null)return;let {scene:_0x1dab6c}=_0x1c21c5,_0x5e51b6=(0x0,a[_0x769e33(0x317)])({'unitId':_0x88006d,'subUnitId':_0x9d460,'drawingId':_0x119263}),_0xbf5613=_0x1dab6c['getObjectIncludeInGroup'](_0x5e51b6);if(!((_0x41a262=this[_0x769e33(0x310)][_0x769e33(0x28b)](_0x88006d))!=null&&_0x41a262[_0x769e33(0x4bd)](c[_0x769e33(0x265)])[_0x769e33(0x297)](_0x9d460)))return!0x1;if(_0xbf5613)return;this[_0x769e33(0x4d1)]([{'unitId':_0x88006d,'subUnitId':_0x9d460,'drawingId':_0x119263}]);}}));}[_0x559cdc(0x267)](){const _0x7712a7=_0x559cdc;this[_0x7712a7(0x491)](this[_0x7712a7(0x2e9)][_0x7712a7(0x4e8)][_0x7712a7(0x174)](_0x2a71af=>{const _0x38a550=_0x7712a7;_0x2a71af[_0x38a550(0x1d0)](_0x1700ba=>{const _0x1498c7=_0x38a550;let {unitId:_0x34695a,subUnitId:_0x1cca3d,drawingId:_0x2cb9c1}=_0x1700ba,_0x5c4d58=this['_drawingManagerService']['getDrawingByParam'](_0x1700ba);if(_0x5c4d58==null)return;let {transform:_0x50e79a,drawingType:_0x447989,srcRect:_0x4e0085,prstGeom:_0x3bff17}=_0x5c4d58;if(_0x447989!==t['DrawingTypeEnum']['DRAWING_SHAPE'])return;let _0x1ff143=this[_0x1498c7(0x577)](_0x34695a);if(_0x1ff143==null)return;let {scene:_0x33cd98,transformer:_0x5807f4}=_0x1ff143;if(_0x50e79a==null)return!0x0;let _0x2919f0=(0x0,a[_0x1498c7(0x317)])({'unitId':_0x34695a,'subUnitId':_0x1cca3d,'drawingId':_0x2cb9c1}),_0x21d4e1=_0x33cd98[_0x1498c7(0x332)](_0x2919f0);if(_0x21d4e1==null)return!0x0;_0x21d4e1[_0x1498c7(0x3bf)](_0x4e0085),_0x21d4e1[_0x1498c7(0x571)](_0x3bff17);});}));}['updateShapeFillImage'](_0x4e635e,_0x3ffc1b){const _0x3113cc=_0x559cdc;let {unitId:_0x493aa2,subUnitId:_0x3443ff,drawingId:_0x487752}=_0x4e635e,_0x52e9bb=this[_0x3113cc(0x577)](_0x493aa2);if(_0x52e9bb==null)return;let {scene:_0x4197c0}=_0x52e9bb,_0x8cc1a5=(0x0,a[_0x3113cc(0x317)])({'unitId':_0x493aa2,'subUnitId':_0x3443ff,'drawingId':_0x487752}),_0x5155a9=_0x4197c0[_0x3113cc(0x332)](_0x8cc1a5);_0x5155a9!=null&&_0x5155a9['setFillImage'](_0x3ffc1b);}[_0x559cdc(0x4d1)](_0x370204){const _0x1eaec4=_0x559cdc;_0x370204[_0x1eaec4(0x1d0)](async _0x1f9261=>{const _0x1989d4=_0x1eaec4;var _0x47e774;let {unitId:_0x523534,subUnitId:_0xfa4c8e}=_0x1f9261,_0x38161b=this['_getSceneAndTransformerByDrawingSearch'](_0x523534),_0x2d634f=(_0x47e774=(0x0,d[_0x1989d4(0x4be)])(this['_currentUniverService'],_0x523534))==null?void 0x0:_0x47e774['subUnitId'];if(_0x38161b==null||_0x2d634f!==_0xfa4c8e)return;let _0x57001a=this[_0x1989d4(0x2e9)]['getDrawingByParam'](_0x1f9261);if(_0x57001a!=null&&_0x57001a['drawingType']===t[_0x1989d4(0x19c)]['DRAWING_SHAPE']){if((0x0,u[_0x1989d4(0x522)])((_0x57001a['data']||{})[_0x1989d4(0x420)])){let _0x5dc833=_0x57001a['transform'];_0x5dc833&&(_0x57001a[_0x1989d4(0x326)]={..._0x5dc833,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x1989d4(0x2e9)][_0x1989d4(0x58e)]([_0x57001a]),this[_0x1989d4(0x291)][_0x1989d4(0x40c)](_0x57001a,_0x38161b['scene']);}});}[_0x559cdc(0x577)](_0x561443){const _0x1967d0=_0x559cdc;if(_0x561443==null)return;let _0x1c4793=this[_0x1967d0(0x310)][_0x1967d0(0x28b)](_0x561443),_0x2e26ac=_0x1c4793==null?void 0x0:_0x1c4793[_0x1967d0(0x5e3)];return _0x2e26ac==null?null:{'scene':_0x2e26ac,'transformer':_0x2e26ac[_0x1967d0(0x4b5)]()};}};W=R([L(0x0,t[_0x559cdc(0x279)]),L(0x1,o['IRenderManagerService']),L(0x2,a[_0x559cdc(0x470)]),L(0x3,t[_0x559cdc(0x3c1)]),L(0x4,(0x0,t[_0x559cdc(0x4fa)])(d['DrawingRenderService'])),L(0x5,(0x0,t['Inject'])(z))],W);function we(){const _0x3496ea=_0x559cdc;let _0x5016b3=(0x0,l[_0x3496ea(0x3a5)])(a[_0x3496ea(0x470)]),[_0x463e51,_0x58fd90]=(0x0,m[_0x3496ea(0x336)])(_0x5016b3[_0x3496ea(0x49d)]());return(0x0,m[_0x3496ea(0x30a)])(()=>{const _0x55f89b=_0x3496ea;let _0x3cc81e=_0x5016b3['focus$'][_0x55f89b(0x174)](_0x1ea76e=>{_0x58fd90(_0x1ea76e);});return()=>{_0x3cc81e['unsubscribe']();};},[]),_0x463e51[_0x3496ea(0x5ef)]===0x0?null:(0x0,h['jsx'])(_0x3496ea(0x4d3),{'children':(0x0,h['jsxs'])(_0x3496ea(0x4d3),{'className':'univer-box-border\x20univer-px-4\x20univer-text-sm','children':[(0x0,h[_0x3496ea(0x429)])(d[_0x3496ea(0x2fe)],{'drawings':_0x463e51,'hasCropper':!0x1}),(0x0,h['jsx'])(g[_0x3496ea(0x5bb)],{'drawings':_0x463e51})]})});}function _0x4e63(){const _0x1dcb91=['cos','_resetState','sheets-shape-ui.shape.type.curved-right-arrow','onReady','_isConnecting','ShapePieWedgeIcon','merge','ShapeRibbon2Icon','sheets-shape-ui.shape.type.flow-chart-merge','sheetViewStartColumn','SHAPE_TEXT','SELECTOR','_registerFocusChangeHandler','_createCopyInfoByRange','AccentCallout1','sheets-shape-ui.shape.type.action-button-forward-next','gridType','ComponentManager','ShapeLineTypeEnum','_initEvents','_initEditingParams','UniverSheetsDrawingUIPlugin','renderConfig','LeftRightRibbon','isConnectorShape','ShapeSnipRoundRectIcon','_currentScene','paragraphStyle','DocumentSkeleton','group','reduce','getUnit','worldPoint','ShapeModel','WedgeEllipseCallout','WRAP','sheets-shape-ui.shape.type.cloud-callout','_loadAndSetImage','ShapeNoSmokingIcon','getEndConnectInfo','toStringTag','ShapeLeftCircularArrowIcon','_findNearestConnectionSite','ShapeNonIsoscelesTrapezoidIcon','indexOf','sheets-shape-ui.shape.type.round2-same-rect','ShapeFillEnum','_updateSrcRectByTransform','Trapezoid','DependentOn','clone','sheets-shape-ui.align.center','_onSavingEditorData$','SolidFill','values','remove$','sheets-shape-ui.shape.type.star5','_clearShapeConnectorHandlerObjects','clearControl$','endArrow','set','_registerDrawingFocusChangeHandler','register','gdRefY','Disposable','onPointerMove$','MathDivide','sheets-shape-ui.shape.type.arc','_transform','SetShapeDrawingDataCommand','_registerImageShapeClipDelegate','ShapeFlowChartOnlineStorageIcon','HorizontalAlign','_initSelection','ShapeFrameIcon','isHorizontal','sheets-shape-ui.shape.type.block-arc','extraProps','IConfigService','ShapeBentArrowIcon','ShapeFlowChartMultidocumentIcon','_findShapeAtPoint','Star6','ShapeFlowChartSummingJunctionIcon','getDrawingOKey','onSteady','SheetsSelectionsService','syncExecuteCommand','sheets-shape-ui.shape.type.curved-up-arrow','sheets-shape-ui.shape.type.diag-stripe','COMMAND','horizontalAlign','Bevel','SheetsDrawingGroupCopyPasteController','ShapeChevronIcon','LeftRightArrowCallout','HalfFrame','IURLImageService','ShapeCallout2Icon','FoldedCorner','LeftBrace','sheets-shape-ui.shape.type.chord','ShapePlaqueTabsIcon','setPrstGeom','_executeResizeCommand','translate','LeftBracket','getConnectionSiteList','multiply','_getSceneAndTransformerByDrawingSearch','_generateCutPasteMutations','sheets-shape-ui.shape.type.flow-chart-connector','_isImagePointerDown','DRAWING_IMAGE','SetShapeTextFontSizeCommand','sheets-shape-ui.shape.type.left-right-arrow-callout','deepClone','discreteRangeToRange','#4285f4','subscribeEvent','subUnitId','filter','sheets-shape-ui.shape.type.down-arrow-callout','startConnectionDetection','1426806qpjyyl','top-center','ShapeArrowSizeEnum','applyPoint','getDrawingPoints','3CZwoQd','ShapeFlowChartExtractIcon','SheetSkeletonService','refreshTransform','rotation','Star24','skeleton','startY','ShapeRectTextboxVerticalIcon','ShapeCurvedUpArrowIcon','AlignBottomIcon','ShapeLeftRightArrowIcon','UUID','shapeKey','FlowchartMagneticDrum','_iconManager','sheets-shape-ui.shape.type.bent-connector3-arrow2','ShapeCubeIcon','RemoveSheetDrawingCommand','sheets-shape-ui.shape.type.rect','_moveConnectorWithShape','ShapeStar6Icon','ShapeActionButtonMovieIcon','sheets-shape-ui.shape.type.star6','FALSE','ShapeRound2DiagRectIcon','_addShapeAdjustControl','_popupMenuListener','FlowchartMultiDocument','useMemo','ShapeDocAlignCommand','sheets-shape-ui.shape.type.curved-down-arrow','URL','toPrimitive','Circle','isInGroup','IMenuManagerService','invert','enableObjectsEvent','equationShape','_initCommands','updateConnectionDetection','PREDEFINED_HOOK_NAME','ShapeHexagonIcon','_activeShapeInfo','getSelectedObjectMap','PictureFill','ShapeSwooshArrowIcon','SheetDrawingAnchor','buildShapeTextDataUpdate','LeftRightUpArrow','has','HorizontalScroll','sectionBreaks','sheets-shape-ui.shape.type.up-arrow','FlowchartPunchedTape','ShapeFlowChartOrIcon','ShapeMathNotEqualIcon','_sheetClipboardService','FlowchartSummingJunction','FlowchartPreparation','Transform','adjustValues','sheets-shape-ui.shape.type.accent-callout3','sheets-shape-ui.shape.type.action-button-information','sheet.shape.floating-toolbar','univer-flex\x20univer-aspect-square\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-p-1\x20univer-text-gray-700\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-700','_sidebarService','changeStart$','_activeAdjustInfo','sheets-shape-ui.shape.type.swoosh-arrow','ShapeActionButtonDocumentIcon','_localeService','Round2SameRect','blockArrow','GridType','ShapeAccentBorderCallout3Icon','sheets-shape-ui.shape.type.pie','ShapeCircularArrowIcon','ShapeCallout3Icon','sheets-shape-ui.toolbar.resetColor','ShapeMathEqualIcon','isHitLine','FlowchartProcess','sheets-shape-ui.shape.type.sun','SheetsShapeUIController','startX','sheets-shape-ui.align.middle','scene','cxnPointStroke','Chevron','lineShapeId','composeMatrix','Can','sheets-shape-ui.toggleFlipH','Triangle','ShapePieIcon','bind','Star4','sheets-shape-ui.shape.type.non-isosceles-trapezoid','length','_unitId','isStartConnectorPoint','jsxs','computeConnectorResizeLayout','sheets-shape-ui.shape.type.flow-chart-sort','classType','getState','FlowchartMagneticTape','_cxtHandlerPointerUp','2870540uVWYno','_createShapePopupMenu','getColorFromTheme','sheets-shape-ui.shape.type.pie-wedge','sheets-shape-ui.shape.type.action-button-return','SetShapeTextFontSizeIncreaseCommand','isRenderLinePointsMode','_setTransForm','ShapeFlowChartDelayIcon','getConnectorLinePoints','sheets-shape-ui.shape.type.border-callout3','_activeAdjustPointList','setFillImage','version','onerror','FlowchartOnlineStorage','UpDownArrowCallout','ShapeHomePlateIcon','relation','UpDownArrow','ShapeChartPlusIcon','transformForAngle','decorate','_connectionSiteObjects','getShapeTextData','_updateAdjustControlPositions','Injector','MathNotEqual','snapToGrid','setContextValue','_addControl','ShapeAccentCallout2Icon','ShapeFlowChartMagneticDrumIcon','_updateImageAdjValues','refreshAdjustControls','_drawingType','ShapeDecagonIcon','ShapeCurvedDownArrowIcon','computeConnectorRouteLayout','sheets-shape-ui.shape.type.heptagon','DrawingImageClipService','startWith','AlignOperationCommand','ShapeChartXIcon','Large','ShapeStar32Icon','getParent','sheets-shape-ui.shape.type.left-arrow','subscribe','sheets-shape-ui.shape.type.line','BorderCallout3','symbol','OPERATION','clearAdjustValue','ShapeCloudCalloutIcon','_activeShapeAdjustPointList','computeStraightConnectorLayout','registerFeatureMenuOffset','BentUpArrow','_initializedShapePopupMenu','unitId','Star10','sheets-shape-ui.shape.type.flow-chart-offline-storage','Line','ShapeQuadArrowCalloutIcon','sheets-shape-ui.shape.type.ellipse-ribbon2','_componentManager','ShapeRightArrowCalloutIcon','sheets-shape-ui.shape.type.flow-chart-magnetic-drum','sheets-shape-ui.shape.type.math-equal','sheets-shape-ui.shape.type.heart','sheets-shape-ui.shape.type.curved-connector3-arrow2','ShapeChordIcon','registerFeatureMenu','pluginName','UpdateSheetsShapeDataMutation','adjHandleSize','registerFeaturePasteHook','BracketPair','_commandService','sheets-shape-ui.shape.type.parallelogram','prstGeomAdjValues','ShapeEditPanel','ShapePlaqueIcon','verticalAlign','sheets-shape-ui.hidePanel','LeftUpArrow','deriveStateFromActiveSheet$','DrawingTypeEnum','sheets-shape-ui.shape.type.smiley-face','changing$','_menuManagerService','univer-max-h-[75vh]\x20univer-w-[320px]\x20univer-pb-2','ShapeSunIcon','ShapeHeartIcon','oKey','objects','parse','Medium','targetShapeId','_copyInfo','ConnectorCoordinateTransform','HorizontallyIcon','setEditing','sheets-shape-ui.shape.type.chart-plus','isLineShape','_clearPopups','_activeImageId','CommandType','save','ShapeLeftBraceIcon','point','_injector','onPointerUp$','_initialize','SwooshArrow','_registerOperations','sheets-shape-ui.shape.type.flow-chart-internal-storage','insertGroupObject','SheetCanvasPopManagerService','DownArrow','SheetsShapeService','IFontService','StraightConnector1','find','_init','ShapeRtTriangleIcon','ShapeFlowChartPreparationIcon','ShapeLeftArrowIcon','adjName','PaintBucketDoubleIcon','sheets-shape-ui.shape.type.star16','removeLinePoints','_getImagePrstGeom','Decagon','getImage','ShapeCurvedRightArrowIcon','_getConnectionSiteAngle','clearAdjustControls','registerCommand','forEach','ISheetClipboardService','UturnArrow','_executeConnectionCommand','IrregularSeal2','onPointerDown$','getSheetBySheetId','UpArrow','Moon','size','ShapeFlowChartOfflineStorageIcon','Parallelogram','getEditing','ShapeFlowChartCollateIcon','visible','UpArrowCallout','worldPoints','sheets-shape-ui.shape.type.ribbon2','generateRandomId','sheets-shape-ui.shape.type.gear9','shapeText','params','other','ActionButtonBeginning','ShapeMathPlusIcon','FlowchartPunchedCard','FlowchartManualOperation','ShapeRoundRectIcon','sheets-shape-ui.shape.type.plus','executeCommand','activeAnObject','_handleConnectedEndpointMove','clip','VIEW_MAIN_LEFT_TOP','ShapeCanIcon','name','BooleanNumber','icon','Funnel','ShapeBlockArcIcon','FlowchartOffPageConnector','_sheetsShapeService','drawingId','ShapeRightBraceIcon','onRendered','sheets-shape-ui.shape.type.border-callout1','_highlightedSiteIndex','ShapeTextFloatMenuRenderControllerBase','CornerTabs','ShapeActionButtonBackPreviousIcon','updateContext','CopySheetCommand','sheets-shape-ui.shape.type.snip2-same-rect','sheets-shape-ui.insertShape','Image','BorderCallout1','_drawRichText','sheets-shape-ui.shape.type.action-button-movie','getCurrentSkeleton','START','Cloud','sheets-shape-ui.shape.type.flow-chart-summing-junction','initShapePopupMenu','lineSpacing','FlowChartInputOutput','sheets-shape-ui.shape.type.wedge-round-rect-callout','InsertShapeCommand','sheets-shape-ui.permission.editErr','_handleFreeEndpointMove','sheets-shape-ui.imagePanel.crop.shape','sheets-shape-ui.align.left','getDrawingByParam','DrawingApplyType','ShapeFlowChartInputOutputIcon','sheets-shape-ui.openPanel','ActionButtonHelp','2269336tVPSTN','fillImageSource','sheets-shape-ui.shape.type.moon','ISheetDrawingService','FlowchartDisplay','UniverSheetsShapeUIPlugin','getShapeData','ShapeStraightConnector2Icon','flipX','RightBracket','sheets-shape-ui.shape.type.flow-chart-display','cxnPointRadius','some','VIEW_MAIN_TOP','body','HomePlate','LeftRightArrow','ShapeCurvedConnector3Arrow2Icon','CurvedRightArrow','ShapeLeftBracketIcon','createControl$','sheets-shape-ui.shape.type.right-brace','sheets-shape-ui.shape.type.flow-chart-delay','call','_connectorObjects','Star7','sheets-shape-ui.shape.type.flow-chart-decision','Octagon','Snip2SameRect','_handleFreeEndpointPointerUp','_drawingRenderService','ShapeWedgeRoundRectCalloutIcon','viewportScrollX','RemoveSheetCommand','Button','getRealBound','LEFT','univer-mb-1\x20univer-rounded\x20univer-bg-gray-100\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-700\x20dark:!univer-bg-gray-800\x20dark:!univer-text-gray-200','constructor','Star32','_contextService','BOTTOM','BUTTON','default','error','getShapePopupMenus','_sheetInterceptorService','sheets-shape-ui.shape.type.curved-connector3-arrow1','_sheetBasicShapeConnectionPointController','SheetPermissionCheckController','_isDrawingShapePointDown','cxnPointStrokeWidth','drawWith','sheet.command.shape-doc-align','FORMAT','primary.600','ImageSourceTypeEnum','sheets-shape-ui.shape.type.plaque-tabs','Corner','slice','ActionButtonBackPrevious','resize','ShapeIcon','sheets-shape-ui.shape.type.straight-connector2','_registerComponents','_getImageDrawingInfo','mergeMenu','sheets-shape-ui.shape.type.flow-chart-document','ShapeFlowChartOffpageConnectorIcon','Gear9','line','ShapeActionButtonBlankIcon','updateLinePoints','SheetSkeletonManagerService','StripedRightArrow','_shapeUpdateListener','Plugin','getShapeModel','_registerGroupFeaturePasteHook','Vector2','_isOpenedShapeEditPanel','Rect','_baseShapeTop','INSERT','type','getBasicShapeRotateBound','createInternalEditorID','_currentUniverService','ShapeParallelogramIcon','index','ShapeCallout1Icon','_updateTransform','DiagStripe','ICommandService','ShapeWaveIcon','_baseHeight','getViewportByCell','floor','GROUP','sheets-shape-ui.shape.type.dodecagon','getInverseCoord','sheets-shape-ui.formatShape','IconManager','prototype','ShapeBentConnector3Arrow1Icon','sheets-shape-ui.shape.type.flow-chart-input-output','create','ShapeMathMultiplyIcon','ShapeWedgeEllipseCalloutIcon','ShapeTeardropIcon','_adjHandlerPointerMove','getRenderById','ShapeSnip2SameRectIcon','Arc','image','sheets-shape-ui.shape.type.snip2-diag-rect','_baseTop','_sheetDrawingShapeRenderController','_getShapeAdjustInfosById','spaceBelow','UniverSheetsShapePlugin','_getShapeInfo','_getConnectPointInfo','getSkeleton','getCurrentScrollState','includes','_drawSimpleText','permissionCheckWithoutRange','FlowchartAlternateProcess','UNIVER_DOC','FlowchartManualInput','sheets-shape-ui.shape.type.action-button-sound','getBentTypeFromPoints','_subUnitId','AccentBorderCallout1','_attachConnectorObjectEvent','onStarting','ShapeFlowChartMergeIcon','sheetTransform','disableObjectsEvent','starAndBanner','ShapeMoonIcon','sheets-shape-ui.shape.type.bent-up-arrow','_registerMoveHandler','_getShapeAdjustPointListById','UpdateLineShapeResizeCommand','setCursor','ShapeStar8Icon','addObject','sheets-shape-ui.shape.type.accent-border-callout2','ShapeSnip1RectIcon','ShapeFlowChartSortIcon','ShapeIrregularSeal2Icon','ShapeDefaultConfig','sheets-shape-ui.shape.type.star12','RemoveSheetsShapeMutation','_getScrollInfo','get','fillType','Module','sheet.command.menu-insert-shape','ShapeRectIcon','ShapeDownArrowIcon','localToWorld','featurePluginUpdateNotification','next','FlowchartDocument','_updateShapeAdjustControls','ShapeUturnArrowIcon','_showConnectionSites','sheets-shape-ui.shape.type.left-bracket','getValue','sheets-shape-ui.shape.type.math-plus','Shape','sheets-shape-ui.shape.type.rt-triangle','ISidebarService','RENDER_CLASS_TYPE','stringify','Star5','_univerInstanceService','UNIVER_SHEET','BorderCallout2','sheets-shape-ui.shape.type.accent-callout2','function','ShapeMathDivideIcon','ShapeLineIcon','ShapeAccentBorderCallout2Icon','ShapeRightArrowIcon','DRAWING_SHAPE','basicShape','ShapeGear9Icon','sheets-shape-ui.shape.type.chart-star','ShapeFlowChartProcessIcon','#bcbcbc','CurvedUpArrow','ShapePentagonIcon','_executeConnectedRouteConnectionCommand','SetInlineFormatTextBackgroundColorCommand','ShapeArcIcon','string','WorkbookEditablePermission','sheet.command.set-shape-text-font-size-increase','sheet.command.set-shape-text-vertical-align','sheets-shape-ui.shape.type.quad-arrow-callout','ShapeAccentCallout3Icon','_drawingManagerService','Documents','_handleConnectedEndpointPointerUp','_registerIcons','_draw','sheets-shape-ui.shape.type.action-button-back-previous','sheets-shape-ui.shape.type.octagon','sheets-shape-ui.shape.type.irregular-seal2','IRenderManagerService','SHEET_VIEWPORT_KEY','ShapeUpDownArrowCalloutIcon','ShapeTextEditorContainer','sin','_targetShapeId','sheets-shape-ui.shape.type.left-right-up-arrow','drawing.operation.set-drawing-active','unsubscribe','sheets-shape-ui.shape.type.wedge-ellipse-callout','_registerShapeMenu','TOP','sheets-shape-ui.shape.type.down-arrow','DrawingCommonPanel','CurvedLeftArrow','getDrawingSearch','getCurrentRangeDisable$','ShapeFlowChartAlternateProcessIcon','sheets-shape-ui.shape.type.accent-callout1','9792837HkcSVW','_lastEditingShapeKey','sheets-shape-ui.toggleTextVertical','flipY','ShapeDonutIcon','SolidLine','useEffect','IrregularSeal1','sheets-shape-ui.shape.type.flow-chart-punched-card','CurvedDownArrow','FlowchartInternalStorage','2872CmKCMn','_renderManagerService','LAYOUT','Snip2DiagRect','CUT','disableShapeOption','ShapeFlowChartPredefinedProcessIcon','_getDrawingRect','getDrawingShapeKeyByDrawingSearch','ShapeCornerTabsIcon','cxnIndex','574608XnhHNm','sheets-shape-ui.shape.type.round-rect','sheetViewStartRow','resetCursor','ShapeUpArrowIcon','ShapeAccentBorderCallout1Icon','sheets-shape-ui.shape.type.notched-right-arrow','ShapeGear6Icon','_clearShapeAdjustControls','SheetScrollManagerService','sheets-shape-ui.shape.type.vertical-scroll','subscribeContextValue$','transform','dispose','toDisposable','PlaqueTabs','sheets-shape-ui.shape.type.flow-chart-manual-operation','ShapeRectTextboxHorizontalIcon','_createShapeAdjustControls','FlowchartExtract','sheets-shape-ui.toolbar.fillColor.main','sheets-shape-ui.shape.type.action-button-help','_shapes','_sheetSkeletonService','getObjectIncludeInGroup','ancestorTransform','ShapeActionButtonReturnIcon','entries','useState','IUndoRedoService','sheets-shape-ui.shape.type.double-wave','ShapeNotchedRightArrowIcon','UPDATE','ShapeStar7Icon','sheets-shape-ui.shape.type.flow-chart-extract','getShapeType','1.0.0-alpha.0','ShapeDownArrowCalloutIcon','_focusedDrawings','ShapeLeftArrowCalloutIcon','_shapeEditPanelVersion','ShapeStar5Icon','beforeCommandExecuted','#1a73e8','viewportScrollY','_rerouteConnectorLine','sheets-shape-ui.shape.type.wave','sheets-shape-ui.shape.type.quad-arrow','from','sheets-shape-ui.shape.type.lightning-bolt','ShapeAccentCallout1Icon','_disposePopups','attachRangeWithCoord','DocumentDataModel','Pentagon','WedgeRoundRectCallout','isEditing','ShapeLeftRightCircularArrowIcon','sheets-shape-ui.shape.type.right-bracket','_initMenu','sheet.operation.open-sheet-shape-format-panel','VIEW_MAIN','_openShapeEditPanel','LocaleService','FOCUSING_SHAPE_TEXT_EDITOR','WedgeRectCallout','sheets-shape-ui.shape.type.flow-chart-process','20XGdHmJ','redo','sheets-shape-ui.align.top','sheets-shape-ui.shape.type.gear6','complete','Ribbon','_attachAdjustEvent','Heptagon','ShapeLightningBoltIcon','switchMap','VIEW_MAIN_LEFT','SetShapeTextHorizontalAlignCommand','_handleBasicShapeUpdateConnectorLineShape','ShapeDiagStripeIcon','ResetInlineFormatTextBackgroundColorCommand','DEFAULT','_addShapeConnectorHandlerObject','DRAWING_OBJECT_LAYER_INDEX','beginPath','CENTER','ActionButtonDocument','BlockArc','Sun','_clipService','RibbonPosition','FlowchartTerminator','_currentConnectionTarget','sheets-shape-ui.shape.type.action-button-end','_baseLeft','_createControls','_isStartAdjusting','ShapeDoubleWaveIcon','ShapeDodecagonIcon','documentStyle','sheets-shape-ui.shape.type.flow-chart-online-storage','transformByState','_sheetCanvasPopManagerService','ShapeActionButtonHelpIcon','height','blockExecuteWithoutPermission','Callout2','sheets-shape-ui.shape.type.striped-right-arrow','Ribbon2','_editingParams$','Plaque','_clearConnectionSites','translateWithPrecision','_sidebarDisposable','changeEnd$','ShapeWedgeRectCalloutIcon','sheets-shape-ui.shape.type.bent-arrow','routeConnectorLineShape','_baseWidth','ShapeSquareTabsIcon','getZoomRatio','_generatePasteMutations','sheets-shape-ui.shape.type.flow-chart-manual-input','_drawShapeText','_draggingConnectorId','DocSelectionManagerService','CURSOR_TYPE','ShapeFlowChartDisplayIcon','cxnPointFill','ShapeBentConnector3Arrow2Icon','touchDependencies','getConnectionInfo','WrapStrategy','getShapeTextRect','DoubleWave','FlowchartMerge','None','MenuItemType','useDependency','FlowchartCollate','_configService','ActionButtonEnd','sheets-shape-ui.shape.type.left-circular-arrow','REMOVE','ShapeBracketPairIcon','_baseDrawingRect','VerticalCenterIcon','sheets-shape-ui.shape.type.ellipse','ShapeBorderCallout3Icon','_baseShapeHeight','BentConnector3','ActionButtonBlank','changeShapeType','SetSheetsShapeRotateCommand','getBasicShapeRelation','ShapeBorderCallout1Icon','callout','doc','PieWedge','sheet.command.set-shape-text-font-size','focus$','_adjHandlerPointerUp','ShapeFolderCornerIcon','DRAWING_DOM','setSrcRect','_addShapeConnectorHandlerObjects','IUniverInstanceService','attachTransformerTo','abs','restore','sheets-shape-ui.shape.type.square-tabs','draw','Ellipse','ShapeFlowChartDecisionIcon','ShapeQuadArrowIcon','ShapeOctagonIcon','ShapeStar4Icon','ShapeVerticalScrollIcon','_groupCopyPasteController','MathMultiply','_adjName','sheets-shape-ui.shape.type.up-arrow-callout','sheets-shape-ui.shape.type.folder-corner','zeroWidthParagraphBreak','ShapeRibbonIcon','ShapeFlowChartDocumentIcon','Pie','Tools','ShapeStar24Icon','isHighlighted','getTransformer','DownArrowCallout','getMatrix','getFonts','sheets-shape-ui.shape.type.round2-diag-rect','ChartX','shapeData','ShapeBracePairIcon','@univerjs-pro/sheets-shape-ui','sheets-shape-ui.shape.type.callout1','Star8','sheets-shape-ui.shape.type.hexagon','ShapeLeftRightRibbonIcon','EllipseRibbon','ShapeLeftRightUpArrowIcon','open','fill','ShapeFloatingToolbar','editingParams$','_activeShapeModel','7966CNNTYl','sheets-shape-ui.shape.type.flow-chart-preparation','ShapeFlowChartManualInputIcon','CurvedConnector3','drawingType','clip-adj-','VerticalScroll','custom','UniverInstanceType','_registerDrawingMoveHandler','LeftJustifyingIcon','getImageSourceCache','ShapeHorizontalScrollIcon','_reset','COLOR_PICKER_COMPONENT','_initPermission','vertical','sheets-shape-ui.shape.type.callout3','CROSSHAIR','sheets-shape-ui.shape.type.plaque','sheets-shape-ui','FOCUSING_COMMON_DRAWINGS','InsertSheetsShapeMutation','_config','TRUE','dataModel','sheets-shape-ui.shape.type.math-minus','map','ShapeFlowChartConnectorIcon','MIDDLE','AlignTopIcon','renderDrawingShape','ShapeChartStarIcon','sheets-shape-ui.shape.type.decagon','_sheetDrawingService','attachPopupToObject','stopPropagation','registerRenderModule','_generateCopyPasteMutations','_props','ShapeCurvedConnector3Icon','angle','ShapeCloudIcon','ShapeFlowChartInternalStorageIcon','render','Diamond','_initSheetChange','sheets-shape-ui.toolbar.horizontalAlignMode.main','isRichText','sheets-shape-ui.shape.type.bracket-pair','UpdateConnectorRelationCommand','shapeType','_baseShapeLeft','_cxnIndex','ShapeTrapezoidIcon','_sheetPermissionCheckController','setShapeProps','srcRect','RightTriangle','asObservable','jsx','ShapeActionButtonForwardNextIcon','_executeConnectedRouteResizeCommand','ShapeBentUpArrowIcon','push','ShapeUpDownArrowIcon','_hasReset','sheets-shape-ui.shape.type.teardrop','RightArrowCallout','sheets-shape-ui.align.bottom','getAdjustNames','ShapeLeftRightArrowCalloutIcon','spaceAbove','RibbonStartGroup','ActionButtonHome','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','ShapeHeptagonIcon','width','setConfig','ShapeRound2SameRectIcon','sheets-shape-ui.shape.type.round1-rect','Observable','sheets-shape-ui.shape.type.funnel','DocumentViewModel','ShapeActionButtonBeginningIcon','activeSheet$','preValue','_loadShapePictureFill','setAdjustValueByName','clipByShape','_activeShapeId','VerticalAlign','FlowchartPredefinedProcess','strokeWidth','pipe','_sheetShapeAdjustController','DocSelectionRenderService','AccentCallout3','calculate','_drawingAddListener','IContextService','ActionButtonReturn','addClipboardHook','rectangle','adjHandleStroke','AccentCallout2','sheets-shape-ui.shape.type.star4','SHAPE','WorksheetEditPermission','_clearControls','_getOrCreateShapeModel','sheets-shape-ui.shape.type.action-button-home','shapeId','getShapeDataById','ShapeMathMinusIcon','Snip1Rect','getConnectionRelation','Callout1','ShapeLineInvIcon','sheets-shape-ui.shape.type.flow-chart-magnetic-tape','gdRefAng','sheets-shape-ui.shape.type.flow-chart-or','gdRefX','ang','sheets-shape-ui.shape.type.ribbon','sheets-shape-ui.shape.type.no-smoking','sheets-shape-ui.shape.type.left-brace','setOnSavingEditorData','Callout3','BUTTON_SELECTOR','ShapeCurvedConnector3Arrow1Icon','IDrawingManagerService','ShapeArrowTypeEnum','VERTICAL_ROTATE_ANGLE','sheets-shape-ui.shape.group.','ShapeEllipseRibbon2Icon','left','sheets-shape-ui.shape.type.accent-border-callout3','_cxtHandlerPointerMove','getDrawingEditable','CloudCallout','dataStream','setPrstGeomAdjValues','AccentBorderCallout3','worldRect','sheets-shape-ui.shape.type.up-down-arrow','sheets-shape-ui.shape.type.corner','QuadArrow','offsetY','#FFFFFF','_shapeService','ShapeBorderCallout2Icon','getSheetCommandTarget','ShapeStripedRightArrowIcon','object','getAllUnitsForType','sheets-shape-ui.shape.type.math-multiply','sheets-shape-ui.shape.type.pentagon','max','sheets-shape-ui.shape.type.action-button-document','_isStartConnectorPoint','sheets-shape-ui.shape.type.frame','sheets-shape-ui.shape.type.rect-textbox-vertical','value','disposeWithMe','sheets-shape-ui.shape.type.left-right-circular-arrow','popup','SquareTabs','ShapeLeftUpArrowIcon','_transformCalculateSrcRect','sheet.shape.picker.component','registerClipDelegate','_shapeTextEditingService','ShapeActionButtonInformationIcon','ActionButtonForwardNext','ShapeBentConnector3Icon','getFocusDrawings','ShapeFlowChartMagneticTapeIcon','sheet.shape.edit.panel','image-clip-adjust-point-','copyType','localeService','getAdjustInfoByName','pushUndoRedo','Donut','gdRefR','_imageIoService','shapeModel','_getZoomRatio','ShapeStar16Icon','horizontal','1439026AqfSyl','onSavingEditorData$','addImageSourceCache','prstGeom','MathEqual','focusDrawing','pick','_activeTargetShapeId','sheets-shape-ui.shape.type.chevron','getTransformerByCreate','setCanUseShapeClip','lineType','makeDirty','onload','sheets-shape-ui.shape.type.cube','transformToDrawingPosition','getShapeTypeById','with','getCurrentUnitInfo','RoundRect','keys','_baseShapeWidth','paragraphs','getAdjustValueByName','SetShapeTextVerticalAlignCommand','getUnitId','getStartConnectInfo','_handleConnectorPointerUp','sheets-shape-ui.shape.type.triangle','QuadArrowCallout','_shapeId','ShapeEllipseRibbonIcon','sheets-shape-ui.shape.type.snip1-rect','onCommandExecuted','RIGHT','ShapeFunnelIcon','ShapeActionButtonEndIcon','_insertShapes','ShapeCornerIcon','div','getDrawingVisible','FlowChartOfflineStorage','top','offsetX','_context','ShapeFlowChartMagneticDiskIcon','ActionButtonSound','ShapeTypeEnum','SetDrawingApplyMutation','ShapeBevelIcon','_isShouldShowDrawingShapeAdjust','MathMinus','_calculateFreeEndpointAngle','sheets-shape-ui.shape.type.half-frame','flowchart','RightArrow','sheets-shape-ui.align.right','stroke','isArray','undo','update$','shape-adjust-point-','ShapeStar10Icon','sheets-shape-ui.shape.type.flow-chart-terminator','ShapeDiamondIcon','sheets-shape-ui.shape.type.flow-chart-multidocument','endConnectionDetection','sheets-shape-ui.shape.type.curved-connector3','CircularArrow','#111827','sheets-shape-ui.shape.type.flow-chart-predefined-process','adjHandleFill','sheets-shape-ui.shape.type.snip-round-rect','getCurrentTypeOfUnit$','sheets-shape-ui.shape.type.flow-chart-offpage-connector','getDrawingData','ShapeActionButtonHomeIcon','defineProperty','Inject','sheets-shape-ui.toolbar.verticalAlignMode.main','setShouldShowAdjust','EMPTY','_closeShapeEditPanel','getSkeletonParam','ShapeEllipseIcon','startArrow','connection-site-','Round2DiagRect','add','getDrawingOrder','_isHighlighted','sheets-shape-ui.rotateRight90','FlowchartDecision','isCurvedConnectorShape'];_0x4e63=function(){return _0x1dcb91;};return _0x4e63();}function Te(_0x4f35c9){const _0x3a1823=_0x559cdc;let {unitId:_0x508f8a,subUnitId:_0x4ed08b,shapeId:_0x2a407}=_0x4f35c9,_0x354885=(0x0,l[_0x3a1823(0x3a5)])(t[_0x3a1823(0x279)]),_0x3204fa=(0x0,l[_0x3a1823(0x3a5)])(W);return(0x0,h[_0x3a1823(0x429)])(v[_0x3a1823(0x196)],{..._0x4f35c9,'positionEditor':(0x0,h['jsx'])(we,{}),'onUpdateShapeData':(_0x50b1de,_0x593e1d)=>{F(_0x354885,_0x508f8a,_0x4ed08b,_0x2a407,_0x50b1de,_0x593e1d);},'onUpdateLineShapeData':(_0x4c5e42,_0x543e80)=>{ne(_0x354885,_0x508f8a,_0x4ed08b,_0x2a407,_0x4c5e42,_0x543e80);},'onUpdateShapeFillImage':_0x44b09a=>{_0x3204fa['updateShapeFillImage']({'unitId':_0x508f8a,'subUnitId':_0x4ed08b,'drawingId':_0x2a407},_0x44b09a);}});}function Ee(_0x22ec19){const _0x4a3d8d=_0x559cdc;let _0x513ef0=_0x22ec19[_0x4a3d8d(0x1e4)];return _0x513ef0&&_0x4a3d8d(0x406)in _0x513ef0&&_0x513ef0['dataModel']?_0x513ef0['dataModel']:null;}function De(_0x162f17){const _0x1f642d=_0x559cdc;var _0x53b428,_0xd088d1,_0x21f2ed,_0x232032;let _0x4614c7=(_0x53b428=Ee(_0x162f17))==null?void 0x0:_0x53b428[_0x1f642d(0x3b8)],_0x17b227=(_0xd088d1=_0x4614c7==null||(_0x21f2ed=_0x4614c7[_0x1f642d(0x22a)])==null||(_0x21f2ed=_0x21f2ed['textRuns'])==null||(_0x21f2ed=_0x21f2ed[0x0])==null?void 0x0:_0x21f2ed['ts'])==null?{}:_0xd088d1;return{..._0x4614c7==null||(_0x232032=_0x4614c7[_0x1f642d(0x37e)])==null?void 0x0:_0x232032['textStyle'],..._0x17b227};}function Oe(_0x31ffd8){const _0x50803e=_0x559cdc;let _0x3c20ed=_0x31ffd8[_0x50803e(0x493)][_0x50803e(0x557)];return _0x3c20ed?(0x0,h[_0x50803e(0x429)])(ke,{..._0x3c20ed}):null;}function ke(_0x3a57ad){const _0x4f8871=_0x559cdc;var _0x2130d2,_0x8bb8a1;let _0x406f25=(0x0,l[_0x4f8871(0x3a5)])(t['ICommandService']),_0x3649d2=(0x0,l[_0x4f8871(0x3a5)])(t[_0x4f8871(0x359)]),_0x575f88=(0x0,l['useDependency'])(e[_0x4f8871(0x1bd)]),_0x733efa=(0x0,l['useDependency'])(l[_0x4f8871(0x1be)]),{unitId:_0x2c578a,subUnitId:_0x3cd4ed,drawingId:_0xa8ba91,drawingType:_0xffef56,shapeType:_0x57f6f5}=_0x3a57ad,[_0x5ab36a,_0x4cdd07]=(0x0,m['useState'])(_0x3a57ad[_0x4f8871(0x3df)]),[_0x3a057e,_0x47f43e]=(0x0,m['useState'])(()=>_0x733efa[_0x4f8871(0x3dc)]()),_0x3b2cdf=(0x0,m[_0x4f8871(0x5a8)])(()=>De(_0x5ab36a),[_0x5ab36a]),_0x453633=(0x0,m[_0x4f8871(0x5a8)])(()=>Ee(_0x5ab36a),[_0x5ab36a]);(0x0,m['useEffect'])(()=>{const _0x4be5ba=_0x4f8871;let _0x312d84=_0x406f25['onCommandExecuted'](_0x49db2d=>{const _0x2b95ec=_0x51f7;if(_0x49db2d['id']!==e[_0x2b95ec(0x18f)]['id'])return;let _0x1fc51=_0x575f88[_0x2b95ec(0x45e)](_0x2c578a,_0x3cd4ed,_0xa8ba91);_0x1fc51&&_0x4cdd07(_0x1fc51);});return()=>_0x312d84[_0x4be5ba(0x327)]();},[_0x406f25,_0xa8ba91,_0x575f88,_0x3cd4ed,_0x2c578a]),(0x0,m[_0x4f8871(0x30a)])(()=>{const _0x375bd5=_0x4f8871;let _0x13fa5a=_0x733efa['fonts$']['subscribe'](_0x447b66=>{_0x47f43e(_0x447b66);});return()=>_0x13fa5a[_0x375bd5(0x2f9)]();},[_0x733efa]);let _0x5db562=_0x2752ed=>{_0x4cdd07(_0x228f6f=>({..._0x228f6f,..._0x2752ed}));},_0x23975e=_0x1f8ece=>{const _0x26f85d=_0x4f8871;let _0x2db832=(0x0,v[_0x26f85d(0x5bc)])(_0x5ab36a,_0x1f8ece);F(_0x406f25,_0x2c578a,_0x3cd4ed,_0xa8ba91,{'oldShapeData':{'shapeText':_0x5ab36a['shapeText']}},_0x2db832),_0x5db562(_0x2db832);},_0x59a2f4=_0x3a057e[_0x4f8871(0x408)](_0x319340=>({'label':_0x3649d2['t'](_0x319340['label']),'value':_0x319340[_0x4f8871(0x490)]}));return(0x0,h[_0x4f8871(0x429)])(v[_0x4f8871(0x3ea)],{'shapeData':_0x5ab36a,'shapeType':_0x57f6f5,'textStyle':{'cl':{'rgb':_0x4f8871(0x4f1)},..._0x3b2cdf},'textModel':_0x453633?{'ha':(_0x2130d2=_0x453633['ha'])==null?t[_0x4f8871(0x552)][_0x4f8871(0x240)]:_0x2130d2,'va':(_0x8bb8a1=_0x453633['va'])==null?t['VerticalAlign'][_0x4f8871(0x2fc)]:_0x8bb8a1}:null,'fontOptions':_0x59a2f4,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'onUpdateShapeData':(_0x42342b,_0x308299)=>{F(_0x406f25,_0x2c578a,_0x3cd4ed,_0xa8ba91,_0x42342b,_0x308299),_0x308299&&_0x5db562(_0x308299);},'onUpdateText':_0x23975e,'onOpenPanel':()=>{const _0x4d7481=_0x4f8871;_0x406f25[_0x4d7481(0x1ed)](N['id'],{'unitId':_0x2c578a,'subUnitId':_0x3cd4ed,'drawingId':_0xa8ba91});},'onDelete':()=>{const _0x42fd0e=_0x4f8871;_0x406f25['executeCommand'](r[_0x42fd0e(0x59d)]['id'],{'unitId':_0x2c578a,'drawings':[{'unitId':_0x2c578a,'subUnitId':_0x3cd4ed,'drawingId':_0xa8ba91,'drawingType':_0xffef56}]});}});}const Ae=(0x0,m['memo'])(()=>{const _0x48c410=_0x559cdc;let _0x528aa3=(0x0,l[_0x48c410(0x3a5)])(C),_0x23cbf5=(0x0,l['useDependency'])(e[_0x48c410(0x1bd)]),_0x448b7e=(0x0,l[_0x48c410(0x3a5)])(a[_0x48c410(0x470)]),_0x1870d2=(0x0,l[_0x48c410(0x3a5)])(t['ICommandService']);return(0x0,h['jsx'])(v['ShapeTextEditorContainer'],{'adapter':(0x0,m['useMemo'])(()=>({'getShapeModel':(_0xaa22d8,_0x2239d4,_0x5400b3)=>_0x23cbf5[_0x48c410(0x269)](_0xaa22d8,_0x2239d4,_0x5400b3),'getDrawingTransform':(_0x2d0c86,_0x50f321,_0x3fafc4)=>{const _0x8239ce=_0x48c410;let _0x2780c0=_0x448b7e['getDrawingByParam']({'unitId':_0x2d0c86,'subUnitId':_0x50f321,'drawingId':_0x3fafc4});return _0x2780c0==null?void 0x0:_0x2780c0[_0x8239ce(0x326)];},'updateShapeText':({unitId:_0x3c1283,subUnitId:_0x3e83f3,shapeId:_0xf56f79,shapeText:_0x574253,oldShapeText:_0x40cefc})=>{const _0x552ed0=_0x48c410;_0x1870d2[_0x552ed0(0x1ed)](T['id'],{'unitId':_0x3c1283,'subUnitId':_0x3e83f3,'shapeId':_0xf56f79,'shapeData':{'shapeText':_0x574253},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x40cefc}}});}}),[_0x1870d2,_0x448b7e,_0x23cbf5]),'editingService':_0x528aa3,'editorUnitId':te,'positionOptions':(0x0,m[_0x48c410(0x5a8)])(()=>({'viewportKeys':{'main':o[_0x48c410(0x2f2)][_0x48c410(0x357)],'leftTop':o['SHEET_VIEWPORT_KEY'][_0x48c410(0x1f1)],'top':o[_0x48c410(0x2f2)][_0x48c410(0x229)],'left':o[_0x48c410(0x2f2)][_0x48c410(0x367)]},'getSkeleton':(_0x520036,_0x334df5)=>{const _0xad4c82=_0x48c410;var _0x361e2c,_0xa5cf63;return(_0x361e2c=(_0xa5cf63=_0x520036[_0xad4c82(0x4bd)](c[_0xad4c82(0x265)])[_0xad4c82(0x4ff)](_0x334df5[_0xad4c82(0x582)]))==null?void 0x0:_0xa5cf63[_0xad4c82(0x591)])==null?null:_0x361e2c;}}),[]),'verticalAlignCommandId':A['id']});});let G=class extends t['Disposable']{constructor(_0x5b30a0,_0x57fba4){const _0x3faebf=_0x559cdc;super(),this[_0x3faebf(0x186)]=_0x5b30a0,this[_0x3faebf(0x59a)]=_0x57fba4,this[_0x3faebf(0x2ec)](),this[_0x3faebf(0x25c)]();}[_0x559cdc(0x2ec)](){const _0x51c56c=_0x559cdc;this[_0x51c56c(0x491)](this[_0x51c56c(0x59a)]['register']({'ShapeAccentBorderCallout1Icon':_[_0x51c56c(0x31f)],'ShapeAccentBorderCallout2Icon':_[_0x51c56c(0x2d6)],'ShapeAccentBorderCallout3Icon':_[_0x51c56c(0x5d7)],'ShapeAccentCallout1Icon':_[_0x51c56c(0x34c)],'ShapeAccentCallout2Icon':_[_0x51c56c(0x163)],'ShapeAccentCallout3Icon':_[_0x51c56c(0x2e8)],'ShapeActionButtonBackPreviousIcon':_['ShapeActionButtonBackPreviousIcon'],'ShapeActionButtonBeginningIcon':_['ShapeActionButtonBeginningIcon'],'ShapeActionButtonBlankIcon':_[_0x51c56c(0x263)],'ShapeActionButtonDocumentIcon':_[_0x51c56c(0x5d2)],'ShapeActionButtonEndIcon':_[_0x51c56c(0x4d0)],'ShapeActionButtonForwardNextIcon':_[_0x51c56c(0x42a)],'ShapeActionButtonHelpIcon':_[_0x51c56c(0x382)],'ShapeActionButtonHomeIcon':_[_0x51c56c(0x4f8)],'ShapeActionButtonInformationIcon':_[_0x51c56c(0x49a)],'ShapeActionButtonMovieIcon':_[_0x51c56c(0x5a1)],'ShapeActionButtonReturnIcon':_[_0x51c56c(0x334)],'ShapeActionButtonSoundIcon':_['ShapeActionButtonSoundIcon'],'ShapeArcIcon':_['ShapeArcIcon'],'ShapeBentArrowIcon':_[_0x51c56c(0x559)],'ShapeBentConnector3Arrow1Icon':_[_0x51c56c(0x284)],'ShapeBentConnector3Arrow2Icon':_[_0x51c56c(0x39c)],'ShapeBentConnector3Icon':_[_0x51c56c(0x49c)],'ShapeBentUpArrowIcon':_['ShapeBentUpArrowIcon'],'ShapeBevelIcon':_[_0x51c56c(0x4dd)],'ShapeBlockArcIcon':_[_0x51c56c(0x1f7)],'ShapeBorderCallout1Icon':_[_0x51c56c(0x3b6)],'ShapeBorderCallout2Icon':_[_0x51c56c(0x484)],'ShapeBorderCallout3Icon':_[_0x51c56c(0x3af)],'ShapeBracePairIcon':_[_0x51c56c(0x3e0)],'ShapeBracketPairIcon':_[_0x51c56c(0x3ab)],'ShapeCallout1Icon':_[_0x51c56c(0x276)],'ShapeCallout2Icon':_['ShapeCallout2Icon'],'ShapeCallout3Icon':_['ShapeCallout3Icon'],'ShapeCanIcon':_['ShapeCanIcon'],'ShapeChartPlusIcon':_[_0x51c56c(0x158)],'ShapeChartStarIcon':_[_0x51c56c(0x40d)],'ShapeChartXIcon':_[_0x51c56c(0x16f)],'ShapeChevronIcon':_[_0x51c56c(0x568)],'ShapeChordIcon':_[_0x51c56c(0x18c)],'ShapeCircularArrowIcon':_[_0x51c56c(0x5d9)],'ShapeCloudCalloutIcon':_[_0x51c56c(0x17a)],'ShapeCloudIcon':_['ShapeCloudIcon'],'ShapeCornerIcon':_[_0x51c56c(0x4d2)],'ShapeCornerTabsIcon':_[_0x51c56c(0x318)],'ShapeCubeIcon':_[_0x51c56c(0x59c)],'ShapeCurvedConnector3Arrow1Icon':_[_0x51c56c(0x46f)],'ShapeCurvedConnector3Arrow2Icon':_[_0x51c56c(0x22d)],'ShapeCurvedConnector3Icon':_[_0x51c56c(0x415)],'ShapeCurvedDownArrowIcon':_[_0x51c56c(0x169)],'ShapeCurvedLeftArrowIcon':_['ShapeCurvedLeftArrowIcon'],'ShapeCurvedRightArrowIcon':_[_0x51c56c(0x1cc)],'ShapeCurvedUpArrowIcon':_[_0x51c56c(0x594)],'ShapeDecagonIcon':_[_0x51c56c(0x168)],'ShapeDiagStripeIcon':_['ShapeDiagStripeIcon'],'ShapeDiamondIcon':_['ShapeDiamondIcon'],'ShapeDodecagonIcon':_[_0x51c56c(0x37d)],'ShapeDonutIcon':_[_0x51c56c(0x308)],'ShapeDoubleWaveIcon':_['ShapeDoubleWaveIcon'],'ShapeDownArrowCalloutIcon':_[_0x51c56c(0x33f)],'ShapeDownArrowIcon':_[_0x51c56c(0x2be)],'ShapeEllipseIcon':_[_0x51c56c(0x500)],'ShapeEllipseRibbon2Icon':_[_0x51c56c(0x474)],'ShapeEllipseRibbonIcon':_[_0x51c56c(0x4cb)],'ShapeFlowChartAlternateProcessIcon':_[_0x51c56c(0x302)],'ShapeFlowChartCollateIcon':_[_0x51c56c(0x1dd)],'ShapeFlowChartConnectorIcon':_[_0x51c56c(0x409)],'ShapeFlowChartDecisionIcon':_[_0x51c56c(0x3c8)],'ShapeFlowChartDelayIcon':_[_0x51c56c(0x14c)],'ShapeFlowChartDisplayIcon':_[_0x51c56c(0x39a)],'ShapeFlowChartDocumentIcon':_['ShapeFlowChartDocumentIcon'],'ShapeFlowChartExtractIcon':_['ShapeFlowChartExtractIcon'],'ShapeFlowChartInputOutputIcon':_[_0x51c56c(0x219)],'ShapeFlowChartInternalStorageIcon':_[_0x51c56c(0x418)],'ShapeFlowChartMagneticDiskIcon':_[_0x51c56c(0x4d9)],'ShapeFlowChartMagneticDrumIcon':_['ShapeFlowChartMagneticDrumIcon'],'ShapeFlowChartMagneticTapeIcon':_['ShapeFlowChartMagneticTapeIcon'],'ShapeFlowChartManualInputIcon':_[_0x51c56c(0x3ef)],'ShapeFlowChartManualOperationIcon':_['ShapeFlowChartManualOperationIcon'],'ShapeFlowChartMergeIcon':_[_0x51c56c(0x2a5)],'ShapeFlowChartMultidocumentIcon':_[_0x51c56c(0x55a)],'ShapeFlowChartOfflineStorageIcon':_[_0x51c56c(0x1da)],'ShapeFlowChartOffpageConnectorIcon':_[_0x51c56c(0x260)],'ShapeFlowChartOnlineStorageIcon':_[_0x51c56c(0x551)],'ShapeFlowChartOrIcon':_[_0x51c56c(0x5c3)],'ShapeFlowChartPredefinedProcessIcon':_[_0x51c56c(0x315)],'ShapeFlowChartPreparationIcon':_[_0x51c56c(0x1c3)],'ShapeFlowChartProcessIcon':_[_0x51c56c(0x2dc)],'ShapeFlowChartPunchedCardIcon':_['ShapeFlowChartPunchedCardIcon'],'ShapeFlowChartPunchedTapeIcon':_['ShapeFlowChartPunchedTapeIcon'],'ShapeFlowChartSortIcon':_[_0x51c56c(0x2b3)],'ShapeFlowChartSummingJunctionIcon':_[_0x51c56c(0x55d)],'ShapeFlowChartTerminatorIcon':_['ShapeFlowChartTerminatorIcon'],'ShapeFolderCornerIcon':_['ShapeFolderCornerIcon'],'ShapeFrameIcon':_[_0x51c56c(0x554)],'ShapeFunnelIcon':_[_0x51c56c(0x4cf)],'ShapeGear6Icon':_[_0x51c56c(0x321)],'ShapeGear9Icon':_[_0x51c56c(0x2da)],'ShapeHalfFrameIcon':_['ShapeHalfFrameIcon'],'ShapeHeartIcon':_[_0x51c56c(0x1a2)],'ShapeHeptagonIcon':_[_0x51c56c(0x439)],'ShapeHexagonIcon':_[_0x51c56c(0x5b6)],'ShapeHomePlateIcon':_[_0x51c56c(0x155)],'ShapeHorizontalScrollIcon':_[_0x51c56c(0x3f9)],'ShapeIrregularSeal1Icon':_['ShapeIrregularSeal1Icon'],'ShapeIrregularSeal2Icon':_[_0x51c56c(0x2b4)],'ShapeLeftArrowCalloutIcon':_[_0x51c56c(0x341)],'ShapeLeftArrowIcon':_[_0x51c56c(0x1c4)],'ShapeLeftBraceIcon':_[_0x51c56c(0x1b2)],'ShapeLeftBracketIcon':_[_0x51c56c(0x22f)],'ShapeLeftCircularArrowIcon':_[_0x51c56c(0x533)],'ShapeLeftRightArrowCalloutIcon':_[_0x51c56c(0x434)],'ShapeLeftRightArrowIcon':_[_0x51c56c(0x596)],'ShapeLeftRightCircularArrowIcon':_[_0x51c56c(0x353)],'ShapeLeftRightRibbonIcon':_[_0x51c56c(0x3e5)],'ShapeLeftRightUpArrowIcon':_[_0x51c56c(0x3e7)],'ShapeLeftUpArrowIcon':_[_0x51c56c(0x495)],'ShapeLightningBoltIcon':_['ShapeLightningBoltIcon'],'ShapeLineIcon':_['ShapeLineIcon'],'ShapeLineInvIcon':_[_0x51c56c(0x463)],'ShapeMathDivideIcon':_[_0x51c56c(0x2d4)],'ShapeMathEqualIcon':_['ShapeMathEqualIcon'],'ShapeMathMinusIcon':_[_0x51c56c(0x45f)],'ShapeMathMultiplyIcon':_[_0x51c56c(0x287)],'ShapeMathNotEqualIcon':_['ShapeMathNotEqualIcon'],'ShapeMathPlusIcon':_[_0x51c56c(0x1e8)],'ShapeMoonIcon':_['ShapeMoonIcon'],'ShapeNoSmokingIcon':_['ShapeNoSmokingIcon'],'ShapeNonIsoscelesTrapezoidIcon':_[_0x51c56c(0x535)],'ShapeNotchedRightArrowIcon':_[_0x51c56c(0x339)],'ShapeOctagonIcon':_[_0x51c56c(0x3ca)],'ShapeParallelogramIcon':_['ShapeParallelogramIcon'],'ShapePentagonIcon':_[_0x51c56c(0x2df)],'ShapePieIcon':_[_0x51c56c(0x5eb)],'ShapePieWedgeIcon':_[_0x51c56c(0x50f)],'ShapePlaqueIcon':_[_0x51c56c(0x197)],'ShapePlaqueTabsIcon':_[_0x51c56c(0x570)],'ShapePlusIcon':_['ShapePlusIcon'],'ShapeQuadArrowCalloutIcon':_[_0x51c56c(0x184)],'ShapeQuadArrowIcon':_['ShapeQuadArrowIcon'],'ShapeRectIcon':_['ShapeRectIcon'],'ShapeRectTextboxHorizontalIcon':_[_0x51c56c(0x32b)],'ShapeRectTextboxVerticalIcon':_[_0x51c56c(0x593)],'ShapeRibbon2Icon':_[_0x51c56c(0x511)],'ShapeRibbonIcon':_[_0x51c56c(0x3d3)],'ShapeRightArrowCalloutIcon':_[_0x51c56c(0x187)],'ShapeRightArrowIcon':_[_0x51c56c(0x2d7)],'ShapeRightBraceIcon':_[_0x51c56c(0x1fb)],'ShapeRightBracketIcon':_['ShapeRightBracketIcon'],'ShapeRound1RectIcon':_['ShapeRound1RectIcon'],'ShapeRound2DiagRectIcon':_[_0x51c56c(0x5a4)],'ShapeRound2SameRectIcon':_[_0x51c56c(0x43c)],'ShapeRoundRectIcon':_[_0x51c56c(0x1eb)],'ShapeRtTriangleIcon':_['ShapeRtTriangleIcon'],'ShapeSmileyFaceIcon':_['ShapeSmileyFaceIcon'],'ShapeSnip1RectIcon':_[_0x51c56c(0x2b2)],'ShapeSnip2DiagRectIcon':_['ShapeSnip2DiagRectIcon'],'ShapeSnip2SameRectIcon':_[_0x51c56c(0x28c)],'ShapeSnipRoundRectIcon':_[_0x51c56c(0x523)],'ShapeSquareTabsIcon':_[_0x51c56c(0x392)],'ShapeStar10Icon':_[_0x51c56c(0x4ea)],'ShapeStar12Icon':_['ShapeStar12Icon'],'ShapeStar16Icon':_[_0x51c56c(0x4aa)],'ShapeStar24Icon':_[_0x51c56c(0x3d7)],'ShapeStar32Icon':_[_0x51c56c(0x171)],'ShapeStar4Icon':_[_0x51c56c(0x3cb)],'ShapeStar5Icon':_[_0x51c56c(0x343)],'ShapeStar6Icon':_[_0x51c56c(0x5a0)],'ShapeStar7Icon':_['ShapeStar7Icon'],'ShapeStar8Icon':_[_0x51c56c(0x2af)],'ShapeStraightConnector1Icon':_['ShapeStraightConnector1Icon'],'ShapeStraightConnector2Icon':_['ShapeStraightConnector2Icon'],'ShapeStripedRightArrowIcon':_[_0x51c56c(0x486)],'ShapeSunIcon':_[_0x51c56c(0x1a1)],'ShapeSwooshArrowIcon':_[_0x51c56c(0x5ba)],'ShapeTeardropIcon':_[_0x51c56c(0x289)],'ShapeTrapezoidIcon':_[_0x51c56c(0x423)],'ShapeTriangleIcon':_['ShapeTriangleIcon'],'ShapeUpArrowCalloutIcon':_['ShapeUpArrowCalloutIcon'],'ShapeUpArrowIcon':_[_0x51c56c(0x31e)],'ShapeUpDownArrowCalloutIcon':_[_0x51c56c(0x2f3)],'ShapeUpDownArrowIcon':_[_0x51c56c(0x42e)],'ShapeUturnArrowIcon':_[_0x51c56c(0x2c4)],'ShapeVerticalScrollIcon':_[_0x51c56c(0x3cc)],'ShapeWaveIcon':_['ShapeWaveIcon'],'ShapeWedgeEllipseCalloutIcon':_[_0x51c56c(0x288)],'ShapeWedgeRectCalloutIcon':_[_0x51c56c(0x38e)],'ShapeWedgeRoundRectCalloutIcon':_[_0x51c56c(0x23b)]}));}[_0x559cdc(0x25c)](){const _0x4d1efe=_0x559cdc;this[_0x4d1efe(0x491)](this[_0x4d1efe(0x186)][_0x4d1efe(0x548)](P,Te)),this[_0x4d1efe(0x491)](this[_0x4d1efe(0x186)][_0x4d1efe(0x548)](he,ve)),this[_0x4d1efe(0x491)](this[_0x4d1efe(0x186)][_0x4d1efe(0x548)](d[_0x4d1efe(0x438)],_e)),this[_0x4d1efe(0x491)](this[_0x4d1efe(0x186)]['register'](ee,Oe)),this[_0x4d1efe(0x491)](this[_0x4d1efe(0x186)][_0x4d1efe(0x548)](_0x4d1efe(0x2f4),Ae));}};G=R([L(0x0,(0x0,t[_0x559cdc(0x4fa)])(l[_0x559cdc(0x51b)])),L(0x1,(0x0,t['Inject'])(l['IconManager']))],G);let K=class extends t[_0x559cdc(0x54a)]{constructor(_0x2e2383,_0xb30fa8,_0x1f69d1,_0x4284e8,_0x49d363){const _0x4b1f10=_0x559cdc;super(),this['_context']=_0x2e2383,this[_0x4b1f10(0x2e9)]=_0xb30fa8,this['_renderManagerService']=_0x1f69d1,this[_0x4b1f10(0x2cf)]=_0x4284e8,this['_imageShapeClipController']=_0x49d363,S(this,_0x4b1f10(0x1af),null),S(this,'_unitId',null),S(this,_0x4b1f10(0x2a1),null),S(this,_0x4b1f10(0x14f),void 0x0),S(this,'_shapes',[]),S(this,_0x4b1f10(0x379),0x0),S(this,'_baseTop',0x0),S(this,_0x4b1f10(0x391),0x0),S(this,_0x4b1f10(0x27b),0x0),S(this,_0x4b1f10(0x37b),!0x1),S(this,_0x4b1f10(0x5d0),void 0x0),S(this,_0x4b1f10(0x3ec),void 0x0),S(this,_0x4b1f10(0x28a),void 0x0),S(this,_0x4b1f10(0x3bc),void 0x0),S(this,_0x4b1f10(0x57a),!0x1),this[_0x4b1f10(0x516)](),this[_0x4b1f10(0x2ab)]();}[_0x559cdc(0x1ce)](){this['_clearControls']();}[_0x559cdc(0x166)](){const _0x564e99=_0x559cdc;this['_clearControls'](),this[_0x564e99(0x37a)](!0x0);}[_0x559cdc(0x45b)](_0x23fc2a,_0x2fdad7,_0x3d1b71,_0x1df3f2){const _0x31c439=_0x559cdc;let _0x3a6249=_0x23fc2a;if(!(_0x3a6249===u[_0x31c439(0x4db)]['None']||_0x23fc2a==='custom'))try{let _0x207869=new u[(_0x31c439(0x52b))](_0x3a6249,_0x31c439(0x3f2)+_0x23fc2a);return _0x1df3f2&&_0x207869['setShapeData']({'adjustValues':_0x1df3f2},!0x0),_0x207869[_0x31c439(0x202)]({'width':_0x2fdad7,'height':_0x3d1b71}),_0x207869;}catch{return;}}[_0x559cdc(0x25d)](_0x813566,_0x4dc047,_0x15ea75){const _0x57ed57=_0x559cdc;let _0x16561f={'unitId':_0x813566,'subUnitId':_0x4dc047,'drawingId':_0x15ea75},_0x2ccb93=this['_drawingManagerService']['getDrawingByParam'](_0x16561f);if(!(!_0x2ccb93||_0x2ccb93[_0x57ed57(0x3f1)]!==t[_0x57ed57(0x19c)]['DRAWING_IMAGE']))return _0x2ccb93;}[_0x559cdc(0x1c9)](_0x3fa396,_0x5d2190,_0x7297c9){const _0x388617=_0x559cdc;let _0x4cabe4=this[_0x388617(0x310)][_0x388617(0x28b)](_0x3fa396);if(!_0x4cabe4)return;let {scene:_0x4f71a0}=_0x4cabe4,_0x50c24f=(0x0,a[_0x388617(0x317)])({'unitId':_0x3fa396,'subUnitId':_0x5d2190,'drawingId':_0x7297c9}),_0x4a5a08=_0x4f71a0['getObject'](_0x50c24f);if(_0x4a5a08 instanceof o['Image']){let _0x4acf1c=_0x4a5a08[_0x388617(0x4af)];if(_0x4acf1c)return{'prstGeom':_0x4acf1c,'adjustValues':_0x4a5a08['prstGeomAdjValues']};}}[_0x559cdc(0x37a)](_0x495eab=!0x1){const _0x4105b9=_0x559cdc;if(!this[_0x4105b9(0x13b)]||!this[_0x4105b9(0x2a1)]||!this[_0x4105b9(0x1af)])return;let _0x3a9895=this[_0x4105b9(0x310)][_0x4105b9(0x28b)](this['_unitId']);if(!_0x3a9895||!_0x3a9895[_0x4105b9(0x4bd)](c['SheetSkeletonManagerService'])['getCurrentSkeleton']())return;let {scene:_0x274069}=_0x3a9895,_0x1dd7a9=this[_0x4105b9(0x25d)](this[_0x4105b9(0x13b)],this[_0x4105b9(0x2a1)],this[_0x4105b9(0x1af)]);if(!_0x1dd7a9)return;let {transform:_0x41554d}=_0x1dd7a9;if(!_0x41554d)return;let {left:_0xd44a10,top:_0x21a55b,width:_0x54640b,height:_0xb51112,flipX:_0x3db4f4,flipY:_0x51f12a,angle:_0x5b10bf=0x0}=_0x41554d;if(_0xd44a10===void 0x0||_0x21a55b===void 0x0)return;let _0x6e85b2=this[_0x4105b9(0x1c9)](this[_0x4105b9(0x13b)],this[_0x4105b9(0x2a1)],this[_0x4105b9(0x1af)]);if(!_0x6e85b2)return;if(_0x495eab){let _0x5155bf=this[_0x4105b9(0x45b)](_0x6e85b2[_0x4105b9(0x4af)],_0x54640b||0x0,_0xb51112||0x0,_0x6e85b2['adjustValues']);if(!_0x5155bf)return;this[_0x4105b9(0x14f)]=_0x5155bf[_0x4105b9(0x58a)]();}let _0x15c8b6=this[_0x4105b9(0x14f)];if(!(!_0x15c8b6||_0x15c8b6[_0x4105b9(0x5ef)]===0x0))for(let _0x12eb56=0x0;_0x12eb56<_0x15c8b6[_0x4105b9(0x5ef)];_0x12eb56++){let _0x30e1aa=_0x15c8b6[_0x12eb56],_0x3f0d4a=_0x30e1aa['x'],_0xb99a7f=_0x30e1aa['y'];if(_0x3db4f4&&(_0x3f0d4a=(_0x54640b||0x0)-_0x3f0d4a),_0x51f12a&&(_0xb99a7f=(_0xb51112||0x0)-_0xb99a7f),_0x5b10bf!==0x0){let _0x5b9e60=(_0x54640b||0x0)/0x2,_0x1b4355=(_0xb51112||0x0)/0x2,_0x18afc5=_0x5b10bf*Math['PI']/0xb4,_0x59fe6d=Math['cos'](_0x18afc5),_0x5b42a3=Math['sin'](_0x18afc5),_0x1ee05e=_0x3f0d4a-_0x5b9e60,_0x4ed33b=_0xb99a7f-_0x1b4355;_0x3f0d4a=_0x5b9e60+(_0x1ee05e*_0x59fe6d-_0x4ed33b*_0x5b42a3),_0xb99a7f=_0x1b4355+(_0x1ee05e*_0x5b42a3+_0x4ed33b*_0x59fe6d);}let _0x121a26={'x':_0x3f0d4a,'y':_0xb99a7f,'adjName':_0x30e1aa[_0x4105b9(0x1c5)]};this['_addControl'](_0x274069,_0x121a26,_0x121a26[_0x4105b9(0x1c5)],_0xd44a10,_0x21a55b,this[_0x4105b9(0x13b)],this[_0x4105b9(0x2a1)]);}}[_0x559cdc(0x162)](_0x56c5e7,_0x3e8dfc,_0x26884a,_0xe90e86,_0x55d589,_0x1aa242,_0x10699b){const _0x2b7796=_0x559cdc;if(!this[_0x2b7796(0x1af)])return;let _0x10af16=_0x2b7796(0x4a0)+this[_0x2b7796(0x1af)]+'-'+_0x26884a,_0x336af0=_0x56c5e7['getObjectIncludeInGroup'](_0x10af16);if(_0x336af0){_0x336af0[_0x2b7796(0x380)]({'left':_0x3e8dfc['x']+_0xe90e86-u['ShapeDefaultConfig'][_0x2b7796(0x190)],'top':_0x3e8dfc['y']+_0x55d589-u[_0x2b7796(0x2b5)]['adjHandleSize']});return;}let _0x3b33da=new oe(_0x10af16,{'left':_0x3e8dfc['x']+_0xe90e86-u[_0x2b7796(0x2b5)][_0x2b7796(0x190)],'top':_0x3e8dfc['y']+_0x55d589-u['ShapeDefaultConfig'][_0x2b7796(0x190)],'adjName':_0x26884a,'shapeId':this['_activeImageId'],'unitId':_0x1aa242,'subUnitId':_0x10699b,'width':u[_0x2b7796(0x2b5)][_0x2b7796(0x190)]+0x8,'height':u[_0x2b7796(0x2b5)][_0x2b7796(0x190)]+0x8,'zIndex':o['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0});this[_0x2b7796(0x330)][_0x2b7796(0x42d)](_0x3b33da),this['_attachAdjustEvent'](_0x3b33da,_0x56c5e7,_0x26884a),_0x56c5e7[_0x2b7796(0x2b0)](_0x3b33da,o['DRAWING_OBJECT_LAYER_INDEX']+0x1);}[_0x559cdc(0x45a)](){const _0x288d19=_0x559cdc;this['_shapes'][_0x288d19(0x5ef)]!==0x0&&(this[_0x288d19(0x330)][_0x288d19(0x1d0)](_0x30ab78=>_0x30ab78[_0x288d19(0x327)]()),this[_0x288d19(0x330)]=[]);}[_0x559cdc(0x2b8)](_0x341d88,_0x319fc6){const _0x26f109=_0x559cdc;var _0x1a0c60;let _0xc4761d={'x':0x0,'y':0x0},_0x5e3d8b=this[_0x26f109(0x310)][_0x26f109(0x28b)](_0x341d88);if(!_0x5e3d8b||!_0x5e3d8b[_0x26f109(0x4bd)](c['SheetSkeletonManagerService'])[_0x26f109(0x297)](_0x319fc6))return _0xc4761d;let _0x1016e7=_0x5e3d8b[_0x26f109(0x4bd)](c[_0x26f109(0x323)]),_0x34857c=_0x1016e7==null?void 0x0:_0x1016e7['getCurrentScrollState']();if(!_0x34857c)return _0xc4761d;let _0x2f164e=(_0x1a0c60=this['_univerInstanceService'][_0x26f109(0x529)](_0x341d88))==null?void 0x0:_0x1a0c60[_0x26f109(0x1d6)](_0x319fc6);if(!_0x2f164e)return _0xc4761d;let _0x5d2dc6=(0x0,c[_0x26f109(0x27c)])(_0x34857c[_0x26f109(0x31c)],_0x34857c[_0x26f109(0x513)],_0x5e3d8b[_0x26f109(0x5e3)],_0x2f164e);return _0x5d2dc6?{'x':_0x5d2dc6[_0x26f109(0x23c)],'y':_0x5d2dc6[_0x26f109(0x346)]}:_0xc4761d;}[_0x559cdc(0x4a9)](_0x4b846b,_0x249704){const _0xfc716b=_0x559cdc;var _0x304374,_0x267955;let _0x1e3d41=(_0x304374=this['_univerInstanceService'][_0xfc716b(0x529)](_0x4b846b))==null?void 0x0:_0x304374[_0xfc716b(0x1d6)](_0x249704);return(_0x267955=_0x1e3d41==null?void 0x0:_0x1e3d41[_0xfc716b(0x393)]())==null?0x1:_0x267955;}[_0x559cdc(0x363)](_0x127b15,_0x18d9fe,_0x59d768){const _0x371602=_0x559cdc;this[_0x371602(0x491)]((0x0,t[_0x371602(0x328)])(_0x127b15[_0x371602(0x1d5)][_0x371602(0x581)]((_0x25d8b2,_0x534edd)=>{const _0x2a657e=_0x371602;var _0x2cec12,_0x4d9e0c,_0x4f9a21;let {unitId:_0x1b944e,subUnitId:_0x307d16,drawingId:_0x3845b7}=_0x127b15[_0x2a657e(0x300)](),_0x228ccf=this['_getImageDrawingInfo'](_0x1b944e,_0x307d16,_0x3845b7);if(!(_0x228ccf!=null&&_0x228ccf[_0x2a657e(0x326)]))return;let {left:_0x30f7d9,top:_0x143d44,width:_0x5a2399,height:_0x24545a}=_0x228ccf[_0x2a657e(0x326)];this[_0x2a657e(0x379)]=_0x30f7d9||0x0,this[_0x2a657e(0x290)]=_0x143d44||0x0,this['_baseWidth']=_0x5a2399||0x0,this['_baseHeight']=_0x24545a||0x0;let _0x3160ba=!!((_0x2cec12=_0x228ccf['transform'])!=null&&_0x2cec12[_0x2a657e(0x224)]),_0x5002f6=!!((_0x4d9e0c=_0x228ccf[_0x2a657e(0x326)])!=null&&_0x4d9e0c[_0x2a657e(0x307)]),_0x316bbd=((_0x4f9a21=_0x228ccf['transform'])==null?void 0x0:_0x4f9a21[_0x2a657e(0x416)])||0x0,_0x80b38e=this[_0x2a657e(0x1c9)](_0x1b944e,_0x307d16,_0x3845b7);if(!_0x80b38e)return;let _0x4d5234=this['_getOrCreateShapeModel'](_0x80b38e[_0x2a657e(0x4af)],this[_0x2a657e(0x391)],this[_0x2a657e(0x27b)],_0x80b38e[_0x2a657e(0x5c9)]);if(!_0x4d5234||(this[_0x2a657e(0x3ec)]=_0x4d5234,this[_0x2a657e(0x5d0)]=_0x4d5234[_0x2a657e(0x4a3)](_0x59d768),!this[_0x2a657e(0x5d0)]))return;this[_0x2a657e(0x37b)]=!0x0,_0x18d9fe[_0x2a657e(0x2a7)]();let _0x1aec31=_0x80b38e[_0x2a657e(0x4af)];this[_0x2a657e(0x28a)]=_0x18d9fe[_0x2a657e(0x54b)]['subscribeEvent']((_0x32dd43,_0x20840b)=>{const _0x5370d1=_0x2a657e;if(!this[_0x5370d1(0x37b)])return;let {offsetX:_0x1b6ed1,offsetY:_0x252291}=_0x32dd43,_0x46152b=this[_0x5370d1(0x5d0)];if(!this['_activeShapeModel']||!_0x46152b)return;_0x18d9fe['disableObjectsEvent'](),_0x18d9fe[_0x5370d1(0x2ae)](o[_0x5370d1(0x399)]['CROSSHAIR']);let _0x4bfb9b={'left':0x0,'top':0x0,'width':this[_0x5370d1(0x391)],'height':this[_0x5370d1(0x27b)]},_0x2b8f9f=this[_0x5370d1(0x2b8)](_0x1b944e,_0x307d16),_0x12f75d=this['_getZoomRatio'](_0x1b944e,_0x307d16),_0x1f62ab=_0x1b6ed1/_0x12f75d+_0x2b8f9f['x']-this['_baseLeft'],_0x43323c=_0x252291/_0x12f75d+_0x2b8f9f['y']-this[_0x5370d1(0x290)];if(_0x316bbd!==0x0){let _0x5d1b4f=this[_0x5370d1(0x391)]/0x2,_0x5b5c4a=this[_0x5370d1(0x27b)]/0x2,_0x29b591=_0x316bbd*Math['PI']/0xb4,_0x4cf190=Math['cos'](_0x29b591),_0x13f00a=Math[_0x5370d1(0x2f5)](_0x29b591),_0xe576f1=_0x1f62ab-_0x5d1b4f,_0x59f587=_0x43323c-_0x5b5c4a;_0x1f62ab=_0x5d1b4f+(_0xe576f1*_0x4cf190+_0x59f587*_0x13f00a),_0x43323c=_0x5b5c4a+(-_0xe576f1*_0x13f00a+_0x59f587*_0x4cf190);}_0x3160ba&&(_0x1f62ab=this[_0x5370d1(0x391)]-_0x1f62ab),_0x5002f6&&(_0x43323c=this['_baseHeight']-_0x43323c);let _0x5e6e12=this[_0x5370d1(0x3ec)]['calcAdjValue'](_0x4bfb9b,{'x':_0x1f62ab,'y':_0x43323c},_0x46152b,_0x3160ba,_0x5002f6),_0x4d8682=_0x46152b[_0x5370d1(0x467)]||_0x46152b[_0x5370d1(0x549)]||_0x46152b[_0x5370d1(0x465)]||_0x46152b[_0x5370d1(0x4a6)];_0x4d8682!==void 0x0&&(this[_0x5370d1(0x3ec)][_0x5370d1(0x445)](_0x4d8682,_0x5e6e12),this[_0x5370d1(0x3ec)]['updateContext']({'width':this[_0x5370d1(0x391)],'height':this['_baseHeight']}),this[_0x5370d1(0x165)](_0x1b944e,_0x307d16,_0x3845b7,_0x4d8682,_0x5e6e12),this[_0x5370d1(0x14f)]=this[_0x5370d1(0x3ec)][_0x5370d1(0x58a)](),this['_activeAdjustInfo']=this[_0x5370d1(0x3ec)][_0x5370d1(0x4a3)](_0x59d768),this[_0x5370d1(0x37a)](),_0x20840b['stopPropagation']());}),this['_adjHandlerPointerUp']=_0x18d9fe[_0x2a657e(0x1b5)][_0x2a657e(0x581)]((_0x3b1cea,_0x1760c6)=>{const _0x155350=_0x2a657e;if(this[_0x155350(0x28a)][_0x155350(0x2f9)](),this[_0x155350(0x3bc)][_0x155350(0x2f9)](),_0x18d9fe[_0x155350(0x31d)](),this['_activeShapeModel']){let _0x42ae85=this[_0x155350(0x3ec)][_0x155350(0x433)](),_0x41d81d={};for(let _0x2b98d9 of _0x42ae85){let _0x56ded5=this[_0x155350(0x3ec)][_0x155350(0x4c3)](_0x2b98d9);_0x56ded5!==void 0x0&&(_0x41d81d[_0x2b98d9]=_0x56ded5);}this['_imageShapeClipController'][_0x155350(0x446)](_0x1b944e,_0x307d16,_0x3845b7,_0x1aec31,_0x41d81d);}this[_0x155350(0x5d0)]=void 0x0,this[_0x155350(0x3ec)]=void 0x0,this[_0x155350(0x37b)]=!0x1,_0x1760c6[_0x155350(0x411)](),_0x18d9fe[_0x155350(0x5b1)]();}),_0x534edd[_0x2a657e(0x411)]();})));}['_updateImageAdjValues'](_0x46bf20,_0x3fe22e,_0x4b87cf,_0x4b53a4,_0x4a3442){const _0x4c7b15=_0x559cdc;let _0x1f0895=this['_renderManagerService'][_0x4c7b15(0x28b)](_0x46bf20);if(!_0x1f0895)return;let {scene:_0x4ff8e9}=_0x1f0895,_0x38168c=(0x0,a['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x46bf20,'subUnitId':_0x3fe22e,'drawingId':_0x4b87cf}),_0x4137b2=_0x4ff8e9['getObject'](_0x38168c);if(_0x4137b2 instanceof o[_0x4c7b15(0x206)]){var _0x46ebd1;let _0x696c1=(_0x46ebd1=_0x4137b2[_0x4c7b15(0x195)])==null?{}:_0x46ebd1;_0x4137b2[_0x4c7b15(0x47b)]({..._0x696c1,[_0x4b53a4]:_0x4a3442}),_0x4137b2[_0x4c7b15(0x4b8)](!0x0);}}['_registerMoveHandler'](){const _0xfdd367=_0x559cdc;let _0x5df356=this[_0xfdd367(0x2cf)][_0xfdd367(0x4f5)](t[_0xfdd367(0x3f5)][_0xfdd367(0x2d0)]);this[_0xfdd367(0x491)](_0x5df356[_0xfdd367(0x44b)]((0x0,i['switchMap'])(_0x1dbd16=>_0x1dbd16?_0x1dbd16[_0xfdd367(0x442)][_0xfdd367(0x44b)]((0x0,i[_0xfdd367(0x366)])(_0xe1946c=>{const _0x2d1d35=_0xfdd367;if(!_0xe1946c)return i[_0x2d1d35(0x4fd)];let _0x428315=_0x1dbd16[_0x2d1d35(0x4c5)](),_0x11290=this['_renderManagerService'][_0x2d1d35(0x28b)](_0x428315),_0x571eaf=_0x11290==null?void 0x0:_0x11290[_0x2d1d35(0x5e3)];return _0x571eaf?(0x0,i['of'])(_0x571eaf):i[_0x2d1d35(0x4fd)];})):i[_0xfdd367(0x4fd)]))[_0xfdd367(0x174)](_0x1dc7be=>{const _0x592c54=_0xfdd367;let _0x28c91b=_0x1dc7be[_0x592c54(0x4b5)]();this['disposeWithMe'](_0x1dc7be[_0x592c54(0x54b)][_0x592c54(0x581)](()=>{const _0x21e823=_0x592c54;this[_0x21e823(0x57a)]&&this[_0x21e823(0x45a)]();})),this[_0x592c54(0x491)](_0x28c91b[_0x592c54(0x5cf)][_0x592c54(0x174)](_0x9c2a6e=>{const _0x48faf1=_0x592c54;let {objects:_0x8074c0}=_0x9c2a6e;if(this[_0x48faf1(0x37a)](),_0x8074c0!==null&&_0x8074c0[_0x48faf1(0x1d9)]===0x1){let _0x55fdb1=_0x8074c0[_0x48faf1(0x540)]()[_0x48faf1(0x2c1)]()[_0x48faf1(0x490)];_0x55fdb1 instanceof o[_0x48faf1(0x206)]&&_0x55fdb1[_0x48faf1(0x4af)]&&(this[_0x48faf1(0x57a)]=!0x0);}})),this[_0x592c54(0x491)](_0x28c91b[_0x592c54(0x19e)][_0x592c54(0x174)](()=>{const _0x501c56=_0x592c54;this[_0x501c56(0x57a)]&&this[_0x501c56(0x45a)]();})),this[_0x592c54(0x491)](_0x1dc7be[_0x592c54(0x1b5)]['subscribeEvent'](()=>{const _0x542333=_0x592c54;this['_isImagePointerDown']&&(this[_0x542333(0x57a)]=!0x1,this[_0x542333(0x37a)]());})),this[_0x592c54(0x491)](_0x28c91b[_0x592c54(0x38d)][_0x592c54(0x174)](()=>{const _0x59bcce=_0x592c54;if(this[_0x59bcce(0x13b)]&&this[_0x59bcce(0x2a1)]&&this[_0x59bcce(0x1af)]){let _0x59dd4c=this[_0x59bcce(0x1c9)](this[_0x59bcce(0x13b)],this['_subUnitId'],this[_0x59bcce(0x1af)]);if(_0x59dd4c){var _0x969768,_0x412562;let _0x985e6d=this[_0x59bcce(0x25d)](this[_0x59bcce(0x13b)],this[_0x59bcce(0x2a1)],this[_0x59bcce(0x1af)]),_0x310adb=(_0x985e6d==null||(_0x969768=_0x985e6d[_0x59bcce(0x326)])==null?void 0x0:_0x969768[_0x59bcce(0x43a)])||0x0,_0x51ed4d=(_0x985e6d==null||(_0x412562=_0x985e6d[_0x59bcce(0x326)])==null?void 0x0:_0x412562[_0x59bcce(0x383)])||0x0,_0x47470d=this[_0x59bcce(0x45b)](_0x59dd4c['prstGeom'],_0x310adb,_0x51ed4d,_0x59dd4c[_0x59bcce(0x5c9)]);_0x47470d&&(this[_0x59bcce(0x14f)]=_0x47470d[_0x59bcce(0x58a)](),this['_clearControls'](),this[_0x59bcce(0x37a)](!0x0));}}}));}));}[_0x559cdc(0x516)](){const _0x18ebe3=_0x559cdc;this[_0x18ebe3(0x491)](this[_0x18ebe3(0x2e9)][_0x18ebe3(0x3bb)][_0x18ebe3(0x174)](_0x407a4f=>{const _0x4c60e0=_0x18ebe3;if(_0x407a4f[_0x4c60e0(0x5ef)]===0x1){let _0x49e65e=_0x407a4f[0x0];if(_0x49e65e['drawingType']===t[_0x4c60e0(0x19c)][_0x4c60e0(0x57b)]){let {unitId:_0x2bafe8,subUnitId:_0x24594f,drawingId:_0x40aec4}=_0x49e65e,_0x6986ba=this['_getImagePrstGeom'](_0x2bafe8,_0x24594f,_0x40aec4);if(_0x6986ba){var _0xc75b4d,_0x3b7a6c;this[_0x4c60e0(0x1af)]=_0x40aec4,this[_0x4c60e0(0x13b)]=_0x2bafe8,this['_subUnitId']=_0x24594f;let _0x2b4060=this['_getImageDrawingInfo'](_0x2bafe8,_0x24594f,_0x40aec4),_0x5eb575=(_0x2b4060==null||(_0xc75b4d=_0x2b4060[_0x4c60e0(0x326)])==null?void 0x0:_0xc75b4d[_0x4c60e0(0x43a)])||0x0,_0x53be0f=(_0x2b4060==null||(_0x3b7a6c=_0x2b4060[_0x4c60e0(0x326)])==null?void 0x0:_0x3b7a6c[_0x4c60e0(0x383)])||0x0,_0x2b2212=this[_0x4c60e0(0x45b)](_0x6986ba[_0x4c60e0(0x4af)],_0x5eb575,_0x53be0f,_0x6986ba[_0x4c60e0(0x5c9)]);_0x2b2212&&(this['_activeAdjustPointList']=_0x2b2212[_0x4c60e0(0x58a)]()),this[_0x4c60e0(0x45a)](),this[_0x4c60e0(0x37a)](!0x0);}else this[_0x4c60e0(0x50b)]();}else this[_0x4c60e0(0x50b)]();}else this[_0x4c60e0(0x50b)]();})),this[_0x18ebe3(0x491)](this[_0x18ebe3(0x2e9)][_0x18ebe3(0x4e8)][_0x18ebe3(0x174)](_0x539f41=>{const _0x48ad66=_0x18ebe3;if(_0x539f41[_0x48ad66(0x5ef)]===0x1){let _0x488993=_0x539f41[0x0],_0x5d26ca=this[_0x48ad66(0x2e9)][_0x48ad66(0x217)](_0x488993);(_0x5d26ca==null?void 0x0:_0x5d26ca[_0x48ad66(0x3f1)])===t[_0x48ad66(0x19c)][_0x48ad66(0x57b)]&&this[_0x48ad66(0x1af)]===_0x488993[_0x48ad66(0x1fa)]&&(this[_0x48ad66(0x45a)](),this[_0x48ad66(0x37a)](!0x0));}})),this[_0x18ebe3(0x491)](this['_drawingManagerService'][_0x18ebe3(0x541)][_0x18ebe3(0x174)](_0x1e3e57=>{const _0x5b7133=_0x18ebe3;for(let _0x2b9775 of _0x1e3e57)this[_0x5b7133(0x1af)]===_0x2b9775[_0x5b7133(0x1fa)]&&this[_0x5b7133(0x50b)]();}));}[_0x559cdc(0x50b)](){const _0x5a3ca9=_0x559cdc;this[_0x5a3ca9(0x1af)]=null,this[_0x5a3ca9(0x13b)]=null,this[_0x5a3ca9(0x2a1)]=null,this[_0x5a3ca9(0x14f)]=void 0x0,this[_0x5a3ca9(0x45a)]();}};K=R([L(0x1,a[_0x559cdc(0x470)]),L(0x2,(0x0,t['Inject'])(o['IRenderManagerService'])),L(0x3,t[_0x559cdc(0x3c1)]),L(0x4,(0x0,t[_0x559cdc(0x4fa)])(H))],K);let q=class extends t[_0x559cdc(0x54a)]{constructor(_0x580602,_0x21e090,_0x562728,_0x532729){const _0x5006b8=_0x559cdc;super(),this[_0x5006b8(0x2cf)]=_0x580602,this[_0x5006b8(0x24a)]=_0x21e090,this[_0x5006b8(0x40f)]=_0x562728,this['_sheetsShapeService']=_0x532729,this[_0x5006b8(0x41b)]();}['_initSheetChange'](){const _0xaf3781=_0x559cdc;this[_0xaf3781(0x491)](this[_0xaf3781(0x24a)]['interceptCommand']({'getMutations':_0x2c28ba=>{const _0x597d5e=_0xaf3781;if(_0x2c28ba['id']===n[_0x597d5e(0x23d)]['id']){let _0x19bf14=(0x0,n[_0x597d5e(0x485)])(this['_univerInstanceService'],_0x2c28ba['params']);if(!_0x19bf14)return{'redos':[],'undos':[]};let {unitId:_0x5015de,subUnitId:_0x5bee19}=_0x19bf14,_0x1ff063=this[_0x597d5e(0x40f)][_0x597d5e(0x4f7)](_0x5015de,_0x5bee19),_0x46e25a=Object[_0x597d5e(0x540)](_0x1ff063)[_0x597d5e(0x583)](_0x94a1db=>_0x94a1db['drawingType']===t[_0x597d5e(0x19c)][_0x597d5e(0x2d8)]);if(_0x46e25a[_0x597d5e(0x5ef)]===0x0)return{'redos':[],'undos':[]};let _0x56add1=[],_0xd69e1b=[];for(let _0x3818be=0x0;_0x3818be<_0x46e25a[_0x597d5e(0x5ef)];_0x3818be++){let _0x4472ec=_0x46e25a[_0x3818be],_0x253b1d=this['_sheetsShapeService'][_0x597d5e(0x269)](_0x4472ec['unitId'],_0x4472ec[_0x597d5e(0x582)],_0x4472ec[_0x597d5e(0x1fa)]);if(!_0x253b1d)continue;let {redo:_0x3032bd,undo:_0x2a1fbb,objects:_0x445cbb}=this[_0x597d5e(0x40f)]['getBatchRemoveOp']([_0x4472ec]);_0x56add1[_0x597d5e(0x42d)]({'id':e[_0x597d5e(0x2b7)]['id'],'params':{'unitId':_0x5015de,'subUnitId':_0x5bee19,'shapeId':_0x4472ec['drawingId']}}),_0x56add1[_0x597d5e(0x42d)]({'id':r[_0x597d5e(0x4dc)]['id'],'params':{'unitId':_0x5015de,'subUnitId':_0x5bee19,'type':r['DrawingApplyType'][_0x597d5e(0x3aa)],'op':_0x3032bd,'objects':_0x445cbb}}),_0xd69e1b[_0x597d5e(0x42d)]({'id':r[_0x597d5e(0x4dc)]['id'],'params':{'unitId':_0x5015de,'subUnitId':_0x5bee19,'type':r[_0x597d5e(0x218)][_0x597d5e(0x26f)],'op':_0x2a1fbb,'objects':_0x445cbb}}),_0xd69e1b['push']({'id':e[_0x597d5e(0x403)]['id'],'params':{'unitId':_0x5015de,'subUnitId':_0x5bee19,'shapeId':_0x4472ec[_0x597d5e(0x1fa)],'shapeType':_0x253b1d[_0x597d5e(0x33d)](),'shapeData':JSON[_0x597d5e(0x1a5)](JSON[_0x597d5e(0x2cd)](_0x253b1d[_0x597d5e(0x222)]()))}});}return{'redos':_0x56add1,'undos':_0xd69e1b};}else{if(_0x2c28ba['id']===n[_0x597d5e(0x203)]['id']){let {unitId:_0x4485dd,subUnitId:_0x231d76,targetSubUnitId:_0x10f9b3}=_0x2c28ba[_0x597d5e(0x1e5)];if(!_0x4485dd||!_0x231d76||!_0x10f9b3)return{'redos':[],'undos':[]};let _0x3e5921=this[_0x597d5e(0x40f)]['getDrawingData'](_0x4485dd,_0x231d76),_0x561e41=Object['values'](_0x3e5921)[_0x597d5e(0x583)](_0x393972=>_0x393972[_0x597d5e(0x3f1)]===t[_0x597d5e(0x19c)][_0x597d5e(0x2d8)]);if(_0x561e41[_0x597d5e(0x5ef)]===0x0)return{'redos':[],'undos':[]};let _0x41b83b=[],_0x3b9e35=[];for(let _0x24cdc2=0x0;_0x24cdc2<_0x561e41[_0x597d5e(0x5ef)];_0x24cdc2++){let _0x126455=_0x561e41[_0x24cdc2],_0x285266=this['_sheetsShapeService'][_0x597d5e(0x269)](_0x126455[_0x597d5e(0x180)],_0x126455[_0x597d5e(0x582)],_0x126455[_0x597d5e(0x1fa)]);if(!_0x285266)continue;let _0x431dff=(0x0,t[_0x597d5e(0x1e2)])(),_0x34da01={..._0x126455,'unitId':_0x4485dd,'subUnitId':_0x10f9b3,'drawingId':_0x431dff},{redo:_0x2eca7b,undo:_0x111843,objects:_0x1d5d9d}=this[_0x597d5e(0x40f)]['getBatchAddOp']([_0x34da01]);_0x41b83b[_0x597d5e(0x42d)]({'id':r[_0x597d5e(0x4dc)]['id'],'params':{'unitId':_0x4485dd,'subUnitId':_0x10f9b3,'type':r['DrawingApplyType'][_0x597d5e(0x26f)],'op':_0x2eca7b,'objects':_0x1d5d9d}}),_0x41b83b[_0x597d5e(0x42d)]({'id':e[_0x597d5e(0x403)]['id'],'params':{'unitId':_0x4485dd,'subUnitId':_0x10f9b3,'shapeId':_0x431dff,'shapeType':_0x285266[_0x597d5e(0x33d)](),'shapeData':JSON['parse'](JSON['stringify'](_0x285266[_0x597d5e(0x222)]()))}}),_0x3b9e35[_0x597d5e(0x42d)]({'id':e[_0x597d5e(0x2b7)]['id'],'params':{'unitId':_0x4485dd,'subUnitId':_0x10f9b3,'shapeId':_0x431dff}}),_0x3b9e35[_0x597d5e(0x42d)]({'id':r[_0x597d5e(0x4dc)]['id'],'params':{'unitId':_0x4485dd,'subUnitId':_0x10f9b3,'type':r[_0x597d5e(0x218)]['REMOVE'],'op':_0x111843,'objects':_0x1d5d9d}});}return{'redos':_0x41b83b,'undos':_0x3b9e35};}}return{'redos':[],'undos':[]};}}));}};q=R([L(0x0,(0x0,t['Inject'])(t[_0x559cdc(0x3c1)])),L(0x1,(0x0,t[_0x559cdc(0x4fa)])(n['SheetInterceptorService'])),L(0x2,(0x0,t[_0x559cdc(0x4fa)])(r[_0x559cdc(0x21f)])),L(0x3,(0x0,t['Inject'])(e[_0x559cdc(0x1bd)]))],q);let je=class extends t[_0x559cdc(0x54a)]{constructor(_0x34e914,_0x566596,_0x4f8844,_0x303f37,_0x109607){const _0x417d87=_0x559cdc;super(),this['_context']=_0x34e914,this[_0x417d87(0x499)]=_0x566596,this[_0x417d87(0x2e9)]=_0x4f8844,this[_0x417d87(0x244)]=_0x303f37,this[_0x417d87(0x1f9)]=_0x109607,S(this,_0x417d87(0x305),null),this['_initEvents'](),this[_0x417d87(0x553)](),this['_initEditingParams']();}[_0x559cdc(0x51d)](){const _0x51d20b=_0x559cdc;let {scene:_0x64d6c3}=this[_0x51d20b(0x4d8)];this[_0x51d20b(0x491)](_0x64d6c3['onDblclick$']['subscribeEvent'](_0x375553=>{const _0x590a4b=_0x51d20b;let {offsetX:_0x4538c9,offsetY:_0x5bb804}=_0x375553,_0x1277ca=_0x64d6c3[_0x590a4b(0x4b2)](o[_0x590a4b(0x26b)]['FromArray']([_0x4538c9,_0x5bb804]));if(_0x1277ca instanceof I){if((0x0,u['isConnectorShape'])(this['_sheetsShapeService']['getShapeType'](_0x1277ca['unitId'],_0x1277ca[_0x590a4b(0x582)],_0x1277ca[_0x590a4b(0x45d)])))return;this['_shapeTextEditingService'][_0x590a4b(0x1ab)]({'visible':!0x0,'unitId':_0x1277ca['unitId'],'subUnitId':_0x1277ca[_0x590a4b(0x582)],'shapeId':_0x1277ca['shapeId'],'shapeKey':_0x1277ca[_0x590a4b(0x1a3)]});}}));}[_0x559cdc(0x553)](){const _0x49d2ae=_0x559cdc;this[_0x49d2ae(0x491)](this[_0x49d2ae(0x2e9)]['focus$']['subscribe'](_0x4ef16c=>{const _0x4374e1=_0x49d2ae;if(_0x4ef16c[_0x4374e1(0x5ef)]===0x1){let _0x27dd93=_0x4ef16c[0x0],_0x35635c=this[_0x4374e1(0x2e9)][_0x4374e1(0x217)](_0x27dd93);if((_0x35635c==null?void 0x0:_0x35635c[_0x4374e1(0x3f1)])===t['DrawingTypeEnum'][_0x4374e1(0x2d8)]){let _0x121b46=this[_0x4374e1(0x499)][_0x4374e1(0x1dc)]();if((_0x121b46==null?void 0x0:_0x121b46[_0x4374e1(0x45d)])===_0x27dd93[_0x4374e1(0x1fa)]&&_0x121b46['visible'])return;(0x0,u[_0x4374e1(0x522)])(this['_sheetsShapeService'][_0x4374e1(0x33d)](_0x27dd93['unitId'],_0x27dd93[_0x4374e1(0x582)],_0x27dd93[_0x4374e1(0x1fa)]))&&this['_shapeTextEditingService'][_0x4374e1(0x1ab)](null);}else this[_0x4374e1(0x499)][_0x4374e1(0x1dc)]()&&(this[_0x4374e1(0x499)][_0x4374e1(0x46c)](!0x0),requestAnimationFrame(()=>{const _0x223801=_0x4374e1;this[_0x223801(0x499)][_0x223801(0x1ab)](null);}));}else this['_shapeTextEditingService'][_0x4374e1(0x1dc)]()&&(this['_shapeTextEditingService']['setOnSavingEditorData'](!0x0),requestAnimationFrame(()=>{const _0x3ee275=_0x4374e1;this[_0x3ee275(0x499)][_0x3ee275(0x1ab)](null);}));})),this[_0x49d2ae(0x491)](this[_0x49d2ae(0x2e9)][_0x49d2ae(0x541)][_0x49d2ae(0x174)](_0x4c2006=>{const _0x2e3e11=_0x49d2ae;let _0x27a489=this['_shapeTextEditingService'][_0x2e3e11(0x1dc)]();_0x27a489&&_0x4c2006[_0x2e3e11(0x228)](_0x497558=>_0x497558['drawingId']===_0x27a489['shapeId'])&&this[_0x2e3e11(0x499)][_0x2e3e11(0x1ab)](null);}));}[_0x559cdc(0x51e)](){const _0x32f642=_0x559cdc;this['disposeWithMe'](this[_0x32f642(0x499)]['editingParams$'][_0x32f642(0x174)](_0x4ce1f2=>{const _0x312d99=_0x32f642;let {scene:_0x4cb818}=this[_0x312d99(0x4d8)];if(this[_0x312d99(0x305)]){let _0x532b0e=_0x4cb818[_0x312d99(0x332)](this['_lastEditingShapeKey']);_0x532b0e&&_0x532b0e[_0x312d99(0x1ab)](!0x1);}if(_0x4ce1f2){let _0x4dd608=!!_0x4ce1f2[_0x312d99(0x1de)],_0x4c7594=_0x4cb818[_0x312d99(0x332)](_0x4ce1f2[_0x312d99(0x598)]);_0x4c7594&&(_0x4c7594['setEditing'](_0x4dd608),this[_0x312d99(0x305)]=_0x4ce1f2['shapeKey']),this[_0x312d99(0x244)][_0x312d99(0x161)](t[_0x312d99(0x35a)],_0x4dd608);}else this[_0x312d99(0x305)]=null,this['_contextService']['setContextValue'](t[_0x312d99(0x35a)],!0x1);}));}};je=R([L(0x1,(0x0,t[_0x559cdc(0x4fa)])(C)),L(0x2,a[_0x559cdc(0x470)]),L(0x3,t['IContextService']),L(0x4,(0x0,t[_0x559cdc(0x4fa)])(e[_0x559cdc(0x1bd)]))],je);function Me(){const _0x344fea=_0x559cdc;return(0x0,h[_0x344fea(0x429)])(v['ShapeTextFloatToolbar'],{});}let J=class extends v[_0x559cdc(0x1ff)]{constructor(_0x59fa56,_0x26a757,_0x1d3635,_0x1cbec1,_0x184b16){super(_0x59fa56,_0x26a757,_0x1d3635,_0x1cbec1,_0x184b16,{'componentKey':'sheet.shape.text.float-menu','editorUnitId':te,'toolbarComponent':Me});}};J=R([L(0x1,(0x0,t['Inject'])(f[_0x559cdc(0x398)])),L(0x2,(0x0,t[_0x559cdc(0x4fa)])(s['DocCanvasPopManagerService'])),L(0x3,(0x0,t['Inject'])(l['ComponentManager'])),L(0x4,(0x0,t[_0x559cdc(0x4fa)])(s[_0x559cdc(0x44d)]))],J);const Ne={'normal':{'fill':u['ShapeDefaultConfig']['cxnPointFill'],'stroke':u[_0x559cdc(0x2b5)][_0x559cdc(0x5e4)],'strokeWidth':u[_0x559cdc(0x2b5)][_0x559cdc(0x24f)]},'highlighted':{'fill':_0x559cdc(0x580),'stroke':_0x559cdc(0x345),'strokeWidth':0x2}};var Pe=class extends o['Shape']{constructor(_0x346cdb,_0x360564){const _0x22cc6d=_0x559cdc;super(_0x346cdb,_0x360564),S(this,_0x22cc6d(0x2f6),''),S(this,'_cxnIndex',-0x1),S(this,_0x22cc6d(0x13b),''),S(this,_0x22cc6d(0x2a1),''),S(this,_0x22cc6d(0x506),!0x1),_0x360564&&this['setShapeProps'](_0x360564);}[_0x559cdc(0x39e)](){const _0x408e0b=_0x559cdc;return{'unitId':this[_0x408e0b(0x13b)],'subUnitId':this[_0x408e0b(0x2a1)],'shapeId':this[_0x408e0b(0x2f6)],'cxnIndex':this[_0x408e0b(0x422)]};}['setHighlighted'](_0x3a3874){const _0x1bf7de=_0x559cdc;this[_0x1bf7de(0x506)]!==_0x3a3874&&(this[_0x1bf7de(0x506)]=_0x3a3874,this[_0x1bf7de(0x4b8)](!0x0));}[_0x559cdc(0x3d8)](){const _0x50e016=_0x559cdc;return this[_0x50e016(0x506)];}[_0x559cdc(0x425)](_0x4b2ef9){const _0x442887=_0x559cdc;var _0x320566,_0x41f0ce;_0x4b2ef9[_0x442887(0x1a7)]!==void 0x0&&(this[_0x442887(0x2f6)]=_0x4b2ef9[_0x442887(0x1a7)]),_0x4b2ef9['cxnIndex']!==void 0x0&&(this['_cxnIndex']=_0x4b2ef9['cxnIndex']),_0x4b2ef9['unitId']!==void 0x0&&(this[_0x442887(0x13b)]=_0x4b2ef9[_0x442887(0x180)]),_0x4b2ef9[_0x442887(0x582)]!==void 0x0&&(this[_0x442887(0x2a1)]=_0x4b2ef9[_0x442887(0x582)]),_0x4b2ef9[_0x442887(0x3d8)]!==void 0x0&&(this[_0x442887(0x506)]=_0x4b2ef9['isHighlighted']),this[_0x442887(0x380)]({'width':(_0x320566=_0x4b2ef9[_0x442887(0x43a)])==null?u[_0x442887(0x2b5)][_0x442887(0x227)]*0x2:_0x320566,'height':(_0x41f0ce=_0x4b2ef9[_0x442887(0x383)])==null?u[_0x442887(0x2b5)]['cxnPointRadius']*0x2:_0x41f0ce});}[_0x559cdc(0x2ed)](_0x393a52){const _0x53aa03=_0x559cdc;let _0x5af9ba=this[_0x53aa03(0x506)]?Ne['highlighted']:Ne['normal'];o[_0x53aa03(0x5ad)][_0x53aa03(0x250)](_0x393a52,{'radius':u[_0x53aa03(0x2b5)][_0x53aa03(0x227)],'fill':_0x5af9ba[_0x53aa03(0x3e9)],'stroke':_0x5af9ba[_0x53aa03(0x4e5)],'strokeWidth':_0x5af9ba['strokeWidth'],'evented':!0x0});}};let Y=class extends t['Disposable']{constructor(_0x1b236e,_0x355b48,_0x4eda5b,_0x6a72aa){const _0xbafb08=_0x559cdc;super(),this[_0xbafb08(0x4d8)]=_0x1b236e,this[_0xbafb08(0x310)]=_0x355b48,this[_0xbafb08(0x2e9)]=_0x4eda5b,this[_0xbafb08(0x1f9)]=_0x6a72aa,S(this,_0xbafb08(0x15b),[]),S(this,'_activeTargetShapeId',null),S(this,_0xbafb08(0x1fe),-0x1),S(this,_0xbafb08(0x524),null),S(this,_0xbafb08(0x13b),''),S(this,'_subUnitId',''),S(this,_0xbafb08(0x397),null);}[_0x559cdc(0x585)](_0x1971d8,_0x5306c0,_0x2fc382,_0x5d7e68){const _0x2fc310=_0x559cdc;this['_currentScene']=_0x1971d8,this[_0x2fc310(0x13b)]=_0x5306c0,this[_0x2fc310(0x2a1)]=_0x2fc382,this['_draggingConnectorId']=_0x5d7e68;}[_0x559cdc(0x5b4)](_0x314668){const _0x35ac41=_0x559cdc;if(!this[_0x35ac41(0x524)])return null;let _0x44f2ff=this[_0x35ac41(0x55b)](_0x314668);return _0x44f2ff?(this[_0x35ac41(0x4b3)]!==_0x44f2ff[_0x35ac41(0x45d)]&&(this[_0x35ac41(0x38a)](),this[_0x35ac41(0x2c5)](_0x44f2ff[_0x35ac41(0x45d)],_0x44f2ff['shapeModel']),this[_0x35ac41(0x4b3)]=_0x44f2ff[_0x35ac41(0x45d)]),this[_0x35ac41(0x534)](_0x314668)):(this[_0x35ac41(0x4b3)]!==null&&(this['_clearConnectionSites'](),this[_0x35ac41(0x4b3)]=null),null);}[_0x559cdc(0x4ee)](){const _0x46a1a1=_0x559cdc;this['_clearConnectionSites'](),this['_currentScene']=null,this[_0x46a1a1(0x4b3)]=null,this['_highlightedSiteIndex']=-0x1,this[_0x46a1a1(0x397)]=null;}[_0x559cdc(0x461)](){const _0x50edef=_0x559cdc;return this['_activeTargetShapeId']===null||this[_0x50edef(0x1fe)]<0x0?null:{'shapeId':this[_0x50edef(0x4b3)],'cxnIndex':this['_highlightedSiteIndex']};}[_0x559cdc(0x55b)](_0x5e027d){const _0x407eb7=_0x559cdc;let _0x15696e=this[_0x407eb7(0x2e9)][_0x407eb7(0x4f7)](this[_0x407eb7(0x13b)],this[_0x407eb7(0x2a1)]);for(let _0xa177cc of Object[_0x407eb7(0x4c0)](_0x15696e)){if(_0xa177cc===this['_draggingConnectorId']||_0x15696e[_0xa177cc][_0x407eb7(0x3f1)]!==t[_0x407eb7(0x19c)]['DRAWING_SHAPE'])continue;let _0x151552=this[_0x407eb7(0x1f9)]['getShapeModel'](this[_0x407eb7(0x13b)],this[_0x407eb7(0x2a1)],_0xa177cc);if(!_0x151552||(0x0,u[_0x407eb7(0x522)])(_0x151552[_0x407eb7(0x33d)]())||_0x151552[_0x407eb7(0x575)]()[_0x407eb7(0x5ef)]===0x0||!this[_0x407eb7(0x524)])continue;let _0x25aa51=(0x0,a[_0x407eb7(0x317)])({'unitId':this[_0x407eb7(0x13b)],'subUnitId':this[_0x407eb7(0x2a1)],'drawingId':_0xa177cc}),_0x38627=this[_0x407eb7(0x524)][_0x407eb7(0x332)](_0x25aa51);if(!_0x38627)continue;let {left:_0x19945c,top:_0x30e26c,width:_0x5eb558,height:_0xfdae1d}=_0x38627[_0x407eb7(0x23f)](),_0xba8ec9=_0x19945c+_0x5eb558/0x2,_0x2847c9=_0x30e26c+_0xfdae1d/0x2,_0x5c4336=_0x38627[_0x407eb7(0x326)]['getMatrix'](),_0x15eff9=new o[(_0x407eb7(0x5c8))]([_0x5c4336[0x0],_0x5c4336[0x1],_0x5c4336[0x2],_0x5c4336[0x3],_0xba8ec9,_0x2847c9]),_0x45d361=_0x38627[_0x407eb7(0x172)](),_0x378074=(_0x38627[_0x407eb7(0x5ae)]&&(_0x45d361==null?void 0x0:_0x45d361['classType'])===o[_0x407eb7(0x2cc)][_0x407eb7(0x27e)]?_0x45d361[_0x407eb7(0x333)][_0x407eb7(0x576)](_0x15eff9):_0x15eff9)[_0x407eb7(0x5b0)]()['applyPoint'](_0x5e027d),_0x3ceb95=_0x5eb558/0x2,_0x479030=_0xfdae1d/0x2;if(_0x378074['x']>=-_0x3ceb95-0x5&&_0x378074['x']<=_0x3ceb95+0x5&&_0x378074['y']>=-_0x479030-0x5&&_0x378074['y']<=_0x479030+0x5)return{'shapeId':_0xa177cc,'shapeModel':_0x151552};}return null;}[_0x559cdc(0x2c5)](_0x22d036,_0x147bfe){const _0x199473=_0x559cdc;if(!this[_0x199473(0x524)])return;let _0x4d17bb=(0x0,a[_0x199473(0x317)])({'unitId':this[_0x199473(0x13b)],'subUnitId':this[_0x199473(0x2a1)],'drawingId':_0x22d036}),_0x237daf=this['_currentScene'][_0x199473(0x332)](_0x4d17bb);if(!_0x237daf)return;let {left:_0xa6f1c5,top:_0x4bc92f,width:_0x11cf09,height:_0x9a2500}=_0x237daf[_0x199473(0x23f)](),_0x1a81b0=_0xa6f1c5+_0x11cf09/0x2,_0x1eaf8a=_0x4bc92f+_0x9a2500/0x2,_0x2de0ec=_0x237daf[_0x199473(0x326)][_0x199473(0x3db)](),_0x430cad=new o[(_0x199473(0x5c8))]([_0x2de0ec[0x0],_0x2de0ec[0x1],_0x2de0ec[0x2],_0x2de0ec[0x3],_0x1a81b0,_0x1eaf8a]),_0x23a901=_0x237daf[_0x199473(0x172)](),_0x1ff667=_0x237daf[_0x199473(0x5ae)]&&(_0x23a901==null?void 0x0:_0x23a901[_0x199473(0x140)])===o['RENDER_CLASS_TYPE'][_0x199473(0x27e)]?_0x23a901['ancestorTransform'][_0x199473(0x576)](_0x430cad):_0x430cad;_0x147bfe[_0x199473(0x202)]({'width':_0x11cf09,'height':_0x9a2500});let _0x21b6a4=_0x147bfe[_0x199473(0x575)]();for(let _0x24382f of _0x21b6a4){let _0x4ebf63=_0x24382f['x']-_0x11cf09/0x2,_0x363844=_0x24382f['y']-_0x9a2500/0x2,_0xb1de01=_0x1ff667['applyPoint']({'x':_0x4ebf63,'y':_0x363844}),_0x46d7c4=_0xb1de01['x'],_0x4c2fb0=_0xb1de01['y'],_0x567756=new Pe(_0x199473(0x502)+_0x22d036+'-'+_0x24382f[_0x199473(0x275)],{'left':_0x46d7c4-u['ShapeDefaultConfig'][_0x199473(0x227)],'top':_0x4c2fb0-u[_0x199473(0x2b5)]['cxnPointRadius'],'targetShapeId':_0x22d036,'cxnIndex':_0x24382f[_0x199473(0x275)],'unitId':this[_0x199473(0x13b)],'subUnitId':this['_subUnitId'],'width':u[_0x199473(0x2b5)][_0x199473(0x227)]*0x2,'height':u[_0x199473(0x2b5)][_0x199473(0x227)]*0x2,'zIndex':o['DRAWING_OBJECT_LAYER_INDEX']+0x2,'evented':!0x1});this['_connectionSiteObjects']['push'](_0x567756),this['_currentScene'][_0x199473(0x2b0)](_0x567756,o[_0x199473(0x36e)]+0x2);}}[_0x559cdc(0x534)](_0x4e7c24){const _0x1724d8=_0x559cdc;let _0x45942e=null,_0x5e9463=0x1/0x0,_0x3191d5=null;for(let _0x1cb142 of this[_0x1724d8(0x15b)]){let _0x18ca01=_0x1cb142[_0x1724d8(0x475)]+u[_0x1724d8(0x2b5)]['cxnPointRadius'],_0x1c4b3c=_0x1cb142[_0x1724d8(0x4d6)]+u['ShapeDefaultConfig']['cxnPointRadius'],_0x55b9e5=_0x4e7c24['x']-_0x18ca01,_0x398ce1=_0x4e7c24['y']-_0x1c4b3c,_0xa8215=Math['sqrt'](_0x55b9e5*_0x55b9e5+_0x398ce1*_0x398ce1);_0xa8215<_0x5e9463&&(_0x5e9463=_0xa8215,_0x45942e=_0x1cb142,_0x3191d5={'x':_0x18ca01,'y':_0x1c4b3c});}let _0x1dddec=_0x5e9463<=0xa&&_0x45942e?_0x45942e['getConnectionInfo']()[_0x1724d8(0x319)]:-0x1;if(_0x1dddec!==this[_0x1724d8(0x1fe)]){for(let _0x464e8a of this[_0x1724d8(0x15b)]){let _0x45cc3d=_0x464e8a[_0x1724d8(0x39e)]();_0x464e8a['setHighlighted'](_0x45cc3d['cxnIndex']===_0x1dddec);}this[_0x1724d8(0x1fe)]=_0x1dddec;}if(_0x5e9463<=0xa&&_0x45942e&&_0x3191d5){let _0x2e906c=_0x45942e[_0x1724d8(0x39e)](),_0x1cf1fb=this[_0x1724d8(0x1cd)](_0x2e906c['shapeId'],_0x2e906c[_0x1724d8(0x319)]);return{'shapeId':_0x2e906c[_0x1724d8(0x45d)],'cxnIndex':_0x2e906c[_0x1724d8(0x319)],'unitId':_0x2e906c[_0x1724d8(0x180)],'subUnitId':_0x2e906c[_0x1724d8(0x582)],'worldPoint':_0x3191d5,'angle':_0x1cf1fb};}return null;}[_0x559cdc(0x1cd)](_0x1d2a56,_0x430938){const _0x4b8e53=_0x559cdc;let _0x58017=this[_0x4b8e53(0x1f9)][_0x4b8e53(0x269)](this[_0x4b8e53(0x13b)],this['_subUnitId'],_0x1d2a56);if(!_0x58017)return 0x0;let _0x28c54f=this[_0x4b8e53(0x2e9)][_0x4b8e53(0x217)]({'unitId':this[_0x4b8e53(0x13b)],'subUnitId':this['_subUnitId'],'drawingId':_0x1d2a56});if(!(_0x28c54f!=null&&_0x28c54f[_0x4b8e53(0x326)]))return 0x0;let {width:_0x5bd866=0x0,height:_0x1acb2a=0x0,flipX:_0x54b43f=!0x1,flipY:_0x240f80=!0x1}=_0x28c54f['transform'];_0x58017[_0x4b8e53(0x202)]({'width':_0x5bd866,'height':_0x1acb2a});let _0x1fe779=_0x58017['getConnectionSiteList']()[_0x4b8e53(0x1c0)](_0x1b7725=>_0x1b7725['index']===_0x430938);if(!_0x1fe779)return 0x0;let _0x5a9ea2=_0x1fe779[_0x4b8e53(0x468)]/0xea60;return _0x54b43f&&(_0x5a9ea2=0xb4-_0x5a9ea2),_0x240f80&&(_0x5a9ea2=-_0x5a9ea2),_0x5a9ea2=(_0x5a9ea2%0x168+0x168)%0x168,_0x5a9ea2;}[_0x559cdc(0x38a)](){const _0x39b3c2=_0x559cdc;for(let _0x5844cf of this['_connectionSiteObjects'])_0x5844cf['dispose']();this[_0x39b3c2(0x15b)]=[],this[_0x39b3c2(0x1fe)]=-0x1;}['dispose'](){const _0x2460fa=_0x559cdc;this[_0x2460fa(0x38a)](),super['dispose']();}};Y=R([L(0x1,(0x0,t['Inject'])(o[_0x559cdc(0x2f1)])),L(0x2,(0x0,t['Inject'])(a[_0x559cdc(0x470)])),L(0x3,(0x0,t[_0x559cdc(0x4fa)])(e[_0x559cdc(0x1bd)]))],Y);let X=class extends t[_0x559cdc(0x54a)]{constructor(_0x20d3f3,_0x58595a,_0x2b46ba,_0xbd85a5,_0x2427b8){const _0x3a76ed=_0x559cdc;super(),this[_0x3a76ed(0x331)]=_0x20d3f3,this[_0x3a76ed(0x5c5)]=_0x58595a,this['_sheetDrawingService']=_0x2b46ba,this[_0x3a76ed(0x483)]=_0xbd85a5,this[_0x3a76ed(0x3cd)]=_0x2427b8,S(this,_0x3a76ed(0x1a8),void 0x0),this['_initCopyPaste'](),this[_0x3a76ed(0x26a)]();}get['_focusedDrawings'](){const _0x2806bb=_0x559cdc;return this[_0x2806bb(0x40f)][_0x2806bb(0x49d)]();}[_0x559cdc(0x26a)](){const _0x1777f7=_0x559cdc;this[_0x1777f7(0x3cd)][_0x1777f7(0x191)](({fromUnitId:_0xf57a2,fromSubUnitId:_0x4b2502,toUnitId:_0x578b07,toSubUnitId:_0x31addb,idMap:_0x4e52f4})=>{const _0x4c560a=_0x1777f7;let _0x49c40a=[],_0x3b98e9=[];for(let [_0xda89aa,_0x533cfa]of _0x4e52f4[_0x4c560a(0x335)]()){let _0x360cdb=this['_shapeService'][_0x4c560a(0x269)](_0xf57a2,_0x4b2502,_0xda89aa);if(!_0x360cdb)continue;let _0x27d28d=_0x360cdb[_0x4c560a(0x33d)](),_0x52fa05=JSON[_0x4c560a(0x1a5)](JSON[_0x4c560a(0x2cd)](_0x360cdb[_0x4c560a(0x222)]()));if(_0x52fa05[_0x4c560a(0x156)]){var _0x4c7510,_0x1e168e;let _0x28fe88=(_0x4c7510=_0x52fa05['relation'][_0x4c560a(0x34a)])==null?void 0x0:_0x4c7510[_0x4c560a(0x45d)],_0x2c9369=(_0x1e168e=_0x52fa05[_0x4c560a(0x156)]['to'])==null?void 0x0:_0x1e168e[_0x4c560a(0x45d)],_0x1d624c=_0x28fe88?_0x4e52f4['has'](_0x28fe88):!0x0,_0x1ae5fb=_0x2c9369?_0x4e52f4['has'](_0x2c9369):!0x0;_0x1d624c&&_0x28fe88&&_0x52fa05[_0x4c560a(0x156)][_0x4c560a(0x34a)]?_0x52fa05[_0x4c560a(0x156)][_0x4c560a(0x34a)]={..._0x52fa05[_0x4c560a(0x156)][_0x4c560a(0x34a)],'shapeId':_0x4e52f4[_0x4c560a(0x2b9)](_0x28fe88)}:_0x52fa05[_0x4c560a(0x156)]['from']=void 0x0,_0x1ae5fb&&_0x2c9369&&_0x52fa05[_0x4c560a(0x156)]['to']?_0x52fa05['relation']['to']={..._0x52fa05['relation']['to'],'shapeId':_0x4e52f4[_0x4c560a(0x2b9)](_0x2c9369)}:_0x52fa05[_0x4c560a(0x156)]['to']=void 0x0;}_0x49c40a[_0x4c560a(0x42d)]({'id':e['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x578b07,'subUnitId':_0x31addb,'shapeId':_0x533cfa,'shapeType':_0x27d28d,'shapeData':_0x52fa05}}),_0x3b98e9[_0x4c560a(0x42d)]({'id':e[_0x4c560a(0x2b7)]['id'],'params':{'unitId':_0x578b07,'subUnitId':_0x31addb,'shapeId':_0x533cfa}});}return{'redos':_0x49c40a,'undos':_0x3b98e9};});}['_initCopyPaste'](){const _0x5822cc=_0x559cdc;this[_0x5822cc(0x491)](this[_0x5822cc(0x5c5)][_0x5822cc(0x453)]({'id':_0x5822cc(0x401),'onBeforeCopy':(_0x660659,_0x3cc701,_0x6fd726,_0x5a1ceb)=>{const _0x47ecd4=_0x5822cc;this[_0x47ecd4(0x1a8)]=null;let _0x2ca27a=this[_0x47ecd4(0x340)];if(_0x2ca27a['length']){let _0x3e7038=_0x2ca27a[_0x47ecd4(0x583)](_0x5c3f08=>_0x5c3f08[_0x47ecd4(0x3f1)]===t[_0x47ecd4(0x19c)][_0x47ecd4(0x2d8)]);if(_0x3e7038[_0x47ecd4(0x5ef)]===0x0)return;this['_copyInfo']={'unitId':_0x660659,'subUnitId':_0x3cc701,'copyType':_0x5a1ceb,'drawings':_0x3e7038};}else this[_0x47ecd4(0x517)](_0x660659,_0x3cc701,_0x6fd726,_0x5a1ceb);},'onPasteCells':(_0x5ee2f7,_0x36e3f6,_0x29d0bd,_0x5a5939)=>{const _0x5efae3=_0x5822cc;if(!this[_0x5efae3(0x1a8)])return{'redos':[],'undos':[]};let {pasteType:_0x4ce331}=_0x5a5939;return _0x4ce331===c[_0x5efae3(0x5b5)]['DEFAULT_PASTE']?this[_0x5efae3(0x394)](_0x36e3f6,this[_0x5efae3(0x1a8)][_0x5efae3(0x4a1)]===c['COPY_TYPE'][_0x5efae3(0x313)]):{'redos':[],'undos':[]};},'onPasteUnrecognized':_0x1a72c4=>this['_copyInfo']?this['_generatePasteMutations'](_0x1a72c4,this[_0x5822cc(0x1a8)]['copyType']===c['COPY_TYPE']['CUT']):{'redos':[],'undos':[]}}));}['_createCopyInfoByRange'](_0xb3c8d9,_0x5f46ea,_0x4fc33f,_0x23d5ca){const _0x281301=_0x559cdc;let _0x11f796=this[_0x281301(0x331)]['getSkeleton'](_0xb3c8d9,_0x5f46ea);if(!_0x11f796)return;let _0x90b7ba=(0x0,n[_0x281301(0x34e)])(_0x11f796,_0x4fc33f);if(!_0x90b7ba)return;let {startX:_0xa1c19d,endX:_0x48f2ce,startY:_0x769445,endY:_0x32c923}=_0x90b7ba,_0xcb2bc1=this['_sheetDrawingService'][_0x281301(0x4f7)](_0xb3c8d9,_0x5f46ea),_0x3a331d=this[_0x281301(0x340)][_0x281301(0x257)]();for(let [_0x2a5cca,_0xc78522]of Object['entries'](_0xcb2bc1)){if(_0xc78522[_0x281301(0x3f1)]!==t[_0x281301(0x19c)][_0x281301(0x2d8)])continue;let {transform:_0x49160c}=_0xc78522;if(!_0x49160c)continue;let {left:_0x4298c9=0x0,top:_0x30dd15=0x0,width:_0x3e057a=0x0,height:_0x4faee4=0x0}=_0x49160c;_0xa1c19d<=_0x4298c9&&_0x48f2ce>=_0x4298c9+_0x3e057a&&_0x769445<=_0x30dd15&&_0x32c923>=_0x30dd15+_0x4faee4&&_0x3a331d[_0x281301(0x42d)](_0xc78522);}_0x3a331d[_0x281301(0x5ef)]>0x0&&(this[_0x281301(0x1a8)]={'unitId':_0xb3c8d9,'subUnitId':_0x5f46ea,'copyType':_0x23d5ca,'copyRange':_0x4fc33f,'drawings':_0x3a331d});}[_0x559cdc(0x394)](_0x2e09e,_0x196189){const _0x4159cf=_0x559cdc;let {unitId:_0x24a97a,subUnitId:_0x3f5b63,range:_0x26c26e}=_0x2e09e,_0x20c6d2=this[_0x4159cf(0x331)][_0x4159cf(0x297)](_0x24a97a,_0x3f5b63);if(!_0x20c6d2)return{'redos':[],'undos':[]};let _0x2fbc35=(0x0,n[_0x4159cf(0x57f)])(_0x26c26e),{unitId:_0x27831f,subUnitId:_0x1a3933,copyRange:_0x4733f8,drawings:_0x2e651f}=this[_0x4159cf(0x1a8)],_0x5bd4f1=this[_0x4159cf(0x331)][_0x4159cf(0x297)](_0x27831f,_0x1a3933);if(!_0x5bd4f1)return{'redos':[],'undos':[]};let _0x4e4076;if(!_0x4733f8){let _0x46ca49=0x1/0x0,_0x9ef49a=0x1/0x0;for(let _0x294d51 of _0x2e651f){var _0x40de65;let {left:_0x5a59b4=0x0,top:_0x1872bf=0x0}=(_0x40de65=_0x294d51[_0x4159cf(0x326)])==null?{}:_0x40de65;_0x5a59b4<_0x46ca49&&(_0x46ca49=_0x5a59b4),_0x1872bf<_0x9ef49a&&(_0x9ef49a=_0x1872bf);}_0x46ca49!==0x1/0x0&&_0x9ef49a!==0x1/0x0&&(_0x4e4076={'left':_0x46ca49,'top':_0x9ef49a});}let _0xfbfd96=new Map();if(!_0x196189){for(let _0x3fdacd of _0x2e651f)_0xfbfd96['set'](_0x3fdacd['drawingId'],(0x0,t[_0x4159cf(0x1e2)])());}let _0x56e7d5=[],_0x4489d5=[];for(let _0x93a76f of _0x2e651f){let {drawingId:_0x519073,transform:_0x336c1b,sheetTransform:_0x56d28e}=_0x93a76f;if(!_0x336c1b||!_0x56d28e)continue;let _0x156c74=this[_0x4159cf(0x277)]({'transform':_0x336c1b,'sheetTransform':_0x56d28e},{'skeleton':_0x5bd4f1,'range':_0x4733f8},{'skeleton':_0x20c6d2,'range':_0x2fbc35},_0x4e4076);if(_0x196189){let {redos:_0x49eeae,undos:_0x136fa8}=this[_0x4159cf(0x578)]({'fromUnitId':_0x27831f,'fromSubUnitId':_0x1a3933,'toUnitId':_0x24a97a,'toSubUnitId':_0x3f5b63,'drawing':_0x93a76f,'newTransforms':_0x156c74});_0x56e7d5[_0x4159cf(0x42d)](..._0x49eeae),_0x4489d5[_0x4159cf(0x42d)](..._0x136fa8);continue;}let {redos:_0xaffcb3,undos:_0x1b1471}=this[_0x4159cf(0x413)]({'toUnitId':_0x24a97a,'toSubUnitId':_0x3f5b63,'drawing':_0x93a76f,'newTransforms':_0x156c74,'newDrawingId':_0xfbfd96[_0x4159cf(0x2b9)](_0x519073),'idMap':_0xfbfd96});_0x56e7d5[_0x4159cf(0x42d)](..._0xaffcb3),_0x4489d5[_0x4159cf(0x42d)](..._0x1b1471);}return{'redos':_0x56e7d5,'undos':_0x4489d5};}[_0x559cdc(0x578)](_0x35a635){const _0x216e83=_0x559cdc;let {fromUnitId:_0x303cfb,fromSubUnitId:_0x2e72af,toUnitId:_0x5873ea,toSubUnitId:_0x209d4a,drawing:_0x2ecebe,newTransforms:_0x1c0c76}=_0x35a635,_0x589851={..._0x2ecebe,'unitId':_0x5873ea,'subUnitId':_0x209d4a,'transform':_0x1c0c76['transform'],'sheetTransform':_0x1c0c76[_0x216e83(0x2a6)]};if(_0x5873ea===_0x303cfb&&_0x209d4a===_0x2e72af){let {redo:_0xb8f926,undo:_0x51ad1a,objects:_0x401c6a}=this[_0x216e83(0x40f)]['getBatchUpdateOp']([_0x589851]);return{'redos':[{'id':r['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x5873ea,'subUnitId':_0x209d4a,'type':r[_0x216e83(0x218)]['UPDATE'],'op':_0xb8f926,'objects':_0x401c6a}}],'undos':[{'id':r[_0x216e83(0x4dc)]['id'],'params':{'unitId':_0x5873ea,'subUnitId':_0x209d4a,'type':r[_0x216e83(0x218)][_0x216e83(0x33a)],'op':_0x51ad1a,'objects':_0x401c6a}}]};}else{let _0x43e1b8=this[_0x216e83(0x40f)]['getBatchRemoveOp']([_0x2ecebe]),_0x383921=this[_0x216e83(0x40f)]['getBatchAddOp']([_0x589851]),_0x18ad28=this['_shapeService']['getShapeModel'](_0x2ecebe[_0x216e83(0x180)],_0x2ecebe['subUnitId'],_0x2ecebe[_0x216e83(0x1fa)]);if(!_0x18ad28)return{'redos':[],'undos':[]};let _0x3edec1=_0x18ad28[_0x216e83(0x33d)](),_0x494e95=JSON[_0x216e83(0x1a5)](JSON[_0x216e83(0x2cd)](_0x18ad28[_0x216e83(0x222)]()));return{'redos':[{'id':r[_0x216e83(0x4dc)]['id'],'params':{'unitId':_0x303cfb,'subUnitId':_0x2e72af,'type':r[_0x216e83(0x218)][_0x216e83(0x3aa)],'op':_0x43e1b8[_0x216e83(0x35e)],'objects':_0x43e1b8[_0x216e83(0x1a4)]}},{'id':e[_0x216e83(0x2b7)]['id'],'params':{'unitId':_0x303cfb,'subUnitId':_0x2e72af,'shapeId':_0x2ecebe[_0x216e83(0x1fa)]}},{'id':r[_0x216e83(0x4dc)]['id'],'params':{'unitId':_0x5873ea,'subUnitId':_0x209d4a,'type':r['DrawingApplyType'][_0x216e83(0x26f)],'op':_0x383921[_0x216e83(0x35e)],'objects':_0x383921['objects']}},{'id':e[_0x216e83(0x403)]['id'],'params':{'unitId':_0x5873ea,'subUnitId':_0x209d4a,'shapeId':_0x2ecebe['drawingId'],'shapeType':_0x3edec1,'shapeData':_0x494e95}}],'undos':[{'id':r[_0x216e83(0x4dc)]['id'],'params':{'unitId':_0x303cfb,'subUnitId':_0x2e72af,'type':r['DrawingApplyType'][_0x216e83(0x26f)],'op':_0x43e1b8[_0x216e83(0x4e7)],'objects':_0x43e1b8[_0x216e83(0x1a4)]}},{'id':e['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x303cfb,'subUnitId':_0x2e72af,'shapeId':_0x2ecebe[_0x216e83(0x1fa)],'shapeType':_0x3edec1,'shapeData':_0x494e95}},{'id':r[_0x216e83(0x4dc)]['id'],'params':{'unitId':_0x5873ea,'subUnitId':_0x209d4a,'type':r[_0x216e83(0x218)]['REMOVE'],'op':_0x383921[_0x216e83(0x4e7)],'objects':_0x383921[_0x216e83(0x1a4)]}},{'id':e[_0x216e83(0x2b7)]['id'],'params':{'unitId':_0x5873ea,'subUnitId':_0x209d4a,'shapeId':_0x2ecebe['drawingId']}}]};}}[_0x559cdc(0x413)](_0x5556eb){const _0x73fbc8=_0x559cdc;let {toUnitId:_0x4a4b02,toSubUnitId:_0x4df623,drawing:_0x158260,newTransforms:_0x483b93,newDrawingId:_0x706fab,idMap:_0x5efc58}=_0x5556eb,_0x34076c={..._0x158260,'unitId':_0x4a4b02,'subUnitId':_0x4df623,'drawingId':_0x706fab,'transform':_0x483b93[_0x73fbc8(0x326)],'sheetTransform':_0x483b93[_0x73fbc8(0x2a6)]},{redo:_0x2f3afd,undo:_0x2a1e62,objects:_0x48077b}=this[_0x73fbc8(0x40f)]['getBatchAddOp']([_0x34076c]),_0xa1e6cf=this[_0x73fbc8(0x483)][_0x73fbc8(0x269)](_0x158260[_0x73fbc8(0x180)],_0x158260[_0x73fbc8(0x582)],_0x158260['drawingId']);if(!_0xa1e6cf)return{'redos':[],'undos':[]};let _0x5c8a1b=_0xa1e6cf['getShapeType'](),_0x5ab262=JSON[_0x73fbc8(0x1a5)](JSON['stringify'](_0xa1e6cf[_0x73fbc8(0x222)]()));if(_0x5ab262[_0x73fbc8(0x156)]){var _0x3420ef,_0x5571ee;let _0x1dddf0=(_0x3420ef=_0x5ab262['relation'][_0x73fbc8(0x34a)])==null?void 0x0:_0x3420ef[_0x73fbc8(0x45d)],_0x28ef44=(_0x5571ee=_0x5ab262['relation']['to'])==null?void 0x0:_0x5571ee['shapeId'],_0x44ad1d=_0x1dddf0?_0x5efc58[_0x73fbc8(0x5be)](_0x1dddf0):!0x0,_0x5e72eb=_0x28ef44?_0x5efc58[_0x73fbc8(0x5be)](_0x28ef44):!0x0;_0x44ad1d&&_0x1dddf0&&_0x5ab262[_0x73fbc8(0x156)][_0x73fbc8(0x34a)]?_0x5ab262[_0x73fbc8(0x156)][_0x73fbc8(0x34a)]={..._0x5ab262[_0x73fbc8(0x156)][_0x73fbc8(0x34a)],'shapeId':_0x5efc58[_0x73fbc8(0x2b9)](_0x1dddf0)}:_0x5ab262['relation'][_0x73fbc8(0x34a)]=void 0x0,_0x5e72eb&&_0x28ef44&&_0x5ab262[_0x73fbc8(0x156)]['to']?_0x5ab262[_0x73fbc8(0x156)]['to']={..._0x5ab262[_0x73fbc8(0x156)]['to'],'shapeId':_0x5efc58[_0x73fbc8(0x2b9)](_0x28ef44)}:_0x5ab262[_0x73fbc8(0x156)]['to']=void 0x0;}return{'redos':[{'id':r[_0x73fbc8(0x4dc)]['id'],'params':{'unitId':_0x4a4b02,'subUnitId':_0x4df623,'type':r[_0x73fbc8(0x218)][_0x73fbc8(0x26f)],'op':_0x2f3afd,'objects':_0x48077b}},{'id':e['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x4a4b02,'subUnitId':_0x4df623,'shapeId':_0x706fab,'shapeType':_0x5c8a1b,'shapeData':_0x5ab262}}],'undos':[{'id':r['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x4a4b02,'subUnitId':_0x4df623,'type':r[_0x73fbc8(0x218)][_0x73fbc8(0x3aa)],'op':_0x2a1e62,'objects':_0x48077b}},{'id':e[_0x73fbc8(0x2b7)]['id'],'params':{'unitId':_0x4a4b02,'subUnitId':_0x4df623,'shapeId':_0x706fab}}]};}['_updateTransform'](_0x37d2ee,_0xf50f6c,_0x4b96ff,_0x1288fe){const _0x2ca5b6=_0x559cdc;var _0x31790b;let {range:_0x511545,skeleton:_0x22dc42}=_0xf50f6c,{range:_0x349ff1,skeleton:_0x39a8da}=_0x4b96ff,{transform:_0x3c48d7,sheetTransform:_0x2f4d58}=_0x37d2ee,_0x4c4a98={..._0x3c48d7};if(_0x511545){let _0xa664f2=(0x0,n[_0x2ca5b6(0x34e)])(_0x22dc42,_0x511545),_0x223c06=(0x0,n[_0x2ca5b6(0x34e)])(_0x39a8da,_0x349ff1);if(_0xa664f2&&_0x223c06){var _0x3d8964,_0x4f8767;let _0x195299=_0x223c06[_0x2ca5b6(0x5e1)]-_0xa664f2[_0x2ca5b6(0x5e1)],_0x27a696=_0x223c06[_0x2ca5b6(0x592)]-_0xa664f2[_0x2ca5b6(0x592)];_0x4c4a98[_0x2ca5b6(0x475)]=((_0x3d8964=_0x4c4a98[_0x2ca5b6(0x475)])==null?0x0:_0x3d8964)+_0x195299,_0x4c4a98[_0x2ca5b6(0x4d6)]=((_0x4f8767=_0x4c4a98[_0x2ca5b6(0x4d6)])==null?0x0:_0x4f8767)+_0x27a696;}}else{let _0x40b00b=(0x0,n[_0x2ca5b6(0x34e)])(_0x39a8da,_0x349ff1);if(_0x1288fe&&_0x40b00b){var _0x58e557,_0x15e13a;let _0x4ad118=((_0x58e557=_0x4c4a98[_0x2ca5b6(0x475)])==null?0x0:_0x58e557)-_0x1288fe[_0x2ca5b6(0x475)],_0x31a0b6=((_0x15e13a=_0x4c4a98['top'])==null?0x0:_0x15e13a)-_0x1288fe[_0x2ca5b6(0x4d6)];_0x4c4a98[_0x2ca5b6(0x475)]=_0x40b00b['startX']+_0x4ad118,_0x4c4a98['top']=_0x40b00b[_0x2ca5b6(0x592)]+_0x31a0b6;}else _0x4c4a98[_0x2ca5b6(0x475)]=_0x40b00b==null?void 0x0:_0x40b00b[_0x2ca5b6(0x5e1)],_0x4c4a98['top']=_0x40b00b==null?void 0x0:_0x40b00b[_0x2ca5b6(0x592)];}return{'transform':_0x4c4a98,'sheetTransform':(_0x31790b=(0x0,r[_0x2ca5b6(0x4bb)])(_0x4c4a98,_0x39a8da))==null?_0x2f4d58:_0x31790b};}};X=R([L(0x0,(0x0,t['Inject'])(n[_0x559cdc(0x58d)])),L(0x1,(0x0,t[_0x559cdc(0x4fa)])(c[_0x559cdc(0x1d1)])),L(0x2,(0x0,t[_0x559cdc(0x4fa)])(r[_0x559cdc(0x21f)])),L(0x3,(0x0,t[_0x559cdc(0x4fa)])(e[_0x559cdc(0x1bd)])),L(0x4,(0x0,t[_0x559cdc(0x4fa)])(g[_0x559cdc(0x567)]))],X);function _0x51f7(_0x388072,_0x22b00f){_0x388072=_0x388072-0x13b;const _0x4e639e=_0x4e63();let _0x51f7cd=_0x4e639e[_0x388072];return _0x51f7cd;}var Fe=class extends o[_0x559cdc(0x2c9)]{constructor(_0x422a98,_0xea8cd0){const _0x41f3e8=_0x559cdc;super(_0x422a98,_0xea8cd0),S(this,_0x41f3e8(0x4ca),null),S(this,'_index',null),S(this,_0x41f3e8(0x13b),null),S(this,_0x41f3e8(0x2a1),null),S(this,_0x41f3e8(0x48d),!0x1),_0xea8cd0&&this[_0x41f3e8(0x425)](_0xea8cd0);}[_0x559cdc(0x300)](){const _0x5d2db4=_0x559cdc;return{'unitId':this['_unitId'],'subUnitId':this[_0x5d2db4(0x2a1)],'drawingId':this[_0x5d2db4(0x4ca)]};}['setShapeProps'](_0x117be4){const _0x274c02=_0x559cdc;_0x117be4['shapeId']!==void 0x0&&(this[_0x274c02(0x4ca)]=_0x117be4[_0x274c02(0x45d)]),_0x117be4[_0x274c02(0x180)]!==void 0x0&&(this[_0x274c02(0x13b)]=_0x117be4[_0x274c02(0x180)]),_0x117be4[_0x274c02(0x582)]!==void 0x0&&(this[_0x274c02(0x2a1)]=_0x117be4[_0x274c02(0x582)]),_0x117be4[_0x274c02(0x13c)]!==void 0x0&&(this[_0x274c02(0x48d)]=_0x117be4[_0x274c02(0x13c)]),this['transformByState']({'width':_0x117be4['width'],'height':_0x117be4['height']});}[_0x559cdc(0x2ed)](_0x2bb9cb){const _0x20a693=_0x559cdc;o['Circle'][_0x20a693(0x250)](_0x2bb9cb,{'radius':u[_0x20a693(0x2b5)][_0x20a693(0x227)],'fill':u['ShapeDefaultConfig'][_0x20a693(0x39b)],'stroke':u[_0x20a693(0x2b5)][_0x20a693(0x5e4)],'strokeWidth':u[_0x20a693(0x2b5)]['cxnPointStrokeWidth'],'evented':!0x0});}};let Z=class extends t[_0x559cdc(0x54a)]{constructor(_0x368c82,_0x45944d,_0xcc0c5,_0x471bce,_0x366839,_0x23fbc8,_0x3c7721,_0xddb78c){const _0x208a80=_0x559cdc;super(),this[_0x208a80(0x4d8)]=_0x368c82,this[_0x208a80(0x193)]=_0x45944d,this[_0x208a80(0x310)]=_0xcc0c5,this[_0x208a80(0x2e9)]=_0x471bce,this[_0x208a80(0x2cf)]=_0x366839,this[_0x208a80(0x1f9)]=_0x23fbc8,this[_0x208a80(0x44c)]=_0x3c7721,this[_0x208a80(0x24c)]=_0xddb78c,S(this,_0x208a80(0x447),void 0x0),S(this,_0x208a80(0x13b),void 0x0),S(this,'_subUnitId',void 0x0),S(this,_0x208a80(0x234),[]),S(this,'_baseDrawingRect',{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),S(this,'_activeShapeModel',void 0x0),S(this,'_isConnecting',!0x1),S(this,_0x208a80(0x24e),!0x1),S(this,_0x208a80(0x42f),!0x1),S(this,'_cxtHandlerPointerMove',void 0x0),S(this,_0x208a80(0x143),void 0x0),S(this,_0x208a80(0x377),null),this[_0x208a80(0x1b6)]();}[_0x559cdc(0x1b6)](){const _0x5f43a3=_0x559cdc;this[_0x5f43a3(0x547)](),this[_0x5f43a3(0x3f6)]();}[_0x559cdc(0x316)](){const _0x1a9dfd=_0x559cdc;if(!this['_unitId']||!this['_subUnitId']||!this[_0x1a9dfd(0x447)])return;let _0x1f6a6e={'unitId':this[_0x1a9dfd(0x13b)],'subUnitId':this[_0x1a9dfd(0x2a1)],'drawingId':this[_0x1a9dfd(0x447)]},{transform:_0x40f905}=this[_0x1a9dfd(0x2e9)][_0x1a9dfd(0x217)](_0x1f6a6e);if(_0x40f905)return{'left':_0x40f905[_0x1a9dfd(0x475)]||0x0,'top':_0x40f905['top']||0x0,'width':_0x40f905[_0x1a9dfd(0x43a)]||0x0,'height':_0x40f905[_0x1a9dfd(0x383)]||0x0,'flipX':_0x40f905[_0x1a9dfd(0x224)]||!0x1,'flipY':_0x40f905[_0x1a9dfd(0x307)]||!0x1,'angle':_0x40f905[_0x1a9dfd(0x416)]};}['_addShapeConnectorHandlerObjects'](){const _0x28d71d=_0x559cdc;if(this['_unitId']===void 0x0||this[_0x28d71d(0x2a1)]===void 0x0||this[_0x28d71d(0x447)]===void 0x0)return;let _0x1e6de1=this[_0x28d71d(0x310)][_0x28d71d(0x28b)](this[_0x28d71d(0x13b)]);if(!_0x1e6de1||!_0x1e6de1[_0x28d71d(0x4bd)](c[_0x28d71d(0x265)])[_0x28d71d(0x20a)]())return;let {scene:_0x158901}=_0x1e6de1,_0x3fc480=this[_0x28d71d(0x316)]();if(!_0x3fc480)return;let _0x6f6672=this['_sheetsShapeService'][_0x28d71d(0x269)](this[_0x28d71d(0x13b)],this[_0x28d71d(0x2a1)],this['_activeShapeId']);if(!_0x6f6672||!(0x0,u[_0x28d71d(0x522)])(_0x6f6672[_0x28d71d(0x33d)]()))return;let _0x4cfd84=_0x6f6672[_0x28d71d(0x14d)]();if(_0x4cfd84[_0x28d71d(0x5ef)]<0x2)return;let _0x2fbae3=new u['ConnectorCoordinateTransform'](_0x3fc480),_0x1bd19f=_0x4cfd84[0x0],_0x4765cb=_0x4cfd84[_0x4cfd84['length']-0x1],_0x3a940a=_0x2fbae3[_0x28d71d(0x2bf)](_0x1bd19f),_0x39d085=_0x2fbae3[_0x28d71d(0x2bf)](_0x4765cb);this[_0x28d71d(0x36d)](_0x158901,{..._0x3a940a},!0x0),this[_0x28d71d(0x36d)](_0x158901,{..._0x39d085},!0x1);}[_0x559cdc(0x36d)](_0xbdd530,_0x5cd609,_0x2853cf){const _0x2c4372=_0x559cdc;if(this[_0x2c4372(0x447)]===void 0x0||this[_0x2c4372(0x13b)]===void 0x0||this[_0x2c4372(0x2a1)]===void 0x0)return;let _0x249064='connector-handler-'+this[_0x2c4372(0x13b)]+'-'+this[_0x2c4372(0x2a1)]+'-'+this[_0x2c4372(0x447)]+'-'+(_0x2853cf?'start':'end'),_0xa19069=_0xbdd530[_0x2c4372(0x332)](_0x249064);if(_0xa19069){_0xa19069['transformByState']({'left':_0x5cd609['x']-u[_0x2c4372(0x2b5)][_0x2c4372(0x227)],'top':_0x5cd609['y']-u[_0x2c4372(0x2b5)]['cxnPointRadius']});return;}let _0x46e8db=new Fe(_0x249064,{'left':_0x5cd609['x']-u[_0x2c4372(0x2b5)]['cxnPointRadius'],'top':_0x5cd609['y']-u[_0x2c4372(0x2b5)][_0x2c4372(0x227)],'shapeId':this['_activeShapeId'],'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'isStartConnectorPoint':_0x2853cf,'width':u[_0x2c4372(0x2b5)][_0x2c4372(0x227)]*0x2,'height':u[_0x2c4372(0x2b5)]['cxnPointRadius']*0x2,'zIndex':o[_0x2c4372(0x36e)]+0x1,'evented':!0x0});this[_0x2c4372(0x234)][_0x2c4372(0x42d)](_0x46e8db),this[_0x2c4372(0x2a3)](_0x46e8db,_0xbdd530,_0x2853cf),_0xbdd530[_0x2c4372(0x2b0)](_0x46e8db,o[_0x2c4372(0x36e)]+0x1);}[_0x559cdc(0x2b8)](_0x5247a3,_0x290f41){const _0x3dad5e=_0x559cdc;var _0x215b0c;let _0x3145e4={'x':0x0,'y':0x0};if(!_0x5247a3||!_0x290f41)return _0x3145e4;let _0x94ab42=this[_0x3dad5e(0x310)][_0x3dad5e(0x28b)](_0x5247a3);if(!_0x94ab42||!_0x94ab42[_0x3dad5e(0x4bd)](c['SheetSkeletonManagerService'])[_0x3dad5e(0x297)](_0x290f41))return _0x3145e4;let _0x292c9f=_0x94ab42[_0x3dad5e(0x4bd)](c[_0x3dad5e(0x323)]),_0x3906dd=_0x292c9f==null?void 0x0:_0x292c9f[_0x3dad5e(0x298)]();if(!_0x3906dd)return _0x3145e4;let _0x53d092=(_0x215b0c=this[_0x3dad5e(0x2cf)][_0x3dad5e(0x529)](_0x5247a3))==null?void 0x0:_0x215b0c['getSheetBySheetId'](_0x290f41);if(!_0x53d092)return _0x3145e4;let _0x491332=(0x0,c[_0x3dad5e(0x27c)])(_0x3906dd['sheetViewStartRow'],_0x3906dd[_0x3dad5e(0x513)],_0x94ab42[_0x3dad5e(0x5e3)],_0x53d092);return _0x491332?{'x':_0x491332[_0x3dad5e(0x23c)],'y':_0x491332[_0x3dad5e(0x346)]}:_0x3145e4;}[_0x559cdc(0x4a9)](_0x3337e9,_0x52d724){var _0x321a3d,_0x1616b5;let _0x51ee15=(_0x321a3d=this['_univerInstanceService']['getUnit'](_0x3337e9))==null?void 0x0:_0x321a3d['getSheetBySheetId'](_0x52d724);return(_0x1616b5=_0x51ee15==null?void 0x0:_0x51ee15['getZoomRatio']())==null?0x1:_0x1616b5;}[_0x559cdc(0x4c7)](_0x561d43,_0x54ae12,_0x17e23e,_0x3d0055,_0x5b0d7e){const _0x4a00d3=_0x559cdc;this[_0x4a00d3(0x477)][_0x4a00d3(0x2f9)](),this[_0x4a00d3(0x143)][_0x4a00d3(0x2f9)](),this[_0x4a00d3(0x44c)]['refreshAdjustControls']();let _0xdadae2=this[_0x4a00d3(0x377)];this[_0x4a00d3(0x24c)][_0x4a00d3(0x4ee)]();let _0x2fda7d=this[_0x4a00d3(0x2b8)](this[_0x4a00d3(0x13b)],this[_0x4a00d3(0x2a1)]),_0x51d5ef=this[_0x4a00d3(0x4a9)](this['_unitId'],this['_subUnitId']),_0x2e1bf7={'x':_0x17e23e[_0x4a00d3(0x4d7)]/_0x51d5ef+_0x2fda7d['x'],'y':_0x17e23e[_0x4a00d3(0x481)]/_0x51d5ef+_0x2fda7d['y']},_0x13c72a=_0xdadae2?_0xdadae2[_0x4a00d3(0x52a)]:_0x2e1bf7,_0xefe845=_0x3d0055?this[_0x4a00d3(0x3ec)][_0x4a00d3(0x531)]():this[_0x4a00d3(0x3ec)][_0x4a00d3(0x4c6)](),_0x372845=this[_0x4a00d3(0x3ec)][_0x4a00d3(0x33d)]();_0xefe845?this[_0x4a00d3(0x2eb)](_0xefe845,_0x13c72a,_0x3d0055,_0xdadae2,_0x5b0d7e):this[_0x4a00d3(0x239)](_0x54ae12,_0x13c72a,_0x3d0055,_0xdadae2,_0x5b0d7e,_0x372845),this[_0x4a00d3(0x50e)]=!0x1,this['_hasReset']=!0x1,this[_0x4a00d3(0x377)]=null,_0x561d43['enableObjectsEvent']();}[_0x559cdc(0x239)](_0x45eb57,_0x53fd14,_0x261eed,_0x464882,_0x2075e3,_0x375f67){const _0x1d7fbb=_0x559cdc;let _0x43a28c=_0x375f67===u[_0x1d7fbb(0x4db)][_0x1d7fbb(0x183)]||_0x375f67===u['ShapeTypeEnum']['StraightConnector1'],_0x14bf4c=_0x261eed?_0x53fd14:_0x45eb57,_0x3a40ef=_0x261eed?_0x45eb57:_0x53fd14,_0xdd6206=this[_0x1d7fbb(0x3ec)][_0x1d7fbb(0x14d)](),_0x45d468=(0x0,u[_0x1d7fbb(0x509)])(this['_activeShapeModel']['getShapeType']()),_0x548f8a=u[_0x1d7fbb(0x1a9)][_0x1d7fbb(0x2a0)](_0xdd6206,_0x45d468),_0x47c976=_0x43a28c?u[_0x1d7fbb(0x1a9)][_0x1d7fbb(0x17c)](_0x14bf4c,_0x3a40ef):u[_0x1d7fbb(0x1a9)][_0x1d7fbb(0x13e)](_0x45eb57,_0x53fd14,_0x261eed,_0x548f8a);_0x464882?this[_0x1d7fbb(0x1d3)](_0x47c976,_0x464882,_0x261eed,_0x2075e3):this[_0x1d7fbb(0x572)](_0x47c976,_0x2075e3);}[_0x559cdc(0x2eb)](_0x42b4a7,_0x5b3923,_0x3506d8,_0x9039c,_0x96f42f){const _0x53d4ee=_0x559cdc;let _0x52f6c1=this['_getConnectPointInfo'](_0x42b4a7);if(!_0x52f6c1)return;let _0x33684b=_0x9039c?_0x9039c['angle']:this[_0x53d4ee(0x4e0)](_0x52f6c1[_0x53d4ee(0x1b3)],_0x5b3923),_0x4faa4a;if(_0x9039c){let _0x3aa9f2=this[_0x53d4ee(0x2e9)]['getDrawingByParam']({'unitId':_0x9039c[_0x53d4ee(0x180)],'subUnitId':_0x9039c['subUnitId'],'drawingId':_0x9039c[_0x53d4ee(0x45d)]});if(_0x3aa9f2!=null&&_0x3aa9f2['transform']){let {left:_0x5ad87d=0x0,top:_0x61a6e6=0x0,width:_0x4fbb6d=0x0,height:_0x38539c=0x0,angle:_0x3a15fc}=_0x3aa9f2[_0x53d4ee(0x326)];_0x4faa4a=(0x0,u[_0x53d4ee(0x271)])({'left':_0x5ad87d,'top':_0x61a6e6,'width':_0x4fbb6d,'height':_0x38539c},_0x3a15fc||0x0);}else _0x4faa4a={'left':_0x5b3923['x'],'top':_0x5b3923['y'],'width':0x0,'height':0x0};}else _0x4faa4a={'left':_0x5b3923['x'],'top':_0x5b3923['y'],'width':0x0,'height':0x0};let _0x4b35d5={'point':_0x5b3923,'angle':_0x33684b,'bounds':_0x4faa4a},_0x1f0e53=_0x3506d8?_0x4b35d5:_0x52f6c1,_0x5a779e=_0x3506d8?_0x52f6c1:_0x4b35d5,_0x4062e6=this[_0x53d4ee(0x3ec)][_0x53d4ee(0x33d)](),_0x3c07d3=(0x0,u['routeConnectorLineShape'])(_0x1f0e53,_0x5a779e,_0x4062e6);this[_0x53d4ee(0x3ec)]['removeLinePoints']();let _0x5a4c34=(0x0,u['computeConnectorRouteLayout'])(_0x3c07d3,_0x4062e6);_0x9039c?this[_0x53d4ee(0x2e0)](_0x5a4c34,_0x9039c,_0x42b4a7,_0x3506d8,_0x96f42f):this[_0x53d4ee(0x42b)](_0x5a4c34,_0x42b4a7,_0x3506d8,_0x96f42f);}[_0x559cdc(0x1d3)](_0x31e09a,_0x2bc9fd,_0x5acf73,_0xb2dffe){const _0x39c124=_0x559cdc;let _0x4f65e7=this['_activeShapeModel'][_0x39c124(0x222)]()[_0x39c124(0x156)],_0xc72b31={..._0x4f65e7},_0xb77acd={'shapeId':_0x2bc9fd[_0x39c124(0x45d)],'cxnIndex':_0x2bc9fd[_0x39c124(0x319)]};_0x5acf73?_0xc72b31[_0x39c124(0x34a)]=_0xb77acd:_0xc72b31['to']=_0xb77acd;let _0x9ceada=this[_0x39c124(0x3ec)][_0x39c124(0x33d)](),_0x483896=(0x0,u['computeConnectorRouteLayout'])(_0x31e09a['worldPoints'],_0x9ceada),_0xb1970a={'unitId':this[_0x39c124(0x13b)],'subUnitId':this[_0x39c124(0x2a1)],'connectorShapeId':this['_activeShapeId'],'width':_0x31e09a[_0x39c124(0x47d)][_0x39c124(0x43a)],'height':_0x31e09a[_0x39c124(0x47d)][_0x39c124(0x383)],'left':_0x31e09a['worldRect'][_0x39c124(0x475)],'top':_0x31e09a[_0x39c124(0x47d)][_0x39c124(0x4d6)],'flipX':_0x31e09a[_0x39c124(0x47d)][_0x39c124(0x224)]||!0x1,'flipY':_0x31e09a[_0x39c124(0x47d)][_0x39c124(0x307)]||!0x1,'newAdjustValues':_0x483896[_0x39c124(0x5c9)],'oldAdjustValues':_0xb2dffe,'oldRelation':_0x4f65e7,'newRelation':_0xc72b31,'newLineType':_0x483896[_0x39c124(0x4b7)],'oldLineType':_0x9ceada};this[_0x39c124(0x193)][_0x39c124(0x1ed)](e[_0x39c124(0x41f)]['id'],_0xb1970a);}[_0x559cdc(0x572)](_0xdf5fc8,_0x18f6a2){const _0x2f1d40=_0x559cdc;let _0x52886b=this['_activeShapeModel'][_0x2f1d40(0x33d)](),_0x4cd288=(0x0,u[_0x2f1d40(0x16a)])(_0xdf5fc8[_0x2f1d40(0x1e0)],_0x52886b),_0x1fbe6c={'unitId':this[_0x2f1d40(0x13b)],'subUnitId':this['_subUnitId'],'shapeId':this[_0x2f1d40(0x447)],'width':_0xdf5fc8[_0x2f1d40(0x47d)][_0x2f1d40(0x43a)],'height':_0xdf5fc8[_0x2f1d40(0x47d)][_0x2f1d40(0x383)],'left':_0xdf5fc8[_0x2f1d40(0x47d)]['left'],'top':_0xdf5fc8['worldRect']['top'],'flipX':_0xdf5fc8['worldRect'][_0x2f1d40(0x224)]||!0x1,'flipY':_0xdf5fc8[_0x2f1d40(0x47d)]['flipY']||!0x1,'angle':_0xdf5fc8[_0x2f1d40(0x47d)]['angle']||0x0,'newAdjustValues':_0x4cd288[_0x2f1d40(0x5c9)],'oldAdjustValues':_0x18f6a2,'newLineType':_0x4cd288['lineType'],'oldLineType':_0x52886b};this['_commandService'][_0x2f1d40(0x1ed)](e[_0x2f1d40(0x2ad)]['id'],_0x1fbe6c);}['_executeConnectedRouteConnectionCommand'](_0x5f87a2,_0x57ee53,_0x17f208,_0x4d2309,_0x4c403e){const _0x10b571=_0x559cdc;let _0x31b3a9=this[_0x10b571(0x3ec)][_0x10b571(0x222)]()[_0x10b571(0x156)],_0x4bf8e4={..._0x31b3a9},_0x47676d={'shapeId':_0x57ee53['shapeId'],'cxnIndex':_0x57ee53[_0x10b571(0x319)]};_0x4d2309?(_0x4bf8e4['from']=_0x47676d,_0x4bf8e4['to']=_0x17f208):(_0x4bf8e4[_0x10b571(0x34a)]=_0x17f208,_0x4bf8e4['to']=_0x47676d);let _0x553764={'unitId':this[_0x10b571(0x13b)],'subUnitId':this[_0x10b571(0x2a1)],'connectorShapeId':this['_activeShapeId'],'width':_0x5f87a2['worldRect'][_0x10b571(0x43a)],'height':_0x5f87a2[_0x10b571(0x47d)][_0x10b571(0x383)],'left':_0x5f87a2['worldRect'][_0x10b571(0x475)],'top':_0x5f87a2[_0x10b571(0x47d)][_0x10b571(0x4d6)],'flipX':_0x5f87a2[_0x10b571(0x47d)][_0x10b571(0x224)]||!0x1,'flipY':_0x5f87a2[_0x10b571(0x47d)][_0x10b571(0x307)]||!0x1,'oldAdjustValues':_0x4c403e,'newAdjustValues':_0x5f87a2[_0x10b571(0x5c9)],'newLineType':_0x5f87a2[_0x10b571(0x4b7)],'rotation':_0x5f87a2[_0x10b571(0x58f)],'oldRelation':_0x31b3a9,'newRelation':_0x4bf8e4};this[_0x10b571(0x193)][_0x10b571(0x1ed)](e[_0x10b571(0x41f)]['id'],_0x553764);}[_0x559cdc(0x42b)](_0x3c581a,_0x2daf0d,_0x444c12,_0x530b74){const _0x22b546=_0x559cdc;let _0x57819b=this['_activeShapeModel'][_0x22b546(0x222)]()[_0x22b546(0x156)],_0x4f2ede={};_0x444c12?(_0x4f2ede['to']=_0x2daf0d,_0x4f2ede[_0x22b546(0x34a)]=void 0x0):(_0x4f2ede['from']=_0x2daf0d,_0x4f2ede['to']=void 0x0);let _0x374b42={'unitId':this[_0x22b546(0x13b)],'subUnitId':this[_0x22b546(0x2a1)],'connectorShapeId':this[_0x22b546(0x447)],'width':_0x3c581a[_0x22b546(0x47d)][_0x22b546(0x43a)],'height':_0x3c581a['worldRect'][_0x22b546(0x383)],'left':_0x3c581a['worldRect'][_0x22b546(0x475)],'top':_0x3c581a[_0x22b546(0x47d)][_0x22b546(0x4d6)],'flipX':_0x3c581a[_0x22b546(0x47d)][_0x22b546(0x224)]||!0x1,'flipY':_0x3c581a['worldRect'][_0x22b546(0x307)]||!0x1,'oldAdjustValues':_0x530b74,'newAdjustValues':_0x3c581a['adjustValues'],'newLineType':_0x3c581a[_0x22b546(0x4b7)],'rotation':_0x3c581a[_0x22b546(0x58f)],'oldRelation':_0x57819b,'newRelation':_0x4f2ede};this[_0x22b546(0x193)][_0x22b546(0x1ed)](e[_0x22b546(0x41f)]['id'],_0x374b42);}[_0x559cdc(0x2a3)](_0x3c9024,_0x2a35df,_0x3e684d){const _0x2acf1c=_0x559cdc;this['disposeWithMe']((0x0,t[_0x2acf1c(0x328)])(_0x3c9024[_0x2acf1c(0x1d5)][_0x2acf1c(0x581)]((_0x3e6461,_0x174464)=>{const _0xea886e=_0x2acf1c;let _0x51c9dc=_0x3c9024[_0xea886e(0x300)]();if(this[_0xea886e(0x3ec)]=this[_0xea886e(0x1f9)][_0xea886e(0x269)](_0x51c9dc[_0xea886e(0x180)],_0x51c9dc[_0xea886e(0x582)],_0x51c9dc[_0xea886e(0x1fa)]),!this[_0xea886e(0x3ec)])return;let _0x49b144={};this[_0xea886e(0x3ec)][_0xea886e(0x433)]()[_0xea886e(0x1d0)](_0x265129=>{let _0x151725=this['_activeShapeModel']['getAdjustValueByName'](_0x265129);_0x151725!==void 0x0&&(_0x49b144[_0x265129]=_0x151725);});let _0x468180=this[_0xea886e(0x316)]();if(!_0x468180)return;this[_0xea886e(0x3ac)]={..._0x468180};let _0xede714=new u[(_0xea886e(0x1a9))](this['_baseDrawingRect']),_0x25b603=(0x0,a['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0xea886e(0x13b)],'subUnitId':this[_0xea886e(0x2a1)],'drawingId':this['_activeShapeId']}),_0x5cbfdd=_0x2a35df[_0xea886e(0x332)](_0x25b603);this[_0xea886e(0x50e)]=!0x0,_0x2a35df[_0xea886e(0x2a7)](),this[_0xea886e(0x24c)][_0xea886e(0x585)](_0x2a35df,this['_unitId'],this[_0xea886e(0x2a1)],this['_activeShapeId']),this[_0xea886e(0x377)]=null;let _0x518e12=this[_0xea886e(0x3ec)][_0xea886e(0x14d)](),_0x4d0117=_0x518e12[0x0],_0x51ac51=_0x518e12[_0x518e12['length']-0x1],_0x555ea9=_0x3e684d?_0xede714[_0xea886e(0x2bf)](_0x51ac51):_0xede714[_0xea886e(0x2bf)](_0x4d0117);this[_0xea886e(0x477)]=_0x2a35df['onPointerMove$'][_0xea886e(0x581)]((_0x65895,_0x320a84)=>{const _0x3dcc8f=_0xea886e;if(!this[_0x3dcc8f(0x50e)]||!this[_0x3dcc8f(0x3ec)])return;this[_0x3dcc8f(0x42f)]||(this[_0x3dcc8f(0x44c)][_0x3dcc8f(0x1ce)](),this['_activeShapeModel'][_0x3dcc8f(0x179)](),this[_0x3dcc8f(0x42f)]=!0x0);let _0x256664=this['_getScrollInfo'](this['_unitId'],this[_0x3dcc8f(0x2a1)]),_0x382c2c=this[_0x3dcc8f(0x4a9)](this[_0x3dcc8f(0x13b)],this[_0x3dcc8f(0x2a1)]),_0x3c8626={'x':_0x65895[_0x3dcc8f(0x4d7)]/_0x382c2c+_0x256664['x'],'y':_0x65895[_0x3dcc8f(0x481)]/_0x382c2c+_0x256664['y']},_0x389467=this[_0x3dcc8f(0x24c)]['updateConnectionDetection'](_0x3c8626);if(_0x389467){let {shapeId:_0xece0a,unitId:_0x4fbedf,subUnitId:_0x57c6aa}=_0x389467;if(_0xece0a&&_0x4fbedf&&_0x57c6aa){let _0x4bf83a=(0x0,a['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x4fbedf,'subUnitId':_0x57c6aa,'drawingId':_0xece0a});_0x389467[_0x3dcc8f(0x416)]=(_0x2a35df['getObjectIncludeInGroup'](_0x4bf83a)[_0x3dcc8f(0x416)]||0x0)+_0x389467[_0x3dcc8f(0x416)];}}this['_currentConnectionTarget']=_0x389467;let _0x3f8036=_0x3e684d?this[_0x3dcc8f(0x3ec)][_0x3dcc8f(0x531)]():this[_0x3dcc8f(0x3ec)][_0x3dcc8f(0x4c6)]();if(_0x3f8036){this[_0x3dcc8f(0x1ef)](_0x3f8036,_0x3c8626,_0x3e684d,_0x5cbfdd,_0x3c9024);return;}this[_0x3dcc8f(0x214)](_0x3c8626,_0x555ea9,_0x3e684d,_0x5cbfdd,_0x3c9024);}),this[_0xea886e(0x143)]=_0x2a35df['onPointerUp$'][_0xea886e(0x581)]((_0x13dca7,_0xf19f5d)=>{this['_handleConnectorPointerUp'](_0x2a35df,_0x555ea9,_0x13dca7,_0x3e684d,_0x49b144);}),_0x174464[_0xea886e(0x411)]();})));}[_0x559cdc(0x369)](_0x1d255f,_0x366941,_0x2282ef){const _0x1324c4=_0x559cdc;let _0x30ebb9=this[_0x1324c4(0x1f9)][_0x1324c4(0x3b5)](_0x1d255f,_0x366941,_0x2282ef);if(!_0x30ebb9||_0x30ebb9[_0x1324c4(0x5ef)]===0x0)return;let _0x5920a1=this['_renderManagerService'][_0x1324c4(0x28b)](_0x1d255f);if(!_0x5920a1)return;let {scene:_0x4d3c44}=_0x5920a1;for(let _0x2060bc of _0x30ebb9){let _0x151645=_0x2060bc[_0x1324c4(0x5e6)],_0x3bdf36=this['_sheetsShapeService'][_0x1324c4(0x269)](_0x1d255f,_0x366941,_0x151645);if(!_0x3bdf36)continue;let _0x1f94bf=_0x3bdf36['getStartConnectInfo'](),_0x570f81=_0x3bdf36[_0x1324c4(0x531)](),_0xd07ff=(_0x1f94bf==null?void 0x0:_0x1f94bf[_0x1324c4(0x45d)])===_0x2282ef,_0x3fd283=(0x0,a[_0x1324c4(0x317)])({'unitId':_0x1d255f,'subUnitId':_0x366941,'drawingId':_0x151645}),_0x5198cc=_0x4d3c44[_0x1324c4(0x332)](_0x3fd283);if(!_0x5198cc)continue;let _0x23e880=this['_drawingManagerService']['getDrawingByParam']({'unitId':_0x1d255f,'subUnitId':_0x366941,'drawingId':_0x151645});_0x23e880!=null&&_0x23e880['transform']&&(_0x1f94bf&&_0x570f81?this[_0x1324c4(0x347)](_0x1d255f,_0x366941,_0x151645,_0x3bdf36,_0x1f94bf,_0x570f81,_0x5198cc):this[_0x1324c4(0x59f)](_0x1d255f,_0x366941,_0x151645,_0x3bdf36,_0xd07ff?_0x1f94bf:_0x570f81,_0xd07ff,_0x23e880,_0x5198cc));}}[_0x559cdc(0x347)](_0x23f79d,_0x3ca2eb,_0x4116e5,_0x34d89b,_0x85fb41,_0x40e620,_0x3edca3){const _0x46c572=_0x559cdc;let _0x235a77=this[_0x46c572(0x13b)],_0x204851=this['_subUnitId'];this[_0x46c572(0x13b)]=_0x23f79d,this[_0x46c572(0x2a1)]=_0x3ca2eb;let _0x42321f=this[_0x46c572(0x296)](_0x85fb41),_0x1f246a=this[_0x46c572(0x296)](_0x40e620);if(this[_0x46c572(0x13b)]=_0x235a77,this[_0x46c572(0x2a1)]=_0x204851,!_0x42321f||!_0x1f246a)return;let _0x3811e8=_0x34d89b[_0x46c572(0x33d)](),_0x3b6861=(0x0,u[_0x46c572(0x390)])(_0x42321f,_0x1f246a,_0x3811e8);_0x3b6861&&_0x34d89b[_0x46c572(0x264)](_0x3b6861);let _0x157883=(0x0,u[_0x46c572(0x16a)])(_0x3b6861,_0x3811e8);_0x157883[_0x46c572(0x4b7)]!==_0x3811e8&&_0x34d89b[_0x46c572(0x3b3)](_0x157883[_0x46c572(0x4b7)]),_0x34d89b[_0x46c572(0x179)]();for(let [_0x30a6db,_0x573ba2]of Object[_0x46c572(0x335)](_0x157883['adjustValues']))_0x34d89b[_0x46c572(0x445)](_0x30a6db,_0x573ba2);_0x34d89b['updateContext']({'width':_0x157883[_0x46c572(0x47d)][_0x46c572(0x43a)],'height':_0x157883['worldRect'][_0x46c572(0x383)]}),_0x3edca3['transformByState']({'flipX':_0x157883['worldRect'][_0x46c572(0x224)],'flipY':_0x157883[_0x46c572(0x47d)]['flipY'],'left':_0x157883[_0x46c572(0x47d)]['left'],'top':_0x157883[_0x46c572(0x47d)]['top'],'width':_0x157883[_0x46c572(0x47d)]['width'],'height':_0x157883['worldRect'][_0x46c572(0x383)],'angle':_0x157883[_0x46c572(0x58f)]}),_0x34d89b[_0x46c572(0x1c8)]();}[_0x559cdc(0x59f)](_0x31b2c6,_0xfdb840,_0x4f9901,_0x5816b6,_0x255460,_0x3685dc,_0x59dd0c,_0x22c996){const _0x14d22b=_0x559cdc;let _0x4c5e35=this['_unitId'],_0x1fc9fc=this['_subUnitId'];this[_0x14d22b(0x13b)]=_0x31b2c6,this[_0x14d22b(0x2a1)]=_0xfdb840;let _0x1db491=this[_0x14d22b(0x296)](_0x255460);if(this['_unitId']=_0x4c5e35,this[_0x14d22b(0x2a1)]=_0x1fc9fc,!_0x1db491)return;let {left:_0x2a7a48=0x0,top:_0x58b051=0x0,width:_0x279aae=0x0,height:_0x1100e8=0x0,flipX:_0x240d55=!0x1,flipY:_0x1e63f9=!0x1}=_0x59dd0c[_0x14d22b(0x326)],_0x42f0f4=_0x5816b6[_0x14d22b(0x14d)]();if(_0x42f0f4['length']<0x2)return;let _0x1b65a8=new u['ConnectorCoordinateTransform']({'left':_0x2a7a48,'top':_0x58b051,'width':_0x279aae,'height':_0x1100e8,'flipX':_0x240d55,'flipY':_0x1e63f9}),_0xe8e2bb=_0x3685dc?_0x42f0f4[_0x42f0f4[_0x14d22b(0x5ef)]-0x1]:_0x42f0f4[0x0],_0x4d0a84=_0x1b65a8['localToWorld'](_0xe8e2bb),_0x1ce67f=u[_0x14d22b(0x1a9)][_0x14d22b(0x13e)](_0x4d0a84,_0x1db491[_0x14d22b(0x1b3)],!_0x3685dc);_0x22c996['transformByState']({'flipX':_0x1ce67f[_0x14d22b(0x47d)]['flipX'],'flipY':_0x1ce67f[_0x14d22b(0x47d)]['flipY'],'left':_0x1ce67f[_0x14d22b(0x47d)][_0x14d22b(0x475)],'top':_0x1ce67f[_0x14d22b(0x47d)][_0x14d22b(0x4d6)],'width':_0x1ce67f[_0x14d22b(0x47d)][_0x14d22b(0x43a)],'height':_0x1ce67f[_0x14d22b(0x47d)]['height'],'angle':_0x1ce67f[_0x14d22b(0x47d)]['angle']}),_0x22c996['makeDirty'](!0x0);}[_0x559cdc(0x543)](){const _0x200e03=_0x559cdc;this[_0x200e03(0x234)][_0x200e03(0x5ef)]!==0x0&&(this[_0x200e03(0x234)][_0x200e03(0x1d0)](_0xf9416a=>{const _0xa8135b=_0x200e03;_0xf9416a[_0xa8135b(0x327)]();}),this[_0x200e03(0x234)]=[]);}[_0x559cdc(0x3f6)](){const _0x54baf6=_0x559cdc;let _0x3794af=this[_0x54baf6(0x2cf)][_0x54baf6(0x4f5)](t['UniverInstanceType'][_0x54baf6(0x2d0)]);this['disposeWithMe'](_0x3794af[_0x54baf6(0x44b)]((0x0,i['switchMap'])(_0x21b26d=>_0x21b26d?_0x21b26d['activeSheet$']['pipe']((0x0,i[_0x54baf6(0x366)])(_0x16d8dd=>{const _0x5bf756=_0x54baf6;if(!_0x16d8dd)return i[_0x5bf756(0x4fd)];let _0x10f6a2=_0x21b26d['getUnitId'](),_0x1e7918=this[_0x5bf756(0x310)]['getRenderById'](_0x10f6a2),_0x26ce1f=_0x1e7918==null?void 0x0:_0x1e7918[_0x5bf756(0x5e3)];return _0x26ce1f?(0x0,i['of'])(_0x26ce1f):i['EMPTY'];})):i[_0x54baf6(0x4fd)]))[_0x54baf6(0x174)](_0x58d45f=>{const _0x488ec8=_0x54baf6;let _0x510721=_0x58d45f[_0x488ec8(0x4b5)]();this[_0x488ec8(0x491)](_0x58d45f[_0x488ec8(0x54b)][_0x488ec8(0x581)](_0x2a9e12=>{const _0xdf08dd=_0x488ec8;this[_0xdf08dd(0x24e)]&&this[_0xdf08dd(0x447)]&&this[_0xdf08dd(0x543)]();})),this[_0x488ec8(0x491)](_0x510721[_0x488ec8(0x5cf)][_0x488ec8(0x174)](_0xd59e21=>{const _0x2f7367=_0x488ec8;let {objects:_0x4d856c}=_0xd59e21;this[_0x2f7367(0x543)](),_0x4d856c!==null&&_0x4d856c[_0x2f7367(0x1d9)]===0x1&&_0x4d856c[_0x2f7367(0x540)]()['next']()[_0x2f7367(0x490)]instanceof I&&(this['_isDrawingShapePointDown']=!0x0);})),this[_0x488ec8(0x491)](_0x510721[_0x488ec8(0x19e)][_0x488ec8(0x174)](_0x22e446=>{const _0xf963ff=_0x488ec8;this['_isDrawingShapePointDown']&&this[_0xf963ff(0x543)]();})),this[_0x488ec8(0x491)](_0x58d45f[_0x488ec8(0x1b5)]['subscribeEvent'](()=>{const _0x1027b0=_0x488ec8;this[_0x1027b0(0x24e)]&&(this[_0x1027b0(0x24e)]=!0x1,this[_0x1027b0(0x3c0)]());})),this['disposeWithMe'](_0x510721[_0x488ec8(0x38d)][_0x488ec8(0x174)](()=>{const _0x431ad9=_0x488ec8;this[_0x431ad9(0x13b)]&&this[_0x431ad9(0x2a1)]&&this[_0x431ad9(0x447)]&&this[_0x431ad9(0x2e9)][_0x431ad9(0x217)]({'unitId':this[_0x431ad9(0x13b)],'subUnitId':this[_0x431ad9(0x2a1)],'drawingId':this['_activeShapeId']})&&(this['_clearShapeConnectorHandlerObjects'](),this[_0x431ad9(0x3c0)]());}));}));}[_0x559cdc(0x547)](){const _0x2cb138=_0x559cdc;this['disposeWithMe'](this[_0x2cb138(0x2e9)][_0x2cb138(0x3bb)]['subscribe'](_0xe8aed6=>{const _0x1b7055=_0x2cb138;if(_0xe8aed6[_0x1b7055(0x5ef)]===0x1){let _0x2cb77a=_0xe8aed6[0x0];if(_0x2cb77a['drawingType']===t[_0x1b7055(0x19c)]['DRAWING_SHAPE']){let _0x49f685=this[_0x1b7055(0x1f9)]['getShapeModel'](_0x2cb77a[_0x1b7055(0x180)],_0x2cb77a[_0x1b7055(0x582)],_0x2cb77a['drawingId']);if(_0x49f685&&(0x0,u[_0x1b7055(0x522)])(_0x49f685[_0x1b7055(0x33d)]())){this[_0x1b7055(0x447)]=_0x2cb77a[_0x1b7055(0x1fa)],this[_0x1b7055(0x13b)]=_0x2cb77a['unitId'],this[_0x1b7055(0x2a1)]=_0x2cb77a[_0x1b7055(0x582)],this[_0x1b7055(0x543)](),this[_0x1b7055(0x3c0)]();return;}}}this['_activeShapeId']=void 0x0,this[_0x1b7055(0x13b)]=void 0x0,this[_0x1b7055(0x2a1)]=void 0x0,this['_clearShapeConnectorHandlerObjects']();})),this[_0x2cb138(0x491)](this['_drawingManagerService'][_0x2cb138(0x4e8)][_0x2cb138(0x174)](_0x5364b9=>{const _0x79a8c0=_0x2cb138;if(_0x5364b9['length']===0x1){var _0xb8b25;let _0x5ea36f=_0x5364b9[0x0],_0x47398f=(_0xb8b25=this[_0x79a8c0(0x2e9)][_0x79a8c0(0x217)](_0x5ea36f))==null?void 0x0:_0xb8b25['drawingType'];_0x47398f===t[_0x79a8c0(0x19c)][_0x79a8c0(0x2d8)]&&_0x5ea36f[_0x79a8c0(0x1fa)]===this['_activeShapeId']?(this[_0x79a8c0(0x543)](),this[_0x79a8c0(0x3c0)]()):!this[_0x79a8c0(0x447)]&&_0x47398f===t[_0x79a8c0(0x19c)][_0x79a8c0(0x2d8)]&&this[_0x79a8c0(0x369)](_0x5ea36f['unitId'],_0x5ea36f[_0x79a8c0(0x582)],_0x5ea36f['drawingId']);}})),this[_0x2cb138(0x491)](this[_0x2cb138(0x2e9)][_0x2cb138(0x541)][_0x2cb138(0x174)](_0x49de60=>{const _0x3544d6=_0x2cb138;for(let _0x18073a of _0x49de60){let {drawingId:_0x1f3bad}=_0x18073a;if(this[_0x3544d6(0x447)]===_0x1f3bad){this[_0x3544d6(0x3fa)]();return;}}}));}[_0x559cdc(0x1ef)](_0x5c17d3,_0x5b1068,_0x3fe444,_0xda0071,_0x3991d1){const _0x1791b7=_0x559cdc;var _0x25b1f5,_0x251c65;if(!this['_activeShapeModel'])return;let _0xe90243=this['_getConnectPointInfo'](_0x5c17d3);if(!_0xe90243)return;let _0x3c5ff3=this['_currentConnectionTarget']?this[_0x1791b7(0x377)][_0x1791b7(0x52a)]:_0x5b1068,_0xe7f83b=this['_currentConnectionTarget']?this[_0x1791b7(0x377)][_0x1791b7(0x416)]:this[_0x1791b7(0x4e0)](_0xe90243[_0x1791b7(0x1b3)],_0x3c5ff3),_0x3fa274;if(this[_0x1791b7(0x377)]){let _0x5ec561=this[_0x1791b7(0x2e9)]['getDrawingByParam']({'unitId':this[_0x1791b7(0x377)]['unitId'],'subUnitId':this[_0x1791b7(0x377)][_0x1791b7(0x582)],'drawingId':this[_0x1791b7(0x377)][_0x1791b7(0x45d)]});if(_0x5ec561!=null&&_0x5ec561[_0x1791b7(0x326)]){let {left:_0x4a5e4f=0x0,top:_0x1a31f8=0x0,width:_0x122386=0x0,height:_0x36496a=0x0,angle:_0x39c6ed}=_0x5ec561['transform'];_0x3fa274=(0x0,u['getBasicShapeRotateBound'])({'left':_0x4a5e4f,'top':_0x1a31f8,'width':_0x122386,'height':_0x36496a},_0x39c6ed||0x0);}else _0x3fa274={'left':_0x3c5ff3['x'],'top':_0x3c5ff3['y'],'width':0x0,'height':0x0};}else _0x3fa274={'left':_0x3c5ff3['x'],'top':_0x3c5ff3['y'],'width':0x0,'height':0x0};let _0x3f323f={'point':_0x3c5ff3,'angle':_0xe7f83b,'bounds':_0x3fa274},_0x335cb9=_0x3fe444?_0x3f323f:_0xe90243,_0xd133ad=_0x3fe444?_0xe90243:_0x3f323f,_0x4a1abf=this['_activeShapeModel'][_0x1791b7(0x33d)](),_0x3579de=(0x0,u[_0x1791b7(0x390)])(_0x335cb9,_0xd133ad,_0x4a1abf);_0x3579de&&this['_activeShapeModel'][_0x1791b7(0x264)](_0x3579de);let _0x195826=(0x0,u[_0x1791b7(0x16a)])(_0x3579de,_0x4a1abf);_0x195826[_0x1791b7(0x4b7)]!==_0x4a1abf&&this[_0x1791b7(0x3ec)][_0x1791b7(0x3b3)](_0x195826[_0x1791b7(0x4b7)]);for(let [_0xe8c662,_0x4b8758]of Object[_0x1791b7(0x335)](_0x195826[_0x1791b7(0x5c9)]))this[_0x1791b7(0x3ec)][_0x1791b7(0x445)](_0xe8c662,_0x4b8758);this[_0x1791b7(0x3ec)][_0x1791b7(0x202)]({'width':_0x195826['worldRect'][_0x1791b7(0x43a)],'height':_0x195826[_0x1791b7(0x47d)][_0x1791b7(0x383)]}),_0xda0071['transformByState']({'flipX':_0x195826['worldRect'][_0x1791b7(0x224)],'flipY':_0x195826['worldRect'][_0x1791b7(0x307)],'left':_0x195826[_0x1791b7(0x47d)]['left'],'top':_0x195826[_0x1791b7(0x47d)][_0x1791b7(0x4d6)],'width':_0x195826[_0x1791b7(0x47d)][_0x1791b7(0x43a)],'height':_0x195826[_0x1791b7(0x47d)][_0x1791b7(0x383)],'angle':_0x195826[_0x1791b7(0x58f)]}),_0xda0071[_0x1791b7(0x4b8)](!0x0);let _0x238058=(_0x25b1f5=(_0x251c65=this[_0x1791b7(0x377)])==null?void 0x0:_0x251c65['worldPoint'])==null?_0x5b1068:_0x25b1f5;_0x3991d1[_0x1791b7(0x380)]({'left':_0x238058['x']-u[_0x1791b7(0x2b5)][_0x1791b7(0x227)],'top':_0x238058['y']-u[_0x1791b7(0x2b5)][_0x1791b7(0x227)]});}[_0x559cdc(0x214)](_0x45c9bc,_0x3fc64e,_0x16b95e,_0x5d05fb,_0x9aa84e){const _0x1fa986=_0x559cdc;var _0x3fd5c5,_0x573421,_0x355f89,_0x32cd15;let _0x216872=(_0x3fd5c5=(_0x573421=this[_0x1fa986(0x377)])==null?void 0x0:_0x573421[_0x1fa986(0x52a)])==null?_0x45c9bc:_0x3fd5c5,_0x49db81=u['ConnectorCoordinateTransform'][_0x1fa986(0x13e)](_0x3fc64e,_0x216872,_0x16b95e);_0x5d05fb[_0x1fa986(0x380)]({'flipX':_0x49db81[_0x1fa986(0x47d)][_0x1fa986(0x224)],'flipY':_0x49db81['worldRect'][_0x1fa986(0x307)],'left':_0x49db81[_0x1fa986(0x47d)]['left'],'top':_0x49db81[_0x1fa986(0x47d)][_0x1fa986(0x4d6)],'width':_0x49db81[_0x1fa986(0x47d)][_0x1fa986(0x43a)],'height':_0x49db81['worldRect'][_0x1fa986(0x383)],'angle':_0x49db81[_0x1fa986(0x47d)][_0x1fa986(0x416)]});let _0x184098=(_0x355f89=(_0x32cd15=this[_0x1fa986(0x377)])==null?void 0x0:_0x32cd15['worldPoint'])==null?_0x45c9bc:_0x355f89;_0x9aa84e['transformByState']({'left':_0x184098['x']-u[_0x1fa986(0x2b5)][_0x1fa986(0x227)],'top':_0x184098['y']-u[_0x1fa986(0x2b5)]['cxnPointRadius']});}[_0x559cdc(0x296)](_0x3b0d7a){const _0x9067c0=_0x559cdc;if(!this['_unitId']||!this[_0x9067c0(0x2a1)])return null;let {shapeId:_0x1cf874,cxnIndex:_0x16f36a}=_0x3b0d7a,_0x2ecea4=this[_0x9067c0(0x1f9)][_0x9067c0(0x269)](this['_unitId'],this[_0x9067c0(0x2a1)],_0x1cf874);if(!_0x2ecea4)return null;let _0x430f70=this[_0x9067c0(0x2e9)][_0x9067c0(0x217)]({'unitId':this[_0x9067c0(0x13b)],'subUnitId':this[_0x9067c0(0x2a1)],'drawingId':_0x1cf874});if(!(_0x430f70!=null&&_0x430f70['transform']))return null;let {left:_0x38c0cc=0x0,top:_0x267383=0x0,width:_0x2107c5=0x0,height:_0x307c4b=0x0,flipX:_0x11a360=!0x1,flipY:_0x219dee=!0x1,angle:_0x2d3482}=_0x430f70[_0x9067c0(0x326)];_0x2ecea4[_0x9067c0(0x202)]({'width':_0x2107c5,'height':_0x307c4b});let _0x6f673c=_0x2ecea4['getConnectionSiteList']()[_0x9067c0(0x1c0)](_0x9b0987=>_0x9b0987[_0x9067c0(0x275)]===_0x16f36a);if(!_0x6f673c)return null;let _0x1a6fa8=_0x11a360?_0x2107c5-_0x6f673c['x']:_0x6f673c['x'],_0x343256=_0x219dee?_0x307c4b-_0x6f673c['y']:_0x6f673c['y'];if(_0x2d3482!==0x0&&_0x2d3482!=null){let _0x351ca3=_0x2d3482*Math['PI']/0xb4,_0x362129=Math[_0x9067c0(0x50a)](_0x351ca3),_0x529eb0=Math['sin'](_0x351ca3),_0x36ee90=_0x2107c5/0x2,_0x3f97a3=_0x307c4b/0x2,_0x728c64=_0x1a6fa8-_0x36ee90,_0x4fbd43=_0x343256-_0x3f97a3;_0x1a6fa8=_0x36ee90+_0x728c64*_0x362129-_0x4fbd43*_0x529eb0,_0x343256=_0x3f97a3+_0x728c64*_0x529eb0+_0x4fbd43*_0x362129;}_0x1a6fa8+=_0x38c0cc,_0x343256+=_0x267383;let _0x58b480=_0x6f673c[_0x9067c0(0x468)]/0xea60;_0x11a360&&(_0x58b480=0xb4-_0x58b480),_0x219dee&&(_0x58b480=-_0x58b480),_0x58b480+=_0x2d3482||0x0,_0x58b480=(_0x58b480%0x168+0x168)%0x168;let _0x380c39=(0x0,u[_0x9067c0(0x271)])({'left':_0x38c0cc,'top':_0x267383,'width':_0x2107c5,'height':_0x307c4b},_0x2d3482||0x0);return{'point':{'x':_0x1a6fa8,'y':_0x343256},'angle':_0x58b480,'bounds':_0x380c39};}[_0x559cdc(0x4e0)](_0x591114,_0x3a7abe){const _0x5ef841=_0x559cdc;let _0x552e78=_0x3a7abe['x']-_0x591114['x'],_0x59c72e=_0x3a7abe['y']-_0x591114['y'];return Math['abs'](_0x552e78)>=Math[_0x5ef841(0x3c3)](_0x59c72e)?_0x552e78>=0x0?0xb4:0x0:_0x59c72e>=0x0?0x10e:0x5a;}[_0x559cdc(0x3fa)](){const _0xb85010=_0x559cdc;this[_0xb85010(0x447)]=void 0x0,this['_unitId']=void 0x0,this[_0xb85010(0x2a1)]=void 0x0,this['_clearShapeConnectorHandlerObjects']();}[_0x559cdc(0x327)](){const _0x4d3f05=_0x559cdc;this['_clearShapeConnectorHandlerObjects'](),super[_0x4d3f05(0x327)]();}};Z=R([L(0x1,t[_0x559cdc(0x279)]),L(0x2,o[_0x559cdc(0x2f1)]),L(0x3,a[_0x559cdc(0x470)]),L(0x4,t[_0x559cdc(0x3c1)]),L(0x5,(0x0,t[_0x559cdc(0x4fa)])(e[_0x559cdc(0x1bd)])),L(0x6,(0x0,t['Inject'])(B)),L(0x7,(0x0,t[_0x559cdc(0x4fa)])(Y))],Z);let Q=class extends t['Disposable']{constructor(_0x47615a,_0x804abb,_0x7826cc){const _0x275364=_0x559cdc;super(),this[_0x275364(0x193)]=_0x47615a,this[_0x275364(0x5d3)]=_0x804abb,this[_0x275364(0x424)]=_0x7826cc,this[_0x275364(0x3fc)]();}['_initPermission'](){const _0x249209=_0x559cdc;this[_0x249209(0x491)](this[_0x249209(0x193)][_0x249209(0x344)](_0xf8b7e4=>{const _0x331238=_0x249209;let _0x46721a,_0x622234;if(_0xf8b7e4['id']===e[_0x331238(0x212)]['id']||_0xf8b7e4['id']===e[_0x331238(0x54f)]['id']||_0xf8b7e4['id']===e['UpdateConnectorRelationCommand']['id']){let _0x5472d6=_0xf8b7e4[_0x331238(0x1e5)];_0x46721a=_0x5472d6[_0x331238(0x180)],_0x622234=_0x5472d6[_0x331238(0x582)];}!_0x46721a||!_0x622234||this[_0x331238(0x424)][_0x331238(0x29b)]({'workbookTypes':[n[_0x331238(0x2e4)]],'worksheetTypes':[n[_0x331238(0x459)]]},_0x46721a,_0x622234)||this[_0x331238(0x424)][_0x331238(0x384)](this[_0x331238(0x5d3)]['t'](_0x331238(0x213)));}));}};Q=R([L(0x0,(0x0,t[_0x559cdc(0x4fa)])(t[_0x559cdc(0x279)])),L(0x1,(0x0,t[_0x559cdc(0x4fa)])(t['LocaleService'])),L(0x2,(0x0,t[_0x559cdc(0x4fa)])(n[_0x559cdc(0x24d)]))],Q);let $=class extends t[_0x559cdc(0x268)]{constructor(_0x5d0890=Ce,_0x435019,_0xda348b,_0x267595,_0x5b8e4c){const _0x5829f2=_0x559cdc;super(),this[_0x5829f2(0x404)]=_0x5d0890,this['_injector']=_0x435019,this['_commandService']=_0xda348b,this[_0x5829f2(0x3a7)]=_0x267595,this['_renderManagerService']=_0x5b8e4c;let {..._0x37e143}=(0x0,t[_0x5829f2(0x510)])({},Ce,this['_config']);this[_0x5829f2(0x3a7)][_0x5829f2(0x43b)]('sheets-shape-ui.config',_0x37e143),this[_0x5829f2(0x5b3)]();}[_0x559cdc(0x1fc)](){const _0x3815b7=_0x559cdc;(0x0,t[_0x3815b7(0x39d)])(this['_injector'],[[U],[W],[z]]);}[_0x559cdc(0x55f)](){const _0x441067=_0x559cdc;this[_0x441067(0x1b4)]['get'](U)[_0x441067(0x20e)]();}[_0x559cdc(0x50d)](){const _0x6a6c2f=_0x559cdc;[[Y],[B],[X]][_0x6a6c2f(0x1d0)](_0x2731d6=>this[_0x6a6c2f(0x1b4)][_0x6a6c2f(0x504)](_0x2731d6)),(0x0,t[_0x6a6c2f(0x39d)])(this['_injector'],[[X]]),this[_0x6a6c2f(0x310)][_0x6a6c2f(0x412)](t[_0x6a6c2f(0x3f5)][_0x6a6c2f(0x2d0)],[Y]),this[_0x6a6c2f(0x310)][_0x6a6c2f(0x412)](t['UniverInstanceType'][_0x6a6c2f(0x2d0)],[B]),this[_0x6a6c2f(0x310)][_0x6a6c2f(0x412)](t[_0x6a6c2f(0x3f5)][_0x6a6c2f(0x2d0)],[K]),this[_0x6a6c2f(0x310)]['registerRenderModule'](t['UniverInstanceType'][_0x6a6c2f(0x2d0)],[Z]),this[_0x6a6c2f(0x310)][_0x6a6c2f(0x412)](t[_0x6a6c2f(0x3f5)][_0x6a6c2f(0x2d0)],[je]),this['_renderManagerService'][_0x6a6c2f(0x412)](t[_0x6a6c2f(0x3f5)][_0x6a6c2f(0x29d)],[J]);}[_0x559cdc(0x2a4)](){const _0x28ca49=_0x559cdc;this[_0x28ca49(0x1b4)][_0x28ca49(0x504)]([G]),this[_0x28ca49(0x1b4)][_0x28ca49(0x2b9)](G);let _0x39ea1d=this[_0x28ca49(0x1b4)];[[U],[W],[z],[C],[q],[H],[Q]][_0x28ca49(0x1d0)](_0x3a72b6=>_0x39ea1d[_0x28ca49(0x504)](_0x3a72b6)),(0x0,t[_0x28ca49(0x39d)])(this[_0x28ca49(0x1b4)],[[U],[W],[z],[C],[q],[H],[Q]]);}['_initCommands'](){const _0x5d8208=_0x559cdc;[V,T,A,E,D,k,O,M,N,j,se]['forEach'](_0x5e9f9f=>this[_0x5d8208(0x491)](this[_0x5d8208(0x193)][_0x5d8208(0x1cf)](_0x5e9f9f)));}};S($,'type',t['UniverInstanceType'][_0x559cdc(0x2d0)]),S($,_0x559cdc(0x18e),'SHEET_SHAPE_UI_PLUGIN'),S($,'packageName',xe),S($,_0x559cdc(0x151),Se),$=R([(0x0,t[_0x559cdc(0x53b)])(g[_0x559cdc(0x51f)],e[_0x559cdc(0x294)]),L(0x1,(0x0,t[_0x559cdc(0x4fa)])(t[_0x559cdc(0x15e)])),L(0x2,t[_0x559cdc(0x279)]),L(0x3,t[_0x559cdc(0x558)]),L(0x4,o['IRenderManagerService'])],$),exports[_0x559cdc(0x57c)]=D,exports['SetShapeTextFontSizeDecreaseCommand']=k,exports[_0x559cdc(0x149)]=O,exports[_0x559cdc(0x368)]=E,exports[_0x559cdc(0x4c4)]=A,exports[_0x559cdc(0x5a9)]=j,Object[_0x559cdc(0x4f9)](exports,_0x559cdc(0x5e0),{'enumerable':!0x0,'get':function(){return U;}}),Object['defineProperty'](exports,_0x559cdc(0x221),{'enumerable':!0x0,'get':function(){return $;}}),exports['UpdateShapeDataCommand']=T;
|
|
1
|
+
const _0x1bf676=_0x33a1;(function(_0x1c6f94,_0x5a711f){const _0x429063=_0x33a1,_0x387a65=_0x1c6f94();while(!![]){try{const _0x58770f=parseInt(_0x429063(0x476))/0x1+parseInt(_0x429063(0x2f0))/0x2*(parseInt(_0x429063(0x3bc))/0x3)+-parseInt(_0x429063(0x540))/0x4*(parseInt(_0x429063(0x402))/0x5)+parseInt(_0x429063(0x33b))/0x6+-parseInt(_0x429063(0x252))/0x7*(-parseInt(_0x429063(0x511))/0x8)+parseInt(_0x429063(0x4c4))/0x9*(-parseInt(_0x429063(0x449))/0xa)+-parseInt(_0x429063(0x5ef))/0xb*(-parseInt(_0x429063(0x4a8))/0xc);if(_0x58770f===_0x5a711f)break;else _0x387a65['push'](_0x387a65['shift']());}catch(_0x5d61a6){_0x387a65['push'](_0x387a65['shift']());}}}(_0x1d55,0x85562),Object[_0x1bf676(0x4d5)](exports,Symbol[_0x1bf676(0x281)],{'value':_0x1bf676(0x385)}));let e=require('@univerjs-pro/sheets-shape'),t=require('@univerjs/core'),n=require('@univerjs/sheets'),r=require('@univerjs/sheets-drawing'),i=require('rxjs'),a=require('@univerjs/drawing'),o=require('@univerjs/engine-render'),s=require('@univerjs/docs-ui'),c=require('@univerjs/sheets-ui'),l=require('@univerjs/ui'),u=require('@univerjs-pro/engine-shape'),d=require('@univerjs/drawing-ui'),f=require('@univerjs/docs'),p=require('@univerjs/design'),m=require('react'),h=require('react/jsx-runtime'),g=require('@univerjs/sheets-drawing-ui'),_=require('@univerjs/icons'),v=require('@univerjs-pro/shape-editor-ui');function y(_0x50c7bf){'@babel/helpers - typeof';const _0x4e533e=_0x1bf676;return y=typeof Symbol==_0x4e533e(0x290)&&typeof Symbol['iterator']=='symbol'?function(_0x1fe220){return typeof _0x1fe220;}:function(_0x189ba4){const _0x5c0f04=_0x4e533e;return _0x189ba4&&typeof Symbol=='function'&&_0x189ba4[_0x5c0f04(0x37a)]===Symbol&&_0x189ba4!==Symbol['prototype']?_0x5c0f04(0x485):typeof _0x189ba4;},y(_0x50c7bf);}function b(_0x2fb127,_0x394cf3){const _0x747a3c=_0x1bf676;if(y(_0x2fb127)!='object'||!_0x2fb127)return _0x2fb127;var _0xccfc0c=_0x2fb127[Symbol[_0x747a3c(0x4c6)]];if(_0xccfc0c!==void 0x0){var _0x2814de=_0xccfc0c[_0x747a3c(0x258)](_0x2fb127,_0x394cf3||_0x747a3c(0x33c));if(y(_0x2814de)!=_0x747a3c(0x407))return _0x2814de;throw TypeError(_0x747a3c(0x5f0));}return(_0x394cf3===_0x747a3c(0x410)?String:Number)(_0x2fb127);}function x(_0x5cd950){const _0x17b45f=_0x1bf676;var _0x490d75=b(_0x5cd950,_0x17b45f(0x410));return y(_0x490d75)==_0x17b45f(0x485)?_0x490d75:_0x490d75+'';}function S(_0x4c5102,_0x2abd7f,_0x2379e6){const _0x37799f=_0x1bf676;return(_0x2abd7f=x(_0x2abd7f))in _0x4c5102?Object[_0x37799f(0x4d5)](_0x4c5102,_0x2abd7f,{'value':_0x2379e6,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4c5102[_0x2abd7f]=_0x2379e6,_0x4c5102;}var C=class extends t[_0x1bf676(0x5b5)]{constructor(..._0x3fb405){const _0x534bbc=_0x1bf676;super(..._0x3fb405),S(this,_0x534bbc(0x4bb),new i['BehaviorSubject'](null)),S(this,'editingParams$',this[_0x534bbc(0x4bb)]['asObservable']()),S(this,'_onSavingEditorData$',new i[(_0x534bbc(0x525))](!0x1)),S(this,'onSavingEditorData$',this[_0x534bbc(0x26e)][_0x534bbc(0x5a0)]());}[_0x1bf676(0x53f)](){const _0x1b9f64=_0x1bf676;this[_0x1b9f64(0x4bb)]['next'](null),this[_0x1b9f64(0x4bb)][_0x1b9f64(0x227)](),this[_0x1b9f64(0x26e)][_0x1b9f64(0x47e)](!0x1),this[_0x1b9f64(0x26e)]['complete'](),super[_0x1b9f64(0x53f)]();}[_0x1bf676(0x1ed)](_0x423cdb){const _0x381e1e=_0x1bf676;this[_0x381e1e(0x4bb)][_0x381e1e(0x47e)](_0x423cdb),_0x423cdb==null&&this[_0x381e1e(0x26e)]['next'](!0x1);}[_0x1bf676(0x4a1)](_0x30980b){const _0x271731=_0x1bf676;this[_0x271731(0x26e)][_0x271731(0x47e)](_0x30980b);}['getEditing'](){const _0x11c113=_0x1bf676;return this[_0x11c113(0x4bb)][_0x11c113(0x437)]();}};function w(_0x352cf6,_0x4ed0ff){const _0xdb7333=_0x1bf676;let _0x2d8107={};for(let _0x2e6b1d of Object[_0xdb7333(0x222)](_0x4ed0ff)){let _0x500370=_0x4ed0ff[_0x2e6b1d],_0x6aee84=_0x352cf6[_0x2e6b1d];if(_0x500370!==void 0x0){if(_0x6aee84===void 0x0){_0x2d8107[_0x2e6b1d]=void 0x0;continue;}typeof _0x500370==_0xdb7333(0x407)&&_0x500370&&!Array[_0xdb7333(0x37f)](_0x500370)&&typeof _0x6aee84==_0xdb7333(0x407)&&_0x6aee84&&!Array[_0xdb7333(0x37f)](_0x6aee84)?_0x2d8107[_0x2e6b1d]=w(_0x6aee84,_0x500370):_0x2d8107[_0x2e6b1d]=_0x6aee84;}}return _0x2d8107;}const T={'type':t[_0x1bf676(0x5ea)][_0x1bf676(0x2b1)],'id':'sheet.command.update-shape-data','handler':(_0x17c151,_0x3e948b)=>{const _0x304b7e=_0x1bf676;let _0x435062=_0x17c151['get'](e['SheetsShapeService']),{unitId:_0x3446e3,subUnitId:_0x12fe90,shapeType:_0x2bca0f,shapeId:_0x2ae88d,shapeData:_0x1fe4de,oldShapeJSON:_0x31e0ca}=_0x3e948b;if(!_0x435062[_0x304b7e(0x655)](_0x3446e3,_0x12fe90,_0x2ae88d))return!0x1;let _0x417afb=_0x17c151[_0x304b7e(0x1f9)](t[_0x304b7e(0x63c)]),_0x4d76f8=_0x17c151['get'](t[_0x304b7e(0x518)]),{oldShapeType:_0x154eb6,oldShapeData:_0x3b1cfd={}}=_0x31e0ca,_0x3fd108=w(_0x3b1cfd,_0x1fe4de||{}),_0x273521={'id':e[_0x304b7e(0x276)]['id'],'params':{'unitId':_0x3446e3,'subUnitId':_0x12fe90,'shapeId':_0x2ae88d,'shapeType':_0x2bca0f,'shapeData':_0x1fe4de}},_0x434e17={'id':e[_0x304b7e(0x276)]['id'],'params':{'unitId':_0x3446e3,'subUnitId':_0x12fe90,'shapeId':_0x2ae88d,'shapeType':_0x154eb6,'shapeData':_0x3fd108}};return _0x417afb[_0x304b7e(0x40c)](_0x273521['id'],_0x273521[_0x304b7e(0x20d)])?(_0x4d76f8[_0x304b7e(0x59d)]({'unitID':_0x3446e3,'undoMutations':[_0x434e17],'redoMutations':[_0x273521]}),!0x0):!0x1;}},E={'type':t[_0x1bf676(0x5ea)][_0x1bf676(0x2b1)],'id':_0x1bf676(0x5a3),'handler':async(_0x3522a0,_0x337ec2)=>{const _0x150842=_0x1bf676;var _0x297c61;if(!(0x0,n[_0x150842(0x41b)])(_0x3522a0['get'](t[_0x150842(0x247)])))return!0x1;let _0x2a3375=_0x3522a0[_0x150842(0x1f9)](r[_0x150842(0x2af)])[_0x150842(0x62f)]()[_0x150842(0x289)](_0x1d55db=>_0x1d55db[_0x150842(0x24b)]===t[_0x150842(0x45e)][_0x150842(0x2f9)]);if(_0x2a3375[_0x150842(0x2cd)]!==0x1)return!0x1;let _0x2eb84c=_0x3522a0[_0x150842(0x1f9)](C)[_0x150842(0x20c)](),_0x3c5249=(_0x2eb84c==null?void 0x0:_0x2eb84c[_0x150842(0x3c1)])||_0x2a3375[0x0][_0x150842(0x3c1)],_0x935a70=(_0x2eb84c==null?void 0x0:_0x2eb84c[_0x150842(0x5d0)])||_0x2a3375[0x0][_0x150842(0x5d0)],_0x41849b=(_0x2eb84c==null?void 0x0:_0x2eb84c['shapeId'])||_0x2a3375[0x0][_0x150842(0x45c)],_0x37f19d=_0x3522a0['get'](e[_0x150842(0x35a)])[_0x150842(0x655)](_0x3c5249,_0x935a70,_0x41849b);if(!_0x37f19d)return!0x1;let _0x327d69=_0x37f19d[_0x150842(0x4fb)]();if(!_0x327d69||!(_0x150842(0x478)in _0x327d69))return!0x1;let _0x40032f=_0x3522a0['get'](t[_0x150842(0x63c)]),{value:_0x2960ff}=_0x337ec2,_0x282b38=_0x37f19d[_0x150842(0x4c7)](),_0x3071d3=_0x37f19d[_0x150842(0x2e3)](),_0x2f7f8f={..._0x327d69[_0x150842(0x478)],'ha':_0x2960ff};return await _0x40032f[_0x150842(0x2e7)](T['id'],{'unitId':_0x3c5249,'subUnitId':_0x935a70,'shapeId':_0x41849b,'shapeType':_0x282b38,'shapeData':{'shapeText':{'isHorizontal':(_0x297c61=_0x327d69[_0x150842(0x48b)])==null?!0x0:_0x297c61,'dataModel':_0x2f7f8f}},'oldShapeJSON':{'oldShapeType':_0x282b38,'oldShapeData':_0x3071d3}});}},D={'type':t[_0x1bf676(0x5ea)]['COMMAND'],'id':'sheet.command.set-shape-text-font-size','handler':async(_0x3596c4,_0x4d6e73)=>{const _0x77cd15=_0x1bf676;var _0x4422b0;if(!_0x4d6e73)return!0x1;let {value:_0x285961}=_0x4d6e73,_0x53932b=_0x3596c4[_0x77cd15(0x1f9)](t['ICommandService']),_0xc2a60c=_0x3596c4[_0x77cd15(0x1f9)](C),_0x39acbd=_0x3596c4[_0x77cd15(0x1f9)](e[_0x77cd15(0x35a)]),_0x177c9d=_0x3596c4[_0x77cd15(0x1f9)](o[_0x77cd15(0x4b4)]),_0x333eb7=_0xc2a60c['getEditing']();if(!_0x333eb7)return!0x1;let {unitId:_0x3a6a26,subUnitId:_0x3c2d36,shapeId:_0x6b38ff}=_0x333eb7,_0x1f04d6=_0x39acbd[_0x77cd15(0x655)](_0x3a6a26,_0x3c2d36,_0x6b38ff);if(!_0x1f04d6)return!0x1;let _0x31ff7c=_0x1f04d6[_0x77cd15(0x4fb)]();if(!_0x31ff7c||!(_0x77cd15(0x478)in _0x31ff7c))return!0x1;let _0x8bf3c4=_0x31ff7c[_0x77cd15(0x478)];if(!_0x8bf3c4)return!0x1;let _0x1aa541={..._0x8bf3c4,'fs':_0x285961},_0x34d882=await _0x53932b['executeCommand'](T['id'],{'unitId':_0x3a6a26,'subUnitId':_0x3c2d36,'shapeId':_0x6b38ff,'shapeData':{'shapeText':{'isHorizontal':(_0x4422b0=_0x31ff7c['isHorizontal'])==null?!0x0:_0x4422b0,'dataModel':_0x1aa541}}});if(_0x34d882){let _0x359144=_0x177c9d[_0x77cd15(0x4bf)](_0x3a6a26);if(_0x359144!=null&&_0x359144[_0x77cd15(0x5c6)]){let _0x20d9ef=(0x0,a[_0x77cd15(0x205)])({'unitId':_0x3a6a26,'subUnitId':_0x3c2d36,'drawingId':_0x6b38ff}),_0x5d5689=_0x359144[_0x77cd15(0x5c6)][_0x77cd15(0x5d3)](_0x20d9ef);_0x5d5689&&_0x5d5689[_0x77cd15(0x664)](!0x0);}}return _0x34d882;}},O={'type':t['CommandType'][_0x1bf676(0x2b1)],'id':_0x1bf676(0x345),'handler':async _0xb1d7aa=>{const _0x472ed3=_0x1bf676;var _0x38d58c;let _0x65937e=_0xb1d7aa['get'](C),_0x30131c=_0xb1d7aa[_0x472ed3(0x1f9)](e[_0x472ed3(0x35a)]),_0x231f50=_0xb1d7aa['get'](t[_0x472ed3(0x63c)]),_0xfbf003=_0x65937e[_0x472ed3(0x20c)]();if(!_0xfbf003)return!0x1;let {unitId:_0x2139f1,subUnitId:_0x34d993,shapeId:_0x3d1498}=_0xfbf003,_0x5625d7=_0x30131c['getShapeModel'](_0x2139f1,_0x34d993,_0x3d1498);if(!_0x5625d7)return!0x1;let _0x5686e3=_0x5625d7['getShapeTextData']();if(!_0x5686e3||!(_0x472ed3(0x478)in _0x5686e3))return!0x1;let _0x4b80a4=_0x5686e3[_0x472ed3(0x478)],_0x578db4=(_0x38d58c=_0x4b80a4==null?void 0x0:_0x4b80a4['fs'])==null?0xe:_0x38d58c,_0x4f886a=[0x9,0xa,0xb,0xc,0xe,0x10,0x12,0x14,0x16,0x18,0x1a,0x1c,0x24,0x30,0x48],_0x45e0e9=_0x578db4,_0x36e50e=_0x4f886a['indexOf'](_0x578db4);return _0x36e50e!==-0x1&&_0x36e50e<_0x4f886a['length']-0x1?_0x45e0e9=_0x4f886a[_0x36e50e+0x1]:_0x36e50e===-0x1&&(_0x45e0e9=Math[_0x472ed3(0x5b7)](_0x578db4)+0x1),_0x231f50[_0x472ed3(0x2e7)](D['id'],{'value':_0x45e0e9});}},k={'type':t[_0x1bf676(0x5ea)][_0x1bf676(0x2b1)],'id':'sheet.command.set-shape-text-font-size-decrease','handler':async _0x4221a5=>{const _0x4946c7=_0x1bf676;var _0x2489d8;let _0x2c4cee=_0x4221a5[_0x4946c7(0x1f9)](C),_0x35f5e5=_0x4221a5[_0x4946c7(0x1f9)](e[_0x4946c7(0x35a)]),_0x4b6b13=_0x4221a5[_0x4946c7(0x1f9)](t[_0x4946c7(0x63c)]),_0x3594f4=_0x2c4cee[_0x4946c7(0x20c)]();if(!_0x3594f4)return!0x1;let {unitId:_0x5340db,subUnitId:_0x1d5763,shapeId:_0x12dbb4}=_0x3594f4,_0x73012=_0x35f5e5[_0x4946c7(0x655)](_0x5340db,_0x1d5763,_0x12dbb4);if(!_0x73012)return!0x1;let _0x4786d9=_0x73012[_0x4946c7(0x4fb)]();if(!_0x4786d9||!('dataModel'in _0x4786d9))return!0x1;let _0x3bb564=_0x4786d9[_0x4946c7(0x478)],_0x49ae1a=(_0x2489d8=_0x3bb564==null?void 0x0:_0x3bb564['fs'])==null?0xe:_0x2489d8,_0x3e0dcb=[0x9,0xa,0xb,0xc,0xe,0x10,0x12,0x14,0x16,0x18,0x1a,0x1c,0x24,0x30,0x48],_0x575eae=_0x49ae1a,_0x2b2631=_0x3e0dcb[_0x4946c7(0x294)](_0x49ae1a);return _0x2b2631!==-0x1&&_0x2b2631>0x0?_0x575eae=_0x3e0dcb[_0x2b2631-0x1]:_0x2b2631===-0x1&&(_0x575eae=Math[_0x4946c7(0x5b7)](_0x49ae1a)-0x1),_0x575eae<0x1&&(_0x575eae=0x1),_0x4b6b13[_0x4946c7(0x2e7)](D['id'],{'value':_0x575eae});}},A={'type':t[_0x1bf676(0x5ea)][_0x1bf676(0x2b1)],'id':_0x1bf676(0x251),'handler':async(_0x3226c5,_0xf6ba32)=>{const _0x4c9a9d=_0x1bf676;var _0x3da82;if(!(0x0,n[_0x4c9a9d(0x41b)])(_0x3226c5[_0x4c9a9d(0x1f9)](t[_0x4c9a9d(0x247)])))return!0x1;let _0x230549=_0x3226c5['get'](r[_0x4c9a9d(0x2af)])[_0x4c9a9d(0x62f)]()['filter'](_0xfd9f37=>_0xfd9f37[_0x4c9a9d(0x24b)]===t[_0x4c9a9d(0x45e)][_0x4c9a9d(0x2f9)]);if(_0x230549['length']!==0x1)return!0x1;let _0x4fad59=_0x3226c5[_0x4c9a9d(0x1f9)](C)[_0x4c9a9d(0x20c)](),_0x850098=(_0x4fad59==null?void 0x0:_0x4fad59['unitId'])||_0x230549[0x0][_0x4c9a9d(0x3c1)],_0x159e9c=(_0x4fad59==null?void 0x0:_0x4fad59[_0x4c9a9d(0x5d0)])||_0x230549[0x0][_0x4c9a9d(0x5d0)],_0x17d9f1=(_0x4fad59==null?void 0x0:_0x4fad59[_0x4c9a9d(0x4b9)])||_0x230549[0x0][_0x4c9a9d(0x45c)],_0x343109=_0x3226c5[_0x4c9a9d(0x1f9)](e['SheetsShapeService'])[_0x4c9a9d(0x655)](_0x850098,_0x159e9c,_0x17d9f1);if(!_0x343109)return!0x1;let _0x302966=_0x343109['getShapeTextData']();if(!_0x302966||!('dataModel'in _0x302966))return!0x1;let _0x3eeefa=_0x3226c5['get'](t[_0x4c9a9d(0x63c)]),{value:_0x369d2f}=_0xf6ba32,_0x11bc52=_0x343109[_0x4c9a9d(0x4c7)](),_0x1614c3=_0x343109[_0x4c9a9d(0x2e3)](),_0x499a14={..._0x302966[_0x4c9a9d(0x478)],'va':_0x369d2f};return await _0x3eeefa[_0x4c9a9d(0x2e7)](T['id'],{'unitId':_0x850098,'subUnitId':_0x159e9c,'shapeId':_0x17d9f1,'shapeType':_0x11bc52,'shapeData':{'shapeText':{'isHorizontal':(_0x3da82=_0x302966[_0x4c9a9d(0x48b)])==null?!0x0:_0x3da82,'dataModel':_0x499a14}},'oldShapeJSON':{'oldShapeType':_0x11bc52,'oldShapeData':_0x1614c3}});}},j={'type':t['CommandType'][_0x1bf676(0x2b1)],'id':_0x1bf676(0x622),'handler':(_0x582f0c,_0x2c5a81)=>{const _0x1aed0a=_0x1bf676;if(!_0x2c5a81)return!0x1;let {value:_0x658609}=_0x2c5a81;return _0x582f0c[_0x1aed0a(0x1f9)](t['ICommandService'])[_0x1aed0a(0x40c)](s[_0x1aed0a(0x3e0)]['id'],{'alignType':_0x658609});}},M={'type':t[_0x1bf676(0x5ea)][_0x1bf676(0x565)],'id':_0x1bf676(0x250),'handler'(){return!0x0;}},N={'type':t[_0x1bf676(0x5ea)][_0x1bf676(0x565)],'id':_0x1bf676(0x5ff),'handler'(){return!0x0;}},P=_0x1bf676(0x240),ee=_0x1bf676(0x5c2),te=(0x0,t[_0x1bf676(0x62b)])('SHAPE_TEXT');function F(_0x3a2dcd,_0x1ae845,_0xf58749,_0x1e5304,_0x116099,_0x4787ee){let _0x42da1d={'unitId':_0x1ae845,'subUnitId':_0xf58749,'shapeId':_0x1e5304,'shapeData':_0x4787ee,'oldShapeJSON':_0x116099};return _0x3a2dcd['executeCommand'](T['id'],_0x42da1d);}function ne(_0x557256,_0x13c0c7,_0x289b85,_0x42f0b3,_0x9cae1a,_0x5678c2){const _0x518496=_0x1bf676;let _0x48070d={'unitId':_0x13c0c7,'subUnitId':_0x289b85,'shapeId':_0x42f0b3,'shapeData':_0x5678c2,'oldShapeJSON':_0x9cae1a};return _0x557256[_0x518496(0x2e7)](T['id'],_0x48070d);}function re(_0x542e03){const _0x4cb26f=_0x1bf676;var _0x5e8b91,_0x34ffcf,_0x274e7c,_0x13de4a;let _0x541bc1=(_0x5e8b91=(_0x34ffcf=_0x542e03[_0x4cb26f(0x618)])==null||(_0x34ffcf=_0x34ffcf['dataStream'])==null?void 0x0:_0x34ffcf[_0x4cb26f(0x2cd)])==null?0x0:_0x5e8b91,_0x1497e2=(_0x274e7c=_0x542e03[_0x4cb26f(0x618)])==null?void 0x0:_0x274e7c['sectionBreaks'];if(_0x1497e2!=null&&_0x1497e2['length'])for(let _0x12892c of _0x1497e2){var _0x12fc2b;_0x12892c['gridType']=(_0x12fc2b=_0x12892c[_0x4cb26f(0x542)])==null?t[_0x4cb26f(0x45d)][_0x4cb26f(0x432)]:_0x12fc2b;}else _0x542e03[_0x4cb26f(0x618)]&&(_0x542e03[_0x4cb26f(0x618)]['sectionBreaks']=[{'startIndex':Math['max'](0x0,_0x541bc1-0x1),'gridType':t[_0x4cb26f(0x45d)][_0x4cb26f(0x432)]}]);let _0x1b85a0=(_0x13de4a=_0x542e03['body'])==null?void 0x0:_0x13de4a['paragraphs'];if(_0x1b85a0)for(let _0x34f6d9 of _0x1b85a0){var _0x39ea86,_0x3a9e15,_0x440673,_0x5966c2,_0x52430e,_0x2d4155,_0x4e0e97,_0x3fd5ce;_0x34f6d9[_0x4cb26f(0x5fd)]={..._0x34f6d9[_0x4cb26f(0x5fd)],'lineSpacing':(_0x39ea86=(_0x3a9e15=_0x34f6d9[_0x4cb26f(0x5fd)])==null?void 0x0:_0x3a9e15[_0x4cb26f(0x2c9)])==null?0x1:_0x39ea86,'snapToGrid':(_0x440673=(_0x5966c2=_0x34f6d9[_0x4cb26f(0x5fd)])==null?void 0x0:_0x5966c2[_0x4cb26f(0x238)])==null?t[_0x4cb26f(0x44b)]['FALSE']:_0x440673,'spaceAbove':(_0x52430e=(_0x2d4155=_0x34f6d9['paragraphStyle'])==null?void 0x0:_0x2d4155[_0x4cb26f(0x434)])==null?{'v':0x0}:_0x52430e,'spaceBelow':(_0x4e0e97=(_0x3fd5ce=_0x34f6d9['paragraphStyle'])==null?void 0x0:_0x3fd5ce[_0x4cb26f(0x213)])==null?{'v':0x0}:_0x4e0e97};}}function ie(_0x546888){const _0xcd02a3=_0x1bf676;let _0xefb8b5=_0x546888['body'],_0x5581e3=_0xefb8b5==null?void 0x0:_0xefb8b5[_0xcd02a3(0x217)],_0x533d07=_0xefb8b5==null?void 0x0:_0xefb8b5[_0xcd02a3(0x358)];if(!_0xefb8b5||!(_0x5581e3!=null&&_0x5581e3[_0xcd02a3(0x2cd)])||!_0x533d07)return;let _0x4f0cbf=[];for(let _0x4a2cee=0x0;_0x4a2cee<_0x533d07[_0xcd02a3(0x2cd)];_0x4a2cee++)_0x533d07[_0x4a2cee]==='\x0d'&&_0x4f0cbf[_0xcd02a3(0x23a)](_0x4a2cee);_0x4f0cbf[_0xcd02a3(0x2cd)]===_0x5581e3[_0xcd02a3(0x2cd)]&&(_0xefb8b5[_0xcd02a3(0x217)]=_0x5581e3[_0xcd02a3(0x4fc)]((_0x34e793,_0x5dc60e)=>({..._0x34e793,'startIndex':_0x4f0cbf[_0x5dc60e]})));}function ae(_0x5b2008,_0x2807f6){const _0x41ad67=_0x1bf676;var _0x357857,_0xdec700,_0x5ab070;let {isHorizontal:_0x563dfa,textRect:_0x20013a,verticalAlign:_0x3bfbc4}=_0x2807f6,_0x5ab9ac=_0x563dfa?_0x20013a[_0x41ad67(0x5e7)]:_0x20013a[_0x41ad67(0x4f4)],_0x21d2cb=t[_0x41ad67(0x41a)]['deepClone'](_0x5b2008),_0x2d24ac=(_0x357857=_0x21d2cb[_0x41ad67(0x37e)])==null?{}:_0x357857,_0x5544df={..._0x2d24ac['renderConfig'],'centerAngle':_0x563dfa?0x0:o['VERTICAL_ROTATE_ANGLE'],'vertexAngle':_0x563dfa?0x0:o['VERTICAL_ROTATE_ANGLE'],'wrapStrategy':t[_0x41ad67(0x3d4)][_0x41ad67(0x3a0)],'zeroWidthParagraphBreak':(_0xdec700=(_0x5ab070=_0x2d24ac[_0x41ad67(0x4d7)])==null?void 0x0:_0x5ab070['zeroWidthParagraphBreak'])==null?t[_0x41ad67(0x44b)][_0x41ad67(0x5a5)]:_0xdec700};if(_0x3bfbc4!==void 0x0&&(_0x5544df[_0x41ad67(0x31d)]=_0x3bfbc4),_0x2807f6['horizontalAlign']!==void 0x0){var _0x2be21b;_0x5544df[_0x41ad67(0x628)]=_0x2807f6['horizontalAlign'];let _0x4906ce=(_0x2be21b=_0x21d2cb[_0x41ad67(0x618)])==null?void 0x0:_0x2be21b['paragraphs'];if(_0x4906ce){for(let _0x518525 of _0x4906ce)_0x518525[_0x41ad67(0x5fd)]||(_0x518525[_0x41ad67(0x5fd)]={}),_0x518525[_0x41ad67(0x5fd)][_0x41ad67(0x628)]=_0x2807f6['horizontalAlign'];}}return _0x21d2cb[_0x41ad67(0x37e)]={..._0x2d24ac,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x5ab9ac,'height':0x1/0x0},'renderConfig':_0x5544df},ie(_0x21d2cb),re(_0x21d2cb),_0x21d2cb;}var I=class extends o['Shape']{constructor(_0x4d9e4e,_0x3cb386){const _0x3c40d0=_0x1bf676;super(_0x4d9e4e,_0x3cb386),S(this,'_props',void 0x0),S(this,_0x3c40d0(0x627),!0x0),S(this,_0x3c40d0(0x46f),t[_0x3c40d0(0x45e)]['DRAWING_SHAPE']),S(this,'isDrawingObject',!0x0),this[_0x3c40d0(0x4a9)]={..._0x3cb386},this[_0x3c40d0(0x619)]();}[_0x1bf676(0x619)](){const _0x331e45=_0x1bf676;this[_0x331e45(0x387)][_0x331e45(0x59b)](_0x4eb9a1=>{const _0x4167e8=_0x331e45;this[_0x4167e8(0x54b)](_0x4eb9a1);});}[_0x1bf676(0x621)](_0x45b9c0){const _0x555680=_0x1bf676;this[_0x555680(0x4a9)]['prstGeom']=_0x45b9c0;}['setEditing'](_0x530d03){const _0x34d321=_0x1bf676;this[_0x34d321(0x4a9)]['isEditing']=_0x530d03,this[_0x34d321(0x664)](!0x0);}get[_0x1bf676(0x3c1)](){const _0x2baf18=_0x1bf676;return this[_0x2baf18(0x4a9)][_0x2baf18(0x3c1)];}get[_0x1bf676(0x5d0)](){const _0x429be5=_0x1bf676;return this[_0x429be5(0x4a9)][_0x429be5(0x5d0)];}[_0x1bf676(0x54b)](_0x1ea207){const _0x1452d5=_0x1bf676;if(this['_props'][_0x1452d5(0x3ff)]==null||!this[_0x1452d5(0x627)])return;let {width:_0x5c4da6,height:_0xce7299}=this,{width:_0x1bdf89=0x0,height:_0x9ceeac=0x0}=_0x1ea207[_0x1452d5(0x355)],{left:_0x216b29=0x0,top:_0xa74b68=0x0,right:_0x2c7bdd=0x0,bottom:_0x3fa7b3=0x0}=this[_0x1452d5(0x4a9)][_0x1452d5(0x3ff)],_0x3f50e3=_0x216b29,_0xd36f28=_0xa74b68,_0x1526ea=_0x2c7bdd,_0x1bdb58=_0x3fa7b3,_0x8bfaec=!0x1;if(_0x1bdf89!==0x0&&_0x1bdf89!==_0x5c4da6){let _0xb237f0=_0x216b29/_0x1bdf89,_0xac99af=_0x2c7bdd/_0x1bdf89;_0x3f50e3=_0x5c4da6*_0xb237f0,_0x1526ea=_0x5c4da6*_0xac99af,_0x8bfaec=!0x0;}if(_0x9ceeac!==0x0&&_0x9ceeac!==_0xce7299){let _0x36f7d1=_0xa74b68/_0x9ceeac,_0x5afe6a=_0x3fa7b3/_0x9ceeac;_0xd36f28=_0xce7299*_0x36f7d1,_0x1bdb58=_0xce7299*_0x5afe6a,_0x8bfaec=!0x0;}_0x8bfaec&&this[_0x1452d5(0x4e9)]({'left':_0x3f50e3,'top':_0xd36f28,'right':_0x1526ea,'bottom':_0x1bdb58});}[_0x1bf676(0x4e9)](_0x56b487){const _0x489a04=_0x1bf676;this[_0x489a04(0x4a9)]['srcRect']=_0x56b487,this[_0x489a04(0x664)](!0x0);}['setFillImage'](_0x597b75){const _0x794b7=_0x1bf676;this['_props'][_0x794b7(0x5be)]=_0x597b75,this[_0x794b7(0x664)](!0x0);}set[_0x1bf676(0x577)](_0x1f5c3e){this['_transform']=_0x1f5c3e;}get['transform'](){const _0x493823=_0x1bf676;this[_0x493823(0x20e)]||this[_0x493823(0x5b9)]();let _0x168785=this[_0x493823(0x20e)]['clone']();return this[_0x493823(0x2dd)](_0x168785);}get[_0x1bf676(0x5d6)](){const _0xeb0624=_0x1bf676;return this[_0xeb0624(0x4a9)]['shapeModel'];}get[_0x1bf676(0x4b9)](){const _0x13bbb4=_0x1bf676;return this[_0x13bbb4(0x4a9)]['shapeId'];}get[_0x1bf676(0x43f)](){const _0xf1bae1=_0x1bf676;return o[_0xf1bae1(0x466)][_0xf1bae1(0x50e)];}['_draw'](_0x4bf511,_0x4b7bbe,_0xd6c905,_0x1b88fb){const _0x522078=_0x1bf676;let _0x2a08a4=this['_props'][_0x522078(0x5d6)];if(!_0x2a08a4||!_0x4b7bbe)return;let _0x1ada79=_0xd6c905==null?this['width']:_0xd6c905,_0x496a0c=_0x1b88fb==null?this[_0x522078(0x4f4)]:_0x1b88fb,_0x5d06df={'shapeType':_0x2a08a4['getShapeType'](),'width':_0x1ada79,'height':_0x496a0c},_0x5b6b26={'renderMode':u['ShapeRenderModeEnum']['Path'],'oKey':this[_0x522078(0x2e0)],'image':this['_props'][_0x522078(0x5be)],'angle':this[_0x522078(0x3fe)]};_0x2a08a4[_0x522078(0x1fe)](_0x5d06df),_0x4bf511[_0x522078(0x59e)]();let _0x432c20={'top':0x0,'left':0x0,'width':_0x1ada79,'height':_0x496a0c};_0x2a08a4[_0x522078(0x22b)](_0x4bf511,_0x432c20,_0x5b6b26),_0x4bf511[_0x522078(0x4b8)]();let _0xed5382=_0x2a08a4[_0x522078(0x4fb)](),_0x3a0953=_0x2a08a4[_0x522078(0x4a4)](_0x432c20),_0x1261f2=_0x2a08a4[_0x522078(0x24e)]();if(_0xed5382&&_0x3a0953&&!_0x1261f2){_0x4bf511['save'](),this[_0x522078(0x418)]()[_0x522078(0x334)]&&_0x4bf511[_0x522078(0x36d)](-0x1,0x1);let _0x1a8833=_0x1ada79/0x2,_0x334c73=_0x496a0c/0x2;_0x4bf511[_0x522078(0x2e1)](-_0x1a8833,-_0x334c73),_0x4bf511[_0x522078(0x26d)](),this[_0x522078(0x1e5)](_0x4bf511,_0xed5382,_0x3a0953),_0x4bf511[_0x522078(0x4b8)]();}}[_0x1bf676(0x221)](_0x4718fc){}[_0x1bf676(0x1e5)](_0x4505e6,_0x29cef8,_0x38631d){const _0xd2d718=_0x1bf676;this['_props'][_0xd2d718(0x360)]||(_0xd2d718(0x2b9)in _0x29cef8&&_0x29cef8['isRichText']===!0x1?this[_0xd2d718(0x38c)](_0x4505e6,_0x29cef8,_0x38631d):this[_0xd2d718(0x4cd)](_0x4505e6,_0x29cef8,_0x38631d));}[_0x1bf676(0x38c)](_0x130e6f,_0x5d30d8,_0x46d398){}[_0x1bf676(0x4cd)](_0x4a378c,_0x49b191,_0x696902){const _0x24394d=_0x1bf676;var _0x6309f0,_0x5e66e0;let _0x27a63d=this[_0x24394d(0x4a9)][_0x24394d(0x1eb)];if(!_0x49b191[_0x24394d(0x478)]||!_0x27a63d)return;let _0x4bfc0a=_0x49b191[_0x24394d(0x478)],_0x53cac1=_0x4bfc0a[_0x24394d(0x631)],_0x34af96=(_0x6309f0=_0x4bfc0a['va'])==null?t[_0x24394d(0x3bd)][_0x24394d(0x4c1)]:_0x6309f0,_0x32aeb6=(_0x5e66e0=_0x4bfc0a['ha'])==null?t[_0x24394d(0x259)]['LEFT']:_0x5e66e0;if(!_0x53cac1)return;let _0x4c1489=_0x49b191['isHorizontal'],_0x24c8b5=new t[(_0x24394d(0x4e0))](ae(_0x53cac1,{'isHorizontal':_0x4c1489!==!0x1,'textRect':_0x696902,'verticalAlign':_0x34af96,'horizontalAlign':_0x32aeb6})),_0x59a0ff=new o[(_0x24394d(0x515))](_0x24c8b5),_0x37de69=o[_0x24394d(0x48c)]['create'](_0x59a0ff,_0x27a63d);_0x37de69[_0x24394d(0x1e7)]();let _0x3c897b=new o[(_0x24394d(0x484))](_0x24394d(0x457)+this[_0x24394d(0x2e0)],_0x37de69,{'pageMarginLeft':0x0,'pageMarginTop':0x0});_0x3c897b[_0x24394d(0x54e)](_0x696902[_0x24394d(0x5e7)],_0x696902['height']),_0x4a378c[_0x24394d(0x59e)](),_0x4a378c[_0x24394d(0x357)](_0x696902['left'],_0x696902['top']),_0x4a378c[_0x24394d(0x26d)](),_0x4a378c[_0x24394d(0x5ed)](0x0,0x0,_0x696902[_0x24394d(0x5e7)],_0x696902['height']),_0x4a378c[_0x24394d(0x684)](),_0x3c897b[_0x24394d(0x4db)](_0x4a378c),_0x4a378c[_0x24394d(0x4b8)](),_0x3c897b[_0x24394d(0x53f)](),_0x37de69[_0x24394d(0x53f)](),_0x59a0ff[_0x24394d(0x53f)](),_0x24c8b5[_0x24394d(0x53f)]();}[_0x1bf676(0x22b)](_0x1e2b33,_0x222361,_0x2854c5=!0x1){const _0x13aa93=_0x1bf676;if(!this['visible'])return this[_0x13aa93(0x664)](!0x1),this;let {width:_0x3b3967,height:_0x5ea543,left:_0x1c6881,top:_0x5f5b05}=this,_0x573db0=this['getRealBound']();if(_0x3b3967=_0x573db0[_0x13aa93(0x5e7)],_0x5ea543=_0x573db0[_0x13aa93(0x4f4)],_0x1c6881=_0x573db0[_0x13aa93(0x305)],_0x5f5b05=_0x573db0[_0x13aa93(0x447)],this['isRender'](_0x222361)){let {top:_0x2df2c2,left:_0x1546d3,bottom:_0x479dd6,right:_0x2eba17}=_0x222361['viewBound'];if(_0x3b3967+this[_0x13aa93(0x3d0)]+_0x1c6881<_0x1546d3||_0x2eba17<_0x1c6881||_0x5ea543+this[_0x13aa93(0x3d0)]+_0x5f5b05<_0x2df2c2||_0x479dd6<_0x5f5b05)return this;}let _0x3b88c2=_0x1c6881+_0x3b3967/0x2,_0x54630f=_0x5f5b05+_0x5ea543/0x2,_0x224a1c=this[_0x13aa93(0x577)]['getMatrix']();if(this['_props'][_0x13aa93(0x360)]){let _0x23b27e=this[_0x13aa93(0x418)](),_0x117f0d=new o[(_0x13aa93(0x428))]();_0x117f0d[_0x13aa93(0x3a9)]({..._0x23b27e}),_0x224a1c=_0x117f0d[_0x13aa93(0x640)]();}return _0x1e2b33['save'](),this['_props'][_0x13aa93(0x5d6)]['isRenderLinePointsMode']===!0x0||_0x1e2b33['transform'](_0x224a1c[0x0],_0x224a1c[0x1],_0x224a1c[0x2],_0x224a1c[0x3],_0x3b88c2,_0x54630f),this[_0x13aa93(0x5c4)](_0x1e2b33,_0x222361,_0x3b3967,_0x5ea543),_0x1e2b33[_0x13aa93(0x4b8)](),this[_0x13aa93(0x664)](!0x1),this;}['getInverseCoord'](_0x15603b){const _0x4f89a9=_0x1bf676;let {left:_0x33d194,top:_0x28478d,width:_0x3b7221,height:_0x3acafd}=this[_0x4f89a9(0x3db)](),_0x10fac0=this['transform'][_0x4f89a9(0x640)](),_0x416f7e=_0x33d194+_0x3b7221/0x2,_0x28f482=_0x28478d+_0x3acafd/0x2,_0x520378=new o[(_0x4f89a9(0x428))]([_0x10fac0[0x0],_0x10fac0[0x1],_0x10fac0[0x2],_0x10fac0[0x3],_0x416f7e,_0x28f482]),_0x25d61e=this[_0x4f89a9(0x3fd)]();return(this[_0x4f89a9(0x472)]&&(_0x25d61e==null?void 0x0:_0x25d61e[_0x4f89a9(0x43f)])===o[_0x4f89a9(0x466)][_0x4f89a9(0x519)]?_0x25d61e[_0x4f89a9(0x4fa)][_0x4f89a9(0x4b2)](_0x520378):_0x520378)[_0x4f89a9(0x499)]()[_0x4f89a9(0x5c5)](_0x15603b);}['isHit'](_0x1e0e74){const _0x1ab87a=_0x1bf676;let {left:_0x52089d,top:_0x443c92,width:_0x377268,height:_0xbfd592}=this[_0x1ab87a(0x3db)](),_0x319854=_0x52089d+_0x377268/0x2,_0x4f3998=_0x443c92+_0xbfd592/0x2,_0x4c09fa=this[_0x1ab87a(0x577)]['getMatrix'](),_0x4a46c1=new o[(_0x1ab87a(0x428))]([_0x4c09fa[0x0],_0x4c09fa[0x1],_0x4c09fa[0x2],_0x4c09fa[0x3],_0x319854,_0x4f3998]),_0x11e39d=this[_0x1ab87a(0x3fd)](),_0x3a3cb4=(this[_0x1ab87a(0x472)]&&(_0x11e39d==null?void 0x0:_0x11e39d[_0x1ab87a(0x43f)])===o[_0x1ab87a(0x466)][_0x1ab87a(0x519)]?_0x11e39d[_0x1ab87a(0x4fa)][_0x1ab87a(0x4b2)](_0x4a46c1):_0x4a46c1)['invert']()[_0x1ab87a(0x5c5)](_0x1e0e74),_0x3a4564=_0x377268/0x2,_0x30e409=_0xbfd592/0x2,_0xbbf912=this['_props']['shapeModel'];return _0xbbf912&&_0xbbf912[_0x1ab87a(0x24e)]()?_0xbbf912['isHitLine'](_0x3a3cb4['x'],_0x3a3cb4['y'],_0x377268,_0xbfd592):_0x3a3cb4['x']>=-_0x3a4564-this[_0x1ab87a(0x3d0)]/0x2&&_0x3a3cb4['x']<=_0x3a4564+this[_0x1ab87a(0x3d0)]/0x2&&_0x3a3cb4['y']>=-_0x30e409-this[_0x1ab87a(0x3d0)]/0x2&&_0x3a3cb4['y']<=_0x30e409+this[_0x1ab87a(0x3d0)]/0x2;}[_0x1bf676(0x53f)](){const _0x53230f=_0x1bf676;this[_0x53230f(0x4a9)][_0x53230f(0x5d6)]=null,super[_0x53230f(0x53f)]();}},oe=class extends o[_0x1bf676(0x2ce)]{constructor(_0x50a583,_0x3bb9da){const _0xe91ef6=_0x1bf676;super(_0x50a583,_0x3bb9da),S(this,_0xe91ef6(0x35e),null),S(this,_0xe91ef6(0x5d2),null),S(this,_0xe91ef6(0x1da),null),S(this,'_subUnitId',null),_0x3bb9da&&this[_0xe91ef6(0x608)](_0x3bb9da);}[_0x1bf676(0x206)](){const _0x189ca0=_0x1bf676;return{'unitId':this[_0x189ca0(0x1da)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x189ca0(0x35e)]};}['setShapeProps'](_0x2a754c){const _0x266b33=_0x1bf676;_0x2a754c[_0x266b33(0x4b9)]!==void 0x0&&(this['_shapeId']=_0x2a754c[_0x266b33(0x4b9)]),_0x2a754c[_0x266b33(0x5f3)]!==void 0x0&&(this['_adjName']=_0x2a754c['adjName']),_0x2a754c[_0x266b33(0x3c1)]!==void 0x0&&(this[_0x266b33(0x1da)]=_0x2a754c[_0x266b33(0x3c1)]),_0x2a754c[_0x266b33(0x5d0)]!==void 0x0&&(this[_0x266b33(0x210)]=_0x2a754c[_0x266b33(0x5d0)]),this[_0x266b33(0x2fd)]({'width':_0x2a754c['width'],'height':_0x2a754c['height']});}[_0x1bf676(0x5c4)](_0x43b206){const _0x3a2a5b=_0x1bf676;o[_0x3a2a5b(0x679)][_0x3a2a5b(0x2e4)](_0x43b206,{'radius':u[_0x3a2a5b(0x42d)]['adjHandleSize'],'fill':u[_0x3a2a5b(0x42d)]['adjHandleFill'],'stroke':u[_0x3a2a5b(0x42d)]['adjHandleStroke'],'strokeWidth':0x1,'evented':!0x0});}};function L(_0x1cf99e,_0x1a1078){return function(_0xcd5317,_0x70204b){_0x1a1078(_0xcd5317,_0x70204b,_0x1cf99e);};}function R(_0x46c4f8,_0x287784,_0x3559a5,_0x185c3a){const _0x323aff=_0x1bf676;var _0x289468=arguments['length'],_0x5206ec=_0x289468<0x3?_0x287784:_0x185c3a===null?_0x185c3a=Object[_0x323aff(0x573)](_0x287784,_0x3559a5):_0x185c3a,_0x415a5f;if(typeof Reflect=='object'&&typeof Reflect[_0x323aff(0x362)]==_0x323aff(0x290))_0x5206ec=Reflect['decorate'](_0x46c4f8,_0x287784,_0x3559a5,_0x185c3a);else{for(var _0x3b08da=_0x46c4f8[_0x323aff(0x2cd)]-0x1;_0x3b08da>=0x0;_0x3b08da--)(_0x415a5f=_0x46c4f8[_0x3b08da])&&(_0x5206ec=(_0x289468<0x3?_0x415a5f(_0x5206ec):_0x289468>0x3?_0x415a5f(_0x287784,_0x3559a5,_0x5206ec):_0x415a5f(_0x287784,_0x3559a5))||_0x5206ec);}return _0x289468>0x3&&_0x5206ec&&Object['defineProperty'](_0x287784,_0x3559a5,_0x5206ec),_0x5206ec;}let z=class extends t['Disposable']{constructor(_0x231c5a,_0x13dfed,_0x3bf408,_0x5aff85,_0x30c8c9){const _0x28b56b=_0x1bf676;super(),this[_0x28b56b(0x673)]=_0x231c5a,this['_sheetsShapeService']=_0x13dfed,this[_0x28b56b(0x55b)]=_0x3bf408,this['_imageIoService']=_0x5aff85,this[_0x28b56b(0x2d9)]=_0x30c8c9;}[_0x1bf676(0x354)](_0x453860,_0x1b15d9){const _0x4c553f=_0x1bf676;let {transform:_0x32518b,drawingType:_0x1ebe83,srcRect:_0x21db43,prstGeom:_0x1a5c49,groupId:_0x5c800f,unitId:_0x3c96c1,subUnitId:_0x4580d3,drawingId:_0x69369,isMultiTransform:_0x34ed4e,transforms:_0xb09e86,hidden:_0x112c0b}=_0x453860;if(_0x1ebe83!==t[_0x4c553f(0x45e)][_0x4c553f(0x2f9)]||!this[_0x4c553f(0x673)][_0x4c553f(0x425)]()||_0x32518b==null)return;let _0x2a6c60=_0x34ed4e&&_0xb09e86?_0xb09e86:[_0x32518b],_0x29f3a5=[];for(let _0x451e40 of _0x2a6c60){let {left:_0x166c69,top:_0x57daa8,width:_0x375b4e,height:_0x1a857e,angle:_0x41d893,flipX:_0x5cb728,flipY:_0xe4cbc3,skewX:_0xfa8a86,skewY:_0x520f83}=_0x451e40,_0x1cd9ba=_0x2a6c60[_0x4c553f(0x294)](_0x451e40),_0x2b05ff=(0x0,a[_0x4c553f(0x205)])({'unitId':_0x3c96c1,'subUnitId':_0x4580d3,'drawingId':_0x69369},_0x34ed4e?_0x1cd9ba:void 0x0),_0x2b526f=_0x1b15d9[_0x4c553f(0x5d3)](_0x2b05ff);if(_0x2b526f!=null){_0x2b526f[_0x4c553f(0x2fd)]({'left':_0x166c69,'top':_0x57daa8,'width':_0x375b4e,'height':_0x1a857e,'angle':_0x41d893,'flipX':_0x5cb728,'flipY':_0xe4cbc3,'skewX':_0xfa8a86,'skewY':_0x520f83});continue;}let _0x4d265e=this[_0x4c553f(0x673)]['getDrawingOrder'](_0x3c96c1,_0x4580d3),_0x5929a2=_0x4d265e[_0x4c553f(0x294)](_0x69369);if(_0x1b15d9[_0x4c553f(0x5d3)](_0x2b05ff)||!this[_0x4c553f(0x673)]['getDrawingVisible']())continue;let _0x1ff645=this[_0x4c553f(0x54a)][_0x4c553f(0x655)](_0x3c96c1,_0x4580d3,_0x69369);if(!_0x1ff645)continue;let _0x589bae=new I(_0x2b05ff,{...(0x0,u[_0x4c553f(0x1db)])(_0x1ff645[_0x4c553f(0x4c7)]())?{..._0x451e40,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x451e40},'zIndex':_0x5929a2===-0x1?_0x4d265e['length']-0x1:_0x5929a2,'shapeModel':_0x1ff645,'localeService':this[_0x4c553f(0x55b)],'shapeId':_0x69369,'unitId':_0x3c96c1,'subUnitId':_0x4580d3,'visible':_0x112c0b!==!0x0});_0x1b15d9['addObject'](_0x589bae,o[_0x4c553f(0x40b)]),this[_0x4c553f(0x673)][_0x4c553f(0x203)]()&&_0x1b15d9[_0x4c553f(0x5b8)](_0x589bae),_0x5c800f&&(0x0,d['insertGroupObject'])({'drawingId':_0x5c800f,'unitId':_0x3c96c1,'subUnitId':_0x4580d3},_0x589bae,_0x1b15d9,this[_0x4c553f(0x673)]),_0x1a5c49!=null&&_0x589bae[_0x4c553f(0x621)](_0x1a5c49),_0x21db43!=null&&_0x589bae[_0x4c553f(0x4e9)](_0x21db43),this[_0x4c553f(0x574)](_0x589bae,_0x1ff645[_0x4c553f(0x2e3)]()),_0x29f3a5['push'](_0x589bae);}return _0x29f3a5;}['_loadShapePictureFill'](_0x383953,_0x59f9bf){const _0x40b763=_0x1bf676;var _0x3a685f;let _0x4833a3=_0x59f9bf['fill'];if(!_0x4833a3||_0x4833a3[_0x40b763(0x215)]!==u['ShapeFillEnum'][_0x40b763(0x3b6)]||!_0x4833a3[_0x40b763(0x612)])return;let _0x340481=_0x4833a3[_0x40b763(0x612)],_0x37055c=(_0x3a685f=_0x4833a3[_0x40b763(0x46d)])==null?u[_0x40b763(0x580)][_0x40b763(0x21f)]:_0x3a685f,_0x4633fd=this[_0x40b763(0x4d1)]['getImageSourceCache'](_0x340481,_0x37055c);if(_0x4633fd){_0x383953[_0x40b763(0x282)](_0x4633fd);return;}this[_0x40b763(0x4a0)](_0x383953,_0x340481,_0x37055c);}async[_0x1bf676(0x4a0)](_0x421df6,_0x84fb1c,_0x2ddeca){const _0x8b39da=_0x1bf676;let _0x2109f7;try{if(_0x2ddeca===u['ImageSourceTypeEnum'][_0x8b39da(0x1dd)])_0x2109f7=await this[_0x8b39da(0x4d1)]['getImage'](_0x84fb1c);else{if(_0x2ddeca===u[_0x8b39da(0x580)][_0x8b39da(0x21f)])try{_0x2109f7=await this['_urlImageService']['getImage'](_0x84fb1c);}catch{_0x2109f7=_0x84fb1c;}else _0x2109f7=_0x84fb1c;}}catch(_0x162755){console[_0x8b39da(0x440)](_0x8b39da(0x4be),_0x162755);return;}let _0x3582ee=new window[(_0x8b39da(0x5f5))]();_0x3582ee[_0x8b39da(0x33f)]=()=>{const _0x50f486=_0x8b39da;this[_0x50f486(0x4d1)][_0x50f486(0x5d7)](_0x84fb1c,_0x2ddeca,_0x3582ee),_0x421df6['setFillImage'](_0x3582ee);},_0x3582ee['onerror']=()=>{const _0x24db14=_0x8b39da;console[_0x24db14(0x440)]('[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image',_0x84fb1c);},_0x3582ee[_0x8b39da(0x27d)]=_0x2109f7;}};z=R([L(0x0,a[_0x1bf676(0x5a6)]),L(0x1,(0x0,t['Inject'])(e[_0x1bf676(0x35a)])),L(0x2,(0x0,t[_0x1bf676(0x589)])(t[_0x1bf676(0x67e)])),L(0x3,a[_0x1bf676(0x4e4)]),L(0x4,t['IURLImageService'])],z);let B=class extends t[_0x1bf676(0x5b5)]{constructor(_0xf885ca,_0x4101d4,_0x3ef272,_0x2483a1,_0x123f95,_0x23d92b,_0x2ed7fa,_0x5f5d74){const _0x334a32=_0x1bf676;super(),this['_context']=_0xf885ca,this[_0x334a32(0x38f)]=_0x4101d4,this[_0x334a32(0x673)]=_0x3ef272,this[_0x334a32(0x54a)]=_0x2483a1,this[_0x334a32(0x1e3)]=_0x123f95,this[_0x334a32(0x592)]=_0x23d92b,this[_0x334a32(0x5c9)]=_0x2ed7fa,this[_0x334a32(0x604)]=_0x5f5d74,S(this,_0x334a32(0x488),null),S(this,_0x334a32(0x1da),null),S(this,'_subUnitId',null),S(this,_0x334a32(0x4d9),void 0x0),S(this,_0x334a32(0x228),[]),S(this,_0x334a32(0x654),0x0),S(this,'_baseShapeTop',0x0),S(this,_0x334a32(0x555),0x0),S(this,'_baseShapeHeight',0x0),S(this,_0x334a32(0x399),!0x1),S(this,_0x334a32(0x1f8),void 0x0),S(this,'_activeShapeModel',void 0x0),S(this,_0x334a32(0x39a),void 0x0),S(this,_0x334a32(0x58e),void 0x0),S(this,'_isShouldShowDrawingShapeAdjust',!0x1),this[_0x334a32(0x2a8)](),this['_registerDrawingMoveHandler']();}['_getShapeAdjustPointListById'](_0x57db84,_0x5d832d,_0x35a906){const _0x530c14=_0x1bf676;let _0x275bd5=this[_0x530c14(0x54a)][_0x530c14(0x655)](_0x57db84,_0x5d832d,_0x35a906);if(_0x275bd5)return _0x275bd5[_0x530c14(0x221)]();}[_0x1bf676(0x243)](){const _0x8c8c77=_0x1bf676;this[_0x8c8c77(0x3be)]();}[_0x1bf676(0x3b9)](){this['_updateShapeAdjustControls'](!0x0);}['setShouldShowAdjust'](_0x270feb){const _0x12268e=_0x1bf676;this[_0x12268e(0x601)]=_0x270feb;}[_0x1bf676(0x313)](_0x509336,_0x463cc6,_0x5c6c21,_0x5a9eb1){const _0xae5627=_0x1bf676;let _0x1545f0=this[_0xae5627(0x54a)]['getShapeModel'](_0x509336,_0x463cc6,_0x5c6c21);if(_0x1545f0)return _0x1545f0['getAdjustInfoByName'](_0x5a9eb1);}[_0x1bf676(0x60e)](_0x270464=!0x1){const _0x153150=_0x1bf676;if(this[_0x153150(0x1da)]===null||this[_0x153150(0x210)]===null||this[_0x153150(0x488)]===null)return;let _0x26dc9f=this['_renderManagerService']['getRenderById'](this['_unitId']);if(!_0x26dc9f||!_0x26dc9f[_0x153150(0x506)](c['SheetSkeletonManagerService'])['getCurrentSkeleton']())return;let {scene:_0x35f958}=_0x26dc9f,_0x2e5dca={'unitId':this[_0x153150(0x1da)],'subUnitId':this[_0x153150(0x210)],'drawingId':this['_activeShapeId']},_0x1cab0e=this[_0x153150(0x673)]['getDrawingByParam'](_0x2e5dca),{transform:_0x7ec80b}=_0x1cab0e;if(!_0x7ec80b||_0x1cab0e['drawingType']!==t[_0x153150(0x45e)][_0x153150(0x2f9)])return;let {left:_0x20466e,top:_0x5f42cb,width:_0x4499e6,height:_0x280f2f,flipX:_0x4f8d8d,flipY:_0x5c15f7,angle:_0xa84c8d=0x0}=_0x7ec80b;if(_0x20466e===void 0x0||_0x5f42cb===void 0x0)return;_0x270464&&(this['_activeShapeAdjustPointList']=this[_0x153150(0x672)](this[_0x153150(0x1da)],this[_0x153150(0x210)],this[_0x153150(0x488)]));let _0x13a669=this['_activeShapeAdjustPointList'];for(let _0x5b922e=0x0;_0x5b922e<_0x13a669[_0x153150(0x2cd)];_0x5b922e++){let _0x5980e0=_0x13a669[_0x5b922e],_0x5d88eb=_0x5980e0['x'],_0x521b79=_0x5980e0['y'];if(_0x4f8d8d&&(_0x5d88eb=(_0x4499e6||0x0)-_0x5d88eb),_0x5c15f7&&(_0x521b79=(_0x280f2f||0x0)-_0x521b79),_0xa84c8d!==0x0){let _0x307442=(_0x4499e6||0x0)/0x2,_0x410352=(_0x280f2f||0x0)/0x2,_0x3cef07=_0xa84c8d*Math['PI']/0xb4,_0x301695=Math[_0x153150(0x2ec)](_0x3cef07),_0x1a7bb7=Math[_0x153150(0x572)](_0x3cef07),_0x568bbd=_0x5d88eb-_0x307442,_0x2b7b0c=_0x521b79-_0x410352;_0x5d88eb=_0x307442+(_0x568bbd*_0x301695-_0x2b7b0c*_0x1a7bb7),_0x521b79=_0x410352+(_0x568bbd*_0x1a7bb7+_0x2b7b0c*_0x301695);}let _0x3fb7dd={'x':_0x5d88eb,'y':_0x521b79,'adjName':_0x5980e0[_0x153150(0x5f3)]};this[_0x153150(0x571)](_0x35f958,_0x3fb7dd,_0x3fb7dd[_0x153150(0x5f3)],_0x20466e,_0x5f42cb,this[_0x153150(0x1da)],this[_0x153150(0x210)]);}}[_0x1bf676(0x371)](_0x1c6aad=!0x1){const _0x536dc9=_0x1bf676;_0x1c6aad&&(this[_0x536dc9(0x3be)](),this['_createShapeAdjustControls'](_0x1c6aad));}[_0x1bf676(0x571)](_0x38d8aa,_0x1a7e54,_0x5892bd,_0x2f424a,_0xa6c9de,_0x24a20a,_0x417f50){const _0x24b1bf=_0x1bf676;if(!this[_0x24b1bf(0x488)])return;let _0x49ef4c=_0x38d8aa['getObjectIncludeInGroup'](_0x24b1bf(0x686)+this[_0x24b1bf(0x488)]+'-'+_0x5892bd);if(_0x49ef4c){_0x49ef4c['transformByState']({'left':_0x1a7e54['x']+_0x2f424a-u['ShapeDefaultConfig'][_0x24b1bf(0x53c)],'top':_0x1a7e54['y']+_0xa6c9de-u[_0x24b1bf(0x42d)][_0x24b1bf(0x53c)]});return;}let _0x85f103={'left':_0x1a7e54['x']+_0x2f424a-u['ShapeDefaultConfig'][_0x24b1bf(0x53c)],'top':_0x1a7e54['y']+_0xa6c9de-u[_0x24b1bf(0x42d)]['adjHandleSize'],'adjName':_0x5892bd,'shapeId':this[_0x24b1bf(0x488)],'unitId':_0x24a20a,'subUnitId':_0x417f50,'width':u[_0x24b1bf(0x42d)]['adjHandleSize']+0x8,'height':u[_0x24b1bf(0x42d)][_0x24b1bf(0x53c)]+0x8,'zIndex':o[_0x24b1bf(0x40b)]+0x1,'evented':!0x0},_0x1b671c=new oe('shape-adjust-point-'+this[_0x24b1bf(0x488)]+'-'+_0x5892bd,_0x85f103);this[_0x24b1bf(0x228)][_0x24b1bf(0x23a)](_0x1b671c),this[_0x24b1bf(0x22f)](_0x1b671c,_0x38d8aa,_0x5892bd),_0x38d8aa[_0x24b1bf(0x395)](_0x1b671c,o['DRAWING_OBJECT_LAYER_INDEX']+0x1);}['_clearShapeAdjustControls'](){const _0x3c03c1=_0x1bf676;this[_0x3c03c1(0x228)][_0x3c03c1(0x2cd)]!==0x0&&(this[_0x3c03c1(0x228)]['forEach'](_0x10b2f3=>{const _0x567d07=_0x3c03c1;_0x10b2f3[_0x567d07(0x53f)]();}),this[_0x3c03c1(0x228)]=[]);}['_updateAdjustControlPositions'](){const _0x122465=_0x1bf676;this[_0x122465(0x60e)]();}[_0x1bf676(0x1d6)](_0x2ea585,_0x262064){const _0x2aa86c=_0x1bf676;var _0x441d7c;let _0x4cccde={'x':0x0,'y':0x0};if(!_0x2ea585||!_0x262064)return _0x4cccde;let _0x3fd9e1=this['_renderManagerService'][_0x2aa86c(0x4bf)](_0x2ea585);if(!_0x3fd9e1||!_0x3fd9e1[_0x2aa86c(0x506)](c[_0x2aa86c(0x67c)])['getSkeleton'](_0x262064))return _0x4cccde;let _0xe4556e=_0x3fd9e1[_0x2aa86c(0x506)](c['SheetScrollManagerService']),_0x2aee38=_0xe4556e==null?void 0x0:_0xe4556e['getCurrentScrollState']();if(!_0x2aee38)return _0x4cccde;let _0x2ca2f1=(_0x441d7c=this[_0x2aa86c(0x5c9)][_0x2aa86c(0x504)](_0x2ea585))==null?void 0x0:_0x441d7c[_0x2aa86c(0x26a)](_0x262064);if(!_0x2ca2f1)return _0x4cccde;let _0x2e7993=(0x0,c['getViewportByCell'])(_0x2aee38[_0x2aa86c(0x637)],_0x2aee38['sheetViewStartColumn'],_0x3fd9e1['scene'],_0x2ca2f1);return _0x2e7993?{'x':_0x2e7993[_0x2aa86c(0x3fc)],'y':_0x2e7993[_0x2aa86c(0x4ae)]}:_0x4cccde;}[_0x1bf676(0x303)](_0x1e4401,_0x45997f){const _0x19cbd9=_0x1bf676;var _0x1c8786,_0x4a3498;let _0x2313db=(_0x1c8786=this['_univerInstanceService'][_0x19cbd9(0x504)](_0x1e4401))==null?void 0x0:_0x1c8786[_0x19cbd9(0x26a)](_0x45997f);return(_0x4a3498=_0x2313db==null?void 0x0:_0x2313db[_0x19cbd9(0x3f6)]())==null?0x1:_0x4a3498;}['_attachAdjustEvent'](_0x4f9e0d,_0x38e4b4,_0x522737){const _0x2924df=_0x1bf676;this[_0x2924df(0x38d)]((0x0,t[_0x2924df(0x4c2)])(_0x4f9e0d[_0x2924df(0x319)]['subscribeEvent']((_0x33d920,_0xfacfe8)=>{const _0x1c369c=_0x2924df;var _0x4426e6,_0x2d1779,_0x209b9d,_0x3298d0;let _0x2cbed8=_0x4f9e0d[_0x1c369c(0x206)]();this['_activeAdjustInfo']=this['_getShapeAdjustInfosById'](_0x2cbed8[_0x1c369c(0x3c1)],_0x2cbed8[_0x1c369c(0x5d0)],_0x2cbed8[_0x1c369c(0x45c)],_0x522737),this[_0x1c369c(0x465)]=this[_0x1c369c(0x54a)][_0x1c369c(0x655)](_0x2cbed8[_0x1c369c(0x3c1)],_0x2cbed8[_0x1c369c(0x5d0)],_0x2cbed8[_0x1c369c(0x45c)]);let _0x2bca08=this[_0x1c369c(0x673)][_0x1c369c(0x300)]({'unitId':this[_0x1c369c(0x1da)],'subUnitId':this[_0x1c369c(0x210)],'drawingId':this['_activeShapeId']}),{transform:_0x2d7773}=_0x2bca08;if(_0x2d7773){let {left:_0x5e8c40,top:_0x488236,width:_0x414ea1,height:_0x727179}=_0x2d7773;this[_0x1c369c(0x654)]=_0x5e8c40||0x0,this[_0x1c369c(0x53e)]=_0x488236||0x0,this[_0x1c369c(0x555)]=_0x414ea1||0x0,this[_0x1c369c(0x5c7)]=_0x727179||0x0;}let _0x10f156=!!((_0x4426e6=_0x2bca08['transform'])!=null&&_0x4426e6[_0x1c369c(0x334)]),_0x558af9=!!((_0x2d1779=_0x2bca08['transform'])!=null&&_0x2d1779[_0x1c369c(0x4f5)]),_0x31eba8=((_0x209b9d=_0x2bca08[_0x1c369c(0x577)])==null?void 0x0:_0x209b9d['angle'])||0x0;this[_0x1c369c(0x399)]=!0x0,_0x38e4b4['disableObjectsEvent']();let _0x1113ff=(_0x3298d0=this[_0x1c369c(0x465)])==null?void 0x0:_0x3298d0[_0x1c369c(0x3b2)](_0x522737),_0x5d494d={[_0x522737]:_0x1113ff};this[_0x1c369c(0x39a)]=_0x38e4b4[_0x1c369c(0x236)][_0x1c369c(0x59b)]((_0x402c63,_0x48d2a3)=>{const _0x55798b=_0x1c369c;if(!this[_0x55798b(0x399)])return;let {offsetX:_0x277257,offsetY:_0x4a9c55}=_0x402c63,_0x5772d1=this[_0x55798b(0x1f8)];if(this['_activeShapeModel']&&_0x5772d1){_0x38e4b4[_0x55798b(0x45b)](),_0x38e4b4[_0x55798b(0x295)](o[_0x55798b(0x47f)][_0x55798b(0x4ee)]);let _0x4bbd50={'left':0x0,'top':0x0,'width':this[_0x55798b(0x555)],'height':this[_0x55798b(0x5c7)]},_0x55a267=this['_getScrollInfo'](this[_0x55798b(0x1da)],this[_0x55798b(0x210)]),_0x275f84=this[_0x55798b(0x303)](this['_unitId'],this[_0x55798b(0x210)]),_0xc8bbbc=_0x277257/_0x275f84+_0x55a267['x']-this[_0x55798b(0x654)],_0x59daeb=_0x4a9c55/_0x275f84+_0x55a267['y']-this['_baseShapeTop'];if(_0x31eba8!==0x0){let _0x267652=this[_0x55798b(0x555)]/0x2,_0x7622c1=this[_0x55798b(0x5c7)]/0x2,_0x50e37e=_0x31eba8*Math['PI']/0xb4,_0x30ebaa=Math[_0x55798b(0x2ec)](_0x50e37e),_0x530559=Math[_0x55798b(0x572)](_0x50e37e),_0x2720f0=_0xc8bbbc-_0x267652,_0x1aa570=_0x59daeb-_0x7622c1;_0xc8bbbc=_0x267652+(_0x2720f0*_0x30ebaa+_0x1aa570*_0x530559),_0x59daeb=_0x7622c1+(-_0x2720f0*_0x530559+_0x1aa570*_0x30ebaa);}_0x10f156&&(_0xc8bbbc=this[_0x55798b(0x555)]-_0xc8bbbc),_0x558af9&&(_0x59daeb=this[_0x55798b(0x5c7)]-_0x59daeb);let _0x16b8db={'x':_0xc8bbbc,'y':_0x59daeb},_0xa02f62=this[_0x55798b(0x465)][_0x55798b(0x241)](_0x4bbd50,_0x16b8db,_0x5772d1,_0x10f156,_0x558af9),_0x16d0a8=_0x5772d1[_0x55798b(0x570)]||_0x5772d1['gdRefY']||_0x5772d1[_0x55798b(0x4f3)]||_0x5772d1[_0x55798b(0x676)];if(_0x16d0a8===void 0x0)return;this[_0x55798b(0x465)][_0x55798b(0x37b)](_0x16d0a8,_0xa02f62);let _0x426f13=this[_0x55798b(0x673)]['getDrawingByParam']({'unitId':_0x2cbed8[_0x55798b(0x3c1)],'subUnitId':_0x2cbed8[_0x55798b(0x5d0)],'drawingId':_0x2cbed8['drawingId']});_0x426f13&&(this['_sheetDrawingShapeRenderController'][_0x55798b(0x354)](_0x426f13,_0x38e4b4),this['_activeShapeAdjustPointList']=this['_getShapeAdjustPointListById'](_0x2cbed8['unitId'],_0x2cbed8[_0x55798b(0x5d0)],_0x2cbed8[_0x55798b(0x45c)]),this['_updateAdjustControlPositions']());}_0x48d2a3[_0x55798b(0x5dd)]();}),this[_0x1c369c(0x58e)]=_0x38e4b4['onPointerUp$']['subscribeEvent']((_0x31bcd6,_0x5dc762)=>{const _0x5d573c=_0x1c369c;this['_adjHandlerPointerMove']['unsubscribe'](),this[_0x5d573c(0x58e)][_0x5d573c(0x421)](),_0x38e4b4[_0x5d573c(0x63b)]();let _0xaaa86c=this[_0x5d573c(0x1f8)];if(_0xaaa86c){let _0x2ff8eb=_0x2cbed8['unitId'],_0x537f26=_0x2cbed8[_0x5d573c(0x5d0)],_0x124350=_0x2cbed8['drawingId'],_0x2bb4d1=_0xaaa86c['gdRefX']||_0xaaa86c[_0x5d573c(0x273)]||_0xaaa86c['gdRefAng']||_0xaaa86c['gdRefR'];if(_0x2bb4d1!==void 0x0){var _0x49ac05;let _0x5a3284=(_0x49ac05=this[_0x5d573c(0x465)])==null?void 0x0:_0x49ac05[_0x5d573c(0x3b2)](_0x2bb4d1);_0x5a3284!==void 0x0&&F(this[_0x5d573c(0x604)],_0x2ff8eb,_0x537f26,_0x124350,{'oldShapeData':{'adjustValues':_0x5d494d}},{'adjustValues':{[_0x2bb4d1]:_0x5a3284}});}}this['_activeAdjustInfo']=void 0x0,this[_0x5d573c(0x465)]=void 0x0,this[_0x5d573c(0x399)]=!0x1,_0x5dc762[_0x5d573c(0x5dd)](),_0x38e4b4[_0x5d573c(0x3ca)]();}),_0xfacfe8[_0x1c369c(0x5dd)]();})));}[_0x1bf676(0x329)](){const _0x47ae22=_0x1bf676;let _0xe98b27=this[_0x47ae22(0x5c9)]['getCurrentTypeOfUnit$'](t[_0x47ae22(0x683)][_0x47ae22(0x280)]);this[_0x47ae22(0x38d)](_0xe98b27[_0x47ae22(0x5aa)]((0x0,i['switchMap'])(_0x36315c=>_0x36315c?_0x36315c[_0x47ae22(0x2fb)][_0x47ae22(0x5aa)]((0x0,i[_0x47ae22(0x4f7)])(_0x22a524=>{const _0x805fe=_0x47ae22;if(!_0x22a524)return i[_0x805fe(0x4b0)];let _0x508fbd=_0x36315c[_0x805fe(0x34a)](),_0x26c79f=this[_0x805fe(0x1e3)][_0x805fe(0x4bf)](_0x508fbd),_0x164482=_0x26c79f==null?void 0x0:_0x26c79f[_0x805fe(0x5c6)];return _0x164482?(0x0,i['of'])(_0x164482):i[_0x805fe(0x4b0)];})):i['EMPTY']))[_0x47ae22(0x4e6)](_0x13125d=>{const _0x29184a=_0x47ae22;let _0x4203a2=_0x13125d[_0x29184a(0x564)]();this[_0x29184a(0x38d)](_0x13125d[_0x29184a(0x236)][_0x29184a(0x59b)](()=>{this['_isShouldShowDrawingShapeAdjust'];})),this[_0x29184a(0x38d)](_0x4203a2[_0x29184a(0x51b)][_0x29184a(0x4e6)](_0x2d816d=>{const _0x10efa7=_0x29184a;let {objects:_0x5a1e37}=_0x2d816d;this[_0x10efa7(0x60e)](),_0x5a1e37!==null&&_0x5a1e37[_0x10efa7(0x2f5)]===0x1&&_0x5a1e37[_0x10efa7(0x562)]()[_0x10efa7(0x47e)]()[_0x10efa7(0x2bb)]instanceof I&&this['setShouldShowAdjust'](!0x0);})),this[_0x29184a(0x38d)](_0x4203a2[_0x29184a(0x4d2)]['subscribe'](()=>{const _0xf0b385=_0x29184a;this[_0xf0b385(0x601)]&&this[_0xf0b385(0x3be)]();})),this[_0x29184a(0x38d)](_0x13125d['onPointerUp$'][_0x29184a(0x59b)](()=>{const _0x2cd10b=_0x29184a;this[_0x2cd10b(0x601)]&&(this[_0x2cd10b(0x361)](!0x1),this[_0x2cd10b(0x60e)]());})),this['disposeWithMe'](_0x4203a2[_0x29184a(0x586)][_0x29184a(0x4e6)](()=>{const _0x44a9ff=_0x29184a;this[_0x44a9ff(0x1da)]&&this[_0x44a9ff(0x210)]&&this[_0x44a9ff(0x488)]&&this[_0x44a9ff(0x673)][_0x44a9ff(0x300)]({'unitId':this[_0x44a9ff(0x1da)],'subUnitId':this['_subUnitId'],'drawingId':this['_activeShapeId']})&&(this[_0x44a9ff(0x4d9)]=this['_getShapeAdjustPointListById'](this['_unitId'],this[_0x44a9ff(0x210)],this[_0x44a9ff(0x488)]),this[_0x44a9ff(0x256)]());}));}));}[_0x1bf676(0x2a8)](){const _0x2311ba=_0x1bf676;this[_0x2311ba(0x38d)](this[_0x2311ba(0x673)][_0x2311ba(0x4c8)][_0x2311ba(0x4e6)](_0x527822=>{const _0x5ddbab=_0x2311ba;if(_0x527822['length']===0x1){let _0x2e0648=_0x527822[0x0];if(_0x2e0648['drawingType']===t['DrawingTypeEnum'][_0x5ddbab(0x2f9)]){this['_activeShapeId']=_0x2e0648['drawingId'];let {unitId:_0xb8c20d,subUnitId:_0xb98136}=_0x2e0648;this[_0x5ddbab(0x4d9)]=this[_0x5ddbab(0x672)](_0xb8c20d,_0xb98136,this[_0x5ddbab(0x488)]),this[_0x5ddbab(0x1da)]=_0xb8c20d,this[_0x5ddbab(0x210)]=_0xb98136,this[_0x5ddbab(0x3be)](),this[_0x5ddbab(0x60e)]();}else this['_activeShapeId']=null,this[_0x5ddbab(0x4d9)]=void 0x0,this[_0x5ddbab(0x1da)]=null,this[_0x5ddbab(0x210)]=null,this['_clearShapeAdjustControls']();}(_0x527822[_0x5ddbab(0x2cd)]>0x1||_0x527822[_0x5ddbab(0x2cd)]===0x0)&&(this[_0x5ddbab(0x488)]=null,this[_0x5ddbab(0x4d9)]=void 0x0,this[_0x5ddbab(0x1da)]=null,this[_0x5ddbab(0x210)]=null,this[_0x5ddbab(0x3be)]());})),this['disposeWithMe'](this['_drawingManagerService'][_0x2311ba(0x24c)][_0x2311ba(0x4e6)](_0x494201=>{const _0x5f0449=_0x2311ba;if(_0x494201[_0x5f0449(0x2cd)]===0x1){var _0x5f15e5;let _0x4ff034=_0x494201[0x0];((_0x5f15e5=this['_drawingManagerService']['getDrawingByParam'](_0x4ff034))==null?void 0x0:_0x5f15e5[_0x5f0449(0x24b)])===t[_0x5f0449(0x45e)][_0x5f0449(0x2f9)]&&this[_0x5f0449(0x371)](!0x0);}})),this[_0x2311ba(0x38d)](this[_0x2311ba(0x673)][_0x2311ba(0x2be)][_0x2311ba(0x4e6)](_0x884dc8=>{const _0x21ba36=_0x2311ba;for(let _0x487e1d of _0x884dc8)this['_activeShapeId']===_0x487e1d[_0x21ba36(0x45c)]&&(this[_0x21ba36(0x488)]=null,this[_0x21ba36(0x4d9)]=void 0x0,this[_0x21ba36(0x1da)]=null,this[_0x21ba36(0x210)]=null,this[_0x21ba36(0x3be)]());}));}};B=R([L(0x1,t['IContextService']),L(0x2,a['IDrawingManagerService']),L(0x3,(0x0,t[_0x1bf676(0x589)])(e['SheetsShapeService'])),L(0x4,(0x0,t[_0x1bf676(0x589)])(o[_0x1bf676(0x4b4)])),L(0x5,(0x0,t[_0x1bf676(0x589)])(z)),L(0x6,t[_0x1bf676(0x247)]),L(0x7,t[_0x1bf676(0x63c)])],B);const se={'id':_0x1bf676(0x3b0),'type':t[_0x1bf676(0x5ea)][_0x1bf676(0x565)],'handler':(_0x3a7e47,_0x3f73d7)=>{const _0x422ac2=_0x1bf676;let _0x228835=_0x3a7e47['get'](a['IDrawingManagerService']),_0x80784c=_0x3a7e47[_0x422ac2(0x1f9)](o[_0x422ac2(0x4b4)]),_0xaae10a=_0x3a7e47[_0x422ac2(0x1f9)](B);if(_0x3f73d7==null)return!0x0;if(_0x3f73d7[_0x422ac2(0x2cd)]>0x0){var _0x8750a3;let _0x53553f=(_0x8750a3=_0x80784c['getRenderById'](_0x3f73d7[0x0][_0x422ac2(0x3c1)]))==null?void 0x0:_0x8750a3[_0x422ac2(0x5c6)];if(_0x53553f){let {unitId:_0x5cba02,subUnitId:_0x19fb78,drawingId:_0x28d403}=_0x3f73d7[0x0],_0x54feec=(0x0,a[_0x422ac2(0x205)])({'unitId':_0x5cba02,'subUnitId':_0x19fb78,'drawingId':_0x28d403},void 0x0),_0x2dfabc=_0x53553f[_0x422ac2(0x5d3)](_0x54feec);if(_0x2dfabc){var _0x4a624f;(_0x4a624f=_0x80784c[_0x422ac2(0x4bf)](_0x3f73d7[0x0][_0x422ac2(0x3c1)]))==null||(_0x4a624f=_0x4a624f[_0x422ac2(0x5c6)][_0x422ac2(0x349)]())==null||_0x4a624f[_0x422ac2(0x263)](_0x2dfabc);}}_0x228835[_0x422ac2(0x652)](_0x3f73d7),_0xaae10a[_0x422ac2(0x361)](!0x1);}return!0x0;}},V={'type':t[_0x1bf676(0x5ea)][_0x1bf676(0x2b1)],'id':_0x1bf676(0x3ba),'handler':async(_0x4d91fe,_0x3c774a)=>{const _0x23e2c9=_0x1bf676;let _0x56c28a=(0x0,n[_0x23e2c9(0x41b)])(_0x4d91fe[_0x23e2c9(0x1f9)](t[_0x23e2c9(0x247)]));if(!_0x56c28a)return!0x1;let _0x4daa59=_0x4d91fe[_0x23e2c9(0x1f9)](n[_0x23e2c9(0x450)])['getCurrentLastSelection']();if(!_0x4daa59)return!0x1;let _0x2596c9=_0x4d91fe[_0x23e2c9(0x1f9)](t[_0x23e2c9(0x63c)]),{unitId:_0x15dc52,subUnitId:_0x552c3b}=_0x56c28a,{value:_0x4192e7,enhanceParams:_0x149f0d}=_0x3c774a,{range:_0x12383d}=_0x4daa59,_0x736eed={'unitId':_0x15dc52,'subUnitId':_0x552c3b,'shapeType':_0x4192e7,'range':_0x12383d,'shapeId':(0x0,t[_0x23e2c9(0x31a)])()};if(_0x149f0d){let _0x23079b=(0x0,u[_0x23e2c9(0x1db)])(_0x4192e7),_0x320348=_0x4192e7===u[_0x23e2c9(0x670)][_0x23e2c9(0x400)];_0x23079b&&(_0x149f0d['startArrow']||_0x149f0d[_0x23e2c9(0x5af)])&&(_0x736eed[_0x23e2c9(0x363)]={'ln':{'startArrow':_0x149f0d['startArrow']?{'type':u['ShapeArrowTypeEnum'][_0x23e2c9(0x532)],'size':u[_0x23e2c9(0x50b)][_0x23e2c9(0x467)]}:void 0x0,'endArrow':_0x149f0d['endArrow']?{'type':u[_0x23e2c9(0x2e5)][_0x23e2c9(0x532)],'size':u[_0x23e2c9(0x50b)]['Large']}:void 0x0}}),_0x320348&&(_0x149f0d[_0x23e2c9(0x596)]||_0x149f0d[_0x23e2c9(0x2b0)])&&(_0x736eed[_0x23e2c9(0x363)]={'fill':{'fillType':u[_0x23e2c9(0x445)][_0x23e2c9(0x232)],'color':_0x23e2c9(0x554)},'stroke':{'lineStrokeType':u['ShapeLineTypeEnum'][_0x23e2c9(0x218)],'width':0x1,'color':_0x23e2c9(0x2c0)},'shapeText':{'isHorizontal':!!_0x149f0d['horizontal']}});}let _0x5d22df=_0x2596c9[_0x23e2c9(0x40c)](e[_0x23e2c9(0x414)]['id'],_0x736eed);return setTimeout(()=>{const _0x3d769f=_0x23e2c9;_0x2596c9[_0x3d769f(0x2e7)](se['id'],[{'unitId':_0x15dc52,'subUnitId':_0x552c3b,'drawingId':_0x736eed[_0x3d769f(0x4b9)]}]);},0xc8),_0x5d22df;}};t[_0x1bf676(0x259)][_0x1bf676(0x479)],t['HorizontalAlign']['CENTER'],t[_0x1bf676(0x259)][_0x1bf676(0x550)];function ce(_0xb5f496){const _0x2692b0=_0x1bf676;let _0x2a75c2=_0xb5f496[_0x2692b0(0x1f9)](t[_0x2692b0(0x553)]),_0x2707c2=_0xb5f496['get'](t['ThemeService']);return{'id':s['SetInlineFormatTextBackgroundColorCommand']['id'],'tooltip':_0x2692b0(0x2f3),'type':l[_0x2692b0(0x3c4)][_0x2692b0(0x547)],'icon':_0x2692b0(0x347),'selections':[{'label':{'name':l[_0x2692b0(0x346)],'hoverable':!0x1,'selectable':!0x1}}],'value$':new i['Observable'](_0x2b376b=>{const _0x5aff65=_0x2692b0;_0x2b376b[_0x5aff65(0x47e)](_0x2707c2['getColorFromTheme']('primary.600'));}),'hidden$':_0x2a75c2['subscribeContextValue$'](t[_0x2692b0(0x591)])[_0x2692b0(0x5aa)]((0x0,i[_0x2692b0(0x3d2)])(_0x2a75c2['getContextValue'](t[_0x2692b0(0x591)])),(0x0,i[_0x2692b0(0x4fc)])(_0x5e626e=>!_0x5e626e))};}function le(_0x20575b){const _0x45ee07=_0x1bf676;let _0x11a066=_0x20575b[_0x45ee07(0x1f9)](t[_0x45ee07(0x553)]);return{'id':s['ResetInlineFormatTextBackgroundColorCommand']['id'],'type':l[_0x45ee07(0x3c4)]['BUTTON'],'title':_0x45ee07(0x47b),'hidden$':_0x11a066[_0x45ee07(0x524)](t['FOCUSING_COMMON_DRAWINGS'])[_0x45ee07(0x5aa)]((0x0,i[_0x45ee07(0x3d2)])(_0x11a066[_0x45ee07(0x424)](t['FOCUSING_COMMON_DRAWINGS'])),(0x0,i[_0x45ee07(0x4fc)])(_0x2ae106=>!_0x2ae106))};}const ue=[{'label':_0x1bf676(0x431),'icon':_0x1bf676(0x328),'value':t[_0x1bf676(0x259)][_0x1bf676(0x479)]},{'label':'sheets-shape-ui.align.center','icon':_0x1bf676(0x530),'value':t[_0x1bf676(0x259)]['CENTER']},{'label':_0x1bf676(0x326),'icon':_0x1bf676(0x2db),'value':t[_0x1bf676(0x259)]['RIGHT']}];function de(_0x46d8eb){const _0x5b6e28=_0x1bf676;var _0x194db3;let _0x4a5742=_0x46d8eb[_0x5b6e28(0x1f9)](t[_0x5b6e28(0x63c)]),_0x303b0d=_0x46d8eb[_0x5b6e28(0x1f9)](t['IContextService']),_0x4bca60=_0x46d8eb[_0x5b6e28(0x1f9)](r['ISheetDrawingService']),_0x38fde7=_0x46d8eb[_0x5b6e28(0x1f9)](C),_0x540b40=_0x46d8eb['get'](e['SheetsShapeService']),_0x3f6f75=t['HorizontalAlign'][_0x5b6e28(0x479)],_0x373aef=()=>{const _0x4efa95=_0x5b6e28;var _0x58c0c6;let _0x42de29=_0x4bca60[_0x4efa95(0x62f)]()['filter'](_0x44d394=>_0x44d394['drawingType']===t[_0x4efa95(0x45e)][_0x4efa95(0x2f9)]);if(_0x42de29['length']!==0x1)return _0x3f6f75;let _0xeefe83=_0x38fde7['getEditing'](),_0x5af90f=(_0xeefe83==null?void 0x0:_0xeefe83['unitId'])||_0x42de29[0x0][_0x4efa95(0x3c1)],_0x4f4738=(_0xeefe83==null?void 0x0:_0xeefe83[_0x4efa95(0x5d0)])||_0x42de29[0x0][_0x4efa95(0x5d0)],_0x33c9ff=(_0xeefe83==null?void 0x0:_0xeefe83[_0x4efa95(0x4b9)])||_0x42de29[0x0][_0x4efa95(0x45c)],_0x26c63c=_0x540b40[_0x4efa95(0x655)](_0x5af90f,_0x4f4738,_0x33c9ff);if(!_0x26c63c)return _0x3f6f75;let _0x173b84=_0x26c63c[_0x4efa95(0x4fb)]();if(!_0x173b84||!('dataModel'in _0x173b84))return _0x3f6f75;let _0x32caa7=_0x173b84[_0x4efa95(0x478)];return(_0x58c0c6=_0x32caa7==null?void 0x0:_0x32caa7['ha'])==null?_0x3f6f75:_0x58c0c6;};return{'id':E['id'],'icon':(_0x194db3=ue[_0x5b6e28(0x24a)](_0x3d842e=>_0x3d842e[_0x5b6e28(0x2bb)]===_0x3f6f75))==null?void 0x0:_0x194db3[_0x5b6e28(0x42f)],'tooltip':_0x5b6e28(0x31c),'type':l[_0x5b6e28(0x3c4)][_0x5b6e28(0x615)],'selections':ue,'value$':new i[(_0x5b6e28(0x5d1))](_0x36256a=>{const _0x4f709a=_0x5b6e28;let _0x324840=_0x4a5742['onCommandExecuted'](_0x1e25c4=>{_0x1e25c4['id']===E['id']&&_0x36256a['next'](_0x373aef());}),_0x25b678=_0x38fde7[_0x4f709a(0x536)][_0x4f709a(0x4e6)](()=>{const _0x1332f5=_0x4f709a;_0x36256a[_0x1332f5(0x47e)](_0x373aef());});return _0x36256a[_0x4f709a(0x47e)](_0x373aef()),()=>{_0x324840['dispose'](),_0x25b678['unsubscribe']();};}),'hidden$':_0x303b0d['subscribeContextValue$'](t[_0x5b6e28(0x591)])[_0x5b6e28(0x5aa)]((0x0,i['map'])(_0x2be995=>!_0x2be995))};}const fe=[{'label':_0x1bf676(0x1e4),'icon':_0x1bf676(0x40d),'value':t[_0x1bf676(0x3bd)]['TOP']},{'label':_0x1bf676(0x1f5),'icon':'VerticalCenterIcon','value':t[_0x1bf676(0x3bd)][_0x1bf676(0x2f6)]},{'label':_0x1bf676(0x33d),'icon':_0x1bf676(0x533),'value':t['VerticalAlign'][_0x1bf676(0x52e)]}];function pe(_0x415942){const _0x54425e=_0x1bf676;var _0x524ce2;let _0x2195f6=_0x415942[_0x54425e(0x1f9)](t['ICommandService']),_0x1069b0=_0x415942['get'](t[_0x54425e(0x553)]),_0x34624b=_0x415942[_0x54425e(0x1f9)](r[_0x54425e(0x2af)]),_0x505c5a=_0x415942[_0x54425e(0x1f9)](C),_0x8b6ffd=_0x415942[_0x54425e(0x1f9)](e[_0x54425e(0x35a)]),_0x14e1c7=t[_0x54425e(0x3bd)][_0x54425e(0x4c1)],_0x1e3f04=()=>{const _0x19fc30=_0x54425e;var _0x40c858;let _0x1f68ff=_0x34624b[_0x19fc30(0x62f)]()[_0x19fc30(0x289)](_0x3345fc=>_0x3345fc['drawingType']===t[_0x19fc30(0x45e)][_0x19fc30(0x2f9)]);if(_0x1f68ff[_0x19fc30(0x2cd)]!==0x1)return _0x14e1c7;let _0xc1049f=_0x505c5a['getEditing'](),_0x4dbc50=(_0xc1049f==null?void 0x0:_0xc1049f[_0x19fc30(0x3c1)])||_0x1f68ff[0x0][_0x19fc30(0x3c1)],_0x370675=(_0xc1049f==null?void 0x0:_0xc1049f[_0x19fc30(0x5d0)])||_0x1f68ff[0x0][_0x19fc30(0x5d0)],_0x5e64a5=(_0xc1049f==null?void 0x0:_0xc1049f[_0x19fc30(0x4b9)])||_0x1f68ff[0x0]['drawingId'],_0x2cdcd2=_0x8b6ffd[_0x19fc30(0x655)](_0x4dbc50,_0x370675,_0x5e64a5);if(!_0x2cdcd2)return _0x14e1c7;let _0x25e8ff=_0x2cdcd2[_0x19fc30(0x4fb)]();if(!_0x25e8ff||!(_0x19fc30(0x478)in _0x25e8ff))return _0x14e1c7;let _0x1c0206=_0x25e8ff[_0x19fc30(0x478)];return(_0x40c858=_0x1c0206==null?void 0x0:_0x1c0206['va'])==null?_0x14e1c7:_0x40c858;};return{'id':A['id'],'icon':(_0x524ce2=fe[_0x54425e(0x24a)](_0x16f48f=>_0x16f48f[_0x54425e(0x2bb)]===_0x14e1c7))==null?void 0x0:_0x524ce2[_0x54425e(0x42f)],'tooltip':_0x54425e(0x3e2),'type':l['MenuItemType']['SELECTOR'],'selections':fe,'value$':new i[(_0x54425e(0x5d1))](_0x406147=>{const _0x55825f=_0x54425e;let _0xb9777d=_0x2195f6[_0x55825f(0x648)](_0x22bae9=>{const _0x3924ad=_0x55825f;_0x22bae9['id']===A['id']&&_0x406147[_0x3924ad(0x47e)](_0x1e3f04());}),_0x40f0a9=_0x505c5a[_0x55825f(0x536)]['subscribe'](()=>{const _0x1cd4bd=_0x55825f;_0x406147[_0x1cd4bd(0x47e)](_0x1e3f04());});return _0x406147[_0x55825f(0x47e)](_0x1e3f04()),()=>{const _0x4af895=_0x55825f;_0xb9777d['dispose'](),_0x40f0a9[_0x4af895(0x421)]();};}),'hidden$':_0x1069b0[_0x54425e(0x524)](t[_0x54425e(0x591)])[_0x54425e(0x5aa)]((0x0,i[_0x54425e(0x4fc)])(_0x156f10=>!_0x156f10))};}let H=class extends t['Disposable']{constructor(_0x3d8f23,_0x31b21c){const _0x5150ea=_0x1bf676;super(),this[_0x5150ea(0x5eb)]=_0x3d8f23,this[_0x5150ea(0x673)]=_0x31b21c,this[_0x5150ea(0x422)](),this[_0x5150ea(0x5eb)][_0x5150ea(0x3f4)](!0x0),this['disposeWithMe']({'dispose':()=>this[_0x5150ea(0x5eb)]['setCanUseShapeClip'](!0x1)});}[_0x1bf676(0x422)](){const _0x369198=_0x1bf676;let _0x5186ce=this[_0x369198(0x5eb)],_0x2f1daa=new Map(),_0x356f72=_0x5186ce[_0x369198(0x541)]((_0x20c65e,_0x1c0e50,_0x376f3b,_0x2b0714,_0x1076db)=>{const _0x3108e6=_0x369198;let _0x5b8885=_0x1c0e50;if(_0x5b8885===u[_0x3108e6(0x670)][_0x3108e6(0x4bc)]||_0x1c0e50===_0x3108e6(0x527))return!0x1;try{let _0x5b11c2=_0x2f1daa[_0x3108e6(0x1f9)](_0x1c0e50);return _0x5b11c2||(_0x5b11c2=new u[(_0x3108e6(0x57a))](_0x5b8885,_0x3108e6(0x560)+_0x1c0e50),_0x2f1daa[_0x3108e6(0x62c)](_0x1c0e50,_0x5b11c2)),_0x1076db&&_0x5b11c2[_0x3108e6(0x307)]({'adjustValues':_0x1076db},!0x0),_0x5b11c2[_0x3108e6(0x1fe)]({'width':_0x376f3b,'height':_0x2b0714}),_0x5b11c2[_0x3108e6(0x435)](_0x20c65e,{'left':0x0,'top':0x0,'width':_0x376f3b,'height':_0x2b0714});}catch{return!0x1;}});this[_0x369198(0x38d)](_0x356f72),this[_0x369198(0x38d)]({'dispose':()=>_0x2f1daa[_0x369198(0x48a)]()});}[_0x1bf676(0x579)](_0x20f00a,_0x2e07b0,_0x3f340e,_0x519579,_0x1e9d06){const _0x271e11=_0x1bf676;let _0x229265=this[_0x271e11(0x673)]['getDrawingData'](_0x20f00a,_0x2e07b0);if(!_0x229265[_0x3f340e])return;let _0x31cc89={..._0x229265[_0x3f340e],'prstGeom':_0x519579,'adjustValues':_0x1e9d06};this[_0x271e11(0x673)]['featurePluginUpdateNotification']([_0x31cc89]);}};H=R([L(0x0,(0x0,t['Inject'])(d[_0x1bf676(0x209)])),L(0x1,(0x0,t[_0x1bf676(0x589)])(a[_0x1bf676(0x5a6)]))],H);const me=[{'group':_0x1bf676(0x336),'type':u[_0x1bf676(0x670)][_0x1bf676(0x4d3)],'icon':_0x1bf676(0x49b),'name':_0x1bf676(0x4bd)},{'group':_0x1bf676(0x336),'type':u[_0x1bf676(0x670)][_0x1bf676(0x3f3)],'icon':_0x1bf676(0x578),'name':_0x1bf676(0x29e),'endArrow':!0x0},{'group':_0x1bf676(0x336),'type':u[_0x1bf676(0x670)][_0x1bf676(0x3f3)],'icon':_0x1bf676(0x51c),'name':_0x1bf676(0x229),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x1bf676(0x336),'type':u[_0x1bf676(0x670)][_0x1bf676(0x3dc)],'icon':'ShapeBentConnector3Icon','name':_0x1bf676(0x507)},{'group':_0x1bf676(0x336),'type':u['ShapeTypeEnum'][_0x1bf676(0x3dc)],'icon':_0x1bf676(0x30b),'name':_0x1bf676(0x611),'endArrow':!0x0},{'group':_0x1bf676(0x336),'type':u[_0x1bf676(0x670)][_0x1bf676(0x3dc)],'icon':'ShapeBentConnector3Arrow2Icon','name':_0x1bf676(0x3ee),'endArrow':!0x0,'startArrow':!0x0},{'group':'line','type':u[_0x1bf676(0x670)][_0x1bf676(0x585)],'icon':'ShapeCurvedConnector3Icon','name':_0x1bf676(0x500)},{'group':_0x1bf676(0x336),'type':u[_0x1bf676(0x670)]['CurvedConnector3'],'icon':_0x1bf676(0x529),'name':_0x1bf676(0x5df),'endArrow':!0x0},{'group':_0x1bf676(0x336),'type':u[_0x1bf676(0x670)][_0x1bf676(0x585)],'icon':_0x1bf676(0x59c),'name':_0x1bf676(0x56a),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x1bf676(0x646),'type':u[_0x1bf676(0x670)][_0x1bf676(0x400)],'icon':_0x1bf676(0x3b5),'name':_0x1bf676(0x36a)},{'group':'rectangle','type':u[_0x1bf676(0x670)][_0x1bf676(0x576)],'icon':_0x1bf676(0x394),'name':_0x1bf676(0x2a2)},{'group':'rectangle','type':u[_0x1bf676(0x670)][_0x1bf676(0x60c)],'icon':_0x1bf676(0x2c1),'name':'sheets-shape-ui.shape.type.snip1-rect'},{'group':_0x1bf676(0x646),'type':u[_0x1bf676(0x670)][_0x1bf676(0x5fa)],'icon':_0x1bf676(0x55c),'name':'sheets-shape-ui.shape.type.snip2-same-rect'},{'group':_0x1bf676(0x646),'type':u[_0x1bf676(0x670)][_0x1bf676(0x378)],'icon':_0x1bf676(0x1ec),'name':_0x1bf676(0x27e)},{'group':_0x1bf676(0x646),'type':u['ShapeTypeEnum'][_0x1bf676(0x5cf)],'icon':'ShapeSnipRoundRectIcon','name':_0x1bf676(0x598)},{'group':_0x1bf676(0x646),'type':u[_0x1bf676(0x670)]['Round1Rect'],'icon':'ShapeRound1RectIcon','name':_0x1bf676(0x5bc)},{'group':_0x1bf676(0x646),'type':u[_0x1bf676(0x670)][_0x1bf676(0x377)],'icon':_0x1bf676(0x44d),'name':_0x1bf676(0x5ce)},{'group':'rectangle','type':u[_0x1bf676(0x670)][_0x1bf676(0x32c)],'icon':_0x1bf676(0x47a),'name':_0x1bf676(0x526)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)]['Rect'],'icon':_0x1bf676(0x44f),'name':'sheets-shape-ui.shape.type.rect-textbox-horizontal','horizontal':!0x0},{'group':'basicShape','type':u[_0x1bf676(0x670)]['Rect'],'icon':_0x1bf676(0x543),'name':'sheets-shape-ui.shape.type.rect-textbox-vertical','vertical':!0x0},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x1d7)],'icon':_0x1bf676(0x382),'name':_0x1bf676(0x45a)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x49f)],'icon':'ShapeTriangleIcon','name':_0x1bf676(0x65b)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)]['RightTriangle'],'icon':_0x1bf676(0x3a1),'name':'sheets-shape-ui.shape.type.rt-triangle'},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x1dc)],'icon':'ShapeParallelogramIcon','name':'sheets-shape-ui.shape.type.parallelogram'},{'group':_0x1bf676(0x352),'type':u['ShapeTypeEnum']['Trapezoid'],'icon':_0x1bf676(0x50d),'name':_0x1bf676(0x202)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x23e)],'icon':_0x1bf676(0x2c8),'name':'sheets-shape-ui.shape.type.diamond'},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x43e)],'icon':_0x1bf676(0x520),'name':_0x1bf676(0x3d1)},{'group':_0x1bf676(0x352),'type':u['ShapeTypeEnum'][_0x1bf676(0x380)],'icon':_0x1bf676(0x2d8),'name':_0x1bf676(0x1f0)},{'group':_0x1bf676(0x352),'type':u['ShapeTypeEnum'][_0x1bf676(0x49e)],'icon':_0x1bf676(0x5bb),'name':_0x1bf676(0x2b8)},{'group':'basicShape','type':u[_0x1bf676(0x670)]['Octagon'],'icon':'ShapeOctagonIcon','name':_0x1bf676(0x513)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x315)],'icon':_0x1bf676(0x5cb),'name':_0x1bf676(0x3e6)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x508)],'icon':'ShapeDodecagonIcon','name':'sheets-shape-ui.shape.type.dodecagon'},{'group':'basicShape','type':u[_0x1bf676(0x670)][_0x1bf676(0x287)],'icon':_0x1bf676(0x4dc),'name':'sheets-shape-ui.shape.type.pie'},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x675)],'icon':'ShapeChordIcon','name':_0x1bf676(0x36e)},{'group':_0x1bf676(0x352),'type':u['ShapeTypeEnum'][_0x1bf676(0x610)],'icon':_0x1bf676(0x590),'name':_0x1bf676(0x455)},{'group':_0x1bf676(0x352),'type':u['ShapeTypeEnum'][_0x1bf676(0x5e3)],'icon':'ShapeFrameIcon','name':_0x1bf676(0x3a2)},{'group':_0x1bf676(0x352),'type':u['ShapeTypeEnum'][_0x1bf676(0x5fc)],'icon':_0x1bf676(0x320),'name':_0x1bf676(0x3b7)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x52f)],'icon':_0x1bf676(0x30d),'name':'sheets-shape-ui.shape.type.corner'},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)]['DiagStripe'],'icon':_0x1bf676(0x588),'name':'sheets-shape-ui.shape.type.diag-stripe'},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x61d)],'icon':_0x1bf676(0x523),'name':_0x1bf676(0x55d)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x31f)],'icon':_0x1bf676(0x63d),'name':_0x1bf676(0x438)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)]['Can'],'icon':_0x1bf676(0x3cb),'name':_0x1bf676(0x55e)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x3c8)],'icon':_0x1bf676(0x2fc),'name':_0x1bf676(0x31e)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)]['Bevel'],'icon':_0x1bf676(0x682),'name':_0x1bf676(0x47c)},{'group':'basicShape','type':u['ShapeTypeEnum']['Donut'],'icon':_0x1bf676(0x3de),'name':_0x1bf676(0x634)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)]['NoSmoking'],'icon':_0x1bf676(0x661),'name':_0x1bf676(0x63e)},{'group':'basicShape','type':u[_0x1bf676(0x670)]['BlockArc'],'icon':_0x1bf676(0x635),'name':_0x1bf676(0x3a7)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)]['FoldedCorner'],'icon':_0x1bf676(0x34b),'name':_0x1bf676(0x62d)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)]['SmileyFace'],'icon':'ShapeSmileyFaceIcon','name':_0x1bf676(0x301)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x2a4)],'icon':_0x1bf676(0x389),'name':_0x1bf676(0x52b)},{'group':_0x1bf676(0x352),'type':u['ShapeTypeEnum'][_0x1bf676(0x57b)],'icon':_0x1bf676(0x409),'name':_0x1bf676(0x30f)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x636)],'icon':'ShapeSunIcon','name':_0x1bf676(0x4ab)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x3c9)],'icon':_0x1bf676(0x5d4),'name':_0x1bf676(0x427)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x5fe)],'icon':_0x1bf676(0x609),'name':_0x1bf676(0x657)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)]['Arc'],'icon':'ShapeArcIcon','name':_0x1bf676(0x2a7)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x48f)],'icon':_0x1bf676(0x299),'name':_0x1bf676(0x208)},{'group':'basicShape','type':u[_0x1bf676(0x670)][_0x1bf676(0x2bf)],'icon':_0x1bf676(0x212),'name':_0x1bf676(0x5a9)},{'group':_0x1bf676(0x352),'type':u[_0x1bf676(0x670)][_0x1bf676(0x5b0)],'icon':_0x1bf676(0x369),'name':_0x1bf676(0x34c)},{'group':'basicShape','type':u['ShapeTypeEnum'][_0x1bf676(0x2b5)],'icon':_0x1bf676(0x417),'name':'sheets-shape-ui.shape.type.right-bracket'},{'group':_0x1bf676(0x352),'type':u['ShapeTypeEnum']['LeftBrace'],'icon':_0x1bf676(0x1ea),'name':_0x1bf676(0x2d1)},{'group':'basicShape','type':u['ShapeTypeEnum'][_0x1bf676(0x2f4)],'icon':_0x1bf676(0x30c),'name':_0x1bf676(0x390)},{'group':'blockArrow','type':u[_0x1bf676(0x670)][_0x1bf676(0x364)],'icon':'ShapeRightArrowIcon','name':_0x1bf676(0x1d8)},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)][_0x1bf676(0x1ff)],'icon':_0x1bf676(0x200),'name':_0x1bf676(0x552)},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)][_0x1bf676(0x1d5)],'icon':_0x1bf676(0x43d),'name':_0x1bf676(0x64d)},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)]['DownArrow'],'icon':_0x1bf676(0x544),'name':'sheets-shape-ui.shape.type.down-arrow'},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)][_0x1bf676(0x344)],'icon':_0x1bf676(0x2f7),'name':'sheets-shape-ui.shape.type.left-right-arrow'},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)][_0x1bf676(0x61a)],'icon':_0x1bf676(0x2c3),'name':'sheets-shape-ui.shape.type.up-down-arrow'},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)]['QuadArrow'],'icon':_0x1bf676(0x470),'name':_0x1bf676(0x423)},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)][_0x1bf676(0x2c7)],'icon':_0x1bf676(0x66d),'name':_0x1bf676(0x49d)},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)][_0x1bf676(0x639)],'icon':'ShapeBentArrowIcon','name':_0x1bf676(0x3d5)},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)]['UturnArrow'],'icon':_0x1bf676(0x482),'name':'sheets-shape-ui.shape.type.uturn-arrow'},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)][_0x1bf676(0x486)],'icon':_0x1bf676(0x561),'name':_0x1bf676(0x379)},{'group':'blockArrow','type':u[_0x1bf676(0x670)][_0x1bf676(0x317)],'icon':_0x1bf676(0x2ad),'name':_0x1bf676(0x491)},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)][_0x1bf676(0x497)],'icon':_0x1bf676(0x404),'name':_0x1bf676(0x3aa)},{'group':'blockArrow','type':u[_0x1bf676(0x670)][_0x1bf676(0x388)],'icon':_0x1bf676(0x617),'name':_0x1bf676(0x270)},{'group':_0x1bf676(0x5ab),'type':u['ShapeTypeEnum'][_0x1bf676(0x367)],'icon':_0x1bf676(0x625),'name':_0x1bf676(0x283)},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)][_0x1bf676(0x53b)],'icon':_0x1bf676(0x4e8),'name':_0x1bf676(0x3af)},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)][_0x1bf676(0x568)],'icon':_0x1bf676(0x34d),'name':_0x1bf676(0x4b6)},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)][_0x1bf676(0x5d9)],'icon':_0x1bf676(0x51a),'name':_0x1bf676(0x419)},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)]['HomePlate'],'icon':_0x1bf676(0x65a),'name':'sheets-shape-ui.shape.type.home-plate'},{'group':'blockArrow','type':u[_0x1bf676(0x670)][_0x1bf676(0x563)],'icon':_0x1bf676(0x4d0),'name':_0x1bf676(0x3e1)},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)][_0x1bf676(0x546)],'icon':'ShapeRightArrowCalloutIcon','name':'sheets-shape-ui.shape.type.right-arrow-callout'},{'group':_0x1bf676(0x5ab),'type':u['ShapeTypeEnum'][_0x1bf676(0x2bd)],'icon':_0x1bf676(0x490),'name':'sheets-shape-ui.shape.type.down-arrow-callout'},{'group':'blockArrow','type':u['ShapeTypeEnum']['LeftArrowCallout'],'icon':_0x1bf676(0x4de),'name':_0x1bf676(0x5db)},{'group':_0x1bf676(0x5ab),'type':u[_0x1bf676(0x670)]['UpArrowCallout'],'icon':_0x1bf676(0x623),'name':_0x1bf676(0x4a5)},{'group':_0x1bf676(0x5ab),'type':u['ShapeTypeEnum'][_0x1bf676(0x2aa)],'icon':_0x1bf676(0x2ee),'name':_0x1bf676(0x680)},{'group':'blockArrow','type':u[_0x1bf676(0x670)][_0x1bf676(0x5f9)],'icon':_0x1bf676(0x4ef),'name':_0x1bf676(0x398)},{'group':'blockArrow','type':u[_0x1bf676(0x670)][_0x1bf676(0x34f)],'icon':_0x1bf676(0x1e1),'name':_0x1bf676(0x376)},{'group':'equationShape','type':u[_0x1bf676(0x670)][_0x1bf676(0x3c0)],'icon':_0x1bf676(0x67d),'name':'sheets-shape-ui.shape.type.math-plus'},{'group':_0x1bf676(0x4b3),'type':u['ShapeTypeEnum']['MathMinus'],'icon':_0x1bf676(0x4dd),'name':_0x1bf676(0x257)},{'group':_0x1bf676(0x4b3),'type':u['ShapeTypeEnum'][_0x1bf676(0x59a)],'icon':'ShapeMathMultiplyIcon','name':_0x1bf676(0x459)},{'group':_0x1bf676(0x4b3),'type':u[_0x1bf676(0x670)][_0x1bf676(0x2c4)],'icon':_0x1bf676(0x650),'name':'sheets-shape-ui.shape.type.math-divide'},{'group':_0x1bf676(0x4b3),'type':u[_0x1bf676(0x670)][_0x1bf676(0x613)],'icon':_0x1bf676(0x29b),'name':_0x1bf676(0x498)},{'group':_0x1bf676(0x4b3),'type':u[_0x1bf676(0x670)]['MathNotEqual'],'icon':_0x1bf676(0x537),'name':_0x1bf676(0x5f1)},{'group':_0x1bf676(0x687),'type':u['ShapeTypeEnum'][_0x1bf676(0x392)],'icon':_0x1bf676(0x607),'name':'sheets-shape-ui.shape.type.flow-chart-process'},{'group':'flowchart','type':u[_0x1bf676(0x670)][_0x1bf676(0x5f4)],'icon':_0x1bf676(0x2dc),'name':_0x1bf676(0x286)},{'group':'flowchart','type':u[_0x1bf676(0x670)][_0x1bf676(0x3f8)],'icon':_0x1bf676(0x246),'name':'sheets-shape-ui.shape.type.flow-chart-decision'},{'group':_0x1bf676(0x687),'type':u[_0x1bf676(0x670)][_0x1bf676(0x297)],'icon':_0x1bf676(0x3e9),'name':_0x1bf676(0x314)},{'group':'flowchart','type':u['ShapeTypeEnum'][_0x1bf676(0x1fc)],'icon':_0x1bf676(0x4af),'name':'sheets-shape-ui.shape.type.flow-chart-predefined-process'},{'group':'flowchart','type':u[_0x1bf676(0x670)][_0x1bf676(0x47d)],'icon':_0x1bf676(0x46c),'name':_0x1bf676(0x1ef)},{'group':_0x1bf676(0x687),'type':u[_0x1bf676(0x670)]['FlowchartDocument'],'icon':_0x1bf676(0x2a0),'name':_0x1bf676(0x321)},{'group':_0x1bf676(0x687),'type':u[_0x1bf676(0x670)][_0x1bf676(0x261)],'icon':_0x1bf676(0x4f6),'name':_0x1bf676(0x58a)},{'group':'flowchart','type':u[_0x1bf676(0x670)][_0x1bf676(0x441)],'icon':_0x1bf676(0x2d6),'name':_0x1bf676(0x3bb)},{'group':_0x1bf676(0x687),'type':u[_0x1bf676(0x670)][_0x1bf676(0x473)],'icon':'ShapeFlowChartPreparationIcon','name':_0x1bf676(0x391)},{'group':'flowchart','type':u[_0x1bf676(0x670)][_0x1bf676(0x220)],'icon':_0x1bf676(0x262),'name':'sheets-shape-ui.shape.type.flow-chart-manual-input'},{'group':'flowchart','type':u[_0x1bf676(0x670)][_0x1bf676(0x5f6)],'icon':_0x1bf676(0x27f),'name':_0x1bf676(0x469)},{'group':_0x1bf676(0x687),'type':u[_0x1bf676(0x670)][_0x1bf676(0x25a)],'icon':_0x1bf676(0x1f7),'name':_0x1bf676(0x29d)},{'group':_0x1bf676(0x687),'type':u[_0x1bf676(0x670)][_0x1bf676(0x4fe)],'icon':'ShapeFlowChartOffpageConnectorIcon','name':_0x1bf676(0x446)},{'group':_0x1bf676(0x687),'type':u[_0x1bf676(0x670)][_0x1bf676(0x269)],'icon':_0x1bf676(0x4d4),'name':_0x1bf676(0x21b)},{'group':_0x1bf676(0x687),'type':u['ShapeTypeEnum'][_0x1bf676(0x224)],'icon':'ShapeFlowChartPunchedTapeIcon','name':_0x1bf676(0x61c)},{'group':_0x1bf676(0x687),'type':u[_0x1bf676(0x670)][_0x1bf676(0x25e)],'icon':'ShapeFlowChartSummingJunctionIcon','name':'sheets-shape-ui.shape.type.flow-chart-summing-junction'},{'group':'flowchart','type':u[_0x1bf676(0x670)][_0x1bf676(0x5de)],'icon':'ShapeFlowChartOrIcon','name':_0x1bf676(0x3c5)},{'group':_0x1bf676(0x687),'type':u[_0x1bf676(0x670)][_0x1bf676(0x23f)],'icon':_0x1bf676(0x22e),'name':_0x1bf676(0x567)},{'group':'flowchart','type':u[_0x1bf676(0x670)][_0x1bf676(0x278)],'icon':_0x1bf676(0x306),'name':_0x1bf676(0x645)},{'group':_0x1bf676(0x687),'type':u[_0x1bf676(0x670)][_0x1bf676(0x1f4)],'icon':_0x1bf676(0x58f),'name':_0x1bf676(0x46e)},{'group':_0x1bf676(0x687),'type':u['ShapeTypeEnum']['FlowchartMerge'],'icon':_0x1bf676(0x483),'name':_0x1bf676(0x56f)},{'group':_0x1bf676(0x687),'type':u['ShapeTypeEnum']['FlowchartOnlineStorage'],'icon':_0x1bf676(0x28e),'name':_0x1bf676(0x643)},{'group':_0x1bf676(0x687),'type':u[_0x1bf676(0x670)][_0x1bf676(0x275)],'icon':'ShapeFlowChartDelayIcon','name':_0x1bf676(0x641)},{'group':_0x1bf676(0x687),'type':u[_0x1bf676(0x670)][_0x1bf676(0x456)],'icon':_0x1bf676(0x29f),'name':_0x1bf676(0x23c)},{'group':_0x1bf676(0x687),'type':u['ShapeTypeEnum'][_0x1bf676(0x5bd)],'icon':'ShapeFlowChartMagneticDiskIcon','name':_0x1bf676(0x5e4)},{'group':_0x1bf676(0x687),'type':u[_0x1bf676(0x670)]['FlowchartMagneticDrum'],'icon':_0x1bf676(0x535),'name':_0x1bf676(0x624)},{'group':_0x1bf676(0x687),'type':u[_0x1bf676(0x670)]['FlowchartDisplay'],'icon':_0x1bf676(0x4d6),'name':_0x1bf676(0x593)},{'group':_0x1bf676(0x4ff),'type':u['ShapeTypeEnum'][_0x1bf676(0x2ed)],'icon':'ShapeIrregularSeal1Icon','name':_0x1bf676(0x538)},{'group':_0x1bf676(0x4ff),'type':u[_0x1bf676(0x670)][_0x1bf676(0x339)],'icon':_0x1bf676(0x671),'name':_0x1bf676(0x64a)},{'group':'starAndBanner','type':u[_0x1bf676(0x670)]['Star4'],'icon':_0x1bf676(0x331),'name':'sheets-shape-ui.shape.type.star4'},{'group':_0x1bf676(0x4ff),'type':u['ShapeTypeEnum'][_0x1bf676(0x4fd)],'icon':_0x1bf676(0x285),'name':_0x1bf676(0x61f)},{'group':_0x1bf676(0x4ff),'type':u[_0x1bf676(0x670)][_0x1bf676(0x341)],'icon':'ShapeStar6Icon','name':_0x1bf676(0x237)},{'group':_0x1bf676(0x4ff),'type':u[_0x1bf676(0x670)]['Star7'],'icon':_0x1bf676(0x67f),'name':_0x1bf676(0x448)},{'group':'starAndBanner','type':u[_0x1bf676(0x670)][_0x1bf676(0x4eb)],'icon':'ShapeStar8Icon','name':_0x1bf676(0x63f)},{'group':'starAndBanner','type':u['ShapeTypeEnum'][_0x1bf676(0x381)],'icon':_0x1bf676(0x3ae),'name':_0x1bf676(0x22c)},{'group':'starAndBanner','type':u['ShapeTypeEnum']['Star12'],'icon':_0x1bf676(0x566),'name':_0x1bf676(0x559)},{'group':_0x1bf676(0x4ff),'type':u['ShapeTypeEnum'][_0x1bf676(0x629)],'icon':'ShapeStar16Icon','name':_0x1bf676(0x27c)},{'group':'starAndBanner','type':u[_0x1bf676(0x670)][_0x1bf676(0x292)],'icon':_0x1bf676(0x245),'name':'sheets-shape-ui.shape.type.star24'},{'group':_0x1bf676(0x4ff),'type':u[_0x1bf676(0x670)]['Star32'],'icon':_0x1bf676(0x338),'name':_0x1bf676(0x265)},{'group':_0x1bf676(0x4ff),'type':u[_0x1bf676(0x670)][_0x1bf676(0x4ce)],'icon':'ShapeRibbon2Icon','name':_0x1bf676(0x3ce)},{'group':_0x1bf676(0x4ff),'type':u[_0x1bf676(0x670)][_0x1bf676(0x2ae)],'icon':_0x1bf676(0x487),'name':_0x1bf676(0x2b7)},{'group':_0x1bf676(0x4ff),'type':u[_0x1bf676(0x670)][_0x1bf676(0x505)],'icon':'ShapeEllipseRibbon2Icon','name':'sheets-shape-ui.shape.type.ellipse-ribbon2'},{'group':_0x1bf676(0x4ff),'type':u[_0x1bf676(0x670)][_0x1bf676(0x323)],'icon':_0x1bf676(0x39e),'name':_0x1bf676(0x2e2)},{'group':_0x1bf676(0x4ff),'type':u[_0x1bf676(0x670)][_0x1bf676(0x29c)],'icon':_0x1bf676(0x32b),'name':_0x1bf676(0x5e1)},{'group':_0x1bf676(0x4ff),'type':u[_0x1bf676(0x670)][_0x1bf676(0x420)],'icon':_0x1bf676(0x46a),'name':_0x1bf676(0x2cf)},{'group':_0x1bf676(0x4ff),'type':u[_0x1bf676(0x670)][_0x1bf676(0x2f8)],'icon':_0x1bf676(0x3c2),'name':_0x1bf676(0x4e1)},{'group':_0x1bf676(0x4ff),'type':u[_0x1bf676(0x670)][_0x1bf676(0x56d)],'icon':_0x1bf676(0x475),'name':_0x1bf676(0x2d7)},{'group':_0x1bf676(0x216),'type':u[_0x1bf676(0x670)][_0x1bf676(0x335)],'icon':_0x1bf676(0x332),'name':_0x1bf676(0x4ac)},{'group':_0x1bf676(0x216),'type':u[_0x1bf676(0x670)][_0x1bf676(0x373)],'icon':_0x1bf676(0x521),'name':_0x1bf676(0x5e6)},{'group':'callout','type':u['ShapeTypeEnum']['WedgeEllipseCallout'],'icon':'ShapeWedgeEllipseCalloutIcon','name':_0x1bf676(0x66e)},{'group':_0x1bf676(0x216),'type':u[_0x1bf676(0x670)][_0x1bf676(0x2a1)],'icon':_0x1bf676(0x458),'name':'sheets-shape-ui.shape.type.cloud-callout'},{'group':_0x1bf676(0x216),'type':u[_0x1bf676(0x670)]['BorderCallout1'],'icon':_0x1bf676(0x264),'name':_0x1bf676(0x272)},{'group':_0x1bf676(0x216),'type':u[_0x1bf676(0x670)][_0x1bf676(0x52d)],'icon':_0x1bf676(0x2ba),'name':_0x1bf676(0x277)},{'group':_0x1bf676(0x216),'type':u[_0x1bf676(0x670)][_0x1bf676(0x230)],'icon':_0x1bf676(0x5a7),'name':_0x1bf676(0x21a)},{'group':_0x1bf676(0x216),'type':u[_0x1bf676(0x670)][_0x1bf676(0x351)],'icon':_0x1bf676(0x20f),'name':_0x1bf676(0x397)},{'group':'callout','type':u[_0x1bf676(0x670)][_0x1bf676(0x3c7)],'icon':_0x1bf676(0x28b),'name':_0x1bf676(0x3bf)},{'group':_0x1bf676(0x216),'type':u[_0x1bf676(0x670)][_0x1bf676(0x201)],'icon':_0x1bf676(0x64e),'name':_0x1bf676(0x254)},{'group':'callout','type':u[_0x1bf676(0x670)][_0x1bf676(0x4c5)],'icon':_0x1bf676(0x1e8),'name':_0x1bf676(0x3d7)},{'group':_0x1bf676(0x216),'type':u[_0x1bf676(0x670)][_0x1bf676(0x58c)],'icon':_0x1bf676(0x401),'name':'sheets-shape-ui.shape.type.callout2'},{'group':_0x1bf676(0x216),'type':u[_0x1bf676(0x670)]['Callout3'],'icon':'ShapeCallout3Icon','name':'sheets-shape-ui.shape.type.callout3'},{'group':'callout','type':u[_0x1bf676(0x670)][_0x1bf676(0x249)],'icon':'ShapeAccentBorderCallout1Icon','name':'sheets-shape-ui.shape.type.accent-border-callout1'},{'group':_0x1bf676(0x216),'type':u[_0x1bf676(0x670)][_0x1bf676(0x1ee)],'icon':'ShapeAccentBorderCallout2Icon','name':_0x1bf676(0x57c)},{'group':_0x1bf676(0x216),'type':u[_0x1bf676(0x670)][_0x1bf676(0x468)],'icon':'ShapeAccentBorderCallout3Icon','name':_0x1bf676(0x2a5)},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)][_0x1bf676(0x5a4)],'icon':_0x1bf676(0x3a8),'name':_0x1bf676(0x480)},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)][_0x1bf676(0x54f)],'icon':'ShapeLeftRightCircularArrowIcon','name':_0x1bf676(0x350)},{'group':'other','type':u[_0x1bf676(0x670)]['SwooshArrow'],'icon':'ShapeSwooshArrowIcon','name':_0x1bf676(0x244)},{'group':'other','type':u[_0x1bf676(0x670)][_0x1bf676(0x5f8)],'icon':_0x1bf676(0x41c),'name':_0x1bf676(0x5c8)},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)][_0x1bf676(0x3ac)],'icon':_0x1bf676(0x67b),'name':_0x1bf676(0x22d)},{'group':'other','type':u['ShapeTypeEnum']['Funnel'],'icon':_0x1bf676(0x531),'name':_0x1bf676(0x5d8)},{'group':'other','type':u[_0x1bf676(0x670)][_0x1bf676(0x599)],'icon':_0x1bf676(0x23b),'name':'sheets-shape-ui.shape.type.gear6'},{'group':'other','type':u['ShapeTypeEnum'][_0x1bf676(0x496)],'icon':_0x1bf676(0x494),'name':'sheets-shape-ui.shape.type.gear9'},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)]['CornerTabs'],'icon':_0x1bf676(0x4f8),'name':_0x1bf676(0x5ac)},{'group':_0x1bf676(0x42c),'type':u['ShapeTypeEnum'][_0x1bf676(0x40a)],'icon':_0x1bf676(0x1de),'name':_0x1bf676(0x2e8)},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)][_0x1bf676(0x556)],'icon':_0x1bf676(0x581),'name':_0x1bf676(0x2fa)},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)][_0x1bf676(0x644)],'icon':_0x1bf676(0x66f),'name':_0x1bf676(0x24f)},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)][_0x1bf676(0x50f)],'icon':_0x1bf676(0x509),'name':'sheets-shape-ui.shape.type.action-button-end'},{'group':_0x1bf676(0x42c),'type':u['ShapeTypeEnum'][_0x1bf676(0x50c)],'icon':_0x1bf676(0x3dd),'name':'sheets-shape-ui.shape.type.action-button-home'},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)][_0x1bf676(0x678)],'icon':_0x1bf676(0x528),'name':_0x1bf676(0x659)},{'group':'other','type':u[_0x1bf676(0x670)]['ActionButtonReturn'],'icon':_0x1bf676(0x430),'name':'sheets-shape-ui.shape.type.action-button-return'},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)]['ActionButtonMovie'],'icon':'ShapeActionButtonMovieIcon','name':'sheets-shape-ui.shape.type.action-button-movie'},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)][_0x1bf676(0x5a1)],'icon':_0x1bf676(0x41e),'name':_0x1bf676(0x62e)},{'group':_0x1bf676(0x42c),'type':u['ShapeTypeEnum']['ActionButtonSound'],'icon':_0x1bf676(0x266),'name':_0x1bf676(0x1f2)},{'group':'other','type':u['ShapeTypeEnum'][_0x1bf676(0x32d)],'icon':_0x1bf676(0x56b),'name':_0x1bf676(0x439)},{'group':'other','type':u['ShapeTypeEnum'][_0x1bf676(0x549)],'icon':_0x1bf676(0x2f2),'name':_0x1bf676(0x4a3)},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)]['ChartPlus'],'icon':_0x1bf676(0x35c),'name':_0x1bf676(0x325)},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)][_0x1bf676(0x403)],'icon':_0x1bf676(0x638),'name':_0x1bf676(0x233)},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)][_0x1bf676(0x2d4)],'icon':_0x1bf676(0x5c3),'name':'sheets-shape-ui.shape.type.chart-x'},{'group':'other','type':u['ShapeTypeEnum'][_0x1bf676(0x225)],'icon':_0x1bf676(0x40e),'name':'sheets-shape-ui.shape.type.flow-chart-offline-storage'},{'group':'other','type':u['ShapeTypeEnum'][_0x1bf676(0x37d)],'icon':_0x1bf676(0x632),'name':_0x1bf676(0x234)},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)][_0x1bf676(0x5b2)],'icon':_0x1bf676(0x633),'name':_0x1bf676(0x40f)},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)][_0x1bf676(0x2ff)],'icon':'ShapeSquareTabsIcon','name':_0x1bf676(0x587)},{'group':_0x1bf676(0x42c),'type':u[_0x1bf676(0x670)][_0x1bf676(0x3d9)],'icon':_0x1bf676(0x501),'name':_0x1bf676(0x340)},{'group':'other','type':u[_0x1bf676(0x670)]['NonIsoscelesTrapezoid'],'icon':'ShapeNonIsoscelesTrapezoidIcon','name':_0x1bf676(0x489)}],he=_0x1bf676(0x3e7);function ge({onShapeClick:_0x544648,excludeGroups:_0x410ea5}){const _0x370ee9=_0x1bf676;let _0x5547fa=(0x0,l[_0x370ee9(0x214)])(t[_0x370ee9(0x67e)]),_0x6b9682=(0x0,l['useDependency'])(l[_0x370ee9(0x558)]),_0x254a36=(_0x410ea5?me[_0x370ee9(0x289)](_0x155fda=>!_0x410ea5[_0x370ee9(0x412)](_0x155fda[_0x370ee9(0x3f7)])):me)[_0x370ee9(0x56e)]((_0x3ed29d,_0x22f2d9)=>(_0x3ed29d[_0x22f2d9[_0x370ee9(0x3f7)]]||(_0x3ed29d[_0x22f2d9[_0x370ee9(0x3f7)]]=[]),_0x3ed29d[_0x22f2d9[_0x370ee9(0x3f7)]][_0x370ee9(0x23a)](_0x22f2d9),_0x3ed29d),{});return(0x0,h[_0x370ee9(0x3fa)])('div',{'className':_0x370ee9(0x436),'children':Object['entries'](_0x254a36)[_0x370ee9(0x4fc)](([_0x2662c7,_0xcd892c])=>(0x0,h[_0x370ee9(0x406)])(_0x370ee9(0x36b),{'className':_0x370ee9(0x4e7),'children':[(0x0,h[_0x370ee9(0x3fa)])(_0x370ee9(0x36b),{'className':'univer-mb-1\x20univer-rounded\x20univer-bg-gray-100\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-700\x20dark:!univer-bg-gray-800\x20dark:!univer-text-gray-200','children':_0x5547fa['t'](_0x370ee9(0x4c3)+_0x2662c7)}),(0x0,h[_0x370ee9(0x3fa)])(_0x370ee9(0x36b),{'className':_0x370ee9(0x471),'children':_0xcd892c[_0x370ee9(0x4fc)](_0x1c9c8e=>{const _0x1d09b5=_0x370ee9;let _0x112a4d=_0x6b9682[_0x1d09b5(0x1f9)](_0x1c9c8e[_0x1d09b5(0x42f)]);return(0x0,h[_0x1d09b5(0x3fa)])(_0x1d09b5(0x36b),{'title':_0x5547fa['t'](_0x1c9c8e['name']),'onClick':()=>_0x544648(_0x1c9c8e),'className':_0x1d09b5(0x57e),'children':_0x112a4d&&(0x0,h[_0x1d09b5(0x3fa)])(_0x112a4d,{'className':_0x1d09b5(0x25c)})},_0x1c9c8e[_0x1d09b5(0x343)]);})})]},_0x2662c7))});}function _0x33a1(_0x296f2a,_0x13fecc){_0x296f2a=_0x296f2a-0x1d5;const _0x1d5593=_0x1d55();let _0x33a104=_0x1d5593[_0x296f2a];return _0x33a104;}function _e(){const _0x427588=_0x1bf676;let _0x4b148e=(0x0,l[_0x427588(0x214)])(t[_0x427588(0x67e)]),_0x442509=(0x0,l[_0x427588(0x214)])(a[_0x427588(0x5a6)]),_0x42e756=(0x0,l['useDependency'])(H),[_0xde993e,_0x4bc5e1]=(0x0,m[_0x427588(0x36c)])(!0x1);return(0x0,h[_0x427588(0x3fa)])(p[_0x427588(0x22a)],{'side':_0x427588(0x305),'open':_0xde993e,'onOpenChange':_0x4bc5e1,'overlay':(0x0,h['jsx'])(ge,{'onShapeClick':_0xf38cab=>{const _0x37f126=_0x427588;let _0x276e70=_0x442509[_0x37f126(0x62f)]()[_0x37f126(0x24a)](_0x3026dc=>_0x3026dc[_0x37f126(0x24b)]===t[_0x37f126(0x45e)][_0x37f126(0x464)]);if(!_0x276e70)return;let {unitId:_0x3c5fa8,subUnitId:_0x503d15,drawingId:_0x28624e}=_0x276e70;_0x42e756['clipByShape'](_0x3c5fa8,_0x503d15,_0x28624e,_0xf38cab[_0x37f126(0x3cd)]),_0x4bc5e1(!0x1);},'excludeGroups':[_0x427588(0x336)]}),'children':(0x0,h['jsx'])(p['Button'],{'children':_0x4b148e['t'](_0x427588(0x2b4))})});}function ve(){const _0x5338c2=_0x1bf676;let _0x11fd8d=(0x0,l[_0x5338c2(0x214)])(t['ICommandService']);return(0x0,h['jsx'])(ge,{'onShapeClick':_0x7732fb=>{const _0x3d9a9c=_0x5338c2;_0x11fd8d[_0x3d9a9c(0x2e7)](V['id'],{'value':_0x7732fb[_0x3d9a9c(0x3cd)],'enhanceParams':{'endArrow':_0x7732fb[_0x3d9a9c(0x5af)],'startArrow':_0x7732fb['startArrow'],'horizontal':_0x7732fb[_0x3d9a9c(0x596)],'vertical':_0x7732fb[_0x3d9a9c(0x2b0)]}});}});}function ye(_0x1882b1){const _0xbcd469=_0x1bf676;let _0xc7697a=_0x1882b1[_0xbcd469(0x1f9)](t['IUniverInstanceService']);return{'id':V['id'],'type':l['MenuItemType'][_0xbcd469(0x615)],'selections':[{'label':{'name':he,'hoverable':!0x1,'selectable':!0x1,'props':{'id':V['id']}}}],'icon':_0xbcd469(0x309),'tooltip':_0xbcd469(0x53a),'activated$':(0x0,c['deriveStateFromActiveSheet$'])(_0xc7697a,!0x1,()=>new i[(_0xbcd469(0x5d1))](_0x5e76e0=>{_0x5e76e0['next'](!0x1);})),'hidden$':(0x0,l['getMenuHiddenObservable'])(_0x1882b1,t[_0xbcd469(0x683)][_0xbcd469(0x280)]),'disabled$':(0x0,c['getCurrentRangeDisable$'])(_0x1882b1)};}function _0x1d55(){const _0x92df31=['with','sheets-shape-ui.shape.type.bent-connector3','Dodecagon','ShapeActionButtonEndIcon','_reset','ShapeArrowSizeEnum','ActionButtonHome','ShapeTrapezoidIcon','SHAPE','ActionButtonEnd','_imageShapeClipController','8EVEoSr','_lastEditingShapeKey','sheets-shape-ui.shape.type.octagon','CUT','DocumentViewModel','_executeConnectedRouteConnectionCommand','shapeText','IUndoRedoService','GROUP','ShapeNotchedRightArrowIcon','changeStart$','ShapeStraightConnector2Icon','REMOVE','_handleConnectorPointerUp','refreshTransform','ShapePentagonIcon','ShapeWedgeRoundRectCalloutIcon','_currentConnectionTarget','ShapePlusIcon','subscribeContextValue$','BehaviorSubject','sheets-shape-ui.shape.type.round2-diag-rect','custom','ShapeActionButtonInformationIcon','ShapeCurvedConnector3Arrow1Icon','_registerMoveHandler','sheets-shape-ui.shape.type.heart','cxnPointRadius','BorderCallout2','BOTTOM','Corner','HorizontallyIcon','ShapeFunnelIcon','Arrow','AlignBottomIcon','_iconManager','ShapeFlowChartMagneticDrumIcon','editingParams$','ShapeMathNotEqualIcon','sheets-shape-ui.shape.type.irregular-seal1','_findNearestConnectionSite','sheets-shape-ui.insertShape','CurvedDownArrow','adjHandleSize','sheets-shape-ui.toggleTextVertical','_baseShapeTop','dispose','8HgEQPi','registerClipDelegate','gridType','ShapeRectTextboxVerticalIcon','ShapeDownArrowIcon','useMemo','RightArrowCallout','BUTTON_SELECTOR','sheets-shape-ui.config','ActionButtonBlank','_sheetsShapeService','_updateSrcRectByTransform','merge','SetShapeTextFontSizeDecreaseCommand','resize','LeftRightCircularArrow','RIGHT','_handleConnectedEndpointPointerUp','sheets-shape-ui.shape.type.left-arrow','IContextService','#FFFFFF','_baseShapeWidth','ActionButtonForwardNext','_handleConnectedEndpointMove','IconManager','sheets-shape-ui.shape.type.star12','_initEvents','_localeService','ShapeSnip2SameRectIcon','sheets-shape-ui.shape.type.plus','sheets-shape-ui.shape.type.can','_getConnectPointInfo','clip-','ShapeLeftUpArrowIcon','values','Chevron','getTransformerByCreate','OPERATION','ShapeStar12Icon','sheets-shape-ui.shape.type.flow-chart-collate','StripedRightArrow','_sidebarService','sheets-shape-ui.shape.type.curved-connector3-arrow2','ShapeActionButtonHelpIcon','getBasicShapeRotateBound','DoubleWave','reduce','sheets-shape-ui.shape.type.flow-chart-merge','gdRefX','_addShapeAdjustControl','sin','getOwnPropertyDescriptor','_loadShapePictureFill','_initSelection','RoundRect','transform','ShapeStraightConnector1Icon','clipByShape','ShapeModel','LightningBolt','sheets-shape-ui.shape.type.accent-border-callout2','changeShapeType','univer-flex\x20univer-aspect-square\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-p-1\x20univer-text-gray-700\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-700','slice','ImageSourceTypeEnum','ShapeActionButtonForwardNextIcon','registerFeatureMenuOffset','ShapeDocAlignCommand','_isStartConnectorPoint','CurvedConnector3','changeEnd$','sheets-shape-ui.shape.type.square-tabs','ShapeDiagStripeIcon','Inject','sheets-shape-ui.shape.type.flow-chart-multidocument','from','Callout2','createControl$','_adjHandlerPointerUp','ShapeFlowChartExtractIcon','ShapeTeardropIcon','FOCUSING_COMMON_DRAWINGS','_sheetDrawingShapeRenderController','sheets-shape-ui.shape.type.flow-chart-display','SetSheetsShapeRotateCommand','fonts$','horizontal','close','sheets-shape-ui.shape.type.snip-round-rect','Gear6','MathMultiply','subscribeEvent','ShapeCurvedConnector3Arrow2Icon','pushUndoRedo','save','sheets-shape-ui.deleteShape','asObservable','ActionButtonDocument','ISidebarService','sheet.command.set-shape-text-horizontal-align','LeftCircularArrow','TRUE','IDrawingManagerService','ShapeBorderCallout3Icon','ShapeAccentBorderCallout2Icon','sheets-shape-ui.shape.type.brace-pair','pipe','blockArrow','sheets-shape-ui.shape.type.corner-tabs','_draggingConnectorId','forEach','endArrow','LeftBracket','sheets-shape-ui.rotateRight90','PlaqueTabs','UniverSheetsShapePlugin','SheetsShapeUIController','Disposable','textStyle','floor','attachTransformerTo','_setTransForm','getConnectionSiteList','ShapeHeptagonIcon','sheets-shape-ui.shape.type.round1-rect','FlowchartMagneticDisk','image','clearControl$','_clearConnectionSites','WorksheetEditPermission','sheet.shape.floating-toolbar','ShapeChartXIcon','_draw','applyPoint','scene','_baseShapeHeight','sheets-shape-ui.shape.type.left-right-ribbon','_univerInstanceService','routeConnectorLineShape','ShapeDecagonIcon','ShapeMathMultiplyIcon','_getImageDrawingInfo','sheets-shape-ui.shape.type.round2-same-rect','SnipRoundRect','subUnitId','Observable','_adjName','getObjectIncludeInGroup','ShapeMoonIcon','DependentOn','shapeModel','addImageSourceCache','sheets-shape-ui.shape.type.funnel','NotchedRightArrow','_highlightedSiteIndex','sheets-shape-ui.shape.type.left-arrow-callout','#4285f4','stopPropagation','FlowchartOr','sheets-shape-ui.shape.type.curved-connector3-arrow1','_initialize','sheets-shape-ui.shape.type.vertical-scroll','computeConnectorResizeLayout','Frame','sheets-shape-ui.shape.type.flow-chart-magnetic-disk','_getOrCreateShapeModel','sheets-shape-ui.shape.type.wedge-round-rect-callout','width','SheetScrollManagerService','getCurrentSkeleton','CommandType','_clipService','_initCommands','rect','_clearControls','20746PVSsDb','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','sheets-shape-ui.shape.type.math-not-equal','ShapeBentArrowIcon','adjName','FlowchartAlternateProcess','Image','FlowchartManualOperation','ShapeRightArrowCalloutIcon','LeftRightRibbon','QuadArrowCallout','Snip2SameRect','version','HalfFrame','paragraphStyle','Cloud','sheet.operation.open-sheet-shape-format-panel','_initializedShapePopupMenu','_isShouldShowDrawingShapeAdjust','sheets-shape-ui.rotateLeft90','skeleton','_commandService','lineType','UpdateConnectorRelationCommand','ShapeFlowChartProcessIcon','setShapeProps','ShapeCloudIcon','ShapeTriangleIcon','1.0.0-insiders.20260629-12f2e44','Snip1Rect','_closeShapeEditPanel','_createShapeAdjustControls','@univerjs-pro/sheets-shape-ui','Teardrop','sheets-shape-ui.shape.type.bent-connector3-arrow1','fillImageSource','MathEqual','initShapePopupMenu','SELECTOR','_getShapeInfo','ShapeCurvedLeftArrowIcon','body','_init','UpDownArrow','_clearPopups','sheets-shape-ui.shape.type.flow-chart-punched-tape','Plus','SHEET_VIEWPORT_KEY','sheets-shape-ui.shape.type.star5','_baseLeft','setPrstGeom','sheet.command.shape-doc-align','ShapeUpArrowCalloutIcon','sheets-shape-ui.shape.type.flow-chart-magnetic-drum','ShapeCurvedUpArrowIcon','RemoveSheetsShapeMutation','_transformCalculateSrcRect','horizontalAlign','Star16','_shapeUpdateListener','createInternalEditorID','set','sheets-shape-ui.shape.type.folder-corner','sheets-shape-ui.shape.type.action-button-document','getFocusDrawings','onStarting','doc','ShapeLineInvIcon','ShapePlaqueTabsIcon','sheets-shape-ui.shape.type.donut','ShapeBlockArcIcon','Sun','sheetViewStartRow','ShapeChartStarIcon','BentArrow','SetShapeTextHorizontalAlignCommand','resetCursor','ICommandService','ShapePlaqueIcon','sheets-shape-ui.shape.type.no-smoking','sheets-shape-ui.shape.type.star8','getMatrix','sheets-shape-ui.shape.type.flow-chart-delay','_sheetPermissionCheckController','sheets-shape-ui.shape.type.flow-chart-online-storage','ActionButtonBeginning','sheets-shape-ui.shape.type.flow-chart-sort','rectangle','_baseTop','onCommandExecuted','add$','sheets-shape-ui.shape.type.irregular-seal2','_generateCopyPasteMutations','_registerComponents','sheets-shape-ui.shape.type.up-arrow','ShapeAccentCallout3Icon','_executeResizeCommand','ShapeMathDivideIcon','packageName','focusDrawing','getConnectionInfo','_baseShapeLeft','getShapeModel','_targetShapeId','sheets-shape-ui.shape.type.cloud','index','sheets-shape-ui.shape.type.action-button-information','ShapeHomePlateIcon','sheets-shape-ui.shape.type.triangle','_sheetInterceptorService','getObject','ShapeAccentBorderCallout1Icon','RibbonStartGroup','ShapeTextFloatMenuRenderControllerBase','ShapeNoSmokingIcon','getCurrentTypeOfUnit$','getAdjustInfoByName','makeDirty','VIEW_MAIN_TOP','LAYOUT','copyType','setContextValue','_shapeEditPanelVersion','ShapeFrameIcon','data','_addShapeConnectorHandlerObjects','ShapeLeftRightUpArrowIcon','sheets-shape-ui.shape.type.wedge-ellipse-callout','ShapeActionButtonBeginningIcon','ShapeTypeEnum','ShapeIrregularSeal2Icon','_getShapeAdjustPointListById','_drawingManagerService','FORMAT','Chord','gdRefR','_addShapeConnectorHandlerObject','ActionButtonInformation','Circle','sheet.shape.text.float-menu','ShapePieWedgeIcon','SheetSkeletonManagerService','ShapeMathPlusIcon','LocaleService','ShapeStar7Icon','sheets-shape-ui.shape.type.left-right-arrow-callout','SetShapeDrawingDataCommand','ShapeBevelIcon','UniverInstanceType','clip','_findShapeAtPoint','shape-adjust-point-','flowchart','UpArrow','_getScrollInfo','Ellipse','sheets-shape-ui.shape.type.right-arrow','image-clip-adjust-point-','_unitId','isConnectorShape','Parallelogram','UUID','ShapeActionButtonBackPreviousIcon','_isConnecting','setHighlighted','ShapeCircularArrowIcon','_cxtHandlerPointerMove','_renderManagerService','sheets-shape-ui.align.top','_drawShapeText','SheetCanvasPopManagerService','calculate','ShapeCallout1Icon','_isOpenedShapeEditPanel','ShapeLeftBraceIcon','localeService','ShapeSnip2DiagRectIcon','setEditing','AccentBorderCallout2','sheets-shape-ui.shape.type.flow-chart-internal-storage','sheets-shape-ui.shape.type.hexagon','pick','sheets-shape-ui.shape.type.action-button-sound','DEFAULT_PASTE','FlowchartExtract','sheets-shape-ui.align.middle','_isImagePointerDown','ShapeFlowChartConnectorIcon','_activeAdjustInfo','get','worldPoints','_isHighlighted','FlowchartPredefinedProcess','sheetTransform','updateContext','LeftArrow','ShapeLeftArrowIcon','AccentCallout3','sheets-shape-ui.shape.type.trapezoid','getDrawingEditable','RemoveSheetCommand','getDrawingShapeKeyByDrawingSearch','getDrawingSearch','updateShapeFillImage','sheets-shape-ui.shape.type.bracket-pair','DrawingImageClipService','_initCopyPaste','redo','getEditing','params','_transform','ShapeAccentCallout1Icon','_subUnitId','getBatchUpdateOp','ShapeBracePairIcon','spaceBelow','useDependency','fillType','callout','paragraphs','SolidLine','UniverSheetsDrawingUIPlugin','sheets-shape-ui.shape.type.border-callout3','sheets-shape-ui.shape.type.flow-chart-punched-card','parse','ShapeFloatingToolbar','onSteady','URL','FlowchartManualInput','getDrawingPoints','keys','ShapeRibbon2Icon','FlowchartPunchedTape','FlowChartOfflineStorage','_commandExecutedListener','complete','_shapes','sheets-shape-ui.shape.type.straight-connector2','Dropdown','render','sheets-shape-ui.shape.type.star10','sheets-shape-ui.shape.type.pie-wedge','ShapeFlowChartCollateIcon','_attachAdjustEvent','BorderCallout3','clearAdjustValue','SolidFill','sheets-shape-ui.shape.type.chart-star','sheets-shape-ui.shape.type.line-inv','rotation','onPointerMove$','sheets-shape-ui.shape.type.star6','snapToGrid','_moveConnectorWithShape','push','ShapeGear6Icon','sheets-shape-ui.shape.type.flow-chart-magnetic-tape','shapeType','Diamond','FlowchartCollate','sheet.shape.edit.panel','calcAdjValue','_context','clearAdjustControls','sheets-shape-ui.shape.type.swoosh-arrow','ShapeStar24Icon','ShapeFlowChartDecisionIcon','IUniverInstanceService','ShapeTextEditorContainer','AccentBorderCallout1','find','drawingType','update$','ShapeChordIcon','isLineShape','sheets-shape-ui.shape.type.action-button-beginning','sheet.operation.close-sheet-shape-format-panel','sheet.command.set-shape-text-vertical-align','6143564FgjANY','_rerouteConnectorLine','sheets-shape-ui.shape.type.accent-callout3','updateConnectionDetection','_updateAdjustControlPositions','sheets-shape-ui.shape.type.math-minus','call','HorizontalAlign','FlowchartConnector','getShapePopupMenus','univer-size-full','SetDrawingApplyMutation','FlowchartSummingJunction','label','DrawingApplyType','FlowchartMultiDocument','ShapeFlowChartManualInputIcon','activeAnObject','ShapeBorderCallout1Icon','sheets-shape-ui.shape.type.star32','ShapeActionButtonSoundIcon','sheets-shape-ui.toggleFlipV','_registerIcons','FlowchartPunchedCard','getSheetBySheetId','discreteRangeToRange','targetShapeId','beginPath','_onSavingEditorData$','ShapeSmileyFaceIcon','sheets-shape-ui.shape.type.curved-left-arrow','popup','sheets-shape-ui.shape.type.border-callout1','gdRefY','prstGeom','FlowchartDelay','UpdateSheetsShapeDataMutation','sheets-shape-ui.shape.type.border-callout2','FlowchartSort','_sidebarDisposable','lineShapeId','onReady','sheets-shape-ui.shape.type.star16','src','sheets-shape-ui.shape.type.snip2-diag-rect','ShapeFlowChartManualOperationIcon','UNIVER_SHEET','toStringTag','setFillImage','sheets-shape-ui.shape.type.curved-up-arrow','memo','ShapeStar5Icon','sheets-shape-ui.shape.type.flow-chart-alternate-process','Pie','SheetSkeletonService','filter','removeLinePoints','ShapeAccentCallout2Icon','SheetPermissionCheckController','_configService','ShapeFlowChartOnlineStorageIcon','abs','function','_calculateFreeEndpointAngle','Star24','ShapeLeftRightCircularArrowIcon','indexOf','setCursor','startX','FlowChartInputOutput','ShapeFlowChartOffpageConnectorIcon','ShapeBracketPairIcon','_updateImageAdjValues','ShapeMathEqualIcon','VerticalScroll','sheets-shape-ui.shape.type.flow-chart-connector','sheets-shape-ui.shape.type.straight-connector1','ShapeFlowChartMagneticTapeIcon','ShapeFlowChartDocumentIcon','CloudCallout','sheets-shape-ui.shape.type.round-rect','_createControls','Heart','sheets-shape-ui.shape.type.accent-border-callout3','_focusedDrawings','sheets-shape-ui.shape.type.arc','_registerDrawingFocusChangeHandler','_config','LeftRightArrowCallout','_addControl','_getDrawingRect','ShapeBentUpArrowIcon','Ribbon','ISheetDrawingService','vertical','COMMAND','_disposePopups','ComponentManager','sheets-shape-ui.imagePanel.crop.shape','RightBracket','_cxnIndex','sheets-shape-ui.shape.type.ribbon','sheets-shape-ui.shape.type.heptagon','isRichText','ShapeBorderCallout2Icon','value','isStartConnectorPoint','DownArrowCallout','remove$','BracePair','#bcbcbc','ShapeSnip1RectIcon','register','ShapeUpDownArrowIcon','MathDivide','PREDEFINED_HOOK_NAME','ShapeFlowChartMagneticDiskIcon','LeftRightUpArrow','ShapeDiamondIcon','lineSpacing','bind','has','_currentScene','length','Shape','sheets-shape-ui.shape.type.horizontal-scroll','VIEW_MAIN_LEFT','sheets-shape-ui.shape.type.left-brace','_sheetSkeletonService','cxnPointStroke','ChartX','worldRect','ShapeFlowChartTerminatorIcon','sheets-shape-ui.shape.type.double-wave','ShapeHexagonIcon','_urlImageService','getStartConnectInfo','RightJustifyingIcon','ShapeFlowChartAlternateProcessIcon','transformForAngle','cxnPointFill','_registerShapeMenu','oKey','translate','sheets-shape-ui.shape.type.ellipse-ribbon','getShapeData','drawWith','ShapeArrowTypeEnum','attachRangeWithCoord','executeCommand','sheets-shape-ui.shape.type.action-button-back-previous','_currentUniverService','objects','sheets-shape-ui.openPanel','cos','IrregularSeal1','ShapeLeftRightArrowCalloutIcon','getShapeDataById','2qrvPpr','computeStraightConnectorLayout','ShapeActionButtonBlankIcon','sheets-shape-ui.toolbar.fillColor.main','RightBrace','size','MIDDLE','ShapeLeftRightArrowIcon','Wave','DRAWING_SHAPE','sheets-shape-ui.shape.type.action-button-forward-next','activeSheet$','ShapeCubeIcon','transformByState','UNIVER_DOC','SquareTabs','getDrawingByParam','sheets-shape-ui.shape.type.smiley-face','_connectorObjects','_getZoomRatio','_popupMenuListener','left','ShapeFlowChartSortIcon','setShapeData','mergeMenu','ShapeIcon','stringify','ShapeBentConnector3Arrow1Icon','ShapeRightBraceIcon','ShapeCornerIcon','RemoveSheetDrawingCommand','sheets-shape-ui.shape.type.lightning-bolt','_handleFreeEndpointPointerUp','getBasicShapeRelation','getDrawingOKey','_getShapeAdjustInfosById','sheets-shape-ui.shape.type.flow-chart-input-output','Decagon','DrawingRenderService','BentUpArrow','_cxtHandlerPointerUp','onPointerDown$','generateRandomId','ShapeIrregularSeal1Icon','sheets-shape-ui.toolbar.horizontalAlignMode.main','verticalAlign','sheets-shape-ui.shape.type.cube','Plaque','ShapeHalfFrameIcon','sheets-shape-ui.shape.type.flow-chart-document','_activeShapeInfo','EllipseRibbon','sheets-shape-ui.toggleFlipH','sheets-shape-ui.shape.type.chart-plus','sheets-shape-ui.align.right','ConnectorCoordinateTransform','LeftJustifyingIcon','_registerDrawingMoveHandler','InsertSheetsShapeMutation','ShapeVerticalScrollIcon','Round2DiagRect','ActionButtonHelp','getViewportByCell','ShapeEllipseRibbon2Icon','Injector','ShapeStar4Icon','ShapeWedgeRectCalloutIcon','ShapeSquareTabsIcon','flipX','WedgeRectCallout','line','registerCommand','ShapeStar32Icon','IrregularSeal2','adjustValues','1650096OEeXkh','default','sheets-shape-ui.align.bottom','ShapeFlowChartPunchedTapeIcon','onload','sheets-shape-ui.shape.type.up-down-arrow-callout','Star6','DRAWING_DOM','name','LeftRightArrow','sheet.command.set-shape-text-font-size-increase','COLOR_PICKER_COMPONENT','PaintBucketDoubleIcon','getCurrentUnitInfo','getTransformer','getUnitId','ShapeFolderCornerIcon','sheets-shape-ui.shape.type.left-bracket','ShapeStripedRightArrowIcon','_isDrawingShapePointDown','CircularArrow','sheets-shape-ui.shape.type.left-right-circular-arrow','AccentCallout1','basicShape','prstGeomAdjValues','renderDrawingShape','preValue','ShapeFlowChartOrIcon','translateWithPrecision','dataStream','registerRenderModule','SheetsShapeService','_injector','ShapeChartPlusIcon','#111827','_shapeId','addClipboardHook','isEditing','setShouldShowAdjust','decorate','shapeData','RightArrow','undo','_handleFreeEndpointMove','CurvedUpArrow','MEDIA','ShapeLeftBracketIcon','sheets-shape-ui.shape.type.rect','div','useState','scale','sheets-shape-ui.shape.type.chord','ShapeFlowChartPreparationIcon','COPY_TYPE','_updateShapeAdjustControls','_createShapePopupMenu','WedgeRoundRectCallout','_clearShapeConnectorHandlerObjects','_connectionSiteObjects','sheets-shape-ui.shape.type.circular-arrow','Round2SameRect','Snip2DiagRect','sheets-shape-ui.shape.type.left-up-arrow','constructor','setAdjustValueByName','WorkbookEditablePermission','LineInv','documentStyle','isArray','Hexagon','Star10','ShapeEllipseIcon','_baseDrawingRect','ShapeSwooshArrowIcon','Module','getBatchRemoveOp','onTransformChange$','CurvedLeftArrow','ShapeHeartIcon','onPointerUp$','UPDATE','_drawSimpleText','disposeWithMe','START','_contextService','sheets-shape-ui.shape.type.right-brace','sheets-shape-ui.shape.type.flow-chart-preparation','FlowchartProcess','IConfigService','ShapeRoundRectIcon','addObject','_hasReset','sheets-shape-ui.shape.type.accent-callout1','sheets-shape-ui.shape.type.quad-arrow-callout','_isStartAdjusting','_adjHandlerPointerMove','some','getAllUnitsForType','onDblclick$','ShapeEllipseRibbonIcon','_initEditingParams','WRAP','ShapeRtTriangleIcon','sheets-shape-ui.shape.type.frame','getShapeTypeById','transformToDrawingPosition','sheets-shape-ui.hidePanel','_registerFocusChangeHandler','sheets-shape-ui.shape.type.block-arc','ShapeLeftCircularArrowIcon','composeMatrix','sheets-shape-ui.shape.type.curved-right-arrow','_baseWidth','PieWedge','_sheetCanvasPopManagerService','ShapeStar10Icon','sheets-shape-ui.shape.type.curved-down-arrow','drawing.operation.set-drawing-active','ShapeStar6Icon','getAdjustValueByName','INSERT','cxnIndex','ShapeRectIcon','PictureFill','sheets-shape-ui.shape.type.half-frame','_executeConnectionCommand','refreshAdjustControls','sheet.command.menu-insert-shape','sheets-shape-ui.shape.type.flow-chart-terminator','73029ytuXjf','VerticalAlign','_clearShapeAdjustControls','sheets-shape-ui.shape.type.accent-callout2','MathPlus','unitId','ShapeWaveIcon','_initMenu','MenuItemType','sheets-shape-ui.shape.type.flow-chart-or','_sheetShapeAdjustController','AccentCallout2','Cube','Moon','enableObjectsEvent','ShapeCanIcon','ShapeStar8Icon','type','sheets-shape-ui.shape.type.ribbon2','ShapeParallelogramIcon','strokeWidth','sheets-shape-ui.shape.type.pentagon','startWith','_getImagePrstGeom','WrapStrategy','sheets-shape-ui.shape.type.bent-arrow','_activeImageId','sheets-shape-ui.shape.type.callout1','SHEET_SHAPE_UI_PLUGIN','UpDownArrowCallout','_handleBasicShapeUpdateConnectorLineShape','getRealBound','BentConnector3','ShapeActionButtonHomeIcon','ShapeDonutIcon','_initSheetChange','AlignOperationCommand','sheets-shape-ui.shape.type.chevron','sheets-shape-ui.toolbar.verticalAlignMode.main','visible','_executeConnectedRouteResizeCommand','UniverSheetsShapeUIPlugin','sheets-shape-ui.shape.type.decagon','sheet.shape.picker.component','_copyInfo','ShapeFlowChartInputOutputIcon','getConnectorLinePoints','clip-adj-','_createCopyInfoByRange','ShapeSnipRoundRectIcon','sheets-shape-ui.shape.type.bent-connector3-arrow2','getBatchAddOp','_attachConnectorObjectEvent','ShapeStar16Icon','getEndConnectInfo','StraightConnector1','setCanUseShapeClip','_activeTargetShapeId','getZoomRatio','group','FlowchartDecision','_sheetBasicShapeConnectionPointController','jsx','sheets-shape-ui.permission.editErr','viewportScrollX','getParent','angle','srcRect','Rect','ShapeCallout2Icon','1158650bNXvuZ','ChartStar','ShapeCurvedRightArrowIcon','pluginName','jsxs','object','_drawingAddListener','ShapeLightningBoltIcon','ActionButtonBackPrevious','DRAWING_OBJECT_LAYER_INDEX','syncExecuteCommand','AlignTopIcon','ShapeFlowChartOfflineStorageIcon','sheets-shape-ui.shape.type.plaque-tabs','string','registerFeatureMenu','includes','RibbonPosition','InsertShapeCommand','VIEW_MAIN','textRuns','ShapeRightBracketIcon','getState','sheets-shape-ui.shape.type.notched-right-arrow','Tools','getSheetCommandTarget','ShapeLeftRightRibbonIcon','getSkeleton','ShapeActionButtonDocumentIcon','updateLinePoints','HorizontalScroll','unsubscribe','_registerImageShapeClipDelegate','sheets-shape-ui.shape.type.quad-arrow','getContextValue','getDrawingVisible','_showConnectionSites','sheets-shape-ui.shape.type.moon','Transform','_updateTransform','_registerGroupFeaturePasteHook','SheetDrawingAnchor','other','ShapeDefaultConfig','getAdjustNames','icon','ShapeActionButtonReturnIcon','sheets-shape-ui.align.left','DEFAULT','ToggleSheetsShapeFlipCommand','spaceAbove','buildClipPath','univer-max-h-[75vh]\x20univer-w-[320px]\x20univer-pb-2','getValue','sheets-shape-ui.shape.type.plaque','sheets-shape-ui.shape.type.action-button-help','sheets-shape-ui','startY','_generatePasteMutations','ShapeUpArrowIcon','Pentagon','classType','error','FlowchartTerminator','_registerOperations','interceptCommand','add','ShapeFillEnum','sheets-shape-ui.shape.type.flow-chart-offpage-connector','top','sheets-shape-ui.shape.type.star7','10918660oEuePm','SetInlineFormatTextBackgroundColorCommand','BooleanNumber','top-center','ShapeRound2SameRectIcon','_shapeTextEditingService','ShapeRectTextboxHorizontalIcon','SheetsSelectionsService','ShapeEditPanel','_activeAdjustPointList','_baseHeight','FromArray','sheets-shape-ui.shape.type.teardrop','FlowchartMagneticTape','shape-text-','ShapeCloudCalloutIcon','sheets-shape-ui.shape.type.math-multiply','sheets-shape-ui.shape.type.ellipse','disableObjectsEvent','drawingId','GridType','DrawingTypeEnum','offsetY','_generateCutPasteMutations','getDrawingData','CopySheetCommand','worldPoint','DRAWING_IMAGE','_activeShapeModel','RENDER_CLASS_TYPE','Medium','AccentBorderCallout3','sheets-shape-ui.shape.type.flow-chart-manual-operation','ShapeHorizontalScrollIcon','FOCUSING_SHAPE_TEXT_EDITOR','ShapeFlowChartInternalStorageIcon','fillImageSourceType','sheets-shape-ui.shape.type.flow-chart-extract','_drawingType','ShapeQuadArrowIcon','univer-grid\x20univer-grid-cols-10\x20univer-gap-1','isInGroup','FlowchartPreparation','isHighlighted','ShapeDoubleWaveIcon','117253WGsKRp','getSelectedObjectMap','dataModel','LEFT','ShapeRound2DiagRectIcon','sheets-shape-ui.toolbar.resetColor','sheets-shape-ui.shape.type.bevel','FlowchartInternalStorage','next','CURSOR_TYPE','sheets-shape-ui.shape.type.left-circular-arrow','ang','ShapeUturnArrowIcon','ShapeFlowChartMergeIcon','Documents','symbol','LeftUpArrow','ShapeRibbonIcon','_activeShapeId','sheets-shape-ui.shape.type.non-isosceles-trapezoid','clear','isHorizontal','DocumentSkeleton','ShapeBentConnector3Arrow2Icon','point','BracketPair','ShapeDownArrowCalloutIcon','sheets-shape-ui.shape.type.bent-up-arrow','relation','_sheetDrawingService','ShapeGear9Icon','ISheetClipboardService','Gear9','CurvedRightArrow','sheets-shape-ui.shape.type.math-equal','invert','getSkeletonParam','ShapeLineIcon','_resetState','sheets-shape-ui.shape.type.left-right-up-arrow','Heptagon','Triangle','_loadAndSetImage','setOnSavingEditorData','entries','sheets-shape-ui.shape.type.action-button-blank','getShapeTextRect','sheets-shape-ui.shape.type.up-arrow-callout','offsetX','buildShapeTextDataUpdate','5136jSSOfq','_props','_getSceneAndTransformerByDrawingSearch','sheets-shape-ui.shape.type.sun','sheets-shape-ui.shape.type.wedge-rect-callout','_sheetClipboardService','viewportScrollY','ShapeFlowChartPredefinedProcessIcon','EMPTY','_openShapeEditPanel','multiply','equationShape','IRenderManagerService','ShapeDodecagonIcon','sheets-shape-ui.shape.type.striped-right-arrow','useEffect','restore','shapeId','start','_editingParams$','None','sheets-shape-ui.shape.type.line','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','getRenderById','computeConnectorRouteLayout','TOP','toDisposable','sheets-shape-ui.shape.group.','9ofvXMS','Callout1','toPrimitive','getShapeType','focus$','connection-site-','ShapeTextFloatToolbar','ResetInlineFormatTextBackgroundColorCommand','SheetsDrawingGroupCopyPasteController','_drawRichText','Ribbon2','_insertShapes','ShapeChevronIcon','_imageIoService','changing$','Line','ShapeFlowChartPunchedCardIcon','defineProperty','ShapeFlowChartDisplayIcon','renderConfig','ShapeBentConnector3Icon','_activeShapeAdjustPointList','_componentManager','draw','ShapePieIcon','ShapeMathMinusIcon','ShapeLeftArrowCalloutIcon','_groupCopyPasteController','DocumentDataModel','sheets-shape-ui.shape.type.wave','getCurrentScrollState','_shapeService','IImageIoService','shapeKey','subscribe','univer-mb-2','ShapeCurvedDownArrowIcon','setSrcRect','_drawingRenderService','Star8','getBentTypeFromPoints','startConnectionDetection','CROSSHAIR','ShapeQuadArrowCalloutIcon','cxnPointStrokeWidth','sqrt','ShapeWedgeEllipseCalloutIcon','gdRefAng','height','flipY','ShapeFlowChartMultidocumentIcon','switchMap','ShapeCornerTabsIcon','registerFeaturePasteHook','ancestorTransform','getShapeTextData','map','Star5','FlowchartOffPageConnector','starAndBanner','sheets-shape-ui.shape.type.curved-connector3','ShapeUpDownArrowCalloutIcon','localToWorld','Plugin','getUnit','EllipseRibbon2'];_0x1d55=function(){return _0x92df31;};return _0x1d55();}const be={[l[_0x1bf676(0x413)][_0x1bf676(0x38e)]]:{[l[_0x1bf676(0x65f)][_0x1bf676(0x666)]]:{[A['id']]:{'order':3.5,'menuItemFactory':pe},[E['id']]:{'order':3.4,'menuItemFactory':de}},[l[_0x1bf676(0x65f)][_0x1bf676(0x674)]]:{[s[_0x1bf676(0x44a)]['id']]:{'order':0x1,'menuItemFactory':ce,[s[_0x1bf676(0x4cb)]['id']]:{'order':0x0,'menuItemFactory':le}}}},[l['RibbonInsertGroup'][_0x1bf676(0x368)]]:{[V['id']]:{'order':0x4,'menuItemFactory':ye}}};let U=class extends t[_0x1bf676(0x5b5)]{constructor(_0x2afbdd,_0x371124,_0x4f0f17,_0xc2f97e,_0x338162,_0x1c7cdc,_0x5540ba,_0xf1900a,_0x22c53b,_0x5c06c3,_0x3caa45){const _0x3bf275=_0x1bf676;super(),this['_univerInstanceService']=_0x2afbdd,this['_sidebarService']=_0x371124,this['_menuManagerService']=_0x4f0f17,this['_sheetsShapeService']=_0xc2f97e,this[_0x3bf275(0x55b)]=_0x338162,this[_0x3bf275(0x604)]=_0x1c7cdc,this['_drawingManagerService']=_0x5540ba,this[_0x3bf275(0x3ad)]=_0xf1900a,this[_0x3bf275(0x38f)]=_0x22c53b,this[_0x3bf275(0x1e3)]=_0x5c06c3,this['_shapeTextEditingService']=_0x3caa45,S(this,'_sidebarDisposable',null),S(this,_0x3bf275(0x322),null),S(this,'_isOpenedShapeEditPanel',!0x1),S(this,_0x3bf275(0x669),0x0),S(this,_0x3bf275(0x600),new Set()),S(this,_0x3bf275(0x2b2),[]),this[_0x3bf275(0x3c3)](),this[_0x3bf275(0x38d)](this['_univerInstanceService'][_0x3bf275(0x662)](t['UniverInstanceType'][_0x3bf275(0x280)])[_0x3bf275(0x4e6)](_0xb53eaa=>{const _0xe3e499=_0x3bf275;if(!_0xb53eaa){var _0x5e94a6;(_0x5e94a6=this[_0xe3e499(0x279)])==null||_0x5e94a6[_0xe3e499(0x53f)]();return;}this[_0xe3e499(0x372)](_0xb53eaa);})),this[_0x3bf275(0x442)](),this[_0x3bf275(0x2df)](),this[_0x3bf275(0x614)](),this['disposeWithMe'](this['_shapeTextEditingService']['editingParams$']['subscribe'](_0x50c6e3=>{_0x50c6e3&&this['_clearPopups']();}));}[_0x1bf676(0x3c3)](){const _0x276122=_0x1bf676;this['_menuManagerService'][_0x276122(0x308)](be);}['_registerShapeMenu'](){const _0x5978dc=_0x1bf676;this['_sheetCanvasPopManagerService'][_0x5978dc(0x411)](t[_0x5978dc(0x45e)][_0x5978dc(0x2f9)],this[_0x5978dc(0x25b)][_0x5978dc(0x2ca)](this)),this[_0x5978dc(0x3ad)][_0x5978dc(0x582)](t[_0x5978dc(0x45e)][_0x5978dc(0x2f9)],0x6,0x4);}[_0x1bf676(0x614)](){const _0x49df4c=_0x1bf676;this[_0x49df4c(0x5c9)][_0x49df4c(0x39c)](t[_0x49df4c(0x683)][_0x49df4c(0x280)])['forEach'](_0x12056b=>this[_0x49df4c(0x372)](_0x12056b));}[_0x1bf676(0x25b)](_0x5a7090,_0x1dba85,_0x6187da,_0xd8a751){const _0x1614ed=_0x1bf676;return[{'label':_0x1614ed(0x2eb),'index':0x0,'commandId':N['id'],'commandParams':{'unitId':_0x5a7090,'subUnitId':_0x1dba85,'drawingId':_0x6187da},'disable':_0xd8a751===t['DrawingTypeEnum'][_0x1614ed(0x342)]},{'label':_0x1614ed(0x59f),'index':0x1,'commandId':r[_0x1614ed(0x30e)]['id'],'commandParams':{'unitId':_0x5a7090,'drawings':[{'unitId':_0x5a7090,'subUnitId':_0x1dba85,'drawingId':_0x6187da,'drawingType':_0xd8a751}]},'disable':!0x1},{'label':_0x1614ed(0x3a5),'index':0x2,'commandId':M['id'],'commandParams':{'unitId':_0x5a7090,'subUnitId':_0x1dba85,'drawingId':_0x6187da},'disable':!0x1},{'label':_0x1614ed(0x324),'index':0x3,'commandId':e['ToggleSheetsShapeFlipCommand']['id'],'commandParams':{'unitId':_0x5a7090,'subUnitId':_0x1dba85,'shapeId':_0x6187da,'flipH':!0x0},'disable':!0x1},{'label':_0x1614ed(0x267),'index':0x4,'commandId':e[_0x1614ed(0x433)]['id'],'commandParams':{'unitId':_0x5a7090,'subUnitId':_0x1dba85,'shapeId':_0x6187da,'flipV':!0x0},'disable':!0x1},{'label':_0x1614ed(0x5b1),'index':0x4,'commandId':e['SetSheetsShapeRotateCommand']['id'],'commandParams':{'unitId':_0x5a7090,'subUnitId':_0x1dba85,'shapeId':_0x6187da,'rotate':0x5a},'disable':!0x1},{'label':_0x1614ed(0x602),'index':0x4,'commandId':e[_0x1614ed(0x594)]['id'],'commandParams':{'unitId':_0x5a7090,'subUnitId':_0x1dba85,'shapeId':_0x6187da,'rotate':-0x5a},'disable':!0x1},{'label':_0x1614ed(0x53d),'index':0x4,'commandId':e['SetSheetsShapeTextVerticalToggleCommand']['id'],'commandParams':{'unitId':_0x5a7090,'subUnitId':_0x1dba85,'shapeId':_0x6187da},'disable':!0x1}];}[_0x1bf676(0x616)](_0x3e545e,_0x303e0a,_0x2b4ac4){const _0x249a6b=_0x1bf676;let _0x50dbba=this['_sheetsShapeService'][_0x249a6b(0x3a3)](_0x3e545e,_0x303e0a,_0x2b4ac4),_0x20ec50=this[_0x249a6b(0x54a)][_0x249a6b(0x2ef)](_0x3e545e,_0x303e0a,_0x2b4ac4);return _0x50dbba!==void 0x0&&_0x20ec50!==void 0x0?{'shapeData':_0x20ec50,'shapeId':_0x2b4ac4,'shapeType':_0x50dbba,'unitId':_0x3e545e,'subUnitId':_0x303e0a,'version':this[_0x249a6b(0x669)],'disableShapeOption':!0x1}:null;}['_createShapePopupMenu'](_0x292185){const _0xec5b0c=_0x1bf676;if(!_0x292185)return;let _0x3eb4ca=_0x292185[_0xec5b0c(0x34a)]();this[_0xec5b0c(0x1e3)][_0xec5b0c(0x2cb)](_0x3eb4ca)&&!this[_0xec5b0c(0x600)][_0xec5b0c(0x2cb)](_0x3eb4ca)&&(this[_0xec5b0c(0x304)](_0x3eb4ca),this['_initializedShapePopupMenu'][_0xec5b0c(0x444)](_0x3eb4ca));}[_0x1bf676(0x61b)](){const _0x44a916=_0x1bf676;this[_0x44a916(0x2b2)]['forEach'](_0x3bd13e=>_0x3bd13e['dispose']()),this[_0x44a916(0x2b2)][_0x44a916(0x2cd)]=0x0;}[_0x1bf676(0x304)](_0x5aed1b){const _0x206a05=_0x1bf676;var _0x215876;let _0x372005=(_0x215876=this['_renderManagerService'][_0x206a05(0x4bf)](_0x5aed1b))==null?void 0x0:_0x215876[_0x206a05(0x5c6)],_0x430f83=_0x372005==null?void 0x0:_0x372005[_0x206a05(0x564)]();!_0x372005||!_0x430f83||(this[_0x206a05(0x38d)](_0x430f83[_0x206a05(0x58d)][_0x206a05(0x4e6)](()=>{const _0x418285=_0x206a05;let _0x3ba0d2=_0x430f83[_0x418285(0x477)]();if(this['_clearPopups'](),this[_0x418285(0x1e9)]||_0x3ba0d2[_0x418285(0x2f5)]>0x1)return;let _0xfcfd23=_0x3ba0d2[_0x418285(0x562)]()[_0x418285(0x47e)]()[_0x418285(0x2bb)];if(!_0xfcfd23)return;let _0x3790fc=this[_0x418285(0x673)][_0x418285(0x312)](_0xfcfd23[_0x418285(0x2e0)]);if(!_0x3790fc||_0x3790fc[_0x418285(0x24b)]!==t[_0x418285(0x45e)][_0x418285(0x2f9)])return;let {unitId:_0x2e7b7e,subUnitId:_0x598e6d,drawingId:_0x2e1a71,drawingType:_0x30fc16}=_0x3790fc,_0x4364e8=this[_0x418285(0x616)](_0x2e7b7e,_0x598e6d,_0x2e1a71);if(!_0x4364e8)return;this[_0x418285(0x38f)]['setContextValue'](t['FOCUSING_COMMON_DRAWINGS'],!0x0);let _0x238d44=this[_0x418285(0x3ad)]['attachPopupToObject'](_0xfcfd23,{'componentKey':ee,'direction':_0x418285(0x44c),'offset':[0x0,0x8],'extraProps':{'unitId':_0x2e7b7e,'subUnitId':_0x598e6d,'drawingId':_0x2e1a71,'drawingType':_0x30fc16,'shapeType':_0x4364e8[_0x418285(0x23d)],'shapeData':_0x4364e8[_0x418285(0x363)]}});this[_0x418285(0x2b2)]['push'](this[_0x418285(0x38d)](_0x238d44)),this['_drawingManagerService'][_0x418285(0x62f)]()[_0x418285(0x24a)](_0x2e9ebe=>_0x2e9ebe[_0x418285(0x3c1)]===_0x2e7b7e&&_0x2e9ebe[_0x418285(0x5d0)]===_0x598e6d&&_0x2e9ebe[_0x418285(0x45c)]===_0x2e1a71)||this[_0x418285(0x673)]['focusDrawing']([{'unitId':_0x2e7b7e,'subUnitId':_0x598e6d,'drawingId':_0x2e1a71}]);})),this[_0x206a05(0x38d)](_0x430f83[_0x206a05(0x5bf)][_0x206a05(0x4e6)](()=>{const _0x3cda60=_0x206a05;this[_0x3cda60(0x61b)](),this[_0x3cda60(0x38f)][_0x3cda60(0x668)](t[_0x3cda60(0x591)],!0x1),this[_0x3cda60(0x673)][_0x3cda60(0x652)](null);})),this[_0x206a05(0x38d)](_0x430f83[_0x206a05(0x4d2)]['subscribe'](()=>{const _0x4311fb=_0x206a05;this[_0x4311fb(0x61b)]();})),this['disposeWithMe'](_0x430f83[_0x206a05(0x51b)][_0x206a05(0x4e6)](()=>{const _0x278d85=_0x206a05;this[_0x278d85(0x61b)]();})));}[_0x1bf676(0x442)](){const _0x4c3d8d=_0x1bf676;this[_0x4c3d8d(0x38d)](this[_0x4c3d8d(0x604)]['onCommandExecuted'](_0x1bf584=>{const _0x376715=_0x4c3d8d;if(_0x1bf584['id']===N['id']){let {unitId:_0x413ece,subUnitId:_0x2ad7a3,drawingId:_0x2a1af5}=_0x1bf584[_0x376715(0x20d)];this['_shapeEditPanelVersion']+=0x1,this[_0x376715(0x322)]=this[_0x376715(0x616)](_0x413ece,_0x2ad7a3,_0x2a1af5),this[_0x376715(0x61b)](),this[_0x376715(0x4b1)]();}if(_0x1bf584['id']===M['id']&&(this[_0x376715(0x322)]=null,this['_closeShapeEditPanel']()),_0x1bf584['id']===e[_0x376715(0x276)]['id']){let {unitId:_0x43b56a,subUnitId:_0x2780c1,shapeId:_0x59f1be}=_0x1bf584['params'];if(this['_activeShapeInfo']&&this[_0x376715(0x322)][_0x376715(0x4b9)]===_0x59f1be){let _0x367093=this[_0x376715(0x616)](_0x43b56a,_0x2780c1,_0x59f1be);_0x367093&&(this[_0x376715(0x669)]+=0x1,_0x367093[_0x376715(0x5fb)]=this[_0x376715(0x669)],this[_0x376715(0x322)]=_0x367093,this[_0x376715(0x1e9)]&&this[_0x376715(0x4b1)]());}}})),this['disposeWithMe'](this[_0x4c3d8d(0x673)][_0x4c3d8d(0x4c8)][_0x4c3d8d(0x4e6)](_0x320694=>{const _0x238d51=_0x4c3d8d;if(this[_0x238d51(0x1e9)]===!0x1)return;if(_0x320694[_0x238d51(0x2cd)]===0x0){this[_0x238d51(0x322)]=null,this['_closeShapeEditPanel']();return;}if(_0x320694[_0x238d51(0x2cd)]===0x1&&_0x320694[0x0]['drawingType']===t[_0x238d51(0x45e)]['DRAWING_SHAPE']&&(this[_0x238d51(0x669)]+=0x1,this[_0x238d51(0x322)]=this[_0x238d51(0x616)](_0x320694[0x0][_0x238d51(0x3c1)],_0x320694[0x0][_0x238d51(0x5d0)],_0x320694[0x0][_0x238d51(0x45c)]),this[_0x238d51(0x322)])){this[_0x238d51(0x4b1)]();return;}let _0x3068dc=_0x320694['filter'](_0x24d099=>_0x24d099[_0x238d51(0x24b)]===t[_0x238d51(0x45e)][_0x238d51(0x2f9)]);if(_0x320694[_0x238d51(0x2cd)]>0x1&&_0x3068dc[_0x238d51(0x2cd)]===_0x320694[_0x238d51(0x2cd)]){if(this['_shapeEditPanelVersion']+=0x1,this['_activeShapeInfo']=this[_0x238d51(0x616)](_0x320694[0x0][_0x238d51(0x3c1)],_0x320694[0x0][_0x238d51(0x5d0)],_0x320694[0x0][_0x238d51(0x45c)]),this[_0x238d51(0x322)]){this[_0x238d51(0x4b1)]();return;}}else{if(this['_shapeEditPanelVersion']+=0x1,this[_0x238d51(0x322)]=this[_0x238d51(0x616)](_0x320694[0x0]['unitId'],_0x320694[0x0]['subUnitId'],_0x320694[0x0]['drawingId']),this[_0x238d51(0x322)]){this[_0x238d51(0x322)]['disableShapeOption']=!0x0,this[_0x238d51(0x4b1)]();return;}}this[_0x238d51(0x60d)]();}));}['_openShapeEditPanel'](){const _0x123703=_0x1bf676;this[_0x123703(0x322)]&&(this[_0x123703(0x279)]=this[_0x123703(0x569)]['open']({'id':P,'header':{'title':this[_0x123703(0x55b)]['t']('sheets-shape-ui.formatShape')},'width':0x184,'children':{'label':P,...this[_0x123703(0x322)]},'onClose':()=>{const _0x4df180=_0x123703;this[_0x4df180(0x673)][_0x4df180(0x652)](null),this[_0x4df180(0x38f)]['setContextValue'](t['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x4df180(0x279)]=null;}}),this[_0x123703(0x1e9)]=!0x0);}[_0x1bf676(0x60d)](){const _0x254c1b=_0x1bf676;this[_0x254c1b(0x1e9)]=!0x1,this[_0x254c1b(0x569)][_0x254c1b(0x597)](P),this['_sidebarDisposable']=null,this['_contextService']['setContextValue'](t[_0x254c1b(0x591)],!0x1),this['_drawingManagerService'][_0x254c1b(0x652)](null);}};U=R([L(0x0,t['IUniverInstanceService']),L(0x1,(0x0,t['Inject'])(l[_0x1bf676(0x5a2)])),L(0x2,l['IMenuManagerService']),L(0x3,(0x0,t[_0x1bf676(0x589)])(e['SheetsShapeService'])),L(0x4,(0x0,t[_0x1bf676(0x589)])(t[_0x1bf676(0x67e)])),L(0x5,t[_0x1bf676(0x63c)]),L(0x6,a[_0x1bf676(0x5a6)]),L(0x7,(0x0,t[_0x1bf676(0x589)])(c[_0x1bf676(0x1e6)])),L(0x8,t[_0x1bf676(0x553)]),L(0x9,o[_0x1bf676(0x4b4)]),L(0xa,(0x0,t[_0x1bf676(0x589)])(C))],U);var xe=_0x1bf676(0x60f),Se=_0x1bf676(0x60b);const Ce={};let W=class extends t[_0x1bf676(0x5b5)]{constructor(_0x17718e,_0x3c1412,_0x6d22b0,_0x2a0626,_0x236b88,_0x424cd4){const _0x48c0da=_0x1bf676;super(),this[_0x48c0da(0x604)]=_0x17718e,this[_0x48c0da(0x1e3)]=_0x3c1412,this[_0x48c0da(0x673)]=_0x6d22b0,this[_0x48c0da(0x2e9)]=_0x2a0626,this[_0x48c0da(0x4ea)]=_0x236b88,this[_0x48c0da(0x592)]=_0x424cd4,this[_0x48c0da(0x5e0)]();}[_0x1bf676(0x5e0)](){const _0x3d9229=_0x1bf676;this['_drawingAddListener'](),this[_0x3d9229(0x226)](),this[_0x3d9229(0x62a)]();}[_0x1bf676(0x408)](){const _0x36f77d=_0x1bf676;this['disposeWithMe'](this[_0x36f77d(0x673)][_0x36f77d(0x649)][_0x36f77d(0x4e6)](_0x1a3e4a=>{this['_insertShapes'](_0x1a3e4a);}));}[_0x1bf676(0x226)](){const _0x536739=_0x1bf676;this[_0x536739(0x38d)](this[_0x536739(0x604)][_0x536739(0x648)](_0x45f697=>{const _0x42e87b=_0x536739;if(_0x45f697['id']===e[_0x42e87b(0x32a)]['id']){var _0x967892;let {unitId:_0x2a69f8,subUnitId:_0x4ba855,shapeId:_0x2296c4}=_0x45f697[_0x42e87b(0x20d)],_0x31f360=this['_getSceneAndTransformerByDrawingSearch'](_0x2a69f8);if(_0x31f360==null)return;let {scene:_0x3e231f}=_0x31f360,_0x34df8c=(0x0,a['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x2a69f8,'subUnitId':_0x4ba855,'drawingId':_0x2296c4}),_0x92db8c=_0x3e231f['getObjectIncludeInGroup'](_0x34df8c);if(!((_0x967892=this[_0x42e87b(0x1e3)][_0x42e87b(0x4bf)](_0x2a69f8))!=null&&_0x967892[_0x42e87b(0x506)](c[_0x42e87b(0x67c)])[_0x42e87b(0x41d)](_0x4ba855)))return!0x1;if(_0x92db8c)return;this[_0x42e87b(0x4cf)]([{'unitId':_0x2a69f8,'subUnitId':_0x4ba855,'drawingId':_0x2296c4}]);}}));}['_shapeUpdateListener'](){const _0x879a23=_0x1bf676;this['disposeWithMe'](this['_drawingManagerService'][_0x879a23(0x24c)]['subscribe'](_0x900c4f=>{_0x900c4f['forEach'](_0xd2ac7b=>{const _0x4b9670=_0x33a1;let {unitId:_0xcdec65,subUnitId:_0x54d113,drawingId:_0x19a2a7}=_0xd2ac7b,_0x23db4b=this[_0x4b9670(0x673)][_0x4b9670(0x300)](_0xd2ac7b);if(_0x23db4b==null)return;let {transform:_0x10bcfe,drawingType:_0x3a5fd3,srcRect:_0x1dd5df,prstGeom:_0x48408c}=_0x23db4b;if(_0x3a5fd3!==t['DrawingTypeEnum'][_0x4b9670(0x2f9)])return;let _0x37c2c0=this[_0x4b9670(0x4aa)](_0xcdec65);if(_0x37c2c0==null)return;let {scene:_0x4b2b6c,transformer:_0x21ce64}=_0x37c2c0;if(_0x10bcfe==null)return!0x0;let _0x458cdc=(0x0,a[_0x4b9670(0x205)])({'unitId':_0xcdec65,'subUnitId':_0x54d113,'drawingId':_0x19a2a7}),_0x330c01=_0x4b2b6c[_0x4b9670(0x5d3)](_0x458cdc);if(_0x330c01==null)return!0x0;_0x330c01[_0x4b9670(0x4e9)](_0x1dd5df),_0x330c01['setPrstGeom'](_0x48408c);});}));}['updateShapeFillImage'](_0x5ba64d,_0x5ad9a9){const _0x4123ac=_0x1bf676;let {unitId:_0x4af8bd,subUnitId:_0x51fceb,drawingId:_0x516dad}=_0x5ba64d,_0x12c2f2=this[_0x4123ac(0x4aa)](_0x4af8bd);if(_0x12c2f2==null)return;let {scene:_0x34ef24}=_0x12c2f2,_0x52bbfc=(0x0,a[_0x4123ac(0x205)])({'unitId':_0x4af8bd,'subUnitId':_0x51fceb,'drawingId':_0x516dad}),_0x18cd91=_0x34ef24[_0x4123ac(0x5d3)](_0x52bbfc);_0x18cd91!=null&&_0x18cd91[_0x4123ac(0x282)](_0x5ad9a9);}[_0x1bf676(0x4cf)](_0x46f407){const _0x2348a7=_0x1bf676;_0x46f407[_0x2348a7(0x5ae)](async _0x2085c8=>{const _0x131da9=_0x2348a7;var _0x253871;let {unitId:_0x1b6fa7,subUnitId:_0x3bfc75}=_0x2085c8,_0x28d7fa=this['_getSceneAndTransformerByDrawingSearch'](_0x1b6fa7),_0x5ecb7a=(_0x253871=(0x0,d[_0x131da9(0x348)])(this[_0x131da9(0x2e9)],_0x1b6fa7))==null?void 0x0:_0x253871[_0x131da9(0x5d0)];if(_0x28d7fa==null||_0x5ecb7a!==_0x3bfc75)return;let _0x2c02aa=this[_0x131da9(0x673)]['getDrawingByParam'](_0x2085c8);if(_0x2c02aa!=null&&_0x2c02aa[_0x131da9(0x24b)]===t[_0x131da9(0x45e)]['DRAWING_SHAPE']){if((0x0,u['isConnectorShape'])((_0x2c02aa[_0x131da9(0x66b)]||{})[_0x131da9(0x23d)])){let _0x428aec=_0x2c02aa[_0x131da9(0x577)];_0x428aec&&(_0x2c02aa[_0x131da9(0x577)]={..._0x428aec,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this['_drawingManagerService'][_0x131da9(0x51f)]([_0x2c02aa]),this[_0x131da9(0x592)][_0x131da9(0x354)](_0x2c02aa,_0x28d7fa[_0x131da9(0x5c6)]);}});}[_0x1bf676(0x4aa)](_0xe28a82){const _0x4e4741=_0x1bf676;if(_0xe28a82==null)return;let _0x574a30=this[_0x4e4741(0x1e3)]['getRenderById'](_0xe28a82),_0x56ce26=_0x574a30==null?void 0x0:_0x574a30['scene'];return _0x56ce26==null?null:{'scene':_0x56ce26,'transformer':_0x56ce26[_0x4e4741(0x564)]()};}};W=R([L(0x0,t[_0x1bf676(0x63c)]),L(0x1,o[_0x1bf676(0x4b4)]),L(0x2,a[_0x1bf676(0x5a6)]),L(0x3,t['IUniverInstanceService']),L(0x4,(0x0,t[_0x1bf676(0x589)])(d[_0x1bf676(0x316)])),L(0x5,(0x0,t[_0x1bf676(0x589)])(z))],W);function we(){const _0x1e7970=_0x1bf676;let _0x447e01=(0x0,l['useDependency'])(a[_0x1e7970(0x5a6)]),[_0x285e89,_0x1c29f1]=(0x0,m[_0x1e7970(0x36c)])(_0x447e01['getFocusDrawings']());return(0x0,m[_0x1e7970(0x4b7)])(()=>{const _0x4adc12=_0x1e7970;let _0x4ccb29=_0x447e01[_0x4adc12(0x4c8)][_0x4adc12(0x4e6)](_0x2fe9b6=>{_0x1c29f1(_0x2fe9b6);});return()=>{_0x4ccb29['unsubscribe']();};},[]),_0x285e89[_0x1e7970(0x2cd)]===0x0?null:(0x0,h['jsx'])('div',{'children':(0x0,h[_0x1e7970(0x406)])(_0x1e7970(0x36b),{'className':'univer-box-border\x20univer-px-4\x20univer-text-sm','children':[(0x0,h[_0x1e7970(0x3fa)])(d['DrawingCommonPanel'],{'drawings':_0x285e89,'hasCropper':!0x1}),(0x0,h[_0x1e7970(0x3fa)])(g[_0x1e7970(0x42b)],{'drawings':_0x285e89})]})});}function Te(_0x28f493){const _0x11343a=_0x1bf676;let {unitId:_0x54cec7,subUnitId:_0x115e26,shapeId:_0x5143fc}=_0x28f493,_0x5ac77c=(0x0,l[_0x11343a(0x214)])(t[_0x11343a(0x63c)]),_0x31e398=(0x0,l[_0x11343a(0x214)])(W);return(0x0,h[_0x11343a(0x3fa)])(v[_0x11343a(0x451)],{..._0x28f493,'positionEditor':(0x0,h['jsx'])(we,{}),'onUpdateShapeData':(_0x3647f7,_0x52f820)=>{F(_0x5ac77c,_0x54cec7,_0x115e26,_0x5143fc,_0x3647f7,_0x52f820);},'onUpdateLineShapeData':(_0x15aaf9,_0x21247d)=>{ne(_0x5ac77c,_0x54cec7,_0x115e26,_0x5143fc,_0x15aaf9,_0x21247d);},'onUpdateShapeFillImage':_0x9c4dbd=>{const _0x4e1514=_0x11343a;_0x31e398[_0x4e1514(0x207)]({'unitId':_0x54cec7,'subUnitId':_0x115e26,'drawingId':_0x5143fc},_0x9c4dbd);}});}function Ee(_0x5efdf9){const _0x56af7b=_0x1bf676;let _0x56c9ac=_0x5efdf9[_0x56af7b(0x517)];return _0x56c9ac&&_0x56af7b(0x478)in _0x56c9ac&&_0x56c9ac[_0x56af7b(0x478)]?_0x56c9ac[_0x56af7b(0x478)]:null;}function De(_0x433add){const _0x1e0f6e=_0x1bf676;var _0x514b2d,_0x22a893,_0x1c9592,_0x5341ac;let _0x4902d6=(_0x514b2d=Ee(_0x433add))==null?void 0x0:_0x514b2d[_0x1e0f6e(0x631)],_0x15b120=(_0x22a893=_0x4902d6==null||(_0x1c9592=_0x4902d6[_0x1e0f6e(0x618)])==null||(_0x1c9592=_0x1c9592[_0x1e0f6e(0x416)])==null||(_0x1c9592=_0x1c9592[0x0])==null?void 0x0:_0x1c9592['ts'])==null?{}:_0x22a893;return{..._0x4902d6==null||(_0x5341ac=_0x4902d6[_0x1e0f6e(0x37e)])==null?void 0x0:_0x5341ac[_0x1e0f6e(0x5b6)],..._0x15b120};}function Oe(_0x12d3ba){const _0x9a6f8c=_0x1bf676;let _0x46b628=_0x12d3ba[_0x9a6f8c(0x271)]['extraProps'];return _0x46b628?(0x0,h[_0x9a6f8c(0x3fa)])(ke,{..._0x46b628}):null;}function ke(_0x575651){const _0x25256d=_0x1bf676;var _0x551500,_0x38caa1;let _0x32d023=(0x0,l[_0x25256d(0x214)])(t['ICommandService']),_0xcadf29=(0x0,l[_0x25256d(0x214)])(t[_0x25256d(0x67e)]),_0x1d6d56=(0x0,l[_0x25256d(0x214)])(e[_0x25256d(0x35a)]),_0x1f5ed3=(0x0,l['useDependency'])(l['IFontService']),{unitId:_0x4f4b60,subUnitId:_0x15908f,drawingId:_0x260150,drawingType:_0x1b2bf3,shapeType:_0x479b88}=_0x575651,[_0x44d59d,_0x40411f]=(0x0,m[_0x25256d(0x36c)])(_0x575651[_0x25256d(0x363)]),[_0x5c444a,_0x54234f]=(0x0,m[_0x25256d(0x36c)])(()=>_0x1f5ed3['getFonts']()),_0xbe597e=(0x0,m[_0x25256d(0x545)])(()=>De(_0x44d59d),[_0x44d59d]),_0x2d6756=(0x0,m['useMemo'])(()=>Ee(_0x44d59d),[_0x44d59d]);(0x0,m[_0x25256d(0x4b7)])(()=>{const _0x4c0d19=_0x25256d;let _0x1eeaa2=_0x32d023[_0x4c0d19(0x648)](_0x3650d4=>{const _0x5a5f3f=_0x4c0d19;if(_0x3650d4['id']!==e['UpdateSheetsShapeDataMutation']['id'])return;let _0x2e8232=_0x1d6d56[_0x5a5f3f(0x2ef)](_0x4f4b60,_0x15908f,_0x260150);_0x2e8232&&_0x40411f(_0x2e8232);});return()=>_0x1eeaa2[_0x4c0d19(0x53f)]();},[_0x32d023,_0x260150,_0x1d6d56,_0x15908f,_0x4f4b60]),(0x0,m[_0x25256d(0x4b7)])(()=>{const _0x4fbf15=_0x25256d;let _0x37c131=_0x1f5ed3[_0x4fbf15(0x595)]['subscribe'](_0x16e8b7=>{_0x54234f(_0x16e8b7);});return()=>_0x37c131['unsubscribe']();},[_0x1f5ed3]);let _0x5184b6=_0x3f07b9=>{_0x40411f(_0xb119e2=>({..._0xb119e2,..._0x3f07b9}));},_0x3ff5e7=_0x13147e=>{const _0x3ae4ee=_0x25256d;let _0x37546a=(0x0,v[_0x3ae4ee(0x4a7)])(_0x44d59d,_0x13147e);F(_0x32d023,_0x4f4b60,_0x15908f,_0x260150,{'oldShapeData':{'shapeText':_0x44d59d['shapeText']}},_0x37546a),_0x5184b6(_0x37546a);},_0x5be13b=_0x5c444a[_0x25256d(0x4fc)](_0x43d00d=>({'label':_0xcadf29['t'](_0x43d00d[_0x25256d(0x25f)]),'value':_0x43d00d['value']}));return(0x0,h[_0x25256d(0x3fa)])(v[_0x25256d(0x21d)],{'shapeData':_0x44d59d,'shapeType':_0x479b88,'textStyle':{'cl':{'rgb':_0x25256d(0x35d)},..._0xbe597e},'textModel':_0x2d6756?{'ha':(_0x551500=_0x2d6756['ha'])==null?t[_0x25256d(0x259)]['LEFT']:_0x551500,'va':(_0x38caa1=_0x2d6756['va'])==null?t['VerticalAlign']['TOP']:_0x38caa1}:null,'fontOptions':_0x5be13b,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'onUpdateShapeData':(_0x3b6b33,_0x4686f6)=>{F(_0x32d023,_0x4f4b60,_0x15908f,_0x260150,_0x3b6b33,_0x4686f6),_0x4686f6&&_0x5184b6(_0x4686f6);},'onUpdateText':_0x3ff5e7,'onOpenPanel':()=>{const _0x538d4c=_0x25256d;_0x32d023[_0x538d4c(0x2e7)](N['id'],{'unitId':_0x4f4b60,'subUnitId':_0x15908f,'drawingId':_0x260150});},'onDelete':()=>{const _0x2abb64=_0x25256d;_0x32d023[_0x2abb64(0x2e7)](r[_0x2abb64(0x30e)]['id'],{'unitId':_0x4f4b60,'drawings':[{'unitId':_0x4f4b60,'subUnitId':_0x15908f,'drawingId':_0x260150,'drawingType':_0x1b2bf3}]});}});}const Ae=(0x0,m[_0x1bf676(0x284)])(()=>{const _0x55ef5e=_0x1bf676;let _0x266cc8=(0x0,l[_0x55ef5e(0x214)])(C),_0x37d9ea=(0x0,l[_0x55ef5e(0x214)])(e[_0x55ef5e(0x35a)]),_0x21207b=(0x0,l[_0x55ef5e(0x214)])(a['IDrawingManagerService']),_0x5e40a6=(0x0,l[_0x55ef5e(0x214)])(t[_0x55ef5e(0x63c)]);return(0x0,h['jsx'])(v[_0x55ef5e(0x248)],{'adapter':(0x0,m[_0x55ef5e(0x545)])(()=>({'getShapeModel':(_0x128da9,_0x4147bd,_0xb8fb41)=>_0x37d9ea[_0x55ef5e(0x655)](_0x128da9,_0x4147bd,_0xb8fb41),'getDrawingTransform':(_0x105205,_0x1f7784,_0x1cbf98)=>{const _0x5af2fb=_0x55ef5e;let _0x35d521=_0x21207b[_0x5af2fb(0x300)]({'unitId':_0x105205,'subUnitId':_0x1f7784,'drawingId':_0x1cbf98});return _0x35d521==null?void 0x0:_0x35d521['transform'];},'updateShapeText':({unitId:_0x2e4967,subUnitId:_0x46287d,shapeId:_0x410f27,shapeText:_0x5462ac,oldShapeText:_0x39f529})=>{const _0x533812=_0x55ef5e;_0x5e40a6[_0x533812(0x2e7)](T['id'],{'unitId':_0x2e4967,'subUnitId':_0x46287d,'shapeId':_0x410f27,'shapeData':{'shapeText':_0x5462ac},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x39f529}}});}}),[_0x5e40a6,_0x21207b,_0x37d9ea]),'editingService':_0x266cc8,'editorUnitId':te,'positionOptions':(0x0,m['useMemo'])(()=>({'viewportKeys':{'main':o[_0x55ef5e(0x61e)][_0x55ef5e(0x415)],'leftTop':o[_0x55ef5e(0x61e)]['VIEW_MAIN_LEFT_TOP'],'top':o['SHEET_VIEWPORT_KEY'][_0x55ef5e(0x665)],'left':o[_0x55ef5e(0x61e)][_0x55ef5e(0x2d0)]},'getSkeleton':(_0x31b760,_0x101386)=>{const _0x4b945d=_0x55ef5e;var _0x44d1f0,_0x320080;return(_0x44d1f0=(_0x320080=_0x31b760[_0x4b945d(0x506)](c['SheetSkeletonManagerService'])[_0x4b945d(0x49a)](_0x101386[_0x4b945d(0x5d0)]))==null?void 0x0:_0x320080[_0x4b945d(0x603)])==null?null:_0x44d1f0;}}),[]),'verticalAlignCommandId':A['id']});});let G=class extends t[_0x1bf676(0x5b5)]{constructor(_0x1c060a,_0x5e2161){const _0x39a9ba=_0x1bf676;super(),this[_0x39a9ba(0x4da)]=_0x1c060a,this[_0x39a9ba(0x534)]=_0x5e2161,this[_0x39a9ba(0x268)](),this[_0x39a9ba(0x64c)]();}['_registerIcons'](){const _0x2e3da7=_0x1bf676;this['disposeWithMe'](this['_iconManager'][_0x2e3da7(0x2c2)]({'ShapeAccentBorderCallout1Icon':_[_0x2e3da7(0x65e)],'ShapeAccentBorderCallout2Icon':_[_0x2e3da7(0x5a8)],'ShapeAccentBorderCallout3Icon':_['ShapeAccentBorderCallout3Icon'],'ShapeAccentCallout1Icon':_['ShapeAccentCallout1Icon'],'ShapeAccentCallout2Icon':_[_0x2e3da7(0x28b)],'ShapeAccentCallout3Icon':_[_0x2e3da7(0x64e)],'ShapeActionButtonBackPreviousIcon':_['ShapeActionButtonBackPreviousIcon'],'ShapeActionButtonBeginningIcon':_[_0x2e3da7(0x66f)],'ShapeActionButtonBlankIcon':_[_0x2e3da7(0x2f2)],'ShapeActionButtonDocumentIcon':_[_0x2e3da7(0x41e)],'ShapeActionButtonEndIcon':_[_0x2e3da7(0x509)],'ShapeActionButtonForwardNextIcon':_[_0x2e3da7(0x581)],'ShapeActionButtonHelpIcon':_[_0x2e3da7(0x56b)],'ShapeActionButtonHomeIcon':_[_0x2e3da7(0x3dd)],'ShapeActionButtonInformationIcon':_['ShapeActionButtonInformationIcon'],'ShapeActionButtonMovieIcon':_['ShapeActionButtonMovieIcon'],'ShapeActionButtonReturnIcon':_[_0x2e3da7(0x430)],'ShapeActionButtonSoundIcon':_['ShapeActionButtonSoundIcon'],'ShapeArcIcon':_['ShapeArcIcon'],'ShapeBentArrowIcon':_[_0x2e3da7(0x5f2)],'ShapeBentConnector3Arrow1Icon':_[_0x2e3da7(0x30b)],'ShapeBentConnector3Arrow2Icon':_[_0x2e3da7(0x48d)],'ShapeBentConnector3Icon':_[_0x2e3da7(0x4d8)],'ShapeBentUpArrowIcon':_[_0x2e3da7(0x2ad)],'ShapeBevelIcon':_['ShapeBevelIcon'],'ShapeBlockArcIcon':_[_0x2e3da7(0x635)],'ShapeBorderCallout1Icon':_[_0x2e3da7(0x264)],'ShapeBorderCallout2Icon':_['ShapeBorderCallout2Icon'],'ShapeBorderCallout3Icon':_[_0x2e3da7(0x5a7)],'ShapeBracePairIcon':_[_0x2e3da7(0x212)],'ShapeBracketPairIcon':_[_0x2e3da7(0x299)],'ShapeCallout1Icon':_[_0x2e3da7(0x1e8)],'ShapeCallout2Icon':_['ShapeCallout2Icon'],'ShapeCallout3Icon':_['ShapeCallout3Icon'],'ShapeCanIcon':_['ShapeCanIcon'],'ShapeChartPlusIcon':_[_0x2e3da7(0x35c)],'ShapeChartStarIcon':_[_0x2e3da7(0x638)],'ShapeChartXIcon':_[_0x2e3da7(0x5c3)],'ShapeChevronIcon':_[_0x2e3da7(0x4d0)],'ShapeChordIcon':_[_0x2e3da7(0x24d)],'ShapeCircularArrowIcon':_['ShapeCircularArrowIcon'],'ShapeCloudCalloutIcon':_[_0x2e3da7(0x458)],'ShapeCloudIcon':_[_0x2e3da7(0x609)],'ShapeCornerIcon':_[_0x2e3da7(0x30d)],'ShapeCornerTabsIcon':_[_0x2e3da7(0x4f8)],'ShapeCubeIcon':_[_0x2e3da7(0x2fc)],'ShapeCurvedConnector3Arrow1Icon':_['ShapeCurvedConnector3Arrow1Icon'],'ShapeCurvedConnector3Arrow2Icon':_['ShapeCurvedConnector3Arrow2Icon'],'ShapeCurvedConnector3Icon':_['ShapeCurvedConnector3Icon'],'ShapeCurvedDownArrowIcon':_[_0x2e3da7(0x4e8)],'ShapeCurvedLeftArrowIcon':_['ShapeCurvedLeftArrowIcon'],'ShapeCurvedRightArrowIcon':_['ShapeCurvedRightArrowIcon'],'ShapeCurvedUpArrowIcon':_[_0x2e3da7(0x625)],'ShapeDecagonIcon':_[_0x2e3da7(0x5cb)],'ShapeDiagStripeIcon':_[_0x2e3da7(0x588)],'ShapeDiamondIcon':_[_0x2e3da7(0x2c8)],'ShapeDodecagonIcon':_[_0x2e3da7(0x4b5)],'ShapeDonutIcon':_[_0x2e3da7(0x3de)],'ShapeDoubleWaveIcon':_[_0x2e3da7(0x475)],'ShapeDownArrowCalloutIcon':_['ShapeDownArrowCalloutIcon'],'ShapeDownArrowIcon':_[_0x2e3da7(0x544)],'ShapeEllipseIcon':_[_0x2e3da7(0x382)],'ShapeEllipseRibbon2Icon':_[_0x2e3da7(0x32f)],'ShapeEllipseRibbonIcon':_[_0x2e3da7(0x39e)],'ShapeFlowChartAlternateProcessIcon':_[_0x2e3da7(0x2dc)],'ShapeFlowChartCollateIcon':_[_0x2e3da7(0x22e)],'ShapeFlowChartConnectorIcon':_['ShapeFlowChartConnectorIcon'],'ShapeFlowChartDecisionIcon':_[_0x2e3da7(0x246)],'ShapeFlowChartDelayIcon':_['ShapeFlowChartDelayIcon'],'ShapeFlowChartDisplayIcon':_[_0x2e3da7(0x4d6)],'ShapeFlowChartDocumentIcon':_[_0x2e3da7(0x2a0)],'ShapeFlowChartExtractIcon':_[_0x2e3da7(0x58f)],'ShapeFlowChartInputOutputIcon':_[_0x2e3da7(0x3e9)],'ShapeFlowChartInternalStorageIcon':_[_0x2e3da7(0x46c)],'ShapeFlowChartMagneticDiskIcon':_[_0x2e3da7(0x2c6)],'ShapeFlowChartMagneticDrumIcon':_[_0x2e3da7(0x535)],'ShapeFlowChartMagneticTapeIcon':_[_0x2e3da7(0x29f)],'ShapeFlowChartManualInputIcon':_[_0x2e3da7(0x262)],'ShapeFlowChartManualOperationIcon':_['ShapeFlowChartManualOperationIcon'],'ShapeFlowChartMergeIcon':_['ShapeFlowChartMergeIcon'],'ShapeFlowChartMultidocumentIcon':_[_0x2e3da7(0x4f6)],'ShapeFlowChartOfflineStorageIcon':_[_0x2e3da7(0x40e)],'ShapeFlowChartOffpageConnectorIcon':_[_0x2e3da7(0x298)],'ShapeFlowChartOnlineStorageIcon':_[_0x2e3da7(0x28e)],'ShapeFlowChartOrIcon':_[_0x2e3da7(0x356)],'ShapeFlowChartPredefinedProcessIcon':_['ShapeFlowChartPredefinedProcessIcon'],'ShapeFlowChartPreparationIcon':_[_0x2e3da7(0x36f)],'ShapeFlowChartProcessIcon':_['ShapeFlowChartProcessIcon'],'ShapeFlowChartPunchedCardIcon':_[_0x2e3da7(0x4d4)],'ShapeFlowChartPunchedTapeIcon':_[_0x2e3da7(0x33e)],'ShapeFlowChartSortIcon':_[_0x2e3da7(0x306)],'ShapeFlowChartSummingJunctionIcon':_['ShapeFlowChartSummingJunctionIcon'],'ShapeFlowChartTerminatorIcon':_[_0x2e3da7(0x2d6)],'ShapeFolderCornerIcon':_['ShapeFolderCornerIcon'],'ShapeFrameIcon':_[_0x2e3da7(0x66a)],'ShapeFunnelIcon':_[_0x2e3da7(0x531)],'ShapeGear6Icon':_[_0x2e3da7(0x23b)],'ShapeGear9Icon':_[_0x2e3da7(0x494)],'ShapeHalfFrameIcon':_[_0x2e3da7(0x320)],'ShapeHeartIcon':_[_0x2e3da7(0x389)],'ShapeHeptagonIcon':_[_0x2e3da7(0x5bb)],'ShapeHexagonIcon':_['ShapeHexagonIcon'],'ShapeHomePlateIcon':_[_0x2e3da7(0x65a)],'ShapeHorizontalScrollIcon':_[_0x2e3da7(0x46a)],'ShapeIrregularSeal1Icon':_[_0x2e3da7(0x31b)],'ShapeIrregularSeal2Icon':_[_0x2e3da7(0x671)],'ShapeLeftArrowCalloutIcon':_[_0x2e3da7(0x4de)],'ShapeLeftArrowIcon':_[_0x2e3da7(0x200)],'ShapeLeftBraceIcon':_[_0x2e3da7(0x1ea)],'ShapeLeftBracketIcon':_['ShapeLeftBracketIcon'],'ShapeLeftCircularArrowIcon':_[_0x2e3da7(0x3a8)],'ShapeLeftRightArrowCalloutIcon':_[_0x2e3da7(0x2ee)],'ShapeLeftRightArrowIcon':_[_0x2e3da7(0x2f7)],'ShapeLeftRightCircularArrowIcon':_[_0x2e3da7(0x293)],'ShapeLeftRightRibbonIcon':_['ShapeLeftRightRibbonIcon'],'ShapeLeftRightUpArrowIcon':_['ShapeLeftRightUpArrowIcon'],'ShapeLeftUpArrowIcon':_[_0x2e3da7(0x561)],'ShapeLightningBoltIcon':_[_0x2e3da7(0x409)],'ShapeLineIcon':_['ShapeLineIcon'],'ShapeLineInvIcon':_[_0x2e3da7(0x632)],'ShapeMathDivideIcon':_[_0x2e3da7(0x650)],'ShapeMathEqualIcon':_[_0x2e3da7(0x29b)],'ShapeMathMinusIcon':_['ShapeMathMinusIcon'],'ShapeMathMultiplyIcon':_[_0x2e3da7(0x5cc)],'ShapeMathNotEqualIcon':_[_0x2e3da7(0x537)],'ShapeMathPlusIcon':_[_0x2e3da7(0x67d)],'ShapeMoonIcon':_[_0x2e3da7(0x5d4)],'ShapeNoSmokingIcon':_[_0x2e3da7(0x661)],'ShapeNonIsoscelesTrapezoidIcon':_['ShapeNonIsoscelesTrapezoidIcon'],'ShapeNotchedRightArrowIcon':_[_0x2e3da7(0x51a)],'ShapeOctagonIcon':_['ShapeOctagonIcon'],'ShapeParallelogramIcon':_[_0x2e3da7(0x3cf)],'ShapePentagonIcon':_[_0x2e3da7(0x520)],'ShapePieIcon':_[_0x2e3da7(0x4dc)],'ShapePieWedgeIcon':_[_0x2e3da7(0x67b)],'ShapePlaqueIcon':_[_0x2e3da7(0x63d)],'ShapePlaqueTabsIcon':_[_0x2e3da7(0x633)],'ShapePlusIcon':_[_0x2e3da7(0x523)],'ShapeQuadArrowCalloutIcon':_[_0x2e3da7(0x4ef)],'ShapeQuadArrowIcon':_[_0x2e3da7(0x470)],'ShapeRectIcon':_[_0x2e3da7(0x3b5)],'ShapeRectTextboxHorizontalIcon':_[_0x2e3da7(0x44f)],'ShapeRectTextboxVerticalIcon':_['ShapeRectTextboxVerticalIcon'],'ShapeRibbon2Icon':_[_0x2e3da7(0x223)],'ShapeRibbonIcon':_[_0x2e3da7(0x487)],'ShapeRightArrowCalloutIcon':_[_0x2e3da7(0x5f7)],'ShapeRightArrowIcon':_['ShapeRightArrowIcon'],'ShapeRightBraceIcon':_[_0x2e3da7(0x30c)],'ShapeRightBracketIcon':_[_0x2e3da7(0x417)],'ShapeRound1RectIcon':_['ShapeRound1RectIcon'],'ShapeRound2DiagRectIcon':_['ShapeRound2DiagRectIcon'],'ShapeRound2SameRectIcon':_[_0x2e3da7(0x44d)],'ShapeRoundRectIcon':_['ShapeRoundRectIcon'],'ShapeRtTriangleIcon':_[_0x2e3da7(0x3a1)],'ShapeSmileyFaceIcon':_[_0x2e3da7(0x26f)],'ShapeSnip1RectIcon':_[_0x2e3da7(0x2c1)],'ShapeSnip2DiagRectIcon':_[_0x2e3da7(0x1ec)],'ShapeSnip2SameRectIcon':_[_0x2e3da7(0x55c)],'ShapeSnipRoundRectIcon':_[_0x2e3da7(0x3ed)],'ShapeSquareTabsIcon':_[_0x2e3da7(0x333)],'ShapeStar10Icon':_[_0x2e3da7(0x3ae)],'ShapeStar12Icon':_['ShapeStar12Icon'],'ShapeStar16Icon':_[_0x2e3da7(0x3f1)],'ShapeStar24Icon':_[_0x2e3da7(0x245)],'ShapeStar32Icon':_['ShapeStar32Icon'],'ShapeStar4Icon':_[_0x2e3da7(0x331)],'ShapeStar5Icon':_[_0x2e3da7(0x285)],'ShapeStar6Icon':_[_0x2e3da7(0x3b1)],'ShapeStar7Icon':_[_0x2e3da7(0x67f)],'ShapeStar8Icon':_[_0x2e3da7(0x3cc)],'ShapeStraightConnector1Icon':_[_0x2e3da7(0x578)],'ShapeStraightConnector2Icon':_[_0x2e3da7(0x51c)],'ShapeStripedRightArrowIcon':_[_0x2e3da7(0x34d)],'ShapeSunIcon':_['ShapeSunIcon'],'ShapeSwooshArrowIcon':_[_0x2e3da7(0x384)],'ShapeTeardropIcon':_['ShapeTeardropIcon'],'ShapeTrapezoidIcon':_[_0x2e3da7(0x50d)],'ShapeTriangleIcon':_[_0x2e3da7(0x60a)],'ShapeUpArrowCalloutIcon':_[_0x2e3da7(0x623)],'ShapeUpArrowIcon':_[_0x2e3da7(0x43d)],'ShapeUpDownArrowCalloutIcon':_[_0x2e3da7(0x501)],'ShapeUpDownArrowIcon':_[_0x2e3da7(0x2c3)],'ShapeUturnArrowIcon':_[_0x2e3da7(0x482)],'ShapeVerticalScrollIcon':_[_0x2e3da7(0x32b)],'ShapeWaveIcon':_['ShapeWaveIcon'],'ShapeWedgeEllipseCalloutIcon':_[_0x2e3da7(0x4f2)],'ShapeWedgeRectCalloutIcon':_['ShapeWedgeRectCalloutIcon'],'ShapeWedgeRoundRectCalloutIcon':_['ShapeWedgeRoundRectCalloutIcon']}));}[_0x1bf676(0x64c)](){const _0x5107cd=_0x1bf676;this['disposeWithMe'](this['_componentManager'][_0x5107cd(0x2c2)](P,Te)),this[_0x5107cd(0x38d)](this['_componentManager']['register'](he,ve)),this[_0x5107cd(0x38d)](this['_componentManager']['register'](d['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'],_e)),this['disposeWithMe'](this[_0x5107cd(0x4da)][_0x5107cd(0x2c2)](ee,Oe)),this['disposeWithMe'](this[_0x5107cd(0x4da)][_0x5107cd(0x2c2)](_0x5107cd(0x248),Ae));}};G=R([L(0x0,(0x0,t[_0x1bf676(0x589)])(l[_0x1bf676(0x2b3)])),L(0x1,(0x0,t[_0x1bf676(0x589)])(l[_0x1bf676(0x558)]))],G);let K=class extends t['Disposable']{constructor(_0x17028d,_0x573fbe,_0x45b58b,_0xe111a,_0x405621){const _0x2160a4=_0x1bf676;super(),this[_0x2160a4(0x242)]=_0x17028d,this[_0x2160a4(0x673)]=_0x573fbe,this[_0x2160a4(0x1e3)]=_0x45b58b,this[_0x2160a4(0x5c9)]=_0xe111a,this[_0x2160a4(0x510)]=_0x405621,S(this,'_activeImageId',null),S(this,'_unitId',null),S(this,_0x2160a4(0x210),null),S(this,_0x2160a4(0x452),void 0x0),S(this,_0x2160a4(0x228),[]),S(this,_0x2160a4(0x620),0x0),S(this,_0x2160a4(0x647),0x0),S(this,_0x2160a4(0x3ab),0x0),S(this,_0x2160a4(0x453),0x0),S(this,_0x2160a4(0x399),!0x1),S(this,_0x2160a4(0x1f8),void 0x0),S(this,_0x2160a4(0x465),void 0x0),S(this,'_adjHandlerPointerMove',void 0x0),S(this,_0x2160a4(0x58e),void 0x0),S(this,_0x2160a4(0x1f6),!0x1),this[_0x2160a4(0x3a6)](),this[_0x2160a4(0x52a)]();}['clearAdjustControls'](){const _0x4edf12=_0x1bf676;this[_0x4edf12(0x5ee)]();}[_0x1bf676(0x3b9)](){const _0x30dc95=_0x1bf676;this['_clearControls'](),this[_0x30dc95(0x2a3)](!0x0);}[_0x1bf676(0x5e5)](_0x132917,_0x16e628,_0x27640d,_0x57406f){const _0x1535a5=_0x1bf676;let _0xb2aa55=_0x132917;if(!(_0xb2aa55===u[_0x1535a5(0x670)][_0x1535a5(0x4bc)]||_0x132917===_0x1535a5(0x527)))try{let _0x13f0f3=new u['ShapeModel'](_0xb2aa55,_0x1535a5(0x3eb)+_0x132917);return _0x57406f&&_0x13f0f3[_0x1535a5(0x307)]({'adjustValues':_0x57406f},!0x0),_0x13f0f3['updateContext']({'width':_0x16e628,'height':_0x27640d}),_0x13f0f3;}catch{return;}}[_0x1bf676(0x5cd)](_0x56c446,_0x44128e,_0x10c2ec){const _0x58ffd1=_0x1bf676;let _0x56e803={'unitId':_0x56c446,'subUnitId':_0x44128e,'drawingId':_0x10c2ec},_0x4d1116=this[_0x58ffd1(0x673)][_0x58ffd1(0x300)](_0x56e803);if(!(!_0x4d1116||_0x4d1116['drawingType']!==t[_0x58ffd1(0x45e)][_0x58ffd1(0x464)]))return _0x4d1116;}[_0x1bf676(0x3d3)](_0x2ac2c3,_0x326476,_0x311560){const _0x509f0e=_0x1bf676;let _0x58a96d=this['_renderManagerService'][_0x509f0e(0x4bf)](_0x2ac2c3);if(!_0x58a96d)return;let {scene:_0x2cce84}=_0x58a96d,_0x443332=(0x0,a[_0x509f0e(0x205)])({'unitId':_0x2ac2c3,'subUnitId':_0x326476,'drawingId':_0x311560}),_0x4cfcc8=_0x2cce84['getObject'](_0x443332);if(_0x4cfcc8 instanceof o[_0x509f0e(0x5f5)]){let _0x209bb0=_0x4cfcc8[_0x509f0e(0x274)];if(_0x209bb0)return{'prstGeom':_0x209bb0,'adjustValues':_0x4cfcc8[_0x509f0e(0x353)]};}}['_createControls'](_0x3b591f=!0x1){const _0x16a2c3=_0x1bf676;if(!this[_0x16a2c3(0x1da)]||!this[_0x16a2c3(0x210)]||!this[_0x16a2c3(0x3d6)])return;let _0x3cb317=this[_0x16a2c3(0x1e3)][_0x16a2c3(0x4bf)](this[_0x16a2c3(0x1da)]);if(!_0x3cb317||!_0x3cb317[_0x16a2c3(0x506)](c['SheetSkeletonManagerService'])[_0x16a2c3(0x5e9)]())return;let {scene:_0x1fbc9e}=_0x3cb317,_0x16cafe=this[_0x16a2c3(0x5cd)](this[_0x16a2c3(0x1da)],this[_0x16a2c3(0x210)],this['_activeImageId']);if(!_0x16cafe)return;let {transform:_0x59b8bc}=_0x16cafe;if(!_0x59b8bc)return;let {left:_0x48fced,top:_0x394082,width:_0x1c47fc,height:_0x5bc148,flipX:_0x390164,flipY:_0xdcb1d7,angle:_0x3d831e=0x0}=_0x59b8bc;if(_0x48fced===void 0x0||_0x394082===void 0x0)return;let _0x103a35=this['_getImagePrstGeom'](this[_0x16a2c3(0x1da)],this[_0x16a2c3(0x210)],this[_0x16a2c3(0x3d6)]);if(!_0x103a35)return;if(_0x3b591f){let _0xcf08e6=this[_0x16a2c3(0x5e5)](_0x103a35[_0x16a2c3(0x274)],_0x1c47fc||0x0,_0x5bc148||0x0,_0x103a35[_0x16a2c3(0x33a)]);if(!_0xcf08e6)return;this['_activeAdjustPointList']=_0xcf08e6[_0x16a2c3(0x221)]();}let _0x54473f=this[_0x16a2c3(0x452)];if(!(!_0x54473f||_0x54473f[_0x16a2c3(0x2cd)]===0x0))for(let _0x2005a9=0x0;_0x2005a9<_0x54473f[_0x16a2c3(0x2cd)];_0x2005a9++){let _0x314bb8=_0x54473f[_0x2005a9],_0x1e9167=_0x314bb8['x'],_0x4bef5e=_0x314bb8['y'];if(_0x390164&&(_0x1e9167=(_0x1c47fc||0x0)-_0x1e9167),_0xdcb1d7&&(_0x4bef5e=(_0x5bc148||0x0)-_0x4bef5e),_0x3d831e!==0x0){let _0xfe9bff=(_0x1c47fc||0x0)/0x2,_0x4d095b=(_0x5bc148||0x0)/0x2,_0x2117df=_0x3d831e*Math['PI']/0xb4,_0x458cdd=Math['cos'](_0x2117df),_0x2c0fe5=Math[_0x16a2c3(0x572)](_0x2117df),_0x4b556c=_0x1e9167-_0xfe9bff,_0x50473f=_0x4bef5e-_0x4d095b;_0x1e9167=_0xfe9bff+(_0x4b556c*_0x458cdd-_0x50473f*_0x2c0fe5),_0x4bef5e=_0x4d095b+(_0x4b556c*_0x2c0fe5+_0x50473f*_0x458cdd);}let _0xc0d3cc={'x':_0x1e9167,'y':_0x4bef5e,'adjName':_0x314bb8[_0x16a2c3(0x5f3)]};this['_addControl'](_0x1fbc9e,_0xc0d3cc,_0xc0d3cc[_0x16a2c3(0x5f3)],_0x48fced,_0x394082,this['_unitId'],this['_subUnitId']);}}[_0x1bf676(0x2ab)](_0x5621e8,_0x49e631,_0x5dfa60,_0x1b53da,_0x13d6b1,_0x30f034,_0x3a5bc9){const _0x11c938=_0x1bf676;if(!this[_0x11c938(0x3d6)])return;let _0x513b52=_0x11c938(0x1d9)+this[_0x11c938(0x3d6)]+'-'+_0x5dfa60,_0x3821ae=_0x5621e8[_0x11c938(0x5d3)](_0x513b52);if(_0x3821ae){_0x3821ae['transformByState']({'left':_0x49e631['x']+_0x1b53da-u['ShapeDefaultConfig'][_0x11c938(0x53c)],'top':_0x49e631['y']+_0x13d6b1-u[_0x11c938(0x42d)][_0x11c938(0x53c)]});return;}let _0x2ab856=new oe(_0x513b52,{'left':_0x49e631['x']+_0x1b53da-u['ShapeDefaultConfig'][_0x11c938(0x53c)],'top':_0x49e631['y']+_0x13d6b1-u[_0x11c938(0x42d)]['adjHandleSize'],'adjName':_0x5dfa60,'shapeId':this['_activeImageId'],'unitId':_0x30f034,'subUnitId':_0x3a5bc9,'width':u[_0x11c938(0x42d)][_0x11c938(0x53c)]+0x8,'height':u[_0x11c938(0x42d)][_0x11c938(0x53c)]+0x8,'zIndex':o[_0x11c938(0x40b)]+0x1,'evented':!0x0});this[_0x11c938(0x228)][_0x11c938(0x23a)](_0x2ab856),this['_attachAdjustEvent'](_0x2ab856,_0x5621e8,_0x5dfa60),_0x5621e8[_0x11c938(0x395)](_0x2ab856,o[_0x11c938(0x40b)]+0x1);}[_0x1bf676(0x5ee)](){const _0x46326c=_0x1bf676;this[_0x46326c(0x228)][_0x46326c(0x2cd)]!==0x0&&(this[_0x46326c(0x228)]['forEach'](_0x7af0f7=>_0x7af0f7[_0x46326c(0x53f)]()),this[_0x46326c(0x228)]=[]);}[_0x1bf676(0x1d6)](_0x410e7e,_0x132f08){const _0x21e42c=_0x1bf676;var _0x84f804;let _0x1596c2={'x':0x0,'y':0x0},_0x2110e0=this[_0x21e42c(0x1e3)]['getRenderById'](_0x410e7e);if(!_0x2110e0||!_0x2110e0[_0x21e42c(0x506)](c[_0x21e42c(0x67c)])[_0x21e42c(0x41d)](_0x132f08))return _0x1596c2;let _0x9baf06=_0x2110e0[_0x21e42c(0x506)](c[_0x21e42c(0x5e8)]),_0x276375=_0x9baf06==null?void 0x0:_0x9baf06[_0x21e42c(0x4e2)]();if(!_0x276375)return _0x1596c2;let _0x535965=(_0x84f804=this['_univerInstanceService']['getUnit'](_0x410e7e))==null?void 0x0:_0x84f804[_0x21e42c(0x26a)](_0x132f08);if(!_0x535965)return _0x1596c2;let _0x48f891=(0x0,c['getViewportByCell'])(_0x276375[_0x21e42c(0x637)],_0x276375['sheetViewStartColumn'],_0x2110e0[_0x21e42c(0x5c6)],_0x535965);return _0x48f891?{'x':_0x48f891[_0x21e42c(0x3fc)],'y':_0x48f891['viewportScrollY']}:_0x1596c2;}[_0x1bf676(0x303)](_0x20ecf7,_0x26d513){const _0x2ee65f=_0x1bf676;var _0x4c45e8,_0x47181c;let _0x5e5958=(_0x4c45e8=this[_0x2ee65f(0x5c9)][_0x2ee65f(0x504)](_0x20ecf7))==null?void 0x0:_0x4c45e8[_0x2ee65f(0x26a)](_0x26d513);return(_0x47181c=_0x5e5958==null?void 0x0:_0x5e5958[_0x2ee65f(0x3f6)]())==null?0x1:_0x47181c;}['_attachAdjustEvent'](_0x1b8800,_0x25501a,_0x181630){const _0x875751=_0x1bf676;this[_0x875751(0x38d)]((0x0,t[_0x875751(0x4c2)])(_0x1b8800[_0x875751(0x319)]['subscribeEvent']((_0x231f46,_0x4ba8be)=>{const _0x3ebde7=_0x875751;var _0x260f8b,_0x49b23d,_0x55f767;let {unitId:_0x22d08e,subUnitId:_0x453167,drawingId:_0x1a6e6f}=_0x1b8800[_0x3ebde7(0x206)](),_0x59d982=this[_0x3ebde7(0x5cd)](_0x22d08e,_0x453167,_0x1a6e6f);if(!(_0x59d982!=null&&_0x59d982['transform']))return;let {left:_0x194892,top:_0x2d5385,width:_0x18542a,height:_0x3e9137}=_0x59d982[_0x3ebde7(0x577)];this[_0x3ebde7(0x620)]=_0x194892||0x0,this['_baseTop']=_0x2d5385||0x0,this[_0x3ebde7(0x3ab)]=_0x18542a||0x0,this[_0x3ebde7(0x453)]=_0x3e9137||0x0;let _0x3cc45d=!!((_0x260f8b=_0x59d982[_0x3ebde7(0x577)])!=null&&_0x260f8b[_0x3ebde7(0x334)]),_0x3ee54a=!!((_0x49b23d=_0x59d982[_0x3ebde7(0x577)])!=null&&_0x49b23d[_0x3ebde7(0x4f5)]),_0x3fafd6=((_0x55f767=_0x59d982['transform'])==null?void 0x0:_0x55f767[_0x3ebde7(0x3fe)])||0x0,_0x2253c1=this[_0x3ebde7(0x3d3)](_0x22d08e,_0x453167,_0x1a6e6f);if(!_0x2253c1)return;let _0x1312b0=this[_0x3ebde7(0x5e5)](_0x2253c1['prstGeom'],this[_0x3ebde7(0x3ab)],this['_baseHeight'],_0x2253c1[_0x3ebde7(0x33a)]);if(!_0x1312b0||(this[_0x3ebde7(0x465)]=_0x1312b0,this['_activeAdjustInfo']=_0x1312b0[_0x3ebde7(0x663)](_0x181630),!this['_activeAdjustInfo']))return;this[_0x3ebde7(0x399)]=!0x0,_0x25501a[_0x3ebde7(0x45b)]();let _0x277df7=_0x2253c1[_0x3ebde7(0x274)];this[_0x3ebde7(0x39a)]=_0x25501a[_0x3ebde7(0x236)]['subscribeEvent']((_0x47ca42,_0x36cd10)=>{const _0x220269=_0x3ebde7;if(!this[_0x220269(0x399)])return;let {offsetX:_0x2faa07,offsetY:_0x587bde}=_0x47ca42,_0x19c161=this['_activeAdjustInfo'];if(!this['_activeShapeModel']||!_0x19c161)return;_0x25501a[_0x220269(0x45b)](),_0x25501a[_0x220269(0x295)](o['CURSOR_TYPE'][_0x220269(0x4ee)]);let _0x2b12e8={'left':0x0,'top':0x0,'width':this[_0x220269(0x3ab)],'height':this[_0x220269(0x453)]},_0xa0b418=this[_0x220269(0x1d6)](_0x22d08e,_0x453167),_0x20bc01=this[_0x220269(0x303)](_0x22d08e,_0x453167),_0x2a4b2b=_0x2faa07/_0x20bc01+_0xa0b418['x']-this[_0x220269(0x620)],_0x6c0a26=_0x587bde/_0x20bc01+_0xa0b418['y']-this[_0x220269(0x647)];if(_0x3fafd6!==0x0){let _0x3db96c=this[_0x220269(0x3ab)]/0x2,_0x528263=this[_0x220269(0x453)]/0x2,_0x12c13a=_0x3fafd6*Math['PI']/0xb4,_0x40821c=Math[_0x220269(0x2ec)](_0x12c13a),_0x22e8d1=Math[_0x220269(0x572)](_0x12c13a),_0x5ece38=_0x2a4b2b-_0x3db96c,_0x53a7ee=_0x6c0a26-_0x528263;_0x2a4b2b=_0x3db96c+(_0x5ece38*_0x40821c+_0x53a7ee*_0x22e8d1),_0x6c0a26=_0x528263+(-_0x5ece38*_0x22e8d1+_0x53a7ee*_0x40821c);}_0x3cc45d&&(_0x2a4b2b=this[_0x220269(0x3ab)]-_0x2a4b2b),_0x3ee54a&&(_0x6c0a26=this[_0x220269(0x453)]-_0x6c0a26);let _0x462d01=this['_activeShapeModel'][_0x220269(0x241)](_0x2b12e8,{'x':_0x2a4b2b,'y':_0x6c0a26},_0x19c161,_0x3cc45d,_0x3ee54a),_0x10ed7f=_0x19c161['gdRefX']||_0x19c161[_0x220269(0x273)]||_0x19c161[_0x220269(0x4f3)]||_0x19c161[_0x220269(0x676)];_0x10ed7f!==void 0x0&&(this[_0x220269(0x465)][_0x220269(0x37b)](_0x10ed7f,_0x462d01),this[_0x220269(0x465)][_0x220269(0x1fe)]({'width':this['_baseWidth'],'height':this[_0x220269(0x453)]}),this['_updateImageAdjValues'](_0x22d08e,_0x453167,_0x1a6e6f,_0x10ed7f,_0x462d01),this[_0x220269(0x452)]=this[_0x220269(0x465)][_0x220269(0x221)](),this['_activeAdjustInfo']=this[_0x220269(0x465)]['getAdjustInfoByName'](_0x181630),this[_0x220269(0x2a3)](),_0x36cd10[_0x220269(0x5dd)]());}),this['_adjHandlerPointerUp']=_0x25501a['onPointerUp$'][_0x3ebde7(0x59b)]((_0x28afb4,_0x536a92)=>{const _0x566adb=_0x3ebde7;if(this['_adjHandlerPointerMove'][_0x566adb(0x421)](),this[_0x566adb(0x58e)][_0x566adb(0x421)](),_0x25501a[_0x566adb(0x63b)](),this['_activeShapeModel']){let _0x42d0a0=this[_0x566adb(0x465)]['getAdjustNames'](),_0x2518e2={};for(let _0x37581d of _0x42d0a0){let _0x333058=this[_0x566adb(0x465)][_0x566adb(0x3b2)](_0x37581d);_0x333058!==void 0x0&&(_0x2518e2[_0x37581d]=_0x333058);}this['_imageShapeClipController'][_0x566adb(0x579)](_0x22d08e,_0x453167,_0x1a6e6f,_0x277df7,_0x2518e2);}this[_0x566adb(0x1f8)]=void 0x0,this[_0x566adb(0x465)]=void 0x0,this[_0x566adb(0x399)]=!0x1,_0x536a92[_0x566adb(0x5dd)](),_0x25501a[_0x566adb(0x3ca)]();}),_0x4ba8be['stopPropagation']();})));}[_0x1bf676(0x29a)](_0x4eba48,_0x11133e,_0x5cefda,_0x11a3af,_0xfc3b9e){const _0x40ddd3=_0x1bf676;let _0x12e2b4=this[_0x40ddd3(0x1e3)]['getRenderById'](_0x4eba48);if(!_0x12e2b4)return;let {scene:_0x2314b4}=_0x12e2b4,_0x2b74e5=(0x0,a[_0x40ddd3(0x205)])({'unitId':_0x4eba48,'subUnitId':_0x11133e,'drawingId':_0x5cefda}),_0x1c9adc=_0x2314b4[_0x40ddd3(0x65d)](_0x2b74e5);if(_0x1c9adc instanceof o['Image']){var _0x498a58;let _0x47ac04=(_0x498a58=_0x1c9adc[_0x40ddd3(0x353)])==null?{}:_0x498a58;_0x1c9adc['setPrstGeomAdjValues']({..._0x47ac04,[_0x11a3af]:_0xfc3b9e}),_0x1c9adc[_0x40ddd3(0x664)](!0x0);}}[_0x1bf676(0x52a)](){const _0x2310c7=_0x1bf676;let _0x420e32=this['_univerInstanceService'][_0x2310c7(0x662)](t[_0x2310c7(0x683)]['UNIVER_SHEET']);this[_0x2310c7(0x38d)](_0x420e32[_0x2310c7(0x5aa)]((0x0,i[_0x2310c7(0x4f7)])(_0x30aec3=>_0x30aec3?_0x30aec3['activeSheet$']['pipe']((0x0,i[_0x2310c7(0x4f7)])(_0x4411b1=>{const _0xb8202a=_0x2310c7;if(!_0x4411b1)return i[_0xb8202a(0x4b0)];let _0x1546c7=_0x30aec3['getUnitId'](),_0x49e452=this['_renderManagerService'][_0xb8202a(0x4bf)](_0x1546c7),_0x338287=_0x49e452==null?void 0x0:_0x49e452[_0xb8202a(0x5c6)];return _0x338287?(0x0,i['of'])(_0x338287):i['EMPTY'];})):i[_0x2310c7(0x4b0)]))[_0x2310c7(0x4e6)](_0x10c4cf=>{const _0x4dfeba=_0x2310c7;let _0x4f7cba=_0x10c4cf['getTransformerByCreate']();this[_0x4dfeba(0x38d)](_0x10c4cf[_0x4dfeba(0x236)][_0x4dfeba(0x59b)](()=>{const _0x4867a5=_0x4dfeba;this[_0x4867a5(0x1f6)]&&this['_clearControls']();})),this[_0x4dfeba(0x38d)](_0x4f7cba['changeStart$'][_0x4dfeba(0x4e6)](_0x38b3d5=>{const _0x290820=_0x4dfeba;let {objects:_0x9dc5c0}=_0x38b3d5;if(this[_0x290820(0x2a3)](),_0x9dc5c0!==null&&_0x9dc5c0[_0x290820(0x2f5)]===0x1){let _0x1d44c1=_0x9dc5c0[_0x290820(0x562)]()['next']()[_0x290820(0x2bb)];_0x1d44c1 instanceof o[_0x290820(0x5f5)]&&_0x1d44c1['prstGeom']&&(this[_0x290820(0x1f6)]=!0x0);}})),this[_0x4dfeba(0x38d)](_0x4f7cba[_0x4dfeba(0x4d2)]['subscribe'](()=>{const _0x206988=_0x4dfeba;this[_0x206988(0x1f6)]&&this[_0x206988(0x5ee)]();})),this[_0x4dfeba(0x38d)](_0x10c4cf['onPointerUp$'][_0x4dfeba(0x59b)](()=>{const _0x36eda9=_0x4dfeba;this['_isImagePointerDown']&&(this[_0x36eda9(0x1f6)]=!0x1,this[_0x36eda9(0x2a3)]());})),this[_0x4dfeba(0x38d)](_0x4f7cba[_0x4dfeba(0x586)][_0x4dfeba(0x4e6)](()=>{const _0x2a1efc=_0x4dfeba;if(this[_0x2a1efc(0x1da)]&&this['_subUnitId']&&this['_activeImageId']){let _0x1bb1ff=this[_0x2a1efc(0x3d3)](this[_0x2a1efc(0x1da)],this['_subUnitId'],this[_0x2a1efc(0x3d6)]);if(_0x1bb1ff){var _0x44bacf,_0x123e44;let _0x153ea9=this[_0x2a1efc(0x5cd)](this['_unitId'],this[_0x2a1efc(0x210)],this[_0x2a1efc(0x3d6)]),_0x2fee3a=(_0x153ea9==null||(_0x44bacf=_0x153ea9[_0x2a1efc(0x577)])==null?void 0x0:_0x44bacf[_0x2a1efc(0x5e7)])||0x0,_0x579208=(_0x153ea9==null||(_0x123e44=_0x153ea9['transform'])==null?void 0x0:_0x123e44[_0x2a1efc(0x4f4)])||0x0,_0x503984=this['_getOrCreateShapeModel'](_0x1bb1ff[_0x2a1efc(0x274)],_0x2fee3a,_0x579208,_0x1bb1ff[_0x2a1efc(0x33a)]);_0x503984&&(this[_0x2a1efc(0x452)]=_0x503984[_0x2a1efc(0x221)](),this['_clearControls'](),this[_0x2a1efc(0x2a3)](!0x0));}}}));}));}[_0x1bf676(0x3a6)](){const _0x2f3a96=_0x1bf676;this[_0x2f3a96(0x38d)](this[_0x2f3a96(0x673)][_0x2f3a96(0x4c8)][_0x2f3a96(0x4e6)](_0x551866=>{const _0x2deade=_0x2f3a96;if(_0x551866['length']===0x1){let _0x78bc15=_0x551866[0x0];if(_0x78bc15[_0x2deade(0x24b)]===t['DrawingTypeEnum'][_0x2deade(0x464)]){let {unitId:_0x5c1a0f,subUnitId:_0x54c178,drawingId:_0x12a2b2}=_0x78bc15,_0x1f12e3=this[_0x2deade(0x3d3)](_0x5c1a0f,_0x54c178,_0x12a2b2);if(_0x1f12e3){var _0x34b27c,_0x15a08c;this[_0x2deade(0x3d6)]=_0x12a2b2,this[_0x2deade(0x1da)]=_0x5c1a0f,this[_0x2deade(0x210)]=_0x54c178;let _0x1b74f4=this[_0x2deade(0x5cd)](_0x5c1a0f,_0x54c178,_0x12a2b2),_0xc4c347=(_0x1b74f4==null||(_0x34b27c=_0x1b74f4['transform'])==null?void 0x0:_0x34b27c[_0x2deade(0x5e7)])||0x0,_0x3e4b4d=(_0x1b74f4==null||(_0x15a08c=_0x1b74f4[_0x2deade(0x577)])==null?void 0x0:_0x15a08c[_0x2deade(0x4f4)])||0x0,_0x545b84=this[_0x2deade(0x5e5)](_0x1f12e3[_0x2deade(0x274)],_0xc4c347,_0x3e4b4d,_0x1f12e3[_0x2deade(0x33a)]);_0x545b84&&(this[_0x2deade(0x452)]=_0x545b84[_0x2deade(0x221)]()),this[_0x2deade(0x5ee)](),this[_0x2deade(0x2a3)](!0x0);}else this[_0x2deade(0x49c)]();}else this[_0x2deade(0x49c)]();}else this[_0x2deade(0x49c)]();})),this['disposeWithMe'](this['_drawingManagerService'][_0x2f3a96(0x24c)]['subscribe'](_0x4dd862=>{const _0x3ae57=_0x2f3a96;if(_0x4dd862[_0x3ae57(0x2cd)]===0x1){let _0x929c16=_0x4dd862[0x0],_0x48ba7a=this[_0x3ae57(0x673)]['getDrawingByParam'](_0x929c16);(_0x48ba7a==null?void 0x0:_0x48ba7a[_0x3ae57(0x24b)])===t[_0x3ae57(0x45e)][_0x3ae57(0x464)]&&this[_0x3ae57(0x3d6)]===_0x929c16[_0x3ae57(0x45c)]&&(this[_0x3ae57(0x5ee)](),this[_0x3ae57(0x2a3)](!0x0));}})),this[_0x2f3a96(0x38d)](this[_0x2f3a96(0x673)]['remove$']['subscribe'](_0x13ab2d=>{const _0x5663b5=_0x2f3a96;for(let _0x249c52 of _0x13ab2d)this[_0x5663b5(0x3d6)]===_0x249c52[_0x5663b5(0x45c)]&&this['_resetState']();}));}[_0x1bf676(0x49c)](){const _0x5acf46=_0x1bf676;this[_0x5acf46(0x3d6)]=null,this['_unitId']=null,this[_0x5acf46(0x210)]=null,this[_0x5acf46(0x452)]=void 0x0,this[_0x5acf46(0x5ee)]();}};K=R([L(0x1,a[_0x1bf676(0x5a6)]),L(0x2,(0x0,t[_0x1bf676(0x589)])(o[_0x1bf676(0x4b4)])),L(0x3,t[_0x1bf676(0x247)]),L(0x4,(0x0,t[_0x1bf676(0x589)])(H))],K);let q=class extends t[_0x1bf676(0x5b5)]{constructor(_0x1320f1,_0x47792e,_0xdb18a8,_0x47b3f7){const _0x599b27=_0x1bf676;super(),this[_0x599b27(0x5c9)]=_0x1320f1,this[_0x599b27(0x65c)]=_0x47792e,this[_0x599b27(0x493)]=_0xdb18a8,this['_sheetsShapeService']=_0x47b3f7,this[_0x599b27(0x3df)]();}['_initSheetChange'](){const _0x2b0e41=_0x1bf676;this['disposeWithMe'](this[_0x2b0e41(0x65c)][_0x2b0e41(0x443)]({'getMutations':_0x4c26ab=>{const _0x49d9e1=_0x2b0e41;if(_0x4c26ab['id']===n[_0x49d9e1(0x204)]['id']){let _0x4a7956=(0x0,n['getSheetCommandTarget'])(this[_0x49d9e1(0x5c9)],_0x4c26ab[_0x49d9e1(0x20d)]);if(!_0x4a7956)return{'redos':[],'undos':[]};let {unitId:_0x3afb69,subUnitId:_0x1d834d}=_0x4a7956,_0x455622=this[_0x49d9e1(0x493)][_0x49d9e1(0x461)](_0x3afb69,_0x1d834d),_0x38b7aa=Object['values'](_0x455622)[_0x49d9e1(0x289)](_0x71b08c=>_0x71b08c[_0x49d9e1(0x24b)]===t['DrawingTypeEnum'][_0x49d9e1(0x2f9)]);if(_0x38b7aa[_0x49d9e1(0x2cd)]===0x0)return{'redos':[],'undos':[]};let _0x48cf2d=[],_0x2a9e73=[];for(let _0x3eb0d1=0x0;_0x3eb0d1<_0x38b7aa[_0x49d9e1(0x2cd)];_0x3eb0d1++){let _0x14e026=_0x38b7aa[_0x3eb0d1],_0x57dcf8=this[_0x49d9e1(0x54a)][_0x49d9e1(0x655)](_0x14e026[_0x49d9e1(0x3c1)],_0x14e026[_0x49d9e1(0x5d0)],_0x14e026[_0x49d9e1(0x45c)]);if(!_0x57dcf8)continue;let {redo:_0x3f5981,undo:_0x4cd1cd,objects:_0x331ba8}=this[_0x49d9e1(0x493)][_0x49d9e1(0x386)]([_0x14e026]);_0x48cf2d[_0x49d9e1(0x23a)]({'id':e['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x3afb69,'subUnitId':_0x1d834d,'shapeId':_0x14e026[_0x49d9e1(0x45c)]}}),_0x48cf2d[_0x49d9e1(0x23a)]({'id':r[_0x49d9e1(0x25d)]['id'],'params':{'unitId':_0x3afb69,'subUnitId':_0x1d834d,'type':r[_0x49d9e1(0x260)][_0x49d9e1(0x51d)],'op':_0x3f5981,'objects':_0x331ba8}}),_0x2a9e73[_0x49d9e1(0x23a)]({'id':r['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x3afb69,'subUnitId':_0x1d834d,'type':r[_0x49d9e1(0x260)][_0x49d9e1(0x3b3)],'op':_0x4cd1cd,'objects':_0x331ba8}}),_0x2a9e73[_0x49d9e1(0x23a)]({'id':e[_0x49d9e1(0x32a)]['id'],'params':{'unitId':_0x3afb69,'subUnitId':_0x1d834d,'shapeId':_0x14e026['drawingId'],'shapeType':_0x57dcf8['getShapeType'](),'shapeData':JSON['parse'](JSON[_0x49d9e1(0x30a)](_0x57dcf8[_0x49d9e1(0x2e3)]()))}});}return{'redos':_0x48cf2d,'undos':_0x2a9e73};}else{if(_0x4c26ab['id']===n[_0x49d9e1(0x462)]['id']){let {unitId:_0x3b2dd5,subUnitId:_0x759383,targetSubUnitId:_0x4034fd}=_0x4c26ab['params'];if(!_0x3b2dd5||!_0x759383||!_0x4034fd)return{'redos':[],'undos':[]};let _0x1b2147=this[_0x49d9e1(0x493)]['getDrawingData'](_0x3b2dd5,_0x759383),_0x41a84a=Object[_0x49d9e1(0x562)](_0x1b2147)['filter'](_0x29e56f=>_0x29e56f[_0x49d9e1(0x24b)]===t[_0x49d9e1(0x45e)][_0x49d9e1(0x2f9)]);if(_0x41a84a[_0x49d9e1(0x2cd)]===0x0)return{'redos':[],'undos':[]};let _0x3d3811=[],_0x8deac1=[];for(let _0x556cff=0x0;_0x556cff<_0x41a84a[_0x49d9e1(0x2cd)];_0x556cff++){let _0xdf550f=_0x41a84a[_0x556cff],_0x340d42=this['_sheetsShapeService'][_0x49d9e1(0x655)](_0xdf550f[_0x49d9e1(0x3c1)],_0xdf550f[_0x49d9e1(0x5d0)],_0xdf550f[_0x49d9e1(0x45c)]);if(!_0x340d42)continue;let _0x4e00f9=(0x0,t[_0x49d9e1(0x31a)])(),_0x12e692={..._0xdf550f,'unitId':_0x3b2dd5,'subUnitId':_0x4034fd,'drawingId':_0x4e00f9},{redo:_0x180cca,undo:_0x578980,objects:_0x24179b}=this[_0x49d9e1(0x493)]['getBatchAddOp']([_0x12e692]);_0x3d3811[_0x49d9e1(0x23a)]({'id':r[_0x49d9e1(0x25d)]['id'],'params':{'unitId':_0x3b2dd5,'subUnitId':_0x4034fd,'type':r[_0x49d9e1(0x260)][_0x49d9e1(0x3b3)],'op':_0x180cca,'objects':_0x24179b}}),_0x3d3811[_0x49d9e1(0x23a)]({'id':e[_0x49d9e1(0x32a)]['id'],'params':{'unitId':_0x3b2dd5,'subUnitId':_0x4034fd,'shapeId':_0x4e00f9,'shapeType':_0x340d42[_0x49d9e1(0x4c7)](),'shapeData':JSON['parse'](JSON[_0x49d9e1(0x30a)](_0x340d42[_0x49d9e1(0x2e3)]()))}}),_0x8deac1[_0x49d9e1(0x23a)]({'id':e[_0x49d9e1(0x626)]['id'],'params':{'unitId':_0x3b2dd5,'subUnitId':_0x4034fd,'shapeId':_0x4e00f9}}),_0x8deac1[_0x49d9e1(0x23a)]({'id':r[_0x49d9e1(0x25d)]['id'],'params':{'unitId':_0x3b2dd5,'subUnitId':_0x4034fd,'type':r[_0x49d9e1(0x260)][_0x49d9e1(0x51d)],'op':_0x578980,'objects':_0x24179b}});}return{'redos':_0x3d3811,'undos':_0x8deac1};}}return{'redos':[],'undos':[]};}}));}};q=R([L(0x0,(0x0,t[_0x1bf676(0x589)])(t[_0x1bf676(0x247)])),L(0x1,(0x0,t[_0x1bf676(0x589)])(n['SheetInterceptorService'])),L(0x2,(0x0,t['Inject'])(r[_0x1bf676(0x2af)])),L(0x3,(0x0,t[_0x1bf676(0x589)])(e[_0x1bf676(0x35a)]))],q);let je=class extends t[_0x1bf676(0x5b5)]{constructor(_0x390fe1,_0x9261f8,_0x249a28,_0x141335,_0x5003cd){const _0x27f970=_0x1bf676;super(),this[_0x27f970(0x242)]=_0x390fe1,this[_0x27f970(0x44e)]=_0x9261f8,this[_0x27f970(0x673)]=_0x249a28,this[_0x27f970(0x38f)]=_0x141335,this['_sheetsShapeService']=_0x5003cd,S(this,_0x27f970(0x512),null),this[_0x27f970(0x55a)](),this[_0x27f970(0x575)](),this[_0x27f970(0x39f)]();}['_initEvents'](){const _0x48b4e7=_0x1bf676;let {scene:_0x12c859}=this['_context'];this[_0x48b4e7(0x38d)](_0x12c859[_0x48b4e7(0x39d)][_0x48b4e7(0x59b)](_0x287206=>{const _0xcb3901=_0x48b4e7;let {offsetX:_0x37fbda,offsetY:_0x1ab57c}=_0x287206,_0x16a601=_0x12c859[_0xcb3901(0x1f1)](o['Vector2'][_0xcb3901(0x454)]([_0x37fbda,_0x1ab57c]));if(_0x16a601 instanceof I){if((0x0,u[_0xcb3901(0x1db)])(this[_0xcb3901(0x54a)][_0xcb3901(0x4c7)](_0x16a601[_0xcb3901(0x3c1)],_0x16a601['subUnitId'],_0x16a601[_0xcb3901(0x4b9)])))return;this[_0xcb3901(0x44e)]['setEditing']({'visible':!0x0,'unitId':_0x16a601[_0xcb3901(0x3c1)],'subUnitId':_0x16a601[_0xcb3901(0x5d0)],'shapeId':_0x16a601[_0xcb3901(0x4b9)],'shapeKey':_0x16a601[_0xcb3901(0x2e0)]});}}));}[_0x1bf676(0x575)](){const _0x34c975=_0x1bf676;this['disposeWithMe'](this[_0x34c975(0x673)]['focus$'][_0x34c975(0x4e6)](_0x3328e3=>{const _0x97b427=_0x34c975;if(_0x3328e3[_0x97b427(0x2cd)]===0x1){let _0x5dea9e=_0x3328e3[0x0],_0x4e03da=this[_0x97b427(0x673)]['getDrawingByParam'](_0x5dea9e);if((_0x4e03da==null?void 0x0:_0x4e03da['drawingType'])===t['DrawingTypeEnum'][_0x97b427(0x2f9)]){let _0xc8d501=this[_0x97b427(0x44e)]['getEditing']();if((_0xc8d501==null?void 0x0:_0xc8d501['shapeId'])===_0x5dea9e[_0x97b427(0x45c)]&&_0xc8d501[_0x97b427(0x3e3)])return;(0x0,u[_0x97b427(0x1db)])(this['_sheetsShapeService'][_0x97b427(0x4c7)](_0x5dea9e[_0x97b427(0x3c1)],_0x5dea9e[_0x97b427(0x5d0)],_0x5dea9e[_0x97b427(0x45c)]))&&this['_shapeTextEditingService'][_0x97b427(0x1ed)](null);}else this[_0x97b427(0x44e)][_0x97b427(0x20c)]()&&(this[_0x97b427(0x44e)][_0x97b427(0x4a1)](!0x0),requestAnimationFrame(()=>{const _0x880ba1=_0x97b427;this[_0x880ba1(0x44e)][_0x880ba1(0x1ed)](null);}));}else this[_0x97b427(0x44e)][_0x97b427(0x20c)]()&&(this[_0x97b427(0x44e)][_0x97b427(0x4a1)](!0x0),requestAnimationFrame(()=>{const _0x14cae9=_0x97b427;this['_shapeTextEditingService'][_0x14cae9(0x1ed)](null);}));})),this['disposeWithMe'](this[_0x34c975(0x673)][_0x34c975(0x2be)][_0x34c975(0x4e6)](_0x28529a=>{const _0x57b2d4=_0x34c975;let _0x476949=this[_0x57b2d4(0x44e)]['getEditing']();_0x476949&&_0x28529a[_0x57b2d4(0x39b)](_0x3f8cea=>_0x3f8cea[_0x57b2d4(0x45c)]===_0x476949[_0x57b2d4(0x4b9)])&&this['_shapeTextEditingService'][_0x57b2d4(0x1ed)](null);}));}['_initEditingParams'](){const _0x21bed6=_0x1bf676;this[_0x21bed6(0x38d)](this[_0x21bed6(0x44e)][_0x21bed6(0x536)][_0x21bed6(0x4e6)](_0x28c77b=>{const _0x47bd60=_0x21bed6;let {scene:_0x44fad6}=this[_0x47bd60(0x242)];if(this[_0x47bd60(0x512)]){let _0x12e831=_0x44fad6['getObjectIncludeInGroup'](this['_lastEditingShapeKey']);_0x12e831&&_0x12e831['setEditing'](!0x1);}if(_0x28c77b){let _0x13f48e=!!_0x28c77b[_0x47bd60(0x3e3)],_0x3599b8=_0x44fad6[_0x47bd60(0x5d3)](_0x28c77b[_0x47bd60(0x4e5)]);_0x3599b8&&(_0x3599b8[_0x47bd60(0x1ed)](_0x13f48e),this[_0x47bd60(0x512)]=_0x28c77b[_0x47bd60(0x4e5)]),this[_0x47bd60(0x38f)][_0x47bd60(0x668)](t[_0x47bd60(0x46b)],_0x13f48e);}else this[_0x47bd60(0x512)]=null,this[_0x47bd60(0x38f)][_0x47bd60(0x668)](t[_0x47bd60(0x46b)],!0x1);}));}};je=R([L(0x1,(0x0,t[_0x1bf676(0x589)])(C)),L(0x2,a[_0x1bf676(0x5a6)]),L(0x3,t['IContextService']),L(0x4,(0x0,t[_0x1bf676(0x589)])(e[_0x1bf676(0x35a)]))],je);function Me(){const _0x28c619=_0x1bf676;return(0x0,h['jsx'])(v[_0x28c619(0x4ca)],{});}let J=class extends v[_0x1bf676(0x660)]{constructor(_0x3c6428,_0x5ac863,_0x4d5564,_0x2654a8,_0x4ad3e9){const _0x3490b2=_0x1bf676;super(_0x3c6428,_0x5ac863,_0x4d5564,_0x2654a8,_0x4ad3e9,{'componentKey':_0x3490b2(0x67a),'editorUnitId':te,'toolbarComponent':Me});}};J=R([L(0x1,(0x0,t[_0x1bf676(0x589)])(f['DocSelectionManagerService'])),L(0x2,(0x0,t['Inject'])(s['DocCanvasPopManagerService'])),L(0x3,(0x0,t['Inject'])(l[_0x1bf676(0x2b3)])),L(0x4,(0x0,t[_0x1bf676(0x589)])(s['DocSelectionRenderService']))],J);const Ne={'normal':{'fill':u[_0x1bf676(0x42d)][_0x1bf676(0x2de)],'stroke':u['ShapeDefaultConfig'][_0x1bf676(0x2d3)],'strokeWidth':u[_0x1bf676(0x42d)][_0x1bf676(0x4f0)]},'highlighted':{'fill':_0x1bf676(0x5dc),'stroke':'#1a73e8','strokeWidth':0x2}};var Pe=class extends o['Shape']{constructor(_0x24c2d2,_0x227a19){const _0x426ada=_0x1bf676;super(_0x24c2d2,_0x227a19),S(this,_0x426ada(0x656),''),S(this,'_cxnIndex',-0x1),S(this,_0x426ada(0x1da),''),S(this,'_subUnitId',''),S(this,_0x426ada(0x1fb),!0x1),_0x227a19&&this[_0x426ada(0x608)](_0x227a19);}[_0x1bf676(0x653)](){const _0x3e00e3=_0x1bf676;return{'unitId':this[_0x3e00e3(0x1da)],'subUnitId':this[_0x3e00e3(0x210)],'shapeId':this[_0x3e00e3(0x656)],'cxnIndex':this[_0x3e00e3(0x2b6)]};}[_0x1bf676(0x1e0)](_0x220e84){const _0x34c4fe=_0x1bf676;this[_0x34c4fe(0x1fb)]!==_0x220e84&&(this[_0x34c4fe(0x1fb)]=_0x220e84,this['makeDirty'](!0x0));}[_0x1bf676(0x474)](){const _0x30eb42=_0x1bf676;return this[_0x30eb42(0x1fb)];}[_0x1bf676(0x608)](_0x180029){const _0x365662=_0x1bf676;var _0x4fe1a3,_0xfb7158;_0x180029[_0x365662(0x26c)]!==void 0x0&&(this[_0x365662(0x656)]=_0x180029['targetShapeId']),_0x180029[_0x365662(0x3b4)]!==void 0x0&&(this[_0x365662(0x2b6)]=_0x180029['cxnIndex']),_0x180029[_0x365662(0x3c1)]!==void 0x0&&(this[_0x365662(0x1da)]=_0x180029[_0x365662(0x3c1)]),_0x180029[_0x365662(0x5d0)]!==void 0x0&&(this[_0x365662(0x210)]=_0x180029['subUnitId']),_0x180029[_0x365662(0x474)]!==void 0x0&&(this[_0x365662(0x1fb)]=_0x180029['isHighlighted']),this[_0x365662(0x2fd)]({'width':(_0x4fe1a3=_0x180029[_0x365662(0x5e7)])==null?u[_0x365662(0x42d)][_0x365662(0x52c)]*0x2:_0x4fe1a3,'height':(_0xfb7158=_0x180029[_0x365662(0x4f4)])==null?u['ShapeDefaultConfig'][_0x365662(0x52c)]*0x2:_0xfb7158});}[_0x1bf676(0x5c4)](_0x1b1144){const _0x57a241=_0x1bf676;let _0x408fcc=this['_isHighlighted']?Ne['highlighted']:Ne['normal'];o[_0x57a241(0x679)][_0x57a241(0x2e4)](_0x1b1144,{'radius':u[_0x57a241(0x42d)]['cxnPointRadius'],'fill':_0x408fcc['fill'],'stroke':_0x408fcc['stroke'],'strokeWidth':_0x408fcc['strokeWidth'],'evented':!0x0});}};let Y=class extends t[_0x1bf676(0x5b5)]{constructor(_0x5c0dfd,_0x31ad6e,_0x47ab5f,_0x3c2d3c){const _0x51766e=_0x1bf676;super(),this[_0x51766e(0x242)]=_0x5c0dfd,this['_renderManagerService']=_0x31ad6e,this['_drawingManagerService']=_0x47ab5f,this[_0x51766e(0x54a)]=_0x3c2d3c,S(this,_0x51766e(0x375),[]),S(this,_0x51766e(0x3f5),null),S(this,'_highlightedSiteIndex',-0x1),S(this,_0x51766e(0x2cc),null),S(this,_0x51766e(0x1da),''),S(this,_0x51766e(0x210),''),S(this,_0x51766e(0x5ad),null);}[_0x1bf676(0x4ed)](_0x599959,_0x2d00c9,_0x373d3d,_0x3634a8){const _0x4586d4=_0x1bf676;this['_currentScene']=_0x599959,this[_0x4586d4(0x1da)]=_0x2d00c9,this[_0x4586d4(0x210)]=_0x373d3d,this[_0x4586d4(0x5ad)]=_0x3634a8;}[_0x1bf676(0x255)](_0x56c820){const _0x479688=_0x1bf676;if(!this[_0x479688(0x2cc)])return null;let _0x3de14d=this[_0x479688(0x685)](_0x56c820);return _0x3de14d?(this[_0x479688(0x3f5)]!==_0x3de14d['shapeId']&&(this['_clearConnectionSites'](),this[_0x479688(0x426)](_0x3de14d[_0x479688(0x4b9)],_0x3de14d['shapeModel']),this[_0x479688(0x3f5)]=_0x3de14d[_0x479688(0x4b9)]),this[_0x479688(0x539)](_0x56c820)):(this[_0x479688(0x3f5)]!==null&&(this[_0x479688(0x5c0)](),this['_activeTargetShapeId']=null),null);}['endConnectionDetection'](){const _0x428259=_0x1bf676;this[_0x428259(0x5c0)](),this['_currentScene']=null,this['_activeTargetShapeId']=null,this['_highlightedSiteIndex']=-0x1,this['_draggingConnectorId']=null;}['getConnectionRelation'](){const _0xc720f5=_0x1bf676;return this[_0xc720f5(0x3f5)]===null||this['_highlightedSiteIndex']<0x0?null:{'shapeId':this['_activeTargetShapeId'],'cxnIndex':this[_0xc720f5(0x5da)]};}['_findShapeAtPoint'](_0xc118e6){const _0x16ed2c=_0x1bf676;let _0x51c6c0=this[_0x16ed2c(0x673)][_0x16ed2c(0x461)](this[_0x16ed2c(0x1da)],this[_0x16ed2c(0x210)]);for(let _0x3913e2 of Object[_0x16ed2c(0x222)](_0x51c6c0)){if(_0x3913e2===this[_0x16ed2c(0x5ad)]||_0x51c6c0[_0x3913e2][_0x16ed2c(0x24b)]!==t[_0x16ed2c(0x45e)][_0x16ed2c(0x2f9)])continue;let _0x114856=this['_sheetsShapeService'][_0x16ed2c(0x655)](this[_0x16ed2c(0x1da)],this[_0x16ed2c(0x210)],_0x3913e2);if(!_0x114856||(0x0,u[_0x16ed2c(0x1db)])(_0x114856['getShapeType']())||_0x114856[_0x16ed2c(0x5ba)]()[_0x16ed2c(0x2cd)]===0x0||!this[_0x16ed2c(0x2cc)])continue;let _0x4e3824=(0x0,a[_0x16ed2c(0x205)])({'unitId':this[_0x16ed2c(0x1da)],'subUnitId':this[_0x16ed2c(0x210)],'drawingId':_0x3913e2}),_0x4780b2=this['_currentScene'][_0x16ed2c(0x5d3)](_0x4e3824);if(!_0x4780b2)continue;let {left:_0x25bfb4,top:_0x5194d2,width:_0x830a90,height:_0x2ebf6f}=_0x4780b2[_0x16ed2c(0x3db)](),_0x515591=_0x25bfb4+_0x830a90/0x2,_0x19f4b6=_0x5194d2+_0x2ebf6f/0x2,_0x536f8c=_0x4780b2['transform'][_0x16ed2c(0x640)](),_0x1071b8=new o['Transform']([_0x536f8c[0x0],_0x536f8c[0x1],_0x536f8c[0x2],_0x536f8c[0x3],_0x515591,_0x19f4b6]),_0x28cadd=_0x4780b2[_0x16ed2c(0x3fd)](),_0x43113a=(_0x4780b2[_0x16ed2c(0x472)]&&(_0x28cadd==null?void 0x0:_0x28cadd[_0x16ed2c(0x43f)])===o[_0x16ed2c(0x466)][_0x16ed2c(0x519)]?_0x28cadd[_0x16ed2c(0x4fa)][_0x16ed2c(0x4b2)](_0x1071b8):_0x1071b8)[_0x16ed2c(0x499)]()[_0x16ed2c(0x5c5)](_0xc118e6),_0x201c77=_0x830a90/0x2,_0x528892=_0x2ebf6f/0x2;if(_0x43113a['x']>=-_0x201c77-0x5&&_0x43113a['x']<=_0x201c77+0x5&&_0x43113a['y']>=-_0x528892-0x5&&_0x43113a['y']<=_0x528892+0x5)return{'shapeId':_0x3913e2,'shapeModel':_0x114856};}return null;}[_0x1bf676(0x426)](_0x4bb4db,_0x26cab7){const _0x1f9e42=_0x1bf676;if(!this[_0x1f9e42(0x2cc)])return;let _0x344637=(0x0,a[_0x1f9e42(0x205)])({'unitId':this[_0x1f9e42(0x1da)],'subUnitId':this[_0x1f9e42(0x210)],'drawingId':_0x4bb4db}),_0x21b86b=this['_currentScene'][_0x1f9e42(0x5d3)](_0x344637);if(!_0x21b86b)return;let {left:_0x221eb9,top:_0x5adc62,width:_0x55d245,height:_0x3f8abe}=_0x21b86b[_0x1f9e42(0x3db)](),_0x1b4f03=_0x221eb9+_0x55d245/0x2,_0x4acde0=_0x5adc62+_0x3f8abe/0x2,_0x2e0735=_0x21b86b[_0x1f9e42(0x577)][_0x1f9e42(0x640)](),_0x2d009b=new o[(_0x1f9e42(0x428))]([_0x2e0735[0x0],_0x2e0735[0x1],_0x2e0735[0x2],_0x2e0735[0x3],_0x1b4f03,_0x4acde0]),_0x2c7a5b=_0x21b86b['getParent'](),_0x4620d6=_0x21b86b['isInGroup']&&(_0x2c7a5b==null?void 0x0:_0x2c7a5b[_0x1f9e42(0x43f)])===o[_0x1f9e42(0x466)]['GROUP']?_0x2c7a5b[_0x1f9e42(0x4fa)][_0x1f9e42(0x4b2)](_0x2d009b):_0x2d009b;_0x26cab7[_0x1f9e42(0x1fe)]({'width':_0x55d245,'height':_0x3f8abe});let _0x1970f1=_0x26cab7['getConnectionSiteList']();for(let _0x39d4a4 of _0x1970f1){let _0x322599=_0x39d4a4['x']-_0x55d245/0x2,_0x4af5e0=_0x39d4a4['y']-_0x3f8abe/0x2,_0x468289=_0x4620d6[_0x1f9e42(0x5c5)]({'x':_0x322599,'y':_0x4af5e0}),_0x46c1a9=_0x468289['x'],_0x5735cc=_0x468289['y'],_0x5ae6db=new Pe(_0x1f9e42(0x4c9)+_0x4bb4db+'-'+_0x39d4a4[_0x1f9e42(0x658)],{'left':_0x46c1a9-u[_0x1f9e42(0x42d)][_0x1f9e42(0x52c)],'top':_0x5735cc-u[_0x1f9e42(0x42d)][_0x1f9e42(0x52c)],'targetShapeId':_0x4bb4db,'cxnIndex':_0x39d4a4[_0x1f9e42(0x658)],'unitId':this[_0x1f9e42(0x1da)],'subUnitId':this[_0x1f9e42(0x210)],'width':u[_0x1f9e42(0x42d)]['cxnPointRadius']*0x2,'height':u['ShapeDefaultConfig'][_0x1f9e42(0x52c)]*0x2,'zIndex':o[_0x1f9e42(0x40b)]+0x2,'evented':!0x1});this[_0x1f9e42(0x375)][_0x1f9e42(0x23a)](_0x5ae6db),this[_0x1f9e42(0x2cc)][_0x1f9e42(0x395)](_0x5ae6db,o['DRAWING_OBJECT_LAYER_INDEX']+0x2);}}[_0x1bf676(0x539)](_0x4e6a57){const _0xbd88f0=_0x1bf676;let _0xe8253b=null,_0x49ee3a=0x1/0x0,_0x1dba6f=null;for(let _0x59a3d2 of this[_0xbd88f0(0x375)]){let _0x176f98=_0x59a3d2[_0xbd88f0(0x305)]+u[_0xbd88f0(0x42d)][_0xbd88f0(0x52c)],_0xb02027=_0x59a3d2[_0xbd88f0(0x447)]+u[_0xbd88f0(0x42d)][_0xbd88f0(0x52c)],_0x471577=_0x4e6a57['x']-_0x176f98,_0x50f158=_0x4e6a57['y']-_0xb02027,_0x4f64e7=Math[_0xbd88f0(0x4f1)](_0x471577*_0x471577+_0x50f158*_0x50f158);_0x4f64e7<_0x49ee3a&&(_0x49ee3a=_0x4f64e7,_0xe8253b=_0x59a3d2,_0x1dba6f={'x':_0x176f98,'y':_0xb02027});}let _0x3f2968=_0x49ee3a<=0xa&&_0xe8253b?_0xe8253b['getConnectionInfo']()[_0xbd88f0(0x3b4)]:-0x1;if(_0x3f2968!==this['_highlightedSiteIndex']){for(let _0x5e731c of this[_0xbd88f0(0x375)]){let _0x183cec=_0x5e731c[_0xbd88f0(0x653)]();_0x5e731c[_0xbd88f0(0x1e0)](_0x183cec['cxnIndex']===_0x3f2968);}this[_0xbd88f0(0x5da)]=_0x3f2968;}if(_0x49ee3a<=0xa&&_0xe8253b&&_0x1dba6f){let _0x5629c1=_0xe8253b[_0xbd88f0(0x653)](),_0xd9e145=this['_getConnectionSiteAngle'](_0x5629c1['shapeId'],_0x5629c1[_0xbd88f0(0x3b4)]);return{'shapeId':_0x5629c1[_0xbd88f0(0x4b9)],'cxnIndex':_0x5629c1['cxnIndex'],'unitId':_0x5629c1[_0xbd88f0(0x3c1)],'subUnitId':_0x5629c1[_0xbd88f0(0x5d0)],'worldPoint':_0x1dba6f,'angle':_0xd9e145};}return null;}['_getConnectionSiteAngle'](_0x69bebb,_0x17afd6){const _0x363a63=_0x1bf676;let _0x1e0984=this[_0x363a63(0x54a)]['getShapeModel'](this['_unitId'],this[_0x363a63(0x210)],_0x69bebb);if(!_0x1e0984)return 0x0;let _0x196848=this[_0x363a63(0x673)]['getDrawingByParam']({'unitId':this['_unitId'],'subUnitId':this[_0x363a63(0x210)],'drawingId':_0x69bebb});if(!(_0x196848!=null&&_0x196848['transform']))return 0x0;let {width:_0x5d8f54=0x0,height:_0x1ae8d0=0x0,flipX:_0x4f9d33=!0x1,flipY:_0x321b08=!0x1}=_0x196848[_0x363a63(0x577)];_0x1e0984[_0x363a63(0x1fe)]({'width':_0x5d8f54,'height':_0x1ae8d0});let _0x13531a=_0x1e0984[_0x363a63(0x5ba)]()['find'](_0x19d205=>_0x19d205[_0x363a63(0x658)]===_0x17afd6);if(!_0x13531a)return 0x0;let _0x45d908=_0x13531a[_0x363a63(0x481)]/0xea60;return _0x4f9d33&&(_0x45d908=0xb4-_0x45d908),_0x321b08&&(_0x45d908=-_0x45d908),_0x45d908=(_0x45d908%0x168+0x168)%0x168,_0x45d908;}[_0x1bf676(0x5c0)](){const _0x356f8d=_0x1bf676;for(let _0x398908 of this[_0x356f8d(0x375)])_0x398908[_0x356f8d(0x53f)]();this[_0x356f8d(0x375)]=[],this['_highlightedSiteIndex']=-0x1;}['dispose'](){const _0x27f15a=_0x1bf676;this['_clearConnectionSites'](),super[_0x27f15a(0x53f)]();}};Y=R([L(0x1,(0x0,t[_0x1bf676(0x589)])(o[_0x1bf676(0x4b4)])),L(0x2,(0x0,t[_0x1bf676(0x589)])(a[_0x1bf676(0x5a6)])),L(0x3,(0x0,t[_0x1bf676(0x589)])(e['SheetsShapeService']))],Y);let X=class extends t[_0x1bf676(0x5b5)]{constructor(_0xc33ea6,_0x56bbaa,_0x32905b,_0x58c59c,_0x33e181){const _0x1422d2=_0x1bf676;super(),this[_0x1422d2(0x2d2)]=_0xc33ea6,this[_0x1422d2(0x4ad)]=_0x56bbaa,this[_0x1422d2(0x493)]=_0x32905b,this[_0x1422d2(0x4e3)]=_0x58c59c,this['_groupCopyPasteController']=_0x33e181,S(this,_0x1422d2(0x3e8),void 0x0),this['_initCopyPaste'](),this[_0x1422d2(0x42a)]();}get[_0x1bf676(0x2a6)](){const _0x3edf74=_0x1bf676;return this[_0x3edf74(0x493)][_0x3edf74(0x62f)]();}[_0x1bf676(0x42a)](){const _0x17b8cb=_0x1bf676;this[_0x17b8cb(0x4df)][_0x17b8cb(0x4f9)](({fromUnitId:_0x32e7e9,fromSubUnitId:_0xcccdda,toUnitId:_0x27bd2e,toSubUnitId:_0x2e0b90,idMap:_0x13cb3e})=>{const _0x3faa63=_0x17b8cb;let _0x24aff5=[],_0x1195d5=[];for(let [_0x506329,_0x358118]of _0x13cb3e[_0x3faa63(0x4a2)]()){let _0x29c996=this[_0x3faa63(0x4e3)][_0x3faa63(0x655)](_0x32e7e9,_0xcccdda,_0x506329);if(!_0x29c996)continue;let _0x4bfe27=_0x29c996['getShapeType'](),_0x45529f=JSON['parse'](JSON['stringify'](_0x29c996[_0x3faa63(0x2e3)]()));if(_0x45529f[_0x3faa63(0x492)]){var _0x2442c1,_0x5713db;let _0x29a625=(_0x2442c1=_0x45529f[_0x3faa63(0x492)][_0x3faa63(0x58b)])==null?void 0x0:_0x2442c1['shapeId'],_0x3e14c4=(_0x5713db=_0x45529f['relation']['to'])==null?void 0x0:_0x5713db[_0x3faa63(0x4b9)],_0x184350=_0x29a625?_0x13cb3e[_0x3faa63(0x2cb)](_0x29a625):!0x0,_0x2a096d=_0x3e14c4?_0x13cb3e[_0x3faa63(0x2cb)](_0x3e14c4):!0x0;_0x184350&&_0x29a625&&_0x45529f[_0x3faa63(0x492)][_0x3faa63(0x58b)]?_0x45529f[_0x3faa63(0x492)]['from']={..._0x45529f[_0x3faa63(0x492)]['from'],'shapeId':_0x13cb3e[_0x3faa63(0x1f9)](_0x29a625)}:_0x45529f['relation'][_0x3faa63(0x58b)]=void 0x0,_0x2a096d&&_0x3e14c4&&_0x45529f[_0x3faa63(0x492)]['to']?_0x45529f[_0x3faa63(0x492)]['to']={..._0x45529f[_0x3faa63(0x492)]['to'],'shapeId':_0x13cb3e[_0x3faa63(0x1f9)](_0x3e14c4)}:_0x45529f[_0x3faa63(0x492)]['to']=void 0x0;}_0x24aff5[_0x3faa63(0x23a)]({'id':e[_0x3faa63(0x32a)]['id'],'params':{'unitId':_0x27bd2e,'subUnitId':_0x2e0b90,'shapeId':_0x358118,'shapeType':_0x4bfe27,'shapeData':_0x45529f}}),_0x1195d5[_0x3faa63(0x23a)]({'id':e[_0x3faa63(0x626)]['id'],'params':{'unitId':_0x27bd2e,'subUnitId':_0x2e0b90,'shapeId':_0x358118}});}return{'redos':_0x24aff5,'undos':_0x1195d5};});}[_0x1bf676(0x20a)](){const _0x578e84=_0x1bf676;this['disposeWithMe'](this[_0x578e84(0x4ad)][_0x578e84(0x35f)]({'id':_0x578e84(0x43a),'onBeforeCopy':(_0xe0789b,_0x5d528a,_0x518877,_0x4d23fb)=>{const _0x55734a=_0x578e84;this[_0x55734a(0x3e8)]=null;let _0x163061=this['_focusedDrawings'];if(_0x163061[_0x55734a(0x2cd)]){let _0x11052=_0x163061[_0x55734a(0x289)](_0x546b85=>_0x546b85[_0x55734a(0x24b)]===t[_0x55734a(0x45e)][_0x55734a(0x2f9)]);if(_0x11052[_0x55734a(0x2cd)]===0x0)return;this['_copyInfo']={'unitId':_0xe0789b,'subUnitId':_0x5d528a,'copyType':_0x4d23fb,'drawings':_0x11052};}else this[_0x55734a(0x3ec)](_0xe0789b,_0x5d528a,_0x518877,_0x4d23fb);},'onPasteCells':(_0x463cb2,_0x4131c7,_0x5f2d0b,_0x3db908)=>{const _0x255519=_0x578e84;if(!this[_0x255519(0x3e8)])return{'redos':[],'undos':[]};let {pasteType:_0x4c27af}=_0x3db908;return _0x4c27af===c[_0x255519(0x2c5)][_0x255519(0x1f3)]?this[_0x255519(0x43c)](_0x4131c7,this['_copyInfo'][_0x255519(0x667)]===c[_0x255519(0x370)][_0x255519(0x514)]):{'redos':[],'undos':[]};},'onPasteUnrecognized':_0x386265=>this[_0x578e84(0x3e8)]?this[_0x578e84(0x43c)](_0x386265,this[_0x578e84(0x3e8)][_0x578e84(0x667)]===c['COPY_TYPE'][_0x578e84(0x514)]):{'redos':[],'undos':[]}}));}[_0x1bf676(0x3ec)](_0x97f21a,_0x79d81b,_0x1cabfd,_0x4ce60d){const _0x21efd6=_0x1bf676;let _0x4e1ca3=this[_0x21efd6(0x2d2)][_0x21efd6(0x41d)](_0x97f21a,_0x79d81b);if(!_0x4e1ca3)return;let _0x58b3c1=(0x0,n[_0x21efd6(0x2e6)])(_0x4e1ca3,_0x1cabfd);if(!_0x58b3c1)return;let {startX:_0x4e6ffc,endX:_0x2cb7cf,startY:_0x10ef06,endY:_0x251dea}=_0x58b3c1,_0x395719=this[_0x21efd6(0x493)][_0x21efd6(0x461)](_0x97f21a,_0x79d81b),_0x153d9a=this[_0x21efd6(0x2a6)][_0x21efd6(0x57f)]();for(let [_0x3b77fb,_0x1d6742]of Object[_0x21efd6(0x4a2)](_0x395719)){if(_0x1d6742[_0x21efd6(0x24b)]!==t[_0x21efd6(0x45e)][_0x21efd6(0x2f9)])continue;let {transform:_0x31e54b}=_0x1d6742;if(!_0x31e54b)continue;let {left:_0x3ab516=0x0,top:_0x2054d4=0x0,width:_0x4316fd=0x0,height:_0x46ced=0x0}=_0x31e54b;_0x4e6ffc<=_0x3ab516&&_0x2cb7cf>=_0x3ab516+_0x4316fd&&_0x10ef06<=_0x2054d4&&_0x251dea>=_0x2054d4+_0x46ced&&_0x153d9a['push'](_0x1d6742);}_0x153d9a['length']>0x0&&(this[_0x21efd6(0x3e8)]={'unitId':_0x97f21a,'subUnitId':_0x79d81b,'copyType':_0x4ce60d,'copyRange':_0x1cabfd,'drawings':_0x153d9a});}[_0x1bf676(0x43c)](_0x45d4d9,_0x1bd931){const _0x4e7d28=_0x1bf676;let {unitId:_0x2e52a9,subUnitId:_0x4208bb,range:_0x262bd1}=_0x45d4d9,_0x5414ed=this[_0x4e7d28(0x2d2)][_0x4e7d28(0x41d)](_0x2e52a9,_0x4208bb);if(!_0x5414ed)return{'redos':[],'undos':[]};let _0x3dffe4=(0x0,n[_0x4e7d28(0x26b)])(_0x262bd1),{unitId:_0x280346,subUnitId:_0x1cd26c,copyRange:_0x2852d2,drawings:_0x4f8eb0}=this[_0x4e7d28(0x3e8)],_0x43591e=this[_0x4e7d28(0x2d2)][_0x4e7d28(0x41d)](_0x280346,_0x1cd26c);if(!_0x43591e)return{'redos':[],'undos':[]};let _0x46920e;if(!_0x2852d2){let _0x5915a5=0x1/0x0,_0x5d8178=0x1/0x0;for(let _0x46a272 of _0x4f8eb0){var _0xa3d208;let {left:_0x2bfa93=0x0,top:_0x5f1bae=0x0}=(_0xa3d208=_0x46a272['transform'])==null?{}:_0xa3d208;_0x2bfa93<_0x5915a5&&(_0x5915a5=_0x2bfa93),_0x5f1bae<_0x5d8178&&(_0x5d8178=_0x5f1bae);}_0x5915a5!==0x1/0x0&&_0x5d8178!==0x1/0x0&&(_0x46920e={'left':_0x5915a5,'top':_0x5d8178});}let _0x448338=new Map();if(!_0x1bd931){for(let _0x191c64 of _0x4f8eb0)_0x448338['set'](_0x191c64[_0x4e7d28(0x45c)],(0x0,t['generateRandomId'])());}let _0x288579=[],_0x40db49=[];for(let _0x563410 of _0x4f8eb0){let {drawingId:_0x3000cf,transform:_0x2415ad,sheetTransform:_0xb9c576}=_0x563410;if(!_0x2415ad||!_0xb9c576)continue;let _0x5a2db=this[_0x4e7d28(0x429)]({'transform':_0x2415ad,'sheetTransform':_0xb9c576},{'skeleton':_0x43591e,'range':_0x2852d2},{'skeleton':_0x5414ed,'range':_0x3dffe4},_0x46920e);if(_0x1bd931){let {redos:_0x47159a,undos:_0x526d44}=this[_0x4e7d28(0x460)]({'fromUnitId':_0x280346,'fromSubUnitId':_0x1cd26c,'toUnitId':_0x2e52a9,'toSubUnitId':_0x4208bb,'drawing':_0x563410,'newTransforms':_0x5a2db});_0x288579['push'](..._0x47159a),_0x40db49[_0x4e7d28(0x23a)](..._0x526d44);continue;}let {redos:_0x52771b,undos:_0x57d876}=this[_0x4e7d28(0x64b)]({'toUnitId':_0x2e52a9,'toSubUnitId':_0x4208bb,'drawing':_0x563410,'newTransforms':_0x5a2db,'newDrawingId':_0x448338['get'](_0x3000cf),'idMap':_0x448338});_0x288579[_0x4e7d28(0x23a)](..._0x52771b),_0x40db49[_0x4e7d28(0x23a)](..._0x57d876);}return{'redos':_0x288579,'undos':_0x40db49};}[_0x1bf676(0x460)](_0x199bc9){const _0x45a4b2=_0x1bf676;let {fromUnitId:_0x56d65e,fromSubUnitId:_0x249daa,toUnitId:_0x2ff100,toSubUnitId:_0x228607,drawing:_0xb36720,newTransforms:_0x37c73a}=_0x199bc9,_0x9a5c54={..._0xb36720,'unitId':_0x2ff100,'subUnitId':_0x228607,'transform':_0x37c73a['transform'],'sheetTransform':_0x37c73a['sheetTransform']};if(_0x2ff100===_0x56d65e&&_0x228607===_0x249daa){let {redo:_0x1021f7,undo:_0x55ae0c,objects:_0x1ea972}=this[_0x45a4b2(0x493)][_0x45a4b2(0x211)]([_0x9a5c54]);return{'redos':[{'id':r[_0x45a4b2(0x25d)]['id'],'params':{'unitId':_0x2ff100,'subUnitId':_0x228607,'type':r[_0x45a4b2(0x260)][_0x45a4b2(0x38b)],'op':_0x1021f7,'objects':_0x1ea972}}],'undos':[{'id':r['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x2ff100,'subUnitId':_0x228607,'type':r['DrawingApplyType'][_0x45a4b2(0x38b)],'op':_0x55ae0c,'objects':_0x1ea972}}]};}else{let _0x5b1b31=this[_0x45a4b2(0x493)][_0x45a4b2(0x386)]([_0xb36720]),_0x3f3756=this[_0x45a4b2(0x493)][_0x45a4b2(0x3ef)]([_0x9a5c54]),_0x4c9101=this[_0x45a4b2(0x4e3)][_0x45a4b2(0x655)](_0xb36720[_0x45a4b2(0x3c1)],_0xb36720[_0x45a4b2(0x5d0)],_0xb36720['drawingId']);if(!_0x4c9101)return{'redos':[],'undos':[]};let _0x10a26c=_0x4c9101[_0x45a4b2(0x4c7)](),_0x1bb800=JSON[_0x45a4b2(0x21c)](JSON['stringify'](_0x4c9101[_0x45a4b2(0x2e3)]()));return{'redos':[{'id':r[_0x45a4b2(0x25d)]['id'],'params':{'unitId':_0x56d65e,'subUnitId':_0x249daa,'type':r['DrawingApplyType']['REMOVE'],'op':_0x5b1b31[_0x45a4b2(0x20b)],'objects':_0x5b1b31[_0x45a4b2(0x2ea)]}},{'id':e[_0x45a4b2(0x626)]['id'],'params':{'unitId':_0x56d65e,'subUnitId':_0x249daa,'shapeId':_0xb36720[_0x45a4b2(0x45c)]}},{'id':r[_0x45a4b2(0x25d)]['id'],'params':{'unitId':_0x2ff100,'subUnitId':_0x228607,'type':r[_0x45a4b2(0x260)]['INSERT'],'op':_0x3f3756['redo'],'objects':_0x3f3756[_0x45a4b2(0x2ea)]}},{'id':e[_0x45a4b2(0x32a)]['id'],'params':{'unitId':_0x2ff100,'subUnitId':_0x228607,'shapeId':_0xb36720[_0x45a4b2(0x45c)],'shapeType':_0x10a26c,'shapeData':_0x1bb800}}],'undos':[{'id':r[_0x45a4b2(0x25d)]['id'],'params':{'unitId':_0x56d65e,'subUnitId':_0x249daa,'type':r[_0x45a4b2(0x260)]['INSERT'],'op':_0x5b1b31[_0x45a4b2(0x365)],'objects':_0x5b1b31[_0x45a4b2(0x2ea)]}},{'id':e['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x56d65e,'subUnitId':_0x249daa,'shapeId':_0xb36720[_0x45a4b2(0x45c)],'shapeType':_0x10a26c,'shapeData':_0x1bb800}},{'id':r[_0x45a4b2(0x25d)]['id'],'params':{'unitId':_0x2ff100,'subUnitId':_0x228607,'type':r[_0x45a4b2(0x260)][_0x45a4b2(0x51d)],'op':_0x3f3756[_0x45a4b2(0x365)],'objects':_0x3f3756[_0x45a4b2(0x2ea)]}},{'id':e[_0x45a4b2(0x626)]['id'],'params':{'unitId':_0x2ff100,'subUnitId':_0x228607,'shapeId':_0xb36720[_0x45a4b2(0x45c)]}}]};}}[_0x1bf676(0x64b)](_0x5951c8){const _0xba8c74=_0x1bf676;let {toUnitId:_0x201798,toSubUnitId:_0x4defaf,drawing:_0x51d0e5,newTransforms:_0x54c930,newDrawingId:_0x217d79,idMap:_0x69895}=_0x5951c8,_0x34ec77={..._0x51d0e5,'unitId':_0x201798,'subUnitId':_0x4defaf,'drawingId':_0x217d79,'transform':_0x54c930[_0xba8c74(0x577)],'sheetTransform':_0x54c930[_0xba8c74(0x1fd)]},{redo:_0x44a175,undo:_0x3793ce,objects:_0x2f1b44}=this['_sheetDrawingService'][_0xba8c74(0x3ef)]([_0x34ec77]),_0x984ad6=this['_shapeService']['getShapeModel'](_0x51d0e5['unitId'],_0x51d0e5[_0xba8c74(0x5d0)],_0x51d0e5[_0xba8c74(0x45c)]);if(!_0x984ad6)return{'redos':[],'undos':[]};let _0x43cd17=_0x984ad6[_0xba8c74(0x4c7)](),_0x414f04=JSON['parse'](JSON[_0xba8c74(0x30a)](_0x984ad6[_0xba8c74(0x2e3)]()));if(_0x414f04[_0xba8c74(0x492)]){var _0x5b0af0,_0xbcbc33;let _0x389270=(_0x5b0af0=_0x414f04[_0xba8c74(0x492)][_0xba8c74(0x58b)])==null?void 0x0:_0x5b0af0[_0xba8c74(0x4b9)],_0x1b7b08=(_0xbcbc33=_0x414f04[_0xba8c74(0x492)]['to'])==null?void 0x0:_0xbcbc33[_0xba8c74(0x4b9)],_0x49986a=_0x389270?_0x69895[_0xba8c74(0x2cb)](_0x389270):!0x0,_0x1dc598=_0x1b7b08?_0x69895[_0xba8c74(0x2cb)](_0x1b7b08):!0x0;_0x49986a&&_0x389270&&_0x414f04['relation'][_0xba8c74(0x58b)]?_0x414f04[_0xba8c74(0x492)][_0xba8c74(0x58b)]={..._0x414f04[_0xba8c74(0x492)][_0xba8c74(0x58b)],'shapeId':_0x69895['get'](_0x389270)}:_0x414f04[_0xba8c74(0x492)]['from']=void 0x0,_0x1dc598&&_0x1b7b08&&_0x414f04['relation']['to']?_0x414f04['relation']['to']={..._0x414f04[_0xba8c74(0x492)]['to'],'shapeId':_0x69895[_0xba8c74(0x1f9)](_0x1b7b08)}:_0x414f04[_0xba8c74(0x492)]['to']=void 0x0;}return{'redos':[{'id':r['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x201798,'subUnitId':_0x4defaf,'type':r['DrawingApplyType'][_0xba8c74(0x3b3)],'op':_0x44a175,'objects':_0x2f1b44}},{'id':e['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x201798,'subUnitId':_0x4defaf,'shapeId':_0x217d79,'shapeType':_0x43cd17,'shapeData':_0x414f04}}],'undos':[{'id':r[_0xba8c74(0x25d)]['id'],'params':{'unitId':_0x201798,'subUnitId':_0x4defaf,'type':r[_0xba8c74(0x260)]['REMOVE'],'op':_0x3793ce,'objects':_0x2f1b44}},{'id':e[_0xba8c74(0x626)]['id'],'params':{'unitId':_0x201798,'subUnitId':_0x4defaf,'shapeId':_0x217d79}}]};}[_0x1bf676(0x429)](_0x5066db,_0x4c91b1,_0x140d39,_0x2538df){const _0x1d5e73=_0x1bf676;var _0x5069ff;let {range:_0x20f7c2,skeleton:_0x123504}=_0x4c91b1,{range:_0x270097,skeleton:_0x26f64f}=_0x140d39,{transform:_0xfa6918,sheetTransform:_0x147399}=_0x5066db,_0x122fbd={..._0xfa6918};if(_0x20f7c2){let _0x4c8a28=(0x0,n[_0x1d5e73(0x2e6)])(_0x123504,_0x20f7c2),_0x5c125a=(0x0,n[_0x1d5e73(0x2e6)])(_0x26f64f,_0x270097);if(_0x4c8a28&&_0x5c125a){var _0x2372c7,_0x3a04bc;let _0x5e1b7e=_0x5c125a[_0x1d5e73(0x296)]-_0x4c8a28[_0x1d5e73(0x296)],_0x5f17a1=_0x5c125a['startY']-_0x4c8a28[_0x1d5e73(0x43b)];_0x122fbd[_0x1d5e73(0x305)]=((_0x2372c7=_0x122fbd['left'])==null?0x0:_0x2372c7)+_0x5e1b7e,_0x122fbd[_0x1d5e73(0x447)]=((_0x3a04bc=_0x122fbd[_0x1d5e73(0x447)])==null?0x0:_0x3a04bc)+_0x5f17a1;}}else{let _0x5d6385=(0x0,n[_0x1d5e73(0x2e6)])(_0x26f64f,_0x270097);if(_0x2538df&&_0x5d6385){var _0x15815b,_0xc6c197;let _0x4ff9e1=((_0x15815b=_0x122fbd[_0x1d5e73(0x305)])==null?0x0:_0x15815b)-_0x2538df[_0x1d5e73(0x305)],_0x2ffd18=((_0xc6c197=_0x122fbd['top'])==null?0x0:_0xc6c197)-_0x2538df[_0x1d5e73(0x447)];_0x122fbd[_0x1d5e73(0x305)]=_0x5d6385[_0x1d5e73(0x296)]+_0x4ff9e1,_0x122fbd['top']=_0x5d6385['startY']+_0x2ffd18;}else _0x122fbd[_0x1d5e73(0x305)]=_0x5d6385==null?void 0x0:_0x5d6385['startX'],_0x122fbd['top']=_0x5d6385==null?void 0x0:_0x5d6385[_0x1d5e73(0x43b)];}return{'transform':_0x122fbd,'sheetTransform':(_0x5069ff=(0x0,r[_0x1d5e73(0x3a4)])(_0x122fbd,_0x26f64f))==null?_0x147399:_0x5069ff};}};X=R([L(0x0,(0x0,t[_0x1bf676(0x589)])(n[_0x1bf676(0x288)])),L(0x1,(0x0,t['Inject'])(c[_0x1bf676(0x495)])),L(0x2,(0x0,t[_0x1bf676(0x589)])(r[_0x1bf676(0x2af)])),L(0x3,(0x0,t[_0x1bf676(0x589)])(e['SheetsShapeService'])),L(0x4,(0x0,t[_0x1bf676(0x589)])(g[_0x1bf676(0x4cc)]))],X);var Fe=class extends o['Shape']{constructor(_0x405cd7,_0x2b02ab){const _0x345622=_0x1bf676;super(_0x405cd7,_0x2b02ab),S(this,'_shapeId',null),S(this,'_index',null),S(this,_0x345622(0x1da),null),S(this,'_subUnitId',null),S(this,_0x345622(0x584),!0x1),_0x2b02ab&&this[_0x345622(0x608)](_0x2b02ab);}['getDrawingSearch'](){const _0x1c34d3=_0x1bf676;return{'unitId':this[_0x1c34d3(0x1da)],'subUnitId':this[_0x1c34d3(0x210)],'drawingId':this[_0x1c34d3(0x35e)]};}[_0x1bf676(0x608)](_0x175ae4){const _0x2c96b3=_0x1bf676;_0x175ae4['shapeId']!==void 0x0&&(this[_0x2c96b3(0x35e)]=_0x175ae4[_0x2c96b3(0x4b9)]),_0x175ae4[_0x2c96b3(0x3c1)]!==void 0x0&&(this['_unitId']=_0x175ae4['unitId']),_0x175ae4[_0x2c96b3(0x5d0)]!==void 0x0&&(this[_0x2c96b3(0x210)]=_0x175ae4['subUnitId']),_0x175ae4['isStartConnectorPoint']!==void 0x0&&(this[_0x2c96b3(0x584)]=_0x175ae4[_0x2c96b3(0x2bc)]),this[_0x2c96b3(0x2fd)]({'width':_0x175ae4[_0x2c96b3(0x5e7)],'height':_0x175ae4[_0x2c96b3(0x4f4)]});}[_0x1bf676(0x5c4)](_0x4a67e8){const _0x345152=_0x1bf676;o[_0x345152(0x679)][_0x345152(0x2e4)](_0x4a67e8,{'radius':u['ShapeDefaultConfig']['cxnPointRadius'],'fill':u[_0x345152(0x42d)][_0x345152(0x2de)],'stroke':u[_0x345152(0x42d)][_0x345152(0x2d3)],'strokeWidth':u[_0x345152(0x42d)][_0x345152(0x4f0)],'evented':!0x0});}};let Z=class extends t[_0x1bf676(0x5b5)]{constructor(_0x377046,_0x57144a,_0x31da04,_0x42680e,_0x33017b,_0x2753cd,_0x5d66b1,_0x178dc4){const _0x212632=_0x1bf676;super(),this[_0x212632(0x242)]=_0x377046,this[_0x212632(0x604)]=_0x57144a,this['_renderManagerService']=_0x31da04,this[_0x212632(0x673)]=_0x42680e,this[_0x212632(0x5c9)]=_0x33017b,this[_0x212632(0x54a)]=_0x2753cd,this[_0x212632(0x3c6)]=_0x5d66b1,this[_0x212632(0x3f9)]=_0x178dc4,S(this,_0x212632(0x488),void 0x0),S(this,_0x212632(0x1da),void 0x0),S(this,_0x212632(0x210),void 0x0),S(this,'_connectorObjects',[]),S(this,_0x212632(0x383),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),S(this,_0x212632(0x465),void 0x0),S(this,'_isConnecting',!0x1),S(this,_0x212632(0x34e),!0x1),S(this,'_hasReset',!0x1),S(this,_0x212632(0x1e2),void 0x0),S(this,_0x212632(0x318),void 0x0),S(this,_0x212632(0x522),null),this[_0x212632(0x5e0)]();}[_0x1bf676(0x5e0)](){const _0x36ca5b=_0x1bf676;this[_0x36ca5b(0x2a8)](),this[_0x36ca5b(0x329)]();}['_getDrawingRect'](){const _0x1c8f81=_0x1bf676;if(!this['_unitId']||!this[_0x1c8f81(0x210)]||!this[_0x1c8f81(0x488)])return;let _0x100864={'unitId':this['_unitId'],'subUnitId':this[_0x1c8f81(0x210)],'drawingId':this[_0x1c8f81(0x488)]},{transform:_0x469fac}=this['_drawingManagerService']['getDrawingByParam'](_0x100864);if(_0x469fac)return{'left':_0x469fac[_0x1c8f81(0x305)]||0x0,'top':_0x469fac['top']||0x0,'width':_0x469fac['width']||0x0,'height':_0x469fac['height']||0x0,'flipX':_0x469fac['flipX']||!0x1,'flipY':_0x469fac[_0x1c8f81(0x4f5)]||!0x1,'angle':_0x469fac[_0x1c8f81(0x3fe)]};}[_0x1bf676(0x66c)](){const _0x1cf64e=_0x1bf676;if(this[_0x1cf64e(0x1da)]===void 0x0||this[_0x1cf64e(0x210)]===void 0x0||this[_0x1cf64e(0x488)]===void 0x0)return;let _0x4e3d70=this[_0x1cf64e(0x1e3)][_0x1cf64e(0x4bf)](this[_0x1cf64e(0x1da)]);if(!_0x4e3d70||!_0x4e3d70['with'](c[_0x1cf64e(0x67c)])[_0x1cf64e(0x5e9)]())return;let {scene:_0xd021}=_0x4e3d70,_0x243233=this[_0x1cf64e(0x2ac)]();if(!_0x243233)return;let _0x4396cf=this[_0x1cf64e(0x54a)][_0x1cf64e(0x655)](this[_0x1cf64e(0x1da)],this[_0x1cf64e(0x210)],this[_0x1cf64e(0x488)]);if(!_0x4396cf||!(0x0,u[_0x1cf64e(0x1db)])(_0x4396cf['getShapeType']()))return;let _0xdc506f=_0x4396cf[_0x1cf64e(0x3ea)]();if(_0xdc506f['length']<0x2)return;let _0x3b4bfb=new u[(_0x1cf64e(0x327))](_0x243233),_0x1df122=_0xdc506f[0x0],_0x4ef628=_0xdc506f[_0xdc506f[_0x1cf64e(0x2cd)]-0x1],_0x4e2919=_0x3b4bfb[_0x1cf64e(0x502)](_0x1df122),_0x2de0d9=_0x3b4bfb[_0x1cf64e(0x502)](_0x4ef628);this[_0x1cf64e(0x677)](_0xd021,{..._0x4e2919},!0x0),this['_addShapeConnectorHandlerObject'](_0xd021,{..._0x2de0d9},!0x1);}[_0x1bf676(0x677)](_0x4f440e,_0x17a62a,_0x2b5476){const _0x20caf7=_0x1bf676;if(this[_0x20caf7(0x488)]===void 0x0||this[_0x20caf7(0x1da)]===void 0x0||this[_0x20caf7(0x210)]===void 0x0)return;let _0x149ef1='connector-handler-'+this['_unitId']+'-'+this[_0x20caf7(0x210)]+'-'+this['_activeShapeId']+'-'+(_0x2b5476?_0x20caf7(0x4ba):'end'),_0x264f13=_0x4f440e[_0x20caf7(0x5d3)](_0x149ef1);if(_0x264f13){_0x264f13[_0x20caf7(0x2fd)]({'left':_0x17a62a['x']-u[_0x20caf7(0x42d)][_0x20caf7(0x52c)],'top':_0x17a62a['y']-u[_0x20caf7(0x42d)]['cxnPointRadius']});return;}let _0x26921d=new Fe(_0x149ef1,{'left':_0x17a62a['x']-u['ShapeDefaultConfig']['cxnPointRadius'],'top':_0x17a62a['y']-u['ShapeDefaultConfig'][_0x20caf7(0x52c)],'shapeId':this['_activeShapeId'],'unitId':this[_0x20caf7(0x1da)],'subUnitId':this[_0x20caf7(0x210)],'isStartConnectorPoint':_0x2b5476,'width':u[_0x20caf7(0x42d)][_0x20caf7(0x52c)]*0x2,'height':u[_0x20caf7(0x42d)][_0x20caf7(0x52c)]*0x2,'zIndex':o['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0});this[_0x20caf7(0x302)][_0x20caf7(0x23a)](_0x26921d),this[_0x20caf7(0x3f0)](_0x26921d,_0x4f440e,_0x2b5476),_0x4f440e[_0x20caf7(0x395)](_0x26921d,o[_0x20caf7(0x40b)]+0x1);}[_0x1bf676(0x1d6)](_0x2c414c,_0x835a2a){const _0x400981=_0x1bf676;var _0x22f529;let _0x3b2b83={'x':0x0,'y':0x0};if(!_0x2c414c||!_0x835a2a)return _0x3b2b83;let _0x27c6e5=this[_0x400981(0x1e3)][_0x400981(0x4bf)](_0x2c414c);if(!_0x27c6e5||!_0x27c6e5['with'](c[_0x400981(0x67c)])[_0x400981(0x41d)](_0x835a2a))return _0x3b2b83;let _0x4ab37c=_0x27c6e5[_0x400981(0x506)](c[_0x400981(0x5e8)]),_0x4a7bf6=_0x4ab37c==null?void 0x0:_0x4ab37c[_0x400981(0x4e2)]();if(!_0x4a7bf6)return _0x3b2b83;let _0xd90c7b=(_0x22f529=this['_univerInstanceService']['getUnit'](_0x2c414c))==null?void 0x0:_0x22f529['getSheetBySheetId'](_0x835a2a);if(!_0xd90c7b)return _0x3b2b83;let _0x25451c=(0x0,c[_0x400981(0x32e)])(_0x4a7bf6['sheetViewStartRow'],_0x4a7bf6['sheetViewStartColumn'],_0x27c6e5[_0x400981(0x5c6)],_0xd90c7b);return _0x25451c?{'x':_0x25451c[_0x400981(0x3fc)],'y':_0x25451c[_0x400981(0x4ae)]}:_0x3b2b83;}['_getZoomRatio'](_0x1221da,_0x387ec4){const _0x5d864a=_0x1bf676;var _0x4941d5,_0x116113;let _0xecb24e=(_0x4941d5=this[_0x5d864a(0x5c9)]['getUnit'](_0x1221da))==null?void 0x0:_0x4941d5[_0x5d864a(0x26a)](_0x387ec4);return(_0x116113=_0xecb24e==null?void 0x0:_0xecb24e['getZoomRatio']())==null?0x1:_0x116113;}['_handleConnectorPointerUp'](_0x282b2a,_0x434613,_0x47a85a,_0x2d5cec,_0x3890e2){const _0xdd0df=_0x1bf676;this[_0xdd0df(0x1e2)][_0xdd0df(0x421)](),this[_0xdd0df(0x318)][_0xdd0df(0x421)](),this['_sheetShapeAdjustController'][_0xdd0df(0x3b9)]();let _0x463db5=this[_0xdd0df(0x522)];this[_0xdd0df(0x3f9)]['endConnectionDetection']();let _0x42bb47=this[_0xdd0df(0x1d6)](this[_0xdd0df(0x1da)],this[_0xdd0df(0x210)]),_0x5bfa71=this[_0xdd0df(0x303)](this[_0xdd0df(0x1da)],this['_subUnitId']),_0x42293f={'x':_0x47a85a[_0xdd0df(0x4a6)]/_0x5bfa71+_0x42bb47['x'],'y':_0x47a85a[_0xdd0df(0x45f)]/_0x5bfa71+_0x42bb47['y']},_0x436bed=_0x463db5?_0x463db5[_0xdd0df(0x463)]:_0x42293f,_0x42cddb=_0x2d5cec?this[_0xdd0df(0x465)][_0xdd0df(0x3f2)]():this[_0xdd0df(0x465)]['getStartConnectInfo'](),_0x56376a=this[_0xdd0df(0x465)][_0xdd0df(0x4c7)]();_0x42cddb?this['_handleConnectedEndpointPointerUp'](_0x42cddb,_0x436bed,_0x2d5cec,_0x463db5,_0x3890e2):this['_handleFreeEndpointPointerUp'](_0x434613,_0x436bed,_0x2d5cec,_0x463db5,_0x3890e2,_0x56376a),this[_0xdd0df(0x1df)]=!0x1,this[_0xdd0df(0x396)]=!0x1,this[_0xdd0df(0x522)]=null,_0x282b2a[_0xdd0df(0x3ca)]();}[_0x1bf676(0x310)](_0x166a00,_0x255df7,_0x3bcc1b,_0x17124a,_0x47f675,_0x144b0f){const _0x3e517c=_0x1bf676;let _0x117362=_0x144b0f===u[_0x3e517c(0x670)][_0x3e517c(0x4d3)]||_0x144b0f===u[_0x3e517c(0x670)][_0x3e517c(0x3f3)],_0x45ad96=_0x3bcc1b?_0x255df7:_0x166a00,_0x9d9e17=_0x3bcc1b?_0x166a00:_0x255df7,_0x342131=this[_0x3e517c(0x465)][_0x3e517c(0x3ea)](),_0x2874af=(0x0,u['isCurvedConnectorShape'])(this[_0x3e517c(0x465)][_0x3e517c(0x4c7)]()),_0x1bf787=u[_0x3e517c(0x327)][_0x3e517c(0x4ec)](_0x342131,_0x2874af),_0xb574d5=_0x117362?u[_0x3e517c(0x327)][_0x3e517c(0x2f1)](_0x45ad96,_0x9d9e17):u[_0x3e517c(0x327)][_0x3e517c(0x5e2)](_0x166a00,_0x255df7,_0x3bcc1b,_0x1bf787);_0x17124a?this[_0x3e517c(0x3b8)](_0xb574d5,_0x17124a,_0x3bcc1b,_0x47f675):this[_0x3e517c(0x64f)](_0xb574d5,_0x47f675);}[_0x1bf676(0x551)](_0x2cd8da,_0x5c8df5,_0x1306cd,_0xa831c2,_0x5f001f){const _0x607c97=_0x1bf676;let _0x503fb8=this['_getConnectPointInfo'](_0x2cd8da);if(!_0x503fb8)return;let _0x5433f0=_0xa831c2?_0xa831c2[_0x607c97(0x3fe)]:this[_0x607c97(0x291)](_0x503fb8['point'],_0x5c8df5),_0x4c0ce6;if(_0xa831c2){let _0x211ebe=this[_0x607c97(0x673)][_0x607c97(0x300)]({'unitId':_0xa831c2[_0x607c97(0x3c1)],'subUnitId':_0xa831c2[_0x607c97(0x5d0)],'drawingId':_0xa831c2[_0x607c97(0x4b9)]});if(_0x211ebe!=null&&_0x211ebe[_0x607c97(0x577)]){let {left:_0x409a26=0x0,top:_0x414bd6=0x0,width:_0x259822=0x0,height:_0x4d05b3=0x0,angle:_0x484ba5}=_0x211ebe[_0x607c97(0x577)];_0x4c0ce6=(0x0,u[_0x607c97(0x56c)])({'left':_0x409a26,'top':_0x414bd6,'width':_0x259822,'height':_0x4d05b3},_0x484ba5||0x0);}else _0x4c0ce6={'left':_0x5c8df5['x'],'top':_0x5c8df5['y'],'width':0x0,'height':0x0};}else _0x4c0ce6={'left':_0x5c8df5['x'],'top':_0x5c8df5['y'],'width':0x0,'height':0x0};let _0x5abd41={'point':_0x5c8df5,'angle':_0x5433f0,'bounds':_0x4c0ce6},_0x454417=_0x1306cd?_0x5abd41:_0x503fb8,_0x431306=_0x1306cd?_0x503fb8:_0x5abd41,_0x4fdd3c=this[_0x607c97(0x465)][_0x607c97(0x4c7)](),_0x2ad2cd=(0x0,u[_0x607c97(0x5ca)])(_0x454417,_0x431306,_0x4fdd3c);this[_0x607c97(0x465)][_0x607c97(0x28a)]();let _0x1e2645=(0x0,u[_0x607c97(0x4c0)])(_0x2ad2cd,_0x4fdd3c);_0xa831c2?this[_0x607c97(0x516)](_0x1e2645,_0xa831c2,_0x2cd8da,_0x1306cd,_0x5f001f):this[_0x607c97(0x3e4)](_0x1e2645,_0x2cd8da,_0x1306cd,_0x5f001f);}['_executeConnectionCommand'](_0x27c292,_0x5d0ef2,_0x22f84a,_0x459515){const _0xeb0237=_0x1bf676;let _0x38a4a7=this['_activeShapeModel'][_0xeb0237(0x2e3)]()[_0xeb0237(0x492)],_0x47a3fb={..._0x38a4a7},_0x12ea43={'shapeId':_0x5d0ef2[_0xeb0237(0x4b9)],'cxnIndex':_0x5d0ef2[_0xeb0237(0x3b4)]};_0x22f84a?_0x47a3fb[_0xeb0237(0x58b)]=_0x12ea43:_0x47a3fb['to']=_0x12ea43;let _0x1785f2=this[_0xeb0237(0x465)]['getShapeType'](),_0x3252b3=(0x0,u[_0xeb0237(0x4c0)])(_0x27c292[_0xeb0237(0x1fa)],_0x1785f2),_0x5e1755={'unitId':this[_0xeb0237(0x1da)],'subUnitId':this[_0xeb0237(0x210)],'connectorShapeId':this[_0xeb0237(0x488)],'width':_0x27c292['worldRect'][_0xeb0237(0x5e7)],'height':_0x27c292['worldRect']['height'],'left':_0x27c292[_0xeb0237(0x2d5)][_0xeb0237(0x305)],'top':_0x27c292[_0xeb0237(0x2d5)][_0xeb0237(0x447)],'flipX':_0x27c292[_0xeb0237(0x2d5)]['flipX']||!0x1,'flipY':_0x27c292[_0xeb0237(0x2d5)][_0xeb0237(0x4f5)]||!0x1,'newAdjustValues':_0x3252b3[_0xeb0237(0x33a)],'oldAdjustValues':_0x459515,'oldRelation':_0x38a4a7,'newRelation':_0x47a3fb,'newLineType':_0x3252b3[_0xeb0237(0x605)],'oldLineType':_0x1785f2};this[_0xeb0237(0x604)][_0xeb0237(0x2e7)](e[_0xeb0237(0x606)]['id'],_0x5e1755);}[_0x1bf676(0x64f)](_0x4a084a,_0x5b44f9){const _0x14fc05=_0x1bf676;let _0x1188ed=this[_0x14fc05(0x465)][_0x14fc05(0x4c7)](),_0x2abdf1=(0x0,u['computeConnectorRouteLayout'])(_0x4a084a[_0x14fc05(0x1fa)],_0x1188ed),_0xa484c7={'unitId':this[_0x14fc05(0x1da)],'subUnitId':this[_0x14fc05(0x210)],'shapeId':this[_0x14fc05(0x488)],'width':_0x4a084a[_0x14fc05(0x2d5)][_0x14fc05(0x5e7)],'height':_0x4a084a['worldRect'][_0x14fc05(0x4f4)],'left':_0x4a084a[_0x14fc05(0x2d5)][_0x14fc05(0x305)],'top':_0x4a084a[_0x14fc05(0x2d5)][_0x14fc05(0x447)],'flipX':_0x4a084a['worldRect']['flipX']||!0x1,'flipY':_0x4a084a['worldRect'][_0x14fc05(0x4f5)]||!0x1,'angle':_0x4a084a[_0x14fc05(0x2d5)][_0x14fc05(0x3fe)]||0x0,'newAdjustValues':_0x2abdf1[_0x14fc05(0x33a)],'oldAdjustValues':_0x5b44f9,'newLineType':_0x2abdf1[_0x14fc05(0x605)],'oldLineType':_0x1188ed};this[_0x14fc05(0x604)][_0x14fc05(0x2e7)](e['UpdateLineShapeResizeCommand']['id'],_0xa484c7);}['_executeConnectedRouteConnectionCommand'](_0x4789b4,_0x898ea0,_0x126484,_0x1315fe,_0xf52653){const _0x25e86f=_0x1bf676;let _0x1da657=this[_0x25e86f(0x465)]['getShapeData']()[_0x25e86f(0x492)],_0x2ac5bb={..._0x1da657},_0x83f4ea={'shapeId':_0x898ea0[_0x25e86f(0x4b9)],'cxnIndex':_0x898ea0[_0x25e86f(0x3b4)]};_0x1315fe?(_0x2ac5bb['from']=_0x83f4ea,_0x2ac5bb['to']=_0x126484):(_0x2ac5bb[_0x25e86f(0x58b)]=_0x126484,_0x2ac5bb['to']=_0x83f4ea);let _0x24f484={'unitId':this[_0x25e86f(0x1da)],'subUnitId':this['_subUnitId'],'connectorShapeId':this[_0x25e86f(0x488)],'width':_0x4789b4[_0x25e86f(0x2d5)][_0x25e86f(0x5e7)],'height':_0x4789b4[_0x25e86f(0x2d5)][_0x25e86f(0x4f4)],'left':_0x4789b4[_0x25e86f(0x2d5)]['left'],'top':_0x4789b4[_0x25e86f(0x2d5)]['top'],'flipX':_0x4789b4['worldRect']['flipX']||!0x1,'flipY':_0x4789b4['worldRect'][_0x25e86f(0x4f5)]||!0x1,'oldAdjustValues':_0xf52653,'newAdjustValues':_0x4789b4[_0x25e86f(0x33a)],'newLineType':_0x4789b4['lineType'],'rotation':_0x4789b4[_0x25e86f(0x235)],'oldRelation':_0x1da657,'newRelation':_0x2ac5bb};this[_0x25e86f(0x604)]['executeCommand'](e[_0x25e86f(0x606)]['id'],_0x24f484);}[_0x1bf676(0x3e4)](_0x33a4b6,_0x115994,_0x51865e,_0x4a8e7c){const _0x2e43f2=_0x1bf676;let _0x22b75a=this['_activeShapeModel']['getShapeData']()[_0x2e43f2(0x492)],_0x16facc={};_0x51865e?(_0x16facc['to']=_0x115994,_0x16facc[_0x2e43f2(0x58b)]=void 0x0):(_0x16facc['from']=_0x115994,_0x16facc['to']=void 0x0);let _0xcf7958={'unitId':this['_unitId'],'subUnitId':this[_0x2e43f2(0x210)],'connectorShapeId':this[_0x2e43f2(0x488)],'width':_0x33a4b6[_0x2e43f2(0x2d5)][_0x2e43f2(0x5e7)],'height':_0x33a4b6[_0x2e43f2(0x2d5)][_0x2e43f2(0x4f4)],'left':_0x33a4b6[_0x2e43f2(0x2d5)][_0x2e43f2(0x305)],'top':_0x33a4b6[_0x2e43f2(0x2d5)]['top'],'flipX':_0x33a4b6[_0x2e43f2(0x2d5)][_0x2e43f2(0x334)]||!0x1,'flipY':_0x33a4b6[_0x2e43f2(0x2d5)][_0x2e43f2(0x4f5)]||!0x1,'oldAdjustValues':_0x4a8e7c,'newAdjustValues':_0x33a4b6[_0x2e43f2(0x33a)],'newLineType':_0x33a4b6['lineType'],'rotation':_0x33a4b6[_0x2e43f2(0x235)],'oldRelation':_0x22b75a,'newRelation':_0x16facc};this[_0x2e43f2(0x604)][_0x2e43f2(0x2e7)](e[_0x2e43f2(0x606)]['id'],_0xcf7958);}['_attachConnectorObjectEvent'](_0x376311,_0x5930f8,_0xb594d8){const _0xbb599d=_0x1bf676;this[_0xbb599d(0x38d)]((0x0,t[_0xbb599d(0x4c2)])(_0x376311[_0xbb599d(0x319)][_0xbb599d(0x59b)]((_0x516122,_0x1398f2)=>{const _0xb82983=_0xbb599d;let _0x19f521=_0x376311[_0xb82983(0x206)]();if(this[_0xb82983(0x465)]=this[_0xb82983(0x54a)][_0xb82983(0x655)](_0x19f521[_0xb82983(0x3c1)],_0x19f521[_0xb82983(0x5d0)],_0x19f521[_0xb82983(0x45c)]),!this[_0xb82983(0x465)])return;let _0x4dfb91={};this[_0xb82983(0x465)][_0xb82983(0x42e)]()['forEach'](_0x6c7d29=>{const _0x1db5c0=_0xb82983;let _0x5f3fae=this['_activeShapeModel'][_0x1db5c0(0x3b2)](_0x6c7d29);_0x5f3fae!==void 0x0&&(_0x4dfb91[_0x6c7d29]=_0x5f3fae);});let _0x428080=this[_0xb82983(0x2ac)]();if(!_0x428080)return;this[_0xb82983(0x383)]={..._0x428080};let _0x4575ac=new u[(_0xb82983(0x327))](this[_0xb82983(0x383)]),_0x595e1f=(0x0,a[_0xb82983(0x205)])({'unitId':this[_0xb82983(0x1da)],'subUnitId':this[_0xb82983(0x210)],'drawingId':this[_0xb82983(0x488)]}),_0x2c99d1=_0x5930f8[_0xb82983(0x5d3)](_0x595e1f);this['_isConnecting']=!0x0,_0x5930f8[_0xb82983(0x45b)](),this[_0xb82983(0x3f9)][_0xb82983(0x4ed)](_0x5930f8,this[_0xb82983(0x1da)],this[_0xb82983(0x210)],this[_0xb82983(0x488)]),this['_currentConnectionTarget']=null;let _0x32ca28=this[_0xb82983(0x465)][_0xb82983(0x3ea)](),_0xd3ad5d=_0x32ca28[0x0],_0x2e5d23=_0x32ca28[_0x32ca28[_0xb82983(0x2cd)]-0x1],_0x4042eb=_0xb594d8?_0x4575ac[_0xb82983(0x502)](_0x2e5d23):_0x4575ac[_0xb82983(0x502)](_0xd3ad5d);this['_cxtHandlerPointerMove']=_0x5930f8['onPointerMove$'][_0xb82983(0x59b)]((_0x22eadf,_0x3a6396)=>{const _0x4e8e76=_0xb82983;if(!this[_0x4e8e76(0x1df)]||!this['_activeShapeModel'])return;this['_hasReset']||(this[_0x4e8e76(0x3c6)][_0x4e8e76(0x243)](),this[_0x4e8e76(0x465)][_0x4e8e76(0x231)](),this[_0x4e8e76(0x396)]=!0x0);let _0x21f3fd=this[_0x4e8e76(0x1d6)](this[_0x4e8e76(0x1da)],this[_0x4e8e76(0x210)]),_0x843ab5=this['_getZoomRatio'](this[_0x4e8e76(0x1da)],this[_0x4e8e76(0x210)]),_0x145e06={'x':_0x22eadf[_0x4e8e76(0x4a6)]/_0x843ab5+_0x21f3fd['x'],'y':_0x22eadf['offsetY']/_0x843ab5+_0x21f3fd['y']},_0x3fc4c6=this['_sheetBasicShapeConnectionPointController'][_0x4e8e76(0x255)](_0x145e06);if(_0x3fc4c6){let {shapeId:_0x409c3d,unitId:_0x9b8ae6,subUnitId:_0x5a59e4}=_0x3fc4c6;if(_0x409c3d&&_0x9b8ae6&&_0x5a59e4){let _0x544de8=(0x0,a[_0x4e8e76(0x205)])({'unitId':_0x9b8ae6,'subUnitId':_0x5a59e4,'drawingId':_0x409c3d});_0x3fc4c6[_0x4e8e76(0x3fe)]=(_0x5930f8[_0x4e8e76(0x5d3)](_0x544de8)['angle']||0x0)+_0x3fc4c6[_0x4e8e76(0x3fe)];}}this[_0x4e8e76(0x522)]=_0x3fc4c6;let _0x207a45=_0xb594d8?this[_0x4e8e76(0x465)][_0x4e8e76(0x3f2)]():this[_0x4e8e76(0x465)][_0x4e8e76(0x2da)]();if(_0x207a45){this[_0x4e8e76(0x557)](_0x207a45,_0x145e06,_0xb594d8,_0x2c99d1,_0x376311);return;}this[_0x4e8e76(0x366)](_0x145e06,_0x4042eb,_0xb594d8,_0x2c99d1,_0x376311);}),this[_0xb82983(0x318)]=_0x5930f8['onPointerUp$']['subscribeEvent']((_0x421baf,_0x379789)=>{const _0x300623=_0xb82983;this[_0x300623(0x51e)](_0x5930f8,_0x4042eb,_0x421baf,_0xb594d8,_0x4dfb91);}),_0x1398f2[_0xb82983(0x5dd)]();})));}['_handleBasicShapeUpdateConnectorLineShape'](_0x3b55d2,_0x2e67fc,_0x357adf){const _0x4c0935=_0x1bf676;let _0x47a5ba=this[_0x4c0935(0x54a)][_0x4c0935(0x311)](_0x3b55d2,_0x2e67fc,_0x357adf);if(!_0x47a5ba||_0x47a5ba[_0x4c0935(0x2cd)]===0x0)return;let _0x448d61=this[_0x4c0935(0x1e3)][_0x4c0935(0x4bf)](_0x3b55d2);if(!_0x448d61)return;let {scene:_0x418d71}=_0x448d61;for(let _0x2f77bf of _0x47a5ba){let _0x3ebb16=_0x2f77bf[_0x4c0935(0x27a)],_0x177ab2=this['_sheetsShapeService'][_0x4c0935(0x655)](_0x3b55d2,_0x2e67fc,_0x3ebb16);if(!_0x177ab2)continue;let _0x43dbfd=_0x177ab2['getStartConnectInfo'](),_0x12cbb6=_0x177ab2['getEndConnectInfo'](),_0x5c7299=(_0x43dbfd==null?void 0x0:_0x43dbfd[_0x4c0935(0x4b9)])===_0x357adf,_0x41b8f1=(0x0,a['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x3b55d2,'subUnitId':_0x2e67fc,'drawingId':_0x3ebb16}),_0x5565e8=_0x418d71['getObjectIncludeInGroup'](_0x41b8f1);if(!_0x5565e8)continue;let _0x4dd038=this[_0x4c0935(0x673)]['getDrawingByParam']({'unitId':_0x3b55d2,'subUnitId':_0x2e67fc,'drawingId':_0x3ebb16});_0x4dd038!=null&&_0x4dd038[_0x4c0935(0x577)]&&(_0x43dbfd&&_0x12cbb6?this[_0x4c0935(0x253)](_0x3b55d2,_0x2e67fc,_0x3ebb16,_0x177ab2,_0x43dbfd,_0x12cbb6,_0x5565e8):this[_0x4c0935(0x239)](_0x3b55d2,_0x2e67fc,_0x3ebb16,_0x177ab2,_0x5c7299?_0x43dbfd:_0x12cbb6,_0x5c7299,_0x4dd038,_0x5565e8));}}[_0x1bf676(0x253)](_0x59d223,_0xadca44,_0x23cdee,_0x165e6f,_0x6018ec,_0xe48f1c,_0x43825f){const _0x289592=_0x1bf676;let _0x5364c3=this[_0x289592(0x1da)],_0x3e159c=this[_0x289592(0x210)];this[_0x289592(0x1da)]=_0x59d223,this['_subUnitId']=_0xadca44;let _0x4dcd9d=this[_0x289592(0x55f)](_0x6018ec),_0x43fb42=this[_0x289592(0x55f)](_0xe48f1c);if(this['_unitId']=_0x5364c3,this['_subUnitId']=_0x3e159c,!_0x4dcd9d||!_0x43fb42)return;let _0x2e57db=_0x165e6f[_0x289592(0x4c7)](),_0x4e0e64=(0x0,u[_0x289592(0x5ca)])(_0x4dcd9d,_0x43fb42,_0x2e57db);_0x4e0e64&&_0x165e6f[_0x289592(0x41f)](_0x4e0e64);let _0x518133=(0x0,u[_0x289592(0x4c0)])(_0x4e0e64,_0x2e57db);_0x518133[_0x289592(0x605)]!==_0x2e57db&&_0x165e6f[_0x289592(0x57d)](_0x518133[_0x289592(0x605)]),_0x165e6f['clearAdjustValue']();for(let [_0x336de2,_0x1b1576]of Object[_0x289592(0x4a2)](_0x518133[_0x289592(0x33a)]))_0x165e6f['setAdjustValueByName'](_0x336de2,_0x1b1576);_0x165e6f[_0x289592(0x1fe)]({'width':_0x518133[_0x289592(0x2d5)][_0x289592(0x5e7)],'height':_0x518133[_0x289592(0x2d5)][_0x289592(0x4f4)]}),_0x43825f[_0x289592(0x2fd)]({'flipX':_0x518133[_0x289592(0x2d5)]['flipX'],'flipY':_0x518133[_0x289592(0x2d5)][_0x289592(0x4f5)],'left':_0x518133['worldRect'][_0x289592(0x305)],'top':_0x518133['worldRect'][_0x289592(0x447)],'width':_0x518133[_0x289592(0x2d5)][_0x289592(0x5e7)],'height':_0x518133[_0x289592(0x2d5)][_0x289592(0x4f4)],'angle':_0x518133[_0x289592(0x235)]}),_0x165e6f['removeLinePoints']();}[_0x1bf676(0x239)](_0x4d9347,_0x176a80,_0x12e45d,_0x4af2e3,_0x4450e1,_0x2e842a,_0x59311e,_0x1e4307){const _0x2dffd1=_0x1bf676;let _0xd7b048=this[_0x2dffd1(0x1da)],_0x857644=this[_0x2dffd1(0x210)];this[_0x2dffd1(0x1da)]=_0x4d9347,this[_0x2dffd1(0x210)]=_0x176a80;let _0x76928e=this[_0x2dffd1(0x55f)](_0x4450e1);if(this[_0x2dffd1(0x1da)]=_0xd7b048,this[_0x2dffd1(0x210)]=_0x857644,!_0x76928e)return;let {left:_0x35c49b=0x0,top:_0x5c3add=0x0,width:_0x5851fc=0x0,height:_0x15647d=0x0,flipX:_0xc969d5=!0x1,flipY:_0x413113=!0x1}=_0x59311e['transform'],_0x384d71=_0x4af2e3[_0x2dffd1(0x3ea)]();if(_0x384d71[_0x2dffd1(0x2cd)]<0x2)return;let _0x510b96=new u[(_0x2dffd1(0x327))]({'left':_0x35c49b,'top':_0x5c3add,'width':_0x5851fc,'height':_0x15647d,'flipX':_0xc969d5,'flipY':_0x413113}),_0x3c717d=_0x2e842a?_0x384d71[_0x384d71[_0x2dffd1(0x2cd)]-0x1]:_0x384d71[0x0],_0x3240f9=_0x510b96['localToWorld'](_0x3c717d),_0x4675fe=u[_0x2dffd1(0x327)][_0x2dffd1(0x5e2)](_0x3240f9,_0x76928e[_0x2dffd1(0x48e)],!_0x2e842a);_0x1e4307['transformByState']({'flipX':_0x4675fe['worldRect'][_0x2dffd1(0x334)],'flipY':_0x4675fe[_0x2dffd1(0x2d5)][_0x2dffd1(0x4f5)],'left':_0x4675fe[_0x2dffd1(0x2d5)][_0x2dffd1(0x305)],'top':_0x4675fe[_0x2dffd1(0x2d5)][_0x2dffd1(0x447)],'width':_0x4675fe[_0x2dffd1(0x2d5)][_0x2dffd1(0x5e7)],'height':_0x4675fe[_0x2dffd1(0x2d5)][_0x2dffd1(0x4f4)],'angle':_0x4675fe[_0x2dffd1(0x2d5)]['angle']}),_0x1e4307[_0x2dffd1(0x664)](!0x0);}[_0x1bf676(0x374)](){const _0x1125f9=_0x1bf676;this[_0x1125f9(0x302)][_0x1125f9(0x2cd)]!==0x0&&(this[_0x1125f9(0x302)][_0x1125f9(0x5ae)](_0x5be270=>{_0x5be270['dispose']();}),this[_0x1125f9(0x302)]=[]);}[_0x1bf676(0x329)](){const _0x2ecd9b=_0x1bf676;let _0x454683=this[_0x2ecd9b(0x5c9)][_0x2ecd9b(0x662)](t['UniverInstanceType'][_0x2ecd9b(0x280)]);this[_0x2ecd9b(0x38d)](_0x454683[_0x2ecd9b(0x5aa)]((0x0,i[_0x2ecd9b(0x4f7)])(_0x3a2e37=>_0x3a2e37?_0x3a2e37[_0x2ecd9b(0x2fb)][_0x2ecd9b(0x5aa)]((0x0,i['switchMap'])(_0x290472=>{const _0x298d0d=_0x2ecd9b;if(!_0x290472)return i[_0x298d0d(0x4b0)];let _0xb9be21=_0x3a2e37[_0x298d0d(0x34a)](),_0x26160d=this[_0x298d0d(0x1e3)][_0x298d0d(0x4bf)](_0xb9be21),_0xea516c=_0x26160d==null?void 0x0:_0x26160d['scene'];return _0xea516c?(0x0,i['of'])(_0xea516c):i['EMPTY'];})):i[_0x2ecd9b(0x4b0)]))[_0x2ecd9b(0x4e6)](_0x4f9128=>{const _0x361f7f=_0x2ecd9b;let _0x1b6527=_0x4f9128[_0x361f7f(0x564)]();this[_0x361f7f(0x38d)](_0x4f9128[_0x361f7f(0x236)]['subscribeEvent'](_0x2d979e=>{const _0x513a44=_0x361f7f;this['_isDrawingShapePointDown']&&this[_0x513a44(0x488)]&&this['_clearShapeConnectorHandlerObjects']();})),this[_0x361f7f(0x38d)](_0x1b6527[_0x361f7f(0x51b)][_0x361f7f(0x4e6)](_0x2efcf3=>{const _0x315b9f=_0x361f7f;let {objects:_0x3b0b39}=_0x2efcf3;this['_clearShapeConnectorHandlerObjects'](),_0x3b0b39!==null&&_0x3b0b39[_0x315b9f(0x2f5)]===0x1&&_0x3b0b39[_0x315b9f(0x562)]()['next']()[_0x315b9f(0x2bb)]instanceof I&&(this[_0x315b9f(0x34e)]=!0x0);})),this[_0x361f7f(0x38d)](_0x1b6527['changing$'][_0x361f7f(0x4e6)](_0xf2bc4=>{const _0x228092=_0x361f7f;this['_isDrawingShapePointDown']&&this[_0x228092(0x374)]();})),this[_0x361f7f(0x38d)](_0x4f9128[_0x361f7f(0x38a)][_0x361f7f(0x59b)](()=>{const _0x482247=_0x361f7f;this[_0x482247(0x34e)]&&(this[_0x482247(0x34e)]=!0x1,this[_0x482247(0x66c)]());})),this[_0x361f7f(0x38d)](_0x1b6527[_0x361f7f(0x586)]['subscribe'](()=>{const _0x528d29=_0x361f7f;this[_0x528d29(0x1da)]&&this[_0x528d29(0x210)]&&this['_activeShapeId']&&this[_0x528d29(0x673)][_0x528d29(0x300)]({'unitId':this[_0x528d29(0x1da)],'subUnitId':this[_0x528d29(0x210)],'drawingId':this[_0x528d29(0x488)]})&&(this[_0x528d29(0x374)](),this['_addShapeConnectorHandlerObjects']());}));}));}[_0x1bf676(0x2a8)](){const _0x580589=_0x1bf676;this['disposeWithMe'](this[_0x580589(0x673)][_0x580589(0x4c8)][_0x580589(0x4e6)](_0x47829c=>{const _0x5b47b4=_0x580589;if(_0x47829c[_0x5b47b4(0x2cd)]===0x1){let _0x49263e=_0x47829c[0x0];if(_0x49263e['drawingType']===t[_0x5b47b4(0x45e)]['DRAWING_SHAPE']){let _0x5e3525=this[_0x5b47b4(0x54a)]['getShapeModel'](_0x49263e[_0x5b47b4(0x3c1)],_0x49263e['subUnitId'],_0x49263e[_0x5b47b4(0x45c)]);if(_0x5e3525&&(0x0,u['isConnectorShape'])(_0x5e3525[_0x5b47b4(0x4c7)]())){this['_activeShapeId']=_0x49263e[_0x5b47b4(0x45c)],this[_0x5b47b4(0x1da)]=_0x49263e['unitId'],this['_subUnitId']=_0x49263e['subUnitId'],this[_0x5b47b4(0x374)](),this[_0x5b47b4(0x66c)]();return;}}}this[_0x5b47b4(0x488)]=void 0x0,this[_0x5b47b4(0x1da)]=void 0x0,this[_0x5b47b4(0x210)]=void 0x0,this[_0x5b47b4(0x374)]();})),this[_0x580589(0x38d)](this['_drawingManagerService']['update$'][_0x580589(0x4e6)](_0x111b14=>{const _0xebb6d4=_0x580589;if(_0x111b14[_0xebb6d4(0x2cd)]===0x1){var _0x151d99;let _0x276610=_0x111b14[0x0],_0x521a3c=(_0x151d99=this[_0xebb6d4(0x673)][_0xebb6d4(0x300)](_0x276610))==null?void 0x0:_0x151d99[_0xebb6d4(0x24b)];_0x521a3c===t['DrawingTypeEnum'][_0xebb6d4(0x2f9)]&&_0x276610[_0xebb6d4(0x45c)]===this['_activeShapeId']?(this[_0xebb6d4(0x374)](),this['_addShapeConnectorHandlerObjects']()):!this[_0xebb6d4(0x488)]&&_0x521a3c===t[_0xebb6d4(0x45e)]['DRAWING_SHAPE']&&this[_0xebb6d4(0x3da)](_0x276610[_0xebb6d4(0x3c1)],_0x276610[_0xebb6d4(0x5d0)],_0x276610[_0xebb6d4(0x45c)]);}})),this[_0x580589(0x38d)](this[_0x580589(0x673)][_0x580589(0x2be)][_0x580589(0x4e6)](_0x1fb1ba=>{const _0x1175a5=_0x580589;for(let _0xb68ef9 of _0x1fb1ba){let {drawingId:_0x5357f9}=_0xb68ef9;if(this[_0x1175a5(0x488)]===_0x5357f9){this[_0x1175a5(0x50a)]();return;}}}));}['_handleConnectedEndpointMove'](_0x2dffb0,_0x337900,_0x589647,_0x34fe46,_0x2905d2){const _0x16b3e2=_0x1bf676;var _0x3593bf,_0x5f5ca1;if(!this['_activeShapeModel'])return;let _0x5a1c46=this[_0x16b3e2(0x55f)](_0x2dffb0);if(!_0x5a1c46)return;let _0x3e0600=this[_0x16b3e2(0x522)]?this[_0x16b3e2(0x522)][_0x16b3e2(0x463)]:_0x337900,_0x190989=this[_0x16b3e2(0x522)]?this[_0x16b3e2(0x522)][_0x16b3e2(0x3fe)]:this[_0x16b3e2(0x291)](_0x5a1c46['point'],_0x3e0600),_0x32dc62;if(this[_0x16b3e2(0x522)]){let _0x4df28f=this[_0x16b3e2(0x673)][_0x16b3e2(0x300)]({'unitId':this[_0x16b3e2(0x522)][_0x16b3e2(0x3c1)],'subUnitId':this[_0x16b3e2(0x522)][_0x16b3e2(0x5d0)],'drawingId':this['_currentConnectionTarget'][_0x16b3e2(0x4b9)]});if(_0x4df28f!=null&&_0x4df28f[_0x16b3e2(0x577)]){let {left:_0x2ac840=0x0,top:_0x8550e=0x0,width:_0x445f9e=0x0,height:_0x5bd725=0x0,angle:_0xf9ae52}=_0x4df28f[_0x16b3e2(0x577)];_0x32dc62=(0x0,u[_0x16b3e2(0x56c)])({'left':_0x2ac840,'top':_0x8550e,'width':_0x445f9e,'height':_0x5bd725},_0xf9ae52||0x0);}else _0x32dc62={'left':_0x3e0600['x'],'top':_0x3e0600['y'],'width':0x0,'height':0x0};}else _0x32dc62={'left':_0x3e0600['x'],'top':_0x3e0600['y'],'width':0x0,'height':0x0};let _0x34a1bd={'point':_0x3e0600,'angle':_0x190989,'bounds':_0x32dc62},_0x46014b=_0x589647?_0x34a1bd:_0x5a1c46,_0x1f383a=_0x589647?_0x5a1c46:_0x34a1bd,_0xb57283=this[_0x16b3e2(0x465)][_0x16b3e2(0x4c7)](),_0x3f8c65=(0x0,u[_0x16b3e2(0x5ca)])(_0x46014b,_0x1f383a,_0xb57283);_0x3f8c65&&this['_activeShapeModel'][_0x16b3e2(0x41f)](_0x3f8c65);let _0x2701f2=(0x0,u['computeConnectorRouteLayout'])(_0x3f8c65,_0xb57283);_0x2701f2['lineType']!==_0xb57283&&this[_0x16b3e2(0x465)]['changeShapeType'](_0x2701f2[_0x16b3e2(0x605)]);for(let [_0x4aba16,_0x4f7eba]of Object[_0x16b3e2(0x4a2)](_0x2701f2['adjustValues']))this[_0x16b3e2(0x465)][_0x16b3e2(0x37b)](_0x4aba16,_0x4f7eba);this[_0x16b3e2(0x465)][_0x16b3e2(0x1fe)]({'width':_0x2701f2[_0x16b3e2(0x2d5)][_0x16b3e2(0x5e7)],'height':_0x2701f2['worldRect'][_0x16b3e2(0x4f4)]}),_0x34fe46[_0x16b3e2(0x2fd)]({'flipX':_0x2701f2[_0x16b3e2(0x2d5)][_0x16b3e2(0x334)],'flipY':_0x2701f2['worldRect']['flipY'],'left':_0x2701f2[_0x16b3e2(0x2d5)][_0x16b3e2(0x305)],'top':_0x2701f2[_0x16b3e2(0x2d5)]['top'],'width':_0x2701f2[_0x16b3e2(0x2d5)][_0x16b3e2(0x5e7)],'height':_0x2701f2[_0x16b3e2(0x2d5)][_0x16b3e2(0x4f4)],'angle':_0x2701f2[_0x16b3e2(0x235)]}),_0x34fe46[_0x16b3e2(0x664)](!0x0);let _0x935c9f=(_0x3593bf=(_0x5f5ca1=this[_0x16b3e2(0x522)])==null?void 0x0:_0x5f5ca1[_0x16b3e2(0x463)])==null?_0x337900:_0x3593bf;_0x2905d2[_0x16b3e2(0x2fd)]({'left':_0x935c9f['x']-u[_0x16b3e2(0x42d)][_0x16b3e2(0x52c)],'top':_0x935c9f['y']-u['ShapeDefaultConfig'][_0x16b3e2(0x52c)]});}[_0x1bf676(0x366)](_0x12be9c,_0x5ba124,_0x49e1f0,_0x3a791a,_0xd6c6e7){const _0x47e63a=_0x1bf676;var _0x4c2d40,_0x567357,_0x7a9777,_0x11d39d;let _0x22c9f6=(_0x4c2d40=(_0x567357=this[_0x47e63a(0x522)])==null?void 0x0:_0x567357[_0x47e63a(0x463)])==null?_0x12be9c:_0x4c2d40,_0x244d4f=u['ConnectorCoordinateTransform']['computeConnectorResizeLayout'](_0x5ba124,_0x22c9f6,_0x49e1f0);_0x3a791a[_0x47e63a(0x2fd)]({'flipX':_0x244d4f['worldRect'][_0x47e63a(0x334)],'flipY':_0x244d4f['worldRect'][_0x47e63a(0x4f5)],'left':_0x244d4f[_0x47e63a(0x2d5)][_0x47e63a(0x305)],'top':_0x244d4f['worldRect'][_0x47e63a(0x447)],'width':_0x244d4f[_0x47e63a(0x2d5)][_0x47e63a(0x5e7)],'height':_0x244d4f[_0x47e63a(0x2d5)][_0x47e63a(0x4f4)],'angle':_0x244d4f['worldRect']['angle']});let _0xfc5ac6=(_0x7a9777=(_0x11d39d=this[_0x47e63a(0x522)])==null?void 0x0:_0x11d39d[_0x47e63a(0x463)])==null?_0x12be9c:_0x7a9777;_0xd6c6e7[_0x47e63a(0x2fd)]({'left':_0xfc5ac6['x']-u['ShapeDefaultConfig'][_0x47e63a(0x52c)],'top':_0xfc5ac6['y']-u['ShapeDefaultConfig'][_0x47e63a(0x52c)]});}[_0x1bf676(0x55f)](_0x178f58){const _0x3420b5=_0x1bf676;if(!this[_0x3420b5(0x1da)]||!this[_0x3420b5(0x210)])return null;let {shapeId:_0x2a3665,cxnIndex:_0x3f331a}=_0x178f58,_0x43b86b=this['_sheetsShapeService'][_0x3420b5(0x655)](this[_0x3420b5(0x1da)],this[_0x3420b5(0x210)],_0x2a3665);if(!_0x43b86b)return null;let _0x154916=this[_0x3420b5(0x673)]['getDrawingByParam']({'unitId':this[_0x3420b5(0x1da)],'subUnitId':this[_0x3420b5(0x210)],'drawingId':_0x2a3665});if(!(_0x154916!=null&&_0x154916[_0x3420b5(0x577)]))return null;let {left:_0x27be41=0x0,top:_0x5c527a=0x0,width:_0x11ad54=0x0,height:_0x14cc27=0x0,flipX:_0x47e3a6=!0x1,flipY:_0x16ac06=!0x1,angle:_0x15ab8e}=_0x154916['transform'];_0x43b86b['updateContext']({'width':_0x11ad54,'height':_0x14cc27});let _0x407c19=_0x43b86b[_0x3420b5(0x5ba)]()[_0x3420b5(0x24a)](_0x5eb746=>_0x5eb746[_0x3420b5(0x658)]===_0x3f331a);if(!_0x407c19)return null;let _0x5d748a=_0x47e3a6?_0x11ad54-_0x407c19['x']:_0x407c19['x'],_0x35c341=_0x16ac06?_0x14cc27-_0x407c19['y']:_0x407c19['y'];if(_0x15ab8e!==0x0&&_0x15ab8e!=null){let _0x48fd59=_0x15ab8e*Math['PI']/0xb4,_0x12b714=Math[_0x3420b5(0x2ec)](_0x48fd59),_0x4acac9=Math['sin'](_0x48fd59),_0x4b5b28=_0x11ad54/0x2,_0x2d23bc=_0x14cc27/0x2,_0x2a05a5=_0x5d748a-_0x4b5b28,_0xb7ec30=_0x35c341-_0x2d23bc;_0x5d748a=_0x4b5b28+_0x2a05a5*_0x12b714-_0xb7ec30*_0x4acac9,_0x35c341=_0x2d23bc+_0x2a05a5*_0x4acac9+_0xb7ec30*_0x12b714;}_0x5d748a+=_0x27be41,_0x35c341+=_0x5c527a;let _0x5e03c0=_0x407c19[_0x3420b5(0x481)]/0xea60;_0x47e3a6&&(_0x5e03c0=0xb4-_0x5e03c0),_0x16ac06&&(_0x5e03c0=-_0x5e03c0),_0x5e03c0+=_0x15ab8e||0x0,_0x5e03c0=(_0x5e03c0%0x168+0x168)%0x168;let _0x487046=(0x0,u['getBasicShapeRotateBound'])({'left':_0x27be41,'top':_0x5c527a,'width':_0x11ad54,'height':_0x14cc27},_0x15ab8e||0x0);return{'point':{'x':_0x5d748a,'y':_0x35c341},'angle':_0x5e03c0,'bounds':_0x487046};}['_calculateFreeEndpointAngle'](_0x548c8e,_0x279a3d){const _0x40f7f0=_0x1bf676;let _0x4f594e=_0x279a3d['x']-_0x548c8e['x'],_0x39b9d7=_0x279a3d['y']-_0x548c8e['y'];return Math[_0x40f7f0(0x28f)](_0x4f594e)>=Math[_0x40f7f0(0x28f)](_0x39b9d7)?_0x4f594e>=0x0?0xb4:0x0:_0x39b9d7>=0x0?0x10e:0x5a;}[_0x1bf676(0x50a)](){const _0x53ef14=_0x1bf676;this[_0x53ef14(0x488)]=void 0x0,this[_0x53ef14(0x1da)]=void 0x0,this[_0x53ef14(0x210)]=void 0x0,this['_clearShapeConnectorHandlerObjects']();}[_0x1bf676(0x53f)](){const _0x546057=_0x1bf676;this[_0x546057(0x374)](),super[_0x546057(0x53f)]();}};Z=R([L(0x1,t[_0x1bf676(0x63c)]),L(0x2,o[_0x1bf676(0x4b4)]),L(0x3,a[_0x1bf676(0x5a6)]),L(0x4,t[_0x1bf676(0x247)]),L(0x5,(0x0,t[_0x1bf676(0x589)])(e[_0x1bf676(0x35a)])),L(0x6,(0x0,t[_0x1bf676(0x589)])(B)),L(0x7,(0x0,t[_0x1bf676(0x589)])(Y))],Z);let Q=class extends t[_0x1bf676(0x5b5)]{constructor(_0x1827c1,_0xad7e40,_0xc26968){const _0x554827=_0x1bf676;super(),this['_commandService']=_0x1827c1,this[_0x554827(0x55b)]=_0xad7e40,this[_0x554827(0x642)]=_0xc26968,this['_initPermission']();}['_initPermission'](){const _0x411880=_0x1bf676;this[_0x411880(0x38d)](this[_0x411880(0x604)]['beforeCommandExecuted'](_0x5dc3d6=>{const _0x3dba02=_0x411880;let _0x1219d8,_0x1a7401;if(_0x5dc3d6['id']===e[_0x3dba02(0x414)]['id']||_0x5dc3d6['id']===e[_0x3dba02(0x681)]['id']||_0x5dc3d6['id']===e['UpdateConnectorRelationCommand']['id']){let _0x43c67b=_0x5dc3d6['params'];_0x1219d8=_0x43c67b[_0x3dba02(0x3c1)],_0x1a7401=_0x43c67b[_0x3dba02(0x5d0)];}!_0x1219d8||!_0x1a7401||this[_0x3dba02(0x642)]['permissionCheckWithoutRange']({'workbookTypes':[n[_0x3dba02(0x37c)]],'worksheetTypes':[n[_0x3dba02(0x5c1)]]},_0x1219d8,_0x1a7401)||this['_sheetPermissionCheckController']['blockExecuteWithoutPermission'](this[_0x3dba02(0x55b)]['t'](_0x3dba02(0x3fb)));}));}};Q=R([L(0x0,(0x0,t['Inject'])(t[_0x1bf676(0x63c)])),L(0x1,(0x0,t[_0x1bf676(0x589)])(t[_0x1bf676(0x67e)])),L(0x2,(0x0,t[_0x1bf676(0x589)])(n[_0x1bf676(0x28c)]))],Q);let $=class extends t[_0x1bf676(0x503)]{constructor(_0x109da2=Ce,_0x314c46,_0x4ea808,_0x45767d,_0x2337fd){const _0x5429c1=_0x1bf676;super(),this[_0x5429c1(0x2a9)]=_0x109da2,this[_0x5429c1(0x35b)]=_0x314c46,this['_commandService']=_0x4ea808,this[_0x5429c1(0x28d)]=_0x45767d,this[_0x5429c1(0x1e3)]=_0x2337fd;let {..._0x1c4f1f}=(0x0,t[_0x5429c1(0x54c)])({},Ce,this[_0x5429c1(0x2a9)]);this[_0x5429c1(0x28d)]['setConfig'](_0x5429c1(0x548),_0x1c4f1f),this[_0x5429c1(0x5ec)]();}['onRendered'](){const _0x42ce6f=_0x1bf676;(0x0,t['touchDependencies'])(this[_0x42ce6f(0x35b)],[[U],[W],[z]]);}[_0x1bf676(0x21e)](){const _0x30b76b=_0x1bf676;this[_0x30b76b(0x35b)]['get'](U)['initShapePopupMenu']();}[_0x1bf676(0x27b)](){const _0x104175=_0x1bf676;[[Y],[B],[X]][_0x104175(0x5ae)](_0x414ac0=>this[_0x104175(0x35b)][_0x104175(0x444)](_0x414ac0)),(0x0,t['touchDependencies'])(this[_0x104175(0x35b)],[[X]]),this[_0x104175(0x1e3)]['registerRenderModule'](t[_0x104175(0x683)]['UNIVER_SHEET'],[Y]),this[_0x104175(0x1e3)][_0x104175(0x359)](t[_0x104175(0x683)][_0x104175(0x280)],[B]),this['_renderManagerService'][_0x104175(0x359)](t['UniverInstanceType'][_0x104175(0x280)],[K]),this['_renderManagerService'][_0x104175(0x359)](t[_0x104175(0x683)][_0x104175(0x280)],[Z]),this[_0x104175(0x1e3)][_0x104175(0x359)](t[_0x104175(0x683)][_0x104175(0x280)],[je]),this[_0x104175(0x1e3)][_0x104175(0x359)](t[_0x104175(0x683)][_0x104175(0x2fe)],[J]);}[_0x1bf676(0x630)](){const _0x58bf52=_0x1bf676;this[_0x58bf52(0x35b)][_0x58bf52(0x444)]([G]),this['_injector']['get'](G);let _0x2d9332=this[_0x58bf52(0x35b)];[[U],[W],[z],[C],[q],[H],[Q]][_0x58bf52(0x5ae)](_0x4bad7d=>_0x2d9332[_0x58bf52(0x444)](_0x4bad7d)),(0x0,t['touchDependencies'])(this[_0x58bf52(0x35b)],[[U],[W],[z],[C],[q],[H],[Q]]);}[_0x1bf676(0x5ec)](){const _0x504f8b=_0x1bf676;[V,T,A,E,D,k,O,M,N,j,se]['forEach'](_0x3e7944=>this[_0x504f8b(0x38d)](this[_0x504f8b(0x604)][_0x504f8b(0x337)](_0x3e7944)));}};S($,'type',t[_0x1bf676(0x683)][_0x1bf676(0x280)]),S($,_0x1bf676(0x405),_0x1bf676(0x3d8)),S($,_0x1bf676(0x651),xe),S($,'version',Se),$=R([(0x0,t[_0x1bf676(0x5d5)])(g[_0x1bf676(0x219)],e[_0x1bf676(0x5b3)]),L(0x1,(0x0,t[_0x1bf676(0x589)])(t[_0x1bf676(0x330)])),L(0x2,t[_0x1bf676(0x63c)]),L(0x3,t[_0x1bf676(0x393)]),L(0x4,o['IRenderManagerService'])],$),exports['SetShapeTextFontSizeCommand']=D,exports[_0x1bf676(0x54d)]=k,exports['SetShapeTextFontSizeIncreaseCommand']=O,exports[_0x1bf676(0x63a)]=E,exports['SetShapeTextVerticalAlignCommand']=A,exports[_0x1bf676(0x583)]=j,Object['defineProperty'](exports,_0x1bf676(0x5b4),{'enumerable':!0x0,'get':function(){return U;}}),Object['defineProperty'](exports,_0x1bf676(0x3e5),{'enumerable':!0x0,'get':function(){return $;}}),exports['UpdateShapeDataCommand']=T;
|