@univerjs-pro/sheets-shape-ui 0.17.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/sk-SK.js +1 -1
  12. package/lib/cjs/locale/vi-VN.js +1 -1
  13. package/lib/cjs/locale/zh-CN.js +1 -1
  14. package/lib/cjs/locale/zh-TW.js +1 -1
  15. package/lib/es/facade.js +1 -1
  16. package/lib/es/index.js +1 -1
  17. package/lib/es/locale/ca-ES.js +1 -1
  18. package/lib/es/locale/en-US.js +1 -1
  19. package/lib/es/locale/es-ES.js +1 -1
  20. package/lib/es/locale/fa-IR.js +1 -1
  21. package/lib/es/locale/fr-FR.js +1 -1
  22. package/lib/es/locale/ja-JP.js +1 -1
  23. package/lib/es/locale/ko-KR.js +1 -1
  24. package/lib/es/locale/ru-RU.js +1 -1
  25. package/lib/es/locale/sk-SK.js +1 -1
  26. package/lib/es/locale/vi-VN.js +1 -1
  27. package/lib/es/locale/zh-CN.js +1 -1
  28. package/lib/es/locale/zh-TW.js +1 -1
  29. package/lib/facade.js +1 -1
  30. package/lib/index.css +358 -1
  31. package/lib/index.js +1 -1
  32. package/lib/locale/ca-ES.js +1 -1
  33. package/lib/locale/en-US.js +1 -1
  34. package/lib/locale/es-ES.js +1 -1
  35. package/lib/locale/fa-IR.js +1 -1
  36. package/lib/locale/fr-FR.js +1 -1
  37. package/lib/locale/ja-JP.js +1 -1
  38. package/lib/locale/ko-KR.js +1 -1
  39. package/lib/locale/ru-RU.js +1 -1
  40. package/lib/locale/sk-SK.js +1 -1
  41. package/lib/locale/vi-VN.js +1 -1
  42. package/lib/locale/zh-CN.js +1 -1
  43. package/lib/locale/zh-TW.js +1 -1
  44. package/lib/types/command-util.d.ts +2 -2
  45. package/lib/types/commands/command/add-shape-command.d.ts +3 -3
  46. package/lib/types/commands/command/menu-insert-shape.command.d.ts +2 -2
  47. package/lib/types/commands/command/set-shape-drawing-data-command.d.ts +4 -4
  48. package/lib/types/commands/command/set-shape-fill.command.d.ts +1 -1
  49. package/lib/types/commands/command/set-shape-flip-command.d.ts +2 -2
  50. package/lib/types/commands/command/set-shape-rotate.command.d.ts +2 -2
  51. package/lib/types/commands/command/set-shape-text-align.command.d.ts +1 -1
  52. package/lib/types/commands/command/set-shape-text-style.command.d.ts +1 -1
  53. package/lib/types/commands/command/set-shape-text-vertical-align.command.d.ts +1 -1
  54. package/lib/types/commands/command/shape-doc-align.command.d.ts +1 -1
  55. package/lib/types/commands/command/test-line.shape.command.d.ts +17 -2
  56. package/lib/types/commands/command/update-connector-relation.command.d.ts +18 -3
  57. package/lib/types/commands/command/update-line-shape-resize.command.d.ts +3 -3
  58. package/lib/types/commands/command/update-shape-data-command.d.ts +3 -3
  59. package/lib/types/commands/menu/shape-doc-format.menu.d.ts +4 -2
  60. package/lib/types/commands/menu/shape-fill.menu.d.ts +2 -2
  61. package/lib/types/commands/menu/shape-font-size.menu.d.ts +2 -2
  62. package/lib/types/commands/menu/shape-text-align.menu.d.ts +3 -2
  63. package/lib/types/commands/menu/shape-vertical-align.menu.d.ts +3 -2
  64. package/lib/types/commands/operations/close-shape-panel.operation.d.ts +1 -1
  65. package/lib/types/commands/operations/open-shape-panel.operation.d.ts +1 -1
  66. package/lib/types/controllers/menu.schema.d.ts +1 -1
  67. package/lib/types/controllers/shape-text-editing.render-controller.d.ts +3 -2
  68. package/lib/types/controllers/sheet-basic-shape-connection.controller.d.ts +5 -3
  69. package/lib/types/controllers/sheet-shape-adjust-controller.d.ts +4 -2
  70. package/lib/types/controllers/sheet-shape-clipboard.controller.d.ts +4 -1
  71. package/lib/types/controllers/sheet-shape-connector.controller.d.ts +4 -2
  72. package/lib/types/controllers/sheet-shape-render.controller.d.ts +3 -2
  73. package/lib/types/facade/f-connector-shape.d.ts +4 -3
  74. package/lib/types/facade/f-shape.d.ts +2 -2
  75. package/lib/types/facade/f-worksheet.d.ts +2 -1
  76. package/lib/types/locale/ca-ES.d.ts +1 -1
  77. package/lib/types/locale/es-ES.d.ts +1 -1
  78. package/lib/types/locale/fa-IR.d.ts +1 -1
  79. package/lib/types/locale/fr-FR.d.ts +1 -1
  80. package/lib/types/locale/ja-JP.d.ts +1 -1
  81. package/lib/types/locale/ko-KR.d.ts +1 -1
  82. package/lib/types/locale/ru-RU.d.ts +1 -1
  83. package/lib/types/locale/sk-SK.d.ts +1 -1
  84. package/lib/types/locale/vi-VN.d.ts +1 -1
  85. package/lib/types/locale/zh-CN.d.ts +1 -1
  86. package/lib/types/locale/zh-TW.d.ts +1 -1
  87. package/lib/types/plugin.d.ts +1 -1
  88. package/lib/types/services/shape-text-editing.service.d.ts +3 -2
  89. package/lib/types/types.d.ts +2 -2
  90. package/lib/types/view-model/drawing-shape.d.ts +7 -3
  91. package/lib/types/view-model/shape-data-model.d.ts +1 -1
  92. package/lib/types/view-model/sheet-basic-shape-connection-site-object.d.ts +17 -1
  93. package/lib/types/view-model/sheet-shape-adjust-point-object.d.ts +2 -1
  94. package/lib/types/view-model/sheet-shape-connector-handler-object.d.ts +2 -1
  95. package/lib/types/views/shape-editor-panel/ShapeEditorPanel.d.ts +1 -1
  96. package/lib/types/views/shape-editor-panel/ShapeFillEditor.d.ts +1 -1
  97. package/lib/types/views/shape-editor-panel/ShapeLineEditor.d.ts +1 -1
  98. package/lib/types/views/shape-menu/shape-menu-factory.d.ts +3 -3
  99. package/lib/types/views/shape-text-editor/hooks/use-shape-position.d.ts +3 -3
  100. package/lib/types/views/shape-text-editor/index.d.ts +1 -1
  101. package/lib/types/views/shape-text-editor/position-wrapper.d.ts +2 -2
  102. package/lib/umd/facade.js +1 -1
  103. package/lib/umd/index.js +1 -1
  104. package/lib/umd/locale/ca-ES.js +1 -1
  105. package/lib/umd/locale/en-US.js +1 -1
  106. package/lib/umd/locale/es-ES.js +1 -1
  107. package/lib/umd/locale/fa-IR.js +1 -1
  108. package/lib/umd/locale/fr-FR.js +1 -1
  109. package/lib/umd/locale/ja-JP.js +1 -1
  110. package/lib/umd/locale/ko-KR.js +1 -1
  111. package/lib/umd/locale/ru-RU.js +1 -1
  112. package/lib/umd/locale/sk-SK.js +1 -1
  113. package/lib/umd/locale/vi-VN.js +1 -1
  114. package/lib/umd/locale/zh-CN.js +1 -1
  115. package/lib/umd/locale/zh-TW.js +1 -1
  116. package/package.json +22 -21
@@ -1,4 +1,5 @@
1
- import { IShapeProps, Shape } from '@univerjs/engine-render';
1
+ import type { IShapeProps } from '@univerjs/engine-render';
2
+ import { Shape } from '@univerjs/engine-render';
2
3
  export interface ISheetShapeAdjustPointObjectProps extends IShapeProps {
3
4
  shapeId: string;
4
5
  adjName: string;
@@ -1,4 +1,5 @@
1
- import { IShapeProps, Shape } from '@univerjs/engine-render';
1
+ import type { IShapeProps } from '@univerjs/engine-render';
2
+ import { Shape } from '@univerjs/engine-render';
2
3
  export interface ISheetShapeConnectorHandlerObjectProps extends IShapeProps {
3
4
  shapeId: string;
4
5
  unitId: string;
@@ -1,4 +1,4 @@
1
- import { IShapeData, ShapeTypeEnum } from '@univerjs-pro/engine-shape';
1
+ import type { IShapeData, ShapeTypeEnum } from '@univerjs-pro/engine-shape';
2
2
  interface IShapeEditPanelProps {
3
3
  unitId: string;
4
4
  subUnitId: string;
@@ -1,4 +1,4 @@
1
- import { IShapeData } from '@univerjs-pro/engine-shape';
1
+ import type { IShapeData } from '@univerjs-pro/engine-shape';
2
2
  interface IShapeFillProps {
3
3
  unitId: string;
4
4
  subUnitId: string;
@@ -1,4 +1,4 @@
1
- import { IShapeData } from '@univerjs-pro/engine-shape';
1
+ import type { IShapeData } from '@univerjs-pro/engine-shape';
2
2
  interface IShapeLineProps {
3
3
  unitId: string;
4
4
  subUnitId: string;
@@ -1,6 +1,6 @@
1
- import { ShapeTypeEnum } from '@univerjs-pro/engine-shape';
2
- import { IAccessor } from '@univerjs/core';
3
- import { IMenuButtonItem, IMenuSelectorItem } from '@univerjs/ui';
1
+ import type { ShapeTypeEnum } from '@univerjs-pro/engine-shape';
2
+ import type { IAccessor } from '@univerjs/core';
3
+ import type { IMenuButtonItem, IMenuSelectorItem } from '@univerjs/ui';
4
4
  export interface IShapeTypeOption {
5
5
  label: string;
6
6
  value: ShapeTypeEnum;
@@ -1,6 +1,6 @@
1
- import { IEditingParams } from '../../../services/shape-text-editing.service';
2
- import { Nullable } from '@univerjs/core';
3
- import { Scene, SpreadsheetSkeleton } from '@univerjs/engine-render';
1
+ import type { IEditingParams } from '../../../services/shape-text-editing.service';
2
+ import type { Nullable } from '@univerjs/core';
3
+ import type { Scene, SpreadsheetSkeleton } from '@univerjs/engine-render';
4
4
  export interface IShapePosition {
5
5
  left: number;
6
6
  top: number;
@@ -2,4 +2,4 @@
2
2
  * Main shape text editor container component.
3
3
  * Combines PositionWrapper (first layer) and Editor (second layer).
4
4
  */
5
- export declare const ShapeTextEditorContainer: import('react').MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element | null>;
5
+ export declare const ShapeTextEditorContainer: import("react").MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element | null>;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import type { ReactNode } from 'react';
2
2
  export interface IShapePositionWrapperProps {
3
3
  children: ReactNode;
4
4
  onPositionUpdate?: (position: {
@@ -12,4 +12,4 @@ export interface IShapePositionWrapperProps {
12
12
  * Position wrapper component that handles shape positioning in DOM.
13
13
  * This is the first layer DOM that tracks shape position with scroll.
14
14
  */
15
- export declare const ShapePositionWrapper: import('react').MemoExoticComponent<(props: IShapePositionWrapperProps) => import("react/jsx-runtime").JSX.Element>;
15
+ export declare const ShapePositionWrapper: import("react").MemoExoticComponent<(props: IShapePositionWrapperProps) => import("react/jsx-runtime").JSX.Element>;
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x54a6(_0x37e174,_0x7dee8){_0x37e174=_0x37e174-0x8c;const _0x204caf=_0x204c();let _0x54a668=_0x204caf[_0x37e174];return _0x54a668;}function _0x204c(){const _0x17497c=['drawing-shape','lineStrokeType','ShapeLineDashEnum','ShapeGradientTypeEnum','getUnitId','75thZobT','computeConnectorRouteLayout','setNoneFill','IDrawingManagerService','UniverProSheetsShapeUi','UniverSheetsFacade','setStrokeLineType','executeCommand','IRenderManagerService','symbol','actualColumn','setStartArrowSize','_preloadShapeProperties','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','RemoveSheetDrawingCommand','stroke','removeShape','find','borderEnabled','UniverEngineRender','FEnum','worldRect','lineJoinType','amd','endX','point','gradientAngle','@univerjs/drawing','length','dashType','ShapeFillEnum','isConnectorShape','capType','rotation','rotateEnabled','lineType','getAdjustValueByName','2705610uprvFL','insertShape','getAdjustPoints','flipX','abs','NoFill','_resolveExistingOrFreeEndpoint','@univerjs/core/facade','height','getSheetId','ISheetDrawingService','endY','46120MZaJFX','@univerjs/engine-render','4bomYXn','parse','updateContext','UniverSheetsDrawingUi','relation','stringify','shape','setStrokeLineCapType','actualRow','localToWorld','setHeight','adjustValues','50uOZfXD','@univerjs/sheets-drawing','getRenderById','ShapeLineCapEnum','convertPositionCellToSheetOverGrid','push','fill','getCellWithCoordByOffset','getShapeModel','setEndArrowType','drawingType','@univerjs/sheets-ui','@univerjs-pro/sheets-shape-ui','setWidth','@univerjs/sheets-drawing-ui','_commandService','generateRandomId','setAbsolutePosition','UniverSheetsDrawing','color','getStartConnectInfo','UniverDrawing','ShapeArrowSizeEnum','entries','setEndArrowSize','UniverProSheetsShapeUiFacade','Invalid\x20shape\x20type\x20for\x20connector.\x20Received\x20','top','setShapeType','40121fGcpdT','get','UniverProSheetsShape','getWorkbook','startX','FWorksheet','3384344GNDpTU','409095unawUA','getDrawingPoints','connectionSiteIndex','shapeId','getConnectorLinePoints','DRAWING_SHAPE','FConnectorShape','ShapeLineTypeEnum','ShapeArrowTypeEnum','startY','gradientType','902244YylMvJ','UniverProEngineShape','DrawingTypeEnum','drawId','build','ConnectorCoordinateTransform','endArrow','Shape\x20type\x20is\x20required.\x20Please\x20call\x20setShapeType()\x20before\x20build().','exports','SolidFil','gradientStops','subUnitId','routeConnectorLineShape','1040648KWlVQh','with','width','UniverSheetsUi','getDrawingByParam','left','setStrokeLineDashType','unitId','setPosition','ShapeTypeEnum','cos','newShape','getEndConnectInfo','type','getShapeData','resizeEnabled','ISheetSelectionRenderService','startArrow','getShapeType','getAdjustNames','getSize','connectShapes','fillType','shapeType','GradientFill','SheetSkeletonManagerService','getConnectionSiteList','transform','isLineShape','defineProperty','getShapeRelation','_injector','shapeData','SheetsShapeService','getShapeId','size','getDrawingData','extend',',\x20but\x20expected\x20a\x20connector\x20shape\x20type.','UniverCore','newConnector','getConnectionSites','from','ShapeLineJoinEnum','InsertSheetDrawingCommand','keys','setStrokeColor','setShapeSolidFill'];_0x204c=function(){return _0x17497c;};return _0x204c();}(function(_0x3e9644,_0x327e70){const _0x2715cd=_0x54a6,_0xb2e6f5=_0x3e9644();while(!![]){try{const _0x4694c6=-parseInt(_0x2715cd(0x10f))/0x1*(parseInt(_0x2715cd(0xe6))/0x2)+parseInt(_0x2715cd(0x121))/0x3+parseInt(_0x2715cd(0xe4))/0x4*(-parseInt(_0x2715cd(0xb3))/0x5)+-parseInt(_0x2715cd(0xd8))/0x6+parseInt(_0x2715cd(0x12e))/0x7+parseInt(_0x2715cd(0x115))/0x8+-parseInt(_0x2715cd(0x116))/0x9*(-parseInt(_0x2715cd(0xf2))/0xa);if(_0x4694c6===_0x327e70)break;else _0xb2e6f5['push'](_0xb2e6f5['shift']());}catch(_0x38c051){_0xb2e6f5['push'](_0xb2e6f5['shift']());}}}(_0x204c,0x60953),function(_0x1bc32e,_0x51ae66){const _0x58a5a1=_0x54a6;typeof exports=='object'&&typeof module<'u'?_0x51ae66(exports,require('@univerjs-pro/engine-shape'),require('@univerjs/core/facade'),require('@univerjs-pro/sheets-shape'),require('@univerjs/core'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/sheets-ui'),require('@univerjs-pro/sheets-shape-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets/facade')):typeof define=='function'&&define[_0x58a5a1(0xca)]?define([_0x58a5a1(0x129),'@univerjs-pro/engine-shape',_0x58a5a1(0xdf),'@univerjs-pro/sheets-shape','@univerjs/core',_0x58a5a1(0xce),_0x58a5a1(0xe5),_0x58a5a1(0xfd),_0x58a5a1(0xfe),_0x58a5a1(0xf3),_0x58a5a1(0x100),'@univerjs/sheets/facade'],_0x51ae66):(_0x1bc32e=typeof globalThis<'u'?globalThis:_0x1bc32e||self,_0x51ae66(_0x1bc32e[_0x58a5a1(0x10b)]={},_0x1bc32e[_0x58a5a1(0x122)],_0x1bc32e['UniverCoreFacade'],_0x1bc32e[_0x58a5a1(0x111)],_0x1bc32e[_0x58a5a1(0xa5)],_0x1bc32e[_0x58a5a1(0x107)],_0x1bc32e[_0x58a5a1(0xc6)],_0x1bc32e[_0x58a5a1(0x131)],_0x1bc32e[_0x58a5a1(0xb7)],_0x1bc32e[_0x58a5a1(0x104)],_0x1bc32e[_0x58a5a1(0xe9)],_0x1bc32e[_0x58a5a1(0xb8)]));}(this,function(_0x232497,_0x244168,_0x44d27f,_0x3b37b3,_0x176b5e,_0x1c1b76,_0x3399d6,_0x35d3a5,_0x5765b6,_0x583cf5,_0x46b059,_0x1dd5d5){'use strict';const _0x1d6a12=_0x54a6;var _0x1ec13a=Object[_0x1d6a12(0x9b)],_0x4524df=(_0x9e2e24,_0x553302,_0xb7c920)=>_0x553302 in _0x9e2e24?_0x1ec13a(_0x9e2e24,_0x553302,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb7c920}):_0x9e2e24[_0x553302]=_0xb7c920,_0x19b43d=(_0x118cab,_0x81f7e2,_0xb2e2f2)=>_0x4524df(_0x118cab,typeof _0x81f7e2!=_0x1d6a12(0xbc)?_0x81f7e2+'':_0x81f7e2,_0xb2e2f2);class _0xca9e73 extends _0x44d27f[_0x1d6a12(0xc7)]{get[_0x1d6a12(0x137)](){const _0x2a023=_0x1d6a12;return _0x244168[_0x2a023(0x137)];}get[_0x1d6a12(0xd1)](){const _0x452d25=_0x1d6a12;return _0x244168[_0x452d25(0xd1)];}get[_0x1d6a12(0xb1)](){return _0x244168['ShapeGradientTypeEnum'];}get['ShapeLineTypeEnum'](){const _0x30820b=_0x1d6a12;return _0x244168[_0x30820b(0x11d)];}get[_0x1d6a12(0xb0)](){const _0x16813e=_0x1d6a12;return _0x244168[_0x16813e(0xb0)];}get[_0x1d6a12(0xf5)](){const _0x35a44b=_0x1d6a12;return _0x244168[_0x35a44b(0xf5)];}get[_0x1d6a12(0xa9)](){const _0x159320=_0x1d6a12;return _0x244168[_0x159320(0xa9)];}get[_0x1d6a12(0x11e)](){const _0x41ada6=_0x1d6a12;return _0x244168[_0x41ada6(0x11e)];}get[_0x1d6a12(0x108)](){return _0x244168['ShapeArrowSizeEnum'];}}_0x44d27f[_0x1d6a12(0xc7)][_0x1d6a12(0xa3)](_0xca9e73);const _0x22d593=0xc8,_0xc4840d=0xc8;class _0xf20ab5{constructor(_0x425e00,_0x46a35d,_0x36705e,_0x2f2a10){const _0x3a07af=_0x1d6a12;_0x19b43d(this,'unitId'),_0x19b43d(this,_0x3a07af(0x12c)),_0x19b43d(this,_0x3a07af(0x124)),_0x19b43d(this,'x',0x0),_0x19b43d(this,'y',0x0),_0x19b43d(this,_0x3a07af(0x130),_0x22d593),_0x19b43d(this,_0x3a07af(0xe0),_0xc4840d),_0x19b43d(this,_0x3a07af(0x95)),_0x19b43d(this,_0x3a07af(0x9e),{}),_0x19b43d(this,_0x3a07af(0x9d)),(this[_0x3a07af(0x135)]=_0x425e00,this[_0x3a07af(0x12c)]=_0x46a35d,this[_0x3a07af(0x124)]=_0x36705e||_0x176b5e[_0x3a07af(0x102)](),this[_0x3a07af(0x9d)]=_0x2f2a10);}[_0x1d6a12(0x136)](_0x3896a2,_0x1c7c38,_0x2e94f0,_0x2a3812){const _0x1a6d8e=_0x1d6a12,_0x119e5a=this[_0x1a6d8e(0x9d)][_0x1a6d8e(0x110)](_0x3399d6[_0x1a6d8e(0xbb)])[_0x1a6d8e(0xf4)](this[_0x1a6d8e(0x135)]);if(!_0x119e5a)throw new Error('This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.');const _0x31e86e=_0x119e5a[_0x1a6d8e(0x12f)](_0x35d3a5[_0x1a6d8e(0x8e)]),_0xd98733=_0x119e5a[_0x1a6d8e(0x12f)](_0x35d3a5[_0x1a6d8e(0x97)]),{transform:_0x34cb6d}=_0x35d3a5['convertPositionCellToSheetOverGrid'](this[_0x1a6d8e(0x135)],this['subUnitId'],{'row':_0x3896a2,'column':_0x1c7c38,'rowOffset':_0x2e94f0,'columnOffset':_0x2a3812},0x1,0x1,_0x31e86e,_0xd98733);return this['x']=_0x34cb6d[_0x1a6d8e(0x133)],this['y']=_0x34cb6d['top'],this;}[_0x1d6a12(0x103)](_0x4333ec,_0x4c9d73){return this['x']=_0x4333ec,this['y']=_0x4c9d73,this;}[_0x1d6a12(0x10e)](_0x44f203){const _0x5da7b9=_0x1d6a12;return this[_0x5da7b9(0x95)]=_0x44f203,this;}[_0x1d6a12(0xad)](_0x1fe8cd,_0x26c00c){const _0x467914=_0x1d6a12;return this[_0x467914(0x9e)][_0x467914(0xf8)]||(this[_0x467914(0x9e)][_0x467914(0xf8)]={}),this[_0x467914(0x9e)][_0x467914(0xf8)][_0x467914(0x94)]=_0x244168[_0x467914(0xd1)][_0x467914(0x12a)],_0x1fe8cd!==void 0x0&&(this[_0x467914(0x9e)][_0x467914(0xf8)][_0x467914(0x105)]=_0x1fe8cd),_0x26c00c!==void 0x0&&(this[_0x467914(0x9e)][_0x467914(0xf8)]['opacity']=_0x26c00c),this;}['setShapeGradientFill'](_0x5e79b1,_0x29b1ed,_0x7a19c3){const _0x637e89=_0x1d6a12;if(_0x29b1ed===void 0x0||_0x29b1ed[_0x637e89(0xcf)]===0x0)throw new Error('colorStops\x20is\x20required\x20and\x20should\x20contain\x20at\x20least\x20one\x20color\x20stop.');return this['shapeData'][_0x637e89(0xf8)]||(this['shapeData'][_0x637e89(0xf8)]={}),this[_0x637e89(0x9e)]['fill'][_0x637e89(0x12b)]=_0x29b1ed,this['shapeData']['fill'][_0x637e89(0x94)]=_0x244168[_0x637e89(0xd1)][_0x637e89(0x96)],this[_0x637e89(0x9e)]['fill'][_0x637e89(0x120)]=_0x5e79b1,_0x7a19c3!==void 0x0&&(this[_0x637e89(0x9e)][_0x637e89(0xf8)][_0x637e89(0xcd)]=_0x7a19c3),this;}[_0x1d6a12(0xb5)](){const _0x4c8bce=_0x1d6a12;return this[_0x4c8bce(0x9e)][_0x4c8bce(0xf8)]={'fillType':_0x244168[_0x4c8bce(0xd1)][_0x4c8bce(0xdd)]},this;}[_0x1d6a12(0xac)](_0x23c2c2){const _0x1c407b=_0x1d6a12;return this[_0x1c407b(0x9e)]['stroke']||(this[_0x1c407b(0x9e)]['stroke']={}),this[_0x1c407b(0x9e)]['stroke'][_0x1c407b(0x105)]=_0x23c2c2,this;}['setStrokeWidth'](_0x2083f6){const _0x7d88a3=_0x1d6a12;return this[_0x7d88a3(0x9e)][_0x7d88a3(0xc2)]||(this[_0x7d88a3(0x9e)][_0x7d88a3(0xc2)]={}),this[_0x7d88a3(0x9e)][_0x7d88a3(0xc2)][_0x7d88a3(0x130)]=_0x2083f6,this;}[_0x1d6a12(0x134)](_0x43c0e5){const _0x3dfbea=_0x1d6a12;return this['shapeData'][_0x3dfbea(0xc2)]||(this['shapeData']['stroke']={}),this['shapeData']['stroke'][_0x3dfbea(0xd0)]=_0x43c0e5,this;}['setStrokeLineJoinType'](_0x1b7755){const _0x12e250=_0x1d6a12;return this['shapeData']['stroke']||(this[_0x12e250(0x9e)][_0x12e250(0xc2)]={}),this[_0x12e250(0x9e)]['stroke'][_0x12e250(0xc9)]=_0x1b7755,this;}[_0x1d6a12(0xed)](_0x559d9e){const _0xcbf150=_0x1d6a12;return this['shapeData']['stroke']||(this[_0xcbf150(0x9e)][_0xcbf150(0xc2)]={}),this[_0xcbf150(0x9e)][_0xcbf150(0xc2)][_0xcbf150(0xd3)]=_0x559d9e,this;}['setStrokeOpacity'](_0x6f16b4){const _0x2ae8a5=_0x1d6a12;return this['shapeData']['stroke']||(this['shapeData'][_0x2ae8a5(0xc2)]={}),this['shapeData'][_0x2ae8a5(0xc2)]['opacity']=_0x6f16b4,this;}[_0x1d6a12(0xb9)](_0x51cb7e){const _0x478275=_0x1d6a12;return this[_0x478275(0x9e)]['stroke']||(this[_0x478275(0x9e)][_0x478275(0xc2)]={}),this[_0x478275(0x9e)][_0x478275(0xc2)][_0x478275(0xaf)]=_0x51cb7e,this;}[_0x1d6a12(0xff)](_0x5e91e7){const _0x4e6799=_0x1d6a12;return this[_0x4e6799(0x130)]=_0x5e91e7,this;}[_0x1d6a12(0xf0)](_0x3178bb){const _0x15f42a=_0x1d6a12;return this[_0x15f42a(0xe0)]=_0x3178bb,this;}[_0x1d6a12(0x9a)](){const _0x1049dc=_0x1d6a12,_0x41b6a3=this['_injector'][_0x1049dc(0x110)](_0x3b37b3[_0x1049dc(0x9f)])[_0x1049dc(0xfa)](this['unitId'],this[_0x1049dc(0x12c)],this[_0x1049dc(0x124)]);return _0x41b6a3?_0x244168[_0x1049dc(0xd2)](_0x41b6a3[_0x1049dc(0x90)]()):this['shapeType']?_0x244168['isConnectorShape'](this['shapeType']):!0x1;}[_0x1d6a12(0xa7)](){const _0x5c56cd=_0x1d6a12,_0x419c68=this[_0x5c56cd(0x9d)]['get'](_0x3b37b3[_0x5c56cd(0x9f)])[_0x5c56cd(0xfa)](this['unitId'],this[_0x5c56cd(0x12c)],this[_0x5c56cd(0x124)]);if(!_0x419c68)return[];const _0x12416b=this[_0x5c56cd(0x9d)]['get'](_0x1c1b76[_0x5c56cd(0xb6)])[_0x5c56cd(0x132)]({'unitId':this[_0x5c56cd(0x135)],'subUnitId':this[_0x5c56cd(0x12c)],'drawingId':this[_0x5c56cd(0x124)]});if(!(_0x12416b!=null&&_0x12416b[_0x5c56cd(0x99)]))return[];const {width:_0x2eaafe=0x0,height:_0x5ac7ac=0x0}=_0x12416b[_0x5c56cd(0x99)];return _0x419c68['updateContext']({'width':_0x2eaafe,'height':_0x5ac7ac}),_0x419c68[_0x5c56cd(0x98)]();}[_0x1d6a12(0xda)](){const _0x4dc042=_0x1d6a12,_0x2e484a=this[_0x4dc042(0x9d)]['get'](_0x3b37b3[_0x4dc042(0x9f)])[_0x4dc042(0xfa)](this['unitId'],this['subUnitId'],this[_0x4dc042(0x124)]);if(!_0x2e484a)return[];const _0xf7a489=this[_0x4dc042(0x9d)][_0x4dc042(0x110)](_0x1c1b76[_0x4dc042(0xb6)])[_0x4dc042(0x132)]({'unitId':this[_0x4dc042(0x135)],'subUnitId':this[_0x4dc042(0x12c)],'drawingId':this[_0x4dc042(0x124)]});if(!(_0xf7a489!=null&&_0xf7a489['transform']))return[];const {width:_0x46cd7b=0x0,height:_0x2812b9=0x0}=_0xf7a489['transform'];return _0x2e484a['updateContext']({'width':_0x46cd7b,'height':_0x2812b9}),_0x2e484a[_0x4dc042(0x117)]();}[_0x1d6a12(0x11a)](){const _0x5058ef=_0x1d6a12,_0x40ca5b=this[_0x5058ef(0x9d)]['get'](_0x3b37b3[_0x5058ef(0x9f)])[_0x5058ef(0xfa)](this[_0x5058ef(0x135)],this['subUnitId'],this[_0x5058ef(0x124)]);if(!_0x40ca5b)return[];if(!_0x244168[_0x5058ef(0xd2)](_0x40ca5b['getShapeType']()))return[];const _0x43926f=this[_0x5058ef(0x9d)]['get'](_0x1c1b76[_0x5058ef(0xb6)])[_0x5058ef(0x132)]({'unitId':this[_0x5058ef(0x135)],'subUnitId':this[_0x5058ef(0x12c)],'drawingId':this[_0x5058ef(0x124)]});if(!(_0x43926f!=null&&_0x43926f[_0x5058ef(0x99)]))return[];const {width:_0x3bf35d=0x0,height:_0x1f0230=0x0}=_0x43926f['transform'];return _0x40ca5b[_0x5058ef(0xe8)]({'width':_0x3bf35d,'height':_0x1f0230}),_0x40ca5b[_0x5058ef(0x11a)]();}[_0x1d6a12(0x106)](){const _0x20e185=_0x1d6a12;var _0x8b9f7d;const _0x50d189=this[_0x20e185(0x9d)][_0x20e185(0x110)](_0x3b37b3[_0x20e185(0x9f)])[_0x20e185(0xfa)](this['unitId'],this[_0x20e185(0x12c)],this['drawId']);return _0x50d189&&(_0x8b9f7d=_0x50d189[_0x20e185(0x106)]())!=null?_0x8b9f7d:null;}[_0x1d6a12(0x13a)](){const _0x3087e6=_0x1d6a12;var _0x55cb16;const _0x3ca267=this[_0x3087e6(0x9d)][_0x3087e6(0x110)](_0x3b37b3[_0x3087e6(0x9f)])[_0x3087e6(0xfa)](this[_0x3087e6(0x135)],this[_0x3087e6(0x12c)],this['drawId']);return _0x3ca267&&(_0x55cb16=_0x3ca267[_0x3087e6(0x13a)]())!=null?_0x55cb16:null;}[_0x1d6a12(0x125)](){const _0x60b742=_0x1d6a12;var _0x3a8c94,_0x8cf84d;if(!this['shapeType'])throw new Error(_0x60b742(0x128));if(this['x']===0x0||this['y']===0x0){const _0x141062=this['_injector'][_0x60b742(0x110)](_0x3399d6[_0x60b742(0xbb)])['getRenderById'](this[_0x60b742(0x135)]);if(!_0x141062)throw new Error(_0x60b742(0xc0));const _0x3c7e83=_0x141062[_0x60b742(0x12f)](_0x35d3a5[_0x60b742(0x8e)]),_0x4b0dfe=_0x141062[_0x60b742(0x12f)](_0x35d3a5[_0x60b742(0x97)]),{transform:_0x56b42b}=_0x35d3a5[_0x60b742(0xf6)](this[_0x60b742(0x135)],this[_0x60b742(0x12c)],{'row':0x1,'column':0x1,'rowOffset':0x0,'columnOffset':0x0},0x1,0x1,_0x3c7e83,_0x4b0dfe);this['x']=this['x']>0x0?this['x']:_0x56b42b[_0x60b742(0x133)],this['y']=this['y']>0x0?this['y']:_0x56b42b[_0x60b742(0x10d)];}return this[_0x60b742(0x130)]=(_0x3a8c94=this[_0x60b742(0x130)])!=null?_0x3a8c94:_0x22d593,this['height']=(_0x8cf84d=this[_0x60b742(0xe0)])!=null?_0x8cf84d:_0xc4840d,{'unitId':this[_0x60b742(0x135)],'subUnitId':this[_0x60b742(0x12c)],'shapeId':this['drawId'],'shapeType':this['shapeType'],'shapeData':Object[_0x60b742(0xab)](this[_0x60b742(0x9e)])[_0x60b742(0xcf)]>0x0?this[_0x60b742(0x9e)]:void 0x0,'x':this['x'],'y':this['y'],'width':this['width'],'height':this[_0x60b742(0xe0)]};}[_0x1d6a12(0xa0)](){const _0x304350=_0x1d6a12;return this[_0x304350(0x124)];}[_0x1d6a12(0x90)](){const _0x2111a0=_0x1d6a12;return this[_0x2111a0(0x95)];}['getShapeData'](){const _0x2950a5=_0x1d6a12;return this[_0x2950a5(0x9e)];}['getPosition'](){return{'x':this['x'],'y':this['y']};}[_0x1d6a12(0x92)](){const _0x4ccaa1=_0x1d6a12;return{'width':this[_0x4ccaa1(0x130)],'height':this[_0x4ccaa1(0xe0)]};}}class _0x4ee702 extends _0xf20ab5{constructor(_0x2e4698,_0x5638ca,_0x2359f0,_0x17ca61){const _0xb8ee38=_0x1d6a12;super(_0x2e4698,_0x5638ca,_0x2359f0,_0x17ca61),_0x19b43d(this,_0xb8ee38(0x9e),{});}[_0x1d6a12(0x10e)](_0x2706e0){const _0x193ef8=_0x1d6a12;if(!_0x244168[_0x193ef8(0xd2)](_0x2706e0))throw new Error(_0x193ef8(0x10c)+_0x2706e0+_0x193ef8(0xa4));return super['setShapeType'](_0x2706e0),this;}['setStartArrowType'](_0x5f2c88){const _0x3631af=_0x1d6a12;var _0x3d33c6,_0xe044d3,_0x1b58b2;return(_0x3d33c6=this[_0x3631af(0x9e)])!=null&&_0x3d33c6['ln']||(this[_0x3631af(0x9e)]['ln']={}),(_0x1b58b2=(_0xe044d3=this[_0x3631af(0x9e)])==null?void 0x0:_0xe044d3['ln'])!=null&&_0x1b58b2['startArrow']||(this[_0x3631af(0x9e)]['ln'][_0x3631af(0x8f)]={}),this[_0x3631af(0x9e)]['ln']['startArrow'][_0x3631af(0x13b)]=_0x5f2c88,this;}[_0x1d6a12(0xfb)](_0x40740f){const _0x3ebf28=_0x1d6a12;var _0x5542c5,_0x45c441,_0x51c0f8;return(_0x5542c5=this[_0x3ebf28(0x9e)])!=null&&_0x5542c5['ln']||(this['shapeData']['ln']={}),(_0x51c0f8=(_0x45c441=this[_0x3ebf28(0x9e)])==null?void 0x0:_0x45c441['ln'])!=null&&_0x51c0f8['endArrow']||(this[_0x3ebf28(0x9e)]['ln'][_0x3ebf28(0x127)]={}),this[_0x3ebf28(0x9e)]['ln'][_0x3ebf28(0x127)]['type']=_0x40740f,this;}[_0x1d6a12(0xbe)](_0x15d70e){const _0x515b56=_0x1d6a12;var _0x1eca54,_0x2ba831,_0x2620b4;return(_0x1eca54=this['shapeData'])!=null&&_0x1eca54['ln']||(this[_0x515b56(0x9e)]['ln']={}),(_0x2620b4=(_0x2ba831=this['shapeData'])==null?void 0x0:_0x2ba831['ln'])!=null&&_0x2620b4[_0x515b56(0x8f)]||(this['shapeData']['ln'][_0x515b56(0x8f)]={}),this[_0x515b56(0x9e)]['ln'][_0x515b56(0x8f)][_0x515b56(0xa1)]=_0x15d70e,this;}[_0x1d6a12(0x10a)](_0x638ff1){const _0x4c3338=_0x1d6a12;var _0x4a5e7d,_0x5ae77e,_0x9e3d49;return(_0x4a5e7d=this['shapeData'])!=null&&_0x4a5e7d['ln']||(this[_0x4c3338(0x9e)]['ln']={}),(_0x9e3d49=(_0x5ae77e=this[_0x4c3338(0x9e)])==null?void 0x0:_0x5ae77e['ln'])!=null&&_0x9e3d49['endArrow']||(this[_0x4c3338(0x9e)]['ln']['endArrow']={}),this['shapeData']['ln'][_0x4c3338(0x127)][_0x4c3338(0xa1)]=_0x638ff1,this;}['build'](){const _0x2206b3=_0x1d6a12;return super[_0x2206b3(0x125)]();}[_0x1d6a12(0x13a)](){const _0x374ddd=_0x1d6a12;var _0x436ae8,_0x2d7b6c;return((_0x2d7b6c=(_0x436ae8=this['shapeData'])==null?void 0x0:_0x436ae8[_0x374ddd(0xea)])==null?void 0x0:_0x2d7b6c['to'])||null;}['getStartConnectInfo'](){const _0x9ca37c=_0x1d6a12;var _0x25d5fd,_0x440dc6;return((_0x440dc6=(_0x25d5fd=this[_0x9ca37c(0x9e)])==null?void 0x0:_0x25d5fd['relation'])==null?void 0x0:_0x440dc6[_0x9ca37c(0xa8)])||null;}}function _0x51381f(_0x359d8c,_0x707971,_0x482115){const _0x5248cf=_0x1d6a12;var _0x430fe6;const _0x48315d=(_0x430fe6=_0x482115[_0x5248cf(0xf4)](_0x707971))==null?void 0x0:_0x430fe6[_0x5248cf(0x12f)](_0x35d3a5[_0x5248cf(0x8e)]);if(!_0x48315d)return null;const _0x125e71=_0x48315d[_0x5248cf(0xf9)](_0x359d8c[_0x5248cf(0x113)],_0x359d8c['startY']);if(!_0x125e71)return null;const _0x233a66=_0x48315d[_0x5248cf(0xf9)](_0x359d8c['endX'],_0x359d8c[_0x5248cf(0xe3)]);return _0x233a66?{'from':{'column':_0x125e71[_0x5248cf(0xbd)],'columnOffset':_0x359d8c[_0x5248cf(0x113)]-_0x125e71[_0x5248cf(0x113)],'row':_0x125e71['actualRow'],'rowOffset':_0x359d8c[_0x5248cf(0x11f)]-_0x125e71[_0x5248cf(0x11f)]},'to':{'column':_0x233a66[_0x5248cf(0xbd)],'columnOffset':_0x359d8c[_0x5248cf(0xcb)]-_0x233a66[_0x5248cf(0x113)],'row':_0x233a66[_0x5248cf(0xee)],'rowOffset':_0x359d8c[_0x5248cf(0xe3)]-_0x233a66['startY']}}:null;}function _0x31214a(_0x1b614a,_0x379faf){const _0x17b40d=_0x1d6a12,_0x1fa2c8={'shapeType':_0x1b614a,'shapeData':_0x379faf},_0x41d9ba=_0x244168['isConnectorShape'](_0x1b614a);return _0x41d9ba&&(_0x1fa2c8[_0x17b40d(0xf8)]=!0x1,_0x1fa2c8[_0x17b40d(0xd5)]=!0x1,_0x1fa2c8[_0x17b40d(0x8d)]=!0x1,_0x1fa2c8[_0x17b40d(0xc5)]=!0x1),{'extraData':_0x1fa2c8,'isLine':_0x41d9ba};}function _0x54add8(_0x1b2ae0,_0x31abb5){const _0x5b2965=_0x1d6a12,_0x631319={'left':_0x1b2ae0[_0x5b2965(0x113)],'top':_0x1b2ae0[_0x5b2965(0x11f)],'width':_0x1b2ae0[_0x5b2965(0xcb)]-_0x1b2ae0['startX'],'height':_0x1b2ae0[_0x5b2965(0xe3)]-_0x1b2ae0['startY']};return _0x31abb5&&(_0x631319[_0x5b2965(0xd5)]=!0x1,_0x631319[_0x5b2965(0x8d)]=!0x1,_0x631319[_0x5b2965(0xc5)]=!0x1),_0x631319;}function _0x4d4629(_0x4a152e,_0x83c132,_0x1b351e,_0x98fe89,_0x2999de,_0x55e201){const _0x153d12=_0x1d6a12,_0x48069e=_0x2999de[_0x153d12(0xfa)](_0x4a152e,_0x83c132,_0x1b351e);if(!_0x48069e)return null;const _0x1d1f32=_0x55e201['getDrawingByParam']({'unitId':_0x4a152e,'subUnitId':_0x83c132,'drawingId':_0x1b351e});if(!(_0x1d1f32!=null&&_0x1d1f32[_0x153d12(0x99)]))return null;const {left:_0x4ff4d9=0x0,top:_0x57cfd5=0x0,width:_0x18d45d=0x0,height:_0x2e082b=0x0,flipX:_0x50388d=!0x1,flipY:_0x243cd5=!0x1,angle:_0x1fc61e}=_0x1d1f32['transform'];_0x48069e[_0x153d12(0xe8)]({'width':_0x18d45d,'height':_0x2e082b});const _0x1bd72a=_0x48069e['getConnectionSiteList']()[_0x153d12(0xc4)](_0x3d1424=>_0x3d1424['index']===_0x98fe89);if(!_0x1bd72a)return null;let _0x3ef4a1=_0x50388d?_0x18d45d-_0x1bd72a['x']:_0x1bd72a['x'],_0x39987d=_0x243cd5?_0x2e082b-_0x1bd72a['y']:_0x1bd72a['y'];if(_0x1fc61e&&_0x1fc61e!==0x0){const _0x20232d=_0x1fc61e*Math['PI']/0xb4,_0x842131=Math[_0x153d12(0x138)](_0x20232d),_0xe4ab19=Math['sin'](_0x20232d),_0x3a86e7=_0x18d45d/0x2,_0x2f1d40=_0x2e082b/0x2,_0x97dba9=_0x3ef4a1-_0x3a86e7,_0x567b0e=_0x39987d-_0x2f1d40;_0x3ef4a1=_0x3a86e7+_0x97dba9*_0x842131-_0x567b0e*_0xe4ab19,_0x39987d=_0x2f1d40+_0x97dba9*_0xe4ab19+_0x567b0e*_0x842131;}_0x3ef4a1+=_0x4ff4d9,_0x39987d+=_0x57cfd5;let _0x1ac36e=_0x1bd72a['ang']/0xea60;_0x50388d&&(_0x1ac36e=0xb4-_0x1ac36e),_0x243cd5&&(_0x1ac36e=-_0x1ac36e),_0x1ac36e+=_0x1fc61e||0x0,_0x1ac36e=(_0x1ac36e%0x168+0x168)%0x168;const _0x13a12e=_0x244168['getBasicShapeRotateBound']({'left':_0x4ff4d9,'top':_0x57cfd5,'width':_0x18d45d,'height':_0x2e082b},_0x1fc61e||0x0);return{'point':{'x':_0x3ef4a1,'y':_0x39987d},'angle':_0x1ac36e,'bounds':_0x13a12e};}function _0x3f3c3d(_0x296bb,_0x10f6b3){const _0x2830cc=_0x1d6a12,_0x2f7de6=_0x10f6b3['x']-_0x296bb['x'],_0x2a5715=_0x10f6b3['y']-_0x296bb['y'];return Math['abs'](_0x2f7de6)>=Math[_0x2830cc(0xdc)](_0x2a5715)?_0x2f7de6>=0x0?0xb4:0x0:_0x2a5715>=0x0?0x10e:0x5a;}function _0xa1081c(_0x53b4ae,_0x5238d7,_0x602b37,_0x2c2b37,_0x14a20e,_0x19ef36,_0x29ed6a){const _0xf2049d=_0x1d6a12,_0x576f8b=_0x19ef36[_0xf2049d(0xfa)](_0x53b4ae,_0x5238d7,_0x602b37);if(!_0x576f8b)return null;const _0x78035e=_0x29ed6a['getDrawingByParam']({'unitId':_0x53b4ae,'subUnitId':_0x5238d7,'drawingId':_0x602b37});if(!(_0x78035e!=null&&_0x78035e['transform']))return null;const {left:_0x50ad13=0x0,top:_0x145193=0x0,width:_0x1f3620=0x0,height:_0x5d6dff=0x0,flipX:_0x3e03e0=!0x1,flipY:_0x75048e=!0x1}=_0x78035e[_0xf2049d(0x99)];_0x576f8b[_0xf2049d(0xe8)]({'width':_0x1f3620,'height':_0x5d6dff});const _0x19e85b=_0x576f8b['getConnectorLinePoints']();if(_0x19e85b[_0xf2049d(0xcf)]<0x2)return null;const _0x451c2d=_0x2c2b37?_0x19e85b[0x0]:_0x19e85b[_0x19e85b['length']-0x1],_0x4f1ecf=new _0x244168[(_0xf2049d(0x126))]({'left':_0x50ad13,'top':_0x145193,'width':_0x1f3620,'height':_0x5d6dff,'flipX':_0x3e03e0,'flipY':_0x75048e})[_0xf2049d(0xef)](_0x451c2d),_0x12b708=_0x3f3c3d(_0x14a20e[_0xf2049d(0xcc)],_0x4f1ecf);return{'point':_0x4f1ecf,'angle':_0x12b708,'bounds':{'left':_0x4f1ecf['x'],'top':_0x4f1ecf['y'],'width':0x0,'height':0x0}};}class _0x1bd09d extends _0x1dd5d5[_0x1d6a12(0x114)]{async[_0x1d6a12(0xd9)](_0x1923bf){const _0x5e9054=_0x1d6a12,_0x3a7549=_0x1923bf['unitId']||this[_0x5e9054(0x112)]()[_0x5e9054(0xb2)](),_0x6b18fe=_0x1923bf[_0x5e9054(0x12c)]||this[_0x5e9054(0xe1)](),_0x1d7698=_0x1923bf['shapeId']||_0x176b5e[_0x5e9054(0x102)](),{shapeType:_0x50a082,shapeData:_0x37c384,x:_0x26cdc9,y:_0x5b7194,width:_0xe2a63e,height:_0x3eccaa}=_0x1923bf,_0x3f4642=this[_0x5e9054(0x9d)][_0x5e9054(0x110)](_0x3399d6[_0x5e9054(0xbb)]),_0x23cb9c={'startX':_0x26cdc9,'endX':_0x26cdc9+_0xe2a63e,'startY':_0x5b7194,'endY':_0x5b7194+_0x3eccaa},_0x58d83a=_0x51381f(_0x23cb9c,_0x3a7549,_0x3f4642);if(!_0x58d83a)return!0x1;const {extraData:_0x143352,isLine:_0x1e08b6}=_0x31214a(_0x50a082,_0x37c384),_0x352179=_0x54add8(_0x23cb9c,_0x1e08b6);return this[_0x5e9054(0x101)][_0x5e9054(0xba)](_0x46b059[_0x5e9054(0xaa)]['id'],{'unitId':_0x3a7549,'drawings':[{'unitId':_0x3a7549,'subUnitId':_0x6b18fe,'drawingId':_0x1d7698,'drawingType':_0x176b5e['DrawingTypeEnum'][_0x5e9054(0x11b)],'componentKey':_0x5e9054(0xae),'sheetTransform':_0x58d83a,'axisAlignSheetTransform':_0x58d83a,'transform':_0x352179,'data':_0x143352,'allowTransform':!0x0}]});}async['updateShape'](_0x41c2f4){const _0x183fe3=_0x1d6a12,_0x2a9db3=_0x41c2f4[_0x183fe3(0x135)]||this[_0x183fe3(0x112)]()['getUnitId'](),_0x4186c=_0x41c2f4[_0x183fe3(0x12c)]||this[_0x183fe3(0xe1)](),_0x2de5e1=_0x41c2f4['shapeId'],{shapeType:_0x324cea,shapeData:_0x29f79f,x:_0x5f1fb9,y:_0x3e45ea,width:_0x49d6ad,height:_0x495c36}=_0x41c2f4,_0x2910bb=this[_0x183fe3(0x9d)][_0x183fe3(0x110)](_0x3399d6[_0x183fe3(0xbb)]),_0x24fda1={'startX':_0x5f1fb9,'endX':_0x5f1fb9+_0x49d6ad,'startY':_0x3e45ea,'endY':_0x3e45ea+_0x495c36},_0x4c62aa=_0x51381f(_0x24fda1,_0x2a9db3,_0x2910bb);if(!_0x4c62aa)return!0x1;const _0x4b15c8=_0x54add8(_0x24fda1,_0x244168[_0x183fe3(0xd2)](_0x324cea));return this['_commandService']['executeCommand'](_0x5765b6['SetShapeDrawingDataCommand']['id'],{'unitId':_0x2a9db3,'subUnitId':_0x4186c,'shapeId':_0x2de5e1,'shapeType':_0x324cea,'shapeData':_0x29f79f,'transform':_0x4b15c8,'sheetTransform':_0x4c62aa,'axisAlignSheetTransform':_0x4c62aa});}[_0x1d6a12(0x139)](_0x2a288a){const _0x241d05=_0x1d6a12,_0x2ee2ec=this[_0x241d05(0x112)]()[_0x241d05(0xb2)](),_0x300fcf=this[_0x241d05(0xe1)]();if(_0x2a288a){const _0x4c0a70=new _0xf20ab5(_0x2ee2ec,_0x300fcf,_0x2a288a[_0x241d05(0x124)],this[_0x241d05(0x9d)]);return this['_preloadShapeProperties'](_0x4c0a70,_0x2ee2ec,_0x300fcf,_0x2a288a[_0x241d05(0x124)]),_0x4c0a70;}return new _0xf20ab5(_0x2ee2ec,_0x300fcf,_0x176b5e[_0x241d05(0x102)](),this[_0x241d05(0x9d)]);}[_0x1d6a12(0xa6)](_0xfbb9ed){const _0xff6ae4=_0x1d6a12,_0x20e9ac=this[_0xff6ae4(0x112)]()[_0xff6ae4(0xb2)](),_0x1cddb8=this[_0xff6ae4(0xe1)]();if(_0xfbb9ed){const _0x364d5c=new _0x4ee702(_0x20e9ac,_0x1cddb8,_0xfbb9ed['drawId'],this[_0xff6ae4(0x9d)]);return this[_0xff6ae4(0xbf)](_0x364d5c,_0x20e9ac,_0x1cddb8,_0xfbb9ed['drawId']),_0x364d5c;}return new _0x4ee702(_0x20e9ac,_0x1cddb8,_0x176b5e[_0xff6ae4(0x102)](),this['_injector']);}['getShapes'](){const _0x32ee05=_0x1d6a12,_0x18f356=this[_0x32ee05(0x9d)][_0x32ee05(0x110)](_0x583cf5[_0x32ee05(0xe2)]),_0x3fdc3f=this[_0x32ee05(0x112)]()[_0x32ee05(0xb2)](),_0x519551=this[_0x32ee05(0xe1)](),_0x51184b=_0x18f356[_0x32ee05(0xa2)](_0x3fdc3f,_0x519551);if(!_0x51184b)return[];const _0x5ba5d3=[];for(const [_0x35b23c,_0x4d367b]of Object[_0x32ee05(0x109)](_0x51184b))if(_0x4d367b&&_0x4d367b[_0x32ee05(0xfc)]===_0x176b5e['DrawingTypeEnum'][_0x32ee05(0x11b)]){const _0xdacef9=new _0xf20ab5(_0x3fdc3f,_0x519551,_0x35b23c,this[_0x32ee05(0x9d)]);this['_preloadShapeProperties'](_0xdacef9,_0x3fdc3f,_0x519551,_0x35b23c),_0x5ba5d3[_0x32ee05(0xf7)](_0xdacef9);}return _0x5ba5d3;}[_0x1d6a12(0xc3)](_0x4f7459){const _0x4efb1b=_0x1d6a12,_0x40da76=_0x4f7459[_0x4efb1b(0x135)],_0x225063=_0x4f7459[_0x4efb1b(0x12c)],_0x1ab7af=_0x4f7459[_0x4efb1b(0x124)],_0x30285b={'unitId':_0x40da76,'drawings':[{'unitId':_0x40da76,'subUnitId':_0x225063,'drawingId':_0x1ab7af,'drawingType':_0x176b5e[_0x4efb1b(0x123)][_0x4efb1b(0x11b)]}]};return this[_0x4efb1b(0x101)][_0x4efb1b(0xba)](_0x46b059[_0x4efb1b(0xc1)]['id'],_0x30285b);}async[_0x1d6a12(0x93)](_0x4d34c2){const _0x185242=_0x1d6a12,{connector:_0x2a1b79,startTarget:_0x2f3b24,endTarget:_0x3520a9}=_0x4d34c2;if(!_0x2f3b24&&!_0x3520a9)return!0x1;const _0x3e9597=this[_0x185242(0x112)]()[_0x185242(0xb2)](),_0x418f68=this[_0x185242(0xe1)](),_0x3802ed=this[_0x185242(0x9d)]['get'](_0x3b37b3[_0x185242(0x9f)]),_0x6542a0=this[_0x185242(0x9d)][_0x185242(0x110)](_0x1c1b76[_0x185242(0xb6)]),_0x51139e=_0x3802ed[_0x185242(0xfa)](_0x3e9597,_0x418f68,_0x2a1b79[_0x185242(0x124)]);if(!_0x51139e)return!0x1;const _0x1a5728=_0x51139e['getShapeType'](),_0x3653f0=_0x51139e[_0x185242(0x9c)](),_0x3d8feb={};for(const _0x376c6d of _0x51139e[_0x185242(0x91)]()){const _0x151971=_0x51139e[_0x185242(0xd7)](_0x376c6d);_0x151971!==void 0x0&&(_0x3d8feb[_0x376c6d]=_0x151971);}const {startInfo:_0x33ea31,endInfo:_0x97f3d4}=this['_resolveEndpoints'](_0x3e9597,_0x418f68,_0x2a1b79,_0x51139e,_0x2f3b24,_0x3520a9,_0x3802ed,_0x6542a0,_0x3653f0);if(!_0x33ea31||!_0x97f3d4)return!0x1;const _0x33e615=_0x244168[_0x185242(0x12d)](_0x33ea31,_0x97f3d4,_0x1a5728),_0x1cfa33=_0x244168[_0x185242(0xb4)](_0x33e615,_0x1a5728),_0x49b61d={};return _0x2f3b24?_0x49b61d[_0x185242(0xa8)]={'shapeId':_0x2f3b24['shape'][_0x185242(0x124)],'cxnIndex':_0x2f3b24['connectionSiteIndex']}:_0x3653f0!=null&&_0x3653f0['from']&&(_0x49b61d[_0x185242(0xa8)]=_0x3653f0['from']),_0x3520a9?_0x49b61d['to']={'shapeId':_0x3520a9[_0x185242(0xec)]['drawId'],'cxnIndex':_0x3520a9[_0x185242(0x118)]}:_0x3653f0!=null&&_0x3653f0['to']&&(_0x49b61d['to']=_0x3653f0['to']),this[_0x185242(0x101)][_0x185242(0xba)]('sheet.command.update-connector-relation',{'unitId':_0x3e9597,'subUnitId':_0x418f68,'connectorShapeId':_0x2a1b79[_0x185242(0x124)],'width':_0x1cfa33[_0x185242(0xc8)][_0x185242(0x130)],'height':_0x1cfa33[_0x185242(0xc8)]['height'],'left':_0x1cfa33[_0x185242(0xc8)]['left'],'top':_0x1cfa33[_0x185242(0xc8)][_0x185242(0x10d)],'flipX':_0x1cfa33['worldRect'][_0x185242(0xdb)]||!0x1,'flipY':_0x1cfa33[_0x185242(0xc8)]['flipY']||!0x1,'oldAdjustValues':_0x3d8feb,'newAdjustValues':_0x1cfa33[_0x185242(0xf1)],'newLineType':_0x1cfa33[_0x185242(0xd6)],'oldLineType':_0x1a5728,'rotation':_0x1cfa33[_0x185242(0xd4)],'oldRelation':_0x3653f0,'newRelation':_0x49b61d});}[_0x1d6a12(0xbf)](_0x319b26,_0x169e51,_0x5245a2,_0x53093e){const _0x844025=_0x1d6a12;var _0x136ab7,_0x1eef8e,_0x2f241a,_0x30078b;const _0xf0ad78=this[_0x844025(0x9d)][_0x844025(0x110)](_0x1c1b76[_0x844025(0xb6)])[_0x844025(0x132)]({'unitId':_0x169e51,'subUnitId':_0x5245a2,'drawingId':_0x53093e});_0xf0ad78!=null&&_0xf0ad78[_0x844025(0x99)]&&(_0x319b26['x']=(_0x136ab7=_0xf0ad78[_0x844025(0x99)][_0x844025(0x133)])!=null?_0x136ab7:0x0,_0x319b26['y']=(_0x1eef8e=_0xf0ad78[_0x844025(0x99)][_0x844025(0x10d)])!=null?_0x1eef8e:0x0,_0x319b26[_0x844025(0x130)]=(_0x2f241a=_0xf0ad78[_0x844025(0x99)][_0x844025(0x130)])!=null?_0x2f241a:_0x319b26[_0x844025(0x130)],_0x319b26[_0x844025(0xe0)]=(_0x30078b=_0xf0ad78['transform']['height'])!=null?_0x30078b:_0x319b26[_0x844025(0xe0)]);const _0x4f0f86=this[_0x844025(0x9d)][_0x844025(0x110)](_0x3b37b3[_0x844025(0x9f)])[_0x844025(0xfa)](_0x169e51,_0x5245a2,_0x53093e);if(_0x4f0f86){_0x319b26[_0x844025(0x95)]=_0x4f0f86[_0x844025(0x90)]();const _0x453cd4=_0x4f0f86[_0x844025(0x8c)]();_0x453cd4&&(_0x319b26[_0x844025(0x9e)]=JSON[_0x844025(0xe7)](JSON[_0x844025(0xeb)](_0x453cd4)));}}['_resolveEndpoints'](_0x489874,_0xd76da4,_0x1acb7f,_0x237131,_0x3db04f,_0xb7f6ba,_0x1f0b07,_0x1a50a8,_0x47a67e){const _0x3affcb=_0x1d6a12;let _0x910805=null,_0x419e7a=null;return _0x3db04f&&(_0x910805=_0x4d4629(_0x489874,_0xd76da4,_0x3db04f['shape']['drawId'],_0x3db04f[_0x3affcb(0x118)],_0x1f0b07,_0x1a50a8)),_0xb7f6ba&&(_0x419e7a=_0x4d4629(_0x489874,_0xd76da4,_0xb7f6ba[_0x3affcb(0xec)][_0x3affcb(0x124)],_0xb7f6ba[_0x3affcb(0x118)],_0x1f0b07,_0x1a50a8)),_0x910805||(_0x910805=this[_0x3affcb(0xde)](_0x489874,_0xd76da4,_0x1acb7f[_0x3affcb(0x124)],!0x0,_0x419e7a,_0x47a67e==null?void 0x0:_0x47a67e[_0x3affcb(0xa8)],_0x1f0b07,_0x1a50a8)),_0x419e7a||(_0x419e7a=this[_0x3affcb(0xde)](_0x489874,_0xd76da4,_0x1acb7f[_0x3affcb(0x124)],!0x1,_0x910805,_0x47a67e==null?void 0x0:_0x47a67e['to'],_0x1f0b07,_0x1a50a8)),{'startInfo':_0x910805,'endInfo':_0x419e7a};}[_0x1d6a12(0xde)](_0x5a0051,_0x22b0a3,_0x4c7972,_0xd35e4e,_0x1102cb,_0xb7a680,_0x4ab780,_0xe8cb4){const _0x5a85f0=_0x1d6a12;if(_0xb7a680){const _0x133ed8=_0x4d4629(_0x5a0051,_0x22b0a3,_0xb7a680[_0x5a85f0(0x119)],_0xb7a680['cxnIndex'],_0x4ab780,_0xe8cb4);if(_0x133ed8)return _0x133ed8;}return _0x1102cb?_0xa1081c(_0x5a0051,_0x22b0a3,_0x4c7972,_0xd35e4e,_0x1102cb,_0x4ab780,_0xe8cb4):null;}}_0x1dd5d5['FWorksheet'][_0x1d6a12(0xa3)](_0x1bd09d),_0x232497[_0x1d6a12(0x11c)]=_0x4ee702,_0x232497['FShape']=_0xf20ab5,Object[_0x1d6a12(0x9b)](_0x232497,Symbol['toStringTag'],{'value':'Module'});}));
1
+ function _0x38fc(){const _0x25de08=['ShapeTypeEnum','UniverProSheetsShapeUiFacade','width','resizeEnabled','SetShapeDrawingDataCommand','exports','_resolveEndpoints','@univerjs/core/facade','borderEnabled','sheet.command.update-connector-relation','connectionSiteIndex','index','GradientFill','default','setShapeSolidFill','RemoveSheetDrawingCommand','shapeType','keys','UniverProEngineShape','3978324MIfIpx','1LMvDwe','405639dFbPor','executeCommand','push','generateRandomId','getConnectorLinePoints','290AukPED','ShapeLineJoinEnum','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','InsertSheetDrawingCommand','getBasicShapeRotateBound','FWorksheet','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','fill','gradientStops','getShapeRelation','ShapeLineCapEnum','insertShape','opacity','shape','getSize','ISheetSelectionRenderService','setStrokeOpacity','getRenderById','lineType','updateContext','_injector','@univerjs-pro/engine-shape','getWorkbook','height','ShapeLineTypeEnum','top','capType','from','getStartConnectInfo','drawingType','@univerjs/sheets-drawing','ShapeArrowSizeEnum','endX','isConnectorShape','size','IRenderManagerService','setStrokeLineType','setStrokeLineCapType','type','getDrawingByParam','worldRect','FConnectorShape','UniverDrawing','@univerjs/sheets/facade','getShapeData','drawing-shape',',\x20but\x20expected\x20a\x20connector\x20shape\x20type.','subUnitId','getAdjustPoints','getAdjustNames','connectShapes','object','5258425rDQLua','lineJoinType','SheetSkeletonManagerService','setPosition','_resolveExistingOrFreeEndpoint','stroke','cxnIndex','UniverCoreFacade','UniverEngineRender','transform','setShapeType','removeShape','constructor','routeConnectorLineShape','20671jGjrMX','left','_commandService','232ujtSXt','UniverProSheetsShape','Shape\x20type\x20is\x20required.\x20Please\x20call\x20setShapeType()\x20before\x20build().','toStringTag','getDrawingData','getAdjustValueByName','dashType','getUnitId','newShape','relation','UniverCore','length','setStrokeLineJoinType','FEnum','extend','3177288tByJZU','symbol','colorStops\x20is\x20required\x20and\x20should\x20contain\x20at\x20least\x20one\x20color\x20stop.','getShapeType','get','startX','1058908sECJRM','rotateEnabled','getCellWithCoordByOffset','color','actualColumn','startArrow','string','@univerjs/sheets-ui','Module','call','getShapeId','newConnector','setShapeGradientFill','drawId','endArrow','localToWorld','SheetsShapeService','endY','FShape','UniverSheetsUi','iterator','@univerjs/drawing','setStartArrowSize','ShapeGradientTypeEnum','_preloadShapeProperties','flipX','with','unitId','3043616PmmPvc','defineProperty','setStrokeColor','build','startY','UniverProSheetsShapeUi','ShapeFillEnum','getShapeModel','setAbsolutePosition','function','gradientAngle','getShapes','entries','getConnectionSiteList','parse','DRAWING_SHAPE','point','ConnectorCoordinateTransform','cos','IDrawingManagerService','convertPositionCellToSheetOverGrid','shapeData','shapeId','getSheetId','@univerjs/core','setHeight','ShapeLineDashEnum','ISheetDrawingService','flipY','ShapeArrowTypeEnum','setNoneFill','fillType','computeConnectorRouteLayout','@univerjs/engine-render','setEndArrowSize','DrawingTypeEnum'];_0x38fc=function(){return _0x25de08;};return _0x38fc();}function _0x53c3(_0xa96e90,_0x446009){_0xa96e90=_0xa96e90-0x1eb;const _0x38fcea=_0x38fc();let _0x53c32e=_0x38fcea[_0xa96e90];return _0x53c32e;}(function(_0x17cec4,_0x14005d){const _0x5d9618=_0x53c3,_0x215b0d=_0x17cec4();while(!![]){try{const _0x280a09=parseInt(_0x5d9618(0x298))/0x1*(-parseInt(_0x5d9618(0x244))/0x2)+parseInt(_0x5d9618(0x23e))/0x3+-parseInt(_0x5d9618(0x260))/0x4+-parseInt(_0x5d9618(0x21e))/0x5+parseInt(_0x5d9618(0x297))/0x6+parseInt(_0x5d9618(0x22c))/0x7*(-parseInt(_0x5d9618(0x22f))/0x8)+parseInt(_0x5d9618(0x299))/0x9*(parseInt(_0x5d9618(0x29e))/0xa);if(_0x280a09===_0x14005d)break;else _0x215b0d['push'](_0x215b0d['shift']());}catch(_0x4e744e){_0x215b0d['push'](_0x215b0d['shift']());}}}(_0x38fc,0x92db9),function(_0x155cca,_0x5d8067){const _0xafa3cc=_0x53c3;typeof exports=='object'&&typeof module<'u'?_0x5d8067(exports,require(`@univerjs-pro/engine-shape`),require(`@univerjs/core/facade`),require(`@univerjs-pro/sheets-shape`),require(`@univerjs/core`),require(`@univerjs/drawing`),require(`@univerjs/engine-render`),require(`@univerjs/sheets-ui`),require(`@univerjs-pro/sheets-shape-ui`),require(`@univerjs/sheets-drawing`),require(`@univerjs/sheets-drawing-ui`),require(`@univerjs/sheets/facade`)):typeof define=='function'&&define['amd']?define([_0xafa3cc(0x289),_0xafa3cc(0x1ff),_0xafa3cc(0x28b),'@univerjs-pro/sheets-shape',_0xafa3cc(0x278),_0xafa3cc(0x259),_0xafa3cc(0x281),_0xafa3cc(0x24b),'@univerjs-pro/sheets-shape-ui',_0xafa3cc(0x208),'@univerjs/sheets-drawing-ui',_0xafa3cc(0x215)],_0x5d8067):(_0x155cca=typeof globalThis<'u'?globalThis:_0x155cca||self,_0x5d8067(_0x155cca[_0xafa3cc(0x285)]={},_0x155cca[_0xafa3cc(0x296)],_0x155cca[_0xafa3cc(0x225)],_0x155cca[_0xafa3cc(0x230)],_0x155cca[_0xafa3cc(0x239)],_0x155cca[_0xafa3cc(0x214)],_0x155cca[_0xafa3cc(0x226)],_0x155cca[_0xafa3cc(0x257)],_0x155cca[_0xafa3cc(0x265)],_0x155cca['UniverSheetsDrawing'],_0x155cca['UniverSheetsDrawingUi'],_0x155cca['UniverSheetsFacade']));}(this,function(_0x5a5a19,_0x1f6218,_0xc48d5d,_0x477436,_0x47ba5e,_0x340bb2,_0x12eb57,_0x5e41fb,_0x5b665f,_0xd45d4b,_0x5b333f,_0x5ce8be){const _0xa91dca=_0x53c3;Object['defineProperty'](_0x5a5a19,Symbol[_0xa91dca(0x232)],{'value':_0xa91dca(0x24c)});var _0x4a07a2=class extends _0xc48d5d[_0xa91dca(0x23c)]{get[_0xa91dca(0x284)](){const _0x3723db=_0xa91dca;return _0x1f6218[_0x3723db(0x284)];}get[_0xa91dca(0x266)](){const _0x4030c3=_0xa91dca;return _0x1f6218[_0x4030c3(0x266)];}get[_0xa91dca(0x25b)](){const _0x4ada1a=_0xa91dca;return _0x1f6218[_0x4ada1a(0x25b)];}get[_0xa91dca(0x202)](){const _0x5a1a8e=_0xa91dca;return _0x1f6218[_0x5a1a8e(0x202)];}get[_0xa91dca(0x27a)](){const _0x122514=_0xa91dca;return _0x1f6218[_0x122514(0x27a)];}get['ShapeLineCapEnum'](){const _0x30e1ea=_0xa91dca;return _0x1f6218[_0x30e1ea(0x1f4)];}get['ShapeLineJoinEnum'](){const _0x1ef47c=_0xa91dca;return _0x1f6218[_0x1ef47c(0x1eb)];}get['ShapeArrowTypeEnum'](){const _0x1ebe30=_0xa91dca;return _0x1f6218[_0x1ebe30(0x27d)];}get[_0xa91dca(0x209)](){const _0x3c01cc=_0xa91dca;return _0x1f6218[_0x3c01cc(0x209)];}};_0xc48d5d[_0xa91dca(0x23c)][_0xa91dca(0x23d)](_0x4a07a2);function _0x553675(_0x5428de){'@babel/helpers - typeof';const _0x522d34=_0xa91dca;return _0x553675=typeof Symbol=='function'&&typeof Symbol[_0x522d34(0x258)]==_0x522d34(0x23f)?function(_0x340a14){return typeof _0x340a14;}:function(_0x4ac155){const _0x28b36d=_0x522d34;return _0x4ac155&&typeof Symbol==_0x28b36d(0x269)&&_0x4ac155[_0x28b36d(0x22a)]===Symbol&&_0x4ac155!==Symbol['prototype']?'symbol':typeof _0x4ac155;},_0x553675(_0x5428de);}function _0x317cfc(_0x5a6e6c,_0x5ef93a){const _0x4f73f9=_0xa91dca;if(_0x553675(_0x5a6e6c)!=_0x4f73f9(0x21d)||!_0x5a6e6c)return _0x5a6e6c;var _0x1adfd1=_0x5a6e6c[Symbol['toPrimitive']];if(_0x1adfd1!==void 0x0){var _0x27d8a6=_0x1adfd1[_0x4f73f9(0x24d)](_0x5a6e6c,_0x5ef93a||_0x4f73f9(0x291));if(_0x553675(_0x27d8a6)!=_0x4f73f9(0x21d))return _0x27d8a6;throw TypeError(_0x4f73f9(0x1ec));}return(_0x5ef93a===_0x4f73f9(0x24a)?String:Number)(_0x5a6e6c);}function _0x3f36f4(_0x3de29f){const _0x2846ef=_0xa91dca;var _0x4e3d76=_0x317cfc(_0x3de29f,_0x2846ef(0x24a));return _0x553675(_0x4e3d76)==_0x2846ef(0x23f)?_0x4e3d76:_0x4e3d76+'';}function _0x346d8a(_0x1dd346,_0x49f7e0,_0x217635){const _0x114a02=_0xa91dca;return(_0x49f7e0=_0x3f36f4(_0x49f7e0))in _0x1dd346?Object[_0x114a02(0x261)](_0x1dd346,_0x49f7e0,{'value':_0x217635,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1dd346[_0x49f7e0]=_0x217635,_0x1dd346;}var _0x7c36e4=class{constructor(_0x2fff76,_0x5a1179,_0x44f52a,_0x3fb4d1){const _0x5893c4=_0xa91dca;_0x346d8a(this,'unitId',void 0x0),_0x346d8a(this,_0x5893c4(0x219),void 0x0),_0x346d8a(this,_0x5893c4(0x251),void 0x0),_0x346d8a(this,'x',0x0),_0x346d8a(this,'y',0x0),_0x346d8a(this,_0x5893c4(0x286),0xc8),_0x346d8a(this,_0x5893c4(0x201),0xc8),_0x346d8a(this,'shapeType',void 0x0),_0x346d8a(this,_0x5893c4(0x275),{}),_0x346d8a(this,_0x5893c4(0x1fe),void 0x0),this['unitId']=_0x2fff76,this[_0x5893c4(0x219)]=_0x5a1179,this[_0x5893c4(0x251)]=_0x44f52a||(0x0,_0x47ba5e[_0x5893c4(0x29c)])(),this['_injector']=_0x3fb4d1;}[_0xa91dca(0x221)](_0x2f7d2f,_0xef1010,_0x4fc605,_0x139ed7){const _0x208299=_0xa91dca;let _0x5d6db1=this[_0x208299(0x1fe)][_0x208299(0x242)](_0x12eb57[_0x208299(0x20d)])[_0x208299(0x1fb)](this[_0x208299(0x25f)]);if(!_0x5d6db1)throw Error(_0x208299(0x1f0));let _0x1e3651=_0x5d6db1[_0x208299(0x25e)](_0x5e41fb[_0x208299(0x1f9)]),_0x54ad1d=_0x5d6db1['with'](_0x5e41fb[_0x208299(0x220)]),{transform:_0x10586d}=(0x0,_0x5e41fb[_0x208299(0x274)])(this['unitId'],this[_0x208299(0x219)],{'row':_0x2f7d2f,'column':_0xef1010,'rowOffset':_0x4fc605,'columnOffset':_0x139ed7},0x1,0x1,_0x1e3651,_0x54ad1d);return this['x']=_0x10586d[_0x208299(0x22d)],this['y']=_0x10586d[_0x208299(0x203)],this;}[_0xa91dca(0x268)](_0xe614b2,_0x4789d2){return this['x']=_0xe614b2,this['y']=_0x4789d2,this;}['setShapeType'](_0x4523a9){const _0x5811a7=_0xa91dca;return this[_0x5811a7(0x294)]=_0x4523a9,this;}[_0xa91dca(0x292)](_0x286ea0,_0x2fafc4){const _0x4a7ee6=_0xa91dca;return this[_0x4a7ee6(0x275)][_0x4a7ee6(0x1f1)]||(this[_0x4a7ee6(0x275)][_0x4a7ee6(0x1f1)]={}),this[_0x4a7ee6(0x275)][_0x4a7ee6(0x1f1)][_0x4a7ee6(0x27f)]=_0x1f6218[_0x4a7ee6(0x266)]['SolidFil'],_0x286ea0!==void 0x0&&(this[_0x4a7ee6(0x275)]['fill']['color']=_0x286ea0),_0x2fafc4!==void 0x0&&(this[_0x4a7ee6(0x275)]['fill'][_0x4a7ee6(0x1f6)]=_0x2fafc4),this;}[_0xa91dca(0x250)](_0xdfc8b9,_0x4ded36,_0x1239be){const _0x5cd610=_0xa91dca;if(_0x4ded36===void 0x0||_0x4ded36[_0x5cd610(0x23a)]===0x0)throw Error(_0x5cd610(0x240));return this[_0x5cd610(0x275)]['fill']||(this[_0x5cd610(0x275)]['fill']={}),this[_0x5cd610(0x275)]['fill'][_0x5cd610(0x1f2)]=_0x4ded36,this[_0x5cd610(0x275)][_0x5cd610(0x1f1)]['fillType']=_0x1f6218[_0x5cd610(0x266)][_0x5cd610(0x290)],this[_0x5cd610(0x275)]['fill']['gradientType']=_0xdfc8b9,_0x1239be!==void 0x0&&(this[_0x5cd610(0x275)][_0x5cd610(0x1f1)][_0x5cd610(0x26a)]=_0x1239be),this;}[_0xa91dca(0x27e)](){const _0x39377b=_0xa91dca;return this['shapeData'][_0x39377b(0x1f1)]={'fillType':_0x1f6218['ShapeFillEnum']['NoFill']},this;}[_0xa91dca(0x262)](_0x4c986c){const _0x12ac59=_0xa91dca;return this['shapeData']['stroke']||(this[_0x12ac59(0x275)][_0x12ac59(0x223)]={}),this['shapeData'][_0x12ac59(0x223)][_0x12ac59(0x247)]=_0x4c986c,this;}['setStrokeWidth'](_0x5518e7){const _0x32010e=_0xa91dca;return this[_0x32010e(0x275)][_0x32010e(0x223)]||(this[_0x32010e(0x275)][_0x32010e(0x223)]={}),this[_0x32010e(0x275)][_0x32010e(0x223)]['width']=_0x5518e7,this;}['setStrokeLineDashType'](_0x193c84){const _0x22875f=_0xa91dca;return this[_0x22875f(0x275)][_0x22875f(0x223)]||(this['shapeData'][_0x22875f(0x223)]={}),this[_0x22875f(0x275)]['stroke'][_0x22875f(0x235)]=_0x193c84,this;}[_0xa91dca(0x23b)](_0x758b17){const _0x421ecd=_0xa91dca;return this['shapeData']['stroke']||(this['shapeData'][_0x421ecd(0x223)]={}),this['shapeData']['stroke'][_0x421ecd(0x21f)]=_0x758b17,this;}[_0xa91dca(0x20f)](_0x13328e){const _0xb75e4c=_0xa91dca;return this[_0xb75e4c(0x275)][_0xb75e4c(0x223)]||(this[_0xb75e4c(0x275)]['stroke']={}),this[_0xb75e4c(0x275)][_0xb75e4c(0x223)][_0xb75e4c(0x204)]=_0x13328e,this;}[_0xa91dca(0x1fa)](_0x8c787){const _0x1a3c36=_0xa91dca;return this[_0x1a3c36(0x275)][_0x1a3c36(0x223)]||(this['shapeData']['stroke']={}),this[_0x1a3c36(0x275)][_0x1a3c36(0x223)][_0x1a3c36(0x1f6)]=_0x8c787,this;}[_0xa91dca(0x20e)](_0x2ad7b3){const _0x4d7829=_0xa91dca;return this[_0x4d7829(0x275)][_0x4d7829(0x223)]||(this[_0x4d7829(0x275)][_0x4d7829(0x223)]={}),this['shapeData']['stroke']['lineStrokeType']=_0x2ad7b3,this;}['setWidth'](_0x4243e5){const _0x440dc9=_0xa91dca;return this[_0x440dc9(0x286)]=_0x4243e5,this;}[_0xa91dca(0x279)](_0x8c071f){const _0x35ec6f=_0xa91dca;return this[_0x35ec6f(0x201)]=_0x8c071f,this;}['isLineShape'](){const _0x441152=_0xa91dca;let _0x25cfc4=this['_injector'][_0x441152(0x242)](_0x477436['SheetsShapeService'])[_0x441152(0x267)](this[_0x441152(0x25f)],this[_0x441152(0x219)],this[_0x441152(0x251)]);return _0x25cfc4?(0x0,_0x1f6218[_0x441152(0x20b)])(_0x25cfc4[_0x441152(0x241)]()):this[_0x441152(0x294)]?(0x0,_0x1f6218[_0x441152(0x20b)])(this['shapeType']):!0x1;}['getConnectionSites'](){const _0x3dfaeb=_0xa91dca;let _0x2ded5f=this[_0x3dfaeb(0x1fe)]['get'](_0x477436[_0x3dfaeb(0x254)])['getShapeModel'](this[_0x3dfaeb(0x25f)],this[_0x3dfaeb(0x219)],this['drawId']);if(!_0x2ded5f)return[];let _0x46fc59=this[_0x3dfaeb(0x1fe)][_0x3dfaeb(0x242)](_0x340bb2[_0x3dfaeb(0x273)])['getDrawingByParam']({'unitId':this[_0x3dfaeb(0x25f)],'subUnitId':this[_0x3dfaeb(0x219)],'drawingId':this[_0x3dfaeb(0x251)]});if(!(_0x46fc59!=null&&_0x46fc59[_0x3dfaeb(0x227)]))return[];let {width:_0xe14307=0x0,height:_0x56c624=0x0}=_0x46fc59[_0x3dfaeb(0x227)];return _0x2ded5f[_0x3dfaeb(0x1fd)]({'width':_0xe14307,'height':_0x56c624}),_0x2ded5f[_0x3dfaeb(0x26d)]();}[_0xa91dca(0x21a)](){const _0x43b59d=_0xa91dca;let _0x2f3c11=this[_0x43b59d(0x1fe)]['get'](_0x477436['SheetsShapeService'])[_0x43b59d(0x267)](this[_0x43b59d(0x25f)],this[_0x43b59d(0x219)],this[_0x43b59d(0x251)]);if(!_0x2f3c11)return[];let _0x2766f8=this[_0x43b59d(0x1fe)][_0x43b59d(0x242)](_0x340bb2[_0x43b59d(0x273)])[_0x43b59d(0x211)]({'unitId':this[_0x43b59d(0x25f)],'subUnitId':this[_0x43b59d(0x219)],'drawingId':this[_0x43b59d(0x251)]});if(!(_0x2766f8!=null&&_0x2766f8[_0x43b59d(0x227)]))return[];let {width:_0x20fd84=0x0,height:_0x6f0597=0x0}=_0x2766f8[_0x43b59d(0x227)];return _0x2f3c11[_0x43b59d(0x1fd)]({'width':_0x20fd84,'height':_0x6f0597}),_0x2f3c11['getDrawingPoints']();}[_0xa91dca(0x29d)](){const _0x38a012=_0xa91dca;let _0x365c2d=this[_0x38a012(0x1fe)][_0x38a012(0x242)](_0x477436[_0x38a012(0x254)])[_0x38a012(0x267)](this[_0x38a012(0x25f)],this[_0x38a012(0x219)],this['drawId']);if(!_0x365c2d||!(0x0,_0x1f6218[_0x38a012(0x20b)])(_0x365c2d[_0x38a012(0x241)]()))return[];let _0x7f216b=this[_0x38a012(0x1fe)]['get'](_0x340bb2[_0x38a012(0x273)])[_0x38a012(0x211)]({'unitId':this[_0x38a012(0x25f)],'subUnitId':this['subUnitId'],'drawingId':this[_0x38a012(0x251)]});if(!(_0x7f216b!=null&&_0x7f216b[_0x38a012(0x227)]))return[];let {width:_0x176406=0x0,height:_0xa1f402=0x0}=_0x7f216b[_0x38a012(0x227)];return _0x365c2d[_0x38a012(0x1fd)]({'width':_0x176406,'height':_0xa1f402}),_0x365c2d[_0x38a012(0x29d)]();}[_0xa91dca(0x206)](){const _0x37b81a=_0xa91dca;var _0x2b66c2;let _0x466b8a=this[_0x37b81a(0x1fe)][_0x37b81a(0x242)](_0x477436[_0x37b81a(0x254)])[_0x37b81a(0x267)](this['unitId'],this['subUnitId'],this[_0x37b81a(0x251)]);return _0x466b8a?(_0x2b66c2=_0x466b8a['getStartConnectInfo']())==null?null:_0x2b66c2:null;}['getEndConnectInfo'](){const _0x118bbe=_0xa91dca;var _0x5bc8f6;let _0x5da970=this[_0x118bbe(0x1fe)]['get'](_0x477436[_0x118bbe(0x254)])[_0x118bbe(0x267)](this[_0x118bbe(0x25f)],this[_0x118bbe(0x219)],this[_0x118bbe(0x251)]);return _0x5da970?(_0x5bc8f6=_0x5da970['getEndConnectInfo']())==null?null:_0x5bc8f6:null;}[_0xa91dca(0x263)](){const _0x1fb53e=_0xa91dca;var _0x1c8582,_0x1468d3;if(!this['shapeType'])throw Error(_0x1fb53e(0x231));if(this['x']===0x0||this['y']===0x0){let _0x52f1f8=this[_0x1fb53e(0x1fe)]['get'](_0x12eb57[_0x1fb53e(0x20d)])[_0x1fb53e(0x1fb)](this[_0x1fb53e(0x25f)]);if(!_0x52f1f8)throw Error(_0x1fb53e(0x1f0));let _0x2f3352=_0x52f1f8['with'](_0x5e41fb[_0x1fb53e(0x1f9)]),_0x1bb7a8=_0x52f1f8[_0x1fb53e(0x25e)](_0x5e41fb['SheetSkeletonManagerService']),{transform:_0xd4d267}=(0x0,_0x5e41fb[_0x1fb53e(0x274)])(this[_0x1fb53e(0x25f)],this[_0x1fb53e(0x219)],{'row':0x1,'column':0x1,'rowOffset':0x0,'columnOffset':0x0},0x1,0x1,_0x2f3352,_0x1bb7a8);this['x']=this['x']>0x0?this['x']:_0xd4d267[_0x1fb53e(0x22d)],this['y']=this['y']>0x0?this['y']:_0xd4d267[_0x1fb53e(0x203)];}return this[_0x1fb53e(0x286)]=(_0x1c8582=this[_0x1fb53e(0x286)])==null?0xc8:_0x1c8582,this[_0x1fb53e(0x201)]=(_0x1468d3=this[_0x1fb53e(0x201)])==null?0xc8:_0x1468d3,{'unitId':this['unitId'],'subUnitId':this[_0x1fb53e(0x219)],'shapeId':this[_0x1fb53e(0x251)],'shapeType':this[_0x1fb53e(0x294)],'shapeData':Object[_0x1fb53e(0x295)](this[_0x1fb53e(0x275)])['length']>0x0?this[_0x1fb53e(0x275)]:void 0x0,'x':this['x'],'y':this['y'],'width':this['width'],'height':this[_0x1fb53e(0x201)]};}[_0xa91dca(0x24e)](){const _0xf19cff=_0xa91dca;return this[_0xf19cff(0x251)];}[_0xa91dca(0x241)](){return this['shapeType'];}[_0xa91dca(0x216)](){const _0x278f7a=_0xa91dca;return this[_0x278f7a(0x275)];}['getPosition'](){return{'x':this['x'],'y':this['y']};}[_0xa91dca(0x1f8)](){const _0x2c7216=_0xa91dca;return{'width':this[_0x2c7216(0x286)],'height':this['height']};}},_0x2d7939=class extends _0x7c36e4{constructor(_0x458ebf,_0x5a2f08,_0x14ad43,_0x223aa7){super(_0x458ebf,_0x5a2f08,_0x14ad43,_0x223aa7),_0x346d8a(this,'shapeData',{});}[_0xa91dca(0x228)](_0x5e0259){const _0x74baaa=_0xa91dca;if(!(0x0,_0x1f6218[_0x74baaa(0x20b)])(_0x5e0259))throw Error('Invalid\x20shape\x20type\x20for\x20connector.\x20Received\x20'+_0x5e0259+_0x74baaa(0x218));return super[_0x74baaa(0x228)](_0x5e0259),this;}['setStartArrowType'](_0x201ae5){const _0x5653e4=_0xa91dca;var _0x39aadf,_0x11f521;return(_0x39aadf=this[_0x5653e4(0x275)])!=null&&_0x39aadf['ln']||(this[_0x5653e4(0x275)]['ln']={}),!((_0x11f521=this[_0x5653e4(0x275)])==null||(_0x11f521=_0x11f521['ln'])==null)&&_0x11f521['startArrow']||(this[_0x5653e4(0x275)]['ln'][_0x5653e4(0x249)]={}),this[_0x5653e4(0x275)]['ln'][_0x5653e4(0x249)][_0x5653e4(0x210)]=_0x201ae5,this;}['setEndArrowType'](_0x3c1daa){const _0x5adb73=_0xa91dca;var _0x228728,_0x574620;return(_0x228728=this['shapeData'])!=null&&_0x228728['ln']||(this[_0x5adb73(0x275)]['ln']={}),!((_0x574620=this[_0x5adb73(0x275)])==null||(_0x574620=_0x574620['ln'])==null)&&_0x574620[_0x5adb73(0x252)]||(this[_0x5adb73(0x275)]['ln'][_0x5adb73(0x252)]={}),this['shapeData']['ln'][_0x5adb73(0x252)][_0x5adb73(0x210)]=_0x3c1daa,this;}[_0xa91dca(0x25a)](_0x1bc87e){const _0x5c3865=_0xa91dca;var _0x57fc0b,_0x58dc94;return(_0x57fc0b=this['shapeData'])!=null&&_0x57fc0b['ln']||(this[_0x5c3865(0x275)]['ln']={}),!((_0x58dc94=this[_0x5c3865(0x275)])==null||(_0x58dc94=_0x58dc94['ln'])==null)&&_0x58dc94[_0x5c3865(0x249)]||(this[_0x5c3865(0x275)]['ln']['startArrow']={}),this[_0x5c3865(0x275)]['ln']['startArrow'][_0x5c3865(0x20c)]=_0x1bc87e,this;}[_0xa91dca(0x282)](_0x34446a){const _0x15f3ca=_0xa91dca;var _0x3bed3a,_0x57e152;return(_0x3bed3a=this['shapeData'])!=null&&_0x3bed3a['ln']||(this['shapeData']['ln']={}),!((_0x57e152=this[_0x15f3ca(0x275)])==null||(_0x57e152=_0x57e152['ln'])==null)&&_0x57e152['endArrow']||(this[_0x15f3ca(0x275)]['ln'][_0x15f3ca(0x252)]={}),this[_0x15f3ca(0x275)]['ln'][_0x15f3ca(0x252)][_0x15f3ca(0x20c)]=_0x34446a,this;}['build'](){return super['build']();}['getEndConnectInfo'](){const _0x39ff12=_0xa91dca;var _0x412b6f;return((_0x412b6f=this[_0x39ff12(0x275)])==null||(_0x412b6f=_0x412b6f[_0x39ff12(0x238)])==null?void 0x0:_0x412b6f['to'])||null;}['getStartConnectInfo'](){const _0x466951=_0xa91dca;var _0x429591;return((_0x429591=this[_0x466951(0x275)])==null||(_0x429591=_0x429591[_0x466951(0x238)])==null?void 0x0:_0x429591['from'])||null;}};function _0x191194(_0x4069f3,_0x11f42c,_0x47db04){const _0x5e23f4=_0xa91dca;var _0x43ec70;let _0x1165c5=(_0x43ec70=_0x47db04[_0x5e23f4(0x1fb)](_0x11f42c))==null?void 0x0:_0x43ec70[_0x5e23f4(0x25e)](_0x5e41fb[_0x5e23f4(0x1f9)]);if(!_0x1165c5)return null;let _0x320b69=_0x1165c5[_0x5e23f4(0x246)](_0x4069f3[_0x5e23f4(0x243)],_0x4069f3[_0x5e23f4(0x264)]);if(!_0x320b69)return null;let _0x2a59a1=_0x1165c5[_0x5e23f4(0x246)](_0x4069f3['endX'],_0x4069f3[_0x5e23f4(0x255)]);return _0x2a59a1?{'from':{'column':_0x320b69['actualColumn'],'columnOffset':_0x4069f3[_0x5e23f4(0x243)]-_0x320b69[_0x5e23f4(0x243)],'row':_0x320b69['actualRow'],'rowOffset':_0x4069f3[_0x5e23f4(0x264)]-_0x320b69[_0x5e23f4(0x264)]},'to':{'column':_0x2a59a1[_0x5e23f4(0x248)],'columnOffset':_0x4069f3[_0x5e23f4(0x20a)]-_0x2a59a1[_0x5e23f4(0x243)],'row':_0x2a59a1['actualRow'],'rowOffset':_0x4069f3[_0x5e23f4(0x255)]-_0x2a59a1[_0x5e23f4(0x264)]}}:null;}function _0x51840f(_0x56052d,_0x547236){const _0x19d4ff=_0xa91dca;let _0x3835d5={'shapeType':_0x56052d,'shapeData':_0x547236},_0x1cf67f=(0x0,_0x1f6218[_0x19d4ff(0x20b)])(_0x56052d);return _0x1cf67f&&(_0x3835d5[_0x19d4ff(0x1f1)]=!0x1,_0x3835d5[_0x19d4ff(0x245)]=!0x1,_0x3835d5[_0x19d4ff(0x287)]=!0x1,_0x3835d5[_0x19d4ff(0x28c)]=!0x1),{'extraData':_0x3835d5,'isLine':_0x1cf67f};}function _0x1ee502(_0x44e7c8,_0x37915b){const _0x3604b7=_0xa91dca;let _0x5adc12={'left':_0x44e7c8[_0x3604b7(0x243)],'top':_0x44e7c8['startY'],'width':_0x44e7c8['endX']-_0x44e7c8['startX'],'height':_0x44e7c8[_0x3604b7(0x255)]-_0x44e7c8['startY']};return _0x37915b&&(_0x5adc12[_0x3604b7(0x245)]=!0x1,_0x5adc12[_0x3604b7(0x287)]=!0x1,_0x5adc12[_0x3604b7(0x28c)]=!0x1),_0x5adc12;}function _0x1f14bf(_0x49ea6a,_0x108791,_0x163ff8,_0x180ace,_0x3de793,_0x1170c4){const _0x19a487=_0xa91dca;let _0x54bc8b=_0x3de793['getShapeModel'](_0x49ea6a,_0x108791,_0x163ff8);if(!_0x54bc8b)return null;let _0x3f27c9=_0x1170c4[_0x19a487(0x211)]({'unitId':_0x49ea6a,'subUnitId':_0x108791,'drawingId':_0x163ff8});if(!(_0x3f27c9!=null&&_0x3f27c9[_0x19a487(0x227)]))return null;let {left:_0x421f19=0x0,top:_0x4f7c28=0x0,width:_0x12171d=0x0,height:_0x3c2403=0x0,flipX:_0x269b85=!0x1,flipY:_0x765117=!0x1,angle:_0x1d64f4}=_0x3f27c9[_0x19a487(0x227)];_0x54bc8b[_0x19a487(0x1fd)]({'width':_0x12171d,'height':_0x3c2403});let _0xa35061=_0x54bc8b[_0x19a487(0x26d)]()['find'](_0x1a8ac7=>_0x1a8ac7[_0x19a487(0x28f)]===_0x180ace);if(!_0xa35061)return null;let _0x30d8d2=_0x269b85?_0x12171d-_0xa35061['x']:_0xa35061['x'],_0x22d18c=_0x765117?_0x3c2403-_0xa35061['y']:_0xa35061['y'];if(_0x1d64f4&&_0x1d64f4!==0x0){let _0x1c9708=_0x1d64f4*Math['PI']/0xb4,_0x9b9776=Math[_0x19a487(0x272)](_0x1c9708),_0x323209=Math['sin'](_0x1c9708),_0x552f6d=_0x12171d/0x2,_0x1bf5dd=_0x3c2403/0x2,_0x248f13=_0x30d8d2-_0x552f6d,_0x415f21=_0x22d18c-_0x1bf5dd;_0x30d8d2=_0x552f6d+_0x248f13*_0x9b9776-_0x415f21*_0x323209,_0x22d18c=_0x1bf5dd+_0x248f13*_0x323209+_0x415f21*_0x9b9776;}_0x30d8d2+=_0x421f19,_0x22d18c+=_0x4f7c28;let _0x3ae0cd=_0xa35061['ang']/0xea60;_0x269b85&&(_0x3ae0cd=0xb4-_0x3ae0cd),_0x765117&&(_0x3ae0cd=-_0x3ae0cd),_0x3ae0cd+=_0x1d64f4||0x0,_0x3ae0cd=(_0x3ae0cd%0x168+0x168)%0x168;let _0x14187d=(0x0,_0x1f6218[_0x19a487(0x1ee)])({'left':_0x421f19,'top':_0x4f7c28,'width':_0x12171d,'height':_0x3c2403},_0x1d64f4||0x0);return{'point':{'x':_0x30d8d2,'y':_0x22d18c},'angle':_0x3ae0cd,'bounds':_0x14187d};}function _0x235868(_0x11ce2c,_0x552459){let _0x461b45=_0x552459['x']-_0x11ce2c['x'],_0xe1eca8=_0x552459['y']-_0x11ce2c['y'];return Math['abs'](_0x461b45)>=Math['abs'](_0xe1eca8)?_0x461b45>=0x0?0xb4:0x0:_0xe1eca8>=0x0?0x10e:0x5a;}function _0x55248f(_0x2faf2d,_0x32e23e,_0x319c1e,_0x5bdced,_0x327bad,_0x5e3be7,_0xbdca1c){const _0x1404f3=_0xa91dca;let _0x3decc6=_0x5e3be7['getShapeModel'](_0x2faf2d,_0x32e23e,_0x319c1e);if(!_0x3decc6)return null;let _0x3bb5de=_0xbdca1c['getDrawingByParam']({'unitId':_0x2faf2d,'subUnitId':_0x32e23e,'drawingId':_0x319c1e});if(!(_0x3bb5de!=null&&_0x3bb5de[_0x1404f3(0x227)]))return null;let {left:_0x322376=0x0,top:_0x87cbc1=0x0,width:_0x524ac4=0x0,height:_0x2757eb=0x0,flipX:_0xea4524=!0x1,flipY:_0x83f060=!0x1}=_0x3bb5de[_0x1404f3(0x227)];_0x3decc6['updateContext']({'width':_0x524ac4,'height':_0x2757eb});let _0x4fd812=_0x3decc6['getConnectorLinePoints']();if(_0x4fd812[_0x1404f3(0x23a)]<0x2)return null;let _0x2c2c14=_0x5bdced?_0x4fd812[0x0]:_0x4fd812[_0x4fd812['length']-0x1],_0x487485=new _0x1f6218[(_0x1404f3(0x271))]({'left':_0x322376,'top':_0x87cbc1,'width':_0x524ac4,'height':_0x2757eb,'flipX':_0xea4524,'flipY':_0x83f060})[_0x1404f3(0x253)](_0x2c2c14);return{'point':_0x487485,'angle':_0x235868(_0x327bad[_0x1404f3(0x270)],_0x487485),'bounds':{'left':_0x487485['x'],'top':_0x487485['y'],'width':0x0,'height':0x0}};}var _0x3366ec=class extends _0x5ce8be[_0xa91dca(0x1ef)]{async[_0xa91dca(0x1f5)](_0x280003){const _0x365b1a=_0xa91dca;let _0x2efeb1=_0x280003['unitId']||this['getWorkbook']()[_0x365b1a(0x236)](),_0x508393=_0x280003[_0x365b1a(0x219)]||this['getSheetId'](),_0x3bb8dc=_0x280003[_0x365b1a(0x276)]||(0x0,_0x47ba5e[_0x365b1a(0x29c)])(),{shapeType:_0x4fb3bd,shapeData:_0x10f107,x:_0x271eb5,y:_0x32bafd,width:_0x4b5604,height:_0x8ad8b9}=_0x280003,_0x4ff718=this[_0x365b1a(0x1fe)][_0x365b1a(0x242)](_0x12eb57[_0x365b1a(0x20d)]),_0x117d8c={'startX':_0x271eb5,'endX':_0x271eb5+_0x4b5604,'startY':_0x32bafd,'endY':_0x32bafd+_0x8ad8b9},_0x16d47c=_0x191194(_0x117d8c,_0x2efeb1,_0x4ff718);if(!_0x16d47c)return!0x1;let {extraData:_0x177af0,isLine:_0x5cf244}=_0x51840f(_0x4fb3bd,_0x10f107),_0x41577f=_0x1ee502(_0x117d8c,_0x5cf244);return this[_0x365b1a(0x22e)][_0x365b1a(0x29a)](_0x5b333f[_0x365b1a(0x1ed)]['id'],{'unitId':_0x2efeb1,'drawings':[{'unitId':_0x2efeb1,'subUnitId':_0x508393,'drawingId':_0x3bb8dc,'drawingType':_0x47ba5e['DrawingTypeEnum']['DRAWING_SHAPE'],'componentKey':_0x365b1a(0x217),'sheetTransform':_0x16d47c,'axisAlignSheetTransform':_0x16d47c,'transform':_0x41577f,'data':_0x177af0,'allowTransform':!0x0}]});}async['updateShape'](_0x413deb){const _0x3cdf3c=_0xa91dca;let _0x5b3d0e=_0x413deb['unitId']||this[_0x3cdf3c(0x200)]()['getUnitId'](),_0x17f161=_0x413deb[_0x3cdf3c(0x219)]||this['getSheetId'](),_0x4bbe70=_0x413deb[_0x3cdf3c(0x276)],{shapeType:_0x4d84d3,shapeData:_0x361447,x:_0x2150c2,y:_0x5b4340,width:_0x438099,height:_0x26c1bf}=_0x413deb,_0x44954b=this[_0x3cdf3c(0x1fe)][_0x3cdf3c(0x242)](_0x12eb57[_0x3cdf3c(0x20d)]),_0x1dc26f={'startX':_0x2150c2,'endX':_0x2150c2+_0x438099,'startY':_0x5b4340,'endY':_0x5b4340+_0x26c1bf},_0x195c95=_0x191194(_0x1dc26f,_0x5b3d0e,_0x44954b);if(!_0x195c95)return!0x1;let _0x501045=_0x1ee502(_0x1dc26f,(0x0,_0x1f6218[_0x3cdf3c(0x20b)])(_0x4d84d3));return this['_commandService']['executeCommand'](_0x5b665f[_0x3cdf3c(0x288)]['id'],{'unitId':_0x5b3d0e,'subUnitId':_0x17f161,'shapeId':_0x4bbe70,'shapeType':_0x4d84d3,'shapeData':_0x361447,'transform':_0x501045,'sheetTransform':_0x195c95,'axisAlignSheetTransform':_0x195c95});}[_0xa91dca(0x237)](_0x65930f){const _0x298a52=_0xa91dca;let _0x349300=this[_0x298a52(0x200)]()[_0x298a52(0x236)](),_0x5d9927=this[_0x298a52(0x277)]();if(_0x65930f){let _0x13ef64=new _0x7c36e4(_0x349300,_0x5d9927,_0x65930f[_0x298a52(0x251)],this['_injector']);return this[_0x298a52(0x25c)](_0x13ef64,_0x349300,_0x5d9927,_0x65930f[_0x298a52(0x251)]),_0x13ef64;}return new _0x7c36e4(_0x349300,_0x5d9927,(0x0,_0x47ba5e['generateRandomId'])(),this[_0x298a52(0x1fe)]);}[_0xa91dca(0x24f)](_0x5ee2dc){const _0x1dd3f7=_0xa91dca;let _0x104064=this[_0x1dd3f7(0x200)]()[_0x1dd3f7(0x236)](),_0x10b5c4=this[_0x1dd3f7(0x277)]();if(_0x5ee2dc){let _0x253797=new _0x2d7939(_0x104064,_0x10b5c4,_0x5ee2dc['drawId'],this[_0x1dd3f7(0x1fe)]);return this[_0x1dd3f7(0x25c)](_0x253797,_0x104064,_0x10b5c4,_0x5ee2dc['drawId']),_0x253797;}return new _0x2d7939(_0x104064,_0x10b5c4,(0x0,_0x47ba5e['generateRandomId'])(),this[_0x1dd3f7(0x1fe)]);}[_0xa91dca(0x26b)](){const _0x2efbdc=_0xa91dca;let _0xd333d9=this['_injector']['get'](_0xd45d4b[_0x2efbdc(0x27b)]),_0x479cfe=this['getWorkbook']()[_0x2efbdc(0x236)](),_0x707b33=this[_0x2efbdc(0x277)](),_0x47ab0c=_0xd333d9[_0x2efbdc(0x233)](_0x479cfe,_0x707b33);if(!_0x47ab0c)return[];let _0x2d92ad=[];for(let [_0x3730ab,_0x34ed7f]of Object[_0x2efbdc(0x26c)](_0x47ab0c))if(_0x34ed7f&&_0x34ed7f[_0x2efbdc(0x207)]===_0x47ba5e[_0x2efbdc(0x283)][_0x2efbdc(0x26f)]){let _0x487850=new _0x7c36e4(_0x479cfe,_0x707b33,_0x3730ab,this[_0x2efbdc(0x1fe)]);this[_0x2efbdc(0x25c)](_0x487850,_0x479cfe,_0x707b33,_0x3730ab),_0x2d92ad[_0x2efbdc(0x29b)](_0x487850);}return _0x2d92ad;}[_0xa91dca(0x229)](_0x4d0783){const _0x1c09e=_0xa91dca;let _0x21306a=_0x4d0783['unitId'],_0x490fb3={'unitId':_0x21306a,'drawings':[{'unitId':_0x21306a,'subUnitId':_0x4d0783[_0x1c09e(0x219)],'drawingId':_0x4d0783[_0x1c09e(0x251)],'drawingType':_0x47ba5e[_0x1c09e(0x283)][_0x1c09e(0x26f)]}]};return this[_0x1c09e(0x22e)][_0x1c09e(0x29a)](_0x5b333f[_0x1c09e(0x293)]['id'],_0x490fb3);}async[_0xa91dca(0x21c)](_0x5d2a53){const _0x1cca50=_0xa91dca;let {connector:_0x51226f,startTarget:_0x5abd78,endTarget:_0x512f7c}=_0x5d2a53;if(!_0x5abd78&&!_0x512f7c)return!0x1;let _0x204edd=this[_0x1cca50(0x200)]()[_0x1cca50(0x236)](),_0x511b31=this['getSheetId'](),_0x57695b=this['_injector'][_0x1cca50(0x242)](_0x477436['SheetsShapeService']),_0x5b16af=this['_injector'][_0x1cca50(0x242)](_0x340bb2['IDrawingManagerService']),_0x3fbc13=_0x57695b[_0x1cca50(0x267)](_0x204edd,_0x511b31,_0x51226f[_0x1cca50(0x251)]);if(!_0x3fbc13)return!0x1;let _0x25da65=_0x3fbc13[_0x1cca50(0x241)](),_0x113c94=_0x3fbc13[_0x1cca50(0x1f3)](),_0x229b5f={};for(let _0x3d66f5 of _0x3fbc13[_0x1cca50(0x21b)]()){let _0x865f7c=_0x3fbc13[_0x1cca50(0x234)](_0x3d66f5);_0x865f7c!==void 0x0&&(_0x229b5f[_0x3d66f5]=_0x865f7c);}let {startInfo:_0x400bd6,endInfo:_0x1cebb7}=this['_resolveEndpoints'](_0x204edd,_0x511b31,_0x51226f,_0x3fbc13,_0x5abd78,_0x512f7c,_0x57695b,_0x5b16af,_0x113c94);if(!_0x400bd6||!_0x1cebb7)return!0x1;let _0xed37b6=(0x0,_0x1f6218[_0x1cca50(0x280)])((0x0,_0x1f6218[_0x1cca50(0x22b)])(_0x400bd6,_0x1cebb7,_0x25da65),_0x25da65),_0x2ab1c8={};return _0x5abd78?_0x2ab1c8['from']={'shapeId':_0x5abd78[_0x1cca50(0x1f7)][_0x1cca50(0x251)],'cxnIndex':_0x5abd78[_0x1cca50(0x28e)]}:_0x113c94!=null&&_0x113c94[_0x1cca50(0x205)]&&(_0x2ab1c8['from']=_0x113c94[_0x1cca50(0x205)]),_0x512f7c?_0x2ab1c8['to']={'shapeId':_0x512f7c[_0x1cca50(0x1f7)]['drawId'],'cxnIndex':_0x512f7c[_0x1cca50(0x28e)]}:_0x113c94!=null&&_0x113c94['to']&&(_0x2ab1c8['to']=_0x113c94['to']),this[_0x1cca50(0x22e)]['executeCommand'](_0x1cca50(0x28d),{'unitId':_0x204edd,'subUnitId':_0x511b31,'connectorShapeId':_0x51226f[_0x1cca50(0x251)],'width':_0xed37b6[_0x1cca50(0x212)][_0x1cca50(0x286)],'height':_0xed37b6[_0x1cca50(0x212)][_0x1cca50(0x201)],'left':_0xed37b6['worldRect']['left'],'top':_0xed37b6['worldRect'][_0x1cca50(0x203)],'flipX':_0xed37b6['worldRect'][_0x1cca50(0x25d)]||!0x1,'flipY':_0xed37b6[_0x1cca50(0x212)][_0x1cca50(0x27c)]||!0x1,'oldAdjustValues':_0x229b5f,'newAdjustValues':_0xed37b6['adjustValues'],'newLineType':_0xed37b6[_0x1cca50(0x1fc)],'oldLineType':_0x25da65,'rotation':_0xed37b6['rotation'],'oldRelation':_0x113c94,'newRelation':_0x2ab1c8});}[_0xa91dca(0x25c)](_0x265826,_0x35de5e,_0x3f8f56,_0x3e484f){const _0x5c8be7=_0xa91dca;let _0x3d5a50=this[_0x5c8be7(0x1fe)]['get'](_0x340bb2['IDrawingManagerService'])[_0x5c8be7(0x211)]({'unitId':_0x35de5e,'subUnitId':_0x3f8f56,'drawingId':_0x3e484f});if(_0x3d5a50!=null&&_0x3d5a50[_0x5c8be7(0x227)]){var _0x2c25d8,_0x3a23be,_0x5d491a,_0xcf512b;_0x265826['x']=(_0x2c25d8=_0x3d5a50['transform']['left'])==null?0x0:_0x2c25d8,_0x265826['y']=(_0x3a23be=_0x3d5a50[_0x5c8be7(0x227)][_0x5c8be7(0x203)])==null?0x0:_0x3a23be,_0x265826[_0x5c8be7(0x286)]=(_0x5d491a=_0x3d5a50['transform'][_0x5c8be7(0x286)])==null?_0x265826[_0x5c8be7(0x286)]:_0x5d491a,_0x265826[_0x5c8be7(0x201)]=(_0xcf512b=_0x3d5a50[_0x5c8be7(0x227)][_0x5c8be7(0x201)])==null?_0x265826['height']:_0xcf512b;}let _0xd44baa=this[_0x5c8be7(0x1fe)]['get'](_0x477436['SheetsShapeService'])[_0x5c8be7(0x267)](_0x35de5e,_0x3f8f56,_0x3e484f);if(_0xd44baa){_0x265826[_0x5c8be7(0x294)]=_0xd44baa['getShapeType']();let _0x1adf37=_0xd44baa['getShapeData']();_0x1adf37&&(_0x265826['shapeData']=JSON[_0x5c8be7(0x26e)](JSON['stringify'](_0x1adf37)));}}[_0xa91dca(0x28a)](_0x3c9e7b,_0xa32796,_0x2d6deb,_0x4ed42a,_0x49a74a,_0x1d1731,_0x1d6bb7,_0x48b776,_0x486f1a){const _0x581596=_0xa91dca;let _0x5a4643=null,_0xedb909=null;return _0x49a74a&&(_0x5a4643=_0x1f14bf(_0x3c9e7b,_0xa32796,_0x49a74a['shape']['drawId'],_0x49a74a[_0x581596(0x28e)],_0x1d6bb7,_0x48b776)),_0x1d1731&&(_0xedb909=_0x1f14bf(_0x3c9e7b,_0xa32796,_0x1d1731['shape']['drawId'],_0x1d1731[_0x581596(0x28e)],_0x1d6bb7,_0x48b776)),_0x5a4643||(_0x5a4643=this[_0x581596(0x222)](_0x3c9e7b,_0xa32796,_0x2d6deb[_0x581596(0x251)],!0x0,_0xedb909,_0x486f1a==null?void 0x0:_0x486f1a[_0x581596(0x205)],_0x1d6bb7,_0x48b776)),_0xedb909||(_0xedb909=this[_0x581596(0x222)](_0x3c9e7b,_0xa32796,_0x2d6deb[_0x581596(0x251)],!0x1,_0x5a4643,_0x486f1a==null?void 0x0:_0x486f1a['to'],_0x1d6bb7,_0x48b776)),{'startInfo':_0x5a4643,'endInfo':_0xedb909};}['_resolveExistingOrFreeEndpoint'](_0x2842e3,_0xeeaaaa,_0x38dd3a,_0xef22e9,_0x47f4bd,_0x2093bb,_0x142ed2,_0x581c19){const _0x4ca7b7=_0xa91dca;if(_0x2093bb){let _0x377ac4=_0x1f14bf(_0x2842e3,_0xeeaaaa,_0x2093bb['shapeId'],_0x2093bb[_0x4ca7b7(0x224)],_0x142ed2,_0x581c19);if(_0x377ac4)return _0x377ac4;}return _0x47f4bd?_0x55248f(_0x2842e3,_0xeeaaaa,_0x38dd3a,_0xef22e9,_0x47f4bd,_0x142ed2,_0x581c19):null;}};_0x5ce8be[_0xa91dca(0x1ef)][_0xa91dca(0x23d)](_0x3366ec),_0x5a5a19[_0xa91dca(0x213)]=_0x2d7939,_0x5a5a19[_0xa91dca(0x256)]=_0x7c36e4;}));