@univerjs-pro/sheets-shape 1.0.0-alpha.6 → 1.0.0-alpha.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- function _0x8bf0(){const _0x51b4a4=['resizeEnabled','iterator','getAdjustNames','sendToBack','borderEnabled','interceptCommand','add','sheet.mutation.insert-shape','entries','width','default','call','getShapeData','17447650ffdTdI','data','UNIVER_SHEET','onStarting','angle','sheet.command.insert-shape','prototype','getShape','getOwnPropertyDescriptor','getShapeTypeById','startY','getDrawingData','sheet.command.set-shape-rotate','delete','flipY','7114968xjuKbC','shapeName','sheet.mutation.remove-shape','getLineShapeRelation','syncExecuteCommand','lineShapeId','map','constructor','symbol','registerPluginResource','has','filter','hostType','_config','from','backward','_injector','params','listShapes','updateContext','name','packageName','transform','function','getAdjustValueByName','SHEET_SHAPE_PLUGIN','adjustValues','fromJSON','shapeType','_getConnectPointInfo','rotateEnabled','_sheetsShapeService','isFrom','getName','version','getBasicShapeType','sendBackward','visible','getBatchAddOp','_addLineFollowShapeUpdates','_shapeService','_linesIds','_initSnapshot','unitId','undos','4799045DWmCAO','drawingType','defineProperty','_shapeModelManagerMap','_arrange','1.0.0-alpha.6','description','decorate','keys','COMMAND','dispose','getShapeDataById','toJSON','setShapeType','range','getEndConnectInfo','height','index','onCommandExecute','selectable','getShapeType','4072488hYbLlr','createShape','rotation','bringForward','getBatchUpdateOp','getBasicShapeRelation','setConfig','subUnitId','_shapes','set','UPDATE','lineType','forward','stringify','position','removeShape','getDrawingByParam','length','getConnectionSiteList','_commandService','_shapeHostAdapterRegistry','addShape','INSERT','result','bringToFront','hidden','_configService','sheet.command.update-line-shape-resize','9bddrdC','redos','getShapeRelation','getShapeTextData','getShapeModel','_disposed','_drawingService','1231944bFsCvl','values','shapeData','2730942VznRON','ensureSkeleton','left','MUTATION','pushUndoRedo','68132scVFPP','_resourcesManagerService','isLineShape','clear','_deserializeShapeForUnit','setShapeData','getSkeleton','worldRect','_initCommandInterceptor','push','preUndos','Fail\x20to\x20get\x20shape\x20model,\x20get:\x20','fill','deepClone','pluginName','4tKARmW','string','_initCommands','_ensureShapeModelManager','startX','preRedos','hasShape','_addLineRerouteUpdates','shapeId','forEach','top','toPrimitive','DRAWING_SHAPE','object','disposeWithMe','get','getShapeDisplayNames','sheet.command.toggle-shape-flip','sheet.mutation.update-shape-data','_sheetSkeletonService','find','_sheetInterceptorService','getStartConnectInfo','ang','cos','flipX','_groupIds','_drawingManagerService','cxnIndex','sheet.command.set-shape-drawing-data','4UnEcwi','sheet.command.set-shape-text-vertical-toggle'];_0x8bf0=function(){return _0x51b4a4;};return _0x8bf0();}const _0x2cc36b=_0x10a5;(function(_0x448b49,_0x5d7ca6){const _0x5348ed=_0x10a5,_0x42ec1e=_0x448b49();while(!![]){try{const _0xc3bfc2=-parseInt(_0x5348ed(0x1ea))/0x1*(-parseInt(_0x5348ed(0x1db))/0x2)+parseInt(_0x5348ed(0x1d6))/0x3+parseInt(_0x5348ed(0x150))/0x4*(-parseInt(_0x5348ed(0x19b))/0x5)+parseInt(_0x5348ed(0x1d3))/0x6+-parseInt(_0x5348ed(0x16e))/0x7+-parseInt(_0x5348ed(0x1b0))/0x8+parseInt(_0x5348ed(0x1cc))/0x9*(parseInt(_0x5348ed(0x15f))/0xa);if(_0xc3bfc2===_0x5d7ca6)break;else _0x42ec1e['push'](_0x42ec1e['shift']());}catch(_0x5f0323){_0x42ec1e['push'](_0x42ec1e['shift']());}}}(_0x8bf0,0x7cd8d));import{IShapeHostAdapterRegistry as _0x4d6828,ShapeModel as _0x1ef1d1,UniverShapePlugin as _0x328c12,computeConnectorRouteLayout as _0x548310,createUniqueShapeName as _0x5998cb,getBasicShapeRotateBound as _0x59e897,isConnectorShape as _0xe27082,routeConnectorLineShape as _0x29e2b9}from'@univerjs-pro/engine-shape';import{ArrangeTypeEnum as _0x561c61,CommandType as _0x511404,DependentOn as _0x42c1b6,Disposable as _0x43f200,DrawingTypeEnum as _0xf887e9,ICommandService as _0x890563,IConfigService as _0x12f72b,IResourceManagerService as _0x396a14,IUndoRedoService as _0x533e48,IUniverInstanceService as _0xf45f65,Inject as _0x3ca41c,Injector as _0x40ad4c,Plugin as _0x1195b4,Tools as _0x268a59,UniverInstanceType as _0x331193,generateRandomId as _0x636416,merge as _0x461f5d,sequenceExecute as _0x234cbb,touchDependencies as _0x39cac4}from'@univerjs/core';import{SheetInterceptorService as _0x4765d7,SheetSkeletonService as _0xd25a0a,getSheetCommandTarget as _0x1e50ce}from'@univerjs/sheets';import{ClearSheetDrawingTransformerOperation as _0x52e0f1,DrawingApplyType as _0x4ac3c0,ISheetDrawingService as _0x49153e,InsertSheetDrawingCommand as _0x4b8797,RemoveSheetDrawingCommand as _0x399dba,SetDrawingApplyMutation as _0xfb8b27,SetDrawingArrangeCommand as _0x3a89a3,SetSheetDrawingCommand as _0x354f23,transformToAxisAlignPosition as _0x138bbc,transformToDrawingPosition as _0x13c01e}from'@univerjs/sheets-drawing';import{UniverLicensePlugin as _0x84c587}from'@univerjs-pro/license';import{IDrawingManagerService as _0x300b8c}from'@univerjs/drawing';const B=0xc8,V=0xc8;function H(_0x4ff758){'@babel/helpers - typeof';const _0x52c2c2=_0x10a5;return H=typeof Symbol=='function'&&typeof Symbol[_0x52c2c2(0x153)]=='symbol'?function(_0x2b115a){return typeof _0x2b115a;}:function(_0x336016){const _0x41fdbf=_0x52c2c2;return _0x336016&&typeof Symbol==_0x41fdbf(0x185)&&_0x336016[_0x41fdbf(0x175)]===Symbol&&_0x336016!==Symbol[_0x41fdbf(0x165)]?_0x41fdbf(0x176):typeof _0x336016;},H(_0x4ff758);}function U(_0x6e05ba,_0x37e28f){const _0x51c070=_0x10a5;if(H(_0x6e05ba)!=_0x51c070(0x13f)||!_0x6e05ba)return _0x6e05ba;var _0x4bec83=_0x6e05ba[Symbol[_0x51c070(0x13d)]];if(_0x4bec83!==void 0x0){var _0x1d4ffc=_0x4bec83[_0x51c070(0x15d)](_0x6e05ba,_0x37e28f||_0x51c070(0x15c));if(H(_0x1d4ffc)!=_0x51c070(0x13f))return _0x1d4ffc;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x37e28f==='string'?String:Number)(_0x6e05ba);}function W(_0x108642){const _0x38d592=_0x10a5;var _0x2182a3=U(_0x108642,_0x38d592(0x133));return H(_0x2182a3)==_0x38d592(0x176)?_0x2182a3:_0x2182a3+'';}function G(_0x19688d,_0x17226b,_0x8ea129){const _0x50d9a4=_0x10a5;return(_0x17226b=W(_0x17226b))in _0x19688d?Object[_0x50d9a4(0x19d)](_0x19688d,_0x17226b,{'value':_0x8ea129,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x19688d[_0x17226b]=_0x8ea129,_0x19688d;}var K=class extends _0x43f200{constructor(){const _0x44a1c0=_0x10a5;super(),G(this,_0x44a1c0(0x1b8),new Map()),G(this,_0x44a1c0(0x197),new Set()),G(this,_0x44a1c0(0x14c),new Set());}[_0x2cc36b(0x1c5)](_0x5de0ee,_0x5db7f4,_0x21109b,_0x441a6b){const _0x3f722a=_0x2cc36b;let _0x46d608=new _0x1ef1d1(_0x5de0ee,_0x5db7f4,_0x21109b,_0x441a6b);return this[_0x3f722a(0x1b8)][_0x3f722a(0x1b9)](_0x5db7f4,_0x46d608),_0xe27082(_0x5de0ee)&&this[_0x3f722a(0x197)][_0x3f722a(0x158)](_0x5db7f4),_0x46d608;}[_0x2cc36b(0x1b5)](_0x4d13cd){const _0x4a3fe2=_0x2cc36b;let _0xc5bd65=[];for(let _0x1e4113 of this[_0x4a3fe2(0x197)]){let _0x5657c8=this[_0x4a3fe2(0x1b8)][_0x4a3fe2(0x141)](_0x1e4113);if(_0x5657c8){let _0x4b5b3d=_0x5657c8[_0x4a3fe2(0x1ce)]();if(_0x4b5b3d){var _0x12b001,_0x3c06fd;((_0x12b001=_0x4b5b3d['from'])==null?void 0x0:_0x12b001[_0x4a3fe2(0x13a)])===_0x4d13cd&&_0xc5bd65['push']({..._0x4b5b3d[_0x4a3fe2(0x17c)],'lineShapeId':_0x1e4113,'isFrom':!0x0}),((_0x3c06fd=_0x4b5b3d['to'])==null?void 0x0:_0x3c06fd[_0x4a3fe2(0x13a)])===_0x4d13cd&&_0xc5bd65[_0x4a3fe2(0x1e4)]({..._0x4b5b3d['to'],'lineShapeId':_0x1e4113,'isFrom':!0x1});}}}return _0xc5bd65;}[_0x2cc36b(0x171)](_0x2b0b0e){const _0x379eca=_0x2cc36b;let _0x36c49e=this[_0x379eca(0x1b8)][_0x379eca(0x141)](_0x2b0b0e);if(_0x36c49e)return _0x36c49e[_0x379eca(0x1ce)]();}[_0x2cc36b(0x1af)](_0x32083d){const _0x3ef2ce=_0x2cc36b;let _0x5d1675=this[_0x3ef2ce(0x1b8)][_0x3ef2ce(0x141)](_0x32083d);if(_0x5d1675)return _0x5d1675[_0x3ef2ce(0x1af)]();}['hasShape'](_0x49fd35){const _0x80f07e=_0x2cc36b;return this['_shapes'][_0x80f07e(0x178)](_0x49fd35);}[_0x2cc36b(0x142)](){const _0x5ee1e2=_0x2cc36b;return Array['from'](this['_shapes'][_0x5ee1e2(0x1d4)]())[_0x5ee1e2(0x174)](_0x1e7cc0=>_0x1e7cc0[_0x5ee1e2(0x18f)]()||_0x1e7cc0['getId']());}[_0x2cc36b(0x1bf)](_0x478e96){const _0x55a6e1=_0x2cc36b;let _0xb78646=this[_0x55a6e1(0x1b8)]['get'](_0x478e96);_0xb78646&&(_0xe27082(_0xb78646[_0x55a6e1(0x1af)]())&&this['_linesIds'][_0x55a6e1(0x16c)](_0x478e96),this[_0x55a6e1(0x1b8)]['delete'](_0x478e96));}[_0x2cc36b(0x1a7)](){const _0x5000ab=_0x2cc36b;let _0x4a2265=[];return this[_0x5000ab(0x1b8)]['forEach'](_0x5e0ddf=>{const _0x286db0=_0x5000ab;_0x4a2265[_0x286db0(0x1e4)](_0x5e0ddf[_0x286db0(0x1a7)]());}),_0x4a2265;}[_0x2cc36b(0x189)](_0x5e32d1){const _0x43437a=_0x2cc36b;for(let _0x3ceee3 of _0x5e32d1){let {id:_0x27876c,shapeType:_0x57a38c,name:_0x1b24e3}=_0x3ceee3,_0x79fb8d=this[_0x43437a(0x1c5)](_0x57a38c,_0x27876c,_0x3ceee3[_0x43437a(0x1d5)],_0x1b24e3);_0x79fb8d&&_0x79fb8d[_0x43437a(0x1dd)]()&&this[_0x43437a(0x197)]['add'](_0x27876c);}}[_0x2cc36b(0x1a5)](){const _0x2afc6c=_0x2cc36b;this[_0x2afc6c(0x1d1)]||(this['_shapes'][_0x2afc6c(0x13b)](_0x285911=>{const _0x4271c1=_0x2afc6c;_0x285911[_0x4271c1(0x1a5)]();}),this[_0x2afc6c(0x1b8)][_0x2afc6c(0x1de)](),this[_0x2afc6c(0x197)]['clear'](),this[_0x2afc6c(0x14c)]['clear'](),super[_0x2afc6c(0x1a5)]());}};function q(_0x53c9db,_0x24b37){return function(_0x3048e9,_0x58cbba){_0x24b37(_0x3048e9,_0x58cbba,_0x53c9db);};}function J(_0x297361,_0x56961a,_0x339dee,_0x572cee){const _0x153ee1=_0x2cc36b;var _0x2e5915=arguments['length'],_0xd2c8f6=_0x2e5915<0x3?_0x56961a:_0x572cee===null?_0x572cee=Object[_0x153ee1(0x167)](_0x56961a,_0x339dee):_0x572cee,_0x59b71a;if(typeof Reflect=='object'&&typeof Reflect[_0x153ee1(0x1a2)]==_0x153ee1(0x185))_0xd2c8f6=Reflect[_0x153ee1(0x1a2)](_0x297361,_0x56961a,_0x339dee,_0x572cee);else{for(var _0x1b5bf=_0x297361['length']-0x1;_0x1b5bf>=0x0;_0x1b5bf--)(_0x59b71a=_0x297361[_0x1b5bf])&&(_0xd2c8f6=(_0x2e5915<0x3?_0x59b71a(_0xd2c8f6):_0x2e5915>0x3?_0x59b71a(_0x56961a,_0x339dee,_0xd2c8f6):_0x59b71a(_0x56961a,_0x339dee))||_0xd2c8f6);}return _0x2e5915>0x3&&_0xd2c8f6&&Object[_0x153ee1(0x19d)](_0x56961a,_0x339dee,_0xd2c8f6),_0xd2c8f6;}let Y=class extends _0x43f200{constructor(_0x3d952e){const _0x2d0018=_0x2cc36b;super(),this[_0x2d0018(0x1dc)]=_0x3d952e,G(this,_0x2d0018(0x19e),new Map()),this[_0x2d0018(0x198)]();}[_0x2cc36b(0x135)](_0x3012fb,_0x3abd50){const _0x3bc2b2=_0x2cc36b;let _0x46c77e=this[_0x3bc2b2(0x19e)][_0x3bc2b2(0x141)](_0x3012fb);_0x46c77e||(_0x46c77e=new Map(),this[_0x3bc2b2(0x19e)][_0x3bc2b2(0x1b9)](_0x3012fb,_0x46c77e));let _0x3675c5=_0x46c77e[_0x3bc2b2(0x141)](_0x3abd50);return _0x3675c5||(_0x3675c5=new K(),_0x46c77e[_0x3bc2b2(0x1b9)](_0x3abd50,_0x3675c5)),_0x3675c5;}['insertShape'](_0x1383f5,_0x1457a6,_0x3aa560,_0x511c1a,_0x304445,_0x240eff){const _0x1784be=_0x2cc36b;this['_ensureShapeModelManager'](_0x1383f5,_0x1457a6)[_0x1784be(0x1c5)](_0x3aa560,_0x511c1a,_0x304445,_0x240eff);}[_0x2cc36b(0x1bf)](_0x444bc5,_0x55dcef,_0x35d28b){const _0x5b5d35=_0x2cc36b;this[_0x5b5d35(0x135)](_0x444bc5,_0x55dcef)[_0x5b5d35(0x1bf)](_0x35d28b);}[_0x2cc36b(0x191)](_0x180caf,_0x288362,_0x4ecd0f){const _0x532575=_0x2cc36b;return this[_0x532575(0x135)](_0x180caf,_0x288362)[_0x532575(0x1af)](_0x4ecd0f);}['getShapeType'](_0x2da0df,_0x469ab3,_0x3823d5){const _0x520b7d=_0x2cc36b;return this[_0x520b7d(0x135)](_0x2da0df,_0x469ab3)['getShapeType'](_0x3823d5);}[_0x2cc36b(0x138)](_0x49c473,_0x221a66,_0x29e5a3){const _0x20aa95=_0x2cc36b;return this['_ensureShapeModelManager'](_0x49c473,_0x221a66)[_0x20aa95(0x138)](_0x29e5a3);}[_0x2cc36b(0x168)](_0x4ca70c,_0x53f901,_0x381a4b){const _0x39b6bf=_0x2cc36b;return this[_0x39b6bf(0x135)](_0x4ca70c,_0x53f901)[_0x39b6bf(0x1af)](_0x381a4b);}[_0x2cc36b(0x1a6)](_0x59bb7b,_0x37d49c,_0x42e670){const _0x3a6a6c=_0x2cc36b;let _0x3a8e0e=this[_0x3a6a6c(0x135)](_0x59bb7b,_0x37d49c);if(!_0x3a8e0e[_0x3a6a6c(0x1af)](_0x42e670))return;let _0x5a7e83=_0x3a8e0e[_0x3a6a6c(0x1b8)][_0x3a6a6c(0x141)](_0x42e670);if(_0x5a7e83)return _0x5a7e83['getShapeData']();}['getShapeDisplayNames'](_0x43893e,_0x2bf9ad){const _0xef9732=_0x2cc36b;return this[_0xef9732(0x135)](_0x43893e,_0x2bf9ad)[_0xef9732(0x142)]();}[_0x2cc36b(0x1d0)](_0x51c8ad,_0x5b55db,_0x304409){const _0xb54087=_0x2cc36b;return this['_ensureShapeModelManager'](_0x51c8ad,_0x5b55db)[_0xb54087(0x1b8)][_0xb54087(0x141)](_0x304409);}[_0x2cc36b(0x1b5)](_0xa94662,_0x2372b1,_0x5d4fa4){const _0x343918=_0x2cc36b;return this[_0x343918(0x135)](_0xa94662,_0x2372b1)[_0x343918(0x1b5)](_0x5d4fa4);}[_0x2cc36b(0x171)](_0x4ee759,_0x40bc90,_0x3b9352){const _0x626a6d=_0x2cc36b;let _0x68b995=this[_0x626a6d(0x135)](_0x4ee759,_0x40bc90)[_0x626a6d(0x1b8)][_0x626a6d(0x141)](_0x3b9352);if(_0x68b995)return _0x68b995[_0x626a6d(0x1ce)]();}[_0x2cc36b(0x1a8)](){}['_serializeShapeForUnit'](_0x3e78f0){const _0x22ef61=_0x2cc36b;let _0x813e4={},_0x555a03=this[_0x22ef61(0x19e)][_0x22ef61(0x141)](_0x3e78f0);return _0x555a03&&_0x555a03[_0x22ef61(0x13b)]((_0x70fd66,_0x5ef9dd)=>{const _0xcd6e96=_0x22ef61;let _0x49a4b4=_0x70fd66[_0xcd6e96(0x1a7)]();_0x49a4b4[_0xcd6e96(0x1c1)]>0x0&&(_0x813e4[_0x5ef9dd]=_0x49a4b4);}),JSON[_0x22ef61(0x1bd)](_0x813e4);}[_0x2cc36b(0x1df)](_0x55959f,_0x24dde3){const _0xa124ed=_0x2cc36b;Object[_0xa124ed(0x1a3)](_0x24dde3)[_0xa124ed(0x13b)](_0x34f151=>{const _0x118b64=_0xa124ed;this[_0x118b64(0x135)](_0x55959f,_0x34f151)[_0x118b64(0x189)](_0x24dde3[_0x34f151]);});}[_0x2cc36b(0x1a7)](){const _0x3fefa2=_0x2cc36b;let _0x27891a={};return this[_0x3fefa2(0x19e)][_0x3fefa2(0x13b)]((_0x409f38,_0x264b7f)=>{const _0x3c1f52=_0x3fefa2;_0x27891a[_0x264b7f]={},_0x409f38[_0x3c1f52(0x13b)]((_0x23ff27,_0x17f435)=>{const _0x330d04=_0x3c1f52;_0x27891a[_0x264b7f][_0x17f435]=_0x23ff27[_0x330d04(0x1a7)]();});}),_0x27891a;}['fromJSON'](_0x6bd9de){const _0x9604a6=_0x2cc36b;Object[_0x9604a6(0x1a3)](_0x6bd9de)[_0x9604a6(0x13b)](_0x56f11c=>{const _0x4a230a=_0x9604a6;let _0x35852f=_0x6bd9de[_0x56f11c];Object[_0x4a230a(0x1a3)](_0x35852f)[_0x4a230a(0x13b)](_0x934418=>{const _0x551008=_0x4a230a;this['_ensureShapeModelManager'](_0x56f11c,_0x934418)[_0x551008(0x189)](_0x35852f[_0x934418]);});});}[_0x2cc36b(0x198)](){const _0x59f0f4=_0x2cc36b;this[_0x59f0f4(0x1dc)][_0x59f0f4(0x177)]({'pluginName':_0x59f0f4(0x187),'businesses':[_0x331193['UNIVER_SHEET']],'toJson':_0x23bf37=>this['_serializeShapeForUnit'](_0x23bf37),'parseJson':_0xcef4f1=>JSON['parse'](_0xcef4f1),'onLoad':(_0x2db602,_0x39fd0f)=>{this['_deserializeShapeForUnit'](_0x2db602,_0x39fd0f);},'onUnLoad':_0xec258e=>{const _0x446b28=_0x59f0f4;let _0x350e12=this[_0x446b28(0x19e)][_0x446b28(0x141)](_0xec258e);_0x350e12&&(_0x350e12[_0x446b28(0x13b)](_0x14b49b=>{const _0x490053=_0x446b28;_0x14b49b[_0x490053(0x1a5)]();}),this[_0x446b28(0x19e)][_0x446b28(0x16c)](_0xec258e));}});}[_0x2cc36b(0x1a5)](){const _0x56ca34=_0x2cc36b;this[_0x56ca34(0x19e)][_0x56ca34(0x13b)](_0xbb845e=>{const _0x2e5676=_0x56ca34;_0xbb845e[_0x2e5676(0x13b)](_0x2027da=>{const _0x178b17=_0x2e5676;_0x2027da[_0x178b17(0x1a5)]();});});}};Y=J([q(0x0,_0x396a14)],Y);const X={'id':_0x2cc36b(0x159),'type':_0x511404[_0x2cc36b(0x1d9)],'handler':(_0xc5e23d,_0xe397e4)=>{const _0x4da7b3=_0x2cc36b;let {unitId:_0x4241c6,subUnitId:_0x2e60c0,shapeType:_0xe86d8d,shapeId:_0x107678,shapeName:_0x48f2d1,shapeData:_0x53c785}=_0xe397e4;return _0xc5e23d[_0x4da7b3(0x141)](Y)['insertShape'](_0x4241c6,_0x2e60c0,_0xe86d8d,_0x107678,_0x53c785,_0x48f2d1),!0x0;}},Z={'id':_0x2cc36b(0x170),'type':_0x511404[_0x2cc36b(0x1d9)],'handler':(_0x4d0fd1,_0x5c15a6)=>{const _0x55e339=_0x2cc36b;let {unitId:_0x584dd2,subUnitId:_0x489aa9,shapeId:_0x82e0dc}=_0x5c15a6;return _0x4d0fd1[_0x55e339(0x141)](Y)[_0x55e339(0x1bf)](_0x584dd2,_0x489aa9,_0x82e0dc),!0x0;}},Q={'type':_0x511404[_0x2cc36b(0x1a4)],'id':_0x2cc36b(0x164),'handler':(_0x3a7a6f,_0x3c16a7)=>{const _0xb15e7=_0x2cc36b;var _0xb2cf46,_0x17327c,_0x312db5,_0x51d4e6,_0xd0bbf6,_0x5687f8,_0x28a3f6;let _0xeac7ad=_0x1e50ce(_0x3a7a6f[_0xb15e7(0x141)](_0xf45f65),_0x3c16a7);if(!_0xeac7ad)return!0x1;let _0x171020=_0x3a7a6f[_0xb15e7(0x141)](_0xd25a0a),{unitId:_0x125e6f,subUnitId:_0x386aa3}=_0xeac7ad,_0x2d5db9=_0x171020[_0xb15e7(0x1d7)](_0x125e6f,_0x386aa3);if(!_0x2d5db9)return!0x1;let _0x5f43eb=_0x3a7a6f[_0xb15e7(0x141)](_0x890563),_0x128900=_0x3a7a6f[_0xb15e7(0x141)](_0x533e48),_0x15615e=_0x3a7a6f[_0xb15e7(0x141)](_0x4765d7),_0x8b134b=_0x3a7a6f[_0xb15e7(0x141)](_0x49153e),_0xb71078=_0x3a7a6f[_0xb15e7(0x141)](Y),{shapeType:_0x31f234,shapeData:_0x3bc4ba}=_0x3c16a7,_0xee9390=_0x3c16a7['shapeId']||_0x636416(),_0xd5b17b={'unitId':_0x125e6f,'subUnitId':_0x386aa3,'shapeId':_0xee9390,'shapeName':(_0xb2cf46=_0x3c16a7[_0xb15e7(0x16f)])==null?_0x5998cb(_0x31f234,_0xb71078[_0xb15e7(0x142)](_0x125e6f,_0x386aa3)):_0xb2cf46,'shapeType':_0x31f234,'shapeData':_0x3bc4ba},_0x50a334=_0x3c16a7[_0xb15e7(0x15b)]||0xc8,_0x40cd50=_0x3c16a7[_0xb15e7(0x1ab)]||0xc8,_0x4d4ede=0x0,_0x5837ad=0x0;if(_0x3c16a7[_0xb15e7(0x1be)]){let {x:_0x17e765,y:_0xff11c4}=_0x3c16a7[_0xb15e7(0x1be)];_0x4d4ede=_0x17e765,_0x5837ad=_0xff11c4;}else{if(_0x3c16a7[_0xb15e7(0x1a9)]){let {startRow:_0x5ec876,startColumn:_0x532b75}=_0x3c16a7[_0xb15e7(0x1a9)],_0x3b4ab4=_0x2d5db9['getCellWithCoordByIndex'](_0x5ec876,_0x532b75);_0x4d4ede=_0x3b4ab4[_0xb15e7(0x136)]+0xa,_0x5837ad=_0x3b4ab4[_0xb15e7(0x169)]+0xa;}}let _0x24d983={'left':_0x4d4ede,'top':_0x5837ad,'width':_0x50a334,'height':_0x40cd50,'angle':(_0x17327c=_0x3c16a7['rotation'])==null?0x0:_0x17327c,'flipX':(_0x312db5=_0x3c16a7['flipX'])==null?!0x1:_0x312db5,'flipY':(_0x51d4e6=_0x3c16a7[_0xb15e7(0x16d)])==null?!0x1:_0x51d4e6},_0x3d4057=_0x13c01e(_0x24d983,_0x2d5db9),_0x1cfe73=_0x138bbc(_0x24d983,_0x2d5db9),_0x27fccf={'unitId':_0x125e6f,'subUnitId':_0x386aa3,'drawingId':_0xee9390,'drawingType':_0xf887e9[_0xb15e7(0x13e)],'name':_0x3c16a7[_0xb15e7(0x182)],'description':_0x3c16a7[_0xb15e7(0x1a1)],'sheetTransform':_0x3d4057,'transform':_0x24d983,'data':{'shapeType':_0x31f234,'shapeData':_0x3bc4ba},'axisAlignSheetTransform':_0x1cfe73,'allowTransform':!0x0,'hidden':_0x3c16a7[_0xb15e7(0x193)]===!0x1,'selectable':(_0xd0bbf6=_0x3c16a7[_0xb15e7(0x1ae)])==null?!0x0:_0xd0bbf6};_0xe27082(_0x31f234)&&(_0x27fccf[_0xb15e7(0x160)][_0xb15e7(0x1e7)]=!0x1,_0x27fccf[_0xb15e7(0x160)][_0xb15e7(0x18c)]=!0x1,_0x27fccf[_0xb15e7(0x160)]['resizeEnabled']=!0x1,_0x27fccf[_0xb15e7(0x160)][_0xb15e7(0x156)]=!0x1,_0x27fccf[_0xb15e7(0x184)][_0xb15e7(0x18c)]=!0x1,_0x27fccf[_0xb15e7(0x184)][_0xb15e7(0x152)]=!0x1,_0x27fccf[_0xb15e7(0x184)]['borderEnabled']=!0x1);let {undo:_0x32e2,redo:_0x3a4771,objects:_0x83cfe0}=_0x8b134b[_0xb15e7(0x194)]([_0x27fccf]),_0x7a3159=_0x15615e[_0xb15e7(0x1ad)]({'id':_0x4b8797['id'],'params':{'unitId':_0x125e6f,'drawings':[_0x27fccf]}}),_0x58010f=[...(_0x5687f8=_0x7a3159[_0xb15e7(0x137)])==null?[]:_0x5687f8,{'id':_0xfb8b27['id'],'params':{'unitId':_0x125e6f,'subUnitId':_0x386aa3,'op':_0x3a4771,'objects':_0x83cfe0,'type':_0x4ac3c0[_0xb15e7(0x1c6)]}},{'id':_0x52e0f1['id'],'params':[_0x125e6f]},..._0x7a3159[_0xb15e7(0x1cd)],{'id':X['id'],'params':_0xd5b17b}],_0x532675=[{'id':Z['id'],'params':{'unitId':_0x125e6f,'subUnitId':_0x386aa3,'shapeId':_0xee9390}},...(_0x28a3f6=_0x7a3159[_0xb15e7(0x1e5)])==null?[]:_0x28a3f6,{'id':_0xfb8b27['id'],'params':{'unitId':_0x125e6f,'subUnitId':_0x386aa3,'op':_0x32e2,'objects':_0x83cfe0,'type':_0x4ac3c0['REMOVE']}},{'id':_0x52e0f1['id'],'params':[_0x125e6f]},..._0x7a3159['undos']];return _0x234cbb(_0x58010f,_0x5f43eb)[_0xb15e7(0x1c7)]?(_0x128900['pushUndoRedo']({'unitID':_0x125e6f,'undoMutations':_0x532675,'redoMutations':_0x58010f}),!0x0):!0x1;}},$={'id':_0x2cc36b(0x144),'type':_0x511404['MUTATION'],'handler':(_0x5b74c1,_0x1341a7)=>{const _0x118680=_0x2cc36b;let {unitId:_0x2679b1,subUnitId:_0x286aac,shapeType:_0x12860e,shapeId:_0xc1149f,shapeData:_0x5ebfc9}=_0x1341a7,_0x403113=_0x5b74c1[_0x118680(0x141)](Y)[_0x118680(0x1d0)](_0x2679b1,_0x286aac,_0xc1149f);return _0x403113&&(_0x12860e!==void 0x0&&_0x403113[_0x118680(0x1a8)](_0x12860e),_0x5ebfc9&&(_0x403113==null||_0x403113[_0x118680(0x1e0)](_0x5ebfc9,!0x0))),!0x0;}},ne={'type':_0x511404[_0x2cc36b(0x1a4)],'id':_0x2cc36b(0x14f),'handler':(_0x412661,_0x1f8db8)=>{const _0x26c9bc=_0x2cc36b;var _0x387879,_0x45e274,_0x4ab792,_0x161f65,_0x29492b;let _0xefa5b5=_0x1e50ce(_0x412661[_0x26c9bc(0x141)](_0xf45f65),_0x1f8db8);if(!_0xefa5b5)return!0x1;let _0x50f0d8=_0x412661['get'](_0xd25a0a),{unitId:_0x7dbf26,subUnitId:_0x4fac2d}=_0xefa5b5,_0x168433=_0x50f0d8['ensureSkeleton'](_0x7dbf26,_0x4fac2d);if(!_0x168433)return!0x1;let _0x2263dd=_0x412661[_0x26c9bc(0x141)](Y),{shapeId:_0x43ea2a,shapeType:_0x1e215f,shapeData:_0x310e6b,position:_0x43cd58,width:_0x4486a0,height:_0x52b925}=_0x1f8db8,_0x686b04=_0x2263dd[_0x26c9bc(0x1d0)](_0x7dbf26,_0x4fac2d,_0x43ea2a);if(!_0x686b04)return!0x1;let _0x4faf41=_0x412661[_0x26c9bc(0x141)](_0x890563),_0x454764=_0x412661[_0x26c9bc(0x141)](_0x533e48),_0x326f98=_0x412661['get'](_0x4765d7),_0x56f66a=_0x412661[_0x26c9bc(0x141)](_0x49153e),_0x14f077={'unitId':_0x7dbf26,'subUnitId':_0x4fac2d,'shapeId':_0x43ea2a,'shapeType':_0x1e215f,'shapeData':_0x310e6b},_0x1719cf=_0x686b04[_0x26c9bc(0x1af)](),_0x516387=_0x686b04[_0x26c9bc(0x15e)](),{x:_0x572077,y:_0x74121e}=_0x43cd58,_0x51ba93={'left':_0x572077,'top':_0x74121e,'width':_0x4486a0,'height':_0x52b925,'angle':(_0x387879=_0x1f8db8[_0x26c9bc(0x1b2)])==null?0x0:_0x387879,'flipX':(_0x45e274=_0x1f8db8[_0x26c9bc(0x14b)])==null?!0x1:_0x45e274,'flipY':(_0x4ab792=_0x1f8db8[_0x26c9bc(0x16d)])==null?!0x1:_0x4ab792},_0x438951=_0x13c01e(_0x51ba93,_0x168433),_0x1b2163=_0x138bbc(_0x51ba93,_0x168433),_0x704a9b={'unitId':_0x7dbf26,'subUnitId':_0x4fac2d,'drawingId':_0x43ea2a,'drawingType':_0xf887e9[_0x26c9bc(0x13e)],'name':_0x1f8db8[_0x26c9bc(0x182)],'description':_0x1f8db8[_0x26c9bc(0x1a1)],'sheetTransform':_0x438951,'transform':_0x51ba93,'data':{'shapeType':_0x1e215f,'shapeData':_0x310e6b},'axisAlignSheetTransform':_0x1b2163,'allowTransform':!0x0,'hidden':!_0x1f8db8[_0x26c9bc(0x193)],'selectable':_0x1f8db8['selectable']};_0xe27082(_0x1e215f)&&(_0x704a9b[_0x26c9bc(0x160)]['fill']=!0x1,_0x704a9b[_0x26c9bc(0x160)][_0x26c9bc(0x18c)]=!0x1,_0x704a9b['data']['resizeEnabled']=!0x1,_0x704a9b['data'][_0x26c9bc(0x156)]=!0x1,_0x704a9b[_0x26c9bc(0x184)][_0x26c9bc(0x18c)]=!0x1,_0x704a9b['transform'][_0x26c9bc(0x152)]=!0x1,_0x704a9b['transform'][_0x26c9bc(0x156)]=!0x1);let {undo:_0x141f59,redo:_0x4aa87f,objects:_0x2d3a6d}=_0x56f66a[_0x26c9bc(0x1b4)]([_0x704a9b]),_0x48a8a9=_0x326f98[_0x26c9bc(0x1ad)]({'id':_0x354f23['id'],'params':{'unitId':_0x7dbf26,'drawings':[_0x704a9b]}}),_0x395189=[...(_0x161f65=_0x48a8a9[_0x26c9bc(0x137)])==null?[]:_0x161f65,{'id':_0xfb8b27['id'],'params':{'unitId':_0x7dbf26,'subUnitId':_0x4fac2d,'op':_0x4aa87f,'objects':_0x2d3a6d,'type':_0x4ac3c0[_0x26c9bc(0x1ba)]}},{'id':_0x52e0f1['id'],'params':[_0x7dbf26]},..._0x48a8a9[_0x26c9bc(0x1cd)],{'id':$['id'],'params':_0x14f077}],_0x1ccc7d=[...(_0x29492b=_0x48a8a9[_0x26c9bc(0x1e5)])==null?[]:_0x29492b,{'id':_0xfb8b27['id'],'params':{'unitId':_0x7dbf26,'subUnitId':_0x4fac2d,'op':_0x141f59,'objects':_0x2d3a6d,'type':_0x4ac3c0['UPDATE']}},{'id':_0x52e0f1['id'],'params':[_0x7dbf26]},..._0x48a8a9[_0x26c9bc(0x19a)],{'id':$['id'],'params':{'unitId':_0x7dbf26,'subUnitId':_0x4fac2d,'shapeType':_0x1719cf,'shapeId':_0x43ea2a,'shapeData':_0x516387}}];return _0x234cbb(_0x395189,_0x4faf41)[_0x26c9bc(0x1c7)]?(_0x454764['pushUndoRedo']({'unitID':_0x7dbf26,'undoMutations':_0x1ccc7d,'redoMutations':_0x395189}),!0x0):!0x1;}},re={'type':_0x511404[_0x2cc36b(0x1a4)],'id':_0x2cc36b(0x143),'handler':(_0x2265a0,_0x529cb7)=>{const _0x585996=_0x2cc36b;var _0x389046,_0x38c624;let _0x34452d=_0x1e50ce(_0x2265a0[_0x585996(0x141)](_0xf45f65),_0x529cb7);if(!_0x34452d)return!0x1;let _0x56a9d4=_0x2265a0[_0x585996(0x141)](_0xd25a0a),{unitId:_0x184b82,subUnitId:_0x2323f2}=_0x34452d,_0x2b34f9=_0x56a9d4[_0x585996(0x1e1)](_0x184b82,_0x2323f2);if(!_0x2b34f9)return!0x1;let _0x17e31e=_0x2265a0[_0x585996(0x141)](_0x49153e),{shapeId:_0x280f99,flipH:_0x45cdda,flipV:_0x1a3641}=_0x529cb7,_0x1c57c1=_0x17e31e['getDrawingByParam']({'unitId':_0x184b82,'subUnitId':_0x2323f2,'drawingId':_0x280f99});if(!_0x1c57c1)return!0x1;let _0x642bb3=_0x2265a0[_0x585996(0x141)](Y)['getShapeModel'](_0x184b82,_0x2323f2,_0x280f99);if(!_0x642bb3)return!0x1;let _0x29cf84=_0x2265a0[_0x585996(0x141)](_0x890563),_0x283350=_0x2265a0[_0x585996(0x141)](_0x533e48),_0x4218e5=_0x2265a0[_0x585996(0x141)](_0x4765d7),_0x5e3e9c={..._0x1c57c1[_0x585996(0x184)]};_0x45cdda!==void 0x0&&(_0x5e3e9c[_0x585996(0x14b)]=!_0x5e3e9c[_0x585996(0x14b)]),_0x1a3641!==void 0x0&&(_0x5e3e9c[_0x585996(0x16d)]=!_0x5e3e9c[_0x585996(0x16d)]);let _0x35b3b6=_0x13c01e(_0x5e3e9c,_0x2b34f9),_0x3c5f87=_0x138bbc(_0x5e3e9c,_0x2b34f9),_0x1deb9c=_0x642bb3[_0x585996(0x1af)](),_0x55fc5c=_0x642bb3['getShapeData'](),_0x4aa8c7={'unitId':_0x184b82,'subUnitId':_0x2323f2,'drawingId':_0x280f99,'drawingType':_0xf887e9[_0x585996(0x13e)],'sheetTransform':_0x35b3b6,'transform':_0x5e3e9c,'data':{'shapeType':_0x1deb9c,'shapeData':_0x55fc5c},'axisAlignSheetTransform':_0x3c5f87,'allowTransform':!0x0},{undo:_0x432cb2,redo:_0xfbb312,objects:_0x276cb9}=_0x17e31e[_0x585996(0x1b4)]([_0x4aa8c7]),_0x14151d=_0x4218e5[_0x585996(0x1ad)]({'id':_0x354f23['id'],'params':{'unitId':_0x184b82,'drawings':[_0x4aa8c7]}}),_0x1cdc82=[...(_0x389046=_0x14151d[_0x585996(0x137)])==null?[]:_0x389046,{'id':_0xfb8b27['id'],'params':{'unitId':_0x184b82,'subUnitId':_0x2323f2,'op':_0xfbb312,'objects':_0x276cb9,'type':_0x4ac3c0[_0x585996(0x1ba)]}},{'id':_0x52e0f1['id'],'params':[_0x184b82]},..._0x14151d[_0x585996(0x1cd)]],_0x4caaa7=[...(_0x38c624=_0x14151d[_0x585996(0x1e5)])==null?[]:_0x38c624,{'id':_0xfb8b27['id'],'params':{'unitId':_0x184b82,'subUnitId':_0x2323f2,'op':_0x432cb2,'objects':_0x276cb9,'type':_0x4ac3c0[_0x585996(0x1ba)]}},{'id':_0x52e0f1['id'],'params':[_0x184b82]},..._0x14151d[_0x585996(0x19a)]];if(_0xe27082(_0x1deb9c)){let _0x223613=_0x642bb3['getShapeRelation']();if(_0x223613){let _0x436c42={..._0x223613};_0x436c42['from']=void 0x0,_0x436c42['to']=void 0x0,_0x1cdc82[_0x585996(0x1e4)]({'id':$['id'],'params':{'unitId':_0x184b82,'subUnitId':_0x2323f2,'shapeId':_0x280f99,'shapeType':_0x1deb9c,'shapeData':{'relation':_0x436c42}}}),_0x4caaa7['push']({'id':$['id'],'params':{'unitId':_0x184b82,'subUnitId':_0x2323f2,'shapeId':_0x280f99,'shapeType':_0x1deb9c,'shapeData':{'relation':_0x223613}}});}}return _0x234cbb(_0x1cdc82,_0x29cf84)[_0x585996(0x1c7)]?(_0x283350['pushUndoRedo']({'unitID':_0x184b82,'undoMutations':_0x4caaa7,'redoMutations':_0x1cdc82}),!0x0):!0x1;}},ie={'type':_0x511404['COMMAND'],'id':_0x2cc36b(0x16b),'handler':(_0x3e4d90,_0x2d6316)=>{const _0x9cb9bf=_0x2cc36b;var _0x7dfdd4,_0x371667;let _0x7f1535=_0x1e50ce(_0x3e4d90['get'](_0xf45f65),_0x2d6316);if(!_0x7f1535)return!0x1;let _0x93da82=_0x3e4d90[_0x9cb9bf(0x141)](_0xd25a0a),{unitId:_0x4bf926,subUnitId:_0x52f1a8}=_0x7f1535,_0x559972=_0x93da82['getSkeleton'](_0x4bf926,_0x52f1a8);if(!_0x559972)return!0x1;let _0xa0264d=_0x3e4d90[_0x9cb9bf(0x141)](_0x49153e),{shapeId:_0x3c874d,rotate:_0x45f6ba}=_0x2d6316,_0x40acfd=_0xa0264d[_0x9cb9bf(0x1c0)]({'unitId':_0x4bf926,'subUnitId':_0x52f1a8,'drawingId':_0x3c874d});if(!_0x40acfd)return!0x1;let _0x5bb535=_0x3e4d90['get'](Y)[_0x9cb9bf(0x1d0)](_0x4bf926,_0x52f1a8,_0x3c874d);if(!_0x5bb535)return!0x1;let _0x2f89e1=_0x3e4d90[_0x9cb9bf(0x141)](_0x890563),_0x49c8ee=_0x3e4d90[_0x9cb9bf(0x141)](_0x533e48),_0x5dc9f2=_0x3e4d90['get'](_0x4765d7),_0x2ebd95={..._0x40acfd[_0x9cb9bf(0x184)]};_0x45f6ba!==void 0x0&&(_0x2ebd95[_0x9cb9bf(0x163)]=(_0x2ebd95[_0x9cb9bf(0x163)]||0x0)+_0x45f6ba);let _0x444fdd=_0x13c01e(_0x2ebd95,_0x559972),_0x1a31a5=_0x138bbc(_0x2ebd95,_0x559972),_0x3a8c96=_0x5bb535['getShapeType'](),_0x2be8b0=_0x5bb535[_0x9cb9bf(0x15e)](),_0x248bf5={'unitId':_0x4bf926,'subUnitId':_0x52f1a8,'drawingId':_0x3c874d,'drawingType':_0xf887e9[_0x9cb9bf(0x13e)],'sheetTransform':_0x444fdd,'transform':_0x2ebd95,'data':{'shapeType':_0x3a8c96,'shapeData':_0x2be8b0},'axisAlignSheetTransform':_0x1a31a5,'allowTransform':!0x0},{undo:_0x1ebadb,redo:_0x4d9b80,objects:_0x1cf3e6}=_0xa0264d[_0x9cb9bf(0x1b4)]([_0x248bf5]),_0x3093a=_0x5dc9f2[_0x9cb9bf(0x1ad)]({'id':_0x354f23['id'],'params':{'unitId':_0x4bf926,'drawings':[_0x248bf5]}}),_0x400950=[...(_0x7dfdd4=_0x3093a[_0x9cb9bf(0x137)])==null?[]:_0x7dfdd4,{'id':_0xfb8b27['id'],'params':{'unitId':_0x4bf926,'subUnitId':_0x52f1a8,'op':_0x4d9b80,'objects':_0x1cf3e6,'type':_0x4ac3c0['UPDATE']}},{'id':_0x52e0f1['id'],'params':[_0x4bf926]},..._0x3093a[_0x9cb9bf(0x1cd)]],_0x2f9a9e=[...(_0x371667=_0x3093a[_0x9cb9bf(0x1e5)])==null?[]:_0x371667,{'id':_0xfb8b27['id'],'params':{'unitId':_0x4bf926,'subUnitId':_0x52f1a8,'op':_0x1ebadb,'objects':_0x1cf3e6,'type':_0x4ac3c0['UPDATE']}},{'id':_0x52e0f1['id'],'params':[_0x4bf926]},..._0x3093a[_0x9cb9bf(0x19a)]];return _0x234cbb(_0x400950,_0x2f89e1)[_0x9cb9bf(0x1c7)]?(_0x49c8ee[_0x9cb9bf(0x1da)]({'unitID':_0x4bf926,'undoMutations':_0x2f9a9e,'redoMutations':_0x400950}),!0x0):!0x1;}},ae={'type':_0x511404['COMMAND'],'id':_0x2cc36b(0x151),'handler':(_0x5f1ad7,_0x312f9f)=>{const _0x29f3c8=_0x2cc36b;var _0x3b331e;let _0x4b701c=_0x1e50ce(_0x5f1ad7['get'](_0xf45f65),_0x312f9f);if(!_0x4b701c)return!0x1;let {unitId:_0x5dd6d5,subUnitId:_0x41cf83}=_0x4b701c,{shapeId:_0x5afc26}=_0x312f9f,_0x3ed567=_0x5f1ad7['get'](Y)[_0x29f3c8(0x1d0)](_0x5dd6d5,_0x41cf83,_0x5afc26);if(!_0x3ed567)return!0x1;let _0xf52a21=_0x3ed567[_0x29f3c8(0x1cf)](),_0x3eecdf=(_0x3b331e=_0xf52a21==null?void 0x0:_0xf52a21['isHorizontal'])==null?!0x0:_0x3b331e,_0x358622=!_0x3eecdf,_0xd515ef=_0x5f1ad7[_0x29f3c8(0x141)](_0x890563),_0x539bd3=_0x5f1ad7[_0x29f3c8(0x141)](_0x533e48),_0x1543fe={'unitId':_0x5dd6d5,'subUnitId':_0x41cf83,'shapeId':_0x5afc26,'shapeData':{'shapeText':{'isHorizontal':_0x358622}}},_0x13fe21={'unitId':_0x5dd6d5,'subUnitId':_0x41cf83,'shapeId':_0x5afc26,'shapeData':{'shapeText':{'isHorizontal':_0x3eecdf}}},_0x19a7d4=[{'id':$['id'],'params':_0x1543fe}],_0x200a5d=[{'id':$['id'],'params':_0x13fe21}];return _0x234cbb(_0x19a7d4,_0xd515ef)[_0x29f3c8(0x1c7)]?(_0x539bd3[_0x29f3c8(0x1da)]({'unitID':_0x5dd6d5,'undoMutations':_0x200a5d,'redoMutations':_0x19a7d4}),!0x0):!0x1;}},oe={'type':_0x511404[_0x2cc36b(0x1a4)],'id':'sheet.command.update-connector-relation','handler':(_0x5c82da,_0x28b640)=>{const _0x361330=_0x2cc36b;var _0x421630,_0x1c42a1,_0x5083f1,_0x5dadc5;let _0x5d9006=_0x1e50ce(_0x5c82da['get'](_0xf45f65),_0x28b640);if(!_0x5d9006)return!0x1;let _0x1ed7d3=_0x5c82da['get'](_0xd25a0a),{unitId:_0x2738bc,subUnitId:_0xbeb3b2}=_0x5d9006,_0x519fad=_0x1ed7d3[_0x361330(0x1e1)](_0x2738bc,_0xbeb3b2);if(!_0x519fad)return!0x1;let _0x30bae2=_0x5c82da['get'](_0x49153e),{connectorShapeId:_0x29bab9,width:_0x48a3a8,height:_0x2c9edb,left:_0x4e9c4a,top:_0x460267,flipX:_0x16f2da,flipY:_0x4c6b4e,rotation:_0x3ea08e,oldAdjustValues:_0x27784b,newAdjustValues:_0x226c5f,oldLineType:_0x5d118c,newLineType:_0x4e5288,oldRelation:_0x31571a,newRelation:_0x126384}=_0x28b640,_0x455a3c=_0x30bae2[_0x361330(0x1c0)]({'unitId':_0x2738bc,'subUnitId':_0xbeb3b2,'drawingId':_0x29bab9});if(!_0x455a3c)return!0x1;let _0x8cda1a=_0x5c82da['get'](Y)[_0x361330(0x1d0)](_0x2738bc,_0xbeb3b2,_0x29bab9);if(!_0x8cda1a)return!0x1;let _0x25ee6f=_0x5c82da[_0x361330(0x141)](_0x890563),_0x27e0b9=_0x5c82da[_0x361330(0x141)](_0x533e48),_0x5b7536=_0x5c82da[_0x361330(0x141)](_0x4765d7),_0x2fe4b9={..._0x455a3c[_0x361330(0x184)],'width':_0x48a3a8,'height':_0x2c9edb,'left':_0x4e9c4a,'top':_0x460267,'flipX':_0x16f2da,'flipY':_0x4c6b4e,'angle':(_0x421630=_0x3ea08e==null?(_0x1c42a1=_0x455a3c[_0x361330(0x184)])==null?void 0x0:_0x1c42a1[_0x361330(0x163)]:_0x3ea08e)==null?0x0:_0x421630},_0x4fc5d7=_0x13c01e(_0x2fe4b9,_0x519fad),_0xf90653=_0x138bbc(_0x2fe4b9,_0x519fad),_0x3bcfa3=_0x8cda1a[_0x361330(0x1af)](),_0x1cefe2=_0x8cda1a[_0x361330(0x15e)](),_0x1c0ef6={'unitId':_0x2738bc,'subUnitId':_0xbeb3b2,'drawingId':_0x29bab9,'drawingType':_0xf887e9[_0x361330(0x13e)],'sheetTransform':_0x4fc5d7,'transform':_0x2fe4b9,'data':{'shapeType':_0x4e5288||_0x5d118c||_0x3bcfa3,'shapeData':{..._0x1cefe2,'adjustValues':_0x226c5f||_0x27784b||(_0x1cefe2==null?void 0x0:_0x1cefe2[_0x361330(0x188)]),'relation':_0x126384||_0x31571a||(_0x1cefe2==null?void 0x0:_0x1cefe2['relation'])}},'axisAlignSheetTransform':_0xf90653,'allowTransform':!0x0},{undo:_0x2888d3,redo:_0x456321,objects:_0x57059c}=_0x30bae2[_0x361330(0x1b4)]([_0x1c0ef6]),_0x4d9ac7=_0x5b7536[_0x361330(0x1ad)]({'id':_0x354f23['id'],'params':{'unitId':_0x2738bc,'drawings':[_0x1c0ef6]}}),_0x341c5b=[...(_0x5083f1=_0x4d9ac7[_0x361330(0x137)])==null?[]:_0x5083f1,{'id':_0xfb8b27['id'],'params':{'unitId':_0x2738bc,'subUnitId':_0xbeb3b2,'op':_0x456321,'objects':_0x57059c,'type':_0x4ac3c0[_0x361330(0x1ba)]}},{'id':_0x52e0f1['id'],'params':[_0x2738bc]},..._0x4d9ac7['redos'],{'id':$['id'],'params':{'unitId':_0x2738bc,'subUnitId':_0xbeb3b2,'shapeId':_0x29bab9,'shapeType':_0x4e5288,'shapeData':{'adjustValues':_0x226c5f,'relation':_0x126384}}}],_0x9bdbc8=[...(_0x5dadc5=_0x4d9ac7[_0x361330(0x1e5)])==null?[]:_0x5dadc5,{'id':_0xfb8b27['id'],'params':{'unitId':_0x2738bc,'subUnitId':_0xbeb3b2,'op':_0x2888d3,'objects':_0x57059c,'type':_0x4ac3c0[_0x361330(0x1ba)]}},{'id':_0x52e0f1['id'],'params':[_0x2738bc]},..._0x4d9ac7[_0x361330(0x19a)],{'id':$['id'],'params':{'unitId':_0x2738bc,'subUnitId':_0xbeb3b2,'shapeId':_0x29bab9,'shapeType':_0x3bcfa3,'shapeData':{..._0x1cefe2,'adjustValues':_0x27784b||(_0x1cefe2==null?void 0x0:_0x1cefe2[_0x361330(0x188)]),'relation':_0x31571a||(_0x1cefe2==null?void 0x0:_0x1cefe2['relation'])}}}];return _0x234cbb(_0x341c5b,_0x25ee6f)[_0x361330(0x1c7)]?(_0x27e0b9[_0x361330(0x1da)]({'unitID':_0x2738bc,'undoMutations':_0x9bdbc8,'redoMutations':_0x341c5b}),!0x0):!0x1;}},se={'type':_0x511404['COMMAND'],'id':_0x2cc36b(0x1cb),'handler':(_0x24da6e,_0x3156be)=>{const _0x478700=_0x2cc36b;var _0x18c2c1,_0x216e86;let _0x3f3583=_0x1e50ce(_0x24da6e[_0x478700(0x141)](_0xf45f65),_0x3156be);if(!_0x3f3583)return!0x1;let _0x42a9b5=_0x24da6e[_0x478700(0x141)](_0xd25a0a),{unitId:_0x50d047,subUnitId:_0x3e7eb8}=_0x3f3583,_0x351ea4=_0x42a9b5['getSkeleton'](_0x50d047,_0x3e7eb8);if(!_0x351ea4)return!0x1;let _0x4536bd=_0x24da6e[_0x478700(0x141)](_0x49153e),{shapeId:_0x29ca8e,width:_0x57e369,height:_0x17084e,left:_0x46f885,top:_0x28e864,flipX:_0x5834a6,flipY:_0x3bb406,angle:_0x5aad33,oldAdjustValues:_0x37f415,newAdjustValues:_0x11ee6a,oldLineType:_0xd9130b,newLineType:_0x4bdcae}=_0x3156be,_0xd59bfb=_0x4536bd[_0x478700(0x1c0)]({'unitId':_0x50d047,'subUnitId':_0x3e7eb8,'drawingId':_0x29ca8e});if(!_0xd59bfb)return!0x1;let _0x3dcc42=_0x24da6e[_0x478700(0x141)](Y)['getShapeModel'](_0x50d047,_0x3e7eb8,_0x29ca8e);if(!_0x3dcc42)return!0x1;let _0x2c2479=_0x24da6e[_0x478700(0x141)](_0x890563),_0x2b3d05=_0x24da6e['get'](_0x533e48),_0x2def76=_0x24da6e[_0x478700(0x141)](_0x4765d7),_0x34449e={..._0xd59bfb[_0x478700(0x184)],'width':_0x57e369,'height':_0x17084e,'left':_0x46f885,'top':_0x28e864,'flipX':_0x5834a6,'flipY':_0x3bb406,'angle':_0x5aad33},_0x1a8607=_0x13c01e(_0x34449e,_0x351ea4),_0x405b8b=_0x138bbc(_0x34449e,_0x351ea4),_0x3d1fec=_0x3dcc42[_0x478700(0x1af)](),_0x4def23=_0x3dcc42[_0x478700(0x15e)](),_0x249603={'unitId':_0x50d047,'subUnitId':_0x3e7eb8,'drawingId':_0x29ca8e,'drawingType':_0xf887e9['DRAWING_SHAPE'],'sheetTransform':_0x1a8607,'transform':_0x34449e,'data':{'shapeType':_0x4bdcae||_0xd9130b||_0x3d1fec,'shapeData':{..._0x4def23,'adjustValues':_0x11ee6a||_0x37f415||(_0x4def23==null?void 0x0:_0x4def23[_0x478700(0x188)])}},'axisAlignSheetTransform':_0x405b8b,'allowTransform':!0x0},{undo:_0x318e07,redo:_0x456f73,objects:_0x179a4d}=_0x4536bd[_0x478700(0x1b4)]([_0x249603]),_0x7da503=_0x2def76[_0x478700(0x1ad)]({'id':_0x354f23['id'],'params':{'unitId':_0x50d047,'drawings':[_0x249603]}}),_0x204cf1=[...(_0x18c2c1=_0x7da503[_0x478700(0x137)])==null?[]:_0x18c2c1,{'id':_0xfb8b27['id'],'params':{'unitId':_0x50d047,'subUnitId':_0x3e7eb8,'op':_0x456f73,'objects':_0x179a4d,'type':_0x4ac3c0['UPDATE']}},{'id':_0x52e0f1['id'],'params':[_0x50d047]},..._0x7da503[_0x478700(0x1cd)],{'id':$['id'],'params':{'unitId':_0x50d047,'subUnitId':_0x3e7eb8,'shapeId':_0x29ca8e,'shapeType':_0x4bdcae,'shapeData':{'adjustValues':_0x11ee6a}}}],_0x270a98=[...(_0x216e86=_0x7da503[_0x478700(0x1e5)])==null?[]:_0x216e86,{'id':_0xfb8b27['id'],'params':{'unitId':_0x50d047,'subUnitId':_0x3e7eb8,'op':_0x318e07,'objects':_0x179a4d,'type':_0x4ac3c0[_0x478700(0x1ba)]}},{'id':_0x52e0f1['id'],'params':[_0x50d047]},..._0x7da503[_0x478700(0x19a)],{'id':$['id'],'params':{'unitId':_0x50d047,'subUnitId':_0x3e7eb8,'shapeId':_0x29ca8e,'shapeType':_0x3d1fec,'shapeData':{..._0x4def23,'adjustValues':_0x37f415||(_0x4def23==null?void 0x0:_0x4def23['adjustValues'])}}}];return _0x234cbb(_0x204cf1,_0x2c2479)[_0x478700(0x1c7)]?(_0x2b3d05[_0x478700(0x1da)]({'unitID':_0x50d047,'undoMutations':_0x270a98,'redoMutations':_0x204cf1}),!0x0):!0x1;}},ce={'id':'sheet.mutation.update-shape-type','type':_0x511404[_0x2cc36b(0x1d9)],'handler':(_0x3c01af,_0x4a3262)=>{const _0x178d92=_0x2cc36b;let {unitId:_0x2ca952,subUnitId:_0x55a2c7,shapeType:_0x24d4e4,shapeId:_0x1c576b,shapeData:_0x1b091a}=_0x4a3262,_0x5d3994=_0x3c01af[_0x178d92(0x141)](Y)[_0x178d92(0x1d0)](_0x2ca952,_0x55a2c7,_0x1c576b);return _0x5d3994&&(_0x5d3994[_0x178d92(0x1a8)](_0x24d4e4),_0x1b091a&&(_0x5d3994==null||_0x5d3994[_0x178d92(0x1e0)](_0x1b091a))),!0x0;}};var le='@univerjs-pro/sheets-shape',ue=_0x2cc36b(0x1a0);let de=class{constructor(_0x228f69,_0xde4aa9,_0x329ee3){const _0x330026=_0x2cc36b;this[_0x330026(0x1c3)]=_0x228f69,this['_shapeService']=_0xde4aa9,this['_drawingService']=_0x329ee3,G(this,_0x330026(0x17a),_0x331193[_0x330026(0x161)]);}[_0x2cc36b(0x166)](_0x57279a){const _0x214dda=_0x2cc36b;var _0x23fcb8,_0x1d80b1,_0x556128,_0x40b104,_0xee2934,_0x1f2e0e,_0x481834,_0x7feace,_0xfff582;let _0x2de2c0=(_0x23fcb8=this[_0x214dda(0x1d2)]['getDrawingData'](_0x57279a['unitId'],_0x57279a[_0x214dda(0x1b7)]))==null?void 0x0:_0x23fcb8[_0x57279a[_0x214dda(0x13a)]],_0x1be839=this[_0x214dda(0x196)][_0x214dda(0x1af)](_0x57279a[_0x214dda(0x199)],_0x57279a[_0x214dda(0x1b7)],_0x57279a[_0x214dda(0x13a)]);if(!_0x2de2c0||_0x2de2c0['drawingType']!==_0xf887e9[_0x214dda(0x13e)]||!_0x1be839)return null;let _0x1f28a4=_0x2de2c0[_0x214dda(0x184)];return{..._0x57279a,'shapeType':_0x1be839,'shapeData':_0x268a59[_0x214dda(0x1e8)]((_0x1d80b1=this[_0x214dda(0x196)][_0x214dda(0x1a6)](_0x57279a[_0x214dda(0x199)],_0x57279a['subUnitId'],_0x57279a[_0x214dda(0x13a)]))==null?{}:_0x1d80b1),'name':_0x2de2c0[_0x214dda(0x182)],'description':_0x2de2c0['description'],'visible':_0x2de2c0[_0x214dda(0x1c9)]!==!0x0,'selectable':_0x2de2c0[_0x214dda(0x1ae)]!==!0x1,'transform':{'left':(_0x556128=_0x1f28a4==null?void 0x0:_0x1f28a4[_0x214dda(0x1d8)])==null?0x0:_0x556128,'top':(_0x40b104=_0x1f28a4==null?void 0x0:_0x1f28a4['top'])==null?0x0:_0x40b104,'width':(_0xee2934=_0x1f28a4==null?void 0x0:_0x1f28a4['width'])==null?0xc8:_0xee2934,'height':(_0x1f2e0e=_0x1f28a4==null?void 0x0:_0x1f28a4['height'])==null?0xc8:_0x1f2e0e,'rotation':(_0x481834=_0x1f28a4==null?void 0x0:_0x1f28a4['angle'])==null?0x0:_0x481834,'flipX':(_0x7feace=_0x1f28a4==null?void 0x0:_0x1f28a4['flipX'])==null?!0x1:_0x7feace,'flipY':(_0xfff582=_0x1f28a4==null?void 0x0:_0x1f28a4[_0x214dda(0x16d)])==null?!0x1:_0xfff582}};}[_0x2cc36b(0x180)](_0x41cd8f){const _0x35ea21=_0x2cc36b;var _0xa1c7a1;let _0x2848fa=(_0xa1c7a1=this[_0x35ea21(0x1d2)][_0x35ea21(0x16a)](_0x41cd8f[_0x35ea21(0x199)],_0x41cd8f[_0x35ea21(0x1b7)]))==null?{}:_0xa1c7a1;return Object[_0x35ea21(0x1d4)](_0x2848fa)[_0x35ea21(0x179)](_0x369c80=>(_0x369c80==null?void 0x0:_0x369c80[_0x35ea21(0x19c)])===_0xf887e9[_0x35ea21(0x13e)])[_0x35ea21(0x174)](_0x37587f=>this[_0x35ea21(0x166)]({..._0x41cd8f,'shapeId':_0x37587f['drawingId']}))[_0x35ea21(0x179)](_0x2475b4=>!!_0x2475b4);}[_0x2cc36b(0x1b1)](_0x279556,_0x583a67){const _0x31f8e2=_0x2cc36b;var _0x19580b,_0x2d222a,_0x5a1486,_0x24e43c,_0x4152f4,_0x41aab2,_0x1ba462,_0x3937e9,_0x101767,_0x423961,_0xb27631,_0x2448ba,_0x372394,_0x1d1924,_0x124dc2,_0x1e137a,_0x1cea2a,_0x5e3caa,_0x11bae3;let _0x2ed580=_0x636416(),_0x283669={'left':(_0x19580b=(_0x2d222a=_0x583a67['transform'])==null?void 0x0:_0x2d222a[_0x31f8e2(0x1d8)])==null?0x0:_0x19580b,'top':(_0x5a1486=(_0x24e43c=_0x583a67[_0x31f8e2(0x184)])==null?void 0x0:_0x24e43c[_0x31f8e2(0x13c)])==null?0x0:_0x5a1486,'width':(_0x4152f4=(_0x41aab2=_0x583a67[_0x31f8e2(0x184)])==null?void 0x0:_0x41aab2[_0x31f8e2(0x15b)])==null?0xc8:_0x4152f4,'height':(_0x1ba462=(_0x3937e9=_0x583a67[_0x31f8e2(0x184)])==null?void 0x0:_0x3937e9[_0x31f8e2(0x1ab)])==null?0xc8:_0x1ba462,'rotation':(_0x101767=(_0x423961=_0x583a67[_0x31f8e2(0x184)])==null?void 0x0:_0x423961[_0x31f8e2(0x1b2)])==null?0x0:_0x101767,'flipX':(_0xb27631=(_0x2448ba=_0x583a67['transform'])==null?void 0x0:_0x2448ba[_0x31f8e2(0x14b)])==null?!0x1:_0xb27631,'flipY':(_0x372394=(_0x1d1924=_0x583a67[_0x31f8e2(0x184)])==null?void 0x0:_0x1d1924[_0x31f8e2(0x16d)])==null?!0x1:_0x372394};return this[_0x31f8e2(0x1c3)]['syncExecuteCommand'](Q['id'],{'unitId':_0x279556[_0x31f8e2(0x199)],'subUnitId':_0x279556[_0x31f8e2(0x1b7)],'shapeId':_0x2ed580,'shapeType':_0x583a67[_0x31f8e2(0x18a)],'shapeData':_0x583a67['shapeData'],'name':_0x583a67[_0x31f8e2(0x182)],'description':_0x583a67['description'],'position':{'x':_0x283669[_0x31f8e2(0x1d8)],'y':_0x283669[_0x31f8e2(0x13c)]},'width':_0x283669[_0x31f8e2(0x15b)],'height':_0x283669[_0x31f8e2(0x1ab)],'rotation':_0x283669[_0x31f8e2(0x1b2)],'flipX':_0x283669[_0x31f8e2(0x14b)],'flipY':_0x283669[_0x31f8e2(0x16d)],'visible':(_0x124dc2=_0x583a67[_0x31f8e2(0x193)])==null?!0x0:_0x124dc2,'selectable':(_0x1e137a=_0x583a67[_0x31f8e2(0x1ae)])==null?!0x0:_0x1e137a})?{..._0x279556,'shapeId':_0x2ed580,'shapeType':_0x583a67[_0x31f8e2(0x18a)],'shapeData':_0x268a59['deepClone']((_0x1cea2a=_0x583a67['shapeData'])==null?{}:_0x1cea2a),'name':_0x583a67['name'],'description':_0x583a67['description'],'visible':(_0x5e3caa=_0x583a67[_0x31f8e2(0x193)])==null?!0x0:_0x5e3caa,'selectable':(_0x11bae3=_0x583a67[_0x31f8e2(0x1ae)])==null?!0x0:_0x11bae3,'transform':_0x283669}:null;}['updateShape'](_0x321c6b,_0x2d4448){const _0x490b15=_0x2cc36b;var _0x572c20,_0x4b45c9,_0x38fe99,_0x3995d2,_0xd5c45f,_0x18e9a1;let _0x24390f=this[_0x490b15(0x166)](_0x321c6b);if(!_0x24390f)return!0x1;let _0x154553={..._0x24390f[_0x490b15(0x184)],..._0x2d4448[_0x490b15(0x184)]};return this[_0x490b15(0x1c3)][_0x490b15(0x172)](ne['id'],{'unitId':_0x321c6b[_0x490b15(0x199)],'subUnitId':_0x321c6b['subUnitId'],'shapeId':_0x321c6b[_0x490b15(0x13a)],'shapeType':(_0x572c20=(_0x4b45c9=_0x2d4448[_0x490b15(0x18a)])==null?(_0x38fe99=_0x2d4448['shapeData'])==null?void 0x0:_0x38fe99['shapeType']:_0x4b45c9)==null?_0x24390f[_0x490b15(0x18a)]:_0x572c20,'shapeData':(_0x3995d2=_0x2d4448[_0x490b15(0x1d5)])==null?_0x24390f[_0x490b15(0x1d5)]:_0x3995d2,'position':{'x':_0x154553['left'],'y':_0x154553[_0x490b15(0x13c)]},'width':_0x154553[_0x490b15(0x15b)],'height':_0x154553[_0x490b15(0x1ab)],'rotation':_0x154553['rotation'],'flipX':_0x154553[_0x490b15(0x14b)],'flipY':_0x154553[_0x490b15(0x16d)],'name':'name'in _0x2d4448?_0x2d4448[_0x490b15(0x182)]:_0x24390f['name'],'description':_0x490b15(0x1a1)in _0x2d4448?_0x2d4448[_0x490b15(0x1a1)]:_0x24390f[_0x490b15(0x1a1)],'visible':(_0xd5c45f=_0x2d4448[_0x490b15(0x193)])==null?_0x24390f[_0x490b15(0x193)]:_0xd5c45f,'selectable':(_0x18e9a1=_0x2d4448[_0x490b15(0x1ae)])==null?_0x24390f['selectable']:_0x18e9a1});}[_0x2cc36b(0x1bf)](_0xbcd376){const _0x53c89f=_0x2cc36b;return this[_0x53c89f(0x1c3)][_0x53c89f(0x172)](_0x399dba['id'],{'unitId':_0xbcd376['unitId'],'drawings':[{'unitId':_0xbcd376[_0x53c89f(0x199)],'subUnitId':_0xbcd376[_0x53c89f(0x1b7)],'drawingId':_0xbcd376[_0x53c89f(0x13a)],'drawingType':_0xf887e9[_0x53c89f(0x13e)]}]});}[_0x2cc36b(0x1c8)](_0x52b38b){const _0x15bba8=_0x2cc36b;return this[_0x15bba8(0x19f)](_0x52b38b,_0x561c61['front']);}[_0x2cc36b(0x1b3)](_0xd8bab8){const _0x5b15f9=_0x2cc36b;return this[_0x5b15f9(0x19f)](_0xd8bab8,_0x561c61[_0x5b15f9(0x1bc)]);}[_0x2cc36b(0x192)](_0x113b9f){const _0x1e90bf=_0x2cc36b;return this[_0x1e90bf(0x19f)](_0x113b9f,_0x561c61[_0x1e90bf(0x17d)]);}[_0x2cc36b(0x155)](_0x2c13a8){const _0xe24f22=_0x2cc36b;return this[_0xe24f22(0x19f)](_0x2c13a8,_0x561c61['back']);}[_0x2cc36b(0x19f)](_0x3f2d26,_0x3f44a6){const _0x41e6ed=_0x2cc36b;return this[_0x41e6ed(0x1c3)][_0x41e6ed(0x172)](_0x3a89a3['id'],{'unitId':_0x3f2d26[_0x41e6ed(0x199)],'subUnitId':_0x3f2d26['subUnitId'],'drawingIds':[_0x3f2d26[_0x41e6ed(0x13a)]],'arrangeType':_0x3f44a6});}};function _0x10a5(_0x423ff4,_0x160759){_0x423ff4=_0x423ff4-0x133;const _0x8bf05f=_0x8bf0();let _0x10a5c7=_0x8bf05f[_0x423ff4];return _0x10a5c7;}de=J([q(0x0,_0x890563),q(0x1,_0x3ca41c(Y)),q(0x2,_0x49153e)],de);const fe={};let pe=class extends _0x43f200{constructor(_0x19e8e0,_0x45fcdf,_0x5db162,_0x5d60d5,_0x50fbca,_0x4495df,_0x4ef4ab){const _0x2426af=_0x2cc36b;super(),this[_0x2426af(0x1c3)]=_0x19e8e0,this[_0x2426af(0x147)]=_0x45fcdf,this[_0x2426af(0x145)]=_0x5db162,this[_0x2426af(0x18d)]=_0x5d60d5,this[_0x2426af(0x14d)]=_0x50fbca,this['_shapeHostAdapterRegistry']=_0x4495df,this[_0x2426af(0x134)](),this[_0x2426af(0x1e3)](),this[_0x2426af(0x140)](this[_0x2426af(0x1c4)]['register'](_0x4ef4ab));}[_0x2cc36b(0x134)](){const _0x11a3ca=_0x2cc36b;[Q,ne,re,ie,ae,oe,se,X,Z,ce,$][_0x11a3ca(0x13b)](_0x1845d7=>this[_0x11a3ca(0x140)](this[_0x11a3ca(0x1c3)]['registerCommand'](_0x1845d7)));}['_initCommandInterceptor'](){const _0x47a586=_0x2cc36b;this[_0x47a586(0x140)](this[_0x47a586(0x147)][_0x47a586(0x157)]({'getMutations':_0x3f067d=>{const _0xc260d3=_0x47a586;if(_0x3f067d['id']===_0x399dba['id']){let {drawings:_0x426978}=_0x3f067d[_0xc260d3(0x17f)],_0x3029c6=_0x426978[_0xc260d3(0x179)](_0x584cee=>_0x584cee[_0xc260d3(0x19c)]===_0xf887e9[_0xc260d3(0x13e)]);if(_0x3029c6['length']===0x0)return{'preRedos':[],'redos':[],'preUndos':[],'undos':[]};let _0x2a8423=[],_0x364217=[];return _0x3029c6[_0xc260d3(0x13b)](_0x1e9a78=>{const _0x444768=_0xc260d3;let {unitId:_0x5eb3d0,subUnitId:_0x53b269,drawingId:_0x243271}=_0x1e9a78,_0x80f258=this[_0x444768(0x18d)]['getShapeModel'](_0x5eb3d0,_0x53b269,_0x243271);if(!_0x80f258)throw TypeError(_0x444768(0x1e6)+_0x80f258);_0x2a8423[_0x444768(0x1e4)]({'id':Z['id'],'params':{'unitId':_0x5eb3d0,'subUnitId':_0x53b269,'shapeId':_0x243271}}),_0x364217['push']({'id':X['id'],'params':{'unitId':_0x5eb3d0,'subUnitId':_0x53b269,'shapeId':_0x243271,'shapeType':_0x80f258['getShapeType'](),'shapeData':_0x80f258[_0x444768(0x15e)]()}});let _0xc08318=this[_0x444768(0x18d)][_0x444768(0x1b5)](_0x5eb3d0,_0x53b269,_0x243271);if(_0xc08318)for(let _0x576bdc of _0xc08318){let _0xb3a585=_0x576bdc[_0x444768(0x173)],_0x4a6678=_0x576bdc[_0x444768(0x18e)],_0xe9399e=_0x4a6678?{'from':void 0x0}:{'to':void 0x0},_0x3281dc=_0x4a6678?{'from':{'shapeId':_0x576bdc[_0x444768(0x13a)],'cxnIndex':_0x576bdc[_0x444768(0x14e)]}}:{'to':{'shapeId':_0x576bdc[_0x444768(0x13a)],'cxnIndex':_0x576bdc[_0x444768(0x14e)]}};_0x2a8423[_0x444768(0x1e4)]({'id':$['id'],'params':{'unitId':_0x5eb3d0,'subUnitId':_0x53b269,'shapeId':_0xb3a585,'shapeData':{'relation':_0xe9399e}}}),_0x364217[_0x444768(0x1e4)]({'id':$['id'],'params':{'unitId':_0x5eb3d0,'subUnitId':_0x53b269,'shapeId':_0xb3a585,'shapeData':{'relation':_0x3281dc}}});}}),{'preRedos':_0x2a8423,'redos':[],'preUndos':[],'undos':_0x364217};}if(_0x3f067d['id']===_0x354f23['id']){let {drawings:_0x41d197}=_0x3f067d[_0xc260d3(0x17f)],_0x5268a1=_0x41d197['filter'](_0x168f54=>_0x168f54[_0xc260d3(0x19c)]===_0xf887e9[_0xc260d3(0x13e)]);if(_0x5268a1[_0xc260d3(0x1c1)]===0x0)return{'preRedos':[],'redos':[],'preUndos':[],'undos':[]};let _0x49ba15=[],_0x4ea50f=[];for(let _0x27ff03 of _0x5268a1){let {unitId:_0x417c25,subUnitId:_0x42864b,drawingId:_0x6a1f26,transform:_0x2f3fe1}=_0x27ff03;if(!_0x417c25||!_0x42864b||!_0x6a1f26||!_0x2f3fe1)continue;let _0x30c3a0=this[_0xc260d3(0x18d)]['getShapeModel'](_0x417c25,_0x42864b,_0x6a1f26);if(!_0x30c3a0)throw TypeError('Fail\x20to\x20get\x20shape\x20model,\x20get:\x20'+_0x30c3a0);if(_0xe27082(_0x30c3a0[_0xc260d3(0x1af)]())){let _0x3205ed=this[_0xc260d3(0x18d)]['getLineShapeRelation'](_0x417c25,_0x42864b,_0x6a1f26);_0x3205ed&&(_0x49ba15['push']({'id':$['id'],'params':{'unitId':_0x417c25,'subUnitId':_0x42864b,'shapeId':_0x6a1f26,'shapeData':{'relation':{'from':void 0x0,'to':void 0x0}}}}),_0x4ea50f[_0xc260d3(0x1e4)]({'id':$['id'],'params':{'unitId':_0x417c25,'subUnitId':_0x42864b,'shapeId':_0x6a1f26,'shapeData':{'relation':_0x3205ed}}}));}else{let _0x5e8fdb=this[_0xc260d3(0x18d)][_0xc260d3(0x1b5)](_0x417c25,_0x42864b,_0x6a1f26);if(_0x5e8fdb&&_0x5e8fdb[_0xc260d3(0x1c1)]>0x0)for(let _0x27c4da of _0x5e8fdb){let _0x49bb10=_0x27c4da['lineShapeId'],_0x39144e=_0x27c4da['isFrom'],_0x518123=this['_sheetsShapeService'][_0xc260d3(0x1d0)](_0x417c25,_0x42864b,_0x49bb10);if(!_0x518123)continue;let _0x5105b1=_0x518123[_0xc260d3(0x148)](),_0x51f0fe=_0x518123[_0xc260d3(0x1aa)]();_0x5105b1&&_0x51f0fe?this[_0xc260d3(0x139)](_0x417c25,_0x42864b,_0x49bb10,_0x518123,_0x5105b1,_0x51f0fe,_0x49ba15,_0x4ea50f,_0x6a1f26,_0x2f3fe1):this[_0xc260d3(0x195)](_0x417c25,_0x42864b,_0x49bb10,_0x518123,_0x39144e?_0x5105b1:_0x51f0fe,_0x39144e,_0x49ba15,_0x4ea50f,_0x6a1f26,_0x2f3fe1);}}}return{'preRedos':[],'redos':_0x49ba15,'preUndos':_0x4ea50f,'undos':[]};}return{'preRedos':[],'redos':[],'preUndos':[],'undos':[]};}}));}[_0x2cc36b(0x18b)](_0x48fe0a,_0x14a4cc,_0x21b350,_0x4a27eb,_0xce3c40){const _0x4e93cd=_0x2cc36b;if(!_0x14a4cc||!_0x21b350)return null;let {shapeId:_0x8e71ac,cxnIndex:_0x328b96}=_0x48fe0a,_0x532335=this[_0x4e93cd(0x18d)][_0x4e93cd(0x1d0)](_0x14a4cc,_0x21b350,_0x8e71ac);if(!_0x532335)return null;let _0x5e3ee8=this[_0x4e93cd(0x14d)][_0x4e93cd(0x1c0)]({'unitId':_0x14a4cc,'subUnitId':_0x21b350,'drawingId':_0x8e71ac});if(!(_0x5e3ee8!=null&&_0x5e3ee8[_0x4e93cd(0x184)]))return null;let {left:_0xdef41f=0x0,top:_0x24540b=0x0,width:_0x237e1c=0x0,height:_0x1a2680=0x0,flipX:_0x1bcc2c=!0x1,flipY:_0x470355=!0x1,angle:_0x1df407}=_0x5e3ee8['transform'];if(_0xce3c40&&_0x4a27eb===_0x8e71ac){var _0x4b6409,_0x460a65,_0x3fd071,_0x312bd8,_0x4f5123,_0xdf87cc,_0x4b03c5;_0xdef41f=(_0x4b6409=_0xce3c40[_0x4e93cd(0x1d8)])==null?_0xdef41f:_0x4b6409,_0x24540b=(_0x460a65=_0xce3c40[_0x4e93cd(0x13c)])==null?_0x24540b:_0x460a65,_0x237e1c=(_0x3fd071=_0xce3c40[_0x4e93cd(0x15b)])==null?_0x237e1c:_0x3fd071,_0x1a2680=(_0x312bd8=_0xce3c40[_0x4e93cd(0x1ab)])==null?_0x1a2680:_0x312bd8,_0x1bcc2c=(_0x4f5123=_0xce3c40[_0x4e93cd(0x14b)])==null?_0x1bcc2c:_0x4f5123,_0x470355=(_0xdf87cc=_0xce3c40['flipY'])==null?_0x470355:_0xdf87cc,_0x1df407=(_0x4b03c5=_0xce3c40['angle'])==null?_0x1df407:_0x4b03c5;}_0x532335[_0x4e93cd(0x181)]({'width':_0x237e1c,'height':_0x1a2680});let _0x4a26ea=_0x532335[_0x4e93cd(0x1c2)]()[_0x4e93cd(0x146)](_0x35aa9f=>_0x35aa9f[_0x4e93cd(0x1ac)]===_0x328b96);if(!_0x4a26ea)return null;let _0x3c91a9=_0x1bcc2c?_0x237e1c-_0x4a26ea['x']:_0x4a26ea['x'],_0x344c8a=_0x470355?_0x1a2680-_0x4a26ea['y']:_0x4a26ea['y'];if(_0x1df407!==0x0&&_0x1df407!=null){let _0x5b50a4=_0x1df407*Math['PI']/0xb4,_0x1e5e19=Math[_0x4e93cd(0x14a)](_0x5b50a4),_0x503f63=Math['sin'](_0x5b50a4),_0x4d9604=_0x237e1c/0x2,_0x1da8b7=_0x1a2680/0x2,_0x5b4d7c=_0x3c91a9-_0x4d9604,_0x21b824=_0x344c8a-_0x1da8b7;_0x3c91a9=_0x4d9604+_0x5b4d7c*_0x1e5e19-_0x21b824*_0x503f63,_0x344c8a=_0x1da8b7+_0x5b4d7c*_0x503f63+_0x21b824*_0x1e5e19;}_0x3c91a9+=_0xdef41f,_0x344c8a+=_0x24540b;let _0x13b16a=_0x4a26ea[_0x4e93cd(0x149)]/0xea60;_0x1bcc2c&&(_0x13b16a=0xb4-_0x13b16a),_0x470355&&(_0x13b16a=-_0x13b16a),_0x13b16a+=_0x1df407||0x0,_0x13b16a=(_0x13b16a%0x168+0x168)%0x168;let _0x52d4e6=_0x59e897({'left':_0xdef41f,'top':_0x24540b,'width':_0x237e1c,'height':_0x1a2680},_0x1df407||0x0);return{'point':{'x':_0x3c91a9,'y':_0x344c8a},'angle':_0x13b16a,'bounds':_0x52d4e6};}[_0x2cc36b(0x139)](_0x3eef8c,_0x1e71a7,_0x29a771,_0x20aa75,_0x5a9d1d,_0xe4498d,_0x2058dc,_0x13ba19,_0x343ae0,_0x552299){const _0x1975c9=_0x2cc36b;let _0xfd42a3=this['_sheetSkeletonService'][_0x1975c9(0x1e1)](_0x3eef8c,_0x1e71a7);if(!_0xfd42a3)return;let _0x48d0b7=_0x20aa75[_0x1975c9(0x1ce)](),_0x22ed41=_0x20aa75[_0x1975c9(0x154)](),_0x463621={},_0x4cdedf={};_0x22ed41[_0x1975c9(0x13b)](_0x3edf3e=>{const _0x148a12=_0x1975c9;let _0x4c61f7=_0x20aa75[_0x148a12(0x186)](_0x3edf3e);_0x4cdedf[_0x3edf3e]=_0x4c61f7==null?0x0:_0x4c61f7;});let _0x12c763=this[_0x1975c9(0x18b)](_0x5a9d1d,_0x3eef8c,_0x1e71a7,_0x343ae0,_0x552299),_0x1e1b2b=this['_getConnectPointInfo'](_0xe4498d,_0x3eef8c,_0x1e71a7,_0x343ae0,_0x552299);if(_0x12c763&&_0x1e1b2b){let _0x379852=_0x20aa75[_0x1975c9(0x1af)](),_0x13a658=_0x29e2b9(_0x12c763,_0x1e1b2b,_0x379852),_0xee6584=_0x379852;if(_0x13a658){let _0x47b2d5=_0x548310(_0x13a658,_0x20aa75[_0x1975c9(0x1af)]()),_0x3289c5=this[_0x1975c9(0x14d)]['getDrawingData'](_0x3eef8c,_0x1e71a7);if(_0x3289c5&&_0x3289c5[_0x29a771]){let _0xa38acd=_0x3289c5[_0x29a771];_0xee6584=_0x47b2d5[_0x1975c9(0x1bb)];for(let [_0x3e8cc1,_0x4898a5]of Object[_0x1975c9(0x15a)](_0x47b2d5[_0x1975c9(0x188)]))_0x463621[_0x3e8cc1]=_0x4898a5;let _0x45abbb={..._0xa38acd[_0x1975c9(0x184)],'width':_0x47b2d5[_0x1975c9(0x1e2)][_0x1975c9(0x15b)],'height':_0x47b2d5['worldRect'][_0x1975c9(0x1ab)],'left':_0x47b2d5[_0x1975c9(0x1e2)][_0x1975c9(0x1d8)],'top':_0x47b2d5['worldRect'][_0x1975c9(0x13c)],'flipX':_0x47b2d5['worldRect'][_0x1975c9(0x14b)],'flipY':_0x47b2d5[_0x1975c9(0x1e2)][_0x1975c9(0x16d)],'angle':_0x47b2d5['rotation']},_0x3c94d2=_0x13c01e(_0x45abbb,_0xfd42a3),_0x5c0387=_0x138bbc(_0x45abbb,_0xfd42a3),_0x2e3ed4={'unitId':_0x3eef8c,'subUnitId':_0x1e71a7,'drawingType':_0xf887e9[_0x1975c9(0x13e)],'drawingId':_0x29a771,'transform':_0x45abbb,'sheetTransform':_0x3c94d2,'axisAlignSheetTransform':_0x5c0387},{unitId:_0x2a3d9d,subUnitId:_0xac1258,undo:_0x241365,redo:_0x254719,objects:_0x4a07c4}=this['_drawingManagerService'][_0x1975c9(0x1b4)]([_0x2e3ed4]);_0x2058dc['push']({'id':_0xfb8b27['id'],'params':{'unitId':_0x2a3d9d,'subUnitId':_0xac1258,'op':_0x254719,'objects':_0x4a07c4,'type':_0x4ac3c0[_0x1975c9(0x1ba)]}}),_0x13ba19['push']({'id':_0xfb8b27['id'],'params':{'unitId':_0x2a3d9d,'subUnitId':_0xac1258,'op':_0x241365,'objects':_0x4a07c4,'type':_0x4ac3c0[_0x1975c9(0x1ba)]}});}_0x20aa75['removeLinePoints']();}_0x2058dc[_0x1975c9(0x1e4)]({'id':$['id'],'params':{'unitId':_0x3eef8c,'subUnitId':_0x1e71a7,'shapeId':_0x29a771,'shapeType':_0xee6584,'shapeData':{'adjustValues':_0x463621,'relation':_0x48d0b7}}}),_0x13ba19[_0x1975c9(0x1e4)]({'id':$['id'],'params':{'unitId':_0x3eef8c,'subUnitId':_0x1e71a7,'shapeId':_0x29a771,'shapeType':_0x379852,'shapeData':{'adjustValues':_0x4cdedf,'relation':_0x48d0b7}}});}}[_0x2cc36b(0x195)](_0x30b29f,_0x43a987,_0x1acedc,_0x52c149,_0x588319,_0x50ba57,_0x2416d8,_0x3915cb,_0x31b5fe,_0x305a5d){const _0x3393fb=_0x2cc36b;var _0x46c9bf;if(!_0x588319)return;let _0x231cc0=this['_sheetSkeletonService']['getSkeleton'](_0x30b29f,_0x43a987);if(!_0x231cc0)return;let _0x4980dd=(_0x46c9bf=this['_drawingManagerService']['getDrawingByParam']({'unitId':_0x30b29f,'subUnitId':_0x43a987,'drawingId':_0x31b5fe}))==null?void 0x0:_0x46c9bf[_0x3393fb(0x184)];if(!_0x4980dd)return;let _0x403e8b=_0x4980dd[_0x3393fb(0x1d8)]!==_0x305a5d[_0x3393fb(0x1d8)]||_0x4980dd[_0x3393fb(0x13c)]!==_0x305a5d[_0x3393fb(0x13c)],_0x292875=_0x4980dd['width']!==_0x305a5d[_0x3393fb(0x15b)]||_0x4980dd[_0x3393fb(0x1ab)]!==_0x305a5d[_0x3393fb(0x1ab)],_0x1e2c0f=_0x4980dd[_0x3393fb(0x14b)]!==_0x305a5d['flipX']||_0x4980dd['flipY']!==_0x305a5d['flipY'],_0x2940c4=_0x4980dd['angle']!==_0x305a5d[_0x3393fb(0x163)];if(_0x403e8b&&!_0x292875&&!_0x1e2c0f&&!_0x2940c4){var _0x4c73ba,_0x4e6046,_0x5cbd5d,_0x1703d4;let _0x3f0020=((_0x4c73ba=_0x305a5d[_0x3393fb(0x1d8)])==null?0x0:_0x4c73ba)-((_0x4e6046=_0x4980dd['left'])==null?0x0:_0x4e6046),_0x1f0f0d=((_0x5cbd5d=_0x305a5d[_0x3393fb(0x13c)])==null?0x0:_0x5cbd5d)-((_0x1703d4=_0x4980dd['top'])==null?0x0:_0x1703d4),_0x1222ce=this['_drawingManagerService'][_0x3393fb(0x16a)](_0x30b29f,_0x43a987);if(_0x1222ce&&_0x1222ce[_0x1acedc]){var _0xa464eb,_0x210bbc,_0x4785f5,_0xa596d8;let _0x1e3ab7=_0x1222ce[_0x1acedc],_0x47c456={..._0x1e3ab7[_0x3393fb(0x184)],'left':((_0xa464eb=(_0x210bbc=_0x1e3ab7[_0x3393fb(0x184)])==null?void 0x0:_0x210bbc[_0x3393fb(0x1d8)])==null?0x0:_0xa464eb)+_0x3f0020,'top':((_0x4785f5=(_0xa596d8=_0x1e3ab7[_0x3393fb(0x184)])==null?void 0x0:_0xa596d8[_0x3393fb(0x13c)])==null?0x0:_0x4785f5)+_0x1f0f0d},_0x41902b=_0x13c01e(_0x47c456,_0x231cc0),_0x2d0913=_0x138bbc(_0x47c456,_0x231cc0),_0x58bca0={'unitId':_0x30b29f,'subUnitId':_0x43a987,'drawingType':_0xf887e9[_0x3393fb(0x13e)],'drawingId':_0x1acedc,'transform':_0x47c456,'sheetTransform':_0x41902b,'axisAlignSheetTransform':_0x2d0913},{unitId:_0x2da137,subUnitId:_0x58b836,undo:_0x385a17,redo:_0x4a7cbc,objects:_0xebbcdf}=this[_0x3393fb(0x14d)]['getBatchUpdateOp']([_0x58bca0]);_0x2416d8['push']({'id':_0xfb8b27['id'],'params':{'unitId':_0x2da137,'subUnitId':_0x58b836,'op':_0x4a7cbc,'objects':_0xebbcdf,'type':_0x4ac3c0[_0x3393fb(0x1ba)]}}),_0x3915cb['push']({'id':_0xfb8b27['id'],'params':{'unitId':_0x2da137,'subUnitId':_0x58b836,'op':_0x385a17,'objects':_0xebbcdf,'type':_0x4ac3c0['UPDATE']}});}}else{let _0x1c04c7=_0x52c149[_0x3393fb(0x148)](),_0x3e0b94=_0x52c149[_0x3393fb(0x1aa)]();this[_0x3393fb(0x139)](_0x30b29f,_0x43a987,_0x1acedc,_0x52c149,_0x1c04c7,_0x3e0b94,_0x2416d8,_0x3915cb,_0x31b5fe,_0x305a5d);}}};pe=J([q(0x0,_0x890563),q(0x1,_0x3ca41c(_0x4765d7)),q(0x2,_0x3ca41c(_0xd25a0a)),q(0x3,_0x3ca41c(Y)),q(0x4,_0x3ca41c(_0x300b8c)),q(0x5,_0x3ca41c(_0x4d6828)),q(0x6,_0x3ca41c(de))],pe);let me=class extends _0x1195b4{constructor(_0xc7b479=fe,_0x9f9138,_0x566a72){const _0x24499c=_0x2cc36b;super(),this[_0x24499c(0x17b)]=_0xc7b479,this[_0x24499c(0x17e)]=_0x9f9138,this[_0x24499c(0x1ca)]=_0x566a72;let {..._0x2bb2d2}=_0x461f5d({},fe,this[_0x24499c(0x17b)]);this[_0x24499c(0x1ca)][_0x24499c(0x1b6)]('sheets-shape.config',_0x2bb2d2);}[_0x2cc36b(0x162)](){const _0x166278=_0x2cc36b;let _0x348faf=this['_injector'];[[K],[Y],[de],[pe]][_0x166278(0x13b)](_0x218d2f=>_0x348faf[_0x166278(0x158)](_0x218d2f)),_0x39cac4(_0x348faf,[[Y],[pe]]);}};G(me,'type',_0x331193[_0x2cc36b(0x161)]),G(me,_0x2cc36b(0x1e9),_0x2cc36b(0x187)),G(me,_0x2cc36b(0x183),le),G(me,_0x2cc36b(0x190),ue),me=J([_0x42c1b6(_0x84c587,_0x328c12),q(0x1,_0x3ca41c(_0x40ad4c)),q(0x2,_0x12f72b)],me);export{V as DEFAULT_SHAPE_HEIGHT,B as DEFAULT_SHAPE_WIDTH,Q as InsertShapeCommand,X as InsertSheetsShapeMutation,Z as RemoveSheetsShapeMutation,ne as SetShapeDrawingDataCommand,ie as SetSheetsShapeRotateCommand,ae as SetSheetsShapeTextVerticalToggleCommand,Y as SheetsShapeService,re as ToggleSheetsShapeFlipCommand,me as UniverSheetsShapePlugin,oe as UpdateConnectorRelationCommand,se as UpdateLineShapeResizeCommand,$ as UpdateSheetsShapeDataMutation,ce as UpdateSheetsShapeTypeMutation};
1
+ const _0xab0703=_0x16e7;(function(_0x3341e4,_0x3263b3){const _0x12ddf0=_0x16e7,_0xa2ba00=_0x3341e4();while(!![]){try{const _0x3c4422=-parseInt(_0x12ddf0(0x178))/0x1*(-parseInt(_0x12ddf0(0x157))/0x2)+-parseInt(_0x12ddf0(0x16c))/0x3+-parseInt(_0x12ddf0(0x19a))/0x4+parseInt(_0x12ddf0(0x1ad))/0x5+parseInt(_0x12ddf0(0x193))/0x6+-parseInt(_0x12ddf0(0x1d3))/0x7+parseInt(_0x12ddf0(0x190))/0x8*(parseInt(_0x12ddf0(0x191))/0x9);if(_0x3c4422===_0x3263b3)break;else _0xa2ba00['push'](_0xa2ba00['shift']());}catch(_0x5e41d1){_0xa2ba00['push'](_0xa2ba00['shift']());}}}(_0x38f0,0x6774b));import{IShapeHostAdapterRegistry as _0x395530,ShapeModel as _0x3e98d7,UniverShapePlugin as _0x23ebde,buildConnectorEndpointUpdate as _0x408f1a,canApplyShapeFormulaLastValue as _0xc7a868,computeConnectorRouteLayout as _0x2be7d1,createFreeConnectorPointInfo as _0x3ff701,createUniqueShapeName as _0x3a367a,getBasicShapeRotateBound as _0x392b33,isConnectorShape as _0x494a20,resolveConnectorRoutePoints as _0x544527,resolveShapeConnectionPoint as _0x482680,routeConnectorLineShape as _0x2f3676}from'@univerjs-pro/engine-shape';function _0x16e7(_0x2e104f,_0x3eda67){_0x2e104f=_0x2e104f-0x14e;const _0x38f08a=_0x38f0();let _0x16e7d5=_0x38f08a[_0x2e104f];return _0x16e7d5;}import{ArrangeTypeEnum as _0x716b69,CommandType as _0x18160b,DependentOn as _0x2527f1,Disposable as _0x2541f3,DrawingTypeEnum as _0x258cc4,ICommandService as _0x24f238,IConfigService as _0x230e63,IResourceManagerService as _0x386f5b,IUndoRedoService as _0x4378ee,IUniverInstanceService as _0x2eeaa3,Inject as _0x3fe8d2,Injector as _0x19c189,Plugin as _0x17dc30,Tools as _0x30a3e1,UniverInstanceType as _0x7970aa,generateRandomId as _0x314874,merge as _0x396304,sequenceExecute as _0xfd50fc,touchDependencies as _0x77a843}from'@univerjs/core';import{SheetInterceptorService as _0x366df6,SheetSkeletonService as _0x4f3885,UniverSheetsPlugin as _0x35fb27,getSheetCommandTarget as _0x488b55}from'@univerjs/sheets';import{ClearSheetDrawingTransformerOperation as _0x395547,DrawingApplyType as _0x4f2c4e,ISheetDrawingService as _0x351531,InsertSheetDrawingCommand as _0x463701,RemoveSheetDrawingCommand as _0x47b923,SetDrawingApplyMutation as _0x551a9d,SetDrawingArrangeCommand as _0x498f41,SetSheetDrawingCommand as _0x15dfd3,SheetDrawingAnchorType as _0xb99205,SheetDrawingTransformPlanService as _0x44eabe,UniverSheetsDrawingPlugin as _0x2bfb2a,transformToAxisAlignPosition as _0xe703e5,transformToDrawingPosition as _0x5eb23d}from'@univerjs/sheets-drawing';import{UniverLicensePlugin as _0x39ab58}from'@univerjs-pro/license';function _0x38f0(){const _0x18b6c1=['worldRect','from','version','find','addShape','dispose','_disposed','undos','getEndConnectInfo','insertShape','get','toJSON','call','_arrange','unitId','string','getDrawingByParam','left','onStarting','_toSnapshot','symbol','Both','getCellWithCoordByIndex','formula','shapeType','getStartConnectInfo','flatMap','preRedos','_planDeletes','syncExecuteCommand','_initCommands','5505283FetEIB','onCommandExecuted','redos','_sheetInterceptorService','resizeEnabled','name','_instanceService','getShapeTypeById','_resourcesManagerService','packageName','cos','getShapeTextData','register','1.0.0-alpha.8','ang','push','selectable','_commandService','getShape','SHEET_SHAPE_PLUGIN','drawingType','ensureSkeleton','getShapeModel','UNIVER_SHEET','pushUndoRedo','fromJSON','updateShape','rotation','getAdjustValueByName','flipX','isFrom','removeLinePoints','result','range','shapeData','getShapeRelation','constructor','getShapeDisplayNames','_shapeService','deletes','front','filter','registerCommand','_sheetsShapeService','getLineShapeRelation','width','getBasicShapeType','back','_serializeShapeForUnit','top','sheet.command.set-shape-text-vertical-toggle','subUnitId','_configService','listShapes','_resolveBinding','shapeChanged$','forward','shapeName','command','flipY','disposeWithMe','delete','hostType','updates','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_drawingService','set','getName','removeShape','lineType','_groupIds','startY','REMOVE','createShape','length','getShapeData','cxnIndex','lineShapeId','iterator','params','createFormulaLastValueMutation','_ensureShapeModelManager','preUndos','clear','getAdjustNames','_shapeHostAdapterRegistry','1138eqzTbG','getDrawingData','borderEnabled','MUTATION','stringify','getConnectionSiteList','object','sin','getSheetId','map','_addLineRerouteUpdates','_linesIds','DRAWING_SHAPE','setConfig','drawingId','deepClone','_addLineFollowShapeUpdates','shapeId','function','_applyUpdate','default','2530392OtryYp','decorate','rotateEnabled','backward','@univerjs-pro/sheets-shape','getOwnPropertyDescriptor','transform','_initSnapshot','mode','has','add','interceptCommand','590vMGROn','_sheetSkeletonService','sheet.command.set-shape-drawing-data','_planConnector','getSkeleton','point','forEach','getBasicShapeRelation','bringToFront','originals','entries','_shapeModelManagerMap','index','onCommandExecute','keys','COMMAND','Fail\x20to\x20get\x20shape\x20model,\x20get:\x20','adjustValues','type','sheet.command.set-shape-rotate','values','getBatchUpdateOp','fill','sheet.command.update-connector-relation','62088TKGGKJ','1836TjAxms','setShapeType','1422792YJfSrj','UPDATE','sheet.command.toggle-shape-flip','_initCommandInterceptor','angle','getShapeType','_injector','2630912jjycao','hasShape','_getConnectPointInfo','_deserializeShapeForUnit','setShapeData','sheet.mutation.insert-shape','data','visible','position','relation','height','_config','formulaBinding','sendToBack','_shapes','updateContext','getId','_drawingManagerService','isLineShape','2776650mbfARj','sheets-shape.config','registerPluginResource','getUnit','bringForward','description','getShapeDataById'];_0x38f0=function(){return _0x18b6c1;};return _0x38f0();}import{IDrawingManagerService as _0x39c068,UniverDrawingPlugin as _0x403e13}from'@univerjs/drawing';const q=0xc8,J=0xc8;function Y(_0xead5f3){'@babel/helpers - typeof';const _0x1288dd=_0x16e7;return Y=typeof Symbol=='function'&&typeof Symbol[_0x1288dd(0x14f)]==_0x1288dd(0x1c8)?function(_0x50245c){return typeof _0x50245c;}:function(_0x162132){const _0x450788=_0x1288dd;return _0x162132&&typeof Symbol=='function'&&_0x162132[_0x450788(0x1f7)]===Symbol&&_0x162132!==Symbol['prototype']?_0x450788(0x1c8):typeof _0x162132;},Y(_0xead5f3);}function ae(_0x3bfe58,_0x593587){const _0x2da04a=_0x16e7;if(Y(_0x3bfe58)!='object'||!_0x3bfe58)return _0x3bfe58;var _0xa3b79=_0x3bfe58[Symbol['toPrimitive']];if(_0xa3b79!==void 0x0){var _0x268be5=_0xa3b79[_0x2da04a(0x1c0)](_0x3bfe58,_0x593587||_0x2da04a(0x16b));if(Y(_0x268be5)!=_0x2da04a(0x15d))return _0x268be5;throw TypeError(_0x2da04a(0x213));}return(_0x593587===_0x2da04a(0x1c3)?String:Number)(_0x3bfe58);}function oe(_0x26b6a0){const _0x34b33a=_0x16e7;var _0x48e523=ae(_0x26b6a0,_0x34b33a(0x1c3));return Y(_0x48e523)==_0x34b33a(0x1c8)?_0x48e523:_0x48e523+'';}function X(_0xc99fd5,_0x36e657,_0x3f8802){return(_0x36e657=oe(_0x36e657))in _0xc99fd5?Object['defineProperty'](_0xc99fd5,_0x36e657,{'value':_0x3f8802,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xc99fd5[_0x36e657]=_0x3f8802,_0xc99fd5;}var se=class extends _0x2541f3{constructor(){const _0xacea8=_0x16e7;super(),X(this,'_shapes',new Map()),X(this,'_linesIds',new Set()),X(this,_0xacea8(0x219),new Set());}[_0xab0703(0x1b8)](_0x204b30,_0x1536ea,_0x28de95,_0x520dbe){const _0x1e6881=_0xab0703;let _0x52da4e=new _0x3e98d7(_0x204b30,_0x1536ea,_0x28de95,_0x520dbe);return this[_0x1e6881(0x1a8)][_0x1e6881(0x215)](_0x1536ea,_0x52da4e),_0x494a20(_0x204b30)&&this[_0x1e6881(0x162)]['add'](_0x1536ea),_0x52da4e;}['getBasicShapeRelation'](_0x5c9157){const _0x2794fa=_0xab0703;let _0x2d2161=[];for(let _0x48b5d7 of this[_0x2794fa(0x162)]){let _0x364208=this['_shapes'][_0x2794fa(0x1be)](_0x48b5d7);if(_0x364208){let _0x10d301=_0x364208[_0x2794fa(0x1f6)]();if(_0x10d301){var _0x245814,_0x1d0aee;((_0x245814=_0x10d301['from'])==null?void 0x0:_0x245814[_0x2794fa(0x168)])===_0x5c9157&&_0x2d2161[_0x2794fa(0x1e2)]({..._0x10d301[_0x2794fa(0x1b5)],'lineShapeId':_0x48b5d7,'isFrom':!0x0}),((_0x1d0aee=_0x10d301['to'])==null?void 0x0:_0x1d0aee[_0x2794fa(0x168)])===_0x5c9157&&_0x2d2161[_0x2794fa(0x1e2)]({..._0x10d301['to'],'lineShapeId':_0x48b5d7,'isFrom':!0x1});}}}return _0x2d2161;}['getLineShapeRelation'](_0x39a4ce){const _0x196ffa=_0xab0703;let _0x1d4b0c=this[_0x196ffa(0x1a8)]['get'](_0x39a4ce);if(_0x1d4b0c)return _0x1d4b0c['getShapeRelation']();}['getShapeType'](_0x3c8dea){const _0x24bff7=_0xab0703;let _0x528a1a=this[_0x24bff7(0x1a8)][_0x24bff7(0x1be)](_0x3c8dea);if(_0x528a1a)return _0x528a1a[_0x24bff7(0x198)]();}[_0xab0703(0x19b)](_0x59d274){const _0x334f6d=_0xab0703;return this[_0x334f6d(0x1a8)]['has'](_0x59d274);}[_0xab0703(0x1f8)](){const _0x1661c9=_0xab0703;return Array[_0x1661c9(0x1b5)](this[_0x1661c9(0x1a8)]['values']())[_0x1661c9(0x160)](_0x3c4540=>_0x3c4540[_0x1661c9(0x216)]()||_0x3c4540[_0x1661c9(0x1aa)]());}[_0xab0703(0x217)](_0x150f8d){const _0x258bf8=_0xab0703;let _0x3c0f75=this['_shapes'][_0x258bf8(0x1be)](_0x150f8d);_0x3c0f75&&(_0x494a20(_0x3c0f75[_0x258bf8(0x198)]())&&this[_0x258bf8(0x162)][_0x258bf8(0x210)](_0x150f8d),this[_0x258bf8(0x1a8)][_0x258bf8(0x210)](_0x150f8d));}['toJSON'](){const _0xa54d3e=_0xab0703;let _0x2aeb2d=[];return this[_0xa54d3e(0x1a8)]['forEach'](_0x4fdf23=>{const _0xc4d88c=_0xa54d3e;_0x2aeb2d[_0xc4d88c(0x1e2)](_0x4fdf23[_0xc4d88c(0x1bf)]());}),_0x2aeb2d;}[_0xab0703(0x1ec)](_0x4b7314){const _0x575f77=_0xab0703;for(let _0x3bb019 of _0x4b7314){let {id:_0x352f81,shapeType:_0x3a1acf,name:_0x42e705}=_0x3bb019,_0x380163=this[_0x575f77(0x1b8)](_0x3a1acf,_0x352f81,_0x3bb019[_0x575f77(0x1f5)],_0x42e705);_0x380163&&_0x380163[_0x575f77(0x1ac)]()&&this[_0x575f77(0x162)][_0x575f77(0x176)](_0x352f81);}}[_0xab0703(0x1b9)](){const _0x412075=_0xab0703;this[_0x412075(0x1ba)]||(this['_shapes']['forEach'](_0x5bc267=>{const _0x13da03=_0x412075;_0x5bc267[_0x13da03(0x1b9)]();}),this[_0x412075(0x1a8)]['clear'](),this[_0x412075(0x162)][_0x412075(0x154)](),this[_0x412075(0x219)][_0x412075(0x154)](),super[_0x412075(0x1b9)]());}};function Z(_0x4cd21f,_0x44f93b){return function(_0x4eac34,_0x1e278b){_0x44f93b(_0x4eac34,_0x1e278b,_0x4cd21f);};}function ce(_0x33b215,_0x2ea918,_0x1babda,_0x42acce){const _0x256df6=_0xab0703;var _0x45118c=arguments['length'],_0x57a301=_0x45118c<0x3?_0x2ea918:_0x42acce===null?_0x42acce=Object[_0x256df6(0x171)](_0x2ea918,_0x1babda):_0x42acce,_0x26bbec;if(typeof Reflect==_0x256df6(0x15d)&&typeof Reflect[_0x256df6(0x16d)]==_0x256df6(0x169))_0x57a301=Reflect[_0x256df6(0x16d)](_0x33b215,_0x2ea918,_0x1babda,_0x42acce);else{for(var _0x2d71fd=_0x33b215['length']-0x1;_0x2d71fd>=0x0;_0x2d71fd--)(_0x26bbec=_0x33b215[_0x2d71fd])&&(_0x57a301=(_0x45118c<0x3?_0x26bbec(_0x57a301):_0x45118c>0x3?_0x26bbec(_0x2ea918,_0x1babda,_0x57a301):_0x26bbec(_0x2ea918,_0x1babda))||_0x57a301);}return _0x45118c>0x3&&_0x57a301&&Object['defineProperty'](_0x2ea918,_0x1babda,_0x57a301),_0x57a301;}let Q=class extends _0x2541f3{constructor(_0x1920d1){const _0x3c0523=_0xab0703;super(),this[_0x3c0523(0x1db)]=_0x1920d1,X(this,_0x3c0523(0x183),new Map()),this[_0x3c0523(0x173)]();}[_0xab0703(0x152)](_0x188b23,_0x858931){const _0x390452=_0xab0703;let _0x28e59e=this[_0x390452(0x183)][_0x390452(0x1be)](_0x188b23);_0x28e59e||(_0x28e59e=new Map(),this['_shapeModelManagerMap']['set'](_0x188b23,_0x28e59e));let _0x4a9d4d=_0x28e59e[_0x390452(0x1be)](_0x858931);return _0x4a9d4d||(_0x4a9d4d=new se(),_0x28e59e[_0x390452(0x215)](_0x858931,_0x4a9d4d)),_0x4a9d4d;}[_0xab0703(0x1bd)](_0x2954cf,_0x16680c,_0x43226f,_0x215846,_0x4b7094,_0x3f6f6c){const _0x15113a=_0xab0703;this[_0x15113a(0x152)](_0x2954cf,_0x16680c)[_0x15113a(0x1b8)](_0x43226f,_0x215846,_0x4b7094,_0x3f6f6c);}['removeShape'](_0x18c954,_0x2276a3,_0x3c41d7){const _0x381fdd=_0xab0703;this['_ensureShapeModelManager'](_0x18c954,_0x2276a3)[_0x381fdd(0x217)](_0x3c41d7);}[_0xab0703(0x201)](_0xb9deba,_0x59af43,_0x3ca67f){const _0x28a49e=_0xab0703;return this[_0x28a49e(0x152)](_0xb9deba,_0x59af43)[_0x28a49e(0x198)](_0x3ca67f);}[_0xab0703(0x198)](_0x49059c,_0x394a38,_0x12a019){const _0x2d7195=_0xab0703;return this['_ensureShapeModelManager'](_0x49059c,_0x394a38)[_0x2d7195(0x198)](_0x12a019);}[_0xab0703(0x19b)](_0x1b7fcf,_0x13b315,_0x44f206){const _0x5c6050=_0xab0703;return this['_ensureShapeModelManager'](_0x1b7fcf,_0x13b315)[_0x5c6050(0x19b)](_0x44f206);}[_0xab0703(0x1da)](_0x14d1c9,_0x10b603,_0x6738a2){const _0x48421f=_0xab0703;return this[_0x48421f(0x152)](_0x14d1c9,_0x10b603)[_0x48421f(0x198)](_0x6738a2);}[_0xab0703(0x1b3)](_0x1fcd59,_0x51054f,_0x325608){const _0x15fde8=_0xab0703;let _0xb8fd62=this[_0x15fde8(0x152)](_0x1fcd59,_0x51054f);if(!_0xb8fd62[_0x15fde8(0x198)](_0x325608))return;let _0x59b9bb=_0xb8fd62[_0x15fde8(0x1a8)][_0x15fde8(0x1be)](_0x325608);if(_0x59b9bb)return _0x59b9bb[_0x15fde8(0x21e)]();}[_0xab0703(0x1f8)](_0x4d27eb,_0x521e6f){const _0x475b94=_0xab0703;return this['_ensureShapeModelManager'](_0x4d27eb,_0x521e6f)[_0x475b94(0x1f8)]();}['getShapeModel'](_0xbc4095,_0x1d9353,_0x15900b){const _0x2dc79e=_0xab0703;return this['_ensureShapeModelManager'](_0xbc4095,_0x1d9353)['_shapes'][_0x2dc79e(0x1be)](_0x15900b);}['getBasicShapeRelation'](_0x5974e8,_0x673059,_0x3a2283){const _0x2ed144=_0xab0703;return this[_0x2ed144(0x152)](_0x5974e8,_0x673059)['getBasicShapeRelation'](_0x3a2283);}[_0xab0703(0x1ff)](_0x29410f,_0x11c855,_0x351c30){const _0x44ec25=_0xab0703;let _0x2c2201=this[_0x44ec25(0x152)](_0x29410f,_0x11c855)[_0x44ec25(0x1a8)][_0x44ec25(0x1be)](_0x351c30);if(_0x2c2201)return _0x2c2201[_0x44ec25(0x1f6)]();}[_0xab0703(0x192)](){}[_0xab0703(0x203)](_0x188bbf){const _0x476520=_0xab0703;let _0x25adc9={},_0x49825f=this[_0x476520(0x183)][_0x476520(0x1be)](_0x188bbf);return _0x49825f&&_0x49825f[_0x476520(0x17e)]((_0x10fd5d,_0x4e239c)=>{const _0x3d9e0e=_0x476520;let _0x4b4aa0=_0x10fd5d[_0x3d9e0e(0x1bf)]();_0x4b4aa0[_0x3d9e0e(0x21d)]>0x0&&(_0x25adc9[_0x4e239c]=_0x4b4aa0);}),JSON[_0x476520(0x15b)](_0x25adc9);}[_0xab0703(0x19d)](_0x56b876,_0x3320a3){const _0x3ab8af=_0xab0703;Object['keys'](_0x3320a3)[_0x3ab8af(0x17e)](_0x14e8c2=>{const _0x29d4ba=_0x3ab8af;this[_0x29d4ba(0x152)](_0x56b876,_0x14e8c2)['fromJSON'](_0x3320a3[_0x14e8c2]);});}[_0xab0703(0x1bf)](){const _0x874ef4=_0xab0703;let _0x243662={};return this[_0x874ef4(0x183)][_0x874ef4(0x17e)]((_0x4bcd4b,_0x22735b)=>{const _0x12b76b=_0x874ef4;_0x243662[_0x22735b]={},_0x4bcd4b[_0x12b76b(0x17e)]((_0x5f027e,_0x2c7e4d)=>{_0x243662[_0x22735b][_0x2c7e4d]=_0x5f027e['toJSON']();});}),_0x243662;}[_0xab0703(0x1ec)](_0x397e62){const _0x184725=_0xab0703;Object[_0x184725(0x186)](_0x397e62)[_0x184725(0x17e)](_0x1e1030=>{const _0x19e4f7=_0x184725;let _0x1cc387=_0x397e62[_0x1e1030];Object[_0x19e4f7(0x186)](_0x1cc387)[_0x19e4f7(0x17e)](_0x37be0d=>{const _0x35ee3e=_0x19e4f7;this[_0x35ee3e(0x152)](_0x1e1030,_0x37be0d)['fromJSON'](_0x1cc387[_0x37be0d]);});});}[_0xab0703(0x173)](){const _0x89893e=_0xab0703;this[_0x89893e(0x1db)][_0x89893e(0x1af)]({'pluginName':'SHEET_SHAPE_PLUGIN','businesses':[_0x7970aa[_0x89893e(0x1ea)]],'toJson':_0x4f1905=>this[_0x89893e(0x203)](_0x4f1905),'parseJson':_0x3aec2c=>JSON['parse'](_0x3aec2c),'onLoad':(_0x5b0b98,_0x2ee1fb)=>{const _0x303b3e=_0x89893e;this[_0x303b3e(0x19d)](_0x5b0b98,_0x2ee1fb);},'onUnLoad':_0x54a749=>{const _0x370505=_0x89893e;let _0x26d310=this['_shapeModelManagerMap'][_0x370505(0x1be)](_0x54a749);_0x26d310&&(_0x26d310[_0x370505(0x17e)](_0x227248=>{const _0x50d856=_0x370505;_0x227248[_0x50d856(0x1b9)]();}),this['_shapeModelManagerMap'][_0x370505(0x210)](_0x54a749));}});}[_0xab0703(0x1b9)](){const _0x2801b1=_0xab0703;this[_0x2801b1(0x183)][_0x2801b1(0x17e)](_0x2d6007=>{const _0x1872ca=_0x2801b1;_0x2d6007[_0x1872ca(0x17e)](_0x2a8e82=>{const _0x4afaaa=_0x1872ca;_0x2a8e82[_0x4afaaa(0x1b9)]();});});}};Q=ce([Z(0x0,_0x386f5b)],Q);const le={'id':_0xab0703(0x19f),'type':_0x18160b['MUTATION'],'handler':(_0x22ede9,_0x54d701)=>{const _0x2a1254=_0xab0703;let {unitId:_0x372e34,subUnitId:_0x5cb906,shapeType:_0x325876,shapeId:_0xae52d7,shapeName:_0x4fc177,shapeData:_0x545fcb}=_0x54d701;return _0x22ede9['get'](Q)[_0x2a1254(0x1bd)](_0x372e34,_0x5cb906,_0x325876,_0xae52d7,_0x30a3e1['deepClone'](_0x545fcb),_0x4fc177),!0x0;}},ue={'id':'sheet.mutation.remove-shape','type':_0x18160b[_0xab0703(0x15a)],'handler':(_0x4305a3,_0x4f4f41)=>{const _0x123b99=_0xab0703;let {unitId:_0x289cfe,subUnitId:_0x2c3748,shapeId:_0x2dae36}=_0x4f4f41;return _0x4305a3[_0x123b99(0x1be)](Q)[_0x123b99(0x217)](_0x289cfe,_0x2c3748,_0x2dae36),!0x0;}},de={'type':_0x18160b[_0xab0703(0x187)],'id':'sheet.command.insert-shape','handler':(_0x54e5be,_0x13d9ca)=>{const _0x1dc1dc=_0xab0703;var _0xfd1460,_0x1fa5ff,_0x38d48d,_0x19ec2a,_0x29b3e6,_0x9180,_0x17cd5a;let _0x142fa0=_0x488b55(_0x54e5be[_0x1dc1dc(0x1be)](_0x2eeaa3),_0x13d9ca);if(!_0x142fa0)return!0x1;let _0x2f79fe=_0x54e5be[_0x1dc1dc(0x1be)](_0x4f3885),{unitId:_0x379e05,subUnitId:_0x377985}=_0x142fa0,_0xa80346=_0x2f79fe[_0x1dc1dc(0x1e8)](_0x379e05,_0x377985);if(!_0xa80346)return!0x1;let _0x28e8ba=_0x54e5be[_0x1dc1dc(0x1be)](_0x24f238),_0x1c5d65=_0x54e5be['get'](_0x4378ee),_0xd1d09e=_0x54e5be[_0x1dc1dc(0x1be)](_0x366df6),_0x24feea=_0x54e5be['get'](_0x351531),_0x32c6eb=_0x54e5be[_0x1dc1dc(0x1be)](Q),{shapeType:_0x3a8776,shapeData:_0x57f1f9}=_0x13d9ca,_0x2f4729=_0x13d9ca[_0x1dc1dc(0x168)]||_0x314874(),_0x316695={'unitId':_0x379e05,'subUnitId':_0x377985,'shapeId':_0x2f4729,'shapeName':(_0xfd1460=_0x13d9ca[_0x1dc1dc(0x20c)])==null?_0x3a367a(_0x3a8776,_0x32c6eb[_0x1dc1dc(0x1f8)](_0x379e05,_0x377985)):_0xfd1460,'shapeType':_0x3a8776,'shapeData':_0x57f1f9},_0x1fe899=_0x13d9ca[_0x1dc1dc(0x200)]||0xc8,_0x3ecfa3=_0x13d9ca[_0x1dc1dc(0x1a4)]||0xc8,_0x317804=0x0,_0x44d760=0x0;if(_0x13d9ca[_0x1dc1dc(0x1a2)]){let {x:_0x242eed,y:_0x573140}=_0x13d9ca[_0x1dc1dc(0x1a2)];_0x317804=_0x242eed,_0x44d760=_0x573140;}else{if(_0x13d9ca[_0x1dc1dc(0x1f4)]){let {startRow:_0x36a627,startColumn:_0x2ac52e}=_0x13d9ca[_0x1dc1dc(0x1f4)],_0x1566de=_0xa80346[_0x1dc1dc(0x1ca)](_0x36a627,_0x2ac52e);_0x317804=_0x1566de['startX']+0xa,_0x44d760=_0x1566de[_0x1dc1dc(0x21a)]+0xa;}}let _0x1460e3={'left':_0x317804,'top':_0x44d760,'width':_0x1fe899,'height':_0x3ecfa3,'angle':(_0x1fa5ff=_0x13d9ca[_0x1dc1dc(0x1ee)])==null?0x0:_0x1fa5ff,'flipX':(_0x38d48d=_0x13d9ca[_0x1dc1dc(0x1f0)])!=null&&_0x38d48d,'flipY':(_0x19ec2a=_0x13d9ca[_0x1dc1dc(0x20e)])!=null&&_0x19ec2a},_0x36c9c2=_0x5eb23d(_0x1460e3,_0xa80346),_0x54408=_0xe703e5(_0x1460e3,_0xa80346),_0x51531b={'unitId':_0x379e05,'subUnitId':_0x377985,'drawingId':_0x2f4729,'drawingType':_0x258cc4[_0x1dc1dc(0x163)],'anchorType':_0xb99205[_0x1dc1dc(0x1c9)],'name':_0x13d9ca['name'],'description':_0x13d9ca[_0x1dc1dc(0x1b2)],'sheetTransform':_0x36c9c2,'transform':_0x1460e3,'data':{'shapeType':_0x3a8776,'shapeData':_0x57f1f9},'axisAlignSheetTransform':_0x54408,'allowTransform':!0x0,'hidden':_0x13d9ca['visible']===!0x1,'selectable':(_0x29b3e6=_0x13d9ca[_0x1dc1dc(0x1e3)])==null||_0x29b3e6};_0x494a20(_0x3a8776)&&(_0x51531b[_0x1dc1dc(0x1a0)][_0x1dc1dc(0x18e)]=!0x1,_0x51531b['data'][_0x1dc1dc(0x16e)]=!0x1,_0x51531b[_0x1dc1dc(0x1a0)][_0x1dc1dc(0x1d7)]=!0x1,_0x51531b['data']['borderEnabled']=!0x1,_0x51531b[_0x1dc1dc(0x172)][_0x1dc1dc(0x16e)]=!0x1,_0x51531b[_0x1dc1dc(0x172)][_0x1dc1dc(0x1d7)]=!0x1,_0x51531b[_0x1dc1dc(0x172)][_0x1dc1dc(0x159)]=!0x1);let {undo:_0x3de705,redo:_0x1ba112,objects:_0x5d7ed7}=_0x24feea['getBatchAddOp']([_0x51531b]),_0x5a3cd0=_0xd1d09e[_0x1dc1dc(0x185)]({'id':_0x463701['id'],'params':{'unitId':_0x379e05,'drawings':[_0x51531b]}}),_0x16f1a7=[...(_0x9180=_0x5a3cd0[_0x1dc1dc(0x1cf)])==null?[]:_0x9180,{'id':_0x551a9d['id'],'params':{'unitId':_0x379e05,'subUnitId':_0x377985,'op':_0x1ba112,'objects':_0x5d7ed7,'type':_0x4f2c4e['INSERT']}},{'id':_0x395547['id'],'params':[_0x379e05]},..._0x5a3cd0['redos'],{'id':le['id'],'params':_0x316695}],_0x37a05c=[{'id':ue['id'],'params':{'unitId':_0x379e05,'subUnitId':_0x377985,'shapeId':_0x2f4729}},...(_0x17cd5a=_0x5a3cd0[_0x1dc1dc(0x153)])==null?[]:_0x17cd5a,{'id':_0x551a9d['id'],'params':{'unitId':_0x379e05,'subUnitId':_0x377985,'op':_0x3de705,'objects':_0x5d7ed7,'type':_0x4f2c4e[_0x1dc1dc(0x21b)]}},{'id':_0x395547['id'],'params':[_0x379e05]},..._0x5a3cd0[_0x1dc1dc(0x1bb)]];return _0xfd50fc(_0x16f1a7,_0x28e8ba)[_0x1dc1dc(0x1f3)]?(_0x1c5d65['pushUndoRedo']({'unitID':_0x379e05,'undoMutations':_0x37a05c,'redoMutations':_0x16f1a7}),!0x0):!0x1;}},$={'id':'sheet.mutation.update-shape-data','type':_0x18160b[_0xab0703(0x15a)],'handler':(_0x74f387,_0x137d89)=>{const _0x5c1b70=_0xab0703;let {unitId:_0x5dfcbb,subUnitId:_0x422be3,shapeType:_0x51a55a,shapeId:_0x27f16c,shapeData:_0x103373,replace:_0x1e0f8b,formulaLastValueGuard:_0x139c63}=_0x137d89,_0x42d5e0=_0x74f387['get'](Q)[_0x5c1b70(0x1e9)](_0x5dfcbb,_0x422be3,_0x27f16c);if(_0x42d5e0){var _0x4d8ff6;if(!_0xc7a868(_0x74f387,{'hostType':_0x7970aa[_0x5c1b70(0x1ea)],'unitId':_0x5dfcbb,'subUnitId':_0x422be3,'shapeId':_0x27f16c},(_0x4d8ff6=_0x42d5e0[_0x5c1b70(0x21e)]()[_0x5c1b70(0x1a6)])==null?void 0x0:_0x4d8ff6[_0x5c1b70(0x1cb)],_0x139c63))return!0x0;_0x51a55a!==void 0x0&&_0x42d5e0['setShapeType'](_0x51a55a),_0x103373&&(_0x42d5e0==null||_0x42d5e0['setShapeData'](_0x30a3e1[_0x5c1b70(0x166)](_0x103373),!_0x1e0f8b));}return!0x0;}},fe={'type':_0x18160b[_0xab0703(0x187)],'id':_0xab0703(0x17a),'handler':(_0x4355ec,_0x6c307d)=>{const _0x1c8a6c=_0xab0703;var _0x3d1c47,_0x2bee91,_0x442888,_0x28d8bb,_0x2419b0;let _0x348dd8=_0x488b55(_0x4355ec[_0x1c8a6c(0x1be)](_0x2eeaa3),_0x6c307d);if(!_0x348dd8)return!0x1;let _0x487f47=_0x4355ec['get'](_0x4f3885),{unitId:_0x497527,subUnitId:_0x36caed}=_0x348dd8,_0x122535=_0x487f47[_0x1c8a6c(0x1e8)](_0x497527,_0x36caed);if(!_0x122535)return!0x1;let _0x38b06b=_0x4355ec[_0x1c8a6c(0x1be)](Q),{shapeId:_0x311afa,shapeType:_0x54da0f,shapeData:_0x3c30f7,position:_0x572c2d,width:_0x497e79,height:_0x26d0f3}=_0x6c307d,_0x1e7230=_0x38b06b['getShapeModel'](_0x497527,_0x36caed,_0x311afa);if(!_0x1e7230)return!0x1;let _0x45926b=_0x4355ec[_0x1c8a6c(0x1be)](_0x24f238),_0x77b6b2=_0x4355ec[_0x1c8a6c(0x1be)](_0x4378ee),_0x271f6d=_0x4355ec[_0x1c8a6c(0x1be)](_0x366df6),_0x30b90f=_0x4355ec[_0x1c8a6c(0x1be)](_0x351531),_0x4da8e0={'unitId':_0x497527,'subUnitId':_0x36caed,'shapeId':_0x311afa,'shapeType':_0x54da0f,'shapeData':_0x3c30f7,'replace':!0x0},_0x3078ca=_0x1e7230[_0x1c8a6c(0x198)](),_0x5b35bb=_0x1e7230[_0x1c8a6c(0x21e)](),{x:_0x4a4073,y:_0x5230a1}=_0x572c2d,_0x10da70={'left':_0x4a4073,'top':_0x5230a1,'width':_0x497e79,'height':_0x26d0f3,'angle':(_0x3d1c47=_0x6c307d[_0x1c8a6c(0x1ee)])==null?0x0:_0x3d1c47,'flipX':(_0x2bee91=_0x6c307d[_0x1c8a6c(0x1f0)])!=null&&_0x2bee91,'flipY':(_0x442888=_0x6c307d[_0x1c8a6c(0x20e)])!=null&&_0x442888},_0x7984c6=_0x5eb23d(_0x10da70,_0x122535),_0x1d5717=_0xe703e5(_0x10da70,_0x122535),_0x3726ee={'unitId':_0x497527,'subUnitId':_0x36caed,'drawingId':_0x311afa,'drawingType':_0x258cc4['DRAWING_SHAPE'],'name':_0x6c307d['name'],'description':_0x6c307d[_0x1c8a6c(0x1b2)],'sheetTransform':_0x7984c6,'transform':_0x10da70,'data':{'shapeType':_0x54da0f,'shapeData':_0x3c30f7},'axisAlignSheetTransform':_0x1d5717,'allowTransform':!0x0,'hidden':!_0x6c307d['visible'],'selectable':_0x6c307d[_0x1c8a6c(0x1e3)]};_0x494a20(_0x54da0f)&&(_0x3726ee[_0x1c8a6c(0x1a0)][_0x1c8a6c(0x18e)]=!0x1,_0x3726ee[_0x1c8a6c(0x1a0)][_0x1c8a6c(0x16e)]=!0x1,_0x3726ee[_0x1c8a6c(0x1a0)][_0x1c8a6c(0x1d7)]=!0x1,_0x3726ee[_0x1c8a6c(0x1a0)][_0x1c8a6c(0x159)]=!0x1,_0x3726ee[_0x1c8a6c(0x172)]['rotateEnabled']=!0x1,_0x3726ee[_0x1c8a6c(0x172)][_0x1c8a6c(0x1d7)]=!0x1,_0x3726ee[_0x1c8a6c(0x172)]['borderEnabled']=!0x1);let {undo:_0x3645ef,redo:_0x142c11,objects:_0x1b7e99}=_0x30b90f[_0x1c8a6c(0x18d)]([_0x3726ee]),_0x59b440=_0x271f6d[_0x1c8a6c(0x185)]({'id':_0x15dfd3['id'],'params':{'unitId':_0x497527,'drawings':[_0x3726ee]}}),_0x4476a3=[...(_0x28d8bb=_0x59b440[_0x1c8a6c(0x1cf)])==null?[]:_0x28d8bb,{'id':_0x551a9d['id'],'params':{'unitId':_0x497527,'subUnitId':_0x36caed,'op':_0x142c11,'objects':_0x1b7e99,'type':_0x4f2c4e[_0x1c8a6c(0x194)]}},{'id':_0x395547['id'],'params':[_0x497527]},..._0x59b440['redos'],{'id':$['id'],'params':_0x4da8e0}],_0x27620a=[...(_0x2419b0=_0x59b440[_0x1c8a6c(0x153)])==null?[]:_0x2419b0,{'id':_0x551a9d['id'],'params':{'unitId':_0x497527,'subUnitId':_0x36caed,'op':_0x3645ef,'objects':_0x1b7e99,'type':_0x4f2c4e[_0x1c8a6c(0x194)]}},{'id':_0x395547['id'],'params':[_0x497527]},..._0x59b440[_0x1c8a6c(0x1bb)],{'id':$['id'],'params':{'unitId':_0x497527,'subUnitId':_0x36caed,'shapeType':_0x3078ca,'shapeId':_0x311afa,'shapeData':_0x5b35bb,'replace':!0x0}}];return _0xfd50fc(_0x4476a3,_0x45926b)[_0x1c8a6c(0x1f3)]?(_0x77b6b2[_0x1c8a6c(0x1eb)]({'unitID':_0x497527,'undoMutations':_0x27620a,'redoMutations':_0x4476a3}),!0x0):!0x1;}},pe={'type':_0x18160b[_0xab0703(0x187)],'id':_0xab0703(0x195),'handler':(_0x555b9b,_0x2e8e59)=>{const _0x5a8a98=_0xab0703;var _0x2551ba,_0x35b1f4;let _0x2d6bdb=_0x488b55(_0x555b9b[_0x5a8a98(0x1be)](_0x2eeaa3),_0x2e8e59);if(!_0x2d6bdb)return!0x1;let _0x1caeae=_0x555b9b[_0x5a8a98(0x1be)](_0x4f3885),{unitId:_0x5b317d,subUnitId:_0x31a7b9}=_0x2d6bdb,_0x389fbb=_0x1caeae[_0x5a8a98(0x17c)](_0x5b317d,_0x31a7b9);if(!_0x389fbb)return!0x1;let _0x523d80=_0x555b9b[_0x5a8a98(0x1be)](_0x351531),{shapeId:_0x33b7ff,flipH:_0x3fb6bc,flipV:_0x296690}=_0x2e8e59,_0x2ff54f=_0x523d80['getDrawingByParam']({'unitId':_0x5b317d,'subUnitId':_0x31a7b9,'drawingId':_0x33b7ff});if(!_0x2ff54f)return!0x1;let _0x1e01d4=_0x555b9b['get'](Q)[_0x5a8a98(0x1e9)](_0x5b317d,_0x31a7b9,_0x33b7ff);if(!_0x1e01d4)return!0x1;let _0x1707ef=_0x555b9b[_0x5a8a98(0x1be)](_0x24f238),_0x2ffe96=_0x555b9b[_0x5a8a98(0x1be)](_0x4378ee),_0x51dd80=_0x555b9b[_0x5a8a98(0x1be)](_0x366df6),_0x2e097e={..._0x2ff54f[_0x5a8a98(0x172)]};_0x3fb6bc!==void 0x0&&(_0x2e097e[_0x5a8a98(0x1f0)]=!_0x2e097e['flipX']),_0x296690!==void 0x0&&(_0x2e097e[_0x5a8a98(0x20e)]=!_0x2e097e[_0x5a8a98(0x20e)]);let _0xe1e6e9=_0x5eb23d(_0x2e097e,_0x389fbb),_0x372d3a=_0xe703e5(_0x2e097e,_0x389fbb),_0x25e9dd=_0x1e01d4[_0x5a8a98(0x198)](),_0x372092=_0x1e01d4[_0x5a8a98(0x21e)](),_0x3ed147={'unitId':_0x5b317d,'subUnitId':_0x31a7b9,'drawingId':_0x33b7ff,'drawingType':_0x258cc4[_0x5a8a98(0x163)],'sheetTransform':_0xe1e6e9,'transform':_0x2e097e,'data':{'shapeType':_0x25e9dd,'shapeData':_0x372092},'axisAlignSheetTransform':_0x372d3a,'allowTransform':!0x0},{undo:_0x4c10ca,redo:_0x26d2e8,objects:_0xfec068}=_0x523d80[_0x5a8a98(0x18d)]([_0x3ed147]),_0x296efb=_0x51dd80[_0x5a8a98(0x185)]({'id':_0x15dfd3['id'],'params':{'unitId':_0x5b317d,'drawings':[_0x3ed147]}}),_0x53696c=[...(_0x2551ba=_0x296efb['preRedos'])==null?[]:_0x2551ba,{'id':_0x551a9d['id'],'params':{'unitId':_0x5b317d,'subUnitId':_0x31a7b9,'op':_0x26d2e8,'objects':_0xfec068,'type':_0x4f2c4e[_0x5a8a98(0x194)]}},{'id':_0x395547['id'],'params':[_0x5b317d]},..._0x296efb[_0x5a8a98(0x1d5)]],_0x1fc774=[...(_0x35b1f4=_0x296efb['preUndos'])==null?[]:_0x35b1f4,{'id':_0x551a9d['id'],'params':{'unitId':_0x5b317d,'subUnitId':_0x31a7b9,'op':_0x4c10ca,'objects':_0xfec068,'type':_0x4f2c4e[_0x5a8a98(0x194)]}},{'id':_0x395547['id'],'params':[_0x5b317d]},..._0x296efb[_0x5a8a98(0x1bb)]];if(_0x494a20(_0x25e9dd)){let _0x254e13=_0x1e01d4[_0x5a8a98(0x1f6)]();if(_0x254e13){let _0x3ce042={..._0x254e13};_0x3ce042[_0x5a8a98(0x1b5)]=void 0x0,_0x3ce042['to']=void 0x0,_0x53696c[_0x5a8a98(0x1e2)]({'id':$['id'],'params':{'unitId':_0x5b317d,'subUnitId':_0x31a7b9,'shapeId':_0x33b7ff,'shapeType':_0x25e9dd,'shapeData':{'relation':_0x3ce042}}}),_0x1fc774[_0x5a8a98(0x1e2)]({'id':$['id'],'params':{'unitId':_0x5b317d,'subUnitId':_0x31a7b9,'shapeId':_0x33b7ff,'shapeType':_0x25e9dd,'shapeData':{'relation':_0x254e13}}});}}return _0xfd50fc(_0x53696c,_0x1707ef)['result']?(_0x2ffe96['pushUndoRedo']({'unitID':_0x5b317d,'undoMutations':_0x1fc774,'redoMutations':_0x53696c}),!0x0):!0x1;}},me={'type':_0x18160b['COMMAND'],'id':_0xab0703(0x18b),'handler':(_0x38b936,_0x37513c)=>{const _0x5831e5=_0xab0703;var _0x14add1,_0xcad101;let _0x1ed51d=_0x488b55(_0x38b936[_0x5831e5(0x1be)](_0x2eeaa3),_0x37513c);if(!_0x1ed51d)return!0x1;let _0x5378bb=_0x38b936[_0x5831e5(0x1be)](_0x4f3885),{unitId:_0x32d7a7,subUnitId:_0x416d4b}=_0x1ed51d,_0x34bc8c=_0x5378bb[_0x5831e5(0x17c)](_0x32d7a7,_0x416d4b);if(!_0x34bc8c)return!0x1;let _0x310b7c=_0x38b936['get'](_0x351531),{shapeId:_0x2cf339,rotate:_0x5abf01}=_0x37513c,_0xf00c24=_0x310b7c[_0x5831e5(0x1c4)]({'unitId':_0x32d7a7,'subUnitId':_0x416d4b,'drawingId':_0x2cf339});if(!_0xf00c24)return!0x1;let _0x36900c=_0x38b936['get'](Q)['getShapeModel'](_0x32d7a7,_0x416d4b,_0x2cf339);if(!_0x36900c)return!0x1;let _0x4a765b=_0x38b936[_0x5831e5(0x1be)](_0x24f238),_0x4970aa=_0x38b936[_0x5831e5(0x1be)](_0x4378ee),_0xb2057e=_0x38b936[_0x5831e5(0x1be)](_0x366df6),_0x3f0110={..._0xf00c24[_0x5831e5(0x172)]};_0x5abf01!==void 0x0&&(_0x3f0110['angle']=(_0x3f0110['angle']||0x0)+_0x5abf01);let _0x1f4643=_0x5eb23d(_0x3f0110,_0x34bc8c),_0x3656a7=_0xe703e5(_0x3f0110,_0x34bc8c),_0x51a0c4=_0x36900c[_0x5831e5(0x198)](),_0x4e9970=_0x36900c[_0x5831e5(0x21e)](),_0x2fe964={'unitId':_0x32d7a7,'subUnitId':_0x416d4b,'drawingId':_0x2cf339,'drawingType':_0x258cc4['DRAWING_SHAPE'],'sheetTransform':_0x1f4643,'transform':_0x3f0110,'data':{'shapeType':_0x51a0c4,'shapeData':_0x4e9970},'axisAlignSheetTransform':_0x3656a7,'allowTransform':!0x0},{undo:_0x55e518,redo:_0x468d31,objects:_0x2472d7}=_0x310b7c[_0x5831e5(0x18d)]([_0x2fe964]),_0xc82467=_0xb2057e[_0x5831e5(0x185)]({'id':_0x15dfd3['id'],'params':{'unitId':_0x32d7a7,'drawings':[_0x2fe964]}}),_0x37f302=[...(_0x14add1=_0xc82467[_0x5831e5(0x1cf)])==null?[]:_0x14add1,{'id':_0x551a9d['id'],'params':{'unitId':_0x32d7a7,'subUnitId':_0x416d4b,'op':_0x468d31,'objects':_0x2472d7,'type':_0x4f2c4e[_0x5831e5(0x194)]}},{'id':_0x395547['id'],'params':[_0x32d7a7]},..._0xc82467[_0x5831e5(0x1d5)]],_0xc7d1ee=[...(_0xcad101=_0xc82467[_0x5831e5(0x153)])==null?[]:_0xcad101,{'id':_0x551a9d['id'],'params':{'unitId':_0x32d7a7,'subUnitId':_0x416d4b,'op':_0x55e518,'objects':_0x2472d7,'type':_0x4f2c4e[_0x5831e5(0x194)]}},{'id':_0x395547['id'],'params':[_0x32d7a7]},..._0xc82467[_0x5831e5(0x1bb)]];return _0xfd50fc(_0x37f302,_0x4a765b)[_0x5831e5(0x1f3)]?(_0x4970aa[_0x5831e5(0x1eb)]({'unitID':_0x32d7a7,'undoMutations':_0xc7d1ee,'redoMutations':_0x37f302}),!0x0):!0x1;}},he={'type':_0x18160b[_0xab0703(0x187)],'id':_0xab0703(0x205),'handler':(_0x16b099,_0x151fc4)=>{const _0xe5f0bd=_0xab0703;var _0x1e2ca4;let _0x8497df=_0x488b55(_0x16b099['get'](_0x2eeaa3),_0x151fc4);if(!_0x8497df)return!0x1;let {unitId:_0x2156db,subUnitId:_0x540576}=_0x8497df,{shapeId:_0x376400}=_0x151fc4,_0x15dcff=_0x16b099[_0xe5f0bd(0x1be)](Q)['getShapeModel'](_0x2156db,_0x540576,_0x376400);if(!_0x15dcff)return!0x1;let _0x48e87a=_0x15dcff[_0xe5f0bd(0x1de)](),_0x42c794=(_0x1e2ca4=_0x48e87a==null?void 0x0:_0x48e87a['isHorizontal'])==null||_0x1e2ca4,_0x1db553=!_0x42c794,_0x219c7c=_0x16b099[_0xe5f0bd(0x1be)](_0x24f238),_0x1fef8d=_0x16b099[_0xe5f0bd(0x1be)](_0x4378ee),_0x230300={'unitId':_0x2156db,'subUnitId':_0x540576,'shapeId':_0x376400,'shapeData':{'shapeText':{'isHorizontal':_0x1db553}}},_0xe7701b={'unitId':_0x2156db,'subUnitId':_0x540576,'shapeId':_0x376400,'shapeData':{'shapeText':{'isHorizontal':_0x42c794}}},_0x45e99f=[{'id':$['id'],'params':_0x230300}],_0x388f42=[{'id':$['id'],'params':_0xe7701b}];return _0xfd50fc(_0x45e99f,_0x219c7c)[_0xe5f0bd(0x1f3)]?(_0x1fef8d[_0xe5f0bd(0x1eb)]({'unitID':_0x2156db,'undoMutations':_0x388f42,'redoMutations':_0x45e99f}),!0x0):!0x1;}},ge={'type':_0x18160b['COMMAND'],'id':_0xab0703(0x18f),'handler':(_0x244b72,_0xd73ec2)=>{const _0x1c4b09=_0xab0703;var _0x249a40,_0x56ee7f,_0x1e942e,_0x3ffeee;let _0x3b0a7f=_0x488b55(_0x244b72[_0x1c4b09(0x1be)](_0x2eeaa3),_0xd73ec2);if(!_0x3b0a7f)return!0x1;let _0x5e15d7=_0x244b72[_0x1c4b09(0x1be)](_0x4f3885),{unitId:_0x39e977,subUnitId:_0x3dae05}=_0x3b0a7f,_0x48660a=_0x5e15d7[_0x1c4b09(0x17c)](_0x39e977,_0x3dae05);if(!_0x48660a)return!0x1;let _0x116c58=_0x244b72[_0x1c4b09(0x1be)](_0x351531),{connectorShapeId:_0x4d898b,width:_0x278b7f,height:_0x2f77b0,left:_0x4914a7,top:_0x1ce27b,flipX:_0x5382ab,flipY:_0x51a13b,rotation:_0x53bc5,oldAdjustValues:_0x87780e,newAdjustValues:_0x47599a,oldLineType:_0x52ae91,newLineType:_0x3d866b,oldRelation:_0x5b37e0,newRelation:_0xe80af1}=_0xd73ec2,_0x2da643=_0x116c58['getDrawingByParam']({'unitId':_0x39e977,'subUnitId':_0x3dae05,'drawingId':_0x4d898b});if(!_0x2da643)return!0x1;let _0x217f5d=_0x244b72[_0x1c4b09(0x1be)](Q)[_0x1c4b09(0x1e9)](_0x39e977,_0x3dae05,_0x4d898b);if(!_0x217f5d)return!0x1;let _0x5a783f=_0x244b72[_0x1c4b09(0x1be)](_0x24f238),_0x484936=_0x244b72[_0x1c4b09(0x1be)](_0x4378ee),_0x337d9b=_0x244b72['get'](_0x366df6),_0x348131={..._0x2da643[_0x1c4b09(0x172)],'width':_0x278b7f,'height':_0x2f77b0,'left':_0x4914a7,'top':_0x1ce27b,'flipX':_0x5382ab,'flipY':_0x51a13b,'angle':(_0x249a40=_0x53bc5==null?(_0x56ee7f=_0x2da643[_0x1c4b09(0x172)])==null?void 0x0:_0x56ee7f['angle']:_0x53bc5)==null?0x0:_0x249a40},_0x5b6100=_0x5eb23d(_0x348131,_0x48660a),_0xffdc3c=_0xe703e5(_0x348131,_0x48660a),_0x482e59=_0x217f5d[_0x1c4b09(0x198)](),_0xec011b=_0x217f5d[_0x1c4b09(0x21e)](),_0x124f00={'unitId':_0x39e977,'subUnitId':_0x3dae05,'drawingId':_0x4d898b,'drawingType':_0x258cc4['DRAWING_SHAPE'],'sheetTransform':_0x5b6100,'transform':_0x348131,'data':{'shapeType':_0x3d866b||_0x52ae91||_0x482e59,'shapeData':{..._0xec011b,'adjustValues':_0x47599a||_0x87780e||(_0xec011b==null?void 0x0:_0xec011b[_0x1c4b09(0x189)]),'relation':_0xe80af1||_0x5b37e0||(_0xec011b==null?void 0x0:_0xec011b[_0x1c4b09(0x1a3)])}},'axisAlignSheetTransform':_0xffdc3c,'allowTransform':!0x0},{undo:_0x520a84,redo:_0x42444a,objects:_0x1b0fbf}=_0x116c58['getBatchUpdateOp']([_0x124f00]),_0x369236=_0x337d9b[_0x1c4b09(0x185)]({'id':_0x15dfd3['id'],'params':{'unitId':_0x39e977,'drawings':[_0x124f00]}}),_0x5c1df7=[...(_0x1e942e=_0x369236[_0x1c4b09(0x1cf)])==null?[]:_0x1e942e,{'id':_0x551a9d['id'],'params':{'unitId':_0x39e977,'subUnitId':_0x3dae05,'op':_0x42444a,'objects':_0x1b0fbf,'type':_0x4f2c4e[_0x1c4b09(0x194)]}},{'id':_0x395547['id'],'params':[_0x39e977]},..._0x369236[_0x1c4b09(0x1d5)],{'id':$['id'],'params':{'unitId':_0x39e977,'subUnitId':_0x3dae05,'shapeId':_0x4d898b,'shapeType':_0x3d866b,'shapeData':{'adjustValues':_0x47599a,'relation':_0xe80af1}}}],_0x217ff8=[...(_0x3ffeee=_0x369236['preUndos'])==null?[]:_0x3ffeee,{'id':_0x551a9d['id'],'params':{'unitId':_0x39e977,'subUnitId':_0x3dae05,'op':_0x520a84,'objects':_0x1b0fbf,'type':_0x4f2c4e[_0x1c4b09(0x194)]}},{'id':_0x395547['id'],'params':[_0x39e977]},..._0x369236[_0x1c4b09(0x1bb)],{'id':$['id'],'params':{'unitId':_0x39e977,'subUnitId':_0x3dae05,'shapeId':_0x4d898b,'shapeType':_0x482e59,'shapeData':{..._0xec011b,'adjustValues':_0x87780e||(_0xec011b==null?void 0x0:_0xec011b['adjustValues']),'relation':_0x5b37e0||(_0xec011b==null?void 0x0:_0xec011b[_0x1c4b09(0x1a3)])}}}];return _0xfd50fc(_0x5c1df7,_0x5a783f)[_0x1c4b09(0x1f3)]?(_0x484936[_0x1c4b09(0x1eb)]({'unitID':_0x39e977,'undoMutations':_0x217ff8,'redoMutations':_0x5c1df7}),!0x0):!0x1;}},_e={'type':_0x18160b[_0xab0703(0x187)],'id':'sheet.command.update-line-shape-resize','handler':(_0x42f934,_0x577679)=>{const _0x1703ff=_0xab0703;var _0x498ead,_0x556d69;let _0x917ba6=_0x488b55(_0x42f934[_0x1703ff(0x1be)](_0x2eeaa3),_0x577679);if(!_0x917ba6)return!0x1;let _0x263df0=_0x42f934['get'](_0x4f3885),{unitId:_0x5eb9c5,subUnitId:_0x35b3f5}=_0x917ba6,_0x10c5f4=_0x263df0['getSkeleton'](_0x5eb9c5,_0x35b3f5);if(!_0x10c5f4)return!0x1;let _0x5973fa=_0x42f934[_0x1703ff(0x1be)](_0x351531),{shapeId:_0x4eb453,width:_0x32cb0e,height:_0x4ab8c1,left:_0x2d1104,top:_0x4f4f30,flipX:_0x3e2a4c,flipY:_0xb8f894,angle:_0x2b9ec5,oldAdjustValues:_0x286250,newAdjustValues:_0x2c61a8,oldLineType:_0x376a74,newLineType:_0xb770d5}=_0x577679,_0x493b61=_0x5973fa[_0x1703ff(0x1c4)]({'unitId':_0x5eb9c5,'subUnitId':_0x35b3f5,'drawingId':_0x4eb453});if(!_0x493b61)return!0x1;let _0x2d5de2=_0x42f934[_0x1703ff(0x1be)](Q)[_0x1703ff(0x1e9)](_0x5eb9c5,_0x35b3f5,_0x4eb453);if(!_0x2d5de2)return!0x1;let _0x4f52b8=_0x42f934[_0x1703ff(0x1be)](_0x24f238),_0x2a12ba=_0x42f934['get'](_0x4378ee),_0x390e38=_0x42f934[_0x1703ff(0x1be)](_0x366df6),_0x2aff1b={..._0x493b61['transform'],'width':_0x32cb0e,'height':_0x4ab8c1,'left':_0x2d1104,'top':_0x4f4f30,'flipX':_0x3e2a4c,'flipY':_0xb8f894,'angle':_0x2b9ec5},_0x4e6a23=_0x5eb23d(_0x2aff1b,_0x10c5f4),_0x32eb51=_0xe703e5(_0x2aff1b,_0x10c5f4),_0x546b26=_0x2d5de2[_0x1703ff(0x198)](),_0x40bfcd=_0x2d5de2['getShapeData'](),_0x2387bc={'unitId':_0x5eb9c5,'subUnitId':_0x35b3f5,'drawingId':_0x4eb453,'drawingType':_0x258cc4['DRAWING_SHAPE'],'sheetTransform':_0x4e6a23,'transform':_0x2aff1b,'data':{'shapeType':_0xb770d5||_0x376a74||_0x546b26,'shapeData':{..._0x40bfcd,'adjustValues':_0x2c61a8||_0x286250||(_0x40bfcd==null?void 0x0:_0x40bfcd['adjustValues'])}},'axisAlignSheetTransform':_0x32eb51,'allowTransform':!0x0},{undo:_0xe05cc2,redo:_0x599c38,objects:_0x583c87}=_0x5973fa[_0x1703ff(0x18d)]([_0x2387bc]),_0x1b38b7=_0x390e38[_0x1703ff(0x185)]({'id':_0x15dfd3['id'],'params':{'unitId':_0x5eb9c5,'drawings':[_0x2387bc]}}),_0x55a87c=[...(_0x498ead=_0x1b38b7[_0x1703ff(0x1cf)])==null?[]:_0x498ead,{'id':_0x551a9d['id'],'params':{'unitId':_0x5eb9c5,'subUnitId':_0x35b3f5,'op':_0x599c38,'objects':_0x583c87,'type':_0x4f2c4e[_0x1703ff(0x194)]}},{'id':_0x395547['id'],'params':[_0x5eb9c5]},..._0x1b38b7[_0x1703ff(0x1d5)],{'id':$['id'],'params':{'unitId':_0x5eb9c5,'subUnitId':_0x35b3f5,'shapeId':_0x4eb453,'shapeType':_0xb770d5,'shapeData':{'adjustValues':_0x2c61a8}}}],_0x215c90=[...(_0x556d69=_0x1b38b7[_0x1703ff(0x153)])==null?[]:_0x556d69,{'id':_0x551a9d['id'],'params':{'unitId':_0x5eb9c5,'subUnitId':_0x35b3f5,'op':_0xe05cc2,'objects':_0x583c87,'type':_0x4f2c4e[_0x1703ff(0x194)]}},{'id':_0x395547['id'],'params':[_0x5eb9c5]},..._0x1b38b7['undos'],{'id':$['id'],'params':{'unitId':_0x5eb9c5,'subUnitId':_0x35b3f5,'shapeId':_0x4eb453,'shapeType':_0x546b26,'shapeData':{..._0x40bfcd,'adjustValues':_0x286250||(_0x40bfcd==null?void 0x0:_0x40bfcd[_0x1703ff(0x189)])}}}];return _0xfd50fc(_0x55a87c,_0x4f52b8)['result']?(_0x2a12ba['pushUndoRedo']({'unitID':_0x5eb9c5,'undoMutations':_0x215c90,'redoMutations':_0x55a87c}),!0x0):!0x1;}},ve={'id':'sheet.mutation.update-shape-type','type':_0x18160b['MUTATION'],'handler':(_0x22d412,_0xb0f583)=>{const _0x11cffc=_0xab0703;let {unitId:_0x7adf0d,subUnitId:_0x55186a,shapeType:_0x42522f,shapeId:_0x3162ea,shapeData:_0x56ad08}=_0xb0f583,_0x4e1be1=_0x22d412[_0x11cffc(0x1be)](Q)[_0x11cffc(0x1e9)](_0x7adf0d,_0x55186a,_0x3162ea);return _0x4e1be1&&(_0x4e1be1['setShapeType'](_0x42522f),_0x56ad08&&(_0x4e1be1==null||_0x4e1be1[_0x11cffc(0x19e)](_0x56ad08))),!0x0;}};var ye=_0xab0703(0x170),be=_0xab0703(0x1e0);function xe(_0x4a929b){const _0xa4318e=_0xab0703;var _0xb57a28,_0x997941,_0xf2d9e7,_0x23fb92,_0xe5398b,_0x5bb410,_0x2f3b6c,_0xa62245,_0x596b39,_0x1b56dc,_0x1c7b34,_0x2c07c3,_0x36e989,_0x292db5;return{'left':(_0xb57a28=(_0x997941=_0x4a929b[_0xa4318e(0x172)])==null?void 0x0:_0x997941[_0xa4318e(0x1c5)])==null?0x0:_0xb57a28,'top':(_0xf2d9e7=(_0x23fb92=_0x4a929b[_0xa4318e(0x172)])==null?void 0x0:_0x23fb92[_0xa4318e(0x204)])==null?0x0:_0xf2d9e7,'width':(_0xe5398b=(_0x5bb410=_0x4a929b[_0xa4318e(0x172)])==null?void 0x0:_0x5bb410[_0xa4318e(0x200)])==null?0xc8:_0xe5398b,'height':(_0x2f3b6c=(_0xa62245=_0x4a929b[_0xa4318e(0x172)])==null?void 0x0:_0xa62245[_0xa4318e(0x1a4)])==null?0xc8:_0x2f3b6c,'rotation':(_0x596b39=(_0x1b56dc=_0x4a929b['transform'])==null?void 0x0:_0x1b56dc['rotation'])==null?0x0:_0x596b39,'flipX':(_0x1c7b34=(_0x2c07c3=_0x4a929b[_0xa4318e(0x172)])==null?void 0x0:_0x2c07c3[_0xa4318e(0x1f0)])!=null&&_0x1c7b34,'flipY':(_0x36e989=(_0x292db5=_0x4a929b[_0xa4318e(0x172)])==null?void 0x0:_0x292db5['flipY'])!=null&&_0x36e989};}let Se=class{constructor(_0x57b01e,_0x4f6891,_0xa6b92d,_0x55f894){const _0x57c205=_0xab0703;this['_commandService']=_0x57b01e,this['_shapeService']=_0x4f6891,this[_0x57c205(0x214)]=_0xa6b92d,this[_0x57c205(0x1d9)]=_0x55f894,X(this,_0x57c205(0x211),_0x7970aa[_0x57c205(0x1ea)]);}get[_0xab0703(0x20a)](){return{'subscribe':_0x3879b6=>{const _0x185f3d=_0x16e7;let _0x40e355=this[_0x185f3d(0x1e4)][_0x185f3d(0x1d4)](_0x466d7=>{const _0x2a45c8=_0x185f3d;(_0x466d7['id']===le['id']||_0x466d7['id']===ue['id']||_0x466d7['id']===$['id']||_0x466d7['id']===ve['id'])&&_0x3879b6({'unitId':_0x466d7['params'][_0x2a45c8(0x1c2)]});});return{'unsubscribe':()=>_0x40e355[_0x185f3d(0x1b9)]()};}};}['getShape'](_0x310855){const _0x5b57ca=_0xab0703;var _0x3512b9,_0x30ad81,_0x4dd290,_0x102d24,_0x586ebe,_0x3ef370,_0x41f807,_0x55afb5,_0x467d96;let _0x395999=(_0x3512b9=this['_drawingService'][_0x5b57ca(0x158)](_0x310855[_0x5b57ca(0x1c2)],_0x310855['subUnitId']))==null?void 0x0:_0x3512b9[_0x310855[_0x5b57ca(0x168)]],_0x368534=this[_0x5b57ca(0x1f9)][_0x5b57ca(0x198)](_0x310855[_0x5b57ca(0x1c2)],_0x310855['subUnitId'],_0x310855[_0x5b57ca(0x168)]);if(!_0x395999||_0x395999[_0x5b57ca(0x1e7)]!==_0x258cc4[_0x5b57ca(0x163)]||!_0x368534)return null;let _0x31e9c9=_0x395999[_0x5b57ca(0x172)];return{..._0x310855,'shapeType':_0x368534,'shapeData':_0x30a3e1[_0x5b57ca(0x166)]((_0x30ad81=this['_shapeService'][_0x5b57ca(0x1b3)](_0x310855[_0x5b57ca(0x1c2)],_0x310855[_0x5b57ca(0x206)],_0x310855[_0x5b57ca(0x168)]))==null?{}:_0x30ad81),'name':_0x395999[_0x5b57ca(0x1d8)],'description':_0x395999[_0x5b57ca(0x1b2)],'visible':_0x395999['hidden']!==!0x0,'selectable':_0x395999[_0x5b57ca(0x1e3)]!==!0x1,'transform':{'left':(_0x4dd290=_0x31e9c9==null?void 0x0:_0x31e9c9[_0x5b57ca(0x1c5)])==null?0x0:_0x4dd290,'top':(_0x102d24=_0x31e9c9==null?void 0x0:_0x31e9c9['top'])==null?0x0:_0x102d24,'width':(_0x586ebe=_0x31e9c9==null?void 0x0:_0x31e9c9[_0x5b57ca(0x200)])==null?0xc8:_0x586ebe,'height':(_0x3ef370=_0x31e9c9==null?void 0x0:_0x31e9c9[_0x5b57ca(0x1a4)])==null?0xc8:_0x3ef370,'rotation':(_0x41f807=_0x31e9c9==null?void 0x0:_0x31e9c9[_0x5b57ca(0x197)])==null?0x0:_0x41f807,'flipX':(_0x55afb5=_0x31e9c9==null?void 0x0:_0x31e9c9[_0x5b57ca(0x1f0)])!=null&&_0x55afb5,'flipY':(_0x467d96=_0x31e9c9==null?void 0x0:_0x31e9c9[_0x5b57ca(0x20e)])!=null&&_0x467d96}};}[_0xab0703(0x208)](_0xfa1f9f){const _0x1771fa=_0xab0703;var _0x1fb463;let _0x1de22c=(_0x1fb463=this[_0x1771fa(0x214)][_0x1771fa(0x158)](_0xfa1f9f[_0x1771fa(0x1c2)],_0xfa1f9f[_0x1771fa(0x206)]))==null?{}:_0x1fb463;return Object[_0x1771fa(0x18c)](_0x1de22c)[_0x1771fa(0x1fc)](_0xee4767=>(_0xee4767==null?void 0x0:_0xee4767[_0x1771fa(0x1e7)])===_0x258cc4[_0x1771fa(0x163)])[_0x1771fa(0x160)](_0x3bd6d1=>this[_0x1771fa(0x1e5)]({..._0xfa1f9f,'shapeId':_0x3bd6d1[_0x1771fa(0x165)]}))[_0x1771fa(0x1fc)](_0x5ae304=>!!_0x5ae304);}['listShapesInUnit'](_0x446be4){const _0x2ba79d=_0xab0703;var _0x40ad3a;let _0x59c723=this['_instanceService'][_0x2ba79d(0x1b0)](_0x446be4,_0x7970aa[_0x2ba79d(0x1ea)]);return(_0x40ad3a=_0x59c723==null?void 0x0:_0x59c723['getSheets']()[_0x2ba79d(0x1ce)](_0x33058e=>this[_0x2ba79d(0x208)]({'hostType':this[_0x2ba79d(0x211)],'unitId':_0x446be4,'subUnitId':_0x33058e[_0x2ba79d(0x15f)]()})))==null?[]:_0x40ad3a;}[_0xab0703(0x21c)](_0x1d0c89,_0x5532f0){const _0x69e84a=_0xab0703;var _0x3b42c3,_0x415125,_0x3150d2,_0x2f5bee,_0x208226;let _0x1526cf=_0x314874(),_0x59856e=xe(_0x5532f0);return this[_0x69e84a(0x1e4)][_0x69e84a(0x1d1)](de['id'],{'unitId':_0x1d0c89[_0x69e84a(0x1c2)],'subUnitId':_0x1d0c89['subUnitId'],'shapeId':_0x1526cf,'shapeType':_0x5532f0['shapeType'],'shapeData':_0x5532f0[_0x69e84a(0x1f5)],'name':_0x5532f0[_0x69e84a(0x1d8)],'description':_0x5532f0[_0x69e84a(0x1b2)],'position':{'x':_0x59856e[_0x69e84a(0x1c5)],'y':_0x59856e[_0x69e84a(0x204)]},'width':_0x59856e[_0x69e84a(0x200)],'height':_0x59856e[_0x69e84a(0x1a4)],'rotation':_0x59856e[_0x69e84a(0x1ee)],'flipX':_0x59856e['flipX'],'flipY':_0x59856e['flipY'],'visible':(_0x3b42c3=_0x5532f0[_0x69e84a(0x1a1)])==null||_0x3b42c3,'selectable':(_0x415125=_0x5532f0[_0x69e84a(0x1e3)])==null||_0x415125})?{..._0x1d0c89,'shapeId':_0x1526cf,'shapeType':_0x5532f0[_0x69e84a(0x1cc)],'shapeData':_0x30a3e1[_0x69e84a(0x166)]((_0x3150d2=_0x5532f0[_0x69e84a(0x1f5)])==null?{}:_0x3150d2),'name':_0x5532f0[_0x69e84a(0x1d8)],'description':_0x5532f0[_0x69e84a(0x1b2)],'visible':(_0x2f5bee=_0x5532f0['visible'])==null||_0x2f5bee,'selectable':(_0x208226=_0x5532f0['selectable'])==null||_0x208226,'transform':_0x59856e}:null;}[_0xab0703(0x1ed)](_0x3b4e31,_0x16a524){const _0x1c0466=_0xab0703;var _0x244ebb,_0x42a10e,_0x35ec65,_0x5f4092,_0x3e633a,_0x5a220c;let _0x4e6d7c=this[_0x1c0466(0x1e5)](_0x3b4e31);if(!_0x4e6d7c)return!0x1;let _0x3b348a={..._0x4e6d7c[_0x1c0466(0x172)],..._0x16a524['transform']};return this[_0x1c0466(0x1e4)][_0x1c0466(0x1d1)](fe['id'],{'unitId':_0x3b4e31[_0x1c0466(0x1c2)],'subUnitId':_0x3b4e31['subUnitId'],'shapeId':_0x3b4e31[_0x1c0466(0x168)],'shapeType':(_0x244ebb=(_0x42a10e=_0x16a524['shapeType'])==null?(_0x35ec65=_0x16a524[_0x1c0466(0x1f5)])==null?void 0x0:_0x35ec65[_0x1c0466(0x1cc)]:_0x42a10e)==null?_0x4e6d7c['shapeType']:_0x244ebb,'shapeData':(_0x5f4092=_0x16a524['shapeData'])==null?_0x4e6d7c[_0x1c0466(0x1f5)]:_0x5f4092,'position':{'x':_0x3b348a[_0x1c0466(0x1c5)],'y':_0x3b348a[_0x1c0466(0x204)]},'width':_0x3b348a[_0x1c0466(0x200)],'height':_0x3b348a[_0x1c0466(0x1a4)],'rotation':_0x3b348a[_0x1c0466(0x1ee)],'flipX':_0x3b348a[_0x1c0466(0x1f0)],'flipY':_0x3b348a[_0x1c0466(0x20e)],'name':'name'in _0x16a524?_0x16a524[_0x1c0466(0x1d8)]:_0x4e6d7c[_0x1c0466(0x1d8)],'description':'description'in _0x16a524?_0x16a524[_0x1c0466(0x1b2)]:_0x4e6d7c[_0x1c0466(0x1b2)],'visible':(_0x3e633a=_0x16a524[_0x1c0466(0x1a1)])==null?_0x4e6d7c[_0x1c0466(0x1a1)]:_0x3e633a,'selectable':(_0x5a220c=_0x16a524[_0x1c0466(0x1e3)])==null?_0x4e6d7c[_0x1c0466(0x1e3)]:_0x5a220c});}[_0xab0703(0x151)](_0x37cb1f,_0x242d11,_0x9b9c73){const _0x3b8f67=_0xab0703;let _0x524a85=this[_0x3b8f67(0x1e5)](_0x37cb1f),_0x5a010f=_0x524a85==null?void 0x0:_0x524a85[_0x3b8f67(0x1f5)][_0x3b8f67(0x1a6)];return!_0x524a85||!_0x5a010f?null:{'id':$['id'],'params':{'unitId':_0x37cb1f[_0x3b8f67(0x1c2)],'subUnitId':_0x37cb1f[_0x3b8f67(0x206)],'shapeId':_0x37cb1f[_0x3b8f67(0x168)],'shapeData':{..._0x524a85[_0x3b8f67(0x1f5)],'formulaBinding':{..._0x5a010f,'lastValue':_0x30a3e1[_0x3b8f67(0x166)](_0x9b9c73)}},'replace':!0x0,'formulaLastValueGuard':_0x242d11}};}[_0xab0703(0x217)](_0x256678){const _0x318234=_0xab0703;return this['_commandService']['syncExecuteCommand'](_0x47b923['id'],{'unitId':_0x256678[_0x318234(0x1c2)],'drawings':[{'unitId':_0x256678['unitId'],'subUnitId':_0x256678[_0x318234(0x206)],'drawingId':_0x256678[_0x318234(0x168)],'drawingType':_0x258cc4[_0x318234(0x163)]}]});}[_0xab0703(0x180)](_0x427cf4){const _0x3eba5b=_0xab0703;return this[_0x3eba5b(0x1c1)](_0x427cf4,_0x716b69[_0x3eba5b(0x1fb)]);}[_0xab0703(0x1b1)](_0x2261ee){const _0x5b37ba=_0xab0703;return this['_arrange'](_0x2261ee,_0x716b69[_0x5b37ba(0x20b)]);}['sendBackward'](_0x2a004e){const _0x163d3d=_0xab0703;return this[_0x163d3d(0x1c1)](_0x2a004e,_0x716b69[_0x163d3d(0x16f)]);}[_0xab0703(0x1a7)](_0xe4f86a){const _0x3e0e85=_0xab0703;return this['_arrange'](_0xe4f86a,_0x716b69[_0x3e0e85(0x202)]);}['_arrange'](_0xa7ea72,_0x5ab98a){const _0x1c3a61=_0xab0703;return this[_0x1c3a61(0x1e4)][_0x1c3a61(0x1d1)](_0x498f41['id'],{'unitId':_0xa7ea72[_0x1c3a61(0x1c2)],'subUnitId':_0xa7ea72[_0x1c3a61(0x206)],'drawingIds':[_0xa7ea72['shapeId']],'arrangeType':_0x5ab98a});}};Se=ce([Z(0x0,_0x24f238),Z(0x1,_0x3fe8d2(Q)),Z(0x2,_0x351531),Z(0x3,_0x2eeaa3)],Se);const Ce={};let we=class extends _0x2541f3{constructor(_0x3e94c0,_0x2c0d0c,_0x3f1222,_0x42f90e,_0x547648,_0x2aa742,_0x366232){const _0x3b122c=_0xab0703;super(),this[_0x3b122c(0x1e4)]=_0x3e94c0,this[_0x3b122c(0x1d6)]=_0x2c0d0c,this[_0x3b122c(0x179)]=_0x3f1222,this[_0x3b122c(0x1fe)]=_0x42f90e,this[_0x3b122c(0x1ab)]=_0x547648,this['_shapeHostAdapterRegistry']=_0x2aa742,this[_0x3b122c(0x1d2)](),this[_0x3b122c(0x196)](),this[_0x3b122c(0x20f)](this[_0x3b122c(0x156)]['register'](_0x366232));}['_initCommands'](){const _0x459b28=_0xab0703;[de,fe,pe,me,he,ge,_e,le,ue,ve,$][_0x459b28(0x17e)](_0x1c22b6=>this[_0x459b28(0x20f)](this['_commandService'][_0x459b28(0x1fd)](_0x1c22b6)));}[_0xab0703(0x196)](){const _0x2ed42a=_0xab0703;this[_0x2ed42a(0x20f)](this['_sheetInterceptorService'][_0x2ed42a(0x177)]({'getMutations':_0x1024df=>{const _0x46df0b=_0x2ed42a;if(_0x1024df['id']===_0x47b923['id']){let {drawings:_0x21208b}=_0x1024df[_0x46df0b(0x150)],_0x52407d=_0x21208b['filter'](_0x185052=>_0x185052[_0x46df0b(0x1e7)]===_0x258cc4[_0x46df0b(0x163)]);if(_0x52407d[_0x46df0b(0x21d)]===0x0)return{'preRedos':[],'redos':[],'preUndos':[],'undos':[]};let _0x44de6f=[],_0x3fc346=[];return _0x52407d[_0x46df0b(0x17e)](_0x8bacb8=>{const _0xf4cb4e=_0x46df0b;let {unitId:_0x468d81,subUnitId:_0x3adba9,drawingId:_0x40121a}=_0x8bacb8,_0x168b41=this[_0xf4cb4e(0x1fe)][_0xf4cb4e(0x1e9)](_0x468d81,_0x3adba9,_0x40121a);if(!_0x168b41)throw TypeError('Fail\x20to\x20get\x20shape\x20model,\x20get:\x20'+_0x168b41);_0x44de6f['push']({'id':ue['id'],'params':{'unitId':_0x468d81,'subUnitId':_0x3adba9,'shapeId':_0x40121a}}),_0x3fc346[_0xf4cb4e(0x1e2)]({'id':le['id'],'params':{'unitId':_0x468d81,'subUnitId':_0x3adba9,'shapeId':_0x40121a,'shapeType':_0x168b41[_0xf4cb4e(0x198)](),'shapeData':_0x168b41[_0xf4cb4e(0x21e)]()}});let _0x502db9=this[_0xf4cb4e(0x1fe)][_0xf4cb4e(0x17f)](_0x468d81,_0x3adba9,_0x40121a);if(_0x502db9)for(let _0x58500d of _0x502db9){let _0x54d40e=_0x58500d['lineShapeId'],_0x5e252b=_0x58500d[_0xf4cb4e(0x1f1)],_0x9c96eb=_0x5e252b?{'from':void 0x0}:{'to':void 0x0},_0x264804=_0x5e252b?{'from':{'shapeId':_0x58500d[_0xf4cb4e(0x168)],'cxnIndex':_0x58500d[_0xf4cb4e(0x21f)]}}:{'to':{'shapeId':_0x58500d[_0xf4cb4e(0x168)],'cxnIndex':_0x58500d[_0xf4cb4e(0x21f)]}};_0x44de6f['push']({'id':$['id'],'params':{'unitId':_0x468d81,'subUnitId':_0x3adba9,'shapeId':_0x54d40e,'shapeData':{'relation':_0x9c96eb}}}),_0x3fc346[_0xf4cb4e(0x1e2)]({'id':$['id'],'params':{'unitId':_0x468d81,'subUnitId':_0x3adba9,'shapeId':_0x54d40e,'shapeData':{'relation':_0x264804}}});}}),{'preRedos':_0x44de6f,'redos':[],'preUndos':[],'undos':_0x3fc346};}if(_0x1024df['id']===_0x15dfd3['id']){let {drawings:_0x3c1ebb}=_0x1024df['params'],_0x3436af=_0x3c1ebb['filter'](_0x5d7a78=>_0x5d7a78[_0x46df0b(0x1e7)]===_0x258cc4[_0x46df0b(0x163)]);if(_0x3436af['length']===0x0)return{'preRedos':[],'redos':[],'preUndos':[],'undos':[]};let _0xef2ee=[],_0x530ab0=[];for(let _0x2b1127 of _0x3436af){let {unitId:_0x54ff88,subUnitId:_0x2103c9,drawingId:_0x52b51b,transform:_0x40b47a}=_0x2b1127;if(!_0x54ff88||!_0x2103c9||!_0x52b51b||!_0x40b47a)continue;let _0xdd31d5=this['_sheetsShapeService'][_0x46df0b(0x1e9)](_0x54ff88,_0x2103c9,_0x52b51b);if(!_0xdd31d5)throw TypeError(_0x46df0b(0x188)+_0xdd31d5);if(_0x494a20(_0xdd31d5['getShapeType']())){let _0x3c9faa=this['_sheetsShapeService'][_0x46df0b(0x1ff)](_0x54ff88,_0x2103c9,_0x52b51b);_0x3c9faa&&(_0xef2ee[_0x46df0b(0x1e2)]({'id':$['id'],'params':{'unitId':_0x54ff88,'subUnitId':_0x2103c9,'shapeId':_0x52b51b,'shapeData':{'relation':{'from':void 0x0,'to':void 0x0}}}}),_0x530ab0[_0x46df0b(0x1e2)]({'id':$['id'],'params':{'unitId':_0x54ff88,'subUnitId':_0x2103c9,'shapeId':_0x52b51b,'shapeData':{'relation':_0x3c9faa}}}));}else{let _0x3b3ef8=this['_sheetsShapeService'][_0x46df0b(0x17f)](_0x54ff88,_0x2103c9,_0x52b51b);if(_0x3b3ef8&&_0x3b3ef8[_0x46df0b(0x21d)]>0x0)for(let _0x3bb816 of _0x3b3ef8){let _0x23c97e=_0x3bb816[_0x46df0b(0x14e)],_0x5d22c4=_0x3bb816[_0x46df0b(0x1f1)],_0x1f1f1d=this[_0x46df0b(0x1fe)][_0x46df0b(0x1e9)](_0x54ff88,_0x2103c9,_0x23c97e);if(!_0x1f1f1d)continue;let _0x18d93c=_0x1f1f1d['getStartConnectInfo'](),_0x3cc009=_0x1f1f1d[_0x46df0b(0x1bc)]();_0x18d93c&&_0x3cc009?this[_0x46df0b(0x161)](_0x54ff88,_0x2103c9,_0x23c97e,_0x1f1f1d,_0x18d93c,_0x3cc009,_0xef2ee,_0x530ab0,_0x52b51b,_0x40b47a):this[_0x46df0b(0x167)](_0x54ff88,_0x2103c9,_0x23c97e,_0x1f1f1d,_0x5d22c4?_0x18d93c:_0x3cc009,_0x5d22c4,_0xef2ee,_0x530ab0,_0x52b51b,_0x40b47a);}}}return{'preRedos':[],'redos':_0xef2ee,'preUndos':_0x530ab0,'undos':[]};}return{'preRedos':[],'redos':[],'preUndos':[],'undos':[]};}}));}[_0xab0703(0x19c)](_0x9795b4,_0x50d97a,_0xdf0bdf,_0x5488c9,_0x5548fa){const _0x4984da=_0xab0703;if(!_0x50d97a||!_0xdf0bdf)return null;let {shapeId:_0x547061,cxnIndex:_0x5a493a}=_0x9795b4,_0x14ed63=this[_0x4984da(0x1fe)]['getShapeModel'](_0x50d97a,_0xdf0bdf,_0x547061);if(!_0x14ed63)return null;let _0x4c3f5d=this[_0x4984da(0x1ab)]['getDrawingByParam']({'unitId':_0x50d97a,'subUnitId':_0xdf0bdf,'drawingId':_0x547061});if(!(_0x4c3f5d!=null&&_0x4c3f5d[_0x4984da(0x172)]))return null;let {left:_0x13f39b=0x0,top:_0x5f1828=0x0,width:_0x14aa02=0x0,height:_0x4b07ce=0x0,flipX:_0x144559=!0x1,flipY:_0x54a55d=!0x1,angle:_0x5ab067}=_0x4c3f5d['transform'];if(_0x5548fa&&_0x5488c9===_0x547061){var _0x30c9d0,_0x1041d3,_0x57538f,_0x2c786c,_0x419433,_0x27ec11,_0x57dd62;_0x13f39b=(_0x30c9d0=_0x5548fa['left'])==null?_0x13f39b:_0x30c9d0,_0x5f1828=(_0x1041d3=_0x5548fa[_0x4984da(0x204)])==null?_0x5f1828:_0x1041d3,_0x14aa02=(_0x57538f=_0x5548fa[_0x4984da(0x200)])==null?_0x14aa02:_0x57538f,_0x4b07ce=(_0x2c786c=_0x5548fa[_0x4984da(0x1a4)])==null?_0x4b07ce:_0x2c786c,_0x144559=(_0x419433=_0x5548fa[_0x4984da(0x1f0)])==null?_0x144559:_0x419433,_0x54a55d=(_0x27ec11=_0x5548fa[_0x4984da(0x20e)])==null?_0x54a55d:_0x27ec11,_0x5ab067=(_0x57dd62=_0x5548fa[_0x4984da(0x197)])==null?_0x5ab067:_0x57dd62;}_0x14ed63[_0x4984da(0x1a9)]({'width':_0x14aa02,'height':_0x4b07ce});let _0x4fae1c=_0x14ed63[_0x4984da(0x15c)]()[_0x4984da(0x1b7)](_0x331464=>_0x331464[_0x4984da(0x184)]===_0x5a493a);if(!_0x4fae1c)return null;let _0x515dba=_0x144559?_0x14aa02-_0x4fae1c['x']:_0x4fae1c['x'],_0x5e6412=_0x54a55d?_0x4b07ce-_0x4fae1c['y']:_0x4fae1c['y'];if(_0x5ab067!==0x0&&_0x5ab067!=null){let _0x2d790b=_0x5ab067*Math['PI']/0xb4,_0x1f0a0d=Math[_0x4984da(0x1dd)](_0x2d790b),_0x5263ae=Math[_0x4984da(0x15e)](_0x2d790b),_0x3e4323=_0x14aa02/0x2,_0x3f8be0=_0x4b07ce/0x2,_0x25dfb1=_0x515dba-_0x3e4323,_0x5792eb=_0x5e6412-_0x3f8be0;_0x515dba=_0x3e4323+_0x25dfb1*_0x1f0a0d-_0x5792eb*_0x5263ae,_0x5e6412=_0x3f8be0+_0x25dfb1*_0x5263ae+_0x5792eb*_0x1f0a0d;}_0x515dba+=_0x13f39b,_0x5e6412+=_0x5f1828;let _0x49a006=_0x4fae1c[_0x4984da(0x1e1)]/0xea60;_0x144559&&(_0x49a006=0xb4-_0x49a006),_0x54a55d&&(_0x49a006=-_0x49a006),_0x49a006+=_0x5ab067||0x0,_0x49a006=(_0x49a006%0x168+0x168)%0x168;let _0x3714b0=_0x392b33({'left':_0x13f39b,'top':_0x5f1828,'width':_0x14aa02,'height':_0x4b07ce},_0x5ab067||0x0);return{'point':{'x':_0x515dba,'y':_0x5e6412},'angle':_0x49a006,'bounds':_0x3714b0};}[_0xab0703(0x161)](_0x178351,_0x211c1a,_0x58c1ab,_0x1a0b05,_0x314f00,_0x4bf85a,_0x1595bc,_0xf9e6d4,_0x3ec634,_0x4c09e1){const _0x2a49d1=_0xab0703;let _0x108411=this[_0x2a49d1(0x179)]['getSkeleton'](_0x178351,_0x211c1a);if(!_0x108411)return;let _0x293179=_0x1a0b05['getShapeRelation'](),_0xccee01=_0x1a0b05[_0x2a49d1(0x155)](),_0x28aa2f={},_0x103317={};_0xccee01['forEach'](_0x3cc2ea=>{const _0x548707=_0x2a49d1;let _0x4274d9=_0x1a0b05[_0x548707(0x1ef)](_0x3cc2ea);_0x103317[_0x3cc2ea]=_0x4274d9==null?0x0:_0x4274d9;});let _0x38c137=this['_getConnectPointInfo'](_0x314f00,_0x178351,_0x211c1a,_0x3ec634,_0x4c09e1),_0x4fd216=this[_0x2a49d1(0x19c)](_0x4bf85a,_0x178351,_0x211c1a,_0x3ec634,_0x4c09e1);if(_0x38c137&&_0x4fd216){let _0x516531=_0x1a0b05['getShapeType'](),_0x24579c=_0x2f3676(_0x38c137,_0x4fd216,_0x516531),_0x1ed4c4=_0x516531;if(_0x24579c){let _0x438a3d=_0x2be7d1(_0x24579c,_0x1a0b05['getShapeType']()),_0x5a1384=this[_0x2a49d1(0x1ab)][_0x2a49d1(0x158)](_0x178351,_0x211c1a);if(_0x5a1384&&_0x5a1384[_0x58c1ab]){let _0x31ec20=_0x5a1384[_0x58c1ab];_0x1ed4c4=_0x438a3d[_0x2a49d1(0x218)];for(let [_0x59fa9c,_0x4f7d32]of Object[_0x2a49d1(0x182)](_0x438a3d[_0x2a49d1(0x189)]))_0x28aa2f[_0x59fa9c]=_0x4f7d32;let _0x3dbdee={..._0x31ec20['transform'],'width':_0x438a3d[_0x2a49d1(0x1b4)]['width'],'height':_0x438a3d[_0x2a49d1(0x1b4)][_0x2a49d1(0x1a4)],'left':_0x438a3d[_0x2a49d1(0x1b4)][_0x2a49d1(0x1c5)],'top':_0x438a3d['worldRect'][_0x2a49d1(0x204)],'flipX':_0x438a3d[_0x2a49d1(0x1b4)][_0x2a49d1(0x1f0)],'flipY':_0x438a3d[_0x2a49d1(0x1b4)]['flipY'],'angle':_0x438a3d['rotation']},_0x1b671a=_0x5eb23d(_0x3dbdee,_0x108411),_0x3f8e29=_0xe703e5(_0x3dbdee,_0x108411),_0x4db3e3={'unitId':_0x178351,'subUnitId':_0x211c1a,'drawingType':_0x258cc4[_0x2a49d1(0x163)],'drawingId':_0x58c1ab,'transform':_0x3dbdee,'sheetTransform':_0x1b671a,'axisAlignSheetTransform':_0x3f8e29},{unitId:_0x35df17,subUnitId:_0x575f36,undo:_0x29ae17,redo:_0xeccb9c,objects:_0x37125d}=this[_0x2a49d1(0x1ab)][_0x2a49d1(0x18d)]([_0x4db3e3]);_0x1595bc[_0x2a49d1(0x1e2)]({'id':_0x551a9d['id'],'params':{'unitId':_0x35df17,'subUnitId':_0x575f36,'op':_0xeccb9c,'objects':_0x37125d,'type':_0x4f2c4e['UPDATE']}}),_0xf9e6d4[_0x2a49d1(0x1e2)]({'id':_0x551a9d['id'],'params':{'unitId':_0x35df17,'subUnitId':_0x575f36,'op':_0x29ae17,'objects':_0x37125d,'type':_0x4f2c4e[_0x2a49d1(0x194)]}});}_0x1a0b05[_0x2a49d1(0x1f2)]();}_0x1595bc[_0x2a49d1(0x1e2)]({'id':$['id'],'params':{'unitId':_0x178351,'subUnitId':_0x211c1a,'shapeId':_0x58c1ab,'shapeType':_0x1ed4c4,'shapeData':{'adjustValues':_0x28aa2f,'relation':_0x293179}}}),_0xf9e6d4['push']({'id':$['id'],'params':{'unitId':_0x178351,'subUnitId':_0x211c1a,'shapeId':_0x58c1ab,'shapeType':_0x516531,'shapeData':{'adjustValues':_0x103317,'relation':_0x293179}}});}}['_addLineFollowShapeUpdates'](_0x4713fa,_0x540ac7,_0x45e7fb,_0x230eb4,_0x3390bc,_0x12eae6,_0x49d6b5,_0x19f230,_0x557dbc,_0x4aadf0){const _0x5a5fe3=_0xab0703;var _0x394623;if(!_0x3390bc)return;let _0x1f4d1d=this[_0x5a5fe3(0x179)][_0x5a5fe3(0x17c)](_0x4713fa,_0x540ac7);if(!_0x1f4d1d)return;let _0x1510a6=(_0x394623=this[_0x5a5fe3(0x1ab)][_0x5a5fe3(0x1c4)]({'unitId':_0x4713fa,'subUnitId':_0x540ac7,'drawingId':_0x557dbc}))==null?void 0x0:_0x394623['transform'];if(!_0x1510a6)return;let _0x10bd13=_0x1510a6[_0x5a5fe3(0x1c5)]!==_0x4aadf0[_0x5a5fe3(0x1c5)]||_0x1510a6[_0x5a5fe3(0x204)]!==_0x4aadf0[_0x5a5fe3(0x204)],_0x4de8fb=_0x1510a6[_0x5a5fe3(0x200)]!==_0x4aadf0[_0x5a5fe3(0x200)]||_0x1510a6[_0x5a5fe3(0x1a4)]!==_0x4aadf0['height'],_0x5b95cb=_0x1510a6[_0x5a5fe3(0x1f0)]!==_0x4aadf0['flipX']||_0x1510a6[_0x5a5fe3(0x20e)]!==_0x4aadf0['flipY'],_0x15f431=_0x1510a6['angle']!==_0x4aadf0[_0x5a5fe3(0x197)];if(_0x10bd13&&!_0x4de8fb&&!_0x5b95cb&&!_0x15f431){var _0x37276c,_0x57bf40,_0x10eb3c,_0x35f7b7;let _0x341d9d=((_0x37276c=_0x4aadf0[_0x5a5fe3(0x1c5)])==null?0x0:_0x37276c)-((_0x57bf40=_0x1510a6[_0x5a5fe3(0x1c5)])==null?0x0:_0x57bf40),_0x2c41f6=((_0x10eb3c=_0x4aadf0['top'])==null?0x0:_0x10eb3c)-((_0x35f7b7=_0x1510a6[_0x5a5fe3(0x204)])==null?0x0:_0x35f7b7),_0x2d07a9=this[_0x5a5fe3(0x1ab)][_0x5a5fe3(0x158)](_0x4713fa,_0x540ac7);if(_0x2d07a9&&_0x2d07a9[_0x45e7fb]){var _0x3debaa,_0x2a4232,_0x104498,_0x16fb2a;let _0x11ebb1=_0x2d07a9[_0x45e7fb],_0x16bd6a={..._0x11ebb1[_0x5a5fe3(0x172)],'left':((_0x3debaa=(_0x2a4232=_0x11ebb1[_0x5a5fe3(0x172)])==null?void 0x0:_0x2a4232['left'])==null?0x0:_0x3debaa)+_0x341d9d,'top':((_0x104498=(_0x16fb2a=_0x11ebb1[_0x5a5fe3(0x172)])==null?void 0x0:_0x16fb2a[_0x5a5fe3(0x204)])==null?0x0:_0x104498)+_0x2c41f6},_0x425abf=_0x5eb23d(_0x16bd6a,_0x1f4d1d),_0x3870fd=_0xe703e5(_0x16bd6a,_0x1f4d1d),_0x5ef360={'unitId':_0x4713fa,'subUnitId':_0x540ac7,'drawingType':_0x258cc4[_0x5a5fe3(0x163)],'drawingId':_0x45e7fb,'transform':_0x16bd6a,'sheetTransform':_0x425abf,'axisAlignSheetTransform':_0x3870fd},{unitId:_0x1dea90,subUnitId:_0x7a9f34,undo:_0x53cd5a,redo:_0x18e931,objects:_0x4ceff0}=this[_0x5a5fe3(0x1ab)][_0x5a5fe3(0x18d)]([_0x5ef360]);_0x49d6b5['push']({'id':_0x551a9d['id'],'params':{'unitId':_0x1dea90,'subUnitId':_0x7a9f34,'op':_0x18e931,'objects':_0x4ceff0,'type':_0x4f2c4e['UPDATE']}}),_0x19f230[_0x5a5fe3(0x1e2)]({'id':_0x551a9d['id'],'params':{'unitId':_0x1dea90,'subUnitId':_0x7a9f34,'op':_0x53cd5a,'objects':_0x4ceff0,'type':_0x4f2c4e['UPDATE']}});}}else{let _0x1e095c=_0x230eb4[_0x5a5fe3(0x1cd)](),_0x4b3401=_0x230eb4[_0x5a5fe3(0x1bc)]();this[_0x5a5fe3(0x161)](_0x4713fa,_0x540ac7,_0x45e7fb,_0x230eb4,_0x1e095c,_0x4b3401,_0x49d6b5,_0x19f230,_0x557dbc,_0x4aadf0);}}};we=ce([Z(0x0,_0x24f238),Z(0x1,_0x3fe8d2(_0x366df6)),Z(0x2,_0x3fe8d2(_0x4f3885)),Z(0x3,_0x3fe8d2(Q)),Z(0x4,_0x3fe8d2(_0x39c068)),Z(0x5,_0x3fe8d2(_0x395530)),Z(0x6,_0x3fe8d2(Se))],we);let Te=class extends _0x2541f3{constructor(_0x105b5d,_0x3568df,_0x15e50f){const _0x15f5e9=_0xab0703;super(),this[_0x15f5e9(0x1f9)]=_0x105b5d,this['_shapeAdapter']=_0x3568df,this[_0x15f5e9(0x20f)](_0x15e50f[_0x15f5e9(0x1df)](this));}['transform'](_0x2a93a8){const _0x432693=_0xab0703;let _0xd24e71={'preRedos':[],'redos':[],'preUndos':[],'undos':[]};this[_0x432693(0x1d0)](_0x2a93a8,_0xd24e71);for(let [_0x1fb259,_0x2f62b6]of _0x2a93a8[_0x432693(0x181)])this[_0x432693(0x17b)](_0x2a93a8,_0x1fb259,_0x2f62b6,_0xd24e71);return _0xd24e71;}[_0xab0703(0x1d0)](_0x417371,_0x4dcc6f){const _0xec7dd8=_0xab0703;if(_0x417371[_0xec7dd8(0x174)]===_0xec7dd8(0x20d))for(let _0xb4b95c of _0x417371[_0xec7dd8(0x1fa)]){let _0x5de204=_0x417371[_0xec7dd8(0x181)][_0xec7dd8(0x1be)](_0xb4b95c),_0x6c0763=this['_shapeService']['getShapeModel'](_0x417371[_0xec7dd8(0x1c2)],_0x417371[_0xec7dd8(0x206)],_0xb4b95c);(_0x5de204==null?void 0x0:_0x5de204[_0xec7dd8(0x1e7)])!==_0x258cc4[_0xec7dd8(0x163)]||!_0x6c0763||(_0x4dcc6f['preRedos'][_0xec7dd8(0x1e2)]({'id':ue['id'],'params':{'unitId':_0x417371['unitId'],'subUnitId':_0x417371[_0xec7dd8(0x206)],'shapeId':_0xb4b95c}}),_0x4dcc6f['undos'][_0xec7dd8(0x1e2)]({'id':le['id'],'params':{'unitId':_0x417371['unitId'],'subUnitId':_0x417371[_0xec7dd8(0x206)],'shapeId':_0xb4b95c,'shapeName':_0x6c0763['getName'](),'shapeType':_0x6c0763['getShapeType'](),'shapeData':_0x30a3e1['deepClone'](_0x6c0763['getShapeData']())}}));}}[_0xab0703(0x17b)](_0x3d8d68,_0x44fa24,_0x50a2cb,_0x414324){const _0x4bd1f4=_0xab0703;var _0x2ce8ef,_0x208d56,_0x3612d2;if(_0x50a2cb['drawingType']!==_0x258cc4[_0x4bd1f4(0x163)]||_0x3d8d68[_0x4bd1f4(0x1fa)]['has'](_0x44fa24))return;let _0x5267bf=this[_0x4bd1f4(0x1f9)][_0x4bd1f4(0x1e9)](_0x3d8d68[_0x4bd1f4(0x1c2)],_0x3d8d68[_0x4bd1f4(0x206)],_0x44fa24);if(!_0x5267bf||!_0x494a20(_0x5267bf[_0x4bd1f4(0x198)]()))return;let _0x20355f=_0x5267bf[_0x4bd1f4(0x1f6)]();if(!(_0x3d8d68['updates'][_0x4bd1f4(0x175)](_0x44fa24)||_0x20355f!=null&&_0x20355f[_0x4bd1f4(0x1b5)]&&(_0x3d8d68[_0x4bd1f4(0x212)][_0x4bd1f4(0x175)](_0x20355f[_0x4bd1f4(0x1b5)]['shapeId'])||_0x3d8d68['deletes']['has'](_0x20355f['from'][_0x4bd1f4(0x168)]))||_0x20355f!=null&&_0x20355f['to']&&(_0x3d8d68[_0x4bd1f4(0x212)][_0x4bd1f4(0x175)](_0x20355f['to']['shapeId'])||_0x3d8d68[_0x4bd1f4(0x1fa)]['has'](_0x20355f['to'][_0x4bd1f4(0x168)]))))return;let _0x5e151d=(_0x2ce8ef=_0x3d8d68[_0x4bd1f4(0x212)][_0x4bd1f4(0x1be)](_0x44fa24))==null?_0x50a2cb:_0x2ce8ef,_0x333b7a=this[_0x4bd1f4(0x1c7)](_0x3d8d68,_0x5e151d);if(!_0x333b7a)return;let _0x3e56a0=_0x544527(_0x333b7a);if(_0x3e56a0[_0x4bd1f4(0x21d)]<0x2)return;let _0x3e770c=_0x30a3e1[_0x4bd1f4(0x166)](_0x20355f==null?{}:_0x20355f),_0x309651=_0x3e770c[_0x4bd1f4(0x1b5)]&&this[_0x4bd1f4(0x209)](_0x3d8d68,_0x3e770c['from']['shapeId'],_0x3e770c[_0x4bd1f4(0x1b5)][_0x4bd1f4(0x21f)]),_0x932fb=_0x3e770c['to']&&this[_0x4bd1f4(0x209)](_0x3d8d68,_0x3e770c['to'][_0x4bd1f4(0x168)],_0x3e770c['to'][_0x4bd1f4(0x21f)]);_0x3e770c[_0x4bd1f4(0x1b5)]&&!_0x309651&&delete _0x3e770c[_0x4bd1f4(0x1b5)],_0x3e770c['to']&&!_0x932fb&&delete _0x3e770c['to'];let _0x173571=_0x408f1a(_0x333b7a,_0x309651||_0x3ff701((_0x208d56=_0x932fb==null?void 0x0:_0x932fb[_0x4bd1f4(0x17d)])==null?_0x3e56a0['at'](-0x1):_0x208d56,_0x3e56a0[0x0]),_0x932fb||_0x3ff701((_0x3612d2=_0x309651==null?void 0x0:_0x309651[_0x4bd1f4(0x17d)])==null?_0x3e56a0[0x0]:_0x3612d2,_0x3e56a0['at'](-0x1)),_0x3e770c);if(!(!(_0x173571!=null&&_0x173571[_0x4bd1f4(0x172)])||!_0x173571[_0x4bd1f4(0x1cc)]||!_0x173571[_0x4bd1f4(0x1f5)])){if(this[_0x4bd1f4(0x16a)](_0x3d8d68,_0x5e151d,_0x173571),_0x3d8d68[_0x4bd1f4(0x174)]==='refresh'){_0x5267bf[_0x4bd1f4(0x192)](_0x173571['shapeType']),_0x5267bf[_0x4bd1f4(0x19e)](_0x30a3e1[_0x4bd1f4(0x166)](_0x173571[_0x4bd1f4(0x1f5)]),!0x1);return;}_0x414324[_0x4bd1f4(0x1d5)][_0x4bd1f4(0x1e2)]({'id':$['id'],'params':{'unitId':_0x3d8d68[_0x4bd1f4(0x1c2)],'subUnitId':_0x3d8d68[_0x4bd1f4(0x206)],'shapeId':_0x44fa24,'shapeType':_0x173571[_0x4bd1f4(0x1cc)],'shapeData':_0x30a3e1['deepClone'](_0x173571[_0x4bd1f4(0x1f5)]),'replace':!0x0}}),_0x414324[_0x4bd1f4(0x1bb)][_0x4bd1f4(0x1e2)]({'id':$['id'],'params':{'unitId':_0x3d8d68[_0x4bd1f4(0x1c2)],'subUnitId':_0x3d8d68['subUnitId'],'shapeId':_0x44fa24,'shapeType':_0x5267bf[_0x4bd1f4(0x198)](),'shapeData':_0x30a3e1[_0x4bd1f4(0x166)](_0x5267bf[_0x4bd1f4(0x21e)]()),'replace':!0x0}});}}['_resolveBinding'](_0x55fe9f,_0x155a43,_0x3b6026){const _0x5ba58a=_0xab0703;var _0x4a59f3;if(_0x55fe9f[_0x5ba58a(0x1fa)][_0x5ba58a(0x175)](_0x155a43))return null;let _0x3fa736=(_0x4a59f3=_0x55fe9f[_0x5ba58a(0x212)][_0x5ba58a(0x1be)](_0x155a43))==null?_0x55fe9f[_0x5ba58a(0x181)][_0x5ba58a(0x1be)](_0x155a43):_0x4a59f3;if(!_0x3fa736)return null;let _0xac0f25=this[_0x5ba58a(0x1c7)](_0x55fe9f,_0x3fa736);return _0xac0f25?_0x482680(_0xac0f25,_0x3b6026):null;}[_0xab0703(0x1c7)](_0x34e7a9,_0x3d0266){const _0x5aa61f=_0xab0703;var _0x5b7bb9,_0x289edb,_0x1d43e,_0x3d07b2,_0x247ccf,_0xf489e4,_0x209cef;let _0x5ae9bc={'hostType':_0x7970aa[_0x5aa61f(0x1ea)],'unitId':_0x34e7a9['unitId'],'subUnitId':_0x34e7a9[_0x5aa61f(0x206)],'shapeId':_0x3d0266['drawingId']},_0x1aac95=this['_shapeAdapter'][_0x5aa61f(0x1e5)](_0x5ae9bc);return!_0x1aac95||!_0x3d0266[_0x5aa61f(0x172)]?null:{..._0x1aac95,'transform':{'left':(_0x5b7bb9=_0x3d0266[_0x5aa61f(0x172)][_0x5aa61f(0x1c5)])==null?0x0:_0x5b7bb9,'top':(_0x289edb=_0x3d0266[_0x5aa61f(0x172)][_0x5aa61f(0x204)])==null?0x0:_0x289edb,'width':(_0x1d43e=_0x3d0266[_0x5aa61f(0x172)][_0x5aa61f(0x200)])==null?0x0:_0x1d43e,'height':(_0x3d07b2=_0x3d0266[_0x5aa61f(0x172)][_0x5aa61f(0x1a4)])==null?0x0:_0x3d07b2,'rotation':(_0x247ccf=_0x3d0266[_0x5aa61f(0x172)][_0x5aa61f(0x197)])==null?0x0:_0x247ccf,'flipX':(_0xf489e4=_0x3d0266[_0x5aa61f(0x172)][_0x5aa61f(0x1f0)])!=null&&_0xf489e4,'flipY':(_0x209cef=_0x3d0266[_0x5aa61f(0x172)][_0x5aa61f(0x20e)])!=null&&_0x209cef}};}[_0xab0703(0x16a)](_0x29f337,_0x4777b7,_0x588900){const _0xfccffc=_0xab0703;let _0x4e9e33=_0x4777b7,_0x143552={..._0x4777b7[_0xfccffc(0x172)],'left':_0x588900[_0xfccffc(0x172)][_0xfccffc(0x1c5)],'top':_0x588900[_0xfccffc(0x172)][_0xfccffc(0x204)],'width':_0x588900[_0xfccffc(0x172)][_0xfccffc(0x200)],'height':_0x588900[_0xfccffc(0x172)][_0xfccffc(0x1a4)],'angle':_0x588900[_0xfccffc(0x172)][_0xfccffc(0x1ee)],'flipX':_0x588900[_0xfccffc(0x172)][_0xfccffc(0x1f0)],'flipY':_0x588900[_0xfccffc(0x172)]['flipY']},_0x49ef8d={..._0x4e9e33,'transform':_0x143552,'sheetTransform':_0x5eb23d(_0x143552,_0x29f337['skeleton']),'axisAlignSheetTransform':_0xe703e5(_0x143552,_0x29f337['skeleton']),'data':{..._0x4e9e33[_0xfccffc(0x1a0)],'shapeType':_0x588900[_0xfccffc(0x1cc)],'shapeData':_0x30a3e1[_0xfccffc(0x166)](_0x588900[_0xfccffc(0x1f5)])}};_0x29f337['updates'][_0xfccffc(0x215)](_0x4777b7['drawingId'],_0x49ef8d);}};Te=ce([Z(0x0,_0x3fe8d2(Q)),Z(0x1,_0x3fe8d2(Se)),Z(0x2,_0x3fe8d2(_0x44eabe))],Te);let Ee=class extends _0x17dc30{constructor(_0xd68c16=Ce,_0x3acc18,_0x50b573){const _0x50ed2c=_0xab0703;super(),this['_config']=_0xd68c16,this[_0x50ed2c(0x199)]=_0x3acc18,this['_configService']=_0x50b573;let {..._0x2c3aaf}=_0x396304({},Ce,this[_0x50ed2c(0x1a5)]);this[_0x50ed2c(0x207)][_0x50ed2c(0x164)](_0x50ed2c(0x1ae),_0x2c3aaf);}[_0xab0703(0x1c6)](){const _0x4e43ff=_0xab0703;let _0x4e9057=this[_0x4e43ff(0x199)];[[se],[Q],[Se],[Te],[we]][_0x4e43ff(0x17e)](_0x577d62=>_0x4e9057[_0x4e43ff(0x176)](_0x577d62)),_0x77a843(_0x4e9057,[[Q],[Te],[we]]);}};X(Ee,_0xab0703(0x18a),_0x7970aa[_0xab0703(0x1ea)]),X(Ee,'pluginName',_0xab0703(0x1e6)),X(Ee,_0xab0703(0x1dc),ye),X(Ee,_0xab0703(0x1b6),be),Ee=ce([_0x2527f1(_0x39ab58,_0x403e13,_0x23ebde,_0x35fb27,_0x2bfb2a),Z(0x1,_0x3fe8d2(_0x19c189)),Z(0x2,_0x230e63)],Ee);export{J as DEFAULT_SHAPE_HEIGHT,q as DEFAULT_SHAPE_WIDTH,de as InsertShapeCommand,le as InsertSheetsShapeMutation,ue as RemoveSheetsShapeMutation,fe as SetShapeDrawingDataCommand,me as SetSheetsShapeRotateCommand,he as SetSheetsShapeTextVerticalToggleCommand,Q as SheetsShapeService,pe as ToggleSheetsShapeFlipCommand,Ee as UniverSheetsShapePlugin,ge as UpdateConnectorRelationCommand,_e as UpdateLineShapeResizeCommand,$ as UpdateSheetsShapeDataMutation,ve as UpdateSheetsShapeTypeMutation};
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- const _0xf24b5=_0x25c9;(function(_0x324fb6,_0x1db016){const _0x2989b9=_0x25c9,_0x1250a9=_0x324fb6();while(!![]){try{const _0x16b367=parseInt(_0x2989b9(0x16b))/0x1+parseInt(_0x2989b9(0x169))/0x2*(parseInt(_0x2989b9(0x181))/0x3)+-parseInt(_0x2989b9(0x172))/0x4*(-parseInt(_0x2989b9(0x161))/0x5)+-parseInt(_0x2989b9(0x166))/0x6*(-parseInt(_0x2989b9(0x16a))/0x7)+parseInt(_0x2989b9(0x165))/0x8*(parseInt(_0x2989b9(0x182))/0x9)+-parseInt(_0x2989b9(0x17c))/0xa*(-parseInt(_0x2989b9(0x15e))/0xb)+parseInt(_0x2989b9(0x15b))/0xc*(-parseInt(_0x2989b9(0x16c))/0xd);if(_0x16b367===_0x1db016)break;else _0x1250a9['push'](_0x1250a9['shift']());}catch(_0x41ebc6){_0x1250a9['push'](_0x1250a9['shift']());}}}(_0x4b67,0x9bf83));import{IShapeHostAdapterRegistry as _0x14c4a7,isConnectorShape as _0x40fc65}from'@univerjs-pro/engine-shape';import{FConnectorShape as _0x2ee254,FShape as _0x1a6be7}from'@univerjs-pro/engine-shape/facade';import{UniverInstanceType as _0x4548b}from'@univerjs/core';function _0x4b67(){const _0x4c27dd=['UNIVER_SHEET','_createShapeHandle','[Sheet\x20Shape\x20Facade]:\x20Failed\x20to\x20insert\x20Shape.','[Sheet\x20Shape\x20Facade]:\x20Shape\x20\x22','2339890HmeMqJ','createShape','getShape','warn','top','15XDDiQB','9CsCIFJ','108xFxLzq','_shapeRef','_injector','22zXgtFx','setPosition','getUnitId','95IbaWLI','map','shapeType','\x22\x20and\x20sheet\x20\x22','3273856uDoJTy','410556pTbuzI','listShapes','_getShapeAdapter','18156vGbAIr','126kroCdJ','470814BMtagm','4095026vVIarc','getShapes','[Sheet\x20Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','_getShapeScope','getSheetId','extend','178692FEAfqu','get','getWorkbook','createInstance','[Sheet\x20Shape\x20Facade]:\x20Failed\x20to\x20list\x20Shapes.','\x22\x20was\x20not\x20found.'];_0x4b67=function(){return _0x4c27dd;};return _0x4b67();}function _0x25c9(_0x178a68,_0x2ec63c){_0x178a68=_0x178a68-0x15b;const _0x4b67a9=_0x4b67();let _0x25c9bd=_0x4b67a9[_0x178a68];return _0x25c9bd;}import{FWorksheet as _0x277bae}from'@univerjs/sheets/facade';import{SheetSkeletonService as _0x1e3822,convertPositionCellToSheetOverGrid as _0x24e1f5}from'@univerjs/sheets';var c=class extends _0x1a6be7{[_0xf24b5(0x15f)](_0x10fdff,_0x264370,_0xc1a522,_0x574934){const _0x17922f=_0xf24b5;let {unitId:_0x168bb1,subUnitId:_0x32ab41}=this[_0x17922f(0x15c)],_0x2a1711=this['_injector']['get'](_0x1e3822)['ensureSkeleton'](_0x168bb1,_0x32ab41);if(!_0x2a1711)return console[_0x17922f(0x17f)]('[Sheet\x20Shape\x20Facade]:\x20Skeleton\x20for\x20unit\x20\x22'+_0x168bb1+_0x17922f(0x164)+_0x32ab41+_0x17922f(0x177)),this;let {transform:_0x1f44f7}=_0x24e1f5(_0x168bb1,_0x32ab41,{'row':_0x10fdff,'column':_0x264370,'rowOffset':_0xc1a522,'columnOffset':_0x574934},0x1,0x1,_0x2a1711);return this['setAbsolutePosition'](_0x1f44f7['left'],_0x1f44f7[_0x17922f(0x180)]);}},l=class extends _0x277bae{['insertShape'](_0xfd7641){const _0x27fa50=_0xf24b5;let _0x2452f6=this[_0x27fa50(0x168)]();if(!_0x2452f6)return null;try{let _0x278ec7=_0x2452f6[_0x27fa50(0x17d)](this[_0x27fa50(0x16f)](),_0xfd7641);return _0x278ec7?this[_0x27fa50(0x179)](_0x278ec7):(console[_0x27fa50(0x17f)]('[Sheet\x20Shape\x20Facade]:\x20Failed\x20to\x20insert\x20Shape.'),null);}catch(_0x37d6cb){return console[_0x27fa50(0x17f)](_0x27fa50(0x17a),_0x37d6cb),null;}}['getShape'](_0x172fd7){const _0x9165b7=_0xf24b5;let _0x2948a7=this[_0x9165b7(0x168)]();if(!_0x2948a7)return null;try{let _0x26f46={...this['_getShapeScope'](),'shapeId':_0x172fd7},_0xb32a00=_0x2948a7[_0x9165b7(0x17e)](_0x26f46);return _0xb32a00?this[_0x9165b7(0x179)](_0xb32a00):(console[_0x9165b7(0x17f)](_0x9165b7(0x17b)+_0x172fd7+'\x22\x20was\x20not\x20found.'),null);}catch(_0xc30c9a){return console['warn'](_0x9165b7(0x16e)+_0x172fd7+'\x22.',_0xc30c9a),null;}}[_0xf24b5(0x16d)](){const _0x1fb0fc=_0xf24b5;let _0x3ed610=this[_0x1fb0fc(0x168)]();if(!_0x3ed610)return[];try{return _0x3ed610[_0x1fb0fc(0x167)](this[_0x1fb0fc(0x16f)]())[_0x1fb0fc(0x162)](_0x17c021=>this[_0x1fb0fc(0x179)](_0x17c021));}catch(_0x1b98eb){return console[_0x1fb0fc(0x17f)](_0x1fb0fc(0x176),_0x1b98eb),[];}}[_0xf24b5(0x16f)](){const _0x10105d=_0xf24b5;return{'hostType':_0x4548b[_0x10105d(0x178)],'unitId':this[_0x10105d(0x174)]()[_0x10105d(0x160)](),'subUnitId':this[_0x10105d(0x170)]()};}[_0xf24b5(0x168)](){const _0x4c75a6=_0xf24b5;return this['_injector'][_0x4c75a6(0x173)](_0x14c4a7)[_0x4c75a6(0x173)](_0x4548b[_0x4c75a6(0x178)]);}[_0xf24b5(0x179)](_0x52cf00){const _0x2f0d3e=_0xf24b5;let {unitId:_0xcbb81,subUnitId:_0x3a96fd,shapeId:_0x2c9bdb}=_0x52cf00,_0x540b2e={'unitId':_0xcbb81,'subUnitId':_0x3a96fd,'shapeId':_0x2c9bdb,'hostType':_0x4548b[_0x2f0d3e(0x178)]};return _0x40fc65(_0x52cf00[_0x2f0d3e(0x163)])?this['_injector'][_0x2f0d3e(0x175)](_0x2ee254,_0x540b2e,this[_0x2f0d3e(0x15d)]):this[_0x2f0d3e(0x15d)][_0x2f0d3e(0x175)](c,_0x540b2e,this['_injector']);}};_0x277bae[_0xf24b5(0x171)](l);export{c as FSheetShape};
1
+ const _0x17b545=_0x2b89;function _0x2561(){const _0x3dd586=['2416290OQDQUE','getShape','_getShapeScope','720294lpczmq','[Sheet\x20Shape\x20Facade]:\x20Failed\x20to\x20insert\x20Shape.','_getShapeAdapter','left','348072GzgXjY','top','insertShape','getShapes','[Sheet\x20Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','extend','shapeType','[Sheet\x20Shape\x20Facade]:\x20Skeleton\x20for\x20unit\x20\x22','warn','490777UKvdxp','2426784kJYsRe','get','setPosition','_shapeRef','_injector','listShapes','1556956wgOWKT','\x22\x20was\x20not\x20found.','[Sheet\x20Shape\x20Facade]:\x20Failed\x20to\x20list\x20Shapes.','_createShapeHandle','19950840MQptjR','UNIVER_SHEET'];_0x2561=function(){return _0x3dd586;};return _0x2561();}(function(_0x5d6384,_0x2de7fb){const _0x11a50d=_0x2b89,_0x11e53c=_0x5d6384();while(!![]){try{const _0x2f7c24=-parseInt(_0x11a50d(0x120))/0x1+-parseInt(_0x11a50d(0x127))/0x2+parseInt(_0x11a50d(0x117))/0x3+-parseInt(_0x11a50d(0x121))/0x4+-parseInt(_0x11a50d(0x12d))/0x5+-parseInt(_0x11a50d(0x113))/0x6+parseInt(_0x11a50d(0x12b))/0x7;if(_0x2f7c24===_0x2de7fb)break;else _0x11e53c['push'](_0x11e53c['shift']());}catch(_0x2926e4){_0x11e53c['push'](_0x11e53c['shift']());}}}(_0x2561,0x76de6));import{IShapeHostAdapterRegistry as _0x3e4f73,isConnectorShape as _0x2a96fe}from'@univerjs-pro/engine-shape';function _0x2b89(_0x4356a0,_0x43a718){_0x4356a0=_0x4356a0-0x113;const _0x256183=_0x2561();let _0x2b898b=_0x256183[_0x4356a0];return _0x2b898b;}import{FConnectorShape as _0x4f4fdf,FShape as _0x4d2c59}from'@univerjs-pro/engine-shape/facade';import{UniverInstanceType as _0x1a78a8}from'@univerjs/core';import{FWorksheet as _0x572ecb}from'@univerjs/sheets/facade';import{SheetSkeletonService as _0x36c643,convertPositionCellToSheetOverGrid as _0x1e5d5a}from'@univerjs/sheets';var c=class extends _0x4d2c59{[_0x17b545(0x123)](_0x5c2a38,_0x2c2f32,_0x8216ce,_0x3b3202){const _0x40f091=_0x17b545;let {unitId:_0x26bb47,subUnitId:_0x45a3e3}=this[_0x40f091(0x124)],_0x280893=this[_0x40f091(0x125)][_0x40f091(0x122)](_0x36c643)['ensureSkeleton'](_0x26bb47,_0x45a3e3);if(!_0x280893)return console[_0x40f091(0x11f)](_0x40f091(0x11e)+_0x26bb47+'\x22\x20and\x20sheet\x20\x22'+_0x45a3e3+_0x40f091(0x128)),this;let {transform:_0x3ac067}=_0x1e5d5a(_0x26bb47,_0x45a3e3,{'row':_0x5c2a38,'column':_0x2c2f32,'rowOffset':_0x8216ce,'columnOffset':_0x3b3202},0x1,0x1,_0x280893);return this['setAbsolutePosition'](_0x3ac067[_0x40f091(0x116)],_0x3ac067[_0x40f091(0x118)]);}},l=class extends _0x572ecb{[_0x17b545(0x119)](_0x49b887){const _0x54e30e=_0x17b545;let _0x56ce17=this[_0x54e30e(0x115)]();if(!_0x56ce17)return null;try{let _0x7d8368=_0x56ce17['createShape'](this[_0x54e30e(0x12f)](),_0x49b887);return _0x7d8368?this['_createShapeHandle'](_0x7d8368):(console['warn'](_0x54e30e(0x114)),null);}catch(_0x30956b){return console[_0x54e30e(0x11f)]('[Sheet\x20Shape\x20Facade]:\x20Failed\x20to\x20insert\x20Shape.',_0x30956b),null;}}['getShape'](_0xee98ff){const _0x307a70=_0x17b545;let _0x1abe42=this[_0x307a70(0x115)]();if(!_0x1abe42)return null;try{let _0x59fd78={...this[_0x307a70(0x12f)](),'shapeId':_0xee98ff},_0x1c0661=_0x1abe42[_0x307a70(0x12e)](_0x59fd78);return _0x1c0661?this[_0x307a70(0x12a)](_0x1c0661):(console[_0x307a70(0x11f)]('[Sheet\x20Shape\x20Facade]:\x20Shape\x20\x22'+_0xee98ff+_0x307a70(0x128)),null);}catch(_0xf62d9){return console[_0x307a70(0x11f)](_0x307a70(0x11b)+_0xee98ff+'\x22.',_0xf62d9),null;}}[_0x17b545(0x11a)](){const _0x310ffc=_0x17b545;let _0x134ddf=this[_0x310ffc(0x115)]();if(!_0x134ddf)return[];try{return _0x134ddf[_0x310ffc(0x126)](this[_0x310ffc(0x12f)]())['map'](_0x3cdaa9=>this[_0x310ffc(0x12a)](_0x3cdaa9));}catch(_0x4cd14f){return console[_0x310ffc(0x11f)](_0x310ffc(0x129),_0x4cd14f),[];}}[_0x17b545(0x12f)](){const _0x5b202c=_0x17b545;return{'hostType':_0x1a78a8[_0x5b202c(0x12c)],'unitId':this['getWorkbook']()['getUnitId'](),'subUnitId':this['getSheetId']()};}[_0x17b545(0x115)](){const _0x20e207=_0x17b545;return this[_0x20e207(0x125)][_0x20e207(0x122)](_0x3e4f73)[_0x20e207(0x122)](_0x1a78a8[_0x20e207(0x12c)]);}['_createShapeHandle'](_0x3b08a0){const _0x5ba79f=_0x17b545;let {unitId:_0x8ce5cf,subUnitId:_0x22cc69,shapeId:_0x2e4e4b}=_0x3b08a0,_0x4ac885={'unitId':_0x8ce5cf,'subUnitId':_0x22cc69,'shapeId':_0x2e4e4b,'hostType':_0x1a78a8[_0x5ba79f(0x12c)]};return _0x2a96fe(_0x3b08a0[_0x5ba79f(0x11d)])?this['_injector']['createInstance'](_0x4f4fdf,_0x4ac885,this['_injector']):this[_0x5ba79f(0x125)]['createInstance'](c,_0x4ac885,this[_0x5ba79f(0x125)]);}};_0x572ecb[_0x17b545(0x11c)](l);export{c as FSheetShape};