@univerjs-pro/engine-shape 1.0.0-alpha.8 → 1.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/facade/f-connector-shape.d.ts +1 -1
- package/lib/types/facade/f-shape-text.d.ts +1 -1
- package/lib/types/facade/f-shape.d.ts +74 -2
- package/lib/types/facade/index.d.ts +1 -1
- package/lib/types/index.d.ts +1 -0
- package/lib/types/render-engine/shape-render-model.d.ts +1 -0
- package/lib/types/services/shape-host-adapter.service.d.ts +5 -0
- package/lib/types/shape-enum.d.ts +1 -1
- package/lib/types/utils/svg-path-data.d.ts +48 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
| Package | UMD global | CSS | Locales | Facade entry |
|
|
12
12
|
| --- | --- | :---: | :---: | :---: |
|
|
13
|
-
| `@univerjs-pro/engine-shape` | `UniverProEngineShape` | No | No |
|
|
13
|
+
| `@univerjs-pro/engine-shape` | `UniverProEngineShape` | No | No | Yes |
|
|
14
14
|
|
|
15
15
|
## Installation
|
|
16
16
|
|
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x353aab=_0x11ca;(function(_0x46ca7a,_0x131b1f){const _0x1a4e25=_0x11ca,_0x3fe739=_0x46ca7a();while(!![]){try{const _0x401336=parseInt(_0x1a4e25(0x207))/0x1+-parseInt(_0x1a4e25(0x1ee))/0x2+-parseInt(_0x1a4e25(0x16f))/0x3*(parseInt(_0x1a4e25(0x142))/0x4)+parseInt(_0x1a4e25(0x208))/0x5*(-parseInt(_0x1a4e25(0x156))/0x6)+parseInt(_0x1a4e25(0x1e7))/0x7*(-parseInt(_0x1a4e25(0x136))/0x8)+-parseInt(_0x1a4e25(0x147))/0x9*(-parseInt(_0x1a4e25(0x1f7))/0xa)+-parseInt(_0x1a4e25(0x16b))/0xb*(-parseInt(_0x1a4e25(0x176))/0xc);if(_0x401336===_0x131b1f)break;else _0x3fe739['push'](_0x3fe739['shift']());}catch(_0x1a651a){_0x3fe739['push'](_0x3fe739['shift']());}}}(_0x2176,0x4eff4),Object['defineProperty'](exports,Symbol[_0x353aab(0x21c)],{'value':_0x353aab(0x150)}));function _0x11ca(_0x1dc592,_0x4475a6){_0x1dc592=_0x1dc592-0x12e;const _0x217699=_0x2176();let _0x11ca9f=_0x217699[_0x1dc592];return _0x11ca9f;}let e=require('@univerjs-pro/engine-shape'),t=require('@univerjs/core/facade'),n=require('@univerjs/core');var r=class extends t[_0x353aab(0x19e)]{get[_0x353aab(0x1e1)](){const _0x3dd7c1=_0x353aab;return e[_0x3dd7c1(0x1e1)];}get['ShapeFillEnum'](){const _0x557450=_0x353aab;return e[_0x557450(0x195)];}get[_0x353aab(0x174)](){const _0x1ff250=_0x353aab;return e[_0x1ff250(0x174)];}get[_0x353aab(0x1d0)](){const _0x1063d1=_0x353aab;return e[_0x1063d1(0x1a2)];}get[_0x353aab(0x1f4)](){const _0x14418a=_0x353aab;return e[_0x14418a(0x166)];}get[_0x353aab(0x1f6)](){const _0x5aa198=_0x353aab;return e[_0x5aa198(0x1f6)];}get[_0x353aab(0x1b2)](){const _0x562055=_0x353aab;return e[_0x562055(0x1b2)];}get[_0x353aab(0x1f5)](){const _0x1a2d0b=_0x353aab;return e[_0x1a2d0b(0x1f5)];}get[_0x353aab(0x191)](){const _0x2dbea7=_0x353aab;return e[_0x2dbea7(0x191)];}get[_0x353aab(0x19a)](){const _0x1001ec=_0x353aab;return e[_0x1001ec(0x19a)];}get[_0x353aab(0x155)](){const _0x216ad1=_0x353aab;return e[_0x216ad1(0x155)];}get[_0x353aab(0x194)](){const _0x1aa185=_0x353aab;return e[_0x1aa185(0x194)];}get['ShapeTextAutoFitType'](){return e['ShapeTextAutoFitType'];}get[_0x353aab(0x1a5)](){const _0x2e6fff=_0x353aab;return e[_0x2e6fff(0x1a5)];}get[_0x353aab(0x16c)](){const _0x3c7acc=_0x353aab;return e[_0x3c7acc(0x16c)];}};t[_0x353aab(0x19e)][_0x353aab(0x213)](r);function i(_0x2d1411){const _0x4f60e6=_0x353aab;switch(_0x2d1411){case e[_0x4f60e6(0x174)][_0x4f60e6(0x180)]:return _0x4f60e6(0x1c6);case e[_0x4f60e6(0x174)][_0x4f60e6(0x1da)]:return _0x4f60e6(0x1ea);case e[_0x4f60e6(0x174)][_0x4f60e6(0x13e)]:return _0x4f60e6(0x204);case e['ShapeGradientTypeEnum']['Linear']:default:return'linear';}}function a(_0x56e500){const _0x1bb5ae=_0x353aab;return _0x56e500===e[_0x1bb5ae(0x1a2)][_0x1bb5ae(0x15d)]?'tile':_0x1bb5ae(0x20c);}var o=class{constructor(_0x1751a5,_0xb5dcc3){this['_shapeRef']=_0x1751a5,this['_injector']=_0xb5dcc3;}[_0x353aab(0x149)](){const _0x4d22de=_0x353aab;var _0x3c0c04;return(0x0,e[_0x4d22de(0x1ff)])((_0x3c0c04=this[_0x4d22de(0x1bc)]())==null?void 0x0:_0x3c0c04[_0x4d22de(0x15f)]);}[_0x353aab(0x1dd)](){const _0x476205=_0x353aab;var _0x50dbd6,_0x3896e1;return(_0x50dbd6=(_0x3896e1=this[_0x476205(0x149)]())==null?void 0x0:_0x3896e1[_0x476205(0x139)]())==null?null:_0x50dbd6;}[_0x353aab(0x1db)](_0x52e7c3){const _0x48fdc0=_0x353aab;return this[_0x48fdc0(0x189)](_0x3f86c9=>({..._0x3f86c9,'shapeText':(0x0,e['applyRichTextToShapeText'])(_0x3f86c9[_0x48fdc0(0x15f)],_0x52e7c3)})),this;}['setText'](_0xd561b5){const _0x18d3eb=_0x353aab;return this[_0x18d3eb(0x189)](_0x5b0241=>({..._0x5b0241,'shapeText':(0x0,e['applyTextToShapeText'])(_0x5b0241['shapeText'],_0xd561b5)})),this;}[_0x353aab(0x1a8)](_0x121d4b){const _0x336221=_0x353aab;return this[_0x336221(0x189)](_0x19a8a8=>({..._0x19a8a8,'shapeText':(0x0,e['applyShapeTextStyle'])(_0x19a8a8[_0x336221(0x15f)],_0x121d4b)})),this;}[_0x353aab(0x185)](_0x4a8a3e,_0x4f6550){const _0xbdc344=_0x353aab;return this[_0xbdc344(0x1a8)]({'cl':{'rgb':_0x4a8a3e},'textFill':{'type':'solid','color':_0x4a8a3e,'opacity':_0x4f6550}});}[_0x353aab(0x181)](){const _0x3c827e=_0x353aab;return this[_0x3c827e(0x1a8)]({'cl':{'rgb':'rgba(0,\x200,\x200,\x200)'},'textFill':{'type':'none'}});}[_0x353aab(0x197)](_0x2a69f2,_0x39cb00,_0x441da5){const _0x1f085d=_0x353aab;return _0x39cb00['length']<0x2?(console[_0x1f085d(0x20a)](_0x1f085d(0x14a)),this):this[_0x1f085d(0x1a8)]({'cl':{'rgb':_0x39cb00[0x0][_0x1f085d(0x154)]},'textFill':{'type':_0x1f085d(0x1cb),'gradient':{'type':i(_0x2a69f2),'angle':_0x441da5,'stops':_0x39cb00[_0x1f085d(0x135)](({position:_0x52bbf4,color:_0x3f7dbf,opacity:_0x3f19fa})=>({'offset':_0x52bbf4,'color':_0x3f7dbf,'opacity':_0x3f19fa}))}}});}['setImageFill'](_0x2940f0,_0x4d8a84=e['ImageSourceTypeEnum'][_0x353aab(0x201)],_0x58006c={}){const _0x14bd18=_0x353aab;return this[_0x14bd18(0x1a8)]({'textFill':{'type':_0x14bd18(0x212),'picture':{'source':_0x2940f0,'sourceType':_0x4d8a84,'opacity':_0x58006c[_0x14bd18(0x1fe)],'mode':a(_0x58006c['mode']),'scaleX':_0x58006c[_0x14bd18(0x211)],'scaleY':_0x58006c[_0x14bd18(0x1e4)],'offsetX':_0x58006c[_0x14bd18(0x183)],'offsetY':_0x58006c[_0x14bd18(0x1ba)]}}});}[_0x353aab(0x1c9)](_0x11ecc8){const _0x34b128=_0x353aab;return this[_0x34b128(0x1a8)]({'fs':_0x11ecc8});}[_0x353aab(0x1e6)](_0x3625a2){const _0x20e47b=_0x353aab;return this[_0x20e47b(0x1a8)]({'ff':_0x3625a2});}[_0x353aab(0x1ef)](_0x370e97){const _0x6677a1=_0x353aab;return this[_0x6677a1(0x1a8)]({'bl':_0x370e97?n[_0x6677a1(0x13f)][_0x6677a1(0x1e2)]:n[_0x6677a1(0x13f)][_0x6677a1(0x1f1)]});}[_0x353aab(0x1bd)](_0x71465){const _0x45d7f6=_0x353aab;return this[_0x45d7f6(0x1a8)]({'it':_0x71465?n[_0x45d7f6(0x13f)][_0x45d7f6(0x1e2)]:n['BooleanNumber']['FALSE']});}[_0x353aab(0x1a7)](_0x97498e){const _0x2a3fd3=_0x353aab;return this['setTextStyle']({'ul':{'s':_0x97498e?n[_0x2a3fd3(0x13f)][_0x2a3fd3(0x1e2)]:n[_0x2a3fd3(0x13f)]['FALSE']}});}[_0x353aab(0x18f)](_0x23f4cd){const _0x15dcfa=_0x353aab;return this[_0x15dcfa(0x1a8)]({'st':{'s':_0x23f4cd?n[_0x15dcfa(0x13f)][_0x15dcfa(0x1e2)]:n[_0x15dcfa(0x13f)][_0x15dcfa(0x1f1)]}});}['setHorizontalAlign'](_0x13a03a){const _0x311335=_0x353aab;return this[_0x311335(0x189)](_0x15684f=>(0x0,e[_0x311335(0x1f2)])(_0x15684f,{'horizontalAlign':_0x13a03a})),this;}[_0x353aab(0x1e8)](_0x35934d){const _0x303bee=_0x353aab;return this[_0x303bee(0x189)](_0x36b6af=>(0x0,e[_0x303bee(0x1f2)])(_0x36b6af,{'verticalAlign':_0x35934d})),this;}[_0x353aab(0x1b7)](){const _0x2749ce=_0x353aab;let _0x281e68=this[_0x2749ce(0x1bc)]();return _0x281e68?(0x0,e['resolveShapeTextBoxOptions'])(_0x281e68):null;}[_0x353aab(0x1c1)](_0x2d4519){const _0x493846=_0x353aab;return this[_0x493846(0x189)](_0x5c9adf=>(0x0,e[_0x493846(0x1b4)])(_0x5c9adf,_0x2d4519)),this;}[_0x353aab(0x184)](){const _0x5db5e8=_0x353aab;return this['_injector'][_0x5db5e8(0x141)](e[_0x5db5e8(0x1d6)])['get'](this[_0x5db5e8(0x17f)]['hostType']);}[_0x353aab(0x1bc)](){const _0x32a9d9=_0x353aab;let _0x178ead=this[_0x32a9d9(0x184)]();if(!_0x178ead)return null;try{var _0x5c3d03;return((_0x5c3d03=_0x178ead[_0x32a9d9(0x1ec)](this[_0x32a9d9(0x17f)]))==null?void 0x0:_0x5c3d03[_0x32a9d9(0x215)])||(console[_0x32a9d9(0x20a)](_0x32a9d9(0x1ab)+this['_shapeRef'][_0x32a9d9(0x214)]+_0x32a9d9(0x188)),null);}catch(_0x4ef6eb){return console['warn'](_0x32a9d9(0x186)+this[_0x32a9d9(0x17f)][_0x32a9d9(0x214)]+'\x22\x20text.',_0x4ef6eb),null;}}[_0x353aab(0x189)](_0x33f6d5){const _0x11cf04=_0x353aab;let _0x599d1e=this['_getAdapter']();if(!_0x599d1e)return!0x1;try{var _0xa9f5c9;let _0x1e6e5b=(_0xa9f5c9=_0x599d1e[_0x11cf04(0x1ec)](this[_0x11cf04(0x17f)]))==null?void 0x0:_0xa9f5c9[_0x11cf04(0x215)];if(!_0x1e6e5b)return console['warn'](_0x11cf04(0x1ab)+this[_0x11cf04(0x17f)][_0x11cf04(0x214)]+_0x11cf04(0x188)),!0x1;let _0x226a3f=_0x599d1e['updateShape'](this[_0x11cf04(0x17f)],{'shapeData':_0x33f6d5(_0x1e6e5b)});return _0x226a3f||console[_0x11cf04(0x20a)](_0x11cf04(0x217)+this[_0x11cf04(0x17f)][_0x11cf04(0x214)]+'\x22\x20text.'),_0x226a3f;}catch(_0x1e7215){return console[_0x11cf04(0x20a)]('[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22'+this[_0x11cf04(0x17f)][_0x11cf04(0x214)]+_0x11cf04(0x1bf),_0x1e7215),!0x1;}}};function s(_0x3c9704,_0x490250){return function(_0x1c7536,_0x2ee979){_0x490250(_0x1c7536,_0x2ee979,_0x3c9704);};}function c(_0x94e85a,_0x43e6d9,_0x38e130,_0x45da6d){const _0x2de700=_0x353aab;var _0x574dc1=arguments['length'],_0x48cefe=_0x574dc1<0x3?_0x43e6d9:_0x45da6d===null?_0x45da6d=Object['getOwnPropertyDescriptor'](_0x43e6d9,_0x38e130):_0x45da6d,_0x502e59;if(typeof Reflect==_0x2de700(0x1a0)&&typeof Reflect[_0x2de700(0x16d)]==_0x2de700(0x1c3))_0x48cefe=Reflect[_0x2de700(0x16d)](_0x94e85a,_0x43e6d9,_0x38e130,_0x45da6d);else{for(var _0x6a9ccb=_0x94e85a[_0x2de700(0x1be)]-0x1;_0x6a9ccb>=0x0;_0x6a9ccb--)(_0x502e59=_0x94e85a[_0x6a9ccb])&&(_0x48cefe=(_0x574dc1<0x3?_0x502e59(_0x48cefe):_0x574dc1>0x3?_0x502e59(_0x43e6d9,_0x38e130,_0x48cefe):_0x502e59(_0x43e6d9,_0x38e130))||_0x48cefe);}return _0x574dc1>0x3&&_0x48cefe&&Object[_0x2de700(0x1c4)](_0x43e6d9,_0x38e130,_0x48cefe),_0x48cefe;}let l=class extends t[_0x353aab(0x18a)]{constructor(_0x40fdf5,_0xf8b1e4,_0x5e471f,_0x4e84a4){const _0x3f67d7=_0x353aab;super(),this[_0x3f67d7(0x17f)]=_0x40fdf5,this[_0x3f67d7(0x173)]=_0xf8b1e4,this[_0x3f67d7(0x168)]=_0x5e471f,this[_0x3f67d7(0x216)]=_0x4e84a4;}[_0x353aab(0x19f)](){return!0x1;}['getId'](){const _0x480050=_0x353aab;return this[_0x480050(0x17f)][_0x480050(0x214)];}[_0x353aab(0x1ac)](){const _0x51022c=_0x353aab;var _0x236cbc;return(_0x236cbc=this[_0x51022c(0x1aa)]())==null?void 0x0:_0x236cbc[_0x51022c(0x1fa)];}[_0x353aab(0x21a)](_0x18d29e){return this['update']({'name':_0x18d29e});}[_0x353aab(0x1c5)](){const _0x8b81=_0x353aab;var _0x1e62a7;return(_0x1e62a7=this[_0x8b81(0x1aa)]())==null?void 0x0:_0x1e62a7['description'];}[_0x353aab(0x20f)](_0x4ca964){const _0x339e81=_0x353aab;return this[_0x339e81(0x164)]({'description':_0x4ca964});}['getHostType'](){const _0x1eee8e=_0x353aab;return this[_0x1eee8e(0x17f)][_0x1eee8e(0x19d)];}[_0x353aab(0x218)](){const _0x439cdc=_0x353aab;var _0x15babb,_0x238ad8;return(_0x15babb=(_0x238ad8=this[_0x439cdc(0x1aa)]())==null?void 0x0:_0x238ad8['shapeType'])==null?null:_0x15babb;}['getShapeData'](){const _0x2bf2ab=_0x353aab;let _0x20809f=this[_0x2bf2ab(0x1aa)]();return _0x20809f?n[_0x2bf2ab(0x199)]['deepClone'](_0x20809f[_0x2bf2ab(0x215)]):null;}[_0x353aab(0x177)](){const _0x5859d7=_0x353aab;let _0x445d4d=this[_0x5859d7(0x1aa)]();return _0x445d4d?n[_0x5859d7(0x199)][_0x5859d7(0x151)](_0x445d4d):null;}['getTransform'](){const _0x504ecf=_0x353aab;let _0x2093b7=this[_0x504ecf(0x1aa)]();return _0x2093b7?{..._0x2093b7[_0x504ecf(0x1df)]}:null;}[_0x353aab(0x1f9)](){const _0x278fba=_0x353aab;var _0x2d8d97,_0x4daebd;return(_0x2d8d97=(_0x4daebd=this['_getSnapshot']())==null?void 0x0:_0x4daebd[_0x278fba(0x17b)])!=null&&_0x2d8d97;}[_0x353aab(0x20e)](_0x4c4b5c){const _0x540428=_0x353aab;return this[_0x540428(0x164)]({'visible':_0x4c4b5c});}['isSelectable'](){const _0x17a91=_0x353aab;var _0x490d7d,_0x389e06;return(_0x490d7d=(_0x389e06=this[_0x17a91(0x1aa)]())==null?void 0x0:_0x389e06[_0x17a91(0x12f)])!=null&&_0x490d7d;}[_0x353aab(0x13d)](_0x19839c){return this['update']({'selectable':_0x19839c});}['getText'](){const _0x23a71b=_0x353aab;return this[_0x23a71b(0x173)][_0x23a71b(0x16e)](o,this[_0x23a71b(0x17f)],this[_0x23a71b(0x173)]);}['isCustomShape'](){const _0x141da3=_0x353aab;let _0x2e5b31=this['getShapeData']();return(_0x2e5b31==null?void 0x0:_0x2e5b31[_0x141da3(0x158)])===!0x0&&!!_0x2e5b31[_0x141da3(0x1cf)];}[_0x353aab(0x1ce)](){const _0x1919cc=_0x353aab;var _0x139678,_0x3be31b;return(_0x139678=(_0x3be31b=this[_0x1919cc(0x13c)]())==null?void 0x0:_0x3be31b[_0x1919cc(0x1cf)])==null?null:_0x139678;}[_0x353aab(0x1eb)](_0x26964d){return this['_patchShapeData'](_0x37e39a=>({..._0x37e39a,'shapeType':_0x26964d}),_0x26964d);}['setShapeData'](_0x57c539){const _0x497d0c=_0x353aab;let _0x139b0c=n[_0x497d0c(0x199)][_0x497d0c(0x151)](_0x57c539);return this[_0x497d0c(0x164)]({'shapeType':_0x139b0c[_0x497d0c(0x171)],'shapeData':_0x139b0c});}['setTransform'](_0x466098){const _0x297b24=_0x353aab;return this[_0x297b24(0x164)]({'transform':_0x466098});}[_0x353aab(0x17d)](_0x327c24,_0x3ff757){const _0x48a084=_0x353aab;return this[_0x48a084(0x206)]({'width':_0x327c24,'height':_0x3ff757});}[_0x353aab(0x163)](_0x19ffe1){const _0x432ff6=_0x353aab;return this[_0x432ff6(0x206)]({'rotation':_0x19ffe1});}[_0x353aab(0x18d)](_0x3531fb,_0x59dfd0){return this['setTransform']({'left':_0x3531fb,'top':_0x59dfd0});}[_0x353aab(0x1b5)](_0x947e47){const _0x2b8eb8=_0x353aab;var _0xf7a4d9,_0x335a70,_0x1e424f;let _0x341383=(_0xf7a4d9=(_0x335a70=_0x947e47[_0x2b8eb8(0x202)])==null?void 0x0:_0x335a70[_0x2b8eb8(0x20d)](({x:_0x30255e,y:_0x4c9a96})=>_0x30255e===void 0x0||_0x4c9a96===void 0x0))==null?-0x1:_0xf7a4d9;if(_0x341383>=0x0)return console[_0x2b8eb8(0x20a)](_0x2b8eb8(0x198)+_0x341383+_0x2b8eb8(0x1b8)),this;let _0x4e5473=n[_0x2b8eb8(0x199)]['deepClone'](_0x947e47);if((_0x1e424f=_0x4e5473[_0x2b8eb8(0x202)])!=null&&_0x1e424f['length']){let _0x2406a3=this['_getSnapshot']();if(!_0x2406a3)return this;try{let _0x4a2c41=new e[(_0x2b8eb8(0x133))](_0x2406a3[_0x2b8eb8(0x171)],_0x2406a3[_0x2b8eb8(0x214)],{..._0x2406a3['shapeData'],'isCustom':!0x0,'customGeometry':_0x4e5473});_0x4a2c41[_0x2b8eb8(0x1c7)]({'width':_0x2406a3['transform'][_0x2b8eb8(0x1d4)],'height':_0x2406a3['transform'][_0x2b8eb8(0x148)]}),_0x4a2c41[_0x2b8eb8(0x162)]();}catch{return console[_0x2b8eb8(0x20a)](_0x2b8eb8(0x19b)),this;}}return this[_0x2b8eb8(0x193)](_0x43f981=>({..._0x43f981,'isCustom':!0x0,'customGeometry':_0x4e5473}));}[_0x353aab(0x21d)](){const _0x32170e=_0x353aab;var _0x4c4ad7,_0x9d475c;return(_0x4c4ad7=(_0x9d475c=this['_getGeometryModel']())==null?void 0x0:_0x9d475c['getConnectionSiteList']()[_0x32170e(0x135)](_0x2627dc=>({..._0x2627dc})))==null?[]:_0x4c4ad7;}[_0x353aab(0x1d5)](){const _0x477f5e=_0x353aab;var _0x376419;let _0x2b9214=(_0x376419=this[_0x477f5e(0x20b)]())==null?void 0x0:_0x376419[_0x477f5e(0x1d5)]();return _0x2b9214?{..._0x2b9214}:null;}['getEndConnectInfo'](){const _0xd54495=_0x353aab;var _0x376b6b;let _0x30387c=(_0x376b6b=this['_getGeometryModel']())==null?void 0x0:_0x376b6b[_0xd54495(0x1b6)]();return _0x30387c?{..._0x30387c}:null;}['getAdjustHandles'](){const _0x60bc06=_0x353aab;var _0x5dda40,_0x5b4a35;let _0x52f0d1=this[_0x60bc06(0x20b)](),_0x59d9de=(_0x5dda40=_0x52f0d1==null||(_0x5b4a35=_0x52f0d1['getPresetShapeConfig']()['ahLst'])==null?void 0x0:_0x5b4a35['length'])==null?0x0:_0x5dda40;return!_0x52f0d1||_0x59d9de===0x0?[]:Array[_0x60bc06(0x13b)]({'length':_0x59d9de},(_0x10b49b,_0xc11ab5)=>_0x52f0d1[_0x60bc06(0x1cd)](_0xc11ab5))['filter'](_0x27e1be=>_0x27e1be!==void 0x0)[_0x60bc06(0x135)](_0x9f184f=>n[_0x60bc06(0x199)][_0x60bc06(0x151)](_0x9f184f));}[_0x353aab(0x146)](_0x6c1c82){const _0x2ae0be=_0x353aab;let _0x39f6fe=Object['entries'](_0x6c1c82);if(_0x39f6fe[_0x2ae0be(0x1be)]===0x0)return this;let _0x3c76de=this['_getGeometryModel']();if(!_0x3c76de)return this;let _0x32e687=new Set(_0x3c76de['getAdjustNames']());for(let [_0x3b53d5,_0x34d0e9]of _0x39f6fe){if(!_0x32e687[_0x2ae0be(0x15e)](_0x3b53d5))return console[_0x2ae0be(0x20a)](_0x2ae0be(0x1ca)+_0x3b53d5+_0x2ae0be(0x17a)),this;if(!Number['isFinite'](_0x34d0e9))return console[_0x2ae0be(0x20a)](_0x2ae0be(0x1ca)+_0x3b53d5+'\x22\x20must\x20be\x20finite.'),this;}let _0xb2077d=Object[_0x2ae0be(0x205)](_0x39f6fe[_0x2ae0be(0x135)](([_0x272d0d,_0x4839a1])=>[_0x272d0d,_0x3c76de[_0x2ae0be(0x19c)](_0x272d0d,_0x4839a1)]));return this[_0x2ae0be(0x193)](_0x2522ae=>({..._0x2522ae,'adjustValues':{..._0x2522ae[_0x2ae0be(0x13a)],..._0xb2077d}}));}['resetAdjustValues'](){const _0x48571d=_0x353aab;let _0x3d4612=this['getShapeData']();return _0x3d4612!=null&&_0x3d4612[_0x48571d(0x13a)]?(delete _0x3d4612['adjustValues'],this[_0x48571d(0x164)]({'shapeData':_0x3d4612})):this;}[_0x353aab(0x1f0)](_0x9a7ed4,_0x60dcfc){const _0x5ab61a=_0x353aab;return this[_0x5ab61a(0x193)](_0x687f5e=>({..._0x687f5e,'fill':{'fillType':e[_0x5ab61a(0x195)][_0x5ab61a(0x1e3)],'color':_0x9a7ed4,'opacity':_0x60dcfc}}));}[_0x353aab(0x197)](_0x1e6aa7,_0x21a0d5,_0x4b5e39){const _0x904bce=_0x353aab;return _0x21a0d5['length']<0x2?(console[_0x904bce(0x20a)](_0x904bce(0x1d2)),this):this[_0x904bce(0x193)](_0x2f7262=>({..._0x2f7262,'fill':{'fillType':e[_0x904bce(0x195)][_0x904bce(0x1e0)],'gradientType':_0x1e6aa7,'gradientStops':n[_0x904bce(0x199)]['deepClone'](_0x21a0d5),'gradientAngle':_0x4b5e39}}));}[_0x353aab(0x1cc)](_0x53d7d5,_0xb012d9,_0x22fe61={}){const _0x589f65=_0x353aab;return this[_0x589f65(0x193)](_0x1ac62f=>({..._0x1ac62f,'fill':{...n['Tools']['deepClone'](_0x22fe61),'fillType':e[_0x589f65(0x195)][_0x589f65(0x140)],'fillImageSource':_0x53d7d5,'fillImageSourceType':_0xb012d9}}));}[_0x353aab(0x181)](){const _0x12f0b3=_0x353aab;return this[_0x12f0b3(0x193)](_0x47609d=>({..._0x47609d,'fill':{'fillType':e[_0x12f0b3(0x195)][_0x12f0b3(0x172)]}}));}[_0x353aab(0x1d9)](_0xac6fd5){return this['_patchShapeData'](_0x2551b1=>({..._0x2551b1,'stroke':n['Tools']['deepClone'](_0xac6fd5)}));}[_0x353aab(0x1c8)](_0x198216){const _0x4df453=_0x353aab;return this['_patchStroke'](_0x16b17e=>({..._0x16b17e,'color':_0x198216,'lineStrokeType':_0x16b17e['lineStrokeType']===e[_0x4df453(0x1f6)][_0x4df453(0x16a)]?e[_0x4df453(0x1f6)]['SolidLine']:_0x16b17e['lineStrokeType']}));}[_0x353aab(0x1a4)](_0x7d3148){const _0xde81ac=_0x353aab;return this[_0xde81ac(0x219)](_0x52ca09=>({..._0x52ca09,'width':_0x7d3148,'lineStrokeType':_0x52ca09['lineStrokeType']===e[_0xde81ac(0x1f6)][_0xde81ac(0x16a)]?e[_0xde81ac(0x1f6)][_0xde81ac(0x1a1)]:_0x52ca09['lineStrokeType']}));}[_0x353aab(0x160)](_0x50b157){const _0x1ee6ac=_0x353aab;return this[_0x1ee6ac(0x219)](_0x45ae2a=>({..._0x45ae2a,'opacity':_0x50b157}));}[_0x353aab(0x14d)](_0x71dba1){const _0x982a45=_0x353aab;return this[_0x982a45(0x219)](_0x4629b1=>({..._0x4629b1,'dashType':_0x71dba1}));}['setStrokeLineJoinType'](_0x387e9b){const _0x40d919=_0x353aab;return this[_0x40d919(0x219)](_0xb1cb64=>({..._0xb1cb64,'lineJoinType':_0x387e9b}));}[_0x353aab(0x161)](_0x4bd28a){const _0x19f874=_0x353aab;return this[_0x19f874(0x219)](_0x18d598=>({..._0x18d598,'capType':_0x4bd28a}));}['setStrokeLineType'](_0x4e463a){return this['_patchStroke'](_0x35e65b=>({..._0x35e65b,'lineStrokeType':_0x4e463a}));}[_0x353aab(0x164)](_0x4e42da){const _0x1cd901=_0x353aab;var _0x327c28,_0x537c0b,_0x3375da;let _0x3d8649=_0x4e42da['shapeData'],_0x82252b=_0x3d8649&&(_0x1cd901(0x209)in _0x3d8649||_0x1cd901(0x145)in _0x3d8649)?this[_0x1cd901(0x218)]():null,_0x37a8c2=(_0x327c28=(_0x537c0b=_0x4e42da[_0x1cd901(0x171)])==null?(_0x3375da=_0x4e42da['shapeData'])==null?void 0x0:_0x3375da[_0x1cd901(0x171)]:_0x537c0b)==null?_0x82252b:_0x327c28,_0x55e285=u(_0x4e42da,_0x37a8c2!==null&&(0x0,e[_0x1cd901(0x19f)])(_0x37a8c2));return _0x55e285?(console[_0x1cd901(0x20a)]('[Shape\x20Facade]:\x20'+_0x55e285),this):(this[_0x1cd901(0x21b)]('update',_0x45d58a=>_0x45d58a[_0x1cd901(0x144)](this[_0x1cd901(0x17f)],_0x4e42da)),this);}['remove'](){const _0x14d451=_0x353aab;return this['_mutate']('remove',_0x2cee93=>_0x2cee93[_0x14d451(0x1fd)](this[_0x14d451(0x17f)]));}[_0x353aab(0x153)](){const _0x5a232f=_0x353aab;return this[_0x5a232f(0x21b)]('bring\x20to\x20front',_0x310760=>_0x310760[_0x5a232f(0x153)](this[_0x5a232f(0x17f)])),this;}['bringForward'](){const _0xb8f1a1=_0x353aab;return this[_0xb8f1a1(0x21b)](_0xb8f1a1(0x14f),_0x112841=>_0x112841[_0xb8f1a1(0x18e)](this[_0xb8f1a1(0x17f)])),this;}[_0x353aab(0x169)](){const _0x17d60f=_0x353aab;return this[_0x17d60f(0x21b)](_0x17d60f(0x14e),_0x11be6c=>_0x11be6c[_0x17d60f(0x169)](this[_0x17d60f(0x17f)])),this;}[_0x353aab(0x1d7)](){const _0x347040=_0x353aab;return this['_mutate'](_0x347040(0x1a6),_0x5d9ed0=>_0x5d9ed0[_0x347040(0x1d7)](this['_shapeRef'])),this;}[_0x353aab(0x184)](){const _0xbcba19=_0x353aab;return this[_0xbcba19(0x168)]['get'](this[_0xbcba19(0x17f)][_0xbcba19(0x19d)]);}[_0x353aab(0x193)](_0x18dba,_0x1cb6d8){const _0x14769b=_0x353aab;let _0x2f4bb6=this[_0x14769b(0x13c)]();return _0x2f4bb6?this['update']({'shapeType':_0x1cb6d8,'shapeData':_0x18dba(_0x2f4bb6)}):this;}[_0x353aab(0x219)](_0x40765f){const _0x5ad789=_0x353aab;return this[_0x5ad789(0x193)](_0x3f9db0=>{const _0x458d84=_0x5ad789;var _0x1d29a0;return{..._0x3f9db0,'stroke':_0x40765f((_0x1d29a0=_0x3f9db0[_0x458d84(0x137)])==null?{}:_0x1d29a0)};});}['_getSnapshot'](){const _0x2e94bd=_0x353aab;let _0x4149a4=this['_getAdapter']();if(!_0x4149a4)return null;try{return _0x4149a4[_0x2e94bd(0x1ec)](this['_shapeRef'])||(console[_0x2e94bd(0x20a)](_0x2e94bd(0x1a9)+this[_0x2e94bd(0x17f)]['shapeId']+'\x22\x20was\x20not\x20found.'),null);}catch(_0x4feb5b){return console[_0x2e94bd(0x20a)](_0x2e94bd(0x190)+this['_shapeRef'][_0x2e94bd(0x214)]+'\x22.',_0x4feb5b),null;}}[_0x353aab(0x20b)](){const _0xbf6c6c=_0x353aab;let _0x11a5c8=this['_getSnapshot']();if(!_0x11a5c8)return null;try{let _0xf09087=new e[(_0xbf6c6c(0x133))](_0x11a5c8[_0xbf6c6c(0x171)],_0x11a5c8[_0xbf6c6c(0x214)],n['Tools'][_0xbf6c6c(0x151)](_0x11a5c8[_0xbf6c6c(0x215)]));return _0xf09087[_0xbf6c6c(0x1c7)]({'width':_0x11a5c8[_0xbf6c6c(0x1df)][_0xbf6c6c(0x1d4)],'height':_0x11a5c8['transform'][_0xbf6c6c(0x148)]}),_0xf09087;}catch(_0x18d5de){return console[_0xbf6c6c(0x20a)](_0xbf6c6c(0x132)+this[_0xbf6c6c(0x17f)][_0xbf6c6c(0x214)]+'\x22.',_0x18d5de),null;}}[_0x353aab(0x21b)](_0x3873e2,_0xc525b6){const _0x4c9c2a=_0x353aab;let _0x131d75=this[_0x4c9c2a(0x184)]();if(!_0x131d75)return!0x1;try{let _0x5587d9=_0xc525b6(_0x131d75);return _0x5587d9||console[_0x4c9c2a(0x20a)](_0x4c9c2a(0x14b)+_0x3873e2+'\x20Shape\x20\x22'+this[_0x4c9c2a(0x17f)][_0x4c9c2a(0x214)]+'\x22.'),_0x5587d9;}catch(_0x4a9b73){return console[_0x4c9c2a(0x20a)](_0x4c9c2a(0x14b)+_0x3873e2+_0x4c9c2a(0x210)+this[_0x4c9c2a(0x17f)][_0x4c9c2a(0x214)]+'\x22.',_0x4a9b73),!0x1;}}};l=c([s(0x2,e['IShapeHostAdapterRegistry']),s(0x3,n[_0x353aab(0x1e5)])],l);function _0x2176(){const _0x2b16b9=['every','_shapeRef','Radial','setNoneFill','FShapeText','offsetX','_getAdapter','setColor','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.','\x22\x20was\x20not\x20found.','_updateShapeData','FBase','isInteger','set\x20start\x20arrow','setAbsolutePosition','bringForward','setStrikethrough','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','ShapeLineJoinEnum','Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.','_patchShapeData','ShapeArrowSizeEnum','ShapeFillEnum','end','setGradientFill','[Shape\x20Facade]:\x20Custom\x20geometry\x20connection\x20site\x20','Tools','ShapeOperatorEnum','[Shape\x20Facade]:\x20Custom\x20geometry\x20connection\x20sites\x20must\x20resolve\x20to\x20finite\x20coordinates.','setAdjustValueByName','hostType','FEnum','isConnectorShape','object','SolidLine','ImageFillModeEnum','setEndPoint','setStrokeWidth','ShapeTextDirection','send\x20to\x20back','setUnderline','setTextStyle','[Shape\x20Facade]:\x20Shape\x20\x22','_getSnapshot','[Shape\x20Text\x20Facade]:\x20Shape\x20\x22','getName','getEndEndpoint','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22','_mutateConnector','[Shape\x20Facade]:\x20Connector\x20\x22','bindStart','ShapeLineDashEnum','top','applyShapeTextBoxOptions','setCustomGeometry','getEndConnectInfo','getTextBoxOptions','\x20requires\x20both\x20\x22x\x22\x20and\x20\x22y\x22.','\x22\x20must\x20be\x20boolean.','offsetY','setShapeData','_getShapeData','setItalic','length','\x22\x20text.','_getConnectorSnapshot','setTextBoxOptions','boolean','function','defineProperty','getDescription','radial','updateContext','setStrokeColor','setFontSize','[Shape\x20Facade]:\x20Shape\x20adjustment\x20\x22','gradient','setImageFill','getAdjustInfo','getCustomGeometry','customGeometry','ShapeImageFillModeEnum','getEndArrow','[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.','width','getStartConnectInfo','IShapeHostAdapterRegistry','sendToBack','endArrow','setStroke','Angular','setRichText','unbind\x20end','getPlainText','\x22\x20must\x20be\x20finite.','transform','GradientFill','ShapeTypeEnum','TRUE','SolidFill','scaleY','ICommandService','setFontFamily','7MqNlIT','setVerticalAlign','getConnector','angular','setShapeType','getShape','unbindStart','126766qRCNdx','setBold','setSolidFill','FALSE','applyShapeTextAlignment','flipX','ShapeImageSourceTypeEnum','ShapeLineCapEnum','ShapeLineTypeEnum','10eTCRmP','rotation','isVisible','name','routePoints','\x22\x20requires\x20Connector\x20Shape\x20data.','removeShape','opacity','shapeTextToRichTextValue','unbindEnd','URL','cxnLst','set\x20start\x20point','diamond','fromEntries','setTransform','270151NGFTUu','2460635vmWunp','relation','warn','_getGeometryModel','stretch','findIndex','setVisible','setDescription','\x20Shape\x20\x22','scaleX','picture','extend','shapeId','shapeData','_commandService','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22','getShapeType','_patchStroke','setName','_mutate','toStringTag','getConnectionSites','start','selectable','getRoutePoints','setStartPoint','[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22','ShapeModel','_getConnectorAdapter','map','1440688qnuFmU','stroke','setStartArrow','toPlainText','adjustValues','from','getShapeData','setSelectable','Diamond','BooleanNumber','PictureFill','get','196124wjqNlu','setRoutePoints','updateShape','points','setAdjustValues','5638761VIAnVH','height','getRichText','[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','[Shape\x20Facade]:\x20Failed\x20to\x20','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','setStrokeLineDashType','send\x20backward','bring\x20forward','Module','deepClone','set\x20route\x20points','bringToFront','color','ShapeArrowTypeEnum','6BLpnbS','unbind\x20start','isCustom','set\x20end\x20point','\x22\x20points\x20must\x20contain\x20finite\x20coordinates.','isFinite','_bind','Tile','has','shapeText','setStrokeOpacity','setStrokeLineCapType','getConnectionSiteList','setRotation','update','\x22\x20requires\x20a\x20Connector\x20Shape\x20type.','ImageSourceTypeEnum','Shape\x20transform\x20\x22','_shapeHostAdapterRegistry','sendBackward','NoLine','11GJNcNH','ShapeTextWrapType','decorate','createInstance','39Okykyv','\x20Connector\x20Shape\x20\x22','shapeType','NoFill','_injector','ShapeGradientTypeEnum','set\x20end\x20arrow','9598692gkgQuY','getSnapshot','setEndArrow','FShape','\x22\x20does\x20not\x20exist.','visible','Shape\x20\x22','setSize'];_0x2176=function(){return _0x2b16b9;};return _0x2176();}function u(_0x63efb0,_0x30f76b=!0x1){const _0x5707a7=_0x353aab;for(let _0x28f275 of['visible',_0x5707a7(0x12f)]){let _0x3cbf5e=_0x63efb0[_0x28f275];if(_0x3cbf5e!==void 0x0&&typeof _0x3cbf5e!=_0x5707a7(0x1c2))return _0x5707a7(0x17c)+_0x28f275+_0x5707a7(0x1b9);}let _0x16e9eb=_0x63efb0[_0x5707a7(0x1df)];if(_0x16e9eb){for(let _0x153c8e of['left',_0x5707a7(0x1b3),_0x5707a7(0x1d4),_0x5707a7(0x148),_0x5707a7(0x1f8)]){let _0x1345ca=_0x16e9eb[_0x153c8e];if(_0x1345ca!==void 0x0&&!Number[_0x5707a7(0x15b)](_0x1345ca))return _0x5707a7(0x167)+_0x153c8e+_0x5707a7(0x1de);}if(_0x16e9eb[_0x5707a7(0x1d4)]!==void 0x0&&_0x16e9eb[_0x5707a7(0x1d4)]<=0x0)return _0x5707a7(0x192);if(_0x16e9eb[_0x5707a7(0x148)]!==void 0x0&&_0x16e9eb['height']<=0x0)return _0x5707a7(0x1d3);for(let _0x1afb32 of[_0x5707a7(0x1f3),'flipY']){let _0x3f19b2=_0x16e9eb[_0x1afb32];if(_0x3f19b2!==void 0x0&&typeof _0x3f19b2!=_0x5707a7(0x1c2))return _0x5707a7(0x167)+_0x1afb32+_0x5707a7(0x1b9);}}let _0x219fea=_0x63efb0[_0x5707a7(0x215)];return!_0x30f76b&&_0x219fea&&(_0x5707a7(0x209)in _0x219fea||'points'in _0x219fea)?'Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.':null;}var d=class extends l{['isConnectorShape'](){return!0x0;}['getStartEndpoint'](){const _0x27cfc5=_0x353aab;let _0x4c17b9=this[_0x27cfc5(0x1c0)]();return _0x4c17b9?n[_0x27cfc5(0x199)][_0x27cfc5(0x151)](_0x4c17b9[_0x27cfc5(0x12e)]):null;}[_0x353aab(0x1ad)](){const _0x192291=_0x353aab;let _0x42fbb7=this[_0x192291(0x1c0)]();return _0x42fbb7?n['Tools'][_0x192291(0x151)](_0x42fbb7[_0x192291(0x196)]):null;}[_0x353aab(0x130)](){const _0x37ecb6=_0x353aab;let _0x26fbd5=this[_0x37ecb6(0x1c0)]();return _0x26fbd5?n[_0x37ecb6(0x199)]['deepClone'](_0x26fbd5[_0x37ecb6(0x1fb)]):null;}['getStartArrow'](){const _0x23a01e=_0x353aab;let _0xfbb9e=this[_0x23a01e(0x1c0)]();return _0xfbb9e?n['Tools']['deepClone'](_0xfbb9e['startArrow']):null;}[_0x353aab(0x1d1)](){const _0x4b44ea=_0x353aab;let _0x211a38=this[_0x4b44ea(0x1c0)]();return _0x211a38?n[_0x4b44ea(0x199)][_0x4b44ea(0x151)](_0x211a38[_0x4b44ea(0x1d8)]):null;}['setShapeType'](_0x37da32){const _0x263149=_0x353aab;return(0x0,e['isConnectorShape'])(_0x37da32)?super['setShapeType'](_0x37da32):(console[_0x263149(0x20a)](_0x263149(0x14c)+this[_0x263149(0x17f)][_0x263149(0x214)]+_0x263149(0x165)),this);}['setShapeData'](_0x4147d3){const _0x35e223=_0x353aab;return _0x4147d3[_0x35e223(0x171)]!==void 0x0&&!(0x0,e[_0x35e223(0x19f)])(_0x4147d3[_0x35e223(0x171)])?(console[_0x35e223(0x20a)]('[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22'+this['_shapeRef'][_0x35e223(0x214)]+_0x35e223(0x1fc)),this):super[_0x35e223(0x1bb)](_0x4147d3);}[_0x353aab(0x1b1)](_0x349728,_0x2f6ac3){const _0x57317c=_0x353aab;return this[_0x57317c(0x15c)]('start',_0x349728,_0x2f6ac3),this;}['bindEnd'](_0x2efd39,_0x24d73f){return this['_bind']('end',_0x2efd39,_0x24d73f),this;}[_0x353aab(0x1ed)](){const _0x3bb9d4=_0x353aab;return this[_0x3bb9d4(0x1af)](_0x3bb9d4(0x157),_0x5b81f1=>_0x5b81f1['unbindStart'](this[_0x3bb9d4(0x17f)])),this;}[_0x353aab(0x200)](){const _0x4e6945=_0x353aab;return this[_0x4e6945(0x1af)](_0x4e6945(0x1dc),_0x2a46c6=>_0x2a46c6[_0x4e6945(0x200)](this[_0x4e6945(0x17f)])),this;}[_0x353aab(0x131)](_0x4de025){const _0x2eaf3f=_0x353aab;return f(_0x4de025,this['_shapeRef'][_0x2eaf3f(0x214)])&&this[_0x2eaf3f(0x1af)](_0x2eaf3f(0x203),_0x4b8a0d=>_0x4b8a0d[_0x2eaf3f(0x131)](this[_0x2eaf3f(0x17f)],_0x4de025)),this;}['setEndPoint'](_0x11e407){const _0x282fa5=_0x353aab;return f(_0x11e407,this[_0x282fa5(0x17f)][_0x282fa5(0x214)])&&this['_mutateConnector'](_0x282fa5(0x159),_0x4d1000=>_0x4d1000[_0x282fa5(0x1a3)](this['_shapeRef'],_0x11e407)),this;}[_0x353aab(0x143)](_0x3e170f){const _0x4bb35c=_0x353aab;return _0x3e170f[_0x4bb35c(0x17e)](_0x270a19=>f(_0x270a19,this[_0x4bb35c(0x17f)][_0x4bb35c(0x214)]))&&this[_0x4bb35c(0x1af)](_0x4bb35c(0x152),_0x3c96ac=>_0x3c96ac['setRoutePoints'](this[_0x4bb35c(0x17f)],_0x3e170f)),this;}[_0x353aab(0x138)](_0x55c940,_0x42d3f3){const _0x3242f3=_0x353aab;return this[_0x3242f3(0x1af)](_0x3242f3(0x18c),_0x18eb14=>_0x18eb14['setStartArrow'](this[_0x3242f3(0x17f)],_0x55c940,_0x42d3f3)),this;}['setEndArrow'](_0x27d823,_0x448798){const _0x10a636=_0x353aab;return this[_0x10a636(0x1af)](_0x10a636(0x175),_0x4d2d1e=>_0x4d2d1e[_0x10a636(0x178)](this[_0x10a636(0x17f)],_0x27d823,_0x448798)),this;}['_getConnectorAdapter'](){const _0x3aedb3=_0x353aab;return this[_0x3aedb3(0x173)][_0x3aedb3(0x141)](e['IConnectorShapeHostAdapter']);}[_0x353aab(0x1c0)](){const _0x1add2c=_0x353aab;let _0x4d4320=this[_0x1add2c(0x134)]();if(!_0x4d4320)return null;try{return _0x4d4320[_0x1add2c(0x1e9)](this['_shapeRef'])||(console['warn']('[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22'+this[_0x1add2c(0x17f)]['shapeId']+_0x1add2c(0x188)),null);}catch(_0x4d2988){return console[_0x1add2c(0x20a)](_0x1add2c(0x1ae)+this[_0x1add2c(0x17f)][_0x1add2c(0x214)]+'\x22.',_0x4d2988),null;}}[_0x353aab(0x15c)](_0x1ad1d4,_0x5295e1,_0x1e1888){const _0x1c9165=_0x353aab;if(!_0x5295e1||!Number[_0x1c9165(0x18b)](_0x1e1888)||_0x1e1888<0x0)return console[_0x1c9165(0x20a)](_0x1c9165(0x1b0)+this['_shapeRef']['shapeId']+_0x1c9165(0x187)),!0x1;let _0x2935ef={'shapeId':_0x5295e1,'cxnIndex':_0x1e1888};return this[_0x1c9165(0x1af)]('bind\x20'+_0x1ad1d4,_0x593e67=>_0x1ad1d4===_0x1c9165(0x12e)?_0x593e67['bindStart'](this['_shapeRef'],_0x2935ef):_0x593e67['bindEnd'](this[_0x1c9165(0x17f)],_0x2935ef));}[_0x353aab(0x1af)](_0x4770be,_0x33b020){const _0x510479=_0x353aab;let _0x2b8c25=this[_0x510479(0x134)]();if(!_0x2b8c25)return!0x1;try{let _0xe90835=_0x33b020(_0x2b8c25);return _0xe90835||console[_0x510479(0x20a)](_0x510479(0x14b)+_0x4770be+_0x510479(0x170)+this[_0x510479(0x17f)][_0x510479(0x214)]+'\x22.'),_0xe90835;}catch(_0x268684){return console['warn']('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x4770be+'\x20Connector\x20Shape\x20\x22'+this[_0x510479(0x17f)][_0x510479(0x214)]+'\x22.',_0x268684),!0x1;}}};function f(_0x4b9d28,_0xfcc89b){const _0x5ad764=_0x353aab;return!Number[_0x5ad764(0x15b)](_0x4b9d28['x'])||!Number['isFinite'](_0x4b9d28['y'])?(console['warn'](_0x5ad764(0x1b0)+_0xfcc89b+_0x5ad764(0x15a)),!0x1):!0x0;}exports['FConnectorShape']=d,Object[_0x353aab(0x1c4)](exports,_0x353aab(0x179),{'enumerable':!0x0,'get':function(){return l;}}),exports[_0x353aab(0x182)]=o;
|
|
1
|
+
const _0x889816=_0x1204;(function(_0x56d7df,_0x22800f){const _0x43bc7b=_0x1204,_0x358bb3=_0x56d7df();while(!![]){try{const _0x1669f4=-parseInt(_0x43bc7b(0x1e1))/0x1+parseInt(_0x43bc7b(0x175))/0x2*(-parseInt(_0x43bc7b(0x1c8))/0x3)+-parseInt(_0x43bc7b(0x16d))/0x4+parseInt(_0x43bc7b(0x1aa))/0x5+-parseInt(_0x43bc7b(0x137))/0x6+parseInt(_0x43bc7b(0x196))/0x7*(parseInt(_0x43bc7b(0x102))/0x8)+-parseInt(_0x43bc7b(0x1d7))/0x9*(-parseInt(_0x43bc7b(0x195))/0xa);if(_0x1669f4===_0x22800f)break;else _0x358bb3['push'](_0x358bb3['shift']());}catch(_0x21d631){_0x358bb3['push'](_0x358bb3['shift']());}}}(_0x3ad9,0x733c1),Object[_0x889816(0x198)](exports,Symbol[_0x889816(0x11c)],{'value':_0x889816(0x1b0)}));let e=require('@univerjs-pro/engine-shape'),t=require('@univerjs/core/facade'),n=require('@univerjs/core');var r=class extends t[_0x889816(0x14f)]{get['ShapeTypeEnum'](){const _0x439f64=_0x889816;return e[_0x439f64(0x11d)];}get['ShapeFillEnum'](){const _0xfc19a8=_0x889816;return e[_0xfc19a8(0x19c)];}get[_0x889816(0x119)](){const _0x5599bf=_0x889816;return e[_0x5599bf(0x119)];}get[_0x889816(0x1ca)](){const _0x372452=_0x889816;return e[_0x372452(0x116)];}get[_0x889816(0x101)](){const _0x2b7101=_0x889816;return e[_0x2b7101(0xfd)];}get['ShapeLineTypeEnum'](){const _0xbebebc=_0x889816;return e[_0xbebebc(0x164)];}get[_0x889816(0x1a8)](){const _0x339a18=_0x889816;return e[_0x339a18(0x1a8)];}get[_0x889816(0x178)](){const _0x1d7fc8=_0x889816;return e[_0x1d7fc8(0x178)];}get[_0x889816(0x124)](){const _0x68954c=_0x889816;return e[_0x68954c(0x124)];}get['ShapeOperatorEnum'](){const _0x1b4c99=_0x889816;return e[_0x1b4c99(0x15e)];}get['ShapeArrowTypeEnum'](){const _0xfde7ce=_0x889816;return e[_0xfde7ce(0x1b5)];}get[_0x889816(0x186)](){const _0x5afae6=_0x889816;return e[_0x5afae6(0x186)];}get[_0x889816(0x1b9)](){return e['ShapeTextAutoFitType'];}get[_0x889816(0x132)](){const _0x55440b=_0x889816;return e[_0x55440b(0x132)];}get[_0x889816(0x11e)](){const _0x58eb6c=_0x889816;return e[_0x58eb6c(0x11e)];}};function _0x1204(_0x5b657d,_0x2a0e63){_0x5b657d=_0x5b657d-0xfa;const _0x3ad948=_0x3ad9();let _0x120483=_0x3ad948[_0x5b657d];return _0x120483;}t[_0x889816(0x14f)]['extend'](r);function i(_0x2d2f95){const _0x4673fc=_0x889816;switch(_0x2d2f95){case e[_0x4673fc(0x119)][_0x4673fc(0x12f)]:return _0x4673fc(0x1cf);case e[_0x4673fc(0x119)][_0x4673fc(0x192)]:return _0x4673fc(0x172);case e[_0x4673fc(0x119)][_0x4673fc(0x1b2)]:return _0x4673fc(0x114);case e[_0x4673fc(0x119)][_0x4673fc(0x1ea)]:default:return _0x4673fc(0x1e6);}}function a(_0x1871bd){const _0x5263d9=_0x889816;return _0x1871bd===e['ImageFillModeEnum'][_0x5263d9(0x1a3)]?_0x5263d9(0x1d3):'stretch';}var o=class{constructor(_0x5b7b71,_0x18b849){const _0x3fff36=_0x889816;this[_0x3fff36(0x18a)]=_0x5b7b71,this[_0x3fff36(0x1ef)]=_0x18b849;}['getRichText'](){const _0x2b77c2=_0x889816;var _0x5cd70f;return(0x0,e['shapeTextToRichTextValue'])((_0x5cd70f=this[_0x2b77c2(0x1be)]())==null?void 0x0:_0x5cd70f[_0x2b77c2(0x12a)]);}[_0x889816(0x16e)](){const _0x5d2229=_0x889816;var _0x2e645e;return((_0x2e645e=this['getRichText']())==null?void 0x0:_0x2e645e[_0x5d2229(0x14e)]())??null;}[_0x889816(0x126)](_0xbf995f){const _0x3f6af1=_0x889816;return this[_0x3f6af1(0x1b7)](_0x2757bb=>({..._0x2757bb,'shapeText':(0x0,e[_0x3f6af1(0x123)])(_0x2757bb[_0x3f6af1(0x12a)],_0xbf995f)})),this;}[_0x889816(0x10c)](_0x33c87c){const _0x3cc656=_0x889816;return this[_0x3cc656(0x1b7)](_0x2e3329=>({..._0x2e3329,'shapeText':(0x0,e[_0x3cc656(0x1a7)])(_0x2e3329['shapeText'],_0x33c87c)})),this;}[_0x889816(0x141)](_0x17ec30){const _0x4ddf17=_0x889816;return this[_0x4ddf17(0x1b7)](_0x1e5226=>({..._0x1e5226,'shapeText':(0x0,e[_0x4ddf17(0x1d4)])(_0x1e5226['shapeText'],_0x17ec30)})),this;}[_0x889816(0x1ac)](_0x27caf0,_0x140701){const _0x6aec9d=_0x889816;return this['setTextStyle']({'cl':{'rgb':_0x27caf0},'textFill':{'type':_0x6aec9d(0x1b6),'color':_0x27caf0,'opacity':_0x140701}});}[_0x889816(0x185)](){const _0x29d4ce=_0x889816;return this[_0x29d4ce(0x141)]({'cl':{'rgb':_0x29d4ce(0x160)},'textFill':{'type':_0x29d4ce(0x1ec)}});}[_0x889816(0x105)](_0xca5c5d,_0x203bcb,_0x2c0ee3){const _0x3573b3=_0x889816;return _0x203bcb['length']<0x2?(console[_0x3573b3(0x1c0)]('[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.'),this):this[_0x3573b3(0x141)]({'cl':{'rgb':_0x203bcb[0x0]['color']},'textFill':{'type':_0x3573b3(0x10d),'gradient':{'type':i(_0xca5c5d),'angle':_0x2c0ee3,'stops':_0x203bcb['map'](({position:_0x53debc,color:_0x1e58ef,opacity:_0x49d1a2})=>({'offset':_0x53debc,'color':_0x1e58ef,'opacity':_0x49d1a2}))}}});}[_0x889816(0x1c1)](_0x1c3c47,_0x13982f=e['ImageSourceTypeEnum'][_0x889816(0x180)],_0x5ceb85={}){const _0x1de0cc=_0x889816;return this[_0x1de0cc(0x141)]({'textFill':{'type':_0x1de0cc(0x1a9),'picture':{'source':_0x1c3c47,'sourceType':_0x13982f,'opacity':_0x5ceb85['opacity'],'mode':a(_0x5ceb85[_0x1de0cc(0x110)]),'scaleX':_0x5ceb85[_0x1de0cc(0x1e5)],'scaleY':_0x5ceb85[_0x1de0cc(0x17e)],'offsetX':_0x5ceb85['offsetX'],'offsetY':_0x5ceb85['offsetY']}}});}[_0x889816(0x1bf)](_0x24cbb7){const _0x437bfa=_0x889816;return this[_0x437bfa(0x141)]({'fs':_0x24cbb7});}[_0x889816(0x10f)](_0x2c8e6e){return this['setTextStyle']({'ff':_0x2c8e6e});}[_0x889816(0x149)](_0x5dea2a){const _0x46fde3=_0x889816;return this['setTextStyle']({'bl':_0x5dea2a?n[_0x46fde3(0x1b3)]['TRUE']:n[_0x46fde3(0x1b3)][_0x46fde3(0x140)]});}[_0x889816(0x166)](_0x5c9c16){const _0xe0a65d=_0x889816;return this[_0xe0a65d(0x141)]({'it':_0x5c9c16?n['BooleanNumber']['TRUE']:n[_0xe0a65d(0x1b3)][_0xe0a65d(0x140)]});}[_0x889816(0x148)](_0x50f634){const _0x2e82dd=_0x889816;return this['setTextStyle']({'ul':{'s':_0x50f634?n[_0x2e82dd(0x1b3)]['TRUE']:n[_0x2e82dd(0x1b3)]['FALSE']}});}['setStrikethrough'](_0x12e4a0){const _0x4f4915=_0x889816;return this[_0x4f4915(0x141)]({'st':{'s':_0x12e4a0?n['BooleanNumber']['TRUE']:n[_0x4f4915(0x1b3)][_0x4f4915(0x140)]}});}[_0x889816(0x18c)](_0x34bd12){const _0x36ee5f=_0x889816;return this[_0x36ee5f(0x1b7)](_0x5c9bc7=>(0x0,e[_0x36ee5f(0x1cd)])(_0x5c9bc7,{'horizontalAlign':_0x34bd12})),this;}[_0x889816(0x1b8)](_0x49c07e){return this['_updateShapeData'](_0x1bbcb2=>(0x0,e['applyShapeTextAlignment'])(_0x1bbcb2,{'verticalAlign':_0x49c07e})),this;}[_0x889816(0x14a)](){const _0x328f04=_0x889816;let _0x1634c6=this[_0x328f04(0x1be)]();return _0x1634c6?(0x0,e[_0x328f04(0x154)])(_0x1634c6):null;}[_0x889816(0x19d)](_0xee166c){const _0x47bfec=_0x889816;return this[_0x47bfec(0x1b7)](_0x2ebe9e=>(0x0,e['applyShapeTextBoxOptions'])(_0x2ebe9e,_0xee166c)),this;}[_0x889816(0x1d8)](){const _0x25c39a=_0x889816;return this[_0x25c39a(0x1ef)][_0x25c39a(0x1a6)](e[_0x25c39a(0xff)])[_0x25c39a(0x1a6)](this[_0x25c39a(0x18a)]['hostType']);}[_0x889816(0x1be)](){const _0x1c96bb=_0x889816;let _0x4e3051=this[_0x1c96bb(0x1d8)]();if(!_0x4e3051)return null;try{var _0x30ba04;return((_0x30ba04=_0x4e3051['getShape'](this[_0x1c96bb(0x18a)]))==null?void 0x0:_0x30ba04[_0x1c96bb(0x16b)])||(console[_0x1c96bb(0x1c0)]('[Shape\x20Text\x20Facade]:\x20Shape\x20\x22'+this['_shapeRef']['shapeId']+_0x1c96bb(0x1ad)),null);}catch(_0x33340c){return console[_0x1c96bb(0x1c0)]('[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22'+this[_0x1c96bb(0x18a)][_0x1c96bb(0x1bd)]+_0x1c96bb(0x174),_0x33340c),null;}}['_updateShapeData'](_0x17004c){const _0x1a26a2=_0x889816;let _0x16e04f=this[_0x1a26a2(0x1d8)]();if(!_0x16e04f)return!0x1;try{var _0xf8d1ff;let _0x3f6c31=(_0xf8d1ff=_0x16e04f[_0x1a26a2(0x12e)](this[_0x1a26a2(0x18a)]))==null?void 0x0:_0xf8d1ff['shapeData'];if(!_0x3f6c31)return console[_0x1a26a2(0x1c0)](_0x1a26a2(0x139)+this[_0x1a26a2(0x18a)][_0x1a26a2(0x1bd)]+'\x22\x20was\x20not\x20found.'),!0x1;let _0x3512ab=_0x16e04f[_0x1a26a2(0x1a1)](this[_0x1a26a2(0x18a)],{'shapeData':_0x17004c(_0x3f6c31)});return _0x3512ab||console[_0x1a26a2(0x1c0)](_0x1a26a2(0x1e7)+this[_0x1a26a2(0x18a)][_0x1a26a2(0x1bd)]+_0x1a26a2(0x174)),_0x3512ab;}catch(_0x27da83){return console[_0x1a26a2(0x1c0)]('[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22'+this['_shapeRef'][_0x1a26a2(0x1bd)]+_0x1a26a2(0x174),_0x27da83),!0x1;}}};function s(_0x3109be,_0x3f127c){return function(_0x3db90e,_0x283861){_0x3f127c(_0x3db90e,_0x283861,_0x3109be);};}function c(_0x3ef8ac,_0x34e727,_0x7bbba0,_0x79e484){const _0x5d79fa=_0x889816;var _0x12fc2d=arguments[_0x5d79fa(0x158)],_0x35a8b6=_0x12fc2d<0x3?_0x34e727:_0x79e484===null?_0x79e484=Object[_0x5d79fa(0x1d2)](_0x34e727,_0x7bbba0):_0x79e484,_0xc7b8eb;if(typeof Reflect==_0x5d79fa(0x16f)&&typeof Reflect[_0x5d79fa(0x1b1)]==_0x5d79fa(0x181))_0x35a8b6=Reflect[_0x5d79fa(0x1b1)](_0x3ef8ac,_0x34e727,_0x7bbba0,_0x79e484);else{for(var _0x45fcab=_0x3ef8ac['length']-0x1;_0x45fcab>=0x0;_0x45fcab--)(_0xc7b8eb=_0x3ef8ac[_0x45fcab])&&(_0x35a8b6=(_0x12fc2d<0x3?_0xc7b8eb(_0x35a8b6):_0x12fc2d>0x3?_0xc7b8eb(_0x34e727,_0x7bbba0,_0x35a8b6):_0xc7b8eb(_0x34e727,_0x7bbba0))||_0x35a8b6);}return _0x12fc2d>0x3&&_0x35a8b6&&Object['defineProperty'](_0x34e727,_0x7bbba0,_0x35a8b6),_0x35a8b6;}function _0x3ad9(){const _0x4a2400=['fill','setFontFamily','mode','setShapeType','getConnector','unbind\x20end','diamond','getAdjustNames','ImageFillModeEnum','_mutateConnector','setStartPoint','ShapeGradientTypeEnum','hostType','stroke','toStringTag','ShapeTypeEnum','ShapeTextWrapType','getShapeData','NoLine','remove','flipX','applyRichTextToShapeText','ShapeLineJoinEnum','setVisible','setRichText','FShape','isConnectorShape','height','shapeText','lineStrokeType','customGeometry','setSize','getShape','Radial','isInteger','unbindStart','ShapeTextDirection','updateContext','_getConnectorSnapshot','[Shape\x20Facade]:\x20Shape\x20adjustment\x20\x22','[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','1657218oUPhzb','bringForward','[Shape\x20Text\x20Facade]:\x20Shape\x20\x22','isSelectable','setStrokeLineDashType','getText','Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.','getTransform','setCustomGeometry','FALSE','setTextStyle','bind\x20','setSelectable','[Shape\x20Facade]:\x20Shape\x20\x22','ShapeModel','data','from','setUnderline','setBold','getTextBoxOptions','send\x20backward','SolidLine','getStartConnectInfo','toPlainText','FEnum','[Shape\x20Facade]:\x20Custom\x20geometry\x20connection\x20site\x20','createInstance','bring\x20forward','getEndArrow','resolveShapeTextBoxOptions','getStartArrow','findIndex','Shape\x20transform\x20\x22','length','pathLst','set\x20start\x20point','map','bringToFront','endArrow','ShapeOperatorEnum','[Shape\x20Facade]:\x20Failed\x20to\x20','rgba(0,\x200,\x200,\x200)','getAdjustInfo','setCustomGeometryFromSvgPath','sendBackward','ShapeLineTypeEnum','[Shape\x20Facade]:\x20Connector\x20\x22','setItalic','IConnectorShapeHostAdapter','selectable','left','GradientFill','shapeData','setSolidFill','1842504WYBwGX','getPlainText','object','removeShape','setEndPoint','angular','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','\x22\x20text.','138154QfySQc','width','getStartEndpoint','ShapeLineCapEnum','end','SolidFill','adjustValues','setDescription','isFinite','scaleY','_bind','URL','function','_mutate','getRoutePoints','startArrow','setNoneFill','ShapeArrowSizeEnum','setName','relation','set\x20end\x20point','_shapeRef','\x20Shape\x20\x22','setHorizontalAlign','setTransform','every','entries','flipY','setStrokeColor','Angular','boolean','Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.','776870QUNRdW','126KsvUQU','routePoints','defineProperty','setAdjustValues','getEndEndpoint','unbindEnd','ShapeFillEnum','setTextBoxOptions','FShapeText','setRotation','setShapeData','updateShape','setStartArrow','Tile','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','FBase','get','applyTextToShapeText','ShapeLineDashEnum','picture','4064875DfWDWv','getConnectionSiteList','setColor','\x22\x20was\x20not\x20found.','Shape\x20\x22','\x22\x20must\x20be\x20finite.','Module','decorate','Diamond','BooleanNumber','\x22\x20must\x20be\x20boolean.','ShapeArrowTypeEnum','solid','_updateShapeData','setVerticalAlign','ShapeTextAutoFitType','setRoutePoints','\x22\x20requires\x20Connector\x20Shape\x20data.','sendToBack','shapeId','_getShapeData','setFontSize','warn','setImageFill','_getGeometryModel','description','bindEnd','setAbsolutePosition','set\x20end\x20arrow','\x20Connector\x20Shape\x20\x22','15QQhnKn','_getConnectorAdapter','ShapeImageFillModeEnum','shapeType','_shapeHostAdapterRegistry','applyShapeTextAlignment','transform','radial','setAdjustValueByName','FConnectorShape','getOwnPropertyDescriptor','tile','applyShapeTextStyle','fromEntries','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22','117PMArJP','_getAdapter','[Shape\x20Facade]:\x20Custom\x20geometry\x20connection\x20sites\x20must\x20resolve\x20to\x20finite\x20coordinates.','parseSvgPathData','deepClone','visible','setStroke','getShapeType','start','setEndArrow','423851DWmypU','setStrokeLineType','\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.','bring\x20to\x20front','scaleX','linear','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22','getName','PictureFill','Linear','isCustom','none','setStrokeOpacity','_getSnapshot','_injector','setStrokeWidth','_patchStroke','[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22','getCustomGeometry','ImageSourceTypeEnum','getPresetShapeConfig','IShapeHostAdapterRegistry','cxnLst','ShapeImageSourceTypeEnum','68960zQEpFS','_commandService','bindStart','setGradientFill','_patchShapeData','getDescription','dataArray','update','Tools','Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.','setText','gradient'];_0x3ad9=function(){return _0x4a2400;};return _0x3ad9();}function l(_0x37158a){const _0xfc9e64=_0x889816;let _0x3437fc=n[_0xfc9e64(0x10a)][_0xfc9e64(0x1db)](_0x37158a);return _0x3437fc[_0xfc9e64(0x159)]&&=_0x3437fc['pathLst']['map'](_0x37b0ce=>{const _0x311e71=_0xfc9e64;var _0x4b54a8;if((_0x4b54a8=_0x37b0ce[_0x311e71(0x108)])!=null&&_0x4b54a8[_0x311e71(0x158)]){let {data:_0x3da649,..._0x1a16a5}=_0x37b0ce;return _0x1a16a5;}if(_0x37b0ce[_0x311e71(0x146)]===void 0x0)return _0x37b0ce;let _0x5c5896=(0x0,e[_0x311e71(0x1da)])(_0x37b0ce[_0x311e71(0x146)]),{data:_0x24ee83,..._0x5c9ee5}=_0x37b0ce;return{..._0x5c9ee5,'dataArray':_0x5c5896};}),_0x3437fc;}let u=class extends t[_0x889816(0x1a5)]{constructor(_0x3af08c,_0x41626e,_0x4d93bf,_0x3860c4){const _0x123b1c=_0x889816;super(),this['_shapeRef']=_0x3af08c,this['_injector']=_0x41626e,this['_shapeHostAdapterRegistry']=_0x4d93bf,this[_0x123b1c(0x103)]=_0x3860c4;}[_0x889816(0x128)](){return!0x1;}['getId'](){const _0x461b79=_0x889816;return this[_0x461b79(0x18a)]['shapeId'];}[_0x889816(0x1e8)](){const _0x75a02d=_0x889816;var _0x10bb61;return(_0x10bb61=this[_0x75a02d(0x1ee)]())==null?void 0x0:_0x10bb61['name'];}[_0x889816(0x187)](_0x15bb1a){const _0x5b5f96=_0x889816;return this[_0x5b5f96(0x109)]({'name':_0x15bb1a});}[_0x889816(0x107)](){const _0x207d34=_0x889816;var _0x537e28;return(_0x537e28=this[_0x207d34(0x1ee)]())==null?void 0x0:_0x537e28[_0x207d34(0x1c3)];}[_0x889816(0x17c)](_0x366d3e){return this['update']({'description':_0x366d3e});}['getHostType'](){const _0xc9349c=_0x889816;return this[_0xc9349c(0x18a)][_0xc9349c(0x11a)];}[_0x889816(0x1de)](){const _0x45805d=_0x889816;var _0x17ba17;return((_0x17ba17=this['_getSnapshot']())==null?void 0x0:_0x17ba17[_0x45805d(0x1cb)])??null;}[_0x889816(0x11f)](){const _0x258e3e=_0x889816;let _0x385de6=this['_getSnapshot']();return _0x385de6?n[_0x258e3e(0x10a)][_0x258e3e(0x1db)](_0x385de6[_0x258e3e(0x16b)]):null;}['getSnapshot'](){const _0x47f9ef=_0x889816;let _0x73a573=this[_0x47f9ef(0x1ee)]();return _0x73a573?n[_0x47f9ef(0x10a)][_0x47f9ef(0x1db)](_0x73a573):null;}[_0x889816(0x13e)](){const _0x641f45=_0x889816;let _0x2baf5e=this[_0x641f45(0x1ee)]();return _0x2baf5e?{..._0x2baf5e[_0x641f45(0x1ce)]}:null;}['isVisible'](){const _0x57fb53=_0x889816;var _0x54d28e;return((_0x54d28e=this[_0x57fb53(0x1ee)]())==null?void 0x0:_0x54d28e[_0x57fb53(0x1dc)])??!0x1;}[_0x889816(0x125)](_0x1a5e7a){const _0x3aed90=_0x889816;return this[_0x3aed90(0x109)]({'visible':_0x1a5e7a});}[_0x889816(0x13a)](){const _0x770b98=_0x889816;var _0x54d5df;return((_0x54d5df=this[_0x770b98(0x1ee)]())==null?void 0x0:_0x54d5df['selectable'])??!0x1;}[_0x889816(0x143)](_0xdac895){const _0x4c2a5b=_0x889816;return this[_0x4c2a5b(0x109)]({'selectable':_0xdac895});}[_0x889816(0x13c)](){const _0x4012a2=_0x889816;return this[_0x4012a2(0x1ef)][_0x4012a2(0x151)](o,this[_0x4012a2(0x18a)],this[_0x4012a2(0x1ef)]);}['isCustomShape'](){const _0x53e357=_0x889816;let _0x2693fc=this[_0x53e357(0x11f)]();return(_0x2693fc==null?void 0x0:_0x2693fc[_0x53e357(0x1eb)])===!0x0&&!!_0x2693fc[_0x53e357(0x12c)];}[_0x889816(0xfc)](){const _0x31c0cb=_0x889816;var _0x3edd68;return((_0x3edd68=this[_0x31c0cb(0x11f)]())==null?void 0x0:_0x3edd68[_0x31c0cb(0x12c)])??null;}[_0x889816(0x111)](_0x23b755){return this['_patchShapeData'](_0x22d99c=>({..._0x22d99c,'shapeType':_0x23b755}),_0x23b755);}[_0x889816(0x1a0)](_0x256154){const _0xe12d82=_0x889816;let _0x300faf=n['Tools'][_0xe12d82(0x1db)](_0x256154);return this['update']({'shapeType':_0x300faf['shapeType'],'shapeData':_0x300faf});}['setTransform'](_0x30f5f0){const _0x2cb7ca=_0x889816;return this[_0x2cb7ca(0x109)]({'transform':_0x30f5f0});}[_0x889816(0x12d)](_0xec8255,_0x9992d7){const _0x30c296=_0x889816;return this[_0x30c296(0x18d)]({'width':_0xec8255,'height':_0x9992d7});}[_0x889816(0x19f)](_0x126d3d){const _0x2d1469=_0x889816;return this[_0x2d1469(0x18d)]({'rotation':_0x126d3d});}[_0x889816(0x1c5)](_0x2bed8e,_0xb45c55){return this['setTransform']({'left':_0x2bed8e,'top':_0xb45c55});}['setCustomGeometry'](_0x1ef33e){const _0x13536c=_0x889816;var _0x15c467,_0xfcbfe9;let _0x3651a5=((_0x15c467=_0x1ef33e[_0x13536c(0x100)])==null?void 0x0:_0x15c467[_0x13536c(0x156)](({x:_0x49c326,y:_0x551079})=>_0x49c326===void 0x0||_0x551079===void 0x0))??-0x1;if(_0x3651a5>=0x0)return console[_0x13536c(0x1c0)](_0x13536c(0x150)+_0x3651a5+'\x20requires\x20both\x20\x22x\x22\x20and\x20\x22y\x22.'),this;let _0xbedf4d=l(_0x1ef33e);if((_0xfcbfe9=_0xbedf4d[_0x13536c(0x100)])!=null&&_0xfcbfe9[_0x13536c(0x158)]){let _0x5a0622=this['_getSnapshot']();if(!_0x5a0622)return this;try{let _0x5668c6=new e['ShapeModel'](_0x5a0622[_0x13536c(0x1cb)],_0x5a0622[_0x13536c(0x1bd)],{..._0x5a0622[_0x13536c(0x16b)],'isCustom':!0x0,'customGeometry':_0xbedf4d});_0x5668c6['updateContext']({'width':_0x5a0622[_0x13536c(0x1ce)][_0x13536c(0x176)],'height':_0x5a0622[_0x13536c(0x1ce)][_0x13536c(0x129)]}),_0x5668c6['getConnectionSiteList']();}catch{return console[_0x13536c(0x1c0)](_0x13536c(0x1d9)),this;}}return this[_0x13536c(0x106)](_0x4a2205=>({..._0x4a2205,'isCustom':!0x0,'customGeometry':_0xbedf4d}));}[_0x889816(0x162)](_0x1d313c){const _0x5b5124=_0x889816;return this[_0x5b5124(0x13f)]({'rect':{'l':0x0,'t':0x0,'r':'r','b':'b'},'pathLst':[{'w':_0x1d313c['width'],'h':_0x1d313c[_0x5b5124(0x129)],'fill':_0x1d313c[_0x5b5124(0x10e)],'stroke':_0x1d313c[_0x5b5124(0x11b)],'data':_0x1d313c['pathData']}]});}['getConnectionSites'](){const _0x13406f=_0x889816;var _0x104378;return((_0x104378=this[_0x13406f(0x1c2)]())==null?void 0x0:_0x104378[_0x13406f(0x1ab)]()[_0x13406f(0x15b)](_0x39d26f=>({..._0x39d26f})))??[];}[_0x889816(0x14d)](){const _0x2826f6=_0x889816;var _0x12cd9e;let _0x49af36=(_0x12cd9e=this[_0x2826f6(0x1c2)]())==null?void 0x0:_0x12cd9e[_0x2826f6(0x14d)]();return _0x49af36?{..._0x49af36}:null;}['getEndConnectInfo'](){const _0x13e2f2=_0x889816;var _0x5266e0;let _0x45f224=(_0x5266e0=this[_0x13e2f2(0x1c2)]())==null?void 0x0:_0x5266e0['getEndConnectInfo']();return _0x45f224?{..._0x45f224}:null;}['getAdjustHandles'](){const _0x56d4dc=_0x889816;var _0x1276e3;let _0x11afbd=this['_getGeometryModel'](),_0x1f81a9=(_0x11afbd==null||(_0x1276e3=_0x11afbd[_0x56d4dc(0xfe)]()['ahLst'])==null?void 0x0:_0x1276e3['length'])??0x0;return!_0x11afbd||_0x1f81a9===0x0?[]:Array[_0x56d4dc(0x147)]({'length':_0x1f81a9},(_0xea7a04,_0x58a6f0)=>_0x11afbd[_0x56d4dc(0x161)](_0x58a6f0))['filter'](_0x276c07=>_0x276c07!==void 0x0)[_0x56d4dc(0x15b)](_0x194cee=>n[_0x56d4dc(0x10a)]['deepClone'](_0x194cee));}[_0x889816(0x199)](_0x10d5ea){const _0x3489ab=_0x889816;let _0x1122ea=Object[_0x3489ab(0x18f)](_0x10d5ea);if(_0x1122ea['length']===0x0)return this;let _0x32a9a1=this[_0x3489ab(0x1c2)]();if(!_0x32a9a1)return this;let _0x3089d6=new Set(_0x32a9a1[_0x3489ab(0x115)]());for(let [_0x207486,_0x41dc26]of _0x1122ea){if(!_0x3089d6['has'](_0x207486))return console[_0x3489ab(0x1c0)](_0x3489ab(0x135)+_0x207486+'\x22\x20does\x20not\x20exist.'),this;if(!Number[_0x3489ab(0x17d)](_0x41dc26))return console['warn'](_0x3489ab(0x135)+_0x207486+_0x3489ab(0x1af)),this;}let _0x2f2c28=Object[_0x3489ab(0x1d5)](_0x1122ea[_0x3489ab(0x15b)](([_0x4477c5,_0x1ac84e])=>[_0x4477c5,_0x32a9a1[_0x3489ab(0x1d0)](_0x4477c5,_0x1ac84e)]));return this[_0x3489ab(0x106)](_0x3b069d=>({..._0x3b069d,'adjustValues':{..._0x3b069d[_0x3489ab(0x17b)],..._0x2f2c28}}));}['resetAdjustValues'](){const _0x6dc9e5=_0x889816;let _0xf025db=this[_0x6dc9e5(0x11f)]();return _0xf025db!=null&&_0xf025db[_0x6dc9e5(0x17b)]?(delete _0xf025db[_0x6dc9e5(0x17b)],this[_0x6dc9e5(0x109)]({'shapeData':_0xf025db})):this;}[_0x889816(0x16c)](_0x297706,_0x1f8025){const _0x4cb0da=_0x889816;return this[_0x4cb0da(0x106)](_0x4396fe=>({..._0x4396fe,'fill':{'fillType':e[_0x4cb0da(0x19c)][_0x4cb0da(0x17a)],'color':_0x297706,'opacity':_0x1f8025}}));}[_0x889816(0x105)](_0x4ca82e,_0x47bbba,_0x43b760){const _0x413ee7=_0x889816;return _0x47bbba[_0x413ee7(0x158)]<0x2?(console[_0x413ee7(0x1c0)](_0x413ee7(0x136)),this):this[_0x413ee7(0x106)](_0x134b9a=>({..._0x134b9a,'fill':{'fillType':e['ShapeFillEnum'][_0x413ee7(0x16a)],'gradientType':_0x4ca82e,'gradientStops':n['Tools'][_0x413ee7(0x1db)](_0x47bbba),'gradientAngle':_0x43b760}}));}[_0x889816(0x1c1)](_0x25e9e2,_0xb1fe42,_0x1af5bc={}){const _0x5747bf=_0x889816;return this[_0x5747bf(0x106)](_0x620757=>({..._0x620757,'fill':{...n[_0x5747bf(0x10a)][_0x5747bf(0x1db)](_0x1af5bc),'fillType':e['ShapeFillEnum'][_0x5747bf(0x1e9)],'fillImageSource':_0x25e9e2,'fillImageSourceType':_0xb1fe42}}));}[_0x889816(0x185)](){const _0x11df80=_0x889816;return this['_patchShapeData'](_0x438a5a=>({..._0x438a5a,'fill':{'fillType':e[_0x11df80(0x19c)]['NoFill']}}));}[_0x889816(0x1dd)](_0x3be38d){const _0x2042c3=_0x889816;return this[_0x2042c3(0x106)](_0x4533ba=>({..._0x4533ba,'stroke':n[_0x2042c3(0x10a)][_0x2042c3(0x1db)](_0x3be38d)}));}[_0x889816(0x191)](_0x44ad6d){const _0x249f87=_0x889816;return this[_0x249f87(0xfa)](_0xe72c=>({..._0xe72c,'color':_0x44ad6d,'lineStrokeType':_0xe72c[_0x249f87(0x12b)]===e[_0x249f87(0x164)][_0x249f87(0x120)]?e[_0x249f87(0x164)][_0x249f87(0x14c)]:_0xe72c[_0x249f87(0x12b)]}));}[_0x889816(0x1f0)](_0x36543a){const _0x27de97=_0x889816;return this['_patchStroke'](_0x1fcc66=>({..._0x1fcc66,'width':_0x36543a,'lineStrokeType':_0x1fcc66[_0x27de97(0x12b)]===e[_0x27de97(0x164)]['NoLine']?e['ShapeLineTypeEnum'][_0x27de97(0x14c)]:_0x1fcc66['lineStrokeType']}));}[_0x889816(0x1ed)](_0x214365){const _0x127bc5=_0x889816;return this[_0x127bc5(0xfa)](_0x4be2e0=>({..._0x4be2e0,'opacity':_0x214365}));}[_0x889816(0x13b)](_0x2d4a76){const _0x2e89a1=_0x889816;return this[_0x2e89a1(0xfa)](_0x5f0916=>({..._0x5f0916,'dashType':_0x2d4a76}));}['setStrokeLineJoinType'](_0x5074bc){const _0x5bbcaa=_0x889816;return this[_0x5bbcaa(0xfa)](_0x121322=>({..._0x121322,'lineJoinType':_0x5074bc}));}['setStrokeLineCapType'](_0x646ca7){const _0x488040=_0x889816;return this[_0x488040(0xfa)](_0x1dd1b1=>({..._0x1dd1b1,'capType':_0x646ca7}));}[_0x889816(0x1e2)](_0x47328e){const _0x2523bf=_0x889816;return this[_0x2523bf(0xfa)](_0x16048f=>({..._0x16048f,'lineStrokeType':_0x47328e}));}['update'](_0x52c732){const _0x412ecf=_0x889816;var _0x485abf;let _0x3b0ce1=_0x52c732[_0x412ecf(0x16b)],_0x3dfbca=_0x3b0ce1&&(_0x412ecf(0x188)in _0x3b0ce1||'points'in _0x3b0ce1)?this['getShapeType']():null,_0x237f0c=_0x52c732[_0x412ecf(0x1cb)]??((_0x485abf=_0x52c732['shapeData'])==null?void 0x0:_0x485abf[_0x412ecf(0x1cb)])??_0x3dfbca,_0x451d4e=d(_0x52c732,_0x237f0c!==null&&(0x0,e[_0x412ecf(0x128)])(_0x237f0c));return _0x451d4e?(console[_0x412ecf(0x1c0)]('[Shape\x20Facade]:\x20'+_0x451d4e),this):(this[_0x412ecf(0x182)]('update',_0x2e9915=>_0x2e9915[_0x412ecf(0x1a1)](this[_0x412ecf(0x18a)],_0x52c732)),this);}['remove'](){const _0x158f78=_0x889816;return this[_0x158f78(0x182)](_0x158f78(0x121),_0x27dfb7=>_0x27dfb7[_0x158f78(0x170)](this['_shapeRef']));}[_0x889816(0x15c)](){const _0x301fe4=_0x889816;return this[_0x301fe4(0x182)](_0x301fe4(0x1e4),_0x55e601=>_0x55e601[_0x301fe4(0x15c)](this[_0x301fe4(0x18a)])),this;}[_0x889816(0x138)](){const _0x2a0d97=_0x889816;return this[_0x2a0d97(0x182)](_0x2a0d97(0x152),_0x22de21=>_0x22de21[_0x2a0d97(0x138)](this['_shapeRef'])),this;}[_0x889816(0x163)](){const _0x5e03a8=_0x889816;return this[_0x5e03a8(0x182)](_0x5e03a8(0x14b),_0x3edf1c=>_0x3edf1c[_0x5e03a8(0x163)](this['_shapeRef'])),this;}[_0x889816(0x1bc)](){const _0x27f7d7=_0x889816;return this[_0x27f7d7(0x182)]('send\x20to\x20back',_0x14ccdf=>_0x14ccdf['sendToBack'](this['_shapeRef'])),this;}['_getAdapter'](){const _0x3ca737=_0x889816;return this[_0x3ca737(0x1cc)][_0x3ca737(0x1a6)](this[_0x3ca737(0x18a)]['hostType']);}[_0x889816(0x106)](_0x721ec7,_0x1066c5){const _0x204e81=_0x889816;let _0x512ba3=this[_0x204e81(0x11f)]();return _0x512ba3?this[_0x204e81(0x109)]({'shapeType':_0x1066c5,'shapeData':_0x721ec7(_0x512ba3)}):this;}['_patchStroke'](_0x218bbc){const _0x138291=_0x889816;return this[_0x138291(0x106)](_0xa13515=>({..._0xa13515,'stroke':_0x218bbc(_0xa13515['stroke']??{})}));}[_0x889816(0x1ee)](){const _0x4b52bf=_0x889816;let _0x589da9=this[_0x4b52bf(0x1d8)]();if(!_0x589da9)return null;try{return _0x589da9['getShape'](this[_0x4b52bf(0x18a)])||(console[_0x4b52bf(0x1c0)](_0x4b52bf(0x144)+this[_0x4b52bf(0x18a)][_0x4b52bf(0x1bd)]+_0x4b52bf(0x1ad)),null);}catch(_0x3ea344){return console['warn'](_0x4b52bf(0x1a4)+this['_shapeRef'][_0x4b52bf(0x1bd)]+'\x22.',_0x3ea344),null;}}[_0x889816(0x1c2)](){const _0x2ba692=_0x889816;let _0x2468f8=this['_getSnapshot']();if(!_0x2468f8)return null;try{let _0x3e4c7c=new e[(_0x2ba692(0x145))](_0x2468f8[_0x2ba692(0x1cb)],_0x2468f8[_0x2ba692(0x1bd)],n[_0x2ba692(0x10a)][_0x2ba692(0x1db)](_0x2468f8[_0x2ba692(0x16b)]));return _0x3e4c7c[_0x2ba692(0x133)]({'width':_0x2468f8['transform'][_0x2ba692(0x176)],'height':_0x2468f8[_0x2ba692(0x1ce)][_0x2ba692(0x129)]}),_0x3e4c7c;}catch(_0x1230fc){return console['warn'](_0x2ba692(0xfb)+this[_0x2ba692(0x18a)][_0x2ba692(0x1bd)]+'\x22.',_0x1230fc),null;}}['_mutate'](_0x592f0f,_0x163a07){const _0x39b372=_0x889816;let _0x46e084=this['_getAdapter']();if(!_0x46e084)return!0x1;try{let _0x40d40e=_0x163a07(_0x46e084);return _0x40d40e||console[_0x39b372(0x1c0)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x592f0f+_0x39b372(0x18b)+this['_shapeRef'][_0x39b372(0x1bd)]+'\x22.'),_0x40d40e;}catch(_0xb2e26e){return console[_0x39b372(0x1c0)](_0x39b372(0x15f)+_0x592f0f+'\x20Shape\x20\x22'+this['_shapeRef']['shapeId']+'\x22.',_0xb2e26e),!0x1;}}};u=c([s(0x2,e[_0x889816(0xff)]),s(0x3,n['ICommandService'])],u);function d(_0x3d40c6,_0x513f7b=!0x1){const _0x3bb561=_0x889816;for(let _0x4aca07 of[_0x3bb561(0x1dc),_0x3bb561(0x168)]){let _0x2ff8fd=_0x3d40c6[_0x4aca07];if(_0x2ff8fd!==void 0x0&&typeof _0x2ff8fd!=_0x3bb561(0x193))return _0x3bb561(0x1ae)+_0x4aca07+'\x22\x20must\x20be\x20boolean.';}let _0x3e2885=_0x3d40c6['transform'];if(_0x3e2885){for(let _0x3743a7 of[_0x3bb561(0x169),'top',_0x3bb561(0x176),_0x3bb561(0x129),'rotation']){let _0x21ef73=_0x3e2885[_0x3743a7];if(_0x21ef73!==void 0x0&&!Number[_0x3bb561(0x17d)](_0x21ef73))return _0x3bb561(0x157)+_0x3743a7+_0x3bb561(0x1af);}if(_0x3e2885[_0x3bb561(0x176)]!==void 0x0&&_0x3e2885['width']<=0x0)return _0x3bb561(0x13d);if(_0x3e2885['height']!==void 0x0&&_0x3e2885['height']<=0x0)return _0x3bb561(0x10b);for(let _0x24b8f0 of[_0x3bb561(0x122),_0x3bb561(0x190)]){let _0x798430=_0x3e2885[_0x24b8f0];if(_0x798430!==void 0x0&&typeof _0x798430!=_0x3bb561(0x193))return _0x3bb561(0x157)+_0x24b8f0+_0x3bb561(0x1b4);}}let _0x1c5d05=_0x3d40c6[_0x3bb561(0x16b)];return!_0x513f7b&&_0x1c5d05&&('relation'in _0x1c5d05||'points'in _0x1c5d05)?_0x3bb561(0x194):null;}var f=class extends u{[_0x889816(0x128)](){return!0x0;}[_0x889816(0x177)](){const _0x37179e=_0x889816;let _0x2d85b3=this[_0x37179e(0x134)]();return _0x2d85b3?n[_0x37179e(0x10a)][_0x37179e(0x1db)](_0x2d85b3[_0x37179e(0x1df)]):null;}[_0x889816(0x19a)](){const _0x90d725=_0x889816;let _0x1aec8c=this[_0x90d725(0x134)]();return _0x1aec8c?n[_0x90d725(0x10a)][_0x90d725(0x1db)](_0x1aec8c[_0x90d725(0x179)]):null;}[_0x889816(0x183)](){const _0x1c4964=_0x889816;let _0x37ef1b=this['_getConnectorSnapshot']();return _0x37ef1b?n[_0x1c4964(0x10a)][_0x1c4964(0x1db)](_0x37ef1b[_0x1c4964(0x197)]):null;}[_0x889816(0x155)](){const _0x2a5e27=_0x889816;let _0x34f4ff=this[_0x2a5e27(0x134)]();return _0x34f4ff?n[_0x2a5e27(0x10a)][_0x2a5e27(0x1db)](_0x34f4ff[_0x2a5e27(0x184)]):null;}[_0x889816(0x153)](){const _0x3178cb=_0x889816;let _0x4753bb=this[_0x3178cb(0x134)]();return _0x4753bb?n['Tools']['deepClone'](_0x4753bb[_0x3178cb(0x15d)]):null;}['setShapeType'](_0x3424fe){const _0x5b473d=_0x889816;return(0x0,e['isConnectorShape'])(_0x3424fe)?super[_0x5b473d(0x111)](_0x3424fe):(console[_0x5b473d(0x1c0)](_0x5b473d(0x173)+this[_0x5b473d(0x18a)][_0x5b473d(0x1bd)]+'\x22\x20requires\x20a\x20Connector\x20Shape\x20type.'),this);}[_0x889816(0x1a0)](_0x4bb8cd){const _0x1d137a=_0x889816;return _0x4bb8cd[_0x1d137a(0x1cb)]!==void 0x0&&!(0x0,e[_0x1d137a(0x128)])(_0x4bb8cd['shapeType'])?(console[_0x1d137a(0x1c0)]('[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22'+this[_0x1d137a(0x18a)][_0x1d137a(0x1bd)]+_0x1d137a(0x1bb)),this):super[_0x1d137a(0x1a0)](_0x4bb8cd);}['bindStart'](_0x4311df,_0x1d1861){const _0x1e9f42=_0x889816;return this['_bind'](_0x1e9f42(0x1df),_0x4311df,_0x1d1861),this;}[_0x889816(0x1c4)](_0x1f6adf,_0x2cbc0e){const _0x57d55c=_0x889816;return this[_0x57d55c(0x17f)](_0x57d55c(0x179),_0x1f6adf,_0x2cbc0e),this;}[_0x889816(0x131)](){const _0x3f4829=_0x889816;return this[_0x3f4829(0x117)]('unbind\x20start',_0x135ed0=>_0x135ed0[_0x3f4829(0x131)](this[_0x3f4829(0x18a)])),this;}[_0x889816(0x19b)](){const _0x915cb5=_0x889816;return this[_0x915cb5(0x117)](_0x915cb5(0x113),_0x1da377=>_0x1da377['unbindEnd'](this[_0x915cb5(0x18a)])),this;}['setStartPoint'](_0x781a14){const _0x6f6bd4=_0x889816;return p(_0x781a14,this[_0x6f6bd4(0x18a)][_0x6f6bd4(0x1bd)])&&this[_0x6f6bd4(0x117)](_0x6f6bd4(0x15a),_0x32addf=>_0x32addf[_0x6f6bd4(0x118)](this['_shapeRef'],_0x781a14)),this;}[_0x889816(0x171)](_0x1fc1c5){const _0x5f0ced=_0x889816;return p(_0x1fc1c5,this[_0x5f0ced(0x18a)][_0x5f0ced(0x1bd)])&&this[_0x5f0ced(0x117)](_0x5f0ced(0x189),_0x379c21=>_0x379c21['setEndPoint'](this[_0x5f0ced(0x18a)],_0x1fc1c5)),this;}[_0x889816(0x1ba)](_0x2bc51e){const _0x4d50d4=_0x889816;return _0x2bc51e[_0x4d50d4(0x18e)](_0x400c51=>p(_0x400c51,this[_0x4d50d4(0x18a)]['shapeId']))&&this['_mutateConnector']('set\x20route\x20points',_0x4d4bb6=>_0x4d4bb6[_0x4d50d4(0x1ba)](this[_0x4d50d4(0x18a)],_0x2bc51e)),this;}['setStartArrow'](_0x5a4317,_0x229507){const _0x5000cb=_0x889816;return this[_0x5000cb(0x117)]('set\x20start\x20arrow',_0x4485a4=>_0x4485a4[_0x5000cb(0x1a2)](this[_0x5000cb(0x18a)],_0x5a4317,_0x229507)),this;}[_0x889816(0x1e0)](_0x5af428,_0x3dc53d){const _0x4ac1a3=_0x889816;return this[_0x4ac1a3(0x117)](_0x4ac1a3(0x1c6),_0x3588cf=>_0x3588cf[_0x4ac1a3(0x1e0)](this[_0x4ac1a3(0x18a)],_0x5af428,_0x3dc53d)),this;}[_0x889816(0x1c9)](){const _0x57074a=_0x889816;return this[_0x57074a(0x1ef)][_0x57074a(0x1a6)](e[_0x57074a(0x167)]);}[_0x889816(0x134)](){const _0x3dac51=_0x889816;let _0x482ecf=this['_getConnectorAdapter']();if(!_0x482ecf)return null;try{return _0x482ecf[_0x3dac51(0x112)](this[_0x3dac51(0x18a)])||(console['warn'](_0x3dac51(0x173)+this[_0x3dac51(0x18a)][_0x3dac51(0x1bd)]+_0x3dac51(0x1ad)),null);}catch(_0x5b6f19){return console[_0x3dac51(0x1c0)](_0x3dac51(0x1d6)+this[_0x3dac51(0x18a)][_0x3dac51(0x1bd)]+'\x22.',_0x5b6f19),null;}}[_0x889816(0x17f)](_0x2fb36a,_0x2a8bfc,_0xa58b5){const _0x34c804=_0x889816;if(!_0x2a8bfc||!Number[_0x34c804(0x130)](_0xa58b5)||_0xa58b5<0x0)return console['warn']('[Shape\x20Facade]:\x20Connector\x20\x22'+this[_0x34c804(0x18a)][_0x34c804(0x1bd)]+_0x34c804(0x1e3)),!0x1;let _0x1728d9={'shapeId':_0x2a8bfc,'cxnIndex':_0xa58b5};return this[_0x34c804(0x117)](_0x34c804(0x142)+_0x2fb36a,_0x10aa1f=>_0x2fb36a==='start'?_0x10aa1f[_0x34c804(0x104)](this[_0x34c804(0x18a)],_0x1728d9):_0x10aa1f[_0x34c804(0x1c4)](this['_shapeRef'],_0x1728d9));}['_mutateConnector'](_0x40cd72,_0x20cf62){const _0x3952ee=_0x889816;let _0x200985=this[_0x3952ee(0x1c9)]();if(!_0x200985)return!0x1;try{let _0x998648=_0x20cf62(_0x200985);return _0x998648||console['warn'](_0x3952ee(0x15f)+_0x40cd72+_0x3952ee(0x1c7)+this['_shapeRef']['shapeId']+'\x22.'),_0x998648;}catch(_0x19af4c){return console[_0x3952ee(0x1c0)](_0x3952ee(0x15f)+_0x40cd72+_0x3952ee(0x1c7)+this[_0x3952ee(0x18a)]['shapeId']+'\x22.',_0x19af4c),!0x1;}}};function p(_0x1ee7be,_0x3281cf){const _0x56479a=_0x889816;return!Number['isFinite'](_0x1ee7be['x'])||!Number['isFinite'](_0x1ee7be['y'])?(console[_0x56479a(0x1c0)](_0x56479a(0x165)+_0x3281cf+'\x22\x20points\x20must\x20contain\x20finite\x20coordinates.'),!0x1):!0x0;}exports[_0x889816(0x1d1)]=f,Object[_0x889816(0x198)](exports,_0x889816(0x127),{'enumerable':!0x0,'get':function(){return u;}}),exports[_0x889816(0x19e)]=o;
|