@univerjs-pro/engine-shape 1.0.0-alpha.8 → 1.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/facade/f-connector-shape.d.ts +1 -1
- package/lib/types/facade/f-shape-text.d.ts +1 -1
- package/lib/types/facade/f-shape.d.ts +112 -2
- package/lib/types/facade/index.d.ts +1 -1
- package/lib/types/index.d.ts +18 -3
- package/lib/types/models/shape-model.d.ts +4 -3
- package/lib/types/render-engine/shape-3d-renderer.d.ts +91 -0
- package/lib/types/render-engine/shape-render-model.d.ts +1 -0
- package/lib/types/services/shape-host-adapter.service.d.ts +26 -0
- package/lib/types/shape-enum.d.ts +145 -18
- package/lib/types/shape-type.d.ts +225 -2
- package/lib/types/smart-art/smart-art-color-style.d.ts +11 -0
- package/lib/types/smart-art/smart-art-enum.d.ts +59 -0
- package/lib/types/smart-art/smart-art-layout-template.d.ts +32 -0
- package/lib/types/smart-art/smart-art-layout-templates.generated.d.ts +2 -0
- package/lib/types/smart-art/smart-art-model.d.ts +46 -0
- package/lib/types/smart-art/smart-art-operation.d.ts +83 -0
- package/lib/types/smart-art/smart-art-quick-style.d.ts +12 -0
- package/lib/types/smart-art/smart-art-transform.d.ts +2 -0
- package/lib/types/utils/svg-path-data.d.ts +48 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
package/lib/es/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 _0x2e95ed=_0x472b;function _0x3739(){const _0x25a815=['setStartArrow','pathLst','ShapeLineTypeEnum','_getAdapter','isConnectorShape','getId','setDescription','_updateSmartArt','map','Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.','DeleteNode','send\x20to\x20back','Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.','unbind\x20end','createInstance','getSnapshot','object','name','_updateShapeData','getSmartArtData','UpdateNode','Tile','PromoteNode','Shape\x20\x22','warn','setSolidFill','gradient','1553994jgzgRH','getTransform','[Shape\x20Facade]:\x20Connector\x20\x22','set\x20z-order','getRichText','getAdjustNames','setUnderline','setSize','setSmartArtData','\x22\x20must\x20be\x20finite.','_patchShapeData','start','promoteSmartArtNode','_shapeRef','\x22\x20text.','unbindEnd','_getConnectorSnapshot','sendToBack','setImageFill','[Shape\x20Facade]:\x20Failed\x20to\x20update\x20SmartArt\x20Shape\x20\x22','color','\x22\x20must\x20be\x20boolean.','getDescription','_mutateConnector','580125fZqqiK','[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','moveSmartArtNode','unbindStart','setStartPoint','ShapeTextWrapType','updateShape','_getShapeData','setShapeType','set\x20route\x20points','setAdjustValues','visible','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','[Shape\x20Facade]:\x20Failed\x20to\x20convert\x20SmartArt\x20Shape\x20\x22','_mutate','angular','findIndex','_getSnapshot','width','convertSmartArtToShapes','setGradientFill','deepClone','getConnectionSiteList','setItalic','getConnectionSites','unitId','Diamond','setEndArrow','isCustom','Angular','415dAXPKF','\x22\x20was\x20not\x20found.','setColor','_shapeHostAdapterRegistry','position','setVerticalAlign','solid','picture','data','setRoutePoints','TRUE','getShapeType','isSmartArt','\x20Connector\x20Shape\x20\x22','updateContext','startArrow','getAdjustInfo','left','update','targetNodeId','bringForward','_patchStroke','filter','setRichText','11002203SqLwZZ','isVisible','_getGeometryModel','transform','Radial','bring\x20forward','defineProperty','809216pGPZIe','setCustomGeometry','sendBackward','_injector','setVisible','2144YSzYXT','get','setTextBoxOptions','setCustomGeometryFromSvgPath','Linear','_getConnectorAdapter','description','shapeId','adjustValues','isFinite','setFontFamily','getShape','fromEntries','10RVLAXC','rgba(0,\x200,\x200,\x200)','DemoteNode','updateSmartArtPresentationShape','SolidFill','boolean','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22','radial','setStrokeLineDashType','shapeText','unbind\x20start','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','2766hzeaNH','getShapeData','isSelectable','subUnitId','isCustomShape','InsertNode','getStartConnectInfo','setStrokeColor','getText','\x22\x20requires\x20Connector\x20Shape\x20data.','SetDirection','[Shape\x20Facade]:\x20Failed\x20to\x20','_bind','setEndPoint','getOwnPropertyDescriptor','selectable','setHorizontalAlign','getHostType','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22','setStrikethrough','\x22\x20does\x20not\x20exist.','setStrokeLineCapType','from','getAdjustHandles','ShapeTypeEnum','getName','scaleY','shapeType','pathData','flipX','setRotation','FALSE','insertSmartArtNode','relation','\x22\x20is\x20not\x20SmartArt.','setFontSize','ShapeLineJoinEnum','bind\x20','getRoutePoints','ShapeOperatorEnum','getEndArrow','NoLine','dataArray','setText','entries','bindStart','[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','node','send\x20backward','_commandService','deleteSmartArtNode','getStartArrow','isInteger','[Shape\x20Facade]:\x20Custom\x20geometry\x20connection\x20site\x20','getCustomGeometry','getTextBoxOptions','shapeData','Shape\x20transform\x20\x22','PictureFill','offsetX','end','length','129064zNHmfT','\x20requires\x20both\x20\x22x\x22\x20and\x20\x22y\x22.','Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','points','stroke','bringToFront','top','setShapeData','set\x20end\x20arrow','mode','fill','demoteSmartArtNode','MoveNode','ShapeImageSourceTypeEnum','setZOrder','[Shape\x20Facade]:\x20The\x20current\x20Shape\x20host\x20cannot\x20convert\x20SmartArt\x20\x22','setStrokeOpacity','decorate','lineStrokeType','resetAdjustValues','16142cnlTPB','ShapeLineCapEnum','height','ShapeGradientTypeEnum','endArrow','toPlainText','rotation','setTransform','offsetY','bring\x20to\x20front','ShapeFillEnum','cxnLst','\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.','SolidLine','setStrokeLineType','[Shape\x20Facade]:\x20Shape\x20adjustment\x20\x22','[Shape\x20Text\x20Facade]:\x20Shape\x20\x22','setTextStyle','hostType','routePoints','bindEnd','customGeometry','getEndConnectInfo','remove','\x22\x20requires\x20a\x20Connector\x20Shape\x20type.','URL'];_0x3739=function(){return _0x25a815;};return _0x3739();}function _0x472b(_0x93f58a,_0xe3e629){_0x93f58a=_0x93f58a-0x189;const _0x37396a=_0x3739();let _0x472bcb=_0x37396a[_0x93f58a];return _0x472bcb;}(function(_0x58999d,_0x94a0e0){const _0x2a94a1=_0x472b,_0x3b05b6=_0x58999d();while(!![]){try{const _0x250569=-parseInt(_0x2a94a1(0x216))/0x1+-parseInt(_0x2a94a1(0x253))/0x2+-parseInt(_0x2a94a1(0x1fe))/0x3+-parseInt(_0x2a94a1(0x1b4))/0x4+-parseInt(_0x2a94a1(0x234))/0x5*(-parseInt(_0x2a94a1(0x271))/0x6)+parseInt(_0x2a94a1(0x1c9))/0x7*(parseInt(_0x2a94a1(0x258))/0x8)+parseInt(_0x2a94a1(0x24c))/0x9*(parseInt(_0x2a94a1(0x265))/0xa);if(_0x250569===_0x94a0e0)break;else _0x3b05b6['push'](_0x3b05b6['shift']());}catch(_0xde9e41){_0x3b05b6['push'](_0x3b05b6['shift']());}}}(_0x3739,0x53ebd));import{IConnectorShapeHostAdapter as _0x1f3ff2,IShapeHostAdapterRegistry as _0x455f23,ImageFillModeEnum as _0x3e9844,ImageSourceTypeEnum as _0x55da77,ShapeArrowSizeEnum as _0x4d3af5,ShapeArrowTypeEnum as _0x4f77ad,ShapeFillEnum as _0x316d78,ShapeGradientTypeEnum as _0x5c05ff,ShapeLineCapEnum as _0x3ba96d,ShapeLineDashEnum as _0x5618b0,ShapeLineJoinEnum as _0x1f4acd,ShapeLineTypeEnum as _0x3fbd2e,ShapeModel as _0x3ca745,ShapeOperatorEnum as _0x4dfcc2,ShapeTextAutoFitType as _0x25d3ec,ShapeTextDirection as _0x9f7495,ShapeTextWrapType as _0x36f8ad,ShapeTypeEnum as _0xbe825b,SmartArtOperationTypeEnum as _0x53226c,applyRichTextToShapeText as _0x4c5ac5,applyShapeTextAlignment as _0x56e347,applyShapeTextBoxOptions as _0x4a96c2,applyShapeTextStyle as _0x4a561d,applyTextToShapeText as _0x4d409d,isConnectorShape as _0x256dad,isSmartArtShapeData as _0x1ee2b1,parseSvgPathData as _0x35ee92,resolveShapeTextBoxOptions as _0x40a73d,shapeTextToRichTextValue as _0x450d55}from'@univerjs-pro/engine-shape';import{FBase as _0x1b4aae,FEnum as _0x359e47}from'@univerjs/core/facade';import{BooleanNumber as _0x5527c7,ICommandService as _0x5732bf,Tools as _0x2bef07}from'@univerjs/core';var P=class extends _0x359e47{get[_0x2e95ed(0x18e)](){return _0xbe825b;}get[_0x2e95ed(0x1d3)](){return _0x316d78;}get[_0x2e95ed(0x1cc)](){return _0x5c05ff;}get['ShapeImageFillModeEnum'](){return _0x3e9844;}get[_0x2e95ed(0x1c2)](){return _0x55da77;}get[_0x2e95ed(0x1e5)](){return _0x3fbd2e;}get['ShapeLineDashEnum'](){return _0x5618b0;}get[_0x2e95ed(0x1ca)](){return _0x3ba96d;}get[_0x2e95ed(0x19a)](){return _0x1f4acd;}get[_0x2e95ed(0x19d)](){return _0x4dfcc2;}get['ShapeArrowTypeEnum'](){return _0x4f77ad;}get['ShapeArrowSizeEnum'](){return _0x4d3af5;}get['ShapeTextAutoFitType'](){return _0x25d3ec;}get['ShapeTextDirection'](){return _0x9f7495;}get[_0x2e95ed(0x21b)](){return _0x36f8ad;}};_0x359e47['extend'](P);function F(_0xb921b8){const _0x2f7c50=_0x2e95ed;switch(_0xb921b8){case _0x5c05ff[_0x2f7c50(0x250)]:return _0x2f7c50(0x26c);case _0x5c05ff[_0x2f7c50(0x233)]:return _0x2f7c50(0x225);case _0x5c05ff[_0x2f7c50(0x230)]:return'diamond';case _0x5c05ff[_0x2f7c50(0x25c)]:default:return'linear';}}function I(_0x1cde41){const _0x2c26a7=_0x2e95ed;return _0x1cde41===_0x3e9844[_0x2c26a7(0x1f8)]?'tile':'stretch';}var L=class{constructor(_0x52e885,_0xa1c692){const _0x440d2e=_0x2e95ed;this[_0x440d2e(0x20b)]=_0x52e885,this[_0x440d2e(0x256)]=_0xa1c692;}[_0x2e95ed(0x202)](){const _0x6b74cf=_0x2e95ed;var _0x33bab6;return _0x450d55((_0x33bab6=this['_getShapeData']())==null?void 0x0:_0x33bab6[_0x6b74cf(0x26e)]);}['getPlainText'](){const _0x2dc19e=_0x2e95ed;var _0x292e2d;return((_0x292e2d=this[_0x2dc19e(0x202)]())==null?void 0x0:_0x292e2d[_0x2dc19e(0x1ce)]())??null;}[_0x2e95ed(0x24b)](_0x5753fa){const _0x46a08b=_0x2e95ed;return this[_0x46a08b(0x1f5)](_0x2f82dd=>({..._0x2f82dd,'shapeText':_0x4c5ac5(_0x2f82dd[_0x46a08b(0x26e)],_0x5753fa)})),this;}[_0x2e95ed(0x1a1)](_0x497cb4){const _0xcb361d=_0x2e95ed;return this['_updateShapeData'](_0x417356=>({..._0x417356,'shapeText':_0x4d409d(_0x417356[_0xcb361d(0x26e)],_0x497cb4)})),this;}[_0x2e95ed(0x1da)](_0x4a8afd){const _0x26008f=_0x2e95ed;return this[_0x26008f(0x1f5)](_0x107c18=>({..._0x107c18,'shapeText':_0x4a561d(_0x107c18['shapeText'],_0x4a8afd)})),this;}[_0x2e95ed(0x236)](_0x378056,_0x4a2c86){const _0x391878=_0x2e95ed;return this[_0x391878(0x1da)]({'cl':{'rgb':_0x378056},'textFill':{'type':_0x391878(0x23a),'color':_0x378056,'opacity':_0x4a2c86}});}['setNoneFill'](){const _0x164cc9=_0x2e95ed;return this[_0x164cc9(0x1da)]({'cl':{'rgb':_0x164cc9(0x266)},'textFill':{'type':'none'}});}['setGradientFill'](_0x47fb5e,_0xa6ae1f,_0x4785d5){const _0x29b275=_0x2e95ed;return _0xa6ae1f[_0x29b275(0x1b3)]<0x2?(console['warn'](_0x29b275(0x217)),this):this[_0x29b275(0x1da)]({'cl':{'rgb':_0xa6ae1f[0x0][_0x29b275(0x212)]},'textFill':{'type':_0x29b275(0x1fd),'gradient':{'type':F(_0x47fb5e),'angle':_0x4785d5,'stops':_0xa6ae1f['map'](({position:_0x58dc6a,color:_0x2c8f8d,opacity:_0x1d8de5})=>({'offset':_0x58dc6a,'color':_0x2c8f8d,'opacity':_0x1d8de5}))}}});}['setImageFill'](_0x7e188d,_0x326a6e=_0x55da77[_0x2e95ed(0x1e2)],_0xd366af={}){const _0x41d22e=_0x2e95ed;return this[_0x41d22e(0x1da)]({'textFill':{'type':_0x41d22e(0x23b),'picture':{'source':_0x7e188d,'sourceType':_0x326a6e,'opacity':_0xd366af['opacity'],'mode':I(_0xd366af[_0x41d22e(0x1be)]),'scaleX':_0xd366af['scaleX'],'scaleY':_0xd366af[_0x41d22e(0x190)],'offsetX':_0xd366af[_0x41d22e(0x1b1)],'offsetY':_0xd366af[_0x41d22e(0x1d1)]}}});}[_0x2e95ed(0x199)](_0xe278c2){const _0x51fdea=_0x2e95ed;return this[_0x51fdea(0x1da)]({'fs':_0xe278c2});}[_0x2e95ed(0x262)](_0x129cc9){const _0x48ef31=_0x2e95ed;return this[_0x48ef31(0x1da)]({'ff':_0x129cc9});}['setBold'](_0x3fb0ba){const _0x11b284=_0x2e95ed;return this[_0x11b284(0x1da)]({'bl':_0x3fb0ba?_0x5527c7[_0x11b284(0x23e)]:_0x5527c7['FALSE']});}[_0x2e95ed(0x22d)](_0x4f3702){const _0x566029=_0x2e95ed;return this['setTextStyle']({'it':_0x4f3702?_0x5527c7[_0x566029(0x23e)]:_0x5527c7[_0x566029(0x195)]});}[_0x2e95ed(0x204)](_0x350cae){const _0x489308=_0x2e95ed;return this[_0x489308(0x1da)]({'ul':{'s':_0x350cae?_0x5527c7[_0x489308(0x23e)]:_0x5527c7['FALSE']}});}[_0x2e95ed(0x189)](_0x312a2e){const _0x2d3422=_0x2e95ed;return this['setTextStyle']({'st':{'s':_0x312a2e?_0x5527c7[_0x2d3422(0x23e)]:_0x5527c7[_0x2d3422(0x195)]}});}[_0x2e95ed(0x281)](_0x414239){return this['_updateShapeData'](_0x1ac461=>_0x56e347(_0x1ac461,{'horizontalAlign':_0x414239})),this;}[_0x2e95ed(0x239)](_0x18c81f){const _0x39ea6d=_0x2e95ed;return this[_0x39ea6d(0x1f5)](_0x1d01e0=>_0x56e347(_0x1d01e0,{'verticalAlign':_0x18c81f})),this;}[_0x2e95ed(0x1ad)](){const _0x38d26a=_0x2e95ed;let _0x26d850=this[_0x38d26a(0x21d)]();return _0x26d850?_0x40a73d(_0x26d850):null;}[_0x2e95ed(0x25a)](_0x14cfbe){return this['_updateShapeData'](_0x551e67=>_0x4a96c2(_0x551e67,_0x14cfbe)),this;}[_0x2e95ed(0x1e6)](){const _0x32f563=_0x2e95ed;return this[_0x32f563(0x256)]['get'](_0x455f23)[_0x32f563(0x259)](this['_shapeRef'][_0x32f563(0x1db)]);}['_getShapeData'](){const _0x1193eb=_0x2e95ed;let _0x29b527=this[_0x1193eb(0x1e6)]();if(!_0x29b527)return null;try{var _0x35f201;return((_0x35f201=_0x29b527[_0x1193eb(0x263)](this[_0x1193eb(0x20b)]))==null?void 0x0:_0x35f201[_0x1193eb(0x1ae)])||(console['warn'](_0x1193eb(0x1d9)+this[_0x1193eb(0x20b)]['shapeId']+_0x1193eb(0x235)),null);}catch(_0x5aa7d2){return console[_0x1193eb(0x1fb)](_0x1193eb(0x1b7)+this[_0x1193eb(0x20b)][_0x1193eb(0x25f)]+_0x1193eb(0x20c),_0x5aa7d2),null;}}[_0x2e95ed(0x1f5)](_0x380f98){const _0x32e05a=_0x2e95ed;let _0x667a29=this[_0x32e05a(0x1e6)]();if(!_0x667a29)return!0x1;try{var _0x27ab7f;let _0xcdec38=(_0x27ab7f=_0x667a29[_0x32e05a(0x263)](this[_0x32e05a(0x20b)]))==null?void 0x0:_0x27ab7f[_0x32e05a(0x1ae)];if(!_0xcdec38)return console[_0x32e05a(0x1fb)](_0x32e05a(0x1d9)+this[_0x32e05a(0x20b)][_0x32e05a(0x25f)]+_0x32e05a(0x235)),!0x1;let _0x27ba13=_0x667a29['updateShape'](this[_0x32e05a(0x20b)],{'shapeData':_0x380f98(_0xcdec38)});return _0x27ba13||console[_0x32e05a(0x1fb)](_0x32e05a(0x26b)+this[_0x32e05a(0x20b)][_0x32e05a(0x25f)]+_0x32e05a(0x20c)),_0x27ba13;}catch(_0x21b23c){return console['warn'](_0x32e05a(0x26b)+this[_0x32e05a(0x20b)][_0x32e05a(0x25f)]+_0x32e05a(0x20c),_0x21b23c),!0x1;}}};function R(_0x499e73,_0x3a23ad){return function(_0x1cac51,_0x4b0d56){_0x3a23ad(_0x1cac51,_0x4b0d56,_0x499e73);};}function z(_0x1902dc,_0x17d564,_0x55c5bf,_0x116526){const _0x317ea3=_0x2e95ed;var _0x50c97f=arguments[_0x317ea3(0x1b3)],_0x5a7dff=_0x50c97f<0x3?_0x17d564:_0x116526===null?_0x116526=Object[_0x317ea3(0x27f)](_0x17d564,_0x55c5bf):_0x116526,_0x333c35;if(typeof Reflect==_0x317ea3(0x1f3)&&typeof Reflect[_0x317ea3(0x1c6)]=='function')_0x5a7dff=Reflect[_0x317ea3(0x1c6)](_0x1902dc,_0x17d564,_0x55c5bf,_0x116526);else{for(var _0x42a261=_0x1902dc[_0x317ea3(0x1b3)]-0x1;_0x42a261>=0x0;_0x42a261--)(_0x333c35=_0x1902dc[_0x42a261])&&(_0x5a7dff=(_0x50c97f<0x3?_0x333c35(_0x5a7dff):_0x50c97f>0x3?_0x333c35(_0x17d564,_0x55c5bf,_0x5a7dff):_0x333c35(_0x17d564,_0x55c5bf))||_0x5a7dff);}return _0x50c97f>0x3&&_0x5a7dff&&Object[_0x317ea3(0x252)](_0x17d564,_0x55c5bf,_0x5a7dff),_0x5a7dff;}var B;function V(_0x1ceea2){const _0x551030=_0x2e95ed;let _0x2bc447=_0x2bef07[_0x551030(0x22b)](_0x1ceea2);return _0x2bc447[_0x551030(0x1e4)]&&=_0x2bc447[_0x551030(0x1e4)][_0x551030(0x1eb)](_0x49cbd5=>{const _0x529351=_0x551030;var _0xea93e6;if((_0xea93e6=_0x49cbd5[_0x529351(0x1a0)])!=null&&_0xea93e6[_0x529351(0x1b3)]){let {data:_0x257834,..._0x1a18d0}=_0x49cbd5;return _0x1a18d0;}if(_0x49cbd5[_0x529351(0x23c)]===void 0x0)return _0x49cbd5;let _0x28f8ef=_0x35ee92(_0x49cbd5[_0x529351(0x23c)]),{data:_0x4a8499,..._0x59f2e4}=_0x49cbd5;return{..._0x59f2e4,'dataArray':_0x28f8ef};}),_0x2bc447;}let H=B=class extends _0x1b4aae{constructor(_0x398f2f,_0x300b5d,_0x3ba06a,_0x21408c){const _0x1f559a=_0x2e95ed;super(),this[_0x1f559a(0x20b)]=_0x398f2f,this['_injector']=_0x300b5d,this['_shapeHostAdapterRegistry']=_0x3ba06a,this[_0x1f559a(0x1a7)]=_0x21408c;}[_0x2e95ed(0x1e7)](){return!0x1;}[_0x2e95ed(0x1e8)](){const _0x123847=_0x2e95ed;return this[_0x123847(0x20b)][_0x123847(0x25f)];}[_0x2e95ed(0x18f)](){const _0x2972cf=_0x2e95ed;var _0x13f8e3;return(_0x13f8e3=this[_0x2972cf(0x227)]())==null?void 0x0:_0x13f8e3[_0x2972cf(0x1f4)];}['setName'](_0x4e455f){const _0x2d13a2=_0x2e95ed;return this[_0x2d13a2(0x246)]({'name':_0x4e455f});}[_0x2e95ed(0x214)](){const _0x5a9e2c=_0x2e95ed;var _0x4273a1;return(_0x4273a1=this[_0x5a9e2c(0x227)]())==null?void 0x0:_0x4273a1[_0x5a9e2c(0x25e)];}[_0x2e95ed(0x1e9)](_0x32cdb3){const _0x309829=_0x2e95ed;return this[_0x309829(0x246)]({'description':_0x32cdb3});}[_0x2e95ed(0x282)](){const _0x461d52=_0x2e95ed;return this[_0x461d52(0x20b)]['hostType'];}[_0x2e95ed(0x23f)](){const _0x2b74f3=_0x2e95ed;var _0x10e9fb;return((_0x10e9fb=this[_0x2b74f3(0x227)]())==null?void 0x0:_0x10e9fb[_0x2b74f3(0x191)])??null;}[_0x2e95ed(0x272)](){const _0x4213bb=_0x2e95ed;let _0x18d8e2=this[_0x4213bb(0x227)]();return _0x18d8e2?_0x2bef07[_0x4213bb(0x22b)](_0x18d8e2[_0x4213bb(0x1ae)]):null;}['isSmartArt'](){const _0x2f10ea=_0x2e95ed;var _0x62bca6;let _0x11e249=(_0x62bca6=this['_getSnapshot']())==null?void 0x0:_0x62bca6[_0x2f10ea(0x1ae)];return!!_0x11e249&&_0x1ee2b1(_0x11e249);}[_0x2e95ed(0x1f6)](){const _0x1ffda0=_0x2e95ed;var _0xd22a39;let _0x1a291c=(_0xd22a39=this['_getSnapshot']())==null?void 0x0:_0xd22a39[_0x1ffda0(0x1ae)];return _0x1a291c&&_0x1ee2b1(_0x1a291c)?_0x2bef07[_0x1ffda0(0x22b)](_0x1a291c['smartArt']):null;}[_0x2e95ed(0x206)](_0x28a8e5){const _0x2dd658=_0x2e95ed;return this[_0x2dd658(0x1ea)]({'type':_0x53226c['Replace'],'data':_0x2bef07['deepClone'](_0x28a8e5)});}[_0x2e95ed(0x196)](_0x1d0a17){const _0x11b95b=_0x2e95ed;return this[_0x11b95b(0x1ea)]({'type':_0x53226c[_0x11b95b(0x276)],'nodeId':_0x1d0a17[_0x11b95b(0x1a5)]['id'],'node':_0x2bef07['deepClone'](_0x1d0a17[_0x11b95b(0x1a5)]),'targetNodeId':_0x1d0a17[_0x11b95b(0x247)],'position':_0x1d0a17[_0x11b95b(0x238)]});}[_0x2e95ed(0x1a8)](_0x2a2c78){const _0x563eb3=_0x2e95ed;return this[_0x563eb3(0x1ea)]({'type':_0x53226c[_0x563eb3(0x1ed)],'nodeId':_0x2a2c78});}[_0x2e95ed(0x218)](_0x546df5){const _0x4e9b9d=_0x2e95ed;return this['_updateSmartArt']({'type':_0x53226c[_0x4e9b9d(0x1c1)],..._0x546df5});}[_0x2e95ed(0x20a)](_0x2c4483){const _0x5432b2=_0x2e95ed;return this[_0x5432b2(0x1ea)]({'type':_0x53226c[_0x5432b2(0x1f9)],'nodeId':_0x2c4483});}[_0x2e95ed(0x1c0)](_0x54b648){const _0x1b2004=_0x2e95ed;return this[_0x1b2004(0x1ea)]({'type':_0x53226c[_0x1b2004(0x267)],'nodeId':_0x54b648});}['updateSmartArtNode'](_0x3e1469,_0x1a3664){const _0x5d7bf3=_0x2e95ed;return this[_0x5d7bf3(0x1ea)]({'type':_0x53226c[_0x5d7bf3(0x1f7)],'nodeId':_0x3e1469,'update':_0x2bef07['deepClone'](_0x1a3664)});}['setSmartArtDirection'](_0x53d373){const _0x5f2490=_0x2e95ed;return this['_updateSmartArt']({'type':_0x53226c[_0x5f2490(0x27b)],'direction':_0x53d373});}['setSmartArtLayout'](_0x43fd09){const _0x4a1ff5=_0x2e95ed;return this[_0x4a1ff5(0x1ea)]({'type':_0x53226c['SetLayout'],'layoutId':_0x43fd09});}[_0x2e95ed(0x268)](_0x346264,_0x3a6384){const _0x2251e0=_0x2e95ed;return this['_updateSmartArt']({'type':_0x53226c['UpdatePresentationShape'],'presentationShapeId':_0x346264,'update':_0x2bef07[_0x2251e0(0x22b)](_0x3a6384)});}[_0x2e95ed(0x229)](){const _0x3046e3=_0x2e95ed;let _0x2794d7=this['_getAdapter']();if(!(_0x2794d7!=null&&_0x2794d7[_0x3046e3(0x229)]))return console[_0x3046e3(0x1fb)](_0x3046e3(0x1c4)+this[_0x3046e3(0x20b)][_0x3046e3(0x25f)]+'\x22.'),[];try{let _0x2e4913=_0x2794d7[_0x3046e3(0x229)](this[_0x3046e3(0x20b)]);return _0x2e4913?_0x2e4913['map'](_0x460413=>this[_0x3046e3(0x256)][_0x3046e3(0x1f1)](B,{'hostType':_0x460413[_0x3046e3(0x1db)],'unitId':_0x460413[_0x3046e3(0x22f)],'subUnitId':_0x460413[_0x3046e3(0x274)],'shapeId':_0x460413[_0x3046e3(0x25f)]},this[_0x3046e3(0x256)])):(console['warn'](_0x3046e3(0x223)+this[_0x3046e3(0x20b)][_0x3046e3(0x25f)]+'\x22.'),[]);}catch(_0x39eef5){return console[_0x3046e3(0x1fb)](_0x3046e3(0x223)+this['_shapeRef'][_0x3046e3(0x25f)]+'\x22.',_0x39eef5),[];}}[_0x2e95ed(0x1f2)](){const _0xefd6ff=_0x2e95ed;let _0x34cbaa=this[_0xefd6ff(0x227)]();return _0x34cbaa?_0x2bef07[_0xefd6ff(0x22b)](_0x34cbaa):null;}[_0x2e95ed(0x1ff)](){const _0x56b256=_0x2e95ed;let _0x1e6383=this[_0x56b256(0x227)]();return _0x1e6383?{..._0x1e6383[_0x56b256(0x24f)]}:null;}[_0x2e95ed(0x24d)](){const _0x2b8238=_0x2e95ed;var _0x3bf37a;return((_0x3bf37a=this[_0x2b8238(0x227)]())==null?void 0x0:_0x3bf37a['visible'])??!0x1;}[_0x2e95ed(0x257)](_0x27d515){const _0x4481db=_0x2e95ed;return this[_0x4481db(0x246)]({'visible':_0x27d515});}[_0x2e95ed(0x273)](){const _0x153656=_0x2e95ed;var _0x2b3188;return((_0x2b3188=this[_0x153656(0x227)]())==null?void 0x0:_0x2b3188[_0x153656(0x280)])??!0x1;}['setSelectable'](_0x275492){const _0x171241=_0x2e95ed;return this[_0x171241(0x246)]({'selectable':_0x275492});}[_0x2e95ed(0x279)](){const _0x181578=_0x2e95ed;return this[_0x181578(0x256)][_0x181578(0x1f1)](L,this[_0x181578(0x20b)],this[_0x181578(0x256)]);}[_0x2e95ed(0x275)](){const _0x6e94de=_0x2e95ed;let _0x1b3a31=this[_0x6e94de(0x272)]();return(_0x1b3a31==null?void 0x0:_0x1b3a31[_0x6e94de(0x232)])===!0x0&&!!_0x1b3a31[_0x6e94de(0x1de)];}[_0x2e95ed(0x1ac)](){const _0x2a9e81=_0x2e95ed;var _0x473755;return((_0x473755=this['getShapeData']())==null?void 0x0:_0x473755[_0x2a9e81(0x1de)])??null;}[_0x2e95ed(0x21e)](_0x3b4a08){return this['_patchShapeData'](_0x3d0e9d=>({..._0x3d0e9d,'shapeType':_0x3b4a08}),_0x3b4a08);}[_0x2e95ed(0x1bc)](_0x4b9a52){const _0x32a6c5=_0x2e95ed;let _0x2da69c=_0x2bef07['deepClone'](_0x4b9a52);return this[_0x32a6c5(0x246)]({'shapeType':_0x2da69c[_0x32a6c5(0x191)],'shapeData':_0x2da69c});}[_0x2e95ed(0x1d0)](_0x3a59c6){const _0x355206=_0x2e95ed;return this[_0x355206(0x246)]({'transform':_0x3a59c6});}[_0x2e95ed(0x205)](_0x361e28,_0x4f5746){const _0x2d64dc=_0x2e95ed;return this[_0x2d64dc(0x1d0)]({'width':_0x361e28,'height':_0x4f5746});}[_0x2e95ed(0x194)](_0x18c1f2){const _0x2037e1=_0x2e95ed;return this[_0x2037e1(0x1d0)]({'rotation':_0x18c1f2});}['setAbsolutePosition'](_0x1380e0,_0xafac0e){return this['setTransform']({'left':_0x1380e0,'top':_0xafac0e});}[_0x2e95ed(0x254)](_0x363289){const _0x51bd16=_0x2e95ed;var _0x2e53be,_0x2c3a34;let _0x1fca5e=((_0x2e53be=_0x363289['cxnLst'])==null?void 0x0:_0x2e53be[_0x51bd16(0x226)](({x:_0x5ae38f,y:_0x165c1f})=>_0x5ae38f===void 0x0||_0x165c1f===void 0x0))??-0x1;if(_0x1fca5e>=0x0)return console['warn'](_0x51bd16(0x1ab)+_0x1fca5e+_0x51bd16(0x1b5)),this;let _0x1bcda2=V(_0x363289);if((_0x2c3a34=_0x1bcda2[_0x51bd16(0x1d4)])!=null&&_0x2c3a34[_0x51bd16(0x1b3)]){let _0x50df23=this[_0x51bd16(0x227)]();if(!_0x50df23)return this;try{let _0x4e2a36=new _0x3ca745(_0x50df23['shapeType'],_0x50df23[_0x51bd16(0x25f)],{..._0x50df23[_0x51bd16(0x1ae)],'isCustom':!0x0,'customGeometry':_0x1bcda2});_0x4e2a36['updateContext']({'width':_0x50df23[_0x51bd16(0x24f)][_0x51bd16(0x228)],'height':_0x50df23[_0x51bd16(0x24f)][_0x51bd16(0x1cb)]}),_0x4e2a36['getConnectionSiteList']();}catch{return console[_0x51bd16(0x1fb)]('[Shape\x20Facade]:\x20Custom\x20geometry\x20connection\x20sites\x20must\x20resolve\x20to\x20finite\x20coordinates.'),this;}}return this[_0x51bd16(0x208)](_0x47c855=>({..._0x47c855,'isCustom':!0x0,'customGeometry':_0x1bcda2}));}[_0x2e95ed(0x25b)](_0x5afcd1){const _0xfea25c=_0x2e95ed;return this[_0xfea25c(0x254)]({'rect':{'l':0x0,'t':0x0,'r':'r','b':'b'},'pathLst':[{'w':_0x5afcd1[_0xfea25c(0x228)],'h':_0x5afcd1[_0xfea25c(0x1cb)],'fill':_0x5afcd1[_0xfea25c(0x1bf)],'stroke':_0x5afcd1['stroke'],'data':_0x5afcd1[_0xfea25c(0x192)]}]});}[_0x2e95ed(0x22e)](){const _0x5c0baf=_0x2e95ed;var _0x42f76d;return((_0x42f76d=this[_0x5c0baf(0x24e)]())==null?void 0x0:_0x42f76d[_0x5c0baf(0x22c)]()['map'](_0x427c4c=>({..._0x427c4c})))??[];}[_0x2e95ed(0x277)](){const _0x3e68e0=_0x2e95ed;var _0x43eea5;let _0x183394=(_0x43eea5=this[_0x3e68e0(0x24e)]())==null?void 0x0:_0x43eea5['getStartConnectInfo']();return _0x183394?{..._0x183394}:null;}[_0x2e95ed(0x1df)](){const _0xa1770d=_0x2e95ed;var _0x128849;let _0x43d3a4=(_0x128849=this[_0xa1770d(0x24e)]())==null?void 0x0:_0x128849['getEndConnectInfo']();return _0x43d3a4?{..._0x43d3a4}:null;}[_0x2e95ed(0x18d)](){const _0x1fa4be=_0x2e95ed;var _0x485347;let _0x3cbf1f=this['_getGeometryModel'](),_0x267ba8=(_0x3cbf1f==null||(_0x485347=_0x3cbf1f['getPresetShapeConfig']()['ahLst'])==null?void 0x0:_0x485347[_0x1fa4be(0x1b3)])??0x0;return!_0x3cbf1f||_0x267ba8===0x0?[]:Array[_0x1fa4be(0x18c)]({'length':_0x267ba8},(_0xa015a5,_0x5d0954)=>_0x3cbf1f[_0x1fa4be(0x244)](_0x5d0954))[_0x1fa4be(0x24a)](_0x5f09a8=>_0x5f09a8!==void 0x0)[_0x1fa4be(0x1eb)](_0x35e80b=>_0x2bef07[_0x1fa4be(0x22b)](_0x35e80b));}[_0x2e95ed(0x220)](_0x31210f){const _0x808170=_0x2e95ed;let _0x549d26=Object[_0x808170(0x1a2)](_0x31210f);if(_0x549d26[_0x808170(0x1b3)]===0x0)return this;let _0x2d6e65=this[_0x808170(0x24e)]();if(!_0x2d6e65)return this;let _0x416a57=new Set(_0x2d6e65[_0x808170(0x203)]());for(let [_0x5bd489,_0x5010d6]of _0x549d26){if(!_0x416a57['has'](_0x5bd489))return console[_0x808170(0x1fb)](_0x808170(0x1d8)+_0x5bd489+_0x808170(0x18a)),this;if(!Number[_0x808170(0x261)](_0x5010d6))return console['warn']('[Shape\x20Facade]:\x20Shape\x20adjustment\x20\x22'+_0x5bd489+_0x808170(0x207)),this;}let _0x271d02=Object[_0x808170(0x264)](_0x549d26[_0x808170(0x1eb)](([_0x241654,_0x3ca243])=>[_0x241654,_0x2d6e65['setAdjustValueByName'](_0x241654,_0x3ca243)]));return this[_0x808170(0x208)](_0x5a66f0=>({..._0x5a66f0,'adjustValues':{..._0x5a66f0['adjustValues'],..._0x271d02}}));}[_0x2e95ed(0x1c8)](){const _0x38b185=_0x2e95ed;let _0x5a9878=this['getShapeData']();return _0x5a9878!=null&&_0x5a9878[_0x38b185(0x260)]?(delete _0x5a9878[_0x38b185(0x260)],this[_0x38b185(0x246)]({'shapeData':_0x5a9878})):this;}[_0x2e95ed(0x1fc)](_0x18df85,_0x1f8181){const _0x14f734=_0x2e95ed;return this['_patchShapeData'](_0x4b2cc8=>({..._0x4b2cc8,'fill':{'fillType':_0x316d78[_0x14f734(0x269)],'color':_0x18df85,'opacity':_0x1f8181}}));}[_0x2e95ed(0x22a)](_0xc7766b,_0x1ae35b,_0x47a7dc){const _0x564a2d=_0x2e95ed;return _0x1ae35b[_0x564a2d(0x1b3)]<0x2?(console[_0x564a2d(0x1fb)](_0x564a2d(0x1a4)),this):this['_patchShapeData'](_0x474e9b=>({..._0x474e9b,'fill':{'fillType':_0x316d78['GradientFill'],'gradientType':_0xc7766b,'gradientStops':_0x2bef07[_0x564a2d(0x22b)](_0x1ae35b),'gradientAngle':_0x47a7dc}}));}[_0x2e95ed(0x210)](_0x50ff5d,_0x2cf19b,_0x2e5162={}){const _0x150810=_0x2e95ed;return this[_0x150810(0x208)](_0x5cca3d=>({..._0x5cca3d,'fill':{..._0x2bef07[_0x150810(0x22b)](_0x2e5162),'fillType':_0x316d78[_0x150810(0x1b0)],'fillImageSource':_0x50ff5d,'fillImageSourceType':_0x2cf19b}}));}['setNoneFill'](){const _0x102f55=_0x2e95ed;return this[_0x102f55(0x208)](_0x23b647=>({..._0x23b647,'fill':{'fillType':_0x316d78['NoFill']}}));}['setStroke'](_0x2b7401){const _0x9a73bb=_0x2e95ed;return this[_0x9a73bb(0x208)](_0x2d54ec=>({..._0x2d54ec,'stroke':_0x2bef07[_0x9a73bb(0x22b)](_0x2b7401)}));}[_0x2e95ed(0x278)](_0x418b72){const _0x1d2205=_0x2e95ed;return this[_0x1d2205(0x249)](_0x1c8397=>({..._0x1c8397,'color':_0x418b72,'lineStrokeType':_0x1c8397[_0x1d2205(0x1c7)]===_0x3fbd2e['NoLine']?_0x3fbd2e[_0x1d2205(0x1d6)]:_0x1c8397[_0x1d2205(0x1c7)]}));}['setStrokeWidth'](_0x2cbb81){const _0x3eb8ba=_0x2e95ed;return this[_0x3eb8ba(0x249)](_0x2706e3=>({..._0x2706e3,'width':_0x2cbb81,'lineStrokeType':_0x2706e3['lineStrokeType']===_0x3fbd2e[_0x3eb8ba(0x19f)]?_0x3fbd2e[_0x3eb8ba(0x1d6)]:_0x2706e3['lineStrokeType']}));}[_0x2e95ed(0x1c5)](_0x5f1a11){return this['_patchStroke'](_0xa1b740=>({..._0xa1b740,'opacity':_0x5f1a11}));}[_0x2e95ed(0x26d)](_0x2d9a2d){return this['_patchStroke'](_0x43d365=>({..._0x43d365,'dashType':_0x2d9a2d}));}['setStrokeLineJoinType'](_0x1425e3){return this['_patchStroke'](_0x4e1f8a=>({..._0x4e1f8a,'lineJoinType':_0x1425e3}));}[_0x2e95ed(0x18b)](_0x28f9c4){const _0x32bb47=_0x2e95ed;return this[_0x32bb47(0x249)](_0x15d47c=>({..._0x15d47c,'capType':_0x28f9c4}));}[_0x2e95ed(0x1d7)](_0x4e664f){const _0x2d64a2=_0x2e95ed;return this[_0x2d64a2(0x249)](_0x32eeb3=>({..._0x32eeb3,'lineStrokeType':_0x4e664f}));}[_0x2e95ed(0x246)](_0x249ca5){const _0x161492=_0x2e95ed;var _0x2ffc48;let _0x33a42c=_0x249ca5[_0x161492(0x1ae)],_0x27a58b=_0x33a42c&&(_0x161492(0x197)in _0x33a42c||_0x161492(0x1b8)in _0x33a42c)?this[_0x161492(0x23f)]():null,_0x110420=_0x249ca5['shapeType']??((_0x2ffc48=_0x249ca5['shapeData'])==null?void 0x0:_0x2ffc48[_0x161492(0x191)])??_0x27a58b,_0x1e43dd=U(_0x249ca5,_0x110420!==null&&_0x256dad(_0x110420));return _0x1e43dd?(console['warn']('[Shape\x20Facade]:\x20'+_0x1e43dd),this):(this['_mutate']('update',_0x53963b=>_0x53963b['updateShape'](this[_0x161492(0x20b)],_0x249ca5)),this);}['remove'](){const _0x49db6c=_0x2e95ed;return this[_0x49db6c(0x224)](_0x49db6c(0x1e0),_0x73863e=>_0x73863e['removeShape'](this[_0x49db6c(0x20b)]));}[_0x2e95ed(0x1ba)](){const _0x24b52d=_0x2e95ed;return this[_0x24b52d(0x224)](_0x24b52d(0x1d2),_0x45f7f4=>_0x45f7f4[_0x24b52d(0x1ba)](this[_0x24b52d(0x20b)])),this;}['bringForward'](){const _0x39a6c5=_0x2e95ed;return this['_mutate'](_0x39a6c5(0x251),_0x55ffbe=>_0x55ffbe[_0x39a6c5(0x248)](this[_0x39a6c5(0x20b)])),this;}['sendBackward'](){const _0x535d8f=_0x2e95ed;return this[_0x535d8f(0x224)](_0x535d8f(0x1a6),_0x36a130=>_0x36a130[_0x535d8f(0x255)](this[_0x535d8f(0x20b)])),this;}[_0x2e95ed(0x20f)](){const _0x5f2ebc=_0x2e95ed;return this[_0x5f2ebc(0x224)](_0x5f2ebc(0x1ee),_0x1b58fb=>_0x1b58fb[_0x5f2ebc(0x20f)](this[_0x5f2ebc(0x20b)])),this;}[_0x2e95ed(0x1c3)](_0x12d726){const _0x54712c=_0x2e95ed;return this[_0x54712c(0x224)](_0x54712c(0x201),_0x320e5a=>_0x320e5a[_0x54712c(0x1c3)](this[_0x54712c(0x20b)],_0x12d726)),this;}[_0x2e95ed(0x1e6)](){const _0x34b492=_0x2e95ed;return this[_0x34b492(0x237)][_0x34b492(0x259)](this[_0x34b492(0x20b)][_0x34b492(0x1db)]);}[_0x2e95ed(0x208)](_0x1d44f5,_0x3421e6){const _0x14098e=_0x2e95ed;let _0x158b9d=this[_0x14098e(0x272)]();return _0x158b9d?this[_0x14098e(0x246)]({'shapeType':_0x3421e6,'shapeData':_0x1d44f5(_0x158b9d)}):this;}[_0x2e95ed(0x1ea)](..._0x5eef42){const _0x55be95=_0x2e95ed;let _0x1b4145=this['_getAdapter']();return!_0x1b4145||!this[_0x55be95(0x240)]()?(console[_0x55be95(0x1fb)]('[Shape\x20Facade]:\x20Shape\x20\x22'+this[_0x55be95(0x20b)][_0x55be95(0x25f)]+_0x55be95(0x198)),this):(_0x1b4145[_0x55be95(0x21c)](this[_0x55be95(0x20b)],{'smartArtOperations':_0x5eef42})||console[_0x55be95(0x1fb)](_0x55be95(0x211)+this[_0x55be95(0x20b)][_0x55be95(0x25f)]+'\x22.'),this);}[_0x2e95ed(0x249)](_0x157635){const _0x4244c4=_0x2e95ed;return this[_0x4244c4(0x208)](_0x31721b=>({..._0x31721b,'stroke':_0x157635(_0x31721b[_0x4244c4(0x1b9)]??{})}));}['_getSnapshot'](){const _0x3f3252=_0x2e95ed;let _0xcbdbec=this[_0x3f3252(0x1e6)]();if(!_0xcbdbec)return null;try{return _0xcbdbec[_0x3f3252(0x263)](this[_0x3f3252(0x20b)])||(console['warn']('[Shape\x20Facade]:\x20Shape\x20\x22'+this[_0x3f3252(0x20b)][_0x3f3252(0x25f)]+_0x3f3252(0x235)),null);}catch(_0x32cb9b){return console[_0x3f3252(0x1fb)](_0x3f3252(0x270)+this['_shapeRef'][_0x3f3252(0x25f)]+'\x22.',_0x32cb9b),null;}}[_0x2e95ed(0x24e)](){const _0x26beb5=_0x2e95ed;let _0x26740e=this[_0x26beb5(0x227)]();if(!_0x26740e)return null;try{let _0x585fd9=new _0x3ca745(_0x26740e[_0x26beb5(0x191)],_0x26740e[_0x26beb5(0x25f)],_0x2bef07['deepClone'](_0x26740e[_0x26beb5(0x1ae)]));return _0x585fd9[_0x26beb5(0x242)]({'width':_0x26740e[_0x26beb5(0x24f)][_0x26beb5(0x228)],'height':_0x26740e['transform'][_0x26beb5(0x1cb)]}),_0x585fd9;}catch(_0x2ffef4){return console[_0x26beb5(0x1fb)]('[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22'+this[_0x26beb5(0x20b)][_0x26beb5(0x25f)]+'\x22.',_0x2ffef4),null;}}[_0x2e95ed(0x224)](_0x14c35,_0xaa49db){const _0x11584b=_0x2e95ed;let _0x738992=this[_0x11584b(0x1e6)]();if(!_0x738992)return!0x1;try{let _0x5c6f82=_0xaa49db(_0x738992);return _0x5c6f82||console['warn'](_0x11584b(0x27c)+_0x14c35+'\x20Shape\x20\x22'+this[_0x11584b(0x20b)]['shapeId']+'\x22.'),_0x5c6f82;}catch(_0x445b96){return console['warn'](_0x11584b(0x27c)+_0x14c35+'\x20Shape\x20\x22'+this[_0x11584b(0x20b)]['shapeId']+'\x22.',_0x445b96),!0x1;}}};H=B=z([R(0x2,_0x455f23),R(0x3,_0x5732bf)],H);function U(_0x2aaa2e,_0x1e0823=!0x1){const _0x2f371f=_0x2e95ed;for(let _0xf76db3 of[_0x2f371f(0x221),_0x2f371f(0x280)]){let _0x433ebd=_0x2aaa2e[_0xf76db3];if(_0x433ebd!==void 0x0&&typeof _0x433ebd!='boolean')return _0x2f371f(0x1fa)+_0xf76db3+_0x2f371f(0x213);}let _0x42f27a=_0x2aaa2e['transform'];if(_0x42f27a){for(let _0x4abb6f of[_0x2f371f(0x245),_0x2f371f(0x1bb),_0x2f371f(0x228),_0x2f371f(0x1cb),_0x2f371f(0x1cf)]){let _0x8b4ca5=_0x42f27a[_0x4abb6f];if(_0x8b4ca5!==void 0x0&&!Number[_0x2f371f(0x261)](_0x8b4ca5))return _0x2f371f(0x1af)+_0x4abb6f+_0x2f371f(0x207);}if(_0x42f27a['width']!==void 0x0&&_0x42f27a[_0x2f371f(0x228)]<=0x0)return _0x2f371f(0x1ec);if(_0x42f27a['height']!==void 0x0&&_0x42f27a[_0x2f371f(0x1cb)]<=0x0)return _0x2f371f(0x1b6);for(let _0x19b3b3 of[_0x2f371f(0x193),'flipY']){let _0x37728c=_0x42f27a[_0x19b3b3];if(_0x37728c!==void 0x0&&typeof _0x37728c!=_0x2f371f(0x26a))return _0x2f371f(0x1af)+_0x19b3b3+'\x22\x20must\x20be\x20boolean.';}}let _0x1e280d=_0x2aaa2e['shapeData'];return!_0x1e0823&&_0x1e280d&&(_0x2f371f(0x197)in _0x1e280d||'points'in _0x1e280d)?_0x2f371f(0x1ef):null;}var W=class extends H{[_0x2e95ed(0x1e7)](){return!0x0;}['getStartEndpoint'](){const _0x245085=_0x2e95ed;let _0x16d4c9=this[_0x245085(0x20e)]();return _0x16d4c9?_0x2bef07['deepClone'](_0x16d4c9['start']):null;}['getEndEndpoint'](){const _0xefb64c=_0x2e95ed;let _0x57cd69=this[_0xefb64c(0x20e)]();return _0x57cd69?_0x2bef07[_0xefb64c(0x22b)](_0x57cd69['end']):null;}[_0x2e95ed(0x19c)](){const _0x1e33a2=_0x2e95ed;let _0x477fea=this[_0x1e33a2(0x20e)]();return _0x477fea?_0x2bef07[_0x1e33a2(0x22b)](_0x477fea[_0x1e33a2(0x1dc)]):null;}[_0x2e95ed(0x1a9)](){const _0x1dd1c6=_0x2e95ed;let _0x2916be=this[_0x1dd1c6(0x20e)]();return _0x2916be?_0x2bef07['deepClone'](_0x2916be[_0x1dd1c6(0x243)]):null;}[_0x2e95ed(0x19e)](){const _0x3ab8e3=_0x2e95ed;let _0x242ab0=this[_0x3ab8e3(0x20e)]();return _0x242ab0?_0x2bef07[_0x3ab8e3(0x22b)](_0x242ab0[_0x3ab8e3(0x1cd)]):null;}[_0x2e95ed(0x21e)](_0x5dc10f){const _0x4927e1=_0x2e95ed;return _0x256dad(_0x5dc10f)?super[_0x4927e1(0x21e)](_0x5dc10f):(console['warn'](_0x4927e1(0x222)+this[_0x4927e1(0x20b)][_0x4927e1(0x25f)]+_0x4927e1(0x1e1)),this);}['setShapeData'](_0x2f5de1){const _0x1df3d7=_0x2e95ed;return _0x2f5de1[_0x1df3d7(0x191)]!==void 0x0&&!_0x256dad(_0x2f5de1[_0x1df3d7(0x191)])?(console[_0x1df3d7(0x1fb)](_0x1df3d7(0x222)+this[_0x1df3d7(0x20b)][_0x1df3d7(0x25f)]+_0x1df3d7(0x27a)),this):super[_0x1df3d7(0x1bc)](_0x2f5de1);}[_0x2e95ed(0x1a3)](_0x1e9e89,_0x236e75){const _0x429a89=_0x2e95ed;return this[_0x429a89(0x27d)](_0x429a89(0x209),_0x1e9e89,_0x236e75),this;}[_0x2e95ed(0x1dd)](_0x20fcc8,_0x422272){const _0x263cdd=_0x2e95ed;return this[_0x263cdd(0x27d)](_0x263cdd(0x1b2),_0x20fcc8,_0x422272),this;}['unbindStart'](){const _0x107c05=_0x2e95ed;return this[_0x107c05(0x215)](_0x107c05(0x26f),_0x5d959e=>_0x5d959e[_0x107c05(0x219)](this[_0x107c05(0x20b)])),this;}[_0x2e95ed(0x20d)](){const _0x43f8ab=_0x2e95ed;return this['_mutateConnector'](_0x43f8ab(0x1f0),_0x20d53a=>_0x20d53a[_0x43f8ab(0x20d)](this[_0x43f8ab(0x20b)])),this;}[_0x2e95ed(0x21a)](_0x2b2096){const _0x274542=_0x2e95ed;return G(_0x2b2096,this['_shapeRef']['shapeId'])&&this[_0x274542(0x215)]('set\x20start\x20point',_0x4f271c=>_0x4f271c['setStartPoint'](this[_0x274542(0x20b)],_0x2b2096)),this;}[_0x2e95ed(0x27e)](_0x20205f){const _0x4c8f17=_0x2e95ed;return G(_0x20205f,this[_0x4c8f17(0x20b)][_0x4c8f17(0x25f)])&&this['_mutateConnector']('set\x20end\x20point',_0x290096=>_0x290096[_0x4c8f17(0x27e)](this[_0x4c8f17(0x20b)],_0x20205f)),this;}[_0x2e95ed(0x23d)](_0x2fc479){const _0x6f9cc9=_0x2e95ed;return _0x2fc479['every'](_0x426841=>G(_0x426841,this[_0x6f9cc9(0x20b)]['shapeId']))&&this[_0x6f9cc9(0x215)](_0x6f9cc9(0x21f),_0x43567a=>_0x43567a[_0x6f9cc9(0x23d)](this[_0x6f9cc9(0x20b)],_0x2fc479)),this;}[_0x2e95ed(0x1e3)](_0x2ff75c,_0x2d8055){const _0x186b20=_0x2e95ed;return this[_0x186b20(0x215)]('set\x20start\x20arrow',_0x4afcb1=>_0x4afcb1[_0x186b20(0x1e3)](this[_0x186b20(0x20b)],_0x2ff75c,_0x2d8055)),this;}[_0x2e95ed(0x231)](_0x39c7da,_0x3fd608){const _0x340211=_0x2e95ed;return this[_0x340211(0x215)](_0x340211(0x1bd),_0x39743=>_0x39743[_0x340211(0x231)](this['_shapeRef'],_0x39c7da,_0x3fd608)),this;}[_0x2e95ed(0x25d)](){const _0x3f389c=_0x2e95ed;return this[_0x3f389c(0x256)]['get'](_0x1f3ff2);}['_getConnectorSnapshot'](){const _0x1220ca=_0x2e95ed;let _0xde2555=this['_getConnectorAdapter']();if(!_0xde2555)return null;try{return _0xde2555['getConnector'](this['_shapeRef'])||(console[_0x1220ca(0x1fb)](_0x1220ca(0x222)+this['_shapeRef'][_0x1220ca(0x25f)]+_0x1220ca(0x235)),null);}catch(_0x57e0e4){return console[_0x1220ca(0x1fb)](_0x1220ca(0x283)+this[_0x1220ca(0x20b)][_0x1220ca(0x25f)]+'\x22.',_0x57e0e4),null;}}[_0x2e95ed(0x27d)](_0x2af335,_0xdef8d9,_0x2d1038){const _0x1d3d34=_0x2e95ed;if(!_0xdef8d9||!Number[_0x1d3d34(0x1aa)](_0x2d1038)||_0x2d1038<0x0)return console[_0x1d3d34(0x1fb)](_0x1d3d34(0x200)+this[_0x1d3d34(0x20b)]['shapeId']+_0x1d3d34(0x1d5)),!0x1;let _0x912bb0={'shapeId':_0xdef8d9,'cxnIndex':_0x2d1038};return this['_mutateConnector'](_0x1d3d34(0x19b)+_0x2af335,_0x2aa307=>_0x2af335==='start'?_0x2aa307[_0x1d3d34(0x1a3)](this[_0x1d3d34(0x20b)],_0x912bb0):_0x2aa307['bindEnd'](this[_0x1d3d34(0x20b)],_0x912bb0));}[_0x2e95ed(0x215)](_0x539f12,_0x2eac39){const _0x183b39=_0x2e95ed;let _0x31fa37=this[_0x183b39(0x25d)]();if(!_0x31fa37)return!0x1;try{let _0x52d147=_0x2eac39(_0x31fa37);return _0x52d147||console[_0x183b39(0x1fb)](_0x183b39(0x27c)+_0x539f12+_0x183b39(0x241)+this[_0x183b39(0x20b)][_0x183b39(0x25f)]+'\x22.'),_0x52d147;}catch(_0x38021c){return console[_0x183b39(0x1fb)](_0x183b39(0x27c)+_0x539f12+_0x183b39(0x241)+this['_shapeRef']['shapeId']+'\x22.',_0x38021c),!0x1;}}};function G(_0x2e330d,_0x330220){const _0x336a43=_0x2e95ed;return!Number[_0x336a43(0x261)](_0x2e330d['x'])||!Number[_0x336a43(0x261)](_0x2e330d['y'])?(console['warn']('[Shape\x20Facade]:\x20Connector\x20\x22'+_0x330220+'\x22\x20points\x20must\x20contain\x20finite\x20coordinates.'),!0x1):!0x0;}export{W as FConnectorShape,H as FShape,L as FShapeText};
|