@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/lib/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x52ff57=_0x5efd;(function(_0x160bed,_0x5e3fd7){const _0x1c8b85=_0x5efd,_0x7f065=_0x160bed();while(!![]){try{const _0x1f68a6=-parseInt(_0x1c8b85(0x265))/0x1+-parseInt(_0x1c8b85(0x1b5))/0x2+-parseInt(_0x1c8b85(0x1c5))/0x3+parseInt(_0x1c8b85(0x1c6))/0x4+-parseInt(_0x1c8b85(0x1ff))/0x5*(parseInt(_0x1c8b85(0x202))/0x6)+parseInt(_0x1c8b85(0x18f))/0x7*(parseInt(_0x1c8b85(0x225))/0x8)+-parseInt(_0x1c8b85(0x18a))/0x9*(-parseInt(_0x1c8b85(0x1db))/0xa);if(_0x1f68a6===_0x5e3fd7)break;else _0x7f065['push'](_0x7f065['shift']());}catch(_0x48af24){_0x7f065['push'](_0x7f065['shift']());}}}(_0x1883,0x67e32));import{IConnectorShapeHostAdapter as _0x3d4dd5,IShapeHostAdapterRegistry as _0x44688f,ImageFillModeEnum as _0x48e2ec,ImageSourceTypeEnum as _0x72e6bc,ShapeArrowSizeEnum as _0x201bed,ShapeArrowTypeEnum as _0x5150d1,ShapeFillEnum as _0x3546b0,ShapeGradientTypeEnum as _0xfd85c3,ShapeLineCapEnum as _0x4c9f20,ShapeLineDashEnum as _0x3bee9e,ShapeLineJoinEnum as _0x228f54,ShapeLineTypeEnum as _0x223320,ShapeModel as _0x25f06b,ShapeOperatorEnum as _0x452433,ShapeTextAutoFitType as _0x36aa28,ShapeTextDirection as _0x30cf2f,ShapeTextWrapType as _0x35f981,ShapeTypeEnum as _0x152a87,applyRichTextToShapeText as _0x3bdd5c,applyShapeTextAlignment as _0x5a2f55,applyShapeTextBoxOptions as _0x462165,applyShapeTextStyle as _0x2cf550,applyTextToShapeText as _0x599626,isConnectorShape as _0x1e0639,resolveShapeTextBoxOptions as _0x2c0abb,shapeTextToRichTextValue as _0x3c05f3}from'@univerjs-pro/engine-shape';function _0x1883(){const _0x15f9a6=['shapeType','solid','setStrikethrough','[Shape\x20Facade]:\x20Failed\x20to\x20','getAdjustNames','ShapeFillEnum','flipX','bring\x20forward','deepClone','_getGeometryModel','opacity','setVisible','getAdjustInfo','setStrokeWidth','_patchShapeData','setGradientFill','ShapeLineTypeEnum','NoLine','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22','setStrokeOpacity','_patchStroke','shapeId','[Shape\x20Text\x20Facade]:\x20Shape\x20\x22','setSelectable','bringToFront','[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','\x22\x20was\x20not\x20found.','_getConnectorSnapshot','from','remove','set\x20end\x20point','unbindEnd','Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.','setRotation','Tile','unbindStart','getName','setAbsolutePosition','getCustomGeometry','tile','function','740547lHADeq','[Shape\x20Facade]:\x20Custom\x20geometry\x20connection\x20site\x20','radial','setName','setFontSize','bindEnd','getConnectionSiteList','boolean','392103LYkaGj','ShapeOperatorEnum','\x20requires\x20both\x20\x22x\x22\x20and\x20\x22y\x22.','has','lineStrokeType','85183BryUAF','shapeText','PictureFill','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','set\x20start\x20point','_mutate','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','ShapeTextDirection','getShapeData','getStartConnectInfo','gradient','setStrokeLineDashType','customGeometry','set\x20start\x20arrow','setEndArrow','updateShape','getConnectionSites','send\x20to\x20back','getPlainText','getConnector','isCustom','hostType','findIndex','createInstance','setDescription','_getAdapter','every','mode','unbind\x20start','[Shape\x20Facade]:\x20Custom\x20geometry\x20connection\x20sites\x20must\x20resolve\x20to\x20finite\x20coordinates.','setShapeData','defineProperty','[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','setColor','FALSE','diamond','sendBackward','getHostType','129216yoVCGU','setStartPoint','getStartArrow','transform','setText','ShapeArrowSizeEnum','getTextBoxOptions','isVisible','TRUE','\x22\x20points\x20must\x20contain\x20finite\x20coordinates.','_getConnectorAdapter','Linear','setSize','entries','width','unbind\x20end','2273403BNxjKy','2260960cbPBpD','ahLst','setEndPoint','Shape\x20\x22','ShapeImageSourceTypeEnum','ShapeTextAutoFitType','getId','_getSnapshot','_injector','getEndConnectInfo','NoFill','bindStart','setStrokeLineCapType','bring\x20to\x20front','start','adjustValues','setCustomGeometry','getTransform','cxnLst','SolidLine','shapeData','330YSVaau','get','routePoints','GradientFill','offsetX','selectable','getOwnPropertyDescriptor','bringForward','[Shape\x20Facade]:\x20Shape\x20adjustment\x20\x22','isFinite','\x22\x20text.','rotation','points','updateContext','ShapeArrowTypeEnum','setItalic','getEndEndpoint','_shapeHostAdapterRegistry','_bind','resetAdjustValues','filter','toPlainText','\x22\x20must\x20be\x20boolean.','ShapeTypeEnum','_shapeRef','setRoutePoints','getShapeType','ShapeTextWrapType','setStroke','isSelectable','end','setTextBoxOptions','relation','getSnapshot','rgba(0,\x200,\x200,\x200)','setHorizontalAlign','10fAALmP','Shape\x20transform\x20\x22','URL','1686234MArAjs','decorate','visible','\x22\x20must\x20be\x20finite.','setSolidFill','setStrokeColor','setStartArrow','setTextStyle','scaleX','[Shape\x20Facade]:\x20Connector\x20\x22','update','fromEntries','none','setAdjustValues','getStartEndpoint','\x22\x20does\x20not\x20exist.','scaleY','stroke','isCustomShape','set\x20route\x20points','length','getDescription','getEndArrow','setImageFill','getRoutePoints','name','ShapeLineDashEnum','setNoneFill','setAdjustValueByName','bind\x20','stretch','extend','map','\x20Connector\x20Shape\x20\x22','Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.','360SSQKJd','getRichText','_getShapeData','object','ShapeLineCapEnum','setTransform','warn','getText','removeShape','\x22\x20requires\x20a\x20Connector\x20Shape\x20type.','setUnderline','ShapeLineJoinEnum','setRichText','picture','setStrokeLineJoinType','flipY','getShape','offsetY','setShapeType','height','_updateShapeData','_mutateConnector','top'];_0x1883=function(){return _0x15f9a6;};return _0x1883();}import{FBase as _0x1be8f9,FEnum as _0x512883}from'@univerjs/core/facade';import{BooleanNumber as _0x4d425c,ICommandService as _0x3f53d2,Tools as _0x4fc5b0}from'@univerjs/core';var j=class extends _0x512883{get[_0x52ff57(0x1f2)](){return _0x152a87;}get[_0x52ff57(0x241)](){return _0x3546b0;}get['ShapeGradientTypeEnum'](){return _0xfd85c3;}get['ShapeImageFillModeEnum'](){return _0x48e2ec;}get[_0x52ff57(0x1ca)](){return _0x72e6bc;}get[_0x52ff57(0x24c)](){return _0x223320;}get[_0x52ff57(0x21c)](){return _0x3bee9e;}get[_0x52ff57(0x229)](){return _0x4c9f20;}get[_0x52ff57(0x230)](){return _0x228f54;}get[_0x52ff57(0x18b)](){return _0x452433;}get[_0x52ff57(0x1e9)](){return _0x5150d1;}get[_0x52ff57(0x1ba)](){return _0x201bed;}get[_0x52ff57(0x1cb)](){return _0x36aa28;}get[_0x52ff57(0x196)](){return _0x30cf2f;}get[_0x52ff57(0x1f6)](){return _0x35f981;}};_0x512883[_0x52ff57(0x221)](j);function M(_0x1709e6){const _0xcb82da=_0x52ff57;switch(_0x1709e6){case _0xfd85c3['Radial']:return _0xcb82da(0x267);case _0xfd85c3['Angular']:return'angular';case _0xfd85c3['Diamond']:return _0xcb82da(0x1b2);case _0xfd85c3[_0xcb82da(0x1c0)]:default:return'linear';}}function N(_0x152f02){const _0x172e0e=_0x52ff57;return _0x152f02===_0x48e2ec[_0x172e0e(0x25e)]?_0x172e0e(0x263):_0x172e0e(0x220);}var P=class{constructor(_0x30ebda,_0x472fa6){const _0x848d26=_0x52ff57;this['_shapeRef']=_0x30ebda,this[_0x848d26(0x1ce)]=_0x472fa6;}[_0x52ff57(0x226)](){const _0xc4a31b=_0x52ff57;var _0x170d63;return _0x3c05f3((_0x170d63=this[_0xc4a31b(0x227)]())==null?void 0x0:_0x170d63[_0xc4a31b(0x190)]);}[_0x52ff57(0x1a1)](){const _0x288b73=_0x52ff57;var _0x3fced0,_0x22c5ec;return(_0x3fced0=(_0x22c5ec=this['getRichText']())==null?void 0x0:_0x22c5ec[_0x288b73(0x1f0)]())==null?null:_0x3fced0;}[_0x52ff57(0x231)](_0x378013){const _0x3eaac9=_0x52ff57;return this[_0x3eaac9(0x239)](_0x327a05=>({..._0x327a05,'shapeText':_0x3bdd5c(_0x327a05[_0x3eaac9(0x190)],_0x378013)})),this;}[_0x52ff57(0x1b9)](_0x38405b){const _0x59c6b0=_0x52ff57;return this[_0x59c6b0(0x239)](_0xdca72b=>({..._0xdca72b,'shapeText':_0x599626(_0xdca72b['shapeText'],_0x38405b)})),this;}[_0x52ff57(0x209)](_0x49f97e){const _0x47db73=_0x52ff57;return this[_0x47db73(0x239)](_0x18f3c9=>({..._0x18f3c9,'shapeText':_0x2cf550(_0x18f3c9['shapeText'],_0x49f97e)})),this;}[_0x52ff57(0x1b0)](_0x221853,_0x457254){const _0x2381c4=_0x52ff57;return this['setTextStyle']({'cl':{'rgb':_0x221853},'textFill':{'type':_0x2381c4(0x23d),'color':_0x221853,'opacity':_0x457254}});}[_0x52ff57(0x21d)](){const _0x570acf=_0x52ff57;return this['setTextStyle']({'cl':{'rgb':_0x570acf(0x1fd)},'textFill':{'type':_0x570acf(0x20e)}});}[_0x52ff57(0x24b)](_0x18d197,_0x39c490,_0x19d703){const _0x3382cd=_0x52ff57;return _0x39c490[_0x3382cd(0x216)]<0x2?(console[_0x3382cd(0x22b)](_0x3382cd(0x1af)),this):this[_0x3382cd(0x209)]({'cl':{'rgb':_0x39c490[0x0]['color']},'textFill':{'type':_0x3382cd(0x199),'gradient':{'type':M(_0x18d197),'angle':_0x19d703,'stops':_0x39c490[_0x3382cd(0x222)](({position:_0x30eaaa,color:_0x21b2a3,opacity:_0x253316})=>({'offset':_0x30eaaa,'color':_0x21b2a3,'opacity':_0x253316}))}}});}[_0x52ff57(0x219)](_0x219b03,_0x1acd42=_0x72e6bc[_0x52ff57(0x201)],_0x10e863={}){const _0x10bcad=_0x52ff57;return this[_0x10bcad(0x209)]({'textFill':{'type':_0x10bcad(0x232),'picture':{'source':_0x219b03,'sourceType':_0x1acd42,'opacity':_0x10e863[_0x10bcad(0x246)],'mode':N(_0x10e863[_0x10bcad(0x1aa)]),'scaleX':_0x10e863[_0x10bcad(0x20a)],'scaleY':_0x10e863[_0x10bcad(0x212)],'offsetX':_0x10e863[_0x10bcad(0x1df)],'offsetY':_0x10e863[_0x10bcad(0x236)]}}});}[_0x52ff57(0x269)](_0x56b789){const _0x386606=_0x52ff57;return this[_0x386606(0x209)]({'fs':_0x56b789});}['setFontFamily'](_0x44bf56){const _0x4bc195=_0x52ff57;return this[_0x4bc195(0x209)]({'ff':_0x44bf56});}['setBold'](_0x5c8f61){const _0x153dda=_0x52ff57;return this[_0x153dda(0x209)]({'bl':_0x5c8f61?_0x4d425c[_0x153dda(0x1bd)]:_0x4d425c['FALSE']});}[_0x52ff57(0x1ea)](_0x1bc981){const _0x362090=_0x52ff57;return this['setTextStyle']({'it':_0x1bc981?_0x4d425c[_0x362090(0x1bd)]:_0x4d425c[_0x362090(0x1b1)]});}[_0x52ff57(0x22f)](_0x1475dc){const _0x29d593=_0x52ff57;return this[_0x29d593(0x209)]({'ul':{'s':_0x1475dc?_0x4d425c['TRUE']:_0x4d425c['FALSE']}});}[_0x52ff57(0x23e)](_0x164276){const _0x58406f=_0x52ff57;return this[_0x58406f(0x209)]({'st':{'s':_0x164276?_0x4d425c['TRUE']:_0x4d425c[_0x58406f(0x1b1)]}});}[_0x52ff57(0x1fe)](_0x15918f){const _0x399812=_0x52ff57;return this[_0x399812(0x239)](_0x3530df=>_0x5a2f55(_0x3530df,{'horizontalAlign':_0x15918f})),this;}['setVerticalAlign'](_0x278ef0){const _0x392f0a=_0x52ff57;return this[_0x392f0a(0x239)](_0x581e39=>_0x5a2f55(_0x581e39,{'verticalAlign':_0x278ef0})),this;}[_0x52ff57(0x1bb)](){const _0x5b86e1=_0x52ff57;let _0x30b182=this[_0x5b86e1(0x227)]();return _0x30b182?_0x2c0abb(_0x30b182):null;}[_0x52ff57(0x1fa)](_0x49b62e){const _0x431b83=_0x52ff57;return this[_0x431b83(0x239)](_0x67bd62=>_0x462165(_0x67bd62,_0x49b62e)),this;}[_0x52ff57(0x1a8)](){const _0x218e52=_0x52ff57;return this[_0x218e52(0x1ce)][_0x218e52(0x1dc)](_0x44688f)[_0x218e52(0x1dc)](this[_0x218e52(0x1f3)]['hostType']);}['_getShapeData'](){const _0x5910c9=_0x52ff57;let _0x74d1d5=this[_0x5910c9(0x1a8)]();if(!_0x74d1d5)return null;try{var _0x1d683c;return((_0x1d683c=_0x74d1d5['getShape'](this[_0x5910c9(0x1f3)]))==null?void 0x0:_0x1d683c[_0x5910c9(0x1da)])||(console['warn'](_0x5910c9(0x252)+this[_0x5910c9(0x1f3)][_0x5910c9(0x251)]+_0x5910c9(0x256)),null);}catch(_0x477195){return console[_0x5910c9(0x22b)]('[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22'+this['_shapeRef'][_0x5910c9(0x251)]+_0x5910c9(0x1e5),_0x477195),null;}}[_0x52ff57(0x239)](_0x2c5f86){const _0x38759d=_0x52ff57;let _0x5a4fb2=this[_0x38759d(0x1a8)]();if(!_0x5a4fb2)return!0x1;try{var _0x219882;let _0x58dc46=(_0x219882=_0x5a4fb2[_0x38759d(0x235)](this[_0x38759d(0x1f3)]))==null?void 0x0:_0x219882[_0x38759d(0x1da)];if(!_0x58dc46)return console[_0x38759d(0x22b)](_0x38759d(0x252)+this[_0x38759d(0x1f3)][_0x38759d(0x251)]+_0x38759d(0x256)),!0x1;let _0x41c948=_0x5a4fb2[_0x38759d(0x19e)](this[_0x38759d(0x1f3)],{'shapeData':_0x2c5f86(_0x58dc46)});return _0x41c948||console[_0x38759d(0x22b)](_0x38759d(0x24e)+this[_0x38759d(0x1f3)][_0x38759d(0x251)]+_0x38759d(0x1e5)),_0x41c948;}catch(_0x935219){return console[_0x38759d(0x22b)](_0x38759d(0x24e)+this[_0x38759d(0x1f3)][_0x38759d(0x251)]+_0x38759d(0x1e5),_0x935219),!0x1;}}};function F(_0x489d46,_0x441f23){return function(_0x419717,_0x1a0152){_0x441f23(_0x419717,_0x1a0152,_0x489d46);};}function I(_0xa71479,_0xf8dd13,_0x52c1ec,_0x2a69cb){const _0x326a19=_0x52ff57;var _0x5cb71b=arguments[_0x326a19(0x216)],_0x31078e=_0x5cb71b<0x3?_0xf8dd13:_0x2a69cb===null?_0x2a69cb=Object[_0x326a19(0x1e1)](_0xf8dd13,_0x52c1ec):_0x2a69cb,_0x366876;if(typeof Reflect==_0x326a19(0x228)&&typeof Reflect[_0x326a19(0x203)]==_0x326a19(0x264))_0x31078e=Reflect[_0x326a19(0x203)](_0xa71479,_0xf8dd13,_0x52c1ec,_0x2a69cb);else{for(var _0x10d66b=_0xa71479[_0x326a19(0x216)]-0x1;_0x10d66b>=0x0;_0x10d66b--)(_0x366876=_0xa71479[_0x10d66b])&&(_0x31078e=(_0x5cb71b<0x3?_0x366876(_0x31078e):_0x5cb71b>0x3?_0x366876(_0xf8dd13,_0x52c1ec,_0x31078e):_0x366876(_0xf8dd13,_0x52c1ec))||_0x31078e);}return _0x5cb71b>0x3&&_0x31078e&&Object[_0x326a19(0x1ae)](_0xf8dd13,_0x52c1ec,_0x31078e),_0x31078e;}let L=class extends _0x1be8f9{constructor(_0x36785d,_0x5deab8,_0x2d2bea,_0x445465){const _0x1402eb=_0x52ff57;super(),this[_0x1402eb(0x1f3)]=_0x36785d,this[_0x1402eb(0x1ce)]=_0x5deab8,this[_0x1402eb(0x1ec)]=_0x2d2bea,this['_commandService']=_0x445465;}['isConnectorShape'](){return!0x1;}[_0x52ff57(0x1cc)](){const _0x30ab77=_0x52ff57;return this[_0x30ab77(0x1f3)][_0x30ab77(0x251)];}[_0x52ff57(0x260)](){const _0x2f893a=_0x52ff57;var _0x27099f;return(_0x27099f=this[_0x2f893a(0x1cd)]())==null?void 0x0:_0x27099f[_0x2f893a(0x21b)];}[_0x52ff57(0x268)](_0x4febd7){return this['update']({'name':_0x4febd7});}[_0x52ff57(0x217)](){const _0x24ca46=_0x52ff57;var _0x4d613f;return(_0x4d613f=this[_0x24ca46(0x1cd)]())==null?void 0x0:_0x4d613f['description'];}[_0x52ff57(0x1a7)](_0x22fe40){const _0x3871f9=_0x52ff57;return this[_0x3871f9(0x20c)]({'description':_0x22fe40});}[_0x52ff57(0x1b4)](){const _0x13c765=_0x52ff57;return this[_0x13c765(0x1f3)][_0x13c765(0x1a4)];}[_0x52ff57(0x1f5)](){const _0x23b85f=_0x52ff57;var _0x69c9c2,_0x3d3777;return(_0x69c9c2=(_0x3d3777=this[_0x23b85f(0x1cd)]())==null?void 0x0:_0x3d3777[_0x23b85f(0x23c)])==null?null:_0x69c9c2;}[_0x52ff57(0x197)](){const _0xabfbf3=_0x52ff57;let _0x2d4dd2=this['_getSnapshot']();return _0x2d4dd2?_0x4fc5b0['deepClone'](_0x2d4dd2[_0xabfbf3(0x1da)]):null;}[_0x52ff57(0x1fc)](){const _0x32b07a=_0x52ff57;let _0x303982=this[_0x32b07a(0x1cd)]();return _0x303982?_0x4fc5b0['deepClone'](_0x303982):null;}[_0x52ff57(0x1d7)](){const _0x1b14af=_0x52ff57;let _0x34591e=this[_0x1b14af(0x1cd)]();return _0x34591e?{..._0x34591e['transform']}:null;}[_0x52ff57(0x1bc)](){const _0x5443dc=_0x52ff57;var _0xe8cf3f,_0x22d16c;return(_0xe8cf3f=(_0x22d16c=this[_0x5443dc(0x1cd)]())==null?void 0x0:_0x22d16c[_0x5443dc(0x204)])!=null&&_0xe8cf3f;}[_0x52ff57(0x247)](_0x3b447c){const _0x56d888=_0x52ff57;return this[_0x56d888(0x20c)]({'visible':_0x3b447c});}[_0x52ff57(0x1f8)](){const _0x3a66e2=_0x52ff57;var _0x3d3e20,_0x5a9505;return(_0x3d3e20=(_0x5a9505=this[_0x3a66e2(0x1cd)]())==null?void 0x0:_0x5a9505[_0x3a66e2(0x1e0)])!=null&&_0x3d3e20;}[_0x52ff57(0x253)](_0x325ffb){return this['update']({'selectable':_0x325ffb});}[_0x52ff57(0x22c)](){const _0xc9d5dd=_0x52ff57;return this[_0xc9d5dd(0x1ce)][_0xc9d5dd(0x1a6)](P,this[_0xc9d5dd(0x1f3)],this['_injector']);}[_0x52ff57(0x214)](){const _0x5e0088=_0x52ff57;let _0x1760a2=this[_0x5e0088(0x197)]();return(_0x1760a2==null?void 0x0:_0x1760a2[_0x5e0088(0x1a3)])===!0x0&&!!_0x1760a2[_0x5e0088(0x19b)];}[_0x52ff57(0x262)](){const _0x172ce9=_0x52ff57;var _0x57c884,_0x563ea1;return(_0x57c884=(_0x563ea1=this[_0x172ce9(0x197)]())==null?void 0x0:_0x563ea1[_0x172ce9(0x19b)])==null?null:_0x57c884;}[_0x52ff57(0x237)](_0x409a9f){const _0x19625f=_0x52ff57;return this[_0x19625f(0x24a)](_0x5d146c=>({..._0x5d146c,'shapeType':_0x409a9f}),_0x409a9f);}[_0x52ff57(0x1ad)](_0xaa2077){const _0x248113=_0x52ff57;let _0x1e3972=_0x4fc5b0[_0x248113(0x244)](_0xaa2077);return this[_0x248113(0x20c)]({'shapeType':_0x1e3972[_0x248113(0x23c)],'shapeData':_0x1e3972});}['setTransform'](_0x2bb4ed){const _0xa8b190=_0x52ff57;return this[_0xa8b190(0x20c)]({'transform':_0x2bb4ed});}[_0x52ff57(0x1c1)](_0x1fd13c,_0x179d65){return this['setTransform']({'width':_0x1fd13c,'height':_0x179d65});}[_0x52ff57(0x25d)](_0x372208){const _0x3476b1=_0x52ff57;return this[_0x3476b1(0x22a)]({'rotation':_0x372208});}[_0x52ff57(0x261)](_0x17667f,_0x2b0846){const _0x5a6701=_0x52ff57;return this[_0x5a6701(0x22a)]({'left':_0x17667f,'top':_0x2b0846});}[_0x52ff57(0x1d6)](_0x31e989){const _0x2dd9a5=_0x52ff57;var _0x5baf60,_0x239e2e,_0x18ce84;let _0x3ca751=(_0x5baf60=(_0x239e2e=_0x31e989[_0x2dd9a5(0x1d8)])==null?void 0x0:_0x239e2e[_0x2dd9a5(0x1a5)](({x:_0xfd4582,y:_0xd38217})=>_0xfd4582===void 0x0||_0xd38217===void 0x0))==null?-0x1:_0x5baf60;if(_0x3ca751>=0x0)return console[_0x2dd9a5(0x22b)](_0x2dd9a5(0x266)+_0x3ca751+_0x2dd9a5(0x18c)),this;let _0x9db547=_0x4fc5b0[_0x2dd9a5(0x244)](_0x31e989);if((_0x18ce84=_0x9db547[_0x2dd9a5(0x1d8)])!=null&&_0x18ce84[_0x2dd9a5(0x216)]){let _0x1d9c65=this[_0x2dd9a5(0x1cd)]();if(!_0x1d9c65)return this;try{let _0x1737c6=new _0x25f06b(_0x1d9c65[_0x2dd9a5(0x23c)],_0x1d9c65[_0x2dd9a5(0x251)],{..._0x1d9c65[_0x2dd9a5(0x1da)],'isCustom':!0x0,'customGeometry':_0x9db547});_0x1737c6[_0x2dd9a5(0x1e8)]({'width':_0x1d9c65[_0x2dd9a5(0x1b8)]['width'],'height':_0x1d9c65[_0x2dd9a5(0x1b8)]['height']}),_0x1737c6[_0x2dd9a5(0x188)]();}catch{return console[_0x2dd9a5(0x22b)](_0x2dd9a5(0x1ac)),this;}}return this[_0x2dd9a5(0x24a)](_0x2bbbeb=>({..._0x2bbbeb,'isCustom':!0x0,'customGeometry':_0x9db547}));}[_0x52ff57(0x19f)](){const _0x2d76fc=_0x52ff57;var _0x5e721d,_0x1be1fa;return(_0x5e721d=(_0x1be1fa=this['_getGeometryModel']())==null?void 0x0:_0x1be1fa[_0x2d76fc(0x188)]()[_0x2d76fc(0x222)](_0x1771ad=>({..._0x1771ad})))==null?[]:_0x5e721d;}[_0x52ff57(0x198)](){const _0x4a0709=_0x52ff57;var _0x3f53ec;let _0x59492b=(_0x3f53ec=this[_0x4a0709(0x245)]())==null?void 0x0:_0x3f53ec['getStartConnectInfo']();return _0x59492b?{..._0x59492b}:null;}[_0x52ff57(0x1cf)](){const _0x3673fb=_0x52ff57;var _0x35dd2a;let _0x592735=(_0x35dd2a=this[_0x3673fb(0x245)]())==null?void 0x0:_0x35dd2a[_0x3673fb(0x1cf)]();return _0x592735?{..._0x592735}:null;}['getAdjustHandles'](){const _0x31d366=_0x52ff57;var _0x5c4da7,_0x14f579;let _0x460e2=this[_0x31d366(0x245)](),_0x1ea495=(_0x5c4da7=_0x460e2==null||(_0x14f579=_0x460e2['getPresetShapeConfig']()[_0x31d366(0x1c7)])==null?void 0x0:_0x14f579[_0x31d366(0x216)])==null?0x0:_0x5c4da7;return!_0x460e2||_0x1ea495===0x0?[]:Array[_0x31d366(0x258)]({'length':_0x1ea495},(_0x533ef4,_0x521874)=>_0x460e2[_0x31d366(0x248)](_0x521874))[_0x31d366(0x1ef)](_0x4db08c=>_0x4db08c!==void 0x0)[_0x31d366(0x222)](_0x37ab6a=>_0x4fc5b0[_0x31d366(0x244)](_0x37ab6a));}[_0x52ff57(0x20f)](_0x5ac60b){const _0x63cbf4=_0x52ff57;let _0x1fee64=Object[_0x63cbf4(0x1c2)](_0x5ac60b);if(_0x1fee64[_0x63cbf4(0x216)]===0x0)return this;let _0x4541c8=this[_0x63cbf4(0x245)]();if(!_0x4541c8)return this;let _0x26590f=new Set(_0x4541c8[_0x63cbf4(0x240)]());for(let [_0x44df4e,_0x25d4e2]of _0x1fee64){if(!_0x26590f[_0x63cbf4(0x18d)](_0x44df4e))return console[_0x63cbf4(0x22b)](_0x63cbf4(0x1e3)+_0x44df4e+_0x63cbf4(0x211)),this;if(!Number[_0x63cbf4(0x1e4)](_0x25d4e2))return console[_0x63cbf4(0x22b)](_0x63cbf4(0x1e3)+_0x44df4e+_0x63cbf4(0x205)),this;}let _0x37810b=Object[_0x63cbf4(0x20d)](_0x1fee64[_0x63cbf4(0x222)](([_0x124585,_0x2a0746])=>[_0x124585,_0x4541c8[_0x63cbf4(0x21e)](_0x124585,_0x2a0746)]));return this[_0x63cbf4(0x24a)](_0x106389=>({..._0x106389,'adjustValues':{..._0x106389[_0x63cbf4(0x1d5)],..._0x37810b}}));}[_0x52ff57(0x1ee)](){const _0x127eb1=_0x52ff57;let _0x4bff65=this['getShapeData']();return _0x4bff65!=null&&_0x4bff65[_0x127eb1(0x1d5)]?(delete _0x4bff65['adjustValues'],this['update']({'shapeData':_0x4bff65})):this;}[_0x52ff57(0x206)](_0x442463,_0x27177b){const _0x50cdc7=_0x52ff57;return this[_0x50cdc7(0x24a)](_0x5615c4=>({..._0x5615c4,'fill':{'fillType':_0x3546b0['SolidFill'],'color':_0x442463,'opacity':_0x27177b}}));}[_0x52ff57(0x24b)](_0x28c253,_0x1fff2e,_0x3e2c1d){const _0x401681=_0x52ff57;return _0x1fff2e[_0x401681(0x216)]<0x2?(console[_0x401681(0x22b)](_0x401681(0x255)),this):this[_0x401681(0x24a)](_0x262dd2=>({..._0x262dd2,'fill':{'fillType':_0x3546b0[_0x401681(0x1de)],'gradientType':_0x28c253,'gradientStops':_0x4fc5b0[_0x401681(0x244)](_0x1fff2e),'gradientAngle':_0x3e2c1d}}));}[_0x52ff57(0x219)](_0x1819bd,_0x25b748,_0x7fa352={}){const _0x27c21f=_0x52ff57;return this['_patchShapeData'](_0x3b9da0=>({..._0x3b9da0,'fill':{..._0x4fc5b0['deepClone'](_0x7fa352),'fillType':_0x3546b0[_0x27c21f(0x191)],'fillImageSource':_0x1819bd,'fillImageSourceType':_0x25b748}}));}[_0x52ff57(0x21d)](){const _0x41d8a2=_0x52ff57;return this[_0x41d8a2(0x24a)](_0x571fae=>({..._0x571fae,'fill':{'fillType':_0x3546b0[_0x41d8a2(0x1d0)]}}));}[_0x52ff57(0x1f7)](_0x8409cc){const _0x45af8c=_0x52ff57;return this[_0x45af8c(0x24a)](_0x5ba293=>({..._0x5ba293,'stroke':_0x4fc5b0[_0x45af8c(0x244)](_0x8409cc)}));}[_0x52ff57(0x207)](_0x10a5de){const _0xd5f026=_0x52ff57;return this['_patchStroke'](_0x3891cf=>({..._0x3891cf,'color':_0x10a5de,'lineStrokeType':_0x3891cf[_0xd5f026(0x18e)]===_0x223320[_0xd5f026(0x24d)]?_0x223320[_0xd5f026(0x1d9)]:_0x3891cf[_0xd5f026(0x18e)]}));}[_0x52ff57(0x249)](_0x1a1aa6){const _0x121b8a=_0x52ff57;return this[_0x121b8a(0x250)](_0x11606f=>({..._0x11606f,'width':_0x1a1aa6,'lineStrokeType':_0x11606f['lineStrokeType']===_0x223320[_0x121b8a(0x24d)]?_0x223320[_0x121b8a(0x1d9)]:_0x11606f[_0x121b8a(0x18e)]}));}[_0x52ff57(0x24f)](_0x5363f7){const _0x31a490=_0x52ff57;return this[_0x31a490(0x250)](_0x2237a8=>({..._0x2237a8,'opacity':_0x5363f7}));}[_0x52ff57(0x19a)](_0x15afc4){const _0x34e7da=_0x52ff57;return this[_0x34e7da(0x250)](_0x7beab0=>({..._0x7beab0,'dashType':_0x15afc4}));}[_0x52ff57(0x233)](_0x350b30){return this['_patchStroke'](_0x280e22=>({..._0x280e22,'lineJoinType':_0x350b30}));}[_0x52ff57(0x1d2)](_0x5dbcb9){const _0x3a4c54=_0x52ff57;return this[_0x3a4c54(0x250)](_0x3ce372=>({..._0x3ce372,'capType':_0x5dbcb9}));}['setStrokeLineType'](_0x567556){const _0x26c34c=_0x52ff57;return this[_0x26c34c(0x250)](_0x18dc04=>({..._0x18dc04,'lineStrokeType':_0x567556}));}['update'](_0x771bdd){const _0xa0ceb2=_0x52ff57;var _0x3304d9,_0x58da76,_0x1192a3;let _0x363df6=_0x771bdd[_0xa0ceb2(0x1da)],_0x510d56=_0x363df6&&(_0xa0ceb2(0x1fb)in _0x363df6||_0xa0ceb2(0x1e7)in _0x363df6)?this[_0xa0ceb2(0x1f5)]():null,_0x352719=(_0x3304d9=(_0x58da76=_0x771bdd[_0xa0ceb2(0x23c)])==null?(_0x1192a3=_0x771bdd['shapeData'])==null?void 0x0:_0x1192a3['shapeType']:_0x58da76)==null?_0x510d56:_0x3304d9,_0x16b290=R(_0x771bdd,_0x352719!==null&&_0x1e0639(_0x352719));return _0x16b290?(console[_0xa0ceb2(0x22b)]('[Shape\x20Facade]:\x20'+_0x16b290),this):(this[_0xa0ceb2(0x194)]('update',_0x3b7357=>_0x3b7357[_0xa0ceb2(0x19e)](this[_0xa0ceb2(0x1f3)],_0x771bdd)),this);}[_0x52ff57(0x259)](){const _0x576ce7=_0x52ff57;return this['_mutate'](_0x576ce7(0x259),_0x33e8f6=>_0x33e8f6[_0x576ce7(0x22d)](this[_0x576ce7(0x1f3)]));}['bringToFront'](){const _0x20f25b=_0x52ff57;return this['_mutate'](_0x20f25b(0x1d3),_0x314fb4=>_0x314fb4[_0x20f25b(0x254)](this[_0x20f25b(0x1f3)])),this;}['bringForward'](){const _0x29b81a=_0x52ff57;return this[_0x29b81a(0x194)](_0x29b81a(0x243),_0x3bbe97=>_0x3bbe97[_0x29b81a(0x1e2)](this[_0x29b81a(0x1f3)])),this;}[_0x52ff57(0x1b3)](){const _0x19b8df=_0x52ff57;return this[_0x19b8df(0x194)]('send\x20backward',_0x34700c=>_0x34700c[_0x19b8df(0x1b3)](this['_shapeRef'])),this;}['sendToBack'](){const _0x50643c=_0x52ff57;return this[_0x50643c(0x194)](_0x50643c(0x1a0),_0x92f203=>_0x92f203['sendToBack'](this['_shapeRef'])),this;}[_0x52ff57(0x1a8)](){const _0x5a1525=_0x52ff57;return this['_shapeHostAdapterRegistry']['get'](this[_0x5a1525(0x1f3)][_0x5a1525(0x1a4)]);}[_0x52ff57(0x24a)](_0xdc72a2,_0x582ff5){const _0x10ba81=_0x52ff57;let _0x2e5628=this[_0x10ba81(0x197)]();return _0x2e5628?this[_0x10ba81(0x20c)]({'shapeType':_0x582ff5,'shapeData':_0xdc72a2(_0x2e5628)}):this;}[_0x52ff57(0x250)](_0x377185){const _0x34dd8f=_0x52ff57;return this[_0x34dd8f(0x24a)](_0x5dbc9e=>{const _0x3a68cf=_0x34dd8f;var _0x16beac;return{..._0x5dbc9e,'stroke':_0x377185((_0x16beac=_0x5dbc9e[_0x3a68cf(0x213)])==null?{}:_0x16beac)};});}[_0x52ff57(0x1cd)](){const _0x38f894=_0x52ff57;let _0x31d080=this[_0x38f894(0x1a8)]();if(!_0x31d080)return null;try{return _0x31d080[_0x38f894(0x235)](this[_0x38f894(0x1f3)])||(console[_0x38f894(0x22b)]('[Shape\x20Facade]:\x20Shape\x20\x22'+this[_0x38f894(0x1f3)][_0x38f894(0x251)]+'\x22\x20was\x20not\x20found.'),null);}catch(_0x39b284){return console[_0x38f894(0x22b)](_0x38f894(0x195)+this[_0x38f894(0x1f3)][_0x38f894(0x251)]+'\x22.',_0x39b284),null;}}[_0x52ff57(0x245)](){const _0x3d1dbc=_0x52ff57;let _0x1e80ce=this[_0x3d1dbc(0x1cd)]();if(!_0x1e80ce)return null;try{let _0x5e67ad=new _0x25f06b(_0x1e80ce[_0x3d1dbc(0x23c)],_0x1e80ce[_0x3d1dbc(0x251)],_0x4fc5b0[_0x3d1dbc(0x244)](_0x1e80ce[_0x3d1dbc(0x1da)]));return _0x5e67ad['updateContext']({'width':_0x1e80ce[_0x3d1dbc(0x1b8)][_0x3d1dbc(0x1c3)],'height':_0x1e80ce[_0x3d1dbc(0x1b8)][_0x3d1dbc(0x238)]}),_0x5e67ad;}catch(_0x500aec){return console[_0x3d1dbc(0x22b)]('[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22'+this['_shapeRef'][_0x3d1dbc(0x251)]+'\x22.',_0x500aec),null;}}[_0x52ff57(0x194)](_0xbae897,_0x1156b9){const _0xa43b2d=_0x52ff57;let _0xf170a6=this[_0xa43b2d(0x1a8)]();if(!_0xf170a6)return!0x1;try{let _0x403ec0=_0x1156b9(_0xf170a6);return _0x403ec0||console[_0xa43b2d(0x22b)](_0xa43b2d(0x23f)+_0xbae897+'\x20Shape\x20\x22'+this[_0xa43b2d(0x1f3)][_0xa43b2d(0x251)]+'\x22.'),_0x403ec0;}catch(_0x43d2fe){return console[_0xa43b2d(0x22b)](_0xa43b2d(0x23f)+_0xbae897+'\x20Shape\x20\x22'+this['_shapeRef']['shapeId']+'\x22.',_0x43d2fe),!0x1;}}};L=I([F(0x2,_0x44688f),F(0x3,_0x3f53d2)],L);function R(_0x4a3f75,_0x36d49d=!0x1){const _0x47bb37=_0x52ff57;for(let _0x3a9a39 of[_0x47bb37(0x204),'selectable']){let _0x29ce6a=_0x4a3f75[_0x3a9a39];if(_0x29ce6a!==void 0x0&&typeof _0x29ce6a!=_0x47bb37(0x189))return _0x47bb37(0x1c9)+_0x3a9a39+_0x47bb37(0x1f1);}let _0x4baf9a=_0x4a3f75[_0x47bb37(0x1b8)];if(_0x4baf9a){for(let _0x51fedf of['left',_0x47bb37(0x23b),_0x47bb37(0x1c3),'height',_0x47bb37(0x1e6)]){let _0x5a0b0d=_0x4baf9a[_0x51fedf];if(_0x5a0b0d!==void 0x0&&!Number[_0x47bb37(0x1e4)](_0x5a0b0d))return _0x47bb37(0x200)+_0x51fedf+_0x47bb37(0x205);}if(_0x4baf9a[_0x47bb37(0x1c3)]!==void 0x0&&_0x4baf9a[_0x47bb37(0x1c3)]<=0x0)return'Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.';if(_0x4baf9a['height']!==void 0x0&&_0x4baf9a[_0x47bb37(0x238)]<=0x0)return _0x47bb37(0x224);for(let _0x3410fc of[_0x47bb37(0x242),_0x47bb37(0x234)]){let _0x1f2ba4=_0x4baf9a[_0x3410fc];if(_0x1f2ba4!==void 0x0&&typeof _0x1f2ba4!=_0x47bb37(0x189))return _0x47bb37(0x200)+_0x3410fc+_0x47bb37(0x1f1);}}let _0x29fd85=_0x4a3f75[_0x47bb37(0x1da)];return!_0x36d49d&&_0x29fd85&&(_0x47bb37(0x1fb)in _0x29fd85||_0x47bb37(0x1e7)in _0x29fd85)?_0x47bb37(0x25c):null;}var z=class extends L{['isConnectorShape'](){return!0x0;}[_0x52ff57(0x210)](){const _0x356772=_0x52ff57;let _0x48e07f=this[_0x356772(0x257)]();return _0x48e07f?_0x4fc5b0[_0x356772(0x244)](_0x48e07f[_0x356772(0x1d4)]):null;}[_0x52ff57(0x1eb)](){const _0x563abb=_0x52ff57;let _0x4a5a9e=this[_0x563abb(0x257)]();return _0x4a5a9e?_0x4fc5b0[_0x563abb(0x244)](_0x4a5a9e[_0x563abb(0x1f9)]):null;}[_0x52ff57(0x21a)](){const _0x1658f7=_0x52ff57;let _0x214825=this[_0x1658f7(0x257)]();return _0x214825?_0x4fc5b0[_0x1658f7(0x244)](_0x214825[_0x1658f7(0x1dd)]):null;}[_0x52ff57(0x1b7)](){const _0x177b01=_0x52ff57;let _0x2d70e4=this[_0x177b01(0x257)]();return _0x2d70e4?_0x4fc5b0[_0x177b01(0x244)](_0x2d70e4['startArrow']):null;}[_0x52ff57(0x218)](){const _0xee6bdd=_0x52ff57;let _0x41afae=this[_0xee6bdd(0x257)]();return _0x41afae?_0x4fc5b0['deepClone'](_0x41afae['endArrow']):null;}[_0x52ff57(0x237)](_0x5627ce){const _0x4ea990=_0x52ff57;return _0x1e0639(_0x5627ce)?super[_0x4ea990(0x237)](_0x5627ce):(console[_0x4ea990(0x22b)](_0x4ea990(0x192)+this[_0x4ea990(0x1f3)][_0x4ea990(0x251)]+_0x4ea990(0x22e)),this);}[_0x52ff57(0x1ad)](_0x58a92d){const _0x5204f2=_0x52ff57;return _0x58a92d[_0x5204f2(0x23c)]!==void 0x0&&!_0x1e0639(_0x58a92d[_0x5204f2(0x23c)])?(console[_0x5204f2(0x22b)]('[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22'+this[_0x5204f2(0x1f3)][_0x5204f2(0x251)]+'\x22\x20requires\x20Connector\x20Shape\x20data.'),this):super[_0x5204f2(0x1ad)](_0x58a92d);}[_0x52ff57(0x1d1)](_0x2f4f35,_0x3a69d1){const _0x1878dd=_0x52ff57;return this[_0x1878dd(0x1ed)](_0x1878dd(0x1d4),_0x2f4f35,_0x3a69d1),this;}[_0x52ff57(0x187)](_0xc76d00,_0x33f9ec){const _0x459e92=_0x52ff57;return this[_0x459e92(0x1ed)](_0x459e92(0x1f9),_0xc76d00,_0x33f9ec),this;}[_0x52ff57(0x25f)](){const _0x32ddc7=_0x52ff57;return this[_0x32ddc7(0x23a)](_0x32ddc7(0x1ab),_0x2bc635=>_0x2bc635['unbindStart'](this[_0x32ddc7(0x1f3)])),this;}[_0x52ff57(0x25b)](){const _0x3160de=_0x52ff57;return this[_0x3160de(0x23a)](_0x3160de(0x1c4),_0x175f50=>_0x175f50[_0x3160de(0x25b)](this[_0x3160de(0x1f3)])),this;}['setStartPoint'](_0x90be66){const _0x11e40d=_0x52ff57;return B(_0x90be66,this[_0x11e40d(0x1f3)][_0x11e40d(0x251)])&&this['_mutateConnector'](_0x11e40d(0x193),_0x4f2bd0=>_0x4f2bd0[_0x11e40d(0x1b6)](this[_0x11e40d(0x1f3)],_0x90be66)),this;}[_0x52ff57(0x1c8)](_0x525bde){const _0x4f5dbb=_0x52ff57;return B(_0x525bde,this[_0x4f5dbb(0x1f3)][_0x4f5dbb(0x251)])&&this['_mutateConnector'](_0x4f5dbb(0x25a),_0x50c6f9=>_0x50c6f9[_0x4f5dbb(0x1c8)](this[_0x4f5dbb(0x1f3)],_0x525bde)),this;}['setRoutePoints'](_0x16a479){const _0x351a29=_0x52ff57;return _0x16a479[_0x351a29(0x1a9)](_0x19013b=>B(_0x19013b,this[_0x351a29(0x1f3)][_0x351a29(0x251)]))&&this['_mutateConnector'](_0x351a29(0x215),_0x19bf72=>_0x19bf72[_0x351a29(0x1f4)](this['_shapeRef'],_0x16a479)),this;}[_0x52ff57(0x208)](_0x26f886,_0x54b910){const _0x248eb7=_0x52ff57;return this[_0x248eb7(0x23a)](_0x248eb7(0x19c),_0x4e6563=>_0x4e6563[_0x248eb7(0x208)](this[_0x248eb7(0x1f3)],_0x26f886,_0x54b910)),this;}['setEndArrow'](_0x5ddba9,_0x15e236){const _0x26ba91=_0x52ff57;return this[_0x26ba91(0x23a)]('set\x20end\x20arrow',_0x225e13=>_0x225e13[_0x26ba91(0x19d)](this[_0x26ba91(0x1f3)],_0x5ddba9,_0x15e236)),this;}['_getConnectorAdapter'](){return this['_injector']['get'](_0x3d4dd5);}[_0x52ff57(0x257)](){const _0x41c285=_0x52ff57;let _0x27878e=this[_0x41c285(0x1bf)]();if(!_0x27878e)return null;try{return _0x27878e[_0x41c285(0x1a2)](this['_shapeRef'])||(console[_0x41c285(0x22b)](_0x41c285(0x192)+this[_0x41c285(0x1f3)][_0x41c285(0x251)]+_0x41c285(0x256)),null);}catch(_0x19bbc7){return console[_0x41c285(0x22b)]('[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22'+this[_0x41c285(0x1f3)][_0x41c285(0x251)]+'\x22.',_0x19bbc7),null;}}['_bind'](_0x26cd29,_0xd0deed,_0x187446){const _0x502448=_0x52ff57;if(!_0xd0deed||!Number['isInteger'](_0x187446)||_0x187446<0x0)return console[_0x502448(0x22b)](_0x502448(0x20b)+this[_0x502448(0x1f3)][_0x502448(0x251)]+'\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.'),!0x1;let _0x19f114={'shapeId':_0xd0deed,'cxnIndex':_0x187446};return this[_0x502448(0x23a)](_0x502448(0x21f)+_0x26cd29,_0x3b0876=>_0x26cd29===_0x502448(0x1d4)?_0x3b0876[_0x502448(0x1d1)](this[_0x502448(0x1f3)],_0x19f114):_0x3b0876[_0x502448(0x187)](this['_shapeRef'],_0x19f114));}[_0x52ff57(0x23a)](_0x257ee4,_0x205000){const _0x371cbe=_0x52ff57;let _0x2f5d44=this[_0x371cbe(0x1bf)]();if(!_0x2f5d44)return!0x1;try{let _0x437cbe=_0x205000(_0x2f5d44);return _0x437cbe||console[_0x371cbe(0x22b)](_0x371cbe(0x23f)+_0x257ee4+_0x371cbe(0x223)+this[_0x371cbe(0x1f3)][_0x371cbe(0x251)]+'\x22.'),_0x437cbe;}catch(_0x204fc2){return console[_0x371cbe(0x22b)](_0x371cbe(0x23f)+_0x257ee4+_0x371cbe(0x223)+this['_shapeRef'][_0x371cbe(0x251)]+'\x22.',_0x204fc2),!0x1;}}};function _0x5efd(_0x21bbd0,_0x1a0d4d){_0x21bbd0=_0x21bbd0-0x187;const _0x188373=_0x1883();let _0x5efd59=_0x188373[_0x21bbd0];return _0x5efd59;}function B(_0x5d14f7,_0x3f9fb6){const _0x4af37f=_0x52ff57;return!Number['isFinite'](_0x5d14f7['x'])||!Number['isFinite'](_0x5d14f7['y'])?(console['warn'](_0x4af37f(0x20b)+_0x3f9fb6+_0x4af37f(0x1be)),!0x1):!0x0;}export{z as FConnectorShape,L as FShape,P as FShapeText};
1
+ const _0x37f47e=_0x8476;(function(_0x5f47eb,_0x4abd52){const _0x2655e9=_0x8476,_0x3b18cf=_0x5f47eb();while(!![]){try{const _0x3c436e=-parseInt(_0x2655e9(0x1e9))/0x1+-parseInt(_0x2655e9(0x18b))/0x2+parseInt(_0x2655e9(0x1e1))/0x3+parseInt(_0x2655e9(0x241))/0x4*(parseInt(_0x2655e9(0x19a))/0x5)+-parseInt(_0x2655e9(0x20c))/0x6+parseInt(_0x2655e9(0x196))/0x7+-parseInt(_0x2655e9(0x223))/0x8*(-parseInt(_0x2655e9(0x229))/0x9);if(_0x3c436e===_0x4abd52)break;else _0x3b18cf['push'](_0x3b18cf['shift']());}catch(_0x20093b){_0x3b18cf['push'](_0x3b18cf['shift']());}}}(_0x5681,0x6e008));import{IConnectorShapeHostAdapter as _0x2afe61,IShapeHostAdapterRegistry as _0x5646d7,ImageFillModeEnum as _0x146104,ImageSourceTypeEnum as _0x501b58,ShapeArrowSizeEnum as _0x1fd4ed,ShapeArrowTypeEnum as _0x521b10,ShapeFillEnum as _0x1e1d7b,ShapeGradientTypeEnum as _0x47f713,ShapeLineCapEnum as _0x2d5f35,ShapeLineDashEnum as _0x1181c0,ShapeLineJoinEnum as _0x3e1a5a,ShapeLineTypeEnum as _0x2bc121,ShapeModel as _0x312d54,ShapeOperatorEnum as _0x28abd0,ShapeTextAutoFitType as _0x48a67b,ShapeTextDirection as _0x276613,ShapeTextWrapType as _0x1c69d8,ShapeTypeEnum as _0x3048a1,applyRichTextToShapeText as _0x58c084,applyShapeTextAlignment as _0x243be9,applyShapeTextBoxOptions as _0x4bd558,applyShapeTextStyle as _0x232f4d,applyTextToShapeText as _0x20fc7e,isConnectorShape as _0x1ce78f,parseSvgPathData as _0x538523,resolveShapeTextBoxOptions as _0x3a18c3,shapeTextToRichTextValue as _0xcf74b6}from'@univerjs-pro/engine-shape';function _0x8476(_0x9376c9,_0x2ccd86){_0x9376c9=_0x9376c9-0x168;const _0x568135=_0x5681();let _0x84761a=_0x568135[_0x9376c9];return _0x84761a;}import{FBase as _0x17417a,FEnum as _0x334ea1}from'@univerjs/core/facade';function _0x5681(){const _0x20a348=['4vLgUpp','ShapeTextAutoFitType','dataArray','\x20Connector\x20Shape\x20\x22','isFinite','[Shape\x20Facade]:\x20Custom\x20geometry\x20connection\x20sites\x20must\x20resolve\x20to\x20finite\x20coordinates.','_shapeHostAdapterRegistry','pathLst','setTransform','toPlainText','flipY','isVisible','defineProperty','isInteger','_patchStroke','_getConnectorAdapter','\x22\x20points\x20must\x20contain\x20finite\x20coordinates.','bindEnd','ShapeLineTypeEnum','bringForward','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22','createInstance','setRichText','picture','PictureFill','setStrokeLineCapType','send\x20backward','setStrokeColor','setCustomGeometry','getEndEndpoint','set\x20start\x20point','relation','ShapeFillEnum','Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.','getCustomGeometry','has','SolidFill','URL','_bind','\x22\x20requires\x20a\x20Connector\x20Shape\x20type.','hostType','selectable','unbind\x20end','updateContext','setSelectable','setCustomGeometryFromSvgPath','getEndConnectInfo','[Shape\x20Facade]:\x20Custom\x20geometry\x20connection\x20site\x20','setEndPoint','872670iDjikp','setStrokeLineType','[Shape\x20Facade]:\x20Shape\x20adjustment\x20\x22','transform','decorate','boolean','flipX','setStrokeOpacity','end','_updateShapeData','getStartEndpoint','1601775ONndQl','ShapeArrowSizeEnum','shapeId','setBold','3508815yfQAjH','\x20requires\x20both\x20\x22x\x22\x20and\x20\x22y\x22.','getStartConnectInfo','gradient','setSize','\x22\x20requires\x20Connector\x20Shape\x20data.','_getGeometryModel','Tile','tile','[Shape\x20Facade]:\x20Failed\x20to\x20','getName','getAdjustNames','getTextBoxOptions','removeShape','getStartArrow','lineStrokeType','unbindStart','unbind\x20start','function','bind\x20','\x22\x20must\x20be\x20boolean.','fill','map','startArrow','setStartPoint','NoLine','setUnderline','setAdjustValueByName','send\x20to\x20back','getRoutePoints','setStrokeLineDashType','setShapeType','setImageFill','_commandService','_getConnectorSnapshot','[Shape\x20Facade]:\x20','getPlainText','rgba(0,\x200,\x200,\x200)','length','ShapeLineDashEnum','Shape\x20transform\x20\x22','object','\x22\x20does\x20not\x20exist.','remove','_getShapeData','isCustom','\x20Shape\x20\x22','shapeData','sendBackward','GradientFill','setNoneFill','getSnapshot','[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','setText','solid','[Shape\x20Facade]:\x20Shape\x20\x22','_shapeRef','shapeType','offsetY','setFontFamily','setName','setSolidFill','getId','getConnectionSites','entries','getConnector','setFontSize','adjustValues','\x22\x20text.','_getAdapter','_injector','1980258CyeZaX','Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.','FALSE','setStrokeLineJoinType','name','getShapeType','shapeText','ShapeGradientTypeEnum','649956mVsSug','start','getShapeData','width','cxnLst','_mutate','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','set\x20end\x20point','setHorizontalAlign','ShapeImageFillModeEnum','getEndArrow','setStroke','none','fromEntries','radial','color','Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.','[Shape\x20Text\x20Facade]:\x20Shape\x20\x22','SolidLine','_mutateConnector','_patchShapeData','top','Radial','update','getConnectionSiteList','scaleX','\x22\x20was\x20not\x20found.','sendToBack','extend','setShapeData','getTransform','set\x20end\x20arrow','warn','angular','setAdjustValues','2834598himSKk','\x22\x20must\x20be\x20finite.','data','TRUE','updateShape','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','visible','setRoutePoints','get','set\x20route\x20points','getAdjustInfo','rotation','offsetX','from','bringToFront','setColor','mode','ShapeLineJoinEnum','getText','height','[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','setRotation','getHostType','1674472NjReXa','getOwnPropertyDescriptor','isCustomShape','stroke','pathData','deepClone','18sHketP','isConnectorShape','setDescription','bindStart','setAbsolutePosition','setTextBoxOptions','setEndArrow','findIndex','stretch','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','ShapeLineCapEnum','setGradientFill','setTextStyle','[Shape\x20Facade]:\x20Connector\x20\x22','Diamond','_getSnapshot','\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.','description','ShapeArrowTypeEnum','getShape','left','diamond','scaleY','unbindEnd'];_0x5681=function(){return _0x20a348;};return _0x5681();}import{BooleanNumber as _0x2c38df,ICommandService as _0x27ebba,Tools as _0x30cdfd}from'@univerjs/core';var M=class extends _0x334ea1{get['ShapeTypeEnum'](){return _0x3048a1;}get[_0x37f47e(0x17a)](){return _0x1e1d7b;}get[_0x37f47e(0x1e8)](){return _0x47f713;}get[_0x37f47e(0x1f2)](){return _0x146104;}get['ShapeImageSourceTypeEnum'](){return _0x501b58;}get[_0x37f47e(0x16c)](){return _0x2bc121;}get[_0x37f47e(0x1c1)](){return _0x1181c0;}get[_0x37f47e(0x233)](){return _0x2d5f35;}get[_0x37f47e(0x21d)](){return _0x3e1a5a;}get['ShapeOperatorEnum'](){return _0x28abd0;}get[_0x37f47e(0x23b)](){return _0x521b10;}get[_0x37f47e(0x197)](){return _0x1fd4ed;}get[_0x37f47e(0x242)](){return _0x48a67b;}get['ShapeTextDirection'](){return _0x276613;}get['ShapeTextWrapType'](){return _0x1c69d8;}};_0x334ea1[_0x37f47e(0x205)](M);function N(_0x5602d9){const _0x29a497=_0x37f47e;switch(_0x5602d9){case _0x47f713[_0x29a497(0x1ff)]:return _0x29a497(0x1f7);case _0x47f713['Angular']:return _0x29a497(0x20a);case _0x47f713[_0x29a497(0x237)]:return _0x29a497(0x23e);case _0x47f713['Linear']:default:return'linear';}}function P(_0x2dae96){const _0x517468=_0x37f47e;return _0x2dae96===_0x146104[_0x517468(0x1a1)]?_0x517468(0x1a2):_0x517468(0x231);}var F=class{constructor(_0x3e1fb7,_0x106cdc){const _0x3b5107=_0x37f47e;this[_0x3b5107(0x1d2)]=_0x3e1fb7,this[_0x3b5107(0x1e0)]=_0x106cdc;}['getRichText'](){const _0x2b9358=_0x37f47e;var _0x597ecf;return _0xcf74b6((_0x597ecf=this[_0x2b9358(0x1c6)]())==null?void 0x0:_0x597ecf[_0x2b9358(0x1e7)]);}[_0x37f47e(0x1be)](){const _0x1ebb72=_0x37f47e;var _0x24ff47;return((_0x24ff47=this['getRichText']())==null?void 0x0:_0x24ff47[_0x1ebb72(0x24a)]())??null;}[_0x37f47e(0x170)](_0x19380d){const _0x379f7f=_0x37f47e;return this[_0x379f7f(0x194)](_0x1fcb4a=>({..._0x1fcb4a,'shapeText':_0x58c084(_0x1fcb4a['shapeText'],_0x19380d)})),this;}[_0x37f47e(0x1cf)](_0x2aea40){const _0x361f1a=_0x37f47e;return this[_0x361f1a(0x194)](_0x5821a2=>({..._0x5821a2,'shapeText':_0x20fc7e(_0x5821a2[_0x361f1a(0x1e7)],_0x2aea40)})),this;}[_0x37f47e(0x235)](_0x26d09b){const _0x595a95=_0x37f47e;return this['_updateShapeData'](_0x50a5be=>({..._0x50a5be,'shapeText':_0x232f4d(_0x50a5be[_0x595a95(0x1e7)],_0x26d09b)})),this;}[_0x37f47e(0x21b)](_0x4dbd0d,_0x3f06df){const _0x19493b=_0x37f47e;return this[_0x19493b(0x235)]({'cl':{'rgb':_0x4dbd0d},'textFill':{'type':_0x19493b(0x1d0),'color':_0x4dbd0d,'opacity':_0x3f06df}});}['setNoneFill'](){const _0x4d2ce4=_0x37f47e;return this[_0x4d2ce4(0x235)]({'cl':{'rgb':_0x4d2ce4(0x1bf)},'textFill':{'type':_0x4d2ce4(0x1f5)}});}[_0x37f47e(0x234)](_0x450d3d,_0x5c7761,_0x24f01e){const _0x57a7f8=_0x37f47e;return _0x5c7761['length']<0x2?(console[_0x57a7f8(0x209)](_0x57a7f8(0x220)),this):this['setTextStyle']({'cl':{'rgb':_0x5c7761[0x0][_0x57a7f8(0x1f8)]},'textFill':{'type':_0x57a7f8(0x19d),'gradient':{'type':N(_0x450d3d),'angle':_0x24f01e,'stops':_0x5c7761[_0x57a7f8(0x1b0)](({position:_0xa6a6bd,color:_0x44b9ac,opacity:_0x368deb})=>({'offset':_0xa6a6bd,'color':_0x44b9ac,'opacity':_0x368deb}))}}});}[_0x37f47e(0x1ba)](_0x40c43a,_0x247b2e=_0x501b58[_0x37f47e(0x17f)],_0x2e509c={}){const _0x3d38e4=_0x37f47e;return this[_0x3d38e4(0x235)]({'textFill':{'type':_0x3d38e4(0x171),'picture':{'source':_0x40c43a,'sourceType':_0x247b2e,'opacity':_0x2e509c['opacity'],'mode':P(_0x2e509c[_0x3d38e4(0x21c)]),'scaleX':_0x2e509c[_0x3d38e4(0x202)],'scaleY':_0x2e509c[_0x3d38e4(0x23f)],'offsetX':_0x2e509c[_0x3d38e4(0x218)],'offsetY':_0x2e509c[_0x3d38e4(0x1d4)]}}});}[_0x37f47e(0x1dc)](_0x3c50ac){return this['setTextStyle']({'fs':_0x3c50ac});}[_0x37f47e(0x1d5)](_0x5291a2){const _0x249145=_0x37f47e;return this[_0x249145(0x235)]({'ff':_0x5291a2});}[_0x37f47e(0x199)](_0x2b1927){const _0x46b27a=_0x37f47e;return this[_0x46b27a(0x235)]({'bl':_0x2b1927?_0x2c38df['TRUE']:_0x2c38df[_0x46b27a(0x1e3)]});}['setItalic'](_0x28128f){const _0x22fc31=_0x37f47e;return this['setTextStyle']({'it':_0x28128f?_0x2c38df[_0x22fc31(0x20f)]:_0x2c38df[_0x22fc31(0x1e3)]});}[_0x37f47e(0x1b4)](_0x29ef05){const _0x15b49c=_0x37f47e;return this[_0x15b49c(0x235)]({'ul':{'s':_0x29ef05?_0x2c38df[_0x15b49c(0x20f)]:_0x2c38df[_0x15b49c(0x1e3)]}});}['setStrikethrough'](_0xe54873){const _0x186581=_0x37f47e;return this[_0x186581(0x235)]({'st':{'s':_0xe54873?_0x2c38df['TRUE']:_0x2c38df['FALSE']}});}[_0x37f47e(0x1f1)](_0x3f4c89){const _0xa07e57=_0x37f47e;return this[_0xa07e57(0x194)](_0x4460d5=>_0x243be9(_0x4460d5,{'horizontalAlign':_0x3f4c89})),this;}['setVerticalAlign'](_0x4928d7){return this['_updateShapeData'](_0x12313c=>_0x243be9(_0x12313c,{'verticalAlign':_0x4928d7})),this;}[_0x37f47e(0x1a6)](){const _0x501653=_0x37f47e;let _0x3f8b10=this[_0x501653(0x1c6)]();return _0x3f8b10?_0x3a18c3(_0x3f8b10):null;}[_0x37f47e(0x22e)](_0x26cd4f){return this['_updateShapeData'](_0x10286c=>_0x4bd558(_0x10286c,_0x26cd4f)),this;}['_getAdapter'](){const _0x2f6268=_0x37f47e;return this[_0x2f6268(0x1e0)]['get'](_0x5646d7)[_0x2f6268(0x214)](this[_0x2f6268(0x1d2)][_0x2f6268(0x182)]);}['_getShapeData'](){const _0x3f7516=_0x37f47e;let _0x886007=this[_0x3f7516(0x1df)]();if(!_0x886007)return null;try{var _0x208575;return((_0x208575=_0x886007[_0x3f7516(0x23c)](this[_0x3f7516(0x1d2)]))==null?void 0x0:_0x208575[_0x3f7516(0x1c9)])||(console[_0x3f7516(0x209)](_0x3f7516(0x1fa)+this[_0x3f7516(0x1d2)]['shapeId']+'\x22\x20was\x20not\x20found.'),null);}catch(_0x57bf67){return console['warn'](_0x3f7516(0x232)+this[_0x3f7516(0x1d2)]['shapeId']+_0x3f7516(0x1de),_0x57bf67),null;}}['_updateShapeData'](_0x3b287e){const _0x4c15f5=_0x37f47e;let _0x4b05d5=this[_0x4c15f5(0x1df)]();if(!_0x4b05d5)return!0x1;try{var _0x3e0109;let _0x29d318=(_0x3e0109=_0x4b05d5[_0x4c15f5(0x23c)](this[_0x4c15f5(0x1d2)]))==null?void 0x0:_0x3e0109[_0x4c15f5(0x1c9)];if(!_0x29d318)return console[_0x4c15f5(0x209)](_0x4c15f5(0x1fa)+this[_0x4c15f5(0x1d2)][_0x4c15f5(0x198)]+_0x4c15f5(0x203)),!0x1;let _0x2d5059=_0x4b05d5[_0x4c15f5(0x210)](this['_shapeRef'],{'shapeData':_0x3b287e(_0x29d318)});return _0x2d5059||console['warn']('[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22'+this[_0x4c15f5(0x1d2)]['shapeId']+_0x4c15f5(0x1de)),_0x2d5059;}catch(_0x1f890b){return console[_0x4c15f5(0x209)]('[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22'+this[_0x4c15f5(0x1d2)]['shapeId']+_0x4c15f5(0x1de),_0x1f890b),!0x1;}}};function I(_0x5ec222,_0x590ee4){return function(_0x56f3ee,_0x5ed20f){_0x590ee4(_0x56f3ee,_0x5ed20f,_0x5ec222);};}function L(_0x20d5ba,_0x5d1d44,_0x5c813c,_0x5ab6d2){const _0x35fea0=_0x37f47e;var _0x455472=arguments['length'],_0x6bcd63=_0x455472<0x3?_0x5d1d44:_0x5ab6d2===null?_0x5ab6d2=Object[_0x35fea0(0x224)](_0x5d1d44,_0x5c813c):_0x5ab6d2,_0x3f52f3;if(typeof Reflect==_0x35fea0(0x1c3)&&typeof Reflect[_0x35fea0(0x18f)]==_0x35fea0(0x1ac))_0x6bcd63=Reflect[_0x35fea0(0x18f)](_0x20d5ba,_0x5d1d44,_0x5c813c,_0x5ab6d2);else{for(var _0x311fcc=_0x20d5ba[_0x35fea0(0x1c0)]-0x1;_0x311fcc>=0x0;_0x311fcc--)(_0x3f52f3=_0x20d5ba[_0x311fcc])&&(_0x6bcd63=(_0x455472<0x3?_0x3f52f3(_0x6bcd63):_0x455472>0x3?_0x3f52f3(_0x5d1d44,_0x5c813c,_0x6bcd63):_0x3f52f3(_0x5d1d44,_0x5c813c))||_0x6bcd63);}return _0x455472>0x3&&_0x6bcd63&&Object[_0x35fea0(0x24d)](_0x5d1d44,_0x5c813c,_0x6bcd63),_0x6bcd63;}function R(_0x31383f){const _0x230560=_0x37f47e;let _0x2c2f39=_0x30cdfd[_0x230560(0x228)](_0x31383f);return _0x2c2f39[_0x230560(0x248)]&&=_0x2c2f39[_0x230560(0x248)]['map'](_0x316d49=>{const _0x2b1104=_0x230560;var _0x1dfbfe;if((_0x1dfbfe=_0x316d49[_0x2b1104(0x243)])!=null&&_0x1dfbfe[_0x2b1104(0x1c0)]){let {data:_0x34aa28,..._0x4ff3ec}=_0x316d49;return _0x4ff3ec;}if(_0x316d49['data']===void 0x0)return _0x316d49;let _0xc14f70=_0x538523(_0x316d49[_0x2b1104(0x20e)]),{data:_0x2e6df9,..._0x28c353}=_0x316d49;return{..._0x28c353,'dataArray':_0xc14f70};}),_0x2c2f39;}let z=class extends _0x17417a{constructor(_0x2d2bb6,_0x8f311,_0x2d0e68,_0x17fadb){const _0xd73dda=_0x37f47e;super(),this[_0xd73dda(0x1d2)]=_0x2d2bb6,this['_injector']=_0x8f311,this[_0xd73dda(0x247)]=_0x2d0e68,this[_0xd73dda(0x1bb)]=_0x17fadb;}[_0x37f47e(0x22a)](){return!0x1;}[_0x37f47e(0x1d8)](){const _0x5ce1a5=_0x37f47e;return this[_0x5ce1a5(0x1d2)][_0x5ce1a5(0x198)];}[_0x37f47e(0x1a4)](){const _0x318735=_0x37f47e;var _0x14be78;return(_0x14be78=this[_0x318735(0x238)]())==null?void 0x0:_0x14be78[_0x318735(0x1e5)];}[_0x37f47e(0x1d6)](_0x50452b){const _0xe07538=_0x37f47e;return this[_0xe07538(0x200)]({'name':_0x50452b});}['getDescription'](){const _0xaeea8e=_0x37f47e;var _0x427aa7;return(_0x427aa7=this[_0xaeea8e(0x238)]())==null?void 0x0:_0x427aa7[_0xaeea8e(0x23a)];}[_0x37f47e(0x22b)](_0x1d4747){const _0x4f5471=_0x37f47e;return this[_0x4f5471(0x200)]({'description':_0x1d4747});}[_0x37f47e(0x222)](){const _0x470c66=_0x37f47e;return this[_0x470c66(0x1d2)]['hostType'];}[_0x37f47e(0x1e6)](){const _0x2fa4e5=_0x37f47e;var _0x2cc95a;return((_0x2cc95a=this['_getSnapshot']())==null?void 0x0:_0x2cc95a[_0x2fa4e5(0x1d3)])??null;}['getShapeData'](){let _0x3be989=this['_getSnapshot']();return _0x3be989?_0x30cdfd['deepClone'](_0x3be989['shapeData']):null;}[_0x37f47e(0x1cd)](){const _0x1aaa46=_0x37f47e;let _0x1c147d=this[_0x1aaa46(0x238)]();return _0x1c147d?_0x30cdfd['deepClone'](_0x1c147d):null;}[_0x37f47e(0x207)](){const _0x43ebee=_0x37f47e;let _0x5cf1c1=this[_0x43ebee(0x238)]();return _0x5cf1c1?{..._0x5cf1c1[_0x43ebee(0x18e)]}:null;}[_0x37f47e(0x24c)](){const _0x1efd57=_0x37f47e;var _0x33bf06;return((_0x33bf06=this[_0x1efd57(0x238)]())==null?void 0x0:_0x33bf06[_0x1efd57(0x212)])??!0x1;}['setVisible'](_0x179402){const _0x52538f=_0x37f47e;return this[_0x52538f(0x200)]({'visible':_0x179402});}['isSelectable'](){const _0x382036=_0x37f47e;var _0xc94480;return((_0xc94480=this[_0x382036(0x238)]())==null?void 0x0:_0xc94480['selectable'])??!0x1;}[_0x37f47e(0x186)](_0x532a35){const _0x2f0253=_0x37f47e;return this[_0x2f0253(0x200)]({'selectable':_0x532a35});}[_0x37f47e(0x21e)](){const _0x1afa4a=_0x37f47e;return this['_injector'][_0x1afa4a(0x16f)](F,this[_0x1afa4a(0x1d2)],this[_0x1afa4a(0x1e0)]);}[_0x37f47e(0x225)](){const _0x379ac1=_0x37f47e;let _0x444cad=this['getShapeData']();return(_0x444cad==null?void 0x0:_0x444cad[_0x379ac1(0x1c7)])===!0x0&&!!_0x444cad['customGeometry'];}[_0x37f47e(0x17c)](){const _0x41d11e=_0x37f47e;var _0x1218f1;return((_0x1218f1=this[_0x41d11e(0x1eb)]())==null?void 0x0:_0x1218f1['customGeometry'])??null;}['setShapeType'](_0x181a94){const _0x60d316=_0x37f47e;return this[_0x60d316(0x1fd)](_0x2388ba=>({..._0x2388ba,'shapeType':_0x181a94}),_0x181a94);}['setShapeData'](_0x5b5faa){const _0x149695=_0x37f47e;let _0x22ce1e=_0x30cdfd[_0x149695(0x228)](_0x5b5faa);return this['update']({'shapeType':_0x22ce1e[_0x149695(0x1d3)],'shapeData':_0x22ce1e});}[_0x37f47e(0x249)](_0x44961e){const _0x1bf064=_0x37f47e;return this[_0x1bf064(0x200)]({'transform':_0x44961e});}[_0x37f47e(0x19e)](_0x560647,_0x3bf8bc){const _0x4445b8=_0x37f47e;return this[_0x4445b8(0x249)]({'width':_0x560647,'height':_0x3bf8bc});}[_0x37f47e(0x221)](_0x433285){return this['setTransform']({'rotation':_0x433285});}[_0x37f47e(0x22d)](_0x397698,_0x472ea6){return this['setTransform']({'left':_0x397698,'top':_0x472ea6});}['setCustomGeometry'](_0x46add4){const _0x3f4ce7=_0x37f47e;var _0x52dbdb,_0x2858db;let _0x527e6f=((_0x52dbdb=_0x46add4[_0x3f4ce7(0x1ed)])==null?void 0x0:_0x52dbdb[_0x3f4ce7(0x230)](({x:_0x405251,y:_0x588afb})=>_0x405251===void 0x0||_0x588afb===void 0x0))??-0x1;if(_0x527e6f>=0x0)return console['warn'](_0x3f4ce7(0x189)+_0x527e6f+_0x3f4ce7(0x19b)),this;let _0xa470a0=R(_0x46add4);if((_0x2858db=_0xa470a0[_0x3f4ce7(0x1ed)])!=null&&_0x2858db['length']){let _0xec6c6=this[_0x3f4ce7(0x238)]();if(!_0xec6c6)return this;try{let _0x2df6cc=new _0x312d54(_0xec6c6[_0x3f4ce7(0x1d3)],_0xec6c6[_0x3f4ce7(0x198)],{..._0xec6c6['shapeData'],'isCustom':!0x0,'customGeometry':_0xa470a0});_0x2df6cc[_0x3f4ce7(0x185)]({'width':_0xec6c6['transform'][_0x3f4ce7(0x1ec)],'height':_0xec6c6[_0x3f4ce7(0x18e)][_0x3f4ce7(0x21f)]}),_0x2df6cc[_0x3f4ce7(0x201)]();}catch{return console[_0x3f4ce7(0x209)](_0x3f4ce7(0x246)),this;}}return this[_0x3f4ce7(0x1fd)](_0x29335b=>({..._0x29335b,'isCustom':!0x0,'customGeometry':_0xa470a0}));}[_0x37f47e(0x187)](_0x5be5a0){const _0x2b61eb=_0x37f47e;return this[_0x2b61eb(0x176)]({'rect':{'l':0x0,'t':0x0,'r':'r','b':'b'},'pathLst':[{'w':_0x5be5a0[_0x2b61eb(0x1ec)],'h':_0x5be5a0[_0x2b61eb(0x21f)],'fill':_0x5be5a0[_0x2b61eb(0x1af)],'stroke':_0x5be5a0[_0x2b61eb(0x226)],'data':_0x5be5a0[_0x2b61eb(0x227)]}]});}[_0x37f47e(0x1d9)](){const _0x11a53d=_0x37f47e;var _0x5ac81;return((_0x5ac81=this['_getGeometryModel']())==null?void 0x0:_0x5ac81[_0x11a53d(0x201)]()['map'](_0x2c8c23=>({..._0x2c8c23})))??[];}[_0x37f47e(0x19c)](){const _0xb618ed=_0x37f47e;var _0xaf7edf;let _0x1ab475=(_0xaf7edf=this[_0xb618ed(0x1a0)]())==null?void 0x0:_0xaf7edf[_0xb618ed(0x19c)]();return _0x1ab475?{..._0x1ab475}:null;}[_0x37f47e(0x188)](){const _0x1eadf5=_0x37f47e;var _0x27c76d;let _0x397e24=(_0x27c76d=this[_0x1eadf5(0x1a0)]())==null?void 0x0:_0x27c76d['getEndConnectInfo']();return _0x397e24?{..._0x397e24}:null;}['getAdjustHandles'](){const _0x122204=_0x37f47e;var _0x4baf8f;let _0x4f8664=this['_getGeometryModel'](),_0x2eaf3a=(_0x4f8664==null||(_0x4baf8f=_0x4f8664['getPresetShapeConfig']()['ahLst'])==null?void 0x0:_0x4baf8f[_0x122204(0x1c0)])??0x0;return!_0x4f8664||_0x2eaf3a===0x0?[]:Array[_0x122204(0x219)]({'length':_0x2eaf3a},(_0x5ee122,_0x4e5b3a)=>_0x4f8664[_0x122204(0x216)](_0x4e5b3a))['filter'](_0x35f791=>_0x35f791!==void 0x0)['map'](_0x33d316=>_0x30cdfd[_0x122204(0x228)](_0x33d316));}[_0x37f47e(0x20b)](_0x5675c8){const _0x4dbddc=_0x37f47e;let _0x1503ec=Object[_0x4dbddc(0x1da)](_0x5675c8);if(_0x1503ec['length']===0x0)return this;let _0x5d0b8e=this[_0x4dbddc(0x1a0)]();if(!_0x5d0b8e)return this;let _0x1c2c50=new Set(_0x5d0b8e[_0x4dbddc(0x1a5)]());for(let [_0x3513e7,_0x5c7c18]of _0x1503ec){if(!_0x1c2c50[_0x4dbddc(0x17d)](_0x3513e7))return console[_0x4dbddc(0x209)](_0x4dbddc(0x18d)+_0x3513e7+_0x4dbddc(0x1c4)),this;if(!Number[_0x4dbddc(0x245)](_0x5c7c18))return console[_0x4dbddc(0x209)](_0x4dbddc(0x18d)+_0x3513e7+_0x4dbddc(0x20d)),this;}let _0x35feda=Object[_0x4dbddc(0x1f6)](_0x1503ec[_0x4dbddc(0x1b0)](([_0x12e7b8,_0x4cbee9])=>[_0x12e7b8,_0x5d0b8e[_0x4dbddc(0x1b5)](_0x12e7b8,_0x4cbee9)]));return this[_0x4dbddc(0x1fd)](_0x55ad50=>({..._0x55ad50,'adjustValues':{..._0x55ad50[_0x4dbddc(0x1dd)],..._0x35feda}}));}['resetAdjustValues'](){const _0x5ecc55=_0x37f47e;let _0x181364=this[_0x5ecc55(0x1eb)]();return _0x181364!=null&&_0x181364[_0x5ecc55(0x1dd)]?(delete _0x181364[_0x5ecc55(0x1dd)],this[_0x5ecc55(0x200)]({'shapeData':_0x181364})):this;}[_0x37f47e(0x1d7)](_0xa005a9,_0x1f0ddf){const _0x302b1c=_0x37f47e;return this[_0x302b1c(0x1fd)](_0x4912eb=>({..._0x4912eb,'fill':{'fillType':_0x1e1d7b[_0x302b1c(0x17e)],'color':_0xa005a9,'opacity':_0x1f0ddf}}));}[_0x37f47e(0x234)](_0x4ea3a2,_0x16639d,_0x3a90d4){const _0x3cc21d=_0x37f47e;return _0x16639d[_0x3cc21d(0x1c0)]<0x2?(console['warn'](_0x3cc21d(0x1ce)),this):this[_0x3cc21d(0x1fd)](_0x19c186=>({..._0x19c186,'fill':{'fillType':_0x1e1d7b[_0x3cc21d(0x1cb)],'gradientType':_0x4ea3a2,'gradientStops':_0x30cdfd[_0x3cc21d(0x228)](_0x16639d),'gradientAngle':_0x3a90d4}}));}[_0x37f47e(0x1ba)](_0x141cc8,_0x1b26c1,_0x3c9702={}){const _0x432518=_0x37f47e;return this[_0x432518(0x1fd)](_0x237f78=>({..._0x237f78,'fill':{..._0x30cdfd['deepClone'](_0x3c9702),'fillType':_0x1e1d7b[_0x432518(0x172)],'fillImageSource':_0x141cc8,'fillImageSourceType':_0x1b26c1}}));}[_0x37f47e(0x1cc)](){const _0x15980f=_0x37f47e;return this[_0x15980f(0x1fd)](_0x3edc92=>({..._0x3edc92,'fill':{'fillType':_0x1e1d7b['NoFill']}}));}[_0x37f47e(0x1f4)](_0x27a387){const _0x19f51f=_0x37f47e;return this[_0x19f51f(0x1fd)](_0x772998=>({..._0x772998,'stroke':_0x30cdfd[_0x19f51f(0x228)](_0x27a387)}));}[_0x37f47e(0x175)](_0x1b4618){const _0xce0e1f=_0x37f47e;return this['_patchStroke'](_0x5ae4de=>({..._0x5ae4de,'color':_0x1b4618,'lineStrokeType':_0x5ae4de[_0xce0e1f(0x1a9)]===_0x2bc121[_0xce0e1f(0x1b3)]?_0x2bc121[_0xce0e1f(0x1fb)]:_0x5ae4de[_0xce0e1f(0x1a9)]}));}['setStrokeWidth'](_0x49f71c){const _0x3c09c8=_0x37f47e;return this[_0x3c09c8(0x168)](_0x38e317=>({..._0x38e317,'width':_0x49f71c,'lineStrokeType':_0x38e317[_0x3c09c8(0x1a9)]===_0x2bc121[_0x3c09c8(0x1b3)]?_0x2bc121['SolidLine']:_0x38e317[_0x3c09c8(0x1a9)]}));}[_0x37f47e(0x192)](_0x3a42f8){const _0x260753=_0x37f47e;return this[_0x260753(0x168)](_0x58b4b8=>({..._0x58b4b8,'opacity':_0x3a42f8}));}[_0x37f47e(0x1b8)](_0xb6bac8){const _0x2d50b8=_0x37f47e;return this[_0x2d50b8(0x168)](_0xd42db5=>({..._0xd42db5,'dashType':_0xb6bac8}));}[_0x37f47e(0x1e4)](_0x547a13){const _0x5038b6=_0x37f47e;return this[_0x5038b6(0x168)](_0x3451e0=>({..._0x3451e0,'lineJoinType':_0x547a13}));}[_0x37f47e(0x173)](_0x38901f){const _0x4a2217=_0x37f47e;return this[_0x4a2217(0x168)](_0x42343e=>({..._0x42343e,'capType':_0x38901f}));}[_0x37f47e(0x18c)](_0x4f7c0b){const _0x2780a2=_0x37f47e;return this[_0x2780a2(0x168)](_0x5e581b=>({..._0x5e581b,'lineStrokeType':_0x4f7c0b}));}[_0x37f47e(0x200)](_0x3069a6){const _0x3d8abd=_0x37f47e;var _0x3043ef;let _0x5a0b65=_0x3069a6[_0x3d8abd(0x1c9)],_0x129450=_0x5a0b65&&('relation'in _0x5a0b65||'points'in _0x5a0b65)?this[_0x3d8abd(0x1e6)]():null,_0x23b126=_0x3069a6['shapeType']??((_0x3043ef=_0x3069a6[_0x3d8abd(0x1c9)])==null?void 0x0:_0x3043ef[_0x3d8abd(0x1d3)])??_0x129450,_0x37e1cb=B(_0x3069a6,_0x23b126!==null&&_0x1ce78f(_0x23b126));return _0x37e1cb?(console[_0x3d8abd(0x209)](_0x3d8abd(0x1bd)+_0x37e1cb),this):(this['_mutate'](_0x3d8abd(0x200),_0x3e9e38=>_0x3e9e38[_0x3d8abd(0x210)](this[_0x3d8abd(0x1d2)],_0x3069a6)),this);}[_0x37f47e(0x1c5)](){const _0x5204c4=_0x37f47e;return this[_0x5204c4(0x1ee)]('remove',_0x3a71cc=>_0x3a71cc[_0x5204c4(0x1a7)](this[_0x5204c4(0x1d2)]));}[_0x37f47e(0x21a)](){const _0x591cc2=_0x37f47e;return this[_0x591cc2(0x1ee)]('bring\x20to\x20front',_0x26f816=>_0x26f816[_0x591cc2(0x21a)](this['_shapeRef'])),this;}[_0x37f47e(0x16d)](){const _0x5895db=_0x37f47e;return this[_0x5895db(0x1ee)]('bring\x20forward',_0x63f644=>_0x63f644['bringForward'](this[_0x5895db(0x1d2)])),this;}[_0x37f47e(0x1ca)](){const _0x4affdd=_0x37f47e;return this[_0x4affdd(0x1ee)](_0x4affdd(0x174),_0x5345c8=>_0x5345c8['sendBackward'](this[_0x4affdd(0x1d2)])),this;}[_0x37f47e(0x204)](){const _0x5ab8ec=_0x37f47e;return this[_0x5ab8ec(0x1ee)](_0x5ab8ec(0x1b6),_0x17d16f=>_0x17d16f[_0x5ab8ec(0x204)](this[_0x5ab8ec(0x1d2)])),this;}[_0x37f47e(0x1df)](){const _0x111c70=_0x37f47e;return this[_0x111c70(0x247)][_0x111c70(0x214)](this[_0x111c70(0x1d2)]['hostType']);}[_0x37f47e(0x1fd)](_0x3a9ceb,_0xe7595f){let _0x216615=this['getShapeData']();return _0x216615?this['update']({'shapeType':_0xe7595f,'shapeData':_0x3a9ceb(_0x216615)}):this;}[_0x37f47e(0x168)](_0x16485a){const _0x3c0775=_0x37f47e;return this[_0x3c0775(0x1fd)](_0x5a7184=>({..._0x5a7184,'stroke':_0x16485a(_0x5a7184['stroke']??{})}));}[_0x37f47e(0x238)](){const _0x5e7be6=_0x37f47e;let _0xc6b69a=this[_0x5e7be6(0x1df)]();if(!_0xc6b69a)return null;try{return _0xc6b69a[_0x5e7be6(0x23c)](this[_0x5e7be6(0x1d2)])||(console['warn'](_0x5e7be6(0x1d1)+this[_0x5e7be6(0x1d2)]['shapeId']+_0x5e7be6(0x203)),null);}catch(_0x5b71e7){return console[_0x5e7be6(0x209)](_0x5e7be6(0x211)+this[_0x5e7be6(0x1d2)][_0x5e7be6(0x198)]+'\x22.',_0x5b71e7),null;}}[_0x37f47e(0x1a0)](){const _0x586dc7=_0x37f47e;let _0x45e542=this[_0x586dc7(0x238)]();if(!_0x45e542)return null;try{let _0x35b85a=new _0x312d54(_0x45e542[_0x586dc7(0x1d3)],_0x45e542[_0x586dc7(0x198)],_0x30cdfd[_0x586dc7(0x228)](_0x45e542[_0x586dc7(0x1c9)]));return _0x35b85a[_0x586dc7(0x185)]({'width':_0x45e542[_0x586dc7(0x18e)][_0x586dc7(0x1ec)],'height':_0x45e542[_0x586dc7(0x18e)][_0x586dc7(0x21f)]}),_0x35b85a;}catch(_0x521c69){return console[_0x586dc7(0x209)]('[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22'+this[_0x586dc7(0x1d2)][_0x586dc7(0x198)]+'\x22.',_0x521c69),null;}}['_mutate'](_0x299c8f,_0x54b8bd){const _0x48473d=_0x37f47e;let _0xa4783=this[_0x48473d(0x1df)]();if(!_0xa4783)return!0x1;try{let _0x29a2d9=_0x54b8bd(_0xa4783);return _0x29a2d9||console[_0x48473d(0x209)](_0x48473d(0x1a3)+_0x299c8f+_0x48473d(0x1c8)+this['_shapeRef'][_0x48473d(0x198)]+'\x22.'),_0x29a2d9;}catch(_0x5afb93){return console[_0x48473d(0x209)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x299c8f+_0x48473d(0x1c8)+this[_0x48473d(0x1d2)][_0x48473d(0x198)]+'\x22.',_0x5afb93),!0x1;}}};z=L([I(0x2,_0x5646d7),I(0x3,_0x27ebba)],z);function B(_0x31d670,_0x5041be=!0x1){const _0xea71aa=_0x37f47e;for(let _0x18e367 of['visible',_0xea71aa(0x183)]){let _0x390b24=_0x31d670[_0x18e367];if(_0x390b24!==void 0x0&&typeof _0x390b24!=_0xea71aa(0x190))return'Shape\x20\x22'+_0x18e367+'\x22\x20must\x20be\x20boolean.';}let _0x5c6150=_0x31d670['transform'];if(_0x5c6150){for(let _0x3c096c of[_0xea71aa(0x23d),_0xea71aa(0x1fe),_0xea71aa(0x1ec),_0xea71aa(0x21f),_0xea71aa(0x217)]){let _0x45b08b=_0x5c6150[_0x3c096c];if(_0x45b08b!==void 0x0&&!Number['isFinite'](_0x45b08b))return _0xea71aa(0x1c2)+_0x3c096c+_0xea71aa(0x20d);}if(_0x5c6150['width']!==void 0x0&&_0x5c6150[_0xea71aa(0x1ec)]<=0x0)return _0xea71aa(0x17b);if(_0x5c6150[_0xea71aa(0x21f)]!==void 0x0&&_0x5c6150[_0xea71aa(0x21f)]<=0x0)return _0xea71aa(0x1e2);for(let _0x3f38dc of[_0xea71aa(0x191),_0xea71aa(0x24b)]){let _0x55bba2=_0x5c6150[_0x3f38dc];if(_0x55bba2!==void 0x0&&typeof _0x55bba2!=_0xea71aa(0x190))return _0xea71aa(0x1c2)+_0x3f38dc+_0xea71aa(0x1ae);}}let _0x1b7c0d=_0x31d670[_0xea71aa(0x1c9)];return!_0x5041be&&_0x1b7c0d&&(_0xea71aa(0x179)in _0x1b7c0d||'points'in _0x1b7c0d)?_0xea71aa(0x1f9):null;}var V=class extends z{[_0x37f47e(0x22a)](){return!0x0;}[_0x37f47e(0x195)](){const _0xcdcf6a=_0x37f47e;let _0x4690f4=this[_0xcdcf6a(0x1bc)]();return _0x4690f4?_0x30cdfd[_0xcdcf6a(0x228)](_0x4690f4[_0xcdcf6a(0x1ea)]):null;}[_0x37f47e(0x177)](){const _0xaed08b=_0x37f47e;let _0x791c8d=this[_0xaed08b(0x1bc)]();return _0x791c8d?_0x30cdfd[_0xaed08b(0x228)](_0x791c8d['end']):null;}[_0x37f47e(0x1b7)](){const _0xecd640=_0x37f47e;let _0x411870=this[_0xecd640(0x1bc)]();return _0x411870?_0x30cdfd[_0xecd640(0x228)](_0x411870['routePoints']):null;}[_0x37f47e(0x1a8)](){const _0x349d50=_0x37f47e;let _0x40b8f4=this[_0x349d50(0x1bc)]();return _0x40b8f4?_0x30cdfd['deepClone'](_0x40b8f4[_0x349d50(0x1b1)]):null;}[_0x37f47e(0x1f3)](){const _0x3c0060=_0x37f47e;let _0x29b9a7=this[_0x3c0060(0x1bc)]();return _0x29b9a7?_0x30cdfd[_0x3c0060(0x228)](_0x29b9a7['endArrow']):null;}[_0x37f47e(0x1b9)](_0x1fba43){const _0x44d385=_0x37f47e;return _0x1ce78f(_0x1fba43)?super[_0x44d385(0x1b9)](_0x1fba43):(console[_0x44d385(0x209)](_0x44d385(0x1ef)+this[_0x44d385(0x1d2)][_0x44d385(0x198)]+_0x44d385(0x181)),this);}['setShapeData'](_0x5141a0){const _0x43bc69=_0x37f47e;return _0x5141a0[_0x43bc69(0x1d3)]!==void 0x0&&!_0x1ce78f(_0x5141a0[_0x43bc69(0x1d3)])?(console[_0x43bc69(0x209)](_0x43bc69(0x1ef)+this[_0x43bc69(0x1d2)]['shapeId']+_0x43bc69(0x19f)),this):super[_0x43bc69(0x206)](_0x5141a0);}[_0x37f47e(0x22c)](_0x5ad556,_0x562549){const _0x16656a=_0x37f47e;return this[_0x16656a(0x180)](_0x16656a(0x1ea),_0x5ad556,_0x562549),this;}[_0x37f47e(0x16b)](_0x25090b,_0x13ba41){const _0x359f1a=_0x37f47e;return this[_0x359f1a(0x180)](_0x359f1a(0x193),_0x25090b,_0x13ba41),this;}[_0x37f47e(0x1aa)](){const _0x2a660f=_0x37f47e;return this[_0x2a660f(0x1fc)](_0x2a660f(0x1ab),_0x50eb1f=>_0x50eb1f[_0x2a660f(0x1aa)](this[_0x2a660f(0x1d2)])),this;}[_0x37f47e(0x240)](){const _0x603b80=_0x37f47e;return this[_0x603b80(0x1fc)](_0x603b80(0x184),_0x145051=>_0x145051[_0x603b80(0x240)](this[_0x603b80(0x1d2)])),this;}['setStartPoint'](_0x5550df){const _0x3d128e=_0x37f47e;return H(_0x5550df,this['_shapeRef'][_0x3d128e(0x198)])&&this[_0x3d128e(0x1fc)](_0x3d128e(0x178),_0x358a02=>_0x358a02[_0x3d128e(0x1b2)](this[_0x3d128e(0x1d2)],_0x5550df)),this;}[_0x37f47e(0x18a)](_0xe9260b){const _0x10eec6=_0x37f47e;return H(_0xe9260b,this[_0x10eec6(0x1d2)][_0x10eec6(0x198)])&&this[_0x10eec6(0x1fc)](_0x10eec6(0x1f0),_0x8e2cc7=>_0x8e2cc7['setEndPoint'](this[_0x10eec6(0x1d2)],_0xe9260b)),this;}[_0x37f47e(0x213)](_0x9abb0d){const _0x157fe3=_0x37f47e;return _0x9abb0d['every'](_0x166f9b=>H(_0x166f9b,this[_0x157fe3(0x1d2)][_0x157fe3(0x198)]))&&this[_0x157fe3(0x1fc)](_0x157fe3(0x215),_0x30ed0b=>_0x30ed0b[_0x157fe3(0x213)](this[_0x157fe3(0x1d2)],_0x9abb0d)),this;}['setStartArrow'](_0x3a9239,_0x27ecfc){const _0x38e909=_0x37f47e;return this[_0x38e909(0x1fc)]('set\x20start\x20arrow',_0x316e72=>_0x316e72['setStartArrow'](this[_0x38e909(0x1d2)],_0x3a9239,_0x27ecfc)),this;}[_0x37f47e(0x22f)](_0x3f86f8,_0x9fa10c){const _0x3e7c19=_0x37f47e;return this[_0x3e7c19(0x1fc)](_0x3e7c19(0x208),_0x2705c1=>_0x2705c1[_0x3e7c19(0x22f)](this['_shapeRef'],_0x3f86f8,_0x9fa10c)),this;}['_getConnectorAdapter'](){const _0x5defde=_0x37f47e;return this['_injector'][_0x5defde(0x214)](_0x2afe61);}[_0x37f47e(0x1bc)](){const _0x12be0b=_0x37f47e;let _0x581b75=this[_0x12be0b(0x169)]();if(!_0x581b75)return null;try{return _0x581b75[_0x12be0b(0x1db)](this['_shapeRef'])||(console[_0x12be0b(0x209)](_0x12be0b(0x1ef)+this[_0x12be0b(0x1d2)][_0x12be0b(0x198)]+_0x12be0b(0x203)),null);}catch(_0x948b1e){return console[_0x12be0b(0x209)](_0x12be0b(0x16e)+this[_0x12be0b(0x1d2)][_0x12be0b(0x198)]+'\x22.',_0x948b1e),null;}}[_0x37f47e(0x180)](_0x286b08,_0x193ec5,_0x40549d){const _0x4770fc=_0x37f47e;if(!_0x193ec5||!Number[_0x4770fc(0x24e)](_0x40549d)||_0x40549d<0x0)return console[_0x4770fc(0x209)](_0x4770fc(0x236)+this['_shapeRef'][_0x4770fc(0x198)]+_0x4770fc(0x239)),!0x1;let _0x38daeb={'shapeId':_0x193ec5,'cxnIndex':_0x40549d};return this[_0x4770fc(0x1fc)](_0x4770fc(0x1ad)+_0x286b08,_0xe53667=>_0x286b08===_0x4770fc(0x1ea)?_0xe53667[_0x4770fc(0x22c)](this[_0x4770fc(0x1d2)],_0x38daeb):_0xe53667[_0x4770fc(0x16b)](this[_0x4770fc(0x1d2)],_0x38daeb));}['_mutateConnector'](_0xc6edde,_0x451739){const _0x48a0de=_0x37f47e;let _0x2c7e75=this[_0x48a0de(0x169)]();if(!_0x2c7e75)return!0x1;try{let _0x2fa61b=_0x451739(_0x2c7e75);return _0x2fa61b||console[_0x48a0de(0x209)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0xc6edde+_0x48a0de(0x244)+this['_shapeRef'][_0x48a0de(0x198)]+'\x22.'),_0x2fa61b;}catch(_0x366dca){return console[_0x48a0de(0x209)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0xc6edde+_0x48a0de(0x244)+this[_0x48a0de(0x1d2)][_0x48a0de(0x198)]+'\x22.',_0x366dca),!0x1;}}};function H(_0x2e3504,_0x10be62){const _0x4c6e1b=_0x37f47e;return!Number[_0x4c6e1b(0x245)](_0x2e3504['x'])||!Number[_0x4c6e1b(0x245)](_0x2e3504['y'])?(console[_0x4c6e1b(0x209)](_0x4c6e1b(0x236)+_0x10be62+_0x4c6e1b(0x16a)),!0x1):!0x0;}export{V as FConnectorShape,z as FShape,F as FShapeText};