@univerjs-pro/sheets-shape 1.0.0-alpha.6 → 1.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/commands/mutation/update-shape-data.mutation.d.ts +1 -0
- package/lib/types/facade/f-worksheet.d.ts +4 -1
- package/lib/types/services/sheet-shape-drawing-transform.extension.d.ts +16 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +9 -9
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4d05(_0x4001b6,_0x5e325d){_0x4001b6=_0x4001b6-0x1aa;const _0xa24856=_0xa248();let _0x4d05d8=_0xa24856[_0x4001b6];return _0x4d05d8;}function _0xa248(){const _0x58138d=['Disposable','cos','updateContext','getBasicShapeRelation','_addLineFollowShapeUpdates','Injector','IDrawingManagerService','sheet.command.set-shape-text-vertical-toggle','_drawingService','prototype','drawingId','exports','call','getShapeRelation','rotation','sheet.command.set-shape-rotate','_ensureShapeModelManager','packageName','ensureSkeleton','1931657mZGTTn','2397195KHTLmI','symbol','lineType','693780CqvZqd','undos','preUndos','6xSiret','toStringTag','ClearSheetDrawingTransformerOperation','borderEnabled','Tools','@univerjs/sheets-drawing','getName','ISheetDrawingService','getBasicShapeType','getDrawingData','getBasicShapeRotateBound','InsertShapeCommand','sin','SheetSkeletonService','DRAWING_SHAPE','SetSheetsShapeTextVerticalToggleCommand','removeLinePoints','shapeData','_config','@univerjs/drawing','get','_drawingManagerService','getShapeType','iterator','fill','SheetsShapeService','values','defineProperty','flipX','UniverSheetsDrawing','visible','object','_addLineRerouteUpdates','getShapeDataById','height','amd','onCommandExecute','shapeName','dispose','sheets-shape.config','decorate','1.0.0-alpha.6','_linesIds','registerCommand','sheet.command.update-connector-relation','length','sendToBack','subUnitId','disposeWithMe','forward','getSkeleton','resizeEnabled','isHorizontal','4262283aEFZbG','_serializeShapeForUnit','toJSON','setShapeType','_initSnapshot','lineShapeId','_sheetInterceptorService','_sheetSkeletonService','has','_configService','52674adnPlj','_commandService','push','isFrom','UniverProSheetsShape','clear','DrawingTypeEnum','_deserializeShapeForUnit','routeConnectorLineShape','UniverCore','getShape','string','getShapeData','transformToDrawingPosition','setShapeData','sheet.command.set-shape-drawing-data','range','getId','SetDrawingArrangeCommand','registerPluginResource','_shapeService','CommandType','transformToAxisAlignPosition','default','position','UpdateSheetsShapeTypeMutation','add','Fail\x20to\x20get\x20shape\x20model,\x20get:\x20','entries','bringForward','isLineShape','_groupIds','isConnectorShape','DEFAULT_SHAPE_WIDTH','shapeId','getAdjustValueByName','syncExecuteCommand','description','forEach','sheet.mutation.insert-shape','getConnectionSiteList','MUTATION','getSheetCommandTarget','_shapeHostAdapterRegistry','delete','width','_sheetsShapeService','flipY','getBatchUpdateOp','map','UNIVER_SHEET','back','keys','sequenceExecute','3372480kgZdnL','@univerjs/sheets','Module','_initCommandInterceptor','SetSheetDrawingCommand','ang','SHEET_SHAPE_PLUGIN','interceptCommand','@univerjs-pro/sheets-shape','IConfigService','UpdateSheetsShapeDataMutation','type','sheet.command.update-line-shape-resize','ShapeModel','_injector','top','_shapes','shapeType','UniverLicensePlugin','getDrawingByParam','name','SetSheetsShapeRotateCommand','DEFAULT_SHAPE_HEIGHT','UniverShapePlugin','@univerjs/core','adjustValues','sheet.mutation.update-shape-type','from','transform','getLineShapeRelation','set','unitId','DrawingApplyType','rotateEnabled','pluginName','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','result','_shapeModelManagerMap','Inject','sheet.command.toggle-shape-flip','DependentOn','5530568wElIhm','_arrange','UniverSheetsShapePlugin','RemoveSheetDrawingCommand','toPrimitive','getEndConnectInfo','relation','SheetInterceptorService','updateShape','front','pushUndoRedo','_resourcesManagerService','selectable','UniverProLicense','createShape','getStartConnectInfo','addShape','hasShape','register','filter','removeShape','UPDATE','ArrangeTypeEnum','redos','InsertSheetsShapeMutation','IResourceManagerService','preRedos','UniverInstanceType','worldRect','getOwnPropertyDescriptor','constructor','angle','drawingType','getCellWithCoordByIndex','UniverDrawing','insertShape','INSERT','cxnIndex','IUndoRedoService','_getConnectPointInfo','sheet.command.insert-shape','getShapeModel','_disposed','ICommandService','function','sendBackward','data','parse','index','version','@univerjs-pro/engine-shape','computeConnectorRouteLayout','deepClone','fromJSON','COMMAND','SetDrawingApplyMutation','startX','left','find','InsertSheetDrawingCommand','getShapeDisplayNames','IShapeHostAdapterRegistry','_initCommands','IUniverInstanceService'];_0xa248=function(){return _0x58138d;};return _0xa248();}(function(_0x3e2681,_0x4cfb2d){const _0x3ec4ec=_0x4d05,_0x5743fb=_0x3e2681();while(!![]){try{const _0x516778=-parseInt(_0x3ec4ec(0x1d1))/0x1*(parseInt(_0x3ec4ec(0x28a))/0x2)+-parseInt(_0x3ec4ec(0x1c7))/0x3+parseInt(_0x3ec4ec(0x207))/0x4+parseInt(_0x3ec4ec(0x284))/0x5+parseInt(_0x3ec4ec(0x287))/0x6+parseInt(_0x3ec4ec(0x283))/0x7+parseInt(_0x3ec4ec(0x230))/0x8;if(_0x516778===_0x4cfb2d)break;else _0x5743fb['push'](_0x5743fb['shift']());}catch(_0x1dfe0d){_0x5743fb['push'](_0x5743fb['shift']());}}}(_0xa248,0xc9d36),function(_0x544390,_0x579ed8){const _0x455c60=_0x4d05;typeof exports==_0x455c60(0x1b1)&&typeof module<'u'?_0x579ed8(exports,require('@univerjs-pro/engine-shape'),require('@univerjs/core'),require('@univerjs/sheets'),require('@univerjs/sheets-drawing'),require('@univerjs-pro/license'),require('@univerjs/drawing')):typeof define==_0x455c60(0x25c)&&define[_0x455c60(0x1b5)]?define([_0x455c60(0x27b),_0x455c60(0x262),_0x455c60(0x21f),_0x455c60(0x208),_0x455c60(0x28f),'@univerjs-pro/license',_0x455c60(0x29d)],_0x579ed8):(_0x544390=typeof globalThis<'u'?globalThis:_0x544390||self,_0x579ed8(_0x544390[_0x455c60(0x1d5)]={},_0x544390['UniverProEngineShape'],_0x544390[_0x455c60(0x1da)],_0x544390['UniverSheets'],_0x544390[_0x455c60(0x1af)],_0x544390[_0x455c60(0x23d)],_0x544390[_0x455c60(0x252)]));}(this,function(_0x5978ad,_0x222f7d,_0x4cf569,_0x51c0bb,_0x3a908f,_0x41b454,_0x1afd82){const _0x8bc636=_0x4d05;Object[_0x8bc636(0x1ad)](_0x5978ad,Symbol[_0x8bc636(0x28b)],{'value':_0x8bc636(0x209)});function _0x348c51(_0x399a86){'@babel/helpers - typeof';const _0x55c6c3=_0x8bc636;return _0x348c51=typeof Symbol==_0x55c6c3(0x25c)&&typeof Symbol[_0x55c6c3(0x2a1)]==_0x55c6c3(0x285)?function(_0x3d0978){return typeof _0x3d0978;}:function(_0x3054cd){const _0x57909b=_0x55c6c3;return _0x3054cd&&typeof Symbol=='function'&&_0x3054cd[_0x57909b(0x24e)]===Symbol&&_0x3054cd!==Symbol[_0x57909b(0x279)]?_0x57909b(0x285):typeof _0x3054cd;},_0x348c51(_0x399a86);}function _0x3fa93c(_0x3cc8fd,_0x538267){const _0x5b6676=_0x8bc636;if(_0x348c51(_0x3cc8fd)!='object'||!_0x3cc8fd)return _0x3cc8fd;var _0x343ceb=_0x3cc8fd[Symbol[_0x5b6676(0x234)]];if(_0x343ceb!==void 0x0){var _0x392b8f=_0x343ceb[_0x5b6676(0x27c)](_0x3cc8fd,_0x538267||_0x5b6676(0x1e8));if(_0x348c51(_0x392b8f)!=_0x5b6676(0x1b1))return _0x392b8f;throw TypeError(_0x5b6676(0x22a));}return(_0x538267===_0x5b6676(0x1dc)?String:Number)(_0x3cc8fd);}function _0x2d6a4c(_0x585d0d){const _0x1cf966=_0x8bc636;var _0x41fae5=_0x3fa93c(_0x585d0d,_0x1cf966(0x1dc));return _0x348c51(_0x41fae5)==_0x1cf966(0x285)?_0x41fae5:_0x41fae5+'';}function _0x3c413b(_0x3a1712,_0x39997c,_0x2e7765){const _0x20f56e=_0x8bc636;return(_0x39997c=_0x2d6a4c(_0x39997c))in _0x3a1712?Object[_0x20f56e(0x1ad)](_0x3a1712,_0x39997c,{'value':_0x2e7765,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3a1712[_0x39997c]=_0x2e7765,_0x3a1712;}var _0x40c66a=class extends _0x4cf569[_0x8bc636(0x270)]{constructor(){const _0x16a279=_0x8bc636;super(),_0x3c413b(this,_0x16a279(0x217),new Map()),_0x3c413b(this,'_linesIds',new Set()),_0x3c413b(this,_0x16a279(0x1f0),new Set());}['addShape'](_0x3c938f,_0x40e9d3,_0x365cc1,_0x310fcf){const _0x2ffdb3=_0x8bc636;let _0x1008cb=new _0x222f7d[(_0x2ffdb3(0x214))](_0x3c938f,_0x40e9d3,_0x365cc1,_0x310fcf);return this[_0x2ffdb3(0x217)]['set'](_0x40e9d3,_0x1008cb),(0x0,_0x222f7d['isConnectorShape'])(_0x3c938f)&&this[_0x2ffdb3(0x1bc)][_0x2ffdb3(0x1eb)](_0x40e9d3),_0x1008cb;}[_0x8bc636(0x273)](_0x3ccf25){const _0xf9642e=_0x8bc636;let _0x1e8b50=[];for(let _0x379101 of this['_linesIds']){let _0x128b44=this['_shapes']['get'](_0x379101);if(_0x128b44){let _0x3556b1=_0x128b44[_0xf9642e(0x27d)]();if(_0x3556b1){var _0xcab30c,_0x4de96b;((_0xcab30c=_0x3556b1[_0xf9642e(0x222)])==null?void 0x0:_0xcab30c[_0xf9642e(0x1f3)])===_0x3ccf25&&_0x1e8b50['push']({..._0x3556b1['from'],'lineShapeId':_0x379101,'isFrom':!0x0}),((_0x4de96b=_0x3556b1['to'])==null?void 0x0:_0x4de96b[_0xf9642e(0x1f3)])===_0x3ccf25&&_0x1e8b50['push']({..._0x3556b1['to'],'lineShapeId':_0x379101,'isFrom':!0x1});}}}return _0x1e8b50;}['getLineShapeRelation'](_0x1d1056){const _0x2eae4b=_0x8bc636;let _0x39b9c7=this[_0x2eae4b(0x217)]['get'](_0x1d1056);if(_0x39b9c7)return _0x39b9c7[_0x2eae4b(0x27d)]();}[_0x8bc636(0x2a0)](_0xbecfa2){const _0x1b9580=_0x8bc636;let _0x13c951=this[_0x1b9580(0x217)][_0x1b9580(0x29e)](_0xbecfa2);if(_0x13c951)return _0x13c951[_0x1b9580(0x2a0)]();}[_0x8bc636(0x241)](_0x5df7fb){const _0x108332=_0x8bc636;return this[_0x108332(0x217)][_0x108332(0x1cf)](_0x5df7fb);}['getShapeDisplayNames'](){const _0x3eec52=_0x8bc636;return Array[_0x3eec52(0x222)](this[_0x3eec52(0x217)][_0x3eec52(0x1ac)]())[_0x3eec52(0x202)](_0x38130=>_0x38130[_0x3eec52(0x290)]()||_0x38130[_0x3eec52(0x1e2)]());}[_0x8bc636(0x244)](_0x463da5){const _0x72aa02=_0x8bc636;let _0x5db2c8=this[_0x72aa02(0x217)][_0x72aa02(0x29e)](_0x463da5);_0x5db2c8&&((0x0,_0x222f7d[_0x72aa02(0x1f1)])(_0x5db2c8[_0x72aa02(0x2a0)]())&&this[_0x72aa02(0x1bc)][_0x72aa02(0x1fd)](_0x463da5),this['_shapes'][_0x72aa02(0x1fd)](_0x463da5));}[_0x8bc636(0x1c9)](){const _0x14461a=_0x8bc636;let _0x61a2c6=[];return this[_0x14461a(0x217)][_0x14461a(0x1f7)](_0x56f739=>{const _0x1ac2de=_0x14461a;_0x61a2c6[_0x1ac2de(0x1d3)](_0x56f739[_0x1ac2de(0x1c9)]());}),_0x61a2c6;}[_0x8bc636(0x265)](_0x537fb6){const _0xb7c798=_0x8bc636;for(let _0x563013 of _0x537fb6){let {id:_0x2f5d80,shapeType:_0x3049d0,name:_0x31d3be}=_0x563013,_0x122516=this['addShape'](_0x3049d0,_0x2f5d80,_0x563013['shapeData'],_0x31d3be);_0x122516&&_0x122516[_0xb7c798(0x1ef)]()&&this[_0xb7c798(0x1bc)][_0xb7c798(0x1eb)](_0x2f5d80);}}[_0x8bc636(0x1b8)](){const _0x468f56=_0x8bc636;this[_0x468f56(0x25a)]||(this['_shapes'][_0x468f56(0x1f7)](_0xf781b0=>{const _0x2f0750=_0x468f56;_0xf781b0[_0x2f0750(0x1b8)]();}),this[_0x468f56(0x217)][_0x468f56(0x1d6)](),this[_0x468f56(0x1bc)]['clear'](),this[_0x468f56(0x1f0)][_0x468f56(0x1d6)](),super[_0x468f56(0x1b8)]());}};function _0x6fcb7d(_0x5dee9d,_0x4e243d){return function(_0x5c6f7b,_0x54b829){_0x4e243d(_0x5c6f7b,_0x54b829,_0x5dee9d);};}function _0xf259c2(_0x29bc9d,_0x190a9e,_0xc71b31,_0x223676){const _0x28f02b=_0x8bc636;var _0xfd0e5d=arguments[_0x28f02b(0x1bf)],_0x32c66d=_0xfd0e5d<0x3?_0x190a9e:_0x223676===null?_0x223676=Object[_0x28f02b(0x24d)](_0x190a9e,_0xc71b31):_0x223676,_0x926bf6;if(typeof Reflect=='object'&&typeof Reflect[_0x28f02b(0x1ba)]==_0x28f02b(0x25c))_0x32c66d=Reflect[_0x28f02b(0x1ba)](_0x29bc9d,_0x190a9e,_0xc71b31,_0x223676);else{for(var _0x16f5f7=_0x29bc9d['length']-0x1;_0x16f5f7>=0x0;_0x16f5f7--)(_0x926bf6=_0x29bc9d[_0x16f5f7])&&(_0x32c66d=(_0xfd0e5d<0x3?_0x926bf6(_0x32c66d):_0xfd0e5d>0x3?_0x926bf6(_0x190a9e,_0xc71b31,_0x32c66d):_0x926bf6(_0x190a9e,_0xc71b31))||_0x32c66d);}return _0xfd0e5d>0x3&&_0x32c66d&&Object[_0x28f02b(0x1ad)](_0x190a9e,_0xc71b31,_0x32c66d),_0x32c66d;}let _0x23101f=class extends _0x4cf569[_0x8bc636(0x270)]{constructor(_0x12c4a3){const _0x3df3f3=_0x8bc636;super(),this[_0x3df3f3(0x23b)]=_0x12c4a3,_0x3c413b(this,_0x3df3f3(0x22c),new Map()),this[_0x3df3f3(0x1cb)]();}[_0x8bc636(0x280)](_0x17544b,_0x13d44c){const _0x27a534=_0x8bc636;let _0x664450=this[_0x27a534(0x22c)][_0x27a534(0x29e)](_0x17544b);_0x664450||(_0x664450=new Map(),this['_shapeModelManagerMap'][_0x27a534(0x225)](_0x17544b,_0x664450));let _0x54d7b1=_0x664450['get'](_0x13d44c);return _0x54d7b1||(_0x54d7b1=new _0x40c66a(),_0x664450[_0x27a534(0x225)](_0x13d44c,_0x54d7b1)),_0x54d7b1;}[_0x8bc636(0x253)](_0x7d4287,_0x3dc6a3,_0x3569b4,_0x1a4564,_0x3b2f5f,_0x32d5c5){const _0x17751b=_0x8bc636;this[_0x17751b(0x280)](_0x7d4287,_0x3dc6a3)[_0x17751b(0x240)](_0x3569b4,_0x1a4564,_0x3b2f5f,_0x32d5c5);}[_0x8bc636(0x244)](_0x54c639,_0x99b6be,_0x28096c){const _0x311b37=_0x8bc636;this[_0x311b37(0x280)](_0x54c639,_0x99b6be)[_0x311b37(0x244)](_0x28096c);}[_0x8bc636(0x292)](_0x5661a0,_0x23ab26,_0xc8cfdf){const _0x23cd73=_0x8bc636;return this[_0x23cd73(0x280)](_0x5661a0,_0x23ab26)[_0x23cd73(0x2a0)](_0xc8cfdf);}['getShapeType'](_0x32b227,_0x51208a,_0x363850){const _0x9c1a59=_0x8bc636;return this[_0x9c1a59(0x280)](_0x32b227,_0x51208a)[_0x9c1a59(0x2a0)](_0x363850);}[_0x8bc636(0x241)](_0x1a6b0b,_0x4426f1,_0x58d87c){const _0x4991d1=_0x8bc636;return this[_0x4991d1(0x280)](_0x1a6b0b,_0x4426f1)['hasShape'](_0x58d87c);}['getShapeTypeById'](_0x14e95b,_0x4678e2,_0x44e160){const _0x5c6a6e=_0x8bc636;return this[_0x5c6a6e(0x280)](_0x14e95b,_0x4678e2)[_0x5c6a6e(0x2a0)](_0x44e160);}[_0x8bc636(0x1b3)](_0x4d2d44,_0x18d834,_0x3e99d4){const _0x39c4a8=_0x8bc636;let _0x8a38b7=this[_0x39c4a8(0x280)](_0x4d2d44,_0x18d834);if(!_0x8a38b7[_0x39c4a8(0x2a0)](_0x3e99d4))return;let _0x52109b=_0x8a38b7[_0x39c4a8(0x217)]['get'](_0x3e99d4);if(_0x52109b)return _0x52109b[_0x39c4a8(0x1dd)]();}[_0x8bc636(0x26c)](_0x112bd0,_0x302af6){const _0x55c588=_0x8bc636;return this[_0x55c588(0x280)](_0x112bd0,_0x302af6)['getShapeDisplayNames']();}[_0x8bc636(0x259)](_0x19d240,_0xeecd1,_0x27334e){const _0x1c42a8=_0x8bc636;return this[_0x1c42a8(0x280)](_0x19d240,_0xeecd1)['_shapes'][_0x1c42a8(0x29e)](_0x27334e);}['getBasicShapeRelation'](_0x3c2992,_0xf274e3,_0x16bcf0){const _0x23c5c2=_0x8bc636;return this[_0x23c5c2(0x280)](_0x3c2992,_0xf274e3)['getBasicShapeRelation'](_0x16bcf0);}[_0x8bc636(0x224)](_0x1aaeac,_0x30ee92,_0x362ac4){const _0x490cd4=_0x8bc636;let _0x169001=this[_0x490cd4(0x280)](_0x1aaeac,_0x30ee92)[_0x490cd4(0x217)][_0x490cd4(0x29e)](_0x362ac4);if(_0x169001)return _0x169001['getShapeRelation']();}[_0x8bc636(0x1ca)](){}[_0x8bc636(0x1c8)](_0x5d1c40){const _0x2ff907=_0x8bc636;let _0x3bce36={},_0xaf6e72=this['_shapeModelManagerMap'][_0x2ff907(0x29e)](_0x5d1c40);return _0xaf6e72&&_0xaf6e72[_0x2ff907(0x1f7)]((_0x259d2e,_0x16de0a)=>{const _0x59c89c=_0x2ff907;let _0x2beea5=_0x259d2e[_0x59c89c(0x1c9)]();_0x2beea5[_0x59c89c(0x1bf)]>0x0&&(_0x3bce36[_0x16de0a]=_0x2beea5);}),JSON['stringify'](_0x3bce36);}['_deserializeShapeForUnit'](_0x4f841d,_0x1c98b8){const _0x3165cd=_0x8bc636;Object[_0x3165cd(0x205)](_0x1c98b8)[_0x3165cd(0x1f7)](_0x5d410b=>{const _0x5e469f=_0x3165cd;this[_0x5e469f(0x280)](_0x4f841d,_0x5d410b)['fromJSON'](_0x1c98b8[_0x5d410b]);});}['toJSON'](){const _0x3fa868=_0x8bc636;let _0x3a2044={};return this['_shapeModelManagerMap'][_0x3fa868(0x1f7)]((_0x2bc595,_0x2e44c7)=>{_0x3a2044[_0x2e44c7]={},_0x2bc595['forEach']((_0x495787,_0x76426f)=>{const _0x3aa8c0=_0x4d05;_0x3a2044[_0x2e44c7][_0x76426f]=_0x495787[_0x3aa8c0(0x1c9)]();});}),_0x3a2044;}[_0x8bc636(0x265)](_0x3a060e){const _0x5d0f68=_0x8bc636;Object['keys'](_0x3a060e)[_0x5d0f68(0x1f7)](_0x4d943d=>{const _0x1a5b5b=_0x5d0f68;let _0x4e7e96=_0x3a060e[_0x4d943d];Object[_0x1a5b5b(0x205)](_0x4e7e96)[_0x1a5b5b(0x1f7)](_0x5e1e35=>{const _0xa0e95=_0x1a5b5b;this[_0xa0e95(0x280)](_0x4d943d,_0x5e1e35)[_0xa0e95(0x265)](_0x4e7e96[_0x5e1e35]);});});}[_0x8bc636(0x1cb)](){const _0x4b253b=_0x8bc636;this[_0x4b253b(0x23b)][_0x4b253b(0x1e4)]({'pluginName':_0x4b253b(0x20d),'businesses':[_0x4cf569[_0x4b253b(0x24b)][_0x4b253b(0x203)]],'toJson':_0x56de49=>this['_serializeShapeForUnit'](_0x56de49),'parseJson':_0x320e87=>JSON[_0x4b253b(0x25f)](_0x320e87),'onLoad':(_0x46c022,_0x45c7cf)=>{const _0x4cf5be=_0x4b253b;this[_0x4cf5be(0x1d8)](_0x46c022,_0x45c7cf);},'onUnLoad':_0x4ed917=>{const _0x242e92=_0x4b253b;let _0x40952f=this[_0x242e92(0x22c)][_0x242e92(0x29e)](_0x4ed917);_0x40952f&&(_0x40952f[_0x242e92(0x1f7)](_0x635415=>{const _0x3afced=_0x242e92;_0x635415[_0x3afced(0x1b8)]();}),this['_shapeModelManagerMap'][_0x242e92(0x1fd)](_0x4ed917));}});}[_0x8bc636(0x1b8)](){const _0x5dd507=_0x8bc636;this[_0x5dd507(0x22c)][_0x5dd507(0x1f7)](_0x250809=>{const _0x47f18d=_0x5dd507;_0x250809[_0x47f18d(0x1f7)](_0x1c26cb=>{const _0x4f49d7=_0x47f18d;_0x1c26cb[_0x4f49d7(0x1b8)]();});});}};_0x23101f=_0xf259c2([_0x6fcb7d(0x0,_0x4cf569[_0x8bc636(0x249)])],_0x23101f);let _0x21df94={'id':_0x8bc636(0x1f8),'type':_0x4cf569[_0x8bc636(0x1e6)][_0x8bc636(0x1fa)],'handler':(_0x174635,_0xce2406)=>{const _0x3a5648=_0x8bc636;let {unitId:_0x5288d8,subUnitId:_0x20d538,shapeType:_0x1bb5b8,shapeId:_0x1faa50,shapeName:_0x4e6fd2,shapeData:_0x115577}=_0xce2406;return _0x174635[_0x3a5648(0x29e)](_0x23101f)[_0x3a5648(0x253)](_0x5288d8,_0x20d538,_0x1bb5b8,_0x1faa50,_0x115577,_0x4e6fd2),!0x0;}},_0x3e364e={'id':'sheet.mutation.remove-shape','type':_0x4cf569[_0x8bc636(0x1e6)][_0x8bc636(0x1fa)],'handler':(_0x2f0622,_0x447ef8)=>{const _0x3f85b0=_0x8bc636;let {unitId:_0x5bdbf9,subUnitId:_0x5617a9,shapeId:_0x4280c1}=_0x447ef8;return _0x2f0622[_0x3f85b0(0x29e)](_0x23101f)[_0x3f85b0(0x244)](_0x5bdbf9,_0x5617a9,_0x4280c1),!0x0;}},_0x473541={'type':_0x4cf569[_0x8bc636(0x1e6)]['COMMAND'],'id':_0x8bc636(0x258),'handler':(_0x486a0b,_0x5d8a48)=>{const _0xe4298c=_0x8bc636;var _0x6658f1,_0x58200b,_0x5f27d3,_0x21c264,_0x5d9644,_0x301b40,_0x1894c4;let _0x5b68e9=(0x0,_0x51c0bb[_0xe4298c(0x1fb)])(_0x486a0b[_0xe4298c(0x29e)](_0x4cf569[_0xe4298c(0x26f)]),_0x5d8a48);if(!_0x5b68e9)return!0x1;let _0x5cf04d=_0x486a0b[_0xe4298c(0x29e)](_0x51c0bb[_0xe4298c(0x297)]),{unitId:_0x3a2a40,subUnitId:_0x19049e}=_0x5b68e9,_0xa3392f=_0x5cf04d[_0xe4298c(0x282)](_0x3a2a40,_0x19049e);if(!_0xa3392f)return!0x1;let _0x6ba8a1=_0x486a0b[_0xe4298c(0x29e)](_0x4cf569['ICommandService']),_0x58ce03=_0x486a0b[_0xe4298c(0x29e)](_0x4cf569[_0xe4298c(0x256)]),_0x32ad3d=_0x486a0b[_0xe4298c(0x29e)](_0x51c0bb[_0xe4298c(0x237)]),_0x200523=_0x486a0b['get'](_0x3a908f[_0xe4298c(0x291)]),_0x27bb40=_0x486a0b[_0xe4298c(0x29e)](_0x23101f),{shapeType:_0x1c92a4,shapeData:_0x2b8ded}=_0x5d8a48,_0x113e1a=_0x5d8a48['shapeId']||(0x0,_0x4cf569['generateRandomId'])(),_0x52a55b={'unitId':_0x3a2a40,'subUnitId':_0x19049e,'shapeId':_0x113e1a,'shapeName':(_0x6658f1=_0x5d8a48[_0xe4298c(0x1b7)])==null?(0x0,_0x222f7d['createUniqueShapeName'])(_0x1c92a4,_0x27bb40[_0xe4298c(0x26c)](_0x3a2a40,_0x19049e)):_0x6658f1,'shapeType':_0x1c92a4,'shapeData':_0x2b8ded},_0x24a818=_0x5d8a48[_0xe4298c(0x1fe)]||0xc8,_0x5e744f=_0x5d8a48[_0xe4298c(0x1b4)]||0xc8,_0x57ddaf=0x0,_0x375c4b=0x0;if(_0x5d8a48[_0xe4298c(0x1e9)]){let {x:_0x2a5205,y:_0x1570ac}=_0x5d8a48[_0xe4298c(0x1e9)];_0x57ddaf=_0x2a5205,_0x375c4b=_0x1570ac;}else{if(_0x5d8a48[_0xe4298c(0x1e1)]){let {startRow:_0x2da5bd,startColumn:_0x31f19e}=_0x5d8a48[_0xe4298c(0x1e1)],_0x42314c=_0xa3392f[_0xe4298c(0x251)](_0x2da5bd,_0x31f19e);_0x57ddaf=_0x42314c[_0xe4298c(0x268)]+0xa,_0x375c4b=_0x42314c['startY']+0xa;}}let _0x57e726={'left':_0x57ddaf,'top':_0x375c4b,'width':_0x24a818,'height':_0x5e744f,'angle':(_0x58200b=_0x5d8a48[_0xe4298c(0x27e)])==null?0x0:_0x58200b,'flipX':(_0x5f27d3=_0x5d8a48[_0xe4298c(0x1ae)])==null?!0x1:_0x5f27d3,'flipY':(_0x21c264=_0x5d8a48['flipY'])==null?!0x1:_0x21c264},_0x58b49d=(0x0,_0x3a908f[_0xe4298c(0x1de)])(_0x57e726,_0xa3392f),_0x35ec7b=(0x0,_0x3a908f[_0xe4298c(0x1e7)])(_0x57e726,_0xa3392f),_0x234e08={'unitId':_0x3a2a40,'subUnitId':_0x19049e,'drawingId':_0x113e1a,'drawingType':_0x4cf569[_0xe4298c(0x1d7)][_0xe4298c(0x298)],'name':_0x5d8a48[_0xe4298c(0x21b)],'description':_0x5d8a48[_0xe4298c(0x1f6)],'sheetTransform':_0x58b49d,'transform':_0x57e726,'data':{'shapeType':_0x1c92a4,'shapeData':_0x2b8ded},'axisAlignSheetTransform':_0x35ec7b,'allowTransform':!0x0,'hidden':_0x5d8a48[_0xe4298c(0x1b0)]===!0x1,'selectable':(_0x5d9644=_0x5d8a48['selectable'])==null?!0x0:_0x5d9644};(0x0,_0x222f7d['isConnectorShape'])(_0x1c92a4)&&(_0x234e08['data']['fill']=!0x1,_0x234e08[_0xe4298c(0x25e)][_0xe4298c(0x228)]=!0x1,_0x234e08['data'][_0xe4298c(0x1c5)]=!0x1,_0x234e08['data'][_0xe4298c(0x28d)]=!0x1,_0x234e08[_0xe4298c(0x223)][_0xe4298c(0x228)]=!0x1,_0x234e08[_0xe4298c(0x223)]['resizeEnabled']=!0x1,_0x234e08[_0xe4298c(0x223)][_0xe4298c(0x28d)]=!0x1);let {undo:_0x4fc5d3,redo:_0x213877,objects:_0x578361}=_0x200523['getBatchAddOp']([_0x234e08]),_0x2bcfe7=_0x32ad3d['onCommandExecute']({'id':_0x3a908f[_0xe4298c(0x26b)]['id'],'params':{'unitId':_0x3a2a40,'drawings':[_0x234e08]}}),_0x3d5f43=[...(_0x301b40=_0x2bcfe7['preRedos'])==null?[]:_0x301b40,{'id':_0x3a908f[_0xe4298c(0x267)]['id'],'params':{'unitId':_0x3a2a40,'subUnitId':_0x19049e,'op':_0x213877,'objects':_0x578361,'type':_0x3a908f[_0xe4298c(0x227)][_0xe4298c(0x254)]}},{'id':_0x3a908f[_0xe4298c(0x28c)]['id'],'params':[_0x3a2a40]},..._0x2bcfe7[_0xe4298c(0x247)],{'id':_0x21df94['id'],'params':_0x52a55b}],_0x457527=[{'id':_0x3e364e['id'],'params':{'unitId':_0x3a2a40,'subUnitId':_0x19049e,'shapeId':_0x113e1a}},...(_0x1894c4=_0x2bcfe7[_0xe4298c(0x289)])==null?[]:_0x1894c4,{'id':_0x3a908f[_0xe4298c(0x267)]['id'],'params':{'unitId':_0x3a2a40,'subUnitId':_0x19049e,'op':_0x4fc5d3,'objects':_0x578361,'type':_0x3a908f[_0xe4298c(0x227)]['REMOVE']}},{'id':_0x3a908f[_0xe4298c(0x28c)]['id'],'params':[_0x3a2a40]},..._0x2bcfe7[_0xe4298c(0x288)]];return(0x0,_0x4cf569['sequenceExecute'])(_0x3d5f43,_0x6ba8a1)[_0xe4298c(0x22b)]?(_0x58ce03[_0xe4298c(0x23a)]({'unitID':_0x3a2a40,'undoMutations':_0x457527,'redoMutations':_0x3d5f43}),!0x0):!0x1;}},_0x5c1630={'id':'sheet.mutation.update-shape-data','type':_0x4cf569[_0x8bc636(0x1e6)][_0x8bc636(0x1fa)],'handler':(_0x19d2bd,_0x4ed112)=>{const _0x5738af=_0x8bc636;let {unitId:_0x25ac7d,subUnitId:_0x22da46,shapeType:_0x31be97,shapeId:_0x311bbc,shapeData:_0x162fa6}=_0x4ed112,_0x10de41=_0x19d2bd[_0x5738af(0x29e)](_0x23101f)['getShapeModel'](_0x25ac7d,_0x22da46,_0x311bbc);return _0x10de41&&(_0x31be97!==void 0x0&&_0x10de41['setShapeType'](_0x31be97),_0x162fa6&&(_0x10de41==null||_0x10de41[_0x5738af(0x1df)](_0x162fa6,!0x0))),!0x0;}},_0x10291e={'type':_0x4cf569[_0x8bc636(0x1e6)][_0x8bc636(0x266)],'id':_0x8bc636(0x1e0),'handler':(_0x5cd788,_0x1b6938)=>{const _0x4551f6=_0x8bc636;var _0x8e2081,_0x4b5670,_0xe8f8ce,_0x4a150f,_0x1d6e6c;let _0x5492f4=(0x0,_0x51c0bb[_0x4551f6(0x1fb)])(_0x5cd788[_0x4551f6(0x29e)](_0x4cf569[_0x4551f6(0x26f)]),_0x1b6938);if(!_0x5492f4)return!0x1;let _0x2eb35f=_0x5cd788[_0x4551f6(0x29e)](_0x51c0bb['SheetSkeletonService']),{unitId:_0x3d0e52,subUnitId:_0x49ea68}=_0x5492f4,_0x1cbd8e=_0x2eb35f[_0x4551f6(0x282)](_0x3d0e52,_0x49ea68);if(!_0x1cbd8e)return!0x1;let _0x46e7c9=_0x5cd788[_0x4551f6(0x29e)](_0x23101f),{shapeId:_0x3d631f,shapeType:_0x9b06fe,shapeData:_0x577cd9,position:_0x115209,width:_0x18ac3a,height:_0x379cc0}=_0x1b6938,_0x3d9e8e=_0x46e7c9[_0x4551f6(0x259)](_0x3d0e52,_0x49ea68,_0x3d631f);if(!_0x3d9e8e)return!0x1;let _0x3c5e9a=_0x5cd788['get'](_0x4cf569[_0x4551f6(0x25b)]),_0x4dce34=_0x5cd788[_0x4551f6(0x29e)](_0x4cf569['IUndoRedoService']),_0x11949e=_0x5cd788[_0x4551f6(0x29e)](_0x51c0bb['SheetInterceptorService']),_0x2f44b7=_0x5cd788['get'](_0x3a908f[_0x4551f6(0x291)]),_0x407fa2={'unitId':_0x3d0e52,'subUnitId':_0x49ea68,'shapeId':_0x3d631f,'shapeType':_0x9b06fe,'shapeData':_0x577cd9},_0x4045d0=_0x3d9e8e['getShapeType'](),_0x294da9=_0x3d9e8e[_0x4551f6(0x1dd)](),{x:_0x93961c,y:_0x48d836}=_0x115209,_0x5c7de3={'left':_0x93961c,'top':_0x48d836,'width':_0x18ac3a,'height':_0x379cc0,'angle':(_0x8e2081=_0x1b6938['rotation'])==null?0x0:_0x8e2081,'flipX':(_0x4b5670=_0x1b6938['flipX'])==null?!0x1:_0x4b5670,'flipY':(_0xe8f8ce=_0x1b6938['flipY'])==null?!0x1:_0xe8f8ce},_0x43da74=(0x0,_0x3a908f[_0x4551f6(0x1de)])(_0x5c7de3,_0x1cbd8e),_0x2b2dc6=(0x0,_0x3a908f[_0x4551f6(0x1e7)])(_0x5c7de3,_0x1cbd8e),_0x2bb88b={'unitId':_0x3d0e52,'subUnitId':_0x49ea68,'drawingId':_0x3d631f,'drawingType':_0x4cf569[_0x4551f6(0x1d7)][_0x4551f6(0x298)],'name':_0x1b6938[_0x4551f6(0x21b)],'description':_0x1b6938[_0x4551f6(0x1f6)],'sheetTransform':_0x43da74,'transform':_0x5c7de3,'data':{'shapeType':_0x9b06fe,'shapeData':_0x577cd9},'axisAlignSheetTransform':_0x2b2dc6,'allowTransform':!0x0,'hidden':!_0x1b6938[_0x4551f6(0x1b0)],'selectable':_0x1b6938[_0x4551f6(0x23c)]};(0x0,_0x222f7d[_0x4551f6(0x1f1)])(_0x9b06fe)&&(_0x2bb88b[_0x4551f6(0x25e)][_0x4551f6(0x1aa)]=!0x1,_0x2bb88b[_0x4551f6(0x25e)][_0x4551f6(0x228)]=!0x1,_0x2bb88b[_0x4551f6(0x25e)][_0x4551f6(0x1c5)]=!0x1,_0x2bb88b[_0x4551f6(0x25e)][_0x4551f6(0x28d)]=!0x1,_0x2bb88b[_0x4551f6(0x223)][_0x4551f6(0x228)]=!0x1,_0x2bb88b[_0x4551f6(0x223)]['resizeEnabled']=!0x1,_0x2bb88b[_0x4551f6(0x223)][_0x4551f6(0x28d)]=!0x1);let {undo:_0x245222,redo:_0x1de092,objects:_0x5a5173}=_0x2f44b7[_0x4551f6(0x201)]([_0x2bb88b]),_0x6361f8=_0x11949e[_0x4551f6(0x1b6)]({'id':_0x3a908f[_0x4551f6(0x20b)]['id'],'params':{'unitId':_0x3d0e52,'drawings':[_0x2bb88b]}}),_0x5e1e32=[...(_0x4a150f=_0x6361f8['preRedos'])==null?[]:_0x4a150f,{'id':_0x3a908f[_0x4551f6(0x267)]['id'],'params':{'unitId':_0x3d0e52,'subUnitId':_0x49ea68,'op':_0x1de092,'objects':_0x5a5173,'type':_0x3a908f[_0x4551f6(0x227)][_0x4551f6(0x245)]}},{'id':_0x3a908f[_0x4551f6(0x28c)]['id'],'params':[_0x3d0e52]},..._0x6361f8[_0x4551f6(0x247)],{'id':_0x5c1630['id'],'params':_0x407fa2}],_0x2d1a3e=[...(_0x1d6e6c=_0x6361f8[_0x4551f6(0x289)])==null?[]:_0x1d6e6c,{'id':_0x3a908f['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x3d0e52,'subUnitId':_0x49ea68,'op':_0x245222,'objects':_0x5a5173,'type':_0x3a908f[_0x4551f6(0x227)]['UPDATE']}},{'id':_0x3a908f[_0x4551f6(0x28c)]['id'],'params':[_0x3d0e52]},..._0x6361f8['undos'],{'id':_0x5c1630['id'],'params':{'unitId':_0x3d0e52,'subUnitId':_0x49ea68,'shapeType':_0x4045d0,'shapeId':_0x3d631f,'shapeData':_0x294da9}}];return(0x0,_0x4cf569['sequenceExecute'])(_0x5e1e32,_0x3c5e9a)[_0x4551f6(0x22b)]?(_0x4dce34[_0x4551f6(0x23a)]({'unitID':_0x3d0e52,'undoMutations':_0x2d1a3e,'redoMutations':_0x5e1e32}),!0x0):!0x1;}},_0x8fdead={'type':_0x4cf569[_0x8bc636(0x1e6)][_0x8bc636(0x266)],'id':_0x8bc636(0x22e),'handler':(_0x43b2d5,_0x3da65a)=>{const _0x35e86a=_0x8bc636;var _0x5d042a,_0x411648;let _0x165b65=(0x0,_0x51c0bb[_0x35e86a(0x1fb)])(_0x43b2d5[_0x35e86a(0x29e)](_0x4cf569[_0x35e86a(0x26f)]),_0x3da65a);if(!_0x165b65)return!0x1;let _0x2c8132=_0x43b2d5[_0x35e86a(0x29e)](_0x51c0bb[_0x35e86a(0x297)]),{unitId:_0x4bf84e,subUnitId:_0x340bba}=_0x165b65,_0x31bab4=_0x2c8132[_0x35e86a(0x1c4)](_0x4bf84e,_0x340bba);if(!_0x31bab4)return!0x1;let _0xe8c9e0=_0x43b2d5[_0x35e86a(0x29e)](_0x3a908f[_0x35e86a(0x291)]),{shapeId:_0x7f62e2,flipH:_0x49f093,flipV:_0xf18295}=_0x3da65a,_0x2315eb=_0xe8c9e0['getDrawingByParam']({'unitId':_0x4bf84e,'subUnitId':_0x340bba,'drawingId':_0x7f62e2});if(!_0x2315eb)return!0x1;let _0x2d9435=_0x43b2d5[_0x35e86a(0x29e)](_0x23101f)[_0x35e86a(0x259)](_0x4bf84e,_0x340bba,_0x7f62e2);if(!_0x2d9435)return!0x1;let _0x444948=_0x43b2d5[_0x35e86a(0x29e)](_0x4cf569['ICommandService']),_0x4f72fa=_0x43b2d5[_0x35e86a(0x29e)](_0x4cf569[_0x35e86a(0x256)]),_0x36a091=_0x43b2d5[_0x35e86a(0x29e)](_0x51c0bb[_0x35e86a(0x237)]),_0x5b7dbe={..._0x2315eb[_0x35e86a(0x223)]};_0x49f093!==void 0x0&&(_0x5b7dbe[_0x35e86a(0x1ae)]=!_0x5b7dbe[_0x35e86a(0x1ae)]),_0xf18295!==void 0x0&&(_0x5b7dbe[_0x35e86a(0x200)]=!_0x5b7dbe[_0x35e86a(0x200)]);let _0x16987b=(0x0,_0x3a908f[_0x35e86a(0x1de)])(_0x5b7dbe,_0x31bab4),_0x192f92=(0x0,_0x3a908f[_0x35e86a(0x1e7)])(_0x5b7dbe,_0x31bab4),_0x19ac4e=_0x2d9435[_0x35e86a(0x2a0)](),_0x334e39=_0x2d9435['getShapeData'](),_0x5bb1ae={'unitId':_0x4bf84e,'subUnitId':_0x340bba,'drawingId':_0x7f62e2,'drawingType':_0x4cf569[_0x35e86a(0x1d7)]['DRAWING_SHAPE'],'sheetTransform':_0x16987b,'transform':_0x5b7dbe,'data':{'shapeType':_0x19ac4e,'shapeData':_0x334e39},'axisAlignSheetTransform':_0x192f92,'allowTransform':!0x0},{undo:_0x169ecd,redo:_0x2a7554,objects:_0x1df50a}=_0xe8c9e0[_0x35e86a(0x201)]([_0x5bb1ae]),_0x14bfa5=_0x36a091[_0x35e86a(0x1b6)]({'id':_0x3a908f[_0x35e86a(0x20b)]['id'],'params':{'unitId':_0x4bf84e,'drawings':[_0x5bb1ae]}}),_0x139be0=[...(_0x5d042a=_0x14bfa5[_0x35e86a(0x24a)])==null?[]:_0x5d042a,{'id':_0x3a908f['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x4bf84e,'subUnitId':_0x340bba,'op':_0x2a7554,'objects':_0x1df50a,'type':_0x3a908f['DrawingApplyType'][_0x35e86a(0x245)]}},{'id':_0x3a908f[_0x35e86a(0x28c)]['id'],'params':[_0x4bf84e]},..._0x14bfa5[_0x35e86a(0x247)]],_0x103211=[...(_0x411648=_0x14bfa5[_0x35e86a(0x289)])==null?[]:_0x411648,{'id':_0x3a908f[_0x35e86a(0x267)]['id'],'params':{'unitId':_0x4bf84e,'subUnitId':_0x340bba,'op':_0x169ecd,'objects':_0x1df50a,'type':_0x3a908f['DrawingApplyType'][_0x35e86a(0x245)]}},{'id':_0x3a908f['ClearSheetDrawingTransformerOperation']['id'],'params':[_0x4bf84e]},..._0x14bfa5[_0x35e86a(0x288)]];if((0x0,_0x222f7d[_0x35e86a(0x1f1)])(_0x19ac4e)){let _0x190d5c=_0x2d9435[_0x35e86a(0x27d)]();if(_0x190d5c){let _0x327873={..._0x190d5c};_0x327873[_0x35e86a(0x222)]=void 0x0,_0x327873['to']=void 0x0,_0x139be0[_0x35e86a(0x1d3)]({'id':_0x5c1630['id'],'params':{'unitId':_0x4bf84e,'subUnitId':_0x340bba,'shapeId':_0x7f62e2,'shapeType':_0x19ac4e,'shapeData':{'relation':_0x327873}}}),_0x103211['push']({'id':_0x5c1630['id'],'params':{'unitId':_0x4bf84e,'subUnitId':_0x340bba,'shapeId':_0x7f62e2,'shapeType':_0x19ac4e,'shapeData':{'relation':_0x190d5c}}});}}return(0x0,_0x4cf569[_0x35e86a(0x206)])(_0x139be0,_0x444948)[_0x35e86a(0x22b)]?(_0x4f72fa['pushUndoRedo']({'unitID':_0x4bf84e,'undoMutations':_0x103211,'redoMutations':_0x139be0}),!0x0):!0x1;}},_0x309e8f={'type':_0x4cf569[_0x8bc636(0x1e6)][_0x8bc636(0x266)],'id':_0x8bc636(0x27f),'handler':(_0x26290f,_0x4490fd)=>{const _0x2bba47=_0x8bc636;var _0x48c989,_0xe9213e;let _0x41a221=(0x0,_0x51c0bb[_0x2bba47(0x1fb)])(_0x26290f[_0x2bba47(0x29e)](_0x4cf569[_0x2bba47(0x26f)]),_0x4490fd);if(!_0x41a221)return!0x1;let _0x24a500=_0x26290f[_0x2bba47(0x29e)](_0x51c0bb['SheetSkeletonService']),{unitId:_0x5616c3,subUnitId:_0x19c796}=_0x41a221,_0x1d0160=_0x24a500['getSkeleton'](_0x5616c3,_0x19c796);if(!_0x1d0160)return!0x1;let _0x218a2b=_0x26290f['get'](_0x3a908f['ISheetDrawingService']),{shapeId:_0x3a7fb1,rotate:_0x2aa8a2}=_0x4490fd,_0x437c3a=_0x218a2b[_0x2bba47(0x21a)]({'unitId':_0x5616c3,'subUnitId':_0x19c796,'drawingId':_0x3a7fb1});if(!_0x437c3a)return!0x1;let _0x4a87f4=_0x26290f[_0x2bba47(0x29e)](_0x23101f)[_0x2bba47(0x259)](_0x5616c3,_0x19c796,_0x3a7fb1);if(!_0x4a87f4)return!0x1;let _0x3be8cf=_0x26290f[_0x2bba47(0x29e)](_0x4cf569[_0x2bba47(0x25b)]),_0x4c1950=_0x26290f[_0x2bba47(0x29e)](_0x4cf569['IUndoRedoService']),_0x5accb3=_0x26290f['get'](_0x51c0bb['SheetInterceptorService']),_0x439a22={..._0x437c3a[_0x2bba47(0x223)]};_0x2aa8a2!==void 0x0&&(_0x439a22[_0x2bba47(0x24f)]=(_0x439a22[_0x2bba47(0x24f)]||0x0)+_0x2aa8a2);let _0x14c9b6=(0x0,_0x3a908f[_0x2bba47(0x1de)])(_0x439a22,_0x1d0160),_0x18494e=(0x0,_0x3a908f[_0x2bba47(0x1e7)])(_0x439a22,_0x1d0160),_0x21054a=_0x4a87f4[_0x2bba47(0x2a0)](),_0x3c8891=_0x4a87f4['getShapeData'](),_0x26b402={'unitId':_0x5616c3,'subUnitId':_0x19c796,'drawingId':_0x3a7fb1,'drawingType':_0x4cf569[_0x2bba47(0x1d7)]['DRAWING_SHAPE'],'sheetTransform':_0x14c9b6,'transform':_0x439a22,'data':{'shapeType':_0x21054a,'shapeData':_0x3c8891},'axisAlignSheetTransform':_0x18494e,'allowTransform':!0x0},{undo:_0x5e962b,redo:_0x219e3f,objects:_0x2741c8}=_0x218a2b['getBatchUpdateOp']([_0x26b402]),_0x3bf94e=_0x5accb3[_0x2bba47(0x1b6)]({'id':_0x3a908f['SetSheetDrawingCommand']['id'],'params':{'unitId':_0x5616c3,'drawings':[_0x26b402]}}),_0x1b7eaa=[...(_0x48c989=_0x3bf94e[_0x2bba47(0x24a)])==null?[]:_0x48c989,{'id':_0x3a908f[_0x2bba47(0x267)]['id'],'params':{'unitId':_0x5616c3,'subUnitId':_0x19c796,'op':_0x219e3f,'objects':_0x2741c8,'type':_0x3a908f[_0x2bba47(0x227)][_0x2bba47(0x245)]}},{'id':_0x3a908f[_0x2bba47(0x28c)]['id'],'params':[_0x5616c3]},..._0x3bf94e[_0x2bba47(0x247)]],_0x3e7207=[...(_0xe9213e=_0x3bf94e[_0x2bba47(0x289)])==null?[]:_0xe9213e,{'id':_0x3a908f[_0x2bba47(0x267)]['id'],'params':{'unitId':_0x5616c3,'subUnitId':_0x19c796,'op':_0x5e962b,'objects':_0x2741c8,'type':_0x3a908f[_0x2bba47(0x227)][_0x2bba47(0x245)]}},{'id':_0x3a908f[_0x2bba47(0x28c)]['id'],'params':[_0x5616c3]},..._0x3bf94e[_0x2bba47(0x288)]];return(0x0,_0x4cf569['sequenceExecute'])(_0x1b7eaa,_0x3be8cf)['result']?(_0x4c1950['pushUndoRedo']({'unitID':_0x5616c3,'undoMutations':_0x3e7207,'redoMutations':_0x1b7eaa}),!0x0):!0x1;}},_0x153f8b={'type':_0x4cf569[_0x8bc636(0x1e6)][_0x8bc636(0x266)],'id':_0x8bc636(0x277),'handler':(_0x47077e,_0x222985)=>{const _0x41d287=_0x8bc636;var _0xe6750b;let _0x5fc1c9=(0x0,_0x51c0bb[_0x41d287(0x1fb)])(_0x47077e['get'](_0x4cf569[_0x41d287(0x26f)]),_0x222985);if(!_0x5fc1c9)return!0x1;let {unitId:_0x405d36,subUnitId:_0x1612f3}=_0x5fc1c9,{shapeId:_0x5be48a}=_0x222985,_0x55bb99=_0x47077e[_0x41d287(0x29e)](_0x23101f)[_0x41d287(0x259)](_0x405d36,_0x1612f3,_0x5be48a);if(!_0x55bb99)return!0x1;let _0x58a777=_0x55bb99['getShapeTextData'](),_0x201ba8=(_0xe6750b=_0x58a777==null?void 0x0:_0x58a777[_0x41d287(0x1c6)])==null?!0x0:_0xe6750b,_0x1efb8e=!_0x201ba8,_0x2eab8d=_0x47077e[_0x41d287(0x29e)](_0x4cf569[_0x41d287(0x25b)]),_0x4c06a3=_0x47077e[_0x41d287(0x29e)](_0x4cf569['IUndoRedoService']),_0x419f35={'unitId':_0x405d36,'subUnitId':_0x1612f3,'shapeId':_0x5be48a,'shapeData':{'shapeText':{'isHorizontal':_0x1efb8e}}},_0x5ef27e={'unitId':_0x405d36,'subUnitId':_0x1612f3,'shapeId':_0x5be48a,'shapeData':{'shapeText':{'isHorizontal':_0x201ba8}}},_0x5e929a=[{'id':_0x5c1630['id'],'params':_0x419f35}],_0x4fe60e=[{'id':_0x5c1630['id'],'params':_0x5ef27e}];return(0x0,_0x4cf569[_0x41d287(0x206)])(_0x5e929a,_0x2eab8d)[_0x41d287(0x22b)]?(_0x4c06a3[_0x41d287(0x23a)]({'unitID':_0x405d36,'undoMutations':_0x4fe60e,'redoMutations':_0x5e929a}),!0x0):!0x1;}},_0xc2c399={'type':_0x4cf569['CommandType'][_0x8bc636(0x266)],'id':_0x8bc636(0x1be),'handler':(_0x31a802,_0x256284)=>{const _0x3f16d6=_0x8bc636;var _0xb5951,_0x226316,_0x2b480c,_0x301859;let _0x152eba=(0x0,_0x51c0bb[_0x3f16d6(0x1fb)])(_0x31a802[_0x3f16d6(0x29e)](_0x4cf569[_0x3f16d6(0x26f)]),_0x256284);if(!_0x152eba)return!0x1;let _0x12afd8=_0x31a802['get'](_0x51c0bb[_0x3f16d6(0x297)]),{unitId:_0x3817e4,subUnitId:_0x5b70d2}=_0x152eba,_0x2ec8ba=_0x12afd8[_0x3f16d6(0x1c4)](_0x3817e4,_0x5b70d2);if(!_0x2ec8ba)return!0x1;let _0x245ba3=_0x31a802[_0x3f16d6(0x29e)](_0x3a908f[_0x3f16d6(0x291)]),{connectorShapeId:_0x49bf18,width:_0x510dfa,height:_0x59a9ef,left:_0x2282c3,top:_0x130b97,flipX:_0x3509c5,flipY:_0x1f3d74,rotation:_0x3326a7,oldAdjustValues:_0x45aa18,newAdjustValues:_0x2d9656,oldLineType:_0x4f5d88,newLineType:_0x49a357,oldRelation:_0x40f00e,newRelation:_0x38801f}=_0x256284,_0xc11d67=_0x245ba3[_0x3f16d6(0x21a)]({'unitId':_0x3817e4,'subUnitId':_0x5b70d2,'drawingId':_0x49bf18});if(!_0xc11d67)return!0x1;let _0x1005db=_0x31a802['get'](_0x23101f)[_0x3f16d6(0x259)](_0x3817e4,_0x5b70d2,_0x49bf18);if(!_0x1005db)return!0x1;let _0x228869=_0x31a802[_0x3f16d6(0x29e)](_0x4cf569[_0x3f16d6(0x25b)]),_0x133ca2=_0x31a802[_0x3f16d6(0x29e)](_0x4cf569[_0x3f16d6(0x256)]),_0x271ca1=_0x31a802[_0x3f16d6(0x29e)](_0x51c0bb[_0x3f16d6(0x237)]),_0x506edc={..._0xc11d67[_0x3f16d6(0x223)],'width':_0x510dfa,'height':_0x59a9ef,'left':_0x2282c3,'top':_0x130b97,'flipX':_0x3509c5,'flipY':_0x1f3d74,'angle':(_0xb5951=_0x3326a7==null?(_0x226316=_0xc11d67[_0x3f16d6(0x223)])==null?void 0x0:_0x226316[_0x3f16d6(0x24f)]:_0x3326a7)==null?0x0:_0xb5951},_0x61a40f=(0x0,_0x3a908f[_0x3f16d6(0x1de)])(_0x506edc,_0x2ec8ba),_0x47325e=(0x0,_0x3a908f[_0x3f16d6(0x1e7)])(_0x506edc,_0x2ec8ba),_0x1d50d4=_0x1005db[_0x3f16d6(0x2a0)](),_0x14afb9=_0x1005db[_0x3f16d6(0x1dd)](),_0x1519a3={'unitId':_0x3817e4,'subUnitId':_0x5b70d2,'drawingId':_0x49bf18,'drawingType':_0x4cf569['DrawingTypeEnum'][_0x3f16d6(0x298)],'sheetTransform':_0x61a40f,'transform':_0x506edc,'data':{'shapeType':_0x49a357||_0x4f5d88||_0x1d50d4,'shapeData':{..._0x14afb9,'adjustValues':_0x2d9656||_0x45aa18||(_0x14afb9==null?void 0x0:_0x14afb9[_0x3f16d6(0x220)]),'relation':_0x38801f||_0x40f00e||(_0x14afb9==null?void 0x0:_0x14afb9['relation'])}},'axisAlignSheetTransform':_0x47325e,'allowTransform':!0x0},{undo:_0x43140b,redo:_0x302ce8,objects:_0x35d486}=_0x245ba3['getBatchUpdateOp']([_0x1519a3]),_0x413825=_0x271ca1[_0x3f16d6(0x1b6)]({'id':_0x3a908f[_0x3f16d6(0x20b)]['id'],'params':{'unitId':_0x3817e4,'drawings':[_0x1519a3]}}),_0xaed5cf=[...(_0x2b480c=_0x413825[_0x3f16d6(0x24a)])==null?[]:_0x2b480c,{'id':_0x3a908f[_0x3f16d6(0x267)]['id'],'params':{'unitId':_0x3817e4,'subUnitId':_0x5b70d2,'op':_0x302ce8,'objects':_0x35d486,'type':_0x3a908f[_0x3f16d6(0x227)][_0x3f16d6(0x245)]}},{'id':_0x3a908f[_0x3f16d6(0x28c)]['id'],'params':[_0x3817e4]},..._0x413825[_0x3f16d6(0x247)],{'id':_0x5c1630['id'],'params':{'unitId':_0x3817e4,'subUnitId':_0x5b70d2,'shapeId':_0x49bf18,'shapeType':_0x49a357,'shapeData':{'adjustValues':_0x2d9656,'relation':_0x38801f}}}],_0x4ddfda=[...(_0x301859=_0x413825['preUndos'])==null?[]:_0x301859,{'id':_0x3a908f[_0x3f16d6(0x267)]['id'],'params':{'unitId':_0x3817e4,'subUnitId':_0x5b70d2,'op':_0x43140b,'objects':_0x35d486,'type':_0x3a908f[_0x3f16d6(0x227)][_0x3f16d6(0x245)]}},{'id':_0x3a908f[_0x3f16d6(0x28c)]['id'],'params':[_0x3817e4]},..._0x413825[_0x3f16d6(0x288)],{'id':_0x5c1630['id'],'params':{'unitId':_0x3817e4,'subUnitId':_0x5b70d2,'shapeId':_0x49bf18,'shapeType':_0x1d50d4,'shapeData':{..._0x14afb9,'adjustValues':_0x45aa18||(_0x14afb9==null?void 0x0:_0x14afb9[_0x3f16d6(0x220)]),'relation':_0x40f00e||(_0x14afb9==null?void 0x0:_0x14afb9[_0x3f16d6(0x236)])}}}];return(0x0,_0x4cf569[_0x3f16d6(0x206)])(_0xaed5cf,_0x228869)['result']?(_0x133ca2[_0x3f16d6(0x23a)]({'unitID':_0x3817e4,'undoMutations':_0x4ddfda,'redoMutations':_0xaed5cf}),!0x0):!0x1;}},_0x125122={'type':_0x4cf569[_0x8bc636(0x1e6)]['COMMAND'],'id':_0x8bc636(0x213),'handler':(_0x1f592d,_0x952486)=>{const _0x3bf1f1=_0x8bc636;var _0x124754,_0x28e8b3;let _0x249988=(0x0,_0x51c0bb['getSheetCommandTarget'])(_0x1f592d[_0x3bf1f1(0x29e)](_0x4cf569[_0x3bf1f1(0x26f)]),_0x952486);if(!_0x249988)return!0x1;let _0x4662c1=_0x1f592d[_0x3bf1f1(0x29e)](_0x51c0bb['SheetSkeletonService']),{unitId:_0xfa505d,subUnitId:_0x48093f}=_0x249988,_0x42094b=_0x4662c1[_0x3bf1f1(0x1c4)](_0xfa505d,_0x48093f);if(!_0x42094b)return!0x1;let _0x954971=_0x1f592d[_0x3bf1f1(0x29e)](_0x3a908f[_0x3bf1f1(0x291)]),{shapeId:_0x1dd66a,width:_0x299190,height:_0x52c62a,left:_0x1f54bc,top:_0x51e935,flipX:_0x2021a8,flipY:_0x245eb5,angle:_0x55b42f,oldAdjustValues:_0x53698c,newAdjustValues:_0x756e41,oldLineType:_0x2917d9,newLineType:_0x28c1b3}=_0x952486,_0x262510=_0x954971[_0x3bf1f1(0x21a)]({'unitId':_0xfa505d,'subUnitId':_0x48093f,'drawingId':_0x1dd66a});if(!_0x262510)return!0x1;let _0xf936c9=_0x1f592d[_0x3bf1f1(0x29e)](_0x23101f)['getShapeModel'](_0xfa505d,_0x48093f,_0x1dd66a);if(!_0xf936c9)return!0x1;let _0x1aec35=_0x1f592d['get'](_0x4cf569[_0x3bf1f1(0x25b)]),_0x2e2874=_0x1f592d[_0x3bf1f1(0x29e)](_0x4cf569[_0x3bf1f1(0x256)]),_0x59ca54=_0x1f592d[_0x3bf1f1(0x29e)](_0x51c0bb['SheetInterceptorService']),_0x2cdb02={..._0x262510['transform'],'width':_0x299190,'height':_0x52c62a,'left':_0x1f54bc,'top':_0x51e935,'flipX':_0x2021a8,'flipY':_0x245eb5,'angle':_0x55b42f},_0x425a62=(0x0,_0x3a908f['transformToDrawingPosition'])(_0x2cdb02,_0x42094b),_0x1939fa=(0x0,_0x3a908f[_0x3bf1f1(0x1e7)])(_0x2cdb02,_0x42094b),_0x349857=_0xf936c9[_0x3bf1f1(0x2a0)](),_0x3fb55f=_0xf936c9[_0x3bf1f1(0x1dd)](),_0x118dfa={'unitId':_0xfa505d,'subUnitId':_0x48093f,'drawingId':_0x1dd66a,'drawingType':_0x4cf569[_0x3bf1f1(0x1d7)][_0x3bf1f1(0x298)],'sheetTransform':_0x425a62,'transform':_0x2cdb02,'data':{'shapeType':_0x28c1b3||_0x2917d9||_0x349857,'shapeData':{..._0x3fb55f,'adjustValues':_0x756e41||_0x53698c||(_0x3fb55f==null?void 0x0:_0x3fb55f['adjustValues'])}},'axisAlignSheetTransform':_0x1939fa,'allowTransform':!0x0},{undo:_0x321e42,redo:_0x541300,objects:_0x102662}=_0x954971[_0x3bf1f1(0x201)]([_0x118dfa]),_0x5add32=_0x59ca54[_0x3bf1f1(0x1b6)]({'id':_0x3a908f[_0x3bf1f1(0x20b)]['id'],'params':{'unitId':_0xfa505d,'drawings':[_0x118dfa]}}),_0x3cf833=[...(_0x124754=_0x5add32[_0x3bf1f1(0x24a)])==null?[]:_0x124754,{'id':_0x3a908f[_0x3bf1f1(0x267)]['id'],'params':{'unitId':_0xfa505d,'subUnitId':_0x48093f,'op':_0x541300,'objects':_0x102662,'type':_0x3a908f[_0x3bf1f1(0x227)][_0x3bf1f1(0x245)]}},{'id':_0x3a908f['ClearSheetDrawingTransformerOperation']['id'],'params':[_0xfa505d]},..._0x5add32[_0x3bf1f1(0x247)],{'id':_0x5c1630['id'],'params':{'unitId':_0xfa505d,'subUnitId':_0x48093f,'shapeId':_0x1dd66a,'shapeType':_0x28c1b3,'shapeData':{'adjustValues':_0x756e41}}}],_0x134c90=[...(_0x28e8b3=_0x5add32[_0x3bf1f1(0x289)])==null?[]:_0x28e8b3,{'id':_0x3a908f['SetDrawingApplyMutation']['id'],'params':{'unitId':_0xfa505d,'subUnitId':_0x48093f,'op':_0x321e42,'objects':_0x102662,'type':_0x3a908f[_0x3bf1f1(0x227)][_0x3bf1f1(0x245)]}},{'id':_0x3a908f[_0x3bf1f1(0x28c)]['id'],'params':[_0xfa505d]},..._0x5add32[_0x3bf1f1(0x288)],{'id':_0x5c1630['id'],'params':{'unitId':_0xfa505d,'subUnitId':_0x48093f,'shapeId':_0x1dd66a,'shapeType':_0x349857,'shapeData':{..._0x3fb55f,'adjustValues':_0x53698c||(_0x3fb55f==null?void 0x0:_0x3fb55f[_0x3bf1f1(0x220)])}}}];return(0x0,_0x4cf569[_0x3bf1f1(0x206)])(_0x3cf833,_0x1aec35)['result']?(_0x2e2874[_0x3bf1f1(0x23a)]({'unitID':_0xfa505d,'undoMutations':_0x134c90,'redoMutations':_0x3cf833}),!0x0):!0x1;}},_0x3f90fb={'id':_0x8bc636(0x221),'type':_0x4cf569[_0x8bc636(0x1e6)][_0x8bc636(0x1fa)],'handler':(_0x588b0d,_0xfe46ef)=>{const _0x14f054=_0x8bc636;let {unitId:_0x4da941,subUnitId:_0x3ccfe3,shapeType:_0x2d77e3,shapeId:_0xfaba31,shapeData:_0x4d65d9}=_0xfe46ef,_0x34efeb=_0x588b0d[_0x14f054(0x29e)](_0x23101f)[_0x14f054(0x259)](_0x4da941,_0x3ccfe3,_0xfaba31);return _0x34efeb&&(_0x34efeb[_0x14f054(0x1ca)](_0x2d77e3),_0x4d65d9&&(_0x34efeb==null||_0x34efeb[_0x14f054(0x1df)](_0x4d65d9))),!0x0;}};var _0x437877=_0x8bc636(0x20f),_0x528797=_0x8bc636(0x1bb);let _0x2b0b5f=class{constructor(_0xb79ab0,_0x592fc5,_0xe455a5){const _0x38a890=_0x8bc636;this[_0x38a890(0x1d2)]=_0xb79ab0,this[_0x38a890(0x1e5)]=_0x592fc5,this[_0x38a890(0x278)]=_0xe455a5,_0x3c413b(this,'hostType',_0x4cf569[_0x38a890(0x24b)][_0x38a890(0x203)]);}['getShape'](_0x21338b){const _0x3f8458=_0x8bc636;var _0x2ab130,_0x277944,_0x534ab7,_0x329bcc,_0x2ef303,_0x52c794,_0x3b824e,_0x30838c,_0x51ced8;let _0x375f4e=(_0x2ab130=this[_0x3f8458(0x278)]['getDrawingData'](_0x21338b[_0x3f8458(0x226)],_0x21338b[_0x3f8458(0x1c1)]))==null?void 0x0:_0x2ab130[_0x21338b[_0x3f8458(0x1f3)]],_0x1c69f5=this[_0x3f8458(0x1e5)][_0x3f8458(0x2a0)](_0x21338b[_0x3f8458(0x226)],_0x21338b[_0x3f8458(0x1c1)],_0x21338b[_0x3f8458(0x1f3)]);if(!_0x375f4e||_0x375f4e[_0x3f8458(0x250)]!==_0x4cf569['DrawingTypeEnum'][_0x3f8458(0x298)]||!_0x1c69f5)return null;let _0x1ebdca=_0x375f4e[_0x3f8458(0x223)];return{..._0x21338b,'shapeType':_0x1c69f5,'shapeData':_0x4cf569[_0x3f8458(0x28e)][_0x3f8458(0x264)]((_0x277944=this[_0x3f8458(0x1e5)][_0x3f8458(0x1b3)](_0x21338b[_0x3f8458(0x226)],_0x21338b[_0x3f8458(0x1c1)],_0x21338b[_0x3f8458(0x1f3)]))==null?{}:_0x277944),'name':_0x375f4e[_0x3f8458(0x21b)],'description':_0x375f4e[_0x3f8458(0x1f6)],'visible':_0x375f4e['hidden']!==!0x0,'selectable':_0x375f4e['selectable']!==!0x1,'transform':{'left':(_0x534ab7=_0x1ebdca==null?void 0x0:_0x1ebdca[_0x3f8458(0x269)])==null?0x0:_0x534ab7,'top':(_0x329bcc=_0x1ebdca==null?void 0x0:_0x1ebdca[_0x3f8458(0x216)])==null?0x0:_0x329bcc,'width':(_0x2ef303=_0x1ebdca==null?void 0x0:_0x1ebdca[_0x3f8458(0x1fe)])==null?0xc8:_0x2ef303,'height':(_0x52c794=_0x1ebdca==null?void 0x0:_0x1ebdca['height'])==null?0xc8:_0x52c794,'rotation':(_0x3b824e=_0x1ebdca==null?void 0x0:_0x1ebdca['angle'])==null?0x0:_0x3b824e,'flipX':(_0x30838c=_0x1ebdca==null?void 0x0:_0x1ebdca[_0x3f8458(0x1ae)])==null?!0x1:_0x30838c,'flipY':(_0x51ced8=_0x1ebdca==null?void 0x0:_0x1ebdca[_0x3f8458(0x200)])==null?!0x1:_0x51ced8}};}['listShapes'](_0x36f33c){const _0xbce4a2=_0x8bc636;var _0x16f59a;let _0x504c05=(_0x16f59a=this[_0xbce4a2(0x278)]['getDrawingData'](_0x36f33c[_0xbce4a2(0x226)],_0x36f33c['subUnitId']))==null?{}:_0x16f59a;return Object[_0xbce4a2(0x1ac)](_0x504c05)['filter'](_0x41048a=>(_0x41048a==null?void 0x0:_0x41048a[_0xbce4a2(0x250)])===_0x4cf569[_0xbce4a2(0x1d7)][_0xbce4a2(0x298)])[_0xbce4a2(0x202)](_0x3dc9be=>this[_0xbce4a2(0x1db)]({..._0x36f33c,'shapeId':_0x3dc9be[_0xbce4a2(0x27a)]}))[_0xbce4a2(0x243)](_0x3d6319=>!!_0x3d6319);}[_0x8bc636(0x23e)](_0x238086,_0x210e26){const _0x3d4566=_0x8bc636;var _0x2ada56,_0x4e2794,_0x35917a,_0x1286b4,_0x40d564,_0x96fb8,_0x33a447,_0x26fe98,_0x51fd5a,_0x41a5f0,_0x4a1fb1,_0x5681bc,_0x40c5fe,_0x3fd30e,_0xbf18bf,_0x1838f3,_0x3e837a,_0xcc2677,_0x34e080;let _0x3b24f4=(0x0,_0x4cf569['generateRandomId'])(),_0x323c3e={'left':(_0x2ada56=(_0x4e2794=_0x210e26[_0x3d4566(0x223)])==null?void 0x0:_0x4e2794['left'])==null?0x0:_0x2ada56,'top':(_0x35917a=(_0x1286b4=_0x210e26['transform'])==null?void 0x0:_0x1286b4['top'])==null?0x0:_0x35917a,'width':(_0x40d564=(_0x96fb8=_0x210e26[_0x3d4566(0x223)])==null?void 0x0:_0x96fb8[_0x3d4566(0x1fe)])==null?0xc8:_0x40d564,'height':(_0x33a447=(_0x26fe98=_0x210e26[_0x3d4566(0x223)])==null?void 0x0:_0x26fe98[_0x3d4566(0x1b4)])==null?0xc8:_0x33a447,'rotation':(_0x51fd5a=(_0x41a5f0=_0x210e26['transform'])==null?void 0x0:_0x41a5f0[_0x3d4566(0x27e)])==null?0x0:_0x51fd5a,'flipX':(_0x4a1fb1=(_0x5681bc=_0x210e26['transform'])==null?void 0x0:_0x5681bc[_0x3d4566(0x1ae)])==null?!0x1:_0x4a1fb1,'flipY':(_0x40c5fe=(_0x3fd30e=_0x210e26['transform'])==null?void 0x0:_0x3fd30e['flipY'])==null?!0x1:_0x40c5fe};return this[_0x3d4566(0x1d2)][_0x3d4566(0x1f5)](_0x473541['id'],{'unitId':_0x238086[_0x3d4566(0x226)],'subUnitId':_0x238086[_0x3d4566(0x1c1)],'shapeId':_0x3b24f4,'shapeType':_0x210e26[_0x3d4566(0x218)],'shapeData':_0x210e26[_0x3d4566(0x29b)],'name':_0x210e26[_0x3d4566(0x21b)],'description':_0x210e26[_0x3d4566(0x1f6)],'position':{'x':_0x323c3e['left'],'y':_0x323c3e[_0x3d4566(0x216)]},'width':_0x323c3e[_0x3d4566(0x1fe)],'height':_0x323c3e['height'],'rotation':_0x323c3e[_0x3d4566(0x27e)],'flipX':_0x323c3e[_0x3d4566(0x1ae)],'flipY':_0x323c3e['flipY'],'visible':(_0xbf18bf=_0x210e26[_0x3d4566(0x1b0)])==null?!0x0:_0xbf18bf,'selectable':(_0x1838f3=_0x210e26['selectable'])==null?!0x0:_0x1838f3})?{..._0x238086,'shapeId':_0x3b24f4,'shapeType':_0x210e26[_0x3d4566(0x218)],'shapeData':_0x4cf569[_0x3d4566(0x28e)][_0x3d4566(0x264)]((_0x3e837a=_0x210e26[_0x3d4566(0x29b)])==null?{}:_0x3e837a),'name':_0x210e26['name'],'description':_0x210e26[_0x3d4566(0x1f6)],'visible':(_0xcc2677=_0x210e26['visible'])==null?!0x0:_0xcc2677,'selectable':(_0x34e080=_0x210e26[_0x3d4566(0x23c)])==null?!0x0:_0x34e080,'transform':_0x323c3e}:null;}[_0x8bc636(0x238)](_0x210f9d,_0x4633f0){const _0x52c018=_0x8bc636;var _0xe2bd60,_0x1231aa,_0x1cefc0,_0x394812,_0x4286b8,_0x457662;let _0x1b1de8=this[_0x52c018(0x1db)](_0x210f9d);if(!_0x1b1de8)return!0x1;let _0x27177a={..._0x1b1de8[_0x52c018(0x223)],..._0x4633f0['transform']};return this['_commandService'][_0x52c018(0x1f5)](_0x10291e['id'],{'unitId':_0x210f9d[_0x52c018(0x226)],'subUnitId':_0x210f9d[_0x52c018(0x1c1)],'shapeId':_0x210f9d[_0x52c018(0x1f3)],'shapeType':(_0xe2bd60=(_0x1231aa=_0x4633f0[_0x52c018(0x218)])==null?(_0x1cefc0=_0x4633f0[_0x52c018(0x29b)])==null?void 0x0:_0x1cefc0[_0x52c018(0x218)]:_0x1231aa)==null?_0x1b1de8[_0x52c018(0x218)]:_0xe2bd60,'shapeData':(_0x394812=_0x4633f0[_0x52c018(0x29b)])==null?_0x1b1de8['shapeData']:_0x394812,'position':{'x':_0x27177a[_0x52c018(0x269)],'y':_0x27177a['top']},'width':_0x27177a['width'],'height':_0x27177a[_0x52c018(0x1b4)],'rotation':_0x27177a['rotation'],'flipX':_0x27177a[_0x52c018(0x1ae)],'flipY':_0x27177a[_0x52c018(0x200)],'name':'name'in _0x4633f0?_0x4633f0[_0x52c018(0x21b)]:_0x1b1de8[_0x52c018(0x21b)],'description':_0x52c018(0x1f6)in _0x4633f0?_0x4633f0[_0x52c018(0x1f6)]:_0x1b1de8[_0x52c018(0x1f6)],'visible':(_0x4286b8=_0x4633f0[_0x52c018(0x1b0)])==null?_0x1b1de8['visible']:_0x4286b8,'selectable':(_0x457662=_0x4633f0[_0x52c018(0x23c)])==null?_0x1b1de8[_0x52c018(0x23c)]:_0x457662});}[_0x8bc636(0x244)](_0x162ff4){const _0x1729e3=_0x8bc636;return this[_0x1729e3(0x1d2)][_0x1729e3(0x1f5)](_0x3a908f[_0x1729e3(0x233)]['id'],{'unitId':_0x162ff4['unitId'],'drawings':[{'unitId':_0x162ff4[_0x1729e3(0x226)],'subUnitId':_0x162ff4[_0x1729e3(0x1c1)],'drawingId':_0x162ff4[_0x1729e3(0x1f3)],'drawingType':_0x4cf569['DrawingTypeEnum'][_0x1729e3(0x298)]}]});}['bringToFront'](_0x3cc5d1){const _0x869b62=_0x8bc636;return this[_0x869b62(0x231)](_0x3cc5d1,_0x4cf569['ArrangeTypeEnum'][_0x869b62(0x239)]);}[_0x8bc636(0x1ee)](_0x23675c){const _0x1f7969=_0x8bc636;return this[_0x1f7969(0x231)](_0x23675c,_0x4cf569[_0x1f7969(0x246)][_0x1f7969(0x1c3)]);}[_0x8bc636(0x25d)](_0x494721){const _0x169731=_0x8bc636;return this[_0x169731(0x231)](_0x494721,_0x4cf569[_0x169731(0x246)]['backward']);}[_0x8bc636(0x1c0)](_0xe77020){const _0x3b607a=_0x8bc636;return this[_0x3b607a(0x231)](_0xe77020,_0x4cf569[_0x3b607a(0x246)][_0x3b607a(0x204)]);}['_arrange'](_0x3286b9,_0x4699a8){const _0x54f692=_0x8bc636;return this[_0x54f692(0x1d2)][_0x54f692(0x1f5)](_0x3a908f[_0x54f692(0x1e3)]['id'],{'unitId':_0x3286b9[_0x54f692(0x226)],'subUnitId':_0x3286b9[_0x54f692(0x1c1)],'drawingIds':[_0x3286b9[_0x54f692(0x1f3)]],'arrangeType':_0x4699a8});}};_0x2b0b5f=_0xf259c2([_0x6fcb7d(0x0,_0x4cf569[_0x8bc636(0x25b)]),_0x6fcb7d(0x1,(0x0,_0x4cf569[_0x8bc636(0x22d)])(_0x23101f)),_0x6fcb7d(0x2,_0x3a908f['ISheetDrawingService'])],_0x2b0b5f);let _0x353b25={},_0x3e192f=class extends _0x4cf569[_0x8bc636(0x270)]{constructor(_0x1d0261,_0x283d3b,_0x22fb4e,_0x4c6e9d,_0x545637,_0x145e6b,_0x48aa7f){const _0x730224=_0x8bc636;super(),this[_0x730224(0x1d2)]=_0x1d0261,this[_0x730224(0x1cd)]=_0x283d3b,this[_0x730224(0x1ce)]=_0x22fb4e,this[_0x730224(0x1ff)]=_0x4c6e9d,this[_0x730224(0x29f)]=_0x545637,this[_0x730224(0x1fc)]=_0x145e6b,this[_0x730224(0x26e)](),this[_0x730224(0x20a)](),this[_0x730224(0x1c2)](this['_shapeHostAdapterRegistry'][_0x730224(0x242)](_0x48aa7f));}[_0x8bc636(0x26e)](){const _0x296879=_0x8bc636;[_0x473541,_0x10291e,_0x8fdead,_0x309e8f,_0x153f8b,_0xc2c399,_0x125122,_0x21df94,_0x3e364e,_0x3f90fb,_0x5c1630][_0x296879(0x1f7)](_0x614c31=>this['disposeWithMe'](this[_0x296879(0x1d2)][_0x296879(0x1bd)](_0x614c31)));}[_0x8bc636(0x20a)](){const _0x13707e=_0x8bc636;this[_0x13707e(0x1c2)](this[_0x13707e(0x1cd)][_0x13707e(0x20e)]({'getMutations':_0xf63f29=>{const _0xc45a84=_0x13707e;if(_0xf63f29['id']===_0x3a908f['RemoveSheetDrawingCommand']['id']){let {drawings:_0x598202}=_0xf63f29['params'],_0x4e3381=_0x598202[_0xc45a84(0x243)](_0x39109e=>_0x39109e[_0xc45a84(0x250)]===_0x4cf569[_0xc45a84(0x1d7)][_0xc45a84(0x298)]);if(_0x4e3381[_0xc45a84(0x1bf)]===0x0)return{'preRedos':[],'redos':[],'preUndos':[],'undos':[]};let _0x39c547=[],_0x11118d=[];return _0x4e3381['forEach'](_0x21a588=>{const _0x4198bc=_0xc45a84;let {unitId:_0x1d1f80,subUnitId:_0xb25c4b,drawingId:_0x59c858}=_0x21a588,_0x454671=this[_0x4198bc(0x1ff)][_0x4198bc(0x259)](_0x1d1f80,_0xb25c4b,_0x59c858);if(!_0x454671)throw TypeError(_0x4198bc(0x1ec)+_0x454671);_0x39c547[_0x4198bc(0x1d3)]({'id':_0x3e364e['id'],'params':{'unitId':_0x1d1f80,'subUnitId':_0xb25c4b,'shapeId':_0x59c858}}),_0x11118d[_0x4198bc(0x1d3)]({'id':_0x21df94['id'],'params':{'unitId':_0x1d1f80,'subUnitId':_0xb25c4b,'shapeId':_0x59c858,'shapeType':_0x454671[_0x4198bc(0x2a0)](),'shapeData':_0x454671['getShapeData']()}});let _0x20d97f=this['_sheetsShapeService'][_0x4198bc(0x273)](_0x1d1f80,_0xb25c4b,_0x59c858);if(_0x20d97f)for(let _0x4e6883 of _0x20d97f){let _0xe2536b=_0x4e6883[_0x4198bc(0x1cc)],_0x54259a=_0x4e6883['isFrom'],_0xee3cfc=_0x54259a?{'from':void 0x0}:{'to':void 0x0},_0xdc3d04=_0x54259a?{'from':{'shapeId':_0x4e6883[_0x4198bc(0x1f3)],'cxnIndex':_0x4e6883[_0x4198bc(0x255)]}}:{'to':{'shapeId':_0x4e6883[_0x4198bc(0x1f3)],'cxnIndex':_0x4e6883[_0x4198bc(0x255)]}};_0x39c547[_0x4198bc(0x1d3)]({'id':_0x5c1630['id'],'params':{'unitId':_0x1d1f80,'subUnitId':_0xb25c4b,'shapeId':_0xe2536b,'shapeData':{'relation':_0xee3cfc}}}),_0x11118d['push']({'id':_0x5c1630['id'],'params':{'unitId':_0x1d1f80,'subUnitId':_0xb25c4b,'shapeId':_0xe2536b,'shapeData':{'relation':_0xdc3d04}}});}}),{'preRedos':_0x39c547,'redos':[],'preUndos':[],'undos':_0x11118d};}if(_0xf63f29['id']===_0x3a908f[_0xc45a84(0x20b)]['id']){let {drawings:_0x3475d6}=_0xf63f29['params'],_0x38256a=_0x3475d6[_0xc45a84(0x243)](_0x4db8b7=>_0x4db8b7[_0xc45a84(0x250)]===_0x4cf569[_0xc45a84(0x1d7)][_0xc45a84(0x298)]);if(_0x38256a['length']===0x0)return{'preRedos':[],'redos':[],'preUndos':[],'undos':[]};let _0x5c8767=[],_0x3e1c31=[];for(let _0x340ca8 of _0x38256a){let {unitId:_0x336432,subUnitId:_0x3a105e,drawingId:_0x5899a4,transform:_0x4f733e}=_0x340ca8;if(!_0x336432||!_0x3a105e||!_0x5899a4||!_0x4f733e)continue;let _0x4a6b03=this['_sheetsShapeService']['getShapeModel'](_0x336432,_0x3a105e,_0x5899a4);if(!_0x4a6b03)throw TypeError(_0xc45a84(0x1ec)+_0x4a6b03);if((0x0,_0x222f7d['isConnectorShape'])(_0x4a6b03['getShapeType']())){let _0x53eff8=this[_0xc45a84(0x1ff)][_0xc45a84(0x224)](_0x336432,_0x3a105e,_0x5899a4);_0x53eff8&&(_0x5c8767[_0xc45a84(0x1d3)]({'id':_0x5c1630['id'],'params':{'unitId':_0x336432,'subUnitId':_0x3a105e,'shapeId':_0x5899a4,'shapeData':{'relation':{'from':void 0x0,'to':void 0x0}}}}),_0x3e1c31[_0xc45a84(0x1d3)]({'id':_0x5c1630['id'],'params':{'unitId':_0x336432,'subUnitId':_0x3a105e,'shapeId':_0x5899a4,'shapeData':{'relation':_0x53eff8}}}));}else{let _0x26e025=this[_0xc45a84(0x1ff)][_0xc45a84(0x273)](_0x336432,_0x3a105e,_0x5899a4);if(_0x26e025&&_0x26e025[_0xc45a84(0x1bf)]>0x0)for(let _0x167411 of _0x26e025){let _0xa35daf=_0x167411['lineShapeId'],_0x5d0d6a=_0x167411[_0xc45a84(0x1d4)],_0x3d2069=this[_0xc45a84(0x1ff)]['getShapeModel'](_0x336432,_0x3a105e,_0xa35daf);if(!_0x3d2069)continue;let _0x42928=_0x3d2069['getStartConnectInfo'](),_0x257978=_0x3d2069['getEndConnectInfo']();_0x42928&&_0x257978?this[_0xc45a84(0x1b2)](_0x336432,_0x3a105e,_0xa35daf,_0x3d2069,_0x42928,_0x257978,_0x5c8767,_0x3e1c31,_0x5899a4,_0x4f733e):this['_addLineFollowShapeUpdates'](_0x336432,_0x3a105e,_0xa35daf,_0x3d2069,_0x5d0d6a?_0x42928:_0x257978,_0x5d0d6a,_0x5c8767,_0x3e1c31,_0x5899a4,_0x4f733e);}}}return{'preRedos':[],'redos':_0x5c8767,'preUndos':_0x3e1c31,'undos':[]};}return{'preRedos':[],'redos':[],'preUndos':[],'undos':[]};}}));}['_getConnectPointInfo'](_0x4a53d9,_0x25fc9f,_0x145571,_0x479c2e,_0x23bdf1){const _0x4b03ae=_0x8bc636;if(!_0x25fc9f||!_0x145571)return null;let {shapeId:_0x2e78a0,cxnIndex:_0x514de0}=_0x4a53d9,_0x1f6528=this['_sheetsShapeService']['getShapeModel'](_0x25fc9f,_0x145571,_0x2e78a0);if(!_0x1f6528)return null;let _0x42f4e9=this['_drawingManagerService'][_0x4b03ae(0x21a)]({'unitId':_0x25fc9f,'subUnitId':_0x145571,'drawingId':_0x2e78a0});if(!(_0x42f4e9!=null&&_0x42f4e9['transform']))return null;let {left:_0x23b94d=0x0,top:_0x1be3dd=0x0,width:_0x16c51b=0x0,height:_0x46e89f=0x0,flipX:_0x5b4590=!0x1,flipY:_0x158529=!0x1,angle:_0x2c45a8}=_0x42f4e9[_0x4b03ae(0x223)];if(_0x23bdf1&&_0x479c2e===_0x2e78a0){var _0x2fae76,_0x490439,_0x191d44,_0xd50601,_0x2e363d,_0x38e805,_0x3ea434;_0x23b94d=(_0x2fae76=_0x23bdf1[_0x4b03ae(0x269)])==null?_0x23b94d:_0x2fae76,_0x1be3dd=(_0x490439=_0x23bdf1[_0x4b03ae(0x216)])==null?_0x1be3dd:_0x490439,_0x16c51b=(_0x191d44=_0x23bdf1[_0x4b03ae(0x1fe)])==null?_0x16c51b:_0x191d44,_0x46e89f=(_0xd50601=_0x23bdf1[_0x4b03ae(0x1b4)])==null?_0x46e89f:_0xd50601,_0x5b4590=(_0x2e363d=_0x23bdf1[_0x4b03ae(0x1ae)])==null?_0x5b4590:_0x2e363d,_0x158529=(_0x38e805=_0x23bdf1[_0x4b03ae(0x200)])==null?_0x158529:_0x38e805,_0x2c45a8=(_0x3ea434=_0x23bdf1[_0x4b03ae(0x24f)])==null?_0x2c45a8:_0x3ea434;}_0x1f6528[_0x4b03ae(0x272)]({'width':_0x16c51b,'height':_0x46e89f});let _0x1e4337=_0x1f6528[_0x4b03ae(0x1f9)]()[_0x4b03ae(0x26a)](_0xec86ee=>_0xec86ee[_0x4b03ae(0x260)]===_0x514de0);if(!_0x1e4337)return null;let _0x2b9ee1=_0x5b4590?_0x16c51b-_0x1e4337['x']:_0x1e4337['x'],_0x24cbac=_0x158529?_0x46e89f-_0x1e4337['y']:_0x1e4337['y'];if(_0x2c45a8!==0x0&&_0x2c45a8!=null){let _0x1f65d5=_0x2c45a8*Math['PI']/0xb4,_0x9e2c5=Math[_0x4b03ae(0x271)](_0x1f65d5),_0x4b596c=Math[_0x4b03ae(0x296)](_0x1f65d5),_0x930025=_0x16c51b/0x2,_0x1a004a=_0x46e89f/0x2,_0x2ea705=_0x2b9ee1-_0x930025,_0x1008a9=_0x24cbac-_0x1a004a;_0x2b9ee1=_0x930025+_0x2ea705*_0x9e2c5-_0x1008a9*_0x4b596c,_0x24cbac=_0x1a004a+_0x2ea705*_0x4b596c+_0x1008a9*_0x9e2c5;}_0x2b9ee1+=_0x23b94d,_0x24cbac+=_0x1be3dd;let _0x3eb083=_0x1e4337[_0x4b03ae(0x20c)]/0xea60;_0x5b4590&&(_0x3eb083=0xb4-_0x3eb083),_0x158529&&(_0x3eb083=-_0x3eb083),_0x3eb083+=_0x2c45a8||0x0,_0x3eb083=(_0x3eb083%0x168+0x168)%0x168;let _0x3dc434=(0x0,_0x222f7d[_0x4b03ae(0x294)])({'left':_0x23b94d,'top':_0x1be3dd,'width':_0x16c51b,'height':_0x46e89f},_0x2c45a8||0x0);return{'point':{'x':_0x2b9ee1,'y':_0x24cbac},'angle':_0x3eb083,'bounds':_0x3dc434};}[_0x8bc636(0x1b2)](_0x33ad83,_0xd2b4d8,_0x19d314,_0x3dad5d,_0x54658b,_0xb58ce9,_0x197e98,_0x3ff716,_0x5a0e89,_0x1b7dd1){const _0x4fc1c3=_0x8bc636;let _0x515891=this[_0x4fc1c3(0x1ce)]['getSkeleton'](_0x33ad83,_0xd2b4d8);if(!_0x515891)return;let _0x3fa096=_0x3dad5d[_0x4fc1c3(0x27d)](),_0x546477=_0x3dad5d['getAdjustNames'](),_0x2f2f0c={},_0x487886={};_0x546477[_0x4fc1c3(0x1f7)](_0x598b96=>{const _0x29fe78=_0x4fc1c3;let _0x51f989=_0x3dad5d[_0x29fe78(0x1f4)](_0x598b96);_0x487886[_0x598b96]=_0x51f989==null?0x0:_0x51f989;});let _0x5439cb=this[_0x4fc1c3(0x257)](_0x54658b,_0x33ad83,_0xd2b4d8,_0x5a0e89,_0x1b7dd1),_0x5cc66e=this[_0x4fc1c3(0x257)](_0xb58ce9,_0x33ad83,_0xd2b4d8,_0x5a0e89,_0x1b7dd1);if(_0x5439cb&&_0x5cc66e){let _0x44e919=_0x3dad5d[_0x4fc1c3(0x2a0)](),_0x42902e=(0x0,_0x222f7d[_0x4fc1c3(0x1d9)])(_0x5439cb,_0x5cc66e,_0x44e919),_0x31145c=_0x44e919;if(_0x42902e){let _0x4156a7=(0x0,_0x222f7d[_0x4fc1c3(0x263)])(_0x42902e,_0x3dad5d[_0x4fc1c3(0x2a0)]()),_0x5495e2=this[_0x4fc1c3(0x29f)]['getDrawingData'](_0x33ad83,_0xd2b4d8);if(_0x5495e2&&_0x5495e2[_0x19d314]){let _0x3ce695=_0x5495e2[_0x19d314];_0x31145c=_0x4156a7[_0x4fc1c3(0x286)];for(let [_0x1ed71e,_0x2bf9e9]of Object[_0x4fc1c3(0x1ed)](_0x4156a7[_0x4fc1c3(0x220)]))_0x2f2f0c[_0x1ed71e]=_0x2bf9e9;let _0x3b8355={..._0x3ce695['transform'],'width':_0x4156a7['worldRect'][_0x4fc1c3(0x1fe)],'height':_0x4156a7[_0x4fc1c3(0x24c)][_0x4fc1c3(0x1b4)],'left':_0x4156a7[_0x4fc1c3(0x24c)][_0x4fc1c3(0x269)],'top':_0x4156a7[_0x4fc1c3(0x24c)]['top'],'flipX':_0x4156a7[_0x4fc1c3(0x24c)][_0x4fc1c3(0x1ae)],'flipY':_0x4156a7[_0x4fc1c3(0x24c)][_0x4fc1c3(0x200)],'angle':_0x4156a7['rotation']},_0x101f99=(0x0,_0x3a908f['transformToDrawingPosition'])(_0x3b8355,_0x515891),_0x5adabf=(0x0,_0x3a908f['transformToAxisAlignPosition'])(_0x3b8355,_0x515891),_0x1564ef={'unitId':_0x33ad83,'subUnitId':_0xd2b4d8,'drawingType':_0x4cf569[_0x4fc1c3(0x1d7)][_0x4fc1c3(0x298)],'drawingId':_0x19d314,'transform':_0x3b8355,'sheetTransform':_0x101f99,'axisAlignSheetTransform':_0x5adabf},{unitId:_0x117972,subUnitId:_0x4cd25d,undo:_0x2865f5,redo:_0x4e0888,objects:_0xf7129}=this[_0x4fc1c3(0x29f)]['getBatchUpdateOp']([_0x1564ef]);_0x197e98[_0x4fc1c3(0x1d3)]({'id':_0x3a908f[_0x4fc1c3(0x267)]['id'],'params':{'unitId':_0x117972,'subUnitId':_0x4cd25d,'op':_0x4e0888,'objects':_0xf7129,'type':_0x3a908f['DrawingApplyType'][_0x4fc1c3(0x245)]}}),_0x3ff716['push']({'id':_0x3a908f['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x117972,'subUnitId':_0x4cd25d,'op':_0x2865f5,'objects':_0xf7129,'type':_0x3a908f['DrawingApplyType']['UPDATE']}});}_0x3dad5d[_0x4fc1c3(0x29a)]();}_0x197e98[_0x4fc1c3(0x1d3)]({'id':_0x5c1630['id'],'params':{'unitId':_0x33ad83,'subUnitId':_0xd2b4d8,'shapeId':_0x19d314,'shapeType':_0x31145c,'shapeData':{'adjustValues':_0x2f2f0c,'relation':_0x3fa096}}}),_0x3ff716[_0x4fc1c3(0x1d3)]({'id':_0x5c1630['id'],'params':{'unitId':_0x33ad83,'subUnitId':_0xd2b4d8,'shapeId':_0x19d314,'shapeType':_0x44e919,'shapeData':{'adjustValues':_0x487886,'relation':_0x3fa096}}});}}[_0x8bc636(0x274)](_0x120517,_0x379173,_0x1e4e2e,_0x134bfa,_0x34540b,_0x122f91,_0x2cc669,_0x26dc43,_0x430fd4,_0x365f78){const _0x13a1e6=_0x8bc636;var _0x3d73f9;if(!_0x34540b)return;let _0x5b1ffc=this['_sheetSkeletonService'][_0x13a1e6(0x1c4)](_0x120517,_0x379173);if(!_0x5b1ffc)return;let _0x5418e1=(_0x3d73f9=this[_0x13a1e6(0x29f)][_0x13a1e6(0x21a)]({'unitId':_0x120517,'subUnitId':_0x379173,'drawingId':_0x430fd4}))==null?void 0x0:_0x3d73f9[_0x13a1e6(0x223)];if(!_0x5418e1)return;let _0x11bb77=_0x5418e1['left']!==_0x365f78[_0x13a1e6(0x269)]||_0x5418e1[_0x13a1e6(0x216)]!==_0x365f78[_0x13a1e6(0x216)],_0x435349=_0x5418e1[_0x13a1e6(0x1fe)]!==_0x365f78[_0x13a1e6(0x1fe)]||_0x5418e1[_0x13a1e6(0x1b4)]!==_0x365f78[_0x13a1e6(0x1b4)],_0x4e1841=_0x5418e1['flipX']!==_0x365f78[_0x13a1e6(0x1ae)]||_0x5418e1[_0x13a1e6(0x200)]!==_0x365f78[_0x13a1e6(0x200)],_0x189ddf=_0x5418e1[_0x13a1e6(0x24f)]!==_0x365f78['angle'];if(_0x11bb77&&!_0x435349&&!_0x4e1841&&!_0x189ddf){var _0x2ad1c2,_0xb63229,_0x5ece52,_0x50100e;let _0x434ff6=((_0x2ad1c2=_0x365f78[_0x13a1e6(0x269)])==null?0x0:_0x2ad1c2)-((_0xb63229=_0x5418e1[_0x13a1e6(0x269)])==null?0x0:_0xb63229),_0x482062=((_0x5ece52=_0x365f78[_0x13a1e6(0x216)])==null?0x0:_0x5ece52)-((_0x50100e=_0x5418e1['top'])==null?0x0:_0x50100e),_0x5d9e1a=this['_drawingManagerService'][_0x13a1e6(0x293)](_0x120517,_0x379173);if(_0x5d9e1a&&_0x5d9e1a[_0x1e4e2e]){var _0x38421f,_0x615b11,_0x4d94e9,_0x4e5840;let _0x4ff87c=_0x5d9e1a[_0x1e4e2e],_0x2033dd={..._0x4ff87c[_0x13a1e6(0x223)],'left':((_0x38421f=(_0x615b11=_0x4ff87c[_0x13a1e6(0x223)])==null?void 0x0:_0x615b11[_0x13a1e6(0x269)])==null?0x0:_0x38421f)+_0x434ff6,'top':((_0x4d94e9=(_0x4e5840=_0x4ff87c['transform'])==null?void 0x0:_0x4e5840['top'])==null?0x0:_0x4d94e9)+_0x482062},_0x4050dc=(0x0,_0x3a908f[_0x13a1e6(0x1de)])(_0x2033dd,_0x5b1ffc),_0x10d9ad=(0x0,_0x3a908f[_0x13a1e6(0x1e7)])(_0x2033dd,_0x5b1ffc),_0x53feca={'unitId':_0x120517,'subUnitId':_0x379173,'drawingType':_0x4cf569['DrawingTypeEnum'][_0x13a1e6(0x298)],'drawingId':_0x1e4e2e,'transform':_0x2033dd,'sheetTransform':_0x4050dc,'axisAlignSheetTransform':_0x10d9ad},{unitId:_0x5812bc,subUnitId:_0x479840,undo:_0x58e61f,redo:_0x57f131,objects:_0x57137d}=this[_0x13a1e6(0x29f)]['getBatchUpdateOp']([_0x53feca]);_0x2cc669[_0x13a1e6(0x1d3)]({'id':_0x3a908f['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x5812bc,'subUnitId':_0x479840,'op':_0x57f131,'objects':_0x57137d,'type':_0x3a908f[_0x13a1e6(0x227)]['UPDATE']}}),_0x26dc43[_0x13a1e6(0x1d3)]({'id':_0x3a908f[_0x13a1e6(0x267)]['id'],'params':{'unitId':_0x5812bc,'subUnitId':_0x479840,'op':_0x58e61f,'objects':_0x57137d,'type':_0x3a908f[_0x13a1e6(0x227)][_0x13a1e6(0x245)]}});}}else{let _0x7a388d=_0x134bfa[_0x13a1e6(0x23f)](),_0x228264=_0x134bfa[_0x13a1e6(0x235)]();this[_0x13a1e6(0x1b2)](_0x120517,_0x379173,_0x1e4e2e,_0x134bfa,_0x7a388d,_0x228264,_0x2cc669,_0x26dc43,_0x430fd4,_0x365f78);}}};_0x3e192f=_0xf259c2([_0x6fcb7d(0x0,_0x4cf569[_0x8bc636(0x25b)]),_0x6fcb7d(0x1,(0x0,_0x4cf569['Inject'])(_0x51c0bb['SheetInterceptorService'])),_0x6fcb7d(0x2,(0x0,_0x4cf569[_0x8bc636(0x22d)])(_0x51c0bb[_0x8bc636(0x297)])),_0x6fcb7d(0x3,(0x0,_0x4cf569[_0x8bc636(0x22d)])(_0x23101f)),_0x6fcb7d(0x4,(0x0,_0x4cf569['Inject'])(_0x1afd82[_0x8bc636(0x276)])),_0x6fcb7d(0x5,(0x0,_0x4cf569['Inject'])(_0x222f7d[_0x8bc636(0x26d)])),_0x6fcb7d(0x6,(0x0,_0x4cf569['Inject'])(_0x2b0b5f))],_0x3e192f);let _0x460136=class extends _0x4cf569['Plugin']{constructor(_0x1b2df6=_0x353b25,_0x1866a7,_0x5114fe){const _0x33e1f0=_0x8bc636;super(),this[_0x33e1f0(0x29c)]=_0x1b2df6,this[_0x33e1f0(0x215)]=_0x1866a7,this['_configService']=_0x5114fe;let {..._0x9b69e0}=(0x0,_0x4cf569['merge'])({},_0x353b25,this['_config']);this[_0x33e1f0(0x1d0)]['setConfig'](_0x33e1f0(0x1b9),_0x9b69e0);}['onStarting'](){const _0xba4cd9=_0x8bc636;let _0x4962ad=this['_injector'];[[_0x40c66a],[_0x23101f],[_0x2b0b5f],[_0x3e192f]]['forEach'](_0xfe28c3=>_0x4962ad[_0xba4cd9(0x1eb)](_0xfe28c3)),(0x0,_0x4cf569['touchDependencies'])(_0x4962ad,[[_0x23101f],[_0x3e192f]]);}};_0x3c413b(_0x460136,_0x8bc636(0x212),_0x4cf569['UniverInstanceType'][_0x8bc636(0x203)]),_0x3c413b(_0x460136,_0x8bc636(0x229),_0x8bc636(0x20d)),_0x3c413b(_0x460136,_0x8bc636(0x281),_0x437877),_0x3c413b(_0x460136,_0x8bc636(0x261),_0x528797),_0x460136=_0xf259c2([(0x0,_0x4cf569[_0x8bc636(0x22f)])(_0x41b454[_0x8bc636(0x219)],_0x222f7d[_0x8bc636(0x21e)]),_0x6fcb7d(0x1,(0x0,_0x4cf569['Inject'])(_0x4cf569[_0x8bc636(0x275)])),_0x6fcb7d(0x2,_0x4cf569[_0x8bc636(0x210)])],_0x460136),_0x5978ad[_0x8bc636(0x21d)]=0xc8,_0x5978ad[_0x8bc636(0x1f2)]=0xc8,_0x5978ad[_0x8bc636(0x295)]=_0x473541,_0x5978ad[_0x8bc636(0x248)]=_0x21df94,_0x5978ad['RemoveSheetsShapeMutation']=_0x3e364e,_0x5978ad['SetShapeDrawingDataCommand']=_0x10291e,_0x5978ad[_0x8bc636(0x21c)]=_0x309e8f,_0x5978ad[_0x8bc636(0x299)]=_0x153f8b,Object[_0x8bc636(0x1ad)](_0x5978ad,_0x8bc636(0x1ab),{'enumerable':!0x0,'get':function(){return _0x23101f;}}),_0x5978ad['ToggleSheetsShapeFlipCommand']=_0x8fdead,Object[_0x8bc636(0x1ad)](_0x5978ad,_0x8bc636(0x232),{'enumerable':!0x0,'get':function(){return _0x460136;}}),_0x5978ad['UpdateConnectorRelationCommand']=_0xc2c399,_0x5978ad['UpdateLineShapeResizeCommand']=_0x125122,_0x5978ad[_0x8bc636(0x211)]=_0x5c1630,_0x5978ad[_0x8bc636(0x1ea)]=_0x3f90fb;}));
|
|
1
|
+
function _0x2e35(_0xfd06f7,_0x5de16c){_0xfd06f7=_0xfd06f7-0xb1;const _0x4355d2=_0x4355();let _0x2e35f9=_0x4355d2[_0xfd06f7];return _0x2e35f9;}function _0x4355(){const _0x6be014=['deletes','addShape','registerCommand','REMOVE','SheetsShapeService','lineShapeId','_arrange','_getConnectPointInfo','getDrawingData','clear','@univerjs-pro/sheets-shape','ensureSkeleton','1924026wSitdz','filter','sheet.mutation.update-shape-data','getId','UniverSheetsShapePlugin','width','updateShape','UPDATE','cos','visible','flipX','toJSON','Plugin','_resolveBinding','bringForward','left','fill','getShapeDisplayNames','_shapeModelManagerMap','map','_planDeletes','18PbazgS','InsertShapeCommand','_resourcesManagerService','resizeEnabled','drawingId','isFrom','@univerjs/drawing','DRAWING_SHAPE','IResourceManagerService','getSkeleton','forEach','ISheetDrawingService','top','sendBackward','getEndConnectInfo','getBasicShapeType','drawingType','UniverSheets','DrawingApplyType','SetDrawingApplyMutation','resolveShapeConnectionPoint','COMMAND','startY','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','touchDependencies','borderEnabled','UniverLicensePlugin','_serializeShapeForUnit','CommandType','transformToAxisAlignPosition','_initSnapshot','ClearSheetDrawingTransformerOperation','routeConnectorLineShape','Both','25NZMcVK','Fail\x20to\x20get\x20shape\x20model,\x20get:\x20','_commandService','shapeData','backward','MUTATION','redos','merge','INSERT','IShapeHostAdapterRegistry','SetShapeDrawingDataCommand','back','ICommandService','_groupIds','refresh','1731488uDIfJo','UniverProSheetsShape','UniverShapePlugin','data','InsertSheetsShapeMutation','_planConnector','result','preRedos','_applyUpdate','index','_initCommands','add','keys','_deserializeShapeForUnit','getShapeTypeById','3047317iYQGby','sheet.command.toggle-shape-flip','ShapeModel','getConnectionSiteList','height','_shapeService','generateRandomId','computeConnectorRouteLayout','IConfigService','DrawingTypeEnum','sin','updates','amd','createFreeConnectorPointInfo','SHEET_SHAPE_PLUGIN','shapeId','ang','delete','_sheetSkeletonService','UpdateConnectorRelationCommand','UniverInstanceType','mode','transformToDrawingPosition','hostType','name','hidden','has','type','description','cxnIndex','params','subUnitId','Module','flipY','object','preUndos','InsertSheetDrawingCommand','SetSheetDrawingCommand','_injector','89oEeCdF','getSheetCommandTarget','IDrawingManagerService','_initCommandInterceptor','rotation','getShapeTextData','UniverCore','UpdateSheetsShapeTypeMutation','getBasicShapeRelation','syncExecuteCommand','506752SIFTfS','getBasicShapeRotateBound','getShape','_shapes','pluginName','sheets-shape.config','_addLineRerouteUpdates','interceptCommand','getAdjustValueByName','UniverProLicense','worldRect','function','hasShape','parse','SheetSkeletonService','sheet.command.set-shape-drawing-data','@univerjs/sheets','pushUndoRedo','rotateEnabled','isHorizontal','getDrawingByParam','isLineShape','constructor','length','29522GrBwbC','_drawingService','shapeType','6767289pvurqC','_shapeAdapter','adjustValues','SetSheetsShapeRotateCommand','toStringTag','UNIVER_SHEET','sheet.mutation.remove-shape','UpdateSheetsShapeDataMutation','setConfig','iterator','angle','skeleton','removeShape','@univerjs/core','deepClone','push','getShapeData','set','UpdateLineShapeResizeCommand','toPrimitive','decorate','Inject','listShapes','_drawingManagerService','call','sheet.command.insert-shape','forward','RemoveSheetDrawingCommand','UniverDrawing','register','undos','Disposable','onCommandExecute','get','lineType','shapeName','SheetDrawingTransformPlanService','getShapeType','defineProperty','sheet.command.update-connector-relation','sendToBack','_ensureShapeModelManager','getLineShapeRelation','transform','setShapeData','Tools','RemoveSheetsShapeMutation','_toSnapshot','insertShape','ArrangeTypeEnum','default','sheet.command.set-shape-rotate','entries','SheetInterceptorService','UniverSheetsDrawing','position','setShapeType','disposeWithMe','unitId','getAdjustNames','_sheetInterceptorService','selectable','getBatchUpdateOp','symbol','_configService','getName','string','DependentOn','_config','getShapeRelation','front','_linesIds','getCellWithCoordByIndex','getShapeModel','sheet.mutation.insert-shape','dispose','SheetDrawingAnchorType','sheet.mutation.update-shape-type','_sheetsShapeService','originals','sequenceExecute','5197740XxVXbT','isConnectorShape','IUniverInstanceService','IUndoRedoService','SetDrawingArrangeCommand','from','fromJSON','find','UniverProEngineShape'];_0x4355=function(){return _0x6be014;};return _0x4355();}(function(_0x8602e0,_0x8f7b46){const _0x4e73f0=_0x2e35,_0xe897c3=_0x8602e0();while(!![]){try{const _0x4fdba6=parseInt(_0x4e73f0(0x185))/0x1*(parseInt(_0x4e73f0(0x1a7))/0x2)+-parseInt(_0x4e73f0(0x109))/0x3+parseInt(_0x4e73f0(0x18f))/0x4*(-parseInt(_0x4e73f0(0x140))/0x5)+parseInt(_0x4e73f0(0x11e))/0x6*(parseInt(_0x4e73f0(0x15e))/0x7)+-parseInt(_0x4e73f0(0x14f))/0x8+-parseInt(_0x4e73f0(0x1aa))/0x9+parseInt(_0x4e73f0(0xf4))/0xa;if(_0x4fdba6===_0x8f7b46)break;else _0xe897c3['push'](_0xe897c3['shift']());}catch(_0x3b5500){_0xe897c3['push'](_0xe897c3['shift']());}}}(_0x4355,0xdad65),function(_0x3375fb,_0x4c1b7e){const _0x6522=_0x2e35;typeof exports==_0x6522(0x180)&&typeof module<'u'?_0x4c1b7e(exports,require('@univerjs-pro/engine-shape'),require('@univerjs/core'),require('@univerjs/sheets'),require('@univerjs/sheets-drawing'),require('@univerjs-pro/license'),require('@univerjs/drawing')):typeof define==_0x6522(0x19a)&&define[_0x6522(0x16a)]?define(['exports','@univerjs-pro/engine-shape',_0x6522(0x1b7),_0x6522(0x19f),'@univerjs/sheets-drawing','@univerjs-pro/license',_0x6522(0x124)],_0x4c1b7e):(_0x3375fb=typeof globalThis<'u'?globalThis:_0x3375fb||self,_0x4c1b7e(_0x3375fb[_0x6522(0x150)]={},_0x3375fb[_0x6522(0xfc)],_0x3375fb[_0x6522(0x18b)],_0x3375fb[_0x6522(0x12f)],_0x3375fb[_0x6522(0xd9)],_0x3375fb[_0x6522(0x198)],_0x3375fb[_0x6522(0xbf)]));}(this,function(_0x5c1a39,_0x2173a2,_0x18e20a,_0x1b7374,_0x5d1f1e,_0x3de8d6,_0x11cfd0){const _0xaee12=_0x2e35;Object[_0xaee12(0xc9)](_0x5c1a39,Symbol[_0xaee12(0x1ae)],{'value':_0xaee12(0x17e)});function _0x162b84(_0x41542e){'@babel/helpers - typeof';const _0x50dc70=_0xaee12;return _0x162b84=typeof Symbol==_0x50dc70(0x19a)&&typeof Symbol[_0x50dc70(0x1b3)]==_0x50dc70(0xe2)?function(_0x1bf2f0){return typeof _0x1bf2f0;}:function(_0x52a083){const _0x3ec957=_0x50dc70;return _0x52a083&&typeof Symbol==_0x3ec957(0x19a)&&_0x52a083[_0x3ec957(0x1a5)]===Symbol&&_0x52a083!==Symbol['prototype']?'symbol':typeof _0x52a083;},_0x162b84(_0x41542e);}function _0x3c7099(_0x12fccb,_0x1c7af8){const _0x1fc19e=_0xaee12;if(_0x162b84(_0x12fccb)!=_0x1fc19e(0x180)||!_0x12fccb)return _0x12fccb;var _0x2a0e54=_0x12fccb[Symbol[_0x1fc19e(0xb6)]];if(_0x2a0e54!==void 0x0){var _0x4cc808=_0x2a0e54[_0x1fc19e(0xbb)](_0x12fccb,_0x1c7af8||_0x1fc19e(0xd5));if(_0x162b84(_0x4cc808)!=_0x1fc19e(0x180))return _0x4cc808;throw TypeError(_0x1fc19e(0x135));}return(_0x1c7af8===_0x1fc19e(0xe5)?String:Number)(_0x12fccb);}function _0x3bec11(_0x5c1f9a){const _0xbd4e5c=_0xaee12;var _0x247b5b=_0x3c7099(_0x5c1f9a,_0xbd4e5c(0xe5));return _0x162b84(_0x247b5b)==_0xbd4e5c(0xe2)?_0x247b5b:_0x247b5b+'';}function _0x3e3f02(_0x489b0c,_0x15e82f,_0x3f6965){const _0x45ca7e=_0xaee12;return(_0x15e82f=_0x3bec11(_0x15e82f))in _0x489b0c?Object[_0x45ca7e(0xc9)](_0x489b0c,_0x15e82f,{'value':_0x3f6965,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x489b0c[_0x15e82f]=_0x3f6965,_0x489b0c;}var _0xbbac7c=class extends _0x18e20a[_0xaee12(0xc2)]{constructor(){const _0x1f5953=_0xaee12;super(),_0x3e3f02(this,_0x1f5953(0x192),new Map()),_0x3e3f02(this,_0x1f5953(0xea),new Set()),_0x3e3f02(this,'_groupIds',new Set());}[_0xaee12(0xfe)](_0x16b99b,_0x48dd4b,_0x341f42,_0x59f30d){const _0x55622a=_0xaee12;let _0x5cfb89=new _0x2173a2[(_0x55622a(0x160))](_0x16b99b,_0x48dd4b,_0x341f42,_0x59f30d);return this[_0x55622a(0x192)]['set'](_0x48dd4b,_0x5cfb89),(0x0,_0x2173a2[_0x55622a(0xf5)])(_0x16b99b)&&this[_0x55622a(0xea)][_0x55622a(0x15a)](_0x48dd4b),_0x5cfb89;}[_0xaee12(0x18d)](_0x5d2471){const _0x109728=_0xaee12;let _0x5affec=[];for(let _0x244b97 of this['_linesIds']){let _0x5bf647=this[_0x109728(0x192)]['get'](_0x244b97);if(_0x5bf647){let _0x560bce=_0x5bf647[_0x109728(0xe8)]();if(_0x560bce){var _0x2d69b2,_0x44bb5e;((_0x2d69b2=_0x560bce['from'])==null?void 0x0:_0x2d69b2['shapeId'])===_0x5d2471&&_0x5affec[_0x109728(0xb2)]({..._0x560bce[_0x109728(0xf9)],'lineShapeId':_0x244b97,'isFrom':!0x0}),((_0x44bb5e=_0x560bce['to'])==null?void 0x0:_0x44bb5e[_0x109728(0x16d)])===_0x5d2471&&_0x5affec[_0x109728(0xb2)]({..._0x560bce['to'],'lineShapeId':_0x244b97,'isFrom':!0x1});}}}return _0x5affec;}['getLineShapeRelation'](_0x15912d){const _0x5cb970=_0xaee12;let _0x16c8d7=this[_0x5cb970(0x192)][_0x5cb970(0xc4)](_0x15912d);if(_0x16c8d7)return _0x16c8d7[_0x5cb970(0xe8)]();}[_0xaee12(0xc8)](_0x2ef700){const _0x316380=_0xaee12;let _0x32fb4c=this[_0x316380(0x192)][_0x316380(0xc4)](_0x2ef700);if(_0x32fb4c)return _0x32fb4c[_0x316380(0xc8)]();}[_0xaee12(0x19b)](_0x4322b4){const _0x10fd17=_0xaee12;return this[_0x10fd17(0x192)][_0x10fd17(0x178)](_0x4322b4);}['getShapeDisplayNames'](){const _0x341fca=_0xaee12;return Array['from'](this['_shapes']['values']())['map'](_0x2d259a=>_0x2d259a[_0x341fca(0xe4)]()||_0x2d259a[_0x341fca(0x10c)]());}['removeShape'](_0x172959){const _0xace203=_0xaee12;let _0x368a0e=this[_0xace203(0x192)][_0xace203(0xc4)](_0x172959);_0x368a0e&&((0x0,_0x2173a2[_0xace203(0xf5)])(_0x368a0e[_0xace203(0xc8)]())&&this[_0xace203(0xea)][_0xace203(0x16f)](_0x172959),this[_0xace203(0x192)]['delete'](_0x172959));}[_0xaee12(0x114)](){const _0x5c1fe8=_0xaee12;let _0x7fde5c=[];return this[_0x5c1fe8(0x192)][_0x5c1fe8(0x128)](_0xa167ba=>{const _0xbc1362=_0x5c1fe8;_0x7fde5c[_0xbc1362(0xb2)](_0xa167ba[_0xbc1362(0x114)]());}),_0x7fde5c;}['fromJSON'](_0x1ea138){const _0x46dd67=_0xaee12;for(let _0x2cc6cb of _0x1ea138){let {id:_0x1d07e7,shapeType:_0x3ea95d,name:_0x3153ba}=_0x2cc6cb,_0x47f48d=this['addShape'](_0x3ea95d,_0x1d07e7,_0x2cc6cb['shapeData'],_0x3153ba);_0x47f48d&&_0x47f48d[_0x46dd67(0x1a4)]()&&this['_linesIds'][_0x46dd67(0x15a)](_0x1d07e7);}}[_0xaee12(0xee)](){const _0x18ac39=_0xaee12;this['_disposed']||(this[_0x18ac39(0x192)][_0x18ac39(0x128)](_0x309293=>{const _0x1fe120=_0x18ac39;_0x309293[_0x1fe120(0xee)]();}),this[_0x18ac39(0x192)][_0x18ac39(0x106)](),this['_linesIds'][_0x18ac39(0x106)](),this[_0x18ac39(0x14d)][_0x18ac39(0x106)](),super[_0x18ac39(0xee)]());}};function _0x489fa5(_0x4d8a2d,_0x57a5aa){return function(_0x5844be,_0x5a1b6c){_0x57a5aa(_0x5844be,_0x5a1b6c,_0x4d8a2d);};}function _0x405ec8(_0x353177,_0x10846d,_0x5d68d7,_0xe3c6ea){const _0x40ac43=_0xaee12;var _0x424735=arguments[_0x40ac43(0x1a6)],_0x59f568=_0x424735<0x3?_0x10846d:_0xe3c6ea===null?_0xe3c6ea=Object['getOwnPropertyDescriptor'](_0x10846d,_0x5d68d7):_0xe3c6ea,_0x5686b7;if(typeof Reflect=='object'&&typeof Reflect[_0x40ac43(0xb7)]=='function')_0x59f568=Reflect['decorate'](_0x353177,_0x10846d,_0x5d68d7,_0xe3c6ea);else{for(var _0x5d270c=_0x353177[_0x40ac43(0x1a6)]-0x1;_0x5d270c>=0x0;_0x5d270c--)(_0x5686b7=_0x353177[_0x5d270c])&&(_0x59f568=(_0x424735<0x3?_0x5686b7(_0x59f568):_0x424735>0x3?_0x5686b7(_0x10846d,_0x5d68d7,_0x59f568):_0x5686b7(_0x10846d,_0x5d68d7))||_0x59f568);}return _0x424735>0x3&&_0x59f568&&Object[_0x40ac43(0xc9)](_0x10846d,_0x5d68d7,_0x59f568),_0x59f568;}let _0x35e5f3=class extends _0x18e20a[_0xaee12(0xc2)]{constructor(_0x5688d6){const _0x268239=_0xaee12;super(),this[_0x268239(0x120)]=_0x5688d6,_0x3e3f02(this,_0x268239(0x11b),new Map()),this[_0x268239(0x13c)]();}[_0xaee12(0xcc)](_0x40359a,_0x6fa18f){const _0x3c6bf2=_0xaee12;let _0x134fc1=this['_shapeModelManagerMap'][_0x3c6bf2(0xc4)](_0x40359a);_0x134fc1||(_0x134fc1=new Map(),this[_0x3c6bf2(0x11b)]['set'](_0x40359a,_0x134fc1));let _0x2a4c13=_0x134fc1['get'](_0x6fa18f);return _0x2a4c13||(_0x2a4c13=new _0xbbac7c(),_0x134fc1[_0x3c6bf2(0xb4)](_0x6fa18f,_0x2a4c13)),_0x2a4c13;}[_0xaee12(0xd3)](_0x22c5ff,_0x434044,_0x9b7e8d,_0x13bfa9,_0x45f73b,_0x2310af){const _0x59187e=_0xaee12;this[_0x59187e(0xcc)](_0x22c5ff,_0x434044)[_0x59187e(0xfe)](_0x9b7e8d,_0x13bfa9,_0x45f73b,_0x2310af);}['removeShape'](_0xf975b1,_0xa395c0,_0x3b2f22){const _0x3e2be0=_0xaee12;this[_0x3e2be0(0xcc)](_0xf975b1,_0xa395c0)[_0x3e2be0(0x1b6)](_0x3b2f22);}[_0xaee12(0x12d)](_0x8c5958,_0x13a132,_0x526da9){const _0x1ce0e6=_0xaee12;return this[_0x1ce0e6(0xcc)](_0x8c5958,_0x13a132)[_0x1ce0e6(0xc8)](_0x526da9);}['getShapeType'](_0x2c9cce,_0x17ba84,_0x168aff){const _0x4a6f77=_0xaee12;return this[_0x4a6f77(0xcc)](_0x2c9cce,_0x17ba84)['getShapeType'](_0x168aff);}[_0xaee12(0x19b)](_0xc48950,_0x520c81,_0x2dd956){const _0x1e93c0=_0xaee12;return this['_ensureShapeModelManager'](_0xc48950,_0x520c81)[_0x1e93c0(0x19b)](_0x2dd956);}[_0xaee12(0x15d)](_0x44693c,_0x4dcf54,_0x199bb3){const _0x2ec6b7=_0xaee12;return this[_0x2ec6b7(0xcc)](_0x44693c,_0x4dcf54)[_0x2ec6b7(0xc8)](_0x199bb3);}['getShapeDataById'](_0x541e18,_0x59b167,_0x328555){const _0x3886c4=_0xaee12;let _0x39d078=this[_0x3886c4(0xcc)](_0x541e18,_0x59b167);if(!_0x39d078[_0x3886c4(0xc8)](_0x328555))return;let _0x2f9dee=_0x39d078[_0x3886c4(0x192)][_0x3886c4(0xc4)](_0x328555);if(_0x2f9dee)return _0x2f9dee[_0x3886c4(0xb3)]();}[_0xaee12(0x11a)](_0x1cc129,_0x32dcc4){const _0x4718c4=_0xaee12;return this[_0x4718c4(0xcc)](_0x1cc129,_0x32dcc4)['getShapeDisplayNames']();}[_0xaee12(0xec)](_0x325c48,_0x196067,_0x358cd6){const _0x4b6b90=_0xaee12;return this['_ensureShapeModelManager'](_0x325c48,_0x196067)[_0x4b6b90(0x192)][_0x4b6b90(0xc4)](_0x358cd6);}[_0xaee12(0x18d)](_0x2fd1b6,_0x49fb93,_0x3c51df){const _0x15bf79=_0xaee12;return this['_ensureShapeModelManager'](_0x2fd1b6,_0x49fb93)[_0x15bf79(0x18d)](_0x3c51df);}[_0xaee12(0xcd)](_0x4c47c6,_0x24626d,_0x8b800c){const _0x113e44=_0xaee12;let _0x4a2ca1=this[_0x113e44(0xcc)](_0x4c47c6,_0x24626d)[_0x113e44(0x192)][_0x113e44(0xc4)](_0x8b800c);if(_0x4a2ca1)return _0x4a2ca1[_0x113e44(0xe8)]();}['setShapeType'](){}['_serializeShapeForUnit'](_0x387643){const _0x597533=_0xaee12;let _0x5bdfd0={},_0x473404=this[_0x597533(0x11b)][_0x597533(0xc4)](_0x387643);return _0x473404&&_0x473404[_0x597533(0x128)]((_0x3628a8,_0x32d477)=>{const _0x28107f=_0x597533;let _0x130173=_0x3628a8['toJSON']();_0x130173[_0x28107f(0x1a6)]>0x0&&(_0x5bdfd0[_0x32d477]=_0x130173);}),JSON['stringify'](_0x5bdfd0);}[_0xaee12(0x15c)](_0x444430,_0x13d802){const _0x1f25d7=_0xaee12;Object['keys'](_0x13d802)[_0x1f25d7(0x128)](_0x4ef6bc=>{this['_ensureShapeModelManager'](_0x444430,_0x4ef6bc)['fromJSON'](_0x13d802[_0x4ef6bc]);});}[_0xaee12(0x114)](){const _0x2f8262=_0xaee12;let _0x10c13f={};return this['_shapeModelManagerMap'][_0x2f8262(0x128)]((_0x451a0a,_0x3236fc)=>{const _0x4f6280=_0x2f8262;_0x10c13f[_0x3236fc]={},_0x451a0a[_0x4f6280(0x128)]((_0x13dc66,_0x4161c3)=>{_0x10c13f[_0x3236fc][_0x4161c3]=_0x13dc66['toJSON']();});}),_0x10c13f;}[_0xaee12(0xfa)](_0x56c44c){Object['keys'](_0x56c44c)['forEach'](_0x1034b4=>{const _0x554a5d=_0x2e35;let _0x2f7c33=_0x56c44c[_0x1034b4];Object[_0x554a5d(0x15b)](_0x2f7c33)[_0x554a5d(0x128)](_0x30b529=>{const _0x34f42d=_0x554a5d;this[_0x34f42d(0xcc)](_0x1034b4,_0x30b529)['fromJSON'](_0x2f7c33[_0x30b529]);});});}['_initSnapshot'](){const _0x4d32a4=_0xaee12;this[_0x4d32a4(0x120)]['registerPluginResource']({'pluginName':_0x4d32a4(0x16c),'businesses':[_0x18e20a['UniverInstanceType'][_0x4d32a4(0x1af)]],'toJson':_0x4ce66a=>this[_0x4d32a4(0x139)](_0x4ce66a),'parseJson':_0x435fcb=>JSON[_0x4d32a4(0x19c)](_0x435fcb),'onLoad':(_0x28cbe5,_0x107b47)=>{this['_deserializeShapeForUnit'](_0x28cbe5,_0x107b47);},'onUnLoad':_0x210676=>{const _0x184c8e=_0x4d32a4;let _0x1c4b61=this[_0x184c8e(0x11b)][_0x184c8e(0xc4)](_0x210676);_0x1c4b61&&(_0x1c4b61[_0x184c8e(0x128)](_0x4401b7=>{const _0x86459c=_0x184c8e;_0x4401b7[_0x86459c(0xee)]();}),this[_0x184c8e(0x11b)][_0x184c8e(0x16f)](_0x210676));}});}['dispose'](){this['_shapeModelManagerMap']['forEach'](_0x5b8cd7=>{const _0x142e15=_0x2e35;_0x5b8cd7[_0x142e15(0x128)](_0x27a13b=>{const _0x262377=_0x142e15;_0x27a13b[_0x262377(0xee)]();});});}};_0x35e5f3=_0x405ec8([_0x489fa5(0x0,_0x18e20a[_0xaee12(0x126)])],_0x35e5f3);let _0x4098bd={'id':_0xaee12(0xed),'type':_0x18e20a[_0xaee12(0x13a)][_0xaee12(0x145)],'handler':(_0x29ac7f,_0xb20b02)=>{const _0x2cb881=_0xaee12;let {unitId:_0x2a7001,subUnitId:_0xc0bc8c,shapeType:_0x22fca3,shapeId:_0x281475,shapeName:_0x555a52,shapeData:_0x5d6521}=_0xb20b02;return _0x29ac7f[_0x2cb881(0xc4)](_0x35e5f3)[_0x2cb881(0xd3)](_0x2a7001,_0xc0bc8c,_0x22fca3,_0x281475,_0x18e20a[_0x2cb881(0xd0)][_0x2cb881(0xb1)](_0x5d6521),_0x555a52),!0x0;}},_0x3f7340={'id':_0xaee12(0x1b0),'type':_0x18e20a['CommandType'][_0xaee12(0x145)],'handler':(_0x572232,_0x5c7691)=>{const _0x253216=_0xaee12;let {unitId:_0x5aa9b2,subUnitId:_0x55a420,shapeId:_0x140e77}=_0x5c7691;return _0x572232[_0x253216(0xc4)](_0x35e5f3)['removeShape'](_0x5aa9b2,_0x55a420,_0x140e77),!0x0;}},_0x3b22d9={'type':_0x18e20a[_0xaee12(0x13a)][_0xaee12(0x133)],'id':_0xaee12(0xbc),'handler':(_0x408762,_0x565304)=>{const _0x413b9c=_0xaee12;var _0x5ccf07,_0xd13c41,_0x16dd6d,_0x2f6f19,_0x148dc7,_0x46a077,_0x1e2934;let _0x17da14=(0x0,_0x1b7374['getSheetCommandTarget'])(_0x408762[_0x413b9c(0xc4)](_0x18e20a[_0x413b9c(0xf6)]),_0x565304);if(!_0x17da14)return!0x1;let _0x4e9602=_0x408762['get'](_0x1b7374[_0x413b9c(0x19d)]),{unitId:_0x45072a,subUnitId:_0x595801}=_0x17da14,_0x4761ff=_0x4e9602['ensureSkeleton'](_0x45072a,_0x595801);if(!_0x4761ff)return!0x1;let _0x5c7664=_0x408762['get'](_0x18e20a[_0x413b9c(0x14c)]),_0x644d4b=_0x408762[_0x413b9c(0xc4)](_0x18e20a[_0x413b9c(0xf7)]),_0x477926=_0x408762['get'](_0x1b7374[_0x413b9c(0xd8)]),_0x299e70=_0x408762[_0x413b9c(0xc4)](_0x5d1f1e[_0x413b9c(0x129)]),_0x1a5b8e=_0x408762[_0x413b9c(0xc4)](_0x35e5f3),{shapeType:_0x2c851a,shapeData:_0x2a608a}=_0x565304,_0x3d2a44=_0x565304[_0x413b9c(0x16d)]||(0x0,_0x18e20a[_0x413b9c(0x164)])(),_0x7967bb={'unitId':_0x45072a,'subUnitId':_0x595801,'shapeId':_0x3d2a44,'shapeName':(_0x5ccf07=_0x565304[_0x413b9c(0xc6)])==null?(0x0,_0x2173a2['createUniqueShapeName'])(_0x2c851a,_0x1a5b8e[_0x413b9c(0x11a)](_0x45072a,_0x595801)):_0x5ccf07,'shapeType':_0x2c851a,'shapeData':_0x2a608a},_0x508876=_0x565304[_0x413b9c(0x10e)]||0xc8,_0x4d60d3=_0x565304[_0x413b9c(0x162)]||0xc8,_0x147426=0x0,_0x59432a=0x0;if(_0x565304[_0x413b9c(0xda)]){let {x:_0x41eb82,y:_0x2d4966}=_0x565304[_0x413b9c(0xda)];_0x147426=_0x41eb82,_0x59432a=_0x2d4966;}else{if(_0x565304['range']){let {startRow:_0x55aa94,startColumn:_0x33cedc}=_0x565304['range'],_0x43ac51=_0x4761ff[_0x413b9c(0xeb)](_0x55aa94,_0x33cedc);_0x147426=_0x43ac51['startX']+0xa,_0x59432a=_0x43ac51[_0x413b9c(0x134)]+0xa;}}let _0x2dfa1d={'left':_0x147426,'top':_0x59432a,'width':_0x508876,'height':_0x4d60d3,'angle':(_0xd13c41=_0x565304['rotation'])==null?0x0:_0xd13c41,'flipX':(_0x16dd6d=_0x565304[_0x413b9c(0x113)])==null?!0x1:_0x16dd6d,'flipY':(_0x2f6f19=_0x565304['flipY'])==null?!0x1:_0x2f6f19},_0x2bdb83=(0x0,_0x5d1f1e[_0x413b9c(0x174)])(_0x2dfa1d,_0x4761ff),_0x538c95=(0x0,_0x5d1f1e[_0x413b9c(0x13b)])(_0x2dfa1d,_0x4761ff),_0x3223cf={'unitId':_0x45072a,'subUnitId':_0x595801,'drawingId':_0x3d2a44,'drawingType':_0x18e20a[_0x413b9c(0x167)][_0x413b9c(0x125)],'anchorType':_0x5d1f1e[_0x413b9c(0xef)][_0x413b9c(0x13f)],'name':_0x565304['name'],'description':_0x565304[_0x413b9c(0x17a)],'sheetTransform':_0x2bdb83,'transform':_0x2dfa1d,'data':{'shapeType':_0x2c851a,'shapeData':_0x2a608a},'axisAlignSheetTransform':_0x538c95,'allowTransform':!0x0,'hidden':_0x565304[_0x413b9c(0x112)]===!0x1,'selectable':(_0x148dc7=_0x565304[_0x413b9c(0xe0)])==null?!0x0:_0x148dc7};(0x0,_0x2173a2[_0x413b9c(0xf5)])(_0x2c851a)&&(_0x3223cf[_0x413b9c(0x152)][_0x413b9c(0x119)]=!0x1,_0x3223cf[_0x413b9c(0x152)][_0x413b9c(0x1a1)]=!0x1,_0x3223cf['data'][_0x413b9c(0x121)]=!0x1,_0x3223cf['data'][_0x413b9c(0x137)]=!0x1,_0x3223cf[_0x413b9c(0xce)][_0x413b9c(0x1a1)]=!0x1,_0x3223cf[_0x413b9c(0xce)]['resizeEnabled']=!0x1,_0x3223cf[_0x413b9c(0xce)][_0x413b9c(0x137)]=!0x1);let {undo:_0x504fbe,redo:_0x523535,objects:_0x59c5e9}=_0x299e70['getBatchAddOp']([_0x3223cf]),_0x5db3cb=_0x477926[_0x413b9c(0xc3)]({'id':_0x5d1f1e[_0x413b9c(0x182)]['id'],'params':{'unitId':_0x45072a,'drawings':[_0x3223cf]}}),_0x282959=[...(_0x46a077=_0x5db3cb[_0x413b9c(0x156)])==null?[]:_0x46a077,{'id':_0x5d1f1e[_0x413b9c(0x131)]['id'],'params':{'unitId':_0x45072a,'subUnitId':_0x595801,'op':_0x523535,'objects':_0x59c5e9,'type':_0x5d1f1e['DrawingApplyType'][_0x413b9c(0x148)]}},{'id':_0x5d1f1e[_0x413b9c(0x13d)]['id'],'params':[_0x45072a]},..._0x5db3cb['redos'],{'id':_0x4098bd['id'],'params':_0x7967bb}],_0x412a6c=[{'id':_0x3f7340['id'],'params':{'unitId':_0x45072a,'subUnitId':_0x595801,'shapeId':_0x3d2a44}},...(_0x1e2934=_0x5db3cb['preUndos'])==null?[]:_0x1e2934,{'id':_0x5d1f1e['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x45072a,'subUnitId':_0x595801,'op':_0x504fbe,'objects':_0x59c5e9,'type':_0x5d1f1e['DrawingApplyType'][_0x413b9c(0x100)]}},{'id':_0x5d1f1e['ClearSheetDrawingTransformerOperation']['id'],'params':[_0x45072a]},..._0x5db3cb['undos']];return(0x0,_0x18e20a[_0x413b9c(0xf3)])(_0x282959,_0x5c7664)[_0x413b9c(0x155)]?(_0x644d4b[_0x413b9c(0x1a0)]({'unitID':_0x45072a,'undoMutations':_0x412a6c,'redoMutations':_0x282959}),!0x0):!0x1;}},_0x24f5f2={'id':_0xaee12(0x10b),'type':_0x18e20a[_0xaee12(0x13a)][_0xaee12(0x145)],'handler':(_0x20d7ba,_0x31645d)=>{const _0x5409e4=_0xaee12;let {unitId:_0x4e37d6,subUnitId:_0x9df9a3,shapeType:_0x4b820a,shapeId:_0x4f7cfe,shapeData:_0x4956df,replace:_0x47ae6f}=_0x31645d,_0x2b6069=_0x20d7ba[_0x5409e4(0xc4)](_0x35e5f3)[_0x5409e4(0xec)](_0x4e37d6,_0x9df9a3,_0x4f7cfe);return _0x2b6069&&(_0x4b820a!==void 0x0&&_0x2b6069[_0x5409e4(0xdb)](_0x4b820a),_0x4956df&&(_0x2b6069==null||_0x2b6069[_0x5409e4(0xcf)](_0x18e20a[_0x5409e4(0xd0)][_0x5409e4(0xb1)](_0x4956df),!_0x47ae6f))),!0x0;}},_0x39a5ab={'type':_0x18e20a['CommandType'][_0xaee12(0x133)],'id':_0xaee12(0x19e),'handler':(_0x26b9c4,_0x44549f)=>{const _0x49d8bd=_0xaee12;var _0x4ac714,_0x23ca59,_0x5ea56f,_0x3248c6,_0x52132e;let _0x5bc8ee=(0x0,_0x1b7374[_0x49d8bd(0x186)])(_0x26b9c4[_0x49d8bd(0xc4)](_0x18e20a['IUniverInstanceService']),_0x44549f);if(!_0x5bc8ee)return!0x1;let _0x4fc894=_0x26b9c4['get'](_0x1b7374[_0x49d8bd(0x19d)]),{unitId:_0x3fef95,subUnitId:_0x5ef060}=_0x5bc8ee,_0x3da1e8=_0x4fc894[_0x49d8bd(0x108)](_0x3fef95,_0x5ef060);if(!_0x3da1e8)return!0x1;let _0x4a75b3=_0x26b9c4[_0x49d8bd(0xc4)](_0x35e5f3),{shapeId:_0xb19c45,shapeType:_0x43da9f,shapeData:_0x496e8f,position:_0x4f5d3d,width:_0x1e1a85,height:_0x3d3e3c}=_0x44549f,_0x30f1b5=_0x4a75b3[_0x49d8bd(0xec)](_0x3fef95,_0x5ef060,_0xb19c45);if(!_0x30f1b5)return!0x1;let _0x204018=_0x26b9c4[_0x49d8bd(0xc4)](_0x18e20a[_0x49d8bd(0x14c)]),_0x558a79=_0x26b9c4[_0x49d8bd(0xc4)](_0x18e20a[_0x49d8bd(0xf7)]),_0x3f4a54=_0x26b9c4[_0x49d8bd(0xc4)](_0x1b7374[_0x49d8bd(0xd8)]),_0x383682=_0x26b9c4[_0x49d8bd(0xc4)](_0x5d1f1e[_0x49d8bd(0x129)]),_0x4bf927={'unitId':_0x3fef95,'subUnitId':_0x5ef060,'shapeId':_0xb19c45,'shapeType':_0x43da9f,'shapeData':_0x496e8f},_0xeddc1f=_0x30f1b5[_0x49d8bd(0xc8)](),_0x454a45=_0x30f1b5[_0x49d8bd(0xb3)](),{x:_0x1944c9,y:_0x150c18}=_0x4f5d3d,_0x3abda5={'left':_0x1944c9,'top':_0x150c18,'width':_0x1e1a85,'height':_0x3d3e3c,'angle':(_0x4ac714=_0x44549f[_0x49d8bd(0x189)])==null?0x0:_0x4ac714,'flipX':(_0x23ca59=_0x44549f[_0x49d8bd(0x113)])==null?!0x1:_0x23ca59,'flipY':(_0x5ea56f=_0x44549f[_0x49d8bd(0x17f)])==null?!0x1:_0x5ea56f},_0x490922=(0x0,_0x5d1f1e['transformToDrawingPosition'])(_0x3abda5,_0x3da1e8),_0xe56c9e=(0x0,_0x5d1f1e[_0x49d8bd(0x13b)])(_0x3abda5,_0x3da1e8),_0x25a52d={'unitId':_0x3fef95,'subUnitId':_0x5ef060,'drawingId':_0xb19c45,'drawingType':_0x18e20a['DrawingTypeEnum']['DRAWING_SHAPE'],'name':_0x44549f['name'],'description':_0x44549f[_0x49d8bd(0x17a)],'sheetTransform':_0x490922,'transform':_0x3abda5,'data':{'shapeType':_0x43da9f,'shapeData':_0x496e8f},'axisAlignSheetTransform':_0xe56c9e,'allowTransform':!0x0,'hidden':!_0x44549f[_0x49d8bd(0x112)],'selectable':_0x44549f['selectable']};(0x0,_0x2173a2[_0x49d8bd(0xf5)])(_0x43da9f)&&(_0x25a52d[_0x49d8bd(0x152)][_0x49d8bd(0x119)]=!0x1,_0x25a52d[_0x49d8bd(0x152)]['rotateEnabled']=!0x1,_0x25a52d[_0x49d8bd(0x152)][_0x49d8bd(0x121)]=!0x1,_0x25a52d[_0x49d8bd(0x152)]['borderEnabled']=!0x1,_0x25a52d[_0x49d8bd(0xce)][_0x49d8bd(0x1a1)]=!0x1,_0x25a52d[_0x49d8bd(0xce)]['resizeEnabled']=!0x1,_0x25a52d[_0x49d8bd(0xce)][_0x49d8bd(0x137)]=!0x1);let {undo:_0x43215f,redo:_0x8fadda,objects:_0x3624cf}=_0x383682['getBatchUpdateOp']([_0x25a52d]),_0x216ae9=_0x3f4a54[_0x49d8bd(0xc3)]({'id':_0x5d1f1e[_0x49d8bd(0x183)]['id'],'params':{'unitId':_0x3fef95,'drawings':[_0x25a52d]}}),_0x1787d9=[...(_0x3248c6=_0x216ae9[_0x49d8bd(0x156)])==null?[]:_0x3248c6,{'id':_0x5d1f1e['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x3fef95,'subUnitId':_0x5ef060,'op':_0x8fadda,'objects':_0x3624cf,'type':_0x5d1f1e[_0x49d8bd(0x130)][_0x49d8bd(0x110)]}},{'id':_0x5d1f1e[_0x49d8bd(0x13d)]['id'],'params':[_0x3fef95]},..._0x216ae9['redos'],{'id':_0x24f5f2['id'],'params':_0x4bf927}],_0x31f99d=[...(_0x52132e=_0x216ae9[_0x49d8bd(0x181)])==null?[]:_0x52132e,{'id':_0x5d1f1e[_0x49d8bd(0x131)]['id'],'params':{'unitId':_0x3fef95,'subUnitId':_0x5ef060,'op':_0x43215f,'objects':_0x3624cf,'type':_0x5d1f1e['DrawingApplyType'][_0x49d8bd(0x110)]}},{'id':_0x5d1f1e['ClearSheetDrawingTransformerOperation']['id'],'params':[_0x3fef95]},..._0x216ae9[_0x49d8bd(0xc1)],{'id':_0x24f5f2['id'],'params':{'unitId':_0x3fef95,'subUnitId':_0x5ef060,'shapeType':_0xeddc1f,'shapeId':_0xb19c45,'shapeData':_0x454a45}}];return(0x0,_0x18e20a[_0x49d8bd(0xf3)])(_0x1787d9,_0x204018)['result']?(_0x558a79[_0x49d8bd(0x1a0)]({'unitID':_0x3fef95,'undoMutations':_0x31f99d,'redoMutations':_0x1787d9}),!0x0):!0x1;}},_0x2222a1={'type':_0x18e20a['CommandType'][_0xaee12(0x133)],'id':_0xaee12(0x15f),'handler':(_0x378c46,_0x777539)=>{const _0x23f7e4=_0xaee12;var _0x1bce4d,_0x2a16b0;let _0x155590=(0x0,_0x1b7374[_0x23f7e4(0x186)])(_0x378c46['get'](_0x18e20a[_0x23f7e4(0xf6)]),_0x777539);if(!_0x155590)return!0x1;let _0x3ae098=_0x378c46[_0x23f7e4(0xc4)](_0x1b7374[_0x23f7e4(0x19d)]),{unitId:_0x31634d,subUnitId:_0x164ce8}=_0x155590,_0xeaaeee=_0x3ae098[_0x23f7e4(0x127)](_0x31634d,_0x164ce8);if(!_0xeaaeee)return!0x1;let _0x4bdaa6=_0x378c46[_0x23f7e4(0xc4)](_0x5d1f1e[_0x23f7e4(0x129)]),{shapeId:_0x14e466,flipH:_0x3ec87c,flipV:_0x39ab78}=_0x777539,_0x4d6b1c=_0x4bdaa6[_0x23f7e4(0x1a3)]({'unitId':_0x31634d,'subUnitId':_0x164ce8,'drawingId':_0x14e466});if(!_0x4d6b1c)return!0x1;let _0x61abe9=_0x378c46[_0x23f7e4(0xc4)](_0x35e5f3)[_0x23f7e4(0xec)](_0x31634d,_0x164ce8,_0x14e466);if(!_0x61abe9)return!0x1;let _0x502d53=_0x378c46['get'](_0x18e20a[_0x23f7e4(0x14c)]),_0x3d9898=_0x378c46[_0x23f7e4(0xc4)](_0x18e20a[_0x23f7e4(0xf7)]),_0xc1ad21=_0x378c46[_0x23f7e4(0xc4)](_0x1b7374['SheetInterceptorService']),_0x4f5884={..._0x4d6b1c['transform']};_0x3ec87c!==void 0x0&&(_0x4f5884['flipX']=!_0x4f5884[_0x23f7e4(0x113)]),_0x39ab78!==void 0x0&&(_0x4f5884[_0x23f7e4(0x17f)]=!_0x4f5884['flipY']);let _0x17b38d=(0x0,_0x5d1f1e[_0x23f7e4(0x174)])(_0x4f5884,_0xeaaeee),_0x2c2395=(0x0,_0x5d1f1e['transformToAxisAlignPosition'])(_0x4f5884,_0xeaaeee),_0x41ba35=_0x61abe9['getShapeType'](),_0xda7844=_0x61abe9[_0x23f7e4(0xb3)](),_0x250ac3={'unitId':_0x31634d,'subUnitId':_0x164ce8,'drawingId':_0x14e466,'drawingType':_0x18e20a[_0x23f7e4(0x167)][_0x23f7e4(0x125)],'sheetTransform':_0x17b38d,'transform':_0x4f5884,'data':{'shapeType':_0x41ba35,'shapeData':_0xda7844},'axisAlignSheetTransform':_0x2c2395,'allowTransform':!0x0},{undo:_0x3a5bbd,redo:_0x5be99d,objects:_0x81c38d}=_0x4bdaa6[_0x23f7e4(0xe1)]([_0x250ac3]),_0x4c75d6=_0xc1ad21['onCommandExecute']({'id':_0x5d1f1e['SetSheetDrawingCommand']['id'],'params':{'unitId':_0x31634d,'drawings':[_0x250ac3]}}),_0x3d92d4=[...(_0x1bce4d=_0x4c75d6[_0x23f7e4(0x156)])==null?[]:_0x1bce4d,{'id':_0x5d1f1e[_0x23f7e4(0x131)]['id'],'params':{'unitId':_0x31634d,'subUnitId':_0x164ce8,'op':_0x5be99d,'objects':_0x81c38d,'type':_0x5d1f1e['DrawingApplyType'][_0x23f7e4(0x110)]}},{'id':_0x5d1f1e[_0x23f7e4(0x13d)]['id'],'params':[_0x31634d]},..._0x4c75d6[_0x23f7e4(0x146)]],_0x467d99=[...(_0x2a16b0=_0x4c75d6[_0x23f7e4(0x181)])==null?[]:_0x2a16b0,{'id':_0x5d1f1e[_0x23f7e4(0x131)]['id'],'params':{'unitId':_0x31634d,'subUnitId':_0x164ce8,'op':_0x3a5bbd,'objects':_0x81c38d,'type':_0x5d1f1e[_0x23f7e4(0x130)][_0x23f7e4(0x110)]}},{'id':_0x5d1f1e[_0x23f7e4(0x13d)]['id'],'params':[_0x31634d]},..._0x4c75d6[_0x23f7e4(0xc1)]];if((0x0,_0x2173a2[_0x23f7e4(0xf5)])(_0x41ba35)){let _0x212011=_0x61abe9['getShapeRelation']();if(_0x212011){let _0x177f62={..._0x212011};_0x177f62['from']=void 0x0,_0x177f62['to']=void 0x0,_0x3d92d4[_0x23f7e4(0xb2)]({'id':_0x24f5f2['id'],'params':{'unitId':_0x31634d,'subUnitId':_0x164ce8,'shapeId':_0x14e466,'shapeType':_0x41ba35,'shapeData':{'relation':_0x177f62}}}),_0x467d99[_0x23f7e4(0xb2)]({'id':_0x24f5f2['id'],'params':{'unitId':_0x31634d,'subUnitId':_0x164ce8,'shapeId':_0x14e466,'shapeType':_0x41ba35,'shapeData':{'relation':_0x212011}}});}}return(0x0,_0x18e20a['sequenceExecute'])(_0x3d92d4,_0x502d53)[_0x23f7e4(0x155)]?(_0x3d9898[_0x23f7e4(0x1a0)]({'unitID':_0x31634d,'undoMutations':_0x467d99,'redoMutations':_0x3d92d4}),!0x0):!0x1;}},_0x48e680={'type':_0x18e20a[_0xaee12(0x13a)][_0xaee12(0x133)],'id':_0xaee12(0xd6),'handler':(_0xe447dd,_0x40fc66)=>{const _0x33fd56=_0xaee12;var _0x352c34,_0xc02fb1;let _0x188870=(0x0,_0x1b7374[_0x33fd56(0x186)])(_0xe447dd['get'](_0x18e20a[_0x33fd56(0xf6)]),_0x40fc66);if(!_0x188870)return!0x1;let _0x518bd7=_0xe447dd[_0x33fd56(0xc4)](_0x1b7374[_0x33fd56(0x19d)]),{unitId:_0x35c544,subUnitId:_0x51879e}=_0x188870,_0x11c5a1=_0x518bd7[_0x33fd56(0x127)](_0x35c544,_0x51879e);if(!_0x11c5a1)return!0x1;let _0xa57524=_0xe447dd[_0x33fd56(0xc4)](_0x5d1f1e[_0x33fd56(0x129)]),{shapeId:_0x80c6cb,rotate:_0x5b1e44}=_0x40fc66,_0x476524=_0xa57524[_0x33fd56(0x1a3)]({'unitId':_0x35c544,'subUnitId':_0x51879e,'drawingId':_0x80c6cb});if(!_0x476524)return!0x1;let _0x2c039a=_0xe447dd[_0x33fd56(0xc4)](_0x35e5f3)[_0x33fd56(0xec)](_0x35c544,_0x51879e,_0x80c6cb);if(!_0x2c039a)return!0x1;let _0x2940a8=_0xe447dd[_0x33fd56(0xc4)](_0x18e20a[_0x33fd56(0x14c)]),_0x5b010c=_0xe447dd[_0x33fd56(0xc4)](_0x18e20a[_0x33fd56(0xf7)]),_0x17a7ed=_0xe447dd['get'](_0x1b7374[_0x33fd56(0xd8)]),_0x263d28={..._0x476524[_0x33fd56(0xce)]};_0x5b1e44!==void 0x0&&(_0x263d28[_0x33fd56(0x1b4)]=(_0x263d28[_0x33fd56(0x1b4)]||0x0)+_0x5b1e44);let _0x5cac3d=(0x0,_0x5d1f1e[_0x33fd56(0x174)])(_0x263d28,_0x11c5a1),_0x5a3f84=(0x0,_0x5d1f1e[_0x33fd56(0x13b)])(_0x263d28,_0x11c5a1),_0x400ec1=_0x2c039a[_0x33fd56(0xc8)](),_0x271c4c=_0x2c039a[_0x33fd56(0xb3)](),_0x30557f={'unitId':_0x35c544,'subUnitId':_0x51879e,'drawingId':_0x80c6cb,'drawingType':_0x18e20a[_0x33fd56(0x167)][_0x33fd56(0x125)],'sheetTransform':_0x5cac3d,'transform':_0x263d28,'data':{'shapeType':_0x400ec1,'shapeData':_0x271c4c},'axisAlignSheetTransform':_0x5a3f84,'allowTransform':!0x0},{undo:_0x102fae,redo:_0x2ff188,objects:_0x159555}=_0xa57524[_0x33fd56(0xe1)]([_0x30557f]),_0x242479=_0x17a7ed['onCommandExecute']({'id':_0x5d1f1e['SetSheetDrawingCommand']['id'],'params':{'unitId':_0x35c544,'drawings':[_0x30557f]}}),_0x1c3f3e=[...(_0x352c34=_0x242479[_0x33fd56(0x156)])==null?[]:_0x352c34,{'id':_0x5d1f1e[_0x33fd56(0x131)]['id'],'params':{'unitId':_0x35c544,'subUnitId':_0x51879e,'op':_0x2ff188,'objects':_0x159555,'type':_0x5d1f1e['DrawingApplyType'][_0x33fd56(0x110)]}},{'id':_0x5d1f1e[_0x33fd56(0x13d)]['id'],'params':[_0x35c544]},..._0x242479[_0x33fd56(0x146)]],_0x35e380=[...(_0xc02fb1=_0x242479[_0x33fd56(0x181)])==null?[]:_0xc02fb1,{'id':_0x5d1f1e[_0x33fd56(0x131)]['id'],'params':{'unitId':_0x35c544,'subUnitId':_0x51879e,'op':_0x102fae,'objects':_0x159555,'type':_0x5d1f1e['DrawingApplyType'][_0x33fd56(0x110)]}},{'id':_0x5d1f1e['ClearSheetDrawingTransformerOperation']['id'],'params':[_0x35c544]},..._0x242479[_0x33fd56(0xc1)]];return(0x0,_0x18e20a[_0x33fd56(0xf3)])(_0x1c3f3e,_0x2940a8)[_0x33fd56(0x155)]?(_0x5b010c[_0x33fd56(0x1a0)]({'unitID':_0x35c544,'undoMutations':_0x35e380,'redoMutations':_0x1c3f3e}),!0x0):!0x1;}},_0x2f202a={'type':_0x18e20a['CommandType'][_0xaee12(0x133)],'id':'sheet.command.set-shape-text-vertical-toggle','handler':(_0x57c3b0,_0x338e05)=>{const _0x3329c0=_0xaee12;var _0x383cd4;let _0xc93533=(0x0,_0x1b7374[_0x3329c0(0x186)])(_0x57c3b0[_0x3329c0(0xc4)](_0x18e20a[_0x3329c0(0xf6)]),_0x338e05);if(!_0xc93533)return!0x1;let {unitId:_0x1fbb54,subUnitId:_0x8ea017}=_0xc93533,{shapeId:_0x545a0e}=_0x338e05,_0x1a7c84=_0x57c3b0[_0x3329c0(0xc4)](_0x35e5f3)[_0x3329c0(0xec)](_0x1fbb54,_0x8ea017,_0x545a0e);if(!_0x1a7c84)return!0x1;let _0x4ca7b8=_0x1a7c84[_0x3329c0(0x18a)](),_0x2cfca5=(_0x383cd4=_0x4ca7b8==null?void 0x0:_0x4ca7b8[_0x3329c0(0x1a2)])==null?!0x0:_0x383cd4,_0x1958f8=!_0x2cfca5,_0x1e1618=_0x57c3b0[_0x3329c0(0xc4)](_0x18e20a[_0x3329c0(0x14c)]),_0x2f5b38=_0x57c3b0[_0x3329c0(0xc4)](_0x18e20a[_0x3329c0(0xf7)]),_0x277fc3={'unitId':_0x1fbb54,'subUnitId':_0x8ea017,'shapeId':_0x545a0e,'shapeData':{'shapeText':{'isHorizontal':_0x1958f8}}},_0x277e69={'unitId':_0x1fbb54,'subUnitId':_0x8ea017,'shapeId':_0x545a0e,'shapeData':{'shapeText':{'isHorizontal':_0x2cfca5}}},_0x3d612b=[{'id':_0x24f5f2['id'],'params':_0x277fc3}],_0x34d199=[{'id':_0x24f5f2['id'],'params':_0x277e69}];return(0x0,_0x18e20a[_0x3329c0(0xf3)])(_0x3d612b,_0x1e1618)['result']?(_0x2f5b38['pushUndoRedo']({'unitID':_0x1fbb54,'undoMutations':_0x34d199,'redoMutations':_0x3d612b}),!0x0):!0x1;}},_0x210462={'type':_0x18e20a['CommandType']['COMMAND'],'id':_0xaee12(0xca),'handler':(_0x5e52d3,_0x49c79f)=>{const _0x54119c=_0xaee12;var _0x135857,_0x4423e8,_0xe650bf,_0x1b3adf;let _0x20ba97=(0x0,_0x1b7374[_0x54119c(0x186)])(_0x5e52d3['get'](_0x18e20a[_0x54119c(0xf6)]),_0x49c79f);if(!_0x20ba97)return!0x1;let _0x17ae84=_0x5e52d3[_0x54119c(0xc4)](_0x1b7374['SheetSkeletonService']),{unitId:_0xa68616,subUnitId:_0xf6380}=_0x20ba97,_0x201daf=_0x17ae84[_0x54119c(0x127)](_0xa68616,_0xf6380);if(!_0x201daf)return!0x1;let _0x55e4f6=_0x5e52d3['get'](_0x5d1f1e['ISheetDrawingService']),{connectorShapeId:_0x136328,width:_0x31ee8b,height:_0x56f2ff,left:_0x3c147a,top:_0x189d6d,flipX:_0x5cb735,flipY:_0x2c9346,rotation:_0x55fcac,oldAdjustValues:_0x360665,newAdjustValues:_0x394784,oldLineType:_0x1c0813,newLineType:_0x3e2cf6,oldRelation:_0x436bef,newRelation:_0x1cd44d}=_0x49c79f,_0x3eae56=_0x55e4f6[_0x54119c(0x1a3)]({'unitId':_0xa68616,'subUnitId':_0xf6380,'drawingId':_0x136328});if(!_0x3eae56)return!0x1;let _0x44ee70=_0x5e52d3[_0x54119c(0xc4)](_0x35e5f3)[_0x54119c(0xec)](_0xa68616,_0xf6380,_0x136328);if(!_0x44ee70)return!0x1;let _0x5961d1=_0x5e52d3[_0x54119c(0xc4)](_0x18e20a[_0x54119c(0x14c)]),_0x360c76=_0x5e52d3['get'](_0x18e20a[_0x54119c(0xf7)]),_0x57a89b=_0x5e52d3[_0x54119c(0xc4)](_0x1b7374[_0x54119c(0xd8)]),_0x49e4f6={..._0x3eae56['transform'],'width':_0x31ee8b,'height':_0x56f2ff,'left':_0x3c147a,'top':_0x189d6d,'flipX':_0x5cb735,'flipY':_0x2c9346,'angle':(_0x135857=_0x55fcac==null?(_0x4423e8=_0x3eae56[_0x54119c(0xce)])==null?void 0x0:_0x4423e8[_0x54119c(0x1b4)]:_0x55fcac)==null?0x0:_0x135857},_0x419818=(0x0,_0x5d1f1e[_0x54119c(0x174)])(_0x49e4f6,_0x201daf),_0x4b162e=(0x0,_0x5d1f1e[_0x54119c(0x13b)])(_0x49e4f6,_0x201daf),_0x1a073b=_0x44ee70[_0x54119c(0xc8)](),_0x19b4b0=_0x44ee70[_0x54119c(0xb3)](),_0x2ada4c={'unitId':_0xa68616,'subUnitId':_0xf6380,'drawingId':_0x136328,'drawingType':_0x18e20a[_0x54119c(0x167)][_0x54119c(0x125)],'sheetTransform':_0x419818,'transform':_0x49e4f6,'data':{'shapeType':_0x3e2cf6||_0x1c0813||_0x1a073b,'shapeData':{..._0x19b4b0,'adjustValues':_0x394784||_0x360665||(_0x19b4b0==null?void 0x0:_0x19b4b0[_0x54119c(0x1ac)]),'relation':_0x1cd44d||_0x436bef||(_0x19b4b0==null?void 0x0:_0x19b4b0['relation'])}},'axisAlignSheetTransform':_0x4b162e,'allowTransform':!0x0},{undo:_0x22b427,redo:_0x4ed417,objects:_0x1f2dd8}=_0x55e4f6['getBatchUpdateOp']([_0x2ada4c]),_0x13d5d9=_0x57a89b['onCommandExecute']({'id':_0x5d1f1e[_0x54119c(0x183)]['id'],'params':{'unitId':_0xa68616,'drawings':[_0x2ada4c]}}),_0x50a9c0=[...(_0xe650bf=_0x13d5d9[_0x54119c(0x156)])==null?[]:_0xe650bf,{'id':_0x5d1f1e[_0x54119c(0x131)]['id'],'params':{'unitId':_0xa68616,'subUnitId':_0xf6380,'op':_0x4ed417,'objects':_0x1f2dd8,'type':_0x5d1f1e[_0x54119c(0x130)][_0x54119c(0x110)]}},{'id':_0x5d1f1e[_0x54119c(0x13d)]['id'],'params':[_0xa68616]},..._0x13d5d9[_0x54119c(0x146)],{'id':_0x24f5f2['id'],'params':{'unitId':_0xa68616,'subUnitId':_0xf6380,'shapeId':_0x136328,'shapeType':_0x3e2cf6,'shapeData':{'adjustValues':_0x394784,'relation':_0x1cd44d}}}],_0x4ac30e=[...(_0x1b3adf=_0x13d5d9[_0x54119c(0x181)])==null?[]:_0x1b3adf,{'id':_0x5d1f1e[_0x54119c(0x131)]['id'],'params':{'unitId':_0xa68616,'subUnitId':_0xf6380,'op':_0x22b427,'objects':_0x1f2dd8,'type':_0x5d1f1e[_0x54119c(0x130)]['UPDATE']}},{'id':_0x5d1f1e['ClearSheetDrawingTransformerOperation']['id'],'params':[_0xa68616]},..._0x13d5d9[_0x54119c(0xc1)],{'id':_0x24f5f2['id'],'params':{'unitId':_0xa68616,'subUnitId':_0xf6380,'shapeId':_0x136328,'shapeType':_0x1a073b,'shapeData':{..._0x19b4b0,'adjustValues':_0x360665||(_0x19b4b0==null?void 0x0:_0x19b4b0[_0x54119c(0x1ac)]),'relation':_0x436bef||(_0x19b4b0==null?void 0x0:_0x19b4b0['relation'])}}}];return(0x0,_0x18e20a[_0x54119c(0xf3)])(_0x50a9c0,_0x5961d1)['result']?(_0x360c76[_0x54119c(0x1a0)]({'unitID':_0xa68616,'undoMutations':_0x4ac30e,'redoMutations':_0x50a9c0}),!0x0):!0x1;}},_0x2bfa29={'type':_0x18e20a[_0xaee12(0x13a)][_0xaee12(0x133)],'id':'sheet.command.update-line-shape-resize','handler':(_0x2da940,_0x110c9f)=>{const _0x2aea0d=_0xaee12;var _0x5f2a89,_0x37bd9d;let _0x3c53db=(0x0,_0x1b7374['getSheetCommandTarget'])(_0x2da940['get'](_0x18e20a[_0x2aea0d(0xf6)]),_0x110c9f);if(!_0x3c53db)return!0x1;let _0x57ce72=_0x2da940[_0x2aea0d(0xc4)](_0x1b7374[_0x2aea0d(0x19d)]),{unitId:_0x55a4a5,subUnitId:_0x3ca591}=_0x3c53db,_0x4d43a1=_0x57ce72['getSkeleton'](_0x55a4a5,_0x3ca591);if(!_0x4d43a1)return!0x1;let _0x2484be=_0x2da940[_0x2aea0d(0xc4)](_0x5d1f1e['ISheetDrawingService']),{shapeId:_0x3ab083,width:_0x30badf,height:_0x192a8c,left:_0x61f6d3,top:_0x4dfbb5,flipX:_0x27faad,flipY:_0x450246,angle:_0x2522a7,oldAdjustValues:_0xa50c24,newAdjustValues:_0x2e58f5,oldLineType:_0x54d5c1,newLineType:_0xb3db6f}=_0x110c9f,_0x412d3f=_0x2484be['getDrawingByParam']({'unitId':_0x55a4a5,'subUnitId':_0x3ca591,'drawingId':_0x3ab083});if(!_0x412d3f)return!0x1;let _0x21cb40=_0x2da940[_0x2aea0d(0xc4)](_0x35e5f3)[_0x2aea0d(0xec)](_0x55a4a5,_0x3ca591,_0x3ab083);if(!_0x21cb40)return!0x1;let _0x11e651=_0x2da940[_0x2aea0d(0xc4)](_0x18e20a[_0x2aea0d(0x14c)]),_0x3a2ec3=_0x2da940['get'](_0x18e20a[_0x2aea0d(0xf7)]),_0x2a631b=_0x2da940[_0x2aea0d(0xc4)](_0x1b7374[_0x2aea0d(0xd8)]),_0x20faff={..._0x412d3f['transform'],'width':_0x30badf,'height':_0x192a8c,'left':_0x61f6d3,'top':_0x4dfbb5,'flipX':_0x27faad,'flipY':_0x450246,'angle':_0x2522a7},_0x2f9ef8=(0x0,_0x5d1f1e[_0x2aea0d(0x174)])(_0x20faff,_0x4d43a1),_0x520dbb=(0x0,_0x5d1f1e[_0x2aea0d(0x13b)])(_0x20faff,_0x4d43a1),_0x4f170b=_0x21cb40['getShapeType'](),_0x2da69d=_0x21cb40[_0x2aea0d(0xb3)](),_0x436272={'unitId':_0x55a4a5,'subUnitId':_0x3ca591,'drawingId':_0x3ab083,'drawingType':_0x18e20a[_0x2aea0d(0x167)][_0x2aea0d(0x125)],'sheetTransform':_0x2f9ef8,'transform':_0x20faff,'data':{'shapeType':_0xb3db6f||_0x54d5c1||_0x4f170b,'shapeData':{..._0x2da69d,'adjustValues':_0x2e58f5||_0xa50c24||(_0x2da69d==null?void 0x0:_0x2da69d[_0x2aea0d(0x1ac)])}},'axisAlignSheetTransform':_0x520dbb,'allowTransform':!0x0},{undo:_0x2dbeca,redo:_0x791556,objects:_0x1d2106}=_0x2484be[_0x2aea0d(0xe1)]([_0x436272]),_0x4fa933=_0x2a631b['onCommandExecute']({'id':_0x5d1f1e[_0x2aea0d(0x183)]['id'],'params':{'unitId':_0x55a4a5,'drawings':[_0x436272]}}),_0x3125b7=[...(_0x5f2a89=_0x4fa933[_0x2aea0d(0x156)])==null?[]:_0x5f2a89,{'id':_0x5d1f1e['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x55a4a5,'subUnitId':_0x3ca591,'op':_0x791556,'objects':_0x1d2106,'type':_0x5d1f1e[_0x2aea0d(0x130)][_0x2aea0d(0x110)]}},{'id':_0x5d1f1e[_0x2aea0d(0x13d)]['id'],'params':[_0x55a4a5]},..._0x4fa933['redos'],{'id':_0x24f5f2['id'],'params':{'unitId':_0x55a4a5,'subUnitId':_0x3ca591,'shapeId':_0x3ab083,'shapeType':_0xb3db6f,'shapeData':{'adjustValues':_0x2e58f5}}}],_0x31082c=[...(_0x37bd9d=_0x4fa933[_0x2aea0d(0x181)])==null?[]:_0x37bd9d,{'id':_0x5d1f1e[_0x2aea0d(0x131)]['id'],'params':{'unitId':_0x55a4a5,'subUnitId':_0x3ca591,'op':_0x2dbeca,'objects':_0x1d2106,'type':_0x5d1f1e[_0x2aea0d(0x130)][_0x2aea0d(0x110)]}},{'id':_0x5d1f1e[_0x2aea0d(0x13d)]['id'],'params':[_0x55a4a5]},..._0x4fa933['undos'],{'id':_0x24f5f2['id'],'params':{'unitId':_0x55a4a5,'subUnitId':_0x3ca591,'shapeId':_0x3ab083,'shapeType':_0x4f170b,'shapeData':{..._0x2da69d,'adjustValues':_0xa50c24||(_0x2da69d==null?void 0x0:_0x2da69d[_0x2aea0d(0x1ac)])}}}];return(0x0,_0x18e20a[_0x2aea0d(0xf3)])(_0x3125b7,_0x11e651)['result']?(_0x3a2ec3[_0x2aea0d(0x1a0)]({'unitID':_0x55a4a5,'undoMutations':_0x31082c,'redoMutations':_0x3125b7}),!0x0):!0x1;}},_0x514889={'id':_0xaee12(0xf0),'type':_0x18e20a[_0xaee12(0x13a)]['MUTATION'],'handler':(_0x23e751,_0x3c486c)=>{const _0x1c7024=_0xaee12;let {unitId:_0x402771,subUnitId:_0x33ec5a,shapeType:_0x412476,shapeId:_0x7bff3e,shapeData:_0x723d5e}=_0x3c486c,_0x3e0aeb=_0x23e751[_0x1c7024(0xc4)](_0x35e5f3)[_0x1c7024(0xec)](_0x402771,_0x33ec5a,_0x7bff3e);return _0x3e0aeb&&(_0x3e0aeb[_0x1c7024(0xdb)](_0x412476),_0x723d5e&&(_0x3e0aeb==null||_0x3e0aeb[_0x1c7024(0xcf)](_0x723d5e))),!0x0;}};var _0x5d12a2=_0xaee12(0x107),_0x5dadde='1.0.0-alpha.7';let _0x16fdac=class{constructor(_0x824bb8,_0x3eb4f3,_0x3e4847){const _0x958d62=_0xaee12;this[_0x958d62(0x142)]=_0x824bb8,this[_0x958d62(0x163)]=_0x3eb4f3,this[_0x958d62(0x1a8)]=_0x3e4847,_0x3e3f02(this,_0x958d62(0x175),_0x18e20a[_0x958d62(0x172)][_0x958d62(0x1af)]);}['getShape'](_0x445355){const _0x301ec8=_0xaee12;var _0x326720,_0x28ff41,_0xa3a2b8,_0x345e4b,_0x3d3ba3,_0x36bd6c,_0x328f72,_0x577fb3,_0x3c74d0;let _0x343f94=(_0x326720=this[_0x301ec8(0x1a8)]['getDrawingData'](_0x445355[_0x301ec8(0xdd)],_0x445355[_0x301ec8(0x17d)]))==null?void 0x0:_0x326720[_0x445355[_0x301ec8(0x16d)]],_0x175b6c=this['_shapeService'][_0x301ec8(0xc8)](_0x445355['unitId'],_0x445355[_0x301ec8(0x17d)],_0x445355['shapeId']);if(!_0x343f94||_0x343f94[_0x301ec8(0x12e)]!==_0x18e20a[_0x301ec8(0x167)]['DRAWING_SHAPE']||!_0x175b6c)return null;let _0x459e47=_0x343f94[_0x301ec8(0xce)];return{..._0x445355,'shapeType':_0x175b6c,'shapeData':_0x18e20a['Tools'][_0x301ec8(0xb1)]((_0x28ff41=this[_0x301ec8(0x163)]['getShapeDataById'](_0x445355['unitId'],_0x445355[_0x301ec8(0x17d)],_0x445355[_0x301ec8(0x16d)]))==null?{}:_0x28ff41),'name':_0x343f94[_0x301ec8(0x176)],'description':_0x343f94[_0x301ec8(0x17a)],'visible':_0x343f94[_0x301ec8(0x177)]!==!0x0,'selectable':_0x343f94['selectable']!==!0x1,'transform':{'left':(_0xa3a2b8=_0x459e47==null?void 0x0:_0x459e47[_0x301ec8(0x118)])==null?0x0:_0xa3a2b8,'top':(_0x345e4b=_0x459e47==null?void 0x0:_0x459e47[_0x301ec8(0x12a)])==null?0x0:_0x345e4b,'width':(_0x3d3ba3=_0x459e47==null?void 0x0:_0x459e47[_0x301ec8(0x10e)])==null?0xc8:_0x3d3ba3,'height':(_0x36bd6c=_0x459e47==null?void 0x0:_0x459e47[_0x301ec8(0x162)])==null?0xc8:_0x36bd6c,'rotation':(_0x328f72=_0x459e47==null?void 0x0:_0x459e47['angle'])==null?0x0:_0x328f72,'flipX':(_0x577fb3=_0x459e47==null?void 0x0:_0x459e47[_0x301ec8(0x113)])==null?!0x1:_0x577fb3,'flipY':(_0x3c74d0=_0x459e47==null?void 0x0:_0x459e47[_0x301ec8(0x17f)])==null?!0x1:_0x3c74d0}};}[_0xaee12(0xb9)](_0xb08f59){const _0x3b400d=_0xaee12;var _0x5c0535;let _0x1e56e1=(_0x5c0535=this[_0x3b400d(0x1a8)][_0x3b400d(0x105)](_0xb08f59[_0x3b400d(0xdd)],_0xb08f59[_0x3b400d(0x17d)]))==null?{}:_0x5c0535;return Object['values'](_0x1e56e1)[_0x3b400d(0x10a)](_0x44df51=>(_0x44df51==null?void 0x0:_0x44df51[_0x3b400d(0x12e)])===_0x18e20a[_0x3b400d(0x167)]['DRAWING_SHAPE'])[_0x3b400d(0x11c)](_0x21c935=>this['getShape']({..._0xb08f59,'shapeId':_0x21c935[_0x3b400d(0x122)]}))[_0x3b400d(0x10a)](_0x1c9c05=>!!_0x1c9c05);}['createShape'](_0x56277c,_0x503c28){const _0x4ef380=_0xaee12;var _0x56f31b,_0x52d767,_0xcb6a0,_0xf79ba9,_0x3acb26,_0x204a45,_0x2b3c80,_0x4f7b8c,_0x5c0393,_0x23a5cd,_0x442752,_0x3df536,_0x29cf50,_0x42aeeb,_0x59ca96,_0x5dd2f6,_0x427fa8,_0x5807ea,_0xa7249a;let _0x351f43=(0x0,_0x18e20a[_0x4ef380(0x164)])(),_0x4c3eb4={'left':(_0x56f31b=(_0x52d767=_0x503c28['transform'])==null?void 0x0:_0x52d767[_0x4ef380(0x118)])==null?0x0:_0x56f31b,'top':(_0xcb6a0=(_0xf79ba9=_0x503c28['transform'])==null?void 0x0:_0xf79ba9[_0x4ef380(0x12a)])==null?0x0:_0xcb6a0,'width':(_0x3acb26=(_0x204a45=_0x503c28['transform'])==null?void 0x0:_0x204a45['width'])==null?0xc8:_0x3acb26,'height':(_0x2b3c80=(_0x4f7b8c=_0x503c28[_0x4ef380(0xce)])==null?void 0x0:_0x4f7b8c[_0x4ef380(0x162)])==null?0xc8:_0x2b3c80,'rotation':(_0x5c0393=(_0x23a5cd=_0x503c28[_0x4ef380(0xce)])==null?void 0x0:_0x23a5cd['rotation'])==null?0x0:_0x5c0393,'flipX':(_0x442752=(_0x3df536=_0x503c28[_0x4ef380(0xce)])==null?void 0x0:_0x3df536[_0x4ef380(0x113)])==null?!0x1:_0x442752,'flipY':(_0x29cf50=(_0x42aeeb=_0x503c28['transform'])==null?void 0x0:_0x42aeeb[_0x4ef380(0x17f)])==null?!0x1:_0x29cf50};return this[_0x4ef380(0x142)][_0x4ef380(0x18e)](_0x3b22d9['id'],{'unitId':_0x56277c[_0x4ef380(0xdd)],'subUnitId':_0x56277c[_0x4ef380(0x17d)],'shapeId':_0x351f43,'shapeType':_0x503c28[_0x4ef380(0x1a9)],'shapeData':_0x503c28['shapeData'],'name':_0x503c28[_0x4ef380(0x176)],'description':_0x503c28[_0x4ef380(0x17a)],'position':{'x':_0x4c3eb4[_0x4ef380(0x118)],'y':_0x4c3eb4[_0x4ef380(0x12a)]},'width':_0x4c3eb4[_0x4ef380(0x10e)],'height':_0x4c3eb4[_0x4ef380(0x162)],'rotation':_0x4c3eb4[_0x4ef380(0x189)],'flipX':_0x4c3eb4[_0x4ef380(0x113)],'flipY':_0x4c3eb4[_0x4ef380(0x17f)],'visible':(_0x59ca96=_0x503c28[_0x4ef380(0x112)])==null?!0x0:_0x59ca96,'selectable':(_0x5dd2f6=_0x503c28[_0x4ef380(0xe0)])==null?!0x0:_0x5dd2f6})?{..._0x56277c,'shapeId':_0x351f43,'shapeType':_0x503c28['shapeType'],'shapeData':_0x18e20a[_0x4ef380(0xd0)][_0x4ef380(0xb1)]((_0x427fa8=_0x503c28[_0x4ef380(0x143)])==null?{}:_0x427fa8),'name':_0x503c28[_0x4ef380(0x176)],'description':_0x503c28[_0x4ef380(0x17a)],'visible':(_0x5807ea=_0x503c28['visible'])==null?!0x0:_0x5807ea,'selectable':(_0xa7249a=_0x503c28[_0x4ef380(0xe0)])==null?!0x0:_0xa7249a,'transform':_0x4c3eb4}:null;}[_0xaee12(0x10f)](_0x59bb8b,_0x15e23e){const _0x2bb99e=_0xaee12;var _0x2d4ad2,_0xbbaadc,_0x4e1961,_0x4c698b,_0x1b15ce,_0x242b51;let _0x2d349f=this[_0x2bb99e(0x191)](_0x59bb8b);if(!_0x2d349f)return!0x1;let _0x26126e={..._0x2d349f[_0x2bb99e(0xce)],..._0x15e23e[_0x2bb99e(0xce)]};return this[_0x2bb99e(0x142)][_0x2bb99e(0x18e)](_0x39a5ab['id'],{'unitId':_0x59bb8b[_0x2bb99e(0xdd)],'subUnitId':_0x59bb8b['subUnitId'],'shapeId':_0x59bb8b['shapeId'],'shapeType':(_0x2d4ad2=(_0xbbaadc=_0x15e23e['shapeType'])==null?(_0x4e1961=_0x15e23e[_0x2bb99e(0x143)])==null?void 0x0:_0x4e1961['shapeType']:_0xbbaadc)==null?_0x2d349f[_0x2bb99e(0x1a9)]:_0x2d4ad2,'shapeData':(_0x4c698b=_0x15e23e['shapeData'])==null?_0x2d349f[_0x2bb99e(0x143)]:_0x4c698b,'position':{'x':_0x26126e[_0x2bb99e(0x118)],'y':_0x26126e[_0x2bb99e(0x12a)]},'width':_0x26126e['width'],'height':_0x26126e['height'],'rotation':_0x26126e[_0x2bb99e(0x189)],'flipX':_0x26126e[_0x2bb99e(0x113)],'flipY':_0x26126e['flipY'],'name':_0x2bb99e(0x176)in _0x15e23e?_0x15e23e[_0x2bb99e(0x176)]:_0x2d349f[_0x2bb99e(0x176)],'description':_0x2bb99e(0x17a)in _0x15e23e?_0x15e23e[_0x2bb99e(0x17a)]:_0x2d349f[_0x2bb99e(0x17a)],'visible':(_0x1b15ce=_0x15e23e[_0x2bb99e(0x112)])==null?_0x2d349f[_0x2bb99e(0x112)]:_0x1b15ce,'selectable':(_0x242b51=_0x15e23e[_0x2bb99e(0xe0)])==null?_0x2d349f[_0x2bb99e(0xe0)]:_0x242b51});}[_0xaee12(0x1b6)](_0x10b2b6){const _0x5ef544=_0xaee12;return this['_commandService'][_0x5ef544(0x18e)](_0x5d1f1e[_0x5ef544(0xbe)]['id'],{'unitId':_0x10b2b6['unitId'],'drawings':[{'unitId':_0x10b2b6['unitId'],'subUnitId':_0x10b2b6[_0x5ef544(0x17d)],'drawingId':_0x10b2b6[_0x5ef544(0x16d)],'drawingType':_0x18e20a[_0x5ef544(0x167)][_0x5ef544(0x125)]}]});}['bringToFront'](_0x7cac27){const _0x42d43d=_0xaee12;return this['_arrange'](_0x7cac27,_0x18e20a['ArrangeTypeEnum'][_0x42d43d(0xe9)]);}[_0xaee12(0x117)](_0x5a9250){const _0x325cc0=_0xaee12;return this[_0x325cc0(0x103)](_0x5a9250,_0x18e20a[_0x325cc0(0xd4)][_0x325cc0(0xbd)]);}[_0xaee12(0x12b)](_0x1d6a02){const _0x45fd9d=_0xaee12;return this[_0x45fd9d(0x103)](_0x1d6a02,_0x18e20a[_0x45fd9d(0xd4)][_0x45fd9d(0x144)]);}[_0xaee12(0xcb)](_0x166a3e){const _0x18bd6a=_0xaee12;return this[_0x18bd6a(0x103)](_0x166a3e,_0x18e20a['ArrangeTypeEnum'][_0x18bd6a(0x14b)]);}['_arrange'](_0xeaf486,_0x5b07c8){const _0xff6a73=_0xaee12;return this['_commandService'][_0xff6a73(0x18e)](_0x5d1f1e[_0xff6a73(0xf8)]['id'],{'unitId':_0xeaf486[_0xff6a73(0xdd)],'subUnitId':_0xeaf486[_0xff6a73(0x17d)],'drawingIds':[_0xeaf486[_0xff6a73(0x16d)]],'arrangeType':_0x5b07c8});}};_0x16fdac=_0x405ec8([_0x489fa5(0x0,_0x18e20a[_0xaee12(0x14c)]),_0x489fa5(0x1,(0x0,_0x18e20a[_0xaee12(0xb8)])(_0x35e5f3)),_0x489fa5(0x2,_0x5d1f1e[_0xaee12(0x129)])],_0x16fdac);let _0x15d9cc={},_0x3cb01c=class extends _0x18e20a[_0xaee12(0xc2)]{constructor(_0x58a811,_0x2d3fd0,_0x1c88d6,_0x54824e,_0x44314f,_0x24e464,_0x4b2afe){const _0x196a47=_0xaee12;super(),this[_0x196a47(0x142)]=_0x58a811,this['_sheetInterceptorService']=_0x2d3fd0,this[_0x196a47(0x170)]=_0x1c88d6,this['_sheetsShapeService']=_0x54824e,this[_0x196a47(0xba)]=_0x44314f,this['_shapeHostAdapterRegistry']=_0x24e464,this[_0x196a47(0x159)](),this[_0x196a47(0x188)](),this[_0x196a47(0xdc)](this['_shapeHostAdapterRegistry']['register'](_0x4b2afe));}[_0xaee12(0x159)](){const _0x4f73de=_0xaee12;[_0x3b22d9,_0x39a5ab,_0x2222a1,_0x48e680,_0x2f202a,_0x210462,_0x2bfa29,_0x4098bd,_0x3f7340,_0x514889,_0x24f5f2]['forEach'](_0x4a4dae=>this[_0x4f73de(0xdc)](this[_0x4f73de(0x142)][_0x4f73de(0xff)](_0x4a4dae)));}[_0xaee12(0x188)](){const _0xdc336a=_0xaee12;this['disposeWithMe'](this[_0xdc336a(0xdf)][_0xdc336a(0x196)]({'getMutations':_0x2ea503=>{const _0x451cab=_0xdc336a;if(_0x2ea503['id']===_0x5d1f1e[_0x451cab(0xbe)]['id']){let {drawings:_0x2ab162}=_0x2ea503[_0x451cab(0x17c)],_0x5eb304=_0x2ab162[_0x451cab(0x10a)](_0x3b5a10=>_0x3b5a10[_0x451cab(0x12e)]===_0x18e20a[_0x451cab(0x167)][_0x451cab(0x125)]);if(_0x5eb304[_0x451cab(0x1a6)]===0x0)return{'preRedos':[],'redos':[],'preUndos':[],'undos':[]};let _0x4d970b=[],_0x5cccb7=[];return _0x5eb304['forEach'](_0x383744=>{const _0x548e3b=_0x451cab;let {unitId:_0xaed7d7,subUnitId:_0x1642b3,drawingId:_0x5c05d4}=_0x383744,_0x467308=this[_0x548e3b(0xf1)][_0x548e3b(0xec)](_0xaed7d7,_0x1642b3,_0x5c05d4);if(!_0x467308)throw TypeError(_0x548e3b(0x141)+_0x467308);_0x4d970b[_0x548e3b(0xb2)]({'id':_0x3f7340['id'],'params':{'unitId':_0xaed7d7,'subUnitId':_0x1642b3,'shapeId':_0x5c05d4}}),_0x5cccb7[_0x548e3b(0xb2)]({'id':_0x4098bd['id'],'params':{'unitId':_0xaed7d7,'subUnitId':_0x1642b3,'shapeId':_0x5c05d4,'shapeType':_0x467308['getShapeType'](),'shapeData':_0x467308[_0x548e3b(0xb3)]()}});let _0x35177e=this[_0x548e3b(0xf1)][_0x548e3b(0x18d)](_0xaed7d7,_0x1642b3,_0x5c05d4);if(_0x35177e)for(let _0x137337 of _0x35177e){let _0x43a3f8=_0x137337[_0x548e3b(0x102)],_0xc194f9=_0x137337[_0x548e3b(0x123)],_0x5e261a=_0xc194f9?{'from':void 0x0}:{'to':void 0x0},_0x376484=_0xc194f9?{'from':{'shapeId':_0x137337[_0x548e3b(0x16d)],'cxnIndex':_0x137337[_0x548e3b(0x17b)]}}:{'to':{'shapeId':_0x137337[_0x548e3b(0x16d)],'cxnIndex':_0x137337[_0x548e3b(0x17b)]}};_0x4d970b[_0x548e3b(0xb2)]({'id':_0x24f5f2['id'],'params':{'unitId':_0xaed7d7,'subUnitId':_0x1642b3,'shapeId':_0x43a3f8,'shapeData':{'relation':_0x5e261a}}}),_0x5cccb7[_0x548e3b(0xb2)]({'id':_0x24f5f2['id'],'params':{'unitId':_0xaed7d7,'subUnitId':_0x1642b3,'shapeId':_0x43a3f8,'shapeData':{'relation':_0x376484}}});}}),{'preRedos':_0x4d970b,'redos':[],'preUndos':[],'undos':_0x5cccb7};}if(_0x2ea503['id']===_0x5d1f1e[_0x451cab(0x183)]['id']){let {drawings:_0x14f393}=_0x2ea503[_0x451cab(0x17c)],_0x25054a=_0x14f393['filter'](_0x148d7a=>_0x148d7a[_0x451cab(0x12e)]===_0x18e20a[_0x451cab(0x167)][_0x451cab(0x125)]);if(_0x25054a[_0x451cab(0x1a6)]===0x0)return{'preRedos':[],'redos':[],'preUndos':[],'undos':[]};let _0x45cf1b=[],_0x41435e=[];for(let _0x4f9e0b of _0x25054a){let {unitId:_0x218d86,subUnitId:_0x334729,drawingId:_0x258711,transform:_0x203ccd}=_0x4f9e0b;if(!_0x218d86||!_0x334729||!_0x258711||!_0x203ccd)continue;let _0x4ae1bd=this[_0x451cab(0xf1)][_0x451cab(0xec)](_0x218d86,_0x334729,_0x258711);if(!_0x4ae1bd)throw TypeError('Fail\x20to\x20get\x20shape\x20model,\x20get:\x20'+_0x4ae1bd);if((0x0,_0x2173a2['isConnectorShape'])(_0x4ae1bd[_0x451cab(0xc8)]())){let _0xafae92=this[_0x451cab(0xf1)][_0x451cab(0xcd)](_0x218d86,_0x334729,_0x258711);_0xafae92&&(_0x45cf1b[_0x451cab(0xb2)]({'id':_0x24f5f2['id'],'params':{'unitId':_0x218d86,'subUnitId':_0x334729,'shapeId':_0x258711,'shapeData':{'relation':{'from':void 0x0,'to':void 0x0}}}}),_0x41435e[_0x451cab(0xb2)]({'id':_0x24f5f2['id'],'params':{'unitId':_0x218d86,'subUnitId':_0x334729,'shapeId':_0x258711,'shapeData':{'relation':_0xafae92}}}));}else{let _0x409e0c=this[_0x451cab(0xf1)][_0x451cab(0x18d)](_0x218d86,_0x334729,_0x258711);if(_0x409e0c&&_0x409e0c[_0x451cab(0x1a6)]>0x0)for(let _0x149454 of _0x409e0c){let _0x41ec20=_0x149454[_0x451cab(0x102)],_0x16d2a8=_0x149454[_0x451cab(0x123)],_0x45f4cd=this[_0x451cab(0xf1)]['getShapeModel'](_0x218d86,_0x334729,_0x41ec20);if(!_0x45f4cd)continue;let _0xcb3a24=_0x45f4cd['getStartConnectInfo'](),_0x322ed0=_0x45f4cd[_0x451cab(0x12c)]();_0xcb3a24&&_0x322ed0?this[_0x451cab(0x195)](_0x218d86,_0x334729,_0x41ec20,_0x45f4cd,_0xcb3a24,_0x322ed0,_0x45cf1b,_0x41435e,_0x258711,_0x203ccd):this['_addLineFollowShapeUpdates'](_0x218d86,_0x334729,_0x41ec20,_0x45f4cd,_0x16d2a8?_0xcb3a24:_0x322ed0,_0x16d2a8,_0x45cf1b,_0x41435e,_0x258711,_0x203ccd);}}}return{'preRedos':[],'redos':_0x45cf1b,'preUndos':_0x41435e,'undos':[]};}return{'preRedos':[],'redos':[],'preUndos':[],'undos':[]};}}));}['_getConnectPointInfo'](_0x3f7927,_0x4c44ac,_0x58037f,_0x46e0bc,_0x3d51fd){const _0x304d30=_0xaee12;if(!_0x4c44ac||!_0x58037f)return null;let {shapeId:_0x23e6de,cxnIndex:_0x2f6501}=_0x3f7927,_0x55fefa=this[_0x304d30(0xf1)][_0x304d30(0xec)](_0x4c44ac,_0x58037f,_0x23e6de);if(!_0x55fefa)return null;let _0x48703d=this[_0x304d30(0xba)][_0x304d30(0x1a3)]({'unitId':_0x4c44ac,'subUnitId':_0x58037f,'drawingId':_0x23e6de});if(!(_0x48703d!=null&&_0x48703d[_0x304d30(0xce)]))return null;let {left:_0x46a8d8=0x0,top:_0x546ef1=0x0,width:_0x51d757=0x0,height:_0x2911fd=0x0,flipX:_0xc7fc65=!0x1,flipY:_0x268bb4=!0x1,angle:_0x16c9b6}=_0x48703d['transform'];if(_0x3d51fd&&_0x46e0bc===_0x23e6de){var _0x2d87ea,_0x413aba,_0x315111,_0x29b873,_0x1a0c34,_0x59e7ad,_0x32c523;_0x46a8d8=(_0x2d87ea=_0x3d51fd[_0x304d30(0x118)])==null?_0x46a8d8:_0x2d87ea,_0x546ef1=(_0x413aba=_0x3d51fd['top'])==null?_0x546ef1:_0x413aba,_0x51d757=(_0x315111=_0x3d51fd[_0x304d30(0x10e)])==null?_0x51d757:_0x315111,_0x2911fd=(_0x29b873=_0x3d51fd[_0x304d30(0x162)])==null?_0x2911fd:_0x29b873,_0xc7fc65=(_0x1a0c34=_0x3d51fd[_0x304d30(0x113)])==null?_0xc7fc65:_0x1a0c34,_0x268bb4=(_0x59e7ad=_0x3d51fd[_0x304d30(0x17f)])==null?_0x268bb4:_0x59e7ad,_0x16c9b6=(_0x32c523=_0x3d51fd[_0x304d30(0x1b4)])==null?_0x16c9b6:_0x32c523;}_0x55fefa['updateContext']({'width':_0x51d757,'height':_0x2911fd});let _0x37a986=_0x55fefa[_0x304d30(0x161)]()[_0x304d30(0xfb)](_0x4f3b9f=>_0x4f3b9f[_0x304d30(0x158)]===_0x2f6501);if(!_0x37a986)return null;let _0x53d1ff=_0xc7fc65?_0x51d757-_0x37a986['x']:_0x37a986['x'],_0x241c28=_0x268bb4?_0x2911fd-_0x37a986['y']:_0x37a986['y'];if(_0x16c9b6!==0x0&&_0x16c9b6!=null){let _0x1c935c=_0x16c9b6*Math['PI']/0xb4,_0x1e920f=Math[_0x304d30(0x111)](_0x1c935c),_0x5e3965=Math[_0x304d30(0x168)](_0x1c935c),_0x169f6d=_0x51d757/0x2,_0x1ce923=_0x2911fd/0x2,_0x44c29b=_0x53d1ff-_0x169f6d,_0x5b46eb=_0x241c28-_0x1ce923;_0x53d1ff=_0x169f6d+_0x44c29b*_0x1e920f-_0x5b46eb*_0x5e3965,_0x241c28=_0x1ce923+_0x44c29b*_0x5e3965+_0x5b46eb*_0x1e920f;}_0x53d1ff+=_0x46a8d8,_0x241c28+=_0x546ef1;let _0x501894=_0x37a986[_0x304d30(0x16e)]/0xea60;_0xc7fc65&&(_0x501894=0xb4-_0x501894),_0x268bb4&&(_0x501894=-_0x501894),_0x501894+=_0x16c9b6||0x0,_0x501894=(_0x501894%0x168+0x168)%0x168;let _0x188bce=(0x0,_0x2173a2[_0x304d30(0x190)])({'left':_0x46a8d8,'top':_0x546ef1,'width':_0x51d757,'height':_0x2911fd},_0x16c9b6||0x0);return{'point':{'x':_0x53d1ff,'y':_0x241c28},'angle':_0x501894,'bounds':_0x188bce};}['_addLineRerouteUpdates'](_0x4c92f2,_0x2335a8,_0x16fbba,_0x990a38,_0x2c90a0,_0x5d0f07,_0x3b70ed,_0x19ad92,_0x53bea2,_0x325937){const _0x95fab6=_0xaee12;let _0x266e30=this[_0x95fab6(0x170)][_0x95fab6(0x127)](_0x4c92f2,_0x2335a8);if(!_0x266e30)return;let _0x5b03a3=_0x990a38[_0x95fab6(0xe8)](),_0xccf032=_0x990a38[_0x95fab6(0xde)](),_0x3830f6={},_0x2c1172={};_0xccf032[_0x95fab6(0x128)](_0xacff30=>{const _0x339b96=_0x95fab6;let _0x478e13=_0x990a38[_0x339b96(0x197)](_0xacff30);_0x2c1172[_0xacff30]=_0x478e13==null?0x0:_0x478e13;});let _0x56379d=this[_0x95fab6(0x104)](_0x2c90a0,_0x4c92f2,_0x2335a8,_0x53bea2,_0x325937),_0x4b492e=this[_0x95fab6(0x104)](_0x5d0f07,_0x4c92f2,_0x2335a8,_0x53bea2,_0x325937);if(_0x56379d&&_0x4b492e){let _0x31c830=_0x990a38[_0x95fab6(0xc8)](),_0x36c628=(0x0,_0x2173a2[_0x95fab6(0x13e)])(_0x56379d,_0x4b492e,_0x31c830),_0x413996=_0x31c830;if(_0x36c628){let _0x329620=(0x0,_0x2173a2[_0x95fab6(0x165)])(_0x36c628,_0x990a38[_0x95fab6(0xc8)]()),_0x317bea=this['_drawingManagerService'][_0x95fab6(0x105)](_0x4c92f2,_0x2335a8);if(_0x317bea&&_0x317bea[_0x16fbba]){let _0x9eebed=_0x317bea[_0x16fbba];_0x413996=_0x329620[_0x95fab6(0xc5)];for(let [_0x488671,_0x1fc655]of Object[_0x95fab6(0xd7)](_0x329620[_0x95fab6(0x1ac)]))_0x3830f6[_0x488671]=_0x1fc655;let _0x39733c={..._0x9eebed['transform'],'width':_0x329620[_0x95fab6(0x199)][_0x95fab6(0x10e)],'height':_0x329620[_0x95fab6(0x199)]['height'],'left':_0x329620[_0x95fab6(0x199)][_0x95fab6(0x118)],'top':_0x329620['worldRect']['top'],'flipX':_0x329620['worldRect'][_0x95fab6(0x113)],'flipY':_0x329620[_0x95fab6(0x199)][_0x95fab6(0x17f)],'angle':_0x329620[_0x95fab6(0x189)]},_0x3907a2=(0x0,_0x5d1f1e[_0x95fab6(0x174)])(_0x39733c,_0x266e30),_0x339db9=(0x0,_0x5d1f1e['transformToAxisAlignPosition'])(_0x39733c,_0x266e30),_0x5ee1fe={'unitId':_0x4c92f2,'subUnitId':_0x2335a8,'drawingType':_0x18e20a['DrawingTypeEnum'][_0x95fab6(0x125)],'drawingId':_0x16fbba,'transform':_0x39733c,'sheetTransform':_0x3907a2,'axisAlignSheetTransform':_0x339db9},{unitId:_0x7c5891,subUnitId:_0x491ad9,undo:_0x522f66,redo:_0x56b7e5,objects:_0x320f03}=this[_0x95fab6(0xba)][_0x95fab6(0xe1)]([_0x5ee1fe]);_0x3b70ed[_0x95fab6(0xb2)]({'id':_0x5d1f1e[_0x95fab6(0x131)]['id'],'params':{'unitId':_0x7c5891,'subUnitId':_0x491ad9,'op':_0x56b7e5,'objects':_0x320f03,'type':_0x5d1f1e[_0x95fab6(0x130)][_0x95fab6(0x110)]}}),_0x19ad92[_0x95fab6(0xb2)]({'id':_0x5d1f1e[_0x95fab6(0x131)]['id'],'params':{'unitId':_0x7c5891,'subUnitId':_0x491ad9,'op':_0x522f66,'objects':_0x320f03,'type':_0x5d1f1e[_0x95fab6(0x130)][_0x95fab6(0x110)]}});}_0x990a38['removeLinePoints']();}_0x3b70ed[_0x95fab6(0xb2)]({'id':_0x24f5f2['id'],'params':{'unitId':_0x4c92f2,'subUnitId':_0x2335a8,'shapeId':_0x16fbba,'shapeType':_0x413996,'shapeData':{'adjustValues':_0x3830f6,'relation':_0x5b03a3}}}),_0x19ad92[_0x95fab6(0xb2)]({'id':_0x24f5f2['id'],'params':{'unitId':_0x4c92f2,'subUnitId':_0x2335a8,'shapeId':_0x16fbba,'shapeType':_0x31c830,'shapeData':{'adjustValues':_0x2c1172,'relation':_0x5b03a3}}});}}['_addLineFollowShapeUpdates'](_0xc34686,_0x5da48f,_0x1928ff,_0x15e612,_0x3dd548,_0x508e17,_0xef98b2,_0x73d8e6,_0x1237e2,_0x45420d){const _0x3c00d8=_0xaee12;var _0x126183;if(!_0x3dd548)return;let _0x562eba=this[_0x3c00d8(0x170)][_0x3c00d8(0x127)](_0xc34686,_0x5da48f);if(!_0x562eba)return;let _0x72e2c5=(_0x126183=this['_drawingManagerService'][_0x3c00d8(0x1a3)]({'unitId':_0xc34686,'subUnitId':_0x5da48f,'drawingId':_0x1237e2}))==null?void 0x0:_0x126183[_0x3c00d8(0xce)];if(!_0x72e2c5)return;let _0x321453=_0x72e2c5[_0x3c00d8(0x118)]!==_0x45420d[_0x3c00d8(0x118)]||_0x72e2c5[_0x3c00d8(0x12a)]!==_0x45420d[_0x3c00d8(0x12a)],_0x1992d7=_0x72e2c5[_0x3c00d8(0x10e)]!==_0x45420d[_0x3c00d8(0x10e)]||_0x72e2c5[_0x3c00d8(0x162)]!==_0x45420d[_0x3c00d8(0x162)],_0x560cd5=_0x72e2c5[_0x3c00d8(0x113)]!==_0x45420d['flipX']||_0x72e2c5[_0x3c00d8(0x17f)]!==_0x45420d[_0x3c00d8(0x17f)],_0x134ec5=_0x72e2c5[_0x3c00d8(0x1b4)]!==_0x45420d[_0x3c00d8(0x1b4)];if(_0x321453&&!_0x1992d7&&!_0x560cd5&&!_0x134ec5){var _0x19926d,_0x342b87,_0x149e22,_0x48d98a;let _0x2f9dda=((_0x19926d=_0x45420d[_0x3c00d8(0x118)])==null?0x0:_0x19926d)-((_0x342b87=_0x72e2c5[_0x3c00d8(0x118)])==null?0x0:_0x342b87),_0x2d6531=((_0x149e22=_0x45420d['top'])==null?0x0:_0x149e22)-((_0x48d98a=_0x72e2c5[_0x3c00d8(0x12a)])==null?0x0:_0x48d98a),_0x39c6c2=this[_0x3c00d8(0xba)]['getDrawingData'](_0xc34686,_0x5da48f);if(_0x39c6c2&&_0x39c6c2[_0x1928ff]){var _0x5d63fe,_0x5e59c0,_0x3544db,_0x21a40f;let _0x33602b=_0x39c6c2[_0x1928ff],_0x2ebfa2={..._0x33602b[_0x3c00d8(0xce)],'left':((_0x5d63fe=(_0x5e59c0=_0x33602b[_0x3c00d8(0xce)])==null?void 0x0:_0x5e59c0['left'])==null?0x0:_0x5d63fe)+_0x2f9dda,'top':((_0x3544db=(_0x21a40f=_0x33602b[_0x3c00d8(0xce)])==null?void 0x0:_0x21a40f['top'])==null?0x0:_0x3544db)+_0x2d6531},_0xc443e8=(0x0,_0x5d1f1e['transformToDrawingPosition'])(_0x2ebfa2,_0x562eba),_0x2a31b5=(0x0,_0x5d1f1e[_0x3c00d8(0x13b)])(_0x2ebfa2,_0x562eba),_0x44c93a={'unitId':_0xc34686,'subUnitId':_0x5da48f,'drawingType':_0x18e20a[_0x3c00d8(0x167)][_0x3c00d8(0x125)],'drawingId':_0x1928ff,'transform':_0x2ebfa2,'sheetTransform':_0xc443e8,'axisAlignSheetTransform':_0x2a31b5},{unitId:_0x2ed909,subUnitId:_0x59dd2e,undo:_0x4a3fbb,redo:_0x1013b1,objects:_0x177454}=this[_0x3c00d8(0xba)]['getBatchUpdateOp']([_0x44c93a]);_0xef98b2[_0x3c00d8(0xb2)]({'id':_0x5d1f1e[_0x3c00d8(0x131)]['id'],'params':{'unitId':_0x2ed909,'subUnitId':_0x59dd2e,'op':_0x1013b1,'objects':_0x177454,'type':_0x5d1f1e[_0x3c00d8(0x130)][_0x3c00d8(0x110)]}}),_0x73d8e6['push']({'id':_0x5d1f1e['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x2ed909,'subUnitId':_0x59dd2e,'op':_0x4a3fbb,'objects':_0x177454,'type':_0x5d1f1e[_0x3c00d8(0x130)]['UPDATE']}});}}else{let _0x5a0152=_0x15e612['getStartConnectInfo'](),_0x1df968=_0x15e612[_0x3c00d8(0x12c)]();this['_addLineRerouteUpdates'](_0xc34686,_0x5da48f,_0x1928ff,_0x15e612,_0x5a0152,_0x1df968,_0xef98b2,_0x73d8e6,_0x1237e2,_0x45420d);}}};_0x3cb01c=_0x405ec8([_0x489fa5(0x0,_0x18e20a[_0xaee12(0x14c)]),_0x489fa5(0x1,(0x0,_0x18e20a[_0xaee12(0xb8)])(_0x1b7374['SheetInterceptorService'])),_0x489fa5(0x2,(0x0,_0x18e20a[_0xaee12(0xb8)])(_0x1b7374[_0xaee12(0x19d)])),_0x489fa5(0x3,(0x0,_0x18e20a[_0xaee12(0xb8)])(_0x35e5f3)),_0x489fa5(0x4,(0x0,_0x18e20a['Inject'])(_0x11cfd0[_0xaee12(0x187)])),_0x489fa5(0x5,(0x0,_0x18e20a['Inject'])(_0x2173a2[_0xaee12(0x149)])),_0x489fa5(0x6,(0x0,_0x18e20a[_0xaee12(0xb8)])(_0x16fdac))],_0x3cb01c);let _0xc2fbb8=class extends _0x18e20a[_0xaee12(0xc2)]{constructor(_0x502b04,_0xdca533,_0xfd4d49){const _0x50c968=_0xaee12;super(),this[_0x50c968(0x163)]=_0x502b04,this['_shapeAdapter']=_0xdca533,this[_0x50c968(0xdc)](_0xfd4d49[_0x50c968(0xc0)](this));}[_0xaee12(0xce)](_0x4a62a7){const _0x6aaa8f=_0xaee12;let _0x4cad19={'preRedos':[],'redos':[],'preUndos':[],'undos':[]};this[_0x6aaa8f(0x11d)](_0x4a62a7,_0x4cad19);for(let [_0x2e5479,_0x35a3a0]of _0x4a62a7[_0x6aaa8f(0xf2)])this[_0x6aaa8f(0x154)](_0x4a62a7,_0x2e5479,_0x35a3a0,_0x4cad19);return _0x4cad19;}[_0xaee12(0x11d)](_0x5affc8,_0x50d867){const _0x3c53a0=_0xaee12;if(_0x5affc8[_0x3c53a0(0x173)]==='command')for(let _0x3e447d of _0x5affc8[_0x3c53a0(0xfd)]){let _0x556da0=_0x5affc8['originals']['get'](_0x3e447d),_0x5f3a8f=this[_0x3c53a0(0x163)][_0x3c53a0(0xec)](_0x5affc8[_0x3c53a0(0xdd)],_0x5affc8[_0x3c53a0(0x17d)],_0x3e447d);(_0x556da0==null?void 0x0:_0x556da0['drawingType'])!==_0x18e20a[_0x3c53a0(0x167)]['DRAWING_SHAPE']||!_0x5f3a8f||(_0x50d867['preRedos']['push']({'id':_0x3f7340['id'],'params':{'unitId':_0x5affc8[_0x3c53a0(0xdd)],'subUnitId':_0x5affc8['subUnitId'],'shapeId':_0x3e447d}}),_0x50d867[_0x3c53a0(0xc1)][_0x3c53a0(0xb2)]({'id':_0x4098bd['id'],'params':{'unitId':_0x5affc8[_0x3c53a0(0xdd)],'subUnitId':_0x5affc8[_0x3c53a0(0x17d)],'shapeId':_0x3e447d,'shapeName':_0x5f3a8f[_0x3c53a0(0xe4)](),'shapeType':_0x5f3a8f['getShapeType'](),'shapeData':_0x18e20a[_0x3c53a0(0xd0)]['deepClone'](_0x5f3a8f[_0x3c53a0(0xb3)]())}}));}}[_0xaee12(0x154)](_0x5d68f4,_0x76c307,_0x4792a1,_0x759b6d){const _0x1f2ad1=_0xaee12;var _0x30c5db,_0x5bb9d8,_0x523a7b;if(_0x4792a1[_0x1f2ad1(0x12e)]!==_0x18e20a[_0x1f2ad1(0x167)][_0x1f2ad1(0x125)]||_0x5d68f4['deletes'][_0x1f2ad1(0x178)](_0x76c307))return;let _0x364a91=this[_0x1f2ad1(0x163)]['getShapeModel'](_0x5d68f4[_0x1f2ad1(0xdd)],_0x5d68f4[_0x1f2ad1(0x17d)],_0x76c307);if(!_0x364a91||!(0x0,_0x2173a2[_0x1f2ad1(0xf5)])(_0x364a91[_0x1f2ad1(0xc8)]()))return;let _0x5d4587=_0x364a91['getShapeRelation']();if(!(_0x5d68f4[_0x1f2ad1(0x169)]['has'](_0x76c307)||_0x5d4587!=null&&_0x5d4587[_0x1f2ad1(0xf9)]&&(_0x5d68f4[_0x1f2ad1(0x169)]['has'](_0x5d4587[_0x1f2ad1(0xf9)][_0x1f2ad1(0x16d)])||_0x5d68f4[_0x1f2ad1(0xfd)][_0x1f2ad1(0x178)](_0x5d4587[_0x1f2ad1(0xf9)]['shapeId']))||_0x5d4587!=null&&_0x5d4587['to']&&(_0x5d68f4[_0x1f2ad1(0x169)]['has'](_0x5d4587['to']['shapeId'])||_0x5d68f4[_0x1f2ad1(0xfd)]['has'](_0x5d4587['to'][_0x1f2ad1(0x16d)]))))return;let _0x4d37fa=(_0x30c5db=_0x5d68f4[_0x1f2ad1(0x169)][_0x1f2ad1(0xc4)](_0x76c307))==null?_0x4792a1:_0x30c5db,_0x3dd708=this[_0x1f2ad1(0xd2)](_0x5d68f4,_0x4d37fa);if(!_0x3dd708)return;let _0x4f927b=(0x0,_0x2173a2['resolveConnectorRoutePoints'])(_0x3dd708);if(_0x4f927b[_0x1f2ad1(0x1a6)]<0x2)return;let _0x21e5c6=_0x18e20a[_0x1f2ad1(0xd0)][_0x1f2ad1(0xb1)](_0x5d4587==null?{}:_0x5d4587),_0x57acb9=_0x21e5c6[_0x1f2ad1(0xf9)]&&this[_0x1f2ad1(0x116)](_0x5d68f4,_0x21e5c6[_0x1f2ad1(0xf9)][_0x1f2ad1(0x16d)],_0x21e5c6['from'][_0x1f2ad1(0x17b)]),_0x4a5f97=_0x21e5c6['to']&&this[_0x1f2ad1(0x116)](_0x5d68f4,_0x21e5c6['to'][_0x1f2ad1(0x16d)],_0x21e5c6['to']['cxnIndex']);_0x21e5c6[_0x1f2ad1(0xf9)]&&!_0x57acb9&&delete _0x21e5c6[_0x1f2ad1(0xf9)],_0x21e5c6['to']&&!_0x4a5f97&&delete _0x21e5c6['to'];let _0x45e1cb=(0x0,_0x2173a2['buildConnectorEndpointUpdate'])(_0x3dd708,_0x57acb9||(0x0,_0x2173a2[_0x1f2ad1(0x16b)])((_0x5bb9d8=_0x4a5f97==null?void 0x0:_0x4a5f97['point'])==null?_0x4f927b['at'](-0x1):_0x5bb9d8,_0x4f927b[0x0]),_0x4a5f97||(0x0,_0x2173a2[_0x1f2ad1(0x16b)])((_0x523a7b=_0x57acb9==null?void 0x0:_0x57acb9['point'])==null?_0x4f927b[0x0]:_0x523a7b,_0x4f927b['at'](-0x1)),_0x21e5c6);if(!(!(_0x45e1cb!=null&&_0x45e1cb[_0x1f2ad1(0xce)])||!_0x45e1cb['shapeType']||!_0x45e1cb[_0x1f2ad1(0x143)])){if(this['_applyUpdate'](_0x5d68f4,_0x4d37fa,_0x45e1cb),_0x5d68f4[_0x1f2ad1(0x173)]===_0x1f2ad1(0x14e)){_0x364a91[_0x1f2ad1(0xdb)](_0x45e1cb['shapeType']),_0x364a91['setShapeData'](_0x18e20a[_0x1f2ad1(0xd0)][_0x1f2ad1(0xb1)](_0x45e1cb[_0x1f2ad1(0x143)]),!0x1);return;}_0x759b6d[_0x1f2ad1(0x146)][_0x1f2ad1(0xb2)]({'id':_0x24f5f2['id'],'params':{'unitId':_0x5d68f4[_0x1f2ad1(0xdd)],'subUnitId':_0x5d68f4['subUnitId'],'shapeId':_0x76c307,'shapeType':_0x45e1cb[_0x1f2ad1(0x1a9)],'shapeData':_0x18e20a[_0x1f2ad1(0xd0)]['deepClone'](_0x45e1cb['shapeData']),'replace':!0x0}}),_0x759b6d[_0x1f2ad1(0xc1)][_0x1f2ad1(0xb2)]({'id':_0x24f5f2['id'],'params':{'unitId':_0x5d68f4[_0x1f2ad1(0xdd)],'subUnitId':_0x5d68f4[_0x1f2ad1(0x17d)],'shapeId':_0x76c307,'shapeType':_0x364a91[_0x1f2ad1(0xc8)](),'shapeData':_0x18e20a[_0x1f2ad1(0xd0)][_0x1f2ad1(0xb1)](_0x364a91['getShapeData']()),'replace':!0x0}});}}[_0xaee12(0x116)](_0x50e4b6,_0x4acbf6,_0x1e3391){const _0x54f36c=_0xaee12;var _0x49d0a2;if(_0x50e4b6['deletes'][_0x54f36c(0x178)](_0x4acbf6))return null;let _0x645ea9=(_0x49d0a2=_0x50e4b6[_0x54f36c(0x169)][_0x54f36c(0xc4)](_0x4acbf6))==null?_0x50e4b6['originals'][_0x54f36c(0xc4)](_0x4acbf6):_0x49d0a2;if(!_0x645ea9)return null;let _0x2ac69c=this[_0x54f36c(0xd2)](_0x50e4b6,_0x645ea9);return _0x2ac69c?(0x0,_0x2173a2[_0x54f36c(0x132)])(_0x2ac69c,_0x1e3391):null;}[_0xaee12(0xd2)](_0x4cbf97,_0x4712d1){const _0x2c4dd8=_0xaee12;var _0x4655eb,_0x56998b,_0x448d45,_0x235b41,_0x5b698d,_0x185183,_0x588fe2;let _0x2ceefa={'hostType':_0x18e20a[_0x2c4dd8(0x172)]['UNIVER_SHEET'],'unitId':_0x4cbf97[_0x2c4dd8(0xdd)],'subUnitId':_0x4cbf97[_0x2c4dd8(0x17d)],'shapeId':_0x4712d1[_0x2c4dd8(0x122)]},_0x39428c=this[_0x2c4dd8(0x1ab)]['getShape'](_0x2ceefa);return!_0x39428c||!_0x4712d1[_0x2c4dd8(0xce)]?null:{..._0x39428c,'transform':{'left':(_0x4655eb=_0x4712d1[_0x2c4dd8(0xce)][_0x2c4dd8(0x118)])==null?0x0:_0x4655eb,'top':(_0x56998b=_0x4712d1[_0x2c4dd8(0xce)][_0x2c4dd8(0x12a)])==null?0x0:_0x56998b,'width':(_0x448d45=_0x4712d1['transform'][_0x2c4dd8(0x10e)])==null?0x0:_0x448d45,'height':(_0x235b41=_0x4712d1[_0x2c4dd8(0xce)][_0x2c4dd8(0x162)])==null?0x0:_0x235b41,'rotation':(_0x5b698d=_0x4712d1[_0x2c4dd8(0xce)][_0x2c4dd8(0x1b4)])==null?0x0:_0x5b698d,'flipX':(_0x185183=_0x4712d1['transform'][_0x2c4dd8(0x113)])==null?!0x1:_0x185183,'flipY':(_0x588fe2=_0x4712d1[_0x2c4dd8(0xce)][_0x2c4dd8(0x17f)])==null?!0x1:_0x588fe2}};}[_0xaee12(0x157)](_0x4203a3,_0x1ad737,_0x3220bb){const _0x2e8f81=_0xaee12;let _0x59c15b=_0x1ad737,_0x2f727a={..._0x1ad737[_0x2e8f81(0xce)],'left':_0x3220bb['transform'][_0x2e8f81(0x118)],'top':_0x3220bb[_0x2e8f81(0xce)][_0x2e8f81(0x12a)],'width':_0x3220bb['transform'][_0x2e8f81(0x10e)],'height':_0x3220bb[_0x2e8f81(0xce)]['height'],'angle':_0x3220bb[_0x2e8f81(0xce)][_0x2e8f81(0x189)],'flipX':_0x3220bb['transform'][_0x2e8f81(0x113)],'flipY':_0x3220bb[_0x2e8f81(0xce)][_0x2e8f81(0x17f)]},_0x56d7ea={..._0x59c15b,'transform':_0x2f727a,'sheetTransform':(0x0,_0x5d1f1e[_0x2e8f81(0x174)])(_0x2f727a,_0x4203a3[_0x2e8f81(0x1b5)]),'axisAlignSheetTransform':(0x0,_0x5d1f1e['transformToAxisAlignPosition'])(_0x2f727a,_0x4203a3['skeleton']),'data':{..._0x59c15b[_0x2e8f81(0x152)],'shapeType':_0x3220bb['shapeType'],'shapeData':_0x18e20a[_0x2e8f81(0xd0)][_0x2e8f81(0xb1)](_0x3220bb[_0x2e8f81(0x143)])}};_0x4203a3[_0x2e8f81(0x169)][_0x2e8f81(0xb4)](_0x1ad737[_0x2e8f81(0x122)],_0x56d7ea);}};_0xc2fbb8=_0x405ec8([_0x489fa5(0x0,(0x0,_0x18e20a[_0xaee12(0xb8)])(_0x35e5f3)),_0x489fa5(0x1,(0x0,_0x18e20a[_0xaee12(0xb8)])(_0x16fdac)),_0x489fa5(0x2,(0x0,_0x18e20a[_0xaee12(0xb8)])(_0x5d1f1e[_0xaee12(0xc7)]))],_0xc2fbb8);let _0x4e1095=class extends _0x18e20a[_0xaee12(0x115)]{constructor(_0x391d7e=_0x15d9cc,_0x57d682,_0x444cba){const _0x220dce=_0xaee12;super(),this[_0x220dce(0xe7)]=_0x391d7e,this[_0x220dce(0x184)]=_0x57d682,this[_0x220dce(0xe3)]=_0x444cba;let {..._0x6530d2}=(0x0,_0x18e20a[_0x220dce(0x147)])({},_0x15d9cc,this[_0x220dce(0xe7)]);this[_0x220dce(0xe3)][_0x220dce(0x1b2)](_0x220dce(0x194),_0x6530d2);}['onStarting'](){const _0x5ad3fb=_0xaee12;let _0x5d6368=this[_0x5ad3fb(0x184)];[[_0xbbac7c],[_0x35e5f3],[_0x16fdac],[_0xc2fbb8],[_0x3cb01c]]['forEach'](_0xdfc4a3=>_0x5d6368['add'](_0xdfc4a3)),(0x0,_0x18e20a[_0x5ad3fb(0x136)])(_0x5d6368,[[_0x35e5f3],[_0xc2fbb8],[_0x3cb01c]]);}};_0x3e3f02(_0x4e1095,_0xaee12(0x179),_0x18e20a['UniverInstanceType'][_0xaee12(0x1af)]),_0x3e3f02(_0x4e1095,_0xaee12(0x193),_0xaee12(0x16c)),_0x3e3f02(_0x4e1095,'packageName',_0x5d12a2),_0x3e3f02(_0x4e1095,'version',_0x5dadde),_0x4e1095=_0x405ec8([(0x0,_0x18e20a[_0xaee12(0xe6)])(_0x3de8d6[_0xaee12(0x138)],_0x2173a2[_0xaee12(0x151)],_0x5d1f1e['UniverSheetsDrawingPlugin']),_0x489fa5(0x1,(0x0,_0x18e20a[_0xaee12(0xb8)])(_0x18e20a['Injector'])),_0x489fa5(0x2,_0x18e20a[_0xaee12(0x166)])],_0x4e1095),_0x5c1a39['DEFAULT_SHAPE_HEIGHT']=0xc8,_0x5c1a39['DEFAULT_SHAPE_WIDTH']=0xc8,_0x5c1a39[_0xaee12(0x11f)]=_0x3b22d9,_0x5c1a39[_0xaee12(0x153)]=_0x4098bd,_0x5c1a39[_0xaee12(0xd1)]=_0x3f7340,_0x5c1a39[_0xaee12(0x14a)]=_0x39a5ab,_0x5c1a39[_0xaee12(0x1ad)]=_0x48e680,_0x5c1a39['SetSheetsShapeTextVerticalToggleCommand']=_0x2f202a,Object[_0xaee12(0xc9)](_0x5c1a39,_0xaee12(0x101),{'enumerable':!0x0,'get':function(){return _0x35e5f3;}}),_0x5c1a39['ToggleSheetsShapeFlipCommand']=_0x2222a1,Object[_0xaee12(0xc9)](_0x5c1a39,_0xaee12(0x10d),{'enumerable':!0x0,'get':function(){return _0x4e1095;}}),_0x5c1a39[_0xaee12(0x171)]=_0x210462,_0x5c1a39[_0xaee12(0xb5)]=_0x2bfa29,_0x5c1a39[_0xaee12(0x1b1)]=_0x24f5f2,_0x5c1a39[_0xaee12(0x18c)]=_0x514889;}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/sheets-shape",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Shape and drawing model integration for Univer Sheets.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -58,18 +58,18 @@
|
|
|
58
58
|
"lib"
|
|
59
59
|
],
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@univerjs-pro/
|
|
62
|
-
"@univerjs
|
|
63
|
-
"@univerjs/
|
|
64
|
-
"@univerjs/
|
|
65
|
-
"@univerjs/
|
|
66
|
-
"@univerjs/sheets-drawing": "1.0.0-alpha.
|
|
61
|
+
"@univerjs-pro/engine-shape": "1.0.0-alpha.7",
|
|
62
|
+
"@univerjs/core": "1.0.0-alpha.7",
|
|
63
|
+
"@univerjs/drawing": "1.0.0-alpha.7",
|
|
64
|
+
"@univerjs-pro/license": "1.0.0-alpha.7",
|
|
65
|
+
"@univerjs/sheets": "1.0.0-alpha.7",
|
|
66
|
+
"@univerjs/sheets-drawing": "1.0.0-alpha.7"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"typescript": "^6.0.3",
|
|
70
70
|
"vitest": "^4.1.10",
|
|
71
|
-
"@univerjs/
|
|
72
|
-
"@univerjs-
|
|
71
|
+
"@univerjs-infra/shared": "1.0.0-alpha.7",
|
|
72
|
+
"@univerjs/engine-render": "1.0.0-alpha.7"
|
|
73
73
|
},
|
|
74
74
|
"scripts": {
|
|
75
75
|
"test": "vitest run",
|