@univerjs-pro/sheets-shape-ui 0.15.5 → 0.16.0-insiders.20260228-a20b9a7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -0
- package/lib/cjs/facade.js +1 -0
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -0
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -0
- package/lib/index.css +1 -0
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/commands/command/set-shape-drawing-data-command.d.ts +13 -0
- package/lib/types/controllers/shape-sheet-change.controller.d.ts +12 -0
- package/lib/types/controllers/shape-text-editing.render-controller.d.ts +3 -3
- package/lib/types/controllers/shape-update.controller.d.ts +1 -0
- package/lib/types/controllers/sheet-basic-shape-connection.controller.d.ts +3 -3
- package/lib/types/controllers/sheet-shape-adjust-controller.d.ts +3 -3
- package/lib/types/controllers/sheet-shape-clipboard.controller.d.ts +20 -0
- package/lib/types/controllers/sheet-shape-command-interceptor.controller.d.ts +3 -3
- package/lib/types/controllers/sheet-shape-connector.controller.d.ts +3 -3
- package/lib/types/controllers/sheet-shape-render.controller.d.ts +3 -3
- package/lib/types/controllers/sheets-shape-ui.controller.d.ts +3 -3
- package/lib/types/facade/f-connector-shape.d.ts +180 -0
- package/lib/types/facade/f-enum.d.ts +194 -0
- package/lib/types/facade/f-shape.d.ts +642 -0
- package/lib/types/facade/f-worksheet.d.ts +231 -0
- package/lib/types/facade/index.d.ts +13 -0
- package/lib/types/index.d.ts +12 -0
- package/lib/types/views/shape-text-editor/index.d.ts +1 -2
- package/lib/types/views/shape-text-editor/position-wrapper.d.ts +1 -2
- package/lib/umd/facade.js +1 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +26 -16
package/README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# @univerjs-pro/sheets-shape-ui
|
|
2
|
+
|
|
3
|
+
[](https://npmjs.org/packages/@univerjs-pro/sheets-shape)
|
|
4
|
+
[](https://img.shields.io/npm/l/@univerjs-pro/sheets-shape)
|
|
5
|
+
|
|
6
|
+
## Introduction
|
|
7
|
+
|
|
8
|
+
Sheets Shape provides the core shape/drawing model and services for Univer Sheets. It allows users to insert, update, and remove various shapes (rectangles, circles, connectors, etc.) on spreadsheet worksheets. This package handles shape data management, mutations, and the underlying shape model logic. It is typically used together with `@univerjs-pro/sheets-shape-ui`, which provides the UI interactions for shapes.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
### Installation
|
|
13
|
+
|
|
14
|
+
```shell
|
|
15
|
+
# Using npm
|
|
16
|
+
npm install @univerjs-pro/sheets-shape-ui @univerjs-pro/sheets-shape
|
|
17
|
+
|
|
18
|
+
# Using pnpm
|
|
19
|
+
pnpm add @univerjs-pro/sheets-shape-ui @univerjs-pro/sheets-shape
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### Import
|
|
23
|
+
|
|
24
|
+
```ts
|
|
25
|
+
import { UniverSheetsShapePlugin } from '@univerjs-pro/sheets-shape';
|
|
26
|
+
import { UniverSheetsShapeUIPlugin } from '@univerjs-pro/sheets-shape-ui';
|
|
27
|
+
|
|
28
|
+
univer.registerPlugin(UniverSheetsShapePlugin);
|
|
29
|
+
univer.registerPlugin(UniverSheetsShapeUIPlugin);
|
|
30
|
+
```
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const _0x5764bc=_0x7085;(function(_0x22a1eb,_0x3382bc){const _0x236160=_0x7085,_0x5b2aaa=_0x22a1eb();while(!![]){try{const _0x598b77=-parseInt(_0x236160(0xf6))/0x1+parseInt(_0x236160(0x8a))/0x2*(parseInt(_0x236160(0xab))/0x3)+parseInt(_0x236160(0xc4))/0x4*(parseInt(_0x236160(0xd8))/0x5)+-parseInt(_0x236160(0x8d))/0x6+-parseInt(_0x236160(0xa8))/0x7+-parseInt(_0x236160(0xef))/0x8*(parseInt(_0x236160(0x92))/0x9)+parseInt(_0x236160(0xa3))/0xa;if(_0x598b77===_0x3382bc)break;else _0x5b2aaa['push'](_0x5b2aaa['shift']());}catch(_0x53d88e){_0x5b2aaa['push'](_0x5b2aaa['shift']());}}}(_0x3500,0xe1bca));function _0x7085(_0x545507,_0x1e01af){_0x545507=_0x545507-0x72;const _0x3500ff=_0x3500();let _0x7085c7=_0x3500ff[_0x545507];return _0x7085c7;}var H=Object[_0x5764bc(0xff)],N=(_0x51b736,_0x5f0208,_0x331529)=>_0x5f0208 in _0x51b736?H(_0x51b736,_0x5f0208,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x331529}):_0x51b736[_0x5f0208]=_0x331529,m=(_0x5cc472,_0x26dfda,_0x5b1c85)=>N(_0x5cc472,typeof _0x26dfda!=_0x5764bc(0x7f)?_0x26dfda+'':_0x26dfda,_0x5b1c85);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x5764bc(0xc9)});const l=require('@univerjs-pro/engine-shape'),q=require('@univerjs/core/facade'),v=require('@univerjs-pro/sheets-shape'),T=require('@univerjs/core'),b=require('@univerjs/drawing'),k=require('@univerjs/engine-render'),E=require('@univerjs/sheets-ui'),B=require('@univerjs-pro/sheets-shape-ui'),J=require('@univerjs/sheets-drawing'),R=require('@univerjs/sheets-drawing-ui'),G=require('@univerjs/sheets/facade');class V extends q[_0x5764bc(0xb4)]{get[_0x5764bc(0xdb)](){const _0x5d83c2=_0x5764bc;return l[_0x5d83c2(0xdb)];}get[_0x5764bc(0xf3)](){const _0x3fdccb=_0x5764bc;return l[_0x3fdccb(0xf3)];}get['ShapeGradientTypeEnum'](){const _0x5c8c9e=_0x5764bc;return l[_0x5c8c9e(0x9f)];}get[_0x5764bc(0xaf)](){const _0x3bcc26=_0x5764bc;return l[_0x3bcc26(0xaf)];}get[_0x5764bc(0x88)](){const _0x21373e=_0x5764bc;return l[_0x21373e(0x88)];}get[_0x5764bc(0xc0)](){const _0x27c8a6=_0x5764bc;return l[_0x27c8a6(0xc0)];}get['ShapeLineJoinEnum'](){return l['ShapeLineJoinEnum'];}get['ShapeArrowTypeEnum'](){const _0x69748a=_0x5764bc;return l[_0x69748a(0xc2)];}get[_0x5764bc(0x83)](){const _0x752001=_0x5764bc;return l[_0x752001(0x83)];}}q[_0x5764bc(0xb4)][_0x5764bc(0xb5)](V);const O=0xc8,W=0xc8;class x{constructor(_0x536d07,_0x158afe,_0x5f1348,_0x10f140){const _0xe3f8a8=_0x5764bc;m(this,_0xe3f8a8(0xe0)),m(this,_0xe3f8a8(0xdf)),m(this,_0xe3f8a8(0x7c)),m(this,'x',0x0),m(this,'y',0x0),m(this,_0xe3f8a8(0xa0),O),m(this,_0xe3f8a8(0x72),W),m(this,_0xe3f8a8(0xea)),m(this,_0xe3f8a8(0x105),{}),m(this,_0xe3f8a8(0x79)),(this['unitId']=_0x536d07,this[_0xe3f8a8(0xdf)]=_0x158afe,this[_0xe3f8a8(0x7c)]=_0x5f1348||T[_0xe3f8a8(0xbd)](),this[_0xe3f8a8(0x79)]=_0x10f140);}[_0x5764bc(0x103)](_0x3c636b,_0x6cb85a,_0x4457c2,_0x38b667){const _0x2b101a=_0x5764bc,_0x1dfa78=this[_0x2b101a(0x79)][_0x2b101a(0xc8)](k['IRenderManagerService'])[_0x2b101a(0x82)](this[_0x2b101a(0xe0)]);if(!_0x1dfa78)throw new Error(_0x2b101a(0xac));const _0x2f752d=_0x1dfa78[_0x2b101a(0xf2)](E[_0x2b101a(0xd6)]),_0x5bae28=_0x1dfa78['with'](E[_0x2b101a(0xde)]),{transform:_0x1d971e}=E['convertPositionCellToSheetOverGrid'](this[_0x2b101a(0xe0)],this['subUnitId'],{'row':_0x3c636b,'column':_0x6cb85a,'rowOffset':_0x4457c2,'columnOffset':_0x38b667},0x1,0x1,_0x2f752d,_0x5bae28);return this['x']=_0x1d971e[_0x2b101a(0xcf)],this['y']=_0x1d971e[_0x2b101a(0xfc)],this;}[_0x5764bc(0x102)](_0x188b34,_0x24200e){return this['x']=_0x188b34,this['y']=_0x24200e,this;}[_0x5764bc(0x73)](_0x20c2ca){const _0x582d3d=_0x5764bc;return this[_0x582d3d(0xea)]=_0x20c2ca,this;}[_0x5764bc(0x93)](_0x3738d4,_0x575ce4){const _0x16faa8=_0x5764bc;return this[_0x16faa8(0x105)][_0x16faa8(0xa1)]||(this[_0x16faa8(0x105)][_0x16faa8(0xa1)]={}),this[_0x16faa8(0x105)][_0x16faa8(0xa1)][_0x16faa8(0xe5)]=l[_0x16faa8(0xf3)]['SolidFil'],_0x3738d4!==void 0x0&&(this[_0x16faa8(0x105)][_0x16faa8(0xa1)][_0x16faa8(0x8f)]=_0x3738d4),_0x575ce4!==void 0x0&&(this['shapeData'][_0x16faa8(0xa1)][_0x16faa8(0xe6)]=_0x575ce4),this;}[_0x5764bc(0xdd)](_0xb7fda3,_0x1ae0db,_0x409afb){const _0x3a470d=_0x5764bc;if(_0x1ae0db===void 0x0||_0x1ae0db['length']===0x0)throw new Error('colorStops\x20is\x20required\x20and\x20should\x20contain\x20at\x20least\x20one\x20color\x20stop.');return this[_0x3a470d(0x105)]['fill']||(this['shapeData'][_0x3a470d(0xa1)]={}),this[_0x3a470d(0x105)][_0x3a470d(0xa1)][_0x3a470d(0x107)]=_0x1ae0db,this[_0x3a470d(0x105)][_0x3a470d(0xa1)][_0x3a470d(0xe5)]=l[_0x3a470d(0xf3)][_0x3a470d(0xd4)],this[_0x3a470d(0x105)][_0x3a470d(0xa1)][_0x3a470d(0xa6)]=_0xb7fda3,_0x409afb!==void 0x0&&(this[_0x3a470d(0x105)][_0x3a470d(0xa1)]['gradientAngle']=_0x409afb),this;}[_0x5764bc(0x7e)](){const _0x36b88d=_0x5764bc;return this[_0x36b88d(0x105)]['fill']={'fillType':l[_0x36b88d(0xf3)][_0x36b88d(0x8e)]},this;}[_0x5764bc(0xa7)](_0x1c79c2){const _0x17637b=_0x5764bc;return this['shapeData']['stroke']||(this['shapeData']['stroke']={}),this[_0x17637b(0x105)]['stroke'][_0x17637b(0x8f)]=_0x1c79c2,this;}[_0x5764bc(0x97)](_0xa66ac7){const _0x1fd2c9=_0x5764bc;return this['shapeData'][_0x1fd2c9(0xaa)]||(this[_0x1fd2c9(0x105)][_0x1fd2c9(0xaa)]={}),this['shapeData'][_0x1fd2c9(0xaa)][_0x1fd2c9(0xa0)]=_0xa66ac7,this;}[_0x5764bc(0x9b)](_0x5959e8){const _0x1e8492=_0x5764bc;return this['shapeData'][_0x1e8492(0xaa)]||(this[_0x1e8492(0x105)]['stroke']={}),this[_0x1e8492(0x105)][_0x1e8492(0xaa)][_0x1e8492(0x85)]=_0x5959e8,this;}[_0x5764bc(0xc7)](_0x4e2b5e){const _0x1c6118=_0x5764bc;return this[_0x1c6118(0x105)][_0x1c6118(0xaa)]||(this[_0x1c6118(0x105)][_0x1c6118(0xaa)]={}),this['shapeData'][_0x1c6118(0xaa)][_0x1c6118(0xf8)]=_0x4e2b5e,this;}[_0x5764bc(0xe3)](_0x3c1406){const _0xd15c47=_0x5764bc;return this[_0xd15c47(0x105)]['stroke']||(this[_0xd15c47(0x105)][_0xd15c47(0xaa)]={}),this[_0xd15c47(0x105)][_0xd15c47(0xaa)][_0xd15c47(0x89)]=_0x3c1406,this;}[_0x5764bc(0xbf)](_0x4972fe){const _0x169e59=_0x5764bc;return this[_0x169e59(0x105)][_0x169e59(0xaa)]||(this['shapeData']['stroke']={}),this['shapeData'][_0x169e59(0xaa)][_0x169e59(0xe6)]=_0x4972fe,this;}[_0x5764bc(0xf1)](_0x22a7d3){const _0x110b82=_0x5764bc;return this['shapeData'][_0x110b82(0xaa)]||(this['shapeData']['stroke']={}),this['shapeData'][_0x110b82(0xaa)][_0x110b82(0xe9)]=_0x22a7d3,this;}[_0x5764bc(0x78)](_0x1ee75e){const _0x287a2e=_0x5764bc;return this[_0x287a2e(0xa0)]=_0x1ee75e,this;}['setHeight'](_0x103aee){return this['height']=_0x103aee,this;}[_0x5764bc(0xf9)](){const _0x2cbff8=_0x5764bc,_0x358910=this[_0x2cbff8(0x79)][_0x2cbff8(0xc8)](v[_0x2cbff8(0x84)])[_0x2cbff8(0xad)](this[_0x2cbff8(0xe0)],this[_0x2cbff8(0xdf)],this['drawId']);return _0x358910?l[_0x2cbff8(0xb9)](_0x358910[_0x2cbff8(0xba)]()):this[_0x2cbff8(0xea)]?l[_0x2cbff8(0xb9)](this['shapeType']):!0x1;}['getConnectionSites'](){const _0xcf4397=_0x5764bc,_0x46ad82=this['_injector']['get'](v['SheetsShapeService'])['getShapeModel'](this[_0xcf4397(0xe0)],this[_0xcf4397(0xdf)],this[_0xcf4397(0x7c)]);if(!_0x46ad82)return[];const _0x547755=this[_0xcf4397(0x79)]['get'](b[_0xcf4397(0xec)])[_0xcf4397(0xe1)]({'unitId':this['unitId'],'subUnitId':this[_0xcf4397(0xdf)],'drawingId':this[_0xcf4397(0x7c)]});if(!(_0x547755!=null&&_0x547755['transform']))return[];const {width:_0x3ed577=0x0,height:_0x57af95=0x0}=_0x547755[_0xcf4397(0xee)];return _0x46ad82[_0xcf4397(0xd7)]({'width':_0x3ed577,'height':_0x57af95}),_0x46ad82[_0xcf4397(0xd2)]();}['getAdjustPoints'](){const _0x49003a=_0x5764bc,_0x5219a4=this[_0x49003a(0x79)][_0x49003a(0xc8)](v['SheetsShapeService'])['getShapeModel'](this['unitId'],this[_0x49003a(0xdf)],this[_0x49003a(0x7c)]);if(!_0x5219a4)return[];const _0x5b4a57=this[_0x49003a(0x79)][_0x49003a(0xc8)](b[_0x49003a(0xec)])[_0x49003a(0xe1)]({'unitId':this[_0x49003a(0xe0)],'subUnitId':this[_0x49003a(0xdf)],'drawingId':this['drawId']});if(!(_0x5b4a57!=null&&_0x5b4a57[_0x49003a(0xee)]))return[];const {width:_0x4a52e5=0x0,height:_0x26e088=0x0}=_0x5b4a57['transform'];return _0x5219a4[_0x49003a(0xd7)]({'width':_0x4a52e5,'height':_0x26e088}),_0x5219a4['getDrawingPoints']();}['getConnectorLinePoints'](){const _0x55e2c2=_0x5764bc,_0x506d7f=this[_0x55e2c2(0x79)]['get'](v[_0x55e2c2(0x84)])['getShapeModel'](this['unitId'],this[_0x55e2c2(0xdf)],this[_0x55e2c2(0x7c)]);if(!_0x506d7f)return[];if(!l['isConnectorShape'](_0x506d7f[_0x55e2c2(0xba)]()))return[];const _0x45bc0b=this[_0x55e2c2(0x79)][_0x55e2c2(0xc8)](b[_0x55e2c2(0xec)])[_0x55e2c2(0xe1)]({'unitId':this[_0x55e2c2(0xe0)],'subUnitId':this[_0x55e2c2(0xdf)],'drawingId':this['drawId']});if(!(_0x45bc0b!=null&&_0x45bc0b[_0x55e2c2(0xee)]))return[];const {width:_0x355d62=0x0,height:_0x25c047=0x0}=_0x45bc0b[_0x55e2c2(0xee)];return _0x506d7f[_0x55e2c2(0xd7)]({'width':_0x355d62,'height':_0x25c047}),_0x506d7f[_0x55e2c2(0xd5)]();}[_0x5764bc(0xb0)](){const _0x417d2a=_0x5764bc;var _0x4593c1;const _0x3d76bd=this[_0x417d2a(0x79)][_0x417d2a(0xc8)](v[_0x417d2a(0x84)])['getShapeModel'](this[_0x417d2a(0xe0)],this[_0x417d2a(0xdf)],this['drawId']);return _0x3d76bd&&(_0x4593c1=_0x3d76bd['getStartConnectInfo']())!=null?_0x4593c1:null;}['getEndConnectInfo'](){const _0x4f7c48=_0x5764bc;var _0x1daa01;const _0x4b9cff=this[_0x4f7c48(0x79)]['get'](v[_0x4f7c48(0x84)])[_0x4f7c48(0xad)](this[_0x4f7c48(0xe0)],this[_0x4f7c48(0xdf)],this[_0x4f7c48(0x7c)]);return _0x4b9cff&&(_0x1daa01=_0x4b9cff[_0x4f7c48(0x86)]())!=null?_0x1daa01:null;}[_0x5764bc(0x9e)](){const _0x3dc2ac=_0x5764bc;var _0x5a957c,_0xcf575;if(!this[_0x3dc2ac(0xea)])throw new Error(_0x3dc2ac(0x100));if(this['x']===0x0||this['y']===0x0){const _0x1215fe=this[_0x3dc2ac(0x79)][_0x3dc2ac(0xc8)](k[_0x3dc2ac(0xb6)])[_0x3dc2ac(0x82)](this['unitId']);if(!_0x1215fe)throw new Error(_0x3dc2ac(0xac));const _0xeb29c7=_0x1215fe[_0x3dc2ac(0xf2)](E[_0x3dc2ac(0xd6)]),_0x51f909=_0x1215fe[_0x3dc2ac(0xf2)](E['SheetSkeletonManagerService']),{transform:_0x247d2b}=E['convertPositionCellToSheetOverGrid'](this['unitId'],this[_0x3dc2ac(0xdf)],{'row':0x1,'column':0x1,'rowOffset':0x0,'columnOffset':0x0},0x1,0x1,_0xeb29c7,_0x51f909);this['x']=this['x']>0x0?this['x']:_0x247d2b[_0x3dc2ac(0xcf)],this['y']=this['y']>0x0?this['y']:_0x247d2b[_0x3dc2ac(0xfc)];}return this[_0x3dc2ac(0xa0)]=(_0x5a957c=this['width'])!=null?_0x5a957c:O,this[_0x3dc2ac(0x72)]=(_0xcf575=this[_0x3dc2ac(0x72)])!=null?_0xcf575:W,{'unitId':this[_0x3dc2ac(0xe0)],'subUnitId':this['subUnitId'],'shapeId':this[_0x3dc2ac(0x7c)],'shapeType':this[_0x3dc2ac(0xea)],'shapeData':Object[_0x3dc2ac(0x8b)](this['shapeData'])['length']>0x0?this[_0x3dc2ac(0x105)]:void 0x0,'x':this['x'],'y':this['y'],'width':this[_0x3dc2ac(0xa0)],'height':this[_0x3dc2ac(0x72)]};}['getShapeId'](){const _0x5ad3e1=_0x5764bc;return this[_0x5ad3e1(0x7c)];}['getShapeType'](){const _0x2ef440=_0x5764bc;return this[_0x2ef440(0xea)];}['getShapeData'](){const _0x289359=_0x5764bc;return this[_0x289359(0x105)];}[_0x5764bc(0x77)](){return{'x':this['x'],'y':this['y']};}[_0x5764bc(0xf4)](){const _0x5329ca=_0x5764bc;return{'width':this[_0x5329ca(0xa0)],'height':this[_0x5329ca(0x72)]};}}class _ extends x{constructor(_0x34aa59,_0x4e3bb0,_0x100aa9,_0x536bba){const _0xb73023=_0x5764bc;super(_0x34aa59,_0x4e3bb0,_0x100aa9,_0x536bba),m(this,_0xb73023(0x105),{});}[_0x5764bc(0x73)](_0xae91d){const _0x505156=_0x5764bc;if(!l[_0x505156(0xb9)](_0xae91d))throw new Error(_0x505156(0xc1)+_0xae91d+_0x505156(0xbe));return super[_0x505156(0x73)](_0xae91d),this;}[_0x5764bc(0x94)](_0x1254f0){const _0x1154a7=_0x5764bc;var _0x26735e,_0x23564f,_0x568228;return(_0x26735e=this['shapeData'])!=null&&_0x26735e['ln']||(this[_0x1154a7(0x105)]['ln']={}),(_0x568228=(_0x23564f=this[_0x1154a7(0x105)])==null?void 0x0:_0x23564f['ln'])!=null&&_0x568228[_0x1154a7(0xfe)]||(this['shapeData']['ln']['startArrow']={}),this[_0x1154a7(0x105)]['ln'][_0x1154a7(0xfe)]['type']=_0x1254f0,this;}['setEndArrowType'](_0x377641){const _0x2279ca=_0x5764bc;var _0x54b11a,_0x53b5bb,_0x19733e;return(_0x54b11a=this['shapeData'])!=null&&_0x54b11a['ln']||(this[_0x2279ca(0x105)]['ln']={}),(_0x19733e=(_0x53b5bb=this[_0x2279ca(0x105)])==null?void 0x0:_0x53b5bb['ln'])!=null&&_0x19733e[_0x2279ca(0x8c)]||(this[_0x2279ca(0x105)]['ln']['endArrow']={}),this[_0x2279ca(0x105)]['ln']['endArrow'][_0x2279ca(0xbb)]=_0x377641,this;}[_0x5764bc(0x7d)](_0x550526){const _0x26edd3=_0x5764bc;var _0x6ae3ab,_0x4b3064,_0x58658e;return(_0x6ae3ab=this[_0x26edd3(0x105)])!=null&&_0x6ae3ab['ln']||(this[_0x26edd3(0x105)]['ln']={}),(_0x58658e=(_0x4b3064=this[_0x26edd3(0x105)])==null?void 0x0:_0x4b3064['ln'])!=null&&_0x58658e['startArrow']||(this[_0x26edd3(0x105)]['ln'][_0x26edd3(0xfe)]={}),this[_0x26edd3(0x105)]['ln'][_0x26edd3(0xfe)][_0x26edd3(0xa9)]=_0x550526,this;}['setEndArrowSize'](_0x4abbc2){const _0x1f693c=_0x5764bc;var _0x17d23e,_0x2639a1,_0x323e4a;return(_0x17d23e=this[_0x1f693c(0x105)])!=null&&_0x17d23e['ln']||(this[_0x1f693c(0x105)]['ln']={}),(_0x323e4a=(_0x2639a1=this[_0x1f693c(0x105)])==null?void 0x0:_0x2639a1['ln'])!=null&&_0x323e4a[_0x1f693c(0x8c)]||(this[_0x1f693c(0x105)]['ln'][_0x1f693c(0x8c)]={}),this[_0x1f693c(0x105)]['ln']['endArrow'][_0x1f693c(0xa9)]=_0x4abbc2,this;}['build'](){const _0x35ce3a=_0x5764bc;return super[_0x35ce3a(0x9e)]();}[_0x5764bc(0x86)](){const _0x2ed52d=_0x5764bc;var _0x551d0c,_0x63a0e4;return((_0x63a0e4=(_0x551d0c=this[_0x2ed52d(0x105)])==null?void 0x0:_0x551d0c[_0x2ed52d(0xf5)])==null?void 0x0:_0x63a0e4['to'])||null;}[_0x5764bc(0xb0)](){const _0x299dbf=_0x5764bc;var _0xf979ee,_0x5aca74;return((_0x5aca74=(_0xf979ee=this[_0x299dbf(0x105)])==null?void 0x0:_0xf979ee[_0x299dbf(0xf5)])==null?void 0x0:_0x5aca74[_0x299dbf(0xd9)])||null;}}function X(_0x395dda,_0x4abefb,_0xbe6b82){const _0x3c7cff=_0x5764bc;var _0x2042ed;const _0x335b00=(_0x2042ed=_0xbe6b82[_0x3c7cff(0x82)](_0x4abefb))==null?void 0x0:_0x2042ed[_0x3c7cff(0xf2)](E[_0x3c7cff(0xd6)]);if(!_0x335b00)return null;const _0x239a74=_0x335b00['getCellWithCoordByOffset'](_0x395dda[_0x3c7cff(0xb8)],_0x395dda[_0x3c7cff(0x9d)]);if(!_0x239a74)return null;const _0x39cb77=_0x335b00[_0x3c7cff(0xda)](_0x395dda[_0x3c7cff(0xeb)],_0x395dda[_0x3c7cff(0xf0)]);return _0x39cb77?{'from':{'column':_0x239a74['actualColumn'],'columnOffset':_0x395dda[_0x3c7cff(0xb8)]-_0x239a74['startX'],'row':_0x239a74['actualRow'],'rowOffset':_0x395dda[_0x3c7cff(0x9d)]-_0x239a74[_0x3c7cff(0x9d)]},'to':{'column':_0x39cb77[_0x3c7cff(0x90)],'columnOffset':_0x395dda['endX']-_0x39cb77[_0x3c7cff(0xb8)],'row':_0x39cb77['actualRow'],'rowOffset':_0x395dda['endY']-_0x39cb77[_0x3c7cff(0x9d)]}}:null;}function K(_0x2f8117,_0x15d351){const _0x41e2db=_0x5764bc,_0x1010fe={'shapeType':_0x2f8117,'shapeData':_0x15d351},_0x26e5ef=l['isConnectorShape'](_0x2f8117);return _0x26e5ef&&(_0x1010fe[_0x41e2db(0xa1)]=!0x1,_0x1010fe['rotateEnabled']=!0x1,_0x1010fe[_0x41e2db(0xe4)]=!0x1,_0x1010fe[_0x41e2db(0xa2)]=!0x1),{'extraData':_0x1010fe,'isLine':_0x26e5ef};}function Y(_0x50baa8,_0xd3c1b6){const _0x2c5723=_0x5764bc,_0x59cfa1={'left':_0x50baa8['startX'],'top':_0x50baa8[_0x2c5723(0x9d)],'width':_0x50baa8['endX']-_0x50baa8['startX'],'height':_0x50baa8[_0x2c5723(0xf0)]-_0x50baa8[_0x2c5723(0x9d)]};return _0xd3c1b6&&(_0x59cfa1['rotateEnabled']=!0x1,_0x59cfa1[_0x2c5723(0xe4)]=!0x1,_0x59cfa1[_0x2c5723(0xa2)]=!0x1),_0x59cfa1;}function C(_0xb585fd,_0x3a0a35,_0x5bf0aa,_0x570f0a,_0x642d66,_0x304e93){const _0x18cfeb=_0x5764bc,_0x53e5c1=_0x642d66[_0x18cfeb(0xad)](_0xb585fd,_0x3a0a35,_0x5bf0aa);if(!_0x53e5c1)return null;const _0x4c98f8=_0x304e93[_0x18cfeb(0xe1)]({'unitId':_0xb585fd,'subUnitId':_0x3a0a35,'drawingId':_0x5bf0aa});if(!(_0x4c98f8!=null&&_0x4c98f8['transform']))return null;const {left:_0x51dc1b=0x0,top:_0x3a490d=0x0,width:_0x57bafa=0x0,height:_0x16cab1=0x0,flipX:_0x447290=!0x1,flipY:_0x31b8c7=!0x1,angle:_0x20311d}=_0x4c98f8[_0x18cfeb(0xee)];_0x53e5c1['updateContext']({'width':_0x57bafa,'height':_0x16cab1});const _0x14928b=_0x53e5c1[_0x18cfeb(0xd2)]()['find'](_0x395da2=>_0x395da2['index']===_0x570f0a);if(!_0x14928b)return null;let _0xc3f409=_0x447290?_0x57bafa-_0x14928b['x']:_0x14928b['x'],_0x94e80e=_0x31b8c7?_0x16cab1-_0x14928b['y']:_0x14928b['y'];if(_0x20311d&&_0x20311d!==0x0){const _0x25bcd0=_0x20311d*Math['PI']/0xb4,_0x56c8c9=Math['cos'](_0x25bcd0),_0x20e0eb=Math[_0x18cfeb(0xbc)](_0x25bcd0),_0x3952ed=_0x57bafa/0x2,_0x24a2e3=_0x16cab1/0x2,_0x5036cf=_0xc3f409-_0x3952ed,_0x5470dc=_0x94e80e-_0x24a2e3;_0xc3f409=_0x3952ed+_0x5036cf*_0x56c8c9-_0x5470dc*_0x20e0eb,_0x94e80e=_0x24a2e3+_0x5036cf*_0x20e0eb+_0x5470dc*_0x56c8c9;}_0xc3f409+=_0x51dc1b,_0x94e80e+=_0x3a490d;let _0x4369fc=_0x14928b[_0x18cfeb(0x9c)]/0xea60;_0x447290&&(_0x4369fc=0xb4-_0x4369fc),_0x31b8c7&&(_0x4369fc=-_0x4369fc),_0x4369fc+=_0x20311d||0x0,_0x4369fc=(_0x4369fc%0x168+0x168)%0x168;const _0x3112ce=l['getBasicShapeRotateBound']({'left':_0x51dc1b,'top':_0x3a490d,'width':_0x57bafa,'height':_0x16cab1},_0x20311d||0x0);return{'point':{'x':_0xc3f409,'y':_0x94e80e},'angle':_0x4369fc,'bounds':_0x3112ce};}function _0x3500(){const _0x2c6515=['ShapeLineDashEnum','capType','7418PXHfkq','keys','endArrow','10809960qEZBwf','NoFill','color','actualColumn','FShape','9011403OEZlYw','setShapeSolidFill','setStartArrowType','getWorkbook','getAdjustNames','setStrokeWidth','FWorksheet','getShapeRelation','connectionSiteIndex','setStrokeLineDashType','ang','startY','build','ShapeGradientTypeEnum','width','fill','borderEnabled','43846160nqdyII','SetShapeDrawingDataCommand','adjustValues','gradientType','setStrokeColor','2699361cvJsws','size','stroke','501tzAbjN','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','getShapeModel','getShapes','ShapeLineTypeEnum','getStartConnectInfo','entries','getDrawingData','getUnitId','FEnum','extend','IRenderManagerService','DRAWING_SHAPE','startX','isConnectorShape','getShapeType','type','sin','generateRandomId',',\x20but\x20expected\x20a\x20connector\x20shape\x20type.','setStrokeOpacity','ShapeLineCapEnum','Invalid\x20shape\x20type\x20for\x20connector.\x20Received\x20','ShapeArrowTypeEnum','localToWorld','86708oiaPsM','executeCommand','_resolveExistingOrFreeEndpoint','setStrokeLineJoinType','get','Module','newShape','point','stringify','routeConnectorLineShape','worldRect','left','DrawingTypeEnum','connectShapes','getConnectionSiteList','drawing-shape','GradientFill','getConnectorLinePoints','ISheetSelectionRenderService','updateContext','215JVQJka','from','getCellWithCoordByOffset','ShapeTypeEnum','getSheetId','setShapeGradientFill','SheetSkeletonManagerService','subUnitId','unitId','getDrawingByParam','flipX','setStrokeLineCapType','resizeEnabled','fillType','opacity','FConnectorShape','_commandService','lineStrokeType','shapeType','endX','IDrawingManagerService','cxnIndex','transform','8ZwYlIo','endY','setStrokeLineType','with','ShapeFillEnum','getSize','relation','1822962JzljyX','_preloadShapeProperties','lineJoinType','isLineShape','shapeId','sheet.command.update-connector-relation','top','computeConnectorRouteLayout','startArrow','defineProperty','Shape\x20type\x20is\x20required.\x20Please\x20call\x20setShapeType()\x20before\x20build().','abs','setAbsolutePosition','setPosition','ISheetDrawingService','shapeData','ConnectorCoordinateTransform','gradientStops','height','setShapeType','_resolveEndpoints','length','shape','getPosition','setWidth','_injector','insertShape','getShapeData','drawId','setStartArrowSize','setNoneFill','symbol','drawingType','parse','getRenderById','ShapeArrowSizeEnum','SheetsShapeService','dashType','getEndConnectInfo','getAdjustValueByName'];_0x3500=function(){return _0x2c6515;};return _0x3500();}function Q(_0x1a209c,_0xc97940){const _0x237c53=_0x5764bc,_0x26c0bc=_0xc97940['x']-_0x1a209c['x'],_0x39bff9=_0xc97940['y']-_0x1a209c['y'];return Math[_0x237c53(0x101)](_0x26c0bc)>=Math[_0x237c53(0x101)](_0x39bff9)?_0x26c0bc>=0x0?0xb4:0x0:_0x39bff9>=0x0?0x10e:0x5a;}function Z(_0x1af1ff,_0x211e3c,_0x4b8acb,_0x40f0be,_0x134605,_0x2cf419,_0xae3336){const _0x591a5a=_0x5764bc,_0x5b6aa0=_0x2cf419['getShapeModel'](_0x1af1ff,_0x211e3c,_0x4b8acb);if(!_0x5b6aa0)return null;const _0x5abcba=_0xae3336[_0x591a5a(0xe1)]({'unitId':_0x1af1ff,'subUnitId':_0x211e3c,'drawingId':_0x4b8acb});if(!(_0x5abcba!=null&&_0x5abcba[_0x591a5a(0xee)]))return null;const {left:_0x5efc06=0x0,top:_0x143976=0x0,width:_0x2de14d=0x0,height:_0x227193=0x0,flipX:_0x25d160=!0x1,flipY:_0x6af012=!0x1}=_0x5abcba[_0x591a5a(0xee)];_0x5b6aa0[_0x591a5a(0xd7)]({'width':_0x2de14d,'height':_0x227193});const _0x5f3d85=_0x5b6aa0['getConnectorLinePoints']();if(_0x5f3d85[_0x591a5a(0x75)]<0x2)return null;const _0x5585ea=_0x40f0be?_0x5f3d85[0x0]:_0x5f3d85[_0x5f3d85[_0x591a5a(0x75)]-0x1],_0x339981=new l[(_0x591a5a(0x106))]({'left':_0x5efc06,'top':_0x143976,'width':_0x2de14d,'height':_0x227193,'flipX':_0x25d160,'flipY':_0x6af012})[_0x591a5a(0xc3)](_0x5585ea),_0x578e70=Q(_0x134605[_0x591a5a(0xcb)],_0x339981);return{'point':_0x339981,'angle':_0x578e70,'bounds':{'left':_0x339981['x'],'top':_0x339981['y'],'width':0x0,'height':0x0}};}class $ extends G[_0x5764bc(0x98)]{async[_0x5764bc(0x7a)](_0x11439a){const _0x228137=_0x5764bc,_0xfd6f20=_0x11439a['unitId']||this['getWorkbook']()[_0x228137(0xb3)](),_0x1aae06=_0x11439a['subUnitId']||this[_0x228137(0xdc)](),_0x338a32=_0x11439a[_0x228137(0xfa)]||T['generateRandomId'](),{shapeType:_0x1f492e,shapeData:_0x1f872b,x:_0x2f08da,y:_0x188e04,width:_0x537d50,height:_0x6a5d30}=_0x11439a,_0x12d827=this[_0x228137(0x79)][_0x228137(0xc8)](k[_0x228137(0xb6)]),_0x151f84={'startX':_0x2f08da,'endX':_0x2f08da+_0x537d50,'startY':_0x188e04,'endY':_0x188e04+_0x6a5d30},_0x3df39f=X(_0x151f84,_0xfd6f20,_0x12d827);if(!_0x3df39f)return!0x1;const {extraData:_0x1cb44f,isLine:_0x21c0b0}=K(_0x1f492e,_0x1f872b),_0x14f86b=Y(_0x151f84,_0x21c0b0);return this['_commandService'][_0x228137(0xc5)](R['InsertSheetDrawingCommand']['id'],{'unitId':_0xfd6f20,'drawings':[{'unitId':_0xfd6f20,'subUnitId':_0x1aae06,'drawingId':_0x338a32,'drawingType':T[_0x228137(0xd0)]['DRAWING_SHAPE'],'componentKey':_0x228137(0xd3),'sheetTransform':_0x3df39f,'axisAlignSheetTransform':_0x3df39f,'transform':_0x14f86b,'data':_0x1cb44f,'allowTransform':!0x0}]});}async['updateShape'](_0x3d6dde){const _0x1d43d3=_0x5764bc,_0xb860c9=_0x3d6dde['unitId']||this['getWorkbook']()[_0x1d43d3(0xb3)](),_0x45f97a=_0x3d6dde[_0x1d43d3(0xdf)]||this[_0x1d43d3(0xdc)](),_0x2cafe1=_0x3d6dde[_0x1d43d3(0xfa)],{shapeType:_0x1bd1ab,shapeData:_0xff0070,x:_0x16a126,y:_0x3ecbb8,width:_0x152802,height:_0x4e6036}=_0x3d6dde,_0x5d0a6b=this['_injector'][_0x1d43d3(0xc8)](k[_0x1d43d3(0xb6)]),_0x8c303b={'startX':_0x16a126,'endX':_0x16a126+_0x152802,'startY':_0x3ecbb8,'endY':_0x3ecbb8+_0x4e6036},_0x463507=X(_0x8c303b,_0xb860c9,_0x5d0a6b);if(!_0x463507)return!0x1;const _0x3f9708=Y(_0x8c303b,l[_0x1d43d3(0xb9)](_0x1bd1ab));return this['_commandService'][_0x1d43d3(0xc5)](B[_0x1d43d3(0xa4)]['id'],{'unitId':_0xb860c9,'subUnitId':_0x45f97a,'shapeId':_0x2cafe1,'shapeType':_0x1bd1ab,'shapeData':_0xff0070,'transform':_0x3f9708,'sheetTransform':_0x463507,'axisAlignSheetTransform':_0x463507});}[_0x5764bc(0xca)](_0x49376e){const _0x16e3a9=_0x5764bc,_0x2deb41=this[_0x16e3a9(0x95)]()[_0x16e3a9(0xb3)](),_0x3a5df6=this['getSheetId']();if(_0x49376e){const _0x12093a=new x(_0x2deb41,_0x3a5df6,_0x49376e[_0x16e3a9(0x7c)],this[_0x16e3a9(0x79)]);return this[_0x16e3a9(0xf7)](_0x12093a,_0x2deb41,_0x3a5df6,_0x49376e['drawId']),_0x12093a;}return new x(_0x2deb41,_0x3a5df6,T['generateRandomId'](),this[_0x16e3a9(0x79)]);}['newConnector'](_0x5c3d95){const _0x5eae94=_0x5764bc,_0x27f14f=this[_0x5eae94(0x95)]()[_0x5eae94(0xb3)](),_0x5147c2=this['getSheetId']();if(_0x5c3d95){const _0x361641=new _(_0x27f14f,_0x5147c2,_0x5c3d95['drawId'],this[_0x5eae94(0x79)]);return this['_preloadShapeProperties'](_0x361641,_0x27f14f,_0x5147c2,_0x5c3d95['drawId']),_0x361641;}return new _(_0x27f14f,_0x5147c2,T['generateRandomId'](),this[_0x5eae94(0x79)]);}[_0x5764bc(0xae)](){const _0x3d0e54=_0x5764bc,_0x11878a=this[_0x3d0e54(0x79)]['get'](J[_0x3d0e54(0x104)]),_0x433ddd=this['getWorkbook']()['getUnitId'](),_0x621348=this[_0x3d0e54(0xdc)](),_0x1628d2=_0x11878a[_0x3d0e54(0xb2)](_0x433ddd,_0x621348);if(!_0x1628d2)return[];const _0xad2737=[];for(const [_0x28e5e2,_0x192ef8]of Object[_0x3d0e54(0xb1)](_0x1628d2))if(_0x192ef8&&_0x192ef8[_0x3d0e54(0x80)]===T['DrawingTypeEnum'][_0x3d0e54(0xb7)]){const _0x4ad1c7=new x(_0x433ddd,_0x621348,_0x28e5e2,this[_0x3d0e54(0x79)]);this[_0x3d0e54(0xf7)](_0x4ad1c7,_0x433ddd,_0x621348,_0x28e5e2),_0xad2737['push'](_0x4ad1c7);}return _0xad2737;}['removeShape'](_0x41b6bd){const _0x1b4201=_0x5764bc,_0x4e581a=_0x41b6bd[_0x1b4201(0xe0)],_0x46d6fe=_0x41b6bd[_0x1b4201(0xdf)],_0x59caec=_0x41b6bd['drawId'],_0xcdb56c={'unitId':_0x4e581a,'drawings':[{'unitId':_0x4e581a,'subUnitId':_0x46d6fe,'drawingId':_0x59caec,'drawingType':T[_0x1b4201(0xd0)][_0x1b4201(0xb7)]}]};return this[_0x1b4201(0xe8)]['executeCommand'](R['RemoveSheetDrawingCommand']['id'],_0xcdb56c);}async[_0x5764bc(0xd1)](_0x3ceb16){const _0x310173=_0x5764bc,{connector:_0x3b3a50,startTarget:_0x412829,endTarget:_0x47d46e}=_0x3ceb16;if(!_0x412829&&!_0x47d46e)return!0x1;const _0x66e9b6=this[_0x310173(0x95)]()[_0x310173(0xb3)](),_0x31180f=this[_0x310173(0xdc)](),_0xd5adc7=this[_0x310173(0x79)][_0x310173(0xc8)](v[_0x310173(0x84)]),_0x1aa27b=this[_0x310173(0x79)][_0x310173(0xc8)](b[_0x310173(0xec)]),_0x5e5bd3=_0xd5adc7[_0x310173(0xad)](_0x66e9b6,_0x31180f,_0x3b3a50['drawId']);if(!_0x5e5bd3)return!0x1;const _0x49dea2=_0x5e5bd3[_0x310173(0xba)](),_0x545c21=_0x5e5bd3[_0x310173(0x99)](),_0x567e40={};for(const _0x5af242 of _0x5e5bd3[_0x310173(0x96)]()){const _0x5759ed=_0x5e5bd3[_0x310173(0x87)](_0x5af242);_0x5759ed!==void 0x0&&(_0x567e40[_0x5af242]=_0x5759ed);}const {startInfo:_0x3b931a,endInfo:_0x5c4042}=this[_0x310173(0x74)](_0x66e9b6,_0x31180f,_0x3b3a50,_0x5e5bd3,_0x412829,_0x47d46e,_0xd5adc7,_0x1aa27b,_0x545c21);if(!_0x3b931a||!_0x5c4042)return!0x1;const _0x44b0f8=l[_0x310173(0xcd)](_0x3b931a,_0x5c4042,_0x49dea2),_0x1fafc3=l[_0x310173(0xfd)](_0x44b0f8,_0x49dea2),_0x28a859={};return _0x412829?_0x28a859['from']={'shapeId':_0x412829[_0x310173(0x76)][_0x310173(0x7c)],'cxnIndex':_0x412829[_0x310173(0x9a)]}:_0x545c21!=null&&_0x545c21[_0x310173(0xd9)]&&(_0x28a859['from']=_0x545c21[_0x310173(0xd9)]),_0x47d46e?_0x28a859['to']={'shapeId':_0x47d46e[_0x310173(0x76)][_0x310173(0x7c)],'cxnIndex':_0x47d46e['connectionSiteIndex']}:_0x545c21!=null&&_0x545c21['to']&&(_0x28a859['to']=_0x545c21['to']),this[_0x310173(0xe8)]['executeCommand'](_0x310173(0xfb),{'unitId':_0x66e9b6,'subUnitId':_0x31180f,'connectorShapeId':_0x3b3a50['drawId'],'width':_0x1fafc3[_0x310173(0xce)][_0x310173(0xa0)],'height':_0x1fafc3[_0x310173(0xce)][_0x310173(0x72)],'left':_0x1fafc3[_0x310173(0xce)][_0x310173(0xcf)],'top':_0x1fafc3['worldRect'][_0x310173(0xfc)],'flipX':_0x1fafc3[_0x310173(0xce)][_0x310173(0xe2)]||!0x1,'flipY':_0x1fafc3[_0x310173(0xce)]['flipY']||!0x1,'oldAdjustValues':_0x567e40,'newAdjustValues':_0x1fafc3[_0x310173(0xa5)],'newLineType':_0x1fafc3['lineType'],'oldLineType':_0x49dea2,'rotation':_0x1fafc3['rotation'],'oldRelation':_0x545c21,'newRelation':_0x28a859});}['_preloadShapeProperties'](_0x2e2c25,_0x1415e6,_0x3e17c9,_0x48c368){const _0xc0c9a5=_0x5764bc;var _0x44884c,_0x4dc0af,_0x5cfe67,_0x5959e1;const _0x3ef486=this[_0xc0c9a5(0x79)][_0xc0c9a5(0xc8)](b[_0xc0c9a5(0xec)])[_0xc0c9a5(0xe1)]({'unitId':_0x1415e6,'subUnitId':_0x3e17c9,'drawingId':_0x48c368});_0x3ef486!=null&&_0x3ef486[_0xc0c9a5(0xee)]&&(_0x2e2c25['x']=(_0x44884c=_0x3ef486['transform'][_0xc0c9a5(0xcf)])!=null?_0x44884c:0x0,_0x2e2c25['y']=(_0x4dc0af=_0x3ef486[_0xc0c9a5(0xee)][_0xc0c9a5(0xfc)])!=null?_0x4dc0af:0x0,_0x2e2c25[_0xc0c9a5(0xa0)]=(_0x5cfe67=_0x3ef486[_0xc0c9a5(0xee)][_0xc0c9a5(0xa0)])!=null?_0x5cfe67:_0x2e2c25[_0xc0c9a5(0xa0)],_0x2e2c25['height']=(_0x5959e1=_0x3ef486[_0xc0c9a5(0xee)][_0xc0c9a5(0x72)])!=null?_0x5959e1:_0x2e2c25['height']);const _0x45a221=this[_0xc0c9a5(0x79)][_0xc0c9a5(0xc8)](v[_0xc0c9a5(0x84)])[_0xc0c9a5(0xad)](_0x1415e6,_0x3e17c9,_0x48c368);if(_0x45a221){_0x2e2c25[_0xc0c9a5(0xea)]=_0x45a221[_0xc0c9a5(0xba)]();const _0xd6bf09=_0x45a221[_0xc0c9a5(0x7b)]();_0xd6bf09&&(_0x2e2c25['shapeData']=JSON[_0xc0c9a5(0x81)](JSON[_0xc0c9a5(0xcc)](_0xd6bf09)));}}['_resolveEndpoints'](_0x4afd1b,_0x5b07b2,_0x31a121,_0x63fe61,_0x1f9402,_0xa23333,_0x10b541,_0x5c9ad8,_0x1658db){const _0x38cd98=_0x5764bc;let _0x9bd895=null,_0x16b3aa=null;return _0x1f9402&&(_0x9bd895=C(_0x4afd1b,_0x5b07b2,_0x1f9402['shape']['drawId'],_0x1f9402[_0x38cd98(0x9a)],_0x10b541,_0x5c9ad8)),_0xa23333&&(_0x16b3aa=C(_0x4afd1b,_0x5b07b2,_0xa23333[_0x38cd98(0x76)][_0x38cd98(0x7c)],_0xa23333['connectionSiteIndex'],_0x10b541,_0x5c9ad8)),_0x9bd895||(_0x9bd895=this['_resolveExistingOrFreeEndpoint'](_0x4afd1b,_0x5b07b2,_0x31a121['drawId'],!0x0,_0x16b3aa,_0x1658db==null?void 0x0:_0x1658db['from'],_0x10b541,_0x5c9ad8)),_0x16b3aa||(_0x16b3aa=this[_0x38cd98(0xc6)](_0x4afd1b,_0x5b07b2,_0x31a121[_0x38cd98(0x7c)],!0x1,_0x9bd895,_0x1658db==null?void 0x0:_0x1658db['to'],_0x10b541,_0x5c9ad8)),{'startInfo':_0x9bd895,'endInfo':_0x16b3aa};}[_0x5764bc(0xc6)](_0x10981a,_0x120978,_0x9bd244,_0x56c8f7,_0x4cfb67,_0x487283,_0x2d858a,_0x1d9d80){const _0x34c302=_0x5764bc;if(_0x487283){const _0x4c3579=C(_0x10981a,_0x120978,_0x487283[_0x34c302(0xfa)],_0x487283[_0x34c302(0xed)],_0x2d858a,_0x1d9d80);if(_0x4c3579)return _0x4c3579;}return _0x4cfb67?Z(_0x10981a,_0x120978,_0x9bd244,_0x56c8f7,_0x4cfb67,_0x2d858a,_0x1d9d80):null;}}G[_0x5764bc(0x98)]['extend']($),exports[_0x5764bc(0xe7)]=_,exports[_0x5764bc(0x91)]=x;
|