@univerjs-pro/engine-shape 1.0.0-alpha.6 → 1.0.0-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,11 +16,18 @@ import { FShape } from './f-shape';
16
16
  * @example Doc
17
17
  * ```ts
18
18
  * const fDocument = univerAPI.getActiveDocument();
19
+ * const paragraph = fDocument.getParagraphs()[0];
19
20
  * const fConnectorShape = fDocument.insertShape({
20
21
  * shapeType: univerAPI.Enum.ShapeTypeEnum.StraightConnector1,
21
- * textRange: { startOffset: 0, endOffset: 0, collapsed: true },
22
- * wrappingStyle: univerAPI.Enum.DocsShapeWrappingStyle.WRAP_SQUARE,
23
- * transform: { left: 80, top: 80, width: 240, height: 120 },
22
+ * placement: {
23
+ * wrappingStyle: univerAPI.Enum.DocsShapeWrappingStyle.WRAP_SQUARE,
24
+ * anchor: {
25
+ * paragraphId: paragraph.getId(),
26
+ * segmentId: paragraph.getSegmentId(),
27
+ * },
28
+ * position: { horizontalOffset: 80, verticalOffset: 80 },
29
+ * },
30
+ * transform: { width: 240, height: 120 },
24
31
  * });
25
32
  * ```
26
33
  *
@@ -31,9 +31,16 @@ export interface IShapeTextImageFillOptions {
31
31
  * @example Doc
32
32
  * ```ts
33
33
  * const fDocument = univerAPI.getActiveDocument();
34
+ * const paragraph = fDocument.getParagraphs()[0];
34
35
  * const fShape = fDocument.insertShape({
35
36
  * shapeType: univerAPI.Enum.ShapeTypeEnum.Rect,
36
- * textRange: { startOffset: 0, endOffset: 0, collapsed: true },
37
+ * placement: {
38
+ * wrappingStyle: univerAPI.Enum.DocsShapeWrappingStyle.INLINE,
39
+ * anchor: {
40
+ * paragraphId: paragraph.getId(),
41
+ * segmentId: paragraph.getSegmentId(),
42
+ * },
43
+ * },
37
44
  * });
38
45
  * const fShapeText = fShape?.getText();
39
46
  * ```
@@ -40,9 +40,16 @@ export type IShapeImageFillOptions = Pick<ShapeFill, 'imageFillMode' | 'imageOpa
40
40
  * @example Doc
41
41
  * ```ts
42
42
  * const fDocument = univerAPI.getActiveDocument();
43
+ * const paragraph = fDocument.getParagraphs()[0];
43
44
  * const fShape = fDocument.insertShape({
44
45
  * shapeType: univerAPI.Enum.ShapeTypeEnum.Rect,
45
- * textRange: { startOffset: 0, endOffset: 0, collapsed: true },
46
+ * placement: {
47
+ * wrappingStyle: univerAPI.Enum.DocsShapeWrappingStyle.INLINE,
48
+ * anchor: {
49
+ * paragraphId: paragraph.getId(),
50
+ * segmentId: paragraph.getSegmentId(),
51
+ * },
52
+ * },
46
53
  * });
47
54
  * ```
48
55
  *
@@ -1,7 +1,7 @@
1
1
  export { BasicShapeModel as ShapeModel } from '../src/models/shape-model';
2
2
  export { BaseShapeRenderModel } from '../src/render-engine/shape-render-model';
3
3
  export { ImageFillModeEnum, ImageSourceTypeEnum, ShapeArrowSizeEnum, ShapeArrowTypeEnum, ShapeFillEnum, ShapeGradientTypeEnum, ShapeLineCapEnum, ShapeLineDashEnum, ShapeLineJoinEnum, ShapeLineTypeEnum, ShapeOperatorEnum, ShapePresetShadowValEnum, ShapeRenderModeEnum, ShapeSketchTypeEnum, ShapeTypeEnum, } from '../src/shape-enum';
4
- export type { IBasicShapeData, IConnectorLayoutResult, IConnectPointInfo, ICustomShapeTextData, ICxnShapeData, IDrawingRect, IGdContext, ILineType, IPathCommand, IPresetShapeConfig, IShapeAdjustItemResolved, IShapeData, IShapeJSONData, IShapeLineStyle, IShapePath, IShapePoint, IShapePointWithAdjName, IShapeRect, IShapeRelation, IShapeRelationItem, IShapeShadowEffect, IShapeText, IShapeTextBodyBehavior, IShapeTextBoxOptions, IShapeTextData, IShapeTextDataModel, IShapeTextRectPadding, ShapeShadowAlignment, ShapeTextHorizontalAnchor, } from '../src/shape-type';
4
+ export type { IBasicShapeData, IConnectorLayoutResult, IConnectPointInfo, ICustomShapeTextData, ICxnShapeData, IDrawingRect, IGdContext, ILineType, IPathCommand, IPresetShapeConfig, IShapeAdjustItemResolved, IShapeData, IShapeFormulaBinding, IShapeJSONData, IShapeLineStyle, IShapePath, IShapePoint, IShapePointWithAdjName, IShapeRect, IShapeRelation, IShapeRelationItem, IShapeShadowEffect, IShapeText, IShapeTextBodyBehavior, IShapeTextBoxOptions, IShapeTextData, IShapeTextDataModel, IShapeTextRectPadding, ShapeShadowAlignment, ShapeTextHorizontalAnchor, } from '../src/shape-type';
5
5
  export { ShapeTextAutoFitType, ShapeTextDirection, ShapeTextWrapType } from '../src/shape-type';
6
6
  export type { IResolvedShapeShadow } from '../src/utils/shape-shadow.util';
7
7
  export { resolveShapeShadow } from '../src/utils/shape-shadow.util';
@@ -78,6 +78,7 @@ export declare abstract class BaseShapeRenderModel {
78
78
  * 而 Canvas ellipse() 使用参数角度:point = (rx·cos(t), ry·sin(t))。
79
79
  * 对于非正圆的椭圆,两者不同。OOXML 中 cat2/sat2 公式正是执行此转换来定位
80
80
  * moveTo 点和调节手柄,因此传给 Canvas 时必须做同样的转换。
81
+ * 半径必须使用 path 的逻辑坐标值;最终画布的非等比缩放不应再次改变参数角。
81
82
  */
82
83
  private _ooxmlAngleToParametric;
83
84
  /**
@@ -695,6 +695,17 @@ export interface IShapeShadowEffect {
695
695
  /** Whether the shadow rotates together with the shape. */
696
696
  rotateWithShape?: boolean;
697
697
  }
698
+ /** Formula data persisted by a formula-backed text-box shape. */
699
+ export interface IShapeFormulaBinding {
700
+ /** The complete formula string, including the leading equals sign. */
701
+ formula: string;
702
+ /** Whether value changes should be animated. Defaults to true. */
703
+ animationEnabled?: boolean;
704
+ /** Optional display format chosen for this shape. */
705
+ numberFormat?: {
706
+ pattern: string;
707
+ };
708
+ }
698
709
  /**
699
710
  * This interface defines the shape data structure , and this part will save in json
700
711
  */
@@ -771,6 +782,8 @@ export interface IBasicShapeData {
771
782
  * Values use the same drawing units as the shape rect.
772
783
  */
773
784
  textRectPadding?: IShapeTextRectPadding;
785
+ /** Presence of this field identifies a formula shape. */
786
+ formulaBinding?: IShapeFormulaBinding;
774
787
  }
775
788
  export interface ICxnShapeData extends IBasicShapeData {
776
789
  points?: Array<{
@@ -817,6 +830,8 @@ export interface IShapeHitTestResult {
817
830
  hitType: ShapeHitTestHitTypeEnum;
818
831
  }
819
832
  export interface IPresetShapeConfig {
833
+ /** Arc angles are visual by default; guide-derived presets may already provide Canvas-compatible parametric angles. */
834
+ arcAngleMode?: 'visual' | 'parametric';
820
835
  /** Adjustment values for shape parameters, each value typically ranges from 0 to 100000 */
821
836
  adjustValues?: Record<string, ShapeOperatorValue>;
822
837
  /** Guide definitions - formulas for calculating shape geometry */
@@ -1,5 +1,6 @@
1
1
  import type { IPresetShapeConfig } from '../shape-type';
2
2
  import { BaseShapeRenderModel } from '../render-engine/shape-render-model';
3
+ /** Legacy name for Excel's oval callout preset. */
3
4
  export declare class OvalCallout1Shape extends BaseShapeRenderModel {
4
5
  readonly name: string;
5
6
  readonly presetShapeConfig: IPresetShapeConfig;
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x1c4f(){const _0x651712=['387mSpUrq','length','getShapeType','unbindStart','setShapeData','setStrikethrough','10984EOvjsx','boolean','setStroke','ShapeModel','rotation','startArrow','isCustomShape','applyShapeTextBoxOptions','set\x20start\x20point','@univerjs/core/facade','updateShape','setUnderline','visible','_getSnapshot','setTextStyle','ShapeFillEnum','extend','setStrokeLineJoinType','getRichText','angular','getDescription','getEndEndpoint','end','function','unbind\x20start','setEndPoint','scaleY','set\x20route\x20points','FEnum','relation','getPlainText','\x20Connector\x20Shape\x20\x22','NoLine','isSelectable','setStrokeWidth','FALSE','bindEnd','warn','gradient','setStrokeLineCapType','setAbsolutePosition','flipY','ShapeArrowTypeEnum','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','hostType','_mutateConnector','2073840omLidR','ShapeLineCapEnum','_bind','\x22\x20points\x20must\x20contain\x20finite\x20coordinates.','object','getRoutePoints','\x22\x20was\x20not\x20found.','ShapeImageFillModeEnum','[Shape\x20Facade]:\x20Shape\x20\x22','getStartArrow','setStartPoint','FShapeText','shapeText','isFinite','bring\x20forward','start','1988Msmitx','setTransform','endArrow','sendBackward','ShapeGradientTypeEnum','setStartArrow','TRUE','UniverCoreFacade','setNoneFill','customGeometry','_patchStroke','defineProperty','getShapeData','SolidLine','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','setSolidFill','BooleanNumber','getStartConnectInfo','Tools','IShapeHostAdapterRegistry','ShapeImageSourceTypeEnum','createInstance','ShapeTextAutoFitType','ShapeTextWrapType','13412wrkLMD','getAdjustPoints','GradientFill','\x22\x20text.','getHostType','isVisible','transform','@univerjs/core','setRoutePoints','mode','shapeData','Shape\x20\x22','removeShape','ShapeOperatorEnum','_getConnectorSnapshot','width','setSelectable','isCustom','bindStart','getText','shapeId','FShape','every','stroke','applyRichTextToShapeText','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','388352kFsWBA','_shapeRef','height','_getGeometryModel','ShapeLineJoinEnum','getCustomGeometry','_patchShapeData','deepClone','setName','getEndConnectInfo','22653750dFwEjf','setItalic','getStartEndpoint','offsetX','toPlainText','getShape','@univerjs-pro/engine-shape','unbindEnd','selectable','\x22\x20must\x20be\x20finite.','ShapeLineDashEnum','[Shape\x20Facade]:\x20Connector\x20\x22','FBase','shapeType','4184EhIatp','rgba(0,\x200,\x200,\x200)','bringToFront','\x22\x20requires\x20Connector\x20Shape\x20data.','map','set\x20start\x20arrow','[Shape\x20Facade]:\x20','_mutate','top','isInteger','getDrawingPoints','getConnector','sendToBack','setDescription','get','bind\x20','[Shape\x20Facade]:\x20Failed\x20to\x20','getSnapshot','PictureFill','lineStrokeType','Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.','radial','applyShapeTextAlignment','Shape\x20transform\x20\x22','_getShapeData','isConnectorShape','\x20Shape\x20\x22','[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','setBold','Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.','getId','setVerticalAlign','updateContext','getConnectionSiteList','_updateShapeData','points','exports','Radial','remove','getTransform','setHorizontalAlign','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22','flipX','SolidFill','bring\x20to\x20front','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22','\x22\x20must\x20be\x20boolean.','setImageFill','Angular','getConnectionSites','toStringTag','_getConnectorAdapter','ImageSourceTypeEnum','diamond','Tile','ShapeTextDirection','setTextBoxOptions','ShapeTypeEnum','update','Linear','ShapeArrowSizeEnum','2925CGlizC','setStrokeLineDashType','\x22\x20requires\x20a\x20Connector\x20Shape\x20type.','ShapeLineTypeEnum','scaleX','Module','send\x20backward','_getAdapter','set\x20end\x20arrow','bringForward','UniverCore','NoFill','left','_injector','Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.','4334427hgaKAy','\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.','setShapeType'];_0x1c4f=function(){return _0x651712;};return _0x1c4f();}function _0x3406(_0x3b73b9,_0x3adeb8){_0x3b73b9=_0x3b73b9-0x100;const _0x1c4f1a=_0x1c4f();let _0x340653=_0x1c4f1a[_0x3b73b9];return _0x340653;}(function(_0x283ac2,_0x33f871){const _0x38529f=_0x3406,_0x358715=_0x283ac2();while(!![]){try{const _0x5d56d0=-parseInt(_0x38529f(0x182))/0x1+-parseInt(_0x38529f(0x168))/0x2*(-parseInt(_0x38529f(0x10c))/0x3)+parseInt(_0x38529f(0x112))/0x4*(-parseInt(_0x38529f(0x1d7))/0x5)+parseInt(_0x38529f(0x140))/0x6+parseInt(_0x38529f(0x150))/0x7*(-parseInt(_0x38529f(0x19a))/0x8)+-parseInt(_0x38529f(0x109))/0x9+parseInt(_0x38529f(0x18c))/0xa;if(_0x5d56d0===_0x33f871)break;else _0x358715['push'](_0x358715['shift']());}catch(_0x15b938){_0x358715['push'](_0x358715['shift']());}}}(_0x1c4f,0xcfcf8),function(_0x2f3306,_0x2b3377){const _0x3f85be=_0x3406;typeof exports==_0x3f85be(0x144)&&typeof module<'u'?_0x2b3377(exports,require('@univerjs-pro/engine-shape'),require('@univerjs/core/facade'),require('@univerjs/core')):typeof define==_0x3f85be(0x129)&&define['amd']?define([_0x3f85be(0x1be),_0x3f85be(0x192),_0x3f85be(0x11b),_0x3f85be(0x16f)],_0x2b3377):(_0x2f3306=typeof globalThis<'u'?globalThis:_0x2f3306||self,_0x2b3377(_0x2f3306['UniverProEngineShapeFacade']={},_0x2f3306['UniverProEngineShape'],_0x2f3306[_0x3f85be(0x157)],_0x2f3306[_0x3f85be(0x104)]));}(this,function(_0x17addd,_0x28d687,_0x58988f,_0x42ad74){const _0x43d812=_0x3406;Object[_0x43d812(0x15b)](_0x17addd,Symbol[_0x43d812(0x1cc)],{'value':_0x43d812(0x1dc)});var _0x2b94bf=class extends _0x58988f['FEnum']{get[_0x43d812(0x1d3)](){return _0x28d687['ShapeTypeEnum'];}get['ShapeFillEnum'](){const _0x2a807a=_0x43d812;return _0x28d687[_0x2a807a(0x121)];}get['ShapeGradientTypeEnum'](){const _0x26c1de=_0x43d812;return _0x28d687[_0x26c1de(0x154)];}get[_0x43d812(0x147)](){return _0x28d687['ImageFillModeEnum'];}get[_0x43d812(0x164)](){const _0x486d18=_0x43d812;return _0x28d687[_0x486d18(0x1ce)];}get[_0x43d812(0x1da)](){const _0x51f0a8=_0x43d812;return _0x28d687[_0x51f0a8(0x1da)];}get['ShapeLineDashEnum'](){const _0x5760d3=_0x43d812;return _0x28d687[_0x5760d3(0x196)];}get['ShapeLineCapEnum'](){const _0x3f6e56=_0x43d812;return _0x28d687[_0x3f6e56(0x141)];}get['ShapeLineJoinEnum'](){const _0x3e4743=_0x43d812;return _0x28d687[_0x3e4743(0x186)];}get['ShapeOperatorEnum'](){const _0x32308c=_0x43d812;return _0x28d687[_0x32308c(0x175)];}get[_0x43d812(0x13c)](){const _0x2eb025=_0x43d812;return _0x28d687[_0x2eb025(0x13c)];}get[_0x43d812(0x1d6)](){const _0x569fae=_0x43d812;return _0x28d687[_0x569fae(0x1d6)];}get[_0x43d812(0x166)](){const _0x159c25=_0x43d812;return _0x28d687[_0x159c25(0x166)];}get[_0x43d812(0x1d1)](){const _0x122a6a=_0x43d812;return _0x28d687[_0x122a6a(0x1d1)];}get[_0x43d812(0x167)](){return _0x28d687['ShapeTextWrapType'];}};_0x58988f[_0x43d812(0x12e)][_0x43d812(0x122)](_0x2b94bf);function _0x1e3726(_0x37edca){const _0x5377f7=_0x43d812;switch(_0x37edca){case _0x28d687['ShapeGradientTypeEnum'][_0x5377f7(0x1bf)]:return _0x5377f7(0x1af);case _0x28d687[_0x5377f7(0x154)][_0x5377f7(0x1ca)]:return _0x5377f7(0x125);case _0x28d687[_0x5377f7(0x154)]['Diamond']:return _0x5377f7(0x1cf);case _0x28d687[_0x5377f7(0x154)][_0x5377f7(0x1d5)]:default:return'linear';}}function _0x5b75ad(_0x1494dc){const _0xbcdc5c=_0x43d812;return _0x1494dc===_0x28d687['ImageFillModeEnum'][_0xbcdc5c(0x1d0)]?'tile':'stretch';}var _0x455b6d=class{constructor(_0x1faec9,_0x2ecec6){const _0x282264=_0x43d812;this[_0x282264(0x183)]=_0x1faec9,this['_injector']=_0x2ecec6;}[_0x43d812(0x124)](){const _0x26da97=_0x43d812;var _0x3fc608;return(0x0,_0x28d687['shapeTextToRichTextValue'])((_0x3fc608=this[_0x26da97(0x1b2)]())==null?void 0x0:_0x3fc608[_0x26da97(0x14c)]);}[_0x43d812(0x130)](){const _0x510519=_0x43d812;var _0x16935f,_0x21c6a8;return(_0x16935f=(_0x21c6a8=this['getRichText']())==null?void 0x0:_0x21c6a8[_0x510519(0x190)]())==null?null:_0x16935f;}['setRichText'](_0x368d48){const _0x284e3f=_0x43d812;return this[_0x284e3f(0x1bc)](_0x4be1ec=>({..._0x4be1ec,'shapeText':(0x0,_0x28d687[_0x284e3f(0x180)])(_0x4be1ec[_0x284e3f(0x14c)],_0x368d48)})),this;}['setText'](_0x339962){const _0xc9b58f=_0x43d812;return this['_updateShapeData'](_0x45f4ac=>({..._0x45f4ac,'shapeText':(0x0,_0x28d687['applyTextToShapeText'])(_0x45f4ac[_0xc9b58f(0x14c)],_0x339962)})),this;}['setTextStyle'](_0x4638d5){const _0x49a123=_0x43d812;return this[_0x49a123(0x1bc)](_0x9d99d0=>({..._0x9d99d0,'shapeText':(0x0,_0x28d687['applyShapeTextStyle'])(_0x9d99d0[_0x49a123(0x14c)],_0x4638d5)})),this;}['setColor'](_0x9d1be0,_0x2f3755){const _0x3e3900=_0x43d812;return this[_0x3e3900(0x120)]({'cl':{'rgb':_0x9d1be0},'textFill':{'type':'solid','color':_0x9d1be0,'opacity':_0x2f3755}});}[_0x43d812(0x158)](){const _0x3776fa=_0x43d812;return this[_0x3776fa(0x120)]({'cl':{'rgb':_0x3776fa(0x19b)},'textFill':{'type':'none'}});}['setGradientFill'](_0x4199c8,_0x3f020d,_0x414a75){const _0xc6e9ad=_0x43d812;return _0x3f020d[_0xc6e9ad(0x10d)]<0x2?(console[_0xc6e9ad(0x137)](_0xc6e9ad(0x1b5)),this):this['setTextStyle']({'cl':{'rgb':_0x3f020d[0x0]['color']},'textFill':{'type':_0xc6e9ad(0x138),'gradient':{'type':_0x1e3726(_0x4199c8),'angle':_0x414a75,'stops':_0x3f020d['map'](({position:_0x3aa3ff,color:_0x66a56f,opacity:_0x2cfc5f})=>({'offset':_0x3aa3ff,'color':_0x66a56f,'opacity':_0x2cfc5f}))}}});}[_0x43d812(0x1c9)](_0x3e8865,_0xf623d4=_0x28d687[_0x43d812(0x1ce)]['URL'],_0x533364={}){const _0x441fbf=_0x43d812;return this[_0x441fbf(0x120)]({'textFill':{'type':'picture','picture':{'source':_0x3e8865,'sourceType':_0xf623d4,'opacity':_0x533364['opacity'],'mode':_0x5b75ad(_0x533364[_0x441fbf(0x171)]),'scaleX':_0x533364[_0x441fbf(0x1db)],'scaleY':_0x533364[_0x441fbf(0x12c)],'offsetX':_0x533364[_0x441fbf(0x18f)],'offsetY':_0x533364['offsetY']}}});}['setFontSize'](_0x2946e7){const _0x349e47=_0x43d812;return this[_0x349e47(0x120)]({'fs':_0x2946e7});}['setFontFamily'](_0xff4b96){const _0x3fe388=_0x43d812;return this[_0x3fe388(0x120)]({'ff':_0xff4b96});}[_0x43d812(0x1b6)](_0x2e875d){const _0x3072ec=_0x43d812;return this[_0x3072ec(0x120)]({'bl':_0x2e875d?_0x42ad74[_0x3072ec(0x160)][_0x3072ec(0x156)]:_0x42ad74[_0x3072ec(0x160)][_0x3072ec(0x135)]});}[_0x43d812(0x18d)](_0x2e510b){const _0x5b0e36=_0x43d812;return this[_0x5b0e36(0x120)]({'it':_0x2e510b?_0x42ad74[_0x5b0e36(0x160)]['TRUE']:_0x42ad74[_0x5b0e36(0x160)][_0x5b0e36(0x135)]});}[_0x43d812(0x11d)](_0xc2490a){const _0x2de24b=_0x43d812;return this['setTextStyle']({'ul':{'s':_0xc2490a?_0x42ad74[_0x2de24b(0x160)][_0x2de24b(0x156)]:_0x42ad74['BooleanNumber'][_0x2de24b(0x135)]}});}[_0x43d812(0x111)](_0x313de4){const _0x41554b=_0x43d812;return this[_0x41554b(0x120)]({'st':{'s':_0x313de4?_0x42ad74[_0x41554b(0x160)][_0x41554b(0x156)]:_0x42ad74['BooleanNumber']['FALSE']}});}[_0x43d812(0x1c2)](_0x1d7254){const _0x4c9c28=_0x43d812;return this['_updateShapeData'](_0x1de8e0=>(0x0,_0x28d687[_0x4c9c28(0x1b0)])(_0x1de8e0,{'horizontalAlign':_0x1d7254})),this;}[_0x43d812(0x1b9)](_0x44c16d){const _0x56fcfc=_0x43d812;return this[_0x56fcfc(0x1bc)](_0x43a43f=>(0x0,_0x28d687[_0x56fcfc(0x1b0)])(_0x43a43f,{'verticalAlign':_0x44c16d})),this;}['getTextBoxOptions'](){const _0x2b056d=_0x43d812;let _0x8653a3=this[_0x2b056d(0x1b2)]();return _0x8653a3?(0x0,_0x28d687['resolveShapeTextBoxOptions'])(_0x8653a3):null;}[_0x43d812(0x1d2)](_0x3e7196){const _0x453c11=_0x43d812;return this[_0x453c11(0x1bc)](_0x874e2e=>(0x0,_0x28d687[_0x453c11(0x119)])(_0x874e2e,_0x3e7196)),this;}[_0x43d812(0x101)](){const _0x5dcfc2=_0x43d812;return this[_0x5dcfc2(0x107)][_0x5dcfc2(0x1a8)](_0x28d687[_0x5dcfc2(0x163)])[_0x5dcfc2(0x1a8)](this['_shapeRef']['hostType']);}[_0x43d812(0x1b2)](){const _0x4c176d=_0x43d812;let _0x4a83b7=this[_0x4c176d(0x101)]();if(!_0x4a83b7)return null;try{var _0xecfff8;return((_0xecfff8=_0x4a83b7['getShape'](this[_0x4c176d(0x183)]))==null?void 0x0:_0xecfff8[_0x4c176d(0x172)])||(console[_0x4c176d(0x137)]('[Shape\x20Text\x20Facade]:\x20Shape\x20\x22'+this[_0x4c176d(0x183)][_0x4c176d(0x17c)]+_0x4c176d(0x146)),null);}catch(_0x262876){return console[_0x4c176d(0x137)](_0x4c176d(0x13d)+this['_shapeRef'][_0x4c176d(0x17c)]+_0x4c176d(0x16b),_0x262876),null;}}['_updateShapeData'](_0x40183f){const _0x4f94f3=_0x43d812;let _0x16f31f=this[_0x4f94f3(0x101)]();if(!_0x16f31f)return!0x1;try{var _0x499a51;let _0x132d12=(_0x499a51=_0x16f31f['getShape'](this[_0x4f94f3(0x183)]))==null?void 0x0:_0x499a51['shapeData'];if(!_0x132d12)return console[_0x4f94f3(0x137)]('[Shape\x20Text\x20Facade]:\x20Shape\x20\x22'+this[_0x4f94f3(0x183)]['shapeId']+'\x22\x20was\x20not\x20found.'),!0x1;let _0x5e07f1=_0x16f31f[_0x4f94f3(0x11c)](this[_0x4f94f3(0x183)],{'shapeData':_0x40183f(_0x132d12)});return _0x5e07f1||console[_0x4f94f3(0x137)](_0x4f94f3(0x1c7)+this[_0x4f94f3(0x183)]['shapeId']+_0x4f94f3(0x16b)),_0x5e07f1;}catch(_0xa2bbc0){return console[_0x4f94f3(0x137)](_0x4f94f3(0x1c7)+this[_0x4f94f3(0x183)][_0x4f94f3(0x17c)]+'\x22\x20text.',_0xa2bbc0),!0x1;}}},_0x1aa40b=class extends _0x58988f[_0x43d812(0x198)]{constructor(_0x363486,_0x25ad92){const _0x1d85d4=_0x43d812;super(),this[_0x1d85d4(0x183)]=_0x363486,this[_0x1d85d4(0x107)]=_0x25ad92;}['isConnectorShape'](){return!0x1;}[_0x43d812(0x1b8)](){const _0x3401e7=_0x43d812;return this['_shapeRef'][_0x3401e7(0x17c)];}['getName'](){const _0x47e73a=_0x43d812;var _0x2742d4;return(_0x2742d4=this[_0x47e73a(0x11f)]())==null?void 0x0:_0x2742d4['name'];}[_0x43d812(0x18a)](_0x230e37){const _0x461ec2=_0x43d812;return this[_0x461ec2(0x1d4)]({'name':_0x230e37});}[_0x43d812(0x126)](){var _0x2c0266;return(_0x2c0266=this['_getSnapshot']())==null?void 0x0:_0x2c0266['description'];}[_0x43d812(0x1a7)](_0x2041ab){const _0x4a4f9d=_0x43d812;return this[_0x4a4f9d(0x1d4)]({'description':_0x2041ab});}[_0x43d812(0x16c)](){const _0x413d65=_0x43d812;return this[_0x413d65(0x183)]['hostType'];}[_0x43d812(0x10e)](){const _0x1d94bf=_0x43d812;var _0x597720,_0xb9c193;return(_0x597720=(_0xb9c193=this[_0x1d94bf(0x11f)]())==null?void 0x0:_0xb9c193['shapeType'])==null?null:_0x597720;}[_0x43d812(0x15c)](){const _0xdd35ee=_0x43d812;let _0xb1e4a7=this['_getSnapshot']();return _0xb1e4a7?_0x42ad74[_0xdd35ee(0x162)][_0xdd35ee(0x189)](_0xb1e4a7['shapeData']):null;}[_0x43d812(0x1ab)](){const _0x23d9c3=_0x43d812;let _0x3e3709=this[_0x23d9c3(0x11f)]();return _0x3e3709?_0x42ad74['Tools'][_0x23d9c3(0x189)](_0x3e3709):null;}[_0x43d812(0x1c1)](){const _0x4a0aae=_0x43d812;let _0x392c99=this[_0x4a0aae(0x11f)]();return _0x392c99?{..._0x392c99['transform']}:null;}[_0x43d812(0x16d)](){const _0x370bae=_0x43d812;var _0x42785e,_0x2e0141;return(_0x42785e=(_0x2e0141=this[_0x370bae(0x11f)]())==null?void 0x0:_0x2e0141['visible'])==null?!0x1:_0x42785e;}['setVisible'](_0x5cd7a6){const _0xe14fc0=_0x43d812;return this[_0xe14fc0(0x1d4)]({'visible':_0x5cd7a6});}[_0x43d812(0x133)](){const _0xf3c6de=_0x43d812;var _0x12383b,_0xbdb0cd;return(_0x12383b=(_0xbdb0cd=this['_getSnapshot']())==null?void 0x0:_0xbdb0cd[_0xf3c6de(0x194)])==null?!0x1:_0x12383b;}[_0x43d812(0x178)](_0x207b08){const _0x32b037=_0x43d812;return this[_0x32b037(0x1d4)]({'selectable':_0x207b08});}[_0x43d812(0x17b)](){const _0x52f1ae=_0x43d812;return this[_0x52f1ae(0x107)][_0x52f1ae(0x165)](_0x455b6d,this['_shapeRef'],this[_0x52f1ae(0x107)]);}[_0x43d812(0x118)](){const _0x246d55=_0x43d812;let _0xd59cd3=this[_0x246d55(0x15c)]();return(_0xd59cd3==null?void 0x0:_0xd59cd3[_0x246d55(0x179)])===!0x0&&!!_0xd59cd3[_0x246d55(0x159)];}[_0x43d812(0x187)](){const _0x40ec04=_0x43d812;var _0x172fcd,_0x1dc12c;return(_0x172fcd=(_0x1dc12c=this['getShapeData']())==null?void 0x0:_0x1dc12c[_0x40ec04(0x159)])==null?null:_0x172fcd;}[_0x43d812(0x10b)](_0x36efe1){return this['_patchShapeData'](_0x32abed=>({..._0x32abed,'shapeType':_0x36efe1}),_0x36efe1);}[_0x43d812(0x110)](_0x5d9be5){const _0x2976f1=_0x43d812;let _0x5293fe=_0x42ad74['Tools'][_0x2976f1(0x189)](_0x5d9be5);return this[_0x2976f1(0x1d4)]({'shapeType':_0x5293fe[_0x2976f1(0x199)],'shapeData':_0x5293fe});}['setTransform'](_0x2c39eb){const _0x1d945a=_0x43d812;return this[_0x1d945a(0x1d4)]({'transform':_0x2c39eb});}['setSize'](_0x228139,_0x915504){const _0x2adb0f=_0x43d812;return this[_0x2adb0f(0x151)]({'width':_0x228139,'height':_0x915504});}['setRotation'](_0x4c7f48){const _0x19b3d7=_0x43d812;return this[_0x19b3d7(0x151)]({'rotation':_0x4c7f48});}[_0x43d812(0x13a)](_0x5b8fd2,_0x54c03b){const _0x2da529=_0x43d812;return this[_0x2da529(0x151)]({'left':_0x5b8fd2,'top':_0x54c03b});}['setCustomGeometry'](_0x2b515d){const _0x2f5724=_0x43d812;let _0x584fd0=_0x42ad74[_0x2f5724(0x162)][_0x2f5724(0x189)](_0x2b515d);return this[_0x2f5724(0x188)](_0x250709=>({..._0x250709,'isCustom':!0x0,'customGeometry':_0x584fd0}));}[_0x43d812(0x1cb)](){const _0x5e53ea=_0x43d812;var _0x255b83,_0x1057e5;return(_0x255b83=(_0x1057e5=this[_0x5e53ea(0x185)]())==null?void 0x0:_0x1057e5[_0x5e53ea(0x1bb)]()[_0x5e53ea(0x19e)](_0x3a399c=>({..._0x3a399c})))==null?[]:_0x255b83;}[_0x43d812(0x169)](){const _0x15b871=_0x43d812;var _0x48ad11,_0x10307e;return(_0x48ad11=(_0x10307e=this[_0x15b871(0x185)]())==null?void 0x0:_0x10307e[_0x15b871(0x1a4)]()[_0x15b871(0x19e)](_0x4127d1=>({..._0x4127d1})))==null?[]:_0x48ad11;}[_0x43d812(0x161)](){const _0x183559=_0x43d812;var _0x4a8af8;let _0x31b654=(_0x4a8af8=this['_getGeometryModel']())==null?void 0x0:_0x4a8af8[_0x183559(0x161)]();return _0x31b654?{..._0x31b654}:null;}[_0x43d812(0x18b)](){const _0x3a8009=_0x43d812;var _0x3de21b;let _0x1a30cb=(_0x3de21b=this[_0x3a8009(0x185)]())==null?void 0x0:_0x3de21b[_0x3a8009(0x18b)]();return _0x1a30cb?{..._0x1a30cb}:null;}[_0x43d812(0x15f)](_0x15b03a,_0x2fd03e){const _0x491fe9=_0x43d812;return this[_0x491fe9(0x188)](_0x5acc82=>({..._0x5acc82,'fill':{'fillType':_0x28d687[_0x491fe9(0x121)][_0x491fe9(0x1c5)],'color':_0x15b03a,'opacity':_0x2fd03e}}));}['setGradientFill'](_0x235853,_0x56e54f,_0x412637){const _0x3c20b4=_0x43d812;return _0x56e54f['length']<0x2?(console[_0x3c20b4(0x137)]('[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.'),this):this[_0x3c20b4(0x188)](_0x7a8505=>({..._0x7a8505,'fill':{'fillType':_0x28d687[_0x3c20b4(0x121)][_0x3c20b4(0x16a)],'gradientType':_0x235853,'gradientStops':_0x42ad74[_0x3c20b4(0x162)][_0x3c20b4(0x189)](_0x56e54f),'gradientAngle':_0x412637}}));}[_0x43d812(0x1c9)](_0x119b3,_0x44a046,_0x3568d4={}){const _0x4c4ed3=_0x43d812;return this[_0x4c4ed3(0x188)](_0x7dd3ce=>({..._0x7dd3ce,'fill':{..._0x42ad74['Tools'][_0x4c4ed3(0x189)](_0x3568d4),'fillType':_0x28d687[_0x4c4ed3(0x121)][_0x4c4ed3(0x1ac)],'fillImageSource':_0x119b3,'fillImageSourceType':_0x44a046}}));}[_0x43d812(0x158)](){const _0x50b822=_0x43d812;return this[_0x50b822(0x188)](_0x42e793=>({..._0x42e793,'fill':{'fillType':_0x28d687[_0x50b822(0x121)][_0x50b822(0x105)]}}));}[_0x43d812(0x114)](_0x5afe37){const _0x2487e7=_0x43d812;return this[_0x2487e7(0x188)](_0x38dc03=>({..._0x38dc03,'stroke':_0x42ad74['Tools'][_0x2487e7(0x189)](_0x5afe37)}));}['setStrokeColor'](_0x2c262d){const _0x1477cb=_0x43d812;return this[_0x1477cb(0x15a)](_0x1ce174=>({..._0x1ce174,'color':_0x2c262d,'lineStrokeType':_0x1ce174[_0x1477cb(0x1ad)]===_0x28d687[_0x1477cb(0x1da)][_0x1477cb(0x132)]?_0x28d687['ShapeLineTypeEnum'][_0x1477cb(0x15d)]:_0x1ce174[_0x1477cb(0x1ad)]}));}[_0x43d812(0x134)](_0x5c422d){const _0x2a53ca=_0x43d812;return this[_0x2a53ca(0x15a)](_0xac243b=>({..._0xac243b,'width':_0x5c422d,'lineStrokeType':_0xac243b[_0x2a53ca(0x1ad)]===_0x28d687[_0x2a53ca(0x1da)]['NoLine']?_0x28d687[_0x2a53ca(0x1da)]['SolidLine']:_0xac243b[_0x2a53ca(0x1ad)]}));}['setStrokeOpacity'](_0x90b7a2){const _0x690578=_0x43d812;return this[_0x690578(0x15a)](_0x2f656e=>({..._0x2f656e,'opacity':_0x90b7a2}));}[_0x43d812(0x1d8)](_0x3dac12){const _0x260961=_0x43d812;return this[_0x260961(0x15a)](_0x5b4ffb=>({..._0x5b4ffb,'dashType':_0x3dac12}));}[_0x43d812(0x123)](_0x2b47bd){return this['_patchStroke'](_0x272850=>({..._0x272850,'lineJoinType':_0x2b47bd}));}[_0x43d812(0x139)](_0x595bab){const _0x135442=_0x43d812;return this[_0x135442(0x15a)](_0x9be317=>({..._0x9be317,'capType':_0x595bab}));}['setStrokeLineType'](_0x2a3b52){const _0x172435=_0x43d812;return this[_0x172435(0x15a)](_0x2bce8d=>({..._0x2bce8d,'lineStrokeType':_0x2a3b52}));}[_0x43d812(0x1d4)](_0xe44770){const _0x2006be=_0x43d812;var _0x117797,_0x5831c5,_0x1d60d9;let _0x5ab8ed=_0xe44770[_0x2006be(0x172)],_0x46f32c=_0x5ab8ed&&(_0x2006be(0x12f)in _0x5ab8ed||_0x2006be(0x1bd)in _0x5ab8ed)?this[_0x2006be(0x10e)]():null,_0x38abc1=(_0x117797=(_0x5831c5=_0xe44770[_0x2006be(0x199)])==null?(_0x1d60d9=_0xe44770[_0x2006be(0x172)])==null?void 0x0:_0x1d60d9['shapeType']:_0x5831c5)==null?_0x46f32c:_0x117797,_0x48a849=_0x534e3c(_0xe44770,_0x38abc1!==null&&(0x0,_0x28d687[_0x2006be(0x1b3)])(_0x38abc1));return _0x48a849?(console[_0x2006be(0x137)](_0x2006be(0x1a0)+_0x48a849),this):(this[_0x2006be(0x1a1)](_0x2006be(0x1d4),_0x1de61e=>_0x1de61e[_0x2006be(0x11c)](this[_0x2006be(0x183)],_0xe44770)),this);}[_0x43d812(0x1c0)](){const _0x396ce5=_0x43d812;return this[_0x396ce5(0x1a1)]('remove',_0x1a96cd=>_0x1a96cd[_0x396ce5(0x174)](this['_shapeRef']));}[_0x43d812(0x19c)](){const _0x1203f4=_0x43d812;return this[_0x1203f4(0x1a1)](_0x1203f4(0x1c6),_0x3cfd66=>_0x3cfd66[_0x1203f4(0x19c)](this['_shapeRef'])),this;}['bringForward'](){const _0x29ac32=_0x43d812;return this[_0x29ac32(0x1a1)](_0x29ac32(0x14e),_0x12c39d=>_0x12c39d[_0x29ac32(0x103)](this['_shapeRef'])),this;}[_0x43d812(0x153)](){const _0x472b6b=_0x43d812;return this['_mutate'](_0x472b6b(0x100),_0x5155f3=>_0x5155f3[_0x472b6b(0x153)](this['_shapeRef'])),this;}['sendToBack'](){const _0x483283=_0x43d812;return this['_mutate']('send\x20to\x20back',_0x5c6854=>_0x5c6854[_0x483283(0x1a6)](this[_0x483283(0x183)])),this;}[_0x43d812(0x101)](){const _0x58b4a2=_0x43d812;return this[_0x58b4a2(0x107)]['get'](_0x28d687[_0x58b4a2(0x163)])[_0x58b4a2(0x1a8)](this[_0x58b4a2(0x183)][_0x58b4a2(0x13e)]);}[_0x43d812(0x188)](_0x2fdd65,_0xe6818e){const _0x28410d=_0x43d812;let _0x181a8d=this[_0x28410d(0x15c)]();return _0x181a8d?this[_0x28410d(0x1d4)]({'shapeType':_0xe6818e,'shapeData':_0x2fdd65(_0x181a8d)}):this;}[_0x43d812(0x15a)](_0x26022d){return this['_patchShapeData'](_0x189829=>{const _0x5da1ef=_0x3406;var _0x356b44;return{..._0x189829,'stroke':_0x26022d((_0x356b44=_0x189829[_0x5da1ef(0x17f)])==null?{}:_0x356b44)};});}[_0x43d812(0x11f)](){const _0x430e8d=_0x43d812;let _0x4dcbe1=this[_0x430e8d(0x101)]();if(!_0x4dcbe1)return null;try{return _0x4dcbe1[_0x430e8d(0x191)](this[_0x430e8d(0x183)])||(console[_0x430e8d(0x137)](_0x430e8d(0x148)+this[_0x430e8d(0x183)]['shapeId']+_0x430e8d(0x146)),null);}catch(_0x693293){return console[_0x430e8d(0x137)](_0x430e8d(0x181)+this[_0x430e8d(0x183)][_0x430e8d(0x17c)]+'\x22.',_0x693293),null;}}['_getGeometryModel'](){const _0x35adf8=_0x43d812;let _0x528d15=this[_0x35adf8(0x11f)]();if(!_0x528d15)return null;try{let _0x4c273e=new _0x28d687[(_0x35adf8(0x115))](_0x528d15[_0x35adf8(0x199)],_0x528d15[_0x35adf8(0x17c)],_0x528d15[_0x35adf8(0x172)]);return _0x4c273e[_0x35adf8(0x1ba)]({'width':_0x528d15[_0x35adf8(0x16e)][_0x35adf8(0x177)],'height':_0x528d15[_0x35adf8(0x16e)][_0x35adf8(0x184)]}),_0x4c273e;}catch(_0x18bfcb){return console[_0x35adf8(0x137)]('[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22'+this[_0x35adf8(0x183)]['shapeId']+'\x22.',_0x18bfcb),null;}}[_0x43d812(0x1a1)](_0x6f8fd8,_0x492bd1){const _0xd3bd75=_0x43d812;let _0x29e738=this[_0xd3bd75(0x101)]();if(!_0x29e738)return!0x1;try{let _0x2fd56b=_0x492bd1(_0x29e738);return _0x2fd56b||console[_0xd3bd75(0x137)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x6f8fd8+_0xd3bd75(0x1b4)+this[_0xd3bd75(0x183)][_0xd3bd75(0x17c)]+'\x22.'),_0x2fd56b;}catch(_0xf6fa1f){return console[_0xd3bd75(0x137)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x6f8fd8+_0xd3bd75(0x1b4)+this['_shapeRef'][_0xd3bd75(0x17c)]+'\x22.',_0xf6fa1f),!0x1;}}};function _0x534e3c(_0x5224a4,_0x36a633=!0x1){const _0x263f68=_0x43d812;for(let _0x3ecf3d of[_0x263f68(0x11e),'selectable']){let _0xe7f73e=_0x5224a4[_0x3ecf3d];if(_0xe7f73e!==void 0x0&&typeof _0xe7f73e!=_0x263f68(0x113))return _0x263f68(0x173)+_0x3ecf3d+_0x263f68(0x1c8);}let _0x52faf4=_0x5224a4['transform'];if(_0x52faf4){for(let _0x52cb6d of[_0x263f68(0x106),_0x263f68(0x1a2),_0x263f68(0x177),_0x263f68(0x184),_0x263f68(0x116)]){let _0x1daa54=_0x52faf4[_0x52cb6d];if(_0x1daa54!==void 0x0&&!Number[_0x263f68(0x14d)](_0x1daa54))return _0x263f68(0x1b1)+_0x52cb6d+_0x263f68(0x195);}if(_0x52faf4['width']!==void 0x0&&_0x52faf4[_0x263f68(0x177)]<=0x0)return _0x263f68(0x1b7);if(_0x52faf4[_0x263f68(0x184)]!==void 0x0&&_0x52faf4[_0x263f68(0x184)]<=0x0)return _0x263f68(0x108);for(let _0x5672c0 of[_0x263f68(0x1c4),_0x263f68(0x13b)]){let _0x592bcc=_0x52faf4[_0x5672c0];if(_0x592bcc!==void 0x0&&typeof _0x592bcc!=_0x263f68(0x113))return _0x263f68(0x1b1)+_0x5672c0+_0x263f68(0x1c8);}}let _0x30a10f=_0x5224a4[_0x263f68(0x172)];return!_0x36a633&&_0x30a10f&&('relation'in _0x30a10f||_0x263f68(0x1bd)in _0x30a10f)?_0x263f68(0x1ae):null;}var _0x4629fe=class extends _0x1aa40b{[_0x43d812(0x1b3)](){return!0x0;}[_0x43d812(0x18e)](){const _0x5378db=_0x43d812;let _0x3c9d6b=this[_0x5378db(0x176)]();return _0x3c9d6b?_0x42ad74['Tools'][_0x5378db(0x189)](_0x3c9d6b[_0x5378db(0x14f)]):null;}[_0x43d812(0x127)](){const _0x41fbaf=_0x43d812;let _0x501c53=this[_0x41fbaf(0x176)]();return _0x501c53?_0x42ad74[_0x41fbaf(0x162)][_0x41fbaf(0x189)](_0x501c53[_0x41fbaf(0x128)]):null;}[_0x43d812(0x145)](){const _0x18854a=_0x43d812;let _0x3abcdb=this[_0x18854a(0x176)]();return _0x3abcdb?_0x42ad74['Tools'][_0x18854a(0x189)](_0x3abcdb['routePoints']):null;}[_0x43d812(0x149)](){const _0x1adaef=_0x43d812;let _0x521be9=this[_0x1adaef(0x176)]();return _0x521be9?_0x42ad74[_0x1adaef(0x162)][_0x1adaef(0x189)](_0x521be9[_0x1adaef(0x117)]):null;}['getEndArrow'](){const _0x57e031=_0x43d812;let _0x560553=this[_0x57e031(0x176)]();return _0x560553?_0x42ad74[_0x57e031(0x162)]['deepClone'](_0x560553[_0x57e031(0x152)]):null;}[_0x43d812(0x10b)](_0x26ef9d){const _0x246b61=_0x43d812;return(0x0,_0x28d687[_0x246b61(0x1b3)])(_0x26ef9d)?super[_0x246b61(0x10b)](_0x26ef9d):(console[_0x246b61(0x137)](_0x246b61(0x15e)+this['_shapeRef'][_0x246b61(0x17c)]+_0x246b61(0x1d9)),this);}[_0x43d812(0x110)](_0x4c544d){const _0x2f39a6=_0x43d812;return _0x4c544d[_0x2f39a6(0x199)]!==void 0x0&&!(0x0,_0x28d687[_0x2f39a6(0x1b3)])(_0x4c544d[_0x2f39a6(0x199)])?(console[_0x2f39a6(0x137)]('[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22'+this[_0x2f39a6(0x183)][_0x2f39a6(0x17c)]+_0x2f39a6(0x19d)),this):super['setShapeData'](_0x4c544d);}[_0x43d812(0x17a)](_0x4071e6,_0x5865ae){const _0x457534=_0x43d812;return this[_0x457534(0x142)]('start',_0x4071e6,_0x5865ae),this;}[_0x43d812(0x136)](_0x505510,_0x4ae44f){const _0x323063=_0x43d812;return this[_0x323063(0x142)]('end',_0x505510,_0x4ae44f),this;}[_0x43d812(0x10f)](){const _0x53e89a=_0x43d812;return this['_mutateConnector'](_0x53e89a(0x12a),_0x1433fe=>_0x1433fe[_0x53e89a(0x10f)](this[_0x53e89a(0x183)])),this;}[_0x43d812(0x193)](){const _0x3dfb08=_0x43d812;return this[_0x3dfb08(0x13f)]('unbind\x20end',_0x510741=>_0x510741['unbindEnd'](this[_0x3dfb08(0x183)])),this;}[_0x43d812(0x14a)](_0x1e254d){const _0x1678b1=_0x43d812;return _0x2433bb(_0x1e254d,this[_0x1678b1(0x183)][_0x1678b1(0x17c)])&&this['_mutateConnector'](_0x1678b1(0x11a),_0x479f91=>_0x479f91[_0x1678b1(0x14a)](this['_shapeRef'],_0x1e254d)),this;}['setEndPoint'](_0x4ee224){const _0x440962=_0x43d812;return _0x2433bb(_0x4ee224,this['_shapeRef'][_0x440962(0x17c)])&&this[_0x440962(0x13f)]('set\x20end\x20point',_0x1b0c77=>_0x1b0c77[_0x440962(0x12b)](this['_shapeRef'],_0x4ee224)),this;}[_0x43d812(0x170)](_0x3bf838){const _0x176061=_0x43d812;return _0x3bf838[_0x176061(0x17e)](_0x188554=>_0x2433bb(_0x188554,this[_0x176061(0x183)][_0x176061(0x17c)]))&&this[_0x176061(0x13f)](_0x176061(0x12d),_0x48d08d=>_0x48d08d[_0x176061(0x170)](this[_0x176061(0x183)],_0x3bf838)),this;}['setStartArrow'](_0x22220c,_0x5542b9){const _0x4c2bba=_0x43d812;return this['_mutateConnector'](_0x4c2bba(0x19f),_0x3b6f2e=>_0x3b6f2e[_0x4c2bba(0x155)](this[_0x4c2bba(0x183)],_0x22220c,_0x5542b9)),this;}['setEndArrow'](_0x53b360,_0x1877ea){const _0x2eaeea=_0x43d812;return this[_0x2eaeea(0x13f)](_0x2eaeea(0x102),_0x3f7b76=>_0x3f7b76['setEndArrow'](this[_0x2eaeea(0x183)],_0x53b360,_0x1877ea)),this;}[_0x43d812(0x1cd)](){const _0x51ae51=_0x43d812;return this['_injector'][_0x51ae51(0x1a8)](_0x28d687['IConnectorShapeHostAdapter']);}['_getConnectorSnapshot'](){const _0x3538e5=_0x43d812;let _0x2d427c=this[_0x3538e5(0x1cd)]();if(!_0x2d427c)return null;try{return _0x2d427c[_0x3538e5(0x1a5)](this['_shapeRef'])||(console[_0x3538e5(0x137)]('[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22'+this[_0x3538e5(0x183)][_0x3538e5(0x17c)]+_0x3538e5(0x146)),null);}catch(_0x28882c){return console[_0x3538e5(0x137)](_0x3538e5(0x1c3)+this[_0x3538e5(0x183)][_0x3538e5(0x17c)]+'\x22.',_0x28882c),null;}}[_0x43d812(0x142)](_0x489750,_0x1a5784,_0x2a3543){const _0x5366ca=_0x43d812;if(!_0x1a5784||!Number[_0x5366ca(0x1a3)](_0x2a3543)||_0x2a3543<0x0)return console['warn'](_0x5366ca(0x197)+this[_0x5366ca(0x183)]['shapeId']+_0x5366ca(0x10a)),!0x1;let _0x325152={'shapeId':_0x1a5784,'cxnIndex':_0x2a3543};return this[_0x5366ca(0x13f)](_0x5366ca(0x1a9)+_0x489750,_0x1ec878=>_0x489750===_0x5366ca(0x14f)?_0x1ec878['bindStart'](this[_0x5366ca(0x183)],_0x325152):_0x1ec878[_0x5366ca(0x136)](this[_0x5366ca(0x183)],_0x325152));}['_mutateConnector'](_0x491734,_0x30f5e7){const _0x43399f=_0x43d812;let _0x2005d1=this[_0x43399f(0x1cd)]();if(!_0x2005d1)return!0x1;try{let _0x1a998e=_0x30f5e7(_0x2005d1);return _0x1a998e||console[_0x43399f(0x137)](_0x43399f(0x1aa)+_0x491734+_0x43399f(0x131)+this[_0x43399f(0x183)][_0x43399f(0x17c)]+'\x22.'),_0x1a998e;}catch(_0x3b93f2){return console['warn'](_0x43399f(0x1aa)+_0x491734+'\x20Connector\x20Shape\x20\x22'+this[_0x43399f(0x183)][_0x43399f(0x17c)]+'\x22.',_0x3b93f2),!0x1;}}};function _0x2433bb(_0xe21b82,_0x2fdec0){const _0x4bea52=_0x43d812;return!Number[_0x4bea52(0x14d)](_0xe21b82['x'])||!Number[_0x4bea52(0x14d)](_0xe21b82['y'])?(console[_0x4bea52(0x137)](_0x4bea52(0x197)+_0x2fdec0+_0x4bea52(0x143)),!0x1):!0x0;}_0x17addd['FConnectorShape']=_0x4629fe,_0x17addd[_0x43d812(0x17d)]=_0x1aa40b,_0x17addd[_0x43d812(0x14b)]=_0x455b6d;}));
1
+ function _0x3f1c(){const _0x4d844b=['FShape','[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','applyShapeTextStyle','extend','\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.','setDescription','shapeTextToRichTextValue','Linear','getPlainText','ShapeArrowSizeEnum','getTransform','isInteger','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22','@univerjs/core','getConnector','getSnapshot','color','shapeData','Shape\x20transform\x20\x22','ShapeLineCapEnum','_getSnapshot','[Shape\x20Facade]:\x20Failed\x20to\x20','2866195KuVGQk','scaleX','bring\x20forward','Diamond','Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.','IConnectorShapeHostAdapter','diamond','setRichText','scaleY','flipX','hostType','tile','width','getTextBoxOptions','_injector','[Shape\x20Facade]:\x20Shape\x20\x22','@univerjs/core/facade','shapeText','_getShapeData','setFontFamily','58oYPOhT','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','_mutate','left','UniverProEngineShapeFacade','setStartArrow','2856135EHaIOB','_patchStroke','exports','bringForward','toPlainText','boolean','get','bind\x20','SolidFill','setName','setTextBoxOptions','setGradientFill','setSize','FALSE','sendToBack','setSelectable','Tools','_getAdapter','getEndConnectInfo','_getGeometryModel','Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.','setBold','unbindStart','BooleanNumber','TRUE','ShapeTextWrapType','\x22\x20points\x20must\x20contain\x20finite\x20coordinates.','setShapeType','_bind','[Shape\x20Facade]:\x20','FShapeText','Tile','isVisible','getShapeData','getEndEndpoint','solid','setNoneFill','ShapeImageSourceTypeEnum','ImageSourceTypeEnum','_shapeRef','5955952NfErmX','bringToFront','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','21526YmjPHq','getEndArrow','amd','setStrokeColor','setStrokeOpacity','ShapeTextAutoFitType','update','\x22\x20requires\x20a\x20Connector\x20Shape\x20type.','getStartEndpoint','setImageFill','\x22\x20must\x20be\x20boolean.','updateContext','setVerticalAlign','ShapeTextDirection','setStroke','bring\x20to\x20front','isFinite','setStrokeLineType','relation','ShapeArrowTypeEnum','transform','\x20Shape\x20\x22','Angular','resolveShapeTextBoxOptions','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','GradientFill','shapeId','none','visible','ShapeTypeEnum','lineStrokeType','SolidLine','top','UniverCore','_patchShapeData','Module','getRichText','getText','applyShapeTextAlignment','\x22\x20text.','customGeometry','unbind\x20start','FBase','offsetX','setItalic','set\x20start\x20arrow','setEndPoint','setRoutePoints','set\x20start\x20point','getDescription','applyTextToShapeText','ShapeLineTypeEnum','[Shape\x20Facade]:\x20Connector\x20\x22','URL','[Shape\x20Text\x20Facade]:\x20Shape\x20\x22','Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.','setTransform','FEnum','flipY','radial','shapeType','@univerjs-pro/engine-shape','endArrow','setTextStyle','setStrokeWidth','_getConnectorSnapshot','setShapeData','set\x20route\x20points','selectable','setVisible','ShapeImageFillModeEnum','setHorizontalAlign','bindStart','setCustomGeometry','every','map','_mutateConnector','function','isConnectorShape','deepClone','1884496IwIkuj','setStrokeLineDashType','\x20Connector\x20Shape\x20\x22','ShapeLineDashEnum','set\x20end\x20point','FConnectorShape','updateShape','removeShape','ShapeFillEnum','UniverProEngineShape','27WyXFwm','25942jPHYxm','NoFill','\x22\x20was\x20not\x20found.','getAdjustPoints','setSolidFill','Shape\x20\x22','warn','points','remove','PictureFill','ShapeGradientTypeEnum','_updateShapeData','getRoutePoints','setStartPoint','length','isSelectable','description','object','defineProperty','ShapeLineJoinEnum','start','isCustomShape','getStartConnectInfo','rotation','4845710PHPivj','getShape','getShapeType','ImageFillModeEnum','894qZueZy','send\x20backward','gradient','height','_getConnectorAdapter','Radial','sendBackward','getName','end','stretch','ShapeOperatorEnum','IShapeHostAdapterRegistry','isCustom','NoLine'];_0x3f1c=function(){return _0x4d844b;};return _0x3f1c();}function _0x5bd5(_0x4a1044,_0x552607){_0x4a1044=_0x4a1044-0x18a;const _0x3f1cf5=_0x3f1c();let _0x5bd5f5=_0x3f1cf5[_0x4a1044];return _0x5bd5f5;}(function(_0x59dd0f,_0x48ebbf){const _0x19bad2=_0x5bd5,_0x308619=_0x59dd0f();while(!![]){try{const _0x474e0f=-parseInt(_0x19bad2(0x210))/0x1*(-parseInt(_0x19bad2(0x241))/0x2)+-parseInt(_0x19bad2(0x216))/0x3+parseInt(_0x19bad2(0x1b1))/0x4+parseInt(_0x19bad2(0x1fc))/0x5+-parseInt(_0x19bad2(0x1d8))/0x6*(-parseInt(_0x19bad2(0x1bc))/0x7)+parseInt(_0x19bad2(0x23e))/0x8+-parseInt(_0x19bad2(0x1bb))/0x9*(parseInt(_0x19bad2(0x1d4))/0xa);if(_0x474e0f===_0x48ebbf)break;else _0x308619['push'](_0x308619['shift']());}catch(_0x15a832){_0x308619['push'](_0x308619['shift']());}}}(_0x3f1c,0x889bb),function(_0x452d47,_0x4ee5ff){const _0x39c97d=_0x5bd5;typeof exports==_0x39c97d(0x1cd)&&typeof module<'u'?_0x4ee5ff(exports,require('@univerjs-pro/engine-shape'),require('@univerjs/core/facade'),require('@univerjs/core')):typeof define==_0x39c97d(0x1ae)&&define[_0x39c97d(0x243)]?define([_0x39c97d(0x218),_0x39c97d(0x19e),_0x39c97d(0x20c),_0x39c97d(0x1f3)],_0x4ee5ff):(_0x452d47=typeof globalThis<'u'?globalThis:_0x452d47||self,_0x4ee5ff(_0x452d47[_0x39c97d(0x214)]={},_0x452d47[_0x39c97d(0x1ba)],_0x452d47['UniverCoreFacade'],_0x452d47[_0x39c97d(0x262)]));}(this,function(_0x56c73f,_0x36aa3b,_0x1b9acd,_0x268bbd){const _0x59cf0f=_0x5bd5;Object[_0x59cf0f(0x1ce)](_0x56c73f,Symbol['toStringTag'],{'value':_0x59cf0f(0x264)});var _0xd33d49=class extends _0x1b9acd[_0x59cf0f(0x19a)]{get[_0x59cf0f(0x25e)](){const _0x382c93=_0x59cf0f;return _0x36aa3b[_0x382c93(0x25e)];}get[_0x59cf0f(0x1b9)](){return _0x36aa3b['ShapeFillEnum'];}get[_0x59cf0f(0x1c6)](){return _0x36aa3b['ShapeGradientTypeEnum'];}get[_0x59cf0f(0x1a7)](){const _0x5d531b=_0x59cf0f;return _0x36aa3b[_0x5d531b(0x1d7)];}get[_0x59cf0f(0x23b)](){const _0x1fe35c=_0x59cf0f;return _0x36aa3b[_0x1fe35c(0x23c)];}get[_0x59cf0f(0x194)](){return _0x36aa3b['ShapeLineTypeEnum'];}get[_0x59cf0f(0x1b4)](){return _0x36aa3b['ShapeLineDashEnum'];}get[_0x59cf0f(0x1f9)](){const _0x55e83b=_0x59cf0f;return _0x36aa3b[_0x55e83b(0x1f9)];}get[_0x59cf0f(0x1cf)](){const _0xbab46=_0x59cf0f;return _0x36aa3b[_0xbab46(0x1cf)];}get[_0x59cf0f(0x1e2)](){const _0x1ea3a7=_0x59cf0f;return _0x36aa3b[_0x1ea3a7(0x1e2)];}get[_0x59cf0f(0x254)](){const _0x3bd745=_0x59cf0f;return _0x36aa3b[_0x3bd745(0x254)];}get[_0x59cf0f(0x1ef)](){const _0x330692=_0x59cf0f;return _0x36aa3b[_0x330692(0x1ef)];}get[_0x59cf0f(0x246)](){const _0x4c1294=_0x59cf0f;return _0x36aa3b[_0x4c1294(0x246)];}get[_0x59cf0f(0x24e)](){const _0x25cdd9=_0x59cf0f;return _0x36aa3b[_0x25cdd9(0x24e)];}get[_0x59cf0f(0x22f)](){const _0x29707d=_0x59cf0f;return _0x36aa3b[_0x29707d(0x22f)];}};_0x1b9acd['FEnum'][_0x59cf0f(0x1e9)](_0xd33d49);function _0x475a42(_0x4b45af){const _0x3730c0=_0x59cf0f;switch(_0x4b45af){case _0x36aa3b[_0x3730c0(0x1c6)][_0x3730c0(0x1dd)]:return _0x3730c0(0x19c);case _0x36aa3b[_0x3730c0(0x1c6)][_0x3730c0(0x257)]:return'angular';case _0x36aa3b[_0x3730c0(0x1c6)][_0x3730c0(0x1ff)]:return _0x3730c0(0x202);case _0x36aa3b['ShapeGradientTypeEnum'][_0x3730c0(0x1ed)]:default:return'linear';}}function _0x10474e(_0x43da8d){const _0x5e0fa4=_0x59cf0f;return _0x43da8d===_0x36aa3b[_0x5e0fa4(0x1d7)][_0x5e0fa4(0x235)]?_0x5e0fa4(0x207):_0x5e0fa4(0x1e1);}var _0x2ce68f=class{constructor(_0xa7706f,_0x49051e){const _0x25aaf2=_0x59cf0f;this[_0x25aaf2(0x23d)]=_0xa7706f,this[_0x25aaf2(0x20a)]=_0x49051e;}[_0x59cf0f(0x265)](){const _0x5c4946=_0x59cf0f;var _0x414102;return(0x0,_0x36aa3b[_0x5c4946(0x1ec)])((_0x414102=this[_0x5c4946(0x20e)]())==null?void 0x0:_0x414102[_0x5c4946(0x20d)]);}[_0x59cf0f(0x1ee)](){const _0x3b8bc4=_0x59cf0f;var _0x3ff1ff,_0x217d4b;return(_0x3ff1ff=(_0x217d4b=this[_0x3b8bc4(0x265)]())==null?void 0x0:_0x217d4b[_0x3b8bc4(0x21a)]())==null?null:_0x3ff1ff;}[_0x59cf0f(0x203)](_0x364198){const _0x322aef=_0x59cf0f;return this['_updateShapeData'](_0x3329da=>({..._0x3329da,'shapeText':(0x0,_0x36aa3b['applyRichTextToShapeText'])(_0x3329da[_0x322aef(0x20d)],_0x364198)})),this;}['setText'](_0x3f1560){const _0x28ecf4=_0x59cf0f;return this['_updateShapeData'](_0x1a94e5=>({..._0x1a94e5,'shapeText':(0x0,_0x36aa3b[_0x28ecf4(0x193)])(_0x1a94e5['shapeText'],_0x3f1560)})),this;}['setTextStyle'](_0x118c51){const _0x1076b5=_0x59cf0f;return this[_0x1076b5(0x1c7)](_0x38da6f=>({..._0x38da6f,'shapeText':(0x0,_0x36aa3b[_0x1076b5(0x1e8)])(_0x38da6f['shapeText'],_0x118c51)})),this;}['setColor'](_0x1984da,_0x54d351){const _0x3755c0=_0x59cf0f;return this[_0x3755c0(0x1a0)]({'cl':{'rgb':_0x1984da},'textFill':{'type':_0x3755c0(0x239),'color':_0x1984da,'opacity':_0x54d351}});}[_0x59cf0f(0x23a)](){const _0x4cb2c3=_0x59cf0f;return this[_0x4cb2c3(0x1a0)]({'cl':{'rgb':'rgba(0,\x200,\x200,\x200)'},'textFill':{'type':_0x4cb2c3(0x25c)}});}[_0x59cf0f(0x221)](_0x4795da,_0x4d6e29,_0x26fb38){const _0x599758=_0x59cf0f;return _0x4d6e29[_0x599758(0x1ca)]<0x2?(console[_0x599758(0x1c2)](_0x599758(0x1e7)),this):this[_0x599758(0x1a0)]({'cl':{'rgb':_0x4d6e29[0x0][_0x599758(0x1f6)]},'textFill':{'type':_0x599758(0x1da),'gradient':{'type':_0x475a42(_0x4795da),'angle':_0x26fb38,'stops':_0x4d6e29[_0x599758(0x1ac)](({position:_0x57b57c,color:_0x5d4798,opacity:_0xea0e3})=>({'offset':_0x57b57c,'color':_0x5d4798,'opacity':_0xea0e3}))}}});}[_0x59cf0f(0x24a)](_0x2cb197,_0x1624e7=_0x36aa3b['ImageSourceTypeEnum'][_0x59cf0f(0x196)],_0x1bb39d={}){const _0x7e8936=_0x59cf0f;return this['setTextStyle']({'textFill':{'type':'picture','picture':{'source':_0x2cb197,'sourceType':_0x1624e7,'opacity':_0x1bb39d['opacity'],'mode':_0x10474e(_0x1bb39d['mode']),'scaleX':_0x1bb39d[_0x7e8936(0x1fd)],'scaleY':_0x1bb39d[_0x7e8936(0x204)],'offsetX':_0x1bb39d[_0x7e8936(0x18c)],'offsetY':_0x1bb39d['offsetY']}}});}['setFontSize'](_0x402812){const _0x3d93e4=_0x59cf0f;return this[_0x3d93e4(0x1a0)]({'fs':_0x402812});}[_0x59cf0f(0x20f)](_0x3b9eb4){const _0x38d706=_0x59cf0f;return this[_0x38d706(0x1a0)]({'ff':_0x3b9eb4});}[_0x59cf0f(0x22b)](_0xd82bb3){const _0x23dbb9=_0x59cf0f;return this[_0x23dbb9(0x1a0)]({'bl':_0xd82bb3?_0x268bbd['BooleanNumber']['TRUE']:_0x268bbd[_0x23dbb9(0x22d)][_0x23dbb9(0x223)]});}[_0x59cf0f(0x18d)](_0x561113){const _0x118d02=_0x59cf0f;return this[_0x118d02(0x1a0)]({'it':_0x561113?_0x268bbd[_0x118d02(0x22d)][_0x118d02(0x22e)]:_0x268bbd[_0x118d02(0x22d)][_0x118d02(0x223)]});}['setUnderline'](_0x3ead6b){const _0xf10d1f=_0x59cf0f;return this[_0xf10d1f(0x1a0)]({'ul':{'s':_0x3ead6b?_0x268bbd[_0xf10d1f(0x22d)][_0xf10d1f(0x22e)]:_0x268bbd['BooleanNumber']['FALSE']}});}['setStrikethrough'](_0x3bbcf3){const _0x24845e=_0x59cf0f;return this[_0x24845e(0x1a0)]({'st':{'s':_0x3bbcf3?_0x268bbd[_0x24845e(0x22d)][_0x24845e(0x22e)]:_0x268bbd[_0x24845e(0x22d)]['FALSE']}});}[_0x59cf0f(0x1a8)](_0x29e4fe){const _0x72e5ac=_0x59cf0f;return this[_0x72e5ac(0x1c7)](_0x2c810f=>(0x0,_0x36aa3b[_0x72e5ac(0x267)])(_0x2c810f,{'horizontalAlign':_0x29e4fe})),this;}[_0x59cf0f(0x24d)](_0x30df5e){const _0x24b2bd=_0x59cf0f;return this[_0x24b2bd(0x1c7)](_0x1aad50=>(0x0,_0x36aa3b[_0x24b2bd(0x267)])(_0x1aad50,{'verticalAlign':_0x30df5e})),this;}[_0x59cf0f(0x209)](){const _0x3f00d7=_0x59cf0f;let _0x424305=this[_0x3f00d7(0x20e)]();return _0x424305?(0x0,_0x36aa3b[_0x3f00d7(0x258)])(_0x424305):null;}[_0x59cf0f(0x220)](_0xdfe14e){const _0x21e4c9=_0x59cf0f;return this[_0x21e4c9(0x1c7)](_0x260489=>(0x0,_0x36aa3b['applyShapeTextBoxOptions'])(_0x260489,_0xdfe14e)),this;}['_getAdapter'](){const _0x3e9295=_0x59cf0f;return this[_0x3e9295(0x20a)]['get'](_0x36aa3b['IShapeHostAdapterRegistry'])[_0x3e9295(0x21c)](this[_0x3e9295(0x23d)]['hostType']);}[_0x59cf0f(0x20e)](){const _0x31ff2b=_0x59cf0f;let _0x22f3b2=this[_0x31ff2b(0x227)]();if(!_0x22f3b2)return null;try{var _0x34e722;return((_0x34e722=_0x22f3b2[_0x31ff2b(0x1d5)](this[_0x31ff2b(0x23d)]))==null?void 0x0:_0x34e722[_0x31ff2b(0x1f7)])||(console[_0x31ff2b(0x1c2)](_0x31ff2b(0x197)+this[_0x31ff2b(0x23d)][_0x31ff2b(0x25b)]+_0x31ff2b(0x1be)),null);}catch(_0xcd2fd){return console['warn'](_0x31ff2b(0x211)+this[_0x31ff2b(0x23d)][_0x31ff2b(0x25b)]+_0x31ff2b(0x268),_0xcd2fd),null;}}[_0x59cf0f(0x1c7)](_0x1aaee0){const _0x49c5b1=_0x59cf0f;let _0x31b372=this[_0x49c5b1(0x227)]();if(!_0x31b372)return!0x1;try{var _0x14b35f;let _0x3f789d=(_0x14b35f=_0x31b372[_0x49c5b1(0x1d5)](this[_0x49c5b1(0x23d)]))==null?void 0x0:_0x14b35f[_0x49c5b1(0x1f7)];if(!_0x3f789d)return console['warn'](_0x49c5b1(0x197)+this['_shapeRef'][_0x49c5b1(0x25b)]+_0x49c5b1(0x1be)),!0x1;let _0x481f84=_0x31b372[_0x49c5b1(0x1b7)](this[_0x49c5b1(0x23d)],{'shapeData':_0x1aaee0(_0x3f789d)});return _0x481f84||console[_0x49c5b1(0x1c2)](_0x49c5b1(0x1f2)+this[_0x49c5b1(0x23d)][_0x49c5b1(0x25b)]+_0x49c5b1(0x268)),_0x481f84;}catch(_0x32854e){return console['warn']('[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22'+this[_0x49c5b1(0x23d)][_0x49c5b1(0x25b)]+_0x49c5b1(0x268),_0x32854e),!0x1;}}},_0x41b18a=class extends _0x1b9acd[_0x59cf0f(0x18b)]{constructor(_0x2a0cee,_0x9f185a){super(),this['_shapeRef']=_0x2a0cee,this['_injector']=_0x9f185a;}['isConnectorShape'](){return!0x1;}['getId'](){const _0x1f263e=_0x59cf0f;return this[_0x1f263e(0x23d)][_0x1f263e(0x25b)];}[_0x59cf0f(0x1df)](){var _0x228d0e;return(_0x228d0e=this['_getSnapshot']())==null?void 0x0:_0x228d0e['name'];}[_0x59cf0f(0x21f)](_0x47b88e){const _0x46e28a=_0x59cf0f;return this[_0x46e28a(0x247)]({'name':_0x47b88e});}[_0x59cf0f(0x192)](){const _0x331568=_0x59cf0f;var _0x1bcee5;return(_0x1bcee5=this[_0x331568(0x1fa)]())==null?void 0x0:_0x1bcee5[_0x331568(0x1cc)];}[_0x59cf0f(0x1eb)](_0x2af186){const _0x5eb707=_0x59cf0f;return this[_0x5eb707(0x247)]({'description':_0x2af186});}['getHostType'](){const _0x4c6830=_0x59cf0f;return this[_0x4c6830(0x23d)][_0x4c6830(0x206)];}[_0x59cf0f(0x1d6)](){const _0x4efb06=_0x59cf0f;var _0x18cb5c,_0x55c14c;return(_0x18cb5c=(_0x55c14c=this[_0x4efb06(0x1fa)]())==null?void 0x0:_0x55c14c[_0x4efb06(0x19d)])==null?null:_0x18cb5c;}[_0x59cf0f(0x237)](){const _0x5297e0=_0x59cf0f;let _0x17aa76=this[_0x5297e0(0x1fa)]();return _0x17aa76?_0x268bbd[_0x5297e0(0x226)]['deepClone'](_0x17aa76[_0x5297e0(0x1f7)]):null;}[_0x59cf0f(0x1f5)](){const _0x3d5a81=_0x59cf0f;let _0x15a9b=this[_0x3d5a81(0x1fa)]();return _0x15a9b?_0x268bbd[_0x3d5a81(0x226)][_0x3d5a81(0x1b0)](_0x15a9b):null;}[_0x59cf0f(0x1f0)](){const _0x3b7302=_0x59cf0f;let _0x59496b=this['_getSnapshot']();return _0x59496b?{..._0x59496b[_0x3b7302(0x255)]}:null;}[_0x59cf0f(0x236)](){var _0x2ddae9,_0x1f1ed1;return(_0x2ddae9=(_0x1f1ed1=this['_getSnapshot']())==null?void 0x0:_0x1f1ed1['visible'])==null?!0x1:_0x2ddae9;}[_0x59cf0f(0x1a6)](_0x40a49d){const _0x5ee739=_0x59cf0f;return this[_0x5ee739(0x247)]({'visible':_0x40a49d});}[_0x59cf0f(0x1cb)](){const _0x2c57fd=_0x59cf0f;var _0x172a7d,_0x2acf5d;return(_0x172a7d=(_0x2acf5d=this['_getSnapshot']())==null?void 0x0:_0x2acf5d[_0x2c57fd(0x1a5)])==null?!0x1:_0x172a7d;}[_0x59cf0f(0x225)](_0x304af7){const _0x9d0ad1=_0x59cf0f;return this[_0x9d0ad1(0x247)]({'selectable':_0x304af7});}[_0x59cf0f(0x266)](){const _0x2c0ac1=_0x59cf0f;return this[_0x2c0ac1(0x20a)]['createInstance'](_0x2ce68f,this[_0x2c0ac1(0x23d)],this[_0x2c0ac1(0x20a)]);}[_0x59cf0f(0x1d1)](){const _0x2592db=_0x59cf0f;let _0x429d7f=this[_0x2592db(0x237)]();return(_0x429d7f==null?void 0x0:_0x429d7f[_0x2592db(0x1e4)])===!0x0&&!!_0x429d7f['customGeometry'];}['getCustomGeometry'](){const _0x269407=_0x59cf0f;var _0x4117ee,_0x361d9d;return(_0x4117ee=(_0x361d9d=this['getShapeData']())==null?void 0x0:_0x361d9d[_0x269407(0x269)])==null?null:_0x4117ee;}[_0x59cf0f(0x231)](_0x4ee67e){const _0x30cdc5=_0x59cf0f;return this[_0x30cdc5(0x263)](_0x4b95e4=>({..._0x4b95e4,'shapeType':_0x4ee67e}),_0x4ee67e);}[_0x59cf0f(0x1a3)](_0x20906d){const _0x47392a=_0x59cf0f;let _0x25d7fe=_0x268bbd['Tools']['deepClone'](_0x20906d);return this[_0x47392a(0x247)]({'shapeType':_0x25d7fe['shapeType'],'shapeData':_0x25d7fe});}[_0x59cf0f(0x199)](_0x329de8){const _0x2b634c=_0x59cf0f;return this[_0x2b634c(0x247)]({'transform':_0x329de8});}[_0x59cf0f(0x222)](_0x792e44,_0x4a2048){const _0xa90586=_0x59cf0f;return this[_0xa90586(0x199)]({'width':_0x792e44,'height':_0x4a2048});}['setRotation'](_0x4cca62){const _0x42a835=_0x59cf0f;return this[_0x42a835(0x199)]({'rotation':_0x4cca62});}['setAbsolutePosition'](_0x1bc005,_0x1eda3d){const _0x1b0aff=_0x59cf0f;return this[_0x1b0aff(0x199)]({'left':_0x1bc005,'top':_0x1eda3d});}[_0x59cf0f(0x1aa)](_0x301bd3){const _0x4ffe02=_0x59cf0f;let _0x28e0c4=_0x268bbd[_0x4ffe02(0x226)]['deepClone'](_0x301bd3);return this[_0x4ffe02(0x263)](_0x529792=>({..._0x529792,'isCustom':!0x0,'customGeometry':_0x28e0c4}));}['getConnectionSites'](){const _0x500644=_0x59cf0f;var _0x25e93a,_0x21a81e;return(_0x25e93a=(_0x21a81e=this[_0x500644(0x229)]())==null?void 0x0:_0x21a81e['getConnectionSiteList']()[_0x500644(0x1ac)](_0x36490c=>({..._0x36490c})))==null?[]:_0x25e93a;}[_0x59cf0f(0x1bf)](){const _0x1524e1=_0x59cf0f;var _0xf34faa,_0x17f58d;return(_0xf34faa=(_0x17f58d=this['_getGeometryModel']())==null?void 0x0:_0x17f58d['getDrawingPoints']()[_0x1524e1(0x1ac)](_0x45e8c9=>({..._0x45e8c9})))==null?[]:_0xf34faa;}['getStartConnectInfo'](){const _0x5e561c=_0x59cf0f;var _0x16146f;let _0x576da3=(_0x16146f=this[_0x5e561c(0x229)]())==null?void 0x0:_0x16146f[_0x5e561c(0x1d2)]();return _0x576da3?{..._0x576da3}:null;}[_0x59cf0f(0x228)](){var _0x23486e;let _0xc21413=(_0x23486e=this['_getGeometryModel']())==null?void 0x0:_0x23486e['getEndConnectInfo']();return _0xc21413?{..._0xc21413}:null;}[_0x59cf0f(0x1c0)](_0x2719c5,_0x189a71){const _0x335e2e=_0x59cf0f;return this[_0x335e2e(0x263)](_0x1d4587=>({..._0x1d4587,'fill':{'fillType':_0x36aa3b['ShapeFillEnum'][_0x335e2e(0x21e)],'color':_0x2719c5,'opacity':_0x189a71}}));}[_0x59cf0f(0x221)](_0x1eb136,_0x39f640,_0x4a85f9){const _0xdd3418=_0x59cf0f;return _0x39f640[_0xdd3418(0x1ca)]<0x2?(console[_0xdd3418(0x1c2)]('[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.'),this):this[_0xdd3418(0x263)](_0x59ef07=>({..._0x59ef07,'fill':{'fillType':_0x36aa3b['ShapeFillEnum'][_0xdd3418(0x25a)],'gradientType':_0x1eb136,'gradientStops':_0x268bbd[_0xdd3418(0x226)][_0xdd3418(0x1b0)](_0x39f640),'gradientAngle':_0x4a85f9}}));}[_0x59cf0f(0x24a)](_0x431125,_0x5b75a6,_0x1d042c={}){const _0x3c6edd=_0x59cf0f;return this[_0x3c6edd(0x263)](_0x3b1777=>({..._0x3b1777,'fill':{..._0x268bbd[_0x3c6edd(0x226)][_0x3c6edd(0x1b0)](_0x1d042c),'fillType':_0x36aa3b[_0x3c6edd(0x1b9)][_0x3c6edd(0x1c5)],'fillImageSource':_0x431125,'fillImageSourceType':_0x5b75a6}}));}[_0x59cf0f(0x23a)](){const _0x30d15b=_0x59cf0f;return this[_0x30d15b(0x263)](_0x422faf=>({..._0x422faf,'fill':{'fillType':_0x36aa3b[_0x30d15b(0x1b9)][_0x30d15b(0x1bd)]}}));}[_0x59cf0f(0x24f)](_0x577c66){const _0x23515b=_0x59cf0f;return this['_patchShapeData'](_0x291129=>({..._0x291129,'stroke':_0x268bbd['Tools'][_0x23515b(0x1b0)](_0x577c66)}));}[_0x59cf0f(0x244)](_0x5ff4fc){const _0x159ce8=_0x59cf0f;return this['_patchStroke'](_0x3659ff=>({..._0x3659ff,'color':_0x5ff4fc,'lineStrokeType':_0x3659ff[_0x159ce8(0x25f)]===_0x36aa3b['ShapeLineTypeEnum']['NoLine']?_0x36aa3b[_0x159ce8(0x194)][_0x159ce8(0x260)]:_0x3659ff['lineStrokeType']}));}[_0x59cf0f(0x1a1)](_0x2731a1){const _0x2c61df=_0x59cf0f;return this[_0x2c61df(0x217)](_0x120805=>({..._0x120805,'width':_0x2731a1,'lineStrokeType':_0x120805[_0x2c61df(0x25f)]===_0x36aa3b[_0x2c61df(0x194)][_0x2c61df(0x1e5)]?_0x36aa3b[_0x2c61df(0x194)][_0x2c61df(0x260)]:_0x120805[_0x2c61df(0x25f)]}));}[_0x59cf0f(0x245)](_0x8b3438){return this['_patchStroke'](_0xef9ef=>({..._0xef9ef,'opacity':_0x8b3438}));}[_0x59cf0f(0x1b2)](_0x8c599f){const _0x4ebcb6=_0x59cf0f;return this[_0x4ebcb6(0x217)](_0x3a9b8d=>({..._0x3a9b8d,'dashType':_0x8c599f}));}['setStrokeLineJoinType'](_0x261d1b){const _0x2144f4=_0x59cf0f;return this[_0x2144f4(0x217)](_0x10d8ca=>({..._0x10d8ca,'lineJoinType':_0x261d1b}));}['setStrokeLineCapType'](_0x20f955){const _0x4b532f=_0x59cf0f;return this[_0x4b532f(0x217)](_0x5af3e5=>({..._0x5af3e5,'capType':_0x20f955}));}[_0x59cf0f(0x252)](_0x40c94e){const _0x245f48=_0x59cf0f;return this[_0x245f48(0x217)](_0x5b1cad=>({..._0x5b1cad,'lineStrokeType':_0x40c94e}));}[_0x59cf0f(0x247)](_0x123e61){const _0x56119d=_0x59cf0f;var _0x6a65ed,_0x3c3ad6,_0x34d898;let _0x216936=_0x123e61[_0x56119d(0x1f7)],_0x1d0090=_0x216936&&(_0x56119d(0x253)in _0x216936||_0x56119d(0x1c3)in _0x216936)?this[_0x56119d(0x1d6)]():null,_0x5ef8de=(_0x6a65ed=(_0x3c3ad6=_0x123e61[_0x56119d(0x19d)])==null?(_0x34d898=_0x123e61[_0x56119d(0x1f7)])==null?void 0x0:_0x34d898['shapeType']:_0x3c3ad6)==null?_0x1d0090:_0x6a65ed,_0x13b060=_0x7c5cb0(_0x123e61,_0x5ef8de!==null&&(0x0,_0x36aa3b[_0x56119d(0x1af)])(_0x5ef8de));return _0x13b060?(console[_0x56119d(0x1c2)](_0x56119d(0x233)+_0x13b060),this):(this[_0x56119d(0x212)](_0x56119d(0x247),_0x7bd094=>_0x7bd094[_0x56119d(0x1b7)](this[_0x56119d(0x23d)],_0x123e61)),this);}[_0x59cf0f(0x1c4)](){const _0x3170bb=_0x59cf0f;return this['_mutate']('remove',_0x27287b=>_0x27287b[_0x3170bb(0x1b8)](this[_0x3170bb(0x23d)]));}[_0x59cf0f(0x23f)](){const _0xb42ea7=_0x59cf0f;return this['_mutate'](_0xb42ea7(0x250),_0x3e6cc3=>_0x3e6cc3[_0xb42ea7(0x23f)](this[_0xb42ea7(0x23d)])),this;}['bringForward'](){const _0x263880=_0x59cf0f;return this[_0x263880(0x212)](_0x263880(0x1fe),_0x3af05c=>_0x3af05c[_0x263880(0x219)](this[_0x263880(0x23d)])),this;}['sendBackward'](){const _0x996c46=_0x59cf0f;return this[_0x996c46(0x212)](_0x996c46(0x1d9),_0x2303cd=>_0x2303cd[_0x996c46(0x1de)](this[_0x996c46(0x23d)])),this;}[_0x59cf0f(0x224)](){const _0x2f090d=_0x59cf0f;return this[_0x2f090d(0x212)]('send\x20to\x20back',_0x508853=>_0x508853[_0x2f090d(0x224)](this['_shapeRef'])),this;}[_0x59cf0f(0x227)](){const _0x2f1f0a=_0x59cf0f;return this[_0x2f1f0a(0x20a)]['get'](_0x36aa3b[_0x2f1f0a(0x1e3)])['get'](this[_0x2f1f0a(0x23d)][_0x2f1f0a(0x206)]);}[_0x59cf0f(0x263)](_0x1fda8a,_0x10c883){const _0x230056=_0x59cf0f;let _0x40ca67=this[_0x230056(0x237)]();return _0x40ca67?this[_0x230056(0x247)]({'shapeType':_0x10c883,'shapeData':_0x1fda8a(_0x40ca67)}):this;}[_0x59cf0f(0x217)](_0x12cb44){const _0x3e91be=_0x59cf0f;return this[_0x3e91be(0x263)](_0x276ff3=>{var _0x2dc890;return{..._0x276ff3,'stroke':_0x12cb44((_0x2dc890=_0x276ff3['stroke'])==null?{}:_0x2dc890)};});}[_0x59cf0f(0x1fa)](){const _0x35534e=_0x59cf0f;let _0x587629=this['_getAdapter']();if(!_0x587629)return null;try{return _0x587629[_0x35534e(0x1d5)](this[_0x35534e(0x23d)])||(console[_0x35534e(0x1c2)](_0x35534e(0x20b)+this[_0x35534e(0x23d)][_0x35534e(0x25b)]+_0x35534e(0x1be)),null);}catch(_0x34786a){return console[_0x35534e(0x1c2)](_0x35534e(0x240)+this[_0x35534e(0x23d)][_0x35534e(0x25b)]+'\x22.',_0x34786a),null;}}[_0x59cf0f(0x229)](){const _0x596250=_0x59cf0f;let _0x5ac363=this[_0x596250(0x1fa)]();if(!_0x5ac363)return null;try{let _0x312422=new _0x36aa3b['ShapeModel'](_0x5ac363['shapeType'],_0x5ac363['shapeId'],_0x5ac363[_0x596250(0x1f7)]);return _0x312422[_0x596250(0x24c)]({'width':_0x5ac363[_0x596250(0x255)]['width'],'height':_0x5ac363[_0x596250(0x255)]['height']}),_0x312422;}catch(_0x1a5f0c){return console[_0x596250(0x1c2)]('[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22'+this[_0x596250(0x23d)][_0x596250(0x25b)]+'\x22.',_0x1a5f0c),null;}}[_0x59cf0f(0x212)](_0x12c246,_0x238e34){const _0x2f5f3d=_0x59cf0f;let _0x52c6b7=this[_0x2f5f3d(0x227)]();if(!_0x52c6b7)return!0x1;try{let _0x4c68ea=_0x238e34(_0x52c6b7);return _0x4c68ea||console['warn'](_0x2f5f3d(0x1fb)+_0x12c246+_0x2f5f3d(0x256)+this['_shapeRef']['shapeId']+'\x22.'),_0x4c68ea;}catch(_0x2a56e8){return console['warn'](_0x2f5f3d(0x1fb)+_0x12c246+_0x2f5f3d(0x256)+this[_0x2f5f3d(0x23d)][_0x2f5f3d(0x25b)]+'\x22.',_0x2a56e8),!0x1;}}};function _0x7c5cb0(_0xe2862f,_0x5df44c=!0x1){const _0x22682f=_0x59cf0f;for(let _0x412692 of[_0x22682f(0x25d),_0x22682f(0x1a5)]){let _0x9f1837=_0xe2862f[_0x412692];if(_0x9f1837!==void 0x0&&typeof _0x9f1837!=_0x22682f(0x21b))return _0x22682f(0x1c1)+_0x412692+_0x22682f(0x24b);}let _0x38e93d=_0xe2862f['transform'];if(_0x38e93d){for(let _0x52bc78 of[_0x22682f(0x213),_0x22682f(0x261),_0x22682f(0x208),'height',_0x22682f(0x1d3)]){let _0x3b49df=_0x38e93d[_0x52bc78];if(_0x3b49df!==void 0x0&&!Number['isFinite'](_0x3b49df))return _0x22682f(0x1f8)+_0x52bc78+'\x22\x20must\x20be\x20finite.';}if(_0x38e93d[_0x22682f(0x208)]!==void 0x0&&_0x38e93d[_0x22682f(0x208)]<=0x0)return _0x22682f(0x22a);if(_0x38e93d[_0x22682f(0x1db)]!==void 0x0&&_0x38e93d[_0x22682f(0x1db)]<=0x0)return _0x22682f(0x200);for(let _0x44e10a of[_0x22682f(0x205),_0x22682f(0x19b)]){let _0x1a239a=_0x38e93d[_0x44e10a];if(_0x1a239a!==void 0x0&&typeof _0x1a239a!=_0x22682f(0x21b))return _0x22682f(0x1f8)+_0x44e10a+_0x22682f(0x24b);}}let _0x2ef23b=_0xe2862f[_0x22682f(0x1f7)];return!_0x5df44c&&_0x2ef23b&&(_0x22682f(0x253)in _0x2ef23b||_0x22682f(0x1c3)in _0x2ef23b)?_0x22682f(0x198):null;}var _0x126206=class extends _0x41b18a{[_0x59cf0f(0x1af)](){return!0x0;}[_0x59cf0f(0x249)](){const _0x520e95=_0x59cf0f;let _0x5b4dfb=this[_0x520e95(0x1a2)]();return _0x5b4dfb?_0x268bbd[_0x520e95(0x226)][_0x520e95(0x1b0)](_0x5b4dfb['start']):null;}[_0x59cf0f(0x238)](){const _0x28d0ec=_0x59cf0f;let _0xc6dd78=this[_0x28d0ec(0x1a2)]();return _0xc6dd78?_0x268bbd[_0x28d0ec(0x226)][_0x28d0ec(0x1b0)](_0xc6dd78[_0x28d0ec(0x1e0)]):null;}[_0x59cf0f(0x1c8)](){const _0x3e1d80=_0x59cf0f;let _0x3bf7c0=this['_getConnectorSnapshot']();return _0x3bf7c0?_0x268bbd[_0x3e1d80(0x226)][_0x3e1d80(0x1b0)](_0x3bf7c0['routePoints']):null;}['getStartArrow'](){const _0x37511e=_0x59cf0f;let _0x29bbdd=this[_0x37511e(0x1a2)]();return _0x29bbdd?_0x268bbd[_0x37511e(0x226)][_0x37511e(0x1b0)](_0x29bbdd['startArrow']):null;}[_0x59cf0f(0x242)](){const _0x1d24dc=_0x59cf0f;let _0x24ef6e=this[_0x1d24dc(0x1a2)]();return _0x24ef6e?_0x268bbd['Tools']['deepClone'](_0x24ef6e[_0x1d24dc(0x19f)]):null;}[_0x59cf0f(0x231)](_0x440e56){const _0x34c52b=_0x59cf0f;return(0x0,_0x36aa3b[_0x34c52b(0x1af)])(_0x440e56)?super['setShapeType'](_0x440e56):(console[_0x34c52b(0x1c2)](_0x34c52b(0x259)+this[_0x34c52b(0x23d)][_0x34c52b(0x25b)]+_0x34c52b(0x248)),this);}[_0x59cf0f(0x1a3)](_0x2087d7){const _0x5ab246=_0x59cf0f;return _0x2087d7[_0x5ab246(0x19d)]!==void 0x0&&!(0x0,_0x36aa3b[_0x5ab246(0x1af)])(_0x2087d7['shapeType'])?(console[_0x5ab246(0x1c2)](_0x5ab246(0x259)+this[_0x5ab246(0x23d)][_0x5ab246(0x25b)]+'\x22\x20requires\x20Connector\x20Shape\x20data.'),this):super['setShapeData'](_0x2087d7);}[_0x59cf0f(0x1a9)](_0x19ab90,_0x17d979){const _0x585b69=_0x59cf0f;return this['_bind'](_0x585b69(0x1d0),_0x19ab90,_0x17d979),this;}['bindEnd'](_0x38ada1,_0x33f750){const _0x5be6af=_0x59cf0f;return this[_0x5be6af(0x232)](_0x5be6af(0x1e0),_0x38ada1,_0x33f750),this;}[_0x59cf0f(0x22c)](){const _0x2376e5=_0x59cf0f;return this[_0x2376e5(0x1ad)](_0x2376e5(0x18a),_0x102377=>_0x102377['unbindStart'](this['_shapeRef'])),this;}['unbindEnd'](){const _0x94d17a=_0x59cf0f;return this[_0x94d17a(0x1ad)]('unbind\x20end',_0x5b202f=>_0x5b202f['unbindEnd'](this['_shapeRef'])),this;}[_0x59cf0f(0x1c9)](_0x321470){const _0x442164=_0x59cf0f;return _0x398e9a(_0x321470,this['_shapeRef'][_0x442164(0x25b)])&&this[_0x442164(0x1ad)](_0x442164(0x191),_0x570878=>_0x570878[_0x442164(0x1c9)](this['_shapeRef'],_0x321470)),this;}[_0x59cf0f(0x18f)](_0x515a93){const _0x2cc45f=_0x59cf0f;return _0x398e9a(_0x515a93,this[_0x2cc45f(0x23d)][_0x2cc45f(0x25b)])&&this[_0x2cc45f(0x1ad)](_0x2cc45f(0x1b5),_0x26a222=>_0x26a222[_0x2cc45f(0x18f)](this[_0x2cc45f(0x23d)],_0x515a93)),this;}[_0x59cf0f(0x190)](_0x3cf805){const _0x41a3ef=_0x59cf0f;return _0x3cf805[_0x41a3ef(0x1ab)](_0xc3956b=>_0x398e9a(_0xc3956b,this['_shapeRef']['shapeId']))&&this[_0x41a3ef(0x1ad)](_0x41a3ef(0x1a4),_0x194e85=>_0x194e85[_0x41a3ef(0x190)](this[_0x41a3ef(0x23d)],_0x3cf805)),this;}[_0x59cf0f(0x215)](_0x429dd1,_0xbe0faa){const _0x507489=_0x59cf0f;return this[_0x507489(0x1ad)](_0x507489(0x18e),_0x443a08=>_0x443a08[_0x507489(0x215)](this[_0x507489(0x23d)],_0x429dd1,_0xbe0faa)),this;}['setEndArrow'](_0x435c0d,_0x267f66){const _0x21bcde=_0x59cf0f;return this[_0x21bcde(0x1ad)]('set\x20end\x20arrow',_0x1d4c83=>_0x1d4c83['setEndArrow'](this[_0x21bcde(0x23d)],_0x435c0d,_0x267f66)),this;}['_getConnectorAdapter'](){const _0x4fd44c=_0x59cf0f;return this[_0x4fd44c(0x20a)][_0x4fd44c(0x21c)](_0x36aa3b[_0x4fd44c(0x201)]);}[_0x59cf0f(0x1a2)](){const _0x2db12b=_0x59cf0f;let _0x44b543=this[_0x2db12b(0x1dc)]();if(!_0x44b543)return null;try{return _0x44b543[_0x2db12b(0x1f4)](this[_0x2db12b(0x23d)])||(console[_0x2db12b(0x1c2)]('[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22'+this['_shapeRef']['shapeId']+_0x2db12b(0x1be)),null);}catch(_0x41207e){return console['warn']('[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22'+this[_0x2db12b(0x23d)][_0x2db12b(0x25b)]+'\x22.',_0x41207e),null;}}[_0x59cf0f(0x232)](_0x4f770e,_0x1c5fa8,_0xbdf66d){const _0x5476a1=_0x59cf0f;if(!_0x1c5fa8||!Number[_0x5476a1(0x1f1)](_0xbdf66d)||_0xbdf66d<0x0)return console[_0x5476a1(0x1c2)]('[Shape\x20Facade]:\x20Connector\x20\x22'+this[_0x5476a1(0x23d)]['shapeId']+_0x5476a1(0x1ea)),!0x1;let _0x186606={'shapeId':_0x1c5fa8,'cxnIndex':_0xbdf66d};return this[_0x5476a1(0x1ad)](_0x5476a1(0x21d)+_0x4f770e,_0x417667=>_0x4f770e==='start'?_0x417667['bindStart'](this[_0x5476a1(0x23d)],_0x186606):_0x417667['bindEnd'](this[_0x5476a1(0x23d)],_0x186606));}[_0x59cf0f(0x1ad)](_0x3e0754,_0x12d1b4){const _0x1b2fe7=_0x59cf0f;let _0x29517d=this[_0x1b2fe7(0x1dc)]();if(!_0x29517d)return!0x1;try{let _0x17e29a=_0x12d1b4(_0x29517d);return _0x17e29a||console[_0x1b2fe7(0x1c2)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x3e0754+'\x20Connector\x20Shape\x20\x22'+this[_0x1b2fe7(0x23d)][_0x1b2fe7(0x25b)]+'\x22.'),_0x17e29a;}catch(_0x5cd48d){return console[_0x1b2fe7(0x1c2)](_0x1b2fe7(0x1fb)+_0x3e0754+_0x1b2fe7(0x1b3)+this[_0x1b2fe7(0x23d)][_0x1b2fe7(0x25b)]+'\x22.',_0x5cd48d),!0x1;}}};function _0x398e9a(_0x46a822,_0x1ef32e){const _0x570847=_0x59cf0f;return!Number[_0x570847(0x251)](_0x46a822['x'])||!Number[_0x570847(0x251)](_0x46a822['y'])?(console[_0x570847(0x1c2)](_0x570847(0x195)+_0x1ef32e+_0x570847(0x230)),!0x1):!0x0;}_0x56c73f[_0x59cf0f(0x1b6)]=_0x126206,_0x56c73f[_0x59cf0f(0x1e6)]=_0x41b18a,_0x56c73f[_0x59cf0f(0x234)]=_0x2ce68f;}));