@univerjs-pro/docs-shape-ui 1.0.0-beta.1 → 1.0.0-beta.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/types/controllers/doc-shape-printing.controller.d.ts +12 -0
- package/lib/types/controllers/shape-text-float-menu.render-controller.d.ts +5 -4
- package/lib/types/controllers/ui.controller.d.ts +0 -3
- package/lib/types/menu/shape-format-ribbon.menu.d.ts +5 -0
- package/lib/types/plugin.d.ts +1 -0
- package/lib/types/views/shape-format-ribbon/DocsShapeFormatRibbonControls.d.ts +10 -0
- package/lib/types/views/shape-format-ribbon/DocsShapeWrappingStyleIcons.d.ts +8 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +18 -18
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x3fe5(_0xc9c87b,_0x15d885){_0xc9c87b=_0xc9c87b-0x151;const _0x44154e=_0x4415();let _0x3fe507=_0x44154e[_0xc9c87b];return _0x3fe507;}(function(_0xe567e5,_0x4aa0c7){const _0x5196f1=_0x3fe5,_0x681f67=_0xe567e5();while(!![]){try{const _0x4b550e=-parseInt(_0x5196f1(0x40c))/0x1+-parseInt(_0x5196f1(0x1c4))/0x2+parseInt(_0x5196f1(0x1a4))/0x3*(-parseInt(_0x5196f1(0x18f))/0x4)+parseInt(_0x5196f1(0x3b5))/0x5*(-parseInt(_0x5196f1(0x223))/0x6)+-parseInt(_0x5196f1(0x170))/0x7+parseInt(_0x5196f1(0x39e))/0x8*(parseInt(_0x5196f1(0x345))/0x9)+-parseInt(_0x5196f1(0x16d))/0xa*(-parseInt(_0x5196f1(0x154))/0xb);if(_0x4b550e===_0x4aa0c7)break;else _0x681f67['push'](_0x681f67['shift']());}catch(_0x16c9bc){_0x681f67['push'](_0x681f67['shift']());}}}(_0x4415,0x7f17b),function(_0x185183,_0x3d44c2){const _0x36873f=_0x3fe5;typeof exports=='object'&&typeof module<'u'?_0x3d44c2(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')):typeof define==_0x36873f(0x1f4)&&define['amd']?define([_0x36873f(0x2b5),_0x36873f(0x17c),'@univerjs/docs-ui',_0x36873f(0x3bd),_0x36873f(0x403),'@univerjs-pro/engine-shape',_0x36873f(0x321),'@univerjs/core',_0x36873f(0x2ae),_0x36873f(0x222),_0x36873f(0x15c),_0x36873f(0x255),_0x36873f(0x1a6),_0x36873f(0x1cf),'rxjs','@univerjs-pro/license',_0x36873f(0x3e9),_0x36873f(0x3cb)],_0x3d44c2):(_0x185183=typeof globalThis<'u'?globalThis:_0x185183||self,_0x3d44c2(_0x185183[_0x36873f(0x41a)]={},_0x185183[_0x36873f(0x392)],_0x185183['UniverDocsUi'],_0x185183[_0x36873f(0x295)],_0x185183[_0x36873f(0x1fa)],_0x185183['UniverProEngineShape'],_0x185183[_0x36873f(0x2ff)],_0x185183[_0x36873f(0x157)],_0x185183['UniverDocs'],_0x185183['UniverDocsDrawing'],_0x185183['UniverEngineRender'],_0x185183[_0x36873f(0x3b3)],_0x185183[_0x36873f(0x215)],_0x185183[_0x36873f(0x383)],_0x185183[_0x36873f(0x36e)],_0x185183['UniverProLicense'],_0x185183['UniverDocsDrawingUi'],_0x185183['React']));}(this,function(_0x495beb,_0x477995,_0xadaed7,_0x314b7e,_0x397c2d,_0x2d5ae1,_0x377eec,_0x199bc9,_0x52097a,_0xe167a4,_0x4bd9c2,_0x48b930,_0x1a42e8,_0x5c8576,_0x259d9f,_0xe2a57e,_0x14557e,_0x3c5464){const _0x44da2a=_0x3fe5;Object[_0x44da2a(0x264)](_0x495beb,Symbol[_0x44da2a(0x1f3)],{'value':_0x44da2a(0x356)});let _0x2e2995=_0x44da2a(0x27c),_0x4966fe=_0x44da2a(0x1e4);function _0x5cf7b4(_0x93796,_0x58430d){const _0x9272a9=_0x44da2a;if(_0x58430d){if((0x0,_0x2d5ae1[_0x9272a9(0x34a)])(_0x93796)&&(_0x58430d[_0x9272a9(0x1b5)]||_0x58430d[_0x9272a9(0x3a4)]))return{'ln':{'startArrow':_0x58430d[_0x9272a9(0x1b5)]?{'type':_0x2d5ae1[_0x9272a9(0x2e0)][_0x9272a9(0x2ac)],'size':_0x2d5ae1[_0x9272a9(0x207)][_0x9272a9(0x212)]}:void 0x0,'endArrow':_0x58430d[_0x9272a9(0x3a4)]?{'type':_0x2d5ae1['ShapeArrowTypeEnum']['Arrow'],'size':_0x2d5ae1[_0x9272a9(0x207)][_0x9272a9(0x23e)]}:void 0x0}};if(_0x93796===_0x2d5ae1['ShapeTypeEnum']['Rect']&&(_0x58430d['horizontal']||_0x58430d['vertical']))return(0x0,_0x377eec[_0x9272a9(0x2f5)])({'fill':{'fillType':_0x2d5ae1[_0x9272a9(0x179)]['SolidFill'],'color':_0x2e2995},'isHorizontal':!!_0x58430d[_0x9272a9(0x39a)],'stroke':{'lineStrokeType':_0x2d5ae1['ShapeLineTypeEnum']['SolidLine'],'width':0x1,'color':_0x4966fe}});}}function _0x2862a3(_0x176d5e,_0x58aa16){const _0x2f82c0=_0x44da2a;var _0x2f4836;let _0x322436=_0x58aa16['segmentId']??'',_0x2d133e=(_0x2f4836=_0x176d5e[_0x2f82c0(0x350)](_0x322436))==null?void 0x0:_0x2f4836[_0x2f82c0(0x2f2)]();if(!_0x2d133e)return null;let _0x3bc306=_0x2d133e[_0x2f82c0(0x3cd)]??[],_0x452002=_0x3bc306[_0x2f82c0(0x1da)](_0x4e84f1=>{const _0x2cfa22=_0x2f82c0;let _0x556eb9=(0x0,_0x199bc9[_0x2cfa22(0x23d)])(_0x2d133e,_0x4e84f1);return _0x58aa16[_0x2cfa22(0x2bb)]>=_0x556eb9&&_0x58aa16[_0x2cfa22(0x2bb)]<=_0x4e84f1['startIndex'];})??_0x3bc306[_0x3bc306[_0x2f82c0(0x268)]-0x1];return _0x452002?{'paragraphId':_0x452002[_0x2f82c0(0x410)],'segmentId':_0x322436,'position':_0x397c2d['DocShapeAnchorPosition'][_0x2f82c0(0x2de)],'offset':_0x58aa16['startOffset']-(0x0,_0x199bc9[_0x2f82c0(0x23d)])(_0x2d133e,_0x452002)}:null;}function _0x5eedf9(_0x151e38,_0x1899dd,_0x5b96d0){const _0x2c2535=_0x44da2a;var _0x6263af,_0xf3ba0f;if(!_0x5b96d0)return null;let _0x4a2977=(_0x6263af=_0x151e38[_0x2c2535(0x41e)](_0x4bd9c2[_0x2c2535(0x3f8)])['getRenderUnitById'](_0x1899dd))==null?void 0x0:_0x6263af[_0x2c2535(0x41c)](_0xadaed7[_0x2c2535(0x3dc)])[_0x2c2535(0x1e7)];if(!_0x4a2977)return null;let _0x5bd779=_0x5b96d0===_0x2c2535(0x2aa)?{'startOffset':_0x4a2977[_0x2c2535(0x231)][_0x2c2535(0x307)],'endOffset':_0x4a2977['moveRange'][_0x2c2535(0x307)]}:_0x4a2977['menuRange'];return{'startOffset':_0x5bd779[_0x2c2535(0x2bb)],'endOffset':_0x5bd779[_0x2c2535(0x307)],'collapsed':_0x5bd779[_0x2c2535(0x2bb)]===_0x5bd779[_0x2c2535(0x307)],'segmentId':((_0xf3ba0f=_0x4a2977['paragraph'])==null?void 0x0:_0xf3ba0f[_0x2c2535(0x401)])??''};}let _0x5e21da={'type':_0x199bc9[_0x44da2a(0x2b3)][_0x44da2a(0x38d)],'id':'doc.command.menu-insert-shape','handler':async(_0x146fc1,_0x424180)=>{const _0x1cfff7=_0x44da2a;let _0xef2c0a=_0x146fc1['get'](_0x199bc9['IUniverInstanceService'])['getCurrentUnitOfType'](_0x199bc9[_0x1cfff7(0x31a)]['UNIVER_DOC']);if(!_0xef2c0a)return!0x1;let _0x41a793=_0x146fc1[_0x1cfff7(0x41e)](_0x199bc9[_0x1cfff7(0x250)]),_0x4b2eb3=_0xef2c0a[_0x1cfff7(0x2a6)](),_0x4e5462=_0x424180[_0x1cfff7(0x195)]??(0x0,_0x199bc9[_0x1cfff7(0x1d2)])(),_0x2ced37=_0x424180[_0x1cfff7(0x25c)]??_0x397c2d['DEFAULT_DOC_SHAPE_WIDTH'],_0x275deb=_0x424180[_0x1cfff7(0x2a2)]??_0x397c2d['DEFAULT_DOC_SHAPE_HEIGHT'],_0x382fa6=_0x424180[_0x1cfff7(0x261)]??_0x5cf7b4(_0x424180[_0x1cfff7(0x38a)],_0x424180[_0x1cfff7(0x17b)])??{'fill':{'fillType':_0x2d5ae1['ShapeFillEnum'][_0x1cfff7(0x26a)],'color':_0x2e2995},'stroke':{'lineStrokeType':_0x2d5ae1[_0x1cfff7(0x310)]['SolidLine'],'width':0x1,'color':_0x4966fe}},_0x41c02e=_0x5eedf9(_0x146fc1,_0x4b2eb3,_0x424180['paragraphMenuPlacement'])??_0x146fc1[_0x1cfff7(0x41e)](_0x52097a[_0x1cfff7(0x17f)])[_0x1cfff7(0x28e)]();if(!_0x41c02e)return!0x1;let _0x549414=_0x2862a3(_0xef2c0a,_0x41c02e);return _0x549414?!!_0x41a793[_0x1cfff7(0x216)](_0x397c2d['InsertDocShapeCommand']['id'],{'unitId':_0x4b2eb3,'shapeId':_0x4e5462,'shapeType':_0x424180['value'],'shapeData':_0x382fa6,'transform':{'width':_0x2ced37,'height':_0x275deb},'placement':{'wrappingStyle':_0xe167a4[_0x1cfff7(0x3e8)][_0x1cfff7(0x309)],'anchor':_0x549414}}):!0x1;}},_0x592432=_0x44da2a(0x19d),_0x1a1332=_0x44da2a(0x2da),_0x1eb480=_0x44da2a(0x1f0),_0xa6f102=(0x0,_0x199bc9[_0x44da2a(0x1ad)])(_0x44da2a(0x274)),_0x4c7158=_0x44da2a(0x3c4),_0x3ff923={'id':_0x44da2a(0x168),'type':_0x199bc9[_0x44da2a(0x2b3)]['COMMAND'],'handler':(_0x5c60dc,_0x2d18c4)=>{const _0x39c9af=_0x44da2a;let _0x210251=_0x5c60dc[_0x39c9af(0x41e)](_0x314b7e[_0x39c9af(0x3de)]),_0x190709=_0x5c60dc[_0x39c9af(0x41e)](_0x199bc9['LocaleService']),_0x335890=_0x5c60dc[_0x39c9af(0x41e)](_0x48b930[_0x39c9af(0x3be)]);return(_0x2d18c4==null?void 0x0:_0x2d18c4[_0x39c9af(0x38a)])==='close'?(_0x210251[_0x39c9af(0x2e1)](_0x1eb480),!0x0):(_0x210251[_0x39c9af(0x290)]({'id':_0x1eb480,'header':{'title':_0x190709['t'](_0x39c9af(0x228))},'children':{'label':_0x1eb480},'onClose':()=>{const _0x18ddf3=_0x39c9af;_0x335890[_0x18ddf3(0x37f)](null);},'width':0x168}),!0x0);}},_0x39ec2b={'type':_0x199bc9[_0x44da2a(0x2b3)][_0x44da2a(0x1a7)],'id':_0x44da2a(0x242),'handler'(){return!0x0;}};function _0x150e0b(_0x426d38){const _0x318c02=_0x44da2a;let _0x4ebbbc=_0x426d38['get'](_0x48b930['IDrawingManagerService'])[_0x318c02(0x3f0)](),_0x403bd5=_0x4ebbbc[_0x318c02(0x268)]===0x1?_0x4ebbbc[0x0]:null;if(!_0x403bd5||_0x403bd5[_0x318c02(0x408)]!==_0x199bc9[_0x318c02(0x1d9)][_0x318c02(0x418)])return null;let _0x19839c=_0x426d38[_0x318c02(0x41e)](_0x397c2d[_0x318c02(0x197)]),_0x262d44=_0x19839c[_0x318c02(0x2b2)](_0x403bd5[_0x318c02(0x1e0)],_0x403bd5[_0x318c02(0x3d5)],_0x403bd5[_0x318c02(0x3a1)]),_0x2aab99=_0x19839c['getShapeDataById'](_0x403bd5['unitId'],_0x403bd5[_0x318c02(0x3d5)],_0x403bd5[_0x318c02(0x3a1)]);return _0x262d44===void 0x0||!_0x2aab99?null:{'drawing':_0x403bd5,'shapeData':_0x2aab99,'shapeType':_0x262d44};}let _0x43474b={'id':_0x44da2a(0x32c),'type':_0x199bc9['CommandType'][_0x44da2a(0x1a7)],'handler':(_0x220acc,_0x5c4339)=>{const _0x194502=_0x44da2a;let _0x1f371e=_0x150e0b(_0x220acc),_0x2ffa10=(0x0,_0x377eec[_0x194502(0x318)])((_0x5c4339==null?void 0x0:_0x5c4339[_0x194502(0x3eb)])??(_0x5c4339==null?void 0x0:_0x5c4339[_0x194502(0x38a)])??'');if(!_0x1f371e||!_0x2ffa10||_0x2ffa10[_0x194502(0x27f)]!==(0x0,_0x377eec[_0x194502(0x151)])(_0x1f371e['shapeData']))return!0x1;let _0x2d1ffb=(0x0,_0x377eec[_0x194502(0x2c5)])(_0x1f371e[_0x194502(0x261)],_0x2ffa10);if(!_0x2d1ffb)return!0x1;let {drawing:_0x561fc0}=_0x1f371e;return _0x220acc[_0x194502(0x41e)](_0x199bc9[_0x194502(0x250)])[_0x194502(0x24b)](_0x397c2d['UpdateDocShapeDataCommand']['id'],{'unitId':_0x561fc0[_0x194502(0x1e0)],'shapeId':_0x561fc0['drawingId'],'shapeData':_0x2d1ffb,'oldShapeJSON':{'oldShapeData':_0x1f371e[_0x194502(0x261)]}});}},_0x33706f={'id':_0x44da2a(0x1c2),'type':_0x199bc9[_0x44da2a(0x2b3)][_0x44da2a(0x1a7)],'handler':(_0x1d276a,_0x5bf7ab)=>{const _0x3cb478=_0x44da2a;let _0x40f8bc=_0x150e0b(_0x1d276a),_0xcf28e0=(_0x5bf7ab==null?void 0x0:_0x5bf7ab['shapeType'])??(_0x5bf7ab==null?void 0x0:_0x5bf7ab[_0x3cb478(0x38a)]);if(!_0x40f8bc||!_0xcf28e0||(0x0,_0x2d5ae1[_0x3cb478(0x34a)])(_0x40f8bc[_0x3cb478(0x375)])||(0x0,_0x2d5ae1[_0x3cb478(0x34a)])(_0xcf28e0))return!0x1;let _0x5e512e=(0x0,_0x377eec[_0x3cb478(0x173)])(_0x40f8bc[_0x3cb478(0x261)],_0xcf28e0);if(!_0x5e512e)return!0x1;let {drawing:_0xfc2d79}=_0x40f8bc;return _0x1d276a['get'](_0x199bc9[_0x3cb478(0x250)])[_0x3cb478(0x24b)](_0x397c2d[_0x3cb478(0x3d3)]['id'],{'unitId':_0xfc2d79['unitId'],'shapeId':_0xfc2d79[_0x3cb478(0x3a1)],'shapeType':_0xcf28e0,'shapeData':_0x5e512e,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x40f8bc['shapeType'],'oldShapeData':_0x40f8bc[_0x3cb478(0x261)]}});}};function _0x57fca7(_0x1076f9,_0x144e5c){return function(_0x1aeab1,_0x287cc1){_0x144e5c(_0x1aeab1,_0x287cc1,_0x1076f9);};}function _0x5e6390(_0xccf1ed,_0x1fef76,_0x3d8449,_0x10c9bd){const _0x54cda0=_0x44da2a;var _0x23e9a6=arguments['length'],_0x54eec8=_0x23e9a6<0x3?_0x1fef76:_0x10c9bd===null?_0x10c9bd=Object['getOwnPropertyDescriptor'](_0x1fef76,_0x3d8449):_0x10c9bd,_0x4f2e9b;if(typeof Reflect=='object'&&typeof Reflect['decorate']=='function')_0x54eec8=Reflect[_0x54cda0(0x28d)](_0xccf1ed,_0x1fef76,_0x3d8449,_0x10c9bd);else{for(var _0x1376a3=_0xccf1ed[_0x54cda0(0x268)]-0x1;_0x1376a3>=0x0;_0x1376a3--)(_0x4f2e9b=_0xccf1ed[_0x1376a3])&&(_0x54eec8=(_0x23e9a6<0x3?_0x4f2e9b(_0x54eec8):_0x23e9a6>0x3?_0x4f2e9b(_0x1fef76,_0x3d8449,_0x54eec8):_0x4f2e9b(_0x1fef76,_0x3d8449))||_0x54eec8);}return _0x23e9a6>0x3&&_0x54eec8&&Object[_0x54cda0(0x264)](_0x1fef76,_0x3d8449,_0x54eec8),_0x54eec8;}let _0x2f111e=class extends _0x199bc9[_0x44da2a(0x196)]{constructor(_0x45506d,_0x5ee876){const _0x3ebe7a=_0x44da2a;super(),this[_0x3ebe7a(0x40a)]=_0x45506d,this[_0x3ebe7a(0x201)]=_0x5ee876,this[_0x3ebe7a(0x368)](),this[_0x3ebe7a(0x40a)]['setCanUseShapeClip'](!0x0),this[_0x3ebe7a(0x19c)]({'dispose':()=>this[_0x3ebe7a(0x40a)][_0x3ebe7a(0x16c)](!0x1)});}[_0x44da2a(0x368)](){const _0x4971a2=_0x44da2a;let _0x1364e2=new Map(),_0x4e3eb2=this[_0x4971a2(0x40a)][_0x4971a2(0x34c)]((_0x59e3c0,_0x10e90d,_0xe323a7,_0x44537a,_0x2e5383)=>{const _0x1f5151=_0x4971a2;let _0x11a34f=_0x10e90d;if(_0x11a34f===_0x2d5ae1[_0x1f5151(0x226)][_0x1f5151(0x335)]||_0x10e90d==='custom')return!0x1;try{let _0x4e5a72=_0x1364e2[_0x1f5151(0x41e)](_0x10e90d);return _0x4e5a72||(_0x4e5a72=new _0x2d5ae1[(_0x1f5151(0x1ac))](_0x11a34f,_0x1f5151(0x240)+_0x10e90d),_0x1364e2[_0x1f5151(0x1a0)](_0x10e90d,_0x4e5a72)),_0x4e5a72[_0x1f5151(0x416)](),_0x2e5383&&Object[_0x1f5151(0x398)](_0x2e5383)['length']>0x0&&_0x4e5a72[_0x1f5151(0x2b0)]({'adjustValues':_0x2e5383},!0x0),_0x4e5a72[_0x1f5151(0x21c)]({'width':_0xe323a7,'height':_0x44537a}),_0x4e5a72[_0x1f5151(0x3d0)](_0x59e3c0,{'left':0x0,'top':0x0,'width':_0xe323a7,'height':_0x44537a});}catch{return!0x1;}});this['disposeWithMe'](_0x4e3eb2),this[_0x4971a2(0x19c)]({'dispose':()=>_0x1364e2['clear']()});}[_0x44da2a(0x391)](_0x3bfad4,_0x1cfd35,_0x2eefcd,_0x1d92e4,_0x5b1f6b){const _0x2965d6=_0x44da2a;let _0xbef18b=this[_0x2965d6(0x201)][_0x2965d6(0x26c)](_0x3bfad4,_0x1cfd35)[_0x2eefcd];!_0xbef18b||_0xbef18b[_0x2965d6(0x408)]!==_0x199bc9[_0x2965d6(0x1d9)][_0x2965d6(0x194)]||this[_0x2965d6(0x201)]['featurePluginUpdateNotification']([{..._0xbef18b,'prstGeom':_0x1d92e4,'adjustValues':_0x5b1f6b}]);}};_0x2f111e=_0x5e6390([_0x57fca7(0x0,(0x0,_0x199bc9['Inject'])(_0x1a42e8['DrawingImageClipService'])),_0x57fca7(0x1,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x48b930['IDrawingManagerService']))],_0x2f111e);let _0x3c9c56=_0x44da2a(0x244),_0x30ffe0=_0x44da2a(0x337);function _0x315139({onShapeClick:_0x14a5a0,excludeGroups:_0x1d1733}){const _0x2f81e6=_0x44da2a;return(0x0,_0x5c8576[_0x2f81e6(0x32d)])(_0x477995[_0x2f81e6(0x363)],{'excludeGroups':_0x1d1733,'onShapeClick':_0x14a5a0,'scrollContainer':'parent'});}function _0x178a63(){const _0x3675cf=_0x44da2a;let _0x116be5=(0x0,_0x314b7e[_0x3675cf(0x3fe)])(_0x48b930[_0x3675cf(0x3be)]),_0x4dc031=(0x0,_0x314b7e[_0x3675cf(0x3fe)])(_0x2f111e);return(0x0,_0x5c8576['jsx'])(_0x477995[_0x3675cf(0x296)],{'buttonLabel':_0x3675cf(0x186),'excludeGroups':[_0x477995[_0x3675cf(0x176)][_0x3675cf(0x2d3)]],'onShapeClick':_0x5af27=>{const _0xa4b851=_0x3675cf;let _0x4d8d00=_0x116be5[_0xa4b851(0x3f0)]()['find'](_0x2f1c4f=>_0x2f1c4f[_0xa4b851(0x408)]===_0x199bc9[_0xa4b851(0x1d9)][_0xa4b851(0x194)]);if(!_0x4d8d00)return;let {unitId:_0x595aed,subUnitId:_0x5f3049,drawingId:_0x528e80}=_0x4d8d00;_0x4dc031[_0xa4b851(0x391)](_0x595aed,_0x5f3049,_0x528e80,_0x5af27[_0xa4b851(0x27f)]);}});}function _0x19d137(){const _0x59b3aa=_0x44da2a;let _0x455f7f=(0x0,_0x314b7e[_0x59b3aa(0x3fe)])(_0x314b7e['ComponentManager']),_0x39045=(0x0,_0x314b7e[_0x59b3aa(0x3fe)])(_0x48b930[_0x59b3aa(0x3be)]),_0x9feb5c=(0x0,_0x314b7e[_0x59b3aa(0x3fe)])(_0x199bc9['IUniverInstanceService']),_0x11bb7a=_0x39045[_0x59b3aa(0x3f0)]()[0x0],_0x5f2276=_0x11bb7a?_0x9feb5c[_0x59b3aa(0x210)](_0x11bb7a[_0x59b3aa(0x1e0)]):void 0x0,_0x547b32=_0x5f2276===_0x199bc9[_0x59b3aa(0x31a)][_0x59b3aa(0x171)]?_0x30ffe0:_0x5f2276===_0x199bc9[_0x59b3aa(0x31a)][_0x59b3aa(0x169)]?_0x59b3aa(0x2ad):void 0x0,_0x582809=_0x547b32?_0x455f7f[_0x59b3aa(0x41e)](_0x547b32):void 0x0;return _0x582809?(0x0,_0x5c8576[_0x59b3aa(0x32d)])(_0x582809,{}):null;}function _0x2fa4cd({paragraphMenuPlacement:_0x497581}){const _0x33866e=_0x44da2a;let _0x161c25=(0x0,_0x314b7e[_0x33866e(0x3fe)])(_0x199bc9[_0x33866e(0x250)]);return(0x0,_0x5c8576[_0x33866e(0x32d)])(_0x315139,{'onShapeClick':_0x5b80af=>{const _0x4d4af5=_0x33866e;_0x161c25[_0x4d4af5(0x24b)](_0x5e21da['id'],{'paragraphMenuPlacement':_0x497581,'value':_0x5b80af[_0x4d4af5(0x27f)],'enhanceParams':{'endArrow':_0x5b80af[_0x4d4af5(0x3a4)],'startArrow':_0x5b80af[_0x4d4af5(0x1b5)],'horizontal':_0x5b80af[_0x4d4af5(0x39a)],'vertical':_0x5b80af['vertical']}});}});}function _0x1e2c9e(_0x3b2b84){const _0x3528c9=_0x44da2a;return _0x54ad23=>({'id':_0x5e21da['id'],'type':_0x314b7e['MenuItemType'][_0x3528c9(0x1d6)],'selections':[{'label':{'name':_0x3c9c56,'hoverable':!0x1,'selectable':!0x1,'props':_0x3b2b84?{'id':_0x5e21da['id'],'paragraphMenuPlacement':_0x3b2b84}:{'id':_0x5e21da['id']}}}],'icon':'ShapeIcon','title':_0x3528c9(0x2c8),'tooltip':_0x3528c9(0x2c8),'hidden$':(0x0,_0x314b7e[_0x3528c9(0x183)])(_0x54ad23,_0x199bc9[_0x3528c9(0x31a)][_0x3528c9(0x171)])});}let _0x33ceb4=_0x1e2c9e(),_0x452a35=_0x1e2c9e(_0x44da2a(0x2aa)),_0x574355=_0x1e2c9e('target');function _0x2739d2(_0x1a85f2){const _0x491ba1=_0x44da2a;return{'id':_0x3ff923['id'],'type':_0x314b7e[_0x491ba1(0x206)][_0x491ba1(0x304)],'icon':_0x491ba1(0x287),'title':_0x491ba1(0x3a8),'tooltip':'docs-shape-ui.objectListPanel.open','hidden$':(0x0,_0x314b7e['getMenuHiddenObservable'])(_0x1a85f2,_0x199bc9[_0x491ba1(0x31a)]['UNIVER_DOC'])};}function _0x5d636b(_0x47c506,_0x41ac66,_0x548f6b,_0x1c257e,_0x55572d,_0x5c54f8){const _0x4abc83=_0x44da2a;let _0x4fa35e={'unitId':_0x41ac66,'shapeId':_0x1c257e,'shapeData':_0x5c54f8,'oldShapeJSON':_0x55572d};return _0x47c506[_0x4abc83(0x24b)](_0x397c2d[_0x4abc83(0x3d3)]['id'],_0x4fa35e);}function _0x12e5ff(_0x1059f2,_0x4962b0,_0x3e8778,_0x1a2d41,_0x125159,_0x137f72){const _0x375177=_0x44da2a;let _0x1931ce={'unitId':_0x4962b0,'shapeId':_0x1a2d41,'shapeData':_0x137f72,'oldShapeJSON':_0x125159};return _0x1059f2[_0x375177(0x24b)](_0x397c2d[_0x375177(0x3d3)]['id'],_0x1931ce);}let _0x6abc23='docs-shape-ui.shape-format.quick-style-gallery',_0x5348c1=_0x44da2a(0x285),_0x48d6e1=_0x44da2a(0x320),_0x8f688e='docs-shape-ui.shape-format.formula-ribbon-control';function _0x492a1e(){const _0x6f914f=_0x44da2a;let _0x28c0a2=(0x0,_0x314b7e[_0x6f914f(0x3fe)])(_0x199bc9[_0x6f914f(0x250)]),_0x2832b0=(0x0,_0x314b7e[_0x6f914f(0x3fe)])(_0x48b930['IDrawingManagerService']),_0x4d0e4b=(0x0,_0x314b7e[_0x6f914f(0x3fe)])(_0x397c2d['DocsShapeService']),_0x3e9000=()=>{const _0xba9090=_0x6f914f;var _0x2d2f7e;let _0x23ecbb=_0x2832b0[_0xba9090(0x3f0)]();if(_0x23ecbb[_0xba9090(0x268)]!==0x1||((_0x2d2f7e=_0x23ecbb[0x0])==null?void 0x0:_0x2d2f7e[_0xba9090(0x408)])!==_0x199bc9['DrawingTypeEnum']['DRAWING_SHAPE'])return null;let {unitId:_0x317f06,subUnitId:_0x3805ed,drawingId:_0x4e3086}=_0x23ecbb[0x0],_0x2a00e3=_0x4d0e4b[_0xba9090(0x2b2)](_0x317f06,_0x3805ed,_0x4e3086),_0x4431b0=_0x4d0e4b[_0xba9090(0x35b)](_0x317f06,_0x3805ed,_0x4e3086);return _0x2a00e3===void 0x0||!_0x4431b0?null:{'unitId':_0x317f06,'subUnitId':_0x3805ed,'drawingId':_0x4e3086,'shapeType':_0x2a00e3,'shapeData':_0x4431b0};},_0x4fa39e=(0x0,_0x314b7e[_0x6f914f(0x374)])(()=>new _0x259d9f[(_0x6f914f(0x33c))](_0x5ef8e6=>{const _0x12b60b=_0x6f914f;let _0x296d5f=()=>_0x5ef8e6[_0x12b60b(0x2a9)](_0x3e9000()),_0x15d9eb=_0x2832b0[_0x12b60b(0x1de)]['subscribe'](_0x296d5f),_0x439518=_0x28c0a2[_0x12b60b(0x289)](_0x394ebd=>{const _0x46ec01=_0x12b60b;_0x394ebd['id']===_0x397c2d[_0x46ec01(0x29e)]['id']&&_0x296d5f();});return _0x296d5f(),()=>{const _0x1b971a=_0x12b60b;_0x15d9eb[_0x1b971a(0x3c3)](),_0x439518['dispose']();};}),_0x3e9000(),!0x1,[_0x28c0a2,_0x4d0e4b,_0x2832b0]);return{'selection':_0x4fa39e,'updateShapeData':_0x31c884=>{const _0x5f0cc5=_0x6f914f;_0x4fa39e&&_0x5d636b(_0x28c0a2,_0x4fa39e[_0x5f0cc5(0x1e0)],_0x4fa39e['subUnitId'],_0x4fa39e[_0x5f0cc5(0x3a1)],{'oldShapeData':_0x4fa39e['shapeData']},_0x31c884);}};}function _0x358711(){const _0x5be485=_0x44da2a;let {selection:_0x2931d7,updateShapeData:_0x3dc8f1}=_0x492a1e();return _0x2931d7?(0x0,_0x5c8576['jsx'])(_0x477995[_0x5be485(0x3c6)],{'shapeData':_0x2931d7['shapeData'],'shapeType':_0x2931d7[_0x5be485(0x375)],'onUpdateShapeData':_0x3dc8f1}):null;}function _0x1a179f(){const _0x41e219=_0x44da2a;let _0x57c151=(0x0,_0x314b7e[_0x41e219(0x3fe)])(_0x199bc9['ICommandService']),_0x42b31a=(0x0,_0x314b7e[_0x41e219(0x3fe)])(_0x199bc9[_0x41e219(0x36b)]),{selection:_0x129484}=_0x492a1e();return _0x129484?(0x0,_0x5c8576[_0x41e219(0x32d)])(_0x477995[_0x41e219(0x158)],{'type':(0x0,_0x377eec[_0x41e219(0x151)])(_0x129484[_0x41e219(0x261)]),'ariaLabel':_0x42b31a['t'](_0x41e219(0x19b)),'activePresetId':(0x0,_0x377eec[_0x41e219(0x190)])(_0x129484[_0x41e219(0x261)]),'onSelect':_0x116b75=>_0x57c151[_0x41e219(0x24b)](_0x43474b['id'],{'presetId':_0x116b75})}):null;}function _0x59fb0b(){const _0x31a706=_0x44da2a;let {selection:_0x1d3d8f,updateShapeData:_0x23fa5e}=_0x492a1e();return _0x1d3d8f?(0x0,_0x5c8576[_0x31a706(0x32d)])(_0x477995[_0x31a706(0x31d)],{'fontFamilyPopupDataComponent':_0x31a706(0x1c5),'shapeData':_0x1d3d8f[_0x31a706(0x261)],'onUpdateShapeData':_0x23fa5e}):null;}function _0x56bc1f(){const _0xbfd4f9=_0x44da2a;var _0x23c649;let {selection:_0x539efa,updateShapeData:_0x160a05}=_0x492a1e(),_0x54bdd6=(0x0,_0x477995[_0xbfd4f9(0x1c1)])({'hostType':_0x199bc9[_0xbfd4f9(0x31a)][_0xbfd4f9(0x171)],'unitId':(_0x539efa==null?void 0x0:_0x539efa[_0xbfd4f9(0x1e0)])??'','subUnitId':(_0x539efa==null?void 0x0:_0x539efa[_0xbfd4f9(0x3d5)])??'','shapeId':(_0x539efa==null?void 0x0:_0x539efa[_0xbfd4f9(0x3a1)])??'','shapeData':_0x539efa==null?void 0x0:_0x539efa[_0xbfd4f9(0x261)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0xbfd4f9(0x277),'onUpdateBinding':_0x1935d4=>_0x160a05({'formulaBinding':_0x1935d4})}),_0x3da47e=((_0x23c649=_0x54bdd6[_0xbfd4f9(0x2a7)])==null?void 0x0:_0x23c649['flatMap'](_0x4b3586=>_0x4b3586[_0xbfd4f9(0x258)])[_0xbfd4f9(0x191)](_0x2a4a4b=>_0x2a4a4b[_0xbfd4f9(0x243)]!==!0x1))??[];return _0x539efa!=null&&_0x539efa[_0xbfd4f9(0x261)][_0xbfd4f9(0x2c7)]?(0x0,_0x5c8576[_0xbfd4f9(0x32d)])(_0x477995[_0xbfd4f9(0x327)],{'actions':_0x3da47e,'panel':_0x54bdd6['panel']}):null;}let _0x490874=_0x44da2a(0x3a2),_0x3c2bdc=_0x44da2a(0x37e),_0x3f6725=_0x44da2a(0x415),_0x34f752=_0x44da2a(0x237),_0x2a6ead=_0x44da2a(0x2e5),_0x2fc00a='docs-shape-ui.ribbon.shape-format.arrange-front',_0x3bbfba=_0x44da2a(0x41d);function _0x4976d0(_0x1b1eed){const _0x118fa3=_0x44da2a;let _0xb7e3a7=_0x1b1eed['get'](_0x199bc9[_0x118fa3(0x250)]),_0x1f5c99=_0x1b1eed[_0x118fa3(0x41e)](_0x48b930['IDrawingManagerService']),_0x4d8cb3=_0x1b1eed[_0x118fa3(0x41e)](_0x397c2d[_0x118fa3(0x197)]);return new _0x259d9f[(_0x118fa3(0x33c))](_0x2f157e=>{const _0x5c0596=_0x118fa3;let _0x1c5882=()=>{const _0x57a190=_0x3fe5;let _0x145ab4=_0x36af67(_0x1b1eed),_0x1704ae=_0x145ab4?_0x4d8cb3['getShapeDataById'](_0x145ab4[_0x57a190(0x1e0)],_0x145ab4['subUnitId'],_0x145ab4[_0x57a190(0x3a1)]):null;_0x2f157e[_0x57a190(0x2a9)](_0x1704ae?(0x0,_0x377eec[_0x57a190(0x190)])(_0x1704ae)??'':'');},_0x2228f7=_0x1f5c99[_0x5c0596(0x1de)][_0x5c0596(0x311)](_0x1c5882),_0x294c29=_0xb7e3a7[_0x5c0596(0x289)](_0x14b460=>{const _0x26161b=_0x5c0596;_0x14b460['id']===_0x397c2d[_0x26161b(0x29e)]['id']&&_0x1c5882();});return _0x1c5882(),()=>{const _0x5545a5=_0x5c0596;_0x2228f7[_0x5545a5(0x3c3)](),_0x294c29['dispose']();};});}function _0x36af67(_0x273afd){const _0x913f23=_0x44da2a;var _0x1b76c2;let _0x3fea2b=_0x273afd['get'](_0x48b930[_0x913f23(0x3be)])[_0x913f23(0x3f0)]();return _0x3fea2b['length']===0x1&&((_0x1b76c2=_0x3fea2b[0x0])==null?void 0x0:_0x1b76c2[_0x913f23(0x408)])===_0x199bc9[_0x913f23(0x1d9)][_0x913f23(0x418)]?_0x3fea2b[0x0]:null;}function _0x3d407(_0x43a972,_0x6673fa=!0x1){const _0x2d2455=_0x44da2a;let _0x5e71b4=_0x43a972[_0x2d2455(0x41e)](_0x199bc9[_0x2d2455(0x250)]),_0x1d102f=_0x43a972['get'](_0x48b930['IDrawingManagerService']),_0x5abb71=_0x43a972['get'](_0x397c2d['DocsShapeService']);return new _0x259d9f[(_0x2d2455(0x33c))](_0x7cb8be=>{const _0x23dc24=_0x2d2455;let _0x2abcb3=()=>{const _0x47a4d1=_0x3fe5;let _0x14ad97=_0x36af67(_0x43a972);if(!_0x14ad97){_0x7cb8be[_0x47a4d1(0x2a9)](!0x0);return;}let _0x24f47d=_0x5abb71['getShapeDataById'](_0x14ad97[_0x47a4d1(0x1e0)],_0x14ad97[_0x47a4d1(0x3d5)],_0x14ad97['drawingId']);_0x7cb8be['next'](!_0x24f47d||_0x6673fa&&_0x24f47d[_0x47a4d1(0x2c7)]==null);},_0x4f8feb=_0x1d102f[_0x23dc24(0x1de)]['subscribe'](_0x2abcb3),_0x3eab78=_0x5e71b4[_0x23dc24(0x289)](_0x1b93d6=>{const _0x562a17=_0x23dc24;_0x1b93d6['id']===_0x397c2d[_0x562a17(0x29e)]['id']&&_0x2abcb3();});return _0x2abcb3(),()=>{const _0x2fcaf8=_0x23dc24;_0x4f8feb['unsubscribe'](),_0x3eab78[_0x2fcaf8(0x396)]();};});}function _0x2f6714(_0x28f15a){const _0xb6c097=_0x44da2a;let _0xb6e3=_0x28f15a[_0xb6c097(0x41e)](_0x48b930[_0xb6c097(0x3be)]),_0x21b1f6=_0x28f15a[_0xb6c097(0x41e)](_0x397c2d[_0xb6c097(0x197)]);return _0xb6e3[_0xb6c097(0x1de)]['pipe']((0x0,_0x259d9f[_0xb6c097(0x3af)])(_0xb6e3[_0xb6c097(0x3f0)]()),(0x0,_0x259d9f[_0xb6c097(0x353)])(()=>{const _0x1b37c0=_0xb6c097;let _0x295d67=_0x36af67(_0x28f15a),_0xec94af=_0x295d67?_0x21b1f6[_0x1b37c0(0x2b2)](_0x295d67['unitId'],_0x295d67[_0x1b37c0(0x3d5)],_0x295d67[_0x1b37c0(0x3a1)]):void 0x0;return _0xec94af===void 0x0||(0x0,_0x2d5ae1[_0x1b37c0(0x34a)])(_0xec94af);}));}function _0x3c8418(_0x540cd6){const _0x1f9503=_0x44da2a;return{'id':_0x43474b['id'],'type':_0x314b7e[_0x1f9503(0x206)][_0x1f9503(0x1d6)],'icon':_0x1f9503(0x26d),'title':_0x1f9503(0x2f3),'tooltip':'shape-editor-ui.toolbar.quickStyles','selections':[{'label':{'name':_0x6abc23,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x4976d0(_0x540cd6),'hidden$':_0x3d407(_0x540cd6)};}function _0xe9b5d9(_0x444fb){const _0x533f9f=_0x44da2a;return{'id':_0x33706f['id'],'type':_0x314b7e['MenuItemType'][_0x533f9f(0x1d6)],'icon':'ShapeIcon','title':'shape-editor-ui.toolbar.changeShape','tooltip':_0x533f9f(0x251),'slot':!0x0,'selections':[{'label':{'name':_0x477995['SHAPE_CHANGE_PICKER_COMPONENT'],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x2f6714(_0x444fb)};}function _0x12c62(_0x22f2f5,_0x1a6fc7,_0x560a99=!0x1){const _0x3434d2=_0x44da2a;return _0x1d74bf=>({'id':_0x22f2f5,'type':_0x314b7e[_0x3434d2(0x206)]['BUTTON'],'label':{'name':_0x1a6fc7,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x3d407(_0x1d74bf,_0x560a99)});}let _0x22f929=_0x12c62(_0x490874,_0x5348c1),_0x486567=_0x12c62(_0x3c2bdc,_0x48d6e1),_0x37ce74=_0x12c62(_0x3f6725,_0x8f688e,!0x0);function _0x34c854(_0x3c7a14,_0x4be7da,_0x3e8fed,_0xe84284){const _0x3edc3e=_0x44da2a;return _0x935c46=>({'id':_0x3c7a14,'commandId':_0xe167a4['SetDocDrawingArrangeCommand']['id'],'type':_0x314b7e[_0x3edc3e(0x206)]['BUTTON'],'icon':_0x3e8fed,'title':_0xe84284,'tooltip':_0xe84284,'hidden$':_0x3d407(_0x935c46),'params':()=>{const _0x4a21a9=_0x3edc3e;let _0x65e16a=_0x36af67(_0x935c46);return _0x65e16a?{'unitId':_0x65e16a[_0x4a21a9(0x1e0)],'subUnitId':_0x65e16a[_0x4a21a9(0x3d5)],'drawingIds':[_0x65e16a[_0x4a21a9(0x3a1)]],'arrangeType':_0x4be7da}:void 0x0;}});}let _0x38b802=_0x34c854(_0x34f752,_0x199bc9['ArrangeTypeEnum'][_0x44da2a(0x387)],'MoveUpIcon',_0x44da2a(0x3ed)),_0x5b7fd1=_0x34c854(_0x2a6ead,_0x199bc9[_0x44da2a(0x3b7)][_0x44da2a(0x322)],_0x44da2a(0x225),'shape-editor-ui.arrange.backward'),_0x486d0d=_0x34c854(_0x2fc00a,_0x199bc9['ArrangeTypeEnum'][_0x44da2a(0x3f9)],_0x44da2a(0x1a5),'shape-editor-ui.arrange.front'),_0x581ff6=_0x34c854(_0x3bbfba,_0x199bc9[_0x44da2a(0x3b7)][_0x44da2a(0x38e)],_0x44da2a(0x160),'shape-editor-ui.arrange.back');function _0x5b4087(_0x1a8bb8){const _0x3e34b2=_0x44da2a;return{'id':_0x39ec2b['id'],'type':_0x314b7e['MenuItemType'][_0x3e34b2(0x304)],'icon':_0x3e34b2(0x263),'title':_0x3e34b2(0x276),'tooltip':_0x3e34b2(0x276),'hidden$':_0x3d407(_0x1a8bb8),'params':()=>{const _0x2a538c=_0x3e34b2;let _0x420c61=_0x36af67(_0x1a8bb8);return _0x420c61?{'unitId':_0x420c61['unitId'],'subUnitId':_0x420c61[_0x2a538c(0x3d5)],'drawingId':_0x420c61[_0x2a538c(0x3a1)]}:void 0x0;}};}let _0x4dedef={[_0x314b7e[_0x44da2a(0x376)]['RIBBON']]:{[_0x1a1332]:{'order':0x64,'title':'docs-shape-ui.formatShape','contextual':!0x0,'docs-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x43474b['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x3c8418},[_0x33706f['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0xe9b5d9}},'docs-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x490874]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x22f929}},'docs-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x3c2bdc]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x486567}},'docs-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x34f752]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x38b802},[_0x2a6ead]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x5b7fd1},[_0x2fc00a]:{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x486d0d},[_0x3bbfba]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x581ff6}},'docs-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x3f6725]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x37ce74}},'docs-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x39ec2b['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x5b4087},[_0x477995['ToggleShapeFloatingToolbarOperation']['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x477995['ShapeFloatingToolbarToggleFactory']}}}}},_0x5587fb={[_0x314b7e[_0x44da2a(0x1b3)][_0x44da2a(0x381)]]:{[_0x5e21da['id']]:{'order':0x4,'menuItemFactory':_0x4552f5=>({..._0x33ceb4(_0x4552f5),'title':void 0x0})}},[_0x314b7e[_0x44da2a(0x1b3)]['OTHERS']]:{[_0x3ff923['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x2739d2}},[_0x314b7e[_0x44da2a(0x3b0)][_0x44da2a(0x395)]]:{[_0x314b7e[_0x44da2a(0x2e9)][_0x44da2a(0x2a3)]]:{[_0xadaed7[_0x44da2a(0x31e)]]:{[_0x5e21da['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x452a35}}},[_0xadaed7['DOC_CONTENT_INSERT_MENU_ID']]:{[_0x314b7e[_0x44da2a(0x2e9)][_0x44da2a(0x2a3)]]:{[_0x5e21da['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x452a35}}},[_0xadaed7[_0x44da2a(0x352)]]:{[_0x314b7e[_0x44da2a(0x2e9)][_0x44da2a(0x2a3)]]:{[_0x5e21da['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x574355}}},[_0xadaed7[_0x44da2a(0x29f)]]:{'insert':{[_0x5e21da['id']]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x33ceb4}}},[_0xadaed7[_0x44da2a(0x3fc)]]:{'insert':{[_0x5e21da['id']+_0x44da2a(0x315)]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x452a35}}}}};var _0x5539cb=_0x44da2a(0x2c4),_0x2041b4=_0x44da2a(0x1b2);let _0x36cd5a={'type':_0x199bc9[_0x44da2a(0x2b3)][_0x44da2a(0x1a7)],'id':_0x44da2a(0x253),'handler'(){return!0x0;}},_0x13277c={};function _0x4926e7({ref:_0x54cd4c,..._0x3cd8b4}){const _0x3df86b=_0x44da2a;let {icon:_0x3908c3,id:_0x4a8fb5,className:_0x1ae666,extend:_0x133af1,..._0x1724e9}=_0x3cd8b4,_0x5bc56e=('univerjs-icon\x20univerjs-icon-'+_0x4a8fb5+'\x20'+(_0x1ae666||''))[_0x3df86b(0x3cc)](),_0x8c6a08=(0x0,_0x3c5464[_0x3df86b(0x211)])('_'+_0x5066e7());return _0x310bc2(_0x3908c3,''+_0x4a8fb5,{'defIds':_0x3908c3['defIds'],'idSuffix':_0x8c6a08[_0x3df86b(0x1cd)]},{'ref':_0x54cd4c,'className':_0x5bc56e,..._0x1724e9},_0x133af1);}function _0x310bc2(_0x43191a,_0x34d4a6,_0x4aeea2,_0x52535a,_0x55b62b){const _0x3d5d01=_0x44da2a;return(0x0,_0x3c5464[_0x3d5d01(0x2ea)])(_0x43191a[_0x3d5d01(0x404)],{'key':_0x34d4a6,..._0x441726(_0x43191a,_0x4aeea2,_0x55b62b),..._0x52535a},(_0x3bf59e(_0x43191a,_0x4aeea2)[_0x3d5d01(0x34d)]||[])[_0x3d5d01(0x353)]((_0x18db06,_0x5c8572)=>_0x310bc2(_0x18db06,_0x34d4a6+'-'+_0x43191a[_0x3d5d01(0x404)]+'-'+_0x5c8572,_0x4aeea2,void 0x0,_0x55b62b)));}function _0x441726(_0x379cf7,_0x18937c,_0x22bf5d){const _0x56c1aa=_0x44da2a;let _0x303efd={..._0x379cf7[_0x56c1aa(0x1ba)]};_0x22bf5d!=null&&_0x22bf5d['colorChannel1']&&_0x303efd[_0x56c1aa(0x1c7)]==='colorChannel1'&&(_0x303efd[_0x56c1aa(0x1c7)]=_0x22bf5d[_0x56c1aa(0x165)]),_0x22bf5d!=null&&_0x22bf5d[_0x56c1aa(0x165)]&&_0x303efd[_0x56c1aa(0x2eb)]==='colorChannel1'&&(_0x303efd[_0x56c1aa(0x2eb)]=_0x22bf5d['colorChannel1']),_0x379cf7[_0x56c1aa(0x404)]===_0x56c1aa(0x316)&&_0x303efd['id']&&(_0x303efd['id']+=_0x18937c[_0x56c1aa(0x3b4)]),Object[_0x56c1aa(0x2bc)](_0x303efd)[_0x56c1aa(0x3c9)](([_0x1ef7ec,_0x28a7ad])=>{const _0x3e51e1=_0x56c1aa;_0x1ef7ec===_0x3e51e1(0x316)&&typeof _0x28a7ad=='string'&&(_0x303efd[_0x1ef7ec]=_0x28a7ad[_0x3e51e1(0x23f)](/url\(#(.*)\)/,'url(#$1'+_0x18937c['idSuffix']+')'));});let {defIds:_0x54ff94}=_0x18937c;return!_0x54ff94||_0x54ff94[_0x56c1aa(0x268)]===0x0?_0x303efd:(_0x379cf7[_0x56c1aa(0x404)]==='use'&&_0x303efd[_0x56c1aa(0x39b)]&&(_0x303efd['xlink:href']+=_0x18937c['idSuffix']),Object[_0x56c1aa(0x2bc)](_0x303efd)['forEach'](([_0x46168b,_0x57792e])=>{const _0x26fab7=_0x56c1aa;typeof _0x57792e==_0x26fab7(0x31c)&&(_0x303efd[_0x46168b]=_0x57792e['replace'](/url\(#(.*)\)/,_0x26fab7(0x17d)+_0x18937c[_0x26fab7(0x3b4)]+')'));}),_0x303efd);}function _0x3bf59e(_0x845959,_0x1eb23a){const _0x51dde1=_0x44da2a;var _0x9cd8f0;let {defIds:_0x4c3d50}=_0x1eb23a;return!_0x4c3d50||_0x4c3d50[_0x51dde1(0x268)]===0x0?_0x845959:_0x845959['tag']==='defs'&&(_0x9cd8f0=_0x845959[_0x51dde1(0x34d)])!=null&&_0x9cd8f0[_0x51dde1(0x268)]?{..._0x845959,'children':_0x845959[_0x51dde1(0x34d)]['map'](_0x9e056a=>typeof _0x9e056a['attrs']['id']==_0x51dde1(0x31c)&&_0x4c3d50&&_0x4c3d50[_0x51dde1(0x2dd)](_0x9e056a[_0x51dde1(0x1ba)]['id'])?{..._0x9e056a,'attrs':{..._0x9e056a[_0x51dde1(0x1ba)],'id':_0x9e056a[_0x51dde1(0x1ba)]['id']+_0x1eb23a['idSuffix']}}:_0x9e056a)}:_0x845959;}function _0x5066e7(){const _0x21a5d1=_0x44da2a;return Math[_0x21a5d1(0x1e6)]()['toString'](0x24)[_0x21a5d1(0x18a)](0x2,0x8);}_0x4926e7[_0x44da2a(0x357)]=_0x44da2a(0x1ed);let _0x58b59d={'tag':_0x44da2a(0x260),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x44da2a(0x338),'viewBox':_0x44da2a(0x2b6),'width':_0x44da2a(0x2ef),'height':_0x44da2a(0x2ef)},'children':[{'tag':_0x44da2a(0x379),'attrs':{'fill':_0x44da2a(0x2fe),'d':_0x44da2a(0x278),'fillRule':'evenodd','clipRule':_0x44da2a(0x1f5)}},{'tag':_0x44da2a(0x379),'attrs':{'fill':_0x44da2a(0x2fe),'d':_0x44da2a(0x280),'fillRule':_0x44da2a(0x1f5),'clipRule':'evenodd'}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x44da2a(0x305)}},{'tag':_0x44da2a(0x379),'attrs':{'fill':_0x44da2a(0x2fe),'d':_0x44da2a(0x20e)}}]},_0x7068a8=(0x0,_0x3c5464[_0x44da2a(0x2dc)])(function(_0x1ad9e1,_0x14ed56){const _0x28b8b2=_0x44da2a;return(0x0,_0x3c5464[_0x28b8b2(0x2ea)])(_0x4926e7,Object[_0x28b8b2(0x1ef)]({},_0x1ad9e1,{'id':_0x28b8b2(0x189),'ref':_0x14ed56,'icon':_0x58b59d}));});_0x7068a8[_0x44da2a(0x357)]='BottomIcon';let _0x19bdaa={'tag':_0x44da2a(0x260),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x44da2a(0x338),'viewBox':_0x44da2a(0x248),'width':_0x44da2a(0x2ef),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x44da2a(0x2fe),'d':_0x44da2a(0x1b7),'fillRule':_0x44da2a(0x1f5),'clipRule':_0x44da2a(0x1f5)}},{'tag':_0x44da2a(0x379),'attrs':{'fill':_0x44da2a(0x2fe),'d':_0x44da2a(0x27d)}}]},_0x2fdeff=(0x0,_0x3c5464[_0x44da2a(0x2dc)])(function(_0x4c6e46,_0x391d68){const _0x1416bd=_0x44da2a;return(0x0,_0x3c5464['createElement'])(_0x4926e7,Object['assign']({},_0x4c6e46,{'id':_0x1416bd(0x413),'ref':_0x391d68,'icon':_0x19bdaa}));});_0x2fdeff[_0x44da2a(0x357)]=_0x44da2a(0x225);let _0x2e9fba={'tag':'svg','attrs':{'xmlns':_0x44da2a(0x30d),'fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x44da2a(0x2ef)},'children':[{'tag':'path','attrs':{'fill':_0x44da2a(0x2fe),'d':_0x44da2a(0x369),'fillRule':_0x44da2a(0x1f5),'clipRule':'evenodd'}},{'tag':_0x44da2a(0x379),'attrs':{'fill':'currentColor','d':'M5.57564\x204.38825C5.80995\x204.62256\x206.18985\x204.62256\x206.42417\x204.38825L7.3999\x203.41251V9.63049C7.3999\x209.96186\x207.66853\x2010.2305\x207.9999\x2010.2305C8.33127\x2010.2305\x208.5999\x209.96186\x208.5999\x209.63049V3.41251L9.57564\x204.38825C9.80995\x204.62256\x2010.1899\x204.62256\x2010.4242\x204.38825C10.6585\x204.15393\x2010.6585\x203.77403\x2010.4242\x203.53972L8.4324\x201.54796C8.32324\x201.43445\x208.16982\x201.36382\x207.9999\x201.36382C7.82998\x201.36382\x207.67655\x201.43446\x207.56739\x201.54797L5.57564\x203.53972C5.34132\x203.77403\x205.34132\x204.15393\x205.57564\x204.38825Z'}}]},_0x3ff74f=(0x0,_0x3c5464[_0x44da2a(0x2dc)])(function(_0x3ba95d,_0x230b5f){return(0x0,_0x3c5464['createElement'])(_0x4926e7,Object['assign']({},_0x3ba95d,{'id':'move-up-icon','ref':_0x230b5f,'icon':_0x2e9fba}));});_0x3ff74f[_0x44da2a(0x357)]=_0x44da2a(0x409);let _0x3acfea={'tag':_0x44da2a(0x260),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x44da2a(0x338),'viewBox':_0x44da2a(0x248),'width':_0x44da2a(0x2ef),'height':_0x44da2a(0x2ef)},'children':[{'tag':_0x44da2a(0x379),'attrs':{'stroke':_0x44da2a(0x2fe),'d':'M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','strokeLinecap':'round','strokeLinejoin':_0x44da2a(0x2b8),'strokeWidth':1.3}},{'tag':_0x44da2a(0x379),'attrs':{'stroke':_0x44da2a(0x2fe),'d':_0x44da2a(0x2af),'strokeLinecap':_0x44da2a(0x2b8),'strokeLinejoin':_0x44da2a(0x2b8),'strokeWidth':1.3}}]},_0x53ffa2=(0x0,_0x3c5464[_0x44da2a(0x2dc)])(function(_0x1921cd,_0x1a0d2e){const _0x5ef1eb=_0x44da2a;return(0x0,_0x3c5464[_0x5ef1eb(0x2ea)])(_0x4926e7,Object[_0x5ef1eb(0x1ef)]({},_0x1921cd,{'id':_0x5ef1eb(0x3b2),'ref':_0x1a0d2e,'icon':_0x3acfea}));});_0x53ffa2[_0x44da2a(0x357)]='ObjectLayersIcon';let _0x5c2a62={'tag':_0x44da2a(0x260),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x44da2a(0x338),'viewBox':_0x44da2a(0x248),'width':_0x44da2a(0x2ef),'height':'1em'},'children':[{'tag':'path','attrs':{'stroke':_0x44da2a(0x2fe),'d':_0x44da2a(0x288),'strokeLinecap':_0x44da2a(0x2b8),'strokeLinejoin':_0x44da2a(0x2b8),'strokeWidth':1.2}},{'tag':_0x44da2a(0x379),'attrs':{'stroke':_0x44da2a(0x2fe),'d':_0x44da2a(0x24d),'strokeLinecap':_0x44da2a(0x2b8),'strokeWidth':1.2}},{'tag':_0x44da2a(0x379),'attrs':{'stroke':_0x44da2a(0x2fe),'d':_0x44da2a(0x24c),'strokeLinecap':_0x44da2a(0x2b8),'strokeWidth':1.2}},{'tag':_0x44da2a(0x379),'attrs':{'stroke':_0x44da2a(0x2fe),'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':_0x44da2a(0x2b8)}},{'tag':_0x44da2a(0x379),'attrs':{'stroke':_0x44da2a(0x2fe),'d':'M12.05\x2012.1C12.6299\x2012.1\x2013.1\x2011.6299\x2013.1\x2011.05C13.1\x2010.4701\x2012.6299\x2010\x2012.05\x2010C11.4701\x2010\x2011\x2010.4701\x2011\x2011.05C11\x2011.6299\x2011.4701\x2012.1\x2012.05\x2012.1Z'}}]},_0x4e409e=(0x0,_0x3c5464[_0x44da2a(0x2dc)])(function(_0x53971d,_0x1a2b63){const _0x4cb976=_0x44da2a;return(0x0,_0x3c5464[_0x4cb976(0x2ea)])(_0x4926e7,Object['assign']({},_0x53971d,{'id':_0x4cb976(0x167),'ref':_0x1a2b63,'icon':_0x5c2a62}));});_0x4e409e[_0x44da2a(0x357)]=_0x44da2a(0x263);let _0x3021dc={'tag':_0x44da2a(0x260),'attrs':{'xmlns':_0x44da2a(0x30d),'fill':_0x44da2a(0x338),'viewBox':_0x44da2a(0x229),'width':'1em','height':'1em'},'children':[{'tag':_0x44da2a(0x2a8),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':2.45,'fill':'currentColor','rx':0.6}},{'tag':_0x44da2a(0x2a8),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':6.1,'fill':_0x44da2a(0x2fe),'rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':15.25,'y':6.1,'fill':_0x44da2a(0x2fe),'rx':0.6}},{'tag':_0x44da2a(0x2a8),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':9.4,'fill':_0x44da2a(0x2fe),'rx':0.6}},{'tag':_0x44da2a(0x2a8),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':9.4,'fill':'currentColor','rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':1.5,'y':12.7,'fill':'currentColor','rx':0.6}},{'tag':_0x44da2a(0x2a8),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':12.7,'fill':_0x44da2a(0x2fe),'rx':0.6}},{'tag':_0x44da2a(0x2a8),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':16.35,'fill':_0x44da2a(0x2fe),'rx':0.6}},{'tag':_0x44da2a(0x379),'attrs':{'fill':'currentColor','d':_0x44da2a(0x2e4),'fillRule':_0x44da2a(0x1f5),'clipRule':'evenodd'}}]},_0x2a5b35=(0x0,_0x3c5464['forwardRef'])(function(_0x4abb29,_0x9c5f2){const _0x38f0d9=_0x44da2a;return(0x0,_0x3c5464['createElement'])(_0x4926e7,Object['assign']({},_0x4abb29,{'id':_0x38f0d9(0x3f7),'ref':_0x9c5f2,'icon':_0x3021dc}));});_0x2a5b35[_0x44da2a(0x357)]='TextWrapShapeIcon';let _0x376c32={'tag':_0x44da2a(0x260),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x44da2a(0x338),'viewBox':_0x44da2a(0x2b6),'width':_0x44da2a(0x2ef),'height':_0x44da2a(0x2ef)},'children':[{'tag':_0x44da2a(0x379),'attrs':{'fill':'currentColor','d':_0x44da2a(0x394)}},{'tag':_0x44da2a(0x379),'attrs':{'fill':_0x44da2a(0x2fe),'d':_0x44da2a(0x257),'fillRule':_0x44da2a(0x1f5),'clipRule':'evenodd'}},{'tag':_0x44da2a(0x379),'attrs':{'fill':_0x44da2a(0x2fe),'d':_0x44da2a(0x334),'fillRule':_0x44da2a(0x1f5),'clipRule':_0x44da2a(0x1f5)}}]},_0x23d310=(0x0,_0x3c5464['forwardRef'])(function(_0x109207,_0x433897){const _0x55cccf=_0x44da2a;return(0x0,_0x3c5464['createElement'])(_0x4926e7,Object[_0x55cccf(0x1ef)]({},_0x109207,{'id':_0x55cccf(0x33d),'ref':_0x433897,'icon':_0x376c32}));});_0x23d310['displayName']=_0x44da2a(0x1a5);function _0xd428e7(_0x26fe47){const _0x57afe8=_0x44da2a;return _0x26fe47[_0x57afe8(0x3cc)]()||void 0x0;}function _0x37d8b3(_0x3830ab,_0xa0b43b,_0x5f3936){const _0x4595ca=_0x44da2a;var _0x3e6b2c,_0x2e49f0;return((_0x3e6b2c=_0x3830ab[_0x4595ca(0x3e3)])==null?void 0x0:_0x3e6b2c[_0x4595ca(0x3cc)]())||((_0x2e49f0=_0x3830ab[_0x4595ca(0x17e)])==null?void 0x0:_0x2e49f0[_0x4595ca(0x3cc)]())||(0x0,_0x1a42e8[_0x4595ca(0x156)])(_0x5f3936,(0x0,_0x477995[_0x4595ca(0x39c)])(_0x3830ab[_0x4595ca(0x408)]))+'\x20'+(_0xa0b43b+0x1);}function _0x1d884a(){const _0x15268f=_0x44da2a;let _0x42e391=(0x0,_0x314b7e[_0x15268f(0x3fe)])(_0x199bc9[_0x15268f(0x36b)]),_0x4c62d9=(0x0,_0x314b7e[_0x15268f(0x3fe)])(_0x199bc9[_0x15268f(0x250)]),_0x391005=(0x0,_0x314b7e[_0x15268f(0x3fe)])(_0x199bc9['IUniverInstanceService']),_0x4b11f8=(0x0,_0x314b7e[_0x15268f(0x3fe)])(_0xe167a4[_0x15268f(0x1bb)]),_0x5a74fa=(0x0,_0x314b7e[_0x15268f(0x3fe)])(_0x48b930['IDrawingManagerService']),_0x57408c=(0x0,_0x314b7e['useDependency'])(_0x4bd9c2[_0x15268f(0x3f8)]),[,_0x4f4659]=(0x0,_0x3c5464['useReducer'])(_0x48d893=>_0x48d893+0x1,0x0),_0x24fd8f=_0x391005['getCurrentUnitOfType'](_0x199bc9[_0x15268f(0x31a)][_0x15268f(0x171)]),_0x57e812=(_0x24fd8f==null?void 0x0:_0x24fd8f['getUnitId']())??'',_0x4a137f=_0x57e812,_0x2e3465=(0x0,_0x314b7e[_0x15268f(0x374)])(()=>_0x5a74fa[_0x15268f(0x1de)],_0x5a74fa['getFocusDrawings'](),!0x1,[_0x5a74fa]);(0x0,_0x3c5464[_0x15268f(0x2b9)])(()=>{const _0x3e910a=_0x15268f;let _0x2a5f12=_0x4c62d9[_0x3e910a(0x289)](()=>_0x4f4659());return()=>_0x2a5f12['dispose']();},[_0x4c62d9]);let _0x39442b=(0x0,_0x3c5464[_0x15268f(0x20c)])(()=>(0x0,_0x1a42e8[_0x15268f(0x39d)])(_0x42e391),[_0x42e391]),_0x36ecc4=_0x57e812?_0x4b11f8[_0x15268f(0x26c)](_0x57e812,_0x4a137f):{},_0x3df296=(_0x57e812?_0x4b11f8[_0x15268f(0x3ba)](_0x57e812,_0x4a137f):[])[_0x15268f(0x353)](_0xd7b64e=>_0x36ecc4[_0xd7b64e])[_0x15268f(0x191)](_0x4ab76c=>!!_0x4ab76c)[_0x15268f(0x3e7)](),_0x31a1ca=_0x3df296[_0x15268f(0x1d1)]((_0x2255ed,_0x1f9d76)=>(_0x2255ed[(0x0,_0x1a42e8[_0x15268f(0x266)])(_0x1f9d76['drawingType'])]+=0x1,_0x2255ed),{'canvas':0x0,'floating':0x0}),_0x2f3217={'canvas':0x0,'floating':0x0},_0xb2c3dc=_0x3df296[_0x15268f(0x353)]((_0x27c451,_0x5ac173)=>{const _0x1f42ae=_0x15268f;let _0x22abd1=(0x0,_0x1a42e8['getObjectListPanelSectionIdForDrawingType'])(_0x27c451[_0x1f42ae(0x408)]),_0x2d8abb=_0x22abd1===_0x1a42e8[_0x1f42ae(0x234)],_0x432c71=_0x2f3217[_0x22abd1]++;return{'id':_0x27c451['drawingId'],'name':_0x37d8b3(_0x27c451,_0x5ac173,_0x42e391),'description':_0x27c451[_0x1f42ae(0x354)],'visible':_0x27c451[_0x1f42ae(0x25d)]!==!0x0,'selectable':_0x27c451[_0x1f42ae(0x300)]!==!0x1,'sectionId':_0x22abd1,'sectionTitle':_0x2d8abb?_0x39442b['sectionFloating']:_0x39442b[_0x1f42ae(0x1aa)],'capabilities':_0x2d8abb?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x2d8abb&&_0x432c71>0x0,'canMoveBackward':!_0x2d8abb&&_0x432c71<_0x31a1ca['canvas']-0x1,'canReorder':!_0x2d8abb};}),_0x23b00b=(0x0,_0x3c5464[_0x15268f(0x20c)])(()=>(_0x2e3465??[])[_0x15268f(0x191)](_0x35ccd8=>_0x35ccd8[_0x15268f(0x1e0)]===_0x57e812&&_0x35ccd8['subUnitId']===_0x4a137f)['map'](_0xc2d51f=>_0xc2d51f['drawingId']),[_0x2e3465,_0x4a137f,_0x57e812]),_0x3bdfa9=_0x23b00b[_0x23b00b[_0x15268f(0x268)]-0x1]??null,_0x3e1859=_0x59192a=>_0x4b11f8[_0x15268f(0x302)]({'unitId':_0x57e812,'subUnitId':_0x4a137f,'drawingId':_0x59192a})??null,_0x3a16e0=async _0x5877e1=>{const _0x19f794=_0x15268f;!_0x57e812||!_0x5877e1[_0x19f794(0x268)]||await _0x4c62d9['executeCommand'](_0x397c2d[_0x19f794(0x299)]['id'],{'unitId':_0x57e812,'patches':_0x5877e1});},_0x4196ad=(_0xe007d2,_0x4d95a8)=>{const _0x73b9ef=_0x15268f;if(!_0x57e812)return;let _0x28a52d=_0x4d95a8?_0x23b00b['includes'](_0xe007d2)?_0x23b00b[_0x73b9ef(0x191)](_0x5a60dc=>_0x5a60dc!==_0xe007d2):[..._0x23b00b,_0xe007d2]:[_0xe007d2];_0x4c62d9['syncExecuteCommand'](_0x48b930[_0x73b9ef(0x1c0)]['id'],_0x28a52d[_0x73b9ef(0x353)](_0x4a85fd=>({'unitId':_0x57e812,'subUnitId':_0x4a137f,'drawingId':_0x4a85fd})));let _0x4cb0c3=_0x28a52d[_0x28a52d['length']-0x1];_0x4cb0c3?(0x0,_0x477995['activateDrawingObject'])(_0x57408c,{'unitId':_0x57e812,'subUnitId':_0x4a137f,'drawingId':_0x4cb0c3}):(0x0,_0x477995[_0x73b9ef(0x306)])(_0x57408c,_0x57e812);},_0x31c91d=async(_0xbaf95d,_0x5ebab3)=>{const _0x57b555=_0x15268f;await _0x3a16e0(_0xbaf95d['map'](_0x1f1b37=>_0x3e1859(_0x1f1b37))[_0x57b555(0x191)](_0xe5561c=>!!_0xe5561c)[_0x57b555(0x191)](_0x22a456=>_0x22a456[_0x57b555(0x25d)]!==!0x0!==_0x5ebab3)['map'](_0x1ad350=>({'drawingId':_0x1ad350[_0x57b555(0x3a1)],'hidden':!_0x5ebab3})));},_0x530ee9=async _0x963c2f=>{let _0x2b3f0e=_0x3e1859(_0x963c2f);_0x2b3f0e&&await _0x3a16e0([{'drawingId':_0x963c2f,'selectable':_0x2b3f0e['selectable']===!0x1&&void 0x0}]);},_0x4d55ff=async(_0x1d904f,_0x55dfcc)=>{const _0x4fceab=_0x15268f;let _0x5e2ebb=_0x3e1859(_0x1d904f),_0x2db583=_0xd428e7(_0x55dfcc);!_0x5e2ebb||(_0x5e2ebb[_0x4fceab(0x3e3)]??void 0x0)===_0x2db583&&(_0x5e2ebb[_0x4fceab(0x17e)]||void 0x0)===_0x2db583||await _0x3a16e0([{'drawingId':_0x1d904f,'name':_0x2db583,'title':_0x2db583}]);},_0x39a94d=async(_0x18f0a8,_0x1a9d83)=>{let _0x7aad0d=_0x3e1859(_0x18f0a8),_0x562ef5=_0xd428e7(_0x1a9d83);!_0x7aad0d||(_0x7aad0d['description']??void 0x0)===_0x562ef5||await _0x3a16e0([{'drawingId':_0x18f0a8,'description':_0x562ef5}]);},_0x640aa4=async(_0x33adfd,_0x4fcccf)=>{const _0x395c99=_0x15268f;_0x57e812&&await _0x4c62d9[_0x395c99(0x24b)](_0xe167a4[_0x395c99(0x3c7)]['id'],{'unitId':_0x57e812,'subUnitId':_0x4a137f,'drawingIds':[_0x33adfd],'arrangeType':_0x4fcccf});};return _0x57e812?(0x0,_0x5c8576['jsx'])(_0x1a42e8[_0x15268f(0x2c9)],{'items':_0xb2c3dc,'selectedIds':_0x23b00b,'focusedId':_0x3bdfa9,'labels':_0x39442b,'onSelect':_0x4196ad,'onSetVisible':_0x31c91d,'onCommitName':_0x4d55ff,'onCommitDescription':_0x39a94d,'onMoveForward':async _0xe538ea=>_0x640aa4(_0xe538ea,_0x199bc9[_0x15268f(0x3b7)][_0x15268f(0x387)]),'onMoveBackward':async _0x35c215=>_0x640aa4(_0x35c215,_0x199bc9['ArrangeTypeEnum']['backward']),'onToggleSelectable':_0x530ee9}):(0x0,_0x5c8576[_0x15268f(0x32d)])(_0x15268f(0x328),{'className':_0x15268f(0x273),'children':_0x39442b[_0x15268f(0x17e)]});}let _0xd26b4b=class{constructor(_0x2171f5){const _0x1bfcbd=_0x44da2a;this[_0x1bfcbd(0x275)]=_0x2171f5;}[_0x44da2a(0x1db)](_0x2c29a5,_0xfd99c6){const _0x17a8a7=_0x44da2a;let _0x1ca671=this[_0x17a8a7(0x275)]['getRenderUnitById'](_0x2c29a5[_0x17a8a7(0x1e0)]),_0x16a126=_0x1ca671==null?void 0x0:_0x1ca671[_0x17a8a7(0x20a)];if(!_0x16a126)return;let _0x3834ca=(0x0,_0x48b930[_0x17a8a7(0x2a0)])(_0x2c29a5),_0x27f1e7=_0x16a126['getObjectIncludeInGroup'](_0x3834ca);_0x27f1e7==null||_0x27f1e7['setFillImage'](_0xfd99c6);}};_0xd26b4b=_0x5e6390([_0x57fca7(0x0,_0x4bd9c2[_0x44da2a(0x3f8)])],_0xd26b4b);function _0x43cfb9(){const _0x39a581=_0x44da2a;let _0x4cd8b3=(0x0,_0x314b7e[_0x39a581(0x3fe)])(_0x48b930[_0x39a581(0x3be)]),_0x28dc1d=(0x0,_0x314b7e[_0x39a581(0x374)])(()=>_0x4cd8b3[_0x39a581(0x1de)],_0x4cd8b3['getFocusDrawings'](),!0x1,[_0x4cd8b3]);return _0x28dc1d[_0x39a581(0x268)]===0x0?null:(0x0,_0x5c8576[_0x39a581(0x32d)])(_0x39a581(0x328),{'children':(0x0,_0x5c8576[_0x39a581(0x15a)])(_0x39a581(0x328),{'className':_0x39a581(0x33a),'children':[(0x0,_0x5c8576[_0x39a581(0x32d)])(_0x1a42e8[_0x39a581(0x348)],{'drawings':_0x28dc1d,'hasCropper':!0x1}),(0x0,_0x5c8576[_0x39a581(0x32d)])(_0x14557e[_0x39a581(0x19a)],{'drawings':_0x28dc1d}),(0x0,_0x5c8576['jsx'])(_0x14557e[_0x39a581(0x1bd)],{'drawings':_0x28dc1d})]})});}function _0x57f2a3(_0x3d3bf5){const _0x2421bf=_0x44da2a;let {unitId:_0x425aad,subUnitId:_0x315de5,shapeId:_0x2d0bc0}=_0x3d3bf5,_0x318f8d=(0x0,_0x314b7e['useDependency'])(_0x199bc9['ICommandService']),_0x57a870=(0x0,_0x314b7e[_0x2421bf(0x3fe)])(_0xd26b4b);return(0x0,_0x5c8576[_0x2421bf(0x32d)])(_0x477995[_0x2421bf(0x2a5)],{..._0x3d3bf5,'positionEditor':(0x0,_0x5c8576[_0x2421bf(0x32d)])(_0x43cfb9,{}),'onUpdateShapeData':(_0x531431,_0x11b696)=>{_0x5d636b(_0x318f8d,_0x425aad,_0x315de5,_0x2d0bc0,_0x531431,_0x11b696);},'onUpdateLineShapeData':(_0x3d0682,_0x40d3da)=>{_0x12e5ff(_0x318f8d,_0x425aad,_0x315de5,_0x2d0bc0,_0x3d0682,_0x40d3da);},'onUpdateShapeFillImage':_0x327dec=>{_0x57a870['updateShapeFillImage']({'unitId':_0x425aad,'subUnitId':_0x315de5,'drawingId':_0x2d0bc0},_0x327dec);}});}let _0x9b7e0c=_0x44da2a(0x40e);function _0x189cbc(_0xffdd53,_0x2f0e45){const _0x3215fd=_0x44da2a;var _0x50b142;let _0x262584=_0xffdd53==null||(_0x50b142=_0xffdd53[_0x3215fd(0x1a9)]()['drawings'])==null?void 0x0:_0x50b142[_0x2f0e45];return _0x262584?_0x262584[_0x3215fd(0x1e1)]===_0x199bc9['PositionedObjectLayoutType'][_0x3215fd(0x236)]?_0x262584[_0x3215fd(0x18e)]===_0x199bc9[_0x3215fd(0x1f1)]['TRUE']?_0xe167a4[_0x3215fd(0x3e8)][_0x3215fd(0x3ae)]:_0xe167a4[_0x3215fd(0x3e8)]['IN_FRONT_OF_TEXT']:_0x262584[_0x3215fd(0x1e1)]===_0x199bc9['PositionedObjectLayoutType'][_0x3215fd(0x1fd)]?_0xe167a4['TextWrappingStyle']['WRAP_SQUARE']:_0x262584[_0x3215fd(0x1e1)]===_0x199bc9[_0x3215fd(0x1ff)][_0x3215fd(0x344)]?_0xe167a4[_0x3215fd(0x3e8)][_0x3215fd(0x344)]:_0xe167a4[_0x3215fd(0x3e8)][_0x3215fd(0x309)]:_0xe167a4[_0x3215fd(0x3e8)]['INLINE'];}function _0x225e8d(_0x22250e){const _0x21a7f2=_0x44da2a;let _0x271eab=(0x0,_0x314b7e[_0x21a7f2(0x3fe)])(_0x477995[_0x21a7f2(0x33b)]),_0x261201=(0x0,_0x314b7e['useObservable'])(()=>_0x271eab['visible$'],_0x271eab[_0x21a7f2(0x367)](),!0x1,[_0x271eab]),_0x1d4597=_0x22250e[_0x21a7f2(0x163)][_0x21a7f2(0x3ef)];return _0x261201?(0x0,_0x5c8576['jsx'])(_0x371934,{..._0x1d4597,'canvasElement':_0x22250e[_0x21a7f2(0x163)][_0x21a7f2(0x359)]}):null;}function _0x371934(_0x5afbf0){const _0x13f1b1=_0x44da2a;let _0x2246c2=(0x0,_0x314b7e[_0x13f1b1(0x3fe)])(_0x199bc9[_0x13f1b1(0x250)]),_0x47fe27=(0x0,_0x314b7e['useDependency'])(_0x199bc9[_0x13f1b1(0x36b)]),_0x393b6d=(0x0,_0x314b7e[_0x13f1b1(0x3fe)])(_0x397c2d[_0x13f1b1(0x197)]),_0xc653b0=(0x0,_0x314b7e[_0x13f1b1(0x3fe)])(_0x199bc9[_0x13f1b1(0x3fd)]),{unitId:_0x1bbd56,subUnitId:_0x31d3a4,drawingId:_0xeea4a4,shapeType:_0x313aa8}=_0x5afbf0,[_0x3ff75f,_0x2af2b1]=(0x0,_0x3c5464[_0x13f1b1(0x333)])(_0x5afbf0['shapeData']),_0x8ca991=_0xc653b0[_0x13f1b1(0x199)](_0x1bbd56,_0x199bc9[_0x13f1b1(0x31a)][_0x13f1b1(0x171)])??void 0x0,[_0xaa49d1,_0x3f73d0]=(0x0,_0x3c5464[_0x13f1b1(0x333)])(()=>_0x189cbc(_0x8ca991,_0xeea4a4)),_0x5f4465=(0x0,_0x3c5464[_0x13f1b1(0x20c)])(()=>(0x0,_0x477995[_0x13f1b1(0x200)])(_0x3ff75f),[_0x3ff75f]),_0x21196e=(0x0,_0x3c5464[_0x13f1b1(0x20c)])(()=>(0x0,_0x477995[_0x13f1b1(0x1a2)])(_0x3ff75f),[_0x3ff75f]);(0x0,_0x3c5464[_0x13f1b1(0x2b9)])(()=>{const _0x166a94=_0x13f1b1;let _0x47b615=_0x2246c2[_0x166a94(0x289)](_0x4d1ea9=>{const _0x5ba88a=_0x166a94;if(_0x4d1ea9['id']!==_0x397c2d[_0x5ba88a(0x29e)]['id'])return;let _0xde50a2=_0x393b6d[_0x5ba88a(0x35b)](_0x1bbd56,_0x31d3a4,_0xeea4a4);_0xde50a2&&_0x2af2b1(_0xde50a2);});return()=>_0x47b615['dispose']();},[_0x2246c2,_0x393b6d,_0xeea4a4,_0x31d3a4,_0x1bbd56]);let _0x5bdc5b=_0x2f0935=>{_0x2af2b1(_0x1b1963=>({..._0x1b1963,..._0x2f0935}));},_0xc1fb54=_0x569933=>{const _0x4af034=_0x13f1b1;let _0x8b581f=(0x0,_0x477995[_0x4af034(0x2f0)])(_0x3ff75f,_0x569933);_0x5d636b(_0x2246c2,_0x1bbd56,_0x31d3a4,_0xeea4a4,{'oldShapeData':{'shapeText':_0x3ff75f[_0x4af034(0x185)]}},_0x8b581f),_0x5bdc5b(_0x8b581f);},_0x3a9358=_0x1de8a2=>{const _0x5f06d9=_0x13f1b1;_0x3f73d0(_0x1de8a2),_0x2246c2[_0x5f06d9(0x24b)](_0xe167a4['UpdateDocDrawingWrappingStyleCommand']['id'],{'unitId':_0x1bbd56,'subUnitId':_0x31d3a4,'drawings':[{'unitId':_0x1bbd56,'subUnitId':_0x31d3a4,'drawingId':_0xeea4a4}],'wrappingStyle':_0x1de8a2});},_0xd44c5=(0x0,_0x477995[_0x13f1b1(0x1c1)])({'hostType':_0x199bc9[_0x13f1b1(0x31a)][_0x13f1b1(0x171)],'unitId':_0x1bbd56,'subUnitId':_0x31d3a4,'shapeId':_0xeea4a4,'shapeData':_0x3ff75f,'onUpdateBinding':_0xd3adfe=>{let _0x5788b4={'formulaBinding':_0xd3adfe};_0x5d636b(_0x2246c2,_0x1bbd56,_0x31d3a4,_0xeea4a4,{'oldShapeData':{'formulaBinding':_0x3ff75f['formulaBinding']}},_0x5788b4),_0x5bdc5b(_0x5788b4);}}),_0x1c2917=[{'label':_0x47fe27['t'](_0x13f1b1(0x2d6)),'value':_0xe167a4['TextWrappingStyle'][_0x13f1b1(0x309)],'icon':(0x0,_0x5c8576[_0x13f1b1(0x32d)])(_0x2a5b35,{})},{'label':_0x47fe27['t'](_0x13f1b1(0x281)),'value':_0xe167a4[_0x13f1b1(0x3e8)][_0x13f1b1(0x1fd)],'icon':(0x0,_0x5c8576[_0x13f1b1(0x32d)])(_0x2a5b35,{})},{'label':_0x47fe27['t'](_0x13f1b1(0x282)),'value':_0xe167a4['TextWrappingStyle'][_0x13f1b1(0x344)],'icon':(0x0,_0x5c8576[_0x13f1b1(0x32d)])(_0x2a5b35,{})},{'label':_0x47fe27['t'](_0x13f1b1(0x19e)),'value':_0xe167a4[_0x13f1b1(0x3e8)][_0x13f1b1(0x3ae)],'icon':(0x0,_0x5c8576[_0x13f1b1(0x32d)])(_0x2a5b35,{})},{'label':_0x47fe27['t'](_0x13f1b1(0x3aa)),'value':_0xe167a4[_0x13f1b1(0x3e8)][_0x13f1b1(0x246)],'icon':(0x0,_0x5c8576[_0x13f1b1(0x32d)])(_0x2a5b35,{})}];return(0x0,_0x5c8576[_0x13f1b1(0x15a)])(_0x5c8576[_0x13f1b1(0x2ee)],{'children':[(0x0,_0x5c8576['jsx'])(_0x477995[_0x13f1b1(0x331)],{'canvasElement':_0x5afbf0['canvasElement'],'shapeData':_0x3ff75f,'shapeType':_0x313aa8,'textStyle':{'ff':_0x2d5ae1['ShapeDefaultConfig'][_0x13f1b1(0x185)][_0x13f1b1(0x382)],'fs':_0x2d5ae1['ShapeDefaultConfig'][_0x13f1b1(0x185)]['fontSize'],'cl':{'rgb':_0x2d5ae1[_0x13f1b1(0x3d2)][_0x13f1b1(0x185)][_0x13f1b1(0x1b1)]},..._0x5f4465},'textModel':_0x21196e?{'ha':_0x21196e['ha']??_0x199bc9[_0x13f1b1(0x1cc)][_0x13f1b1(0x2ce)],'va':_0x21196e['va']??_0x199bc9['VerticalAlign'][_0x13f1b1(0x35d)]}:null,'wrappingStyle':_0xaa49d1,'wrappingStyleOptions':_0x1c2917,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x2d5ae1[_0x13f1b1(0x3d2)][_0x13f1b1(0x1c7)],'defaultGradientEndColor':_0x2d5ae1[_0x13f1b1(0x3d2)][_0x13f1b1(0x412)],'defaultStrokeColor':_0x2d5ae1['ShapeDefaultConfig'][_0x13f1b1(0x2eb)],'extensionGroups':_0xd44c5[_0x13f1b1(0x2a7)],'onUpdateShapeData':(_0x2a680b,_0x71c306)=>{_0x5d636b(_0x2246c2,_0x1bbd56,_0x31d3a4,_0xeea4a4,_0x2a680b,_0x71c306),_0x71c306&&_0x5bdc5b(_0x71c306);},'onUpdateText':_0xc1fb54,'onUpdateWrappingStyle':_0x587a2f=>_0x3a9358(_0x587a2f),'onOpenPanel':()=>{_0x2246c2['executeCommand'](_0x39ec2b['id'],{'unitId':_0x1bbd56,'subUnitId':_0x31d3a4,'drawingId':_0xeea4a4});},'onDelete':()=>{const _0x416b11=_0x13f1b1;_0x2246c2['executeCommand'](_0xe167a4[_0x416b11(0x286)]['id'],{'unitId':_0x1bbd56,'drawings':[{'unitId':_0x1bbd56,'subUnitId':_0x31d3a4,'drawingId':_0xeea4a4}]});}}),_0xd44c5[_0x13f1b1(0x1a1)]]});}function _0x33f5f7(_0x30074d){'@babel/helpers - typeof';const _0x405439=_0x44da2a;return _0x33f5f7=typeof Symbol==_0x405439(0x1f4)&&typeof Symbol[_0x405439(0x347)]=='symbol'?function(_0x39467f){return typeof _0x39467f;}:function(_0x26fea0){const _0xa21b=_0x405439;return _0x26fea0&&typeof Symbol=='function'&&_0x26fea0[_0xa21b(0x313)]===Symbol&&_0x26fea0!==Symbol[_0xa21b(0x217)]?_0xa21b(0x219):typeof _0x26fea0;},_0x33f5f7(_0x30074d);}function _0x215a06(_0x308163,_0x377ed1){const _0x10017d=_0x44da2a;if(_0x33f5f7(_0x308163)!=_0x10017d(0x314)||!_0x308163)return _0x308163;var _0x2c8be5=_0x308163[Symbol['toPrimitive']];if(_0x2c8be5!==void 0x0){var _0x118afa=_0x2c8be5[_0x10017d(0x41b)](_0x308163,_0x377ed1||_0x10017d(0x3c5));if(_0x33f5f7(_0x118afa)!='object')return _0x118afa;throw TypeError(_0x10017d(0x1a3));}return(_0x377ed1===_0x10017d(0x31c)?String:Number)(_0x308163);}function _0x416d0a(_0x347170){const _0x5e01a0=_0x44da2a;var _0x20df50=_0x215a06(_0x347170,_0x5e01a0(0x31c));return _0x33f5f7(_0x20df50)=='symbol'?_0x20df50:_0x20df50+'';}function _0x23a33c(_0x1a22ea,_0x2ab6ba,_0x50c005){const _0x19c1f0=_0x44da2a;return(_0x2ab6ba=_0x416d0a(_0x2ab6ba))in _0x1a22ea?Object[_0x19c1f0(0x264)](_0x1a22ea,_0x2ab6ba,{'value':_0x50c005,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1a22ea[_0x2ab6ba]=_0x50c005,_0x1a22ea;}var _0x3ec044=class extends _0x199bc9['Disposable']{constructor(..._0x4d2192){const _0x4b7628=_0x44da2a;super(..._0x4d2192),_0x23a33c(this,_0x4b7628(0x2fa),new _0x259d9f[(_0x4b7628(0x3d6))](null)),_0x23a33c(this,_0x4b7628(0x25a),this[_0x4b7628(0x2fa)][_0x4b7628(0x21d)]()),_0x23a33c(this,_0x4b7628(0x36a),new _0x259d9f[(_0x4b7628(0x3d6))](!0x1)),_0x23a33c(this,_0x4b7628(0x213),this[_0x4b7628(0x36a)][_0x4b7628(0x21d)]());}[_0x44da2a(0x396)](){const _0x229f20=_0x44da2a;this[_0x229f20(0x2fa)][_0x229f20(0x2a9)](null),this[_0x229f20(0x2fa)]['complete'](),this[_0x229f20(0x36a)][_0x229f20(0x2a9)](!0x1),this[_0x229f20(0x36a)][_0x229f20(0x3bc)](),super['dispose']();}[_0x44da2a(0x1e5)](_0x9b297){const _0x1b824b=_0x44da2a;this[_0x1b824b(0x2fa)][_0x1b824b(0x2a9)](_0x9b297),_0x9b297??this[_0x1b824b(0x36a)][_0x1b824b(0x2a9)](!0x1);}['setOnSavingEditorData'](_0x50fd9a){const _0xa51395=_0x44da2a;this[_0xa51395(0x36a)][_0xa51395(0x2a9)](_0x50fd9a);}[_0x44da2a(0x3ea)](){const _0x10c7f1=_0x44da2a;return this[_0x10c7f1(0x2fa)]['getValue']();}[_0x44da2a(0x362)](_0x238d36){const _0x386ee9=_0x44da2a;this[_0x386ee9(0x3ea)]()&&(this['setOnSavingEditorData'](!0x0),requestAnimationFrame(()=>{const _0x195b65=_0x386ee9;this[_0x195b65(0x1e5)](null);}));}['cancelEditing'](){const _0x1dc9f6=_0x44da2a;this[_0x1dc9f6(0x3ea)]()&&this[_0x1dc9f6(0x1e5)](null);}};let _0x22c6a9=(0x0,_0x3c5464['memo'])(()=>{const _0xebc9c3=_0x44da2a;let _0x2c9b2e=(0x0,_0x314b7e['useDependency'])(_0x3ec044),_0xfadcca=(0x0,_0x314b7e[_0xebc9c3(0x3fe)])(_0x397c2d[_0xebc9c3(0x197)]),_0x543e1c=(0x0,_0x314b7e[_0xebc9c3(0x3fe)])(_0x48b930[_0xebc9c3(0x3be)]),_0x206c75=(0x0,_0x314b7e[_0xebc9c3(0x3fe)])(_0x199bc9['ICommandService']);return(0x0,_0x5c8576['jsx'])(_0x477995['ShapeTextEditorContainer'],{'adapter':(0x0,_0x3c5464['useMemo'])(()=>({'getShapeModel':(_0x890130,_0xd2a680,_0x2ccbc1)=>_0xfadcca[_0xebc9c3(0x325)](_0x890130,_0xd2a680,_0x2ccbc1),'getShapeData':(_0x414499,_0x44831c,_0x4036ef)=>_0xfadcca[_0xebc9c3(0x35b)](_0x414499,_0x44831c,_0x4036ef),'getDrawingTransform':(_0x5f1f25,_0x5ba8b9,_0x429b0d)=>{const _0x2c9b69=_0xebc9c3;let _0x54c9ad=_0x543e1c['getDrawingByParam']({'unitId':_0x5f1f25,'subUnitId':_0x5ba8b9,'drawingId':_0x429b0d});return _0x54c9ad==null?void 0x0:_0x54c9ad[_0x2c9b69(0x37c)];},'updateShapeText':({unitId:_0x58fd1d,shapeId:_0x410f7e,shapeText:_0x47e8bd,oldShapeText:_0x13b488})=>{const _0x20f6af=_0xebc9c3;_0x206c75['executeCommand'](_0x397c2d[_0x20f6af(0x3d3)]['id'],{'unitId':_0x58fd1d,'shapeId':_0x410f7e,'shapeData':{'shapeText':_0x47e8bd},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x13b488}}});},'updateHostSize':({unitId:_0x38da38,subUnitId:_0x4fdbfb,shapeId:_0x1dbcd7,width:_0x58c0e0,height:_0x11d989})=>{const _0x389163=_0xebc9c3;_0x206c75[_0x389163(0x24b)](_0xe167a4[_0x389163(0x1b4)]['id'],{'unitId':_0x38da38,'subUnitId':_0x4fdbfb,'drawings':[{'drawingId':_0x1dbcd7,'key':_0x389163(0x402),'value':{'width':_0x58c0e0,'height':_0x11d989}}]});},'allowHostSizeShrink':({unitId:_0x3858e0,subUnitId:_0x5e9a85,shapeId:_0x554a8d})=>(0x0,_0x477995['shouldAllowShapeTextEditorHostSizeShrink'])(_0xfadcca['getShapeDataById'](_0x3858e0,_0x5e9a85,_0x554a8d))}),[_0x206c75,_0xfadcca,_0x543e1c]),'editingService':_0x2c9b2e,'editorUnitId':_0xa6f102,'positionOptions':(0x0,_0x3c5464[_0xebc9c3(0x20c)])(()=>({'viewportKeys':{'main':_0xadaed7['VIEWPORT_KEY'][_0xebc9c3(0x188)]}}),[])});}),_0x3e2894=class extends _0x199bc9[_0x44da2a(0x196)]{constructor(_0x4ae13e,_0x1c7c21){const _0x16128b=_0x44da2a;super(),this[_0x16128b(0x2c3)]=_0x4ae13e,this[_0x16128b(0x2ba)]=_0x1c7c21,this['_registerIcons'](),this['_registerComponents']();}['_registerIcons'](){const _0x2245f6=_0x44da2a;this[_0x2245f6(0x2ba)]['has'](_0x2245f6(0x287))||this[_0x2245f6(0x19c)](this['_iconManager'][_0x2245f6(0x230)]({'ObjectLayersIcon':_0x53ffa2})),this['_iconManager'][_0x2245f6(0x22c)](_0x2245f6(0x160))||this[_0x2245f6(0x19c)](this[_0x2245f6(0x2ba)][_0x2245f6(0x230)]({'BottomIcon':_0x7068a8})),this[_0x2245f6(0x2ba)]['has'](_0x2245f6(0x225))||this[_0x2245f6(0x19c)](this[_0x2245f6(0x2ba)][_0x2245f6(0x230)]({'MoveDownIcon':_0x2fdeff})),this[_0x2245f6(0x2ba)]['has'](_0x2245f6(0x409))||this[_0x2245f6(0x19c)](this[_0x2245f6(0x2ba)][_0x2245f6(0x230)]({'MoveUpIcon':_0x3ff74f})),this[_0x2245f6(0x2ba)][_0x2245f6(0x22c)](_0x2245f6(0x263))||this['disposeWithMe'](this['_iconManager'][_0x2245f6(0x230)]({'ShapeFormatSettingIcon':_0x4e409e})),this['_iconManager']['has'](_0x2245f6(0x1a5))||this['disposeWithMe'](this[_0x2245f6(0x2ba)]['register']({'TopmostIcon':_0x23d310}));}[_0x44da2a(0x366)](){const _0x25dc36=_0x44da2a;this['disposeWithMe'](this[_0x25dc36(0x2c3)][_0x25dc36(0x230)](_0x592432,_0x57f2a3)),this['disposeWithMe'](this[_0x25dc36(0x2c3)]['register'](_0x1eb480,_0x1d884a)),this['disposeWithMe'](this[_0x25dc36(0x2c3)][_0x25dc36(0x230)](_0x9b7e0c,_0x225e8d)),this['disposeWithMe'](this[_0x25dc36(0x2c3)]['register'](_0x5348c1,_0x358711)),this[_0x25dc36(0x19c)](this[_0x25dc36(0x2c3)][_0x25dc36(0x230)](_0x6abc23,_0x1a179f)),this[_0x25dc36(0x19c)](this[_0x25dc36(0x2c3)][_0x25dc36(0x230)](_0x48d6e1,_0x59fb0b)),this[_0x25dc36(0x19c)](this[_0x25dc36(0x2c3)][_0x25dc36(0x230)](_0x8f688e,_0x56bc1f)),this[_0x25dc36(0x19c)](this[_0x25dc36(0x2c3)][_0x25dc36(0x230)](_0x4c7158,_0x477995[_0x25dc36(0x29c)])),this[_0x25dc36(0x19c)](this['_componentManager'][_0x25dc36(0x230)](_0x3c9c56,_0x2fa4cd)),this[_0x25dc36(0x19c)](this[_0x25dc36(0x2c3)][_0x25dc36(0x230)](_0x30ffe0,_0x178a63)),this['_componentManager'][_0x25dc36(0x41e)](_0x1a42e8[_0x25dc36(0x1f8)])||this['disposeWithMe'](this[_0x25dc36(0x2c3)][_0x25dc36(0x230)](_0x1a42e8[_0x25dc36(0x1f8)],_0x19d137)),this[_0x25dc36(0x19c)](this['_componentManager'][_0x25dc36(0x230)](_0x25dc36(0x397),_0x22c6a9));}};_0x3e2894=_0x5e6390([_0x57fca7(0x0,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x314b7e[_0x44da2a(0x247)])),_0x57fca7(0x1,(0x0,_0x199bc9['Inject'])(_0x314b7e[_0x44da2a(0x3a7)]))],_0x3e2894);var _0x5d0a63=class extends _0x4bd9c2[_0x44da2a(0x3e5)]{constructor(_0x26d979,_0x508e57){const _0x33f4d8=_0x44da2a;super(_0x26d979,_0x508e57),_0x23a33c(this,_0x33f4d8(0x36d),null),_0x23a33c(this,_0x33f4d8(0x3d9),null),_0x23a33c(this,'_unitId',null),_0x23a33c(this,_0x33f4d8(0x1c3),null),_0x508e57&&this[_0x33f4d8(0x1ec)](_0x508e57);}[_0x44da2a(0x3f4)](){const _0x35be23=_0x44da2a;return{'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this[_0x35be23(0x36d)]};}['setShapeProps'](_0x50e9ba){const _0xfa018b=_0x44da2a;_0x50e9ba[_0xfa018b(0x195)]!==void 0x0&&(this[_0xfa018b(0x36d)]=_0x50e9ba[_0xfa018b(0x195)]),_0x50e9ba[_0xfa018b(0x3ff)]!==void 0x0&&(this[_0xfa018b(0x3d9)]=_0x50e9ba['adjName']),_0x50e9ba['unitId']!==void 0x0&&(this['_unitId']=_0x50e9ba[_0xfa018b(0x1e0)]),_0x50e9ba['subUnitId']!==void 0x0&&(this[_0xfa018b(0x1c3)]=_0x50e9ba[_0xfa018b(0x3d5)]),this['transformByState']({'width':_0x50e9ba[_0xfa018b(0x25c)],'height':_0x50e9ba['height']});}[_0x44da2a(0x2bf)](_0x4839aa){const _0x7b30e9=_0x44da2a;_0x4bd9c2[_0x7b30e9(0x2c1)]['drawWith'](_0x4839aa,{'radius':_0x2d5ae1[_0x7b30e9(0x3d2)]['adjHandleSize'],'fill':_0x2d5ae1[_0x7b30e9(0x3d2)][_0x7b30e9(0x2ed)],'stroke':_0x2d5ae1[_0x7b30e9(0x3d2)]['adjHandleStroke'],'strokeWidth':0x1,'evented':!0x0});}};function _0xd7ca36(_0x50862a,_0x3de124,_0x53480d){const _0x4d0a29=_0x44da2a;let _0x1d9318=(0x0,_0x477995[_0x4d0a29(0x1af)])(_0x50862a,{..._0x3de124,'dataModel':{..._0x3de124['dataModel']??{},..._0x53480d?{'doc':_0x53480d}:null}}),_0x15d08a=(0x0,_0x477995[_0x4d0a29(0x31f)])(_0x1d9318);return{'clip':(0x0,_0x477995[_0x4d0a29(0x15e)])(_0x1d9318,_0x15d08a),'wrapStrategy':_0x15d08a};}var _0x174cb7=class extends _0x4bd9c2[_0x44da2a(0x3e5)]{constructor(_0x3efb17,_0x201039){const _0x1a8d3a=_0x44da2a;super(_0x3efb17,_0x201039),_0x23a33c(this,_0x1a8d3a(0x1f2),void 0x0),_0x23a33c(this,_0x1a8d3a(0x1f7),new _0x477995[(_0x1a8d3a(0x221))](()=>this[_0x1a8d3a(0x155)](!0x0),()=>this[_0x1a8d3a(0x358)]())),_0x23a33c(this,_0x1a8d3a(0x32f),!0x0),_0x23a33c(this,'_drawingType',_0x199bc9[_0x1a8d3a(0x1d9)][_0x1a8d3a(0x418)]),_0x23a33c(this,_0x1a8d3a(0x2c6),!0x0),this[_0x1a8d3a(0x1f2)]={..._0x201039},this[_0x1a8d3a(0x1f7)]['setPresentation'](_0x201039['formulaPresentation'],_0x201039[_0x1a8d3a(0x1ae)]!==!0x1),this[_0x1a8d3a(0x371)](),this[_0x1a8d3a(0x358)]();}[_0x44da2a(0x371)](){const _0x4c60a9=_0x44da2a;this[_0x4c60a9(0x1ee)][_0x4c60a9(0x400)](_0x517964=>{const _0x4d0bbf=_0x4c60a9;this[_0x4d0bbf(0x209)](_0x517964);});}[_0x44da2a(0x3bf)](_0x58d50f){const _0x1ccac8=_0x44da2a;this[_0x1ccac8(0x1f2)][_0x1ccac8(0x37d)]=_0x58d50f;}[_0x44da2a(0x1e5)](_0x484d30){const _0x31964c=_0x44da2a;this[_0x31964c(0x1f2)][_0x31964c(0x24a)]=_0x484d30,this['makeDirty'](!0x0);}['setFormulaPresentation'](_0x53416a,_0x1c0ad5=!0x0){const _0x1d0f04=_0x44da2a;this[_0x1d0f04(0x1f7)][_0x1d0f04(0x245)](_0x53416a,_0x1c0ad5),this[_0x1d0f04(0x1f2)]['formulaPresentation']=_0x53416a,this['_applyFormulaAutoFitSize'](),this[_0x1d0f04(0x155)](!0x0);}['_applyFormulaAutoFitSize'](){const _0x56c5f9=_0x44da2a;let _0x192bbd=this['_props']['shapeModel'],_0x2a2338=_0x192bbd['getShapeTextData'](),_0x3d29eb=(0x0,_0x477995[_0x56c5f9(0x18d)])(_0x2a2338==null?void 0x0:_0x2a2338[_0x56c5f9(0x284)]),_0x414c49=_0x3d29eb==null?void 0x0:_0x3d29eb[_0x56c5f9(0x37b)],_0x793d0a=this['_formulaAnimation']['getAutoFitPresentations']();if(!_0x414c49||_0x793d0a['length']===0x0)return;_0x192bbd[_0x56c5f9(0x21c)]({'width':this[_0x56c5f9(0x25c)],'height':this[_0x56c5f9(0x2a2)]});let _0x3fd79a=(0x0,_0x477995[_0x56c5f9(0x27a)])({'documentData':_0x793d0a[_0x56c5f9(0x353)](_0x55be07=>(0x0,_0x377eec['createShapeFormulaDocument'])(_0x414c49,_0x55be07)),'height':this[_0x56c5f9(0x2a2)],'shapeData':_0x192bbd[_0x56c5f9(0x30e)](),'textRect':_0x192bbd[_0x56c5f9(0x272)]({'left':0x0,'top':0x0,'width':this['width'],'height':this[_0x56c5f9(0x2a2)]}),'width':this['width']});if(_0x3fd79a){var _0x5d7221;this[_0x56c5f9(0x349)](_0x3fd79a['width'],_0x3fd79a[_0x56c5f9(0x2a2)]),(_0x5d7221=this[_0x56c5f9(0x384)]())==null||(_0x5d7221=_0x5d7221[_0x56c5f9(0x24e)]())==null||_0x5d7221[_0x56c5f9(0x1b6)]();}}get[_0x44da2a(0x1e0)](){const _0x4e36e8=_0x44da2a;return this['_props'][_0x4e36e8(0x1e0)];}get[_0x44da2a(0x3d5)](){const _0x32f50b=_0x44da2a;return this[_0x32f50b(0x1f2)]['subUnitId'];}[_0x44da2a(0x209)](_0x1de1c2){const _0x317bb1=_0x44da2a;if(this['_props']['srcRect']==null||!this[_0x317bb1(0x32f)])return;let {width:_0x412d83,height:_0x7cbe2f}=this,{width:_0x3ee888=0x0,height:_0x7b91c8=0x0}=_0x1de1c2[_0x317bb1(0x256)],{left:_0x2ac294=0x0,top:_0x56931f=0x0,right:_0x37211b=0x0,bottom:_0x492333=0x0}=this[_0x317bb1(0x1f2)][_0x317bb1(0x390)],_0x31bfb8=_0x2ac294,_0x49af2e=_0x56931f,_0x306d9d=_0x37211b,_0x1fb871=_0x492333,_0x238af3=!0x1;if(_0x3ee888!==0x0&&_0x3ee888!==_0x412d83){let _0x58db28=_0x2ac294/_0x3ee888,_0x3f95bf=_0x37211b/_0x3ee888;_0x31bfb8=_0x412d83*_0x58db28,_0x306d9d=_0x412d83*_0x3f95bf,_0x238af3=!0x0;}if(_0x7b91c8!==0x0&&_0x7b91c8!==_0x7cbe2f){let _0x40759a=_0x56931f/_0x7b91c8,_0x8aae62=_0x492333/_0x7b91c8;_0x49af2e=_0x7cbe2f*_0x40759a,_0x1fb871=_0x7cbe2f*_0x8aae62,_0x238af3=!0x0;}_0x238af3&&this[_0x317bb1(0x1d7)]({'left':_0x31bfb8,'top':_0x49af2e,'right':_0x306d9d,'bottom':_0x1fb871});}[_0x44da2a(0x1d7)](_0x201cf5){const _0x292785=_0x44da2a;this[_0x292785(0x1f2)][_0x292785(0x390)]=_0x201cf5,this[_0x292785(0x155)](!0x0);}[_0x44da2a(0x24f)](_0x2b7eb9){const _0x20f3fc=_0x44da2a;this[_0x20f3fc(0x1f2)][_0x20f3fc(0x343)]=_0x2b7eb9,this[_0x20f3fc(0x155)](!0x0);}set[_0x44da2a(0x37c)](_0x18e0d1){const _0x1a92ae=_0x44da2a;this[_0x1a92ae(0x1dc)]=_0x18e0d1;}get['transform'](){const _0x339874=_0x44da2a;this['_transform']||this[_0x339874(0x3c8)]();let _0x2eb362=this[_0x339874(0x1dc)][_0x339874(0x3cf)]();return this[_0x339874(0x2bd)](_0x2eb362);}get[_0x44da2a(0x355)](){const _0x43bff2=_0x44da2a;return this[_0x43bff2(0x1f2)][_0x43bff2(0x355)];}get[_0x44da2a(0x195)](){const _0x1e9c1b=_0x44da2a;return this['_props'][_0x1e9c1b(0x195)];}get[_0x44da2a(0x3db)](){return _0x4bd9c2['RENDER_CLASS_TYPE']['SHAPE'];}[_0x44da2a(0x2bf)](_0x4ffeef,_0x90b1f,_0x40243d,_0x3ca482){const _0x27f33e=_0x44da2a;let _0x51f07b=this[_0x27f33e(0x1f2)]['shapeModel'];if(!_0x51f07b||!_0x90b1f)return;let _0x12fce7=_0x40243d??this[_0x27f33e(0x25c)],_0x1bfd88=_0x3ca482??this['height'],_0x262a58={'shapeType':_0x51f07b['getShapeType'](),'width':_0x12fce7,'height':_0x1bfd88},_0x1d569f={'renderMode':_0x2d5ae1[_0x27f33e(0x26f)]['Path'],'oKey':this[_0x27f33e(0x377)],'image':this[_0x27f33e(0x1f2)][_0x27f33e(0x343)],'angle':this[_0x27f33e(0x3e0)]};_0x51f07b[_0x27f33e(0x21c)](_0x262a58),_0x4ffeef[_0x27f33e(0x2d0)]();let _0x193ed8={'top':0x0,'left':0x0,'width':_0x12fce7,'height':_0x1bfd88},_0x5b030e=_0x51f07b[_0x27f33e(0x3b6)](_0x193ed8);_0x5b030e?this[_0x27f33e(0x2d8)](_0x4ffeef,_0x5b030e,_0x16d9b9=>{const _0x428c89=_0x27f33e;_0x51f07b[_0x428c89(0x30f)](_0x16d9b9,_0x193ed8,_0x1d569f);}):(this['_releaseRenderCache'](),_0x51f07b['render'](_0x4ffeef,_0x193ed8,_0x1d569f)),_0x4ffeef['restore']();let _0x3a02e1=_0x51f07b[_0x27f33e(0x342)](),_0x217442=_0x51f07b[_0x27f33e(0x272)](_0x193ed8),_0x1b7db8=_0x51f07b[_0x27f33e(0x3c1)]();if(_0x3a02e1&&_0x217442&&!_0x1b7db8){_0x4ffeef[_0x27f33e(0x2d0)](),this[_0x27f33e(0x1bf)]()[_0x27f33e(0x2d5)]&&_0x4ffeef['scale'](-0x1,0x1);let _0x43b82d=_0x12fce7/0x2,_0x42b11a=_0x1bfd88/0x2;_0x4ffeef['translate'](-_0x43b82d,-_0x42b11a),_0x4ffeef['beginPath'](),this['_drawShapeText'](_0x4ffeef,_0x3a02e1,_0x217442),_0x4ffeef['restore']();}}[_0x44da2a(0x2e3)](_0x2cec6f){}[_0x44da2a(0x1d8)](_0x3f4313,_0x3c9662,_0x838943){const _0x5c1f27=_0x44da2a;var _0x1daea4;this[_0x5c1f27(0x1f2)]['isEditing']||(!((_0x1daea4=_0x3c9662[_0x5c1f27(0x284)])!=null&&_0x1daea4['doc'])&&_0x5c1f27(0x164)in _0x3c9662&&_0x3c9662['isRichText']===!0x1?this[_0x5c1f27(0x393)](_0x3f4313,_0x3c9662,_0x838943):this[_0x5c1f27(0x1e2)](_0x3f4313,_0x3c9662,_0x838943));}['_drawSimpleText'](_0x57df2f,_0xcf65c2,_0x4594a5){const _0x34bb6c=_0x44da2a;this[_0x34bb6c(0x1e2)](_0x57df2f,{..._0xcf65c2,'text':_0xcf65c2[_0x34bb6c(0x3e6)]??'','dataModel':{'doc':(0x0,_0x477995[_0x34bb6c(0x346)])(_0xcf65c2,_0x34bb6c(0x224)+this[_0x34bb6c(0x377)])}},_0x4594a5);}[_0x44da2a(0x1e2)](_0x5ec8f0,_0x25049e,_0x270b42){const _0x237ed3=_0x44da2a;(0x0,_0x477995[_0x237ed3(0x3ca)])(_0x5ec8f0,this['_formulaAnimation'],(_0x413ff2,_0x200085)=>{this['_drawRichTextLayer'](_0x413ff2,_0x25049e,_0x270b42,_0x200085);});}[_0x44da2a(0x175)](_0x23ad60,_0x18f2da,_0x125ed4,_0x293720){const _0x18779e=_0x44da2a;let _0xa6c39=this[_0x18779e(0x1f2)][_0x18779e(0x3ec)];if(!_0x18f2da['dataModel']||!_0xa6c39){_0xa6c39||console['warn'](_0x18779e(0x3fa));return;}let _0x4c9581=(0x0,_0x477995[_0x18779e(0x18d)])(_0x18f2da[_0x18779e(0x284)]);if(!_0x4c9581)return;let _0x3112d3=_0x4c9581[_0x18779e(0x37b)];if(!_0x3112d3)return;let _0x487660=(0x0,_0x377eec[_0x18779e(0x405)])(_0x3112d3,_0x293720),_0x544cca=_0x4c9581['va']??_0x199bc9['VerticalAlign'][_0x18779e(0x35d)],_0x1573a6=_0x4c9581['ha']??_0x199bc9[_0x18779e(0x1cc)][_0x18779e(0x2ce)],_0x1dcfdb=_0xd7ca36(this[_0x18779e(0x1f2)][_0x18779e(0x355)][_0x18779e(0x30e)](),_0x18f2da,_0x487660),_0x138574=_0x18f2da[_0x18779e(0x297)],_0xdd2ffc=new _0x199bc9['DocumentDataModel']((0x0,_0x477995['prepareShapeTextDocumentData'])(_0x487660,{'isHorizontal':_0x138574!==!0x1,'textRect':_0x125ed4,'verticalAlign':_0x544cca,'horizontalAlign':_0x1573a6,'wrapStrategy':_0x1dcfdb[_0x18779e(0x29d)]})),_0x95ace1=new _0x4bd9c2[(_0x18779e(0x235))](_0xdd2ffc),_0x34e46a=_0x4bd9c2[_0x18779e(0x2d2)][_0x18779e(0x378)](_0x95ace1,_0xa6c39);_0x34e46a[_0x18779e(0x202)]();let _0x134a87=_0x34e46a[_0x18779e(0x241)]()[_0x18779e(0x17a)],_0x13a1e7=(0x0,_0x477995[_0x18779e(0x19f)])({'contentHeight':_0x134a87,'verticalAlign':_0x544cca,'viewportHeight':_0x125ed4[_0x18779e(0x2a2)]});_0xdd2ffc[_0x18779e(0x3df)]({'pageSize':{'width':_0x138574===!0x1?_0x125ed4[_0x18779e(0x2a2)]:_0x125ed4['width'],'height':_0x13a1e7[_0x18779e(0x38c)]}}),_0xdd2ffc[_0x18779e(0x21f)]({'t':_0x13a1e7['marginTop']}),_0x34e46a[_0x18779e(0x202)]();let _0x39f81e=new _0x4bd9c2['Documents'](_0x18779e(0x28f)+this['oKey'],_0x34e46a,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x18779e(0x155)](!0x0)});_0x39f81e[_0x18779e(0x349)](_0x125ed4[_0x18779e(0x25c)],_0x13a1e7[_0x18779e(0x38c)]),_0x23ad60[_0x18779e(0x2d0)](),_0x23ad60[_0x18779e(0x351)](_0x125ed4[_0x18779e(0x40d)],_0x125ed4[_0x18779e(0x22e)]),_0x1dcfdb[_0x18779e(0x27b)]&&(_0x23ad60[_0x18779e(0x2fd)](),_0x23ad60[_0x18779e(0x2a8)](0x0,_0x13a1e7['clipTop'],_0x125ed4[_0x18779e(0x25c)],_0x13a1e7[_0x18779e(0x386)]),_0x23ad60[_0x18779e(0x27b)]()),_0x13a1e7[_0x18779e(0x1be)]&&_0x23ad60[_0x18779e(0x351)](0x0,_0x13a1e7[_0x18779e(0x1be)]),_0x39f81e['draw'](_0x23ad60),_0x23ad60['restore'](),_0x39f81e[_0x18779e(0x396)](),_0x34e46a[_0x18779e(0x396)](),_0x95ace1['dispose'](),_0xdd2ffc['dispose']();}[_0x44da2a(0x30f)](_0x5c1171,_0x3431b9,_0x956336=!0x1){const _0x3835f0=_0x44da2a;if(!this[_0x3835f0(0x243)])return this[_0x3835f0(0x155)](!0x1),this;let {width:_0x4e381e,height:_0x142c44,left:_0x71c7ed,top:_0x39add2}=this,_0x4797f8=this[_0x3835f0(0x3b8)]();if(_0x4e381e=_0x4797f8['width'],_0x142c44=_0x4797f8['height'],_0x71c7ed=_0x4797f8[_0x3835f0(0x40d)],_0x39add2=_0x4797f8[_0x3835f0(0x22e)],this[_0x3835f0(0x152)](_0x3431b9)){let {top:_0x291f9a,left:_0x10d272,bottom:_0x44609d,right:_0x146bcc}=_0x3431b9[_0x3835f0(0x2e6)];if(_0x4e381e+this[_0x3835f0(0x1b9)]+_0x71c7ed<_0x10d272||_0x146bcc<_0x71c7ed||_0x142c44+this['strokeWidth']+_0x39add2<_0x291f9a||_0x44609d<_0x39add2)return this;}let _0x4ad160=_0x71c7ed+_0x4e381e/0x2,_0x345e5e=_0x39add2+_0x142c44/0x2,_0x40b6a0=this[_0x3835f0(0x37c)][_0x3835f0(0x21a)]();if(this[_0x3835f0(0x1f2)][_0x3835f0(0x24a)]){let _0x18f1e5=this[_0x3835f0(0x1bf)](),_0x514e89=new _0x4bd9c2[(_0x3835f0(0x3fb))]();_0x514e89['composeMatrix']({..._0x18f1e5}),_0x40b6a0=_0x514e89[_0x3835f0(0x21a)]();}return _0x5c1171[_0x3835f0(0x2d0)](),this[_0x3835f0(0x1f2)]['shapeModel']['isRenderLinePointsMode']===!0x0||_0x5c1171[_0x3835f0(0x37c)](_0x40b6a0[0x0],_0x40b6a0[0x1],_0x40b6a0[0x2],_0x40b6a0[0x3],_0x4ad160,_0x345e5e),this['_draw'](_0x5c1171,_0x3431b9,_0x4e381e,_0x142c44),_0x5c1171['restore'](),this[_0x3835f0(0x155)](!0x1),this;}['getInverseCoord'](_0x271e2b){const _0x3d67b3=_0x44da2a;let {left:_0x3e77b4,top:_0x227984,width:_0x26fcdb,height:_0x39368d}=this[_0x3d67b3(0x3b8)](),_0x339c13=this[_0x3d67b3(0x37c)]['getMatrix'](),_0x4b337d=_0x3e77b4+_0x26fcdb/0x2,_0x21e693=_0x227984+_0x39368d/0x2,_0x4d4f62=new _0x4bd9c2[(_0x3d67b3(0x3fb))]([_0x339c13[0x0],_0x339c13[0x1],_0x339c13[0x2],_0x339c13[0x3],_0x4b337d,_0x21e693]),_0x59ce5a=this[_0x3d67b3(0x399)]();return(this[_0x3d67b3(0x3a0)]&&(_0x59ce5a==null?void 0x0:_0x59ce5a[_0x3d67b3(0x3db)])===_0x4bd9c2[_0x3d67b3(0x3da)][_0x3d67b3(0x29b)]?_0x59ce5a[_0x3d67b3(0x406)][_0x3d67b3(0x339)](_0x4d4f62):_0x4d4f62)[_0x3d67b3(0x181)]()[_0x3d67b3(0x26b)](_0x271e2b);}[_0x44da2a(0x2ab)](_0x39e081){const _0x229119=_0x44da2a;let {left:_0x19d886,top:_0x554956,width:_0x25844f,height:_0x3d2cc9}=this['getRealBound'](),_0x501f0a=_0x19d886+_0x25844f/0x2,_0xd24f8f=_0x554956+_0x3d2cc9/0x2,_0xacba7d=this['transform'][_0x229119(0x21a)](),_0x29f033=new _0x4bd9c2[(_0x229119(0x3fb))]([_0xacba7d[0x0],_0xacba7d[0x1],_0xacba7d[0x2],_0xacba7d[0x3],_0x501f0a,_0xd24f8f]),_0x2a0ad9=this[_0x229119(0x399)](),_0x55c1cb=(this['isInGroup']&&(_0x2a0ad9==null?void 0x0:_0x2a0ad9[_0x229119(0x3db)])===_0x4bd9c2[_0x229119(0x3da)][_0x229119(0x29b)]?_0x2a0ad9[_0x229119(0x406)][_0x229119(0x339)](_0x29f033):_0x29f033)[_0x229119(0x181)]()[_0x229119(0x26b)](_0x39e081),_0x360e6b=_0x25844f/0x2,_0x3a2a8f=_0x3d2cc9/0x2,_0x1f84eb=this[_0x229119(0x1f2)][_0x229119(0x355)];return _0x1f84eb&&_0x1f84eb[_0x229119(0x3c1)]()?_0x1f84eb['isHitLine'](_0x55c1cb['x'],_0x55c1cb['y'],_0x25844f,_0x3d2cc9):_0x55c1cb['x']>=-_0x360e6b-this[_0x229119(0x1b9)]/0x2&&_0x55c1cb['x']<=_0x360e6b+this[_0x229119(0x1b9)]/0x2&&_0x55c1cb['y']>=-_0x3a2a8f-this[_0x229119(0x1b9)]/0x2&&_0x55c1cb['y']<=_0x3a2a8f+this[_0x229119(0x1b9)]/0x2;}[_0x44da2a(0x396)](){const _0xad3c7=_0x44da2a;this['_formulaAnimation'][_0xad3c7(0x396)](),this[_0xad3c7(0x1f2)]['shapeModel']=null,super[_0xad3c7(0x396)]();}};let _0x5df118=class extends _0x199bc9['Disposable']{constructor(_0x6d5bbb,_0x5cf5a3,_0x3caf52,_0x1fd9e4){const _0x49bcc7=_0x44da2a;super(),this['_context']=_0x6d5bbb,this[_0x49bcc7(0x201)]=_0x5cf5a3,this['_docsShapeService']=_0x3caf52,this[_0x49bcc7(0x3f3)]=_0x1fd9e4,_0x23a33c(this,_0x49bcc7(0x2cf),null),_0x23a33c(this,_0x49bcc7(0x178),null),_0x23a33c(this,_0x49bcc7(0x1c3),null),_0x23a33c(this,'_activeShapeAdjustPointList',void 0x0),_0x23a33c(this,_0x49bcc7(0x1e3),[]),_0x23a33c(this,_0x49bcc7(0x1d4),0x0),_0x23a33c(this,_0x49bcc7(0x16e),0x0),_0x23a33c(this,_0x49bcc7(0x18b),0x0),_0x23a33c(this,'_baseShapeHeight',0x0),_0x23a33c(this,_0x49bcc7(0x166),!0x1),_0x23a33c(this,_0x49bcc7(0x3b1),!0x1),_0x23a33c(this,_0x49bcc7(0x1b8),void 0x0),_0x23a33c(this,'_activeShapeModel',void 0x0),_0x23a33c(this,_0x49bcc7(0x3e4),void 0x0),_0x23a33c(this,'_adjHandlerPointerUp',void 0x0),this[_0x49bcc7(0x292)](),this['_registerDrawingTransformHandler']();}[_0x44da2a(0x21b)](){const _0x3604f2=_0x44da2a;this[_0x3604f2(0x2b1)]();}['refreshAdjustControls'](){const _0x85c923=_0x44da2a;this[_0x85c923(0x3f5)](!0x0);}[_0x44da2a(0x3f6)](_0x456bd0,_0x2bb67f,_0x3c4592){const _0x5e76ac=_0x44da2a;var _0x5b5528;return(_0x5b5528=this['_docsShapeService'][_0x5e76ac(0x325)](_0x456bd0,_0x2bb67f,_0x3c4592))==null?void 0x0:_0x5b5528['getDrawingPoints']();}[_0x44da2a(0x1d0)](_0x585366,_0x517fa2,_0x8a21df,_0x1b1006){const _0x3e0a48=_0x44da2a;var _0xbb203;return(_0xbb203=this[_0x3e0a48(0x254)][_0x3e0a48(0x325)](_0x585366,_0x517fa2,_0x8a21df))==null?void 0x0:_0xbb203[_0x3e0a48(0x3f2)](_0x1b1006);}[_0x44da2a(0x3a3)](){const _0x751b6a=_0x44da2a;return this['_unitId']===null||this[_0x751b6a(0x1c3)]===null||this[_0x751b6a(0x2cf)]===null?null:this[_0x751b6a(0x201)]['getDrawingByParam']({'unitId':this['_unitId'],'subUnitId':this[_0x751b6a(0x1c3)],'drawingId':this[_0x751b6a(0x2cf)]})??null;}[_0x44da2a(0x388)](_0x2e7af9){const _0x5f0447=_0x44da2a;if(this[_0x5f0447(0x178)]===null||this[_0x5f0447(0x1c3)]===null||this[_0x5f0447(0x2cf)]===null)return null;let _0x18a3d9=(0x0,_0x48b930[_0x5f0447(0x2a0)])({'unitId':this[_0x5f0447(0x178)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x5f0447(0x2cf)]}),_0x496996=_0x2e7af9[_0x5f0447(0x33e)](_0x18a3d9);return _0x496996 instanceof _0x174cb7?_0x496996:null;}[_0x44da2a(0x3f1)](_0xb144a9=!0x1){const _0x1eb4dc=_0x44da2a;if(this[_0x1eb4dc(0x178)]===null||this['_subUnitId']===null||this[_0x1eb4dc(0x2cf)]===null)return;let _0x13177a=this[_0x1eb4dc(0x3a3)]();if((_0x13177a==null?void 0x0:_0x13177a[_0x1eb4dc(0x408)])!==_0x199bc9[_0x1eb4dc(0x1d9)][_0x1eb4dc(0x418)]||!_0x13177a[_0x1eb4dc(0x37c)])return;let _0x334fa7=this[_0x1eb4dc(0x254)][_0x1eb4dc(0x325)](this[_0x1eb4dc(0x178)],this[_0x1eb4dc(0x1c3)],this[_0x1eb4dc(0x2cf)]);if(!_0x334fa7||_0x334fa7[_0x1eb4dc(0x3c1)]())return;let {left:_0x5afd88=0x0,top:_0xe229f4=0x0,width:_0x415a58=0x0,height:_0x46927b=0x0,flipX:_0x2269b1,flipY:_0x8e0412,angle:_0x56612d=0x0}=_0x13177a[_0x1eb4dc(0x37c)];(_0xb144a9||!this['_activeShapeAdjustPointList'])&&(_0x334fa7[_0x1eb4dc(0x21c)]({'width':_0x415a58,'height':_0x46927b}),this['_activeShapeAdjustPointList']=_0x334fa7['getDrawingPoints']());let _0x4f20ec=this[_0x1eb4dc(0x3a5)];if(!(_0x4f20ec!=null&&_0x4f20ec[_0x1eb4dc(0x268)]))return;let {scene:_0x150776}=this[_0x1eb4dc(0x28a)];for(let _0x2b4b72 of _0x4f20ec){let _0xce0631=this[_0x1eb4dc(0x269)](_0x2b4b72,_0x415a58,_0x46927b,!!_0x2269b1,!!_0x8e0412,_0x56612d);this['_addShapeAdjustControl'](_0x150776,_0xce0631,_0xce0631[_0x1eb4dc(0x3ff)],_0x5afd88,_0xe229f4,this['_unitId'],this[_0x1eb4dc(0x1c3)]);}}['_toVisualAdjustPoint'](_0x203a9d,_0x5be820,_0x1cfee5,_0x89acd8,_0x44c379,_0x23d884){const _0x397a95=_0x44da2a;let _0x1736a2=_0x203a9d['x'],_0x417ba6=_0x203a9d['y'];if(_0x89acd8&&(_0x1736a2=_0x5be820-_0x1736a2),_0x44c379&&(_0x417ba6=_0x1cfee5-_0x417ba6),_0x23d884!==0x0){let _0x83ea91=_0x5be820/0x2,_0x43677b=_0x1cfee5/0x2,_0x2d60a8=_0x23d884*Math['PI']/0xb4,_0x1d91fe=Math['cos'](_0x2d60a8),_0x198cb2=Math[_0x397a95(0x15d)](_0x2d60a8),_0x1c4f3d=_0x1736a2-_0x83ea91,_0x1875d1=_0x417ba6-_0x43677b;_0x1736a2=_0x83ea91+(_0x1c4f3d*_0x1d91fe-_0x1875d1*_0x198cb2),_0x417ba6=_0x43677b+(_0x1c4f3d*_0x198cb2+_0x1875d1*_0x1d91fe);}return{'x':_0x1736a2,'y':_0x417ba6,'adjName':_0x203a9d[_0x397a95(0x3ff)]};}['_updateShapeAdjustControls'](_0x2ddfd9=!0x1){const _0x529911=_0x44da2a;_0x2ddfd9&&this['_clearShapeAdjustControls'](),this[_0x529911(0x3f1)](_0x2ddfd9);}[_0x44da2a(0x365)](_0x2c1b72,_0x3517f3,_0x5343dd,_0x1dec40,_0x902085,_0x510489,_0x308e6d){const _0x33ef91=_0x44da2a;if(!this[_0x33ef91(0x2cf)])return;let _0x1de65f=_0x33ef91(0x370)+this[_0x33ef91(0x2cf)]+'-'+_0x5343dd,_0x43d868=_0x2c1b72[_0x33ef91(0x33e)](_0x1de65f);if(_0x43d868){_0x43d868[_0x33ef91(0x26e)]({'left':_0x3517f3['x']+_0x1dec40-_0x2d5ae1['ShapeDefaultConfig'][_0x33ef91(0x2d7)],'top':_0x3517f3['y']+_0x902085-_0x2d5ae1['ShapeDefaultConfig'][_0x33ef91(0x2d7)]}),_0x43d868[_0x33ef91(0x155)](!0x0);return;}let _0x5cf56c=new _0x5d0a63(_0x1de65f,{'left':_0x3517f3['x']+_0x1dec40-_0x2d5ae1['ShapeDefaultConfig'][_0x33ef91(0x2d7)],'top':_0x3517f3['y']+_0x902085-_0x2d5ae1[_0x33ef91(0x3d2)]['adjHandleSize'],'adjName':_0x5343dd,'shapeId':this['_activeShapeId'],'unitId':_0x510489,'subUnitId':_0x308e6d,'width':_0x2d5ae1['ShapeDefaultConfig']['adjHandleSize']+0x8,'height':_0x2d5ae1[_0x33ef91(0x3d2)][_0x33ef91(0x2d7)]+0x8,'zIndex':_0x4bd9c2[_0x33ef91(0x1c8)]+0x1,'evented':!0x0});this['_adjustPointObjects'][_0x33ef91(0x34b)](_0x5cf56c),this[_0x33ef91(0x227)](_0x5cf56c,_0x2c1b72,_0x5343dd),_0x2c1b72['addObject'](_0x5cf56c,_0x4bd9c2[_0x33ef91(0x1c8)]+0x1);}['_clearShapeAdjustControls'](){const _0x4f3361=_0x44da2a;this[_0x4f3361(0x1e3)][_0x4f3361(0x3c9)](_0x473488=>_0x473488[_0x4f3361(0x396)]()),this[_0x4f3361(0x1e3)]=[];}[_0x44da2a(0x298)](){this['_createShapeAdjustControls']();}['_toScenePoint'](_0x3ce5ce,_0x584331,_0x53ad6){const _0x755cf=_0x44da2a;let _0x2254e4=_0x4bd9c2['Vector2']['FromArray']([_0x584331,_0x53ad6]),_0x506b90=_0x3ce5ce['getActiveViewportByCoord'](_0x2254e4)??_0x3ce5ce[_0x755cf(0x22f)]()[0x0];return(_0x506b90==null?void 0x0:_0x506b90[_0x755cf(0x21e)](_0x2254e4))??_0x2254e4;}['_attachAdjustEvent'](_0x352afd,_0x3dc777,_0x28a0fa){const _0x4f8a47=_0x44da2a;this[_0x4f8a47(0x19c)]((0x0,_0x199bc9[_0x4f8a47(0x38b)])(_0x352afd[_0x4f8a47(0x293)]['subscribeEvent']((_0x127a76,_0x15b589)=>{const _0x6a4ea1=_0x4f8a47;var _0x6be5e0;let _0x59ebf0=_0x352afd[_0x6a4ea1(0x3f4)]();this[_0x6a4ea1(0x1b8)]=this[_0x6a4ea1(0x1d0)](_0x59ebf0[_0x6a4ea1(0x1e0)],_0x59ebf0[_0x6a4ea1(0x3d5)],_0x59ebf0[_0x6a4ea1(0x3a1)],_0x28a0fa),this['_activeShapeModel']=this[_0x6a4ea1(0x254)][_0x6a4ea1(0x325)](_0x59ebf0[_0x6a4ea1(0x1e0)],_0x59ebf0[_0x6a4ea1(0x3d5)],_0x59ebf0[_0x6a4ea1(0x3a1)]);let _0x1c4a36=this[_0x6a4ea1(0x3a3)](),_0x2a280a=_0x1c4a36==null?void 0x0:_0x1c4a36['transform'];if(!_0x1c4a36||!_0x2a280a||!this[_0x6a4ea1(0x3d1)])return;this[_0x6a4ea1(0x1d4)]=_0x2a280a[_0x6a4ea1(0x40d)]||0x0,this['_baseShapeTop']=_0x2a280a[_0x6a4ea1(0x22e)]||0x0,this[_0x6a4ea1(0x18b)]=_0x2a280a[_0x6a4ea1(0x25c)]||0x0,this[_0x6a4ea1(0x361)]=_0x2a280a[_0x6a4ea1(0x2a2)]||0x0;let _0x949a9f=!!_0x2a280a[_0x6a4ea1(0x2d5)],_0x397984=!!_0x2a280a[_0x6a4ea1(0x1fb)],_0x500140=_0x2a280a[_0x6a4ea1(0x3e0)]||0x0,_0x47aad1={...((_0x6be5e0=this['_activeAdjustInfo'])==null?void 0x0:_0x6be5e0[_0x6a4ea1(0x30b)])??{}};this[_0x6a4ea1(0x166)]=!0x0,_0x3dc777[_0x6a4ea1(0x3ab)](),this[_0x6a4ea1(0x3e4)]=_0x3dc777[_0x6a4ea1(0x1b0)][_0x6a4ea1(0x400)]((_0x379da3,_0x41de84)=>{const _0x3f508f=_0x6a4ea1;var _0x3a0045;if(!this[_0x3f508f(0x166)]||!this[_0x3f508f(0x3d1)]||!this['_activeAdjustInfo'])return;_0x3dc777[_0x3f508f(0x3ab)](),_0x3dc777[_0x3f508f(0x2f7)](_0x4bd9c2[_0x3f508f(0x3ce)]['CROSSHAIR']);let _0x3406d2=this[_0x3f508f(0x1e9)](_0x3dc777,_0x379da3[_0x3f508f(0x2ca)],_0x379da3['offsetY']),_0x49de89=_0x3406d2['x']-this[_0x3f508f(0x1d4)],_0x4c67f9=_0x3406d2['y']-this[_0x3f508f(0x16e)];if(_0x500140!==0x0){let _0xe94d5e=this[_0x3f508f(0x18b)]/0x2,_0x32c902=this[_0x3f508f(0x361)]/0x2,_0x29ecdd=_0x500140*Math['PI']/0xb4,_0x2f9a4f=Math[_0x3f508f(0x323)](_0x29ecdd),_0x5ff9f5=Math['sin'](_0x29ecdd),_0xde52dd=_0x49de89-_0xe94d5e,_0x486860=_0x4c67f9-_0x32c902;_0x49de89=_0xe94d5e+(_0xde52dd*_0x2f9a4f+_0x486860*_0x5ff9f5),_0x4c67f9=_0x32c902+(-_0xde52dd*_0x5ff9f5+_0x486860*_0x2f9a4f);}_0x949a9f&&(_0x49de89=this[_0x3f508f(0x18b)]-_0x49de89),_0x397984&&(_0x4c67f9=this['_baseShapeHeight']-_0x4c67f9);let _0x306834={'left':0x0,'top':0x0,'width':this['_baseShapeWidth'],'height':this[_0x3f508f(0x361)]},_0x4c2504=this[_0x3f508f(0x3d1)][_0x3f508f(0x259)](_0x306834,{'x':_0x49de89,'y':_0x4c67f9},this[_0x3f508f(0x1b8)],_0x949a9f,_0x397984);if(Object[_0x3f508f(0x398)](_0x4c2504)[_0x3f508f(0x268)]!==0x0){for(let [_0xacdf8f,_0x3e6522]of Object[_0x3f508f(0x2bc)](_0x4c2504))this[_0x3f508f(0x3d1)][_0x3f508f(0x1a8)](_0xacdf8f,_0x3e6522);this[_0x3f508f(0x3d1)][_0x3f508f(0x21c)]({'width':this[_0x3f508f(0x18b)],'height':this[_0x3f508f(0x361)]}),(_0x3a0045=this['_getActiveDrawingShape'](_0x3dc777))==null||_0x3a0045[_0x3f508f(0x155)](!0x0),this[_0x3f508f(0x3a5)]=this[_0x3f508f(0x3f6)](_0x59ebf0[_0x3f508f(0x1e0)],_0x59ebf0[_0x3f508f(0x3d5)],_0x59ebf0['drawingId']),this[_0x3f508f(0x298)](),_0x41de84[_0x3f508f(0x177)]();}}),this['_adjHandlerPointerUp']=_0x3dc777[_0x6a4ea1(0x23b)][_0x6a4ea1(0x400)]((_0x100540,_0x14a2ea)=>{const _0x2badde=_0x6a4ea1;var _0xea8506,_0x3d237f;(_0xea8506=this[_0x2badde(0x3e4)])==null||_0xea8506['unsubscribe'](),(_0x3d237f=this['_adjHandlerPointerUp'])==null||_0x3d237f[_0x2badde(0x3c3)](),_0x3dc777[_0x2badde(0x2f6)]();let _0x444f22=this[_0x2badde(0x1b8)];if(_0x444f22&&this[_0x2badde(0x3d1)]){let _0xdd4fdc={};for(let _0x4b2a41 of Object[_0x2badde(0x398)](_0x444f22['currentAdjustValues'])){let _0x5ec669=this[_0x2badde(0x3d1)][_0x2badde(0x34e)](_0x4b2a41);_0x5ec669!==void 0x0&&(_0xdd4fdc[_0x4b2a41]=_0x5ec669);}Object['keys'](_0xdd4fdc)[_0x2badde(0x268)]>0x0&&_0x5d636b(this[_0x2badde(0x3f3)],_0x59ebf0[_0x2badde(0x1e0)],_0x59ebf0[_0x2badde(0x3d5)],_0x59ebf0[_0x2badde(0x3a1)],{'oldShapeData':{'adjustValues':_0x47aad1}},{'adjustValues':_0xdd4fdc});}this[_0x2badde(0x1b8)]=void 0x0,this[_0x2badde(0x3d1)]=void 0x0,this['_isStartAdjusting']=!0x1,_0x3dc777[_0x2badde(0x1ce)](),_0x14a2ea[_0x2badde(0x177)]();}),_0x15b589['stopPropagation']();})));}[_0x44da2a(0x174)](){const _0x3e0dd8=_0x44da2a;let {scene:_0xee2ec3}=this[_0x3e0dd8(0x28a)],_0x3efd88=_0xee2ec3[_0x3e0dd8(0x208)]();this[_0x3e0dd8(0x19c)](_0x3efd88[_0x3e0dd8(0x2e8)][_0x3e0dd8(0x311)](_0x5cc2e0=>{const _0x50dfac=_0x3e0dd8;this['_createShapeAdjustControls'](),_0x5cc2e0[_0x50dfac(0x3dd)]!==null&&_0x5cc2e0['objects']['size']===0x1&&_0x5cc2e0[_0x50dfac(0x3dd)][_0x50dfac(0x291)]()[_0x50dfac(0x2a9)]()['value']instanceof _0x174cb7&&(this[_0x50dfac(0x3b1)]=!0x0);})),this[_0x3e0dd8(0x19c)](_0x3efd88[_0x3e0dd8(0x1bc)][_0x3e0dd8(0x311)](()=>{const _0x49a36f=_0x3e0dd8;this[_0x49a36f(0x3b1)]&&this[_0x49a36f(0x2b1)]();})),this[_0x3e0dd8(0x19c)](_0xee2ec3[_0x3e0dd8(0x23b)][_0x3e0dd8(0x400)](()=>{const _0x386f36=_0x3e0dd8;this[_0x386f36(0x3b1)]&&(this[_0x386f36(0x3b1)]=!0x1,this['_createShapeAdjustControls']());})),this[_0x3e0dd8(0x19c)](_0x3efd88[_0x3e0dd8(0x187)][_0x3e0dd8(0x311)](()=>{const _0x54dc35=_0x3e0dd8;this[_0x54dc35(0x178)]&&this[_0x54dc35(0x1c3)]&&this[_0x54dc35(0x2cf)]&&(this['_activeShapeAdjustPointList']=this[_0x54dc35(0x3f6)](this[_0x54dc35(0x178)],this[_0x54dc35(0x1c3)],this[_0x54dc35(0x2cf)]),this[_0x54dc35(0x298)]());}));}[_0x44da2a(0x292)](){const _0x402047=_0x44da2a;this[_0x402047(0x19c)](this[_0x402047(0x3f3)]['onCommandExecuted'](_0x1b1975=>{const _0x128a5a=_0x402047;if(_0x1b1975['id']!==_0x397c2d[_0x128a5a(0x29e)]['id'])return;let {unitId:_0x3a951d,shapeId:_0x58887c}=_0x1b1975[_0x128a5a(0x2f9)];_0x3a951d===this[_0x128a5a(0x178)]&&_0x58887c===this[_0x128a5a(0x2cf)]&&this[_0x128a5a(0x3bb)]();})),this[_0x402047(0x19c)](this[_0x402047(0x201)]['focus$'][_0x402047(0x311)](_0x4055b7=>{const _0x4abdc5=_0x402047;if(_0x4055b7[_0x4abdc5(0x268)]===0x1){let _0x25926b=_0x4055b7[0x0],_0x4e0ab9=this[_0x4abdc5(0x201)]['getDrawingByParam'](_0x25926b);if((_0x4e0ab9==null?void 0x0:_0x4e0ab9[_0x4abdc5(0x408)])===_0x199bc9[_0x4abdc5(0x1d9)][_0x4abdc5(0x418)]){this[_0x4abdc5(0x2cf)]=_0x25926b[_0x4abdc5(0x3a1)],this[_0x4abdc5(0x178)]=_0x25926b[_0x4abdc5(0x1e0)],this['_subUnitId']=_0x25926b[_0x4abdc5(0x3d5)],this[_0x4abdc5(0x3a5)]=this['_getShapeAdjustPointListById'](_0x25926b[_0x4abdc5(0x1e0)],_0x25926b[_0x4abdc5(0x3d5)],_0x25926b[_0x4abdc5(0x3a1)]),this['_clearShapeAdjustControls'](),this[_0x4abdc5(0x3f1)]();return;}}this['_activeShapeId']=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x4abdc5(0x178)]=null,this[_0x4abdc5(0x1c3)]=null,this[_0x4abdc5(0x2b1)]();})),this[_0x402047(0x19c)]((0x0,_0x259d9f[_0x402047(0x29a)])(this[_0x402047(0x201)][_0x402047(0x2d9)],this[_0x402047(0x201)]['refreshTransform$'])[_0x402047(0x311)](_0x127bfa=>{const _0x11aad2=_0x402047;var _0x5f24d3;let _0x2fed14=_0x127bfa[_0x11aad2(0x1da)](_0x46d3ea=>_0x46d3ea[_0x11aad2(0x3a1)]===this[_0x11aad2(0x2cf)]&&_0x46d3ea[_0x11aad2(0x1e0)]===this['_unitId']&&_0x46d3ea['subUnitId']===this[_0x11aad2(0x1c3)]);_0x2fed14&&((_0x5f24d3=this['_drawingManagerService'][_0x11aad2(0x302)](_0x2fed14))==null?void 0x0:_0x5f24d3['drawingType'])===_0x199bc9[_0x11aad2(0x1d9)][_0x11aad2(0x418)]&&this[_0x11aad2(0x3f5)](!0x0);})),this[_0x402047(0x19c)](this['_drawingManagerService'][_0x402047(0x205)][_0x402047(0x311)](_0x4c3128=>{const _0x297cff=_0x402047;for(let _0x1b8915 of _0x4c3128)this[_0x297cff(0x2cf)]===_0x1b8915['drawingId']&&(this[_0x297cff(0x2cf)]=null,this[_0x297cff(0x3a5)]=void 0x0,this['_unitId']=null,this['_subUnitId']=null,this[_0x297cff(0x2b1)]());}));}};_0x5df118=_0x5e6390([_0x57fca7(0x1,_0x48b930[_0x44da2a(0x3be)]),_0x57fca7(0x2,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x397c2d[_0x44da2a(0x197)])),_0x57fca7(0x3,_0x199bc9[_0x44da2a(0x250)])],_0x5df118);function _0x41246c(_0x514131){const _0x46e4da=_0x44da2a;return _0x514131[_0x46e4da(0x2a1)]===!0x0||_0x514131[_0x46e4da(0x2a1)]===_0x199bc9[_0x46e4da(0x1f1)][_0x46e4da(0x283)]||_0x514131[_0x46e4da(0x1e1)]===_0x199bc9[_0x46e4da(0x1ff)]['WRAP_NONE']&&_0x514131[_0x46e4da(0x18e)]===_0x199bc9[_0x46e4da(0x1f1)][_0x46e4da(0x283)]?_0xadaed7['DOCS_COMPONENT_MAIN_LAYER_INDEX']-0x1:_0x4bd9c2[_0x46e4da(0x1c8)];}let _0x2fc97f=class extends _0x199bc9[_0x44da2a(0x196)]{constructor(_0x3664ce,_0x2623e1,_0x28a374,_0x2e58d3,_0x54e77b,_0xbf2ac1,_0x3c8010){const _0x75a3a9=_0x44da2a;super(),this[_0x75a3a9(0x201)]=_0x3664ce,this['_docsShapeService']=_0x2623e1,this[_0x75a3a9(0x3ad)]=_0x28a374,this[_0x75a3a9(0x27e)]=_0x2e58d3,this[_0x75a3a9(0x2df)]=_0x54e77b,this['_shapeTextEditingService']=_0xbf2ac1,this['_shapeFormulaService']=_0x3c8010,_0x23a33c(this,_0x75a3a9(0x265),new Map()),this[_0x75a3a9(0x19c)](this[_0x75a3a9(0x364)][_0x75a3a9(0x16a)][_0x75a3a9(0x311)](_0x21dee2=>{const _0x4e2fb8=_0x75a3a9;var _0x54edcf;(_0x54edcf=this['_formulaShapes'][_0x4e2fb8(0x41e)](this[_0x4e2fb8(0x326)](_0x21dee2[_0x4e2fb8(0x1e0)],_0x21dee2['subUnitId'],_0x21dee2[_0x4e2fb8(0x195)])))==null||_0x54edcf[_0x4e2fb8(0x3c9)](_0x190a6a=>_0x190a6a[_0x4e2fb8(0x3ac)](_0x21dee2[_0x4e2fb8(0x385)],_0x21dee2[_0x4e2fb8(0x184)]));})),this['disposeWithMe'](this['_drawingManagerService'][_0x75a3a9(0x205)][_0x75a3a9(0x311)](_0x1e9769=>{const _0x51611b=_0x75a3a9;_0x1e9769[_0x51611b(0x3c9)](_0x360130=>{const _0x1d753b=_0x51611b;this['_shapeFormulaService'][_0x1d753b(0x35c)]({'unitId':_0x360130[_0x1d753b(0x1e0)],'subUnitId':_0x360130[_0x1d753b(0x3d5)],'shapeId':_0x360130['drawingId']}),this['_formulaShapes'][_0x1d753b(0x324)](this['_formulaKey'](_0x360130[_0x1d753b(0x1e0)],_0x360130[_0x1d753b(0x3d5)],_0x360130[_0x1d753b(0x3a1)]));});}));}[_0x44da2a(0x1f9)](_0xc23a2c,_0x560157){const _0x25b2a7=_0x44da2a;let {transform:_0x2be245,drawingType:_0xa1ebd0,srcRect:_0x7375dd,prstGeom:_0x1bdc23,groupId:_0x582f57,unitId:_0x3d8114,subUnitId:_0x3f008b,drawingId:_0x1f8d0d,isMultiTransform:_0x5ac5bb,transforms:_0x5e9ac2,hidden:_0x1b7043,selectable:_0x18a286}=_0xc23a2c;if(_0xa1ebd0!==_0x199bc9[_0x25b2a7(0x1d9)][_0x25b2a7(0x418)]||!this['_drawingManagerService'][_0x25b2a7(0x33f)]()||_0x2be245==null)return;let _0x19ea38=this['_drawingManagerService'][_0x25b2a7(0x162)]();_0x19ea38&&_0x560157['initTransformer'](_0x477995['SHAPE_EDITOR_TRANSFORMER_CONFIG']);let _0x2a5b09=_0x5ac5bb&&_0x5e9ac2?_0x5e9ac2:[_0x2be245],_0x4b0e35=[];for(let _0x1661b7 of _0x2a5b09){let {left:_0x5652a4,top:_0x280538,width:_0x34bad0,height:_0x398b8e,angle:_0x158819,flipX:_0x18389c,flipY:_0x2cb7b9,skewX:_0x48e444,skewY:_0x4c1514}=_0x1661b7,_0x5f1922=_0x2a5b09[_0x25b2a7(0x411)](_0x1661b7),_0x7d9ef9=(0x0,_0x48b930['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x3d8114,'subUnitId':_0x3f008b,'drawingId':_0x1f8d0d},_0x5ac5bb?_0x5f1922:void 0x0),_0x1d4ec4=_0x560157['getObjectIncludeInGroup'](_0x7d9ef9);if(_0x1d4ec4!=null){let _0x2e39d6={'unitId':_0x3d8114,'subUnitId':_0x3f008b,'shapeId':_0x1f8d0d};_0x1d4ec4 instanceof _0x174cb7&&this['refreshFormulaPresentation'](_0x1d4ec4,_0x2e39d6),_0x1d4ec4[_0x25b2a7(0x26e)]({'left':_0x5652a4,'top':_0x280538,'width':_0x34bad0,'height':_0x398b8e,'angle':_0x158819,'flipX':_0x18389c,'flipY':_0x2cb7b9,'skewX':_0x48e444,'skewY':_0x4c1514});continue;}let _0x65b1ab=this[_0x25b2a7(0x201)]['getDrawingOrder'](_0x3d8114,_0x3f008b),_0x16a7a4=_0x65b1ab[_0x25b2a7(0x411)](_0x1f8d0d);if(_0x560157[_0x25b2a7(0x33e)](_0x7d9ef9)||!this['_drawingManagerService'][_0x25b2a7(0x33f)]())continue;let _0x3b6f8f=this[_0x25b2a7(0x254)][_0x25b2a7(0x325)](_0x3d8114,_0x3f008b,_0x1f8d0d);if(!_0x3b6f8f)continue;let _0x56f77d=(0x0,_0x2d5ae1[_0x25b2a7(0x34a)])(_0x3b6f8f[_0x25b2a7(0x2cd)]()),_0x3745e0=_0x3b6f8f[_0x25b2a7(0x30e)]()[_0x25b2a7(0x2c7)],_0x1cc373={'unitId':_0x3d8114,'subUnitId':_0x3f008b,'shapeId':_0x1f8d0d};_0x3745e0&&this[_0x25b2a7(0x364)][_0x25b2a7(0x230)](_0x1cc373,_0x3745e0);let _0x2430f7=new _0x174cb7(_0x7d9ef9,{..._0x56f77d?{..._0x1661b7,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x1661b7},'zIndex':_0x16a7a4===-0x1?_0x65b1ab[_0x25b2a7(0x268)]-0x1:_0x16a7a4,'shapeModel':_0x3b6f8f,'localeService':this['_localeService'],'shapeId':_0x1f8d0d,'unitId':_0x3d8114,'subUnitId':_0x3f008b,'visible':_0x1b7043!==!0x0,'evented':_0x18a286!==!0x1,'formulaPresentation':_0x3745e0?this[_0x25b2a7(0x364)][_0x25b2a7(0x34f)](_0x1cc373):void 0x0,'animateFormulaPresentation':(_0x3745e0==null?void 0x0:_0x3745e0[_0x25b2a7(0x184)])!==!0x1});if(_0x3745e0){let _0x5d90d3=this['_formulaKey'](_0x3d8114,_0x3f008b,_0x1f8d0d),_0x3fa7aa=this[_0x25b2a7(0x265)][_0x25b2a7(0x41e)](_0x5d90d3)??new Set();_0x3fa7aa[_0x25b2a7(0x3d7)](_0x2430f7),this['_formulaShapes']['set'](_0x5d90d3,_0x3fa7aa);}this[_0x25b2a7(0x19c)]((0x0,_0x199bc9[_0x25b2a7(0x38b)])(_0x2430f7['onDblclick$']['subscribeEvent']((_0x1fc9ce,_0x5253fa)=>{const _0x456267=_0x25b2a7;_0x3b6f8f[_0x456267(0x3c1)]()||_0x3745e0||(this['_shapeTextEditingService'][_0x456267(0x1e5)]({'visible':!0x0,'unitId':_0x3d8114,'subUnitId':_0x3f008b,'shapeId':_0x1f8d0d,'shapeKey':_0x2430f7[_0x456267(0x377)]}),_0x5253fa[_0x456267(0x177)]());}))),_0x560157['addObject'](_0x2430f7,_0x41246c(_0xc23a2c)),_0x19ea38&&_0x560157['attachTransformerTo'](_0x2430f7),_0x582f57&&(0x0,_0x1a42e8['insertGroupObject'])({'drawingId':_0x582f57,'unitId':_0x3d8114,'subUnitId':_0x3f008b},_0x2430f7,_0x560157,this['_drawingManagerService']),_0x1bdc23!=null&&_0x2430f7[_0x25b2a7(0x3bf)](_0x1bdc23),_0x7375dd!=null&&_0x2430f7[_0x25b2a7(0x1d7)](_0x7375dd),this['_loadShapePictureFill'](_0x2430f7,_0x3b6f8f['getShapeData']()),_0x4b0e35[_0x25b2a7(0x34b)](_0x2430f7);}return _0x4b0e35;}['_formulaKey'](_0x106597,_0x32800d,_0x264659){return _0x106597+'\x00'+_0x32800d+'\x00'+_0x264659;}['refreshFormulaPresentation'](_0x5447c8,_0x33aede){const _0x5ec6b4=_0x44da2a;let _0x1cc25c=this['_docsShapeService']['getShapeModel'](_0x33aede['unitId'],_0x33aede[_0x5ec6b4(0x3d5)],_0x33aede[_0x5ec6b4(0x195)]),_0x320111=_0x1cc25c==null?void 0x0:_0x1cc25c['getShapeData']()[_0x5ec6b4(0x2c7)],_0x6171b7=this[_0x5ec6b4(0x326)](_0x33aede['unitId'],_0x33aede['subUnitId'],_0x33aede['shapeId']);if(_0x320111){this[_0x5ec6b4(0x364)][_0x5ec6b4(0x230)](_0x33aede,_0x320111);let _0x301550=this[_0x5ec6b4(0x265)][_0x5ec6b4(0x41e)](_0x6171b7)??new Set();_0x301550[_0x5ec6b4(0x3d7)](_0x5447c8),this[_0x5ec6b4(0x265)][_0x5ec6b4(0x1a0)](_0x6171b7,_0x301550);}else{var _0x39b03d;this[_0x5ec6b4(0x364)][_0x5ec6b4(0x35c)](_0x33aede),(_0x39b03d=this[_0x5ec6b4(0x265)][_0x5ec6b4(0x41e)](_0x6171b7))==null||_0x39b03d[_0x5ec6b4(0x324)](_0x5447c8);}_0x5447c8['setFormulaPresentation'](_0x320111?this[_0x5ec6b4(0x364)][_0x5ec6b4(0x34f)](_0x33aede):void 0x0,(_0x320111==null?void 0x0:_0x320111[_0x5ec6b4(0x184)])!==!0x1);}[_0x44da2a(0x1ca)](_0x20ca64){const _0x2ff3aa=_0x44da2a;let _0x36248f=_0x20ca64[_0x2ff3aa(0x355)]['getShapeData'](),_0x529cb0=_0x36248f[_0x2ff3aa(0x1c7)];if(!_0x529cb0||_0x529cb0[_0x2ff3aa(0x30a)]!==_0x2d5ae1[_0x2ff3aa(0x179)][_0x2ff3aa(0x2fb)]||!_0x529cb0[_0x2ff3aa(0x336)]){_0x20ca64[_0x2ff3aa(0x24f)](void 0x0);return;}this['_loadShapePictureFill'](_0x20ca64,_0x36248f);}[_0x44da2a(0x419)](_0x44fffa,_0x2c1643){const _0x3b4eef=_0x44da2a;let _0x203c24=_0x2c1643[_0x3b4eef(0x1c7)];if(!_0x203c24||_0x203c24[_0x3b4eef(0x30a)]!==_0x2d5ae1[_0x3b4eef(0x179)][_0x3b4eef(0x2fb)]||!_0x203c24[_0x3b4eef(0x336)])return;let _0x11a96d=_0x203c24['fillImageSource'],_0x33ae10=_0x203c24[_0x3b4eef(0x20d)]??_0x2d5ae1['ImageSourceTypeEnum']['URL'],_0x31ae44=this[_0x3b4eef(0x27e)][_0x3b4eef(0x249)](_0x11a96d,_0x33ae10);if(_0x31ae44){_0x44fffa[_0x3b4eef(0x24f)](_0x31ae44);return;}this[_0x3b4eef(0x25f)](_0x44fffa,_0x11a96d,_0x33ae10);}async[_0x44da2a(0x25f)](_0x3b670a,_0x68f666,_0x1158f5){const _0x6f6761=_0x44da2a;let _0x58ea2d;try{if(_0x1158f5===_0x2d5ae1[_0x6f6761(0x182)][_0x6f6761(0x220)])_0x58ea2d=await this[_0x6f6761(0x27e)][_0x6f6761(0x40f)](_0x68f666);else{if(_0x1158f5===_0x2d5ae1[_0x6f6761(0x182)]['URL'])try{_0x58ea2d=await this[_0x6f6761(0x2df)][_0x6f6761(0x40f)](_0x68f666);}catch{_0x58ea2d=_0x68f666;}else _0x58ea2d=_0x68f666;}}catch(_0x4692c4){console[_0x6f6761(0x1eb)](_0x6f6761(0x270),_0x4692c4);return;}let _0x467e65=new window[(_0x6f6761(0x40b))]();_0x467e65[_0x6f6761(0x360)]=()=>{const _0x58e505=_0x6f6761;this[_0x58e505(0x27e)]['addImageSourceCache'](_0x68f666,_0x1158f5,_0x467e65),_0x3b670a[_0x58e505(0x24f)](_0x467e65);},_0x467e65['onerror']=()=>{const _0x441cf8=_0x6f6761;console[_0x441cf8(0x1eb)](_0x441cf8(0x2d1),_0x68f666);},_0x467e65[_0x6f6761(0x3ee)]=_0x58ea2d;}};_0x2fc97f=_0x5e6390([_0x57fca7(0x0,_0x48b930[_0x44da2a(0x3be)]),_0x57fca7(0x1,(0x0,_0x199bc9['Inject'])(_0x397c2d[_0x44da2a(0x197)])),_0x57fca7(0x2,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x199bc9['LocaleService'])),_0x57fca7(0x3,_0x199bc9[_0x44da2a(0x372)]),_0x57fca7(0x4,_0x199bc9[_0x44da2a(0x414)]),_0x57fca7(0x5,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x3ec044)),_0x57fca7(0x6,(0x0,_0x199bc9['Inject'])(_0x377eec['ShapeFormulaService']))],_0x2fc97f);let _0x1c346e=_0x44da2a(0x18c),_0x56bc28=class extends _0x199bc9['Disposable']{constructor(_0x3e6de8,_0x1fd062,_0xab340b,_0x10816f,_0x26b136,_0x271ecb){const _0x4d56ac=_0x44da2a;super(),this['_menuManagerService']=_0x3e6de8,this[_0x4d56ac(0x32b)]=_0x1fd062,this[_0x4d56ac(0x201)]=_0xab340b,this[_0x4d56ac(0x3d4)]=_0x10816f,this['_renderManagerService']=_0x26b136,this[_0x4d56ac(0x373)]=_0x271ecb,_0x23a33c(this,_0x4d56ac(0x389),!0x1),this[_0x4d56ac(0x2cb)]['mergeMenu'](_0x4dedef),this['disposeWithMe']((0x0,_0x199bc9[_0x4d56ac(0x38b)])(this['_drawingManagerService']['focus$'][_0x4d56ac(0x311)](()=>this[_0x4d56ac(0x1d5)]()))),this['_update']();}['dispose'](){const _0x135010=_0x44da2a;this[_0x135010(0x373)][_0x135010(0x319)](!0x1,_0x1c346e),this[_0x135010(0x2e7)](),super[_0x135010(0x396)]();}[_0x44da2a(0x1d5)](){const _0x5ce0fc=_0x44da2a;var _0x59a787;let _0x578b9a=this[_0x5ce0fc(0x201)][_0x5ce0fc(0x3f0)](),_0x3476c8=_0x578b9a[_0x5ce0fc(0x268)]===0x1?_0x578b9a[0x0]:void 0x0;if((_0x3476c8==null?void 0x0:_0x3476c8[_0x5ce0fc(0x408)])!==_0x199bc9[_0x5ce0fc(0x1d9)][_0x5ce0fc(0x418)]||this[_0x5ce0fc(0x3d4)]['getUnitType'](_0x3476c8[_0x5ce0fc(0x1e0)])!==_0x199bc9[_0x5ce0fc(0x31a)][_0x5ce0fc(0x171)]){this[_0x5ce0fc(0x373)][_0x5ce0fc(0x319)](!0x1,_0x1c346e),this[_0x5ce0fc(0x2e7)]();return;}let _0x309911=(0x0,_0x477995[_0x5ce0fc(0x35e)])((_0x59a787=this[_0x5ce0fc(0x275)][_0x5ce0fc(0x1cb)](_0x3476c8[_0x5ce0fc(0x1e0)]))==null?void 0x0:_0x59a787[_0x5ce0fc(0x252)][_0x5ce0fc(0x329)]())===_0x5ce0fc(0x2b7);if(this['_shapeFloatingToolbarService']['setFallbackVisible'](_0x309911,_0x1c346e),_0x309911){this['_hide']();return;}this['_visible']||(this[_0x5ce0fc(0x389)]=!0x0,this[_0x5ce0fc(0x32b)][_0x5ce0fc(0x308)](_0x1a1332,{'activate':!0x0}));}[_0x44da2a(0x2e7)](){const _0x5dad18=_0x44da2a;this[_0x5dad18(0x389)]&&(this[_0x5dad18(0x389)]=!0x1,this[_0x5dad18(0x32b)][_0x5dad18(0x2ec)](_0x1a1332),this['_ribbonService'][_0x5dad18(0x1fe)]([]));}};_0x56bc28=_0x5e6390([_0x57fca7(0x0,_0x314b7e[_0x44da2a(0x262)]),_0x57fca7(0x1,_0x314b7e[_0x44da2a(0x2be)]),_0x57fca7(0x2,_0x48b930[_0x44da2a(0x3be)]),_0x57fca7(0x3,_0x199bc9[_0x44da2a(0x3fd)]),_0x57fca7(0x4,_0x4bd9c2['IRenderManagerService']),_0x57fca7(0x5,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x477995[_0x44da2a(0x33b)]))],_0x56bc28);function _0x3214c8(_0x4baec0,_0xa10848){const _0x24563=_0x44da2a;let _0x28e231=_0x4baec0;for(;_0x28e231;){if(_0xa10848(_0x28e231))return _0x28e231;_0x28e231=typeof _0x28e231[_0x24563(0x399)]==_0x24563(0x1f4)?_0x28e231['getParent']():null;}return null;}function _0x52fba1(_0x5b0df3){return _0x3214c8(_0x5b0df3,_0x37c52c=>_0x37c52c instanceof _0x174cb7);}function _0x12b643(_0x2ff7a8){const _0x15f831=_0x44da2a;return(_0x2ff7a8==null?void 0x0:_0x2ff7a8[_0x15f831(0x2c7)])==null;}let _0x335aa8=class extends _0x199bc9[_0x44da2a(0x196)]{constructor(_0xe140e7,_0x268e40,_0x4f1a22,_0x55fc7f,_0x56f2b4){const _0x3d8a5e=_0x44da2a;super(),this[_0x3d8a5e(0x28a)]=_0xe140e7,this['_shapeTextEditingService']=_0x268e40,this['_drawingManagerService']=_0x4f1a22,this[_0x3d8a5e(0x330)]=_0x55fc7f,this[_0x3d8a5e(0x254)]=_0x56f2b4,_0x23a33c(this,_0x3d8a5e(0x36c),null),this[_0x3d8a5e(0x15b)](),this[_0x3d8a5e(0x218)](),this[_0x3d8a5e(0x1ab)]();}[_0x44da2a(0x15b)](){const _0x1e83ea=_0x44da2a;let {scene:_0xe7270d}=this[_0x1e83ea(0x28a)];this[_0x1e83ea(0x19c)](_0xe7270d[_0x1e83ea(0x2b4)][_0x1e83ea(0x400)](_0x4038ec=>{const _0x9fc42b=_0x1e83ea;let {offsetX:_0x1ef9c2,offsetY:_0x2bc78e}=_0x4038ec,_0xf87c8e=_0x4bd9c2['Vector2'][_0x9fc42b(0x3d8)]([_0x1ef9c2,_0x2bc78e]),_0x13c827=_0x52fba1(_0xe7270d['pick'](_0xf87c8e))??this[_0x9fc42b(0x2c0)](_0xf87c8e);if(_0x13c827){let _0x2f0133=this[_0x9fc42b(0x254)]['getShapeModel'](_0x13c827[_0x9fc42b(0x1e0)],_0x13c827[_0x9fc42b(0x3d5)],_0x13c827[_0x9fc42b(0x195)]);if(!_0x2f0133||(0x0,_0x2d5ae1[_0x9fc42b(0x34a)])(_0x2f0133['getShapeType']())||!_0x12b643(_0x2f0133[_0x9fc42b(0x30e)]()))return;this[_0x9fc42b(0x312)][_0x9fc42b(0x1e5)]({'visible':!0x0,'unitId':_0x13c827[_0x9fc42b(0x1e0)],'subUnitId':_0x13c827[_0x9fc42b(0x3d5)],'shapeId':_0x13c827['shapeId'],'shapeKey':_0x13c827[_0x9fc42b(0x377)]});}}));}[_0x44da2a(0x2c0)](_0x40209d){const _0x53a0af=_0x44da2a;let {scene:_0x84bda6}=this[_0x53a0af(0x28a)];return this[_0x53a0af(0x201)][_0x53a0af(0x3f0)]()[_0x53a0af(0x353)](_0x1fa810=>_0x84bda6[_0x53a0af(0x33e)]((0x0,_0x48b930[_0x53a0af(0x2a0)])(_0x1fa810)))['find'](_0x3dd2e9=>_0x3dd2e9 instanceof _0x174cb7&&_0x3dd2e9[_0x53a0af(0x2ab)](_0x40209d))??null;}[_0x44da2a(0x218)](){const _0x44e831=_0x44da2a;this[_0x44e831(0x19c)](this[_0x44e831(0x201)]['focus$']['subscribe'](_0xeb371=>{const _0x366d30=_0x44e831;if(_0xeb371[_0x366d30(0x268)]===0x1){let _0x198855=_0xeb371[0x0],_0x5bf899=this['_drawingManagerService'][_0x366d30(0x302)](_0x198855);if((_0x5bf899==null?void 0x0:_0x5bf899['drawingType'])===_0x199bc9[_0x366d30(0x1d9)][_0x366d30(0x418)]){let _0x50b228=this[_0x366d30(0x312)][_0x366d30(0x3ea)]();if((_0x50b228==null?void 0x0:_0x50b228[_0x366d30(0x195)])===_0x198855[_0x366d30(0x3a1)]&&_0x50b228[_0x366d30(0x243)])return;(0x0,_0x2d5ae1['isConnectorShape'])(this[_0x366d30(0x254)][_0x366d30(0x2cd)](_0x198855[_0x366d30(0x1e0)],_0x198855[_0x366d30(0x3d5)],_0x198855[_0x366d30(0x3a1)]))&&this[_0x366d30(0x312)][_0x366d30(0x1e5)](null);}else this[_0x366d30(0x312)][_0x366d30(0x3ea)]()&&(this['_shapeTextEditingService'][_0x366d30(0x3a9)](!0x0),requestAnimationFrame(()=>{const _0x42c950=_0x366d30;this[_0x42c950(0x312)][_0x42c950(0x1e5)](null);}));}else this[_0x366d30(0x312)][_0x366d30(0x3ea)]()&&(this[_0x366d30(0x312)][_0x366d30(0x3a9)](!0x0),requestAnimationFrame(()=>{const _0x391ea8=_0x366d30;this[_0x391ea8(0x312)][_0x391ea8(0x1e5)](null);}));})),this[_0x44e831(0x19c)](this['_drawingManagerService']['remove$'][_0x44e831(0x311)](_0xf342e6=>{const _0xcf7fa5=_0x44e831;let _0x301561=this[_0xcf7fa5(0x312)][_0xcf7fa5(0x3ea)]();_0x301561&&_0xf342e6[_0xcf7fa5(0x3c2)](_0xf7323e=>_0xf7323e[_0xcf7fa5(0x3a1)]===_0x301561['shapeId'])&&this[_0xcf7fa5(0x312)][_0xcf7fa5(0x1e5)](null);}));}['_initEditingParams'](){const _0xb90bea=_0x44da2a;this[_0xb90bea(0x19c)](this['_shapeTextEditingService'][_0xb90bea(0x25a)][_0xb90bea(0x311)](_0x1f6bf6=>{const _0x2fb48e=_0xb90bea;let {scene:_0xdfbabb}=this[_0x2fb48e(0x28a)];if(this[_0x2fb48e(0x36c)]){let _0x328fed=_0xdfbabb[_0x2fb48e(0x33e)](this[_0x2fb48e(0x36c)]);_0x328fed&&_0x328fed[_0x2fb48e(0x1e5)](!0x1);}if(_0x1f6bf6){let _0x10643e=!!_0x1f6bf6[_0x2fb48e(0x243)],_0x5aedce=_0xdfbabb[_0x2fb48e(0x33e)](_0x1f6bf6[_0x2fb48e(0x1c9)]);_0x5aedce&&(_0x5aedce[_0x2fb48e(0x1e5)](_0x10643e),this[_0x2fb48e(0x36c)]=_0x1f6bf6[_0x2fb48e(0x1c9)]),this[_0x2fb48e(0x330)][_0x2fb48e(0x341)](_0x199bc9[_0x2fb48e(0x2e2)],_0x10643e);}else this['_lastEditingShapeKey']=null,this[_0x2fb48e(0x330)][_0x2fb48e(0x341)](_0x199bc9[_0x2fb48e(0x2e2)],!0x1);}));}};_0x335aa8=_0x5e6390([_0x57fca7(0x1,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x3ec044)),_0x57fca7(0x2,_0x48b930[_0x44da2a(0x3be)]),_0x57fca7(0x3,_0x199bc9[_0x44da2a(0x317)]),_0x57fca7(0x4,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x397c2d['DocsShapeService']))],_0x335aa8);let _0x38c1a1=class extends _0x477995[_0x44da2a(0x1df)]{constructor(_0x48fc4d,_0x39c7a4,_0x275658,_0x39f457){super(_0x48fc4d,_0x39c7a4,_0x275658,_0x39f457,{'componentKey':_0x4c7158,'editorUnitId':_0xa6f102});}};_0x38c1a1=_0x5e6390([_0x57fca7(0x1,(0x0,_0x199bc9['Inject'])(_0x52097a[_0x44da2a(0x17f)])),_0x57fca7(0x2,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0xadaed7[_0x44da2a(0x2f1)])),_0x57fca7(0x3,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0xadaed7[_0x44da2a(0x3b9)]))],_0x38c1a1);let _0x56a496=class extends _0x199bc9[_0x44da2a(0x196)]{constructor(_0x53f726,_0xf1be71,_0x5e8e2b,_0x4fb770){const _0x3f7474=_0x44da2a;super(),this[_0x3f7474(0x3f3)]=_0x53f726,this[_0x3f7474(0x275)]=_0xf1be71,this[_0x3f7474(0x201)]=_0x5e8e2b,this['_docDrawingShapeRenderController']=_0x4fb770,this['_initialize']();}['_initialize'](){const _0x59f7b4=_0x44da2a;this[_0x59f7b4(0x19c)](this[_0x59f7b4(0x201)][_0x59f7b4(0x30c)][_0x59f7b4(0x311)](_0x5ba020=>this[_0x59f7b4(0x1e8)](_0x5ba020))),this[_0x59f7b4(0x19c)](this[_0x59f7b4(0x201)][_0x59f7b4(0x2d9)]['subscribe'](_0x339c83=>{const _0x139698=_0x59f7b4;_0x339c83['forEach'](_0x264b0c=>this[_0x139698(0x161)](_0x264b0c));})),this[_0x59f7b4(0x19c)](this[_0x59f7b4(0x3f3)][_0x59f7b4(0x289)](_0x2cb0d1=>{const _0x4a8381=_0x59f7b4;if(_0x2cb0d1['id']!==_0x397c2d[_0x4a8381(0x29e)]['id'])return;let {unitId:_0x521c89,shapeId:_0xa055ab}=_0x2cb0d1['params'];this['_refreshShapeData']({'unitId':_0x521c89,'subUnitId':_0x521c89,'drawingId':_0xa055ab});}));}[_0x44da2a(0x1e8)](_0x51403c){const _0x51cb5c=_0x44da2a;_0x51403c[_0x51cb5c(0x3c9)](_0xc0b678=>{const _0x39b9a2=_0x51cb5c;let _0x1d8273=this[_0x39b9a2(0x239)](_0xc0b678[_0x39b9a2(0x1e0)]);if(!_0x1d8273)return;let _0x4698b7=this[_0x39b9a2(0x201)][_0x39b9a2(0x302)](_0xc0b678);(_0x4698b7==null?void 0x0:_0x4698b7[_0x39b9a2(0x408)])===_0x199bc9[_0x39b9a2(0x1d9)][_0x39b9a2(0x418)]&&this[_0x39b9a2(0x294)][_0x39b9a2(0x1f9)](_0x4698b7,_0x1d8273['scene']);});}[_0x44da2a(0x161)](_0xc24fe1){const _0x396cb7=_0x44da2a;let _0x5a58b6=this[_0x396cb7(0x201)][_0x396cb7(0x302)](_0xc24fe1);if((_0x5a58b6==null?void 0x0:_0x5a58b6[_0x396cb7(0x408)])!==_0x199bc9[_0x396cb7(0x1d9)][_0x396cb7(0x418)])return;let _0x3995a5=this[_0x396cb7(0x239)](_0xc24fe1[_0x396cb7(0x1e0)]);if(!_0x3995a5||_0x5a58b6[_0x396cb7(0x37c)]==null)return;let _0x53f975=(0x0,_0x48b930[_0x396cb7(0x2a0)])(_0xc24fe1),_0x2f2c23=_0x3995a5[_0x396cb7(0x20a)][_0x396cb7(0x33e)](_0x53f975);_0x2f2c23&&(_0x2f2c23['setSrcRect'](_0x5a58b6[_0x396cb7(0x390)]),_0x2f2c23[_0x396cb7(0x3bf)](_0x5a58b6[_0x396cb7(0x37d)]),_0x2f2c23[_0x396cb7(0x155)](!0x0));}['_refreshShapeData'](_0x104a5b){const _0x53e93b=_0x44da2a;let _0x3bc3c6=this[_0x53e93b(0x239)](_0x104a5b[_0x53e93b(0x1e0)]);if(!_0x3bc3c6)return;let _0x3454a5=(0x0,_0x48b930[_0x53e93b(0x2a0)])(_0x104a5b),_0x9dbf5b=_0x3bc3c6[_0x53e93b(0x20a)][_0x53e93b(0x33e)](_0x3454a5);_0x9dbf5b&&(this[_0x53e93b(0x294)]['refreshShapeFillImage'](_0x9dbf5b),this['_docDrawingShapeRenderController'][_0x53e93b(0x20f)](_0x9dbf5b,{'unitId':_0x104a5b[_0x53e93b(0x1e0)],'subUnitId':_0x104a5b[_0x53e93b(0x3d5)],'shapeId':_0x104a5b['drawingId']}),_0x9dbf5b['makeDirty'](!0x0));}['_getSceneByUnitId'](_0x3451ef){const _0x35b01c=_0x44da2a;if(_0x3451ef==null)return null;let _0x775997=this['_renderManagerService'][_0x35b01c(0x1cb)](_0x3451ef),_0x3ba63c=_0x775997==null?void 0x0:_0x775997[_0x35b01c(0x20a)];return _0x3ba63c==null?null:{'scene':_0x3ba63c};}};_0x56a496=_0x5e6390([_0x57fca7(0x0,_0x199bc9[_0x44da2a(0x250)]),_0x57fca7(0x1,_0x4bd9c2[_0x44da2a(0x3f8)]),_0x57fca7(0x2,_0x48b930['IDrawingManagerService']),_0x57fca7(0x3,(0x0,_0x199bc9['Inject'])(_0x2fc97f))],_0x56a496);let _0x2e596c=class extends _0x199bc9[_0x44da2a(0x196)]{constructor(_0x25369e,_0x495791,_0x22bbe4,_0x327c59,_0x3f3c06,_0x5bc80c,_0x5ccab9,_0x46eac6,_0x32a525,_0x2f14c5,_0x543642){const _0x3c5fcf=_0x44da2a;super(),this[_0x3c5fcf(0x3d4)]=_0x25369e,this[_0x3c5fcf(0x25e)]=_0x495791,this['_menuManagerService']=_0x22bbe4,this[_0x3c5fcf(0x254)]=_0x327c59,this['_localeService']=_0x3f3c06,this['_commandService']=_0x5bc80c,this[_0x3c5fcf(0x201)]=_0x5ccab9,this[_0x3c5fcf(0x3e1)]=_0x46eac6,this[_0x3c5fcf(0x275)]=_0x32a525,this[_0x3c5fcf(0x330)]=_0x2f14c5,this['_shapeTextEditingService']=_0x543642,_0x23a33c(this,_0x3c5fcf(0x2fc),null),_0x23a33c(this,_0x3c5fcf(0x2f8),null),_0x23a33c(this,_0x3c5fcf(0x22d),!0x1),_0x23a33c(this,_0x3c5fcf(0x28b),0x0),_0x23a33c(this,_0x3c5fcf(0x38f),new Set()),_0x23a33c(this,_0x3c5fcf(0x193),[]),this[_0x3c5fcf(0x417)](),this[_0x3c5fcf(0x19c)](this[_0x3c5fcf(0x3d4)]['getCurrentTypeOfUnit$'](_0x199bc9[_0x3c5fcf(0x31a)][_0x3c5fcf(0x171)])[_0x3c5fcf(0x311)](_0x4b2fff=>{const _0x3fe674=_0x3c5fcf;if(!_0x4b2fff){var _0x29b741;(_0x29b741=this['_sidebarDisposable'])==null||_0x29b741[_0x3fe674(0x396)]();return;}this['_createShapePopupMenu'](_0x4b2fff);})),this['_registerOperations'](),this['_initShapePopupMenu'](),this[_0x3c5fcf(0x19c)](this[_0x3c5fcf(0x312)][_0x3c5fcf(0x25a)][_0x3c5fcf(0x311)](_0x54d70b=>{_0x54d70b&&this['_clearPopups']();}));}[_0x44da2a(0x417)](){const _0x102226=_0x44da2a;this[_0x102226(0x2cb)]['mergeMenu'](_0x5587fb);}[_0x44da2a(0x1dd)](){const _0x4d17d4=_0x44da2a;this[_0x4d17d4(0x3d4)][_0x4d17d4(0x301)](_0x199bc9['UniverInstanceType'][_0x4d17d4(0x171)])[_0x4d17d4(0x3c9)](_0x20fc54=>this['_createShapePopupMenu'](_0x20fc54));}['getShapePopupMenus'](_0x4c8936,_0x49e72c,_0xf49ce2,_0x47cec9){const _0x88501e=_0x44da2a;return[{'label':_0x88501e(0x232),'index':0x0,'commandId':_0x39ec2b['id'],'commandParams':{'unitId':_0x4c8936,'subUnitId':_0x49e72c,'drawingId':_0xf49ce2},'disable':_0x47cec9===_0x199bc9[_0x88501e(0x1d9)][_0x88501e(0x20b)]},{'label':_0x88501e(0x153),'index':0x1,'commandId':_0xe167a4['RemoveDocDrawingCommand']['id'],'commandParams':{'unitId':_0x4c8936,'drawings':[{'unitId':_0x4c8936,'subUnitId':_0x49e72c,'drawingId':_0xf49ce2}]},'disable':!0x1},{'label':_0x88501e(0x192),'index':0x2,'commandId':_0x36cd5a['id'],'commandParams':{'unitId':_0x4c8936,'subUnitId':_0x49e72c,'drawingId':_0xf49ce2},'disable':!0x1}];}['_getShapeInfo'](_0x10565c,_0x459b1c,_0x214559){const _0x178ede=_0x44da2a;let _0x3b48e0=this[_0x178ede(0x254)]['getShapeTypeById'](_0x10565c,_0x459b1c,_0x214559),_0x5d17f2=this[_0x178ede(0x254)][_0x178ede(0x35b)](_0x10565c,_0x459b1c,_0x214559);return _0x3b48e0!==void 0x0&&_0x5d17f2!==void 0x0?{'shapeData':_0x5d17f2,'shapeId':_0x214559,'shapeType':_0x3b48e0,'unitId':_0x10565c,'subUnitId':_0x459b1c,'version':this[_0x178ede(0x28b)],'disableShapeOption':!0x1}:null;}[_0x44da2a(0x2c2)](_0x4e7c18){const _0x535b33=_0x44da2a;if(!_0x4e7c18)return;let _0x26c36e=_0x4e7c18[_0x535b33(0x2a6)]();this['_renderManagerService']['has'](_0x26c36e)&&!this[_0x535b33(0x38f)][_0x535b33(0x22c)](_0x26c36e)&&(this['_popupMenuListener'](_0x26c36e),this[_0x535b33(0x38f)][_0x535b33(0x3d7)](_0x26c36e));}[_0x44da2a(0x2db)](){const _0x50f5ee=_0x44da2a;this[_0x50f5ee(0x193)][_0x50f5ee(0x3c9)](_0x415231=>_0x415231['dispose']()),this[_0x50f5ee(0x193)][_0x50f5ee(0x268)]=0x0;}[_0x44da2a(0x15f)](_0x49c35e){const _0x38ed93=_0x44da2a;var _0x4ea345;let _0x3bd42f=(_0x4ea345=this[_0x38ed93(0x275)][_0x38ed93(0x1cb)](_0x49c35e))==null?void 0x0:_0x4ea345[_0x38ed93(0x20a)],_0x1a6d51=_0x3bd42f==null?void 0x0:_0x3bd42f['getTransformerByCreate']();!_0x3bd42f||!_0x1a6d51||(this[_0x38ed93(0x19c)](_0x1a6d51[_0x38ed93(0x2a4)]['subscribe'](()=>{const _0x1413cc=_0x38ed93;let _0x18032d=_0x1a6d51['getSelectedObjectMap']();if(this[_0x1413cc(0x2db)](),this['_isOpenedShapeEditPanel']||_0x18032d[_0x1413cc(0x402)]>0x1)return;let _0x17c4fd=_0x18032d[_0x1413cc(0x291)]()[_0x1413cc(0x2a9)]()[_0x1413cc(0x38a)];if(!_0x17c4fd)return;let _0x3da6e1=this[_0x1413cc(0x201)][_0x1413cc(0x28c)](_0x17c4fd[_0x1413cc(0x377)]);if(!_0x3da6e1||_0x3da6e1['drawingType']!==_0x199bc9[_0x1413cc(0x1d9)][_0x1413cc(0x418)])return;let {unitId:_0x5a036e,subUnitId:_0x5dcc78,drawingId:_0x3a40db,drawingType:_0x5a6259}=_0x3da6e1,_0x4d4537=this['_getShapeInfo'](_0x5a036e,_0x5dcc78,_0x3a40db);if(!_0x4d4537)return;let _0x424ddc=this[_0x1413cc(0x3e1)][_0x1413cc(0x1f6)](_0x17c4fd,{'componentKey':_0x9b7e0c,'direction':'vertical-center','offset':[0x0,_0x477995[_0x1413cc(0x1fc)]],'extraProps':{'unitId':_0x5a036e,'subUnitId':_0x5dcc78,'drawingId':_0x3a40db,'drawingType':_0x5a6259,'shapeType':_0x4d4537['shapeType'],'shapeData':_0x4d4537['shapeData']}},_0x5a036e);this[_0x1413cc(0x193)][_0x1413cc(0x34b)](this[_0x1413cc(0x19c)](_0x424ddc)),this[_0x1413cc(0x201)]['getFocusDrawings']()['find'](_0x5dd1af=>_0x5dd1af[_0x1413cc(0x1e0)]===_0x5a036e&&_0x5dd1af[_0x1413cc(0x3d5)]===_0x5dcc78&&_0x5dd1af[_0x1413cc(0x3a1)]===_0x3a40db)||this[_0x1413cc(0x201)]['focusDrawing']([{'unitId':_0x5a036e,'subUnitId':_0x5dcc78,'drawingId':_0x3a40db}]);})),this['disposeWithMe'](_0x1a6d51[_0x38ed93(0x267)]['subscribe'](()=>{const _0x1872cf=_0x38ed93;this[_0x1872cf(0x2db)](),this[_0x1872cf(0x330)][_0x1872cf(0x341)](_0x199bc9[_0x1872cf(0x35f)],!0x1),this['_drawingManagerService']['focusDrawing'](null);})),this[_0x38ed93(0x19c)](_0x1a6d51[_0x38ed93(0x1bc)]['subscribe'](()=>{const _0x610e58=_0x38ed93;this[_0x610e58(0x2db)]();})),this[_0x38ed93(0x19c)](_0x1a6d51[_0x38ed93(0x2e8)][_0x38ed93(0x311)](()=>{const _0x27ccb2=_0x38ed93;this[_0x27ccb2(0x2db)]();})));}[_0x44da2a(0x159)](){const _0x466bc9=_0x44da2a;this[_0x466bc9(0x19c)](this[_0x466bc9(0x3f3)]['onCommandExecuted'](_0x4195b7=>{const _0x35346e=_0x466bc9;if(_0x4195b7['id']===_0x39ec2b['id']){let {unitId:_0x1a8f62,subUnitId:_0x2f8adc,drawingId:_0xf3ec15}=_0x4195b7['params'];this[_0x35346e(0x28b)]+=0x1,this['_activeShapeInfo']=this['_getShapeInfo'](_0x1a8f62,_0x2f8adc,_0xf3ec15),this[_0x35346e(0x2db)](),this[_0x35346e(0x25b)]();}if(_0x4195b7['id']===_0x36cd5a['id']&&(this[_0x35346e(0x2f8)]=null,this[_0x35346e(0x31b)]()),_0x4195b7['id']===_0x397c2d[_0x35346e(0x29e)]['id']){let {unitId:_0x38b3cf,shapeId:_0x544ebb}=_0x4195b7[_0x35346e(0x2f9)];if(this[_0x35346e(0x2f8)]&&this[_0x35346e(0x2f8)]['shapeId']===_0x544ebb){let _0x1fa186=this['_getShapeInfo'](_0x38b3cf,this[_0x35346e(0x2f8)][_0x35346e(0x3d5)],_0x544ebb);_0x1fa186&&(this['_shapeEditPanelVersion']+=0x1,_0x1fa186[_0x35346e(0x3c0)]=this['_shapeEditPanelVersion'],this[_0x35346e(0x2f8)]=_0x1fa186,this[_0x35346e(0x22d)]&&this['_openShapeEditPanel']());}}})),this[_0x466bc9(0x19c)](this[_0x466bc9(0x201)][_0x466bc9(0x1de)][_0x466bc9(0x311)](_0xbda4c1=>{const _0x26717b=_0x466bc9;if(this[_0x26717b(0x22d)]===!0x1)return;if(_0xbda4c1[_0x26717b(0x268)]===0x0){this['_activeShapeInfo']=null,this['_closeShapeEditPanel']();return;}if(_0xbda4c1['length']===0x1&&_0xbda4c1[0x0][_0x26717b(0x408)]===_0x199bc9['DrawingTypeEnum'][_0x26717b(0x418)]&&(this[_0x26717b(0x28b)]+=0x1,this[_0x26717b(0x2f8)]=this[_0x26717b(0x2f4)](_0xbda4c1[0x0][_0x26717b(0x1e0)],_0xbda4c1[0x0][_0x26717b(0x3d5)],_0xbda4c1[0x0][_0x26717b(0x3a1)]),this[_0x26717b(0x2f8)])){this['_openShapeEditPanel']();return;}let _0x586c38=_0xbda4c1[_0x26717b(0x191)](_0x205f78=>_0x205f78[_0x26717b(0x408)]===_0x199bc9[_0x26717b(0x1d9)]['DRAWING_SHAPE']);if(_0xbda4c1[_0x26717b(0x268)]>0x1&&_0x586c38[_0x26717b(0x268)]===_0xbda4c1['length']){if(this['_shapeEditPanelVersion']+=0x1,this[_0x26717b(0x2f8)]=this[_0x26717b(0x2f4)](_0xbda4c1[0x0]['unitId'],_0xbda4c1[0x0][_0x26717b(0x3d5)],_0xbda4c1[0x0][_0x26717b(0x3a1)]),this[_0x26717b(0x2f8)]){this[_0x26717b(0x25b)]();return;}}else{if(this[_0x26717b(0x28b)]+=0x1,this[_0x26717b(0x2f8)]=this[_0x26717b(0x2f4)](_0xbda4c1[0x0][_0x26717b(0x1e0)],_0xbda4c1[0x0][_0x26717b(0x3d5)],_0xbda4c1[0x0][_0x26717b(0x3a1)]),this[_0x26717b(0x2f8)]){this[_0x26717b(0x2f8)][_0x26717b(0x39f)]=!0x0,this[_0x26717b(0x25b)]();return;}}this[_0x26717b(0x31b)]();}));}[_0x44da2a(0x25b)](){const _0x31ea31=_0x44da2a;this[_0x31ea31(0x2f8)]&&(this['_sidebarDisposable']=this['_sidebarService']['open']({'id':_0x592432,'header':{'title':this[_0x31ea31(0x3ad)]['t']('docs-shape-ui.formatShape')},'width':0x184,'children':{'label':_0x592432,...this[_0x31ea31(0x2f8)]},'onClose':()=>{const _0x78d222=_0x31ea31;this[_0x78d222(0x201)][_0x78d222(0x37f)](null),this[_0x78d222(0x330)][_0x78d222(0x341)](_0x199bc9[_0x78d222(0x35f)],!0x1),this[_0x78d222(0x2fc)]=null;}}),this[_0x31ea31(0x22d)]=!0x0);}[_0x44da2a(0x31b)](){const _0x59dcf6=_0x44da2a;this[_0x59dcf6(0x22d)]=!0x1,this['_sidebarService'][_0x59dcf6(0x2e1)](_0x592432),this[_0x59dcf6(0x2fc)]=null,this['_contextService']['setContextValue'](_0x199bc9[_0x59dcf6(0x35f)],!0x1),this[_0x59dcf6(0x201)][_0x59dcf6(0x37f)](null);}};_0x2e596c=_0x5e6390([_0x57fca7(0x0,_0x199bc9[_0x44da2a(0x3fd)]),_0x57fca7(0x1,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x314b7e[_0x44da2a(0x3de)])),_0x57fca7(0x2,_0x314b7e[_0x44da2a(0x262)]),_0x57fca7(0x3,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x397c2d[_0x44da2a(0x197)])),_0x57fca7(0x4,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x199bc9[_0x44da2a(0x36b)])),_0x57fca7(0x5,_0x199bc9[_0x44da2a(0x250)]),_0x57fca7(0x6,_0x48b930[_0x44da2a(0x3be)]),_0x57fca7(0x7,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0xadaed7[_0x44da2a(0x2f1)])),_0x57fca7(0x8,_0x4bd9c2[_0x44da2a(0x3f8)]),_0x57fca7(0x9,_0x199bc9[_0x44da2a(0x317)]),_0x57fca7(0xa,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x3ec044))],_0x2e596c);let _0x5b3154=class extends _0x199bc9[_0x44da2a(0x23c)]{constructor(_0x100f8f=_0x13277c,_0x268377,_0xa6acaf,_0x4d68ed,_0xa1bc91){const _0xcc0145=_0x44da2a;super(),this[_0xcc0145(0x180)]=_0x100f8f,this['_injector']=_0x268377,this['_commandService']=_0xa6acaf,this[_0xcc0145(0x37a)]=_0x4d68ed,this['_renderManagerService']=_0xa1bc91;let {menu:_0x7c8e32,..._0x540e1a}=(0x0,_0x199bc9[_0xcc0145(0x29a)])({},_0x13277c,this['_config']);_0x7c8e32&&this[_0xcc0145(0x37a)][_0xcc0145(0x332)](_0xcc0145(0x238),_0x7c8e32,{'merge':!0x0}),this[_0xcc0145(0x37a)][_0xcc0145(0x332)](_0xcc0145(0x1ea),_0x540e1a),this[_0xcc0145(0x340)]();}[_0x44da2a(0x35a)](){const _0x2702d5=_0x44da2a;this[_0x2702d5(0x204)]['add']([_0x3e2894]),this[_0x2702d5(0x204)]['get'](_0x3e2894),(0x0,_0x199bc9['registerDependencies'])(this[_0x2702d5(0x204)],[[_0x2e596c],[_0x56a496],[_0x2fc97f],[_0x5df118],[_0x2f111e],[_0xd26b4b],[_0x3ec044],[_0x56bc28]]),this[_0x2702d5(0x16f)]();}['onReady'](){const _0x420bf0=_0x44da2a;this[_0x420bf0(0x275)][_0x420bf0(0x303)](_0x199bc9[_0x420bf0(0x31a)][_0x420bf0(0x171)],[_0x5df118]),this[_0x420bf0(0x275)][_0x420bf0(0x303)](_0x199bc9[_0x420bf0(0x31a)]['UNIVER_DOC'],[_0x335aa8]),this[_0x420bf0(0x275)][_0x420bf0(0x303)](_0x199bc9[_0x420bf0(0x31a)][_0x420bf0(0x171)],[_0x38c1a1]),(0x0,_0x199bc9[_0x420bf0(0x380)])(this['_injector'],[[_0x2e596c],[_0x56a496],[_0x2fc97f],[_0x2f111e],[_0xd26b4b],[_0x3ec044],[_0x56bc28]]);}[_0x44da2a(0x340)](){const _0x7d77ad=_0x44da2a;[_0x5e21da,_0x36cd5a,_0x39ec2b,_0x3ff923,_0x43474b,_0x33706f][_0x7d77ad(0x3c9)](_0x4201c6=>this[_0x7d77ad(0x19c)](this[_0x7d77ad(0x3f3)][_0x7d77ad(0x16b)](_0x4201c6)));}['_initUIPart'](){const _0x3ba8e5=_0x44da2a;let _0x1b058d=this['_injector'],_0x331aab=_0x1b058d['get'](_0x314b7e[_0x3ba8e5(0x3a6)]);this[_0x3ba8e5(0x19c)](_0x331aab[_0x3ba8e5(0x407)](_0x314b7e[_0x3ba8e5(0x271)][_0x3ba8e5(0x198)],()=>(0x0,_0x314b7e[_0x3ba8e5(0x1c6)])(_0x22c6a9,_0x1b058d)));}};_0x23a33c(_0x5b3154,_0x44da2a(0x27f),_0x199bc9[_0x44da2a(0x31a)][_0x44da2a(0x171)]),_0x23a33c(_0x5b3154,'pluginName',_0x44da2a(0x41f)),_0x23a33c(_0x5b3154,_0x44da2a(0x22b),_0x5539cb),_0x23a33c(_0x5b3154,'version',_0x2041b4),_0x5b3154=_0x5e6390([(0x0,_0x199bc9[_0x44da2a(0x22a)])(_0xe2a57e[_0x44da2a(0x1d3)],_0x52097a[_0x44da2a(0x279)],_0x48b930[_0x44da2a(0x32e)],_0x1a42e8[_0x44da2a(0x2d4)],_0x4bd9c2[_0x44da2a(0x2cc)],_0xadaed7['UniverDocsUIPlugin'],_0x377eec[_0x44da2a(0x3e2)],_0x14557e[_0x44da2a(0x36f)],_0x397c2d['UniverDocsShapePlugin'],_0x477995[_0x44da2a(0x233)]),_0x57fca7(0x1,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x199bc9[_0x44da2a(0x172)])),_0x57fca7(0x2,_0x199bc9['ICommandService']),_0x57fca7(0x3,_0x199bc9[_0x44da2a(0x214)]),_0x57fca7(0x4,_0x4bd9c2[_0x44da2a(0x3f8)])],_0x5b3154),_0x495beb[_0x44da2a(0x203)]=_0x5587fb,Object[_0x44da2a(0x264)](_0x495beb,_0x44da2a(0x32a),{'enumerable':!0x0,'get':function(){return _0x5b3154;}});}));function _0x4415(){const _0x4583af=['getObjectListPanelLabels','360ezBgxO','disableShapeOption','isInGroup','drawingId','docs-shape-ui.ribbon.shape-format.style-control','_getActiveDrawingParam','endArrow','_activeShapeAdjustPointList','IUIPartsService','IconManager','docs-shape-ui.objectListPanel.open','setOnSavingEditorData','docs-shape-ui.textWrap.inFrontText','disableObjectsEvent','setFormulaPresentation','_localeService','BEHIND_TEXT','startWith','ContextMenuPosition','_isShouldShowDrawingShapeAdjust','object-layers-icon','UniverDrawing','idSuffix','1109705GTayVD','getDrawingEffectBounds','ArrangeTypeEnum','getRealBound','DocSelectionRenderService','getDrawingOrder','refreshAdjustControls','complete','@univerjs/ui','IDrawingManagerService','setPrstGeom','version','isLineShape','some','unsubscribe','doc.shape.text.float-menu','default','ShapeStyleRibbonControl','SetDocDrawingArrangeCommand','_setTransForm','forEach','drawFormulaShapeAnimationLayers','react','trim','paragraphs','CURSOR_TYPE','clone','buildClipPath','_activeShapeModel','ShapeDefaultConfig','UpdateDocShapeDataCommand','_univerInstanceService','subUnitId','BehaviorSubject','add','FromArray','_adjName','RENDER_CLASS_TYPE','classType','DocParagraphMenuService','objects','ISidebarService','updateDocumentStyle','angle','_docCanvasPopManagerService','UniverShapeEditorPlugin','name','_adjHandlerPointerMove','Shape','text','reverse','TextWrappingStyle','@univerjs/docs-drawing-ui','getEditing','presetId','localeService','shape-editor-ui.arrange.forward','src','extraProps','getFocusDrawings','_createShapeAdjustControls','getAdjustInfoByName','_commandService','getDrawingSearch','_updateShapeAdjustControls','_getShapeAdjustPointListById','text-wrap-shape-icon','IRenderManagerService','front','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','Transform','DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID','IUniverInstanceService','useDependency','adjName','subscribeEvent','segmentId','size','@univerjs-pro/docs-shape','tag','createShapeFormulaDocument','ancestorTransform','registerComponent','drawingType','MoveUpIcon','_clipService','Image','666769EiWDgT','left','doc.shape.floating-toolbar','getImage','paragraphId','indexOf','gradientEndColor','move-down-icon','IURLImageService','docs-shape-ui.ribbon.shape-format.formula-control','clearAdjustValue','_initMenu','DRAWING_SHAPE','_loadShapePictureFill','UniverProDocsShapeUi','call','with','docs-shape-ui.ribbon.shape-format.arrange-back','get','DOCS_SHAPE_UI_PLUGIN','getShapeQuickStyleType','isRender','docs-shape-ui.deleteShape','1364JPBpax','makeDirty','getObjectListPanelTypeName','UniverCore','ShapeQuickStyleGallery','_registerOperations','jsxs','_initEvents','@univerjs/engine-render','sin','shouldClipShapeTextDocument','_popupMenuListener','BottomIcon','_updateShape','getDrawingEditable','popup','isRichText','colorChannel1','_isStartAdjusting','shape-format-setting-icon','doc.operation.open-shape-object-list-panel','UNIVER_SHEET','presentationChanged$','registerCommand','setCanUseShapeClip','232560wkDmXY','_baseShapeTop','_initUIPart','5301065CbhpKR','UNIVER_DOC','Injector','cloneShapeDataForType','_registerDrawingTransformHandler','_drawRichTextLayer','ShapeGroupEnum','stopPropagation','_unitId','ShapeFillEnum','actualHeight','enhanceParams','@univerjs-pro/shape-editor-ui','url(#$1','title','DocSelectionManagerService','_config','invert','ImageSourceTypeEnum','getMenuHiddenObservable','animationEnabled','shapeText','docs-shape-ui.crop.shape','changeEnd$','VIEW_MAIN','bottom-icon','substring','_baseShapeWidth','docs-shape-contextual-ribbon','normalizeShapeTextModel','behindDoc','969548qXQXRx','resolveActiveShapeQuickStylePresetId','filter','docs-shape-ui.hidePanel','_disposePopups','DRAWING_IMAGE','shapeId','Disposable','DocsShapeService','CONTENT','getUnit','DocDrawingTextWrap','docs-shape-ui.quickStyles','disposeWithMe','doc.shape.edit.panel','docs-shape-ui.textWrap.behindText','resolveShapeTextDocumentRenderLayout','set','panel','getTextModel','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','3kYazPH','TopmostIcon','@univerjs/drawing-ui','OPERATION','setAdjustValueByName','getSnapshot','sectionCanvas','_initEditingParams','ShapeModel','createInternalEditorID','animateFormulaPresentation','resolveShapeTextEditorBehaviorShapeData','onPointerMove$','color','1.0.0-beta.1','RibbonInsertGroup','UpdateDrawingDocTransformCommand','startArrow','debounceRefreshControls','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','_activeAdjustInfo','strokeWidth','attrs','IDocDrawingService','changing$','DocDrawingPosition','contentVerticalOffset','getState','SetDrawingSelectedOperation','useFormulaShapeToolbar','doc.operation.update-shape-type','_subUnitId','1537082GgjjHs','docs-shape-format-font-family-menu','connectInjector','fill','DRAWING_OBJECT_LAYER_INDEX','shapeKey','refreshShapeFillImage','getRenderUnitById','HorizontalAlign','current','enableObjectsEvent','react/jsx-runtime','_getShapeAdjustInfosById','reduce','generateRandomId','UniverLicensePlugin','_baseShapeLeft','_update','SELECTOR','setSrcRect','_drawShapeText','DrawingTypeEnum','find','updateShapeFillImage','_transform','_initShapePopupMenu','focus$','ShapeTextFloatMenuRenderControllerBase','unitId','layoutType','_drawRichText','_adjustPointObjects','#2563EB','setEditing','random','activeTarget','_insertShapes','_toScenePoint','docs-shape-ui.config','error','setShapeProps','UniverIcon','onTransformChange$','assign','doc.shape.object-list.panel','BooleanNumber','_props','toStringTag','function','evenodd','attachPopupToObject','_formulaAnimation','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','renderDrawingShape','UniverProDocsShape','flipY','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','WRAP_SQUARE','setCollapsedIds','PositionedObjectLayoutType','getTextStyle','_drawingManagerService','calculate','DocsShapeUIMenuSchema','_injector','remove$','MenuItemType','ShapeArrowSizeEnum','getTransformerByCreate','_updateSrcRectByTransform','scene','DRAWING_DOM','useMemo','fillImageSourceType','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','refreshFormulaPresentation','getUnitType','useRef','Medium','onSavingEditorData$','IConfigService','UniverDrawingUi','syncExecuteCommand','prototype','_initSelection','symbol','getMatrix','clearAdjustControls','updateContext','asObservable','transformVector2SceneCoord','updateDocumentDataMargin','UUID','FormulaShapeAnimationController','@univerjs/docs-drawing','6LMIlUY','docs-shape-text-','MoveDownIcon','ShapeTypeEnum','_attachAdjustEvent','docs-shape-ui.objectListPanel.title','0\x200\x2020\x2020','DependentOn','packageName','has','_isOpenedShapeEditPanel','top','getViewports','register','moveRange','docs-shape-ui.openPanel','UniverShapeEditorUIPlugin','OBJECT_LIST_FLOATING_SECTION_ID','DocumentViewModel','WRAP_NONE','docs-shape-ui.ribbon.shape-format.arrange-forward','menu','_getSceneByUnitId','Inject','onPointerUp$','Plugin','getParagraphContentStartOffset','Large','replace','clip-','getActualSize','doc.operation.open-doc-shape-format-panel','visible','doc.shape.picker.component','setPresentation','IN_FRONT_OF_TEXT','ComponentManager','0\x200\x2016\x2016','getImageSourceCache','isEditing','executeCommand','M4.2\x208.3H6.8','M4.2\x205.5H10.5','getTransformer','setFillImage','ICommandService','shape-editor-ui.toolbar.changeShape','engine','doc.operation.close-doc-shape-format-panel','_docsShapeService','@univerjs/drawing','preValue','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','actions','calcAdjValues','editingParams$','_openShapeEditPanel','width','hidden','_sidebarService','_loadAndSetImage','svg','shapeData','IMenuManagerService','ShapeFormatSettingIcon','defineProperty','_formulaShapes','getObjectListPanelSectionIdForDrawingType','clearControl$','length','_toVisualAdjustPoint','SolidFill','applyPoint','getDrawingData','PaintIcon','transformByState','ShapeRenderModeEnum','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','BuiltInUIPart','getShapeTextRect','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','SHAPE_TEXT','_renderManagerService','docs-shape-ui.formatShape','bottom','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','UniverDocsPlugin','resolveFormulaShapeAutoFitSize','clip','#3B82F6','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','_imageIoService','type','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','docs-shape-ui.textWrap.square','docs-shape-ui.textWrap.topAndBottom','TRUE','dataModel','docs-shape-ui.shape-format.style-ribbon-control','RemoveDocDrawingCommand','ObjectLayersIcon','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','onCommandExecuted','_context','_shapeEditPanelVersion','getDrawingOKey','decorate','getActiveTextRange','shape-text-','open','values','_registerDrawingFocusChangeHandler','onPointerDown$','_docDrawingShapeRenderController','UniverUi','ShapePickerDropdown','isHorizontal','_updateAdjustControlPositions','UpdateDocDrawingMetadataCommand','merge','GROUP','ShapeTextFloatToolbar','wrapStrategy','UpdateDocShapeDataMutation','DOC_PARAGRAPH_T_INSERT_MENU_ID','getDrawingShapeKeyByDrawingSearch','behindText','height','LAYOUT','createControl$','ShapeEditPanel','getUnitId','extensionGroups','rect','next','below','isHit','Arrow','sheet.image-clip.shape-picker.component','@univerjs/docs','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','setShapeData','_clearShapeAdjustControls','getShapeTypeById','CommandType','onDblclick$','exports','0\x200\x2017\x2016','isolated','round','useEffect','_iconManager','startOffset','entries','transformForAngle','IRibbonService','_draw','_getFocusedShapeAtPoint','Circle','_createShapePopupMenu','_componentManager','@univerjs-pro/docs-shape-ui','applyQuickStyleToShapeData','isDrawingObject','formulaBinding','docs-shape-ui.insertShape','ObjectListPanelBase','offsetX','_menuManagerService','UniverRenderEnginePlugin','getShapeType','LEFT','_activeShapeId','save','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','DocumentSkeleton','Line','UniverDrawingUIPlugin','flipX','docs-shape-ui.textWrap.inline','adjHandleSize','_renderWithCache','update$','docs-shape-ui.ribbon.shape-format','_clearPopups','forwardRef','includes','OFFSET','_urlImageService','ShapeArrowTypeEnum','close','FOCUSING_SHAPE_TEXT_EDITOR','getDrawingPoints','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','docs-shape-ui.ribbon.shape-format.arrange-backward','viewBound','_hide','changeStart$','ContextMenuGroup','createElement','stroke','hideContextualTab','adjHandleFill','Fragment','1em','buildShapeTextDataUpdate','DocCanvasPopManagerService','getBody','shape-editor-ui.toolbar.quickStyles','_getShapeInfo','createShapeTextBoxShapeData','resetCursor','setCursor','_activeShapeInfo','params','_editingParams$','PictureFill','_sidebarDisposable','beginPath','currentColor','UniverProShapeEditor','selectable','getAllUnitsForType','getDrawingByParam','registerRenderModule','BUTTON','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','clearActiveDrawingObjects','endOffset','showContextualTab','INLINE','fillType','currentAdjustValues','add$','http://www.w3.org/2000/svg','getShapeData','render','ShapeLineTypeEnum','subscribe','_shapeTextEditingService','constructor','object','.below','mask','IContextService','getShapeQuickStylePreset','setFallbackVisible','UniverInstanceType','_closeShapeEditPanel','string','ShapeTextRibbonControl','INSERT_BELLOW_MENU_ID','resolveShapeTextEditorWrapStrategy','docs-shape-ui.shape-format.text-ribbon-control','@univerjs-pro/shape-editor','backward','cos','delete','getShapeModel','_formulaKey','ShapeFormulaRibbonControl','div','getCanvasElement','UniverDocsShapeUIPlugin','_ribbonService','doc.operation.apply-shape-quick-style','jsx','UniverDrawingPlugin','_transformCalculateSrcRect','_contextService','ShapeFloatingToolbar','setConfig','useState','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','None','fillImageSource','doc.image-clip.shape-picker.component','none','multiply','univer-box-border\x20univer-px-4\x20univer-text-sm','ShapeFloatingToolbarService','Observable','topmost-icon','getObjectIncludeInGroup','getDrawingVisible','_initCommands','setContextValue','getShapeTextData','image','WRAP_TOP_AND_BOTTOM','58752dfRKYw','plainShapeTextToDocumentData','iterator','DrawingCommonPanel','resize','isConnectorShape','push','registerClipDelegate','children','getAdjustValueByName','getPresentation','getSelfOrHeaderFooterModel','translateWithPrecision','EMPTY_PARAGRAPH_MENU_ID','map','description','shapeModel','Module','displayName','_applyFormulaAutoFitSize','canvasElement','onStarting','getShapeDataById','unregister','TOP','resolveShapeContextualRibbonHostMode','FOCUSING_COMMON_DRAWINGS','onload','_baseShapeHeight','completeEditing','ShapePickerPanel','_shapeFormulaService','_addShapeAdjustControl','_registerComponents','getVisible','_registerImageShapeClipDelegate','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','_onSavingEditorData$','LocaleService','_lastEditingShapeKey','_shapeId','rxjs','UniverDocsDrawingUIPlugin','doc-shape-adjust-point-','_init','IImageIoService','_shapeFloatingToolbarService','useObservable','shapeType','MenuManagerPosition','oKey','create','path','_configService','doc','transform','prstGeom','docs-shape-ui.ribbon.shape-format.text-control','focusDrawing','touchDependencies','MEDIA','fontFamily','React','getScene','presentation','clipHeight','forward','_getActiveDrawingShape','_visible','value','toDisposable','contentHeight','COMMAND','back','_initializedShapePopupMenu','srcRect','clipByShape','UniverProShapeEditorUi','_drawSimpleText','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','PARAGRAPH','dispose','DocsShapeTextEditorContainer','keys','getParent','horizontal','xlink:href','getDrawingTypeNameKey'];_0x4415=function(){return _0x4583af;};return _0x4415();}
|
|
1
|
+
(function(_0x52db54,_0x3fc0a6){const _0x49e7f5=_0x4049,_0x24f139=_0x52db54();while(!![]){try{const _0x4245e8=parseInt(_0x49e7f5(0x206))/0x1*(-parseInt(_0x49e7f5(0x1c9))/0x2)+parseInt(_0x49e7f5(0x372))/0x3*(parseInt(_0x49e7f5(0x3bf))/0x4)+-parseInt(_0x49e7f5(0x29a))/0x5*(parseInt(_0x49e7f5(0x391))/0x6)+parseInt(_0x49e7f5(0x30f))/0x7+parseInt(_0x49e7f5(0x32b))/0x8+parseInt(_0x49e7f5(0x295))/0x9+parseInt(_0x49e7f5(0x341))/0xa;if(_0x4245e8===_0x3fc0a6)break;else _0x24f139['push'](_0x24f139['shift']());}catch(_0x190bc5){_0x24f139['push'](_0x24f139['shift']());}}}(_0x4b00,0xbed2e),function(_0x51e674,_0x1f0c22){const _0x19ffa0=_0x4049;typeof exports==_0x19ffa0(0x218)&&typeof module<'u'?_0x1f0c22(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')):typeof define==_0x19ffa0(0x1f3)&&define['amd']?define([_0x19ffa0(0x211),'@univerjs-pro/shape-editor-ui',_0x19ffa0(0x442),_0x19ffa0(0x31c),_0x19ffa0(0x2ee),_0x19ffa0(0x44b),_0x19ffa0(0x39f),'@univerjs/core','@univerjs/docs',_0x19ffa0(0x258),_0x19ffa0(0x4a7),_0x19ffa0(0x220),_0x19ffa0(0x3c2),_0x19ffa0(0x255),_0x19ffa0(0x415),_0x19ffa0(0x3a9),_0x19ffa0(0x454),_0x19ffa0(0x3c9)],_0x1f0c22):(_0x51e674=typeof globalThis<'u'?globalThis:_0x51e674||self,_0x1f0c22(_0x51e674[_0x19ffa0(0x385)]={},_0x51e674[_0x19ffa0(0x3d9)],_0x51e674[_0x19ffa0(0x1ed)],_0x51e674[_0x19ffa0(0x229)],_0x51e674[_0x19ffa0(0x3c6)],_0x51e674['UniverProEngineShape'],_0x51e674[_0x19ffa0(0x2c7)],_0x51e674['UniverCore'],_0x51e674['UniverDocs'],_0x51e674[_0x19ffa0(0x2f5)],_0x51e674[_0x19ffa0(0x4af)],_0x51e674[_0x19ffa0(0x279)],_0x51e674[_0x19ffa0(0x22b)],_0x51e674[_0x19ffa0(0x3a0)],_0x51e674[_0x19ffa0(0x415)],_0x51e674[_0x19ffa0(0x448)],_0x51e674[_0x19ffa0(0x302)],_0x51e674[_0x19ffa0(0x3a0)]));}(this,function(_0x241b19,_0x122d1a,_0x1dd9a1,_0x152418,_0x41863e,_0xc6fd33,_0x3dd072,_0x889050,_0x580571,_0x32ae25,_0x4a14ae,_0x2b39ea,_0x103470,_0x468047,_0x14d6bc,_0x344fe9,_0xaeafba,_0x153666){const _0x5d2b55=_0x4049;Object[_0x5d2b55(0x1ad)](_0x241b19,Symbol['toStringTag'],{'value':'Module'});function _0x509f59(_0x5d6143,_0xc736c2){const _0x4843f7=_0x5d2b55;if(_0xc736c2){if((0x0,_0xc6fd33['isConnectorShape'])(_0x5d6143)&&(_0xc736c2[_0x4843f7(0x354)]||_0xc736c2['endArrow']))return{'ln':{'startArrow':_0xc736c2['startArrow']?{'type':_0xc6fd33[_0x4843f7(0x22c)][_0x4843f7(0x20f)],'size':_0xc6fd33[_0x4843f7(0x1e1)][_0x4843f7(0x36b)]}:void 0x0,'endArrow':_0xc736c2['endArrow']?{'type':_0xc6fd33[_0x4843f7(0x22c)]['Arrow'],'size':_0xc6fd33['ShapeArrowSizeEnum']['Large']}:void 0x0}};if(_0x5d6143===_0xc6fd33[_0x4843f7(0x34d)][_0x4843f7(0x47d)]&&(_0xc736c2['horizontal']||_0xc736c2[_0x4843f7(0x2dd)]))return(0x0,_0x3dd072['createShapeTextBoxShapeData'])({'fill':{'fillType':_0xc6fd33[_0x4843f7(0x497)][_0x4843f7(0x20e)],'color':_0x4843f7(0x3a1)},'isHorizontal':!!_0xc736c2['horizontal'],'stroke':{'lineStrokeType':_0xc6fd33[_0x4843f7(0x1e3)]['SolidLine'],'width':0x1,'color':_0x4843f7(0x469)}});}}function _0x1467aa(_0x39e875,_0x5bb766){const _0x580d8b=_0x5d2b55;var _0x3b0207;let _0x355341=_0x5bb766['segmentId']??'',_0xfe2092=(_0x3b0207=_0x39e875[_0x580d8b(0x225)](_0x355341))==null?void 0x0:_0x3b0207['getBody']();if(!_0xfe2092)return null;let _0x15ada5=_0xfe2092[_0x580d8b(0x241)]??[],_0x324117=_0x15ada5[_0x580d8b(0x368)](_0x3d98a1=>{const _0xb82ef5=_0x580d8b;let _0x2c017a=(0x0,_0x889050[_0xb82ef5(0x43d)])(_0xfe2092,_0x3d98a1);return _0x5bb766[_0xb82ef5(0x21a)]>=_0x2c017a&&_0x5bb766[_0xb82ef5(0x21a)]<=_0x3d98a1['startIndex'];})??_0x15ada5[_0x15ada5[_0x580d8b(0x24e)]-0x1];return _0x324117?{'paragraphId':_0x324117[_0x580d8b(0x438)],'segmentId':_0x355341,'position':_0x41863e['DocShapeAnchorPosition'][_0x580d8b(0x451)],'offset':_0x5bb766['startOffset']-(0x0,_0x889050[_0x580d8b(0x43d)])(_0xfe2092,_0x324117)}:null;}function _0xca4980(_0x1b5c17,_0x21c3c7,_0x22c0f0){const _0x400aa7=_0x5d2b55;var _0x9d4133,_0x407a72;if(!_0x22c0f0)return null;let _0x27bdb7=(_0x9d4133=_0x1b5c17[_0x400aa7(0x2bd)](_0x4a14ae[_0x400aa7(0x2fe)])['getRenderUnitById'](_0x21c3c7))==null?void 0x0:_0x9d4133[_0x400aa7(0x290)](_0x1dd9a1[_0x400aa7(0x47a)])[_0x400aa7(0x42a)];if(!_0x27bdb7)return null;let _0x430946=_0x22c0f0===_0x400aa7(0x3e6)?{'startOffset':_0x27bdb7['moveRange'][_0x400aa7(0x259)],'endOffset':_0x27bdb7[_0x400aa7(0x403)][_0x400aa7(0x259)]}:_0x27bdb7['menuRange'];return{'startOffset':_0x430946[_0x400aa7(0x21a)],'endOffset':_0x430946[_0x400aa7(0x259)],'collapsed':_0x430946['startOffset']===_0x430946[_0x400aa7(0x259)],'segmentId':((_0x407a72=_0x27bdb7[_0x400aa7(0x4b1)])==null?void 0x0:_0x407a72['segmentId'])??''};}let _0xd5b306={'type':_0x889050[_0x5d2b55(0x2af)]['COMMAND'],'id':_0x5d2b55(0x2e0),'handler':async(_0x623034,_0x3cc021)=>{const _0x231f0e=_0x5d2b55;let _0x9f4e1e=_0x623034[_0x231f0e(0x2bd)](_0x889050['IUniverInstanceService'])[_0x231f0e(0x432)](_0x889050[_0x231f0e(0x485)][_0x231f0e(0x386)]);if(!_0x9f4e1e)return!0x1;let _0xb2c260=_0x623034[_0x231f0e(0x2bd)](_0x889050[_0x231f0e(0x484)]),_0x4c5d87=_0x9f4e1e[_0x231f0e(0x498)](),_0x3b8913=_0x3cc021[_0x231f0e(0x2b1)]??(0x0,_0x889050[_0x231f0e(0x2b6)])(),_0x4f6f94=_0x3cc021['width']??_0x41863e[_0x231f0e(0x2c6)],_0x5c310f=_0x3cc021['height']??_0x41863e[_0x231f0e(0x1fe)],_0x1e82a0=_0x3cc021[_0x231f0e(0x45f)]??_0x509f59(_0x3cc021[_0x231f0e(0x427)],_0x3cc021[_0x231f0e(0x437)]),_0x165f4a=_0xca4980(_0x623034,_0x4c5d87,_0x3cc021[_0x231f0e(0x2a2)])??_0x623034[_0x231f0e(0x2bd)](_0x580571[_0x231f0e(0x433)])['getActiveTextRange']();if(!_0x165f4a)return!0x1;let _0x1f9934=_0x1467aa(_0x9f4e1e,_0x165f4a);return _0x1f9934?!!_0xb2c260[_0x231f0e(0x4ae)](_0x41863e['InsertDocShapeCommand']['id'],{'unitId':_0x4c5d87,'shapeId':_0x3b8913,'shapeType':_0x3cc021[_0x231f0e(0x427)],'shapeData':_0x1e82a0,'transform':{'width':_0x4f6f94,'height':_0x5c310f},'placement':{'wrappingStyle':_0x32ae25[_0x231f0e(0x370)][_0x231f0e(0x1d5)],'anchor':_0x1f9934}}):!0x1;}},_0x466f20='doc.shape.edit.panel',_0x48e949=_0x5d2b55(0x474),_0x424f1e=_0x5d2b55(0x1bf),_0x170d28=(0x0,_0x889050[_0x5d2b55(0x4ac)])(_0x5d2b55(0x338)),_0x3dea73=_0x5d2b55(0x26d),_0xccfcdd={'id':'doc.operation.open-shape-object-list-panel','type':_0x889050[_0x5d2b55(0x2af)][_0x5d2b55(0x459)],'handler':(_0x5140de,_0x199dde)=>{const _0x5e15d4=_0x5d2b55;let _0x493c4b=_0x5140de['get'](_0x152418[_0x5e15d4(0x353)]),_0x2ab473=_0x5140de[_0x5e15d4(0x2bd)](_0x889050[_0x5e15d4(0x26b)]),_0x130f8b=_0x5140de['get'](_0x2b39ea[_0x5e15d4(0x244)]);return(_0x199dde==null?void 0x0:_0x199dde[_0x5e15d4(0x427)])===_0x5e15d4(0x411)?(_0x493c4b[_0x5e15d4(0x411)](_0x424f1e),!0x0):(_0x493c4b['open']({'id':_0x424f1e,'header':{'title':_0x2ab473['t'](_0x5e15d4(0x233))},'children':{'label':_0x424f1e},'onClose':()=>{const _0x128ceb=_0x5e15d4;_0x130f8b[_0x128ceb(0x25b)](null);},'width':0x168}),!0x0);}},_0xfcd867={'type':_0x889050[_0x5d2b55(0x2af)]['OPERATION'],'id':_0x5d2b55(0x1bd),'handler'(){return!0x0;}};function _0x298d0a(_0x33e339){const _0x494299=_0x5d2b55;let _0x254872=_0x33e339[_0x494299(0x2bd)](_0x2b39ea[_0x494299(0x244)])[_0x494299(0x21b)](),_0x5ed679=_0x254872[_0x494299(0x24e)]===0x1?_0x254872[0x0]:null;if(!_0x5ed679||_0x5ed679['drawingType']!==_0x889050[_0x494299(0x2c5)][_0x494299(0x410)])return null;let _0x20cc03=_0x33e339['get'](_0x41863e[_0x494299(0x476)]),_0x2ddc02=_0x20cc03['getShapeTypeById'](_0x5ed679[_0x494299(0x1f9)],_0x5ed679['subUnitId'],_0x5ed679[_0x494299(0x249)]),_0x5d04fc=_0x20cc03['getShapeDataById'](_0x5ed679[_0x494299(0x1f9)],_0x5ed679[_0x494299(0x277)],_0x5ed679['drawingId']);return _0x2ddc02===void 0x0||!_0x5d04fc?null:{'drawing':_0x5ed679,'shapeData':_0x5d04fc,'shapeType':_0x2ddc02};}let _0x24ddd4={'id':_0x5d2b55(0x3fa),'type':_0x889050[_0x5d2b55(0x2af)]['OPERATION'],'handler':(_0x216e45,_0x3546ab)=>{const _0x37e105=_0x5d2b55;let _0x3ade98=_0x298d0a(_0x216e45),_0x3b1f4d=(0x0,_0x3dd072[_0x37e105(0x397)])((_0x3546ab==null?void 0x0:_0x3546ab[_0x37e105(0x33e)])??(_0x3546ab==null?void 0x0:_0x3546ab[_0x37e105(0x427)])??'');if(!_0x3ade98||!_0x3b1f4d||_0x3b1f4d['type']!==(0x0,_0x3dd072[_0x37e105(0x22f)])(_0x3ade98[_0x37e105(0x45f)]))return!0x1;let _0x14631e=(0x0,_0x3dd072[_0x37e105(0x361)])(_0x3ade98['shapeData'],_0x3b1f4d);if(!_0x14631e)return!0x1;let {drawing:_0x2ad4b9}=_0x3ade98;return _0x216e45[_0x37e105(0x2bd)](_0x889050['ICommandService'])[_0x37e105(0x1d3)](_0x41863e['UpdateDocShapeDataCommand']['id'],{'unitId':_0x2ad4b9['unitId'],'shapeId':_0x2ad4b9[_0x37e105(0x249)],'shapeData':_0x14631e,'oldShapeJSON':{'oldShapeData':_0x3ade98['shapeData']}});}},_0x468434={'id':_0x5d2b55(0x47e),'type':_0x889050['CommandType'][_0x5d2b55(0x247)],'handler':(_0x2c38f9,_0xb8adf7)=>{const _0x5d6ff4=_0x5d2b55;let _0x537c79=_0x298d0a(_0x2c38f9),_0x1faa4a=(_0xb8adf7==null?void 0x0:_0xb8adf7[_0x5d6ff4(0x337)])??(_0xb8adf7==null?void 0x0:_0xb8adf7[_0x5d6ff4(0x427)]);if(!_0x537c79||!_0x1faa4a||(0x0,_0xc6fd33[_0x5d6ff4(0x3f1)])(_0x537c79[_0x5d6ff4(0x337)])||(0x0,_0xc6fd33[_0x5d6ff4(0x3f1)])(_0x1faa4a))return!0x1;let _0x2cd210=(0x0,_0x3dd072[_0x5d6ff4(0x318)])(_0x537c79[_0x5d6ff4(0x45f)],_0x1faa4a);if(!_0x2cd210)return!0x1;let {drawing:_0x109f5d}=_0x537c79;return _0x2c38f9[_0x5d6ff4(0x2bd)](_0x889050[_0x5d6ff4(0x484)])[_0x5d6ff4(0x1d3)](_0x41863e[_0x5d6ff4(0x38d)]['id'],{'unitId':_0x109f5d[_0x5d6ff4(0x1f9)],'shapeId':_0x109f5d['drawingId'],'shapeType':_0x1faa4a,'shapeData':_0x2cd210,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x537c79[_0x5d6ff4(0x337)],'oldShapeData':_0x537c79[_0x5d6ff4(0x45f)]}});}};function _0x29bdea(_0x41b07e,_0x3cff2d){return function(_0xc3bdbd,_0x2eaa65){_0x3cff2d(_0xc3bdbd,_0x2eaa65,_0x41b07e);};}function _0x3b5a68(_0x13e342,_0x21a4b4,_0x563cbf,_0x55bbde){const _0xbd152=_0x5d2b55;var _0x364a4a=arguments[_0xbd152(0x24e)],_0x523608=_0x364a4a<0x3?_0x21a4b4:_0x55bbde===null?_0x55bbde=Object['getOwnPropertyDescriptor'](_0x21a4b4,_0x563cbf):_0x55bbde,_0x2b08d8;if(typeof Reflect==_0xbd152(0x218)&&typeof Reflect[_0xbd152(0x3e4)]==_0xbd152(0x1f3))_0x523608=Reflect[_0xbd152(0x3e4)](_0x13e342,_0x21a4b4,_0x563cbf,_0x55bbde);else{for(var _0x3fdab4=_0x13e342[_0xbd152(0x24e)]-0x1;_0x3fdab4>=0x0;_0x3fdab4--)(_0x2b08d8=_0x13e342[_0x3fdab4])&&(_0x523608=(_0x364a4a<0x3?_0x2b08d8(_0x523608):_0x364a4a>0x3?_0x2b08d8(_0x21a4b4,_0x563cbf,_0x523608):_0x2b08d8(_0x21a4b4,_0x563cbf))||_0x523608);}return _0x364a4a>0x3&&_0x523608&&Object[_0xbd152(0x1ad)](_0x21a4b4,_0x563cbf,_0x523608),_0x523608;}let _0x56d3dd=class extends _0x889050['Disposable']{constructor(_0x408f76,_0x21c1f3){const _0x465ed8=_0x5d2b55;super(),this[_0x465ed8(0x285)]=_0x408f76,this[_0x465ed8(0x3e9)]=_0x21c1f3,this[_0x465ed8(0x1b2)](),this[_0x465ed8(0x285)][_0x465ed8(0x2fc)](!0x0),this[_0x465ed8(0x367)]({'dispose':()=>this['_clipService'][_0x465ed8(0x2fc)](!0x1)});}[_0x5d2b55(0x1b2)](){const _0x5d0683=_0x5d2b55;let _0x138c54=new Map(),_0x30ff3f=this['_clipService']['registerClipDelegate']((_0x487fce,_0x2bacbc,_0x44b7fd,_0xd1d28f,_0x49952e)=>{const _0x1b721c=_0x4049;let _0x397b56=_0x2bacbc;if(_0x397b56===_0xc6fd33[_0x1b721c(0x34d)][_0x1b721c(0x444)]||_0x2bacbc===_0x1b721c(0x2a7))return!0x1;try{let _0x47a7b8=_0x138c54[_0x1b721c(0x2bd)](_0x2bacbc);return _0x47a7b8||(_0x47a7b8=new _0xc6fd33[(_0x1b721c(0x2fa))](_0x397b56,_0x1b721c(0x3dd)+_0x2bacbc),_0x138c54[_0x1b721c(0x3c4)](_0x2bacbc,_0x47a7b8)),_0x47a7b8['clearAdjustValue'](),_0x49952e&&Object[_0x1b721c(0x281)](_0x49952e)[_0x1b721c(0x24e)]>0x0&&_0x47a7b8[_0x1b721c(0x2a6)]({'adjustValues':_0x49952e},!0x0),_0x47a7b8['updateContext']({'width':_0x44b7fd,'height':_0xd1d28f}),_0x47a7b8[_0x1b721c(0x3a5)](_0x487fce,{'left':0x0,'top':0x0,'width':_0x44b7fd,'height':_0xd1d28f});}catch{return!0x1;}});this['disposeWithMe'](_0x30ff3f),this['disposeWithMe']({'dispose':()=>_0x138c54[_0x5d0683(0x250)]()});}[_0x5d2b55(0x2cc)](_0xcf022a,_0x1fa5d7,_0x11f753,_0x34062b,_0x3c0d27){const _0x399647=_0x5d2b55;let _0x6bb79e=this[_0x399647(0x3e9)][_0x399647(0x2dc)](_0xcf022a,_0x1fa5d7)[_0x11f753];!_0x6bb79e||_0x6bb79e['drawingType']!==_0x889050['DrawingTypeEnum'][_0x399647(0x3f4)]||this[_0x399647(0x3e9)][_0x399647(0x28e)]([{..._0x6bb79e,'prstGeom':_0x34062b,'adjustValues':_0x3c0d27}]);}};_0x56d3dd=_0x3b5a68([_0x29bdea(0x0,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x103470['DrawingImageClipService'])),_0x29bdea(0x1,(0x0,_0x889050['Inject'])(_0x2b39ea[_0x5d2b55(0x244)]))],_0x56d3dd);let _0x3a4380=_0x5d2b55(0x25e),_0xd1bfd4=_0x5d2b55(0x296);function _0x5cf504({onShapeClick:_0x5cc34a,excludeGroups:_0x34b0a1}){const _0x5916a7=_0x5d2b55;return(0x0,_0x468047['jsx'])(_0x122d1a[_0x5916a7(0x49b)],{'excludeGroups':_0x34b0a1,'onShapeClick':_0x5cc34a,'scrollContainer':_0x5916a7(0x21c)});}function _0x3bac8c(){const _0x2600dd=_0x5d2b55;let _0x37c12a=(0x0,_0x152418['useDependency'])(_0x2b39ea['IDrawingManagerService']),_0x1103ea=(0x0,_0x152418[_0x2600dd(0x40f)])(_0x56d3dd);return(0x0,_0x468047[_0x2600dd(0x4a0)])(_0x122d1a[_0x2600dd(0x265)],{'buttonLabel':_0x2600dd(0x47b),'excludeGroups':[_0x122d1a[_0x2600dd(0x316)][_0x2600dd(0x2f2)]],'onShapeClick':_0x1b169c=>{const _0x898359=_0x2600dd;let _0x111ed4=_0x37c12a[_0x898359(0x21b)]()['find'](_0x3167a1=>_0x3167a1[_0x898359(0x299)]===_0x889050[_0x898359(0x2c5)][_0x898359(0x3f4)]);if(!_0x111ed4)return;let {unitId:_0x2944a6,subUnitId:_0x3a5d1d,drawingId:_0x552ae3}=_0x111ed4;_0x1103ea[_0x898359(0x2cc)](_0x2944a6,_0x3a5d1d,_0x552ae3,_0x1b169c[_0x898359(0x430)]);}});}function _0x13a5d3(){const _0x260fe6=_0x5d2b55;let _0x3353ab=(0x0,_0x152418[_0x260fe6(0x40f)])(_0x152418[_0x260fe6(0x3bd)]),_0x45edd2=(0x0,_0x152418[_0x260fe6(0x40f)])(_0x2b39ea['IDrawingManagerService']),_0x16ce53=(0x0,_0x152418[_0x260fe6(0x40f)])(_0x889050[_0x260fe6(0x339)]),_0x49bfce=_0x45edd2[_0x260fe6(0x21b)]()[0x0],_0x59dce0=_0x49bfce?_0x16ce53[_0x260fe6(0x1e0)](_0x49bfce[_0x260fe6(0x1f9)]):void 0x0,_0x2dbde1=_0x59dce0===_0x889050[_0x260fe6(0x485)]['UNIVER_DOC']?_0xd1bfd4:_0x59dce0===_0x889050[_0x260fe6(0x485)][_0x260fe6(0x2bb)]?_0x260fe6(0x486):void 0x0,_0x566e03=_0x2dbde1?_0x3353ab[_0x260fe6(0x2bd)](_0x2dbde1):void 0x0;return _0x566e03?(0x0,_0x468047['jsx'])(_0x566e03,{}):null;}function _0x9244d2({paragraphMenuPlacement:_0xec1220}){const _0x2316a4=_0x5d2b55;let _0x442832=(0x0,_0x152418[_0x2316a4(0x40f)])(_0x889050[_0x2316a4(0x484)]);return(0x0,_0x468047[_0x2316a4(0x4a0)])(_0x5cf504,{'onShapeClick':_0x492ccf=>{const _0x3f7544=_0x2316a4;_0x442832[_0x3f7544(0x1d3)](_0xd5b306['id'],{'paragraphMenuPlacement':_0xec1220,'value':_0x492ccf[_0x3f7544(0x430)],'enhanceParams':{'endArrow':_0x492ccf[_0x3f7544(0x39a)],'startArrow':_0x492ccf[_0x3f7544(0x354)],'horizontal':_0x492ccf[_0x3f7544(0x2d5)],'vertical':_0x492ccf['vertical']}});}});}function _0x14ce21(_0x3ce788){const _0x3190ce=_0x5d2b55;return _0x419e66=>({'id':_0xd5b306['id'],'type':_0x152418[_0x3190ce(0x33d)][_0x3190ce(0x1b4)],'selections':[{'label':{'name':_0x3a4380,'hoverable':!0x1,'selectable':!0x1,'props':_0x3ce788?{'id':_0xd5b306['id'],'paragraphMenuPlacement':_0x3ce788}:{'id':_0xd5b306['id']}}}],'icon':_0x3190ce(0x3f7),'title':_0x3190ce(0x352),'tooltip':_0x3190ce(0x352),'hidden$':(0x0,_0x152418[_0x3190ce(0x1ca)])(_0x419e66,_0x889050['UniverInstanceType'][_0x3190ce(0x386)])});}let _0x199dc9=_0x14ce21(),_0x4f097f=_0x14ce21(_0x5d2b55(0x3e6)),_0x2e958e=_0x14ce21('target');function _0x535081(_0xdbb3da){const _0x48afca=_0x5d2b55;return{'id':_0xccfcdd['id'],'type':_0x152418[_0x48afca(0x33d)][_0x48afca(0x48f)],'icon':_0x48afca(0x38e),'title':_0x48afca(0x3f8),'tooltip':_0x48afca(0x3f8),'hidden$':(0x0,_0x152418['getMenuHiddenObservable'])(_0xdbb3da,_0x889050[_0x48afca(0x485)][_0x48afca(0x386)])};}function _0x4b32b1(_0x36a931,_0x31d545,_0x356f5a,_0x44b165,_0x5daa10,_0x486913){const _0x3d8b30=_0x5d2b55;let _0x7b5ff3={'unitId':_0x31d545,'shapeId':_0x44b165,'shapeData':_0x486913,'oldShapeJSON':_0x5daa10};return _0x36a931[_0x3d8b30(0x1d3)](_0x41863e[_0x3d8b30(0x38d)]['id'],_0x7b5ff3);}function _0x246717(_0x3b9d93,_0x1bd807,_0x332f11,_0x3241eb,_0x2af1bd,_0x72867a){const _0x4a5dec=_0x5d2b55;let _0x560a27={'unitId':_0x1bd807,'shapeId':_0x3241eb,'shapeData':_0x72867a,'oldShapeJSON':_0x2af1bd};return _0x3b9d93[_0x4a5dec(0x1d3)](_0x41863e['UpdateDocShapeDataCommand']['id'],_0x560a27);}let _0x5eddd5=_0x5d2b55(0x1ac),_0x263ac0='docs-shape-ui.shape-format.style-ribbon-control',_0x260a7c=_0x5d2b55(0x26c),_0x32e889=_0x5d2b55(0x440),_0x4b8b3e=_0x5d2b55(0x261),_0x26783d=[{'value':_0x32ae25['TextWrappingStyle'][_0x5d2b55(0x1d5)],'label':_0x5d2b55(0x1b3),'icon':'DocsShapeWrapInlineIcon'},{'value':_0x32ae25[_0x5d2b55(0x370)][_0x5d2b55(0x374)],'label':'docs-shape-ui.textWrap.square','icon':_0x5d2b55(0x405)},{'value':_0x32ae25[_0x5d2b55(0x370)][_0x5d2b55(0x1bc)],'label':'docs-shape-ui.textWrap.topAndBottom','icon':_0x5d2b55(0x4aa)},{'value':_0x32ae25[_0x5d2b55(0x370)]['BEHIND_TEXT'],'label':_0x5d2b55(0x3e3),'icon':_0x5d2b55(0x267)},{'value':_0x32ae25[_0x5d2b55(0x370)][_0x5d2b55(0x471)],'label':_0x5d2b55(0x413),'icon':'DocsShapeWrapInFrontOfTextIcon'}];function _0x12ee60(){const _0x3aedf9=_0x5d2b55;let _0x56b6b6=(0x0,_0x152418[_0x3aedf9(0x40f)])(_0x889050[_0x3aedf9(0x484)]),_0x54a6b6=(0x0,_0x152418[_0x3aedf9(0x40f)])(_0x2b39ea['IDrawingManagerService']),_0x5081df=(0x0,_0x152418[_0x3aedf9(0x40f)])(_0x41863e['DocsShapeService']),_0x48df38=()=>{const _0x1f9299=_0x3aedf9;var _0x27990c;let _0x3a8cbf=_0x54a6b6[_0x1f9299(0x21b)]();if(_0x3a8cbf[_0x1f9299(0x24e)]!==0x1||((_0x27990c=_0x3a8cbf[0x0])==null?void 0x0:_0x27990c['drawingType'])!==_0x889050['DrawingTypeEnum'][_0x1f9299(0x410)])return null;let {unitId:_0x28c203,subUnitId:_0x632565,drawingId:_0x371369}=_0x3a8cbf[0x0],_0x2a930d=_0x5081df['getShapeTypeById'](_0x28c203,_0x632565,_0x371369),_0x392f2b=_0x5081df['getShapeDataById'](_0x28c203,_0x632565,_0x371369);return _0x2a930d===void 0x0||!_0x392f2b?null:{'unitId':_0x28c203,'subUnitId':_0x632565,'drawingId':_0x371369,'shapeType':_0x2a930d,'shapeData':_0x392f2b};},_0x4494c6=(0x0,_0x152418[_0x3aedf9(0x1ce)])(()=>new _0x14d6bc[(_0x3aedf9(0x387))](_0x39ba1c=>{const _0x55ed6d=_0x3aedf9;let _0x1992fe=()=>_0x39ba1c['next'](_0x48df38()),_0x4caef7=_0x54a6b6[_0x55ed6d(0x3b8)][_0x55ed6d(0x431)](_0x1992fe),_0x20124e=_0x56b6b6[_0x55ed6d(0x38b)](_0xcb1a7c=>{const _0x2519ed=_0x55ed6d;_0xcb1a7c['id']===_0x41863e[_0x2519ed(0x263)]['id']&&_0x1992fe();});return _0x1992fe(),()=>{const _0x22f93c=_0x55ed6d;_0x4caef7[_0x22f93c(0x3f9)](),_0x20124e['dispose']();};}),_0x48df38(),!0x1,[_0x56b6b6,_0x5081df,_0x54a6b6]);return{'selection':_0x4494c6,'updateShapeData':_0x5838e3=>{const _0x27daa6=_0x3aedf9;_0x4494c6&&_0x4b32b1(_0x56b6b6,_0x4494c6[_0x27daa6(0x1f9)],_0x4494c6[_0x27daa6(0x277)],_0x4494c6[_0x27daa6(0x249)],{'oldShapeData':_0x4494c6[_0x27daa6(0x45f)]},_0x5838e3);}};}function _0x74b27(){const _0x5e536d=_0x5d2b55;let {selection:_0xd8bc81,updateShapeData:_0x1a663f}=_0x12ee60();return _0xd8bc81?(0x0,_0x468047[_0x5e536d(0x4a0)])(_0x122d1a[_0x5e536d(0x2c0)],{'shapeData':_0xd8bc81[_0x5e536d(0x45f)],'shapeType':_0xd8bc81[_0x5e536d(0x337)],'onUpdateShapeData':_0x1a663f}):null;}function _0x49ce56(){const _0x581918=_0x5d2b55;let _0x3bf6a8=(0x0,_0x152418[_0x581918(0x40f)])(_0x889050[_0x581918(0x484)]),_0x51eb22=(0x0,_0x152418[_0x581918(0x40f)])(_0x889050[_0x581918(0x26b)]),{selection:_0x5c1550}=_0x12ee60();return _0x5c1550?(0x0,_0x468047[_0x581918(0x4a0)])(_0x122d1a[_0x581918(0x429)],{'type':(0x0,_0x3dd072[_0x581918(0x22f)])(_0x5c1550[_0x581918(0x45f)]),'ariaLabel':_0x51eb22['t']('docs-shape-ui.quickStyles'),'activePresetId':(0x0,_0x3dd072['resolveActiveShapeQuickStylePresetId'])(_0x5c1550[_0x581918(0x45f)]),'onSelect':_0x172c55=>_0x3bf6a8['executeCommand'](_0x24ddd4['id'],{'presetId':_0x172c55})}):null;}function _0x52aa36(){const _0x491cd9=_0x5d2b55;let {selection:_0x5b1345,updateShapeData:_0x2555e5}=_0x12ee60();return _0x5b1345?(0x0,_0x468047['jsx'])(_0x122d1a[_0x491cd9(0x388)],{'fontFamilyPopupDataComponent':_0x491cd9(0x43e),'shapeData':_0x5b1345[_0x491cd9(0x45f)],'onUpdateShapeData':_0x2555e5}):null;}function _0xd3c34f(){const _0x3996f7=_0x5d2b55;var _0x3377c0;let {selection:_0x26afcf,updateShapeData:_0x3cc025}=_0x12ee60(),_0x5e19d7=(0x0,_0x122d1a[_0x3996f7(0x332)])({'hostType':_0x889050[_0x3996f7(0x485)][_0x3996f7(0x386)],'unitId':(_0x26afcf==null?void 0x0:_0x26afcf['unitId'])??'','subUnitId':(_0x26afcf==null?void 0x0:_0x26afcf['subUnitId'])??'','shapeId':(_0x26afcf==null?void 0x0:_0x26afcf[_0x3996f7(0x249)])??'','shapeData':_0x26afcf==null?void 0x0:_0x26afcf[_0x3996f7(0x45f)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x3996f7(0x35a),'onUpdateBinding':_0x45f014=>_0x3cc025({'formulaBinding':_0x45f014})}),_0x3a0a64=((_0x3377c0=_0x5e19d7['extensionGroups'])==null?void 0x0:_0x3377c0[_0x3996f7(0x4a2)](_0x50c2f4=>_0x50c2f4[_0x3996f7(0x3d5)])[_0x3996f7(0x29c)](_0x4e10cb=>_0x4e10cb[_0x3996f7(0x457)]!==!0x1))??[];return _0x26afcf!=null&&_0x26afcf['shapeData']['formulaBinding']?(0x0,_0x468047[_0x3996f7(0x4a0)])(_0x122d1a[_0x3996f7(0x48b)],{'actions':_0x3a0a64,'panel':_0x5e19d7[_0x3996f7(0x1d6)]}):null;}function _0x230595({value:_0x1ab205}){const _0x204981=_0x5d2b55;let _0x37f0c8=(0x0,_0x152418[_0x204981(0x40f)])(_0x889050[_0x204981(0x26b)]),_0x146e9f=_0x26783d[_0x204981(0x368)](_0x11a7b7=>_0x11a7b7[_0x204981(0x427)]===_0x1ab205)??_0x26783d[0x0];return _0x146e9f?(0x0,_0x468047[_0x204981(0x4a0)])('span',{'children':_0x37f0c8['t'](_0x146e9f[_0x204981(0x1f0)])}):null;}let _0xa31b9=_0x5d2b55(0x396),_0x5b4111=_0x5d2b55(0x33c),_0x2b3d20=_0x5d2b55(0x23e),_0x1154c2=_0x5d2b55(0x315),_0x19466d=_0x5d2b55(0x34c),_0x33ebe5=_0x5d2b55(0x319),_0x42de22=_0x5d2b55(0x359),_0x2cfbdd=_0x5d2b55(0x1d7);function _0x5bba28(_0x40599a){const _0x559a2b=_0x5d2b55;let _0x186e41=_0x40599a[_0x559a2b(0x2bd)](_0x889050[_0x559a2b(0x484)]),_0x3e014d=_0x40599a[_0x559a2b(0x2bd)](_0x2b39ea[_0x559a2b(0x244)]),_0x1056a2=_0x40599a[_0x559a2b(0x2bd)](_0x41863e[_0x559a2b(0x476)]);return new _0x14d6bc[(_0x559a2b(0x387))](_0x45a3ab=>{const _0x36ae9e=_0x559a2b;let _0xfb95d6=()=>{const _0x384ca6=_0x4049;let _0x490b2b=_0x3a1898(_0x40599a),_0x4eb3da=_0x490b2b?_0x1056a2[_0x384ca6(0x27b)](_0x490b2b[_0x384ca6(0x1f9)],_0x490b2b[_0x384ca6(0x277)],_0x490b2b['drawingId']):null;_0x45a3ab[_0x384ca6(0x49c)](_0x4eb3da?(0x0,_0x3dd072[_0x384ca6(0x358)])(_0x4eb3da)??'':'');},_0x1f9ffd=_0x3e014d['focus$'][_0x36ae9e(0x431)](_0xfb95d6),_0x1e4e38=_0x186e41[_0x36ae9e(0x38b)](_0x417589=>{const _0x2fb888=_0x36ae9e;_0x417589['id']===_0x41863e[_0x2fb888(0x263)]['id']&&_0xfb95d6();});return _0xfb95d6(),()=>{const _0x1621a5=_0x36ae9e;_0x1f9ffd[_0x1621a5(0x3f9)](),_0x1e4e38['dispose']();};});}function _0x3a1898(_0x234828){const _0x54dc2c=_0x5d2b55;var _0x5b1714;let _0x8e7bc7=_0x234828[_0x54dc2c(0x2bd)](_0x2b39ea[_0x54dc2c(0x244)])[_0x54dc2c(0x21b)]();return _0x8e7bc7[_0x54dc2c(0x24e)]===0x1&&((_0x5b1714=_0x8e7bc7[0x0])==null?void 0x0:_0x5b1714[_0x54dc2c(0x299)])===_0x889050[_0x54dc2c(0x2c5)]['DRAWING_SHAPE']?_0x8e7bc7[0x0]:null;}function _0xcab809(_0x127754){const _0x59d4ca=_0x5d2b55;return(_0x127754==null?void 0x0:_0x127754[_0x59d4ca(0x32c)])===_0x889050['PositionedObjectLayoutType']['WRAP_NONE']?_0x127754['behindDoc']===_0x889050[_0x59d4ca(0x2e5)][_0x59d4ca(0x2a5)]?_0x32ae25['TextWrappingStyle'][_0x59d4ca(0x428)]:_0x32ae25[_0x59d4ca(0x370)][_0x59d4ca(0x471)]:(_0x127754==null?void 0x0:_0x127754['layoutType'])===_0x889050[_0x59d4ca(0x239)][_0x59d4ca(0x374)]?_0x32ae25[_0x59d4ca(0x370)]['WRAP_SQUARE']:(_0x127754==null?void 0x0:_0x127754[_0x59d4ca(0x32c)])===_0x889050[_0x59d4ca(0x239)][_0x59d4ca(0x1bc)]?_0x32ae25[_0x59d4ca(0x370)][_0x59d4ca(0x1bc)]:_0x32ae25['TextWrappingStyle'][_0x59d4ca(0x1d5)];}function _0x5c5c89(_0x3d285c){const _0x342de7=_0x5d2b55;let _0x102fcf=_0x3d285c[_0x342de7(0x2bd)](_0x889050[_0x342de7(0x484)]),_0x401163=_0x3d285c[_0x342de7(0x2bd)](_0x2b39ea['IDrawingManagerService']),_0x27e45c=_0x3d285c['get'](_0x889050['IUniverInstanceService']);return new _0x14d6bc[(_0x342de7(0x387))](_0x1b5586=>{const _0x48e584=_0x342de7;let _0x333a3e=()=>{const _0x1bd0df=_0x4049;var _0x2311d5;let _0x158575=_0x3a1898(_0x3d285c),_0x392e84=_0x158575?_0x27e45c['getUnit'](_0x158575[_0x1bd0df(0x1f9)],_0x889050['UniverInstanceType']['UNIVER_DOC']):void 0x0;_0x1b5586['next'](_0xcab809(_0x158575?_0x392e84==null||(_0x2311d5=_0x392e84[_0x1bd0df(0x321)]()[_0x1bd0df(0x23c)])==null?void 0x0:_0x2311d5[_0x158575[_0x1bd0df(0x249)]]:void 0x0));},_0x402f32=_0x401163[_0x48e584(0x3b8)][_0x48e584(0x431)](_0x333a3e),_0x209380=_0x102fcf[_0x48e584(0x38b)](_0x1bfe01=>{const _0x179b0e=_0x48e584;_0x1bfe01['id']===_0x580571[_0x179b0e(0x287)]['id']&&_0x333a3e();});return _0x333a3e(),()=>{const _0x4f9949=_0x48e584;_0x402f32[_0x4f9949(0x3f9)](),_0x209380[_0x4f9949(0x2c3)]();};})[_0x342de7(0x1d1)]((0x0,_0x14d6bc[_0x342de7(0x2d8)])());}function _0xf9a189(_0x3e0c43,_0x6f162=!0x1){const _0x121762=_0x5d2b55;let _0x3dd442=_0x3e0c43['get'](_0x889050[_0x121762(0x484)]),_0x1ffb55=_0x3e0c43[_0x121762(0x2bd)](_0x2b39ea['IDrawingManagerService']),_0x3a189e=_0x3e0c43[_0x121762(0x2bd)](_0x41863e[_0x121762(0x476)]);return new _0x14d6bc[(_0x121762(0x387))](_0x18c9b1=>{const _0x5f4ab3=_0x121762;let _0x16219c=()=>{const _0x3b9da4=_0x4049;let _0x37d70c=_0x3a1898(_0x3e0c43);if(!_0x37d70c){_0x18c9b1[_0x3b9da4(0x49c)](!0x0);return;}let _0x413814=_0x3a189e[_0x3b9da4(0x27b)](_0x37d70c['unitId'],_0x37d70c[_0x3b9da4(0x277)],_0x37d70c[_0x3b9da4(0x249)]);_0x18c9b1[_0x3b9da4(0x49c)](!_0x413814||_0x6f162&&_0x413814[_0x3b9da4(0x49e)]==null);},_0x2287c7=_0x1ffb55[_0x5f4ab3(0x3b8)]['subscribe'](_0x16219c),_0x365872=_0x3dd442[_0x5f4ab3(0x38b)](_0x43e06a=>{const _0x27dd9d=_0x5f4ab3;_0x43e06a['id']===_0x41863e[_0x27dd9d(0x263)]['id']&&_0x16219c();});return _0x16219c(),()=>{const _0x39639f=_0x5f4ab3;_0x2287c7[_0x39639f(0x3f9)](),_0x365872[_0x39639f(0x2c3)]();};});}function _0x32a818(_0x4a6bff){const _0x438283=_0x5d2b55;let _0x41a5c1=_0x4a6bff['get'](_0x2b39ea[_0x438283(0x244)]),_0x44b549=_0x4a6bff[_0x438283(0x2bd)](_0x41863e[_0x438283(0x476)]);return _0x41a5c1[_0x438283(0x3b8)][_0x438283(0x1d1)]((0x0,_0x14d6bc[_0x438283(0x25c)])(_0x41a5c1[_0x438283(0x21b)]()),(0x0,_0x14d6bc['map'])(()=>{const _0x52912f=_0x438283;let _0x39964f=_0x3a1898(_0x4a6bff),_0x48c52e=_0x39964f?_0x44b549[_0x52912f(0x3eb)](_0x39964f[_0x52912f(0x1f9)],_0x39964f[_0x52912f(0x277)],_0x39964f['drawingId']):void 0x0;return _0x48c52e===void 0x0||(0x0,_0xc6fd33[_0x52912f(0x3f1)])(_0x48c52e);}));}function _0x2c903a(_0x330bea){const _0x301ed3=_0x5d2b55;return{'id':_0x24ddd4['id'],'type':_0x152418['MenuItemType'][_0x301ed3(0x1b4)],'icon':'PaintIcon','title':_0x301ed3(0x1c4),'tooltip':_0x301ed3(0x1c4),'selections':[{'label':{'name':_0x5eddd5,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x5bba28(_0x330bea),'hidden$':_0xf9a189(_0x330bea)};}function _0x7908fd(_0x2ae457){const _0x26c072=_0x5d2b55;return{'id':_0x468434['id'],'type':_0x152418[_0x26c072(0x33d)][_0x26c072(0x1b4)],'icon':_0x26c072(0x3f7),'title':'shape-editor-ui.toolbar.changeShape','tooltip':_0x26c072(0x3e1),'slot':!0x0,'selections':[{'label':{'name':_0x122d1a[_0x26c072(0x3b9)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x32a818(_0x2ae457)};}function _0x2f0af9(_0x83849f,_0x55ba0f,_0x120526=!0x1){const _0x4877c4=_0x5d2b55;return _0x472c13=>({'id':_0x83849f,'type':_0x152418[_0x4877c4(0x33d)]['BUTTON'],'label':{'name':_0x55ba0f,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0xf9a189(_0x472c13,_0x120526)});}let _0x1abcd0=_0x2f0af9(_0xa31b9,_0x263ac0),_0x344bb1=_0x2f0af9(_0x5b4111,_0x260a7c),_0x43b153=_0x2f0af9(_0x2b3d20,_0x32e889,!0x0);function _0x5d9c17(_0x3e3ca5){const _0x49a559=_0x5d2b55;return{'id':_0x2cfbdd,'type':_0x152418[_0x49a559(0x33d)][_0x49a559(0x1b4)],'icon':_0x26783d[0x0][_0x49a559(0x254)],'label':_0x4b8b3e,'selectionsCommandId':_0x32ae25[_0x49a559(0x2bc)]['id'],'selections':_0x26783d[_0x49a559(0x2ca)](({icon:_0x3edcd2,label:_0x2984ff,value:_0x7776fa})=>({'value':_0x7776fa,'label':_0x2984ff,'icon':_0x3edcd2,'params':()=>{const _0xd56b49=_0x49a559;let _0x25e165=_0x3a1898(_0x3e3ca5);return _0x25e165?{'unitId':_0x25e165[_0xd56b49(0x1f9)],'subUnitId':_0x25e165[_0xd56b49(0x277)],'drawings':[{'unitId':_0x25e165[_0xd56b49(0x1f9)],'subUnitId':_0x25e165[_0xd56b49(0x277)],'drawingId':_0x25e165[_0xd56b49(0x249)]}],'wrappingStyle':_0x7776fa}:void 0x0;}})),'value$':_0x5c5c89(_0x3e3ca5),'hidden$':_0xf9a189(_0x3e3ca5)};}function _0x321b34(_0x22705e,_0x486ae1,_0x538143,_0x356adf){const _0x2cdbb8=_0x5d2b55;return _0x2a3f3f=>({'id':_0x22705e,'commandId':_0x32ae25[_0x2cdbb8(0x2ce)]['id'],'type':_0x152418[_0x2cdbb8(0x33d)][_0x2cdbb8(0x48f)],'icon':_0x538143,'title':_0x356adf,'tooltip':_0x356adf,'hidden$':_0xf9a189(_0x2a3f3f),'params':()=>{const _0x161d3c=_0x2cdbb8;let _0x1245f8=_0x3a1898(_0x2a3f3f);return _0x1245f8?{'unitId':_0x1245f8[_0x161d3c(0x1f9)],'subUnitId':_0x1245f8[_0x161d3c(0x277)],'drawingIds':[_0x1245f8[_0x161d3c(0x249)]],'arrangeType':_0x486ae1}:void 0x0;}});}let _0x497c1e=_0x321b34(_0x1154c2,_0x889050[_0x5d2b55(0x3e7)][_0x5d2b55(0x3b1)],'MoveUpIcon',_0x5d2b55(0x3b4)),_0x35a29a=_0x321b34(_0x19466d,_0x889050[_0x5d2b55(0x3e7)][_0x5d2b55(0x393)],_0x5d2b55(0x402),'shape-editor-ui.arrange.backward'),_0x2eb9dc=_0x321b34(_0x33ebe5,_0x889050[_0x5d2b55(0x3e7)][_0x5d2b55(0x311)],_0x5d2b55(0x2e9),_0x5d2b55(0x45a)),_0x9acb85=_0x321b34(_0x42de22,_0x889050[_0x5d2b55(0x3e7)][_0x5d2b55(0x202)],_0x5d2b55(0x2d1),_0x5d2b55(0x2a8));function _0x4774dc(_0x38b872){const _0x358485=_0x5d2b55;return{'id':_0xfcd867['id'],'type':_0x152418[_0x358485(0x33d)]['BUTTON'],'icon':'ShapeFormatSettingIcon','title':_0x358485(0x434),'tooltip':_0x358485(0x434),'hidden$':_0xf9a189(_0x38b872),'params':()=>{const _0x455004=_0x358485;let _0x254bd9=_0x3a1898(_0x38b872);return _0x254bd9?{'unitId':_0x254bd9['unitId'],'subUnitId':_0x254bd9[_0x455004(0x277)],'drawingId':_0x254bd9['drawingId']}:void 0x0;}};}let _0x33a5a9={[_0x152418[_0x5d2b55(0x404)][_0x5d2b55(0x2e7)]]:{[_0x48e949]:{'order':0x64,'title':'docs-shape-ui.formatShape','contextual':!0x0,'docs-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x24ddd4['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x2c903a},[_0x468434['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x7908fd}},'docs-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0xa31b9]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x1abcd0}},'docs-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x5b4111]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x344bb1}},'docs-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x2cfbdd]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'columnSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x5d9c17},[_0x1154c2]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x497c1e},[_0x19466d]:{'order':0x2,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x35a29a},[_0x33ebe5]:{'order':0x3,'gridLayout':{'row':0x1,'column':0x4},'menuItemFactory':_0x2eb9dc},[_0x42de22]:{'order':0x4,'gridLayout':{'row':0x2,'column':0x4},'menuItemFactory':_0x9acb85}},'docs-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x2b3d20]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x43b153}},'docs-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0xfcd867['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x4774dc},[_0x122d1a[_0x5d2b55(0x27f)]['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x122d1a[_0x5d2b55(0x406)]}}}}},_0xe2c554={[_0x152418[_0x5d2b55(0x3a3)][_0x5d2b55(0x25f)]]:{[_0xd5b306['id']]:{'order':0x4,'menuItemFactory':_0x344e27=>({..._0x199dc9(_0x344e27),'title':void 0x0})}},[_0x152418[_0x5d2b55(0x3a3)][_0x5d2b55(0x493)]]:{[_0xccfcdd['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x535081}},[_0x152418[_0x5d2b55(0x40d)][_0x5d2b55(0x3aa)]]:{[_0x152418[_0x5d2b55(0x349)][_0x5d2b55(0x346)]]:{[_0x1dd9a1[_0x5d2b55(0x347)]]:{[_0xd5b306['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x4f097f}}},[_0x1dd9a1[_0x5d2b55(0x3d0)]]:{[_0x152418['ContextMenuGroup']['LAYOUT']]:{[_0xd5b306['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x4f097f}}},[_0x1dd9a1['EMPTY_PARAGRAPH_MENU_ID']]:{[_0x152418[_0x5d2b55(0x349)][_0x5d2b55(0x346)]]:{[_0xd5b306['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x2e958e}}},[_0x1dd9a1[_0x5d2b55(0x4ab)]]:{'insert':{[_0xd5b306['id']]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x199dc9}}},[_0x1dd9a1[_0x5d2b55(0x2e8)]]:{'insert':{[_0xd5b306['id']+_0x5d2b55(0x345)]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x4f097f}}}}};var _0x2d82b1='@univerjs-pro/docs-shape-ui',_0x5f016b=_0x5d2b55(0x28a);let _0x38bbf0={'type':_0x889050[_0x5d2b55(0x2af)]['OPERATION'],'id':_0x5d2b55(0x487),'handler'(){return!0x0;}},_0x9527ab={};function _0x1780f3({ref:_0x206e7f,..._0x3ef09f}){const _0x237c3f=_0x5d2b55;let {preserveStrokeWidth:_0x18c3fc,icon:_0x48ed32,id:_0x121582,className:_0x11d423,extend:_0x2daeaf,..._0x3ec623}=_0x3ef09f,_0x3d431f=(_0x237c3f(0x355)+_0x121582+'\x20'+(_0x11d423||''))['trim'](),_0x4e48d1='_'+(0x0,_0x153666[_0x237c3f(0x22a)])(),_0x19ad1f=(0x0,_0x153666['useRef'])(null);return(0x0,_0x153666[_0x237c3f(0x475)])(_0x206e7f,()=>_0x19ad1f['current']),(0x0,_0x153666[_0x237c3f(0x482)])(()=>{const _0x54f067=_0x237c3f;if(!(!_0x18c3fc||!_0x19ad1f[_0x54f067(0x2e2)]||_0x19ad1f[_0x54f067(0x2e2)]['localName']!==_0x48ed32['tag']))return _0x458fd7(_0x19ad1f[_0x54f067(0x2e2)]);},[_0x18c3fc,_0x48ed32]),_0xbad203(_0x48ed32,''+_0x121582,{'defIds':_0x48ed32['defIds'],'idSuffix':_0x4e48d1},{'ref':_0x19ad1f,'className':_0x3d431f,..._0x3ec623},_0x2daeaf);}function _0xbad203(_0x2e21f9,_0x58c9d9,_0x5bc2a2,_0x4e9eed,_0x2ecb46){const _0x491687=_0x5d2b55;return(0x0,_0x153666[_0x491687(0x1d8)])(_0x2e21f9[_0x491687(0x2f7)],{'key':_0x58c9d9,..._0x2fe24e(_0x2e21f9,_0x5bc2a2,_0x2ecb46),..._0x4e9eed},(_0x1b21e3(_0x2e21f9,_0x5bc2a2)['children']||[])[_0x491687(0x2ca)]((_0x56c7ab,_0x3ca467)=>_0xbad203(_0x56c7ab,_0x58c9d9+'-'+_0x2e21f9[_0x491687(0x2f7)]+'-'+_0x3ca467,_0x5bc2a2,void 0x0,_0x2ecb46)));}function _0x2fe24e(_0x4c7820,_0x113be9,_0xf57b86){const _0x3ad805=_0x5d2b55;let _0x505b5b={..._0x4c7820[_0x3ad805(0x36a)]};_0xf57b86!=null&&_0xf57b86[_0x3ad805(0x23b)]&&_0x505b5b[_0x3ad805(0x2de)]==='colorChannel1'&&(_0x505b5b[_0x3ad805(0x2de)]=_0xf57b86[_0x3ad805(0x23b)]),_0xf57b86!=null&&_0xf57b86['colorChannel1']&&_0x505b5b['stroke']==='colorChannel1'&&(_0x505b5b['stroke']=_0xf57b86[_0x3ad805(0x23b)]),_0x4c7820['tag']==='mask'&&_0x505b5b['id']&&(_0x505b5b['id']+=_0x113be9[_0x3ad805(0x3f2)]),Object['entries'](_0x505b5b)[_0x3ad805(0x3be)](([_0x2c342d,_0x5447f5])=>{const _0xf058c1=_0x3ad805;_0x2c342d==='mask'&&typeof _0x5447f5==_0xf058c1(0x3ae)&&(_0x505b5b[_0x2c342d]=_0x5447f5[_0xf058c1(0x41b)](/url\(#(.*)\)/,'url(#$1'+_0x113be9[_0xf058c1(0x3f2)]+')'));});let {defIds:_0x1d02d7}=_0x113be9;return!_0x1d02d7||_0x1d02d7['length']===0x0?_0x505b5b:(_0x4c7820['tag']===_0x3ad805(0x24d)&&_0x505b5b[_0x3ad805(0x425)]&&(_0x505b5b[_0x3ad805(0x425)]+=_0x113be9[_0x3ad805(0x3f2)]),Object[_0x3ad805(0x224)](_0x505b5b)[_0x3ad805(0x3be)](([_0x1a0c6d,_0x10b238])=>{const _0xf9b1c8=_0x3ad805;typeof _0x10b238==_0xf9b1c8(0x3ae)&&(_0x505b5b[_0x1a0c6d]=_0x10b238['replace'](/url\(#(.*)\)/,_0xf9b1c8(0x2c1)+_0x113be9['idSuffix']+')'));}),_0x505b5b);}function _0x1b21e3(_0x45a643,_0x1ebe17){const _0x163ca7=_0x5d2b55;var _0x37d43b;let {defIds:_0x413f8b}=_0x1ebe17;return!_0x413f8b||_0x413f8b[_0x163ca7(0x24e)]===0x0?_0x45a643:_0x45a643['tag']===_0x163ca7(0x23d)&&(_0x37d43b=_0x45a643[_0x163ca7(0x1dd)])!=null&&_0x37d43b[_0x163ca7(0x24e)]?{..._0x45a643,'children':_0x45a643[_0x163ca7(0x1dd)][_0x163ca7(0x2ca)](_0x10bfc9=>typeof _0x10bfc9[_0x163ca7(0x36a)]['id']==_0x163ca7(0x3ae)&&_0x413f8b&&_0x413f8b[_0x163ca7(0x2ba)](_0x10bfc9[_0x163ca7(0x36a)]['id'])?{..._0x10bfc9,'attrs':{..._0x10bfc9[_0x163ca7(0x36a)],'id':_0x10bfc9['attrs']['id']+_0x1ebe17[_0x163ca7(0x3f2)]}}:_0x10bfc9)}:_0x45a643;}function _0x458fd7(_0x4a38e3){const _0x24b7c8=_0x5d2b55;let _0x17b8c2=_0x4a38e3[_0x24b7c8(0x43c)][_0x24b7c8(0x366)],_0x2b125a=Math['max'](_0x17b8c2[_0x24b7c8(0x1f4)],_0x17b8c2['height']);if(!Number[_0x24b7c8(0x4b4)](_0x2b125a)||_0x2b125a<=0x0||_0x17b8c2[_0x24b7c8(0x1f4)]<=0x0||_0x17b8c2[_0x24b7c8(0x3ed)]<=0x0)return()=>void 0x0;let _0x58ba29=0x10/_0x2b125a,_0x180be6=Array[_0x24b7c8(0x3a6)](_0x4a38e3[_0x24b7c8(0x309)](_0x24b7c8(0x1af)))[_0x24b7c8(0x4a2)](_0x2ff80c=>{const _0x22cc10=_0x24b7c8;let _0x263486=getComputedStyle(_0x2ff80c),_0x45276b=Number['parseFloat'](_0x263486['strokeWidth']);return _0x263486[_0x22cc10(0x1c6)]===_0x22cc10(0x4a9)||Number[_0x22cc10(0x3e0)](_0x263486[_0x22cc10(0x458)])===0x0||_0x263486[_0x22cc10(0x29b)]===_0x22cc10(0x456)||!Number[_0x22cc10(0x4b4)](_0x45276b)||_0x45276b<=0x0?[]:[{'element':_0x2ff80c,'hadStyleAttribute':_0x2ff80c[_0x22cc10(0x40e)](_0x22cc10(0x3c0)),'originalStrokeWidth':_0x45276b,'strokeWidth':_0x5a2447(_0x2ff80c['style'],'stroke-width')}];})['map'](_0x24f356=>({'appliedStrokeWidth':null,'element':_0x24f356[_0x24b7c8(0x33f)],'hadStyleAttribute':_0x24f356[_0x24b7c8(0x2c4)],'isReleased':!0x1,'originalStrokeWidth':_0x24f356[_0x24b7c8(0x4b0)],'strokeWidth':_0x24f356['strokeWidth']}));if(_0x180be6[_0x24b7c8(0x24e)]===0x0)return()=>void 0x0;let _0x2a9f03=(_0x4578d6,_0x350f0b)=>{const _0x5116ba=_0x24b7c8;if(_0x17b8c2[_0x5116ba(0x1f4)]<=0x0||_0x17b8c2['height']<=0x0||_0x4578d6<=0x0||_0x350f0b<=0x0)return;let _0x3b3372=Math['min'](_0x4578d6/_0x17b8c2['width'],_0x350f0b/_0x17b8c2[_0x5116ba(0x3ed)]);!Number[_0x5116ba(0x4b4)](_0x3b3372)||_0x3b3372<=0x0||_0x180be6['forEach'](_0x1de674=>{const _0x45d40c=_0x5116ba;if(_0x1de674[_0x45d40c(0x1eb)])return;if(_0x1de674[_0x45d40c(0x35f)]!==null&&(_0x1de674[_0x45d40c(0x33f)]['style'][_0x45d40c(0x42f)](_0x45d40c(0x39d))!==_0x1de674[_0x45d40c(0x35f)]||_0x1de674[_0x45d40c(0x33f)]['style'][_0x45d40c(0x31d)]('stroke-width')!==_0x1de674[_0x45d40c(0x2f6)][_0x45d40c(0x1b6)])){_0x1de674[_0x45d40c(0x35f)]=null,_0x1de674[_0x45d40c(0x1eb)]=!0x0;return;}let _0x136f45=_0x1de674[_0x45d40c(0x4b0)]*_0x58ba29/_0x3b3372,_0x11606b=Number(_0x136f45[_0x45d40c(0x4a6)](0xc))+'px';_0x1de674[_0x45d40c(0x33f)][_0x45d40c(0x3c0)][_0x45d40c(0x2ac)](_0x45d40c(0x39d),_0x11606b,_0x1de674[_0x45d40c(0x2f6)][_0x45d40c(0x1b6)]),_0x1de674[_0x45d40c(0x35f)]=_0x11606b;});},_0x190069=_0x4a38e3['getBoundingClientRect']();_0x2a9f03(_0x190069[_0x24b7c8(0x1f4)],_0x190069[_0x24b7c8(0x3ed)]);let _0x3a6e40=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x25167e=>{const _0x340907=_0x24b7c8;if(_0x25167e[_0x340907(0x3ca)](_0x3a456a=>_0x3a456a['target']===_0x4a38e3)){let _0x492fd9=_0x4a38e3['getBoundingClientRect']();_0x2a9f03(_0x492fd9[_0x340907(0x1f4)],_0x492fd9[_0x340907(0x3ed)]);}});return _0x3a6e40==null||_0x3a6e40['observe'](_0x4a38e3),()=>{const _0x58f9e0=_0x24b7c8;_0x3a6e40==null||_0x3a6e40[_0x58f9e0(0x1c8)](),_0x180be6[_0x58f9e0(0x3be)](_0x1497f1=>{const _0x597997=_0x58f9e0;_0x1497f1[_0x597997(0x35f)]!==null&&(_0x164c76(_0x1497f1[_0x597997(0x33f)][_0x597997(0x3c0)],_0x597997(0x39d),_0x1497f1['appliedStrokeWidth'],_0x1497f1[_0x597997(0x2f6)][_0x597997(0x1b6)],_0x1497f1[_0x597997(0x2f6)]),!_0x1497f1['hadStyleAttribute']&&_0x1497f1[_0x597997(0x33f)][_0x597997(0x3c0)][_0x597997(0x24e)]===0x0&&_0x1497f1[_0x597997(0x33f)][_0x597997(0x48e)](_0x597997(0x3c0)));});};}function _0x5a2447(_0x56223a,_0x43f829){const _0x1761b8=_0x5d2b55;return{'priority':_0x56223a['getPropertyPriority'](_0x43f829),'value':_0x56223a[_0x1761b8(0x42f)](_0x43f829)};}function _0x164c76(_0x5d71ec,_0x37e50d,_0x10aa05,_0x224b37,_0x599f60){const _0x7b662d=_0x5d2b55;_0x5d71ec[_0x7b662d(0x42f)](_0x37e50d)===_0x10aa05&&_0x5d71ec[_0x7b662d(0x31d)](_0x37e50d)===_0x224b37&&(_0x599f60['value']?_0x5d71ec[_0x7b662d(0x2ac)](_0x37e50d,_0x599f60[_0x7b662d(0x427)],_0x599f60['priority']):_0x5d71ec[_0x7b662d(0x41c)](_0x37e50d));}_0x1780f3[_0x5d2b55(0x27c)]=_0x5d2b55(0x468);let _0x47dfa4={'tag':_0x5d2b55(0x20a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5d2b55(0x4a9),'viewBox':_0x5d2b55(0x39e),'width':_0x5d2b55(0x44a),'height':'1em'},'children':[{'tag':_0x5d2b55(0x301),'attrs':{'fill':_0x5d2b55(0x1cf),'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':_0x5d2b55(0x242),'clipRule':'evenodd'}},{'tag':'path','attrs':{'fill':_0x5d2b55(0x1cf),'d':_0x5d2b55(0x3cd),'fillRule':_0x5d2b55(0x242),'clipRule':_0x5d2b55(0x242)}},{'tag':_0x5d2b55(0x301),'attrs':{'fill':'currentColor','d':_0x5d2b55(0x274)}},{'tag':'path','attrs':{'fill':_0x5d2b55(0x1cf),'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'}}]},_0x33b651=(0x0,_0x153666[_0x5d2b55(0x298)])(function(_0x35fcd3,_0x292fab){const _0x5593ca=_0x5d2b55;return(0x0,_0x153666['createElement'])(_0x1780f3,Object[_0x5593ca(0x2df)]({},_0x35fcd3,{'id':'bottom-icon','ref':_0x292fab,'icon':_0x47dfa4}));});_0x33b651[_0x5d2b55(0x27c)]='BottomIcon';let _0x1227e8={'tag':_0x5d2b55(0x20a),'attrs':{'xmlns':_0x5d2b55(0x490),'fill':_0x5d2b55(0x4a9),'viewBox':_0x5d2b55(0x3ef),'width':'1em','height':_0x5d2b55(0x44a)},'children':[{'tag':_0x5d2b55(0x301),'attrs':{'fill':_0x5d2b55(0x1cf),'d':_0x5d2b55(0x4a5),'fillRule':_0x5d2b55(0x242),'clipRule':_0x5d2b55(0x242)}},{'tag':_0x5d2b55(0x301),'attrs':{'fill':_0x5d2b55(0x1cf),'d':_0x5d2b55(0x22d)}}]},_0x3032ad=(0x0,_0x153666[_0x5d2b55(0x298)])(function(_0x545236,_0x403b1f){const _0x525f29=_0x5d2b55;return(0x0,_0x153666[_0x525f29(0x1d8)])(_0x1780f3,Object[_0x525f29(0x2df)]({},_0x545236,{'id':_0x525f29(0x365),'ref':_0x403b1f,'icon':_0x1227e8}));});_0x3032ad[_0x5d2b55(0x27c)]=_0x5d2b55(0x402);let _0x23e645={'tag':_0x5d2b55(0x20a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5d2b55(0x4a9),'viewBox':_0x5d2b55(0x3ef),'width':_0x5d2b55(0x44a),'height':_0x5d2b55(0x44a)},'children':[{'tag':_0x5d2b55(0x301),'attrs':{'fill':_0x5d2b55(0x1cf),'d':'M1.25\x2013.036C1.25\x2012.1523\x201.96634\x2011.436\x202.85\x2011.436H13.15C14.0337\x2011.436\x2014.75\x2012.1523\x2014.75\x2013.036C14.75\x2013.9196\x2014.0337\x2014.636\x2013.15\x2014.636H2.85C1.96635\x2014.636\x201.25\x2013.9196\x201.25\x2013.036ZM2.85\x2012.636C2.62909\x2012.636\x202.45\x2012.8151\x202.45\x2013.036C2.45\x2013.2569\x202.62909\x2013.436\x202.85\x2013.436H13.15C13.3709\x2013.436\x2013.55\x2013.2569\x2013.55\x2013.036C13.55\x2012.8151\x2013.3709\x2012.636\x2013.15\x2012.636H2.85Z','fillRule':_0x5d2b55(0x242),'clipRule':_0x5d2b55(0x242)}},{'tag':_0x5d2b55(0x301),'attrs':{'fill':_0x5d2b55(0x1cf),'d':_0x5d2b55(0x3b7)}}]},_0x530920=(0x0,_0x153666[_0x5d2b55(0x298)])(function(_0x5f1dcc,_0x536641){const _0x12d1a6=_0x5d2b55;return(0x0,_0x153666[_0x12d1a6(0x1d8)])(_0x1780f3,Object[_0x12d1a6(0x2df)]({},_0x5f1dcc,{'id':_0x12d1a6(0x1db),'ref':_0x536641,'icon':_0x23e645}));});_0x530920['displayName']=_0x5d2b55(0x3d6);let _0x5c6882={'tag':_0x5d2b55(0x20a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5d2b55(0x4a9),'viewBox':_0x5d2b55(0x3ef),'width':_0x5d2b55(0x44a),'height':_0x5d2b55(0x44a)},'children':[{'tag':'path','attrs':{'stroke':_0x5d2b55(0x1cf),'d':_0x5d2b55(0x1fb),'strokeLinecap':_0x5d2b55(0x449),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x5d2b55(0x301),'attrs':{'stroke':_0x5d2b55(0x1cf),'d':'m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','strokeLinecap':_0x5d2b55(0x449),'strokeLinejoin':_0x5d2b55(0x449),'strokeWidth':1.3}}]},_0x5ad399=(0x0,_0x153666[_0x5d2b55(0x298)])(function(_0xb8081b,_0x376aa7){const _0xf108be=_0x5d2b55;return(0x0,_0x153666[_0xf108be(0x1d8)])(_0x1780f3,Object[_0xf108be(0x2df)]({},_0xb8081b,{'id':'object-layers-icon','ref':_0x376aa7,'icon':_0x5c6882}));});_0x5ad399[_0x5d2b55(0x27c)]=_0x5d2b55(0x38e);let _0x526f4b={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5d2b55(0x4a9),'viewBox':'0\x200\x2016\x2016','width':_0x5d2b55(0x44a),'height':'1em'},'children':[{'tag':'path','attrs':{'stroke':_0x5d2b55(0x1cf),'d':'M13.5\x207V4.29412C13.5\x203.5794\x2012.8679\x203\x2012\x203H2.57143C1.70356\x203\x201.5\x203.5794\x201.5\x204.29412V7V10C1.5\x2010.7147\x201.70356\x2011\x202.57143\x2011H7.71429','strokeLinecap':_0x5d2b55(0x449),'strokeLinejoin':_0x5d2b55(0x449),'strokeWidth':1.2}},{'tag':_0x5d2b55(0x301),'attrs':{'stroke':_0x5d2b55(0x1cf),'d':_0x5d2b55(0x4b6),'strokeLinecap':_0x5d2b55(0x449),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x5d2b55(0x1cf),'d':_0x5d2b55(0x420),'strokeLinecap':_0x5d2b55(0x449),'strokeWidth':1.2}},{'tag':_0x5d2b55(0x301),'attrs':{'stroke':_0x5d2b55(0x1cf),'d':'M11.5565\x208H12.4435L12.913\x208.78261L13.8\x208.57391L14.4261\x209.2L14.2174\x2010.087L15\x2010.5565V11.4435L14.2174\x2011.913L14.4261\x2012.8L13.8\x2013.4261L12.913\x2013.2174L12.4435\x2014H11.5565L11.087\x2013.2174L10.2\x2013.4261L9.57391\x2012.8L9.78261\x2011.913L9\x2011.4435V10.5565L9.78261\x2010.087L9.57391\x209.2L10.2\x208.57391L11.087\x208.78261L11.5565\x208Z','strokeLinejoin':'round'}},{'tag':_0x5d2b55(0x301),'attrs':{'stroke':_0x5d2b55(0x1cf),'d':_0x5d2b55(0x312)}}]},_0x5b01ef=(0x0,_0x153666['forwardRef'])(function(_0x1aab68,_0x87c2a5){const _0x28efe3=_0x5d2b55;return(0x0,_0x153666[_0x28efe3(0x1d8)])(_0x1780f3,Object[_0x28efe3(0x2df)]({},_0x1aab68,{'id':_0x28efe3(0x227),'ref':_0x87c2a5,'icon':_0x526f4b}));});_0x5b01ef[_0x5d2b55(0x27c)]=_0x5d2b55(0x223);let _0x27d765={'tag':_0x5d2b55(0x20a),'attrs':{'xmlns':_0x5d2b55(0x490),'fill':_0x5d2b55(0x4a9),'viewBox':_0x5d2b55(0x270),'width':_0x5d2b55(0x44a),'height':_0x5d2b55(0x44a)},'children':[{'tag':'rect','attrs':{'width':0x11,'height':1.2,'x':1.5,'y':2.45,'fill':'currentColor','rx':0.6}},{'tag':_0x5d2b55(0x473),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':6.1,'fill':'currentColor','rx':0.6}},{'tag':_0x5d2b55(0x473),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':6.1,'fill':_0x5d2b55(0x1cf),'rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':1.5,'y':9.4,'fill':_0x5d2b55(0x1cf),'rx':0.6}},{'tag':_0x5d2b55(0x473),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':9.4,'fill':'currentColor','rx':0.6}},{'tag':_0x5d2b55(0x473),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':12.7,'fill':_0x5d2b55(0x1cf),'rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':15.25,'y':12.7,'fill':'currentColor','rx':0.6}},{'tag':_0x5d2b55(0x473),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':16.35,'fill':_0x5d2b55(0x1cf),'rx':0.6}},{'tag':_0x5d2b55(0x301),'attrs':{'fill':_0x5d2b55(0x1cf),'d':_0x5d2b55(0x310),'fillRule':_0x5d2b55(0x242),'clipRule':_0x5d2b55(0x242)}}]},_0x22e3d1=(0x0,_0x153666[_0x5d2b55(0x298)])(function(_0x4f1bc8,_0x367537){const _0x1eb6ef=_0x5d2b55;return(0x0,_0x153666['createElement'])(_0x1780f3,Object[_0x1eb6ef(0x2df)]({},_0x4f1bc8,{'id':_0x1eb6ef(0x455),'ref':_0x367537,'icon':_0x27d765}));});_0x22e3d1[_0x5d2b55(0x27c)]=_0x5d2b55(0x1f8);let _0x53ad6c={'tag':_0x5d2b55(0x20a),'attrs':{'xmlns':_0x5d2b55(0x490),'fill':_0x5d2b55(0x4a9),'viewBox':_0x5d2b55(0x39e),'width':_0x5d2b55(0x44a),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x5d2b55(0x1cf),'d':_0x5d2b55(0x3c5)}},{'tag':_0x5d2b55(0x301),'attrs':{'fill':'currentColor','d':_0x5d2b55(0x3af),'fillRule':_0x5d2b55(0x242),'clipRule':'evenodd'}},{'tag':_0x5d2b55(0x301),'attrs':{'fill':_0x5d2b55(0x1cf),'d':_0x5d2b55(0x28f),'fillRule':_0x5d2b55(0x242),'clipRule':_0x5d2b55(0x242)}}]},_0x1fe081=(0x0,_0x153666[_0x5d2b55(0x298)])(function(_0x1cc42b,_0x43fa0e){const _0x3a9c4d=_0x5d2b55;return(0x0,_0x153666[_0x3a9c4d(0x1d8)])(_0x1780f3,Object['assign']({},_0x1cc42b,{'id':'topmost-icon','ref':_0x43fa0e,'icon':_0x53ad6c}));});_0x1fe081[_0x5d2b55(0x27c)]=_0x5d2b55(0x2e9);function _0x3c951d(_0x5cdd38){return _0x5cdd38['trim']()||void 0x0;}function _0x28245e(_0x25a0e7,_0x2a61b5,_0x5ca508){const _0xb337a1=_0x5d2b55;var _0x1a48e0,_0x3ec78c;return((_0x1a48e0=_0x25a0e7[_0xb337a1(0x3c7)])==null?void 0x0:_0x1a48e0['trim']())||((_0x3ec78c=_0x25a0e7[_0xb337a1(0x409)])==null?void 0x0:_0x3ec78c[_0xb337a1(0x1ec)]())||(0x0,_0x103470[_0xb337a1(0x2f1)])(_0x5ca508,(0x0,_0x122d1a[_0xb337a1(0x45e)])(_0x25a0e7[_0xb337a1(0x299)]))+'\x20'+(_0x2a61b5+0x1);}function _0x210b05(){const _0x465f9d=_0x5d2b55;let _0x5ab0a5=(0x0,_0x152418['useDependency'])(_0x889050[_0x465f9d(0x26b)]),_0x3006aa=(0x0,_0x152418['useDependency'])(_0x889050[_0x465f9d(0x484)]),_0x494315=(0x0,_0x152418['useDependency'])(_0x889050[_0x465f9d(0x339)]),_0x3671c7=(0x0,_0x152418[_0x465f9d(0x40f)])(_0x32ae25[_0x465f9d(0x38c)]),_0x417c27=(0x0,_0x152418[_0x465f9d(0x40f)])(_0x2b39ea[_0x465f9d(0x244)]),_0x13fb16=(0x0,_0x152418[_0x465f9d(0x40f)])(_0x4a14ae[_0x465f9d(0x2fe)]),[,_0x5bb1fc]=(0x0,_0x153666[_0x465f9d(0x2e6)])(_0x452f5a=>_0x452f5a+0x1,0x0),_0x248698=_0x494315[_0x465f9d(0x432)](_0x889050['UniverInstanceType'][_0x465f9d(0x386)]),_0x497ae6=(_0x248698==null?void 0x0:_0x248698['getUnitId']())??'',_0x4d4bc8=_0x497ae6,_0x269348=(0x0,_0x152418[_0x465f9d(0x1ce)])(()=>_0x417c27[_0x465f9d(0x3b8)],_0x417c27[_0x465f9d(0x21b)](),!0x1,[_0x417c27]);(0x0,_0x153666[_0x465f9d(0x419)])(()=>{const _0x535c8d=_0x465f9d;let _0x483481=_0x3006aa[_0x535c8d(0x38b)](()=>_0x5bb1fc());return()=>_0x483481[_0x535c8d(0x2c3)]();},[_0x3006aa]);let _0xf70be7=(0x0,_0x153666[_0x465f9d(0x35d)])(()=>(0x0,_0x103470['getObjectListPanelLabels'])(_0x5ab0a5),[_0x5ab0a5]),_0x2ca11f=_0x497ae6?_0x3671c7[_0x465f9d(0x2dc)](_0x497ae6,_0x4d4bc8):{},_0x2c739f=(_0x497ae6?_0x3671c7['getDrawingOrder'](_0x497ae6,_0x4d4bc8):[])[_0x465f9d(0x2ca)](_0x5a5abf=>_0x2ca11f[_0x5a5abf])[_0x465f9d(0x29c)](_0x2d9da7=>!!_0x2d9da7)[_0x465f9d(0x1d9)](),_0x533e42=_0x2c739f['reduce']((_0x34166c,_0x513dc7)=>(_0x34166c[(0x0,_0x103470[_0x465f9d(0x1f1)])(_0x513dc7[_0x465f9d(0x299)])]+=0x1,_0x34166c),{'canvas':0x0,'floating':0x0}),_0x1a421f={'canvas':0x0,'floating':0x0},_0x408b00=_0x2c739f['map']((_0x1a4b2d,_0x2e40c7)=>{const _0x379619=_0x465f9d;let _0x1bc6ab=(0x0,_0x103470[_0x379619(0x1f1)])(_0x1a4b2d[_0x379619(0x299)]),_0x4a5a60=_0x1bc6ab===_0x103470[_0x379619(0x266)],_0x53ec6a=_0x1a421f[_0x1bc6ab]++;return{'id':_0x1a4b2d['drawingId'],'name':_0x28245e(_0x1a4b2d,_0x2e40c7,_0x5ab0a5),'description':_0x1a4b2d[_0x379619(0x4b5)],'visible':_0x1a4b2d['hidden']!==!0x0,'selectable':_0x1a4b2d[_0x379619(0x3ba)]!==!0x1,'sectionId':_0x1bc6ab,'sectionTitle':_0x4a5a60?_0xf70be7[_0x379619(0x3b0)]:_0xf70be7[_0x379619(0x36f)],'capabilities':_0x4a5a60?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x4a5a60&&_0x53ec6a>0x0,'canMoveBackward':!_0x4a5a60&&_0x53ec6a<_0x533e42[_0x379619(0x209)]-0x1,'canReorder':!_0x4a5a60};}),_0x21cd5a=(0x0,_0x153666[_0x465f9d(0x35d)])(()=>(_0x269348??[])['filter'](_0x34b60f=>_0x34b60f[_0x465f9d(0x1f9)]===_0x497ae6&&_0x34b60f[_0x465f9d(0x277)]===_0x4d4bc8)[_0x465f9d(0x2ca)](_0x3f88a6=>_0x3f88a6['drawingId']),[_0x269348,_0x4d4bc8,_0x497ae6]),_0x106281=_0x21cd5a[_0x21cd5a[_0x465f9d(0x24e)]-0x1]??null,_0x37c78c=_0x48eb7e=>_0x3671c7['getDrawingByParam']({'unitId':_0x497ae6,'subUnitId':_0x4d4bc8,'drawingId':_0x48eb7e})??null,_0x2f2029=async _0x3ed624=>{const _0x1b513b=_0x465f9d;!_0x497ae6||!_0x3ed624[_0x1b513b(0x24e)]||await _0x3006aa[_0x1b513b(0x1d3)](_0x41863e['UpdateDocDrawingMetadataCommand']['id'],{'unitId':_0x497ae6,'patches':_0x3ed624});},_0x540d8b=(_0x44e4df,_0x5b3f10)=>{const _0x26f404=_0x465f9d;if(!_0x497ae6)return;let _0x298459=_0x5b3f10?_0x21cd5a[_0x26f404(0x2ba)](_0x44e4df)?_0x21cd5a[_0x26f404(0x29c)](_0x501936=>_0x501936!==_0x44e4df):[..._0x21cd5a,_0x44e4df]:[_0x44e4df];_0x3006aa[_0x26f404(0x4ae)](_0x2b39ea[_0x26f404(0x31e)]['id'],_0x298459[_0x26f404(0x2ca)](_0x3a1c89=>({'unitId':_0x497ae6,'subUnitId':_0x4d4bc8,'drawingId':_0x3a1c89})));let _0x186657=_0x298459[_0x298459[_0x26f404(0x24e)]-0x1];_0x186657?(0x0,_0x122d1a[_0x26f404(0x286)])(_0x13fb16,{'unitId':_0x497ae6,'subUnitId':_0x4d4bc8,'drawingId':_0x186657}):(0x0,_0x122d1a[_0x26f404(0x326)])(_0x13fb16,_0x497ae6);},_0x5471ba=async(_0x305cab,_0x1495b0)=>{const _0xc9dae7=_0x465f9d;await _0x2f2029(_0x305cab[_0xc9dae7(0x2ca)](_0x5928fb=>_0x37c78c(_0x5928fb))[_0xc9dae7(0x29c)](_0x1db5a0=>!!_0x1db5a0)[_0xc9dae7(0x29c)](_0x44c6c7=>_0x44c6c7[_0xc9dae7(0x24b)]!==!0x0!==_0x1495b0)[_0xc9dae7(0x2ca)](_0x1fce54=>({'drawingId':_0x1fce54[_0xc9dae7(0x249)],'hidden':!_0x1495b0})));},_0x299e6d=async _0x4404b0=>{const _0x145f3c=_0x465f9d;let _0x41eb28=_0x37c78c(_0x4404b0);_0x41eb28&&await _0x2f2029([{'drawingId':_0x4404b0,'selectable':_0x41eb28[_0x145f3c(0x3ba)]===!0x1&&void 0x0}]);},_0x1e97c4=async(_0x137c4e,_0x3cd366)=>{const _0x2c6a3e=_0x465f9d;let _0x41dc72=_0x37c78c(_0x137c4e),_0x559648=_0x3c951d(_0x3cd366);!_0x41dc72||(_0x41dc72[_0x2c6a3e(0x3c7)]??void 0x0)===_0x559648&&(_0x41dc72[_0x2c6a3e(0x409)]||void 0x0)===_0x559648||await _0x2f2029([{'drawingId':_0x137c4e,'name':_0x559648,'title':_0x559648}]);},_0x3ee3db=async(_0x8db222,_0x4eba84)=>{let _0x2f449d=_0x37c78c(_0x8db222),_0x5d05f4=_0x3c951d(_0x4eba84);!_0x2f449d||(_0x2f449d['description']??void 0x0)===_0x5d05f4||await _0x2f2029([{'drawingId':_0x8db222,'description':_0x5d05f4}]);},_0x5f14bd=async(_0x3bc4fb,_0x3888c8)=>{const _0x46f88e=_0x465f9d;_0x497ae6&&await _0x3006aa[_0x46f88e(0x1d3)](_0x32ae25[_0x46f88e(0x2ce)]['id'],{'unitId':_0x497ae6,'subUnitId':_0x4d4bc8,'drawingIds':[_0x3bc4fb],'arrangeType':_0x3888c8});};return _0x497ae6?(0x0,_0x468047['jsx'])(_0x103470['ObjectListPanelBase'],{'items':_0x408b00,'selectedIds':_0x21cd5a,'focusedId':_0x106281,'labels':_0xf70be7,'onSelect':_0x540d8b,'onSetVisible':_0x5471ba,'onCommitName':_0x1e97c4,'onCommitDescription':_0x3ee3db,'onMoveForward':async _0x12107c=>_0x5f14bd(_0x12107c,_0x889050[_0x465f9d(0x3e7)][_0x465f9d(0x3b1)]),'onMoveBackward':async _0xe8ffcb=>_0x5f14bd(_0xe8ffcb,_0x889050[_0x465f9d(0x3e7)]['backward']),'onToggleSelectable':_0x299e6d}):(0x0,_0x468047[_0x465f9d(0x4a0)])(_0x465f9d(0x25d),{'className':_0x465f9d(0x1fa),'children':_0xf70be7[_0x465f9d(0x409)]});}let _0x5b20a8=class{constructor(_0x31f43c){const _0x3ccd19=_0x5d2b55;this[_0x3ccd19(0x325)]=_0x31f43c;}[_0x5d2b55(0x377)](_0x136653,_0x5b4af5){const _0x5578f2=_0x5d2b55;let _0xa955f2=this[_0x5578f2(0x325)]['getRenderUnitById'](_0x136653[_0x5578f2(0x1f9)]),_0x4e7d41=_0xa955f2==null?void 0x0:_0xa955f2[_0x5578f2(0x2f0)];if(!_0x4e7d41)return;let _0x259d42=(0x0,_0x2b39ea[_0x5578f2(0x1d0)])(_0x136653),_0x36e0fb=_0x4e7d41[_0x5578f2(0x488)](_0x259d42);_0x36e0fb==null||_0x36e0fb[_0x5578f2(0x283)](_0x5b4af5);}};_0x5b20a8=_0x3b5a68([_0x29bdea(0x0,_0x4a14ae[_0x5d2b55(0x2fe)])],_0x5b20a8);function _0x1fb892(){const _0x395310=_0x5d2b55;let _0xea48ff=(0x0,_0x152418[_0x395310(0x40f)])(_0x2b39ea['IDrawingManagerService']),_0x507d0c=(0x0,_0x152418['useObservable'])(()=>_0xea48ff[_0x395310(0x3b8)],_0xea48ff[_0x395310(0x21b)](),!0x1,[_0xea48ff]);return _0x507d0c[_0x395310(0x24e)]===0x0?null:(0x0,_0x468047[_0x395310(0x4a0)])(_0x395310(0x25d),{'children':(0x0,_0x468047[_0x395310(0x269)])(_0x395310(0x25d),{'className':_0x395310(0x334),'children':[(0x0,_0x468047[_0x395310(0x4a0)])(_0x103470[_0x395310(0x1b7)],{'drawings':_0x507d0c,'hasCropper':!0x1}),(0x0,_0x468047[_0x395310(0x4a0)])(_0xaeafba[_0x395310(0x328)],{'drawings':_0x507d0c}),(0x0,_0x468047['jsx'])(_0xaeafba[_0x395310(0x234)],{'drawings':_0x507d0c})]})});}function _0x5903be(_0x401010){const _0xe5ea7d=_0x5d2b55;let {unitId:_0x4b7ca0,subUnitId:_0x32f11d,shapeId:_0xd1cf49}=_0x401010,_0x379a1f=(0x0,_0x152418[_0xe5ea7d(0x40f)])(_0x889050['ICommandService']),_0x1c40e1=(0x0,_0x152418[_0xe5ea7d(0x40f)])(_0x5b20a8);return(0x0,_0x468047[_0xe5ea7d(0x4a0)])(_0x122d1a[_0xe5ea7d(0x245)],{..._0x401010,'positionEditor':(0x0,_0x468047['jsx'])(_0x1fb892,{}),'onUpdateShapeData':(_0x3ea78b,_0x293433)=>{_0x4b32b1(_0x379a1f,_0x4b7ca0,_0x32f11d,_0xd1cf49,_0x3ea78b,_0x293433);},'onUpdateLineShapeData':(_0x119cd6,_0xe639b7)=>{_0x246717(_0x379a1f,_0x4b7ca0,_0x32f11d,_0xd1cf49,_0x119cd6,_0xe639b7);},'onUpdateShapeFillImage':_0x19b832=>{const _0x202eb6=_0xe5ea7d;_0x1c40e1[_0x202eb6(0x377)]({'unitId':_0x4b7ca0,'subUnitId':_0x32f11d,'drawingId':_0xd1cf49},_0x19b832);}});}let _0xd3c83a='doc.shape.floating-toolbar';function _0x4bfbdc(_0x973392,_0xa11d9e){const _0x15bb81=_0x5d2b55;var _0x2b644c;let _0x29a830=_0x973392==null||(_0x2b644c=_0x973392[_0x15bb81(0x321)]()[_0x15bb81(0x23c)])==null?void 0x0:_0x2b644c[_0xa11d9e];return _0x29a830?_0x29a830[_0x15bb81(0x32c)]===_0x889050[_0x15bb81(0x239)][_0x15bb81(0x288)]?_0x29a830[_0x15bb81(0x35e)]===_0x889050['BooleanNumber'][_0x15bb81(0x2a5)]?_0x32ae25[_0x15bb81(0x370)][_0x15bb81(0x428)]:_0x32ae25[_0x15bb81(0x370)][_0x15bb81(0x471)]:_0x29a830['layoutType']===_0x889050[_0x15bb81(0x239)]['WRAP_SQUARE']?_0x32ae25[_0x15bb81(0x370)]['WRAP_SQUARE']:_0x29a830[_0x15bb81(0x32c)]===_0x889050[_0x15bb81(0x239)][_0x15bb81(0x1bc)]?_0x32ae25[_0x15bb81(0x370)]['WRAP_TOP_AND_BOTTOM']:_0x32ae25[_0x15bb81(0x370)][_0x15bb81(0x1d5)]:_0x32ae25[_0x15bb81(0x370)][_0x15bb81(0x1d5)];}function _0x381ff5(_0x50a47a){const _0x3c8dba=_0x5d2b55;let _0x2e798b=(0x0,_0x152418[_0x3c8dba(0x40f)])(_0x122d1a[_0x3c8dba(0x289)]),_0xa0503f=(0x0,_0x152418['useObservable'])(()=>_0x2e798b[_0x3c8dba(0x2bf)],_0x2e798b[_0x3c8dba(0x205)](),!0x1,[_0x2e798b]),_0x32c48c=_0x50a47a['popup'][_0x3c8dba(0x330)];return _0xa0503f?(0x0,_0x468047[_0x3c8dba(0x4a0)])(_0x5dcd0d,{..._0x32c48c,'canvasElement':_0x50a47a[_0x3c8dba(0x21f)][_0x3c8dba(0x381)]}):null;}function _0x5dcd0d(_0x4019f9){const _0x1056df=_0x5d2b55;let _0x356719=(0x0,_0x152418[_0x1056df(0x40f)])(_0x889050[_0x1056df(0x484)]),_0x45d929=(0x0,_0x152418[_0x1056df(0x40f)])(_0x889050[_0x1056df(0x26b)]),_0xa53092=(0x0,_0x152418['useDependency'])(_0x41863e[_0x1056df(0x476)]),_0x447214=(0x0,_0x152418['useDependency'])(_0x889050[_0x1056df(0x339)]),{unitId:_0x4be41e,subUnitId:_0x2bb95e,drawingId:_0x43a692,shapeType:_0x27e9ce}=_0x4019f9,[_0x664774,_0x50c1e1]=(0x0,_0x153666[_0x1056df(0x3c1)])(_0x4019f9[_0x1056df(0x45f)]),_0x266dad=_0x447214[_0x1056df(0x221)](_0x4be41e,_0x889050[_0x1056df(0x485)]['UNIVER_DOC'])??void 0x0,[_0x128891,_0xa974e8]=(0x0,_0x153666[_0x1056df(0x3c1)])(()=>_0x4bfbdc(_0x266dad,_0x43a692)),_0x30c307=(0x0,_0x153666[_0x1056df(0x35d)])(()=>(0x0,_0x122d1a[_0x1056df(0x3f6)])(_0x664774),[_0x664774]),_0x495a8a=(0x0,_0x153666['useMemo'])(()=>(0x0,_0x122d1a[_0x1056df(0x1ff)])(_0x664774),[_0x664774]);(0x0,_0x153666[_0x1056df(0x419)])(()=>{const _0x565dad=_0x1056df;let _0x16c2ba=_0x356719['onCommandExecuted'](_0x2e34a0=>{const _0xed285b=_0x4049;if(_0x2e34a0['id']!==_0x41863e[_0xed285b(0x263)]['id'])return;let _0xad6f4a=_0xa53092[_0xed285b(0x27b)](_0x4be41e,_0x2bb95e,_0x43a692);_0xad6f4a&&_0x50c1e1(_0xad6f4a);});return()=>_0x16c2ba[_0x565dad(0x2c3)]();},[_0x356719,_0xa53092,_0x43a692,_0x2bb95e,_0x4be41e]);let _0x3eeb5e=_0x58b40d=>{_0x50c1e1(_0x334287=>({..._0x334287,..._0x58b40d}));},_0x285e11=_0x21847b=>{const _0x115a56=_0x1056df;let _0xa7a639=(0x0,_0x122d1a[_0x115a56(0x2b2)])(_0x664774,_0x21847b);_0x4b32b1(_0x356719,_0x4be41e,_0x2bb95e,_0x43a692,{'oldShapeData':{'shapeText':_0x664774['shapeText']}},_0xa7a639),_0x3eeb5e(_0xa7a639);},_0x1b296f=_0x460313=>{const _0x331df0=_0x1056df;_0xa974e8(_0x460313),_0x356719['executeCommand'](_0x32ae25[_0x331df0(0x2bc)]['id'],{'unitId':_0x4be41e,'subUnitId':_0x2bb95e,'drawings':[{'unitId':_0x4be41e,'subUnitId':_0x2bb95e,'drawingId':_0x43a692}],'wrappingStyle':_0x460313});},_0x2a3c58=(0x0,_0x122d1a['useFormulaShapeToolbar'])({'hostType':_0x889050[_0x1056df(0x485)][_0x1056df(0x386)],'unitId':_0x4be41e,'subUnitId':_0x2bb95e,'shapeId':_0x43a692,'shapeData':_0x664774,'onUpdateBinding':_0x4d663c=>{const _0xcf0fbd=_0x1056df;let _0x372518={'formulaBinding':_0x4d663c};_0x4b32b1(_0x356719,_0x4be41e,_0x2bb95e,_0x43a692,{'oldShapeData':{'formulaBinding':_0x664774[_0xcf0fbd(0x49e)]}},_0x372518),_0x3eeb5e(_0x372518);}}),_0x122aeb=[{'label':_0x45d929['t'](_0x1056df(0x1b3)),'value':_0x32ae25[_0x1056df(0x370)][_0x1056df(0x1d5)],'icon':(0x0,_0x468047[_0x1056df(0x4a0)])(_0x22e3d1,{})},{'label':_0x45d929['t']('docs-shape-ui.textWrap.square'),'value':_0x32ae25[_0x1056df(0x370)][_0x1056df(0x374)],'icon':(0x0,_0x468047[_0x1056df(0x4a0)])(_0x22e3d1,{})},{'label':_0x45d929['t']('docs-shape-ui.textWrap.topAndBottom'),'value':_0x32ae25['TextWrappingStyle'][_0x1056df(0x1bc)],'icon':(0x0,_0x468047[_0x1056df(0x4a0)])(_0x22e3d1,{})},{'label':_0x45d929['t'](_0x1056df(0x3e3)),'value':_0x32ae25[_0x1056df(0x370)][_0x1056df(0x428)],'icon':(0x0,_0x468047[_0x1056df(0x4a0)])(_0x22e3d1,{})},{'label':_0x45d929['t'](_0x1056df(0x413)),'value':_0x32ae25[_0x1056df(0x370)][_0x1056df(0x471)],'icon':(0x0,_0x468047['jsx'])(_0x22e3d1,{})}];return(0x0,_0x468047[_0x1056df(0x269)])(_0x468047['Fragment'],{'children':[(0x0,_0x468047['jsx'])(_0x122d1a[_0x1056df(0x464)],{'canvasElement':_0x4019f9['canvasElement'],'shapeData':_0x664774,'shapeType':_0x27e9ce,'textStyle':{'ff':_0xc6fd33[_0x1056df(0x362)][_0x1056df(0x204)][_0x1056df(0x3b6)],'fs':_0xc6fd33[_0x1056df(0x362)][_0x1056df(0x204)][_0x1056df(0x1bb)],'cl':{'rgb':_0xc6fd33[_0x1056df(0x362)][_0x1056df(0x204)][_0x1056df(0x2eb)]},..._0x30c307},'textModel':_0x495a8a?{'ha':_0x495a8a['ha']??_0x889050[_0x1056df(0x284)][_0x1056df(0x37f)],'va':_0x495a8a['va']??_0x889050[_0x1056df(0x491)]['TOP']}:null,'wrappingStyle':_0x128891,'wrappingStyleOptions':_0x122aeb,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0xc6fd33['ShapeDefaultConfig'][_0x1056df(0x2de)],'defaultGradientEndColor':_0xc6fd33[_0x1056df(0x362)][_0x1056df(0x45c)],'defaultStrokeColor':_0xc6fd33['ShapeDefaultConfig'][_0x1056df(0x1c6)],'extensionGroups':_0x2a3c58[_0x1056df(0x424)],'onUpdateShapeData':(_0x116072,_0x502cce)=>{_0x4b32b1(_0x356719,_0x4be41e,_0x2bb95e,_0x43a692,_0x116072,_0x502cce),_0x502cce&&_0x3eeb5e(_0x502cce);},'onUpdateText':_0x285e11,'onUpdateWrappingStyle':_0x20d2df=>_0x1b296f(_0x20d2df),'onOpenPanel':()=>{_0x356719['executeCommand'](_0xfcd867['id'],{'unitId':_0x4be41e,'subUnitId':_0x2bb95e,'drawingId':_0x43a692});},'onDelete':()=>{const _0x1f7d1e=_0x1056df;_0x356719[_0x1f7d1e(0x1d3)](_0x32ae25[_0x1f7d1e(0x324)]['id'],{'unitId':_0x4be41e,'drawings':[{'unitId':_0x4be41e,'subUnitId':_0x2bb95e,'drawingId':_0x43a692}]});}}),_0x2a3c58[_0x1056df(0x1d6)]]});}function _0x3a8fed({variant:_0x453bb3,extend:_0x135250,..._0x49c556}){const _0x4f037c=_0x5d2b55;let _0x27f3a1=(0x0,_0x468047[_0x4f037c(0x4a0)])('rect',{'x':'7','y':_0x4f037c(0x43f),'width':'6','height':'9','rx':'1','fill':_0x4f037c(0x1cf),'fillOpacity':'0.14','stroke':_0x4f037c(0x1cf),'strokeWidth':_0x4f037c(0x232)});return(0x0,_0x468047[_0x4f037c(0x269)])(_0x4f037c(0x20a),{'aria-hidden':_0x4f037c(0x480),'fill':_0x4f037c(0x4a9),'height':_0x4f037c(0x44a),'viewBox':_0x4f037c(0x270),'width':_0x4f037c(0x44a),..._0x49c556,'children':[_0x453bb3===_0x4f037c(0x453)&&(0x0,_0x468047['jsxs'])(_0x468047[_0x4f037c(0x412)],{'children':[(0x0,_0x468047[_0x4f037c(0x4a0)])(_0x4f037c(0x301),{'d':'M2\x203.5h16M2\x2016.5h16M2\x2010h5M13\x2010h5','stroke':_0x4f037c(0x1cf),'strokeLinecap':_0x4f037c(0x449),'strokeWidth':_0x4f037c(0x232)}),(0x0,_0x468047[_0x4f037c(0x4a0)])(_0x4f037c(0x473),{'x':'8','y':'7','width':'4','height':'6','rx':_0x4f037c(0x466),'fill':'currentColor','fillOpacity':'0.14','stroke':'currentColor','strokeWidth':_0x4f037c(0x232)})]}),_0x453bb3===_0x4f037c(0x42e)&&(0x0,_0x468047[_0x4f037c(0x269)])(_0x468047['Fragment'],{'children':[(0x0,_0x468047[_0x4f037c(0x4a0)])(_0x4f037c(0x301),{'d':_0x4f037c(0x373),'stroke':_0x4f037c(0x1cf),'strokeLinecap':_0x4f037c(0x449),'strokeWidth':_0x4f037c(0x232)}),_0x27f3a1]}),_0x453bb3===_0x4f037c(0x33b)&&(0x0,_0x468047['jsxs'])(_0x468047[_0x4f037c(0x412)],{'children':[(0x0,_0x468047[_0x4f037c(0x4a0)])(_0x4f037c(0x301),{'d':_0x4f037c(0x378),'stroke':_0x4f037c(0x1cf),'strokeLinecap':'round','strokeWidth':_0x4f037c(0x232)}),_0x27f3a1]}),_0x453bb3===_0x4f037c(0x257)&&(0x0,_0x468047['jsxs'])(_0x468047[_0x4f037c(0x412)],{'children':[_0x27f3a1,(0x0,_0x468047['jsx'])(_0x4f037c(0x301),{'d':_0x4f037c(0x36e),'stroke':_0x4f037c(0x1cf),'strokeLinecap':_0x4f037c(0x449),'strokeWidth':_0x4f037c(0x232)})]}),_0x453bb3===_0x4f037c(0x311)&&(0x0,_0x468047[_0x4f037c(0x269)])(_0x468047[_0x4f037c(0x412)],{'children':[(0x0,_0x468047[_0x4f037c(0x4a0)])(_0x4f037c(0x301),{'d':_0x4f037c(0x36e),'stroke':'currentColor','strokeLinecap':_0x4f037c(0x449),'strokeWidth':'1.2'}),(0x0,_0x468047['jsx'])(_0x4f037c(0x473),{'x':'7','y':_0x4f037c(0x43f),'width':'6','height':'9','rx':'1','fill':_0x4f037c(0x1cf)})]})]});}let _0x10bf50=_0x3d32fd=>_0x4aa705=>(0x0,_0x468047['jsx'])(_0x3a8fed,{..._0x4aa705,'variant':_0x3d32fd}),_0x1fb0e9={'DocsShapeWrapInlineIcon':_0x10bf50(_0x5d2b55(0x453)),'DocsShapeWrapSquareIcon':_0x10bf50(_0x5d2b55(0x42e)),'DocsShapeWrapTopBottomIcon':_0x10bf50('top-bottom'),'DocsShapeWrapBehindTextIcon':_0x10bf50(_0x5d2b55(0x257)),'DocsShapeWrapInFrontOfTextIcon':_0x10bf50(_0x5d2b55(0x311))};function _0x37f827(_0x1b3c13){'@babel/helpers - typeof';const _0x5d97ec=_0x5d2b55;return _0x37f827=typeof Symbol==_0x5d97ec(0x1f3)&&typeof Symbol['iterator']==_0x5d97ec(0x344)?function(_0x263e1f){return typeof _0x263e1f;}:function(_0x549ee7){const _0x3042c1=_0x5d97ec;return _0x549ee7&&typeof Symbol=='function'&&_0x549ee7[_0x3042c1(0x2d0)]===Symbol&&_0x549ee7!==Symbol[_0x3042c1(0x38f)]?'symbol':typeof _0x549ee7;},_0x37f827(_0x1b3c13);}function _0x249769(_0x352f6d,_0x3c304a){const _0x4a8b84=_0x5d2b55;if(_0x37f827(_0x352f6d)!=_0x4a8b84(0x218)||!_0x352f6d)return _0x352f6d;var _0x3d4826=_0x352f6d[Symbol['toPrimitive']];if(_0x3d4826!==void 0x0){var _0xc88614=_0x3d4826[_0x4a8b84(0x275)](_0x352f6d,_0x3c304a||_0x4a8b84(0x203));if(_0x37f827(_0xc88614)!=_0x4a8b84(0x218))return _0xc88614;throw TypeError(_0x4a8b84(0x272));}return(_0x3c304a==='string'?String:Number)(_0x352f6d);}function _0x27a1f3(_0x744ec3){const _0x2798c5=_0x5d2b55;var _0x9bdc4a=_0x249769(_0x744ec3,_0x2798c5(0x3ae));return _0x37f827(_0x9bdc4a)==_0x2798c5(0x344)?_0x9bdc4a:_0x9bdc4a+'';}function _0x342b29(_0x3f6ca8,_0x4b3978,_0x704236){const _0x19e81c=_0x5d2b55;return(_0x4b3978=_0x27a1f3(_0x4b3978))in _0x3f6ca8?Object[_0x19e81c(0x1ad)](_0x3f6ca8,_0x4b3978,{'value':_0x704236,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3f6ca8[_0x4b3978]=_0x704236,_0x3f6ca8;}var _0x134193=class extends _0x889050[_0x5d2b55(0x44f)]{constructor(..._0x4b848a){const _0x3356ed=_0x5d2b55;super(..._0x4b848a),_0x342b29(this,_0x3356ed(0x20b),new _0x14d6bc[(_0x3356ed(0x34b))](null)),_0x342b29(this,'editingParams$',this[_0x3356ed(0x20b)]['asObservable']()),_0x342b29(this,_0x3356ed(0x4a4),new _0x14d6bc[(_0x3356ed(0x34b))](!0x1)),_0x342b29(this,_0x3356ed(0x49d),this[_0x3356ed(0x4a4)][_0x3356ed(0x1c0)]());}['dispose'](){const _0x5b3d0a=_0x5d2b55;this[_0x5b3d0a(0x20b)][_0x5b3d0a(0x49c)](null),this['_editingParams$'][_0x5b3d0a(0x327)](),this[_0x5b3d0a(0x4a4)][_0x5b3d0a(0x49c)](!0x1),this[_0x5b3d0a(0x4a4)][_0x5b3d0a(0x327)](),super['dispose']();}['setEditing'](_0x3a1305){const _0x1c097b=_0x5d2b55;this[_0x1c097b(0x20b)]['next'](_0x3a1305),_0x3a1305??this[_0x1c097b(0x4a4)][_0x1c097b(0x49c)](!0x1);}['setOnSavingEditorData'](_0xb2fd49){const _0x565ff3=_0x5d2b55;this[_0x565ff3(0x4a4)][_0x565ff3(0x49c)](_0xb2fd49);}[_0x5d2b55(0x2f3)](){const _0x128f83=_0x5d2b55;return this[_0x128f83(0x20b)][_0x128f83(0x4a8)]();}['completeEditing'](_0xd01904){const _0x6d5935=_0x5d2b55;this[_0x6d5935(0x2f3)]()&&(this[_0x6d5935(0x1d2)](!0x0),requestAnimationFrame(()=>{const _0x11db63=_0x6d5935;this[_0x11db63(0x2cf)](null);}));}['cancelEditing'](){const _0xc0effe=_0x5d2b55;this[_0xc0effe(0x2f3)]()&&this[_0xc0effe(0x2cf)](null);}};let _0xd42f88=(0x0,_0x153666['memo'])(()=>{const _0x4a419c=_0x5d2b55;let _0x23de92=(0x0,_0x152418[_0x4a419c(0x40f)])(_0x134193),_0x3ba79a=(0x0,_0x152418[_0x4a419c(0x40f)])(_0x41863e[_0x4a419c(0x476)]),_0xd88ed3=(0x0,_0x152418[_0x4a419c(0x40f)])(_0x2b39ea['IDrawingManagerService']),_0x41387c=(0x0,_0x152418[_0x4a419c(0x40f)])(_0x889050[_0x4a419c(0x484)]);return(0x0,_0x468047['jsx'])(_0x122d1a[_0x4a419c(0x2a3)],{'adapter':(0x0,_0x153666['useMemo'])(()=>({'getShapeModel':(_0x148295,_0x27a146,_0x3b8d9b)=>_0x3ba79a['getShapeModel'](_0x148295,_0x27a146,_0x3b8d9b),'getShapeData':(_0x4f0652,_0x321863,_0x1a24a8)=>_0x3ba79a[_0x4a419c(0x27b)](_0x4f0652,_0x321863,_0x1a24a8),'getDrawingTransform':(_0xc339cb,_0x552a6a,_0x4b9f84)=>{const _0xf26e61=_0x4a419c;let _0x4002cd=_0xd88ed3[_0xf26e61(0x2b4)]({'unitId':_0xc339cb,'subUnitId':_0x552a6a,'drawingId':_0x4b9f84});return _0x4002cd==null?void 0x0:_0x4002cd[_0xf26e61(0x30e)];},'updateShapeText':({unitId:_0x3ef2b0,shapeId:_0x5aa41e,shapeText:_0x632990,oldShapeText:_0x59c213})=>{const _0x4c5015=_0x4a419c;_0x41387c['executeCommand'](_0x41863e[_0x4c5015(0x38d)]['id'],{'unitId':_0x3ef2b0,'shapeId':_0x5aa41e,'shapeData':{'shapeText':_0x632990},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x59c213}}});},'updateHostSize':({unitId:_0x14397a,subUnitId:_0x3720b4,shapeId:_0x31c360,width:_0x3c9c9c,height:_0xc9b03})=>{const _0x18dd59=_0x4a419c;_0x41387c[_0x18dd59(0x1d3)](_0x32ae25[_0x18dd59(0x3a8)]['id'],{'unitId':_0x14397a,'subUnitId':_0x3720b4,'drawings':[{'drawingId':_0x31c360,'key':_0x18dd59(0x2cd),'value':{'width':_0x3c9c9c,'height':_0xc9b03}}]});},'allowHostSizeShrink':({unitId:_0x566222,subUnitId:_0x418125,shapeId:_0x4753f6})=>(0x0,_0x122d1a[_0x4a419c(0x1cd)])(_0x3ba79a[_0x4a419c(0x27b)](_0x566222,_0x418125,_0x4753f6))}),[_0x41387c,_0x3ba79a,_0xd88ed3]),'editingService':_0x23de92,'editorUnitId':_0x170d28,'positionOptions':(0x0,_0x153666[_0x4a419c(0x35d)])(()=>({'viewportKeys':{'main':_0x1dd9a1[_0x4a419c(0x348)][_0x4a419c(0x1c7)]}}),[])});}),_0x590b4c=class extends _0x889050[_0x5d2b55(0x44f)]{constructor(_0x4a2ecb,_0x230ebd){const _0x54e6fe=_0x5d2b55;super(),this[_0x54e6fe(0x3dc)]=_0x4a2ecb,this[_0x54e6fe(0x231)]=_0x230ebd,this['_registerIcons'](),this[_0x54e6fe(0x2aa)]();}['_registerIcons'](){const _0x3043c7=_0x5d2b55;this['_iconManager'][_0x3043c7(0x282)]('ObjectLayersIcon')||this[_0x3043c7(0x367)](this['_iconManager'][_0x3043c7(0x2a0)]({'ObjectLayersIcon':_0x5ad399})),this[_0x3043c7(0x231)][_0x3043c7(0x282)](_0x3043c7(0x2d1))||this[_0x3043c7(0x367)](this['_iconManager'][_0x3043c7(0x2a0)]({'BottomIcon':_0x33b651})),this[_0x3043c7(0x231)][_0x3043c7(0x282)](_0x3043c7(0x402))||this[_0x3043c7(0x367)](this[_0x3043c7(0x231)][_0x3043c7(0x2a0)]({'MoveDownIcon':_0x3032ad})),this[_0x3043c7(0x231)][_0x3043c7(0x282)](_0x3043c7(0x3d6))||this[_0x3043c7(0x367)](this[_0x3043c7(0x231)][_0x3043c7(0x2a0)]({'MoveUpIcon':_0x530920})),this[_0x3043c7(0x231)][_0x3043c7(0x282)](_0x3043c7(0x223))||this[_0x3043c7(0x367)](this['_iconManager'][_0x3043c7(0x2a0)]({'ShapeFormatSettingIcon':_0x5b01ef})),this[_0x3043c7(0x231)][_0x3043c7(0x282)](_0x3043c7(0x2e9))||this[_0x3043c7(0x367)](this[_0x3043c7(0x231)]['register']({'TopmostIcon':_0x1fe081})),this[_0x3043c7(0x367)](this['_iconManager'][_0x3043c7(0x2a0)](_0x1fb0e9));}[_0x5d2b55(0x2aa)](){const _0x52c0f9=_0x5d2b55;this[_0x52c0f9(0x367)](this[_0x52c0f9(0x3dc)][_0x52c0f9(0x2a0)](_0x466f20,_0x5903be)),this[_0x52c0f9(0x367)](this[_0x52c0f9(0x3dc)]['register'](_0x424f1e,_0x210b05)),this[_0x52c0f9(0x367)](this[_0x52c0f9(0x3dc)][_0x52c0f9(0x2a0)](_0xd3c83a,_0x381ff5)),this[_0x52c0f9(0x367)](this[_0x52c0f9(0x3dc)][_0x52c0f9(0x2a0)](_0x263ac0,_0x74b27)),this['disposeWithMe'](this[_0x52c0f9(0x3dc)][_0x52c0f9(0x2a0)](_0x5eddd5,_0x49ce56)),this['disposeWithMe'](this['_componentManager']['register'](_0x260a7c,_0x52aa36)),this[_0x52c0f9(0x367)](this[_0x52c0f9(0x3dc)][_0x52c0f9(0x2a0)](_0x32e889,_0xd3c34f)),this['disposeWithMe'](this[_0x52c0f9(0x3dc)][_0x52c0f9(0x2a0)](_0x4b8b3e,_0x230595)),this[_0x52c0f9(0x367)](this['_componentManager'][_0x52c0f9(0x2a0)](_0x3dea73,_0x122d1a[_0x52c0f9(0x303)])),this[_0x52c0f9(0x367)](this[_0x52c0f9(0x3dc)][_0x52c0f9(0x2a0)](_0x3a4380,_0x9244d2)),this['disposeWithMe'](this['_componentManager']['register'](_0xd1bfd4,_0x3bac8c)),this[_0x52c0f9(0x3dc)][_0x52c0f9(0x2bd)](_0x103470[_0x52c0f9(0x380)])||this[_0x52c0f9(0x367)](this[_0x52c0f9(0x3dc)][_0x52c0f9(0x2a0)](_0x103470[_0x52c0f9(0x380)],_0x13a5d3)),this[_0x52c0f9(0x367)](this[_0x52c0f9(0x3dc)][_0x52c0f9(0x2a0)](_0x52c0f9(0x46c),_0xd42f88));}};_0x590b4c=_0x3b5a68([_0x29bdea(0x0,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x152418['ComponentManager'])),_0x29bdea(0x1,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x152418[_0x5d2b55(0x4b2)]))],_0x590b4c);var _0x5b9bb1=class extends _0x4a14ae[_0x5d2b55(0x308)]{constructor(_0x4c20ec,_0x43b3e1){const _0xdf59f5=_0x5d2b55;super(_0x4c20ec,_0x43b3e1),_0x342b29(this,_0xdf59f5(0x2d3),null),_0x342b29(this,_0xdf59f5(0x2f9),null),_0x342b29(this,_0xdf59f5(0x1df),null),_0x342b29(this,'_subUnitId',null),_0x43b3e1&&this[_0xdf59f5(0x25a)](_0x43b3e1);}[_0x5d2b55(0x3c8)](){const _0xfa62c4=_0x5d2b55;return{'unitId':this[_0xfa62c4(0x1df)],'subUnitId':this[_0xfa62c4(0x1d4)],'drawingId':this[_0xfa62c4(0x2d3)]};}[_0x5d2b55(0x25a)](_0x1965f8){const _0x448db2=_0x5d2b55;_0x1965f8[_0x448db2(0x2b1)]!==void 0x0&&(this[_0x448db2(0x2d3)]=_0x1965f8[_0x448db2(0x2b1)]),_0x1965f8[_0x448db2(0x3d3)]!==void 0x0&&(this[_0x448db2(0x2f9)]=_0x1965f8[_0x448db2(0x3d3)]),_0x1965f8['unitId']!==void 0x0&&(this['_unitId']=_0x1965f8[_0x448db2(0x1f9)]),_0x1965f8[_0x448db2(0x277)]!==void 0x0&&(this[_0x448db2(0x1d4)]=_0x1965f8[_0x448db2(0x277)]),this[_0x448db2(0x44d)]({'width':_0x1965f8['width'],'height':_0x1965f8[_0x448db2(0x3ed)]});}['_draw'](_0x4ac133){const _0x228d91=_0x5d2b55;_0x4a14ae[_0x228d91(0x3e5)]['drawWith'](_0x4ac133,{'radius':_0xc6fd33['ShapeDefaultConfig'][_0x228d91(0x418)],'fill':_0xc6fd33[_0x228d91(0x362)][_0x228d91(0x1da)],'stroke':_0xc6fd33['ShapeDefaultConfig']['adjHandleStroke'],'strokeWidth':0x1,'evented':!0x0});}};function _0x168ca7(_0x353d92,_0x4602cf,_0x562df9){const _0x9f35dd=_0x5d2b55;let _0x1b18be=(0x0,_0x122d1a[_0x9f35dd(0x36c)])(_0x353d92,{..._0x4602cf,'dataModel':{..._0x4602cf[_0x9f35dd(0x1b8)]??{},..._0x562df9?{'doc':_0x562df9}:null}}),_0x59a118=(0x0,_0x122d1a[_0x9f35dd(0x314)])(_0x1b18be);return{'clip':(0x0,_0x122d1a[_0x9f35dd(0x461)])(_0x1b18be,_0x59a118),'wrapStrategy':_0x59a118};}var _0x48cb63=class extends _0x4a14ae[_0x5d2b55(0x308)]{constructor(_0x37ddfd,_0x55c3d4){const _0x2a954e=_0x5d2b55;super(_0x37ddfd,_0x55c3d4),_0x342b29(this,_0x2a954e(0x21d),void 0x0),_0x342b29(this,_0x2a954e(0x238),new _0x122d1a['FormulaShapeAnimationController'](()=>this[_0x2a954e(0x447)](!0x0),()=>this[_0x2a954e(0x2ab)]())),_0x342b29(this,_0x2a954e(0x21e),!0x0),_0x342b29(this,_0x2a954e(0x1c1),_0x889050['DrawingTypeEnum'][_0x2a954e(0x410)]),_0x342b29(this,_0x2a954e(0x2f8),!0x0),this[_0x2a954e(0x21d)]={..._0x55c3d4},this['_formulaAnimation']['setPresentation'](_0x55c3d4['formulaPresentation'],_0x55c3d4[_0x2a954e(0x1f6)]!==!0x1),this[_0x2a954e(0x268)](),this[_0x2a954e(0x2ab)]();}[_0x5d2b55(0x268)](){const _0x4ca9f9=_0x5d2b55;this[_0x4ca9f9(0x43a)][_0x4ca9f9(0x29f)](_0x3200d2=>{const _0x33a2ba=_0x4ca9f9;this[_0x33a2ba(0x4bf)](_0x3200d2);});}[_0x5d2b55(0x3f3)](_0x4398bf){const _0x349d2c=_0x5d2b55;this['_props'][_0x349d2c(0x4a3)]=_0x4398bf;}[_0x5d2b55(0x2cf)](_0x352e82){const _0x2c3db4=_0x5d2b55;this['_props'][_0x2c3db4(0x4bd)]=_0x352e82,this[_0x2c3db4(0x447)](!0x0);}[_0x5d2b55(0x1ba)](_0x136beb,_0x5e91f1=!0x0){const _0x324e99=_0x5d2b55;this[_0x324e99(0x238)][_0x324e99(0x30c)](_0x136beb,_0x5e91f1),this['_props'][_0x324e99(0x356)]=_0x136beb,this['_applyFormulaAutoFitSize'](),this[_0x324e99(0x447)](!0x0);}[_0x5d2b55(0x2ab)](){const _0xdb86fa=_0x5d2b55;let _0x1c706a=this[_0xdb86fa(0x21d)]['shapeModel'],_0x2d2cc7=_0x1c706a['getShapeTextData'](),_0x244cec=(0x0,_0x122d1a[_0xdb86fa(0x3b3)])(_0x2d2cc7==null?void 0x0:_0x2d2cc7['dataModel']),_0x35e8f1=_0x244cec==null?void 0x0:_0x244cec[_0xdb86fa(0x28b)],_0x3f6a13=this[_0xdb86fa(0x238)][_0xdb86fa(0x342)]();if(!_0x35e8f1||_0x3f6a13[_0xdb86fa(0x24e)]===0x0)return;_0x1c706a[_0xdb86fa(0x483)]({'width':this[_0xdb86fa(0x1f4)],'height':this[_0xdb86fa(0x3ed)]});let _0x17c5ab=(0x0,_0x122d1a[_0xdb86fa(0x369)])({'documentData':_0x3f6a13[_0xdb86fa(0x2ca)](_0x3cb12e=>(0x0,_0x3dd072['createShapeFormulaDocument'])(_0x35e8f1,_0x3cb12e)),'height':this['height'],'shapeData':_0x1c706a[_0xdb86fa(0x216)](),'textRect':_0x1c706a[_0xdb86fa(0x1ea)]({'left':0x0,'top':0x0,'width':this['width'],'height':this[_0xdb86fa(0x3ed)]}),'width':this[_0xdb86fa(0x1f4)]});if(_0x17c5ab){var _0x32abd3;this[_0xdb86fa(0x235)](_0x17c5ab[_0xdb86fa(0x1f4)],_0x17c5ab[_0xdb86fa(0x3ed)]),(_0x32abd3=this[_0xdb86fa(0x44e)]())==null||(_0x32abd3=_0x32abd3[_0xdb86fa(0x2a9)]())==null||_0x32abd3['debounceRefreshControls']();}}get[_0x5d2b55(0x1f9)](){const _0x6a9089=_0x5d2b55;return this[_0x6a9089(0x21d)]['unitId'];}get[_0x5d2b55(0x277)](){const _0x3ba1a0=_0x5d2b55;return this[_0x3ba1a0(0x21d)][_0x3ba1a0(0x277)];}[_0x5d2b55(0x4bf)](_0xaa4d0d){const _0x5a719d=_0x5d2b55;if(this[_0x5a719d(0x21d)]['srcRect']==null||!this[_0x5a719d(0x21e)])return;let {width:_0xa396f3,height:_0x3de605}=this,{width:_0x2cffd7=0x0,height:_0x30f69d=0x0}=_0xaa4d0d['preValue'],{left:_0x2d7a0c=0x0,top:_0x4d4513=0x0,right:_0x919db5=0x0,bottom:_0x2a27e5=0x0}=this[_0x5a719d(0x21d)][_0x5a719d(0x4b3)],_0x5e2af4=_0x2d7a0c,_0x31a3b6=_0x4d4513,_0x1c3f76=_0x919db5,_0x5d3249=_0x2a27e5,_0x5efad3=!0x1;if(_0x2cffd7!==0x0&&_0x2cffd7!==_0xa396f3){let _0x21e5c0=_0x2d7a0c/_0x2cffd7,_0x57b0d9=_0x919db5/_0x2cffd7;_0x5e2af4=_0xa396f3*_0x21e5c0,_0x1c3f76=_0xa396f3*_0x57b0d9,_0x5efad3=!0x0;}if(_0x30f69d!==0x0&&_0x30f69d!==_0x3de605){let _0x475c29=_0x4d4513/_0x30f69d,_0x1aa4d0=_0x2a27e5/_0x30f69d;_0x31a3b6=_0x3de605*_0x475c29,_0x5d3249=_0x3de605*_0x1aa4d0,_0x5efad3=!0x0;}_0x5efad3&&this[_0x5a719d(0x46d)]({'left':_0x5e2af4,'top':_0x31a3b6,'right':_0x1c3f76,'bottom':_0x5d3249});}['setSrcRect'](_0x23920b){const _0x2358f3=_0x5d2b55;this['_props']['srcRect']=_0x23920b,this[_0x2358f3(0x447)](!0x0);}['setFillImage'](_0xbb920a){const _0x3f8ba7=_0x5d2b55;this['_props']['image']=_0xbb920a,this[_0x3f8ba7(0x447)](!0x0);}set['transform'](_0x4be09d){const _0x8e7b78=_0x5d2b55;this[_0x8e7b78(0x37c)]=_0x4be09d;}get['transform'](){const _0x17a687=_0x5d2b55;this[_0x17a687(0x37c)]||this[_0x17a687(0x304)]();let _0x41a186=this[_0x17a687(0x37c)][_0x17a687(0x264)]();return this[_0x17a687(0x30d)](_0x41a186);}get[_0x5d2b55(0x1e7)](){const _0xc1791c=_0x5d2b55;return this['_props'][_0xc1791c(0x1e7)];}get[_0x5d2b55(0x2b1)](){const _0xe000d2=_0x5d2b55;return this[_0xe000d2(0x21d)][_0xe000d2(0x2b1)];}get['classType'](){const _0x44b2c1=_0x5d2b55;return _0x4a14ae[_0x44b2c1(0x2d6)]['SHAPE'];}[_0x5d2b55(0x28c)](_0x51e246,_0x321539,_0x4d5c4a,_0x285272){const _0xcfb0c2=_0x5d2b55;let _0x3bac9f=this[_0xcfb0c2(0x21d)]['shapeModel'];if(!_0x3bac9f||!_0x321539)return;let _0x12774d=_0x4d5c4a??this[_0xcfb0c2(0x1f4)],_0x101903=_0x285272??this[_0xcfb0c2(0x3ed)],_0x4c328e={'shapeType':_0x3bac9f[_0xcfb0c2(0x3ee)](),'width':_0x12774d,'height':_0x101903},_0x163811={'renderMode':_0xc6fd33['ShapeRenderModeEnum'][_0xcfb0c2(0x40c)],'oKey':this['oKey'],'image':this['_props']['image'],'angle':this['angle']};_0x3bac9f[_0xcfb0c2(0x483)](_0x4c328e),_0x51e246[_0xcfb0c2(0x2e4)]();let _0x39aed5={'top':0x0,'left':0x0,'width':_0x12774d,'height':_0x101903},_0x3c613c=_0x3bac9f['getDrawingEffectBounds'](_0x39aed5);_0x3c613c?this[_0xcfb0c2(0x2b5)](_0x51e246,_0x3c613c,_0x352ca3=>{const _0xbca40=_0xcfb0c2;_0x3bac9f[_0xbca40(0x27a)](_0x352ca3,_0x39aed5,_0x163811);}):(this[_0xcfb0c2(0x23f)](),_0x3bac9f[_0xcfb0c2(0x27a)](_0x51e246,_0x39aed5,_0x163811)),_0x51e246[_0xcfb0c2(0x3fd)]();let _0x4586f2=_0x3bac9f['getShapeTextData'](),_0x52fc9d=_0x3bac9f[_0xcfb0c2(0x1ea)](_0x39aed5),_0x447ea2=_0x3bac9f['isLineShape']();if(_0x4586f2&&_0x52fc9d&&!_0x447ea2){_0x51e246[_0xcfb0c2(0x2e4)](),this[_0xcfb0c2(0x479)]()['flipX']&&_0x51e246[_0xcfb0c2(0x470)](-0x1,0x1);let _0x136eea=_0x12774d/0x2,_0x52c7dc=_0x101903/0x2;_0x51e246[_0xcfb0c2(0x207)](-_0x136eea,-_0x52c7dc),_0x51e246[_0xcfb0c2(0x1c5)](),this['_drawShapeText'](_0x51e246,_0x4586f2,_0x52fc9d),_0x51e246[_0xcfb0c2(0x3fd)]();}}['getDrawingPoints'](_0x33f320){}[_0x5d2b55(0x40b)](_0x96bbd4,_0x3f9add,_0x44c2a2){const _0x5b96b9=_0x5d2b55;var _0x5f2c68;this[_0x5b96b9(0x21d)][_0x5b96b9(0x4bd)]||(!((_0x5f2c68=_0x3f9add[_0x5b96b9(0x1b8)])!=null&&_0x5f2c68[_0x5b96b9(0x28b)])&&_0x5b96b9(0x30b)in _0x3f9add&&_0x3f9add['isRichText']===!0x1?this['_drawSimpleText'](_0x96bbd4,_0x3f9add,_0x44c2a2):this[_0x5b96b9(0x210)](_0x96bbd4,_0x3f9add,_0x44c2a2));}['_drawSimpleText'](_0x20db97,_0x2563b8,_0x13abfb){const _0x376bb0=_0x5d2b55;this[_0x376bb0(0x210)](_0x20db97,{..._0x2563b8,'text':_0x2563b8[_0x376bb0(0x360)]??'','dataModel':{'doc':(0x0,_0x122d1a[_0x376bb0(0x350)])(_0x2563b8,_0x376bb0(0x462)+this['oKey'])}},_0x13abfb);}['_drawRichText'](_0x4f9357,_0x590219,_0x519d90){const _0x326fac=_0x5d2b55;(0x0,_0x122d1a[_0x326fac(0x47f)])(_0x4f9357,this['_formulaAnimation'],(_0x44e3a6,_0x4fb7b1)=>{this['_drawRichTextLayer'](_0x44e3a6,_0x590219,_0x519d90,_0x4fb7b1);});}[_0x5d2b55(0x226)](_0x3a9b36,_0x1c7cbe,_0xf0a3a3,_0xacde4){const _0x9a1f5=_0x5d2b55;let _0x2a127c=this[_0x9a1f5(0x21d)][_0x9a1f5(0x3a2)];if(!_0x1c7cbe[_0x9a1f5(0x1b8)]||!_0x2a127c){_0x2a127c||console[_0x9a1f5(0x441)](_0x9a1f5(0x42c));return;}let _0x2c2fbd=(0x0,_0x122d1a[_0x9a1f5(0x3b3)])(_0x1c7cbe[_0x9a1f5(0x1b8)]);if(!_0x2c2fbd)return;let _0x38af6e=_0x2c2fbd[_0x9a1f5(0x28b)];if(!_0x38af6e)return;let _0x1e1b23=(0x0,_0x3dd072[_0x9a1f5(0x4bc)])(_0x38af6e,_0xacde4),_0x42a37f=_0x2c2fbd['va']??_0x889050[_0x9a1f5(0x491)][_0x9a1f5(0x422)],_0x13c017=_0x2c2fbd['ha']??_0x889050[_0x9a1f5(0x284)][_0x9a1f5(0x37f)],_0x5a54dd=_0x168ca7(this['_props']['shapeModel'][_0x9a1f5(0x216)](),_0x1c7cbe,_0x1e1b23),_0x50773c=_0x1c7cbe[_0x9a1f5(0x4b9)],_0x51747c=new _0x889050[(_0x9a1f5(0x37b))]((0x0,_0x122d1a['prepareShapeTextDocumentData'])(_0x1e1b23,{'isHorizontal':_0x50773c!==!0x1,'textRect':_0xf0a3a3,'verticalAlign':_0x42a37f,'horizontalAlign':_0x13c017,'wrapStrategy':_0x5a54dd[_0x9a1f5(0x1dc)]})),_0x2292ad=new _0x4a14ae['DocumentViewModel'](_0x51747c),_0x4cff65=_0x4a14ae['DocumentSkeleton']['create'](_0x2292ad,_0x2a127c);_0x4cff65['calculate']();let _0x5e0e23=_0x4cff65[_0x9a1f5(0x2d9)]()[_0x9a1f5(0x443)],_0x166f61=(0x0,_0x122d1a[_0x9a1f5(0x47c)])({'contentHeight':_0x5e0e23,'verticalAlign':_0x42a37f,'viewportHeight':_0xf0a3a3['height']});_0x51747c[_0x9a1f5(0x35b)]({'pageSize':{'width':_0x50773c===!0x1?_0xf0a3a3['height']:_0xf0a3a3[_0x9a1f5(0x1f4)],'height':_0x166f61[_0x9a1f5(0x253)]}}),_0x51747c[_0x9a1f5(0x382)]({'t':_0x166f61[_0x9a1f5(0x4ad)]}),_0x4cff65[_0x9a1f5(0x1b9)]();let _0x4641f1=new _0x4a14ae['Documents'](_0x9a1f5(0x477)+this[_0x9a1f5(0x363)],_0x4cff65,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this['makeDirty'](!0x0)});_0x4641f1[_0x9a1f5(0x235)](_0xf0a3a3[_0x9a1f5(0x1f4)],_0x166f61['contentHeight']),_0x3a9b36['save'](),_0x3a9b36['translateWithPrecision'](_0xf0a3a3[_0x9a1f5(0x499)],_0xf0a3a3[_0x9a1f5(0x421)]),_0x5a54dd[_0x9a1f5(0x43b)]&&(_0x3a9b36['beginPath'](),_0x3a9b36['rect'](0x0,_0x166f61[_0x9a1f5(0x276)],_0xf0a3a3['width'],_0x166f61[_0x9a1f5(0x32f)]),_0x3a9b36[_0x9a1f5(0x43b)]()),_0x166f61[_0x9a1f5(0x42d)]&&_0x3a9b36[_0x9a1f5(0x2b3)](0x0,_0x166f61[_0x9a1f5(0x42d)]),_0x4641f1[_0x9a1f5(0x439)](_0x3a9b36),_0x3a9b36[_0x9a1f5(0x3fd)](),_0x4641f1['dispose'](),_0x4cff65[_0x9a1f5(0x2c3)](),_0x2292ad[_0x9a1f5(0x2c3)](),_0x51747c[_0x9a1f5(0x2c3)]();}[_0x5d2b55(0x27a)](_0x274b0,_0x5a34ac,_0x4815a5=!0x1){const _0xd85c9d=_0x5d2b55;if(!this['visible'])return this[_0xd85c9d(0x447)](!0x1),this;let {width:_0xf5e283,height:_0x1c7860,left:_0x1a1b92,top:_0xaf7876}=this,_0x40752e=this[_0xd85c9d(0x2ed)]();if(_0xf5e283=_0x40752e[_0xd85c9d(0x1f4)],_0x1c7860=_0x40752e[_0xd85c9d(0x3ed)],_0x1a1b92=_0x40752e['left'],_0xaf7876=_0x40752e['top'],this['isRender'](_0x5a34ac)){let {top:_0x2e6a91,left:_0x50de33,bottom:_0x198c8c,right:_0x5b28b0}=_0x5a34ac[_0xd85c9d(0x294)];if(_0xf5e283+this[_0xd85c9d(0x2f6)]+_0x1a1b92<_0x50de33||_0x5b28b0<_0x1a1b92||_0x1c7860+this['strokeWidth']+_0xaf7876<_0x2e6a91||_0x198c8c<_0xaf7876)return this;}let _0x2ed9aa=_0x1a1b92+_0xf5e283/0x2,_0x44b51d=_0xaf7876+_0x1c7860/0x2,_0x4bfac6=this[_0xd85c9d(0x30e)][_0xd85c9d(0x4ba)]();if(this[_0xd85c9d(0x21d)][_0xd85c9d(0x4bd)]){let _0x276419=this['getState'](),_0x5f2aa0=new _0x4a14ae[(_0xd85c9d(0x4a1))]();_0x5f2aa0[_0xd85c9d(0x1ee)]({..._0x276419}),_0x4bfac6=_0x5f2aa0[_0xd85c9d(0x4ba)]();}return _0x274b0[_0xd85c9d(0x2e4)](),this[_0xd85c9d(0x21d)][_0xd85c9d(0x1e7)][_0xd85c9d(0x201)]===!0x0||_0x274b0[_0xd85c9d(0x30e)](_0x4bfac6[0x0],_0x4bfac6[0x1],_0x4bfac6[0x2],_0x4bfac6[0x3],_0x2ed9aa,_0x44b51d),this[_0xd85c9d(0x28c)](_0x274b0,_0x5a34ac,_0xf5e283,_0x1c7860),_0x274b0[_0xd85c9d(0x3fd)](),this[_0xd85c9d(0x447)](!0x1),this;}[_0x5d2b55(0x3a4)](_0x358ef1){const _0x8a20f6=_0x5d2b55;let {left:_0x36b34b,top:_0x468322,width:_0x10cb3e,height:_0x39b329}=this[_0x8a20f6(0x2ed)](),_0x134efe=this['transform']['getMatrix'](),_0x23057b=_0x36b34b+_0x10cb3e/0x2,_0x3f2e23=_0x468322+_0x39b329/0x2,_0x23f029=new _0x4a14ae[(_0x8a20f6(0x4a1))]([_0x134efe[0x0],_0x134efe[0x1],_0x134efe[0x2],_0x134efe[0x3],_0x23057b,_0x3f2e23]),_0x357386=this[_0x8a20f6(0x383)]();return(this['isInGroup']&&(_0x357386==null?void 0x0:_0x357386[_0x8a20f6(0x336)])===_0x4a14ae[_0x8a20f6(0x2d6)][_0x8a20f6(0x39c)]?_0x357386['ancestorTransform'][_0x8a20f6(0x390)](_0x23f029):_0x23f029)[_0x8a20f6(0x48c)]()[_0x8a20f6(0x20c)](_0x358ef1);}[_0x5d2b55(0x416)](_0xf81c98){const _0x198019=_0x5d2b55;let {left:_0x30d417,top:_0x636e9e,width:_0x1e2e32,height:_0x1b424f}=this[_0x198019(0x2ed)](),_0x3d6ba9=_0x30d417+_0x1e2e32/0x2,_0x4f0803=_0x636e9e+_0x1b424f/0x2,_0xde4d94=this['transform'][_0x198019(0x4ba)](),_0x55f687=new _0x4a14ae[(_0x198019(0x4a1))]([_0xde4d94[0x0],_0xde4d94[0x1],_0xde4d94[0x2],_0xde4d94[0x3],_0x3d6ba9,_0x4f0803]),_0x48cf0b=this[_0x198019(0x383)](),_0x3e683e=(this[_0x198019(0x472)]&&(_0x48cf0b==null?void 0x0:_0x48cf0b['classType'])===_0x4a14ae['RENDER_CLASS_TYPE'][_0x198019(0x39c)]?_0x48cf0b[_0x198019(0x1f7)][_0x198019(0x390)](_0x55f687):_0x55f687)['invert']()['applyPoint'](_0xf81c98),_0xb51a6a=_0x1e2e32/0x2,_0x2d10f6=_0x1b424f/0x2,_0x3d3664=this[_0x198019(0x21d)]['shapeModel'];return _0x3d3664&&_0x3d3664[_0x198019(0x34f)]()?_0x3d3664['isHitLine'](_0x3e683e['x'],_0x3e683e['y'],_0x1e2e32,_0x1b424f):_0x3e683e['x']>=-_0xb51a6a-this[_0x198019(0x2f6)]/0x2&&_0x3e683e['x']<=_0xb51a6a+this[_0x198019(0x2f6)]/0x2&&_0x3e683e['y']>=-_0x2d10f6-this['strokeWidth']/0x2&&_0x3e683e['y']<=_0x2d10f6+this[_0x198019(0x2f6)]/0x2;}[_0x5d2b55(0x2c3)](){const _0x30cfce=_0x5d2b55;this[_0x30cfce(0x238)][_0x30cfce(0x2c3)](),this['_props'][_0x30cfce(0x1e7)]=null,super[_0x30cfce(0x2c3)]();}};let _0x24dab5=class extends _0x889050['Disposable']{constructor(_0x15dd2c,_0x51d344,_0x1fc3ff,_0x183e7f){const _0x3e9f44=_0x5d2b55;super(),this[_0x3e9f44(0x333)]=_0x15dd2c,this[_0x3e9f44(0x3e9)]=_0x51d344,this['_docsShapeService']=_0x1fc3ff,this[_0x3e9f44(0x320)]=_0x183e7f,_0x342b29(this,_0x3e9f44(0x28d),null),_0x342b29(this,'_unitId',null),_0x342b29(this,_0x3e9f44(0x1d4),null),_0x342b29(this,'_activeShapeAdjustPointList',void 0x0),_0x342b29(this,_0x3e9f44(0x323),[]),_0x342b29(this,'_baseShapeLeft',0x0),_0x342b29(this,_0x3e9f44(0x436),0x0),_0x342b29(this,_0x3e9f44(0x450),0x0),_0x342b29(this,_0x3e9f44(0x243),0x0),_0x342b29(this,_0x3e9f44(0x35c),!0x1),_0x342b29(this,'_isShouldShowDrawingShapeAdjust',!0x1),_0x342b29(this,_0x3e9f44(0x307),void 0x0),_0x342b29(this,_0x3e9f44(0x37a),void 0x0),_0x342b29(this,_0x3e9f44(0x34e),void 0x0),_0x342b29(this,_0x3e9f44(0x364),void 0x0),this[_0x3e9f44(0x3d2)](),this[_0x3e9f44(0x297)]();}['clearAdjustControls'](){const _0x3266de=_0x5d2b55;this[_0x3266de(0x306)]();}[_0x5d2b55(0x271)](){const _0x3bcfc8=_0x5d2b55;this[_0x3bcfc8(0x3de)](!0x0);}[_0x5d2b55(0x2fd)](_0xfb037,_0x165da1,_0x14fa70){const _0x17444e=_0x5d2b55;var _0x79cf75;return(_0x79cf75=this[_0x17444e(0x3d8)][_0x17444e(0x41a)](_0xfb037,_0x165da1,_0x14fa70))==null?void 0x0:_0x79cf75[_0x17444e(0x20d)]();}[_0x5d2b55(0x251)](_0x3c4ec4,_0x51b39a,_0x3d5b44,_0x8943ed){const _0x562b89=_0x5d2b55;var _0x3cbaa6;return(_0x3cbaa6=this[_0x562b89(0x3d8)][_0x562b89(0x41a)](_0x3c4ec4,_0x51b39a,_0x3d5b44))==null?void 0x0:_0x3cbaa6[_0x562b89(0x1fd)](_0x8943ed);}[_0x5d2b55(0x240)](){const _0x24df96=_0x5d2b55;return this[_0x24df96(0x1df)]===null||this[_0x24df96(0x1d4)]===null||this['_activeShapeId']===null?null:this[_0x24df96(0x3e9)][_0x24df96(0x2b4)]({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this[_0x24df96(0x28d)]})??null;}['_getActiveDrawingShape'](_0x329e1d){const _0x38f641=_0x5d2b55;if(this['_unitId']===null||this[_0x38f641(0x1d4)]===null||this[_0x38f641(0x28d)]===null)return null;let _0x38117a=(0x0,_0x2b39ea[_0x38f641(0x1d0)])({'unitId':this['_unitId'],'subUnitId':this[_0x38f641(0x1d4)],'drawingId':this[_0x38f641(0x28d)]}),_0xb0941b=_0x329e1d[_0x38f641(0x488)](_0x38117a);return _0xb0941b instanceof _0x48cb63?_0xb0941b:null;}[_0x5d2b55(0x351)](_0x452fc2=!0x1){const _0x4ca8e9=_0x5d2b55;if(this['_unitId']===null||this[_0x4ca8e9(0x1d4)]===null||this[_0x4ca8e9(0x28d)]===null)return;let _0x357cf2=this[_0x4ca8e9(0x240)]();if((_0x357cf2==null?void 0x0:_0x357cf2[_0x4ca8e9(0x299)])!==_0x889050[_0x4ca8e9(0x2c5)][_0x4ca8e9(0x410)]||!_0x357cf2[_0x4ca8e9(0x30e)])return;let _0x5bed77=this[_0x4ca8e9(0x3d8)][_0x4ca8e9(0x41a)](this[_0x4ca8e9(0x1df)],this[_0x4ca8e9(0x1d4)],this[_0x4ca8e9(0x28d)]);if(!_0x5bed77||_0x5bed77[_0x4ca8e9(0x34f)]())return;let {left:_0x377e29=0x0,top:_0x2d603d=0x0,width:_0x4bb875=0x0,height:_0x4a0cc6=0x0,flipX:_0x18a1fb,flipY:_0x58ef79,angle:_0x3f647d=0x0}=_0x357cf2[_0x4ca8e9(0x30e)];(_0x452fc2||!this['_activeShapeAdjustPointList'])&&(_0x5bed77[_0x4ca8e9(0x483)]({'width':_0x4bb875,'height':_0x4a0cc6}),this[_0x4ca8e9(0x37d)]=_0x5bed77['getDrawingPoints']());let _0x122c21=this[_0x4ca8e9(0x37d)];if(!(_0x122c21!=null&&_0x122c21[_0x4ca8e9(0x24e)]))return;let {scene:_0xa18e7f}=this[_0x4ca8e9(0x333)];for(let _0x3ae608 of _0x122c21){let _0x46164c=this['_toVisualAdjustPoint'](_0x3ae608,_0x4bb875,_0x4a0cc6,!!_0x18a1fb,!!_0x58ef79,_0x3f647d);this[_0x4ca8e9(0x495)](_0xa18e7f,_0x46164c,_0x46164c[_0x4ca8e9(0x3d3)],_0x377e29,_0x2d603d,this[_0x4ca8e9(0x1df)],this[_0x4ca8e9(0x1d4)]);}}['_toVisualAdjustPoint'](_0x340ae0,_0x4beb93,_0x289017,_0x3ad300,_0x2bbba2,_0x933bab){const _0x4000bd=_0x5d2b55;let _0x3fce9a=_0x340ae0['x'],_0x5d5cb7=_0x340ae0['y'];if(_0x3ad300&&(_0x3fce9a=_0x4beb93-_0x3fce9a),_0x2bbba2&&(_0x5d5cb7=_0x289017-_0x5d5cb7),_0x933bab!==0x0){let _0xb5d64e=_0x4beb93/0x2,_0x3b4822=_0x289017/0x2,_0xc45e11=_0x933bab*Math['PI']/0xb4,_0x516131=Math[_0x4000bd(0x39b)](_0xc45e11),_0x4862fe=Math[_0x4000bd(0x426)](_0xc45e11),_0x45d2f4=_0x3fce9a-_0xb5d64e,_0x2bd2fb=_0x5d5cb7-_0x3b4822;_0x3fce9a=_0xb5d64e+(_0x45d2f4*_0x516131-_0x2bd2fb*_0x4862fe),_0x5d5cb7=_0x3b4822+(_0x45d2f4*_0x4862fe+_0x2bd2fb*_0x516131);}return{'x':_0x3fce9a,'y':_0x5d5cb7,'adjName':_0x340ae0[_0x4000bd(0x3d3)]};}['_updateShapeAdjustControls'](_0xb64e1a=!0x1){const _0x186020=_0x5d2b55;_0xb64e1a&&this[_0x186020(0x306)](),this[_0x186020(0x351)](_0xb64e1a);}[_0x5d2b55(0x495)](_0x26805a,_0x3b4ae8,_0x44e9ab,_0x1ff2bb,_0x13ea52,_0x13be2b,_0x3436f3){const _0x5be9a4=_0x5d2b55;if(!this[_0x5be9a4(0x28d)])return;let _0x486813=_0x5be9a4(0x1e8)+this[_0x5be9a4(0x28d)]+'-'+_0x44e9ab,_0x53f043=_0x26805a[_0x5be9a4(0x488)](_0x486813);if(_0x53f043){_0x53f043[_0x5be9a4(0x44d)]({'left':_0x3b4ae8['x']+_0x1ff2bb-_0xc6fd33['ShapeDefaultConfig'][_0x5be9a4(0x418)],'top':_0x3b4ae8['y']+_0x13ea52-_0xc6fd33[_0x5be9a4(0x362)]['adjHandleSize']}),_0x53f043['makeDirty'](!0x0);return;}let _0x1a84b3=new _0x5b9bb1(_0x486813,{'left':_0x3b4ae8['x']+_0x1ff2bb-_0xc6fd33['ShapeDefaultConfig'][_0x5be9a4(0x418)],'top':_0x3b4ae8['y']+_0x13ea52-_0xc6fd33[_0x5be9a4(0x362)]['adjHandleSize'],'adjName':_0x44e9ab,'shapeId':this[_0x5be9a4(0x28d)],'unitId':_0x13be2b,'subUnitId':_0x3436f3,'width':_0xc6fd33[_0x5be9a4(0x362)][_0x5be9a4(0x418)]+0x8,'height':_0xc6fd33[_0x5be9a4(0x362)][_0x5be9a4(0x418)]+0x8,'zIndex':_0x4a14ae[_0x5be9a4(0x2fb)]+0x1,'evented':!0x0});this['_adjustPointObjects'][_0x5be9a4(0x3b2)](_0x1a84b3),this[_0x5be9a4(0x3ec)](_0x1a84b3,_0x26805a,_0x44e9ab),_0x26805a['addObject'](_0x1a84b3,_0x4a14ae['DRAWING_OBJECT_LAYER_INDEX']+0x1);}[_0x5d2b55(0x306)](){const _0x96c958=_0x5d2b55;this[_0x96c958(0x323)][_0x96c958(0x3be)](_0x46ae43=>_0x46ae43[_0x96c958(0x2c3)]()),this[_0x96c958(0x323)]=[];}[_0x5d2b55(0x446)](){const _0x15abe4=_0x5d2b55;this[_0x15abe4(0x351)]();}[_0x5d2b55(0x1ef)](_0x4fe477,_0x46f7cd,_0x182998){const _0x5493d4=_0x5d2b55;let _0x358903=_0x4a14ae['Vector2']['FromArray']([_0x46f7cd,_0x182998]),_0x31d7aa=_0x4fe477['getActiveViewportByCoord'](_0x358903)??_0x4fe477['getViewports']()[0x0];return(_0x31d7aa==null?void 0x0:_0x31d7aa[_0x5493d4(0x32d)](_0x358903))??_0x358903;}[_0x5d2b55(0x3ec)](_0x14d4e7,_0x2f4c88,_0x4f25ea){const _0xd7d3f7=_0x5d2b55;this[_0xd7d3f7(0x367)]((0x0,_0x889050[_0xd7d3f7(0x2c8)])(_0x14d4e7[_0xd7d3f7(0x31a)][_0xd7d3f7(0x29f)]((_0x241dd7,_0x3f9671)=>{const _0x995dab=_0xd7d3f7;var _0x167cb3;let _0x4078d2=_0x14d4e7[_0x995dab(0x3c8)]();this[_0x995dab(0x307)]=this[_0x995dab(0x251)](_0x4078d2['unitId'],_0x4078d2[_0x995dab(0x277)],_0x4078d2[_0x995dab(0x249)],_0x4f25ea),this[_0x995dab(0x37a)]=this['_docsShapeService'][_0x995dab(0x41a)](_0x4078d2[_0x995dab(0x1f9)],_0x4078d2[_0x995dab(0x277)],_0x4078d2['drawingId']);let _0x42ef45=this['_getActiveDrawingParam'](),_0x2434e2=_0x42ef45==null?void 0x0:_0x42ef45[_0x995dab(0x30e)];if(!_0x42ef45||!_0x2434e2||!this[_0x995dab(0x37a)])return;this[_0x995dab(0x4bb)]=_0x2434e2[_0x995dab(0x499)]||0x0,this['_baseShapeTop']=_0x2434e2[_0x995dab(0x421)]||0x0,this[_0x995dab(0x450)]=_0x2434e2['width']||0x0,this['_baseShapeHeight']=_0x2434e2[_0x995dab(0x3ed)]||0x0;let _0x252968=!!_0x2434e2[_0x995dab(0x48a)],_0x3bc3e8=!!_0x2434e2[_0x995dab(0x2c9)],_0x19926e=_0x2434e2['angle']||0x0,_0x2456a8={...((_0x167cb3=this[_0x995dab(0x307)])==null?void 0x0:_0x167cb3[_0x995dab(0x45d)])??{}};this[_0x995dab(0x35c)]=!0x0,_0x2f4c88[_0x995dab(0x3df)](),this[_0x995dab(0x34e)]=_0x2f4c88[_0x995dab(0x214)]['subscribeEvent']((_0x77f020,_0x29fe5d)=>{const _0x31e16b=_0x995dab;var _0x1b0930;if(!this[_0x31e16b(0x35c)]||!this[_0x31e16b(0x37a)]||!this[_0x31e16b(0x307)])return;_0x2f4c88[_0x31e16b(0x3df)](),_0x2f4c88[_0x31e16b(0x293)](_0x4a14ae[_0x31e16b(0x399)][_0x31e16b(0x3fb)]);let _0x5298c4=this[_0x31e16b(0x1ef)](_0x2f4c88,_0x77f020['offsetX'],_0x77f020[_0x31e16b(0x463)]),_0x140573=_0x5298c4['x']-this[_0x31e16b(0x4bb)],_0x2eb6a8=_0x5298c4['y']-this[_0x31e16b(0x436)];if(_0x19926e!==0x0){let _0xe6acef=this[_0x31e16b(0x450)]/0x2,_0xaa06a6=this[_0x31e16b(0x243)]/0x2,_0x198af2=_0x19926e*Math['PI']/0xb4,_0x14fd34=Math[_0x31e16b(0x39b)](_0x198af2),_0x22aeb0=Math[_0x31e16b(0x426)](_0x198af2),_0x10f3b9=_0x140573-_0xe6acef,_0xbcd88d=_0x2eb6a8-_0xaa06a6;_0x140573=_0xe6acef+(_0x10f3b9*_0x14fd34+_0xbcd88d*_0x22aeb0),_0x2eb6a8=_0xaa06a6+(-_0x10f3b9*_0x22aeb0+_0xbcd88d*_0x14fd34);}_0x252968&&(_0x140573=this[_0x31e16b(0x450)]-_0x140573),_0x3bc3e8&&(_0x2eb6a8=this[_0x31e16b(0x243)]-_0x2eb6a8);let _0x2e34c2={'left':0x0,'top':0x0,'width':this[_0x31e16b(0x450)],'height':this[_0x31e16b(0x243)]},_0x3bece9=this[_0x31e16b(0x37a)][_0x31e16b(0x3ad)](_0x2e34c2,{'x':_0x140573,'y':_0x2eb6a8},this[_0x31e16b(0x307)],_0x252968,_0x3bc3e8);if(Object[_0x31e16b(0x281)](_0x3bece9)[_0x31e16b(0x24e)]!==0x0){for(let [_0xb226eb,_0x4472b5]of Object[_0x31e16b(0x224)](_0x3bece9))this[_0x31e16b(0x37a)]['setAdjustValueByName'](_0xb226eb,_0x4472b5);this['_activeShapeModel'][_0x31e16b(0x483)]({'width':this[_0x31e16b(0x450)],'height':this[_0x31e16b(0x243)]}),(_0x1b0930=this[_0x31e16b(0x262)](_0x2f4c88))==null||_0x1b0930['makeDirty'](!0x0),this[_0x31e16b(0x37d)]=this['_getShapeAdjustPointListById'](_0x4078d2[_0x31e16b(0x1f9)],_0x4078d2[_0x31e16b(0x277)],_0x4078d2[_0x31e16b(0x249)]),this['_updateAdjustControlPositions'](),_0x29fe5d[_0x31e16b(0x2da)]();}}),this['_adjHandlerPointerUp']=_0x2f4c88['onPointerUp$'][_0x995dab(0x29f)]((_0x592807,_0x2a1b80)=>{const _0x22ba3f=_0x995dab;var _0x9dfdce,_0x140534;(_0x9dfdce=this[_0x22ba3f(0x34e)])==null||_0x9dfdce[_0x22ba3f(0x3f9)](),(_0x140534=this[_0x22ba3f(0x364)])==null||_0x140534[_0x22ba3f(0x3f9)](),_0x2f4c88['resetCursor']();let _0x19e3cf=this[_0x22ba3f(0x307)];if(_0x19e3cf&&this[_0x22ba3f(0x37a)]){let _0x251656={};for(let _0x1e9cbf of Object[_0x22ba3f(0x281)](_0x19e3cf[_0x22ba3f(0x45d)])){let _0x1573bf=this[_0x22ba3f(0x37a)][_0x22ba3f(0x3f0)](_0x1e9cbf);_0x1573bf!==void 0x0&&(_0x251656[_0x1e9cbf]=_0x1573bf);}Object[_0x22ba3f(0x281)](_0x251656)[_0x22ba3f(0x24e)]>0x0&&_0x4b32b1(this[_0x22ba3f(0x320)],_0x4078d2[_0x22ba3f(0x1f9)],_0x4078d2['subUnitId'],_0x4078d2['drawingId'],{'oldShapeData':{'adjustValues':_0x2456a8}},{'adjustValues':_0x251656});}this[_0x22ba3f(0x307)]=void 0x0,this[_0x22ba3f(0x37a)]=void 0x0,this[_0x22ba3f(0x35c)]=!0x1,_0x2f4c88['enableObjectsEvent'](),_0x2a1b80[_0x22ba3f(0x2da)]();}),_0x3f9671[_0x995dab(0x2da)]();})));}['_registerDrawingTransformHandler'](){const _0x58e1a8=_0x5d2b55;let {scene:_0x2dbb97}=this[_0x58e1a8(0x333)],_0x119ceb=_0x2dbb97[_0x58e1a8(0x26e)]();this[_0x58e1a8(0x367)](_0x119ceb['changeStart$'][_0x58e1a8(0x431)](_0x47b633=>{const _0x49a196=_0x58e1a8;this[_0x49a196(0x351)](),_0x47b633[_0x49a196(0x3d4)]!==null&&_0x47b633[_0x49a196(0x3d4)][_0x49a196(0x2cd)]===0x1&&_0x47b633['objects'][_0x49a196(0x3bc)]()[_0x49a196(0x49c)]()['value']instanceof _0x48cb63&&(this[_0x49a196(0x1c3)]=!0x0);})),this['disposeWithMe'](_0x119ceb[_0x58e1a8(0x278)]['subscribe'](()=>{const _0x4d8cce=_0x58e1a8;this[_0x4d8cce(0x1c3)]&&this['_clearShapeAdjustControls']();})),this[_0x58e1a8(0x367)](_0x2dbb97[_0x58e1a8(0x2b9)][_0x58e1a8(0x29f)](()=>{const _0x4d17f7=_0x58e1a8;this[_0x4d17f7(0x1c3)]&&(this[_0x4d17f7(0x1c3)]=!0x1,this[_0x4d17f7(0x351)]());})),this[_0x58e1a8(0x367)](_0x119ceb[_0x58e1a8(0x394)][_0x58e1a8(0x431)](()=>{const _0x10eeb0=_0x58e1a8;this[_0x10eeb0(0x1df)]&&this['_subUnitId']&&this[_0x10eeb0(0x28d)]&&(this[_0x10eeb0(0x37d)]=this['_getShapeAdjustPointListById'](this['_unitId'],this[_0x10eeb0(0x1d4)],this[_0x10eeb0(0x28d)]),this[_0x10eeb0(0x446)]());}));}[_0x5d2b55(0x3d2)](){const _0x4a503d=_0x5d2b55;this['disposeWithMe'](this[_0x4a503d(0x320)][_0x4a503d(0x38b)](_0x23bc11=>{const _0x2d6f9b=_0x4a503d;if(_0x23bc11['id']!==_0x41863e['UpdateDocShapeDataMutation']['id'])return;let {unitId:_0x22d39c,shapeId:_0x27ce37}=_0x23bc11[_0x2d6f9b(0x2a4)];_0x22d39c===this[_0x2d6f9b(0x1df)]&&_0x27ce37===this['_activeShapeId']&&this[_0x2d6f9b(0x271)]();})),this['disposeWithMe'](this[_0x4a503d(0x3e9)][_0x4a503d(0x3b8)][_0x4a503d(0x431)](_0x6a60ee=>{const _0x49f1f8=_0x4a503d;if(_0x6a60ee[_0x49f1f8(0x24e)]===0x1){let _0x5b7075=_0x6a60ee[0x0],_0x18ad41=this['_drawingManagerService']['getDrawingByParam'](_0x5b7075);if((_0x18ad41==null?void 0x0:_0x18ad41[_0x49f1f8(0x299)])===_0x889050[_0x49f1f8(0x2c5)][_0x49f1f8(0x410)]){this['_activeShapeId']=_0x5b7075[_0x49f1f8(0x249)],this[_0x49f1f8(0x1df)]=_0x5b7075[_0x49f1f8(0x1f9)],this[_0x49f1f8(0x1d4)]=_0x5b7075[_0x49f1f8(0x277)],this[_0x49f1f8(0x37d)]=this[_0x49f1f8(0x2fd)](_0x5b7075[_0x49f1f8(0x1f9)],_0x5b7075[_0x49f1f8(0x277)],_0x5b7075[_0x49f1f8(0x249)]),this[_0x49f1f8(0x306)](),this[_0x49f1f8(0x351)]();return;}}this[_0x49f1f8(0x28d)]=null,this[_0x49f1f8(0x37d)]=void 0x0,this[_0x49f1f8(0x1df)]=null,this[_0x49f1f8(0x1d4)]=null,this['_clearShapeAdjustControls']();})),this[_0x4a503d(0x367)]((0x0,_0x14d6bc[_0x4a503d(0x2ad)])(this[_0x4a503d(0x3e9)]['update$'],this[_0x4a503d(0x3e9)][_0x4a503d(0x212)])[_0x4a503d(0x431)](_0x1f6f33=>{const _0x4501eb=_0x4a503d;var _0x144744;let _0x25684c=_0x1f6f33[_0x4501eb(0x368)](_0x40762f=>_0x40762f['drawingId']===this[_0x4501eb(0x28d)]&&_0x40762f[_0x4501eb(0x1f9)]===this[_0x4501eb(0x1df)]&&_0x40762f[_0x4501eb(0x277)]===this[_0x4501eb(0x1d4)]);_0x25684c&&((_0x144744=this[_0x4501eb(0x3e9)][_0x4501eb(0x2b4)](_0x25684c))==null?void 0x0:_0x144744[_0x4501eb(0x299)])===_0x889050[_0x4501eb(0x2c5)][_0x4501eb(0x410)]&&this[_0x4501eb(0x3de)](!0x0);})),this[_0x4a503d(0x367)](this[_0x4a503d(0x3e9)][_0x4a503d(0x1be)][_0x4a503d(0x431)](_0x5cd159=>{const _0x579551=_0x4a503d;for(let _0x51d16e of _0x5cd159)this[_0x579551(0x28d)]===_0x51d16e[_0x579551(0x249)]&&(this[_0x579551(0x28d)]=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x579551(0x1df)]=null,this['_subUnitId']=null,this[_0x579551(0x306)]());}));}};_0x24dab5=_0x3b5a68([_0x29bdea(0x1,_0x2b39ea['IDrawingManagerService']),_0x29bdea(0x2,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x41863e[_0x5d2b55(0x476)])),_0x29bdea(0x3,_0x889050[_0x5d2b55(0x484)])],_0x24dab5);function _0x10fd99(_0x30f81f){const _0x113777=_0x5d2b55;return _0x30f81f['behindText']===!0x0||_0x30f81f[_0x113777(0x246)]===_0x889050[_0x113777(0x2e5)][_0x113777(0x2a5)]||_0x30f81f[_0x113777(0x32c)]===_0x889050[_0x113777(0x239)][_0x113777(0x288)]&&_0x30f81f[_0x113777(0x35e)]===_0x889050[_0x113777(0x2e5)][_0x113777(0x2a5)]?_0x1dd9a1[_0x113777(0x3cb)]-0x1:_0x4a14ae[_0x113777(0x2fb)];}let _0x2c9076=class extends _0x889050[_0x5d2b55(0x44f)]{constructor(_0x38efde,_0x1f979a,_0x1212be,_0x3afc8b,_0xde1e4a,_0x369123,_0x44ed03){const _0x230491=_0x5d2b55;super(),this[_0x230491(0x3e9)]=_0x38efde,this[_0x230491(0x3d8)]=_0x1f979a,this[_0x230491(0x32e)]=_0x1212be,this[_0x230491(0x30a)]=_0x3afc8b,this[_0x230491(0x401)]=_0xde1e4a,this[_0x230491(0x49a)]=_0x369123,this['_shapeFormulaService']=_0x44ed03,_0x342b29(this,'_formulaShapes',new Map()),this['disposeWithMe'](this['_shapeFormulaService'][_0x230491(0x3e2)][_0x230491(0x431)](_0x480d2a=>{const _0x3ff8f9=_0x230491;var _0x162a7d;(_0x162a7d=this[_0x3ff8f9(0x3ab)][_0x3ff8f9(0x2bd)](this['_formulaKey'](_0x480d2a[_0x3ff8f9(0x1f9)],_0x480d2a[_0x3ff8f9(0x277)],_0x480d2a[_0x3ff8f9(0x2b1)])))==null||_0x162a7d[_0x3ff8f9(0x3be)](_0xb0219c=>_0xb0219c[_0x3ff8f9(0x1ba)](_0x480d2a[_0x3ff8f9(0x42b)],_0x480d2a[_0x3ff8f9(0x2a1)]));})),this['disposeWithMe'](this[_0x230491(0x3e9)]['remove$'][_0x230491(0x431)](_0xf6a1f3=>{const _0x354bd5=_0x230491;_0xf6a1f3[_0x354bd5(0x3be)](_0x1f4062=>{const _0x150d9c=_0x354bd5;this[_0x150d9c(0x3ce)][_0x150d9c(0x465)]({'unitId':_0x1f4062[_0x150d9c(0x1f9)],'subUnitId':_0x1f4062['subUnitId'],'shapeId':_0x1f4062[_0x150d9c(0x249)]}),this[_0x150d9c(0x3ab)][_0x150d9c(0x26a)](this['_formulaKey'](_0x1f4062[_0x150d9c(0x1f9)],_0x1f4062[_0x150d9c(0x277)],_0x1f4062[_0x150d9c(0x249)]));});}));}[_0x5d2b55(0x280)](_0x14077c,_0x1ed6b7){const _0x1fde45=_0x5d2b55;let {transform:_0x22448f,drawingType:_0x262d9d,srcRect:_0xb05157,prstGeom:_0x5ca4f4,groupId:_0x562531,unitId:_0x20a104,subUnitId:_0x9ec45a,drawingId:_0x39da7,isMultiTransform:_0x472685,transforms:_0x2fde3d,hidden:_0x2c958c,selectable:_0xd41b19}=_0x14077c;if(_0x262d9d!==_0x889050[_0x1fde45(0x2c5)]['DRAWING_SHAPE']||!this[_0x1fde45(0x3e9)][_0x1fde45(0x489)]()||_0x22448f==null)return;let _0xc39350=this[_0x1fde45(0x3e9)][_0x1fde45(0x3cf)](),_0x254293=_0x472685&&_0x2fde3d?_0x2fde3d:[_0x22448f],_0xf5559=[];for(let _0x1621ae of _0x254293){let {left:_0x10196a,top:_0x38490f,width:_0x1b61f0,height:_0x5e949c,angle:_0x29c069,flipX:_0xe7caf5,flipY:_0x52312c,skewX:_0x4005f3,skewY:_0x2c9de8}=_0x1621ae,_0x9bfd1e=_0x254293['indexOf'](_0x1621ae),_0x556cc2=(0x0,_0x2b39ea[_0x1fde45(0x1d0)])({'unitId':_0x20a104,'subUnitId':_0x9ec45a,'drawingId':_0x39da7},_0x472685?_0x9bfd1e:void 0x0),_0x40156d=_0x1ed6b7[_0x1fde45(0x488)](_0x556cc2);if(_0x40156d!=null){let _0x35baea={'unitId':_0x20a104,'subUnitId':_0x9ec45a,'shapeId':_0x39da7};_0x40156d instanceof _0x48cb63&&this[_0x1fde45(0x2f4)](_0x40156d,_0x35baea),_0x40156d[_0x1fde45(0x44d)]({'left':_0x10196a,'top':_0x38490f,'width':_0x1b61f0,'height':_0x5e949c,'angle':_0x29c069,'flipX':_0xe7caf5,'flipY':_0x52312c,'skewX':_0x4005f3,'skewY':_0x2c9de8});continue;}let _0x59c252=this[_0x1fde45(0x3e9)][_0x1fde45(0x392)](_0x20a104,_0x9ec45a),_0x148b1e=_0x59c252[_0x1fde45(0x4be)](_0x39da7);if(_0x1ed6b7['getObjectIncludeInGroup'](_0x556cc2)||!this['_drawingManagerService']['getDrawingVisible']())continue;let _0x231878=this[_0x1fde45(0x3d8)][_0x1fde45(0x41a)](_0x20a104,_0x9ec45a,_0x39da7);if(!_0x231878)continue;let _0x2d927a=(0x0,_0xc6fd33[_0x1fde45(0x3f1)])(_0x231878[_0x1fde45(0x3ee)]())?{..._0x122d1a[_0x1fde45(0x1e5)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x122d1a[_0x1fde45(0x1e5)],_0x141c9e=_0x231878[_0x1fde45(0x216)]()[_0x1fde45(0x49e)],_0x1b55aa={'unitId':_0x20a104,'subUnitId':_0x9ec45a,'shapeId':_0x39da7};_0x141c9e&&this[_0x1fde45(0x3ce)]['register'](_0x1b55aa,_0x141c9e);let _0x17f999=new _0x48cb63(_0x556cc2,{..._0x1621ae,'zIndex':_0x148b1e===-0x1?_0x59c252[_0x1fde45(0x24e)]-0x1:_0x148b1e,'shapeModel':_0x231878,'localeService':this[_0x1fde45(0x32e)],'shapeId':_0x39da7,'unitId':_0x20a104,'subUnitId':_0x9ec45a,'visible':_0x2c958c!==!0x0,'evented':_0xd41b19!==!0x1,'formulaPresentation':_0x141c9e?this[_0x1fde45(0x3ce)][_0x1fde45(0x1b0)](_0x1b55aa):void 0x0,'animateFormulaPresentation':(_0x141c9e==null?void 0x0:_0x141c9e[_0x1fde45(0x2a1)])!==!0x1,'transformerConfig':_0x2d927a});if(_0x141c9e){let _0x2f20ea=this[_0x1fde45(0x37e)](_0x20a104,_0x9ec45a,_0x39da7),_0x185f90=this[_0x1fde45(0x3ab)][_0x1fde45(0x2bd)](_0x2f20ea)??new Set();_0x185f90[_0x1fde45(0x340)](_0x17f999),this[_0x1fde45(0x3ab)][_0x1fde45(0x3c4)](_0x2f20ea,_0x185f90);}this[_0x1fde45(0x367)]((0x0,_0x889050[_0x1fde45(0x2c8)])(_0x17f999['onDblclick$']['subscribeEvent']((_0x174649,_0x172608)=>{const _0x42eda7=_0x1fde45;_0x231878['isLineShape']()||_0x141c9e||(this[_0x42eda7(0x49a)][_0x42eda7(0x2cf)]({'visible':!0x0,'unitId':_0x20a104,'subUnitId':_0x9ec45a,'shapeId':_0x39da7,'shapeKey':_0x17f999['oKey']}),_0x172608[_0x42eda7(0x2da)]());}))),_0x1ed6b7[_0x1fde45(0x291)](_0x17f999,_0x10fd99(_0x14077c)),_0xc39350&&_0x1ed6b7[_0x1fde45(0x2db)](_0x17f999),_0x562531&&(0x0,_0x103470[_0x1fde45(0x27e)])({'drawingId':_0x562531,'unitId':_0x20a104,'subUnitId':_0x9ec45a},_0x17f999,_0x1ed6b7,this[_0x1fde45(0x3e9)]),_0x5ca4f4!=null&&_0x17f999['setPrstGeom'](_0x5ca4f4),_0xb05157!=null&&_0x17f999['setSrcRect'](_0xb05157),this[_0x1fde45(0x395)](_0x17f999,_0x231878[_0x1fde45(0x216)]()),_0xf5559[_0x1fde45(0x3b2)](_0x17f999);}return _0xf5559;}[_0x5d2b55(0x37e)](_0x316cc2,_0x4e12a6,_0x42b1fd){return _0x316cc2+'\x00'+_0x4e12a6+'\x00'+_0x42b1fd;}['refreshFormulaPresentation'](_0x10c9e6,_0x345d3c){const _0x5c42e5=_0x5d2b55;let _0xbd81a6=this[_0x5c42e5(0x3d8)][_0x5c42e5(0x41a)](_0x345d3c[_0x5c42e5(0x1f9)],_0x345d3c[_0x5c42e5(0x277)],_0x345d3c[_0x5c42e5(0x2b1)]),_0x1ed834=_0xbd81a6==null?void 0x0:_0xbd81a6['getShapeData']()['formulaBinding'],_0x381d9c=this['_formulaKey'](_0x345d3c[_0x5c42e5(0x1f9)],_0x345d3c['subUnitId'],_0x345d3c[_0x5c42e5(0x2b1)]);if(_0x1ed834){this[_0x5c42e5(0x3ce)][_0x5c42e5(0x2a0)](_0x345d3c,_0x1ed834);let _0x25a339=this[_0x5c42e5(0x3ab)][_0x5c42e5(0x2bd)](_0x381d9c)??new Set();_0x25a339['add'](_0x10c9e6),this[_0x5c42e5(0x3ab)][_0x5c42e5(0x3c4)](_0x381d9c,_0x25a339);}else{var _0x52670e;this[_0x5c42e5(0x3ce)]['unregister'](_0x345d3c),(_0x52670e=this['_formulaShapes'][_0x5c42e5(0x2bd)](_0x381d9c))==null||_0x52670e['delete'](_0x10c9e6);}_0x10c9e6['setFormulaPresentation'](_0x1ed834?this[_0x5c42e5(0x3ce)]['getPresentation'](_0x345d3c):void 0x0,(_0x1ed834==null?void 0x0:_0x1ed834[_0x5c42e5(0x2a1)])!==!0x1);}[_0x5d2b55(0x222)](_0x1981f9){const _0x53e615=_0x5d2b55;let _0x34cafc=_0x1981f9[_0x53e615(0x1e7)][_0x53e615(0x216)](),_0xca71af=_0x34cafc['fill'];if(!_0xca71af||_0xca71af['fillType']!==_0xc6fd33['ShapeFillEnum'][_0x53e615(0x3bb)]||!_0xca71af[_0x53e615(0x400)]){_0x1981f9[_0x53e615(0x283)](void 0x0);return;}this[_0x53e615(0x395)](_0x1981f9,_0x34cafc);}[_0x5d2b55(0x395)](_0x2a1282,_0x809849){const _0x2b8bbb=_0x5d2b55;let _0x142998=_0x809849[_0x2b8bbb(0x2de)];if(!_0x142998||_0x142998[_0x2b8bbb(0x467)]!==_0xc6fd33['ShapeFillEnum']['PictureFill']||!_0x142998['fillImageSource'])return;let _0x2f7f6=_0x142998[_0x2b8bbb(0x400)],_0x5f42c3=_0x142998[_0x2b8bbb(0x1b1)]??_0xc6fd33['ImageSourceTypeEnum'][_0x2b8bbb(0x49f)],_0x577e1b=this[_0x2b8bbb(0x30a)][_0x2b8bbb(0x41d)](_0x2f7f6,_0x5f42c3);if(_0x577e1b){_0x2a1282['setFillImage'](_0x577e1b);return;}this[_0x2b8bbb(0x2e3)](_0x2a1282,_0x2f7f6,_0x5f42c3);}async[_0x5d2b55(0x2e3)](_0x375857,_0x2618b2,_0x2f72c2){const _0x47af02=_0x5d2b55;let _0x550faf;try{if(_0x2f72c2===_0xc6fd33[_0x47af02(0x2ea)][_0x47af02(0x29d)])_0x550faf=await this[_0x47af02(0x30a)][_0x47af02(0x3ac)](_0x2618b2);else{if(_0x2f72c2===_0xc6fd33[_0x47af02(0x2ea)][_0x47af02(0x49f)])try{_0x550faf=await this[_0x47af02(0x401)][_0x47af02(0x3ac)](_0x2618b2);}catch{_0x550faf=_0x2618b2;}else _0x550faf=_0x2618b2;}}catch(_0x463c70){console['error'](_0x47af02(0x24c),_0x463c70);return;}let _0x2488f3=new window[(_0x47af02(0x252))]();_0x2488f3[_0x47af02(0x260)]=()=>{const _0x3bb3d4=_0x47af02;this[_0x3bb3d4(0x30a)]['addImageSourceCache'](_0x2618b2,_0x2f72c2,_0x2488f3),_0x375857[_0x3bb3d4(0x283)](_0x2488f3);},_0x2488f3[_0x47af02(0x3e8)]=()=>{const _0x553241=_0x47af02;console[_0x553241(0x24a)]('[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image',_0x2618b2);},_0x2488f3[_0x47af02(0x3f5)]=_0x550faf;}};_0x2c9076=_0x3b5a68([_0x29bdea(0x0,_0x2b39ea[_0x5d2b55(0x244)]),_0x29bdea(0x1,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x41863e[_0x5d2b55(0x476)])),_0x29bdea(0x2,(0x0,_0x889050['Inject'])(_0x889050[_0x5d2b55(0x26b)])),_0x29bdea(0x3,_0x889050[_0x5d2b55(0x44c)]),_0x29bdea(0x4,_0x889050['IURLImageService']),_0x29bdea(0x5,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x134193)),_0x29bdea(0x6,(0x0,_0x889050['Inject'])(_0x3dd072[_0x5d2b55(0x213)]))],_0x2c9076);let _0x4c9712=class extends _0x889050[_0x5d2b55(0x44f)]{constructor(_0x2a918b,_0x47115a,_0x39d135){const _0x30694e=_0x5d2b55;super(),this[_0x30694e(0x414)]=_0x2a918b,this[_0x30694e(0x3e9)]=_0x47115a,this[_0x30694e(0x317)]=_0x39d135,this[_0x30694e(0x2b8)]();}[_0x5d2b55(0x2b8)](){const _0x4e798a=_0x5d2b55;this['disposeWithMe'](this['_docPrintInterceptorService'][_0x4e798a(0x2cb)]['intercept'](this[_0x4e798a(0x414)][_0x4e798a(0x2cb)][_0x4e798a(0x492)]()['PRINTING_COMPONENT_COLLECT'],{'handler':(_0x341633,_0x12d26a,_0x5babcf)=>{const _0x1fbd2c=_0x4e798a;var _0x53884b;let {unitId:_0x5ee4fa,scene:_0x352b5d}=_0x12d26a,_0x55ce31=(_0x53884b=this[_0x1fbd2c(0x3e9)]['getDrawingDataForUnit'](_0x5ee4fa))==null?void 0x0:_0x53884b[_0x5ee4fa];return _0x55ce31==null||_0x55ce31[_0x1fbd2c(0x2e1)][_0x1fbd2c(0x3be)](_0xfe8dbb=>{const _0x481693=_0x1fbd2c;let _0x547aa9=_0x55ce31['data'][_0xfe8dbb];_0x547aa9[_0x481693(0x299)]===_0x889050[_0x481693(0x2c5)][_0x481693(0x410)]&&!_0x547aa9[_0x481693(0x24b)]&&this['_shapeRenderController'][_0x481693(0x280)](_0x547aa9,_0x352b5d);}),_0x5babcf(_0x341633);}}));}};_0x4c9712=_0x3b5a68([_0x29bdea(0x0,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x1dd9a1[_0x5d2b55(0x1e9)])),_0x29bdea(0x1,_0x2b39ea['IDrawingManagerService']),_0x29bdea(0x2,(0x0,_0x889050['Inject'])(_0x2c9076))],_0x4c9712);let _0x38d699=_0x5d2b55(0x3ea),_0x2ba526=class extends _0x889050[_0x5d2b55(0x44f)]{constructor(_0xab4266,_0x7b09f9,_0x1c1a8a,_0x1eb35e,_0x1dd83d,_0x288a8b){const _0x27de0f=_0x5d2b55;super(),this[_0x27de0f(0x22e)]=_0xab4266,this[_0x27de0f(0x1e6)]=_0x7b09f9,this['_drawingManagerService']=_0x1c1a8a,this[_0x27de0f(0x481)]=_0x1eb35e,this[_0x27de0f(0x325)]=_0x1dd83d,this[_0x27de0f(0x3d1)]=_0x288a8b,_0x342b29(this,_0x27de0f(0x215),!0x1),this[_0x27de0f(0x22e)][_0x27de0f(0x329)](_0x33a5a9),this[_0x27de0f(0x367)]((0x0,_0x889050[_0x27de0f(0x2c8)])(this[_0x27de0f(0x3e9)][_0x27de0f(0x3b8)][_0x27de0f(0x431)](()=>this[_0x27de0f(0x27d)]()))),this[_0x27de0f(0x27d)]();}[_0x5d2b55(0x2c3)](){const _0x3abf39=_0x5d2b55;this[_0x3abf39(0x3d1)][_0x3abf39(0x313)](!0x1,_0x38d699),this['_hide'](),super['dispose']();}[_0x5d2b55(0x27d)](){const _0x30ada6=_0x5d2b55;var _0x4687ab;let _0x24e8f1=this[_0x30ada6(0x3e9)][_0x30ada6(0x21b)](),_0x1e547c=_0x24e8f1[_0x30ada6(0x24e)]===0x1?_0x24e8f1[0x0]:void 0x0;if((_0x1e547c==null?void 0x0:_0x1e547c[_0x30ada6(0x299)])!==_0x889050[_0x30ada6(0x2c5)][_0x30ada6(0x410)]||this[_0x30ada6(0x481)][_0x30ada6(0x1e0)](_0x1e547c[_0x30ada6(0x1f9)])!==_0x889050[_0x30ada6(0x485)][_0x30ada6(0x386)]){this[_0x30ada6(0x3d1)]['setFallbackVisible'](!0x1,_0x38d699),this[_0x30ada6(0x41e)]();return;}let _0x26fb05=(0x0,_0x122d1a[_0x30ada6(0x2b0)])((_0x4687ab=this[_0x30ada6(0x325)]['getRenderUnitById'](_0x1e547c[_0x30ada6(0x1f9)]))==null?void 0x0:_0x4687ab[_0x30ada6(0x376)][_0x30ada6(0x1f5)]())===_0x30ada6(0x305);if(this[_0x30ada6(0x3d1)][_0x30ada6(0x313)](_0x26fb05,_0x38d699),_0x26fb05){this[_0x30ada6(0x41e)]();return;}this[_0x30ada6(0x215)]||(this[_0x30ada6(0x215)]=!0x0,this['_ribbonService'][_0x30ada6(0x2ae)](_0x48e949,{'activate':!0x0}));}[_0x5d2b55(0x41e)](){const _0x33474f=_0x5d2b55;this[_0x33474f(0x215)]&&(this[_0x33474f(0x215)]=!0x1,this[_0x33474f(0x1e6)]['hideContextualTab'](_0x48e949),this[_0x33474f(0x1e6)][_0x33474f(0x417)]([]));}};_0x2ba526=_0x3b5a68([_0x29bdea(0x0,_0x152418[_0x5d2b55(0x26f)]),_0x29bdea(0x1,_0x152418['IRibbonService']),_0x29bdea(0x2,_0x2b39ea[_0x5d2b55(0x244)]),_0x29bdea(0x3,_0x889050[_0x5d2b55(0x339)]),_0x29bdea(0x4,_0x4a14ae[_0x5d2b55(0x2fe)]),_0x29bdea(0x5,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x122d1a[_0x5d2b55(0x289)]))],_0x2ba526);function _0x161816(_0x2c5854,_0x5db5fb){const _0x474747=_0x5d2b55;let _0x2be428=_0x2c5854;for(;_0x2be428;){if(_0x5db5fb(_0x2be428))return _0x2be428;_0x2be428=typeof _0x2be428[_0x474747(0x383)]=='function'?_0x2be428[_0x474747(0x383)]():null;}return null;}function _0x374605(_0x4844dd){return _0x161816(_0x4844dd,_0x38fe9d=>_0x38fe9d instanceof _0x48cb63);}function _0x4d8eda(_0x4b4980){const _0x270932=_0x5d2b55;return(_0x4b4980==null?void 0x0:_0x4b4980[_0x270932(0x49e)])==null;}let _0x3419ab=class extends _0x889050[_0x5d2b55(0x44f)]{constructor(_0x197d71,_0x4c2488,_0x1459a2,_0x239d52,_0x4b3ab8){const _0xc299a1=_0x5d2b55;super(),this[_0xc299a1(0x333)]=_0x197d71,this[_0xc299a1(0x49a)]=_0x4c2488,this['_drawingManagerService']=_0x1459a2,this[_0xc299a1(0x371)]=_0x239d52,this['_docsShapeService']=_0x4b3ab8,_0x342b29(this,_0xc299a1(0x40a),null),this[_0xc299a1(0x38a)](),this[_0xc299a1(0x34a)](),this[_0xc299a1(0x1e4)]();}['_initEvents'](){const _0x5dc6a9=_0x5d2b55;let {scene:_0x1a5362}=this[_0x5dc6a9(0x333)];this[_0x5dc6a9(0x367)](_0x1a5362['onDblclick$']['subscribeEvent'](_0x5ea3d7=>{const _0x2d5c5a=_0x5dc6a9;let {offsetX:_0x595c2e,offsetY:_0x5a1281}=_0x5ea3d7,_0x383f65=_0x4a14ae[_0x2d5c5a(0x496)]['FromArray']([_0x595c2e,_0x5a1281]),_0xfb5f33=_0x374605(_0x1a5362[_0x2d5c5a(0x379)](_0x383f65))??this['_getFocusedShapeAtPoint'](_0x383f65);if(_0xfb5f33){let _0xa0fcb7=this[_0x2d5c5a(0x3d8)][_0x2d5c5a(0x41a)](_0xfb5f33[_0x2d5c5a(0x1f9)],_0xfb5f33[_0x2d5c5a(0x277)],_0xfb5f33[_0x2d5c5a(0x2b1)]);if(!_0xa0fcb7||(0x0,_0xc6fd33[_0x2d5c5a(0x3f1)])(_0xa0fcb7['getShapeType']())||!_0x4d8eda(_0xa0fcb7['getShapeData']()))return;this[_0x2d5c5a(0x49a)][_0x2d5c5a(0x2cf)]({'visible':!0x0,'unitId':_0xfb5f33[_0x2d5c5a(0x1f9)],'subUnitId':_0xfb5f33[_0x2d5c5a(0x277)],'shapeId':_0xfb5f33['shapeId'],'shapeKey':_0xfb5f33[_0x2d5c5a(0x363)]});}}));}['_getFocusedShapeAtPoint'](_0x118253){const _0x3ba384=_0x5d2b55;let {scene:_0xda5e92}=this[_0x3ba384(0x333)];return this['_drawingManagerService'][_0x3ba384(0x21b)]()['map'](_0x4d310b=>_0xda5e92[_0x3ba384(0x488)]((0x0,_0x2b39ea['getDrawingShapeKeyByDrawingSearch'])(_0x4d310b)))['find'](_0x1db150=>_0x1db150 instanceof _0x48cb63&&_0x1db150[_0x3ba384(0x416)](_0x118253))??null;}[_0x5d2b55(0x34a)](){const _0x50d92c=_0x5d2b55;this['disposeWithMe'](this[_0x50d92c(0x3e9)]['focus$'][_0x50d92c(0x431)](_0x4a3ea6=>{const _0xcb9ae4=_0x50d92c;if(_0x4a3ea6['length']===0x1){let _0x504946=_0x4a3ea6[0x0],_0x382392=this[_0xcb9ae4(0x3e9)]['getDrawingByParam'](_0x504946);if((_0x382392==null?void 0x0:_0x382392['drawingType'])===_0x889050[_0xcb9ae4(0x2c5)][_0xcb9ae4(0x410)]){let _0x19279c=this[_0xcb9ae4(0x49a)][_0xcb9ae4(0x2f3)]();if((_0x19279c==null?void 0x0:_0x19279c[_0xcb9ae4(0x2b1)])===_0x504946[_0xcb9ae4(0x249)]&&_0x19279c[_0xcb9ae4(0x457)])return;(0x0,_0xc6fd33[_0xcb9ae4(0x3f1)])(this[_0xcb9ae4(0x3d8)][_0xcb9ae4(0x3ee)](_0x504946['unitId'],_0x504946[_0xcb9ae4(0x277)],_0x504946[_0xcb9ae4(0x249)]))&&this[_0xcb9ae4(0x49a)][_0xcb9ae4(0x2cf)](null);}else this[_0xcb9ae4(0x49a)][_0xcb9ae4(0x2f3)]()&&(this['_shapeTextEditingService'][_0xcb9ae4(0x1d2)](!0x0),requestAnimationFrame(()=>{const _0x5c8e79=_0xcb9ae4;this[_0x5c8e79(0x49a)][_0x5c8e79(0x2cf)](null);}));}else this[_0xcb9ae4(0x49a)][_0xcb9ae4(0x2f3)]()&&(this[_0xcb9ae4(0x49a)][_0xcb9ae4(0x1d2)](!0x0),requestAnimationFrame(()=>{const _0x1ed60d=_0xcb9ae4;this[_0x1ed60d(0x49a)][_0x1ed60d(0x2cf)](null);}));})),this['disposeWithMe'](this['_drawingManagerService'][_0x50d92c(0x1be)]['subscribe'](_0x5c20bd=>{const _0x275bab=_0x50d92c;let _0x1bb84a=this[_0x275bab(0x49a)][_0x275bab(0x2f3)]();_0x1bb84a&&_0x5c20bd[_0x275bab(0x3ca)](_0x4161e0=>_0x4161e0['drawingId']===_0x1bb84a[_0x275bab(0x2b1)])&&this[_0x275bab(0x49a)]['setEditing'](null);}));}['_initEditingParams'](){const _0x1ebae7=_0x5d2b55;this[_0x1ebae7(0x367)](this['_shapeTextEditingService'][_0x1ebae7(0x31b)][_0x1ebae7(0x431)](_0x37f035=>{const _0xfc63b1=_0x1ebae7;let {scene:_0x53f161}=this[_0xfc63b1(0x333)];if(this['_lastEditingShapeKey']){let _0x4a2d0f=_0x53f161['getObjectIncludeInGroup'](this[_0xfc63b1(0x40a)]);_0x4a2d0f&&_0x4a2d0f[_0xfc63b1(0x2cf)](!0x1);}if(_0x37f035){let _0x291847=!!_0x37f035[_0xfc63b1(0x457)],_0x3882a0=_0x53f161[_0xfc63b1(0x488)](_0x37f035['shapeKey']);_0x3882a0&&(_0x3882a0[_0xfc63b1(0x2cf)](_0x291847),this['_lastEditingShapeKey']=_0x37f035[_0xfc63b1(0x4b7)]),this['_contextService']['setContextValue'](_0x889050[_0xfc63b1(0x29e)],_0x291847);}else this[_0xfc63b1(0x40a)]=null,this['_contextService'][_0xfc63b1(0x41f)](_0x889050[_0xfc63b1(0x29e)],!0x1);}));}};_0x3419ab=_0x3b5a68([_0x29bdea(0x1,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x134193)),_0x29bdea(0x2,_0x2b39ea[_0x5d2b55(0x244)]),_0x29bdea(0x3,_0x889050[_0x5d2b55(0x2ef)]),_0x29bdea(0x4,(0x0,_0x889050['Inject'])(_0x41863e[_0x5d2b55(0x476)]))],_0x3419ab);let _0x4f9df6=class extends _0x122d1a[_0x5d2b55(0x408)]{constructor(_0x30a2ab,_0xf2910e,_0x3e7012,_0x197415,_0x362d87,_0x3922d4,_0x61fd02,_0x410654,_0x74f4eb){super(_0x30a2ab,_0xf2910e,_0x3e7012,_0x197415,_0x362d87,_0x3922d4,_0x61fd02,_0x410654,_0x74f4eb,{'componentKey':_0x3dea73,'editorUnitId':_0x170d28});}};_0x4f9df6=_0x3b5a68([_0x29bdea(0x1,(0x0,_0x889050['Inject'])(_0x580571[_0x5d2b55(0x433)])),_0x29bdea(0x2,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x1dd9a1[_0x5d2b55(0x335)])),_0x29bdea(0x3,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x1dd9a1[_0x5d2b55(0x322)])),_0x29bdea(0x4,_0x889050[_0x5d2b55(0x484)]),_0x29bdea(0x5,(0x0,_0x889050['Inject'])(_0x1dd9a1[_0x5d2b55(0x1b5)])),_0x29bdea(0x6,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x122d1a[_0x5d2b55(0x423)])),_0x29bdea(0x7,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x580571['DocInterceptorService'])),_0x29bdea(0x8,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x1dd9a1[_0x5d2b55(0x219)]))],_0x4f9df6);let _0x4d13e4=class extends _0x889050['Disposable']{constructor(_0x1b50c3,_0x17936f,_0x12e114,_0x427e37){const _0x23f327=_0x5d2b55;super(),this['_commandService']=_0x1b50c3,this[_0x23f327(0x325)]=_0x17936f,this[_0x23f327(0x3e9)]=_0x12e114,this[_0x23f327(0x46e)]=_0x427e37,this[_0x23f327(0x3a7)]();}[_0x5d2b55(0x3a7)](){const _0x3fa5b9=_0x5d2b55;this['disposeWithMe'](this[_0x3fa5b9(0x3e9)][_0x3fa5b9(0x1fc)][_0x3fa5b9(0x431)](_0x3f3a8b=>this[_0x3fa5b9(0x23a)](_0x3f3a8b))),this[_0x3fa5b9(0x367)](this[_0x3fa5b9(0x3e9)][_0x3fa5b9(0x33a)][_0x3fa5b9(0x431)](_0x321b9d=>{const _0x2afad9=_0x3fa5b9;_0x321b9d[_0x2afad9(0x3be)](_0x5b2375=>this[_0x2afad9(0x273)](_0x5b2375));})),this[_0x3fa5b9(0x367)](this[_0x3fa5b9(0x320)]['onCommandExecuted'](_0x17331f=>{const _0x3e692b=_0x3fa5b9;if(_0x17331f['id']!==_0x41863e[_0x3e692b(0x263)]['id'])return;let {unitId:_0x54c1ae,shapeId:_0x1419e7}=_0x17331f[_0x3e692b(0x2a4)];this[_0x3e692b(0x398)]({'unitId':_0x54c1ae,'subUnitId':_0x54c1ae,'drawingId':_0x1419e7});}));}[_0x5d2b55(0x23a)](_0x48bdc4){const _0x59533e=_0x5d2b55;_0x48bdc4[_0x59533e(0x3be)](_0x12a581=>{const _0x4e9f0a=_0x59533e;let _0xb88e9a=this[_0x4e9f0a(0x445)](_0x12a581[_0x4e9f0a(0x1f9)]);if(!_0xb88e9a)return;let _0x3f327c=this[_0x4e9f0a(0x3e9)][_0x4e9f0a(0x2b4)](_0x12a581);(_0x3f327c==null?void 0x0:_0x3f327c['drawingType'])===_0x889050[_0x4e9f0a(0x2c5)][_0x4e9f0a(0x410)]&&this[_0x4e9f0a(0x46e)][_0x4e9f0a(0x280)](_0x3f327c,_0xb88e9a[_0x4e9f0a(0x2f0)]);});}[_0x5d2b55(0x273)](_0x27c40c){const _0x3603e8=_0x5d2b55;let _0x54a156=this[_0x3603e8(0x3e9)]['getDrawingByParam'](_0x27c40c);if((_0x54a156==null?void 0x0:_0x54a156[_0x3603e8(0x299)])!==_0x889050[_0x3603e8(0x2c5)][_0x3603e8(0x410)])return;let _0x5ca83f=this['_getSceneByUnitId'](_0x27c40c[_0x3603e8(0x1f9)]);if(!_0x5ca83f||_0x54a156['transform']==null)return;let _0xb02aa4=(0x0,_0x2b39ea[_0x3603e8(0x1d0)])(_0x27c40c),_0x42b682=_0x5ca83f[_0x3603e8(0x2f0)]['getObjectIncludeInGroup'](_0xb02aa4);_0x42b682&&(_0x42b682['setSrcRect'](_0x54a156[_0x3603e8(0x4b3)]),_0x42b682[_0x3603e8(0x3f3)](_0x54a156[_0x3603e8(0x4a3)]),_0x42b682[_0x3603e8(0x447)](!0x0));}[_0x5d2b55(0x398)](_0x10958){const _0xe88aa1=_0x5d2b55;let _0x58a96a=this[_0xe88aa1(0x445)](_0x10958[_0xe88aa1(0x1f9)]);if(!_0x58a96a)return;let _0x489cd5=(0x0,_0x2b39ea[_0xe88aa1(0x1d0)])(_0x10958),_0x421665=_0x58a96a['scene'][_0xe88aa1(0x488)](_0x489cd5);_0x421665&&(this[_0xe88aa1(0x46e)][_0xe88aa1(0x222)](_0x421665),this[_0xe88aa1(0x46e)][_0xe88aa1(0x2f4)](_0x421665,{'unitId':_0x10958[_0xe88aa1(0x1f9)],'subUnitId':_0x10958['subUnitId'],'shapeId':_0x10958['drawingId']}),_0x421665['makeDirty'](!0x0));}['_getSceneByUnitId'](_0x4028b9){const _0x26e17f=_0x5d2b55;if(_0x4028b9==null)return null;let _0x571ece=this[_0x26e17f(0x325)][_0x26e17f(0x217)](_0x4028b9),_0x12b3bf=_0x571ece==null?void 0x0:_0x571ece[_0x26e17f(0x2f0)];return _0x12b3bf==null?null:{'scene':_0x12b3bf};}};_0x4d13e4=_0x3b5a68([_0x29bdea(0x0,_0x889050['ICommandService']),_0x29bdea(0x1,_0x4a14ae[_0x5d2b55(0x2fe)]),_0x29bdea(0x2,_0x2b39ea[_0x5d2b55(0x244)]),_0x29bdea(0x3,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x2c9076))],_0x4d13e4);let _0x5da05c=class extends _0x889050[_0x5d2b55(0x44f)]{constructor(_0x3b1d49,_0x4f8159,_0x395877,_0x1a02a9,_0x1b49e1,_0x28273c,_0x680317,_0x52c165,_0x2d3564,_0x512334,_0x3b7615){const _0x360cc4=_0x5d2b55;super(),this['_univerInstanceService']=_0x3b1d49,this[_0x360cc4(0x2d7)]=_0x4f8159,this[_0x360cc4(0x22e)]=_0x395877,this[_0x360cc4(0x3d8)]=_0x1a02a9,this[_0x360cc4(0x32e)]=_0x1b49e1,this[_0x360cc4(0x320)]=_0x28273c,this[_0x360cc4(0x3e9)]=_0x680317,this[_0x360cc4(0x48d)]=_0x52c165,this[_0x360cc4(0x325)]=_0x2d3564,this[_0x360cc4(0x371)]=_0x512334,this[_0x360cc4(0x49a)]=_0x3b7615,_0x342b29(this,_0x360cc4(0x407),null),_0x342b29(this,_0x360cc4(0x3da),null),_0x342b29(this,'_isOpenedShapeEditPanel',!0x1),_0x342b29(this,_0x360cc4(0x384),0x0),_0x342b29(this,'_disposePopups',[]),this[_0x360cc4(0x3b5)](),this[_0x360cc4(0x367)](this[_0x360cc4(0x481)][_0x360cc4(0x3d7)](_0x889050[_0x360cc4(0x485)][_0x360cc4(0x386)])[_0x360cc4(0x431)](_0x115738=>{const _0x4a34fe=_0x360cc4;if(!_0x115738){var _0xd61ffc;(_0xd61ffc=this['_sidebarDisposable'])==null||_0xd61ffc[_0x4a34fe(0x2c3)]();}})),this[_0x360cc4(0x3fe)](),this[_0x360cc4(0x367)]((0x0,_0x122d1a[_0x360cc4(0x1ae)])(this[_0x360cc4(0x325)],_0x889050[_0x360cc4(0x485)]['UNIVER_DOC'],_0x2ce206=>this['_popupMenuListener'](_0x2ce206))),this[_0x360cc4(0x367)](this[_0x360cc4(0x49a)][_0x360cc4(0x31b)][_0x360cc4(0x431)](_0x1a5f2b=>{const _0x90f96e=_0x360cc4;_0x1a5f2b&&this[_0x90f96e(0x300)]();}));}[_0x5d2b55(0x3b5)](){const _0x28e334=_0x5d2b55;this[_0x28e334(0x22e)][_0x28e334(0x329)](_0xe2c554);}[_0x5d2b55(0x248)](_0x4b632f,_0x468a1d,_0x69a069,_0x10426d){const _0x1fdea5=_0x5d2b55;return[{'label':_0x1fdea5(0x237),'index':0x0,'commandId':_0xfcd867['id'],'commandParams':{'unitId':_0x4b632f,'subUnitId':_0x468a1d,'drawingId':_0x69a069},'disable':_0x10426d===_0x889050[_0x1fdea5(0x2c5)]['DRAWING_DOM']},{'label':_0x1fdea5(0x1c2),'index':0x1,'commandId':_0x32ae25[_0x1fdea5(0x324)]['id'],'commandParams':{'unitId':_0x4b632f,'drawings':[{'unitId':_0x4b632f,'subUnitId':_0x468a1d,'drawingId':_0x69a069}]},'disable':!0x1},{'label':_0x1fdea5(0x1cc),'index':0x2,'commandId':_0x38bbf0['id'],'commandParams':{'unitId':_0x4b632f,'subUnitId':_0x468a1d,'drawingId':_0x69a069},'disable':!0x1}];}[_0x5d2b55(0x343)](_0x56a2e8,_0x3db9b9,_0x3120b4){const _0x381ec2=_0x5d2b55;let _0x482799=this[_0x381ec2(0x3d8)]['getShapeTypeById'](_0x56a2e8,_0x3db9b9,_0x3120b4),_0x5e16bd=this[_0x381ec2(0x3d8)][_0x381ec2(0x27b)](_0x56a2e8,_0x3db9b9,_0x3120b4);return _0x482799!==void 0x0&&_0x5e16bd!==void 0x0?{'shapeData':_0x5e16bd,'shapeId':_0x3120b4,'shapeType':_0x482799,'unitId':_0x56a2e8,'subUnitId':_0x3db9b9,'version':this['_shapeEditPanelVersion'],'disableShapeOption':!0x1}:null;}[_0x5d2b55(0x300)](){const _0x279964=_0x5d2b55;this['_disposePopups']['forEach'](_0xa4ff39=>_0xa4ff39['dispose']()),this[_0x279964(0x230)]['length']=0x0;}['_popupMenuListener'](_0x4d05e7){const _0x5ded68=_0x5d2b55;let _0x2d064b=new _0x889050['DisposableCollection']();return _0x2d064b[_0x5ded68(0x340)](_0x4d05e7['createControl$'][_0x5ded68(0x431)](()=>{const _0x2c1fd1=_0x5ded68;let _0x15c57b=_0x4d05e7['getSelectedObjectMap']();if(this[_0x2c1fd1(0x300)](),this['_isOpenedShapeEditPanel']||_0x15c57b[_0x2c1fd1(0x2cd)]>0x1)return;let _0x1c56f1=_0x15c57b[_0x2c1fd1(0x3bc)]()[_0x2c1fd1(0x49c)]()[_0x2c1fd1(0x427)];if(!_0x1c56f1)return;let _0xec0283=this[_0x2c1fd1(0x3e9)][_0x2c1fd1(0x452)](_0x1c56f1[_0x2c1fd1(0x363)]);if(!_0xec0283||_0xec0283[_0x2c1fd1(0x299)]!==_0x889050['DrawingTypeEnum'][_0x2c1fd1(0x410)])return;let {unitId:_0x321eb5,subUnitId:_0x357b89,drawingId:_0x55e1b5,drawingType:_0x484ac7}=_0xec0283,_0x5b3566=this[_0x2c1fd1(0x343)](_0x321eb5,_0x357b89,_0x55e1b5);if(!_0x5b3566)return;let _0x20b42e=this['_renderManagerService'][_0x2c1fd1(0x217)](_0x321eb5),_0x4bba71=((_0x20b42e==null?void 0x0:_0x20b42e['isMainScene'])===!0x1?_0x20b42e[_0x2c1fd1(0x290)](_0x1dd9a1[_0x2c1fd1(0x335)]):this[_0x2c1fd1(0x48d)])[_0x2c1fd1(0x2ec)](_0x1c56f1,{'componentKey':_0xd3c83a,'direction':_0x2c1fd1(0x3c3),'offset':[0x0,_0x122d1a['SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET']],'extraProps':{'unitId':_0x321eb5,'subUnitId':_0x357b89,'drawingId':_0x55e1b5,'drawingType':_0x484ac7,'shapeType':_0x5b3566[_0x2c1fd1(0x337)],'shapeData':_0x5b3566[_0x2c1fd1(0x45f)]}},_0x321eb5);this[_0x2c1fd1(0x230)]['push'](this[_0x2c1fd1(0x367)](_0x4bba71)),this[_0x2c1fd1(0x3e9)][_0x2c1fd1(0x21b)]()[_0x2c1fd1(0x368)](_0x49a11f=>_0x49a11f[_0x2c1fd1(0x1f9)]===_0x321eb5&&_0x49a11f[_0x2c1fd1(0x277)]===_0x357b89&&_0x49a11f[_0x2c1fd1(0x249)]===_0x55e1b5)||this[_0x2c1fd1(0x3e9)][_0x2c1fd1(0x25b)]([{'unitId':_0x321eb5,'subUnitId':_0x357b89,'drawingId':_0x55e1b5}]);})),_0x2d064b[_0x5ded68(0x340)](_0x4d05e7['clearControl$']['subscribe'](()=>{const _0x3446ae=_0x5ded68;this[_0x3446ae(0x300)](),this[_0x3446ae(0x371)][_0x3446ae(0x41f)](_0x889050[_0x3446ae(0x46a)],!0x1),this['_drawingManagerService'][_0x3446ae(0x25b)](null);})),_0x2d064b[_0x5ded68(0x340)](_0x4d05e7[_0x5ded68(0x278)][_0x5ded68(0x431)](()=>{const _0x103524=_0x5ded68;this[_0x103524(0x300)]();})),_0x2d064b['add'](_0x4d05e7['changeStart$'][_0x5ded68(0x431)](()=>{const _0x28508f=_0x5ded68;this[_0x28508f(0x300)]();})),_0x2d064b;}[_0x5d2b55(0x3fe)](){const _0xde39c8=_0x5d2b55;this[_0xde39c8(0x367)](this[_0xde39c8(0x320)][_0xde39c8(0x38b)](_0x315728=>{const _0x44d7e3=_0xde39c8;if(_0x315728['id']===_0xfcd867['id']){let {unitId:_0x5518b9,subUnitId:_0x24f653,drawingId:_0x3c6bc4}=_0x315728[_0x44d7e3(0x2a4)];this[_0x44d7e3(0x384)]+=0x1,this['_activeShapeInfo']=this[_0x44d7e3(0x343)](_0x5518b9,_0x24f653,_0x3c6bc4),this[_0x44d7e3(0x300)](),this[_0x44d7e3(0x3ff)]();}if(_0x315728['id']===_0x38bbf0['id']&&(this[_0x44d7e3(0x3da)]=null,this[_0x44d7e3(0x3db)]()),_0x315728['id']===_0x41863e[_0x44d7e3(0x263)]['id']){let {unitId:_0x580f04,shapeId:_0x74171a}=_0x315728[_0x44d7e3(0x2a4)];if(this['_activeShapeInfo']&&this[_0x44d7e3(0x3da)]['shapeId']===_0x74171a){let _0x4949c2=this[_0x44d7e3(0x343)](_0x580f04,this[_0x44d7e3(0x3da)][_0x44d7e3(0x277)],_0x74171a);_0x4949c2&&(this[_0x44d7e3(0x384)]+=0x1,_0x4949c2[_0x44d7e3(0x4b8)]=this[_0x44d7e3(0x384)],this['_activeShapeInfo']=_0x4949c2,this[_0x44d7e3(0x2d2)]&&this[_0x44d7e3(0x3ff)]());}}})),this['disposeWithMe'](this[_0xde39c8(0x3e9)][_0xde39c8(0x3b8)][_0xde39c8(0x431)](_0x5b86fe=>{const _0x1442dc=_0xde39c8;if(this[_0x1442dc(0x2d2)]===!0x1)return;if(_0x5b86fe[_0x1442dc(0x24e)]===0x0){this[_0x1442dc(0x3da)]=null,this[_0x1442dc(0x3db)]();return;}if(_0x5b86fe[_0x1442dc(0x24e)]===0x1&&_0x5b86fe[0x0]['drawingType']===_0x889050[_0x1442dc(0x2c5)]['DRAWING_SHAPE']&&(this['_shapeEditPanelVersion']+=0x1,this[_0x1442dc(0x3da)]=this['_getShapeInfo'](_0x5b86fe[0x0]['unitId'],_0x5b86fe[0x0][_0x1442dc(0x277)],_0x5b86fe[0x0][_0x1442dc(0x249)]),this[_0x1442dc(0x3da)])){this['_openShapeEditPanel']();return;}let _0x5b590a=_0x5b86fe[_0x1442dc(0x29c)](_0x351597=>_0x351597[_0x1442dc(0x299)]===_0x889050[_0x1442dc(0x2c5)][_0x1442dc(0x410)]);if(_0x5b86fe['length']>0x1&&_0x5b590a[_0x1442dc(0x24e)]===_0x5b86fe[_0x1442dc(0x24e)]){if(this[_0x1442dc(0x384)]+=0x1,this[_0x1442dc(0x3da)]=this[_0x1442dc(0x343)](_0x5b86fe[0x0][_0x1442dc(0x1f9)],_0x5b86fe[0x0]['subUnitId'],_0x5b86fe[0x0][_0x1442dc(0x249)]),this['_activeShapeInfo']){this[_0x1442dc(0x3ff)]();return;}}else{if(this[_0x1442dc(0x384)]+=0x1,this[_0x1442dc(0x3da)]=this['_getShapeInfo'](_0x5b86fe[0x0][_0x1442dc(0x1f9)],_0x5b86fe[0x0][_0x1442dc(0x277)],_0x5b86fe[0x0]['drawingId']),this[_0x1442dc(0x3da)]){this[_0x1442dc(0x3da)][_0x1442dc(0x2b7)]=!0x0,this[_0x1442dc(0x3ff)]();return;}}this[_0x1442dc(0x3db)]();}));}[_0x5d2b55(0x3ff)](){const _0x387be4=_0x5d2b55;this[_0x387be4(0x3da)]&&(this['_sidebarDisposable']=this['_sidebarService'][_0x387be4(0x236)]({'id':_0x466f20,'header':{'title':this[_0x387be4(0x32e)]['t'](_0x387be4(0x434))},'width':0x184,'children':{'label':_0x466f20,...this[_0x387be4(0x3da)]},'onClose':()=>{const _0x13cfe9=_0x387be4;this['_drawingManagerService'][_0x13cfe9(0x25b)](null),this[_0x13cfe9(0x371)][_0x13cfe9(0x41f)](_0x889050[_0x13cfe9(0x46a)],!0x1),this[_0x13cfe9(0x407)]=null;}}),this[_0x387be4(0x2d2)]=!0x0);}[_0x5d2b55(0x3db)](){const _0x500156=_0x5d2b55;this[_0x500156(0x2d2)]=!0x1,this[_0x500156(0x2d7)][_0x500156(0x411)](_0x466f20),this['_sidebarDisposable']=null,this[_0x500156(0x371)][_0x500156(0x41f)](_0x889050[_0x500156(0x46a)],!0x1),this[_0x500156(0x3e9)][_0x500156(0x25b)](null);}};_0x5da05c=_0x3b5a68([_0x29bdea(0x0,_0x889050[_0x5d2b55(0x339)]),_0x29bdea(0x1,(0x0,_0x889050['Inject'])(_0x152418[_0x5d2b55(0x353)])),_0x29bdea(0x2,_0x152418[_0x5d2b55(0x26f)]),_0x29bdea(0x3,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x41863e[_0x5d2b55(0x476)])),_0x29bdea(0x4,(0x0,_0x889050['Inject'])(_0x889050[_0x5d2b55(0x26b)])),_0x29bdea(0x5,_0x889050[_0x5d2b55(0x484)]),_0x29bdea(0x6,_0x2b39ea[_0x5d2b55(0x244)]),_0x29bdea(0x7,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x1dd9a1['DocCanvasPopManagerService'])),_0x29bdea(0x8,_0x4a14ae[_0x5d2b55(0x2fe)]),_0x29bdea(0x9,_0x889050['IContextService']),_0x29bdea(0xa,(0x0,_0x889050['Inject'])(_0x134193))],_0x5da05c);let _0x327628=class extends _0x889050['Plugin']{constructor(_0x3456b5=_0x9527ab,_0x1dd4de,_0x5cdacc,_0x1798cb,_0x1f11cf){const _0x5001a5=_0x5d2b55;super(),this[_0x5001a5(0x3fc)]=_0x3456b5,this[_0x5001a5(0x435)]=_0x1dd4de,this[_0x5001a5(0x320)]=_0x5cdacc,this[_0x5001a5(0x2be)]=_0x1798cb,this[_0x5001a5(0x325)]=_0x1f11cf;let {menu:_0x1c1aa7,..._0x451330}=(0x0,_0x889050[_0x5001a5(0x2ad)])({},_0x9527ab,this[_0x5001a5(0x3fc)]);_0x1c1aa7&&this[_0x5001a5(0x2be)][_0x5001a5(0x1e2)]('menu',_0x1c1aa7,{'merge':!0x0}),this['_configService'][_0x5001a5(0x1e2)](_0x5001a5(0x331),_0x451330),this[_0x5001a5(0x46f)]();}[_0x5d2b55(0x2ff)](){const _0xd93cc3=_0x5d2b55;this[_0xd93cc3(0x435)]['add']([_0x590b4c]),this[_0xd93cc3(0x435)][_0xd93cc3(0x2bd)](_0x590b4c),(0x0,_0x889050[_0xd93cc3(0x3cc)])(this[_0xd93cc3(0x435)],[[_0x5da05c],[_0x4d13e4],[_0x2c9076],[_0x4c9712],[_0x24dab5],[_0x56d3dd],[_0x5b20a8],[_0x134193],[_0x2ba526]]),this[_0xd93cc3(0x494)]();}[_0x5d2b55(0x2d4)](){const _0x26dec2=_0x5d2b55;this[_0x26dec2(0x325)][_0x26dec2(0x478)](_0x889050['UniverInstanceType']['UNIVER_DOC'],[_0x24dab5]),this[_0x26dec2(0x325)][_0x26dec2(0x478)](_0x889050[_0x26dec2(0x485)]['UNIVER_DOC'],[_0x3419ab]),(0x0,_0x889050[_0x26dec2(0x256)])(this[_0x26dec2(0x435)],[[_0x5da05c],[_0x4d13e4],[_0x2c9076],[_0x4c9712],[_0x56d3dd],[_0x5b20a8],[_0x134193],[_0x2ba526]]);}[_0x5d2b55(0x389)](){const _0x213b0b=_0x5d2b55;this[_0x213b0b(0x325)][_0x213b0b(0x478)](_0x889050[_0x213b0b(0x485)]['UNIVER_DOC'],[_0x4f9df6]);}[_0x5d2b55(0x46f)](){const _0x560d00=_0x5d2b55;[_0xd5b306,_0x38bbf0,_0xfcd867,_0xccfcdd,_0x24ddd4,_0x468434]['forEach'](_0x2c5432=>this[_0x560d00(0x367)](this[_0x560d00(0x320)][_0x560d00(0x200)](_0x2c5432)));}[_0x5d2b55(0x494)](){const _0x1b7c81=_0x5d2b55;let _0x214ca8=this[_0x1b7c81(0x435)],_0x662bd6=_0x214ca8['get'](_0x152418[_0x1b7c81(0x1cb)]);this[_0x1b7c81(0x367)](_0x662bd6['registerComponent'](_0x152418['BuiltInUIPart'][_0x1b7c81(0x292)],()=>(0x0,_0x152418[_0x1b7c81(0x228)])(_0xd42f88,_0x214ca8)));}};_0x342b29(_0x327628,'type',_0x889050[_0x5d2b55(0x485)][_0x5d2b55(0x386)]),_0x342b29(_0x327628,_0x5d2b55(0x2c2),'DOCS_SHAPE_UI_PLUGIN'),_0x342b29(_0x327628,_0x5d2b55(0x31f),_0x2d82b1),_0x342b29(_0x327628,_0x5d2b55(0x4b8),_0x5f016b),_0x327628=_0x3b5a68([(0x0,_0x889050[_0x5d2b55(0x46b)])(_0x344fe9[_0x5d2b55(0x32a)],_0x580571[_0x5d2b55(0x1de)],_0x2b39ea['UniverDrawingPlugin'],_0x103470['UniverDrawingUIPlugin'],_0x4a14ae['UniverRenderEnginePlugin'],_0x1dd9a1[_0x5d2b55(0x375)],_0x3dd072['UniverShapeEditorPlugin'],_0xaeafba[_0x5d2b55(0x1f2)],_0x41863e[_0x5d2b55(0x45b)],_0x122d1a[_0x5d2b55(0x460)]),_0x29bdea(0x1,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x889050[_0x5d2b55(0x36d)])),_0x29bdea(0x2,_0x889050[_0x5d2b55(0x484)]),_0x29bdea(0x3,_0x889050[_0x5d2b55(0x24f)]),_0x29bdea(0x4,_0x4a14ae[_0x5d2b55(0x2fe)])],_0x327628),_0x241b19[_0x5d2b55(0x357)]=_0xe2c554,Object[_0x5d2b55(0x1ad)](_0x241b19,'UniverDocsShapeUIPlugin',{'enumerable':!0x0,'get':function(){return _0x327628;}});}));function _0x4049(_0x585f19,_0xfe09fe){_0x585f19=_0x585f19-0x1ac;const _0x4b00b6=_0x4b00();let _0x40494d=_0x4b00b6[_0x585f19];return _0x40494d;}function _0x4b00(){const _0x14cd69=['setPresentation','transformForAngle','transform','2331KQxhcg','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','front','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','setFallbackVisible','resolveShapeTextEditorWrapStrategy','docs-shape-ui.ribbon.shape-format.arrange-forward','ShapeGroupEnum','_shapeRenderController','cloneShapeDataForType','docs-shape-ui.ribbon.shape-format.arrange-front','onPointerDown$','editingParams$','@univerjs/ui','getPropertyPriority','SetDrawingSelectedOperation','packageName','_commandService','getSnapshot','DocSelectionRenderService','_adjustPointObjects','RemoveDocDrawingCommand','_renderManagerService','clearActiveDrawingObjects','complete','DocDrawingTextWrap','mergeMenu','UniverLicensePlugin','4565608pjotrA','layoutType','transformVector2SceneCoord','_localeService','clipHeight','extraProps','docs-shape-ui.config','useFormulaShapeToolbar','_context','univer-box-border\x20univer-px-4\x20univer-text-sm','DocCanvasPopManagerService','classType','shapeType','SHAPE_TEXT','IUniverInstanceService','update$','top-bottom','docs-shape-ui.ribbon.shape-format.text-control','MenuItemType','presetId','element','add','4441830iHbwlP','getAutoFitPresentations','_getShapeInfo','symbol','.below','LAYOUT','INSERT_BELLOW_MENU_ID','VIEWPORT_KEY','ContextMenuGroup','_initSelection','BehaviorSubject','docs-shape-ui.ribbon.shape-format.arrange-backward','ShapeTypeEnum','_adjHandlerPointerMove','isLineShape','plainShapeTextToDocumentData','_createShapeAdjustControls','docs-shape-ui.insertShape','ISidebarService','startArrow','univerjs-icon\x20univerjs-icon-','formulaPresentation','DocsShapeUIMenuSchema','resolveActiveShapeQuickStylePresetId','docs-shape-ui.ribbon.shape-format.arrange-back','bottom','updateDocumentStyle','_isStartAdjusting','useMemo','behindDoc','appliedStrokeWidth','text','applyQuickStyleToShapeData','ShapeDefaultConfig','oKey','_adjHandlerPointerUp','move-down-icon','baseVal','disposeWithMe','find','resolveFormulaShapeAutoFitSize','attrs','Medium','resolveShapeTextEditorBehaviorShapeData','Injector','M2\x203h16M2\x207.5h16M2\x2010h16M2\x2012.5h16M2\x2017h16','sectionCanvas','TextWrappingStyle','_contextService','177wZsoMK','M2\x203h16M2\x207.5h3M15\x207.5h3M2\x2010h3M15\x2010h3M2\x2012.5h3M15\x2012.5h3M2\x2017h16','WRAP_SQUARE','UniverDocsUIPlugin','engine','updateShapeFillImage','M2\x203h16M2\x2017h16','pick','_activeShapeModel','DocumentDataModel','_transform','_activeShapeAdjustPointList','_formulaKey','LEFT','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','canvasElement','updateDocumentDataMargin','getParent','_shapeEditPanelVersion','UniverProDocsShapeUi','UNIVER_DOC','Observable','ShapeTextRibbonControl','onRendered','_initEvents','onCommandExecuted','IDocDrawingService','UpdateDocShapeDataCommand','ObjectLayersIcon','prototype','multiply','60tOVBFs','getDrawingOrder','backward','changeEnd$','_loadShapePictureFill','docs-shape-ui.ribbon.shape-format.style-control','getShapeQuickStylePreset','_refreshShapeData','CURSOR_TYPE','endArrow','cos','GROUP','stroke-width','0\x200\x2017\x2016','@univerjs-pro/shape-editor','React','#3B82F6','localeService','RibbonInsertGroup','getInverseCoord','buildClipPath','from','_initialize','UpdateDrawingDocTransformCommand','@univerjs-pro/license','PARAGRAPH','_formulaShapes','getImage','calcAdjValues','string','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','sectionFloating','forward','push','normalizeShapeTextModel','shape-editor-ui.arrange.forward','_initMenu','fontFamily','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','focus$','SHAPE_CHANGE_PICKER_COMPONENT','selectable','PictureFill','values','ComponentManager','forEach','32772RzYIOM','style','useState','@univerjs/drawing-ui','vertical-center','set','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','UniverProDocsShape','name','getDrawingSearch','react','some','DOCS_COMPONENT_MAIN_LAYER_INDEX','registerDependencies','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','_shapeFormulaService','getDrawingEditable','DOC_CONTENT_INSERT_MENU_ID','_shapeFloatingToolbarService','_registerDrawingFocusChangeHandler','adjName','objects','actions','MoveUpIcon','getCurrentTypeOfUnit$','_docsShapeService','UniverProShapeEditorUi','_activeShapeInfo','_closeShapeEditPanel','_componentManager','clip-','_updateShapeAdjustControls','disableObjectsEvent','parseFloat','shape-editor-ui.toolbar.changeShape','presentationChanged$','docs-shape-ui.textWrap.behindText','decorate','Circle','below','ArrangeTypeEnum','onerror','_drawingManagerService','docs-shape-contextual-ribbon','getShapeTypeById','_attachAdjustEvent','height','getShapeType','0\x200\x2016\x2016','getAdjustValueByName','isConnectorShape','idSuffix','setPrstGeom','DRAWING_IMAGE','src','getTextStyle','ShapeIcon','docs-shape-ui.objectListPanel.open','unsubscribe','doc.operation.apply-shape-quick-style','CROSSHAIR','_config','restore','_registerOperations','_openShapeEditPanel','fillImageSource','_urlImageService','MoveDownIcon','moveRange','MenuManagerPosition','DocsShapeWrapSquareIcon','ShapeFloatingToolbarToggleFactory','_sidebarDisposable','ShapeTextFloatMenuRenderControllerBase','title','_lastEditingShapeKey','_drawShapeText','Path','ContextMenuPosition','hasAttribute','useDependency','DRAWING_SHAPE','close','Fragment','docs-shape-ui.textWrap.inFrontText','_docPrintInterceptorService','rxjs','isHit','setCollapsedIds','adjHandleSize','useEffect','getShapeModel','replace','removeProperty','getImageSourceCache','_hide','setContextValue','M4.2\x208.3H6.8','top','TOP','ShapeTextHyperLinkPopupService','extensionGroups','xlink:href','sin','value','BEHIND_TEXT','ShapeQuickStyleGallery','activeTarget','presentation','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','contentVerticalOffset','square','getPropertyValue','type','subscribe','getCurrentUnitOfType','DocSelectionManagerService','docs-shape-ui.formatShape','_injector','_baseShapeTop','enhanceParams','paragraphId','draw','onTransformChange$','clip','viewBox','getParagraphContentStartOffset','docs-shape-format-font-family-menu','5.5','docs-shape-ui.shape-format.formula-ribbon-control','warn','@univerjs/docs-ui','actualHeight','None','_getSceneByUnitId','_updateAdjustControlPositions','makeDirty','UniverProLicense','round','1em','@univerjs-pro/engine-shape','IImageIoService','transformByState','getScene','Disposable','_baseShapeWidth','OFFSET','getDrawingOKey','inline','@univerjs/docs-drawing-ui','text-wrap-shape-icon','non-scaling-stroke','visible','strokeOpacity','COMMAND','shape-editor-ui.arrange.front','UniverDocsShapePlugin','gradientEndColor','currentAdjustValues','getDrawingTypeNameKey','shapeData','UniverShapeEditorUIPlugin','shouldClipShapeTextDocument','docs-shape-text-','offsetY','ShapeFloatingToolbar','unregister','0.8','fillType','UniverIcon','#2563EB','FOCUSING_COMMON_DRAWINGS','DependentOn','DocsShapeTextEditorContainer','setSrcRect','_docDrawingShapeRenderController','_initCommands','scale','IN_FRONT_OF_TEXT','isInGroup','rect','docs-shape-ui.ribbon.shape-format','useImperativeHandle','DocsShapeService','shape-text-','registerRenderModule','getState','DocParagraphMenuService','docs-shape-ui.crop.shape','resolveShapeTextDocumentRenderLayout','Rect','doc.operation.update-shape-type','drawFormulaShapeAnimationLayers','true','_univerInstanceService','useLayoutEffect','updateContext','ICommandService','UniverInstanceType','sheet.image-clip.shape-picker.component','doc.operation.close-doc-shape-format-panel','getObjectIncludeInGroup','getDrawingVisible','flipX','ShapeFormulaRibbonControl','invert','_docCanvasPopManagerService','removeAttribute','BUTTON','http://www.w3.org/2000/svg','VerticalAlign','getInterceptPoints','OTHERS','_initUIPart','_addShapeAdjustControl','Vector2','ShapeFillEnum','getUnitId','left','_shapeTextEditingService','ShapePickerPanel','next','onSavingEditorData$','formulaBinding','URL','jsx','Transform','flatMap','prstGeom','_onSavingEditorData$','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','toFixed','@univerjs/engine-render','getValue','none','DocsShapeWrapTopBottomIcon','DOC_PARAGRAPH_T_INSERT_MENU_ID','createInternalEditorID','marginTop','syncExecuteCommand','UniverEngineRender','originalStrokeWidth','paragraph','IconManager','srcRect','isFinite','description','M4.2\x205.5H10.5','shapeKey','version','isHorizontal','getMatrix','_baseShapeLeft','createShapeFormulaDocument','isEditing','indexOf','_updateSrcRectByTransform','docs-shape-ui.shape-format.quick-style-gallery','defineProperty','bindRenderTransformerLifecycle','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','getPresentation','fillImageSourceType','_registerImageShapeClipDelegate','docs-shape-ui.textWrap.inline','SELECTOR','DocEventManagerService','priority','DrawingCommonPanel','dataModel','calculate','setFormulaPresentation','fontSize','WRAP_TOP_AND_BOTTOM','doc.operation.open-doc-shape-format-panel','remove$','doc.shape.object-list.panel','asObservable','_drawingType','docs-shape-ui.deleteShape','_isShouldShowDrawingShapeAdjust','shape-editor-ui.toolbar.quickStyles','beginPath','stroke','VIEW_MAIN','disconnect','1580RYxZLF','getMenuHiddenObservable','IUIPartsService','docs-shape-ui.hidePanel','shouldAllowShapeTextEditorHostSizeShrink','useObservable','currentColor','getDrawingShapeKeyByDrawingSearch','pipe','setOnSavingEditorData','executeCommand','_subUnitId','INLINE','panel','docs-shape-ui.ribbon.shape-format.wrapping-style','createElement','reverse','adjHandleFill','move-up-icon','wrapStrategy','children','UniverDocsPlugin','_unitId','getUnitType','ShapeArrowSizeEnum','setConfig','ShapeLineTypeEnum','_initEditingParams','SHAPE_EDITOR_TRANSFORMER_CONFIG','_ribbonService','shapeModel','doc-shape-adjust-point-','DocPrintInterceptorService','getShapeTextRect','isReleased','trim','UniverDocsUi','composeMatrix','_toScenePoint','label','getObjectListPanelSectionIdForDrawingType','UniverDocsDrawingUIPlugin','function','width','getCanvasElement','animateFormulaPresentation','ancestorTransform','TextWrapShapeIcon','unitId','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','add$','getAdjustInfoByName','DEFAULT_DOC_SHAPE_HEIGHT','getTextModel','registerCommand','isRenderLinePointsMode','back','default','shapeText','getVisible','499ZwLMAg','translate','Inject','canvas','svg','_editingParams$','applyPoint','getDrawingPoints','SolidFill','Arrow','_drawRichText','exports','refreshTransform$','ShapeFormulaService','onPointerMove$','_visible','getShapeData','getRenderUnitById','object','DocRenderController','startOffset','getFocusDrawings','parent','_props','_transformCalculateSrcRect','popup','@univerjs/drawing','getUnit','refreshShapeFillImage','ShapeFormatSettingIcon','entries','getSelfOrHeaderFooterModel','_drawRichTextLayer','shape-format-setting-icon','connectInjector','UniverUi','useId','UniverDrawingUi','ShapeArrowTypeEnum','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','_menuManagerService','getShapeQuickStyleType','_disposePopups','_iconManager','1.2','docs-shape-ui.objectListPanel.title','DocDrawingPosition','resize','open','docs-shape-ui.openPanel','_formulaAnimation','PositionedObjectLayoutType','_insertShapes','colorChannel1','drawings','defs','docs-shape-ui.ribbon.shape-format.formula-control','_releaseRenderCache','_getActiveDrawingParam','paragraphs','evenodd','_baseShapeHeight','IDrawingManagerService','ShapeEditPanel','behindText','OPERATION','getShapePopupMenus','drawingId','error','hidden','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','use','length','IConfigService','clear','_getShapeAdjustInfosById','Image','contentHeight','icon','react/jsx-runtime','touchDependencies','behind','@univerjs/docs-drawing','endOffset','setShapeProps','focusDrawing','startWith','div','doc.shape.picker.component','MEDIA','onload','docs-shape-ui.shape-format.wrapping-style-label','_getActiveDrawingShape','UpdateDocShapeDataMutation','clone','ShapePickerDropdown','OBJECT_LIST_FLOATING_SECTION_ID','DocsShapeWrapBehindTextIcon','_init','jsxs','delete','LocaleService','docs-shape-ui.shape-format.text-ribbon-control','doc.shape.text.float-menu','getTransformerByCreate','IMenuManagerService','0\x200\x2020\x2020','refreshAdjustControls','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_updateShape','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','call','clipTop','subUnitId','changing$','UniverDrawing','render','getShapeDataById','displayName','_update','insertGroupObject','ToggleShapeFloatingToolbarOperation','renderDrawingShape','keys','has','setFillImage','HorizontalAlign','_clipService','activateDrawingObject','RichTextEditingMutation','WRAP_NONE','ShapeFloatingToolbarService','1.0.0-beta.2','doc','_draw','_activeShapeId','featurePluginUpdateNotification','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','with','addObject','CONTENT','setCursor','viewBound','9585360iyierU','doc.image-clip.shape-picker.component','_registerDrawingTransformHandler','forwardRef','drawingType','693910bGejLk','vectorEffect','filter','UUID','FOCUSING_SHAPE_TEXT_EDITOR','subscribeEvent','register','animationEnabled','paragraphMenuPlacement','ShapeTextEditorContainer','params','TRUE','setShapeData','custom','shape-editor-ui.arrange.back','getTransformer','_registerComponents','_applyFormulaAutoFitSize','setProperty','merge','showContextualTab','CommandType','resolveShapeContextualRibbonHostMode','shapeId','buildShapeTextDataUpdate','translateWithPrecision','getDrawingByParam','_renderWithCache','generateRandomId','disableShapeOption','_initPrinting','onPointerUp$','includes','UNIVER_SHEET','UpdateDocDrawingWrappingStyleCommand','get','_configService','visible$','ShapeStyleRibbonControl','url(#$1','pluginName','dispose','hadStyleAttribute','DrawingTypeEnum','DEFAULT_DOC_SHAPE_WIDTH','UniverProShapeEditor','toDisposable','flipY','map','interceptor','clipByShape','size','SetDocDrawingArrangeCommand','setEditing','constructor','BottomIcon','_isOpenedShapeEditPanel','_shapeId','onReady','horizontal','RENDER_CLASS_TYPE','_sidebarService','distinctUntilChanged','getActualSize','stopPropagation','attachTransformerTo','getDrawingData','vertical','fill','assign','doc.command.menu-insert-shape','order','current','_loadAndSetImage','save','BooleanNumber','useReducer','RIBBON','DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID','TopmostIcon','ImageSourceTypeEnum','color','attachPopupToObject','getRealBound','@univerjs-pro/docs-shape','IContextService','scene','getObjectListPanelTypeName','Line','getEditing','refreshFormulaPresentation','UniverDocsDrawing','strokeWidth','tag','isDrawingObject','_adjName','ShapeModel','DRAWING_OBJECT_LAYER_INDEX','setCanUseShapeClip','_getShapeAdjustPointListById','IRenderManagerService','onStarting','_clearPopups','path','UniverDocsDrawingUi','ShapeTextFloatToolbar','_setTransForm','isolated','_clearShapeAdjustControls','_activeAdjustInfo','Shape','querySelectorAll','_imageIoService','isRichText'];_0x4b00=function(){return _0x14cd69;};return _0x4b00();}
|