@univerjs-pro/engine-shape 1.0.0-alpha.4 → 1.0.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +3 -3
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x20c3(_0x99fd55,_0x1ac25d){_0x99fd55=_0x99fd55-0x127;const _0x57962f=_0x5796();let _0x20c343=_0x57962f[_0x99fd55];return _0x20c343;}function _0x5796(){const _0x30303e=['getAdjustPoints','setStrokeWidth','FConnectorShape','GradientFill','linear','applyShapeTextStyle','updateShape','mode','_mutateConnector','set\x20route\x20points','Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.','bringForward','radial','unbindStart','Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.','startArrow','setRichText','offsetX','_getConnectorSnapshot','_patchStroke','setShapeData','isVisible','sendBackward','[Shape\x20Text\x20Facade]:\x20Shape\x20\x22','shapeType','getDrawingPoints','15980382bnhMnT','[Shape\x20Facade]:\x20','gradient','setNoneFill','_getShapeData','\x22\x20requires\x20Connector\x20Shape\x20data.','setSelectable','length','getShape','setShapeType','shapeTextToRichTextValue','setImageFill','NoLine','ShapeTextAutoFitType','unbind\x20end','getRichText','3280445UnyNLA','resolveShapeTextBoxOptions','getHostType','SolidLine','getText','extend','toPlainText','setBold','PictureFill','Module','setSolidFill','every','Tools','setName','Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.','[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','FALSE','[Shape\x20Facade]:\x20Failed\x20to\x20','getConnectionSites','none','get','[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22','height','FBase','_shapeRef','bindEnd','[Shape\x20Facade]:\x20Connector\x20\x22','\x20Shape\x20\x22','\x22\x20requires\x20a\x20Connector\x20Shape\x20type.','IConnectorShapeHostAdapter','2325JptKwH','flipY','Linear','Radial','remove','getSnapshot','selectable','\x22\x20must\x20be\x20boolean.','isInteger','getStartConnectInfo','TRUE','setStrokeLineType','bring\x20forward','[Shape\x20Facade]:\x20Shape\x20\x22','setEndArrow','setCustomGeometry','6523864VUuhEy','deepClone','SolidFill','setTextBoxOptions','sendToBack','FShapeText','relation','set\x20start\x20point','top','getEndEndpoint','2122meZHdJ','setGradientFill','setStartPoint','ShapeFillEnum','ShapeTextWrapType','isConnectorShape','setTransform','ShapeTypeEnum','setVerticalAlign','ShapeLineJoinEnum','ImageFillModeEnum','_bind','description','IShapeHostAdapterRegistry','6xOnQAT','isFinite','setStartArrow','ShapeGradientTypeEnum','shapeText','getConnectionSiteList','Tile','BooleanNumber','\x20Connector\x20Shape\x20\x22','setUnderline','set\x20end\x20point','unbindEnd','diamond','color','applyShapeTextAlignment','tile','scaleY','width','stretch','customGeometry','lineStrokeType','_getAdapter','setFontFamily','transform','isCustomShape','\x22\x20must\x20be\x20finite.','hostType','shapeId','setSize','toStringTag','send\x20backward','visible','removeShape','setHorizontalAlign','728449XkywYr','bring\x20to\x20front','setRoutePoints','3190692EabcrR','ShapeModel','_injector','getDescription','ShapeLineTypeEnum','setRotation','createInstance','setAbsolutePosition','boolean','opacity','solid','update','ShapeLineDashEnum','bindStart','\x22\x20points\x20must\x20contain\x20finite\x20coordinates.','_updateShapeData','_getGeometryModel','ImageSourceTypeEnum','end','rgba(0,\x200,\x200,\x200)','ShapeArrowSizeEnum','rotation','map','picture','warn','ShapeArrowTypeEnum','getEndConnectInfo','_patchShapeData','getRoutePoints','offsetY','getStartEndpoint','start','setEndPoint','setStrokeLineCapType','Angular','getTextBoxOptions','applyTextToShapeText','getTransform','routePoints','ShapeImageSourceTypeEnum','setVisible','getPlainText','ShapeTextDirection','7472801kiUzmx','bringToFront','set\x20end\x20arrow','ShapeLineCapEnum','_mutate','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22','setTextStyle','FShape','unbind\x20start','ShapeImageFillModeEnum','_getSnapshot','shapeData','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','getId','\x22\x20text.','getShapeData','_getConnectorAdapter','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.'];_0x5796=function(){return _0x30303e;};return _0x5796();}const _0x665fdc=_0x20c3;(function(_0x5befe5,_0x656fae){const _0x266b70=_0x20c3,_0x4b45c5=_0x5befe5();while(!![]){try{const _0xbabb3b=-parseInt(_0x266b70(0x1da))/0x1+-parseInt(_0x266b70(0x1aa))/0x2*(parseInt(_0x266b70(0x190))/0x3)+parseInt(_0x266b70(0x1dd))/0x4+-parseInt(_0x266b70(0x172))/0x5+parseInt(_0x266b70(0x1b8))/0x6*(parseInt(_0x266b70(0x135))/0x7)+-parseInt(_0x266b70(0x1a0))/0x8+parseInt(_0x266b70(0x162))/0x9;if(_0xbabb3b===_0x656fae)break;else _0x4b45c5['push'](_0x4b45c5['shift']());}catch(_0x1c4c9d){_0x4b45c5['push'](_0x4b45c5['shift']());}}}(_0x5796,0x97016),Object['defineProperty'](exports,Symbol[_0x665fdc(0x1d5)],{'value':_0x665fdc(0x17b)}));let e=require('@univerjs-pro/engine-shape'),t=require('@univerjs/core/facade'),n=require('@univerjs/core');var r=class extends t['FEnum']{get[_0x665fdc(0x1b1)](){return e['ShapeTypeEnum'];}get[_0x665fdc(0x1ad)](){const _0x5223be=_0x665fdc;return e[_0x5223be(0x1ad)];}get['ShapeGradientTypeEnum'](){const _0x18d24f=_0x665fdc;return e[_0x18d24f(0x1bb)];}get[_0x665fdc(0x13e)](){const _0x45c48d=_0x665fdc;return e[_0x45c48d(0x1b4)];}get[_0x665fdc(0x131)](){const _0x20f3d0=_0x665fdc;return e[_0x20f3d0(0x1ee)];}get['ShapeLineTypeEnum'](){return e['ShapeLineTypeEnum'];}get['ShapeLineDashEnum'](){const _0x35133e=_0x665fdc;return e[_0x35133e(0x1e9)];}get['ShapeLineCapEnum'](){const _0xc49a3f=_0x665fdc;return e[_0xc49a3f(0x138)];}get['ShapeLineJoinEnum'](){const _0x361269=_0x665fdc;return e[_0x361269(0x1b3)];}get['ShapeOperatorEnum'](){return e['ShapeOperatorEnum'];}get[_0x665fdc(0x1f6)](){const _0x40f537=_0x665fdc;return e[_0x40f537(0x1f6)];}get[_0x665fdc(0x1f1)](){const _0x53955f=_0x665fdc;return e[_0x53955f(0x1f1)];}get['ShapeTextAutoFitType'](){const _0x24296a=_0x665fdc;return e[_0x24296a(0x16f)];}get[_0x665fdc(0x134)](){const _0x3d91e1=_0x665fdc;return e[_0x3d91e1(0x134)];}get['ShapeTextWrapType'](){const _0x483219=_0x665fdc;return e[_0x483219(0x1ae)];}};t['FEnum'][_0x665fdc(0x177)](r);function i(_0x2a9070){const _0x5dec4a=_0x665fdc;switch(_0x2a9070){case e['ShapeGradientTypeEnum'][_0x5dec4a(0x193)]:return _0x5dec4a(0x154);case e[_0x5dec4a(0x1bb)][_0x5dec4a(0x12c)]:return'angular';case e[_0x5dec4a(0x1bb)]['Diamond']:return _0x5dec4a(0x1c4);case e['ShapeGradientTypeEnum'][_0x5dec4a(0x192)]:default:return _0x5dec4a(0x14c);}}function a(_0x424917){const _0x669326=_0x665fdc;return _0x424917===e[_0x669326(0x1b4)][_0x669326(0x1be)]?_0x669326(0x1c7):_0x669326(0x1ca);}var o=class{constructor(_0x21a668,_0x373aa1){const _0x3c2ac5=_0x665fdc;this['_shapeRef']=_0x21a668,this[_0x3c2ac5(0x1df)]=_0x373aa1;}['getRichText'](){const _0x1d5398=_0x665fdc;var _0x5f39c5;return(0x0,e[_0x1d5398(0x16c)])((_0x5f39c5=this[_0x1d5398(0x166)]())==null?void 0x0:_0x5f39c5[_0x1d5398(0x1bc)]);}[_0x665fdc(0x133)](){const _0x37f38b=_0x665fdc;var _0x506988,_0x288eb0;return(_0x506988=(_0x288eb0=this[_0x37f38b(0x171)]())==null?void 0x0:_0x288eb0[_0x37f38b(0x178)]())==null?null:_0x506988;}[_0x665fdc(0x158)](_0x145315){return this['_updateShapeData'](_0x43a4ab=>({..._0x43a4ab,'shapeText':(0x0,e['applyRichTextToShapeText'])(_0x43a4ab['shapeText'],_0x145315)})),this;}['setText'](_0x3c419e){const _0x388831=_0x665fdc;return this[_0x388831(0x1ec)](_0x1a4002=>({..._0x1a4002,'shapeText':(0x0,e[_0x388831(0x12e)])(_0x1a4002[_0x388831(0x1bc)],_0x3c419e)})),this;}[_0x665fdc(0x13b)](_0x3f7c72){const _0x23882f=_0x665fdc;return this[_0x23882f(0x1ec)](_0x1ffa87=>({..._0x1ffa87,'shapeText':(0x0,e[_0x23882f(0x14d)])(_0x1ffa87[_0x23882f(0x1bc)],_0x3f7c72)})),this;}['setColor'](_0x51073c,_0x12ae8c){const _0x24e5ec=_0x665fdc;return this[_0x24e5ec(0x13b)]({'cl':{'rgb':_0x51073c},'textFill':{'type':_0x24e5ec(0x1e7),'color':_0x51073c,'opacity':_0x12ae8c}});}[_0x665fdc(0x165)](){const _0x189a77=_0x665fdc;return this[_0x189a77(0x13b)]({'cl':{'rgb':_0x189a77(0x1f0)},'textFill':{'type':_0x189a77(0x185)}});}[_0x665fdc(0x1ab)](_0x576892,_0x5017ce,_0x2ad470){const _0x19e438=_0x665fdc;return _0x5017ce[_0x19e438(0x169)]<0x2?(console['warn'](_0x19e438(0x181)),this):this[_0x19e438(0x13b)]({'cl':{'rgb':_0x5017ce[0x0][_0x19e438(0x1c5)]},'textFill':{'type':_0x19e438(0x164),'gradient':{'type':i(_0x576892),'angle':_0x2ad470,'stops':_0x5017ce['map'](({position:_0x517c39,color:_0x11e9e0,opacity:_0x10bcff})=>({'offset':_0x517c39,'color':_0x11e9e0,'opacity':_0x10bcff}))}}});}[_0x665fdc(0x16d)](_0x12f606,_0x373e3f=e[_0x665fdc(0x1ee)]['URL'],_0x18b863={}){const _0x3bd847=_0x665fdc;return this['setTextStyle']({'textFill':{'type':_0x3bd847(0x1f4),'picture':{'source':_0x12f606,'sourceType':_0x373e3f,'opacity':_0x18b863[_0x3bd847(0x1e6)],'mode':a(_0x18b863[_0x3bd847(0x14f)]),'scaleX':_0x18b863['scaleX'],'scaleY':_0x18b863[_0x3bd847(0x1c8)],'offsetX':_0x18b863[_0x3bd847(0x159)],'offsetY':_0x18b863[_0x3bd847(0x127)]}}});}['setFontSize'](_0x3d0e49){const _0x58a24c=_0x665fdc;return this[_0x58a24c(0x13b)]({'fs':_0x3d0e49});}[_0x665fdc(0x1ce)](_0x13abd6){const _0x4b3831=_0x665fdc;return this[_0x4b3831(0x13b)]({'ff':_0x13abd6});}[_0x665fdc(0x179)](_0x29e255){const _0x3a95be=_0x665fdc;return this[_0x3a95be(0x13b)]({'bl':_0x29e255?n[_0x3a95be(0x1bf)][_0x3a95be(0x19a)]:n['BooleanNumber'][_0x3a95be(0x182)]});}['setItalic'](_0x1ad242){const _0xd36f87=_0x665fdc;return this[_0xd36f87(0x13b)]({'it':_0x1ad242?n['BooleanNumber'][_0xd36f87(0x19a)]:n[_0xd36f87(0x1bf)]['FALSE']});}[_0x665fdc(0x1c1)](_0x1fb8fc){const _0x18fe56=_0x665fdc;return this[_0x18fe56(0x13b)]({'ul':{'s':_0x1fb8fc?n[_0x18fe56(0x1bf)][_0x18fe56(0x19a)]:n['BooleanNumber'][_0x18fe56(0x182)]}});}['setStrikethrough'](_0x2079cb){const _0x2a7b90=_0x665fdc;return this[_0x2a7b90(0x13b)]({'st':{'s':_0x2079cb?n[_0x2a7b90(0x1bf)][_0x2a7b90(0x19a)]:n[_0x2a7b90(0x1bf)][_0x2a7b90(0x182)]}});}[_0x665fdc(0x1d9)](_0x5dcb78){const _0x274495=_0x665fdc;return this['_updateShapeData'](_0x22a49d=>(0x0,e[_0x274495(0x1c6)])(_0x22a49d,{'horizontalAlign':_0x5dcb78})),this;}[_0x665fdc(0x1b2)](_0x2618ac){const _0x128b61=_0x665fdc;return this[_0x128b61(0x1ec)](_0x47abd0=>(0x0,e[_0x128b61(0x1c6)])(_0x47abd0,{'verticalAlign':_0x2618ac})),this;}[_0x665fdc(0x12d)](){const _0x27ee74=_0x665fdc;let _0x3eea30=this['_getShapeData']();return _0x3eea30?(0x0,e[_0x27ee74(0x173)])(_0x3eea30):null;}[_0x665fdc(0x1a3)](_0x1508a9){const _0x542135=_0x665fdc;return this[_0x542135(0x1ec)](_0x5066b3=>(0x0,e['applyShapeTextBoxOptions'])(_0x5066b3,_0x1508a9)),this;}['_getAdapter'](){const _0x34c08f=_0x665fdc;return this[_0x34c08f(0x1df)][_0x34c08f(0x186)](e[_0x34c08f(0x1b7)])[_0x34c08f(0x186)](this[_0x34c08f(0x18a)][_0x34c08f(0x1d2)]);}['_getShapeData'](){const _0x1f3d88=_0x665fdc;let _0xa27e56=this['_getAdapter']();if(!_0xa27e56)return null;try{var _0x2c18da;return((_0x2c18da=_0xa27e56[_0x1f3d88(0x16a)](this[_0x1f3d88(0x18a)]))==null?void 0x0:_0x2c18da[_0x1f3d88(0x140)])||(console[_0x1f3d88(0x1f5)](_0x1f3d88(0x15f)+this[_0x1f3d88(0x18a)][_0x1f3d88(0x1d3)]+'\x22\x20was\x20not\x20found.'),null);}catch(_0x1f5830){return console['warn']('[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22'+this[_0x1f3d88(0x18a)][_0x1f3d88(0x1d3)]+'\x22\x20text.',_0x1f5830),null;}}[_0x665fdc(0x1ec)](_0x41a26b){const _0x5f78f=_0x665fdc;let _0x5ca224=this[_0x5f78f(0x1cd)]();if(!_0x5ca224)return!0x1;try{var _0x129c2f;let _0xdd7fb=(_0x129c2f=_0x5ca224[_0x5f78f(0x16a)](this[_0x5f78f(0x18a)]))==null?void 0x0:_0x129c2f[_0x5f78f(0x140)];if(!_0xdd7fb)return console[_0x5f78f(0x1f5)](_0x5f78f(0x15f)+this['_shapeRef'][_0x5f78f(0x1d3)]+'\x22\x20was\x20not\x20found.'),!0x1;let _0xa1ce12=_0x5ca224[_0x5f78f(0x14e)](this[_0x5f78f(0x18a)],{'shapeData':_0x41a26b(_0xdd7fb)});return _0xa1ce12||console[_0x5f78f(0x1f5)]('[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22'+this[_0x5f78f(0x18a)][_0x5f78f(0x1d3)]+_0x5f78f(0x143)),_0xa1ce12;}catch(_0x15485a){return console[_0x5f78f(0x1f5)]('[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22'+this[_0x5f78f(0x18a)][_0x5f78f(0x1d3)]+'\x22\x20text.',_0x15485a),!0x1;}}},s=class extends t[_0x665fdc(0x189)]{constructor(_0x3569b3,_0x1d8108){const _0x374477=_0x665fdc;super(),this[_0x374477(0x18a)]=_0x3569b3,this[_0x374477(0x1df)]=_0x1d8108;}['isConnectorShape'](){return!0x1;}[_0x665fdc(0x142)](){const _0x5e2c9a=_0x665fdc;return this[_0x5e2c9a(0x18a)][_0x5e2c9a(0x1d3)];}['getName'](){const _0x325ed9=_0x665fdc;var _0x2c46f4;return(_0x2c46f4=this[_0x325ed9(0x13f)]())==null?void 0x0:_0x2c46f4['name'];}[_0x665fdc(0x17f)](_0x17b8d1){const _0x4c30f8=_0x665fdc;return this[_0x4c30f8(0x1e8)]({'name':_0x17b8d1});}[_0x665fdc(0x1e0)](){const _0x5bae36=_0x665fdc;var _0x57c47e;return(_0x57c47e=this['_getSnapshot']())==null?void 0x0:_0x57c47e[_0x5bae36(0x1b6)];}['setDescription'](_0x5421f6){const _0x56acbd=_0x665fdc;return this[_0x56acbd(0x1e8)]({'description':_0x5421f6});}[_0x665fdc(0x174)](){const _0x46ea93=_0x665fdc;return this['_shapeRef'][_0x46ea93(0x1d2)];}['getShapeType'](){const _0x27b86e=_0x665fdc;var _0x163c62,_0x25e786;return(_0x163c62=(_0x25e786=this[_0x27b86e(0x13f)]())==null?void 0x0:_0x25e786[_0x27b86e(0x160)])==null?null:_0x163c62;}['getShapeData'](){const _0x3d3b5e=_0x665fdc;let _0x13b6f8=this[_0x3d3b5e(0x13f)]();return _0x13b6f8?n[_0x3d3b5e(0x17e)][_0x3d3b5e(0x1a1)](_0x13b6f8[_0x3d3b5e(0x140)]):null;}[_0x665fdc(0x195)](){const _0x1a2620=_0x665fdc;let _0x1aae97=this['_getSnapshot']();return _0x1aae97?n[_0x1a2620(0x17e)][_0x1a2620(0x1a1)](_0x1aae97):null;}[_0x665fdc(0x12f)](){const _0x691a7c=_0x665fdc;let _0x399026=this[_0x691a7c(0x13f)]();return _0x399026?{..._0x399026[_0x691a7c(0x1cf)]}:null;}[_0x665fdc(0x15d)](){const _0x4ddb7a=_0x665fdc;var _0x2b8a79,_0x2fbbbe;return(_0x2b8a79=(_0x2fbbbe=this[_0x4ddb7a(0x13f)]())==null?void 0x0:_0x2fbbbe[_0x4ddb7a(0x1d7)])==null?!0x1:_0x2b8a79;}[_0x665fdc(0x132)](_0x4167e7){const _0x8770ea=_0x665fdc;return this[_0x8770ea(0x1e8)]({'visible':_0x4167e7});}['isSelectable'](){const _0x267ed8=_0x665fdc;var _0x3d2c39,_0x1f95ee;return(_0x3d2c39=(_0x1f95ee=this[_0x267ed8(0x13f)]())==null?void 0x0:_0x1f95ee[_0x267ed8(0x196)])==null?!0x1:_0x3d2c39;}[_0x665fdc(0x168)](_0x38c589){const _0x1d6936=_0x665fdc;return this[_0x1d6936(0x1e8)]({'selectable':_0x38c589});}[_0x665fdc(0x176)](){const _0x14b732=_0x665fdc;return this[_0x14b732(0x1df)][_0x14b732(0x1e3)](o,this[_0x14b732(0x18a)],this[_0x14b732(0x1df)]);}[_0x665fdc(0x1d0)](){const _0x34432e=_0x665fdc;let _0x3f4c03=this[_0x34432e(0x144)]();return(_0x3f4c03==null?void 0x0:_0x3f4c03['isCustom'])===!0x0&&!!_0x3f4c03[_0x34432e(0x1cb)];}['getCustomGeometry'](){const _0x45aec5=_0x665fdc;var _0x1ce4c6,_0x1122cc;return(_0x1ce4c6=(_0x1122cc=this[_0x45aec5(0x144)]())==null?void 0x0:_0x1122cc[_0x45aec5(0x1cb)])==null?null:_0x1ce4c6;}['setShapeType'](_0x4cbd6c){return this['_patchShapeData'](_0x182a44=>({..._0x182a44,'shapeType':_0x4cbd6c}),_0x4cbd6c);}[_0x665fdc(0x15c)](_0x47493a){const _0x35c841=_0x665fdc;let _0x51b679=n['Tools'][_0x35c841(0x1a1)](_0x47493a);return this[_0x35c841(0x1e8)]({'shapeType':_0x51b679[_0x35c841(0x160)],'shapeData':_0x51b679});}[_0x665fdc(0x1b0)](_0x9a96a5){const _0x360d3c=_0x665fdc;return this[_0x360d3c(0x1e8)]({'transform':_0x9a96a5});}[_0x665fdc(0x1d4)](_0x167b8b,_0x4df8cc){const _0x4f888c=_0x665fdc;return this[_0x4f888c(0x1b0)]({'width':_0x167b8b,'height':_0x4df8cc});}[_0x665fdc(0x1e2)](_0x48a66e){const _0x73aab2=_0x665fdc;return this[_0x73aab2(0x1b0)]({'rotation':_0x48a66e});}[_0x665fdc(0x1e4)](_0x5f83db,_0x5d7cf4){const _0x5efa76=_0x665fdc;return this[_0x5efa76(0x1b0)]({'left':_0x5f83db,'top':_0x5d7cf4});}[_0x665fdc(0x19f)](_0x44fc17){const _0x52a1c9=_0x665fdc;let _0x1c19f5=n['Tools']['deepClone'](_0x44fc17);return this[_0x52a1c9(0x1f8)](_0x55bf29=>({..._0x55bf29,'isCustom':!0x0,'customGeometry':_0x1c19f5}));}[_0x665fdc(0x184)](){const _0x5c3db1=_0x665fdc;var _0x16d0a6,_0x52adb8;return(_0x16d0a6=(_0x52adb8=this['_getGeometryModel']())==null?void 0x0:_0x52adb8[_0x5c3db1(0x1bd)]()['map'](_0x575af3=>({..._0x575af3})))==null?[]:_0x16d0a6;}[_0x665fdc(0x148)](){const _0x2753cf=_0x665fdc;var _0x5ac225,_0x2b2393;return(_0x5ac225=(_0x2b2393=this[_0x2753cf(0x1ed)]())==null?void 0x0:_0x2b2393[_0x2753cf(0x161)]()[_0x2753cf(0x1f3)](_0x3abbaf=>({..._0x3abbaf})))==null?[]:_0x5ac225;}['getStartConnectInfo'](){const _0x2cc9e7=_0x665fdc;var _0x49e8c1;let _0x101674=(_0x49e8c1=this[_0x2cc9e7(0x1ed)]())==null?void 0x0:_0x49e8c1[_0x2cc9e7(0x199)]();return _0x101674?{..._0x101674}:null;}[_0x665fdc(0x1f7)](){const _0x392965=_0x665fdc;var _0x11dcb8;let _0x3d917d=(_0x11dcb8=this[_0x392965(0x1ed)]())==null?void 0x0:_0x11dcb8[_0x392965(0x1f7)]();return _0x3d917d?{..._0x3d917d}:null;}[_0x665fdc(0x17c)](_0x256b56,_0x3d0db1){const _0xb3834c=_0x665fdc;return this[_0xb3834c(0x1f8)](_0x8808ae=>({..._0x8808ae,'fill':{'fillType':e['ShapeFillEnum'][_0xb3834c(0x1a2)],'color':_0x256b56,'opacity':_0x3d0db1}}));}[_0x665fdc(0x1ab)](_0x1c1f3c,_0x4e8b2e,_0x47475f){const _0x47f8f8=_0x665fdc;return _0x4e8b2e[_0x47f8f8(0x169)]<0x2?(console[_0x47f8f8(0x1f5)](_0x47f8f8(0x147)),this):this['_patchShapeData'](_0x354c9b=>({..._0x354c9b,'fill':{'fillType':e[_0x47f8f8(0x1ad)][_0x47f8f8(0x14b)],'gradientType':_0x1c1f3c,'gradientStops':n[_0x47f8f8(0x17e)]['deepClone'](_0x4e8b2e),'gradientAngle':_0x47475f}}));}['setImageFill'](_0xcebd31,_0x5b3ba9,_0x104876={}){const _0x488315=_0x665fdc;return this['_patchShapeData'](_0x534c46=>({..._0x534c46,'fill':{...n[_0x488315(0x17e)]['deepClone'](_0x104876),'fillType':e[_0x488315(0x1ad)][_0x488315(0x17a)],'fillImageSource':_0xcebd31,'fillImageSourceType':_0x5b3ba9}}));}[_0x665fdc(0x165)](){const _0x2aab41=_0x665fdc;return this[_0x2aab41(0x1f8)](_0x92e209=>({..._0x92e209,'fill':{'fillType':e['ShapeFillEnum']['NoFill']}}));}['setStroke'](_0x26685d){const _0x1de5d4=_0x665fdc;return this[_0x1de5d4(0x1f8)](_0x5ee54c=>({..._0x5ee54c,'stroke':n[_0x1de5d4(0x17e)][_0x1de5d4(0x1a1)](_0x26685d)}));}['setStrokeColor'](_0x2b7c7c){const _0x493361=_0x665fdc;return this[_0x493361(0x15b)](_0x32985f=>({..._0x32985f,'color':_0x2b7c7c,'lineStrokeType':_0x32985f[_0x493361(0x1cc)]===e[_0x493361(0x1e1)][_0x493361(0x16e)]?e['ShapeLineTypeEnum'][_0x493361(0x175)]:_0x32985f[_0x493361(0x1cc)]}));}[_0x665fdc(0x149)](_0x13f6ac){const _0x1a2a73=_0x665fdc;return this[_0x1a2a73(0x15b)](_0x323a7a=>({..._0x323a7a,'width':_0x13f6ac,'lineStrokeType':_0x323a7a['lineStrokeType']===e[_0x1a2a73(0x1e1)][_0x1a2a73(0x16e)]?e['ShapeLineTypeEnum'][_0x1a2a73(0x175)]:_0x323a7a[_0x1a2a73(0x1cc)]}));}['setStrokeOpacity'](_0x402d41){const _0x1ba239=_0x665fdc;return this[_0x1ba239(0x15b)](_0x18187c=>({..._0x18187c,'opacity':_0x402d41}));}['setStrokeLineDashType'](_0x301f96){const _0x5a698c=_0x665fdc;return this[_0x5a698c(0x15b)](_0x2ed3fd=>({..._0x2ed3fd,'dashType':_0x301f96}));}['setStrokeLineJoinType'](_0x3a4bbd){const _0x4875ae=_0x665fdc;return this[_0x4875ae(0x15b)](_0x2d912e=>({..._0x2d912e,'lineJoinType':_0x3a4bbd}));}[_0x665fdc(0x12b)](_0x26c0c8){const _0x27811f=_0x665fdc;return this[_0x27811f(0x15b)](_0x3192e2=>({..._0x3192e2,'capType':_0x26c0c8}));}[_0x665fdc(0x19b)](_0x662443){return this['_patchStroke'](_0x5c0b4a=>({..._0x5c0b4a,'lineStrokeType':_0x662443}));}[_0x665fdc(0x1e8)](_0x5b7ad9){const _0x254aeb=_0x665fdc;var _0x470af5,_0x551426,_0x193436;let _0x3bbdaf=_0x5b7ad9[_0x254aeb(0x140)],_0x9ac357=_0x3bbdaf&&(_0x254aeb(0x1a6)in _0x3bbdaf||'points'in _0x3bbdaf)?this['getShapeType']():null,_0x5c865d=(_0x470af5=(_0x551426=_0x5b7ad9[_0x254aeb(0x160)])==null?(_0x193436=_0x5b7ad9['shapeData'])==null?void 0x0:_0x193436['shapeType']:_0x551426)==null?_0x9ac357:_0x470af5,_0x1e319c=c(_0x5b7ad9,_0x5c865d!==null&&(0x0,e[_0x254aeb(0x1af)])(_0x5c865d));return _0x1e319c?(console[_0x254aeb(0x1f5)](_0x254aeb(0x163)+_0x1e319c),this):(this[_0x254aeb(0x139)](_0x254aeb(0x1e8),_0x391cc2=>_0x391cc2[_0x254aeb(0x14e)](this[_0x254aeb(0x18a)],_0x5b7ad9)),this);}[_0x665fdc(0x194)](){const _0xa0d2c7=_0x665fdc;return this['_mutate'](_0xa0d2c7(0x194),_0x3e72bd=>_0x3e72bd[_0xa0d2c7(0x1d8)](this[_0xa0d2c7(0x18a)]));}[_0x665fdc(0x136)](){const _0x3d6f09=_0x665fdc;return this[_0x3d6f09(0x139)](_0x3d6f09(0x1db),_0xb9d822=>_0xb9d822[_0x3d6f09(0x136)](this[_0x3d6f09(0x18a)])),this;}['bringForward'](){const _0x276f82=_0x665fdc;return this['_mutate'](_0x276f82(0x19c),_0x5d6d0e=>_0x5d6d0e[_0x276f82(0x153)](this[_0x276f82(0x18a)])),this;}[_0x665fdc(0x15e)](){const _0x1c62b8=_0x665fdc;return this[_0x1c62b8(0x139)](_0x1c62b8(0x1d6),_0x22dab2=>_0x22dab2[_0x1c62b8(0x15e)](this[_0x1c62b8(0x18a)])),this;}[_0x665fdc(0x1a4)](){const _0x3590ac=_0x665fdc;return this['_mutate']('send\x20to\x20back',_0xfe5c57=>_0xfe5c57[_0x3590ac(0x1a4)](this[_0x3590ac(0x18a)])),this;}['_getAdapter'](){const _0x28ec07=_0x665fdc;return this[_0x28ec07(0x1df)][_0x28ec07(0x186)](e[_0x28ec07(0x1b7)])['get'](this[_0x28ec07(0x18a)]['hostType']);}[_0x665fdc(0x1f8)](_0x1b8a25,_0x21dbac){const _0x10fb4f=_0x665fdc;let _0x22a8a7=this['getShapeData']();return _0x22a8a7?this[_0x10fb4f(0x1e8)]({'shapeType':_0x21dbac,'shapeData':_0x1b8a25(_0x22a8a7)}):this;}[_0x665fdc(0x15b)](_0xe08212){const _0x2401cf=_0x665fdc;return this[_0x2401cf(0x1f8)](_0x2302e8=>{var _0x4f078c;return{..._0x2302e8,'stroke':_0xe08212((_0x4f078c=_0x2302e8['stroke'])==null?{}:_0x4f078c)};});}[_0x665fdc(0x13f)](){const _0x4c6ee5=_0x665fdc;let _0x44465b=this['_getAdapter']();if(!_0x44465b)return null;try{return _0x44465b['getShape'](this[_0x4c6ee5(0x18a)])||(console[_0x4c6ee5(0x1f5)](_0x4c6ee5(0x19d)+this[_0x4c6ee5(0x18a)]['shapeId']+'\x22\x20was\x20not\x20found.'),null);}catch(_0x46b01d){return console[_0x4c6ee5(0x1f5)](_0x4c6ee5(0x141)+this[_0x4c6ee5(0x18a)][_0x4c6ee5(0x1d3)]+'\x22.',_0x46b01d),null;}}[_0x665fdc(0x1ed)](){const _0x583b30=_0x665fdc;let _0x299a75=this[_0x583b30(0x13f)]();if(!_0x299a75)return null;try{let _0x231310=new e[(_0x583b30(0x1de))](_0x299a75[_0x583b30(0x160)],_0x299a75[_0x583b30(0x1d3)],_0x299a75[_0x583b30(0x140)]);return _0x231310['updateContext']({'width':_0x299a75[_0x583b30(0x1cf)][_0x583b30(0x1c9)],'height':_0x299a75[_0x583b30(0x1cf)][_0x583b30(0x188)]}),_0x231310;}catch(_0x44b95e){return console['warn'](_0x583b30(0x187)+this[_0x583b30(0x18a)][_0x583b30(0x1d3)]+'\x22.',_0x44b95e),null;}}[_0x665fdc(0x139)](_0x341aa8,_0x570789){const _0xbf83d8=_0x665fdc;let _0x51587c=this['_getAdapter']();if(!_0x51587c)return!0x1;try{let _0x1555c5=_0x570789(_0x51587c);return _0x1555c5||console[_0xbf83d8(0x1f5)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x341aa8+_0xbf83d8(0x18d)+this['_shapeRef'][_0xbf83d8(0x1d3)]+'\x22.'),_0x1555c5;}catch(_0x5685bb){return console[_0xbf83d8(0x1f5)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x341aa8+_0xbf83d8(0x18d)+this['_shapeRef']['shapeId']+'\x22.',_0x5685bb),!0x1;}}};function c(_0x41a610,_0x3d6f7e=!0x1){const _0x5d1a5e=_0x665fdc;for(let _0x1aae1e of[_0x5d1a5e(0x1d7),_0x5d1a5e(0x196)]){let _0x5b6002=_0x41a610[_0x1aae1e];if(_0x5b6002!==void 0x0&&typeof _0x5b6002!=_0x5d1a5e(0x1e5))return'Shape\x20\x22'+_0x1aae1e+_0x5d1a5e(0x197);}let _0xae4d19=_0x41a610[_0x5d1a5e(0x1cf)];if(_0xae4d19){for(let _0x5e82d9 of['left',_0x5d1a5e(0x1a8),'width',_0x5d1a5e(0x188),_0x5d1a5e(0x1f2)]){let _0x12f53d=_0xae4d19[_0x5e82d9];if(_0x12f53d!==void 0x0&&!Number[_0x5d1a5e(0x1b9)](_0x12f53d))return'Shape\x20transform\x20\x22'+_0x5e82d9+_0x5d1a5e(0x1d1);}if(_0xae4d19[_0x5d1a5e(0x1c9)]!==void 0x0&&_0xae4d19[_0x5d1a5e(0x1c9)]<=0x0)return _0x5d1a5e(0x180);if(_0xae4d19[_0x5d1a5e(0x188)]!==void 0x0&&_0xae4d19['height']<=0x0)return _0x5d1a5e(0x152);for(let _0x17f146 of['flipX',_0x5d1a5e(0x191)]){let _0x2c2ea2=_0xae4d19[_0x17f146];if(_0x2c2ea2!==void 0x0&&typeof _0x2c2ea2!='boolean')return'Shape\x20transform\x20\x22'+_0x17f146+_0x5d1a5e(0x197);}}let _0x3f113e=_0x41a610[_0x5d1a5e(0x140)];return!_0x3d6f7e&&_0x3f113e&&('relation'in _0x3f113e||'points'in _0x3f113e)?_0x5d1a5e(0x156):null;}var l=class extends s{['isConnectorShape'](){return!0x0;}[_0x665fdc(0x128)](){const _0x44985f=_0x665fdc;let _0x1a52d9=this[_0x44985f(0x15a)]();return _0x1a52d9?n['Tools'][_0x44985f(0x1a1)](_0x1a52d9[_0x44985f(0x129)]):null;}[_0x665fdc(0x1a9)](){const _0x30d4ec=_0x665fdc;let _0xed82d8=this[_0x30d4ec(0x15a)]();return _0xed82d8?n['Tools']['deepClone'](_0xed82d8[_0x30d4ec(0x1ef)]):null;}[_0x665fdc(0x1f9)](){const _0x162108=_0x665fdc;let _0x22d68f=this[_0x162108(0x15a)]();return _0x22d68f?n['Tools'][_0x162108(0x1a1)](_0x22d68f[_0x162108(0x130)]):null;}['getStartArrow'](){const _0x30cd6d=_0x665fdc;let _0x738490=this[_0x30cd6d(0x15a)]();return _0x738490?n[_0x30cd6d(0x17e)][_0x30cd6d(0x1a1)](_0x738490[_0x30cd6d(0x157)]):null;}['getEndArrow'](){const _0x4747ed=_0x665fdc;let _0x91956d=this[_0x4747ed(0x15a)]();return _0x91956d?n[_0x4747ed(0x17e)][_0x4747ed(0x1a1)](_0x91956d['endArrow']):null;}[_0x665fdc(0x16b)](_0xd8ed4){const _0x19b7c6=_0x665fdc;return(0x0,e['isConnectorShape'])(_0xd8ed4)?super[_0x19b7c6(0x16b)](_0xd8ed4):(console['warn']('[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22'+this[_0x19b7c6(0x18a)]['shapeId']+_0x19b7c6(0x18e)),this);}['setShapeData'](_0x9a72e){const _0x55340a=_0x665fdc;return _0x9a72e[_0x55340a(0x160)]!==void 0x0&&!(0x0,e['isConnectorShape'])(_0x9a72e[_0x55340a(0x160)])?(console[_0x55340a(0x1f5)](_0x55340a(0x146)+this[_0x55340a(0x18a)][_0x55340a(0x1d3)]+_0x55340a(0x167)),this):super[_0x55340a(0x15c)](_0x9a72e);}['bindStart'](_0x136318,_0x101a7c){const _0x4760ae=_0x665fdc;return this['_bind'](_0x4760ae(0x129),_0x136318,_0x101a7c),this;}['bindEnd'](_0x4a6899,_0x4313c6){const _0x59e3ec=_0x665fdc;return this[_0x59e3ec(0x1b5)](_0x59e3ec(0x1ef),_0x4a6899,_0x4313c6),this;}['unbindStart'](){const _0x54d74d=_0x665fdc;return this['_mutateConnector'](_0x54d74d(0x13d),_0x3f71cf=>_0x3f71cf[_0x54d74d(0x155)](this[_0x54d74d(0x18a)])),this;}['unbindEnd'](){const _0x49123b=_0x665fdc;return this[_0x49123b(0x150)](_0x49123b(0x170),_0x377227=>_0x377227[_0x49123b(0x1c3)](this[_0x49123b(0x18a)])),this;}['setStartPoint'](_0x4952df){const _0x3e5297=_0x665fdc;return u(_0x4952df,this[_0x3e5297(0x18a)]['shapeId'])&&this['_mutateConnector'](_0x3e5297(0x1a7),_0x1edc61=>_0x1edc61[_0x3e5297(0x1ac)](this[_0x3e5297(0x18a)],_0x4952df)),this;}[_0x665fdc(0x12a)](_0x4cfc17){const _0xc39510=_0x665fdc;return u(_0x4cfc17,this['_shapeRef'][_0xc39510(0x1d3)])&&this[_0xc39510(0x150)](_0xc39510(0x1c2),_0x1c9c85=>_0x1c9c85['setEndPoint'](this['_shapeRef'],_0x4cfc17)),this;}[_0x665fdc(0x1dc)](_0x183031){const _0x21c998=_0x665fdc;return _0x183031[_0x21c998(0x17d)](_0x2c17fd=>u(_0x2c17fd,this['_shapeRef'][_0x21c998(0x1d3)]))&&this[_0x21c998(0x150)](_0x21c998(0x151),_0x59991d=>_0x59991d[_0x21c998(0x1dc)](this[_0x21c998(0x18a)],_0x183031)),this;}['setStartArrow'](_0x29913e,_0x5a5e92){const _0x213afb=_0x665fdc;return this[_0x213afb(0x150)]('set\x20start\x20arrow',_0x24a559=>_0x24a559[_0x213afb(0x1ba)](this[_0x213afb(0x18a)],_0x29913e,_0x5a5e92)),this;}[_0x665fdc(0x19e)](_0x33901e,_0x5ad24d){const _0x56de98=_0x665fdc;return this[_0x56de98(0x150)](_0x56de98(0x137),_0x55024f=>_0x55024f[_0x56de98(0x19e)](this[_0x56de98(0x18a)],_0x33901e,_0x5ad24d)),this;}['_getConnectorAdapter'](){const _0x35a2e3=_0x665fdc;return this[_0x35a2e3(0x1df)][_0x35a2e3(0x186)](e[_0x35a2e3(0x18f)]);}[_0x665fdc(0x15a)](){const _0x30118d=_0x665fdc;let _0x83c9a6=this[_0x30118d(0x145)]();if(!_0x83c9a6)return null;try{return _0x83c9a6['getConnector'](this[_0x30118d(0x18a)])||(console[_0x30118d(0x1f5)]('[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22'+this[_0x30118d(0x18a)][_0x30118d(0x1d3)]+'\x22\x20was\x20not\x20found.'),null);}catch(_0x13cebf){return console[_0x30118d(0x1f5)](_0x30118d(0x13a)+this[_0x30118d(0x18a)]['shapeId']+'\x22.',_0x13cebf),null;}}[_0x665fdc(0x1b5)](_0x347536,_0x37533b,_0x2c4139){const _0x4f246b=_0x665fdc;if(!_0x37533b||!Number[_0x4f246b(0x198)](_0x2c4139)||_0x2c4139<0x0)return console[_0x4f246b(0x1f5)](_0x4f246b(0x18c)+this[_0x4f246b(0x18a)][_0x4f246b(0x1d3)]+'\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.'),!0x1;let _0x3cb5ea={'shapeId':_0x37533b,'cxnIndex':_0x2c4139};return this[_0x4f246b(0x150)]('bind\x20'+_0x347536,_0x4f97f9=>_0x347536===_0x4f246b(0x129)?_0x4f97f9[_0x4f246b(0x1ea)](this[_0x4f246b(0x18a)],_0x3cb5ea):_0x4f97f9[_0x4f246b(0x18b)](this[_0x4f246b(0x18a)],_0x3cb5ea));}[_0x665fdc(0x150)](_0x3964e,_0xc3efac){const _0x2c44be=_0x665fdc;let _0x563a35=this[_0x2c44be(0x145)]();if(!_0x563a35)return!0x1;try{let _0x4865f5=_0xc3efac(_0x563a35);return _0x4865f5||console[_0x2c44be(0x1f5)](_0x2c44be(0x183)+_0x3964e+_0x2c44be(0x1c0)+this[_0x2c44be(0x18a)][_0x2c44be(0x1d3)]+'\x22.'),_0x4865f5;}catch(_0x4ab440){return console[_0x2c44be(0x1f5)](_0x2c44be(0x183)+_0x3964e+_0x2c44be(0x1c0)+this['_shapeRef'][_0x2c44be(0x1d3)]+'\x22.',_0x4ab440),!0x1;}}};function u(_0x3b0909,_0x4a9a95){const _0x547a8a=_0x665fdc;return!Number[_0x547a8a(0x1b9)](_0x3b0909['x'])||!Number[_0x547a8a(0x1b9)](_0x3b0909['y'])?(console['warn'](_0x547a8a(0x18c)+_0x4a9a95+_0x547a8a(0x1eb)),!0x1):!0x0;}exports[_0x665fdc(0x14a)]=l,exports[_0x665fdc(0x13c)]=s,exports[_0x665fdc(0x1a5)]=o;
|
|
1
|
+
const _0x50050f=_0xca78;(function(_0x16406e,_0x3f8f10){const _0x2c935a=_0xca78,_0x82a3c8=_0x16406e();while(!![]){try{const _0x461367=-parseInt(_0x2c935a(0x1cb))/0x1+-parseInt(_0x2c935a(0x20e))/0x2*(parseInt(_0x2c935a(0x16e))/0x3)+-parseInt(_0x2c935a(0x1d6))/0x4*(parseInt(_0x2c935a(0x21a))/0x5)+-parseInt(_0x2c935a(0x1d3))/0x6*(-parseInt(_0x2c935a(0x18f))/0x7)+parseInt(_0x2c935a(0x1f6))/0x8*(parseInt(_0x2c935a(0x1c5))/0x9)+-parseInt(_0x2c935a(0x19a))/0xa+-parseInt(_0x2c935a(0x1ef))/0xb*(-parseInt(_0x2c935a(0x215))/0xc);if(_0x461367===_0x3f8f10)break;else _0x82a3c8['push'](_0x82a3c8['shift']());}catch(_0x575ad4){_0x82a3c8['push'](_0x82a3c8['shift']());}}}(_0x2c23,0x86c4d),Object[_0x50050f(0x1b7)](exports,Symbol['toStringTag'],{'value':_0x50050f(0x21f)}));let e=require('@univerjs-pro/engine-shape'),t=require('@univerjs/core/facade'),n=require('@univerjs/core');var r=class extends t[_0x50050f(0x214)]{get[_0x50050f(0x226)](){return e['ShapeTypeEnum'];}get[_0x50050f(0x173)](){const _0x51dda2=_0x50050f;return e[_0x51dda2(0x173)];}get[_0x50050f(0x1a2)](){return e['ShapeGradientTypeEnum'];}get[_0x50050f(0x196)](){const _0x107939=_0x50050f;return e[_0x107939(0x1ee)];}get[_0x50050f(0x1a6)](){const _0x317d20=_0x50050f;return e[_0x317d20(0x1de)];}get[_0x50050f(0x15a)](){return e['ShapeLineTypeEnum'];}get[_0x50050f(0x17c)](){const _0xb74a15=_0x50050f;return e[_0xb74a15(0x17c)];}get['ShapeLineCapEnum'](){const _0x1374d7=_0x50050f;return e[_0x1374d7(0x1a0)];}get[_0x50050f(0x1b0)](){const _0x218fd2=_0x50050f;return e[_0x218fd2(0x1b0)];}get['ShapeOperatorEnum'](){const _0x5e347e=_0x50050f;return e[_0x5e347e(0x15f)];}get['ShapeArrowTypeEnum'](){const _0x219a61=_0x50050f;return e[_0x219a61(0x20c)];}get[_0x50050f(0x154)](){return e['ShapeArrowSizeEnum'];}get[_0x50050f(0x193)](){return e['ShapeTextAutoFitType'];}get['ShapeTextDirection'](){const _0x5960d4=_0x50050f;return e[_0x5960d4(0x1f0)];}get[_0x50050f(0x205)](){return e['ShapeTextWrapType'];}};function _0x2c23(){const _0x1ab0bc=['flipY','setImageFill','setNoneFill','shapeTextToRichTextValue','IShapeHostAdapterRegistry','ShapeTypeEnum','setStrokeLineType','getStartConnectInfo','_getConnectorSnapshot','ShapeArrowSizeEnum','_bind','applyShapeTextBoxOptions','picture','[Shape\x20Facade]:\x20Failed\x20to\x20','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22','ShapeLineTypeEnum','set\x20end\x20point','_mutateConnector','GradientFill','resolveShapeTextBoxOptions','ShapeOperatorEnum','bringForward','sendToBack','setGradientFill','width','getEndEndpoint','[Shape\x20Facade]:\x20Connector\x20\x22','setRoutePoints','_getConnectorAdapter','SolidFill','get','setShapeType','isVisible','getShape','rgba(0,\x200,\x200,\x200)','686583NzzMBh','FALSE','setTextStyle','setStroke','getEndArrow','ShapeFillEnum','description','selectable','_patchShapeData','shapeText','\x22\x20text.','FBase','routePoints','remove','ShapeLineDashEnum','NoLine','Tools','setEndPoint','setVerticalAlign','_getSnapshot','\x22\x20points\x20must\x20contain\x20finite\x20coordinates.','start','getConnector','setVisible','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','customGeometry','\x22\x20was\x20not\x20found.','sendBackward','bind\x20','getDrawingPoints','\x22\x20must\x20be\x20boolean.','gradient','applyShapeTextStyle','3249106kQMrEf','setSolidFill','height','FShape','ShapeTextAutoFitType','shapeId','warn','ShapeImageFillModeEnum','ShapeModel','deepClone','relation','1291330ufNvGi','setText','unbind\x20start','getEndConnectInfo','scaleY','bindEnd','ShapeLineCapEnum','unbindEnd','ShapeGradientTypeEnum','Angular','_updateShapeData','end','ShapeImageSourceTypeEnum','getRichText','getTransform','setStrokeColor','send\x20to\x20back','isFinite','visible','set\x20start\x20point','URL','unbind\x20end','ShapeLineJoinEnum','toPlainText','applyRichTextToShapeText','mode','[Shape\x20Facade]:\x20','getRoutePoints','PictureFill','defineProperty','isCustomShape','setStrokeWidth','offsetY','map','getPlainText','endArrow','getShapeType','\x20Connector\x20Shape\x20\x22','_injector','every','setTransform','setBold','length','7227513wXvUUg','isConnectorShape','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','setStartArrow','getTextBoxOptions','getId','979027HSDpbW','[Shape\x20Text\x20Facade]:\x20Shape\x20\x22','_shapeRef','isSelectable','getText','setShapeData','setColor','lineStrokeType','12IiNjVl','setName','rotation','188iVXvoF','_getShapeData','removeShape','_mutate','set\x20route\x20points','offsetX','setHorizontalAlign','transform','ImageSourceTypeEnum','getStartEndpoint','getName','setCustomGeometry','boolean','setAbsolutePosition','[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22','startArrow','set\x20end\x20arrow','shapeType','getShapeData','top','hostType','_getGeometryModel','scaleX','updateContext','ImageFillModeEnum','1331781iPfWQo','ShapeTextDirection','diamond','[Shape\x20Facade]:\x20Shape\x20\x22','_patchStroke','applyShapeTextAlignment','points','8dnfayC','opacity','setTextBoxOptions','Shape\x20transform\x20\x22','solid','Tile','BooleanNumber','getAdjustPoints','shapeData','unbindStart','setRotation','setStrokeLineJoinType','NoFill','_getAdapter','color','ShapeTextWrapType','SolidLine','setEndArrow','stretch','updateShape','\x22\x20requires\x20a\x20Connector\x20Shape\x20type.','bindStart','ShapeArrowTypeEnum','getConnectionSites','4TcJYgX','setStartPoint','update','getSnapshot','TRUE','bringToFront','FEnum','72SMVeMn','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','\x20Shape\x20\x22','name','setSelectable','36160Cqvptt','left','setFontFamily','getCustomGeometry','applyTextToShapeText','Module','set\x20start\x20arrow'];_0x2c23=function(){return _0x1ab0bc;};return _0x2c23();}t[_0x50050f(0x214)]['extend'](r);function i(_0x57e75f){const _0x314053=_0x50050f;switch(_0x57e75f){case e[_0x314053(0x1a2)]['Radial']:return'radial';case e[_0x314053(0x1a2)][_0x314053(0x1a3)]:return'angular';case e['ShapeGradientTypeEnum']['Diamond']:return _0x314053(0x1f1);case e[_0x314053(0x1a2)]['Linear']:default:return'linear';}}function a(_0x54cf0c){const _0x582243=_0x50050f;return _0x54cf0c===e[_0x582243(0x1ee)][_0x582243(0x1fb)]?'tile':_0x582243(0x208);}var o=class{constructor(_0x4b8771,_0x23476b){const _0x565fd3=_0x50050f;this[_0x565fd3(0x1cd)]=_0x4b8771,this[_0x565fd3(0x1c0)]=_0x23476b;}[_0x50050f(0x1a7)](){const _0x17edfe=_0x50050f;var _0x34a361;return(0x0,e[_0x17edfe(0x224)])((_0x34a361=this['_getShapeData']())==null?void 0x0:_0x34a361['shapeText']);}[_0x50050f(0x1bc)](){const _0xb0b009=_0x50050f;var _0x1f5cba,_0x146966;return(_0x1f5cba=(_0x146966=this[_0xb0b009(0x1a7)]())==null?void 0x0:_0x146966[_0xb0b009(0x1b1)]())==null?null:_0x1f5cba;}['setRichText'](_0x2a6222){const _0x2e409b=_0x50050f;return this[_0x2e409b(0x1a4)](_0x1fd454=>({..._0x1fd454,'shapeText':(0x0,e[_0x2e409b(0x1b2)])(_0x1fd454[_0x2e409b(0x177)],_0x2a6222)})),this;}[_0x50050f(0x19b)](_0x431d39){const _0x1ab5e5=_0x50050f;return this[_0x1ab5e5(0x1a4)](_0x391413=>({..._0x391413,'shapeText':(0x0,e[_0x1ab5e5(0x21e)])(_0x391413['shapeText'],_0x431d39)})),this;}['setTextStyle'](_0x5ec227){const _0x525ca1=_0x50050f;return this[_0x525ca1(0x1a4)](_0x21b905=>({..._0x21b905,'shapeText':(0x0,e[_0x525ca1(0x18e)])(_0x21b905['shapeText'],_0x5ec227)})),this;}[_0x50050f(0x1d1)](_0x2e99bf,_0x2e90a4){const _0x18a2b7=_0x50050f;return this['setTextStyle']({'cl':{'rgb':_0x2e99bf},'textFill':{'type':_0x18a2b7(0x1fa),'color':_0x2e99bf,'opacity':_0x2e90a4}});}[_0x50050f(0x223)](){const _0x217008=_0x50050f;return this[_0x217008(0x170)]({'cl':{'rgb':_0x217008(0x16d)},'textFill':{'type':'none'}});}[_0x50050f(0x162)](_0x4b0403,_0x13cad9,_0x1f8ed8){const _0x4db67f=_0x50050f;return _0x13cad9['length']<0x2?(console[_0x4db67f(0x195)]('[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.'),this):this[_0x4db67f(0x170)]({'cl':{'rgb':_0x13cad9[0x0][_0x4db67f(0x204)]},'textFill':{'type':_0x4db67f(0x18d),'gradient':{'type':i(_0x4b0403),'angle':_0x1f8ed8,'stops':_0x13cad9[_0x4db67f(0x1bb)](({position:_0x6d2d69,color:_0xc411e7,opacity:_0x25b539})=>({'offset':_0x6d2d69,'color':_0xc411e7,'opacity':_0x25b539}))}}});}[_0x50050f(0x222)](_0x1e8ab6,_0x316aa8=e[_0x50050f(0x1de)][_0x50050f(0x1ae)],_0x47ed26={}){const _0x23d7a4=_0x50050f;return this[_0x23d7a4(0x170)]({'textFill':{'type':_0x23d7a4(0x157),'picture':{'source':_0x1e8ab6,'sourceType':_0x316aa8,'opacity':_0x47ed26[_0x23d7a4(0x1f7)],'mode':a(_0x47ed26[_0x23d7a4(0x1b3)]),'scaleX':_0x47ed26[_0x23d7a4(0x1ec)],'scaleY':_0x47ed26[_0x23d7a4(0x19e)],'offsetX':_0x47ed26[_0x23d7a4(0x1db)],'offsetY':_0x47ed26[_0x23d7a4(0x1ba)]}}});}['setFontSize'](_0x5e8b6d){const _0x19666d=_0x50050f;return this[_0x19666d(0x170)]({'fs':_0x5e8b6d});}[_0x50050f(0x21c)](_0x40e23f){const _0xb110c0=_0x50050f;return this[_0xb110c0(0x170)]({'ff':_0x40e23f});}[_0x50050f(0x1c3)](_0x414bdd){const _0x5dac69=_0x50050f;return this[_0x5dac69(0x170)]({'bl':_0x414bdd?n[_0x5dac69(0x1fc)][_0x5dac69(0x212)]:n[_0x5dac69(0x1fc)][_0x5dac69(0x16f)]});}['setItalic'](_0x38a7e5){const _0x37f336=_0x50050f;return this[_0x37f336(0x170)]({'it':_0x38a7e5?n[_0x37f336(0x1fc)]['TRUE']:n[_0x37f336(0x1fc)][_0x37f336(0x16f)]});}['setUnderline'](_0x31b455){const _0x4ecb7f=_0x50050f;return this[_0x4ecb7f(0x170)]({'ul':{'s':_0x31b455?n['BooleanNumber'][_0x4ecb7f(0x212)]:n[_0x4ecb7f(0x1fc)][_0x4ecb7f(0x16f)]}});}['setStrikethrough'](_0x3df2e0){const _0x1eabe1=_0x50050f;return this[_0x1eabe1(0x170)]({'st':{'s':_0x3df2e0?n[_0x1eabe1(0x1fc)][_0x1eabe1(0x212)]:n[_0x1eabe1(0x1fc)][_0x1eabe1(0x16f)]}});}[_0x50050f(0x1dc)](_0x206c20){const _0x1b22b1=_0x50050f;return this[_0x1b22b1(0x1a4)](_0x4459bc=>(0x0,e['applyShapeTextAlignment'])(_0x4459bc,{'horizontalAlign':_0x206c20})),this;}[_0x50050f(0x180)](_0x1d2451){const _0x45fb2b=_0x50050f;return this[_0x45fb2b(0x1a4)](_0xba9b2d=>(0x0,e[_0x45fb2b(0x1f4)])(_0xba9b2d,{'verticalAlign':_0x1d2451})),this;}[_0x50050f(0x1c9)](){const _0x4ee071=_0x50050f;let _0x586fdc=this[_0x4ee071(0x1d7)]();return _0x586fdc?(0x0,e[_0x4ee071(0x15e)])(_0x586fdc):null;}[_0x50050f(0x1f8)](_0x1ad10c){const _0x533f12=_0x50050f;return this[_0x533f12(0x1a4)](_0x39ae40=>(0x0,e[_0x533f12(0x156)])(_0x39ae40,_0x1ad10c)),this;}[_0x50050f(0x203)](){const _0x55eb83=_0x50050f;return this['_injector'][_0x55eb83(0x169)](e['IShapeHostAdapterRegistry'])[_0x55eb83(0x169)](this[_0x55eb83(0x1cd)]['hostType']);}['_getShapeData'](){const _0x5c78cd=_0x50050f;let _0x423da7=this[_0x5c78cd(0x203)]();if(!_0x423da7)return null;try{var _0x48d517;return((_0x48d517=_0x423da7[_0x5c78cd(0x16c)](this[_0x5c78cd(0x1cd)]))==null?void 0x0:_0x48d517[_0x5c78cd(0x1fe)])||(console['warn'](_0x5c78cd(0x1cc)+this['_shapeRef'][_0x5c78cd(0x194)]+_0x5c78cd(0x188)),null);}catch(_0x556cfd){return console[_0x5c78cd(0x195)](_0x5c78cd(0x186)+this[_0x5c78cd(0x1cd)][_0x5c78cd(0x194)]+'\x22\x20text.',_0x556cfd),null;}}['_updateShapeData'](_0x575e61){const _0x215b89=_0x50050f;let _0x587b73=this[_0x215b89(0x203)]();if(!_0x587b73)return!0x1;try{var _0x431ccb;let _0x51cb16=(_0x431ccb=_0x587b73[_0x215b89(0x16c)](this[_0x215b89(0x1cd)]))==null?void 0x0:_0x431ccb[_0x215b89(0x1fe)];if(!_0x51cb16)return console[_0x215b89(0x195)]('[Shape\x20Text\x20Facade]:\x20Shape\x20\x22'+this[_0x215b89(0x1cd)][_0x215b89(0x194)]+_0x215b89(0x188)),!0x1;let _0x1e4a1f=_0x587b73[_0x215b89(0x209)](this[_0x215b89(0x1cd)],{'shapeData':_0x575e61(_0x51cb16)});return _0x1e4a1f||console[_0x215b89(0x195)](_0x215b89(0x159)+this[_0x215b89(0x1cd)][_0x215b89(0x194)]+_0x215b89(0x178)),_0x1e4a1f;}catch(_0x55bec){return console[_0x215b89(0x195)]('[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22'+this[_0x215b89(0x1cd)][_0x215b89(0x194)]+_0x215b89(0x178),_0x55bec),!0x1;}}},s=class extends t[_0x50050f(0x179)]{constructor(_0x133433,_0x667359){const _0xbdab0b=_0x50050f;super(),this[_0xbdab0b(0x1cd)]=_0x133433,this['_injector']=_0x667359;}[_0x50050f(0x1c6)](){return!0x1;}[_0x50050f(0x1ca)](){const _0x5a90be=_0x50050f;return this[_0x5a90be(0x1cd)][_0x5a90be(0x194)];}[_0x50050f(0x1e0)](){const _0x4a519e=_0x50050f;var _0x485ec5;return(_0x485ec5=this[_0x4a519e(0x181)]())==null?void 0x0:_0x485ec5[_0x4a519e(0x218)];}[_0x50050f(0x1d4)](_0x3ea524){return this['update']({'name':_0x3ea524});}['getDescription'](){const _0x3b9f8d=_0x50050f;var _0x57a351;return(_0x57a351=this[_0x3b9f8d(0x181)]())==null?void 0x0:_0x57a351[_0x3b9f8d(0x174)];}['setDescription'](_0x46598d){const _0x111d21=_0x50050f;return this[_0x111d21(0x210)]({'description':_0x46598d});}['getHostType'](){const _0x579970=_0x50050f;return this['_shapeRef'][_0x579970(0x1ea)];}[_0x50050f(0x1be)](){const _0x20b29b=_0x50050f;var _0x3b6213,_0x435075;return(_0x3b6213=(_0x435075=this[_0x20b29b(0x181)]())==null?void 0x0:_0x435075['shapeType'])==null?null:_0x3b6213;}[_0x50050f(0x1e8)](){const _0x3d3f55=_0x50050f;let _0x3cb2c2=this[_0x3d3f55(0x181)]();return _0x3cb2c2?n[_0x3d3f55(0x17e)][_0x3d3f55(0x198)](_0x3cb2c2[_0x3d3f55(0x1fe)]):null;}[_0x50050f(0x211)](){const _0x13d063=_0x50050f;let _0x55ced6=this[_0x13d063(0x181)]();return _0x55ced6?n[_0x13d063(0x17e)][_0x13d063(0x198)](_0x55ced6):null;}[_0x50050f(0x1a8)](){const _0x3ff02e=_0x50050f;let _0x459d9a=this['_getSnapshot']();return _0x459d9a?{..._0x459d9a[_0x3ff02e(0x1dd)]}:null;}[_0x50050f(0x16b)](){const _0x4a662a=_0x50050f;var _0x267882,_0x4f9736;return(_0x267882=(_0x4f9736=this[_0x4a662a(0x181)]())==null?void 0x0:_0x4f9736['visible'])==null?!0x1:_0x267882;}[_0x50050f(0x185)](_0x2b3f01){return this['update']({'visible':_0x2b3f01});}[_0x50050f(0x1ce)](){const _0x1af65b=_0x50050f;var _0x3740bb,_0x109b76;return(_0x3740bb=(_0x109b76=this[_0x1af65b(0x181)]())==null?void 0x0:_0x109b76[_0x1af65b(0x175)])==null?!0x1:_0x3740bb;}[_0x50050f(0x219)](_0x955a9d){return this['update']({'selectable':_0x955a9d});}[_0x50050f(0x1cf)](){const _0x693a79=_0x50050f;return this[_0x693a79(0x1c0)]['createInstance'](o,this[_0x693a79(0x1cd)],this[_0x693a79(0x1c0)]);}[_0x50050f(0x1b8)](){const _0x58d2d8=_0x50050f;let _0x1bc717=this[_0x58d2d8(0x1e8)]();return(_0x1bc717==null?void 0x0:_0x1bc717['isCustom'])===!0x0&&!!_0x1bc717['customGeometry'];}[_0x50050f(0x21d)](){const _0x4a25c1=_0x50050f;var _0x2156f0,_0xa61d7a;return(_0x2156f0=(_0xa61d7a=this['getShapeData']())==null?void 0x0:_0xa61d7a[_0x4a25c1(0x187)])==null?null:_0x2156f0;}[_0x50050f(0x16a)](_0x3c4546){return this['_patchShapeData'](_0x57f732=>({..._0x57f732,'shapeType':_0x3c4546}),_0x3c4546);}[_0x50050f(0x1d0)](_0x33b684){const _0x1013d4=_0x50050f;let _0x55c3d0=n[_0x1013d4(0x17e)][_0x1013d4(0x198)](_0x33b684);return this[_0x1013d4(0x210)]({'shapeType':_0x55c3d0[_0x1013d4(0x1e7)],'shapeData':_0x55c3d0});}[_0x50050f(0x1c2)](_0x2ca261){const _0xf4862f=_0x50050f;return this[_0xf4862f(0x210)]({'transform':_0x2ca261});}['setSize'](_0x2cfc65,_0x12435e){return this['setTransform']({'width':_0x2cfc65,'height':_0x12435e});}[_0x50050f(0x200)](_0x18964b){const _0x5a4e05=_0x50050f;return this[_0x5a4e05(0x1c2)]({'rotation':_0x18964b});}[_0x50050f(0x1e3)](_0x1a57e0,_0x4bce4c){const _0x1218bf=_0x50050f;return this[_0x1218bf(0x1c2)]({'left':_0x1a57e0,'top':_0x4bce4c});}[_0x50050f(0x1e1)](_0x483694){const _0x5a6476=_0x50050f;let _0x27984c=n[_0x5a6476(0x17e)][_0x5a6476(0x198)](_0x483694);return this['_patchShapeData'](_0x370e55=>({..._0x370e55,'isCustom':!0x0,'customGeometry':_0x27984c}));}[_0x50050f(0x20d)](){const _0x4c9031=_0x50050f;var _0x1a4f1f,_0x13faed;return(_0x1a4f1f=(_0x13faed=this['_getGeometryModel']())==null?void 0x0:_0x13faed['getConnectionSiteList']()[_0x4c9031(0x1bb)](_0x27b9e9=>({..._0x27b9e9})))==null?[]:_0x1a4f1f;}[_0x50050f(0x1fd)](){const _0x43ff91=_0x50050f;var _0x4ace37,_0x181616;return(_0x4ace37=(_0x181616=this[_0x43ff91(0x1eb)]())==null?void 0x0:_0x181616[_0x43ff91(0x18b)]()['map'](_0x5a0782=>({..._0x5a0782})))==null?[]:_0x4ace37;}[_0x50050f(0x152)](){const _0x5296cc=_0x50050f;var _0x343ff9;let _0x236bed=(_0x343ff9=this[_0x5296cc(0x1eb)]())==null?void 0x0:_0x343ff9[_0x5296cc(0x152)]();return _0x236bed?{..._0x236bed}:null;}[_0x50050f(0x19d)](){var _0x37e854;let _0x4e9c2a=(_0x37e854=this['_getGeometryModel']())==null?void 0x0:_0x37e854['getEndConnectInfo']();return _0x4e9c2a?{..._0x4e9c2a}:null;}[_0x50050f(0x190)](_0xa030e9,_0x33a84c){const _0x1bdb70=_0x50050f;return this[_0x1bdb70(0x176)](_0x367ce4=>({..._0x367ce4,'fill':{'fillType':e['ShapeFillEnum'][_0x1bdb70(0x168)],'color':_0xa030e9,'opacity':_0x33a84c}}));}[_0x50050f(0x162)](_0x2b8a3c,_0x203aea,_0x1c65ae){const _0x126885=_0x50050f;return _0x203aea[_0x126885(0x1c4)]<0x2?(console[_0x126885(0x195)]('[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.'),this):this[_0x126885(0x176)](_0x5c3fa7=>({..._0x5c3fa7,'fill':{'fillType':e[_0x126885(0x173)][_0x126885(0x15d)],'gradientType':_0x2b8a3c,'gradientStops':n['Tools'][_0x126885(0x198)](_0x203aea),'gradientAngle':_0x1c65ae}}));}[_0x50050f(0x222)](_0x39c7af,_0x496ede,_0x1c2f8b={}){const _0x489c29=_0x50050f;return this[_0x489c29(0x176)](_0x3fab48=>({..._0x3fab48,'fill':{...n[_0x489c29(0x17e)][_0x489c29(0x198)](_0x1c2f8b),'fillType':e[_0x489c29(0x173)][_0x489c29(0x1b6)],'fillImageSource':_0x39c7af,'fillImageSourceType':_0x496ede}}));}[_0x50050f(0x223)](){const _0x5c779a=_0x50050f;return this[_0x5c779a(0x176)](_0x282d2a=>({..._0x282d2a,'fill':{'fillType':e[_0x5c779a(0x173)][_0x5c779a(0x202)]}}));}[_0x50050f(0x171)](_0x4911cb){const _0x3851ed=_0x50050f;return this[_0x3851ed(0x176)](_0x1ba68b=>({..._0x1ba68b,'stroke':n['Tools'][_0x3851ed(0x198)](_0x4911cb)}));}[_0x50050f(0x1a9)](_0x535477){const _0x375537=_0x50050f;return this[_0x375537(0x1f3)](_0x2c669b=>({..._0x2c669b,'color':_0x535477,'lineStrokeType':_0x2c669b[_0x375537(0x1d2)]===e[_0x375537(0x15a)][_0x375537(0x17d)]?e[_0x375537(0x15a)][_0x375537(0x206)]:_0x2c669b[_0x375537(0x1d2)]}));}[_0x50050f(0x1b9)](_0x1b0ef7){const _0x5b1087=_0x50050f;return this[_0x5b1087(0x1f3)](_0x57107c=>({..._0x57107c,'width':_0x1b0ef7,'lineStrokeType':_0x57107c[_0x5b1087(0x1d2)]===e[_0x5b1087(0x15a)][_0x5b1087(0x17d)]?e[_0x5b1087(0x15a)]['SolidLine']:_0x57107c['lineStrokeType']}));}['setStrokeOpacity'](_0x2efed3){const _0x718b4=_0x50050f;return this[_0x718b4(0x1f3)](_0x4ba387=>({..._0x4ba387,'opacity':_0x2efed3}));}['setStrokeLineDashType'](_0x202760){return this['_patchStroke'](_0x400f34=>({..._0x400f34,'dashType':_0x202760}));}[_0x50050f(0x201)](_0x32d02e){return this['_patchStroke'](_0x4048e5=>({..._0x4048e5,'lineJoinType':_0x32d02e}));}['setStrokeLineCapType'](_0x46c8cc){const _0x3c81b4=_0x50050f;return this[_0x3c81b4(0x1f3)](_0x465dbc=>({..._0x465dbc,'capType':_0x46c8cc}));}[_0x50050f(0x151)](_0x4bd518){return this['_patchStroke'](_0x22f1b3=>({..._0x22f1b3,'lineStrokeType':_0x4bd518}));}[_0x50050f(0x210)](_0x23969f){const _0x52f67a=_0x50050f;var _0x511306,_0x16ecc1,_0xec28fc;let _0x4d7611=_0x23969f[_0x52f67a(0x1fe)],_0x1889fc=_0x4d7611&&('relation'in _0x4d7611||_0x52f67a(0x1f5)in _0x4d7611)?this['getShapeType']():null,_0x85efb9=(_0x511306=(_0x16ecc1=_0x23969f['shapeType'])==null?(_0xec28fc=_0x23969f[_0x52f67a(0x1fe)])==null?void 0x0:_0xec28fc[_0x52f67a(0x1e7)]:_0x16ecc1)==null?_0x1889fc:_0x511306,_0x314c57=c(_0x23969f,_0x85efb9!==null&&(0x0,e[_0x52f67a(0x1c6)])(_0x85efb9));return _0x314c57?(console[_0x52f67a(0x195)](_0x52f67a(0x1b4)+_0x314c57),this):(this['_mutate'](_0x52f67a(0x210),_0x493ca9=>_0x493ca9[_0x52f67a(0x209)](this[_0x52f67a(0x1cd)],_0x23969f)),this);}[_0x50050f(0x17b)](){const _0x500bdf=_0x50050f;return this[_0x500bdf(0x1d9)](_0x500bdf(0x17b),_0x42919b=>_0x42919b[_0x500bdf(0x1d8)](this[_0x500bdf(0x1cd)]));}[_0x50050f(0x213)](){const _0x17b0b3=_0x50050f;return this['_mutate']('bring\x20to\x20front',_0xb09202=>_0xb09202[_0x17b0b3(0x213)](this[_0x17b0b3(0x1cd)])),this;}['bringForward'](){const _0x1e792b=_0x50050f;return this[_0x1e792b(0x1d9)]('bring\x20forward',_0x425263=>_0x425263[_0x1e792b(0x160)](this[_0x1e792b(0x1cd)])),this;}['sendBackward'](){const _0x1c9e62=_0x50050f;return this['_mutate']('send\x20backward',_0x50220b=>_0x50220b[_0x1c9e62(0x189)](this[_0x1c9e62(0x1cd)])),this;}[_0x50050f(0x161)](){const _0x2829b4=_0x50050f;return this[_0x2829b4(0x1d9)](_0x2829b4(0x1aa),_0x176f48=>_0x176f48[_0x2829b4(0x161)](this['_shapeRef'])),this;}[_0x50050f(0x203)](){const _0x5702b6=_0x50050f;return this[_0x5702b6(0x1c0)][_0x5702b6(0x169)](e[_0x5702b6(0x225)])['get'](this[_0x5702b6(0x1cd)][_0x5702b6(0x1ea)]);}[_0x50050f(0x176)](_0x22fb21,_0x3f7e6a){const _0x154368=_0x50050f;let _0x3b9f90=this[_0x154368(0x1e8)]();return _0x3b9f90?this[_0x154368(0x210)]({'shapeType':_0x3f7e6a,'shapeData':_0x22fb21(_0x3b9f90)}):this;}[_0x50050f(0x1f3)](_0x53fd3c){const _0x5ac1dc=_0x50050f;return this[_0x5ac1dc(0x176)](_0x16bc65=>{var _0x3a5bdc;return{..._0x16bc65,'stroke':_0x53fd3c((_0x3a5bdc=_0x16bc65['stroke'])==null?{}:_0x3a5bdc)};});}['_getSnapshot'](){const _0x267da7=_0x50050f;let _0x15e47a=this[_0x267da7(0x203)]();if(!_0x15e47a)return null;try{return _0x15e47a[_0x267da7(0x16c)](this[_0x267da7(0x1cd)])||(console[_0x267da7(0x195)](_0x267da7(0x1f2)+this['_shapeRef'][_0x267da7(0x194)]+_0x267da7(0x188)),null);}catch(_0x4f5c15){return console[_0x267da7(0x195)](_0x267da7(0x216)+this[_0x267da7(0x1cd)][_0x267da7(0x194)]+'\x22.',_0x4f5c15),null;}}[_0x50050f(0x1eb)](){const _0x57b63f=_0x50050f;let _0xc70395=this[_0x57b63f(0x181)]();if(!_0xc70395)return null;try{let _0x1f66d8=new e[(_0x57b63f(0x197))](_0xc70395[_0x57b63f(0x1e7)],_0xc70395[_0x57b63f(0x194)],_0xc70395[_0x57b63f(0x1fe)]);return _0x1f66d8[_0x57b63f(0x1ed)]({'width':_0xc70395[_0x57b63f(0x1dd)]['width'],'height':_0xc70395['transform'][_0x57b63f(0x191)]}),_0x1f66d8;}catch(_0x2efa0a){return console['warn'](_0x57b63f(0x1e4)+this[_0x57b63f(0x1cd)]['shapeId']+'\x22.',_0x2efa0a),null;}}[_0x50050f(0x1d9)](_0x42e0f1,_0x4c2193){const _0x2d1ad8=_0x50050f;let _0x563172=this[_0x2d1ad8(0x203)]();if(!_0x563172)return!0x1;try{let _0x38007a=_0x4c2193(_0x563172);return _0x38007a||console[_0x2d1ad8(0x195)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x42e0f1+'\x20Shape\x20\x22'+this[_0x2d1ad8(0x1cd)][_0x2d1ad8(0x194)]+'\x22.'),_0x38007a;}catch(_0x571cdb){return console[_0x2d1ad8(0x195)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x42e0f1+_0x2d1ad8(0x217)+this[_0x2d1ad8(0x1cd)][_0x2d1ad8(0x194)]+'\x22.',_0x571cdb),!0x1;}}};function c(_0x3e6313,_0x325dd6=!0x1){const _0x26f3ea=_0x50050f;for(let _0x1dc665 of[_0x26f3ea(0x1ac),_0x26f3ea(0x175)]){let _0x11ed9c=_0x3e6313[_0x1dc665];if(_0x11ed9c!==void 0x0&&typeof _0x11ed9c!='boolean')return'Shape\x20\x22'+_0x1dc665+_0x26f3ea(0x18c);}let _0x4e526a=_0x3e6313['transform'];if(_0x4e526a){for(let _0x39deb4 of[_0x26f3ea(0x21b),_0x26f3ea(0x1e9),'width',_0x26f3ea(0x191),_0x26f3ea(0x1d5)]){let _0x4aa790=_0x4e526a[_0x39deb4];if(_0x4aa790!==void 0x0&&!Number[_0x26f3ea(0x1ab)](_0x4aa790))return'Shape\x20transform\x20\x22'+_0x39deb4+'\x22\x20must\x20be\x20finite.';}if(_0x4e526a[_0x26f3ea(0x163)]!==void 0x0&&_0x4e526a[_0x26f3ea(0x163)]<=0x0)return'Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.';if(_0x4e526a[_0x26f3ea(0x191)]!==void 0x0&&_0x4e526a[_0x26f3ea(0x191)]<=0x0)return'Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.';for(let _0x11fbfc of['flipX',_0x26f3ea(0x221)]){let _0x6a5e=_0x4e526a[_0x11fbfc];if(_0x6a5e!==void 0x0&&typeof _0x6a5e!=_0x26f3ea(0x1e2))return _0x26f3ea(0x1f9)+_0x11fbfc+'\x22\x20must\x20be\x20boolean.';}}let _0x1a2dea=_0x3e6313[_0x26f3ea(0x1fe)];return!_0x325dd6&&_0x1a2dea&&(_0x26f3ea(0x199)in _0x1a2dea||_0x26f3ea(0x1f5)in _0x1a2dea)?'Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.':null;}var l=class extends s{[_0x50050f(0x1c6)](){return!0x0;}[_0x50050f(0x1df)](){const _0x4f3616=_0x50050f;let _0x133742=this['_getConnectorSnapshot']();return _0x133742?n['Tools']['deepClone'](_0x133742[_0x4f3616(0x183)]):null;}[_0x50050f(0x164)](){const _0x1e5281=_0x50050f;let _0x3c85cf=this[_0x1e5281(0x153)]();return _0x3c85cf?n['Tools']['deepClone'](_0x3c85cf[_0x1e5281(0x1a5)]):null;}[_0x50050f(0x1b5)](){const _0x2300a9=_0x50050f;let _0x189763=this['_getConnectorSnapshot']();return _0x189763?n[_0x2300a9(0x17e)][_0x2300a9(0x198)](_0x189763[_0x2300a9(0x17a)]):null;}['getStartArrow'](){const _0x50fa10=_0x50050f;let _0x481355=this[_0x50fa10(0x153)]();return _0x481355?n[_0x50fa10(0x17e)][_0x50fa10(0x198)](_0x481355[_0x50fa10(0x1e5)]):null;}[_0x50050f(0x172)](){const _0x260324=_0x50050f;let _0x5f3926=this['_getConnectorSnapshot']();return _0x5f3926?n['Tools']['deepClone'](_0x5f3926[_0x260324(0x1bd)]):null;}['setShapeType'](_0xb7ce89){const _0x4a0d41=_0x50050f;return(0x0,e[_0x4a0d41(0x1c6)])(_0xb7ce89)?super['setShapeType'](_0xb7ce89):(console['warn'](_0x4a0d41(0x1c7)+this[_0x4a0d41(0x1cd)][_0x4a0d41(0x194)]+_0x4a0d41(0x20a)),this);}['setShapeData'](_0x8d9f72){const _0x5d4a34=_0x50050f;return _0x8d9f72[_0x5d4a34(0x1e7)]!==void 0x0&&!(0x0,e['isConnectorShape'])(_0x8d9f72[_0x5d4a34(0x1e7)])?(console['warn']('[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22'+this[_0x5d4a34(0x1cd)]['shapeId']+'\x22\x20requires\x20Connector\x20Shape\x20data.'),this):super[_0x5d4a34(0x1d0)](_0x8d9f72);}['bindStart'](_0x109d59,_0x5b5cc7){const _0x138e52=_0x50050f;return this[_0x138e52(0x155)]('start',_0x109d59,_0x5b5cc7),this;}[_0x50050f(0x19f)](_0x3ab6a6,_0x33ef83){const _0x3e3deb=_0x50050f;return this['_bind'](_0x3e3deb(0x1a5),_0x3ab6a6,_0x33ef83),this;}[_0x50050f(0x1ff)](){const _0x1e6c3a=_0x50050f;return this[_0x1e6c3a(0x15c)](_0x1e6c3a(0x19c),_0x41a0fe=>_0x41a0fe['unbindStart'](this[_0x1e6c3a(0x1cd)])),this;}[_0x50050f(0x1a1)](){const _0xc65196=_0x50050f;return this['_mutateConnector'](_0xc65196(0x1af),_0x552616=>_0x552616['unbindEnd'](this[_0xc65196(0x1cd)])),this;}[_0x50050f(0x20f)](_0x5cf16b){const _0x3ecd3d=_0x50050f;return u(_0x5cf16b,this[_0x3ecd3d(0x1cd)]['shapeId'])&&this[_0x3ecd3d(0x15c)](_0x3ecd3d(0x1ad),_0xf0e2b6=>_0xf0e2b6[_0x3ecd3d(0x20f)](this['_shapeRef'],_0x5cf16b)),this;}[_0x50050f(0x17f)](_0x331e8b){const _0x485d7b=_0x50050f;return u(_0x331e8b,this[_0x485d7b(0x1cd)][_0x485d7b(0x194)])&&this[_0x485d7b(0x15c)](_0x485d7b(0x15b),_0x2da6f6=>_0x2da6f6[_0x485d7b(0x17f)](this[_0x485d7b(0x1cd)],_0x331e8b)),this;}['setRoutePoints'](_0x2c2340){const _0x3cb6ec=_0x50050f;return _0x2c2340[_0x3cb6ec(0x1c1)](_0xb15955=>u(_0xb15955,this['_shapeRef'][_0x3cb6ec(0x194)]))&&this[_0x3cb6ec(0x15c)](_0x3cb6ec(0x1da),_0x1878fe=>_0x1878fe[_0x3cb6ec(0x166)](this[_0x3cb6ec(0x1cd)],_0x2c2340)),this;}[_0x50050f(0x1c8)](_0x48a3f3,_0x3d2fd){const _0x211241=_0x50050f;return this[_0x211241(0x15c)](_0x211241(0x220),_0x2e6cdb=>_0x2e6cdb[_0x211241(0x1c8)](this[_0x211241(0x1cd)],_0x48a3f3,_0x3d2fd)),this;}['setEndArrow'](_0x198ec0,_0x474b51){const _0x5a9208=_0x50050f;return this[_0x5a9208(0x15c)](_0x5a9208(0x1e6),_0x33d9a3=>_0x33d9a3[_0x5a9208(0x207)](this[_0x5a9208(0x1cd)],_0x198ec0,_0x474b51)),this;}[_0x50050f(0x167)](){const _0x3e9c75=_0x50050f;return this[_0x3e9c75(0x1c0)][_0x3e9c75(0x169)](e['IConnectorShapeHostAdapter']);}[_0x50050f(0x153)](){const _0x52287f=_0x50050f;let _0x4a2efc=this['_getConnectorAdapter']();if(!_0x4a2efc)return null;try{return _0x4a2efc[_0x52287f(0x184)](this[_0x52287f(0x1cd)])||(console[_0x52287f(0x195)](_0x52287f(0x1c7)+this[_0x52287f(0x1cd)][_0x52287f(0x194)]+_0x52287f(0x188)),null);}catch(_0x5734d9){return console['warn']('[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22'+this[_0x52287f(0x1cd)][_0x52287f(0x194)]+'\x22.',_0x5734d9),null;}}['_bind'](_0x28525e,_0x47f6fc,_0x71bfad){const _0x381fbd=_0x50050f;if(!_0x47f6fc||!Number['isInteger'](_0x71bfad)||_0x71bfad<0x0)return console['warn']('[Shape\x20Facade]:\x20Connector\x20\x22'+this['_shapeRef'][_0x381fbd(0x194)]+'\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.'),!0x1;let _0x25966d={'shapeId':_0x47f6fc,'cxnIndex':_0x71bfad};return this[_0x381fbd(0x15c)](_0x381fbd(0x18a)+_0x28525e,_0x580e09=>_0x28525e===_0x381fbd(0x183)?_0x580e09[_0x381fbd(0x20b)](this[_0x381fbd(0x1cd)],_0x25966d):_0x580e09[_0x381fbd(0x19f)](this[_0x381fbd(0x1cd)],_0x25966d));}[_0x50050f(0x15c)](_0x9481d9,_0x5f591a){const _0x1af0b7=_0x50050f;let _0x2aa1d1=this[_0x1af0b7(0x167)]();if(!_0x2aa1d1)return!0x1;try{let _0x2de57b=_0x5f591a(_0x2aa1d1);return _0x2de57b||console[_0x1af0b7(0x195)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x9481d9+_0x1af0b7(0x1bf)+this[_0x1af0b7(0x1cd)][_0x1af0b7(0x194)]+'\x22.'),_0x2de57b;}catch(_0x2f77f2){return console[_0x1af0b7(0x195)](_0x1af0b7(0x158)+_0x9481d9+_0x1af0b7(0x1bf)+this[_0x1af0b7(0x1cd)][_0x1af0b7(0x194)]+'\x22.',_0x2f77f2),!0x1;}}};function u(_0x23f3d9,_0x219242){const _0x33d887=_0x50050f;return!Number[_0x33d887(0x1ab)](_0x23f3d9['x'])||!Number[_0x33d887(0x1ab)](_0x23f3d9['y'])?(console['warn'](_0x33d887(0x165)+_0x219242+_0x33d887(0x182)),!0x1):!0x0;}function _0xca78(_0x4e63c6,_0x56616d){_0x4e63c6=_0x4e63c6-0x151;const _0x2c2380=_0x2c23();let _0xca78b9=_0x2c2380[_0x4e63c6];return _0xca78b9;}exports['FConnectorShape']=l,exports[_0x50050f(0x192)]=s,exports['FShapeText']=o;
|