@univerjs-pro/engine-shape 1.0.0-beta.0 → 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/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-shape.d.ts +39 -1
- package/lib/types/index.d.ts +17 -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/services/shape-host-adapter.service.d.ts +21 -0
- package/lib/types/shape-enum.d.ts +144 -17
- 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/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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};
|
|
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};
|