@univerjs-pro/docs-shape-ui 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- 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.css +5 -4
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +22 -22
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x4b6e0f,_0x5abbe9){const _0xcd6ac0=_0x8eb6,_0x373286=_0x4b6e0f();while(!![]){try{const _0x57b9ff=parseInt(_0xcd6ac0(0x30b))/0x1+parseInt(_0xcd6ac0(0x2cd))/0x2+-parseInt(_0xcd6ac0(0x33d))/0x3+-parseInt(_0xcd6ac0(0x30e))/0x4+-parseInt(_0xcd6ac0(0x19c))/0x5*(parseInt(_0xcd6ac0(0x507))/0x6)+parseInt(_0xcd6ac0(0x1fc))/0x7*(-parseInt(_0xcd6ac0(0x38b))/0x8)+parseInt(_0xcd6ac0(0x380))/0x9*(parseInt(_0xcd6ac0(0x388))/0xa);if(_0x57b9ff===_0x5abbe9)break;else _0x373286['push'](_0x373286['shift']());}catch(_0x3ecf26){_0x373286['push'](_0x373286['shift']());}}}(_0xd530,0xb2abb),function(_0x1384d4,_0x565662){const _0x5f5235=_0x8eb6;typeof exports=='object'&&typeof module<'u'?_0x565662(exports,require('@univerjs-pro/shape-editor-ui'),require('@univerjs/docs-ui'),require('@univerjs/ui'),require('@univerjs-pro/docs-shape'),require('@univerjs-pro/engine-shape'),require('@univerjs-pro/shape-editor'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/docs-drawing'),require('@univerjs/engine-render'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('react/jsx-runtime'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/docs-drawing-ui'),require('react'),require('@univerjs/design'),require('@univerjs/protocol')):typeof define==_0x5f5235(0x418)&&define['amd']?define(['exports',_0x5f5235(0x4d5),'@univerjs/docs-ui',_0x5f5235(0x48c),'@univerjs-pro/docs-shape',_0x5f5235(0x4c1),_0x5f5235(0x47e),'@univerjs/core',_0x5f5235(0x498),'@univerjs/docs-drawing',_0x5f5235(0x364),_0x5f5235(0x2d8),_0x5f5235(0x3f8),'react/jsx-runtime',_0x5f5235(0x48a),_0x5f5235(0x241),'@univerjs/docs-drawing-ui','react',_0x5f5235(0x312),_0x5f5235(0x23e)],_0x565662):(_0x1384d4=typeof globalThis<'u'?globalThis:_0x1384d4||self,_0x565662(_0x1384d4[_0x5f5235(0x1cf)]={},_0x1384d4[_0x5f5235(0x327)],_0x1384d4[_0x5f5235(0x31a)],_0x1384d4[_0x5f5235(0x1b0)],_0x1384d4[_0x5f5235(0x2a1)],_0x1384d4['UniverProEngineShape'],_0x1384d4[_0x5f5235(0x4a9)],_0x1384d4[_0x5f5235(0x202)],_0x1384d4[_0x5f5235(0x4e1)],_0x1384d4[_0x5f5235(0x3cc)],_0x1384d4['UniverEngineRender'],_0x1384d4[_0x5f5235(0x4c3)],_0x1384d4['UniverDrawingUi'],_0x1384d4[_0x5f5235(0x265)],_0x1384d4[_0x5f5235(0x48a)],_0x1384d4['UniverProLicense'],_0x1384d4[_0x5f5235(0x35d)],_0x1384d4[_0x5f5235(0x265)],_0x1384d4['UniverDesign'],_0x1384d4['UniverProtocol']));}(this,function(_0x4494af,_0x49227b,_0x4fb755,_0x17ddbe,_0x3a18ad,_0x14b8aa,_0x5e0109,_0x1f0d53,_0x1d5dc9,_0x468af2,_0x2de297,_0x1b10bd,_0x1b3d5c,_0x49e713,_0x50deea,_0x2f7626,_0x9fb89c,_0x474eb8,_0x2ee841,_0x3036e9){const _0x5936e8=_0x8eb6;Object[_0x5936e8(0x4aa)](_0x4494af,Symbol[_0x5936e8(0x370)],{'value':_0x5936e8(0x3f5)});function _0x17a881(_0x14107a,_0x1b8b2a){const _0x4f5283=_0x5936e8;if(_0x1b8b2a){if((0x0,_0x14b8aa['isConnectorShape'])(_0x14107a)&&(_0x1b8b2a['startArrow']||_0x1b8b2a['endArrow']))return{'ln':{'startArrow':_0x1b8b2a[_0x4f5283(0x467)]?{'type':_0x14b8aa[_0x4f5283(0x3eb)][_0x4f5283(0x275)],'size':_0x14b8aa[_0x4f5283(0x43c)][_0x4f5283(0x44d)]}:void 0x0,'endArrow':_0x1b8b2a[_0x4f5283(0x38e)]?{'type':_0x14b8aa[_0x4f5283(0x3eb)][_0x4f5283(0x275)],'size':_0x14b8aa[_0x4f5283(0x43c)][_0x4f5283(0x223)]}:void 0x0}};if(_0x14107a===_0x14b8aa[_0x4f5283(0x2fa)][_0x4f5283(0x234)]&&(_0x1b8b2a[_0x4f5283(0x4a0)]||_0x1b8b2a[_0x4f5283(0x24b)]))return(0x0,_0x5e0109[_0x4f5283(0x326)])({'fill':{'fillType':_0x14b8aa[_0x4f5283(0x2ee)]['SolidFill'],'color':'#3B82F6'},'isHorizontal':!!_0x1b8b2a[_0x4f5283(0x4a0)],'stroke':{'lineStrokeType':_0x14b8aa[_0x4f5283(0x38f)][_0x4f5283(0x461)],'width':0x1,'color':_0x4f5283(0x4dd)}});}}function _0x41da7c(_0x5ab20c,_0x4befd7){const _0x1e6443=_0x5936e8;var _0x2c665b;let _0x1afc85=_0x4befd7['segmentId']??'',_0x23be4a=(_0x2c665b=_0x5ab20c['getSelfOrHeaderFooterModel'](_0x1afc85))==null?void 0x0:_0x2c665b[_0x1e6443(0x491)]();if(!_0x23be4a)return null;let _0x5d61d1=_0x23be4a[_0x1e6443(0x3c7)]??[],_0x1a5b9e=_0x5d61d1[_0x1e6443(0x372)](_0x1d905b=>{const _0x40721d=_0x1e6443;let _0x406a90=(0x0,_0x1f0d53[_0x40721d(0x1a4)])(_0x23be4a,_0x1d905b);return _0x4befd7[_0x40721d(0x2c6)]>=_0x406a90&&_0x4befd7[_0x40721d(0x2c6)]<=_0x1d905b[_0x40721d(0x4b3)];})??_0x5d61d1[_0x5d61d1[_0x1e6443(0x2b1)]-0x1];return _0x1a5b9e?{'paragraphId':_0x1a5b9e[_0x1e6443(0x38a)],'segmentId':_0x1afc85,'position':_0x3a18ad['DocShapeAnchorPosition'][_0x1e6443(0x470)],'offset':_0x4befd7[_0x1e6443(0x2c6)]-(0x0,_0x1f0d53[_0x1e6443(0x1a4)])(_0x23be4a,_0x1a5b9e)}:null;}function _0x3be6fd(_0x4c5623,_0x2a4d3b,_0x4eda66){const _0x18294f=_0x5936e8;var _0x1e4781,_0x8d434;if(!_0x4eda66)return null;let _0x3f33aa=(_0x1e4781=_0x4c5623['get'](_0x2de297[_0x18294f(0x434)])[_0x18294f(0x246)](_0x2a4d3b))==null?void 0x0:_0x1e4781[_0x18294f(0x407)](_0x4fb755[_0x18294f(0x23d)])[_0x18294f(0x3de)];if(!_0x3f33aa)return null;let _0x4099cb=_0x4eda66===_0x18294f(0x43b)?{'startOffset':_0x3f33aa['moveRange'][_0x18294f(0x469)],'endOffset':_0x3f33aa[_0x18294f(0x32d)][_0x18294f(0x469)]}:_0x3f33aa[_0x18294f(0x3d6)];return{'startOffset':_0x4099cb[_0x18294f(0x2c6)],'endOffset':_0x4099cb[_0x18294f(0x469)],'collapsed':_0x4099cb['startOffset']===_0x4099cb['endOffset'],'segmentId':((_0x8d434=_0x3f33aa[_0x18294f(0x32b)])==null?void 0x0:_0x8d434['segmentId'])??''};}let _0x5dc3f0={'type':_0x1f0d53[_0x5936e8(0x1e1)]['COMMAND'],'id':_0x5936e8(0x287),'handler':async(_0x51f59e,_0x2a98c1)=>{const _0x19f8bb=_0x5936e8;let _0x4ed7ea=_0x51f59e[_0x19f8bb(0x22c)](_0x1f0d53[_0x19f8bb(0x474)])[_0x19f8bb(0x279)](_0x1f0d53[_0x19f8bb(0x2ab)]['UNIVER_DOC']);if(!_0x4ed7ea)return!0x1;let _0x5268dc=_0x51f59e['get'](_0x1f0d53['ICommandService']),_0x44be6d=_0x4ed7ea[_0x19f8bb(0x28c)](),_0x474fb7=_0x2a98c1[_0x19f8bb(0x4b8)]??(0x0,_0x1f0d53[_0x19f8bb(0x452)])(),_0x5b226b=_0x2a98c1[_0x19f8bb(0x280)]??_0x3a18ad[_0x19f8bb(0x50d)],_0x16bb43=_0x2a98c1['height']??_0x3a18ad[_0x19f8bb(0x332)],_0x228ed3=_0x2a98c1[_0x19f8bb(0x457)]??_0x17a881(_0x2a98c1['value'],_0x2a98c1[_0x19f8bb(0x45e)]),_0x1e298f=_0x3be6fd(_0x51f59e,_0x44be6d,_0x2a98c1['paragraphMenuPlacement'])??_0x51f59e[_0x19f8bb(0x22c)](_0x1d5dc9['DocSelectionManagerService'])[_0x19f8bb(0x41d)]();if(!_0x1e298f)return!0x1;let _0x330852=_0x41da7c(_0x4ed7ea,_0x1e298f);return _0x330852?!!_0x5268dc[_0x19f8bb(0x30d)](_0x3a18ad[_0x19f8bb(0x320)]['id'],{'unitId':_0x44be6d,'shapeId':_0x474fb7,'shapeType':_0x2a98c1[_0x19f8bb(0x3ca)],'shapeData':_0x228ed3,'transform':{'width':_0x5b226b,'height':_0x16bb43},'placement':{'wrappingStyle':_0x468af2[_0x19f8bb(0x1d8)][_0x19f8bb(0x1d1)],'anchor':_0x330852}}):!0x1;}},_0x33cbc8=_0x5936e8(0x2d0),_0x4a26b7='docs-shape-ui.ribbon.shape-format',_0x2f3622=_0x5936e8(0x4d6),_0x44e212=(0x0,_0x1f0d53[_0x5936e8(0x281)])(_0x5936e8(0x195)),_0x54e3e8=_0x5936e8(0x2db),_0x3006fa=_0x5936e8(0x244),_0x1ac0f7={'id':_0x5936e8(0x472),'type':_0x1f0d53[_0x5936e8(0x1e1)][_0x5936e8(0x402)],'handler':(_0x4b1b28,_0x231ebc)=>{const _0x1da4ef=_0x5936e8;let _0x55120f=_0x4b1b28['get'](_0x17ddbe['ISidebarService']),_0x3dfe5d=_0x4b1b28[_0x1da4ef(0x22c)](_0x1f0d53['LocaleService']),_0x3ab4b6=_0x4b1b28[_0x1da4ef(0x22c)](_0x1b10bd[_0x1da4ef(0x224)]);return(_0x231ebc==null?void 0x0:_0x231ebc[_0x1da4ef(0x3ca)])===_0x1da4ef(0x44b)?(_0x55120f[_0x1da4ef(0x44b)](_0x2f3622),!0x0):(_0x55120f['open']({'id':_0x2f3622,'header':{'title':_0x3dfe5d['t']('docs-shape-ui.objectListPanel.title')},'children':{'label':_0x2f3622},'onClose':()=>{_0x3ab4b6['focusDrawing'](null);},'width':0x168}),!0x0);}},_0x4bbe2e={'type':_0x1f0d53['CommandType'][_0x5936e8(0x266)],'id':_0x5936e8(0x47d),'handler'(){return!0x0;}};function _0x48f6bf(_0x6ccf88){const _0x2789bb=_0x5936e8;let _0x59c777=_0x6ccf88[_0x2789bb(0x22c)](_0x1b10bd[_0x2789bb(0x224)])[_0x2789bb(0x456)](),_0x5d46d8=_0x59c777[_0x2789bb(0x2b1)]===0x1?_0x59c777[0x0]:null;if(!_0x5d46d8||_0x5d46d8['drawingType']!==_0x1f0d53['DrawingTypeEnum'][_0x2789bb(0x39d)])return null;let _0x557f79=_0x6ccf88[_0x2789bb(0x22c)](_0x3a18ad[_0x2789bb(0x39c)]),_0x36206c=_0x557f79[_0x2789bb(0x325)](_0x5d46d8[_0x2789bb(0x458)],_0x5d46d8['subUnitId'],_0x5d46d8['drawingId']),_0x44a952=_0x557f79[_0x2789bb(0x2ed)](_0x5d46d8[_0x2789bb(0x458)],_0x5d46d8['subUnitId'],_0x5d46d8[_0x2789bb(0x240)]);return _0x36206c===void 0x0||!_0x44a952?null:{'drawing':_0x5d46d8,'shapeData':_0x44a952,'shapeType':_0x36206c};}let _0x3c67d5={'id':_0x5936e8(0x291),'type':_0x1f0d53[_0x5936e8(0x1e1)][_0x5936e8(0x266)],'handler':(_0x597687,_0x391294)=>{const _0x348a24=_0x5936e8;let _0x3f6d0f=_0x48f6bf(_0x597687),_0xae3a10=(0x0,_0x5e0109[_0x348a24(0x322)])((_0x391294==null?void 0x0:_0x391294[_0x348a24(0x440)])??(_0x391294==null?void 0x0:_0x391294[_0x348a24(0x3ca)])??'');if(!_0x3f6d0f||!_0xae3a10||_0xae3a10['type']!==(0x0,_0x5e0109[_0x348a24(0x2fd)])(_0x3f6d0f[_0x348a24(0x457)]))return!0x1;let _0x2900b1=(0x0,_0x5e0109['applyQuickStyleToShapeData'])(_0x3f6d0f['shapeData'],_0xae3a10);if(!_0x2900b1)return!0x1;let {drawing:_0x54b711}=_0x3f6d0f;return _0x597687[_0x348a24(0x22c)](_0x1f0d53[_0x348a24(0x298)])[_0x348a24(0x502)](_0x3a18ad[_0x348a24(0x1c0)]['id'],{'unitId':_0x54b711[_0x348a24(0x458)],'shapeId':_0x54b711[_0x348a24(0x240)],'shapeData':_0x2900b1,'oldShapeJSON':{'oldShapeData':_0x3f6d0f[_0x348a24(0x457)]}});}},_0x5116cf={'id':_0x5936e8(0x2b9),'type':_0x1f0d53[_0x5936e8(0x1e1)][_0x5936e8(0x266)],'handler':(_0x48a08f,_0x134979)=>{const _0x3fcd4d=_0x5936e8;let _0x53bf31=_0x48f6bf(_0x48a08f),_0x1c7646=(_0x134979==null?void 0x0:_0x134979[_0x3fcd4d(0x329)])??(_0x134979==null?void 0x0:_0x134979['value']);if(!_0x53bf31||!_0x1c7646||(0x0,_0x14b8aa[_0x3fcd4d(0x214)])(_0x53bf31[_0x3fcd4d(0x329)])||(0x0,_0x14b8aa['isConnectorShape'])(_0x1c7646))return!0x1;let _0x4139cf=(0x0,_0x5e0109[_0x3fcd4d(0x435)])(_0x53bf31[_0x3fcd4d(0x457)],_0x1c7646);if(!_0x4139cf)return!0x1;let {drawing:_0x3a0c1f}=_0x53bf31;return _0x48a08f[_0x3fcd4d(0x22c)](_0x1f0d53[_0x3fcd4d(0x298)])[_0x3fcd4d(0x502)](_0x3a18ad[_0x3fcd4d(0x1c0)]['id'],{'unitId':_0x3a0c1f[_0x3fcd4d(0x458)],'shapeId':_0x3a0c1f['drawingId'],'shapeType':_0x1c7646,'shapeData':_0x4139cf,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x53bf31[_0x3fcd4d(0x329)],'oldShapeData':_0x53bf31[_0x3fcd4d(0x457)]}});}};function _0x570e4a(_0x4df22c,_0x4b9071){return function(_0x47498d,_0x4b3443){_0x4b9071(_0x47498d,_0x4b3443,_0x4df22c);};}function _0x348fea(_0x78567a,_0x1f5ee9,_0x4e9c7f,_0x58c59b){const _0x3ce9bf=_0x5936e8;var _0x44d3fb=arguments[_0x3ce9bf(0x2b1)],_0x375040=_0x44d3fb<0x3?_0x1f5ee9:_0x58c59b===null?_0x58c59b=Object[_0x3ce9bf(0x504)](_0x1f5ee9,_0x4e9c7f):_0x58c59b,_0x289d62;if(typeof Reflect==_0x3ce9bf(0x43f)&&typeof Reflect[_0x3ce9bf(0x4de)]==_0x3ce9bf(0x418))_0x375040=Reflect[_0x3ce9bf(0x4de)](_0x78567a,_0x1f5ee9,_0x4e9c7f,_0x58c59b);else{for(var _0x35de8e=_0x78567a[_0x3ce9bf(0x2b1)]-0x1;_0x35de8e>=0x0;_0x35de8e--)(_0x289d62=_0x78567a[_0x35de8e])&&(_0x375040=(_0x44d3fb<0x3?_0x289d62(_0x375040):_0x44d3fb>0x3?_0x289d62(_0x1f5ee9,_0x4e9c7f,_0x375040):_0x289d62(_0x1f5ee9,_0x4e9c7f))||_0x375040);}return _0x44d3fb>0x3&&_0x375040&&Object['defineProperty'](_0x1f5ee9,_0x4e9c7f,_0x375040),_0x375040;}let _0x31289f=class extends _0x1f0d53[_0x5936e8(0x1dc)]{constructor(_0x7638a7,_0x4ccb58){const _0x58e267=_0x5936e8;super(),this['_clipService']=_0x7638a7,this[_0x58e267(0x1e2)]=_0x4ccb58,this['_registerImageShapeClipDelegate'](),this['_clipService'][_0x58e267(0x2a9)](!0x0),this[_0x58e267(0x487)]({'dispose':()=>this[_0x58e267(0x4a2)][_0x58e267(0x2a9)](!0x1)});}[_0x5936e8(0x201)](){const _0x920e1c=_0x5936e8;let _0x2a996e=new Map(),_0x20cd7c=this[_0x920e1c(0x4a2)][_0x920e1c(0x3c9)]((_0xb09d47,_0xc5ad48,_0x3f0cc0,_0x439ce2,_0x4fcde1)=>{const _0x271cac=_0x920e1c;let _0x47830c=_0xc5ad48;if(_0x47830c===_0x14b8aa[_0x271cac(0x2fa)][_0x271cac(0x49d)]||_0xc5ad48===_0x271cac(0x44e))return!0x1;try{let _0x3df78a=_0x2a996e[_0x271cac(0x22c)](_0xc5ad48);return _0x3df78a||(_0x3df78a=new _0x14b8aa['ShapeModel'](_0x47830c,_0x271cac(0x480)+_0xc5ad48),_0x2a996e[_0x271cac(0x4fe)](_0xc5ad48,_0x3df78a)),_0x3df78a[_0x271cac(0x18c)](),_0x4fcde1&&Object[_0x271cac(0x3c5)](_0x4fcde1)[_0x271cac(0x2b1)]>0x0&&_0x3df78a[_0x271cac(0x352)]({'adjustValues':_0x4fcde1},!0x0),_0x3df78a[_0x271cac(0x264)]({'width':_0x3f0cc0,'height':_0x439ce2}),_0x3df78a[_0x271cac(0x2a3)](_0xb09d47,{'left':0x0,'top':0x0,'width':_0x3f0cc0,'height':_0x439ce2});}catch{return!0x1;}});this['disposeWithMe'](_0x20cd7c),this[_0x920e1c(0x487)]({'dispose':()=>_0x2a996e[_0x920e1c(0x3d9)]()});}[_0x5936e8(0x2f1)](_0x234fd4,_0x1f00da,_0x1a5652,_0x369497,_0x778797){const _0x2683e0=_0x5936e8;let _0x5b77bd=this[_0x2683e0(0x1e2)][_0x2683e0(0x1d9)](_0x234fd4,_0x1f00da)[_0x1a5652];_0x5b77bd&&_0x5b77bd[_0x2683e0(0x486)]===_0x1f0d53[_0x2683e0(0x331)][_0x2683e0(0x48f)]&&this[_0x2683e0(0x1e2)][_0x2683e0(0x4f2)]([{..._0x5b77bd,'prstGeom':_0x369497,'adjustValues':_0x778797}]);}};_0x31289f=_0x348fea([_0x570e4a(0x0,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x1b3d5c[_0x5936e8(0x274)])),_0x570e4a(0x1,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x1b10bd[_0x5936e8(0x224)]))],_0x31289f);let _0x11dc99=_0x5936e8(0x3c8),_0xb8ab1f=_0x5936e8(0x4e5);function _0x17177a({onShapeClick:_0x2bcb76,excludeGroups:_0xaf3536}){const _0x1cc985=_0x5936e8;return(0x0,_0x49e713[_0x1cc985(0x340)])(_0x49227b[_0x1cc985(0x3bf)],{'excludeGroups':_0xaf3536,'onShapeClick':_0x2bcb76,'scrollContainer':_0x1cc985(0x22e)});}function _0x18ffed(){const _0xe1f7a9=_0x5936e8;let _0x3a83f8=(0x0,_0x17ddbe[_0xe1f7a9(0x448)])(_0x1b10bd['IDrawingManagerService']),_0x2a1389=(0x0,_0x17ddbe[_0xe1f7a9(0x448)])(_0x31289f);return _0x1b5d50=>{const _0x2c1ec8=_0xe1f7a9;let _0x5d4756=_0x3a83f8['getFocusDrawings']()[_0x2c1ec8(0x372)](_0x4e7f1e=>_0x4e7f1e[_0x2c1ec8(0x486)]===_0x1f0d53['DrawingTypeEnum'][_0x2c1ec8(0x48f)]);_0x5d4756&&_0x2a1389['clipByShape'](_0x5d4756[_0x2c1ec8(0x458)],_0x5d4756['subUnitId'],_0x5d4756[_0x2c1ec8(0x240)],_0x1b5d50['type']);};}function _0xe0be09(){const _0xb90012=_0x5936e8;let _0x30a55a=_0x18ffed();return(0x0,_0x49e713[_0xb90012(0x340)])(_0x49227b['ShapePickerDropdown'],{'buttonLabel':'docs-shape-ui.crop.shape','excludeGroups':[_0x49227b[_0xb90012(0x42c)][_0xb90012(0x276)]],'onShapeClick':_0x30a55a});}function _0xbfcf2a(){const _0x1dfa15=_0x5936e8;let _0x2af65c=(0x0,_0x17ddbe['useDependency'])(_0x17ddbe[_0x1dfa15(0x33a)]),_0x2ce9e2=(0x0,_0x17ddbe[_0x1dfa15(0x448)])(_0x1b10bd['IDrawingManagerService']),_0x1aa102=(0x0,_0x17ddbe[_0x1dfa15(0x448)])(_0x1f0d53[_0x1dfa15(0x474)]),_0x4050e0=_0x2ce9e2['getFocusDrawings']()[0x0],_0x165d46=_0x4050e0?_0x1aa102[_0x1dfa15(0x4b2)](_0x4050e0[_0x1dfa15(0x458)]):void 0x0,_0x3db0af=_0x165d46===_0x1f0d53[_0x1dfa15(0x2ab)][_0x1dfa15(0x471)]?_0xb8ab1f:_0x165d46===_0x1f0d53[_0x1dfa15(0x2ab)]['UNIVER_SHEET']?'sheet.image-clip.shape-picker.component':void 0x0,_0x272cdf=_0x3db0af?_0x2af65c[_0x1dfa15(0x22c)](_0x3db0af):void 0x0;return _0x272cdf?(0x0,_0x49e713['jsx'])(_0x272cdf,{}):null;}function _0x16b51e({paragraphMenuPlacement:_0x2069ee,PickerComponent:_0x2dfb80=_0x17177a}){const _0x19a990=_0x5936e8;let _0x7705d9=(0x0,_0x17ddbe['useDependency'])(_0x1f0d53[_0x19a990(0x298)]);return(0x0,_0x49e713['jsx'])(_0x2dfb80,{'onShapeClick':_0x17d837=>{const _0xfe6072=_0x19a990;_0x7705d9[_0xfe6072(0x502)](_0x5dc3f0['id'],{'paragraphMenuPlacement':_0x2069ee,'value':_0x17d837[_0xfe6072(0x481)],'enhanceParams':{'endArrow':_0x17d837['endArrow'],'startArrow':_0x17d837[_0xfe6072(0x467)],'horizontal':_0x17d837['horizontal'],'vertical':_0x17d837[_0xfe6072(0x24b)]}});}});}function _0x37f6ff(_0x75ac9c){const _0x48d4b9=_0x5936e8;return _0x3eac8b=>({'id':_0x5dc3f0['id'],'type':_0x17ddbe['MenuItemType'][_0x48d4b9(0x443)],'selections':[{'label':{'name':_0x11dc99,'hoverable':!0x1,'selectable':!0x1,'props':_0x75ac9c?{'id':_0x5dc3f0['id'],'paragraphMenuPlacement':_0x75ac9c}:{'id':_0x5dc3f0['id']}}}],'icon':_0x48d4b9(0x27d),'title':_0x48d4b9(0x462),'tooltip':_0x48d4b9(0x462),'hidden$':(0x0,_0x17ddbe[_0x48d4b9(0x270)])(_0x3eac8b,_0x1f0d53['UniverInstanceType'][_0x48d4b9(0x471)])});}let _0x2a8a47=_0x37f6ff(),_0x5ddd5e=_0x37f6ff(_0x5936e8(0x43b)),_0x130151=_0x37f6ff(_0x5936e8(0x316));function _0x335167(_0x30a170){const _0x146668=_0x5936e8;let _0x6202e8=_0x30a170['get'](_0x17ddbe['ISidebarService']);return{'id':_0x1ac0f7['id'],'type':_0x17ddbe[_0x146668(0x306)][_0x146668(0x2fb)],'icon':_0x146668(0x1eb),'title':'docs-shape-ui.objectListPanel.open','tooltip':_0x146668(0x3e2),'activated$':(0x0,_0x50deea[_0x146668(0x367)])(()=>_0x6202e8['sidebarOptions$'][_0x146668(0x218)]((0x0,_0x50deea[_0x146668(0x20e)])(_0x6202e8[_0x146668(0x2f5)]),(0x0,_0x50deea[_0x146668(0x2e6)])(_0x4e9d27=>_0x4e9d27[_0x146668(0x343)]===!0x0&&_0x4e9d27['id']==='doc.shape.object-list.panel'),(0x0,_0x50deea[_0x146668(0x3b5)])())),'hidden$':(0x0,_0x17ddbe[_0x146668(0x270)])(_0x30a170,_0x1f0d53[_0x146668(0x2ab)]['UNIVER_DOC'])};}function _0x17f719(_0x2daf25,_0x4e8ef5,_0x44fefb,_0xf34b1f,_0x2ed5b5,_0x4e06c3){const _0x30d333=_0x5936e8;let _0x2b7d87={'unitId':_0x4e8ef5,'shapeId':_0xf34b1f,'shapeData':_0x4e06c3,'oldShapeJSON':_0x2ed5b5};return _0x2daf25[_0x30d333(0x502)](_0x3a18ad[_0x30d333(0x1c0)]['id'],_0x2b7d87);}function _0x445078(_0x3921e4,_0x2d3052,_0x36cd74,_0xa1a486,_0x7ab5e8,_0x570a2b){let _0x4955f5={'unitId':_0x2d3052,'shapeId':_0xa1a486,'shapeData':_0x570a2b,'oldShapeJSON':_0x7ab5e8};return _0x3921e4['executeCommand'](_0x3a18ad['UpdateDocShapeDataCommand']['id'],_0x4955f5);}let _0x5a7f89=_0x5936e8(0x23a),_0x369dfe='docs-shape-ui.shape-format.style-ribbon-control',_0x4c6bd2='docs-shape-ui.shape-format.text-ribbon-control',_0xaa2613=_0x5936e8(0x261),_0x3cd69e=_0x5936e8(0x26a),_0x3f6d23=[{'value':_0x468af2[_0x5936e8(0x1d8)]['INLINE'],'label':'docs-shape-ui.textWrap.inline','icon':_0x5936e8(0x207)},{'value':_0x468af2['TextWrappingStyle'][_0x5936e8(0x3bd)],'label':_0x5936e8(0x49c),'icon':'DocsShapeWrapSquareIcon'},{'value':_0x468af2[_0x5936e8(0x1d8)][_0x5936e8(0x375)],'label':_0x5936e8(0x2b0),'icon':_0x5936e8(0x359)},{'value':_0x468af2[_0x5936e8(0x1d8)][_0x5936e8(0x475)],'label':_0x5936e8(0x1f6),'icon':_0x5936e8(0x45f)},{'value':_0x468af2['TextWrappingStyle'][_0x5936e8(0x2bb)],'label':_0x5936e8(0x290),'icon':'DocsShapeWrapInFrontOfTextIcon'}];function _0x3363a5(){const _0x12b340=_0x5936e8;let _0x39ffb6=(0x0,_0x17ddbe[_0x12b340(0x448)])(_0x1f0d53['ICommandService']),_0x19064d=(0x0,_0x17ddbe['useDependency'])(_0x1b10bd[_0x12b340(0x224)]),_0x2bf2bb=(0x0,_0x17ddbe[_0x12b340(0x448)])(_0x3a18ad[_0x12b340(0x39c)]),_0x193900=()=>{const _0xf63044=_0x12b340;var _0x5cca37;let _0x2d2113=_0x19064d[_0xf63044(0x456)]();if(_0x2d2113[_0xf63044(0x2b1)]!==0x1||((_0x5cca37=_0x2d2113[0x0])==null?void 0x0:_0x5cca37['drawingType'])!==_0x1f0d53[_0xf63044(0x331)]['DRAWING_SHAPE'])return null;let {unitId:_0x4907af,subUnitId:_0x11bf3a,drawingId:_0x137783}=_0x2d2113[0x0],_0x123deb=_0x2bf2bb[_0xf63044(0x325)](_0x4907af,_0x11bf3a,_0x137783),_0x547f2d=_0x2bf2bb[_0xf63044(0x2ed)](_0x4907af,_0x11bf3a,_0x137783);return _0x123deb===void 0x0||!_0x547f2d?null:{'unitId':_0x4907af,'subUnitId':_0x11bf3a,'drawingId':_0x137783,'shapeType':_0x123deb,'shapeData':_0x547f2d};},_0x4e1ef3=(0x0,_0x17ddbe[_0x12b340(0x1b2)])(()=>new _0x50deea[(_0x12b340(0x198))](_0x4212eb=>{const _0x5d03e7=_0x12b340;let _0x1ae87d=()=>_0x4212eb[_0x5d03e7(0x420)](_0x193900()),_0x24b04c=_0x19064d[_0x5d03e7(0x4b1)][_0x5d03e7(0x442)](_0x1ae87d),_0x1550c1=_0x39ffb6[_0x5d03e7(0x25a)](_0x48b28f=>{const _0x37ddbf=_0x5d03e7;_0x48b28f['id']===_0x3a18ad[_0x37ddbf(0x338)]['id']&&_0x1ae87d();});return _0x1ae87d(),()=>{const _0x48d212=_0x5d03e7;_0x24b04c[_0x48d212(0x3b6)](),_0x1550c1[_0x48d212(0x342)]();};}),_0x193900(),!0x1,[_0x39ffb6,_0x2bf2bb,_0x19064d]);return{'selection':_0x4e1ef3,'updateShapeData':_0x45b510=>{const _0x4d1956=_0x12b340;_0x4e1ef3&&_0x17f719(_0x39ffb6,_0x4e1ef3['unitId'],_0x4e1ef3['subUnitId'],_0x4e1ef3['drawingId'],{'oldShapeData':_0x4e1ef3[_0x4d1956(0x457)]},_0x45b510);}};}function _0x27cbef(){const _0x1017f2=_0x5936e8;let {selection:_0x45564d,updateShapeData:_0xdc81e0}=_0x3363a5();return _0x45564d?(0x0,_0x49e713[_0x1017f2(0x340)])(_0x49227b['ShapeStyleRibbonControl'],{'shapeData':_0x45564d[_0x1017f2(0x457)],'shapeType':_0x45564d['shapeType'],'onUpdateShapeData':_0xdc81e0}):null;}function _0x4edd4a(){const _0xc5761b=_0x5936e8;let _0x31ba41=(0x0,_0x17ddbe[_0xc5761b(0x448)])(_0x1f0d53[_0xc5761b(0x298)]),_0x4a06d9=(0x0,_0x17ddbe[_0xc5761b(0x448)])(_0x1f0d53['LocaleService']),{selection:_0x127c15}=_0x3363a5();return _0x127c15?(0x0,_0x49e713['jsx'])(_0x49227b['ShapeQuickStyleGallery'],{'type':(0x0,_0x5e0109[_0xc5761b(0x2fd)])(_0x127c15[_0xc5761b(0x457)]),'ariaLabel':_0x4a06d9['t'](_0xc5761b(0x205)),'activePresetId':(0x0,_0x5e0109[_0xc5761b(0x292)])(_0x127c15['shapeData']),'onSelect':_0x4cdc0c=>_0x31ba41[_0xc5761b(0x502)](_0x3c67d5['id'],{'presetId':_0x4cdc0c})}):null;}function _0x23ba1c(){const _0x6ca993=_0x5936e8;let {selection:_0x594a31,updateShapeData:_0x35b9f8}=_0x3363a5();return _0x594a31?(0x0,_0x49e713['jsx'])(_0x49227b[_0x6ca993(0x40f)],{'fontFamilyPopupDataComponent':_0x6ca993(0x1fd),'shapeData':_0x594a31[_0x6ca993(0x457)],'onUpdateShapeData':_0x35b9f8}):null;}function _0xa256a4(){const _0x40ddde=_0x5936e8;var _0x4a5656;let {selection:_0x25237d,updateShapeData:_0x3b6c66}=_0x3363a5(),_0x4304b4=(0x0,_0x49227b[_0x40ddde(0x2b8)])({'hostType':_0x1f0d53['UniverInstanceType']['UNIVER_DOC'],'unitId':(_0x25237d==null?void 0x0:_0x25237d['unitId'])??'','subUnitId':(_0x25237d==null?void 0x0:_0x25237d['subUnitId'])??'','shapeId':(_0x25237d==null?void 0x0:_0x25237d[_0x40ddde(0x240)])??'','shapeData':_0x25237d==null?void 0x0:_0x25237d[_0x40ddde(0x457)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x40ddde(0x501),'onUpdateBinding':_0x3a00cd=>_0x3b6c66({'formulaBinding':_0x3a00cd})}),_0x4f93a6=((_0x4a5656=_0x4304b4['extensionGroups'])==null?void 0x0:_0x4a5656[_0x40ddde(0x4e4)](_0x8c21ee=>_0x8c21ee[_0x40ddde(0x48d)])[_0x40ddde(0x21f)](_0x51c034=>_0x51c034[_0x40ddde(0x343)]!==!0x1))??[];return _0x25237d!=null&&_0x25237d[_0x40ddde(0x457)][_0x40ddde(0x1e0)]?(0x0,_0x49e713[_0x40ddde(0x340)])(_0x49227b[_0x40ddde(0x33f)],{'actions':_0x4f93a6,'panel':_0x4304b4[_0x40ddde(0x184)]}):null;}function _0x20ddd2({value:_0x622cfa}){const _0x3d70f4=_0x5936e8;let _0x19b543=(0x0,_0x17ddbe['useDependency'])(_0x1f0d53[_0x3d70f4(0x3f4)]),_0x5e94fc=_0x3f6d23[_0x3d70f4(0x372)](_0x4012b2=>_0x4012b2[_0x3d70f4(0x3ca)]===_0x622cfa)??_0x3f6d23[0x0];return _0x5e94fc?(0x0,_0x49e713['jsx'])(_0x3d70f4(0x4a1),{'children':_0x19b543['t'](_0x5e94fc[_0x3d70f4(0x4c7)])}):null;}let _0x2eb64a=_0x5936e8(0x20a),_0x577b8c='docs-shape-ui.ribbon.shape-format.text-control',_0x9c2bcd='docs-shape-ui.ribbon.shape-format.formula-control',_0x521b1c=_0x5936e8(0x3ee),_0x52b220=_0x5936e8(0x2a6),_0x4bf4d0=_0x5936e8(0x200),_0x474f1f=_0x5936e8(0x44a),_0x511fe0='docs-shape-ui.ribbon.shape-format.wrapping-style';function _0x1224d4(_0x39e182){const _0xe3ccc9=_0x5936e8;let _0x2612fc=_0x39e182[_0xe3ccc9(0x22c)](_0x1f0d53[_0xe3ccc9(0x298)]),_0x5f077f=_0x39e182[_0xe3ccc9(0x22c)](_0x1b10bd[_0xe3ccc9(0x224)]),_0x52e855=_0x39e182[_0xe3ccc9(0x22c)](_0x3a18ad[_0xe3ccc9(0x39c)]);return new _0x50deea[(_0xe3ccc9(0x198))](_0x461941=>{const _0x5ba6a0=_0xe3ccc9;let _0x34dd42=()=>{const _0x2c825f=_0x8eb6;let _0x4889a2=_0x6f60bd(_0x39e182),_0x19e9f7=_0x4889a2?_0x52e855[_0x2c825f(0x2ed)](_0x4889a2['unitId'],_0x4889a2[_0x2c825f(0x384)],_0x4889a2[_0x2c825f(0x240)]):null;_0x461941[_0x2c825f(0x420)](_0x19e9f7?(0x0,_0x5e0109[_0x2c825f(0x292)])(_0x19e9f7)??'':'');},_0x10a303=_0x5f077f[_0x5ba6a0(0x4b1)]['subscribe'](_0x34dd42),_0x363b10=_0x2612fc[_0x5ba6a0(0x25a)](_0x53ee64=>{const _0x1fe042=_0x5ba6a0;_0x53ee64['id']===_0x3a18ad[_0x1fe042(0x338)]['id']&&_0x34dd42();});return _0x34dd42(),()=>{_0x10a303['unsubscribe'](),_0x363b10['dispose']();};});}function _0x6f60bd(_0x4aac19){const _0x1fe320=_0x5936e8;var _0x21a9b1;let _0x548245=_0x4aac19['get'](_0x1b10bd['IDrawingManagerService'])['getFocusDrawings']();return _0x548245[_0x1fe320(0x2b1)]===0x1&&((_0x21a9b1=_0x548245[0x0])==null?void 0x0:_0x21a9b1[_0x1fe320(0x486)])===_0x1f0d53[_0x1fe320(0x331)]['DRAWING_SHAPE']?_0x548245[0x0]:null;}function _0x510be2(_0x525110){const _0x556ff9=_0x5936e8;return(_0x525110==null?void 0x0:_0x525110[_0x556ff9(0x496)])===_0x1f0d53['PositionedObjectLayoutType']['WRAP_NONE']?_0x525110['behindDoc']===_0x1f0d53[_0x556ff9(0x4c6)]['TRUE']?_0x468af2[_0x556ff9(0x1d8)][_0x556ff9(0x475)]:_0x468af2['TextWrappingStyle'][_0x556ff9(0x2bb)]:(_0x525110==null?void 0x0:_0x525110[_0x556ff9(0x496)])===_0x1f0d53['PositionedObjectLayoutType'][_0x556ff9(0x3bd)]?_0x468af2[_0x556ff9(0x1d8)][_0x556ff9(0x3bd)]:(_0x525110==null?void 0x0:_0x525110[_0x556ff9(0x496)])===_0x1f0d53[_0x556ff9(0x341)]['WRAP_TOP_AND_BOTTOM']?_0x468af2['TextWrappingStyle'][_0x556ff9(0x375)]:_0x468af2[_0x556ff9(0x1d8)]['INLINE'];}function _0x3fe65b(_0x3b480e){const _0x528980=_0x5936e8;let _0x2180ff=_0x3b480e['get'](_0x1f0d53[_0x528980(0x298)]),_0x56008d=_0x3b480e[_0x528980(0x22c)](_0x1b10bd[_0x528980(0x224)]),_0x4a26db=_0x3b480e[_0x528980(0x22c)](_0x1f0d53[_0x528980(0x474)]);return new _0x50deea['Observable'](_0x4af1c5=>{const _0x14545f=_0x528980;let _0x2e6a39=()=>{const _0x24ace6=_0x8eb6;var _0x3ea8c2;let _0x2e9bdb=_0x6f60bd(_0x3b480e),_0x25882a=_0x2e9bdb?_0x4a26db['getUnit'](_0x2e9bdb['unitId'],_0x1f0d53[_0x24ace6(0x2ab)][_0x24ace6(0x471)]):void 0x0;_0x4af1c5['next'](_0x510be2(_0x2e9bdb?_0x25882a==null||(_0x3ea8c2=_0x25882a[_0x24ace6(0x1b9)]()[_0x24ace6(0x2f0)])==null?void 0x0:_0x3ea8c2[_0x2e9bdb[_0x24ace6(0x240)]]:void 0x0));},_0x25124a=_0x56008d[_0x14545f(0x4b1)][_0x14545f(0x442)](_0x2e6a39),_0x4bf7c9=_0x2180ff[_0x14545f(0x25a)](_0x218630=>{_0x218630['id']===_0x1d5dc9['RichTextEditingMutation']['id']&&_0x2e6a39();});return _0x2e6a39(),()=>{_0x25124a['unsubscribe'](),_0x4bf7c9['dispose']();};})[_0x528980(0x218)]((0x0,_0x50deea[_0x528980(0x3b5)])());}function _0x45184c(_0x384992,_0x533f04=!0x1){const _0x4c00a2=_0x5936e8;let _0x1f6a6e=_0x384992[_0x4c00a2(0x22c)](_0x1f0d53[_0x4c00a2(0x298)]),_0x55224a=_0x384992['get'](_0x1b10bd['IDrawingManagerService']),_0x155d0a=_0x384992[_0x4c00a2(0x22c)](_0x3a18ad[_0x4c00a2(0x39c)]);return new _0x50deea[(_0x4c00a2(0x198))](_0x48187f=>{const _0x31c7c7=_0x4c00a2;let _0x53d75d=()=>{const _0x55a121=_0x8eb6;let _0x5bdfcb=_0x6f60bd(_0x384992);if(!_0x5bdfcb){_0x48187f[_0x55a121(0x420)](!0x0);return;}let _0x43cf6e=_0x155d0a['getShapeDataById'](_0x5bdfcb[_0x55a121(0x458)],_0x5bdfcb[_0x55a121(0x384)],_0x5bdfcb['drawingId']);_0x48187f[_0x55a121(0x420)](!_0x43cf6e||_0x533f04&&_0x43cf6e[_0x55a121(0x1e0)]==null);},_0x4f0546=_0x55224a[_0x31c7c7(0x4b1)]['subscribe'](_0x53d75d),_0x58085b=_0x1f6a6e['onCommandExecuted'](_0xb9a0ca=>{const _0x29548b=_0x31c7c7;_0xb9a0ca['id']===_0x3a18ad[_0x29548b(0x338)]['id']&&_0x53d75d();});return _0x53d75d(),()=>{const _0x37b277=_0x31c7c7;_0x4f0546[_0x37b277(0x3b6)](),_0x58085b[_0x37b277(0x342)]();};});}function _0xbc8928(_0x3979ea){const _0x308614=_0x5936e8;let _0x215667=_0x3979ea[_0x308614(0x22c)](_0x1b10bd['IDrawingManagerService']),_0x21d70c=_0x3979ea[_0x308614(0x22c)](_0x3a18ad[_0x308614(0x39c)]);return _0x215667[_0x308614(0x4b1)][_0x308614(0x218)]((0x0,_0x50deea['startWith'])(_0x215667[_0x308614(0x456)]()),(0x0,_0x50deea[_0x308614(0x2e6)])(()=>{const _0x4e3a00=_0x308614;let _0x1ab0d2=_0x6f60bd(_0x3979ea),_0xae2347=_0x1ab0d2?_0x21d70c[_0x4e3a00(0x325)](_0x1ab0d2[_0x4e3a00(0x458)],_0x1ab0d2[_0x4e3a00(0x384)],_0x1ab0d2[_0x4e3a00(0x240)]):void 0x0;return _0xae2347===void 0x0||(0x0,_0x14b8aa[_0x4e3a00(0x214)])(_0xae2347);}));}function _0x2330da(_0x1b2616){const _0x471dc7=_0x5936e8;return{'id':_0x3c67d5['id'],'type':_0x17ddbe[_0x471dc7(0x306)][_0x471dc7(0x443)],'icon':'PaintIcon','title':_0x471dc7(0x1b4),'tooltip':'shape-editor-ui.toolbar.quickStyles','selections':[{'label':{'name':_0x5a7f89,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x1224d4(_0x1b2616),'hidden$':_0x45184c(_0x1b2616)};}function _0x4ce916(_0x1e1ae7){const _0x28f91d=_0x5936e8;return{'id':_0x5116cf['id'],'type':_0x17ddbe[_0x28f91d(0x306)]['SELECTOR'],'icon':_0x28f91d(0x27d),'title':_0x28f91d(0x2e3),'tooltip':_0x28f91d(0x2e3),'slot':!0x0,'selections':[{'label':{'name':_0x49227b[_0x28f91d(0x468)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0xbc8928(_0x1e1ae7)};}function _0x269689(_0x1eeaa9,_0x1cf1f7,_0x2cd8c7=!0x1){const _0x10231c=_0x5936e8;return _0x1b667b=>({'id':_0x1eeaa9,'type':_0x17ddbe[_0x10231c(0x306)]['BUTTON'],'label':{'name':_0x1cf1f7,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x45184c(_0x1b667b,_0x2cd8c7)});}let _0x49d2e1=_0x269689(_0x2eb64a,_0x369dfe),_0x55efe2=_0x269689(_0x577b8c,_0x4c6bd2),_0xe7ef26=_0x269689(_0x9c2bcd,_0xaa2613,!0x0);function _0x137b9e(_0x438b06){const _0x51f39e=_0x5936e8;return{'id':_0x511fe0,'type':_0x17ddbe[_0x51f39e(0x306)]['SELECTOR'],'icon':_0x3f6d23[0x0][_0x51f39e(0x289)],'label':_0x3cd69e,'selectionsCommandId':_0x468af2[_0x51f39e(0x1c9)]['id'],'selections':_0x3f6d23[_0x51f39e(0x2e6)](({icon:_0x3a4f8a,label:_0x554b88,value:_0x5b879b})=>({'value':_0x5b879b,'label':_0x554b88,'icon':_0x3a4f8a,'params':()=>{const _0x3c4b9c=_0x51f39e;let _0x1a4035=_0x6f60bd(_0x438b06);return _0x1a4035?{'unitId':_0x1a4035[_0x3c4b9c(0x458)],'subUnitId':_0x1a4035['subUnitId'],'drawings':[{'unitId':_0x1a4035[_0x3c4b9c(0x458)],'subUnitId':_0x1a4035[_0x3c4b9c(0x384)],'drawingId':_0x1a4035['drawingId']}],'wrappingStyle':_0x5b879b}:void 0x0;}})),'value$':_0x3fe65b(_0x438b06),'hidden$':_0x45184c(_0x438b06)};}function _0x5174e0(_0x37bcfc,_0x401c37,_0x45a951,_0x1c19ff){const _0x1dc25c=_0x5936e8;return _0x46ce24=>({'id':_0x37bcfc,'commandId':_0x468af2[_0x1dc25c(0x272)]['id'],'type':_0x17ddbe[_0x1dc25c(0x306)][_0x1dc25c(0x2fb)],'icon':_0x45a951,'title':_0x1c19ff,'tooltip':_0x1c19ff,'hidden$':_0x45184c(_0x46ce24),'params':()=>{const _0x187ad6=_0x1dc25c;let _0x2ad78f=_0x6f60bd(_0x46ce24);return _0x2ad78f?{'unitId':_0x2ad78f[_0x187ad6(0x458)],'subUnitId':_0x2ad78f[_0x187ad6(0x384)],'drawingIds':[_0x2ad78f['drawingId']],'arrangeType':_0x401c37}:void 0x0;}});}let _0x4813fe=_0x5174e0(_0x521b1c,_0x1f0d53[_0x5936e8(0x1ff)][_0x5936e8(0x477)],_0x5936e8(0x1df),'shape-editor-ui.arrange.forward'),_0x526bce=_0x5174e0(_0x52b220,_0x1f0d53[_0x5936e8(0x1ff)][_0x5936e8(0x4f8)],_0x5936e8(0x362),'shape-editor-ui.arrange.backward'),_0x2d5821=_0x5174e0(_0x4bf4d0,_0x1f0d53[_0x5936e8(0x1ff)]['front'],_0x5936e8(0x345),'shape-editor-ui.arrange.front'),_0x209621=_0x5174e0(_0x474f1f,_0x1f0d53[_0x5936e8(0x1ff)][_0x5936e8(0x1db)],'BottomIcon',_0x5936e8(0x228));function _0x162749(_0x1084c3){const _0x5b46e0=_0x5936e8;let _0x2d4f17=_0x1084c3[_0x5b46e0(0x22c)](_0x17ddbe[_0x5b46e0(0x3cd)]);return{'activated$':(0x0,_0x50deea[_0x5b46e0(0x367)])(()=>_0x2d4f17[_0x5b46e0(0x3b2)][_0x5b46e0(0x218)]((0x0,_0x50deea[_0x5b46e0(0x20e)])(_0x2d4f17[_0x5b46e0(0x2f5)]),(0x0,_0x50deea[_0x5b46e0(0x2e6)])(_0x40d5bc=>_0x40d5bc[_0x5b46e0(0x343)]===!0x0&&_0x40d5bc['id']===_0x5b46e0(0x2d0)),(0x0,_0x50deea[_0x5b46e0(0x3b5)])())),'id':_0x4bbe2e['id'],'type':_0x17ddbe[_0x5b46e0(0x306)][_0x5b46e0(0x2fb)],'icon':_0x5b46e0(0x4eb),'title':_0x5b46e0(0x27c),'tooltip':_0x5b46e0(0x27c),'hidden$':_0x45184c(_0x1084c3),'params':()=>{const _0x2098c4=_0x5b46e0;let _0x4eb610=_0x6f60bd(_0x1084c3);return _0x4eb610?{'unitId':_0x4eb610[_0x2098c4(0x458)],'subUnitId':_0x4eb610[_0x2098c4(0x384)],'drawingId':_0x4eb610[_0x2098c4(0x240)]}:void 0x0;}};}let _0x138f4a={[_0x17ddbe[_0x5936e8(0x4c5)]['RIBBON']]:{[_0x4a26b7]:{'order':0x64,'title':_0x5936e8(0x27c),'contextual':!0x0,'docs-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x3c67d5['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x2330da},[_0x5116cf['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x4ce916}},'docs-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x2eb64a]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x49d2e1}},'docs-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x577b8c]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x55efe2}},'docs-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x511fe0]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'columnSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x137b9e},[_0x521b1c]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x4813fe},[_0x52b220]:{'order':0x2,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x526bce},[_0x4bf4d0]:{'order':0x3,'gridLayout':{'row':0x1,'column':0x4},'menuItemFactory':_0x2d5821},[_0x474f1f]:{'order':0x4,'gridLayout':{'row':0x2,'column':0x4},'menuItemFactory':_0x209621}},'docs-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x9c2bcd]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0xe7ef26}},'docs-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x4bbe2e['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x162749},[_0x49227b[_0x5936e8(0x415)]['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x49227b[_0x5936e8(0x4ad)]}}}}},_0x394914={[_0x17ddbe[_0x5936e8(0x2ca)][_0x5936e8(0x2ef)]]:{[_0x5dc3f0['id']]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x3979c2=>({..._0x2a8a47(_0x3979c2),'title':void 0x0})}},[_0x17ddbe['RibbonInsertGroup']['OTHERS']]:{[_0x1ac0f7['id']]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x2,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x335167}},[_0x17ddbe[_0x5936e8(0x361)][_0x5936e8(0x432)]]:{[_0x17ddbe[_0x5936e8(0x1f4)][_0x5936e8(0x2bf)]]:{[_0x4fb755['INSERT_BELLOW_MENU_ID']]:{[_0x5dc3f0['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x5ddd5e}}},[_0x4fb755[_0x5936e8(0x317)]]:{[_0x17ddbe[_0x5936e8(0x1f4)][_0x5936e8(0x2bf)]]:{[_0x5dc3f0['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x5ddd5e}}},[_0x4fb755[_0x5936e8(0x1c7)]]:{[_0x17ddbe[_0x5936e8(0x1f4)][_0x5936e8(0x2bf)]]:{[_0x5dc3f0['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x130151}}},[_0x4fb755['DOC_PARAGRAPH_T_INSERT_MENU_ID']]:{'insert':{[_0x5dc3f0['id']]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x2a8a47}}},[_0x4fb755[_0x5936e8(0x489)]]:{'insert':{[_0x5dc3f0['id']+_0x5936e8(0x333)]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x5ddd5e}}}}};var _0x3fc22f=_0x5936e8(0x50c),_0x54ac81=_0x5936e8(0x503);let _0x5d3d74={'type':_0x1f0d53[_0x5936e8(0x1e1)][_0x5936e8(0x266)],'id':_0x5936e8(0x4e8),'handler'(){return!0x0;}},_0x286ff0=_0x5936e8(0x365),_0x599d43={};function _0x3862ec(_0x317f48){'@babel/helpers - typeof';const _0x50dfd6=_0x5936e8;return _0x3862ec=typeof Symbol==_0x50dfd6(0x418)&&typeof Symbol[_0x50dfd6(0x4cc)]=='symbol'?function(_0x2bfc3f){return typeof _0x2bfc3f;}:function(_0x561ad3){const _0x3290c7=_0x50dfd6;return _0x561ad3&&typeof Symbol=='function'&&_0x561ad3[_0x3290c7(0x4ab)]===Symbol&&_0x561ad3!==Symbol[_0x3290c7(0x36b)]?_0x3290c7(0x3ad):typeof _0x561ad3;},_0x3862ec(_0x317f48);}function _0x49d733(_0x5302c1,_0x4499ce){const _0x221e5a=_0x5936e8;if(_0x3862ec(_0x5302c1)!='object'||!_0x5302c1)return _0x5302c1;var _0x1868ad=_0x5302c1[Symbol['toPrimitive']];if(_0x1868ad!==void 0x0){var _0x34905=_0x1868ad[_0x221e5a(0x210)](_0x5302c1,_0x4499ce||_0x221e5a(0x2c4));if(_0x3862ec(_0x34905)!=_0x221e5a(0x43f))return _0x34905;throw TypeError(_0x221e5a(0x19a));}return(_0x4499ce===_0x221e5a(0x3ab)?String:Number)(_0x5302c1);}function _0x1d2f95(_0x6e9983){const _0x17e396=_0x5936e8;var _0x17ea01=_0x49d733(_0x6e9983,'string');return _0x3862ec(_0x17ea01)==_0x17e396(0x3ad)?_0x17ea01:_0x17ea01+'';}function _0x3f767d(_0x5a6d20,_0x10ce94,_0x57d0e4){const _0xb83d29=_0x5936e8;return(_0x10ce94=_0x1d2f95(_0x10ce94))in _0x5a6d20?Object[_0xb83d29(0x4aa)](_0x5a6d20,_0x10ce94,{'value':_0x57d0e4,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5a6d20[_0x10ce94]=_0x57d0e4,_0x5a6d20;}var _0x1af378=class extends _0x2de297[_0x5936e8(0x354)]{constructor(_0x54a877,_0x3b4a18){const _0x31a246=_0x5936e8;super(_0x54a877,_0x3b4a18),_0x3f767d(this,_0x31a246(0x2da),null),_0x3f767d(this,_0x31a246(0x2c3),null),_0x3f767d(this,_0x31a246(0x255),null),_0x3f767d(this,'_subUnitId',null),_0x3b4a18&&this[_0x31a246(0x4dc)](_0x3b4a18);}[_0x5936e8(0x510)](){const _0x459b8c=_0x5936e8;return{'unitId':this['_unitId'],'subUnitId':this[_0x459b8c(0x314)],'drawingId':this[_0x459b8c(0x2da)]};}['setShapeProps'](_0x2457d5){const _0x13a889=_0x5936e8;_0x2457d5[_0x13a889(0x4b8)]!==void 0x0&&(this[_0x13a889(0x2da)]=_0x2457d5['shapeId']),_0x2457d5[_0x13a889(0x3cb)]!==void 0x0&&(this[_0x13a889(0x2c3)]=_0x2457d5[_0x13a889(0x3cb)]),_0x2457d5[_0x13a889(0x458)]!==void 0x0&&(this[_0x13a889(0x255)]=_0x2457d5['unitId']),_0x2457d5[_0x13a889(0x384)]!==void 0x0&&(this[_0x13a889(0x314)]=_0x2457d5[_0x13a889(0x384)]),this['transformByState']({'width':_0x2457d5[_0x13a889(0x280)],'height':_0x2457d5[_0x13a889(0x2c1)]});}[_0x5936e8(0x254)](_0xf330e1){const _0x3ff2c0=_0x5936e8;_0x2de297[_0x3ff2c0(0x23c)]['drawWith'](_0xf330e1,{'radius':_0x14b8aa['ShapeDefaultConfig'][_0x3ff2c0(0x50f)],'fill':_0x14b8aa[_0x3ff2c0(0x45b)][_0x3ff2c0(0x1ce)],'stroke':_0x14b8aa[_0x3ff2c0(0x45b)][_0x3ff2c0(0x251)],'strokeWidth':0x1,'evented':!0x0});}};function _0x3ed9b3(_0x1992ac,_0x49a247,_0x598b77){const _0x4eb464=_0x5936e8;let _0x956556={..._0x49a247,'dataModel':{..._0x49a247[_0x4eb464(0x4a5)]??{},..._0x598b77?{'doc':_0x598b77}:null}},_0x4b8ed7=(0x0,_0x49227b[_0x4eb464(0x2e8)])(_0x1992ac,_0x956556),_0x2903c0=(0x0,_0x49227b['resolveShapeTextEditorWrapStrategy'])(_0x4b8ed7);return{'clip':(0x0,_0x49227b[_0x4eb464(0x2e9)])(_0x4b8ed7,_0x2903c0),'wrapStrategy':_0x2903c0};}var _0x22f474=class extends _0x2de297[_0x5936e8(0x354)]{constructor(_0x105067,_0xf27dca){const _0x40ddba=_0x5936e8;super(_0x105067,_0xf27dca),_0x3f767d(this,_0x40ddba(0x4e7),[]),_0x3f767d(this,_0x40ddba(0x1fa),void 0x0),_0x3f767d(this,_0x40ddba(0x19e),new _0x49227b[(_0x40ddba(0x2be))](()=>this[_0x40ddba(0x446)](!0x0),()=>this[_0x40ddba(0x4bb)]())),_0x3f767d(this,_0x40ddba(0x459),!0x0),_0x3f767d(this,'_drawingType',_0x1f0d53[_0x40ddba(0x331)][_0x40ddba(0x39d)]),_0x3f767d(this,_0x40ddba(0x217),!0x0),this[_0x40ddba(0x1fa)]={..._0xf27dca},this['_formulaAnimation']['setPresentation'](_0xf27dca['formulaPresentation'],_0xf27dca[_0x40ddba(0x1f3)]!==!0x1),this['_init'](),this[_0x40ddba(0x4bb)]();}[_0x5936e8(0x1c2)](){const _0x5abfa5=_0x5936e8;this[_0x5abfa5(0x286)][_0x5abfa5(0x30f)](_0x2656e5=>{const _0xe0d42a=_0x5abfa5;this[_0xe0d42a(0x1a2)](_0x2656e5);});}[_0x5936e8(0x376)](_0x3b6ea6){const _0x3b66a9=_0x5936e8;this[_0x3b66a9(0x1fa)]['prstGeom']=_0x3b6ea6;}[_0x5936e8(0x1e6)](_0x2eea72){const _0x1973ab=_0x5936e8;if(this['_props'][_0x1973ab(0x389)])return null;let _0x4bedd8=this[_0x1973ab(0x2ec)](_0x2eea72),{width:_0x5e2792,height:_0x71442d}=this[_0x1973ab(0x395)]();return(0x0,_0x49227b['resolveShapeTextHyperLinkAt'])(this['_hyperLinkRegions'],{'x':(this[_0x1973ab(0x425)]?-_0x4bedd8['x']:_0x4bedd8['x'])+_0x5e2792/0x2,'y':_0x4bedd8['y']+_0x71442d/0x2});}['setEditing'](_0x97d0bd){const _0x15096a=_0x5936e8;this[_0x15096a(0x1fa)]['isEditing']=_0x97d0bd,this[_0x15096a(0x446)](!0x0);}['setFormulaPresentation'](_0x1edba2,_0x4f6a78=!0x0){const _0x5cbbd5=_0x5936e8;this[_0x5cbbd5(0x19e)][_0x5cbbd5(0x476)](_0x1edba2,_0x4f6a78),this['_props'][_0x5cbbd5(0x1cc)]=_0x1edba2,this[_0x5cbbd5(0x4bb)](),this[_0x5cbbd5(0x446)](!0x0);}[_0x5936e8(0x4bb)](){const _0x52c228=_0x5936e8;let _0x57c8f2=this[_0x52c228(0x1fa)]['shapeModel'],_0x3a25cb=_0x57c8f2[_0x52c228(0x278)](),_0x21a474=(0x0,_0x49227b[_0x52c228(0x294)])(_0x3a25cb==null?void 0x0:_0x3a25cb[_0x52c228(0x4a5)]),_0x2aae2f=_0x21a474==null?void 0x0:_0x21a474['doc'],_0x2ba4ea=this[_0x52c228(0x19e)]['getAutoFitPresentations']();if(!_0x2aae2f||_0x2ba4ea[_0x52c228(0x2b1)]===0x0)return;_0x57c8f2[_0x52c228(0x264)]({'width':this[_0x52c228(0x280)],'height':this[_0x52c228(0x2c1)]});let _0x596760=(0x0,_0x49227b['resolveFormulaShapeAutoFitSize'])({'documentData':_0x2ba4ea[_0x52c228(0x2e6)](_0x4438c0=>(0x0,_0x5e0109[_0x52c228(0x383)])(_0x2aae2f,_0x4438c0)),'height':this[_0x52c228(0x2c1)],'shapeData':_0x57c8f2[_0x52c228(0x4fc)](),'textRect':_0x57c8f2['getShapeTextRect']({'left':0x0,'top':0x0,'width':this[_0x52c228(0x280)],'height':this[_0x52c228(0x2c1)]}),'width':this[_0x52c228(0x280)]});if(_0x596760){var _0x5bb4b8;this[_0x52c228(0x47c)](_0x596760[_0x52c228(0x280)],_0x596760[_0x52c228(0x2c1)]),(_0x5bb4b8=this[_0x52c228(0x3e0)]())==null||(_0x5bb4b8=_0x5bb4b8['getTransformer']())==null||_0x5bb4b8[_0x52c228(0x269)]();}}get['unitId'](){const _0x19a7fe=_0x5936e8;return this['_props'][_0x19a7fe(0x458)];}get[_0x5936e8(0x384)](){const _0x120ab6=_0x5936e8;return this[_0x120ab6(0x1fa)]['subUnitId'];}[_0x5936e8(0x1a2)](_0x3b30ce){const _0x357411=_0x5936e8;if(this['_props'][_0x357411(0x493)]==null||!this[_0x357411(0x459)])return;let {width:_0x1ad864,height:_0x2c65ef}=this,{width:_0x5a0970=0x0,height:_0x560d3d=0x0}=_0x3b30ce['preValue'],{left:_0x764516=0x0,top:_0x287a13=0x0,right:_0x1d92e5=0x0,bottom:_0x4deb20=0x0}=this['_props'][_0x357411(0x493)],_0x3afdd2=_0x764516,_0x43f21f=_0x287a13,_0x5621cc=_0x1d92e5,_0x528840=_0x4deb20,_0x37c2a6=!0x1;if(_0x5a0970!==0x0&&_0x5a0970!==_0x1ad864){let _0x16d9f7=_0x764516/_0x5a0970,_0x4c1c83=_0x1d92e5/_0x5a0970;_0x3afdd2=_0x1ad864*_0x16d9f7,_0x5621cc=_0x1ad864*_0x4c1c83,_0x37c2a6=!0x0;}if(_0x560d3d!==0x0&&_0x560d3d!==_0x2c65ef){let _0x5ed7d6=_0x287a13/_0x560d3d,_0x4b1f32=_0x4deb20/_0x560d3d;_0x43f21f=_0x2c65ef*_0x5ed7d6,_0x528840=_0x2c65ef*_0x4b1f32,_0x37c2a6=!0x0;}_0x37c2a6&&this[_0x357411(0x4b5)]({'left':_0x3afdd2,'top':_0x43f21f,'right':_0x5621cc,'bottom':_0x528840});}[_0x5936e8(0x4b5)](_0x589e49){const _0x555956=_0x5936e8;this[_0x555956(0x1fa)][_0x555956(0x493)]=_0x589e49,this[_0x555956(0x446)](!0x0);}['setFillImage'](_0x363690){const _0x2eda6d=_0x5936e8;this[_0x2eda6d(0x1fa)][_0x2eda6d(0x463)]=_0x363690,this[_0x2eda6d(0x446)](!0x0);}set['transform'](_0x78c75){const _0x15254e=_0x5936e8;this[_0x15254e(0x2d9)]=_0x78c75;}get[_0x5936e8(0x1c5)](){const _0x50af59=_0x5936e8;this['_transform']||this[_0x50af59(0x3ae)]();let _0x1b26d6=this[_0x50af59(0x2d9)]['clone']();return this[_0x50af59(0x465)](_0x1b26d6);}get[_0x5936e8(0x339)](){const _0x33e210=_0x5936e8;return this[_0x33e210(0x1fa)]['shapeModel'];}get[_0x5936e8(0x4b8)](){const _0x5dde5b=_0x5936e8;return this[_0x5dde5b(0x1fa)][_0x5dde5b(0x4b8)];}get[_0x5936e8(0x2e1)](){return _0x2de297['RENDER_CLASS_TYPE']['SHAPE'];}[_0x5936e8(0x254)](_0x1df14e,_0x1f6dff,_0x4d0814,_0x3246be){const _0x1d8b50=_0x5936e8;let _0x396a9b=this[_0x1d8b50(0x1fa)]['shapeModel'];if(!_0x396a9b||!_0x1f6dff)return;let _0x1c2483=_0x4d0814??this['width'],_0x26273e=_0x3246be??this[_0x1d8b50(0x2c1)],_0x33d93a={'shapeType':_0x396a9b['getShapeType'](),'width':_0x1c2483,'height':_0x26273e},_0x7b7291={'renderMode':_0x14b8aa[_0x1d8b50(0x3dd)][_0x1d8b50(0x257)],'oKey':this[_0x1d8b50(0x3e3)],'image':this[_0x1d8b50(0x1fa)][_0x1d8b50(0x463)],'angle':this[_0x1d8b50(0x245)]};_0x396a9b['updateContext'](_0x33d93a),_0x1df14e[_0x1d8b50(0x4bd)]();let _0x54ea72={'top':0x0,'left':0x0,'width':_0x1c2483,'height':_0x26273e},_0x1db2d6=_0x396a9b[_0x1d8b50(0x3c3)](_0x54ea72);_0x1db2d6?this[_0x1d8b50(0x2d2)](_0x1df14e,_0x1db2d6,_0x482955=>{const _0x37158b=_0x1d8b50;_0x396a9b[_0x37158b(0x26b)](_0x482955,_0x54ea72,_0x7b7291);}):(this[_0x1d8b50(0x1e4)](),_0x396a9b[_0x1d8b50(0x26b)](_0x1df14e,_0x54ea72,_0x7b7291)),_0x1df14e[_0x1d8b50(0x355)]();let _0x5475b3=_0x396a9b[_0x1d8b50(0x278)](),_0x1e1c5d=_0x396a9b[_0x1d8b50(0x34e)](_0x54ea72),_0x58b8af=_0x396a9b['isLineShape']();if(_0x5475b3&&_0x1e1c5d&&!_0x58b8af){_0x1df14e['save'](),this[_0x1d8b50(0x49f)]()[_0x1d8b50(0x425)]&&_0x1df14e[_0x1d8b50(0x34d)](-0x1,0x1);let _0x2f2850=_0x1c2483/0x2,_0x629a41=_0x26273e/0x2;_0x1df14e[_0x1d8b50(0x2ae)](-_0x2f2850,-_0x629a41),_0x1df14e[_0x1d8b50(0x4be)](),this[_0x1d8b50(0x482)](_0x1df14e,_0x5475b3,_0x1e1c5d),_0x1df14e[_0x1d8b50(0x355)]();}}[_0x5936e8(0x32e)](_0x8518bb){}['_drawShapeText'](_0x289b3f,_0x3dd117,_0x49cece){const _0x1b6ad6=_0x5936e8;var _0xb8942e;this[_0x1b6ad6(0x4e7)]=[],this[_0x1b6ad6(0x1fa)]['isEditing']||(!((_0xb8942e=_0x3dd117[_0x1b6ad6(0x4a5)])!=null&&_0xb8942e['doc'])&&_0x1b6ad6(0x3e8)in _0x3dd117&&_0x3dd117[_0x1b6ad6(0x3e8)]===!0x1?this[_0x1b6ad6(0x1cb)](_0x289b3f,_0x3dd117,_0x49cece):this[_0x1b6ad6(0x21b)](_0x289b3f,_0x3dd117,_0x49cece));}[_0x5936e8(0x1cb)](_0xed5f1b,_0x254fe,_0x3d19ad){const _0x11b417=_0x5936e8;this[_0x11b417(0x21b)](_0xed5f1b,{..._0x254fe,'text':_0x254fe[_0x11b417(0x46a)]??'','dataModel':{'doc':(0x0,_0x49227b[_0x11b417(0x466)])(_0x254fe,_0x11b417(0x27e)+this[_0x11b417(0x3e3)])}},_0x3d19ad);}['_drawRichText'](_0x2bf5af,_0x5c0ef7,_0x1d060e){const _0x552198=_0x5936e8;(0x0,_0x49227b[_0x552198(0x323)])(_0x2bf5af,this[_0x552198(0x19e)],(_0x5232d7,_0xef193f,_0x42a655)=>{const _0x17c1e7=_0x552198;this[_0x17c1e7(0x3fa)](_0x5232d7,_0x5c0ef7,_0x1d060e,_0xef193f,_0x42a655===_0x17c1e7(0x249));});}['_drawRichTextLayer'](_0x5c1447,_0x44c6ba,_0x3f1146,_0x39c975,_0x5a5ca5){const _0x92fb99=_0x5936e8;let _0x28c19e=this['_props'][_0x92fb99(0x3b3)];if(!_0x44c6ba['dataModel']||!_0x28c19e){_0x28c19e||console['warn']('[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering');return;}let _0x4ddbe4=(0x0,_0x49227b[_0x92fb99(0x294)])(_0x44c6ba[_0x92fb99(0x4a5)]);if(!_0x4ddbe4)return;let _0x4371e1=_0x4ddbe4[_0x92fb99(0x509)];if(!_0x4371e1)return;let _0x17d88f=(0x0,_0x5e0109['createShapeFormulaDocument'])(_0x4371e1,_0x39c975),_0x131b80=_0x4ddbe4['va']??_0x1f0d53['VerticalAlign']['TOP'],_0x4d5a9f=_0x4ddbe4['ha']??_0x1f0d53[_0x92fb99(0x506)][_0x92fb99(0x50e)],_0x4ecabc=_0x3ed9b3(this[_0x92fb99(0x1fa)]['shapeModel']['getShapeData'](),_0x44c6ba,_0x17d88f),_0x3d76e0=_0x44c6ba[_0x92fb99(0x3e7)],_0x313e5a=(0x0,_0x49227b[_0x92fb99(0x41c)])(_0x17d88f,{'isHorizontal':_0x3d76e0!==!0x1,'textRect':_0x3f1146,'verticalAlign':_0x131b80,'horizontalAlign':_0x4d5a9f,'wrapStrategy':_0x4ecabc[_0x92fb99(0x256)]}),_0x42bf16=new _0x1f0d53[(_0x92fb99(0x335))](_0x313e5a),_0x29176f=new _0x2de297[(_0x92fb99(0x2cb))](_0x42bf16),_0x1ecda0=_0x2de297[_0x92fb99(0x3a9)][_0x92fb99(0x33e)](_0x29176f,_0x28c19e);_0x1ecda0['calculate']();let _0xb9f1d0=_0x1ecda0[_0x92fb99(0x4a7)]()['actualHeight'],_0x52584c=(0x0,_0x49227b[_0x92fb99(0x2e5)])({'contentHeight':_0xb9f1d0,'verticalAlign':_0x131b80,'viewportHeight':_0x3f1146[_0x92fb99(0x2c1)]});_0x42bf16['updateDocumentStyle']({'pageSize':{'width':_0x3d76e0===!0x1?_0x3f1146[_0x92fb99(0x2c1)]:_0x3f1146[_0x92fb99(0x280)],'height':(0x0,_0x49227b['resolveShapeTextDocumentPageHeight'])(_0x17d88f,_0x52584c[_0x92fb99(0x203)])}}),_0x42bf16['updateDocumentDataMargin']({'t':_0x52584c[_0x92fb99(0x358)]}),_0x1ecda0[_0x92fb99(0x37f)]();let _0x564579=new _0x2de297[(_0x92fb99(0x303))](_0x92fb99(0x3a0)+this[_0x92fb99(0x3e3)],_0x1ecda0,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x92fb99(0x446)](!0x0)});_0x564579[_0x92fb99(0x47c)](_0x3f1146[_0x92fb99(0x280)],_0x52584c[_0x92fb99(0x203)]),_0x5c1447[_0x92fb99(0x4bd)](),_0x5c1447[_0x92fb99(0x483)](_0x3f1146['left'],_0x3f1146[_0x92fb99(0x3b4)]),_0x4ecabc['clip']&&(_0x5c1447[_0x92fb99(0x4be)](),_0x5c1447[_0x92fb99(0x2a5)](0x0,_0x52584c[_0x92fb99(0x231)],_0x3f1146['width'],_0x52584c[_0x92fb99(0x1c4)]),_0x5c1447[_0x92fb99(0x238)]()),_0x52584c[_0x92fb99(0x189)]&&_0x5c1447[_0x92fb99(0x483)](0x0,_0x52584c[_0x92fb99(0x189)]),_0x564579[_0x92fb99(0x2bc)](_0x5c1447),_0x5a5ca5&&(this[_0x92fb99(0x4e7)]=(0x0,_0x49227b['createShapeTextHyperLinkRegions'])(_0x564579,{'left':_0x3f1146['left'],'top':_0x3f1146[_0x92fb99(0x3b4)]+_0x52584c['contentVerticalOffset']},_0x4ecabc['clip']?{'left':_0x3f1146[_0x92fb99(0x3ef)],'right':_0x3f1146[_0x92fb99(0x3ef)]+_0x3f1146[_0x92fb99(0x280)],'top':_0x3f1146['top']+_0x52584c['clipTop'],'bottom':_0x3f1146[_0x92fb99(0x3b4)]+_0x52584c[_0x92fb99(0x231)]+_0x52584c[_0x92fb99(0x1c4)]}:void 0x0)),_0x5c1447[_0x92fb99(0x355)](),_0x564579[_0x92fb99(0x342)](),_0x1ecda0[_0x92fb99(0x342)](),_0x29176f['dispose'](),_0x42bf16[_0x92fb99(0x342)]();}['render'](_0x106f8b,_0x2c3ba4,_0x40ad4e=!0x1){const _0x2b5167=_0x5936e8;if(!this['visible'])return this[_0x2b5167(0x446)](!0x1),this;let {width:_0x3cbbc4,height:_0x45eb53,left:_0x5d3205,top:_0x1c88d0}=this,_0x325eb8=this['getRealBound']();if(_0x3cbbc4=_0x325eb8[_0x2b5167(0x280)],_0x45eb53=_0x325eb8[_0x2b5167(0x2c1)],_0x5d3205=_0x325eb8['left'],_0x1c88d0=_0x325eb8[_0x2b5167(0x3b4)],this[_0x2b5167(0x4e9)](_0x2c3ba4)){let {top:_0x50b188,left:_0x51635a,bottom:_0x25d804,right:_0x5ddc4e}=_0x2c3ba4['viewBound'];if(_0x3cbbc4+this[_0x2b5167(0x248)]+_0x5d3205<_0x51635a||_0x5ddc4e<_0x5d3205||_0x45eb53+this[_0x2b5167(0x248)]+_0x1c88d0<_0x50b188||_0x25d804<_0x1c88d0)return this;}let _0x38ef75=_0x5d3205+_0x3cbbc4/0x2,_0x2a6c79=_0x1c88d0+_0x45eb53/0x2,_0x4d31d7=this['transform']['getMatrix']();if(this[_0x2b5167(0x1fa)][_0x2b5167(0x389)]){let _0x28a7f1=this['getState'](),_0x1385f2=new _0x2de297[(_0x2b5167(0x293))]();_0x1385f2[_0x2b5167(0x1c6)]({..._0x28a7f1}),_0x4d31d7=_0x1385f2[_0x2b5167(0x25c)]();}return _0x106f8b[_0x2b5167(0x4bd)](),this[_0x2b5167(0x1fa)][_0x2b5167(0x339)][_0x2b5167(0x3fc)]===!0x0||_0x106f8b[_0x2b5167(0x1c5)](_0x4d31d7[0x0],_0x4d31d7[0x1],_0x4d31d7[0x2],_0x4d31d7[0x3],_0x38ef75,_0x2a6c79),this['_draw'](_0x106f8b,_0x2c3ba4,_0x3cbbc4,_0x45eb53),_0x106f8b[_0x2b5167(0x355)](),this[_0x2b5167(0x446)](!0x1),this;}['getInverseCoord'](_0x32fe91){const _0x10fd20=_0x5936e8;let {left:_0x56bc3c,top:_0x25ec21,width:_0xf1d734,height:_0x1d1a0d}=this[_0x10fd20(0x395)](),_0x47294c=this['transform'][_0x10fd20(0x25c)](),_0x4e897d=_0x56bc3c+_0xf1d734/0x2,_0x4ebfc1=_0x25ec21+_0x1d1a0d/0x2,_0x24a157=new _0x2de297[(_0x10fd20(0x293))]([_0x47294c[0x0],_0x47294c[0x1],_0x47294c[0x2],_0x47294c[0x3],_0x4e897d,_0x4ebfc1]),_0x4edf4d=this[_0x10fd20(0x2f4)]();return(this[_0x10fd20(0x37d)]&&(_0x4edf4d==null?void 0x0:_0x4edf4d[_0x10fd20(0x2e1)])===_0x2de297[_0x10fd20(0x421)][_0x10fd20(0x262)]?_0x4edf4d[_0x10fd20(0x1d3)]['multiply'](_0x24a157):_0x24a157)[_0x10fd20(0x4f9)]()['applyPoint'](_0x32fe91);}[_0x5936e8(0x2a2)](_0x52e63b){const _0x4c9237=_0x5936e8;let {left:_0x4bfc31,top:_0x430a58,width:_0x36662e,height:_0x303b3a}=this[_0x4c9237(0x395)](),_0x844d7a=_0x4bfc31+_0x36662e/0x2,_0x5c6139=_0x430a58+_0x303b3a/0x2,_0x54cc57=this[_0x4c9237(0x1c5)][_0x4c9237(0x25c)](),_0x4a431b=new _0x2de297['Transform']([_0x54cc57[0x0],_0x54cc57[0x1],_0x54cc57[0x2],_0x54cc57[0x3],_0x844d7a,_0x5c6139]),_0xa226db=this['getParent'](),_0x239f6b=(this[_0x4c9237(0x37d)]&&(_0xa226db==null?void 0x0:_0xa226db['classType'])===_0x2de297[_0x4c9237(0x421)][_0x4c9237(0x262)]?_0xa226db[_0x4c9237(0x1d3)][_0x4c9237(0x2af)](_0x4a431b):_0x4a431b)[_0x4c9237(0x4f9)]()[_0x4c9237(0x1d5)](_0x52e63b),_0x10e77c=_0x36662e/0x2,_0x33c2f2=_0x303b3a/0x2,_0x16aa91=this[_0x4c9237(0x1fa)][_0x4c9237(0x339)];return _0x16aa91&&_0x16aa91[_0x4c9237(0x1b6)]()?_0x16aa91[_0x4c9237(0x282)](_0x239f6b['x'],_0x239f6b['y'],_0x36662e,_0x303b3a):_0x239f6b['x']>=-_0x10e77c-this[_0x4c9237(0x248)]/0x2&&_0x239f6b['x']<=_0x10e77c+this[_0x4c9237(0x248)]/0x2&&_0x239f6b['y']>=-_0x33c2f2-this['strokeWidth']/0x2&&_0x239f6b['y']<=_0x33c2f2+this['strokeWidth']/0x2;}[_0x5936e8(0x342)](){const _0x4e7273=_0x5936e8;this[_0x4e7273(0x19e)][_0x4e7273(0x342)](),this['_props'][_0x4e7273(0x339)]=null,super[_0x4e7273(0x342)]();}};let _0x8ad386=class extends _0x1f0d53['Disposable']{constructor(_0x76c630,_0xfa6be5,_0x214b4b,_0x466090){const _0xfdc120=_0x5936e8;super(),this[_0xfdc120(0x2dc)]=_0x76c630,this[_0xfdc120(0x1e2)]=_0xfa6be5,this[_0xfdc120(0x397)]=_0x214b4b,this['_commandService']=_0x466090,_0x3f767d(this,'_activeShapeId',null),_0x3f767d(this,_0xfdc120(0x255),null),_0x3f767d(this,_0xfdc120(0x314),null),_0x3f767d(this,_0xfdc120(0x24e),void 0x0),_0x3f767d(this,_0xfdc120(0x20b),[]),_0x3f767d(this,'_baseShapeLeft',0x0),_0x3f767d(this,'_baseShapeTop',0x0),_0x3f767d(this,_0xfdc120(0x4d3),0x0),_0x3f767d(this,_0xfdc120(0x46d),0x0),_0x3f767d(this,_0xfdc120(0x42d),!0x1),_0x3f767d(this,_0xfdc120(0x295),!0x1),_0x3f767d(this,_0xfdc120(0x401),void 0x0),_0x3f767d(this,_0xfdc120(0x492),void 0x0),_0x3f767d(this,'_adjHandlerPointerMove',void 0x0),_0x3f767d(this,'_adjHandlerPointerUp',void 0x0),this[_0xfdc120(0x356)](),this[_0xfdc120(0x357)]();}[_0x5936e8(0x2ce)](){const _0x397331=_0x5936e8;this[_0x397331(0x26c)]();}['refreshAdjustControls'](){this['_updateShapeAdjustControls'](!0x0);}['_getShapeAdjustPointListById'](_0x4fa865,_0x3688c2,_0xc6ccb7){const _0x53c9a1=_0x5936e8;var _0x53fa5e;return(_0x53fa5e=this[_0x53c9a1(0x397)][_0x53c9a1(0x206)](_0x4fa865,_0x3688c2,_0xc6ccb7))==null?void 0x0:_0x53fa5e[_0x53c9a1(0x32e)]();}[_0x5936e8(0x4fb)](_0x3a1075,_0x345214,_0x160f4a,_0x2c0051){const _0x3345cf=_0x5936e8;var _0xdc2974;return(_0xdc2974=this['_docsShapeService']['getShapeModel'](_0x3a1075,_0x345214,_0x160f4a))==null?void 0x0:_0xdc2974[_0x3345cf(0x204)](_0x2c0051);}[_0x5936e8(0x2c9)](){const _0x590414=_0x5936e8;return this[_0x590414(0x255)]===null||this['_subUnitId']===null||this[_0x590414(0x405)]===null?null:this[_0x590414(0x1e2)][_0x590414(0x44c)]({'unitId':this[_0x590414(0x255)],'subUnitId':this[_0x590414(0x314)],'drawingId':this[_0x590414(0x405)]})??null;}['_getActiveDrawingShape'](_0x5b9a0f){const _0x1cfd6c=_0x5936e8;if(this['_unitId']===null||this[_0x1cfd6c(0x314)]===null||this[_0x1cfd6c(0x405)]===null)return null;let _0x4f6b31=(0x0,_0x1b10bd['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0x1cfd6c(0x255)],'subUnitId':this[_0x1cfd6c(0x314)],'drawingId':this[_0x1cfd6c(0x405)]}),_0x4e50f7=_0x5b9a0f['getObjectIncludeInGroup'](_0x4f6b31);return _0x4e50f7 instanceof _0x22f474?_0x4e50f7:null;}[_0x5936e8(0x3b7)](_0x58e08c=!0x1){const _0x312d8b=_0x5936e8;if(this[_0x312d8b(0x255)]===null||this['_subUnitId']===null||this[_0x312d8b(0x405)]===null)return;let _0x208caf=this[_0x312d8b(0x2c9)]();if((_0x208caf==null?void 0x0:_0x208caf[_0x312d8b(0x486)])!==_0x1f0d53['DrawingTypeEnum'][_0x312d8b(0x39d)]||!_0x208caf[_0x312d8b(0x1c5)])return;let _0x5733a1=this['_docsShapeService'][_0x312d8b(0x206)](this['_unitId'],this[_0x312d8b(0x314)],this[_0x312d8b(0x405)]);if(!_0x5733a1||_0x5733a1[_0x312d8b(0x1b6)]())return;let {left:_0x1ef3b7=0x0,top:_0x48f307=0x0,width:_0x1e8ccc=0x0,height:_0x125967=0x0,flipX:_0x117e60,flipY:_0x2a8dc1,angle:_0x3876f3=0x0}=_0x208caf['transform'];(_0x58e08c||!this[_0x312d8b(0x24e)])&&(_0x5733a1[_0x312d8b(0x264)]({'width':_0x1e8ccc,'height':_0x125967}),this[_0x312d8b(0x24e)]=_0x5733a1[_0x312d8b(0x32e)]());let _0x1ec2b0=this[_0x312d8b(0x24e)];if(!(_0x1ec2b0!=null&&_0x1ec2b0['length']))return;let {scene:_0x48314e}=this['_context'];for(let _0x5c4559 of _0x1ec2b0){let _0x1daa51=this[_0x312d8b(0x3d0)](_0x5c4559,_0x1e8ccc,_0x125967,!!_0x117e60,!!_0x2a8dc1,_0x3876f3);this[_0x312d8b(0x46f)](_0x48314e,_0x1daa51,_0x1daa51[_0x312d8b(0x3cb)],_0x1ef3b7,_0x48f307,this[_0x312d8b(0x255)],this['_subUnitId']);}}[_0x5936e8(0x3d0)](_0x22c005,_0x24883c,_0x3cd598,_0x495b84,_0x3bee90,_0x23fa75){const _0x25d1f1=_0x5936e8;let _0x1c3f5d=_0x22c005['x'],_0x22bf16=_0x22c005['y'];if(_0x495b84&&(_0x1c3f5d=_0x24883c-_0x1c3f5d),_0x3bee90&&(_0x22bf16=_0x3cd598-_0x22bf16),_0x23fa75!==0x0){let _0x237755=_0x24883c/0x2,_0x240083=_0x3cd598/0x2,_0x1e7103=_0x23fa75*Math['PI']/0xb4,_0x1eac48=Math[_0x25d1f1(0x305)](_0x1e7103),_0x177d34=Math['sin'](_0x1e7103),_0x7ed30c=_0x1c3f5d-_0x237755,_0x1a3b8f=_0x22bf16-_0x240083;_0x1c3f5d=_0x237755+(_0x7ed30c*_0x1eac48-_0x1a3b8f*_0x177d34),_0x22bf16=_0x240083+(_0x7ed30c*_0x177d34+_0x1a3b8f*_0x1eac48);}return{'x':_0x1c3f5d,'y':_0x22bf16,'adjName':_0x22c005[_0x25d1f1(0x3cb)]};}[_0x5936e8(0x209)](_0x4baa6f=!0x1){const _0x35268f=_0x5936e8;_0x4baa6f&&this['_clearShapeAdjustControls'](),this[_0x35268f(0x3b7)](_0x4baa6f);}[_0x5936e8(0x46f)](_0x2975be,_0x2cb7cc,_0x4b9619,_0xc93021,_0x488299,_0x5cc232,_0x1fdc04){const _0x3b599b=_0x5936e8;if(!this[_0x3b599b(0x405)])return;let _0x1590c7=_0x3b599b(0x2b2)+this[_0x3b599b(0x405)]+'-'+_0x4b9619,_0x5bbe4b=_0x2975be['getObjectIncludeInGroup'](_0x1590c7);if(_0x5bbe4b){_0x5bbe4b['transformByState']({'left':_0x2cb7cc['x']+_0xc93021-_0x14b8aa['ShapeDefaultConfig'][_0x3b599b(0x50f)],'top':_0x2cb7cc['y']+_0x488299-_0x14b8aa[_0x3b599b(0x45b)]['adjHandleSize']}),_0x5bbe4b[_0x3b599b(0x446)](!0x0);return;}let _0x26d2f8=new _0x1af378(_0x1590c7,{'left':_0x2cb7cc['x']+_0xc93021-_0x14b8aa[_0x3b599b(0x45b)][_0x3b599b(0x50f)],'top':_0x2cb7cc['y']+_0x488299-_0x14b8aa[_0x3b599b(0x45b)][_0x3b599b(0x50f)],'adjName':_0x4b9619,'shapeId':this[_0x3b599b(0x405)],'unitId':_0x5cc232,'subUnitId':_0x1fdc04,'width':_0x14b8aa[_0x3b599b(0x45b)][_0x3b599b(0x50f)]+0x8,'height':_0x14b8aa[_0x3b599b(0x45b)][_0x3b599b(0x50f)]+0x8,'zIndex':_0x2de297['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0});this[_0x3b599b(0x20b)][_0x3b599b(0x2a4)](_0x26d2f8),this[_0x3b599b(0x45c)](_0x26d2f8,_0x2975be,_0x4b9619),_0x2975be[_0x3b599b(0x19f)](_0x26d2f8,_0x2de297[_0x3b599b(0x1d4)]+0x1);}[_0x5936e8(0x26c)](){const _0xf6f8a1=_0x5936e8;this[_0xf6f8a1(0x20b)][_0xf6f8a1(0x2f3)](_0x22e733=>_0x22e733['dispose']()),this[_0xf6f8a1(0x20b)]=[];}['_updateAdjustControlPositions'](){const _0xa56fa8=_0x5936e8;this[_0xa56fa8(0x3b7)]();}[_0x5936e8(0x213)](_0x30df55,_0x31d01a,_0x77cb3d){const _0x3618ae=_0x5936e8;let _0x403f7d=_0x2de297[_0x3618ae(0x424)][_0x3618ae(0x1c8)]([_0x31d01a,_0x77cb3d]),_0x5c2253=_0x30df55[_0x3618ae(0x39e)](_0x403f7d)??_0x30df55[_0x3618ae(0x3a1)]()[0x0];return(_0x5c2253==null?void 0x0:_0x5c2253[_0x3618ae(0x34c)](_0x403f7d))??_0x403f7d;}['_attachAdjustEvent'](_0x3a9ee4,_0x4da946,_0x44d0ab){const _0x125384=_0x5936e8;this[_0x125384(0x487)]((0x0,_0x1f0d53[_0x125384(0x296)])(_0x3a9ee4[_0x125384(0x45d)][_0x125384(0x30f)]((_0x3534f4,_0x253d9f)=>{const _0x3ec972=_0x125384;var _0x132857;let _0x155c23=_0x3a9ee4[_0x3ec972(0x510)]();this[_0x3ec972(0x401)]=this['_getShapeAdjustInfosById'](_0x155c23[_0x3ec972(0x458)],_0x155c23[_0x3ec972(0x384)],_0x155c23[_0x3ec972(0x240)],_0x44d0ab),this[_0x3ec972(0x492)]=this[_0x3ec972(0x397)]['getShapeModel'](_0x155c23['unitId'],_0x155c23[_0x3ec972(0x384)],_0x155c23[_0x3ec972(0x240)]);let _0x57d2b7=this[_0x3ec972(0x2c9)](),_0x49421b=_0x57d2b7==null?void 0x0:_0x57d2b7[_0x3ec972(0x1c5)];if(!_0x57d2b7||!_0x49421b||!this[_0x3ec972(0x492)])return;this[_0x3ec972(0x3b8)]=_0x49421b[_0x3ec972(0x3ef)]||0x0,this[_0x3ec972(0x2e0)]=_0x49421b[_0x3ec972(0x3b4)]||0x0,this[_0x3ec972(0x4d3)]=_0x49421b[_0x3ec972(0x280)]||0x0,this[_0x3ec972(0x46d)]=_0x49421b[_0x3ec972(0x2c1)]||0x0;let _0x3f187c=!!_0x49421b[_0x3ec972(0x425)],_0x5cefdf=!!_0x49421b[_0x3ec972(0x4d9)],_0x2f2abf=_0x49421b['angle']||0x0,_0x4451df={...((_0x132857=this[_0x3ec972(0x401)])==null?void 0x0:_0x132857[_0x3ec972(0x2c8)])??{}};this[_0x3ec972(0x42d)]=!0x0,_0x4da946['disableObjectsEvent'](),this['_adjHandlerPointerMove']=_0x4da946[_0x3ec972(0x3fb)][_0x3ec972(0x30f)]((_0x173a2e,_0x8a76d6)=>{const _0x14a07a=_0x3ec972;var _0x59e3e8;if(!this[_0x14a07a(0x42d)]||!this[_0x14a07a(0x492)]||!this[_0x14a07a(0x401)])return;_0x4da946[_0x14a07a(0x47b)](),_0x4da946[_0x14a07a(0x242)](_0x2de297[_0x14a07a(0x4cd)]['CROSSHAIR']);let _0x1d14a1=this[_0x14a07a(0x213)](_0x4da946,_0x173a2e['offsetX'],_0x173a2e[_0x14a07a(0x250)]),_0x3497c2=_0x1d14a1['x']-this[_0x14a07a(0x3b8)],_0x29ca0a=_0x1d14a1['y']-this[_0x14a07a(0x2e0)];if(_0x2f2abf!==0x0){let _0x3d8ab4=this[_0x14a07a(0x4d3)]/0x2,_0x3dad73=this[_0x14a07a(0x46d)]/0x2,_0x3cceb2=_0x2f2abf*Math['PI']/0xb4,_0x738663=Math['cos'](_0x3cceb2),_0x7a75ee=Math[_0x14a07a(0x4cb)](_0x3cceb2),_0x6c07e8=_0x3497c2-_0x3d8ab4,_0x262dbf=_0x29ca0a-_0x3dad73;_0x3497c2=_0x3d8ab4+(_0x6c07e8*_0x738663+_0x262dbf*_0x7a75ee),_0x29ca0a=_0x3dad73+(-_0x6c07e8*_0x7a75ee+_0x262dbf*_0x738663);}_0x3f187c&&(_0x3497c2=this[_0x14a07a(0x4d3)]-_0x3497c2),_0x5cefdf&&(_0x29ca0a=this[_0x14a07a(0x46d)]-_0x29ca0a);let _0x59fbae={'left':0x0,'top':0x0,'width':this[_0x14a07a(0x4d3)],'height':this['_baseShapeHeight']},_0x306f37=this[_0x14a07a(0x492)][_0x14a07a(0x4b6)](_0x59fbae,{'x':_0x3497c2,'y':_0x29ca0a},this[_0x14a07a(0x401)],_0x3f187c,_0x5cefdf);if(Object['keys'](_0x306f37)[_0x14a07a(0x2b1)]!==0x0){for(let [_0x50d53c,_0x3c8fe7]of Object[_0x14a07a(0x1f2)](_0x306f37))this['_activeShapeModel'][_0x14a07a(0x42a)](_0x50d53c,_0x3c8fe7);this['_activeShapeModel']['updateContext']({'width':this[_0x14a07a(0x4d3)],'height':this[_0x14a07a(0x46d)]}),(_0x59e3e8=this[_0x14a07a(0x369)](_0x4da946))==null||_0x59e3e8[_0x14a07a(0x446)](!0x0),this[_0x14a07a(0x24e)]=this[_0x14a07a(0x2f8)](_0x155c23['unitId'],_0x155c23[_0x14a07a(0x384)],_0x155c23[_0x14a07a(0x240)]),this[_0x14a07a(0x41e)](),_0x8a76d6[_0x14a07a(0x260)]();}}),this['_adjHandlerPointerUp']=_0x4da946['onPointerUp$']['subscribeEvent']((_0x91debc,_0x3d7c91)=>{const _0x265a42=_0x3ec972;var _0x340813,_0x1fba51;(_0x340813=this[_0x265a42(0x2ea)])==null||_0x340813[_0x265a42(0x3b6)](),(_0x1fba51=this[_0x265a42(0x414)])==null||_0x1fba51[_0x265a42(0x3b6)](),_0x4da946[_0x265a42(0x439)]();let _0x45e5d6=this[_0x265a42(0x401)];if(_0x45e5d6&&this[_0x265a42(0x492)]){let _0x2f385f={};for(let _0x543857 of Object[_0x265a42(0x3c5)](_0x45e5d6[_0x265a42(0x2c8)])){let _0x406248=this[_0x265a42(0x492)]['getAdjustValueByName'](_0x543857);_0x406248!==void 0x0&&(_0x2f385f[_0x543857]=_0x406248);}Object[_0x265a42(0x3c5)](_0x2f385f)['length']>0x0&&_0x17f719(this['_commandService'],_0x155c23[_0x265a42(0x458)],_0x155c23['subUnitId'],_0x155c23[_0x265a42(0x240)],{'oldShapeData':{'adjustValues':_0x4451df}},{'adjustValues':_0x2f385f});}this['_activeAdjustInfo']=void 0x0,this[_0x265a42(0x492)]=void 0x0,this[_0x265a42(0x42d)]=!0x1,_0x4da946[_0x265a42(0x18d)](),_0x3d7c91[_0x265a42(0x260)]();}),_0x253d9f[_0x3ec972(0x260)]();})));}[_0x5936e8(0x357)](){const _0x10a61f=_0x5936e8;let {scene:_0xaad470}=this['_context'],_0x5f1e90=_0xaad470[_0x10a61f(0x26e)]();this['disposeWithMe'](_0x5f1e90['changeStart$'][_0x10a61f(0x442)](_0x9ce1d=>{const _0x48c918=_0x10a61f;this['_createShapeAdjustControls'](),_0x9ce1d[_0x48c918(0x24f)]!==null&&_0x9ce1d['objects'][_0x48c918(0x26f)]===0x1&&_0x9ce1d[_0x48c918(0x24f)][_0x48c918(0x21a)]()[_0x48c918(0x420)]()[_0x48c918(0x3ca)]instanceof _0x22f474&&(this[_0x48c918(0x295)]=!0x0);})),this[_0x10a61f(0x487)](_0x5f1e90[_0x10a61f(0x4f7)][_0x10a61f(0x442)](()=>{const _0x35139d=_0x10a61f;this[_0x35139d(0x295)]&&this[_0x35139d(0x26c)]();})),this[_0x10a61f(0x487)](_0xaad470[_0x10a61f(0x1ed)][_0x10a61f(0x30f)](()=>{const _0x3f4eed=_0x10a61f;this[_0x3f4eed(0x295)]&&(this[_0x3f4eed(0x295)]=!0x1,this['_createShapeAdjustControls']());})),this[_0x10a61f(0x487)](_0x5f1e90[_0x10a61f(0x232)][_0x10a61f(0x442)](()=>{const _0x23833f=_0x10a61f;this[_0x23833f(0x255)]&&this['_subUnitId']&&this[_0x23833f(0x405)]&&(this[_0x23833f(0x24e)]=this[_0x23833f(0x2f8)](this[_0x23833f(0x255)],this[_0x23833f(0x314)],this[_0x23833f(0x405)]),this[_0x23833f(0x41e)]());}));}[_0x5936e8(0x356)](){const _0x43c6d1=_0x5936e8;this[_0x43c6d1(0x487)](this[_0x43c6d1(0x500)][_0x43c6d1(0x25a)](_0x484e9b=>{const _0x59dede=_0x43c6d1;if(_0x484e9b['id']!==_0x3a18ad[_0x59dede(0x338)]['id'])return;let {unitId:_0x1f2a21,shapeId:_0x401ea9}=_0x484e9b[_0x59dede(0x41a)];_0x1f2a21===this['_unitId']&&_0x401ea9===this[_0x59dede(0x405)]&&this[_0x59dede(0x4c0)]();})),this[_0x43c6d1(0x487)](this[_0x43c6d1(0x1e2)][_0x43c6d1(0x4b1)][_0x43c6d1(0x442)](_0x2dc98e=>{const _0x2144af=_0x43c6d1;if(_0x2dc98e[_0x2144af(0x2b1)]===0x1){let _0x1cfa2a=_0x2dc98e[0x0],_0x1e86d0=this[_0x2144af(0x1e2)]['getDrawingByParam'](_0x1cfa2a);if((_0x1e86d0==null?void 0x0:_0x1e86d0[_0x2144af(0x486)])===_0x1f0d53[_0x2144af(0x331)][_0x2144af(0x39d)]){this[_0x2144af(0x405)]=_0x1cfa2a[_0x2144af(0x240)],this[_0x2144af(0x255)]=_0x1cfa2a[_0x2144af(0x458)],this[_0x2144af(0x314)]=_0x1cfa2a[_0x2144af(0x384)],this['_activeShapeAdjustPointList']=this[_0x2144af(0x2f8)](_0x1cfa2a[_0x2144af(0x458)],_0x1cfa2a[_0x2144af(0x384)],_0x1cfa2a[_0x2144af(0x240)]),this[_0x2144af(0x26c)](),this['_createShapeAdjustControls']();return;}}this[_0x2144af(0x405)]=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x2144af(0x255)]=null,this[_0x2144af(0x314)]=null,this[_0x2144af(0x26c)]();})),this['disposeWithMe']((0x0,_0x50deea[_0x43c6d1(0x1a1)])(this[_0x43c6d1(0x1e2)][_0x43c6d1(0x3a2)],this[_0x43c6d1(0x1e2)][_0x43c6d1(0x4fa)])['subscribe'](_0x7440ac=>{const _0x2aed9c=_0x43c6d1;var _0x455464;let _0xe8863d=_0x7440ac[_0x2aed9c(0x372)](_0x51d430=>_0x51d430['drawingId']===this['_activeShapeId']&&_0x51d430[_0x2aed9c(0x458)]===this[_0x2aed9c(0x255)]&&_0x51d430[_0x2aed9c(0x384)]===this['_subUnitId']);_0xe8863d&&((_0x455464=this[_0x2aed9c(0x1e2)][_0x2aed9c(0x44c)](_0xe8863d))==null?void 0x0:_0x455464[_0x2aed9c(0x486)])===_0x1f0d53[_0x2aed9c(0x331)][_0x2aed9c(0x39d)]&&this['_updateShapeAdjustControls'](!0x0);})),this['disposeWithMe'](this[_0x43c6d1(0x1e2)]['remove$']['subscribe'](_0x45711d=>{const _0x4aba62=_0x43c6d1;for(let _0x2f5e10 of _0x45711d)this[_0x4aba62(0x405)]===_0x2f5e10['drawingId']&&(this['_activeShapeId']=null,this[_0x4aba62(0x24e)]=void 0x0,this[_0x4aba62(0x255)]=null,this[_0x4aba62(0x314)]=null,this['_clearShapeAdjustControls']());}));}};_0x8ad386=_0x348fea([_0x570e4a(0x1,_0x1b10bd['IDrawingManagerService']),_0x570e4a(0x2,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x3a18ad['DocsShapeService'])),_0x570e4a(0x3,_0x1f0d53[_0x5936e8(0x298)])],_0x8ad386);let _0x3e3971=class extends _0x1f0d53[_0x5936e8(0x1dc)]{constructor(_0x2251bf,_0x244e56){const _0x233d50=_0x5936e8;super(),this[_0x233d50(0x221)]=_0x2251bf,this['_instanceService']=_0x244e56,_0x3f767d(this,_0x233d50(0x35c),new _0x50deea[(_0x233d50(0x48b))](null)),_0x3f767d(this,_0x233d50(0x3af),this[_0x233d50(0x35c)]['asObservable']()),_0x3f767d(this,_0x233d50(0x3a8),new _0x50deea[(_0x233d50(0x48b))](!0x1)),_0x3f767d(this,_0x233d50(0x31e),this[_0x233d50(0x3a8)][_0x233d50(0x374)]()),_0x3f767d(this,_0x233d50(0x4e3),void 0x0),this[_0x233d50(0x487)](this[_0x233d50(0x221)]['permissionPointUpdate$'][_0x233d50(0x442)](()=>{const _0x24d4c4=_0x233d50;let _0x14ef85=this[_0x24d4c4(0x450)]();_0x14ef85!=null&&_0x14ef85['visible']&&!this[_0x24d4c4(0x4a3)](_0x14ef85)&&this['setEditing'](null);}));}[_0x5936e8(0x342)](){const _0xf5b545=_0x5936e8;this[_0xf5b545(0x24d)](),this[_0xf5b545(0x35c)]['next'](null),this['_editingParams$'][_0xf5b545(0x2cf)](),this[_0xf5b545(0x3a8)][_0xf5b545(0x420)](!0x1),this[_0xf5b545(0x3a8)]['complete'](),super['dispose']();}['setEditing'](_0x468902){const _0x566a58=_0x5936e8;(_0x468902==null||!_0x468902[_0x566a58(0x343)]||this[_0x566a58(0x4a3)](_0x468902))&&(this[_0x566a58(0x24d)](),this['_editingParams$']['next'](_0x468902),(_0x468902==null||_0x468902[_0x566a58(0x343)]&&this[_0x566a58(0x3a8)][_0x566a58(0x385)]())&&this[_0x566a58(0x3a8)][_0x566a58(0x420)](!0x1));}['setOnSavingEditorData'](_0x52a7aa){const _0x2ebe01=_0x5936e8;this[_0x2ebe01(0x3a8)][_0x2ebe01(0x420)](_0x52a7aa);}[_0x5936e8(0x450)](){const _0x27e7ee=_0x5936e8;return this[_0x27e7ee(0x35c)]['getValue']();}[_0x5936e8(0x4a3)](_0x55d7be){const _0x1b6022=_0x5936e8;let _0x2dafb9=this[_0x1b6022(0x3f0)]['getUnit'](_0x55d7be[_0x1b6022(0x458)],_0x1f0d53[_0x1b6022(0x2ab)][_0x1b6022(0x471)]);if(!_0x2dafb9)return!0x0;let _0x218d5b=(0x0,_0x1d5dc9[_0x1b6022(0x186)])(_0x2dafb9,_0x55d7be[_0x1b6022(0x4b8)]);return(0x0,_0x1d5dc9[_0x1b6022(0x18b)])(this['_permissionService'],_0x55d7be[_0x1b6022(0x458)],[...(0x0,_0x1d5dc9[_0x1b6022(0x4d7)])(_0x2dafb9,_0x218d5b,_0x1b6022(0x436),_0x55d7be['shapeId']),(0x0,_0x1d5dc9[_0x1b6022(0x351)])(_0x218d5b,_0x1b6022(0x436),_0x55d7be[_0x1b6022(0x4b8)])]);}['completeEditing'](_0x22dbc4){const _0x1344af=_0x5936e8;let _0x4f13ca=this['getEditing']();_0x4f13ca&&this[_0x1344af(0x4e3)]===void 0x0&&(this['setOnSavingEditorData'](!0x0),this[_0x1344af(0x4e3)]=requestAnimationFrame(()=>{const _0x9cca8b=_0x1344af;this['_completionFrame']=void 0x0,this[_0x9cca8b(0x450)]()===_0x4f13ca&&this[_0x9cca8b(0x4ac)](null);}));}[_0x5936e8(0x24d)](){const _0x1c3ce7=_0x5936e8;this[_0x1c3ce7(0x4e3)]!==void 0x0&&(cancelAnimationFrame(this[_0x1c3ce7(0x4e3)]),this[_0x1c3ce7(0x4e3)]=void 0x0);}['cancelEditing'](){const _0x508737=_0x5936e8;this[_0x508737(0x450)]()&&this[_0x508737(0x4ac)](null);}};_0x3e3971=_0x348fea([_0x570e4a(0x0,_0x1f0d53['IPermissionService']),_0x570e4a(0x1,_0x1f0d53[_0x5936e8(0x474)])],_0x3e3971);function _0x335322(_0x17537f){const _0x2c7b07=_0x5936e8;return _0x17537f[_0x2c7b07(0x23b)]===!0x0||_0x17537f['behindText']===_0x1f0d53[_0x2c7b07(0x4c6)]['TRUE']||_0x17537f[_0x2c7b07(0x496)]===_0x1f0d53[_0x2c7b07(0x341)]['WRAP_NONE']&&_0x17537f[_0x2c7b07(0x2d3)]===_0x1f0d53[_0x2c7b07(0x4c6)][_0x2c7b07(0x43d)]?_0x4fb755[_0x2c7b07(0x399)]-0x1:_0x2de297[_0x2c7b07(0x1d4)];}let _0x511fb8=class extends _0x1f0d53[_0x5936e8(0x1dc)]{constructor(_0x2a3e58,_0x5cfbda,_0x2cc24a,_0x77b844,_0x130656,_0x4ba9d4,_0x4dbe5b){const _0x5a41eb=_0x5936e8;super(),this[_0x5a41eb(0x1e2)]=_0x2a3e58,this[_0x5a41eb(0x397)]=_0x5cfbda,this['_localeService']=_0x2cc24a,this[_0x5a41eb(0x419)]=_0x77b844,this[_0x5a41eb(0x31d)]=_0x130656,this[_0x5a41eb(0x304)]=_0x4ba9d4,this[_0x5a41eb(0x416)]=_0x4dbe5b,_0x3f767d(this,_0x5a41eb(0x46b),new Map()),this['disposeWithMe'](this['_shapeFormulaService'][_0x5a41eb(0x423)][_0x5a41eb(0x442)](_0x4c798a=>{const _0x25ab06=_0x5a41eb;var _0xccf29d;(_0xccf29d=this[_0x25ab06(0x46b)]['get'](this['_formulaKey'](_0x4c798a[_0x25ab06(0x458)],_0x4c798a['subUnitId'],_0x4c798a[_0x25ab06(0x4b8)])))==null||_0xccf29d['forEach'](_0x2c7626=>_0x2c7626[_0x25ab06(0x258)](_0x4c798a[_0x25ab06(0x4e2)],_0x4c798a[_0x25ab06(0x196)]));})),this[_0x5a41eb(0x487)](this[_0x5a41eb(0x1e2)][_0x5a41eb(0x301)][_0x5a41eb(0x442)](_0x18ee28=>{const _0xa4d192=_0x5a41eb;_0x18ee28[_0xa4d192(0x2f3)](_0x4af9ad=>{const _0x5139cf=_0xa4d192;this[_0x5139cf(0x416)][_0x5139cf(0x24a)]({'unitId':_0x4af9ad[_0x5139cf(0x458)],'subUnitId':_0x4af9ad['subUnitId'],'shapeId':_0x4af9ad['drawingId']}),this[_0x5139cf(0x46b)][_0x5139cf(0x30a)](this['_formulaKey'](_0x4af9ad[_0x5139cf(0x458)],_0x4af9ad[_0x5139cf(0x384)],_0x4af9ad[_0x5139cf(0x240)]));});}));}[_0x5936e8(0x4b7)](_0x11429d,_0x176508){const _0x3e191c=_0x5936e8;let {transform:_0x32b5bc,drawingType:_0x5946f4,srcRect:_0xbf8847,prstGeom:_0xd47538,groupId:_0x488751,unitId:_0x13fafd,subUnitId:_0x3ce097,drawingId:_0x5251b7,isMultiTransform:_0x422fbf,transforms:_0x36a3ee,hidden:_0x5ca47c,selectable:_0x40bd4e}=_0x11429d;if(_0x5946f4!==_0x1f0d53[_0x3e191c(0x331)]['DRAWING_SHAPE']||!this[_0x3e191c(0x1e2)][_0x3e191c(0x28a)]()||_0x32b5bc==null)return;let _0x18eb71=this[_0x3e191c(0x1e2)]['getDrawingEditable'](),_0x4ecec3=_0x422fbf&&_0x36a3ee?_0x36a3ee:[_0x32b5bc],_0x496656=[];for(let [_0x2449a3,_0x2c5103]of _0x4ecec3['entries']()){let {left:_0x296f23,top:_0x229227,width:_0x7e94e0,height:_0x7406a2,angle:_0x2cb02d,flipX:_0xb2e2fa,flipY:_0xda81fa,skewX:_0x4bb2d6,skewY:_0xef7a74}=_0x2c5103,_0x107220=(0x0,_0x1b10bd['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x13fafd,'subUnitId':_0x3ce097,'drawingId':_0x5251b7},_0x422fbf?_0x2449a3:void 0x0),_0x353e6a=_0x176508[_0x3e191c(0x410)](_0x107220);if(_0x353e6a!=null){let _0x29437f={'unitId':_0x13fafd,'subUnitId':_0x3ce097,'shapeId':_0x5251b7};_0x353e6a instanceof _0x22f474&&this[_0x3e191c(0x29e)](_0x353e6a,_0x29437f),_0x353e6a['transformByState']({'left':_0x296f23,'top':_0x229227,'width':_0x7e94e0,'height':_0x7406a2,'angle':_0x2cb02d,'flipX':_0xb2e2fa,'flipY':_0xda81fa,'skewX':_0x4bb2d6,'skewY':_0xef7a74});continue;}let _0x13ef8a=this[_0x3e191c(0x1e2)][_0x3e191c(0x1d7)](_0x13fafd,_0x3ce097),_0x37b222=_0x13ef8a[_0x3e191c(0x1bd)](_0x5251b7);if(_0x176508[_0x3e191c(0x410)](_0x107220)||!this[_0x3e191c(0x1e2)]['getDrawingVisible']())continue;let _0x1bbd63=this[_0x3e191c(0x397)][_0x3e191c(0x206)](_0x13fafd,_0x3ce097,_0x5251b7);if(!_0x1bbd63)continue;let _0x44c15b=(0x0,_0x14b8aa[_0x3e191c(0x214)])(_0x1bbd63[_0x3e191c(0x2de)]())?{..._0x49227b[_0x3e191c(0x412)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x49227b[_0x3e191c(0x412)],_0x52c9ec=_0x1bbd63[_0x3e191c(0x4fc)]()['formulaBinding'],_0x29e7ed={'unitId':_0x13fafd,'subUnitId':_0x3ce097,'shapeId':_0x5251b7};_0x52c9ec&&this[_0x3e191c(0x416)][_0x3e191c(0x373)](_0x29e7ed,_0x52c9ec);let _0x4a0158=new _0x22f474(_0x107220,{..._0x2c5103,'zIndex':_0x37b222===-0x1?_0x13ef8a[_0x3e191c(0x2b1)]-0x1:_0x37b222,'shapeModel':_0x1bbd63,'localeService':this[_0x3e191c(0x3a3)],'shapeId':_0x5251b7,'unitId':_0x13fafd,'subUnitId':_0x3ce097,'visible':_0x5ca47c!==!0x0,'evented':_0x40bd4e!==!0x1,'formulaPresentation':_0x52c9ec?this['_shapeFormulaService'][_0x3e191c(0x192)](_0x29e7ed):void 0x0,'animateFormulaPresentation':(_0x52c9ec==null?void 0x0:_0x52c9ec[_0x3e191c(0x196)])!==!0x1,'transformerConfig':_0x44c15b});if(_0x52c9ec){let _0xdaea6f=this[_0x3e191c(0x4d0)](_0x13fafd,_0x3ce097,_0x5251b7),_0x4be860=this[_0x3e191c(0x46b)]['get'](_0xdaea6f)??new Set();_0x4be860[_0x3e191c(0x4c8)](_0x4a0158),this[_0x3e191c(0x46b)][_0x3e191c(0x4fe)](_0xdaea6f,_0x4be860);}this['disposeWithMe']((0x0,_0x1f0d53[_0x3e191c(0x296)])(_0x4a0158[_0x3e191c(0x4e6)][_0x3e191c(0x30f)]((_0x48e212,_0x4dbcbb)=>{const _0x1ce62f=_0x3e191c;_0x1bbd63[_0x1ce62f(0x1b6)]()||_0x52c9ec||(this[_0x1ce62f(0x304)][_0x1ce62f(0x4ac)]({'visible':!0x0,'unitId':_0x13fafd,'subUnitId':_0x3ce097,'shapeId':_0x5251b7,'shapeKey':_0x4a0158[_0x1ce62f(0x3e3)]}),_0x4dbcbb[_0x1ce62f(0x260)]());}))),_0x176508[_0x3e191c(0x19f)](_0x4a0158,_0x335322(_0x11429d)),_0x18eb71&&_0x176508[_0x3e191c(0x4f0)](_0x4a0158),_0x488751&&(0x0,_0x1b3d5c['insertGroupObject'])({'drawingId':_0x488751,'unitId':_0x13fafd,'subUnitId':_0x3ce097},_0x4a0158,_0x176508,this['_drawingManagerService'],_0x422fbf?_0x2449a3:void 0x0),_0xd47538!=null&&_0x4a0158['setPrstGeom'](_0xd47538),_0xbf8847!=null&&_0x4a0158['setSrcRect'](_0xbf8847),this[_0x3e191c(0x37b)](_0x4a0158,_0x1bbd63[_0x3e191c(0x4fc)]()),_0x496656[_0x3e191c(0x2a4)](_0x4a0158);}return _0x496656;}[_0x5936e8(0x4d0)](_0x56af82,_0x43b889,_0x31393a){return _0x56af82+'\x00'+_0x43b889+'\x00'+_0x31393a;}[_0x5936e8(0x29e)](_0x36f0ed,_0x543432){const _0x2fc4f9=_0x5936e8;let _0x49e920=this[_0x2fc4f9(0x397)]['getShapeModel'](_0x543432[_0x2fc4f9(0x458)],_0x543432[_0x2fc4f9(0x384)],_0x543432[_0x2fc4f9(0x4b8)]),_0x29b538=_0x49e920==null?void 0x0:_0x49e920['getShapeData']()[_0x2fc4f9(0x1e0)],_0x233b74=this[_0x2fc4f9(0x4d0)](_0x543432[_0x2fc4f9(0x458)],_0x543432['subUnitId'],_0x543432[_0x2fc4f9(0x4b8)]);if(_0x29b538){this[_0x2fc4f9(0x416)]['register'](_0x543432,_0x29b538);let _0xf32c67=this[_0x2fc4f9(0x46b)][_0x2fc4f9(0x22c)](_0x233b74)??new Set();_0xf32c67[_0x2fc4f9(0x4c8)](_0x36f0ed),this['_formulaShapes'][_0x2fc4f9(0x4fe)](_0x233b74,_0xf32c67);}else{var _0xbf2126;this[_0x2fc4f9(0x416)][_0x2fc4f9(0x24a)](_0x543432),(_0xbf2126=this[_0x2fc4f9(0x46b)]['get'](_0x233b74))==null||_0xbf2126['delete'](_0x36f0ed);}_0x36f0ed['setFormulaPresentation'](_0x29b538?this[_0x2fc4f9(0x416)][_0x2fc4f9(0x192)](_0x543432):void 0x0,(_0x29b538==null?void 0x0:_0x29b538['animationEnabled'])!==!0x1);}[_0x5936e8(0x2eb)](_0x241cbc){const _0x586838=_0x5936e8;let _0x250c30=_0x241cbc[_0x586838(0x339)][_0x586838(0x4fc)](),_0x1dfdab=_0x250c30[_0x586838(0x237)];!_0x1dfdab||_0x1dfdab[_0x586838(0x44f)]!==_0x14b8aa[_0x586838(0x2ee)][_0x586838(0x473)]||!_0x1dfdab[_0x586838(0x3ed)]?_0x241cbc[_0x586838(0x1e3)](void 0x0):this[_0x586838(0x37b)](_0x241cbc,_0x250c30);}[_0x5936e8(0x37b)](_0x4250ba,_0x77cab6){const _0x5008f1=_0x5936e8;let _0x2998f9=_0x77cab6[_0x5008f1(0x237)];if(!_0x2998f9||_0x2998f9[_0x5008f1(0x44f)]!==_0x14b8aa['ShapeFillEnum'][_0x5008f1(0x473)]||!_0x2998f9[_0x5008f1(0x3ed)])return;let _0x5d267f=_0x2998f9['fillImageSource'],_0x137a9b=_0x2998f9[_0x5008f1(0x1e8)]??_0x14b8aa[_0x5008f1(0x38d)][_0x5008f1(0x3b0)],_0x2e1b2e=this[_0x5008f1(0x419)][_0x5008f1(0x3ac)](_0x5d267f,_0x137a9b);_0x2e1b2e?_0x4250ba[_0x5008f1(0x1e3)](_0x2e1b2e):this[_0x5008f1(0x35f)](_0x4250ba,_0x5d267f,_0x137a9b);}async['_loadAndSetImage'](_0x38b743,_0x37f219,_0x5284d2){const _0x2b275d=_0x5936e8;let _0x313060;try{if(_0x5284d2===_0x14b8aa[_0x2b275d(0x38d)][_0x2b275d(0x438)])_0x313060=await this[_0x2b275d(0x419)][_0x2b275d(0x18a)](_0x37f219);else{if(_0x5284d2===_0x14b8aa[_0x2b275d(0x38d)][_0x2b275d(0x3b0)])try{_0x313060=await this[_0x2b275d(0x31d)][_0x2b275d(0x18a)](_0x37f219);}catch{_0x313060=_0x37f219;}else _0x313060=_0x37f219;}}catch(_0x212ef0){console[_0x2b275d(0x2ac)]('[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source',_0x212ef0);return;}let _0x101f9d=new window['Image']();_0x101f9d['onload']=()=>{const _0x40dc74=_0x2b275d;this[_0x40dc74(0x419)][_0x40dc74(0x236)](_0x37f219,_0x5284d2,_0x101f9d),_0x38b743[_0x40dc74(0x1e3)](_0x101f9d);},_0x101f9d[_0x2b275d(0x4af)]=()=>{const _0x4d333e=_0x2b275d;console[_0x4d333e(0x2ac)](_0x4d333e(0x4ee),_0x37f219);},_0x101f9d[_0x2b275d(0x2a7)]=_0x313060;}};_0x511fb8=_0x348fea([_0x570e4a(0x0,_0x1b10bd[_0x5936e8(0x224)]),_0x570e4a(0x1,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x3a18ad[_0x5936e8(0x39c)])),_0x570e4a(0x2,(0x0,_0x1f0d53['Inject'])(_0x1f0d53[_0x5936e8(0x3f4)])),_0x570e4a(0x3,_0x1f0d53[_0x5936e8(0x199)]),_0x570e4a(0x4,_0x1f0d53[_0x5936e8(0x400)]),_0x570e4a(0x5,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x3e3971)),_0x570e4a(0x6,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x5e0109['ShapeFormulaService']))],_0x511fb8);let _0x1e8cf3=class extends _0x1f0d53['Disposable']{constructor(_0x50e85b,_0x5a6c60,_0x42fdbb){const _0x1bfaa9=_0x5936e8;super(),this[_0x1bfaa9(0x3be)]=_0x50e85b,this[_0x1bfaa9(0x1e2)]=_0x5a6c60,this[_0x1bfaa9(0x360)]=_0x42fdbb,this[_0x1bfaa9(0x411)]();}['_initPrinting'](){const _0x3dcd23=_0x5936e8;this['disposeWithMe'](this[_0x3dcd23(0x3be)][_0x3dcd23(0x211)][_0x3dcd23(0x3e6)](this[_0x3dcd23(0x3be)]['interceptor'][_0x3dcd23(0x252)]()[_0x3dcd23(0x349)],{'handler':(_0x5118f2,_0x453011,_0x5db03a)=>{const _0x59010c=_0x3dcd23;var _0x2fb155;let {unitId:_0x120ec2,scene:_0x21cf2a,skeleton:_0x112bfd}=_0x453011,{pageIndex:_0x43a3a7}=_0x453011,_0x2538aa=(_0x2fb155=this['_drawingManagerService']['getDrawingDataForUnit'](_0x120ec2))==null?void 0x0:_0x2fb155[_0x120ec2],_0xed5b57=_0x57eca1(this['_docPrintInterceptorService'],_0x112bfd,_0x43a3a7);return _0x2538aa==null||_0x2538aa[_0x59010c(0x4c2)]['forEach'](_0x3f5afa=>{const _0x1bc28c=_0x59010c;if(_0xed5b57&&!_0xed5b57['has'](_0x3f5afa))return;let _0x51a463=_0x2538aa['data'][_0x3f5afa];_0x51a463[_0x1bc28c(0x486)]===_0x1f0d53[_0x1bc28c(0x331)][_0x1bc28c(0x39d)]&&!_0x51a463['hidden']&&this[_0x1bc28c(0x360)][_0x1bc28c(0x4b7)](_0x51a463,_0x21cf2a);}),_0x5db03a(_0x5118f2);}}));}};_0x1e8cf3=_0x348fea([_0x570e4a(0x0,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x4fb755['DocPrintInterceptorService'])),_0x570e4a(0x1,_0x1b10bd[_0x5936e8(0x224)]),_0x570e4a(0x2,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x511fb8))],_0x1e8cf3);function _0x57eca1(_0x3e9bc2,_0x1cf8d4,_0x129d79){const _0x2651fc=_0x5936e8;var _0x495513,_0x5224d9;let _0x15dece=_0x3e9bc2;if(_0x15dece['getPageDrawingIds'])return _0x15dece[_0x2651fc(0x36f)](_0x1cf8d4,_0x129d79);let _0x3b8751=_0x1cf8d4['getSkeletonData']();if(!_0x3b8751||_0x3b8751[_0x2651fc(0x485)][_0x2651fc(0x2b1)]<=0x1||_0x129d79==null)return null;let _0x335c14=new Set(),_0x159121=_0x3b8751[_0x2651fc(0x485)][_0x129d79];if(!_0x159121)return _0x335c14;_0x4c0810(_0x159121,_0x335c14);let _0x4c7e40=(_0x495513=_0x3b8751[_0x2651fc(0x1f0)]['get'](_0x159121[_0x2651fc(0x3fe)]))==null?void 0x0:_0x495513['get'](_0x159121[_0x2651fc(0x1fe)]??_0x159121[_0x2651fc(0x4d4)]),_0xac6a43=(_0x5224d9=_0x3b8751[_0x2651fc(0x3b1)][_0x2651fc(0x22c)](_0x159121[_0x2651fc(0x41b)]))==null?void 0x0:_0x5224d9[_0x2651fc(0x22c)](_0x159121[_0x2651fc(0x20d)]??_0x159121[_0x2651fc(0x4d4)]);return _0x4c7e40&&_0x4c0810(_0x4c7e40,_0x335c14),_0xac6a43&&_0x4c0810(_0xac6a43,_0x335c14),_0x335c14;}function _0x4c0810(_0xf89ba8,_0x4225ef){const _0x133239=_0x5936e8;for(let _0x9dba10 of _0xf89ba8[_0x133239(0x334)][_0x133239(0x3c5)]())_0x4225ef[_0x133239(0x4c8)](_0x9dba10);for(let _0xb8a414 of _0xf89ba8[_0x133239(0x43a)]['values']())for(let _0x48be03 of _0xb8a414[_0x133239(0x1bb)])for(let _0x1dd557 of _0x48be03[_0x133239(0x39a)])_0x4c0810(_0x1dd557,_0x4225ef);}function _0x3ed5cb({ref:_0x4a0dfe,..._0x249701}){const _0x4b7add=_0x5936e8;let {preserveStrokeWidth:_0x2912a8,icon:_0x38faf8,id:_0x5e6ff7,className:_0x5e1a60,extend:_0x579c23,..._0x4e01ca}=_0x249701,_0x2cc601=(_0x4b7add(0x253)+_0x5e6ff7+'\x20'+(_0x5e1a60||''))[_0x4b7add(0x2e7)](),_0x1305e0='_'+(0x0,_0x474eb8[_0x4b7add(0x4f6)])(),_0x3e03fc=(0x0,_0x474eb8[_0x4b7add(0x422)])(null);return(0x0,_0x474eb8[_0x4b7add(0x2aa)])(_0x4a0dfe,()=>_0x3e03fc[_0x4b7add(0x249)]),(0x0,_0x474eb8[_0x4b7add(0x182)])(()=>{const _0x287146=_0x4b7add;if(_0x2912a8&&_0x3e03fc[_0x287146(0x249)]&&_0x3e03fc[_0x287146(0x249)][_0x287146(0x2d1)]===_0x38faf8[_0x287146(0x2df)])return _0x377c74(_0x3e03fc['current']);},[_0x2912a8,_0x38faf8]),_0x923c00(_0x38faf8,''+_0x5e6ff7,{'defIds':_0x38faf8[_0x4b7add(0x215)],'idSuffix':_0x1305e0},{'ref':_0x3e03fc,'className':_0x2cc601,..._0x4e01ca},_0x579c23);}function _0x923c00(_0x5751c4,_0x2b512b,_0x3ef8e3,_0x5c5831,_0x13cc24){const _0x55576a=_0x5936e8;return(0x0,_0x474eb8['createElement'])(_0x5751c4[_0x55576a(0x2df)],{'key':_0x2b512b,..._0x3af2ca(_0x5751c4,_0x3ef8e3,_0x13cc24),..._0x5c5831},(_0x4b98a7(_0x5751c4,_0x3ef8e3)[_0x55576a(0x371)]||[])[_0x55576a(0x2e6)]((_0x5f3a59,_0x24ed8e)=>_0x923c00(_0x5f3a59,_0x2b512b+'-'+_0x5751c4[_0x55576a(0x2df)]+'-'+_0x24ed8e,_0x3ef8e3,void 0x0,_0x13cc24)));}function _0x3af2ca(_0x5f52db,_0x388e65,_0x4e220e){const _0x2b6245=_0x5936e8;let _0x54a04e={..._0x5f52db['attrs']};_0x4e220e!=null&&_0x4e220e[_0x2b6245(0x259)]&&_0x54a04e['fill']===_0x2b6245(0x259)&&(_0x54a04e[_0x2b6245(0x237)]=_0x4e220e['colorChannel1']),_0x4e220e!=null&&_0x4e220e[_0x2b6245(0x259)]&&_0x54a04e['stroke']===_0x2b6245(0x259)&&(_0x54a04e[_0x2b6245(0x1f1)]=_0x4e220e[_0x2b6245(0x259)]),_0x5f52db[_0x2b6245(0x2df)]===_0x2b6245(0x2d6)&&_0x54a04e['id']&&(_0x54a04e['id']+=_0x388e65[_0x2b6245(0x1b5)]),Object[_0x2b6245(0x1f2)](_0x54a04e)['forEach'](([_0x127b95,_0x10ec1b])=>{const _0x2e93c0=_0x2b6245;_0x127b95===_0x2e93c0(0x2d6)&&typeof _0x10ec1b==_0x2e93c0(0x3ab)&&(_0x54a04e[_0x127b95]=_0x10ec1b['replace'](/url\(#(.*)\)/,'url(#$1'+_0x388e65[_0x2e93c0(0x1b5)]+')'));});let {defIds:_0x4b2af8}=_0x388e65;return!_0x4b2af8||_0x4b2af8['length']===0x0||(_0x5f52db[_0x2b6245(0x2df)]==='use'&&_0x54a04e['xlink:href']&&(_0x54a04e['xlink:href']+=_0x388e65['idSuffix']),Object[_0x2b6245(0x1f2)](_0x54a04e)[_0x2b6245(0x2f3)](([_0x1fd8a0,_0x32029a])=>{const _0x29d9c4=_0x2b6245;typeof _0x32029a==_0x29d9c4(0x3ab)&&(_0x54a04e[_0x1fd8a0]=_0x32029a[_0x29d9c4(0x49e)](/url\(#(.*)\)/,_0x29d9c4(0x310)+_0x388e65[_0x29d9c4(0x1b5)]+')'));})),_0x54a04e;}function _0x4b98a7(_0x511bf3,_0x159703){const _0x478c76=_0x5936e8;var _0x35dfbb;let {defIds:_0x364d5b}=_0x159703;return!_0x364d5b||_0x364d5b[_0x478c76(0x2b1)]===0x0?_0x511bf3:_0x511bf3[_0x478c76(0x2df)]==='defs'&&(_0x35dfbb=_0x511bf3[_0x478c76(0x371)])!=null&&_0x35dfbb['length']?{..._0x511bf3,'children':_0x511bf3['children'][_0x478c76(0x2e6)](_0x3d172d=>typeof _0x3d172d[_0x478c76(0x484)]['id']==_0x478c76(0x3ab)&&_0x364d5b&&_0x364d5b[_0x478c76(0x2c2)](_0x3d172d[_0x478c76(0x484)]['id'])?{..._0x3d172d,'attrs':{..._0x3d172d[_0x478c76(0x484)],'id':_0x3d172d[_0x478c76(0x484)]['id']+_0x159703[_0x478c76(0x1b5)]}}:_0x3d172d)}:_0x511bf3;}function _0x377c74(_0x400376){const _0x2fc246=_0x5936e8;let _0x5efa1f=_0x400376['viewBox']['baseVal'],_0x2cdd0b=Math[_0x2fc246(0x1ac)](_0x5efa1f[_0x2fc246(0x280)],_0x5efa1f['height']);if(!Number[_0x2fc246(0x1be)](_0x2cdd0b)||_0x2cdd0b<=0x0||_0x5efa1f['width']<=0x0||_0x5efa1f[_0x2fc246(0x2c1)]<=0x0)return()=>void 0x0;let _0x3dea85=0x10/_0x2cdd0b,_0x9b0a25=Array['from'](_0x400376['querySelectorAll']('circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use'))[_0x2fc246(0x4e4)](_0x24cb2c=>{const _0x217d32=_0x2fc246;let _0x339ef8=getComputedStyle(_0x24cb2c),_0x944093=Number[_0x217d32(0x18f)](_0x339ef8[_0x217d32(0x248)]);return _0x339ef8[_0x217d32(0x1f1)]===_0x217d32(0x505)||Number[_0x217d32(0x18f)](_0x339ef8[_0x217d32(0x4d1)])===0x0||_0x339ef8[_0x217d32(0x35a)]===_0x217d32(0x3cf)||!Number[_0x217d32(0x1be)](_0x944093)||_0x944093<=0x0?[]:[{'element':_0x24cb2c,'hadStyleAttribute':_0x24cb2c[_0x217d32(0x319)](_0x217d32(0x1a7)),'originalStrokeWidth':_0x944093,'strokeWidth':_0x44a0df(_0x24cb2c[_0x217d32(0x1a7)],'stroke-width')}];})[_0x2fc246(0x2e6)](_0x2c996f=>({'appliedStrokeWidth':null,'element':_0x2c996f[_0x2fc246(0x3a6)],'hadStyleAttribute':_0x2c996f[_0x2fc246(0x23f)],'isReleased':!0x1,'originalStrokeWidth':_0x2c996f[_0x2fc246(0x429)],'strokeWidth':_0x2c996f[_0x2fc246(0x248)]}));if(_0x9b0a25[_0x2fc246(0x2b1)]===0x0)return()=>void 0x0;let _0x519da2=(_0x4aba32,_0x287035)=>{const _0x225f1d=_0x2fc246;if(_0x5efa1f[_0x225f1d(0x280)]<=0x0||_0x5efa1f[_0x225f1d(0x2c1)]<=0x0||_0x4aba32<=0x0||_0x287035<=0x0)return;let _0x564160=Math['min'](_0x4aba32/_0x5efa1f['width'],_0x287035/_0x5efa1f[_0x225f1d(0x2c1)]);!Number[_0x225f1d(0x1be)](_0x564160)||_0x564160<=0x0||_0x9b0a25['forEach'](_0x1d641b=>{const _0x2d7092=_0x225f1d;if(_0x1d641b[_0x2d7092(0x2f6)])return;if(_0x1d641b['appliedStrokeWidth']!==null&&(_0x1d641b['element'][_0x2d7092(0x1a7)][_0x2d7092(0x46e)](_0x2d7092(0x453))!==_0x1d641b[_0x2d7092(0x32a)]||_0x1d641b[_0x2d7092(0x3a6)][_0x2d7092(0x1a7)][_0x2d7092(0x428)](_0x2d7092(0x453))!==_0x1d641b['strokeWidth']['priority'])){_0x1d641b['appliedStrokeWidth']=null,_0x1d641b['isReleased']=!0x0;return;}let _0x58ea55=_0x1d641b[_0x2d7092(0x429)]*_0x3dea85/_0x564160,_0x5edd25=Number(_0x58ea55[_0x2d7092(0x4f4)](0xc))+'px';_0x1d641b[_0x2d7092(0x3a6)][_0x2d7092(0x1a7)][_0x2d7092(0x441)](_0x2d7092(0x453),_0x5edd25,_0x1d641b[_0x2d7092(0x248)][_0x2d7092(0x488)]),_0x1d641b[_0x2d7092(0x32a)]=_0x5edd25;});},_0x18ccea=_0x400376['getBoundingClientRect']();_0x519da2(_0x18ccea[_0x2fc246(0x280)],_0x18ccea[_0x2fc246(0x2c1)]);let _0x45ac75=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x228503=>{const _0x1b917d=_0x2fc246;if(_0x228503[_0x1b917d(0x318)](_0x3dbd93=>_0x3dbd93['target']===_0x400376)){let _0x4150e6=_0x400376['getBoundingClientRect']();_0x519da2(_0x4150e6['width'],_0x4150e6[_0x1b917d(0x2c1)]);}});return _0x45ac75==null||_0x45ac75['observe'](_0x400376),()=>{const _0x2decc5=_0x2fc246;_0x45ac75==null||_0x45ac75[_0x2decc5(0x35b)](),_0x9b0a25[_0x2decc5(0x2f3)](_0x5635e5=>{const _0x520587=_0x2decc5;_0x5635e5[_0x520587(0x32a)]!==null&&(_0x5ee9a0(_0x5635e5[_0x520587(0x3a6)][_0x520587(0x1a7)],_0x520587(0x453),_0x5635e5[_0x520587(0x32a)],_0x5635e5[_0x520587(0x248)]['priority'],_0x5635e5[_0x520587(0x248)]),!_0x5635e5['hadStyleAttribute']&&_0x5635e5['element'][_0x520587(0x1a7)]['length']===0x0&&_0x5635e5[_0x520587(0x3a6)][_0x520587(0x297)](_0x520587(0x1a7)));});};}function _0x44a0df(_0x526f03,_0x42ea0f){const _0x12358e=_0x5936e8;return{'priority':_0x526f03[_0x12358e(0x428)](_0x42ea0f),'value':_0x526f03[_0x12358e(0x46e)](_0x42ea0f)};}function _0x5ee9a0(_0x3bb5fd,_0x5f263d,_0x4dc318,_0x4782e5,_0x57c8bf){const _0x45eee3=_0x5936e8;_0x3bb5fd[_0x45eee3(0x46e)](_0x5f263d)===_0x4dc318&&_0x3bb5fd[_0x45eee3(0x428)](_0x5f263d)===_0x4782e5&&(_0x57c8bf[_0x45eee3(0x3ca)]?_0x3bb5fd[_0x45eee3(0x441)](_0x5f263d,_0x57c8bf['value'],_0x57c8bf[_0x45eee3(0x488)]):_0x3bb5fd[_0x45eee3(0x1b7)](_0x5f263d));}_0x3ed5cb[_0x5936e8(0x490)]=_0x5936e8(0x3c2);let _0x231f83={'tag':_0x5936e8(0x2d4),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5936e8(0x505),'viewBox':'0\x200\x2017\x2016','width':'1em','height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x5936e8(0x4ae),'d':_0x5936e8(0x219),'fillRule':'evenodd','clipRule':_0x5936e8(0x42f)}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x5936e8(0x31f),'fillRule':_0x5936e8(0x42f),'clipRule':'evenodd'}},{'tag':_0x5936e8(0x47a),'attrs':{'fill':_0x5936e8(0x4ae),'d':_0x5936e8(0x368)}},{'tag':'path','attrs':{'fill':_0x5936e8(0x4ae),'d':_0x5936e8(0x404)}}]},_0x258f24=(0x0,_0x474eb8[_0x5936e8(0x46c)])(function(_0x182e46,_0x2196b4){const _0x3e53bb=_0x5936e8;return(0x0,_0x474eb8[_0x3e53bb(0x1bf)])(_0x3ed5cb,Object[_0x3e53bb(0x308)]({},_0x182e46,{'id':'bottom-icon','ref':_0x2196b4,'icon':_0x231f83}));});_0x258f24[_0x5936e8(0x490)]='BottomIcon';let _0x63bb00={'tag':_0x5936e8(0x2d4),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5936e8(0x505),'viewBox':_0x5936e8(0x344),'width':_0x5936e8(0x29c),'height':'1em'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x5936e8(0x22a),'strokeLinecap':_0x5936e8(0x3ce),'strokeLinejoin':'round','strokeWidth':1.2}}]},_0x2db895=(0x0,_0x474eb8[_0x5936e8(0x46c)])(function(_0x4c0d0a,_0x57af28){const _0x2c22a8=_0x5936e8;return(0x0,_0x474eb8['createElement'])(_0x3ed5cb,Object[_0x2c22a8(0x308)]({},_0x4c0d0a,{'id':_0x2c22a8(0x366),'ref':_0x57af28,'icon':_0x63bb00}));});_0x2db895[_0x5936e8(0x490)]=_0x5936e8(0x4b4);let _0x578a24={'tag':_0x5936e8(0x2d4),'attrs':{'xmlns':_0x5936e8(0x378),'fill':_0x5936e8(0x505),'viewBox':_0x5936e8(0x344),'width':_0x5936e8(0x29c),'height':_0x5936e8(0x29c)},'children':[{'tag':_0x5936e8(0x47a),'attrs':{'stroke':'currentColor','d':_0x5936e8(0x229),'strokeLinecap':_0x5936e8(0x3ce),'strokeLinejoin':_0x5936e8(0x3ce),'strokeWidth':1.2}}]},_0x56d6ed=(0x0,_0x474eb8[_0x5936e8(0x46c)])(function(_0x37b610,_0x8fc515){const _0x150109=_0x5936e8;return(0x0,_0x474eb8[_0x150109(0x1bf)])(_0x3ed5cb,Object[_0x150109(0x308)]({},_0x37b610,{'id':_0x150109(0x3c4),'ref':_0x8fc515,'icon':_0x578a24}));});_0x56d6ed[_0x5936e8(0x490)]='MoreUpIcon';let _0x1a5df9={'tag':_0x5936e8(0x2d4),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5936e8(0x505),'viewBox':_0x5936e8(0x344),'width':_0x5936e8(0x29c),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x5936e8(0x4ae),'d':'M1.25\x202.96401C1.25\x203.84767\x201.96634\x204.56401\x202.85\x204.56401H13.15C14.0337\x204.56401\x2014.75\x203.84767\x2014.75\x202.96401C14.75\x202.08036\x2014.0337\x201.36401\x2013.15\x201.36401H2.85C1.96635\x201.36401\x201.25\x202.08036\x201.25\x202.96401ZM2.85\x203.36401C2.62909\x203.36401\x202.45\x203.18493\x202.45\x202.96401C2.45\x202.7431\x202.62909\x202.56401\x202.85\x202.56401H13.15C13.3709\x202.56401\x2013.55\x202.7431\x2013.55\x202.96401C13.55\x203.18493\x2013.3709\x203.36401\x2013.15\x203.36401H2.85Z','fillRule':_0x5936e8(0x42f),'clipRule':_0x5936e8(0x42f)}},{'tag':_0x5936e8(0x47a),'attrs':{'fill':_0x5936e8(0x4ae),'d':'M5.57564\x2011.6118C5.80995\x2011.3774\x206.18985\x2011.3774\x206.42417\x2011.6118L7.3999\x2012.5875V6.36951C7.3999\x206.03814\x207.66853\x205.76951\x207.9999\x205.76951C8.33127\x205.76951\x208.5999\x206.03814\x208.5999\x206.36951V12.5875L9.57564\x2011.6118C9.80995\x2011.3774\x2010.1899\x2011.3774\x2010.4242\x2011.6118C10.6585\x2011.8461\x2010.6585\x2012.226\x2010.4242\x2012.4603L8.4324\x2014.452C8.32324\x2014.5655\x208.16982\x2014.6362\x207.9999\x2014.6362C7.82998\x2014.6362\x207.67655\x2014.5655\x207.56739\x2014.452L5.57564\x2012.4603C5.34132\x2012.226\x205.34132\x2011.8461\x205.57564\x2011.6118Z'}}]},_0x5e0d23=(0x0,_0x474eb8['forwardRef'])(function(_0x38e0fa,_0xbca69){const _0x32513e=_0x5936e8;return(0x0,_0x474eb8[_0x32513e(0x1bf)])(_0x3ed5cb,Object[_0x32513e(0x308)]({},_0x38e0fa,{'id':_0x32513e(0x497),'ref':_0xbca69,'icon':_0x1a5df9}));});_0x5e0d23[_0x5936e8(0x490)]=_0x5936e8(0x362);let _0x4b9094={'tag':_0x5936e8(0x2d4),'attrs':{'xmlns':_0x5936e8(0x378),'fill':'none','viewBox':_0x5936e8(0x344),'width':_0x5936e8(0x29c),'height':_0x5936e8(0x29c)},'children':[{'tag':_0x5936e8(0x47a),'attrs':{'fill':_0x5936e8(0x4ae),'d':_0x5936e8(0x451),'fillRule':_0x5936e8(0x42f),'clipRule':_0x5936e8(0x42f)}},{'tag':_0x5936e8(0x47a),'attrs':{'fill':_0x5936e8(0x4ae),'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'}}]},_0x41667e=(0x0,_0x474eb8[_0x5936e8(0x46c)])(function(_0x1d76af,_0x11487d){const _0x3e7d9a=_0x5936e8;return(0x0,_0x474eb8['createElement'])(_0x3ed5cb,Object[_0x3e7d9a(0x308)]({},_0x1d76af,{'id':_0x3e7d9a(0x2dd),'ref':_0x11487d,'icon':_0x4b9094}));});_0x41667e[_0x5936e8(0x490)]=_0x5936e8(0x1df);let _0x1372f5={'tag':_0x5936e8(0x2d4),'attrs':{'xmlns':_0x5936e8(0x378),'fill':_0x5936e8(0x505),'viewBox':_0x5936e8(0x344),'width':_0x5936e8(0x29c),'height':_0x5936e8(0x29c)},'children':[{'tag':_0x5936e8(0x47a),'attrs':{'stroke':_0x5936e8(0x4ae),'d':_0x5936e8(0x21e),'strokeLinecap':_0x5936e8(0x3ce),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x5936e8(0x47a),'attrs':{'stroke':'currentColor','d':_0x5936e8(0x4ed),'strokeLinecap':'round','strokeLinejoin':_0x5936e8(0x3ce),'strokeWidth':1.3}}]},_0x4699fe=(0x0,_0x474eb8['forwardRef'])(function(_0x1737a8,_0xbecb11){const _0x5dd2a7=_0x5936e8;return(0x0,_0x474eb8['createElement'])(_0x3ed5cb,Object[_0x5dd2a7(0x308)]({},_0x1737a8,{'id':_0x5dd2a7(0x3d5),'ref':_0xbecb11,'icon':_0x1372f5}));});_0x4699fe[_0x5936e8(0x490)]=_0x5936e8(0x1eb);let _0x5126e0={'tag':_0x5936e8(0x2d4),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5936e8(0x505),'viewBox':'0\x200\x2016\x2016','width':_0x5936e8(0x29c),'height':_0x5936e8(0x29c)},'children':[{'tag':_0x5936e8(0x47a),'attrs':{'stroke':_0x5936e8(0x4ae),'d':_0x5936e8(0x445),'strokeLinecap':'round','strokeLinejoin':_0x5936e8(0x3ce),'strokeWidth':1.2}},{'tag':_0x5936e8(0x47a),'attrs':{'stroke':_0x5936e8(0x4ae),'d':'M4.2\x205.5H10.5','strokeLinecap':_0x5936e8(0x3ce),'strokeWidth':1.2}},{'tag':_0x5936e8(0x47a),'attrs':{'stroke':_0x5936e8(0x4ae),'d':_0x5936e8(0x437),'strokeLinecap':_0x5936e8(0x3ce),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x5936e8(0x4ae),'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':_0x5936e8(0x3ce)}},{'tag':_0x5936e8(0x47a),'attrs':{'stroke':_0x5936e8(0x4ae),'d':_0x5936e8(0x1d0)}}]},_0x4813c5=(0x0,_0x474eb8['forwardRef'])(function(_0x4ea267,_0x5af4d1){const _0x1f8c4b=_0x5936e8;return(0x0,_0x474eb8[_0x1f8c4b(0x1bf)])(_0x3ed5cb,Object['assign']({},_0x4ea267,{'id':'shape-format-setting-icon','ref':_0x5af4d1,'icon':_0x5126e0}));});_0x4813c5[_0x5936e8(0x490)]=_0x5936e8(0x4eb);let _0x5a3e0d={'tag':_0x5936e8(0x2d4),'attrs':{'xmlns':_0x5936e8(0x378),'fill':_0x5936e8(0x505),'viewBox':_0x5936e8(0x346),'width':_0x5936e8(0x29c),'height':'1em'},'children':[{'tag':_0x5936e8(0x2a5),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':2.45,'fill':_0x5936e8(0x4ae),'rx':0.6}},{'tag':_0x5936e8(0x2a5),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':6.1,'fill':_0x5936e8(0x4ae),'rx':0.6}},{'tag':_0x5936e8(0x2a5),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':6.1,'fill':_0x5936e8(0x4ae),'rx':0.6}},{'tag':_0x5936e8(0x2a5),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':9.4,'fill':_0x5936e8(0x4ae),'rx':0.6}},{'tag':_0x5936e8(0x2a5),'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':_0x5936e8(0x4ae),'rx':0.6}},{'tag':_0x5936e8(0x2a5),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':12.7,'fill':_0x5936e8(0x4ae),'rx':0.6}},{'tag':_0x5936e8(0x2a5),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':16.35,'fill':_0x5936e8(0x4ae),'rx':0.6}},{'tag':_0x5936e8(0x47a),'attrs':{'fill':_0x5936e8(0x4ae),'d':_0x5936e8(0x33c),'fillRule':_0x5936e8(0x42f),'clipRule':_0x5936e8(0x42f)}}]},_0x5e0225=(0x0,_0x474eb8['forwardRef'])(function(_0x40dd61,_0x19c49a){const _0x586cdd=_0x5936e8;return(0x0,_0x474eb8[_0x586cdd(0x1bf)])(_0x3ed5cb,Object[_0x586cdd(0x308)]({},_0x40dd61,{'id':_0x586cdd(0x1af),'ref':_0x19c49a,'icon':_0x5a3e0d}));});_0x5e0225['displayName']=_0x5936e8(0x225);let _0x3dd5d4={'tag':_0x5936e8(0x2d4),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5936e8(0x505),'viewBox':_0x5936e8(0x190),'width':_0x5936e8(0x29c),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x5936e8(0x4ae),'d':_0x5936e8(0x36d)}},{'tag':'path','attrs':{'fill':_0x5936e8(0x4ae),'d':_0x5936e8(0x330),'fillRule':_0x5936e8(0x42f),'clipRule':_0x5936e8(0x42f)}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x5936e8(0x222),'fillRule':_0x5936e8(0x42f),'clipRule':_0x5936e8(0x42f)}}]},_0x4cfda8=(0x0,_0x474eb8[_0x5936e8(0x46c)])(function(_0x370666,_0x438353){const _0x1a8db6=_0x5936e8;return(0x0,_0x474eb8[_0x1a8db6(0x1bf)])(_0x3ed5cb,Object['assign']({},_0x370666,{'id':_0x1a8db6(0x2a0),'ref':_0x438353,'icon':_0x3dd5d4}));});_0x4cfda8[_0x5936e8(0x490)]=_0x5936e8(0x345);function _0x13abad(_0x272752){const _0x5714e=_0x5936e8;return(0x0,_0x49e713['jsx'])(_0x16b51e,{..._0x272752,'PickerComponent':_0x49227b[_0x5714e(0x19b)]});}function _0x476f4f(){const _0x52cc7a=_0x5936e8;let _0x4dec0d=(0x0,_0x17ddbe[_0x52cc7a(0x448)])(_0x1f0d53[_0x52cc7a(0x3f4)]),_0x331feb=_0x18ffed(),[_0x89f206,_0x27e4f6]=(0x0,_0x474eb8[_0x52cc7a(0x2cc)])(!0x1);return(0x0,_0x49e713['jsxs'])(_0x52cc7a(0x430),{'className':_0x52cc7a(0x39b),'children':[(0x0,_0x49e713[_0x52cc7a(0x340)])(_0x2ee841['MobileActionRow'],{'title':_0x4dec0d['t'](_0x52cc7a(0x1da)),'aria-expanded':_0x89f206,'variant':_0x52cc7a(0x273),'trailing':_0x89f206?(0x0,_0x49e713[_0x52cc7a(0x340)])(_0x56d6ed,{}):(0x0,_0x49e713[_0x52cc7a(0x340)])(_0x2db895,{}),'onClick':()=>_0x27e4f6(_0x2322dd=>!_0x2322dd)}),_0x89f206&&(0x0,_0x49e713[_0x52cc7a(0x340)])(_0x49227b[_0x52cc7a(0x19b)],{'excludeGroups':[_0x49227b[_0x52cc7a(0x42c)]['Line']],'onShapeClick':_0x3e0d0d=>{_0x331feb(_0x3e0d0d),_0x27e4f6(!0x1);}})]});}function _0x42b610(_0x17efbf){return _0x17efbf['trim']()||void 0x0;}function _0x2414df(_0xd360f0,_0x2d6e75,_0x435366){const _0x534433=_0x5936e8;var _0x4b6a67,_0x272a68;return((_0x4b6a67=_0xd360f0[_0x534433(0x379)])==null?void 0x0:_0x4b6a67[_0x534433(0x2e7)]())||((_0x272a68=_0xd360f0[_0x534433(0x2d7)])==null?void 0x0:_0x272a68[_0x534433(0x2e7)]())||_0x435366['t'](_0x534433(0x4a8)+(0x0,_0x49227b[_0x534433(0x4f5)])(_0xd360f0[_0x534433(0x486)]))+'\x20'+(_0x2d6e75+0x1);}function _0x362e91({PanelComponent:_0x45ef73=_0x1b3d5c[_0x5936e8(0x1dd)]}){const _0x282858=_0x5936e8;let _0x2b1e01=(0x0,_0x17ddbe[_0x282858(0x448)])(_0x1f0d53[_0x282858(0x3f4)]),_0x417af5={'title':_0x2b1e01['t'](_0x282858(0x3e9)),'empty':_0x2b1e01['t'](_0x282858(0x300)),'showAll':_0x2b1e01['t'](_0x282858(0x28d)),'hideAll':_0x2b1e01['t'](_0x282858(0x3ba)),'lockAll':_0x2b1e01['t']('drawing-ui.objectListPanel.lockAll'),'unlockAll':_0x2b1e01['t'](_0x282858(0x50b)),'moveForward':_0x2b1e01['t'](_0x282858(0x2a8)),'moveBackward':_0x2b1e01['t'](_0x282858(0x3db)),'close':_0x2b1e01['t'](_0x282858(0x24c)),'show':_0x2b1e01['t'](_0x282858(0x426)),'hide':_0x2b1e01['t'](_0x282858(0x4bc)),'lock':_0x2b1e01['t'](_0x282858(0x3b9)),'unlock':_0x2b1e01['t'](_0x282858(0x4b9)),'lockHint':_0x2b1e01['t']('drawing-ui.objectListPanel.lockHint'),'unlockHint':_0x2b1e01['t'](_0x282858(0x3f2)),'name':_0x2b1e01['t'](_0x282858(0x2f9)),'nameInput':_0x2b1e01['t']('drawing-ui.objectListPanel.nameInput'),'description':_0x2b1e01['t'](_0x282858(0x2e2)),'descriptionPlaceholder':_0x2b1e01['t']('drawing-ui.objectListPanel.descriptionPlaceholder'),'details':_0x2b1e01['t'](_0x282858(0x386)),'noSelection':_0x2b1e01['t'](_0x282858(0x235)),'locate':_0x2b1e01['t'](_0x282858(0x392)),'expand':_0x2b1e01['t'](_0x282858(0x27b)),'collapse':_0x2b1e01['t']('drawing-ui.objectListPanel.collapse'),'dragToReorder':_0x2b1e01['t']('drawing-ui.objectListPanel.dragToReorder'),'search':_0x2b1e01['t'](_0x282858(0x2bd)),'filterAll':_0x2b1e01['t'](_0x282858(0x39f)),'filterHidden':_0x2b1e01['t'](_0x282858(0x277)),'filterLocked':_0x2b1e01['t'](_0x282858(0x28e)),'sectionCanvas':_0x2b1e01['t'](_0x282858(0x49b)),'sectionFloating':_0x2b1e01['t'](_0x282858(0x3e4))},_0x14fd94=(0x0,_0x17ddbe[_0x282858(0x448)])(_0x1f0d53['ICommandService']),_0x3a4f57=(0x0,_0x17ddbe[_0x282858(0x448)])(_0x1f0d53[_0x282858(0x474)]),_0x2f7ec9=(0x0,_0x17ddbe[_0x282858(0x448)])(_0x468af2[_0x282858(0x2e4)]),_0x33d102=(0x0,_0x17ddbe[_0x282858(0x448)])(_0x1b10bd['IDrawingManagerService']),_0x48d80c=(0x0,_0x17ddbe['useDependency'])(_0x2de297[_0x282858(0x434)]),[,_0x255d1d]=(0x0,_0x474eb8['useReducer'])(_0x4ab3e9=>_0x4ab3e9+0x1,0x0),_0x4159c1=_0x3a4f57[_0x282858(0x279)](_0x1f0d53[_0x282858(0x2ab)][_0x282858(0x471)]),_0x582fef=(_0x4159c1==null?void 0x0:_0x4159c1['getUnitId']())??'',_0xca2095=_0x582fef,_0x37af62=(0x0,_0x17ddbe[_0x282858(0x1b2)])(()=>_0x33d102['focus$'],_0x33d102['getFocusDrawings'](),!0x1,[_0x33d102]);(0x0,_0x474eb8[_0x282858(0x45a)])(()=>{const _0x510968=_0x282858;let _0x1fff48=_0x14fd94[_0x510968(0x25a)](()=>_0x255d1d());return()=>_0x1fff48[_0x510968(0x342)]();},[_0x14fd94]);let _0x147507=_0x582fef?_0x2f7ec9[_0x282858(0x1d9)](_0x582fef,_0xca2095):{},_0x51ca30=(_0x582fef?_0x2f7ec9[_0x282858(0x1d7)](_0x582fef,_0xca2095):[])['map'](_0xf87c3e=>_0x147507[_0xf87c3e])['filter'](_0x39c8da=>!!_0x39c8da)[_0x282858(0x29b)](),_0x120682=_0x51ca30[_0x282858(0x193)]((_0x207791,_0x58861e)=>(_0x207791[(0x0,_0x1b3d5c['getObjectListPanelSectionIdForDrawingType'])(_0x58861e[_0x282858(0x486)])]+=0x1,_0x207791),{'canvas':0x0,'floating':0x0}),_0x984390={'canvas':0x0,'floating':0x0},_0xbdfc6c=_0x51ca30[_0x282858(0x2e6)]((_0x58563d,_0x1eb1f9)=>{const _0x2f5e08=_0x282858;let _0x4b4adf=(0x0,_0x1b3d5c[_0x2f5e08(0x3c0)])(_0x58563d['drawingType']),_0xaeb7e3=_0x4b4adf===_0x1b3d5c[_0x2f5e08(0x32c)],_0x461860=_0x984390[_0x4b4adf]++;return{'id':_0x58563d['drawingId'],'name':_0x2414df(_0x58563d,_0x1eb1f9,_0x2b1e01),'description':_0x58563d[_0x2f5e08(0x302)],'visible':_0x58563d[_0x2f5e08(0x36c)]!==!0x0,'selectable':_0x58563d[_0x2f5e08(0x2f2)]!==!0x1,'sectionId':_0x4b4adf,'sectionTitle':_0xaeb7e3?_0x417af5[_0x2f5e08(0x315)]:_0x417af5[_0x2f5e08(0x433)],'capabilities':_0xaeb7e3?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0xaeb7e3&&_0x461860>0x0,'canMoveBackward':!_0xaeb7e3&&_0x461860<_0x120682[_0x2f5e08(0x1f5)]-0x1,'canReorder':!_0xaeb7e3};}),_0x43cda8=(0x0,_0x474eb8[_0x282858(0x381)])(()=>(_0x37af62??[])[_0x282858(0x21f)](_0x365a96=>_0x365a96[_0x282858(0x458)]===_0x582fef&&_0x365a96['subUnitId']===_0xca2095)[_0x282858(0x2e6)](_0x5d75ba=>_0x5d75ba['drawingId']),[_0x37af62,_0xca2095,_0x582fef]),_0x49abfd=_0x43cda8[_0x43cda8[_0x282858(0x2b1)]-0x1]??null,_0x38b5e5=_0x535931=>_0x2f7ec9[_0x282858(0x44c)]({'unitId':_0x582fef,'subUnitId':_0xca2095,'drawingId':_0x535931})??null,_0x16c4f5=async _0x9d6179=>{const _0x15e4d2=_0x282858;_0x582fef&&_0x9d6179[_0x15e4d2(0x2b1)]&&await _0x14fd94[_0x15e4d2(0x502)](_0x3a18ad['UpdateDocDrawingMetadataCommand']['id'],{'unitId':_0x582fef,'patches':_0x9d6179});},_0x2bc529=(_0x2bf7e0,_0x7e3c6)=>{const _0x4b2d3b=_0x282858;if(!_0x582fef)return;let _0x2dfc2b=_0x7e3c6?_0x43cda8[_0x4b2d3b(0x2c2)](_0x2bf7e0)?_0x43cda8['filter'](_0x16146c=>_0x16146c!==_0x2bf7e0):[..._0x43cda8,_0x2bf7e0]:[_0x2bf7e0];_0x14fd94[_0x4b2d3b(0x30d)](_0x1b10bd['SetDrawingSelectedOperation']['id'],_0x2dfc2b[_0x4b2d3b(0x2e6)](_0x2194a8=>({'unitId':_0x582fef,'subUnitId':_0xca2095,'drawingId':_0x2194a8})));let _0xdb420d=_0x2dfc2b[_0x2dfc2b[_0x4b2d3b(0x2b1)]-0x1];_0xdb420d?(0x0,_0x49227b[_0x4b2d3b(0x460)])(_0x48d80c,{'unitId':_0x582fef,'subUnitId':_0xca2095,'drawingId':_0xdb420d}):(0x0,_0x49227b['clearActiveDrawingObjects'])(_0x48d80c,_0x582fef);},_0x464690=async(_0x1405eb,_0x19acac)=>{const _0x15833b=_0x282858;await _0x16c4f5(_0x1405eb[_0x15833b(0x2e6)](_0x2191cc=>_0x38b5e5(_0x2191cc))['filter'](_0x30c314=>!!_0x30c314)['filter'](_0x51d0ca=>_0x51d0ca[_0x15833b(0x36c)]!==!0x0!==_0x19acac)[_0x15833b(0x2e6)](_0x4b2c0e=>({'drawingId':_0x4b2c0e[_0x15833b(0x240)],'hidden':!_0x19acac})));},_0x4d5e1b=async(_0x289ed6,_0x3bcfa6)=>{const _0x576cd2=_0x282858;await _0x16c4f5(_0x289ed6['map'](_0x2f1a2b=>_0x38b5e5(_0x2f1a2b))[_0x576cd2(0x21f)](_0x549038=>!!_0x549038)['filter'](_0x2c6a3d=>_0x2c6a3d[_0x576cd2(0x2f2)]!==!0x1!==_0x3bcfa6)['map'](_0x4fb695=>({'drawingId':_0x4fb695[_0x576cd2(0x240)],'selectable':_0x3bcfa6})));},_0x42739a=_0xfa6464=>{const _0x248277=_0x282858;let _0x2d02a9=_0x38b5e5(_0xfa6464);if(_0x2d02a9)return _0x4d5e1b([_0xfa6464],_0x2d02a9[_0x248277(0x2f2)]===!0x1);},_0x391248=async(_0x118624,_0x6385d0)=>{const _0x28e70a=_0x282858;let _0x11d451=_0x38b5e5(_0x118624),_0x23d445=_0x42b610(_0x6385d0);!_0x11d451||(_0x11d451[_0x28e70a(0x379)]??void 0x0)===_0x23d445&&(_0x11d451[_0x28e70a(0x2d7)]||void 0x0)===_0x23d445||await _0x16c4f5([{'drawingId':_0x118624,'name':_0x23d445,'title':_0x23d445}]);},_0x13bc92=async(_0x1516c1,_0x3a8e68)=>{const _0x171c22=_0x282858;let _0x33784b=_0x38b5e5(_0x1516c1),_0x4ed32e=_0x42b610(_0x3a8e68);_0x33784b&&(_0x33784b[_0x171c22(0x302)]??void 0x0)!==_0x4ed32e&&await _0x16c4f5([{'drawingId':_0x1516c1,'description':_0x4ed32e}]);},_0xea5dbd=async(_0x1c445e,_0x447e54)=>{const _0x503e3f=_0x282858;_0x582fef&&await _0x14fd94[_0x503e3f(0x502)](_0x468af2['SetDocDrawingArrangeCommand']['id'],{'unitId':_0x582fef,'subUnitId':_0xca2095,'drawingIds':[_0x1c445e],'arrangeType':_0x447e54});};return _0x582fef?(0x0,_0x49e713[_0x282858(0x340)])(_0x45ef73,{'labels':_0x417af5,'renderPermissionAction':_0xe91c6f=>_0x4159c1?(0x0,_0x49e713[_0x282858(0x340)])(_0x17ddbe[_0x282858(0x1ba)],{'target':{'unitId':_0x582fef,'objectId':(0x0,_0x1d5dc9['getDocumentEntityPermissionObjectId'])((0x0,_0x1d5dc9[_0x282858(0x186)])(_0x4159c1,_0xe91c6f['id']),'drawing',_0xe91c6f['id']),'objectType':_0x3036e9[_0x282858(0x3f9)][_0x282858(0x239)]},'name':_0xe91c6f['name'],'commandId':_0x1d5dc9[_0x282858(0x2c0)]['id'],'exists':()=>!!_0x38b5e5(_0xe91c6f['id'])},_0x582fef+'/'+_0xe91c6f['id']):null,'items':_0xbdfc6c,'selectedIds':_0x43cda8,'focusedId':_0x49abfd,'showHeader':!0x1,'onSelect':_0x2bc529,'onSetVisible':_0x464690,'onSetSelectable':_0x4d5e1b,'onCommitName':_0x391248,'onCommitDescription':_0x13bc92,'onMoveForward':async _0x14805f=>_0xea5dbd(_0x14805f,_0x1f0d53[_0x282858(0x1ff)][_0x282858(0x477)]),'onMoveBackward':async _0xab02f6=>_0xea5dbd(_0xab02f6,_0x1f0d53[_0x282858(0x1ff)]['backward']),'onToggleSelectable':_0x42739a}):(0x0,_0x49e713[_0x282858(0x340)])(_0x282858(0x430),{'className':_0x282858(0x4e0),'children':_0x417af5[_0x282858(0x2d7)]});}function _0x2ac504(){const _0x199cfe=_0x5936e8;return(0x0,_0x49e713['jsx'])(_0x362e91,{'PanelComponent':_0x1b3d5c[_0x199cfe(0x1a6)]});}let _0x212450=class{constructor(_0x350ed6){this['_renderManagerService']=_0x350ed6;}[_0x5936e8(0x29f)](_0x4694db,_0x1e985a){const _0xfb41a5=_0x5936e8;let _0x952a8=this[_0xfb41a5(0x271)][_0xfb41a5(0x246)](_0x4694db['unitId']),_0x275cef=_0x952a8==null?void 0x0:_0x952a8[_0xfb41a5(0x307)];if(!_0x275cef)return;let _0x261d02=(0x0,_0x1b10bd[_0xfb41a5(0x2fe)])(_0x4694db),_0x393264=_0x275cef['getObjectIncludeInGroup'](_0x261d02);_0x393264==null||_0x393264[_0xfb41a5(0x1e3)](_0x1e985a);}};_0x212450=_0x348fea([_0x570e4a(0x0,_0x2de297[_0x5936e8(0x434)])],_0x212450);function _0x1652a1(){const _0x58dc26=_0x5936e8;let _0x16c81e=(0x0,_0x17ddbe[_0x58dc26(0x448)])(_0x1b10bd[_0x58dc26(0x224)]),_0x6c0acd=(0x0,_0x17ddbe[_0x58dc26(0x1b2)])(()=>_0x16c81e[_0x58dc26(0x4b1)],_0x16c81e[_0x58dc26(0x456)](),!0x1,[_0x16c81e]);return _0x6c0acd[_0x58dc26(0x2b1)]===0x0?null:(0x0,_0x49e713[_0x58dc26(0x340)])(_0x58dc26(0x430),{'children':(0x0,_0x49e713['jsxs'])('div',{'className':_0x58dc26(0x478),'children':[(0x0,_0x49e713[_0x58dc26(0x340)])(_0x1b3d5c[_0x58dc26(0x40e)],{'drawings':_0x6c0acd,'hasCropper':!0x1}),(0x0,_0x49e713[_0x58dc26(0x340)])(_0x9fb89c['DocDrawingTextWrap'],{'drawings':_0x6c0acd}),(0x0,_0x49e713['jsx'])(_0x9fb89c['DocDrawingPosition'],{'drawings':_0x6c0acd})]})});}function _0x1fa60a(_0x5c9608){const _0x106662=_0x5936e8;let {unitId:_0x207497,subUnitId:_0x10cc6f,shapeId:_0x5ed9b4,PositionComponent:_0x28193f=_0x1652a1}=_0x5c9608,_0x4db4f1=(0x0,_0x17ddbe[_0x106662(0x448)])(_0x1f0d53[_0x106662(0x298)]),_0x1ddd3b=(0x0,_0x17ddbe[_0x106662(0x448)])(_0x212450);return(0x0,_0x49e713[_0x106662(0x340)])(_0x49227b['ShapeEditPanel'],{..._0x5c9608,'positionEditor':(0x0,_0x49e713[_0x106662(0x340)])(_0x28193f,{}),'onUpdateShapeData':(_0x174d3e,_0x46c579)=>{_0x17f719(_0x4db4f1,_0x207497,_0x10cc6f,_0x5ed9b4,_0x174d3e,_0x46c579);},'onUpdateLineShapeData':(_0x2a9fc1,_0xc04c61)=>{_0x445078(_0x4db4f1,_0x207497,_0x10cc6f,_0x5ed9b4,_0x2a9fc1,_0xc04c61);},'onUpdateShapeFillImage':_0x4714bb=>{const _0x39a90c=_0x106662;_0x1ddd3b[_0x39a90c(0x29f)]({'unitId':_0x207497,'subUnitId':_0x10cc6f,'drawingId':_0x5ed9b4},_0x4714bb);}});}function _0x4bd1e9(){const _0x161cf9=_0x5936e8;let _0x5ee7f4=(0x0,_0x17ddbe['useDependency'])(_0x1b10bd['IDrawingManagerService']),_0x1fda87=(0x0,_0x17ddbe[_0x161cf9(0x1b2)])(_0x5ee7f4[_0x161cf9(0x4b1)],_0x5ee7f4['getFocusDrawings']());return _0x1fda87[_0x161cf9(0x2b1)]===0x0?null:(0x0,_0x49e713[_0x161cf9(0x35e)])('div',{'className':'univer-grid\x20univer-gap-5\x20univer-p-3','children':[(0x0,_0x49e713[_0x161cf9(0x340)])(_0x1b3d5c[_0x161cf9(0x40e)],{'drawings':_0x1fda87,'hasCropper':!0x1}),(0x0,_0x49e713[_0x161cf9(0x340)])(_0x9fb89c['MobileDocDrawingTextWrap'],{'drawings':_0x1fda87}),(0x0,_0x49e713[_0x161cf9(0x340)])(_0x9fb89c['MobileDocDrawingPosition'],{'drawings':_0x1fda87})]});}function _0xe18d4a(_0x540f53){const _0x34ffd7=_0x5936e8;return(0x0,_0x49e713['jsx'])(_0x49227b[_0x34ffd7(0x3ff)],{'children':(0x0,_0x49e713[_0x34ffd7(0x340)])(_0x1fa60a,{..._0x540f53,'PositionComponent':_0x4bd1e9})});}function _0x2c0419({popup:_0x4e5fa0}){const _0xb05d97=_0x5936e8;let _0x44de13=(0x0,_0x17ddbe['useDependency'])(_0x1f0d53[_0xb05d97(0x3f4)]),{shapeType:_0x1aeddb,onText:_0x2b4091,onStyle:_0x3f14d5,onDelete:_0xd9d87b}=_0x4e5fa0[_0xb05d97(0x268)],_0x1d7766=[{'key':_0xb05d97(0x46a),'order':0x0,'item':{'id':'text','type':_0x17ddbe[_0xb05d97(0x306)][_0xb05d97(0x2fb)],'title':_0x44de13['t'](_0xb05d97(0x3e5)),'disabled$':(0x0,_0x50deea['of'])((0x0,_0x14b8aa['isConnectorShape'])(_0x1aeddb))}},{'key':_0xb05d97(0x1a7),'order':0x1,'item':{'id':_0xb05d97(0x1a7),'type':_0x17ddbe[_0xb05d97(0x306)][_0xb05d97(0x2fb)],'title':_0x44de13['t']('docs-shape-ui.mobile.style')}},{'key':_0xb05d97(0x30a),'order':0x2,'item':{'id':'delete','type':_0x17ddbe[_0xb05d97(0x306)][_0xb05d97(0x2fb)],'title':_0x44de13['t']('docs-shape-ui.mobile.delete')}}];return(0x0,_0x49e713['jsx'])(_0x17ddbe[_0xb05d97(0x321)],{'schemas':_0x1d7766,'presentation':_0xb05d97(0x34b),'onOptionSelect':async({id:_0xd51f7c})=>{const _0x2eb7e0=_0xb05d97;_0xd51f7c===_0x2eb7e0(0x46a)?await _0x2b4091():_0xd51f7c==='style'?await _0x3f14d5():_0xd51f7c===_0x2eb7e0(0x30a)&&await _0xd9d87b();}});}let _0x2df62f=_0x5936e8(0x4ff);function _0x5eb14f(_0xf607ee,_0x321e75){const _0xdcdd76=_0x5936e8;var _0xed8dee;let _0x38fecc=_0xf607ee==null||(_0xed8dee=_0xf607ee[_0xdcdd76(0x1b9)]()[_0xdcdd76(0x2f0)])==null?void 0x0:_0xed8dee[_0x321e75];return _0x38fecc?_0x38fecc[_0xdcdd76(0x496)]===_0x1f0d53['PositionedObjectLayoutType'][_0xdcdd76(0x4ea)]?_0x38fecc['behindDoc']===_0x1f0d53[_0xdcdd76(0x4c6)]['TRUE']?_0x468af2['TextWrappingStyle'][_0xdcdd76(0x475)]:_0x468af2[_0xdcdd76(0x1d8)]['IN_FRONT_OF_TEXT']:_0x38fecc[_0xdcdd76(0x496)]===_0x1f0d53['PositionedObjectLayoutType']['WRAP_SQUARE']?_0x468af2['TextWrappingStyle']['WRAP_SQUARE']:_0x38fecc[_0xdcdd76(0x496)]===_0x1f0d53[_0xdcdd76(0x341)][_0xdcdd76(0x375)]?_0x468af2[_0xdcdd76(0x1d8)][_0xdcdd76(0x375)]:_0x468af2['TextWrappingStyle'][_0xdcdd76(0x1d1)]:_0x468af2[_0xdcdd76(0x1d8)][_0xdcdd76(0x1d1)];}function _0x5f7f1f(_0x46d223){const _0x44a6d1=_0x5936e8;let _0x25f89e=(0x0,_0x17ddbe[_0x44a6d1(0x448)])(_0x49227b[_0x44a6d1(0x309)]),_0x5c1a3c=(0x0,_0x17ddbe[_0x44a6d1(0x1b2)])(()=>_0x25f89e[_0x44a6d1(0x449)],_0x25f89e[_0x44a6d1(0x3aa)](),!0x1,[_0x25f89e]),_0x30ee6c=_0x46d223[_0x44a6d1(0x4d2)]['extraProps'];return _0x5c1a3c?(0x0,_0x49e713['jsx'])(_0x34500e,{..._0x30ee6c,'canvasElement':_0x46d223[_0x44a6d1(0x4d2)]['canvasElement']}):null;}function _0x34500e(_0x48c969){const _0x2d945e=_0x5936e8;let _0x5a995e=(0x0,_0x17ddbe['useDependency'])(_0x1f0d53[_0x2d945e(0x298)]),_0x57f65e=(0x0,_0x17ddbe[_0x2d945e(0x448)])(_0x1f0d53[_0x2d945e(0x3f4)]),_0x10a5c3=(0x0,_0x17ddbe['useDependency'])(_0x3a18ad[_0x2d945e(0x39c)]),_0x24d33e=(0x0,_0x17ddbe[_0x2d945e(0x448)])(_0x1f0d53[_0x2d945e(0x474)]),{unitId:_0x409076,subUnitId:_0xadf096,drawingId:_0x491d37,shapeType:_0x309e8c}=_0x48c969,[_0x12cc2e,_0xe205bd]=(0x0,_0x474eb8['useState'])(_0x48c969[_0x2d945e(0x457)]),_0x37d981=_0x24d33e[_0x2d945e(0x4c9)](_0x409076,_0x1f0d53[_0x2d945e(0x2ab)][_0x2d945e(0x471)])??void 0x0,[_0x1cdda0,_0x20be2a]=(0x0,_0x474eb8[_0x2d945e(0x2cc)])(()=>_0x5eb14f(_0x37d981,_0x491d37)),_0xdf2389=(0x0,_0x474eb8[_0x2d945e(0x381)])(()=>(0x0,_0x49227b['getTextStyle'])(_0x12cc2e),[_0x12cc2e]),_0x348bac=(0x0,_0x474eb8[_0x2d945e(0x381)])(()=>(0x0,_0x49227b[_0x2d945e(0x4ba)])(_0x12cc2e),[_0x12cc2e]);(0x0,_0x474eb8['useEffect'])(()=>{const _0x4b9f1f=_0x2d945e;let _0x55f073=_0x5a995e[_0x4b9f1f(0x25a)](_0x22b69d=>{const _0x350078=_0x4b9f1f;if(_0x22b69d['id']!==_0x3a18ad[_0x350078(0x338)]['id'])return;let _0x22bce0=_0x10a5c3['getShapeDataById'](_0x409076,_0xadf096,_0x491d37);_0x22bce0&&_0xe205bd(_0x22bce0);});return()=>_0x55f073[_0x4b9f1f(0x342)]();},[_0x5a995e,_0x10a5c3,_0x491d37,_0xadf096,_0x409076]);let _0x5e14dd=_0x344693=>{_0xe205bd(_0x4ae066=>({..._0x4ae066,..._0x344693}));},_0xdbb9e1=_0x34a7ec=>{const _0x2296e9=_0x2d945e;let _0x3985e3=(0x0,_0x49227b[_0x2296e9(0x284)])(_0x12cc2e,_0x34a7ec);_0x17f719(_0x5a995e,_0x409076,_0xadf096,_0x491d37,{'oldShapeData':{'shapeText':_0x12cc2e[_0x2296e9(0x3f6)]}},_0x3985e3),_0x5e14dd(_0x3985e3);},_0x4d3eea=_0x5cc5ee=>{const _0x161230=_0x2d945e;_0x20be2a(_0x5cc5ee),_0x5a995e['executeCommand'](_0x468af2[_0x161230(0x1c9)]['id'],{'unitId':_0x409076,'subUnitId':_0xadf096,'drawings':[{'unitId':_0x409076,'subUnitId':_0xadf096,'drawingId':_0x491d37}],'wrappingStyle':_0x5cc5ee});},_0x24b41e=(0x0,_0x49227b['useFormulaShapeToolbar'])({'hostType':_0x1f0d53[_0x2d945e(0x2ab)]['UNIVER_DOC'],'unitId':_0x409076,'subUnitId':_0xadf096,'shapeId':_0x491d37,'shapeData':_0x12cc2e,'onUpdateBinding':_0x30369e=>{const _0x19ffc5=_0x2d945e;let _0x4c5301={'formulaBinding':_0x30369e};_0x17f719(_0x5a995e,_0x409076,_0xadf096,_0x491d37,{'oldShapeData':{'formulaBinding':_0x12cc2e[_0x19ffc5(0x1e0)]}},_0x4c5301),_0x5e14dd(_0x4c5301);}}),_0x2f66d6=[{'label':_0x57f65e['t'](_0x2d945e(0x427)),'value':_0x468af2[_0x2d945e(0x1d8)][_0x2d945e(0x1d1)],'icon':(0x0,_0x49e713[_0x2d945e(0x340)])(_0x5e0225,{})},{'label':_0x57f65e['t'](_0x2d945e(0x49c)),'value':_0x468af2[_0x2d945e(0x1d8)][_0x2d945e(0x3bd)],'icon':(0x0,_0x49e713[_0x2d945e(0x340)])(_0x5e0225,{})},{'label':_0x57f65e['t'](_0x2d945e(0x2b0)),'value':_0x468af2['TextWrappingStyle'][_0x2d945e(0x375)],'icon':(0x0,_0x49e713[_0x2d945e(0x340)])(_0x5e0225,{})},{'label':_0x57f65e['t'](_0x2d945e(0x1f6)),'value':_0x468af2[_0x2d945e(0x1d8)][_0x2d945e(0x475)],'icon':(0x0,_0x49e713[_0x2d945e(0x340)])(_0x5e0225,{})},{'label':_0x57f65e['t'](_0x2d945e(0x290)),'value':_0x468af2[_0x2d945e(0x1d8)][_0x2d945e(0x2bb)],'icon':(0x0,_0x49e713[_0x2d945e(0x340)])(_0x5e0225,{})}];return(0x0,_0x49e713[_0x2d945e(0x35e)])(_0x49e713[_0x2d945e(0x3d3)],{'children':[(0x0,_0x49e713['jsx'])(_0x49227b[_0x2d945e(0x267)],{'canvasElement':_0x48c969[_0x2d945e(0x1e9)],'shapeData':_0x12cc2e,'shapeType':_0x309e8c,'textStyle':{'ff':_0x14b8aa[_0x2d945e(0x45b)][_0x2d945e(0x3f6)][_0x2d945e(0x464)],'fs':_0x14b8aa[_0x2d945e(0x45b)][_0x2d945e(0x3f6)][_0x2d945e(0x390)],'cl':{'rgb':_0x14b8aa[_0x2d945e(0x45b)]['shapeText'][_0x2d945e(0x191)]},..._0xdf2389},'textModel':_0x348bac?{'ha':_0x348bac['ha']??_0x1f0d53['HorizontalAlign'][_0x2d945e(0x50e)],'va':_0x348bac['va']??_0x1f0d53['VerticalAlign']['TOP']}:null,'wrappingStyle':_0x1cdda0,'wrappingStyleOptions':_0x2f66d6,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x14b8aa[_0x2d945e(0x45b)][_0x2d945e(0x237)],'defaultGradientEndColor':_0x14b8aa[_0x2d945e(0x45b)][_0x2d945e(0x1ef)],'defaultStrokeColor':_0x14b8aa[_0x2d945e(0x45b)][_0x2d945e(0x1f1)],'extensionGroups':_0x24b41e[_0x2d945e(0x40c)],'floatingObjectToolbarPosition':_0x17ddbe[_0x2d945e(0x1ea)]['DOC'],'onUpdateShapeData':(_0x362019,_0x4d659b)=>{_0x17f719(_0x5a995e,_0x409076,_0xadf096,_0x491d37,_0x362019,_0x4d659b),_0x4d659b&&_0x5e14dd(_0x4d659b);},'onUpdateText':_0xdbb9e1,'onUpdateWrappingStyle':_0x4fea3f=>_0x4d3eea(_0x4fea3f),'onOpenPanel':()=>{const _0x725caa=_0x2d945e;_0x5a995e[_0x725caa(0x502)](_0x4bbe2e['id'],{'unitId':_0x409076,'subUnitId':_0xadf096,'drawingId':_0x491d37});},'onDelete':()=>{const _0x3e6965=_0x2d945e;_0x5a995e[_0x3e6965(0x502)](_0x468af2[_0x3e6965(0x247)]['id'],{'unitId':_0x409076,'drawings':[{'unitId':_0x409076,'subUnitId':_0xadf096,'drawingId':_0x491d37}]});}}),_0x24b41e[_0x2d945e(0x184)]]});}function _0x1e24f5({variant:_0x550cbc,extend:_0x1281e3,..._0x2306e2}){const _0x56d952=_0x5936e8;let _0x4bb367=(0x0,_0x49e713['jsx'])(_0x56d952(0x2a5),{'x':'7','y':_0x56d952(0x3d2),'width':'6','height':'9','rx':'1','fill':_0x56d952(0x4ae),'fillOpacity':'0.14','stroke':'currentColor','strokeWidth':_0x56d952(0x187)});return(0x0,_0x49e713['jsxs'])(_0x56d952(0x2d4),{'aria-hidden':_0x56d952(0x212),'fill':'none','height':'1em','viewBox':'0\x200\x2020\x2020','width':_0x56d952(0x29c),..._0x2306e2,'children':[_0x550cbc===_0x56d952(0x1cd)&&(0x0,_0x49e713[_0x56d952(0x35e)])(_0x49e713[_0x56d952(0x3d3)],{'children':[(0x0,_0x49e713[_0x56d952(0x340)])(_0x56d952(0x47a),{'d':_0x56d952(0x33b),'stroke':_0x56d952(0x4ae),'strokeLinecap':_0x56d952(0x3ce),'strokeWidth':'1.2'}),(0x0,_0x49e713[_0x56d952(0x340)])(_0x56d952(0x2a5),{'x':'8','y':'7','width':'4','height':'6','rx':_0x56d952(0x348),'fill':_0x56d952(0x4ae),'fillOpacity':_0x56d952(0x34a),'stroke':_0x56d952(0x4ae),'strokeWidth':_0x56d952(0x187)})]}),_0x550cbc===_0x56d952(0x4ec)&&(0x0,_0x49e713[_0x56d952(0x35e)])(_0x49e713['Fragment'],{'children':[(0x0,_0x49e713[_0x56d952(0x340)])(_0x56d952(0x47a),{'d':_0x56d952(0x27f),'stroke':_0x56d952(0x4ae),'strokeLinecap':_0x56d952(0x3ce),'strokeWidth':_0x56d952(0x187)}),_0x4bb367]}),_0x550cbc===_0x56d952(0x350)&&(0x0,_0x49e713[_0x56d952(0x35e)])(_0x49e713[_0x56d952(0x3d3)],{'children':[(0x0,_0x49e713[_0x56d952(0x340)])(_0x56d952(0x47a),{'d':_0x56d952(0x409),'stroke':'currentColor','strokeLinecap':_0x56d952(0x3ce),'strokeWidth':_0x56d952(0x187)}),_0x4bb367]}),_0x550cbc===_0x56d952(0x4b0)&&(0x0,_0x49e713[_0x56d952(0x35e)])(_0x49e713[_0x56d952(0x3d3)],{'children':[_0x4bb367,(0x0,_0x49e713[_0x56d952(0x340)])(_0x56d952(0x47a),{'d':_0x56d952(0x2b5),'stroke':_0x56d952(0x4ae),'strokeLinecap':_0x56d952(0x3ce),'strokeWidth':_0x56d952(0x187)})]}),_0x550cbc==='front'&&(0x0,_0x49e713['jsxs'])(_0x49e713['Fragment'],{'children':[(0x0,_0x49e713['jsx'])(_0x56d952(0x47a),{'d':_0x56d952(0x2b5),'stroke':_0x56d952(0x4ae),'strokeLinecap':_0x56d952(0x3ce),'strokeWidth':'1.2'}),(0x0,_0x49e713['jsx'])(_0x56d952(0x2a5),{'x':'7','y':_0x56d952(0x3d2),'width':'6','height':'9','rx':'1','fill':'currentColor'})]})]});}let _0x5bf683=_0x3c2440=>_0x1267e9=>(0x0,_0x49e713[_0x5936e8(0x340)])(_0x1e24f5,{..._0x1267e9,'variant':_0x3c2440}),_0x3fe0b9={'DocsShapeWrapInlineIcon':_0x5bf683(_0x5936e8(0x1cd)),'DocsShapeWrapSquareIcon':_0x5bf683(_0x5936e8(0x4ec)),'DocsShapeWrapTopBottomIcon':_0x5bf683(_0x5936e8(0x350)),'DocsShapeWrapBehindTextIcon':_0x5bf683(_0x5936e8(0x4b0)),'DocsShapeWrapInFrontOfTextIcon':_0x5bf683(_0x5936e8(0x42e))},_0x1ea311=(0x0,_0x474eb8[_0x5936e8(0x48e)])(()=>{const _0x387bf2=_0x5936e8;let _0x1390bc=(0x0,_0x17ddbe[_0x387bf2(0x448)])(_0x3e3971),_0x371e7e=(0x0,_0x17ddbe[_0x387bf2(0x448)])(_0x3a18ad[_0x387bf2(0x39c)]),_0x47a0a3=(0x0,_0x17ddbe[_0x387bf2(0x448)])(_0x1b10bd['IDrawingManagerService']),_0x5a5de8=(0x0,_0x17ddbe[_0x387bf2(0x448)])(_0x1f0d53[_0x387bf2(0x298)]),_0xa3b7f7=(0x0,_0x474eb8[_0x387bf2(0x381)])(()=>({'getShapeModel':(_0x12c993,_0x52a53a,_0x4ba6a5)=>_0x371e7e[_0x387bf2(0x206)](_0x12c993,_0x52a53a,_0x4ba6a5),'getShapeData':(_0x447e2e,_0x37aa78,_0x238251)=>_0x371e7e['getShapeDataById'](_0x447e2e,_0x37aa78,_0x238251),'getDrawingTransform':(_0x1ce280,_0x2b9a54,_0x2d21fc)=>{const _0x16c9d6=_0x387bf2;let _0x52329f=_0x47a0a3[_0x16c9d6(0x44c)]({'unitId':_0x1ce280,'subUnitId':_0x2b9a54,'drawingId':_0x2d21fc});return _0x52329f==null?void 0x0:_0x52329f['transform'];},'updateShapeText':({unitId:_0x3c4565,shapeId:_0x5d05dc,shapeText:_0x347a6d,oldShapeText:_0x2b693e})=>{const _0x5b7c65=_0x387bf2;_0x5a5de8['executeCommand'](_0x3a18ad[_0x5b7c65(0x1c0)]['id'],{'unitId':_0x3c4565,'shapeId':_0x5d05dc,'shapeData':{'shapeText':_0x347a6d},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x2b693e}}});},'updateHostSize':({unitId:_0x46e2d3,subUnitId:_0x26f3dd,shapeId:_0x57c44c,width:_0x3c6a73,height:_0x27db19})=>{const _0x14b702=_0x387bf2;_0x5a5de8[_0x14b702(0x502)](_0x468af2[_0x14b702(0x3d1)]['id'],{'unitId':_0x46e2d3,'subUnitId':_0x26f3dd,'drawings':[{'drawingId':_0x57c44c,'key':'size','value':{'width':_0x3c6a73,'height':_0x27db19}}]});},'allowHostSizeShrink':({unitId:_0x2b6037,subUnitId:_0x125da9,shapeId:_0x581a83})=>(0x0,_0x49227b[_0x387bf2(0x22d)])(_0x371e7e['getShapeDataById'](_0x2b6037,_0x125da9,_0x581a83))}),[_0x5a5de8,_0x371e7e,_0x47a0a3]),_0x95e478=(0x0,_0x474eb8[_0x387bf2(0x381)])(()=>({'viewportKeys':{'main':_0x4fb755['VIEWPORT_KEY']['VIEW_MAIN']}}),[]);return(0x0,_0x49e713[_0x387bf2(0x340)])(_0x49227b[_0x387bf2(0x1c3)],{'adapter':_0xa3b7f7,'editingService':_0x1390bc,'editorUnitId':_0x44e212,'positionOptions':_0x95e478});}),_0x5ac066=class extends _0x1f0d53['Disposable']{constructor(_0x14390e,_0x16d368){const _0x5f2c66=_0x5936e8;super(),this[_0x5f2c66(0x398)]=_0x14390e,this['_iconManager']=_0x16d368,this[_0x5f2c66(0x3da)](),this[_0x5f2c66(0x3f1)]();}[_0x5936e8(0x3da)](){const _0x2c64d7=_0x5936e8;this[_0x2c64d7(0x4a4)][_0x2c64d7(0x1f7)]('ObjectLayersIcon')||this[_0x2c64d7(0x487)](this[_0x2c64d7(0x4a4)]['register']({'ObjectLayersIcon':_0x4699fe})),this['_iconManager']['has'](_0x2c64d7(0x3f3))||this[_0x2c64d7(0x487)](this[_0x2c64d7(0x4a4)][_0x2c64d7(0x373)]({'BottomIcon':_0x258f24})),this[_0x2c64d7(0x4a4)][_0x2c64d7(0x1f7)]('MoveDownIcon')||this['disposeWithMe'](this['_iconManager'][_0x2c64d7(0x373)]({'MoveDownIcon':_0x5e0d23})),this[_0x2c64d7(0x4a4)][_0x2c64d7(0x1f7)](_0x2c64d7(0x1df))||this[_0x2c64d7(0x487)](this[_0x2c64d7(0x4a4)][_0x2c64d7(0x373)]({'MoveUpIcon':_0x41667e})),this[_0x2c64d7(0x4a4)]['has'](_0x2c64d7(0x4eb))||this[_0x2c64d7(0x487)](this[_0x2c64d7(0x4a4)][_0x2c64d7(0x373)]({'ShapeFormatSettingIcon':_0x4813c5})),this[_0x2c64d7(0x4a4)]['has'](_0x2c64d7(0x345))||this['disposeWithMe'](this['_iconManager'][_0x2c64d7(0x373)]({'TopmostIcon':_0x4cfda8})),this['disposeWithMe'](this['_iconManager'][_0x2c64d7(0x373)](_0x3fe0b9));}[_0x5936e8(0x3f1)](){const _0x4be90e=_0x5936e8;this[_0x4be90e(0x487)](this['_componentManager'][_0x4be90e(0x373)](_0x33cbc8,_0xe18d4a)),this[_0x4be90e(0x487)](this[_0x4be90e(0x398)][_0x4be90e(0x373)](_0x2f3622,_0x2ac504)),this[_0x4be90e(0x487)](this[_0x4be90e(0x398)][_0x4be90e(0x373)](_0x2df62f,_0x2c0419)),this[_0x4be90e(0x487)](this[_0x4be90e(0x398)]['register'](_0x369dfe,_0x27cbef)),this[_0x4be90e(0x487)](this[_0x4be90e(0x398)]['register'](_0x5a7f89,_0x4edd4a)),this['disposeWithMe'](this[_0x4be90e(0x398)][_0x4be90e(0x373)](_0x4c6bd2,_0x23ba1c)),this[_0x4be90e(0x487)](this[_0x4be90e(0x398)][_0x4be90e(0x373)](_0xaa2613,_0xa256a4)),this[_0x4be90e(0x487)](this['_componentManager'][_0x4be90e(0x373)](_0x3cd69e,_0x20ddd2)),this[_0x4be90e(0x487)](this['_componentManager'][_0x4be90e(0x373)](_0x54e3e8,_0x49227b[_0x4be90e(0x494)])),this[_0x4be90e(0x487)](this['_componentManager']['register'](_0x11dc99,_0x13abad)),this['disposeWithMe'](this[_0x4be90e(0x398)][_0x4be90e(0x373)](_0xb8ab1f,_0x476f4f)),this[_0x4be90e(0x398)][_0x4be90e(0x25b)](_0x1b3d5c[_0x4be90e(0x2b4)])||this[_0x4be90e(0x487)](this[_0x4be90e(0x398)][_0x4be90e(0x373)](_0x1b3d5c[_0x4be90e(0x2b4)],_0xbfcf2a)),this['disposeWithMe'](this['_componentManager']['register'](_0x3006fa,_0x1ea311));}};_0x5ac066=_0x348fea([_0x570e4a(0x0,(0x0,_0x1f0d53['Inject'])(_0x17ddbe[_0x5936e8(0x33a)])),_0x570e4a(0x1,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x17ddbe[_0x5936e8(0x2b7)]))],_0x5ac066);let _0x529e7f=class extends _0x1f0d53[_0x5936e8(0x1dc)]{constructor(_0x4977f7,_0x30b8eb,_0x2e3e76,_0x58a91c,_0x199cc6,_0x486605,_0x127771,_0x2947a4,_0x41ee5e,_0x5d0468,_0x1dd3c7,_0x3dd50f,_0x2deeb5){const _0x4a6d72=_0x5936e8;super(),this[_0x4a6d72(0x391)]=_0x4977f7,this[_0x4a6d72(0x336)]=_0x30b8eb,this['_menuManagerService']=_0x2e3e76,this['_docsShapeService']=_0x58a91c,this[_0x4a6d72(0x3a3)]=_0x199cc6,this[_0x4a6d72(0x500)]=_0x486605,this[_0x4a6d72(0x1e2)]=_0x127771,this[_0x4a6d72(0x41f)]=_0x2947a4,this[_0x4a6d72(0x271)]=_0x41ee5e,this[_0x4a6d72(0x31c)]=_0x5d0468,this[_0x4a6d72(0x304)]=_0x1dd3c7,this['_permissionService']=_0x3dd50f,this[_0x4a6d72(0x3c6)]=_0x2deeb5,_0x3f767d(this,_0x4a6d72(0x508),null),_0x3f767d(this,_0x4a6d72(0x495),null),_0x3f767d(this,_0x4a6d72(0x1aa),!0x1),_0x3f767d(this,_0x4a6d72(0x1de),0x0),_0x3f767d(this,_0x4a6d72(0x50a),new Map()),_0x3f767d(this,'_popupTargetKeys',new Map()),this['_initMenu'](),this[_0x4a6d72(0x487)](this[_0x4a6d72(0x391)][_0x4a6d72(0x227)](_0x1f0d53[_0x4a6d72(0x2ab)][_0x4a6d72(0x471)])[_0x4a6d72(0x442)](_0x2a0841=>{const _0x1b6225=_0x4a6d72;if(!_0x2a0841){var _0x2bba65;(_0x2bba65=this['_sidebarDisposable'])==null||_0x2bba65[_0x1b6225(0x342)]();}})),this['_registerOperations'](),this[_0x4a6d72(0x487)](this[_0x4a6d72(0x1e2)][_0x4a6d72(0x301)]['subscribe'](_0x4be514=>{const _0x415a6b=_0x4a6d72;for(let _0x5dfd31 of _0x4be514){let _0x1bd40c=_0x5dfd31['unitId']+':'+_0x5dfd31[_0x415a6b(0x384)]+':'+_0x5dfd31['drawingId'];for(let [_0x1b1cb,_0x241bfe]of this[_0x415a6b(0x4df)])_0x241bfe===_0x1bd40c&&this[_0x415a6b(0x394)](_0x1b1cb,!0x0);}})),this[_0x4a6d72(0x487)]((0x0,_0x49227b[_0x4a6d72(0x1ec)])(this[_0x4a6d72(0x271)],_0x1f0d53[_0x4a6d72(0x2ab)][_0x4a6d72(0x471)],_0x5c489f=>this[_0x4a6d72(0x1f8)](_0x5c489f))),this[_0x4a6d72(0x487)](this['_shapeTextEditingService']['editingParams$'][_0x4a6d72(0x442)](_0x51b83f=>{_0x51b83f&&this['_clearPopups'](void 0x0,!0x0);})),this[_0x4a6d72(0x487)](this[_0x4a6d72(0x221)][_0x4a6d72(0x1ae)][_0x4a6d72(0x442)](()=>{const _0xedff66=_0x4a6d72;this[_0xedff66(0x1e2)][_0xedff66(0x456)]()[_0xedff66(0x318)](_0x5b8cca=>_0x5b8cca['drawingType']===_0x1f0d53[_0xedff66(0x331)][_0xedff66(0x39d)]&&this['_univerInstanceService'][_0xedff66(0x4b2)](_0x5b8cca[_0xedff66(0x458)])===_0x1f0d53[_0xedff66(0x2ab)]['UNIVER_DOC']&&!this['_canEditShape'](_0x5b8cca[_0xedff66(0x458)],_0x5b8cca[_0xedff66(0x240)]))&&(this['_clearPopups'](void 0x0,!0x0),this['_closeShapeEditPanel']());}));}[_0x5936e8(0x2b3)](_0x1a54ff,_0x1c3874,_0x445295,_0x2dcd26){const _0x1609ca=_0x5936e8;return[{'label':'docs-shape-ui.openPanel','index':0x0,'commandId':_0x4bbe2e['id'],'commandParams':{'unitId':_0x1a54ff,'subUnitId':_0x1c3874,'drawingId':_0x445295},'disable':_0x2dcd26===_0x1f0d53[_0x1609ca(0x331)][_0x1609ca(0x49a)]},{'label':_0x1609ca(0x36a),'index':0x1,'commandId':_0x468af2[_0x1609ca(0x247)]['id'],'commandParams':{'unitId':_0x1a54ff,'drawings':[{'unitId':_0x1a54ff,'subUnitId':_0x1c3874,'drawingId':_0x445295}]},'disable':!0x1},{'label':_0x1609ca(0x21c),'index':0x2,'commandId':_0x5d3d74['id'],'commandParams':{'unitId':_0x1a54ff,'subUnitId':_0x1c3874,'drawingId':_0x445295},'disable':!0x1}];}['_initMenu'](){const _0xa2b7ca=_0x5936e8;this[_0xa2b7ca(0x21d)][_0xa2b7ca(0x1a3)](_0x394914);}[_0x5936e8(0x3e1)](_0x3124f4,_0x566d67,_0x3c6549){const _0x4b001e=_0x5936e8;let _0xb982a0=this['_docsShapeService']['getShapeTypeById'](_0x3124f4,_0x566d67,_0x3c6549),_0x362e1e=this[_0x4b001e(0x397)][_0x4b001e(0x2ed)](_0x3124f4,_0x566d67,_0x3c6549);return _0xb982a0===void 0x0||_0x362e1e===void 0x0?null:{'shapeData':_0x362e1e,'shapeId':_0x3c6549,'shapeType':_0xb982a0,'unitId':_0x3124f4,'subUnitId':_0x566d67,'version':this['_shapeEditPanelVersion'],'disableShapeOption':!0x1};}[_0x5936e8(0x394)](_0x43d48d,_0x820697=!0x1){const _0xc5ba69=_0x5936e8;if(_0x43d48d==null){[...this[_0xc5ba69(0x50a)]['keys']()][_0xc5ba69(0x2f3)](_0x3f60fc=>this[_0xc5ba69(0x394)](_0x3f60fc,_0x820697));return;}let _0x246e27=this[_0xc5ba69(0x50a)]['get'](_0x43d48d);if(_0x246e27){for(let _0x35f990=_0x246e27[_0xc5ba69(0x2b1)]-0x1;_0x35f990>=0x0;--_0x35f990){let _0x19dbf0=_0x246e27[_0x35f990];(_0x820697||_0x19dbf0[_0xc5ba69(0x3bc)]())&&(_0x19dbf0['dispose'](),_0x246e27[_0xc5ba69(0x4cf)](_0x35f990,0x1));}_0x246e27[_0xc5ba69(0x2b1)]===0x0&&(this[_0xc5ba69(0x50a)][_0xc5ba69(0x30a)](_0x43d48d),this[_0xc5ba69(0x4df)][_0xc5ba69(0x30a)](_0x43d48d));}}[_0x5936e8(0x1bc)](_0x32273f){const _0x2c650a=_0x5936e8;let _0x27feec=this[_0x2c650a(0x50a)]['get'](_0x32273f);if(_0x27feec)return _0x27feec;let _0x173fb5=[];return this[_0x2c650a(0x50a)][_0x2c650a(0x4fe)](_0x32273f,_0x173fb5),_0x173fb5;}[_0x5936e8(0x1f8)](_0x19365a){const _0x161b0d=_0x5936e8;var _0x538468;let _0x5a3d00=new _0x1f0d53[(_0x161b0d(0x393))](),_0x1534ce=(_0x538468=this[_0x161b0d(0x271)][_0x161b0d(0x31b)](_0x1f0d53[_0x161b0d(0x2ab)][_0x161b0d(0x471)])[_0x161b0d(0x372)](_0x3c34ad=>_0x3c34ad[_0x161b0d(0x307)][_0x161b0d(0x26e)]()===_0x19365a))==null?void 0x0:_0x538468['unitId'];return _0x1534ce&&(_0x5a3d00[_0x161b0d(0x4c8)](_0x19365a['createControl$'][_0x161b0d(0x442)](()=>this[_0x161b0d(0x40a)](_0x19365a,_0x1534ce))),_0x5a3d00['add'](_0x19365a[_0x161b0d(0x1e5)]['subscribe'](()=>{this['_clearPopups'](_0x1534ce),queueMicrotask(()=>{const _0x1b6707=_0x8eb6;_0x19365a[_0x1b6707(0x1c1)]()[_0x1b6707(0x26f)]>0x0||!this[_0x1b6707(0x1e2)][_0x1b6707(0x456)]()[_0x1b6707(0x318)](_0x46a07e=>_0x46a07e[_0x1b6707(0x458)]===_0x1534ce)||(this[_0x1b6707(0x31c)][_0x1b6707(0x4ef)](_0x1f0d53[_0x1b6707(0x4ca)],!0x1),this[_0x1b6707(0x1e2)]['focusDrawing'](null));});})),_0x5a3d00[_0x161b0d(0x4c8)](_0x19365a['changing$'][_0x161b0d(0x442)](()=>{const _0x52eafd=_0x161b0d;this[_0x52eafd(0x394)](_0x1534ce,!0x0);}))),_0x5a3d00;}[_0x5936e8(0x40a)](_0x516e57,_0x2eeab7){const _0x38ff65=_0x5936e8;let _0x15a1b1=_0x516e57['getSelectedObjectMap']();if(this[_0x38ff65(0x1aa)]){this['_clearPopups'](_0x2eeab7,!0x0);return;}if(_0x15a1b1[_0x38ff65(0x26f)]>0x1){this['_clearPopups'](_0x2eeab7);return;}let _0x496a80=_0x15a1b1[_0x38ff65(0x21a)]()[_0x38ff65(0x420)]()[_0x38ff65(0x3ca)];if(!_0x496a80){this[_0x38ff65(0x394)](_0x2eeab7);return;}let _0x4f95c2=this[_0x38ff65(0x1e2)][_0x38ff65(0x2fc)](_0x496a80['oKey']);if(!_0x4f95c2||_0x4f95c2[_0x38ff65(0x486)]!==_0x1f0d53['DrawingTypeEnum'][_0x38ff65(0x39d)]){this[_0x38ff65(0x394)](_0x2eeab7);return;}let {unitId:_0x3572c2,subUnitId:_0xbe59eb,drawingId:_0x572134}=_0x4f95c2;if(!this[_0x38ff65(0x243)](_0x3572c2,_0x572134)){this[_0x38ff65(0x394)](_0x2eeab7,!0x0);return;}let _0xaf9f71=this[_0x38ff65(0x3e1)](_0x3572c2,_0xbe59eb,_0x572134);if(!_0xaf9f71){this['_clearPopups'](_0x2eeab7);return;}let _0x110962=this[_0x38ff65(0x50a)][_0x38ff65(0x22c)](_0x2eeab7),_0x157aa3=_0x3572c2+':'+_0xbe59eb+':'+_0x572134;if(this[_0x38ff65(0x4df)]['get'](_0x2eeab7)===_0x157aa3&&_0x110962!=null&&_0x110962[_0x38ff65(0x2b1)])return;this[_0x38ff65(0x394)](_0x2eeab7);let _0x142df4=this[_0x38ff65(0x271)][_0x38ff65(0x246)](_0x3572c2),_0x4c8fa3=((_0x142df4==null?void 0x0:_0x142df4[_0x38ff65(0x4bf)])===!0x1?_0x142df4[_0x38ff65(0x407)](_0x4fb755[_0x38ff65(0x37a)]):this[_0x38ff65(0x41f)])[_0x38ff65(0x4da)](_0x496a80,this['_getShapePopup'](_0xaf9f71,()=>this[_0x38ff65(0x394)](_0x2eeab7,!0x0)),_0x3572c2);this[_0x38ff65(0x487)](_0x4c8fa3),this[_0x38ff65(0x1bc)](_0x2eeab7)[_0x38ff65(0x2a4)](_0x4c8fa3),this[_0x38ff65(0x4df)]['set'](_0x2eeab7,_0x157aa3),this[_0x38ff65(0x1e2)][_0x38ff65(0x456)]()[_0x38ff65(0x318)](_0xd05549=>_0xd05549[_0x38ff65(0x458)]===_0x3572c2&&_0xd05549[_0x38ff65(0x384)]===_0xbe59eb&&_0xd05549[_0x38ff65(0x240)]===_0x572134)||this[_0x38ff65(0x1e2)][_0x38ff65(0x4c4)]([{'unitId':_0x3572c2,'subUnitId':_0xbe59eb,'drawingId':_0x572134}]);}[_0x5936e8(0x42b)](_0x32940f,_0x326605){const _0x2a3302=_0x5936e8;let {unitId:_0x5878da,subUnitId:_0x34910d,shapeId:_0x3e4178}=_0x32940f,_0x1260f6={'hostType':_0x1f0d53[_0x2a3302(0x2ab)][_0x2a3302(0x471)],'unitId':_0x5878da,'subUnitId':_0x34910d,'shapeId':_0x3e4178};return{'componentKey':_0x2df62f,'requiresStableLayout':!0x1,'direction':_0x2a3302(0x22f),'offset':[0x0,0x8],'extraProps':{'shapeType':_0x32940f[_0x2a3302(0x329)],'onText':()=>{const _0x556c50=_0x2a3302;_0x326605(),this['_mobileEditorService'][_0x556c50(0x328)](_0x556c50(0x46a),_0x1260f6);},'onStyle':()=>{const _0x5c1e64=_0x2a3302;_0x326605(),this['_mobileEditorService'][_0x5c1e64(0x328)](_0x5c1e64(0x1a7),_0x1260f6);},'onDelete':()=>this['_commandService']['executeCommand'](_0x468af2[_0x2a3302(0x247)]['id'],{'unitId':_0x5878da,'drawings':[{'unitId':_0x5878da,'subUnitId':_0x34910d,'drawingId':_0x3e4178}]})}};}[_0x5936e8(0x243)](_0x6c9018,_0xd508ee){const _0x1e8f58=_0x5936e8;let _0x50c528=this['_univerInstanceService'][_0x1e8f58(0x4c9)](_0x6c9018,_0x1f0d53['UniverInstanceType'][_0x1e8f58(0x471)]);if(!_0x50c528)return!0x1;let _0x113e9b=(0x0,_0x1d5dc9['getDocumentDrawingSegmentId'])(_0x50c528,_0xd508ee);return(0x0,_0x1d5dc9[_0x1e8f58(0x18b)])(this[_0x1e8f58(0x221)],_0x6c9018,[...(0x0,_0x1d5dc9[_0x1e8f58(0x4d7)])(_0x50c528,_0x113e9b,_0x1e8f58(0x436),_0xd508ee),(0x0,_0x1d5dc9[_0x1e8f58(0x351)])(_0x113e9b,_0x1e8f58(0x436),_0xd508ee)]);}[_0x5936e8(0x2d5)](){const _0x312db8=_0x5936e8;this[_0x312db8(0x487)](this['_commandService'][_0x312db8(0x25a)](_0x4e896e=>{const _0x497122=_0x312db8;if(_0x4e896e['id']===_0x4bbe2e['id']){let {unitId:_0x12034c,subUnitId:_0x4b1456,drawingId:_0x52ec74}=_0x4e896e['params'];this[_0x497122(0x1de)]+=0x1,this[_0x497122(0x495)]=this[_0x497122(0x3e1)](_0x12034c,_0x4b1456,_0x52ec74),this['_clearPopups'](void 0x0,!0x0),this[_0x497122(0x47f)]();}if(_0x4e896e['id']===_0x5d3d74['id']&&(this[_0x497122(0x495)]=null,this[_0x497122(0x4fd)]()),_0x4e896e['id']===_0x3a18ad['UpdateDocShapeDataMutation']['id']){var _0x474270;let {unitId:_0x58f410,shapeId:_0x131457}=_0x4e896e[_0x497122(0x41a)];if(((_0x474270=this[_0x497122(0x495)])==null?void 0x0:_0x474270[_0x497122(0x4b8)])===_0x131457){let _0x15cc46=this['_getShapeInfo'](_0x58f410,this[_0x497122(0x495)]['subUnitId'],_0x131457);_0x15cc46&&(this['_shapeEditPanelVersion']+=0x1,_0x15cc46[_0x497122(0x2ba)]=this[_0x497122(0x1de)],this[_0x497122(0x495)]=_0x15cc46,this[_0x497122(0x1aa)]&&this['_openShapeEditPanel']());}}})),this[_0x312db8(0x487)](this['_drawingManagerService'][_0x312db8(0x4b1)]['subscribe'](_0x58db06=>{const _0x17dc3c=_0x312db8;if(!this[_0x17dc3c(0x1aa)])return;if(_0x58db06[_0x17dc3c(0x2b1)]===0x0){this[_0x17dc3c(0x495)]=null,this[_0x17dc3c(0x4fd)]();return;}if(_0x58db06[_0x17dc3c(0x2b1)]===0x1&&_0x58db06[0x0][_0x17dc3c(0x486)]===_0x1f0d53[_0x17dc3c(0x331)][_0x17dc3c(0x39d)]&&(this[_0x17dc3c(0x1de)]+=0x1,this['_activeShapeInfo']=this[_0x17dc3c(0x3e1)](_0x58db06[0x0][_0x17dc3c(0x458)],_0x58db06[0x0][_0x17dc3c(0x384)],_0x58db06[0x0][_0x17dc3c(0x240)]),this[_0x17dc3c(0x495)])){this[_0x17dc3c(0x47f)]();return;}let _0x5863ed=_0x58db06[_0x17dc3c(0x21f)](_0x57140b=>_0x57140b[_0x17dc3c(0x486)]===_0x1f0d53[_0x17dc3c(0x331)][_0x17dc3c(0x39d)]);this[_0x17dc3c(0x1de)]+=0x1,this['_activeShapeInfo']=this[_0x17dc3c(0x3e1)](_0x58db06[0x0]['unitId'],_0x58db06[0x0][_0x17dc3c(0x384)],_0x58db06[0x0][_0x17dc3c(0x240)]),this[_0x17dc3c(0x495)]&&_0x58db06['length']>0x1&&_0x5863ed[_0x17dc3c(0x2b1)]===_0x58db06['length']?this[_0x17dc3c(0x47f)]():this[_0x17dc3c(0x495)]&&_0x5863ed[_0x17dc3c(0x2b1)]!==_0x58db06[_0x17dc3c(0x2b1)]?(this['_activeShapeInfo'][_0x17dc3c(0x25f)]=!0x0,this[_0x17dc3c(0x47f)]()):this[_0x17dc3c(0x4fd)]();}));}[_0x5936e8(0x47f)](){const _0x97c423=_0x5936e8;this['_activeShapeInfo']&&(this['_sidebarDisposable']=this['_sidebarService'][_0x97c423(0x328)]({'id':_0x33cbc8,'header':{'title':this[_0x97c423(0x3a3)]['t']('docs-shape-ui.formatShape')},'width':0x184,'children':{'label':_0x33cbc8,...this[_0x97c423(0x495)]},'onClose':()=>{const _0x26725a=_0x97c423;this[_0x26725a(0x1e2)][_0x26725a(0x4c4)](null),this[_0x26725a(0x31c)][_0x26725a(0x4ef)](_0x1f0d53['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x26725a(0x508)]=null;}}),this[_0x97c423(0x1aa)]=!0x0);}[_0x5936e8(0x4fd)](){const _0x1dd153=_0x5936e8;this[_0x1dd153(0x1aa)]=!0x1,this['_sidebarService']['close'](_0x33cbc8),this['_sidebarDisposable']=null,this[_0x1dd153(0x31c)][_0x1dd153(0x4ef)](_0x1f0d53[_0x1dd153(0x4ca)],!0x1),this['_drawingManagerService']['focusDrawing'](null);}};_0x529e7f=_0x348fea([_0x570e4a(0x0,_0x1f0d53['IUniverInstanceService']),_0x570e4a(0x1,(0x0,_0x1f0d53['Inject'])(_0x17ddbe[_0x5936e8(0x3cd)])),_0x570e4a(0x2,_0x17ddbe[_0x5936e8(0x25d)]),_0x570e4a(0x3,(0x0,_0x1f0d53['Inject'])(_0x3a18ad[_0x5936e8(0x39c)])),_0x570e4a(0x4,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x1f0d53['LocaleService'])),_0x570e4a(0x5,_0x1f0d53[_0x5936e8(0x298)]),_0x570e4a(0x6,_0x1b10bd[_0x5936e8(0x224)]),_0x570e4a(0x7,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x4fb755['DocCanvasPopManagerService'])),_0x570e4a(0x8,_0x2de297[_0x5936e8(0x434)]),_0x570e4a(0x9,_0x1f0d53[_0x5936e8(0x413)]),_0x570e4a(0xa,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x3e3971)),_0x570e4a(0xb,_0x1f0d53['IPermissionService']),_0x570e4a(0xc,(0x0,_0x1f0d53['Inject'])(_0x49227b[_0x5936e8(0x455)]))],_0x529e7f);let _0x3db13c='docs-shape-contextual-ribbon',_0x79c20b=class extends _0x1f0d53[_0x5936e8(0x1dc)]{constructor(_0x195997,_0x4c4401,_0x2680e2,_0x39130f,_0x1b1399,_0x2031bb){const _0x338813=_0x5936e8;super(),this['_menuManagerService']=_0x195997,this['_ribbonService']=_0x4c4401,this[_0x338813(0x1e2)]=_0x2680e2,this[_0x338813(0x391)]=_0x39130f,this['_renderManagerService']=_0x1b1399,this['_shapeFloatingToolbarService']=_0x2031bb,_0x3f767d(this,_0x338813(0x285),!0x1),this[_0x338813(0x21d)]['mergeMenu'](_0x138f4a),this['disposeWithMe']((0x0,_0x1f0d53[_0x338813(0x296)])(this[_0x338813(0x1e2)][_0x338813(0x4b1)]['subscribe'](()=>this[_0x338813(0x1ee)]()))),this[_0x338813(0x1ee)]();}[_0x5936e8(0x342)](){const _0x565524=_0x5936e8;this['_shapeFloatingToolbarService'][_0x565524(0x4a6)](!0x1,_0x3db13c),this['_hide'](),super[_0x565524(0x342)]();}[_0x5936e8(0x1ee)](){const _0x12c460=_0x5936e8;var _0x110adb;let _0x2f5fab=this[_0x12c460(0x1e2)][_0x12c460(0x456)](),_0x3d3f9e=_0x2f5fab[_0x12c460(0x2b1)]===0x1?_0x2f5fab[0x0]:void 0x0;if((_0x3d3f9e==null?void 0x0:_0x3d3f9e[_0x12c460(0x486)])!==_0x1f0d53[_0x12c460(0x331)][_0x12c460(0x39d)]||this[_0x12c460(0x391)][_0x12c460(0x4b2)](_0x3d3f9e['unitId'])!==_0x1f0d53['UniverInstanceType'][_0x12c460(0x471)]){this['_shapeFloatingToolbarService']['setFallbackVisible'](!0x1,_0x3db13c),this[_0x12c460(0x3d8)]();return;}let _0x460c00=(_0x110adb=this['_renderManagerService'][_0x12c460(0x246)](_0x3d3f9e['unitId']))==null?void 0x0:_0x110adb['engine'][_0x12c460(0x3d4)](),_0xd4a12d=(0x0,_0x49227b[_0x12c460(0x28b)])(_0x460c00)==='isolated';this['_shapeFloatingToolbarService'][_0x12c460(0x4a6)](_0xd4a12d,_0x3db13c),_0xd4a12d?this[_0x12c460(0x3d8)]():(this['_visible']=!0x0,this['_ribbonService'][_0x12c460(0x2ad)](_0x4a26b7,{'activate':!0x0}));}[_0x5936e8(0x3d8)](){const _0xcb741a=_0x5936e8;this[_0xcb741a(0x285)]&&(this['_visible']=!0x1,this['_ribbonService']['hideContextualTab'](_0x4a26b7),this[_0xcb741a(0x479)]['setCollapsedIds']([]));}};_0x79c20b=_0x348fea([_0x570e4a(0x0,_0x17ddbe['IMenuManagerService']),_0x570e4a(0x1,_0x17ddbe['IRibbonService']),_0x570e4a(0x2,_0x1b10bd[_0x5936e8(0x224)]),_0x570e4a(0x3,_0x1f0d53[_0x5936e8(0x474)]),_0x570e4a(0x4,_0x2de297[_0x5936e8(0x434)]),_0x570e4a(0x5,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x49227b['ShapeFloatingToolbarService']))],_0x79c20b);let _0x5264e0=class extends _0x1f0d53['Disposable']{constructor(_0x2ab102,_0x3ebb98,_0x394d25,_0x10d595){const _0x353130=_0x5936e8;super(),this[_0x353130(0x500)]=_0x2ab102,this[_0x353130(0x271)]=_0x3ebb98,this[_0x353130(0x1e2)]=_0x394d25,this[_0x353130(0x1a5)]=_0x10d595,this[_0x353130(0x1b1)]();}['_initialize'](){const _0x5cd76e=_0x5936e8;this[_0x5cd76e(0x487)](this[_0x5cd76e(0x1e2)][_0x5cd76e(0x406)][_0x5cd76e(0x442)](_0x24a3d5=>this[_0x5cd76e(0x4f3)](_0x24a3d5))),this[_0x5cd76e(0x487)](this['_drawingManagerService'][_0x5cd76e(0x3a2)]['subscribe'](_0x5f4313=>{const _0x14bcdd=_0x5cd76e;_0x5f4313[_0x14bcdd(0x2f3)](_0x4375c7=>this['_updateShape'](_0x4375c7));})),this[_0x5cd76e(0x487)](this[_0x5cd76e(0x500)]['onCommandExecuted'](_0x21ff6d=>{const _0x16a0a7=_0x5cd76e;if(_0x21ff6d['id']!==_0x3a18ad[_0x16a0a7(0x338)]['id'])return;let {unitId:_0x4c7472,shapeId:_0x452b9d}=_0x21ff6d[_0x16a0a7(0x41a)];this[_0x16a0a7(0x18e)]({'unitId':_0x4c7472,'subUnitId':_0x4c7472,'drawingId':_0x452b9d});}));}['_insertShapes'](_0x4ab705){const _0x516b01=_0x5936e8;_0x4ab705[_0x516b01(0x2f3)](_0x10fe1c=>{const _0x2da2da=_0x516b01;let _0x22230c=this[_0x2da2da(0x324)](_0x10fe1c['unitId']);if(!_0x22230c)return;let _0x55e5df=this[_0x2da2da(0x1e2)][_0x2da2da(0x44c)](_0x10fe1c);(_0x55e5df==null?void 0x0:_0x55e5df[_0x2da2da(0x486)])===_0x1f0d53[_0x2da2da(0x331)][_0x2da2da(0x39d)]&&this[_0x2da2da(0x1a5)][_0x2da2da(0x4b7)](_0x55e5df,_0x22230c[_0x2da2da(0x307)]);});}['_updateShape'](_0xf6c3a){const _0x1eece3=_0x5936e8;let _0x2594a0=this[_0x1eece3(0x1e2)][_0x1eece3(0x44c)](_0xf6c3a);if((_0x2594a0==null?void 0x0:_0x2594a0[_0x1eece3(0x486)])!==_0x1f0d53[_0x1eece3(0x331)]['DRAWING_SHAPE'])return;let _0x13d9fa=this['_getSceneByUnitId'](_0xf6c3a['unitId']);if(!_0x13d9fa||_0x2594a0['transform']==null)return;let _0x287953=(0x0,_0x1b10bd[_0x1eece3(0x2fe)])(_0xf6c3a),_0x1afe92=_0x13d9fa[_0x1eece3(0x307)][_0x1eece3(0x410)](_0x287953);_0x1afe92&&(_0x1afe92[_0x1eece3(0x4b5)](_0x2594a0['srcRect']),_0x1afe92['setPrstGeom'](_0x2594a0[_0x1eece3(0x40d)]),_0x1afe92[_0x1eece3(0x446)](!0x0));}[_0x5936e8(0x18e)](_0x23f262){const _0x539352=_0x5936e8;let _0x489187=this[_0x539352(0x324)](_0x23f262[_0x539352(0x458)]);if(!_0x489187)return;let _0x20e876=(0x0,_0x1b10bd[_0x539352(0x2fe)])(_0x23f262),_0x2b1b7f=_0x489187[_0x539352(0x307)][_0x539352(0x410)](_0x20e876);_0x2b1b7f&&(this[_0x539352(0x1a5)][_0x539352(0x2eb)](_0x2b1b7f),this[_0x539352(0x1a5)][_0x539352(0x29e)](_0x2b1b7f,{'unitId':_0x23f262['unitId'],'subUnitId':_0x23f262[_0x539352(0x384)],'shapeId':_0x23f262[_0x539352(0x240)]}),_0x2b1b7f[_0x539352(0x446)](!0x0));}[_0x5936e8(0x324)](_0xaed233){const _0x46c497=_0x5936e8;if(_0xaed233==null)return null;let _0x5e0e81=this['_renderManagerService']['getRenderUnitById'](_0xaed233),_0x108316=_0x5e0e81==null?void 0x0:_0x5e0e81[_0x46c497(0x307)];return _0x108316==null?null:{'scene':_0x108316};}};_0x5264e0=_0x348fea([_0x570e4a(0x0,_0x1f0d53[_0x5936e8(0x298)]),_0x570e4a(0x1,_0x2de297[_0x5936e8(0x434)]),_0x570e4a(0x2,_0x1b10bd[_0x5936e8(0x224)]),_0x570e4a(0x3,(0x0,_0x1f0d53['Inject'])(_0x511fb8))],_0x5264e0);let _0x3019be=class extends _0x1f0d53[_0x5936e8(0x1d6)]{constructor(_0x29a25f=_0x599d43,_0x357503,_0x241fdc,_0xb13c59,_0x2103e4){const _0x51f914=_0x5936e8;super(),this[_0x51f914(0x29d)]=_0x29a25f,this['_injector']=_0x357503,this[_0x51f914(0x500)]=_0x241fdc,this[_0x51f914(0x216)]=_0xb13c59,this['_renderManagerService']=_0x2103e4;let {menu:_0x3ae748,..._0x43b76f}=(0x0,_0x1f0d53[_0x51f914(0x1a1)])({},_0x599d43,this[_0x51f914(0x29d)]);_0x3ae748&&this[_0x51f914(0x216)]['setConfig'](_0x51f914(0x4f1),_0x3ae748,{'merge':!0x0}),this[_0x51f914(0x216)][_0x51f914(0x408)](_0x286ff0,_0x43b76f),[_0x5dc3f0,_0x5d3d74,_0x4bbe2e,_0x1ac0f7,_0x3c67d5,_0x5116cf][_0x51f914(0x2f3)](_0x58ae6c=>this[_0x51f914(0x487)](this[_0x51f914(0x500)][_0x51f914(0x3fd)](_0x58ae6c)));}[_0x5936e8(0x3c1)](){const _0x355659=_0x5936e8;let _0x4111ea=[[_0x5ac066],[_0x529e7f],[_0x5264e0],[_0x511fb8],[_0x1e8cf3],[_0x8ad386],[_0x31289f],[_0x212450],[_0x3e3971],[_0x79c20b]];(0x0,_0x1f0d53[_0x355659(0x220)])(this[_0x355659(0x233)],_0x4111ea),this['_injector']['get'](_0x5ac066);}[_0x5936e8(0x32f)](){const _0xce7987=_0x5936e8;this[_0xce7987(0x487)](this['_renderManagerService']['registerRenderModule'](_0x1f0d53[_0xce7987(0x2ab)][_0xce7987(0x471)],[_0x8ad386])),(0x0,_0x1f0d53[_0xce7987(0x444)])(this[_0xce7987(0x233)],[[_0x529e7f],[_0x5264e0],[_0x511fb8],[_0x1e8cf3],[_0x31289f],[_0x212450],[_0x3e3971],[_0x79c20b]]);}};_0x3f767d(_0x3019be,_0x5936e8(0x481),_0x1f0d53['UniverInstanceType'][_0x5936e8(0x471)]),_0x3f767d(_0x3019be,_0x5936e8(0x2b6),_0x5936e8(0x447)),_0x3f767d(_0x3019be,_0x5936e8(0x194),_0x3fc22f),_0x3f767d(_0x3019be,_0x5936e8(0x2ba),_0x54ac81),_0x3019be=_0x348fea([(0x0,_0x1f0d53[_0x5936e8(0x1b3)])(_0x2f7626[_0x5936e8(0x27a)],_0x1d5dc9[_0x5936e8(0x1ab)],_0x1b10bd['UniverDrawingPlugin'],_0x1b3d5c['UniverDrawingMobileUIPlugin'],_0x2de297[_0x5936e8(0x337)],_0x4fb755[_0x5936e8(0x26d)],_0x5e0109[_0x5936e8(0x185)],_0x9fb89c[_0x5936e8(0x22b)],_0x3a18ad[_0x5936e8(0x1ca)],_0x49227b['UniverShapeEditorMobileUIPlugin']),_0x570e4a(0x1,(0x0,_0x1f0d53['Inject'])(_0x1f0d53[_0x5936e8(0x431)])),_0x570e4a(0x2,_0x1f0d53[_0x5936e8(0x298)]),_0x570e4a(0x3,_0x1f0d53[_0x5936e8(0x4ce)]),_0x570e4a(0x4,_0x2de297[_0x5936e8(0x434)])],_0x3019be);let _0x50f8ec=class extends _0x1f0d53[_0x5936e8(0x1dc)]{constructor(_0x1c5282,_0x18a332){const _0x1bdd89=_0x5936e8;super(),this['_componentManager']=_0x1c5282,this[_0x1bdd89(0x4a4)]=_0x18a332,this['_registerIcons'](),this[_0x1bdd89(0x3f1)]();}[_0x5936e8(0x3da)](){const _0x2a226a=_0x5936e8;this[_0x2a226a(0x4a4)]['has'](_0x2a226a(0x1eb))||this[_0x2a226a(0x487)](this[_0x2a226a(0x4a4)]['register']({'ObjectLayersIcon':_0x4699fe})),this['_iconManager'][_0x2a226a(0x1f7)]('BottomIcon')||this[_0x2a226a(0x487)](this['_iconManager'][_0x2a226a(0x373)]({'BottomIcon':_0x258f24})),this['_iconManager'][_0x2a226a(0x1f7)](_0x2a226a(0x362))||this[_0x2a226a(0x487)](this[_0x2a226a(0x4a4)]['register']({'MoveDownIcon':_0x5e0d23})),this[_0x2a226a(0x4a4)][_0x2a226a(0x1f7)](_0x2a226a(0x1df))||this['disposeWithMe'](this['_iconManager'][_0x2a226a(0x373)]({'MoveUpIcon':_0x41667e})),this[_0x2a226a(0x4a4)][_0x2a226a(0x1f7)]('ShapeFormatSettingIcon')||this[_0x2a226a(0x487)](this[_0x2a226a(0x4a4)][_0x2a226a(0x373)]({'ShapeFormatSettingIcon':_0x4813c5})),this['_iconManager'][_0x2a226a(0x1f7)](_0x2a226a(0x345))||this[_0x2a226a(0x487)](this[_0x2a226a(0x4a4)][_0x2a226a(0x373)]({'TopmostIcon':_0x4cfda8})),this[_0x2a226a(0x487)](this[_0x2a226a(0x4a4)][_0x2a226a(0x373)](_0x3fe0b9));}[_0x5936e8(0x3f1)](){const _0x5f4a79=_0x5936e8;this[_0x5f4a79(0x487)](this[_0x5f4a79(0x398)][_0x5f4a79(0x373)](_0x33cbc8,_0x1fa60a)),this['disposeWithMe'](this['_componentManager']['register'](_0x2f3622,_0x362e91)),this['disposeWithMe'](this[_0x5f4a79(0x398)][_0x5f4a79(0x373)](_0x2df62f,_0x5f7f1f)),this['disposeWithMe'](this['_componentManager'][_0x5f4a79(0x373)](_0x369dfe,_0x27cbef)),this['disposeWithMe'](this[_0x5f4a79(0x398)][_0x5f4a79(0x373)](_0x5a7f89,_0x4edd4a)),this[_0x5f4a79(0x487)](this[_0x5f4a79(0x398)][_0x5f4a79(0x373)](_0x4c6bd2,_0x23ba1c)),this[_0x5f4a79(0x487)](this[_0x5f4a79(0x398)]['register'](_0xaa2613,_0xa256a4)),this[_0x5f4a79(0x487)](this[_0x5f4a79(0x398)][_0x5f4a79(0x373)](_0x3cd69e,_0x20ddd2)),this[_0x5f4a79(0x487)](this[_0x5f4a79(0x398)][_0x5f4a79(0x373)](_0x54e3e8,_0x49227b[_0x5f4a79(0x494)])),this[_0x5f4a79(0x487)](this[_0x5f4a79(0x398)][_0x5f4a79(0x373)](_0x11dc99,_0x16b51e)),this[_0x5f4a79(0x487)](this[_0x5f4a79(0x398)][_0x5f4a79(0x373)](_0xb8ab1f,_0xe0be09)),this[_0x5f4a79(0x398)][_0x5f4a79(0x25b)](_0x1b3d5c[_0x5f4a79(0x2b4)])||this[_0x5f4a79(0x487)](this[_0x5f4a79(0x398)]['register'](_0x1b3d5c[_0x5f4a79(0x2b4)],_0xbfcf2a)),this[_0x5f4a79(0x487)](this['_componentManager'][_0x5f4a79(0x373)](_0x3006fa,_0x1ea311));}};_0x50f8ec=_0x348fea([_0x570e4a(0x0,(0x0,_0x1f0d53['Inject'])(_0x17ddbe[_0x5936e8(0x33a)])),_0x570e4a(0x1,(0x0,_0x1f0d53['Inject'])(_0x17ddbe[_0x5936e8(0x2b7)]))],_0x50f8ec);let _0xf9ce1d=class extends _0x1f0d53[_0x5936e8(0x1dc)]{constructor(_0x2717d9,_0x4a06ac,_0x3ca9d3,_0x4039d8,_0xa9701d,_0x3b3cff,_0x5bbc5a,_0x3e36fc,_0x555368){const _0x4e6e57=_0x5936e8;super();let _0x4c1bcc=_0xfca55=>{const _0x15c576=_0x8eb6;let _0xbbd0f4=_0x3b3cff['getUnit'](_0xfca55[_0x15c576(0x458)],_0x1f0d53[_0x15c576(0x2ab)][_0x15c576(0x471)]),_0x19a710=_0xbbd0f4?(0x0,_0x1d5dc9[_0x15c576(0x186)])(_0xbbd0f4,_0xfca55[_0x15c576(0x4b8)]):'';return!!_0xbbd0f4&&(0x0,_0x1d5dc9['canEditDocumentTargets'])(_0x3e36fc,_0xfca55[_0x15c576(0x458)],[(0x0,_0x1d5dc9[_0x15c576(0x351)])(_0x19a710,'drawing',_0xfca55[_0x15c576(0x4b8)]),...(0x0,_0x1d5dc9[_0x15c576(0x4d7)])(_0xbbd0f4,_0x19a710,_0x15c576(0x436),_0xfca55[_0x15c576(0x4b8)])]);},_0xe7af80=_0x34d8a9=>_0x34d8a9[_0x4e6e57(0x4b8)]&&_0x4c1bcc(_0x34d8a9)?_0x3ca9d3[_0x4e6e57(0x2ed)](_0x34d8a9[_0x4e6e57(0x458)],_0x34d8a9[_0x4e6e57(0x4b8)])??null:null,_0x1aff0e=()=>{const _0x3ae8b0=_0x4e6e57;let _0x42f084=_0xa9701d['getFocusDrawings'](),_0x1783f6=_0x42f084[_0x3ae8b0(0x2b1)]===0x1?_0x42f084[0x0]:null;return(_0x1783f6==null?void 0x0:_0x1783f6[_0x3ae8b0(0x486)])===_0x1f0d53[_0x3ae8b0(0x331)][_0x3ae8b0(0x39d)]&&_0x1783f6[_0x3ae8b0(0x458)]===_0x2717d9['unitId']?{'unitId':_0x1783f6['unitId'],'subUnitId':_0x1783f6[_0x3ae8b0(0x384)],'shapeId':_0x1783f6[_0x3ae8b0(0x240)]}:null;};this[_0x4e6e57(0x487)]((0x0,_0x49227b[_0x4e6e57(0x311)])(_0x2717d9,_0x4a06ac,{'changes$':(0x0,_0x50deea[_0x4e6e57(0x1a1)])(_0xa9701d[_0x4e6e57(0x4b1)],_0x4039d8[_0x4e6e57(0x3af)],_0x3e36fc[_0x4e6e57(0x1ae)]),'isActive':()=>{const _0x383aaa=_0x4e6e57;var _0x904675;return((_0x904675=_0x3b3cff['getFocusedUnit']())==null?void 0x0:_0x904675['getUnitId']())===_0x2717d9['unitId']&&!_0x5bbc5a[_0x383aaa(0x4d8)](_0x1f0d53[_0x383aaa(0x3f7)])&&_0xa9701d[_0x383aaa(0x456)]()[_0x383aaa(0x318)](_0x3c2978=>_0x3c2978['unitId']===_0x2717d9[_0x383aaa(0x458)]);},'getSelectedTarget':_0x1aff0e,'getSource':()=>{let _0x50ab49=_0x1aff0e();return _0x50ab49?_0xe7af80(_0x50ab49):null;},'getTarget':_0x227ece=>{const _0x43f715=_0x4e6e57;let _0x5d3f7e=_0x2717d9[_0x43f715(0x307)][_0x43f715(0x1a8)](new _0x2de297[(_0x43f715(0x424))](_0x227ece[_0x43f715(0x3a5)],_0x227ece[_0x43f715(0x250)]));if(!(_0x5d3f7e instanceof _0x22f474))return null;let _0x46a8c1={'unitId':_0x2717d9[_0x43f715(0x458)],'subUnitId':_0x2717d9[_0x43f715(0x458)],'shapeId':_0x5d3f7e[_0x43f715(0x4b8)]};return _0x4c1bcc(_0x46a8c1)?_0x46a8c1:null;},'getShape':_0xe7af80,'update':(_0x3d2df6,_0x1b94a4,_0x4f7e15)=>_0x555368[_0x4e6e57(0x502)](_0x3a18ad[_0x4e6e57(0x1c0)]['id'],{..._0x3d2df6,'shapeData':_0x4f7e15,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x1b94a4}})}));}};_0xf9ce1d=_0x348fea([_0x570e4a(0x1,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x17ddbe['FormatPainterSessionService'])),_0x570e4a(0x2,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x3a18ad[_0x5936e8(0x39c)])),_0x570e4a(0x3,(0x0,_0x1f0d53['Inject'])(_0x3e3971)),_0x570e4a(0x4,_0x1b10bd[_0x5936e8(0x224)]),_0x570e4a(0x5,_0x1f0d53[_0x5936e8(0x474)]),_0x570e4a(0x6,_0x1f0d53[_0x5936e8(0x413)]),_0x570e4a(0x7,_0x1f0d53['IPermissionService']),_0x570e4a(0x8,_0x1f0d53['ICommandService'])],_0xf9ce1d);function _0x24dd80(_0x3b6749,_0x16f090){const _0x15a982=_0x5936e8;let _0xb9fa43=_0x3b6749;for(;_0xb9fa43;){if(_0x16f090(_0xb9fa43))return _0xb9fa43;_0xb9fa43=typeof _0xb9fa43[_0x15a982(0x2f4)]==_0x15a982(0x418)?_0xb9fa43[_0x15a982(0x2f4)]():null;}return null;}function _0x570b06(_0x4c413f){return _0x24dd80(_0x4c413f,_0xfddce8=>_0xfddce8 instanceof _0x22f474);}function _0x2252bb(_0x1d8e6f){const _0x1f0f4b=_0x5936e8;return(_0x1d8e6f==null?void 0x0:_0x1d8e6f[_0x1f0f4b(0x1e0)])==null;}let _0x4ed37a=class extends _0x1f0d53[_0x5936e8(0x1dc)]{constructor(_0x45f02b,_0x2bbf29,_0x508d0d,_0x360f0a,_0x2cb72c){const _0x39b3cd=_0x5936e8;super(),this[_0x39b3cd(0x2dc)]=_0x45f02b,this[_0x39b3cd(0x304)]=_0x2bbf29,this[_0x39b3cd(0x1e2)]=_0x508d0d,this[_0x39b3cd(0x382)]=_0x360f0a,this['_docsShapeService']=_0x2cb72c,_0x3f767d(this,_0x39b3cd(0x1a0),null),_0x3f767d(this,'_layoutInteraction',null),this['_initEvents'](),this[_0x39b3cd(0x3a4)](),this[_0x39b3cd(0x1b8)]();}[_0x5936e8(0x342)](){const _0x7cd9cd=_0x5936e8;this['_endLayoutInteraction'](),super[_0x7cd9cd(0x342)]();}[_0x5936e8(0x417)](){const _0x222691=_0x5936e8;let {scene:_0x39bb21}=this['_context'];this[_0x222691(0x487)](_0x39bb21[_0x222691(0x4e6)]['subscribeEvent']((_0x2c438c,_0x2028fb)=>{const _0x2d4962=_0x222691;let {offsetX:_0x3ba76d,offsetY:_0x1a4ff4}=_0x2c438c,_0x53289a=_0x2de297[_0x2d4962(0x424)][_0x2d4962(0x1c8)]([_0x3ba76d,_0x1a4ff4]),_0x426263=_0x570b06(_0x39bb21[_0x2d4962(0x1a8)](_0x53289a))??this[_0x2d4962(0x29a)](_0x53289a);if(_0x426263){_0x2028fb['stopPropagation']();let _0x3abbd8=this[_0x2d4962(0x397)]['getShapeModel'](_0x426263[_0x2d4962(0x458)],_0x426263[_0x2d4962(0x384)],_0x426263[_0x2d4962(0x4b8)]);if(!_0x3abbd8||(0x0,_0x14b8aa['isConnectorShape'])(_0x3abbd8[_0x2d4962(0x2de)]())||!_0x2252bb(_0x3abbd8['getShapeData']()))return;this['_shapeTextEditingService'][_0x2d4962(0x4ac)]({'visible':!0x0,'unitId':_0x426263[_0x2d4962(0x458)],'subUnitId':_0x426263[_0x2d4962(0x384)],'shapeId':_0x426263['shapeId'],'shapeKey':_0x426263[_0x2d4962(0x3e3)]});}}));}[_0x5936e8(0x29a)](_0x146d11){const _0xfcdbaf=_0x5936e8;let {scene:_0x5afd4f}=this[_0xfcdbaf(0x2dc)];return this[_0xfcdbaf(0x1e2)][_0xfcdbaf(0x456)]()[_0xfcdbaf(0x2e6)](_0x5836d6=>_0x5afd4f[_0xfcdbaf(0x410)]((0x0,_0x1b10bd[_0xfcdbaf(0x2fe)])(_0x5836d6)))[_0xfcdbaf(0x372)](_0x26c4ae=>_0x26c4ae instanceof _0x22f474&&_0x26c4ae[_0xfcdbaf(0x2a2)](_0x146d11))??null;}[_0x5936e8(0x3a4)](){const _0x5702dc=_0x5936e8;this['disposeWithMe'](this['_drawingManagerService'][_0x5702dc(0x4b1)][_0x5702dc(0x442)](_0x3050e5=>{const _0x519844=_0x5702dc;if(_0x3050e5[_0x519844(0x2b1)]===0x1){let _0x1a3f9a=_0x3050e5[0x0],_0x271b0c=this['_drawingManagerService'][_0x519844(0x44c)](_0x1a3f9a);if((_0x271b0c==null?void 0x0:_0x271b0c[_0x519844(0x486)])===_0x1f0d53[_0x519844(0x331)]['DRAWING_SHAPE']){let _0x4c1749=this[_0x519844(0x304)][_0x519844(0x450)]();if((_0x4c1749==null?void 0x0:_0x4c1749[_0x519844(0x4b8)])===_0x1a3f9a[_0x519844(0x240)]&&_0x4c1749[_0x519844(0x343)])return;(0x0,_0x14b8aa[_0x519844(0x214)])(this[_0x519844(0x397)]['getShapeType'](_0x1a3f9a[_0x519844(0x458)],_0x1a3f9a[_0x519844(0x384)],_0x1a3f9a[_0x519844(0x240)]))&&this[_0x519844(0x304)][_0x519844(0x4ac)](null);}else this['_shapeTextEditingService'][_0x519844(0x299)]();}else this[_0x519844(0x304)]['completeEditing']();})),this[_0x5702dc(0x487)](this['_drawingManagerService'][_0x5702dc(0x301)]['subscribe'](_0x2c47ba=>{const _0x47231a=_0x5702dc;let _0x104f93=this[_0x47231a(0x304)]['getEditing']();_0x104f93&&_0x2c47ba[_0x47231a(0x318)](_0x205e6f=>_0x205e6f['drawingId']===_0x104f93[_0x47231a(0x4b8)])&&this[_0x47231a(0x304)][_0x47231a(0x4ac)](null);}));}[_0x5936e8(0x1b8)](){const _0x56821c=_0x5936e8;this[_0x56821c(0x487)](this[_0x56821c(0x304)][_0x56821c(0x3af)][_0x56821c(0x442)](_0x4d7390=>{const _0xcd930c=_0x56821c;(_0x4d7390==null?void 0x0:_0x4d7390['visible'])===!0x0&&_0x4d7390[_0xcd930c(0x458)]===this['_context'][_0xcd930c(0x458)]?this[_0xcd930c(0x4db)]??=this[_0xcd930c(0x382)][_0xcd930c(0x183)]():this[_0xcd930c(0x37c)]();let {scene:_0x1583c5}=this[_0xcd930c(0x2dc)];if(this[_0xcd930c(0x1a0)]){let _0x2e23be=_0x1583c5[_0xcd930c(0x410)](this['_lastEditingShapeKey']);_0x2e23be&&_0x2e23be[_0xcd930c(0x4ac)](!0x1);}if(_0x4d7390){let _0x68de66=!!_0x4d7390[_0xcd930c(0x343)],_0x90c227=_0x1583c5[_0xcd930c(0x410)](_0x4d7390[_0xcd930c(0x3ec)]);_0x90c227&&(_0x90c227[_0xcd930c(0x4ac)](_0x68de66),this[_0xcd930c(0x1a0)]=_0x4d7390[_0xcd930c(0x3ec)]);}else this[_0xcd930c(0x1a0)]=null;}));}[_0x5936e8(0x37c)](){const _0x1145d3=_0x5936e8;var _0x4952e5;(_0x4952e5=this['_layoutInteraction'])==null||_0x4952e5[_0x1145d3(0x342)](),this[_0x1145d3(0x4db)]=null;}};_0x4ed37a=_0x348fea([_0x570e4a(0x1,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x3e3971)),_0x570e4a(0x2,_0x1b10bd[_0x5936e8(0x224)]),_0x570e4a(0x3,(0x0,_0x1f0d53['Inject'])(_0x4fb755[_0x5936e8(0x37e)])),_0x570e4a(0x4,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x3a18ad[_0x5936e8(0x39c)]))],_0x4ed37a);let _0xa231f2=class extends _0x49227b[_0x5936e8(0x1fb)]{constructor(_0x457617,_0xc68ec1,_0x2b183a,_0xadc257,_0x3f2636,_0x1ddf1f,_0x2c7084,_0x349e39,_0x47319f,_0xf5caf){super(_0x457617,_0xc68ec1,_0x2b183a,_0xadc257,_0x3f2636,_0x1ddf1f,_0x2c7084,_0x349e39,_0x47319f,_0xf5caf,{'componentKey':_0x54e3e8,'editorUnitId':_0x44e212});}};_0xa231f2=_0x348fea([_0x570e4a(0x1,(0x0,_0x1f0d53['Inject'])(_0x1d5dc9['DocSelectionManagerService'])),_0x570e4a(0x2,(0x0,_0x1f0d53['Inject'])(_0x4fb755[_0x5936e8(0x37a)])),_0x570e4a(0x3,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x4fb755[_0x5936e8(0x2c7)])),_0x570e4a(0x4,_0x1f0d53[_0x5936e8(0x298)]),_0x570e4a(0x5,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x4fb755[_0x5936e8(0x288)])),_0x570e4a(0x6,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x49227b[_0x5936e8(0x1d2)])),_0x570e4a(0x7,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x1d5dc9[_0x5936e8(0x3a7)])),_0x570e4a(0x8,(0x0,_0x1f0d53['Inject'])(_0x4fb755[_0x5936e8(0x25e)])),_0x570e4a(0x9,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x3e3971))],_0xa231f2);let _0x213643=class extends _0x49227b[_0x5936e8(0x3bb)]{constructor(_0x5781ee,_0x8bb784,_0x5e07f3,_0x201cd2,_0x504dbc){super(_0x5781ee,_0x8bb784,{'editing$':_0x5e07f3['editingParams$'],'resolve':_0x44767b=>{const _0x22e50c=_0x8eb6;var _0x42e878;let _0xe3c66f=new _0x2de297[(_0x22e50c(0x424))](_0x44767b['offsetX'],_0x44767b['offsetY']),_0x53a07d=((_0x42e878=_0x5781ee[_0x22e50c(0x307)][_0x22e50c(0x39e)](_0xe3c66f))==null?void 0x0:_0x42e878[_0x22e50c(0x34c)](_0xe3c66f))??_0xe3c66f,_0x1777b5=(0x0,_0x49227b[_0x22e50c(0x30c)])(_0x5781ee[_0x22e50c(0x307)][_0x22e50c(0x1a8)](_0xe3c66f)??null,_0x53a07d);if(!(_0x1777b5 instanceof _0x22f474))return null;let _0x3f267e=_0x1777b5[_0x22e50c(0x1e6)](_0x53a07d);if(!_0x3f267e)return null;let _0x46c0c3=_0x1777b5,_0x4fd43d={'componentKey':_0x49227b[_0x22e50c(0x36e)][_0x22e50c(0x2ff)],'direction':'top-center','offset':[0x0,0xa],'onClickOutside':()=>_0x8bb784[_0x22e50c(0x347)]()};return{'object':_0x1777b5,'info':{..._0x3f267e,'unitId':_0x1777b5[_0x22e50c(0x458)],'subUnitId':_0x1777b5[_0x22e50c(0x384)],'shapeKey':_0x1777b5[_0x22e50c(0x3e3)],'readonly':!0x0,'copyable':(0x0,_0x1d5dc9[_0x22e50c(0x3d7)])(_0x504dbc,_0x1777b5[_0x22e50c(0x458)],_0x1777b5[_0x22e50c(0x458)],_0x3036e9[_0x22e50c(0x197)][_0x22e50c(0x208)])},'attachPopup':()=>_0x201cd2['attachPopupToObject'](_0x46c0c3,_0x4fd43d,_0x46c0c3[_0x22e50c(0x458)])};}});}};_0x213643=_0x348fea([_0x570e4a(0x1,(0x0,_0x1f0d53['Inject'])(_0x49227b[_0x5936e8(0x1d2)])),_0x570e4a(0x2,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x3e3971)),_0x570e4a(0x3,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x4fb755[_0x5936e8(0x37a)])),_0x570e4a(0x4,_0x1f0d53[_0x5936e8(0x377)])],_0x213643);let _0x408080=class extends _0x1f0d53['Disposable']{constructor(_0x1c4c31,_0x429b63,_0x27a289,_0x518503,_0x358d22,_0x1435a1,_0x54655a,_0x50cf56,_0x25af0f,_0x235712,_0x37c2c1,_0x3a25bc){const _0x11dade=_0x5936e8;super(),this[_0x11dade(0x391)]=_0x1c4c31,this[_0x11dade(0x336)]=_0x429b63,this['_menuManagerService']=_0x27a289,this[_0x11dade(0x397)]=_0x518503,this[_0x11dade(0x3a3)]=_0x358d22,this['_commandService']=_0x1435a1,this[_0x11dade(0x1e2)]=_0x54655a,this[_0x11dade(0x41f)]=_0x50cf56,this['_renderManagerService']=_0x25af0f,this[_0x11dade(0x31c)]=_0x235712,this[_0x11dade(0x304)]=_0x37c2c1,this[_0x11dade(0x221)]=_0x3a25bc,_0x3f767d(this,_0x11dade(0x508),null),_0x3f767d(this,_0x11dade(0x495),null),_0x3f767d(this,_0x11dade(0x1aa),!0x1),_0x3f767d(this,_0x11dade(0x1de),0x0),_0x3f767d(this,'_disposePopupsByUnit',new Map()),_0x3f767d(this,'_popupTargetKeys',new Map()),this[_0x11dade(0x3dc)](),this[_0x11dade(0x487)](this[_0x11dade(0x391)][_0x11dade(0x227)](_0x1f0d53[_0x11dade(0x2ab)][_0x11dade(0x471)])[_0x11dade(0x442)](_0x3fbf7e=>{const _0x2a3b0e=_0x11dade;if(!_0x3fbf7e){var _0x10a936;(_0x10a936=this[_0x2a3b0e(0x508)])==null||_0x10a936[_0x2a3b0e(0x342)]();}})),this[_0x11dade(0x2d5)](),this[_0x11dade(0x487)](this['_drawingManagerService']['remove$'][_0x11dade(0x442)](_0x25d1f8=>{const _0x1ca865=_0x11dade;for(let _0xf760f8 of _0x25d1f8){let _0x1f6115=_0xf760f8[_0x1ca865(0x458)]+':'+_0xf760f8[_0x1ca865(0x384)]+':'+_0xf760f8[_0x1ca865(0x240)];for(let [_0xf87606,_0xf32c5b]of this[_0x1ca865(0x4df)])_0xf32c5b===_0x1f6115&&this[_0x1ca865(0x394)](_0xf87606,!0x0);}})),this[_0x11dade(0x487)]((0x0,_0x49227b[_0x11dade(0x1ec)])(this[_0x11dade(0x271)],_0x1f0d53[_0x11dade(0x2ab)][_0x11dade(0x471)],_0x1e7bc0=>this[_0x11dade(0x1f8)](_0x1e7bc0))),this[_0x11dade(0x487)](this[_0x11dade(0x304)]['editingParams$'][_0x11dade(0x442)](_0x386687=>{const _0x3ff303=_0x11dade;_0x386687&&this[_0x3ff303(0x394)](void 0x0,!0x0);})),this[_0x11dade(0x487)](this['_permissionService'][_0x11dade(0x1ae)][_0x11dade(0x442)](()=>{const _0x484758=_0x11dade;this[_0x484758(0x1e2)]['getFocusDrawings']()['some'](_0x376e1d=>_0x376e1d[_0x484758(0x486)]===_0x1f0d53['DrawingTypeEnum'][_0x484758(0x39d)]&&this[_0x484758(0x391)]['getUnitType'](_0x376e1d[_0x484758(0x458)])===_0x1f0d53[_0x484758(0x2ab)][_0x484758(0x471)]&&!this[_0x484758(0x243)](_0x376e1d['unitId'],_0x376e1d[_0x484758(0x240)]))&&(this[_0x484758(0x394)](void 0x0,!0x0),this[_0x484758(0x4fd)]());}));}['_initMenu'](){const _0x1243bb=_0x5936e8;this[_0x1243bb(0x21d)]['mergeMenu'](_0x394914);}['getShapePopupMenus'](_0x1ec5de,_0x1df654,_0x5f4d56,_0x3e2d15){const _0xe58d7a=_0x5936e8;return[{'label':_0xe58d7a(0x313),'index':0x0,'commandId':_0x4bbe2e['id'],'commandParams':{'unitId':_0x1ec5de,'subUnitId':_0x1df654,'drawingId':_0x5f4d56},'disable':_0x3e2d15===_0x1f0d53['DrawingTypeEnum'][_0xe58d7a(0x49a)]},{'label':_0xe58d7a(0x36a),'index':0x1,'commandId':_0x468af2['RemoveDocDrawingCommand']['id'],'commandParams':{'unitId':_0x1ec5de,'drawings':[{'unitId':_0x1ec5de,'subUnitId':_0x1df654,'drawingId':_0x5f4d56}]},'disable':!0x1},{'label':_0xe58d7a(0x21c),'index':0x2,'commandId':_0x5d3d74['id'],'commandParams':{'unitId':_0x1ec5de,'subUnitId':_0x1df654,'drawingId':_0x5f4d56},'disable':!0x1}];}['_getShapeInfo'](_0x4dbcb4,_0x4478a9,_0x4989a1){const _0x2fa44e=_0x5936e8;let _0x9080a7=this[_0x2fa44e(0x397)][_0x2fa44e(0x325)](_0x4dbcb4,_0x4478a9,_0x4989a1),_0x207423=this[_0x2fa44e(0x397)][_0x2fa44e(0x2ed)](_0x4dbcb4,_0x4478a9,_0x4989a1);return _0x9080a7!==void 0x0&&_0x207423!==void 0x0?{'shapeData':_0x207423,'shapeId':_0x4989a1,'shapeType':_0x9080a7,'unitId':_0x4dbcb4,'subUnitId':_0x4478a9,'version':this[_0x2fa44e(0x1de)],'disableShapeOption':!0x1}:null;}[_0x5936e8(0x394)](_0x2164bf,_0x14082d=!0x1){const _0x4770c7=_0x5936e8;if(_0x2164bf==null){[...this[_0x4770c7(0x50a)][_0x4770c7(0x3c5)]()][_0x4770c7(0x2f3)](_0x1d9ec9=>this[_0x4770c7(0x394)](_0x1d9ec9,_0x14082d));return;}let _0x473e06=this[_0x4770c7(0x50a)][_0x4770c7(0x22c)](_0x2164bf);if(_0x473e06){for(let _0x54358d=_0x473e06[_0x4770c7(0x2b1)]-0x1;_0x54358d>=0x0;--_0x54358d){let _0x4ccf73=_0x473e06[_0x54358d];(_0x14082d||_0x4ccf73['canDispose']())&&(_0x4ccf73[_0x4770c7(0x342)](),_0x473e06[_0x4770c7(0x4cf)](_0x54358d,0x1));}_0x473e06[_0x4770c7(0x2b1)]===0x0&&(this['_disposePopupsByUnit'][_0x4770c7(0x30a)](_0x2164bf),this[_0x4770c7(0x4df)][_0x4770c7(0x30a)](_0x2164bf));}}[_0x5936e8(0x1bc)](_0x3cf81d){const _0x69311=_0x5936e8;let _0x290b21=this['_disposePopupsByUnit'][_0x69311(0x22c)](_0x3cf81d);if(_0x290b21)return _0x290b21;let _0x40b94d=[];return this[_0x69311(0x50a)]['set'](_0x3cf81d,_0x40b94d),_0x40b94d;}['_popupMenuListener'](_0xb68edd){const _0x321e22=_0x5936e8;var _0x4ba585;let _0x403077=new _0x1f0d53[(_0x321e22(0x393))](),_0x58ace8=(_0x4ba585=this[_0x321e22(0x271)][_0x321e22(0x31b)](_0x1f0d53[_0x321e22(0x2ab)]['UNIVER_DOC'])[_0x321e22(0x372)](_0x1c46f2=>_0x1c46f2[_0x321e22(0x307)][_0x321e22(0x26e)]()===_0xb68edd))==null?void 0x0:_0x4ba585[_0x321e22(0x458)];return _0x58ace8&&(_0x403077[_0x321e22(0x4c8)](_0xb68edd[_0x321e22(0x230)][_0x321e22(0x442)](()=>this[_0x321e22(0x40a)](_0xb68edd,_0x58ace8))),_0x403077[_0x321e22(0x4c8)](_0xb68edd['clearControl$']['subscribe'](()=>{const _0x59c58a=_0x321e22;this[_0x59c58a(0x394)](_0x58ace8),queueMicrotask(()=>{const _0x500a97=_0x59c58a;_0xb68edd['getSelectedObjectMap']()[_0x500a97(0x26f)]>0x0||!this['_drawingManagerService'][_0x500a97(0x456)]()[_0x500a97(0x318)](_0x326826=>_0x326826['unitId']===_0x58ace8)||(this[_0x500a97(0x31c)][_0x500a97(0x4ef)](_0x1f0d53['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x500a97(0x1e2)]['focusDrawing'](null));});})),_0x403077[_0x321e22(0x4c8)](_0xb68edd[_0x321e22(0x4f7)][_0x321e22(0x442)](()=>{this['_clearPopups'](_0x58ace8,!0x0);}))),_0x403077;}[_0x5936e8(0x40a)](_0xe4e269,_0x5025e8){const _0x1851fe=_0x5936e8;let _0x4d8ef2=_0xe4e269['getSelectedObjectMap']();if(this[_0x1851fe(0x1aa)]){this[_0x1851fe(0x394)](_0x5025e8,!0x0);return;}if(_0x4d8ef2[_0x1851fe(0x26f)]>0x1){this['_clearPopups'](_0x5025e8);return;}let _0x168c79=_0x4d8ef2[_0x1851fe(0x21a)]()[_0x1851fe(0x420)]()[_0x1851fe(0x3ca)];if(!_0x168c79){this[_0x1851fe(0x394)](_0x5025e8);return;}let _0x458a46=this[_0x1851fe(0x1e2)]['getDrawingOKey'](_0x168c79[_0x1851fe(0x3e3)]);if(!_0x458a46||_0x458a46[_0x1851fe(0x486)]!==_0x1f0d53[_0x1851fe(0x331)][_0x1851fe(0x39d)]){this[_0x1851fe(0x394)](_0x5025e8);return;}let {unitId:_0x4498c5,subUnitId:_0x396427,drawingId:_0x2f595f,drawingType:_0x2dc2e9}=_0x458a46;if(!this[_0x1851fe(0x243)](_0x4498c5,_0x2f595f)){this['_clearPopups'](_0x5025e8,!0x0);return;}let _0x31ccfd=this[_0x1851fe(0x3e1)](_0x4498c5,_0x396427,_0x2f595f);if(!_0x31ccfd){this[_0x1851fe(0x394)](_0x5025e8);return;}let _0x2578f0=this[_0x1851fe(0x50a)][_0x1851fe(0x22c)](_0x5025e8),_0x1a9408=_0x4498c5+':'+_0x396427+':'+_0x2f595f;if(this[_0x1851fe(0x4df)]['get'](_0x5025e8)===_0x1a9408&&_0x2578f0&&_0x2578f0[_0x1851fe(0x2b1)]>0x0)return;this[_0x1851fe(0x394)](_0x5025e8);let _0xdc9663=this[_0x1851fe(0x271)]['getRenderUnitById'](_0x4498c5),_0x1ba993=((_0xdc9663==null?void 0x0:_0xdc9663[_0x1851fe(0x4bf)])===!0x1?_0xdc9663['with'](_0x4fb755[_0x1851fe(0x37a)]):this[_0x1851fe(0x41f)])[_0x1851fe(0x4da)](_0x168c79,this['_getShapePopup'](_0x31ccfd,_0x2dc2e9),_0x4498c5);this['disposeWithMe'](_0x1ba993),this[_0x1851fe(0x1bc)](_0x5025e8)[_0x1851fe(0x2a4)](_0x1ba993),this[_0x1851fe(0x4df)][_0x1851fe(0x4fe)](_0x5025e8,_0x1a9408),this[_0x1851fe(0x1e2)][_0x1851fe(0x456)]()[_0x1851fe(0x318)](_0x208a84=>_0x208a84[_0x1851fe(0x458)]===_0x4498c5&&_0x208a84[_0x1851fe(0x384)]===_0x396427&&_0x208a84[_0x1851fe(0x240)]===_0x2f595f)||this[_0x1851fe(0x1e2)]['focusDrawing']([{'unitId':_0x4498c5,'subUnitId':_0x396427,'drawingId':_0x2f595f}]);}[_0x5936e8(0x42b)](_0x2e6d46,_0x3793a0){const _0x43794f=_0x5936e8;return{'componentKey':_0x2df62f,'requiresStableLayout':!0x1,'direction':'vertical-center','offset':[0x0,_0x49227b[_0x43794f(0x34f)]],'extraProps':{'unitId':_0x2e6d46[_0x43794f(0x458)],'subUnitId':_0x2e6d46[_0x43794f(0x384)],'drawingId':_0x2e6d46['shapeId'],'drawingType':_0x3793a0,'shapeType':_0x2e6d46['shapeType'],'shapeData':_0x2e6d46['shapeData']}};}[_0x5936e8(0x243)](_0x2b20f4,_0x4fe022){const _0x64ae4a=_0x5936e8;let _0x2ca279=this[_0x64ae4a(0x391)][_0x64ae4a(0x4c9)](_0x2b20f4,_0x1f0d53['UniverInstanceType']['UNIVER_DOC']);if(!_0x2ca279)return!0x1;let _0x284139=(0x0,_0x1d5dc9[_0x64ae4a(0x186)])(_0x2ca279,_0x4fe022);return(0x0,_0x1d5dc9[_0x64ae4a(0x18b)])(this[_0x64ae4a(0x221)],_0x2b20f4,[...(0x0,_0x1d5dc9[_0x64ae4a(0x4d7)])(_0x2ca279,_0x284139,_0x64ae4a(0x436),_0x4fe022),(0x0,_0x1d5dc9['getDocumentEntityPermissionObjectId'])(_0x284139,_0x64ae4a(0x436),_0x4fe022)]);}['_registerOperations'](){const _0x12c896=_0x5936e8;this[_0x12c896(0x487)](this[_0x12c896(0x500)]['onCommandExecuted'](_0x518ca0=>{const _0x1d0702=_0x12c896;if(_0x518ca0['id']===_0x4bbe2e['id']){let {unitId:_0x5e342a,subUnitId:_0x2925c0,drawingId:_0x456a86}=_0x518ca0[_0x1d0702(0x41a)];this[_0x1d0702(0x1de)]+=0x1,this[_0x1d0702(0x495)]=this[_0x1d0702(0x3e1)](_0x5e342a,_0x2925c0,_0x456a86),this[_0x1d0702(0x394)](void 0x0,!0x0),this[_0x1d0702(0x47f)]();}if(_0x518ca0['id']===_0x5d3d74['id']&&(this[_0x1d0702(0x495)]=null,this[_0x1d0702(0x4fd)]()),_0x518ca0['id']===_0x3a18ad['UpdateDocShapeDataMutation']['id']){let {unitId:_0x506448,shapeId:_0x475aee}=_0x518ca0[_0x1d0702(0x41a)];if(this['_activeShapeInfo']&&this[_0x1d0702(0x495)]['shapeId']===_0x475aee){let _0x4aa94a=this[_0x1d0702(0x3e1)](_0x506448,this['_activeShapeInfo'][_0x1d0702(0x384)],_0x475aee);_0x4aa94a&&(this[_0x1d0702(0x1de)]+=0x1,_0x4aa94a['version']=this[_0x1d0702(0x1de)],this[_0x1d0702(0x495)]=_0x4aa94a,this[_0x1d0702(0x1aa)]&&this[_0x1d0702(0x47f)]());}}})),this[_0x12c896(0x487)](this[_0x12c896(0x1e2)][_0x12c896(0x4b1)][_0x12c896(0x442)](_0x51794a=>{const _0x1b81d0=_0x12c896;if(this[_0x1b81d0(0x1aa)]===!0x1)return;if(_0x51794a['length']===0x0){this['_activeShapeInfo']=null,this['_closeShapeEditPanel']();return;}if(_0x51794a['length']===0x1&&_0x51794a[0x0][_0x1b81d0(0x486)]===_0x1f0d53['DrawingTypeEnum'][_0x1b81d0(0x39d)]&&(this['_shapeEditPanelVersion']+=0x1,this[_0x1b81d0(0x495)]=this[_0x1b81d0(0x3e1)](_0x51794a[0x0][_0x1b81d0(0x458)],_0x51794a[0x0]['subUnitId'],_0x51794a[0x0]['drawingId']),this[_0x1b81d0(0x495)])){this['_openShapeEditPanel']();return;}let _0x5ef76a=_0x51794a[_0x1b81d0(0x21f)](_0x4a9344=>_0x4a9344[_0x1b81d0(0x486)]===_0x1f0d53['DrawingTypeEnum'][_0x1b81d0(0x39d)]);if(_0x51794a[_0x1b81d0(0x2b1)]>0x1&&_0x5ef76a[_0x1b81d0(0x2b1)]===_0x51794a['length']){if(this['_shapeEditPanelVersion']+=0x1,this[_0x1b81d0(0x495)]=this[_0x1b81d0(0x3e1)](_0x51794a[0x0][_0x1b81d0(0x458)],_0x51794a[0x0]['subUnitId'],_0x51794a[0x0][_0x1b81d0(0x240)]),this['_activeShapeInfo']){this[_0x1b81d0(0x47f)]();return;}}else{if(this['_shapeEditPanelVersion']+=0x1,this[_0x1b81d0(0x495)]=this[_0x1b81d0(0x3e1)](_0x51794a[0x0][_0x1b81d0(0x458)],_0x51794a[0x0][_0x1b81d0(0x384)],_0x51794a[0x0][_0x1b81d0(0x240)]),this[_0x1b81d0(0x495)]){this['_activeShapeInfo'][_0x1b81d0(0x25f)]=!0x0,this['_openShapeEditPanel']();return;}}this[_0x1b81d0(0x4fd)]();}));}[_0x5936e8(0x47f)](){const _0x495c96=_0x5936e8;this[_0x495c96(0x495)]&&(this['_sidebarDisposable']=this[_0x495c96(0x336)][_0x495c96(0x328)]({'id':_0x33cbc8,'header':{'title':this[_0x495c96(0x3a3)]['t']('docs-shape-ui.formatShape')},'width':0x184,'children':{'label':_0x33cbc8,...this[_0x495c96(0x495)]},'onClose':()=>{const _0x2db43c=_0x495c96;this['_drawingManagerService'][_0x2db43c(0x4c4)](null),this[_0x2db43c(0x31c)][_0x2db43c(0x4ef)](_0x1f0d53[_0x2db43c(0x4ca)],!0x1),this[_0x2db43c(0x508)]=null;}}),this[_0x495c96(0x1aa)]=!0x0);}[_0x5936e8(0x4fd)](){const _0x1d0d4c=_0x5936e8;this[_0x1d0d4c(0x1aa)]=!0x1,this[_0x1d0d4c(0x336)]['close'](_0x33cbc8),this['_sidebarDisposable']=null,this[_0x1d0d4c(0x31c)][_0x1d0d4c(0x4ef)](_0x1f0d53[_0x1d0d4c(0x4ca)],!0x1),this['_drawingManagerService'][_0x1d0d4c(0x4c4)](null);}};_0x408080=_0x348fea([_0x570e4a(0x0,_0x1f0d53['IUniverInstanceService']),_0x570e4a(0x1,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x17ddbe['ISidebarService'])),_0x570e4a(0x2,_0x17ddbe[_0x5936e8(0x25d)]),_0x570e4a(0x3,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x3a18ad[_0x5936e8(0x39c)])),_0x570e4a(0x4,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x1f0d53[_0x5936e8(0x3f4)])),_0x570e4a(0x5,_0x1f0d53[_0x5936e8(0x298)]),_0x570e4a(0x6,_0x1b10bd[_0x5936e8(0x224)]),_0x570e4a(0x7,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x4fb755[_0x5936e8(0x37a)])),_0x570e4a(0x8,_0x2de297['IRenderManagerService']),_0x570e4a(0x9,_0x1f0d53[_0x5936e8(0x413)]),_0x570e4a(0xa,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x3e3971)),_0x570e4a(0xb,_0x1f0d53[_0x5936e8(0x377)])],_0x408080);let _0x5c79a4=class extends _0x1f0d53[_0x5936e8(0x1dc)]{constructor(_0x4a96eb,_0x447ad1){const _0x1401a3=_0x5936e8;super(),this[_0x1401a3(0x397)]=_0x4a96eb,this[_0x1401a3(0x3a3)]=_0x447ad1,this[_0x1401a3(0x487)]((0x0,_0x1f0d53[_0x1401a3(0x296)])((0x0,_0x2de297[_0x1401a3(0x38c)])((_0x283615,_0x8e782d,_0x4e9948)=>this['_measure'](_0x283615,_0x8e782d,_0x4e9948))));}['_measure'](_0x25690b,_0x5959c8,_0x238a7d){const _0x5bfa61=_0x5936e8;let _0x241858=this[_0x5bfa61(0x397)][_0x5bfa61(0x206)](_0x25690b,_0x5959c8);if(!_0x241858)return null;let _0x49a9e2=_0x241858[_0x5bfa61(0x4fc)](),_0x277189=(0x0,_0x14b8aa['resolveShapeTextBodyBehavior'])(_0x49a9e2),_0x27d5d8=_0x49a9e2['shapeText'];if(!_0x27d5d8||_0x277189[_0x5bfa61(0x20c)]!==_0x14b8aa[_0x5bfa61(0x43e)][_0x5bfa61(0x403)])return null;let _0x424f7c=_0x238a7d[_0x5bfa61(0x19d)],_0x2d6f1b=_0x238a7d['fallbackHeight'];_0x241858['updateContext']({'width':_0x424f7c,'height':_0x2d6f1b});let _0x56890d=_0x241858[_0x5bfa61(0x34e)]({'left':0x0,'top':0x0,'width':_0x424f7c,'height':_0x2d6f1b}),_0x15ee15=(0x0,_0x49227b['normalizeShapeTextModel'])(_0x5bfa61(0x4a5)in _0x27d5d8?_0x27d5d8['dataModel']:void 0x0),_0x382b11=(_0x15ee15==null?void 0x0:_0x15ee15[_0x5bfa61(0x509)])??(_0x5bfa61(0x3e8)in _0x27d5d8?(0x0,_0x49227b['plainShapeTextToDocumentData'])(_0x27d5d8,_0x5959c8+'-layout'):null);if(!_0x382b11)return null;let _0x53466f=(0x0,_0x49227b[_0x5bfa61(0x226)])({'documentData':_0x382b11,'height':_0x2d6f1b,'shapeData':_0x49a9e2,'textRect':_0x56890d,'width':_0x424f7c,'widthBuffer':0x0});_0x53466f&&({width:_0x424f7c,height:_0x2d6f1b}=_0x53466f,_0x241858[_0x5bfa61(0x264)]({'width':_0x424f7c,'height':_0x2d6f1b}),_0x56890d=_0x241858[_0x5bfa61(0x34e)]({'left':0x0,'top':0x0,'width':_0x424f7c,'height':_0x2d6f1b}));let _0x47cc9a=_0x27d5d8['isHorizontal']!==!0x1,_0xe53ff2=(0x0,_0x49227b[_0x5bfa61(0x41c)])(_0x382b11,{'isHorizontal':_0x47cc9a,'textRect':_0x56890d,'verticalAlign':_0x15ee15==null?void 0x0:_0x15ee15['va'],'horizontalAlign':_0x15ee15==null?void 0x0:_0x15ee15['ha'],'wrapStrategy':(0x0,_0x49227b[_0x5bfa61(0x20f)])(_0x49a9e2)}),_0x40f440=new _0x1f0d53[(_0x5bfa61(0x335))](_0xe53ff2),_0x32139d=new _0x2de297[(_0x5bfa61(0x2cb))](_0x40f440),_0x40f0f8=_0x2de297[_0x5bfa61(0x3a9)][_0x5bfa61(0x33e)](_0x32139d,this[_0x5bfa61(0x3a3)]);try{var _0x2ee292,_0x12162f;_0x40f0f8[_0x5bfa61(0x37f)]();let _0x3df94d=((_0x2ee292=_0x40f0f8['getSkeletonData']())==null?void 0x0:_0x2ee292[_0x5bfa61(0x485)])??[],_0x3cb35e=_0x3df94d[_0x3df94d[_0x5bfa61(0x2b1)]-0x1],_0x334c95=_0x3cb35e?Math[_0x5bfa61(0x1ac)](0x0,((_0x12162f=(0x0,_0x2de297['getLastLine'])(_0x3cb35e))==null?void 0x0:_0x12162f[_0x5bfa61(0x396)])??0x0):0x0,_0x5740d8=_0x40f0f8[_0x5bfa61(0x4a7)]()[_0x5bfa61(0x283)]+_0x334c95-(_0x47cc9a?_0x56890d[_0x5bfa61(0x2c1)]:_0x56890d['width']);return Number[_0x5bfa61(0x1be)](_0x5740d8)?_0x47cc9a?{'width':_0x424f7c,'height':Math[_0x5bfa61(0x1ac)](0x1,_0x2d6f1b+_0x5740d8)}:{'width':Math['max'](0x1,_0x424f7c+_0x5740d8),'height':_0x2d6f1b}:null;}finally{_0x40f0f8[_0x5bfa61(0x342)](),_0x32139d['dispose'](),_0x40f440[_0x5bfa61(0x342)]();}}};_0x5c79a4=_0x348fea([_0x570e4a(0x0,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x3a18ad[_0x5936e8(0x39c)])),_0x570e4a(0x1,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x1f0d53[_0x5936e8(0x3f4)]))],_0x5c79a4);let _0xb48c3e=class extends _0x1f0d53[_0x5936e8(0x1d6)]{constructor(_0x429f=_0x599d43,_0x587240,_0x567610,_0x43b9ac,_0x431f1b){const _0x2c5f72=_0x5936e8;super(),this['_config']=_0x429f,this[_0x2c5f72(0x233)]=_0x587240,this[_0x2c5f72(0x500)]=_0x567610,this[_0x2c5f72(0x216)]=_0x43b9ac,this[_0x2c5f72(0x271)]=_0x431f1b;let {menu:_0x349f6c,..._0x331287}=(0x0,_0x1f0d53[_0x2c5f72(0x1a1)])({},_0x599d43,this[_0x2c5f72(0x29d)]);_0x349f6c&&this[_0x2c5f72(0x216)][_0x2c5f72(0x408)]('menu',_0x349f6c,{'merge':!0x0}),this[_0x2c5f72(0x216)]['setConfig'](_0x286ff0,_0x331287),this['_initCommands']();}['onStarting'](){const _0x42be35=_0x5936e8;(0x0,_0x1f0d53[_0x42be35(0x220)])(this['_injector'],this[_0x42be35(0x188)]()),this[_0x42be35(0x233)][_0x42be35(0x22c)](_0x50f8ec),this['_initUIPart']();}[_0x5936e8(0x188)](){return[[_0x50f8ec],[_0x408080],[_0x5264e0],[_0x511fb8],[_0x1e8cf3],[_0x8ad386],[_0x31289f],[_0x212450],[_0x5c79a4],[_0x3e3971],[_0x79c20b]];}[_0x5936e8(0x32f)](){const _0x5df4d1=_0x5936e8;this[_0x5df4d1(0x3ea)]()[_0x5df4d1(0x2f3)](_0xe2e46f=>{const _0x21ddbf=_0x5df4d1;this[_0x21ddbf(0x487)](this[_0x21ddbf(0x271)][_0x21ddbf(0x2c5)](_0x1f0d53['UniverInstanceType'][_0x21ddbf(0x471)],_0xe2e46f));}),(0x0,_0x1f0d53[_0x5df4d1(0x444)])(this[_0x5df4d1(0x233)],[[_0x408080],[_0x5264e0],[_0x511fb8],[_0x1e8cf3],[_0x31289f],[_0x212450],[_0x5c79a4],[_0x3e3971],[_0x79c20b]]);}['_getRenderModules'](){return[[_0x8ad386],[_0x4ed37a],[_0x213643],[_0xf9ce1d]];}[_0x5936e8(0x363)](){const _0x67f66c=_0x5936e8;this[_0x67f66c(0x487)](this['_renderManagerService'][_0x67f66c(0x2c5)](_0x1f0d53[_0x67f66c(0x2ab)][_0x67f66c(0x471)],[_0xa231f2]));}[_0x5936e8(0x1f9)](){const _0xa0dc9e=_0x5936e8;[_0x5dc3f0,_0x5d3d74,_0x4bbe2e,_0x1ac0f7,_0x3c67d5,_0x5116cf][_0xa0dc9e(0x2f3)](_0x43194c=>this['disposeWithMe'](this[_0xa0dc9e(0x500)][_0xa0dc9e(0x3fd)](_0x43194c)));}[_0x5936e8(0x3df)](){const _0x11119a=_0x5936e8;let _0xb20d74=this['_injector'],_0x1a053a=_0xb20d74[_0x11119a(0x22c)](_0x17ddbe[_0x11119a(0x499)]);this[_0x11119a(0x487)](_0x1a053a['registerComponent'](_0x17ddbe[_0x11119a(0x387)][_0x11119a(0x28f)],()=>(0x0,_0x17ddbe[_0x11119a(0x2f7)])(_0x1ea311,_0xb20d74)));}};_0x3f767d(_0xb48c3e,'type',_0x1f0d53[_0x5936e8(0x2ab)][_0x5936e8(0x471)]),_0x3f767d(_0xb48c3e,_0x5936e8(0x2b6),_0x5936e8(0x447)),_0x3f767d(_0xb48c3e,_0x5936e8(0x194),_0x3fc22f),_0x3f767d(_0xb48c3e,_0x5936e8(0x2ba),_0x54ac81),_0xb48c3e=_0x348fea([(0x0,_0x1f0d53[_0x5936e8(0x1b3)])(_0x2f7626[_0x5936e8(0x27a)],_0x1d5dc9[_0x5936e8(0x1ab)],_0x1b10bd[_0x5936e8(0x353)],_0x1b3d5c[_0x5936e8(0x40b)],_0x2de297['UniverRenderEnginePlugin'],_0x4fb755['UniverDocsUIPlugin'],_0x5e0109['UniverShapeEditorPlugin'],_0x9fb89c[_0x5936e8(0x454)],_0x3a18ad['UniverDocsShapePlugin'],_0x49227b['UniverShapeEditorUIPlugin']),_0x570e4a(0x1,(0x0,_0x1f0d53[_0x5936e8(0x1e7)])(_0x1f0d53['Injector'])),_0x570e4a(0x2,_0x1f0d53[_0x5936e8(0x298)]),_0x570e4a(0x3,_0x1f0d53[_0x5936e8(0x4ce)]),_0x570e4a(0x4,_0x2de297[_0x5936e8(0x434)])],_0xb48c3e),_0x4494af[_0x5936e8(0x263)]=_0x394914,Object[_0x5936e8(0x4aa)](_0x4494af,_0x5936e8(0x1ad),{'enumerable':!0x0,'get':function(){return _0x3019be;}}),Object['defineProperty'](_0x4494af,_0x5936e8(0x1a9),{'enumerable':!0x0,'get':function(){return _0xb48c3e;}});}));function _0x8eb6(_0x5a7c99,_0xf55f92){_0x5a7c99=_0x5a7c99-0x182;const _0xd530ef=_0xd530();let _0x8eb677=_0xd530ef[_0x5a7c99];return _0x8eb677;}function _0xd530(){const _0x17c777=['Module','shapeText','FOCUSING_SHAPE_TEXT_EDITOR','@univerjs/drawing-ui','UnitObject','_drawRichTextLayer','onPointerMove$','isRenderLinePointsMode','registerCommand','headerId','MobileShapeEditorControls','IURLImageService','_activeAdjustInfo','COMMAND','SpAutoFit','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','_activeShapeId','add$','with','setConfig','M2\x203h16M2\x2017h16','_handleCreateControl','UniverDrawingUIPlugin','extensionGroups','prstGeom','DrawingCommonPanel','ShapeTextRibbonControl','getObjectIncludeInGroup','_initPrinting','SHAPE_EDITOR_TRANSFORMER_CONFIG','IContextService','_adjHandlerPointerUp','ToggleShapeFloatingToolbarOperation','_shapeFormulaService','_initEvents','function','_imageIoService','params','footerId','prepareShapeTextDocumentData','getActiveTextRange','_updateAdjustControlPositions','_docCanvasPopManagerService','next','RENDER_CLASS_TYPE','useRef','presentationChanged$','Vector2','flipX','drawing-ui.objectListPanel.show','docs-shape-ui.textWrap.inline','getPropertyPriority','originalStrokeWidth','setAdjustValueByName','_getShapePopup','ShapeGroupEnum','_isStartAdjusting','front','evenodd','div','Injector','PARAGRAPH','sectionCanvas','IRenderManagerService','cloneShapeDataForType','drawing','M4.2\x208.3H6.8','UUID','resetCursor','skeTables','below','ShapeArrowSizeEnum','TRUE','ShapeTextAutoFitType','object','presetId','setProperty','subscribe','SELECTOR','touchDependencies','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','makeDirty','DOCS_SHAPE_UI_PLUGIN','useDependency','visible$','docs-shape-ui.ribbon.shape-format.arrange-back','close','getDrawingByParam','Medium','custom','fillType','getEditing','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','generateRandomId','stroke-width','UniverDocsDrawingUIPlugin','MobileShapeEditorService','getFocusDrawings','shapeData','unitId','_transformCalculateSrcRect','useEffect','ShapeDefaultConfig','_attachAdjustEvent','onPointerDown$','enhanceParams','DocsShapeWrapBehindTextIcon','activateDrawingObject','SolidLine','docs-shape-ui.insertShape','image','fontFamily','transformForAngle','plainShapeTextToDocumentData','startArrow','SHAPE_CHANGE_PICKER_COMPONENT','endOffset','text','_formulaShapes','forwardRef','_baseShapeHeight','getPropertyValue','_addShapeAdjustControl','OFFSET','UNIVER_DOC','doc.operation.open-shape-object-list-panel','PictureFill','IUniverInstanceService','BEHIND_TEXT','setPresentation','forward','univer-box-border\x20univer-px-4\x20univer-text-sm','_ribbonService','path','disableObjectsEvent','resize','doc.operation.open-doc-shape-format-panel','@univerjs-pro/shape-editor','_openShapeEditPanel','clip-','type','_drawShapeText','translateWithPrecision','attrs','pages','drawingType','disposeWithMe','priority','DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID','rxjs','BehaviorSubject','@univerjs/ui','actions','memo','DRAWING_IMAGE','displayName','getBody','_activeShapeModel','srcRect','ShapeTextFloatToolbar','_activeShapeInfo','layoutType','move-down-icon','@univerjs/docs','IUIPartsService','DRAWING_DOM','drawing-ui.objectListPanel.sectionCanvas','docs-shape-ui.textWrap.square','None','replace','getState','horizontal','span','_clipService','_canEdit','_iconManager','dataModel','setFallbackVisible','getActualSize','drawing-ui.objectListPanel.typeNames.','UniverProShapeEditor','defineProperty','constructor','setEditing','ShapeFloatingToolbarToggleFactory','currentColor','onerror','behind','focus$','getUnitType','startIndex','MoreDownIcon','setSrcRect','calcAdjValues','renderDrawingShape','shapeId','drawing-ui.objectListPanel.unlock','getTextModel','_applyFormulaAutoFitSize','drawing-ui.objectListPanel.hide','save','beginPath','isMainScene','refreshAdjustControls','@univerjs-pro/engine-shape','order','UniverDrawing','focusDrawing','MenuManagerPosition','BooleanNumber','label','add','getUnit','FOCUSING_COMMON_DRAWINGS','sin','iterator','CURSOR_TYPE','IConfigService','splice','_formulaKey','strokeOpacity','popup','_baseShapeWidth','pageWidth','@univerjs-pro/shape-editor-ui','doc.shape.object-list.panel','getDocumentEntityParentPermissionObjectIds','getContextValue','flipY','attachPopupToObject','_layoutInteraction','setShapeProps','#2563EB','decorate','_popupTargetKeys','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','UniverDocs','presentation','_completionFrame','flatMap','doc.image-clip.shape-picker.component','onDblclick$','_hyperLinkRegions','doc.operation.close-doc-shape-format-panel','isRender','WRAP_NONE','ShapeFormatSettingIcon','square','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','setContextValue','attachTransformerTo','menu','featurePluginUpdateNotification','_insertShapes','toFixed','getDrawingTypeNameKey','useId','changing$','backward','invert','refreshTransform$','_getShapeAdjustInfosById','getShapeData','_closeShapeEditPanel','set','doc.shape.floating-toolbar','_commandService','bottom','executeCommand','1.4.0','getOwnPropertyDescriptor','none','HorizontalAlign','1632234OMKTZt','_sidebarDisposable','doc','_disposePopupsByUnit','drawing-ui.objectListPanel.unlockAll','@univerjs-pro/docs-shape-ui','DEFAULT_DOC_SHAPE_WIDTH','LEFT','adjHandleSize','getDrawingSearch','useLayoutEffect','beginInteraction','panel','UniverShapeEditorPlugin','getDocumentDrawingSegmentId','1.2','_getDependencies','contentVerticalOffset','getImage','canEditDocumentTargets','clearAdjustValue','enableObjectsEvent','_refreshShapeData','parseFloat','0\x200\x2017\x2016','color','getPresentation','reduce','packageName','SHAPE_TEXT','animationEnabled','UnitAction','Observable','IImageIoService','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','MobileShapePickerPanel','20PgqNXg','fallbackWidth','_formulaAnimation','addObject','_lastEditingShapeKey','merge','_updateSrcRectByTransform','mergeMenu','getParagraphContentStartOffset','_docDrawingShapeRenderController','MobileObjectListPanel','style','pick','UniverDocsShapeUIPlugin','_isOpenedShapeEditPanel','UniverDocsPlugin','max','UniverDocsShapeMobileUIPlugin','permissionPointUpdate$','text-wrap-shape-icon','UniverUi','_initialize','useObservable','DependentOn','shape-editor-ui.toolbar.quickStyles','idSuffix','isLineShape','removeProperty','_initEditingParams','getSnapshot','ObjectPermissionButton','rows','_getDisposePopups','indexOf','isFinite','createElement','UpdateDocShapeDataCommand','getSelectedObjectMap','_init','ShapeTextEditorContainer','clipHeight','transform','composeMatrix','EMPTY_PARAGRAPH_MENU_ID','FromArray','UpdateDocDrawingWrappingStyleCommand','UniverDocsShapePlugin','_drawSimpleText','formulaPresentation','inline','adjHandleFill','UniverProDocsShapeUi','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','INLINE','ShapeTextHyperLinkPopupService','ancestorTransform','DRAWING_OBJECT_LAYER_INDEX','applyPoint','Plugin','getDrawingOrder','TextWrappingStyle','getDrawingData','docs-shape-ui.crop.shape','back','Disposable','ObjectListPanelBase','_shapeEditPanelVersion','MoveUpIcon','formulaBinding','CommandType','_drawingManagerService','setFillImage','_releaseRenderCache','clearControl$','resolveHyperLinkAt','Inject','fillImageSourceType','canvasElement','FloatingObjectToolbarPosition','ObjectLayersIcon','bindRenderTransformerLifecycle','onPointerUp$','_update','gradientEndColor','skeHeaders','stroke','entries','animateFormulaPresentation','ContextMenuGroup','canvas','docs-shape-ui.textWrap.behindText','has','_popupMenuListener','_initCommands','_props','ShapeTextFloatMenuRenderControllerBase','7HDYlyJ','docs-shape-format-font-family-menu','headerLayoutKey','ArrangeTypeEnum','docs-shape-ui.ribbon.shape-format.arrange-front','_registerImageShapeClipDelegate','UniverCore','contentHeight','getAdjustInfoByName','docs-shape-ui.quickStyles','getShapeModel','DocsShapeWrapInlineIcon','Copy','_updateShapeAdjustControls','docs-shape-ui.ribbon.shape-format.style-control','_adjustPointObjects','autoFitType','footerLayoutKey','startWith','resolveShapeTextEditorWrapStrategy','call','interceptor','true','_toScenePoint','isConnectorShape','defIds','_configService','isDrawingObject','pipe','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','values','_drawRichText','docs-shape-ui.hidePanel','_menuManagerService','M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','filter','registerDependencies','_permissionService','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','Large','IDrawingManagerService','TextWrapShapeIcon','resolveFormulaShapeAutoFitSize','getCurrentTypeOfUnit$','shape-editor-ui.arrange.back','M5\x209.5L8\x206.5L11\x209.5','M5\x206.5L8\x209.5L11\x206.5','UniverDocsDrawingMobileUIPlugin','get','shouldAllowShapeTextEditorHostSizeShrink','parent','top-center','createControl$','clipTop','changeEnd$','_injector','Rect','drawing-ui.objectListPanel.noSelection','addImageSourceCache','fill','clip','DocumentEntity','docs-shape-ui.shape-format.quick-style-gallery','behindText','Circle','DocParagraphMenuService','@univerjs/protocol','hadStyleAttribute','drawingId','@univerjs-pro/license','setCursor','_canEditShape','DocsShapeTextEditorContainer','angle','getRenderUnitById','RemoveDocDrawingCommand','strokeWidth','current','unregister','vertical','drawing-ui.objectListPanel.close','_clearCompletionFrame','_activeShapeAdjustPointList','objects','offsetY','adjHandleStroke','getInterceptPoints','univerjs-icon\x20univerjs-icon-','_draw','_unitId','wrapStrategy','Path','setFormulaPresentation','colorChannel1','onCommandExecuted','hasDefault','getMatrix','IMenuManagerService','DocRenderController','disableShapeOption','stopPropagation','docs-shape-ui.shape-format.formula-ribbon-control','GROUP','DocsShapeUIMenuSchema','updateContext','React','OPERATION','ShapeFloatingToolbar','extraProps','debounceRefreshControls','docs-shape-ui.shape-format.wrapping-style-label','render','_clearShapeAdjustControls','UniverDocsMobileUIPlugin','getTransformerByCreate','size','getMenuHiddenObservable','_renderManagerService','SetDocDrawingArrangeCommand','subtle','DrawingImageClipService','Arrow','Line','drawing-ui.objectListPanel.filterHidden','getShapeTextData','getCurrentUnitOfType','UniverLicensePlugin','drawing-ui.objectListPanel.expand','docs-shape-ui.formatShape','ShapeIcon','docs-shape-text-','M2\x203h16M2\x207.5h3M15\x207.5h3M2\x2010h3M15\x2010h3M2\x2012.5h3M15\x2012.5h3M2\x2017h16','width','createInternalEditorID','isHitLine','actualHeight','buildShapeTextDataUpdate','_visible','onTransformChange$','doc.command.menu-insert-shape','DocEventManagerService','icon','getDrawingVisible','resolveShapeContextualRibbonHostMode','getUnitId','drawing-ui.objectListPanel.showAll','drawing-ui.objectListPanel.filterLocked','CONTENT','docs-shape-ui.textWrap.inFrontText','doc.operation.apply-shape-quick-style','resolveActiveShapeQuickStylePresetId','Transform','normalizeShapeTextModel','_isShouldShowDrawingShapeAdjust','toDisposable','removeAttribute','ICommandService','completeEditing','_getFocusedShapeAtPoint','reverse','1em','_config','refreshFormulaPresentation','updateShapeFillImage','topmost-icon','UniverProDocsShape','isHit','buildClipPath','push','rect','docs-shape-ui.ribbon.shape-format.arrange-backward','src','drawing-ui.objectListPanel.moveForward','setCanUseShapeClip','useImperativeHandle','UniverInstanceType','error','showContextualTab','translate','multiply','docs-shape-ui.textWrap.topAndBottom','length','doc-shape-adjust-point-','getShapePopupMenus','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','M2\x203h16M2\x207.5h16M2\x2010h16M2\x2012.5h16M2\x2017h16','pluginName','IconManager','useFormulaShapeToolbar','doc.operation.update-shape-type','version','IN_FRONT_OF_TEXT','draw','drawing-ui.objectListPanel.search','FormulaShapeAnimationController','LAYOUT','SetDocumentPermissionCommand','height','includes','_adjName','default','registerRenderModule','startOffset','DocSelectionRenderService','currentAdjustValues','_getActiveDrawingParam','RibbonInsertGroup','DocumentViewModel','useState','209140oeGgke','clearAdjustControls','complete','doc.shape.edit.panel','localName','_renderWithCache','behindDoc','svg','_registerOperations','mask','title','@univerjs/drawing','_transform','_shapeId','doc.shape.text.float-menu','_context','move-up-icon','getShapeType','tag','_baseShapeTop','classType','drawing-ui.objectListPanel.description','shape-editor-ui.toolbar.changeShape','IDocDrawingService','resolveShapeTextDocumentRenderLayout','map','trim','resolveShapeTextEditorBehaviorShapeData','shouldClipShapeTextDocument','_adjHandlerPointerMove','refreshShapeFillImage','getInverseCoord','getShapeDataById','ShapeFillEnum','MEDIA','drawings','clipByShape','selectable','forEach','getParent','options','isReleased','connectInjector','_getShapeAdjustPointListById','drawing-ui.objectListPanel.name','ShapeTypeEnum','BUTTON','getDrawingOKey','getShapeQuickStyleType','getDrawingShapeKeyByDrawingSearch','componentKey','drawing-ui.objectListPanel.empty','remove$','description','Documents','_shapeTextEditingService','cos','MenuItemType','scene','assign','ShapeFloatingToolbarService','delete','1291514crrMgB','resolveShapeTextHyperLinkObject','syncExecuteCommand','5138760Sjxztc','subscribeEvent','url(#$1','registerShapeFormatPainter','@univerjs/design','docs-shape-ui.openPanel','_subUnitId','sectionFloating','target','DOC_CONTENT_INSERT_MENU_ID','some','hasAttribute','UniverDocsUi','getAllRenderersOfType','_contextService','_urlImageService','onSavingEditorData$','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','InsertDocShapeCommand','MobileMenu','getShapeQuickStylePreset','drawFormulaShapeAnimationLayers','_getSceneByUnitId','getShapeTypeById','createShapeTextBoxShapeData','UniverProShapeEditorUi','open','shapeType','appliedStrokeWidth','paragraph','OBJECT_LIST_FLOATING_SECTION_ID','moveRange','getDrawingPoints','onReady','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','DrawingTypeEnum','DEFAULT_DOC_SHAPE_HEIGHT','.below','skeDrawings','DocumentDataModel','_sidebarService','UniverRenderEnginePlugin','UpdateDocShapeDataMutation','shapeModel','ComponentManager','M2\x203.5h16M2\x2016.5h16M2\x2010h5M13\x2010h5','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','1730826qKkrJp','create','ShapeFormulaRibbonControl','jsx','PositionedObjectLayoutType','dispose','visible','0\x200\x2016\x2016','TopmostIcon','0\x200\x2020\x2020','hideInfoPopup','0.8','PRINTING_COMPONENT_COLLECT','0.14','context-bar','transformVector2SceneCoord','scale','getShapeTextRect','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','top-bottom','getDocumentEntityPermissionObjectId','setShapeData','UniverDrawingPlugin','Shape','restore','_registerDrawingFocusChangeHandler','_registerDrawingTransformHandler','marginTop','DocsShapeWrapTopBottomIcon','vectorEffect','disconnect','_editingParams$','UniverDocsDrawingUi','jsxs','_loadAndSetImage','_shapeRenderController','ContextMenuPosition','MoveDownIcon','onRendered','@univerjs/engine-render','docs-shape-ui.config','more-down-icon','defer','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','_getActiveDrawingShape','docs-shape-ui.deleteShape','prototype','hidden','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','ShapeTextHyperLinkInfo','getPageDrawingIds','toStringTag','children','find','register','asObservable','WRAP_TOP_AND_BOTTOM','setPrstGeom','IPermissionService','http://www.w3.org/2000/svg','name','DocCanvasPopManagerService','_loadShapePictureFill','_endLayoutInteraction','isInGroup','DocLayoutInteractionService','calculate','3658455XDFpVW','useMemo','_docLayoutInteractionService','createShapeFormulaDocument','subUnitId','getValue','drawing-ui.objectListPanel.details','BuiltInUIPart','80peyfXw','isEditing','paragraphId','7731368WdTtLh','setDocsCustomBlockRenderViewportProvider','ImageSourceTypeEnum','endArrow','ShapeLineTypeEnum','fontSize','_univerInstanceService','drawing-ui.objectListPanel.locate','DisposableCollection','_clearPopups','getRealBound','spaceBelowApply','_docsShapeService','_componentManager','DOCS_COMPONENT_MAIN_LAYER_INDEX','cells','univer-grid\x20univer-gap-3','DocsShapeService','DRAWING_SHAPE','getActiveViewportByCoord','drawing-ui.objectListPanel.filterAll','shape-text-','getViewports','update$','_localeService','_initSelection','offsetX','element','DocInterceptorService','_onSavingEditorData$','DocumentSkeleton','getVisible','string','getImageSourceCache','symbol','_setTransForm','editingParams$','URL','skeFooters','sidebarOptions$','localeService','top','distinctUntilChanged','unsubscribe','_createShapeAdjustControls','_baseShapeLeft','drawing-ui.objectListPanel.lock','drawing-ui.objectListPanel.hideAll','ShapeTextHyperLinkHoverController','canDispose','WRAP_SQUARE','_docPrintInterceptorService','ShapePickerPanel','getObjectListPanelSectionIdForDrawingType','onStarting','UniverIcon','getDrawingEffectBounds','more-up-icon','keys','_mobileEditorService','paragraphs','doc.shape.picker.component','registerClipDelegate','value','adjName','UniverDocsDrawing','ISidebarService','round','non-scaling-stroke','_toVisualAdjustPoint','UpdateDrawingDocTransformCommand','5.5','Fragment','getCanvasElement','object-layers-icon','menuRange','getDocumentPermissionValue','_hide','clear','_registerIcons','drawing-ui.objectListPanel.moveBackward','_initMenu','ShapeRenderModeEnum','activeTarget','_initUIPart','getScene','_getShapeInfo','docs-shape-ui.objectListPanel.open','oKey','drawing-ui.objectListPanel.sectionFloating','docs-shape-ui.mobile.text','intercept','isHorizontal','isRichText','drawing-ui.objectListPanel.title','_getRenderModules','ShapeArrowTypeEnum','shapeKey','fillImageSource','docs-shape-ui.ribbon.shape-format.arrange-forward','left','_instanceService','_registerComponents','drawing-ui.objectListPanel.unlockHint','BottomIcon','LocaleService'];_0xd530=function(){return _0x17c777;};return _0xd530();}
|
|
1
|
+
function _0x2d29(){const _0x2e790e=['layoutType','xlink:href','shapeData','getCanvasElement','_drawRichTextLayer','_registerComponents','univer-grid\x20univer-gap-5\x20univer-px-4\x20univer-py-3','behindText','ShapeFormulaRibbonControl','Medium','0\x200\x2016\x2016','some','FromArray','defineProperty','registerShapeFormatPainter','warn','completeEditing','UniverDrawing','UniverProLicense','DocCanvasPopManagerService','shape-editor-ui.toolbar.changeShape','SHAPE_EDITOR_TRANSFORMER_CONFIG','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','forward','createShapeFormulaDocument','context-bar','displayName','merge','UniverUi','_draw','translateWithPrecision','DrawingCommonPanel','_shapeFormulaService','ShapeTextRibbonControl','docs-shape-format-font-family-menu','_docLayoutInteractionService','TextWrappingStyle','useEffect','UnitAction','custom','addObject','clearControl$','UniverProShapeEditor','composeMatrix','onCommandExecuted','M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','DOCS_COMPONENT_MAIN_LAYER_INDEX','UpdateDrawingDocTransformCommand','_formulaAnimation','jsx','BuiltInUIPart','dataModel','flipX','_shapeRenderController','BehaviorSubject','-layout','UniverDocsUIPlugin','DocsShapeService','from','OFFSET','_iconManager','multiply','endOffset','212156UAYdXH','docs-shape-ui.shape-format.quick-style-gallery','FormulaShapeAnimationController','save','DRAWING_OBJECT_LAYER_INDEX','stopPropagation','1em','_lastEditingShapeKey','_completionFrame','MoreDownIcon','bottom','more-up-icon','register','docs-shape-ui.ribbon.shape-format.text-control','getDocumentDrawingSegmentId','shapeType','defs','0\x200\x2020\x2020','decorate','sin','vectorEffect','cancelEditing','getFocusDrawings','useReducer','getLastLine','contentVerticalOffset','_drawingManagerService','rect','createElement','popup','attrs','actualHeight','DependentOn','element','setFormulaPresentation','setPresentation','SHAPE','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','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.ribbon.shape-format.style-control','connectInjector','DocInterceptorService','backward','_drawingType','drawing-ui.objectListPanel.typeNames.','startOffset','IContextService','Module','applyQuickStyleToShapeData','color','FloatingObjectToolbarPosition','getSkeletonData','@univerjs/protocol','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','clearAdjustValue','values','_initEvents','_releaseRenderCache','stroke-width','_drawSimpleText','appliedStrokeWidth','CommandType','autoFitType','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','horizontal','getOwnPropertyDescriptor','DocumentViewModel','6TvlcRk','gradientEndColor','_setTransForm','MobileShapePickerPanel','syncExecuteCommand','startWith','_formulaShapes','getInterceptPoints','RENDER_CLASS_TYPE','shape-editor-ui.arrange.back','trim','DocsShapeUIMenuSchema','docs-shape-ui.textWrap.inFrontText','drawing-ui.objectListPanel.unlockHint','_injector','_urlImageService','touchDependencies','doc.command.menu-insert-shape','strokeWidth','transformVector2SceneCoord','parent','ISidebarService','doc.operation.update-shape-type','getDrawingOKey','_univerInstanceService','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','UniverDrawingUIPlugin','getImage','getActiveViewportByCoord','_instanceService','resolveShapeTextEditorWrapStrategy','M5\x206.5L8\x209.5L11\x206.5','DocumentDataModel','UniverDrawingMobileUIPlugin','ShapeTextAutoFitType','drawing-ui.objectListPanel.close','onload','UpdateDocShapeDataCommand','getMatrix','resolveFormulaShapeAutoFitSize','_adjustPointObjects','WRAP_TOP_AND_BOTTOM','add','_getDependencies','UniverDocsShapeUIPlugin','getTransformerByCreate','vertical','ICommandService','MoveDownIcon','OPERATION','registerRenderModule','1.5.0','docs-shape-ui.ribbon.shape-format.arrange-backward','_sidebarService','DEFAULT_DOC_SHAPE_HEIGHT','IMenuManagerService','subtle','disposeWithMe','updateContext','entries','_updateShapeAdjustControls','getObjectIncludeInGroup','round','IUniverInstanceService','editingParams$','isHit','_subUnitId','canDispose','querySelectorAll','_editingParams$','getDrawingShapeKeyByDrawingSearch','Inject','ShapeRenderModeEnum','CONTENT','_baseShapeHeight','_activeShapeModel','visible','getDrawingPoints','ShapeFloatingToolbar','DocsShapeWrapBehindTextIcon','calculate','_getShapeAdjustPointListById','getUnitType','svg','getDrawingData','footerId','DocDrawingPosition','cloneShapeDataForType','TopmostIcon','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','bottom-icon','_getSceneByUnitId','ShapeIcon','drawing-ui.objectListPanel.showAll','data','createControl$','docs-shape-ui.insertShape','IImageIoService','ShapePickerDropdown','_transform','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','_popupTargetKeys','canvasElement','DRAWING_DOM','PositionedObjectLayoutType','text','strokeOpacity','docs-shape-contextual-ribbon','moveRange','getDrawingDataForUnit','Observable','@univerjs/engine-render','left','setCollapsedIds','idSuffix','pages','RemoveDocDrawingCommand','docs-shape-ui.shape-format.text-ribbon-control','UniverCore','_clearPopups','_props','rows','min','rxjs','drawing-ui.objectListPanel.moveForward','SolidLine','div','_adjName','RichTextEditingMutation','top-bottom','reduce','render','flatMap','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','DrawingImageClipService','useId','_registerImageShapeClipDelegate','IPermissionService','ShapeArrowSizeEnum','executeCommand','children','MenuManagerPosition','startIndex','DRAWING_SHAPE','_popupMenuListener','hasAttribute','WRAP_NONE','resetCursor','baseVal','formulaBinding','@univerjs/docs','vertical-center','createShapeTextBoxShapeData','SolidFill','getDrawingTypeNameKey','intercept','_getActiveDrawingShape','docs-shape-ui.formatShape','URL','getState','plainShapeTextToDocumentData','menuRange','104fZNLFU','UpdateDocDrawingWrappingStyleCommand','normalizeShapeTextModel','_contextService','0.14','description','value','UniverDocs','onerror','drawing-ui.objectListPanel.lockHint','isRichText','get','_createShapeAdjustControls','UniverShapeEditorMobileUIPlugin','find','_clipService','removeAttribute','_menuManagerService','M2\x203h16M2\x207.5h16M2\x2010h16M2\x2012.5h16M2\x2017h16','toStringTag','_registerDrawingTransformHandler','none','isFinite','resolveShapeContextualRibbonHostMode','drawing-ui.objectListPanel.unlockAll','drawing-ui.objectListPanel.filterHidden','_localeService','72099LPUcvc','focusDrawing','Documents','740568NnnZkC','doc','menu','drawing-ui.objectListPanel.hideAll','useFormulaShapeToolbar','animateFormulaPresentation','_initUIPart','LEFT','@univerjs-pro/license','front','clipHeight','drawFormulaShapeAnimationLayers','MobileMenu','0\x200\x2017\x2016','drawing-ui.objectListPanel.unlock','length','assign','_config','objects','clearActiveDrawingObjects','@univerjs-pro/shape-editor-ui','SHAPE_CHANGE_PICKER_COMPONENT','getSelectedObjectMap','.below','getUnitId','_renderWithCache','includes','useRef','_layoutInteraction','_permissionService','ShapeTextFloatMenuRenderControllerBase','ImageSourceTypeEnum','width','_endLayoutInteraction','VIEW_MAIN','Vector2','getPresentation','currentAdjustValues','getShapeQuickStyleType','getAllRenderersOfType','srcRect','clipByShape','_hyperLinkRegions','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','_componentManager','function','getViewports','getShapeType','subscribeEvent','drawing-ui.objectListPanel.details','fill','getUnit','DrawingTypeEnum','@univerjs/docs-drawing','shape-editor-ui.arrange.front','DocsShapeTextEditorContainer','createShapeTextHyperLinkRegions','isDrawingObject','hadStyleAttribute','with','version','packageName','registerDependencies','replace','oKey','getShapePopupMenus','docs-shape-ui.shape-format.formula-ribbon-control','localeService','UniverDocsDrawingUi','isInGroup','buildClipPath','DocSelectionRenderService','SELECTOR','disconnect','onPointerUp$','docs-shape-ui.shape-format.style-ribbon-control','tag','buildShapeTextDataUpdate','UniverProtocol','params','M4.2\x208.3H6.8','UniverShapeEditorUIPlugin','getAdjustInfoByName','focus$','shape-editor-ui.arrange.forward','_shapeId','error','delete','drawing-ui.objectListPanel.dragToReorder','_shapeTextEditingService','RibbonInsertGroup','symbol','Plugin','setProperty','hasDefault','UniverLicensePlugin','docs-shape-ui.objectListPanel.open','2172695uKgGSY','VerticalAlign','clone','UniverShapeEditorPlugin','ObjectLayersIcon','_renderManagerService','_shapeEditPanelVersion','_updateSrcRectByTransform','_disposePopupsByUnit','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','title','onRendered','_addShapeAdjustControl','restore','drawing-ui.objectListPanel.filterLocked','MobileShapeEditorService','_registerOperations','ContextMenuPosition','shapeKey','renderDrawingShape','_imageIoService','UpdateDocShapeDataMutation','adjHandleFill','_getRenderModules','skeHeaders','TOP','getTransformer','observe','doc.operation.open-shape-object-list-panel','map','pipe','permissionPointUpdate$','changing$','M4.2\x205.5H10.5','_initEditingParams','_attachAdjustEvent','ShapeGroupEnum','_context','setCursor','resolveShapeTextEditorBehaviorShapeData','docs-shape-ui.ribbon.shape-format.arrange-back','ShapeTextHyperLinkPopupService','selectable','_isShouldShowDrawingShapeAdjust','drawingType','mergeMenu','drawing-ui.objectListPanel.show','drawing-ui.objectListPanel.name','#3B82F6','DocLayoutInteractionService','docs-shape-ui.shape-format.wrapping-style-label','BEHIND_TEXT','height','getShapeData','fillImageSourceType','drawing-ui.objectListPanel.lock','close','FormatPainterSessionService','SpAutoFit','string','IconManager','@univerjs-pro/docs-shape-ui','pick','doc.shape.edit.panel','INSERT_BELLOW_MENU_ID','animationEnabled','FOCUSING_COMMON_DRAWINGS','SetDocumentPermissionCommand','ArrangeTypeEnum','shapeId','react/jsx-runtime','shapeModel','getCurrentTypeOfUnit$','_activeShapeId','src','update$','docs-shape-ui.textWrap.topAndBottom','_docPrintInterceptorService','VIEWPORT_KEY','UnitObject','square','hideContextualTab','UniverDocsUi','setSrcRect','name','remove$','@univerjs/design','http://www.w3.org/2000/svg','enableObjectsEvent','CROSSHAIR','_registerDrawingFocusChangeHandler','disableObjectsEvent','MoveUpIcon','registerClipDelegate','setContextValue','LocaleService','_shapeFloatingToolbarService','ShapeDefaultConfig','has','target','doc.operation.close-doc-shape-format-panel','setFallbackVisible','_closeShapeEditPanel','_activeShapeAdjustPointList','adjHandleStroke','skeTables','segmentId','current','subscribe','ShapeTextHyperLinkHoverController','_drawShapeText','Shape','bindRenderTransformerLifecycle','forEach','Circle','getRealBound','PRINTING_COMPONENT_COLLECT','fontSize','DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID','setEditing','fontFamily','ShapeModel','url(#$1','IDrawingManagerService','ToggleShapeFloatingToolbarOperation','getShapeDataById','beginPath','setShapeProps','doc.operation.apply-shape-quick-style','forwardRef','angle','getAdjustValueByName','applyPoint','featurePluginUpdateNotification','_sidebarDisposable','MobileActionRow','getSelfOrHeaderFooterModel','footerLayoutKey','getShapeTypeById','OBJECT_LIST_FLOATING_SECTION_ID','getPageDrawingIds','ShapeArrowTypeEnum','behindDoc','DocPrintInterceptorService','_mobileEditorService','next','beginInteraction','unsubscribe','_registerIcons','IDocDrawingService','_ribbonService','doc.shape.text.float-menu','DocsShapeWrapSquareIcon','drawing-ui.objectListPanel.locate','onTransformChange$','ContextMenuGroup','top','default','span','resolveShapeTextBodyBehavior','distinctUntilChanged','_clearCompletionFrame','getBoundingClientRect','showContextualTab','activateDrawingObject','DOC_PARAGRAPH_T_INSERT_MENU_ID','docs-shape-ui.ribbon.shape-format.wrapping-style','getDocumentEntityPermissionObjectId','evenodd','ShapeFillEnum','adjName','type','spaceBelowApply','BooleanNumber','getShapeTextRect','getDocumentEntityParentPermissionObjectIds','preValue','Path','jsxs','getScene','refreshTransform$','ObjectListPanelBase','open','drawing-ui.objectListPanel.empty','drawing-ui.objectListPanel.sectionFloating','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','doc.image-clip.shape-picker.component','_docsShapeService','transformByState','WRAP_SQUARE','_baseShapeTop','653056TjiuPD','prstGeom','ComponentManager','DocsShapeWrapInlineIcon','resolveShapeTextDocumentRenderLayout','ShapeFormatSettingIcon','react','_drawRichText','_initMenu','useImperativeHandle','drawing-ui.objectListPanel.sectionCanvas','UniverRenderEnginePlugin','skeDrawings','_getActiveDrawingParam','fillImageSource','drawing-ui.objectListPanel.nameInput','UNIVER_DOC','doc.shape.object-list.panel','TRUE','ShapeTextFloatToolbar','registerCommand','getContextValue','docs-shape-ui.ribbon.shape-format.arrange-forward','inline','getParent','offsetX','formulaPresentation','docs-shape-ui.config','push','activeTarget','_docDrawingShapeRenderController','_canEdit','sheet.image-clip.shape-picker.component','DocumentEntity','panel','makeDirty','drawings','updateDocumentStyle','#2563EB','getDrawingEditable','attachPopupToObject','drawing','UUID','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','_loadAndSetImage','keys','957222jNgqfB','getPropertyPriority','sidebarOptions$','BUTTON','extensionGroups','Injector','univerjs-icon\x20univerjs-icon-','UniverProDocsShape','clip-','_transformCalculateSrcRect','resolveActiveShapeQuickStylePresetId','docs-shape-ui.ribbon.shape-format.arrange-front','1.2','UniverDocsShapePlugin','DisposableCollection','resolveShapeTextDocumentPageHeight','skeFooters','setPrstGeom','DocumentSkeleton','docs-shape-ui.openPanel','isMainScene','transformForAngle','_unitId','splice','toPrimitive','getEditing','cos','univer-box-border\x20univer-px-4\x20univer-text-sm','_canEditShape','_initPrinting','useMemo','_formulaKey','Disposable','_updateShape','_initSelection','sectionFloating','_toScenePoint','actions','fillType','ShapeTypeEnum','_initialize','currentColor','_isStartAdjusting','UniverIcon','prepareShapeTextDocumentData','drawing-ui.objectListPanel.search','IRibbonService','useLayoutEffect','set','adjHandleSize','onDblclick$','isLineShape','_update','TextWrapShapeIcon','top-center','PARAGRAPH','marginTop','Rect','create','React','_docCanvasPopManagerService','paragraphMenuPlacement','drawing-ui.objectListPanel.moveBackward','getObjectListPanelSectionIdForDrawingType','_getShapeInfo','ShapeLineTypeEnum','getValue','IURLImageService','isReleased','_onSavingEditorData$','getParagraphContentStartOffset','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','_baseShapeWidth','@univerjs/docs-ui','asObservable','LAYOUT','defIds','@univerjs/docs-drawing-ui','UniverDocsShapeMobileUIPlugin','drawing-ui.objectListPanel.descriptionPlaceholder','interceptor','_openShapeEditPanel','pageWidth','size','_insertShapes','docs-shape-ui.ribbon.shape-format','startArrow','originalStrokeWidth','presentationChanged$','_getShapePopup','updateShapeFillImage','@univerjs/drawing','_hide','invert','viewBox','text-wrap-shape-icon','memo','icon','offsetY','transform','paragraphs','1969185lVVXDe','getSnapshot','Fragment','refreshAdjustControls','headerLayoutKey','useObservable','_commandService','more-down-icon','_adjHandlerPointerUp','mask','_activeAdjustInfo','@univerjs/drawing-ui','canEditDocumentTargets','UniverDocsDrawing','getDrawingEffectBounds','ShapeFormulaService','DRAWING_IMAGE','univer-grid\x20univer-gap-3','UniverDrawingPlugin','sectionCanvas','clearAdjustControls','clear','style','_handleCreateControl','dispose','_activeShapeInfo','_initCommands','shapeText','drawing-ui.objectListPanel.lockAll','_baseShapeLeft','UniverDesign','drawing-ui.objectListPanel.hide','@univerjs-pro/engine-shape','INLINE','_visible','@univerjs/ui','drawing-ui.objectListPanel.title','getPropertyValue','docs-shape-ui.textWrap.behindText','_getShapeAdjustInfosById','fallbackWidth','UniverDocsMobileUIPlugin','draw','shape-editor-ui.toolbar.quickStyles','DocParagraphMenuService','visible$','DocsShapeWrapTopBottomIcon','ShapeFloatingToolbarService','onSavingEditorData$','setShapeData','IUIPartsService','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','UniverInstanceType','@univerjs-pro/docs-shape','ShapeQuickStyleGallery','isConnectorShape','behind','object-layers-icon','extraProps','Large','hidden','max','M2\x203h16M2\x2017h16','getDrawingSearch','MobileDocDrawingPosition','setOnSavingEditorData','parseFloat','GROUP','refreshFormulaPresentation','stroke','componentKey','non-scaling-stroke','isHorizontal','useDependency','colorChannel1','Transform','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','ShapeTextEditorContainer','resize','getShapeQuickStylePreset','isHitLine','DOCS_SHAPE_UI_PLUGIN','CURSOR_TYPE','clip','getCurrentUnitOfType','COMMAND','isolated','DocsShapeWrapInFrontOfTextIcon','onReady','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','unitId','prototype','@univerjs-pro/shape-editor','getShapeTextData','drawing-ui.objectListPanel.noSelection','getDrawingOrder','drawing-ui.objectListPanel.description','move-down-icon','move-up-icon','5.5','resolveShapeTextHyperLinkAt','doc.shape.picker.component','IRenderManagerService','drawing-ui.objectListPanel.expand','priority','getShapeModel','_getDisposePopups','scene','BottomIcon','complete','SetDocDrawingArrangeCommand','EMPTY_PARAGRAPH_MENU_ID','subUnitId','filter','getBody','image','removeProperty','_configService','docs-shape-ui.textWrap.inline','docs-shape-ui.deleteShape','_updateAdjustControlPositions','getInverseCoord','docs-shape-ui.quickStyles','UNIVER_SHEET','MenuItemType','IN_FRONT_OF_TEXT','setFillImage','resolveHyperLinkAt','canvas','unregister','getMenuHiddenObservable','_loadShapePictureFill','path','docs-shape-ui.textWrap.square','isEditing','setConfig','setAdjustValueByName','defer','engine','pluginName','enhanceParams','useState','getDrawingByParam','object','refreshShapeFillImage','clipTop','PictureFill','DocShapeAnchorPosition','localName','options','getDrawingVisible','insertGroupObject','drawingId','getActualSize','_getFocusedShapeAtPoint','OTHERS','getRenderUnitById','_applyFormulaAutoFitSize','below','toFixed','changeStart$','getAutoFitPresentations','classType','_measure','ancestorTransform','shouldClipShapeTextDocument','_clearShapeAdjustControls','DocDrawingTextWrap','reverse','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','_isOpenedShapeEditPanel'];_0x2d29=function(){return _0x2e790e;};return _0x2d29();}function _0x1cb9(_0x513d9e,_0x3654bb){_0x513d9e=_0x513d9e-0x143;const _0x2d29b5=_0x2d29();let _0x1cb957=_0x2d29b5[_0x513d9e];return _0x1cb957;}(function(_0x1ca34e,_0xa87fd1){const _0x49ceb6=_0x1cb9,_0x535a6e=_0x1ca34e();while(!![]){try{const _0x499b66=parseInt(_0x49ceb6(0x339))/0x1+-parseInt(_0x49ceb6(0x1bc))/0x2+parseInt(_0x49ceb6(0x1ea))/0x3+parseInt(_0x49ceb6(0x43c))/0x4+-parseInt(_0x49ceb6(0x24f))/0x5+-parseInt(_0x49ceb6(0x37c))/0x6*(-parseInt(_0x49ceb6(0x49d))/0x7)+parseInt(_0x49ceb6(0x41e))/0x8*(-parseInt(_0x49ceb6(0x439))/0x9);if(_0x499b66===_0xa87fd1)break;else _0x535a6e['push'](_0x535a6e['shift']());}catch(_0x186425){_0x535a6e['push'](_0x535a6e['shift']());}}}(_0x2d29,0x31609),function(_0x37a0d4,_0x310188){const _0x439304=_0x1cb9;typeof exports==_0x439304(0x2de)&&typeof module<'u'?_0x310188(exports,require('@univerjs-pro/shape-editor-ui'),require('@univerjs/docs-ui'),require('@univerjs/ui'),require('@univerjs-pro/docs-shape'),require('@univerjs-pro/engine-shape'),require('@univerjs-pro/shape-editor'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/docs-drawing'),require('@univerjs/engine-render'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('react/jsx-runtime'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/docs-drawing-ui'),require('react'),require('@univerjs/design'),require('@univerjs/protocol')):typeof define==_0x439304(0x469)&&define['amd']?define(['exports',_0x439304(0x450),_0x439304(0x233),_0x439304(0x272),_0x439304(0x284),_0x439304(0x26f),_0x439304(0x2ab),'@univerjs/core',_0x439304(0x412),_0x439304(0x471),_0x439304(0x3eb),_0x439304(0x245),_0x439304(0x25a),_0x439304(0x143),_0x439304(0x3f7),_0x439304(0x444),_0x439304(0x237),_0x439304(0x1c2),_0x439304(0x153),_0x439304(0x36d)],_0x310188):(_0x37a0d4=typeof globalThis<'u'?globalThis:_0x37a0d4||self,_0x310188(_0x37a0d4['UniverProDocsShapeUi']={},_0x37a0d4['UniverProShapeEditorUi'],_0x37a0d4[_0x439304(0x14f)],_0x37a0d4[_0x439304(0x316)],_0x37a0d4[_0x439304(0x1f1)],_0x37a0d4['UniverProEngineShape'],_0x37a0d4[_0x439304(0x324)],_0x37a0d4[_0x439304(0x3f2)],_0x37a0d4[_0x439304(0x425)],_0x37a0d4[_0x439304(0x25c)],_0x37a0d4['UniverEngineRender'],_0x37a0d4[_0x439304(0x30b)],_0x37a0d4['UniverDrawingUi'],_0x37a0d4[_0x439304(0x225)],_0x37a0d4[_0x439304(0x3f7)],_0x37a0d4[_0x439304(0x30c)],_0x37a0d4[_0x439304(0x480)],_0x37a0d4[_0x439304(0x225)],_0x37a0d4[_0x439304(0x26d)],_0x37a0d4[_0x439304(0x48a)]));}(this,function(_0x820882,_0x5ceb8e,_0x5bdd19,_0x7c4c2f,_0x156d72,_0x11cfc4,_0x339478,_0x1f70ef,_0x5f20c1,_0x535687,_0x35408c,_0x509efb,_0x57c854,_0x57c25a,_0x3781f8,_0xab2065,_0x23d22e,_0x31450,_0x104a58,_0xe6e2b9){const _0x54e2e6=_0x1cb9;Object[_0x54e2e6(0x307)](_0x820882,Symbol[_0x54e2e6(0x431)],{'value':_0x54e2e6(0x368)});function _0x12f394(_0x55b6d1,_0x3edd69){const _0x30a68f=_0x54e2e6;if(_0x3edd69){if((0x0,_0x11cfc4[_0x30a68f(0x286)])(_0x55b6d1)&&(_0x3edd69[_0x30a68f(0x240)]||_0x3edd69['endArrow']))return{'ln':{'startArrow':_0x3edd69[_0x30a68f(0x240)]?{'type':_0x11cfc4[_0x30a68f(0x18a)]['Arrow'],'size':_0x11cfc4[_0x30a68f(0x406)][_0x30a68f(0x303)]}:void 0x0,'endArrow':_0x3edd69['endArrow']?{'type':_0x11cfc4[_0x30a68f(0x18a)]['Arrow'],'size':_0x11cfc4[_0x30a68f(0x406)][_0x30a68f(0x28a)]}:void 0x0}};if(_0x55b6d1===_0x11cfc4[_0x30a68f(0x211)][_0x30a68f(0x223)]&&(_0x3edd69[_0x30a68f(0x379)]||_0x3edd69[_0x30a68f(0x3aa)]))return(0x0,_0x339478[_0x30a68f(0x414)])({'fill':{'fillType':_0x11cfc4[_0x30a68f(0x1a6)][_0x30a68f(0x415)],'color':_0x30a68f(0x4cd)},'isHorizontal':!!_0x3edd69[_0x30a68f(0x379)],'stroke':{'lineStrokeType':_0x11cfc4[_0x30a68f(0x22b)][_0x30a68f(0x3f9)],'width':0x1,'color':_0x30a68f(0x1e2)}});}}function _0x39f41c(_0x4fb59b,_0x2129c0){const _0x13f06d=_0x54e2e6;var _0x59d377;let _0x1ed7f1=_0x2129c0[_0x13f06d(0x167)]??'',_0x277963=(_0x59d377=_0x4fb59b[_0x13f06d(0x185)](_0x1ed7f1))==null?void 0x0:_0x59d377[_0x13f06d(0x2c1)]();if(!_0x277963)return null;let _0x5acd46=_0x277963[_0x13f06d(0x24e)]??[],_0x17be63=_0x5acd46[_0x13f06d(0x42c)](_0x299ffc=>{const _0x495b31=_0x13f06d;let _0x5b20ab=(0x0,_0x1f70ef[_0x495b31(0x230)])(_0x277963,_0x299ffc);return _0x2129c0[_0x495b31(0x366)]>=_0x5b20ab&&_0x2129c0[_0x495b31(0x366)]<=_0x299ffc[_0x495b31(0x40a)];})??_0x5acd46[_0x5acd46[_0x13f06d(0x44b)]-0x1];return _0x17be63?{'paragraphId':_0x17be63['paragraphId'],'segmentId':_0x1ed7f1,'position':_0x156d72[_0x13f06d(0x2e2)][_0x13f06d(0x335)],'offset':_0x2129c0[_0x13f06d(0x366)]-(0x0,_0x1f70ef['getParagraphContentStartOffset'])(_0x277963,_0x17be63)}:null;}function _0x20140c(_0x5b3e65,_0x6fcc45,_0x3d435e){const _0x25ba10=_0x54e2e6;var _0x2475e2,_0xc41c84;if(!_0x3d435e)return null;let _0x94d86=(_0x2475e2=_0x5b3e65['get'](_0x35408c[_0x25ba10(0x2b5)])[_0x25ba10(0x2eb)](_0x6fcc45))==null?void 0x0:_0x2475e2[_0x25ba10(0x477)](_0x5bdd19[_0x25ba10(0x27b)])[_0x25ba10(0x1d9)];if(!_0x94d86)return null;let _0x54abe3=_0x3d435e==='below'?{'startOffset':_0x94d86[_0x25ba10(0x3e8)][_0x25ba10(0x338)],'endOffset':_0x94d86[_0x25ba10(0x3e8)][_0x25ba10(0x338)]}:_0x94d86[_0x25ba10(0x41d)];return{'startOffset':_0x54abe3[_0x25ba10(0x366)],'endOffset':_0x54abe3[_0x25ba10(0x338)],'collapsed':_0x54abe3[_0x25ba10(0x366)]===_0x54abe3['endOffset'],'segmentId':((_0xc41c84=_0x94d86['paragraph'])==null?void 0x0:_0xc41c84[_0x25ba10(0x167)])??''};}let _0x2567e4={'type':_0x1f70ef[_0x54e2e6(0x376)][_0x54e2e6(0x2a4)],'id':_0x54e2e6(0x38d),'handler':async(_0x3eff7a,_0x572790)=>{const _0x18afb9=_0x54e2e6;let _0x34cd8d=_0x3eff7a[_0x18afb9(0x429)](_0x1f70ef[_0x18afb9(0x3bb)])[_0x18afb9(0x2a3)](_0x1f70ef[_0x18afb9(0x283)][_0x18afb9(0x1cc)]);if(!_0x34cd8d)return!0x1;let _0x57200d=_0x3eff7a[_0x18afb9(0x429)](_0x1f70ef[_0x18afb9(0x3ab)]),_0xb76b7f=_0x34cd8d[_0x18afb9(0x454)](),_0x34f38d=_0x572790[_0x18afb9(0x4e2)]??(0x0,_0x1f70ef['generateRandomId'])(),_0x20fde9=_0x572790[_0x18afb9(0x45c)]??_0x156d72['DEFAULT_DOC_SHAPE_WIDTH'],_0x3653e9=_0x572790[_0x18afb9(0x4d1)]??_0x156d72[_0x18afb9(0x3b2)],_0x457ff5=_0x572790[_0x18afb9(0x2fc)]??_0x12f394(_0x572790[_0x18afb9(0x424)],_0x572790[_0x18afb9(0x2db)]),_0x897ed7=_0x20140c(_0x3eff7a,_0xb76b7f,_0x572790[_0x18afb9(0x227)])??_0x3eff7a[_0x18afb9(0x429)](_0x5f20c1['DocSelectionManagerService'])['getActiveTextRange']();if(!_0x897ed7)return!0x1;let _0x241471=_0x39f41c(_0x34cd8d,_0x897ed7);return _0x241471?!!_0x57200d['syncExecuteCommand'](_0x156d72['InsertDocShapeCommand']['id'],{'unitId':_0xb76b7f,'shapeId':_0x34f38d,'shapeType':_0x572790['value'],'shapeData':_0x457ff5,'transform':{'width':_0x20fde9,'height':_0x3653e9},'placement':{'wrappingStyle':_0x535687['TextWrappingStyle'][_0x18afb9(0x270)],'anchor':_0x241471}}):!0x1;}},_0x45c66c='doc.shape.edit.panel',_0x150b38=_0x54e2e6(0x23f),_0x3e20a4=_0x54e2e6(0x1cd),_0x5247b4=(0x0,_0x1f70ef['createInternalEditorID'])('SHAPE_TEXT'),_0x148b7f=_0x54e2e6(0x194),_0x40116f=_0x54e2e6(0x473),_0x27bc22={'id':_0x54e2e6(0x4b9),'type':_0x1f70ef[_0x54e2e6(0x376)][_0x54e2e6(0x2a4)],'handler':(_0x139701,_0x409ca4)=>{const _0x32ffd9=_0x54e2e6;let _0x5c9d6d=_0x139701[_0x32ffd9(0x429)](_0x7c4c2f[_0x32ffd9(0x391)]),_0x577327=_0x139701[_0x32ffd9(0x429)](_0x1f70ef[_0x32ffd9(0x15c)]),_0x11a418=_0x139701['get'](_0x509efb[_0x32ffd9(0x178)]);return(_0x409ca4==null?void 0x0:_0x409ca4['value'])==='close'?(_0x5c9d6d['close'](_0x3e20a4),!0x0):(_0x5c9d6d[_0x32ffd9(0x1b3)]({'id':_0x3e20a4,'header':{'title':_0x577327['t']('docs-shape-ui.objectListPanel.title')},'children':{'label':_0x3e20a4},'onClose':()=>{const _0x3a37a9=_0x32ffd9;_0x11a418[_0x3a37a9(0x43a)](null);},'width':0x168}),!0x0);}},_0xf4b337={'type':_0x1f70ef['CommandType'][_0x54e2e6(0x3ad)],'id':'doc.operation.open-doc-shape-format-panel','handler'(){return!0x0;}};function _0x4891ec(_0x4ef5a0){const _0x9e0da7=_0x54e2e6;let _0x59f6d8=_0x4ef5a0[_0x9e0da7(0x429)](_0x509efb[_0x9e0da7(0x178)])[_0x9e0da7(0x34f)](),_0x17693d=_0x59f6d8[_0x9e0da7(0x44b)]===0x1?_0x59f6d8[0x0]:null;if(!_0x17693d||_0x17693d[_0x9e0da7(0x4c9)]!==_0x1f70ef[_0x9e0da7(0x470)]['DRAWING_SHAPE'])return null;let _0x518595=_0x4ef5a0['get'](_0x156d72[_0x9e0da7(0x333)]),_0x421668=_0x518595['getShapeTypeById'](_0x17693d[_0x9e0da7(0x2a9)],_0x17693d[_0x9e0da7(0x2bf)],_0x17693d[_0x9e0da7(0x2e7)]),_0x2288ac=_0x518595[_0x9e0da7(0x17a)](_0x17693d[_0x9e0da7(0x2a9)],_0x17693d[_0x9e0da7(0x2bf)],_0x17693d['drawingId']);return _0x421668===void 0x0||!_0x2288ac?null:{'drawing':_0x17693d,'shapeData':_0x2288ac,'shapeType':_0x421668};}let _0x23b4a0={'id':_0x54e2e6(0x17d),'type':_0x1f70ef[_0x54e2e6(0x376)][_0x54e2e6(0x3ad)],'handler':(_0x2aaffd,_0x575445)=>{const _0x4982f3=_0x54e2e6;let _0x5dcf0f=_0x4891ec(_0x2aaffd),_0x49cb4a=(0x0,_0x339478[_0x4982f3(0x29e)])((_0x575445==null?void 0x0:_0x575445['presetId'])??(_0x575445==null?void 0x0:_0x575445['value'])??'');if(!_0x5dcf0f||!_0x49cb4a||_0x49cb4a[_0x4982f3(0x1a8)]!==(0x0,_0x339478['getShapeQuickStyleType'])(_0x5dcf0f[_0x4982f3(0x2fc)]))return!0x1;let _0x30628e=(0x0,_0x339478[_0x4982f3(0x369)])(_0x5dcf0f[_0x4982f3(0x2fc)],_0x49cb4a);if(!_0x30628e)return!0x1;let {drawing:_0x55ea29}=_0x5dcf0f;return _0x2aaffd[_0x4982f3(0x429)](_0x1f70ef[_0x4982f3(0x3ab)])[_0x4982f3(0x407)](_0x156d72[_0x4982f3(0x3a1)]['id'],{'unitId':_0x55ea29['unitId'],'shapeId':_0x55ea29[_0x4982f3(0x2e7)],'shapeData':_0x30628e,'oldShapeJSON':{'oldShapeData':_0x5dcf0f[_0x4982f3(0x2fc)]}});}},_0x8614a3={'id':_0x54e2e6(0x392),'type':_0x1f70ef[_0x54e2e6(0x376)][_0x54e2e6(0x3ad)],'handler':(_0x24223a,_0x39ea48)=>{const _0x1dbc3c=_0x54e2e6;let _0x39aac4=_0x4891ec(_0x24223a),_0x156121=(_0x39ea48==null?void 0x0:_0x39ea48[_0x1dbc3c(0x348)])??(_0x39ea48==null?void 0x0:_0x39ea48['value']);if(!_0x39aac4||!_0x156121||(0x0,_0x11cfc4[_0x1dbc3c(0x286)])(_0x39aac4[_0x1dbc3c(0x348)])||(0x0,_0x11cfc4['isConnectorShape'])(_0x156121))return!0x1;let _0xdf7764=(0x0,_0x339478[_0x1dbc3c(0x3d3)])(_0x39aac4[_0x1dbc3c(0x2fc)],_0x156121);if(!_0xdf7764)return!0x1;let {drawing:_0xade536}=_0x39aac4;return _0x24223a[_0x1dbc3c(0x429)](_0x1f70ef[_0x1dbc3c(0x3ab)])[_0x1dbc3c(0x407)](_0x156d72['UpdateDocShapeDataCommand']['id'],{'unitId':_0xade536['unitId'],'shapeId':_0xade536[_0x1dbc3c(0x2e7)],'shapeType':_0x156121,'shapeData':_0xdf7764,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x39aac4[_0x1dbc3c(0x348)],'oldShapeData':_0x39aac4['shapeData']}});}};function _0x1af634(_0x2020fe,_0x1309f3){return function(_0x16579a,_0x526c82){_0x1309f3(_0x16579a,_0x526c82,_0x2020fe);};}function _0x105eeb(_0x2427eb,_0x50ea27,_0x37e70d,_0x118449){const _0x50997e=_0x54e2e6;var _0x34fe1b=arguments[_0x50997e(0x44b)],_0x41c799=_0x34fe1b<0x3?_0x50ea27:_0x118449===null?_0x118449=Object[_0x50997e(0x37a)](_0x50ea27,_0x37e70d):_0x118449,_0x2023fc;if(typeof Reflect==_0x50997e(0x2de)&&typeof Reflect[_0x50997e(0x34b)]==_0x50997e(0x469))_0x41c799=Reflect[_0x50997e(0x34b)](_0x2427eb,_0x50ea27,_0x37e70d,_0x118449);else{for(var _0x42e49b=_0x2427eb[_0x50997e(0x44b)]-0x1;_0x42e49b>=0x0;_0x42e49b--)(_0x2023fc=_0x2427eb[_0x42e49b])&&(_0x41c799=(_0x34fe1b<0x3?_0x2023fc(_0x41c799):_0x34fe1b>0x3?_0x2023fc(_0x50ea27,_0x37e70d,_0x41c799):_0x2023fc(_0x50ea27,_0x37e70d))||_0x41c799);}return _0x34fe1b>0x3&&_0x41c799&&Object[_0x50997e(0x307)](_0x50ea27,_0x37e70d,_0x41c799),_0x41c799;}let _0xb8d91=class extends _0x1f70ef[_0x54e2e6(0x20a)]{constructor(_0x4dd06b,_0x52ae7b){const _0x6fe12b=_0x54e2e6;super(),this[_0x6fe12b(0x42d)]=_0x4dd06b,this[_0x6fe12b(0x353)]=_0x52ae7b,this[_0x6fe12b(0x404)](),this[_0x6fe12b(0x42d)]['setCanUseShapeClip'](!0x0),this[_0x6fe12b(0x3b5)]({'dispose':()=>this[_0x6fe12b(0x42d)]['setCanUseShapeClip'](!0x1)});}['_registerImageShapeClipDelegate'](){const _0x1952a1=_0x54e2e6;let _0x23704b=new Map(),_0x35fef1=this['_clipService'][_0x1952a1(0x15a)]((_0x46c001,_0x15cd87,_0x364f05,_0x38c3f6,_0x491966)=>{const _0x4b79fc=_0x1952a1;let _0xe824f3=_0x15cd87;if(_0xe824f3===_0x11cfc4[_0x4b79fc(0x211)]['None']||_0x15cd87===_0x4b79fc(0x321))return!0x1;try{let _0x2345e4=_0x23704b[_0x4b79fc(0x429)](_0x15cd87);return _0x2345e4||(_0x2345e4=new _0x11cfc4[(_0x4b79fc(0x176))](_0xe824f3,_0x4b79fc(0x1f2)+_0x15cd87),_0x23704b[_0x4b79fc(0x21a)](_0x15cd87,_0x2345e4)),_0x2345e4[_0x4b79fc(0x36f)](),_0x491966&&Object[_0x4b79fc(0x1e9)](_0x491966)[_0x4b79fc(0x44b)]>0x0&&_0x2345e4[_0x4b79fc(0x280)]({'adjustValues':_0x491966},!0x0),_0x2345e4[_0x4b79fc(0x3b6)]({'width':_0x364f05,'height':_0x38c3f6}),_0x2345e4[_0x4b79fc(0x482)](_0x46c001,{'left':0x0,'top':0x0,'width':_0x364f05,'height':_0x38c3f6});}catch{return!0x1;}});this[_0x1952a1(0x3b5)](_0x35fef1),this[_0x1952a1(0x3b5)]({'dispose':()=>_0x23704b[_0x1952a1(0x264)]()});}[_0x54e2e6(0x465)](_0x520ad6,_0x12d96e,_0x57c887,_0x3319fa,_0x4ebba3){const _0x3b0550=_0x54e2e6;let _0xe8bc1f=this[_0x3b0550(0x353)][_0x3b0550(0x3d0)](_0x520ad6,_0x12d96e)[_0x57c887];_0xe8bc1f&&_0xe8bc1f[_0x3b0550(0x4c9)]===_0x1f70ef[_0x3b0550(0x470)][_0x3b0550(0x25f)]&&this[_0x3b0550(0x353)][_0x3b0550(0x182)]([{..._0xe8bc1f,'prstGeom':_0x3319fa,'adjustValues':_0x4ebba3}]);}};_0xb8d91=_0x105eeb([_0x1af634(0x0,(0x0,_0x1f70ef['Inject'])(_0x57c854[_0x54e2e6(0x402)])),_0x1af634(0x1,(0x0,_0x1f70ef['Inject'])(_0x509efb[_0x54e2e6(0x178)]))],_0xb8d91);let _0x3234d1=_0x54e2e6(0x2b4),_0x42bec7=_0x54e2e6(0x1b7);function _0x289d87({onShapeClick:_0x2a9c31,excludeGroups:_0x560eaa}){const _0x4d4afe=_0x54e2e6;return(0x0,_0x57c25a[_0x4d4afe(0x32b)])(_0x5ceb8e['ShapePickerPanel'],{'excludeGroups':_0x560eaa,'onShapeClick':_0x2a9c31,'scrollContainer':_0x4d4afe(0x390)});}function _0x288c0f(){const _0x37e561=_0x54e2e6;let _0x5531f0=(0x0,_0x7c4c2f[_0x37e561(0x298)])(_0x509efb[_0x37e561(0x178)]),_0x59f632=(0x0,_0x7c4c2f[_0x37e561(0x298)])(_0xb8d91);return _0x57b271=>{const _0x48270c=_0x37e561;let _0x1faa2d=_0x5531f0[_0x48270c(0x34f)]()['find'](_0x34ee5c=>_0x34ee5c[_0x48270c(0x4c9)]===_0x1f70ef[_0x48270c(0x470)][_0x48270c(0x25f)]);_0x1faa2d&&_0x59f632[_0x48270c(0x465)](_0x1faa2d[_0x48270c(0x2a9)],_0x1faa2d[_0x48270c(0x2bf)],_0x1faa2d[_0x48270c(0x2e7)],_0x57b271[_0x48270c(0x1a8)]);};}function _0x13d12e(){const _0x2f2e77=_0x54e2e6;let _0x80c4e9=_0x288c0f();return(0x0,_0x57c25a[_0x2f2e77(0x32b)])(_0x5ceb8e[_0x2f2e77(0x3de)],{'buttonLabel':'docs-shape-ui.crop.shape','excludeGroups':[_0x5ceb8e[_0x2f2e77(0x4c1)]['Line']],'onShapeClick':_0x80c4e9});}function _0x280758(){const _0x3e0fd3=_0x54e2e6;let _0x3f31a9=(0x0,_0x7c4c2f['useDependency'])(_0x7c4c2f[_0x3e0fd3(0x1be)]),_0x3c7bdb=(0x0,_0x7c4c2f['useDependency'])(_0x509efb[_0x3e0fd3(0x178)]),_0x5baadc=(0x0,_0x7c4c2f['useDependency'])(_0x1f70ef[_0x3e0fd3(0x3bb)]),_0x2f6f62=_0x3c7bdb[_0x3e0fd3(0x34f)]()[0x0],_0x466fde=_0x2f6f62?_0x5baadc[_0x3e0fd3(0x3ce)](_0x2f6f62[_0x3e0fd3(0x2a9)]):void 0x0,_0x46dbe0=_0x466fde===_0x1f70ef['UniverInstanceType']['UNIVER_DOC']?_0x42bec7:_0x466fde===_0x1f70ef[_0x3e0fd3(0x283)][_0x3e0fd3(0x2ca)]?_0x3e0fd3(0x1dc):void 0x0,_0x13d208=_0x46dbe0?_0x3f31a9[_0x3e0fd3(0x429)](_0x46dbe0):void 0x0;return _0x13d208?(0x0,_0x57c25a[_0x3e0fd3(0x32b)])(_0x13d208,{}):null;}function _0x13878f({paragraphMenuPlacement:_0x47d7e9,PickerComponent:_0x5eeb7c=_0x289d87}){const _0x1f6eeb=_0x54e2e6;let _0x18fd4d=(0x0,_0x7c4c2f[_0x1f6eeb(0x298)])(_0x1f70ef[_0x1f6eeb(0x3ab)]);return(0x0,_0x57c25a['jsx'])(_0x5eeb7c,{'onShapeClick':_0x1be000=>{const _0x381623=_0x1f6eeb;_0x18fd4d['executeCommand'](_0x2567e4['id'],{'paragraphMenuPlacement':_0x47d7e9,'value':_0x1be000[_0x381623(0x1a8)],'enhanceParams':{'endArrow':_0x1be000['endArrow'],'startArrow':_0x1be000[_0x381623(0x240)],'horizontal':_0x1be000['horizontal'],'vertical':_0x1be000[_0x381623(0x3aa)]}});}});}function _0x253ef0(_0x3fd6c2){const _0x1bdb8b=_0x54e2e6;return _0x1e2360=>({'id':_0x2567e4['id'],'type':_0x7c4c2f[_0x1bdb8b(0x2cb)][_0x1bdb8b(0x484)],'selections':[{'label':{'name':_0x3234d1,'hoverable':!0x1,'selectable':!0x1,'props':_0x3fd6c2?{'id':_0x2567e4['id'],'paragraphMenuPlacement':_0x3fd6c2}:{'id':_0x2567e4['id']}}}],'icon':_0x1bdb8b(0x3d8),'title':'docs-shape-ui.insertShape','tooltip':_0x1bdb8b(0x3dc),'hidden$':(0x0,_0x7c4c2f[_0x1bdb8b(0x2d1)])(_0x1e2360,_0x1f70ef['UniverInstanceType'][_0x1bdb8b(0x1cc)])});}let _0x563e01=_0x253ef0(),_0x49b5e5=_0x253ef0(_0x54e2e6(0x2ed)),_0x31cd9a=_0x253ef0(_0x54e2e6(0x160));function _0x1336d3(_0x414add){const _0x148e8e=_0x54e2e6;let _0x2477c3=_0x414add['get'](_0x7c4c2f[_0x148e8e(0x391)]);return{'id':_0x27bc22['id'],'type':_0x7c4c2f[_0x148e8e(0x2cb)][_0x148e8e(0x1ed)],'icon':_0x148e8e(0x4a1),'title':_0x148e8e(0x49c),'tooltip':_0x148e8e(0x49c),'activated$':(0x0,_0x3781f8[_0x148e8e(0x2d8)])(()=>_0x2477c3[_0x148e8e(0x1ec)][_0x148e8e(0x4bb)]((0x0,_0x3781f8[_0x148e8e(0x381)])(_0x2477c3[_0x148e8e(0x2e4)]),(0x0,_0x3781f8[_0x148e8e(0x4ba)])(_0x10b035=>_0x10b035[_0x148e8e(0x3c8)]===!0x0&&_0x10b035['id']===_0x148e8e(0x1cd)),(0x0,_0x3781f8[_0x148e8e(0x19d)])())),'hidden$':(0x0,_0x7c4c2f[_0x148e8e(0x2d1)])(_0x414add,_0x1f70ef[_0x148e8e(0x283)]['UNIVER_DOC'])};}function _0x47b987(_0x1cbcb9,_0x1bdc56,_0x599707,_0x78011d,_0x5f901a,_0x5e7237){const _0x2f432b=_0x54e2e6;let _0x599e19={'unitId':_0x1bdc56,'shapeId':_0x78011d,'shapeData':_0x5e7237,'oldShapeJSON':_0x5f901a};return _0x1cbcb9[_0x2f432b(0x407)](_0x156d72['UpdateDocShapeDataCommand']['id'],_0x599e19);}function _0x166ba9(_0x49738b,_0x120b05,_0x4dd219,_0x545f79,_0x3f69c,_0x5f5450){const _0x10aec9=_0x54e2e6;let _0x4906f4={'unitId':_0x120b05,'shapeId':_0x545f79,'shapeData':_0x5f5450,'oldShapeJSON':_0x3f69c};return _0x49738b[_0x10aec9(0x407)](_0x156d72[_0x10aec9(0x3a1)]['id'],_0x4906f4);}let _0x38ab15=_0x54e2e6(0x33a),_0x11a36f=_0x54e2e6(0x487),_0x4327b8=_0x54e2e6(0x3f1),_0x191cb1=_0x54e2e6(0x47e),_0x2515e8=_0x54e2e6(0x4cf),_0x1f13d0=[{'value':_0x535687[_0x54e2e6(0x31e)][_0x54e2e6(0x270)],'label':_0x54e2e6(0x2c5),'icon':_0x54e2e6(0x1bf)},{'value':_0x535687['TextWrappingStyle'][_0x54e2e6(0x1ba)],'label':_0x54e2e6(0x2d4),'icon':_0x54e2e6(0x195)},{'value':_0x535687['TextWrappingStyle'][_0x54e2e6(0x3a5)],'label':_0x54e2e6(0x149),'icon':_0x54e2e6(0x27d)},{'value':_0x535687['TextWrappingStyle'][_0x54e2e6(0x4d0)],'label':_0x54e2e6(0x275),'icon':_0x54e2e6(0x3cb)},{'value':_0x535687[_0x54e2e6(0x31e)]['IN_FRONT_OF_TEXT'],'label':_0x54e2e6(0x388),'icon':_0x54e2e6(0x2a6)}];function _0x3d4c5a(){const _0x512ae1=_0x54e2e6;let _0x14afd5=(0x0,_0x7c4c2f[_0x512ae1(0x298)])(_0x1f70ef[_0x512ae1(0x3ab)]),_0x495027=(0x0,_0x7c4c2f[_0x512ae1(0x298)])(_0x509efb[_0x512ae1(0x178)]),_0x138713=(0x0,_0x7c4c2f[_0x512ae1(0x298)])(_0x156d72[_0x512ae1(0x333)]),_0x17bbcf=()=>{const _0x7c4d04=_0x512ae1;var _0x353e03;let _0x45d11b=_0x495027[_0x7c4d04(0x34f)]();if(_0x45d11b['length']!==0x1||((_0x353e03=_0x45d11b[0x0])==null?void 0x0:_0x353e03[_0x7c4d04(0x4c9)])!==_0x1f70ef[_0x7c4d04(0x470)][_0x7c4d04(0x40b)])return null;let {unitId:_0x3fa45f,subUnitId:_0x47a186,drawingId:_0x1d8d3e}=_0x45d11b[0x0],_0x1e9866=_0x138713['getShapeTypeById'](_0x3fa45f,_0x47a186,_0x1d8d3e),_0x5ed79a=_0x138713[_0x7c4d04(0x17a)](_0x3fa45f,_0x47a186,_0x1d8d3e);return _0x1e9866===void 0x0||!_0x5ed79a?null:{'unitId':_0x3fa45f,'subUnitId':_0x47a186,'drawingId':_0x1d8d3e,'shapeType':_0x1e9866,'shapeData':_0x5ed79a};},_0x2d1c99=(0x0,_0x7c4c2f[_0x512ae1(0x254)])(()=>new _0x3781f8[(_0x512ae1(0x3ea))](_0x242dd4=>{const _0x42bc23=_0x512ae1;let _0xfe0a6=()=>_0x242dd4[_0x42bc23(0x18e)](_0x17bbcf()),_0x44692c=_0x495027[_0x42bc23(0x48f)][_0x42bc23(0x169)](_0xfe0a6),_0x4f1d4f=_0x14afd5[_0x42bc23(0x326)](_0x574b4a=>{_0x574b4a['id']===_0x156d72['UpdateDocShapeDataMutation']['id']&&_0xfe0a6();});return _0xfe0a6(),()=>{const _0x164473=_0x42bc23;_0x44692c[_0x164473(0x190)](),_0x4f1d4f['dispose']();};}),_0x17bbcf(),!0x1,[_0x14afd5,_0x138713,_0x495027]);return{'selection':_0x2d1c99,'updateShapeData':_0x412a4b=>{const _0x43d971=_0x512ae1;_0x2d1c99&&_0x47b987(_0x14afd5,_0x2d1c99[_0x43d971(0x2a9)],_0x2d1c99[_0x43d971(0x2bf)],_0x2d1c99[_0x43d971(0x2e7)],{'oldShapeData':_0x2d1c99[_0x43d971(0x2fc)]},_0x412a4b);}};}function _0xbdc066(){const _0x443312=_0x54e2e6;let {selection:_0x235ddd,updateShapeData:_0x3b1e15}=_0x3d4c5a();return _0x235ddd?(0x0,_0x57c25a['jsx'])(_0x5ceb8e['ShapeStyleRibbonControl'],{'shapeData':_0x235ddd[_0x443312(0x2fc)],'shapeType':_0x235ddd[_0x443312(0x348)],'onUpdateShapeData':_0x3b1e15}):null;}function _0x5a86e2(){const _0x49d042=_0x54e2e6;let _0x1bc5bf=(0x0,_0x7c4c2f['useDependency'])(_0x1f70ef[_0x49d042(0x3ab)]),_0x4520b1=(0x0,_0x7c4c2f[_0x49d042(0x298)])(_0x1f70ef[_0x49d042(0x15c)]),{selection:_0x138ca6}=_0x3d4c5a();return _0x138ca6?(0x0,_0x57c25a[_0x49d042(0x32b)])(_0x5ceb8e[_0x49d042(0x285)],{'type':(0x0,_0x339478[_0x49d042(0x462)])(_0x138ca6['shapeData']),'ariaLabel':_0x4520b1['t'](_0x49d042(0x2c9)),'activePresetId':(0x0,_0x339478[_0x49d042(0x1f4)])(_0x138ca6[_0x49d042(0x2fc)]),'onSelect':_0x56783d=>_0x1bc5bf['executeCommand'](_0x23b4a0['id'],{'presetId':_0x56783d})}):null;}function _0x58fb9b(){const _0x49a734=_0x54e2e6;let {selection:_0x514727,updateShapeData:_0x194778}=_0x3d4c5a();return _0x514727?(0x0,_0x57c25a[_0x49a734(0x32b)])(_0x5ceb8e[_0x49a734(0x31b)],{'fontFamilyPopupDataComponent':_0x49a734(0x31c),'shapeData':_0x514727[_0x49a734(0x2fc)],'onUpdateShapeData':_0x194778}):null;}function _0x464b9a(){const _0x22e0eb=_0x54e2e6;var _0x3d7079;let {selection:_0x11fd52,updateShapeData:_0x20cf9e}=_0x3d4c5a(),_0x57ae7d=(0x0,_0x5ceb8e['useFormulaShapeToolbar'])({'hostType':_0x1f70ef[_0x22e0eb(0x283)][_0x22e0eb(0x1cc)],'unitId':(_0x11fd52==null?void 0x0:_0x11fd52[_0x22e0eb(0x2a9)])??'','subUnitId':(_0x11fd52==null?void 0x0:_0x11fd52[_0x22e0eb(0x2bf)])??'','shapeId':(_0x11fd52==null?void 0x0:_0x11fd52['drawingId'])??'','shapeData':_0x11fd52==null?void 0x0:_0x11fd52['shapeData'],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x22e0eb(0x343),'onUpdateBinding':_0x32d5fc=>_0x20cf9e({'formulaBinding':_0x32d5fc})}),_0x215e44=((_0x3d7079=_0x57ae7d[_0x22e0eb(0x1ee)])==null?void 0x0:_0x3d7079[_0x22e0eb(0x400)](_0x4e9d82=>_0x4e9d82[_0x22e0eb(0x20f)])[_0x22e0eb(0x2c0)](_0x4a021c=>_0x4a021c[_0x22e0eb(0x3c8)]!==!0x1))??[];return _0x11fd52!=null&&_0x11fd52['shapeData'][_0x22e0eb(0x411)]?(0x0,_0x57c25a['jsx'])(_0x5ceb8e[_0x22e0eb(0x302)],{'actions':_0x215e44,'panel':_0x57ae7d[_0x22e0eb(0x1de)]}):null;}function _0x5a5a75({value:_0x2f5c9c}){const _0xdb2087=_0x54e2e6;let _0x3905c2=(0x0,_0x7c4c2f[_0xdb2087(0x298)])(_0x1f70ef[_0xdb2087(0x15c)]),_0x39cc77=_0x1f13d0[_0xdb2087(0x42c)](_0x4eb940=>_0x4eb940['value']===_0x2f5c9c)??_0x1f13d0[0x0];return _0x39cc77?(0x0,_0x57c25a[_0xdb2087(0x32b)])(_0xdb2087(0x19b),{'children':_0x3905c2['t'](_0x39cc77['label'])}):null;}let _0x471a2a=_0x54e2e6(0x360),_0x3901b0=_0x54e2e6(0x346),_0xbd3d43='docs-shape-ui.ribbon.shape-format.formula-control',_0x19eeaf=_0x54e2e6(0x1d2),_0x13160b=_0x54e2e6(0x3b0),_0x37e15b=_0x54e2e6(0x1f5),_0xc2421a=_0x54e2e6(0x4c5),_0x4ab358=_0x54e2e6(0x1a3);function _0x1f5d1e(_0x4dbd1d){const _0x5dc27c=_0x54e2e6;let _0xef6270=_0x4dbd1d[_0x5dc27c(0x429)](_0x1f70ef['ICommandService']),_0x32903a=_0x4dbd1d[_0x5dc27c(0x429)](_0x509efb[_0x5dc27c(0x178)]),_0x562be3=_0x4dbd1d[_0x5dc27c(0x429)](_0x156d72[_0x5dc27c(0x333)]);return new _0x3781f8[(_0x5dc27c(0x3ea))](_0x24f2d1=>{const _0x51e7d3=_0x5dc27c;let _0x5aab8e=()=>{const _0x353fbb=_0x1cb9;let _0x26a814=_0x4ddc7f(_0x4dbd1d),_0x35eabe=_0x26a814?_0x562be3['getShapeDataById'](_0x26a814[_0x353fbb(0x2a9)],_0x26a814[_0x353fbb(0x2bf)],_0x26a814[_0x353fbb(0x2e7)]):null;_0x24f2d1[_0x353fbb(0x18e)](_0x35eabe?(0x0,_0x339478[_0x353fbb(0x1f4)])(_0x35eabe)??'':'');},_0x5617aa=_0x32903a[_0x51e7d3(0x48f)]['subscribe'](_0x5aab8e),_0x23dcf7=_0xef6270[_0x51e7d3(0x326)](_0x15c771=>{const _0x278072=_0x51e7d3;_0x15c771['id']===_0x156d72[_0x278072(0x4b2)]['id']&&_0x5aab8e();});return _0x5aab8e(),()=>{const _0x26dd64=_0x51e7d3;_0x5617aa[_0x26dd64(0x190)](),_0x23dcf7[_0x26dd64(0x267)]();};});}function _0x4ddc7f(_0x4f5d1a){const _0x37195d=_0x54e2e6;var _0x634452;let _0x10a897=_0x4f5d1a[_0x37195d(0x429)](_0x509efb[_0x37195d(0x178)])['getFocusDrawings']();return _0x10a897['length']===0x1&&((_0x634452=_0x10a897[0x0])==null?void 0x0:_0x634452[_0x37195d(0x4c9)])===_0x1f70ef[_0x37195d(0x470)][_0x37195d(0x40b)]?_0x10a897[0x0]:null;}function _0x808b19(_0x92a000){const _0x54502c=_0x54e2e6;return(_0x92a000==null?void 0x0:_0x92a000[_0x54502c(0x2fa)])===_0x1f70ef['PositionedObjectLayoutType'][_0x54502c(0x40e)]?_0x92a000[_0x54502c(0x18b)]===_0x1f70ef[_0x54502c(0x1aa)][_0x54502c(0x1ce)]?_0x535687[_0x54502c(0x31e)][_0x54502c(0x4d0)]:_0x535687[_0x54502c(0x31e)]['IN_FRONT_OF_TEXT']:(_0x92a000==null?void 0x0:_0x92a000['layoutType'])===_0x1f70ef['PositionedObjectLayoutType'][_0x54502c(0x1ba)]?_0x535687[_0x54502c(0x31e)]['WRAP_SQUARE']:(_0x92a000==null?void 0x0:_0x92a000['layoutType'])===_0x1f70ef[_0x54502c(0x3e4)]['WRAP_TOP_AND_BOTTOM']?_0x535687[_0x54502c(0x31e)]['WRAP_TOP_AND_BOTTOM']:_0x535687['TextWrappingStyle']['INLINE'];}function _0x11db84(_0x39e0be){const _0x3fa974=_0x54e2e6;let _0x496bc9=_0x39e0be[_0x3fa974(0x429)](_0x1f70ef['ICommandService']),_0x269d4f=_0x39e0be['get'](_0x509efb[_0x3fa974(0x178)]),_0x453220=_0x39e0be[_0x3fa974(0x429)](_0x1f70ef[_0x3fa974(0x3bb)]);return new _0x3781f8[(_0x3fa974(0x3ea))](_0x4f19a4=>{const _0x7372ea=_0x3fa974;let _0x13e9fa=()=>{const _0x28ffd6=_0x1cb9;var _0x23aa75;let _0x551e77=_0x4ddc7f(_0x39e0be),_0xa7a041=_0x551e77?_0x453220[_0x28ffd6(0x46f)](_0x551e77[_0x28ffd6(0x2a9)],_0x1f70ef[_0x28ffd6(0x283)]['UNIVER_DOC']):void 0x0;_0x4f19a4['next'](_0x808b19(_0x551e77?_0xa7a041==null||(_0x23aa75=_0xa7a041['getSnapshot']()['drawings'])==null?void 0x0:_0x23aa75[_0x551e77[_0x28ffd6(0x2e7)]]:void 0x0));},_0x570ff9=_0x269d4f[_0x7372ea(0x48f)][_0x7372ea(0x169)](_0x13e9fa),_0x7b934c=_0x496bc9['onCommandExecuted'](_0x569e20=>{const _0x2f5195=_0x7372ea;_0x569e20['id']===_0x5f20c1[_0x2f5195(0x3fc)]['id']&&_0x13e9fa();});return _0x13e9fa(),()=>{const _0xf7aec0=_0x7372ea;_0x570ff9[_0xf7aec0(0x190)](),_0x7b934c[_0xf7aec0(0x267)]();};})[_0x3fa974(0x4bb)]((0x0,_0x3781f8[_0x3fa974(0x19d)])());}function _0x2af056(_0x4e6fbe,_0x3f2178=!0x1){const _0x526927=_0x54e2e6;let _0x47b151=_0x4e6fbe[_0x526927(0x429)](_0x1f70ef['ICommandService']),_0x44c70e=_0x4e6fbe[_0x526927(0x429)](_0x509efb[_0x526927(0x178)]),_0x2b59e3=_0x4e6fbe[_0x526927(0x429)](_0x156d72[_0x526927(0x333)]);return new _0x3781f8[(_0x526927(0x3ea))](_0x3cf0d4=>{const _0x2b07c5=_0x526927;let _0xac3257=()=>{const _0x569923=_0x1cb9;let _0x11704d=_0x4ddc7f(_0x4e6fbe);if(!_0x11704d){_0x3cf0d4['next'](!0x0);return;}let _0x3f2a08=_0x2b59e3['getShapeDataById'](_0x11704d[_0x569923(0x2a9)],_0x11704d[_0x569923(0x2bf)],_0x11704d['drawingId']);_0x3cf0d4[_0x569923(0x18e)](!_0x3f2a08||_0x3f2178&&_0x3f2a08[_0x569923(0x411)]==null);},_0x1b8bc0=_0x44c70e['focus$']['subscribe'](_0xac3257),_0x3e2edd=_0x47b151[_0x2b07c5(0x326)](_0x5bc1ce=>{const _0x28666b=_0x2b07c5;_0x5bc1ce['id']===_0x156d72[_0x28666b(0x4b2)]['id']&&_0xac3257();});return _0xac3257(),()=>{const _0xab79db=_0x2b07c5;_0x1b8bc0['unsubscribe'](),_0x3e2edd[_0xab79db(0x267)]();};});}function _0xc5d771(_0x2d8040){const _0x1a11ee=_0x54e2e6;let _0x13a7b8=_0x2d8040[_0x1a11ee(0x429)](_0x509efb['IDrawingManagerService']),_0x429f5c=_0x2d8040[_0x1a11ee(0x429)](_0x156d72[_0x1a11ee(0x333)]);return _0x13a7b8[_0x1a11ee(0x48f)][_0x1a11ee(0x4bb)]((0x0,_0x3781f8[_0x1a11ee(0x381)])(_0x13a7b8['getFocusDrawings']()),(0x0,_0x3781f8[_0x1a11ee(0x4ba)])(()=>{const _0x1af615=_0x1a11ee;let _0x330e37=_0x4ddc7f(_0x2d8040),_0x4e00a4=_0x330e37?_0x429f5c['getShapeTypeById'](_0x330e37['unitId'],_0x330e37[_0x1af615(0x2bf)],_0x330e37[_0x1af615(0x2e7)]):void 0x0;return _0x4e00a4===void 0x0||(0x0,_0x11cfc4[_0x1af615(0x286)])(_0x4e00a4);}));}function _0x12c684(_0x396cc8){const _0x14a6a6=_0x54e2e6;return{'id':_0x23b4a0['id'],'type':_0x7c4c2f[_0x14a6a6(0x2cb)][_0x14a6a6(0x484)],'icon':'PaintIcon','title':_0x14a6a6(0x27a),'tooltip':_0x14a6a6(0x27a),'selections':[{'label':{'name':_0x38ab15,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x1f5d1e(_0x396cc8),'hidden$':_0x2af056(_0x396cc8)};}function _0x145869(_0x12f1c3){const _0x5cd55d=_0x54e2e6;return{'id':_0x8614a3['id'],'type':_0x7c4c2f[_0x5cd55d(0x2cb)][_0x5cd55d(0x484)],'icon':_0x5cd55d(0x3d8),'title':_0x5cd55d(0x30e),'tooltip':'shape-editor-ui.toolbar.changeShape','slot':!0x0,'selections':[{'label':{'name':_0x5ceb8e[_0x5cd55d(0x451)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0xc5d771(_0x12f1c3)};}function _0x571d95(_0x5ad41a,_0x1228e1,_0x1eeb89=!0x1){return _0x1629fe=>({'id':_0x5ad41a,'type':_0x7c4c2f['MenuItemType']['BUTTON'],'label':{'name':_0x1228e1,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x2af056(_0x1629fe,_0x1eeb89)});}let _0x18e5eb=_0x571d95(_0x471a2a,_0x11a36f),_0xe8079e=_0x571d95(_0x3901b0,_0x4327b8),_0x47e6e1=_0x571d95(_0xbd3d43,_0x191cb1,!0x0);function _0x2def5a(_0x1525b3){const _0x568031=_0x54e2e6;return{'id':_0x4ab358,'type':_0x7c4c2f[_0x568031(0x2cb)][_0x568031(0x484)],'icon':_0x1f13d0[0x0][_0x568031(0x24b)],'label':_0x2515e8,'selectionsCommandId':_0x535687[_0x568031(0x41f)]['id'],'selections':_0x1f13d0['map'](({icon:_0x2f6b25,label:_0x522217,value:_0x1c93fd})=>({'value':_0x1c93fd,'label':_0x522217,'icon':_0x2f6b25,'params':()=>{const _0x449402=_0x568031;let _0x48114d=_0x4ddc7f(_0x1525b3);return _0x48114d?{'unitId':_0x48114d[_0x449402(0x2a9)],'subUnitId':_0x48114d[_0x449402(0x2bf)],'drawings':[{'unitId':_0x48114d[_0x449402(0x2a9)],'subUnitId':_0x48114d[_0x449402(0x2bf)],'drawingId':_0x48114d[_0x449402(0x2e7)]}],'wrappingStyle':_0x1c93fd}:void 0x0;}})),'value$':_0x11db84(_0x1525b3),'hidden$':_0x2af056(_0x1525b3)};}function _0x572b10(_0x5b1d19,_0x3ed2a8,_0xdbf1da,_0x383905){const _0x129d2b=_0x54e2e6;return _0x4f3688=>({'id':_0x5b1d19,'commandId':_0x535687[_0x129d2b(0x2bd)]['id'],'type':_0x7c4c2f[_0x129d2b(0x2cb)][_0x129d2b(0x1ed)],'icon':_0xdbf1da,'title':_0x383905,'tooltip':_0x383905,'hidden$':_0x2af056(_0x4f3688),'params':()=>{const _0x40f450=_0x129d2b;let _0x55fc79=_0x4ddc7f(_0x4f3688);return _0x55fc79?{'unitId':_0x55fc79['unitId'],'subUnitId':_0x55fc79[_0x40f450(0x2bf)],'drawingIds':[_0x55fc79[_0x40f450(0x2e7)]],'arrangeType':_0x3ed2a8}:void 0x0;}});}let _0x1e17c1=_0x572b10(_0x19eeaf,_0x1f70ef[_0x54e2e6(0x4e1)][_0x54e2e6(0x311)],_0x54e2e6(0x159),_0x54e2e6(0x490)),_0xa1a5cf=_0x572b10(_0x13160b,_0x1f70ef[_0x54e2e6(0x4e1)]['backward'],_0x54e2e6(0x3ac),'shape-editor-ui.arrange.backward'),_0x55eba9=_0x572b10(_0x37e15b,_0x1f70ef[_0x54e2e6(0x4e1)][_0x54e2e6(0x445)],'TopmostIcon',_0x54e2e6(0x472)),_0x20edb9=_0x572b10(_0xc2421a,_0x1f70ef['ArrangeTypeEnum']['back'],_0x54e2e6(0x2bb),_0x54e2e6(0x385));function _0x5df0f(_0x129ec0){const _0x483a35=_0x54e2e6;let _0x4a27c3=_0x129ec0[_0x483a35(0x429)](_0x7c4c2f['ISidebarService']);return{'activated$':(0x0,_0x3781f8[_0x483a35(0x2d8)])(()=>_0x4a27c3['sidebarOptions$']['pipe']((0x0,_0x3781f8[_0x483a35(0x381)])(_0x4a27c3[_0x483a35(0x2e4)]),(0x0,_0x3781f8[_0x483a35(0x4ba)])(_0x1e4dc6=>_0x1e4dc6['visible']===!0x0&&_0x1e4dc6['id']===_0x483a35(0x4dc)),(0x0,_0x3781f8['distinctUntilChanged'])())),'id':_0xf4b337['id'],'type':_0x7c4c2f[_0x483a35(0x2cb)]['BUTTON'],'icon':'ShapeFormatSettingIcon','title':_0x483a35(0x419),'tooltip':_0x483a35(0x419),'hidden$':_0x2af056(_0x129ec0),'params':()=>{const _0x3d95b5=_0x483a35;let _0x2148a2=_0x4ddc7f(_0x129ec0);return _0x2148a2?{'unitId':_0x2148a2[_0x3d95b5(0x2a9)],'subUnitId':_0x2148a2['subUnitId'],'drawingId':_0x2148a2[_0x3d95b5(0x2e7)]}:void 0x0;}};}let _0x17a580={[_0x7c4c2f[_0x54e2e6(0x409)]['RIBBON']]:{[_0x150b38]:{'order':0x64,'title':_0x54e2e6(0x419),'contextual':!0x0,'docs-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x23b4a0['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x12c684},[_0x8614a3['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x145869}},'docs-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x471a2a]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x18e5eb}},'docs-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x3901b0]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0xe8079e}},'docs-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x4ab358]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'columnSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x2def5a},[_0x19eeaf]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x1e17c1},[_0x13160b]:{'order':0x2,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0xa1a5cf},[_0x37e15b]:{'order':0x3,'gridLayout':{'row':0x1,'column':0x4},'menuItemFactory':_0x55eba9},[_0xc2421a]:{'order':0x4,'gridLayout':{'row':0x2,'column':0x4},'menuItemFactory':_0x20edb9}},'docs-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0xbd3d43]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x47e6e1}},'docs-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0xf4b337['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x5df0f},[_0x5ceb8e[_0x54e2e6(0x179)]['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x5ceb8e['ShapeFloatingToolbarToggleFactory']}}}}},_0x31ed66={[_0x7c4c2f['RibbonInsertGroup']['MEDIA']]:{[_0x2567e4['id']]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x586246=>({..._0x563e01(_0x586246),'title':void 0x0})}},[_0x7c4c2f[_0x54e2e6(0x496)][_0x54e2e6(0x2ea)]]:{[_0x27bc22['id']]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x2,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x1336d3}},[_0x7c4c2f[_0x54e2e6(0x4ae)][_0x54e2e6(0x221)]]:{[_0x7c4c2f[_0x54e2e6(0x198)][_0x54e2e6(0x235)]]:{[_0x5bdd19[_0x54e2e6(0x4dd)]]:{[_0x2567e4['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x49b5e5}}},[_0x5bdd19['DOC_CONTENT_INSERT_MENU_ID']]:{[_0x7c4c2f[_0x54e2e6(0x198)][_0x54e2e6(0x235)]]:{[_0x2567e4['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x49b5e5}}},[_0x5bdd19[_0x54e2e6(0x2be)]]:{[_0x7c4c2f['ContextMenuGroup']['LAYOUT']]:{[_0x2567e4['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x31cd9a}}},[_0x5bdd19[_0x54e2e6(0x1a2)]]:{'insert':{[_0x2567e4['id']]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x563e01}}},[_0x5bdd19[_0x54e2e6(0x173)]]:{'insert':{[_0x2567e4['id']+_0x54e2e6(0x453)]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x49b5e5}}}}};var _0x48c514=_0x54e2e6(0x4da),_0x52174e=_0x54e2e6(0x3af);let _0x388435={'type':_0x1f70ef['CommandType']['OPERATION'],'id':_0x54e2e6(0x161),'handler'(){return!0x0;}},_0x13b595=_0x54e2e6(0x1d7),_0x5a00d5={};function _0x41e84f(_0x247bac){'@babel/helpers - typeof';const _0x399e3f=_0x54e2e6;return _0x41e84f=typeof Symbol==_0x399e3f(0x469)&&typeof Symbol['iterator']==_0x399e3f(0x497)?function(_0x38af02){return typeof _0x38af02;}:function(_0x543c58){const _0x592b88=_0x399e3f;return _0x543c58&&typeof Symbol==_0x592b88(0x469)&&_0x543c58['constructor']===Symbol&&_0x543c58!==Symbol[_0x592b88(0x2aa)]?_0x592b88(0x497):typeof _0x543c58;},_0x41e84f(_0x247bac);}function _0x116d98(_0x292a97,_0xaa496){const _0x48560c=_0x54e2e6;if(_0x41e84f(_0x292a97)!='object'||!_0x292a97)return _0x292a97;var _0x21129e;if(typeof Symbol<'u'&&(_0x21129e=_0x292a97[Symbol[_0x48560c(0x202)]])!==void 0x0){var _0x50e840=_0x21129e['call'](_0x292a97,_0xaa496||_0x48560c(0x19a));if(_0x41e84f(_0x50e840)!=_0x48560c(0x2de))return _0x50e840;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0xaa496==='string'?String:Number)(_0x292a97);}function _0x249672(_0x519987){const _0x53eca6=_0x54e2e6;var _0x1799a3=_0x116d98(_0x519987,_0x53eca6(0x4d8));return _0x41e84f(_0x1799a3)=='symbol'?_0x1799a3:_0x1799a3+'';}function _0x3d621e(_0x208b7f,_0xe23402,_0x394e04){return(_0xe23402=_0x249672(_0xe23402))in _0x208b7f?Object['defineProperty'](_0x208b7f,_0xe23402,{'value':_0x394e04,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x208b7f[_0xe23402]=_0x394e04,_0x208b7f;}var _0x4ee75b=class extends _0x35408c[_0x54e2e6(0x16c)]{constructor(_0x17bebf,_0x34975e){const _0x337f8d=_0x54e2e6;super(_0x17bebf,_0x34975e),_0x3d621e(this,_0x337f8d(0x491),null),_0x3d621e(this,_0x337f8d(0x3fb),null),_0x3d621e(this,'_unitId',null),_0x3d621e(this,_0x337f8d(0x3be),null),_0x34975e&&this[_0x337f8d(0x17c)](_0x34975e);}[_0x54e2e6(0x28e)](){const _0xafee77=_0x54e2e6;return{'unitId':this[_0xafee77(0x200)],'subUnitId':this[_0xafee77(0x3be)],'drawingId':this[_0xafee77(0x491)]};}['setShapeProps'](_0x35f488){const _0x24def4=_0x54e2e6;_0x35f488[_0x24def4(0x4e2)]!==void 0x0&&(this[_0x24def4(0x491)]=_0x35f488[_0x24def4(0x4e2)]),_0x35f488[_0x24def4(0x1a7)]!==void 0x0&&(this[_0x24def4(0x3fb)]=_0x35f488['adjName']),_0x35f488[_0x24def4(0x2a9)]!==void 0x0&&(this[_0x24def4(0x200)]=_0x35f488[_0x24def4(0x2a9)]),_0x35f488['subUnitId']!==void 0x0&&(this[_0x24def4(0x3be)]=_0x35f488[_0x24def4(0x2bf)]),this[_0x24def4(0x1b9)]({'width':_0x35f488[_0x24def4(0x45c)],'height':_0x35f488[_0x24def4(0x4d1)]});}[_0x54e2e6(0x317)](_0xd7f599){const _0x455bae=_0x54e2e6;_0x35408c[_0x455bae(0x16f)]['drawWith'](_0xd7f599,{'radius':_0x11cfc4['ShapeDefaultConfig'][_0x455bae(0x21b)],'fill':_0x11cfc4[_0x455bae(0x15e)][_0x455bae(0x4b3)],'stroke':_0x11cfc4[_0x455bae(0x15e)][_0x455bae(0x165)],'strokeWidth':0x1,'evented':!0x0});}};function _0x10d91f(_0x264449,_0x2e78d6,_0x52222c){const _0xdcdaee=_0x54e2e6;let _0x40bf5c={..._0x2e78d6,'dataModel':{..._0x2e78d6[_0xdcdaee(0x32d)]??{},..._0x52222c?{'doc':_0x52222c}:null}},_0x3f5c45=(0x0,_0x5ceb8e[_0xdcdaee(0x4c4)])(_0x264449,_0x40bf5c),_0x269f92=(0x0,_0x5ceb8e[_0xdcdaee(0x39a)])(_0x3f5c45);return{'clip':(0x0,_0x5ceb8e[_0xdcdaee(0x2f4)])(_0x3f5c45,_0x269f92),'wrapStrategy':_0x269f92};}var _0x418197=class extends _0x35408c[_0x54e2e6(0x16c)]{constructor(_0x2111f3,_0x147fda){const _0x2a215f=_0x54e2e6;super(_0x2111f3,_0x147fda),_0x3d621e(this,_0x2a215f(0x466),[]),_0x3d621e(this,_0x2a215f(0x3f4),void 0x0),_0x3d621e(this,'_formulaAnimation',new _0x5ceb8e[(_0x2a215f(0x33b))](()=>this[_0x2a215f(0x1df)](!0x0),()=>this[_0x2a215f(0x2ec)]())),_0x3d621e(this,_0x2a215f(0x1f3),!0x0),_0x3d621e(this,_0x2a215f(0x364),_0x1f70ef['DrawingTypeEnum'][_0x2a215f(0x40b)]),_0x3d621e(this,_0x2a215f(0x475),!0x0),this[_0x2a215f(0x3f4)]={..._0x147fda},this[_0x2a215f(0x32a)]['setPresentation'](_0x147fda['formulaPresentation'],_0x147fda[_0x2a215f(0x441)]!==!0x1),this['_init'](),this[_0x2a215f(0x2ec)]();}['_init'](){const _0x56f8fe=_0x54e2e6;this[_0x56f8fe(0x197)][_0x56f8fe(0x46c)](_0x2c70f1=>{const _0x5a960c=_0x56f8fe;this[_0x5a960c(0x4a4)](_0x2c70f1);});}[_0x54e2e6(0x1fb)](_0x55416f){const _0x22ca4e=_0x54e2e6;this['_props'][_0x22ca4e(0x1bd)]=_0x55416f;}['resolveHyperLinkAt'](_0x26a4a3){const _0x4bcf59=_0x54e2e6;if(this[_0x4bcf59(0x3f4)][_0x4bcf59(0x2d5)])return null;let _0x1fa9ea=this[_0x4bcf59(0x2c8)](_0x26a4a3),{width:_0x24cdd2,height:_0x51d45c}=this[_0x4bcf59(0x170)]();return(0x0,_0x5ceb8e[_0x4bcf59(0x2b3)])(this[_0x4bcf59(0x466)],{'x':(this[_0x4bcf59(0x32e)]?-_0x1fa9ea['x']:_0x1fa9ea['x'])+_0x24cdd2/0x2,'y':_0x1fa9ea['y']+_0x51d45c/0x2});}[_0x54e2e6(0x174)](_0x35c3a9){const _0x533c8f=_0x54e2e6;this[_0x533c8f(0x3f4)][_0x533c8f(0x2d5)]=_0x35c3a9,this[_0x533c8f(0x1df)](!0x0);}[_0x54e2e6(0x35b)](_0x48ea07,_0x49c852=!0x0){const _0x3b1560=_0x54e2e6;this[_0x3b1560(0x32a)][_0x3b1560(0x35c)](_0x48ea07,_0x49c852),this[_0x3b1560(0x3f4)][_0x3b1560(0x1d6)]=_0x48ea07,this[_0x3b1560(0x2ec)](),this[_0x3b1560(0x1df)](!0x0);}[_0x54e2e6(0x2ec)](){const _0x2a5ffe=_0x54e2e6;let _0x479b02=this['_props'][_0x2a5ffe(0x144)],_0x27f602=_0x479b02['getShapeTextData'](),_0x2e6d8b=(0x0,_0x5ceb8e[_0x2a5ffe(0x420)])(_0x27f602==null?void 0x0:_0x27f602[_0x2a5ffe(0x32d)]),_0x5a79e1=_0x2e6d8b==null?void 0x0:_0x2e6d8b['doc'],_0x80b089=this[_0x2a5ffe(0x32a)][_0x2a5ffe(0x2f0)]();if(!_0x5a79e1||_0x80b089[_0x2a5ffe(0x44b)]===0x0)return;_0x479b02[_0x2a5ffe(0x3b6)]({'width':this[_0x2a5ffe(0x45c)],'height':this[_0x2a5ffe(0x4d1)]});let _0x3baa4a=(0x0,_0x5ceb8e[_0x2a5ffe(0x3a3)])({'documentData':_0x80b089[_0x2a5ffe(0x4ba)](_0x2755fe=>(0x0,_0x339478['createShapeFormulaDocument'])(_0x5a79e1,_0x2755fe)),'height':this[_0x2a5ffe(0x4d1)],'shapeData':_0x479b02[_0x2a5ffe(0x4d2)](),'textRect':_0x479b02[_0x2a5ffe(0x1ab)]({'left':0x0,'top':0x0,'width':this['width'],'height':this[_0x2a5ffe(0x4d1)]}),'width':this[_0x2a5ffe(0x45c)]});if(_0x3baa4a){var _0x185aa4;this[_0x2a5ffe(0x29d)](_0x3baa4a[_0x2a5ffe(0x45c)],_0x3baa4a[_0x2a5ffe(0x4d1)]),(_0x185aa4=this[_0x2a5ffe(0x1b0)]())==null||(_0x185aa4=_0x185aa4[_0x2a5ffe(0x4b7)]())==null||_0x185aa4['debounceRefreshControls']();}}get['unitId'](){const _0x4d84b0=_0x54e2e6;return this[_0x4d84b0(0x3f4)]['unitId'];}get[_0x54e2e6(0x2bf)](){const _0x5a8db1=_0x54e2e6;return this[_0x5a8db1(0x3f4)][_0x5a8db1(0x2bf)];}[_0x54e2e6(0x4a4)](_0x4a3c42){const _0x822f55=_0x54e2e6;if(this[_0x822f55(0x3f4)]['srcRect']==null||!this[_0x822f55(0x1f3)])return;let {width:_0x3d09a9,height:_0x48f582}=this,{width:_0x32e062=0x0,height:_0x22929a=0x0}=_0x4a3c42[_0x822f55(0x1ad)],{left:_0x5472d5=0x0,top:_0x4b5395=0x0,right:_0x3f8d93=0x0,bottom:_0x5cd2b1=0x0}=this[_0x822f55(0x3f4)][_0x822f55(0x464)],_0x4762d5=_0x5472d5,_0x278575=_0x4b5395,_0x4991cc=_0x3f8d93,_0x5367cc=_0x5cd2b1,_0x26f4db=!0x1;if(_0x32e062!==0x0&&_0x32e062!==_0x3d09a9){let _0x859e20=_0x5472d5/_0x32e062,_0x15335d=_0x3f8d93/_0x32e062;_0x4762d5=_0x3d09a9*_0x859e20,_0x4991cc=_0x3d09a9*_0x15335d,_0x26f4db=!0x0;}if(_0x22929a!==0x0&&_0x22929a!==_0x48f582){let _0x4b6c47=_0x4b5395/_0x22929a,_0x502497=_0x5cd2b1/_0x22929a;_0x278575=_0x48f582*_0x4b6c47,_0x5367cc=_0x48f582*_0x502497,_0x26f4db=!0x0;}_0x26f4db&&this['setSrcRect']({'left':_0x4762d5,'top':_0x278575,'right':_0x4991cc,'bottom':_0x5367cc});}['setSrcRect'](_0x357acf){const _0x5c2211=_0x54e2e6;this[_0x5c2211(0x3f4)]['srcRect']=_0x357acf,this[_0x5c2211(0x1df)](!0x0);}[_0x54e2e6(0x2cd)](_0x538e6b){const _0x14cb99=_0x54e2e6;this[_0x14cb99(0x3f4)][_0x14cb99(0x2c2)]=_0x538e6b,this[_0x14cb99(0x1df)](!0x0);}set['transform'](_0x3a83fc){const _0x1100f5=_0x54e2e6;this[_0x1100f5(0x3df)]=_0x3a83fc;}get[_0x54e2e6(0x24d)](){const _0x275a1a=_0x54e2e6;this['_transform']||this[_0x275a1a(0x37e)]();let _0x501275=this[_0x275a1a(0x3df)][_0x275a1a(0x49f)]();return this[_0x275a1a(0x1ff)](_0x501275);}get['shapeModel'](){const _0x1175b7=_0x54e2e6;return this[_0x1175b7(0x3f4)][_0x1175b7(0x144)];}get[_0x54e2e6(0x4e2)](){const _0x31fa1a=_0x54e2e6;return this[_0x31fa1a(0x3f4)][_0x31fa1a(0x4e2)];}get[_0x54e2e6(0x2f1)](){const _0x3398f4=_0x54e2e6;return _0x35408c[_0x3398f4(0x384)][_0x3398f4(0x35d)];}[_0x54e2e6(0x317)](_0xd4d2e9,_0x3802f1,_0x5520a1,_0x1b721c){const _0x4e4e6a=_0x54e2e6;let _0x346976=this[_0x4e4e6a(0x3f4)][_0x4e4e6a(0x144)];if(!_0x346976||!_0x3802f1)return;let _0x2dd67e=_0x5520a1??this[_0x4e4e6a(0x45c)],_0x4718a1=_0x1b721c??this[_0x4e4e6a(0x4d1)],_0x33abc2={'shapeType':_0x346976['getShapeType'](),'width':_0x2dd67e,'height':_0x4718a1},_0x3a5f81={'renderMode':_0x11cfc4[_0x4e4e6a(0x3c4)][_0x4e4e6a(0x1ae)],'oKey':this['oKey'],'image':this[_0x4e4e6a(0x3f4)][_0x4e4e6a(0x2c2)],'angle':this[_0x4e4e6a(0x17f)]};_0x346976['updateContext'](_0x33abc2),_0xd4d2e9[_0x4e4e6a(0x33c)]();let _0x37022c={'top':0x0,'left':0x0,'width':_0x2dd67e,'height':_0x4718a1},_0x412561=_0x346976[_0x4e4e6a(0x25d)](_0x37022c);_0x412561?this[_0x4e4e6a(0x455)](_0xd4d2e9,_0x412561,_0x550e2a=>{const _0x35038=_0x4e4e6a;_0x346976[_0x35038(0x3ff)](_0x550e2a,_0x37022c,_0x3a5f81);}):(this[_0x4e4e6a(0x372)](),_0x346976[_0x4e4e6a(0x3ff)](_0xd4d2e9,_0x37022c,_0x3a5f81)),_0xd4d2e9[_0x4e4e6a(0x4aa)]();let _0x5bf373=_0x346976[_0x4e4e6a(0x2ac)](),_0x3a053f=_0x346976[_0x4e4e6a(0x1ab)](_0x37022c),_0x52c9b0=_0x346976[_0x4e4e6a(0x21d)]();if(_0x5bf373&&_0x3a053f&&!_0x52c9b0){_0xd4d2e9['save'](),this[_0x4e4e6a(0x41b)]()[_0x4e4e6a(0x32e)]&&_0xd4d2e9['scale'](-0x1,0x1);let _0x4e5858=_0x2dd67e/0x2,_0x21e232=_0x4718a1/0x2;_0xd4d2e9['translate'](-_0x4e5858,-_0x21e232),_0xd4d2e9[_0x4e4e6a(0x17b)](),this[_0x4e4e6a(0x16b)](_0xd4d2e9,_0x5bf373,_0x3a053f),_0xd4d2e9[_0x4e4e6a(0x4aa)]();}}['getDrawingPoints'](_0x17349a){}[_0x54e2e6(0x16b)](_0x18f98f,_0x5be453,_0x48696a){const _0x46c313=_0x54e2e6;var _0x55b30c;this[_0x46c313(0x466)]=[],this[_0x46c313(0x3f4)][_0x46c313(0x2d5)]||(!((_0x55b30c=_0x5be453[_0x46c313(0x32d)])!=null&&_0x55b30c[_0x46c313(0x43d)])&&'isRichText'in _0x5be453&&_0x5be453[_0x46c313(0x428)]===!0x1?this[_0x46c313(0x374)](_0x18f98f,_0x5be453,_0x48696a):this[_0x46c313(0x1c3)](_0x18f98f,_0x5be453,_0x48696a));}['_drawSimpleText'](_0x560937,_0x335e10,_0x119e5f){const _0x14f480=_0x54e2e6;this[_0x14f480(0x1c3)](_0x560937,{..._0x335e10,'text':_0x335e10[_0x14f480(0x3e5)]??'','dataModel':{'doc':(0x0,_0x5ceb8e[_0x14f480(0x41c)])(_0x335e10,'docs-shape-text-'+this['oKey'])}},_0x119e5f);}[_0x54e2e6(0x1c3)](_0x3e35f6,_0x57df9d,_0x1e0dd8){const _0x6a7803=_0x54e2e6;(0x0,_0x5ceb8e[_0x6a7803(0x447)])(_0x3e35f6,this[_0x6a7803(0x32a)],(_0x2294a8,_0x51f684,_0x2baf4c)=>{const _0x1e0379=_0x6a7803;this[_0x1e0379(0x2fe)](_0x2294a8,_0x57df9d,_0x1e0dd8,_0x51f684,_0x2baf4c===_0x1e0379(0x168));});}[_0x54e2e6(0x2fe)](_0x5707ae,_0x1e872c,_0x18dbec,_0x2229e0,_0x40a717){const _0x933f1b=_0x54e2e6;let _0x5313dc=this['_props'][_0x933f1b(0x47f)];if(!_0x1e872c[_0x933f1b(0x32d)]||!_0x5313dc){_0x5313dc||console[_0x933f1b(0x309)](_0x933f1b(0x2a8));return;}let _0x49c966=(0x0,_0x5ceb8e['normalizeShapeTextModel'])(_0x1e872c['dataModel']);if(!_0x49c966)return;let _0x3c5f29=_0x49c966[_0x933f1b(0x43d)];if(!_0x3c5f29)return;let _0x1cef20=(0x0,_0x339478[_0x933f1b(0x312)])(_0x3c5f29,_0x2229e0),_0x48ce15=_0x49c966['va']??_0x1f70ef[_0x933f1b(0x49e)][_0x933f1b(0x4b6)],_0xc79e1d=_0x49c966['ha']??_0x1f70ef['HorizontalAlign'][_0x933f1b(0x443)],_0x538143=_0x10d91f(this[_0x933f1b(0x3f4)][_0x933f1b(0x144)][_0x933f1b(0x4d2)](),_0x1e872c,_0x1cef20),_0x53ec0b=_0x1e872c[_0x933f1b(0x297)],_0x47d3c0=(0x0,_0x5ceb8e[_0x933f1b(0x216)])(_0x1cef20,{'isHorizontal':_0x53ec0b!==!0x1,'textRect':_0x18dbec,'verticalAlign':_0x48ce15,'horizontalAlign':_0xc79e1d,'wrapStrategy':_0x538143['wrapStrategy']}),_0x37ab63=new _0x1f70ef[(_0x933f1b(0x39c))](_0x47d3c0),_0x10113a=new _0x35408c[(_0x933f1b(0x37b))](_0x37ab63),_0x298e02=_0x35408c['DocumentSkeleton'][_0x933f1b(0x224)](_0x10113a,_0x5313dc);_0x298e02[_0x933f1b(0x3cc)]();let _0x49c449=_0x298e02[_0x933f1b(0x2e8)]()[_0x933f1b(0x358)],_0x3950d8=(0x0,_0x5ceb8e[_0x933f1b(0x1c0)])({'contentHeight':_0x49c449,'verticalAlign':_0x48ce15,'viewportHeight':_0x18dbec[_0x933f1b(0x4d1)]});_0x37ab63[_0x933f1b(0x1e1)]({'pageSize':{'width':_0x53ec0b===!0x1?_0x18dbec[_0x933f1b(0x4d1)]:_0x18dbec[_0x933f1b(0x45c)],'height':(0x0,_0x5ceb8e[_0x933f1b(0x1f9)])(_0x1cef20,_0x3950d8['contentHeight'])}}),_0x37ab63['updateDocumentDataMargin']({'t':_0x3950d8[_0x933f1b(0x222)]}),_0x298e02[_0x933f1b(0x3cc)]();let _0xc9f1e=new _0x35408c[(_0x933f1b(0x43b))]('shape-text-'+this[_0x933f1b(0x47c)],_0x298e02,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x933f1b(0x1df)](!0x0)});_0xc9f1e[_0x933f1b(0x29d)](_0x18dbec[_0x933f1b(0x45c)],_0x3950d8['contentHeight']),_0x5707ae['save'](),_0x5707ae[_0x933f1b(0x318)](_0x18dbec['left'],_0x18dbec[_0x933f1b(0x199)]),_0x538143[_0x933f1b(0x2a2)]&&(_0x5707ae[_0x933f1b(0x17b)](),_0x5707ae[_0x933f1b(0x354)](0x0,_0x3950d8[_0x933f1b(0x2e0)],_0x18dbec['width'],_0x3950d8[_0x933f1b(0x446)]),_0x5707ae[_0x933f1b(0x2a2)]()),_0x3950d8[_0x933f1b(0x352)]&&_0x5707ae['translateWithPrecision'](0x0,_0x3950d8['contentVerticalOffset']),_0xc9f1e[_0x933f1b(0x279)](_0x5707ae),_0x40a717&&(this[_0x933f1b(0x466)]=(0x0,_0x5ceb8e[_0x933f1b(0x474)])(_0xc9f1e,{'left':_0x18dbec[_0x933f1b(0x3ec)],'top':_0x18dbec[_0x933f1b(0x199)]+_0x3950d8[_0x933f1b(0x352)]},_0x538143['clip']?{'left':_0x18dbec[_0x933f1b(0x3ec)],'right':_0x18dbec[_0x933f1b(0x3ec)]+_0x18dbec[_0x933f1b(0x45c)],'top':_0x18dbec[_0x933f1b(0x199)]+_0x3950d8[_0x933f1b(0x2e0)],'bottom':_0x18dbec['top']+_0x3950d8[_0x933f1b(0x2e0)]+_0x3950d8[_0x933f1b(0x446)]}:void 0x0)),_0x5707ae['restore'](),_0xc9f1e[_0x933f1b(0x267)](),_0x298e02[_0x933f1b(0x267)](),_0x10113a[_0x933f1b(0x267)](),_0x37ab63[_0x933f1b(0x267)]();}[_0x54e2e6(0x3ff)](_0x79fa7a,_0x30bd7d,_0x3b2ccd=!0x1){const _0x22fc40=_0x54e2e6;if(!this[_0x22fc40(0x3c8)])return this[_0x22fc40(0x1df)](!0x1),this;let {width:_0x25fdfa,height:_0x351395,left:_0x1c865a,top:_0x4e5e76}=this,_0x5962a4=this[_0x22fc40(0x170)]();if(_0x25fdfa=_0x5962a4[_0x22fc40(0x45c)],_0x351395=_0x5962a4[_0x22fc40(0x4d1)],_0x1c865a=_0x5962a4[_0x22fc40(0x3ec)],_0x4e5e76=_0x5962a4[_0x22fc40(0x199)],this['isRender'](_0x30bd7d)){let {top:_0x1aded4,left:_0x9654b0,bottom:_0x259e65,right:_0x13c81c}=_0x30bd7d['viewBound'];if(_0x25fdfa+this[_0x22fc40(0x38e)]+_0x1c865a<_0x9654b0||_0x13c81c<_0x1c865a||_0x351395+this[_0x22fc40(0x38e)]+_0x4e5e76<_0x1aded4||_0x259e65<_0x4e5e76)return this;}let _0x458335=_0x1c865a+_0x25fdfa/0x2,_0x14c515=_0x4e5e76+_0x351395/0x2,_0x4f65eb=this[_0x22fc40(0x24d)][_0x22fc40(0x3a2)]();if(this[_0x22fc40(0x3f4)]['isEditing']){let _0x255d34=this[_0x22fc40(0x41b)](),_0xf87ad5=new _0x35408c[(_0x22fc40(0x29a))]();_0xf87ad5[_0x22fc40(0x325)]({..._0x255d34}),_0x4f65eb=_0xf87ad5[_0x22fc40(0x3a2)]();}return _0x79fa7a[_0x22fc40(0x33c)](),this[_0x22fc40(0x3f4)][_0x22fc40(0x144)]['isRenderLinePointsMode']===!0x0||_0x79fa7a[_0x22fc40(0x24d)](_0x4f65eb[0x0],_0x4f65eb[0x1],_0x4f65eb[0x2],_0x4f65eb[0x3],_0x458335,_0x14c515),this[_0x22fc40(0x317)](_0x79fa7a,_0x30bd7d,_0x25fdfa,_0x351395),_0x79fa7a['restore'](),this[_0x22fc40(0x1df)](!0x1),this;}[_0x54e2e6(0x2c8)](_0x1ec423){const _0x3c187d=_0x54e2e6;let {left:_0x10dd8b,top:_0x4a069f,width:_0x252a48,height:_0x16aaf6}=this[_0x3c187d(0x170)](),_0x1f7120=this['transform']['getMatrix'](),_0x5894f2=_0x10dd8b+_0x252a48/0x2,_0xe5e1df=_0x4a069f+_0x16aaf6/0x2,_0x1255a2=new _0x35408c[(_0x3c187d(0x29a))]([_0x1f7120[0x0],_0x1f7120[0x1],_0x1f7120[0x2],_0x1f7120[0x3],_0x5894f2,_0xe5e1df]),_0x444286=this[_0x3c187d(0x1d4)]();return(this[_0x3c187d(0x481)]&&(_0x444286==null?void 0x0:_0x444286[_0x3c187d(0x2f1)])===_0x35408c[_0x3c187d(0x384)][_0x3c187d(0x292)]?_0x444286[_0x3c187d(0x2f3)][_0x3c187d(0x337)](_0x1255a2):_0x1255a2)['invert']()[_0x3c187d(0x181)](_0x1ec423);}[_0x54e2e6(0x3bd)](_0x4aa269){const _0x25e8a3=_0x54e2e6;let {left:_0x247545,top:_0x4ef62d,width:_0x4ddf78,height:_0x5bdca9}=this['getRealBound'](),_0x4f6a38=_0x247545+_0x4ddf78/0x2,_0x24cfaa=_0x4ef62d+_0x5bdca9/0x2,_0x546cef=this[_0x25e8a3(0x24d)]['getMatrix'](),_0x369518=new _0x35408c[(_0x25e8a3(0x29a))]([_0x546cef[0x0],_0x546cef[0x1],_0x546cef[0x2],_0x546cef[0x3],_0x4f6a38,_0x24cfaa]),_0x37297d=this[_0x25e8a3(0x1d4)](),_0x13b9ed=(this[_0x25e8a3(0x481)]&&(_0x37297d==null?void 0x0:_0x37297d[_0x25e8a3(0x2f1)])===_0x35408c['RENDER_CLASS_TYPE'][_0x25e8a3(0x292)]?_0x37297d[_0x25e8a3(0x2f3)][_0x25e8a3(0x337)](_0x369518):_0x369518)[_0x25e8a3(0x247)]()[_0x25e8a3(0x181)](_0x4aa269),_0x38cc32=_0x4ddf78/0x2,_0x39b836=_0x5bdca9/0x2,_0xcae429=this['_props']['shapeModel'];return _0xcae429&&_0xcae429['isLineShape']()?_0xcae429[_0x25e8a3(0x29f)](_0x13b9ed['x'],_0x13b9ed['y'],_0x4ddf78,_0x5bdca9):_0x13b9ed['x']>=-_0x38cc32-this[_0x25e8a3(0x38e)]/0x2&&_0x13b9ed['x']<=_0x38cc32+this[_0x25e8a3(0x38e)]/0x2&&_0x13b9ed['y']>=-_0x39b836-this[_0x25e8a3(0x38e)]/0x2&&_0x13b9ed['y']<=_0x39b836+this['strokeWidth']/0x2;}[_0x54e2e6(0x267)](){const _0xf861b4=_0x54e2e6;this[_0xf861b4(0x32a)][_0xf861b4(0x267)](),this[_0xf861b4(0x3f4)][_0xf861b4(0x144)]=null,super['dispose']();}};let _0x548036=class extends _0x1f70ef['Disposable']{constructor(_0x5ad9ef,_0xfb063a,_0x39c99b,_0xb95008){const _0x2e0ac1=_0x54e2e6;super(),this['_context']=_0x5ad9ef,this['_drawingManagerService']=_0xfb063a,this[_0x2e0ac1(0x1b8)]=_0x39c99b,this[_0x2e0ac1(0x255)]=_0xb95008,_0x3d621e(this,'_activeShapeId',null),_0x3d621e(this,_0x2e0ac1(0x200),null),_0x3d621e(this,_0x2e0ac1(0x3be),null),_0x3d621e(this,_0x2e0ac1(0x164),void 0x0),_0x3d621e(this,_0x2e0ac1(0x3a4),[]),_0x3d621e(this,'_baseShapeLeft',0x0),_0x3d621e(this,_0x2e0ac1(0x1bb),0x0),_0x3d621e(this,_0x2e0ac1(0x232),0x0),_0x3d621e(this,_0x2e0ac1(0x3c6),0x0),_0x3d621e(this,_0x2e0ac1(0x214),!0x1),_0x3d621e(this,'_isShouldShowDrawingShapeAdjust',!0x1),_0x3d621e(this,'_activeAdjustInfo',void 0x0),_0x3d621e(this,_0x2e0ac1(0x3c7),void 0x0),_0x3d621e(this,'_adjHandlerPointerMove',void 0x0),_0x3d621e(this,_0x2e0ac1(0x257),void 0x0),this['_registerDrawingFocusChangeHandler'](),this[_0x2e0ac1(0x432)]();}[_0x54e2e6(0x263)](){const _0x497383=_0x54e2e6;this[_0x497383(0x2f5)]();}[_0x54e2e6(0x252)](){const _0x4bfcc7=_0x54e2e6;this[_0x4bfcc7(0x3b8)](!0x0);}[_0x54e2e6(0x3cd)](_0x1bbda9,_0x34d377,_0xc1f9bc){const _0x4ad184=_0x54e2e6;var _0x2f953f;return(_0x2f953f=this['_docsShapeService'][_0x4ad184(0x2b8)](_0x1bbda9,_0x34d377,_0xc1f9bc))==null?void 0x0:_0x2f953f[_0x4ad184(0x3c9)]();}['_getShapeAdjustInfosById'](_0x416c12,_0x3ef319,_0x3d5460,_0xe971fe){const _0x4cf3bc=_0x54e2e6;var _0x343934;return(_0x343934=this[_0x4cf3bc(0x1b8)][_0x4cf3bc(0x2b8)](_0x416c12,_0x3ef319,_0x3d5460))==null?void 0x0:_0x343934[_0x4cf3bc(0x48e)](_0xe971fe);}['_getActiveDrawingParam'](){const _0x586c62=_0x54e2e6;return this[_0x586c62(0x200)]===null||this[_0x586c62(0x3be)]===null||this[_0x586c62(0x146)]===null?null:this[_0x586c62(0x353)][_0x586c62(0x2dd)]({'unitId':this['_unitId'],'subUnitId':this[_0x586c62(0x3be)],'drawingId':this[_0x586c62(0x146)]})??null;}[_0x54e2e6(0x418)](_0x1623e3){const _0x58b3b2=_0x54e2e6;if(this[_0x58b3b2(0x200)]===null||this['_subUnitId']===null||this[_0x58b3b2(0x146)]===null)return null;let _0x508666=(0x0,_0x509efb['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0x58b3b2(0x200)],'subUnitId':this[_0x58b3b2(0x3be)],'drawingId':this['_activeShapeId']}),_0x2b57d1=_0x1623e3[_0x58b3b2(0x3b9)](_0x508666);return _0x2b57d1 instanceof _0x418197?_0x2b57d1:null;}[_0x54e2e6(0x42a)](_0x3734e6=!0x1){const _0x525c51=_0x54e2e6;if(this[_0x525c51(0x200)]===null||this['_subUnitId']===null||this['_activeShapeId']===null)return;let _0x2c8a74=this['_getActiveDrawingParam']();if((_0x2c8a74==null?void 0x0:_0x2c8a74[_0x525c51(0x4c9)])!==_0x1f70ef['DrawingTypeEnum'][_0x525c51(0x40b)]||!_0x2c8a74[_0x525c51(0x24d)])return;let _0x3ae300=this['_docsShapeService']['getShapeModel'](this['_unitId'],this[_0x525c51(0x3be)],this[_0x525c51(0x146)]);if(!_0x3ae300||_0x3ae300[_0x525c51(0x21d)]())return;let {left:_0x1366b0=0x0,top:_0x3868af=0x0,width:_0xfb2e35=0x0,height:_0x4aa65a=0x0,flipX:_0x4d2d26,flipY:_0x3f3aff,angle:_0x5eabf3=0x0}=_0x2c8a74[_0x525c51(0x24d)];(_0x3734e6||!this[_0x525c51(0x164)])&&(_0x3ae300[_0x525c51(0x3b6)]({'width':_0xfb2e35,'height':_0x4aa65a}),this[_0x525c51(0x164)]=_0x3ae300[_0x525c51(0x3c9)]());let _0x7bddf1=this[_0x525c51(0x164)];if(!(_0x7bddf1!=null&&_0x7bddf1['length']))return;let {scene:_0x3f8afa}=this[_0x525c51(0x4c2)];for(let _0x7dc12 of _0x7bddf1){let _0x2da1b3=this['_toVisualAdjustPoint'](_0x7dc12,_0xfb2e35,_0x4aa65a,!!_0x4d2d26,!!_0x3f3aff,_0x5eabf3);this[_0x525c51(0x4a9)](_0x3f8afa,_0x2da1b3,_0x2da1b3[_0x525c51(0x1a7)],_0x1366b0,_0x3868af,this[_0x525c51(0x200)],this[_0x525c51(0x3be)]);}}['_toVisualAdjustPoint'](_0x14dfff,_0x397e31,_0x559894,_0x18f9d4,_0x2bc15c,_0x76e6c3){const _0xdcb1e9=_0x54e2e6;let _0x1c172d=_0x14dfff['x'],_0x12bd5f=_0x14dfff['y'];if(_0x18f9d4&&(_0x1c172d=_0x397e31-_0x1c172d),_0x2bc15c&&(_0x12bd5f=_0x559894-_0x12bd5f),_0x76e6c3!==0x0){let _0x1b48ea=_0x397e31/0x2,_0x4cb9fe=_0x559894/0x2,_0x4ed411=_0x76e6c3*Math['PI']/0xb4,_0x1b5192=Math[_0xdcb1e9(0x204)](_0x4ed411),_0x586000=Math[_0xdcb1e9(0x34c)](_0x4ed411),_0x5c499f=_0x1c172d-_0x1b48ea,_0x1af130=_0x12bd5f-_0x4cb9fe;_0x1c172d=_0x1b48ea+(_0x5c499f*_0x1b5192-_0x1af130*_0x586000),_0x12bd5f=_0x4cb9fe+(_0x5c499f*_0x586000+_0x1af130*_0x1b5192);}return{'x':_0x1c172d,'y':_0x12bd5f,'adjName':_0x14dfff[_0xdcb1e9(0x1a7)]};}[_0x54e2e6(0x3b8)](_0x213700=!0x1){const _0x2e7287=_0x54e2e6;_0x213700&&this[_0x2e7287(0x2f5)](),this['_createShapeAdjustControls'](_0x213700);}[_0x54e2e6(0x4a9)](_0x464245,_0x261145,_0x86df7c,_0x495286,_0x611c69,_0x813a28,_0x52782e){const _0x17704f=_0x54e2e6;if(!this[_0x17704f(0x146)])return;let _0x546560='doc-shape-adjust-point-'+this[_0x17704f(0x146)]+'-'+_0x86df7c,_0x2394a7=_0x464245[_0x17704f(0x3b9)](_0x546560);if(_0x2394a7){_0x2394a7[_0x17704f(0x1b9)]({'left':_0x261145['x']+_0x495286-_0x11cfc4['ShapeDefaultConfig'][_0x17704f(0x21b)],'top':_0x261145['y']+_0x611c69-_0x11cfc4[_0x17704f(0x15e)][_0x17704f(0x21b)]}),_0x2394a7[_0x17704f(0x1df)](!0x0);return;}let _0x1faa80=new _0x4ee75b(_0x546560,{'left':_0x261145['x']+_0x495286-_0x11cfc4[_0x17704f(0x15e)][_0x17704f(0x21b)],'top':_0x261145['y']+_0x611c69-_0x11cfc4[_0x17704f(0x15e)][_0x17704f(0x21b)],'adjName':_0x86df7c,'shapeId':this[_0x17704f(0x146)],'unitId':_0x813a28,'subUnitId':_0x52782e,'width':_0x11cfc4['ShapeDefaultConfig'][_0x17704f(0x21b)]+0x8,'height':_0x11cfc4['ShapeDefaultConfig']['adjHandleSize']+0x8,'zIndex':_0x35408c[_0x17704f(0x33d)]+0x1,'evented':!0x0});this[_0x17704f(0x3a4)]['push'](_0x1faa80),this[_0x17704f(0x4c0)](_0x1faa80,_0x464245,_0x86df7c),_0x464245['addObject'](_0x1faa80,_0x35408c[_0x17704f(0x33d)]+0x1);}[_0x54e2e6(0x2f5)](){const _0x2bbcbb=_0x54e2e6;this[_0x2bbcbb(0x3a4)]['forEach'](_0x5224bf=>_0x5224bf[_0x2bbcbb(0x267)]()),this[_0x2bbcbb(0x3a4)]=[];}['_updateAdjustControlPositions'](){const _0x17df7e=_0x54e2e6;this[_0x17df7e(0x42a)]();}[_0x54e2e6(0x20e)](_0x2be127,_0x564cf4,_0x3be930){const _0x1fd51d=_0x54e2e6;let _0x17dacf=_0x35408c[_0x1fd51d(0x45f)][_0x1fd51d(0x306)]([_0x564cf4,_0x3be930]),_0x5c9ef1=_0x2be127[_0x1fd51d(0x398)](_0x17dacf)??_0x2be127[_0x1fd51d(0x46a)]()[0x0];return(_0x5c9ef1==null?void 0x0:_0x5c9ef1[_0x1fd51d(0x38f)](_0x17dacf))??_0x17dacf;}[_0x54e2e6(0x4c0)](_0x2eb395,_0x1d14bf,_0x39cf54){const _0x3f332d=_0x54e2e6;this[_0x3f332d(0x3b5)]((0x0,_0x1f70ef['toDisposable'])(_0x2eb395['onPointerDown$'][_0x3f332d(0x46c)]((_0x5ac3ed,_0x2daaf3)=>{const _0x2ff917=_0x3f332d;var _0x4f7d46;let _0x2de207=_0x2eb395[_0x2ff917(0x28e)]();this[_0x2ff917(0x259)]=this[_0x2ff917(0x276)](_0x2de207['unitId'],_0x2de207['subUnitId'],_0x2de207[_0x2ff917(0x2e7)],_0x39cf54),this['_activeShapeModel']=this[_0x2ff917(0x1b8)][_0x2ff917(0x2b8)](_0x2de207['unitId'],_0x2de207[_0x2ff917(0x2bf)],_0x2de207[_0x2ff917(0x2e7)]);let _0x5fabfa=this[_0x2ff917(0x1c9)](),_0x35aefb=_0x5fabfa==null?void 0x0:_0x5fabfa['transform'];if(!_0x5fabfa||!_0x35aefb||!this[_0x2ff917(0x3c7)])return;this[_0x2ff917(0x26c)]=_0x35aefb[_0x2ff917(0x3ec)]||0x0,this[_0x2ff917(0x1bb)]=_0x35aefb[_0x2ff917(0x199)]||0x0,this['_baseShapeWidth']=_0x35aefb[_0x2ff917(0x45c)]||0x0,this[_0x2ff917(0x3c6)]=_0x35aefb[_0x2ff917(0x4d1)]||0x0;let _0x597634=!!_0x35aefb[_0x2ff917(0x32e)],_0x2ef7e9=!!_0x35aefb['flipY'],_0x4e519c=_0x35aefb[_0x2ff917(0x17f)]||0x0,_0x42cd4a={...((_0x4f7d46=this['_activeAdjustInfo'])==null?void 0x0:_0x4f7d46[_0x2ff917(0x461)])??{}};this[_0x2ff917(0x214)]=!0x0,_0x1d14bf[_0x2ff917(0x158)](),this['_adjHandlerPointerMove']=_0x1d14bf['onPointerMove$'][_0x2ff917(0x46c)]((_0x259666,_0x4bc990)=>{const _0x32c0ad=_0x2ff917;var _0x4758e7;if(!this[_0x32c0ad(0x214)]||!this[_0x32c0ad(0x3c7)]||!this[_0x32c0ad(0x259)])return;_0x1d14bf[_0x32c0ad(0x158)](),_0x1d14bf[_0x32c0ad(0x4c3)](_0x35408c[_0x32c0ad(0x2a1)][_0x32c0ad(0x156)]);let _0x370c57=this['_toScenePoint'](_0x1d14bf,_0x259666[_0x32c0ad(0x1d5)],_0x259666['offsetY']),_0xf70774=_0x370c57['x']-this[_0x32c0ad(0x26c)],_0x69147e=_0x370c57['y']-this[_0x32c0ad(0x1bb)];if(_0x4e519c!==0x0){let _0x1de9c3=this[_0x32c0ad(0x232)]/0x2,_0x463bc3=this['_baseShapeHeight']/0x2,_0x524e7d=_0x4e519c*Math['PI']/0xb4,_0x3611c1=Math[_0x32c0ad(0x204)](_0x524e7d),_0x21f813=Math[_0x32c0ad(0x34c)](_0x524e7d),_0x8db004=_0xf70774-_0x1de9c3,_0x44239e=_0x69147e-_0x463bc3;_0xf70774=_0x1de9c3+(_0x8db004*_0x3611c1+_0x44239e*_0x21f813),_0x69147e=_0x463bc3+(-_0x8db004*_0x21f813+_0x44239e*_0x3611c1);}_0x597634&&(_0xf70774=this['_baseShapeWidth']-_0xf70774),_0x2ef7e9&&(_0x69147e=this[_0x32c0ad(0x3c6)]-_0x69147e);let _0x359517={'left':0x0,'top':0x0,'width':this['_baseShapeWidth'],'height':this[_0x32c0ad(0x3c6)]},_0x163e7d=this['_activeShapeModel']['calcAdjValues'](_0x359517,{'x':_0xf70774,'y':_0x69147e},this[_0x32c0ad(0x259)],_0x597634,_0x2ef7e9);if(Object[_0x32c0ad(0x1e9)](_0x163e7d)[_0x32c0ad(0x44b)]!==0x0){for(let [_0x517d81,_0x37e08f]of Object[_0x32c0ad(0x3b7)](_0x163e7d))this[_0x32c0ad(0x3c7)][_0x32c0ad(0x2d7)](_0x517d81,_0x37e08f);this[_0x32c0ad(0x3c7)]['updateContext']({'width':this['_baseShapeWidth'],'height':this[_0x32c0ad(0x3c6)]}),(_0x4758e7=this['_getActiveDrawingShape'](_0x1d14bf))==null||_0x4758e7['makeDirty'](!0x0),this['_activeShapeAdjustPointList']=this['_getShapeAdjustPointListById'](_0x2de207[_0x32c0ad(0x2a9)],_0x2de207[_0x32c0ad(0x2bf)],_0x2de207[_0x32c0ad(0x2e7)]),this[_0x32c0ad(0x2c7)](),_0x4bc990[_0x32c0ad(0x33e)]();}}),this['_adjHandlerPointerUp']=_0x1d14bf[_0x2ff917(0x486)]['subscribeEvent']((_0x5c969d,_0xc52974)=>{const _0x3c2f44=_0x2ff917;var _0x1afcd7,_0x55a02d;(_0x1afcd7=this['_adjHandlerPointerMove'])==null||_0x1afcd7['unsubscribe'](),(_0x55a02d=this[_0x3c2f44(0x257)])==null||_0x55a02d[_0x3c2f44(0x190)](),_0x1d14bf[_0x3c2f44(0x40f)]();let _0x393f7d=this[_0x3c2f44(0x259)];if(_0x393f7d&&this[_0x3c2f44(0x3c7)]){let _0x28a33d={};for(let _0x147aa3 of Object[_0x3c2f44(0x1e9)](_0x393f7d['currentAdjustValues'])){let _0xb372f8=this[_0x3c2f44(0x3c7)][_0x3c2f44(0x180)](_0x147aa3);_0xb372f8!==void 0x0&&(_0x28a33d[_0x147aa3]=_0xb372f8);}Object[_0x3c2f44(0x1e9)](_0x28a33d)[_0x3c2f44(0x44b)]>0x0&&_0x47b987(this[_0x3c2f44(0x255)],_0x2de207[_0x3c2f44(0x2a9)],_0x2de207[_0x3c2f44(0x2bf)],_0x2de207[_0x3c2f44(0x2e7)],{'oldShapeData':{'adjustValues':_0x42cd4a}},{'adjustValues':_0x28a33d});}this[_0x3c2f44(0x259)]=void 0x0,this['_activeShapeModel']=void 0x0,this[_0x3c2f44(0x214)]=!0x1,_0x1d14bf[_0x3c2f44(0x155)](),_0xc52974[_0x3c2f44(0x33e)]();}),_0x2daaf3[_0x2ff917(0x33e)]();})));}[_0x54e2e6(0x432)](){const _0x42f999=_0x54e2e6;let {scene:_0x506d5a}=this[_0x42f999(0x4c2)],_0x185377=_0x506d5a[_0x42f999(0x3a9)]();this['disposeWithMe'](_0x185377[_0x42f999(0x2ef)][_0x42f999(0x169)](_0x32a978=>{const _0x3d4ab0=_0x42f999;this[_0x3d4ab0(0x42a)](),_0x32a978[_0x3d4ab0(0x44e)]!==null&&_0x32a978['objects']['size']===0x1&&_0x32a978[_0x3d4ab0(0x44e)]['values']()['next']()[_0x3d4ab0(0x424)]instanceof _0x418197&&(this['_isShouldShowDrawingShapeAdjust']=!0x0);})),this[_0x42f999(0x3b5)](_0x185377[_0x42f999(0x4bd)][_0x42f999(0x169)](()=>{const _0x212375=_0x42f999;this[_0x212375(0x4c8)]&&this['_clearShapeAdjustControls']();})),this[_0x42f999(0x3b5)](_0x506d5a[_0x42f999(0x486)][_0x42f999(0x46c)](()=>{const _0x429802=_0x42f999;this['_isShouldShowDrawingShapeAdjust']&&(this[_0x429802(0x4c8)]=!0x1,this['_createShapeAdjustControls']());})),this[_0x42f999(0x3b5)](_0x185377['changeEnd$'][_0x42f999(0x169)](()=>{const _0x2ce641=_0x42f999;this['_unitId']&&this[_0x2ce641(0x3be)]&&this[_0x2ce641(0x146)]&&(this[_0x2ce641(0x164)]=this[_0x2ce641(0x3cd)](this[_0x2ce641(0x200)],this[_0x2ce641(0x3be)],this[_0x2ce641(0x146)]),this[_0x2ce641(0x2c7)]());}));}[_0x54e2e6(0x157)](){const _0x479a0d=_0x54e2e6;this[_0x479a0d(0x3b5)](this[_0x479a0d(0x255)]['onCommandExecuted'](_0x2c475d=>{const _0x2d766f=_0x479a0d;if(_0x2c475d['id']!==_0x156d72[_0x2d766f(0x4b2)]['id'])return;let {unitId:_0x46352e,shapeId:_0x4f0b79}=_0x2c475d['params'];_0x46352e===this['_unitId']&&_0x4f0b79===this[_0x2d766f(0x146)]&&this['refreshAdjustControls']();})),this[_0x479a0d(0x3b5)](this['_drawingManagerService']['focus$'][_0x479a0d(0x169)](_0xd2509c=>{const _0x186175=_0x479a0d;if(_0xd2509c[_0x186175(0x44b)]===0x1){let _0x265b92=_0xd2509c[0x0],_0x1b3c6f=this[_0x186175(0x353)][_0x186175(0x2dd)](_0x265b92);if((_0x1b3c6f==null?void 0x0:_0x1b3c6f[_0x186175(0x4c9)])===_0x1f70ef['DrawingTypeEnum'][_0x186175(0x40b)]){this['_activeShapeId']=_0x265b92[_0x186175(0x2e7)],this[_0x186175(0x200)]=_0x265b92[_0x186175(0x2a9)],this[_0x186175(0x3be)]=_0x265b92[_0x186175(0x2bf)],this[_0x186175(0x164)]=this[_0x186175(0x3cd)](_0x265b92[_0x186175(0x2a9)],_0x265b92[_0x186175(0x2bf)],_0x265b92[_0x186175(0x2e7)]),this['_clearShapeAdjustControls'](),this[_0x186175(0x42a)]();return;}}this['_activeShapeId']=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x186175(0x200)]=null,this['_subUnitId']=null,this[_0x186175(0x2f5)]();})),this[_0x479a0d(0x3b5)]((0x0,_0x3781f8[_0x479a0d(0x315)])(this[_0x479a0d(0x353)]['update$'],this[_0x479a0d(0x353)][_0x479a0d(0x1b1)])[_0x479a0d(0x169)](_0x4e4bb3=>{const _0x7fe54a=_0x479a0d;var _0x3902f6;let _0xfb97a5=_0x4e4bb3['find'](_0xf8ce72=>_0xf8ce72[_0x7fe54a(0x2e7)]===this[_0x7fe54a(0x146)]&&_0xf8ce72[_0x7fe54a(0x2a9)]===this[_0x7fe54a(0x200)]&&_0xf8ce72[_0x7fe54a(0x2bf)]===this[_0x7fe54a(0x3be)]);_0xfb97a5&&((_0x3902f6=this[_0x7fe54a(0x353)][_0x7fe54a(0x2dd)](_0xfb97a5))==null?void 0x0:_0x3902f6[_0x7fe54a(0x4c9)])===_0x1f70ef[_0x7fe54a(0x470)]['DRAWING_SHAPE']&&this[_0x7fe54a(0x3b8)](!0x0);})),this[_0x479a0d(0x3b5)](this['_drawingManagerService'][_0x479a0d(0x152)]['subscribe'](_0xda8f35=>{const _0xd8c9cd=_0x479a0d;for(let _0xa70e62 of _0xda8f35)this[_0xd8c9cd(0x146)]===_0xa70e62[_0xd8c9cd(0x2e7)]&&(this[_0xd8c9cd(0x146)]=null,this[_0xd8c9cd(0x164)]=void 0x0,this[_0xd8c9cd(0x200)]=null,this[_0xd8c9cd(0x3be)]=null,this['_clearShapeAdjustControls']());}));}};_0x548036=_0x105eeb([_0x1af634(0x1,_0x509efb['IDrawingManagerService']),_0x1af634(0x2,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x156d72[_0x54e2e6(0x333)])),_0x1af634(0x3,_0x1f70ef[_0x54e2e6(0x3ab)])],_0x548036);let _0x5c66c5=class extends _0x1f70ef[_0x54e2e6(0x20a)]{constructor(_0x49f900,_0x4fca47){const _0x53120b=_0x54e2e6;super(),this['_permissionService']=_0x49f900,this[_0x53120b(0x399)]=_0x4fca47,_0x3d621e(this,_0x53120b(0x3c1),new _0x3781f8[(_0x53120b(0x330))](null)),_0x3d621e(this,_0x53120b(0x3bc),this[_0x53120b(0x3c1)]['asObservable']()),_0x3d621e(this,_0x53120b(0x22f),new _0x3781f8[(_0x53120b(0x330))](!0x1)),_0x3d621e(this,_0x53120b(0x27f),this['_onSavingEditorData$'][_0x53120b(0x234)]()),_0x3d621e(this,'_completionFrame',void 0x0),this['disposeWithMe'](this['_permissionService'][_0x53120b(0x4bc)][_0x53120b(0x169)](()=>{const _0x44da71=_0x53120b;let _0x349e36=this[_0x44da71(0x203)]();_0x349e36!=null&&_0x349e36[_0x44da71(0x3c8)]&&!this[_0x44da71(0x1db)](_0x349e36)&&this[_0x44da71(0x174)](null);}));}[_0x54e2e6(0x267)](){const _0x651e00=_0x54e2e6;this['_clearCompletionFrame'](),this[_0x651e00(0x3c1)]['next'](null),this[_0x651e00(0x3c1)][_0x651e00(0x2bc)](),this[_0x651e00(0x22f)][_0x651e00(0x18e)](!0x1),this[_0x651e00(0x22f)][_0x651e00(0x2bc)](),super['dispose']();}[_0x54e2e6(0x174)](_0x2df176){const _0x3ed7f3=_0x54e2e6;(_0x2df176==null||!_0x2df176[_0x3ed7f3(0x3c8)]||this['_canEdit'](_0x2df176))&&(this[_0x3ed7f3(0x19e)](),this[_0x3ed7f3(0x3c1)][_0x3ed7f3(0x18e)](_0x2df176),(_0x2df176==null||_0x2df176[_0x3ed7f3(0x3c8)]&&this[_0x3ed7f3(0x22f)][_0x3ed7f3(0x22c)]())&&this[_0x3ed7f3(0x22f)][_0x3ed7f3(0x18e)](!0x1));}['setOnSavingEditorData'](_0x19325d){const _0x1d0bd1=_0x54e2e6;this[_0x1d0bd1(0x22f)][_0x1d0bd1(0x18e)](_0x19325d);}[_0x54e2e6(0x203)](){const _0x116fb0=_0x54e2e6;return this[_0x116fb0(0x3c1)][_0x116fb0(0x22c)]();}[_0x54e2e6(0x1db)](_0x497190){const _0x524413=_0x54e2e6;let _0x18ceba=this[_0x524413(0x399)]['getUnit'](_0x497190[_0x524413(0x2a9)],_0x1f70ef[_0x524413(0x283)]['UNIVER_DOC']);if(!_0x18ceba)return!0x0;let _0x4251cc=(0x0,_0x5f20c1[_0x524413(0x347)])(_0x18ceba,_0x497190['shapeId']);return(0x0,_0x5f20c1[_0x524413(0x25b)])(this[_0x524413(0x459)],_0x497190[_0x524413(0x2a9)],[...(0x0,_0x5f20c1[_0x524413(0x1ac)])(_0x18ceba,_0x4251cc,_0x524413(0x1e5),_0x497190['shapeId']),(0x0,_0x5f20c1[_0x524413(0x1a4)])(_0x4251cc,_0x524413(0x1e5),_0x497190[_0x524413(0x4e2)])]);}[_0x54e2e6(0x30a)](_0xf179b4){const _0x5aa1f9=_0x54e2e6;let _0x35abe8=this['getEditing']();_0x35abe8&&this[_0x5aa1f9(0x341)]===void 0x0&&(this[_0x5aa1f9(0x290)](!0x0),this['_completionFrame']=requestAnimationFrame(()=>{const _0x54fd9e=_0x5aa1f9;this[_0x54fd9e(0x341)]=void 0x0,this[_0x54fd9e(0x203)]()===_0x35abe8&&this['setEditing'](null);}));}['_clearCompletionFrame'](){const _0x3e0485=_0x54e2e6;this[_0x3e0485(0x341)]!==void 0x0&&(cancelAnimationFrame(this[_0x3e0485(0x341)]),this[_0x3e0485(0x341)]=void 0x0);}[_0x54e2e6(0x34e)](){const _0x50b56b=_0x54e2e6;this[_0x50b56b(0x203)]()&&this[_0x50b56b(0x174)](null);}};_0x5c66c5=_0x105eeb([_0x1af634(0x0,_0x1f70ef[_0x54e2e6(0x405)]),_0x1af634(0x1,_0x1f70ef['IUniverInstanceService'])],_0x5c66c5);function _0x4047bc(_0x3ff662){const _0x4bfd3d=_0x54e2e6;return _0x3ff662[_0x4bfd3d(0x301)]===!0x0||_0x3ff662[_0x4bfd3d(0x301)]===_0x1f70ef[_0x4bfd3d(0x1aa)][_0x4bfd3d(0x1ce)]||_0x3ff662['layoutType']===_0x1f70ef[_0x4bfd3d(0x3e4)]['WRAP_NONE']&&_0x3ff662[_0x4bfd3d(0x18b)]===_0x1f70ef[_0x4bfd3d(0x1aa)]['TRUE']?_0x5bdd19[_0x4bfd3d(0x328)]-0x1:_0x35408c[_0x4bfd3d(0x33d)];}let _0x54ec0f=class extends _0x1f70ef[_0x54e2e6(0x20a)]{constructor(_0x12eafd,_0x1695cc,_0x4d683b,_0x442d52,_0xcda1b6,_0x1b9701,_0x1be2ad){const _0x4964bc=_0x54e2e6;super(),this[_0x4964bc(0x353)]=_0x12eafd,this[_0x4964bc(0x1b8)]=_0x1695cc,this[_0x4964bc(0x438)]=_0x4d683b,this['_imageIoService']=_0x442d52,this[_0x4964bc(0x38b)]=_0xcda1b6,this[_0x4964bc(0x495)]=_0x1b9701,this[_0x4964bc(0x31a)]=_0x1be2ad,_0x3d621e(this,_0x4964bc(0x382),new Map()),this['disposeWithMe'](this[_0x4964bc(0x31a)][_0x4964bc(0x242)][_0x4964bc(0x169)](_0x211a01=>{const _0x5964b7=_0x4964bc;var _0xe60cb0;(_0xe60cb0=this[_0x5964b7(0x382)]['get'](this[_0x5964b7(0x209)](_0x211a01[_0x5964b7(0x2a9)],_0x211a01[_0x5964b7(0x2bf)],_0x211a01['shapeId'])))==null||_0xe60cb0[_0x5964b7(0x16e)](_0x336ca6=>_0x336ca6['setFormulaPresentation'](_0x211a01['presentation'],_0x211a01[_0x5964b7(0x4de)]));})),this[_0x4964bc(0x3b5)](this[_0x4964bc(0x353)][_0x4964bc(0x152)]['subscribe'](_0x1fa961=>{_0x1fa961['forEach'](_0x267403=>{const _0x58cdc7=_0x1cb9;this[_0x58cdc7(0x31a)][_0x58cdc7(0x2d0)]({'unitId':_0x267403[_0x58cdc7(0x2a9)],'subUnitId':_0x267403[_0x58cdc7(0x2bf)],'shapeId':_0x267403[_0x58cdc7(0x2e7)]}),this[_0x58cdc7(0x382)][_0x58cdc7(0x493)](this['_formulaKey'](_0x267403[_0x58cdc7(0x2a9)],_0x267403[_0x58cdc7(0x2bf)],_0x267403['drawingId']));});}));}['renderDrawingShape'](_0x13d846,_0x85d2bf){const _0x598519=_0x54e2e6;let {transform:_0x41a190,drawingType:_0x181d77,srcRect:_0x1bcd9a,prstGeom:_0x3f3266,groupId:_0x5198bd,unitId:_0x466ec2,subUnitId:_0x5ad380,drawingId:_0x409451,isMultiTransform:_0xdaf5df,transforms:_0x4023c0,hidden:_0x3a548a,selectable:_0x51c3c8}=_0x13d846;if(_0x181d77!==_0x1f70ef[_0x598519(0x470)][_0x598519(0x40b)]||!this[_0x598519(0x353)][_0x598519(0x2e5)]()||_0x41a190==null)return;let _0x41ebdf=this['_drawingManagerService'][_0x598519(0x1e3)](),_0x2d6915=_0xdaf5df&&_0x4023c0?_0x4023c0:[_0x41a190],_0x235313=[];for(let [_0x287357,_0x363775]of _0x2d6915[_0x598519(0x3b7)]()){let {left:_0x264bb1,top:_0x3fc17c,width:_0x20e5fc,height:_0x21beed,angle:_0x19dbf6,flipX:_0x4df7c0,flipY:_0x2600ec,skewX:_0x425729,skewY:_0x5e7cff}=_0x363775,_0x482e7a=(0x0,_0x509efb[_0x598519(0x3c2)])({'unitId':_0x466ec2,'subUnitId':_0x5ad380,'drawingId':_0x409451},_0xdaf5df?_0x287357:void 0x0),_0x372d99=_0x85d2bf[_0x598519(0x3b9)](_0x482e7a);if(_0x372d99!=null){let _0x2ca045={'unitId':_0x466ec2,'subUnitId':_0x5ad380,'shapeId':_0x409451};_0x372d99 instanceof _0x418197&&this['refreshFormulaPresentation'](_0x372d99,_0x2ca045),_0x372d99[_0x598519(0x1b9)]({'left':_0x264bb1,'top':_0x3fc17c,'width':_0x20e5fc,'height':_0x21beed,'angle':_0x19dbf6,'flipX':_0x4df7c0,'flipY':_0x2600ec,'skewX':_0x425729,'skewY':_0x5e7cff});continue;}let _0x26d202=this[_0x598519(0x353)][_0x598519(0x2ae)](_0x466ec2,_0x5ad380),_0x1902ea=_0x26d202['indexOf'](_0x409451);if(_0x85d2bf[_0x598519(0x3b9)](_0x482e7a)||!this[_0x598519(0x353)][_0x598519(0x2e5)]())continue;let _0x207df5=this[_0x598519(0x1b8)]['getShapeModel'](_0x466ec2,_0x5ad380,_0x409451);if(!_0x207df5)continue;let _0x2b4bbf=(0x0,_0x11cfc4[_0x598519(0x286)])(_0x207df5[_0x598519(0x46b)]())?{..._0x5ceb8e[_0x598519(0x30f)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x5ceb8e['SHAPE_EDITOR_TRANSFORMER_CONFIG'],_0x2bc368=_0x207df5[_0x598519(0x4d2)]()[_0x598519(0x411)],_0x5836b0={'unitId':_0x466ec2,'subUnitId':_0x5ad380,'shapeId':_0x409451};_0x2bc368&&this[_0x598519(0x31a)]['register'](_0x5836b0,_0x2bc368);let _0x3ecd13=new _0x418197(_0x482e7a,{..._0x363775,'zIndex':_0x1902ea===-0x1?_0x26d202['length']-0x1:_0x1902ea,'shapeModel':_0x207df5,'localeService':this[_0x598519(0x438)],'shapeId':_0x409451,'unitId':_0x466ec2,'subUnitId':_0x5ad380,'visible':_0x3a548a!==!0x0,'evented':_0x51c3c8!==!0x1,'formulaPresentation':_0x2bc368?this['_shapeFormulaService']['getPresentation'](_0x5836b0):void 0x0,'animateFormulaPresentation':(_0x2bc368==null?void 0x0:_0x2bc368['animationEnabled'])!==!0x1,'transformerConfig':_0x2b4bbf});if(_0x2bc368){let _0x52bbef=this[_0x598519(0x209)](_0x466ec2,_0x5ad380,_0x409451),_0xba13c2=this[_0x598519(0x382)][_0x598519(0x429)](_0x52bbef)??new Set();_0xba13c2['add'](_0x3ecd13),this[_0x598519(0x382)][_0x598519(0x21a)](_0x52bbef,_0xba13c2);}this[_0x598519(0x3b5)]((0x0,_0x1f70ef['toDisposable'])(_0x3ecd13[_0x598519(0x21c)]['subscribeEvent']((_0x328940,_0x21ff3d)=>{const _0x21f4f4=_0x598519;_0x207df5[_0x21f4f4(0x21d)]()||_0x2bc368||(this['_shapeTextEditingService'][_0x21f4f4(0x174)]({'visible':!0x0,'unitId':_0x466ec2,'subUnitId':_0x5ad380,'shapeId':_0x409451,'shapeKey':_0x3ecd13[_0x21f4f4(0x47c)]}),_0x21ff3d[_0x21f4f4(0x33e)]());}))),_0x85d2bf[_0x598519(0x322)](_0x3ecd13,_0x4047bc(_0x13d846)),_0x41ebdf&&_0x85d2bf['attachTransformerTo'](_0x3ecd13),_0x5198bd&&(0x0,_0x57c854[_0x598519(0x2e6)])({'drawingId':_0x5198bd,'unitId':_0x466ec2,'subUnitId':_0x5ad380},_0x3ecd13,_0x85d2bf,this['_drawingManagerService'],_0xdaf5df?_0x287357:void 0x0),_0x3f3266!=null&&_0x3ecd13[_0x598519(0x1fb)](_0x3f3266),_0x1bcd9a!=null&&_0x3ecd13[_0x598519(0x150)](_0x1bcd9a),this['_loadShapePictureFill'](_0x3ecd13,_0x207df5[_0x598519(0x4d2)]()),_0x235313[_0x598519(0x1d8)](_0x3ecd13);}return _0x235313;}['_formulaKey'](_0x43c5a1,_0x3805c8,_0xf9d226){return _0x43c5a1+'\x00'+_0x3805c8+'\x00'+_0xf9d226;}[_0x54e2e6(0x293)](_0x398a71,_0x36505b){const _0x8e891f=_0x54e2e6;let _0xb3d79e=this[_0x8e891f(0x1b8)][_0x8e891f(0x2b8)](_0x36505b[_0x8e891f(0x2a9)],_0x36505b['subUnitId'],_0x36505b[_0x8e891f(0x4e2)]),_0x15491e=_0xb3d79e==null?void 0x0:_0xb3d79e[_0x8e891f(0x4d2)]()[_0x8e891f(0x411)],_0x1b8a08=this[_0x8e891f(0x209)](_0x36505b[_0x8e891f(0x2a9)],_0x36505b[_0x8e891f(0x2bf)],_0x36505b[_0x8e891f(0x4e2)]);if(_0x15491e){this['_shapeFormulaService'][_0x8e891f(0x345)](_0x36505b,_0x15491e);let _0x592787=this['_formulaShapes'][_0x8e891f(0x429)](_0x1b8a08)??new Set();_0x592787['add'](_0x398a71),this[_0x8e891f(0x382)][_0x8e891f(0x21a)](_0x1b8a08,_0x592787);}else{var _0x522fab;this[_0x8e891f(0x31a)][_0x8e891f(0x2d0)](_0x36505b),(_0x522fab=this[_0x8e891f(0x382)][_0x8e891f(0x429)](_0x1b8a08))==null||_0x522fab['delete'](_0x398a71);}_0x398a71['setFormulaPresentation'](_0x15491e?this[_0x8e891f(0x31a)][_0x8e891f(0x460)](_0x36505b):void 0x0,(_0x15491e==null?void 0x0:_0x15491e[_0x8e891f(0x4de)])!==!0x1);}[_0x54e2e6(0x2df)](_0x3d84d2){const _0x51aa03=_0x54e2e6;let _0x4151ac=_0x3d84d2['shapeModel'][_0x51aa03(0x4d2)](),_0x36052c=_0x4151ac[_0x51aa03(0x46e)];!_0x36052c||_0x36052c[_0x51aa03(0x210)]!==_0x11cfc4[_0x51aa03(0x1a6)]['PictureFill']||!_0x36052c[_0x51aa03(0x1ca)]?_0x3d84d2[_0x51aa03(0x2cd)](void 0x0):this['_loadShapePictureFill'](_0x3d84d2,_0x4151ac);}[_0x54e2e6(0x2d2)](_0xb75173,_0x40e945){const _0x74bfd5=_0x54e2e6;let _0x31dd7f=_0x40e945[_0x74bfd5(0x46e)];if(!_0x31dd7f||_0x31dd7f[_0x74bfd5(0x210)]!==_0x11cfc4[_0x74bfd5(0x1a6)][_0x74bfd5(0x2e1)]||!_0x31dd7f[_0x74bfd5(0x1ca)])return;let _0xfecd66=_0x31dd7f[_0x74bfd5(0x1ca)],_0x389522=_0x31dd7f[_0x74bfd5(0x4d3)]??_0x11cfc4['ImageSourceTypeEnum'][_0x74bfd5(0x41a)],_0x264775=this[_0x74bfd5(0x4b1)]['getImageSourceCache'](_0xfecd66,_0x389522);_0x264775?_0xb75173['setFillImage'](_0x264775):this[_0x74bfd5(0x1e8)](_0xb75173,_0xfecd66,_0x389522);}async[_0x54e2e6(0x1e8)](_0x2fbab7,_0xb719e0,_0x4f7e05){const _0x18314c=_0x54e2e6;let _0x3d2ab9;try{if(_0x4f7e05===_0x11cfc4[_0x18314c(0x45b)][_0x18314c(0x1e6)])_0x3d2ab9=await this[_0x18314c(0x4b1)][_0x18314c(0x397)](_0xb719e0);else{if(_0x4f7e05===_0x11cfc4[_0x18314c(0x45b)][_0x18314c(0x41a)])try{_0x3d2ab9=await this[_0x18314c(0x38b)][_0x18314c(0x397)](_0xb719e0);}catch{_0x3d2ab9=_0xb719e0;}else _0x3d2ab9=_0xb719e0;}}catch(_0x181d98){console[_0x18314c(0x492)](_0x18314c(0x36e),_0x181d98);return;}let _0x50da7e=new window['Image']();_0x50da7e[_0x18314c(0x3a0)]=()=>{const _0x4e134d=_0x18314c;this[_0x4e134d(0x4b1)]['addImageSourceCache'](_0xb719e0,_0x4f7e05,_0x50da7e),_0x2fbab7[_0x4e134d(0x2cd)](_0x50da7e);},_0x50da7e[_0x18314c(0x426)]=()=>{const _0x1d04b4=_0x18314c;console[_0x1d04b4(0x492)](_0x1d04b4(0x378),_0xb719e0);},_0x50da7e[_0x18314c(0x147)]=_0x3d2ab9;}};_0x54ec0f=_0x105eeb([_0x1af634(0x0,_0x509efb[_0x54e2e6(0x178)]),_0x1af634(0x1,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x156d72[_0x54e2e6(0x333)])),_0x1af634(0x2,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x1f70ef['LocaleService'])),_0x1af634(0x3,_0x1f70ef[_0x54e2e6(0x3dd)]),_0x1af634(0x4,_0x1f70ef[_0x54e2e6(0x22d)]),_0x1af634(0x5,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5c66c5)),_0x1af634(0x6,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x339478[_0x54e2e6(0x25e)]))],_0x54ec0f);let _0x56e0bb=class extends _0x1f70ef[_0x54e2e6(0x20a)]{constructor(_0x5d4c11,_0x4b94e8,_0x2f0c5c){const _0x27cd7b=_0x54e2e6;super(),this['_docPrintInterceptorService']=_0x5d4c11,this[_0x27cd7b(0x353)]=_0x4b94e8,this[_0x27cd7b(0x32f)]=_0x2f0c5c,this[_0x27cd7b(0x207)]();}[_0x54e2e6(0x207)](){const _0x5f46bf=_0x54e2e6;this[_0x5f46bf(0x3b5)](this[_0x5f46bf(0x14a)]['interceptor'][_0x5f46bf(0x417)](this[_0x5f46bf(0x14a)][_0x5f46bf(0x23a)][_0x5f46bf(0x383)]()[_0x5f46bf(0x171)],{'handler':(_0x162938,_0x443b87,_0x3d66be)=>{const _0x192447=_0x5f46bf;var _0x56528f;let {unitId:_0x1d61f1,scene:_0x181a52,skeleton:_0x1fa8b7}=_0x443b87,{pageIndex:_0x5b4309}=_0x443b87,_0x34683c=(_0x56528f=this[_0x192447(0x353)][_0x192447(0x3e9)](_0x1d61f1))==null?void 0x0:_0x56528f[_0x1d61f1],_0x3386dd=_0x18c1f8(this[_0x192447(0x14a)],_0x1fa8b7,_0x5b4309);return _0x34683c==null||_0x34683c['order'][_0x192447(0x16e)](_0x3813e0=>{const _0x83827f=_0x192447;if(_0x3386dd&&!_0x3386dd[_0x83827f(0x15f)](_0x3813e0))return;let _0x233669=_0x34683c[_0x83827f(0x3da)][_0x3813e0];_0x233669[_0x83827f(0x4c9)]===_0x1f70ef[_0x83827f(0x470)][_0x83827f(0x40b)]&&!_0x233669[_0x83827f(0x28b)]&&this['_shapeRenderController'][_0x83827f(0x4b0)](_0x233669,_0x181a52);}),_0x3d66be(_0x162938);}}));}};_0x56e0bb=_0x105eeb([_0x1af634(0x0,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5bdd19[_0x54e2e6(0x18c)])),_0x1af634(0x1,_0x509efb[_0x54e2e6(0x178)]),_0x1af634(0x2,(0x0,_0x1f70ef['Inject'])(_0x54ec0f))],_0x56e0bb);function _0x18c1f8(_0x54bb56,_0x43ee8e,_0xf4aba5){const _0x5a74e1=_0x54e2e6;var _0x231326,_0x28e22a;let _0x35e40a=_0x54bb56;if(_0x35e40a['getPageDrawingIds'])return _0x35e40a[_0x5a74e1(0x189)](_0x43ee8e,_0xf4aba5);let _0xea9500=_0x43ee8e[_0x5a74e1(0x36c)]();if(!_0xea9500||_0xea9500[_0x5a74e1(0x3ef)][_0x5a74e1(0x44b)]<=0x1||_0xf4aba5==null)return null;let _0x202817=new Set(),_0x35ec8e=_0xea9500[_0x5a74e1(0x3ef)][_0xf4aba5];if(!_0x35ec8e)return _0x202817;_0x45c64b(_0x35ec8e,_0x202817);let _0x210579=(_0x231326=_0xea9500[_0x5a74e1(0x4b5)][_0x5a74e1(0x429)](_0x35ec8e['headerId']))==null?void 0x0:_0x231326[_0x5a74e1(0x429)](_0x35ec8e[_0x5a74e1(0x253)]??_0x35ec8e[_0x5a74e1(0x23c)]),_0x518ddd=(_0x28e22a=_0xea9500[_0x5a74e1(0x1fa)][_0x5a74e1(0x429)](_0x35ec8e[_0x5a74e1(0x3d1)]))==null?void 0x0:_0x28e22a[_0x5a74e1(0x429)](_0x35ec8e[_0x5a74e1(0x186)]??_0x35ec8e[_0x5a74e1(0x23c)]);return _0x210579&&_0x45c64b(_0x210579,_0x202817),_0x518ddd&&_0x45c64b(_0x518ddd,_0x202817),_0x202817;}function _0x45c64b(_0x5220bf,_0x48f652){const _0x2eaf11=_0x54e2e6;for(let _0x4de72c of _0x5220bf[_0x2eaf11(0x1c8)][_0x2eaf11(0x1e9)]())_0x48f652[_0x2eaf11(0x3a6)](_0x4de72c);for(let _0x4e0203 of _0x5220bf[_0x2eaf11(0x166)][_0x2eaf11(0x370)]())for(let _0x3992be of _0x4e0203[_0x2eaf11(0x3f5)])for(let _0x2d0640 of _0x3992be['cells'])_0x45c64b(_0x2d0640,_0x48f652);}function _0x30e45a({ref:_0x372db3,..._0x4caed1}){const _0x116810=_0x54e2e6;let {preserveStrokeWidth:_0x5c3ae4,icon:_0x3a6bac,id:_0x58425b,className:_0x314a04,extend:_0x123ce9,..._0x429263}=_0x4caed1,_0x5b2541=(_0x116810(0x1f0)+_0x58425b+'\x20'+(_0x314a04||''))['trim'](),_0x3f257d='_'+(0x0,_0x31450[_0x116810(0x403)])(),_0x981b8b=(0x0,_0x31450[_0x116810(0x457)])(null);return(0x0,_0x31450[_0x116810(0x1c5)])(_0x372db3,()=>_0x981b8b['current']),(0x0,_0x31450[_0x116810(0x219)])(()=>{const _0xe83c46=_0x116810;if(_0x5c3ae4&&_0x981b8b[_0xe83c46(0x168)]&&_0x981b8b['current'][_0xe83c46(0x2e3)]===_0x3a6bac[_0xe83c46(0x488)])return _0x3b1e2b(_0x981b8b['current']);},[_0x5c3ae4,_0x3a6bac]),_0x425829(_0x3a6bac,''+_0x58425b,{'defIds':_0x3a6bac[_0x116810(0x236)],'idSuffix':_0x3f257d},{'ref':_0x981b8b,'className':_0x5b2541,..._0x429263},_0x123ce9);}function _0x425829(_0x4b1299,_0x32e1d6,_0x43e4a0,_0x189c5f,_0x452d4c){const _0x2ae680=_0x54e2e6;return(0x0,_0x31450[_0x2ae680(0x355)])(_0x4b1299['tag'],{'key':_0x32e1d6,..._0x302d55(_0x4b1299,_0x43e4a0,_0x452d4c),..._0x189c5f},(_0x1f4696(_0x4b1299,_0x43e4a0)['children']||[])[_0x2ae680(0x4ba)]((_0x225f1a,_0x1a9af3)=>_0x425829(_0x225f1a,_0x32e1d6+'-'+_0x4b1299[_0x2ae680(0x488)]+'-'+_0x1a9af3,_0x43e4a0,void 0x0,_0x452d4c)));}function _0x302d55(_0x1cd395,_0x377fcf,_0x10af2a){const _0x2d46be=_0x54e2e6;let _0x33a1ca={..._0x1cd395[_0x2d46be(0x357)]};_0x10af2a!=null&&_0x10af2a['colorChannel1']&&_0x33a1ca['fill']===_0x2d46be(0x299)&&(_0x33a1ca['fill']=_0x10af2a[_0x2d46be(0x299)]),_0x10af2a!=null&&_0x10af2a[_0x2d46be(0x299)]&&_0x33a1ca['stroke']==='colorChannel1'&&(_0x33a1ca['stroke']=_0x10af2a[_0x2d46be(0x299)]),_0x1cd395[_0x2d46be(0x488)]===_0x2d46be(0x258)&&_0x33a1ca['id']&&(_0x33a1ca['id']+=_0x377fcf[_0x2d46be(0x3ee)]),Object[_0x2d46be(0x3b7)](_0x33a1ca)['forEach'](([_0x511c8b,_0x19646b])=>{const _0x54fdb8=_0x2d46be;_0x511c8b==='mask'&&typeof _0x19646b==_0x54fdb8(0x4d8)&&(_0x33a1ca[_0x511c8b]=_0x19646b[_0x54fdb8(0x47b)](/url\(#(.*)\)/,_0x54fdb8(0x177)+_0x377fcf['idSuffix']+')'));});let {defIds:_0x552473}=_0x377fcf;return!_0x552473||_0x552473[_0x2d46be(0x44b)]===0x0||(_0x1cd395[_0x2d46be(0x488)]==='use'&&_0x33a1ca[_0x2d46be(0x2fb)]&&(_0x33a1ca[_0x2d46be(0x2fb)]+=_0x377fcf[_0x2d46be(0x3ee)]),Object[_0x2d46be(0x3b7)](_0x33a1ca)[_0x2d46be(0x16e)](([_0x20cc56,_0x51c249])=>{const _0x57839c=_0x2d46be;typeof _0x51c249==_0x57839c(0x4d8)&&(_0x33a1ca[_0x20cc56]=_0x51c249[_0x57839c(0x47b)](/url\(#(.*)\)/,'url(#$1'+_0x377fcf[_0x57839c(0x3ee)]+')'));})),_0x33a1ca;}function _0x1f4696(_0x576389,_0x4af114){const _0x40ebf0=_0x54e2e6;var _0x420302;let {defIds:_0x235950}=_0x4af114;return!_0x235950||_0x235950['length']===0x0?_0x576389:_0x576389['tag']===_0x40ebf0(0x349)&&(_0x420302=_0x576389[_0x40ebf0(0x408)])!=null&&_0x420302[_0x40ebf0(0x44b)]?{..._0x576389,'children':_0x576389[_0x40ebf0(0x408)][_0x40ebf0(0x4ba)](_0x30ae06=>typeof _0x30ae06['attrs']['id']==_0x40ebf0(0x4d8)&&_0x235950&&_0x235950[_0x40ebf0(0x456)](_0x30ae06[_0x40ebf0(0x357)]['id'])?{..._0x30ae06,'attrs':{..._0x30ae06['attrs'],'id':_0x30ae06[_0x40ebf0(0x357)]['id']+_0x4af114['idSuffix']}}:_0x30ae06)}:_0x576389;}function _0x3b1e2b(_0x1a61b1){const _0x5648e7=_0x54e2e6;let _0x7591a0=_0x1a61b1[_0x5648e7(0x248)][_0x5648e7(0x410)],_0x4bc9ee=Math[_0x5648e7(0x28c)](_0x7591a0['width'],_0x7591a0['height']);if(!Number[_0x5648e7(0x434)](_0x4bc9ee)||_0x4bc9ee<=0x0||_0x7591a0['width']<=0x0||_0x7591a0['height']<=0x0)return()=>void 0x0;let _0x4ab205=0x10/_0x4bc9ee,_0x22b27e=Array[_0x5648e7(0x334)](_0x1a61b1[_0x5648e7(0x3c0)](_0x5648e7(0x3d5)))[_0x5648e7(0x400)](_0x4d1eb0=>{const _0x3208ab=_0x5648e7;let _0x593b7e=getComputedStyle(_0x4d1eb0),_0x578747=Number[_0x3208ab(0x291)](_0x593b7e[_0x3208ab(0x38e)]);return _0x593b7e[_0x3208ab(0x294)]===_0x3208ab(0x433)||Number[_0x3208ab(0x291)](_0x593b7e[_0x3208ab(0x3e6)])===0x0||_0x593b7e[_0x3208ab(0x34d)]===_0x3208ab(0x296)||!Number['isFinite'](_0x578747)||_0x578747<=0x0?[]:[{'element':_0x4d1eb0,'hadStyleAttribute':_0x4d1eb0[_0x3208ab(0x40d)](_0x3208ab(0x265)),'originalStrokeWidth':_0x578747,'strokeWidth':_0x7c4ebd(_0x4d1eb0['style'],_0x3208ab(0x373))}];})['map'](_0x54bf3e=>({'appliedStrokeWidth':null,'element':_0x54bf3e[_0x5648e7(0x35a)],'hadStyleAttribute':_0x54bf3e['hadStyleAttribute'],'isReleased':!0x1,'originalStrokeWidth':_0x54bf3e[_0x5648e7(0x241)],'strokeWidth':_0x54bf3e[_0x5648e7(0x38e)]}));if(_0x22b27e[_0x5648e7(0x44b)]===0x0)return()=>void 0x0;let _0x4c3bed=(_0x37a8bd,_0x36356a)=>{const _0x27d9e2=_0x5648e7;if(_0x7591a0[_0x27d9e2(0x45c)]<=0x0||_0x7591a0['height']<=0x0||_0x37a8bd<=0x0||_0x36356a<=0x0)return;let _0x41d49a=Math[_0x27d9e2(0x3f6)](_0x37a8bd/_0x7591a0['width'],_0x36356a/_0x7591a0[_0x27d9e2(0x4d1)]);!Number[_0x27d9e2(0x434)](_0x41d49a)||_0x41d49a<=0x0||_0x22b27e[_0x27d9e2(0x16e)](_0x3f8ce6=>{const _0x208c6a=_0x27d9e2;if(_0x3f8ce6[_0x208c6a(0x22e)])return;if(_0x3f8ce6[_0x208c6a(0x375)]!==null&&(_0x3f8ce6[_0x208c6a(0x35a)][_0x208c6a(0x265)][_0x208c6a(0x274)](_0x208c6a(0x373))!==_0x3f8ce6[_0x208c6a(0x375)]||_0x3f8ce6[_0x208c6a(0x35a)][_0x208c6a(0x265)][_0x208c6a(0x1eb)](_0x208c6a(0x373))!==_0x3f8ce6[_0x208c6a(0x38e)][_0x208c6a(0x2b7)])){_0x3f8ce6[_0x208c6a(0x375)]=null,_0x3f8ce6[_0x208c6a(0x22e)]=!0x0;return;}let _0x2765d2=_0x3f8ce6['originalStrokeWidth']*_0x4ab205/_0x41d49a,_0x58edcb=Number(_0x2765d2[_0x208c6a(0x2ee)](0xc))+'px';_0x3f8ce6[_0x208c6a(0x35a)]['style'][_0x208c6a(0x499)]('stroke-width',_0x58edcb,_0x3f8ce6[_0x208c6a(0x38e)]['priority']),_0x3f8ce6['appliedStrokeWidth']=_0x58edcb;});},_0x2b201b=_0x1a61b1[_0x5648e7(0x19f)]();_0x4c3bed(_0x2b201b[_0x5648e7(0x45c)],_0x2b201b['height']);let _0x14ff24=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x16123f=>{const _0x18e854=_0x5648e7;if(_0x16123f[_0x18e854(0x305)](_0x374da6=>_0x374da6['target']===_0x1a61b1)){let _0x20205b=_0x1a61b1[_0x18e854(0x19f)]();_0x4c3bed(_0x20205b[_0x18e854(0x45c)],_0x20205b['height']);}});return _0x14ff24==null||_0x14ff24[_0x5648e7(0x4b8)](_0x1a61b1),()=>{const _0xdc880c=_0x5648e7;_0x14ff24==null||_0x14ff24[_0xdc880c(0x485)](),_0x22b27e[_0xdc880c(0x16e)](_0x5c5f3a=>{const _0x54f4c8=_0xdc880c;_0x5c5f3a[_0x54f4c8(0x375)]!==null&&(_0x16c0f9(_0x5c5f3a[_0x54f4c8(0x35a)][_0x54f4c8(0x265)],_0x54f4c8(0x373),_0x5c5f3a[_0x54f4c8(0x375)],_0x5c5f3a[_0x54f4c8(0x38e)][_0x54f4c8(0x2b7)],_0x5c5f3a[_0x54f4c8(0x38e)]),!_0x5c5f3a[_0x54f4c8(0x476)]&&_0x5c5f3a[_0x54f4c8(0x35a)][_0x54f4c8(0x265)][_0x54f4c8(0x44b)]===0x0&&_0x5c5f3a[_0x54f4c8(0x35a)][_0x54f4c8(0x42e)](_0x54f4c8(0x265)));});};}function _0x7c4ebd(_0x4f8d28,_0x1d7c25){const _0x37c5c7=_0x54e2e6;return{'priority':_0x4f8d28[_0x37c5c7(0x1eb)](_0x1d7c25),'value':_0x4f8d28[_0x37c5c7(0x274)](_0x1d7c25)};}function _0x16c0f9(_0x473613,_0x5a7fee,_0x2bc67f,_0x43fb3f,_0x288c81){const _0x1d2178=_0x54e2e6;_0x473613[_0x1d2178(0x274)](_0x5a7fee)===_0x2bc67f&&_0x473613[_0x1d2178(0x1eb)](_0x5a7fee)===_0x43fb3f&&(_0x288c81[_0x1d2178(0x424)]?_0x473613['setProperty'](_0x5a7fee,_0x288c81['value'],_0x288c81[_0x1d2178(0x2b7)]):_0x473613[_0x1d2178(0x2c3)](_0x5a7fee));}_0x30e45a[_0x54e2e6(0x314)]=_0x54e2e6(0x215);let _0x566e28={'tag':_0x54e2e6(0x3cf),'attrs':{'xmlns':_0x54e2e6(0x154),'fill':_0x54e2e6(0x433),'viewBox':_0x54e2e6(0x449),'width':_0x54e2e6(0x33f),'height':_0x54e2e6(0x33f)},'children':[{'tag':_0x54e2e6(0x2d3),'attrs':{'fill':'currentColor','d':_0x54e2e6(0x4a6),'fillRule':_0x54e2e6(0x1a5),'clipRule':_0x54e2e6(0x1a5)}},{'tag':'path','attrs':{'fill':_0x54e2e6(0x213),'d':_0x54e2e6(0x35f),'fillRule':_0x54e2e6(0x1a5),'clipRule':'evenodd'}},{'tag':'path','attrs':{'fill':_0x54e2e6(0x213),'d':'M8.57975\x2014.5902L6.58023\x2012.5907C6.34591\x2012.3564\x206.34591\x2011.9765\x206.58023\x2011.7421C6.81454\x2011.5078\x207.19444\x2011.5078\x207.42876\x2011.7421L8.40449\x2012.7179V10.1664C8.40449\x209.83504\x208.67312\x209.56641\x209.00449\x209.56641C9.33586\x209.56641\x209.60449\x209.83504\x209.60449\x2010.1664V12.7179L10.5802\x2011.7421C10.8145\x2011.5078\x2011.1944\x2011.5078\x2011.4288\x2011.7421C11.6631\x2011.9765\x2011.6631\x2012.3564\x2011.4288\x2012.5907L9.42923\x2014.5902'}},{'tag':_0x54e2e6(0x2d3),'attrs':{'fill':_0x54e2e6(0x213),'d':_0x54e2e6(0x282)}}]},_0x27ad3d=(0x0,_0x31450['forwardRef'])(function(_0x3c8dae,_0x1e5703){const _0x273d0e=_0x54e2e6;return(0x0,_0x31450[_0x273d0e(0x355)])(_0x30e45a,Object[_0x273d0e(0x44c)]({},_0x3c8dae,{'id':_0x273d0e(0x3d6),'ref':_0x1e5703,'icon':_0x566e28}));});_0x27ad3d[_0x54e2e6(0x314)]='BottomIcon';let _0x125dd3={'tag':_0x54e2e6(0x3cf),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x54e2e6(0x304),'width':_0x54e2e6(0x33f),'height':_0x54e2e6(0x33f)},'children':[{'tag':_0x54e2e6(0x2d3),'attrs':{'stroke':_0x54e2e6(0x213),'d':_0x54e2e6(0x39b),'strokeLinecap':_0x54e2e6(0x3ba),'strokeLinejoin':_0x54e2e6(0x3ba),'strokeWidth':1.2}}]},_0x383106=(0x0,_0x31450['forwardRef'])(function(_0x8462d8,_0x11d7c1){const _0x1539dc=_0x54e2e6;return(0x0,_0x31450[_0x1539dc(0x355)])(_0x30e45a,Object[_0x1539dc(0x44c)]({},_0x8462d8,{'id':_0x1539dc(0x256),'ref':_0x11d7c1,'icon':_0x125dd3}));});_0x383106[_0x54e2e6(0x314)]=_0x54e2e6(0x342);let _0x2d0c3f={'tag':'svg','attrs':{'xmlns':_0x54e2e6(0x154),'fill':_0x54e2e6(0x433),'viewBox':_0x54e2e6(0x304),'width':_0x54e2e6(0x33f),'height':_0x54e2e6(0x33f)},'children':[{'tag':_0x54e2e6(0x2d3),'attrs':{'stroke':_0x54e2e6(0x213),'d':'M5\x209.5L8\x206.5L11\x209.5','strokeLinecap':_0x54e2e6(0x3ba),'strokeLinejoin':_0x54e2e6(0x3ba),'strokeWidth':1.2}}]},_0x5edf0c=(0x0,_0x31450[_0x54e2e6(0x17e)])(function(_0x4521aa,_0x4e4308){const _0x126cf0=_0x54e2e6;return(0x0,_0x31450[_0x126cf0(0x355)])(_0x30e45a,Object[_0x126cf0(0x44c)]({},_0x4521aa,{'id':_0x126cf0(0x344),'ref':_0x4e4308,'icon':_0x2d0c3f}));});_0x5edf0c['displayName']='MoreUpIcon';let _0x19f6cc={'tag':_0x54e2e6(0x3cf),'attrs':{'xmlns':_0x54e2e6(0x154),'fill':_0x54e2e6(0x433),'viewBox':_0x54e2e6(0x304),'width':_0x54e2e6(0x33f),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x54e2e6(0x213),'d':_0x54e2e6(0x395),'fillRule':_0x54e2e6(0x1a5),'clipRule':_0x54e2e6(0x1a5)}},{'tag':_0x54e2e6(0x2d3),'attrs':{'fill':'currentColor','d':_0x54e2e6(0x310)}}]},_0x1270de=(0x0,_0x31450[_0x54e2e6(0x17e)])(function(_0x51e58d,_0x343537){const _0x44b1a1=_0x54e2e6;return(0x0,_0x31450[_0x44b1a1(0x355)])(_0x30e45a,Object[_0x44b1a1(0x44c)]({},_0x51e58d,{'id':_0x44b1a1(0x2b0),'ref':_0x343537,'icon':_0x19f6cc}));});_0x1270de[_0x54e2e6(0x314)]=_0x54e2e6(0x3ac);let _0xf5c78c={'tag':_0x54e2e6(0x3cf),'attrs':{'xmlns':_0x54e2e6(0x154),'fill':_0x54e2e6(0x433),'viewBox':_0x54e2e6(0x304),'width':'1em','height':_0x54e2e6(0x33f)},'children':[{'tag':_0x54e2e6(0x2d3),'attrs':{'fill':_0x54e2e6(0x213),'d':_0x54e2e6(0x401),'fillRule':_0x54e2e6(0x1a5),'clipRule':'evenodd'}},{'tag':_0x54e2e6(0x2d3),'attrs':{'fill':_0x54e2e6(0x213),'d':_0x54e2e6(0x1b6)}}]},_0x56d01d=(0x0,_0x31450[_0x54e2e6(0x17e)])(function(_0x4af674,_0x36aece){const _0x255764=_0x54e2e6;return(0x0,_0x31450[_0x255764(0x355)])(_0x30e45a,Object[_0x255764(0x44c)]({},_0x4af674,{'id':_0x255764(0x2b1),'ref':_0x36aece,'icon':_0xf5c78c}));});_0x56d01d[_0x54e2e6(0x314)]=_0x54e2e6(0x159);let _0x3d5ed1={'tag':'svg','attrs':{'xmlns':_0x54e2e6(0x154),'fill':_0x54e2e6(0x433),'viewBox':'0\x200\x2016\x2016','width':_0x54e2e6(0x33f),'height':_0x54e2e6(0x33f)},'children':[{'tag':_0x54e2e6(0x2d3),'attrs':{'stroke':_0x54e2e6(0x213),'d':_0x54e2e6(0x327),'strokeLinecap':'round','strokeLinejoin':_0x54e2e6(0x3ba),'strokeWidth':1.3}},{'tag':_0x54e2e6(0x2d3),'attrs':{'stroke':_0x54e2e6(0x213),'d':_0x54e2e6(0x35e),'strokeLinecap':_0x54e2e6(0x3ba),'strokeLinejoin':_0x54e2e6(0x3ba),'strokeWidth':1.3}}]},_0x2d581e=(0x0,_0x31450[_0x54e2e6(0x17e)])(function(_0x2f3643,_0x3911ef){const _0xf674e0=_0x54e2e6;return(0x0,_0x31450[_0xf674e0(0x355)])(_0x30e45a,Object[_0xf674e0(0x44c)]({},_0x2f3643,{'id':_0xf674e0(0x288),'ref':_0x3911ef,'icon':_0x3d5ed1}));});_0x2d581e[_0x54e2e6(0x314)]=_0x54e2e6(0x4a1);let _0x354e3f={'tag':_0x54e2e6(0x3cf),'attrs':{'xmlns':_0x54e2e6(0x154),'fill':_0x54e2e6(0x433),'viewBox':_0x54e2e6(0x304),'width':'1em','height':_0x54e2e6(0x33f)},'children':[{'tag':_0x54e2e6(0x2d3),'attrs':{'stroke':_0x54e2e6(0x213),'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':_0x54e2e6(0x3ba),'strokeLinejoin':_0x54e2e6(0x3ba),'strokeWidth':1.2}},{'tag':_0x54e2e6(0x2d3),'attrs':{'stroke':_0x54e2e6(0x213),'d':_0x54e2e6(0x4be),'strokeLinecap':_0x54e2e6(0x3ba),'strokeWidth':1.2}},{'tag':_0x54e2e6(0x2d3),'attrs':{'stroke':_0x54e2e6(0x213),'d':_0x54e2e6(0x48c),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':'currentColor','d':_0x54e2e6(0x3e0),'strokeLinejoin':_0x54e2e6(0x3ba)}},{'tag':_0x54e2e6(0x2d3),'attrs':{'stroke':_0x54e2e6(0x213),'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'}}]},_0x57d64a=(0x0,_0x31450[_0x54e2e6(0x17e)])(function(_0x37eb68,_0x307fae){const _0x317e25=_0x54e2e6;return(0x0,_0x31450[_0x317e25(0x355)])(_0x30e45a,Object[_0x317e25(0x44c)]({},_0x37eb68,{'id':'shape-format-setting-icon','ref':_0x307fae,'icon':_0x354e3f}));});_0x57d64a[_0x54e2e6(0x314)]=_0x54e2e6(0x1c1);let _0x20e6f0={'tag':_0x54e2e6(0x3cf),'attrs':{'xmlns':_0x54e2e6(0x154),'fill':_0x54e2e6(0x433),'viewBox':_0x54e2e6(0x34a),'width':_0x54e2e6(0x33f),'height':_0x54e2e6(0x33f)},'children':[{'tag':_0x54e2e6(0x354),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':2.45,'fill':_0x54e2e6(0x213),'rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':1.5,'y':6.1,'fill':'currentColor','rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':15.25,'y':6.1,'fill':_0x54e2e6(0x213),'rx':0.6}},{'tag':_0x54e2e6(0x354),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':9.4,'fill':_0x54e2e6(0x213),'rx':0.6}},{'tag':_0x54e2e6(0x354),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':9.4,'fill':_0x54e2e6(0x213),'rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':1.5,'y':12.7,'fill':'currentColor','rx':0.6}},{'tag':_0x54e2e6(0x354),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':12.7,'fill':_0x54e2e6(0x213),'rx':0.6}},{'tag':_0x54e2e6(0x354),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':16.35,'fill':_0x54e2e6(0x213),'rx':0.6}},{'tag':_0x54e2e6(0x2d3),'attrs':{'fill':_0x54e2e6(0x213),'d':_0x54e2e6(0x1e7),'fillRule':_0x54e2e6(0x1a5),'clipRule':_0x54e2e6(0x1a5)}}]},_0x3c50f0=(0x0,_0x31450['forwardRef'])(function(_0x2da2a4,_0x5a4a26){const _0x405dd0=_0x54e2e6;return(0x0,_0x31450[_0x405dd0(0x355)])(_0x30e45a,Object[_0x405dd0(0x44c)]({},_0x2da2a4,{'id':_0x405dd0(0x249),'ref':_0x5a4a26,'icon':_0x20e6f0}));});_0x3c50f0['displayName']=_0x54e2e6(0x21f);let _0x1261aa={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x54e2e6(0x433),'viewBox':_0x54e2e6(0x449),'width':_0x54e2e6(0x33f),'height':_0x54e2e6(0x33f)},'children':[{'tag':_0x54e2e6(0x2d3),'attrs':{'fill':_0x54e2e6(0x213),'d':'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'}},{'tag':'path','attrs':{'fill':_0x54e2e6(0x213),'d':_0x54e2e6(0x467),'fillRule':_0x54e2e6(0x1a5),'clipRule':_0x54e2e6(0x1a5)}},{'tag':_0x54e2e6(0x2d3),'attrs':{'fill':_0x54e2e6(0x213),'d':_0x54e2e6(0x29b),'fillRule':'evenodd','clipRule':_0x54e2e6(0x1a5)}}]},_0x304c7a=(0x0,_0x31450['forwardRef'])(function(_0x1043eb,_0x4c46a5){const _0x518be2=_0x54e2e6;return(0x0,_0x31450[_0x518be2(0x355)])(_0x30e45a,Object['assign']({},_0x1043eb,{'id':'topmost-icon','ref':_0x4c46a5,'icon':_0x1261aa}));});_0x304c7a[_0x54e2e6(0x314)]=_0x54e2e6(0x3d4);function _0x50dfbb(_0x5d63fc){const _0x4bfd34=_0x54e2e6;return(0x0,_0x57c25a['jsx'])(_0x13878f,{..._0x5d63fc,'PickerComponent':_0x5ceb8e[_0x4bfd34(0x37f)]});}function _0x21e11d(){const _0x262a2d=_0x54e2e6;let _0x1d28d6=(0x0,_0x7c4c2f[_0x262a2d(0x298)])(_0x1f70ef['LocaleService']),_0x8cbbcb=_0x288c0f(),[_0x162998,_0x40abb0]=(0x0,_0x31450[_0x262a2d(0x2dc)])(!0x1);return(0x0,_0x57c25a[_0x262a2d(0x1af)])(_0x262a2d(0x3fa),{'className':_0x262a2d(0x260),'children':[(0x0,_0x57c25a[_0x262a2d(0x32b)])(_0x104a58[_0x262a2d(0x184)],{'title':_0x1d28d6['t']('docs-shape-ui.crop.shape'),'aria-expanded':_0x162998,'variant':_0x262a2d(0x3b4),'trailing':_0x162998?(0x0,_0x57c25a[_0x262a2d(0x32b)])(_0x5edf0c,{}):(0x0,_0x57c25a[_0x262a2d(0x32b)])(_0x383106,{}),'onClick':()=>_0x40abb0(_0x4549be=>!_0x4549be)}),_0x162998&&(0x0,_0x57c25a[_0x262a2d(0x32b)])(_0x5ceb8e[_0x262a2d(0x37f)],{'excludeGroups':[_0x5ceb8e[_0x262a2d(0x4c1)]['Line']],'onShapeClick':_0x3ece9b=>{_0x8cbbcb(_0x3ece9b),_0x40abb0(!0x1);}})]});}function _0x3b692a(_0x661fa9){return _0x661fa9['trim']()||void 0x0;}function _0x1130d(_0x4559b3,_0x10f437,_0x5eb05f){const _0x20ec42=_0x54e2e6;var _0x12842f,_0x345868;return((_0x12842f=_0x4559b3['name'])==null?void 0x0:_0x12842f[_0x20ec42(0x386)]())||((_0x345868=_0x4559b3[_0x20ec42(0x4a7)])==null?void 0x0:_0x345868[_0x20ec42(0x386)]())||_0x5eb05f['t'](_0x20ec42(0x365)+(0x0,_0x5ceb8e[_0x20ec42(0x416)])(_0x4559b3['drawingType']))+'\x20'+(_0x10f437+0x1);}function _0x6a8656({PanelComponent:_0x1ea0a0=_0x57c854[_0x54e2e6(0x1b2)]}){const _0x25ba98=_0x54e2e6;let _0x16bcff=(0x0,_0x7c4c2f['useDependency'])(_0x1f70ef[_0x25ba98(0x15c)]),_0x3f76c9={'title':_0x16bcff['t'](_0x25ba98(0x273)),'empty':_0x16bcff['t'](_0x25ba98(0x1b4)),'showAll':_0x16bcff['t'](_0x25ba98(0x3d9)),'hideAll':_0x16bcff['t'](_0x25ba98(0x43f)),'lockAll':_0x16bcff['t'](_0x25ba98(0x26b)),'unlockAll':_0x16bcff['t'](_0x25ba98(0x436)),'moveForward':_0x16bcff['t'](_0x25ba98(0x3f8)),'moveBackward':_0x16bcff['t'](_0x25ba98(0x228)),'close':_0x16bcff['t'](_0x25ba98(0x39f)),'show':_0x16bcff['t'](_0x25ba98(0x4cb)),'hide':_0x16bcff['t'](_0x25ba98(0x26e)),'lock':_0x16bcff['t'](_0x25ba98(0x4d4)),'unlock':_0x16bcff['t'](_0x25ba98(0x44a)),'lockHint':_0x16bcff['t'](_0x25ba98(0x427)),'unlockHint':_0x16bcff['t'](_0x25ba98(0x389)),'name':_0x16bcff['t'](_0x25ba98(0x4cc)),'nameInput':_0x16bcff['t'](_0x25ba98(0x1cb)),'description':_0x16bcff['t'](_0x25ba98(0x2af)),'descriptionPlaceholder':_0x16bcff['t'](_0x25ba98(0x239)),'details':_0x16bcff['t'](_0x25ba98(0x46d)),'noSelection':_0x16bcff['t'](_0x25ba98(0x2ad)),'locate':_0x16bcff['t'](_0x25ba98(0x196)),'expand':_0x16bcff['t'](_0x25ba98(0x2b6)),'collapse':_0x16bcff['t']('drawing-ui.objectListPanel.collapse'),'dragToReorder':_0x16bcff['t'](_0x25ba98(0x494)),'search':_0x16bcff['t'](_0x25ba98(0x217)),'filterAll':_0x16bcff['t']('drawing-ui.objectListPanel.filterAll'),'filterHidden':_0x16bcff['t'](_0x25ba98(0x437)),'filterLocked':_0x16bcff['t'](_0x25ba98(0x4ab)),'sectionCanvas':_0x16bcff['t'](_0x25ba98(0x1c6)),'sectionFloating':_0x16bcff['t'](_0x25ba98(0x1b5))},_0x263a40=(0x0,_0x7c4c2f[_0x25ba98(0x298)])(_0x1f70ef[_0x25ba98(0x3ab)]),_0x5caf43=(0x0,_0x7c4c2f[_0x25ba98(0x298)])(_0x1f70ef['IUniverInstanceService']),_0x32c11b=(0x0,_0x7c4c2f[_0x25ba98(0x298)])(_0x535687[_0x25ba98(0x192)]),_0x3fa0e0=(0x0,_0x7c4c2f['useDependency'])(_0x509efb[_0x25ba98(0x178)]),_0x159e84=(0x0,_0x7c4c2f[_0x25ba98(0x298)])(_0x35408c[_0x25ba98(0x2b5)]),[,_0x5de57c]=(0x0,_0x31450[_0x25ba98(0x350)])(_0x1a6a26=>_0x1a6a26+0x1,0x0),_0x2d80f4=_0x5caf43[_0x25ba98(0x2a3)](_0x1f70ef[_0x25ba98(0x283)][_0x25ba98(0x1cc)]),_0x3924a1=(_0x2d80f4==null?void 0x0:_0x2d80f4[_0x25ba98(0x454)]())??'',_0x388cf7=_0x3924a1,_0x439049=(0x0,_0x7c4c2f[_0x25ba98(0x254)])(()=>_0x3fa0e0[_0x25ba98(0x48f)],_0x3fa0e0['getFocusDrawings'](),!0x1,[_0x3fa0e0]);(0x0,_0x31450['useEffect'])(()=>{const _0x3f5b90=_0x25ba98;let _0x325bf7=_0x263a40[_0x3f5b90(0x326)](()=>_0x5de57c());return()=>_0x325bf7['dispose']();},[_0x263a40]);let _0xa055b7=_0x3924a1?_0x32c11b[_0x25ba98(0x3d0)](_0x3924a1,_0x388cf7):{},_0x3816d3=(_0x3924a1?_0x32c11b[_0x25ba98(0x2ae)](_0x3924a1,_0x388cf7):[])[_0x25ba98(0x4ba)](_0x2d7b89=>_0xa055b7[_0x2d7b89])[_0x25ba98(0x2c0)](_0x3e6dd1=>!!_0x3e6dd1)[_0x25ba98(0x2f7)](),_0x2c4228=_0x3816d3[_0x25ba98(0x3fe)]((_0x101b8e,_0x1ceb09)=>(_0x101b8e[(0x0,_0x57c854[_0x25ba98(0x229)])(_0x1ceb09[_0x25ba98(0x4c9)])]+=0x1,_0x101b8e),{'canvas':0x0,'floating':0x0}),_0x2f8de9={'canvas':0x0,'floating':0x0},_0x51f730=_0x3816d3['map']((_0x5619e1,_0x3dfd08)=>{const _0x2b7d53=_0x25ba98;let _0x2b6fc9=(0x0,_0x57c854[_0x2b7d53(0x229)])(_0x5619e1[_0x2b7d53(0x4c9)]),_0x51542b=_0x2b6fc9===_0x57c854[_0x2b7d53(0x188)],_0x119e76=_0x2f8de9[_0x2b6fc9]++;return{'id':_0x5619e1['drawingId'],'name':_0x1130d(_0x5619e1,_0x3dfd08,_0x16bcff),'description':_0x5619e1[_0x2b7d53(0x423)],'visible':_0x5619e1[_0x2b7d53(0x28b)]!==!0x0,'selectable':_0x5619e1[_0x2b7d53(0x4c7)]!==!0x1,'sectionId':_0x2b6fc9,'sectionTitle':_0x51542b?_0x3f76c9[_0x2b7d53(0x20d)]:_0x3f76c9[_0x2b7d53(0x262)],'capabilities':_0x51542b?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x51542b&&_0x119e76>0x0,'canMoveBackward':!_0x51542b&&_0x119e76<_0x2c4228[_0x2b7d53(0x2cf)]-0x1,'canReorder':!_0x51542b};}),_0x4cc774=(0x0,_0x31450[_0x25ba98(0x208)])(()=>(_0x439049??[])[_0x25ba98(0x2c0)](_0x1cc12c=>_0x1cc12c[_0x25ba98(0x2a9)]===_0x3924a1&&_0x1cc12c[_0x25ba98(0x2bf)]===_0x388cf7)[_0x25ba98(0x4ba)](_0x2afba0=>_0x2afba0[_0x25ba98(0x2e7)]),[_0x439049,_0x388cf7,_0x3924a1]),_0x5bb6a8=_0x4cc774[_0x4cc774[_0x25ba98(0x44b)]-0x1]??null,_0x686c=_0x21aa7f=>_0x32c11b[_0x25ba98(0x2dd)]({'unitId':_0x3924a1,'subUnitId':_0x388cf7,'drawingId':_0x21aa7f})??null,_0x3a92a5=async _0x47e4c9=>{const _0x3a4b37=_0x25ba98;_0x3924a1&&_0x47e4c9['length']&&await _0x263a40[_0x3a4b37(0x407)](_0x156d72['UpdateDocDrawingMetadataCommand']['id'],{'unitId':_0x3924a1,'patches':_0x47e4c9});},_0x4b9110=(_0x3356a5,_0x2723c6)=>{const _0x16f939=_0x25ba98;if(!_0x3924a1)return;let _0x52fa56=_0x2723c6?_0x4cc774[_0x16f939(0x456)](_0x3356a5)?_0x4cc774['filter'](_0x1d7917=>_0x1d7917!==_0x3356a5):[..._0x4cc774,_0x3356a5]:[_0x3356a5];_0x263a40[_0x16f939(0x380)](_0x509efb['SetDrawingSelectedOperation']['id'],_0x52fa56['map'](_0x5c6d0f=>({'unitId':_0x3924a1,'subUnitId':_0x388cf7,'drawingId':_0x5c6d0f})));let _0x5293b3=_0x52fa56[_0x52fa56['length']-0x1];_0x5293b3?(0x0,_0x5ceb8e[_0x16f939(0x1a1)])(_0x159e84,{'unitId':_0x3924a1,'subUnitId':_0x388cf7,'drawingId':_0x5293b3}):(0x0,_0x5ceb8e[_0x16f939(0x44f)])(_0x159e84,_0x3924a1);},_0x2fb538=async(_0xde217b,_0x1ebd99)=>{const _0x120069=_0x25ba98;await _0x3a92a5(_0xde217b[_0x120069(0x4ba)](_0x1bf48e=>_0x686c(_0x1bf48e))[_0x120069(0x2c0)](_0x3c8bdd=>!!_0x3c8bdd)[_0x120069(0x2c0)](_0x3e0aad=>_0x3e0aad[_0x120069(0x28b)]!==!0x0!==_0x1ebd99)[_0x120069(0x4ba)](_0x549a7b=>({'drawingId':_0x549a7b['drawingId'],'hidden':!_0x1ebd99})));},_0x24df37=async(_0x1677f4,_0x1572bd)=>{const _0xf8d6a3=_0x25ba98;await _0x3a92a5(_0x1677f4[_0xf8d6a3(0x4ba)](_0x234c62=>_0x686c(_0x234c62))['filter'](_0x2d7887=>!!_0x2d7887)['filter'](_0x37c52f=>_0x37c52f[_0xf8d6a3(0x4c7)]!==!0x1!==_0x1572bd)[_0xf8d6a3(0x4ba)](_0x216bad=>({'drawingId':_0x216bad['drawingId'],'selectable':_0x1572bd})));},_0x4ee310=_0x252714=>{let _0x3bea26=_0x686c(_0x252714);if(_0x3bea26)return _0x24df37([_0x252714],_0x3bea26['selectable']===!0x1);},_0x30ccba=async(_0x544382,_0x152413)=>{const _0x2d2677=_0x25ba98;let _0x2778cb=_0x686c(_0x544382),_0x1f86c1=_0x3b692a(_0x152413);!_0x2778cb||(_0x2778cb[_0x2d2677(0x151)]??void 0x0)===_0x1f86c1&&(_0x2778cb[_0x2d2677(0x4a7)]||void 0x0)===_0x1f86c1||await _0x3a92a5([{'drawingId':_0x544382,'name':_0x1f86c1,'title':_0x1f86c1}]);},_0x438a47=async(_0x45cefb,_0x5affaf)=>{const _0x156750=_0x25ba98;let _0x4e7366=_0x686c(_0x45cefb),_0x2c4837=_0x3b692a(_0x5affaf);_0x4e7366&&(_0x4e7366[_0x156750(0x423)]??void 0x0)!==_0x2c4837&&await _0x3a92a5([{'drawingId':_0x45cefb,'description':_0x2c4837}]);},_0x1df70f=async(_0x5da186,_0x3624ed)=>{const _0x3b1f6a=_0x25ba98;_0x3924a1&&await _0x263a40['executeCommand'](_0x535687[_0x3b1f6a(0x2bd)]['id'],{'unitId':_0x3924a1,'subUnitId':_0x388cf7,'drawingIds':[_0x5da186],'arrangeType':_0x3624ed});};return _0x3924a1?(0x0,_0x57c25a[_0x25ba98(0x32b)])(_0x1ea0a0,{'labels':_0x3f76c9,'renderPermissionAction':_0x111138=>_0x2d80f4?(0x0,_0x57c25a[_0x25ba98(0x32b)])(_0x7c4c2f['ObjectPermissionButton'],{'target':{'unitId':_0x3924a1,'objectId':(0x0,_0x5f20c1[_0x25ba98(0x1a4)])((0x0,_0x5f20c1[_0x25ba98(0x347)])(_0x2d80f4,_0x111138['id']),_0x25ba98(0x1e5),_0x111138['id']),'objectType':_0xe6e2b9[_0x25ba98(0x14c)][_0x25ba98(0x1dd)]},'name':_0x111138['name'],'commandId':_0x5f20c1[_0x25ba98(0x4e0)]['id'],'exists':()=>!!_0x686c(_0x111138['id'])},_0x3924a1+'/'+_0x111138['id']):null,'items':_0x51f730,'selectedIds':_0x4cc774,'focusedId':_0x5bb6a8,'showHeader':!0x1,'onSelect':_0x4b9110,'onSetVisible':_0x2fb538,'onSetSelectable':_0x24df37,'onCommitName':_0x30ccba,'onCommitDescription':_0x438a47,'onMoveForward':async _0x510127=>_0x1df70f(_0x510127,_0x1f70ef[_0x25ba98(0x4e1)][_0x25ba98(0x311)]),'onMoveBackward':async _0x37fee1=>_0x1df70f(_0x37fee1,_0x1f70ef[_0x25ba98(0x4e1)][_0x25ba98(0x363)]),'onToggleSelectable':_0x4ee310}):(0x0,_0x57c25a[_0x25ba98(0x32b)])(_0x25ba98(0x3fa),{'className':_0x25ba98(0x2f8),'children':_0x3f76c9[_0x25ba98(0x4a7)]});}function _0xe390f7(){return(0x0,_0x57c25a['jsx'])(_0x6a8656,{'PanelComponent':_0x57c854['MobileObjectListPanel']});}let _0x1dc3be=class{constructor(_0x241571){const _0x5a7e4b=_0x54e2e6;this[_0x5a7e4b(0x4a2)]=_0x241571;}[_0x54e2e6(0x244)](_0x383ae7,_0x21f6bf){const _0x1c4a1a=_0x54e2e6;let _0x45530d=this[_0x1c4a1a(0x4a2)][_0x1c4a1a(0x2eb)](_0x383ae7[_0x1c4a1a(0x2a9)]),_0x10fba9=_0x45530d==null?void 0x0:_0x45530d[_0x1c4a1a(0x2ba)];if(!_0x10fba9)return;let _0x4dbe15=(0x0,_0x509efb[_0x1c4a1a(0x3c2)])(_0x383ae7),_0x449f85=_0x10fba9[_0x1c4a1a(0x3b9)](_0x4dbe15);_0x449f85==null||_0x449f85[_0x1c4a1a(0x2cd)](_0x21f6bf);}};_0x1dc3be=_0x105eeb([_0x1af634(0x0,_0x35408c[_0x54e2e6(0x2b5)])],_0x1dc3be);function _0x18b08f(){const _0x118ce8=_0x54e2e6;let _0xaf954c=(0x0,_0x7c4c2f[_0x118ce8(0x298)])(_0x509efb['IDrawingManagerService']),_0x103119=(0x0,_0x7c4c2f[_0x118ce8(0x254)])(()=>_0xaf954c[_0x118ce8(0x48f)],_0xaf954c[_0x118ce8(0x34f)](),!0x1,[_0xaf954c]);return _0x103119[_0x118ce8(0x44b)]===0x0?null:(0x0,_0x57c25a[_0x118ce8(0x32b)])(_0x118ce8(0x3fa),{'children':(0x0,_0x57c25a['jsxs'])(_0x118ce8(0x3fa),{'className':_0x118ce8(0x205),'children':[(0x0,_0x57c25a['jsx'])(_0x57c854[_0x118ce8(0x319)],{'drawings':_0x103119,'hasCropper':!0x1}),(0x0,_0x57c25a[_0x118ce8(0x32b)])(_0x23d22e[_0x118ce8(0x2f6)],{'drawings':_0x103119}),(0x0,_0x57c25a[_0x118ce8(0x32b)])(_0x23d22e[_0x118ce8(0x3d2)],{'drawings':_0x103119})]})});}function _0x2ad012(_0x592d93){const _0xe5af17=_0x54e2e6;let {unitId:_0x4c04b0,subUnitId:_0x402e0a,shapeId:_0x98ffbd,PositionComponent:_0x3e4ed0=_0x18b08f}=_0x592d93,_0x1b5e72=(0x0,_0x7c4c2f[_0xe5af17(0x298)])(_0x1f70ef[_0xe5af17(0x3ab)]),_0x180fc6=(0x0,_0x7c4c2f['useDependency'])(_0x1dc3be);return(0x0,_0x57c25a[_0xe5af17(0x32b)])(_0x5ceb8e['ShapeEditPanel'],{..._0x592d93,'positionEditor':(0x0,_0x57c25a['jsx'])(_0x3e4ed0,{}),'onUpdateShapeData':(_0x5c850e,_0x1b666a)=>{_0x47b987(_0x1b5e72,_0x4c04b0,_0x402e0a,_0x98ffbd,_0x5c850e,_0x1b666a);},'onUpdateLineShapeData':(_0x1e80d6,_0x2f5e22)=>{_0x166ba9(_0x1b5e72,_0x4c04b0,_0x402e0a,_0x98ffbd,_0x1e80d6,_0x2f5e22);},'onUpdateShapeFillImage':_0x195733=>{const _0x1a6291=_0xe5af17;_0x180fc6[_0x1a6291(0x244)]({'unitId':_0x4c04b0,'subUnitId':_0x402e0a,'drawingId':_0x98ffbd},_0x195733);}});}function _0x117f90(){const _0x1f5fd8=_0x54e2e6;let _0x2f0513=(0x0,_0x7c4c2f[_0x1f5fd8(0x298)])(_0x509efb[_0x1f5fd8(0x178)]),_0x5e5a34=(0x0,_0x7c4c2f[_0x1f5fd8(0x254)])(_0x2f0513[_0x1f5fd8(0x48f)],_0x2f0513['getFocusDrawings']());return _0x5e5a34['length']===0x0?null:(0x0,_0x57c25a[_0x1f5fd8(0x1af)])(_0x1f5fd8(0x3fa),{'className':_0x1f5fd8(0x300),'children':[(0x0,_0x57c25a[_0x1f5fd8(0x32b)])(_0x57c854['DrawingCommonPanel'],{'drawings':_0x5e5a34,'hasCropper':!0x1}),(0x0,_0x57c25a[_0x1f5fd8(0x32b)])(_0x23d22e['MobileDocDrawingTextWrap'],{'drawings':_0x5e5a34}),(0x0,_0x57c25a[_0x1f5fd8(0x32b)])(_0x23d22e[_0x1f5fd8(0x28f)],{'drawings':_0x5e5a34})]});}function _0x1b6b85(_0x4a00c1){const _0x3b9768=_0x54e2e6;return(0x0,_0x57c25a[_0x3b9768(0x32b)])(_0x5ceb8e['MobileShapeEditorControls'],{'children':(0x0,_0x57c25a['jsx'])(_0x2ad012,{..._0x4a00c1,'PositionComponent':_0x117f90})});}function _0x54dfa4({popup:_0x1b587b}){const _0x2e9794=_0x54e2e6;let _0x2f7e8a=(0x0,_0x7c4c2f['useDependency'])(_0x1f70ef[_0x2e9794(0x15c)]),{shapeType:_0xc87283,onText:_0x9dbed0,onStyle:_0x2ce2cd,onDelete:_0x414e18}=_0x1b587b[_0x2e9794(0x289)],_0x19d62a=[{'key':_0x2e9794(0x3e5),'order':0x0,'item':{'id':'text','type':_0x7c4c2f['MenuItemType'][_0x2e9794(0x1ed)],'title':_0x2f7e8a['t']('docs-shape-ui.mobile.text'),'disabled$':(0x0,_0x3781f8['of'])((0x0,_0x11cfc4[_0x2e9794(0x286)])(_0xc87283))}},{'key':_0x2e9794(0x265),'order':0x1,'item':{'id':'style','type':_0x7c4c2f[_0x2e9794(0x2cb)][_0x2e9794(0x1ed)],'title':_0x2f7e8a['t']('docs-shape-ui.mobile.style')}},{'key':_0x2e9794(0x493),'order':0x2,'item':{'id':_0x2e9794(0x493),'type':_0x7c4c2f['MenuItemType'][_0x2e9794(0x1ed)],'title':_0x2f7e8a['t']('docs-shape-ui.mobile.delete')}}];return(0x0,_0x57c25a[_0x2e9794(0x32b)])(_0x7c4c2f[_0x2e9794(0x448)],{'schemas':_0x19d62a,'presentation':_0x2e9794(0x313),'onOptionSelect':async({id:_0x5038e9})=>{const _0x5bac64=_0x2e9794;_0x5038e9===_0x5bac64(0x3e5)?await _0x9dbed0():_0x5038e9===_0x5bac64(0x265)?await _0x2ce2cd():_0x5038e9==='delete'&&await _0x414e18();}});}let _0x1b4f5e='doc.shape.floating-toolbar';function _0x3f98ca(_0x5eaad7,_0x1d1a91){const _0x4a3b6e=_0x54e2e6;var _0x244a9d;let _0x507c9b=_0x5eaad7==null||(_0x244a9d=_0x5eaad7[_0x4a3b6e(0x250)]()[_0x4a3b6e(0x1e0)])==null?void 0x0:_0x244a9d[_0x1d1a91];return _0x507c9b?_0x507c9b[_0x4a3b6e(0x2fa)]===_0x1f70ef[_0x4a3b6e(0x3e4)][_0x4a3b6e(0x40e)]?_0x507c9b[_0x4a3b6e(0x18b)]===_0x1f70ef[_0x4a3b6e(0x1aa)][_0x4a3b6e(0x1ce)]?_0x535687['TextWrappingStyle'][_0x4a3b6e(0x4d0)]:_0x535687['TextWrappingStyle'][_0x4a3b6e(0x2cc)]:_0x507c9b[_0x4a3b6e(0x2fa)]===_0x1f70ef[_0x4a3b6e(0x3e4)]['WRAP_SQUARE']?_0x535687[_0x4a3b6e(0x31e)][_0x4a3b6e(0x1ba)]:_0x507c9b['layoutType']===_0x1f70ef['PositionedObjectLayoutType'][_0x4a3b6e(0x3a5)]?_0x535687[_0x4a3b6e(0x31e)][_0x4a3b6e(0x3a5)]:_0x535687['TextWrappingStyle']['INLINE']:_0x535687[_0x4a3b6e(0x31e)][_0x4a3b6e(0x270)];}function _0x33a116(_0x110ec3){const _0x3be9d7=_0x54e2e6;let _0x1a149e=(0x0,_0x7c4c2f[_0x3be9d7(0x298)])(_0x5ceb8e[_0x3be9d7(0x27e)]),_0x5f010d=(0x0,_0x7c4c2f['useObservable'])(()=>_0x1a149e[_0x3be9d7(0x27c)],_0x1a149e['getVisible'](),!0x1,[_0x1a149e]),_0x6f013e=_0x110ec3[_0x3be9d7(0x356)][_0x3be9d7(0x289)];return _0x5f010d?(0x0,_0x57c25a[_0x3be9d7(0x32b)])(_0x101b4f,{..._0x6f013e,'canvasElement':_0x110ec3[_0x3be9d7(0x356)][_0x3be9d7(0x3e2)]}):null;}function _0x101b4f(_0x3d7386){const _0x2a0046=_0x54e2e6;let _0x19937a=(0x0,_0x7c4c2f[_0x2a0046(0x298)])(_0x1f70ef[_0x2a0046(0x3ab)]),_0x263b99=(0x0,_0x7c4c2f['useDependency'])(_0x1f70ef[_0x2a0046(0x15c)]),_0x12f93a=(0x0,_0x7c4c2f[_0x2a0046(0x298)])(_0x156d72[_0x2a0046(0x333)]),_0x138d29=(0x0,_0x7c4c2f[_0x2a0046(0x298)])(_0x1f70ef[_0x2a0046(0x3bb)]),{unitId:_0xa45a2e,subUnitId:_0x50e3ee,drawingId:_0x3c3e4b,shapeType:_0x2ba690}=_0x3d7386,[_0x271e38,_0x550f02]=(0x0,_0x31450['useState'])(_0x3d7386[_0x2a0046(0x2fc)]),_0x396526=_0x138d29[_0x2a0046(0x46f)](_0xa45a2e,_0x1f70ef[_0x2a0046(0x283)][_0x2a0046(0x1cc)])??void 0x0,[_0x59d016,_0x1ad258]=(0x0,_0x31450[_0x2a0046(0x2dc)])(()=>_0x3f98ca(_0x396526,_0x3c3e4b)),_0x17b2ac=(0x0,_0x31450['useMemo'])(()=>(0x0,_0x5ceb8e['getTextStyle'])(_0x271e38),[_0x271e38]),_0x20639e=(0x0,_0x31450[_0x2a0046(0x208)])(()=>(0x0,_0x5ceb8e['getTextModel'])(_0x271e38),[_0x271e38]);(0x0,_0x31450[_0x2a0046(0x31f)])(()=>{const _0x2b580d=_0x2a0046;let _0x5841cd=_0x19937a[_0x2b580d(0x326)](_0x1dd046=>{if(_0x1dd046['id']!==_0x156d72['UpdateDocShapeDataMutation']['id'])return;let _0x1b663c=_0x12f93a['getShapeDataById'](_0xa45a2e,_0x50e3ee,_0x3c3e4b);_0x1b663c&&_0x550f02(_0x1b663c);});return()=>_0x5841cd[_0x2b580d(0x267)]();},[_0x19937a,_0x12f93a,_0x3c3e4b,_0x50e3ee,_0xa45a2e]);let _0x3190b6=_0x4dbf54=>{_0x550f02(_0xaad990=>({..._0xaad990,..._0x4dbf54}));},_0x423e48=_0x20b58f=>{const _0x4819cf=_0x2a0046;let _0x283276=(0x0,_0x5ceb8e[_0x4819cf(0x489)])(_0x271e38,_0x20b58f);_0x47b987(_0x19937a,_0xa45a2e,_0x50e3ee,_0x3c3e4b,{'oldShapeData':{'shapeText':_0x271e38[_0x4819cf(0x26a)]}},_0x283276),_0x3190b6(_0x283276);},_0x4049ce=_0x2959e4=>{const _0x13dcd0=_0x2a0046;_0x1ad258(_0x2959e4),_0x19937a[_0x13dcd0(0x407)](_0x535687[_0x13dcd0(0x41f)]['id'],{'unitId':_0xa45a2e,'subUnitId':_0x50e3ee,'drawings':[{'unitId':_0xa45a2e,'subUnitId':_0x50e3ee,'drawingId':_0x3c3e4b}],'wrappingStyle':_0x2959e4});},_0x429a09=(0x0,_0x5ceb8e[_0x2a0046(0x440)])({'hostType':_0x1f70ef[_0x2a0046(0x283)][_0x2a0046(0x1cc)],'unitId':_0xa45a2e,'subUnitId':_0x50e3ee,'shapeId':_0x3c3e4b,'shapeData':_0x271e38,'onUpdateBinding':_0x3a0772=>{let _0x26d3b0={'formulaBinding':_0x3a0772};_0x47b987(_0x19937a,_0xa45a2e,_0x50e3ee,_0x3c3e4b,{'oldShapeData':{'formulaBinding':_0x271e38['formulaBinding']}},_0x26d3b0),_0x3190b6(_0x26d3b0);}}),_0x129917=[{'label':_0x263b99['t'](_0x2a0046(0x2c5)),'value':_0x535687[_0x2a0046(0x31e)][_0x2a0046(0x270)],'icon':(0x0,_0x57c25a[_0x2a0046(0x32b)])(_0x3c50f0,{})},{'label':_0x263b99['t'](_0x2a0046(0x2d4)),'value':_0x535687['TextWrappingStyle'][_0x2a0046(0x1ba)],'icon':(0x0,_0x57c25a['jsx'])(_0x3c50f0,{})},{'label':_0x263b99['t'](_0x2a0046(0x149)),'value':_0x535687[_0x2a0046(0x31e)]['WRAP_TOP_AND_BOTTOM'],'icon':(0x0,_0x57c25a[_0x2a0046(0x32b)])(_0x3c50f0,{})},{'label':_0x263b99['t'](_0x2a0046(0x275)),'value':_0x535687[_0x2a0046(0x31e)][_0x2a0046(0x4d0)],'icon':(0x0,_0x57c25a[_0x2a0046(0x32b)])(_0x3c50f0,{})},{'label':_0x263b99['t'](_0x2a0046(0x388)),'value':_0x535687[_0x2a0046(0x31e)][_0x2a0046(0x2cc)],'icon':(0x0,_0x57c25a[_0x2a0046(0x32b)])(_0x3c50f0,{})}];return(0x0,_0x57c25a[_0x2a0046(0x1af)])(_0x57c25a['Fragment'],{'children':[(0x0,_0x57c25a[_0x2a0046(0x32b)])(_0x5ceb8e[_0x2a0046(0x3ca)],{'canvasElement':_0x3d7386[_0x2a0046(0x3e2)],'shapeData':_0x271e38,'shapeType':_0x2ba690,'textStyle':{'ff':_0x11cfc4[_0x2a0046(0x15e)][_0x2a0046(0x26a)][_0x2a0046(0x175)],'fs':_0x11cfc4[_0x2a0046(0x15e)][_0x2a0046(0x26a)][_0x2a0046(0x172)],'cl':{'rgb':_0x11cfc4[_0x2a0046(0x15e)][_0x2a0046(0x26a)][_0x2a0046(0x36a)]},..._0x17b2ac},'textModel':_0x20639e?{'ha':_0x20639e['ha']??_0x1f70ef['HorizontalAlign']['LEFT'],'va':_0x20639e['va']??_0x1f70ef[_0x2a0046(0x49e)]['TOP']}:null,'wrappingStyle':_0x59d016,'wrappingStyleOptions':_0x129917,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x11cfc4[_0x2a0046(0x15e)][_0x2a0046(0x46e)],'defaultGradientEndColor':_0x11cfc4[_0x2a0046(0x15e)][_0x2a0046(0x37d)],'defaultStrokeColor':_0x11cfc4['ShapeDefaultConfig']['stroke'],'extensionGroups':_0x429a09[_0x2a0046(0x1ee)],'floatingObjectToolbarPosition':_0x7c4c2f[_0x2a0046(0x36b)]['DOC'],'onUpdateShapeData':(_0x240690,_0x240906)=>{_0x47b987(_0x19937a,_0xa45a2e,_0x50e3ee,_0x3c3e4b,_0x240690,_0x240906),_0x240906&&_0x3190b6(_0x240906);},'onUpdateText':_0x423e48,'onUpdateWrappingStyle':_0x21f87d=>_0x4049ce(_0x21f87d),'onOpenPanel':()=>{_0x19937a['executeCommand'](_0xf4b337['id'],{'unitId':_0xa45a2e,'subUnitId':_0x50e3ee,'drawingId':_0x3c3e4b});},'onDelete':()=>{const _0x4b425=_0x2a0046;_0x19937a[_0x4b425(0x407)](_0x535687[_0x4b425(0x3f0)]['id'],{'unitId':_0xa45a2e,'drawings':[{'unitId':_0xa45a2e,'subUnitId':_0x50e3ee,'drawingId':_0x3c3e4b}]});}}),_0x429a09[_0x2a0046(0x1de)]]});}function _0x2f6796({variant:_0x3c35b1,extend:_0x1a8a25,..._0x58998f}){const _0x319dad=_0x54e2e6;let _0x34a51b=(0x0,_0x57c25a[_0x319dad(0x32b)])(_0x319dad(0x354),{'x':'7','y':_0x319dad(0x2b2),'width':'6','height':'9','rx':'1','fill':'currentColor','fillOpacity':_0x319dad(0x422),'stroke':_0x319dad(0x213),'strokeWidth':_0x319dad(0x1f6)});return(0x0,_0x57c25a['jsxs'])(_0x319dad(0x3cf),{'aria-hidden':'true','fill':'none','height':_0x319dad(0x33f),'viewBox':_0x319dad(0x34a),'width':_0x319dad(0x33f),..._0x58998f,'children':[_0x3c35b1==='inline'&&(0x0,_0x57c25a['jsxs'])(_0x57c25a[_0x319dad(0x251)],{'children':[(0x0,_0x57c25a[_0x319dad(0x32b)])(_0x319dad(0x2d3),{'d':'M2\x203.5h16M2\x2016.5h16M2\x2010h5M13\x2010h5','stroke':_0x319dad(0x213),'strokeLinecap':'round','strokeWidth':_0x319dad(0x1f6)}),(0x0,_0x57c25a['jsx'])('rect',{'x':'8','y':'7','width':'4','height':'6','rx':'0.8','fill':_0x319dad(0x213),'fillOpacity':_0x319dad(0x422),'stroke':'currentColor','strokeWidth':_0x319dad(0x1f6)})]}),_0x3c35b1==='square'&&(0x0,_0x57c25a['jsxs'])(_0x57c25a[_0x319dad(0x251)],{'children':[(0x0,_0x57c25a[_0x319dad(0x32b)])('path',{'d':'M2\x203h16M2\x207.5h3M15\x207.5h3M2\x2010h3M15\x2010h3M2\x2012.5h3M15\x2012.5h3M2\x2017h16','stroke':_0x319dad(0x213),'strokeLinecap':'round','strokeWidth':_0x319dad(0x1f6)}),_0x34a51b]}),_0x3c35b1===_0x319dad(0x3fd)&&(0x0,_0x57c25a['jsxs'])(_0x57c25a[_0x319dad(0x251)],{'children':[(0x0,_0x57c25a[_0x319dad(0x32b)])('path',{'d':_0x319dad(0x28d),'stroke':_0x319dad(0x213),'strokeLinecap':_0x319dad(0x3ba),'strokeWidth':_0x319dad(0x1f6)}),_0x34a51b]}),_0x3c35b1===_0x319dad(0x287)&&(0x0,_0x57c25a[_0x319dad(0x1af)])(_0x57c25a[_0x319dad(0x251)],{'children':[_0x34a51b,(0x0,_0x57c25a[_0x319dad(0x32b)])(_0x319dad(0x2d3),{'d':'M2\x203h16M2\x207.5h16M2\x2010h16M2\x2012.5h16M2\x2017h16','stroke':'currentColor','strokeLinecap':_0x319dad(0x3ba),'strokeWidth':'1.2'})]}),_0x3c35b1==='front'&&(0x0,_0x57c25a[_0x319dad(0x1af)])(_0x57c25a['Fragment'],{'children':[(0x0,_0x57c25a[_0x319dad(0x32b)])(_0x319dad(0x2d3),{'d':_0x319dad(0x430),'stroke':'currentColor','strokeLinecap':'round','strokeWidth':_0x319dad(0x1f6)}),(0x0,_0x57c25a['jsx'])(_0x319dad(0x354),{'x':'7','y':_0x319dad(0x2b2),'width':'6','height':'9','rx':'1','fill':'currentColor'})]})]});}let _0x299863=_0x12cc8f=>_0x18ac6b=>(0x0,_0x57c25a[_0x54e2e6(0x32b)])(_0x2f6796,{..._0x18ac6b,'variant':_0x12cc8f}),_0x1adc8c={'DocsShapeWrapInlineIcon':_0x299863(_0x54e2e6(0x1d3)),'DocsShapeWrapSquareIcon':_0x299863(_0x54e2e6(0x14d)),'DocsShapeWrapTopBottomIcon':_0x299863('top-bottom'),'DocsShapeWrapBehindTextIcon':_0x299863(_0x54e2e6(0x287)),'DocsShapeWrapInFrontOfTextIcon':_0x299863(_0x54e2e6(0x445))},_0x5f1b69=(0x0,_0x31450[_0x54e2e6(0x24a)])(()=>{const _0x177dcc=_0x54e2e6;let _0x4d501b=(0x0,_0x7c4c2f['useDependency'])(_0x5c66c5),_0x36a5d7=(0x0,_0x7c4c2f[_0x177dcc(0x298)])(_0x156d72[_0x177dcc(0x333)]),_0x596cdd=(0x0,_0x7c4c2f[_0x177dcc(0x298)])(_0x509efb[_0x177dcc(0x178)]),_0x32dbdf=(0x0,_0x7c4c2f[_0x177dcc(0x298)])(_0x1f70ef[_0x177dcc(0x3ab)]),_0x372ac0=(0x0,_0x31450[_0x177dcc(0x208)])(()=>({'getShapeModel':(_0x749766,_0x16b9b6,_0x457068)=>_0x36a5d7[_0x177dcc(0x2b8)](_0x749766,_0x16b9b6,_0x457068),'getShapeData':(_0x3c26ae,_0xc68d6c,_0x1a4023)=>_0x36a5d7[_0x177dcc(0x17a)](_0x3c26ae,_0xc68d6c,_0x1a4023),'getDrawingTransform':(_0x3852ac,_0x1c0483,_0x62ac61)=>{const _0x2e0014=_0x177dcc;let _0x50f6d7=_0x596cdd['getDrawingByParam']({'unitId':_0x3852ac,'subUnitId':_0x1c0483,'drawingId':_0x62ac61});return _0x50f6d7==null?void 0x0:_0x50f6d7[_0x2e0014(0x24d)];},'updateShapeText':({unitId:_0x4eef16,shapeId:_0x2a2b7d,shapeText:_0x54c1e4,oldShapeText:_0x50d97a})=>{const _0x27eee5=_0x177dcc;_0x32dbdf[_0x27eee5(0x407)](_0x156d72['UpdateDocShapeDataCommand']['id'],{'unitId':_0x4eef16,'shapeId':_0x2a2b7d,'shapeData':{'shapeText':_0x54c1e4},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x50d97a}}});},'updateHostSize':({unitId:_0x4bc165,subUnitId:_0x15a5bb,shapeId:_0xabe9b3,width:_0x51a1c5,height:_0x5478fc})=>{const _0x362880=_0x177dcc;_0x32dbdf[_0x362880(0x407)](_0x535687[_0x362880(0x329)]['id'],{'unitId':_0x4bc165,'subUnitId':_0x15a5bb,'drawings':[{'drawingId':_0xabe9b3,'key':_0x362880(0x23d),'value':{'width':_0x51a1c5,'height':_0x5478fc}}]});},'allowHostSizeShrink':({unitId:_0x1dc23f,subUnitId:_0x476d75,shapeId:_0x3e1832})=>(0x0,_0x5ceb8e['shouldAllowShapeTextEditorHostSizeShrink'])(_0x36a5d7['getShapeDataById'](_0x1dc23f,_0x476d75,_0x3e1832))}),[_0x32dbdf,_0x36a5d7,_0x596cdd]),_0x4b33f0=(0x0,_0x31450[_0x177dcc(0x208)])(()=>({'viewportKeys':{'main':_0x5bdd19[_0x177dcc(0x14b)][_0x177dcc(0x45e)]}}),[]);return(0x0,_0x57c25a[_0x177dcc(0x32b)])(_0x5ceb8e[_0x177dcc(0x29c)],{'adapter':_0x372ac0,'editingService':_0x4d501b,'editorUnitId':_0x5247b4,'positionOptions':_0x4b33f0});}),_0x8f323=class extends _0x1f70ef[_0x54e2e6(0x20a)]{constructor(_0xd15b81,_0x4561a2){const _0x54f59c=_0x54e2e6;super(),this[_0x54f59c(0x468)]=_0xd15b81,this[_0x54f59c(0x336)]=_0x4561a2,this['_registerIcons'](),this[_0x54f59c(0x2ff)]();}[_0x54e2e6(0x191)](){const _0x501d6e=_0x54e2e6;this[_0x501d6e(0x336)][_0x501d6e(0x15f)](_0x501d6e(0x4a1))||this[_0x501d6e(0x3b5)](this[_0x501d6e(0x336)]['register']({'ObjectLayersIcon':_0x2d581e})),this[_0x501d6e(0x336)][_0x501d6e(0x15f)](_0x501d6e(0x2bb))||this[_0x501d6e(0x3b5)](this[_0x501d6e(0x336)][_0x501d6e(0x345)]({'BottomIcon':_0x27ad3d})),this['_iconManager'][_0x501d6e(0x15f)](_0x501d6e(0x3ac))||this[_0x501d6e(0x3b5)](this['_iconManager'][_0x501d6e(0x345)]({'MoveDownIcon':_0x1270de})),this[_0x501d6e(0x336)][_0x501d6e(0x15f)](_0x501d6e(0x159))||this['disposeWithMe'](this[_0x501d6e(0x336)][_0x501d6e(0x345)]({'MoveUpIcon':_0x56d01d})),this[_0x501d6e(0x336)][_0x501d6e(0x15f)]('ShapeFormatSettingIcon')||this[_0x501d6e(0x3b5)](this[_0x501d6e(0x336)][_0x501d6e(0x345)]({'ShapeFormatSettingIcon':_0x57d64a})),this['_iconManager'][_0x501d6e(0x15f)]('TopmostIcon')||this[_0x501d6e(0x3b5)](this[_0x501d6e(0x336)][_0x501d6e(0x345)]({'TopmostIcon':_0x304c7a})),this[_0x501d6e(0x3b5)](this[_0x501d6e(0x336)]['register'](_0x1adc8c));}['_registerComponents'](){const _0x2b99e7=_0x54e2e6;this['disposeWithMe'](this[_0x2b99e7(0x468)][_0x2b99e7(0x345)](_0x45c66c,_0x1b6b85)),this[_0x2b99e7(0x3b5)](this[_0x2b99e7(0x468)][_0x2b99e7(0x345)](_0x3e20a4,_0xe390f7)),this[_0x2b99e7(0x3b5)](this[_0x2b99e7(0x468)]['register'](_0x1b4f5e,_0x54dfa4)),this[_0x2b99e7(0x3b5)](this['_componentManager'][_0x2b99e7(0x345)](_0x11a36f,_0xbdc066)),this[_0x2b99e7(0x3b5)](this[_0x2b99e7(0x468)][_0x2b99e7(0x345)](_0x38ab15,_0x5a86e2)),this[_0x2b99e7(0x3b5)](this[_0x2b99e7(0x468)][_0x2b99e7(0x345)](_0x4327b8,_0x58fb9b)),this[_0x2b99e7(0x3b5)](this[_0x2b99e7(0x468)][_0x2b99e7(0x345)](_0x191cb1,_0x464b9a)),this[_0x2b99e7(0x3b5)](this[_0x2b99e7(0x468)]['register'](_0x2515e8,_0x5a5a75)),this[_0x2b99e7(0x3b5)](this[_0x2b99e7(0x468)][_0x2b99e7(0x345)](_0x148b7f,_0x5ceb8e['ShapeTextFloatToolbar'])),this['disposeWithMe'](this[_0x2b99e7(0x468)]['register'](_0x3234d1,_0x50dfbb)),this[_0x2b99e7(0x3b5)](this[_0x2b99e7(0x468)]['register'](_0x42bec7,_0x21e11d)),this[_0x2b99e7(0x468)][_0x2b99e7(0x49a)](_0x57c854[_0x2b99e7(0x231)])||this[_0x2b99e7(0x3b5)](this[_0x2b99e7(0x468)][_0x2b99e7(0x345)](_0x57c854[_0x2b99e7(0x231)],_0x280758)),this[_0x2b99e7(0x3b5)](this[_0x2b99e7(0x468)][_0x2b99e7(0x345)](_0x40116f,_0x5f1b69));}};_0x8f323=_0x105eeb([_0x1af634(0x0,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x7c4c2f[_0x54e2e6(0x1be)])),_0x1af634(0x1,(0x0,_0x1f70ef['Inject'])(_0x7c4c2f['IconManager']))],_0x8f323);let _0x5b678e=class extends _0x1f70ef[_0x54e2e6(0x20a)]{constructor(_0x2ea5d4,_0x1fed61,_0x32f126,_0xb7db94,_0x48466a,_0x136680,_0x34e81c,_0x1de923,_0xf4bdb8,_0x2f0f60,_0x65ceaa,_0x5ee661,_0x3ae4f4){const _0x5e3609=_0x54e2e6;super(),this[_0x5e3609(0x394)]=_0x2ea5d4,this[_0x5e3609(0x3b1)]=_0x1fed61,this['_menuManagerService']=_0x32f126,this[_0x5e3609(0x1b8)]=_0xb7db94,this['_localeService']=_0x48466a,this['_commandService']=_0x136680,this[_0x5e3609(0x353)]=_0x34e81c,this['_docCanvasPopManagerService']=_0x1de923,this[_0x5e3609(0x4a2)]=_0xf4bdb8,this[_0x5e3609(0x421)]=_0x2f0f60,this[_0x5e3609(0x495)]=_0x65ceaa,this[_0x5e3609(0x459)]=_0x5ee661,this[_0x5e3609(0x18d)]=_0x3ae4f4,_0x3d621e(this,_0x5e3609(0x183),null),_0x3d621e(this,'_activeShapeInfo',null),_0x3d621e(this,'_isOpenedShapeEditPanel',!0x1),_0x3d621e(this,_0x5e3609(0x4a3),0x0),_0x3d621e(this,'_disposePopupsByUnit',new Map()),_0x3d621e(this,_0x5e3609(0x3e1),new Map()),this[_0x5e3609(0x1c4)](),this[_0x5e3609(0x3b5)](this['_univerInstanceService'][_0x5e3609(0x145)](_0x1f70ef['UniverInstanceType'][_0x5e3609(0x1cc)])[_0x5e3609(0x169)](_0x42abd8=>{const _0xb7845a=_0x5e3609;if(!_0x42abd8){var _0x32b366;(_0x32b366=this['_sidebarDisposable'])==null||_0x32b366[_0xb7845a(0x267)]();}})),this[_0x5e3609(0x4ad)](),this['disposeWithMe'](this['_drawingManagerService']['remove$'][_0x5e3609(0x169)](_0x17025d=>{const _0x5df36a=_0x5e3609;for(let _0x40003f of _0x17025d){let _0x1f2738=_0x40003f[_0x5df36a(0x2a9)]+':'+_0x40003f[_0x5df36a(0x2bf)]+':'+_0x40003f['drawingId'];for(let [_0x2bfb90,_0x5d8b29]of this[_0x5df36a(0x3e1)])_0x5d8b29===_0x1f2738&&this['_clearPopups'](_0x2bfb90,!0x0);}})),this[_0x5e3609(0x3b5)]((0x0,_0x5ceb8e[_0x5e3609(0x16d)])(this['_renderManagerService'],_0x1f70ef[_0x5e3609(0x283)]['UNIVER_DOC'],_0x1dcc6a=>this['_popupMenuListener'](_0x1dcc6a))),this[_0x5e3609(0x3b5)](this['_shapeTextEditingService'][_0x5e3609(0x3bc)][_0x5e3609(0x169)](_0x4dc65c=>{const _0xeea973=_0x5e3609;_0x4dc65c&&this[_0xeea973(0x3f3)](void 0x0,!0x0);})),this[_0x5e3609(0x3b5)](this['_permissionService']['permissionPointUpdate$'][_0x5e3609(0x169)](()=>{const _0x5bb644=_0x5e3609;this[_0x5bb644(0x353)]['getFocusDrawings']()[_0x5bb644(0x305)](_0x551c49=>_0x551c49[_0x5bb644(0x4c9)]===_0x1f70ef['DrawingTypeEnum']['DRAWING_SHAPE']&&this['_univerInstanceService'][_0x5bb644(0x3ce)](_0x551c49[_0x5bb644(0x2a9)])===_0x1f70ef['UniverInstanceType'][_0x5bb644(0x1cc)]&&!this[_0x5bb644(0x206)](_0x551c49[_0x5bb644(0x2a9)],_0x551c49[_0x5bb644(0x2e7)]))&&(this[_0x5bb644(0x3f3)](void 0x0,!0x0),this[_0x5bb644(0x163)]());}));}[_0x54e2e6(0x47d)](_0x1f29f2,_0x4fd739,_0x27c6f3,_0x5d84){const _0xc0bb98=_0x54e2e6;return[{'label':_0xc0bb98(0x1fd),'index':0x0,'commandId':_0xf4b337['id'],'commandParams':{'unitId':_0x1f29f2,'subUnitId':_0x4fd739,'drawingId':_0x27c6f3},'disable':_0x5d84===_0x1f70ef[_0xc0bb98(0x470)][_0xc0bb98(0x3e3)]},{'label':_0xc0bb98(0x2c6),'index':0x1,'commandId':_0x535687[_0xc0bb98(0x3f0)]['id'],'commandParams':{'unitId':_0x1f29f2,'drawings':[{'unitId':_0x1f29f2,'subUnitId':_0x4fd739,'drawingId':_0x27c6f3}]},'disable':!0x1},{'label':'docs-shape-ui.hidePanel','index':0x2,'commandId':_0x388435['id'],'commandParams':{'unitId':_0x1f29f2,'subUnitId':_0x4fd739,'drawingId':_0x27c6f3},'disable':!0x1}];}[_0x54e2e6(0x1c4)](){this['_menuManagerService']['mergeMenu'](_0x31ed66);}[_0x54e2e6(0x22a)](_0x4f4b7a,_0x1b3136,_0x8eee7){const _0x1e4c7a=_0x54e2e6;let _0x197522=this[_0x1e4c7a(0x1b8)][_0x1e4c7a(0x187)](_0x4f4b7a,_0x1b3136,_0x8eee7),_0x5dd933=this['_docsShapeService'][_0x1e4c7a(0x17a)](_0x4f4b7a,_0x1b3136,_0x8eee7);return _0x197522===void 0x0||_0x5dd933===void 0x0?null:{'shapeData':_0x5dd933,'shapeId':_0x8eee7,'shapeType':_0x197522,'unitId':_0x4f4b7a,'subUnitId':_0x1b3136,'version':this['_shapeEditPanelVersion'],'disableShapeOption':!0x1};}['_clearPopups'](_0x36ba70,_0x5351e5=!0x1){const _0x461dde=_0x54e2e6;if(_0x36ba70==null){[...this[_0x461dde(0x4a5)]['keys']()][_0x461dde(0x16e)](_0x36c338=>this[_0x461dde(0x3f3)](_0x36c338,_0x5351e5));return;}let _0x50fe51=this[_0x461dde(0x4a5)]['get'](_0x36ba70);if(_0x50fe51){for(let _0x1b708d=_0x50fe51[_0x461dde(0x44b)]-0x1;_0x1b708d>=0x0;--_0x1b708d){let _0x12b862=_0x50fe51[_0x1b708d];(_0x5351e5||_0x12b862[_0x461dde(0x3bf)]())&&(_0x12b862[_0x461dde(0x267)](),_0x50fe51[_0x461dde(0x201)](_0x1b708d,0x1));}_0x50fe51['length']===0x0&&(this[_0x461dde(0x4a5)]['delete'](_0x36ba70),this[_0x461dde(0x3e1)][_0x461dde(0x493)](_0x36ba70));}}[_0x54e2e6(0x2b9)](_0x3f5229){const _0x22c5cb=_0x54e2e6;let _0x5ecb2f=this[_0x22c5cb(0x4a5)]['get'](_0x3f5229);if(_0x5ecb2f)return _0x5ecb2f;let _0x549211=[];return this[_0x22c5cb(0x4a5)][_0x22c5cb(0x21a)](_0x3f5229,_0x549211),_0x549211;}[_0x54e2e6(0x40c)](_0x46931d){const _0x1ffa8a=_0x54e2e6;var _0x3097d3;let _0x4892f2=new _0x1f70ef['DisposableCollection'](),_0x41864c=(_0x3097d3=this['_renderManagerService'][_0x1ffa8a(0x463)](_0x1f70ef[_0x1ffa8a(0x283)][_0x1ffa8a(0x1cc)])['find'](_0xb3e0fa=>_0xb3e0fa['scene'][_0x1ffa8a(0x3a9)]()===_0x46931d))==null?void 0x0:_0x3097d3['unitId'];return _0x41864c&&(_0x4892f2[_0x1ffa8a(0x3a6)](_0x46931d['createControl$'][_0x1ffa8a(0x169)](()=>this[_0x1ffa8a(0x266)](_0x46931d,_0x41864c))),_0x4892f2[_0x1ffa8a(0x3a6)](_0x46931d[_0x1ffa8a(0x323)][_0x1ffa8a(0x169)](()=>{const _0x1d05d2=_0x1ffa8a;this[_0x1d05d2(0x3f3)](_0x41864c),queueMicrotask(()=>{const _0x579bd3=_0x1d05d2;_0x46931d[_0x579bd3(0x452)]()['size']>0x0||!this[_0x579bd3(0x353)][_0x579bd3(0x34f)]()[_0x579bd3(0x305)](_0xc63be3=>_0xc63be3[_0x579bd3(0x2a9)]===_0x41864c)||(this['_contextService'][_0x579bd3(0x15b)](_0x1f70ef[_0x579bd3(0x4df)],!0x1),this['_drawingManagerService'][_0x579bd3(0x43a)](null));});})),_0x4892f2[_0x1ffa8a(0x3a6)](_0x46931d[_0x1ffa8a(0x4bd)]['subscribe'](()=>{const _0x3cf350=_0x1ffa8a;this[_0x3cf350(0x3f3)](_0x41864c,!0x0);}))),_0x4892f2;}[_0x54e2e6(0x266)](_0x5dc767,_0x2d4902){const _0x3052ab=_0x54e2e6;let _0x307c94=_0x5dc767['getSelectedObjectMap']();if(this[_0x3052ab(0x2f9)]){this[_0x3052ab(0x3f3)](_0x2d4902,!0x0);return;}if(_0x307c94[_0x3052ab(0x23d)]>0x1){this['_clearPopups'](_0x2d4902);return;}let _0x14eea3=_0x307c94['values']()['next']()[_0x3052ab(0x424)];if(!_0x14eea3){this[_0x3052ab(0x3f3)](_0x2d4902);return;}let _0x40efed=this[_0x3052ab(0x353)][_0x3052ab(0x393)](_0x14eea3['oKey']);if(!_0x40efed||_0x40efed[_0x3052ab(0x4c9)]!==_0x1f70ef['DrawingTypeEnum']['DRAWING_SHAPE']){this[_0x3052ab(0x3f3)](_0x2d4902);return;}let {unitId:_0x336546,subUnitId:_0x4e582f,drawingId:_0x35d11f}=_0x40efed;if(!this[_0x3052ab(0x206)](_0x336546,_0x35d11f)){this[_0x3052ab(0x3f3)](_0x2d4902,!0x0);return;}let _0x3d9a0e=this[_0x3052ab(0x22a)](_0x336546,_0x4e582f,_0x35d11f);if(!_0x3d9a0e){this[_0x3052ab(0x3f3)](_0x2d4902);return;}let _0x4c7b73=this['_disposePopupsByUnit']['get'](_0x2d4902),_0x3f52a7=_0x336546+':'+_0x4e582f+':'+_0x35d11f;if(this['_popupTargetKeys'][_0x3052ab(0x429)](_0x2d4902)===_0x3f52a7&&_0x4c7b73!=null&&_0x4c7b73[_0x3052ab(0x44b)])return;this[_0x3052ab(0x3f3)](_0x2d4902);let _0xd51ced=this['_renderManagerService'][_0x3052ab(0x2eb)](_0x336546),_0x3d0319=((_0xd51ced==null?void 0x0:_0xd51ced[_0x3052ab(0x1fe)])===!0x1?_0xd51ced['with'](_0x5bdd19[_0x3052ab(0x30d)]):this[_0x3052ab(0x226)])[_0x3052ab(0x1e4)](_0x14eea3,this['_getShapePopup'](_0x3d9a0e,()=>this[_0x3052ab(0x3f3)](_0x2d4902,!0x0)),_0x336546);this['disposeWithMe'](_0x3d0319),this[_0x3052ab(0x2b9)](_0x2d4902)['push'](_0x3d0319),this['_popupTargetKeys']['set'](_0x2d4902,_0x3f52a7),this[_0x3052ab(0x353)][_0x3052ab(0x34f)]()[_0x3052ab(0x305)](_0x1ba696=>_0x1ba696['unitId']===_0x336546&&_0x1ba696['subUnitId']===_0x4e582f&&_0x1ba696[_0x3052ab(0x2e7)]===_0x35d11f)||this[_0x3052ab(0x353)][_0x3052ab(0x43a)]([{'unitId':_0x336546,'subUnitId':_0x4e582f,'drawingId':_0x35d11f}]);}[_0x54e2e6(0x243)](_0x4d6ab7,_0x2f213a){const _0x379cd2=_0x54e2e6;let {unitId:_0xe218f1,subUnitId:_0x3d0eff,shapeId:_0x4090d3}=_0x4d6ab7,_0x2e4049={'hostType':_0x1f70ef[_0x379cd2(0x283)][_0x379cd2(0x1cc)],'unitId':_0xe218f1,'subUnitId':_0x3d0eff,'shapeId':_0x4090d3};return{'componentKey':_0x1b4f5e,'requiresStableLayout':!0x1,'direction':_0x379cd2(0x220),'offset':[0x0,0x8],'extraProps':{'shapeType':_0x4d6ab7['shapeType'],'onText':()=>{const _0x12050c=_0x379cd2;_0x2f213a(),this['_mobileEditorService'][_0x12050c(0x1b3)](_0x12050c(0x3e5),_0x2e4049);},'onStyle':()=>{const _0x358259=_0x379cd2;_0x2f213a(),this['_mobileEditorService'][_0x358259(0x1b3)](_0x358259(0x265),_0x2e4049);},'onDelete':()=>this[_0x379cd2(0x255)][_0x379cd2(0x407)](_0x535687[_0x379cd2(0x3f0)]['id'],{'unitId':_0xe218f1,'drawings':[{'unitId':_0xe218f1,'subUnitId':_0x3d0eff,'drawingId':_0x4090d3}]})}};}[_0x54e2e6(0x206)](_0x4844e6,_0x1275ad){const _0x332bcf=_0x54e2e6;let _0x1b1d60=this[_0x332bcf(0x394)]['getUnit'](_0x4844e6,_0x1f70ef[_0x332bcf(0x283)]['UNIVER_DOC']);if(!_0x1b1d60)return!0x1;let _0x287e41=(0x0,_0x5f20c1[_0x332bcf(0x347)])(_0x1b1d60,_0x1275ad);return(0x0,_0x5f20c1[_0x332bcf(0x25b)])(this[_0x332bcf(0x459)],_0x4844e6,[...(0x0,_0x5f20c1[_0x332bcf(0x1ac)])(_0x1b1d60,_0x287e41,_0x332bcf(0x1e5),_0x1275ad),(0x0,_0x5f20c1[_0x332bcf(0x1a4)])(_0x287e41,_0x332bcf(0x1e5),_0x1275ad)]);}[_0x54e2e6(0x4ad)](){const _0x317e9c=_0x54e2e6;this[_0x317e9c(0x3b5)](this[_0x317e9c(0x255)]['onCommandExecuted'](_0x3b151d=>{const _0x42fb98=_0x317e9c;if(_0x3b151d['id']===_0xf4b337['id']){let {unitId:_0x45f213,subUnitId:_0x167597,drawingId:_0x30e283}=_0x3b151d[_0x42fb98(0x48b)];this['_shapeEditPanelVersion']+=0x1,this[_0x42fb98(0x268)]=this[_0x42fb98(0x22a)](_0x45f213,_0x167597,_0x30e283),this['_clearPopups'](void 0x0,!0x0),this[_0x42fb98(0x23b)]();}if(_0x3b151d['id']===_0x388435['id']&&(this['_activeShapeInfo']=null,this['_closeShapeEditPanel']()),_0x3b151d['id']===_0x156d72[_0x42fb98(0x4b2)]['id']){var _0x27e8bc;let {unitId:_0x17d220,shapeId:_0x911347}=_0x3b151d[_0x42fb98(0x48b)];if(((_0x27e8bc=this[_0x42fb98(0x268)])==null?void 0x0:_0x27e8bc[_0x42fb98(0x4e2)])===_0x911347){let _0x5e7eb4=this[_0x42fb98(0x22a)](_0x17d220,this[_0x42fb98(0x268)][_0x42fb98(0x2bf)],_0x911347);_0x5e7eb4&&(this[_0x42fb98(0x4a3)]+=0x1,_0x5e7eb4['version']=this[_0x42fb98(0x4a3)],this[_0x42fb98(0x268)]=_0x5e7eb4,this[_0x42fb98(0x2f9)]&&this['_openShapeEditPanel']());}}})),this[_0x317e9c(0x3b5)](this[_0x317e9c(0x353)]['focus$'][_0x317e9c(0x169)](_0x59aba5=>{const _0x252669=_0x317e9c;if(!this[_0x252669(0x2f9)])return;if(_0x59aba5['length']===0x0){this['_activeShapeInfo']=null,this['_closeShapeEditPanel']();return;}if(_0x59aba5['length']===0x1&&_0x59aba5[0x0][_0x252669(0x4c9)]===_0x1f70ef['DrawingTypeEnum'][_0x252669(0x40b)]&&(this[_0x252669(0x4a3)]+=0x1,this[_0x252669(0x268)]=this['_getShapeInfo'](_0x59aba5[0x0][_0x252669(0x2a9)],_0x59aba5[0x0]['subUnitId'],_0x59aba5[0x0]['drawingId']),this[_0x252669(0x268)])){this[_0x252669(0x23b)]();return;}let _0x16e30d=_0x59aba5['filter'](_0x3ca897=>_0x3ca897[_0x252669(0x4c9)]===_0x1f70ef[_0x252669(0x470)][_0x252669(0x40b)]);this[_0x252669(0x4a3)]+=0x1,this[_0x252669(0x268)]=this[_0x252669(0x22a)](_0x59aba5[0x0][_0x252669(0x2a9)],_0x59aba5[0x0][_0x252669(0x2bf)],_0x59aba5[0x0][_0x252669(0x2e7)]),this['_activeShapeInfo']&&_0x59aba5[_0x252669(0x44b)]>0x1&&_0x16e30d['length']===_0x59aba5[_0x252669(0x44b)]?this[_0x252669(0x23b)]():this[_0x252669(0x268)]&&_0x16e30d['length']!==_0x59aba5[_0x252669(0x44b)]?(this[_0x252669(0x268)]['disableShapeOption']=!0x0,this['_openShapeEditPanel']()):this[_0x252669(0x163)]();}));}[_0x54e2e6(0x23b)](){const _0x5d1758=_0x54e2e6;this[_0x5d1758(0x268)]&&(this[_0x5d1758(0x183)]=this[_0x5d1758(0x3b1)]['open']({'id':_0x45c66c,'header':{'title':this[_0x5d1758(0x438)]['t'](_0x5d1758(0x419))},'width':0x184,'children':{'label':_0x45c66c,...this[_0x5d1758(0x268)]},'onClose':()=>{const _0x426ce2=_0x5d1758;this[_0x426ce2(0x353)][_0x426ce2(0x43a)](null),this['_contextService'][_0x426ce2(0x15b)](_0x1f70ef['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x426ce2(0x183)]=null;}}),this[_0x5d1758(0x2f9)]=!0x0);}[_0x54e2e6(0x163)](){const _0x4c8489=_0x54e2e6;this['_isOpenedShapeEditPanel']=!0x1,this[_0x4c8489(0x3b1)][_0x4c8489(0x4d5)](_0x45c66c),this[_0x4c8489(0x183)]=null,this[_0x4c8489(0x421)][_0x4c8489(0x15b)](_0x1f70ef[_0x4c8489(0x4df)],!0x1),this[_0x4c8489(0x353)]['focusDrawing'](null);}};_0x5b678e=_0x105eeb([_0x1af634(0x0,_0x1f70ef[_0x54e2e6(0x3bb)]),_0x1af634(0x1,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x7c4c2f[_0x54e2e6(0x391)])),_0x1af634(0x2,_0x7c4c2f[_0x54e2e6(0x3b3)]),_0x1af634(0x3,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x156d72[_0x54e2e6(0x333)])),_0x1af634(0x4,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x1f70ef[_0x54e2e6(0x15c)])),_0x1af634(0x5,_0x1f70ef[_0x54e2e6(0x3ab)]),_0x1af634(0x6,_0x509efb[_0x54e2e6(0x178)]),_0x1af634(0x7,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5bdd19[_0x54e2e6(0x30d)])),_0x1af634(0x8,_0x35408c[_0x54e2e6(0x2b5)]),_0x1af634(0x9,_0x1f70ef['IContextService']),_0x1af634(0xa,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5c66c5)),_0x1af634(0xb,_0x1f70ef[_0x54e2e6(0x405)]),_0x1af634(0xc,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5ceb8e[_0x54e2e6(0x4ac)]))],_0x5b678e);let _0x4153d9=_0x54e2e6(0x3e7),_0x1d5680=class extends _0x1f70ef[_0x54e2e6(0x20a)]{constructor(_0x451c68,_0x820e60,_0x30d354,_0x4d68d1,_0x5c9310,_0x15031b){const _0x156668=_0x54e2e6;super(),this[_0x156668(0x42f)]=_0x451c68,this[_0x156668(0x193)]=_0x820e60,this['_drawingManagerService']=_0x30d354,this[_0x156668(0x394)]=_0x4d68d1,this[_0x156668(0x4a2)]=_0x5c9310,this['_shapeFloatingToolbarService']=_0x15031b,_0x3d621e(this,_0x156668(0x271),!0x1),this['_menuManagerService'][_0x156668(0x4ca)](_0x17a580),this[_0x156668(0x3b5)]((0x0,_0x1f70ef['toDisposable'])(this[_0x156668(0x353)][_0x156668(0x48f)]['subscribe'](()=>this[_0x156668(0x21e)]()))),this[_0x156668(0x21e)]();}[_0x54e2e6(0x267)](){const _0x4fdc10=_0x54e2e6;this[_0x4fdc10(0x15d)][_0x4fdc10(0x162)](!0x1,_0x4153d9),this[_0x4fdc10(0x246)](),super[_0x4fdc10(0x267)]();}[_0x54e2e6(0x21e)](){const _0x2a22a5=_0x54e2e6;var _0x5d33af;let _0x4bd264=this[_0x2a22a5(0x353)]['getFocusDrawings'](),_0x292c4e=_0x4bd264[_0x2a22a5(0x44b)]===0x1?_0x4bd264[0x0]:void 0x0;if((_0x292c4e==null?void 0x0:_0x292c4e[_0x2a22a5(0x4c9)])!==_0x1f70ef[_0x2a22a5(0x470)][_0x2a22a5(0x40b)]||this['_univerInstanceService'][_0x2a22a5(0x3ce)](_0x292c4e['unitId'])!==_0x1f70ef['UniverInstanceType'][_0x2a22a5(0x1cc)]){this[_0x2a22a5(0x15d)]['setFallbackVisible'](!0x1,_0x4153d9),this[_0x2a22a5(0x246)]();return;}let _0x214171=(_0x5d33af=this['_renderManagerService']['getRenderUnitById'](_0x292c4e[_0x2a22a5(0x2a9)]))==null?void 0x0:_0x5d33af[_0x2a22a5(0x2d9)][_0x2a22a5(0x2fd)](),_0x2a2cf7=(0x0,_0x5ceb8e[_0x2a22a5(0x435)])(_0x214171)===_0x2a22a5(0x2a5);this[_0x2a22a5(0x15d)]['setFallbackVisible'](_0x2a2cf7,_0x4153d9),_0x2a2cf7?this[_0x2a22a5(0x246)]():(this[_0x2a22a5(0x271)]=!0x0,this[_0x2a22a5(0x193)][_0x2a22a5(0x1a0)](_0x150b38,{'activate':!0x0}));}['_hide'](){const _0x303995=_0x54e2e6;this[_0x303995(0x271)]&&(this['_visible']=!0x1,this[_0x303995(0x193)][_0x303995(0x14e)](_0x150b38),this['_ribbonService'][_0x303995(0x3ed)]([]));}};_0x1d5680=_0x105eeb([_0x1af634(0x0,_0x7c4c2f['IMenuManagerService']),_0x1af634(0x1,_0x7c4c2f[_0x54e2e6(0x218)]),_0x1af634(0x2,_0x509efb[_0x54e2e6(0x178)]),_0x1af634(0x3,_0x1f70ef[_0x54e2e6(0x3bb)]),_0x1af634(0x4,_0x35408c[_0x54e2e6(0x2b5)]),_0x1af634(0x5,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5ceb8e['ShapeFloatingToolbarService']))],_0x1d5680);let _0x3bd484=class extends _0x1f70ef[_0x54e2e6(0x20a)]{constructor(_0x208f62,_0x3e6d62,_0x4d9e69,_0x141e6e){const _0x59b105=_0x54e2e6;super(),this['_commandService']=_0x208f62,this[_0x59b105(0x4a2)]=_0x3e6d62,this['_drawingManagerService']=_0x4d9e69,this[_0x59b105(0x1da)]=_0x141e6e,this[_0x59b105(0x212)]();}[_0x54e2e6(0x212)](){const _0x45a5bc=_0x54e2e6;this['disposeWithMe'](this['_drawingManagerService']['add$'][_0x45a5bc(0x169)](_0x3e9abe=>this['_insertShapes'](_0x3e9abe))),this[_0x45a5bc(0x3b5)](this['_drawingManagerService'][_0x45a5bc(0x148)][_0x45a5bc(0x169)](_0x345d9f=>{const _0x3337fc=_0x45a5bc;_0x345d9f['forEach'](_0x5c1be5=>this[_0x3337fc(0x20b)](_0x5c1be5));})),this[_0x45a5bc(0x3b5)](this[_0x45a5bc(0x255)][_0x45a5bc(0x326)](_0x5ced4e=>{const _0x399ef2=_0x45a5bc;if(_0x5ced4e['id']!==_0x156d72[_0x399ef2(0x4b2)]['id'])return;let {unitId:_0x7dc215,shapeId:_0x40a722}=_0x5ced4e[_0x399ef2(0x48b)];this['_refreshShapeData']({'unitId':_0x7dc215,'subUnitId':_0x7dc215,'drawingId':_0x40a722});}));}[_0x54e2e6(0x23e)](_0x2dc27a){const _0x409401=_0x54e2e6;_0x2dc27a[_0x409401(0x16e)](_0x381658=>{const _0x217ec7=_0x409401;let _0x106c7c=this[_0x217ec7(0x3d7)](_0x381658['unitId']);if(!_0x106c7c)return;let _0x342a64=this[_0x217ec7(0x353)][_0x217ec7(0x2dd)](_0x381658);(_0x342a64==null?void 0x0:_0x342a64['drawingType'])===_0x1f70ef[_0x217ec7(0x470)][_0x217ec7(0x40b)]&&this['_docDrawingShapeRenderController']['renderDrawingShape'](_0x342a64,_0x106c7c[_0x217ec7(0x2ba)]);});}['_updateShape'](_0x1fe45d){const _0x272a44=_0x54e2e6;let _0x3c1b22=this[_0x272a44(0x353)]['getDrawingByParam'](_0x1fe45d);if((_0x3c1b22==null?void 0x0:_0x3c1b22[_0x272a44(0x4c9)])!==_0x1f70ef[_0x272a44(0x470)]['DRAWING_SHAPE'])return;let _0x472851=this[_0x272a44(0x3d7)](_0x1fe45d[_0x272a44(0x2a9)]);if(!_0x472851||_0x3c1b22['transform']==null)return;let _0x1c5b78=(0x0,_0x509efb[_0x272a44(0x3c2)])(_0x1fe45d),_0x1bcfab=_0x472851['scene'][_0x272a44(0x3b9)](_0x1c5b78);_0x1bcfab&&(_0x1bcfab[_0x272a44(0x150)](_0x3c1b22[_0x272a44(0x464)]),_0x1bcfab[_0x272a44(0x1fb)](_0x3c1b22[_0x272a44(0x1bd)]),_0x1bcfab[_0x272a44(0x1df)](!0x0));}['_refreshShapeData'](_0x47f726){const _0x3e8ce5=_0x54e2e6;let _0x5cca62=this[_0x3e8ce5(0x3d7)](_0x47f726[_0x3e8ce5(0x2a9)]);if(!_0x5cca62)return;let _0x2f0cca=(0x0,_0x509efb['getDrawingShapeKeyByDrawingSearch'])(_0x47f726),_0x38789f=_0x5cca62[_0x3e8ce5(0x2ba)][_0x3e8ce5(0x3b9)](_0x2f0cca);_0x38789f&&(this[_0x3e8ce5(0x1da)]['refreshShapeFillImage'](_0x38789f),this['_docDrawingShapeRenderController'][_0x3e8ce5(0x293)](_0x38789f,{'unitId':_0x47f726[_0x3e8ce5(0x2a9)],'subUnitId':_0x47f726[_0x3e8ce5(0x2bf)],'shapeId':_0x47f726[_0x3e8ce5(0x2e7)]}),_0x38789f[_0x3e8ce5(0x1df)](!0x0));}[_0x54e2e6(0x3d7)](_0x4e5b51){const _0x1a27e5=_0x54e2e6;if(_0x4e5b51==null)return null;let _0x255658=this[_0x1a27e5(0x4a2)][_0x1a27e5(0x2eb)](_0x4e5b51),_0x11fb94=_0x255658==null?void 0x0:_0x255658[_0x1a27e5(0x2ba)];return _0x11fb94==null?null:{'scene':_0x11fb94};}};_0x3bd484=_0x105eeb([_0x1af634(0x0,_0x1f70ef[_0x54e2e6(0x3ab)]),_0x1af634(0x1,_0x35408c[_0x54e2e6(0x2b5)]),_0x1af634(0x2,_0x509efb[_0x54e2e6(0x178)]),_0x1af634(0x3,(0x0,_0x1f70ef['Inject'])(_0x54ec0f))],_0x3bd484);let _0x216984=class extends _0x1f70ef['Plugin']{constructor(_0x5ee20c=_0x5a00d5,_0x4a9d1e,_0xe725c2,_0x4fb7cc,_0x4de471){const _0xb85371=_0x54e2e6;super(),this[_0xb85371(0x44d)]=_0x5ee20c,this[_0xb85371(0x38a)]=_0x4a9d1e,this[_0xb85371(0x255)]=_0xe725c2,this[_0xb85371(0x2c4)]=_0x4fb7cc,this[_0xb85371(0x4a2)]=_0x4de471;let {menu:_0x45ead4,..._0x9f4a1a}=(0x0,_0x1f70ef['merge'])({},_0x5a00d5,this[_0xb85371(0x44d)]);_0x45ead4&&this[_0xb85371(0x2c4)][_0xb85371(0x2d6)](_0xb85371(0x43e),_0x45ead4,{'merge':!0x0}),this[_0xb85371(0x2c4)][_0xb85371(0x2d6)](_0x13b595,_0x9f4a1a),[_0x2567e4,_0x388435,_0xf4b337,_0x27bc22,_0x23b4a0,_0x8614a3][_0xb85371(0x16e)](_0x574839=>this[_0xb85371(0x3b5)](this[_0xb85371(0x255)]['registerCommand'](_0x574839)));}['onStarting'](){const _0x3408c4=_0x54e2e6;let _0x44114c=[[_0x8f323],[_0x5b678e],[_0x3bd484],[_0x54ec0f],[_0x56e0bb],[_0x548036],[_0xb8d91],[_0x1dc3be],[_0x5c66c5],[_0x1d5680]];(0x0,_0x1f70ef[_0x3408c4(0x47a)])(this[_0x3408c4(0x38a)],_0x44114c),this[_0x3408c4(0x38a)]['get'](_0x8f323);}[_0x54e2e6(0x2a7)](){const _0x599a12=_0x54e2e6;this['disposeWithMe'](this['_renderManagerService'][_0x599a12(0x3ae)](_0x1f70ef['UniverInstanceType'][_0x599a12(0x1cc)],[_0x548036])),(0x0,_0x1f70ef[_0x599a12(0x38c)])(this['_injector'],[[_0x5b678e],[_0x3bd484],[_0x54ec0f],[_0x56e0bb],[_0xb8d91],[_0x1dc3be],[_0x5c66c5],[_0x1d5680]]);}};_0x3d621e(_0x216984,'type',_0x1f70ef[_0x54e2e6(0x283)][_0x54e2e6(0x1cc)]),_0x3d621e(_0x216984,_0x54e2e6(0x2da),'DOCS_SHAPE_UI_PLUGIN'),_0x3d621e(_0x216984,_0x54e2e6(0x479),_0x48c514),_0x3d621e(_0x216984,_0x54e2e6(0x478),_0x52174e),_0x216984=_0x105eeb([(0x0,_0x1f70ef['DependentOn'])(_0xab2065[_0x54e2e6(0x49b)],_0x5f20c1['UniverDocsPlugin'],_0x509efb[_0x54e2e6(0x261)],_0x57c854[_0x54e2e6(0x39d)],_0x35408c[_0x54e2e6(0x1c7)],_0x5bdd19[_0x54e2e6(0x278)],_0x339478[_0x54e2e6(0x4a0)],_0x23d22e['UniverDocsDrawingMobileUIPlugin'],_0x156d72['UniverDocsShapePlugin'],_0x5ceb8e[_0x54e2e6(0x42b)]),_0x1af634(0x1,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x1f70ef[_0x54e2e6(0x1ef)])),_0x1af634(0x2,_0x1f70ef['ICommandService']),_0x1af634(0x3,_0x1f70ef['IConfigService']),_0x1af634(0x4,_0x35408c[_0x54e2e6(0x2b5)])],_0x216984);let _0x16254b=class extends _0x1f70ef['Disposable']{constructor(_0x155c63,_0x2fbbab){const _0xb47ab6=_0x54e2e6;super(),this[_0xb47ab6(0x468)]=_0x155c63,this[_0xb47ab6(0x336)]=_0x2fbbab,this[_0xb47ab6(0x191)](),this[_0xb47ab6(0x2ff)]();}[_0x54e2e6(0x191)](){const _0x1055d4=_0x54e2e6;this[_0x1055d4(0x336)][_0x1055d4(0x15f)](_0x1055d4(0x4a1))||this[_0x1055d4(0x3b5)](this[_0x1055d4(0x336)][_0x1055d4(0x345)]({'ObjectLayersIcon':_0x2d581e})),this['_iconManager'][_0x1055d4(0x15f)](_0x1055d4(0x2bb))||this[_0x1055d4(0x3b5)](this['_iconManager']['register']({'BottomIcon':_0x27ad3d})),this['_iconManager']['has']('MoveDownIcon')||this[_0x1055d4(0x3b5)](this[_0x1055d4(0x336)][_0x1055d4(0x345)]({'MoveDownIcon':_0x1270de})),this[_0x1055d4(0x336)]['has'](_0x1055d4(0x159))||this[_0x1055d4(0x3b5)](this[_0x1055d4(0x336)][_0x1055d4(0x345)]({'MoveUpIcon':_0x56d01d})),this[_0x1055d4(0x336)][_0x1055d4(0x15f)]('ShapeFormatSettingIcon')||this[_0x1055d4(0x3b5)](this['_iconManager'][_0x1055d4(0x345)]({'ShapeFormatSettingIcon':_0x57d64a})),this[_0x1055d4(0x336)][_0x1055d4(0x15f)](_0x1055d4(0x3d4))||this[_0x1055d4(0x3b5)](this[_0x1055d4(0x336)][_0x1055d4(0x345)]({'TopmostIcon':_0x304c7a})),this['disposeWithMe'](this[_0x1055d4(0x336)][_0x1055d4(0x345)](_0x1adc8c));}[_0x54e2e6(0x2ff)](){const _0x1194a5=_0x54e2e6;this['disposeWithMe'](this['_componentManager'][_0x1194a5(0x345)](_0x45c66c,_0x2ad012)),this[_0x1194a5(0x3b5)](this[_0x1194a5(0x468)][_0x1194a5(0x345)](_0x3e20a4,_0x6a8656)),this[_0x1194a5(0x3b5)](this[_0x1194a5(0x468)][_0x1194a5(0x345)](_0x1b4f5e,_0x33a116)),this[_0x1194a5(0x3b5)](this[_0x1194a5(0x468)][_0x1194a5(0x345)](_0x11a36f,_0xbdc066)),this[_0x1194a5(0x3b5)](this['_componentManager']['register'](_0x38ab15,_0x5a86e2)),this[_0x1194a5(0x3b5)](this[_0x1194a5(0x468)][_0x1194a5(0x345)](_0x4327b8,_0x58fb9b)),this[_0x1194a5(0x3b5)](this[_0x1194a5(0x468)][_0x1194a5(0x345)](_0x191cb1,_0x464b9a)),this[_0x1194a5(0x3b5)](this[_0x1194a5(0x468)][_0x1194a5(0x345)](_0x2515e8,_0x5a5a75)),this[_0x1194a5(0x3b5)](this[_0x1194a5(0x468)][_0x1194a5(0x345)](_0x148b7f,_0x5ceb8e[_0x1194a5(0x1cf)])),this[_0x1194a5(0x3b5)](this[_0x1194a5(0x468)][_0x1194a5(0x345)](_0x3234d1,_0x13878f)),this['disposeWithMe'](this[_0x1194a5(0x468)][_0x1194a5(0x345)](_0x42bec7,_0x13d12e)),this[_0x1194a5(0x468)][_0x1194a5(0x49a)](_0x57c854[_0x1194a5(0x231)])||this[_0x1194a5(0x3b5)](this[_0x1194a5(0x468)][_0x1194a5(0x345)](_0x57c854[_0x1194a5(0x231)],_0x280758)),this[_0x1194a5(0x3b5)](this[_0x1194a5(0x468)][_0x1194a5(0x345)](_0x40116f,_0x5f1b69));}};_0x16254b=_0x105eeb([_0x1af634(0x0,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x7c4c2f[_0x54e2e6(0x1be)])),_0x1af634(0x1,(0x0,_0x1f70ef['Inject'])(_0x7c4c2f[_0x54e2e6(0x4d9)]))],_0x16254b);let _0xba4cff=class extends _0x1f70ef[_0x54e2e6(0x20a)]{constructor(_0x199ca4,_0x5db000,_0x122d4e,_0x5ec4c7,_0x7e8595,_0x393ba6,_0x32787c,_0x8fa86a,_0xa0dd5d){const _0xc6bb96=_0x54e2e6;super();let _0x53cea6=_0x43da01=>{const _0x19aff5=_0x1cb9;let _0x26f11b=_0x393ba6[_0x19aff5(0x46f)](_0x43da01['unitId'],_0x1f70ef[_0x19aff5(0x283)][_0x19aff5(0x1cc)]),_0x3b742c=_0x26f11b?(0x0,_0x5f20c1[_0x19aff5(0x347)])(_0x26f11b,_0x43da01[_0x19aff5(0x4e2)]):'';return!!_0x26f11b&&(0x0,_0x5f20c1[_0x19aff5(0x25b)])(_0x8fa86a,_0x43da01[_0x19aff5(0x2a9)],[(0x0,_0x5f20c1[_0x19aff5(0x1a4)])(_0x3b742c,_0x19aff5(0x1e5),_0x43da01[_0x19aff5(0x4e2)]),...(0x0,_0x5f20c1['getDocumentEntityParentPermissionObjectIds'])(_0x26f11b,_0x3b742c,_0x19aff5(0x1e5),_0x43da01[_0x19aff5(0x4e2)])]);},_0x6d3ff5=_0x2c8688=>_0x2c8688[_0xc6bb96(0x4e2)]&&_0x53cea6(_0x2c8688)?_0x122d4e[_0xc6bb96(0x17a)](_0x2c8688[_0xc6bb96(0x2a9)],_0x2c8688['shapeId'])??null:null,_0x2bec6a=()=>{const _0x9e19b1=_0xc6bb96;let _0x55f60c=_0x7e8595[_0x9e19b1(0x34f)](),_0xbd672b=_0x55f60c[_0x9e19b1(0x44b)]===0x1?_0x55f60c[0x0]:null;return(_0xbd672b==null?void 0x0:_0xbd672b[_0x9e19b1(0x4c9)])===_0x1f70ef[_0x9e19b1(0x470)][_0x9e19b1(0x40b)]&&_0xbd672b[_0x9e19b1(0x2a9)]===_0x199ca4[_0x9e19b1(0x2a9)]?{'unitId':_0xbd672b[_0x9e19b1(0x2a9)],'subUnitId':_0xbd672b[_0x9e19b1(0x2bf)],'shapeId':_0xbd672b[_0x9e19b1(0x2e7)]}:null;};this[_0xc6bb96(0x3b5)]((0x0,_0x5ceb8e[_0xc6bb96(0x308)])(_0x199ca4,_0x5db000,{'changes$':(0x0,_0x3781f8[_0xc6bb96(0x315)])(_0x7e8595[_0xc6bb96(0x48f)],_0x5ec4c7[_0xc6bb96(0x3bc)],_0x8fa86a[_0xc6bb96(0x4bc)]),'isActive':()=>{const _0x5f1b59=_0xc6bb96;var _0x42ea8f;return((_0x42ea8f=_0x393ba6['getFocusedUnit']())==null?void 0x0:_0x42ea8f[_0x5f1b59(0x454)]())===_0x199ca4[_0x5f1b59(0x2a9)]&&!_0x32787c[_0x5f1b59(0x1d1)](_0x1f70ef['FOCUSING_SHAPE_TEXT_EDITOR'])&&_0x7e8595[_0x5f1b59(0x34f)]()['some'](_0x47d81a=>_0x47d81a[_0x5f1b59(0x2a9)]===_0x199ca4[_0x5f1b59(0x2a9)]);},'getSelectedTarget':_0x2bec6a,'getSource':()=>{let _0x8def35=_0x2bec6a();return _0x8def35?_0x6d3ff5(_0x8def35):null;},'getTarget':_0x2867c0=>{const _0x538af9=_0xc6bb96;let _0x3dd3e1=_0x199ca4[_0x538af9(0x2ba)][_0x538af9(0x4db)](new _0x35408c['Vector2'](_0x2867c0[_0x538af9(0x1d5)],_0x2867c0[_0x538af9(0x24c)]));if(!(_0x3dd3e1 instanceof _0x418197))return null;let _0xe18795={'unitId':_0x199ca4['unitId'],'subUnitId':_0x199ca4[_0x538af9(0x2a9)],'shapeId':_0x3dd3e1[_0x538af9(0x4e2)]};return _0x53cea6(_0xe18795)?_0xe18795:null;},'getShape':_0x6d3ff5,'update':(_0x277620,_0x189470,_0x2f82f4)=>_0xa0dd5d[_0xc6bb96(0x407)](_0x156d72[_0xc6bb96(0x3a1)]['id'],{..._0x277620,'shapeData':_0x2f82f4,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x189470}})}));}};_0xba4cff=_0x105eeb([_0x1af634(0x1,(0x0,_0x1f70ef['Inject'])(_0x7c4c2f[_0x54e2e6(0x4d6)])),_0x1af634(0x2,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x156d72['DocsShapeService'])),_0x1af634(0x3,(0x0,_0x1f70ef['Inject'])(_0x5c66c5)),_0x1af634(0x4,_0x509efb['IDrawingManagerService']),_0x1af634(0x5,_0x1f70ef[_0x54e2e6(0x3bb)]),_0x1af634(0x6,_0x1f70ef[_0x54e2e6(0x367)]),_0x1af634(0x7,_0x1f70ef['IPermissionService']),_0x1af634(0x8,_0x1f70ef[_0x54e2e6(0x3ab)])],_0xba4cff);function _0x267f02(_0xdf7f01,_0x4bdc30){const _0x15d583=_0x54e2e6;let _0x4d560d=_0xdf7f01;for(;_0x4d560d;){if(_0x4bdc30(_0x4d560d))return _0x4d560d;_0x4d560d=typeof _0x4d560d['getParent']==_0x15d583(0x469)?_0x4d560d[_0x15d583(0x1d4)]():null;}return null;}function _0x198df4(_0x5cced0){return _0x267f02(_0x5cced0,_0x24fc5b=>_0x24fc5b instanceof _0x418197);}function _0x12b4d7(_0x4ce7da){return(_0x4ce7da==null?void 0x0:_0x4ce7da['formulaBinding'])==null;}let _0x242997=class extends _0x1f70ef[_0x54e2e6(0x20a)]{constructor(_0x5d76ce,_0x3153a6,_0x54043b,_0x2752fc,_0x345e88){const _0x398286=_0x54e2e6;super(),this['_context']=_0x5d76ce,this[_0x398286(0x495)]=_0x3153a6,this['_drawingManagerService']=_0x54043b,this[_0x398286(0x31d)]=_0x2752fc,this['_docsShapeService']=_0x345e88,_0x3d621e(this,_0x398286(0x340),null),_0x3d621e(this,'_layoutInteraction',null),this[_0x398286(0x371)](),this[_0x398286(0x20c)](),this[_0x398286(0x4bf)]();}[_0x54e2e6(0x267)](){this['_endLayoutInteraction'](),super['dispose']();}['_initEvents'](){const _0x1b0ee6=_0x54e2e6;let {scene:_0x33a3f0}=this[_0x1b0ee6(0x4c2)];this[_0x1b0ee6(0x3b5)](_0x33a3f0[_0x1b0ee6(0x21c)]['subscribeEvent']((_0x21f2e9,_0x585da5)=>{const _0x43e873=_0x1b0ee6;let {offsetX:_0x2b8e9,offsetY:_0x888889}=_0x21f2e9,_0x1f3997=_0x35408c['Vector2'][_0x43e873(0x306)]([_0x2b8e9,_0x888889]),_0x28ad4a=_0x198df4(_0x33a3f0[_0x43e873(0x4db)](_0x1f3997))??this[_0x43e873(0x2e9)](_0x1f3997);if(_0x28ad4a){_0x585da5[_0x43e873(0x33e)]();let _0x20f13b=this[_0x43e873(0x1b8)][_0x43e873(0x2b8)](_0x28ad4a[_0x43e873(0x2a9)],_0x28ad4a[_0x43e873(0x2bf)],_0x28ad4a[_0x43e873(0x4e2)]);if(!_0x20f13b||(0x0,_0x11cfc4[_0x43e873(0x286)])(_0x20f13b[_0x43e873(0x46b)]())||!_0x12b4d7(_0x20f13b[_0x43e873(0x4d2)]()))return;this[_0x43e873(0x495)]['setEditing']({'visible':!0x0,'unitId':_0x28ad4a[_0x43e873(0x2a9)],'subUnitId':_0x28ad4a['subUnitId'],'shapeId':_0x28ad4a['shapeId'],'shapeKey':_0x28ad4a[_0x43e873(0x47c)]});}}));}[_0x54e2e6(0x2e9)](_0x5462c5){const _0x3bccfd=_0x54e2e6;let {scene:_0x36e764}=this[_0x3bccfd(0x4c2)];return this['_drawingManagerService'][_0x3bccfd(0x34f)]()[_0x3bccfd(0x4ba)](_0x1eeb41=>_0x36e764['getObjectIncludeInGroup']((0x0,_0x509efb[_0x3bccfd(0x3c2)])(_0x1eeb41)))['find'](_0x53ec9a=>_0x53ec9a instanceof _0x418197&&_0x53ec9a[_0x3bccfd(0x3bd)](_0x5462c5))??null;}[_0x54e2e6(0x20c)](){const _0x1e4c83=_0x54e2e6;this[_0x1e4c83(0x3b5)](this[_0x1e4c83(0x353)][_0x1e4c83(0x48f)][_0x1e4c83(0x169)](_0x37f5dd=>{const _0x29d95a=_0x1e4c83;if(_0x37f5dd[_0x29d95a(0x44b)]===0x1){let _0x51e38c=_0x37f5dd[0x0],_0x441aad=this[_0x29d95a(0x353)][_0x29d95a(0x2dd)](_0x51e38c);if((_0x441aad==null?void 0x0:_0x441aad[_0x29d95a(0x4c9)])===_0x1f70ef['DrawingTypeEnum'][_0x29d95a(0x40b)]){let _0x65def6=this['_shapeTextEditingService'][_0x29d95a(0x203)]();if((_0x65def6==null?void 0x0:_0x65def6[_0x29d95a(0x4e2)])===_0x51e38c[_0x29d95a(0x2e7)]&&_0x65def6[_0x29d95a(0x3c8)])return;(0x0,_0x11cfc4['isConnectorShape'])(this[_0x29d95a(0x1b8)][_0x29d95a(0x46b)](_0x51e38c['unitId'],_0x51e38c[_0x29d95a(0x2bf)],_0x51e38c[_0x29d95a(0x2e7)]))&&this[_0x29d95a(0x495)][_0x29d95a(0x174)](null);}else this[_0x29d95a(0x495)]['completeEditing']();}else this[_0x29d95a(0x495)][_0x29d95a(0x30a)]();})),this[_0x1e4c83(0x3b5)](this[_0x1e4c83(0x353)][_0x1e4c83(0x152)]['subscribe'](_0x42cb82=>{const _0x3c8261=_0x1e4c83;let _0x32a456=this[_0x3c8261(0x495)]['getEditing']();_0x32a456&&_0x42cb82[_0x3c8261(0x305)](_0x50be68=>_0x50be68[_0x3c8261(0x2e7)]===_0x32a456['shapeId'])&&this[_0x3c8261(0x495)]['setEditing'](null);}));}[_0x54e2e6(0x4bf)](){const _0x1a7f58=_0x54e2e6;this[_0x1a7f58(0x3b5)](this['_shapeTextEditingService'][_0x1a7f58(0x3bc)][_0x1a7f58(0x169)](_0x12e318=>{const _0x1e90df=_0x1a7f58;(_0x12e318==null?void 0x0:_0x12e318['visible'])===!0x0&&_0x12e318[_0x1e90df(0x2a9)]===this[_0x1e90df(0x4c2)][_0x1e90df(0x2a9)]?this[_0x1e90df(0x458)]??=this[_0x1e90df(0x31d)][_0x1e90df(0x18f)]():this[_0x1e90df(0x45d)]();let {scene:_0x249768}=this['_context'];if(this['_lastEditingShapeKey']){let _0x3ddf8a=_0x249768[_0x1e90df(0x3b9)](this[_0x1e90df(0x340)]);_0x3ddf8a&&_0x3ddf8a[_0x1e90df(0x174)](!0x1);}if(_0x12e318){let _0x4e74de=!!_0x12e318['visible'],_0x557421=_0x249768[_0x1e90df(0x3b9)](_0x12e318[_0x1e90df(0x4af)]);_0x557421&&(_0x557421['setEditing'](_0x4e74de),this[_0x1e90df(0x340)]=_0x12e318[_0x1e90df(0x4af)]);}else this[_0x1e90df(0x340)]=null;}));}[_0x54e2e6(0x45d)](){const _0x1b19fb=_0x54e2e6;var _0x11a6e5;(_0x11a6e5=this[_0x1b19fb(0x458)])==null||_0x11a6e5[_0x1b19fb(0x267)](),this[_0x1b19fb(0x458)]=null;}};_0x242997=_0x105eeb([_0x1af634(0x1,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5c66c5)),_0x1af634(0x2,_0x509efb[_0x54e2e6(0x178)]),_0x1af634(0x3,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5bdd19[_0x54e2e6(0x4ce)])),_0x1af634(0x4,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x156d72[_0x54e2e6(0x333)]))],_0x242997);let _0x4a71ef=class extends _0x5ceb8e[_0x54e2e6(0x45a)]{constructor(_0x2551fc,_0x54d6d5,_0x5cc4c0,_0x1541f8,_0x5ef7a8,_0x4bc4dc,_0x49b061,_0x58f580,_0x83443c,_0x1ff138){super(_0x2551fc,_0x54d6d5,_0x5cc4c0,_0x1541f8,_0x5ef7a8,_0x4bc4dc,_0x49b061,_0x58f580,_0x83443c,_0x1ff138,{'componentKey':_0x148b7f,'editorUnitId':_0x5247b4});}};_0x4a71ef=_0x105eeb([_0x1af634(0x1,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5f20c1['DocSelectionManagerService'])),_0x1af634(0x2,(0x0,_0x1f70ef['Inject'])(_0x5bdd19[_0x54e2e6(0x30d)])),_0x1af634(0x3,(0x0,_0x1f70ef['Inject'])(_0x5bdd19[_0x54e2e6(0x483)])),_0x1af634(0x4,_0x1f70ef['ICommandService']),_0x1af634(0x5,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5bdd19['DocEventManagerService'])),_0x1af634(0x6,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5ceb8e['ShapeTextHyperLinkPopupService'])),_0x1af634(0x7,(0x0,_0x1f70ef['Inject'])(_0x5f20c1[_0x54e2e6(0x362)])),_0x1af634(0x8,(0x0,_0x1f70ef['Inject'])(_0x5bdd19['DocRenderController'])),_0x1af634(0x9,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5c66c5))],_0x4a71ef);let _0x4f5bb6=class extends _0x5ceb8e[_0x54e2e6(0x16a)]{constructor(_0xd3e82,_0x32edc6,_0x2c7ccd,_0x543901,_0x58709e){super(_0xd3e82,_0x32edc6,{'editing$':_0x2c7ccd['editingParams$'],'resolve':_0x130423=>{const _0x107f3d=_0x1cb9;var _0x27a67a;let _0xbcb6df=new _0x35408c[(_0x107f3d(0x45f))](_0x130423['offsetX'],_0x130423[_0x107f3d(0x24c)]),_0x1a55d6=((_0x27a67a=_0xd3e82[_0x107f3d(0x2ba)]['getActiveViewportByCoord'](_0xbcb6df))==null?void 0x0:_0x27a67a[_0x107f3d(0x38f)](_0xbcb6df))??_0xbcb6df,_0x347ce5=(0x0,_0x5ceb8e['resolveShapeTextHyperLinkObject'])(_0xd3e82['scene'][_0x107f3d(0x4db)](_0xbcb6df)??null,_0x1a55d6);if(!(_0x347ce5 instanceof _0x418197))return null;let _0x3a5ed7=_0x347ce5[_0x107f3d(0x2ce)](_0x1a55d6);if(!_0x3a5ed7)return null;let _0x378ab6=_0x347ce5,_0x32b852={'componentKey':_0x5ceb8e['ShapeTextHyperLinkInfo'][_0x107f3d(0x295)],'direction':'top-center','offset':[0x0,0xa],'onClickOutside':()=>_0x32edc6['hideInfoPopup']()};return{'object':_0x347ce5,'info':{..._0x3a5ed7,'unitId':_0x347ce5[_0x107f3d(0x2a9)],'subUnitId':_0x347ce5[_0x107f3d(0x2bf)],'shapeKey':_0x347ce5['oKey'],'readonly':!0x0,'copyable':(0x0,_0x5f20c1['getDocumentPermissionValue'])(_0x58709e,_0x347ce5[_0x107f3d(0x2a9)],_0x347ce5[_0x107f3d(0x2a9)],_0xe6e2b9[_0x107f3d(0x320)]['Copy'])},'attachPopup':()=>_0x543901[_0x107f3d(0x1e4)](_0x378ab6,_0x32b852,_0x378ab6[_0x107f3d(0x2a9)])};}});}};_0x4f5bb6=_0x105eeb([_0x1af634(0x1,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5ceb8e[_0x54e2e6(0x4c6)])),_0x1af634(0x2,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5c66c5)),_0x1af634(0x3,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5bdd19['DocCanvasPopManagerService'])),_0x1af634(0x4,_0x1f70ef[_0x54e2e6(0x405)])],_0x4f5bb6);let _0x37ec55=class extends _0x1f70ef['Disposable']{constructor(_0x14c8fc,_0x43b38a,_0x3836c2,_0x3c6830,_0x3c0158,_0x449566,_0x17b990,_0x57c005,_0x5cebe6,_0x491429,_0x29e907,_0x2de80c){const _0x58a2c9=_0x54e2e6;super(),this[_0x58a2c9(0x394)]=_0x14c8fc,this[_0x58a2c9(0x3b1)]=_0x43b38a,this['_menuManagerService']=_0x3836c2,this[_0x58a2c9(0x1b8)]=_0x3c6830,this[_0x58a2c9(0x438)]=_0x3c0158,this[_0x58a2c9(0x255)]=_0x449566,this[_0x58a2c9(0x353)]=_0x17b990,this[_0x58a2c9(0x226)]=_0x57c005,this[_0x58a2c9(0x4a2)]=_0x5cebe6,this[_0x58a2c9(0x421)]=_0x491429,this[_0x58a2c9(0x495)]=_0x29e907,this[_0x58a2c9(0x459)]=_0x2de80c,_0x3d621e(this,_0x58a2c9(0x183),null),_0x3d621e(this,_0x58a2c9(0x268),null),_0x3d621e(this,_0x58a2c9(0x2f9),!0x1),_0x3d621e(this,'_shapeEditPanelVersion',0x0),_0x3d621e(this,_0x58a2c9(0x4a5),new Map()),_0x3d621e(this,'_popupTargetKeys',new Map()),this[_0x58a2c9(0x1c4)](),this['disposeWithMe'](this[_0x58a2c9(0x394)]['getCurrentTypeOfUnit$'](_0x1f70ef[_0x58a2c9(0x283)][_0x58a2c9(0x1cc)])[_0x58a2c9(0x169)](_0x3dbd6f=>{const _0x3799d8=_0x58a2c9;if(!_0x3dbd6f){var _0x3d8109;(_0x3d8109=this[_0x3799d8(0x183)])==null||_0x3d8109['dispose']();}})),this[_0x58a2c9(0x4ad)](),this[_0x58a2c9(0x3b5)](this[_0x58a2c9(0x353)][_0x58a2c9(0x152)][_0x58a2c9(0x169)](_0x2b1cf0=>{const _0x5dfed0=_0x58a2c9;for(let _0x5273b7 of _0x2b1cf0){let _0x2546c8=_0x5273b7[_0x5dfed0(0x2a9)]+':'+_0x5273b7[_0x5dfed0(0x2bf)]+':'+_0x5273b7['drawingId'];for(let [_0x23e5a7,_0x2a42af]of this[_0x5dfed0(0x3e1)])_0x2a42af===_0x2546c8&&this[_0x5dfed0(0x3f3)](_0x23e5a7,!0x0);}})),this['disposeWithMe']((0x0,_0x5ceb8e[_0x58a2c9(0x16d)])(this[_0x58a2c9(0x4a2)],_0x1f70ef[_0x58a2c9(0x283)][_0x58a2c9(0x1cc)],_0x29ed2f=>this['_popupMenuListener'](_0x29ed2f))),this[_0x58a2c9(0x3b5)](this[_0x58a2c9(0x495)][_0x58a2c9(0x3bc)][_0x58a2c9(0x169)](_0x192685=>{const _0x4adb05=_0x58a2c9;_0x192685&&this[_0x4adb05(0x3f3)](void 0x0,!0x0);})),this['disposeWithMe'](this[_0x58a2c9(0x459)][_0x58a2c9(0x4bc)][_0x58a2c9(0x169)](()=>{const _0x517d95=_0x58a2c9;this[_0x517d95(0x353)][_0x517d95(0x34f)]()[_0x517d95(0x305)](_0x9f671a=>_0x9f671a[_0x517d95(0x4c9)]===_0x1f70ef[_0x517d95(0x470)][_0x517d95(0x40b)]&&this['_univerInstanceService']['getUnitType'](_0x9f671a['unitId'])===_0x1f70ef[_0x517d95(0x283)][_0x517d95(0x1cc)]&&!this['_canEditShape'](_0x9f671a[_0x517d95(0x2a9)],_0x9f671a[_0x517d95(0x2e7)]))&&(this['_clearPopups'](void 0x0,!0x0),this[_0x517d95(0x163)]());}));}[_0x54e2e6(0x1c4)](){const _0x3924b2=_0x54e2e6;this['_menuManagerService'][_0x3924b2(0x4ca)](_0x31ed66);}[_0x54e2e6(0x47d)](_0x2dfa16,_0x1c7252,_0x5ab02d,_0x8a4ba4){const _0x588a40=_0x54e2e6;return[{'label':_0x588a40(0x1fd),'index':0x0,'commandId':_0xf4b337['id'],'commandParams':{'unitId':_0x2dfa16,'subUnitId':_0x1c7252,'drawingId':_0x5ab02d},'disable':_0x8a4ba4===_0x1f70ef[_0x588a40(0x470)][_0x588a40(0x3e3)]},{'label':_0x588a40(0x2c6),'index':0x1,'commandId':_0x535687[_0x588a40(0x3f0)]['id'],'commandParams':{'unitId':_0x2dfa16,'drawings':[{'unitId':_0x2dfa16,'subUnitId':_0x1c7252,'drawingId':_0x5ab02d}]},'disable':!0x1},{'label':'docs-shape-ui.hidePanel','index':0x2,'commandId':_0x388435['id'],'commandParams':{'unitId':_0x2dfa16,'subUnitId':_0x1c7252,'drawingId':_0x5ab02d},'disable':!0x1}];}['_getShapeInfo'](_0x11324e,_0x4db7e5,_0x235777){const _0x5a2bdb=_0x54e2e6;let _0x30a2db=this[_0x5a2bdb(0x1b8)]['getShapeTypeById'](_0x11324e,_0x4db7e5,_0x235777),_0x2cc6b0=this[_0x5a2bdb(0x1b8)][_0x5a2bdb(0x17a)](_0x11324e,_0x4db7e5,_0x235777);return _0x30a2db!==void 0x0&&_0x2cc6b0!==void 0x0?{'shapeData':_0x2cc6b0,'shapeId':_0x235777,'shapeType':_0x30a2db,'unitId':_0x11324e,'subUnitId':_0x4db7e5,'version':this['_shapeEditPanelVersion'],'disableShapeOption':!0x1}:null;}['_clearPopups'](_0x10185f,_0x500ea0=!0x1){const _0x495805=_0x54e2e6;if(_0x10185f==null){[...this[_0x495805(0x4a5)][_0x495805(0x1e9)]()][_0x495805(0x16e)](_0x8d0673=>this[_0x495805(0x3f3)](_0x8d0673,_0x500ea0));return;}let _0x5103d8=this['_disposePopupsByUnit'][_0x495805(0x429)](_0x10185f);if(_0x5103d8){for(let _0x2120c8=_0x5103d8[_0x495805(0x44b)]-0x1;_0x2120c8>=0x0;--_0x2120c8){let _0x586382=_0x5103d8[_0x2120c8];(_0x500ea0||_0x586382[_0x495805(0x3bf)]())&&(_0x586382[_0x495805(0x267)](),_0x5103d8[_0x495805(0x201)](_0x2120c8,0x1));}_0x5103d8[_0x495805(0x44b)]===0x0&&(this[_0x495805(0x4a5)][_0x495805(0x493)](_0x10185f),this[_0x495805(0x3e1)][_0x495805(0x493)](_0x10185f));}}[_0x54e2e6(0x2b9)](_0x3895cd){const _0x51a6f7=_0x54e2e6;let _0x25e3c5=this[_0x51a6f7(0x4a5)]['get'](_0x3895cd);if(_0x25e3c5)return _0x25e3c5;let _0x35928=[];return this[_0x51a6f7(0x4a5)][_0x51a6f7(0x21a)](_0x3895cd,_0x35928),_0x35928;}[_0x54e2e6(0x40c)](_0x40b692){const _0x48c7d4=_0x54e2e6;var _0x1383ad;let _0x24ce64=new _0x1f70ef[(_0x48c7d4(0x1f8))](),_0x10a0ee=(_0x1383ad=this['_renderManagerService']['getAllRenderersOfType'](_0x1f70ef[_0x48c7d4(0x283)][_0x48c7d4(0x1cc)])[_0x48c7d4(0x42c)](_0x48f4b8=>_0x48f4b8[_0x48c7d4(0x2ba)][_0x48c7d4(0x3a9)]()===_0x40b692))==null?void 0x0:_0x1383ad[_0x48c7d4(0x2a9)];return _0x10a0ee&&(_0x24ce64[_0x48c7d4(0x3a6)](_0x40b692[_0x48c7d4(0x3db)][_0x48c7d4(0x169)](()=>this[_0x48c7d4(0x266)](_0x40b692,_0x10a0ee))),_0x24ce64['add'](_0x40b692[_0x48c7d4(0x323)][_0x48c7d4(0x169)](()=>{const _0x92d6d5=_0x48c7d4;this[_0x92d6d5(0x3f3)](_0x10a0ee),queueMicrotask(()=>{const _0x45e7b6=_0x92d6d5;_0x40b692[_0x45e7b6(0x452)]()['size']>0x0||!this['_drawingManagerService'][_0x45e7b6(0x34f)]()[_0x45e7b6(0x305)](_0x313456=>_0x313456[_0x45e7b6(0x2a9)]===_0x10a0ee)||(this[_0x45e7b6(0x421)][_0x45e7b6(0x15b)](_0x1f70ef[_0x45e7b6(0x4df)],!0x1),this[_0x45e7b6(0x353)][_0x45e7b6(0x43a)](null));});})),_0x24ce64['add'](_0x40b692[_0x48c7d4(0x4bd)][_0x48c7d4(0x169)](()=>{const _0x474e83=_0x48c7d4;this[_0x474e83(0x3f3)](_0x10a0ee,!0x0);}))),_0x24ce64;}['_handleCreateControl'](_0x2ed8a5,_0x4fd9d2){const _0xc3b0d7=_0x54e2e6;let _0x57ec18=_0x2ed8a5[_0xc3b0d7(0x452)]();if(this[_0xc3b0d7(0x2f9)]){this[_0xc3b0d7(0x3f3)](_0x4fd9d2,!0x0);return;}if(_0x57ec18['size']>0x1){this[_0xc3b0d7(0x3f3)](_0x4fd9d2);return;}let _0x433b92=_0x57ec18[_0xc3b0d7(0x370)]()[_0xc3b0d7(0x18e)]()[_0xc3b0d7(0x424)];if(!_0x433b92){this[_0xc3b0d7(0x3f3)](_0x4fd9d2);return;}let _0x146b2c=this[_0xc3b0d7(0x353)][_0xc3b0d7(0x393)](_0x433b92[_0xc3b0d7(0x47c)]);if(!_0x146b2c||_0x146b2c[_0xc3b0d7(0x4c9)]!==_0x1f70ef[_0xc3b0d7(0x470)][_0xc3b0d7(0x40b)]){this[_0xc3b0d7(0x3f3)](_0x4fd9d2);return;}let {unitId:_0x56f16c,subUnitId:_0x2a9f8f,drawingId:_0x135369,drawingType:_0x2c6d5e}=_0x146b2c;if(!this[_0xc3b0d7(0x206)](_0x56f16c,_0x135369)){this[_0xc3b0d7(0x3f3)](_0x4fd9d2,!0x0);return;}let _0x3a426c=this[_0xc3b0d7(0x22a)](_0x56f16c,_0x2a9f8f,_0x135369);if(!_0x3a426c){this['_clearPopups'](_0x4fd9d2);return;}let _0x24a809=this[_0xc3b0d7(0x4a5)][_0xc3b0d7(0x429)](_0x4fd9d2),_0x34665f=_0x56f16c+':'+_0x2a9f8f+':'+_0x135369;if(this[_0xc3b0d7(0x3e1)][_0xc3b0d7(0x429)](_0x4fd9d2)===_0x34665f&&_0x24a809&&_0x24a809[_0xc3b0d7(0x44b)]>0x0)return;this['_clearPopups'](_0x4fd9d2);let _0x34580d=this[_0xc3b0d7(0x4a2)]['getRenderUnitById'](_0x56f16c),_0x54e900=((_0x34580d==null?void 0x0:_0x34580d[_0xc3b0d7(0x1fe)])===!0x1?_0x34580d['with'](_0x5bdd19[_0xc3b0d7(0x30d)]):this[_0xc3b0d7(0x226)])[_0xc3b0d7(0x1e4)](_0x433b92,this[_0xc3b0d7(0x243)](_0x3a426c,_0x2c6d5e),_0x56f16c);this[_0xc3b0d7(0x3b5)](_0x54e900),this[_0xc3b0d7(0x2b9)](_0x4fd9d2)[_0xc3b0d7(0x1d8)](_0x54e900),this[_0xc3b0d7(0x3e1)]['set'](_0x4fd9d2,_0x34665f),this['_drawingManagerService'][_0xc3b0d7(0x34f)]()[_0xc3b0d7(0x305)](_0x1195e=>_0x1195e[_0xc3b0d7(0x2a9)]===_0x56f16c&&_0x1195e[_0xc3b0d7(0x2bf)]===_0x2a9f8f&&_0x1195e['drawingId']===_0x135369)||this[_0xc3b0d7(0x353)][_0xc3b0d7(0x43a)]([{'unitId':_0x56f16c,'subUnitId':_0x2a9f8f,'drawingId':_0x135369}]);}[_0x54e2e6(0x243)](_0x33f471,_0x465e33){const _0x4b3394=_0x54e2e6;return{'componentKey':_0x1b4f5e,'requiresStableLayout':!0x1,'direction':_0x4b3394(0x413),'offset':[0x0,_0x5ceb8e['SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET']],'extraProps':{'unitId':_0x33f471[_0x4b3394(0x2a9)],'subUnitId':_0x33f471[_0x4b3394(0x2bf)],'drawingId':_0x33f471[_0x4b3394(0x4e2)],'drawingType':_0x465e33,'shapeType':_0x33f471[_0x4b3394(0x348)],'shapeData':_0x33f471[_0x4b3394(0x2fc)]}};}[_0x54e2e6(0x206)](_0x2f1a10,_0x6e2c0a){const _0x3e4d9b=_0x54e2e6;let _0x436b77=this['_univerInstanceService']['getUnit'](_0x2f1a10,_0x1f70ef['UniverInstanceType'][_0x3e4d9b(0x1cc)]);if(!_0x436b77)return!0x1;let _0x42c387=(0x0,_0x5f20c1[_0x3e4d9b(0x347)])(_0x436b77,_0x6e2c0a);return(0x0,_0x5f20c1[_0x3e4d9b(0x25b)])(this[_0x3e4d9b(0x459)],_0x2f1a10,[...(0x0,_0x5f20c1[_0x3e4d9b(0x1ac)])(_0x436b77,_0x42c387,'drawing',_0x6e2c0a),(0x0,_0x5f20c1[_0x3e4d9b(0x1a4)])(_0x42c387,_0x3e4d9b(0x1e5),_0x6e2c0a)]);}[_0x54e2e6(0x4ad)](){const _0x236d76=_0x54e2e6;this[_0x236d76(0x3b5)](this[_0x236d76(0x255)][_0x236d76(0x326)](_0x2a55ba=>{const _0x1781a1=_0x236d76;if(_0x2a55ba['id']===_0xf4b337['id']){let {unitId:_0x1ceeb1,subUnitId:_0x4fc358,drawingId:_0x52eeab}=_0x2a55ba[_0x1781a1(0x48b)];this['_shapeEditPanelVersion']+=0x1,this[_0x1781a1(0x268)]=this[_0x1781a1(0x22a)](_0x1ceeb1,_0x4fc358,_0x52eeab),this[_0x1781a1(0x3f3)](void 0x0,!0x0),this[_0x1781a1(0x23b)]();}if(_0x2a55ba['id']===_0x388435['id']&&(this[_0x1781a1(0x268)]=null,this[_0x1781a1(0x163)]()),_0x2a55ba['id']===_0x156d72[_0x1781a1(0x4b2)]['id']){let {unitId:_0x2b1f41,shapeId:_0x145b69}=_0x2a55ba[_0x1781a1(0x48b)];if(this['_activeShapeInfo']&&this[_0x1781a1(0x268)]['shapeId']===_0x145b69){let _0xfa8ae5=this['_getShapeInfo'](_0x2b1f41,this[_0x1781a1(0x268)][_0x1781a1(0x2bf)],_0x145b69);_0xfa8ae5&&(this[_0x1781a1(0x4a3)]+=0x1,_0xfa8ae5[_0x1781a1(0x478)]=this[_0x1781a1(0x4a3)],this[_0x1781a1(0x268)]=_0xfa8ae5,this[_0x1781a1(0x2f9)]&&this[_0x1781a1(0x23b)]());}}})),this[_0x236d76(0x3b5)](this[_0x236d76(0x353)]['focus$'][_0x236d76(0x169)](_0x13fd30=>{const _0x3f2a5e=_0x236d76;if(this[_0x3f2a5e(0x2f9)]===!0x1)return;if(_0x13fd30[_0x3f2a5e(0x44b)]===0x0){this[_0x3f2a5e(0x268)]=null,this[_0x3f2a5e(0x163)]();return;}if(_0x13fd30['length']===0x1&&_0x13fd30[0x0]['drawingType']===_0x1f70ef[_0x3f2a5e(0x470)][_0x3f2a5e(0x40b)]&&(this[_0x3f2a5e(0x4a3)]+=0x1,this['_activeShapeInfo']=this['_getShapeInfo'](_0x13fd30[0x0][_0x3f2a5e(0x2a9)],_0x13fd30[0x0][_0x3f2a5e(0x2bf)],_0x13fd30[0x0][_0x3f2a5e(0x2e7)]),this[_0x3f2a5e(0x268)])){this['_openShapeEditPanel']();return;}let _0x62aad7=_0x13fd30[_0x3f2a5e(0x2c0)](_0x324063=>_0x324063[_0x3f2a5e(0x4c9)]===_0x1f70ef[_0x3f2a5e(0x470)][_0x3f2a5e(0x40b)]);if(_0x13fd30[_0x3f2a5e(0x44b)]>0x1&&_0x62aad7['length']===_0x13fd30[_0x3f2a5e(0x44b)]){if(this[_0x3f2a5e(0x4a3)]+=0x1,this[_0x3f2a5e(0x268)]=this[_0x3f2a5e(0x22a)](_0x13fd30[0x0][_0x3f2a5e(0x2a9)],_0x13fd30[0x0][_0x3f2a5e(0x2bf)],_0x13fd30[0x0][_0x3f2a5e(0x2e7)]),this[_0x3f2a5e(0x268)]){this['_openShapeEditPanel']();return;}}else{if(this['_shapeEditPanelVersion']+=0x1,this[_0x3f2a5e(0x268)]=this['_getShapeInfo'](_0x13fd30[0x0]['unitId'],_0x13fd30[0x0]['subUnitId'],_0x13fd30[0x0][_0x3f2a5e(0x2e7)]),this['_activeShapeInfo']){this[_0x3f2a5e(0x268)]['disableShapeOption']=!0x0,this[_0x3f2a5e(0x23b)]();return;}}this[_0x3f2a5e(0x163)]();}));}[_0x54e2e6(0x23b)](){const _0x1e44ec=_0x54e2e6;this[_0x1e44ec(0x268)]&&(this[_0x1e44ec(0x183)]=this[_0x1e44ec(0x3b1)][_0x1e44ec(0x1b3)]({'id':_0x45c66c,'header':{'title':this['_localeService']['t'](_0x1e44ec(0x419))},'width':0x184,'children':{'label':_0x45c66c,...this[_0x1e44ec(0x268)]},'onClose':()=>{const _0x1e231c=_0x1e44ec;this['_drawingManagerService'][_0x1e231c(0x43a)](null),this[_0x1e231c(0x421)]['setContextValue'](_0x1f70ef[_0x1e231c(0x4df)],!0x1),this[_0x1e231c(0x183)]=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}['_closeShapeEditPanel'](){const _0x3c9c2e=_0x54e2e6;this[_0x3c9c2e(0x2f9)]=!0x1,this[_0x3c9c2e(0x3b1)]['close'](_0x45c66c),this[_0x3c9c2e(0x183)]=null,this[_0x3c9c2e(0x421)][_0x3c9c2e(0x15b)](_0x1f70ef[_0x3c9c2e(0x4df)],!0x1),this[_0x3c9c2e(0x353)][_0x3c9c2e(0x43a)](null);}};_0x37ec55=_0x105eeb([_0x1af634(0x0,_0x1f70ef[_0x54e2e6(0x3bb)]),_0x1af634(0x1,(0x0,_0x1f70ef['Inject'])(_0x7c4c2f['ISidebarService'])),_0x1af634(0x2,_0x7c4c2f[_0x54e2e6(0x3b3)]),_0x1af634(0x3,(0x0,_0x1f70ef['Inject'])(_0x156d72[_0x54e2e6(0x333)])),_0x1af634(0x4,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x1f70ef[_0x54e2e6(0x15c)])),_0x1af634(0x5,_0x1f70ef[_0x54e2e6(0x3ab)]),_0x1af634(0x6,_0x509efb[_0x54e2e6(0x178)]),_0x1af634(0x7,(0x0,_0x1f70ef['Inject'])(_0x5bdd19[_0x54e2e6(0x30d)])),_0x1af634(0x8,_0x35408c[_0x54e2e6(0x2b5)]),_0x1af634(0x9,_0x1f70ef['IContextService']),_0x1af634(0xa,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5c66c5)),_0x1af634(0xb,_0x1f70ef[_0x54e2e6(0x405)])],_0x37ec55);let _0x5308f3=class extends _0x1f70ef['Disposable']{constructor(_0xed4c6,_0x30f2e8){const _0x200c42=_0x54e2e6;super(),this[_0x200c42(0x1b8)]=_0xed4c6,this[_0x200c42(0x438)]=_0x30f2e8,this[_0x200c42(0x3b5)]((0x0,_0x1f70ef['toDisposable'])((0x0,_0x35408c['setDocsCustomBlockRenderViewportProvider'])((_0x6358b,_0xa21e71,_0x590d9a)=>this[_0x200c42(0x2f2)](_0x6358b,_0xa21e71,_0x590d9a))));}[_0x54e2e6(0x2f2)](_0x595dff,_0x44df78,_0x176b05){const _0x564948=_0x54e2e6;let _0x5b2c37=this[_0x564948(0x1b8)][_0x564948(0x2b8)](_0x595dff,_0x44df78);if(!_0x5b2c37)return null;let _0x4195be=_0x5b2c37[_0x564948(0x4d2)](),_0x2d8881=(0x0,_0x11cfc4[_0x564948(0x19c)])(_0x4195be),_0x44e8b3=_0x4195be[_0x564948(0x26a)];if(!_0x44e8b3||_0x2d8881[_0x564948(0x377)]!==_0x11cfc4[_0x564948(0x39e)][_0x564948(0x4d7)])return null;let _0x37dbc7=_0x176b05[_0x564948(0x277)],_0x515935=_0x176b05['fallbackHeight'];_0x5b2c37['updateContext']({'width':_0x37dbc7,'height':_0x515935});let _0x4b4772=_0x5b2c37[_0x564948(0x1ab)]({'left':0x0,'top':0x0,'width':_0x37dbc7,'height':_0x515935}),_0xbe8f34=(0x0,_0x5ceb8e[_0x564948(0x420)])(_0x564948(0x32d)in _0x44e8b3?_0x44e8b3[_0x564948(0x32d)]:void 0x0),_0x142311=(_0xbe8f34==null?void 0x0:_0xbe8f34['doc'])??('isRichText'in _0x44e8b3?(0x0,_0x5ceb8e[_0x564948(0x41c)])(_0x44e8b3,_0x44df78+_0x564948(0x331)):null);if(!_0x142311)return null;let _0x1359d3=(0x0,_0x5ceb8e['resolveFormulaShapeAutoFitSize'])({'documentData':_0x142311,'height':_0x515935,'shapeData':_0x4195be,'textRect':_0x4b4772,'width':_0x37dbc7,'widthBuffer':0x0});_0x1359d3&&({width:_0x37dbc7,height:_0x515935}=_0x1359d3,_0x5b2c37[_0x564948(0x3b6)]({'width':_0x37dbc7,'height':_0x515935}),_0x4b4772=_0x5b2c37['getShapeTextRect']({'left':0x0,'top':0x0,'width':_0x37dbc7,'height':_0x515935}));let _0xa4cf5d=_0x44e8b3[_0x564948(0x297)]!==!0x1,_0x381756=(0x0,_0x5ceb8e[_0x564948(0x216)])(_0x142311,{'isHorizontal':_0xa4cf5d,'textRect':_0x4b4772,'verticalAlign':_0xbe8f34==null?void 0x0:_0xbe8f34['va'],'horizontalAlign':_0xbe8f34==null?void 0x0:_0xbe8f34['ha'],'wrapStrategy':(0x0,_0x5ceb8e[_0x564948(0x39a)])(_0x4195be)}),_0x484d74=new _0x1f70ef[(_0x564948(0x39c))](_0x381756),_0x524b2c=new _0x35408c[(_0x564948(0x37b))](_0x484d74),_0x234a20=_0x35408c[_0x564948(0x1fc)][_0x564948(0x224)](_0x524b2c,this[_0x564948(0x438)]);try{var _0x42a552,_0x591885;_0x234a20[_0x564948(0x3cc)]();let _0x5964d2=((_0x42a552=_0x234a20[_0x564948(0x36c)]())==null?void 0x0:_0x42a552[_0x564948(0x3ef)])??[],_0x492f83=_0x5964d2[_0x5964d2['length']-0x1],_0x369e55=_0x492f83?Math[_0x564948(0x28c)](0x0,((_0x591885=(0x0,_0x35408c[_0x564948(0x351)])(_0x492f83))==null?void 0x0:_0x591885[_0x564948(0x1a9)])??0x0):0x0,_0x53bfd8=_0x234a20['getActualSize']()[_0x564948(0x358)]+_0x369e55-(_0xa4cf5d?_0x4b4772[_0x564948(0x4d1)]:_0x4b4772[_0x564948(0x45c)]);return Number[_0x564948(0x434)](_0x53bfd8)?_0xa4cf5d?{'width':_0x37dbc7,'height':Math['max'](0x1,_0x515935+_0x53bfd8)}:{'width':Math[_0x564948(0x28c)](0x1,_0x37dbc7+_0x53bfd8),'height':_0x515935}:null;}finally{_0x234a20[_0x564948(0x267)](),_0x524b2c[_0x564948(0x267)](),_0x484d74[_0x564948(0x267)]();}}};_0x5308f3=_0x105eeb([_0x1af634(0x0,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x156d72[_0x54e2e6(0x333)])),_0x1af634(0x1,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x1f70ef['LocaleService']))],_0x5308f3);let _0x5c8e76=class extends _0x1f70ef[_0x54e2e6(0x498)]{constructor(_0x30692b=_0x5a00d5,_0x3126f1,_0x3af3fc,_0x5bb2bb,_0x1cb7d7){const _0x2701fa=_0x54e2e6;super(),this[_0x2701fa(0x44d)]=_0x30692b,this[_0x2701fa(0x38a)]=_0x3126f1,this[_0x2701fa(0x255)]=_0x3af3fc,this[_0x2701fa(0x2c4)]=_0x5bb2bb,this[_0x2701fa(0x4a2)]=_0x1cb7d7;let {menu:_0x15e713,..._0x25f025}=(0x0,_0x1f70ef[_0x2701fa(0x315)])({},_0x5a00d5,this[_0x2701fa(0x44d)]);_0x15e713&&this[_0x2701fa(0x2c4)][_0x2701fa(0x2d6)](_0x2701fa(0x43e),_0x15e713,{'merge':!0x0}),this[_0x2701fa(0x2c4)][_0x2701fa(0x2d6)](_0x13b595,_0x25f025),this[_0x2701fa(0x269)]();}['onStarting'](){const _0x3adfe9=_0x54e2e6;(0x0,_0x1f70ef[_0x3adfe9(0x47a)])(this[_0x3adfe9(0x38a)],this[_0x3adfe9(0x3a7)]()),this['_injector'][_0x3adfe9(0x429)](_0x16254b),this[_0x3adfe9(0x442)]();}[_0x54e2e6(0x3a7)](){return[[_0x16254b],[_0x37ec55],[_0x3bd484],[_0x54ec0f],[_0x56e0bb],[_0x548036],[_0xb8d91],[_0x1dc3be],[_0x5308f3],[_0x5c66c5],[_0x1d5680]];}[_0x54e2e6(0x2a7)](){const _0x14ad10=_0x54e2e6;this[_0x14ad10(0x4b4)]()[_0x14ad10(0x16e)](_0x48a533=>{const _0x5e4ffa=_0x14ad10;this[_0x5e4ffa(0x3b5)](this[_0x5e4ffa(0x4a2)][_0x5e4ffa(0x3ae)](_0x1f70ef['UniverInstanceType']['UNIVER_DOC'],_0x48a533));}),(0x0,_0x1f70ef[_0x14ad10(0x38c)])(this[_0x14ad10(0x38a)],[[_0x37ec55],[_0x3bd484],[_0x54ec0f],[_0x56e0bb],[_0xb8d91],[_0x1dc3be],[_0x5308f3],[_0x5c66c5],[_0x1d5680]]);}[_0x54e2e6(0x4b4)](){return[[_0x548036],[_0x242997],[_0x4f5bb6],[_0xba4cff]];}[_0x54e2e6(0x4a8)](){const _0x319ca0=_0x54e2e6;this[_0x319ca0(0x3b5)](this[_0x319ca0(0x4a2)][_0x319ca0(0x3ae)](_0x1f70ef[_0x319ca0(0x283)][_0x319ca0(0x1cc)],[_0x4a71ef]));}[_0x54e2e6(0x269)](){const _0x45b36f=_0x54e2e6;[_0x2567e4,_0x388435,_0xf4b337,_0x27bc22,_0x23b4a0,_0x8614a3][_0x45b36f(0x16e)](_0x4fb03c=>this[_0x45b36f(0x3b5)](this[_0x45b36f(0x255)][_0x45b36f(0x1d0)](_0x4fb03c)));}[_0x54e2e6(0x442)](){const _0x497e80=_0x54e2e6;let _0x996199=this['_injector'],_0x400aa4=_0x996199[_0x497e80(0x429)](_0x7c4c2f[_0x497e80(0x281)]);this[_0x497e80(0x3b5)](_0x400aa4['registerComponent'](_0x7c4c2f[_0x497e80(0x32c)][_0x497e80(0x3c5)],()=>(0x0,_0x7c4c2f[_0x497e80(0x361)])(_0x5f1b69,_0x996199)));}};_0x3d621e(_0x5c8e76,_0x54e2e6(0x1a8),_0x1f70ef[_0x54e2e6(0x283)][_0x54e2e6(0x1cc)]),_0x3d621e(_0x5c8e76,_0x54e2e6(0x2da),_0x54e2e6(0x2a0)),_0x3d621e(_0x5c8e76,_0x54e2e6(0x479),_0x48c514),_0x3d621e(_0x5c8e76,_0x54e2e6(0x478),_0x52174e),_0x5c8e76=_0x105eeb([(0x0,_0x1f70ef[_0x54e2e6(0x359)])(_0xab2065['UniverLicensePlugin'],_0x5f20c1['UniverDocsPlugin'],_0x509efb[_0x54e2e6(0x261)],_0x57c854[_0x54e2e6(0x396)],_0x35408c[_0x54e2e6(0x1c7)],_0x5bdd19[_0x54e2e6(0x332)],_0x339478[_0x54e2e6(0x4a0)],_0x23d22e['UniverDocsDrawingUIPlugin'],_0x156d72[_0x54e2e6(0x1f7)],_0x5ceb8e[_0x54e2e6(0x48d)]),_0x1af634(0x1,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x1f70ef['Injector'])),_0x1af634(0x2,_0x1f70ef[_0x54e2e6(0x3ab)]),_0x1af634(0x3,_0x1f70ef['IConfigService']),_0x1af634(0x4,_0x35408c[_0x54e2e6(0x2b5)])],_0x5c8e76),_0x820882[_0x54e2e6(0x387)]=_0x31ed66,Object[_0x54e2e6(0x307)](_0x820882,_0x54e2e6(0x238),{'enumerable':!0x0,'get':function(){return _0x216984;}}),Object[_0x54e2e6(0x307)](_0x820882,_0x54e2e6(0x3a8),{'enumerable':!0x0,'get':function(){return _0x5c8e76;}});}));
|