@univerjs-pro/docs-shape-ui 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +21 -21
- package/lib/types/controllers/config.schema.d.ts +0 -7
- package/lib/types/controllers/docs-shape-ui.controller.d.ts +0 -64
- package/lib/types/controllers/menu.schema.d.ts +0 -2
- package/lib/types/view-model/shape-data-model.d.ts +0 -6
- package/lib/types/views/ShapeOptions.d.ts +0 -30
- package/lib/types/views/shape-editor-panel/ShapeLineEditor.d.ts +0 -11
- package/lib/types/views/shape-editor-panel/index.d.ts +0 -1
- package/lib/types/views/shape-floating-toolbar/shape-floating-toolbar-utils.d.ts +0 -10
- package/lib/types/views/shape-text-editor/Editor.d.ts +0 -21
- package/lib/types/views/shape-text-editor/ShapePositionWrapper.d.ts +0 -15
- package/lib/types/views/shape-text-editor/ShapeTextFloatToolbar.d.ts +0 -1
- package/lib/types/views/shape-text-editor/hooks/use-shape-position.d.ts +0 -29
- package/lib/types/views/shapes.d.ts +0 -58
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x18b36b,_0x60ef9){const _0x1b7435=_0x13b1,_0x3a4af2=_0x18b36b();while(!![]){try{const _0x3a4eaa=-parseInt(_0x1b7435(0x13d))/0x1+-parseInt(_0x1b7435(0x392))/0x2+-parseInt(_0x1b7435(0x3df))/0x3*(-parseInt(_0x1b7435(0x94))/0x4)+parseInt(_0x1b7435(0x35d))/0x5+parseInt(_0x1b7435(0x2a5))/0x6+-parseInt(_0x1b7435(0xde))/0x7+parseInt(_0x1b7435(0xa3))/0x8*(parseInt(_0x1b7435(0x1ad))/0x9);if(_0x3a4eaa===_0x60ef9)break;else _0x3a4af2['push'](_0x3a4af2['shift']());}catch(_0x1ca8f7){_0x3a4af2['push'](_0x3a4af2['shift']());}}}(_0x4005,0x98564),function(_0x2183c0,_0x3f4615){const _0x4e565d=_0x13b1;typeof exports==_0x4e565d(0x2ab)&&typeof module<'u'?_0x3f4615(exports,require('@univerjs-pro/shape-editor-ui'),require('@univerjs/docs-ui'),require('@univerjs/ui'),require('@univerjs-pro/docs-shape'),require('@univerjs-pro/engine-shape'),require('@univerjs-pro/shape-editor'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/docs-drawing'),require('@univerjs/engine-render'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('react/jsx-runtime'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/docs-drawing-ui'),require('react'),require('@univerjs/design'),require('@univerjs/protocol')):typeof define==_0x4e565d(0x188)&&define[_0x4e565d(0x3f4)]?define(['exports',_0x4e565d(0x215),_0x4e565d(0x31a),'@univerjs/ui',_0x4e565d(0x381),_0x4e565d(0x2ee),_0x4e565d(0x162),_0x4e565d(0x16a),_0x4e565d(0x324),'@univerjs/docs-drawing',_0x4e565d(0x7e),_0x4e565d(0x15b),_0x4e565d(0x13c),'react/jsx-runtime',_0x4e565d(0x22d),'@univerjs-pro/license',_0x4e565d(0x122),'react','@univerjs/design',_0x4e565d(0x274)],_0x3f4615):(_0x2183c0=typeof globalThis<'u'?globalThis:_0x2183c0||self,_0x3f4615(_0x2183c0[_0x4e565d(0x3ba)]={},_0x2183c0[_0x4e565d(0xbf)],_0x2183c0['UniverDocsUi'],_0x2183c0[_0x4e565d(0x24a)],_0x2183c0[_0x4e565d(0x1ce)],_0x2183c0[_0x4e565d(0x2fe)],_0x2183c0[_0x4e565d(0x3dd)],_0x2183c0[_0x4e565d(0x199)],_0x2183c0[_0x4e565d(0x37c)],_0x2183c0['UniverDocsDrawing'],_0x2183c0['UniverEngineRender'],_0x2183c0[_0x4e565d(0xc1)],_0x2183c0[_0x4e565d(0x217)],_0x2183c0['React'],_0x2183c0[_0x4e565d(0x22d)],_0x2183c0[_0x4e565d(0x19c)],_0x2183c0['UniverDocsDrawingUi'],_0x2183c0[_0x4e565d(0x193)],_0x2183c0['UniverDesign'],_0x2183c0[_0x4e565d(0x385)]));}(this,function(_0x49ca5b,_0x4c260e,_0x3de3d4,_0x481e6e,_0x3a6658,_0x50389c,_0x231cab,_0x55a2b9,_0x25471a,_0x470cf9,_0x33e80b,_0x4613e6,_0xfafa51,_0x21ff84,_0x18add5,_0x4e56d9,_0x1352d9,_0x2fb5d7,_0x42c54d,_0x3547e0){const _0xa601e6=_0x13b1;Object[_0xa601e6(0x2bb)](_0x49ca5b,Symbol['toStringTag'],{'value':_0xa601e6(0x3cf)});function _0x5a6548(_0x20a61e,_0x37218d){const _0x2064ae=_0xa601e6;if(_0x37218d){if((0x0,_0x50389c['isConnectorShape'])(_0x20a61e)&&(_0x37218d[_0x2064ae(0x2f8)]||_0x37218d[_0x2064ae(0x398)]))return{'ln':{'startArrow':_0x37218d['startArrow']?{'type':_0x50389c['ShapeArrowTypeEnum'][_0x2064ae(0x1aa)],'size':_0x50389c['ShapeArrowSizeEnum'][_0x2064ae(0x176)]}:void 0x0,'endArrow':_0x37218d[_0x2064ae(0x398)]?{'type':_0x50389c['ShapeArrowTypeEnum'][_0x2064ae(0x1aa)],'size':_0x50389c['ShapeArrowSizeEnum'][_0x2064ae(0x258)]}:void 0x0}};if(_0x20a61e===_0x50389c[_0x2064ae(0x83)][_0x2064ae(0x1b5)]&&(_0x37218d[_0x2064ae(0x266)]||_0x37218d[_0x2064ae(0x369)]))return(0x0,_0x231cab[_0x2064ae(0x297)])({'fill':{'fillType':_0x50389c[_0x2064ae(0x391)][_0x2064ae(0x250)],'color':_0x2064ae(0xdd)},'isHorizontal':!!_0x37218d[_0x2064ae(0x266)],'stroke':{'lineStrokeType':_0x50389c['ShapeLineTypeEnum'][_0x2064ae(0x37b)],'width':0x1,'color':_0x2064ae(0x207)}});}}function _0x130019(_0x51208d,_0x2f3c7f){const _0x1c772f=_0xa601e6;var _0x4c1df3;let _0x20d3b3=_0x2f3c7f[_0x1c772f(0x1fc)]??'',_0x530baf=(_0x4c1df3=_0x51208d[_0x1c772f(0x72)](_0x20d3b3))==null?void 0x0:_0x4c1df3['getBody']();if(!_0x530baf)return null;let _0x379f08=_0x530baf[_0x1c772f(0x1ee)]??[],_0x537e77=_0x379f08[_0x1c772f(0x177)](_0x409be7=>{const _0x40ff20=_0x1c772f;let _0x464df4=(0x0,_0x55a2b9['getParagraphContentStartOffset'])(_0x530baf,_0x409be7);return _0x2f3c7f[_0x40ff20(0x200)]>=_0x464df4&&_0x2f3c7f[_0x40ff20(0x200)]<=_0x409be7[_0x40ff20(0x33a)];})??_0x379f08[_0x379f08['length']-0x1];return _0x537e77?{'paragraphId':_0x537e77['paragraphId'],'segmentId':_0x20d3b3,'position':_0x3a6658[_0x1c772f(0xa2)][_0x1c772f(0xea)],'offset':_0x2f3c7f[_0x1c772f(0x200)]-(0x0,_0x55a2b9[_0x1c772f(0x380)])(_0x530baf,_0x537e77)}:null;}function _0x3b79d2(_0x275fd5,_0xa928b7,_0x37d2f5){const _0x21bbf7=_0xa601e6;var _0x4582ae,_0x2b076b;if(!_0x37d2f5)return null;let _0x21cc16=(_0x4582ae=_0x275fd5[_0x21bbf7(0xe4)](_0x33e80b[_0x21bbf7(0xf2)])[_0x21bbf7(0x27c)](_0xa928b7))==null?void 0x0:_0x4582ae['with'](_0x3de3d4[_0x21bbf7(0x1c2)])[_0x21bbf7(0x218)];if(!_0x21cc16)return null;let _0x359e73=_0x37d2f5===_0x21bbf7(0x2fc)?{'startOffset':_0x21cc16[_0x21bbf7(0x18d)][_0x21bbf7(0x238)],'endOffset':_0x21cc16[_0x21bbf7(0x18d)][_0x21bbf7(0x238)]}:_0x21cc16[_0x21bbf7(0x2a0)];return{'startOffset':_0x359e73[_0x21bbf7(0x200)],'endOffset':_0x359e73[_0x21bbf7(0x238)],'collapsed':_0x359e73[_0x21bbf7(0x200)]===_0x359e73[_0x21bbf7(0x238)],'segmentId':((_0x2b076b=_0x21cc16[_0x21bbf7(0x280)])==null?void 0x0:_0x2b076b[_0x21bbf7(0x1fc)])??''};}let _0x1e85b0={'type':_0x55a2b9['CommandType'][_0xa601e6(0xcf)],'id':'doc.command.menu-insert-shape','handler':async(_0x35a000,_0x306394)=>{const _0x20dac9=_0xa601e6;let _0x4b6424=_0x35a000[_0x20dac9(0xe4)](_0x55a2b9['IUniverInstanceService'])[_0x20dac9(0x2a7)](_0x55a2b9[_0x20dac9(0x2b8)][_0x20dac9(0x1c9)]);if(!_0x4b6424)return!0x1;let _0x4ef816=_0x35a000[_0x20dac9(0xe4)](_0x55a2b9[_0x20dac9(0xab)]),_0x246ebc=_0x4b6424[_0x20dac9(0x25b)](),_0x3cda4d=_0x306394[_0x20dac9(0x187)]??(0x0,_0x55a2b9['generateRandomId'])(),_0x7c13df=_0x306394[_0x20dac9(0x11a)]??_0x3a6658[_0x20dac9(0x3dc)],_0x3706a2=_0x306394[_0x20dac9(0x198)]??_0x3a6658['DEFAULT_DOC_SHAPE_HEIGHT'],_0x5ceb7c=_0x306394[_0x20dac9(0x2ad)]??_0x5a6548(_0x306394[_0x20dac9(0x2e3)],_0x306394[_0x20dac9(0x319)]),_0x4bb209=_0x3b79d2(_0x35a000,_0x246ebc,_0x306394[_0x20dac9(0x20c)])??_0x35a000[_0x20dac9(0xe4)](_0x25471a[_0x20dac9(0x268)])[_0x20dac9(0x390)]();if(!_0x4bb209)return!0x1;let _0x589772=_0x130019(_0x4b6424,_0x4bb209);return _0x589772?!!_0x4ef816[_0x20dac9(0x16d)](_0x3a6658['InsertDocShapeCommand']['id'],{'unitId':_0x246ebc,'shapeId':_0x3cda4d,'shapeType':_0x306394[_0x20dac9(0x2e3)],'shapeData':_0x5ceb7c,'transform':{'width':_0x7c13df,'height':_0x3706a2},'placement':{'wrappingStyle':_0x470cf9['TextWrappingStyle'][_0x20dac9(0x365)],'anchor':_0x589772}}):!0x1;}},_0x37b8fd=_0xa601e6(0x10a),_0x38df9e=_0xa601e6(0x2bc),_0x57d974='doc.shape.object-list.panel',_0x21dfd9=(0x0,_0x55a2b9['createInternalEditorID'])(_0xa601e6(0x34d)),_0x50cbfb=_0xa601e6(0x9c),_0x37a98f='DocsShapeTextEditorContainer',_0x3b80ed={'id':'doc.operation.open-shape-object-list-panel','type':_0x55a2b9[_0xa601e6(0x146)][_0xa601e6(0xcf)],'handler':(_0xe69030,_0x3bc3b3)=>{const _0x42f878=_0xa601e6;let _0x3a1bcf=_0xe69030['get'](_0x481e6e[_0x42f878(0x108)]),_0x12b348=_0xe69030[_0x42f878(0xe4)](_0x55a2b9['LocaleService']),_0x5a7503=_0xe69030[_0x42f878(0xe4)](_0x4613e6[_0x42f878(0x362)]);return(_0x3bc3b3==null?void 0x0:_0x3bc3b3[_0x42f878(0x2e3)])===_0x42f878(0x2c7)?(_0x3a1bcf[_0x42f878(0x2c7)](_0x57d974),!0x0):(_0x3a1bcf[_0x42f878(0x290)]({'id':_0x57d974,'header':{'title':_0x12b348['t'](_0x42f878(0x36d))},'children':{'label':_0x57d974},'onClose':()=>{const _0x3a664e=_0x42f878;_0x5a7503[_0x3a664e(0x2e7)](null);},'width':0x168}),!0x0);}},_0x47887f={'type':_0x55a2b9['CommandType'][_0xa601e6(0xd5)],'id':_0xa601e6(0x2e5),'handler'(){return!0x0;}};function _0x3f2825(_0x142e8e){const _0x4092e9=_0xa601e6;let _0x509273=_0x142e8e[_0x4092e9(0xe4)](_0x4613e6[_0x4092e9(0x362)])[_0x4092e9(0x2aa)](),_0x42a6fc=_0x509273['length']===0x1?_0x509273[0x0]:null;if(!_0x42a6fc||_0x42a6fc[_0x4092e9(0x343)]!==_0x55a2b9[_0x4092e9(0x23a)]['DRAWING_SHAPE'])return null;let _0x2cf42a=_0x142e8e[_0x4092e9(0xe4)](_0x3a6658[_0x4092e9(0xaa)]),_0x45ed55=_0x2cf42a[_0x4092e9(0x3d6)](_0x42a6fc['unitId'],_0x42a6fc['subUnitId'],_0x42a6fc[_0x4092e9(0x120)]),_0x5a34e7=_0x2cf42a[_0x4092e9(0x236)](_0x42a6fc['unitId'],_0x42a6fc['subUnitId'],_0x42a6fc['drawingId']);return _0x45ed55===void 0x0||!_0x5a34e7?null:{'drawing':_0x42a6fc,'shapeData':_0x5a34e7,'shapeType':_0x45ed55};}let _0x52f25b={'id':_0xa601e6(0x221),'type':_0x55a2b9[_0xa601e6(0x146)]['OPERATION'],'handler':(_0x3a94f1,_0xe60121)=>{const _0x1d49e3=_0xa601e6;let _0xbe450b=_0x3f2825(_0x3a94f1),_0x2f482b=(0x0,_0x231cab[_0x1d49e3(0xcc)])((_0xe60121==null?void 0x0:_0xe60121[_0x1d49e3(0x10f)])??(_0xe60121==null?void 0x0:_0xe60121[_0x1d49e3(0x2e3)])??'');if(!_0xbe450b||!_0x2f482b||_0x2f482b[_0x1d49e3(0x14d)]!==(0x0,_0x231cab[_0x1d49e3(0x84)])(_0xbe450b[_0x1d49e3(0x2ad)]))return!0x1;let _0x10c08a=(0x0,_0x231cab['applyQuickStyleToShapeData'])(_0xbe450b['shapeData'],_0x2f482b);if(!_0x10c08a)return!0x1;let {drawing:_0x5e5dac}=_0xbe450b;return _0x3a94f1[_0x1d49e3(0xe4)](_0x55a2b9[_0x1d49e3(0xab)])[_0x1d49e3(0x3e4)](_0x3a6658[_0x1d49e3(0x39e)]['id'],{'unitId':_0x5e5dac[_0x1d49e3(0x1f9)],'shapeId':_0x5e5dac[_0x1d49e3(0x120)],'shapeData':_0x10c08a,'oldShapeJSON':{'oldShapeData':_0xbe450b[_0x1d49e3(0x2ad)]}});}},_0x59288a={'id':_0xa601e6(0xbe),'type':_0x55a2b9[_0xa601e6(0x146)][_0xa601e6(0xd5)],'handler':(_0x11e7cf,_0x2344b6)=>{const _0x7f3dc0=_0xa601e6;let _0x31f3ff=_0x3f2825(_0x11e7cf),_0x2bd19b=(_0x2344b6==null?void 0x0:_0x2344b6['shapeType'])??(_0x2344b6==null?void 0x0:_0x2344b6[_0x7f3dc0(0x2e3)]);if(!_0x31f3ff||!_0x2bd19b||(0x0,_0x50389c[_0x7f3dc0(0x3a3)])(_0x31f3ff[_0x7f3dc0(0x395)])||(0x0,_0x50389c[_0x7f3dc0(0x3a3)])(_0x2bd19b))return!0x1;let _0x3402a0=(0x0,_0x231cab[_0x7f3dc0(0x2f6)])(_0x31f3ff[_0x7f3dc0(0x2ad)],_0x2bd19b);if(!_0x3402a0)return!0x1;let {drawing:_0x497f89}=_0x31f3ff;return _0x11e7cf['get'](_0x55a2b9['ICommandService'])[_0x7f3dc0(0x3e4)](_0x3a6658[_0x7f3dc0(0x39e)]['id'],{'unitId':_0x497f89[_0x7f3dc0(0x1f9)],'shapeId':_0x497f89[_0x7f3dc0(0x120)],'shapeType':_0x2bd19b,'shapeData':_0x3402a0,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x31f3ff[_0x7f3dc0(0x395)],'oldShapeData':_0x31f3ff[_0x7f3dc0(0x2ad)]}});}};function _0x4d90b3(_0x45faf8,_0x1587be){return function(_0x1c0b55,_0x589657){_0x1587be(_0x1c0b55,_0x589657,_0x45faf8);};}function _0x14e959(_0x5961e3,_0x303153,_0x42be25,_0xd237f2){const _0x2a085d=_0xa601e6;var _0xe437e4=arguments[_0x2a085d(0x3ea)],_0x4a1d8c=_0xe437e4<0x3?_0x303153:_0xd237f2===null?_0xd237f2=Object[_0x2a085d(0x3e9)](_0x303153,_0x42be25):_0xd237f2,_0x4d3cfb;if(typeof Reflect=='object'&&typeof Reflect[_0x2a085d(0x2d8)]==_0x2a085d(0x188))_0x4a1d8c=Reflect[_0x2a085d(0x2d8)](_0x5961e3,_0x303153,_0x42be25,_0xd237f2);else{for(var _0x250d1a=_0x5961e3[_0x2a085d(0x3ea)]-0x1;_0x250d1a>=0x0;_0x250d1a--)(_0x4d3cfb=_0x5961e3[_0x250d1a])&&(_0x4a1d8c=(_0xe437e4<0x3?_0x4d3cfb(_0x4a1d8c):_0xe437e4>0x3?_0x4d3cfb(_0x303153,_0x42be25,_0x4a1d8c):_0x4d3cfb(_0x303153,_0x42be25))||_0x4a1d8c);}return _0xe437e4>0x3&&_0x4a1d8c&&Object['defineProperty'](_0x303153,_0x42be25,_0x4a1d8c),_0x4a1d8c;}let _0x1b99fd=class extends _0x55a2b9[_0xa601e6(0x175)]{constructor(_0x5eee9c,_0x4043da){const _0x5998ec=_0xa601e6;super(),this[_0x5998ec(0x28b)]=_0x5eee9c,this[_0x5998ec(0x34e)]=_0x4043da,this[_0x5998ec(0x75)](),this[_0x5998ec(0x28b)][_0x5998ec(0x223)](!0x0),this[_0x5998ec(0x321)]({'dispose':()=>this[_0x5998ec(0x28b)]['setCanUseShapeClip'](!0x1)});}[_0xa601e6(0x75)](){const _0x323a3b=_0xa601e6;let _0x23d202=new Map(),_0x13448c=this['_clipService']['registerClipDelegate']((_0x2122fc,_0x4d2df3,_0x46592c,_0x54a5d6,_0x59b5ba)=>{const _0x1ec47d=_0x13b1;let _0x572f99=_0x4d2df3;if(_0x572f99===_0x50389c['ShapeTypeEnum'][_0x1ec47d(0x22f)]||_0x4d2df3===_0x1ec47d(0x106))return!0x1;try{let _0xf25e2e=_0x23d202[_0x1ec47d(0xe4)](_0x4d2df3);return _0xf25e2e||(_0xf25e2e=new _0x50389c[(_0x1ec47d(0x95))](_0x572f99,_0x1ec47d(0x355)+_0x4d2df3),_0x23d202[_0x1ec47d(0x36a)](_0x4d2df3,_0xf25e2e)),_0xf25e2e[_0x1ec47d(0x311)](),_0x59b5ba&&Object[_0x1ec47d(0x2fb)](_0x59b5ba)[_0x1ec47d(0x3ea)]>0x0&&_0xf25e2e[_0x1ec47d(0x386)]({'adjustValues':_0x59b5ba},!0x0),_0xf25e2e[_0x1ec47d(0x2ae)]({'width':_0x46592c,'height':_0x54a5d6}),_0xf25e2e['buildClipPath'](_0x2122fc,{'left':0x0,'top':0x0,'width':_0x46592c,'height':_0x54a5d6});}catch{return!0x1;}});this['disposeWithMe'](_0x13448c),this[_0x323a3b(0x321)]({'dispose':()=>_0x23d202[_0x323a3b(0x6e)]()});}[_0xa601e6(0x348)](_0x9a8914,_0x262bb5,_0x36983a,_0x3ff1b3,_0x69cd77){const _0xcf16d=_0xa601e6;let _0x39cf08=this['_drawingManagerService']['getDrawingData'](_0x9a8914,_0x262bb5)[_0x36983a];_0x39cf08&&_0x39cf08['drawingType']===_0x55a2b9[_0xcf16d(0x23a)][_0xcf16d(0x260)]&&this[_0xcf16d(0x34e)][_0xcf16d(0x21c)]([{..._0x39cf08,'prstGeom':_0x3ff1b3,'adjustValues':_0x69cd77}]);}};_0x1b99fd=_0x14e959([_0x4d90b3(0x0,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0xfafa51['DrawingImageClipService'])),_0x4d90b3(0x1,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x4613e6['IDrawingManagerService']))],_0x1b99fd);let _0x58155c='doc.shape.picker.component',_0x5651bd=_0xa601e6(0x9d);function _0x1e7ed5({onShapeClick:_0x596a26,excludeGroups:_0x421da3}){const _0x58a7b5=_0xa601e6;return(0x0,_0x21ff84[_0x58a7b5(0x11b)])(_0x4c260e[_0x58a7b5(0x2ce)],{'excludeGroups':_0x421da3,'onShapeClick':_0x596a26,'scrollContainer':_0x58a7b5(0x3eb)});}function _0x409a96(){const _0x394db2=_0xa601e6;let _0xbb414b=(0x0,_0x481e6e[_0x394db2(0x2c3)])(_0x4613e6[_0x394db2(0x362)]),_0x3cc0e3=(0x0,_0x481e6e[_0x394db2(0x2c3)])(_0x1b99fd);return _0x3326ea=>{const _0x191a9a=_0x394db2;let _0x285f1b=_0xbb414b[_0x191a9a(0x2aa)]()[_0x191a9a(0x177)](_0x17fe05=>_0x17fe05[_0x191a9a(0x343)]===_0x55a2b9[_0x191a9a(0x23a)]['DRAWING_IMAGE']);_0x285f1b&&_0x3cc0e3[_0x191a9a(0x348)](_0x285f1b['unitId'],_0x285f1b[_0x191a9a(0xed)],_0x285f1b[_0x191a9a(0x120)],_0x3326ea['type']);};}function _0x35e8a8(){const _0x2e5f3e=_0xa601e6;let _0x344928=_0x409a96();return(0x0,_0x21ff84[_0x2e5f3e(0x11b)])(_0x4c260e['ShapePickerDropdown'],{'buttonLabel':_0x2e5f3e(0x2ef),'excludeGroups':[_0x4c260e['ShapeGroupEnum'][_0x2e5f3e(0xd1)]],'onShapeClick':_0x344928});}function _0x407e71(){const _0x3f3557=_0xa601e6;let _0x2eca11=(0x0,_0x481e6e[_0x3f3557(0x2c3)])(_0x481e6e[_0x3f3557(0x27b)]),_0x8f2d49=(0x0,_0x481e6e[_0x3f3557(0x2c3)])(_0x4613e6[_0x3f3557(0x362)]),_0xf4b6dd=(0x0,_0x481e6e[_0x3f3557(0x2c3)])(_0x55a2b9[_0x3f3557(0x151)]),_0x3dadb6=_0x8f2d49['getFocusDrawings']()[0x0],_0x46fbed=_0x3dadb6?_0xf4b6dd['getUnitType'](_0x3dadb6['unitId']):void 0x0,_0x1ddfac=_0x46fbed===_0x55a2b9['UniverInstanceType'][_0x3f3557(0x1c9)]?_0x5651bd:_0x46fbed===_0x55a2b9['UniverInstanceType']['UNIVER_SHEET']?_0x3f3557(0x38d):void 0x0,_0x5663b4=_0x1ddfac?_0x2eca11[_0x3f3557(0xe4)](_0x1ddfac):void 0x0;return _0x5663b4?(0x0,_0x21ff84[_0x3f3557(0x11b)])(_0x5663b4,{}):null;}function _0x12b3c3({paragraphMenuPlacement:_0x5c84f0,PickerComponent:_0x37aa07=_0x1e7ed5}){const _0x3b4d6f=_0xa601e6;let _0xc46980=(0x0,_0x481e6e[_0x3b4d6f(0x2c3)])(_0x55a2b9[_0x3b4d6f(0xab)]);return(0x0,_0x21ff84[_0x3b4d6f(0x11b)])(_0x37aa07,{'onShapeClick':_0x4ef2ae=>{const _0x24e646=_0x3b4d6f;_0xc46980['executeCommand'](_0x1e85b0['id'],{'paragraphMenuPlacement':_0x5c84f0,'value':_0x4ef2ae[_0x24e646(0x14d)],'enhanceParams':{'endArrow':_0x4ef2ae[_0x24e646(0x398)],'startArrow':_0x4ef2ae['startArrow'],'horizontal':_0x4ef2ae[_0x24e646(0x266)],'vertical':_0x4ef2ae['vertical']}});}});}function _0x2dc6a1(_0x3b5f2d){const _0x13b5ec=_0xa601e6;return _0x6df9ae=>({'id':_0x1e85b0['id'],'type':_0x481e6e['MenuItemType'][_0x13b5ec(0x1fb)],'selections':[{'label':{'name':_0x58155c,'hoverable':!0x1,'selectable':!0x1,'props':_0x3b5f2d?{'id':_0x1e85b0['id'],'paragraphMenuPlacement':_0x3b5f2d}:{'id':_0x1e85b0['id']}}}],'icon':'ShapeIcon','title':_0x13b5ec(0x317),'tooltip':_0x13b5ec(0x317),'hidden$':(0x0,_0x481e6e[_0x13b5ec(0x309)])(_0x6df9ae,_0x55a2b9[_0x13b5ec(0x2b8)]['UNIVER_DOC'])});}let _0x2de5ee=_0x2dc6a1(),_0x55f603=_0x2dc6a1(_0xa601e6(0x2fc)),_0x2c284f=_0x2dc6a1(_0xa601e6(0xf4));function _0x5583c0(_0x1e61fb){const _0x4d7bc7=_0xa601e6;return{'id':_0x3b80ed['id'],'type':_0x481e6e['MenuItemType'][_0x4d7bc7(0xe0)],'icon':'ObjectLayersIcon','title':'docs-shape-ui.objectListPanel.open','tooltip':'docs-shape-ui.objectListPanel.open','hidden$':(0x0,_0x481e6e['getMenuHiddenObservable'])(_0x1e61fb,_0x55a2b9[_0x4d7bc7(0x2b8)][_0x4d7bc7(0x1c9)])};}function _0x5df502(_0x3be88b,_0x85d1ca,_0x467ed7,_0x551ff0,_0x4f4bbe,_0x5f53a3){const _0x58e63a=_0xa601e6;let _0x47af8c={'unitId':_0x85d1ca,'shapeId':_0x551ff0,'shapeData':_0x5f53a3,'oldShapeJSON':_0x4f4bbe};return _0x3be88b[_0x58e63a(0x3e4)](_0x3a6658[_0x58e63a(0x39e)]['id'],_0x47af8c);}function _0x3e0e73(_0x74982f,_0x343af9,_0xfa140,_0x5ea581,_0x389c1b,_0x1cdb21){const _0x615fed=_0xa601e6;let _0x26056e={'unitId':_0x343af9,'shapeId':_0x5ea581,'shapeData':_0x1cdb21,'oldShapeJSON':_0x389c1b};return _0x74982f[_0x615fed(0x3e4)](_0x3a6658[_0x615fed(0x39e)]['id'],_0x26056e);}let _0x37ad9a='docs-shape-ui.shape-format.quick-style-gallery',_0x17a03d=_0xa601e6(0x3ce),_0x1f4017='docs-shape-ui.shape-format.text-ribbon-control',_0xa4b40c=_0xa601e6(0x2d7),_0x3b5997=_0xa601e6(0x155),_0x4c919c=[{'value':_0x470cf9[_0xa601e6(0x31e)][_0xa601e6(0x365)],'label':_0xa601e6(0xc3),'icon':_0xa601e6(0x3b8)},{'value':_0x470cf9['TextWrappingStyle'][_0xa601e6(0x7d)],'label':_0xa601e6(0x2d9),'icon':_0xa601e6(0x1e6)},{'value':_0x470cf9[_0xa601e6(0x31e)][_0xa601e6(0x2f5)],'label':_0xa601e6(0x33d),'icon':_0xa601e6(0x3d7)},{'value':_0x470cf9[_0xa601e6(0x31e)]['BEHIND_TEXT'],'label':_0xa601e6(0x24d),'icon':_0xa601e6(0x371)},{'value':_0x470cf9[_0xa601e6(0x31e)][_0xa601e6(0x363)],'label':_0xa601e6(0x373),'icon':_0xa601e6(0x183)}];function _0x2fe7e4(){const _0x261e28=_0xa601e6;let _0x53921e=(0x0,_0x481e6e[_0x261e28(0x2c3)])(_0x55a2b9[_0x261e28(0xab)]),_0x3a5cc5=(0x0,_0x481e6e[_0x261e28(0x2c3)])(_0x4613e6[_0x261e28(0x362)]),_0x2885b0=(0x0,_0x481e6e[_0x261e28(0x2c3)])(_0x3a6658['DocsShapeService']),_0x41fc01=()=>{const _0xa17e65=_0x261e28;var _0x492ea7;let _0x505843=_0x3a5cc5[_0xa17e65(0x2aa)]();if(_0x505843[_0xa17e65(0x3ea)]!==0x1||((_0x492ea7=_0x505843[0x0])==null?void 0x0:_0x492ea7[_0xa17e65(0x343)])!==_0x55a2b9['DrawingTypeEnum'][_0xa17e65(0x3e0)])return null;let {unitId:_0x4aa663,subUnitId:_0x5a468d,drawingId:_0x500fa5}=_0x505843[0x0],_0x145cc3=_0x2885b0['getShapeTypeById'](_0x4aa663,_0x5a468d,_0x500fa5),_0x1878c5=_0x2885b0[_0xa17e65(0x236)](_0x4aa663,_0x5a468d,_0x500fa5);return _0x145cc3===void 0x0||!_0x1878c5?null:{'unitId':_0x4aa663,'subUnitId':_0x5a468d,'drawingId':_0x500fa5,'shapeType':_0x145cc3,'shapeData':_0x1878c5};},_0x74ddbf=(0x0,_0x481e6e[_0x261e28(0x275)])(()=>new _0x18add5[(_0x261e28(0x39c))](_0x2ca447=>{const _0x4b1409=_0x261e28;let _0x494889=()=>_0x2ca447['next'](_0x41fc01()),_0x5d9b5a=_0x3a5cc5['focus$'][_0x4b1409(0x18e)](_0x494889),_0x1293c0=_0x53921e[_0x4b1409(0x23c)](_0x4a74f4=>{const _0x50aa85=_0x4b1409;_0x4a74f4['id']===_0x3a6658[_0x50aa85(0x3e7)]['id']&&_0x494889();});return _0x494889(),()=>{const _0xab885c=_0x4b1409;_0x5d9b5a[_0xab885c(0x316)](),_0x1293c0[_0xab885c(0x304)]();};}),_0x41fc01(),!0x1,[_0x53921e,_0x2885b0,_0x3a5cc5]);return{'selection':_0x74ddbf,'updateShapeData':_0x11d6b5=>{const _0x157507=_0x261e28;_0x74ddbf&&_0x5df502(_0x53921e,_0x74ddbf[_0x157507(0x1f9)],_0x74ddbf[_0x157507(0xed)],_0x74ddbf[_0x157507(0x120)],{'oldShapeData':_0x74ddbf['shapeData']},_0x11d6b5);}};}function _0x3d0fc5(){const _0xc43493=_0xa601e6;let {selection:_0x2a21d7,updateShapeData:_0x4084a6}=_0x2fe7e4();return _0x2a21d7?(0x0,_0x21ff84['jsx'])(_0x4c260e[_0xc43493(0x12e)],{'shapeData':_0x2a21d7[_0xc43493(0x2ad)],'shapeType':_0x2a21d7[_0xc43493(0x395)],'onUpdateShapeData':_0x4084a6}):null;}function _0x5dfbe7(){const _0x40767a=_0xa601e6;let _0x140de3=(0x0,_0x481e6e[_0x40767a(0x2c3)])(_0x55a2b9[_0x40767a(0xab)]),_0xa6642e=(0x0,_0x481e6e[_0x40767a(0x2c3)])(_0x55a2b9[_0x40767a(0x2d0)]),{selection:_0x20019e}=_0x2fe7e4();return _0x20019e?(0x0,_0x21ff84['jsx'])(_0x4c260e[_0x40767a(0x254)],{'type':(0x0,_0x231cab[_0x40767a(0x84)])(_0x20019e[_0x40767a(0x2ad)]),'ariaLabel':_0xa6642e['t'](_0x40767a(0x2a6)),'activePresetId':(0x0,_0x231cab[_0x40767a(0x15f)])(_0x20019e[_0x40767a(0x2ad)]),'onSelect':_0x3d37b6=>_0x140de3[_0x40767a(0x3e4)](_0x52f25b['id'],{'presetId':_0x3d37b6})}):null;}function _0x2cb9fb(){const _0x3c4f7e=_0xa601e6;let {selection:_0x1640c0,updateShapeData:_0x17d63f}=_0x2fe7e4();return _0x1640c0?(0x0,_0x21ff84['jsx'])(_0x4c260e[_0x3c4f7e(0x382)],{'fontFamilyPopupDataComponent':_0x3c4f7e(0x358),'shapeData':_0x1640c0[_0x3c4f7e(0x2ad)],'onUpdateShapeData':_0x17d63f}):null;}function _0x4ee0d5(){const _0x4c73e1=_0xa601e6;var _0x261179;let {selection:_0x43e7c0,updateShapeData:_0x2f09b6}=_0x2fe7e4(),_0x2be9ff=(0x0,_0x4c260e[_0x4c73e1(0xba)])({'hostType':_0x55a2b9[_0x4c73e1(0x2b8)][_0x4c73e1(0x1c9)],'unitId':(_0x43e7c0==null?void 0x0:_0x43e7c0[_0x4c73e1(0x1f9)])??'','subUnitId':(_0x43e7c0==null?void 0x0:_0x43e7c0[_0x4c73e1(0xed)])??'','shapeId':(_0x43e7c0==null?void 0x0:_0x43e7c0[_0x4c73e1(0x120)])??'','shapeData':_0x43e7c0==null?void 0x0:_0x43e7c0['shapeData'],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x4c73e1(0x3f6),'onUpdateBinding':_0x481cd6=>_0x2f09b6({'formulaBinding':_0x481cd6})}),_0x228537=((_0x261179=_0x2be9ff[_0x4c73e1(0x2c6)])==null?void 0x0:_0x261179['flatMap'](_0x488f72=>_0x488f72[_0x4c73e1(0xc0)])[_0x4c73e1(0x1a6)](_0xc26197=>_0xc26197[_0x4c73e1(0x15a)]!==!0x1))??[];return _0x43e7c0!=null&&_0x43e7c0[_0x4c73e1(0x2ad)][_0x4c73e1(0x9a)]?(0x0,_0x21ff84[_0x4c73e1(0x11b)])(_0x4c260e[_0x4c73e1(0x1e5)],{'actions':_0x228537,'panel':_0x2be9ff[_0x4c73e1(0x206)]}):null;}function _0x398471({value:_0x374e3d}){const _0xa3b45d=_0xa601e6;let _0x5c9a8d=(0x0,_0x481e6e[_0xa3b45d(0x2c3)])(_0x55a2b9[_0xa3b45d(0x2d0)]),_0xc27eb5=_0x4c919c[_0xa3b45d(0x177)](_0x4efa4f=>_0x4efa4f[_0xa3b45d(0x2e3)]===_0x374e3d)??_0x4c919c[0x0];return _0xc27eb5?(0x0,_0x21ff84[_0xa3b45d(0x11b)])(_0xa3b45d(0x21a),{'children':_0x5c9a8d['t'](_0xc27eb5[_0xa3b45d(0x29a)])}):null;}let _0x1b973e='docs-shape-ui.ribbon.shape-format.style-control',_0x5c3217=_0xa601e6(0xa6),_0x28f5d3=_0xa601e6(0xe7),_0x59d9f2=_0xa601e6(0x121),_0x5cbd48='docs-shape-ui.ribbon.shape-format.arrange-backward',_0x4d377b='docs-shape-ui.ribbon.shape-format.arrange-front',_0x1af568=_0xa601e6(0x252),_0x18f94a=_0xa601e6(0x2ca);function _0x4ba8d3(_0x28623e){const _0x45899d=_0xa601e6;let _0x2e626d=_0x28623e[_0x45899d(0xe4)](_0x55a2b9['ICommandService']),_0x119e48=_0x28623e[_0x45899d(0xe4)](_0x4613e6[_0x45899d(0x362)]),_0x169ead=_0x28623e['get'](_0x3a6658[_0x45899d(0xaa)]);return new _0x18add5[(_0x45899d(0x39c))](_0x193f0a=>{const _0x313fcc=_0x45899d;let _0x58e143=()=>{const _0x2f0403=_0x13b1;let _0x270481=_0x516223(_0x28623e),_0x5dab11=_0x270481?_0x169ead[_0x2f0403(0x236)](_0x270481[_0x2f0403(0x1f9)],_0x270481[_0x2f0403(0xed)],_0x270481['drawingId']):null;_0x193f0a[_0x2f0403(0x387)](_0x5dab11?(0x0,_0x231cab[_0x2f0403(0x15f)])(_0x5dab11)??'':'');},_0xd162bb=_0x119e48[_0x313fcc(0xe3)][_0x313fcc(0x18e)](_0x58e143),_0x473d20=_0x2e626d['onCommandExecuted'](_0x554e23=>{const _0x332fa0=_0x313fcc;_0x554e23['id']===_0x3a6658[_0x332fa0(0x3e7)]['id']&&_0x58e143();});return _0x58e143(),()=>{const _0x5cbc19=_0x313fcc;_0xd162bb[_0x5cbc19(0x316)](),_0x473d20[_0x5cbc19(0x304)]();};});}function _0x516223(_0x21a2e4){const _0x546e7c=_0xa601e6;var _0x59169e;let _0xb803f2=_0x21a2e4['get'](_0x4613e6[_0x546e7c(0x362)])[_0x546e7c(0x2aa)]();return _0xb803f2[_0x546e7c(0x3ea)]===0x1&&((_0x59169e=_0xb803f2[0x0])==null?void 0x0:_0x59169e[_0x546e7c(0x343)])===_0x55a2b9['DrawingTypeEnum']['DRAWING_SHAPE']?_0xb803f2[0x0]:null;}function _0x3ba199(_0xc2cb7a){const _0x2de9f1=_0xa601e6;return(_0xc2cb7a==null?void 0x0:_0xc2cb7a['layoutType'])===_0x55a2b9[_0x2de9f1(0x9f)][_0x2de9f1(0x156)]?_0xc2cb7a[_0x2de9f1(0x341)]===_0x55a2b9['BooleanNumber'][_0x2de9f1(0x2d4)]?_0x470cf9[_0x2de9f1(0x31e)][_0x2de9f1(0x105)]:_0x470cf9[_0x2de9f1(0x31e)][_0x2de9f1(0x363)]:(_0xc2cb7a==null?void 0x0:_0xc2cb7a[_0x2de9f1(0x3a2)])===_0x55a2b9['PositionedObjectLayoutType']['WRAP_SQUARE']?_0x470cf9[_0x2de9f1(0x31e)][_0x2de9f1(0x7d)]:(_0xc2cb7a==null?void 0x0:_0xc2cb7a[_0x2de9f1(0x3a2)])===_0x55a2b9['PositionedObjectLayoutType'][_0x2de9f1(0x2f5)]?_0x470cf9[_0x2de9f1(0x31e)][_0x2de9f1(0x2f5)]:_0x470cf9[_0x2de9f1(0x31e)]['INLINE'];}function _0x4818e2(_0x5de7f0){const _0x27416a=_0xa601e6;let _0x39281e=_0x5de7f0['get'](_0x55a2b9['ICommandService']),_0x878205=_0x5de7f0['get'](_0x4613e6[_0x27416a(0x362)]),_0x4c1326=_0x5de7f0['get'](_0x55a2b9[_0x27416a(0x151)]);return new _0x18add5[(_0x27416a(0x39c))](_0x17badd=>{const _0x5689e2=_0x27416a;let _0x4355a2=()=>{const _0x50921f=_0x13b1;var _0x400da;let _0x4b61c8=_0x516223(_0x5de7f0),_0x2be82a=_0x4b61c8?_0x4c1326[_0x50921f(0x35a)](_0x4b61c8['unitId'],_0x55a2b9[_0x50921f(0x2b8)]['UNIVER_DOC']):void 0x0;_0x17badd['next'](_0x3ba199(_0x4b61c8?_0x2be82a==null||(_0x400da=_0x2be82a['getSnapshot']()[_0x50921f(0x351)])==null?void 0x0:_0x400da[_0x4b61c8['drawingId']]:void 0x0));},_0x260edd=_0x878205[_0x5689e2(0xe3)][_0x5689e2(0x18e)](_0x4355a2),_0x4c7125=_0x39281e[_0x5689e2(0x23c)](_0x1dc912=>{const _0x59b9ca=_0x5689e2;_0x1dc912['id']===_0x25471a[_0x59b9ca(0xf0)]['id']&&_0x4355a2();});return _0x4355a2(),()=>{const _0x513e86=_0x5689e2;_0x260edd[_0x513e86(0x316)](),_0x4c7125[_0x513e86(0x304)]();};})[_0x27416a(0x137)]((0x0,_0x18add5[_0x27416a(0x89)])());}function _0x59e377(_0x5b4ae2,_0x29f675=!0x1){const _0x1a4511=_0xa601e6;let _0x2f5cc5=_0x5b4ae2['get'](_0x55a2b9[_0x1a4511(0xab)]),_0xcaf900=_0x5b4ae2['get'](_0x4613e6[_0x1a4511(0x362)]),_0x23bac0=_0x5b4ae2[_0x1a4511(0xe4)](_0x3a6658[_0x1a4511(0xaa)]);return new _0x18add5[(_0x1a4511(0x39c))](_0x541188=>{const _0x416f3a=_0x1a4511;let _0x5d7674=()=>{const _0x46ae47=_0x13b1;let _0x319121=_0x516223(_0x5b4ae2);if(!_0x319121){_0x541188[_0x46ae47(0x387)](!0x0);return;}let _0xc842a6=_0x23bac0[_0x46ae47(0x236)](_0x319121[_0x46ae47(0x1f9)],_0x319121[_0x46ae47(0xed)],_0x319121['drawingId']);_0x541188[_0x46ae47(0x387)](!_0xc842a6||_0x29f675&&_0xc842a6[_0x46ae47(0x9a)]==null);},_0x4b7b7e=_0xcaf900[_0x416f3a(0xe3)][_0x416f3a(0x18e)](_0x5d7674),_0x3407aa=_0x2f5cc5[_0x416f3a(0x23c)](_0x1920be=>{const _0x179a39=_0x416f3a;_0x1920be['id']===_0x3a6658[_0x179a39(0x3e7)]['id']&&_0x5d7674();});return _0x5d7674(),()=>{const _0x4b83a2=_0x416f3a;_0x4b7b7e['unsubscribe'](),_0x3407aa[_0x4b83a2(0x304)]();};});}function _0xf62f1f(_0x6dffa8){const _0x708002=_0xa601e6;let _0x268ae1=_0x6dffa8['get'](_0x4613e6[_0x708002(0x362)]),_0x36bd7c=_0x6dffa8[_0x708002(0xe4)](_0x3a6658[_0x708002(0xaa)]);return _0x268ae1[_0x708002(0xe3)][_0x708002(0x137)]((0x0,_0x18add5['startWith'])(_0x268ae1[_0x708002(0x2aa)]()),(0x0,_0x18add5[_0x708002(0x285)])(()=>{const _0x294aa0=_0x708002;let _0x241694=_0x516223(_0x6dffa8),_0x5cdbc8=_0x241694?_0x36bd7c[_0x294aa0(0x3d6)](_0x241694['unitId'],_0x241694[_0x294aa0(0xed)],_0x241694['drawingId']):void 0x0;return _0x5cdbc8===void 0x0||(0x0,_0x50389c[_0x294aa0(0x3a3)])(_0x5cdbc8);}));}function _0x469bea(_0x134183){const _0x59ce7f=_0xa601e6;return{'id':_0x52f25b['id'],'type':_0x481e6e[_0x59ce7f(0x113)][_0x59ce7f(0x1fb)],'icon':_0x59ce7f(0x1e7),'title':_0x59ce7f(0x3f8),'tooltip':_0x59ce7f(0x3f8),'selections':[{'label':{'name':_0x37ad9a,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x4ba8d3(_0x134183),'hidden$':_0x59e377(_0x134183)};}function _0x43689c(_0x1fe3b0){const _0x4f6de8=_0xa601e6;return{'id':_0x59288a['id'],'type':_0x481e6e['MenuItemType']['SELECTOR'],'icon':_0x4f6de8(0x169),'title':'shape-editor-ui.toolbar.changeShape','tooltip':_0x4f6de8(0xbd),'slot':!0x0,'selections':[{'label':{'name':_0x4c260e[_0x4f6de8(0x1db)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0xf62f1f(_0x1fe3b0)};}function _0x43eea2(_0x86f193,_0x2f15d2,_0x5670b0=!0x1){const _0x5c8460=_0xa601e6;return _0x472bfe=>({'id':_0x86f193,'type':_0x481e6e['MenuItemType'][_0x5c8460(0xe0)],'label':{'name':_0x2f15d2,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x59e377(_0x472bfe,_0x5670b0)});}let _0x37e320=_0x43eea2(_0x1b973e,_0x17a03d),_0x215196=_0x43eea2(_0x5c3217,_0x1f4017),_0x5d812c=_0x43eea2(_0x28f5d3,_0xa4b40c,!0x0);function _0x5a36cf(_0x11eeb5){const _0x66f52=_0xa601e6;return{'id':_0x18f94a,'type':_0x481e6e[_0x66f52(0x113)][_0x66f52(0x1fb)],'icon':_0x4c919c[0x0][_0x66f52(0x326)],'label':_0x3b5997,'selectionsCommandId':_0x470cf9[_0x66f52(0x3c2)]['id'],'selections':_0x4c919c[_0x66f52(0x285)](({icon:_0x4f7be4,label:_0x373ba8,value:_0x3ac4ca})=>({'value':_0x3ac4ca,'label':_0x373ba8,'icon':_0x4f7be4,'params':()=>{const _0x39a72b=_0x66f52;let _0x359030=_0x516223(_0x11eeb5);return _0x359030?{'unitId':_0x359030[_0x39a72b(0x1f9)],'subUnitId':_0x359030[_0x39a72b(0xed)],'drawings':[{'unitId':_0x359030[_0x39a72b(0x1f9)],'subUnitId':_0x359030[_0x39a72b(0xed)],'drawingId':_0x359030[_0x39a72b(0x120)]}],'wrappingStyle':_0x3ac4ca}:void 0x0;}})),'value$':_0x4818e2(_0x11eeb5),'hidden$':_0x59e377(_0x11eeb5)};}function _0x1924ca(_0x4bef8e,_0x2b9a31,_0x86b64b,_0x31b886){const _0x3e1896=_0xa601e6;return _0x12f994=>({'id':_0x4bef8e,'commandId':_0x470cf9['SetDocDrawingArrangeCommand']['id'],'type':_0x481e6e[_0x3e1896(0x113)]['BUTTON'],'icon':_0x86b64b,'title':_0x31b886,'tooltip':_0x31b886,'hidden$':_0x59e377(_0x12f994),'params':()=>{const _0x19d630=_0x3e1896;let _0x3bac03=_0x516223(_0x12f994);return _0x3bac03?{'unitId':_0x3bac03[_0x19d630(0x1f9)],'subUnitId':_0x3bac03['subUnitId'],'drawingIds':[_0x3bac03[_0x19d630(0x120)]],'arrangeType':_0x2b9a31}:void 0x0;}});}let _0x2579b0=_0x1924ca(_0x59d9f2,_0x55a2b9[_0xa601e6(0x3a5)][_0xa601e6(0x3e8)],_0xa601e6(0x34c),_0xa601e6(0x299)),_0x5957ee=_0x1924ca(_0x5cbd48,_0x55a2b9['ArrangeTypeEnum'][_0xa601e6(0x173)],_0xa601e6(0x3ac),_0xa601e6(0x1c6)),_0x36019f=_0x1924ca(_0x4d377b,_0x55a2b9['ArrangeTypeEnum'][_0xa601e6(0xb7)],'TopmostIcon',_0xa601e6(0x1da)),_0x35d981=_0x1924ca(_0x1af568,_0x55a2b9['ArrangeTypeEnum'][_0xa601e6(0x1fa)],_0xa601e6(0x7f),_0xa601e6(0x26d));function _0x3e8ca8(_0x5bde65){const _0x58abd8=_0xa601e6;return{'id':_0x47887f['id'],'type':_0x481e6e['MenuItemType'][_0x58abd8(0xe0)],'icon':_0x58abd8(0x1f2),'title':_0x58abd8(0x1cc),'tooltip':_0x58abd8(0x1cc),'hidden$':_0x59e377(_0x5bde65),'params':()=>{const _0x33fc49=_0x58abd8;let _0x1c1cd4=_0x516223(_0x5bde65);return _0x1c1cd4?{'unitId':_0x1c1cd4[_0x33fc49(0x1f9)],'subUnitId':_0x1c1cd4[_0x33fc49(0xed)],'drawingId':_0x1c1cd4[_0x33fc49(0x120)]}:void 0x0;}};}let _0x3e72d0={[_0x481e6e[_0xa601e6(0x3b3)]['RIBBON']]:{[_0x38df9e]:{'order':0x64,'title':_0xa601e6(0x1cc),'contextual':!0x0,'docs-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x52f25b['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x469bea},[_0x59288a['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x43689c}},'docs-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x1b973e]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x37e320}},'docs-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x5c3217]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x215196}},'docs-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x18f94a]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'columnSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x5a36cf},[_0x59d9f2]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x2579b0},[_0x5cbd48]:{'order':0x2,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x5957ee},[_0x4d377b]:{'order':0x3,'gridLayout':{'row':0x1,'column':0x4},'menuItemFactory':_0x36019f},[_0x1af568]:{'order':0x4,'gridLayout':{'row':0x2,'column':0x4},'menuItemFactory':_0x35d981}},'docs-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x28f5d3]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x5d812c}},'docs-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x47887f['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x3e8ca8},[_0x4c260e[_0xa601e6(0x3c4)]['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x4c260e['ShapeFloatingToolbarToggleFactory']}}}}},_0x565b14={[_0x481e6e[_0xa601e6(0x279)][_0xa601e6(0x33e)]]:{[_0x1e85b0['id']]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x5b033a=>({..._0x2de5ee(_0x5b033a),'title':void 0x0})}},[_0x481e6e['RibbonInsertGroup']['OTHERS']]:{[_0x3b80ed['id']]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x2,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x5583c0}},[_0x481e6e[_0xa601e6(0x25f)][_0xa601e6(0x336)]]:{[_0x481e6e[_0xa601e6(0x2c5)][_0xa601e6(0x2d2)]]:{[_0x3de3d4[_0xa601e6(0x197)]]:{[_0x1e85b0['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x55f603}}},[_0x3de3d4[_0xa601e6(0x1b9)]]:{[_0x481e6e[_0xa601e6(0x2c5)][_0xa601e6(0x2d2)]]:{[_0x1e85b0['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x55f603}}},[_0x3de3d4[_0xa601e6(0x201)]]:{[_0x481e6e[_0xa601e6(0x2c5)][_0xa601e6(0x2d2)]]:{[_0x1e85b0['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x2c284f}}},[_0x3de3d4['DOC_PARAGRAPH_T_INSERT_MENU_ID']]:{'insert':{[_0x1e85b0['id']]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x2de5ee}}},[_0x3de3d4['DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID']]:{'insert':{[_0x1e85b0['id']+'.below']:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x55f603}}}}};var _0x4fc8c5=_0xa601e6(0x170),_0x5903dd=_0xa601e6(0x1ea);let _0x540093={'type':_0x55a2b9[_0xa601e6(0x146)]['OPERATION'],'id':_0xa601e6(0x1ae),'handler'(){return!0x0;}},_0x229a90=_0xa601e6(0x376),_0x5d2746={};function _0x438193(_0x40c800){'@babel/helpers - typeof';const _0x1789f4=_0xa601e6;return _0x438193=typeof Symbol=='function'&&typeof Symbol[_0x1789f4(0x360)]==_0x1789f4(0x12f)?function(_0x5e23cd){return typeof _0x5e23cd;}:function(_0x40e9da){const _0x1fd4f7=_0x1789f4;return _0x40e9da&&typeof Symbol==_0x1fd4f7(0x188)&&_0x40e9da['constructor']===Symbol&&_0x40e9da!==Symbol[_0x1fd4f7(0x3af)]?_0x1fd4f7(0x12f):typeof _0x40e9da;},_0x438193(_0x40c800);}function _0x410bf0(_0x4abcf9,_0x3961b7){const _0x13382f=_0xa601e6;if(_0x438193(_0x4abcf9)!=_0x13382f(0x2ab)||!_0x4abcf9)return _0x4abcf9;var _0x180efd=_0x4abcf9[Symbol[_0x13382f(0x352)]];if(_0x180efd!==void 0x0){var _0x346829=_0x180efd[_0x13382f(0x93)](_0x4abcf9,_0x3961b7||_0x13382f(0x281));if(_0x438193(_0x346829)!=_0x13382f(0x2ab))return _0x346829;throw TypeError(_0x13382f(0x97));}return(_0x3961b7===_0x13382f(0x7c)?String:Number)(_0x4abcf9);}function _0x3f864d(_0x5f545e){const _0x1c1a33=_0xa601e6;var _0x5abfe7=_0x410bf0(_0x5f545e,_0x1c1a33(0x7c));return _0x438193(_0x5abfe7)==_0x1c1a33(0x12f)?_0x5abfe7:_0x5abfe7+'';}function _0x535fda(_0xf928c8,_0x4aa015,_0x370feb){return(_0x4aa015=_0x3f864d(_0x4aa015))in _0xf928c8?Object['defineProperty'](_0xf928c8,_0x4aa015,{'value':_0x370feb,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xf928c8[_0x4aa015]=_0x370feb,_0xf928c8;}var _0x487c06=class extends _0x33e80b['Shape']{constructor(_0x3d2317,_0x3f0832){const _0xbcc5a3=_0xa601e6;super(_0x3d2317,_0x3f0832),_0x535fda(this,_0xbcc5a3(0x3a0),null),_0x535fda(this,_0xbcc5a3(0x263),null),_0x535fda(this,_0xbcc5a3(0x378),null),_0x535fda(this,_0xbcc5a3(0xc4),null),_0x3f0832&&this['setShapeProps'](_0x3f0832);}[_0xa601e6(0x24e)](){const _0x3752b3=_0xa601e6;return{'unitId':this[_0x3752b3(0x378)],'subUnitId':this[_0x3752b3(0xc4)],'drawingId':this[_0x3752b3(0x3a0)]};}[_0xa601e6(0x161)](_0x5867ec){const _0x4e32cf=_0xa601e6;_0x5867ec[_0x4e32cf(0x187)]!==void 0x0&&(this[_0x4e32cf(0x3a0)]=_0x5867ec[_0x4e32cf(0x187)]),_0x5867ec[_0x4e32cf(0xdb)]!==void 0x0&&(this[_0x4e32cf(0x263)]=_0x5867ec[_0x4e32cf(0xdb)]),_0x5867ec[_0x4e32cf(0x1f9)]!==void 0x0&&(this[_0x4e32cf(0x378)]=_0x5867ec[_0x4e32cf(0x1f9)]),_0x5867ec[_0x4e32cf(0xed)]!==void 0x0&&(this[_0x4e32cf(0xc4)]=_0x5867ec[_0x4e32cf(0xed)]),this['transformByState']({'width':_0x5867ec['width'],'height':_0x5867ec[_0x4e32cf(0x198)]});}[_0xa601e6(0x242)](_0x198e61){const _0x2eb3d7=_0xa601e6;_0x33e80b[_0x2eb3d7(0x12d)][_0x2eb3d7(0x1c8)](_0x198e61,{'radius':_0x50389c['ShapeDefaultConfig'][_0x2eb3d7(0x2a1)],'fill':_0x50389c['ShapeDefaultConfig']['adjHandleFill'],'stroke':_0x50389c[_0x2eb3d7(0xb1)]['adjHandleStroke'],'strokeWidth':0x1,'evented':!0x0});}};function _0x544b8b(_0x1f692f,_0x246257,_0x56cab5){const _0x3214b0=_0xa601e6;let _0x5e6905={..._0x246257,'dataModel':{..._0x246257[_0x3214b0(0xf1)]??{},..._0x56cab5?{'doc':_0x56cab5}:null}},_0x2ab8f5=(0x0,_0x4c260e[_0x3214b0(0x1f1)])(_0x1f692f,_0x5e6905),_0x30ee18=(0x0,_0x4c260e[_0x3214b0(0x1f6)])(_0x2ab8f5);return{'clip':(0x0,_0x4c260e[_0x3214b0(0x147)])(_0x2ab8f5,_0x30ee18),'wrapStrategy':_0x30ee18};}var _0x33774c=class extends _0x33e80b['Shape']{constructor(_0x3d5018,_0x1218f3){const _0x43d27c=_0xa601e6;super(_0x3d5018,_0x1218f3),_0x535fda(this,_0x43d27c(0x1b8),void 0x0),_0x535fda(this,_0x43d27c(0x128),new _0x4c260e[(_0x43d27c(0x23b))](()=>this[_0x43d27c(0x1b7)](!0x0),()=>this[_0x43d27c(0x3aa)]())),_0x535fda(this,_0x43d27c(0x1e8),!0x0),_0x535fda(this,_0x43d27c(0x164),_0x55a2b9[_0x43d27c(0x23a)][_0x43d27c(0x3e0)]),_0x535fda(this,_0x43d27c(0x272),!0x0),this[_0x43d27c(0x1b8)]={..._0x1218f3},this[_0x43d27c(0x128)]['setPresentation'](_0x1218f3[_0x43d27c(0x148)],_0x1218f3['animateFormulaPresentation']!==!0x1),this[_0x43d27c(0xb6)](),this[_0x43d27c(0x3aa)]();}[_0xa601e6(0xb6)](){const _0x137a1d=_0xa601e6;this['onTransformChange$'][_0x137a1d(0x346)](_0xcfcadc=>{this['_updateSrcRectByTransform'](_0xcfcadc);});}[_0xa601e6(0x1ba)](_0x5d82a6){const _0x34edf0=_0xa601e6;this[_0x34edf0(0x1b8)]['prstGeom']=_0x5d82a6;}[_0xa601e6(0x2e2)](_0x5c9a09){const _0x234433=_0xa601e6;this[_0x234433(0x1b8)][_0x234433(0xd7)]=_0x5c9a09,this['makeDirty'](!0x0);}['setFormulaPresentation'](_0x180717,_0x26cdab=!0x0){const _0x22898b=_0xa601e6;this[_0x22898b(0x128)][_0x22898b(0x397)](_0x180717,_0x26cdab),this[_0x22898b(0x1b8)][_0x22898b(0x148)]=_0x180717,this[_0x22898b(0x3aa)](),this[_0x22898b(0x1b7)](!0x0);}[_0xa601e6(0x3aa)](){const _0x38c830=_0xa601e6;let _0x55b15e=this[_0x38c830(0x1b8)][_0x38c830(0x2db)],_0xba066c=_0x55b15e[_0x38c830(0x194)](),_0x1a2efd=(0x0,_0x4c260e[_0x38c830(0x22a)])(_0xba066c==null?void 0x0:_0xba066c[_0x38c830(0xf1)]),_0x23db9e=_0x1a2efd==null?void 0x0:_0x1a2efd[_0x38c830(0xc5)],_0x129320=this[_0x38c830(0x128)]['getAutoFitPresentations']();if(!_0x23db9e||_0x129320[_0x38c830(0x3ea)]===0x0)return;_0x55b15e[_0x38c830(0x2ae)]({'width':this[_0x38c830(0x11a)],'height':this[_0x38c830(0x198)]});let _0x1d0b9a=(0x0,_0x4c260e['resolveFormulaShapeAutoFitSize'])({'documentData':_0x129320[_0x38c830(0x285)](_0x407e25=>(0x0,_0x231cab['createShapeFormulaDocument'])(_0x23db9e,_0x407e25)),'height':this['height'],'shapeData':_0x55b15e[_0x38c830(0x117)](),'textRect':_0x55b15e['getShapeTextRect']({'left':0x0,'top':0x0,'width':this[_0x38c830(0x11a)],'height':this[_0x38c830(0x198)]}),'width':this[_0x38c830(0x11a)]});if(_0x1d0b9a){var _0x20d350;this[_0x38c830(0x3f1)](_0x1d0b9a[_0x38c830(0x11a)],_0x1d0b9a[_0x38c830(0x198)]),(_0x20d350=this['getScene']())==null||(_0x20d350=_0x20d350[_0x38c830(0x269)]())==null||_0x20d350[_0x38c830(0x104)]();}}get[_0xa601e6(0x1f9)](){const _0x57fb2c=_0xa601e6;return this[_0x57fb2c(0x1b8)][_0x57fb2c(0x1f9)];}get[_0xa601e6(0xed)](){const _0x10ea76=_0xa601e6;return this[_0x10ea76(0x1b8)][_0x10ea76(0xed)];}[_0xa601e6(0x8d)](_0x5d5849){const _0x26fc70=_0xa601e6;if(this[_0x26fc70(0x1b8)][_0x26fc70(0x1d1)]==null||!this['_transformCalculateSrcRect'])return;let {width:_0x23c11c,height:_0x3e2940}=this,{width:_0x54d538=0x0,height:_0x293d9a=0x0}=_0x5d5849['preValue'],{left:_0x1f0f79=0x0,top:_0x5ac868=0x0,right:_0x425540=0x0,bottom:_0x531035=0x0}=this[_0x26fc70(0x1b8)][_0x26fc70(0x1d1)],_0x76162e=_0x1f0f79,_0x365d16=_0x5ac868,_0x237acd=_0x425540,_0x3f94e8=_0x531035,_0x11bd98=!0x1;if(_0x54d538!==0x0&&_0x54d538!==_0x23c11c){let _0xe3617e=_0x1f0f79/_0x54d538,_0x54806a=_0x425540/_0x54d538;_0x76162e=_0x23c11c*_0xe3617e,_0x237acd=_0x23c11c*_0x54806a,_0x11bd98=!0x0;}if(_0x293d9a!==0x0&&_0x293d9a!==_0x3e2940){let _0xd0c475=_0x5ac868/_0x293d9a,_0x260480=_0x531035/_0x293d9a;_0x365d16=_0x3e2940*_0xd0c475,_0x3f94e8=_0x3e2940*_0x260480,_0x11bd98=!0x0;}_0x11bd98&&this[_0x26fc70(0x307)]({'left':_0x76162e,'top':_0x365d16,'right':_0x237acd,'bottom':_0x3f94e8});}['setSrcRect'](_0xe02622){const _0x5cdbbb=_0xa601e6;this[_0x5cdbbb(0x1b8)]['srcRect']=_0xe02622,this[_0x5cdbbb(0x1b7)](!0x0);}['setFillImage'](_0x50d1ee){const _0x2cf7e5=_0xa601e6;this[_0x2cf7e5(0x1b8)]['image']=_0x50d1ee,this[_0x2cf7e5(0x1b7)](!0x0);}set['transform'](_0x8dece2){const _0x1169c3=_0xa601e6;this[_0x1169c3(0x1c3)]=_0x8dece2;}get[_0xa601e6(0x2fd)](){const _0x37d3c4=_0xa601e6;this['_transform']||this[_0x37d3c4(0x240)]();let _0x4ba9b4=this[_0x37d3c4(0x1c3)][_0x37d3c4(0x80)]();return this['transformForAngle'](_0x4ba9b4);}get[_0xa601e6(0x2db)](){const _0x567a3d=_0xa601e6;return this[_0x567a3d(0x1b8)][_0x567a3d(0x2db)];}get[_0xa601e6(0x187)](){const _0x333e98=_0xa601e6;return this[_0x333e98(0x1b8)]['shapeId'];}get[_0xa601e6(0x359)](){const _0x10323d=_0xa601e6;return _0x33e80b[_0x10323d(0x6f)][_0x10323d(0x17b)];}[_0xa601e6(0x242)](_0x18c44c,_0x222e21,_0x2aa851,_0xae7c41){const _0x1199ff=_0xa601e6;let _0x2d64b3=this[_0x1199ff(0x1b8)]['shapeModel'];if(!_0x2d64b3||!_0x222e21)return;let _0x2ee1db=_0x2aa851??this[_0x1199ff(0x11a)],_0x4c6ed2=_0xae7c41??this[_0x1199ff(0x198)],_0x6f7bd7={'shapeType':_0x2d64b3['getShapeType'](),'width':_0x2ee1db,'height':_0x4c6ed2},_0x301149={'renderMode':_0x50389c[_0x1199ff(0xf7)]['Path'],'oKey':this[_0x1199ff(0x14b)],'image':this['_props'][_0x1199ff(0x27d)],'angle':this[_0x1199ff(0x331)]};_0x2d64b3[_0x1199ff(0x2ae)](_0x6f7bd7),_0x18c44c[_0x1199ff(0x330)]();let _0x264bf6={'top':0x0,'left':0x0,'width':_0x2ee1db,'height':_0x4c6ed2},_0x269009=_0x2d64b3[_0x1199ff(0x1a3)](_0x264bf6);_0x269009?this[_0x1199ff(0x2e9)](_0x18c44c,_0x269009,_0x3852bc=>{_0x2d64b3['render'](_0x3852bc,_0x264bf6,_0x301149);}):(this['_releaseRenderCache'](),_0x2d64b3[_0x1199ff(0x21d)](_0x18c44c,_0x264bf6,_0x301149)),_0x18c44c[_0x1199ff(0x1e0)]();let _0x2b06a9=_0x2d64b3[_0x1199ff(0x194)](),_0xac5a6=_0x2d64b3[_0x1199ff(0x17d)](_0x264bf6),_0x5f7515=_0x2d64b3[_0x1199ff(0x1cb)]();if(_0x2b06a9&&_0xac5a6&&!_0x5f7515){_0x18c44c[_0x1199ff(0x330)](),this[_0x1199ff(0x2e1)]()[_0x1199ff(0x3e5)]&&_0x18c44c[_0x1199ff(0x237)](-0x1,0x1);let _0x262194=_0x2ee1db/0x2,_0x2177a0=_0x4c6ed2/0x2;_0x18c44c[_0x1199ff(0x24c)](-_0x262194,-_0x2177a0),_0x18c44c[_0x1199ff(0x31c)](),this[_0x1199ff(0x21e)](_0x18c44c,_0x2b06a9,_0xac5a6),_0x18c44c[_0x1199ff(0x1e0)]();}}['getDrawingPoints'](_0x1893dc){}[_0xa601e6(0x21e)](_0x2d8fdc,_0x515899,_0x2a0c9c){const _0x16c1e6=_0xa601e6;var _0x155c25;this[_0x16c1e6(0x1b8)][_0x16c1e6(0xd7)]||(!((_0x155c25=_0x515899[_0x16c1e6(0xf1)])!=null&&_0x155c25[_0x16c1e6(0xc5)])&&_0x16c1e6(0x126)in _0x515899&&_0x515899[_0x16c1e6(0x126)]===!0x1?this[_0x16c1e6(0x230)](_0x2d8fdc,_0x515899,_0x2a0c9c):this[_0x16c1e6(0x292)](_0x2d8fdc,_0x515899,_0x2a0c9c));}[_0xa601e6(0x230)](_0x45aaed,_0x5e0c5b,_0x393ea5){const _0x312ceb=_0xa601e6;this[_0x312ceb(0x292)](_0x45aaed,{..._0x5e0c5b,'text':_0x5e0c5b[_0x312ceb(0x196)]??'','dataModel':{'doc':(0x0,_0x4c260e[_0x312ceb(0x3c6)])(_0x5e0c5b,'docs-shape-text-'+this['oKey'])}},_0x393ea5);}['_drawRichText'](_0x19e4b9,_0x351ef1,_0x49881f){const _0x370565=_0xa601e6;(0x0,_0x4c260e[_0x370565(0x91)])(_0x19e4b9,this['_formulaAnimation'],(_0x54962d,_0x23557d)=>{const _0x4e579b=_0x370565;this[_0x4e579b(0xe9)](_0x54962d,_0x351ef1,_0x49881f,_0x23557d);});}[_0xa601e6(0xe9)](_0x969dcc,_0x548447,_0xf365ce,_0x163e19){const _0x20c648=_0xa601e6;let _0x4dddfd=this[_0x20c648(0x1b8)]['localeService'];if(!_0x548447['dataModel']||!_0x4dddfd){_0x4dddfd||console[_0x20c648(0x303)]('[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering');return;}let _0x1d3ec9=(0x0,_0x4c260e[_0x20c648(0x22a)])(_0x548447[_0x20c648(0xf1)]);if(!_0x1d3ec9)return;let _0x4e1779=_0x1d3ec9[_0x20c648(0xc5)];if(!_0x4e1779)return;let _0x1f1d9e=(0x0,_0x231cab[_0x20c648(0x310)])(_0x4e1779,_0x163e19),_0x120136=_0x1d3ec9['va']??_0x55a2b9[_0x20c648(0x2f4)][_0x20c648(0x3d3)],_0x205401=_0x1d3ec9['ha']??_0x55a2b9[_0x20c648(0x2f9)]['LEFT'],_0x102488=_0x544b8b(this[_0x20c648(0x1b8)][_0x20c648(0x2db)][_0x20c648(0x117)](),_0x548447,_0x1f1d9e),_0x3ac3f6=_0x548447[_0x20c648(0x302)],_0xaec725=(0x0,_0x4c260e[_0x20c648(0x2b1)])(_0x1f1d9e,{'isHorizontal':_0x3ac3f6!==!0x1,'textRect':_0xf365ce,'verticalAlign':_0x120136,'horizontalAlign':_0x205401,'wrapStrategy':_0x102488[_0x20c648(0x3b5)]}),_0x6b01c1=new _0x55a2b9[(_0x20c648(0x3f0))](_0xaec725),_0x955a=new _0x33e80b[(_0x20c648(0x18a))](_0x6b01c1),_0x19af92=_0x33e80b['DocumentSkeleton']['create'](_0x955a,_0x4dddfd);_0x19af92[_0x20c648(0x3e2)]();let _0x14e332=_0x19af92['getActualSize']()[_0x20c648(0x115)],_0x51e6b5=(0x0,_0x4c260e[_0x20c648(0x9b)])({'contentHeight':_0x14e332,'verticalAlign':_0x120136,'viewportHeight':_0xf365ce['height']});_0x6b01c1[_0x20c648(0x1ec)]({'pageSize':{'width':_0x3ac3f6===!0x1?_0xf365ce[_0x20c648(0x198)]:_0xf365ce[_0x20c648(0x11a)],'height':(0x0,_0x4c260e[_0x20c648(0x1ef)])(_0x1f1d9e,_0x51e6b5['contentHeight'])}}),_0x6b01c1[_0x20c648(0x12b)]({'t':_0x51e6b5[_0x20c648(0x356)]}),_0x19af92[_0x20c648(0x3e2)]();let _0x5d251c=new _0x33e80b[(_0x20c648(0x18f))](_0x20c648(0x262)+this[_0x20c648(0x14b)],_0x19af92,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x20c648(0x1b7)](!0x0)});_0x5d251c[_0x20c648(0x3f1)](_0xf365ce['width'],_0x51e6b5[_0x20c648(0x249)]),_0x969dcc[_0x20c648(0x330)](),_0x969dcc[_0x20c648(0x1e4)](_0xf365ce['left'],_0xf365ce[_0x20c648(0x28e)]),_0x102488[_0x20c648(0x23e)]&&(_0x969dcc[_0x20c648(0x31c)](),_0x969dcc[_0x20c648(0x1eb)](0x0,_0x51e6b5[_0x20c648(0x1f4)],_0xf365ce[_0x20c648(0x11a)],_0x51e6b5[_0x20c648(0x2cb)]),_0x969dcc[_0x20c648(0x23e)]()),_0x51e6b5['contentVerticalOffset']&&_0x969dcc[_0x20c648(0x1e4)](0x0,_0x51e6b5[_0x20c648(0x389)]),_0x5d251c[_0x20c648(0x18b)](_0x969dcc),_0x969dcc[_0x20c648(0x1e0)](),_0x5d251c[_0x20c648(0x304)](),_0x19af92['dispose'](),_0x955a['dispose'](),_0x6b01c1['dispose']();}[_0xa601e6(0x21d)](_0x237799,_0x405249,_0x29da87=!0x1){const _0x3f676a=_0xa601e6;if(!this[_0x3f676a(0x15a)])return this[_0x3f676a(0x1b7)](!0x1),this;let {width:_0x110dd4,height:_0x40b10c,left:_0x284286,top:_0x4cd97b}=this,_0x4776a4=this[_0x3f676a(0x20a)]();if(_0x110dd4=_0x4776a4[_0x3f676a(0x11a)],_0x40b10c=_0x4776a4['height'],_0x284286=_0x4776a4[_0x3f676a(0x29b)],_0x4cd97b=_0x4776a4[_0x3f676a(0x28e)],this[_0x3f676a(0x1df)](_0x405249)){let {top:_0x16d30,left:_0x4d74c4,bottom:_0x671d81,right:_0x17c775}=_0x405249['viewBound'];if(_0x110dd4+this[_0x3f676a(0xe5)]+_0x284286<_0x4d74c4||_0x17c775<_0x284286||_0x40b10c+this['strokeWidth']+_0x4cd97b<_0x16d30||_0x671d81<_0x4cd97b)return this;}let _0x48cd8b=_0x284286+_0x110dd4/0x2,_0x31102f=_0x4cd97b+_0x40b10c/0x2,_0x110ed0=this[_0x3f676a(0x2fd)][_0x3f676a(0xb4)]();if(this['_props'][_0x3f676a(0xd7)]){let _0x2c67e8=this[_0x3f676a(0x2e1)](),_0x4f6475=new _0x33e80b[(_0x3f676a(0x3f9))]();_0x4f6475[_0x3f676a(0x318)]({..._0x2c67e8}),_0x110ed0=_0x4f6475['getMatrix']();}return _0x237799[_0x3f676a(0x330)](),this[_0x3f676a(0x1b8)][_0x3f676a(0x2db)][_0x3f676a(0x172)]===!0x0||_0x237799['transform'](_0x110ed0[0x0],_0x110ed0[0x1],_0x110ed0[0x2],_0x110ed0[0x3],_0x48cd8b,_0x31102f),this[_0x3f676a(0x242)](_0x237799,_0x405249,_0x110dd4,_0x40b10c),_0x237799['restore'](),this['makeDirty'](!0x1),this;}[_0xa601e6(0x394)](_0x152ea1){const _0x4cbf26=_0xa601e6;let {left:_0x3b7d0f,top:_0x346038,width:_0x48f9c1,height:_0xbf23ff}=this['getRealBound'](),_0xeff91e=this['transform'][_0x4cbf26(0xb4)](),_0x1d0c4e=_0x3b7d0f+_0x48f9c1/0x2,_0x24177e=_0x346038+_0xbf23ff/0x2,_0x53050d=new _0x33e80b[(_0x4cbf26(0x3f9))]([_0xeff91e[0x0],_0xeff91e[0x1],_0xeff91e[0x2],_0xeff91e[0x3],_0x1d0c4e,_0x24177e]),_0x2d22e9=this['getParent']();return(this['isInGroup']&&(_0x2d22e9==null?void 0x0:_0x2d22e9[_0x4cbf26(0x359)])===_0x33e80b[_0x4cbf26(0x6f)][_0x4cbf26(0x2c2)]?_0x2d22e9['ancestorTransform'][_0x4cbf26(0xc6)](_0x53050d):_0x53050d)[_0x4cbf26(0x32c)]()['applyPoint'](_0x152ea1);}['isHit'](_0x4c0540){const _0x2f28de=_0xa601e6;let {left:_0x396153,top:_0x786f4e,width:_0x4238a1,height:_0x1ee114}=this[_0x2f28de(0x20a)](),_0x1a316c=_0x396153+_0x4238a1/0x2,_0x5754bb=_0x786f4e+_0x1ee114/0x2,_0x43aeac=this[_0x2f28de(0x2fd)][_0x2f28de(0xb4)](),_0x4bf4c5=new _0x33e80b['Transform']([_0x43aeac[0x0],_0x43aeac[0x1],_0x43aeac[0x2],_0x43aeac[0x3],_0x1a316c,_0x5754bb]),_0x192720=this[_0x2f28de(0x2f7)](),_0x4fe136=(this[_0x2f28de(0x1e3)]&&(_0x192720==null?void 0x0:_0x192720['classType'])===_0x33e80b[_0x2f28de(0x6f)][_0x2f28de(0x2c2)]?_0x192720[_0x2f28de(0x2cf)][_0x2f28de(0xc6)](_0x4bf4c5):_0x4bf4c5)[_0x2f28de(0x32c)]()[_0x2f28de(0x30b)](_0x4c0540),_0xb3d29=_0x4238a1/0x2,_0x4d1c9b=_0x1ee114/0x2,_0x4045af=this[_0x2f28de(0x1b8)][_0x2f28de(0x2db)];return _0x4045af&&_0x4045af[_0x2f28de(0x1cb)]()?_0x4045af[_0x2f28de(0x1f5)](_0x4fe136['x'],_0x4fe136['y'],_0x4238a1,_0x1ee114):_0x4fe136['x']>=-_0xb3d29-this[_0x2f28de(0xe5)]/0x2&&_0x4fe136['x']<=_0xb3d29+this['strokeWidth']/0x2&&_0x4fe136['y']>=-_0x4d1c9b-this[_0x2f28de(0xe5)]/0x2&&_0x4fe136['y']<=_0x4d1c9b+this[_0x2f28de(0xe5)]/0x2;}[_0xa601e6(0x304)](){const _0x2fa490=_0xa601e6;this['_formulaAnimation']['dispose'](),this[_0x2fa490(0x1b8)][_0x2fa490(0x2db)]=null,super[_0x2fa490(0x304)]();}};let _0x57f995=class extends _0x55a2b9[_0xa601e6(0x175)]{constructor(_0x25a0b9,_0x542b1d,_0x2523aa,_0x5c6f1e){const _0xa5f926=_0xa601e6;super(),this[_0xa5f926(0x28d)]=_0x25a0b9,this['_drawingManagerService']=_0x542b1d,this[_0xa5f926(0xec)]=_0x2523aa,this['_commandService']=_0x5c6f1e,_0x535fda(this,_0xa5f926(0x166),null),_0x535fda(this,_0xa5f926(0x378),null),_0x535fda(this,_0xa5f926(0xc4),null),_0x535fda(this,_0xa5f926(0x2a9),void 0x0),_0x535fda(this,_0xa5f926(0x25e),[]),_0x535fda(this,'_baseShapeLeft',0x0),_0x535fda(this,_0xa5f926(0x3bb),0x0),_0x535fda(this,'_baseShapeWidth',0x0),_0x535fda(this,'_baseShapeHeight',0x0),_0x535fda(this,_0xa5f926(0x26c),!0x1),_0x535fda(this,'_isShouldShowDrawingShapeAdjust',!0x1),_0x535fda(this,_0xa5f926(0x1fd),void 0x0),_0x535fda(this,_0xa5f926(0x39b),void 0x0),_0x535fda(this,'_adjHandlerPointerMove',void 0x0),_0x535fda(this,_0xa5f926(0x3d5),void 0x0),this[_0xa5f926(0x2cd)](),this[_0xa5f926(0x3d2)]();}[_0xa601e6(0x384)](){const _0x4727c3=_0xa601e6;this[_0x4727c3(0x30e)]();}[_0xa601e6(0x2bf)](){const _0x5893aa=_0xa601e6;this[_0x5893aa(0x16e)](!0x0);}[_0xa601e6(0x3d1)](_0x4ad96,_0x433e08,_0x473569){const _0x4f6f80=_0xa601e6;var _0x244f31;return(_0x244f31=this[_0x4f6f80(0xec)][_0x4f6f80(0x184)](_0x4ad96,_0x433e08,_0x473569))==null?void 0x0:_0x244f31['getDrawingPoints']();}['_getShapeAdjustInfosById'](_0x2a323f,_0x50d8d6,_0x33405b,_0x363d06){const _0x1e3bf0=_0xa601e6;var _0x19a65a;return(_0x19a65a=this[_0x1e3bf0(0xec)][_0x1e3bf0(0x184)](_0x2a323f,_0x50d8d6,_0x33405b))==null?void 0x0:_0x19a65a['getAdjustInfoByName'](_0x363d06);}[_0xa601e6(0x1d4)](){const _0x4bceef=_0xa601e6;return this['_unitId']===null||this['_subUnitId']===null||this['_activeShapeId']===null?null:this[_0x4bceef(0x34e)][_0x4bceef(0x2bd)]({'unitId':this[_0x4bceef(0x378)],'subUnitId':this[_0x4bceef(0xc4)],'drawingId':this[_0x4bceef(0x166)]})??null;}[_0xa601e6(0x111)](_0x5548d5){const _0x42a7a6=_0xa601e6;if(this[_0x42a7a6(0x378)]===null||this[_0x42a7a6(0xc4)]===null||this[_0x42a7a6(0x166)]===null)return null;let _0x6b23fc=(0x0,_0x4613e6['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0x42a7a6(0x378)],'subUnitId':this[_0x42a7a6(0xc4)],'drawingId':this[_0x42a7a6(0x166)]}),_0x5a8b15=_0x5548d5[_0x42a7a6(0x191)](_0x6b23fc);return _0x5a8b15 instanceof _0x33774c?_0x5a8b15:null;}[_0xa601e6(0x163)](_0x24d209=!0x1){const _0x5d7d5f=_0xa601e6;if(this[_0x5d7d5f(0x378)]===null||this[_0x5d7d5f(0xc4)]===null||this[_0x5d7d5f(0x166)]===null)return;let _0x6fc438=this['_getActiveDrawingParam']();if((_0x6fc438==null?void 0x0:_0x6fc438[_0x5d7d5f(0x343)])!==_0x55a2b9[_0x5d7d5f(0x23a)][_0x5d7d5f(0x3e0)]||!_0x6fc438[_0x5d7d5f(0x2fd)])return;let _0xf55c90=this[_0x5d7d5f(0xec)][_0x5d7d5f(0x184)](this[_0x5d7d5f(0x378)],this['_subUnitId'],this[_0x5d7d5f(0x166)]);if(!_0xf55c90||_0xf55c90['isLineShape']())return;let {left:_0x479bd6=0x0,top:_0x3ce3d9=0x0,width:_0x178c18=0x0,height:_0x18225b=0x0,flipX:_0x31501a,flipY:_0x2608a5,angle:_0x17ecb4=0x0}=_0x6fc438[_0x5d7d5f(0x2fd)];(_0x24d209||!this[_0x5d7d5f(0x2a9)])&&(_0xf55c90[_0x5d7d5f(0x2ae)]({'width':_0x178c18,'height':_0x18225b}),this[_0x5d7d5f(0x2a9)]=_0xf55c90[_0x5d7d5f(0x1fe)]());let _0x1acd57=this[_0x5d7d5f(0x2a9)];if(!(_0x1acd57!=null&&_0x1acd57['length']))return;let {scene:_0x272cb5}=this[_0x5d7d5f(0x28d)];for(let _0x9466b4 of _0x1acd57){let _0x5b5e94=this[_0x5d7d5f(0x1e2)](_0x9466b4,_0x178c18,_0x18225b,!!_0x31501a,!!_0x2608a5,_0x17ecb4);this[_0x5d7d5f(0x1ca)](_0x272cb5,_0x5b5e94,_0x5b5e94[_0x5d7d5f(0xdb)],_0x479bd6,_0x3ce3d9,this[_0x5d7d5f(0x378)],this[_0x5d7d5f(0xc4)]);}}[_0xa601e6(0x1e2)](_0x31ad1f,_0x1e3c4e,_0x39b469,_0x5326b1,_0x13f423,_0x25aa2b){const _0x13504b=_0xa601e6;let _0x48a464=_0x31ad1f['x'],_0x305570=_0x31ad1f['y'];if(_0x5326b1&&(_0x48a464=_0x1e3c4e-_0x48a464),_0x13f423&&(_0x305570=_0x39b469-_0x305570),_0x25aa2b!==0x0){let _0x3da04b=_0x1e3c4e/0x2,_0x264724=_0x39b469/0x2,_0xdd80d7=_0x25aa2b*Math['PI']/0xb4,_0x351933=Math[_0x13504b(0x3f5)](_0xdd80d7),_0x5499c9=Math['sin'](_0xdd80d7),_0x3f9b8a=_0x48a464-_0x3da04b,_0x420c43=_0x305570-_0x264724;_0x48a464=_0x3da04b+(_0x3f9b8a*_0x351933-_0x420c43*_0x5499c9),_0x305570=_0x264724+(_0x3f9b8a*_0x5499c9+_0x420c43*_0x351933);}return{'x':_0x48a464,'y':_0x305570,'adjName':_0x31ad1f[_0x13504b(0xdb)]};}['_updateShapeAdjustControls'](_0x273b26=!0x1){const _0x5bcfa7=_0xa601e6;_0x273b26&&this[_0x5bcfa7(0x30e)](),this[_0x5bcfa7(0x163)](_0x273b26);}[_0xa601e6(0x1ca)](_0x697bfb,_0x42dcd6,_0x246833,_0x4f0cb9,_0x541672,_0x2091b4,_0x57fc6){const _0x357f82=_0xa601e6;if(!this[_0x357f82(0x166)])return;let _0x1815c0=_0x357f82(0x1bd)+this['_activeShapeId']+'-'+_0x246833,_0x335db1=_0x697bfb[_0x357f82(0x191)](_0x1815c0);if(_0x335db1){_0x335db1[_0x357f82(0x267)]({'left':_0x42dcd6['x']+_0x4f0cb9-_0x50389c[_0x357f82(0xb1)]['adjHandleSize'],'top':_0x42dcd6['y']+_0x541672-_0x50389c[_0x357f82(0xb1)][_0x357f82(0x2a1)]}),_0x335db1[_0x357f82(0x1b7)](!0x0);return;}let _0x5372a6=new _0x487c06(_0x1815c0,{'left':_0x42dcd6['x']+_0x4f0cb9-_0x50389c[_0x357f82(0xb1)]['adjHandleSize'],'top':_0x42dcd6['y']+_0x541672-_0x50389c[_0x357f82(0xb1)][_0x357f82(0x2a1)],'adjName':_0x246833,'shapeId':this[_0x357f82(0x166)],'unitId':_0x2091b4,'subUnitId':_0x57fc6,'width':_0x50389c[_0x357f82(0xb1)][_0x357f82(0x2a1)]+0x8,'height':_0x50389c[_0x357f82(0xb1)][_0x357f82(0x2a1)]+0x8,'zIndex':_0x33e80b[_0x357f82(0x8a)]+0x1,'evented':!0x0});this['_adjustPointObjects'][_0x357f82(0x21b)](_0x5372a6),this[_0x357f82(0x103)](_0x5372a6,_0x697bfb,_0x246833),_0x697bfb['addObject'](_0x5372a6,_0x33e80b[_0x357f82(0x8a)]+0x1);}[_0xa601e6(0x30e)](){const _0x4ad8f6=_0xa601e6;this['_adjustPointObjects'][_0x4ad8f6(0x3e3)](_0x32963c=>_0x32963c[_0x4ad8f6(0x304)]()),this['_adjustPointObjects']=[];}[_0xa601e6(0x2b5)](){const _0x3e36db=_0xa601e6;this[_0x3e36db(0x163)]();}[_0xa601e6(0xbb)](_0x398c3c,_0x527de1,_0x4f8304){const _0x684ec4=_0xa601e6;let _0x4e8400=_0x33e80b[_0x684ec4(0x78)]['FromArray']([_0x527de1,_0x4f8304]),_0x553c08=_0x398c3c[_0x684ec4(0x1d9)](_0x4e8400)??_0x398c3c['getViewports']()[0x0];return(_0x553c08==null?void 0x0:_0x553c08[_0x684ec4(0xb8)](_0x4e8400))??_0x4e8400;}[_0xa601e6(0x103)](_0x2c21d6,_0x3b26d9,_0x517a1f){const _0x438393=_0xa601e6;this[_0x438393(0x321)]((0x0,_0x55a2b9['toDisposable'])(_0x2c21d6[_0x438393(0x134)]['subscribeEvent']((_0x5266e6,_0x4b166e)=>{const _0x410b19=_0x438393;var _0x5b5388;let _0x3a48ad=_0x2c21d6[_0x410b19(0x24e)]();this[_0x410b19(0x1fd)]=this[_0x410b19(0x235)](_0x3a48ad[_0x410b19(0x1f9)],_0x3a48ad[_0x410b19(0xed)],_0x3a48ad[_0x410b19(0x120)],_0x517a1f),this['_activeShapeModel']=this['_docsShapeService']['getShapeModel'](_0x3a48ad[_0x410b19(0x1f9)],_0x3a48ad[_0x410b19(0xed)],_0x3a48ad['drawingId']);let _0x2b5d26=this[_0x410b19(0x1d4)](),_0x5745ad=_0x2b5d26==null?void 0x0:_0x2b5d26['transform'];if(!_0x2b5d26||!_0x5745ad||!this['_activeShapeModel'])return;this[_0x410b19(0x149)]=_0x5745ad['left']||0x0,this[_0x410b19(0x3bb)]=_0x5745ad[_0x410b19(0x28e)]||0x0,this['_baseShapeWidth']=_0x5745ad[_0x410b19(0x11a)]||0x0,this[_0x410b19(0x231)]=_0x5745ad[_0x410b19(0x198)]||0x0;let _0xbed2f=!!_0x5745ad[_0x410b19(0x3e5)],_0xe96bf9=!!_0x5745ad[_0x410b19(0x208)],_0x10a53a=_0x5745ad[_0x410b19(0x331)]||0x0,_0x3147c7={...((_0x5b5388=this[_0x410b19(0x1fd)])==null?void 0x0:_0x5b5388[_0x410b19(0x364)])??{}};this[_0x410b19(0x26c)]=!0x0,_0x3b26d9[_0x410b19(0xf8)](),this['_adjHandlerPointerMove']=_0x3b26d9[_0x410b19(0x3ca)][_0x410b19(0x346)]((_0x56340b,_0x12c38f)=>{const _0x2fc030=_0x410b19;var _0x334f32;if(!this[_0x2fc030(0x26c)]||!this[_0x2fc030(0x39b)]||!this['_activeAdjustInfo'])return;_0x3b26d9[_0x2fc030(0xf8)](),_0x3b26d9[_0x2fc030(0x3bc)](_0x33e80b['CURSOR_TYPE'][_0x2fc030(0x291)]);let _0x43db94=this[_0x2fc030(0xbb)](_0x3b26d9,_0x56340b[_0x2fc030(0x2b2)],_0x56340b['offsetY']),_0x3aa2f1=_0x43db94['x']-this['_baseShapeLeft'],_0x49187c=_0x43db94['y']-this['_baseShapeTop'];if(_0x10a53a!==0x0){let _0x257af2=this['_baseShapeWidth']/0x2,_0x4836e6=this[_0x2fc030(0x231)]/0x2,_0x5f5b4b=_0x10a53a*Math['PI']/0xb4,_0x3cc19d=Math[_0x2fc030(0x3f5)](_0x5f5b4b),_0x3d22fe=Math[_0x2fc030(0x135)](_0x5f5b4b),_0x472078=_0x3aa2f1-_0x257af2,_0x3e14b8=_0x49187c-_0x4836e6;_0x3aa2f1=_0x257af2+(_0x472078*_0x3cc19d+_0x3e14b8*_0x3d22fe),_0x49187c=_0x4836e6+(-_0x472078*_0x3d22fe+_0x3e14b8*_0x3cc19d);}_0xbed2f&&(_0x3aa2f1=this[_0x2fc030(0x222)]-_0x3aa2f1),_0xe96bf9&&(_0x49187c=this[_0x2fc030(0x231)]-_0x49187c);let _0x54ef82={'left':0x0,'top':0x0,'width':this[_0x2fc030(0x222)],'height':this[_0x2fc030(0x231)]},_0x42fcd7=this[_0x2fc030(0x39b)][_0x2fc030(0x3f3)](_0x54ef82,{'x':_0x3aa2f1,'y':_0x49187c},this[_0x2fc030(0x1fd)],_0xbed2f,_0xe96bf9);if(Object[_0x2fc030(0x2fb)](_0x42fcd7)[_0x2fc030(0x3ea)]!==0x0){for(let [_0x44b429,_0x5deb2c]of Object[_0x2fc030(0x25a)](_0x42fcd7))this['_activeShapeModel'][_0x2fc030(0x350)](_0x44b429,_0x5deb2c);this[_0x2fc030(0x39b)][_0x2fc030(0x2ae)]({'width':this[_0x2fc030(0x222)],'height':this[_0x2fc030(0x231)]}),(_0x334f32=this[_0x2fc030(0x111)](_0x3b26d9))==null||_0x334f32['makeDirty'](!0x0),this[_0x2fc030(0x2a9)]=this[_0x2fc030(0x3d1)](_0x3a48ad[_0x2fc030(0x1f9)],_0x3a48ad[_0x2fc030(0xed)],_0x3a48ad['drawingId']),this[_0x2fc030(0x2b5)](),_0x12c38f['stopPropagation']();}}),this[_0x410b19(0x3d5)]=_0x3b26d9[_0x410b19(0x82)]['subscribeEvent']((_0x46ef2d,_0x1db5e3)=>{const _0x5806ec=_0x410b19;var _0x49dd58,_0x1fd175;(_0x49dd58=this[_0x5806ec(0x315)])==null||_0x49dd58['unsubscribe'](),(_0x1fd175=this['_adjHandlerPointerUp'])==null||_0x1fd175[_0x5806ec(0x316)](),_0x3b26d9[_0x5806ec(0x150)]();let _0x46dd02=this[_0x5806ec(0x1fd)];if(_0x46dd02&&this[_0x5806ec(0x39b)]){let _0x336d0f={};for(let _0x3f07cb of Object[_0x5806ec(0x2fb)](_0x46dd02[_0x5806ec(0x364)])){let _0x3109da=this['_activeShapeModel'][_0x5806ec(0x23d)](_0x3f07cb);_0x3109da!==void 0x0&&(_0x336d0f[_0x3f07cb]=_0x3109da);}Object[_0x5806ec(0x2fb)](_0x336d0f)['length']>0x0&&_0x5df502(this[_0x5806ec(0x8e)],_0x3a48ad[_0x5806ec(0x1f9)],_0x3a48ad[_0x5806ec(0xed)],_0x3a48ad[_0x5806ec(0x120)],{'oldShapeData':{'adjustValues':_0x3147c7}},{'adjustValues':_0x336d0f});}this['_activeAdjustInfo']=void 0x0,this[_0x5806ec(0x39b)]=void 0x0,this[_0x5806ec(0x26c)]=!0x1,_0x3b26d9[_0x5806ec(0x354)](),_0x1db5e3[_0x5806ec(0x337)]();}),_0x4b166e[_0x410b19(0x337)]();})));}[_0xa601e6(0x3d2)](){const _0x27097e=_0xa601e6;let {scene:_0x349d82}=this[_0x27097e(0x28d)],_0x159e57=_0x349d82[_0x27097e(0x96)]();this[_0x27097e(0x321)](_0x159e57[_0x27097e(0x2da)][_0x27097e(0x18e)](_0x261698=>{const _0x32e69b=_0x27097e;this[_0x32e69b(0x163)](),_0x261698['objects']!==null&&_0x261698[_0x32e69b(0x76)][_0x32e69b(0xaf)]===0x1&&_0x261698['objects'][_0x32e69b(0x14a)]()[_0x32e69b(0x387)]()[_0x32e69b(0x2e3)]instanceof _0x33774c&&(this[_0x32e69b(0x1d5)]=!0x0);})),this[_0x27097e(0x321)](_0x159e57[_0x27097e(0x14f)][_0x27097e(0x18e)](()=>{const _0x5449cc=_0x27097e;this[_0x5449cc(0x1d5)]&&this[_0x5449cc(0x30e)]();})),this[_0x27097e(0x321)](_0x349d82[_0x27097e(0x82)]['subscribeEvent'](()=>{const _0x106110=_0x27097e;this[_0x106110(0x1d5)]&&(this[_0x106110(0x1d5)]=!0x1,this[_0x106110(0x163)]());})),this[_0x27097e(0x321)](_0x159e57[_0x27097e(0x3ae)][_0x27097e(0x18e)](()=>{const _0x4ad0f5=_0x27097e;this[_0x4ad0f5(0x378)]&&this[_0x4ad0f5(0xc4)]&&this[_0x4ad0f5(0x166)]&&(this[_0x4ad0f5(0x2a9)]=this[_0x4ad0f5(0x3d1)](this[_0x4ad0f5(0x378)],this[_0x4ad0f5(0xc4)],this['_activeShapeId']),this[_0x4ad0f5(0x2b5)]());}));}[_0xa601e6(0x2cd)](){const _0x2b8ced=_0xa601e6;this[_0x2b8ced(0x321)](this[_0x2b8ced(0x8e)][_0x2b8ced(0x23c)](_0x11c0c5=>{const _0x24cd5d=_0x2b8ced;if(_0x11c0c5['id']!==_0x3a6658[_0x24cd5d(0x3e7)]['id'])return;let {unitId:_0x13c75a,shapeId:_0x1be6c8}=_0x11c0c5[_0x24cd5d(0x1d7)];_0x13c75a===this[_0x24cd5d(0x378)]&&_0x1be6c8===this[_0x24cd5d(0x166)]&&this[_0x24cd5d(0x2bf)]();})),this['disposeWithMe'](this['_drawingManagerService'][_0x2b8ced(0xe3)][_0x2b8ced(0x18e)](_0xaac170=>{const _0x48cdb5=_0x2b8ced;if(_0xaac170[_0x48cdb5(0x3ea)]===0x1){let _0x30ba67=_0xaac170[0x0],_0x5a56db=this[_0x48cdb5(0x34e)]['getDrawingByParam'](_0x30ba67);if((_0x5a56db==null?void 0x0:_0x5a56db[_0x48cdb5(0x343)])===_0x55a2b9[_0x48cdb5(0x23a)][_0x48cdb5(0x3e0)]){this[_0x48cdb5(0x166)]=_0x30ba67[_0x48cdb5(0x120)],this['_unitId']=_0x30ba67[_0x48cdb5(0x1f9)],this[_0x48cdb5(0xc4)]=_0x30ba67[_0x48cdb5(0xed)],this[_0x48cdb5(0x2a9)]=this['_getShapeAdjustPointListById'](_0x30ba67['unitId'],_0x30ba67[_0x48cdb5(0xed)],_0x30ba67[_0x48cdb5(0x120)]),this['_clearShapeAdjustControls'](),this[_0x48cdb5(0x163)]();return;}}this['_activeShapeId']=null,this[_0x48cdb5(0x2a9)]=void 0x0,this['_unitId']=null,this[_0x48cdb5(0xc4)]=null,this[_0x48cdb5(0x30e)]();})),this['disposeWithMe']((0x0,_0x18add5[_0x2b8ced(0x85)])(this['_drawingManagerService']['update$'],this[_0x2b8ced(0x34e)][_0x2b8ced(0x1ac)])[_0x2b8ced(0x18e)](_0x42cce0=>{const _0x6fc6a=_0x2b8ced;var _0x2ff664;let _0x527e67=_0x42cce0['find'](_0xe40805=>_0xe40805[_0x6fc6a(0x120)]===this[_0x6fc6a(0x166)]&&_0xe40805[_0x6fc6a(0x1f9)]===this['_unitId']&&_0xe40805[_0x6fc6a(0xed)]===this[_0x6fc6a(0xc4)]);_0x527e67&&((_0x2ff664=this['_drawingManagerService'][_0x6fc6a(0x2bd)](_0x527e67))==null?void 0x0:_0x2ff664[_0x6fc6a(0x343)])===_0x55a2b9[_0x6fc6a(0x23a)][_0x6fc6a(0x3e0)]&&this[_0x6fc6a(0x16e)](!0x0);})),this['disposeWithMe'](this[_0x2b8ced(0x34e)][_0x2b8ced(0x3f7)]['subscribe'](_0x485acf=>{const _0xa257d0=_0x2b8ced;for(let _0x448897 of _0x485acf)this[_0xa257d0(0x166)]===_0x448897['drawingId']&&(this[_0xa257d0(0x166)]=null,this[_0xa257d0(0x2a9)]=void 0x0,this[_0xa257d0(0x378)]=null,this[_0xa257d0(0xc4)]=null,this[_0xa257d0(0x30e)]());}));}};_0x57f995=_0x14e959([_0x4d90b3(0x1,_0x4613e6['IDrawingManagerService']),_0x4d90b3(0x2,(0x0,_0x55a2b9['Inject'])(_0x3a6658[_0xa601e6(0xaa)])),_0x4d90b3(0x3,_0x55a2b9[_0xa601e6(0xab)])],_0x57f995);let _0x17270c=class extends _0x55a2b9[_0xa601e6(0x175)]{constructor(_0x17f4f1,_0x36f4c1){const _0x430f82=_0xa601e6;super(),this['_permissionService']=_0x17f4f1,this[_0x430f82(0xc2)]=_0x36f4c1,_0x535fda(this,_0x430f82(0xb5),new _0x18add5['BehaviorSubject'](null)),_0x535fda(this,_0x430f82(0x1af),this[_0x430f82(0xb5)][_0x430f82(0xfc)]()),_0x535fda(this,_0x430f82(0x2b3),new _0x18add5[(_0x430f82(0x38c))](!0x1)),_0x535fda(this,_0x430f82(0x99),this[_0x430f82(0x2b3)]['asObservable']()),_0x535fda(this,'_completionFrame',void 0x0),this[_0x430f82(0x321)](this[_0x430f82(0x3c3)]['permissionPointUpdate$'][_0x430f82(0x18e)](()=>{const _0x2829b7=_0x430f82;let _0x26703e=this[_0x2829b7(0x3a1)]();_0x26703e!=null&&_0x26703e[_0x2829b7(0x15a)]&&!this[_0x2829b7(0x2ed)](_0x26703e)&&this['setEditing'](null);}));}[_0xa601e6(0x304)](){const _0x520796=_0xa601e6;this[_0x520796(0x2ff)](),this[_0x520796(0xb5)][_0x520796(0x387)](null),this['_editingParams$']['complete'](),this['_onSavingEditorData$'][_0x520796(0x387)](!0x1),this['_onSavingEditorData$'][_0x520796(0x19e)](),super[_0x520796(0x304)]();}['setEditing'](_0x21a8f3){const _0x12668d=_0xa601e6;(_0x21a8f3==null||!_0x21a8f3['visible']||this['_canEdit'](_0x21a8f3))&&(this[_0x12668d(0x2ff)](),this['_editingParams$']['next'](_0x21a8f3),(_0x21a8f3==null||_0x21a8f3['visible']&&this[_0x12668d(0x2b3)][_0x12668d(0x77)]())&&this[_0x12668d(0x2b3)][_0x12668d(0x387)](!0x1));}[_0xa601e6(0x22e)](_0x21e84f){this['_onSavingEditorData$']['next'](_0x21e84f);}[_0xa601e6(0x3a1)](){const _0x3f6a83=_0xa601e6;return this['_editingParams$'][_0x3f6a83(0x77)]();}[_0xa601e6(0x2ed)](_0x12b01b){const _0x49e36a=_0xa601e6;let _0x139ca8=this[_0x49e36a(0xc2)][_0x49e36a(0x35a)](_0x12b01b[_0x49e36a(0x1f9)],_0x55a2b9['UniverInstanceType']['UNIVER_DOC']);if(!_0x139ca8)return!0x0;let _0x35982c=(0x0,_0x25471a[_0x49e36a(0x374)])(_0x139ca8,_0x12b01b[_0x49e36a(0x187)]);return(0x0,_0x25471a['canEditDocumentTargets'])(this[_0x49e36a(0x3c3)],_0x12b01b[_0x49e36a(0x1f9)],[...(0x0,_0x25471a[_0x49e36a(0xef)])(_0x139ca8,_0x35982c,_0x49e36a(0x1a2),_0x12b01b['shapeId']),(0x0,_0x25471a[_0x49e36a(0x73)])(_0x35982c,_0x49e36a(0x1a2),_0x12b01b[_0x49e36a(0x187)])]);}[_0xa601e6(0xb0)](_0x599575){const _0x5e9912=_0xa601e6;let _0x4e3884=this[_0x5e9912(0x3a1)]();_0x4e3884&&this[_0x5e9912(0x27a)]===void 0x0&&(this[_0x5e9912(0x22e)](!0x0),this[_0x5e9912(0x27a)]=requestAnimationFrame(()=>{const _0x5ed038=_0x5e9912;this[_0x5ed038(0x27a)]=void 0x0,this[_0x5ed038(0x3a1)]()===_0x4e3884&&this[_0x5ed038(0x2e2)](null);}));}[_0xa601e6(0x2ff)](){const _0x2875e5=_0xa601e6;this[_0x2875e5(0x27a)]!==void 0x0&&(cancelAnimationFrame(this[_0x2875e5(0x27a)]),this[_0x2875e5(0x27a)]=void 0x0);}[_0xa601e6(0x8c)](){const _0x3cd303=_0xa601e6;this[_0x3cd303(0x3a1)]()&&this[_0x3cd303(0x2e2)](null);}};_0x17270c=_0x14e959([_0x4d90b3(0x0,_0x55a2b9['IPermissionService']),_0x4d90b3(0x1,_0x55a2b9[_0xa601e6(0x151)])],_0x17270c);function _0x9e8b01(_0x1223e9){const _0x2aaa3b=_0xa601e6;return _0x1223e9['behindText']===!0x0||_0x1223e9[_0x2aaa3b(0x1b3)]===_0x55a2b9[_0x2aaa3b(0xac)][_0x2aaa3b(0x2d4)]||_0x1223e9[_0x2aaa3b(0x3a2)]===_0x55a2b9[_0x2aaa3b(0x9f)][_0x2aaa3b(0x156)]&&_0x1223e9['behindDoc']===_0x55a2b9[_0x2aaa3b(0xac)]['TRUE']?_0x3de3d4['DOCS_COMPONENT_MAIN_LAYER_INDEX']-0x1:_0x33e80b[_0x2aaa3b(0x8a)];}let _0x48e60e=class extends _0x55a2b9['Disposable']{constructor(_0x1f2871,_0x1e740f,_0xe33d6c,_0x148e6c,_0x31b7ad,_0x2bef24,_0x292230){const _0x179098=_0xa601e6;super(),this['_drawingManagerService']=_0x1f2871,this['_docsShapeService']=_0x1e740f,this['_localeService']=_0xe33d6c,this[_0x179098(0x3be)]=_0x148e6c,this[_0x179098(0x229)]=_0x31b7ad,this['_shapeTextEditingService']=_0x2bef24,this[_0x179098(0x2f0)]=_0x292230,_0x535fda(this,_0x179098(0xff),new Map()),this[_0x179098(0x321)](this['_shapeFormulaService'][_0x179098(0x11f)][_0x179098(0x18e)](_0x48a92e=>{const _0x1859cd=_0x179098;var _0x54cd11;(_0x54cd11=this[_0x1859cd(0xff)][_0x1859cd(0xe4)](this[_0x1859cd(0x332)](_0x48a92e[_0x1859cd(0x1f9)],_0x48a92e[_0x1859cd(0xed)],_0x48a92e[_0x1859cd(0x187)])))==null||_0x54cd11[_0x1859cd(0x3e3)](_0x3fd63d=>_0x3fd63d[_0x1859cd(0x3f2)](_0x48a92e['presentation'],_0x48a92e[_0x1859cd(0x7a)]));})),this[_0x179098(0x321)](this[_0x179098(0x34e)]['remove$']['subscribe'](_0x10ff4d=>{const _0x2e21f7=_0x179098;_0x10ff4d[_0x2e21f7(0x3e3)](_0x31a6e5=>{const _0x2e84dc=_0x2e21f7;this['_shapeFormulaService'][_0x2e84dc(0xd4)]({'unitId':_0x31a6e5[_0x2e84dc(0x1f9)],'subUnitId':_0x31a6e5[_0x2e84dc(0xed)],'shapeId':_0x31a6e5[_0x2e84dc(0x120)]}),this['_formulaShapes'][_0x2e84dc(0x38a)](this[_0x2e84dc(0x332)](_0x31a6e5[_0x2e84dc(0x1f9)],_0x31a6e5[_0x2e84dc(0xed)],_0x31a6e5[_0x2e84dc(0x120)]));});}));}[_0xa601e6(0x133)](_0x4f2328,_0x4b7f1b){const _0x39ed2a=_0xa601e6;let {transform:_0x2a04b5,drawingType:_0x479445,srcRect:_0x116c6f,prstGeom:_0x4248cf,groupId:_0x5bc580,unitId:_0xed2867,subUnitId:_0x148624,drawingId:_0x3c7f73,isMultiTransform:_0x5ce888,transforms:_0x18c036,hidden:_0x5a6320,selectable:_0x53f264}=_0x4f2328;if(_0x479445!==_0x55a2b9[_0x39ed2a(0x23a)][_0x39ed2a(0x3e0)]||!this[_0x39ed2a(0x34e)]['getDrawingVisible']()||_0x2a04b5==null)return;let _0x606c1e=this[_0x39ed2a(0x34e)][_0x39ed2a(0x3ef)](),_0x36e6f2=_0x5ce888&&_0x18c036?_0x18c036:[_0x2a04b5],_0x27b3a6=[];for(let [_0x20396b,_0x287675]of _0x36e6f2[_0x39ed2a(0x25a)]()){let {left:_0x2d9df9,top:_0xc9b19d,width:_0x23d2f4,height:_0x216854,angle:_0x4bbe33,flipX:_0x1a98c3,flipY:_0xdf48a7,skewX:_0x543038,skewY:_0x345854}=_0x287675,_0x36a92d=(0x0,_0x4613e6[_0x39ed2a(0x3cb)])({'unitId':_0xed2867,'subUnitId':_0x148624,'drawingId':_0x3c7f73},_0x5ce888?_0x20396b:void 0x0),_0x5aa992=_0x4b7f1b['getObjectIncludeInGroup'](_0x36a92d);if(_0x5aa992!=null){let _0x28e518={'unitId':_0xed2867,'subUnitId':_0x148624,'shapeId':_0x3c7f73};_0x5aa992 instanceof _0x33774c&&this[_0x39ed2a(0x16f)](_0x5aa992,_0x28e518),_0x5aa992[_0x39ed2a(0x267)]({'left':_0x2d9df9,'top':_0xc9b19d,'width':_0x23d2f4,'height':_0x216854,'angle':_0x4bbe33,'flipX':_0x1a98c3,'flipY':_0xdf48a7,'skewX':_0x543038,'skewY':_0x345854});continue;}let _0x242285=this[_0x39ed2a(0x34e)][_0x39ed2a(0x37d)](_0xed2867,_0x148624),_0x5b763f=_0x242285[_0x39ed2a(0x253)](_0x3c7f73);if(_0x4b7f1b[_0x39ed2a(0x191)](_0x36a92d)||!this[_0x39ed2a(0x34e)]['getDrawingVisible']())continue;let _0x11dd6e=this[_0x39ed2a(0xec)][_0x39ed2a(0x184)](_0xed2867,_0x148624,_0x3c7f73);if(!_0x11dd6e)continue;let _0x30604b=(0x0,_0x50389c[_0x39ed2a(0x3a3)])(_0x11dd6e[_0x39ed2a(0x345)]())?{..._0x4c260e[_0x39ed2a(0x357)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x4c260e[_0x39ed2a(0x357)],_0x326f58=_0x11dd6e[_0x39ed2a(0x117)]()['formulaBinding'],_0x5b1c73={'unitId':_0xed2867,'subUnitId':_0x148624,'shapeId':_0x3c7f73};_0x326f58&&this['_shapeFormulaService'][_0x39ed2a(0x140)](_0x5b1c73,_0x326f58);let _0x48e0c9=new _0x33774c(_0x36a92d,{..._0x287675,'zIndex':_0x5b763f===-0x1?_0x242285[_0x39ed2a(0x3ea)]-0x1:_0x5b763f,'shapeModel':_0x11dd6e,'localeService':this[_0x39ed2a(0x160)],'shapeId':_0x3c7f73,'unitId':_0xed2867,'subUnitId':_0x148624,'visible':_0x5a6320!==!0x0,'evented':_0x53f264!==!0x1,'formulaPresentation':_0x326f58?this[_0x39ed2a(0x2f0)][_0x39ed2a(0x2a3)](_0x5b1c73):void 0x0,'animateFormulaPresentation':(_0x326f58==null?void 0x0:_0x326f58['animationEnabled'])!==!0x1,'transformerConfig':_0x30604b});if(_0x326f58){let _0x24db7d=this[_0x39ed2a(0x332)](_0xed2867,_0x148624,_0x3c7f73),_0x73df90=this[_0x39ed2a(0xff)][_0x39ed2a(0xe4)](_0x24db7d)??new Set();_0x73df90['add'](_0x48e0c9),this[_0x39ed2a(0xff)][_0x39ed2a(0x36a)](_0x24db7d,_0x73df90);}this[_0x39ed2a(0x321)]((0x0,_0x55a2b9[_0x39ed2a(0x3b1)])(_0x48e0c9[_0x39ed2a(0x9e)][_0x39ed2a(0x346)]((_0x17b82d,_0x13320f)=>{const _0x153096=_0x39ed2a;_0x11dd6e[_0x153096(0x1cb)]()||_0x326f58||(this['_shapeTextEditingService'][_0x153096(0x2e2)]({'visible':!0x0,'unitId':_0xed2867,'subUnitId':_0x148624,'shapeId':_0x3c7f73,'shapeKey':_0x48e0c9[_0x153096(0x14b)]}),_0x13320f[_0x153096(0x337)]());}))),_0x4b7f1b['addObject'](_0x48e0c9,_0x9e8b01(_0x4f2328)),_0x606c1e&&_0x4b7f1b['attachTransformerTo'](_0x48e0c9),_0x5bc580&&(0x0,_0xfafa51[_0x39ed2a(0x270)])({'drawingId':_0x5bc580,'unitId':_0xed2867,'subUnitId':_0x148624},_0x48e0c9,_0x4b7f1b,this[_0x39ed2a(0x34e)],_0x5ce888?_0x20396b:void 0x0),_0x4248cf!=null&&_0x48e0c9['setPrstGeom'](_0x4248cf),_0x116c6f!=null&&_0x48e0c9[_0x39ed2a(0x307)](_0x116c6f),this[_0x39ed2a(0x11d)](_0x48e0c9,_0x11dd6e[_0x39ed2a(0x117)]()),_0x27b3a6['push'](_0x48e0c9);}return _0x27b3a6;}[_0xa601e6(0x332)](_0x3ab416,_0xc67054,_0xc5aa56){return _0x3ab416+'\x00'+_0xc67054+'\x00'+_0xc5aa56;}[_0xa601e6(0x16f)](_0x5a6dea,_0x4aca30){const _0x1aa707=_0xa601e6;let _0x53b000=this[_0x1aa707(0xec)]['getShapeModel'](_0x4aca30[_0x1aa707(0x1f9)],_0x4aca30[_0x1aa707(0xed)],_0x4aca30[_0x1aa707(0x187)]),_0xd2a72c=_0x53b000==null?void 0x0:_0x53b000[_0x1aa707(0x117)]()[_0x1aa707(0x9a)],_0x23b9a3=this[_0x1aa707(0x332)](_0x4aca30[_0x1aa707(0x1f9)],_0x4aca30[_0x1aa707(0xed)],_0x4aca30['shapeId']);if(_0xd2a72c){this[_0x1aa707(0x2f0)][_0x1aa707(0x140)](_0x4aca30,_0xd2a72c);let _0x1c5e37=this[_0x1aa707(0xff)][_0x1aa707(0xe4)](_0x23b9a3)??new Set();_0x1c5e37[_0x1aa707(0x298)](_0x5a6dea),this[_0x1aa707(0xff)][_0x1aa707(0x36a)](_0x23b9a3,_0x1c5e37);}else{var _0x2262fd;this[_0x1aa707(0x2f0)]['unregister'](_0x4aca30),(_0x2262fd=this[_0x1aa707(0xff)][_0x1aa707(0xe4)](_0x23b9a3))==null||_0x2262fd['delete'](_0x5a6dea);}_0x5a6dea[_0x1aa707(0x3f2)](_0xd2a72c?this[_0x1aa707(0x2f0)][_0x1aa707(0x2a3)](_0x4aca30):void 0x0,(_0xd2a72c==null?void 0x0:_0xd2a72c[_0x1aa707(0x7a)])!==!0x1);}[_0xa601e6(0x289)](_0x1cb6fa){const _0x1d1d9e=_0xa601e6;let _0x19d0b1=_0x1cb6fa[_0x1d1d9e(0x2db)][_0x1d1d9e(0x117)](),_0x4aabd6=_0x19d0b1['fill'];if(!_0x4aabd6||_0x4aabd6[_0x1d1d9e(0x28a)]!==_0x50389c[_0x1d1d9e(0x391)][_0x1d1d9e(0x1cf)]||!_0x4aabd6[_0x1d1d9e(0x131)]){_0x1cb6fa[_0x1d1d9e(0x239)](void 0x0);return;}this[_0x1d1d9e(0x11d)](_0x1cb6fa,_0x19d0b1);}[_0xa601e6(0x11d)](_0x2f7551,_0x295606){const _0x2d098a=_0xa601e6;let _0x2114b2=_0x295606[_0x2d098a(0x2ea)];if(!_0x2114b2||_0x2114b2[_0x2d098a(0x28a)]!==_0x50389c[_0x2d098a(0x391)][_0x2d098a(0x1cf)]||!_0x2114b2[_0x2d098a(0x131)])return;let _0x1cc248=_0x2114b2[_0x2d098a(0x131)],_0x1fdd17=_0x2114b2[_0x2d098a(0x124)]??_0x50389c[_0x2d098a(0x383)]['URL'],_0x28ecf1=this['_imageIoService'][_0x2d098a(0xfa)](_0x1cc248,_0x1fdd17);if(_0x28ecf1){_0x2f7551[_0x2d098a(0x239)](_0x28ecf1);return;}this['_loadAndSetImage'](_0x2f7551,_0x1cc248,_0x1fdd17);}async['_loadAndSetImage'](_0x5ad2fd,_0x1a143a,_0x58ac5a){const _0x2dbf34=_0xa601e6;let _0x146f00;try{if(_0x58ac5a===_0x50389c[_0x2dbf34(0x383)][_0x2dbf34(0x3a9)])_0x146f00=await this['_imageIoService']['getImage'](_0x1a143a);else{if(_0x58ac5a===_0x50389c['ImageSourceTypeEnum'][_0x2dbf34(0x13a)])try{_0x146f00=await this[_0x2dbf34(0x229)]['getImage'](_0x1a143a);}catch{_0x146f00=_0x1a143a;}else _0x146f00=_0x1a143a;}}catch(_0x3b966d){console[_0x2dbf34(0x33b)](_0x2dbf34(0x211),_0x3b966d);return;}let _0x3ba784=new window['Image']();_0x3ba784[_0x2dbf34(0x20e)]=()=>{const _0x13243a=_0x2dbf34;this['_imageIoService'][_0x13243a(0x213)](_0x1a143a,_0x58ac5a,_0x3ba784),_0x5ad2fd['setFillImage'](_0x3ba784);},_0x3ba784[_0x2dbf34(0x79)]=()=>{const _0x89cb2=_0x2dbf34;console[_0x89cb2(0x33b)](_0x89cb2(0x1dd),_0x1a143a);},_0x3ba784[_0x2dbf34(0x1a9)]=_0x146f00;}};_0x48e60e=_0x14e959([_0x4d90b3(0x0,_0x4613e6['IDrawingManagerService']),_0x4d90b3(0x1,(0x0,_0x55a2b9['Inject'])(_0x3a6658[_0xa601e6(0xaa)])),_0x4d90b3(0x2,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x55a2b9[_0xa601e6(0x2d0)])),_0x4d90b3(0x3,_0x55a2b9[_0xa601e6(0x3b0)]),_0x4d90b3(0x4,_0x55a2b9[_0xa601e6(0x174)]),_0x4d90b3(0x5,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x17270c)),_0x4d90b3(0x6,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x231cab[_0xa601e6(0x2d6)]))],_0x48e60e);let _0x182787=class extends _0x55a2b9['Disposable']{constructor(_0x3cc6a8,_0x588e37,_0x31780a){const _0x556b9d=_0xa601e6;super(),this[_0x556b9d(0x277)]=_0x3cc6a8,this[_0x556b9d(0x34e)]=_0x588e37,this[_0x556b9d(0x342)]=_0x31780a,this[_0x556b9d(0x20f)]();}['_initPrinting'](){const _0x16fabe=_0xa601e6;this[_0x16fabe(0x321)](this['_docPrintInterceptorService'][_0x16fabe(0x74)][_0x16fabe(0x26f)](this['_docPrintInterceptorService'][_0x16fabe(0x74)][_0x16fabe(0x189)]()[_0x16fabe(0x2a4)],{'handler':(_0x194c28,_0x2b78b2,_0x5330c5)=>{const _0x4d2f65=_0x16fabe;var _0x23d435;let {unitId:_0x119a4a,scene:_0x3312c7,skeleton:_0x2d2fae}=_0x2b78b2,{pageIndex:_0x1197c7}=_0x2b78b2,_0x38f3cb=(_0x23d435=this['_drawingManagerService'][_0x4d2f65(0x1f3)](_0x119a4a))==null?void 0x0:_0x23d435[_0x119a4a],_0x4a7d3b=_0x43b384(this[_0x4d2f65(0x277)],_0x2d2fae,_0x1197c7);return _0x38f3cb==null||_0x38f3cb['order'][_0x4d2f65(0x3e3)](_0x28876f=>{const _0x4ee809=_0x4d2f65;if(_0x4a7d3b&&!_0x4a7d3b['has'](_0x28876f))return;let _0x41095f=_0x38f3cb[_0x4ee809(0x2f1)][_0x28876f];_0x41095f[_0x4ee809(0x343)]===_0x55a2b9[_0x4ee809(0x23a)][_0x4ee809(0x3e0)]&&!_0x41095f[_0x4ee809(0x1bf)]&&this['_shapeRenderController'][_0x4ee809(0x133)](_0x41095f,_0x3312c7);}),_0x5330c5(_0x194c28);}}));}};_0x182787=_0x14e959([_0x4d90b3(0x0,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x3de3d4[_0xa601e6(0x265)])),_0x4d90b3(0x1,_0x4613e6[_0xa601e6(0x362)]),_0x4d90b3(0x2,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x48e60e))],_0x182787);function _0x43b384(_0x8788cc,_0x59f9bb,_0x5dff1a){const _0x194b80=_0xa601e6;var _0x1692b0,_0x7f1124;let _0x46f5a9=_0x8788cc;if(_0x46f5a9[_0x194b80(0x1b1)])return _0x46f5a9['getPageDrawingIds'](_0x59f9bb,_0x5dff1a);let _0x13c569=_0x59f9bb['getSkeletonData']();if(!_0x13c569||_0x13c569[_0x194b80(0x107)][_0x194b80(0x3ea)]<=0x1||_0x5dff1a==null)return null;let _0x29116b=new Set(),_0x5f5281=_0x13c569[_0x194b80(0x107)][_0x5dff1a];if(!_0x5f5281)return _0x29116b;_0x453085(_0x5f5281,_0x29116b);let _0x58046f=(_0x1692b0=_0x13c569[_0x194b80(0xcd)][_0x194b80(0xe4)](_0x5f5281[_0x194b80(0x123)]))==null?void 0x0:_0x1692b0['get'](_0x5f5281['pageWidth']),_0x527826=(_0x7f1124=_0x13c569['skeFooters'][_0x194b80(0xe4)](_0x5f5281[_0x194b80(0x3bd)]))==null?void 0x0:_0x7f1124[_0x194b80(0xe4)](_0x5f5281[_0x194b80(0xa8)]);return _0x58046f&&_0x453085(_0x58046f,_0x29116b),_0x527826&&_0x453085(_0x527826,_0x29116b),_0x29116b;}function _0x453085(_0x2bfc1e,_0x593b71){const _0x5ca3db=_0xa601e6;for(let _0x3a1564 of _0x2bfc1e['skeDrawings'][_0x5ca3db(0x2fb)]())_0x593b71[_0x5ca3db(0x298)](_0x3a1564);for(let _0x1a8aa3 of _0x2bfc1e[_0x5ca3db(0x2f2)][_0x5ca3db(0x14a)]())for(let _0x5acde6 of _0x1a8aa3[_0x5ca3db(0xdc)])for(let _0x7fcf86 of _0x5acde6['cells'])_0x453085(_0x7fcf86,_0x593b71);}function _0x3b02dd({ref:_0x51fbb3,..._0x59bedb}){const _0x250620=_0xa601e6;let {preserveStrokeWidth:_0x16b52b,icon:_0x2f41a8,id:_0x54ac08,className:_0x3c4743,extend:_0x1f8334,..._0x3e75a2}=_0x59bedb,_0x5164d0=(_0x250620(0x2ac)+_0x54ac08+'\x20'+(_0x3c4743||''))['trim'](),_0x34749b='_'+(0x0,_0x2fb5d7[_0x250620(0x399)])(),_0x4e1054=(0x0,_0x2fb5d7[_0x250620(0x2c0)])(null);return(0x0,_0x2fb5d7['useImperativeHandle'])(_0x51fbb3,()=>_0x4e1054[_0x250620(0xf6)]),(0x0,_0x2fb5d7[_0x250620(0x38f)])(()=>{const _0x39c9a9=_0x250620;if(_0x16b52b&&_0x4e1054[_0x39c9a9(0xf6)]&&_0x4e1054[_0x39c9a9(0xf6)][_0x39c9a9(0x245)]===_0x2f41a8[_0x39c9a9(0x33c)])return _0x30ac3e(_0x4e1054['current']);},[_0x16b52b,_0x2f41a8]),_0x419d99(_0x2f41a8,''+_0x54ac08,{'defIds':_0x2f41a8[_0x250620(0x282)],'idSuffix':_0x34749b},{'ref':_0x4e1054,'className':_0x5164d0,..._0x3e75a2},_0x1f8334);}function _0x419d99(_0xd19e4b,_0x3498f0,_0x3fbe35,_0x243afa,_0x560fa8){const _0x193563=_0xa601e6;return(0x0,_0x2fb5d7[_0x193563(0x167)])(_0xd19e4b[_0x193563(0x33c)],{'key':_0x3498f0,..._0x49bff1(_0xd19e4b,_0x3fbe35,_0x560fa8),..._0x243afa},(_0xf76d4b(_0xd19e4b,_0x3fbe35)[_0x193563(0x154)]||[])[_0x193563(0x285)]((_0x1f7570,_0x2f7192)=>_0x419d99(_0x1f7570,_0x3498f0+'-'+_0xd19e4b[_0x193563(0x33c)]+'-'+_0x2f7192,_0x3fbe35,void 0x0,_0x560fa8)));}function _0x49bff1(_0x410eb2,_0x50f0db,_0x21ce9e){const _0x27f1dd=_0xa601e6;let _0x33bcf8={..._0x410eb2[_0x27f1dd(0x34a)]};_0x21ce9e!=null&&_0x21ce9e[_0x27f1dd(0x328)]&&_0x33bcf8['fill']===_0x27f1dd(0x328)&&(_0x33bcf8['fill']=_0x21ce9e[_0x27f1dd(0x328)]),_0x21ce9e!=null&&_0x21ce9e[_0x27f1dd(0x328)]&&_0x33bcf8[_0x27f1dd(0x3b7)]===_0x27f1dd(0x328)&&(_0x33bcf8[_0x27f1dd(0x3b7)]=_0x21ce9e[_0x27f1dd(0x328)]),_0x410eb2[_0x27f1dd(0x33c)]===_0x27f1dd(0x17a)&&_0x33bcf8['id']&&(_0x33bcf8['id']+=_0x50f0db[_0x27f1dd(0x2ec)]),Object['entries'](_0x33bcf8)['forEach'](([_0x36a653,_0x580704])=>{const _0xae6d4=_0x27f1dd;_0x36a653==='mask'&&typeof _0x580704=='string'&&(_0x33bcf8[_0x36a653]=_0x580704['replace'](/url\(#(.*)\)/,_0xae6d4(0x37e)+_0x50f0db[_0xae6d4(0x2ec)]+')'));});let {defIds:_0x6362b3}=_0x50f0db;return!_0x6362b3||_0x6362b3[_0x27f1dd(0x3ea)]===0x0?_0x33bcf8:(_0x410eb2['tag']===_0x27f1dd(0x283)&&_0x33bcf8[_0x27f1dd(0x118)]&&(_0x33bcf8[_0x27f1dd(0x118)]+=_0x50f0db['idSuffix']),Object[_0x27f1dd(0x25a)](_0x33bcf8)[_0x27f1dd(0x3e3)](([_0x3bbdf1,_0x311252])=>{const _0x3fba2e=_0x27f1dd;typeof _0x311252==_0x3fba2e(0x7c)&&(_0x33bcf8[_0x3bbdf1]=_0x311252[_0x3fba2e(0x2eb)](/url\(#(.*)\)/,_0x3fba2e(0x37e)+_0x50f0db[_0x3fba2e(0x2ec)]+')'));}),_0x33bcf8);}function _0xf76d4b(_0xeebd51,_0x569cc1){const _0x285405=_0xa601e6;var _0xbbe115;let {defIds:_0x4cd27e}=_0x569cc1;return!_0x4cd27e||_0x4cd27e[_0x285405(0x3ea)]===0x0?_0xeebd51:_0xeebd51[_0x285405(0x33c)]==='defs'&&(_0xbbe115=_0xeebd51[_0x285405(0x154)])!=null&&_0xbbe115[_0x285405(0x3ea)]?{..._0xeebd51,'children':_0xeebd51[_0x285405(0x154)]['map'](_0x2b020b=>typeof _0x2b020b[_0x285405(0x34a)]['id']==_0x285405(0x7c)&&_0x4cd27e&&_0x4cd27e[_0x285405(0x2c1)](_0x2b020b[_0x285405(0x34a)]['id'])?{..._0x2b020b,'attrs':{..._0x2b020b[_0x285405(0x34a)],'id':_0x2b020b[_0x285405(0x34a)]['id']+_0x569cc1[_0x285405(0x2ec)]}}:_0x2b020b)}:_0xeebd51;}function _0x30ac3e(_0x168a64){const _0x48d389=_0xa601e6;let _0x366c25=_0x168a64[_0x48d389(0x28f)]['baseVal'],_0x614985=Math[_0x48d389(0x29d)](_0x366c25[_0x48d389(0x11a)],_0x366c25[_0x48d389(0x198)]);if(!Number[_0x48d389(0x361)](_0x614985)||_0x614985<=0x0||_0x366c25['width']<=0x0||_0x366c25[_0x48d389(0x198)]<=0x0)return()=>void 0x0;let _0x9d770c=0x10/_0x614985,_0x414895=Array[_0x48d389(0x2be)](_0x168a64[_0x48d389(0x13b)](_0x48d389(0x2dd)))[_0x48d389(0x244)](_0x2f8399=>{const _0x22238d=_0x48d389;let _0x5ab3c5=getComputedStyle(_0x2f8399),_0x437931=Number[_0x22238d(0x300)](_0x5ab3c5['strokeWidth']);return _0x5ab3c5[_0x22238d(0x3b7)]===_0x22238d(0x32b)||Number[_0x22238d(0x300)](_0x5ab3c5[_0x22238d(0x101)])===0x0||_0x5ab3c5['vectorEffect']===_0x22238d(0x10d)||!Number[_0x22238d(0x361)](_0x437931)||_0x437931<=0x0?[]:[{'element':_0x2f8399,'hadStyleAttribute':_0x2f8399[_0x22238d(0x190)](_0x22238d(0x24b)),'originalStrokeWidth':_0x437931,'strokeWidth':_0x26f925(_0x2f8399['style'],'stroke-width')}];})[_0x48d389(0x285)](_0xad14db=>({'appliedStrokeWidth':null,'element':_0xad14db['element'],'hadStyleAttribute':_0xad14db[_0x48d389(0x185)],'isReleased':!0x1,'originalStrokeWidth':_0xad14db[_0x48d389(0x112)],'strokeWidth':_0xad14db[_0x48d389(0xe5)]}));if(_0x414895['length']===0x0)return()=>void 0x0;let _0x40da6b=(_0x54092b,_0x3de88a)=>{const _0xb5f1fe=_0x48d389;if(_0x366c25[_0xb5f1fe(0x11a)]<=0x0||_0x366c25['height']<=0x0||_0x54092b<=0x0||_0x3de88a<=0x0)return;let _0x3eb32b=Math[_0xb5f1fe(0x33f)](_0x54092b/_0x366c25['width'],_0x3de88a/_0x366c25[_0xb5f1fe(0x198)]);!Number[_0xb5f1fe(0x361)](_0x3eb32b)||_0x3eb32b<=0x0||_0x414895[_0xb5f1fe(0x3e3)](_0x2f7458=>{const _0x149135=_0xb5f1fe;if(_0x2f7458['isReleased'])return;if(_0x2f7458['appliedStrokeWidth']!==null&&(_0x2f7458['element']['style'][_0x149135(0x1dc)](_0x149135(0x1ab))!==_0x2f7458[_0x149135(0x3d8)]||_0x2f7458[_0x149135(0x367)]['style'][_0x149135(0x20d)](_0x149135(0x1ab))!==_0x2f7458['strokeWidth']['priority'])){_0x2f7458[_0x149135(0x3d8)]=null,_0x2f7458[_0x149135(0x2df)]=!0x0;return;}let _0x59c8af=_0x2f7458[_0x149135(0x112)]*_0x9d770c/_0x3eb32b,_0x409456=Number(_0x59c8af[_0x149135(0x15d)](0xc))+'px';_0x2f7458[_0x149135(0x367)][_0x149135(0x24b)]['setProperty'](_0x149135(0x1ab),_0x409456,_0x2f7458[_0x149135(0xe5)][_0x149135(0x127)]),_0x2f7458[_0x149135(0x3d8)]=_0x409456;});},_0x4a9689=_0x168a64[_0x48d389(0x2b4)]();_0x40da6b(_0x4a9689[_0x48d389(0x11a)],_0x4a9689[_0x48d389(0x198)]);let _0x277b51=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x497ffc=>{const _0x279e3f=_0x48d389;if(_0x497ffc[_0x279e3f(0x334)](_0x3cb289=>_0x3cb289['target']===_0x168a64)){let _0x12657e=_0x168a64[_0x279e3f(0x2b4)]();_0x40da6b(_0x12657e[_0x279e3f(0x11a)],_0x12657e[_0x279e3f(0x198)]);}});return _0x277b51==null||_0x277b51[_0x48d389(0x30a)](_0x168a64),()=>{const _0x9a1c54=_0x48d389;_0x277b51==null||_0x277b51['disconnect'](),_0x414895[_0x9a1c54(0x3e3)](_0xa7ddc4=>{const _0x2e0f78=_0x9a1c54;_0xa7ddc4[_0x2e0f78(0x3d8)]!==null&&(_0x308b5a(_0xa7ddc4[_0x2e0f78(0x367)]['style'],_0x2e0f78(0x1ab),_0xa7ddc4[_0x2e0f78(0x3d8)],_0xa7ddc4[_0x2e0f78(0xe5)][_0x2e0f78(0x127)],_0xa7ddc4[_0x2e0f78(0xe5)]),!_0xa7ddc4[_0x2e0f78(0x185)]&&_0xa7ddc4[_0x2e0f78(0x367)][_0x2e0f78(0x24b)][_0x2e0f78(0x3ea)]===0x0&&_0xa7ddc4['element'][_0x2e0f78(0x3c0)](_0x2e0f78(0x24b)));});};}function _0x26f925(_0x3cd24c,_0x5e3032){const _0x2f3ed0=_0xa601e6;return{'priority':_0x3cd24c[_0x2f3ed0(0x20d)](_0x5e3032),'value':_0x3cd24c['getPropertyValue'](_0x5e3032)};}function _0x308b5a(_0x482a2e,_0xc1ab26,_0x46dad5,_0x3c2f81,_0x5e352a){const _0x58f963=_0xa601e6;_0x482a2e[_0x58f963(0x1dc)](_0xc1ab26)===_0x46dad5&&_0x482a2e[_0x58f963(0x20d)](_0xc1ab26)===_0x3c2f81&&(_0x5e352a[_0x58f963(0x2e3)]?_0x482a2e['setProperty'](_0xc1ab26,_0x5e352a[_0x58f963(0x2e3)],_0x5e352a['priority']):_0x482a2e[_0x58f963(0x308)](_0xc1ab26));}_0x3b02dd[_0xa601e6(0x3c8)]='UniverIcon';let _0x505437={'tag':_0xa601e6(0x36f),'attrs':{'xmlns':_0xa601e6(0x3d0),'fill':_0xa601e6(0x32b),'viewBox':_0xa601e6(0x21f),'width':_0xa601e6(0x86),'height':_0xa601e6(0x86)},'children':[{'tag':_0xa601e6(0x11c),'attrs':{'fill':_0xa601e6(0x10c),'d':_0xa601e6(0x1a5),'fillRule':'evenodd','clipRule':'evenodd'}},{'tag':'path','attrs':{'fill':'currentColor','d':_0xa601e6(0x1c4),'fillRule':'evenodd','clipRule':_0xa601e6(0xae)}},{'tag':_0xa601e6(0x11c),'attrs':{'fill':_0xa601e6(0x10c),'d':_0xa601e6(0x29f)}},{'tag':_0xa601e6(0x11c),'attrs':{'fill':_0xa601e6(0x10c),'d':'M8.57975\x2014.5902C8.58121\x2014.5917\x208.58268\x2014.5931\x208.58416\x2014.5946C8.64077\x2014.6502\x208.70566\x2014.6923\x208.77482\x2014.7209C8.84557\x2014.7502\x208.92314\x2014.7664\x209.00449\x2014.7664C9.08585\x2014.7664\x209.16342\x2014.7502\x209.23416\x2014.7209C9.30332\x2014.6923\x209.36821\x2014.6502\x209.42482\x2014.5946'}}]},_0x41994f=(0x0,_0x2fb5d7[_0xa601e6(0x1c5)])(function(_0x53ca19,_0x536e66){const _0x37e217=_0xa601e6;return(0x0,_0x2fb5d7[_0x37e217(0x167)])(_0x3b02dd,Object[_0x37e217(0x3b2)]({},_0x53ca19,{'id':_0x37e217(0x241),'ref':_0x536e66,'icon':_0x505437}));});_0x41994f[_0xa601e6(0x3c8)]=_0xa601e6(0x7f);let _0x4cd5d5={'tag':'svg','attrs':{'xmlns':_0xa601e6(0x3d0),'fill':'none','viewBox':_0xa601e6(0x36e),'width':_0xa601e6(0x86),'height':'1em'},'children':[{'tag':_0xa601e6(0x11c),'attrs':{'fill':'currentColor','d':_0xa601e6(0x2b6),'fillRule':_0xa601e6(0xae),'clipRule':'evenodd'}}]},_0x1c1807=(0x0,_0x2fb5d7[_0xa601e6(0x1c5)])(function(_0x3f3218,_0x4b226a){const _0x501aa5=_0xa601e6;return(0x0,_0x2fb5d7['createElement'])(_0x3b02dd,Object[_0x501aa5(0x3b2)]({},_0x3f3218,{'id':_0x501aa5(0x7b),'ref':_0x4b226a,'icon':_0x4cd5d5}));});_0x1c1807[_0xa601e6(0x3c8)]=_0xa601e6(0x29c);let _0x5048b8={'tag':_0xa601e6(0x36f),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0xa601e6(0x36e),'width':'1em','height':_0xa601e6(0x86)},'children':[{'tag':_0xa601e6(0x11c),'attrs':{'fill':_0xa601e6(0x10c),'d':_0xa601e6(0x88),'fillRule':_0xa601e6(0xae),'clipRule':'evenodd'}}]},_0x501153=(0x0,_0x2fb5d7[_0xa601e6(0x1c5)])(function(_0x55c42f,_0x1d4e2e){const _0x5208d3=_0xa601e6;return(0x0,_0x2fb5d7[_0x5208d3(0x167)])(_0x3b02dd,Object[_0x5208d3(0x3b2)]({},_0x55c42f,{'id':_0x5208d3(0xdf),'ref':_0x1d4e2e,'icon':_0x5048b8}));});_0x501153[_0xa601e6(0x3c8)]=_0xa601e6(0x14e);let _0x3da0b5={'tag':_0xa601e6(0x36f),'attrs':{'xmlns':_0xa601e6(0x3d0),'fill':_0xa601e6(0x32b),'viewBox':'0\x200\x2016\x2016','width':_0xa601e6(0x86),'height':_0xa601e6(0x86)},'children':[{'tag':_0xa601e6(0x11c),'attrs':{'fill':_0xa601e6(0x10c),'d':_0xa601e6(0x2cc),'fillRule':_0xa601e6(0xae),'clipRule':'evenodd'}},{'tag':_0xa601e6(0x11c),'attrs':{'fill':_0xa601e6(0x10c),'d':_0xa601e6(0x15e)}}]},_0xdd6c44=(0x0,_0x2fb5d7[_0xa601e6(0x1c5)])(function(_0x33ee28,_0x416ff6){const _0x2779a3=_0xa601e6;return(0x0,_0x2fb5d7[_0x2779a3(0x167)])(_0x3b02dd,Object['assign']({},_0x33ee28,{'id':_0x2779a3(0x8f),'ref':_0x416ff6,'icon':_0x3da0b5}));});_0xdd6c44[_0xa601e6(0x3c8)]='MoveDownIcon';let _0x150a9e={'tag':'svg','attrs':{'xmlns':_0xa601e6(0x3d0),'fill':_0xa601e6(0x32b),'viewBox':_0xa601e6(0x36e),'width':_0xa601e6(0x86),'height':_0xa601e6(0x86)},'children':[{'tag':_0xa601e6(0x11c),'attrs':{'fill':'currentColor','d':_0xa601e6(0xcb),'fillRule':_0xa601e6(0xae),'clipRule':_0xa601e6(0xae)}},{'tag':'path','attrs':{'fill':'currentColor','d':_0xa601e6(0x30d)}}]},_0x49f65b=(0x0,_0x2fb5d7[_0xa601e6(0x1c5)])(function(_0x6cc43,_0x6df666){const _0x23b6e6=_0xa601e6;return(0x0,_0x2fb5d7[_0x23b6e6(0x167)])(_0x3b02dd,Object[_0x23b6e6(0x3b2)]({},_0x6cc43,{'id':_0x23b6e6(0x1a7),'ref':_0x6df666,'icon':_0x150a9e}));});_0x49f65b[_0xa601e6(0x3c8)]=_0xa601e6(0x34c);let _0x302d42={'tag':_0xa601e6(0x36f),'attrs':{'xmlns':_0xa601e6(0x3d0),'fill':_0xa601e6(0x32b),'viewBox':_0xa601e6(0x36e),'width':'1em','height':_0xa601e6(0x86)},'children':[{'tag':_0xa601e6(0x11c),'attrs':{'stroke':_0xa601e6(0x10c),'d':_0xa601e6(0x393),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0xa601e6(0x11c),'attrs':{'stroke':_0xa601e6(0x10c),'d':_0xa601e6(0x338),'strokeLinecap':_0xa601e6(0xa5),'strokeLinejoin':_0xa601e6(0xa5),'strokeWidth':1.3}}]},_0x3713e1=(0x0,_0x2fb5d7[_0xa601e6(0x1c5)])(function(_0x6de2b1,_0x37006f){const _0x4e2042=_0xa601e6;return(0x0,_0x2fb5d7[_0x4e2042(0x167)])(_0x3b02dd,Object[_0x4e2042(0x3b2)]({},_0x6de2b1,{'id':_0x4e2042(0xa9),'ref':_0x37006f,'icon':_0x302d42}));});_0x3713e1[_0xa601e6(0x3c8)]=_0xa601e6(0x1f7);let _0x329df6={'tag':_0xa601e6(0x36f),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0xa601e6(0x32b),'viewBox':_0xa601e6(0x36e),'width':'1em','height':'1em'},'children':[{'tag':_0xa601e6(0x11c),'attrs':{'stroke':_0xa601e6(0x10c),'d':_0xa601e6(0x2a8),'strokeLinecap':_0xa601e6(0xa5),'strokeLinejoin':_0xa601e6(0xa5),'strokeWidth':1.2}},{'tag':_0xa601e6(0x11c),'attrs':{'stroke':'currentColor','d':_0xa601e6(0x246),'strokeLinecap':_0xa601e6(0xa5),'strokeWidth':1.2}},{'tag':_0xa601e6(0x11c),'attrs':{'stroke':_0xa601e6(0x10c),'d':_0xa601e6(0x139),'strokeLinecap':_0xa601e6(0xa5),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':'currentColor','d':'M11.5565\x208H12.4435L12.913\x208.78261L13.8\x208.57391L14.4261\x209.2L14.2174\x2010.087L15\x2010.5565V11.4435L14.2174\x2011.913L14.4261\x2012.8L13.8\x2013.4261L12.913\x2013.2174L12.4435\x2014H11.5565L11.087\x2013.2174L10.2\x2013.4261L9.57391\x2012.8L9.78261\x2011.913L9\x2011.4435V10.5565L9.78261\x2010.087L9.57391\x209.2L10.2\x208.57391L11.087\x208.78261L11.5565\x208Z','strokeLinejoin':_0xa601e6(0xa5)}},{'tag':_0xa601e6(0x11c),'attrs':{'stroke':_0xa601e6(0x10c),'d':_0xa601e6(0x34b)}}]},_0x1d81dc=(0x0,_0x2fb5d7[_0xa601e6(0x1c5)])(function(_0x1fc7f0,_0x587ae5){const _0x1ad656=_0xa601e6;return(0x0,_0x2fb5d7[_0x1ad656(0x167)])(_0x3b02dd,Object[_0x1ad656(0x3b2)]({},_0x1fc7f0,{'id':_0x1ad656(0x81),'ref':_0x587ae5,'icon':_0x329df6}));});_0x1d81dc['displayName']=_0xa601e6(0x1f2);let _0x1d5ff6={'tag':_0xa601e6(0x36f),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0xa601e6(0x32b),'viewBox':'0\x200\x2020\x2020','width':'1em','height':_0xa601e6(0x86)},'children':[{'tag':_0xa601e6(0x1eb),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':2.45,'fill':_0xa601e6(0x10c),'rx':0.6}},{'tag':_0xa601e6(0x1eb),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':6.1,'fill':_0xa601e6(0x10c),'rx':0.6}},{'tag':_0xa601e6(0x1eb),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':6.1,'fill':_0xa601e6(0x10c),'rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':1.5,'y':9.4,'fill':_0xa601e6(0x10c),'rx':0.6}},{'tag':_0xa601e6(0x1eb),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':9.4,'fill':_0xa601e6(0x10c),'rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':1.5,'y':12.7,'fill':'currentColor','rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':15.25,'y':12.7,'fill':'currentColor','rx':0.6}},{'tag':_0xa601e6(0x1eb),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':16.35,'fill':_0xa601e6(0x10c),'rx':0.6}},{'tag':_0xa601e6(0x11c),'attrs':{'fill':_0xa601e6(0x10c),'d':_0xa601e6(0x71),'fillRule':'evenodd','clipRule':_0xa601e6(0xae)}}]},_0x4a1074=(0x0,_0x2fb5d7[_0xa601e6(0x1c5)])(function(_0x43f70e,_0x16a527){const _0x28334a=_0xa601e6;return(0x0,_0x2fb5d7[_0x28334a(0x167)])(_0x3b02dd,Object[_0x28334a(0x3b2)]({},_0x43f70e,{'id':'text-wrap-shape-icon','ref':_0x16a527,'icon':_0x1d5ff6}));});_0x4a1074['displayName']=_0xa601e6(0x3de);let _0x124bb5={'tag':_0xa601e6(0x36f),'attrs':{'xmlns':_0xa601e6(0x3d0),'fill':_0xa601e6(0x32b),'viewBox':_0xa601e6(0x21f),'width':_0xa601e6(0x86),'height':'1em'},'children':[{'tag':_0xa601e6(0x11c),'attrs':{'fill':'currentColor','d':_0xa601e6(0x17c)}},{'tag':_0xa601e6(0x11c),'attrs':{'fill':_0xa601e6(0x10c),'d':_0xa601e6(0x36b),'fillRule':'evenodd','clipRule':'evenodd'}},{'tag':_0xa601e6(0x11c),'attrs':{'fill':_0xa601e6(0x10c),'d':_0xa601e6(0x1e9),'fillRule':_0xa601e6(0xae),'clipRule':'evenodd'}}]},_0x419c50=(0x0,_0x2fb5d7[_0xa601e6(0x1c5)])(function(_0x2a92da,_0x3bb19c){const _0x23d55d=_0xa601e6;return(0x0,_0x2fb5d7[_0x23d55d(0x167)])(_0x3b02dd,Object[_0x23d55d(0x3b2)]({},_0x2a92da,{'id':_0x23d55d(0x38b),'ref':_0x3bb19c,'icon':_0x124bb5}));});_0x419c50[_0xa601e6(0x3c8)]=_0xa601e6(0x1b2);function _0x20a994(_0x2aee3c){const _0x10f4d8=_0xa601e6;return(0x0,_0x21ff84[_0x10f4d8(0x11b)])(_0x12b3c3,{..._0x2aee3c,'PickerComponent':_0x4c260e['MobileShapePickerPanel']});}function _0x4de5ea(){const _0x5e26bc=_0xa601e6;let _0x4fc770=(0x0,_0x481e6e[_0x5e26bc(0x2c3)])(_0x55a2b9['LocaleService']),_0x1a90e9=_0x409a96(),[_0x329708,_0x3be9f6]=(0x0,_0x2fb5d7[_0x5e26bc(0x3e1)])(!0x1);return(0x0,_0x21ff84[_0x5e26bc(0x287)])(_0x5e26bc(0x23f),{'className':_0x5e26bc(0x296),'children':[(0x0,_0x21ff84[_0x5e26bc(0x11b)])(_0x42c54d[_0x5e26bc(0xe6)],{'title':_0x4fc770['t'](_0x5e26bc(0x2ef)),'aria-expanded':_0x329708,'variant':_0x5e26bc(0x90),'trailing':_0x329708?(0x0,_0x21ff84[_0x5e26bc(0x11b)])(_0x501153,{}):(0x0,_0x21ff84[_0x5e26bc(0x11b)])(_0x1c1807,{}),'onClick':()=>_0x3be9f6(_0x39d81c=>!_0x39d81c)}),_0x329708&&(0x0,_0x21ff84[_0x5e26bc(0x11b)])(_0x4c260e[_0x5e26bc(0x3e6)],{'excludeGroups':[_0x4c260e['ShapeGroupEnum']['Line']],'onShapeClick':_0x2b0ac9=>{_0x1a90e9(_0x2b0ac9),_0x3be9f6(!0x1);}})]});}function _0x148904(_0x59a861){const _0x1d2c8c=_0xa601e6;return _0x59a861[_0x1d2c8c(0xb3)]()||void 0x0;}function _0x3504d2(_0x2bd326,_0x61067d,_0x56a49d){const _0x136905=_0xa601e6;var _0x1a9c0c,_0x46a4c0;return((_0x1a9c0c=_0x2bd326[_0x136905(0xe1)])==null?void 0x0:_0x1a9c0c[_0x136905(0xb3)]())||((_0x46a4c0=_0x2bd326['title'])==null?void 0x0:_0x46a4c0['trim']())||_0x56a49d['t'](_0x136905(0x39a)+(0x0,_0x4c260e[_0x136905(0xad)])(_0x2bd326['drawingType']))+'\x20'+(_0x61067d+0x1);}function _0x9de7cd({PanelComponent:_0x42fb52=_0xfafa51[_0xa601e6(0x3a8)]}){const _0x1af703=_0xa601e6;let _0x216ab6=(0x0,_0x481e6e[_0x1af703(0x2c3)])(_0x55a2b9[_0x1af703(0x2d0)]),_0x1abd7a={'title':_0x216ab6['t'](_0x1af703(0x16c)),'empty':_0x216ab6['t'](_0x1af703(0x31f)),'showAll':_0x216ab6['t']('drawing-ui.objectListPanel.showAll'),'hideAll':_0x216ab6['t'](_0x1af703(0x202)),'lockAll':_0x216ab6['t'](_0x1af703(0x143)),'unlockAll':_0x216ab6['t'](_0x1af703(0x182)),'moveForward':_0x216ab6['t']('drawing-ui.objectListPanel.moveForward'),'moveBackward':_0x216ab6['t'](_0x1af703(0x192)),'close':_0x216ab6['t'](_0x1af703(0x31b)),'show':_0x216ab6['t'](_0x1af703(0x228)),'hide':_0x216ab6['t'](_0x1af703(0xa7)),'lock':_0x216ab6['t'](_0x1af703(0x159)),'unlock':_0x216ab6['t'](_0x1af703(0x323)),'lockHint':_0x216ab6['t']('drawing-ui.objectListPanel.lockHint'),'unlockHint':_0x216ab6['t'](_0x1af703(0x136)),'name':_0x216ab6['t']('drawing-ui.objectListPanel.name'),'nameInput':_0x216ab6['t'](_0x1af703(0x256)),'description':_0x216ab6['t'](_0x1af703(0x375)),'descriptionPlaceholder':_0x216ab6['t'](_0x1af703(0x234)),'details':_0x216ab6['t'](_0x1af703(0x28c)),'noSelection':_0x216ab6['t'](_0x1af703(0x388)),'locate':_0x216ab6['t'](_0x1af703(0x372)),'expand':_0x216ab6['t'](_0x1af703(0x3cc)),'collapse':_0x216ab6['t'](_0x1af703(0x288)),'dragToReorder':_0x216ab6['t'](_0x1af703(0x295)),'search':_0x216ab6['t'](_0x1af703(0x125)),'filterAll':_0x216ab6['t'](_0x1af703(0x205)),'filterHidden':_0x216ab6['t'](_0x1af703(0x27e)),'filterLocked':_0x216ab6['t']('drawing-ui.objectListPanel.filterLocked'),'sectionCanvas':_0x216ab6['t'](_0x1af703(0x210)),'sectionFloating':_0x216ab6['t'](_0x1af703(0x3ad))},_0x55ca6d=(0x0,_0x481e6e['useDependency'])(_0x55a2b9['ICommandService']),_0x28d9c6=(0x0,_0x481e6e[_0x1af703(0x2c3)])(_0x55a2b9[_0x1af703(0x151)]),_0x45559b=(0x0,_0x481e6e['useDependency'])(_0x470cf9[_0x1af703(0x37f)]),_0x2d6b7b=(0x0,_0x481e6e[_0x1af703(0x2c3)])(_0x4613e6[_0x1af703(0x362)]),_0x20dc61=(0x0,_0x481e6e['useDependency'])(_0x33e80b[_0x1af703(0xf2)]),[,_0x13bc93]=(0x0,_0x2fb5d7[_0x1af703(0x271)])(_0x1a6a1b=>_0x1a6a1b+0x1,0x0),_0xee8278=_0x28d9c6['getCurrentUnitOfType'](_0x55a2b9[_0x1af703(0x2b8)][_0x1af703(0x1c9)]),_0x33a8de=(_0xee8278==null?void 0x0:_0xee8278[_0x1af703(0x25b)]())??'',_0x2bd7f0=_0x33a8de,_0x2a677c=(0x0,_0x481e6e[_0x1af703(0x275)])(()=>_0x2d6b7b['focus$'],_0x2d6b7b['getFocusDrawings'](),!0x1,[_0x2d6b7b]);(0x0,_0x2fb5d7['useEffect'])(()=>{const _0x15c9b3=_0x1af703;let _0x4afe47=_0x55ca6d[_0x15c9b3(0x23c)](()=>_0x13bc93());return()=>_0x4afe47['dispose']();},[_0x55ca6d]);let _0x588e1a=_0x33a8de?_0x45559b[_0x1af703(0x259)](_0x33a8de,_0x2bd7f0):{},_0x174aed=(_0x33a8de?_0x45559b[_0x1af703(0x37d)](_0x33a8de,_0x2bd7f0):[])[_0x1af703(0x285)](_0x17f51d=>_0x588e1a[_0x17f51d])[_0x1af703(0x1a6)](_0x5d2585=>!!_0x5d2585)[_0x1af703(0xd9)](),_0x105e70=_0x174aed[_0x1af703(0x10b)]((_0x45c08d,_0x3e6a89)=>(_0x45c08d[(0x0,_0xfafa51['getObjectListPanelSectionIdForDrawingType'])(_0x3e6a89[_0x1af703(0x343)])]+=0x1,_0x45c08d),{'canvas':0x0,'floating':0x0}),_0x38d485={'canvas':0x0,'floating':0x0},_0x3724ea=_0x174aed[_0x1af703(0x285)]((_0x1f336e,_0x13cdaf)=>{const _0x30d63d=_0x1af703;let _0x4b340d=(0x0,_0xfafa51['getObjectListPanelSectionIdForDrawingType'])(_0x1f336e[_0x30d63d(0x343)]),_0xba292=_0x4b340d===_0xfafa51[_0x30d63d(0x2e0)],_0xbfc2d6=_0x38d485[_0x4b340d]++;return{'id':_0x1f336e[_0x30d63d(0x120)],'name':_0x3504d2(_0x1f336e,_0x13cdaf,_0x216ab6),'description':_0x1f336e[_0x30d63d(0x168)],'visible':_0x1f336e['hidden']!==!0x0,'selectable':_0x1f336e[_0x30d63d(0x325)]!==!0x1,'sectionId':_0x4b340d,'sectionTitle':_0xba292?_0x1abd7a[_0x30d63d(0x3db)]:_0x1abd7a[_0x30d63d(0x145)],'capabilities':_0xba292?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0xba292&&_0xbfc2d6>0x0,'canMoveBackward':!_0xba292&&_0xbfc2d6<_0x105e70[_0x30d63d(0x264)]-0x1,'canReorder':!_0xba292};}),_0x4369cb=(0x0,_0x2fb5d7[_0x1af703(0x3d4)])(()=>(_0x2a677c??[])[_0x1af703(0x1a6)](_0xb0510e=>_0xb0510e[_0x1af703(0x1f9)]===_0x33a8de&&_0xb0510e[_0x1af703(0xed)]===_0x2bd7f0)[_0x1af703(0x285)](_0x3b769e=>_0x3b769e[_0x1af703(0x120)]),[_0x2a677c,_0x2bd7f0,_0x33a8de]),_0x375727=_0x4369cb[_0x4369cb['length']-0x1]??null,_0x572267=_0x301871=>_0x45559b['getDrawingByParam']({'unitId':_0x33a8de,'subUnitId':_0x2bd7f0,'drawingId':_0x301871})??null,_0x3713b2=async _0x109ad2=>{const _0x254312=_0x1af703;_0x33a8de&&_0x109ad2[_0x254312(0x3ea)]&&await _0x55ca6d[_0x254312(0x3e4)](_0x3a6658[_0x254312(0x157)]['id'],{'unitId':_0x33a8de,'patches':_0x109ad2});},_0x3d18e6=(_0x266567,_0x511a8b)=>{const _0x2a7553=_0x1af703;if(!_0x33a8de)return;let _0x26d115=_0x511a8b?_0x4369cb[_0x2a7553(0x2c1)](_0x266567)?_0x4369cb[_0x2a7553(0x1a6)](_0x4e307c=>_0x4e307c!==_0x266567):[..._0x4369cb,_0x266567]:[_0x266567];_0x55ca6d[_0x2a7553(0x16d)](_0x4613e6[_0x2a7553(0x116)]['id'],_0x26d115[_0x2a7553(0x285)](_0x22c1c9=>({'unitId':_0x33a8de,'subUnitId':_0x2bd7f0,'drawingId':_0x22c1c9})));let _0x456e4a=_0x26d115[_0x26d115[_0x2a7553(0x3ea)]-0x1];_0x456e4a?(0x0,_0x4c260e[_0x2a7553(0x276)])(_0x20dc61,{'unitId':_0x33a8de,'subUnitId':_0x2bd7f0,'drawingId':_0x456e4a}):(0x0,_0x4c260e[_0x2a7553(0x171)])(_0x20dc61,_0x33a8de);},_0x44364b=async(_0x129b67,_0x58bf37)=>{const _0x3be060=_0x1af703;await _0x3713b2(_0x129b67['map'](_0x213fa1=>_0x572267(_0x213fa1))[_0x3be060(0x1a6)](_0x3ad16e=>!!_0x3ad16e)[_0x3be060(0x1a6)](_0x1a272e=>_0x1a272e[_0x3be060(0x1bf)]!==!0x0!==_0x58bf37)['map'](_0x3d9ccf=>({'drawingId':_0x3d9ccf[_0x3be060(0x120)],'hidden':!_0x58bf37})));},_0xb40c2b=async(_0x4dbe36,_0x515c68)=>{const _0x34fa6d=_0x1af703;await _0x3713b2(_0x4dbe36[_0x34fa6d(0x285)](_0x13cbfa=>_0x572267(_0x13cbfa))[_0x34fa6d(0x1a6)](_0x5fc0f7=>!!_0x5fc0f7)[_0x34fa6d(0x1a6)](_0x2bc650=>_0x2bc650['selectable']!==!0x1!==_0x515c68)['map'](_0x46ef9f=>({'drawingId':_0x46ef9f[_0x34fa6d(0x120)],'selectable':_0x515c68})));},_0x6b3c18=_0x5129f8=>{const _0x2759e5=_0x1af703;let _0x5b9ab2=_0x572267(_0x5129f8);if(_0x5b9ab2)return _0xb40c2b([_0x5129f8],_0x5b9ab2[_0x2759e5(0x325)]===!0x1);},_0x1105db=async(_0x35795b,_0x3117fe)=>{let _0x260fcb=_0x572267(_0x35795b),_0x4ff5ce=_0x148904(_0x3117fe);!_0x260fcb||(_0x260fcb['name']??void 0x0)===_0x4ff5ce&&(_0x260fcb['title']||void 0x0)===_0x4ff5ce||await _0x3713b2([{'drawingId':_0x35795b,'name':_0x4ff5ce,'title':_0x4ff5ce}]);},_0xd97d83=async(_0x5db310,_0x50bee1)=>{const _0x54268b=_0x1af703;let _0x4d6ae5=_0x572267(_0x5db310),_0x5d7c5b=_0x148904(_0x50bee1);_0x4d6ae5&&(_0x4d6ae5[_0x54268b(0x168)]??void 0x0)!==_0x5d7c5b&&await _0x3713b2([{'drawingId':_0x5db310,'description':_0x5d7c5b}]);},_0x15645f=async(_0x43b0b7,_0x12ea29)=>{const _0xa2a24e=_0x1af703;_0x33a8de&&await _0x55ca6d[_0xa2a24e(0x3e4)](_0x470cf9[_0xa2a24e(0x98)]['id'],{'unitId':_0x33a8de,'subUnitId':_0x2bd7f0,'drawingIds':[_0x43b0b7],'arrangeType':_0x12ea29});};return _0x33a8de?(0x0,_0x21ff84[_0x1af703(0x11b)])(_0x42fb52,{'labels':_0x1abd7a,'renderPermissionAction':_0x48f68a=>_0xee8278?(0x0,_0x21ff84[_0x1af703(0x11b)])(_0x481e6e[_0x1af703(0x34f)],{'target':{'unitId':_0x33a8de,'objectId':(0x0,_0x25471a[_0x1af703(0x73)])((0x0,_0x25471a[_0x1af703(0x374)])(_0xee8278,_0x48f68a['id']),_0x1af703(0x1a2),_0x48f68a['id']),'objectType':_0x3547e0[_0x1af703(0x195)][_0x1af703(0x132)]},'name':_0x48f68a[_0x1af703(0xe1)],'commandId':_0x25471a[_0x1af703(0x1a0)]['id'],'exists':()=>!!_0x572267(_0x48f68a['id'])},_0x33a8de+'/'+_0x48f68a['id']):null,'items':_0x3724ea,'selectedIds':_0x4369cb,'focusedId':_0x375727,'showHeader':!0x1,'onSelect':_0x3d18e6,'onSetVisible':_0x44364b,'onSetSelectable':_0xb40c2b,'onCommitName':_0x1105db,'onCommitDescription':_0xd97d83,'onMoveForward':async _0x1d99d3=>_0x15645f(_0x1d99d3,_0x55a2b9[_0x1af703(0x3a5)]['forward']),'onMoveBackward':async _0x36cab6=>_0x15645f(_0x36cab6,_0x55a2b9[_0x1af703(0x3a5)]['backward']),'onToggleSelectable':_0x6b3c18}):(0x0,_0x21ff84[_0x1af703(0x11b)])(_0x1af703(0x23f),{'className':_0x1af703(0x368),'children':_0x1abd7a['title']});}function _0x18776b(){const _0x3add14=_0xa601e6;return(0x0,_0x21ff84[_0x3add14(0x11b)])(_0x9de7cd,{'PanelComponent':_0xfafa51['MobileObjectListPanel']});}let _0x230665=class{constructor(_0x4d7e51){this['_renderManagerService']=_0x4d7e51;}[_0xa601e6(0x203)](_0x133a6f,_0x1c51a7){const _0x3a13a3=_0xa601e6;let _0x4c0c8e=this[_0x3a13a3(0x305)][_0x3a13a3(0x27c)](_0x133a6f[_0x3a13a3(0x1f9)]),_0x46a348=_0x4c0c8e==null?void 0x0:_0x4c0c8e[_0x3a13a3(0x347)];if(!_0x46a348)return;let _0x45a4a5=(0x0,_0x4613e6[_0x3a13a3(0x3cb)])(_0x133a6f),_0x19d236=_0x46a348[_0x3a13a3(0x191)](_0x45a4a5);_0x19d236==null||_0x19d236[_0x3a13a3(0x239)](_0x1c51a7);}};_0x230665=_0x14e959([_0x4d90b3(0x0,_0x33e80b[_0xa601e6(0xf2)])],_0x230665);function _0x2e45c8(){const _0xbb2b59=_0xa601e6;let _0x263caf=(0x0,_0x481e6e[_0xbb2b59(0x2c3)])(_0x4613e6[_0xbb2b59(0x362)]),_0x28023f=(0x0,_0x481e6e[_0xbb2b59(0x275)])(()=>_0x263caf[_0xbb2b59(0xe3)],_0x263caf[_0xbb2b59(0x2aa)](),!0x1,[_0x263caf]);return _0x28023f[_0xbb2b59(0x3ea)]===0x0?null:(0x0,_0x21ff84[_0xbb2b59(0x11b)])(_0xbb2b59(0x23f),{'children':(0x0,_0x21ff84['jsxs'])('div',{'className':_0xbb2b59(0x278),'children':[(0x0,_0x21ff84[_0xbb2b59(0x11b)])(_0xfafa51[_0xbb2b59(0x70)],{'drawings':_0x28023f,'hasCropper':!0x1}),(0x0,_0x21ff84[_0xbb2b59(0x11b)])(_0x1352d9[_0xbb2b59(0xca)],{'drawings':_0x28023f}),(0x0,_0x21ff84[_0xbb2b59(0x11b)])(_0x1352d9['DocDrawingPosition'],{'drawings':_0x28023f})]})});}function _0x2008f3(_0x565732){const _0x1dd1e7=_0xa601e6;let {unitId:_0x3a8305,subUnitId:_0x55f938,shapeId:_0x22ee3d,PositionComponent:_0x52cf5b=_0x2e45c8}=_0x565732,_0x2a6189=(0x0,_0x481e6e['useDependency'])(_0x55a2b9[_0x1dd1e7(0xab)]),_0xdd3c74=(0x0,_0x481e6e['useDependency'])(_0x230665);return(0x0,_0x21ff84[_0x1dd1e7(0x11b)])(_0x4c260e['ShapeEditPanel'],{..._0x565732,'positionEditor':(0x0,_0x21ff84[_0x1dd1e7(0x11b)])(_0x52cf5b,{}),'onUpdateShapeData':(_0x3e0776,_0x30929c)=>{_0x5df502(_0x2a6189,_0x3a8305,_0x55f938,_0x22ee3d,_0x3e0776,_0x30929c);},'onUpdateLineShapeData':(_0x426661,_0x13d578)=>{_0x3e0e73(_0x2a6189,_0x3a8305,_0x55f938,_0x22ee3d,_0x426661,_0x13d578);},'onUpdateShapeFillImage':_0x30b460=>{_0xdd3c74['updateShapeFillImage']({'unitId':_0x3a8305,'subUnitId':_0x55f938,'drawingId':_0x22ee3d},_0x30b460);}});}function _0x37adbc(){const _0x5ba49d=_0xa601e6;let _0x59cf6f=(0x0,_0x481e6e['useDependency'])(_0x4613e6[_0x5ba49d(0x362)]),_0x93b89d=(0x0,_0x481e6e[_0x5ba49d(0x275)])(_0x59cf6f[_0x5ba49d(0xe3)],_0x59cf6f[_0x5ba49d(0x2aa)]());return _0x93b89d[_0x5ba49d(0x3ea)]===0x0?null:(0x0,_0x21ff84[_0x5ba49d(0x287)])(_0x5ba49d(0x23f),{'className':_0x5ba49d(0x16b),'children':[(0x0,_0x21ff84[_0x5ba49d(0x11b)])(_0xfafa51[_0x5ba49d(0x70)],{'drawings':_0x93b89d,'hasCropper':!0x1}),(0x0,_0x21ff84[_0x5ba49d(0x11b)])(_0x1352d9[_0x5ba49d(0x3b6)],{'drawings':_0x93b89d}),(0x0,_0x21ff84[_0x5ba49d(0x11b)])(_0x1352d9[_0x5ba49d(0x306)],{'drawings':_0x93b89d})]});}function _0x488e42(_0x101325){const _0x5c5ed0=_0xa601e6;return(0x0,_0x21ff84['jsx'])(_0x4c260e[_0x5c5ed0(0x313)],{'children':(0x0,_0x21ff84['jsx'])(_0x2008f3,{..._0x101325,'PositionComponent':_0x37adbc})});}function _0x290038({popup:_0x23f02f}){const _0x44b62d=_0xa601e6;let _0x6c0136=(0x0,_0x481e6e[_0x44b62d(0x2c3)])(_0x55a2b9['LocaleService']),{shapeType:_0x140b67,onText:_0x192d51,onStyle:_0x33ae3c,onDelete:_0x59979c}=_0x23f02f['extraProps'],_0x5d1fdd=[{'key':_0x44b62d(0x196),'order':0x0,'item':{'id':_0x44b62d(0x196),'type':_0x481e6e[_0x44b62d(0x113)][_0x44b62d(0xe0)],'title':_0x6c0136['t']('docs-shape-ui.mobile.text'),'disabled$':(0x0,_0x18add5['of'])((0x0,_0x50389c[_0x44b62d(0x3a3)])(_0x140b67))}},{'key':_0x44b62d(0x24b),'order':0x1,'item':{'id':_0x44b62d(0x24b),'type':_0x481e6e[_0x44b62d(0x113)][_0x44b62d(0xe0)],'title':_0x6c0136['t']('docs-shape-ui.mobile.style')}},{'key':_0x44b62d(0x38a),'order':0x2,'item':{'id':'delete','type':_0x481e6e[_0x44b62d(0x113)][_0x44b62d(0xe0)],'title':_0x6c0136['t'](_0x44b62d(0xd8))}}];return(0x0,_0x21ff84[_0x44b62d(0x11b)])(_0x481e6e[_0x44b62d(0x366)],{'schemas':_0x5d1fdd,'presentation':_0x44b62d(0xe8),'onOptionSelect':async({id:_0x125ebd})=>{const _0x87817c=_0x44b62d;_0x125ebd===_0x87817c(0x196)?await _0x192d51():_0x125ebd==='style'?await _0x33ae3c():_0x125ebd===_0x87817c(0x38a)&&await _0x59979c();}});}let _0x4b181a='doc.shape.floating-toolbar';function _0x1ed56c(_0x5d988b,_0x5d6f75){const _0x546691=_0xa601e6;var _0x2fcbd6;let _0x2ba39c=_0x5d988b==null||(_0x2fcbd6=_0x5d988b['getSnapshot']()['drawings'])==null?void 0x0:_0x2fcbd6[_0x5d6f75];return _0x2ba39c?_0x2ba39c[_0x546691(0x3a2)]===_0x55a2b9[_0x546691(0x9f)][_0x546691(0x156)]?_0x2ba39c[_0x546691(0x341)]===_0x55a2b9[_0x546691(0xac)][_0x546691(0x2d4)]?_0x470cf9[_0x546691(0x31e)][_0x546691(0x105)]:_0x470cf9[_0x546691(0x31e)][_0x546691(0x363)]:_0x2ba39c['layoutType']===_0x55a2b9[_0x546691(0x9f)][_0x546691(0x7d)]?_0x470cf9[_0x546691(0x31e)][_0x546691(0x7d)]:_0x2ba39c[_0x546691(0x3a2)]===_0x55a2b9[_0x546691(0x9f)]['WRAP_TOP_AND_BOTTOM']?_0x470cf9['TextWrappingStyle'][_0x546691(0x2f5)]:_0x470cf9['TextWrappingStyle'][_0x546691(0x365)]:_0x470cf9[_0x546691(0x31e)][_0x546691(0x365)];}function _0xd4ca6d(_0x4f028e){const _0x42ad64=_0xa601e6;let _0x4246e6=(0x0,_0x481e6e[_0x42ad64(0x2c3)])(_0x4c260e['ShapeFloatingToolbarService']),_0x34b08d=(0x0,_0x481e6e['useObservable'])(()=>_0x4246e6[_0x42ad64(0x370)],_0x4246e6['getVisible'](),!0x1,[_0x4246e6]),_0x5ed044=_0x4f028e[_0x42ad64(0xa0)][_0x42ad64(0xa1)];return _0x34b08d?(0x0,_0x21ff84[_0x42ad64(0x11b)])(_0x4e7adb,{..._0x5ed044,'canvasElement':_0x4f028e[_0x42ad64(0xa0)]['canvasElement']}):null;}function _0x4e7adb(_0x46ea15){const _0x53a8ca=_0xa601e6;let _0xf6c0bf=(0x0,_0x481e6e[_0x53a8ca(0x2c3)])(_0x55a2b9[_0x53a8ca(0xab)]),_0x3c61d3=(0x0,_0x481e6e['useDependency'])(_0x55a2b9['LocaleService']),_0x28b956=(0x0,_0x481e6e[_0x53a8ca(0x2c3)])(_0x3a6658[_0x53a8ca(0xaa)]),_0x12d4bd=(0x0,_0x481e6e[_0x53a8ca(0x2c3)])(_0x55a2b9['IUniverInstanceService']),{unitId:_0x4fec7d,subUnitId:_0x9a969c,drawingId:_0x2ddb39,shapeType:_0x2e34e5}=_0x46ea15,[_0x582c00,_0x1dc599]=(0x0,_0x2fb5d7[_0x53a8ca(0x3e1)])(_0x46ea15['shapeData']),_0x4cccce=_0x12d4bd['getUnit'](_0x4fec7d,_0x55a2b9[_0x53a8ca(0x2b8)]['UNIVER_DOC'])??void 0x0,[_0xd21125,_0x96e09e]=(0x0,_0x2fb5d7['useState'])(()=>_0x1ed56c(_0x4cccce,_0x2ddb39)),_0x243d34=(0x0,_0x2fb5d7[_0x53a8ca(0x3d4)])(()=>(0x0,_0x4c260e[_0x53a8ca(0x32a)])(_0x582c00),[_0x582c00]),_0x37c413=(0x0,_0x2fb5d7['useMemo'])(()=>(0x0,_0x4c260e[_0x53a8ca(0x216)])(_0x582c00),[_0x582c00]);(0x0,_0x2fb5d7[_0x53a8ca(0x3ed)])(()=>{const _0x189c07=_0x53a8ca;let _0x2eb1c4=_0xf6c0bf[_0x189c07(0x23c)](_0x43e06c=>{const _0x3b81e3=_0x189c07;if(_0x43e06c['id']!==_0x3a6658[_0x3b81e3(0x3e7)]['id'])return;let _0x41a985=_0x28b956[_0x3b81e3(0x236)](_0x4fec7d,_0x9a969c,_0x2ddb39);_0x41a985&&_0x1dc599(_0x41a985);});return()=>_0x2eb1c4[_0x189c07(0x304)]();},[_0xf6c0bf,_0x28b956,_0x2ddb39,_0x9a969c,_0x4fec7d]);let _0x390a1c=_0x4e7659=>{_0x1dc599(_0x57a32b=>({..._0x57a32b,..._0x4e7659}));},_0x404ffe=_0x1743b1=>{let _0x16d825=(0x0,_0x4c260e['buildShapeTextDataUpdate'])(_0x582c00,_0x1743b1);_0x5df502(_0xf6c0bf,_0x4fec7d,_0x9a969c,_0x2ddb39,{'oldShapeData':{'shapeText':_0x582c00['shapeText']}},_0x16d825),_0x390a1c(_0x16d825);},_0x5582e1=_0x88d72b=>{const _0xfdc92=_0x53a8ca;_0x96e09e(_0x88d72b),_0xf6c0bf['executeCommand'](_0x470cf9[_0xfdc92(0x3c2)]['id'],{'unitId':_0x4fec7d,'subUnitId':_0x9a969c,'drawings':[{'unitId':_0x4fec7d,'subUnitId':_0x9a969c,'drawingId':_0x2ddb39}],'wrappingStyle':_0x88d72b});},_0x471eed=(0x0,_0x4c260e[_0x53a8ca(0xba)])({'hostType':_0x55a2b9[_0x53a8ca(0x2b8)][_0x53a8ca(0x1c9)],'unitId':_0x4fec7d,'subUnitId':_0x9a969c,'shapeId':_0x2ddb39,'shapeData':_0x582c00,'onUpdateBinding':_0x28efbb=>{let _0x2bdb6d={'formulaBinding':_0x28efbb};_0x5df502(_0xf6c0bf,_0x4fec7d,_0x9a969c,_0x2ddb39,{'oldShapeData':{'formulaBinding':_0x582c00['formulaBinding']}},_0x2bdb6d),_0x390a1c(_0x2bdb6d);}}),_0xb8434e=[{'label':_0x3c61d3['t']('docs-shape-ui.textWrap.inline'),'value':_0x470cf9[_0x53a8ca(0x31e)][_0x53a8ca(0x365)],'icon':(0x0,_0x21ff84[_0x53a8ca(0x11b)])(_0x4a1074,{})},{'label':_0x3c61d3['t']('docs-shape-ui.textWrap.square'),'value':_0x470cf9[_0x53a8ca(0x31e)]['WRAP_SQUARE'],'icon':(0x0,_0x21ff84[_0x53a8ca(0x11b)])(_0x4a1074,{})},{'label':_0x3c61d3['t'](_0x53a8ca(0x33d)),'value':_0x470cf9[_0x53a8ca(0x31e)][_0x53a8ca(0x2f5)],'icon':(0x0,_0x21ff84[_0x53a8ca(0x11b)])(_0x4a1074,{})},{'label':_0x3c61d3['t'](_0x53a8ca(0x24d)),'value':_0x470cf9[_0x53a8ca(0x31e)][_0x53a8ca(0x105)],'icon':(0x0,_0x21ff84[_0x53a8ca(0x11b)])(_0x4a1074,{})},{'label':_0x3c61d3['t'](_0x53a8ca(0x373)),'value':_0x470cf9[_0x53a8ca(0x31e)][_0x53a8ca(0x363)],'icon':(0x0,_0x21ff84['jsx'])(_0x4a1074,{})}];return(0x0,_0x21ff84[_0x53a8ca(0x287)])(_0x21ff84['Fragment'],{'children':[(0x0,_0x21ff84[_0x53a8ca(0x11b)])(_0x4c260e[_0x53a8ca(0xc8)],{'canvasElement':_0x46ea15[_0x53a8ca(0x2a2)],'shapeData':_0x582c00,'shapeType':_0x2e34e5,'textStyle':{'ff':_0x50389c[_0x53a8ca(0xb1)][_0x53a8ca(0x19d)][_0x53a8ca(0x2e8)],'fs':_0x50389c[_0x53a8ca(0xb1)][_0x53a8ca(0x19d)][_0x53a8ca(0x209)],'cl':{'rgb':_0x50389c['ShapeDefaultConfig']['shapeText']['color']},..._0x243d34},'textModel':_0x37c413?{'ha':_0x37c413['ha']??_0x55a2b9[_0x53a8ca(0x2f9)][_0x53a8ca(0x3cd)],'va':_0x37c413['va']??_0x55a2b9[_0x53a8ca(0x2f4)]['TOP']}:null,'wrappingStyle':_0xd21125,'wrappingStyleOptions':_0xb8434e,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x50389c[_0x53a8ca(0xb1)][_0x53a8ca(0x2ea)],'defaultGradientEndColor':_0x50389c[_0x53a8ca(0xb1)][_0x53a8ca(0x219)],'defaultStrokeColor':_0x50389c['ShapeDefaultConfig'][_0x53a8ca(0x3b7)],'extensionGroups':_0x471eed['extensionGroups'],'floatingObjectToolbarPosition':_0x481e6e[_0x53a8ca(0x232)][_0x53a8ca(0x36c)],'onUpdateShapeData':(_0x242622,_0x519d99)=>{_0x5df502(_0xf6c0bf,_0x4fec7d,_0x9a969c,_0x2ddb39,_0x242622,_0x519d99),_0x519d99&&_0x390a1c(_0x519d99);},'onUpdateText':_0x404ffe,'onUpdateWrappingStyle':_0x4cb4b3=>_0x5582e1(_0x4cb4b3),'onOpenPanel':()=>{_0xf6c0bf['executeCommand'](_0x47887f['id'],{'unitId':_0x4fec7d,'subUnitId':_0x9a969c,'drawingId':_0x2ddb39});},'onDelete':()=>{const _0x52e01f=_0x53a8ca;_0xf6c0bf[_0x52e01f(0x3e4)](_0x470cf9[_0x52e01f(0x26a)]['id'],{'unitId':_0x4fec7d,'drawings':[{'unitId':_0x4fec7d,'subUnitId':_0x9a969c,'drawingId':_0x2ddb39}]});}}),_0x471eed['panel']]});}function _0x3080d9({variant:_0x8ee6d,extend:_0x3d86e6,..._0x2ceb20}){const _0x2a604d=_0xa601e6;let _0x219db0=(0x0,_0x21ff84[_0x2a604d(0x11b)])(_0x2a604d(0x1eb),{'x':'7','y':'5.5','width':'6','height':'9','rx':'1','fill':'currentColor','fillOpacity':_0x2a604d(0x377),'stroke':_0x2a604d(0x10c),'strokeWidth':_0x2a604d(0x15c)});return(0x0,_0x21ff84[_0x2a604d(0x287)])(_0x2a604d(0x36f),{'aria-hidden':_0x2a604d(0x1a1),'fill':_0x2a604d(0x32b),'height':_0x2a604d(0x86),'viewBox':_0x2a604d(0x1b4),'width':_0x2a604d(0x86),..._0x2ceb20,'children':[_0x8ee6d===_0x2a604d(0x2fa)&&(0x0,_0x21ff84[_0x2a604d(0x287)])(_0x21ff84[_0x2a604d(0x92)],{'children':[(0x0,_0x21ff84[_0x2a604d(0x11b)])('path',{'d':_0x2a604d(0x327),'stroke':_0x2a604d(0x10c),'strokeLinecap':_0x2a604d(0xa5),'strokeWidth':_0x2a604d(0x15c)}),(0x0,_0x21ff84[_0x2a604d(0x11b)])('rect',{'x':'8','y':'7','width':'4','height':'6','rx':_0x2a604d(0x320),'fill':_0x2a604d(0x10c),'fillOpacity':'0.14','stroke':_0x2a604d(0x10c),'strokeWidth':_0x2a604d(0x15c)})]}),_0x8ee6d==='square'&&(0x0,_0x21ff84[_0x2a604d(0x287)])(_0x21ff84[_0x2a604d(0x92)],{'children':[(0x0,_0x21ff84['jsx'])(_0x2a604d(0x11c),{'d':_0x2a604d(0x2c8),'stroke':'currentColor','strokeLinecap':_0x2a604d(0xa5),'strokeWidth':'1.2'}),_0x219db0]}),_0x8ee6d===_0x2a604d(0x1f8)&&(0x0,_0x21ff84['jsxs'])(_0x21ff84['Fragment'],{'children':[(0x0,_0x21ff84[_0x2a604d(0x11b)])(_0x2a604d(0x11c),{'d':'M2\x203h16M2\x2017h16','stroke':_0x2a604d(0x10c),'strokeLinecap':_0x2a604d(0xa5),'strokeWidth':_0x2a604d(0x15c)}),_0x219db0]}),_0x8ee6d===_0x2a604d(0x314)&&(0x0,_0x21ff84[_0x2a604d(0x287)])(_0x21ff84[_0x2a604d(0x92)],{'children':[_0x219db0,(0x0,_0x21ff84[_0x2a604d(0x11b)])(_0x2a604d(0x11c),{'d':_0x2a604d(0x3d9),'stroke':_0x2a604d(0x10c),'strokeLinecap':_0x2a604d(0xa5),'strokeWidth':_0x2a604d(0x15c)})]}),_0x8ee6d==='front'&&(0x0,_0x21ff84['jsxs'])(_0x21ff84['Fragment'],{'children':[(0x0,_0x21ff84[_0x2a604d(0x11b)])(_0x2a604d(0x11c),{'d':'M2\x203h16M2\x207.5h16M2\x2010h16M2\x2012.5h16M2\x2017h16','stroke':_0x2a604d(0x10c),'strokeLinecap':_0x2a604d(0xa5),'strokeWidth':_0x2a604d(0x15c)}),(0x0,_0x21ff84[_0x2a604d(0x11b)])(_0x2a604d(0x1eb),{'x':'7','y':_0x2a604d(0x24f),'width':'6','height':'9','rx':'1','fill':_0x2a604d(0x10c)})]})]});}let _0x545ced=_0x342101=>_0x121300=>(0x0,_0x21ff84[_0xa601e6(0x11b)])(_0x3080d9,{..._0x121300,'variant':_0x342101}),_0x52b12b={'DocsShapeWrapInlineIcon':_0x545ced(_0xa601e6(0x2fa)),'DocsShapeWrapSquareIcon':_0x545ced(_0xa601e6(0x13e)),'DocsShapeWrapTopBottomIcon':_0x545ced('top-bottom'),'DocsShapeWrapBehindTextIcon':_0x545ced('behind'),'DocsShapeWrapInFrontOfTextIcon':_0x545ced(_0xa601e6(0xb7))},_0x5cedaf=(0x0,_0x2fb5d7['memo'])(()=>{const _0x2d4aff=_0xa601e6;let _0x1fcaa7=(0x0,_0x481e6e[_0x2d4aff(0x2c3)])(_0x17270c),_0x5d40a7=(0x0,_0x481e6e[_0x2d4aff(0x2c3)])(_0x3a6658[_0x2d4aff(0xaa)]),_0x23df2c=(0x0,_0x481e6e['useDependency'])(_0x4613e6[_0x2d4aff(0x362)]),_0x206f98=(0x0,_0x481e6e['useDependency'])(_0x55a2b9[_0x2d4aff(0xab)]),_0x382ea8=(0x0,_0x2fb5d7[_0x2d4aff(0x3d4)])(()=>({'getShapeModel':(_0x47c43e,_0x4efbb,_0x56fda4)=>_0x5d40a7[_0x2d4aff(0x184)](_0x47c43e,_0x4efbb,_0x56fda4),'getShapeData':(_0x4154dd,_0x2674a6,_0x54df91)=>_0x5d40a7['getShapeDataById'](_0x4154dd,_0x2674a6,_0x54df91),'getDrawingTransform':(_0x1c27ff,_0xecb805,_0x1dc1fb)=>{const _0x43c9a4=_0x2d4aff;let _0x5acdc1=_0x23df2c['getDrawingByParam']({'unitId':_0x1c27ff,'subUnitId':_0xecb805,'drawingId':_0x1dc1fb});return _0x5acdc1==null?void 0x0:_0x5acdc1[_0x43c9a4(0x2fd)];},'updateShapeText':({unitId:_0x42a4e3,shapeId:_0x249dad,shapeText:_0x584d5c,oldShapeText:_0x283016})=>{const _0x48ee0c=_0x2d4aff;_0x206f98[_0x48ee0c(0x3e4)](_0x3a6658[_0x48ee0c(0x39e)]['id'],{'unitId':_0x42a4e3,'shapeId':_0x249dad,'shapeData':{'shapeText':_0x584d5c},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x283016}}});},'updateHostSize':({unitId:_0x1dea2c,subUnitId:_0x861811,shapeId:_0x59e481,width:_0x5ba32f,height:_0x5dcc5a})=>{const _0x1c84eb=_0x2d4aff;_0x206f98[_0x1c84eb(0x3e4)](_0x470cf9['UpdateDrawingDocTransformCommand']['id'],{'unitId':_0x1dea2c,'subUnitId':_0x861811,'drawings':[{'drawingId':_0x59e481,'key':'size','value':{'width':_0x5ba32f,'height':_0x5dcc5a}}]});},'allowHostSizeShrink':({unitId:_0x590012,subUnitId:_0xde2737,shapeId:_0x494cbb})=>(0x0,_0x4c260e[_0x2d4aff(0x2d5)])(_0x5d40a7[_0x2d4aff(0x236)](_0x590012,_0xde2737,_0x494cbb))}),[_0x206f98,_0x5d40a7,_0x23df2c]),_0x2f950b=(0x0,_0x2fb5d7[_0x2d4aff(0x3d4)])(()=>({'viewportKeys':{'main':_0x3de3d4[_0x2d4aff(0x379)][_0x2d4aff(0x214)]}}),[]);return(0x0,_0x21ff84[_0x2d4aff(0x11b)])(_0x4c260e[_0x2d4aff(0xeb)],{'adapter':_0x382ea8,'editingService':_0x1fcaa7,'editorUnitId':_0x21dfd9,'positionOptions':_0x2f950b});}),_0x39d161=class extends _0x55a2b9[_0xa601e6(0x175)]{constructor(_0x37e457,_0x44031d){const _0x48e643=_0xa601e6;super(),this[_0x48e643(0x261)]=_0x37e457,this[_0x48e643(0x130)]=_0x44031d,this['_registerIcons'](),this[_0x48e643(0x19f)]();}[_0xa601e6(0x353)](){const _0x4a32b2=_0xa601e6;this['_iconManager'][_0x4a32b2(0xd0)](_0x4a32b2(0x1f7))||this[_0x4a32b2(0x321)](this[_0x4a32b2(0x130)][_0x4a32b2(0x140)]({'ObjectLayersIcon':_0x3713e1})),this['_iconManager']['has']('BottomIcon')||this[_0x4a32b2(0x321)](this['_iconManager']['register']({'BottomIcon':_0x41994f})),this[_0x4a32b2(0x130)][_0x4a32b2(0xd0)](_0x4a32b2(0x3ac))||this[_0x4a32b2(0x321)](this['_iconManager']['register']({'MoveDownIcon':_0xdd6c44})),this['_iconManager'][_0x4a32b2(0xd0)](_0x4a32b2(0x34c))||this['disposeWithMe'](this['_iconManager'][_0x4a32b2(0x140)]({'MoveUpIcon':_0x49f65b})),this[_0x4a32b2(0x130)][_0x4a32b2(0xd0)]('ShapeFormatSettingIcon')||this[_0x4a32b2(0x321)](this[_0x4a32b2(0x130)][_0x4a32b2(0x140)]({'ShapeFormatSettingIcon':_0x1d81dc})),this[_0x4a32b2(0x130)][_0x4a32b2(0xd0)](_0x4a32b2(0x1b2))||this[_0x4a32b2(0x321)](this['_iconManager'][_0x4a32b2(0x140)]({'TopmostIcon':_0x419c50})),this[_0x4a32b2(0x321)](this['_iconManager'][_0x4a32b2(0x140)](_0x52b12b));}[_0xa601e6(0x19f)](){const _0x58a174=_0xa601e6;this['disposeWithMe'](this[_0x58a174(0x261)]['register'](_0x37b8fd,_0x488e42)),this[_0x58a174(0x25c)](),this[_0x58a174(0x233)](),this[_0x58a174(0x321)](this[_0x58a174(0x261)][_0x58a174(0x140)](_0x17a03d,_0x3d0fc5)),this[_0x58a174(0x321)](this[_0x58a174(0x261)]['register'](_0x37ad9a,_0x5dfbe7)),this[_0x58a174(0x321)](this[_0x58a174(0x261)][_0x58a174(0x140)](_0x1f4017,_0x2cb9fb)),this[_0x58a174(0x321)](this['_componentManager']['register'](_0xa4b40c,_0x4ee0d5)),this['disposeWithMe'](this['_componentManager']['register'](_0x3b5997,_0x398471)),this[_0x58a174(0x321)](this[_0x58a174(0x261)][_0x58a174(0x140)](_0x50cbfb,_0x4c260e[_0x58a174(0x12a)])),this[_0x58a174(0x286)](),this['_componentManager'][_0x58a174(0xe4)](_0xfafa51[_0x58a174(0xfe)])||this['disposeWithMe'](this[_0x58a174(0x261)][_0x58a174(0x140)](_0xfafa51[_0x58a174(0xfe)],_0x407e71)),this['disposeWithMe'](this[_0x58a174(0x261)][_0x58a174(0x140)](_0x37a98f,_0x5cedaf));}[_0xa601e6(0x25c)](){const _0x3d8225=_0xa601e6;this[_0x3d8225(0x321)](this['_componentManager']['register'](_0x57d974,_0x18776b));}[_0xa601e6(0x233)](){const _0x39a259=_0xa601e6;this[_0x39a259(0x321)](this[_0x39a259(0x261)][_0x39a259(0x140)](_0x4b181a,_0x290038));}['_registerPickers'](){const _0x9ffcad=_0xa601e6;this['disposeWithMe'](this[_0x9ffcad(0x261)][_0x9ffcad(0x140)](_0x58155c,_0x20a994)),this[_0x9ffcad(0x321)](this['_componentManager'][_0x9ffcad(0x140)](_0x5651bd,_0x4de5ea));}};_0x39d161=_0x14e959([_0x4d90b3(0x0,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x481e6e[_0xa601e6(0x27b)])),_0x4d90b3(0x1,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x481e6e['IconManager']))],_0x39d161);let _0x186d63=class extends _0x55a2b9['Disposable']{constructor(_0x34ce7f,_0x5ad994,_0x469fb1,_0x173824,_0x49cd2b,_0x5bdb4e,_0x57ecc8,_0x359aa3,_0x370955,_0x4bf95d,_0x5ca200,_0x4a257a,_0x287b1c){const _0x17f91d=_0xa601e6;super(),this[_0x17f91d(0x1ed)]=_0x34ce7f,this[_0x17f91d(0x29e)]=_0x5ad994,this['_menuManagerService']=_0x469fb1,this[_0x17f91d(0xec)]=_0x173824,this[_0x17f91d(0x160)]=_0x49cd2b,this[_0x17f91d(0x8e)]=_0x5bdb4e,this[_0x17f91d(0x34e)]=_0x57ecc8,this[_0x17f91d(0x3bf)]=_0x359aa3,this[_0x17f91d(0x305)]=_0x370955,this[_0x17f91d(0x322)]=_0x4bf95d,this['_shapeTextEditingService']=_0x5ca200,this[_0x17f91d(0x3c3)]=_0x4a257a,this[_0x17f91d(0x6d)]=_0x287b1c,_0x535fda(this,_0x17f91d(0x220),null),_0x535fda(this,'_activeShapeInfo',null),_0x535fda(this,'_isOpenedShapeEditPanel',!0x1),_0x535fda(this,_0x17f91d(0x396),0x0),_0x535fda(this,'_disposePopupsByUnit',new Map()),_0x535fda(this,'_popupTargetKeys',new Map()),this[_0x17f91d(0x1b6)](),this[_0x17f91d(0x321)](this[_0x17f91d(0x1ed)][_0x17f91d(0x340)](_0x55a2b9[_0x17f91d(0x2b8)][_0x17f91d(0x1c9)])[_0x17f91d(0x18e)](_0x340bdf=>{const _0x1b323b=_0x17f91d;if(!_0x340bdf){var _0x2f7027;(_0x2f7027=this[_0x1b323b(0x220)])==null||_0x2f7027[_0x1b323b(0x304)]();}})),this['_registerOperations'](),this[_0x17f91d(0x321)]((0x0,_0x4c260e[_0x17f91d(0x329)])(this[_0x17f91d(0x305)],_0x55a2b9[_0x17f91d(0x2b8)][_0x17f91d(0x1c9)],_0x1018b9=>this[_0x17f91d(0xb2)](_0x1018b9))),this[_0x17f91d(0x321)](this['_shapeTextEditingService'][_0x17f91d(0x1af)][_0x17f91d(0x18e)](_0x46cbac=>{const _0x31e8b8=_0x17f91d;_0x46cbac&&this[_0x31e8b8(0x152)](void 0x0,!0x0);})),this['disposeWithMe'](this[_0x17f91d(0x3c3)][_0x17f91d(0x212)][_0x17f91d(0x18e)](()=>{const _0x110916=_0x17f91d;this['_drawingManagerService'][_0x110916(0x2aa)]()[_0x110916(0x334)](_0x185fbd=>_0x185fbd[_0x110916(0x343)]===_0x55a2b9[_0x110916(0x23a)][_0x110916(0x3e0)]&&this[_0x110916(0x1ed)][_0x110916(0x2f3)](_0x185fbd['unitId'])===_0x55a2b9[_0x110916(0x2b8)][_0x110916(0x1c9)]&&!this[_0x110916(0x1bc)](_0x185fbd[_0x110916(0x1f9)],_0x185fbd[_0x110916(0x120)]))&&(this[_0x110916(0x152)](void 0x0,!0x0),this['_closeShapeEditPanel']());}));}[_0xa601e6(0x248)](_0x58fe7a,_0x2b905e,_0x404e0a,_0x5b60bb){const _0x37f32e=_0xa601e6;return[{'label':_0x37f32e(0x1ff),'index':0x0,'commandId':_0x47887f['id'],'commandParams':{'unitId':_0x58fe7a,'subUnitId':_0x2b905e,'drawingId':_0x404e0a},'disable':_0x5b60bb===_0x55a2b9[_0x37f32e(0x23a)][_0x37f32e(0x87)]},{'label':_0x37f32e(0x339),'index':0x1,'commandId':_0x470cf9[_0x37f32e(0x26a)]['id'],'commandParams':{'unitId':_0x58fe7a,'drawings':[{'unitId':_0x58fe7a,'subUnitId':_0x2b905e,'drawingId':_0x404e0a}]},'disable':!0x1},{'label':'docs-shape-ui.hidePanel','index':0x2,'commandId':_0x540093['id'],'commandParams':{'unitId':_0x58fe7a,'subUnitId':_0x2b905e,'drawingId':_0x404e0a},'disable':!0x1}];}[_0xa601e6(0x1b6)](){const _0x1d5e98=_0xa601e6;this[_0x1d5e98(0x2ba)][_0x1d5e98(0x2b0)](_0x565b14);}[_0xa601e6(0x119)](_0x5ca326,_0x31ebeb,_0x57496d){const _0x220c24=_0xa601e6;let _0x33332c=this[_0x220c24(0xec)][_0x220c24(0x3d6)](_0x5ca326,_0x31ebeb,_0x57496d),_0x14772d=this[_0x220c24(0xec)][_0x220c24(0x236)](_0x5ca326,_0x31ebeb,_0x57496d);return _0x33332c===void 0x0||_0x14772d===void 0x0?null:{'shapeData':_0x14772d,'shapeId':_0x57496d,'shapeType':_0x33332c,'unitId':_0x5ca326,'subUnitId':_0x31ebeb,'version':this[_0x220c24(0x396)],'disableShapeOption':!0x1};}['_clearPopups'](_0x5e66b4,_0x328a91=!0x1){const _0x424ba4=_0xa601e6;if(_0x5e66b4==null){[...this[_0x424ba4(0x31d)][_0x424ba4(0x2fb)]()]['forEach'](_0x55844d=>this['_clearPopups'](_0x55844d,_0x328a91));return;}let _0x3eac0e=this['_disposePopupsByUnit'][_0x424ba4(0xe4)](_0x5e66b4);if(_0x3eac0e){for(let _0x44c906=_0x3eac0e[_0x424ba4(0x3ea)]-0x1;_0x44c906>=0x0;--_0x44c906){let _0x39178c=_0x3eac0e[_0x44c906];(_0x328a91||_0x39178c['canDispose']())&&(_0x39178c[_0x424ba4(0x304)](),_0x3eac0e[_0x424ba4(0x178)](_0x44c906,0x1));}_0x3eac0e[_0x424ba4(0x3ea)]===0x0&&(this[_0x424ba4(0x31d)]['delete'](_0x5e66b4),this[_0x424ba4(0x3c1)]['delete'](_0x5e66b4));}}[_0xa601e6(0xa4)](_0x372d20){const _0x257655=_0xa601e6;let _0x329891=this['_disposePopupsByUnit']['get'](_0x372d20);if(_0x329891)return _0x329891;let _0x5917e1=[];return this['_disposePopupsByUnit'][_0x257655(0x36a)](_0x372d20,_0x5917e1),_0x5917e1;}[_0xa601e6(0xb2)](_0x30c17b){const _0x522563=_0xa601e6;var _0x1dd715;let _0x5b56c5=new _0x55a2b9['DisposableCollection'](),_0x6e0f50=(_0x1dd715=this[_0x522563(0x305)]['getAllRenderersOfType'](_0x55a2b9[_0x522563(0x2b8)][_0x522563(0x1c9)])[_0x522563(0x177)](_0x2b4498=>_0x2b4498[_0x522563(0x347)][_0x522563(0x96)]()===_0x30c17b))==null?void 0x0:_0x1dd715[_0x522563(0x1f9)];return _0x6e0f50?(_0x5b56c5[_0x522563(0x298)](_0x30c17b[_0x522563(0xce)][_0x522563(0x18e)](()=>this['_handleCreateControl'](_0x30c17b,_0x6e0f50))),_0x5b56c5[_0x522563(0x298)](_0x30c17b['clearControl$']['subscribe'](()=>{const _0x1f97cc=_0x522563;this[_0x1f97cc(0x152)](_0x6e0f50),queueMicrotask(()=>{const _0x230f6e=_0x1f97cc;_0x30c17b['getSelectedObjectMap']()[_0x230f6e(0xaf)]>0x0||(this[_0x230f6e(0x322)]['setContextValue'](_0x55a2b9[_0x230f6e(0x3da)],!0x1),this[_0x230f6e(0x34e)][_0x230f6e(0x2e7)](null));});})),_0x5b56c5[_0x522563(0x298)](_0x30c17b['changing$'][_0x522563(0x18e)](()=>{const _0x40c338=_0x522563;this[_0x40c338(0x152)](_0x6e0f50,!0x0);})),_0x5b56c5):_0x5b56c5;}[_0xa601e6(0x2d3)](_0x35d0b9,_0x1b2a1e){const _0x5c975d=_0xa601e6;let _0x2f0d74=_0x35d0b9[_0x5c975d(0x39d)]();if(this['_isOpenedShapeEditPanel']){this[_0x5c975d(0x152)](_0x1b2a1e,!0x0);return;}if(_0x2f0d74['size']>0x1){this[_0x5c975d(0x152)](_0x1b2a1e);return;}let _0x551026=_0x2f0d74[_0x5c975d(0x14a)]()[_0x5c975d(0x387)]()['value'];if(!_0x551026){this[_0x5c975d(0x152)](_0x1b2a1e);return;}let _0x23f2b8=this['_drawingManagerService'][_0x5c975d(0x344)](_0x551026['oKey']);if(!_0x23f2b8||_0x23f2b8['drawingType']!==_0x55a2b9['DrawingTypeEnum'][_0x5c975d(0x3e0)]){this[_0x5c975d(0x152)](_0x1b2a1e);return;}let {unitId:_0x171218,subUnitId:_0x5b2d94,drawingId:_0x5868a9}=_0x23f2b8;if(!this[_0x5c975d(0x1bc)](_0x171218,_0x5868a9)){this[_0x5c975d(0x152)](_0x1b2a1e,!0x0);return;}let _0x2dfa28=this[_0x5c975d(0x119)](_0x171218,_0x5b2d94,_0x5868a9);if(!_0x2dfa28){this[_0x5c975d(0x152)](_0x1b2a1e);return;}let _0xddf3f4=this[_0x5c975d(0x31d)][_0x5c975d(0xe4)](_0x1b2a1e),_0x5d3f77=_0x171218+':'+_0x5b2d94+':'+_0x5868a9;if(this['_popupTargetKeys'][_0x5c975d(0xe4)](_0x1b2a1e)===_0x5d3f77&&_0xddf3f4!=null&&_0xddf3f4[_0x5c975d(0x3ea)])return;this[_0x5c975d(0x152)](_0x1b2a1e);let _0x5e9f12=this[_0x5c975d(0x305)][_0x5c975d(0x27c)](_0x171218),_0x53031e=((_0x5e9f12==null?void 0x0:_0x5e9f12['isMainScene'])===!0x1?_0x5e9f12['with'](_0x3de3d4['DocCanvasPopManagerService']):this[_0x5c975d(0x3bf)])[_0x5c975d(0x20b)](_0x551026,this[_0x5c975d(0x1a4)](_0x2dfa28,()=>this['_clearPopups'](_0x1b2a1e,!0x0)),_0x171218);this[_0x5c975d(0x321)](_0x53031e),this[_0x5c975d(0xa4)](_0x1b2a1e)[_0x5c975d(0x21b)](_0x53031e),this['_popupTargetKeys']['set'](_0x1b2a1e,_0x5d3f77),this['_drawingManagerService'][_0x5c975d(0x2aa)]()['some'](_0x2fcbe1=>_0x2fcbe1[_0x5c975d(0x1f9)]===_0x171218&&_0x2fcbe1[_0x5c975d(0xed)]===_0x5b2d94&&_0x2fcbe1[_0x5c975d(0x120)]===_0x5868a9)||this[_0x5c975d(0x34e)][_0x5c975d(0x2e7)]([{'unitId':_0x171218,'subUnitId':_0x5b2d94,'drawingId':_0x5868a9}]);}[_0xa601e6(0x1a4)](_0x3e9c19,_0x347c32){const _0x4157bb=_0xa601e6;let {unitId:_0xeb5ece,subUnitId:_0x52e78b,shapeId:_0x4b0f69}=_0x3e9c19,_0x5cc968={'hostType':_0x55a2b9[_0x4157bb(0x2b8)]['UNIVER_DOC'],'unitId':_0xeb5ece,'subUnitId':_0x52e78b,'shapeId':_0x4b0f69};return{'componentKey':_0x4b181a,'direction':_0x4157bb(0x2e6),'offset':[0x0,0x8],'extraProps':{'shapeType':_0x3e9c19[_0x4157bb(0x395)],'onText':()=>{const _0x5a4cab=_0x4157bb;_0x347c32(),this[_0x5a4cab(0x6d)][_0x5a4cab(0x290)](_0x5a4cab(0x196),_0x5cc968);},'onStyle':()=>{const _0x5c5f8a=_0x4157bb;_0x347c32(),this['_mobileEditorService']['open'](_0x5c5f8a(0x24b),_0x5cc968);},'onDelete':()=>this[_0x4157bb(0x8e)][_0x4157bb(0x3e4)](_0x470cf9['RemoveDocDrawingCommand']['id'],{'unitId':_0xeb5ece,'drawings':[{'unitId':_0xeb5ece,'subUnitId':_0x52e78b,'drawingId':_0x4b0f69}]})}};}[_0xa601e6(0x1bc)](_0x5d347b,_0x9d8a04){const _0x205e10=_0xa601e6;let _0x305d4d=this['_univerInstanceService'][_0x205e10(0x35a)](_0x5d347b,_0x55a2b9['UniverInstanceType'][_0x205e10(0x1c9)]);if(!_0x305d4d)return!0x1;let _0x52d150=(0x0,_0x25471a[_0x205e10(0x374)])(_0x305d4d,_0x9d8a04);return(0x0,_0x25471a[_0x205e10(0x129)])(this[_0x205e10(0x3c3)],_0x5d347b,[...(0x0,_0x25471a[_0x205e10(0xef)])(_0x305d4d,_0x52d150,_0x205e10(0x1a2),_0x9d8a04),(0x0,_0x25471a[_0x205e10(0x73)])(_0x52d150,'drawing',_0x9d8a04)]);}[_0xa601e6(0x186)](){const _0x5df8e6=_0xa601e6;this['disposeWithMe'](this[_0x5df8e6(0x8e)][_0x5df8e6(0x23c)](_0x1c550a=>{const _0x19d278=_0x5df8e6;if(_0x1c550a['id']===_0x47887f['id']){let {unitId:_0x5ca059,subUnitId:_0x4bc58f,drawingId:_0x2c50e9}=_0x1c550a['params'];this[_0x19d278(0x396)]+=0x1,this[_0x19d278(0x3a6)]=this['_getShapeInfo'](_0x5ca059,_0x4bc58f,_0x2c50e9),this['_clearPopups'](void 0x0,!0x0),this[_0x19d278(0xfb)]();}if(_0x1c550a['id']===_0x540093['id']&&(this[_0x19d278(0x3a6)]=null,this[_0x19d278(0x138)]()),_0x1c550a['id']===_0x3a6658[_0x19d278(0x3e7)]['id']){var _0x40511f;let {unitId:_0x33b9a5,shapeId:_0x794ee6}=_0x1c550a[_0x19d278(0x1d7)];if(((_0x40511f=this[_0x19d278(0x3a6)])==null?void 0x0:_0x40511f[_0x19d278(0x187)])===_0x794ee6){let _0x4ea755=this[_0x19d278(0x119)](_0x33b9a5,this['_activeShapeInfo'][_0x19d278(0xed)],_0x794ee6);_0x4ea755&&(this['_shapeEditPanelVersion']+=0x1,_0x4ea755[_0x19d278(0x1d0)]=this[_0x19d278(0x396)],this[_0x19d278(0x3a6)]=_0x4ea755,this['_isOpenedShapeEditPanel']&&this[_0x19d278(0xfb)]());}}})),this[_0x5df8e6(0x321)](this[_0x5df8e6(0x34e)][_0x5df8e6(0xe3)][_0x5df8e6(0x18e)](_0x5e2bcd=>{const _0x1c71d1=_0x5df8e6;if(!this[_0x1c71d1(0x3a7)])return;if(_0x5e2bcd[_0x1c71d1(0x3ea)]===0x0){this[_0x1c71d1(0x3a6)]=null,this[_0x1c71d1(0x138)]();return;}if(_0x5e2bcd['length']===0x1&&_0x5e2bcd[0x0][_0x1c71d1(0x343)]===_0x55a2b9[_0x1c71d1(0x23a)][_0x1c71d1(0x3e0)]&&(this[_0x1c71d1(0x396)]+=0x1,this[_0x1c71d1(0x3a6)]=this['_getShapeInfo'](_0x5e2bcd[0x0][_0x1c71d1(0x1f9)],_0x5e2bcd[0x0][_0x1c71d1(0xed)],_0x5e2bcd[0x0][_0x1c71d1(0x120)]),this['_activeShapeInfo'])){this['_openShapeEditPanel']();return;}let _0x534e42=_0x5e2bcd[_0x1c71d1(0x1a6)](_0x1589dc=>_0x1589dc['drawingType']===_0x55a2b9[_0x1c71d1(0x23a)]['DRAWING_SHAPE']);if(this[_0x1c71d1(0x396)]+=0x1,this['_activeShapeInfo']=this[_0x1c71d1(0x119)](_0x5e2bcd[0x0][_0x1c71d1(0x1f9)],_0x5e2bcd[0x0][_0x1c71d1(0xed)],_0x5e2bcd[0x0]['drawingId']),this[_0x1c71d1(0x3a6)]&&_0x5e2bcd[_0x1c71d1(0x3ea)]>0x1&&_0x534e42['length']===_0x5e2bcd[_0x1c71d1(0x3ea)]){this[_0x1c71d1(0xfb)]();return;}if(this[_0x1c71d1(0x3a6)]&&_0x534e42[_0x1c71d1(0x3ea)]!==_0x5e2bcd[_0x1c71d1(0x3ea)]){this[_0x1c71d1(0x3a6)][_0x1c71d1(0x294)]=!0x0,this[_0x1c71d1(0xfb)]();return;}this[_0x1c71d1(0x138)]();}));}['_openShapeEditPanel'](){const _0x1e2b43=_0xa601e6;this[_0x1e2b43(0x3a6)]&&(this[_0x1e2b43(0x220)]=this[_0x1e2b43(0x29e)][_0x1e2b43(0x290)]({'id':_0x37b8fd,'header':{'title':this[_0x1e2b43(0x160)]['t']('docs-shape-ui.formatShape')},'width':0x184,'children':{'label':_0x37b8fd,...this[_0x1e2b43(0x3a6)]},'onClose':()=>{const _0x102dc6=_0x1e2b43;this[_0x102dc6(0x34e)][_0x102dc6(0x2e7)](null),this[_0x102dc6(0x322)][_0x102dc6(0x284)](_0x55a2b9['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x102dc6(0x220)]=null;}}),this[_0x1e2b43(0x3a7)]=!0x0);}['_closeShapeEditPanel'](){const _0x49db06=_0xa601e6;this['_isOpenedShapeEditPanel']=!0x1,this['_sidebarService']['close'](_0x37b8fd),this[_0x49db06(0x220)]=null,this[_0x49db06(0x322)][_0x49db06(0x284)](_0x55a2b9[_0x49db06(0x3da)],!0x1),this[_0x49db06(0x34e)]['focusDrawing'](null);}};_0x186d63=_0x14e959([_0x4d90b3(0x0,_0x55a2b9['IUniverInstanceService']),_0x4d90b3(0x1,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x481e6e[_0xa601e6(0x108)])),_0x4d90b3(0x2,_0x481e6e[_0xa601e6(0x2b9)]),_0x4d90b3(0x3,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x3a6658[_0xa601e6(0xaa)])),_0x4d90b3(0x4,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x55a2b9[_0xa601e6(0x2d0)])),_0x4d90b3(0x5,_0x55a2b9['ICommandService']),_0x4d90b3(0x6,_0x4613e6[_0xa601e6(0x362)]),_0x4d90b3(0x7,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x3de3d4[_0xa601e6(0x2dc)])),_0x4d90b3(0x8,_0x33e80b[_0xa601e6(0xf2)]),_0x4d90b3(0x9,_0x55a2b9[_0xa601e6(0x100)]),_0x4d90b3(0xa,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x17270c)),_0x4d90b3(0xb,_0x55a2b9[_0xa601e6(0xc7)]),_0x4d90b3(0xc,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x4c260e[_0xa601e6(0x1bb)]))],_0x186d63);let _0x29c3ce=_0xa601e6(0x37a),_0x311bf3=class extends _0x55a2b9[_0xa601e6(0x175)]{constructor(_0x422ee8,_0x491522,_0x4cb566,_0x4c08e0,_0x7cd989,_0x389795){const _0x1bf483=_0xa601e6;super(),this[_0x1bf483(0x2ba)]=_0x422ee8,this['_ribbonService']=_0x491522,this[_0x1bf483(0x34e)]=_0x4cb566,this[_0x1bf483(0x1ed)]=_0x4c08e0,this['_renderManagerService']=_0x7cd989,this[_0x1bf483(0x2de)]=_0x389795,_0x535fda(this,_0x1bf483(0x18c),!0x1),this[_0x1bf483(0x2ba)][_0x1bf483(0x2b0)](_0x3e72d0),this[_0x1bf483(0x321)]((0x0,_0x55a2b9['toDisposable'])(this[_0x1bf483(0x34e)]['focus$']['subscribe'](()=>this[_0x1bf483(0x3ab)]()))),this[_0x1bf483(0x3ab)]();}['dispose'](){const _0x5ee1d2=_0xa601e6;this[_0x5ee1d2(0x2de)][_0x5ee1d2(0x273)](!0x1,_0x29c3ce),this['_hide'](),super['dispose']();}['_update'](){const _0xce0268=_0xa601e6;var _0x4ff6b6;let _0x56f7f3=this[_0xce0268(0x34e)][_0xce0268(0x2aa)](),_0x39873d=_0x56f7f3[_0xce0268(0x3ea)]===0x1?_0x56f7f3[0x0]:void 0x0;if((_0x39873d==null?void 0x0:_0x39873d[_0xce0268(0x343)])!==_0x55a2b9[_0xce0268(0x23a)][_0xce0268(0x3e0)]||this[_0xce0268(0x1ed)][_0xce0268(0x2f3)](_0x39873d[_0xce0268(0x1f9)])!==_0x55a2b9[_0xce0268(0x2b8)][_0xce0268(0x1c9)]){this[_0xce0268(0x2de)][_0xce0268(0x273)](!0x1,_0x29c3ce),this[_0xce0268(0x1be)]();return;}let _0x4bf8fe=(_0x4ff6b6=this[_0xce0268(0x305)][_0xce0268(0x27c)](_0x39873d[_0xce0268(0x1f9)]))==null?void 0x0:_0x4ff6b6['engine'][_0xce0268(0x26b)](),_0x131a3c=(0x0,_0x4c260e[_0xce0268(0xf3)])(_0x4bf8fe)==='isolated';if(this[_0xce0268(0x2de)]['setFallbackVisible'](_0x131a3c,_0x29c3ce),_0x131a3c){this[_0xce0268(0x1be)]();return;}this[_0xce0268(0x18c)]||(this['_visible']=!0x0,this['_ribbonService'][_0xce0268(0x1c1)](_0x38df9e,{'activate':!0x0}));}[_0xa601e6(0x1be)](){const _0x1107e4=_0xa601e6;this['_visible']&&(this[_0x1107e4(0x18c)]=!0x1,this[_0x1107e4(0x1b0)][_0x1107e4(0x2d1)](_0x38df9e),this[_0x1107e4(0x1b0)]['setCollapsedIds']([]));}};_0x311bf3=_0x14e959([_0x4d90b3(0x0,_0x481e6e[_0xa601e6(0x2b9)]),_0x4d90b3(0x1,_0x481e6e[_0xa601e6(0xfd)]),_0x4d90b3(0x2,_0x4613e6[_0xa601e6(0x362)]),_0x4d90b3(0x3,_0x55a2b9[_0xa601e6(0x151)]),_0x4d90b3(0x4,_0x33e80b[_0xa601e6(0xf2)]),_0x4d90b3(0x5,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x4c260e['ShapeFloatingToolbarService']))],_0x311bf3);let _0x759f13=class extends _0x55a2b9['Disposable']{constructor(_0x4e26c6,_0x4575f5,_0x1e1a74,_0x20e24b){const _0xe98589=_0xa601e6;super(),this[_0xe98589(0x8e)]=_0x4e26c6,this[_0xe98589(0x305)]=_0x4575f5,this[_0xe98589(0x34e)]=_0x1e1a74,this[_0xe98589(0x1d2)]=_0x20e24b,this[_0xe98589(0xd3)]();}[_0xa601e6(0xd3)](){const _0x5518e0=_0xa601e6;this['disposeWithMe'](this[_0x5518e0(0x34e)][_0x5518e0(0x30c)]['subscribe'](_0x6a5f60=>this[_0x5518e0(0xc9)](_0x6a5f60))),this[_0x5518e0(0x321)](this[_0x5518e0(0x34e)][_0x5518e0(0x2af)][_0x5518e0(0x18e)](_0x1205cf=>{const _0x1c0b6c=_0x5518e0;_0x1205cf['forEach'](_0x46cdbd=>this[_0x1c0b6c(0x204)](_0x46cdbd));})),this[_0x5518e0(0x321)](this[_0x5518e0(0x8e)][_0x5518e0(0x23c)](_0x688ba=>{const _0x4f03bb=_0x5518e0;if(_0x688ba['id']!==_0x3a6658[_0x4f03bb(0x3e7)]['id'])return;let {unitId:_0x11b5e0,shapeId:_0x2f0a3b}=_0x688ba[_0x4f03bb(0x1d7)];this[_0x4f03bb(0x226)]({'unitId':_0x11b5e0,'subUnitId':_0x11b5e0,'drawingId':_0x2f0a3b});}));}[_0xa601e6(0xc9)](_0x5025c6){const _0x1b8f36=_0xa601e6;_0x5025c6[_0x1b8f36(0x3e3)](_0x57df5d=>{const _0x3c75fa=_0x1b8f36;let _0x3a6b31=this[_0x3c75fa(0x114)](_0x57df5d[_0x3c75fa(0x1f9)]);if(!_0x3a6b31)return;let _0x3c1c33=this[_0x3c75fa(0x34e)][_0x3c75fa(0x2bd)](_0x57df5d);(_0x3c1c33==null?void 0x0:_0x3c1c33['drawingType'])===_0x55a2b9[_0x3c75fa(0x23a)][_0x3c75fa(0x3e0)]&&this['_docDrawingShapeRenderController'][_0x3c75fa(0x133)](_0x3c1c33,_0x3a6b31[_0x3c75fa(0x347)]);});}[_0xa601e6(0x204)](_0x3479c7){const _0x2f3c7c=_0xa601e6;let _0x23c217=this[_0x2f3c7c(0x34e)][_0x2f3c7c(0x2bd)](_0x3479c7);if((_0x23c217==null?void 0x0:_0x23c217[_0x2f3c7c(0x343)])!==_0x55a2b9[_0x2f3c7c(0x23a)][_0x2f3c7c(0x3e0)])return;let _0x15280d=this[_0x2f3c7c(0x114)](_0x3479c7[_0x2f3c7c(0x1f9)]);if(!_0x15280d||_0x23c217['transform']==null)return;let _0x106ef0=(0x0,_0x4613e6[_0x2f3c7c(0x3cb)])(_0x3479c7),_0x5d959f=_0x15280d[_0x2f3c7c(0x347)][_0x2f3c7c(0x191)](_0x106ef0);_0x5d959f&&(_0x5d959f[_0x2f3c7c(0x307)](_0x23c217[_0x2f3c7c(0x1d1)]),_0x5d959f[_0x2f3c7c(0x1ba)](_0x23c217['prstGeom']),_0x5d959f['makeDirty'](!0x0));}['_refreshShapeData'](_0x105090){const _0x11aa0c=_0xa601e6;let _0x460f17=this[_0x11aa0c(0x114)](_0x105090[_0x11aa0c(0x1f9)]);if(!_0x460f17)return;let _0x31859a=(0x0,_0x4613e6['getDrawingShapeKeyByDrawingSearch'])(_0x105090),_0x1aa955=_0x460f17[_0x11aa0c(0x347)][_0x11aa0c(0x191)](_0x31859a);_0x1aa955&&(this[_0x11aa0c(0x1d2)][_0x11aa0c(0x289)](_0x1aa955),this[_0x11aa0c(0x1d2)][_0x11aa0c(0x16f)](_0x1aa955,{'unitId':_0x105090[_0x11aa0c(0x1f9)],'subUnitId':_0x105090[_0x11aa0c(0xed)],'shapeId':_0x105090[_0x11aa0c(0x120)]}),_0x1aa955['makeDirty'](!0x0));}[_0xa601e6(0x114)](_0x18627f){const _0x32f7e7=_0xa601e6;if(_0x18627f==null)return null;let _0x8b2d57=this[_0x32f7e7(0x305)][_0x32f7e7(0x27c)](_0x18627f),_0x468e42=_0x8b2d57==null?void 0x0:_0x8b2d57[_0x32f7e7(0x347)];return _0x468e42==null?null:{'scene':_0x468e42};}};_0x759f13=_0x14e959([_0x4d90b3(0x0,_0x55a2b9[_0xa601e6(0xab)]),_0x4d90b3(0x1,_0x33e80b['IRenderManagerService']),_0x4d90b3(0x2,_0x4613e6[_0xa601e6(0x362)]),_0x4d90b3(0x3,(0x0,_0x55a2b9['Inject'])(_0x48e60e))],_0x759f13);let _0x4e3481=class extends _0x55a2b9[_0xa601e6(0x179)]{constructor(_0x49f29b=_0x5d2746,_0x4b7a77,_0x2aa83e,_0x34d016,_0x8ed437){const _0x3f7d23=_0xa601e6;super(),this[_0x3f7d23(0xe2)]=_0x49f29b,this[_0x3f7d23(0x35b)]=_0x4b7a77,this['_commandService']=_0x2aa83e,this[_0x3f7d23(0x158)]=_0x34d016,this[_0x3f7d23(0x305)]=_0x8ed437;let {menu:_0x121b2c,..._0x521449}=(0x0,_0x55a2b9[_0x3f7d23(0x85)])({},_0x5d2746,this['_config']);_0x121b2c&&this[_0x3f7d23(0x158)][_0x3f7d23(0x293)](_0x3f7d23(0x153),_0x121b2c,{'merge':!0x0}),this['_configService']['setConfig'](_0x229a90,_0x521449),[_0x1e85b0,_0x540093,_0x47887f,_0x3b80ed,_0x52f25b,_0x59288a][_0x3f7d23(0x3e3)](_0x4a3fb1=>this[_0x3f7d23(0x321)](this[_0x3f7d23(0x8e)][_0x3f7d23(0x17f)](_0x4a3fb1)));}[_0xa601e6(0x243)](){const _0xb60658=_0xa601e6;let _0x5609c4=[[_0x39d161],[_0x186d63],[_0x759f13],[_0x48e60e],[_0x182787],[_0x57f995],[_0x1b99fd],[_0x230665],[_0x17270c],[_0x311bf3]];(0x0,_0x55a2b9[_0xb60658(0x2c9)])(this[_0xb60658(0x35b)],_0x5609c4),this[_0xb60658(0x35b)]['get'](_0x39d161);}[_0xa601e6(0x1d8)](){const _0x56041f=_0xa601e6;this['disposeWithMe'](this['_renderManagerService'][_0x56041f(0x110)](_0x55a2b9['UniverInstanceType'][_0x56041f(0x1c9)],[_0x57f995])),(0x0,_0x55a2b9[_0x56041f(0x27f)])(this['_injector'],[[_0x186d63],[_0x759f13],[_0x48e60e],[_0x182787],[_0x1b99fd],[_0x230665],[_0x17270c],[_0x311bf3]]);}};_0x535fda(_0x4e3481,'type',_0x55a2b9['UniverInstanceType'][_0xa601e6(0x1c9)]),_0x535fda(_0x4e3481,_0xa601e6(0x1d6),_0xa601e6(0x26e)),_0x535fda(_0x4e3481,_0xa601e6(0x2e4),_0x4fc8c5),_0x535fda(_0x4e3481,_0xa601e6(0x1d0),_0x5903dd),_0x4e3481=_0x14e959([(0x0,_0x55a2b9[_0xa601e6(0x144)])(_0x4e56d9[_0xa601e6(0x35c)],_0x25471a[_0xa601e6(0x11e)],_0x4613e6[_0xa601e6(0x102)],_0xfafa51[_0xa601e6(0x251)],_0x33e80b[_0xa601e6(0x1a8)],_0x3de3d4[_0xa601e6(0x3a4)],_0x231cab[_0xa601e6(0x257)],_0x1352d9[_0xa601e6(0x3ec)],_0x3a6658[_0xa601e6(0xd2)],_0x4c260e[_0xa601e6(0xf9)]),_0x4d90b3(0x1,(0x0,_0x55a2b9['Inject'])(_0x55a2b9[_0xa601e6(0xee)])),_0x4d90b3(0x2,_0x55a2b9[_0xa601e6(0xab)]),_0x4d90b3(0x3,_0x55a2b9[_0xa601e6(0x1cd)]),_0x4d90b3(0x4,_0x33e80b['IRenderManagerService'])],_0x4e3481);let _0x125eff=class extends _0x55a2b9[_0xa601e6(0x175)]{constructor(_0x16f3fb,_0x1b4f10){const _0xe60975=_0xa601e6;super(),this[_0xe60975(0x261)]=_0x16f3fb,this[_0xe60975(0x130)]=_0x1b4f10,this[_0xe60975(0x353)](),this['_registerComponents']();}[_0xa601e6(0x353)](){const _0x3cc1fb=_0xa601e6;this['_iconManager'][_0x3cc1fb(0xd0)](_0x3cc1fb(0x1f7))||this[_0x3cc1fb(0x321)](this[_0x3cc1fb(0x130)][_0x3cc1fb(0x140)]({'ObjectLayersIcon':_0x3713e1})),this[_0x3cc1fb(0x130)][_0x3cc1fb(0xd0)](_0x3cc1fb(0x7f))||this[_0x3cc1fb(0x321)](this[_0x3cc1fb(0x130)][_0x3cc1fb(0x140)]({'BottomIcon':_0x41994f})),this['_iconManager'][_0x3cc1fb(0xd0)](_0x3cc1fb(0x3ac))||this[_0x3cc1fb(0x321)](this[_0x3cc1fb(0x130)][_0x3cc1fb(0x140)]({'MoveDownIcon':_0xdd6c44})),this['_iconManager']['has'](_0x3cc1fb(0x34c))||this[_0x3cc1fb(0x321)](this[_0x3cc1fb(0x130)][_0x3cc1fb(0x140)]({'MoveUpIcon':_0x49f65b})),this['_iconManager'][_0x3cc1fb(0xd0)](_0x3cc1fb(0x1f2))||this['disposeWithMe'](this[_0x3cc1fb(0x130)][_0x3cc1fb(0x140)]({'ShapeFormatSettingIcon':_0x1d81dc})),this[_0x3cc1fb(0x130)][_0x3cc1fb(0xd0)](_0x3cc1fb(0x1b2))||this[_0x3cc1fb(0x321)](this[_0x3cc1fb(0x130)][_0x3cc1fb(0x140)]({'TopmostIcon':_0x419c50})),this[_0x3cc1fb(0x321)](this[_0x3cc1fb(0x130)][_0x3cc1fb(0x140)](_0x52b12b));}[_0xa601e6(0x19f)](){const _0x33bd12=_0xa601e6;this[_0x33bd12(0x321)](this[_0x33bd12(0x261)][_0x33bd12(0x140)](_0x37b8fd,_0x2008f3)),this[_0x33bd12(0x25c)](),this['_registerFloatingToolbar'](),this[_0x33bd12(0x321)](this[_0x33bd12(0x261)][_0x33bd12(0x140)](_0x17a03d,_0x3d0fc5)),this['disposeWithMe'](this['_componentManager'][_0x33bd12(0x140)](_0x37ad9a,_0x5dfbe7)),this[_0x33bd12(0x321)](this['_componentManager'][_0x33bd12(0x140)](_0x1f4017,_0x2cb9fb)),this['disposeWithMe'](this[_0x33bd12(0x261)][_0x33bd12(0x140)](_0xa4b40c,_0x4ee0d5)),this['disposeWithMe'](this['_componentManager'][_0x33bd12(0x140)](_0x3b5997,_0x398471)),this['disposeWithMe'](this[_0x33bd12(0x261)][_0x33bd12(0x140)](_0x50cbfb,_0x4c260e['ShapeTextFloatToolbar'])),this[_0x33bd12(0x286)](),this[_0x33bd12(0x261)][_0x33bd12(0xe4)](_0xfafa51[_0x33bd12(0xfe)])||this['disposeWithMe'](this['_componentManager'][_0x33bd12(0x140)](_0xfafa51[_0x33bd12(0xfe)],_0x407e71)),this['disposeWithMe'](this[_0x33bd12(0x261)][_0x33bd12(0x140)](_0x37a98f,_0x5cedaf));}['_registerObjectListPanel'](){const _0x56c4e2=_0xa601e6;this[_0x56c4e2(0x321)](this[_0x56c4e2(0x261)][_0x56c4e2(0x140)](_0x57d974,_0x9de7cd));}[_0xa601e6(0x233)](){const _0x48079b=_0xa601e6;this[_0x48079b(0x321)](this[_0x48079b(0x261)][_0x48079b(0x140)](_0x4b181a,_0xd4ca6d));}[_0xa601e6(0x286)](){const _0x53e45d=_0xa601e6;this['disposeWithMe'](this['_componentManager'][_0x53e45d(0x140)](_0x58155c,_0x12b3c3)),this['disposeWithMe'](this['_componentManager']['register'](_0x5651bd,_0x35e8a8));}};_0x125eff=_0x14e959([_0x4d90b3(0x0,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x481e6e[_0xa601e6(0x27b)])),_0x4d90b3(0x1,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x481e6e['IconManager']))],_0x125eff);let _0x2db8ea=class extends _0x55a2b9[_0xa601e6(0x175)]{constructor(_0x93ff44,_0x20fa6a,_0x1d82a0,_0x5b85b1,_0x3350fe,_0xb31d6c,_0x234e0d,_0x22b346,_0x25ada5){const _0x40c7cd=_0xa601e6;super();let _0x5be7b0=_0xed5be2=>{const _0x243acc=_0x13b1;let _0x52875c=_0xb31d6c[_0x243acc(0x35a)](_0xed5be2[_0x243acc(0x1f9)],_0x55a2b9['UniverInstanceType'][_0x243acc(0x1c9)]),_0x2c7716=_0x52875c?(0x0,_0x25471a[_0x243acc(0x374)])(_0x52875c,_0xed5be2[_0x243acc(0x187)]):'';return!!_0x52875c&&(0x0,_0x25471a[_0x243acc(0x129)])(_0x22b346,_0xed5be2[_0x243acc(0x1f9)],[(0x0,_0x25471a['getDocumentEntityPermissionObjectId'])(_0x2c7716,_0x243acc(0x1a2),_0xed5be2[_0x243acc(0x187)]),...(0x0,_0x25471a[_0x243acc(0xef)])(_0x52875c,_0x2c7716,_0x243acc(0x1a2),_0xed5be2[_0x243acc(0x187)])]);},_0x31310f=_0x130393=>_0x130393[_0x40c7cd(0x187)]&&_0x5be7b0(_0x130393)?_0x1d82a0['getShapeDataById'](_0x130393[_0x40c7cd(0x1f9)],_0x130393[_0x40c7cd(0x187)])??null:null,_0x32f6c3=()=>{const _0x24df63=_0x40c7cd;let _0x2ea943=_0x3350fe['getFocusDrawings'](),_0x430039=_0x2ea943[_0x24df63(0x3ea)]===0x1?_0x2ea943[0x0]:null;return(_0x430039==null?void 0x0:_0x430039['drawingType'])===_0x55a2b9[_0x24df63(0x23a)]['DRAWING_SHAPE']&&_0x430039[_0x24df63(0x1f9)]===_0x93ff44[_0x24df63(0x1f9)]?{'unitId':_0x430039['unitId'],'subUnitId':_0x430039[_0x24df63(0xed)],'shapeId':_0x430039[_0x24df63(0x120)]}:null;};this[_0x40c7cd(0x321)]((0x0,_0x4c260e[_0x40c7cd(0x35f)])(_0x93ff44,_0x20fa6a,{'changes$':(0x0,_0x18add5[_0x40c7cd(0x85)])(_0x3350fe['focus$'],_0x5b85b1[_0x40c7cd(0x1af)],_0x22b346[_0x40c7cd(0x212)]),'isActive':()=>{const _0x283ec5=_0x40c7cd;var _0x5db095;return((_0x5db095=_0xb31d6c[_0x283ec5(0x3c5)]())==null?void 0x0:_0x5db095[_0x283ec5(0x25b)]())===_0x93ff44[_0x283ec5(0x1f9)]&&!_0x234e0d[_0x283ec5(0x2c4)](_0x55a2b9[_0x283ec5(0x39f)])&&_0x3350fe[_0x283ec5(0x2aa)]()[_0x283ec5(0x334)](_0x2dddb3=>_0x2dddb3['unitId']===_0x93ff44['unitId']);},'getSelectedTarget':_0x32f6c3,'getSource':()=>{let _0x318b99=_0x32f6c3();return _0x318b99?_0x31310f(_0x318b99):null;},'getTarget':_0x12dee8=>{const _0x119cba=_0x40c7cd;let _0x56c5c9=_0x93ff44[_0x119cba(0x347)][_0x119cba(0x1e1)](new _0x33e80b[(_0x119cba(0x78))](_0x12dee8[_0x119cba(0x2b2)],_0x12dee8['offsetY']));if(!(_0x56c5c9 instanceof _0x33774c))return null;let _0x3ba154={'unitId':_0x93ff44[_0x119cba(0x1f9)],'subUnitId':_0x93ff44[_0x119cba(0x1f9)],'shapeId':_0x56c5c9[_0x119cba(0x187)]};return _0x5be7b0(_0x3ba154)?_0x3ba154:null;},'getShape':_0x31310f,'update':(_0x34099f,_0x3a79af,_0x5edd82)=>_0x25ada5['executeCommand'](_0x3a6658[_0x40c7cd(0x39e)]['id'],{..._0x34099f,'shapeData':_0x5edd82,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x3a79af}})}));}};_0x2db8ea=_0x14e959([_0x4d90b3(0x1,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x481e6e[_0xa601e6(0x13f)])),_0x4d90b3(0x2,(0x0,_0x55a2b9['Inject'])(_0x3a6658['DocsShapeService'])),_0x4d90b3(0x3,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x17270c)),_0x4d90b3(0x4,_0x4613e6[_0xa601e6(0x362)]),_0x4d90b3(0x5,_0x55a2b9[_0xa601e6(0x151)]),_0x4d90b3(0x6,_0x55a2b9['IContextService']),_0x4d90b3(0x7,_0x55a2b9[_0xa601e6(0xc7)]),_0x4d90b3(0x8,_0x55a2b9[_0xa601e6(0xab)])],_0x2db8ea);function _0x42a023(_0x13d78e,_0x359ea4){const _0x534ec5=_0xa601e6;let _0x468495=_0x13d78e;for(;_0x468495;){if(_0x359ea4(_0x468495))return _0x468495;_0x468495=typeof _0x468495['getParent']==_0x534ec5(0x188)?_0x468495[_0x534ec5(0x2f7)]():null;}return null;}function _0xc90827(_0x4ec9c6){return _0x42a023(_0x4ec9c6,_0x481dd5=>_0x481dd5 instanceof _0x33774c);}function _0x5b79fb(_0x7488f){const _0x397307=_0xa601e6;return(_0x7488f==null?void 0x0:_0x7488f[_0x397307(0x9a)])==null;}let _0x4e282f=class extends _0x55a2b9['Disposable']{constructor(_0x1cb677,_0x193d0d,_0x5a0bbf,_0x2bff,_0x2a1560,_0x1d96ce){const _0x49280c=_0xa601e6;super(),this[_0x49280c(0x28d)]=_0x1cb677,this['_shapeTextEditingService']=_0x193d0d,this[_0x49280c(0x34e)]=_0x5a0bbf,this['_contextService']=_0x2bff,this[_0x49280c(0xbc)]=_0x2a1560,this[_0x49280c(0xec)]=_0x1d96ce,_0x535fda(this,'_lastEditingShapeKey',null),_0x535fda(this,_0x49280c(0x255),null),this['_initEvents'](),this[_0x49280c(0x3b9)](),this[_0x49280c(0x32d)]();}[_0xa601e6(0x304)](){const _0x3c4fa5=_0xa601e6;this[_0x3c4fa5(0x30f)](),super['dispose']();}['_initEvents'](){const _0x2a089f=_0xa601e6;let {scene:_0x52f3b5}=this[_0x2a089f(0x28d)];this[_0x2a089f(0x321)](_0x52f3b5[_0x2a089f(0x9e)][_0x2a089f(0x346)]((_0x22c34c,_0x46e082)=>{const _0x220eb1=_0x2a089f;let {offsetX:_0xec66f3,offsetY:_0x2318ae}=_0x22c34c,_0x33fb22=_0x33e80b[_0x220eb1(0x78)]['FromArray']([_0xec66f3,_0x2318ae]),_0x38fb84=_0xc90827(_0x52f3b5[_0x220eb1(0x1e1)](_0x33fb22))??this[_0x220eb1(0x35e)](_0x33fb22);if(_0x38fb84){_0x46e082[_0x220eb1(0x337)]();let _0x4786ef=this[_0x220eb1(0xec)][_0x220eb1(0x184)](_0x38fb84[_0x220eb1(0x1f9)],_0x38fb84[_0x220eb1(0xed)],_0x38fb84[_0x220eb1(0x187)]);if(!_0x4786ef||(0x0,_0x50389c[_0x220eb1(0x3a3)])(_0x4786ef[_0x220eb1(0x345)]())||!_0x5b79fb(_0x4786ef[_0x220eb1(0x117)]()))return;this['_shapeTextEditingService'][_0x220eb1(0x2e2)]({'visible':!0x0,'unitId':_0x38fb84[_0x220eb1(0x1f9)],'subUnitId':_0x38fb84[_0x220eb1(0xed)],'shapeId':_0x38fb84[_0x220eb1(0x187)],'shapeKey':_0x38fb84[_0x220eb1(0x14b)]});}}));}[_0xa601e6(0x35e)](_0x3f2cc0){const _0x22a5c9=_0xa601e6;let {scene:_0x48b930}=this['_context'];return this[_0x22a5c9(0x34e)][_0x22a5c9(0x2aa)]()[_0x22a5c9(0x285)](_0x27e4b0=>_0x48b930['getObjectIncludeInGroup']((0x0,_0x4613e6[_0x22a5c9(0x3cb)])(_0x27e4b0)))[_0x22a5c9(0x177)](_0x399aeb=>_0x399aeb instanceof _0x33774c&&_0x399aeb[_0x22a5c9(0x349)](_0x3f2cc0))??null;}[_0xa601e6(0x3b9)](){const _0x3db65f=_0xa601e6;this['disposeWithMe'](this[_0x3db65f(0x34e)][_0x3db65f(0xe3)]['subscribe'](_0x4fefad=>{const _0x4d1943=_0x3db65f;if(_0x4fefad[_0x4d1943(0x3ea)]===0x1){let _0x499f4f=_0x4fefad[0x0],_0x577979=this[_0x4d1943(0x34e)][_0x4d1943(0x2bd)](_0x499f4f);if((_0x577979==null?void 0x0:_0x577979[_0x4d1943(0x343)])===_0x55a2b9[_0x4d1943(0x23a)][_0x4d1943(0x3e0)]){let _0x1a9957=this['_shapeTextEditingService'][_0x4d1943(0x3a1)]();if((_0x1a9957==null?void 0x0:_0x1a9957[_0x4d1943(0x187)])===_0x499f4f['drawingId']&&_0x1a9957[_0x4d1943(0x15a)])return;(0x0,_0x50389c[_0x4d1943(0x3a3)])(this[_0x4d1943(0xec)][_0x4d1943(0x345)](_0x499f4f[_0x4d1943(0x1f9)],_0x499f4f[_0x4d1943(0xed)],_0x499f4f[_0x4d1943(0x120)]))&&this[_0x4d1943(0x301)][_0x4d1943(0x2e2)](null);}else this['_shapeTextEditingService'][_0x4d1943(0xb0)]();}else this[_0x4d1943(0x301)][_0x4d1943(0xb0)]();})),this['disposeWithMe'](this['_drawingManagerService'][_0x3db65f(0x3f7)][_0x3db65f(0x18e)](_0x17d1d2=>{const _0x17c0fb=_0x3db65f;let _0x55924b=this['_shapeTextEditingService']['getEditing']();_0x55924b&&_0x17d1d2[_0x17c0fb(0x334)](_0x226a36=>_0x226a36[_0x17c0fb(0x120)]===_0x55924b[_0x17c0fb(0x187)])&&this[_0x17c0fb(0x301)][_0x17c0fb(0x2e2)](null);}));}[_0xa601e6(0x32d)](){const _0x284d27=_0xa601e6;this[_0x284d27(0x321)](this[_0x284d27(0x301)][_0x284d27(0x1af)]['subscribe'](_0x2c7ab5=>{const _0x12d3fc=_0x284d27;(_0x2c7ab5==null?void 0x0:_0x2c7ab5[_0x12d3fc(0x15a)])===!0x0&&_0x2c7ab5['unitId']===this[_0x12d3fc(0x28d)][_0x12d3fc(0x1f9)]?this[_0x12d3fc(0x255)]??=this[_0x12d3fc(0xbc)][_0x12d3fc(0x22b)]():this[_0x12d3fc(0x30f)]();let {scene:_0x2a3504}=this[_0x12d3fc(0x28d)];if(this[_0x12d3fc(0x1f0)]){let _0x2d91fa=_0x2a3504[_0x12d3fc(0x191)](this[_0x12d3fc(0x1f0)]);_0x2d91fa&&_0x2d91fa[_0x12d3fc(0x2e2)](!0x1);}if(_0x2c7ab5){let _0x1cf987=!!_0x2c7ab5['visible'],_0x5f0ef8=_0x2a3504['getObjectIncludeInGroup'](_0x2c7ab5[_0x12d3fc(0x19b)]);_0x5f0ef8&&(_0x5f0ef8[_0x12d3fc(0x2e2)](_0x1cf987),this[_0x12d3fc(0x1f0)]=_0x2c7ab5[_0x12d3fc(0x19b)]),this['_contextService']['setContextValue'](_0x55a2b9[_0x12d3fc(0x39f)],_0x1cf987);}else this['_lastEditingShapeKey']=null,this[_0x12d3fc(0x322)][_0x12d3fc(0x284)](_0x55a2b9['FOCUSING_SHAPE_TEXT_EDITOR'],!0x1);}));}[_0xa601e6(0x30f)](){const _0x24fd76=_0xa601e6;var _0x27e0f5;(_0x27e0f5=this['_layoutInteraction'])==null||_0x27e0f5[_0x24fd76(0x304)](),this[_0x24fd76(0x255)]=null;}};_0x4e282f=_0x14e959([_0x4d90b3(0x1,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x17270c)),_0x4d90b3(0x2,_0x4613e6['IDrawingManagerService']),_0x4d90b3(0x3,_0x55a2b9[_0xa601e6(0x100)]),_0x4d90b3(0x4,(0x0,_0x55a2b9['Inject'])(_0x3de3d4[_0xa601e6(0x32e)])),_0x4d90b3(0x5,(0x0,_0x55a2b9['Inject'])(_0x3a6658[_0xa601e6(0xaa)]))],_0x4e282f);let _0x24c9f1=class extends _0x4c260e[_0xa601e6(0xf5)]{constructor(_0x4f8849,_0x573c55,_0x3c9ab7,_0x1135a3,_0xf0938a,_0x1e4d9e,_0x134926,_0x1e3d7f,_0x2b3f79,_0x2bfd60){super(_0x4f8849,_0x573c55,_0x3c9ab7,_0x1135a3,_0xf0938a,_0x1e4d9e,_0x134926,_0x1e3d7f,_0x2b3f79,_0x2bfd60,{'componentKey':_0x50cbfb,'editorUnitId':_0x21dfd9});}};_0x24c9f1=_0x14e959([_0x4d90b3(0x1,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x25471a[_0xa601e6(0x268)])),_0x4d90b3(0x2,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x3de3d4[_0xa601e6(0x2dc)])),_0x4d90b3(0x3,(0x0,_0x55a2b9['Inject'])(_0x3de3d4[_0xa601e6(0x3c9)])),_0x4d90b3(0x4,_0x55a2b9[_0xa601e6(0xab)]),_0x4d90b3(0x5,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x3de3d4[_0xa601e6(0x142)])),_0x4d90b3(0x6,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x4c260e[_0xa601e6(0x3c7)])),_0x4d90b3(0x7,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x25471a[_0xa601e6(0x1de)])),_0x4d90b3(0x8,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x3de3d4['DocRenderController'])),_0x4d90b3(0x9,(0x0,_0x55a2b9['Inject'])(_0x17270c))],_0x24c9f1);let _0x124d0b=class extends _0x55a2b9['Disposable']{constructor(_0x2004f1,_0x484ce5,_0x1e0ecb,_0x34933a,_0x5ab319,_0x573594,_0x52a750,_0x1b27d8,_0x31fdbe,_0x96cce5,_0x3b363a,_0x1653ea){const _0x7a085e=_0xa601e6;super(),this[_0x7a085e(0x1ed)]=_0x2004f1,this[_0x7a085e(0x29e)]=_0x484ce5,this[_0x7a085e(0x2ba)]=_0x1e0ecb,this['_docsShapeService']=_0x34933a,this[_0x7a085e(0x160)]=_0x5ab319,this['_commandService']=_0x573594,this[_0x7a085e(0x34e)]=_0x52a750,this['_docCanvasPopManagerService']=_0x1b27d8,this[_0x7a085e(0x305)]=_0x31fdbe,this[_0x7a085e(0x322)]=_0x96cce5,this[_0x7a085e(0x301)]=_0x3b363a,this[_0x7a085e(0x3c3)]=_0x1653ea,_0x535fda(this,_0x7a085e(0x220),null),_0x535fda(this,_0x7a085e(0x3a6),null),_0x535fda(this,_0x7a085e(0x3a7),!0x1),_0x535fda(this,'_shapeEditPanelVersion',0x0),_0x535fda(this,_0x7a085e(0x31d),new Map()),_0x535fda(this,_0x7a085e(0x3c1),new Map()),this[_0x7a085e(0x1b6)](),this[_0x7a085e(0x321)](this[_0x7a085e(0x1ed)][_0x7a085e(0x340)](_0x55a2b9['UniverInstanceType']['UNIVER_DOC'])[_0x7a085e(0x18e)](_0x2a2912=>{const _0x536585=_0x7a085e;if(!_0x2a2912){var _0x3c685c;(_0x3c685c=this[_0x536585(0x220)])==null||_0x3c685c[_0x536585(0x304)]();}})),this[_0x7a085e(0x186)](),this['disposeWithMe']((0x0,_0x4c260e[_0x7a085e(0x329)])(this[_0x7a085e(0x305)],_0x55a2b9[_0x7a085e(0x2b8)]['UNIVER_DOC'],_0x1c2c0e=>this['_popupMenuListener'](_0x1c2c0e))),this[_0x7a085e(0x321)](this[_0x7a085e(0x301)][_0x7a085e(0x1af)][_0x7a085e(0x18e)](_0x3ed197=>{const _0x2d19f3=_0x7a085e;_0x3ed197&&this[_0x2d19f3(0x152)](void 0x0,!0x0);})),this[_0x7a085e(0x321)](this['_permissionService'][_0x7a085e(0x212)]['subscribe'](()=>{const _0x5be90e=_0x7a085e;this[_0x5be90e(0x34e)][_0x5be90e(0x2aa)]()[_0x5be90e(0x334)](_0x5e5583=>_0x5e5583[_0x5be90e(0x343)]===_0x55a2b9[_0x5be90e(0x23a)][_0x5be90e(0x3e0)]&&this[_0x5be90e(0x1ed)][_0x5be90e(0x2f3)](_0x5e5583['unitId'])===_0x55a2b9['UniverInstanceType']['UNIVER_DOC']&&!this[_0x5be90e(0x1bc)](_0x5e5583['unitId'],_0x5e5583[_0x5be90e(0x120)]))&&(this['_clearPopups'](void 0x0,!0x0),this[_0x5be90e(0x138)]());}));}[_0xa601e6(0x1b6)](){const _0x31d209=_0xa601e6;this[_0x31d209(0x2ba)]['mergeMenu'](_0x565b14);}[_0xa601e6(0x248)](_0x312eea,_0x550fa5,_0x445a43,_0xe41df2){const _0x4bcf8f=_0xa601e6;return[{'label':'docs-shape-ui.openPanel','index':0x0,'commandId':_0x47887f['id'],'commandParams':{'unitId':_0x312eea,'subUnitId':_0x550fa5,'drawingId':_0x445a43},'disable':_0xe41df2===_0x55a2b9[_0x4bcf8f(0x23a)]['DRAWING_DOM']},{'label':_0x4bcf8f(0x339),'index':0x1,'commandId':_0x470cf9[_0x4bcf8f(0x26a)]['id'],'commandParams':{'unitId':_0x312eea,'drawings':[{'unitId':_0x312eea,'subUnitId':_0x550fa5,'drawingId':_0x445a43}]},'disable':!0x1},{'label':'docs-shape-ui.hidePanel','index':0x2,'commandId':_0x540093['id'],'commandParams':{'unitId':_0x312eea,'subUnitId':_0x550fa5,'drawingId':_0x445a43},'disable':!0x1}];}['_getShapeInfo'](_0x159ff1,_0x3c2b0f,_0x8744b9){const _0x5818e4=_0xa601e6;let _0x4555f6=this[_0x5818e4(0xec)][_0x5818e4(0x3d6)](_0x159ff1,_0x3c2b0f,_0x8744b9),_0x214d6a=this[_0x5818e4(0xec)][_0x5818e4(0x236)](_0x159ff1,_0x3c2b0f,_0x8744b9);return _0x4555f6!==void 0x0&&_0x214d6a!==void 0x0?{'shapeData':_0x214d6a,'shapeId':_0x8744b9,'shapeType':_0x4555f6,'unitId':_0x159ff1,'subUnitId':_0x3c2b0f,'version':this['_shapeEditPanelVersion'],'disableShapeOption':!0x1}:null;}['_clearPopups'](_0x5c4ea0,_0x181075=!0x1){const _0x5df564=_0xa601e6;if(_0x5c4ea0==null){[...this[_0x5df564(0x31d)]['keys']()]['forEach'](_0x38fd33=>this[_0x5df564(0x152)](_0x38fd33,_0x181075));return;}let _0x486b79=this['_disposePopupsByUnit'][_0x5df564(0xe4)](_0x5c4ea0);if(_0x486b79){for(let _0x312519=_0x486b79['length']-0x1;_0x312519>=0x0;--_0x312519){let _0x4c1f2b=_0x486b79[_0x312519];(_0x181075||_0x4c1f2b[_0x5df564(0x10e)]())&&(_0x4c1f2b[_0x5df564(0x304)](),_0x486b79[_0x5df564(0x178)](_0x312519,0x1));}_0x486b79[_0x5df564(0x3ea)]===0x0&&(this['_disposePopupsByUnit'][_0x5df564(0x38a)](_0x5c4ea0),this['_popupTargetKeys'][_0x5df564(0x38a)](_0x5c4ea0));}}['_getDisposePopups'](_0x3e3dd9){const _0x1e32e1=_0xa601e6;let _0x278e3c=this['_disposePopupsByUnit']['get'](_0x3e3dd9);if(_0x278e3c)return _0x278e3c;let _0x421592=[];return this[_0x1e32e1(0x31d)][_0x1e32e1(0x36a)](_0x3e3dd9,_0x421592),_0x421592;}['_popupMenuListener'](_0x44999e){const _0x2094a2=_0xa601e6;var _0x2270ba;let _0x368aa2=new _0x55a2b9[(_0x2094a2(0x225))](),_0x34e921=(_0x2270ba=this[_0x2094a2(0x305)][_0x2094a2(0x165)](_0x55a2b9['UniverInstanceType'][_0x2094a2(0x1c9)])['find'](_0x2a4754=>_0x2a4754[_0x2094a2(0x347)][_0x2094a2(0x96)]()===_0x44999e))==null?void 0x0:_0x2270ba['unitId'];return _0x34e921?(_0x368aa2['add'](_0x44999e[_0x2094a2(0xce)]['subscribe'](()=>this['_handleCreateControl'](_0x44999e,_0x34e921))),_0x368aa2[_0x2094a2(0x298)](_0x44999e[_0x2094a2(0xb9)]['subscribe'](()=>{const _0x316b0c=_0x2094a2;this[_0x316b0c(0x152)](_0x34e921),queueMicrotask(()=>{const _0x10aae4=_0x316b0c;_0x44999e[_0x10aae4(0x39d)]()[_0x10aae4(0xaf)]>0x0||(this[_0x10aae4(0x322)]['setContextValue'](_0x55a2b9[_0x10aae4(0x3da)],!0x1),this['_drawingManagerService'][_0x10aae4(0x2e7)](null));});})),_0x368aa2['add'](_0x44999e[_0x2094a2(0x14f)]['subscribe'](()=>{this['_clearPopups'](_0x34e921,!0x0);})),_0x368aa2):_0x368aa2;}['_handleCreateControl'](_0x3c0a7d,_0x19b6ca){const _0x3c2f4f=_0xa601e6;let _0x4f4f4d=_0x3c0a7d['getSelectedObjectMap']();if(this[_0x3c2f4f(0x3a7)]){this['_clearPopups'](_0x19b6ca,!0x0);return;}if(_0x4f4f4d[_0x3c2f4f(0xaf)]>0x1){this[_0x3c2f4f(0x152)](_0x19b6ca);return;}let _0x2f629c=_0x4f4f4d[_0x3c2f4f(0x14a)]()[_0x3c2f4f(0x387)]()[_0x3c2f4f(0x2e3)];if(!_0x2f629c){this[_0x3c2f4f(0x152)](_0x19b6ca);return;}let _0x16aa01=this[_0x3c2f4f(0x34e)][_0x3c2f4f(0x344)](_0x2f629c[_0x3c2f4f(0x14b)]);if(!_0x16aa01||_0x16aa01[_0x3c2f4f(0x343)]!==_0x55a2b9[_0x3c2f4f(0x23a)][_0x3c2f4f(0x3e0)]){this['_clearPopups'](_0x19b6ca);return;}let {unitId:_0x3b28e5,subUnitId:_0x5be66b,drawingId:_0x24a863,drawingType:_0x432982}=_0x16aa01;if(!this[_0x3c2f4f(0x1bc)](_0x3b28e5,_0x24a863)){this[_0x3c2f4f(0x152)](_0x19b6ca,!0x0);return;}let _0x55387e=this[_0x3c2f4f(0x119)](_0x3b28e5,_0x5be66b,_0x24a863);if(!_0x55387e){this[_0x3c2f4f(0x152)](_0x19b6ca);return;}let _0x3c7d39=this[_0x3c2f4f(0x31d)][_0x3c2f4f(0xe4)](_0x19b6ca),_0x49e0dc=_0x3b28e5+':'+_0x5be66b+':'+_0x24a863;if(this[_0x3c2f4f(0x3c1)][_0x3c2f4f(0xe4)](_0x19b6ca)===_0x49e0dc&&_0x3c7d39&&_0x3c7d39[_0x3c2f4f(0x3ea)]>0x0)return;this[_0x3c2f4f(0x152)](_0x19b6ca);let _0x44e392=this[_0x3c2f4f(0x305)][_0x3c2f4f(0x27c)](_0x3b28e5),_0x4a22bc=((_0x44e392==null?void 0x0:_0x44e392[_0x3c2f4f(0x1c7)])===!0x1?_0x44e392['with'](_0x3de3d4[_0x3c2f4f(0x2dc)]):this['_docCanvasPopManagerService'])[_0x3c2f4f(0x20b)](_0x2f629c,this[_0x3c2f4f(0x1a4)](_0x55387e,_0x432982),_0x3b28e5);this['disposeWithMe'](_0x4a22bc),this[_0x3c2f4f(0xa4)](_0x19b6ca)[_0x3c2f4f(0x21b)](_0x4a22bc),this[_0x3c2f4f(0x3c1)]['set'](_0x19b6ca,_0x49e0dc),this[_0x3c2f4f(0x34e)]['getFocusDrawings']()[_0x3c2f4f(0x334)](_0x471a74=>_0x471a74[_0x3c2f4f(0x1f9)]===_0x3b28e5&&_0x471a74['subUnitId']===_0x5be66b&&_0x471a74['drawingId']===_0x24a863)||this['_drawingManagerService'][_0x3c2f4f(0x2e7)]([{'unitId':_0x3b28e5,'subUnitId':_0x5be66b,'drawingId':_0x24a863}]);}[_0xa601e6(0x1a4)](_0x5daa6c,_0x281614){const _0x3e493d=_0xa601e6;return{'componentKey':_0x4b181a,'direction':_0x3e493d(0x22c),'offset':[0x0,_0x4c260e[_0x3e493d(0x227)]],'extraProps':{'unitId':_0x5daa6c[_0x3e493d(0x1f9)],'subUnitId':_0x5daa6c[_0x3e493d(0xed)],'drawingId':_0x5daa6c[_0x3e493d(0x187)],'drawingType':_0x281614,'shapeType':_0x5daa6c[_0x3e493d(0x395)],'shapeData':_0x5daa6c[_0x3e493d(0x2ad)]}};}[_0xa601e6(0x1bc)](_0x3cbb62,_0x31ab2f){const _0x11517b=_0xa601e6;let _0x38011a=this[_0x11517b(0x1ed)][_0x11517b(0x35a)](_0x3cbb62,_0x55a2b9[_0x11517b(0x2b8)][_0x11517b(0x1c9)]);if(!_0x38011a)return!0x1;let _0x2e194a=(0x0,_0x25471a[_0x11517b(0x374)])(_0x38011a,_0x31ab2f);return(0x0,_0x25471a['canEditDocumentTargets'])(this['_permissionService'],_0x3cbb62,[...(0x0,_0x25471a[_0x11517b(0xef)])(_0x38011a,_0x2e194a,'drawing',_0x31ab2f),(0x0,_0x25471a[_0x11517b(0x73)])(_0x2e194a,_0x11517b(0x1a2),_0x31ab2f)]);}[_0xa601e6(0x186)](){const _0x11916=_0xa601e6;this[_0x11916(0x321)](this[_0x11916(0x8e)][_0x11916(0x23c)](_0x487337=>{const _0x168732=_0x11916;if(_0x487337['id']===_0x47887f['id']){let {unitId:_0x1c885a,subUnitId:_0x33663f,drawingId:_0x42852b}=_0x487337[_0x168732(0x1d7)];this[_0x168732(0x396)]+=0x1,this['_activeShapeInfo']=this[_0x168732(0x119)](_0x1c885a,_0x33663f,_0x42852b),this[_0x168732(0x152)](void 0x0,!0x0),this[_0x168732(0xfb)]();}if(_0x487337['id']===_0x540093['id']&&(this[_0x168732(0x3a6)]=null,this['_closeShapeEditPanel']()),_0x487337['id']===_0x3a6658[_0x168732(0x3e7)]['id']){let {unitId:_0x44cbb3,shapeId:_0xbddd4d}=_0x487337['params'];if(this[_0x168732(0x3a6)]&&this['_activeShapeInfo'][_0x168732(0x187)]===_0xbddd4d){let _0x2d0284=this[_0x168732(0x119)](_0x44cbb3,this[_0x168732(0x3a6)][_0x168732(0xed)],_0xbddd4d);_0x2d0284&&(this[_0x168732(0x396)]+=0x1,_0x2d0284[_0x168732(0x1d0)]=this['_shapeEditPanelVersion'],this[_0x168732(0x3a6)]=_0x2d0284,this['_isOpenedShapeEditPanel']&&this['_openShapeEditPanel']());}}})),this[_0x11916(0x321)](this[_0x11916(0x34e)]['focus$'][_0x11916(0x18e)](_0x4bcdb5=>{const _0xb43a1f=_0x11916;if(this[_0xb43a1f(0x3a7)]===!0x1)return;if(_0x4bcdb5[_0xb43a1f(0x3ea)]===0x0){this['_activeShapeInfo']=null,this[_0xb43a1f(0x138)]();return;}if(_0x4bcdb5['length']===0x1&&_0x4bcdb5[0x0][_0xb43a1f(0x343)]===_0x55a2b9[_0xb43a1f(0x23a)][_0xb43a1f(0x3e0)]&&(this[_0xb43a1f(0x396)]+=0x1,this['_activeShapeInfo']=this[_0xb43a1f(0x119)](_0x4bcdb5[0x0][_0xb43a1f(0x1f9)],_0x4bcdb5[0x0][_0xb43a1f(0xed)],_0x4bcdb5[0x0][_0xb43a1f(0x120)]),this[_0xb43a1f(0x3a6)])){this[_0xb43a1f(0xfb)]();return;}let _0x20ca44=_0x4bcdb5[_0xb43a1f(0x1a6)](_0x2a5fcf=>_0x2a5fcf['drawingType']===_0x55a2b9[_0xb43a1f(0x23a)]['DRAWING_SHAPE']);if(_0x4bcdb5['length']>0x1&&_0x20ca44[_0xb43a1f(0x3ea)]===_0x4bcdb5[_0xb43a1f(0x3ea)]){if(this[_0xb43a1f(0x396)]+=0x1,this[_0xb43a1f(0x3a6)]=this['_getShapeInfo'](_0x4bcdb5[0x0][_0xb43a1f(0x1f9)],_0x4bcdb5[0x0][_0xb43a1f(0xed)],_0x4bcdb5[0x0][_0xb43a1f(0x120)]),this[_0xb43a1f(0x3a6)]){this[_0xb43a1f(0xfb)]();return;}}else{if(this['_shapeEditPanelVersion']+=0x1,this[_0xb43a1f(0x3a6)]=this[_0xb43a1f(0x119)](_0x4bcdb5[0x0][_0xb43a1f(0x1f9)],_0x4bcdb5[0x0]['subUnitId'],_0x4bcdb5[0x0][_0xb43a1f(0x120)]),this['_activeShapeInfo']){this[_0xb43a1f(0x3a6)][_0xb43a1f(0x294)]=!0x0,this[_0xb43a1f(0xfb)]();return;}}this[_0xb43a1f(0x138)]();}));}['_openShapeEditPanel'](){const _0x3e87d7=_0xa601e6;this['_activeShapeInfo']&&(this[_0x3e87d7(0x220)]=this[_0x3e87d7(0x29e)][_0x3e87d7(0x290)]({'id':_0x37b8fd,'header':{'title':this['_localeService']['t'](_0x3e87d7(0x1cc))},'width':0x184,'children':{'label':_0x37b8fd,...this['_activeShapeInfo']},'onClose':()=>{const _0x322e06=_0x3e87d7;this[_0x322e06(0x34e)][_0x322e06(0x2e7)](null),this['_contextService'][_0x322e06(0x284)](_0x55a2b9[_0x322e06(0x3da)],!0x1),this[_0x322e06(0x220)]=null;}}),this[_0x3e87d7(0x3a7)]=!0x0);}[_0xa601e6(0x138)](){const _0x2cb0ca=_0xa601e6;this['_isOpenedShapeEditPanel']=!0x1,this[_0x2cb0ca(0x29e)]['close'](_0x37b8fd),this[_0x2cb0ca(0x220)]=null,this[_0x2cb0ca(0x322)]['setContextValue'](_0x55a2b9[_0x2cb0ca(0x3da)],!0x1),this['_drawingManagerService'][_0x2cb0ca(0x2e7)](null);}};_0x124d0b=_0x14e959([_0x4d90b3(0x0,_0x55a2b9[_0xa601e6(0x151)]),_0x4d90b3(0x1,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x481e6e['ISidebarService'])),_0x4d90b3(0x2,_0x481e6e[_0xa601e6(0x2b9)]),_0x4d90b3(0x3,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x3a6658[_0xa601e6(0xaa)])),_0x4d90b3(0x4,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x55a2b9[_0xa601e6(0x2d0)])),_0x4d90b3(0x5,_0x55a2b9[_0xa601e6(0xab)]),_0x4d90b3(0x6,_0x4613e6[_0xa601e6(0x362)]),_0x4d90b3(0x7,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x3de3d4[_0xa601e6(0x2dc)])),_0x4d90b3(0x8,_0x33e80b[_0xa601e6(0xf2)]),_0x4d90b3(0x9,_0x55a2b9[_0xa601e6(0x100)]),_0x4d90b3(0xa,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x17270c)),_0x4d90b3(0xb,_0x55a2b9[_0xa601e6(0xc7)])],_0x124d0b);let _0x529632=class extends _0x55a2b9[_0xa601e6(0x175)]{constructor(_0x4cbe81,_0x225e1e){const _0x5bcfe3=_0xa601e6;super(),this['_docsShapeService']=_0x4cbe81,this[_0x5bcfe3(0x160)]=_0x225e1e,this[_0x5bcfe3(0x321)]((0x0,_0x55a2b9[_0x5bcfe3(0x3b1)])((0x0,_0x33e80b[_0x5bcfe3(0x3b4)])((_0xc7c9e4,_0x3b6e21,_0x4aa191)=>this[_0x5bcfe3(0x181)](_0xc7c9e4,_0x3b6e21,_0x4aa191))));}[_0xa601e6(0x181)](_0x4d24b7,_0x470ee6,_0x9166e8){const _0x171137=_0xa601e6;let _0x5bad48=this[_0x171137(0xec)][_0x171137(0x184)](_0x4d24b7,_0x470ee6);if(!_0x5bad48)return null;let _0xc7d613=_0x5bad48[_0x171137(0x117)](),_0x4cdf18=(0x0,_0x50389c['resolveShapeTextBodyBehavior'])(_0xc7d613),_0x34071c=_0xc7d613[_0x171137(0x19d)];if(!_0x34071c||_0x4cdf18[_0x171137(0x12c)]!==_0x50389c[_0x171137(0x19a)]['SpAutoFit'])return null;let _0x36b4d6=_0x9166e8[_0x171137(0x224)],_0x35f8e3=_0x9166e8[_0x171137(0x335)];_0x5bad48[_0x171137(0x2ae)]({'width':_0x36b4d6,'height':_0x35f8e3});let _0x43aace=_0x5bad48['getShapeTextRect']({'left':0x0,'top':0x0,'width':_0x36b4d6,'height':_0x35f8e3}),_0x4054e8=(0x0,_0x4c260e[_0x171137(0x22a)])(_0x171137(0xf1)in _0x34071c?_0x34071c[_0x171137(0xf1)]:void 0x0),_0x4931c4=(_0x4054e8==null?void 0x0:_0x4054e8['doc'])??(_0x171137(0x126)in _0x34071c?(0x0,_0x4c260e['plainShapeTextToDocumentData'])(_0x34071c,_0x470ee6+'-layout'):null);if(!_0x4931c4)return null;let _0x4d9d48=(0x0,_0x4c260e['resolveFormulaShapeAutoFitSize'])({'documentData':_0x4931c4,'height':_0x35f8e3,'shapeData':_0xc7d613,'textRect':_0x43aace,'width':_0x36b4d6,'widthBuffer':0x0});_0x4d9d48&&({width:_0x36b4d6,height:_0x35f8e3}=_0x4d9d48,_0x5bad48[_0x171137(0x2ae)]({'width':_0x36b4d6,'height':_0x35f8e3}),_0x43aace=_0x5bad48[_0x171137(0x17d)]({'left':0x0,'top':0x0,'width':_0x36b4d6,'height':_0x35f8e3}));let _0x276fd7=_0x34071c[_0x171137(0x302)]!==!0x1,_0x18d647=(0x0,_0x4c260e['prepareShapeTextDocumentData'])(_0x4931c4,{'isHorizontal':_0x276fd7,'textRect':_0x43aace,'verticalAlign':_0x4054e8==null?void 0x0:_0x4054e8['va'],'horizontalAlign':_0x4054e8==null?void 0x0:_0x4054e8['ha'],'wrapStrategy':(0x0,_0x4c260e[_0x171137(0x1f6)])(_0xc7d613)}),_0x33a402=new _0x55a2b9[(_0x171137(0x3f0))](_0x18d647),_0x4d45ae=new _0x33e80b['DocumentViewModel'](_0x33a402),_0x10fa38=_0x33e80b[_0x171137(0x333)][_0x171137(0x109)](_0x4d45ae,this[_0x171137(0x160)]);try{var _0x1238df,_0x7689f5;_0x10fa38[_0x171137(0x3e2)]();let _0x29372a=((_0x1238df=_0x10fa38['getSkeletonData']())==null?void 0x0:_0x1238df['pages'])??[],_0x2ea538=_0x29372a[_0x29372a['length']-0x1],_0x410b3e=_0x2ea538?Math[_0x171137(0x29d)](0x0,((_0x7689f5=(0x0,_0x33e80b['getLastLine'])(_0x2ea538))==null?void 0x0:_0x7689f5[_0x171137(0x141)])??0x0):0x0,_0x283249=_0x10fa38[_0x171137(0x312)]()[_0x171137(0x115)]+_0x410b3e-(_0x276fd7?_0x43aace['height']:_0x43aace[_0x171137(0x11a)]);return Number['isFinite'](_0x283249)?_0x276fd7?{'width':_0x36b4d6,'height':Math[_0x171137(0x29d)](0x1,_0x35f8e3+_0x283249)}:{'width':Math[_0x171137(0x29d)](0x1,_0x36b4d6+_0x283249),'height':_0x35f8e3}:null;}finally{_0x10fa38['dispose'](),_0x4d45ae[_0x171137(0x304)](),_0x33a402[_0x171137(0x304)]();}}};_0x529632=_0x14e959([_0x4d90b3(0x0,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x3a6658[_0xa601e6(0xaa)])),_0x4d90b3(0x1,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x55a2b9['LocaleService']))],_0x529632);let _0x50c9c4=class extends _0x55a2b9[_0xa601e6(0x179)]{constructor(_0x181b84=_0x5d2746,_0x3eaa61,_0x3830fc,_0x4a2320,_0x433223){const _0x4ba16b=_0xa601e6;super(),this[_0x4ba16b(0xe2)]=_0x181b84,this[_0x4ba16b(0x35b)]=_0x3eaa61,this[_0x4ba16b(0x8e)]=_0x3830fc,this[_0x4ba16b(0x158)]=_0x4a2320,this[_0x4ba16b(0x305)]=_0x433223;let {menu:_0x87f1aa,..._0x3ed6e6}=(0x0,_0x55a2b9['merge'])({},_0x5d2746,this[_0x4ba16b(0xe2)]);_0x87f1aa&&this['_configService'][_0x4ba16b(0x293)](_0x4ba16b(0x153),_0x87f1aa,{'merge':!0x0}),this['_configService'][_0x4ba16b(0x293)](_0x229a90,_0x3ed6e6),this[_0x4ba16b(0x3ee)]();}['onStarting'](){const _0x177c08=_0xa601e6;(0x0,_0x55a2b9['registerDependencies'])(this[_0x177c08(0x35b)],this[_0x177c08(0x2b7)]()),this[_0x177c08(0x35b)]['get'](_0x125eff),this['_initUIPart']();}[_0xa601e6(0x2b7)](){return[[_0x125eff],[_0x124d0b],[_0x759f13],[_0x48e60e],[_0x182787],[_0x57f995],[_0x1b99fd],[_0x230665],[_0x529632],[_0x17270c],[_0x311bf3]];}[_0xa601e6(0x1d8)](){const _0x5b344f=_0xa601e6;this[_0x5b344f(0x247)]()[_0x5b344f(0x3e3)](_0x7f9802=>{const _0x5893a9=_0x5b344f;this[_0x5893a9(0x321)](this[_0x5893a9(0x305)][_0x5893a9(0x110)](_0x55a2b9[_0x5893a9(0x2b8)][_0x5893a9(0x1c9)],_0x7f9802));}),(0x0,_0x55a2b9[_0x5b344f(0x27f)])(this[_0x5b344f(0x35b)],[[_0x124d0b],[_0x759f13],[_0x48e60e],[_0x182787],[_0x1b99fd],[_0x230665],[_0x529632],[_0x17270c],[_0x311bf3]]);}['_getRenderModules'](){return[[_0x57f995],[_0x4e282f],[_0x2db8ea]];}[_0xa601e6(0x8b)](){const _0xf8a909=_0xa601e6;this[_0xf8a909(0x321)](this[_0xf8a909(0x305)][_0xf8a909(0x110)](_0x55a2b9[_0xf8a909(0x2b8)][_0xf8a909(0x1c9)],[_0x24c9f1]));}[_0xa601e6(0x3ee)](){const _0x55c5f2=_0xa601e6;[_0x1e85b0,_0x540093,_0x47887f,_0x3b80ed,_0x52f25b,_0x59288a][_0x55c5f2(0x3e3)](_0x149e14=>this[_0x55c5f2(0x321)](this[_0x55c5f2(0x8e)][_0x55c5f2(0x17f)](_0x149e14)));}[_0xa601e6(0x32f)](){const _0x165574=_0xa601e6;let _0x551eb5=this[_0x165574(0x35b)],_0x3507ad=_0x551eb5['get'](_0x481e6e[_0x165574(0x1d3)]);this[_0x165574(0x321)](_0x3507ad['registerComponent'](_0x481e6e[_0x165574(0x38e)][_0x165574(0x1c0)],()=>(0x0,_0x481e6e[_0x165574(0x14c)])(_0x5cedaf,_0x551eb5)));}};_0x535fda(_0x50c9c4,_0xa601e6(0x14d),_0x55a2b9['UniverInstanceType']['UNIVER_DOC']),_0x535fda(_0x50c9c4,_0xa601e6(0x1d6),_0xa601e6(0x26e)),_0x535fda(_0x50c9c4,_0xa601e6(0x2e4),_0x4fc8c5),_0x535fda(_0x50c9c4,_0xa601e6(0x1d0),_0x5903dd),_0x50c9c4=_0x14e959([(0x0,_0x55a2b9[_0xa601e6(0x144)])(_0x4e56d9['UniverLicensePlugin'],_0x25471a[_0xa601e6(0x11e)],_0x4613e6[_0xa601e6(0x102)],_0xfafa51['UniverDrawingUIPlugin'],_0x33e80b['UniverRenderEnginePlugin'],_0x3de3d4[_0xa601e6(0xda)],_0x231cab['UniverShapeEditorPlugin'],_0x1352d9[_0xa601e6(0x180)],_0x3a6658[_0xa601e6(0xd2)],_0x4c260e['UniverShapeEditorUIPlugin']),_0x4d90b3(0x1,(0x0,_0x55a2b9[_0xa601e6(0x17e)])(_0x55a2b9[_0xa601e6(0xee)])),_0x4d90b3(0x2,_0x55a2b9['ICommandService']),_0x4d90b3(0x3,_0x55a2b9['IConfigService']),_0x4d90b3(0x4,_0x33e80b[_0xa601e6(0xf2)])],_0x50c9c4),_0x49ca5b['DocsShapeUIMenuSchema']=_0x565b14,Object[_0xa601e6(0x2bb)](_0x49ca5b,_0xa601e6(0xd6),{'enumerable':!0x0,'get':function(){return _0x4e3481;}}),Object[_0xa601e6(0x2bb)](_0x49ca5b,_0xa601e6(0x25d),{'enumerable':!0x0,'get':function(){return _0x50c9c4;}});}));function _0x13b1(_0x1ccd64,_0x1d9967){_0x1ccd64=_0x1ccd64-0x6d;const _0x40057d=_0x4005();let _0x13b183=_0x40057d[_0x1ccd64];return _0x13b183;}function _0x4005(){const _0x5bf090=['M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','getInverseCoord','shapeType','_shapeEditPanelVersion','setPresentation','endArrow','useId','drawing-ui.objectListPanel.typeNames.','_activeShapeModel','Observable','getSelectedObjectMap','UpdateDocShapeDataCommand','FOCUSING_SHAPE_TEXT_EDITOR','_shapeId','getEditing','layoutType','isConnectorShape','UniverDocsMobileUIPlugin','ArrangeTypeEnum','_activeShapeInfo','_isOpenedShapeEditPanel','ObjectListPanelBase','UUID','_applyFormulaAutoFitSize','_update','MoveDownIcon','drawing-ui.objectListPanel.sectionFloating','changeEnd$','prototype','IImageIoService','toDisposable','assign','MenuManagerPosition','setDocsCustomBlockRenderViewportProvider','wrapStrategy','MobileDocDrawingTextWrap','stroke','DocsShapeWrapInlineIcon','_initSelection','UniverProDocsShapeUi','_baseShapeTop','setCursor','footerId','_imageIoService','_docCanvasPopManagerService','removeAttribute','_popupTargetKeys','UpdateDocDrawingWrappingStyleCommand','_permissionService','ToggleShapeFloatingToolbarOperation','getFocusedUnit','plainShapeTextToDocumentData','ShapeTextHyperLinkPopupService','displayName','DocSelectionRenderService','onPointerMove$','getDrawingShapeKeyByDrawingSearch','drawing-ui.objectListPanel.expand','LEFT','docs-shape-ui.shape-format.style-ribbon-control','Module','http://www.w3.org/2000/svg','_getShapeAdjustPointListById','_registerDrawingTransformHandler','TOP','useMemo','_adjHandlerPointerUp','getShapeTypeById','DocsShapeWrapTopBottomIcon','appliedStrokeWidth','M2\x203h16M2\x207.5h16M2\x2010h16M2\x2012.5h16M2\x2017h16','FOCUSING_COMMON_DRAWINGS','sectionFloating','DEFAULT_DOC_SHAPE_WIDTH','UniverProShapeEditor','TextWrapShapeIcon','849zvUMlJ','DRAWING_SHAPE','useState','calculate','forEach','executeCommand','flipX','MobileShapePickerPanel','UpdateDocShapeDataMutation','forward','getOwnPropertyDescriptor','length','parent','UniverDocsDrawingMobileUIPlugin','useEffect','_initCommands','getDrawingEditable','DocumentDataModel','resize','setFormulaPresentation','calcAdjValues','amd','cos','bottom','remove$','shape-editor-ui.toolbar.quickStyles','Transform','_mobileEditorService','clear','RENDER_CLASS_TYPE','DrawingCommonPanel','M7.55\x205.45C6.50066\x205.45\x205.65\x206.30066\x205.65\x207.35V12.65C5.65\x2013.6993\x206.50066\x2014.55\x207.55\x2014.55H12.45C13.4993\x2014.55\x2014.35\x2013.6993\x2014.35\x2012.65V7.35C14.35\x206.30066\x2013.4993\x205.45\x2012.45\x205.45H7.55ZM7.8\x206.75C7.24772\x206.75\x206.8\x207.19772\x206.8\x207.75V12.25C6.8\x2012.8023\x207.24772\x2013.25\x207.8\x2013.25H12.2C12.7523\x2013.25\x2013.2\x2012.8023\x2013.2\x2012.25V7.75C13.2\x207.19772\x2012.7523\x206.75\x2012.2\x206.75H7.8Z','getSelfOrHeaderFooterModel','getDocumentEntityPermissionObjectId','interceptor','_registerImageShapeClipDelegate','objects','getValue','Vector2','onerror','animationEnabled','more-down-icon','string','WRAP_SQUARE','@univerjs/engine-render','BottomIcon','clone','shape-format-setting-icon','onPointerUp$','ShapeTypeEnum','getShapeQuickStyleType','merge','1em','DRAWING_DOM','M4.64645\x209.85355C4.45118\x209.65829\x204.45118\x209.34171\x204.64645\x209.14645L7.64645\x206.14645C7.84171\x205.95118\x208.15829\x205.95118\x208.35355\x206.14645L11.3536\x209.14645C11.5488\x209.34171\x2011.5488\x209.65829\x2011.3536\x209.85355C11.1583\x2010.0488\x2010.8417\x2010.0488\x2010.6464\x209.85355L8\x207.20711L5.35355\x209.85355C5.15829\x2010.0488\x204.84171\x2010.0488\x204.64645\x209.85355Z','distinctUntilChanged','DRAWING_OBJECT_LAYER_INDEX','onRendered','cancelEditing','_updateSrcRectByTransform','_commandService','move-down-icon','subtle','drawFormulaShapeAnimationLayers','Fragment','call','7604XMyAuM','ShapeModel','getTransformerByCreate','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','SetDocDrawingArrangeCommand','onSavingEditorData$','formulaBinding','resolveShapeTextDocumentRenderLayout','doc.shape.text.float-menu','doc.image-clip.shape-picker.component','onDblclick$','PositionedObjectLayoutType','popup','extraProps','DocShapeAnchorPosition','15496fexqvh','_getDisposePopups','round','docs-shape-ui.ribbon.shape-format.text-control','drawing-ui.objectListPanel.hide','pageWidth','object-layers-icon','DocsShapeService','ICommandService','BooleanNumber','getDrawingTypeNameKey','evenodd','size','completeEditing','ShapeDefaultConfig','_popupMenuListener','trim','getMatrix','_editingParams$','_init','front','transformVector2SceneCoord','clearControl$','useFormulaShapeToolbar','_toScenePoint','_docLayoutInteractionService','shape-editor-ui.toolbar.changeShape','doc.operation.update-shape-type','UniverProShapeEditorUi','actions','UniverDrawing','_instanceService','docs-shape-ui.textWrap.inline','_subUnitId','doc','multiply','IPermissionService','ShapeFloatingToolbar','_insertShapes','DocDrawingTextWrap','M1.25\x2013.036C1.25\x2012.1523\x201.96634\x2011.436\x202.85\x2011.436H13.15C14.0337\x2011.436\x2014.75\x2012.1523\x2014.75\x2013.036C14.75\x2013.9196\x2014.0337\x2014.636\x2013.15\x2014.636H2.85C1.96635\x2014.636\x201.25\x2013.9196\x201.25\x2013.036ZM2.85\x2012.636C2.62909\x2012.636\x202.45\x2012.8151\x202.45\x2013.036C2.45\x2013.2569\x202.62909\x2013.436\x202.85\x2013.436H13.15C13.3709\x2013.436\x2013.55\x2013.2569\x2013.55\x2013.036C13.55\x2012.8151\x2013.3709\x2012.636\x2013.15\x2012.636H2.85Z','getShapeQuickStylePreset','skeHeaders','createControl$','COMMAND','has','Line','UniverDocsShapePlugin','_initialize','unregister','OPERATION','UniverDocsShapeMobileUIPlugin','isEditing','docs-shape-ui.mobile.delete','reverse','UniverDocsUIPlugin','adjName','rows','#3B82F6','2793658gHHLxY','more-up-icon','BUTTON','name','_config','focus$','get','strokeWidth','MobileActionRow','docs-shape-ui.ribbon.shape-format.formula-control','context-bar','_drawRichTextLayer','OFFSET','ShapeTextEditorContainer','_docsShapeService','subUnitId','Injector','getDocumentEntityParentPermissionObjectIds','RichTextEditingMutation','dataModel','IRenderManagerService','resolveShapeContextualRibbonHostMode','target','ShapeTextFloatMenuRenderControllerBase','current','ShapeRenderModeEnum','disableObjectsEvent','UniverShapeEditorMobileUIPlugin','getImageSourceCache','_openShapeEditPanel','asObservable','IRibbonService','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','_formulaShapes','IContextService','strokeOpacity','UniverDrawingPlugin','_attachAdjustEvent','debounceRefreshControls','BEHIND_TEXT','custom','pages','ISidebarService','create','doc.shape.edit.panel','reduce','currentColor','non-scaling-stroke','canDispose','presetId','registerRenderModule','_getActiveDrawingShape','originalStrokeWidth','MenuItemType','_getSceneByUnitId','actualHeight','SetDrawingSelectedOperation','getShapeData','xlink:href','_getShapeInfo','width','jsx','path','_loadShapePictureFill','UniverDocsPlugin','presentationChanged$','drawingId','docs-shape-ui.ribbon.shape-format.arrange-forward','@univerjs/docs-drawing-ui','headerId','fillImageSourceType','drawing-ui.objectListPanel.search','isRichText','priority','_formulaAnimation','canEditDocumentTargets','ShapeTextFloatToolbar','updateDocumentDataMargin','autoFitType','Circle','ShapeStyleRibbonControl','symbol','_iconManager','fillImageSource','DocumentEntity','renderDrawingShape','onPointerDown$','sin','drawing-ui.objectListPanel.unlockHint','pipe','_closeShapeEditPanel','M4.2\x208.3H6.8','URL','querySelectorAll','@univerjs/drawing-ui','837941HkOjjB','square','FormatPainterSessionService','register','spaceBelowApply','DocEventManagerService','drawing-ui.objectListPanel.lockAll','DependentOn','sectionCanvas','CommandType','shouldClipShapeTextDocument','formulaPresentation','_baseShapeLeft','values','oKey','connectInjector','type','MoreUpIcon','changing$','resetCursor','IUniverInstanceService','_clearPopups','menu','children','docs-shape-ui.shape-format.wrapping-style-label','WRAP_NONE','UpdateDocDrawingMetadataCommand','_configService','drawing-ui.objectListPanel.lock','visible','@univerjs/drawing','1.2','toFixed','M5.57564\x2011.6118C5.80995\x2011.3774\x206.18985\x2011.3774\x206.42417\x2011.6118L7.3999\x2012.5875V6.36951C7.3999\x206.03814\x207.66853\x205.76951\x207.9999\x205.76951C8.33127\x205.76951\x208.5999\x206.03814\x208.5999\x206.36951V12.5875L9.57564\x2011.6118C9.80995\x2011.3774\x2010.1899\x2011.3774\x2010.4242\x2011.6118C10.6585\x2011.8461\x2010.6585\x2012.226\x2010.4242\x2012.4603L8.4324\x2014.452C8.32324\x2014.5655\x208.16982\x2014.6362\x207.9999\x2014.6362C7.82998\x2014.6362\x207.67655\x2014.5655\x207.56739\x2014.452L5.57564\x2012.4603C5.34132\x2012.226\x205.34132\x2011.8461\x205.57564\x2011.6118Z','resolveActiveShapeQuickStylePresetId','_localeService','setShapeProps','@univerjs-pro/shape-editor','_createShapeAdjustControls','_drawingType','getAllRenderersOfType','_activeShapeId','createElement','description','ShapeIcon','@univerjs/core','univer-grid\x20univer-gap-5\x20univer-p-3','drawing-ui.objectListPanel.title','syncExecuteCommand','_updateShapeAdjustControls','refreshFormulaPresentation','@univerjs-pro/docs-shape-ui','clearActiveDrawingObjects','isRenderLinePointsMode','backward','IURLImageService','Disposable','Medium','find','splice','Plugin','mask','SHAPE','M7.82994\x201.40913C7.88746\x201.35161\x207.95376\x201.30821\x208.02453\x201.27893C8.09527\x201.24959\x208.17285\x201.2334\x208.2542\x201.2334C8.33555\x201.2334\x208.41313\x201.24959\x208.48387\x201.27893C8.55464\x201.30821\x208.62094\x201.35161\x208.67846\x201.40913L10.6785\x203.40913C10.9128\x203.64345\x2010.9128\x204.02335\x2010.6785\x204.25766C10.4441\x204.49198\x2010.0642\x204.49198\x209.82994\x204.25766L8.8542\x203.28193V5.8334C8.8542\x206.16477\x208.58557\x206.4334\x208.2542\x206.4334C7.92283\x206.4334\x207.6542\x206.16477\x207.6542\x205.8334V3.28193L6.67846\x204.25766C6.44415\x204.49198\x206.06425\x204.49198\x205.82994\x204.25766C5.59562\x204.02335\x205.59562\x203.64345\x205.82994\x203.40913L7.82994\x201.40913Z','getShapeTextRect','Inject','registerCommand','UniverDocsDrawingUIPlugin','_measure','drawing-ui.objectListPanel.unlockAll','DocsShapeWrapInFrontOfTextIcon','getShapeModel','hadStyleAttribute','_registerOperations','shapeId','function','getInterceptPoints','DocumentViewModel','draw','_visible','moveRange','subscribe','Documents','hasAttribute','getObjectIncludeInGroup','drawing-ui.objectListPanel.moveBackward','React','getShapeTextData','UnitObject','text','INSERT_BELLOW_MENU_ID','height','UniverCore','ShapeTextAutoFitType','shapeKey','UniverProLicense','shapeText','complete','_registerComponents','SetDocumentPermissionCommand','true','drawing','getDrawingEffectBounds','_getShapePopup','M14.0045\x204.4334C14.8881\x204.4334\x2015.6045\x203.71705\x2015.6045\x202.8334C15.6045\x201.94974\x2014.8881\x201.2334\x2014.0045\x201.2334H3.70449C2.82084\x201.2334\x202.10449\x201.94974\x202.10449\x202.8334C2.10449\x203.71705\x202.82084\x204.4334\x203.70449\x204.4334H14.0045ZM14.4045\x202.8334C14.4045\x203.05431\x2014.2254\x203.2334\x2014.0045\x203.2334H3.70449C3.48358\x203.2334\x203.30449\x203.05431\x203.30449\x202.8334C3.30449\x202.61248\x203.48358\x202.4334\x203.70449\x202.4334H14.0045C14.2254\x202.4334\x2014.4045\x202.61249\x2014.4045\x202.8334Z','filter','move-up-icon','UniverRenderEnginePlugin','src','Arrow','stroke-width','refreshTransform$','4743gEQRZf','doc.operation.close-doc-shape-format-panel','editingParams$','_ribbonService','getPageDrawingIds','TopmostIcon','behindText','0\x200\x2020\x2020','Rect','_initMenu','makeDirty','_props','DOC_CONTENT_INSERT_MENU_ID','setPrstGeom','MobileShapeEditorService','_canEditShape','doc-shape-adjust-point-','_hide','hidden','CONTENT','showContextualTab','DocParagraphMenuService','_transform','M14.1544\x208.5999C15.038\x208.5999\x2015.7544\x207.88356\x2015.7544\x206.9999C15.7544\x206.11625\x2015.038\x205.3999\x2014.1544\x205.3999H3.85439C2.97074\x205.3999\x202.25439\x206.11625\x202.25439\x206.9999C2.25439\x207.88356\x202.97074\x208.5999\x203.85439\x208.5999H14.1544ZM14.5544\x206.9999C14.5544\x207.22082\x2014.3753\x207.3999\x2014.1544\x207.3999H3.85439C3.63348\x207.3999\x203.45439\x207.22082\x203.45439\x206.9999C3.45439\x206.77899\x203.63348\x206.5999\x203.85439\x206.5999H14.1544C14.3753\x206.5999\x2014.5544\x206.77899\x2014.5544\x206.9999Z','forwardRef','shape-editor-ui.arrange.backward','isMainScene','drawWith','UNIVER_DOC','_addShapeAdjustControl','isLineShape','docs-shape-ui.formatShape','IConfigService','UniverProDocsShape','PictureFill','version','srcRect','_docDrawingShapeRenderController','IUIPartsService','_getActiveDrawingParam','_isShouldShowDrawingShapeAdjust','pluginName','params','onReady','getActiveViewportByCoord','shape-editor-ui.arrange.front','SHAPE_CHANGE_PICKER_COMPONENT','getPropertyValue','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','DocInterceptorService','isRender','restore','pick','_toVisualAdjustPoint','isInGroup','translateWithPrecision','ShapeFormulaRibbonControl','DocsShapeWrapSquareIcon','PaintIcon','_transformCalculateSrcRect','M1.6543\x2013.1665C1.6543\x2012.2828\x202.37064\x2011.5665\x203.2543\x2011.5665H13.5543C14.438\x2011.5665\x2015.1543\x2012.2828\x2015.1543\x2013.1665C15.1543\x2014.0502\x2014.438\x2014.7665\x2013.5543\x2014.7665H3.2543C2.37064\x2014.7665\x201.6543\x2014.0502\x201.6543\x2013.1665ZM3.2543\x2012.7665C3.03338\x2012.7665\x202.8543\x2012.9456\x202.8543\x2013.1665C2.8543\x2013.3874\x203.03338\x2013.5665\x203.2543\x2013.5665H13.5543C13.7752\x2013.5665\x2013.9543\x2013.3874\x2013.9543\x2013.1665C13.9543\x2012.9456\x2013.7752\x2012.7665\x2013.5543\x2012.7665H3.2543Z','1.0.0','rect','updateDocumentStyle','_univerInstanceService','paragraphs','resolveShapeTextDocumentPageHeight','_lastEditingShapeKey','resolveShapeTextEditorBehaviorShapeData','ShapeFormatSettingIcon','getDrawingDataForUnit','clipTop','isHitLine','resolveShapeTextEditorWrapStrategy','ObjectLayersIcon','top-bottom','unitId','back','SELECTOR','segmentId','_activeAdjustInfo','getDrawingPoints','docs-shape-ui.openPanel','startOffset','EMPTY_PARAGRAPH_MENU_ID','drawing-ui.objectListPanel.hideAll','updateShapeFillImage','_updateShape','drawing-ui.objectListPanel.filterAll','panel','#2563EB','flipY','fontSize','getRealBound','attachPopupToObject','paragraphMenuPlacement','getPropertyPriority','onload','_initPrinting','drawing-ui.objectListPanel.sectionCanvas','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','permissionPointUpdate$','addImageSourceCache','VIEW_MAIN','@univerjs-pro/shape-editor-ui','getTextModel','UniverDrawingUi','activeTarget','gradientEndColor','span','push','featurePluginUpdateNotification','render','_drawShapeText','0\x200\x2017\x2016','_sidebarDisposable','doc.operation.apply-shape-quick-style','_baseShapeWidth','setCanUseShapeClip','fallbackWidth','DisposableCollection','_refreshShapeData','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','drawing-ui.objectListPanel.show','_urlImageService','normalizeShapeTextModel','beginInteraction','vertical-center','rxjs','setOnSavingEditorData','None','_drawSimpleText','_baseShapeHeight','FloatingObjectToolbarPosition','_registerFloatingToolbar','drawing-ui.objectListPanel.descriptionPlaceholder','_getShapeAdjustInfosById','getShapeDataById','scale','endOffset','setFillImage','DrawingTypeEnum','FormulaShapeAnimationController','onCommandExecuted','getAdjustValueByName','clip','div','_setTransForm','bottom-icon','_draw','onStarting','flatMap','localName','M4.2\x205.5H10.5','_getRenderModules','getShapePopupMenus','contentHeight','UniverUi','style','translate','docs-shape-ui.textWrap.behindText','getDrawingSearch','5.5','SolidFill','UniverDrawingMobileUIPlugin','docs-shape-ui.ribbon.shape-format.arrange-back','indexOf','ShapeQuickStyleGallery','_layoutInteraction','drawing-ui.objectListPanel.nameInput','UniverShapeEditorPlugin','Large','getDrawingData','entries','getUnitId','_registerObjectListPanel','UniverDocsShapeUIPlugin','_adjustPointObjects','ContextMenuPosition','DRAWING_IMAGE','_componentManager','shape-text-','_adjName','canvas','DocPrintInterceptorService','horizontal','transformByState','DocSelectionManagerService','getTransformer','RemoveDocDrawingCommand','getCanvasElement','_isStartAdjusting','shape-editor-ui.arrange.back','DOCS_SHAPE_UI_PLUGIN','intercept','insertGroupObject','useReducer','isDrawingObject','setFallbackVisible','@univerjs/protocol','useObservable','activateDrawingObject','_docPrintInterceptorService','univer-box-border\x20univer-px-4\x20univer-text-sm','RibbonInsertGroup','_completionFrame','ComponentManager','getRenderUnitById','image','drawing-ui.objectListPanel.filterHidden','touchDependencies','paragraph','default','defIds','use','setContextValue','map','_registerPickers','jsxs','drawing-ui.objectListPanel.collapse','refreshShapeFillImage','fillType','_clipService','drawing-ui.objectListPanel.details','_context','top','viewBox','open','CROSSHAIR','_drawRichText','setConfig','disableShapeOption','drawing-ui.objectListPanel.dragToReorder','univer-grid\x20univer-gap-3','createShapeTextBoxShapeData','add','shape-editor-ui.arrange.forward','label','left','MoreDownIcon','max','_sidebarService','M8.57975\x2014.5902L6.58023\x2012.5907C6.34591\x2012.3564\x206.34591\x2011.9765\x206.58023\x2011.7421C6.81454\x2011.5078\x207.19444\x2011.5078\x207.42876\x2011.7421L8.40449\x2012.7179V10.1664C8.40449\x209.83504\x208.67312\x209.56641\x209.00449\x209.56641C9.33586\x209.56641\x209.60449\x209.83504\x209.60449\x2010.1664V12.7179L10.5802\x2011.7421C10.8145\x2011.5078\x2011.1944\x2011.5078\x2011.4288\x2011.7421C11.6631\x2011.9765\x2011.6631\x2012.3564\x2011.4288\x2012.5907L9.42923\x2014.5902','menuRange','adjHandleSize','canvasElement','getPresentation','PRINTING_COMPONENT_COLLECT','2516664pcsGjo','docs-shape-ui.quickStyles','getCurrentUnitOfType','M13.5\x207V4.29412C13.5\x203.5794\x2012.8679\x203\x2012\x203H2.57143C1.70356\x203\x201.5\x203.5794\x201.5\x204.29412V7V10C1.5\x2010.7147\x201.70356\x2011\x202.57143\x2011H7.71429','_activeShapeAdjustPointList','getFocusDrawings','object','univerjs-icon\x20univerjs-icon-','shapeData','updateContext','update$','mergeMenu','prepareShapeTextDocumentData','offsetX','_onSavingEditorData$','getBoundingClientRect','_updateAdjustControlPositions','M11.3536\x206.14645C11.5488\x206.34171\x2011.5488\x206.65829\x2011.3536\x206.85355L8.35355\x209.85355C8.15829\x2010.0488\x207.84171\x2010.0488\x207.64645\x209.85355L4.64645\x206.85355C4.45118\x206.65829\x204.45118\x206.34171\x204.64645\x206.14645C4.84171\x205.95118\x205.15829\x205.95118\x205.35355\x206.14645L8\x208.79289L10.6464\x206.14645C10.8417\x205.95118\x2011.1583\x205.95118\x2011.3536\x206.14645Z','_getDependencies','UniverInstanceType','IMenuManagerService','_menuManagerService','defineProperty','docs-shape-ui.ribbon.shape-format','getDrawingByParam','from','refreshAdjustControls','useRef','includes','GROUP','useDependency','getContextValue','ContextMenuGroup','extensionGroups','close','M2\x203h16M2\x207.5h3M15\x207.5h3M2\x2010h3M15\x2010h3M2\x2012.5h3M15\x2012.5h3M2\x2017h16','registerDependencies','docs-shape-ui.ribbon.shape-format.wrapping-style','clipHeight','M1.25\x202.96401C1.25\x203.84767\x201.96634\x204.56401\x202.85\x204.56401H13.15C14.0337\x204.56401\x2014.75\x203.84767\x2014.75\x202.96401C14.75\x202.08036\x2014.0337\x201.36401\x2013.15\x201.36401H2.85C1.96635\x201.36401\x201.25\x202.08036\x201.25\x202.96401ZM2.85\x203.36401C2.62909\x203.36401\x202.45\x203.18493\x202.45\x202.96401C2.45\x202.7431\x202.62909\x202.56401\x202.85\x202.56401H13.15C13.3709\x202.56401\x2013.55\x202.7431\x2013.55\x202.96401C13.55\x203.18493\x2013.3709\x203.36401\x2013.15\x203.36401H2.85Z','_registerDrawingFocusChangeHandler','ShapePickerPanel','ancestorTransform','LocaleService','hideContextualTab','LAYOUT','_handleCreateControl','TRUE','shouldAllowShapeTextEditorHostSizeShrink','ShapeFormulaService','docs-shape-ui.shape-format.formula-ribbon-control','decorate','docs-shape-ui.textWrap.square','changeStart$','shapeModel','DocCanvasPopManagerService','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','_shapeFloatingToolbarService','isReleased','OBJECT_LIST_FLOATING_SECTION_ID','getState','setEditing','value','packageName','doc.operation.open-doc-shape-format-panel','top-center','focusDrawing','fontFamily','_renderWithCache','fill','replace','idSuffix','_canEdit','@univerjs-pro/engine-shape','docs-shape-ui.crop.shape','_shapeFormulaService','data','skeTables','getUnitType','VerticalAlign','WRAP_TOP_AND_BOTTOM','cloneShapeDataForType','getParent','startArrow','HorizontalAlign','inline','keys','below','transform','UniverProEngineShape','_clearCompletionFrame','parseFloat','_shapeTextEditingService','isHorizontal','warn','dispose','_renderManagerService','MobileDocDrawingPosition','setSrcRect','removeProperty','getMenuHiddenObservable','observe','applyPoint','add$','M5.57564\x204.38825C5.80995\x204.62256\x206.18985\x204.62256\x206.42417\x204.38825L7.3999\x203.41251V9.63049C7.3999\x209.96186\x207.66853\x2010.2305\x207.9999\x2010.2305C8.33127\x2010.2305\x208.5999\x209.96186\x208.5999\x209.63049V3.41251L9.57564\x204.38825C9.80995\x204.62256\x2010.1899\x204.62256\x2010.4242\x204.38825C10.6585\x204.15393\x2010.6585\x203.77403\x2010.4242\x203.53972L8.4324\x201.54796C8.32324\x201.43445\x208.16982\x201.36382\x207.9999\x201.36382C7.82998\x201.36382\x207.67655\x201.43446\x207.56739\x201.54797L5.57564\x203.53972C5.34132\x203.77403\x205.34132\x204.15393\x205.57564\x204.38825Z','_clearShapeAdjustControls','_endLayoutInteraction','createShapeFormulaDocument','clearAdjustValue','getActualSize','MobileShapeEditorControls','behind','_adjHandlerPointerMove','unsubscribe','docs-shape-ui.insertShape','composeMatrix','enhanceParams','@univerjs/docs-ui','drawing-ui.objectListPanel.close','beginPath','_disposePopupsByUnit','TextWrappingStyle','drawing-ui.objectListPanel.empty','0.8','disposeWithMe','_contextService','drawing-ui.objectListPanel.unlock','@univerjs/docs','selectable','icon','M2\x203.5h16M2\x2016.5h16M2\x2010h5M13\x2010h5','colorChannel1','bindRenderTransformerLifecycle','getTextStyle','none','invert','_initEditingParams','DocLayoutInteractionService','_initUIPart','save','angle','_formulaKey','DocumentSkeleton','some','fallbackHeight','PARAGRAPH','stopPropagation','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','docs-shape-ui.deleteShape','startIndex','error','tag','docs-shape-ui.textWrap.topAndBottom','MEDIA','min','getCurrentTypeOfUnit$','behindDoc','_shapeRenderController','drawingType','getDrawingOKey','getShapeType','subscribeEvent','scene','clipByShape','isHit','attrs','M12.05\x2012.1C12.6299\x2012.1\x2013.1\x2011.6299\x2013.1\x2011.05C13.1\x2010.4701\x2012.6299\x2010\x2012.05\x2010C11.4701\x2010\x2011\x2010.4701\x2011\x2011.05C11\x2011.6299\x2011.4701\x2012.1\x2012.05\x2012.1Z','MoveUpIcon','SHAPE_TEXT','_drawingManagerService','ObjectPermissionButton','setAdjustValueByName','drawings','toPrimitive','_registerIcons','enableObjectsEvent','clip-','marginTop','SHAPE_EDITOR_TRANSFORMER_CONFIG','docs-shape-format-font-family-menu','classType','getUnit','_injector','UniverLicensePlugin','5126075PkJogy','_getFocusedShapeAtPoint','registerShapeFormatPainter','iterator','isFinite','IDrawingManagerService','IN_FRONT_OF_TEXT','currentAdjustValues','INLINE','MobileMenu','element','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','vertical','set','M1.50439\x209C1.50439\x208.11634\x202.22074\x207.4\x203.10439\x207.4H13.4044C14.288\x207.4\x2015.0044\x208.11634\x2015.0044\x209C15.0044\x209.88366\x2014.2881\x2010.6\x2013.4044\x2010.6H3.1044C2.22074\x2010.6\x201.50439\x209.88366\x201.50439\x209ZM3.10439\x208.6C2.88348\x208.6\x202.70439\x208.77909\x202.70439\x209C2.70439\x209.22091\x202.88348\x209.4\x203.1044\x209.4H13.4044C13.6253\x209.4\x2013.8044\x209.22091\x2013.8044\x209C13.8044\x208.77909\x2013.6253\x208.6\x2013.4044\x208.6H3.10439Z','DOC','docs-shape-ui.objectListPanel.title','0\x200\x2016\x2016','svg','visible$','DocsShapeWrapBehindTextIcon','drawing-ui.objectListPanel.locate','docs-shape-ui.textWrap.inFrontText','getDocumentDrawingSegmentId','drawing-ui.objectListPanel.description','docs-shape-ui.config','0.14','_unitId','VIEWPORT_KEY','docs-shape-contextual-ribbon','SolidLine','UniverDocs','getDrawingOrder','url(#$1','IDocDrawingService','getParagraphContentStartOffset','@univerjs-pro/docs-shape','ShapeTextRibbonControl','ImageSourceTypeEnum','clearAdjustControls','UniverProtocol','setShapeData','next','drawing-ui.objectListPanel.noSelection','contentVerticalOffset','delete','topmost-icon','BehaviorSubject','sheet.image-clip.shape-picker.component','BuiltInUIPart','useLayoutEffect','getActiveTextRange','ShapeFillEnum','2284868lGKnOY'];_0x4005=function(){return _0x5bf090;};return _0x4005();}
|
|
1
|
+
function _0x4042(){const _0x15b2f9=['setPrstGeom','canvas','OFFSET','backward','applyQuickStyleToShapeData','setFillImage','docs-shape-ui.ribbon.shape-format.arrange-forward','FromArray','activeTarget','filter','symbol','UniverDrawingPlugin','transform','useId','_applyFormulaAutoFitSize','resolveShapeTextEditorBehaviorShapeData','skeFooters','pageWidth','ShapeTextFloatMenuRenderControllerBase','UniverDocsDrawingMobileUIPlugin','SolidLine','packageName','_formulaShapes','adjName','getMenuHiddenObservable','_univerInstanceService','move-down-icon','docs-shape-ui.textWrap.topAndBottom','_disposePopupsByUnit','UpdateDocDrawingWrappingStyleCommand','_addShapeAdjustControl','getInterceptPoints','focus$','6782212WWgcPb','toStringTag','doc.image-clip.shape-picker.component','getSkeletonData','top','Observable','updateDocumentStyle','clip','UpdateDrawingDocTransformCommand','setPresentation','canDispose','_updateShape','_popupTargetKeys','createElement','registerRenderModule','setShapeProps','UNIVER_DOC','_renderWithCache','resolveActiveShapeQuickStylePresetId','resolveShapeTextDocumentRenderLayout','_configService','M1.25\x2013.036C1.25\x2012.1523\x201.96634\x2011.436\x202.85\x2011.436H13.15C14.0337\x2011.436\x2014.75\x2012.1523\x2014.75\x2013.036C14.75\x2013.9196\x2014.0337\x2014.636\x2013.15\x2014.636H2.85C1.96635\x2014.636\x201.25\x2013.9196\x201.25\x2013.036ZM2.85\x2012.636C2.62909\x2012.636\x202.45\x2012.8151\x202.45\x2013.036C2.45\x2013.2569\x202.62909\x2013.436\x202.85\x2013.436H13.15C13.3709\x2013.436\x2013.55\x2013.2569\x2013.55\x2013.036C13.55\x2012.8151\x2013.3709\x2012.636\x2013.15\x2012.636H2.85Z','disconnect','getShapeTextRect','_loadAndSetImage','MobileShapePickerPanel','_handleCreateControl','rxjs','Documents','drawing','call','_measure','M2\x203.5h16M2\x2016.5h16M2\x2010h5M13\x2010h5','M2\x203h16M2\x2017h16','IMenuManagerService','drawing-ui.objectListPanel.name','calculate','cloneShapeDataForType','UniverDocs','plainShapeTextToDocumentData','MobileShapeEditorService','transformByState','BEHIND_TEXT','icon','defIds','PictureFill','setConfig','_contextService','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','getRealBound','viewBox','_initUIPart','_context','pipe','isolated','addObject','moveRange','_setTransForm','MoveDownIcon','FOCUSING_SHAPE_TEXT_EDITOR','parent','onDblclick$','_lastEditingShapeKey','_shapeRenderController','UniverDocsShapePlugin','getCurrentTypeOfUnit$','PositionedObjectLayoutType','ComponentManager','ShapeIcon','disableObjectsEvent','IN_FRONT_OF_TEXT','beginPath','vectorEffect','docs-shape-ui.crop.shape','_drawSimpleText','renderDrawingShape','DEFAULT_DOC_SHAPE_WIDTH','useLayoutEffect','onSavingEditorData$','-layout','_isShouldShowDrawingShapeAdjust','drawing-ui.objectListPanel.moveBackward','_instanceService','drawing-ui.objectListPanel.search','_clearCompletionFrame','_shapeFormulaService','docs-shape-ui.mobile.style','docs-shape-format-font-family-menu','_drawRichTextLayer','updateShapeFillImage','_completionFrame','shapeKey','stroke','FloatingObjectToolbarPosition','Medium','syncExecuteCommand','min','M2\x203h16M2\x207.5h16M2\x2010h16M2\x2012.5h16M2\x2017h16','children','UniverDocsShapeUIPlugin','shape-format-setting-icon','drawing-ui.objectListPanel.showAll','_componentManager','MenuItemType','mask','_getActiveDrawingParam','WRAP_NONE','5.5','MobileObjectListPanel','adjHandleFill','endArrow','DOCS_SHAPE_UI_PLUGIN','docs-shape-ui.shape-format.wrapping-style-label','DEFAULT_DOC_SHAPE_HEIGHT','ObjectPermissionButton','getDocumentEntityParentPermissionObjectIds','inline','DocSelectionRenderService','RENDER_CLASS_TYPE','IRenderManagerService','isEditing','attachTransformerTo','entries','height','17552952UVlvRT','_registerOperations','_docLayoutInteractionService','_editingParams$','UniverEngineRender','ShapeRenderModeEnum','UniverDocsDrawingUIPlugin','_transform','resolveShapeTextEditorWrapStrategy','UniverProtocol','UniverDocsDrawing','DocumentEntity','attachPopupToObject','useDependency','doc.shape.text.float-menu','useEffect','onPointerUp$','ShapeTextEditorContainer','toPrimitive','docs-shape-ui.openPanel','UniverDesign','bindRenderTransformerLifecycle','shapeId','MoveUpIcon','ShapeTypeEnum','docs-shape-ui.shape-format.quick-style-gallery','render','Vector2','BUTTON','_toVisualAdjustPoint','shape-text-','push','VerticalAlign','UniverShapeEditorPlugin','visible','drawing-ui.objectListPanel.dragToReorder','includes','createInternalEditorID','UniverDocsPlugin','drawingType','displayName','createShapeFormulaDocument','subscribe','DocsShapeUIMenuSchema','parseFloat','viewBound','@univerjs/docs-drawing','Line','clearAdjustValue','xlink:href','contentVerticalOffset','drawing-ui.objectListPanel.details','completeEditing','observe','applyPoint','getDrawingEffectBounds','getShapeTextData','getObjectListPanelSectionIdForDrawingType','_isOpenedShapeEditPanel','_docsShapeService','composeMatrix','target','getDrawingByParam','subscribeEvent','pluginName','_docCanvasPopManagerService','0.8','MenuManagerPosition','ArrangeTypeEnum','ShapeFloatingToolbarToggleFactory','DocSelectionManagerService','getDrawingData','none','TopmostIcon','_sidebarDisposable','url(#$1','_registerPickers','getSelectedObjectMap','map','shape-editor-ui.toolbar.changeShape','HorizontalAlign','_createShapeAdjustControls','sectionFloating','ShapeTextRibbonControl','IPermissionService','DependentOn','docs-shape-ui.shape-format.formula-ribbon-control','src','UniverProEngineShape','originalStrokeWidth','cos','forEach','M4.2\x208.3H6.8','BehaviorSubject','skeDrawings','getEditing','DRAWING_SHAPE','_mobileEditorService','object','flipY','ShapeQuickStyleGallery','DocDrawingPosition','Module','UpdateDocShapeDataCommand','INLINE','text','featurePluginUpdateNotification','DOCS_COMPONENT_MAIN_LAYER_INDEX','clipHeight','getShapeDataById','FOCUSING_COMMON_DRAWINGS','next','getDrawingSearch','1em','MoreDownIcon','getShapeType','createShapeTextBoxShapeData','1.2','_updateAdjustControlPositions','getShapeQuickStylePreset','None','values','_canEditShape','getPageDrawingIds','IContextService','span','M1.25\x202.96401C1.25\x203.84767\x201.96634\x204.56401\x202.85\x204.56401H13.15C14.0337\x204.56401\x2014.75\x203.84767\x2014.75\x202.96401C14.75\x202.08036\x2014.0337\x201.36401\x2013.15\x201.36401H2.85C1.96635\x201.36401\x201.25\x202.08036\x201.25\x202.96401ZM2.85\x203.36401C2.62909\x203.36401\x202.45\x203.18493\x202.45\x202.96401C2.45\x202.7431\x202.62909\x202.56401\x202.85\x202.56401H13.15C13.3709\x202.56401\x2013.55\x202.7431\x2013.55\x202.96401C13.55\x203.18493\x2013.3709\x203.36401\x2013.15\x203.36401H2.85Z','ancestorTransform','docs-shape-ui.hidePanel','docs-shape-ui.textWrap.square','canvasElement','IConfigService','UniverProDocsShape','BottomIcon','open','strokeWidth','_props','params','engine','object-layers-icon','drawingId','max','_subUnitId','UniverDocsMobileUIPlugin','UUID','doc.shape.floating-toolbar','_onSavingEditorData$','docs-shape-ui.objectListPanel.open','getTransformerByCreate','M5.57564\x204.38825C5.80995\x204.62256\x206.18985\x204.62256\x206.42417\x204.38825L7.3999\x203.41251V9.63049C7.3999\x209.96186\x207.66853\x2010.2305\x207.9999\x2010.2305C8.33127\x2010.2305\x208.5999\x209.96186\x208.5999\x209.63049V3.41251L9.57564\x204.38825C9.80995\x204.62256\x2010.1899\x204.62256\x2010.4242\x204.38825C10.6585\x204.15393\x2010.6585\x203.77403\x2010.4242\x203.53972L8.4324\x201.54796C8.32324\x201.43445\x208.16982\x201.36382\x207.9999\x201.36382C7.82998\x201.36382\x207.67655\x201.43446\x207.56739\x201.54797L5.57564\x203.53972C5.34132\x203.77403\x205.34132\x204.15393\x205.57564\x204.38825Z','setCollapsedIds','UNIVER_SHEET','splice','querySelectorAll','M2\x203h16M2\x207.5h3M15\x207.5h3M2\x2010h3M15\x2010h3M2\x2012.5h3M15\x2012.5h3M2\x2017h16','docs-shape-ui.textWrap.inline','onReady','univer-grid\x20univer-gap-3','0\x200\x2020\x2020','text-wrap-shape-icon','@univerjs/docs-ui','getDrawingPoints','find','fallbackHeight','getOwnPropertyDescriptor','_registerComponents','M11.3536\x206.14645C11.5488\x206.34171\x2011.5488\x206.65829\x2011.3536\x206.85355L8.35355\x209.85355C8.15829\x2010.0488\x207.84171\x2010.0488\x207.64645\x209.85355L4.64645\x206.85355C4.45118\x206.65829\x204.45118\x206.34171\x204.64645\x206.14645C4.84171\x205.95118\x205.15829\x205.95118\x205.35355\x206.14645L8\x208.79289L10.6464\x206.14645C10.8417\x205.95118\x2011.1583\x205.95118\x2011.3536\x206.14645Z','http://www.w3.org/2000/svg','_getShapeAdjustInfosById','animateFormulaPresentation','9149EQBFIB','unsubscribe','shapeType','hideContextualTab','multiply','ShapeArrowTypeEnum','docs-shape-ui.formatShape','showContextualTab','vertical-center','jsx','docs-shape-ui.ribbon.shape-format.formula-control','_initEditingParams','@univerjs-pro/docs-shape','appliedStrokeWidth','defs','round','_popupMenuListener','shape-editor-ui.arrange.front','_docDrawingShapeRenderController','UniverIcon','_initCommands','getAdjustValueByName','Disposable','DocsShapeWrapBehindTextIcon','drawing-ui.objectListPanel.unlock','setCanUseShapeClip','ShapeTextHyperLinkPopupService','getDrawingOrder','_endLayoutInteraction','length','registerCommand','3254508UOkTgb','UniverProLicense','priority','M7.55\x205.45C6.50066\x205.45\x205.65\x206.30066\x205.65\x207.35V12.65C5.65\x2013.6993\x206.50066\x2014.55\x207.55\x2014.55H12.45C13.4993\x2014.55\x2014.35\x2013.6993\x2014.35\x2012.65V7.35C14.35\x206.30066\x2013.4993\x205.45\x2012.45\x205.45H7.55ZM7.8\x206.75C7.24772\x206.75\x206.8\x207.19772\x206.8\x207.75V12.25C6.8\x2012.8023\x207.24772\x2013.25\x207.8\x2013.25H12.2C12.7523\x2013.25\x2013.2\x2012.8023\x2013.2\x2012.25V7.75C13.2\x207.19772\x2012.7523\x206.75\x2012.2\x206.75H7.8Z','TextWrappingStyle','_initEvents','getUnitType','_drawRichText','getShapeTypeById','description','paragraphMenuPlacement','_commandService','restore','stopPropagation','docs-shape-ui.quickStyles','MobileShapeEditorControls','name','clearAdjustControls','removeProperty','UniverDocsUi','Transform','DocumentViewModel','resize','docs-shape-ui.textWrap.behindText','div','_registerIcons','touchDependencies','univer-box-border\x20univer-px-4\x20univer-text-sm','_insertShapes','setFormulaPresentation','path','_baseShapeHeight','isHit','drawing-ui.objectListPanel.lock','Large','2514CjCFyX','more-up-icon','isFinite','extraProps','ShapePickerDropdown','skeTables','UniverRenderEnginePlugin','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','style','hasAttribute','M7.82994\x201.40913C7.88746\x201.35161\x207.95376\x201.30821\x208.02453\x201.27893C8.09527\x201.24959\x208.17285\x201.2334\x208.2542\x201.2334C8.33555\x201.2334\x208.41313\x201.24959\x208.48387\x201.27893C8.55464\x201.30821\x208.62094\x201.35161\x208.67846\x201.40913L10.6785\x203.40913C10.9128\x203.64345\x2010.9128\x204.02335\x2010.6785\x204.25766C10.4441\x204.49198\x2010.0642\x204.49198\x209.82994\x204.25766L8.8542\x203.28193V5.8334C8.8542\x206.16477\x208.58557\x206.4334\x208.2542\x206.4334C7.92283\x206.4334\x207.6542\x206.16477\x207.6542\x205.8334V3.28193L6.67846\x204.25766C6.44415\x204.49198\x206.06425\x204.49198\x205.82994\x204.25766C5.59562\x204.02335\x205.59562\x203.64345\x205.82994\x203.40913L7.82994\x201.40913Z','setProperty','add','clearActiveDrawingObjects','version','endOffset','square','vertical','shapeModel','UpdateDocDrawingMetadataCommand','skeHeaders','isInGroup','docs-shape-ui.ribbon.shape-format.arrange-backward','getDrawingTypeNameKey','width','below','resolveShapeContextualRibbonHostMode','TextWrapShapeIcon','reverse','clipTop','UniverDocsDrawingUi','changing$','disposeWithMe','UniverUi','merge','ImageSourceTypeEnum','_ribbonService','ShapeFloatingToolbar','layoutType','title','menuRange','MobileDocDrawingPosition','SELECTOR','spaceBelowApply','@univerjs/drawing','close','Rect','DocEventManagerService','doc.shape.object-list.panel','M11.5565\x208H12.4435L12.913\x208.78261L13.8\x208.57391L14.4261\x209.2L14.2174\x2010.087L15\x2010.5565V11.4435L14.2174\x2011.913L14.4261\x2012.8L13.8\x2013.4261L12.913\x2013.2174L12.4435\x2014H11.5565L11.087\x2013.2174L10.2\x2013.4261L9.57391\x2012.8L9.78261\x2011.913L9\x2011.4435V10.5565L9.78261\x2010.087L9.57391\x209.2L10.2\x208.57391L11.087\x208.78261L11.5565\x208Z','value','back','0\x200\x2017\x2016','insertGroupObject','getSelfOrHeaderFooterModel','getActualSize','calcAdjValues','_activeShapeInfo','scale','SpAutoFit','react/jsx-runtime','LAYOUT','Inject','UniverDrawing','docs-shape-ui.deleteShape','isLineShape','startOffset','Fragment','_adjustPointObjects','shape-editor-ui.toolbar.quickStyles','DocumentSkeleton','UniverDocsShapeMobileUIPlugin','svg','UniverProShapeEditor','DOC_PARAGRAPH_T_INSERT_MENU_ID','shapeData','extensionGroups','UpdateDocShapeDataMutation','left','actualHeight','docs-shape-ui.ribbon.shape-format','paragraphs','fillImageSourceType','_releaseRenderCache','jsxs','behind','prototype','getImageSourceCache','_getFocusedShapeAtPoint','asObservable','@univerjs-pro/shape-editor-ui','TOP','true','Image','decorate','GROUP','docs-shape-ui.shape-format.text-ribbon-control','resolveShapeTextBodyBehavior','COMMAND','string','currentColor','localeService','_shapeTextEditingService','getDrawingShapeKeyByDrawingSearch','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','INSERT_BELLOW_MENU_ID','strokeOpacity','IURLImageService','DocumentDataModel','label','shape-editor-ui.arrange.backward','0.14','setContextValue','docs-shape-ui.config','drawWith','popup','_transformCalculateSrcRect','clipByShape','_baseShapeTop','remove$','2FJZgTc','getParent','useState','_openShapeEditPanel','invert','_registerDrawingTransformHandler','current','_docPrintInterceptorService','drawings','ShapeTextFloatToolbar','getShapeData','setFallbackVisible','_renderManagerService','_isStartAdjusting','_formulaAnimation','7255685jUjwTp','_injector','getImage','panel','horizontal','doc.operation.apply-shape-quick-style','@univerjs/core','fillType','refreshFormulaPresentation','debounceRefreshControls','autoFitType','_initPrinting','update$','_getRenderModules','updateContext','getObjectIncludeInGroup','dispose','move-up-icon','getAutoFitPresentations','disableShapeOption','warn','_closeShapeEditPanel','_registerDrawingFocusChangeHandler','getCanvasElement','ShapeTextAutoFitType','isRenderLinePointsMode','getParagraphContentStartOffset','_permissionService','shapeText','DRAWING_DOM','colorChannel1','getShapeModel','setEditing','_menuManagerService','docs-shape-text-','_getSceneByUnitId','IUniverInstanceService','unitId','editingParams$','create','buildShapeTextDataUpdate','_adjHandlerPointerUp','connectInjector','IconManager','_config','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','forwardRef','subUnitId','distinctUntilChanged','ShapeStyleRibbonControl','UniverCore','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','_unitId','fillImageSource','reduce','IDocDrawingService','drawing-ui.objectListPanel.descriptionPlaceholder','getBoundingClientRect','doc.operation.close-doc-shape-format-panel','_getActiveDrawingShape','isReleased','translate','rows','generateRandomId','_adjHandlerPointerMove','assign','docs-shape-contextual-ribbon','translateWithPrecision','keys','M13.5\x207V4.29412C13.5\x203.5794\x2012.8679\x203\x2012\x203H2.57143C1.70356\x203\x201.5\x203.5794\x201.5\x204.29412V7V10C1.5\x2010.7147\x201.70356\x2011\x202.57143\x2011H7.71429','OPERATION','clone','registerClipDelegate','ContextMenuGroup','canEditDocumentTargets','onCommandExecuted','currentAdjustValues','@univerjs-pro/shape-editor','refreshAdjustControls','onStarting','isHitLine','getActiveViewportByCoord','error','fill','_initialize','cells','getBody','_hide','_clearPopups','setSrcRect','srcRect','_sidebarService','M8.57975\x2014.5902L6.58023\x2012.5907C6.34591\x2012.3564\x206.34591\x2011.9765\x206.58023\x2011.7421C6.81454\x2011.5078\x207.19444\x2011.5078\x207.42876\x2011.7421L8.40449\x2012.7179V10.1664C8.40449\x209.83504\x208.67312\x209.56641\x209.00449\x209.56641C9.33586\x209.56641\x209.60449\x209.83504\x209.60449\x2010.1664V12.7179L10.5802\x2011.7421C10.8145\x2011.5078\x2011.1944\x2011.5078\x2011.4288\x2011.7421C11.6631\x2011.9765\x2011.6631\x2012.3564\x2011.4288\x2012.5907L9.42923\x2014.5902','_activeShapeAdjustPointList','DrawingTypeEnum','VIEW_MAIN','front','createControl$','TRUE','drawing-ui.objectListPanel.description','behindText','drawing-ui.objectListPanel.sectionFloating','_initMenu','_activeShapeId','getAdjustInfoByName','doc.operation.update-shape-type','startArrow','transformForAngle','useFormulaShapeToolbar','getPropertyValue','replace','bottom','mergeMenu','rect','@univerjs-pro/license','getMatrix','docs-shape-ui.insertShape','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_getDisposePopups','useObservable','isRichText','removeAttribute','getUnitId','toFixed','amd','useMemo','DRAWING_OBJECT_LAYER_INDEX','offsetX','_shapeEditPanelVersion','formulaBinding','clearControl$','getShapePopupMenus','UniverInstanceType','adjHandleSize','isRender','M1.50439\x209C1.50439\x208.11634\x202.22074\x207.4\x203.10439\x207.4H13.4044C14.288\x207.4\x2015.0044\x208.11634\x2015.0044\x209C15.0044\x209.88366\x2014.2881\x2010.6\x2013.4044\x2010.6H3.1044C2.22074\x2010.6\x201.50439\x209.88366\x201.50439\x209ZM3.10439\x208.6C2.88348\x208.6\x202.70439\x208.77909\x202.70439\x209C2.70439\x209.22091\x202.88348\x209.4\x203.1044\x209.4H13.4044C13.6253\x209.4\x2013.8044\x209.22091\x2013.8044\x209C13.8044\x208.77909\x2013.6253\x208.6\x2013.4044\x208.6H3.10439Z','exports','ShapeDefaultConfig','drawing-ui.objectListPanel.lockHint','tag','DocsShapeWrapTopBottomIcon','_clipService','getUnit','getPropertyPriority','univerjs-icon\x20univerjs-icon-','isHorizontal','marginTop','_toScenePoint','set','headerId','_activeAdjustInfo','Plugin','selectable','memo','getFocusedUnit','getTextModel','1.0.2','setCursor','@univerjs/ui','trim','OBJECT_LIST_FLOATING_SECTION_ID','@univerjs-pro/engine-shape','_shapeId','_layoutInteraction','get','useImperativeHandle','evenodd','paragraph','_updateShapeAdjustControls','CommandType','IDrawingManagerService','_shapeFloatingToolbarService','DocDrawingTextWrap','executeCommand','_draw','drawing-ui.objectListPanel.nameInput','Shape','forward','getActiveTextRange','URL','useReducer','iterator','_canEdit','_registerFloatingToolbar','formulaPresentation','register','DocsShapeWrapInlineIcon','_clearShapeAdjustControls','contentHeight','pages','setOnSavingEditorData','getPresentation','_getShapeAdjustPointListById','top-center','RemoveDocDrawingCommand','IRibbonService','_adjName','ShapeFloatingToolbarService','toDisposable','SetDocDrawingArrangeCommand','normalizeShapeTextModel','focusDrawing','ShapeFormulaRibbonControl','drawing-ui.objectListPanel.lockAll','_imageIoService','#2563EB','WRAP_TOP_AND_BOTTOM','_getShapePopup','some','UniverProDocsShapeUi','type','stroke-width','InsertDocShapeCommand','oKey','FormatPainterSessionService','scene','VIEWPORT_KEY','LocaleService','ShapeFillEnum','topmost-icon','WRAP_SQUARE','SetDocumentPermissionCommand','drawing-ui.objectListPanel.hide','hadStyleAttribute','objects','doc.command.menu-insert-shape','SetDrawingSelectedOperation','setAdjustValueByName','_iconManager','ShapeModel','_refreshShapeData','Injector','_formulaKey','baseVal','_updateSrcRectByTransform','wrapStrategy','idSuffix','draw','PARAGRAPH','getViewports','localName','fallbackWidth','setShapeData','RibbonInsertGroup','size','getDrawingDataForUnit','_localeService','DrawingCommonPanel','doc','attrs','RichTextEditingMutation','unregister','offsetY','dataModel','_baseShapeLeft','prepareShapeTextDocumentData','resetCursor','OTHERS','getAllRenderersOfType','drawing-ui.objectListPanel.show','BooleanNumber','getDrawingOKey','_init','ObjectListPanelBase','LEFT','getContextValue','PRINTING_COMPONENT_COLLECT','_drawingManagerService','UniverLicensePlugin','DocCanvasPopManagerService','clear','univer-grid\x20univer-gap-5\x20univer-p-3','enableObjectsEvent','DocsShapeWrapInFrontOfTextIcon','flipX','_update','addImageSourceCache','registerComponent','order','React','DocInterceptorService','doc.operation.open-doc-shape-format-panel','delete','UniverProShapeEditorUi','_urlImageService','_initSelection','docs-shape-ui.mobile.text','13892952ATXXRF','UniverDrawingUIPlugin','getDocumentEntityPermissionObjectId','registerDependencies','visible$','SHAPE_TEXT','element','getRenderUnitById','DRAWING_IMAGE','resolveFormulaShapeAutoFitSize','DocsShapeService','onload','_visible','animationEnabled','isDrawingObject','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','UniverDrawingMobileUIPlugin','default','pick','ShapeArrowSizeEnum','with','docs-shape-ui.ribbon.shape-format.arrange-back','_getShapeInfo','menu','doc.operation.open-shape-object-list-panel','behindDoc','drawing-ui.objectListPanel.collapse','ShapeFormatSettingIcon','getCurrentUnitOfType','classType','M1.6543\x2013.1665C1.6543\x2012.2828\x202.37064\x2011.5665\x203.2543\x2011.5665H13.5543C14.438\x2011.5665\x2015.1543\x2012.2828\x2015.1543\x2013.1665C15.1543\x2014.0502\x2014.438\x2014.7665\x2013.5543\x2014.7665H3.2543C2.37064\x2014.7665\x201.6543\x2014.0502\x201.6543\x2013.1665ZM3.2543\x2012.7665C3.03338\x2012.7665\x202.8543\x2012.9456\x202.8543\x2013.1665C2.8543\x2013.3874\x203.03338\x2013.5665\x203.2543\x2013.5665H13.5543C13.7752\x2013.5665\x2013.9543\x2013.3874\x2013.9543\x2013.1665C13.9543\x2012.9456\x2013.7752\x2012.7665\x2013.5543\x2012.7665H3.2543Z','sin','onRendered','interceptor','SolidFill','IImageIoService','function','drawing-ui.objectListPanel.sectionCanvas','_baseShapeWidth','getDrawingVisible','_registerImageShapeClipDelegate','_getDependencies','permissionPointUpdate$','0\x200\x2016\x2016','EMPTY_PARAGRAPH_MENU_ID','defineProperty','ObjectLayersIcon','ShapePickerPanel','shape-editor-ui.arrange.forward','.below','preValue','M12.05\x2012.1C12.6299\x2012.1\x2013.1\x2011.6299\x2013.1\x2011.05C13.1\x2010.4701\x2012.6299\x2010\x2012.05\x2010C11.4701\x2010\x2011\x2010.4701\x2011\x2011.05C11\x2011.6299\x2011.4701\x2012.1\x2012.05\x2012.1Z','non-scaling-stroke','constructor','drawing-ui.objectListPanel.unlockAll','presentation','_activeShapeModel','DisposableCollection','isMainScene','PaintIcon','807731sQsODc','hidden','image','DocParagraphMenuService','@univerjs/engine-render','_loadShapePictureFill','IUIPartsService','makeDirty','intercept','Path','M5.57564\x2011.6118C5.80995\x2011.3774\x206.18985\x2011.3774\x206.42417\x2011.6118L7.3999\x2012.5875V6.36951C7.3999\x206.03814\x207.66853\x205.76951\x207.9999\x205.76951C8.33127\x205.76951\x208.5999\x206.03814\x208.5999\x206.36951V12.5875L9.57564\x2011.6118C9.80995\x2011.3774\x2010.1899\x2011.3774\x2010.4242\x2011.6118C10.6585\x2011.8461\x2010.6585\x2012.226\x2010.4242\x2012.4603L8.4324\x2014.452C8.32324\x2014.5655\x208.16982\x2014.6362\x207.9999\x2014.6362C7.82998\x2014.6362\x207.67655\x2014.5655\x207.56739\x2014.452L5.57564\x2012.4603C5.34132\x2012.226\x205.34132\x2011.8461\x205.57564\x2011.6118Z','drawing-ui.objectListPanel.unlockHint','add$','getDocumentDrawingSegmentId','useRef','prstGeom','_registerObjectListPanel','isConnectorShape','drawing-ui.objectListPanel.filterLocked','M14.1544\x208.5999C15.038\x208.5999\x2015.7544\x207.88356\x2015.7544\x206.9999C15.7544\x206.11625\x2015.038\x205.3999\x2014.1544\x205.3999H3.85439C2.97074\x205.3999\x202.25439\x206.11625\x202.25439\x206.9999C2.25439\x207.88356\x202.97074\x208.5999\x203.85439\x208.5999H14.1544ZM14.5544\x206.9999C14.5544\x207.22082\x2014.3753\x207.3999\x2014.1544\x207.3999H3.85439C3.63348\x207.3999\x203.45439\x207.22082\x203.45439\x206.9999C3.45439\x206.77899\x203.63348\x206.5999\x203.85439\x206.5999H14.1544C14.3753\x206.5999\x2014.5544\x206.77899\x2014.5544\x206.9999Z','has','save','ICommandService','drawing-ui.objectListPanel.title','getFocusDrawings','flatMap'];_0x4042=function(){return _0x15b2f9;};return _0x4042();}function _0x9d29(_0x1b180f,_0x167d39){_0x1b180f=_0x1b180f-0x8a;const _0x40424b=_0x4042();let _0x9d2960=_0x40424b[_0x1b180f];return _0x9d2960;}(function(_0x359432,_0x55ae70){const _0xc9fe37=_0x9d29,_0xdc4e29=_0x359432();while(!![]){try{const _0x2b7b10=-parseInt(_0xc9fe37(0x2c5))/0x1*(parseInt(_0xc9fe37(0x15b))/0x2)+-parseInt(_0xc9fe37(0xc0))/0x3+parseInt(_0xc9fe37(0x300))/0x4+parseInt(_0xc9fe37(0x16a))/0x5+parseInt(_0xc9fe37(0xe3))/0x6*(-parseInt(_0xc9fe37(0xa1))/0x7)+-parseInt(_0xc9fe37(0x289))/0x8+parseInt(_0xc9fe37(0x37c))/0x9;if(_0x2b7b10===_0x55ae70)break;else _0xdc4e29['push'](_0xdc4e29['shift']());}catch(_0xf8335a){_0xdc4e29['push'](_0xdc4e29['shift']());}}}(_0x4042,0xe0a87),function(_0x32ce47,_0x3aaa20){const _0x4a52a2=_0x9d29;typeof exports==_0x4a52a2(0x3de)&&typeof module<'u'?_0x3aaa20(exports,require('@univerjs-pro/shape-editor-ui'),require('@univerjs/docs-ui'),require('@univerjs/ui'),require('@univerjs-pro/docs-shape'),require('@univerjs-pro/engine-shape'),require('@univerjs-pro/shape-editor'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/docs-drawing'),require('@univerjs/engine-render'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('react/jsx-runtime'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/docs-drawing-ui'),require('react'),require('@univerjs/design'),require('@univerjs/protocol')):typeof define==_0x4a52a2(0x2ad)&&define[_0x4a52a2(0x1e6)]?define([_0x4a52a2(0x1f2),_0x4a52a2(0x13d),_0x4a52a2(0x97),_0x4a52a2(0x208),_0x4a52a2(0xad),_0x4a52a2(0x20b),_0x4a52a2(0x1b7),_0x4a52a2(0x170),'@univerjs/docs',_0x4a52a2(0x3aa),_0x4a52a2(0x2c9),_0x4a52a2(0x10f),'@univerjs/drawing-ui',_0x4a52a2(0x11f),'rxjs',_0x4a52a2(0x1dc),'@univerjs/docs-drawing-ui','react','@univerjs/design','@univerjs/protocol'],_0x3aaa20):(_0x32ce47=typeof globalThis<'u'?globalThis:_0x32ce47||self,_0x3aaa20(_0x32ce47[_0x4a52a2(0x23b)]={},_0x32ce47[_0x4a52a2(0x285)],_0x32ce47[_0x4a52a2(0xd3)],_0x32ce47[_0x4a52a2(0x104)],_0x32ce47[_0x4a52a2(0x400)],_0x32ce47[_0x4a52a2(0x3d4)],_0x32ce47[_0x4a52a2(0x12c)],_0x32ce47[_0x4a52a2(0x19c)],_0x32ce47[_0x4a52a2(0x326)],_0x32ce47[_0x4a52a2(0x386)],_0x32ce47[_0x4a52a2(0x380)],_0x32ce47[_0x4a52a2(0x122)],_0x32ce47['UniverDrawingUi'],_0x32ce47['React'],_0x32ce47[_0x4a52a2(0x31b)],_0x32ce47[_0x4a52a2(0xc1)],_0x32ce47[_0x4a52a2(0x101)],_0x32ce47[_0x4a52a2(0x281)],_0x32ce47[_0x4a52a2(0x390)],_0x32ce47[_0x4a52a2(0x385)]));}(this,function(_0x3e8be1,_0x1bc9bf,_0x341d83,_0x446708,_0x1897fd,_0x349291,_0x535f5e,_0x5bc1cc,_0x42aa76,_0x1c356f,_0x24aff0,_0x3cf577,_0x390061,_0x4b014e,_0x587404,_0x1e2ae2,_0x24a9ae,_0x18e885,_0x48b50a,_0x49f26c){const _0x4ea115=_0x9d29;Object[_0x4ea115(0x2b6)](_0x3e8be1,Symbol[_0x4ea115(0x301)],{'value':_0x4ea115(0x3e2)});function _0x47ca61(_0x22b56c,_0x233b85){const _0x48b1f8=_0x4ea115;if(_0x233b85){if((0x0,_0x349291['isConnectorShape'])(_0x22b56c)&&(_0x233b85[_0x48b1f8(0x1d4)]||_0x233b85[_0x48b1f8(0x36e)]))return{'ln':{'startArrow':_0x233b85[_0x48b1f8(0x1d4)]?{'type':_0x349291[_0x48b1f8(0xa6)]['Arrow'],'size':_0x349291['ShapeArrowSizeEnum'][_0x48b1f8(0x35e)]}:void 0x0,'endArrow':_0x233b85[_0x48b1f8(0x36e)]?{'type':_0x349291[_0x48b1f8(0xa6)]['Arrow'],'size':_0x349291[_0x48b1f8(0x29c)][_0x48b1f8(0xe2)]}:void 0x0}};if(_0x22b56c===_0x349291[_0x48b1f8(0x394)][_0x48b1f8(0x111)]&&(_0x233b85['horizontal']||_0x233b85[_0x48b1f8(0xf4)]))return(0x0,_0x535f5e[_0x48b1f8(0x3f0)])({'fill':{'fillType':_0x349291['ShapeFillEnum'][_0x48b1f8(0x2ab)],'color':'#3B82F6'},'isHorizontal':!!_0x233b85[_0x48b1f8(0x16e)],'stroke':{'lineStrokeType':_0x349291['ShapeLineTypeEnum'][_0x48b1f8(0x2f3)],'width':0x1,'color':_0x48b1f8(0x237)}});}}function _0x52ebc2(_0x549bb1,_0x7e9c18){const _0x269198=_0x4ea115;var _0x134fb6;let _0x344a4d=_0x7e9c18['segmentId']??'',_0x289de7=(_0x134fb6=_0x549bb1[_0x269198(0x119)](_0x344a4d))==null?void 0x0:_0x134fb6[_0x269198(0x1c0)]();if(!_0x289de7)return null;let _0x391311=_0x289de7[_0x269198(0x134)]??[],_0x3ff500=_0x391311[_0x269198(0x99)](_0x4da359=>{const _0x4357eb=_0x269198;let _0x32127f=(0x0,_0x5bc1cc[_0x4357eb(0x184)])(_0x289de7,_0x4da359);return _0x7e9c18[_0x4357eb(0x125)]>=_0x32127f&&_0x7e9c18['startOffset']<=_0x4da359['startIndex'];})??_0x391311[_0x391311[_0x269198(0xbe)]-0x1];return _0x3ff500?{'paragraphId':_0x3ff500['paragraphId'],'segmentId':_0x344a4d,'position':_0x1897fd['DocShapeAnchorPosition'][_0x269198(0x2e1)],'offset':_0x7e9c18['startOffset']-(0x0,_0x5bc1cc['getParagraphContentStartOffset'])(_0x289de7,_0x3ff500)}:null;}function _0x1766c2(_0x1771fc,_0x3ab33c,_0x28a038){const _0x37c287=_0x4ea115;var _0x34bae0,_0x42a1f5;if(!_0x28a038)return null;let _0xec1612=(_0x34bae0=_0x1771fc[_0x37c287(0x20e)](_0x24aff0[_0x37c287(0x377)])[_0x37c287(0x290)](_0x3ab33c))==null?void 0x0:_0x34bae0[_0x37c287(0x29d)](_0x341d83[_0x37c287(0x2c8)])[_0x37c287(0x2e7)];if(!_0xec1612)return null;let _0x543e3f=_0x28a038===_0x37c287(0xfc)?{'startOffset':_0xec1612[_0x37c287(0x338)][_0x37c287(0xf2)],'endOffset':_0xec1612[_0x37c287(0x338)][_0x37c287(0xf2)]}:_0xec1612[_0x37c287(0x10b)];return{'startOffset':_0x543e3f[_0x37c287(0x125)],'endOffset':_0x543e3f[_0x37c287(0xf2)],'collapsed':_0x543e3f[_0x37c287(0x125)]===_0x543e3f[_0x37c287(0xf2)],'segmentId':((_0x42a1f5=_0xec1612[_0x37c287(0x211)])==null?void 0x0:_0x42a1f5['segmentId'])??''};}let _0x59105c={'type':_0x5bc1cc['CommandType'][_0x4ea115(0x145)],'id':_0x4ea115(0x24b),'handler':async(_0x48d756,_0x4e4ad9)=>{const _0x2e9bd1=_0x4ea115;let _0x3d2f90=_0x48d756[_0x2e9bd1(0x20e)](_0x5bc1cc['IUniverInstanceService'])[_0x2e9bd1(0x2a5)](_0x5bc1cc[_0x2e9bd1(0x1ee)][_0x2e9bd1(0x310)]);if(!_0x3d2f90)return!0x1;let _0x403106=_0x48d756[_0x2e9bd1(0x20e)](_0x5bc1cc[_0x2e9bd1(0x2db)]),_0x3394a6=_0x3d2f90[_0x2e9bd1(0x1e4)](),_0x301df9=_0x4e4ad9['shapeId']??(0x0,_0x5bc1cc[_0x2e9bd1(0x1a9)])(),_0x2f0475=_0x4e4ad9[_0x2e9bd1(0xfb)]??_0x1897fd[_0x2e9bd1(0x34c)],_0x1d7aff=_0x4e4ad9[_0x2e9bd1(0x37b)]??_0x1897fd[_0x2e9bd1(0x371)],_0x48f81a=_0x4e4ad9[_0x2e9bd1(0x12e)]??_0x47ca61(_0x4e4ad9[_0x2e9bd1(0x115)],_0x4e4ad9['enhanceParams']),_0x4e180a=_0x1766c2(_0x48d756,_0x3394a6,_0x4e4ad9[_0x2e9bd1(0xca)])??_0x48d756[_0x2e9bd1(0x20e)](_0x42aa76['DocSelectionManagerService'])[_0x2e9bd1(0x21c)]();if(!_0x4e180a)return!0x1;let _0x31eb3c=_0x52ebc2(_0x3d2f90,_0x4e180a);return _0x31eb3c?!!_0x403106[_0x2e9bd1(0x35f)](_0x1897fd[_0x2e9bd1(0x23e)]['id'],{'unitId':_0x3394a6,'shapeId':_0x301df9,'shapeType':_0x4e4ad9['value'],'shapeData':_0x48f81a,'transform':{'width':_0x2f0475,'height':_0x1d7aff},'placement':{'wrappingStyle':_0x1c356f[_0x2e9bd1(0xc4)]['INLINE'],'anchor':_0x31eb3c}}):!0x1;}},_0x135e7b='doc.shape.edit.panel',_0x3a28ca=_0x4ea115(0x133),_0x593cd4=_0x4ea115(0x113),_0x33ec1c=(0x0,_0x5bc1cc[_0x4ea115(0x3a1)])(_0x4ea115(0x28e)),_0x57b3d6=_0x4ea115(0x38a),_0x16861b='DocsShapeTextEditorContainer',_0x28b9a9={'id':_0x4ea115(0x2a1),'type':_0x5bc1cc[_0x4ea115(0x213)][_0x4ea115(0x145)],'handler':(_0x5693cc,_0x3d406a)=>{const _0x401379=_0x4ea115;let _0x454bdc=_0x5693cc[_0x401379(0x20e)](_0x446708['ISidebarService']),_0x1cfb96=_0x5693cc[_0x401379(0x20e)](_0x5bc1cc[_0x401379(0x243)]),_0x3f7697=_0x5693cc[_0x401379(0x20e)](_0x3cf577[_0x401379(0x214)]);return(_0x3d406a==null?void 0x0:_0x3d406a[_0x401379(0x115)])===_0x401379(0x110)?(_0x454bdc['close'](_0x593cd4),!0x0):(_0x454bdc[_0x401379(0x402)]({'id':_0x593cd4,'header':{'title':_0x1cfb96['t']('docs-shape-ui.objectListPanel.title')},'children':{'label':_0x593cd4},'onClose':()=>{const _0x1b5885=_0x401379;_0x3f7697[_0x1b5885(0x233)](null);},'width':0x168}),!0x0);}},_0x5a08b9={'type':_0x5bc1cc[_0x4ea115(0x213)][_0x4ea115(0x1b0)],'id':_0x4ea115(0x283),'handler'(){return!0x0;}};function _0x3c66(_0x586ffe){const _0x90637c=_0x4ea115;let _0xadbf5e=_0x586ffe['get'](_0x3cf577['IDrawingManagerService'])['getFocusDrawings'](),_0x4df27a=_0xadbf5e[_0x90637c(0xbe)]===0x1?_0xadbf5e[0x0]:null;if(!_0x4df27a||_0x4df27a['drawingType']!==_0x5bc1cc['DrawingTypeEnum'][_0x90637c(0x3dc)])return null;let _0x5f0e39=_0x586ffe[_0x90637c(0x20e)](_0x1897fd[_0x90637c(0x293)]),_0x1b3172=_0x5f0e39[_0x90637c(0xc8)](_0x4df27a['unitId'],_0x4df27a['subUnitId'],_0x4df27a['drawingId']),_0xefe14c=_0x5f0e39[_0x90637c(0x3e9)](_0x4df27a['unitId'],_0x4df27a[_0x90637c(0x199)],_0x4df27a[_0x90637c(0x408)]);return _0x1b3172===void 0x0||!_0xefe14c?null:{'drawing':_0x4df27a,'shapeData':_0xefe14c,'shapeType':_0x1b3172};}let _0x1af57a={'id':_0x4ea115(0x16f),'type':_0x5bc1cc[_0x4ea115(0x213)][_0x4ea115(0x1b0)],'handler':(_0x1e0d81,_0x13f636)=>{const _0x23187a=_0x4ea115;let _0x315105=_0x3c66(_0x1e0d81),_0x2a3c07=(0x0,_0x535f5e[_0x23187a(0x3f3)])((_0x13f636==null?void 0x0:_0x13f636['presetId'])??(_0x13f636==null?void 0x0:_0x13f636[_0x23187a(0x115)])??'');if(!_0x315105||!_0x2a3c07||_0x2a3c07[_0x23187a(0x23c)]!==(0x0,_0x535f5e['getShapeQuickStyleType'])(_0x315105[_0x23187a(0x12e)]))return!0x1;let _0x160ad2=(0x0,_0x535f5e[_0x23187a(0x2e3)])(_0x315105['shapeData'],_0x2a3c07);if(!_0x160ad2)return!0x1;let {drawing:_0x37840c}=_0x315105;return _0x1e0d81[_0x23187a(0x20e)](_0x5bc1cc[_0x23187a(0x2db)])[_0x23187a(0x217)](_0x1897fd[_0x23187a(0x3e3)]['id'],{'unitId':_0x37840c[_0x23187a(0x18f)],'shapeId':_0x37840c[_0x23187a(0x408)],'shapeData':_0x160ad2,'oldShapeJSON':{'oldShapeData':_0x315105[_0x23187a(0x12e)]}});}},_0x33e271={'id':_0x4ea115(0x1d3),'type':_0x5bc1cc[_0x4ea115(0x213)][_0x4ea115(0x1b0)],'handler':(_0x469ab2,_0x479303)=>{const _0x22bcba=_0x4ea115;let _0x4f50d9=_0x3c66(_0x469ab2),_0x284b2f=(_0x479303==null?void 0x0:_0x479303[_0x22bcba(0xa3)])??(_0x479303==null?void 0x0:_0x479303[_0x22bcba(0x115)]);if(!_0x4f50d9||!_0x284b2f||(0x0,_0x349291[_0x22bcba(0x2d6)])(_0x4f50d9['shapeType'])||(0x0,_0x349291[_0x22bcba(0x2d6)])(_0x284b2f))return!0x1;let _0x2a3451=(0x0,_0x535f5e[_0x22bcba(0x325)])(_0x4f50d9[_0x22bcba(0x12e)],_0x284b2f);if(!_0x2a3451)return!0x1;let {drawing:_0x1f4575}=_0x4f50d9;return _0x469ab2[_0x22bcba(0x20e)](_0x5bc1cc[_0x22bcba(0x2db)])[_0x22bcba(0x217)](_0x1897fd[_0x22bcba(0x3e3)]['id'],{'unitId':_0x1f4575[_0x22bcba(0x18f)],'shapeId':_0x1f4575[_0x22bcba(0x408)],'shapeType':_0x284b2f,'shapeData':_0x2a3451,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x4f50d9[_0x22bcba(0xa3)],'oldShapeData':_0x4f50d9[_0x22bcba(0x12e)]}});}};function _0x379978(_0x44324e,_0x2bd2fc){return function(_0x3202e3,_0x590dc8){_0x2bd2fc(_0x3202e3,_0x590dc8,_0x44324e);};}function _0x555290(_0x3d606e,_0x2b8dec,_0x172e62,_0x516161){const _0x2a3f5c=_0x4ea115;var _0x4353c6=arguments[_0x2a3f5c(0xbe)],_0x2ae555=_0x4353c6<0x3?_0x2b8dec:_0x516161===null?_0x516161=Object[_0x2a3f5c(0x9b)](_0x2b8dec,_0x172e62):_0x516161,_0x1c561e;if(typeof Reflect==_0x2a3f5c(0x3de)&&typeof Reflect[_0x2a3f5c(0x141)]=='function')_0x2ae555=Reflect[_0x2a3f5c(0x141)](_0x3d606e,_0x2b8dec,_0x172e62,_0x516161);else{for(var _0x1d0ef7=_0x3d606e['length']-0x1;_0x1d0ef7>=0x0;_0x1d0ef7--)(_0x1c561e=_0x3d606e[_0x1d0ef7])&&(_0x2ae555=(_0x4353c6<0x3?_0x1c561e(_0x2ae555):_0x4353c6>0x3?_0x1c561e(_0x2b8dec,_0x172e62,_0x2ae555):_0x1c561e(_0x2b8dec,_0x172e62))||_0x2ae555);}return _0x4353c6>0x3&&_0x2ae555&&Object[_0x2a3f5c(0x2b6)](_0x2b8dec,_0x172e62,_0x2ae555),_0x2ae555;}let _0x1499e6=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x247405,_0x21cd27){const _0x2db403=_0x4ea115;super(),this[_0x2db403(0x1f7)]=_0x247405,this[_0x2db403(0x275)]=_0x21cd27,this[_0x2db403(0x2b1)](),this[_0x2db403(0x1f7)]['setCanUseShapeClip'](!0x0),this[_0x2db403(0x103)]({'dispose':()=>this[_0x2db403(0x1f7)][_0x2db403(0xba)](!0x1)});}['_registerImageShapeClipDelegate'](){const _0x34f67c=_0x4ea115;let _0x3b35ef=new Map(),_0x391f2e=this[_0x34f67c(0x1f7)][_0x34f67c(0x1b2)]((_0x2d2e6e,_0x2513e3,_0x3493f6,_0x4c0331,_0x262af3)=>{const _0x4bafd1=_0x34f67c;let _0x168a27=_0x2513e3;if(_0x168a27===_0x349291['ShapeTypeEnum'][_0x4bafd1(0x3f4)]||_0x2513e3==='custom')return!0x1;try{let _0x45afdd=_0x3b35ef[_0x4bafd1(0x20e)](_0x2513e3);return _0x45afdd||(_0x45afdd=new _0x349291[(_0x4bafd1(0x24f))](_0x168a27,'clip-'+_0x2513e3),_0x3b35ef[_0x4bafd1(0x1fe)](_0x2513e3,_0x45afdd)),_0x45afdd[_0x4bafd1(0x3ac)](),_0x262af3&&Object[_0x4bafd1(0x1ae)](_0x262af3)[_0x4bafd1(0xbe)]>0x0&&_0x45afdd[_0x4bafd1(0x25c)]({'adjustValues':_0x262af3},!0x0),_0x45afdd[_0x4bafd1(0x178)]({'width':_0x3493f6,'height':_0x4c0331}),_0x45afdd['buildClipPath'](_0x2d2e6e,{'left':0x0,'top':0x0,'width':_0x3493f6,'height':_0x4c0331});}catch{return!0x1;}});this['disposeWithMe'](_0x391f2e),this[_0x34f67c(0x103)]({'dispose':()=>_0x3b35ef[_0x34f67c(0x278)]()});}[_0x4ea115(0x158)](_0xa11aaa,_0x530146,_0x3e9459,_0x335b4c,_0x236404){const _0x2ed917=_0x4ea115;let _0x281006=this['_drawingManagerService'][_0x2ed917(0x3c3)](_0xa11aaa,_0x530146)[_0x3e9459];_0x281006&&_0x281006[_0x2ed917(0x3a3)]===_0x5bc1cc[_0x2ed917(0x1c8)][_0x2ed917(0x291)]&&this['_drawingManagerService'][_0x2ed917(0x3e6)]([{..._0x281006,'prstGeom':_0x335b4c,'adjustValues':_0x236404}]);}};_0x1499e6=_0x555290([_0x379978(0x0,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x390061['DrawingImageClipService'])),_0x379978(0x1,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x3cf577['IDrawingManagerService']))],_0x1499e6);let _0x215dca='doc.shape.picker.component',_0x19b74d=_0x4ea115(0x302);function _0x28696f({onShapeClick:_0x55fe5b,excludeGroups:_0x5eda0d}){const _0x4bae1b=_0x4ea115;return(0x0,_0x4b014e[_0x4bae1b(0xaa)])(_0x1bc9bf[_0x4bae1b(0x2b8)],{'excludeGroups':_0x5eda0d,'onShapeClick':_0x55fe5b,'scrollContainer':_0x4bae1b(0x33c)});}function _0x1406e3(){const _0x21db25=_0x4ea115;let _0x1f32c5=(0x0,_0x446708[_0x21db25(0x389)])(_0x3cf577[_0x21db25(0x214)]),_0x3e73c3=(0x0,_0x446708[_0x21db25(0x389)])(_0x1499e6);return _0x39ad01=>{const _0x42bdc1=_0x21db25;let _0x27c84f=_0x1f32c5[_0x42bdc1(0x2dd)]()[_0x42bdc1(0x99)](_0x6ad9fb=>_0x6ad9fb[_0x42bdc1(0x3a3)]===_0x5bc1cc[_0x42bdc1(0x1c8)][_0x42bdc1(0x291)]);_0x27c84f&&_0x3e73c3[_0x42bdc1(0x158)](_0x27c84f['unitId'],_0x27c84f[_0x42bdc1(0x199)],_0x27c84f[_0x42bdc1(0x408)],_0x39ad01['type']);};}function _0x418549(){const _0x43b0a5=_0x4ea115;let _0x579547=_0x1406e3();return(0x0,_0x4b014e['jsx'])(_0x1bc9bf[_0x43b0a5(0xe7)],{'buttonLabel':_0x43b0a5(0x349),'excludeGroups':[_0x1bc9bf['ShapeGroupEnum'][_0x43b0a5(0x3ab)]],'onShapeClick':_0x579547});}function _0xdb8590(){const _0x37f702=_0x4ea115;let _0x4e762f=(0x0,_0x446708['useDependency'])(_0x446708[_0x37f702(0x343)]),_0x3a0a9a=(0x0,_0x446708[_0x37f702(0x389)])(_0x3cf577[_0x37f702(0x214)]),_0x4654a7=(0x0,_0x446708[_0x37f702(0x389)])(_0x5bc1cc['IUniverInstanceService']),_0x1fddce=_0x3a0a9a[_0x37f702(0x2dd)]()[0x0],_0x28a155=_0x1fddce?_0x4654a7[_0x37f702(0xc6)](_0x1fddce[_0x37f702(0x18f)]):void 0x0,_0x102dde=_0x28a155===_0x5bc1cc[_0x37f702(0x1ee)]['UNIVER_DOC']?_0x19b74d:_0x28a155===_0x5bc1cc[_0x37f702(0x1ee)][_0x37f702(0x8e)]?'sheet.image-clip.shape-picker.component':void 0x0,_0x1a9637=_0x102dde?_0x4e762f[_0x37f702(0x20e)](_0x102dde):void 0x0;return _0x1a9637?(0x0,_0x4b014e[_0x37f702(0xaa)])(_0x1a9637,{}):null;}function _0x4e301f({paragraphMenuPlacement:_0x1992b0,PickerComponent:_0x12cfc7=_0x28696f}){const _0x349f03=_0x4ea115;let _0x3721e4=(0x0,_0x446708['useDependency'])(_0x5bc1cc[_0x349f03(0x2db)]);return(0x0,_0x4b014e[_0x349f03(0xaa)])(_0x12cfc7,{'onShapeClick':_0x25d951=>{const _0x13667d=_0x349f03;_0x3721e4[_0x13667d(0x217)](_0x59105c['id'],{'paragraphMenuPlacement':_0x1992b0,'value':_0x25d951['type'],'enhanceParams':{'endArrow':_0x25d951['endArrow'],'startArrow':_0x25d951[_0x13667d(0x1d4)],'horizontal':_0x25d951[_0x13667d(0x16e)],'vertical':_0x25d951[_0x13667d(0xf4)]}});}});}function _0x52c349(_0x165c74){const _0x4309b5=_0x4ea115;return _0x56ea8d=>({'id':_0x59105c['id'],'type':_0x446708[_0x4309b5(0x367)][_0x4309b5(0x10d)],'selections':[{'label':{'name':_0x215dca,'hoverable':!0x1,'selectable':!0x1,'props':_0x165c74?{'id':_0x59105c['id'],'paragraphMenuPlacement':_0x165c74}:{'id':_0x59105c['id']}}}],'icon':_0x4309b5(0x344),'title':_0x4309b5(0x1de),'tooltip':_0x4309b5(0x1de),'hidden$':(0x0,_0x446708['getMenuHiddenObservable'])(_0x56ea8d,_0x5bc1cc[_0x4309b5(0x1ee)]['UNIVER_DOC'])});}let _0x229060=_0x52c349(),_0x5e545b=_0x52c349(_0x4ea115(0xfc)),_0x485714=_0x52c349('target');function _0x3ca1c8(_0x1b1ddf){const _0x5497bb=_0x4ea115;return{'id':_0x28b9a9['id'],'type':_0x446708[_0x5497bb(0x367)][_0x5497bb(0x398)],'icon':_0x5497bb(0x2b7),'title':_0x5497bb(0x8a),'tooltip':'docs-shape-ui.objectListPanel.open','hidden$':(0x0,_0x446708[_0x5497bb(0x2f7)])(_0x1b1ddf,_0x5bc1cc['UniverInstanceType'][_0x5497bb(0x310)])};}function _0x9420a0(_0x5d4c12,_0x1d434b,_0xbd9179,_0x2d7aa4,_0x203714,_0x3da539){const _0x240a3a=_0x4ea115;let _0xbb7a8={'unitId':_0x1d434b,'shapeId':_0x2d7aa4,'shapeData':_0x3da539,'oldShapeJSON':_0x203714};return _0x5d4c12['executeCommand'](_0x1897fd[_0x240a3a(0x3e3)]['id'],_0xbb7a8);}function _0x3174af(_0x88c9d1,_0x2e4e1e,_0x1e7b84,_0x65eff5,_0x36b644,_0x1c8c8e){const _0x557db2=_0x4ea115;let _0x3d3529={'unitId':_0x2e4e1e,'shapeId':_0x65eff5,'shapeData':_0x1c8c8e,'oldShapeJSON':_0x36b644};return _0x88c9d1[_0x557db2(0x217)](_0x1897fd[_0x557db2(0x3e3)]['id'],_0x3d3529);}let _0x205f1c=_0x4ea115(0x395),_0x9bb98f='docs-shape-ui.shape-format.style-ribbon-control',_0xcb0280=_0x4ea115(0x143),_0x5c919f=_0x4ea115(0x3d2),_0x2dab50=_0x4ea115(0x370),_0x41ab61=[{'value':_0x1c356f[_0x4ea115(0xc4)][_0x4ea115(0x3e4)],'label':_0x4ea115(0x92),'icon':_0x4ea115(0x224)},{'value':_0x1c356f['TextWrappingStyle'][_0x4ea115(0x246)],'label':'docs-shape-ui.textWrap.square','icon':'DocsShapeWrapSquareIcon'},{'value':_0x1c356f[_0x4ea115(0xc4)]['WRAP_TOP_AND_BOTTOM'],'label':_0x4ea115(0x2fa),'icon':_0x4ea115(0x1f6)},{'value':_0x1c356f[_0x4ea115(0xc4)][_0x4ea115(0x32a)],'label':_0x4ea115(0xd7),'icon':_0x4ea115(0xb8)},{'value':_0x1c356f[_0x4ea115(0xc4)][_0x4ea115(0x346)],'label':'docs-shape-ui.textWrap.inFrontText','icon':_0x4ea115(0x27b)}];function _0x18c6c2(){const _0x5abcab=_0x4ea115;let _0x24893d=(0x0,_0x446708[_0x5abcab(0x389)])(_0x5bc1cc[_0x5abcab(0x2db)]),_0x3e2537=(0x0,_0x446708[_0x5abcab(0x389)])(_0x3cf577[_0x5abcab(0x214)]),_0x3743a2=(0x0,_0x446708[_0x5abcab(0x389)])(_0x1897fd[_0x5abcab(0x293)]),_0x51fbb5=()=>{const _0x3fa43c=_0x5abcab;var _0x10c379;let _0x43c141=_0x3e2537[_0x3fa43c(0x2dd)]();if(_0x43c141[_0x3fa43c(0xbe)]!==0x1||((_0x10c379=_0x43c141[0x0])==null?void 0x0:_0x10c379['drawingType'])!==_0x5bc1cc[_0x3fa43c(0x1c8)]['DRAWING_SHAPE'])return null;let {unitId:_0xd5a7e4,subUnitId:_0x70d538,drawingId:_0x54dc8b}=_0x43c141[0x0],_0x360b45=_0x3743a2['getShapeTypeById'](_0xd5a7e4,_0x70d538,_0x54dc8b),_0x45c46f=_0x3743a2['getShapeDataById'](_0xd5a7e4,_0x70d538,_0x54dc8b);return _0x360b45===void 0x0||!_0x45c46f?null:{'unitId':_0xd5a7e4,'subUnitId':_0x70d538,'drawingId':_0x54dc8b,'shapeType':_0x360b45,'shapeData':_0x45c46f};},_0x318903=(0x0,_0x446708[_0x5abcab(0x1e1)])(()=>new _0x587404['Observable'](_0x1a76d8=>{const _0x21444f=_0x5abcab;let _0x253530=()=>_0x1a76d8['next'](_0x51fbb5()),_0x171836=_0x3e2537['focus$']['subscribe'](_0x253530),_0x3722f6=_0x24893d[_0x21444f(0x1b5)](_0x2a16a2=>{_0x2a16a2['id']===_0x1897fd['UpdateDocShapeDataMutation']['id']&&_0x253530();});return _0x253530(),()=>{const _0x242aa9=_0x21444f;_0x171836[_0x242aa9(0xa2)](),_0x3722f6[_0x242aa9(0x17a)]();};}),_0x51fbb5(),!0x1,[_0x24893d,_0x3743a2,_0x3e2537]);return{'selection':_0x318903,'updateShapeData':_0x1adf82=>{const _0x4448b6=_0x5abcab;_0x318903&&_0x9420a0(_0x24893d,_0x318903['unitId'],_0x318903[_0x4448b6(0x199)],_0x318903['drawingId'],{'oldShapeData':_0x318903[_0x4448b6(0x12e)]},_0x1adf82);}};}function _0x1d84be(){const _0x2ab212=_0x4ea115;let {selection:_0xb8bbca,updateShapeData:_0x54e857}=_0x18c6c2();return _0xb8bbca?(0x0,_0x4b014e[_0x2ab212(0xaa)])(_0x1bc9bf[_0x2ab212(0x19b)],{'shapeData':_0xb8bbca[_0x2ab212(0x12e)],'shapeType':_0xb8bbca[_0x2ab212(0xa3)],'onUpdateShapeData':_0x54e857}):null;}function _0x5f0bda(){const _0x52d555=_0x4ea115;let _0x400c72=(0x0,_0x446708['useDependency'])(_0x5bc1cc[_0x52d555(0x2db)]),_0x1f0cb3=(0x0,_0x446708[_0x52d555(0x389)])(_0x5bc1cc['LocaleService']),{selection:_0x1233df}=_0x18c6c2();return _0x1233df?(0x0,_0x4b014e['jsx'])(_0x1bc9bf[_0x52d555(0x3e0)],{'type':(0x0,_0x535f5e['getShapeQuickStyleType'])(_0x1233df['shapeData']),'ariaLabel':_0x1f0cb3['t'](_0x52d555(0xce)),'activePresetId':(0x0,_0x535f5e[_0x52d555(0x312)])(_0x1233df['shapeData']),'onSelect':_0x592205=>_0x400c72[_0x52d555(0x217)](_0x1af57a['id'],{'presetId':_0x592205})}):null;}function _0x2c2195(){const _0xa185a5=_0x4ea115;let {selection:_0x2021bd,updateShapeData:_0x31e166}=_0x18c6c2();return _0x2021bd?(0x0,_0x4b014e[_0xa185a5(0xaa)])(_0x1bc9bf[_0xa185a5(0x3cf)],{'fontFamilyPopupDataComponent':_0xa185a5(0x357),'shapeData':_0x2021bd[_0xa185a5(0x12e)],'onUpdateShapeData':_0x31e166}):null;}function _0x204deb(){const _0xa17de=_0x4ea115;var _0x16247e;let {selection:_0x24ae5a,updateShapeData:_0x429026}=_0x18c6c2(),_0x4d3785=(0x0,_0x1bc9bf[_0xa17de(0x1d6)])({'hostType':_0x5bc1cc[_0xa17de(0x1ee)]['UNIVER_DOC'],'unitId':(_0x24ae5a==null?void 0x0:_0x24ae5a[_0xa17de(0x18f)])??'','subUnitId':(_0x24ae5a==null?void 0x0:_0x24ae5a[_0xa17de(0x199)])??'','shapeId':(_0x24ae5a==null?void 0x0:_0x24ae5a[_0xa17de(0x408)])??'','shapeData':_0x24ae5a==null?void 0x0:_0x24ae5a[_0xa17de(0x12e)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0xa17de(0x1d9),'onUpdateBinding':_0x40046a=>_0x429026({'formulaBinding':_0x40046a})}),_0x18d07e=((_0x16247e=_0x4d3785[_0xa17de(0x12f)])==null?void 0x0:_0x16247e[_0xa17de(0x2de)](_0x5d8f1f=>_0x5d8f1f['actions'])[_0xa17de(0x2e8)](_0x4764af=>_0x4764af[_0xa17de(0x39e)]!==!0x1))??[];return _0x24ae5a!=null&&_0x24ae5a['shapeData'][_0xa17de(0x1eb)]?(0x0,_0x4b014e[_0xa17de(0xaa)])(_0x1bc9bf[_0xa17de(0x234)],{'actions':_0x18d07e,'panel':_0x4d3785[_0xa17de(0x16d)]}):null;}function _0x231d64({value:_0x1818cb}){const _0xeeaed8=_0x4ea115;let _0x5682f2=(0x0,_0x446708['useDependency'])(_0x5bc1cc[_0xeeaed8(0x243)]),_0xcab9dd=_0x41ab61[_0xeeaed8(0x99)](_0x4d5d27=>_0x4d5d27[_0xeeaed8(0x115)]===_0x1818cb)??_0x41ab61[0x0];return _0xcab9dd?(0x0,_0x4b014e[_0xeeaed8(0xaa)])(_0xeeaed8(0x3f9),{'children':_0x5682f2['t'](_0xcab9dd[_0xeeaed8(0x150)])}):null;}let _0x160de6='docs-shape-ui.ribbon.shape-format.style-control',_0xb0d995='docs-shape-ui.ribbon.shape-format.text-control',_0x29c71b=_0x4ea115(0xab),_0x1efdde=_0x4ea115(0x2e5),_0x5199ec=_0x4ea115(0xf9),_0x556e0e='docs-shape-ui.ribbon.shape-format.arrange-front',_0x44deec=_0x4ea115(0x29e),_0x1650b6='docs-shape-ui.ribbon.shape-format.wrapping-style';function _0xa3ce66(_0x49fb29){const _0x3f24ed=_0x4ea115;let _0x163f8f=_0x49fb29[_0x3f24ed(0x20e)](_0x5bc1cc[_0x3f24ed(0x2db)]),_0xaec77d=_0x49fb29['get'](_0x3cf577[_0x3f24ed(0x214)]),_0x4e5f7c=_0x49fb29['get'](_0x1897fd['DocsShapeService']);return new _0x587404[(_0x3f24ed(0x305))](_0x251215=>{const _0x353483=_0x3f24ed;let _0x29764c=()=>{const _0x2a3fec=_0x9d29;let _0x242b25=_0x574053(_0x49fb29),_0x525e64=_0x242b25?_0x4e5f7c[_0x2a3fec(0x3e9)](_0x242b25[_0x2a3fec(0x18f)],_0x242b25[_0x2a3fec(0x199)],_0x242b25[_0x2a3fec(0x408)]):null;_0x251215[_0x2a3fec(0x3eb)](_0x525e64?(0x0,_0x535f5e[_0x2a3fec(0x312)])(_0x525e64)??'':'');},_0x3925c2=_0xaec77d['focus$']['subscribe'](_0x29764c),_0x620c3a=_0x163f8f[_0x353483(0x1b5)](_0x4a2090=>{_0x4a2090['id']===_0x1897fd['UpdateDocShapeDataMutation']['id']&&_0x29764c();});return _0x29764c(),()=>{const _0x231556=_0x353483;_0x3925c2[_0x231556(0xa2)](),_0x620c3a[_0x231556(0x17a)]();};});}function _0x574053(_0x597733){const _0x3b9409=_0x4ea115;var _0x1a9c29;let _0x4144cb=_0x597733['get'](_0x3cf577[_0x3b9409(0x214)])[_0x3b9409(0x2dd)]();return _0x4144cb[_0x3b9409(0xbe)]===0x1&&((_0x1a9c29=_0x4144cb[0x0])==null?void 0x0:_0x1a9c29[_0x3b9409(0x3a3)])===_0x5bc1cc[_0x3b9409(0x1c8)][_0x3b9409(0x3dc)]?_0x4144cb[0x0]:null;}function _0xfa670c(_0x2bb4cd){const _0x4cc425=_0x4ea115;return(_0x2bb4cd==null?void 0x0:_0x2bb4cd['layoutType'])===_0x5bc1cc[_0x4cc425(0x342)][_0x4cc425(0x36a)]?_0x2bb4cd[_0x4cc425(0x2a2)]===_0x5bc1cc['BooleanNumber'][_0x4cc425(0x1cc)]?_0x1c356f[_0x4cc425(0xc4)][_0x4cc425(0x32a)]:_0x1c356f[_0x4cc425(0xc4)][_0x4cc425(0x346)]:(_0x2bb4cd==null?void 0x0:_0x2bb4cd[_0x4cc425(0x109)])===_0x5bc1cc[_0x4cc425(0x342)]['WRAP_SQUARE']?_0x1c356f['TextWrappingStyle']['WRAP_SQUARE']:(_0x2bb4cd==null?void 0x0:_0x2bb4cd[_0x4cc425(0x109)])===_0x5bc1cc[_0x4cc425(0x342)][_0x4cc425(0x238)]?_0x1c356f[_0x4cc425(0xc4)]['WRAP_TOP_AND_BOTTOM']:_0x1c356f[_0x4cc425(0xc4)][_0x4cc425(0x3e4)];}function _0x43e11e(_0x55ea3a){const _0x4f8832=_0x4ea115;let _0x28cc12=_0x55ea3a[_0x4f8832(0x20e)](_0x5bc1cc['ICommandService']),_0x1f49c2=_0x55ea3a['get'](_0x3cf577['IDrawingManagerService']),_0x3e1d20=_0x55ea3a[_0x4f8832(0x20e)](_0x5bc1cc[_0x4f8832(0x18e)]);return new _0x587404[(_0x4f8832(0x305))](_0x83f016=>{const _0x373f07=_0x4f8832;let _0x1c0b1a=()=>{const _0x5a8d78=_0x9d29;var _0x3fbaaf;let _0x3e8dc3=_0x574053(_0x55ea3a),_0x47914a=_0x3e8dc3?_0x3e1d20[_0x5a8d78(0x1f8)](_0x3e8dc3['unitId'],_0x5bc1cc[_0x5a8d78(0x1ee)][_0x5a8d78(0x310)]):void 0x0;_0x83f016[_0x5a8d78(0x3eb)](_0xfa670c(_0x3e8dc3?_0x47914a==null||(_0x3fbaaf=_0x47914a['getSnapshot']()['drawings'])==null?void 0x0:_0x3fbaaf[_0x3e8dc3[_0x5a8d78(0x408)]]:void 0x0));},_0x303430=_0x1f49c2[_0x373f07(0x2ff)][_0x373f07(0x3a6)](_0x1c0b1a),_0x320020=_0x28cc12[_0x373f07(0x1b5)](_0x2b21ec=>{const _0x1ed83e=_0x373f07;_0x2b21ec['id']===_0x42aa76[_0x1ed83e(0x264)]['id']&&_0x1c0b1a();});return _0x1c0b1a(),()=>{const _0x296c9f=_0x373f07;_0x303430[_0x296c9f(0xa2)](),_0x320020[_0x296c9f(0x17a)]();};})[_0x4f8832(0x335)]((0x0,_0x587404[_0x4f8832(0x19a)])());}function _0x3a29c6(_0xd37295,_0xfd881b=!0x1){const _0x51a946=_0x4ea115;let _0x3a05ba=_0xd37295['get'](_0x5bc1cc[_0x51a946(0x2db)]),_0x1969c4=_0xd37295[_0x51a946(0x20e)](_0x3cf577[_0x51a946(0x214)]),_0x4c68b8=_0xd37295['get'](_0x1897fd[_0x51a946(0x293)]);return new _0x587404[(_0x51a946(0x305))](_0x24cbe6=>{const _0x535916=_0x51a946;let _0x47862b=()=>{const _0x16a21b=_0x9d29;let _0x1946c3=_0x574053(_0xd37295);if(!_0x1946c3){_0x24cbe6[_0x16a21b(0x3eb)](!0x0);return;}let _0x4c806d=_0x4c68b8[_0x16a21b(0x3e9)](_0x1946c3[_0x16a21b(0x18f)],_0x1946c3[_0x16a21b(0x199)],_0x1946c3[_0x16a21b(0x408)]);_0x24cbe6[_0x16a21b(0x3eb)](!_0x4c806d||_0xfd881b&&_0x4c806d[_0x16a21b(0x1eb)]==null);},_0x380b95=_0x1969c4[_0x535916(0x2ff)][_0x535916(0x3a6)](_0x47862b),_0x1c0277=_0x3a05ba[_0x535916(0x1b5)](_0x354773=>{const _0x3c943d=_0x535916;_0x354773['id']===_0x1897fd[_0x3c943d(0x130)]['id']&&_0x47862b();});return _0x47862b(),()=>{const _0x11f837=_0x535916;_0x380b95[_0x11f837(0xa2)](),_0x1c0277[_0x11f837(0x17a)]();};});}function _0x5d444e(_0x5ead46){const _0x231c7e=_0x4ea115;let _0x1e0161=_0x5ead46[_0x231c7e(0x20e)](_0x3cf577['IDrawingManagerService']),_0x33a53d=_0x5ead46[_0x231c7e(0x20e)](_0x1897fd[_0x231c7e(0x293)]);return _0x1e0161[_0x231c7e(0x2ff)]['pipe']((0x0,_0x587404['startWith'])(_0x1e0161[_0x231c7e(0x2dd)]()),(0x0,_0x587404[_0x231c7e(0x3ca)])(()=>{const _0x387db5=_0x231c7e;let _0x8707ce=_0x574053(_0x5ead46),_0x236d57=_0x8707ce?_0x33a53d[_0x387db5(0xc8)](_0x8707ce[_0x387db5(0x18f)],_0x8707ce[_0x387db5(0x199)],_0x8707ce[_0x387db5(0x408)]):void 0x0;return _0x236d57===void 0x0||(0x0,_0x349291[_0x387db5(0x2d6)])(_0x236d57);}));}function _0xc49d7a(_0x2c1f51){const _0x1fdff3=_0x4ea115;return{'id':_0x1af57a['id'],'type':_0x446708[_0x1fdff3(0x367)][_0x1fdff3(0x10d)],'icon':_0x1fdff3(0x2c4),'title':_0x1fdff3(0x128),'tooltip':_0x1fdff3(0x128),'selections':[{'label':{'name':_0x205f1c,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0xa3ce66(_0x2c1f51),'hidden$':_0x3a29c6(_0x2c1f51)};}function _0x57c6e9(_0x153aab){const _0x32141f=_0x4ea115;return{'id':_0x33e271['id'],'type':_0x446708['MenuItemType']['SELECTOR'],'icon':_0x32141f(0x344),'title':_0x32141f(0x3cb),'tooltip':'shape-editor-ui.toolbar.changeShape','slot':!0x0,'selections':[{'label':{'name':_0x1bc9bf['SHAPE_CHANGE_PICKER_COMPONENT'],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x5d444e(_0x153aab)};}function _0x15752e(_0x3df071,_0x80a18c,_0x3c7cd1=!0x1){const _0x4a9583=_0x4ea115;return _0xc404be=>({'id':_0x3df071,'type':_0x446708[_0x4a9583(0x367)]['BUTTON'],'label':{'name':_0x80a18c,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x3a29c6(_0xc404be,_0x3c7cd1)});}let _0x55e340=_0x15752e(_0x160de6,_0x9bb98f),_0xaea9dd=_0x15752e(_0xb0d995,_0xcb0280),_0x355d75=_0x15752e(_0x29c71b,_0x5c919f,!0x0);function _0x126119(_0x48bca4){const _0x18404c=_0x4ea115;return{'id':_0x1650b6,'type':_0x446708[_0x18404c(0x367)][_0x18404c(0x10d)],'icon':_0x41ab61[0x0][_0x18404c(0x32b)],'label':_0x2dab50,'selectionsCommandId':_0x1c356f[_0x18404c(0x2fc)]['id'],'selections':_0x41ab61[_0x18404c(0x3ca)](({icon:_0x41cd82,label:_0xdf3dd7,value:_0x24b949})=>({'value':_0x24b949,'label':_0xdf3dd7,'icon':_0x41cd82,'params':()=>{const _0x5ecea1=_0x18404c;let _0x455543=_0x574053(_0x48bca4);return _0x455543?{'unitId':_0x455543['unitId'],'subUnitId':_0x455543[_0x5ecea1(0x199)],'drawings':[{'unitId':_0x455543['unitId'],'subUnitId':_0x455543[_0x5ecea1(0x199)],'drawingId':_0x455543[_0x5ecea1(0x408)]}],'wrappingStyle':_0x24b949}:void 0x0;}})),'value$':_0x43e11e(_0x48bca4),'hidden$':_0x3a29c6(_0x48bca4)};}function _0x624f7a(_0x335458,_0x4e3322,_0x297086,_0x27868e){const _0x2a9e6c=_0x4ea115;return _0x14c040=>({'id':_0x335458,'commandId':_0x1c356f[_0x2a9e6c(0x231)]['id'],'type':_0x446708[_0x2a9e6c(0x367)][_0x2a9e6c(0x398)],'icon':_0x297086,'title':_0x27868e,'tooltip':_0x27868e,'hidden$':_0x3a29c6(_0x14c040),'params':()=>{const _0x16ae6a=_0x2a9e6c;let _0x379dd8=_0x574053(_0x14c040);return _0x379dd8?{'unitId':_0x379dd8[_0x16ae6a(0x18f)],'subUnitId':_0x379dd8[_0x16ae6a(0x199)],'drawingIds':[_0x379dd8['drawingId']],'arrangeType':_0x4e3322}:void 0x0;}});}let _0xabfc7=_0x624f7a(_0x1efdde,_0x5bc1cc[_0x4ea115(0x3c0)]['forward'],_0x4ea115(0x393),_0x4ea115(0x2b9)),_0x104ba9=_0x624f7a(_0x5199ec,_0x5bc1cc['ArrangeTypeEnum'][_0x4ea115(0x2e2)],'MoveDownIcon',_0x4ea115(0x151)),_0x4dd57e=_0x624f7a(_0x556e0e,_0x5bc1cc[_0x4ea115(0x3c0)][_0x4ea115(0x1ca)],_0x4ea115(0x3c5),_0x4ea115(0xb2)),_0xe89930=_0x624f7a(_0x44deec,_0x5bc1cc[_0x4ea115(0x3c0)][_0x4ea115(0x116)],_0x4ea115(0x401),'shape-editor-ui.arrange.back');function _0x36c35d(_0xd8b67){const _0x310bff=_0x4ea115;return{'id':_0x5a08b9['id'],'type':_0x446708[_0x310bff(0x367)][_0x310bff(0x398)],'icon':_0x310bff(0x2a4),'title':_0x310bff(0xa7),'tooltip':_0x310bff(0xa7),'hidden$':_0x3a29c6(_0xd8b67),'params':()=>{const _0x239f88=_0x310bff;let _0x5a6af6=_0x574053(_0xd8b67);return _0x5a6af6?{'unitId':_0x5a6af6['unitId'],'subUnitId':_0x5a6af6[_0x239f88(0x199)],'drawingId':_0x5a6af6[_0x239f88(0x408)]}:void 0x0;}};}let _0x296b2a={[_0x446708[_0x4ea115(0x3bf)]['RIBBON']]:{[_0x3a28ca]:{'order':0x64,'title':_0x4ea115(0xa7),'contextual':!0x0,'docs-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x1af57a['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0xc49d7a},[_0x33e271['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x57c6e9}},'docs-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x160de6]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x55e340}},'docs-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0xb0d995]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0xaea9dd}},'docs-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x1650b6]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'columnSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x126119},[_0x1efdde]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0xabfc7},[_0x5199ec]:{'order':0x2,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x104ba9},[_0x556e0e]:{'order':0x3,'gridLayout':{'row':0x1,'column':0x4},'menuItemFactory':_0x4dd57e},[_0x44deec]:{'order':0x4,'gridLayout':{'row':0x2,'column':0x4},'menuItemFactory':_0xe89930}},'docs-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x29c71b]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x355d75}},'docs-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x5a08b9['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x36c35d},[_0x1bc9bf['ToggleShapeFloatingToolbarOperation']['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x1bc9bf[_0x4ea115(0x3c1)]}}}}},_0x2b9f36={[_0x446708['RibbonInsertGroup']['MEDIA']]:{[_0x59105c['id']]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x37dbad=>({..._0x229060(_0x37dbad),'title':void 0x0})}},[_0x446708[_0x4ea115(0x25d)][_0x4ea115(0x26b)]]:{[_0x28b9a9['id']]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x2,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x3ca1c8}},[_0x446708['ContextMenuPosition'][_0x4ea115(0x258)]]:{[_0x446708['ContextMenuGroup'][_0x4ea115(0x120)]]:{[_0x341d83[_0x4ea115(0x14c)]]:{[_0x59105c['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x5e545b}}},[_0x341d83['DOC_CONTENT_INSERT_MENU_ID']]:{[_0x446708[_0x4ea115(0x1b3)][_0x4ea115(0x120)]]:{[_0x59105c['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x5e545b}}},[_0x341d83[_0x4ea115(0x2b5)]]:{[_0x446708['ContextMenuGroup'][_0x4ea115(0x120)]]:{[_0x59105c['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x485714}}},[_0x341d83[_0x4ea115(0x12d)]]:{'insert':{[_0x59105c['id']]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x229060}}},[_0x341d83['DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID']]:{'insert':{[_0x59105c['id']+_0x4ea115(0x2ba)]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x5e545b}}}}};var _0x25865a='@univerjs-pro/docs-shape-ui',_0x44d234=_0x4ea115(0x206);let _0x181065={'type':_0x5bc1cc['CommandType'][_0x4ea115(0x1b0)],'id':_0x4ea115(0x1a4),'handler'(){return!0x0;}},_0x3f849b=_0x4ea115(0x154),_0xd4dc79={};function _0x2b6523(_0x285b3e){'@babel/helpers - typeof';const _0x4673ed=_0x4ea115;return _0x2b6523=typeof Symbol==_0x4673ed(0x2ad)&&typeof Symbol[_0x4673ed(0x21f)]==_0x4673ed(0x2e9)?function(_0xd5bddc){return typeof _0xd5bddc;}:function(_0x321bb0){const _0x2591fc=_0x4673ed;return _0x321bb0&&typeof Symbol==_0x2591fc(0x2ad)&&_0x321bb0[_0x2591fc(0x2be)]===Symbol&&_0x321bb0!==Symbol[_0x2591fc(0x139)]?_0x2591fc(0x2e9):typeof _0x321bb0;},_0x2b6523(_0x285b3e);}function _0x259ec8(_0x487b06,_0x59493d){const _0x50acf1=_0x4ea115;if(_0x2b6523(_0x487b06)!=_0x50acf1(0x3de)||!_0x487b06)return _0x487b06;var _0x4281b4=_0x487b06[Symbol[_0x50acf1(0x38e)]];if(_0x4281b4!==void 0x0){var _0x4f4864=_0x4281b4[_0x50acf1(0x31e)](_0x487b06,_0x59493d||_0x50acf1(0x29a));if(_0x2b6523(_0x4f4864)!=_0x50acf1(0x3de))return _0x4f4864;throw TypeError(_0x50acf1(0x1df));}return(_0x59493d===_0x50acf1(0x146)?String:Number)(_0x487b06);}function _0x16242f(_0x1e2062){const _0x4904e1=_0x4ea115;var _0x351365=_0x259ec8(_0x1e2062,_0x4904e1(0x146));return _0x2b6523(_0x351365)=='symbol'?_0x351365:_0x351365+'';}function _0x128b9e(_0xe901bc,_0x8769a6,_0x442b1b){const _0x5c3370=_0x4ea115;return(_0x8769a6=_0x16242f(_0x8769a6))in _0xe901bc?Object[_0x5c3370(0x2b6)](_0xe901bc,_0x8769a6,{'value':_0x442b1b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xe901bc[_0x8769a6]=_0x442b1b,_0xe901bc;}var _0x5c2dc0=class extends _0x24aff0[_0x4ea115(0x21a)]{constructor(_0x3dacb4,_0x20304a){const _0x2b705b=_0x4ea115;super(_0x3dacb4,_0x20304a),_0x128b9e(this,_0x2b705b(0x20c),null),_0x128b9e(this,_0x2b705b(0x22e),null),_0x128b9e(this,_0x2b705b(0x19e),null),_0x128b9e(this,_0x2b705b(0x40a),null),_0x20304a&&this['setShapeProps'](_0x20304a);}['getDrawingSearch'](){const _0x344d4e=_0x4ea115;return{'unitId':this[_0x344d4e(0x19e)],'subUnitId':this[_0x344d4e(0x40a)],'drawingId':this[_0x344d4e(0x20c)]};}[_0x4ea115(0x30f)](_0x3a0c22){const _0x30d473=_0x4ea115;_0x3a0c22[_0x30d473(0x392)]!==void 0x0&&(this[_0x30d473(0x20c)]=_0x3a0c22['shapeId']),_0x3a0c22[_0x30d473(0x2f6)]!==void 0x0&&(this[_0x30d473(0x22e)]=_0x3a0c22['adjName']),_0x3a0c22[_0x30d473(0x18f)]!==void 0x0&&(this[_0x30d473(0x19e)]=_0x3a0c22[_0x30d473(0x18f)]),_0x3a0c22[_0x30d473(0x199)]!==void 0x0&&(this[_0x30d473(0x40a)]=_0x3a0c22[_0x30d473(0x199)]),this['transformByState']({'width':_0x3a0c22['width'],'height':_0x3a0c22[_0x30d473(0x37b)]});}['_draw'](_0x293f21){const _0x10854e=_0x4ea115;_0x24aff0['Circle'][_0x10854e(0x155)](_0x293f21,{'radius':_0x349291[_0x10854e(0x1f3)][_0x10854e(0x1ef)],'fill':_0x349291['ShapeDefaultConfig'][_0x10854e(0x36d)],'stroke':_0x349291[_0x10854e(0x1f3)]['adjHandleStroke'],'strokeWidth':0x1,'evented':!0x0});}};function _0x2df64e(_0x18183a,_0x3bca0b,_0xfb8059){const _0x4c69b7=_0x4ea115;let _0x1ffe3a={..._0x3bca0b,'dataModel':{..._0x3bca0b[_0x4c69b7(0x267)]??{},..._0xfb8059?{'doc':_0xfb8059}:null}},_0x2aaba2=(0x0,_0x1bc9bf[_0x4c69b7(0x2ee)])(_0x18183a,_0x1ffe3a),_0x2b3339=(0x0,_0x1bc9bf[_0x4c69b7(0x384)])(_0x2aaba2);return{'clip':(0x0,_0x1bc9bf['shouldClipShapeTextDocument'])(_0x2aaba2,_0x2b3339),'wrapStrategy':_0x2b3339};}var _0x49294f=class extends _0x24aff0[_0x4ea115(0x21a)]{constructor(_0x323df0,_0x40075b){const _0xcb749a=_0x4ea115;super(_0x323df0,_0x40075b),_0x128b9e(this,_0xcb749a(0x404),void 0x0),_0x128b9e(this,_0xcb749a(0x169),new _0x1bc9bf['FormulaShapeAnimationController'](()=>this[_0xcb749a(0x2cc)](!0x0),()=>this[_0xcb749a(0x2ed)]())),_0x128b9e(this,_0xcb749a(0x157),!0x0),_0x128b9e(this,'_drawingType',_0x5bc1cc[_0xcb749a(0x1c8)][_0xcb749a(0x3dc)]),_0x128b9e(this,_0xcb749a(0x297),!0x0),this[_0xcb749a(0x404)]={..._0x40075b},this['_formulaAnimation'][_0xcb749a(0x309)](_0x40075b[_0xcb749a(0x222)],_0x40075b[_0xcb749a(0xa0)]!==!0x1),this[_0xcb749a(0x270)](),this[_0xcb749a(0x2ed)]();}[_0x4ea115(0x270)](){this['onTransformChange$']['subscribeEvent'](_0x2e8923=>{this['_updateSrcRectByTransform'](_0x2e8923);});}['setPrstGeom'](_0x31df1e){const _0x13acd0=_0x4ea115;this[_0x13acd0(0x404)][_0x13acd0(0x2d4)]=_0x31df1e;}[_0x4ea115(0x18a)](_0x39e852){const _0x4cdbe5=_0x4ea115;this['_props'][_0x4cdbe5(0x378)]=_0x39e852,this[_0x4cdbe5(0x2cc)](!0x0);}[_0x4ea115(0xdd)](_0x2c110e,_0x424316=!0x0){const _0x5c7395=_0x4ea115;this['_formulaAnimation']['setPresentation'](_0x2c110e,_0x424316),this[_0x5c7395(0x404)]['formulaPresentation']=_0x2c110e,this[_0x5c7395(0x2ed)](),this['makeDirty'](!0x0);}[_0x4ea115(0x2ed)](){const _0x4acd28=_0x4ea115;let _0x9ebe49=this['_props'][_0x4acd28(0xf5)],_0x439004=_0x9ebe49[_0x4acd28(0x3b4)](),_0xb1bdcc=(0x0,_0x1bc9bf[_0x4acd28(0x232)])(_0x439004==null?void 0x0:_0x439004[_0x4acd28(0x267)]),_0x1e902e=_0xb1bdcc==null?void 0x0:_0xb1bdcc[_0x4acd28(0x262)],_0x510ef7=this[_0x4acd28(0x169)][_0x4acd28(0x17c)]();if(!_0x1e902e||_0x510ef7['length']===0x0)return;_0x9ebe49[_0x4acd28(0x178)]({'width':this[_0x4acd28(0xfb)],'height':this[_0x4acd28(0x37b)]});let _0x405d75=(0x0,_0x1bc9bf[_0x4acd28(0x292)])({'documentData':_0x510ef7[_0x4acd28(0x3ca)](_0x15fa9c=>(0x0,_0x535f5e[_0x4acd28(0x3a5)])(_0x1e902e,_0x15fa9c)),'height':this[_0x4acd28(0x37b)],'shapeData':_0x9ebe49['getShapeData'](),'textRect':_0x9ebe49[_0x4acd28(0x317)]({'left':0x0,'top':0x0,'width':this[_0x4acd28(0xfb)],'height':this[_0x4acd28(0x37b)]}),'width':this[_0x4acd28(0xfb)]});if(_0x405d75){var _0x43d643;this[_0x4acd28(0xd6)](_0x405d75[_0x4acd28(0xfb)],_0x405d75[_0x4acd28(0x37b)]),(_0x43d643=this['getScene']())==null||(_0x43d643=_0x43d643['getTransformer']())==null||_0x43d643[_0x4acd28(0x173)]();}}get[_0x4ea115(0x18f)](){const _0x21792e=_0x4ea115;return this[_0x21792e(0x404)][_0x21792e(0x18f)];}get[_0x4ea115(0x199)](){const _0x2ba5c7=_0x4ea115;return this['_props'][_0x2ba5c7(0x199)];}[_0x4ea115(0x254)](_0x92fa79){const _0x4625e2=_0x4ea115;if(this['_props'][_0x4625e2(0x1c4)]==null||!this['_transformCalculateSrcRect'])return;let {width:_0x37f5b9,height:_0x13b0ab}=this,{width:_0x3bec25=0x0,height:_0x5cb536=0x0}=_0x92fa79[_0x4625e2(0x2bb)],{left:_0x4620ed=0x0,top:_0x28bc92=0x0,right:_0x1337f4=0x0,bottom:_0xc0e361=0x0}=this[_0x4625e2(0x404)][_0x4625e2(0x1c4)],_0x380a1d=_0x4620ed,_0x2b36ff=_0x28bc92,_0x531811=_0x1337f4,_0x37e760=_0xc0e361,_0x29471b=!0x1;if(_0x3bec25!==0x0&&_0x3bec25!==_0x37f5b9){let _0x44defa=_0x4620ed/_0x3bec25,_0x40d7b3=_0x1337f4/_0x3bec25;_0x380a1d=_0x37f5b9*_0x44defa,_0x531811=_0x37f5b9*_0x40d7b3,_0x29471b=!0x0;}if(_0x5cb536!==0x0&&_0x5cb536!==_0x13b0ab){let _0x124528=_0x28bc92/_0x5cb536,_0x32223a=_0xc0e361/_0x5cb536;_0x2b36ff=_0x13b0ab*_0x124528,_0x37e760=_0x13b0ab*_0x32223a,_0x29471b=!0x0;}_0x29471b&&this['setSrcRect']({'left':_0x380a1d,'top':_0x2b36ff,'right':_0x531811,'bottom':_0x37e760});}[_0x4ea115(0x1c3)](_0x487c13){const _0x29dd0b=_0x4ea115;this[_0x29dd0b(0x404)][_0x29dd0b(0x1c4)]=_0x487c13,this[_0x29dd0b(0x2cc)](!0x0);}[_0x4ea115(0x2e4)](_0x420731){const _0x3ca033=_0x4ea115;this['_props']['image']=_0x420731,this[_0x3ca033(0x2cc)](!0x0);}set[_0x4ea115(0x2eb)](_0x2de7e3){this['_transform']=_0x2de7e3;}get[_0x4ea115(0x2eb)](){const _0x5b38ef=_0x4ea115;this['_transform']||this[_0x5b38ef(0x339)]();let _0x5d4d7b=this[_0x5b38ef(0x383)][_0x5b38ef(0x1b1)]();return this[_0x5b38ef(0x1d5)](_0x5d4d7b);}get[_0x4ea115(0xf5)](){const _0x35903b=_0x4ea115;return this['_props'][_0x35903b(0xf5)];}get[_0x4ea115(0x392)](){const _0x4cfaa5=_0x4ea115;return this[_0x4cfaa5(0x404)][_0x4cfaa5(0x392)];}get[_0x4ea115(0x2a6)](){const _0x31de80=_0x4ea115;return _0x24aff0[_0x31de80(0x376)]['SHAPE'];}[_0x4ea115(0x218)](_0x1c634c,_0x315752,_0x291067,_0x4df0fb){const _0x29f2ab=_0x4ea115;let _0x58a5bf=this['_props'][_0x29f2ab(0xf5)];if(!_0x58a5bf||!_0x315752)return;let _0x25c2a1=_0x291067??this[_0x29f2ab(0xfb)],_0x595ce2=_0x4df0fb??this['height'],_0x4fc57c={'shapeType':_0x58a5bf['getShapeType'](),'width':_0x25c2a1,'height':_0x595ce2},_0x53d9c8={'renderMode':_0x349291[_0x29f2ab(0x381)][_0x29f2ab(0x2ce)],'oKey':this[_0x29f2ab(0x23f)],'image':this['_props'][_0x29f2ab(0x2c7)],'angle':this['angle']};_0x58a5bf[_0x29f2ab(0x178)](_0x4fc57c),_0x1c634c[_0x29f2ab(0x2da)]();let _0x33e7a2={'top':0x0,'left':0x0,'width':_0x25c2a1,'height':_0x595ce2},_0x2d8f29=_0x58a5bf[_0x29f2ab(0x3b3)](_0x33e7a2);_0x2d8f29?this[_0x29f2ab(0x311)](_0x1c634c,_0x2d8f29,_0x5dac1d=>{const _0x54fd63=_0x29f2ab;_0x58a5bf[_0x54fd63(0x396)](_0x5dac1d,_0x33e7a2,_0x53d9c8);}):(this[_0x29f2ab(0x136)](),_0x58a5bf['render'](_0x1c634c,_0x33e7a2,_0x53d9c8)),_0x1c634c[_0x29f2ab(0xcc)]();let _0x255be3=_0x58a5bf[_0x29f2ab(0x3b4)](),_0x5b54b6=_0x58a5bf[_0x29f2ab(0x317)](_0x33e7a2),_0xb4c75d=_0x58a5bf[_0x29f2ab(0x124)]();if(_0x255be3&&_0x5b54b6&&!_0xb4c75d){_0x1c634c[_0x29f2ab(0x2da)](),this['getState']()['flipX']&&_0x1c634c[_0x29f2ab(0x11d)](-0x1,0x1);let _0x76a40f=_0x25c2a1/0x2,_0x1e92e8=_0x595ce2/0x2;_0x1c634c[_0x29f2ab(0x1a7)](-_0x76a40f,-_0x1e92e8),_0x1c634c[_0x29f2ab(0x347)](),this['_drawShapeText'](_0x1c634c,_0x255be3,_0x5b54b6),_0x1c634c['restore']();}}['getDrawingPoints'](_0x1812c6){}['_drawShapeText'](_0x335d59,_0x3e948a,_0x5e5292){const _0x12d756=_0x4ea115;var _0x485b78;this[_0x12d756(0x404)]['isEditing']||(!((_0x485b78=_0x3e948a[_0x12d756(0x267)])!=null&&_0x485b78[_0x12d756(0x262)])&&'isRichText'in _0x3e948a&&_0x3e948a[_0x12d756(0x1e2)]===!0x1?this[_0x12d756(0x34a)](_0x335d59,_0x3e948a,_0x5e5292):this[_0x12d756(0xc7)](_0x335d59,_0x3e948a,_0x5e5292));}['_drawSimpleText'](_0x1bbb4a,_0x34d807,_0x58bf5b){const _0x514652=_0x4ea115;this[_0x514652(0xc7)](_0x1bbb4a,{..._0x34d807,'text':_0x34d807[_0x514652(0x3e5)]??'','dataModel':{'doc':(0x0,_0x1bc9bf[_0x514652(0x327)])(_0x34d807,_0x514652(0x18c)+this[_0x514652(0x23f)])}},_0x58bf5b);}[_0x4ea115(0xc7)](_0x5d417e,_0x520f43,_0x1bdde2){const _0x5ed1b4=_0x4ea115;(0x0,_0x1bc9bf['drawFormulaShapeAnimationLayers'])(_0x5d417e,this[_0x5ed1b4(0x169)],(_0x3356b8,_0xad3695)=>{const _0x4aa527=_0x5ed1b4;this[_0x4aa527(0x358)](_0x3356b8,_0x520f43,_0x1bdde2,_0xad3695);});}[_0x4ea115(0x358)](_0x357bc8,_0x755653,_0x283398,_0x385cca){const _0x49be24=_0x4ea115;let _0x365994=this[_0x49be24(0x404)][_0x49be24(0x148)];if(!_0x755653['dataModel']||!_0x365994){_0x365994||console[_0x49be24(0x17e)](_0x49be24(0x330));return;}let _0x5a2391=(0x0,_0x1bc9bf[_0x49be24(0x232)])(_0x755653[_0x49be24(0x267)]);if(!_0x5a2391)return;let _0x131460=_0x5a2391['doc'];if(!_0x131460)return;let _0x490410=(0x0,_0x535f5e[_0x49be24(0x3a5)])(_0x131460,_0x385cca),_0x49234e=_0x5a2391['va']??_0x5bc1cc['VerticalAlign'][_0x49be24(0x13e)],_0x57bebc=_0x5a2391['ha']??_0x5bc1cc[_0x49be24(0x3cc)]['LEFT'],_0x36719c=_0x2df64e(this[_0x49be24(0x404)]['shapeModel'][_0x49be24(0x165)](),_0x755653,_0x490410),_0x41974d=_0x755653[_0x49be24(0x1fb)],_0x1b1732=(0x0,_0x1bc9bf[_0x49be24(0x269)])(_0x490410,{'isHorizontal':_0x41974d!==!0x1,'textRect':_0x283398,'verticalAlign':_0x49234e,'horizontalAlign':_0x57bebc,'wrapStrategy':_0x36719c[_0x49be24(0x255)]}),_0x36cb68=new _0x5bc1cc[(_0x49be24(0x14f))](_0x1b1732),_0x2f3da5=new _0x24aff0[(_0x49be24(0xd5))](_0x36cb68),_0x5324bf=_0x24aff0[_0x49be24(0x129)]['create'](_0x2f3da5,_0x365994);_0x5324bf[_0x49be24(0x324)]();let _0xd38d5d=_0x5324bf[_0x49be24(0x11a)]()[_0x49be24(0x132)],_0x527076=(0x0,_0x1bc9bf[_0x49be24(0x313)])({'contentHeight':_0xd38d5d,'verticalAlign':_0x49234e,'viewportHeight':_0x283398[_0x49be24(0x37b)]});_0x36cb68[_0x49be24(0x306)]({'pageSize':{'width':_0x41974d===!0x1?_0x283398[_0x49be24(0x37b)]:_0x283398[_0x49be24(0xfb)],'height':(0x0,_0x1bc9bf['resolveShapeTextDocumentPageHeight'])(_0x490410,_0x527076[_0x49be24(0x226)])}}),_0x36cb68['updateDocumentDataMargin']({'t':_0x527076[_0x49be24(0x1fc)]}),_0x5324bf['calculate']();let _0x2e002b=new _0x24aff0[(_0x49be24(0x31c))](_0x49be24(0x39a)+this[_0x49be24(0x23f)],_0x5324bf,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x49be24(0x2cc)](!0x0)});_0x2e002b[_0x49be24(0xd6)](_0x283398[_0x49be24(0xfb)],_0x527076[_0x49be24(0x226)]),_0x357bc8[_0x49be24(0x2da)](),_0x357bc8[_0x49be24(0x1ad)](_0x283398[_0x49be24(0x131)],_0x283398[_0x49be24(0x304)]),_0x36719c[_0x49be24(0x307)]&&(_0x357bc8[_0x49be24(0x347)](),_0x357bc8[_0x49be24(0x1db)](0x0,_0x527076[_0x49be24(0x100)],_0x283398['width'],_0x527076[_0x49be24(0x3e8)]),_0x357bc8[_0x49be24(0x307)]()),_0x527076[_0x49be24(0x3ae)]&&_0x357bc8[_0x49be24(0x1ad)](0x0,_0x527076[_0x49be24(0x3ae)]),_0x2e002b[_0x49be24(0x257)](_0x357bc8),_0x357bc8['restore'](),_0x2e002b[_0x49be24(0x17a)](),_0x5324bf[_0x49be24(0x17a)](),_0x2f3da5[_0x49be24(0x17a)](),_0x36cb68['dispose']();}[_0x4ea115(0x396)](_0x39bb9b,_0x17bc3c,_0xec0343=!0x1){const _0x5b6d9f=_0x4ea115;if(!this[_0x5b6d9f(0x39e)])return this[_0x5b6d9f(0x2cc)](!0x1),this;let {width:_0x3c1853,height:_0x5ae4df,left:_0x1106e5,top:_0x459f76}=this,_0x2b7353=this['getRealBound']();if(_0x3c1853=_0x2b7353['width'],_0x5ae4df=_0x2b7353[_0x5b6d9f(0x37b)],_0x1106e5=_0x2b7353[_0x5b6d9f(0x131)],_0x459f76=_0x2b7353['top'],this[_0x5b6d9f(0x1f0)](_0x17bc3c)){let {top:_0x45c14d,left:_0x539136,bottom:_0x5459a3,right:_0xa9dcf6}=_0x17bc3c[_0x5b6d9f(0x3a9)];if(_0x3c1853+this[_0x5b6d9f(0x403)]+_0x1106e5<_0x539136||_0xa9dcf6<_0x1106e5||_0x5ae4df+this[_0x5b6d9f(0x403)]+_0x459f76<_0x45c14d||_0x5459a3<_0x459f76)return this;}let _0x5b2aba=_0x1106e5+_0x3c1853/0x2,_0x333f09=_0x459f76+_0x5ae4df/0x2,_0x2433f8=this[_0x5b6d9f(0x2eb)][_0x5b6d9f(0x1dd)]();if(this[_0x5b6d9f(0x404)][_0x5b6d9f(0x378)]){let _0x10aeac=this['getState'](),_0x1282c6=new _0x24aff0[(_0x5b6d9f(0xd4))]();_0x1282c6[_0x5b6d9f(0x3b8)]({..._0x10aeac}),_0x2433f8=_0x1282c6[_0x5b6d9f(0x1dd)]();}return _0x39bb9b[_0x5b6d9f(0x2da)](),this['_props'][_0x5b6d9f(0xf5)][_0x5b6d9f(0x183)]===!0x0||_0x39bb9b[_0x5b6d9f(0x2eb)](_0x2433f8[0x0],_0x2433f8[0x1],_0x2433f8[0x2],_0x2433f8[0x3],_0x5b2aba,_0x333f09),this[_0x5b6d9f(0x218)](_0x39bb9b,_0x17bc3c,_0x3c1853,_0x5ae4df),_0x39bb9b[_0x5b6d9f(0xcc)](),this['makeDirty'](!0x1),this;}['getInverseCoord'](_0xf02ddf){const _0x206140=_0x4ea115;let {left:_0x4b4192,top:_0x5da89f,width:_0xcd335f,height:_0x393524}=this[_0x206140(0x331)](),_0x1fc4e1=this[_0x206140(0x2eb)]['getMatrix'](),_0x48731e=_0x4b4192+_0xcd335f/0x2,_0x29c189=_0x5da89f+_0x393524/0x2,_0xef7bdb=new _0x24aff0[(_0x206140(0xd4))]([_0x1fc4e1[0x0],_0x1fc4e1[0x1],_0x1fc4e1[0x2],_0x1fc4e1[0x3],_0x48731e,_0x29c189]),_0xf84c26=this['getParent']();return(this[_0x206140(0xf8)]&&(_0xf84c26==null?void 0x0:_0xf84c26['classType'])===_0x24aff0['RENDER_CLASS_TYPE'][_0x206140(0x142)]?_0xf84c26[_0x206140(0x3fb)]['multiply'](_0xef7bdb):_0xef7bdb)['invert']()['applyPoint'](_0xf02ddf);}[_0x4ea115(0xe0)](_0xad239d){const _0x5da1e3=_0x4ea115;let {left:_0x14d7ac,top:_0x33fdd9,width:_0x352cc7,height:_0x1b6b94}=this[_0x5da1e3(0x331)](),_0x4d7fc9=_0x14d7ac+_0x352cc7/0x2,_0x16fed7=_0x33fdd9+_0x1b6b94/0x2,_0x2213bc=this[_0x5da1e3(0x2eb)][_0x5da1e3(0x1dd)](),_0x1ec7c3=new _0x24aff0['Transform']([_0x2213bc[0x0],_0x2213bc[0x1],_0x2213bc[0x2],_0x2213bc[0x3],_0x4d7fc9,_0x16fed7]),_0x5623c6=this[_0x5da1e3(0x15c)](),_0x59289b=(this[_0x5da1e3(0xf8)]&&(_0x5623c6==null?void 0x0:_0x5623c6[_0x5da1e3(0x2a6)])===_0x24aff0[_0x5da1e3(0x376)][_0x5da1e3(0x142)]?_0x5623c6[_0x5da1e3(0x3fb)][_0x5da1e3(0xa5)](_0x1ec7c3):_0x1ec7c3)[_0x5da1e3(0x15f)]()[_0x5da1e3(0x3b2)](_0xad239d),_0x445450=_0x352cc7/0x2,_0x381190=_0x1b6b94/0x2,_0x3de6d2=this['_props'][_0x5da1e3(0xf5)];return _0x3de6d2&&_0x3de6d2[_0x5da1e3(0x124)]()?_0x3de6d2[_0x5da1e3(0x1ba)](_0x59289b['x'],_0x59289b['y'],_0x352cc7,_0x1b6b94):_0x59289b['x']>=-_0x445450-this[_0x5da1e3(0x403)]/0x2&&_0x59289b['x']<=_0x445450+this['strokeWidth']/0x2&&_0x59289b['y']>=-_0x381190-this['strokeWidth']/0x2&&_0x59289b['y']<=_0x381190+this['strokeWidth']/0x2;}['dispose'](){const _0x18ef63=_0x4ea115;this[_0x18ef63(0x169)][_0x18ef63(0x17a)](),this['_props'][_0x18ef63(0xf5)]=null,super[_0x18ef63(0x17a)]();}};let _0x3d330d=class extends _0x5bc1cc['Disposable']{constructor(_0x5af381,_0x3568c9,_0x4304e2,_0x2d830a){const _0x1d7a5b=_0x4ea115;super(),this['_context']=_0x5af381,this[_0x1d7a5b(0x275)]=_0x3568c9,this[_0x1d7a5b(0x3b7)]=_0x4304e2,this[_0x1d7a5b(0xcb)]=_0x2d830a,_0x128b9e(this,_0x1d7a5b(0x1d1),null),_0x128b9e(this,_0x1d7a5b(0x19e),null),_0x128b9e(this,_0x1d7a5b(0x40a),null),_0x128b9e(this,_0x1d7a5b(0x1c7),void 0x0),_0x128b9e(this,_0x1d7a5b(0x127),[]),_0x128b9e(this,'_baseShapeLeft',0x0),_0x128b9e(this,_0x1d7a5b(0x159),0x0),_0x128b9e(this,_0x1d7a5b(0x2af),0x0),_0x128b9e(this,_0x1d7a5b(0xdf),0x0),_0x128b9e(this,'_isStartAdjusting',!0x1),_0x128b9e(this,'_isShouldShowDrawingShapeAdjust',!0x1),_0x128b9e(this,_0x1d7a5b(0x200),void 0x0),_0x128b9e(this,'_activeShapeModel',void 0x0),_0x128b9e(this,_0x1d7a5b(0x1aa),void 0x0),_0x128b9e(this,_0x1d7a5b(0x193),void 0x0),this[_0x1d7a5b(0x180)](),this[_0x1d7a5b(0x160)]();}[_0x4ea115(0xd1)](){this['_clearShapeAdjustControls']();}[_0x4ea115(0x1b8)](){const _0x1747d6=_0x4ea115;this[_0x1747d6(0x212)](!0x0);}[_0x4ea115(0x22a)](_0x28151d,_0x13d9c6,_0x43fcf9){const _0x229213=_0x4ea115;var _0x14d59a;return(_0x14d59a=this['_docsShapeService'][_0x229213(0x189)](_0x28151d,_0x13d9c6,_0x43fcf9))==null?void 0x0:_0x14d59a[_0x229213(0x98)]();}[_0x4ea115(0x9f)](_0x2ee213,_0x3c2450,_0x57112e,_0x4ac5e5){const _0xc44a1=_0x4ea115;var _0x531596;return(_0x531596=this[_0xc44a1(0x3b7)][_0xc44a1(0x189)](_0x2ee213,_0x3c2450,_0x57112e))==null?void 0x0:_0x531596[_0xc44a1(0x1d2)](_0x4ac5e5);}[_0x4ea115(0x369)](){const _0x11bcec=_0x4ea115;return this['_unitId']===null||this['_subUnitId']===null||this['_activeShapeId']===null?null:this['_drawingManagerService'][_0x11bcec(0x3ba)]({'unitId':this[_0x11bcec(0x19e)],'subUnitId':this[_0x11bcec(0x40a)],'drawingId':this[_0x11bcec(0x1d1)]})??null;}[_0x4ea115(0x1a5)](_0x24a552){const _0x25a258=_0x4ea115;if(this[_0x25a258(0x19e)]===null||this[_0x25a258(0x40a)]===null||this[_0x25a258(0x1d1)]===null)return null;let _0x3db5c4=(0x0,_0x3cf577[_0x25a258(0x14a)])({'unitId':this[_0x25a258(0x19e)],'subUnitId':this[_0x25a258(0x40a)],'drawingId':this['_activeShapeId']}),_0x5c3263=_0x24a552['getObjectIncludeInGroup'](_0x3db5c4);return _0x5c3263 instanceof _0x49294f?_0x5c3263:null;}[_0x4ea115(0x3cd)](_0x21018e=!0x1){const _0x30e8de=_0x4ea115;if(this['_unitId']===null||this[_0x30e8de(0x40a)]===null||this[_0x30e8de(0x1d1)]===null)return;let _0xabfe95=this[_0x30e8de(0x369)]();if((_0xabfe95==null?void 0x0:_0xabfe95[_0x30e8de(0x3a3)])!==_0x5bc1cc[_0x30e8de(0x1c8)][_0x30e8de(0x3dc)]||!_0xabfe95[_0x30e8de(0x2eb)])return;let _0x4a8667=this[_0x30e8de(0x3b7)][_0x30e8de(0x189)](this[_0x30e8de(0x19e)],this['_subUnitId'],this['_activeShapeId']);if(!_0x4a8667||_0x4a8667[_0x30e8de(0x124)]())return;let {left:_0x3da2d7=0x0,top:_0x42acf6=0x0,width:_0x1be51b=0x0,height:_0x73c50=0x0,flipX:_0x22e4c1,flipY:_0x5fff69,angle:_0x271903=0x0}=_0xabfe95[_0x30e8de(0x2eb)];(_0x21018e||!this[_0x30e8de(0x1c7)])&&(_0x4a8667[_0x30e8de(0x178)]({'width':_0x1be51b,'height':_0x73c50}),this[_0x30e8de(0x1c7)]=_0x4a8667[_0x30e8de(0x98)]());let _0x287c37=this[_0x30e8de(0x1c7)];if(!(_0x287c37!=null&&_0x287c37[_0x30e8de(0xbe)]))return;let {scene:_0x9dd424}=this[_0x30e8de(0x334)];for(let _0x49a4f7 of _0x287c37){let _0x52fe18=this['_toVisualAdjustPoint'](_0x49a4f7,_0x1be51b,_0x73c50,!!_0x22e4c1,!!_0x5fff69,_0x271903);this['_addShapeAdjustControl'](_0x9dd424,_0x52fe18,_0x52fe18[_0x30e8de(0x2f6)],_0x3da2d7,_0x42acf6,this[_0x30e8de(0x19e)],this['_subUnitId']);}}[_0x4ea115(0x399)](_0x2e4fe2,_0x41d49d,_0x371f9c,_0x2d3853,_0x233a95,_0x3eeb5f){const _0x5141c1=_0x4ea115;let _0x3f7e2c=_0x2e4fe2['x'],_0x26ca91=_0x2e4fe2['y'];if(_0x2d3853&&(_0x3f7e2c=_0x41d49d-_0x3f7e2c),_0x233a95&&(_0x26ca91=_0x371f9c-_0x26ca91),_0x3eeb5f!==0x0){let _0x46454a=_0x41d49d/0x2,_0x5e809b=_0x371f9c/0x2,_0x3ba175=_0x3eeb5f*Math['PI']/0xb4,_0x421241=Math[_0x5141c1(0x3d6)](_0x3ba175),_0x3cb5ce=Math['sin'](_0x3ba175),_0xd3a919=_0x3f7e2c-_0x46454a,_0x41fa4b=_0x26ca91-_0x5e809b;_0x3f7e2c=_0x46454a+(_0xd3a919*_0x421241-_0x41fa4b*_0x3cb5ce),_0x26ca91=_0x5e809b+(_0xd3a919*_0x3cb5ce+_0x41fa4b*_0x421241);}return{'x':_0x3f7e2c,'y':_0x26ca91,'adjName':_0x2e4fe2[_0x5141c1(0x2f6)]};}['_updateShapeAdjustControls'](_0x317c43=!0x1){const _0x20b414=_0x4ea115;_0x317c43&&this[_0x20b414(0x225)](),this['_createShapeAdjustControls'](_0x317c43);}[_0x4ea115(0x2fd)](_0x586009,_0x5f5c5c,_0x307642,_0x26ee65,_0x301c60,_0x210861,_0x1a1022){const _0x2f6807=_0x4ea115;if(!this[_0x2f6807(0x1d1)])return;let _0x19a118='doc-shape-adjust-point-'+this[_0x2f6807(0x1d1)]+'-'+_0x307642,_0x53aeaf=_0x586009['getObjectIncludeInGroup'](_0x19a118);if(_0x53aeaf){_0x53aeaf['transformByState']({'left':_0x5f5c5c['x']+_0x26ee65-_0x349291['ShapeDefaultConfig'][_0x2f6807(0x1ef)],'top':_0x5f5c5c['y']+_0x301c60-_0x349291['ShapeDefaultConfig'][_0x2f6807(0x1ef)]}),_0x53aeaf[_0x2f6807(0x2cc)](!0x0);return;}let _0x5d368b=new _0x5c2dc0(_0x19a118,{'left':_0x5f5c5c['x']+_0x26ee65-_0x349291['ShapeDefaultConfig'][_0x2f6807(0x1ef)],'top':_0x5f5c5c['y']+_0x301c60-_0x349291[_0x2f6807(0x1f3)][_0x2f6807(0x1ef)],'adjName':_0x307642,'shapeId':this[_0x2f6807(0x1d1)],'unitId':_0x210861,'subUnitId':_0x1a1022,'width':_0x349291['ShapeDefaultConfig'][_0x2f6807(0x1ef)]+0x8,'height':_0x349291[_0x2f6807(0x1f3)]['adjHandleSize']+0x8,'zIndex':_0x24aff0[_0x2f6807(0x1e8)]+0x1,'evented':!0x0});this[_0x2f6807(0x127)][_0x2f6807(0x39b)](_0x5d368b),this['_attachAdjustEvent'](_0x5d368b,_0x586009,_0x307642),_0x586009[_0x2f6807(0x337)](_0x5d368b,_0x24aff0[_0x2f6807(0x1e8)]+0x1);}[_0x4ea115(0x225)](){const _0x2efdd9=_0x4ea115;this[_0x2efdd9(0x127)][_0x2efdd9(0x3d7)](_0xc9caa4=>_0xc9caa4[_0x2efdd9(0x17a)]()),this['_adjustPointObjects']=[];}[_0x4ea115(0x3f2)](){const _0x4bf390=_0x4ea115;this[_0x4bf390(0x3cd)]();}[_0x4ea115(0x1fd)](_0x108bb0,_0x41210e,_0x11b0b6){const _0x4e98b1=_0x4ea115;let _0x4cd781=_0x24aff0['Vector2'][_0x4e98b1(0x2e6)]([_0x41210e,_0x11b0b6]),_0x380602=_0x108bb0[_0x4e98b1(0x1bb)](_0x4cd781)??_0x108bb0[_0x4e98b1(0x259)]()[0x0];return(_0x380602==null?void 0x0:_0x380602['transformVector2SceneCoord'](_0x4cd781))??_0x4cd781;}['_attachAdjustEvent'](_0x3cf876,_0x96a1e8,_0x3daa2e){const _0x4d98db=_0x4ea115;this['disposeWithMe']((0x0,_0x5bc1cc['toDisposable'])(_0x3cf876['onPointerDown$'][_0x4d98db(0x3bb)]((_0x545230,_0x3060b9)=>{const _0x5f37c0=_0x4d98db;var _0x1a21a5;let _0x3aae40=_0x3cf876[_0x5f37c0(0x3ec)]();this[_0x5f37c0(0x200)]=this[_0x5f37c0(0x9f)](_0x3aae40[_0x5f37c0(0x18f)],_0x3aae40[_0x5f37c0(0x199)],_0x3aae40[_0x5f37c0(0x408)],_0x3daa2e),this[_0x5f37c0(0x2c1)]=this[_0x5f37c0(0x3b7)]['getShapeModel'](_0x3aae40[_0x5f37c0(0x18f)],_0x3aae40[_0x5f37c0(0x199)],_0x3aae40[_0x5f37c0(0x408)]);let _0xe4509c=this[_0x5f37c0(0x369)](),_0x138c12=_0xe4509c==null?void 0x0:_0xe4509c['transform'];if(!_0xe4509c||!_0x138c12||!this[_0x5f37c0(0x2c1)])return;this[_0x5f37c0(0x268)]=_0x138c12[_0x5f37c0(0x131)]||0x0,this[_0x5f37c0(0x159)]=_0x138c12['top']||0x0,this[_0x5f37c0(0x2af)]=_0x138c12[_0x5f37c0(0xfb)]||0x0,this[_0x5f37c0(0xdf)]=_0x138c12[_0x5f37c0(0x37b)]||0x0;let _0xcdb161=!!_0x138c12[_0x5f37c0(0x27c)],_0x552a65=!!_0x138c12[_0x5f37c0(0x3df)],_0xd1a433=_0x138c12['angle']||0x0,_0x3b6f5c={...((_0x1a21a5=this[_0x5f37c0(0x200)])==null?void 0x0:_0x1a21a5[_0x5f37c0(0x1b6)])??{}};this[_0x5f37c0(0x168)]=!0x0,_0x96a1e8['disableObjectsEvent'](),this[_0x5f37c0(0x1aa)]=_0x96a1e8['onPointerMove$'][_0x5f37c0(0x3bb)]((_0x1fa13b,_0x3cf05d)=>{const _0x4d6363=_0x5f37c0;var _0x2ac2ad;if(!this[_0x4d6363(0x168)]||!this[_0x4d6363(0x2c1)]||!this['_activeAdjustInfo'])return;_0x96a1e8[_0x4d6363(0x345)](),_0x96a1e8[_0x4d6363(0x207)](_0x24aff0['CURSOR_TYPE']['CROSSHAIR']);let _0x3f548f=this[_0x4d6363(0x1fd)](_0x96a1e8,_0x1fa13b['offsetX'],_0x1fa13b[_0x4d6363(0x266)]),_0x38aaaf=_0x3f548f['x']-this[_0x4d6363(0x268)],_0x4e22fd=_0x3f548f['y']-this[_0x4d6363(0x159)];if(_0xd1a433!==0x0){let _0x1e97b2=this[_0x4d6363(0x2af)]/0x2,_0x33b48a=this[_0x4d6363(0xdf)]/0x2,_0xe1644d=_0xd1a433*Math['PI']/0xb4,_0x3394fa=Math[_0x4d6363(0x3d6)](_0xe1644d),_0x6ec872=Math[_0x4d6363(0x2a8)](_0xe1644d),_0xb70c69=_0x38aaaf-_0x1e97b2,_0x5a5d56=_0x4e22fd-_0x33b48a;_0x38aaaf=_0x1e97b2+(_0xb70c69*_0x3394fa+_0x5a5d56*_0x6ec872),_0x4e22fd=_0x33b48a+(-_0xb70c69*_0x6ec872+_0x5a5d56*_0x3394fa);}_0xcdb161&&(_0x38aaaf=this[_0x4d6363(0x2af)]-_0x38aaaf),_0x552a65&&(_0x4e22fd=this[_0x4d6363(0xdf)]-_0x4e22fd);let _0x4ec4d7={'left':0x0,'top':0x0,'width':this[_0x4d6363(0x2af)],'height':this['_baseShapeHeight']},_0x148fc4=this[_0x4d6363(0x2c1)][_0x4d6363(0x11b)](_0x4ec4d7,{'x':_0x38aaaf,'y':_0x4e22fd},this['_activeAdjustInfo'],_0xcdb161,_0x552a65);if(Object[_0x4d6363(0x1ae)](_0x148fc4)[_0x4d6363(0xbe)]!==0x0){for(let [_0x29254d,_0x9e69b4]of Object[_0x4d6363(0x37a)](_0x148fc4))this[_0x4d6363(0x2c1)][_0x4d6363(0x24d)](_0x29254d,_0x9e69b4);this[_0x4d6363(0x2c1)][_0x4d6363(0x178)]({'width':this[_0x4d6363(0x2af)],'height':this[_0x4d6363(0xdf)]}),(_0x2ac2ad=this[_0x4d6363(0x1a5)](_0x96a1e8))==null||_0x2ac2ad[_0x4d6363(0x2cc)](!0x0),this[_0x4d6363(0x1c7)]=this[_0x4d6363(0x22a)](_0x3aae40[_0x4d6363(0x18f)],_0x3aae40[_0x4d6363(0x199)],_0x3aae40[_0x4d6363(0x408)]),this[_0x4d6363(0x3f2)](),_0x3cf05d[_0x4d6363(0xcd)]();}}),this[_0x5f37c0(0x193)]=_0x96a1e8[_0x5f37c0(0x38c)]['subscribeEvent']((_0x42b0fd,_0x2461fe)=>{const _0x59b73e=_0x5f37c0;var _0x2fcb0f,_0x3555fa;(_0x2fcb0f=this[_0x59b73e(0x1aa)])==null||_0x2fcb0f[_0x59b73e(0xa2)](),(_0x3555fa=this[_0x59b73e(0x193)])==null||_0x3555fa[_0x59b73e(0xa2)](),_0x96a1e8[_0x59b73e(0x26a)]();let _0x2f8f84=this[_0x59b73e(0x200)];if(_0x2f8f84&&this['_activeShapeModel']){let _0x2ecbc5={};for(let _0x4b15e3 of Object['keys'](_0x2f8f84['currentAdjustValues'])){let _0x297f28=this[_0x59b73e(0x2c1)][_0x59b73e(0xb6)](_0x4b15e3);_0x297f28!==void 0x0&&(_0x2ecbc5[_0x4b15e3]=_0x297f28);}Object[_0x59b73e(0x1ae)](_0x2ecbc5)[_0x59b73e(0xbe)]>0x0&&_0x9420a0(this['_commandService'],_0x3aae40[_0x59b73e(0x18f)],_0x3aae40[_0x59b73e(0x199)],_0x3aae40['drawingId'],{'oldShapeData':{'adjustValues':_0x3b6f5c}},{'adjustValues':_0x2ecbc5});}this['_activeAdjustInfo']=void 0x0,this[_0x59b73e(0x2c1)]=void 0x0,this[_0x59b73e(0x168)]=!0x1,_0x96a1e8[_0x59b73e(0x27a)](),_0x2461fe[_0x59b73e(0xcd)]();}),_0x3060b9[_0x5f37c0(0xcd)]();})));}[_0x4ea115(0x160)](){const _0x3ca15b=_0x4ea115;let {scene:_0x50a1e7}=this[_0x3ca15b(0x334)],_0x1b5fec=_0x50a1e7[_0x3ca15b(0x8b)]();this[_0x3ca15b(0x103)](_0x1b5fec['changeStart$'][_0x3ca15b(0x3a6)](_0x10892c=>{const _0x578bc7=_0x3ca15b;this['_createShapeAdjustControls'](),_0x10892c[_0x578bc7(0x24a)]!==null&&_0x10892c[_0x578bc7(0x24a)][_0x578bc7(0x25e)]===0x1&&_0x10892c[_0x578bc7(0x24a)][_0x578bc7(0x3f5)]()[_0x578bc7(0x3eb)]()[_0x578bc7(0x115)]instanceof _0x49294f&&(this[_0x578bc7(0x350)]=!0x0);})),this[_0x3ca15b(0x103)](_0x1b5fec[_0x3ca15b(0x102)][_0x3ca15b(0x3a6)](()=>{const _0x2aef1f=_0x3ca15b;this[_0x2aef1f(0x350)]&&this[_0x2aef1f(0x225)]();})),this['disposeWithMe'](_0x50a1e7['onPointerUp$'][_0x3ca15b(0x3bb)](()=>{const _0x2bd214=_0x3ca15b;this[_0x2bd214(0x350)]&&(this[_0x2bd214(0x350)]=!0x1,this[_0x2bd214(0x3cd)]());})),this[_0x3ca15b(0x103)](_0x1b5fec['changeEnd$'][_0x3ca15b(0x3a6)](()=>{const _0x54115d=_0x3ca15b;this['_unitId']&&this['_subUnitId']&&this['_activeShapeId']&&(this[_0x54115d(0x1c7)]=this[_0x54115d(0x22a)](this[_0x54115d(0x19e)],this[_0x54115d(0x40a)],this[_0x54115d(0x1d1)]),this[_0x54115d(0x3f2)]());}));}[_0x4ea115(0x180)](){const _0x3bb01f=_0x4ea115;this[_0x3bb01f(0x103)](this[_0x3bb01f(0xcb)][_0x3bb01f(0x1b5)](_0x30027d=>{const _0x131803=_0x3bb01f;if(_0x30027d['id']!==_0x1897fd[_0x131803(0x130)]['id'])return;let {unitId:_0x193daa,shapeId:_0x304c24}=_0x30027d[_0x131803(0x405)];_0x193daa===this[_0x131803(0x19e)]&&_0x304c24===this[_0x131803(0x1d1)]&&this[_0x131803(0x1b8)]();})),this['disposeWithMe'](this[_0x3bb01f(0x275)][_0x3bb01f(0x2ff)][_0x3bb01f(0x3a6)](_0x8480d=>{const _0x419d4f=_0x3bb01f;if(_0x8480d[_0x419d4f(0xbe)]===0x1){let _0x4848b9=_0x8480d[0x0],_0x11c3e2=this[_0x419d4f(0x275)][_0x419d4f(0x3ba)](_0x4848b9);if((_0x11c3e2==null?void 0x0:_0x11c3e2['drawingType'])===_0x5bc1cc['DrawingTypeEnum']['DRAWING_SHAPE']){this[_0x419d4f(0x1d1)]=_0x4848b9[_0x419d4f(0x408)],this[_0x419d4f(0x19e)]=_0x4848b9[_0x419d4f(0x18f)],this[_0x419d4f(0x40a)]=_0x4848b9[_0x419d4f(0x199)],this[_0x419d4f(0x1c7)]=this['_getShapeAdjustPointListById'](_0x4848b9[_0x419d4f(0x18f)],_0x4848b9[_0x419d4f(0x199)],_0x4848b9[_0x419d4f(0x408)]),this[_0x419d4f(0x225)](),this[_0x419d4f(0x3cd)]();return;}}this[_0x419d4f(0x1d1)]=null,this[_0x419d4f(0x1c7)]=void 0x0,this[_0x419d4f(0x19e)]=null,this[_0x419d4f(0x40a)]=null,this['_clearShapeAdjustControls']();})),this[_0x3bb01f(0x103)]((0x0,_0x587404[_0x3bb01f(0x105)])(this[_0x3bb01f(0x275)][_0x3bb01f(0x176)],this['_drawingManagerService']['refreshTransform$'])[_0x3bb01f(0x3a6)](_0x1fc6a3=>{const _0x4502e9=_0x3bb01f;var _0x224d36;let _0x4eb207=_0x1fc6a3[_0x4502e9(0x99)](_0x2e4afc=>_0x2e4afc[_0x4502e9(0x408)]===this[_0x4502e9(0x1d1)]&&_0x2e4afc[_0x4502e9(0x18f)]===this[_0x4502e9(0x19e)]&&_0x2e4afc[_0x4502e9(0x199)]===this[_0x4502e9(0x40a)]);_0x4eb207&&((_0x224d36=this['_drawingManagerService'][_0x4502e9(0x3ba)](_0x4eb207))==null?void 0x0:_0x224d36['drawingType'])===_0x5bc1cc[_0x4502e9(0x1c8)][_0x4502e9(0x3dc)]&&this['_updateShapeAdjustControls'](!0x0);})),this['disposeWithMe'](this[_0x3bb01f(0x275)]['remove$'][_0x3bb01f(0x3a6)](_0x190b93=>{const _0x58bb95=_0x3bb01f;for(let _0x6faa8b of _0x190b93)this[_0x58bb95(0x1d1)]===_0x6faa8b['drawingId']&&(this[_0x58bb95(0x1d1)]=null,this[_0x58bb95(0x1c7)]=void 0x0,this[_0x58bb95(0x19e)]=null,this[_0x58bb95(0x40a)]=null,this[_0x58bb95(0x225)]());}));}};_0x3d330d=_0x555290([_0x379978(0x1,_0x3cf577[_0x4ea115(0x214)]),_0x379978(0x2,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x1897fd['DocsShapeService'])),_0x379978(0x3,_0x5bc1cc['ICommandService'])],_0x3d330d);let _0x213530=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x47750f,_0x384669){const _0x548fb4=_0x4ea115;super(),this[_0x548fb4(0x185)]=_0x47750f,this['_instanceService']=_0x384669,_0x128b9e(this,_0x548fb4(0x37f),new _0x587404[(_0x548fb4(0x3d9))](null)),_0x128b9e(this,'editingParams$',this['_editingParams$']['asObservable']()),_0x128b9e(this,_0x548fb4(0x40e),new _0x587404['BehaviorSubject'](!0x1)),_0x128b9e(this,_0x548fb4(0x34e),this[_0x548fb4(0x40e)][_0x548fb4(0x13c)]()),_0x128b9e(this,_0x548fb4(0x35a),void 0x0),this[_0x548fb4(0x103)](this[_0x548fb4(0x185)][_0x548fb4(0x2b3)][_0x548fb4(0x3a6)](()=>{const _0x28cd64=_0x548fb4;let _0x4b783e=this[_0x28cd64(0x3db)]();_0x4b783e!=null&&_0x4b783e['visible']&&!this[_0x28cd64(0x220)](_0x4b783e)&&this[_0x28cd64(0x18a)](null);}));}[_0x4ea115(0x17a)](){const _0x48ac1f=_0x4ea115;this[_0x48ac1f(0x354)](),this[_0x48ac1f(0x37f)]['next'](null),this[_0x48ac1f(0x37f)]['complete'](),this['_onSavingEditorData$'][_0x48ac1f(0x3eb)](!0x1),this['_onSavingEditorData$']['complete'](),super[_0x48ac1f(0x17a)]();}[_0x4ea115(0x18a)](_0x5cd3eb){const _0x209325=_0x4ea115;(_0x5cd3eb==null||!_0x5cd3eb[_0x209325(0x39e)]||this[_0x209325(0x220)](_0x5cd3eb))&&(this[_0x209325(0x354)](),this['_editingParams$'][_0x209325(0x3eb)](_0x5cd3eb),(_0x5cd3eb==null||_0x5cd3eb['visible']&&this[_0x209325(0x40e)]['getValue']())&&this[_0x209325(0x40e)][_0x209325(0x3eb)](!0x1));}[_0x4ea115(0x228)](_0x57fc34){const _0x1c0915=_0x4ea115;this['_onSavingEditorData$'][_0x1c0915(0x3eb)](_0x57fc34);}[_0x4ea115(0x3db)](){const _0x20f1e3=_0x4ea115;return this[_0x20f1e3(0x37f)]['getValue']();}[_0x4ea115(0x220)](_0x1f1af1){const _0x12ff33=_0x4ea115;let _0x1cb7f8=this[_0x12ff33(0x352)][_0x12ff33(0x1f8)](_0x1f1af1[_0x12ff33(0x18f)],_0x5bc1cc[_0x12ff33(0x1ee)][_0x12ff33(0x310)]);if(!_0x1cb7f8)return!0x0;let _0x3498fd=(0x0,_0x42aa76[_0x12ff33(0x2d2)])(_0x1cb7f8,_0x1f1af1[_0x12ff33(0x392)]);return(0x0,_0x42aa76['canEditDocumentTargets'])(this['_permissionService'],_0x1f1af1[_0x12ff33(0x18f)],[...(0x0,_0x42aa76[_0x12ff33(0x373)])(_0x1cb7f8,_0x3498fd,_0x12ff33(0x31d),_0x1f1af1[_0x12ff33(0x392)]),(0x0,_0x42aa76[_0x12ff33(0x28b)])(_0x3498fd,_0x12ff33(0x31d),_0x1f1af1['shapeId'])]);}[_0x4ea115(0x3b0)](_0x4f86fe){const _0x51dd49=_0x4ea115;let _0x1a38cd=this[_0x51dd49(0x3db)]();_0x1a38cd&&this[_0x51dd49(0x35a)]===void 0x0&&(this[_0x51dd49(0x228)](!0x0),this[_0x51dd49(0x35a)]=requestAnimationFrame(()=>{const _0x58cdc5=_0x51dd49;this[_0x58cdc5(0x35a)]=void 0x0,this[_0x58cdc5(0x3db)]()===_0x1a38cd&&this[_0x58cdc5(0x18a)](null);}));}[_0x4ea115(0x354)](){const _0x23a573=_0x4ea115;this['_completionFrame']!==void 0x0&&(cancelAnimationFrame(this[_0x23a573(0x35a)]),this[_0x23a573(0x35a)]=void 0x0);}['cancelEditing'](){const _0x409cb9=_0x4ea115;this[_0x409cb9(0x3db)]()&&this[_0x409cb9(0x18a)](null);}};_0x213530=_0x555290([_0x379978(0x0,_0x5bc1cc['IPermissionService']),_0x379978(0x1,_0x5bc1cc[_0x4ea115(0x18e)])],_0x213530);function _0x352cb0(_0x2b7906){const _0xea74f9=_0x4ea115;return _0x2b7906[_0xea74f9(0x1ce)]===!0x0||_0x2b7906[_0xea74f9(0x1ce)]===_0x5bc1cc[_0xea74f9(0x26e)]['TRUE']||_0x2b7906[_0xea74f9(0x109)]===_0x5bc1cc[_0xea74f9(0x342)]['WRAP_NONE']&&_0x2b7906['behindDoc']===_0x5bc1cc[_0xea74f9(0x26e)]['TRUE']?_0x341d83[_0xea74f9(0x3e7)]-0x1:_0x24aff0[_0xea74f9(0x1e8)];}let _0x2d120d=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x50c788,_0x310cff,_0x38fec3,_0x57ef,_0x5d3ff2,_0x5df209,_0x3feaf1){const _0x3a57fb=_0x4ea115;super(),this[_0x3a57fb(0x275)]=_0x50c788,this[_0x3a57fb(0x3b7)]=_0x310cff,this[_0x3a57fb(0x260)]=_0x38fec3,this[_0x3a57fb(0x236)]=_0x57ef,this[_0x3a57fb(0x286)]=_0x5d3ff2,this[_0x3a57fb(0x149)]=_0x5df209,this[_0x3a57fb(0x355)]=_0x3feaf1,_0x128b9e(this,_0x3a57fb(0x2f5),new Map()),this[_0x3a57fb(0x103)](this[_0x3a57fb(0x355)]['presentationChanged$'][_0x3a57fb(0x3a6)](_0x54c893=>{const _0x4f2fce=_0x3a57fb;var _0xa26330;(_0xa26330=this['_formulaShapes'][_0x4f2fce(0x20e)](this['_formulaKey'](_0x54c893[_0x4f2fce(0x18f)],_0x54c893[_0x4f2fce(0x199)],_0x54c893[_0x4f2fce(0x392)])))==null||_0xa26330[_0x4f2fce(0x3d7)](_0x32062a=>_0x32062a[_0x4f2fce(0xdd)](_0x54c893[_0x4f2fce(0x2c0)],_0x54c893[_0x4f2fce(0x296)]));})),this[_0x3a57fb(0x103)](this['_drawingManagerService']['remove$']['subscribe'](_0x367475=>{_0x367475['forEach'](_0x4497db=>{const _0x158234=_0x9d29;this[_0x158234(0x355)]['unregister']({'unitId':_0x4497db[_0x158234(0x18f)],'subUnitId':_0x4497db[_0x158234(0x199)],'shapeId':_0x4497db['drawingId']}),this['_formulaShapes'][_0x158234(0x284)](this[_0x158234(0x252)](_0x4497db[_0x158234(0x18f)],_0x4497db[_0x158234(0x199)],_0x4497db[_0x158234(0x408)]));});}));}['renderDrawingShape'](_0x34151b,_0xe4f8f5){const _0x1e1a11=_0x4ea115;let {transform:_0x57c64c,drawingType:_0x30cdfc,srcRect:_0x20dc38,prstGeom:_0x2a4677,groupId:_0x161fbd,unitId:_0x1dbf87,subUnitId:_0x144957,drawingId:_0x49bd5c,isMultiTransform:_0x33992b,transforms:_0x1e924f,hidden:_0x3356bf,selectable:_0xbf69e1}=_0x34151b;if(_0x30cdfc!==_0x5bc1cc[_0x1e1a11(0x1c8)][_0x1e1a11(0x3dc)]||!this[_0x1e1a11(0x275)][_0x1e1a11(0x2b0)]()||_0x57c64c==null)return;let _0x2ce4e9=this[_0x1e1a11(0x275)]['getDrawingEditable'](),_0x8f037c=_0x33992b&&_0x1e924f?_0x1e924f:[_0x57c64c],_0x3cad7d=[];for(let [_0x1607ea,_0x2962ff]of _0x8f037c[_0x1e1a11(0x37a)]()){let {left:_0x518339,top:_0x1d2d13,width:_0x153c4a,height:_0x309639,angle:_0x5096fc,flipX:_0x375849,flipY:_0x167148,skewX:_0x3c8e66,skewY:_0x1309a1}=_0x2962ff,_0x1963ef=(0x0,_0x3cf577[_0x1e1a11(0x14a)])({'unitId':_0x1dbf87,'subUnitId':_0x144957,'drawingId':_0x49bd5c},_0x33992b?_0x1607ea:void 0x0),_0x233040=_0xe4f8f5[_0x1e1a11(0x179)](_0x1963ef);if(_0x233040!=null){let _0x5548c8={'unitId':_0x1dbf87,'subUnitId':_0x144957,'shapeId':_0x49bd5c};_0x233040 instanceof _0x49294f&&this[_0x1e1a11(0x172)](_0x233040,_0x5548c8),_0x233040[_0x1e1a11(0x329)]({'left':_0x518339,'top':_0x1d2d13,'width':_0x153c4a,'height':_0x309639,'angle':_0x5096fc,'flipX':_0x375849,'flipY':_0x167148,'skewX':_0x3c8e66,'skewY':_0x1309a1});continue;}let _0x130c7b=this['_drawingManagerService'][_0x1e1a11(0xbc)](_0x1dbf87,_0x144957),_0x4fb036=_0x130c7b['indexOf'](_0x49bd5c);if(_0xe4f8f5[_0x1e1a11(0x179)](_0x1963ef)||!this[_0x1e1a11(0x275)][_0x1e1a11(0x2b0)]())continue;let _0x1ee7af=this[_0x1e1a11(0x3b7)][_0x1e1a11(0x189)](_0x1dbf87,_0x144957,_0x49bd5c);if(!_0x1ee7af)continue;let _0x4eea90=(0x0,_0x349291[_0x1e1a11(0x2d6)])(_0x1ee7af[_0x1e1a11(0x3ef)]())?{..._0x1bc9bf['SHAPE_EDITOR_TRANSFORMER_CONFIG'],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x1bc9bf['SHAPE_EDITOR_TRANSFORMER_CONFIG'],_0x28fb13=_0x1ee7af['getShapeData']()[_0x1e1a11(0x1eb)],_0x3b92bf={'unitId':_0x1dbf87,'subUnitId':_0x144957,'shapeId':_0x49bd5c};_0x28fb13&&this['_shapeFormulaService'][_0x1e1a11(0x223)](_0x3b92bf,_0x28fb13);let _0x2b2534=new _0x49294f(_0x1963ef,{..._0x2962ff,'zIndex':_0x4fb036===-0x1?_0x130c7b[_0x1e1a11(0xbe)]-0x1:_0x4fb036,'shapeModel':_0x1ee7af,'localeService':this[_0x1e1a11(0x260)],'shapeId':_0x49bd5c,'unitId':_0x1dbf87,'subUnitId':_0x144957,'visible':_0x3356bf!==!0x0,'evented':_0xbf69e1!==!0x1,'formulaPresentation':_0x28fb13?this[_0x1e1a11(0x355)]['getPresentation'](_0x3b92bf):void 0x0,'animateFormulaPresentation':(_0x28fb13==null?void 0x0:_0x28fb13['animationEnabled'])!==!0x1,'transformerConfig':_0x4eea90});if(_0x28fb13){let _0xd0b4d5=this['_formulaKey'](_0x1dbf87,_0x144957,_0x49bd5c),_0x27c65e=this[_0x1e1a11(0x2f5)][_0x1e1a11(0x20e)](_0xd0b4d5)??new Set();_0x27c65e[_0x1e1a11(0xef)](_0x2b2534),this['_formulaShapes']['set'](_0xd0b4d5,_0x27c65e);}this[_0x1e1a11(0x103)]((0x0,_0x5bc1cc[_0x1e1a11(0x230)])(_0x2b2534['onDblclick$'][_0x1e1a11(0x3bb)]((_0x2c5b9c,_0x5c4283)=>{const _0x5e55cf=_0x1e1a11;_0x1ee7af[_0x5e55cf(0x124)]()||_0x28fb13||(this['_shapeTextEditingService'][_0x5e55cf(0x18a)]({'visible':!0x0,'unitId':_0x1dbf87,'subUnitId':_0x144957,'shapeId':_0x49bd5c,'shapeKey':_0x2b2534[_0x5e55cf(0x23f)]}),_0x5c4283[_0x5e55cf(0xcd)]());}))),_0xe4f8f5[_0x1e1a11(0x337)](_0x2b2534,_0x352cb0(_0x34151b)),_0x2ce4e9&&_0xe4f8f5[_0x1e1a11(0x379)](_0x2b2534),_0x161fbd&&(0x0,_0x390061[_0x1e1a11(0x118)])({'drawingId':_0x161fbd,'unitId':_0x1dbf87,'subUnitId':_0x144957},_0x2b2534,_0xe4f8f5,this[_0x1e1a11(0x275)],_0x33992b?_0x1607ea:void 0x0),_0x2a4677!=null&&_0x2b2534['setPrstGeom'](_0x2a4677),_0x20dc38!=null&&_0x2b2534['setSrcRect'](_0x20dc38),this['_loadShapePictureFill'](_0x2b2534,_0x1ee7af[_0x1e1a11(0x165)]()),_0x3cad7d[_0x1e1a11(0x39b)](_0x2b2534);}return _0x3cad7d;}[_0x4ea115(0x252)](_0x4d428c,_0x504386,_0x12d77b){return _0x4d428c+'\x00'+_0x504386+'\x00'+_0x12d77b;}[_0x4ea115(0x172)](_0x381140,_0x34cccc){const _0x352796=_0x4ea115;let _0x8aba53=this[_0x352796(0x3b7)][_0x352796(0x189)](_0x34cccc['unitId'],_0x34cccc[_0x352796(0x199)],_0x34cccc[_0x352796(0x392)]),_0x36aaeb=_0x8aba53==null?void 0x0:_0x8aba53[_0x352796(0x165)]()['formulaBinding'],_0x32faa4=this[_0x352796(0x252)](_0x34cccc[_0x352796(0x18f)],_0x34cccc[_0x352796(0x199)],_0x34cccc[_0x352796(0x392)]);if(_0x36aaeb){this['_shapeFormulaService'][_0x352796(0x223)](_0x34cccc,_0x36aaeb);let _0x844da6=this[_0x352796(0x2f5)]['get'](_0x32faa4)??new Set();_0x844da6[_0x352796(0xef)](_0x381140),this[_0x352796(0x2f5)][_0x352796(0x1fe)](_0x32faa4,_0x844da6);}else{var _0x1094c2;this[_0x352796(0x355)][_0x352796(0x265)](_0x34cccc),(_0x1094c2=this[_0x352796(0x2f5)][_0x352796(0x20e)](_0x32faa4))==null||_0x1094c2[_0x352796(0x284)](_0x381140);}_0x381140['setFormulaPresentation'](_0x36aaeb?this[_0x352796(0x355)][_0x352796(0x229)](_0x34cccc):void 0x0,(_0x36aaeb==null?void 0x0:_0x36aaeb[_0x352796(0x296)])!==!0x1);}['refreshShapeFillImage'](_0x1b16d1){const _0x3a05e2=_0x4ea115;let _0x51518f=_0x1b16d1['shapeModel']['getShapeData'](),_0xea73d6=_0x51518f[_0x3a05e2(0x1bd)];if(!_0xea73d6||_0xea73d6['fillType']!==_0x349291[_0x3a05e2(0x244)]['PictureFill']||!_0xea73d6[_0x3a05e2(0x19f)]){_0x1b16d1[_0x3a05e2(0x2e4)](void 0x0);return;}this[_0x3a05e2(0x2ca)](_0x1b16d1,_0x51518f);}['_loadShapePictureFill'](_0x1c3953,_0x223099){const _0x464750=_0x4ea115;let _0x309db4=_0x223099[_0x464750(0x1bd)];if(!_0x309db4||_0x309db4[_0x464750(0x171)]!==_0x349291[_0x464750(0x244)][_0x464750(0x32d)]||!_0x309db4[_0x464750(0x19f)])return;let _0x1c93c7=_0x309db4['fillImageSource'],_0x11f6a9=_0x309db4[_0x464750(0x135)]??_0x349291[_0x464750(0x106)][_0x464750(0x21d)],_0x194313=this[_0x464750(0x236)][_0x464750(0x13a)](_0x1c93c7,_0x11f6a9);if(_0x194313){_0x1c3953[_0x464750(0x2e4)](_0x194313);return;}this[_0x464750(0x318)](_0x1c3953,_0x1c93c7,_0x11f6a9);}async[_0x4ea115(0x318)](_0x1be3ad,_0x46d3a5,_0x2a1fb){const _0x2bb348=_0x4ea115;let _0x44ae17;try{if(_0x2a1fb===_0x349291[_0x2bb348(0x106)][_0x2bb348(0x40c)])_0x44ae17=await this[_0x2bb348(0x236)][_0x2bb348(0x16c)](_0x46d3a5);else{if(_0x2a1fb===_0x349291[_0x2bb348(0x106)][_0x2bb348(0x21d)])try{_0x44ae17=await this['_urlImageService']['getImage'](_0x46d3a5);}catch{_0x44ae17=_0x46d3a5;}else _0x44ae17=_0x46d3a5;}}catch(_0x4ddecf){console[_0x2bb348(0x1bc)](_0x2bb348(0x197),_0x4ddecf);return;}let _0xcc2356=new window[(_0x2bb348(0x140))]();_0xcc2356[_0x2bb348(0x294)]=()=>{const _0x11f00f=_0x2bb348;this[_0x11f00f(0x236)][_0x11f00f(0x27e)](_0x46d3a5,_0x2a1fb,_0xcc2356),_0x1be3ad['setFillImage'](_0xcc2356);},_0xcc2356['onerror']=()=>{const _0x835df0=_0x2bb348;console[_0x835df0(0x1bc)]('[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image',_0x46d3a5);},_0xcc2356[_0x2bb348(0x3d3)]=_0x44ae17;}};_0x2d120d=_0x555290([_0x379978(0x0,_0x3cf577['IDrawingManagerService']),_0x379978(0x1,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x1897fd[_0x4ea115(0x293)])),_0x379978(0x2,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x5bc1cc[_0x4ea115(0x243)])),_0x379978(0x3,_0x5bc1cc[_0x4ea115(0x2ac)]),_0x379978(0x4,_0x5bc1cc[_0x4ea115(0x14e)]),_0x379978(0x5,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x213530)),_0x379978(0x6,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x535f5e['ShapeFormulaService']))],_0x2d120d);let _0x22d8c8=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x34bd41,_0x1a9507,_0x20f36c){const _0x3dab51=_0x4ea115;super(),this[_0x3dab51(0x162)]=_0x34bd41,this['_drawingManagerService']=_0x1a9507,this[_0x3dab51(0x33f)]=_0x20f36c,this[_0x3dab51(0x175)]();}[_0x4ea115(0x175)](){const _0x8de407=_0x4ea115;this['disposeWithMe'](this[_0x8de407(0x162)][_0x8de407(0x2aa)][_0x8de407(0x2cd)](this[_0x8de407(0x162)][_0x8de407(0x2aa)][_0x8de407(0x2fe)]()[_0x8de407(0x274)],{'handler':(_0x1fed13,_0xbc8194,_0x5bc048)=>{const _0x5677da=_0x8de407;var _0x22f273;let {unitId:_0x10882b,scene:_0x248361,skeleton:_0x25e691}=_0xbc8194,{pageIndex:_0x37b963}=_0xbc8194,_0x5d1ba8=(_0x22f273=this[_0x5677da(0x275)][_0x5677da(0x25f)](_0x10882b))==null?void 0x0:_0x22f273[_0x10882b],_0x575224=_0x14e2fb(this[_0x5677da(0x162)],_0x25e691,_0x37b963);return _0x5d1ba8==null||_0x5d1ba8[_0x5677da(0x280)][_0x5677da(0x3d7)](_0x47d2c6=>{const _0x1ac93b=_0x5677da;if(_0x575224&&!_0x575224[_0x1ac93b(0x2d9)](_0x47d2c6))return;let _0x8dc38e=_0x5d1ba8['data'][_0x47d2c6];_0x8dc38e['drawingType']===_0x5bc1cc[_0x1ac93b(0x1c8)][_0x1ac93b(0x3dc)]&&!_0x8dc38e[_0x1ac93b(0x2c6)]&&this[_0x1ac93b(0x33f)][_0x1ac93b(0x34b)](_0x8dc38e,_0x248361);}),_0x5bc048(_0x1fed13);}}));}};_0x22d8c8=_0x555290([_0x379978(0x0,(0x0,_0x5bc1cc['Inject'])(_0x341d83['DocPrintInterceptorService'])),_0x379978(0x1,_0x3cf577[_0x4ea115(0x214)]),_0x379978(0x2,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x2d120d))],_0x22d8c8);function _0x14e2fb(_0x5def01,_0x270d7a,_0x2c1473){const _0xccda7c=_0x4ea115;var _0x4e39e5,_0x4f9a90;let _0x5c9168=_0x5def01;if(_0x5c9168[_0xccda7c(0x3f7)])return _0x5c9168[_0xccda7c(0x3f7)](_0x270d7a,_0x2c1473);let _0xa91284=_0x270d7a[_0xccda7c(0x303)]();if(!_0xa91284||_0xa91284[_0xccda7c(0x227)]['length']<=0x1||_0x2c1473==null)return null;let _0x2781bf=new Set(),_0x22ea2a=_0xa91284[_0xccda7c(0x227)][_0x2c1473];if(!_0x22ea2a)return _0x2781bf;_0x356120(_0x22ea2a,_0x2781bf);let _0x2fb5fc=(_0x4e39e5=_0xa91284[_0xccda7c(0xf7)][_0xccda7c(0x20e)](_0x22ea2a[_0xccda7c(0x1ff)]))==null?void 0x0:_0x4e39e5['get'](_0x22ea2a[_0xccda7c(0x2f0)]),_0x20b312=(_0x4f9a90=_0xa91284[_0xccda7c(0x2ef)][_0xccda7c(0x20e)](_0x22ea2a['footerId']))==null?void 0x0:_0x4f9a90[_0xccda7c(0x20e)](_0x22ea2a[_0xccda7c(0x2f0)]);return _0x2fb5fc&&_0x356120(_0x2fb5fc,_0x2781bf),_0x20b312&&_0x356120(_0x20b312,_0x2781bf),_0x2781bf;}function _0x356120(_0x3db0ca,_0x2eec16){const _0x379a43=_0x4ea115;for(let _0x240aaf of _0x3db0ca[_0x379a43(0x3da)]['keys']())_0x2eec16['add'](_0x240aaf);for(let _0x451120 of _0x3db0ca[_0x379a43(0xe8)][_0x379a43(0x3f5)]())for(let _0x4c9966 of _0x451120[_0x379a43(0x1a8)])for(let _0x11f573 of _0x4c9966[_0x379a43(0x1bf)])_0x356120(_0x11f573,_0x2eec16);}function _0x344428({ref:_0x1b371c,..._0x56bbbc}){const _0x5488e9=_0x4ea115;let {preserveStrokeWidth:_0x120201,icon:_0x4bf825,id:_0x3742f9,className:_0xdab093,extend:_0x51e2bd,..._0x2de1a4}=_0x56bbbc,_0x5b04d8=(_0x5488e9(0x1fa)+_0x3742f9+'\x20'+(_0xdab093||''))[_0x5488e9(0x209)](),_0x55d4b4='_'+(0x0,_0x18e885[_0x5488e9(0x2ec)])(),_0x23a12d=(0x0,_0x18e885[_0x5488e9(0x2d3)])(null);return(0x0,_0x18e885[_0x5488e9(0x20f)])(_0x1b371c,()=>_0x23a12d[_0x5488e9(0x161)]),(0x0,_0x18e885[_0x5488e9(0x34d)])(()=>{const _0x46543c=_0x5488e9;if(_0x120201&&_0x23a12d[_0x46543c(0x161)]&&_0x23a12d[_0x46543c(0x161)][_0x46543c(0x25a)]===_0x4bf825[_0x46543c(0x1f5)])return _0x2f6b5a(_0x23a12d['current']);},[_0x120201,_0x4bf825]),_0x5df308(_0x4bf825,''+_0x3742f9,{'defIds':_0x4bf825[_0x5488e9(0x32c)],'idSuffix':_0x55d4b4},{'ref':_0x23a12d,'className':_0x5b04d8,..._0x2de1a4},_0x51e2bd);}function _0x5df308(_0x5ef4df,_0x354096,_0x1743c2,_0x274a40,_0x1c9b9c){const _0x1f3b3e=_0x4ea115;return(0x0,_0x18e885['createElement'])(_0x5ef4df['tag'],{'key':_0x354096,..._0x334387(_0x5ef4df,_0x1743c2,_0x1c9b9c),..._0x274a40},(_0x393965(_0x5ef4df,_0x1743c2)[_0x1f3b3e(0x362)]||[])[_0x1f3b3e(0x3ca)]((_0x567f28,_0x2ecc37)=>_0x5df308(_0x567f28,_0x354096+'-'+_0x5ef4df[_0x1f3b3e(0x1f5)]+'-'+_0x2ecc37,_0x1743c2,void 0x0,_0x1c9b9c)));}function _0x334387(_0x591754,_0x9eb82a,_0x3889b8){const _0x1fa05a=_0x4ea115;let _0x4cb23b={..._0x591754[_0x1fa05a(0x263)]};_0x3889b8!=null&&_0x3889b8[_0x1fa05a(0x188)]&&_0x4cb23b[_0x1fa05a(0x1bd)]==='colorChannel1'&&(_0x4cb23b[_0x1fa05a(0x1bd)]=_0x3889b8[_0x1fa05a(0x188)]),_0x3889b8!=null&&_0x3889b8[_0x1fa05a(0x188)]&&_0x4cb23b[_0x1fa05a(0x35c)]===_0x1fa05a(0x188)&&(_0x4cb23b[_0x1fa05a(0x35c)]=_0x3889b8[_0x1fa05a(0x188)]),_0x591754[_0x1fa05a(0x1f5)]===_0x1fa05a(0x368)&&_0x4cb23b['id']&&(_0x4cb23b['id']+=_0x9eb82a[_0x1fa05a(0x256)]),Object[_0x1fa05a(0x37a)](_0x4cb23b)[_0x1fa05a(0x3d7)](([_0x5a2a35,_0x4bc8af])=>{const _0x376263=_0x1fa05a;_0x5a2a35===_0x376263(0x368)&&typeof _0x4bc8af==_0x376263(0x146)&&(_0x4cb23b[_0x5a2a35]=_0x4bc8af[_0x376263(0x1d8)](/url\(#(.*)\)/,_0x376263(0x3c7)+_0x9eb82a['idSuffix']+')'));});let {defIds:_0x4a9dc3}=_0x9eb82a;return!_0x4a9dc3||_0x4a9dc3[_0x1fa05a(0xbe)]===0x0?_0x4cb23b:(_0x591754[_0x1fa05a(0x1f5)]==='use'&&_0x4cb23b[_0x1fa05a(0x3ad)]&&(_0x4cb23b['xlink:href']+=_0x9eb82a[_0x1fa05a(0x256)]),Object['entries'](_0x4cb23b)[_0x1fa05a(0x3d7)](([_0xf68651,_0x558489])=>{const _0xa84b87=_0x1fa05a;typeof _0x558489=='string'&&(_0x4cb23b[_0xf68651]=_0x558489[_0xa84b87(0x1d8)](/url\(#(.*)\)/,_0xa84b87(0x3c7)+_0x9eb82a[_0xa84b87(0x256)]+')'));}),_0x4cb23b);}function _0x393965(_0xc424b7,_0x25fcf2){const _0x41b0bc=_0x4ea115;var _0x691f9e;let {defIds:_0x3e8da6}=_0x25fcf2;return!_0x3e8da6||_0x3e8da6[_0x41b0bc(0xbe)]===0x0?_0xc424b7:_0xc424b7[_0x41b0bc(0x1f5)]===_0x41b0bc(0xaf)&&(_0x691f9e=_0xc424b7[_0x41b0bc(0x362)])!=null&&_0x691f9e[_0x41b0bc(0xbe)]?{..._0xc424b7,'children':_0xc424b7[_0x41b0bc(0x362)]['map'](_0x1c4fe5=>typeof _0x1c4fe5[_0x41b0bc(0x263)]['id']==_0x41b0bc(0x146)&&_0x3e8da6&&_0x3e8da6[_0x41b0bc(0x3a0)](_0x1c4fe5[_0x41b0bc(0x263)]['id'])?{..._0x1c4fe5,'attrs':{..._0x1c4fe5[_0x41b0bc(0x263)],'id':_0x1c4fe5[_0x41b0bc(0x263)]['id']+_0x25fcf2['idSuffix']}}:_0x1c4fe5)}:_0xc424b7;}function _0x2f6b5a(_0x19b89){const _0x55297d=_0x4ea115;let _0x332b48=_0x19b89[_0x55297d(0x332)][_0x55297d(0x253)],_0x58d157=Math[_0x55297d(0x409)](_0x332b48[_0x55297d(0xfb)],_0x332b48[_0x55297d(0x37b)]);if(!Number[_0x55297d(0xe5)](_0x58d157)||_0x58d157<=0x0||_0x332b48[_0x55297d(0xfb)]<=0x0||_0x332b48[_0x55297d(0x37b)]<=0x0)return()=>void 0x0;let _0x1f251e=0x10/_0x58d157,_0x2f7f93=Array['from'](_0x19b89[_0x55297d(0x90)](_0x55297d(0x298)))['flatMap'](_0x45280a=>{const _0x5d4296=_0x55297d;let _0xc6c2b6=getComputedStyle(_0x45280a),_0x3a4d0b=Number['parseFloat'](_0xc6c2b6[_0x5d4296(0x403)]);return _0xc6c2b6[_0x5d4296(0x35c)]===_0x5d4296(0x3c4)||Number[_0x5d4296(0x3a8)](_0xc6c2b6[_0x5d4296(0x14d)])===0x0||_0xc6c2b6[_0x5d4296(0x348)]===_0x5d4296(0x2bd)||!Number[_0x5d4296(0xe5)](_0x3a4d0b)||_0x3a4d0b<=0x0?[]:[{'element':_0x45280a,'hadStyleAttribute':_0x45280a[_0x5d4296(0xec)](_0x5d4296(0xeb)),'originalStrokeWidth':_0x3a4d0b,'strokeWidth':_0x3ffd12(_0x45280a[_0x5d4296(0xeb)],'stroke-width')}];})['map'](_0x249fe3=>({'appliedStrokeWidth':null,'element':_0x249fe3['element'],'hadStyleAttribute':_0x249fe3[_0x55297d(0x249)],'isReleased':!0x1,'originalStrokeWidth':_0x249fe3[_0x55297d(0x3d5)],'strokeWidth':_0x249fe3['strokeWidth']}));if(_0x2f7f93['length']===0x0)return()=>void 0x0;let _0x423690=(_0x44c847,_0x51e64d)=>{const _0x34f988=_0x55297d;if(_0x332b48[_0x34f988(0xfb)]<=0x0||_0x332b48[_0x34f988(0x37b)]<=0x0||_0x44c847<=0x0||_0x51e64d<=0x0)return;let _0x433d9b=Math[_0x34f988(0x360)](_0x44c847/_0x332b48['width'],_0x51e64d/_0x332b48[_0x34f988(0x37b)]);!Number[_0x34f988(0xe5)](_0x433d9b)||_0x433d9b<=0x0||_0x2f7f93[_0x34f988(0x3d7)](_0x466a34=>{const _0x3c8e77=_0x34f988;if(_0x466a34['isReleased'])return;if(_0x466a34[_0x3c8e77(0xae)]!==null&&(_0x466a34[_0x3c8e77(0x28f)]['style'][_0x3c8e77(0x1d7)]('stroke-width')!==_0x466a34[_0x3c8e77(0xae)]||_0x466a34[_0x3c8e77(0x28f)]['style'][_0x3c8e77(0x1f9)](_0x3c8e77(0x23d))!==_0x466a34['strokeWidth'][_0x3c8e77(0xc2)])){_0x466a34[_0x3c8e77(0xae)]=null,_0x466a34[_0x3c8e77(0x1a6)]=!0x0;return;}let _0x521831=_0x466a34[_0x3c8e77(0x3d5)]*_0x1f251e/_0x433d9b,_0xb96ab=Number(_0x521831[_0x3c8e77(0x1e5)](0xc))+'px';_0x466a34[_0x3c8e77(0x28f)][_0x3c8e77(0xeb)]['setProperty'](_0x3c8e77(0x23d),_0xb96ab,_0x466a34[_0x3c8e77(0x403)][_0x3c8e77(0xc2)]),_0x466a34['appliedStrokeWidth']=_0xb96ab;});},_0x35363d=_0x19b89[_0x55297d(0x1a3)]();_0x423690(_0x35363d['width'],_0x35363d[_0x55297d(0x37b)]);let _0x308ce3=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x33f228=>{const _0x5ce3ae=_0x55297d;if(_0x33f228[_0x5ce3ae(0x23a)](_0x5aac39=>_0x5aac39[_0x5ce3ae(0x3b9)]===_0x19b89)){let _0x3ea33a=_0x19b89[_0x5ce3ae(0x1a3)]();_0x423690(_0x3ea33a[_0x5ce3ae(0xfb)],_0x3ea33a[_0x5ce3ae(0x37b)]);}});return _0x308ce3==null||_0x308ce3[_0x55297d(0x3b1)](_0x19b89),()=>{const _0x78bbf8=_0x55297d;_0x308ce3==null||_0x308ce3[_0x78bbf8(0x316)](),_0x2f7f93[_0x78bbf8(0x3d7)](_0x35f187=>{const _0x1b7fbf=_0x78bbf8;_0x35f187[_0x1b7fbf(0xae)]!==null&&(_0xea798(_0x35f187[_0x1b7fbf(0x28f)][_0x1b7fbf(0xeb)],_0x1b7fbf(0x23d),_0x35f187[_0x1b7fbf(0xae)],_0x35f187[_0x1b7fbf(0x403)][_0x1b7fbf(0xc2)],_0x35f187[_0x1b7fbf(0x403)]),!_0x35f187[_0x1b7fbf(0x249)]&&_0x35f187[_0x1b7fbf(0x28f)][_0x1b7fbf(0xeb)][_0x1b7fbf(0xbe)]===0x0&&_0x35f187[_0x1b7fbf(0x28f)][_0x1b7fbf(0x1e3)]('style'));});};}function _0x3ffd12(_0x28f68a,_0x5be34b){const _0x38ef35=_0x4ea115;return{'priority':_0x28f68a[_0x38ef35(0x1f9)](_0x5be34b),'value':_0x28f68a[_0x38ef35(0x1d7)](_0x5be34b)};}function _0xea798(_0x56dfcc,_0x5e0bfc,_0x2cfd3e,_0x1e2535,_0x1bb88c){const _0x3b8258=_0x4ea115;_0x56dfcc['getPropertyValue'](_0x5e0bfc)===_0x2cfd3e&&_0x56dfcc[_0x3b8258(0x1f9)](_0x5e0bfc)===_0x1e2535&&(_0x1bb88c[_0x3b8258(0x115)]?_0x56dfcc[_0x3b8258(0xee)](_0x5e0bfc,_0x1bb88c[_0x3b8258(0x115)],_0x1bb88c['priority']):_0x56dfcc[_0x3b8258(0xd2)](_0x5e0bfc));}_0x344428['displayName']=_0x4ea115(0xb4);let _0x335f5e={'tag':'svg','attrs':{'xmlns':_0x4ea115(0x9e),'fill':'none','viewBox':_0x4ea115(0x117),'width':_0x4ea115(0x3ed),'height':'1em'},'children':[{'tag':_0x4ea115(0xde),'attrs':{'fill':_0x4ea115(0x147),'d':'M14.0045\x204.4334C14.8881\x204.4334\x2015.6045\x203.71705\x2015.6045\x202.8334C15.6045\x201.94974\x2014.8881\x201.2334\x2014.0045\x201.2334H3.70449C2.82084\x201.2334\x202.10449\x201.94974\x202.10449\x202.8334C2.10449\x203.71705\x202.82084\x204.4334\x203.70449\x204.4334H14.0045ZM14.4045\x202.8334C14.4045\x203.05431\x2014.2254\x203.2334\x2014.0045\x203.2334H3.70449C3.48358\x203.2334\x203.30449\x203.05431\x203.30449\x202.8334C3.30449\x202.61248\x203.48358\x202.4334\x203.70449\x202.4334H14.0045C14.2254\x202.4334\x2014.4045\x202.61249\x2014.4045\x202.8334Z','fillRule':_0x4ea115(0x210),'clipRule':_0x4ea115(0x210)}},{'tag':_0x4ea115(0xde),'attrs':{'fill':_0x4ea115(0x147),'d':_0x4ea115(0x2d8),'fillRule':'evenodd','clipRule':_0x4ea115(0x210)}},{'tag':_0x4ea115(0xde),'attrs':{'fill':_0x4ea115(0x147),'d':_0x4ea115(0x1c6)}},{'tag':_0x4ea115(0xde),'attrs':{'fill':_0x4ea115(0x147),'d':'M8.57975\x2014.5902C8.58121\x2014.5917\x208.58268\x2014.5931\x208.58416\x2014.5946C8.64077\x2014.6502\x208.70566\x2014.6923\x208.77482\x2014.7209C8.84557\x2014.7502\x208.92314\x2014.7664\x209.00449\x2014.7664C9.08585\x2014.7664\x209.16342\x2014.7502\x209.23416\x2014.7209C9.30332\x2014.6923\x209.36821\x2014.6502\x209.42482\x2014.5946'}}]},_0x32945e=(0x0,_0x18e885[_0x4ea115(0x198)])(function(_0x468aef,_0x1c8bb8){const _0x4910ee=_0x4ea115;return(0x0,_0x18e885[_0x4910ee(0x30d)])(_0x344428,Object[_0x4910ee(0x1ab)]({},_0x468aef,{'id':'bottom-icon','ref':_0x1c8bb8,'icon':_0x335f5e}));});_0x32945e[_0x4ea115(0x3a4)]=_0x4ea115(0x401);let _0x2ce878={'tag':_0x4ea115(0x12b),'attrs':{'xmlns':_0x4ea115(0x9e),'fill':_0x4ea115(0x3c4),'viewBox':_0x4ea115(0x2b4),'width':_0x4ea115(0x3ed),'height':_0x4ea115(0x3ed)},'children':[{'tag':_0x4ea115(0xde),'attrs':{'fill':'currentColor','d':_0x4ea115(0x9d),'fillRule':_0x4ea115(0x210),'clipRule':_0x4ea115(0x210)}}]},_0x345ed1=(0x0,_0x18e885[_0x4ea115(0x198)])(function(_0x266223,_0x3115d2){return(0x0,_0x18e885['createElement'])(_0x344428,Object['assign']({},_0x266223,{'id':'more-down-icon','ref':_0x3115d2,'icon':_0x2ce878}));});_0x345ed1[_0x4ea115(0x3a4)]=_0x4ea115(0x3ee);let _0x4be27f={'tag':_0x4ea115(0x12b),'attrs':{'xmlns':_0x4ea115(0x9e),'fill':_0x4ea115(0x3c4),'viewBox':_0x4ea115(0x2b4),'width':_0x4ea115(0x3ed),'height':'1em'},'children':[{'tag':_0x4ea115(0xde),'attrs':{'fill':'currentColor','d':'M4.64645\x209.85355C4.45118\x209.65829\x204.45118\x209.34171\x204.64645\x209.14645L7.64645\x206.14645C7.84171\x205.95118\x208.15829\x205.95118\x208.35355\x206.14645L11.3536\x209.14645C11.5488\x209.34171\x2011.5488\x209.65829\x2011.3536\x209.85355C11.1583\x2010.0488\x2010.8417\x2010.0488\x2010.6464\x209.85355L8\x207.20711L5.35355\x209.85355C5.15829\x2010.0488\x204.84171\x2010.0488\x204.64645\x209.85355Z','fillRule':'evenodd','clipRule':_0x4ea115(0x210)}}]},_0x38360f=(0x0,_0x18e885[_0x4ea115(0x198)])(function(_0xc6e3c4,_0x58e824){const _0x156cd4=_0x4ea115;return(0x0,_0x18e885[_0x156cd4(0x30d)])(_0x344428,Object[_0x156cd4(0x1ab)]({},_0xc6e3c4,{'id':_0x156cd4(0xe4),'ref':_0x58e824,'icon':_0x4be27f}));});_0x38360f[_0x4ea115(0x3a4)]='MoreUpIcon';let _0x133da7={'tag':_0x4ea115(0x12b),'attrs':{'xmlns':_0x4ea115(0x9e),'fill':_0x4ea115(0x3c4),'viewBox':'0\x200\x2016\x2016','width':_0x4ea115(0x3ed),'height':_0x4ea115(0x3ed)},'children':[{'tag':_0x4ea115(0xde),'attrs':{'fill':_0x4ea115(0x147),'d':_0x4ea115(0x3fa),'fillRule':'evenodd','clipRule':_0x4ea115(0x210)}},{'tag':_0x4ea115(0xde),'attrs':{'fill':'currentColor','d':_0x4ea115(0x2cf)}}]},_0x4f55f7=(0x0,_0x18e885[_0x4ea115(0x198)])(function(_0x54a7d8,_0x39d892){const _0x122618=_0x4ea115;return(0x0,_0x18e885[_0x122618(0x30d)])(_0x344428,Object[_0x122618(0x1ab)]({},_0x54a7d8,{'id':_0x122618(0x2f9),'ref':_0x39d892,'icon':_0x133da7}));});_0x4f55f7['displayName']=_0x4ea115(0x33a);let _0x799933={'tag':_0x4ea115(0x12b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4ea115(0x3c4),'viewBox':_0x4ea115(0x2b4),'width':'1em','height':_0x4ea115(0x3ed)},'children':[{'tag':_0x4ea115(0xde),'attrs':{'fill':_0x4ea115(0x147),'d':_0x4ea115(0x315),'fillRule':_0x4ea115(0x210),'clipRule':'evenodd'}},{'tag':'path','attrs':{'fill':_0x4ea115(0x147),'d':_0x4ea115(0x8c)}}]},_0x2c5f65=(0x0,_0x18e885[_0x4ea115(0x198)])(function(_0x1de1bc,_0x245831){const _0x2fc85f=_0x4ea115;return(0x0,_0x18e885[_0x2fc85f(0x30d)])(_0x344428,Object[_0x2fc85f(0x1ab)]({},_0x1de1bc,{'id':_0x2fc85f(0x17b),'ref':_0x245831,'icon':_0x799933}));});_0x2c5f65['displayName']='MoveUpIcon';let _0x40d325={'tag':_0x4ea115(0x12b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4ea115(0x3c4),'viewBox':_0x4ea115(0x2b4),'width':_0x4ea115(0x3ed),'height':_0x4ea115(0x3ed)},'children':[{'tag':_0x4ea115(0xde),'attrs':{'stroke':_0x4ea115(0x147),'d':'M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','strokeLinecap':_0x4ea115(0xb0),'strokeLinejoin':_0x4ea115(0xb0),'strokeWidth':1.3}},{'tag':_0x4ea115(0xde),'attrs':{'stroke':_0x4ea115(0x147),'d':_0x4ea115(0x14b),'strokeLinecap':'round','strokeLinejoin':_0x4ea115(0xb0),'strokeWidth':1.3}}]},_0x12045a=(0x0,_0x18e885[_0x4ea115(0x198)])(function(_0x58458d,_0x28c7e8){const _0x1a789f=_0x4ea115;return(0x0,_0x18e885['createElement'])(_0x344428,Object[_0x1a789f(0x1ab)]({},_0x58458d,{'id':_0x1a789f(0x407),'ref':_0x28c7e8,'icon':_0x40d325}));});_0x12045a['displayName']=_0x4ea115(0x2b7);let _0x431d8d={'tag':'svg','attrs':{'xmlns':_0x4ea115(0x9e),'fill':_0x4ea115(0x3c4),'viewBox':_0x4ea115(0x2b4),'width':_0x4ea115(0x3ed),'height':_0x4ea115(0x3ed)},'children':[{'tag':_0x4ea115(0xde),'attrs':{'stroke':_0x4ea115(0x147),'d':_0x4ea115(0x1af),'strokeLinecap':'round','strokeLinejoin':_0x4ea115(0xb0),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x4ea115(0x147),'d':'M4.2\x205.5H10.5','strokeLinecap':_0x4ea115(0xb0),'strokeWidth':1.2}},{'tag':_0x4ea115(0xde),'attrs':{'stroke':'currentColor','d':_0x4ea115(0x3d8),'strokeLinecap':_0x4ea115(0xb0),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x4ea115(0x147),'d':_0x4ea115(0x114),'strokeLinejoin':'round'}},{'tag':_0x4ea115(0xde),'attrs':{'stroke':_0x4ea115(0x147),'d':_0x4ea115(0x2bc)}}]},_0x230f39=(0x0,_0x18e885[_0x4ea115(0x198)])(function(_0x4f551a,_0x3431e2){const _0xb4dffc=_0x4ea115;return(0x0,_0x18e885[_0xb4dffc(0x30d)])(_0x344428,Object[_0xb4dffc(0x1ab)]({},_0x4f551a,{'id':_0xb4dffc(0x364),'ref':_0x3431e2,'icon':_0x431d8d}));});_0x230f39['displayName']='ShapeFormatSettingIcon';let _0xa1765e={'tag':_0x4ea115(0x12b),'attrs':{'xmlns':_0x4ea115(0x9e),'fill':_0x4ea115(0x3c4),'viewBox':'0\x200\x2020\x2020','width':_0x4ea115(0x3ed),'height':_0x4ea115(0x3ed)},'children':[{'tag':_0x4ea115(0x1db),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':2.45,'fill':_0x4ea115(0x147),'rx':0.6}},{'tag':_0x4ea115(0x1db),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':6.1,'fill':_0x4ea115(0x147),'rx':0.6}},{'tag':_0x4ea115(0x1db),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':6.1,'fill':_0x4ea115(0x147),'rx':0.6}},{'tag':_0x4ea115(0x1db),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':9.4,'fill':_0x4ea115(0x147),'rx':0.6}},{'tag':_0x4ea115(0x1db),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':9.4,'fill':_0x4ea115(0x147),'rx':0.6}},{'tag':_0x4ea115(0x1db),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':12.7,'fill':_0x4ea115(0x147),'rx':0.6}},{'tag':_0x4ea115(0x1db),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':12.7,'fill':'currentColor','rx':0.6}},{'tag':_0x4ea115(0x1db),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':16.35,'fill':_0x4ea115(0x147),'rx':0.6}},{'tag':_0x4ea115(0xde),'attrs':{'fill':_0x4ea115(0x147),'d':_0x4ea115(0xc3),'fillRule':_0x4ea115(0x210),'clipRule':_0x4ea115(0x210)}}]},_0xe5ab3d=(0x0,_0x18e885[_0x4ea115(0x198)])(function(_0x6d6d02,_0x1e787b){const _0x5530e3=_0x4ea115;return(0x0,_0x18e885[_0x5530e3(0x30d)])(_0x344428,Object[_0x5530e3(0x1ab)]({},_0x6d6d02,{'id':_0x5530e3(0x96),'ref':_0x1e787b,'icon':_0xa1765e}));});_0xe5ab3d[_0x4ea115(0x3a4)]=_0x4ea115(0xfe);let _0x43d24e={'tag':'svg','attrs':{'xmlns':_0x4ea115(0x9e),'fill':_0x4ea115(0x3c4),'viewBox':_0x4ea115(0x117),'width':'1em','height':_0x4ea115(0x3ed)},'children':[{'tag':_0x4ea115(0xde),'attrs':{'fill':_0x4ea115(0x147),'d':_0x4ea115(0xed)}},{'tag':_0x4ea115(0xde),'attrs':{'fill':_0x4ea115(0x147),'d':_0x4ea115(0x1f1),'fillRule':_0x4ea115(0x210),'clipRule':_0x4ea115(0x210)}},{'tag':_0x4ea115(0xde),'attrs':{'fill':_0x4ea115(0x147),'d':_0x4ea115(0x2a7),'fillRule':_0x4ea115(0x210),'clipRule':_0x4ea115(0x210)}}]},_0x33a0d3=(0x0,_0x18e885[_0x4ea115(0x198)])(function(_0x17799f,_0x36f0d3){const _0x4cec06=_0x4ea115;return(0x0,_0x18e885[_0x4cec06(0x30d)])(_0x344428,Object[_0x4cec06(0x1ab)]({},_0x17799f,{'id':_0x4cec06(0x245),'ref':_0x36f0d3,'icon':_0x43d24e}));});_0x33a0d3['displayName']=_0x4ea115(0x3c5);function _0x203fd8(_0x3c8eed){const _0x1290ce=_0x4ea115;return(0x0,_0x4b014e[_0x1290ce(0xaa)])(_0x4e301f,{..._0x3c8eed,'PickerComponent':_0x1bc9bf['MobileShapePickerPanel']});}function _0x4df747(){const _0x31b340=_0x4ea115;let _0x5b1688=(0x0,_0x446708[_0x31b340(0x389)])(_0x5bc1cc[_0x31b340(0x243)]),_0xa61f2a=_0x1406e3(),[_0x56ff29,_0x33d9e2]=(0x0,_0x18e885[_0x31b340(0x15d)])(!0x1);return(0x0,_0x4b014e['jsxs'])(_0x31b340(0xd8),{'className':_0x31b340(0x94),'children':[(0x0,_0x4b014e['jsx'])(_0x48b50a['MobileActionRow'],{'title':_0x5b1688['t'](_0x31b340(0x349)),'aria-expanded':_0x56ff29,'variant':'subtle','trailing':_0x56ff29?(0x0,_0x4b014e['jsx'])(_0x38360f,{}):(0x0,_0x4b014e['jsx'])(_0x345ed1,{}),'onClick':()=>_0x33d9e2(_0xa28f81=>!_0xa28f81)}),_0x56ff29&&(0x0,_0x4b014e[_0x31b340(0xaa)])(_0x1bc9bf[_0x31b340(0x319)],{'excludeGroups':[_0x1bc9bf['ShapeGroupEnum'][_0x31b340(0x3ab)]],'onShapeClick':_0x580fc6=>{_0xa61f2a(_0x580fc6),_0x33d9e2(!0x1);}})]});}function _0x5a4f2a(_0x2c7566){const _0x3155ee=_0x4ea115;return _0x2c7566[_0x3155ee(0x209)]()||void 0x0;}function _0x4396d2(_0x18a502,_0x128797,_0x24e8ee){const _0x2b6b64=_0x4ea115;var _0x1aa0e0,_0x24c0f8;return((_0x1aa0e0=_0x18a502[_0x2b6b64(0xd0)])==null?void 0x0:_0x1aa0e0[_0x2b6b64(0x209)]())||((_0x24c0f8=_0x18a502[_0x2b6b64(0x10a)])==null?void 0x0:_0x24c0f8[_0x2b6b64(0x209)]())||_0x24e8ee['t']('drawing-ui.objectListPanel.typeNames.'+(0x0,_0x1bc9bf[_0x2b6b64(0xfa)])(_0x18a502[_0x2b6b64(0x3a3)]))+'\x20'+(_0x128797+0x1);}function _0x37b32e({PanelComponent:_0x2b3363=_0x390061[_0x4ea115(0x271)]}){const _0x9b4591=_0x4ea115;let _0x26af31=(0x0,_0x446708['useDependency'])(_0x5bc1cc[_0x9b4591(0x243)]),_0x5cfdba={'title':_0x26af31['t'](_0x9b4591(0x2dc)),'empty':_0x26af31['t']('drawing-ui.objectListPanel.empty'),'showAll':_0x26af31['t'](_0x9b4591(0x365)),'hideAll':_0x26af31['t']('drawing-ui.objectListPanel.hideAll'),'lockAll':_0x26af31['t'](_0x9b4591(0x235)),'unlockAll':_0x26af31['t'](_0x9b4591(0x2bf)),'moveForward':_0x26af31['t']('drawing-ui.objectListPanel.moveForward'),'moveBackward':_0x26af31['t'](_0x9b4591(0x351)),'close':_0x26af31['t']('drawing-ui.objectListPanel.close'),'show':_0x26af31['t'](_0x9b4591(0x26d)),'hide':_0x26af31['t'](_0x9b4591(0x248)),'lock':_0x26af31['t'](_0x9b4591(0xe1)),'unlock':_0x26af31['t'](_0x9b4591(0xb9)),'lockHint':_0x26af31['t'](_0x9b4591(0x1f4)),'unlockHint':_0x26af31['t'](_0x9b4591(0x2d0)),'name':_0x26af31['t'](_0x9b4591(0x323)),'nameInput':_0x26af31['t'](_0x9b4591(0x219)),'description':_0x26af31['t'](_0x9b4591(0x1cd)),'descriptionPlaceholder':_0x26af31['t'](_0x9b4591(0x1a2)),'details':_0x26af31['t'](_0x9b4591(0x3af)),'noSelection':_0x26af31['t']('drawing-ui.objectListPanel.noSelection'),'locate':_0x26af31['t']('drawing-ui.objectListPanel.locate'),'expand':_0x26af31['t']('drawing-ui.objectListPanel.expand'),'collapse':_0x26af31['t'](_0x9b4591(0x2a3)),'dragToReorder':_0x26af31['t'](_0x9b4591(0x39f)),'search':_0x26af31['t'](_0x9b4591(0x353)),'filterAll':_0x26af31['t']('drawing-ui.objectListPanel.filterAll'),'filterHidden':_0x26af31['t']('drawing-ui.objectListPanel.filterHidden'),'filterLocked':_0x26af31['t'](_0x9b4591(0x2d7)),'sectionCanvas':_0x26af31['t'](_0x9b4591(0x2ae)),'sectionFloating':_0x26af31['t'](_0x9b4591(0x1cf))},_0x48cc5f=(0x0,_0x446708[_0x9b4591(0x389)])(_0x5bc1cc[_0x9b4591(0x2db)]),_0x5f87e7=(0x0,_0x446708[_0x9b4591(0x389)])(_0x5bc1cc[_0x9b4591(0x18e)]),_0x3dfbac=(0x0,_0x446708[_0x9b4591(0x389)])(_0x1c356f[_0x9b4591(0x1a1)]),_0x1e14e4=(0x0,_0x446708['useDependency'])(_0x3cf577[_0x9b4591(0x214)]),_0x1943b1=(0x0,_0x446708[_0x9b4591(0x389)])(_0x24aff0[_0x9b4591(0x377)]),[,_0x13c0f0]=(0x0,_0x18e885[_0x9b4591(0x21e)])(_0x236f94=>_0x236f94+0x1,0x0),_0x1b2951=_0x5f87e7[_0x9b4591(0x2a5)](_0x5bc1cc[_0x9b4591(0x1ee)][_0x9b4591(0x310)]),_0x593233=(_0x1b2951==null?void 0x0:_0x1b2951[_0x9b4591(0x1e4)]())??'',_0x3f35ce=_0x593233,_0x54f8e6=(0x0,_0x446708[_0x9b4591(0x1e1)])(()=>_0x1e14e4[_0x9b4591(0x2ff)],_0x1e14e4[_0x9b4591(0x2dd)](),!0x1,[_0x1e14e4]);(0x0,_0x18e885[_0x9b4591(0x38b)])(()=>{const _0x340a1b=_0x9b4591;let _0x158668=_0x48cc5f[_0x340a1b(0x1b5)](()=>_0x13c0f0());return()=>_0x158668[_0x340a1b(0x17a)]();},[_0x48cc5f]);let _0x3a2e5d=_0x593233?_0x3dfbac['getDrawingData'](_0x593233,_0x3f35ce):{},_0x2baa5e=(_0x593233?_0x3dfbac['getDrawingOrder'](_0x593233,_0x3f35ce):[])[_0x9b4591(0x3ca)](_0x1a6949=>_0x3a2e5d[_0x1a6949])[_0x9b4591(0x2e8)](_0x1fda80=>!!_0x1fda80)[_0x9b4591(0xff)](),_0x594e1a=_0x2baa5e[_0x9b4591(0x1a0)]((_0x16db39,_0xb5ceb3)=>(_0x16db39[(0x0,_0x390061['getObjectListPanelSectionIdForDrawingType'])(_0xb5ceb3[_0x9b4591(0x3a3)])]+=0x1,_0x16db39),{'canvas':0x0,'floating':0x0}),_0x548af2={'canvas':0x0,'floating':0x0},_0x18bb5a=_0x2baa5e[_0x9b4591(0x3ca)]((_0xcc6406,_0x4f62f2)=>{const _0x3d47e7=_0x9b4591;let _0x4bed14=(0x0,_0x390061[_0x3d47e7(0x3b5)])(_0xcc6406[_0x3d47e7(0x3a3)]),_0x4b9247=_0x4bed14===_0x390061[_0x3d47e7(0x20a)],_0x3ad1a6=_0x548af2[_0x4bed14]++;return{'id':_0xcc6406[_0x3d47e7(0x408)],'name':_0x4396d2(_0xcc6406,_0x4f62f2,_0x26af31),'description':_0xcc6406[_0x3d47e7(0xc9)],'visible':_0xcc6406[_0x3d47e7(0x2c6)]!==!0x0,'selectable':_0xcc6406[_0x3d47e7(0x202)]!==!0x1,'sectionId':_0x4bed14,'sectionTitle':_0x4b9247?_0x5cfdba[_0x3d47e7(0x3ce)]:_0x5cfdba['sectionCanvas'],'capabilities':_0x4b9247?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x4b9247&&_0x3ad1a6>0x0,'canMoveBackward':!_0x4b9247&&_0x3ad1a6<_0x594e1a[_0x3d47e7(0x2e0)]-0x1,'canReorder':!_0x4b9247};}),_0x5b4f6f=(0x0,_0x18e885['useMemo'])(()=>(_0x54f8e6??[])['filter'](_0x35182f=>_0x35182f[_0x9b4591(0x18f)]===_0x593233&&_0x35182f[_0x9b4591(0x199)]===_0x3f35ce)['map'](_0xf6de10=>_0xf6de10['drawingId']),[_0x54f8e6,_0x3f35ce,_0x593233]),_0x2bad1d=_0x5b4f6f[_0x5b4f6f[_0x9b4591(0xbe)]-0x1]??null,_0x380414=_0x524998=>_0x3dfbac[_0x9b4591(0x3ba)]({'unitId':_0x593233,'subUnitId':_0x3f35ce,'drawingId':_0x524998})??null,_0x308c49=async _0x1e3d96=>{const _0x4549f4=_0x9b4591;_0x593233&&_0x1e3d96[_0x4549f4(0xbe)]&&await _0x48cc5f[_0x4549f4(0x217)](_0x1897fd[_0x4549f4(0xf6)]['id'],{'unitId':_0x593233,'patches':_0x1e3d96});},_0x323298=(_0x18cb79,_0x14512e)=>{const _0x31f76c=_0x9b4591;if(!_0x593233)return;let _0x56d8b3=_0x14512e?_0x5b4f6f[_0x31f76c(0x3a0)](_0x18cb79)?_0x5b4f6f[_0x31f76c(0x2e8)](_0x16261a=>_0x16261a!==_0x18cb79):[..._0x5b4f6f,_0x18cb79]:[_0x18cb79];_0x48cc5f[_0x31f76c(0x35f)](_0x3cf577[_0x31f76c(0x24c)]['id'],_0x56d8b3['map'](_0x37297e=>({'unitId':_0x593233,'subUnitId':_0x3f35ce,'drawingId':_0x37297e})));let _0x595763=_0x56d8b3[_0x56d8b3[_0x31f76c(0xbe)]-0x1];_0x595763?(0x0,_0x1bc9bf['activateDrawingObject'])(_0x1943b1,{'unitId':_0x593233,'subUnitId':_0x3f35ce,'drawingId':_0x595763}):(0x0,_0x1bc9bf[_0x31f76c(0xf0)])(_0x1943b1,_0x593233);},_0x3acee0=async(_0x5d6692,_0x2f0017)=>{const _0x37d516=_0x9b4591;await _0x308c49(_0x5d6692[_0x37d516(0x3ca)](_0x3a363f=>_0x380414(_0x3a363f))[_0x37d516(0x2e8)](_0x2770ff=>!!_0x2770ff)[_0x37d516(0x2e8)](_0x4e15db=>_0x4e15db[_0x37d516(0x2c6)]!==!0x0!==_0x2f0017)[_0x37d516(0x3ca)](_0x431f19=>({'drawingId':_0x431f19[_0x37d516(0x408)],'hidden':!_0x2f0017})));},_0x3ff70f=async(_0x3b6347,_0xec7828)=>{const _0x2ed19a=_0x9b4591;await _0x308c49(_0x3b6347['map'](_0x67f6de=>_0x380414(_0x67f6de))['filter'](_0x5512ff=>!!_0x5512ff)[_0x2ed19a(0x2e8)](_0xd8a990=>_0xd8a990[_0x2ed19a(0x202)]!==!0x1!==_0xec7828)[_0x2ed19a(0x3ca)](_0x5b42da=>({'drawingId':_0x5b42da[_0x2ed19a(0x408)],'selectable':_0xec7828})));},_0x4b195d=_0x257206=>{const _0x13c23a=_0x9b4591;let _0x45aa13=_0x380414(_0x257206);if(_0x45aa13)return _0x3ff70f([_0x257206],_0x45aa13[_0x13c23a(0x202)]===!0x1);},_0x222d7f=async(_0x17bd18,_0x32751e)=>{const _0x5bc4b8=_0x9b4591;let _0x4301a3=_0x380414(_0x17bd18),_0x45b5b6=_0x5a4f2a(_0x32751e);!_0x4301a3||(_0x4301a3[_0x5bc4b8(0xd0)]??void 0x0)===_0x45b5b6&&(_0x4301a3[_0x5bc4b8(0x10a)]||void 0x0)===_0x45b5b6||await _0x308c49([{'drawingId':_0x17bd18,'name':_0x45b5b6,'title':_0x45b5b6}]);},_0xef5c3e=async(_0x3aef3b,_0x4913ae)=>{const _0x4eadff=_0x9b4591;let _0x5c50b5=_0x380414(_0x3aef3b),_0x50d279=_0x5a4f2a(_0x4913ae);_0x5c50b5&&(_0x5c50b5[_0x4eadff(0xc9)]??void 0x0)!==_0x50d279&&await _0x308c49([{'drawingId':_0x3aef3b,'description':_0x50d279}]);},_0x3281bf=async(_0x4e800c,_0x1acd37)=>{const _0x36be12=_0x9b4591;_0x593233&&await _0x48cc5f['executeCommand'](_0x1c356f[_0x36be12(0x231)]['id'],{'unitId':_0x593233,'subUnitId':_0x3f35ce,'drawingIds':[_0x4e800c],'arrangeType':_0x1acd37});};return _0x593233?(0x0,_0x4b014e['jsx'])(_0x2b3363,{'labels':_0x5cfdba,'renderPermissionAction':_0x40401d=>_0x1b2951?(0x0,_0x4b014e[_0x9b4591(0xaa)])(_0x446708[_0x9b4591(0x372)],{'target':{'unitId':_0x593233,'objectId':(0x0,_0x42aa76[_0x9b4591(0x28b)])((0x0,_0x42aa76[_0x9b4591(0x2d2)])(_0x1b2951,_0x40401d['id']),_0x9b4591(0x31d),_0x40401d['id']),'objectType':_0x49f26c['UnitObject'][_0x9b4591(0x387)]},'name':_0x40401d[_0x9b4591(0xd0)],'commandId':_0x42aa76[_0x9b4591(0x247)]['id'],'exists':()=>!!_0x380414(_0x40401d['id'])},_0x593233+'/'+_0x40401d['id']):null,'items':_0x18bb5a,'selectedIds':_0x5b4f6f,'focusedId':_0x2bad1d,'showHeader':!0x1,'onSelect':_0x323298,'onSetVisible':_0x3acee0,'onSetSelectable':_0x3ff70f,'onCommitName':_0x222d7f,'onCommitDescription':_0xef5c3e,'onMoveForward':async _0x5f40a8=>_0x3281bf(_0x5f40a8,_0x5bc1cc[_0x9b4591(0x3c0)][_0x9b4591(0x21b)]),'onMoveBackward':async _0x2d5c36=>_0x3281bf(_0x2d5c36,_0x5bc1cc[_0x9b4591(0x3c0)][_0x9b4591(0x2e2)]),'onToggleSelectable':_0x4b195d}):(0x0,_0x4b014e[_0x9b4591(0xaa)])(_0x9b4591(0xd8),{'className':_0x9b4591(0x19d),'children':_0x5cfdba[_0x9b4591(0x10a)]});}function _0x79c86c(){const _0x29c89c=_0x4ea115;return(0x0,_0x4b014e['jsx'])(_0x37b32e,{'PanelComponent':_0x390061[_0x29c89c(0x36c)]});}let _0x298f44=class{constructor(_0x1de883){const _0x5af6ec=_0x4ea115;this[_0x5af6ec(0x167)]=_0x1de883;}[_0x4ea115(0x359)](_0x4fbad7,_0x3bea02){const _0x563ba2=_0x4ea115;let _0x283578=this[_0x563ba2(0x167)][_0x563ba2(0x290)](_0x4fbad7[_0x563ba2(0x18f)]),_0xf3f29f=_0x283578==null?void 0x0:_0x283578['scene'];if(!_0xf3f29f)return;let _0x26ac05=(0x0,_0x3cf577[_0x563ba2(0x14a)])(_0x4fbad7),_0x3fb345=_0xf3f29f[_0x563ba2(0x179)](_0x26ac05);_0x3fb345==null||_0x3fb345['setFillImage'](_0x3bea02);}};_0x298f44=_0x555290([_0x379978(0x0,_0x24aff0[_0x4ea115(0x377)])],_0x298f44);function _0x587d36(){const _0x398d79=_0x4ea115;let _0xfebd91=(0x0,_0x446708[_0x398d79(0x389)])(_0x3cf577[_0x398d79(0x214)]),_0x2a5d4c=(0x0,_0x446708['useObservable'])(()=>_0xfebd91[_0x398d79(0x2ff)],_0xfebd91[_0x398d79(0x2dd)](),!0x1,[_0xfebd91]);return _0x2a5d4c[_0x398d79(0xbe)]===0x0?null:(0x0,_0x4b014e['jsx'])(_0x398d79(0xd8),{'children':(0x0,_0x4b014e['jsxs'])(_0x398d79(0xd8),{'className':_0x398d79(0xdb),'children':[(0x0,_0x4b014e[_0x398d79(0xaa)])(_0x390061[_0x398d79(0x261)],{'drawings':_0x2a5d4c,'hasCropper':!0x1}),(0x0,_0x4b014e[_0x398d79(0xaa)])(_0x24a9ae[_0x398d79(0x216)],{'drawings':_0x2a5d4c}),(0x0,_0x4b014e['jsx'])(_0x24a9ae[_0x398d79(0x3e1)],{'drawings':_0x2a5d4c})]})});}function _0x2e5427(_0x4191b2){const _0x125ea5=_0x4ea115;let {unitId:_0x347ba0,subUnitId:_0x254cc9,shapeId:_0x154b34,PositionComponent:_0x5ca043=_0x587d36}=_0x4191b2,_0x443f72=(0x0,_0x446708[_0x125ea5(0x389)])(_0x5bc1cc[_0x125ea5(0x2db)]),_0x182fb7=(0x0,_0x446708['useDependency'])(_0x298f44);return(0x0,_0x4b014e['jsx'])(_0x1bc9bf['ShapeEditPanel'],{..._0x4191b2,'positionEditor':(0x0,_0x4b014e['jsx'])(_0x5ca043,{}),'onUpdateShapeData':(_0x2b1ee0,_0x60424d)=>{_0x9420a0(_0x443f72,_0x347ba0,_0x254cc9,_0x154b34,_0x2b1ee0,_0x60424d);},'onUpdateLineShapeData':(_0x333fd0,_0x1f840a)=>{_0x3174af(_0x443f72,_0x347ba0,_0x254cc9,_0x154b34,_0x333fd0,_0x1f840a);},'onUpdateShapeFillImage':_0x158ec0=>{const _0x64555f=_0x125ea5;_0x182fb7[_0x64555f(0x359)]({'unitId':_0x347ba0,'subUnitId':_0x254cc9,'drawingId':_0x154b34},_0x158ec0);}});}function _0x33d8ed(){const _0x13b808=_0x4ea115;let _0x12aa6c=(0x0,_0x446708['useDependency'])(_0x3cf577['IDrawingManagerService']),_0x221005=(0x0,_0x446708[_0x13b808(0x1e1)])(_0x12aa6c[_0x13b808(0x2ff)],_0x12aa6c[_0x13b808(0x2dd)]());return _0x221005['length']===0x0?null:(0x0,_0x4b014e[_0x13b808(0x137)])('div',{'className':_0x13b808(0x279),'children':[(0x0,_0x4b014e[_0x13b808(0xaa)])(_0x390061[_0x13b808(0x261)],{'drawings':_0x221005,'hasCropper':!0x1}),(0x0,_0x4b014e[_0x13b808(0xaa)])(_0x24a9ae['MobileDocDrawingTextWrap'],{'drawings':_0x221005}),(0x0,_0x4b014e[_0x13b808(0xaa)])(_0x24a9ae[_0x13b808(0x10c)],{'drawings':_0x221005})]});}function _0x5a8298(_0x26dfa5){const _0x1cda9d=_0x4ea115;return(0x0,_0x4b014e[_0x1cda9d(0xaa)])(_0x1bc9bf[_0x1cda9d(0xcf)],{'children':(0x0,_0x4b014e[_0x1cda9d(0xaa)])(_0x2e5427,{..._0x26dfa5,'PositionComponent':_0x33d8ed})});}function _0x444fe5({popup:_0x5b182a}){const _0x18fa97=_0x4ea115;let _0x34cf95=(0x0,_0x446708[_0x18fa97(0x389)])(_0x5bc1cc[_0x18fa97(0x243)]),{shapeType:_0x518cbf,onText:_0x59122f,onStyle:_0x32245e,onDelete:_0x4d4ca5}=_0x5b182a['extraProps'],_0x5102f0=[{'key':_0x18fa97(0x3e5),'order':0x0,'item':{'id':'text','type':_0x446708['MenuItemType'][_0x18fa97(0x398)],'title':_0x34cf95['t'](_0x18fa97(0x288)),'disabled$':(0x0,_0x587404['of'])((0x0,_0x349291['isConnectorShape'])(_0x518cbf))}},{'key':_0x18fa97(0xeb),'order':0x1,'item':{'id':_0x18fa97(0xeb),'type':_0x446708['MenuItemType'][_0x18fa97(0x398)],'title':_0x34cf95['t'](_0x18fa97(0x356))}},{'key':_0x18fa97(0x284),'order':0x2,'item':{'id':_0x18fa97(0x284),'type':_0x446708[_0x18fa97(0x367)]['BUTTON'],'title':_0x34cf95['t']('docs-shape-ui.mobile.delete')}}];return(0x0,_0x4b014e[_0x18fa97(0xaa)])(_0x446708['MobileMenu'],{'schemas':_0x5102f0,'presentation':'context-bar','onOptionSelect':async({id:_0x5e116d})=>{const _0x369073=_0x18fa97;_0x5e116d==='text'?await _0x59122f():_0x5e116d===_0x369073(0xeb)?await _0x32245e():_0x5e116d===_0x369073(0x284)&&await _0x4d4ca5();}});}let _0x300198=_0x4ea115(0x40d);function _0x277c61(_0x59ce55,_0x19d6a7){const _0x4bedbf=_0x4ea115;var _0x3fe81c;let _0x350f4c=_0x59ce55==null||(_0x3fe81c=_0x59ce55['getSnapshot']()[_0x4bedbf(0x163)])==null?void 0x0:_0x3fe81c[_0x19d6a7];return _0x350f4c?_0x350f4c[_0x4bedbf(0x109)]===_0x5bc1cc['PositionedObjectLayoutType'][_0x4bedbf(0x36a)]?_0x350f4c[_0x4bedbf(0x2a2)]===_0x5bc1cc[_0x4bedbf(0x26e)]['TRUE']?_0x1c356f[_0x4bedbf(0xc4)][_0x4bedbf(0x32a)]:_0x1c356f[_0x4bedbf(0xc4)][_0x4bedbf(0x346)]:_0x350f4c[_0x4bedbf(0x109)]===_0x5bc1cc[_0x4bedbf(0x342)]['WRAP_SQUARE']?_0x1c356f['TextWrappingStyle'][_0x4bedbf(0x246)]:_0x350f4c[_0x4bedbf(0x109)]===_0x5bc1cc['PositionedObjectLayoutType'][_0x4bedbf(0x238)]?_0x1c356f[_0x4bedbf(0xc4)]['WRAP_TOP_AND_BOTTOM']:_0x1c356f[_0x4bedbf(0xc4)]['INLINE']:_0x1c356f[_0x4bedbf(0xc4)][_0x4bedbf(0x3e4)];}function _0x1573e3(_0x286119){const _0x59bc1b=_0x4ea115;let _0x26814e=(0x0,_0x446708[_0x59bc1b(0x389)])(_0x1bc9bf[_0x59bc1b(0x22f)]),_0x4e342a=(0x0,_0x446708[_0x59bc1b(0x1e1)])(()=>_0x26814e[_0x59bc1b(0x28d)],_0x26814e['getVisible'](),!0x1,[_0x26814e]),_0x2d5f17=_0x286119['popup'][_0x59bc1b(0xe6)];return _0x4e342a?(0x0,_0x4b014e['jsx'])(_0x46acdc,{..._0x2d5f17,'canvasElement':_0x286119[_0x59bc1b(0x156)]['canvasElement']}):null;}function _0x46acdc(_0x113bcc){const _0x38a583=_0x4ea115;let _0x2a0e70=(0x0,_0x446708['useDependency'])(_0x5bc1cc[_0x38a583(0x2db)]),_0x2688b7=(0x0,_0x446708[_0x38a583(0x389)])(_0x5bc1cc['LocaleService']),_0x251a33=(0x0,_0x446708['useDependency'])(_0x1897fd[_0x38a583(0x293)]),_0x1b50db=(0x0,_0x446708[_0x38a583(0x389)])(_0x5bc1cc[_0x38a583(0x18e)]),{unitId:_0x4eb6c8,subUnitId:_0x571a70,drawingId:_0x19163d,shapeType:_0x2f6cd0}=_0x113bcc,[_0x1df8a0,_0x4d3840]=(0x0,_0x18e885[_0x38a583(0x15d)])(_0x113bcc[_0x38a583(0x12e)]),_0x39e156=_0x1b50db[_0x38a583(0x1f8)](_0x4eb6c8,_0x5bc1cc[_0x38a583(0x1ee)][_0x38a583(0x310)])??void 0x0,[_0x1fcca2,_0x125222]=(0x0,_0x18e885[_0x38a583(0x15d)])(()=>_0x277c61(_0x39e156,_0x19163d)),_0xe4669d=(0x0,_0x18e885[_0x38a583(0x1e7)])(()=>(0x0,_0x1bc9bf['getTextStyle'])(_0x1df8a0),[_0x1df8a0]),_0x364fc5=(0x0,_0x18e885[_0x38a583(0x1e7)])(()=>(0x0,_0x1bc9bf[_0x38a583(0x205)])(_0x1df8a0),[_0x1df8a0]);(0x0,_0x18e885[_0x38a583(0x38b)])(()=>{const _0x5e570a=_0x38a583;let _0x3537c0=_0x2a0e70[_0x5e570a(0x1b5)](_0x86a5a5=>{const _0x52fc83=_0x5e570a;if(_0x86a5a5['id']!==_0x1897fd[_0x52fc83(0x130)]['id'])return;let _0x13c6b9=_0x251a33[_0x52fc83(0x3e9)](_0x4eb6c8,_0x571a70,_0x19163d);_0x13c6b9&&_0x4d3840(_0x13c6b9);});return()=>_0x3537c0[_0x5e570a(0x17a)]();},[_0x2a0e70,_0x251a33,_0x19163d,_0x571a70,_0x4eb6c8]);let _0x3394c6=_0xe0dd0c=>{_0x4d3840(_0x20619f=>({..._0x20619f,..._0xe0dd0c}));},_0x4c7dad=_0x4a40e3=>{const _0x614fce=_0x38a583;let _0x2ec3b8=(0x0,_0x1bc9bf[_0x614fce(0x192)])(_0x1df8a0,_0x4a40e3);_0x9420a0(_0x2a0e70,_0x4eb6c8,_0x571a70,_0x19163d,{'oldShapeData':{'shapeText':_0x1df8a0[_0x614fce(0x186)]}},_0x2ec3b8),_0x3394c6(_0x2ec3b8);},_0x13c699=_0x1ebc46=>{const _0x4c74a8=_0x38a583;_0x125222(_0x1ebc46),_0x2a0e70[_0x4c74a8(0x217)](_0x1c356f['UpdateDocDrawingWrappingStyleCommand']['id'],{'unitId':_0x4eb6c8,'subUnitId':_0x571a70,'drawings':[{'unitId':_0x4eb6c8,'subUnitId':_0x571a70,'drawingId':_0x19163d}],'wrappingStyle':_0x1ebc46});},_0x5dcec8=(0x0,_0x1bc9bf[_0x38a583(0x1d6)])({'hostType':_0x5bc1cc[_0x38a583(0x1ee)][_0x38a583(0x310)],'unitId':_0x4eb6c8,'subUnitId':_0x571a70,'shapeId':_0x19163d,'shapeData':_0x1df8a0,'onUpdateBinding':_0xf6d5f1=>{const _0x5ac820=_0x38a583;let _0xf5bd0c={'formulaBinding':_0xf6d5f1};_0x9420a0(_0x2a0e70,_0x4eb6c8,_0x571a70,_0x19163d,{'oldShapeData':{'formulaBinding':_0x1df8a0[_0x5ac820(0x1eb)]}},_0xf5bd0c),_0x3394c6(_0xf5bd0c);}}),_0xf7cc58=[{'label':_0x2688b7['t'](_0x38a583(0x92)),'value':_0x1c356f['TextWrappingStyle'][_0x38a583(0x3e4)],'icon':(0x0,_0x4b014e[_0x38a583(0xaa)])(_0xe5ab3d,{})},{'label':_0x2688b7['t'](_0x38a583(0x3fd)),'value':_0x1c356f[_0x38a583(0xc4)]['WRAP_SQUARE'],'icon':(0x0,_0x4b014e[_0x38a583(0xaa)])(_0xe5ab3d,{})},{'label':_0x2688b7['t']('docs-shape-ui.textWrap.topAndBottom'),'value':_0x1c356f[_0x38a583(0xc4)]['WRAP_TOP_AND_BOTTOM'],'icon':(0x0,_0x4b014e[_0x38a583(0xaa)])(_0xe5ab3d,{})},{'label':_0x2688b7['t'](_0x38a583(0xd7)),'value':_0x1c356f[_0x38a583(0xc4)]['BEHIND_TEXT'],'icon':(0x0,_0x4b014e['jsx'])(_0xe5ab3d,{})},{'label':_0x2688b7['t']('docs-shape-ui.textWrap.inFrontText'),'value':_0x1c356f[_0x38a583(0xc4)][_0x38a583(0x346)],'icon':(0x0,_0x4b014e[_0x38a583(0xaa)])(_0xe5ab3d,{})}];return(0x0,_0x4b014e[_0x38a583(0x137)])(_0x4b014e[_0x38a583(0x126)],{'children':[(0x0,_0x4b014e['jsx'])(_0x1bc9bf[_0x38a583(0x108)],{'canvasElement':_0x113bcc[_0x38a583(0x3fe)],'shapeData':_0x1df8a0,'shapeType':_0x2f6cd0,'textStyle':{'ff':_0x349291[_0x38a583(0x1f3)][_0x38a583(0x186)]['fontFamily'],'fs':_0x349291[_0x38a583(0x1f3)][_0x38a583(0x186)]['fontSize'],'cl':{'rgb':_0x349291[_0x38a583(0x1f3)][_0x38a583(0x186)]['color']},..._0xe4669d},'textModel':_0x364fc5?{'ha':_0x364fc5['ha']??_0x5bc1cc[_0x38a583(0x3cc)][_0x38a583(0x272)],'va':_0x364fc5['va']??_0x5bc1cc[_0x38a583(0x39c)][_0x38a583(0x13e)]}:null,'wrappingStyle':_0x1fcca2,'wrappingStyleOptions':_0xf7cc58,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x349291[_0x38a583(0x1f3)][_0x38a583(0x1bd)],'defaultGradientEndColor':_0x349291['ShapeDefaultConfig']['gradientEndColor'],'defaultStrokeColor':_0x349291[_0x38a583(0x1f3)]['stroke'],'extensionGroups':_0x5dcec8[_0x38a583(0x12f)],'floatingObjectToolbarPosition':_0x446708[_0x38a583(0x35d)]['DOC'],'onUpdateShapeData':(_0x33b538,_0x168996)=>{_0x9420a0(_0x2a0e70,_0x4eb6c8,_0x571a70,_0x19163d,_0x33b538,_0x168996),_0x168996&&_0x3394c6(_0x168996);},'onUpdateText':_0x4c7dad,'onUpdateWrappingStyle':_0x10a1e8=>_0x13c699(_0x10a1e8),'onOpenPanel':()=>{const _0x21a86e=_0x38a583;_0x2a0e70[_0x21a86e(0x217)](_0x5a08b9['id'],{'unitId':_0x4eb6c8,'subUnitId':_0x571a70,'drawingId':_0x19163d});},'onDelete':()=>{const _0x40de9d=_0x38a583;_0x2a0e70[_0x40de9d(0x217)](_0x1c356f[_0x40de9d(0x22c)]['id'],{'unitId':_0x4eb6c8,'drawings':[{'unitId':_0x4eb6c8,'subUnitId':_0x571a70,'drawingId':_0x19163d}]});}}),_0x5dcec8[_0x38a583(0x16d)]]});}function _0x3f7203({variant:_0x92388c,extend:_0x9fc52,..._0x5ac7df}){const _0x218c67=_0x4ea115;let _0x36a228=(0x0,_0x4b014e[_0x218c67(0xaa)])(_0x218c67(0x1db),{'x':'7','y':_0x218c67(0x36b),'width':'6','height':'9','rx':'1','fill':_0x218c67(0x147),'fillOpacity':'0.14','stroke':_0x218c67(0x147),'strokeWidth':'1.2'});return(0x0,_0x4b014e['jsxs'])(_0x218c67(0x12b),{'aria-hidden':_0x218c67(0x13f),'fill':'none','height':_0x218c67(0x3ed),'viewBox':_0x218c67(0x95),'width':_0x218c67(0x3ed),..._0x5ac7df,'children':[_0x92388c===_0x218c67(0x374)&&(0x0,_0x4b014e[_0x218c67(0x137)])(_0x4b014e['Fragment'],{'children':[(0x0,_0x4b014e[_0x218c67(0xaa)])(_0x218c67(0xde),{'d':_0x218c67(0x320),'stroke':_0x218c67(0x147),'strokeLinecap':_0x218c67(0xb0),'strokeWidth':_0x218c67(0x3f1)}),(0x0,_0x4b014e[_0x218c67(0xaa)])(_0x218c67(0x1db),{'x':'8','y':'7','width':'4','height':'6','rx':_0x218c67(0x3be),'fill':_0x218c67(0x147),'fillOpacity':_0x218c67(0x152),'stroke':_0x218c67(0x147),'strokeWidth':_0x218c67(0x3f1)})]}),_0x92388c===_0x218c67(0xf3)&&(0x0,_0x4b014e[_0x218c67(0x137)])(_0x4b014e[_0x218c67(0x126)],{'children':[(0x0,_0x4b014e['jsx'])(_0x218c67(0xde),{'d':_0x218c67(0x91),'stroke':_0x218c67(0x147),'strokeLinecap':_0x218c67(0xb0),'strokeWidth':_0x218c67(0x3f1)}),_0x36a228]}),_0x92388c==='top-bottom'&&(0x0,_0x4b014e[_0x218c67(0x137)])(_0x4b014e[_0x218c67(0x126)],{'children':[(0x0,_0x4b014e[_0x218c67(0xaa)])(_0x218c67(0xde),{'d':_0x218c67(0x321),'stroke':_0x218c67(0x147),'strokeLinecap':'round','strokeWidth':_0x218c67(0x3f1)}),_0x36a228]}),_0x92388c===_0x218c67(0x138)&&(0x0,_0x4b014e[_0x218c67(0x137)])(_0x4b014e[_0x218c67(0x126)],{'children':[_0x36a228,(0x0,_0x4b014e[_0x218c67(0xaa)])(_0x218c67(0xde),{'d':_0x218c67(0x361),'stroke':'currentColor','strokeLinecap':'round','strokeWidth':_0x218c67(0x3f1)})]}),_0x92388c==='front'&&(0x0,_0x4b014e['jsxs'])(_0x4b014e[_0x218c67(0x126)],{'children':[(0x0,_0x4b014e['jsx'])('path',{'d':_0x218c67(0x361),'stroke':_0x218c67(0x147),'strokeLinecap':_0x218c67(0xb0),'strokeWidth':_0x218c67(0x3f1)}),(0x0,_0x4b014e[_0x218c67(0xaa)])(_0x218c67(0x1db),{'x':'7','y':_0x218c67(0x36b),'width':'6','height':'9','rx':'1','fill':_0x218c67(0x147)})]})]});}let _0x131965=_0xc502e5=>_0x1a2183=>(0x0,_0x4b014e[_0x4ea115(0xaa)])(_0x3f7203,{..._0x1a2183,'variant':_0xc502e5}),_0x47ad89={'DocsShapeWrapInlineIcon':_0x131965(_0x4ea115(0x374)),'DocsShapeWrapSquareIcon':_0x131965('square'),'DocsShapeWrapTopBottomIcon':_0x131965('top-bottom'),'DocsShapeWrapBehindTextIcon':_0x131965('behind'),'DocsShapeWrapInFrontOfTextIcon':_0x131965('front')},_0x3ca34c=(0x0,_0x18e885[_0x4ea115(0x203)])(()=>{const _0x37a4ac=_0x4ea115;let _0x41ff28=(0x0,_0x446708['useDependency'])(_0x213530),_0x3c0b42=(0x0,_0x446708[_0x37a4ac(0x389)])(_0x1897fd[_0x37a4ac(0x293)]),_0x2d8a82=(0x0,_0x446708['useDependency'])(_0x3cf577[_0x37a4ac(0x214)]),_0x57258d=(0x0,_0x446708[_0x37a4ac(0x389)])(_0x5bc1cc[_0x37a4ac(0x2db)]),_0x28c21e=(0x0,_0x18e885[_0x37a4ac(0x1e7)])(()=>({'getShapeModel':(_0x4139de,_0x4cadad,_0x4ffc18)=>_0x3c0b42[_0x37a4ac(0x189)](_0x4139de,_0x4cadad,_0x4ffc18),'getShapeData':(_0x4d38b8,_0x25e197,_0x5a88d3)=>_0x3c0b42[_0x37a4ac(0x3e9)](_0x4d38b8,_0x25e197,_0x5a88d3),'getDrawingTransform':(_0x3f92c0,_0x57ef06,_0x21f47f)=>{const _0xb34236=_0x37a4ac;let _0x28ccd7=_0x2d8a82[_0xb34236(0x3ba)]({'unitId':_0x3f92c0,'subUnitId':_0x57ef06,'drawingId':_0x21f47f});return _0x28ccd7==null?void 0x0:_0x28ccd7['transform'];},'updateShapeText':({unitId:_0x1c5da7,shapeId:_0x118837,shapeText:_0x205081,oldShapeText:_0x186a66})=>{const _0x32577a=_0x37a4ac;_0x57258d[_0x32577a(0x217)](_0x1897fd[_0x32577a(0x3e3)]['id'],{'unitId':_0x1c5da7,'shapeId':_0x118837,'shapeData':{'shapeText':_0x205081},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x186a66}}});},'updateHostSize':({unitId:_0x1ea3e6,subUnitId:_0x1a04ac,shapeId:_0x4b5aff,width:_0x573fdb,height:_0xa0081f})=>{const _0x560754=_0x37a4ac;_0x57258d[_0x560754(0x217)](_0x1c356f[_0x560754(0x308)]['id'],{'unitId':_0x1ea3e6,'subUnitId':_0x1a04ac,'drawings':[{'drawingId':_0x4b5aff,'key':'size','value':{'width':_0x573fdb,'height':_0xa0081f}}]});},'allowHostSizeShrink':({unitId:_0x4c041c,subUnitId:_0x332b08,shapeId:_0x3e3dea})=>(0x0,_0x1bc9bf['shouldAllowShapeTextEditorHostSizeShrink'])(_0x3c0b42[_0x37a4ac(0x3e9)](_0x4c041c,_0x332b08,_0x3e3dea))}),[_0x57258d,_0x3c0b42,_0x2d8a82]),_0x255d6e=(0x0,_0x18e885[_0x37a4ac(0x1e7)])(()=>({'viewportKeys':{'main':_0x341d83[_0x37a4ac(0x242)][_0x37a4ac(0x1c9)]}}),[]);return(0x0,_0x4b014e[_0x37a4ac(0xaa)])(_0x1bc9bf[_0x37a4ac(0x38d)],{'adapter':_0x28c21e,'editingService':_0x41ff28,'editorUnitId':_0x33ec1c,'positionOptions':_0x255d6e});}),_0x4f75fa=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x4991ab,_0x26d472){const _0x3ef0f6=_0x4ea115;super(),this[_0x3ef0f6(0x366)]=_0x4991ab,this[_0x3ef0f6(0x24e)]=_0x26d472,this['_registerIcons'](),this[_0x3ef0f6(0x9c)]();}[_0x4ea115(0xd9)](){const _0x561509=_0x4ea115;this[_0x561509(0x24e)]['has'](_0x561509(0x2b7))||this[_0x561509(0x103)](this[_0x561509(0x24e)][_0x561509(0x223)]({'ObjectLayersIcon':_0x12045a})),this[_0x561509(0x24e)][_0x561509(0x2d9)](_0x561509(0x401))||this[_0x561509(0x103)](this[_0x561509(0x24e)][_0x561509(0x223)]({'BottomIcon':_0x32945e})),this[_0x561509(0x24e)][_0x561509(0x2d9)](_0x561509(0x33a))||this[_0x561509(0x103)](this[_0x561509(0x24e)]['register']({'MoveDownIcon':_0x4f55f7})),this[_0x561509(0x24e)]['has'](_0x561509(0x393))||this[_0x561509(0x103)](this[_0x561509(0x24e)][_0x561509(0x223)]({'MoveUpIcon':_0x2c5f65})),this[_0x561509(0x24e)]['has'](_0x561509(0x2a4))||this['disposeWithMe'](this[_0x561509(0x24e)][_0x561509(0x223)]({'ShapeFormatSettingIcon':_0x230f39})),this['_iconManager'][_0x561509(0x2d9)]('TopmostIcon')||this[_0x561509(0x103)](this[_0x561509(0x24e)][_0x561509(0x223)]({'TopmostIcon':_0x33a0d3})),this[_0x561509(0x103)](this[_0x561509(0x24e)][_0x561509(0x223)](_0x47ad89));}[_0x4ea115(0x9c)](){const _0x283463=_0x4ea115;this['disposeWithMe'](this['_componentManager'][_0x283463(0x223)](_0x135e7b,_0x5a8298)),this[_0x283463(0x2d5)](),this[_0x283463(0x221)](),this['disposeWithMe'](this[_0x283463(0x366)][_0x283463(0x223)](_0x9bb98f,_0x1d84be)),this[_0x283463(0x103)](this['_componentManager'][_0x283463(0x223)](_0x205f1c,_0x5f0bda)),this[_0x283463(0x103)](this['_componentManager']['register'](_0xcb0280,_0x2c2195)),this['disposeWithMe'](this[_0x283463(0x366)][_0x283463(0x223)](_0x5c919f,_0x204deb)),this[_0x283463(0x103)](this['_componentManager'][_0x283463(0x223)](_0x2dab50,_0x231d64)),this[_0x283463(0x103)](this['_componentManager']['register'](_0x57b3d6,_0x1bc9bf['ShapeTextFloatToolbar'])),this['_registerPickers'](),this[_0x283463(0x366)][_0x283463(0x20e)](_0x390061['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'])||this[_0x283463(0x103)](this[_0x283463(0x366)][_0x283463(0x223)](_0x390061[_0x283463(0xea)],_0xdb8590)),this[_0x283463(0x103)](this[_0x283463(0x366)][_0x283463(0x223)](_0x16861b,_0x3ca34c));}[_0x4ea115(0x2d5)](){const _0x53334c=_0x4ea115;this[_0x53334c(0x103)](this['_componentManager'][_0x53334c(0x223)](_0x593cd4,_0x79c86c));}['_registerFloatingToolbar'](){const _0x138972=_0x4ea115;this[_0x138972(0x103)](this[_0x138972(0x366)][_0x138972(0x223)](_0x300198,_0x444fe5));}[_0x4ea115(0x3c8)](){const _0x2c1cd0=_0x4ea115;this[_0x2c1cd0(0x103)](this[_0x2c1cd0(0x366)]['register'](_0x215dca,_0x203fd8)),this['disposeWithMe'](this[_0x2c1cd0(0x366)][_0x2c1cd0(0x223)](_0x19b74d,_0x4df747));}};_0x4f75fa=_0x555290([_0x379978(0x0,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x446708[_0x4ea115(0x343)])),_0x379978(0x1,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x446708[_0x4ea115(0x195)]))],_0x4f75fa);let _0x3fa5ff=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x1cae56,_0x4ffdce,_0x3d09b3,_0x3ec095,_0x3dead7,_0x28ab71,_0x165c9d,_0x9d88a0,_0x54a19b,_0x16edf6,_0x4e5a22,_0x467fa4,_0x16b951){const _0x176665=_0x4ea115;super(),this[_0x176665(0x2f8)]=_0x1cae56,this[_0x176665(0x1c5)]=_0x4ffdce,this['_menuManagerService']=_0x3d09b3,this['_docsShapeService']=_0x3ec095,this[_0x176665(0x260)]=_0x3dead7,this[_0x176665(0xcb)]=_0x28ab71,this['_drawingManagerService']=_0x165c9d,this[_0x176665(0x3bd)]=_0x9d88a0,this[_0x176665(0x167)]=_0x54a19b,this[_0x176665(0x32f)]=_0x16edf6,this[_0x176665(0x149)]=_0x4e5a22,this[_0x176665(0x185)]=_0x467fa4,this[_0x176665(0x3dd)]=_0x16b951,_0x128b9e(this,_0x176665(0x3c6),null),_0x128b9e(this,_0x176665(0x11c),null),_0x128b9e(this,_0x176665(0x3b6),!0x1),_0x128b9e(this,'_shapeEditPanelVersion',0x0),_0x128b9e(this,_0x176665(0x2fb),new Map()),_0x128b9e(this,_0x176665(0x30c),new Map()),this['_initMenu'](),this[_0x176665(0x103)](this[_0x176665(0x2f8)][_0x176665(0x341)](_0x5bc1cc['UniverInstanceType'][_0x176665(0x310)])['subscribe'](_0x32e4ca=>{const _0x413d54=_0x176665;if(!_0x32e4ca){var _0x54ab7d;(_0x54ab7d=this['_sidebarDisposable'])==null||_0x54ab7d[_0x413d54(0x17a)]();}})),this[_0x176665(0x37d)](),this[_0x176665(0x103)]((0x0,_0x1bc9bf[_0x176665(0x391)])(this['_renderManagerService'],_0x5bc1cc['UniverInstanceType']['UNIVER_DOC'],_0x1f7e0b=>this[_0x176665(0xb1)](_0x1f7e0b))),this[_0x176665(0x103)](this[_0x176665(0x149)][_0x176665(0x190)][_0x176665(0x3a6)](_0x5492c9=>{const _0x217b88=_0x176665;_0x5492c9&&this[_0x217b88(0x1c2)](void 0x0,!0x0);})),this[_0x176665(0x103)](this['_permissionService'][_0x176665(0x2b3)][_0x176665(0x3a6)](()=>{const _0x1495e2=_0x176665;this[_0x1495e2(0x275)][_0x1495e2(0x2dd)]()['some'](_0x43a589=>_0x43a589[_0x1495e2(0x3a3)]===_0x5bc1cc[_0x1495e2(0x1c8)]['DRAWING_SHAPE']&&this[_0x1495e2(0x2f8)][_0x1495e2(0xc6)](_0x43a589['unitId'])===_0x5bc1cc[_0x1495e2(0x1ee)][_0x1495e2(0x310)]&&!this['_canEditShape'](_0x43a589['unitId'],_0x43a589[_0x1495e2(0x408)]))&&(this['_clearPopups'](void 0x0,!0x0),this[_0x1495e2(0x17f)]());}));}[_0x4ea115(0x1ed)](_0x2ea3c7,_0xd8330,_0x2ee0ab,_0x17e25d){const _0x2b8af1=_0x4ea115;return[{'label':_0x2b8af1(0x38f),'index':0x0,'commandId':_0x5a08b9['id'],'commandParams':{'unitId':_0x2ea3c7,'subUnitId':_0xd8330,'drawingId':_0x2ee0ab},'disable':_0x17e25d===_0x5bc1cc[_0x2b8af1(0x1c8)][_0x2b8af1(0x187)]},{'label':_0x2b8af1(0x123),'index':0x1,'commandId':_0x1c356f[_0x2b8af1(0x22c)]['id'],'commandParams':{'unitId':_0x2ea3c7,'drawings':[{'unitId':_0x2ea3c7,'subUnitId':_0xd8330,'drawingId':_0x2ee0ab}]},'disable':!0x1},{'label':_0x2b8af1(0x3fc),'index':0x2,'commandId':_0x181065['id'],'commandParams':{'unitId':_0x2ea3c7,'subUnitId':_0xd8330,'drawingId':_0x2ee0ab},'disable':!0x1}];}[_0x4ea115(0x1d0)](){const _0x173888=_0x4ea115;this['_menuManagerService'][_0x173888(0x1da)](_0x2b9f36);}['_getShapeInfo'](_0x13a381,_0x164dc3,_0x2d862){const _0x58b45a=_0x4ea115;let _0x7cbf50=this[_0x58b45a(0x3b7)][_0x58b45a(0xc8)](_0x13a381,_0x164dc3,_0x2d862),_0x1457da=this[_0x58b45a(0x3b7)]['getShapeDataById'](_0x13a381,_0x164dc3,_0x2d862);return _0x7cbf50===void 0x0||_0x1457da===void 0x0?null:{'shapeData':_0x1457da,'shapeId':_0x2d862,'shapeType':_0x7cbf50,'unitId':_0x13a381,'subUnitId':_0x164dc3,'version':this[_0x58b45a(0x1ea)],'disableShapeOption':!0x1};}[_0x4ea115(0x1c2)](_0x24cdf4,_0x5a4977=!0x1){const _0x171877=_0x4ea115;if(_0x24cdf4==null){[...this[_0x171877(0x2fb)][_0x171877(0x1ae)]()][_0x171877(0x3d7)](_0x2889be=>this[_0x171877(0x1c2)](_0x2889be,_0x5a4977));return;}let _0x3aa96d=this[_0x171877(0x2fb)][_0x171877(0x20e)](_0x24cdf4);if(_0x3aa96d){for(let _0x1bfde9=_0x3aa96d[_0x171877(0xbe)]-0x1;_0x1bfde9>=0x0;--_0x1bfde9){let _0x4c4e69=_0x3aa96d[_0x1bfde9];(_0x5a4977||_0x4c4e69[_0x171877(0x30a)]())&&(_0x4c4e69[_0x171877(0x17a)](),_0x3aa96d['splice'](_0x1bfde9,0x1));}_0x3aa96d[_0x171877(0xbe)]===0x0&&(this[_0x171877(0x2fb)][_0x171877(0x284)](_0x24cdf4),this[_0x171877(0x30c)][_0x171877(0x284)](_0x24cdf4));}}[_0x4ea115(0x1e0)](_0x2daa06){const _0x41b93c=_0x4ea115;let _0x4bffa9=this[_0x41b93c(0x2fb)][_0x41b93c(0x20e)](_0x2daa06);if(_0x4bffa9)return _0x4bffa9;let _0x11a7e4=[];return this[_0x41b93c(0x2fb)][_0x41b93c(0x1fe)](_0x2daa06,_0x11a7e4),_0x11a7e4;}[_0x4ea115(0xb1)](_0x4ecf59){const _0x2f9ddb=_0x4ea115;var _0x50e7de;let _0x530b1e=new _0x5bc1cc['DisposableCollection'](),_0x4f52f5=(_0x50e7de=this[_0x2f9ddb(0x167)][_0x2f9ddb(0x26c)](_0x5bc1cc[_0x2f9ddb(0x1ee)][_0x2f9ddb(0x310)])[_0x2f9ddb(0x99)](_0x466fb1=>_0x466fb1[_0x2f9ddb(0x241)][_0x2f9ddb(0x8b)]()===_0x4ecf59))==null?void 0x0:_0x50e7de[_0x2f9ddb(0x18f)];return _0x4f52f5?(_0x530b1e[_0x2f9ddb(0xef)](_0x4ecf59[_0x2f9ddb(0x1cb)][_0x2f9ddb(0x3a6)](()=>this['_handleCreateControl'](_0x4ecf59,_0x4f52f5))),_0x530b1e[_0x2f9ddb(0xef)](_0x4ecf59['clearControl$'][_0x2f9ddb(0x3a6)](()=>{const _0x1f2932=_0x2f9ddb;this[_0x1f2932(0x1c2)](_0x4f52f5),queueMicrotask(()=>{const _0x5374c8=_0x1f2932;_0x4ecf59['getSelectedObjectMap']()['size']>0x0||(this[_0x5374c8(0x32f)]['setContextValue'](_0x5bc1cc['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x5374c8(0x275)]['focusDrawing'](null));});})),_0x530b1e[_0x2f9ddb(0xef)](_0x4ecf59['changing$'][_0x2f9ddb(0x3a6)](()=>{this['_clearPopups'](_0x4f52f5,!0x0);})),_0x530b1e):_0x530b1e;}[_0x4ea115(0x31a)](_0x11a786,_0x166091){const _0x20e927=_0x4ea115;let _0x2237d9=_0x11a786[_0x20e927(0x3c9)]();if(this[_0x20e927(0x3b6)]){this[_0x20e927(0x1c2)](_0x166091,!0x0);return;}if(_0x2237d9['size']>0x1){this[_0x20e927(0x1c2)](_0x166091);return;}let _0x4f73ca=_0x2237d9[_0x20e927(0x3f5)]()[_0x20e927(0x3eb)]()['value'];if(!_0x4f73ca){this[_0x20e927(0x1c2)](_0x166091);return;}let _0x25ddeb=this['_drawingManagerService'][_0x20e927(0x26f)](_0x4f73ca['oKey']);if(!_0x25ddeb||_0x25ddeb[_0x20e927(0x3a3)]!==_0x5bc1cc[_0x20e927(0x1c8)]['DRAWING_SHAPE']){this[_0x20e927(0x1c2)](_0x166091);return;}let {unitId:_0x49fc03,subUnitId:_0x5d34b7,drawingId:_0x131b7c}=_0x25ddeb;if(!this[_0x20e927(0x3f6)](_0x49fc03,_0x131b7c)){this[_0x20e927(0x1c2)](_0x166091,!0x0);return;}let _0x3d3927=this[_0x20e927(0x29f)](_0x49fc03,_0x5d34b7,_0x131b7c);if(!_0x3d3927){this[_0x20e927(0x1c2)](_0x166091);return;}let _0x3f6464=this[_0x20e927(0x2fb)][_0x20e927(0x20e)](_0x166091),_0xd06a1b=_0x49fc03+':'+_0x5d34b7+':'+_0x131b7c;if(this[_0x20e927(0x30c)][_0x20e927(0x20e)](_0x166091)===_0xd06a1b&&_0x3f6464!=null&&_0x3f6464[_0x20e927(0xbe)])return;this[_0x20e927(0x1c2)](_0x166091);let _0x419ec3=this['_renderManagerService'][_0x20e927(0x290)](_0x49fc03),_0x46e782=((_0x419ec3==null?void 0x0:_0x419ec3[_0x20e927(0x2c3)])===!0x1?_0x419ec3[_0x20e927(0x29d)](_0x341d83[_0x20e927(0x277)]):this[_0x20e927(0x3bd)])[_0x20e927(0x388)](_0x4f73ca,this[_0x20e927(0x239)](_0x3d3927,()=>this[_0x20e927(0x1c2)](_0x166091,!0x0)),_0x49fc03);this[_0x20e927(0x103)](_0x46e782),this[_0x20e927(0x1e0)](_0x166091)['push'](_0x46e782),this[_0x20e927(0x30c)]['set'](_0x166091,_0xd06a1b),this['_drawingManagerService'][_0x20e927(0x2dd)]()[_0x20e927(0x23a)](_0x2a19c3=>_0x2a19c3[_0x20e927(0x18f)]===_0x49fc03&&_0x2a19c3[_0x20e927(0x199)]===_0x5d34b7&&_0x2a19c3[_0x20e927(0x408)]===_0x131b7c)||this[_0x20e927(0x275)][_0x20e927(0x233)]([{'unitId':_0x49fc03,'subUnitId':_0x5d34b7,'drawingId':_0x131b7c}]);}[_0x4ea115(0x239)](_0x1121a9,_0x3782d4){const _0xd0d113=_0x4ea115;let {unitId:_0x1dcb4b,subUnitId:_0xa79ab0,shapeId:_0x3caa2a}=_0x1121a9,_0xf41cb3={'hostType':_0x5bc1cc[_0xd0d113(0x1ee)][_0xd0d113(0x310)],'unitId':_0x1dcb4b,'subUnitId':_0xa79ab0,'shapeId':_0x3caa2a};return{'componentKey':_0x300198,'direction':_0xd0d113(0x22b),'offset':[0x0,0x8],'extraProps':{'shapeType':_0x1121a9[_0xd0d113(0xa3)],'onText':()=>{const _0x283d1e=_0xd0d113;_0x3782d4(),this[_0x283d1e(0x3dd)]['open'](_0x283d1e(0x3e5),_0xf41cb3);},'onStyle':()=>{const _0x4c0329=_0xd0d113;_0x3782d4(),this['_mobileEditorService'][_0x4c0329(0x402)]('style',_0xf41cb3);},'onDelete':()=>this['_commandService']['executeCommand'](_0x1c356f[_0xd0d113(0x22c)]['id'],{'unitId':_0x1dcb4b,'drawings':[{'unitId':_0x1dcb4b,'subUnitId':_0xa79ab0,'drawingId':_0x3caa2a}]})}};}[_0x4ea115(0x3f6)](_0x592994,_0x52b369){const _0x546242=_0x4ea115;let _0xc02d9d=this[_0x546242(0x2f8)][_0x546242(0x1f8)](_0x592994,_0x5bc1cc[_0x546242(0x1ee)][_0x546242(0x310)]);if(!_0xc02d9d)return!0x1;let _0x807902=(0x0,_0x42aa76[_0x546242(0x2d2)])(_0xc02d9d,_0x52b369);return(0x0,_0x42aa76[_0x546242(0x1b4)])(this[_0x546242(0x185)],_0x592994,[...(0x0,_0x42aa76[_0x546242(0x373)])(_0xc02d9d,_0x807902,'drawing',_0x52b369),(0x0,_0x42aa76[_0x546242(0x28b)])(_0x807902,_0x546242(0x31d),_0x52b369)]);}[_0x4ea115(0x37d)](){const _0xf14857=_0x4ea115;this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x28c1de=>{const _0x136cd4=_0x9d29;if(_0x28c1de['id']===_0x5a08b9['id']){let {unitId:_0x34a28c,subUnitId:_0x316a86,drawingId:_0x5d6353}=_0x28c1de[_0x136cd4(0x405)];this[_0x136cd4(0x1ea)]+=0x1,this[_0x136cd4(0x11c)]=this['_getShapeInfo'](_0x34a28c,_0x316a86,_0x5d6353),this[_0x136cd4(0x1c2)](void 0x0,!0x0),this[_0x136cd4(0x15e)]();}if(_0x28c1de['id']===_0x181065['id']&&(this['_activeShapeInfo']=null,this[_0x136cd4(0x17f)]()),_0x28c1de['id']===_0x1897fd[_0x136cd4(0x130)]['id']){var _0x3eed49;let {unitId:_0x1b4404,shapeId:_0x215d2b}=_0x28c1de[_0x136cd4(0x405)];if(((_0x3eed49=this[_0x136cd4(0x11c)])==null?void 0x0:_0x3eed49[_0x136cd4(0x392)])===_0x215d2b){let _0x1c2075=this[_0x136cd4(0x29f)](_0x1b4404,this[_0x136cd4(0x11c)][_0x136cd4(0x199)],_0x215d2b);_0x1c2075&&(this['_shapeEditPanelVersion']+=0x1,_0x1c2075[_0x136cd4(0xf1)]=this[_0x136cd4(0x1ea)],this[_0x136cd4(0x11c)]=_0x1c2075,this[_0x136cd4(0x3b6)]&&this[_0x136cd4(0x15e)]());}}})),this[_0xf14857(0x103)](this['_drawingManagerService'][_0xf14857(0x2ff)]['subscribe'](_0x479008=>{const _0x4ccc89=_0xf14857;if(!this[_0x4ccc89(0x3b6)])return;if(_0x479008['length']===0x0){this['_activeShapeInfo']=null,this[_0x4ccc89(0x17f)]();return;}if(_0x479008[_0x4ccc89(0xbe)]===0x1&&_0x479008[0x0][_0x4ccc89(0x3a3)]===_0x5bc1cc['DrawingTypeEnum'][_0x4ccc89(0x3dc)]&&(this['_shapeEditPanelVersion']+=0x1,this['_activeShapeInfo']=this[_0x4ccc89(0x29f)](_0x479008[0x0][_0x4ccc89(0x18f)],_0x479008[0x0][_0x4ccc89(0x199)],_0x479008[0x0][_0x4ccc89(0x408)]),this['_activeShapeInfo'])){this[_0x4ccc89(0x15e)]();return;}let _0x1c8d0d=_0x479008[_0x4ccc89(0x2e8)](_0x5647a7=>_0x5647a7[_0x4ccc89(0x3a3)]===_0x5bc1cc['DrawingTypeEnum']['DRAWING_SHAPE']);if(this[_0x4ccc89(0x1ea)]+=0x1,this['_activeShapeInfo']=this[_0x4ccc89(0x29f)](_0x479008[0x0][_0x4ccc89(0x18f)],_0x479008[0x0][_0x4ccc89(0x199)],_0x479008[0x0][_0x4ccc89(0x408)]),this[_0x4ccc89(0x11c)]&&_0x479008[_0x4ccc89(0xbe)]>0x1&&_0x1c8d0d[_0x4ccc89(0xbe)]===_0x479008[_0x4ccc89(0xbe)]){this['_openShapeEditPanel']();return;}if(this[_0x4ccc89(0x11c)]&&_0x1c8d0d['length']!==_0x479008[_0x4ccc89(0xbe)]){this['_activeShapeInfo'][_0x4ccc89(0x17d)]=!0x0,this['_openShapeEditPanel']();return;}this[_0x4ccc89(0x17f)]();}));}[_0x4ea115(0x15e)](){const _0x473cf4=_0x4ea115;this[_0x473cf4(0x11c)]&&(this[_0x473cf4(0x3c6)]=this['_sidebarService']['open']({'id':_0x135e7b,'header':{'title':this[_0x473cf4(0x260)]['t'](_0x473cf4(0xa7))},'width':0x184,'children':{'label':_0x135e7b,...this[_0x473cf4(0x11c)]},'onClose':()=>{const _0x518f9a=_0x473cf4;this[_0x518f9a(0x275)][_0x518f9a(0x233)](null),this['_contextService']['setContextValue'](_0x5bc1cc[_0x518f9a(0x3ea)],!0x1),this[_0x518f9a(0x3c6)]=null;}}),this[_0x473cf4(0x3b6)]=!0x0);}['_closeShapeEditPanel'](){const _0x556c4b=_0x4ea115;this[_0x556c4b(0x3b6)]=!0x1,this['_sidebarService'][_0x556c4b(0x110)](_0x135e7b),this['_sidebarDisposable']=null,this['_contextService'][_0x556c4b(0x153)](_0x5bc1cc[_0x556c4b(0x3ea)],!0x1),this[_0x556c4b(0x275)][_0x556c4b(0x233)](null);}};_0x3fa5ff=_0x555290([_0x379978(0x0,_0x5bc1cc['IUniverInstanceService']),_0x379978(0x1,(0x0,_0x5bc1cc['Inject'])(_0x446708['ISidebarService'])),_0x379978(0x2,_0x446708[_0x4ea115(0x322)]),_0x379978(0x3,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x1897fd[_0x4ea115(0x293)])),_0x379978(0x4,(0x0,_0x5bc1cc['Inject'])(_0x5bc1cc[_0x4ea115(0x243)])),_0x379978(0x5,_0x5bc1cc[_0x4ea115(0x2db)]),_0x379978(0x6,_0x3cf577[_0x4ea115(0x214)]),_0x379978(0x7,(0x0,_0x5bc1cc['Inject'])(_0x341d83[_0x4ea115(0x277)])),_0x379978(0x8,_0x24aff0[_0x4ea115(0x377)]),_0x379978(0x9,_0x5bc1cc[_0x4ea115(0x3f8)]),_0x379978(0xa,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x213530)),_0x379978(0xb,_0x5bc1cc['IPermissionService']),_0x379978(0xc,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x1bc9bf[_0x4ea115(0x328)]))],_0x3fa5ff);let _0x80d163=_0x4ea115(0x1ac),_0x19d7a9=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x155833,_0x3d5430,_0x1ae649,_0x146a18,_0x450345,_0x2c2729){const _0x4a4280=_0x4ea115;super(),this[_0x4a4280(0x18b)]=_0x155833,this[_0x4a4280(0x107)]=_0x3d5430,this[_0x4a4280(0x275)]=_0x1ae649,this[_0x4a4280(0x2f8)]=_0x146a18,this['_renderManagerService']=_0x450345,this[_0x4a4280(0x215)]=_0x2c2729,_0x128b9e(this,'_visible',!0x1),this[_0x4a4280(0x18b)][_0x4a4280(0x1da)](_0x296b2a),this[_0x4a4280(0x103)]((0x0,_0x5bc1cc[_0x4a4280(0x230)])(this[_0x4a4280(0x275)][_0x4a4280(0x2ff)]['subscribe'](()=>this[_0x4a4280(0x27d)]()))),this[_0x4a4280(0x27d)]();}[_0x4ea115(0x17a)](){const _0x1c54d8=_0x4ea115;this[_0x1c54d8(0x215)][_0x1c54d8(0x166)](!0x1,_0x80d163),this[_0x1c54d8(0x1c1)](),super[_0x1c54d8(0x17a)]();}[_0x4ea115(0x27d)](){const _0xcede17=_0x4ea115;var _0x1202e7;let _0x395090=this[_0xcede17(0x275)][_0xcede17(0x2dd)](),_0x1004cb=_0x395090[_0xcede17(0xbe)]===0x1?_0x395090[0x0]:void 0x0;if((_0x1004cb==null?void 0x0:_0x1004cb[_0xcede17(0x3a3)])!==_0x5bc1cc['DrawingTypeEnum'][_0xcede17(0x3dc)]||this[_0xcede17(0x2f8)][_0xcede17(0xc6)](_0x1004cb[_0xcede17(0x18f)])!==_0x5bc1cc['UniverInstanceType'][_0xcede17(0x310)]){this['_shapeFloatingToolbarService']['setFallbackVisible'](!0x1,_0x80d163),this['_hide']();return;}let _0xe02088=(_0x1202e7=this['_renderManagerService']['getRenderUnitById'](_0x1004cb[_0xcede17(0x18f)]))==null?void 0x0:_0x1202e7[_0xcede17(0x406)][_0xcede17(0x181)](),_0x8164ff=(0x0,_0x1bc9bf[_0xcede17(0xfd)])(_0xe02088)===_0xcede17(0x336);if(this[_0xcede17(0x215)][_0xcede17(0x166)](_0x8164ff,_0x80d163),_0x8164ff){this[_0xcede17(0x1c1)]();return;}this['_visible']||(this[_0xcede17(0x295)]=!0x0,this[_0xcede17(0x107)][_0xcede17(0xa8)](_0x3a28ca,{'activate':!0x0}));}['_hide'](){const _0x10b831=_0x4ea115;this[_0x10b831(0x295)]&&(this['_visible']=!0x1,this[_0x10b831(0x107)][_0x10b831(0xa4)](_0x3a28ca),this[_0x10b831(0x107)][_0x10b831(0x8d)]([]));}};_0x19d7a9=_0x555290([_0x379978(0x0,_0x446708[_0x4ea115(0x322)]),_0x379978(0x1,_0x446708[_0x4ea115(0x22d)]),_0x379978(0x2,_0x3cf577['IDrawingManagerService']),_0x379978(0x3,_0x5bc1cc[_0x4ea115(0x18e)]),_0x379978(0x4,_0x24aff0[_0x4ea115(0x377)]),_0x379978(0x5,(0x0,_0x5bc1cc['Inject'])(_0x1bc9bf[_0x4ea115(0x22f)]))],_0x19d7a9);let _0x141a20=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x4c15a1,_0x1e3a63,_0x4581e0,_0x45cde2){const _0x3c314a=_0x4ea115;super(),this[_0x3c314a(0xcb)]=_0x4c15a1,this[_0x3c314a(0x167)]=_0x1e3a63,this[_0x3c314a(0x275)]=_0x4581e0,this['_docDrawingShapeRenderController']=_0x45cde2,this[_0x3c314a(0x1be)]();}[_0x4ea115(0x1be)](){const _0x1bb846=_0x4ea115;this[_0x1bb846(0x103)](this[_0x1bb846(0x275)][_0x1bb846(0x2d1)][_0x1bb846(0x3a6)](_0x23726f=>this[_0x1bb846(0xdc)](_0x23726f))),this[_0x1bb846(0x103)](this['_drawingManagerService'][_0x1bb846(0x176)][_0x1bb846(0x3a6)](_0x6646f=>{const _0x2ec725=_0x1bb846;_0x6646f['forEach'](_0x4b5dc2=>this[_0x2ec725(0x30b)](_0x4b5dc2));})),this[_0x1bb846(0x103)](this[_0x1bb846(0xcb)][_0x1bb846(0x1b5)](_0x1a65e2=>{const _0x159ba4=_0x1bb846;if(_0x1a65e2['id']!==_0x1897fd[_0x159ba4(0x130)]['id'])return;let {unitId:_0x3d230a,shapeId:_0x1d7988}=_0x1a65e2[_0x159ba4(0x405)];this[_0x159ba4(0x250)]({'unitId':_0x3d230a,'subUnitId':_0x3d230a,'drawingId':_0x1d7988});}));}['_insertShapes'](_0x39d84d){const _0x252f1d=_0x4ea115;_0x39d84d[_0x252f1d(0x3d7)](_0x3316d0=>{const _0x29a440=_0x252f1d;let _0x467075=this[_0x29a440(0x18d)](_0x3316d0[_0x29a440(0x18f)]);if(!_0x467075)return;let _0x7fd1bc=this[_0x29a440(0x275)][_0x29a440(0x3ba)](_0x3316d0);(_0x7fd1bc==null?void 0x0:_0x7fd1bc['drawingType'])===_0x5bc1cc['DrawingTypeEnum'][_0x29a440(0x3dc)]&&this[_0x29a440(0xb3)][_0x29a440(0x34b)](_0x7fd1bc,_0x467075[_0x29a440(0x241)]);});}['_updateShape'](_0x509717){const _0x271430=_0x4ea115;let _0x4bf63d=this['_drawingManagerService']['getDrawingByParam'](_0x509717);if((_0x4bf63d==null?void 0x0:_0x4bf63d['drawingType'])!==_0x5bc1cc[_0x271430(0x1c8)]['DRAWING_SHAPE'])return;let _0x52d4d2=this['_getSceneByUnitId'](_0x509717[_0x271430(0x18f)]);if(!_0x52d4d2||_0x4bf63d[_0x271430(0x2eb)]==null)return;let _0x3d1059=(0x0,_0x3cf577[_0x271430(0x14a)])(_0x509717),_0x550e49=_0x52d4d2[_0x271430(0x241)][_0x271430(0x179)](_0x3d1059);_0x550e49&&(_0x550e49[_0x271430(0x1c3)](_0x4bf63d['srcRect']),_0x550e49[_0x271430(0x2df)](_0x4bf63d['prstGeom']),_0x550e49['makeDirty'](!0x0));}[_0x4ea115(0x250)](_0x69b9cd){const _0x35a0a0=_0x4ea115;let _0x5731f6=this[_0x35a0a0(0x18d)](_0x69b9cd[_0x35a0a0(0x18f)]);if(!_0x5731f6)return;let _0x357602=(0x0,_0x3cf577['getDrawingShapeKeyByDrawingSearch'])(_0x69b9cd),_0x113c52=_0x5731f6['scene'][_0x35a0a0(0x179)](_0x357602);_0x113c52&&(this[_0x35a0a0(0xb3)]['refreshShapeFillImage'](_0x113c52),this[_0x35a0a0(0xb3)][_0x35a0a0(0x172)](_0x113c52,{'unitId':_0x69b9cd[_0x35a0a0(0x18f)],'subUnitId':_0x69b9cd['subUnitId'],'shapeId':_0x69b9cd[_0x35a0a0(0x408)]}),_0x113c52[_0x35a0a0(0x2cc)](!0x0));}[_0x4ea115(0x18d)](_0x4296f5){const _0x1ba85b=_0x4ea115;if(_0x4296f5==null)return null;let _0x210352=this[_0x1ba85b(0x167)][_0x1ba85b(0x290)](_0x4296f5),_0xa65d57=_0x210352==null?void 0x0:_0x210352[_0x1ba85b(0x241)];return _0xa65d57==null?null:{'scene':_0xa65d57};}};_0x141a20=_0x555290([_0x379978(0x0,_0x5bc1cc['ICommandService']),_0x379978(0x1,_0x24aff0[_0x4ea115(0x377)]),_0x379978(0x2,_0x3cf577[_0x4ea115(0x214)]),_0x379978(0x3,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x2d120d))],_0x141a20);let _0x118582=class extends _0x5bc1cc[_0x4ea115(0x201)]{constructor(_0x23ad0c=_0xd4dc79,_0x13021d,_0x2af6b7,_0x13bab6,_0x4e745e){const _0x4a40f9=_0x4ea115;super(),this['_config']=_0x23ad0c,this[_0x4a40f9(0x16b)]=_0x13021d,this[_0x4a40f9(0xcb)]=_0x2af6b7,this['_configService']=_0x13bab6,this[_0x4a40f9(0x167)]=_0x4e745e;let {menu:_0x1f1d6a,..._0x4c3cec}=(0x0,_0x5bc1cc[_0x4a40f9(0x105)])({},_0xd4dc79,this[_0x4a40f9(0x196)]);_0x1f1d6a&&this['_configService'][_0x4a40f9(0x32e)](_0x4a40f9(0x2a0),_0x1f1d6a,{'merge':!0x0}),this[_0x4a40f9(0x314)][_0x4a40f9(0x32e)](_0x3f849b,_0x4c3cec),[_0x59105c,_0x181065,_0x5a08b9,_0x28b9a9,_0x1af57a,_0x33e271][_0x4a40f9(0x3d7)](_0x1681a9=>this[_0x4a40f9(0x103)](this['_commandService']['registerCommand'](_0x1681a9)));}['onStarting'](){const _0x269573=_0x4ea115;let _0x3a1f5f=[[_0x4f75fa],[_0x3fa5ff],[_0x141a20],[_0x2d120d],[_0x22d8c8],[_0x3d330d],[_0x1499e6],[_0x298f44],[_0x213530],[_0x19d7a9]];(0x0,_0x5bc1cc[_0x269573(0x28c)])(this[_0x269573(0x16b)],_0x3a1f5f),this['_injector'][_0x269573(0x20e)](_0x4f75fa);}[_0x4ea115(0x93)](){const _0x2bc9da=_0x4ea115;this['disposeWithMe'](this['_renderManagerService'][_0x2bc9da(0x30e)](_0x5bc1cc[_0x2bc9da(0x1ee)]['UNIVER_DOC'],[_0x3d330d])),(0x0,_0x5bc1cc[_0x2bc9da(0xda)])(this[_0x2bc9da(0x16b)],[[_0x3fa5ff],[_0x141a20],[_0x2d120d],[_0x22d8c8],[_0x1499e6],[_0x298f44],[_0x213530],[_0x19d7a9]]);}};_0x128b9e(_0x118582,'type',_0x5bc1cc[_0x4ea115(0x1ee)][_0x4ea115(0x310)]),_0x128b9e(_0x118582,_0x4ea115(0x3bc),_0x4ea115(0x36f)),_0x128b9e(_0x118582,_0x4ea115(0x2f4),_0x25865a),_0x128b9e(_0x118582,'version',_0x44d234),_0x118582=_0x555290([(0x0,_0x5bc1cc[_0x4ea115(0x3d1)])(_0x1e2ae2[_0x4ea115(0x276)],_0x42aa76[_0x4ea115(0x3a2)],_0x3cf577[_0x4ea115(0x2ea)],_0x390061[_0x4ea115(0x299)],_0x24aff0[_0x4ea115(0xe9)],_0x341d83[_0x4ea115(0x40b)],_0x535f5e[_0x4ea115(0x39d)],_0x24a9ae[_0x4ea115(0x2f2)],_0x1897fd[_0x4ea115(0x340)],_0x1bc9bf['UniverShapeEditorMobileUIPlugin']),_0x379978(0x1,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x5bc1cc[_0x4ea115(0x251)])),_0x379978(0x2,_0x5bc1cc['ICommandService']),_0x379978(0x3,_0x5bc1cc[_0x4ea115(0x3ff)]),_0x379978(0x4,_0x24aff0['IRenderManagerService'])],_0x118582);let _0x4e161f=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x54c294,_0x43c309){const _0x3f7d3d=_0x4ea115;super(),this[_0x3f7d3d(0x366)]=_0x54c294,this[_0x3f7d3d(0x24e)]=_0x43c309,this[_0x3f7d3d(0xd9)](),this['_registerComponents']();}[_0x4ea115(0xd9)](){const _0x5ae9da=_0x4ea115;this['_iconManager'][_0x5ae9da(0x2d9)](_0x5ae9da(0x2b7))||this[_0x5ae9da(0x103)](this['_iconManager'][_0x5ae9da(0x223)]({'ObjectLayersIcon':_0x12045a})),this[_0x5ae9da(0x24e)][_0x5ae9da(0x2d9)](_0x5ae9da(0x401))||this[_0x5ae9da(0x103)](this[_0x5ae9da(0x24e)][_0x5ae9da(0x223)]({'BottomIcon':_0x32945e})),this[_0x5ae9da(0x24e)]['has'](_0x5ae9da(0x33a))||this[_0x5ae9da(0x103)](this['_iconManager']['register']({'MoveDownIcon':_0x4f55f7})),this[_0x5ae9da(0x24e)]['has'](_0x5ae9da(0x393))||this[_0x5ae9da(0x103)](this['_iconManager'][_0x5ae9da(0x223)]({'MoveUpIcon':_0x2c5f65})),this[_0x5ae9da(0x24e)][_0x5ae9da(0x2d9)](_0x5ae9da(0x2a4))||this[_0x5ae9da(0x103)](this[_0x5ae9da(0x24e)][_0x5ae9da(0x223)]({'ShapeFormatSettingIcon':_0x230f39})),this['_iconManager'][_0x5ae9da(0x2d9)](_0x5ae9da(0x3c5))||this[_0x5ae9da(0x103)](this[_0x5ae9da(0x24e)][_0x5ae9da(0x223)]({'TopmostIcon':_0x33a0d3})),this[_0x5ae9da(0x103)](this[_0x5ae9da(0x24e)][_0x5ae9da(0x223)](_0x47ad89));}['_registerComponents'](){const _0x27a5f6=_0x4ea115;this['disposeWithMe'](this[_0x27a5f6(0x366)][_0x27a5f6(0x223)](_0x135e7b,_0x2e5427)),this[_0x27a5f6(0x2d5)](),this[_0x27a5f6(0x221)](),this[_0x27a5f6(0x103)](this[_0x27a5f6(0x366)]['register'](_0x9bb98f,_0x1d84be)),this[_0x27a5f6(0x103)](this[_0x27a5f6(0x366)]['register'](_0x205f1c,_0x5f0bda)),this[_0x27a5f6(0x103)](this[_0x27a5f6(0x366)]['register'](_0xcb0280,_0x2c2195)),this[_0x27a5f6(0x103)](this[_0x27a5f6(0x366)][_0x27a5f6(0x223)](_0x5c919f,_0x204deb)),this[_0x27a5f6(0x103)](this['_componentManager'][_0x27a5f6(0x223)](_0x2dab50,_0x231d64)),this[_0x27a5f6(0x103)](this[_0x27a5f6(0x366)][_0x27a5f6(0x223)](_0x57b3d6,_0x1bc9bf[_0x27a5f6(0x164)])),this['_registerPickers'](),this[_0x27a5f6(0x366)]['get'](_0x390061[_0x27a5f6(0xea)])||this[_0x27a5f6(0x103)](this[_0x27a5f6(0x366)][_0x27a5f6(0x223)](_0x390061['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'],_0xdb8590)),this[_0x27a5f6(0x103)](this[_0x27a5f6(0x366)]['register'](_0x16861b,_0x3ca34c));}[_0x4ea115(0x2d5)](){const _0x40cffd=_0x4ea115;this[_0x40cffd(0x103)](this[_0x40cffd(0x366)][_0x40cffd(0x223)](_0x593cd4,_0x37b32e));}[_0x4ea115(0x221)](){const _0x58dbf3=_0x4ea115;this[_0x58dbf3(0x103)](this[_0x58dbf3(0x366)]['register'](_0x300198,_0x1573e3));}['_registerPickers'](){const _0x31d6a3=_0x4ea115;this[_0x31d6a3(0x103)](this[_0x31d6a3(0x366)][_0x31d6a3(0x223)](_0x215dca,_0x4e301f)),this[_0x31d6a3(0x103)](this[_0x31d6a3(0x366)][_0x31d6a3(0x223)](_0x19b74d,_0x418549));}};_0x4e161f=_0x555290([_0x379978(0x0,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x446708[_0x4ea115(0x343)])),_0x379978(0x1,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x446708['IconManager']))],_0x4e161f);let _0x245a37=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x5bbcf7,_0xea62d3,_0x3509b7,_0x2761fd,_0x57f7af,_0x2a5743,_0x2c80a7,_0x4e68f2,_0xcb0c26){const _0x558d70=_0x4ea115;super();let _0x38f97f=_0x45edeb=>{const _0x1d1378=_0x9d29;let _0x1a7fb5=_0x2a5743[_0x1d1378(0x1f8)](_0x45edeb[_0x1d1378(0x18f)],_0x5bc1cc['UniverInstanceType'][_0x1d1378(0x310)]),_0x5d8cb0=_0x1a7fb5?(0x0,_0x42aa76['getDocumentDrawingSegmentId'])(_0x1a7fb5,_0x45edeb['shapeId']):'';return!!_0x1a7fb5&&(0x0,_0x42aa76[_0x1d1378(0x1b4)])(_0x4e68f2,_0x45edeb[_0x1d1378(0x18f)],[(0x0,_0x42aa76[_0x1d1378(0x28b)])(_0x5d8cb0,_0x1d1378(0x31d),_0x45edeb[_0x1d1378(0x392)]),...(0x0,_0x42aa76[_0x1d1378(0x373)])(_0x1a7fb5,_0x5d8cb0,_0x1d1378(0x31d),_0x45edeb[_0x1d1378(0x392)])]);},_0x152c2b=_0x4b5188=>_0x4b5188[_0x558d70(0x392)]&&_0x38f97f(_0x4b5188)?_0x3509b7[_0x558d70(0x3e9)](_0x4b5188[_0x558d70(0x18f)],_0x4b5188[_0x558d70(0x392)])??null:null,_0x28b7f1=()=>{const _0x44212e=_0x558d70;let _0x10859d=_0x57f7af[_0x44212e(0x2dd)](),_0xe24307=_0x10859d[_0x44212e(0xbe)]===0x1?_0x10859d[0x0]:null;return(_0xe24307==null?void 0x0:_0xe24307[_0x44212e(0x3a3)])===_0x5bc1cc[_0x44212e(0x1c8)]['DRAWING_SHAPE']&&_0xe24307[_0x44212e(0x18f)]===_0x5bbcf7[_0x44212e(0x18f)]?{'unitId':_0xe24307['unitId'],'subUnitId':_0xe24307[_0x44212e(0x199)],'shapeId':_0xe24307['drawingId']}:null;};this['disposeWithMe']((0x0,_0x1bc9bf['registerShapeFormatPainter'])(_0x5bbcf7,_0xea62d3,{'changes$':(0x0,_0x587404[_0x558d70(0x105)])(_0x57f7af[_0x558d70(0x2ff)],_0x2761fd[_0x558d70(0x190)],_0x4e68f2[_0x558d70(0x2b3)]),'isActive':()=>{const _0x3514b8=_0x558d70;var _0xfd789b;return((_0xfd789b=_0x2a5743[_0x3514b8(0x204)]())==null?void 0x0:_0xfd789b[_0x3514b8(0x1e4)]())===_0x5bbcf7['unitId']&&!_0x2c80a7[_0x3514b8(0x273)](_0x5bc1cc[_0x3514b8(0x33b)])&&_0x57f7af['getFocusDrawings']()[_0x3514b8(0x23a)](_0x3d58d9=>_0x3d58d9[_0x3514b8(0x18f)]===_0x5bbcf7[_0x3514b8(0x18f)]);},'getSelectedTarget':_0x28b7f1,'getSource':()=>{let _0x2b08ef=_0x28b7f1();return _0x2b08ef?_0x152c2b(_0x2b08ef):null;},'getTarget':_0x3f9e06=>{const _0x298319=_0x558d70;let _0x53b496=_0x5bbcf7['scene'][_0x298319(0x29b)](new _0x24aff0[(_0x298319(0x397))](_0x3f9e06[_0x298319(0x1e9)],_0x3f9e06[_0x298319(0x266)]));if(!(_0x53b496 instanceof _0x49294f))return null;let _0x3ee49a={'unitId':_0x5bbcf7[_0x298319(0x18f)],'subUnitId':_0x5bbcf7['unitId'],'shapeId':_0x53b496['shapeId']};return _0x38f97f(_0x3ee49a)?_0x3ee49a:null;},'getShape':_0x152c2b,'update':(_0x2bb193,_0x219318,_0x4a2ce1)=>_0xcb0c26[_0x558d70(0x217)](_0x1897fd[_0x558d70(0x3e3)]['id'],{..._0x2bb193,'shapeData':_0x4a2ce1,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x219318}})}));}};_0x245a37=_0x555290([_0x379978(0x1,(0x0,_0x5bc1cc['Inject'])(_0x446708[_0x4ea115(0x240)])),_0x379978(0x2,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x1897fd[_0x4ea115(0x293)])),_0x379978(0x3,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x213530)),_0x379978(0x4,_0x3cf577[_0x4ea115(0x214)]),_0x379978(0x5,_0x5bc1cc[_0x4ea115(0x18e)]),_0x379978(0x6,_0x5bc1cc['IContextService']),_0x379978(0x7,_0x5bc1cc[_0x4ea115(0x3d0)]),_0x379978(0x8,_0x5bc1cc[_0x4ea115(0x2db)])],_0x245a37);function _0x43489b(_0x1cba30,_0x471557){const _0x54eaaf=_0x4ea115;let _0x2817f1=_0x1cba30;for(;_0x2817f1;){if(_0x471557(_0x2817f1))return _0x2817f1;_0x2817f1=typeof _0x2817f1[_0x54eaaf(0x15c)]==_0x54eaaf(0x2ad)?_0x2817f1[_0x54eaaf(0x15c)]():null;}return null;}function _0x370239(_0x1586d1){return _0x43489b(_0x1586d1,_0x26e6ab=>_0x26e6ab instanceof _0x49294f);}function _0x6442d(_0x4abec4){const _0x2a5fa4=_0x4ea115;return(_0x4abec4==null?void 0x0:_0x4abec4[_0x2a5fa4(0x1eb)])==null;}let _0x8a76d7=class extends _0x5bc1cc['Disposable']{constructor(_0x3dbe6f,_0x3ce4f4,_0xe3f62c,_0x107467,_0x143216,_0x352b37){const _0x41feee=_0x4ea115;super(),this[_0x41feee(0x334)]=_0x3dbe6f,this[_0x41feee(0x149)]=_0x3ce4f4,this[_0x41feee(0x275)]=_0xe3f62c,this[_0x41feee(0x32f)]=_0x107467,this[_0x41feee(0x37e)]=_0x143216,this[_0x41feee(0x3b7)]=_0x352b37,_0x128b9e(this,_0x41feee(0x33e),null),_0x128b9e(this,_0x41feee(0x20d),null),this['_initEvents'](),this[_0x41feee(0x287)](),this[_0x41feee(0xac)]();}['dispose'](){const _0x16fe73=_0x4ea115;this[_0x16fe73(0xbd)](),super[_0x16fe73(0x17a)]();}[_0x4ea115(0xc5)](){const _0x14d449=_0x4ea115;let {scene:_0x582473}=this[_0x14d449(0x334)];this[_0x14d449(0x103)](_0x582473[_0x14d449(0x33d)][_0x14d449(0x3bb)]((_0x33d27b,_0xf474a9)=>{const _0x5c4341=_0x14d449;let {offsetX:_0x4127fa,offsetY:_0x187b19}=_0x33d27b,_0x2879ae=_0x24aff0[_0x5c4341(0x397)][_0x5c4341(0x2e6)]([_0x4127fa,_0x187b19]),_0xb5d894=_0x370239(_0x582473[_0x5c4341(0x29b)](_0x2879ae))??this[_0x5c4341(0x13b)](_0x2879ae);if(_0xb5d894){_0xf474a9[_0x5c4341(0xcd)]();let _0x3d50fb=this[_0x5c4341(0x3b7)][_0x5c4341(0x189)](_0xb5d894[_0x5c4341(0x18f)],_0xb5d894[_0x5c4341(0x199)],_0xb5d894[_0x5c4341(0x392)]);if(!_0x3d50fb||(0x0,_0x349291[_0x5c4341(0x2d6)])(_0x3d50fb['getShapeType']())||!_0x6442d(_0x3d50fb[_0x5c4341(0x165)]()))return;this[_0x5c4341(0x149)][_0x5c4341(0x18a)]({'visible':!0x0,'unitId':_0xb5d894[_0x5c4341(0x18f)],'subUnitId':_0xb5d894[_0x5c4341(0x199)],'shapeId':_0xb5d894[_0x5c4341(0x392)],'shapeKey':_0xb5d894[_0x5c4341(0x23f)]});}}));}[_0x4ea115(0x13b)](_0x1036c7){const _0x41a572=_0x4ea115;let {scene:_0x2df1cf}=this[_0x41a572(0x334)];return this[_0x41a572(0x275)][_0x41a572(0x2dd)]()[_0x41a572(0x3ca)](_0x1f7935=>_0x2df1cf[_0x41a572(0x179)]((0x0,_0x3cf577['getDrawingShapeKeyByDrawingSearch'])(_0x1f7935)))[_0x41a572(0x99)](_0x39a1f9=>_0x39a1f9 instanceof _0x49294f&&_0x39a1f9['isHit'](_0x1036c7))??null;}[_0x4ea115(0x287)](){const _0x4d6c3b=_0x4ea115;this[_0x4d6c3b(0x103)](this[_0x4d6c3b(0x275)][_0x4d6c3b(0x2ff)][_0x4d6c3b(0x3a6)](_0x401c31=>{const _0x5a89a9=_0x4d6c3b;if(_0x401c31[_0x5a89a9(0xbe)]===0x1){let _0x1108a8=_0x401c31[0x0],_0x599267=this[_0x5a89a9(0x275)][_0x5a89a9(0x3ba)](_0x1108a8);if((_0x599267==null?void 0x0:_0x599267[_0x5a89a9(0x3a3)])===_0x5bc1cc[_0x5a89a9(0x1c8)]['DRAWING_SHAPE']){let _0x5e194d=this[_0x5a89a9(0x149)]['getEditing']();if((_0x5e194d==null?void 0x0:_0x5e194d[_0x5a89a9(0x392)])===_0x1108a8[_0x5a89a9(0x408)]&&_0x5e194d['visible'])return;(0x0,_0x349291['isConnectorShape'])(this[_0x5a89a9(0x3b7)]['getShapeType'](_0x1108a8[_0x5a89a9(0x18f)],_0x1108a8[_0x5a89a9(0x199)],_0x1108a8[_0x5a89a9(0x408)]))&&this['_shapeTextEditingService'][_0x5a89a9(0x18a)](null);}else this['_shapeTextEditingService'][_0x5a89a9(0x3b0)]();}else this[_0x5a89a9(0x149)][_0x5a89a9(0x3b0)]();})),this[_0x4d6c3b(0x103)](this['_drawingManagerService'][_0x4d6c3b(0x15a)][_0x4d6c3b(0x3a6)](_0x34e695=>{const _0x355e3c=_0x4d6c3b;let _0x1e6ca5=this[_0x355e3c(0x149)][_0x355e3c(0x3db)]();_0x1e6ca5&&_0x34e695[_0x355e3c(0x23a)](_0x46495f=>_0x46495f[_0x355e3c(0x408)]===_0x1e6ca5[_0x355e3c(0x392)])&&this[_0x355e3c(0x149)][_0x355e3c(0x18a)](null);}));}[_0x4ea115(0xac)](){const _0x59a654=_0x4ea115;this[_0x59a654(0x103)](this[_0x59a654(0x149)][_0x59a654(0x190)][_0x59a654(0x3a6)](_0x2471f4=>{const _0x16a825=_0x59a654;(_0x2471f4==null?void 0x0:_0x2471f4[_0x16a825(0x39e)])===!0x0&&_0x2471f4[_0x16a825(0x18f)]===this[_0x16a825(0x334)]['unitId']?this[_0x16a825(0x20d)]??=this[_0x16a825(0x37e)]['beginInteraction']():this['_endLayoutInteraction']();let {scene:_0x1f0279}=this['_context'];if(this['_lastEditingShapeKey']){let _0x4dd0ee=_0x1f0279[_0x16a825(0x179)](this[_0x16a825(0x33e)]);_0x4dd0ee&&_0x4dd0ee[_0x16a825(0x18a)](!0x1);}if(_0x2471f4){let _0x27aaf7=!!_0x2471f4[_0x16a825(0x39e)],_0x2fbcd4=_0x1f0279[_0x16a825(0x179)](_0x2471f4[_0x16a825(0x35b)]);_0x2fbcd4&&(_0x2fbcd4[_0x16a825(0x18a)](_0x27aaf7),this[_0x16a825(0x33e)]=_0x2471f4['shapeKey']),this[_0x16a825(0x32f)][_0x16a825(0x153)](_0x5bc1cc['FOCUSING_SHAPE_TEXT_EDITOR'],_0x27aaf7);}else this[_0x16a825(0x33e)]=null,this[_0x16a825(0x32f)][_0x16a825(0x153)](_0x5bc1cc[_0x16a825(0x33b)],!0x1);}));}[_0x4ea115(0xbd)](){const _0xe7c534=_0x4ea115;var _0x2999e5;(_0x2999e5=this[_0xe7c534(0x20d)])==null||_0x2999e5[_0xe7c534(0x17a)](),this[_0xe7c534(0x20d)]=null;}};_0x8a76d7=_0x555290([_0x379978(0x1,(0x0,_0x5bc1cc['Inject'])(_0x213530)),_0x379978(0x2,_0x3cf577[_0x4ea115(0x214)]),_0x379978(0x3,_0x5bc1cc[_0x4ea115(0x3f8)]),_0x379978(0x4,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x341d83['DocLayoutInteractionService'])),_0x379978(0x5,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x1897fd['DocsShapeService']))],_0x8a76d7);let _0x57f8f2=class extends _0x1bc9bf[_0x4ea115(0x2f1)]{constructor(_0x499b4b,_0x9f0e25,_0x133c1b,_0x198da8,_0x57b2fb,_0x1ea6c3,_0x12fa6b,_0x2be191,_0x39b6d7,_0x3a0fcc){super(_0x499b4b,_0x9f0e25,_0x133c1b,_0x198da8,_0x57b2fb,_0x1ea6c3,_0x12fa6b,_0x2be191,_0x39b6d7,_0x3a0fcc,{'componentKey':_0x57b3d6,'editorUnitId':_0x33ec1c});}};_0x57f8f2=_0x555290([_0x379978(0x1,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x42aa76[_0x4ea115(0x3c2)])),_0x379978(0x2,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x341d83['DocCanvasPopManagerService'])),_0x379978(0x3,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x341d83[_0x4ea115(0x375)])),_0x379978(0x4,_0x5bc1cc[_0x4ea115(0x2db)]),_0x379978(0x5,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x341d83[_0x4ea115(0x112)])),_0x379978(0x6,(0x0,_0x5bc1cc['Inject'])(_0x1bc9bf[_0x4ea115(0xbb)])),_0x379978(0x7,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x42aa76[_0x4ea115(0x282)])),_0x379978(0x8,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x341d83['DocRenderController'])),_0x379978(0x9,(0x0,_0x5bc1cc['Inject'])(_0x213530))],_0x57f8f2);let _0x500c6d=class extends _0x5bc1cc['Disposable']{constructor(_0x2a35ac,_0x29d304,_0x53529e,_0x4cc4f3,_0x3e818f,_0x4ecb5c,_0x545b8b,_0x59de27,_0x6f2804,_0xb0452c,_0x38469b,_0x4c1791){const _0x408ab8=_0x4ea115;super(),this['_univerInstanceService']=_0x2a35ac,this[_0x408ab8(0x1c5)]=_0x29d304,this[_0x408ab8(0x18b)]=_0x53529e,this['_docsShapeService']=_0x4cc4f3,this[_0x408ab8(0x260)]=_0x3e818f,this[_0x408ab8(0xcb)]=_0x4ecb5c,this[_0x408ab8(0x275)]=_0x545b8b,this[_0x408ab8(0x3bd)]=_0x59de27,this['_renderManagerService']=_0x6f2804,this['_contextService']=_0xb0452c,this[_0x408ab8(0x149)]=_0x38469b,this[_0x408ab8(0x185)]=_0x4c1791,_0x128b9e(this,'_sidebarDisposable',null),_0x128b9e(this,'_activeShapeInfo',null),_0x128b9e(this,_0x408ab8(0x3b6),!0x1),_0x128b9e(this,'_shapeEditPanelVersion',0x0),_0x128b9e(this,_0x408ab8(0x2fb),new Map()),_0x128b9e(this,_0x408ab8(0x30c),new Map()),this[_0x408ab8(0x1d0)](),this[_0x408ab8(0x103)](this[_0x408ab8(0x2f8)][_0x408ab8(0x341)](_0x5bc1cc[_0x408ab8(0x1ee)][_0x408ab8(0x310)])[_0x408ab8(0x3a6)](_0x52bfd7=>{const _0x169e51=_0x408ab8;if(!_0x52bfd7){var _0x80ee55;(_0x80ee55=this[_0x169e51(0x3c6)])==null||_0x80ee55[_0x169e51(0x17a)]();}})),this[_0x408ab8(0x37d)](),this['disposeWithMe']((0x0,_0x1bc9bf[_0x408ab8(0x391)])(this['_renderManagerService'],_0x5bc1cc[_0x408ab8(0x1ee)][_0x408ab8(0x310)],_0x4b0192=>this[_0x408ab8(0xb1)](_0x4b0192))),this[_0x408ab8(0x103)](this['_shapeTextEditingService'][_0x408ab8(0x190)][_0x408ab8(0x3a6)](_0x2df984=>{const _0x56e0ff=_0x408ab8;_0x2df984&&this[_0x56e0ff(0x1c2)](void 0x0,!0x0);})),this[_0x408ab8(0x103)](this[_0x408ab8(0x185)][_0x408ab8(0x2b3)][_0x408ab8(0x3a6)](()=>{const _0x2e80ed=_0x408ab8;this['_drawingManagerService']['getFocusDrawings']()['some'](_0xde8e0=>_0xde8e0['drawingType']===_0x5bc1cc[_0x2e80ed(0x1c8)][_0x2e80ed(0x3dc)]&&this[_0x2e80ed(0x2f8)][_0x2e80ed(0xc6)](_0xde8e0[_0x2e80ed(0x18f)])===_0x5bc1cc[_0x2e80ed(0x1ee)][_0x2e80ed(0x310)]&&!this[_0x2e80ed(0x3f6)](_0xde8e0[_0x2e80ed(0x18f)],_0xde8e0[_0x2e80ed(0x408)]))&&(this[_0x2e80ed(0x1c2)](void 0x0,!0x0),this[_0x2e80ed(0x17f)]());}));}[_0x4ea115(0x1d0)](){const _0x1746e0=_0x4ea115;this['_menuManagerService'][_0x1746e0(0x1da)](_0x2b9f36);}['getShapePopupMenus'](_0x23b6d3,_0x94c0a3,_0x562d0e,_0x42dc9b){const _0x27c856=_0x4ea115;return[{'label':_0x27c856(0x38f),'index':0x0,'commandId':_0x5a08b9['id'],'commandParams':{'unitId':_0x23b6d3,'subUnitId':_0x94c0a3,'drawingId':_0x562d0e},'disable':_0x42dc9b===_0x5bc1cc['DrawingTypeEnum'][_0x27c856(0x187)]},{'label':_0x27c856(0x123),'index':0x1,'commandId':_0x1c356f['RemoveDocDrawingCommand']['id'],'commandParams':{'unitId':_0x23b6d3,'drawings':[{'unitId':_0x23b6d3,'subUnitId':_0x94c0a3,'drawingId':_0x562d0e}]},'disable':!0x1},{'label':'docs-shape-ui.hidePanel','index':0x2,'commandId':_0x181065['id'],'commandParams':{'unitId':_0x23b6d3,'subUnitId':_0x94c0a3,'drawingId':_0x562d0e},'disable':!0x1}];}[_0x4ea115(0x29f)](_0x5e4950,_0x1a42e4,_0x72dcbd){const _0x582e11=_0x4ea115;let _0x238d63=this['_docsShapeService'][_0x582e11(0xc8)](_0x5e4950,_0x1a42e4,_0x72dcbd),_0x8d1d9f=this[_0x582e11(0x3b7)][_0x582e11(0x3e9)](_0x5e4950,_0x1a42e4,_0x72dcbd);return _0x238d63!==void 0x0&&_0x8d1d9f!==void 0x0?{'shapeData':_0x8d1d9f,'shapeId':_0x72dcbd,'shapeType':_0x238d63,'unitId':_0x5e4950,'subUnitId':_0x1a42e4,'version':this[_0x582e11(0x1ea)],'disableShapeOption':!0x1}:null;}[_0x4ea115(0x1c2)](_0x5dbc47,_0x1e46d9=!0x1){const _0x29fd99=_0x4ea115;if(_0x5dbc47==null){[...this[_0x29fd99(0x2fb)]['keys']()][_0x29fd99(0x3d7)](_0x21d65b=>this[_0x29fd99(0x1c2)](_0x21d65b,_0x1e46d9));return;}let _0x21b9bf=this[_0x29fd99(0x2fb)][_0x29fd99(0x20e)](_0x5dbc47);if(_0x21b9bf){for(let _0x3af000=_0x21b9bf[_0x29fd99(0xbe)]-0x1;_0x3af000>=0x0;--_0x3af000){let _0x4fa1d6=_0x21b9bf[_0x3af000];(_0x1e46d9||_0x4fa1d6[_0x29fd99(0x30a)]())&&(_0x4fa1d6[_0x29fd99(0x17a)](),_0x21b9bf[_0x29fd99(0x8f)](_0x3af000,0x1));}_0x21b9bf['length']===0x0&&(this[_0x29fd99(0x2fb)][_0x29fd99(0x284)](_0x5dbc47),this[_0x29fd99(0x30c)][_0x29fd99(0x284)](_0x5dbc47));}}[_0x4ea115(0x1e0)](_0x3b4175){const _0xe0eeba=_0x4ea115;let _0x5df015=this['_disposePopupsByUnit']['get'](_0x3b4175);if(_0x5df015)return _0x5df015;let _0x5a5dd9=[];return this[_0xe0eeba(0x2fb)][_0xe0eeba(0x1fe)](_0x3b4175,_0x5a5dd9),_0x5a5dd9;}[_0x4ea115(0xb1)](_0x2c08a2){const _0x573d1c=_0x4ea115;var _0x13e89e;let _0x5ebb60=new _0x5bc1cc[(_0x573d1c(0x2c2))](),_0x3c15b5=(_0x13e89e=this[_0x573d1c(0x167)][_0x573d1c(0x26c)](_0x5bc1cc[_0x573d1c(0x1ee)][_0x573d1c(0x310)])[_0x573d1c(0x99)](_0x3214ef=>_0x3214ef[_0x573d1c(0x241)]['getTransformerByCreate']()===_0x2c08a2))==null?void 0x0:_0x13e89e[_0x573d1c(0x18f)];return _0x3c15b5?(_0x5ebb60['add'](_0x2c08a2[_0x573d1c(0x1cb)][_0x573d1c(0x3a6)](()=>this[_0x573d1c(0x31a)](_0x2c08a2,_0x3c15b5))),_0x5ebb60[_0x573d1c(0xef)](_0x2c08a2[_0x573d1c(0x1ec)]['subscribe'](()=>{const _0xa296d1=_0x573d1c;this[_0xa296d1(0x1c2)](_0x3c15b5),queueMicrotask(()=>{const _0x15f24c=_0xa296d1;_0x2c08a2[_0x15f24c(0x3c9)]()[_0x15f24c(0x25e)]>0x0||(this['_contextService']['setContextValue'](_0x5bc1cc[_0x15f24c(0x3ea)],!0x1),this[_0x15f24c(0x275)][_0x15f24c(0x233)](null));});})),_0x5ebb60[_0x573d1c(0xef)](_0x2c08a2[_0x573d1c(0x102)]['subscribe'](()=>{const _0x5740a0=_0x573d1c;this[_0x5740a0(0x1c2)](_0x3c15b5,!0x0);})),_0x5ebb60):_0x5ebb60;}[_0x4ea115(0x31a)](_0x520f0d,_0x22fc56){const _0x41ccb3=_0x4ea115;let _0x62e6ab=_0x520f0d[_0x41ccb3(0x3c9)]();if(this['_isOpenedShapeEditPanel']){this[_0x41ccb3(0x1c2)](_0x22fc56,!0x0);return;}if(_0x62e6ab['size']>0x1){this['_clearPopups'](_0x22fc56);return;}let _0x5af983=_0x62e6ab[_0x41ccb3(0x3f5)]()[_0x41ccb3(0x3eb)]()[_0x41ccb3(0x115)];if(!_0x5af983){this[_0x41ccb3(0x1c2)](_0x22fc56);return;}let _0x33861f=this[_0x41ccb3(0x275)][_0x41ccb3(0x26f)](_0x5af983[_0x41ccb3(0x23f)]);if(!_0x33861f||_0x33861f[_0x41ccb3(0x3a3)]!==_0x5bc1cc['DrawingTypeEnum']['DRAWING_SHAPE']){this[_0x41ccb3(0x1c2)](_0x22fc56);return;}let {unitId:_0x7d7aa,subUnitId:_0x22be00,drawingId:_0x388af7,drawingType:_0xce6dab}=_0x33861f;if(!this['_canEditShape'](_0x7d7aa,_0x388af7)){this[_0x41ccb3(0x1c2)](_0x22fc56,!0x0);return;}let _0x91456d=this['_getShapeInfo'](_0x7d7aa,_0x22be00,_0x388af7);if(!_0x91456d){this[_0x41ccb3(0x1c2)](_0x22fc56);return;}let _0x7b997a=this[_0x41ccb3(0x2fb)][_0x41ccb3(0x20e)](_0x22fc56),_0x45ebbd=_0x7d7aa+':'+_0x22be00+':'+_0x388af7;if(this[_0x41ccb3(0x30c)][_0x41ccb3(0x20e)](_0x22fc56)===_0x45ebbd&&_0x7b997a&&_0x7b997a[_0x41ccb3(0xbe)]>0x0)return;this[_0x41ccb3(0x1c2)](_0x22fc56);let _0x152f36=this[_0x41ccb3(0x167)][_0x41ccb3(0x290)](_0x7d7aa),_0x4de1b1=((_0x152f36==null?void 0x0:_0x152f36[_0x41ccb3(0x2c3)])===!0x1?_0x152f36['with'](_0x341d83['DocCanvasPopManagerService']):this[_0x41ccb3(0x3bd)])[_0x41ccb3(0x388)](_0x5af983,this[_0x41ccb3(0x239)](_0x91456d,_0xce6dab),_0x7d7aa);this['disposeWithMe'](_0x4de1b1),this['_getDisposePopups'](_0x22fc56)[_0x41ccb3(0x39b)](_0x4de1b1),this[_0x41ccb3(0x30c)][_0x41ccb3(0x1fe)](_0x22fc56,_0x45ebbd),this[_0x41ccb3(0x275)][_0x41ccb3(0x2dd)]()['some'](_0x23c78c=>_0x23c78c[_0x41ccb3(0x18f)]===_0x7d7aa&&_0x23c78c['subUnitId']===_0x22be00&&_0x23c78c['drawingId']===_0x388af7)||this[_0x41ccb3(0x275)][_0x41ccb3(0x233)]([{'unitId':_0x7d7aa,'subUnitId':_0x22be00,'drawingId':_0x388af7}]);}[_0x4ea115(0x239)](_0x466f2c,_0x4bfa59){const _0x29493c=_0x4ea115;return{'componentKey':_0x300198,'direction':_0x29493c(0xa9),'offset':[0x0,_0x1bc9bf['SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET']],'extraProps':{'unitId':_0x466f2c[_0x29493c(0x18f)],'subUnitId':_0x466f2c[_0x29493c(0x199)],'drawingId':_0x466f2c[_0x29493c(0x392)],'drawingType':_0x4bfa59,'shapeType':_0x466f2c['shapeType'],'shapeData':_0x466f2c['shapeData']}};}[_0x4ea115(0x3f6)](_0x265ec9,_0x1c12ad){const _0x57ec09=_0x4ea115;let _0x1766b4=this[_0x57ec09(0x2f8)][_0x57ec09(0x1f8)](_0x265ec9,_0x5bc1cc[_0x57ec09(0x1ee)][_0x57ec09(0x310)]);if(!_0x1766b4)return!0x1;let _0x385a1c=(0x0,_0x42aa76['getDocumentDrawingSegmentId'])(_0x1766b4,_0x1c12ad);return(0x0,_0x42aa76[_0x57ec09(0x1b4)])(this[_0x57ec09(0x185)],_0x265ec9,[...(0x0,_0x42aa76['getDocumentEntityParentPermissionObjectIds'])(_0x1766b4,_0x385a1c,'drawing',_0x1c12ad),(0x0,_0x42aa76[_0x57ec09(0x28b)])(_0x385a1c,_0x57ec09(0x31d),_0x1c12ad)]);}[_0x4ea115(0x37d)](){const _0x25221a=_0x4ea115;this['disposeWithMe'](this[_0x25221a(0xcb)][_0x25221a(0x1b5)](_0x55a4ed=>{const _0x43d437=_0x25221a;if(_0x55a4ed['id']===_0x5a08b9['id']){let {unitId:_0x2538b1,subUnitId:_0xfc35c5,drawingId:_0x396db6}=_0x55a4ed[_0x43d437(0x405)];this[_0x43d437(0x1ea)]+=0x1,this['_activeShapeInfo']=this[_0x43d437(0x29f)](_0x2538b1,_0xfc35c5,_0x396db6),this[_0x43d437(0x1c2)](void 0x0,!0x0),this[_0x43d437(0x15e)]();}if(_0x55a4ed['id']===_0x181065['id']&&(this[_0x43d437(0x11c)]=null,this[_0x43d437(0x17f)]()),_0x55a4ed['id']===_0x1897fd[_0x43d437(0x130)]['id']){let {unitId:_0x25af3f,shapeId:_0x5dde7b}=_0x55a4ed[_0x43d437(0x405)];if(this[_0x43d437(0x11c)]&&this[_0x43d437(0x11c)][_0x43d437(0x392)]===_0x5dde7b){let _0x212164=this[_0x43d437(0x29f)](_0x25af3f,this[_0x43d437(0x11c)][_0x43d437(0x199)],_0x5dde7b);_0x212164&&(this[_0x43d437(0x1ea)]+=0x1,_0x212164[_0x43d437(0xf1)]=this['_shapeEditPanelVersion'],this[_0x43d437(0x11c)]=_0x212164,this['_isOpenedShapeEditPanel']&&this[_0x43d437(0x15e)]());}}})),this[_0x25221a(0x103)](this['_drawingManagerService'][_0x25221a(0x2ff)][_0x25221a(0x3a6)](_0x1d3968=>{const _0x490993=_0x25221a;if(this[_0x490993(0x3b6)]===!0x1)return;if(_0x1d3968['length']===0x0){this[_0x490993(0x11c)]=null,this['_closeShapeEditPanel']();return;}if(_0x1d3968[_0x490993(0xbe)]===0x1&&_0x1d3968[0x0][_0x490993(0x3a3)]===_0x5bc1cc['DrawingTypeEnum']['DRAWING_SHAPE']&&(this['_shapeEditPanelVersion']+=0x1,this[_0x490993(0x11c)]=this['_getShapeInfo'](_0x1d3968[0x0][_0x490993(0x18f)],_0x1d3968[0x0][_0x490993(0x199)],_0x1d3968[0x0][_0x490993(0x408)]),this[_0x490993(0x11c)])){this[_0x490993(0x15e)]();return;}let _0x2e6939=_0x1d3968[_0x490993(0x2e8)](_0x287b28=>_0x287b28[_0x490993(0x3a3)]===_0x5bc1cc['DrawingTypeEnum'][_0x490993(0x3dc)]);if(_0x1d3968[_0x490993(0xbe)]>0x1&&_0x2e6939['length']===_0x1d3968['length']){if(this['_shapeEditPanelVersion']+=0x1,this[_0x490993(0x11c)]=this[_0x490993(0x29f)](_0x1d3968[0x0][_0x490993(0x18f)],_0x1d3968[0x0]['subUnitId'],_0x1d3968[0x0]['drawingId']),this['_activeShapeInfo']){this['_openShapeEditPanel']();return;}}else{if(this[_0x490993(0x1ea)]+=0x1,this[_0x490993(0x11c)]=this['_getShapeInfo'](_0x1d3968[0x0]['unitId'],_0x1d3968[0x0][_0x490993(0x199)],_0x1d3968[0x0][_0x490993(0x408)]),this[_0x490993(0x11c)]){this[_0x490993(0x11c)]['disableShapeOption']=!0x0,this['_openShapeEditPanel']();return;}}this[_0x490993(0x17f)]();}));}['_openShapeEditPanel'](){const _0x16cd22=_0x4ea115;this[_0x16cd22(0x11c)]&&(this[_0x16cd22(0x3c6)]=this[_0x16cd22(0x1c5)][_0x16cd22(0x402)]({'id':_0x135e7b,'header':{'title':this[_0x16cd22(0x260)]['t'](_0x16cd22(0xa7))},'width':0x184,'children':{'label':_0x135e7b,...this[_0x16cd22(0x11c)]},'onClose':()=>{const _0x5d1426=_0x16cd22;this['_drawingManagerService'][_0x5d1426(0x233)](null),this[_0x5d1426(0x32f)][_0x5d1426(0x153)](_0x5bc1cc[_0x5d1426(0x3ea)],!0x1),this[_0x5d1426(0x3c6)]=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}[_0x4ea115(0x17f)](){const _0x5638e9=_0x4ea115;this[_0x5638e9(0x3b6)]=!0x1,this[_0x5638e9(0x1c5)]['close'](_0x135e7b),this[_0x5638e9(0x3c6)]=null,this[_0x5638e9(0x32f)][_0x5638e9(0x153)](_0x5bc1cc['FOCUSING_COMMON_DRAWINGS'],!0x1),this['_drawingManagerService'][_0x5638e9(0x233)](null);}};_0x500c6d=_0x555290([_0x379978(0x0,_0x5bc1cc['IUniverInstanceService']),_0x379978(0x1,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x446708['ISidebarService'])),_0x379978(0x2,_0x446708[_0x4ea115(0x322)]),_0x379978(0x3,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x1897fd[_0x4ea115(0x293)])),_0x379978(0x4,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x5bc1cc[_0x4ea115(0x243)])),_0x379978(0x5,_0x5bc1cc[_0x4ea115(0x2db)]),_0x379978(0x6,_0x3cf577[_0x4ea115(0x214)]),_0x379978(0x7,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x341d83[_0x4ea115(0x277)])),_0x379978(0x8,_0x24aff0[_0x4ea115(0x377)]),_0x379978(0x9,_0x5bc1cc['IContextService']),_0x379978(0xa,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x213530)),_0x379978(0xb,_0x5bc1cc[_0x4ea115(0x3d0)])],_0x500c6d);let _0x3d1652=class extends _0x5bc1cc[_0x4ea115(0xb7)]{constructor(_0x2ae459,_0x54faee){const _0x4f721f=_0x4ea115;super(),this['_docsShapeService']=_0x2ae459,this[_0x4f721f(0x260)]=_0x54faee,this[_0x4f721f(0x103)]((0x0,_0x5bc1cc[_0x4f721f(0x230)])((0x0,_0x24aff0['setDocsCustomBlockRenderViewportProvider'])((_0x497dd4,_0x2f1035,_0x2f4f0b)=>this['_measure'](_0x497dd4,_0x2f1035,_0x2f4f0b))));}[_0x4ea115(0x31f)](_0x216384,_0x1ff668,_0x1bd633){const _0x2310ba=_0x4ea115;let _0x314bdf=this[_0x2310ba(0x3b7)]['getShapeModel'](_0x216384,_0x1ff668);if(!_0x314bdf)return null;let _0x1ab247=_0x314bdf['getShapeData'](),_0xe9ca5e=(0x0,_0x349291[_0x2310ba(0x144)])(_0x1ab247),_0x4e1d2c=_0x1ab247[_0x2310ba(0x186)];if(!_0x4e1d2c||_0xe9ca5e[_0x2310ba(0x174)]!==_0x349291[_0x2310ba(0x182)][_0x2310ba(0x11e)])return null;let _0x401e16=_0x1bd633[_0x2310ba(0x25b)],_0x43a839=_0x1bd633[_0x2310ba(0x9a)];_0x314bdf[_0x2310ba(0x178)]({'width':_0x401e16,'height':_0x43a839});let _0x3b231c=_0x314bdf[_0x2310ba(0x317)]({'left':0x0,'top':0x0,'width':_0x401e16,'height':_0x43a839}),_0xfa99f4=(0x0,_0x1bc9bf[_0x2310ba(0x232)])(_0x2310ba(0x267)in _0x4e1d2c?_0x4e1d2c['dataModel']:void 0x0),_0x4fde25=(_0xfa99f4==null?void 0x0:_0xfa99f4[_0x2310ba(0x262)])??('isRichText'in _0x4e1d2c?(0x0,_0x1bc9bf[_0x2310ba(0x327)])(_0x4e1d2c,_0x1ff668+_0x2310ba(0x34f)):null);if(!_0x4fde25)return null;let _0x2c6579=(0x0,_0x1bc9bf[_0x2310ba(0x292)])({'documentData':_0x4fde25,'height':_0x43a839,'shapeData':_0x1ab247,'textRect':_0x3b231c,'width':_0x401e16,'widthBuffer':0x0});_0x2c6579&&({width:_0x401e16,height:_0x43a839}=_0x2c6579,_0x314bdf[_0x2310ba(0x178)]({'width':_0x401e16,'height':_0x43a839}),_0x3b231c=_0x314bdf['getShapeTextRect']({'left':0x0,'top':0x0,'width':_0x401e16,'height':_0x43a839}));let _0x33bcc6=_0x4e1d2c[_0x2310ba(0x1fb)]!==!0x1,_0x5b5711=(0x0,_0x1bc9bf['prepareShapeTextDocumentData'])(_0x4fde25,{'isHorizontal':_0x33bcc6,'textRect':_0x3b231c,'verticalAlign':_0xfa99f4==null?void 0x0:_0xfa99f4['va'],'horizontalAlign':_0xfa99f4==null?void 0x0:_0xfa99f4['ha'],'wrapStrategy':(0x0,_0x1bc9bf['resolveShapeTextEditorWrapStrategy'])(_0x1ab247)}),_0x3569a1=new _0x5bc1cc['DocumentDataModel'](_0x5b5711),_0x63f7fe=new _0x24aff0[(_0x2310ba(0xd5))](_0x3569a1),_0x5953a8=_0x24aff0[_0x2310ba(0x129)][_0x2310ba(0x191)](_0x63f7fe,this[_0x2310ba(0x260)]);try{var _0x2b93b9,_0x10b925;_0x5953a8['calculate']();let _0x3af383=((_0x2b93b9=_0x5953a8[_0x2310ba(0x303)]())==null?void 0x0:_0x2b93b9[_0x2310ba(0x227)])??[],_0x3e85a9=_0x3af383[_0x3af383[_0x2310ba(0xbe)]-0x1],_0x3cbd86=_0x3e85a9?Math[_0x2310ba(0x409)](0x0,((_0x10b925=(0x0,_0x24aff0['getLastLine'])(_0x3e85a9))==null?void 0x0:_0x10b925[_0x2310ba(0x10e)])??0x0):0x0,_0x2078ff=_0x5953a8['getActualSize']()['actualHeight']+_0x3cbd86-(_0x33bcc6?_0x3b231c[_0x2310ba(0x37b)]:_0x3b231c['width']);return Number[_0x2310ba(0xe5)](_0x2078ff)?_0x33bcc6?{'width':_0x401e16,'height':Math[_0x2310ba(0x409)](0x1,_0x43a839+_0x2078ff)}:{'width':Math[_0x2310ba(0x409)](0x1,_0x401e16+_0x2078ff),'height':_0x43a839}:null;}finally{_0x5953a8[_0x2310ba(0x17a)](),_0x63f7fe['dispose'](),_0x3569a1['dispose']();}}};_0x3d1652=_0x555290([_0x379978(0x0,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x1897fd[_0x4ea115(0x293)])),_0x379978(0x1,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x5bc1cc[_0x4ea115(0x243)]))],_0x3d1652);let _0x1879e9=class extends _0x5bc1cc['Plugin']{constructor(_0x486b0b=_0xd4dc79,_0x262e78,_0x5e0263,_0x2b3d47,_0x2b265f){const _0xd2c492=_0x4ea115;super(),this[_0xd2c492(0x196)]=_0x486b0b,this[_0xd2c492(0x16b)]=_0x262e78,this[_0xd2c492(0xcb)]=_0x5e0263,this['_configService']=_0x2b3d47,this['_renderManagerService']=_0x2b265f;let {menu:_0x410f67,..._0x349922}=(0x0,_0x5bc1cc[_0xd2c492(0x105)])({},_0xd4dc79,this[_0xd2c492(0x196)]);_0x410f67&&this['_configService'][_0xd2c492(0x32e)]('menu',_0x410f67,{'merge':!0x0}),this[_0xd2c492(0x314)][_0xd2c492(0x32e)](_0x3f849b,_0x349922),this[_0xd2c492(0xb5)]();}[_0x4ea115(0x1b9)](){const _0x149380=_0x4ea115;(0x0,_0x5bc1cc[_0x149380(0x28c)])(this[_0x149380(0x16b)],this[_0x149380(0x2b2)]()),this[_0x149380(0x16b)][_0x149380(0x20e)](_0x4e161f),this[_0x149380(0x333)]();}[_0x4ea115(0x2b2)](){return[[_0x4e161f],[_0x500c6d],[_0x141a20],[_0x2d120d],[_0x22d8c8],[_0x3d330d],[_0x1499e6],[_0x298f44],[_0x3d1652],[_0x213530],[_0x19d7a9]];}[_0x4ea115(0x93)](){const _0x4c21be=_0x4ea115;this[_0x4c21be(0x177)]()[_0x4c21be(0x3d7)](_0x3da660=>{const _0x1f3260=_0x4c21be;this[_0x1f3260(0x103)](this[_0x1f3260(0x167)][_0x1f3260(0x30e)](_0x5bc1cc['UniverInstanceType'][_0x1f3260(0x310)],_0x3da660));}),(0x0,_0x5bc1cc['touchDependencies'])(this[_0x4c21be(0x16b)],[[_0x500c6d],[_0x141a20],[_0x2d120d],[_0x22d8c8],[_0x1499e6],[_0x298f44],[_0x3d1652],[_0x213530],[_0x19d7a9]]);}[_0x4ea115(0x177)](){return[[_0x3d330d],[_0x8a76d7],[_0x245a37]];}[_0x4ea115(0x2a9)](){const _0x1754c3=_0x4ea115;this['disposeWithMe'](this['_renderManagerService'][_0x1754c3(0x30e)](_0x5bc1cc[_0x1754c3(0x1ee)][_0x1754c3(0x310)],[_0x57f8f2]));}[_0x4ea115(0xb5)](){const _0x145489=_0x4ea115;[_0x59105c,_0x181065,_0x5a08b9,_0x28b9a9,_0x1af57a,_0x33e271][_0x145489(0x3d7)](_0x577149=>this[_0x145489(0x103)](this['_commandService'][_0x145489(0xbf)](_0x577149)));}[_0x4ea115(0x333)](){const _0x112efc=_0x4ea115;let _0x3b0165=this[_0x112efc(0x16b)],_0x363dd7=_0x3b0165[_0x112efc(0x20e)](_0x446708[_0x112efc(0x2cb)]);this[_0x112efc(0x103)](_0x363dd7[_0x112efc(0x27f)](_0x446708['BuiltInUIPart']['CONTENT'],()=>(0x0,_0x446708[_0x112efc(0x194)])(_0x3ca34c,_0x3b0165)));}};_0x128b9e(_0x1879e9,_0x4ea115(0x23c),_0x5bc1cc['UniverInstanceType']['UNIVER_DOC']),_0x128b9e(_0x1879e9,_0x4ea115(0x3bc),_0x4ea115(0x36f)),_0x128b9e(_0x1879e9,_0x4ea115(0x2f4),_0x25865a),_0x128b9e(_0x1879e9,_0x4ea115(0xf1),_0x44d234),_0x1879e9=_0x555290([(0x0,_0x5bc1cc[_0x4ea115(0x3d1)])(_0x1e2ae2['UniverLicensePlugin'],_0x42aa76[_0x4ea115(0x3a2)],_0x3cf577[_0x4ea115(0x2ea)],_0x390061[_0x4ea115(0x28a)],_0x24aff0['UniverRenderEnginePlugin'],_0x341d83['UniverDocsUIPlugin'],_0x535f5e[_0x4ea115(0x39d)],_0x24a9ae[_0x4ea115(0x382)],_0x1897fd[_0x4ea115(0x340)],_0x1bc9bf['UniverShapeEditorUIPlugin']),_0x379978(0x1,(0x0,_0x5bc1cc[_0x4ea115(0x121)])(_0x5bc1cc[_0x4ea115(0x251)])),_0x379978(0x2,_0x5bc1cc['ICommandService']),_0x379978(0x3,_0x5bc1cc[_0x4ea115(0x3ff)]),_0x379978(0x4,_0x24aff0['IRenderManagerService'])],_0x1879e9),_0x3e8be1[_0x4ea115(0x3a7)]=_0x2b9f36,Object[_0x4ea115(0x2b6)](_0x3e8be1,_0x4ea115(0x12a),{'enumerable':!0x0,'get':function(){return _0x118582;}}),Object[_0x4ea115(0x2b6)](_0x3e8be1,_0x4ea115(0x363),{'enumerable':!0x0,'get':function(){return _0x1879e9;}});}));
|