@univerjs-pro/shape-editor-ui 1.0.0-alpha.1 → 1.0.0-alpha.3

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.
Files changed (109) hide show
  1. package/README.md +14 -2
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/index.js +1 -1
  23. package/lib/es/locale/ar-SA.js +1 -1
  24. package/lib/es/locale/ca-ES.js +1 -1
  25. package/lib/es/locale/de-DE.js +1 -1
  26. package/lib/es/locale/en-US.js +1 -1
  27. package/lib/es/locale/es-ES.js +1 -1
  28. package/lib/es/locale/fa-IR.js +1 -1
  29. package/lib/es/locale/fr-FR.js +1 -1
  30. package/lib/es/locale/id-ID.js +1 -1
  31. package/lib/es/locale/it-IT.js +1 -1
  32. package/lib/es/locale/ja-JP.js +1 -1
  33. package/lib/es/locale/ko-KR.js +1 -1
  34. package/lib/es/locale/pl-PL.js +1 -1
  35. package/lib/es/locale/pt-BR.js +1 -1
  36. package/lib/es/locale/ru-RU.js +1 -1
  37. package/lib/es/locale/sk-SK.js +1 -1
  38. package/lib/es/locale/vi-VN.js +1 -1
  39. package/lib/es/locale/zh-CN.js +1 -1
  40. package/lib/es/locale/zh-HK.js +1 -1
  41. package/lib/es/locale/zh-TW.js +1 -1
  42. package/lib/index.css +159 -12
  43. package/lib/index.js +1 -1
  44. package/lib/locale/ar-SA.js +1 -1
  45. package/lib/locale/ca-ES.js +1 -1
  46. package/lib/locale/de-DE.js +1 -1
  47. package/lib/locale/en-US.js +1 -1
  48. package/lib/locale/es-ES.js +1 -1
  49. package/lib/locale/fa-IR.js +1 -1
  50. package/lib/locale/fr-FR.js +1 -1
  51. package/lib/locale/id-ID.js +1 -1
  52. package/lib/locale/it-IT.js +1 -1
  53. package/lib/locale/ja-JP.js +1 -1
  54. package/lib/locale/ko-KR.js +1 -1
  55. package/lib/locale/pl-PL.js +1 -1
  56. package/lib/locale/pt-BR.js +1 -1
  57. package/lib/locale/ru-RU.js +1 -1
  58. package/lib/locale/sk-SK.js +1 -1
  59. package/lib/locale/vi-VN.js +1 -1
  60. package/lib/locale/zh-CN.js +1 -1
  61. package/lib/locale/zh-HK.js +1 -1
  62. package/lib/locale/zh-TW.js +1 -1
  63. package/lib/types/components/fill-style-tabs-editor/FillStyleTabsEditor.d.ts +2 -1
  64. package/lib/types/config/config.d.ts +5 -0
  65. package/lib/types/controllers/components.controller.d.ts +7 -0
  66. package/lib/types/index.d.ts +25 -20
  67. package/lib/types/locale/en-US.d.ts +2 -0
  68. package/lib/types/plugin.d.ts +13 -0
  69. package/lib/types/utils/activate-drawing-object.d.ts +23 -0
  70. package/lib/types/utils/shape-floating-toolbar-config.d.ts +5 -0
  71. package/lib/types/utils/shape-transformer-config.d.ts +31 -0
  72. package/lib/types/views/shape-floating-toolbar/ShapeFloatingToolbar.d.ts +131 -10
  73. package/lib/types/views/shape-floating-toolbar/shape-floating-toolbar-utils.d.ts +2 -5
  74. package/lib/types/views/shape-picker/ShapePickerGrid.d.ts +22 -0
  75. package/lib/types/views/shape-picker/index.d.ts +4 -0
  76. package/lib/types/views/shape-picker/shapes.d.ts +25 -0
  77. package/lib/types/views/shape-text-editor/ShapeTextEditor.d.ts +105 -9
  78. package/lib/types/views/shape-text-editor/ShapeTextEditorContainer.d.ts +2 -2
  79. package/lib/types/views/shape-text-editor/ShapeTextPositionWrapper.d.ts +29 -0
  80. package/lib/types/views/shape-text-editor/hooks/use-shape-position.d.ts +3 -1
  81. package/lib/types/views/shape-text-editor/shape-text-behavior.d.ts +15 -0
  82. package/lib/types/views/shape-text-editor/shape-text-document.d.ts +8 -3
  83. package/lib/types/views/shape-text-editor/shape-text-editor-commands.d.ts +4 -0
  84. package/lib/types/views/shape-text-editor/shape-text-layout.d.ts +24 -0
  85. package/lib/types/views/shape-text-editor/shape-text-no-wrap-layout.d.ts +24 -0
  86. package/lib/types/views/shape-text-editor/shape-text-placeholder.d.ts +8 -0
  87. package/lib/types/views/shape-text-editor/shape-text-resize-policy.d.ts +17 -0
  88. package/lib/types/views/shape-text-editor/types.d.ts +25 -6
  89. package/lib/umd/index.js +1 -1
  90. package/lib/umd/locale/ar-SA.js +1 -1
  91. package/lib/umd/locale/ca-ES.js +1 -1
  92. package/lib/umd/locale/de-DE.js +1 -1
  93. package/lib/umd/locale/en-US.js +1 -1
  94. package/lib/umd/locale/es-ES.js +1 -1
  95. package/lib/umd/locale/fa-IR.js +1 -1
  96. package/lib/umd/locale/fr-FR.js +1 -1
  97. package/lib/umd/locale/id-ID.js +1 -1
  98. package/lib/umd/locale/it-IT.js +1 -1
  99. package/lib/umd/locale/ja-JP.js +1 -1
  100. package/lib/umd/locale/ko-KR.js +1 -1
  101. package/lib/umd/locale/pl-PL.js +1 -1
  102. package/lib/umd/locale/pt-BR.js +1 -1
  103. package/lib/umd/locale/ru-RU.js +1 -1
  104. package/lib/umd/locale/sk-SK.js +1 -1
  105. package/lib/umd/locale/vi-VN.js +1 -1
  106. package/lib/umd/locale/zh-CN.js +1 -1
  107. package/lib/umd/locale/zh-HK.js +1 -1
  108. package/lib/umd/locale/zh-TW.js +1 -1
  109. package/package.json +13 -13
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- const _0x55b3f9=_0x3eb8;(function(_0x18bcfe,_0x579bf3){const _0x49af0e=_0x3eb8,_0x59e3e1=_0x18bcfe();while(!![]){try{const _0x4085c6=parseInt(_0x49af0e(0x29f))/0x1+-parseInt(_0x49af0e(0x3bf))/0x2*(parseInt(_0x49af0e(0x22d))/0x3)+-parseInt(_0x49af0e(0x1aa))/0x4*(-parseInt(_0x49af0e(0x3cf))/0x5)+-parseInt(_0x49af0e(0x10d))/0x6*(-parseInt(_0x49af0e(0x19d))/0x7)+parseInt(_0x49af0e(0x16a))/0x8*(-parseInt(_0x49af0e(0x127))/0x9)+parseInt(_0x49af0e(0x142))/0xa+parseInt(_0x49af0e(0x148))/0xb*(-parseInt(_0x49af0e(0x2f0))/0xc);if(_0x4085c6===_0x579bf3)break;else _0x59e3e1['push'](_0x59e3e1['shift']());}catch(_0x51aa9f){_0x59e3e1['push'](_0x59e3e1['shift']());}}}(_0x16b9,0x5e90f),Object[_0x55b3f9(0x117)](exports,Symbol[_0x55b3f9(0x3b5)],{'value':_0x55b3f9(0x26c)}));let e=require('@univerjs/design'),t=require('@univerjs/icons'),n=require('react'),r=require('react/jsx-runtime'),i=require('@univerjs-pro/engine-shape'),a=require('@univerjs/core'),o=require('@univerjs/ui'),s=require('@univerjs/drawing'),c=require('@univerjs/docs'),l=require('@univerjs/docs-ui'),u=require('@univerjs/engine-render');const d={'noFill':'No\x20fill','solidFill':_0x55b3f9(0x3c9),'gradientFill':_0x55b3f9(0x28a),'pictureFill':_0x55b3f9(0x1ac),'color':_0x55b3f9(0x24f),'transparency':'Transparency'},f={'none':_0x55b3f9(0x39c),'solid':_0x55b3f9(0x17f),'gradient':_0x55b3f9(0x178),'picture':_0x55b3f9(0x1bc)},p={'type':_0x55b3f9(0x3b4),'angle':0x0,'stops':[{'color':_0x55b3f9(0x1ef),'offset':0x0},{'color':'#000000','offset':0x64}]};function m(_0x1ab208){const _0x172f10=_0x55b3f9;var _0x3d2bb6,_0x1edb81,_0x389115,_0x47a5f3,_0x2475d5;let {className:_0x8bc058,compact:_0x52ffe0=!0x0,disabled:_0x45480a=!0x1,value:_0x379cdd,typeValues:_0x5ed8ec=f,color:_0x54d157=_0x172f10(0x1ef),transparency:_0x4233d2=0x0,gradientValue:_0x2ae288=p,labels:_0x1ae675,tabLabels:_0x346334,noFillEditor:_0x295349,pictureFillEditor:_0x30a421,renderColorIcon:_0x19bece,keepColorPickerOpenOnChange:_0x434f77=!0x1,onChange:_0x1f5e4d,onColorChange:_0x14ca8d,onTransparencyChange:_0x5bd754,onGradientChange:_0x2d2cf3}=_0x1ab208,[_0x402ce3,_0xca3816]=(0x0,n[_0x172f10(0x1ea)])(!0x1),_0xc872fa={...d,..._0x1ae675},_0x1b3bca=[{'label':(_0x3d2bb6=_0x346334==null?void 0x0:_0x346334[_0x172f10(0x18c)])==null?_0xc872fa[_0x172f10(0x18c)]:_0x3d2bb6,'value':_0x5ed8ec[_0x172f10(0x39c)]},{'label':(_0x1edb81=_0x346334==null?void 0x0:_0x346334['solidFill'])==null?_0xc872fa[_0x172f10(0x1ed)]:_0x1edb81,'value':_0x5ed8ec['solid']},{'label':(_0x389115=_0x346334==null?void 0x0:_0x346334['gradientFill'])==null?_0xc872fa['gradientFill']:_0x389115,'value':_0x5ed8ec[_0x172f10(0x178)]},{'label':(_0x47a5f3=_0x346334==null?void 0x0:_0x346334[_0x172f10(0x1e5)])==null?_0xc872fa['pictureFill']:_0x47a5f3,'value':_0x5ed8ec[_0x172f10(0x1bc)]}];return(0x0,r[_0x172f10(0x38f)])('div',{'className':(0x0,e['clsx'])('univer-flex\x20univer-min-w-0\x20univer-flex-col',_0x52ffe0?'univer-gap-3':'univer-gap-4',_0x8bc058),'children':[(0x0,r[_0x172f10(0x29d)])(e[_0x172f10(0x234)],{'className':(0x0,e[_0x172f10(0x27b)])('univer-w-full\x20univer-min-w-0\x20univer-overflow-hidden',_0x52ffe0&&'univer-text-xs',_0x45480a&&_0x172f10(0x1f0)),'items':_0x1b3bca,'value':_0x379cdd,'onChange':_0x28c80e=>{_0x45480a||_0x1f5e4d==null||_0x1f5e4d(_0x28c80e);}}),_0x379cdd===_0x5ed8ec[_0x172f10(0x39c)]&&_0x295349,_0x379cdd===_0x5ed8ec[_0x172f10(0x17f)]&&(0x0,r[_0x172f10(0x38f)])(_0x172f10(0x1c0),{'className':(0x0,e['clsx'])(_0x172f10(0x365),_0x52ffe0?_0x172f10(0x227):_0x172f10(0x16f)),'children':[(0x0,r[_0x172f10(0x38f)])(_0x172f10(0x1c0),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[(0x0,r[_0x172f10(0x29d)])('span',{'className':_0x172f10(0x12e),'children':_0xc872fa[_0x172f10(0x3c8)]}),(0x0,r['jsx'])(e['Dropdown'],{'disabled':_0x45480a,'overlay':(0x0,r[_0x172f10(0x29d)])('div',{'className':_0x172f10(0x22f),'children':(0x0,r[_0x172f10(0x29d)])(e[_0x172f10(0x11b)],{'value':_0x54d157,'onChange':_0x500565=>{_0x14ca8d==null||_0x14ca8d(_0x500565),_0x434f77||_0xca3816(!0x1);}})}),'open':_0x402ce3,'onOpenChange':_0xca3816,'children':(0x0,r['jsxs'])('a',{'className':_0x172f10(0x170),'children':[(_0x2475d5=_0x19bece==null?void 0x0:_0x19bece(_0x54d157))==null?(0x0,r[_0x172f10(0x29d)])(t[_0x172f10(0x397)],{'className':_0x172f10(0x122),'extend':{'colorChannel1':_0x54d157}}):_0x2475d5,(0x0,r['jsx'])(t['MoreDownIcon'],{'className':(0x0,e['clsx'])(_0x172f10(0x158),{'univer-rotate-180':_0x402ce3})})]})})]}),(0x0,r['jsxs'])(_0x172f10(0x1c0),{'className':_0x172f10(0x29e),'children':[(0x0,r[_0x172f10(0x29d)])(_0x172f10(0x360),{'className':'univer-shrink-0\x20univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xc872fa[_0x172f10(0x16c)]}),(0x0,r[_0x172f10(0x29d)])('div',{'className':_0x172f10(0x31d),'children':(0x0,r['jsx'])(e[_0x172f10(0x1fb)],{'className':_0x172f10(0x35b),'value':_0x4233d2,'disabled':_0x45480a,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x437a9a=>_0x437a9a+'%','parser':_0x417fd2=>(_0x417fd2==null?void 0x0:_0x417fd2[_0x172f10(0x272)]('%',''))||'','onChange':_0xbaf575=>_0x5bd754==null?void 0x0:_0x5bd754(_0xbaf575==null?0x0:_0xbaf575)})})]})]}),_0x379cdd===_0x5ed8ec[_0x172f10(0x178)]&&(0x0,r[_0x172f10(0x29d)])(e[_0x172f10(0x298)],{'compact':_0x52ffe0,'value':_0x2ae288,'onChange':_0x2d2cf3}),_0x379cdd===_0x5ed8ec['picture']&&_0x30a421]});}function h(_0x2589f6){const _0xf96cba=_0x55b3f9;var _0xb89136,_0x5784af,_0x10721e,_0x34bb35,_0x17b1fb,_0x22c44a,_0x196d6c,_0x2c809d,_0xa124ab,_0x2973cb,_0x370f33,_0x4bf639,_0xffbeec;let {shapeData:_0x27583d,disableShapeOption:_0x316dbd,onUpdateShapeData:_0xe775c1,onUpdateShapeFillImage:_0x4dbe3b}=_0x2589f6,_0x4224f7=(0x0,o[_0xf96cba(0x176)])(a['LocaleService']),_0x1a4cb8=(0x0,o[_0xf96cba(0x176)])(a[_0xf96cba(0x145)]),_0x49f84c=(0x0,o['useDependency'])(s[_0xf96cba(0x185)]),_0x440029=(0x0,n['useRef'])(null),_0x412beb=_0x27583d[_0xf96cba(0x2ab)],_0x503e2d=!!(_0x412beb!=null&&_0x412beb[_0xf96cba(0x350)]),[_0x4d6d10,_0x23710f]=(0x0,n[_0xf96cba(0x1ea)])((_0xb89136=_0x412beb==null?void 0x0:_0x412beb[_0xf96cba(0x324)])==null?0x1:_0xb89136),[_0x5b7e75,_0x12605c]=(0x0,n[_0xf96cba(0x1ea)])((_0x5784af=_0x412beb==null?void 0x0:_0x412beb[_0xf96cba(0x3a4)])==null?i[_0xf96cba(0x3a0)]['Stretch']:_0x5784af),[_0x18937d,_0x1fe4e5]=(0x0,n[_0xf96cba(0x1ea)])((_0x10721e=_0x412beb==null?void 0x0:_0x412beb[_0xf96cba(0x213)])==null?!0x1:_0x10721e),[_0x195280,_0x29078b]=(0x0,n[_0xf96cba(0x1ea)])((_0x34bb35=_0x412beb==null||(_0x17b1fb=_0x412beb[_0xf96cba(0x3cd)])==null?void 0x0:_0x17b1fb['offsetX'])==null?0x0:_0x34bb35),[_0xbd10d2,_0x1108a0]=(0x0,n['useState'])((_0x22c44a=_0x412beb==null||(_0x196d6c=_0x412beb[_0xf96cba(0x3cd)])==null?void 0x0:_0x196d6c[_0xf96cba(0x3b6)])==null?0x0:_0x22c44a),[_0x6e4d2d,_0x5ba605]=(0x0,n['useState'])((_0x2c809d=_0x412beb==null||(_0xa124ab=_0x412beb[_0xf96cba(0x3cd)])==null?void 0x0:_0xa124ab[_0xf96cba(0x12b)])==null?0x1:_0x2c809d),[_0x1960c8,_0x1438a3]=(0x0,n[_0xf96cba(0x1ea)])((_0x2973cb=_0x412beb==null||(_0x370f33=_0x412beb[_0xf96cba(0x3cd)])==null?void 0x0:_0x370f33[_0xf96cba(0x37d)])==null?0x1:_0x2973cb),[_0x3ad116,_0xb1bc8d]=(0x0,n[_0xf96cba(0x1ea)])((_0x4bf639=_0x412beb==null||(_0xffbeec=_0x412beb[_0xf96cba(0x3cd)])==null?void 0x0:_0xffbeec['alignment'])==null?'tl':_0x4bf639),_0x475379=_0x5b7e75===i[_0xf96cba(0x3a0)]['Tile'],_0x32b172=Math[_0xf96cba(0xfc)]((0x1-_0x4d6d10)*0x64),_0x409214=Math[_0xf96cba(0xfc)](_0x6e4d2d*0x64),_0x1bbf02=Math[_0xf96cba(0xfc)](_0x1960c8*0x64),_0x273669=[{'label':_0x4224f7['t']('shape-editor-ui.fill.picture.align.tl'),'value':'tl'},{'label':_0x4224f7['t'](_0xf96cba(0xf4)),'value':'t'},{'label':_0x4224f7['t'](_0xf96cba(0x3ce)),'value':'tr'},{'label':_0x4224f7['t'](_0xf96cba(0x159)),'value':'l'},{'label':_0x4224f7['t'](_0xf96cba(0x174)),'value':_0xf96cba(0x261)},{'label':_0x4224f7['t'](_0xf96cba(0x20d)),'value':'r'},{'label':_0x4224f7['t'](_0xf96cba(0x16b)),'value':'bl'},{'label':_0x4224f7['t'](_0xf96cba(0x1f7)),'value':'b'},{'label':_0x4224f7['t']('shape-editor-ui.fill.picture.align.br'),'value':'br'}],_0x1ee7b4=_0x3341b2=>{_0xe775c1({'oldShapeData':{'fill':_0x412beb?{..._0x412beb}:void 0x0}},{'fill':{..._0x412beb,..._0x3341b2}});},_0x383bd6=_0x2509f4=>{const _0xc0768b=_0xf96cba;_0x1ee7b4({'imageTile':{..._0x412beb==null?void 0x0:_0x412beb[_0xc0768b(0x3cd)],..._0x2509f4}});},_0x51ae9a=()=>{const _0x2f0e0c=_0xf96cba;var _0x5d1ffc;return(_0x5d1ffc=_0x440029[_0x2f0e0c(0x2d1)])==null?void 0x0:_0x5d1ffc[_0x2f0e0c(0x173)]();},_0x3fb7c3=async _0x551568=>{const _0x2b457f=_0xf96cba;var _0x5cf0bf;let _0x2605db=(_0x5cf0bf=_0x551568[_0x2b457f(0x1df)]['files'])==null?void 0x0:_0x5cf0bf[0x0];if(!_0x2605db)return;_0x551568[_0x2b457f(0x1df)][_0x2b457f(0x250)]='';let _0x40305b=await _0x49f84c[_0x2b457f(0x196)](_0x2605db);if(_0x40305b==null)return;let {imageSourceType:_0x4f4ab3,source:_0x3ff467,base64Cache:_0x3afce7}=_0x40305b,{image:_0x2ad30d}=await(0x0,s[_0x2b457f(0x2d5)])(_0x3afce7||'');_0x49f84c[_0x2b457f(0x146)](_0x3ff467,_0x4f4ab3,_0x2ad30d),_0xe775c1({'oldShapeData':{'fill':_0x412beb?{..._0x412beb}:void 0x0}},{'fill':{..._0x412beb,'fillType':i['ShapeFillEnum'][_0x2b457f(0x371)],'fillImageSource':_0x3ff467,'fillImageSourceType':_0x4f4ab3}}),_0x4dbe3b==null||_0x4dbe3b(_0x2ad30d);},_0x44fef3='univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200',_0x1ba0a6=_0xf96cba(0x29e);return(0x0,r[_0xf96cba(0x38f)])(_0xf96cba(0x1c0),{'className':_0xf96cba(0x14c),'children':[(0x0,r['jsxs'])(_0xf96cba(0x1c0),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-2','children':[(0x0,r[_0xf96cba(0x29d)])(_0xf96cba(0x360),{'className':_0x44fef3,'children':_0x4224f7['t']('shape-editor-ui.fill.picture.source')}),(0x0,r[_0xf96cba(0x38f)])(_0xf96cba(0x1c0),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,r[_0xf96cba(0x29d)])(_0xf96cba(0x3a2),{'ref':_0x440029,'type':_0xf96cba(0x25a),'accept':'image/*','className':_0xf96cba(0x11e),'onChange':_0x3fb7c3}),(0x0,r[_0xf96cba(0x38f)])(_0xf96cba(0x1c0),{'className':_0xf96cba(0x20b),'children':[(0x0,r[_0xf96cba(0x29d)])('button',{'type':_0xf96cba(0x188),'disabled':_0x316dbd,'className':_0xf96cba(0x1f5),'onClick':_0x51ae9a,'children':(0x0,r[_0xf96cba(0x38f)])(_0xf96cba(0x360),{'children':[_0x4224f7['t'](_0xf96cba(0x1ad)),'\x20']})}),_0x503e2d&&(0x0,r[_0xf96cba(0x29d)])(_0xf96cba(0x1c0),{'className':'univer-pointer-events-none\x20univer-absolute\x20univer-bottom-full\x20univer-left-0\x20univer-mb-1\x20univer-hidden\x20univer-overflow-hidden\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-shadow-md\x20group-hover:univer-block\x20dark:!univer-border-gray-600\x20dark:!univer-bg-gray-800','children':(0x0,r[_0xf96cba(0x29d)])(_0xf96cba(0x11a),{'src':_0x412beb==null?void 0x0:_0x412beb[_0xf96cba(0x350)],'alt':'','className':_0xf96cba(0x19e)})})]})]})]}),(0x0,r['jsxs'])(_0xf96cba(0x1c0),{'className':_0x1ba0a6,'children':[(0x0,r[_0xf96cba(0x29d)])(_0xf96cba(0x360),{'className':_0x44fef3,'children':_0x4224f7['t']('shape-editor-ui.fill.transparency')}),(0x0,r[_0xf96cba(0x29d)])(_0xf96cba(0x1c0),{'className':_0xf96cba(0x31d),'children':(0x0,r['jsx'])(e[_0xf96cba(0x1fb)],{'className':_0xf96cba(0x35b),'value':_0x32b172,'disabled':_0x316dbd,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x5a815e=>_0x5a815e+'%','parser':_0x3499ea=>(_0x3499ea==null?void 0x0:_0x3499ea[_0xf96cba(0x272)]('%',''))||'','onChange':_0x116e83=>{const _0xaaba77=_0xf96cba;let _0x313acd=(0x64-Math[_0xaaba77(0x23d)](0x0,Math[_0xaaba77(0x301)](0x64,_0x116e83==null?0x0:_0x116e83)))/0x64;_0x23710f(_0x313acd),_0x1ee7b4({'imageOpacity':_0x313acd}),_0x1a4cb8[_0xaaba77(0x141)](a[_0xaaba77(0x2cb)],!0x1);},'onFocus':()=>_0x1a4cb8[_0xf96cba(0x141)](a[_0xf96cba(0x2cb)],!0x0),'onBlur':()=>_0x1a4cb8['setContextValue'](a[_0xf96cba(0x2cb)],!0x1)})})]}),(0x0,r[_0xf96cba(0x29d)])(e['Checkbox'],{'checked':_0x475379,'disabled':_0x316dbd,'onChange':_0x87741a=>{const _0x3676f3=_0xf96cba;let _0x3ecf9d=_0x87741a?i[_0x3676f3(0x3a0)][_0x3676f3(0x2f6)]:i[_0x3676f3(0x3a0)]['Stretch'];_0x12605c(_0x3ecf9d),_0x1ee7b4({'imageFillMode':_0x3ecf9d});},'children':(0x0,r[_0xf96cba(0x29d)])(_0xf96cba(0x360),{'className':'univer-text-sm','children':_0x4224f7['t']('shape-editor-ui.fill.picture.tileAsTexture')})}),_0x475379&&(0x0,r[_0xf96cba(0x38f)])(_0xf96cba(0x1c0),{'className':_0xf96cba(0x30e),'children':[(0x0,r[_0xf96cba(0x38f)])(_0xf96cba(0x1c0),{'className':_0x1ba0a6,'children':[(0x0,r[_0xf96cba(0x29d)])(_0xf96cba(0x360),{'className':_0x44fef3,'children':_0x4224f7['t']('shape-editor-ui.fill.picture.offsetX')}),(0x0,r[_0xf96cba(0x29d)])(_0xf96cba(0x1c0),{'className':'univer-w-20','children':(0x0,r['jsx'])(e[_0xf96cba(0x1fb)],{'className':_0xf96cba(0x35b),'value':_0x195280,'disabled':_0x316dbd,'step':0x1,'onChange':_0x5cd0b0=>{_0x383bd6({'offsetX':_0x5cd0b0==null?0x0:_0x5cd0b0}),_0x29078b(_0x5cd0b0==null?0x0:_0x5cd0b0);},'onFocus':()=>_0x1a4cb8['setContextValue'](a[_0xf96cba(0x2cb)],!0x0),'onBlur':()=>_0x1a4cb8[_0xf96cba(0x141)](a[_0xf96cba(0x2cb)],!0x1)})})]}),(0x0,r['jsxs'])(_0xf96cba(0x1c0),{'className':_0x1ba0a6,'children':[(0x0,r[_0xf96cba(0x29d)])(_0xf96cba(0x360),{'className':_0x44fef3,'children':_0x4224f7['t'](_0xf96cba(0x2e7))}),(0x0,r[_0xf96cba(0x29d)])(_0xf96cba(0x1c0),{'className':_0xf96cba(0x31d),'children':(0x0,r[_0xf96cba(0x29d)])(e[_0xf96cba(0x1fb)],{'className':_0xf96cba(0x35b),'value':_0xbd10d2,'disabled':_0x316dbd,'step':0x1,'onChange':_0x46ccd0=>{_0x383bd6({'offsetY':_0x46ccd0==null?0x0:_0x46ccd0}),_0x1108a0(_0x46ccd0==null?0x0:_0x46ccd0);},'onFocus':()=>_0x1a4cb8[_0xf96cba(0x141)](a[_0xf96cba(0x2cb)],!0x0),'onBlur':()=>_0x1a4cb8[_0xf96cba(0x141)](a[_0xf96cba(0x2cb)],!0x1)})})]}),(0x0,r[_0xf96cba(0x38f)])(_0xf96cba(0x1c0),{'className':_0x1ba0a6,'children':[(0x0,r[_0xf96cba(0x29d)])(_0xf96cba(0x360),{'className':_0x44fef3,'children':_0x4224f7['t'](_0xf96cba(0x13d))}),(0x0,r[_0xf96cba(0x29d)])(_0xf96cba(0x1c0),{'className':_0xf96cba(0x31d),'children':(0x0,r[_0xf96cba(0x29d)])(e['InputNumber'],{'className':_0xf96cba(0x35b),'value':_0x409214,'disabled':_0x316dbd,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x4d52c6=>_0x4d52c6+'%','parser':_0x299d22=>(_0x299d22==null?void 0x0:_0x299d22[_0xf96cba(0x272)]('%',''))||'','onChange':_0x10a342=>{const _0x573fb7=_0xf96cba;let _0x34d877=Math['max'](0.01,(_0x10a342==null?0x64:_0x10a342)/0x64);_0x5ba605(_0x34d877),_0x383bd6({'scaleX':_0x34d877}),_0x1a4cb8[_0x573fb7(0x141)](a[_0x573fb7(0x2cb)],!0x1);},'onFocus':()=>_0x1a4cb8[_0xf96cba(0x141)](a['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x1a4cb8[_0xf96cba(0x141)](a[_0xf96cba(0x2cb)],!0x1)})})]}),(0x0,r[_0xf96cba(0x38f)])(_0xf96cba(0x1c0),{'className':_0x1ba0a6,'children':[(0x0,r['jsx'])(_0xf96cba(0x360),{'className':_0x44fef3,'children':_0x4224f7['t']('shape-editor-ui.fill.picture.scaleY')}),(0x0,r['jsx'])('div',{'className':_0xf96cba(0x31d),'children':(0x0,r['jsx'])(e[_0xf96cba(0x1fb)],{'className':_0xf96cba(0x35b),'value':_0x1bbf02,'disabled':_0x316dbd,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x8e659b=>_0x8e659b+'%','parser':_0x3e6951=>(_0x3e6951==null?void 0x0:_0x3e6951['replace']('%',''))||'','onChange':_0x1066b6=>{const _0x1815aa=_0xf96cba;let _0x3971f9=Math[_0x1815aa(0x23d)](0.01,(_0x1066b6==null?0x64:_0x1066b6)/0x64);_0x1438a3(_0x3971f9),_0x383bd6({'scaleY':_0x3971f9}),_0x1a4cb8[_0x1815aa(0x141)](a[_0x1815aa(0x2cb)],!0x1);},'onFocus':()=>_0x1a4cb8['setContextValue'](a[_0xf96cba(0x2cb)],!0x0),'onBlur':()=>_0x1a4cb8[_0xf96cba(0x141)](a[_0xf96cba(0x2cb)],!0x1)})})]}),(0x0,r[_0xf96cba(0x38f)])(_0xf96cba(0x1c0),{'className':_0x1ba0a6,'children':[(0x0,r[_0xf96cba(0x29d)])(_0xf96cba(0x360),{'className':_0x44fef3,'children':_0x4224f7['t']('shape-editor-ui.fill.picture.alignment')}),(0x0,r[_0xf96cba(0x29d)])('div',{'className':_0xf96cba(0x2b0),'children':(0x0,r[_0xf96cba(0x29d)])(e[_0xf96cba(0x14d)],{'className':_0xf96cba(0x35b),'value':_0x3ad116,'options':_0x273669,'disabled':_0x316dbd,'onChange':_0x1c964b=>{_0xb1bc8d(_0x1c964b),_0x383bd6({'alignment':_0x1c964b});}})})]})]}),(0x0,r[_0xf96cba(0x29d)])(e[_0xf96cba(0x1e4)],{'checked':_0x18937d,'disabled':_0x316dbd,'onChange':_0x5f52ea=>{_0x1fe4e5(_0x5f52ea),_0x1ee7b4({'imageRotateWithShape':_0x5f52ea});},'children':(0x0,r[_0xf96cba(0x29d)])(_0xf96cba(0x360),{'className':_0xf96cba(0x3af),'children':_0x4224f7['t']('shape-editor-ui.fill.picture.rotateWithShape')})})]});}function g(_0x44dfec){const _0x56cf27=_0x55b3f9;var _0x579c44,_0xa52f33;return(_0x579c44=(_0xa52f33=_0x44dfec[_0x56cf27(0x2ab)])==null?void 0x0:_0xa52f33[_0x56cf27(0x359)])==null?i['ShapeFillEnum'][_0x56cf27(0x258)]:_0x579c44;}function _(_0x2cc779){const _0x499426=_0x55b3f9;var _0x4143c9,_0x2836cb,_0x47186d,_0x111951;let _0x53ab3e=(0x0,o[_0x499426(0x176)])(a['LocaleService']),_0x5e2397=(0x0,o['useDependency'])(a[_0x499426(0x145)]),{shapeData:_0x450ce2,isLineShape:_0x237585,shapeId:_0x564c54,disableShapeOption:_0x37ca98,onUpdateShapeData:_0x277462,onUpdateShapeFillImage:_0x583524}=_0x2cc779,[_0x3d1d78,_0x731be7]=(0x0,n[_0x499426(0x1ea)])(g(_0x450ce2)),[_0x4314d8,_0x207759]=(0x0,n[_0x499426(0x1ea)])((_0x4143c9=(_0x2836cb=_0x450ce2['fill'])==null?void 0x0:_0x2836cb[_0x499426(0x3c8)])==null?i[_0x499426(0x2af)][_0x499426(0x2ab)]:_0x4143c9),[_0x386161,_0x46ae14]=(0x0,n[_0x499426(0x1ea)])((_0x47186d=(_0x111951=_0x450ce2[_0x499426(0x2ab)])==null?void 0x0:_0x111951[_0x499426(0x219)])==null?0x1:_0x47186d),[_0x1032a0,_0x23bf7c]=(0x0,n[_0x499426(0x1ea)])(!0x1);if(_0x237585)return null;let _0x215c36=0x64-_0x386161*0x64;return(0x0,r['jsxs'])('div',{'className':_0x499426(0x269),'children':[(0x0,r['jsxs'])(e[_0x499426(0x3b2)],{'value':_0x3d1d78,'disabled':_0x37ca98,'onChange':_0x49dbff=>{const _0x16717a=_0x499426;var _0x4a0d5a;_0x277462({'oldShapeData':{'fill':{'fillType':(_0x4a0d5a=_0x450ce2['fill'])==null?void 0x0:_0x4a0d5a[_0x16717a(0x359)]}}},{'fill':{'fillType':_0x49dbff}}),_0x731be7(_0x49dbff);},'direction':_0x499426(0x286),'children':[(0x0,r[_0x499426(0x29d)])(e['Radio'],{'value':i[_0x499426(0x1d7)][_0x499426(0x258)],'children':(0x0,r[_0x499426(0x29d)])(_0x499426(0x360),{'className':_0x499426(0x3af),'children':_0x53ab3e['t']('shape-editor-ui.fill.noFill')})}),(0x0,r[_0x499426(0x29d)])(e[_0x499426(0x3b0)],{'value':i[_0x499426(0x1d7)][_0x499426(0x2f1)],'children':(0x0,r[_0x499426(0x29d)])('span',{'className':'univer-text-sm','children':_0x53ab3e['t']('shape-editor-ui.fill.solidFill')})}),(0x0,r[_0x499426(0x29d)])(e[_0x499426(0x3b0)],{'value':i[_0x499426(0x1d7)][_0x499426(0x1d9)],'children':(0x0,r[_0x499426(0x29d)])(_0x499426(0x360),{'className':_0x499426(0x3af),'children':_0x53ab3e['t'](_0x499426(0x343))})}),(0x0,r[_0x499426(0x29d)])(e[_0x499426(0x3b0)],{'value':i[_0x499426(0x1d7)][_0x499426(0x371)],'children':(0x0,r['jsx'])(_0x499426(0x360),{'className':_0x499426(0x3af),'children':_0x53ab3e['t'](_0x499426(0x292))})})]}),_0x3d1d78===i['ShapeFillEnum'][_0x499426(0x2f1)]&&(0x0,r[_0x499426(0x38f)])(_0x499426(0x1c0),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','children':[(0x0,r[_0x499426(0x38f)])(_0x499426(0x1c0),{'className':_0x499426(0x1bb),'children':[(0x0,r[_0x499426(0x29d)])('span',{'className':_0x499426(0x22c),'children':_0x53ab3e['t'](_0x499426(0x119))}),(0x0,r[_0x499426(0x29d)])(e[_0x499426(0x14e)],{'disabled':_0x37ca98,'overlay':(0x0,r[_0x499426(0x29d)])(_0x499426(0x1c0),{'className':_0x499426(0x22f),'children':(0x0,r[_0x499426(0x29d)])(e[_0x499426(0x11b)],{'value':_0x4314d8,'onChange':_0x4a6d2b=>{const _0x227f5d=_0x499426;var _0x2bdc76;_0x277462({'oldShapeData':{'fill':{'color':(_0x2bdc76=_0x450ce2[_0x227f5d(0x2ab)])==null?void 0x0:_0x2bdc76[_0x227f5d(0x3c8)]}}},{'fill':{'color':_0x4a6d2b}}),_0x207759(_0x4a6d2b),_0x23bf7c(!0x1);}})}),'open':_0x1032a0,'onOpenChange':_0x23bf7c,'children':(0x0,r['jsxs'])('a',{'className':_0x499426(0x170),'children':[(0x0,r[_0x499426(0x29d)])(t[_0x499426(0x10b)],{'className':_0x499426(0x122),'extend':{'colorChannel1':_0x4314d8}}),(0x0,r[_0x499426(0x29d)])(t['MoreDownIcon'],{'className':(0x0,e['clsx'])(_0x499426(0x158),{'univer-rotate-180':_0x1032a0})})]})})]}),(0x0,r[_0x499426(0x38f)])(_0x499426(0x1c0),{'className':_0x499426(0x29e),'children':[(0x0,r[_0x499426(0x29d)])('span',{'className':_0x499426(0x395),'children':_0x53ab3e['t'](_0x499426(0x104))}),(0x0,r[_0x499426(0x29d)])('div',{'className':_0x499426(0x1f8),'children':(0x0,r[_0x499426(0x29d)])(_0x499426(0x1c0),{'className':_0x499426(0x31d),'children':(0x0,r[_0x499426(0x29d)])(e['InputNumber'],{'className':_0x499426(0x35b),'value':_0x215c36,'disabled':_0x37ca98,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x375cc3=>_0x375cc3+'%','parser':_0x4de6ef=>(_0x4de6ef==null?void 0x0:_0x4de6ef[_0x499426(0x272)]('%',''))||'','onChange':_0x396d5f=>{const _0xa12515=_0x499426;let _0x3fd7bb=(0x64-Math[_0xa12515(0x23d)](0x0,Math['min'](0x64,_0x396d5f==null?0x0:_0x396d5f)))/0x64;_0x46ae14(_0x3fd7bb),_0x277462({'oldShapeData':{'fill':{..._0x450ce2[_0xa12515(0x2ab)],'fillType':_0x3d1d78}}},{'fill':{..._0x450ce2[_0xa12515(0x2ab)],'fillType':_0x3d1d78,'opacity':_0x3fd7bb}}),_0x5e2397[_0xa12515(0x141)](a[_0xa12515(0x2cb)],!0x1);},'onFocus':()=>_0x5e2397[_0x499426(0x141)](a['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>{const _0x40ef87=_0x499426;_0x5e2397[_0x40ef87(0x141)](a['FOCUSING_PANEL_EDITOR'],!0x1);}})})})]})]}),_0x3d1d78===i[_0x499426(0x1d7)][_0x499426(0x1d9)]&&(0x0,r['jsx'])(b,{'shapeData':_0x450ce2,'disableShapeOption':_0x37ca98,'onUpdate':_0x7afc6b=>{const _0x2da23e=_0x499426;_0x277462({'oldShapeData':{'fill':{..._0x450ce2[_0x2da23e(0x2ab)]}}},{'fill':{..._0x450ce2[_0x2da23e(0x2ab)],..._0x7afc6b}});}}),_0x3d1d78===i[_0x499426(0x1d7)][_0x499426(0x371)]&&(0x0,r['jsx'])(h,{'shapeId':_0x564c54,'shapeData':_0x450ce2,'disableShapeOption':_0x37ca98,'onUpdateShapeData':_0x277462,'onUpdateShapeFillImage':_0x583524})]});}function v(_0x496f65){const _0x45ea5c=_0x55b3f9;switch(_0x496f65){case i[_0x45ea5c(0x2b6)][_0x45ea5c(0xf2)]:return _0x45ea5c(0x3b4);case i[_0x45ea5c(0x2b6)][_0x45ea5c(0x11f)]:return _0x45ea5c(0x162);case i[_0x45ea5c(0x2b6)]['Angular']:return _0x45ea5c(0x2c7);case i[_0x45ea5c(0x2b6)][_0x45ea5c(0x390)]:return'diamond';default:return _0x45ea5c(0x3b4);}}function y(_0x49c048){const _0x58813f=_0x55b3f9;switch(_0x49c048){case _0x58813f(0x3b4):return i['ShapeGradientTypeEnum']['Linear'];case _0x58813f(0x162):return i[_0x58813f(0x2b6)]['Radial'];case'angular':return i[_0x58813f(0x2b6)][_0x58813f(0x283)];case _0x58813f(0x3ca):return i[_0x58813f(0x2b6)][_0x58813f(0x390)];default:return i[_0x58813f(0x2b6)][_0x58813f(0xf2)];}}function b(_0x205a7c){const _0x1052d3=_0x55b3f9;let {shapeData:_0x1f0121,disableShapeOption:_0x13f0ee,onUpdate:_0xfca6ea}=_0x205a7c,_0x34d09d=(0x0,n[_0x1052d3(0x32a)])(()=>{const _0x236424=_0x1052d3;var _0x27abba;let _0x5d2488=_0x1f0121[_0x236424(0x2ab)];return{'type':v(_0x5d2488==null?void 0x0:_0x5d2488[_0x236424(0x17a)]),'angle':(_0x27abba=_0x5d2488==null?void 0x0:_0x5d2488[_0x236424(0x15a)])==null?0x0:_0x27abba,'stops':_0x5d2488!=null&&_0x5d2488[_0x236424(0x2e6)]&&_0x5d2488[_0x236424(0x2e6)][_0x236424(0x2e1)]>=0x2?_0x5d2488[_0x236424(0x2e6)][_0x236424(0x34d)](_0x57f766=>({'color':_0x57f766[_0x236424(0x3c8)],'offset':_0x57f766['position']*0x64,'opacity':_0x57f766[_0x236424(0x219)]})):[{'color':(_0x5d2488==null?void 0x0:_0x5d2488[_0x236424(0x3c8)])||_0x236424(0x1ef),'offset':0x0},{'color':_0x236424(0x2d9),'offset':0x64}]};},[_0x1f0121[_0x1052d3(0x2ab)]]);return(0x0,r[_0x1052d3(0x29d)])('div',{'className':_0x1052d3(0x1c9),'children':(0x0,r[_0x1052d3(0x29d)])(e[_0x1052d3(0x298)],{'value':_0x34d09d,'onChange':_0xb27286=>{const _0x5e4756=_0x1052d3;let _0x18ac1a=y(_0xb27286['type']),_0x1961ef=_0xb27286['angle'];_0xfca6ea({'gradientType':_0x18ac1a,'gradientAngle':_0x1961ef,'gradientStops':_0xb27286[_0x5e4756(0x2ec)]['map'](_0x14bd0e=>({'color':_0x14bd0e['color'],'position':_0x14bd0e[_0x5e4756(0x3a5)]/0x64,'opacity':_0x14bd0e[_0x5e4756(0x219)]}))});}})});}function x(_0x3208e9){const _0x543a8c=_0x55b3f9;var _0x1e4f1b,_0x47f0ad,_0x2421b9,_0x30c34e,_0x49002f,_0x997850,_0x2c5074,_0x36655a,_0x42a370,_0x384bc3,_0x4d84f4,_0x14ee35,_0x15be56,_0x2af816,_0x18f7f1,_0x8ca27b,_0x484564;let _0x3091b3=(0x0,o['useDependency'])(a['LocaleService']),_0x1b04b0=(0x0,o['useDependency'])(a[_0x543a8c(0x145)]),{shapeData:_0x1d1c60,isLineShape:_0x3a8da3,disableShapeOption:_0x28d247,onUpdateShapeData:_0x171156,onUpdateLineShapeData:_0x13bbfa}=_0x3208e9,_0x4bd81d=_0x1d1c60['stroke'],[_0x46e33e,_0x5a9fc2]=(0x0,n[_0x543a8c(0x1ea)])((_0x1e4f1b=_0x4bd81d==null?void 0x0:_0x4bd81d['lineStrokeType'])==null?i[_0x543a8c(0x118)][_0x543a8c(0x26a)]:_0x1e4f1b),[_0x6b6b30,_0x33d6d0]=(0x0,n[_0x543a8c(0x1ea)])((_0x47f0ad=_0x4bd81d==null?void 0x0:_0x4bd81d[_0x543a8c(0x3c8)])==null?i['ShapeDefaultConfig']['stroke']:_0x47f0ad),[_0x289b33,_0x436d29]=(0x0,n[_0x543a8c(0x1ea)])((_0x2421b9=_0x4bd81d==null?void 0x0:_0x4bd81d[_0x543a8c(0x219)])==null?0x1:_0x2421b9),[_0x44b414,_0x2bc4da]=(0x0,n[_0x543a8c(0x1ea)])((_0x30c34e=_0x4bd81d==null?void 0x0:_0x4bd81d[_0x543a8c(0x10f)])==null?i[_0x543a8c(0x2af)]['strokeWidth']:_0x30c34e),[_0x2c2843,_0x1d8e9f]=(0x0,n['useState'])((_0x49002f=_0x4bd81d==null?void 0x0:_0x4bd81d[_0x543a8c(0x19c)])==null?0x0:_0x49002f),[_0x3207a4,_0x3d6782]=(0x0,n[_0x543a8c(0x1ea)])((_0x997850=_0x4bd81d==null?void 0x0:_0x4bd81d[_0x543a8c(0x35e)])==null?i[_0x543a8c(0x1b9)]['Solid']:_0x997850),[_0x62d394,_0x59d26]=(0x0,n['useState'])((_0x2c5074=_0x4bd81d==null?void 0x0:_0x4bd81d[_0x543a8c(0x211)])==null?i['ShapeLineCapEnum']['Flat']:_0x2c5074),[_0x1752c2,_0x473d33]=(0x0,n[_0x543a8c(0x1ea)])((_0x36655a=_0x4bd81d==null?void 0x0:_0x4bd81d[_0x543a8c(0x21e)])==null?i[_0x543a8c(0x326)]['Miter']:_0x36655a),[_0x43de32,_0x351c56]=(0x0,n[_0x543a8c(0x1ea)])((_0x42a370=_0x4bd81d==null?void 0x0:_0x4bd81d['sketchType'])==null?i[_0x543a8c(0x255)][_0x543a8c(0x1ba)]:_0x42a370),_0x5e7b88=_0x1d1c60,[_0x3694ab,_0x292e78]=(0x0,n[_0x543a8c(0x1ea)])((_0x384bc3=(_0x4d84f4=_0x5e7b88['ln'])==null||(_0x4d84f4=_0x4d84f4[_0x543a8c(0x14b)])==null?void 0x0:_0x4d84f4['type'])==null?i[_0x543a8c(0x276)][_0x543a8c(0x1ba)]:_0x384bc3),[_0x541ec7,_0x350844]=(0x0,n[_0x543a8c(0x1ea)])((_0x14ee35=(_0x15be56=_0x5e7b88['ln'])==null||(_0x15be56=_0x15be56[_0x543a8c(0x14b)])==null?void 0x0:_0x15be56['size'])==null?i[_0x543a8c(0x31e)][_0x543a8c(0x1d6)]:_0x14ee35),[_0x2c355b,_0x2f6957]=(0x0,n[_0x543a8c(0x1ea)])((_0x2af816=(_0x18f7f1=_0x5e7b88['ln'])==null||(_0x18f7f1=_0x18f7f1[_0x543a8c(0x3c4)])==null?void 0x0:_0x18f7f1['type'])==null?i[_0x543a8c(0x276)]['None']:_0x2af816),[_0x42ed8b,_0x5ab230]=(0x0,n[_0x543a8c(0x1ea)])((_0x8ca27b=(_0x484564=_0x5e7b88['ln'])==null||(_0x484564=_0x484564['endArrow'])==null?void 0x0:_0x484564['size'])==null?i[_0x543a8c(0x31e)][_0x543a8c(0x1d6)]:_0x8ca27b),[_0x3d7d95,_0x5ee2e8]=(0x0,n[_0x543a8c(0x1ea)])(!0x1),_0x2fb880=0x64-_0x289b33*0x64,_0xa80bca=[{'label':_0x3091b3['t'](_0x543a8c(0x374)),'value':String(i['ShapeLineDashEnum'][_0x543a8c(0x3c9)])},{'label':_0x3091b3['t'](_0x543a8c(0x12f)),'value':String(i[_0x543a8c(0x1b9)][_0x543a8c(0x23f)])},{'label':_0x3091b3['t'](_0x543a8c(0x1b6)),'value':String(i[_0x543a8c(0x1b9)][_0x543a8c(0x1e0)])},{'label':_0x3091b3['t'](_0x543a8c(0x396)),'value':String(i[_0x543a8c(0x1b9)][_0x543a8c(0x27e)])},{'label':_0x3091b3['t']('shape-editor-ui.line.dashType.dashDot'),'value':String(i[_0x543a8c(0x1b9)]['DashDot'])},{'label':_0x3091b3['t']('shape-editor-ui.line.dashType.longDash'),'value':String(i[_0x543a8c(0x1b9)][_0x543a8c(0x2a5)])},{'label':_0x3091b3['t'](_0x543a8c(0x34f)),'value':String(i[_0x543a8c(0x1b9)][_0x543a8c(0x140)])},{'label':_0x3091b3['t'](_0x543a8c(0x2e3)),'value':String(i[_0x543a8c(0x1b9)][_0x543a8c(0x101)])}],_0x45a716=[{'label':_0x3091b3['t']('shape-editor-ui.line.capType.flat'),'value':String(i[_0x543a8c(0x342)][_0x543a8c(0x348)])},{'label':_0x3091b3['t'](_0x543a8c(0x218)),'value':String(i[_0x543a8c(0x342)][_0x543a8c(0x13e)])},{'label':_0x3091b3['t'](_0x543a8c(0x263)),'value':String(i[_0x543a8c(0x342)][_0x543a8c(0x28e)])}],_0x3cc325=[{'label':_0x3091b3['t'](_0x543a8c(0x17c)),'value':String(i[_0x543a8c(0x255)][_0x543a8c(0x1ba)])},{'label':_0x3091b3['t']('shape-editor-ui.line.sketchType.curved'),'value':String(i[_0x543a8c(0x255)][_0x543a8c(0x221)])},{'label':_0x3091b3['t']('shape-editor-ui.line.sketchType.freehand'),'value':String(i[_0x543a8c(0x255)][_0x543a8c(0x2da)])},{'label':_0x3091b3['t']('shape-editor-ui.line.sketchType.handDrawn'),'value':String(i[_0x543a8c(0x255)][_0x543a8c(0x373)])}],_0x441456=[{'label':_0x3091b3['t'](_0x543a8c(0x29b)),'value':String(i['ShapeLineJoinEnum']['Miter'])},{'label':_0x3091b3['t'](_0x543a8c(0x216)),'value':String(i[_0x543a8c(0x326)][_0x543a8c(0x13e)])},{'label':_0x3091b3['t'](_0x543a8c(0x312)),'value':String(i[_0x543a8c(0x326)][_0x543a8c(0x1d4)])}],_0x10d8a6=[{'label':_0x3091b3['t'](_0x543a8c(0x18f)),'value':String(i[_0x543a8c(0x276)]['None'])},{'label':_0x3091b3['t']('shape-editor-ui.line.arrowType.arrow'),'value':String(i['ShapeArrowTypeEnum'][_0x543a8c(0x2d4)])},{'label':_0x3091b3['t'](_0x543a8c(0x295)),'value':String(i[_0x543a8c(0x276)][_0x543a8c(0x252)])},{'label':_0x3091b3['t']('shape-editor-ui.line.arrowType.stealthArrow'),'value':String(i[_0x543a8c(0x276)][_0x543a8c(0x2cc)])},{'label':_0x3091b3['t'](_0x543a8c(0x366)),'value':String(i['ShapeArrowTypeEnum'][_0x543a8c(0x184)])},{'label':_0x3091b3['t'](_0x543a8c(0x39d)),'value':String(i[_0x543a8c(0x276)]['OvalArrow'])}],_0x2f99c6=[{'label':_0x3091b3['t']('shape-editor-ui.line.arrowSize.small'),'value':String(i[_0x543a8c(0x31e)][_0x543a8c(0x20a)])},{'label':_0x3091b3['t'](_0x543a8c(0x294)),'value':String(i[_0x543a8c(0x31e)][_0x543a8c(0x1d6)])},{'label':_0x3091b3['t'](_0x543a8c(0x1ec)),'value':String(i[_0x543a8c(0x31e)][_0x543a8c(0x108)])}];return(0x0,r[_0x543a8c(0x38f)])(_0x543a8c(0x1c0),{'className':_0x543a8c(0x269),'children':[(0x0,r[_0x543a8c(0x38f)])(e[_0x543a8c(0x3b2)],{'value':String(_0x46e33e),'disabled':_0x28d247,'onChange':_0x111286=>{const _0x255e90=_0x543a8c;var _0x5248b8;_0x5a9fc2(Number(_0x111286)),_0x171156({'oldShapeData':{'stroke':{'lineStrokeType':(_0x5248b8=_0x1d1c60['stroke'])==null?void 0x0:_0x5248b8[_0x255e90(0x2c6)]}}},{'stroke':{'lineStrokeType':Number(_0x111286)}});},'direction':_0x543a8c(0x286),'children':[(0x0,r[_0x543a8c(0x29d)])(e[_0x543a8c(0x3b0)],{'value':String(i['ShapeLineTypeEnum'][_0x543a8c(0x165)]),'children':(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x360),{'className':_0x543a8c(0x3af),'children':_0x3091b3['t'](_0x543a8c(0x2bc))})}),(0x0,r[_0x543a8c(0x29d)])(e[_0x543a8c(0x3b0)],{'value':String(i[_0x543a8c(0x118)]['SolidLine']),'children':(0x0,r['jsx'])(_0x543a8c(0x360),{'className':_0x543a8c(0x3af),'children':_0x3091b3['t']('shape-editor-ui.line.solidLine')})})]}),_0x46e33e!==i[_0x543a8c(0x118)]['NoLine']&&(0x0,r['jsxs'])(_0x543a8c(0x1c0),{'className':_0x543a8c(0x181),'children':[(0x0,r['jsxs'])('div',{'className':_0x543a8c(0x1bb),'children':[(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x360),{'className':_0x543a8c(0x22c),'children':_0x3091b3['t'](_0x543a8c(0x33e))}),(0x0,r[_0x543a8c(0x29d)])(e[_0x543a8c(0x14e)],{'disabled':_0x28d247,'overlay':(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x1c0),{'className':_0x543a8c(0x22f),'children':(0x0,r[_0x543a8c(0x29d)])(e[_0x543a8c(0x11b)],{'value':_0x6b6b30,'onChange':_0x3fa4eb=>{const _0x394890=_0x543a8c;var _0x434f70;_0x171156({'oldShapeData':{'stroke':{'color':(_0x434f70=_0x1d1c60['stroke'])==null?void 0x0:_0x434f70[_0x394890(0x3c8)]}}},{'stroke':{'color':_0x3fa4eb}}),_0x33d6d0(_0x3fa4eb),_0x5ee2e8(!0x1);}})}),'open':_0x3d7d95,'onOpenChange':_0x5ee2e8,'children':(0x0,r[_0x543a8c(0x38f)])('a',{'className':'univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1.5\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-2\x20univer-py-1\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-100\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','children':[(0x0,r['jsx'])(t[_0x543a8c(0x307)],{'className':'univer-text-xl\x20univer-text-gray-500','extend':{'colorChannel1':_0x6b6b30}}),(0x0,r[_0x543a8c(0x29d)])(t['MoreDownIcon'],{'className':(0x0,e[_0x543a8c(0x27b)])(_0x543a8c(0x158),{'univer-rotate-180':_0x3d7d95})})]})})]}),(0x0,r[_0x543a8c(0x38f)])(_0x543a8c(0x1c0),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[(0x0,r[_0x543a8c(0x29d)])('span',{'className':_0x543a8c(0x395),'children':_0x3091b3['t'](_0x543a8c(0x183))}),(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x1c0),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':(0x0,r[_0x543a8c(0x29d)])('div',{'className':'univer-w-20\x20univer-flex-1','children':(0x0,r[_0x543a8c(0x29d)])(e['InputNumber'],{'className':'univer-w-full','value':_0x2fb880,'disabled':_0x28d247,'min':0x0,'max':0x64,'formatter':_0x2c4468=>_0x2c4468+'%','parser':_0xd0e497=>(_0xd0e497==null?void 0x0:_0xd0e497[_0x543a8c(0x272)]('%',''))||'','onChange':_0xa9b89b=>{const _0x2f5dfc=_0x543a8c;var _0x427948;let _0x176273=(0x64-Math[_0x2f5dfc(0x23d)](0x0,Math['min'](0x64,_0xa9b89b==null?0x0:_0xa9b89b)))/0x64;_0x436d29(_0x176273),_0x171156({'oldShapeData':{'stroke':{'opacity':(_0x427948=_0x1d1c60[_0x2f5dfc(0x36e)])==null?void 0x0:_0x427948[_0x2f5dfc(0x219)]}}},{'stroke':{'opacity':_0x176273}}),_0x1b04b0[_0x2f5dfc(0x141)](a['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x1b04b0[_0x543a8c(0x141)](a[_0x543a8c(0x2cb)],!0x0),'onBlur':_0x3785d4=>{const _0x481069=_0x543a8c;_0x1b04b0[_0x481069(0x141)](a[_0x481069(0x2cb)],!0x1);}})})})]}),(0x0,r['jsxs'])('div',{'className':_0x543a8c(0x29e),'children':[(0x0,r[_0x543a8c(0x29d)])('span',{'className':_0x543a8c(0x22c),'children':_0x3091b3['t'](_0x543a8c(0x30f))}),(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x1c0),{'className':_0x543a8c(0x31d),'children':(0x0,r[_0x543a8c(0x29d)])(e[_0x543a8c(0x1fb)],{'className':_0x543a8c(0x35b),'disabled':_0x28d247,'value':_0x44b414,'min':0.25,'max':0x64,'step':0.25,'formatter':_0x520b19=>_0x520b19+_0x543a8c(0x280),'parser':_0x4af6e2=>(_0x4af6e2==null?void 0x0:_0x4af6e2[_0x543a8c(0x272)](_0x543a8c(0x280),''))||'','onChange':_0x4fc835=>{const _0x45adcf=_0x543a8c;if(!Number[_0x45adcf(0x364)](_0x4fc835)&&_0x4fc835!==null){var _0x42f665;_0x171156({'oldShapeData':{'stroke':{'width':(_0x42f665=_0x1d1c60[_0x45adcf(0x36e)])==null?void 0x0:_0x42f665[_0x45adcf(0x10f)]}}},{'stroke':{'width':_0x4fc835}});}_0x1b04b0[_0x45adcf(0x141)](a[_0x45adcf(0x2cb)],!0x1);},'onFocus':()=>_0x1b04b0[_0x543a8c(0x141)](a[_0x543a8c(0x2cb)],!0x0),'onBlur':_0x3601a0=>{const _0x561661=_0x543a8c;_0x1b04b0[_0x561661(0x141)](a[_0x561661(0x2cb)],!0x1);}})})]}),_0x3a8da3&&(0x0,r['jsxs'])('div',{'className':_0x543a8c(0x29e),'children':[(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x360),{'className':_0x543a8c(0x22c),'children':_0x3091b3['t'](_0x543a8c(0x21f))}),(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x1c0),{'className':'univer-w-20','children':(0x0,r['jsx'])(e[_0x543a8c(0x1fb)],{'className':_0x543a8c(0x35b),'disabled':_0x28d247,'value':_0x2c2843,'min':0x0,'step':0x1,'formatter':_0x401e70=>_0x401e70+_0x543a8c(0x280),'parser':_0x296453=>(_0x296453==null?void 0x0:_0x296453[_0x543a8c(0x272)](_0x543a8c(0x280),''))||'','onChange':_0x527759=>{const _0x503750=_0x543a8c;var _0x36fdc0;let _0x3f9cd7=Math[_0x503750(0x23d)](0x0,_0x527759==null?0x0:_0x527759);_0x1d8e9f(_0x3f9cd7),_0x171156({'oldShapeData':{'stroke':{'cornerRadius':(_0x36fdc0=_0x1d1c60[_0x503750(0x36e)])==null?void 0x0:_0x36fdc0[_0x503750(0x19c)]}}},{'stroke':{'cornerRadius':_0x3f9cd7}}),_0x1b04b0[_0x503750(0x141)](a['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x1b04b0['setContextValue'](a[_0x543a8c(0x2cb)],!0x0),'onBlur':()=>{const _0x213486=_0x543a8c;_0x1b04b0['setContextValue'](a[_0x213486(0x2cb)],!0x1);}})})]}),(0x0,r[_0x543a8c(0x38f)])(_0x543a8c(0x1c0),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x360),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3091b3['t'](_0x543a8c(0x204))}),(0x0,r['jsx'])('div',{'className':'univer-w-28','children':(0x0,r[_0x543a8c(0x29d)])(e['Select'],{'className':_0x543a8c(0x35b),'value':String(_0x3207a4),'options':_0xa80bca,'disabled':_0x28d247,'onChange':_0x447234=>{const _0x65de39=_0x543a8c;var _0x1403cc;_0x3d6782(Number(_0x447234)),_0x171156({'oldShapeData':{'stroke':{'dashType':(_0x1403cc=_0x1d1c60[_0x65de39(0x36e)])==null?void 0x0:_0x1403cc[_0x65de39(0x35e)]}}},{'stroke':{'dashType':Number(_0x447234)}});}})})]}),(0x0,r[_0x543a8c(0x38f)])(_0x543a8c(0x1c0),{'className':_0x543a8c(0x1bb),'children':[(0x0,r['jsx'])(_0x543a8c(0x360),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3091b3['t'](_0x543a8c(0x30d))}),(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x1c0),{'className':_0x543a8c(0x2b0),'children':(0x0,r[_0x543a8c(0x29d)])(e[_0x543a8c(0x14d)],{'className':_0x543a8c(0x35b),'value':String(_0x62d394),'options':_0x45a716,'disabled':_0x28d247,'onChange':_0x204bfa=>{const _0x8f9918=_0x543a8c;var _0x478cfe;_0x59d26(Number(_0x204bfa)),_0x171156({'oldShapeData':{'stroke':{'capType':(_0x478cfe=_0x1d1c60[_0x8f9918(0x36e)])==null?void 0x0:_0x478cfe[_0x8f9918(0x211)]}}},{'stroke':{'capType':Number(_0x204bfa)}});}})})]}),(0x0,r[_0x543a8c(0x38f)])(_0x543a8c(0x1c0),{'className':_0x543a8c(0x1bb),'children':[(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x360),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3091b3['t'](_0x543a8c(0x21a))}),(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x1c0),{'className':'univer-w-28','children':(0x0,r['jsx'])(e[_0x543a8c(0x14d)],{'className':_0x543a8c(0x35b),'value':String(_0x1752c2),'options':_0x441456,'disabled':_0x28d247,'onChange':_0x2ee910=>{const _0x56ab10=_0x543a8c;var _0x2dab76;_0x473d33(Number(_0x2ee910)),_0x171156({'oldShapeData':{'stroke':{'lineJoinType':(_0x2dab76=_0x1d1c60[_0x56ab10(0x36e)])==null?void 0x0:_0x2dab76[_0x56ab10(0x21e)]}}},{'stroke':{'lineJoinType':Number(_0x2ee910)}});}})})]}),!_0x3a8da3&&(0x0,r[_0x543a8c(0x38f)])('div',{'className':_0x543a8c(0x1bb),'children':[(0x0,r[_0x543a8c(0x29d)])('span',{'className':_0x543a8c(0x22c),'children':_0x3091b3['t'](_0x543a8c(0x387))}),(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x1c0),{'className':_0x543a8c(0x2b0),'children':(0x0,r[_0x543a8c(0x29d)])(e[_0x543a8c(0x14d)],{'className':_0x543a8c(0x35b),'value':String(_0x43de32),'options':_0x3cc325,'disabled':_0x28d247,'onChange':_0x35e756=>{const _0x55661b=_0x543a8c;var _0x48618b;_0x351c56(Number(_0x35e756)),_0x171156({'oldShapeData':{'stroke':{'sketchType':(_0x48618b=_0x1d1c60[_0x55661b(0x36e)])==null?void 0x0:_0x48618b[_0x55661b(0x37b)]}}},{'stroke':{'sketchType':Number(_0x35e756)}});}})})]}),_0x3a8da3&&(0x0,r[_0x543a8c(0x38f)])(r[_0x543a8c(0x2e0)],{'children':[(0x0,r['jsxs'])(_0x543a8c(0x1c0),{'className':_0x543a8c(0x1bb),'children':[(0x0,r['jsx'])(_0x543a8c(0x360),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3091b3['t'](_0x543a8c(0x2a0))}),(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x1c0),{'className':_0x543a8c(0x2b0),'children':(0x0,r[_0x543a8c(0x29d)])(e[_0x543a8c(0x14d)],{'className':'univer-w-full','value':String(_0x3694ab),'options':_0x10d8a6,'onChange':_0x54c2f2=>{const _0xeb363a=_0x543a8c;var _0x3da770;_0x292e78(Number(_0x54c2f2));let _0x58e717={'ln':{'startArrow':{'type':(_0x3da770=_0x1d1c60['ln'])==null||(_0x3da770=_0x3da770[_0xeb363a(0x14b)])==null?void 0x0:_0x3da770[_0xeb363a(0x1fd)]}}};_0x13bbfa==null||_0x13bbfa({'oldShapeData':_0x58e717},{'ln':{'startArrow':{'type':Number(_0x54c2f2)}}});}})})]}),(0x0,r[_0x543a8c(0x38f)])(_0x543a8c(0x1c0),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r['jsx'])(_0x543a8c(0x360),{'className':_0x543a8c(0x22c),'children':_0x3091b3['t']('shape-editor-ui.line.beginArrowSize')}),(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x1c0),{'className':_0x543a8c(0x2b0),'children':(0x0,r['jsx'])(e[_0x543a8c(0x14d)],{'className':_0x543a8c(0x35b),'value':String(_0x541ec7),'options':_0x2f99c6,'onChange':_0x30083e=>{const _0xbb9cb3=_0x543a8c;var _0x3cbd99;_0x350844(Number(_0x30083e));let _0x35dc79={'ln':{'startArrow':{'size':(_0x3cbd99=_0x1d1c60['ln'])==null||(_0x3cbd99=_0x3cbd99[_0xbb9cb3(0x14b)])==null?void 0x0:_0x3cbd99[_0xbb9cb3(0xf7)]}}};_0x13bbfa==null||_0x13bbfa({'oldShapeData':_0x35dc79},{'ln':{'startArrow':{'size':Number(_0x30083e)}}});}})})]}),(0x0,r[_0x543a8c(0x38f)])(_0x543a8c(0x1c0),{'className':_0x543a8c(0x1bb),'children':[(0x0,r[_0x543a8c(0x29d)])('span',{'className':_0x543a8c(0x22c),'children':_0x3091b3['t'](_0x543a8c(0x369))}),(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x1c0),{'className':_0x543a8c(0x2b0),'children':(0x0,r[_0x543a8c(0x29d)])(e['Select'],{'className':_0x543a8c(0x35b),'value':String(_0x2c355b),'options':_0x10d8a6,'onChange':_0x492822=>{const _0x34d65e=_0x543a8c;var _0x24437d;_0x2f6957(Number(_0x492822));let _0x25aa91={'ln':{'endArrow':{'type':(_0x24437d=_0x1d1c60['ln'])==null||(_0x24437d=_0x24437d[_0x34d65e(0x3c4)])==null?void 0x0:_0x24437d[_0x34d65e(0x1fd)]}}};_0x13bbfa==null||_0x13bbfa({'oldShapeData':_0x25aa91},{'ln':{'endArrow':{'type':Number(_0x492822)}}});}})})]}),(0x0,r[_0x543a8c(0x38f)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x360),{'className':_0x543a8c(0x22c),'children':_0x3091b3['t'](_0x543a8c(0x137))}),(0x0,r['jsx'])(_0x543a8c(0x1c0),{'className':_0x543a8c(0x2b0),'children':(0x0,r['jsx'])(e['Select'],{'className':_0x543a8c(0x35b),'value':String(_0x42ed8b),'options':_0x2f99c6,'onChange':_0x48c714=>{const _0x26b884=_0x543a8c;var _0x2babd7;_0x5ab230(Number(_0x48c714));let _0x99b758={'ln':{'endArrow':{'size':(_0x2babd7=_0x1d1c60['ln'])==null||(_0x2babd7=_0x2babd7['endArrow'])==null?void 0x0:_0x2babd7[_0x26b884(0xf7)]}}};_0x13bbfa==null||_0x13bbfa({'oldShapeData':_0x99b758},{'ln':{'endArrow':{'size':Number(_0x48c714)}}});}})})]})]})]})]});}function S(_0x4ad6c8){const _0x356ca4=_0x55b3f9;let {shapeData:_0x3bd543,shapeId:_0x5713c0,shapeType:_0x110819,version:_0xde3455,disableShapeOption:_0x4b770d,positionEditor:_0x2b1d42,onUpdateShapeData:_0x12f20c,onUpdateLineShapeData:_0x182abd,onUpdateShapeFillImage:_0x41808b}=_0x4ad6c8,_0x37e762=(0x0,o[_0x356ca4(0x176)])(a[_0x356ca4(0x164)]),_0x58f181=(0x0,i['isConnectorShape'])(_0x110819),[_0x3f0f5c,_0x125243]=(0x0,n[_0x356ca4(0x1ea)])(0x0),_0x2484e8=[{'label':(0x0,r[_0x356ca4(0x29d)])(_0x356ca4(0x1c0),{'children':_0x37e762['t'](_0x356ca4(0x36a))}),'children':(0x0,r[_0x356ca4(0x29d)])(_0x356ca4(0x3d1),{'className':_0x356ca4(0x267),'children':(0x0,r['jsx'])(_,{'shapeId':_0x5713c0,'shapeData':_0x3bd543,'isLineShape':_0x58f181,'disableShapeOption':_0x4b770d,'onUpdateShapeData':_0x12f20c,'onUpdateShapeFillImage':_0x41808b},_0x5713c0+'-'+_0xde3455+'-fill')})},{'label':(0x0,r[_0x356ca4(0x29d)])(_0x356ca4(0x1c0),{'children':_0x37e762['t'](_0x356ca4(0x163))}),'children':(0x0,r[_0x356ca4(0x29d)])(_0x356ca4(0x3d1),{'className':_0x356ca4(0x267),'children':(0x0,r[_0x356ca4(0x29d)])(x,{'shapeId':_0x5713c0,'shapeData':_0x3bd543,'isLineShape':_0x58f181,'disableShapeOption':_0x4b770d,'onUpdateShapeData':_0x12f20c,'onUpdateLineShapeData':_0x182abd},_0x5713c0+'-'+_0xde3455+_0x356ca4(0x10c))})}];return(0x0,r[_0x356ca4(0x38f)])('div',{'className':_0x356ca4(0x257),'children':[(0x0,r[_0x356ca4(0x38f)])(_0x356ca4(0x1c0),{'className':_0x356ca4(0x1a3),'children':[(0x0,r[_0x356ca4(0x38f)])('div',{'className':(0x0,e[_0x356ca4(0x27b)])(_0x356ca4(0x171),_0x3f0f5c===0x0?_0x356ca4(0x13c):'univer-text-gray-500'),'onClick':()=>_0x125243(0x0),'children':[_0x37e762['t']('shape-editor-ui.shapeStyle'),(0x0,r[_0x356ca4(0x29d)])(_0x356ca4(0x1c0),{'className':(0x0,e[_0x356ca4(0x27b)])('univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md',{'univer-bg-primary-600':_0x3f0f5c===0x0,'univer-bg-transparent':_0x3f0f5c!==0x0})})]}),(0x0,r[_0x356ca4(0x38f)])(_0x356ca4(0x1c0),{'className':(0x0,e[_0x356ca4(0x27b)])(_0x356ca4(0x171),{'univer-text-primary-600':_0x3f0f5c===0x1,'univer-text-gray-500':_0x3f0f5c!==0x1}),'onClick':()=>_0x125243(0x1),'children':[_0x37e762['t'](_0x356ca4(0x18e)),(0x0,r[_0x356ca4(0x29d)])(_0x356ca4(0x1c0),{'className':(0x0,e['clsx'])(_0x356ca4(0x2c8),{'univer-bg-primary-600':_0x3f0f5c===0x1,'univer-bg-transparent':_0x3f0f5c!==0x1})})]})]}),(0x0,r[_0x356ca4(0x29d)])(_0x356ca4(0x1c0),{'className':_0x356ca4(0x1cd),'children':_0x3f0f5c===0x0?(0x0,r['jsx'])(_0x356ca4(0x1c0),{'className':'','children':(0x0,r[_0x356ca4(0x29d)])(e[_0x356ca4(0x34b)],{'items':_0x2484e8})},_0xde3455):_0x2b1d42})]});}function C(_0x2d198c){const _0x590be5=_0x55b3f9;return _0x2d198c[_0x590be5(0x272)](/\r\n/g,'\x0a')['replace'](/\r/g,'\x0a');}function w(_0x4d608c){const _0x48d1f8=_0x55b3f9;if(_0x4d608c&&_0x48d1f8(0x18d)in _0x4d608c&&typeof _0x4d608c[_0x48d1f8(0x18d)]==_0x48d1f8(0x2f9))return _0x4d608c[_0x48d1f8(0x18d)];}function T(_0x50b7c7){const _0x85a29c=_0x55b3f9;if(!(!_0x50b7c7||!(_0x85a29c(0x131)in _0x50b7c7)||_0x50b7c7['isRichText']!==!0x1))return{..._0x50b7c7[_0x85a29c(0x144)]?{'ff':_0x50b7c7[_0x85a29c(0x144)]}:{},..._0x50b7c7[_0x85a29c(0x3be)]===void 0x0?{}:{'fs':_0x50b7c7[_0x85a29c(0x3be)]},..._0x50b7c7[_0x85a29c(0x3c8)]?{'cl':{'rgb':_0x50b7c7['color']}}:{},..._0x50b7c7['bold']===void 0x0?{}:{'bl':_0x50b7c7[_0x85a29c(0x229)]?a[_0x85a29c(0x317)]['TRUE']:a['BooleanNumber'][_0x85a29c(0x177)]},..._0x50b7c7[_0x85a29c(0x27a)]===void 0x0?{}:{'it':_0x50b7c7[_0x85a29c(0x27a)]?a[_0x85a29c(0x317)]['TRUE']:a[_0x85a29c(0x317)][_0x85a29c(0x177)]},..._0x50b7c7[_0x85a29c(0x313)]===void 0x0?{}:{'ul':{'s':_0x50b7c7[_0x85a29c(0x313)]?a['BooleanNumber'][_0x85a29c(0x1a0)]:a['BooleanNumber'][_0x85a29c(0x177)]}}};}function E(_0x131e67,_0x83092c=a[_0x55b3f9(0xff)][_0x55b3f9(0x152)],_0x440c73=''){const _0x340d8d=_0x55b3f9;let _0x3a3971=C(_0x440c73)['split']('\x0a'),_0xf67a4=_0x3a3971[_0x340d8d(0x25c)]('\x0d')+'\x0d\x0a',_0x145fcb=Math['max'](0x0,_0xf67a4[_0x340d8d(0x2e1)]-0x2),_0x10a2c4=new Set(),_0x452820=0x0,_0x3639ff=_0x3a3971[_0x340d8d(0x34d)](_0x256c53=>{const _0x4ba9b3=_0x340d8d;let _0x1ef833={'startIndex':_0x452820+_0x256c53[_0x4ba9b3(0x2e1)],'paragraphId':(0x0,a[_0x4ba9b3(0x355)])(_0x10a2c4),'paragraphStyle':{'horizontalAlign':_0x83092c}};return _0x452820+=_0x256c53[_0x4ba9b3(0x2e1)]+0x1,_0x1ef833;});return{'id':_0x340d8d(0x382),'body':{'dataStream':_0xf67a4,'textRuns':_0x131e67?[{'st':0x0,'ed':Math[_0x340d8d(0x23d)](0x1,_0x145fcb),'ts':{..._0x131e67}}]:[],'paragraphs':_0x3639ff},'documentStyle':{'textStyle':_0x131e67?{..._0x131e67}:void 0x0}};}function D(_0x19e45a,_0x32e5bf){const _0x11817f=_0x55b3f9;var _0x3d78f8,_0x32c804,_0x434392;let _0x57b96f=_0x19e45a['shapeText'],_0xd9beb7=_0x57b96f&&_0x11817f(0x1c2)in _0x57b96f?_0x57b96f['dataModel']:void 0x0,_0x2ee289=(_0x3d78f8=(_0x32c804=_0x32e5bf[_0x11817f(0x2bf)])==null?_0xd9beb7==null?void 0x0:_0xd9beb7['ha']:_0x32c804)==null?a[_0x11817f(0xff)][_0x11817f(0x152)]:_0x3d78f8,_0x4bae93={...T(_0x57b96f),..._0x32e5bf[_0x11817f(0x1b2)]},_0x29450d=Object['keys'](_0x4bae93)[_0x11817f(0x2e1)]>0x0;if(_0xd9beb7!=null&&_0xd9beb7[_0x11817f(0x15c)]){var _0x2b90ed,_0x2e2fed;return{'va':(_0x2b90ed=_0xd9beb7['va'])==null?a[_0x11817f(0x111)][_0x11817f(0x2ca)]:_0x2b90ed,'ha':(_0x2e2fed=_0xd9beb7['ha'])==null?a[_0x11817f(0xff)][_0x11817f(0x152)]:_0x2e2fed,'doc':a[_0x11817f(0x31a)][_0x11817f(0x2f2)](_0xd9beb7['doc'])};}return{'va':a[_0x11817f(0x111)]['TOP'],'ha':_0x2ee289,'doc':E(_0x29450d?_0x4bae93:void 0x0,_0x2ee289,(_0x434392=w(_0x57b96f))==null?'':_0x434392)};}function O(_0xfe0a6e,_0x48c63d){const _0x4b7d81=_0x55b3f9;var _0x2119ff,_0x102c62,_0x3346a2,_0xdc07b1,_0x3ad34b;let _0x4ee98e=_0xfe0a6e[_0x4b7d81(0x136)],_0x5187dd=_0x4ee98e&&_0x4b7d81(0x1c2)in _0x4ee98e&&_0x4ee98e[_0x4b7d81(0x1c2)]&&typeof _0x4ee98e[_0x4b7d81(0x1c2)]==_0x4b7d81(0x233)?_0x4ee98e[_0x4b7d81(0x1c2)]:{},_0x3d8f0b=w(_0x4ee98e),_0x2da01c=D(_0xfe0a6e,_0x48c63d),_0x3bff63=(_0x2119ff=_0x48c63d[_0x4b7d81(0x2bf)])==null?_0x2da01c['ha']:_0x2119ff,_0x10db9c=(_0x102c62=_0x48c63d[_0x4b7d81(0x1ce)])==null?_0x2da01c['va']:_0x102c62,_0x1b545e=_0x2da01c[_0x4b7d81(0x15c)];if(_0x1b545e[_0x4b7d81(0x3b7)]={..._0x1b545e['documentStyle'],'renderConfig':{...(_0x3346a2=_0x1b545e[_0x4b7d81(0x3b7)])==null?void 0x0:_0x3346a2[_0x4b7d81(0x2fb)],'horizontalAlign':_0x3bff63,'verticalAlign':_0x10db9c}},_0x48c63d[_0x4b7d81(0x1b2)]){var _0x408c2c,_0x329d4e;_0x1b545e[_0x4b7d81(0x3b7)]={..._0x1b545e[_0x4b7d81(0x3b7)],'textStyle':{...(_0x408c2c=_0x1b545e['documentStyle'])==null?void 0x0:_0x408c2c[_0x4b7d81(0x1b2)],..._0x48c63d[_0x4b7d81(0x1b2)]}};let _0x3e5553=(_0x329d4e=_0x1b545e[_0x4b7d81(0x315)])==null?void 0x0:_0x329d4e[_0x4b7d81(0x2ac)];if(_0x3e5553){for(let _0x54fedd of _0x3e5553)_0x54fedd['ts']={..._0x54fedd['ts'],..._0x48c63d[_0x4b7d81(0x1b2)]};}}let _0x4c8be3=(_0xdc07b1=_0x1b545e[_0x4b7d81(0x315)])==null?void 0x0:_0xdc07b1[_0x4b7d81(0x1dc)];if(_0x4c8be3){for(let _0x50acde of _0x4c8be3)_0x50acde[_0x4b7d81(0x1b4)]={..._0x50acde['paragraphStyle'],'horizontalAlign':_0x3bff63};}return{'shapeText':{..._0x4ee98e==null?{}:_0x4ee98e,'isHorizontal':(_0x3ad34b=_0x4ee98e==null?void 0x0:_0x4ee98e[_0x4b7d81(0x1ee)])==null?!0x0:_0x3ad34b,..._0x3d8f0b===void 0x0?{}:{'text':_0x3d8f0b},'dataModel':{..._0x5187dd,'va':_0x10db9c,'ha':_0x3bff63,'doc':_0x1b545e}}};}function _0x3eb8(_0x57e53a,_0xf525ee){_0x57e53a=_0x57e53a-0xf1;const _0x16b94c=_0x16b9();let _0x3eb8d3=_0x16b94c[_0x57e53a];return _0x3eb8d3;}const k='univer.shape-editor-ui.floating-toolbar.collapsed',A={'none':i[_0x55b3f9(0x1d7)][_0x55b3f9(0x258)],'solid':i['ShapeFillEnum'][_0x55b3f9(0x2f1)],'gradient':i['ShapeFillEnum'][_0x55b3f9(0x1d9)],'picture':i['ShapeFillEnum'][_0x55b3f9(0x371)]};function j(_0x28cc07){const _0xae9368=_0x55b3f9;return _0x28cc07 instanceof HTMLElement?!!_0x28cc07[_0xae9368(0x36d)](_0xae9368(0x1c1)):!0x1;}function M(_0x52424e){const _0xfc654=_0x55b3f9;j(_0x52424e[_0xfc654(0x1df)])||_0x52424e[_0xfc654(0x3b3)]();}function N(_0x1063f9){const _0x1f195f=_0x55b3f9;_0x1063f9[_0x1f195f(0x33a)](),M(_0x1063f9);}function P(_0xc2210c){const _0x19af36=_0x55b3f9;let _0x32f44f=(0x0,n[_0x19af36(0x333)])(!0x1),_0x5693=(0x0,n[_0x19af36(0x333)])(null);return{'handleOpenChange':_0x17fc28=>{!_0x17fc28&&_0x32f44f['current']||_0xc2210c(_0x17fc28);},'markInternalInteraction':()=>{const _0x1918eb=_0x19af36;_0x32f44f[_0x1918eb(0x2d1)]=!0x0,_0x5693[_0x1918eb(0x2d1)]&&clearTimeout(_0x5693[_0x1918eb(0x2d1)]),_0x5693['current']=setTimeout(()=>{const _0x45908f=_0x1918eb;_0x32f44f[_0x45908f(0x2d1)]=!0x1,_0x5693[_0x45908f(0x2d1)]=null;},0x1f4);}};}function F(){const _0x1af36b=_0x55b3f9;return(0x0,r[_0x1af36b(0x38f)])(_0x1af36b(0x330),{'viewBox':_0x1af36b(0x24c),'width':_0x1af36b(0x1c6),'height':'1em','fill':'none','aria-hidden':_0x1af36b(0x1f1),'children':[(0x0,r[_0x1af36b(0x29d)])(_0x1af36b(0x133),{'d':'M2.5\x204.5H8.2','stroke':_0x1af36b(0x251),'strokeWidth':_0x1af36b(0x100),'strokeLinecap':_0x1af36b(0xfc)}),(0x0,r[_0x1af36b(0x29d)])('path',{'d':'M11.8\x204.5H17.5','stroke':_0x1af36b(0x251),'strokeWidth':'1.4','strokeLinecap':'round'}),(0x0,r['jsx'])(_0x1af36b(0x133),{'d':_0x1af36b(0x327),'stroke':_0x1af36b(0x251),'strokeWidth':'1.4','strokeLinecap':_0x1af36b(0xfc)}),(0x0,r[_0x1af36b(0x29d)])(_0x1af36b(0x133),{'d':'M14.3\x2010H17.5','stroke':_0x1af36b(0x251),'strokeWidth':_0x1af36b(0x100),'strokeLinecap':_0x1af36b(0xfc)}),(0x0,r[_0x1af36b(0x29d)])('path',{'d':_0x1af36b(0x398),'stroke':'currentColor','strokeWidth':_0x1af36b(0x100),'strokeLinecap':_0x1af36b(0xfc)}),(0x0,r[_0x1af36b(0x29d)])('path',{'d':'M11.8\x2015.5H17.5','stroke':_0x1af36b(0x251),'strokeWidth':_0x1af36b(0x100),'strokeLinecap':_0x1af36b(0xfc)}),(0x0,r['jsx'])(_0x1af36b(0x244),{'x':_0x1af36b(0x1a8),'y':'7','width':'6.4','height':'6','rx':'1','stroke':'currentColor','strokeWidth':_0x1af36b(0x100)})]});}function I(){const _0x4c9c9e=_0x55b3f9;return(0x0,r[_0x4c9c9e(0x29d)])(_0x4c9c9e(0x360),{'className':_0x4c9c9e(0x123)});}function L(_0x2da465){const _0x3347b9=_0x55b3f9;return(0x0,r['jsx'])(_0x3347b9(0x1c0),{'className':_0x3347b9(0x128),'children':_0x2da465[_0x3347b9(0x35c)]});}function R(_0x59a03c){const _0xdb4d28=_0x55b3f9;return(0x0,r[_0xdb4d28(0x29d)])(e[_0xdb4d28(0x345)],{'title':_0x59a03c[_0xdb4d28(0x1ae)],'placement':_0xdb4d28(0x254),'children':(0x0,r[_0xdb4d28(0x29d)])(_0xdb4d28(0x188),{'type':_0xdb4d28(0x188),'disabled':_0x59a03c[_0xdb4d28(0x265)],'onClick':_0x59a03c[_0xdb4d28(0x15f)],'className':(0x0,e['clsx'])(_0xdb4d28(0x306),{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x59a03c['active']}),'children':_0x59a03c['children']})});}function z(_0x4cb9f7){const _0x5c839d=_0x55b3f9;let {title:_0x321ce1,open:_0x8950f1,disabled:_0x2bfb36,icon:_0x5969fa,overlay:_0x53eb5b,onApply:_0x328951,onOpenChange:_0x1ec755}=_0x4cb9f7,_0x1084a4=_0x5c839d(0x2bd);return(0x0,r[_0x5c839d(0x38f)])(_0x5c839d(0x1c0),{'className':_0x5c839d(0x206),'children':[(0x0,r['jsx'])(e[_0x5c839d(0x345)],{'title':_0x321ce1,'placement':'bottom','children':(0x0,r[_0x5c839d(0x29d)])(_0x5c839d(0x188),{'type':_0x5c839d(0x188),'disabled':_0x2bfb36,'onClick':_0x328951,'className':(0x0,e['clsx'])(_0x1084a4,_0x5c839d(0x1cb),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x8950f1}),'children':_0x5969fa})}),(0x0,r['jsx'])(e['Dropdown'],{'disabled':_0x2bfb36,'open':_0x8950f1,'onOpenChange':_0x1ec755,'overlay':_0x53eb5b,'children':(0x0,r[_0x5c839d(0x29d)])(_0x5c839d(0x360),{'children':(0x0,r[_0x5c839d(0x29d)])(e[_0x5c839d(0x345)],{'title':_0x321ce1,'placement':_0x5c839d(0x254),'children':(0x0,r[_0x5c839d(0x29d)])(_0x5c839d(0x188),{'type':'button','disabled':_0x2bfb36,'className':(0x0,e['clsx'])(_0x1084a4,_0x5c839d(0x167),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x8950f1}),'children':(0x0,r[_0x5c839d(0x29d)])(t[_0x5c839d(0x2c1)],{'className':(0x0,e['clsx'])(_0x5c839d(0x23e),{'univer-rotate-180':_0x8950f1})})})})})})]});}function B(_0x19cf8c){const _0x5f471f=_0x55b3f9;switch(_0x19cf8c){case i['ShapeLineDashEnum'][_0x5f471f(0x23f)]:case i[_0x5f471f(0x1b9)]['SquareDot']:return _0x5f471f(0x30c);case i['ShapeLineDashEnum'][_0x5f471f(0x27e)]:return _0x5f471f(0x1a2);case i[_0x5f471f(0x1b9)]['DashDot']:return _0x5f471f(0x1a1);case i[_0x5f471f(0x1b9)][_0x5f471f(0x2a5)]:return _0x5f471f(0x372);case i[_0x5f471f(0x1b9)]['LongDashDot']:return _0x5f471f(0x1ab);case i[_0x5f471f(0x1b9)][_0x5f471f(0x101)]:return'8\x202\x201\x202\x201\x202';case i[_0x5f471f(0x1b9)][_0x5f471f(0x3c9)]:default:return;}}function V(_0x2eb8b3){const _0xe8ea1d=_0x55b3f9;let {lineStrokeType:_0x48d42d,dashType:_0x7e18c7,color:_0x692ab5=_0xe8ea1d(0x251),width:_0x33ef18=0x2,className:_0x586c7d}=_0x2eb8b3;return _0x48d42d===i[_0xe8ea1d(0x118)][_0xe8ea1d(0x165)]?(0x0,r[_0xe8ea1d(0x38f)])(_0xe8ea1d(0x360),{'className':(0x0,e['clsx'])(_0xe8ea1d(0x105),_0x586c7d),'children':[(0x0,r[_0xe8ea1d(0x29d)])('span',{'className':_0xe8ea1d(0x380)}),(0x0,r['jsx'])(_0xe8ea1d(0x360),{'className':'univer-absolute\x20univer-h-7\x20univer-w-0\x20univer-rotate-45\x20univer-border-l-2\x20univer-border-solid\x20univer-border-red-500'})]}):(0x0,r['jsx'])(_0xe8ea1d(0x330),{'className':(0x0,e[_0xe8ea1d(0x27b)])(_0xe8ea1d(0x182),_0x586c7d),'viewBox':_0xe8ea1d(0x1f2),'aria-hidden':_0xe8ea1d(0x1f1),'children':(0x0,r[_0xe8ea1d(0x29d)])(_0xe8ea1d(0x1e3),{'x1':'4','y1':'10','x2':'44','y2':'10','stroke':_0x692ab5,'strokeWidth':Math[_0xe8ea1d(0x23d)](0x1,Math[_0xe8ea1d(0x301)](0x4,_0x33ef18)),'strokeDasharray':B(_0x7e18c7),'strokeLinecap':_0x7e18c7===i['ShapeLineDashEnum'][_0xe8ea1d(0x23f)]?'round':_0xe8ea1d(0x392)})});}function H(_0x4480f5){const _0x385efa=_0x55b3f9;return(0x0,r[_0x385efa(0x29d)])('span',{'className':_0x385efa(0x150),'children':(0x0,r['jsx'])(V,{'dashType':_0x4480f5[_0x385efa(0x35e)],'color':_0x4480f5[_0x385efa(0x3c8)],'width':_0x4480f5[_0x385efa(0x10f)]})});}function U(_0x1597c1){const _0x5a4157=_0x55b3f9;let {label:_0x4d8699,value:_0x1ae067,min:_0xb1b719,max:_0x4205d3,step:_0x2cb946,disabled:_0x4530ea,suffix:_0x5c1d3a='',onChange:_0x6e3f6e}=_0x1597c1;return(0x0,r[_0x5a4157(0x38f)])(_0x5a4157(0x1c0),{'className':_0x5a4157(0x3b8),'children':[(0x0,r[_0x5a4157(0x38f)])('div',{'className':_0x5a4157(0x29e),'children':[(0x0,r['jsx'])(_0x5a4157(0x360),{'className':_0x5a4157(0x34e),'children':_0x4d8699}),(0x0,r[_0x5a4157(0x38f)])('span',{'className':_0x5a4157(0x2c3),'children':[_0x1ae067,_0x5c1d3a]})]}),(0x0,r[_0x5a4157(0x29d)])('input',{'type':_0x5a4157(0xfe),'min':_0xb1b719,'max':_0x4205d3,'step':_0x2cb946,'value':_0x1ae067,'disabled':_0x4530ea,'onChange':_0x471a4f=>_0x6e3f6e(Number(_0x471a4f[_0x5a4157(0x1df)]['value'])),'className':_0x5a4157(0x296)})]});}function W(_0x503e83){const _0x2662ac=_0x55b3f9;var _0x1d54ac,_0x3ea076,_0x99e329,_0x1e443d,_0x27df62;let {title:_0x462de2,shapeData:_0x58a0fd,disabled:_0x2add35,resetLabel:_0x2ebd05,onReset:_0x1770de,onUpdateShapeData:_0x5102bb}=_0x503e83,_0x30392e=(0x0,o[_0x2662ac(0x176)])(a[_0x2662ac(0x164)]),[_0xb323ee,_0xca5247]=(0x0,n[_0x2662ac(0x1ea)])(!0x1),[_0x1f7a55,_0x4959e7]=(0x0,n[_0x2662ac(0x1ea)])(!0x1),{handleOpenChange:_0x107883,markInternalInteraction:_0x48c7fe}=P(_0xca5247),_0x29bb8e=_0x58a0fd['stroke'],_0xa1493a=(_0x1d54ac=_0x29bb8e==null?void 0x0:_0x29bb8e[_0x2662ac(0x3c8)])==null?_0x2662ac(0x318):_0x1d54ac,_0x3cad4d=Math['max'](0x1,Math[_0x2662ac(0x301)](0xa,Math[_0x2662ac(0xfc)]((_0x3ea076=_0x29bb8e==null?void 0x0:_0x29bb8e[_0x2662ac(0x10f)])==null?0x1:_0x3ea076))),_0x4bdb29=Math['round']((0x1-((_0x99e329=_0x29bb8e==null?void 0x0:_0x29bb8e[_0x2662ac(0x219)])==null?0x1:_0x99e329))*0x64),_0x15e668=(_0x1e443d=_0x29bb8e==null?void 0x0:_0x29bb8e[_0x2662ac(0x35e)])==null?i['ShapeLineDashEnum'][_0x2662ac(0x3c9)]:_0x1e443d,_0x2d4aea=(_0x27df62=_0x29bb8e==null?void 0x0:_0x29bb8e['lineStrokeType'])==null?i[_0x2662ac(0x118)][_0x2662ac(0x26a)]:_0x27df62,_0x436b18=_0x2d4aea!==i[_0x2662ac(0x118)]['NoLine']&&_0x15e668!==i['ShapeLineDashEnum']['Solid']&&_0x15e668!==i[_0x2662ac(0x1b9)][_0x2662ac(0x27e)],_0x466af5=_0x2d4aea===i[_0x2662ac(0x118)][_0x2662ac(0x165)]?_0x2662ac(0x39c):_0x15e668===i['ShapeLineDashEnum'][_0x2662ac(0x3c9)]?_0x2662ac(0x17f):_0x15e668===i[_0x2662ac(0x1b9)][_0x2662ac(0x27e)]?_0x2662ac(0x3bb):_0x2662ac(0x15e),_0x25b242=[{'label':(0x0,r[_0x2662ac(0x29d)])(H,{'dashType':i['ShapeLineDashEnum'][_0x2662ac(0x3c9)],'color':_0xa1493a,'width':_0x3cad4d}),'value':String(i[_0x2662ac(0x1b9)][_0x2662ac(0x3c9)])},{'label':(0x0,r[_0x2662ac(0x29d)])(H,{'dashType':i[_0x2662ac(0x1b9)][_0x2662ac(0x23f)],'color':_0xa1493a,'width':_0x3cad4d}),'value':String(i[_0x2662ac(0x1b9)]['RoundDot'])},{'label':(0x0,r[_0x2662ac(0x29d)])(H,{'dashType':i['ShapeLineDashEnum'][_0x2662ac(0x1e0)],'color':_0xa1493a,'width':_0x3cad4d}),'value':String(i[_0x2662ac(0x1b9)]['SquareDot'])},{'label':(0x0,r[_0x2662ac(0x29d)])(H,{'dashType':i[_0x2662ac(0x1b9)][_0x2662ac(0x27e)],'color':_0xa1493a,'width':_0x3cad4d}),'value':String(i['ShapeLineDashEnum']['Dash'])},{'label':(0x0,r[_0x2662ac(0x29d)])(H,{'dashType':i['ShapeLineDashEnum'][_0x2662ac(0x2d6)],'color':_0xa1493a,'width':_0x3cad4d}),'value':String(i[_0x2662ac(0x1b9)]['DashDot'])},{'label':(0x0,r[_0x2662ac(0x29d)])(H,{'dashType':i[_0x2662ac(0x1b9)][_0x2662ac(0x2a5)],'color':_0xa1493a,'width':_0x3cad4d}),'value':String(i[_0x2662ac(0x1b9)][_0x2662ac(0x2a5)])},{'label':(0x0,r[_0x2662ac(0x29d)])(H,{'dashType':i['ShapeLineDashEnum'][_0x2662ac(0x140)],'color':_0xa1493a,'width':_0x3cad4d}),'value':String(i[_0x2662ac(0x1b9)][_0x2662ac(0x140)])},{'label':(0x0,r[_0x2662ac(0x29d)])(H,{'dashType':i[_0x2662ac(0x1b9)][_0x2662ac(0x101)],'color':_0xa1493a,'width':_0x3cad4d}),'value':String(i['ShapeLineDashEnum'][_0x2662ac(0x101)])}];(0x0,n[_0x2662ac(0x352)])(()=>{const _0x3c43c9=_0x2662ac;(!_0xb323ee||_0x2d4aea===i[_0x3c43c9(0x118)]['NoLine'])&&_0x4959e7(!0x1);},[_0x2d4aea,_0xb323ee]);let _0x381f84=_0x2b9860=>{const _0x385ac7=_0x2662ac;_0x5102bb({'oldShapeData':{'stroke':_0x58a0fd[_0x385ac7(0x36e)]}},{'stroke':_0x2b9860});},_0x248872=_0x467c72=>{var _0x1a5f28;_0x381f84({..._0x29bb8e,'lineStrokeType':_0x2d4aea,'color':_0xa1493a,'width':_0x3cad4d,'opacity':(_0x1a5f28=_0x29bb8e==null?void 0x0:_0x29bb8e['opacity'])==null?0x1:_0x1a5f28,'dashType':_0x15e668,..._0x467c72});},_0x3edadf=_0x51cfe6=>{const _0x51db8e=_0x2662ac;if(_0x51cfe6===_0x51db8e(0x39c)){_0x248872({'lineStrokeType':i[_0x51db8e(0x118)][_0x51db8e(0x165)]});return;}_0x248872({'lineStrokeType':i[_0x51db8e(0x118)]['SolidLine'],'dashType':_0x51cfe6===_0x51db8e(0x17f)?i[_0x51db8e(0x1b9)][_0x51db8e(0x3c9)]:i[_0x51db8e(0x1b9)]['Dash']});};return(0x0,r[_0x2662ac(0x29d)])(e[_0x2662ac(0x14e)],{'disabled':_0x2add35,'open':_0xb323ee,'onOpenChange':_0x107883,'overlay':(0x0,r[_0x2662ac(0x29d)])('div',{'onPointerDownCapture':_0x4fd679=>{_0x48c7fe(),M(_0x4fd679);},'onMouseDownCapture':_0x5d5a1a=>{_0x48c7fe(),M(_0x5d5a1a);},'onPointerDown':N,'onMouseDown':N,'onClick':_0x46231c=>{const _0x1485b1=_0x2662ac;_0x46231c[_0x1485b1(0x33a)](),(!(_0x46231c['target']instanceof HTMLElement)||!_0x46231c[_0x1485b1(0x1df)]['closest'](_0x1485b1(0x358)))&&_0x4959e7(!0x1);},'className':'univer-w-[280px]\x20univer-rounded-lg\x20univer-bg-white\x20univer-p-3\x20univer-shadow-lg\x20dark:!univer-bg-gray-900','children':(0x0,r[_0x2662ac(0x38f)])(_0x2662ac(0x1c0),{'className':_0x2662ac(0x269),'children':[(0x0,r[_0x2662ac(0x29d)])(_0x2662ac(0x360),{'className':_0x2662ac(0x203),'children':_0x30392e['t'](_0x2662ac(0x163))}),(0x0,r['jsxs'])(_0x2662ac(0x1c0),{'className':_0x2662ac(0x304),'children':[[_0x2662ac(0x39c),_0x2662ac(0x17f),_0x2662ac(0x3bb)][_0x2662ac(0x34d)](_0x553434=>(0x0,r['jsx'])(e[_0x2662ac(0x345)],{'title':_0x553434===_0x2662ac(0x39c)?_0x30392e['t'](_0x2662ac(0x2bc)):_0x553434===_0x2662ac(0x17f)?_0x30392e['t'](_0x2662ac(0x311)):_0x30392e['t'](_0x2662ac(0x396)),'placement':'top','children':(0x0,r['jsx'])(_0x2662ac(0x188),{'type':_0x2662ac(0x188),'disabled':_0x2add35,'aria-label':_0x553434,'onClick':()=>_0x3edadf(_0x553434),'className':(0x0,e['clsx'])(_0x2662ac(0x1b8),{'univer-border-primary-600\x20univer-bg-primary-50\x20dark:!univer-bg-gray-800':_0x466af5===_0x553434}),'children':(0x0,r[_0x2662ac(0x29d)])(V,{'lineStrokeType':_0x553434==='none'?i[_0x2662ac(0x118)][_0x2662ac(0x165)]:i[_0x2662ac(0x118)][_0x2662ac(0x26a)],'dashType':_0x553434==='dash'?i[_0x2662ac(0x1b9)][_0x2662ac(0x27e)]:i[_0x2662ac(0x1b9)][_0x2662ac(0x3c9)],'color':_0x553434===_0x2662ac(0x39c)?void 0x0:_0xa1493a,'width':_0x553434==='none'?0x2:_0x3cad4d})})},_0x553434)),(0x0,r[_0x2662ac(0x29d)])(e[_0x2662ac(0x14e)],{'disabled':_0x2add35||_0x2d4aea===i[_0x2662ac(0x118)][_0x2662ac(0x165)],'open':_0x1f7a55,'onOpenChange':_0x4959e7,'overlay':(0x0,r[_0x2662ac(0x29d)])('div',{'data-u-comp':_0x2662ac(0x166),'onPointerDownCapture':_0x476be5=>{_0x48c7fe(),M(_0x476be5);},'onMouseDownCapture':_0x5a3467=>{_0x48c7fe(),M(_0x5a3467);},'onPointerDown':N,'onMouseDown':N,'onClick':_0x51cfeb=>_0x51cfeb[_0x2662ac(0x33a)](),'className':_0x2662ac(0x3ba),'children':_0x25b242[_0x2662ac(0x34d)](_0x375fee=>(0x0,r[_0x2662ac(0x29d)])('button',{'type':_0x2662ac(0x188),'onClick':()=>{const _0x269b83=_0x2662ac;let _0x1769ac=Number(_0x375fee[_0x269b83(0x250)]);_0x248872({'lineStrokeType':i[_0x269b83(0x118)][_0x269b83(0x26a)],'dashType':_0x1769ac}),_0x4959e7(!0x1);},'className':(0x0,e['clsx'])(_0x2662ac(0x19b),{'univer-bg-primary-50\x20dark:!univer-bg-gray-800':_0x375fee[_0x2662ac(0x250)]===String(_0x15e668)}),'children':_0x375fee[_0x2662ac(0x1db)]},_0x375fee[_0x2662ac(0x250)]))}),'children':(0x0,r[_0x2662ac(0x29d)])('span',{'className':_0x2662ac(0x242),'data-u-comp':_0x2662ac(0x166),'children':(0x0,r[_0x2662ac(0x29d)])(e[_0x2662ac(0x345)],{'title':_0x30392e['t'](_0x2662ac(0x396)),'placement':'top','children':(0x0,r['jsxs'])(_0x2662ac(0x188),{'type':'button','role':'combobox','aria-expanded':_0x1f7a55,'disabled':_0x2add35||_0x2d4aea===i[_0x2662ac(0x118)][_0x2662ac(0x165)],'onClick':_0x2c741d=>{const _0x4d7462=_0x2662ac;_0x2c741d[_0x4d7462(0x33a)](),_0x4959e7(_0x44c2ee=>!_0x44c2ee);},'className':(0x0,e[_0x2662ac(0x27b)])('univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-px-1\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-50\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800',{'univer-border-primary-600\x20univer-bg-primary-50\x20dark:!univer-bg-gray-800':_0x436b18}),'children':[(0x0,r[_0x2662ac(0x29d)])(V,{'dashType':i[_0x2662ac(0x1b9)]['LongDashDot'],'color':_0xa1493a,'width':_0x3cad4d,'className':_0x2662ac(0x27c)}),(0x0,r[_0x2662ac(0x29d)])(t[_0x2662ac(0x2c1)],{'className':(0x0,e['clsx'])(_0x2662ac(0x23e),{'univer-rotate-180':_0x1f7a55})})]})})})})]}),(0x0,r[_0x2662ac(0x29d)])(U,{'label':_0x30392e['t']('shape-editor-ui.line.width'),'value':_0x3cad4d,'min':0x1,'max':0xa,'step':0x1,'disabled':_0x2add35||_0x2d4aea===i[_0x2662ac(0x118)]['NoLine'],'onChange':_0x3e71db=>{const _0xe32592=_0x2662ac;_0x248872({'lineStrokeType':i['ShapeLineTypeEnum'][_0xe32592(0x26a)],'width':_0x3e71db});}}),(0x0,r[_0x2662ac(0x29d)])(_0x2662ac(0x1c0),{'className':'univer-h-px\x20univer-bg-gray-200\x20dark:!univer-bg-gray-700'}),_0x1770de&&(0x0,r[_0x2662ac(0x29d)])(_0x2662ac(0x188),{'type':_0x2662ac(0x188),'disabled':_0x2add35,'onClick':()=>{_0x1770de(),_0xca5247(!0x1);},'className':_0x2662ac(0x15b),'children':_0x2ebd05==null?_0x2662ac(0x3c2):_0x2ebd05}),(0x0,r[_0x2662ac(0x29d)])(e[_0x2662ac(0x11b)],{'value':_0xa1493a,'onChange':_0x1af062=>{const _0x5bfb4a=_0x2662ac;_0x248872({'lineStrokeType':i[_0x5bfb4a(0x118)][_0x5bfb4a(0x26a)],'color':_0x1af062});}}),(0x0,r['jsx'])(U,{'label':_0x30392e['t'](_0x2662ac(0x183)),'value':_0x4bdb29,'min':0x0,'max':0x64,'step':0x5,'suffix':'%','disabled':_0x2add35||_0x2d4aea===i['ShapeLineTypeEnum'][_0x2662ac(0x165)],'onChange':_0x16dcfa=>{_0x248872({'opacity':(0x64-Math['max'](0x0,Math['min'](0x64,_0x16dcfa)))/0x64});}})]})}),'children':(0x0,r[_0x2662ac(0x29d)])(_0x2662ac(0x360),{'children':(0x0,r[_0x2662ac(0x29d)])(e['Tooltip'],{'title':_0x462de2,'placement':_0x2662ac(0x254),'children':(0x0,r[_0x2662ac(0x38f)])(_0x2662ac(0x188),{'type':'button','disabled':_0x2add35,'className':(0x0,e['clsx'])('univer-flex\x20univer-h-6\x20univer-min-w-7\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700',{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0xb323ee}),'children':[(0x0,r[_0x2662ac(0x29d)])(t[_0x2662ac(0x307)],{'className':_0x2662ac(0x3d0),'extend':{'colorChannel1':_0xa1493a}}),(0x0,r[_0x2662ac(0x29d)])(t[_0x2662ac(0x2c1)],{'className':(0x0,e['clsx'])(_0x2662ac(0x23e),{'univer-rotate-180':_0xb323ee})})]})})})});}function G(_0x1527a1){const _0x298baf=_0x55b3f9;var _0x524aee,_0x571abb;return(_0x524aee=(_0x571abb=_0x1527a1[_0x298baf(0x2ab)])==null?void 0x0:_0x571abb[_0x298baf(0x359)])==null?i[_0x298baf(0x1d7)][_0x298baf(0x258)]:_0x524aee;}function K(_0x57918d){const _0x3b7b6f=_0x55b3f9;switch(_0x57918d){case i[_0x3b7b6f(0x2b6)]['Radial']:return _0x3b7b6f(0x162);case i[_0x3b7b6f(0x2b6)][_0x3b7b6f(0x283)]:return _0x3b7b6f(0x2c7);case i[_0x3b7b6f(0x2b6)][_0x3b7b6f(0x390)]:return _0x3b7b6f(0x3ca);case i['ShapeGradientTypeEnum'][_0x3b7b6f(0xf2)]:default:return _0x3b7b6f(0x3b4);}}function q(_0x2942b3){const _0x3e08fe=_0x55b3f9;switch(_0x2942b3){case _0x3e08fe(0x162):return i['ShapeGradientTypeEnum'][_0x3e08fe(0x11f)];case _0x3e08fe(0x2c7):return i['ShapeGradientTypeEnum'][_0x3e08fe(0x283)];case'diamond':return i[_0x3e08fe(0x2b6)][_0x3e08fe(0x390)];default:return i[_0x3e08fe(0x2b6)][_0x3e08fe(0xf2)];}}function J(_0x7fc9e3,_0x2496b5){const _0x451770=_0x55b3f9;var _0x50ef7c;let _0x5e8ae8=_0x7fc9e3['fill'];return{'type':K(_0x5e8ae8==null?void 0x0:_0x5e8ae8['gradientType']),'angle':(_0x50ef7c=_0x5e8ae8==null?void 0x0:_0x5e8ae8[_0x451770(0x15a)])==null?0x0:_0x50ef7c,'stops':_0x5e8ae8!=null&&_0x5e8ae8[_0x451770(0x2e6)]&&_0x5e8ae8['gradientStops'][_0x451770(0x2e1)]>=0x2?_0x5e8ae8[_0x451770(0x2e6)][_0x451770(0x34d)](_0x57bcfd=>({'color':_0x57bcfd['color'],'offset':_0x57bcfd['position']*0x64,'opacity':_0x57bcfd[_0x451770(0x219)]})):[{'color':_0x2496b5,'offset':0x0},{'color':_0x451770(0x2d9),'offset':0x64}]};}function ee(_0xb6386){const _0x45aabb=_0x55b3f9;var _0x35dd11,_0x52f639,_0x5a8d94;let {shapeData:_0x50924e,disabled:_0x1a3949,onUpdateShapeData:_0x304e56}=_0xb6386,_0x4adc7b=(0x0,o[_0x45aabb(0x176)])(a['LocaleService']),_0x7608b5=(0x0,o[_0x45aabb(0x176)])(a['IContextService']),_0x59a94c=(0x0,o[_0x45aabb(0x176)])(s[_0x45aabb(0x185)]),_0x57dd16=(0x0,n[_0x45aabb(0x333)])(null),_0x10587c=_0x50924e[_0x45aabb(0x2ab)],_0x3258e6=(_0x35dd11=(_0x52f639=_0x10587c==null?void 0x0:_0x10587c[_0x45aabb(0x324)])==null?_0x10587c==null?void 0x0:_0x10587c[_0x45aabb(0x219)]:_0x52f639)==null?0x1:_0x35dd11,_0x506ca3=Math[_0x45aabb(0xfc)]((0x1-_0x3258e6)*0x64),_0x460bd7=_0x10587c!=null&&_0x10587c[_0x45aabb(0x350)]&&/^(?:data:|https?:)/['test'](_0x10587c[_0x45aabb(0x350)])?_0x10587c[_0x45aabb(0x350)]:void 0x0,_0x19df25=_0x56b185=>{const _0x5754e7=_0x45aabb;var _0x535be9;_0x304e56({'oldShapeData':{'fill':_0x10587c?{..._0x10587c}:void 0x0}},{'fill':{..._0x10587c,'fillType':i[_0x5754e7(0x1d7)]['PictureFill'],'imageFillMode':(_0x535be9=_0x10587c==null?void 0x0:_0x10587c[_0x5754e7(0x3a4)])==null?i[_0x5754e7(0x3a0)][_0x5754e7(0x2b8)]:_0x535be9,..._0x56b185}});};return(0x0,r[_0x45aabb(0x38f)])(_0x45aabb(0x1c0),{'className':_0x45aabb(0x180),'children':[(0x0,r[_0x45aabb(0x38f)])(_0x45aabb(0x1c0),{'className':_0x45aabb(0x29e),'children':[(0x0,r[_0x45aabb(0x29d)])(_0x45aabb(0x360),{'className':_0x45aabb(0x12e),'children':_0x4adc7b['t']('shape-editor-ui.fill.picture.source')}),(0x0,r[_0x45aabb(0x29d)])(_0x45aabb(0x3a2),{'ref':_0x57dd16,'type':_0x45aabb(0x25a),'accept':_0x45aabb(0x205),'className':_0x45aabb(0x11e),'onChange':async _0x1c83b7=>{const _0x155971=_0x45aabb;var _0x22e004;let _0x59854b=(_0x22e004=_0x1c83b7[_0x155971(0x1df)][_0x155971(0x32d)])==null?void 0x0:_0x22e004[0x0];if(!_0x59854b)return;_0x1c83b7['target']['value']='';let _0x121600=await _0x59a94c['saveImage'](_0x59854b);if(_0x121600==null)return;let {imageSourceType:_0x17a032,source:_0x5a2ba9,base64Cache:_0x33b896}=_0x121600,{image:_0x16e543}=await(0x0,s[_0x155971(0x2d5)])(_0x33b896||'');_0x59a94c[_0x155971(0x146)](_0x5a2ba9,_0x17a032,_0x16e543),_0x19df25({'fillImageSource':_0x5a2ba9,'fillImageSourceType':_0x17a032,'imageOpacity':_0x3258e6});}}),(0x0,r[_0x45aabb(0x29d)])('button',{'type':_0x45aabb(0x188),'disabled':_0x1a3949,'onClick':()=>{const _0x56e998=_0x45aabb;var _0x15b3d3;return(_0x15b3d3=_0x57dd16[_0x56e998(0x2d1)])==null?void 0x0:_0x15b3d3[_0x56e998(0x173)]();},'className':_0x45aabb(0x2ce),'children':_0x4adc7b['t']('shape-editor-ui.fill.picture.insert')})]}),_0x460bd7&&(0x0,r[_0x45aabb(0x29d)])(_0x45aabb(0x11a),{'src':_0x460bd7,'alt':'','className':_0x45aabb(0x2ee)}),(0x0,r[_0x45aabb(0x38f)])(_0x45aabb(0x1c0),{'className':_0x45aabb(0x29e),'children':[(0x0,r[_0x45aabb(0x29d)])('span',{'className':_0x45aabb(0x12e),'children':_0x4adc7b['t'](_0x45aabb(0x104))}),(0x0,r['jsx'])(_0x45aabb(0x1c0),{'className':_0x45aabb(0x31d),'children':(0x0,r['jsx'])(e[_0x45aabb(0x1fb)],{'className':_0x45aabb(0x35b),'value':_0x506ca3,'disabled':_0x1a3949,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x132f5e=>_0x132f5e+'%','parser':_0x48c0d1=>(_0x48c0d1==null?void 0x0:_0x48c0d1[_0x45aabb(0x272)]('%',''))||'','onChange':_0x17fdfd=>{const _0x1d2946=_0x45aabb;_0x19df25({'imageOpacity':(0x64-Math[_0x1d2946(0x23d)](0x0,Math[_0x1d2946(0x301)](0x64,_0x17fdfd==null?0x0:_0x17fdfd)))/0x64}),_0x7608b5[_0x1d2946(0x141)](a[_0x1d2946(0x2cb)],!0x1);},'onFocus':()=>_0x7608b5[_0x45aabb(0x141)](a[_0x45aabb(0x2cb)],!0x0),'onBlur':()=>_0x7608b5[_0x45aabb(0x141)](a[_0x45aabb(0x2cb)],!0x1)})})]}),(0x0,r[_0x45aabb(0x29d)])(e[_0x45aabb(0x1e4)],{'checked':(_0x5a8d94=_0x10587c==null?void 0x0:_0x10587c[_0x45aabb(0x213)])==null?!0x1:_0x5a8d94,'disabled':_0x1a3949,'onChange':_0x112c73=>{_0x19df25({'imageRotateWithShape':_0x112c73});},'children':(0x0,r[_0x45aabb(0x29d)])(_0x45aabb(0x360),{'className':_0x45aabb(0x33b),'children':_0x4adc7b['t'](_0x45aabb(0x192))})})]});}function te(_0x5e5eb9){const _0x448f75=_0x55b3f9;var _0x196f03,_0x3b980d;let {title:_0x4b1b11,shapeData:_0x18d385,disabled:_0x473cdf,onUpdateShapeData:_0x132c55}=_0x5e5eb9,_0x31b54b=(0x0,o[_0x448f75(0x176)])(a[_0x448f75(0x164)]),[_0x3092d4,_0x5874bc]=(0x0,n[_0x448f75(0x1ea)])(!0x1),{handleOpenChange:_0x2a7fce,markInternalInteraction:_0x49959e}=P(_0x5874bc),_0x4b689d=_0x18d385[_0x448f75(0x2ab)],_0x2dba96=G(_0x18d385),_0x28a5f5=(_0x196f03=_0x4b689d==null?void 0x0:_0x4b689d[_0x448f75(0x3c8)])==null?_0x448f75(0x2ef):_0x196f03,_0xae753b=_0x55616d=>{_0x132c55({'oldShapeData':{'fill':_0x4b689d?{..._0x4b689d}:void 0x0}},{'fill':_0x55616d});},_0x4e5b38=()=>{const _0x235c48=_0x448f75;let _0x404370=J(_0x18d385,_0x28a5f5);return{..._0x4b689d,'fillType':i[_0x235c48(0x1d7)][_0x235c48(0x1d9)],'color':_0x28a5f5,'gradientType':q(_0x404370['type']),'gradientAngle':_0x404370[_0x235c48(0x2d2)],'gradientStops':_0x404370[_0x235c48(0x2ec)][_0x235c48(0x34d)](_0x566a29=>({'position':_0x566a29['offset']/0x64,'color':_0x566a29[_0x235c48(0x3c8)],'opacity':_0x566a29['opacity']}))};};return(0x0,r[_0x448f75(0x29d)])(e[_0x448f75(0x14e)],{'disabled':_0x473cdf,'open':_0x3092d4,'onOpenChange':_0x2a7fce,'overlay':(0x0,r[_0x448f75(0x29d)])(_0x448f75(0x1c0),{'onPointerDownCapture':_0x332ee4=>{_0x49959e(),M(_0x332ee4);},'onMouseDownCapture':_0x2b3a11=>{_0x49959e(),M(_0x2b3a11);},'onPointerDown':N,'onMouseDown':N,'onClick':_0x9ad9ff=>_0x9ad9ff[_0x448f75(0x33a)](),'className':_0x448f75(0x207),'children':(0x0,r[_0x448f75(0x29d)])(m,{'compact':!0x0,'disabled':_0x473cdf,'value':_0x2dba96,'typeValues':A,'color':_0x28a5f5,'transparency':Math[_0x448f75(0xfc)]((0x1-((_0x3b980d=_0x4b689d==null?void 0x0:_0x4b689d[_0x448f75(0x219)])==null?0x1:_0x3b980d))*0x64),'gradientValue':J(_0x18d385,_0x28a5f5),'labels':{'noFill':_0x31b54b['t'](_0x448f75(0x22a)),'solidFill':_0x31b54b['t']('shape-editor-ui.fill.solidFill'),'gradientFill':_0x31b54b['t'](_0x448f75(0x343)),'pictureFill':_0x31b54b['t'](_0x448f75(0x292)),'color':_0x31b54b['t'](_0x448f75(0x119)),'transparency':_0x31b54b['t']('shape-editor-ui.fill.transparency')},'tabLabels':{'noFill':_0x31b54b['t'](_0x448f75(0x22a)),'solidFill':_0x31b54b['t'](_0x448f75(0x2cf)),'gradientFill':_0x31b54b['t'](_0x448f75(0x343)),'pictureFill':_0x31b54b['t'](_0x448f75(0x292))},'renderColorIcon':_0x380d65=>(0x0,r['jsx'])(t[_0x448f75(0x10b)],{'className':_0x448f75(0x122),'extend':{'colorChannel1':_0x380d65}}),'onChange':_0x283d0e=>{const _0x5ddff2=_0x448f75;if(_0x283d0e===i[_0x5ddff2(0x1d7)][_0x5ddff2(0x258)])_0xae753b({..._0x4b689d,'fillType':i[_0x5ddff2(0x1d7)][_0x5ddff2(0x258)]});else{if(_0x283d0e===i[_0x5ddff2(0x1d7)]['SolidFill']){var _0x576340;_0xae753b({..._0x4b689d,'fillType':i[_0x5ddff2(0x1d7)][_0x5ddff2(0x2f1)],'color':_0x28a5f5,'opacity':(_0x576340=_0x4b689d==null?void 0x0:_0x4b689d[_0x5ddff2(0x219)])==null?0x1:_0x576340});}else{if(_0x283d0e===i[_0x5ddff2(0x1d7)][_0x5ddff2(0x1d9)])_0xae753b(_0x4e5b38());else{if(_0x283d0e===i[_0x5ddff2(0x1d7)]['PictureFill']){var _0x17767e,_0x37d080;_0xae753b({..._0x4b689d,'fillType':i[_0x5ddff2(0x1d7)][_0x5ddff2(0x371)],'color':_0x28a5f5,'imageOpacity':(_0x17767e=_0x4b689d==null?void 0x0:_0x4b689d[_0x5ddff2(0x324)])==null?0x1:_0x17767e,'imageFillMode':(_0x37d080=_0x4b689d==null?void 0x0:_0x4b689d['imageFillMode'])==null?i[_0x5ddff2(0x3a0)]['Stretch']:_0x37d080});}}}}},'onColorChange':_0x3c601e=>{const _0x41332a=_0x448f75;var _0x3edc94;_0xae753b({..._0x4b689d,'fillType':i['ShapeFillEnum'][_0x41332a(0x2f1)],'color':_0x3c601e,'opacity':(_0x3edc94=_0x4b689d==null?void 0x0:_0x4b689d['opacity'])==null?0x1:_0x3edc94});},'onTransparencyChange':_0x35da84=>{const _0x2c5f0a=_0x448f75;_0xae753b({..._0x4b689d,'fillType':i[_0x2c5f0a(0x1d7)]['SolidFill'],'color':_0x28a5f5,'opacity':(0x64-Math[_0x2c5f0a(0x23d)](0x0,Math[_0x2c5f0a(0x301)](0x64,_0x35da84)))/0x64});},'onGradientChange':_0x4b98ab=>{const _0x186546=_0x448f75;_0xae753b({..._0x4b689d,'fillType':i[_0x186546(0x1d7)][_0x186546(0x1d9)],'color':_0x28a5f5,'gradientType':q(_0x4b98ab[_0x186546(0x1fd)]),'gradientAngle':_0x4b98ab[_0x186546(0x2d2)],'gradientStops':_0x4b98ab['stops']['map'](_0x21b390=>({'position':_0x21b390[_0x186546(0x3a5)]/0x64,'color':_0x21b390[_0x186546(0x3c8)],'opacity':_0x21b390[_0x186546(0x219)]}))});},'pictureFillEditor':(0x0,r[_0x448f75(0x29d)])(ee,{'shapeData':_0x18d385,'disabled':_0x473cdf,'onUpdateShapeData':_0x132c55})})}),'children':(0x0,r[_0x448f75(0x29d)])('span',{'children':(0x0,r[_0x448f75(0x29d)])(e[_0x448f75(0x345)],{'title':_0x4b1b11,'placement':'bottom','children':(0x0,r[_0x448f75(0x38f)])(_0x448f75(0x188),{'type':'button','disabled':_0x473cdf,'className':(0x0,e[_0x448f75(0x27b)])('univer-flex\x20univer-h-6\x20univer-min-w-7\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700',{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x3092d4}),'children':[(0x0,r[_0x448f75(0x29d)])(t[_0x448f75(0x10b)],{'className':_0x448f75(0x3d0),'extend':{'colorChannel1':_0x2dba96===i[_0x448f75(0x1d7)][_0x448f75(0x258)]?_0x448f75(0x33c):_0x28a5f5}}),(0x0,r[_0x448f75(0x29d)])(t['MoreDownIcon'],{'className':(0x0,e['clsx'])(_0x448f75(0x23e),{'univer-rotate-180':_0x3092d4})})]})})})});}function ne(_0xc05363){const _0x22c666=_0x55b3f9;switch(_0xc05363==null?void 0x0:_0xc05363[_0x22c666(0x1fd)]){case'none':return i[_0x22c666(0x1d7)][_0x22c666(0x258)];case _0x22c666(0x178):return i[_0x22c666(0x1d7)][_0x22c666(0x1d9)];case _0x22c666(0x1bc):return i[_0x22c666(0x1d7)][_0x22c666(0x371)];default:return i[_0x22c666(0x1d7)]['SolidFill'];}}function Y(_0x23a247,_0xe85e05){const _0x4a78ba=_0x55b3f9;var _0x412642,_0x442231,_0x365f98,_0x5d91fe,_0x376f1a;return{'type':(_0x412642=_0x23a247==null||(_0x442231=_0x23a247[_0x4a78ba(0x178)])==null?void 0x0:_0x442231[_0x4a78ba(0x1fd)])==null?_0x4a78ba(0x3b4):_0x412642,'angle':(_0x365f98=_0x23a247==null||(_0x5d91fe=_0x23a247[_0x4a78ba(0x178)])==null?void 0x0:_0x5d91fe['angle'])==null?0x0:_0x365f98,'stops':!(_0x23a247==null||(_0x376f1a=_0x23a247[_0x4a78ba(0x178)])==null)&&_0x376f1a[_0x4a78ba(0x2ec)]&&_0x23a247[_0x4a78ba(0x178)][_0x4a78ba(0x2ec)][_0x4a78ba(0x2e1)]>=0x2?_0x23a247[_0x4a78ba(0x178)]['stops'][_0x4a78ba(0x34d)](_0x1fd9c3=>({'color':_0x1fd9c3[_0x4a78ba(0x3c8)],'offset':_0x1fd9c3[_0x4a78ba(0x3a5)],'opacity':_0x1fd9c3[_0x4a78ba(0x219)]})):[{'color':_0xe85e05,'offset':0x0},{'color':_0x4a78ba(0x3ad),'offset':0x64}]};}function X(_0x110118,_0x133987){const _0x3f014c=_0x55b3f9;var _0x443122,_0x29ffed,_0x5dfee5;return(_0x443122=_0x110118[_0x3f014c(0x33d)])==null?{'type':'solid','color':(_0x29ffed=(_0x5dfee5=_0x110118['cl'])==null?void 0x0:_0x5dfee5[_0x3f014c(0xf1)])==null?_0x133987:_0x29ffed,'opacity':0x1}:_0x443122;}function re(_0x5e547e,_0x154085){const _0x284276=_0x55b3f9;var _0x16bb46,_0x3a2942,_0x5773f7;return(_0x16bb46=(_0x3a2942=_0x5e547e['color'])==null?(_0x5773f7=_0x5e547e[_0x284276(0x178)])==null||(_0x5773f7=_0x5773f7[_0x284276(0x2ec)])==null||(_0x5773f7=_0x5773f7[0x0])==null?void 0x0:_0x5773f7[_0x284276(0x3c8)]:_0x3a2942)==null?_0x154085:_0x16bb46;}function ie(_0xc80f11){const _0x2df777=_0x55b3f9;var _0x1f911f,_0x3075f7,_0x8f46ef,_0x2d6e56;let {fill:_0x3bfd56,disabled:_0x4ffc27,onChange:_0x2805bb}=_0xc80f11,_0x5cc77f=(0x0,o[_0x2df777(0x176)])(a[_0x2df777(0x164)]),_0x2e07b9=(0x0,o[_0x2df777(0x176)])(a['IContextService']),_0x3305ab=(0x0,o[_0x2df777(0x176)])(s[_0x2df777(0x185)]),_0x414eba=(0x0,n['useRef'])(null),_0x12349b=(_0x1f911f=(_0x3075f7=(_0x8f46ef=_0x3bfd56[_0x2df777(0x1bc)])==null?void 0x0:_0x8f46ef[_0x2df777(0x219)])==null?_0x3bfd56[_0x2df777(0x219)]:_0x3075f7)==null?0x1:_0x1f911f,_0x299638=Math[_0x2df777(0xfc)]((0x1-_0x12349b)*0x64),_0x300c7d=(_0x2d6e56=_0x3bfd56[_0x2df777(0x1bc)])!=null&&_0x2d6e56[_0x2df777(0x378)]&&/^(?:data:|https?:)/[_0x2df777(0x21b)](_0x3bfd56[_0x2df777(0x1bc)][_0x2df777(0x378)])?_0x3bfd56[_0x2df777(0x1bc)][_0x2df777(0x378)]:void 0x0,_0xce7119=_0x188fcc=>{const _0x559f9d=_0x2df777;var _0x22a7a9,_0x3f035d;_0x2805bb({..._0x3bfd56,'type':_0x559f9d(0x1bc),'picture':{..._0x3bfd56[_0x559f9d(0x1bc)],'mode':(_0x22a7a9=(_0x3f035d=_0x3bfd56[_0x559f9d(0x1bc)])==null?void 0x0:_0x3f035d[_0x559f9d(0x30a)])==null?'stretch':_0x22a7a9,..._0x188fcc}});};return(0x0,r['jsxs'])('div',{'className':_0x2df777(0x180),'children':[(0x0,r[_0x2df777(0x38f)])(_0x2df777(0x1c0),{'className':_0x2df777(0x29e),'children':[(0x0,r[_0x2df777(0x29d)])(_0x2df777(0x360),{'className':_0x2df777(0x12e),'children':_0x5cc77f['t'](_0x2df777(0x32f))}),(0x0,r[_0x2df777(0x29d)])(_0x2df777(0x3a2),{'ref':_0x414eba,'type':_0x2df777(0x25a),'accept':_0x2df777(0x205),'className':'univer-hidden','onChange':async _0xa9598a=>{const _0x1e4adc=_0x2df777;var _0x1363a5;let _0x376d59=(_0x1363a5=_0xa9598a[_0x1e4adc(0x1df)][_0x1e4adc(0x32d)])==null?void 0x0:_0x1363a5[0x0];if(!_0x376d59)return;_0xa9598a[_0x1e4adc(0x1df)][_0x1e4adc(0x250)]='';let _0x29228a=await _0x3305ab[_0x1e4adc(0x196)](_0x376d59);if(_0x29228a==null)return;let {imageSourceType:_0x5b576a,source:_0x585e99,base64Cache:_0x54a170}=_0x29228a;_0xce7119({'source':_0x54a170||_0x585e99,'sourceType':_0x5b576a,'opacity':_0x12349b});}}),(0x0,r[_0x2df777(0x29d)])(_0x2df777(0x188),{'type':_0x2df777(0x188),'disabled':_0x4ffc27,'onClick':()=>{const _0xe592b1=_0x2df777;var _0x1fd641;return(_0x1fd641=_0x414eba[_0xe592b1(0x2d1)])==null?void 0x0:_0x1fd641[_0xe592b1(0x173)]();},'className':_0x2df777(0x2ce),'children':_0x5cc77f['t'](_0x2df777(0x1ad))})]}),_0x300c7d&&(0x0,r[_0x2df777(0x29d)])(_0x2df777(0x11a),{'src':_0x300c7d,'alt':'','className':'univer-h-14\x20univer-w-full\x20univer-rounded\x20univer-object-cover'}),(0x0,r['jsxs'])(_0x2df777(0x1c0),{'className':_0x2df777(0x29e),'children':[(0x0,r[_0x2df777(0x29d)])(_0x2df777(0x360),{'className':_0x2df777(0x12e),'children':_0x5cc77f['t'](_0x2df777(0x104))}),(0x0,r['jsx'])(_0x2df777(0x1c0),{'className':'univer-w-20','children':(0x0,r[_0x2df777(0x29d)])(e['InputNumber'],{'className':'univer-w-full','value':_0x299638,'disabled':_0x4ffc27,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x2c8c86=>_0x2c8c86+'%','parser':_0x3273a1=>(_0x3273a1==null?void 0x0:_0x3273a1[_0x2df777(0x272)]('%',''))||'','onChange':_0x3b4a43=>{const _0x5a1dbe=_0x2df777;_0xce7119({'opacity':(0x64-Math[_0x5a1dbe(0x23d)](0x0,Math[_0x5a1dbe(0x301)](0x64,_0x3b4a43==null?0x0:_0x3b4a43)))/0x64}),_0x2e07b9[_0x5a1dbe(0x141)](a[_0x5a1dbe(0x2cb)],!0x1);},'onFocus':()=>_0x2e07b9[_0x2df777(0x141)](a[_0x2df777(0x2cb)],!0x0),'onBlur':()=>_0x2e07b9['setContextValue'](a[_0x2df777(0x2cb)],!0x1)})})]})]});}function Z(_0x28d34d){const _0x12d813=_0x55b3f9;var _0x5ccabc;let {title:_0x45784c,textStyle:_0x2ea87f,fallbackColor:_0x384550,onChange:_0x2c31ec}=_0x28d34d,_0x307ad5=(0x0,o['useDependency'])(a['LocaleService']),[_0x517dc5,_0x168220]=(0x0,n[_0x12d813(0x1ea)])(!0x1),{handleOpenChange:_0x37ea25,markInternalInteraction:_0x45f043}=P(_0x168220),_0x37d050=X(_0x2ea87f,_0x384550),_0x4c8800=ne(_0x37d050),_0x3ee594=re(_0x37d050,_0x384550),_0x46482c=_0x24af5f=>{const _0x4cb710=_0x12d813;_0x2c31ec({'cl':{'rgb':_0x24af5f[_0x4cb710(0x1fd)]===_0x4cb710(0x39c)?_0x4cb710(0x24a):re(_0x24af5f,_0x384550)},'textFill':_0x24af5f});},_0x2eff27=()=>{const _0x1c08e5=_0x12d813;let _0x102842=Y(_0x37d050,_0x3ee594);return{..._0x37d050,'type':_0x1c08e5(0x178),'gradient':{'type':_0x102842['type'],'angle':_0x102842[_0x1c08e5(0x2d2)],'stops':_0x102842['stops'][_0x1c08e5(0x34d)](_0x42d0d4=>({'offset':_0x42d0d4[_0x1c08e5(0x3a5)],'color':_0x42d0d4['color'],'opacity':_0x42d0d4[_0x1c08e5(0x219)]}))}};};return(0x0,r[_0x12d813(0x29d)])(z,{'title':_0x45784c,'open':_0x517dc5,'icon':(0x0,r['jsx'])(t['FontColorDoubleIcon'],{'className':'univer-text-xl','extend':{'colorChannel1':_0x3ee594}}),'onApply':()=>{const _0x1f8d96=_0x12d813;var _0x4dcdcf;return _0x46482c({..._0x37d050,'type':_0x1f8d96(0x17f),'color':_0x3ee594,'opacity':(_0x4dcdcf=_0x37d050[_0x1f8d96(0x219)])==null?0x1:_0x4dcdcf});},'onOpenChange':_0x37ea25,'overlay':(0x0,r[_0x12d813(0x29d)])(_0x12d813(0x1c0),{'onPointerDownCapture':_0x28472f=>{_0x45f043(),M(_0x28472f);},'onMouseDownCapture':_0x326d12=>{_0x45f043(),M(_0x326d12);},'onPointerDown':N,'onMouseDown':N,'onClick':_0x5e72c0=>_0x5e72c0[_0x12d813(0x33a)](),'className':'univer-w-[260px]\x20univer-rounded-lg\x20univer-bg-white\x20univer-p-3\x20univer-shadow-lg\x20dark:!univer-bg-gray-900','children':(0x0,r[_0x12d813(0x29d)])(m,{'compact':!0x0,'value':_0x4c8800,'typeValues':A,'color':_0x3ee594,'transparency':Math['round']((0x1-((_0x5ccabc=_0x37d050[_0x12d813(0x219)])==null?0x1:_0x5ccabc))*0x64),'gradientValue':Y(_0x37d050,_0x3ee594),'labels':{'noFill':_0x307ad5['t'](_0x12d813(0x22a)),'solidFill':_0x307ad5['t'](_0x12d813(0x2cf)),'gradientFill':_0x307ad5['t'](_0x12d813(0x343)),'pictureFill':_0x307ad5['t'](_0x12d813(0x292)),'color':_0x307ad5['t'](_0x12d813(0x119)),'transparency':_0x307ad5['t'](_0x12d813(0x104))},'tabLabels':{'noFill':_0x307ad5['t'](_0x12d813(0x22a)),'solidFill':_0x307ad5['t']('shape-editor-ui.fill.solidFill'),'gradientFill':_0x307ad5['t']('shape-editor-ui.fill.gradientFill'),'pictureFill':_0x307ad5['t']('shape-editor-ui.fill.pictureFill')},'keepColorPickerOpenOnChange':!0x0,'onChange':_0x126d00=>{const _0x4fdf0b=_0x12d813;if(_0x126d00===i['ShapeFillEnum']['NoFill'])_0x46482c({..._0x37d050,'type':_0x4fdf0b(0x39c)});else{if(_0x126d00===i[_0x4fdf0b(0x1d7)][_0x4fdf0b(0x2f1)]){var _0x1dc9fb;_0x46482c({..._0x37d050,'type':_0x4fdf0b(0x17f),'color':_0x3ee594,'opacity':(_0x1dc9fb=_0x37d050['opacity'])==null?0x1:_0x1dc9fb});}else{if(_0x126d00===i[_0x4fdf0b(0x1d7)][_0x4fdf0b(0x1d9)])_0x46482c(_0x2eff27());else{if(_0x126d00===i[_0x4fdf0b(0x1d7)][_0x4fdf0b(0x371)]){var _0x33d824,_0x2d4fad,_0x206a2e,_0x273842;_0x46482c({..._0x37d050,'type':'picture','color':_0x3ee594,'picture':{..._0x37d050[_0x4fdf0b(0x1bc)],'opacity':(_0x33d824=(_0x2d4fad=_0x37d050[_0x4fdf0b(0x1bc)])==null?void 0x0:_0x2d4fad[_0x4fdf0b(0x219)])==null?0x1:_0x33d824,'mode':(_0x206a2e=(_0x273842=_0x37d050[_0x4fdf0b(0x1bc)])==null?void 0x0:_0x273842[_0x4fdf0b(0x30a)])==null?_0x4fdf0b(0x38b):_0x206a2e}});}}}}},'onColorChange':_0xb6887b=>{var _0x5cf787;_0x46482c({..._0x37d050,'type':'solid','color':_0xb6887b,'opacity':(_0x5cf787=_0x37d050['opacity'])==null?0x1:_0x5cf787});},'onTransparencyChange':_0x244f59=>{const _0x29604a=_0x12d813;_0x46482c({..._0x37d050,'type':_0x29604a(0x17f),'color':_0x3ee594,'opacity':(0x64-Math['max'](0x0,Math[_0x29604a(0x301)](0x64,_0x244f59)))/0x64});},'onGradientChange':_0x10eabd=>{const _0xcaf90a=_0x12d813;_0x46482c({..._0x37d050,'type':'gradient','gradient':{'type':_0x10eabd[_0xcaf90a(0x1fd)],'angle':_0x10eabd['angle'],'stops':_0x10eabd[_0xcaf90a(0x2ec)][_0xcaf90a(0x34d)](_0x1f9938=>({'offset':_0x1f9938[_0xcaf90a(0x3a5)],'color':_0x1f9938['color'],'opacity':_0x1f9938[_0xcaf90a(0x219)]}))}});},'pictureFillEditor':(0x0,r[_0x12d813(0x29d)])(ie,{'fill':_0x37d050,'onChange':_0x46482c})})})});}function Q(_0x2f45d3){const _0x218ef6=_0x55b3f9;let {title:_0x410c77,color:_0x2c7b9f,resetLabel:_0x4bcd33,onApply:_0x53d49e,onReset:_0x3d3cf1,onChange:_0x431fd9}=_0x2f45d3,[_0x3dc3c1,_0x1121c7]=(0x0,n[_0x218ef6(0x1ea)])(!0x1),{handleOpenChange:_0xc0c84f,markInternalInteraction:_0x579aec}=P(_0x1121c7);return(0x0,r['jsx'])(z,{'title':_0x410c77,'open':_0x3dc3c1,'icon':(0x0,r['jsx'])(t[_0x218ef6(0x397)],{'className':_0x218ef6(0x3d0),'extend':{'colorChannel1':_0x2c7b9f}}),'onApply':_0x53d49e,'onOpenChange':_0xc0c84f,'overlay':(0x0,r[_0x218ef6(0x38f)])(_0x218ef6(0x1c0),{'onPointerDownCapture':_0x464464=>{_0x579aec(),M(_0x464464);},'onMouseDownCapture':_0x58db05=>{_0x579aec(),M(_0x58db05);},'onPointerDown':N,'onMouseDown':N,'onClick':_0x81d020=>_0x81d020[_0x218ef6(0x33a)](),'className':_0x218ef6(0x3ab),'children':[_0x3d3cf1&&(0x0,r['jsx'])(_0x218ef6(0x188),{'type':_0x218ef6(0x188),'onClick':()=>{_0x3d3cf1(),_0x1121c7(!0x1);},'className':_0x218ef6(0x361),'children':_0x4bcd33==null?_0x218ef6(0x3c2):_0x4bcd33}),(0x0,r[_0x218ef6(0x29d)])(e[_0x218ef6(0x11b)],{'value':_0x2c7b9f,'onChange':_0x16dca9=>{_0x431fd9(_0x16dca9),_0x1121c7(!0x1);}})]})});}function ae(_0x51c5a7){const _0x47f2be=_0x55b3f9;let {title:_0x478196,textStyle:_0x48294e,horizontalAlign:_0x6f4ab9,verticalAlign:_0x150d60,horizontalAlignOptions:_0x385d76,verticalAlignOptions:_0x32d9b6,onUpdateText:_0x536aa8}=_0x51c5a7,_0x16e123=(0x0,o[_0x47f2be(0x176)])(a[_0x47f2be(0x164)]),[_0x5a6979,_0x5f1e6a]=(0x0,n['useState'])(!0x1),{handleOpenChange:_0x2d8104,markInternalInteraction:_0x3ec09c}=P(_0x5f1e6a),_0x491572=[{'key':_0x47f2be(0x229),'title':_0x16e123['t'](_0x47f2be(0x228)),'active':_0x48294e[_0x47f2be(0x2c5)],'icon':(0x0,r[_0x47f2be(0x29d)])(t['BoldIcon'],{}),'onClick':()=>_0x536aa8({'textStyle':{'bl':_0x48294e['isBold']?a[_0x47f2be(0x317)]['FALSE']:a[_0x47f2be(0x317)][_0x47f2be(0x1a0)]}})},{'key':_0x47f2be(0x27a),'title':_0x16e123['t']('shape-editor-ui.toolbar.italic'),'active':_0x48294e[_0x47f2be(0x220)],'icon':(0x0,r[_0x47f2be(0x29d)])(t[_0x47f2be(0x1b3)],{}),'onClick':()=>_0x536aa8({'textStyle':{'it':_0x48294e[_0x47f2be(0x220)]?a['BooleanNumber'][_0x47f2be(0x177)]:a['BooleanNumber'][_0x47f2be(0x1a0)]}})},{'key':_0x47f2be(0x313),'title':_0x16e123['t'](_0x47f2be(0x319)),'active':_0x48294e[_0x47f2be(0x120)],'icon':(0x0,r['jsx'])(t['UnderlineIcon'],{}),'onClick':()=>_0x536aa8({'textStyle':{'ul':{'s':_0x48294e['isUnderline']?a[_0x47f2be(0x317)][_0x47f2be(0x177)]:a[_0x47f2be(0x317)]['TRUE']}}})},{'key':_0x47f2be(0x399),'title':_0x16e123['t']('shape-editor-ui.toolbar.strikethrough'),'active':_0x48294e[_0x47f2be(0x19a)],'icon':(0x0,r[_0x47f2be(0x29d)])(t[_0x47f2be(0x28f)],{}),'onClick':()=>_0x536aa8({'textStyle':{'st':{'s':_0x48294e[_0x47f2be(0x19a)]?a[_0x47f2be(0x317)][_0x47f2be(0x177)]:a[_0x47f2be(0x317)][_0x47f2be(0x1a0)]}}})}],_0x1e244d=_0x25d727=>(0x0,r[_0x47f2be(0x29d)])(e[_0x47f2be(0x345)],{'title':_0x25d727['title'],'placement':'top','children':(0x0,r['jsx'])('button',{'type':_0x47f2be(0x188),'onClick':_0x25d727[_0x47f2be(0x15f)],'className':(0x0,e[_0x47f2be(0x27b)])(_0x47f2be(0x1fe),{'univer-border-primary-600\x20univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x25d727[_0x47f2be(0x246)]}),'children':_0x25d727[_0x47f2be(0x3ae)]})},String(_0x25d727[_0x47f2be(0x200)]));return(0x0,r['jsx'])(e[_0x47f2be(0x14e)],{'open':_0x5a6979,'onOpenChange':_0x2d8104,'overlay':(0x0,r[_0x47f2be(0x29d)])(_0x47f2be(0x1c0),{'onPointerDownCapture':_0x3dca3e=>{_0x3ec09c(),M(_0x3dca3e);},'onMouseDownCapture':_0xbffc28=>{_0x3ec09c(),M(_0xbffc28);},'onPointerDown':N,'onMouseDown':N,'onClick':_0x3379fc=>_0x3379fc[_0x47f2be(0x33a)](),'className':_0x47f2be(0x37a),'children':(0x0,r[_0x47f2be(0x38f)])('div',{'className':'univer-flex\x20univer-flex-col\x20univer-gap-1.5','children':[(0x0,r[_0x47f2be(0x29d)])(_0x47f2be(0x1c0),{'className':_0x47f2be(0x1bb),'children':_0x491572[_0x47f2be(0x34d)](_0x1e244d)}),(0x0,r[_0x47f2be(0x29d)])('div',{'className':_0x47f2be(0x1a7)}),(0x0,r['jsx'])('div',{'data-u-comp':_0x47f2be(0x2e2),'className':_0x47f2be(0x1bb),'children':_0x385d76[_0x47f2be(0x34d)](_0x2b7e4b=>_0x1e244d({'key':_0x2b7e4b[_0x47f2be(0x250)],'title':_0x2b7e4b[_0x47f2be(0x1db)],'active':_0x2b7e4b[_0x47f2be(0x250)]===_0x6f4ab9,'icon':_0x2b7e4b[_0x47f2be(0x3ae)],'onClick':()=>_0x536aa8({'horizontalAlign':_0x2b7e4b[_0x47f2be(0x250)]})}))}),(0x0,r[_0x47f2be(0x29d)])(_0x47f2be(0x1c0),{'data-u-comp':_0x47f2be(0x2a8),'className':_0x47f2be(0x1bb),'children':_0x32d9b6[_0x47f2be(0x34d)](_0x2d7df9=>_0x1e244d({'key':_0x2d7df9[_0x47f2be(0x250)],'title':_0x2d7df9[_0x47f2be(0x1db)],'active':_0x2d7df9[_0x47f2be(0x250)]===_0x150d60,'icon':_0x2d7df9['icon'],'onClick':()=>_0x536aa8({'verticalAlign':_0x2d7df9['value']})}))})]})}),'children':(0x0,r[_0x47f2be(0x29d)])(_0x47f2be(0x360),{'children':(0x0,r[_0x47f2be(0x29d)])(e['Tooltip'],{'title':_0x478196,'placement':_0x47f2be(0x254),'children':(0x0,r[_0x47f2be(0x38f)])('button',{'type':_0x47f2be(0x188),'className':(0x0,e[_0x47f2be(0x27b)])(_0x47f2be(0x3a6),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x5a6979}),'children':[(0x0,r[_0x47f2be(0x29d)])(t['TypographyIcon'],{'className':_0x47f2be(0x25d)}),(0x0,r['jsx'])(t[_0x47f2be(0x2c1)],{'className':(0x0,e[_0x47f2be(0x27b)])(_0x47f2be(0x23e),{'univer-rotate-180':_0x5a6979})})]})})})});}function oe(_0x370b1e){const _0x162442=_0x55b3f9;var _0x39df4f;let [_0x9dd996,_0x41d59e]=(0x0,n['useState'])(!0x1),_0x18cbee=(_0x39df4f=_0x370b1e['options']['find'](_0x3c6f6e=>_0x3c6f6e['value']===_0x370b1e[_0x162442(0x250)]))==null?_0x370b1e[_0x162442(0x2b4)][0x0]:_0x39df4f;return _0x18cbee?(0x0,r[_0x162442(0x29d)])(e[_0x162442(0x14e)],{'open':_0x9dd996,'onOpenChange':_0x41d59e,'overlay':(0x0,r['jsx'])(_0x162442(0x1c0),{'className':_0x162442(0x1bf),'children':_0x370b1e[_0x162442(0x2b4)]['map'](_0x8728c0=>(0x0,r[_0x162442(0x38f)])(_0x162442(0x188),{'type':'button','onClick':()=>{const _0x2cceb9=_0x162442;_0x370b1e[_0x2cceb9(0x11d)](_0x8728c0[_0x2cceb9(0x250)]),_0x41d59e(!0x1);},'className':(0x0,e[_0x162442(0x27b)])(_0x162442(0x3b1),{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x8728c0[_0x162442(0x250)]===_0x370b1e[_0x162442(0x250)]}),'children':[(0x0,r['jsx'])('span',{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','children':_0x8728c0['icon']}),(0x0,r['jsx'])(_0x162442(0x360),{'className':_0x162442(0x161),'children':_0x8728c0[_0x162442(0x1db)]})]},_0x8728c0[_0x162442(0x250)]))}),'children':(0x0,r[_0x162442(0x29d)])('span',{'children':(0x0,r[_0x162442(0x29d)])(e[_0x162442(0x345)],{'title':_0x370b1e['title'],'placement':_0x162442(0x254),'children':(0x0,r[_0x162442(0x38f)])(_0x162442(0x188),{'type':_0x162442(0x188),'className':(0x0,e['clsx'])(_0x162442(0x375),{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x9dd996}),'children':[_0x18cbee[_0x162442(0x3ae)],(0x0,r[_0x162442(0x29d)])(t['MoreDownIcon'],{'className':_0x162442(0x33b)})]})})})}):null;}function se(_0x51ac68){const _0x3a4a49=_0x55b3f9;let {action:_0x3904aa}=_0x51ac68,_0x3e0d61=_0x3904aa['type']===_0x3a4a49(0x249)?t['GroupIcon']:t['UngroupIcon'];return(0x0,r[_0x3a4a49(0x29d)])(R,{'title':_0x3904aa[_0x3a4a49(0x1db)],'onClick':_0x3904aa[_0x3a4a49(0x15f)],'children':(0x0,r[_0x3a4a49(0x29d)])(_0x3e0d61,{})});}function ce(_0x1c9fb7){const _0xe8443=_0x55b3f9;return(0x0,r[_0xe8443(0x38f)])(_0xe8443(0x188),{'type':_0xe8443(0x188),'onClick':_0x1c9fb7[_0xe8443(0x15f)],'className':_0xe8443(0x3b1),'children':[(0x0,r[_0xe8443(0x29d)])(_0xe8443(0x360),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-base','children':_0x1c9fb7[_0xe8443(0x3ae)]}),(0x0,r[_0xe8443(0x29d)])(_0xe8443(0x360),{'className':_0xe8443(0x161),'children':_0x1c9fb7[_0xe8443(0x1db)]})]});}function le(_0x87c68){const _0x5a9146=_0x55b3f9;let {actions:_0x59e2f3}=_0x87c68,[_0x1f274b,_0x1e5ebd]=(0x0,n[_0x5a9146(0x1ea)])(!0x1),{handleOpenChange:_0x1197a1,markInternalInteraction:_0x3b722e}=P(_0x1e5ebd);return(0x0,r[_0x5a9146(0x29d)])(e[_0x5a9146(0x14e)],{'open':_0x1f274b,'onOpenChange':_0x1197a1,'overlay':(0x0,r[_0x5a9146(0x38f)])(_0x5a9146(0x1c0),{'onPointerDownCapture':_0x1b0297=>{_0x3b722e(),M(_0x1b0297);},'onMouseDownCapture':_0x3b5992=>{_0x3b722e(),M(_0x3b5992);},'onPointerDown':N,'onMouseDown':N,'onClick':_0x4b5d5a=>_0x4b5d5a[_0x5a9146(0x33a)](),'className':'univer-w-32\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-1\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','children':[(0x0,r[_0x5a9146(0x29d)])(ce,{'label':_0x59e2f3[_0x5a9146(0x305)],'icon':(0x0,r[_0x5a9146(0x29d)])(t[_0x5a9146(0x277)],{}),'onClick':_0x59e2f3[_0x5a9146(0x2a3)]}),(0x0,r[_0x5a9146(0x29d)])(ce,{'label':_0x59e2f3[_0x5a9146(0x12a)],'icon':(0x0,r['jsx'])(t[_0x5a9146(0x1d1)],{}),'onClick':_0x59e2f3['onFront']}),(0x0,r[_0x5a9146(0x29d)])(_0x5a9146(0x1c0),{'className':_0x5a9146(0x20f)}),(0x0,r[_0x5a9146(0x29d)])(ce,{'label':_0x59e2f3[_0x5a9146(0x25b)],'icon':(0x0,r[_0x5a9146(0x29d)])(t['MoveDownIcon'],{}),'onClick':_0x59e2f3[_0x5a9146(0x187)]}),(0x0,r[_0x5a9146(0x29d)])(ce,{'label':_0x59e2f3[_0x5a9146(0x126)],'icon':(0x0,r[_0x5a9146(0x29d)])(t[_0x5a9146(0x310)],{}),'onClick':_0x59e2f3[_0x5a9146(0x125)]})]}),'children':(0x0,r[_0x5a9146(0x29d)])('span',{'children':(0x0,r['jsx'])(e[_0x5a9146(0x345)],{'title':_0x59e2f3['title'],'placement':_0x5a9146(0x254),'children':(0x0,r[_0x5a9146(0x38f)])('button',{'type':_0x5a9146(0x188),'className':(0x0,e[_0x5a9146(0x27b)])(_0x5a9146(0x375),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x1f274b}),'children':[(0x0,r[_0x5a9146(0x29d)])(t['TopmostIcon'],{}),(0x0,r[_0x5a9146(0x29d)])(t['MoreDownIcon'],{'className':(0x0,e['clsx'])(_0x5a9146(0x23e),{'univer-rotate-180':_0x1f274b})})]})})})});}function ue(_0x474369){const _0x2aa734=_0x55b3f9;var _0x20e929,_0xa1ec41,_0x17ba08,_0x23e11a,_0x312e1e,_0x152945,_0x511e2c,_0x1e2307,_0x4bb5c3,_0x5bcde7,_0x4f4405,_0x1bc538;let {shapeData:_0x4945ed,shapeType:_0x572d9e,textStyle:_0x4b76d1,textModel:_0x2d28e9,fontOptions:_0x17ab38,wrappingStyle:_0x4675bf,wrappingStyleOptions:_0x382478,enableShapeStrokeReset:_0x3cc6e1=!0x1,enableTextBackgroundReset:_0x516581=!0x1,deferUntilCollapsedStateLoaded:_0x20dbce=!0x1,onUpdateShapeData:_0x275785,onUpdateText:_0x201882,onUpdateWrappingStyle:_0x190346,groupAction:_0x3340d5,layerActions:_0xfbbe3f,onOpenPanel:_0x36698b,onDelete:_0x399a0d}=_0x474369,_0x444078=(0x0,o['useDependency'])(a[_0x2aa734(0x164)]),_0x22185c=(0x0,o[_0x2aa734(0x176)])(a[_0x2aa734(0x145)]),_0x14dfee=(0x0,o[_0x2aa734(0x176)])(a[_0x2aa734(0x1af)]),[_0x25644a,_0x51fd64]=(0x0,n['useState'])(!0x1),[_0x3f6657,_0x4ce94b]=(0x0,n[_0x2aa734(0x1ea)])(!0x1);(0x0,n[_0x2aa734(0x352)])(()=>{const _0x4cae9e=_0x2aa734;let _0x12c650=!0x1;return _0x14dfee[_0x4cae9e(0xfb)](k)[_0x4cae9e(0x3a3)](_0x4798df=>{const _0x51b630=_0x4cae9e;!_0x12c650&&typeof _0x4798df==_0x51b630(0x157)&&_0x51fd64(_0x4798df);})[_0x4cae9e(0x132)](()=>void 0x0)[_0x4cae9e(0x335)](()=>{_0x12c650||_0x4ce94b(!0x0);}),()=>{_0x12c650=!0x0;};},[_0x14dfee]);let _0x3053e9=_0x416933=>{const _0x5682f1=_0x2aa734;_0x51fd64(_0x416933),_0x14dfee[_0x5682f1(0x201)](k,_0x416933)['catch'](()=>void 0x0);},_0x4c99b2=!!_0x4945ed&&_0x572d9e!==void 0x0,_0x5e1fe6=!!_0x3340d5||!!_0xfbbe3f,_0x522f8b=_0x572d9e!==void 0x0&&(0x0,i['isConnectorShape'])(_0x572d9e),_0x3c58b2=(_0x20e929=(_0xa1ec41=_0x4b76d1['cl'])==null?void 0x0:_0xa1ec41[_0x2aa734(0xf1)])==null?_0x2aa734(0x1a5):_0x20e929,_0x1dd30b=(_0x17ba08=(_0x23e11a=_0x4b76d1['bg'])==null?void 0x0:_0x23e11a[_0x2aa734(0xf1)])==null?_0x2aa734(0x1ef):_0x17ba08,_0x184a54=(_0x312e1e=_0x4b76d1['ff'])==null?_0x2aa734(0x2d7):_0x312e1e,_0x4f86f5=(_0x152945=_0x4b76d1['fs'])==null?0xe:_0x152945,_0x561f7f=_0x4b76d1['bl']===a[_0x2aa734(0x317)][_0x2aa734(0x1a0)],_0x37d4e9=_0x4b76d1['it']===a['BooleanNumber'][_0x2aa734(0x1a0)],_0x1178c6=((_0x511e2c=_0x4b76d1['ul'])==null?void 0x0:_0x511e2c['s'])===a[_0x2aa734(0x317)]['TRUE'],_0x3efe5c=((_0x1e2307=_0x4b76d1['st'])==null?void 0x0:_0x1e2307['s'])===a['BooleanNumber'][_0x2aa734(0x1a0)],_0x2c520d=o[_0x2aa734(0x37c)][_0x2aa734(0x34d)](_0x238271=>({'label':_0x238271[_0x2aa734(0x1db)],'value':String(_0x238271[_0x2aa734(0x250)])})),_0x124ed2=(_0x4bb5c3=_0x2d28e9==null?void 0x0:_0x2d28e9['ha'])==null?a['HorizontalAlign']['LEFT']:_0x4bb5c3,_0x4dd587=(_0x5bcde7=_0x2d28e9==null?void 0x0:_0x2d28e9['va'])==null?a['VerticalAlign']['TOP']:_0x5bcde7,_0x3de114=[{'label':_0x444078['t'](_0x2aa734(0x339)),'value':a['HorizontalAlign'][_0x2aa734(0x152)],'icon':(0x0,r[_0x2aa734(0x29d)])(t['LeftJustifyingIcon'],{})},{'label':_0x444078['t'](_0x2aa734(0x2e4)),'value':a[_0x2aa734(0xff)]['CENTER'],'icon':(0x0,r[_0x2aa734(0x29d)])(t[_0x2aa734(0x2bb)],{})},{'label':_0x444078['t'](_0x2aa734(0x153)),'value':a[_0x2aa734(0xff)][_0x2aa734(0x370)],'icon':(0x0,r[_0x2aa734(0x29d)])(t[_0x2aa734(0x323)],{})},{'label':_0x444078['t'](_0x2aa734(0x325)),'value':a[_0x2aa734(0xff)]['JUSTIFIED'],'icon':(0x0,r[_0x2aa734(0x29d)])(t['AlignTextBothIcon'],{})}],_0x43e29e=[{'label':_0x444078['t']('shape-editor-ui.align.top'),'value':a[_0x2aa734(0x111)]['TOP'],'icon':(0x0,r['jsx'])(t[_0x2aa734(0x379)],{})},{'label':_0x444078['t'](_0x2aa734(0x1c8)),'value':a['VerticalAlign'][_0x2aa734(0x2dc)],'icon':(0x0,r['jsx'])(t[_0x2aa734(0x12c)],{})},{'label':_0x444078['t'](_0x2aa734(0x37e)),'value':a[_0x2aa734(0x111)][_0x2aa734(0x225)],'icon':(0x0,r[_0x2aa734(0x29d)])(t[_0x2aa734(0x186)],{})}];return!_0x4c99b2&&!_0x5e1fe6&&!_0x36698b&&!_0x399a0d||_0x20dbce&&!_0x3f6657?null:_0x25644a?(0x0,r[_0x2aa734(0x29d)])('button',{'type':_0x2aa734(0x188),'data-u-comp':_0x2aa734(0x2f8),'aria-label':_0x444078['t'](_0x2aa734(0x29a)),'onMouseDown':N,'onClick':()=>_0x3053e9(!0x1),'className':'univer-flex\x20univer-h-4\x20univer-w-14\x20-univer-translate-y-1\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-0\x20univer-text-[10px]\x20univer-text-gray-500\x20univer-shadow-sm\x20univer-transition-colors\x20hover:univer-border-gray-300\x20hover:univer-bg-gray-50\x20hover:univer-text-gray-700\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-300\x20dark:hover:!univer-bg-gray-800','children':(0x0,r[_0x2aa734(0x29d)])(t[_0x2aa734(0x270)],{'className':'-univer-rotate-90\x20univer-text-xs'})}):(0x0,r['jsxs'])(_0x2aa734(0x1c0),{'data-u-comp':_0x2aa734(0x38a),'className':_0x2aa734(0x243),'children':[(0x0,r['jsx'])('button',{'type':_0x2aa734(0x188),'aria-label':_0x444078['t'](_0x2aa734(0x1b1)),'onMouseDown':N,'onClick':()=>_0x3053e9(!0x0),'className':_0x2aa734(0x20c),'children':(0x0,r[_0x2aa734(0x29d)])(t[_0x2aa734(0x270)],{'className':_0x2aa734(0x33b),'style':{'transform':_0x2aa734(0x31c)}})}),(0x0,r[_0x2aa734(0x38f)])('div',{'onMouseDown':_0x54b77a=>{const _0x3dd995=_0x2aa734;_0x54b77a[_0x3dd995(0x33a)](),j(_0x54b77a[_0x3dd995(0x1df)])||_0x54b77a[_0x3dd995(0x3b3)]();},'className':(0x0,e[_0x2aa734(0x27b)])(_0x2aa734(0x3c0),e[_0x2aa734(0x1e1)]),'children':[_0x4c99b2&&(0x0,r['jsxs'])(r[_0x2aa734(0x2e0)],{'children':[(0x0,r[_0x2aa734(0x38f)])(L,{'children':[(0x0,r[_0x2aa734(0x29d)])(te,{'title':_0x444078['t'](_0x2aa734(0x36a)),'shapeData':_0x4945ed,'disabled':_0x522f8b,'onUpdateShapeData':_0x275785}),(0x0,r[_0x2aa734(0x29d)])(W,{'title':_0x444078['t'](_0x2aa734(0x163)),'shapeData':_0x4945ed,'resetLabel':_0x444078['t'](_0x2aa734(0x314)),'onReset':_0x3cc6e1?()=>{_0x275785({'oldShapeData':{'stroke':_0x4945ed['stroke']}},{'stroke':{..._0x4945ed['stroke'],'lineStrokeType':i['ShapeLineTypeEnum']['NoLine']}});}:void 0x0,'onUpdateShapeData':_0x275785})]}),(0x0,r[_0x2aa734(0x29d)])(I,{}),(0x0,r[_0x2aa734(0x38f)])(L,{'children':[(0x0,r[_0x2aa734(0x29d)])(e['Select'],{'className':_0x2aa734(0xfa),'value':_0x184a54,'options':_0x17ab38,'onChange':_0x456cb9=>_0x201882({'textStyle':{'ff':String(_0x456cb9)}})}),(0x0,r[_0x2aa734(0x29d)])(e['Select'],{'className':_0x2aa734(0x28b),'value':String(_0x4f86f5),'options':_0x2c520d,'onChange':_0x5309e2=>{const _0x56c3fc=_0x2aa734;let _0x4196b7=Number(_0x5309e2);Number[_0x56c3fc(0x364)](_0x4196b7)||_0x201882({'textStyle':{'fs':_0x4196b7}}),_0x22185c[_0x56c3fc(0x141)](a['FOCUSING_PANEL_EDITOR'],!0x1);}}),(0x0,r['jsx'])(ae,{'title':_0x2aa734(0x1c7),'textStyle':{'isBold':_0x561f7f,'isItalic':_0x37d4e9,'isUnderline':_0x1178c6,'isStrike':_0x3efe5c},'horizontalAlign':_0x124ed2,'verticalAlign':_0x4dd587,'horizontalAlignOptions':_0x3de114,'verticalAlignOptions':_0x43e29e,'onUpdateText':_0x201882})]}),(0x0,r[_0x2aa734(0x29d)])(I,{}),(0x0,r[_0x2aa734(0x38f)])(L,{'children':[(0x0,r[_0x2aa734(0x29d)])(Z,{'title':_0x444078['t'](_0x2aa734(0x17d)),'textStyle':_0x4b76d1,'fallbackColor':_0x3c58b2,'onChange':_0x3e1996=>_0x201882({'textStyle':_0x3e1996})}),(0x0,r['jsx'])(Q,{'title':_0x444078['t'](_0x2aa734(0x299)),'color':_0x1dd30b,'resetLabel':_0x444078['t'](_0x2aa734(0x314)),'onApply':()=>_0x201882({'textStyle':{'bg':{'rgb':_0x1dd30b}}}),'onReset':_0x516581?()=>_0x201882({'textStyle':{'bg':{'rgb':null}}}):void 0x0,'onChange':_0xc933bb=>_0x201882({'textStyle':{'bg':{'rgb':_0xc933bb}}})})]})]}),_0x4c99b2&&_0x4675bf!==void 0x0&&_0x382478&&_0x190346&&(0x0,r[_0x2aa734(0x38f)])(r[_0x2aa734(0x2e0)],{'children':[(0x0,r[_0x2aa734(0x29d)])(I,{}),(0x0,r[_0x2aa734(0x29d)])(L,{'children':(0x0,r[_0x2aa734(0x29d)])(oe,{'title':(_0x4f4405=(_0x1bc538=_0x382478[_0x2aa734(0x2e8)](_0x31637b=>_0x31637b['value']===_0x4675bf))==null?void 0x0:_0x1bc538[_0x2aa734(0x1db)])==null?_0x444078['t'](_0x2aa734(0x329)):_0x4f4405,'value':_0x4675bf,'options':_0x382478,'onChange':_0x190346})})]}),_0x5e1fe6&&(0x0,r['jsxs'])(r[_0x2aa734(0x2e0)],{'children':[(0x0,r[_0x2aa734(0x29d)])(I,{}),(0x0,r['jsxs'])(L,{'children':[_0x3340d5&&(0x0,r[_0x2aa734(0x29d)])(se,{'action':_0x3340d5}),_0xfbbe3f&&(0x0,r[_0x2aa734(0x29d)])(le,{'actions':_0xfbbe3f})]})]}),(_0x36698b||_0x399a0d)&&(0x0,r['jsxs'])(r[_0x2aa734(0x2e0)],{'children':[(0x0,r[_0x2aa734(0x29d)])(I,{}),(0x0,r['jsxs'])(L,{'children':[_0x36698b&&(0x0,r[_0x2aa734(0x29d)])(R,{'title':_0x444078['t'](_0x2aa734(0x160)),'onClick':()=>{_0x3053e9(!0x0),_0x36698b();},'children':(0x0,r[_0x2aa734(0x29d)])(t[_0x2aa734(0x33f)],{})}),_0x399a0d&&(0x0,r[_0x2aa734(0x29d)])(R,{'title':_0x444078['t'](_0x2aa734(0x1f6)),'onClick':_0x399a0d,'children':(0x0,r[_0x2aa734(0x29d)])(t[_0x2aa734(0x2c0)],{})})]})]})]})]});}function de(_0x220fcb){const _0x506244=_0x55b3f9;var _0x3c03fd,_0x501b96,_0x17343b;let {title:_0x5919b1,popupDataComponent:_0x28b149='doc-paragraph-type-dropdown-popup'}=_0x220fcb,_0x5954e3=(0x0,o[_0x506244(0x176)])(a[_0x506244(0x1b7)]),_0x3ed7ed=(0x0,o[_0x506244(0x176)])(c[_0x506244(0x368)]),_0x39377a=(0x0,o[_0x506244(0x176)])(a[_0x506244(0x164)]),_0x5e3d6a=(0x0,o[_0x506244(0x176)])(a['IUniverInstanceService']),[_0x32df55,_0x43ea1c]=(0x0,n[_0x506244(0x1ea)])(!0x1),[_0xc41213,_0x4af8d9]=(0x0,n['useState'])(a[_0x506244(0x27d)][_0x506244(0x2b1)]),_0x1d40f2=()=>{const _0x328dc5=_0x506244;var _0x5de6d2,_0x4221d3;let _0x5a76b6=he(_0x5e3d6a[_0x328dc5(0x386)](a[_0x328dc5(0x245)][_0x328dc5(0x278)]),me(_0x3ed7ed));_0x4af8d9((_0x5de6d2=_0x5a76b6==null||(_0x4221d3=_0x5a76b6['paragraphStyle'])==null?void 0x0:_0x4221d3[_0x328dc5(0x23a)])==null?a['NamedStyleType'][_0x328dc5(0x2b1)]:_0x5de6d2);};(0x0,n[_0x506244(0x352)])(()=>{const _0x71bd8b=_0x506244;_0x1d40f2();let _0x1377f0=_0x5954e3[_0x71bd8b(0x195)](_0x5deb03=>{const _0x2c9a44=_0x71bd8b;(_0x5deb03['id']===c[_0x2c9a44(0x199)]['id']||_0x5deb03['id']===c[_0x2c9a44(0x28d)]['id']||_0x5deb03['id']===l[_0x2c9a44(0x26f)]['id']||_0x5deb03['id']===l['OrderListCommand']['id']||_0x5deb03['id']===l[_0x2c9a44(0x363)]['id']||_0x5deb03['id']===l[_0x2c9a44(0x26d)]['id'])&&_0x1d40f2();}),_0x208ce2=_0x3ed7ed[_0x71bd8b(0x3c7)][_0x71bd8b(0x321)](_0x1d40f2);return()=>{const _0x4e0f8a=_0x71bd8b;_0x1377f0[_0x4e0f8a(0x262)](),_0x208ce2[_0x4e0f8a(0x154)]();};},[_0x5954e3,_0x3ed7ed,_0x5e3d6a]);let _0x204e98=(0x0,n['useMemo'])(()=>fe(_0x39377a,_0x5954e3),[_0x5954e3,_0x39377a]),_0x35a531=(_0x3c03fd=_0x204e98[_0x506244(0x2e8)](_0x4ac022=>_0x4ac022['namedStyleType']===_0xc41213))==null?_0x204e98[0x0]:_0x3c03fd,_0x5bacbb=_0x1ed0df=>{const _0x5b69d1=_0x506244;var _0x503a5e;let _0x12d801=_0x5e3d6a['getCurrentUnitOfType'](a[_0x5b69d1(0x245)][_0x5b69d1(0x278)]),_0x1a94c1=me(_0x3ed7ed);if((_0x503a5e=_0x220fcb[_0x5b69d1(0x190)])==null||_0x503a5e['call'](_0x220fcb),_0x1ed0df[_0x5b69d1(0x23a)]!==void 0x0){let _0x22624f={'value':_0x1ed0df[_0x5b69d1(0x23a)]};_0x1a94c1&&(_0x22624f[_0x5b69d1(0x2f3)]=[_0x1a94c1]),_0x5954e3[_0x5b69d1(0x39b)](l[_0x5b69d1(0x26f)]['id'],_0x22624f);}else{if(_0x1ed0df[_0x5b69d1(0x20e)]===l[_0x5b69d1(0x2ed)]['id']||_0x1ed0df[_0x5b69d1(0x20e)]===l[_0x5b69d1(0x363)]['id']||_0x1ed0df[_0x5b69d1(0x20e)]===l[_0x5b69d1(0x26d)]['id']){let _0x22e7e1=_0x1a94c1?{'docRange':[_0x1a94c1]}:void 0x0;_0x5954e3[_0x5b69d1(0x39b)](_0x1ed0df[_0x5b69d1(0x20e)],_0x22e7e1);}else _0x1ed0df['commandId']&&_0x5954e3[_0x5b69d1(0x39b)](_0x1ed0df[_0x5b69d1(0x20e)],{'unitId':_0x12d801==null?void 0x0:_0x12d801[_0x5b69d1(0x217)](),'startOffset':_0x1a94c1==null?void 0x0:_0x1a94c1[_0x5b69d1(0x38d)],'endOffset':_0x1a94c1==null?void 0x0:_0x1a94c1[_0x5b69d1(0x259)]});}_0x43ea1c(!0x1),window[_0x5b69d1(0xf3)](()=>{const _0x25cd03=_0x5b69d1;var _0x400160;_0x1d40f2(),(_0x400160=_0x220fcb[_0x25cd03(0x139)])==null||_0x400160['call'](_0x220fcb);});};return(0x0,r['jsx'])(e[_0x506244(0x14e)],{'open':_0x32df55,'onOpenChange':_0x43ea1c,'overlay':(0x0,r['jsx'])('div',{'className':(0x0,e['clsx'])(_0x506244(0x26b),_0x220fcb[_0x506244(0x275)]),'data-u-comp':_0x28b149,'onMouseDown':_0x1d82db=>_0x1d82db[_0x506244(0x3b3)](),'children':_0x204e98[_0x506244(0x34d)](_0x233878=>(0x0,r[_0x506244(0x38f)])(_0x506244(0x188),{'type':'button','className':(0x0,e[_0x506244(0x27b)])(_0x506244(0x3b1),{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x233878[_0x506244(0x250)]===(_0x35a531==null?void 0x0:_0x35a531['value'])}),'onClick':()=>_0x5bacbb(_0x233878),'onMouseDown':_0x1dc4d8=>_0x1dc4d8[_0x506244(0x3b3)](),'children':[(0x0,r[_0x506244(0x29d)])('span',{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','children':_0x233878[_0x506244(0x3ae)]}),(0x0,r[_0x506244(0x29d)])(_0x506244(0x360),{'className':'univer-flex-1','children':_0x233878[_0x506244(0x1db)]})]},_0x233878[_0x506244(0x250)]))}),'children':(0x0,r[_0x506244(0x29d)])(_0x506244(0x360),{'children':(0x0,r['jsx'])(e['Tooltip'],{'title':_0x5919b1,'placement':_0x506244(0x254),'children':(0x0,r[_0x506244(0x38f)])(_0x506244(0x188),{'type':_0x506244(0x188),'aria-expanded':_0x32df55,'aria-label':_0x5919b1,'title':_0x5919b1,'className':(0x0,e[_0x506244(0x27b)])(_0x506244(0x230),_0x220fcb[_0x506244(0x36b)],{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x32df55}),'onMouseDown':(_0x501b96=_0x220fcb['onMouseDown'])==null?_0x4c6bd5=>_0x4c6bd5[_0x506244(0x3b3)]():_0x501b96,'children':[(0x0,r[_0x506244(0x29d)])(_0x506244(0x360),{'className':_0x506244(0x24e),'children':(_0x17343b=_0x35a531==null?void 0x0:_0x35a531['icon'])==null?(0x0,r[_0x506244(0x29d)])(t['TextTypeIcon'],{}):_0x17343b}),(0x0,r[_0x506244(0x29d)])(t[_0x506244(0x2c1)],{'className':_0x506244(0x33b)})]})})})});}function fe(_0x9967b2,_0x1008b3){const _0x38bddd=_0x55b3f9;let _0x28feed=[pe(_0x9967b2,a[_0x38bddd(0x27d)]['NORMAL_TEXT'],(0x0,r[_0x38bddd(0x29d)])(t[_0x38bddd(0x232)],{}),_0x38bddd(0x21d)),pe(_0x9967b2,a['NamedStyleType']['HEADING_1'],(0x0,r[_0x38bddd(0x29d)])(t[_0x38bddd(0x1c5)],{}),_0x38bddd(0x39e)),pe(_0x9967b2,a['NamedStyleType'][_0x38bddd(0x222)],(0x0,r['jsx'])(t[_0x38bddd(0x290)],{}),'shape-editor-ui.textEditor.paragraphType.heading2'),pe(_0x9967b2,a['NamedStyleType'][_0x38bddd(0xf9)],(0x0,r['jsx'])(t[_0x38bddd(0x377)],{}),_0x38bddd(0x202)),pe(_0x9967b2,a[_0x38bddd(0x27d)][_0x38bddd(0x168)],(0x0,r['jsx'])(t[_0x38bddd(0x115)],{}),'shape-editor-ui.textEditor.paragraphType.heading4'),pe(_0x9967b2,a[_0x38bddd(0x27d)][_0x38bddd(0x155)],(0x0,r[_0x38bddd(0x29d)])(t[_0x38bddd(0x209)],{}),'shape-editor-ui.textEditor.paragraphType.heading5'),$(_0x9967b2,l[_0x38bddd(0x2ed)]['id'],(0x0,r['jsx'])(t[_0x38bddd(0x1de)],{}),_0x38bddd(0x210)),$(_0x9967b2,l[_0x38bddd(0x363)]['id'],(0x0,r[_0x38bddd(0x29d)])(t[_0x38bddd(0x193)],{}),'shape-editor-ui.textEditor.paragraphType.bulletList'),$(_0x9967b2,l[_0x38bddd(0x26d)]['id'],(0x0,r['jsx'])(t[_0x38bddd(0x1a6)],{}),'shape-editor-ui.textEditor.paragraphType.checkList')],_0x9746ea=[$(_0x9967b2,_0x38bddd(0x35f),(0x0,r[_0x38bddd(0x29d)])('span',{'className':_0x38bddd(0x25d),'children':'\x22'}),_0x38bddd(0x25f)),$(_0x9967b2,'docs-code.command.insert',(0x0,r[_0x38bddd(0x29d)])(t['CodeIcon'],{}),_0x38bddd(0x2b7)),$(_0x9967b2,_0x38bddd(0x288),(0x0,r[_0x38bddd(0x29d)])(t[_0x38bddd(0x240)],{}),'shape-editor-ui.textEditor.paragraphType.callout')]['filter'](_0x4e4203=>_0x1008b3['hasCommand'](_0x4e4203[_0x38bddd(0x20e)]));return[..._0x28feed,..._0x9746ea];}function pe(_0x1719ce,_0x1cdf6f,_0x1d9376,_0x4789a6){const _0x86325c=_0x55b3f9;return{'icon':_0x1d9376,'label':_0x1719ce['t'](_0x4789a6),'namedStyleType':_0x1cdf6f,'value':_0x86325c(0x236)+_0x1cdf6f};}function $(_0x5443f7,_0x54d2a0,_0x500069,_0x326567){const _0x17dbc9=_0x55b3f9;return{'commandId':_0x54d2a0,'icon':_0x500069,'label':_0x5443f7['t'](_0x326567),'value':_0x17dbc9(0x130)+_0x54d2a0};}function me(_0x120646){const _0x42c771=_0x55b3f9;var _0xe9e2f8,_0x379f37,_0x25bb37,_0x4dcf1e;let _0x431421=(_0xe9e2f8=_0x120646[_0x42c771(0x35d)])==null?void 0x0:_0xe9e2f8['call'](_0x120646);if(_0x431421)return _0x431421;let _0x45dfc8=(_0x379f37=_0x120646[_0x42c771(0x293)]())==null?[]:_0x379f37;return(_0x25bb37=(_0x4dcf1e=_0x45dfc8[_0x42c771(0x2e8)](_0x5c8d1f=>_0x5c8d1f[_0x42c771(0x2ea)]))==null?_0x45dfc8[0x0]:_0x4dcf1e)==null?null:_0x25bb37;}function he(_0x64a777,_0x5b33ce){const _0x5f48f0=_0x55b3f9;var _0x228d18,_0x54c373,_0x1abe9a;let _0x375e55=_0x5b33ce!=null&&_0x5b33ce[_0x5f48f0(0x116)]?_0x64a777==null?void 0x0:_0x64a777[_0x5f48f0(0x393)](_0x5b33ce[_0x5f48f0(0x116)])[_0x5f48f0(0x19f)]():_0x64a777==null?void 0x0:_0x64a777['getBody'](),_0x6dfc07=(_0x228d18=_0x375e55==null?void 0x0:_0x375e55[_0x5f48f0(0x1dc)])==null?[]:_0x228d18,_0x2b24a4=(_0x54c373=_0x5b33ce==null?void 0x0:_0x5b33ce['startOffset'])==null?0x0:_0x54c373;return(_0x1abe9a=_0x6dfc07[_0x5f48f0(0x2e8)](_0x518cc3=>_0x518cc3['startIndex']>=_0x2b24a4))==null?_0x6dfc07[_0x6dfc07['length']-0x1]:_0x1abe9a;}function ge(_0x4443fc,_0x59ddf4){const _0x4fa13c=_0x55b3f9;return Math[_0x4fa13c(0x112)](_0x4443fc-_0x59ddf4)<=0.001;}function _e(_0x4ce46f,_0x3cd52a){const _0x18be6a=_0x55b3f9;return ge(_0x4ce46f[_0x18be6a(0xf8)],_0x3cd52a[_0x18be6a(0xf8)])&&ge(_0x4ce46f[_0x18be6a(0x106)],_0x3cd52a[_0x18be6a(0x106)])&&ge(_0x4ce46f[_0x18be6a(0x10f)],_0x3cd52a[_0x18be6a(0x10f)])&&ge(_0x4ce46f[_0x18be6a(0x11c)],_0x3cd52a[_0x18be6a(0x11c)])&&ge(_0x4ce46f[_0x18be6a(0x2d2)],_0x3cd52a['angle'])&&ge(_0x4ce46f['scaleX'],_0x3cd52a[_0x18be6a(0x12b)])&&ge(_0x4ce46f[_0x18be6a(0x37d)],_0x3cd52a[_0x18be6a(0x37d)]);}function _0x16b9(){const _0x44fea2=['H2Icon','subUnitId','shape-editor-ui.fill.pictureFill','getTextRanges','shape-editor-ui.line.arrowSize.medium','shape-editor-ui.line.arrowType.openArrow','accent-primary-600\x20univer-h-1.5\x20univer-w-full\x20univer-cursor-pointer\x20univer-appearance-none\x20univer-rounded-full\x20univer-bg-gray-200\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-bg-gray-700\x20[&::-webkit-slider-thumb]:univer-size-3.5\x20[&::-webkit-slider-thumb]:univer-appearance-none\x20[&::-webkit-slider-thumb]:univer-rounded-full\x20[&::-webkit-slider-thumb]:univer-bg-primary-600\x20[&::-webkit-slider-thumb]:univer-shadow-sm','KeyCode','GradientColorPicker','shape-editor-ui.toolbar.textBackgroundColor','shape-editor-ui.toolbar.expandShapeToolbar','shape-editor-ui.line.joinType.miter','getActualSize','jsx','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','566350wMIKnY','shape-editor-ui.line.beginArrowType','pages','shape-editor-ui.toolbar.strikethrough','onForward','endNodePosition','LongDash','useIsFocusing','_context','typography-vertical-align-row','select','blur','fill','textRuns','main','SetInlineFormatSuperscriptCommand','ShapeDefaultConfig','univer-w-28','NORMAL_TEXT','useObservable','transformByState','options','root','ShapeGradientTypeEnum','shape-editor-ui.textEditor.paragraphType.code','Stretch','number','\x0a\x20\x20\x20\x20\x20\x20univer-h-4\x20univer-w-px\x20univer-bg-gray-200\x0a\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-700\x0a\x20\x20\x20\x20','HorizontallyIcon','shape-editor-ui.line.noLine','\x0a\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-6\x20univer-items-center\x20univer-justify-center\x20univer-border-none\x20univer-bg-transparent\x0a\x20\x20\x20\x20\x20\x20univer-p-0\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x0a\x20\x20\x20\x20\x20\x20hover:univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x0a\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-100\x0a\x20\x20\x20\x20\x20\x20dark:hover:!univer-bg-gray-700\x0a\x20\x20\x20\x20','shape-editor-ui.toolbar.italic','horizontalAlign','DeleteIcon','MoreDownIcon','content','univer-text-xs\x20univer-text-gray-500\x20dark:!univer-text-gray-300','DELETE','isBold','lineStrokeType','angular','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md\x20univer-bg-primary-600','AlignJustifyCommand','TOP','FOCUSING_PANEL_EDITOR','StealthArrow','toPrimitive','univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-2\x20univer-py-1\x20univer-text-xs\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','shape-editor-ui.fill.solidFill','function','current','angle','top-center','Arrow','getImageSize','DashDot','monospace','BaselineOffset','#000000','Freehand','ShapeLineEditor','MIDDLE','with','PERIOD','register','Fragment','length','typography-horizontal-align-row','shape-editor-ui.line.dashType.longDashDotDot','shape-editor-ui.toolbar.alignCenter','SetInlineFormatStrikethroughCommand','gradientStops','shape-editor-ui.fill.picture.offsetY','find','domY','isActive','updateDocumentRenderConfig','stops','OrderListCommand','univer-h-14\x20univer-w-full\x20univer-rounded\x20univer-object-cover','#3B82F6','24AjqZAf','SolidFill','deepClone','textRanges','SetInlineFormatFontSizeCommand','SetInlineFormatBoldCommand','Tile','pageMarginTop','shape-floating-toolbar-collapsed','string','BACKSPACE','renderConfig','SetInlineFormatTextFillCommand','UNSPECIFIED','getSkeletonData','univer-relative\x20univer-size-full\x20univer-overflow-visible','square','min','viewportKeys','WrapStrategy','univer-grid\x20univer-grid-cols-[repeat(3,minmax(0,1fr))_76px]\x20univer-items-center\x20univer-gap-1','forwardLabel','univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','ShapeStrokeColorDoubleIcon','useCallback','getSkeleton','mode','prototype','1\x203','shape-editor-ui.line.capType.title','univer-flex\x20univer-flex-col\x20univer-gap-2\x20univer-border-l-2\x20univer-border-l-gray-200\x20univer-pl-3\x20dark:!univer-border-l-gray-600','shape-editor-ui.line.width','BottomIcon','shape-editor-ui.line.solidLine','shape-editor-ui.line.joinType.bevel','underline','shape-editor-ui.toolbar.resetColor','body','Digit8','BooleanNumber','#2563EB','shape-editor-ui.toolbar.underline','Tools','ResetInlineFormatTextBackgroundColorCommand','rotate(-90deg)','univer-w-20','ShapeArrowSizeEnum','SUPERSCRIPT','paddingTop','subscribe','univer-absolute\x20univer-z-[100]\x20univer-overflow-visible','RightJustifyingIcon','imageOpacity','shape-editor-ui.toolbar.alignJustify','ShapeLineJoinEnum','M2.5\x2010H5.7','applyShapeTextEditorCanvasTransparency','shape-editor-ui.textWrap.inline','useMemo','AlignCenterCommand','MetaKeys','files','collapsed','shape-editor-ui.fill.picture.source','svg','createDefaultShapeTextDocument','abd','useRef','\x0a\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-6\x20univer-min-w-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x0a\x20\x20\x20\x20\x20\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1\x20univer-text-sm\x20univer-text-gray-700\x0a\x20\x20\x20\x20\x20\x20univer-transition-colors\x0a\x20\x20\x20\x20\x20\x20hover:univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-100\x0a\x20\x20\x20\x20\x20\x20dark:hover:!univer-bg-gray-700\x0a\x20\x20\x20\x20','finally','allowHostSizeShrink','vertexAngle','style','shape-editor-ui.toolbar.alignLeft','stopPropagation','univer-text-xs','transparent','textFill','shape-editor-ui.line.color','DocSettingIcon','getAncestorScale','getViewport','ShapeLineCapEnum','shape-editor-ui.fill.gradientFill','getSnapshot','Tooltip','bottom-center','toolbarComponent','Flat','IRenderManagerService','prepareShapeTextDocumentData','Accordion','updateDocumentDataMargin','map','univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','shape-editor-ui.line.dashType.longDashDot','fillImageSource','editorLeft','useEffect','getShapeModel','dataStream','createParagraphId','SetInlineFormatTextBackgroundColorCommand','Digit7','[data-u-comp=\x22shape-stroke-dash-dropdown\x22]','fillType','setEditing','univer-w-full','children','getActiveTextRange','dashType','docs-quote.command.insert','span','univer-mb-2\x20univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-px-2\x20univer-text-xs\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','flipY','BulletListCommand','isNaN','univer-flex\x20univer-flex-col','shape-editor-ui.line.arrowType.diamondArrow','includes','DocSelectionManagerService','shape-editor-ui.line.endArrowType','shape-editor-ui.fill.title','buttonClassName','engine','closest','stroke','updateShapeText','RIGHT','PictureFill','8\x202','HandDrawn','shape-editor-ui.line.dashType.solid','univer-flex\x20univer-h-6\x20univer-min-w-9\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','Disposable','H3Icon','source','AlignTopIcon','univer-w-[168px]\x20univer-rounded-lg\x20univer-bg-white\x20univer-p-2\x20univer-shadow-lg\x20dark:!univer-bg-gray-900','sketchType','FONT_SIZE_LIST','scaleY','shape-editor-ui.align.bottom','ceil','univer-h-0\x20univer-w-7\x20univer-border-t-2\x20univer-border-solid\x20univer-border-gray-400\x20dark:!univer-border-gray-300','colStartX','shape-text','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','getShapeTextEditorKeyboardConfig','getShapeTextModel','getCurrentUnitOfType','shape-editor-ui.line.sketchType.title','sectionBreaks','_floatMenu','shape-floating-toolbar','stretch','AlignRightCommand','startOffset','updateDocumentStyle','jsxs','Diamond','AlignLeftCommand','butt','getSelfOrHeaderFooterModel','_docSelectionRenderService','univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','shape-editor-ui.line.dashType.dash','PaintBucketDoubleIcon','M2.5\x2015.5H8.2','strikethrough','getRenderById','executeCommand','none','shape-editor-ui.line.arrowType.ovalArrow','shape-editor-ui.textEditor.paragraphType.heading1','trim','ImageFillModeEnum','filter','input','then','imageFillMode','offset','univer-flex\x20univer-h-6\x20univer-min-w-7\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','getObjectIncludeInGroup','baselineHeight','getShapeTextRect','onTransformChange$','univer-rounded-lg\x20univer-bg-white\x20univer-p-3\x20univer-shadow-lg\x20dark:!univer-bg-gray-900','getShapeTextData','#8B5CF6','icon','univer-text-sm','Radio','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-gap-2\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-text-left\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','RadioGroup','preventDefault','linear','toStringTag','offsetY','documentStyle','univer-flex\x20univer-flex-col\x20univer-gap-1.5','wrapStrategy','univer-w-28\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-1\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','dash','DeleteLeftCommand','_componentManager','fontSize','8214SYtVnA','univer-box-border\x20univer-flex\x20univer-max-w-[760px]\x20univer-flex-wrap\x20univer-items-center\x20univer-rounded\x20univer-bg-white\x20univer-px-1\x20univer-py-1\x20univer-shadow-sm\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','componentKey','Reset\x20color','updateHostHeight','endArrow','shape-text-editor-position-wrapper','columns','textSelection$','color','Solid','diamond','univer-w-14','SHIFT','imageTile','shape-editor-ui.fill.picture.align.tr','3165nzABRj','univer-text-xl','section','nextWidth','rgb','Linear','requestAnimationFrame','shape-editor-ui.fill.picture.align.t','getBoundingClientRect','backgroundColor','size','left','HEADING_3','!univer-h-6\x20univer-w-24\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-px-1.5','getItem','round','stripShapeTextDocumentLayout','range','HorizontalAlign','1.4','LongDashDotDot','shape-text-editor','attachPopupToRange','shape-editor-ui.fill.transparency','univer-relative\x20univer-flex\x20univer-h-5\x20univer-w-10\x20univer-items-center\x20univer-justify-center','top','centerAngle','Large','SetInlineFormatItalicCommand','UndoCommand','ShapeBackgroundColorDoubleIcon','-line','12MWcnMg','call','width','memo','VerticalAlign','abs','useKeyboardEvent','end','H4Icon','segmentId','defineProperty','ShapeLineTypeEnum','shape-editor-ui.fill.color','img','ColorPicker','height','onChange','univer-hidden','Radial','isUnderline','keys','univer-text-xl\x20univer-text-gray-500','univer-h-5\x20univer-w-px\x20univer-bg-gray-200\x20dark:!univer-bg-gray-700','DocSelectAllCommand','onBack','backLabel','117wnMOBs','univer-flex\x20univer-h-7\x20univer-items-center\x20univer-gap-1\x20univer-px-1','forEach','frontLabel','scaleX','VerticalCenterIcon','startNodePosition','univer-shrink-0\x20univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','shape-editor-ui.line.dashType.roundDot','command:','isRichText','catch','path','pageHeight','getStyleInTextRange','shapeText','shape-editor-ui.line.endArrowSize','backward','onAfterCommand','editingParams$','\x0a\x20\x20\x20\x20\x20\x20univer-box-border\x20univer-flex\x20univer-rounded\x20univer-bg-white\x20univer-py-1\x20univer-shadow-sm\x0a\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20','univer-text-primary-600','shape-editor-ui.fill.picture.scaleX','Round','editorHeight','LongDashDot','setContextValue','6023760KVLFAe','parseFloat','fontFamily','IContextService','addImageSourceCache','DocumentFlavor','4097093mYgAqM','shape-text-editor-content','DocSkeletonManagerService','startArrow','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pt-2','Select','Dropdown','DEFAULT_STYLES','univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center','SetInlineFormatUnderlineCommand','LEFT','shape-editor-ui.toolbar.alignRight','unsubscribe','HEADING_5','setTimeout','boolean','univer-text-gray-600\x20univer-transition-transform','shape-editor-ui.fill.picture.align.l','gradientAngle','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-px-2\x20univer-text-xs\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','doc','univer-absolute','custom','onClick','shape-editor-ui.openPanel','univer-flex-1','radial','shape-editor-ui.line.title','LocaleService','NoLine','shape-stroke-dash-dropdown','univer-w-4\x20univer-rounded-l-none\x20univer-rounded-r-md\x20univer-border-l\x20univer-border-solid\x20univer-border-gray-200\x20dark:!univer-border-gray-700','HEADING_4','divider','317096BnXvGr','shape-editor-ui.fill.picture.align.bl','transparency','_config','setSelectionRanges','univer-gap-3','univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1.5\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-2\x20univer-py-1\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-100\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold','fonts$','click','shape-editor-ui.fill.picture.align.ctr','ShapeEditPanel','useDependency','FALSE','gradient','domX','gradientType','onScrollAfter$','shape-editor-ui.line.sketchType.none','shape-editor-ui.toolbar.textColor','components','solid','univer-flex\x20univer-flex-col\x20univer-gap-2','univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','univer-h-5\x20univer-w-12','shape-editor-ui.line.transparency','DiamondArrow','IImageIoService','AlignBottomIcon','onBackward','button','scene','shapeKey','ShapeTextPositionWrapper','noFill','text','shape-editor-ui.shapePosition','shape-editor-ui.line.arrowType.none','onBeforeCommand','useLeftAndRightArrow','shape-editor-ui.fill.picture.rotateWithShape','UnorderIcon','opticalVerticalAlign','onCommandExecuted','saveImage','shapeId','COMMA','RichTextEditingMutation','isStrike','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','cornerRadius','1234191MWTUui','univer-block\x20univer-h-[100px]\x20univer-w-[100px]\x20univer-object-cover','getBody','TRUE','4\x202\x201\x202','4\x202','univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200','sup','#111827','TodoListDoubleIcon','univer-h-px\x20univer-bg-gray-200\x20dark:!univer-bg-gray-700','6.8','GridType','2692LGFYAl','8\x202\x201\x202','Picture','shape-editor-ui.fill.picture.insert','title','ILocalStorageService','clearUndoRedoHistory','shape-editor-ui.toolbar.collapseShapeToolbar','textStyle','ItalicIcon','paragraphStyle','disposeWithMe','shape-editor-ui.line.dashType.squareDot','ICommandService','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-px-2\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-50\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','ShapeLineDashEnum','None','univer-flex\x20univer-items-center\x20univer-justify-between','picture','shape-editor-ui.toolbar.superscript','divides','univer-min-w-32\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-1\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','div','input,\x20textarea,\x20[contenteditable=\x22true\x22],\x20[role=\x22combobox\x22],\x20[data-u-comp=\x22select\x22],\x20.univer-select','dataModel','sub','textWrap','H1Icon','1em','Typography','shape-editor-ui.align.middle','univer-pt-2','useEditor','univer-w-7\x20univer-rounded-l-md\x20univer-rounded-r-none','getDocRanges','univer-flex-1\x20univer-overflow-auto','verticalAlign','ShapeTextFloatMenuRenderControllerBase','_hideFloatMenu','TopmostIcon','gridType','nextHeight','Bevel','getDocumentData','Medium','ShapeFillEnum','symbol','GradientFill','visible','label','paragraphs','unitId','OrderIcon','target','SquareDot','borderClassName','push','line','Checkbox','pictureFill','subscribeEvent','spaceAbove','ShapeImageFillEditor','onSelectionStart$','useState','SUBSCRIPT','shape-editor-ui.line.arrowSize.large','solidFill','isHorizontal','#ffffff','univer-pointer-events-none\x20univer-opacity-60','true','0\x200\x2048\x2020','deepCompare','constructor','univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-3\x20univer-py-1\x20univer-text-sm\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','shape-editor-ui.deleteShape','shape-editor-ui.fill.picture.align.b','univer-flex\x20univer-items-center\x20univer-gap-3','iterator','getObject','InputNumber','lines','type','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-0\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-50\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','DEFAULT','key','setItem','shape-editor-ui.textEditor.paragraphType.heading3','univer-text-sm\x20univer-font-medium\x20univer-text-gray-800\x20dark:!univer-text-gray-100','shape-editor-ui.line.dashType.title','image/*','univer-flex\x20univer-h-6\x20univer-items-center','univer-w-[260px]\x20univer-rounded-lg\x20univer-bg-white\x20univer-p-3\x20univer-shadow-lg\x20dark:!univer-bg-gray-900','_docSelectionManagerService','H5Icon','Small','group\x20univer-relative\x20univer-inline-block','univer-absolute\x20-univer-top-3\x20univer-left-1/2\x20univer-z-10\x20univer-flex\x20univer-h-3\x20univer-w-16\x20-univer-translate-x-1/2\x20univer-items-center\x20univer-justify-center\x20univer-rounded-t-md\x20univer-border\x20univer-border-b-0\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-0\x20univer-text-[10px]\x20univer-text-gray-500\x20univer-shadow-sm\x20univer-transition-colors\x20hover:univer-bg-gray-50\x20hover:univer-text-gray-700\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-300\x20dark:hover:!univer-bg-gray-800','shape-editor-ui.fill.picture.align.r','commandId','univer-my-1\x20univer-h-px\x20univer-bg-gray-200\x20dark:!univer-bg-gray-700','shape-editor-ui.textEditor.paragraphType.orderedList','capType','BoldIcon','imageRotateWithShape','_docCanvasPopManagerService','auto','shape-editor-ui.line.joinType.round','getUnitId','shape-editor-ui.line.capType.round','opacity','shape-editor-ui.line.joinType.title','test','shapeTextOpticalVerticalAlign','shape-editor-ui.textEditor.paragraphType.normal','lineJoinType','shape-editor-ui.line.cornerRadius','isItalic','Curved','HEADING_2','bBox','rowStartY','BOTTOM','_showFloatMenu','univer-gap-2','shape-editor-ui.toolbar.bold','bold','shape-editor-ui.fill.noFill','asc','univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','219fqUnkI','_initSelectionChange','univer-rounded-lg\x20univer-p-3','univer-flex\x20univer-h-7\x20univer-min-w-9\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','getSelectionRanges','TextTypeIcon','object','Segmented','direction','heading:','deg)\x20scaleY(','worksheet','editorWidth','namedStyleType','WRAP','start','max','univer-text-xs\x20univer-text-gray-600\x20univer-transition-transform\x20dark:!univer-text-gray-300','RoundDot','ShapeCallout1Icon','isFinite','univer-block\x20univer-w-full','univer-relative\x20univer-inline-flex\x20univer-justify-center','rect','UniverInstanceType','active','calculate','leftTop','group','rgba(0,\x200,\x200,\x200)','ShapeTextEditor','0\x200\x2020\x2020','getFreeze','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','Color','value','currentColor','OpenArrow','sections','bottom','ShapeSketchTypeEnum','editorUnitId','univer-size-full','NoFill','endOffset','file','backwardLabel','join','univer-text-base','getCanvasElement','shape-editor-ui.textEditor.paragraphType.quote','mainComponent','ctr','dispose','shape-editor-ui.line.capType.square','executeEditorUndoRedoCommand','disabled','getUnit','univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','textRect','univer-flex\x20univer-flex-col\x20univer-gap-3','SolidLine','univer-min-w-44\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-1\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','Module','CheckListCommand','IUniverInstanceService','SetParagraphNamedStyleCommand','MoreRightIcon','SetInlineFormatSubscriptCommand','replace','zeroWidthParagraphBreak','RedoCommand','className','ShapeArrowTypeEnum','MoveUpIcon','UNIVER_DOC','editorTop','italic','clsx','univer-w-12','NamedStyleType','Dash','VERTICAL_ROTATE_ANGLE','\x20px','updateHostSize','aba','Angular','TRADITIONAL','setZoomRatio','vertical','getDrawingTransform','docs-callout.command.insert','marginTop','Gradient','!univer-h-6\x20univer-w-14\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-px-1.5','pageMarginLeft','SetTextSelectionsOperation','Square','StrikethroughIcon'];_0x16b9=function(){return _0x44fea2;};return _0x16b9();}const ve={'left':-0x270f,'top':-0x270f,'width':0x64,'height':0x64,'angle':0x0,'scaleX':0x1,'scaleY':0x1};function ye(_0x495304,_0xf74936,_0x4f71be,_0x336b85,_0x2112d2){const _0x4c77b4=_0x55b3f9;let {scaleX:_0x21214c,scaleY:_0x53cceb}=_0x4f71be[_0x4c77b4(0x340)](),{startColumn:_0x5082d6,startRow:_0x47ccb3,xSplit:_0x5384e9,ySplit:_0x57912d}=_0x336b85[_0x4c77b4(0x238)][_0x4c77b4(0x24d)](),_0x1b77bf=_0x4f71be[_0x4c77b4(0x341)](_0x2112d2[_0x4c77b4(0x2ad)]),_0x179652=_0x4f71be['getViewport'](_0x2112d2['leftTop']),_0x2dafda=_0x4f71be[_0x4c77b4(0x341)](_0x2112d2['top']),_0x391e61=_0x4f71be[_0x4c77b4(0x341)](_0x2112d2['left']),{rowHeaderWidth:_0x395426,columnHeaderHeight:_0xc01a42}=_0x336b85,_0x56636b=_0x336b85['rowStartY'](_0x47ccb3)+_0xc01a42,_0x580e62=_0x336b85[_0x4c77b4(0x381)](_0x5082d6)+_0x395426,_0x148e65=_0x336b85[_0x4c77b4(0x224)](_0x47ccb3-_0x57912d)+_0xc01a42,_0x28173a=_0x336b85[_0x4c77b4(0x381)](_0x5082d6-_0x5384e9)+_0x395426,_0x5cd5d9=[],_0x3c9a85=(_0x842f40,_0x19caa4,_0x26b750)=>{if(!_0x842f40)return null;let {viewportScrollX:_0xdca34d,viewportScrollY:_0x4f892c}=_0x842f40,_0x46a163,_0x9e1a7d;return _0x46a163=_0x19caa4?(_0x495304-(_0x28173a-_0x395426))*_0x21214c:(_0x495304-_0xdca34d)*_0x21214c,_0x9e1a7d=_0x26b750?(_0xf74936-(_0x148e65-_0xc01a42))*_0x53cceb:(_0xf74936-_0x4f892c)*_0x53cceb,{'domX':_0x46a163,'domY':_0x9e1a7d};},_0x28d01d=_0x495304<_0x580e62&&_0x5384e9>0x0,_0x2b8928=_0xf74936<_0x56636b&&_0x57912d>0x0,_0x50fefd=_0x495304>=_0x580e62||_0x5384e9===0x0,_0x50e829=_0xf74936>=_0x56636b||_0x57912d===0x0;if(_0x28d01d&&_0x2b8928&&_0x179652){let _0x26f663=_0x3c9a85(_0x179652,!0x0,!0x0);_0x26f663&&_0x5cd5d9[_0x4c77b4(0x1e2)](_0x26f663);}if(_0x2b8928&&_0x50fefd&&_0x2dafda){let _0x41ef11=_0x3c9a85(_0x2dafda,!0x1,!0x0);_0x41ef11&&_0x5cd5d9[_0x4c77b4(0x1e2)](_0x41ef11);}if(_0x28d01d&&_0x50e829&&_0x391e61){let _0x135f8f=_0x3c9a85(_0x391e61,!0x0,!0x1);_0x135f8f&&_0x5cd5d9['push'](_0x135f8f);}if(_0x50fefd&&_0x50e829&&_0x1b77bf){let _0x40f0c3=_0x3c9a85(_0x1b77bf,!0x1,!0x1);_0x40f0c3&&_0x5cd5d9[_0x4c77b4(0x1e2)](_0x40f0c3);}if(_0x5cd5d9[_0x4c77b4(0x2e1)]===0x0){var _0x8b7902,_0xfb3b8;return{'domX':(_0x495304-((_0x8b7902=_0x1b77bf==null?void 0x0:_0x1b77bf['viewportScrollX'])==null?0x0:_0x8b7902))*_0x21214c,'domY':(_0xf74936-((_0xfb3b8=_0x1b77bf==null?void 0x0:_0x1b77bf['viewportScrollY'])==null?0x0:_0xfb3b8))*_0x53cceb};}let _0x5bb7d2=_0x5cd5d9[0x0][_0x4c77b4(0x179)],_0x48bc0d=_0x5cd5d9[0x0][_0x4c77b4(0x2e9)];for(let _0x528f16 of _0x5cd5d9)_0x528f16[_0x4c77b4(0x179)]>_0x5bb7d2&&(_0x5bb7d2=_0x528f16['domX']),_0x528f16[_0x4c77b4(0x2e9)]>_0x48bc0d&&(_0x48bc0d=_0x528f16[_0x4c77b4(0x2e9)]);return{'domX':_0x5bb7d2,'domY':_0x48bc0d};}function be(_0x31ecdc,_0x4c8cc9,_0x185797,_0xb7a39c,_0xf3b01b,_0x30e51d,_0x3dc7a6,_0x41c8c1){const _0x3ac93f=_0x55b3f9;let {scaleX:_0x498ce1,scaleY:_0x2277d6}=_0x30e51d[_0x3ac93f(0x340)]();if(!_0x41c8c1||!_0x3dc7a6[_0x3ac93f(0x248)]||!_0x3dc7a6[_0x3ac93f(0x106)]||!_0x3dc7a6[_0x3ac93f(0xf8)]){var _0x3926d6,_0x4cb12d;let _0x4afe65=_0x30e51d['getViewport'](_0x3dc7a6[_0x3ac93f(0x2ad)]),_0x1610b1=(_0x3926d6=_0x4afe65==null?void 0x0:_0x4afe65['viewportScrollX'])==null?0x0:_0x3926d6,_0x599e4b=(_0x4cb12d=_0x4afe65==null?void 0x0:_0x4afe65['viewportScrollY'])==null?0x0:_0x4cb12d;return{'left':(_0x31ecdc-_0x1610b1)*_0x498ce1,'top':(_0x4c8cc9-_0x599e4b)*_0x2277d6,'width':_0x185797*_0x498ce1,'height':_0xb7a39c*_0x2277d6,'angle':_0xf3b01b,'scaleX':_0x498ce1,'scaleY':_0x2277d6};}let {domX:_0x48b869,domY:_0x135d09}=ye(_0x31ecdc,_0x4c8cc9,_0x30e51d,_0x41c8c1,_0x3dc7a6);return{'left':_0x48b869,'top':_0x135d09,'width':_0x185797*_0x498ce1,'height':_0xb7a39c*_0x2277d6,'angle':_0xf3b01b,'scaleX':_0x498ce1,'scaleY':_0x2277d6};}function xe(_0x45618c){const _0x133ba7=_0x55b3f9;let {editingParams:_0x50412f,scene:_0x13efab,skeleton:_0x203707,viewportKeys:_0x5970dc,getShapeTransform:_0x284abc}=_0x45618c,[_0x541ce4,_0x4aebf5]=(0x0,n[_0x133ba7(0x1ea)])(ve),_0x1b554a=(0x0,n['useRef'])(_0x541ce4);_0x1b554a[_0x133ba7(0x2d1)]=_0x541ce4;let _0x14fe4c=(0x0,n[_0x133ba7(0x308)])(()=>{const _0x5a943a=_0x133ba7;if(!_0x50412f||!_0x13efab){_e(_0x1b554a[_0x5a943a(0x2d1)],ve)||_0x4aebf5(ve);return;}let _0x2977ae=_0x284abc();if(!_0x2977ae){_e(_0x1b554a[_0x5a943a(0x2d1)],ve)||_0x4aebf5(ve);return;}let {left:_0x474be8,top:_0x2a5c24,width:_0x5daa2a,height:_0x5ba432,angle:_0x54ed30}=_0x2977ae;if(!_0x50412f[_0x5a943a(0x1da)]){let {scaleX:_0x527e4c,scaleY:_0x5e3d73}=_0x13efab[_0x5a943a(0x340)](),_0x312b93={'left':-0x270f,'top':-0x270f,'width':_0x5daa2a*_0x527e4c,'height':_0x5ba432*_0x5e3d73,'angle':0x0,'scaleX':_0x527e4c,'scaleY':_0x5e3d73};_0x4aebf5(_0x550952=>_e(_0x550952,_0x312b93)?_0x550952:_0x312b93);return;}let _0x130259=be(_0x474be8,_0x2a5c24,_0x5daa2a,_0x5ba432,_0x54ed30,_0x13efab,_0x5970dc,_0x203707);_0x4aebf5(_0x5c5c87=>_e(_0x5c5c87,_0x130259)?_0x5c5c87:_0x130259);},[_0x50412f,_0x13efab,_0x203707,_0x5970dc,_0x284abc]);return(0x0,n[_0x133ba7(0x352)])(()=>{_0x14fe4c();},[_0x50412f,_0x14fe4c]),{'position':_0x541ce4,'updatePosition':_0x14fe4c};}function Se(_0x2d4c0e){const _0x25b690=_0x55b3f9;var _0x5e3ef7;let _0x5aece2=(_0x5e3ef7=_0x2d4c0e[_0x25b690(0x315)])==null?void 0x0:_0x5e3ef7[_0x25b690(0x1dc)],_0x26577e,_0xd7fa9d=!0x1;if(!_0x5aece2)return{'hasParagraphAlign':_0xd7fa9d,'isMixed':!0x1};for(let _0x344b75 of _0x5aece2){var _0x58d736;let _0x2a9216=(_0x58d736=_0x344b75[_0x25b690(0x1b4)])==null?void 0x0:_0x58d736['horizontalAlign'];if(_0x2a9216!==void 0x0){if(!_0xd7fa9d){_0x26577e=_0x2a9216,_0xd7fa9d=!0x0;continue;}if(_0x26577e!==_0x2a9216)return{'hasParagraphAlign':!0x0,'isMixed':!0x0};}}return{'horizontalAlign':_0x26577e,'hasParagraphAlign':_0xd7fa9d,'isMixed':!0x1};}function Ce(_0x3bd932,_0x4b2c84={}){const _0x3a279d=_0x55b3f9;var _0x269c19,_0x3955a9,_0x391d72;let _0x46605f=(_0x269c19=_0x3bd932['documentStyle'])==null?void 0x0:_0x269c19[_0x3a279d(0x2fb)],_0x2a5d42=Se(_0x3bd932);return{'horizontalAlign':_0x2a5d42['hasParagraphAlign']?_0x2a5d42['isMixed']?void 0x0:_0x2a5d42[_0x3a279d(0x2bf)]:(_0x3955a9=_0x46605f==null?void 0x0:_0x46605f['horizontalAlign'])==null?_0x4b2c84[_0x3a279d(0x2bf)]:_0x3955a9,'verticalAlign':(_0x391d72=_0x46605f==null?void 0x0:_0x46605f[_0x3a279d(0x1ce)])==null?_0x4b2c84['verticalAlign']:_0x391d72};}function we(_0x458a86,_0x1a06fe){const _0x545911=_0x55b3f9;var _0x5d2fe8;let _0x59818c=(_0x5d2fe8=_0x458a86[_0x545911(0x3b7)])==null?{}:_0x5d2fe8,_0x381d9e={..._0x59818c[_0x545911(0x2fb)]};if(_0x1a06fe[_0x545911(0x1ce)]!==void 0x0&&(_0x381d9e[_0x545911(0x1ce)]=_0x1a06fe['verticalAlign']),_0x1a06fe['horizontalAlign']!==void 0x0){var _0x5165f2;_0x381d9e[_0x545911(0x2bf)]=_0x1a06fe[_0x545911(0x2bf)];let _0x11d77d=(_0x5165f2=_0x458a86['body'])==null?void 0x0:_0x5165f2['paragraphs'];if(_0x11d77d){for(let _0x466c00 of _0x11d77d)_0x466c00[_0x545911(0x1b4)]={..._0x466c00[_0x545911(0x1b4)],'horizontalAlign':_0x1a06fe[_0x545911(0x2bf)]};}}_0x458a86[_0x545911(0x3b7)]={..._0x59818c,'renderConfig':Object['keys'](_0x381d9e)[_0x545911(0x2e1)]>0x0?_0x381d9e:void 0x0};}function Te(_0x391e7b){const _0x328683=_0x55b3f9;var _0x9db080,_0x4ef28,_0x3d8892,_0x3b53aa;let _0x3aa2b8=(_0x9db080=(_0x4ef28=_0x391e7b[_0x328683(0x315)])==null||(_0x4ef28=_0x4ef28['dataStream'])==null?void 0x0:_0x4ef28[_0x328683(0x2e1)])==null?0x0:_0x9db080,_0x76b07d=(_0x3d8892=_0x391e7b[_0x328683(0x315)])==null?void 0x0:_0x3d8892[_0x328683(0x388)];if(_0x76b07d!=null&&_0x76b07d['length'])for(let _0x622816 of _0x76b07d){var _0x17c107;_0x622816[_0x328683(0x1d2)]=(_0x17c107=_0x622816['gridType'])==null?a[_0x328683(0x1a9)][_0x328683(0x1ff)]:_0x17c107;}else _0x391e7b[_0x328683(0x315)]&&(_0x391e7b[_0x328683(0x315)]['sectionBreaks']=[{'startIndex':Math[_0x328683(0x23d)](0x0,_0x3aa2b8-0x1),'gridType':a[_0x328683(0x1a9)][_0x328683(0x1ff)]}]);let _0x32e15c=(_0x3b53aa=_0x391e7b[_0x328683(0x315)])==null?void 0x0:_0x3b53aa[_0x328683(0x1dc)];if(_0x32e15c)for(let _0x21fb70 of _0x32e15c){var _0x53b264,_0x349b6b,_0xc05da7,_0x24ae31,_0x4adfd2,_0x127a4b,_0x47b147,_0x5e6e8a;_0x21fb70[_0x328683(0x1b4)]={..._0x21fb70['paragraphStyle'],'lineSpacing':(_0x53b264=(_0x349b6b=_0x21fb70[_0x328683(0x1b4)])==null?void 0x0:_0x349b6b['lineSpacing'])==null?0x1:_0x53b264,'snapToGrid':(_0xc05da7=(_0x24ae31=_0x21fb70[_0x328683(0x1b4)])==null?void 0x0:_0x24ae31['snapToGrid'])==null?a[_0x328683(0x317)][_0x328683(0x177)]:_0xc05da7,'spaceAbove':(_0x4adfd2=(_0x127a4b=_0x21fb70['paragraphStyle'])==null?void 0x0:_0x127a4b[_0x328683(0x1e7)])==null?{'v':0x0}:_0x4adfd2,'spaceBelow':(_0x47b147=(_0x5e6e8a=_0x21fb70['paragraphStyle'])==null?void 0x0:_0x5e6e8a['spaceBelow'])==null?{'v':0x0}:_0x47b147};}}function Ee(_0x4fbe93){const _0x31ec18=_0x55b3f9;let _0xa03800=_0x4fbe93[_0x31ec18(0x315)],_0x13ba68=_0xa03800==null?void 0x0:_0xa03800[_0x31ec18(0x1dc)],_0x5db8a3=_0xa03800==null?void 0x0:_0xa03800[_0x31ec18(0x354)];if(!_0xa03800||!(_0x13ba68!=null&&_0x13ba68[_0x31ec18(0x2e1)])||!_0x5db8a3)return;let _0x5c8ffb=[];for(let _0x42be9d=0x0;_0x42be9d<_0x5db8a3['length'];_0x42be9d++)_0x5db8a3[_0x42be9d]==='\x0d'&&_0x5c8ffb[_0x31ec18(0x1e2)](_0x42be9d);_0x5c8ffb[_0x31ec18(0x2e1)]===_0x13ba68[_0x31ec18(0x2e1)]&&(_0xa03800[_0x31ec18(0x1dc)]=_0x13ba68['map']((_0x4c9d55,_0xa19c5c)=>({..._0x4c9d55,'startIndex':_0x5c8ffb[_0xa19c5c]})));}function De(_0x22940b,_0x335ccd){const _0xcaf13e=_0x55b3f9;var _0x166498,_0x676ded,_0x440f65,_0x89d1f6,_0x2d0193,_0x5c424a,_0x2e68c3,_0x50a542,_0xa15d1e,_0x3ca671,_0x2d4132;let {isHorizontal:_0x5c7334,textRect:_0x2f51d3}=_0x335ccd,_0x42a810=_0x5c7334?_0x2f51d3[_0xcaf13e(0x10f)]:_0x2f51d3[_0xcaf13e(0x11c)],_0x4942c9=a[_0xcaf13e(0x31a)]['deepClone'](_0x22940b),_0x22ef5c=(_0x166498=_0x4942c9[_0xcaf13e(0x3b7)])==null?{}:_0x166498,_0x2e727b={..._0x22ef5c[_0xcaf13e(0x2fb)],'centerAngle':_0x5c7334?0x0:u['VERTICAL_ROTATE_ANGLE'],'vertexAngle':_0x5c7334?0x0:u[_0xcaf13e(0x27f)],'wrapStrategy':(_0x676ded=(_0x440f65=_0x335ccd[_0xcaf13e(0x3b9)])==null?(_0x89d1f6=_0x22ef5c[_0xcaf13e(0x2fb)])==null?void 0x0:_0x89d1f6[_0xcaf13e(0x3b9)]:_0x440f65)==null?a[_0xcaf13e(0x303)][_0xcaf13e(0x23b)]:_0x676ded,'zeroWidthParagraphBreak':(_0x2d0193=(_0x5c424a=_0x22ef5c[_0xcaf13e(0x2fb)])==null?void 0x0:_0x5c424a[_0xcaf13e(0x273)])==null?a[_0xcaf13e(0x317)][_0xcaf13e(0x1a0)]:_0x2d0193,'shapeTextOpticalVerticalAlign':_0x5c7334?(_0x2e68c3=(_0x50a542=_0x22ef5c['renderConfig'])==null?void 0x0:_0x50a542[_0xcaf13e(0x21c)])==null?a[_0xcaf13e(0x317)][_0xcaf13e(0x1a0)]:_0x2e68c3:a[_0xcaf13e(0x317)]['FALSE']};_0x4942c9[_0xcaf13e(0x3b7)]={..._0x22ef5c,'documentFlavor':a[_0xcaf13e(0x147)][_0xcaf13e(0x284)],'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x42a810,'height':0x1/0x0},'renderConfig':_0x2e727b},Ee(_0x4942c9),Te(_0x4942c9);let _0x5afba0=Ce(_0x4942c9,_0x335ccd);return we(_0x4942c9,{'horizontalAlign':(_0xa15d1e=_0x335ccd[_0xcaf13e(0x2bf)])==null?_0x5afba0[_0xcaf13e(0x2bf)]:_0xa15d1e,'verticalAlign':(_0x3ca671=_0x335ccd[_0xcaf13e(0x1ce)])==null?_0x5afba0[_0xcaf13e(0x1ce)]:_0x3ca671}),(_0x2d4132=_0x4942c9['documentStyle'])==null||(_0x2d4132=_0x2d4132[_0xcaf13e(0x2fb)])==null||delete _0x2d4132['horizontalAlign'],_0x4942c9;}function Oe(_0x2a8dac,_0x38d20b={}){const _0xf88aea=_0x55b3f9;var _0x35a1ec,_0x2955ea,_0x1450da;let _0x29ac49=a[_0xf88aea(0x31a)][_0xf88aea(0x2f2)](_0x2a8dac),_0x565d4a=(_0x35a1ec=_0x29ac49['documentStyle'])==null?{}:_0x35a1ec,_0x210449={..._0x565d4a[_0xf88aea(0x2fb)]},_0x2aa576=Ce(_0x29ac49,_0x38d20b),_0x43f459=(_0x2955ea=_0x38d20b[_0xf88aea(0x2bf)])==null?_0x2aa576['horizontalAlign']:_0x2955ea,_0x18026f=(_0x1450da=_0x38d20b[_0xf88aea(0x1ce)])==null?_0x2aa576[_0xf88aea(0x1ce)]:_0x1450da;delete _0x210449[_0xf88aea(0x107)],delete _0x210449[_0xf88aea(0x337)],delete _0x210449['wrapStrategy'];let _0x1bd97c=_0x210449['shapeTextOpticalVerticalAlign'];return(_0x1bd97c===a[_0xf88aea(0x317)][_0xf88aea(0x1a0)]||_0x1bd97c===!0x0)&&delete _0x210449['shapeTextOpticalVerticalAlign'],_0x29ac49[_0xf88aea(0x3b7)]={..._0x565d4a,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':0x1/0x0,'height':0x1/0x0},'renderConfig':Object[_0xf88aea(0x121)](_0x210449)[_0xf88aea(0x2e1)]>0x0?_0x210449:void 0x0},we(_0x29ac49,{'horizontalAlign':_0x43f459,'verticalAlign':_0x18026f}),_0x29ac49;}function ke(_0x553a1d){'@babel/helpers - typeof';const _0x3ddc3b=_0x55b3f9;return ke=typeof Symbol==_0x3ddc3b(0x2d0)&&typeof Symbol[_0x3ddc3b(0x1f9)]==_0x3ddc3b(0x1d8)?function(_0x1bc5c6){return typeof _0x1bc5c6;}:function(_0x4e5e29){const _0x563a06=_0x3ddc3b;return _0x4e5e29&&typeof Symbol==_0x563a06(0x2d0)&&_0x4e5e29[_0x563a06(0x1f4)]===Symbol&&_0x4e5e29!==Symbol[_0x563a06(0x30b)]?_0x563a06(0x1d8):typeof _0x4e5e29;},ke(_0x553a1d);}function Ae(_0x5a6628,_0x3ac0a0){const _0x400718=_0x55b3f9;if(ke(_0x5a6628)!=_0x400718(0x233)||!_0x5a6628)return _0x5a6628;var _0x3f8e7e=_0x5a6628[Symbol[_0x400718(0x2cd)]];if(_0x3f8e7e!==void 0x0){var _0x286467=_0x3f8e7e['call'](_0x5a6628,_0x3ac0a0||'default');if(ke(_0x286467)!=_0x400718(0x233))return _0x286467;throw TypeError(_0x400718(0x383));}return(_0x3ac0a0===_0x400718(0x2f9)?String:Number)(_0x5a6628);}function je(_0x434bd7){const _0x32ecc9=_0x55b3f9;var _0x289cb5=Ae(_0x434bd7,_0x32ecc9(0x2f9));return ke(_0x289cb5)==_0x32ecc9(0x1d8)?_0x289cb5:_0x289cb5+'';}function Me(_0x560c07,_0x288f25,_0xb390ec){const _0x516fa8=_0x55b3f9;return(_0x288f25=je(_0x288f25))in _0x560c07?Object[_0x516fa8(0x117)](_0x560c07,_0x288f25,{'value':_0xb390ec,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x560c07[_0x288f25]=_0xb390ec,_0x560c07;}function Ne(_0x450c7f,_0x28dc8b){const _0x9f7c6d=_0x55b3f9;if(_0x450c7f==null||_0x28dc8b==null)return!0x1;let {glyph:_0x2a444c,..._0x1bf41a}=_0x450c7f,{glyph:_0x1ee430,..._0x7dfb8}=_0x28dc8b;return(0x0,a[_0x9f7c6d(0x1f3)])(_0x1bf41a,_0x7dfb8);}var Pe=class extends a[_0x55b3f9(0x376)]{constructor(_0x20f359,_0x5c7b59,_0x631912,_0x28d882,_0x1bf609,_0x23eb88){const _0x6eb058=_0x55b3f9;super(),this['_context']=_0x20f359,this[_0x6eb058(0x208)]=_0x5c7b59,this[_0x6eb058(0x214)]=_0x631912,this['_componentManager']=_0x28d882,this[_0x6eb058(0x394)]=_0x1bf609,this[_0x6eb058(0x16d)]=_0x23eb88,Me(this,_0x6eb058(0x389),null),this[_0x6eb058(0x2a7)][_0x6eb058(0x1dd)]===this[_0x6eb058(0x16d)][_0x6eb058(0x256)]&&(this[_0x6eb058(0x1b5)](this[_0x6eb058(0x3bd)][_0x6eb058(0x2df)](this[_0x6eb058(0x16d)]['componentKey'],this['_config'][_0x6eb058(0x347)])),this[_0x6eb058(0x22e)](),this['disposeWithMe'](()=>this['_hideFloatMenu']()));}[_0x55b3f9(0x22e)](){const _0x1260c4=_0x55b3f9;this[_0x1260c4(0x1b5)](this[_0x1260c4(0x394)][_0x1260c4(0x1e9)][_0x1260c4(0x321)](()=>{const _0x322039=_0x1260c4;this[_0x322039(0x1d0)]();})),this[_0x1260c4(0x1b5)](this['_docSelectionManagerService']['textSelection$'][_0x1260c4(0x321)](_0x4b75bf=>{const _0x4faad5=_0x1260c4;var _0x40e232,_0x3f8573;let {unitId:_0x397faf,textRanges:_0x50ac12}=_0x4b75bf;if(_0x397faf!==this[_0x4faad5(0x2a7)][_0x4faad5(0x1dd)])return;let _0x5e2e63=_0x50ac12[_0x4faad5(0x2e8)](_0x416989=>!_0x416989[_0x4faad5(0x32e)]);if(!_0x5e2e63){this[_0x4faad5(0x1d0)]();return;}_0x5e2e63['startOffset']===((_0x40e232=this[_0x4faad5(0x389)])==null?void 0x0:_0x40e232[_0x4faad5(0x23c)])&&_0x5e2e63[_0x4faad5(0x259)]===((_0x3f8573=this['_floatMenu'])==null?void 0x0:_0x3f8573[_0x4faad5(0x114)])||(this[_0x4faad5(0x1d0)](),this[_0x4faad5(0x226)](_0x397faf,_0x5e2e63));}));}[_0x55b3f9(0x1d0)](){const _0x273b3e=_0x55b3f9;var _0xfdbd17;(_0xfdbd17=this[_0x273b3e(0x389)])==null||_0xfdbd17['disposable'][_0x273b3e(0x262)](),this[_0x273b3e(0x389)]=null;}[_0x55b3f9(0x226)](_0x2ee3e1,_0x70f354){const _0x26822d=_0x55b3f9;this[_0x26822d(0x389)]={'disposable':this[_0x26822d(0x214)][_0x26822d(0x103)](_0x70f354,{'componentKey':this[_0x26822d(0x16d)][_0x26822d(0x3c1)],'direction':_0x70f354[_0x26822d(0x235)]===_0x26822d(0x138)||Ne(_0x70f354[_0x26822d(0x12d)],_0x70f354[_0x26822d(0x2a4)])?_0x26822d(0x2d3):_0x26822d(0x346),'offset':[0x0,0x4]},_0x2ee3e1),'start':_0x70f354['startOffset'],'end':_0x70f354[_0x26822d(0x259)]};}};function Fe(_0x5ae7e5,_0x39653b){const _0x12b6f6=_0x55b3f9;return Math[_0x12b6f6(0x112)](_0x5ae7e5['editorLeft']-_0x39653b[_0x12b6f6(0x351)])<=0.001&&Math[_0x12b6f6(0x112)](_0x5ae7e5[_0x12b6f6(0x279)]-_0x39653b[_0x12b6f6(0x279)])<=0.001&&Math[_0x12b6f6(0x112)](_0x5ae7e5['editorWidth']-_0x39653b[_0x12b6f6(0x239)])<=0.001&&Math[_0x12b6f6(0x112)](_0x5ae7e5[_0x12b6f6(0x13f)]-_0x39653b[_0x12b6f6(0x13f)])<=0.001;}function Ie(_0x452ada){const _0x33c423=_0x55b3f9;return _0x452ada===!0x0||_0x452ada===a[_0x33c423(0x317)][_0x33c423(0x1a0)];}function Le(_0x37e1bf){const _0x3feaa8=_0x55b3f9;return typeof(_0x37e1bf==null?void 0x0:_0x37e1bf[_0x3feaa8(0x2c2)])==_0x3feaa8(0x2f9)&&_0x37e1bf[_0x3feaa8(0x2c2)][_0x3feaa8(0x39f)]()[_0x3feaa8(0x2e1)]>0x0;}function Re(_0x445315,_0xf02d3e,_0x5d3ed1){const _0x50bf36=_0x55b3f9;var _0x9177d9;if(_0x5d3ed1===void 0x0||_0x5d3ed1===a[_0x50bf36(0x111)][_0x50bf36(0x2fd)])return 0x0;let _0x360ee0=_0x445315[_0x50bf36(0x2fe)]();if(!(!(_0x360ee0==null||(_0x9177d9=_0x360ee0[_0x50bf36(0x2a1)])==null)&&_0x9177d9['length']))return 0x0;let _0x2b64e2=0x1/0x0,_0x58ed12=-0x1/0x0,_0x28f50b=0x0;for(let _0x5c433c of _0x360ee0[_0x50bf36(0x2a1)]){var _0x1b8a42,_0x2ca42d;let _0x488e83=(_0x1b8a42=_0x5c433c[_0x50bf36(0x289)])==null?0x0:_0x1b8a42;for(let _0x4d5ab9 of(_0x2ca42d=_0x5c433c[_0x50bf36(0x253)])==null?[]:_0x2ca42d){var _0x44a10d,_0x5834c2;let _0x4d8ee3=(_0x44a10d=_0x4d5ab9[_0x50bf36(0x106)])==null?0x0:_0x44a10d;for(let _0x3ee014 of(_0x5834c2=_0x4d5ab9[_0x50bf36(0x3c6)])==null?[]:_0x5834c2){var _0xf48081;for(let _0x57a223 of(_0xf48081=_0x3ee014[_0x50bf36(0x1fc)])==null?[]:_0xf48081){var _0x28895e,_0x2f8c46,_0x4699c4,_0x2bc2b2,_0x5ccea2;let _0x510643=_0x28f50b+_0x488e83+_0x4d8ee3+((_0x28895e=_0x57a223[_0x50bf36(0x106)])==null?0x0:_0x28895e)+((_0x2f8c46=_0x57a223[_0x50bf36(0x289)])==null?0x0:_0x2f8c46)+((_0x4699c4=_0x57a223[_0x50bf36(0x320)])==null?0x0:_0x4699c4)+((_0x2bc2b2=_0x57a223[_0x50bf36(0x22b)])==null?0x0:_0x2bc2b2);for(let _0x174780 of(_0x5ccea2=_0x57a223[_0x50bf36(0x1be)])==null?[]:_0x5ccea2){var _0x2141ef;for(let _0x1c4b0a of(_0x2141ef=_0x174780['glyphGroup'])==null?[]:_0x2141ef){var _0x521666,_0x334679,_0x3e1944,_0x1c9848;Le(_0x1c4b0a)&&(_0x2b64e2=Math[_0x50bf36(0x301)](_0x2b64e2,_0x510643-((_0x521666=(_0x334679=_0x1c4b0a[_0x50bf36(0x223)])==null?void 0x0:_0x334679[_0x50bf36(0x282)])==null?0x0:_0x521666)),_0x58ed12=Math['max'](_0x58ed12,_0x510643+((_0x3e1944=(_0x1c9848=_0x1c4b0a['bBox'])==null?void 0x0:_0x1c9848[_0x50bf36(0x332)])==null?0x0:_0x3e1944)));}}}}}let _0x46eac6=Number['isFinite'](_0x5c433c['pageHeight'])?_0x5c433c[_0x50bf36(0x134)]:_0x5c433c[_0x50bf36(0x11c)];_0x28f50b+=_0x46eac6==null?0x0:_0x46eac6;}return!Number[_0x50bf36(0x241)](_0x2b64e2)||!Number['isFinite'](_0x58ed12)?0x0:_0x5d3ed1===a[_0x50bf36(0x111)][_0x50bf36(0x225)]?_0xf02d3e-_0x58ed12:_0x5d3ed1===a[_0x50bf36(0x111)][_0x50bf36(0x2dc)]?_0xf02d3e/0x2-(_0x2b64e2+_0x58ed12)/0x2:_0x5d3ed1===a[_0x50bf36(0x111)][_0x50bf36(0x2ca)]?-_0x2b64e2:0x0;}function ze(_0x4b4f36){const _0xd7c0b2=_0x55b3f9;let {editorUnitId:_0x27e37a,editingParams:_0x1c9cb4}=_0x4b4f36;return _0x1c9cb4?[_0x27e37a,_0x1c9cb4[_0xd7c0b2(0x1dd)],_0x1c9cb4['subUnitId'],_0x1c9cb4[_0xd7c0b2(0x197)],_0x1c9cb4['shapeKey'],_0x1c9cb4[_0xd7c0b2(0x1da)]?_0xd7c0b2(0x1da):'hidden']['join']('|'):null;}function Be(_0x8744e2){const _0x1df4fb=_0x55b3f9;var _0x5a22d1,_0x1df7da;let _0x2f40b2=_0x8744e2;return(_0x2f40b2==null?void 0x0:_0x2f40b2[_0x1df4fb(0x1c4)])===_0x1df4fb(0x39c)?a[_0x1df4fb(0x303)]['CLIP']:(_0x2f40b2==null?void 0x0:_0x2f40b2[_0x1df4fb(0x1c4)])===_0x1df4fb(0x300)||(_0x5a22d1=_0x2f40b2==null||(_0x1df7da=_0x2f40b2[_0x1df4fb(0x1c2)])==null||(_0x1df7da=_0x1df7da[_0x1df4fb(0x15c)])==null||(_0x1df7da=_0x1df7da[_0x1df4fb(0x3b7)])==null||(_0x1df7da=_0x1df7da[_0x1df4fb(0x2fb)])==null?void 0x0:_0x1df7da[_0x1df4fb(0x3b9)])==null?a[_0x1df4fb(0x303)][_0x1df4fb(0x23b)]:_0x5a22d1;}function Ve(_0x1e6ddd){const _0x312781=_0x55b3f9;var _0x201785;let _0x2ac437=(_0x201785=_0x1e6ddd['tolerance'])==null?0x1:_0x201785;return Math[_0x312781(0x112)](_0x1e6ddd[_0x312781(0x3d2)]-_0x1e6ddd['baselineWidth'])>_0x2ac437||Math['abs'](_0x1e6ddd[_0x312781(0x1d3)]-_0x1e6ddd[_0x312781(0x3a8)])>_0x2ac437;}function He(_0x3ff82c){const _0xb3e8d9=_0x55b3f9;var _0xe1b12,_0x45be8d;let {adapter:_0x3883da,editingParams:_0x3424ea}=_0x3ff82c;return!_0x3883da[_0xb3e8d9(0x281)]||!_0x3424ea?!0x1:(_0xe1b12=(_0x45be8d=_0x3883da[_0xb3e8d9(0x336)])==null?void 0x0:_0x45be8d['call'](_0x3883da,_0x3424ea))==null?!0x0:_0xe1b12;}function Ue(_0x2e13fd){const _0x3813a2=_0x55b3f9;return _0x2e13fd[_0x3813a2(0x194)]?a[_0x3813a2(0x111)][_0x3813a2(0x2ca)]:_0x2e13fd[_0x3813a2(0x1ce)];}function We(_0x589c71){const _0x281a9d=_0x55b3f9;let {actualHeight:_0x22d013,opticalVerticalOffset:_0x23ce82,scaleX:_0x37b60b,scaleY:_0x567486,textRect:_0x8378f9,verticalAlign:_0x154974}=_0x589c71,_0x5a64ac=Math[_0x281a9d(0x23d)](0x1,_0x8378f9[_0x281a9d(0x11c)]),_0xe906c8=Math[_0x281a9d(0x23d)](_0x5a64ac,_0x22d013),_0x2c8675=0x0,_0x2c3b84=0x0;return _0x23ce82===void 0x0?_0x22d013<=_0x5a64ac?_0x154974===a['VerticalAlign'][_0x281a9d(0x2dc)]?_0x2c3b84=(_0x5a64ac-_0x22d013)/0x2:_0x154974===a[_0x281a9d(0x111)]['BOTTOM']&&(_0x2c3b84=_0x5a64ac-_0x22d013):_0x154974===a[_0x281a9d(0x111)][_0x281a9d(0x2dc)]?_0x2c8675=(_0x5a64ac-_0x22d013)/0x2:_0x154974===a[_0x281a9d(0x111)][_0x281a9d(0x225)]&&(_0x2c8675=_0x5a64ac-_0x22d013):_0x23ce82<0x0?_0x2c8675=_0x23ce82:_0x2c3b84=_0x23ce82,{'documentMarginTop':_0x2c3b84,'editorLeft':Math[_0x281a9d(0x23d)](0x0,_0x8378f9[_0x281a9d(0xf8)])*_0x37b60b,'editorTop':(Math[_0x281a9d(0x23d)](0x0,_0x8378f9[_0x281a9d(0x106)])+_0x2c8675)*_0x567486,'editorWidth':Math[_0x281a9d(0x23d)](0x1,_0x8378f9[_0x281a9d(0x10f)])*_0x37b60b,'editorHeight':_0xe906c8*_0x567486,'pageHeight':_0xe906c8};}function Ge(_0xeaaa88){const _0x3256b8=_0x55b3f9;let {allowShrink:_0x115b51=!0x1,hostWidth:_0x4a16d1,hostHeight:_0x33b788,textRect:_0x30c160,contentWidth:_0x12ff3e,contentHeight:_0x423e23}=_0xeaaa88,_0xff80eb=Number['isFinite'](_0x4a16d1)&&_0x4a16d1>0x0?_0x4a16d1:0x1,_0x59f865=Number[_0x3256b8(0x241)](_0x33b788)&&_0x33b788>0x0?_0x33b788:0x1,_0x48c812=Math['max'](0x0,_0x30c160['left']),_0x938d4d=Math[_0x3256b8(0x23d)](0x0,_0x30c160[_0x3256b8(0x106)]),_0x346f74=Math[_0x3256b8(0x23d)](0x1,_0x30c160[_0x3256b8(0x10f)]),_0x5a0cf7=Math['max'](0x1,_0x30c160['height']),_0x28c53c=Math[_0x3256b8(0x23d)](0x0,_0xff80eb-_0x48c812-_0x346f74),_0x500804=Math[_0x3256b8(0x23d)](0x0,_0x59f865-_0x938d4d-_0x5a0cf7),_0xa47589=Math[_0x3256b8(0x23d)](0x1,_0x115b51?_0x12ff3e:Math[_0x3256b8(0x23d)](_0x346f74,_0x12ff3e)),_0x585a42=Math[_0x3256b8(0x23d)](0x1,_0x115b51?_0x423e23:Math[_0x3256b8(0x23d)](_0x5a0cf7,_0x423e23)),_0x3a8777=Math[_0x3256b8(0x37f)](_0x48c812+_0xa47589+_0x28c53c),_0x224afe=Math['ceil'](_0x938d4d+_0x585a42+_0x500804);return{'width':_0x115b51?_0x3a8777:Math['max'](_0xff80eb,_0x3a8777),'height':_0x115b51?_0x224afe:Math['max'](_0x59f865,_0x224afe)};}function Ke(_0x185900,_0x973371,_0x163fb9,_0x431239){const _0x7fffa3=_0x55b3f9;return{'top':_0x431239===void 0x0?0x0:_0x973371,'left':_0x163fb9===void 0x0?0x0:_0x185900,'width':_0x163fb9==null?_0x185900:_0x163fb9,'height':_0x431239==null?_0x973371:_0x431239,'borderColor':_0x7fffa3(0x33c),'outlineColor':_0x7fffa3(0x33c),'backgroundColor':_0x7fffa3(0x33c)};}function qe(_0x53c541,..._0x369828){const _0x2a636e=_0x55b3f9;_0x53c541['setDocumentData'](..._0x369828),_0x53c541[_0x2a636e(0x1b0)]();}function Je(_0xf0dc39){const _0x37983b=_0x55b3f9;var _0x3de6c2,_0x4800d6;let _0x740dfa=_0xf0dc39==null||(_0x3de6c2=_0xf0dc39[_0x37983b(0x36c)])==null||(_0x4800d6=_0x3de6c2[_0x37983b(0x25e)])==null?void 0x0:_0x4800d6[_0x37983b(0x10e)](_0x3de6c2);_0x740dfa&&(_0x740dfa[_0x37983b(0x338)][_0x37983b(0xf6)]=_0x37983b(0x33c));}function Ye(_0x3bf5c0){const _0x3fb7e1=_0x55b3f9;var _0x356375,_0x1a58ea;let _0x50ea0d=_0x2d702a=>{const _0x38b38a=_0x3eb8;if(!_0x2d702a||typeof _0x2d702a!=_0x38b38a(0x233))return;let _0xe1a404=_0x2d702a;_0xe1a404[_0x38b38a(0x28c)]!==void 0x0&&(_0xe1a404[_0x38b38a(0x28c)]=0x0),_0xe1a404[_0x38b38a(0x2f7)]!==void 0x0&&(_0xe1a404[_0x38b38a(0x2f7)]=0x0);};_0x50ea0d(_0x3bf5c0==null?void 0x0:_0x3bf5c0[_0x3fb7e1(0x260)]),_0x3bf5c0==null||(_0x356375=_0x3bf5c0[_0x3fb7e1(0x17e)])==null||(_0x1a58ea=_0x356375[_0x3fb7e1(0x129)])==null||_0x1a58ea[_0x3fb7e1(0x10e)](_0x356375,_0x50ea0d);}function Xe(_0xc00e43,_0x1b8ea0){const _0x5673bd=_0x55b3f9;let _0x1b8455=o[_0x5673bd(0x32c)]['CTRL_COMMAND'],_0x3dd069=o[_0x5673bd(0x32c)]['CTRL_COMMAND']|o[_0x5673bd(0x32c)][_0x5673bd(0x3cc)];return{'keyCodes':[{'keyCode':o['KeyCode']['ENTER']},{'keyCode':o['KeyCode'][_0x5673bd(0x2fa)]},{'keyCode':o['KeyCode'][_0x5673bd(0x2c4)]},{'keyCode':o[_0x5673bd(0x297)]['A'],'metaKey':_0x1b8455},{'keyCode':o[_0x5673bd(0x297)]['B'],'metaKey':_0x1b8455},{'keyCode':o['KeyCode']['I'],'metaKey':_0x1b8455},{'keyCode':o[_0x5673bd(0x297)]['U'],'metaKey':_0x1b8455},{'keyCode':o[_0x5673bd(0x297)]['X'],'metaKey':_0x3dd069},{'keyCode':o[_0x5673bd(0x297)][_0x5673bd(0x198)],'metaKey':_0x1b8455},{'keyCode':o[_0x5673bd(0x297)][_0x5673bd(0x2de)],'metaKey':_0x1b8455},{'keyCode':o[_0x5673bd(0x297)]['L'],'metaKey':_0x3dd069},{'keyCode':o[_0x5673bd(0x297)]['R'],'metaKey':_0x3dd069},{'keyCode':o[_0x5673bd(0x297)]['E'],'metaKey':_0x3dd069},{'keyCode':o[_0x5673bd(0x297)]['J'],'metaKey':_0x3dd069},{'keyCode':o['KeyCode']['Digit7'],'metaKey':_0x3dd069},{'keyCode':o[_0x5673bd(0x297)][_0x5673bd(0x316)],'metaKey':_0x3dd069},{'keyCode':o[_0x5673bd(0x297)]['Z'],'metaKey':_0x1b8455},{'keyCode':o[_0x5673bd(0x297)]['Y'],'metaKey':_0x1b8455},{'keyCode':o[_0x5673bd(0x297)]['Z'],'metaKey':_0x3dd069}],'handler':(_0x40b888,_0x166bfb)=>{const _0x316640=_0x5673bd;switch(_0x40b888+':'+(_0x166bfb==null?0x0:_0x166bfb)){case o['KeyCode']['ENTER']+':0':_0xc00e43[_0x316640(0x39b)](l['BreakLineCommand']['id']);break;case o[_0x316640(0x297)]['BACKSPACE']+':0':_0xc00e43[_0x316640(0x39b)](l[_0x316640(0x3bc)]['id']);break;case o[_0x316640(0x297)][_0x316640(0x2c4)]+':0':_0xc00e43['executeCommand'](l['DeleteRightCommand']['id']);break;case o['KeyCode']['A']+':'+_0x1b8455:_0xc00e43['executeCommand'](l[_0x316640(0x124)]['id']);break;case o['KeyCode']['B']+':'+_0x1b8455:_0xc00e43['executeCommand'](l[_0x316640(0x2f5)]['id']);break;case o[_0x316640(0x297)]['I']+':'+_0x1b8455:_0xc00e43[_0x316640(0x39b)](l[_0x316640(0x109)]['id']);break;case o[_0x316640(0x297)]['U']+':'+_0x1b8455:_0xc00e43[_0x316640(0x39b)](l['SetInlineFormatUnderlineCommand']['id']);break;case o['KeyCode']['X']+':'+_0x3dd069:_0xc00e43[_0x316640(0x39b)](l[_0x316640(0x2e5)]['id']);break;case o[_0x316640(0x297)][_0x316640(0x198)]+':'+_0x1b8455:_0xc00e43[_0x316640(0x39b)](l[_0x316640(0x271)]['id']);break;case o[_0x316640(0x297)]['PERIOD']+':'+_0x1b8455:_0xc00e43['executeCommand'](l[_0x316640(0x2ae)]['id']);break;case o['KeyCode']['L']+':'+_0x3dd069:_0xc00e43['executeCommand'](l[_0x316640(0x391)]['id']);break;case o['KeyCode']['R']+':'+_0x3dd069:_0xc00e43[_0x316640(0x39b)](l[_0x316640(0x38c)]['id']);break;case o[_0x316640(0x297)]['E']+':'+_0x3dd069:_0xc00e43[_0x316640(0x39b)](l[_0x316640(0x32b)]['id']);break;case o['KeyCode']['J']+':'+_0x3dd069:_0xc00e43[_0x316640(0x39b)](l[_0x316640(0x2c9)]['id']);break;case o[_0x316640(0x297)][_0x316640(0x357)]+':'+_0x3dd069:_0xc00e43[_0x316640(0x39b)](l[_0x316640(0x2ed)]['id']);break;case o[_0x316640(0x297)]['Digit8']+':'+_0x3dd069:_0xc00e43['executeCommand'](l[_0x316640(0x363)]['id']);break;case o[_0x316640(0x297)]['Z']+':'+_0x1b8455:_0x1b8ea0?_0x1b8ea0(a[_0x316640(0x10a)]['id']):_0xc00e43['executeCommand'](a['UndoCommand']['id']);break;case o[_0x316640(0x297)]['Y']+':'+_0x1b8455:case o[_0x316640(0x297)]['Z']+':'+_0x3dd069:_0x1b8ea0?_0x1b8ea0(a['RedoCommand']['id']):_0xc00e43[_0x316640(0x39b)](a[_0x316640(0x274)]['id']);break;}}};}const Ze=function(_0x5b47c4){const _0x26e25b=_0x55b3f9;let {adapter:_0xd1fd20,containerWidth:_0x15db49,containerHeight:_0xdacff0,editingParams:_0x57e15f,editingService:_0x17f009,editorUnitId:_0x381234,scaleX:_0x6edff8,scaleY:_0x10ee4b,verticalAlignCommandId:_0x4b2018}=_0x5b47c4,_0x54a4c1=_0x6edff8||0x1,_0x48189a=_0x10ee4b||0x1,_0x49a649=(0x0,o['useDependency'])(l['IEditorService']),_0x44be7d=(0x0,o['useDependency'])(u[_0x26e25b(0x349)]),_0x1cd397=(0x0,o[_0x26e25b(0x176)])(a[_0x26e25b(0x26e)]),_0x5f1b88=(0x0,o[_0x26e25b(0x176)])(a[_0x26e25b(0x1b7)]),_0x9174eb=(0x0,o[_0x26e25b(0x2b2)])(_0x17f009['onSavingEditorData$']),_0xe7b41a=(0x0,n[_0x26e25b(0x333)])(null),_0x28b875=(0x0,n[_0x26e25b(0x333)])(null),_0x2d7cb5=(0x0,n[_0x26e25b(0x333)])(null),_0x1a01e5=(0x0,n[_0x26e25b(0x333)])(null),_0x2213b6=(0x0,n[_0x26e25b(0x333)])(null),_0x34a1e9=(0x0,n[_0x26e25b(0x333)])(null),_0x1bab47=(0x0,n[_0x26e25b(0x333)])({'width':0x0,'height':0x0}),_0x596a7f=(0x0,n['useRef'])(()=>{}),_0x159d38=(0x0,n[_0x26e25b(0x333)])(()=>{}),_0x17cfd5=(0x0,n[_0x26e25b(0x333)])(()=>{}),[_0x1fb976,_0x46cb7d]=(0x0,n[_0x26e25b(0x1ea)])({'editorLeft':0x0,'editorTop':0x0,'editorWidth':_0x15db49,'editorHeight':_0xdacff0}),_0x280b9f=(0x0,n[_0x26e25b(0x308)])(_0x179d6a=>{queueMicrotask(()=>{_0x46cb7d(_0xd88d3=>Fe(_0xd88d3,_0x179d6a)?_0xd88d3:_0x179d6a);});},[]),_0x3f237d=(0x0,n[_0x26e25b(0x308)])(()=>_0x1cd397[_0x26e25b(0x266)](_0x381234,a[_0x26e25b(0x245)]['UNIVER_DOC']),[_0x381234,_0x1cd397]),_0x466a5d=(0x0,n['useCallback'])(()=>{const _0x32d821=_0x26e25b;var _0x7d9e50;let _0x4de744=_0x54a4c1,_0x1645e4=_0x48189a;if(!_0x57e15f)return{'scaleAdjust':0x1,'renderScaleX':_0x4de744,'renderScaleY':_0x1645e4};let _0x308a7d=_0x44be7d[_0x32d821(0x39a)](_0x57e15f['unitId']),_0x23ee41=_0x308a7d==null?void 0x0:_0x308a7d['scene']['getAncestorScale'](),_0x506f83=_0x308a7d==null?void 0x0:_0x308a7d[_0x32d821(0x36c)]['getCanvasElement'](),_0x642c31=_0x506f83?Number[_0x32d821(0x143)](_0x506f83[_0x32d821(0x338)][_0x32d821(0x10f)]||''):0x0,_0xbd097c=(_0x7d9e50=_0x506f83==null?void 0x0:_0x506f83[_0x32d821(0xf5)]()[_0x32d821(0x10f)])==null?0x0:_0x7d9e50,_0x1a7c26=_0x642c31>0x0&&_0xbd097c>0x0?_0xbd097c/_0x642c31:0x1;return{'scaleAdjust':Number['isFinite'](_0x1a7c26)&&_0x1a7c26>0x0?_0x1a7c26:0x1,'renderScaleX':(_0x23ee41==null?void 0x0:_0x23ee41['scaleX'])||_0x4de744,'renderScaleY':(_0x23ee41==null?void 0x0:_0x23ee41[_0x32d821(0x37d)])||_0x1645e4};},[_0x54a4c1,_0x48189a,_0x57e15f,_0x44be7d]),_0x2a07c3=(0x0,n[_0x26e25b(0x308)])(()=>{const _0x3209f4=_0x26e25b;if(!_0x57e15f)return{'left':0x0,'top':0x0,'width':_0x15db49/_0x54a4c1,'height':_0xdacff0/_0x48189a};let {unitId:_0xedf325,subUnitId:_0x3d5922,shapeId:_0x291123}=_0x57e15f,_0x5da7d5=_0xd1fd20[_0x3209f4(0x353)](_0xedf325,_0x3d5922,_0x291123);if(!_0x5da7d5)return{'left':0x0,'top':0x0,'width':_0x15db49/_0x54a4c1,'height':_0xdacff0/_0x48189a};let _0x3d349a={'left':0x0,'top':0x0,'width':_0x15db49/_0x54a4c1,'height':_0xdacff0/_0x48189a};return _0x5da7d5['getShapeTextRect'](_0x3d349a);},[_0xd1fd20,_0x57e15f,_0x15db49,_0xdacff0,_0x54a4c1,_0x48189a]),_0x5f1a25=(0x0,n[_0x26e25b(0x308)])(()=>{const _0x4501ee=_0x26e25b;var _0x12d33d;if(!_0x57e15f)return null;let {unitId:_0x5c3637,subUnitId:_0x4d02df,shapeId:_0x45c152}=_0x57e15f,_0x40b8f7=_0xd1fd20[_0x4501ee(0x353)](_0x5c3637,_0x4d02df,_0x45c152);if(!_0x40b8f7)return null;let _0x18c1e6=_0x40b8f7[_0x4501ee(0x3ac)]();if(!_0x18c1e6)return null;let _0x436de7=(_0x12d33d=_0xd1fd20[_0x4501ee(0x287)](_0x5c3637,_0x4d02df,_0x45c152))==null?{'angle':0x0,'flipX':!0x1,'flipY':!0x1}:_0x12d33d,_0x46d6a0={'left':0x0,'top':0x0,'width':_0x15db49/_0x54a4c1,'height':_0xdacff0/_0x48189a},_0xa119b5=_0x40b8f7[_0x4501ee(0x3a9)](_0x46d6a0),_0x47faac,_0x1f1e1e=a[_0x4501ee(0x111)]['TOP'],_0x5a0b21=a[_0x4501ee(0xff)]['LEFT'];if('dataModel'in _0x18c1e6&&_0x18c1e6[_0x4501ee(0x1c2)]){var _0x49ccdd,_0x315ddb,_0x58cc26,_0x13b662,_0x34cbad,_0x925ed6;let _0x1ea1c0=_0x18c1e6[_0x4501ee(0x1c2)];_0x1ea1c0!=null&&_0x1ea1c0[_0x4501ee(0x15c)]&&(_0x47faac=_0x1ea1c0['doc']),_0x1f1e1e=(_0x49ccdd=(_0x315ddb=_0x1ea1c0==null?void 0x0:_0x1ea1c0['va'])==null?_0x47faac==null||(_0x58cc26=_0x47faac[_0x4501ee(0x3b7)])==null||(_0x58cc26=_0x58cc26[_0x4501ee(0x2fb)])==null?void 0x0:_0x58cc26[_0x4501ee(0x1ce)]:_0x315ddb)==null?a[_0x4501ee(0x111)][_0x4501ee(0x2ca)]:_0x49ccdd,_0x5a0b21=(_0x13b662=(_0x34cbad=_0x1ea1c0==null?void 0x0:_0x1ea1c0['ha'])==null?_0x47faac==null||(_0x925ed6=_0x47faac[_0x4501ee(0x3b7)])==null||(_0x925ed6=_0x925ed6[_0x4501ee(0x2fb)])==null?void 0x0:_0x925ed6[_0x4501ee(0x2bf)]:_0x34cbad)==null?a[_0x4501ee(0xff)][_0x4501ee(0x152)]:_0x13b662;}return{'doc':_0x47faac,'verticalAlign':_0x1f1e1e,'horizontalAlign':_0x5a0b21,'wrapStrategy':Be(_0x18c1e6),'textRect':_0xa119b5,'transform':_0x436de7,'isHorizontal':_0x18c1e6[_0x4501ee(0x1ee)]};},[_0xd1fd20,_0x57e15f,_0x15db49,_0xdacff0,_0x54a4c1,_0x48189a]),_0x197209=(0x0,n[_0x26e25b(0x32a)])(()=>{const _0x11f81c=_0x26e25b;let _0x4eca10=_0x5f1a25();return _0x4eca10!=null&&_0x4eca10[_0x11f81c(0x15c)]?De(_0x4eca10[_0x11f81c(0x15c)],{'isHorizontal':!0x0,'textRect':_0x4eca10[_0x11f81c(0x268)],'verticalAlign':_0x4eca10[_0x11f81c(0x1ce)],'horizontalAlign':_0x4eca10['horizontalAlign'],'wrapStrategy':_0x4eca10[_0x11f81c(0x3b9)]}):{'id':_0x381234,'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,a['createParagraphId'])(new Set())}]},'documentStyle':{'pageSize':{'width':_0x15db49/_0x54a4c1,'height':0x1/0x0}}};},[_0x5f1a25,_0x15db49,_0x54a4c1]),_0x4a6155=(0x0,l[_0x26e25b(0x1ca)])({'editorId':_0x381234,'initialValue':_0x197209,'container':_0x28b875,'autoFocus':!0x1,'canvasStyle':{'backgroundColor':'transparent'},'isSingle':!0x1});(0x0,n[_0x26e25b(0x352)])(()=>{const _0x2795db=_0x26e25b;if(!_0x4a6155)return;let _0x2fa6c3=_0x44be7d[_0x2795db(0x39a)](_0x381234);Je(_0x2fa6c3),Ye(_0x2fa6c3);},[_0x4a6155,_0x381234,_0x44be7d]);let _0x5a6519=(0x0,l[_0x26e25b(0x2a6)])(_0x381234);(0x0,l[_0x26e25b(0x113)])(_0x5a6519,(0x0,n['useMemo'])(()=>Xe(_0x5f1b88,_0x1f2c35=>{const _0x34503a=_0x26e25b;(0x0,l[_0x34503a(0x264)])({'commandId':_0x1f2c35,'commandService':_0x5f1b88,'editorUnitId':_0x381234,'univerInstanceService':_0x1cd397});}),[_0x5f1b88,_0x381234,_0x1cd397]),_0x4a6155),(0x0,l[_0x26e25b(0x191)])(_0x5a6519,!0x1,_0x4a6155),(0x0,n['useEffect'])(()=>{const _0x4c7323=_0x26e25b;_0x1bab47[_0x4c7323(0x2d1)]=_0x57e15f?{'width':_0x15db49/_0x54a4c1,'height':_0xdacff0/_0x48189a}:{'width':0x0,'height':0x0};},[_0x15db49,_0xdacff0,_0x54a4c1,_0x48189a,_0x57e15f==null?void 0x0:_0x57e15f[_0x26e25b(0x197)]]);let _0x27fc96=(0x0,n[_0x26e25b(0x308)])((_0x379a01=!0x0)=>{const _0x179257=_0x26e25b;var _0xa3fe34,_0x364047,_0x4330cc;if(!_0x4a6155)return;let _0x55c2c2=_0x4a6155[_0x179257(0x231)]()['find'](_0x5663c5=>_0x5663c5[_0x179257(0x32e)]),_0x1f1cf6=((_0xa3fe34=(_0x364047=_0x4a6155[_0x179257(0x1d5)]()[_0x179257(0x315)])==null?void 0x0:_0x364047[_0x179257(0x354)][_0x179257(0x2e1)])==null?0x2:_0xa3fe34)-0x2,_0x30e175=(_0x4330cc=_0x55c2c2==null?void 0x0:_0x55c2c2[_0x179257(0x38d)])==null?_0x379a01?_0x1f1cf6:null:_0x4330cc;_0x30e175!==null&&_0x4a6155[_0x179257(0x16e)]([{'startOffset':_0x30e175,'endOffset':_0x30e175}],!0x1);},[_0x4a6155]);_0x159d38['current']=_0x27fc96;let _0x35502c=(0x0,n[_0x26e25b(0x308)])(()=>{const _0x43d20f=_0x26e25b;_0x2213b6['current']!==null&&(cancelAnimationFrame(_0x2213b6[_0x43d20f(0x2d1)]),_0x2213b6[_0x43d20f(0x2d1)]=null),_0x34a1e9['current']!==null&&(window['clearTimeout'](_0x34a1e9[_0x43d20f(0x2d1)]),_0x34a1e9[_0x43d20f(0x2d1)]=null);},[]),_0x5e91ac=(0x0,n[_0x26e25b(0x308)])(()=>{const _0x13db62=_0x26e25b;var _0x6d8341,_0x413cdd,_0x553a7f,_0x1a006d,_0x404b8e;if(!_0x4a6155)return;let _0x3d88d4=_0x44be7d['getRenderById'](_0x381234);Ye(_0x3d88d4);let _0x260660=_0x3d88d4==null?void 0x0:_0x3d88d4[_0x13db62(0x2dd)](c[_0x13db62(0x14a)]);if(!_0x260660)return;let _0x4b5cc9=_0x260660[_0x13db62(0x309)](),_0x43376d=_0x3f237d(),{renderScaleX:_0x306e9d,renderScaleY:_0x1b81ff,scaleAdjust:_0x24b476}=_0x466a5d(),_0x307361=_0x5f1a25(),_0x3fa36d=(_0x6d8341=_0x307361==null?void 0x0:_0x307361[_0x13db62(0x1ce)])==null?a[_0x13db62(0x111)][_0x13db62(0x2ca)]:_0x6d8341,_0x1f3933=(_0x413cdd=_0x307361==null?void 0x0:_0x307361['horizontalAlign'])==null?a[_0x13db62(0xff)][_0x13db62(0x152)]:_0x413cdd,_0x3f4f28=(_0x553a7f=_0x307361==null?void 0x0:_0x307361[_0x13db62(0x3b9)])==null?a[_0x13db62(0x303)]['WRAP']:_0x553a7f,_0x5d3ade=(_0x1a006d=_0x2a07c3())==null?{'left':0x0,'top':0x0,'width':_0x15db49/_0x54a4c1,'height':_0xdacff0/_0x48189a}:_0x1a006d,_0x132681=!0x1;if(_0x43376d){var _0x220428;_0x132681=Ie((_0x220428=_0x43376d['getSnapshot']()[_0x13db62(0x3b7)])==null||(_0x220428=_0x220428['renderConfig'])==null?void 0x0:_0x220428[_0x13db62(0x21c)]),_0x43376d[_0x13db62(0x285)](Math[_0x13db62(0x23d)](_0x306e9d,_0x1b81ff)),_0x43376d[_0x13db62(0x38e)]({'marginLeft':0x0,'marginRight':0x0,'marginBottom':0x0,'pageSize':{'width':_0x5d3ade[_0x13db62(0x10f)],'height':0x1/0x0}}),_0x43376d[_0x13db62(0x2eb)]({'verticalAlign':Ue({'opticalVerticalAlign':_0x132681,'verticalAlign':_0x3fa36d}),'horizontalAlign':_0x1f3933,'centerAngle':0x0,'vertexAngle':0x0,'wrapStrategy':_0x3f4f28}),_0x43376d[_0x13db62(0x34c)]({'t':0x0});}(_0x404b8e=_0x4b5cc9['resetInitialWidth'])==null||_0x404b8e[_0x13db62(0x10e)](_0x4b5cc9),_0x4b5cc9[_0x13db62(0x247)]();let {actualWidth:_0x4dbdb9,actualHeight:_0x57e8f4}=_0x4b5cc9[_0x13db62(0x29c)](),_0x1ba3b5=We({'actualHeight':_0x57e8f4,'opticalVerticalOffset':_0x132681?Re(_0x4b5cc9,_0x5d3ade[_0x13db62(0x11c)],_0x3fa36d):void 0x0,'scaleX':_0x54a4c1,'scaleY':_0x48189a,'textRect':_0x5d3ade,'verticalAlign':_0x3fa36d}),_0x38575d=_0x15db49/_0x54a4c1,_0x350560=_0xdacff0/_0x48189a,_0x503426=Ge({'hostWidth':_0x38575d,'hostHeight':_0x350560,'textRect':_0x5d3ade,'contentWidth':_0x4dbdb9,'contentHeight':_0x57e8f4,'allowShrink':He({'adapter':_0xd1fd20,'editingParams':_0x57e15f})}),_0x36a735=Math[_0x13db62(0x37f)](_0x503426[_0x13db62(0x10f)]),_0xa86c9e=Math[_0x13db62(0x37f)](_0x503426['height']),_0x155903=_0x1bab47[_0x13db62(0x2d1)],_0x5f20cd=Ve({'nextWidth':_0x36a735,'nextHeight':_0xa86c9e,'baselineWidth':_0x38575d,'baselineHeight':_0x350560}),_0x364ec6=Ve({'nextWidth':_0x36a735,'nextHeight':_0xa86c9e,'baselineWidth':_0x155903[_0x13db62(0x10f)],'baselineHeight':_0x155903[_0x13db62(0x11c)]}),_0x4ca985=_0x57e15f&&_0xd1fd20[_0x13db62(0x281)]&&_0x5f20cd&&_0x364ec6,_0x1c9534=Ve({'nextWidth':_0x38575d,'nextHeight':_0xa86c9e,'baselineWidth':_0x38575d,'baselineHeight':_0x350560}),_0x427933=Ve({'nextWidth':_0x38575d,'nextHeight':_0xa86c9e,'baselineWidth':_0x38575d,'baselineHeight':_0x155903['height']}),_0x4b2062=_0x57e15f&&_0xd1fd20[_0x13db62(0x3c3)]&&_0xa86c9e>_0x350560&&_0xa86c9e>_0x155903[_0x13db62(0x11c)]&&_0x1c9534&&_0x427933;if(_0x4ca985&&_0x57e15f&&_0xd1fd20[_0x13db62(0x281)]?(_0x1bab47[_0x13db62(0x2d1)]={'width':_0x36a735,'height':_0xa86c9e},_0xd1fd20[_0x13db62(0x281)]({'unitId':_0x57e15f[_0x13db62(0x1dd)],'subUnitId':_0x57e15f[_0x13db62(0x291)],'shapeId':_0x57e15f[_0x13db62(0x197)],'width':_0x36a735,'height':_0xa86c9e})):_0x4b2062&&_0x57e15f&&_0xd1fd20[_0x13db62(0x3c3)]&&(_0x1bab47[_0x13db62(0x2d1)]={'width':_0x38575d,'height':_0xa86c9e},_0xd1fd20['updateHostHeight']({'unitId':_0x57e15f['unitId'],'subUnitId':_0x57e15f[_0x13db62(0x291)],'shapeId':_0x57e15f[_0x13db62(0x197)],'height':_0xa86c9e})),_0x280b9f({'editorLeft':_0x1ba3b5[_0x13db62(0x351)],'editorTop':_0x1ba3b5[_0x13db62(0x279)],'editorWidth':_0x1ba3b5[_0x13db62(0x239)],'editorHeight':_0x1ba3b5[_0x13db62(0x13f)]}),_0x43376d&&(_0x43376d[_0x13db62(0x38e)]({'marginLeft':0x0,'marginRight':0x0,'marginBottom':0x0,'pageSize':{'width':_0x5d3ade[_0x13db62(0x10f)],'height':_0x1ba3b5[_0x13db62(0x134)]}}),_0x43376d[_0x13db62(0x34c)]({'t':_0x1ba3b5['documentMarginTop']}),_0x4b5cc9['calculate']()),_0x3d88d4){let _0x5081ad=_0x1ba3b5[_0x13db62(0x239)],_0x402c03=_0x1ba3b5[_0x13db62(0x13f)];_0x3d88d4['scene'][_0x13db62(0x2b3)]({'width':_0x5081ad*_0x24b476/_0x306e9d,'height':_0x402c03*_0x24b476/_0x1b81ff,'scaleX':_0x306e9d*_0x24b476,'scaleY':_0x1b81ff*_0x24b476}),_0x3d88d4['mainComponent']&&_0x3d88d4[_0x13db62(0x260)]['resize'](_0x5081ad*_0x24b476/_0x306e9d,_0x402c03*_0x24b476/_0x1b81ff);}},[_0x4a6155,_0xd1fd20,_0x57e15f,_0x44be7d,_0x3f237d,_0x466a5d,_0x5f1a25,_0x2a07c3,_0x15db49,_0xdacff0,_0x54a4c1,_0x48189a,_0x280b9f]);_0x596a7f['current']=_0x5e91ac;let _0x52067a=(0x0,n['useCallback'])((_0x46a47e=!0x1)=>{const _0x469d7f=_0x26e25b;_0x35502c(),_0x2213b6[_0x469d7f(0x2d1)]=requestAnimationFrame(()=>{const _0x5e0443=_0x469d7f;_0x5e91ac(),_0x46a47e&&_0x27fc96(!0x1),_0x2213b6[_0x5e0443(0x2d1)]=null,_0x34a1e9[_0x5e0443(0x2d1)]=window[_0x5e0443(0x156)](()=>{const _0x2a4a28=_0x5e0443;_0x5e91ac(),_0x46a47e&&_0x27fc96(!0x1),_0x34a1e9[_0x2a4a28(0x2d1)]=null;},0x14);});},[_0x5e91ac,_0x35502c,_0x27fc96]);_0x17cfd5[_0x26e25b(0x2d1)]=_0x52067a,(0x0,n[_0x26e25b(0x352)])(()=>{const _0x457a00=_0x26e25b;if(!_0x4a6155||!_0x57e15f)return;let {shapeId:_0x124152,unitId:_0x272eb7}=_0x57e15f;if(_0x9174eb){var _0x2510d3,_0x31c2b6,_0x4ec7ff,_0xf32f21,_0x5de5ae,_0x103f0c,_0x440167,_0x3a3ba5,_0x4ac36f;let _0x32a74d=_0x5f1a25(),_0x437a8b=_0x4a6155[_0x457a00(0x1d5)](),_0x471037=(_0x2510d3=(_0x31c2b6=_0x32a74d==null?void 0x0:_0x32a74d[_0x457a00(0x1ce)])==null?(_0x4ec7ff=_0x2d7cb5[_0x457a00(0x2d1)])==null?void 0x0:_0x4ec7ff['va']:_0x31c2b6)==null?a[_0x457a00(0x111)][_0x457a00(0x2ca)]:_0x2510d3,{horizontalAlign:_0x3983b2,verticalAlign:_0x4a8feb}=Ce(_0x437a8b,{'verticalAlign':_0x471037,'horizontalAlign':(_0xf32f21=(_0x5de5ae=_0x32a74d==null?void 0x0:_0x32a74d[_0x457a00(0x2bf)])==null?(_0x103f0c=_0x2d7cb5[_0x457a00(0x2d1)])==null?void 0x0:_0x103f0c['ha']:_0x5de5ae)==null?a['HorizontalAlign'][_0x457a00(0x152)]:_0xf32f21}),_0x303657=Ie((_0x440167=_0x437a8b['documentStyle'])==null||(_0x440167=_0x440167[_0x457a00(0x2fb)])==null?void 0x0:_0x440167[_0x457a00(0x21c)])?_0x471037:_0x4a8feb,_0x49d8f8={'va':_0x303657,'ha':_0x3983b2,'doc':Oe(_0x437a8b,{'verticalAlign':_0x303657,'horizontalAlign':_0x3983b2})};_0xd1fd20[_0x457a00(0x36f)]({'unitId':_0x272eb7,'subUnitId':_0x57e15f[_0x457a00(0x291)],'shapeId':_0x124152,'shapeText':{'isHorizontal':(_0x3a3ba5=_0x32a74d==null?void 0x0:_0x32a74d[_0x457a00(0x1ee)])==null?!0x0:_0x3a3ba5,'dataModel':_0x49d8f8},'oldShapeText':{'isHorizontal':(_0x4ac36f=_0x32a74d==null?void 0x0:_0x32a74d[_0x457a00(0x1ee)])==null?!0x0:_0x4ac36f,'dataModel':_0x2d7cb5[_0x457a00(0x2d1)]}});return;}let _0xfa6de9=_0x5f1a25();if(_0xfa6de9!=null&&_0xfa6de9[_0x457a00(0x15c)])return _0x2d7cb5['current']={'va':_0xfa6de9[_0x457a00(0x1ce)],'ha':_0xfa6de9['horizontalAlign'],'doc':a[_0x457a00(0x31a)][_0x457a00(0x2f2)](_0xfa6de9[_0x457a00(0x15c)])},qe(_0x4a6155,De(_0xfa6de9['doc'],{'isHorizontal':!0x0,'textRect':_0xfa6de9[_0x457a00(0x268)],'verticalAlign':_0xfa6de9[_0x457a00(0x1ce)],'horizontalAlign':_0xfa6de9['horizontalAlign'],'wrapStrategy':_0xfa6de9[_0x457a00(0x3b9)]}),null),()=>{const _0x517006=_0x457a00;var _0x469146,_0x556f09,_0x491c57,_0x479749,_0x42ec45,_0x26f872,_0x327a2d,_0x1c75fd,_0x3e494c;let _0x5744ce=_0x5f1a25(),_0x3396e0=_0x4a6155[_0x517006(0x1d5)](),_0x10ffbd=(_0x469146=(_0x556f09=_0x5744ce==null?void 0x0:_0x5744ce[_0x517006(0x1ce)])==null?(_0x491c57=_0x2d7cb5[_0x517006(0x2d1)])==null?void 0x0:_0x491c57['va']:_0x556f09)==null?a[_0x517006(0x111)]['TOP']:_0x469146,{horizontalAlign:_0x722891,verticalAlign:_0x26bc2f}=Ce(_0x3396e0,{'verticalAlign':_0x10ffbd,'horizontalAlign':(_0x479749=(_0x42ec45=_0x5744ce==null?void 0x0:_0x5744ce[_0x517006(0x2bf)])==null?(_0x26f872=_0x2d7cb5[_0x517006(0x2d1)])==null?void 0x0:_0x26f872['ha']:_0x42ec45)==null?a['HorizontalAlign']['LEFT']:_0x479749}),_0x1d0b35=Ie((_0x327a2d=_0x3396e0[_0x517006(0x3b7)])==null||(_0x327a2d=_0x327a2d['renderConfig'])==null?void 0x0:_0x327a2d[_0x517006(0x21c)])?_0x10ffbd:_0x26bc2f,_0x61a8bd={'va':_0x1d0b35,'ha':_0x722891,'doc':Oe(_0x3396e0,{'verticalAlign':_0x1d0b35,'horizontalAlign':_0x722891})};_0xd1fd20[_0x517006(0x36f)]({'unitId':_0x272eb7,'subUnitId':_0x57e15f[_0x517006(0x291)],'shapeId':_0x124152,'shapeText':{'isHorizontal':(_0x1c75fd=_0x5744ce==null?void 0x0:_0x5744ce[_0x517006(0x1ee)])==null?!0x0:_0x1c75fd,'dataModel':_0x61a8bd},'oldShapeText':{'isHorizontal':(_0x3e494c=_0x5744ce==null?void 0x0:_0x5744ce[_0x517006(0x1ee)])==null?!0x0:_0x3e494c,'dataModel':_0x2d7cb5[_0x517006(0x2d1)]}});};qe(_0x4a6155,_0x197209,null);},[_0x4a6155,_0x57e15f,_0x9174eb]);let _0x304b4f=ze({'editorUnitId':_0x381234,'editingParams':_0x57e15f});(0x0,n[_0x26e25b(0x352)])(()=>{const _0x2f2538=_0x26e25b;if(!(!_0x4a6155||!_0x304b4f))return _0x49a649[_0x2f2538(0x2aa)](!0x0),_0x596a7f[_0x2f2538(0x2d1)](),_0x1a01e5[_0x2f2538(0x2d1)]=requestAnimationFrame(()=>{const _0x3c2e9d=_0x2f2538;_0x49a649['focus'](_0x381234),_0x159d38[_0x3c2e9d(0x2d1)](),_0x17cfd5[_0x3c2e9d(0x2d1)](),_0x1a01e5[_0x3c2e9d(0x2d1)]=null;}),()=>{const _0x4ac4d0=_0x2f2538;_0x1a01e5[_0x4ac4d0(0x2d1)]!==null&&(cancelAnimationFrame(_0x1a01e5['current']),_0x1a01e5[_0x4ac4d0(0x2d1)]=null),_0x35502c(),_0x49a649[_0x4ac4d0(0x2aa)](!0x0);};},[_0x4a6155,_0x49a649,_0x381234,_0x304b4f,_0x35502c]),(0x0,n[_0x26e25b(0x352)])(()=>{const _0x3749ce=_0x26e25b;if(!_0x4a6155)return;let _0x230192=_0x5f1b88[_0x3749ce(0x195)](_0xec88d9=>{const _0x2fd4d0=_0x3749ce;_0xec88d9['id']===c[_0x2fd4d0(0x199)]['id']&&_0xec88d9['params'][_0x2fd4d0(0x1dd)]===_0x381234&&_0x57e15f&&(_0x57e15f[_0x2fd4d0(0x1da)]?_0x5e91ac():_0x17f009[_0x2fd4d0(0x35a)]({..._0x57e15f,'visible':!0x0})),_0x4b2018&&_0xec88d9['id']===_0x4b2018&&_0x52067a(!0x0);});return()=>{_0x230192['dispose']();};},[_0x4a6155,_0x5e91ac,_0x57e15f,_0x52067a,_0x17f009,_0x381234,_0x4b2018]),(0x0,n[_0x26e25b(0x352)])(()=>(_0x5e91ac(),_0x52067a(),()=>{_0x35502c();}),[_0x5e91ac,_0x52067a,_0x35502c]);let _0x14095e=(0x0,n[_0x26e25b(0x32a)])(()=>Ke(_0x1fb976[_0x26e25b(0x351)],_0x1fb976[_0x26e25b(0x279)],_0x1fb976[_0x26e25b(0x239)],Math[_0x26e25b(0x23d)](0x1,_0x1fb976['editorHeight'])),[_0x1fb976[_0x26e25b(0x13f)],_0x1fb976[_0x26e25b(0x351)],_0x1fb976[_0x26e25b(0x279)],_0x1fb976[_0x26e25b(0x239)]]),_0x183cb5=(0x0,n[_0x26e25b(0x32a)])(()=>{let _0x1058e2=_0x5f1a25(),_0x5864d7=_0x1058e2==null?void 0x0:_0x1058e2['transform'];return _0x5864d7&&_0x5864d7||{'angle':0x0,'flipX':!0x1,'flipY':!0x1};},[_0x5f1a25]);return(0x0,r[_0x26e25b(0x29d)])(_0x26e25b(0x1c0),{'ref':_0xe7b41a,'data-u-comp':_0x26e25b(0x102),'className':_0x26e25b(0x2ff),'style':{'transform':'rotate('+_0x183cb5[_0x26e25b(0x2d2)]+_0x26e25b(0x237)+(_0x183cb5[_0x26e25b(0x362)]?-0x1:0x1)+')'},'children':(0x0,r[_0x26e25b(0x29d)])(_0x26e25b(0x1c0),{'ref':_0x28b875,'className':_0x26e25b(0x15d),'data-u-comp':_0x26e25b(0x149),'style':_0x14095e,'data-editorid':_0x381234})});};function Qe(_0x19c7e7,_0x4b0a61){const _0x4f3cca=_0x55b3f9;return!!(_0x19c7e7!=null&&_0x19c7e7['visible'])&&!(_0x4b0a61[_0x4f3cca(0xf8)]===-0x270f&&_0x4b0a61[_0x4f3cca(0x106)]===-0x270f);}function $e(_0x13ed09){const _0x60b2b2=_0x55b3f9;if(!_0x13ed09||typeof _0x13ed09!=_0x60b2b2(0x233))return!0x1;let _0x27d5fd=_0x13ed09;return typeof _0x27d5fd[_0x60b2b2(0xf8)]=='number'&&typeof _0x27d5fd[_0x60b2b2(0x106)]==_0x60b2b2(0x2b9)&&typeof _0x27d5fd['width']==_0x60b2b2(0x2b9)&&typeof _0x27d5fd[_0x60b2b2(0x11c)]=='number';}function et(_0x23969c,_0x4b08f9){const _0x4e3d16=_0x55b3f9;var _0x39db47,_0x4dcf28;let _0x1558b4=(_0x39db47=_0x23969c[_0x4e3d16(0x1fa)](_0x4b08f9))==null?(_0x4dcf28=_0x23969c[_0x4e3d16(0x3a7)])==null?void 0x0:_0x4dcf28[_0x4e3d16(0x10e)](_0x23969c,_0x4b08f9):_0x39db47;return $e(_0x1558b4)?_0x1558b4:null;}const tt=(0x0,n['memo'])(_0x3424eb=>{const _0xd0bd21=_0x55b3f9;let {children:_0x3fea8d,editingParams:_0x554feb,positionOptions:_0x59e909,onPositionUpdate:_0x44c4b0}=_0x3424eb,_0x2f3d0b=(0x0,n[_0xd0bd21(0x333)])(null),_0x312614=(0x0,o[_0xd0bd21(0x176)])(u[_0xd0bd21(0x349)]),_0x4bbb8d=(0x0,n[_0xd0bd21(0x32a)])(()=>_0x554feb?_0x312614['getRenderById'](_0x554feb[_0xd0bd21(0x1dd)]):null,[_0x554feb,_0x312614]),_0x184cab=(0x0,n[_0xd0bd21(0x32a)])(()=>{const _0x5d1169=_0xd0bd21;var _0x2f4d78;return(_0x2f4d78=_0x4bbb8d==null?void 0x0:_0x4bbb8d[_0x5d1169(0x189)])==null?null:_0x2f4d78;},[_0x4bbb8d]),_0x279c14=(0x0,n['useMemo'])(()=>!_0x554feb||!_0x4bbb8d||!_0x59e909[_0xd0bd21(0x309)]?null:_0x59e909[_0xd0bd21(0x309)](_0x4bbb8d,_0x554feb),[_0x554feb,_0x59e909,_0x4bbb8d]),_0x2ff260=(0x0,n['useCallback'])(()=>{const _0x4b937c=_0xd0bd21;var _0x953e47;if(!_0x554feb||!_0x184cab)return null;let _0x56acdf=et(_0x184cab,_0x554feb[_0x4b937c(0x18a)]);return _0x56acdf?{'left':_0x56acdf[_0x4b937c(0xf8)],'top':_0x56acdf[_0x4b937c(0x106)],'width':_0x56acdf[_0x4b937c(0x10f)],'height':_0x56acdf[_0x4b937c(0x11c)],'angle':(_0x953e47=_0x56acdf['angle'])==null?0x0:_0x953e47}:null;},[_0x554feb,_0x184cab]),{position:_0x4f7b37,updatePosition:_0x366e6c}=xe({'editingParams':_0x554feb,'scene':_0x184cab,'skeleton':_0x279c14,'viewportKeys':_0x59e909['viewportKeys'],'getShapeTransform':_0x2ff260}),_0x359048=(0x0,n[_0xd0bd21(0x308)])(()=>{const _0x45427b=_0xd0bd21;let _0x2f87dd=_0x2f3d0b['current'];_0x2f87dd&&(_0x2f87dd[_0x45427b(0x338)][_0x45427b(0xf8)]=_0x4f7b37['left']+'px',_0x2f87dd['style'][_0x45427b(0x106)]=_0x4f7b37[_0x45427b(0x106)]+'px',_0x2f87dd[_0x45427b(0x338)][_0x45427b(0x10f)]=_0x4f7b37[_0x45427b(0x10f)]+'px',_0x2f87dd['style']['height']=_0x4f7b37[_0x45427b(0x11c)]+'px');},[_0x4f7b37]);return(0x0,n[_0xd0bd21(0x352)])(()=>{const _0x5bba8a=_0xd0bd21;_0x359048(),Qe(_0x554feb,_0x4f7b37)&&(_0x44c4b0==null||_0x44c4b0({'width':_0x4f7b37['width'],'height':_0x4f7b37[_0x5bba8a(0x11c)],'scaleX':_0x4f7b37[_0x5bba8a(0x12b)],'scaleY':_0x4f7b37[_0x5bba8a(0x37d)]}));},[_0x554feb,_0x4f7b37,_0x359048,_0x44c4b0]),(0x0,n[_0xd0bd21(0x352)])(()=>{const _0x1398e6=_0xd0bd21;if(!_0x184cab)return;let _0xc080a1=_0x184cab['getViewport'](_0x59e909[_0x1398e6(0x302)]['main']);if(!_0xc080a1)return;let _0x2ec6a7=_0xc080a1[_0x1398e6(0x17b)][_0x1398e6(0x1e6)](()=>{_0x366e6c();});return()=>{_0x2ec6a7['unsubscribe']();};},[_0x59e909['viewportKeys'][_0xd0bd21(0x2ad)],_0x184cab,_0x366e6c]),(0x0,n[_0xd0bd21(0x352)])(()=>{const _0x1977ec=_0xd0bd21;if(!_0x554feb||!_0x184cab)return;let _0x2a4019=et(_0x184cab,_0x554feb[_0x1977ec(0x18a)]);if(_0x2a4019!=null&&_0x2a4019['onTransformChange$']){let _0x33de60=_0x2a4019[_0x1977ec(0x3aa)][_0x1977ec(0x1e6)](()=>{_0x366e6c();});return()=>{_0x33de60['unsubscribe']();};}},[_0x554feb,_0x184cab,_0x366e6c]),(0x0,r['jsx'])(_0xd0bd21(0x1c0),{'ref':_0x2f3d0b,'data-u-comp':_0xd0bd21(0x3c5),'className':_0xd0bd21(0x322),'style':(0x0,n[_0xd0bd21(0x32a)])(()=>({'left':_0x4f7b37[_0xd0bd21(0xf8)],'top':_0x4f7b37[_0xd0bd21(0x106)],'width':_0x4f7b37[_0xd0bd21(0x10f)],'height':_0x4f7b37[_0xd0bd21(0x11c)],'pointerEvents':_0x554feb!=null&&_0x554feb[_0xd0bd21(0x1da)]?_0xd0bd21(0x215):_0xd0bd21(0x39c)}),[_0x4f7b37,_0x554feb==null?void 0x0:_0x554feb[_0xd0bd21(0x1da)]]),'children':_0x3fea8d});});function nt(_0x39a36c,_0x395512){const _0x1e76d3=_0x55b3f9;return Math[_0x1e76d3(0x112)](_0x39a36c[_0x1e76d3(0x10f)]-_0x395512[_0x1e76d3(0x10f)])<=0.001&&Math[_0x1e76d3(0x112)](_0x39a36c[_0x1e76d3(0x11c)]-_0x395512['height'])<=0.001&&Math[_0x1e76d3(0x112)](_0x39a36c[_0x1e76d3(0x12b)]-_0x395512[_0x1e76d3(0x12b)])<=0.001&&Math[_0x1e76d3(0x112)](_0x39a36c['scaleY']-_0x395512['scaleY'])<=0.001;}const rt=(0x0,n[_0x55b3f9(0x110)])(_0x2104cd=>{const _0x7e88af=_0x55b3f9;let {adapter:_0x137535,editorUnitId:_0x2ed44d,editingService:_0x524bf8,positionOptions:_0x2b49e9,verticalAlignCommandId:_0x3fa710}=_0x2104cd,_0x4beb33=(0x0,o[_0x7e88af(0x2b2)])(_0x524bf8[_0x7e88af(0x13a)]),_0x321bfc=ze({'editorUnitId':_0x2ed44d,'editingParams':_0x4beb33}),[_0x4a02a1,_0x130489]=(0x0,n[_0x7e88af(0x1ea)])(null),_0x3849b1=(0x0,n[_0x7e88af(0x308)])(_0x1b1492=>{const _0x4932ba=_0x7e88af;if(!_0x321bfc)return;let _0x48d4cc={'width':_0x1b1492['width'],'height':_0x1b1492['height'],'scaleX':_0x1b1492[_0x4932ba(0x12b)],'scaleY':_0x1b1492[_0x4932ba(0x37d)]};_0x130489(_0x2e9faf=>(_0x2e9faf==null?void 0x0:_0x2e9faf['sessionKey'])===_0x321bfc&&nt(_0x2e9faf[_0x4932ba(0xf7)],_0x48d4cc)?_0x2e9faf:{'sessionKey':_0x321bfc,'size':_0x48d4cc});},[_0x321bfc]);if(!(_0x4beb33!=null&&_0x4beb33[_0x7e88af(0x1da)]))return null;let _0x304092=(_0x4a02a1==null?void 0x0:_0x4a02a1['sessionKey'])===_0x321bfc?_0x4a02a1[_0x7e88af(0xf7)]:null;return(0x0,r['jsx'])(tt,{'editingParams':_0x4beb33,'positionOptions':_0x2b49e9,'onPositionUpdate':_0x3849b1,'children':_0x304092?(0x0,r[_0x7e88af(0x29d)])(Ze,{'adapter':_0x137535,'containerWidth':_0x304092['width'],'containerHeight':_0x304092['height'],'editingParams':_0x4beb33,'editingService':_0x524bf8,'editorUnitId':_0x2ed44d,'scaleX':_0x304092['scaleX'],'scaleY':_0x304092[_0x7e88af(0x37d)],'verticalAlignCommandId':_0x3fa710}):null});}),it=_0x55b3f9(0x1a5),at=o['FONT_SIZE_LIST'][_0x55b3f9(0x34d)](_0x34691b=>({'label':_0x34691b[_0x55b3f9(0x1db)],'value':String(_0x34691b[_0x55b3f9(0x250)])})),ot=[l[_0x55b3f9(0x2fc)]['id'],l[_0x55b3f9(0x356)]['id'],l[_0x55b3f9(0x31b)]['id'],l['SetInlineFormatFontFamilyCommand']['id'],l[_0x55b3f9(0x2f4)]['id'],l['SetInlineFormatBoldCommand']['id'],l[_0x55b3f9(0x109)]['id'],l['SetInlineFormatUnderlineCommand']['id'],l['SetInlineFormatStrikethroughCommand']['id'],l[_0x55b3f9(0x271)]['id'],l[_0x55b3f9(0x2ae)]['id'],c['RichTextEditingMutation']['id'],c[_0x55b3f9(0x28d)]['id']],st={'root':_0x55b3f9(0x13b),'group':'univer-flex\x20univer-h-6\x20univer-items-center\x20univer-gap-0.5\x20univer-px-1','divider':_0x55b3f9(0x2ba),'button':_0x55b3f9(0x334),'select':'\x0a\x20\x20\x20\x20\x20\x20!univer-h-6\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-border-transparent\x0a\x20\x20\x20\x20\x20\x20!univer-bg-transparent\x20!univer-px-1.5\x0a\x20\x20\x20\x20'};function ct(_0x185fc2){const _0x5226ef=_0x55b3f9;return _0x185fc2 instanceof HTMLElement?!!_0x185fc2[_0x5226ef(0x36d)](_0x5226ef(0x1c1)):!0x1;}function lt(_0x153195){const _0xd2b72=_0x55b3f9;return!!(_0x153195&&typeof _0x153195==_0xd2b72(0x233)&&_0x153195['s']===a['BooleanNumber'][_0xd2b72(0x1a0)]);}function ut(_0x589ea2){const _0xbf21e9=_0x55b3f9;return(0x0,r['jsx'])(_0xbf21e9(0x1c0),{'className':st[_0xbf21e9(0x249)],'children':_0x589ea2[_0xbf21e9(0x35c)]});}function dt(){const _0x14d8b7=_0x55b3f9;return(0x0,r[_0x14d8b7(0x29d)])(_0x14d8b7(0x360),{'className':st[_0x14d8b7(0x169)]});}function ft(_0x5d5c1a){const _0x1b8aae=_0x55b3f9;return(0x0,r['jsx'])(e[_0x1b8aae(0x345)],{'title':_0x5d5c1a['title'],'placement':_0x1b8aae(0x254),'children':(0x0,r[_0x1b8aae(0x29d)])(_0x1b8aae(0x188),{'type':'button','className':(0x0,e[_0x1b8aae(0x27b)])(st[_0x1b8aae(0x188)],{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x5d5c1a[_0x1b8aae(0x246)]}),'onClick':_0x5d5c1a[_0x1b8aae(0x15f)],'children':_0x5d5c1a[_0x1b8aae(0x35c)]})});}function pt(){const _0xd834df=_0x55b3f9;var _0x572437,_0x2779b4,_0x10c450,_0xa5062c,_0x4d527b,_0x2c59a0;let _0x74373=(0x0,o[_0xd834df(0x176)])(a[_0xd834df(0x1b7)]),_0x247d8f=(0x0,o[_0xd834df(0x176)])(c[_0xd834df(0x368)]),_0x4ef77c=(0x0,o[_0xd834df(0x176)])(o['IFontService']),_0x373f14=(0x0,o[_0xd834df(0x176)])(a[_0xd834df(0x164)]),_0xfb48c1=(0x0,o[_0xd834df(0x176)])(a['IUniverInstanceService']),[_0x443d9b,_0x7b7f]=(0x0,n[_0xd834df(0x1ea)])({'cl':{'rgb':it}}),_0xd7629e=(0x0,o['useObservable'])(_0x4ef77c[_0xd834df(0x172)]);(0x0,n['useEffect'])(()=>{const _0x4f04d6=_0xd834df;let _0xe47f92=()=>{const _0x55e695=_0x3eb8;var _0xc4c40d,_0x261329,_0x3f02d0,_0xd9dc7,_0x393681,_0x756c98;let _0x5d1ea1=(_0xc4c40d=_0x247d8f['getTextRanges']())==null?[]:_0xc4c40d,_0x1c335b=_0x5d1ea1[_0x55e695(0x2e1)]>0x0?_0x5d1ea1[_0x55e695(0x3a1)](_0x25326c=>_0x25326c[_0x55e695(0x38d)]!=null&&_0x25326c[_0x55e695(0x259)]!=null):_0x247d8f[_0x55e695(0x1cc)](),_0x1d8d20=(_0x261329=_0x1c335b[_0x55e695(0x2e8)](_0x45a53e=>_0x45a53e['isActive']))==null?_0x1c335b[0x0]:_0x261329;if(!_0x1d8d20){_0x7b7f({'cl':{'rgb':it}});return;}let _0x26a4dd=_0xfb48c1[_0x55e695(0x386)](a['UniverInstanceType']['UNIVER_DOC']);if(!_0x26a4dd){_0x7b7f({'cl':{'rgb':it}});return;}let _0x4a9a4a=_0x26a4dd==null?void 0x0:_0x26a4dd['getSelfOrHeaderFooterModel'](_0x1d8d20['segmentId'])['getBody']();if(!_0x4a9a4a){_0x7b7f({'cl':{'rgb':it}});return;}let _0x4efeaf=(_0x3f02d0=_0x26a4dd[_0x55e695(0x344)]()[_0x55e695(0x3b7)])==null?void 0x0:_0x3f02d0[_0x55e695(0x1b2)];_0x7b7f((0x0,l[_0x55e695(0x135)])(_0x4a9a4a,_0x1d8d20,{..._0x4efeaf,'ff':(_0xd9dc7=_0x4efeaf==null?void 0x0:_0x4efeaf['ff'])==null?a['DEFAULT_STYLES']['ff']:_0xd9dc7,'fs':(_0x393681=_0x4efeaf==null?void 0x0:_0x4efeaf['fs'])==null?a[_0x55e695(0x14f)]['fs']:_0x393681,'cl':(_0x756c98=_0x4efeaf==null?void 0x0:_0x4efeaf['cl'])==null?{'rgb':it}:_0x756c98}));};_0xe47f92();let _0x806994=_0x74373[_0x4f04d6(0x195)](_0x4d1c52=>{const _0x2bc5ac=_0x4f04d6;ot[_0x2bc5ac(0x367)](_0x4d1c52['id'])&&_0xe47f92();}),_0x517b27=_0x247d8f[_0x4f04d6(0x3c7)][_0x4f04d6(0x321)](_0xe47f92);return()=>{const _0x1aa271=_0x4f04d6;_0x806994[_0x1aa271(0x262)](),_0x517b27['unsubscribe']();};},[_0x74373,_0x247d8f,_0xfb48c1]);let _0x504e2c=(_0x2e1a4e,_0x1f57e3)=>{const _0x3550c0=_0xd834df;_0x74373[_0x3550c0(0x39b)](_0x2e1a4e,_0x1f57e3===void 0x0?void 0x0:{'value':_0x1f57e3});},_0x1c34fb=(_0x572437=_0x443d9b['ff'])==null?a['DEFAULT_STYLES']['ff']:_0x572437,_0x3448f1=(_0x2779b4=_0x443d9b['fs'])==null?a[_0xd834df(0x14f)]['fs']:_0x2779b4,_0x17a7e6=(0x0,n[_0xd834df(0x32a)])(()=>{const _0x32d2ce=_0xd834df;let _0x24ff90=(_0xd7629e==null?[]:_0xd7629e)[_0x32d2ce(0x34d)](_0x584572=>({'label':_0x373f14['t'](_0x584572[_0x32d2ce(0x1db)]),'value':_0x584572[_0x32d2ce(0x250)]}));return _0x24ff90['some'](_0x266dfb=>_0x266dfb['value']===_0x1c34fb)?_0x24ff90:[{'label':_0x1c34fb,'value':_0x1c34fb},..._0x24ff90];},[_0x1c34fb,_0xd7629e,_0x373f14]),_0x21570b=_0x443d9b['bl']===a[_0xd834df(0x317)][_0xd834df(0x1a0)],_0x208433=_0x443d9b['it']===a['BooleanNumber'][_0xd834df(0x1a0)],_0x3c1744=lt(_0x443d9b['ul']),_0x2f3202=lt(_0x443d9b['st']),_0x1962c1=_0x443d9b['va']===a[_0xd834df(0x2d8)][_0xd834df(0x1eb)],_0xd8a01a=_0x443d9b['va']===a[_0xd834df(0x2d8)][_0xd834df(0x31f)],_0x3482b2=(_0x10c450=(_0xa5062c=_0x443d9b['bg'])==null?void 0x0:_0xa5062c[_0xd834df(0xf1)])==null?_0xd834df(0x1ef):_0x10c450;return(0x0,r[_0xd834df(0x38f)])(_0xd834df(0x1c0),{'onMouseDown':_0x4f6bd0=>{const _0x54fe9a=_0xd834df;_0x4f6bd0[_0x54fe9a(0x33a)](),ct(_0x4f6bd0[_0x54fe9a(0x1df)])||_0x4f6bd0[_0x54fe9a(0x3b3)]();},'className':(0x0,e['clsx'])(st[_0xd834df(0x2b5)],e[_0xd834df(0x1e1)]),'children':[(0x0,r[_0xd834df(0x29d)])(ut,{'children':(0x0,r['jsx'])(de,{})}),(0x0,r[_0xd834df(0x29d)])(dt,{}),(0x0,r[_0xd834df(0x38f)])(ut,{'children':[(0x0,r['jsx'])(e[_0xd834df(0x14d)],{'className':(0x0,e[_0xd834df(0x27b)])(st[_0xd834df(0x2a9)],'univer-w-28'),'value':_0x1c34fb,'options':_0x17a7e6,'onChange':_0x5c4b60=>_0x504e2c(l['SetInlineFormatFontFamilyCommand']['id'],_0x5c4b60)}),(0x0,r['jsx'])(e[_0xd834df(0x14d)],{'className':(0x0,e['clsx'])(st[_0xd834df(0x2a9)],_0xd834df(0x3cb)),'value':String(_0x3448f1),'options':at,'onChange':_0x199530=>{const _0xaf1d79=_0xd834df;let _0x4742b3=Number(_0x199530);Number[_0xaf1d79(0x364)](_0x4742b3)||_0x504e2c(l[_0xaf1d79(0x2f4)]['id'],_0x4742b3);}})]}),(0x0,r[_0xd834df(0x29d)])(dt,{}),(0x0,r[_0xd834df(0x38f)])(ut,{'children':[(0x0,r['jsx'])(ft,{'title':_0x373f14['t'](_0xd834df(0x228)),'active':_0x21570b,'onClick':()=>_0x504e2c(l[_0xd834df(0x2f5)]['id']),'children':(0x0,r[_0xd834df(0x29d)])(t[_0xd834df(0x212)],{})}),(0x0,r[_0xd834df(0x29d)])(ft,{'title':_0x373f14['t'](_0xd834df(0x2be)),'active':_0x208433,'onClick':()=>_0x504e2c(l[_0xd834df(0x109)]['id']),'children':(0x0,r[_0xd834df(0x29d)])(t[_0xd834df(0x1b3)],{})}),(0x0,r[_0xd834df(0x29d)])(ft,{'title':_0x373f14['t'](_0xd834df(0x319)),'active':_0x3c1744,'onClick':()=>_0x504e2c(l[_0xd834df(0x151)]['id']),'children':(0x0,r['jsx'])(t['UnderlineIcon'],{})}),(0x0,r['jsx'])(ft,{'title':_0x373f14['t'](_0xd834df(0x2a2)),'active':_0x2f3202,'onClick':()=>_0x504e2c(l[_0xd834df(0x2e5)]['id']),'children':(0x0,r[_0xd834df(0x29d)])(t[_0xd834df(0x28f)],{})})]}),(0x0,r['jsx'])(dt,{}),(0x0,r[_0xd834df(0x38f)])(ut,{'children':[(0x0,r[_0xd834df(0x29d)])(ft,{'title':_0x373f14['t']('shape-editor-ui.toolbar.subscript'),'active':_0x1962c1,'onClick':()=>_0x504e2c(l['SetInlineFormatSubscriptCommand']['id']),'children':(0x0,r[_0xd834df(0x38f)])(_0xd834df(0x360),{'className':_0xd834df(0x3af),'children':['X',(0x0,r['jsx'])(_0xd834df(0x1c3),{'children':'2'})]})}),(0x0,r[_0xd834df(0x29d)])(ft,{'title':_0x373f14['t'](_0xd834df(0x1bd)),'active':_0xd8a01a,'onClick':()=>_0x504e2c(l['SetInlineFormatSuperscriptCommand']['id']),'children':(0x0,r['jsxs'])(_0xd834df(0x360),{'className':_0xd834df(0x3af),'children':['X',(0x0,r['jsx'])(_0xd834df(0x1a4),{'children':'2'})]})})]}),(0x0,r[_0xd834df(0x29d)])(dt,{}),(0x0,r[_0xd834df(0x38f)])(ut,{'children':[(0x0,r[_0xd834df(0x29d)])(Z,{'title':_0x373f14['t'](_0xd834df(0x17d)),'textStyle':_0x443d9b,'fallbackColor':(_0x4d527b=(_0x2c59a0=_0x443d9b['cl'])==null?void 0x0:_0x2c59a0[_0xd834df(0xf1)])==null?it:_0x4d527b,'onChange':_0x185d80=>{const _0x27ea44=_0xd834df;_0x74373[_0x27ea44(0x39b)](l[_0x27ea44(0x2fc)]['id'],{'value':_0x185d80}),_0x7b7f(_0x4399eb=>({..._0x4399eb,..._0x185d80}));}}),(0x0,r[_0xd834df(0x29d)])(Q,{'title':_0x373f14['t'](_0xd834df(0x299)),'color':_0x3482b2,'resetLabel':_0x373f14['t'](_0xd834df(0x314)),'onApply':()=>_0x504e2c(l[_0xd834df(0x356)]['id'],_0x3482b2),'onReset':()=>{const _0x2d2b38=_0xd834df;_0x74373[_0x2d2b38(0x39b)](l[_0x2d2b38(0x31b)]['id']),_0x7b7f(_0x3f8f98=>({..._0x3f8f98,'bg':{'rgb':null}}));},'onChange':_0x18b8ed=>{const _0x197575=_0xd834df;_0x504e2c(l[_0x197575(0x356)]['id'],_0x18b8ed),_0x7b7f(_0x41106f=>({..._0x41106f,'bg':{'rgb':_0x18b8ed}}));}})]})]});}exports['DocParagraphTypeDropdown']=de,exports['FillStyleTabsEditor']=m,exports[_0x55b3f9(0x175)]=S,exports['ShapeFillEditor']=_,exports['ShapeFloatingToolbar']=ue,exports[_0x55b3f9(0x1e8)]=h,exports[_0x55b3f9(0x2db)]=x,exports[_0x55b3f9(0x24b)]=Ze,exports['ShapeTextEditorContainer']=rt,exports[_0x55b3f9(0x1cf)]=Pe,exports['ShapeTextFloatToolbar']=pt,exports[_0x55b3f9(0x18b)]=tt,exports['TextWrapShapeIcon']=F,exports[_0x55b3f9(0x328)]=Je,exports['buildShapeTextDataUpdate']=O,exports['calcShapePosition']=be,exports[_0x55b3f9(0x331)]=E,exports['getInitialShapeFillType']=g,exports['getShapeTextEditorContentStyle']=Ke,exports[_0x55b3f9(0x384)]=Xe,exports[_0x55b3f9(0x385)]=D,exports[_0x55b3f9(0x34a)]=De,exports[_0x55b3f9(0xfd)]=Oe,exports['useShapePosition']=xe;
1
+ const _0x56c0cf=_0x4435;(function(_0x221b26,_0x38fa1c){const _0x311501=_0x4435,_0x254530=_0x221b26();while(!![]){try{const _0x42b3a0=parseInt(_0x311501(0x482))/0x1+parseInt(_0x311501(0x52c))/0x2+parseInt(_0x311501(0x44b))/0x3+-parseInt(_0x311501(0x27e))/0x4+parseInt(_0x311501(0x2e9))/0x5*(-parseInt(_0x311501(0x3c0))/0x6)+-parseInt(_0x311501(0x62b))/0x7+-parseInt(_0x311501(0x376))/0x8*(-parseInt(_0x311501(0x3e1))/0x9);if(_0x42b3a0===_0x38fa1c)break;else _0x254530['push'](_0x254530['shift']());}catch(_0x5b0791){_0x254530['push'](_0x254530['shift']());}}}(_0x3608,0x40355),Object['defineProperty'](exports,Symbol[_0x56c0cf(0x260)],{'value':_0x56c0cf(0x3e7)}));let e=require('@univerjs/design'),t=require('@univerjs/icons'),n=require('react'),r=require('react/jsx-runtime'),i=require('@univerjs/core'),a=require('@univerjs/ui'),o=require('@univerjs/drawing'),s=require('@univerjs-pro/engine-shape'),c=require('@univerjs/engine-render'),l=require('@univerjs/docs'),u=require('@univerjs/docs-ui');const d={'none':_0x56c0cf(0x3b5),'solid':_0x56c0cf(0x39e),'gradient':_0x56c0cf(0x668),'picture':_0x56c0cf(0x40f)},f={'type':_0x56c0cf(0x6a8),'angle':0x0,'stops':[{'color':_0x56c0cf(0x22b),'offset':0x0},{'color':'#000000','offset':0x64}]};function p(_0x13be38){const _0x1ea750=_0x56c0cf;var _0x5c06bc,_0x476be9,_0x59a535,_0x569ab4,_0x3d4470;let {className:_0x26b8d5,compact:_0x5d1f37=!0x0,disabled:_0x28ee9c=!0x1,direction:_0x4ac3c6,value:_0x3d586f,typeValues:_0x347450=d,color:_0x6a937e=_0x1ea750(0x22b),transparency:_0x5f2380=0x0,gradientValue:_0x3c833f=f,labels:_0xb584ad,tabLabels:_0x1e576c,noFillEditor:_0x36bb46,pictureFillEditor:_0x311f18,renderColorIcon:_0x4a21d2,keepColorPickerOpenOnChange:_0x5af66e=!0x1,onChange:_0x379dab,onColorChange:_0x5e1aeb,onTransparencyChange:_0x15282f,onGradientChange:_0x3ff9ee}=_0x13be38,[_0x5d8789,_0xed703d]=(0x0,n[_0x1ea750(0x1c0)])(!0x1),_0x4841aa=[{'label':(_0x5c06bc=_0x1e576c==null?void 0x0:_0x1e576c[_0x1ea750(0x422)])==null?_0xb584ad[_0x1ea750(0x422)]:_0x5c06bc,'value':_0x347450[_0x1ea750(0x3b5)]},{'label':(_0x476be9=_0x1e576c==null?void 0x0:_0x1e576c[_0x1ea750(0x5c4)])==null?_0xb584ad['solidFill']:_0x476be9,'value':_0x347450[_0x1ea750(0x39e)]},{'label':(_0x59a535=_0x1e576c==null?void 0x0:_0x1e576c[_0x1ea750(0x62a)])==null?_0xb584ad[_0x1ea750(0x62a)]:_0x59a535,'value':_0x347450['gradient']},{'label':(_0x569ab4=_0x1e576c==null?void 0x0:_0x1e576c[_0x1ea750(0x6ca)])==null?_0xb584ad[_0x1ea750(0x6ca)]:_0x569ab4,'value':_0x347450[_0x1ea750(0x40f)]}];return(0x0,r[_0x1ea750(0x372)])('div',{'dir':_0x4ac3c6,'className':(0x0,e['clsx'])(_0x1ea750(0x568),_0x5d1f37?_0x1ea750(0x6b1):_0x1ea750(0x6f8),_0x26b8d5),'children':[(0x0,r['jsx'])(e[_0x1ea750(0x247)],{'className':(0x0,e[_0x1ea750(0x4e6)])('univer-w-full\x20univer-min-w-0\x20univer-overflow-hidden',_0x5d1f37&&_0x1ea750(0x506),_0x28ee9c&&_0x1ea750(0x1e2)),'items':_0x4841aa,'value':_0x3d586f,'onChange':_0x369079=>{_0x28ee9c||_0x379dab==null||_0x379dab(_0x369079);}}),_0x3d586f===_0x347450[_0x1ea750(0x3b5)]&&_0x36bb46,_0x3d586f===_0x347450[_0x1ea750(0x39e)]&&(0x0,r[_0x1ea750(0x372)])(_0x1ea750(0x21c),{'className':(0x0,e[_0x1ea750(0x4e6)])(_0x1ea750(0x3aa),_0x5d1f37?_0x1ea750(0x6cc):_0x1ea750(0x6b1)),'children':[(0x0,r['jsxs'])(_0x1ea750(0x21c),{'className':_0x1ea750(0x4dc),'children':[(0x0,r[_0x1ea750(0x6f0)])(_0x1ea750(0x6c6),{'className':_0x1ea750(0x61f),'children':_0xb584ad[_0x1ea750(0x5b7)]}),(0x0,r[_0x1ea750(0x6f0)])(e[_0x1ea750(0x1b9)],{'disabled':_0x28ee9c,'overlay':(0x0,r[_0x1ea750(0x6f0)])(_0x1ea750(0x21c),{'className':_0x1ea750(0x62c),'dir':_0x4ac3c6,'children':(0x0,r[_0x1ea750(0x6f0)])(e['ColorPicker'],{'value':_0x6a937e,'onChange':_0x3b976d=>{_0x5e1aeb==null||_0x5e1aeb(_0x3b976d),_0x5af66e||_0xed703d(!0x1);}})}),'open':_0x5d8789,'onOpenChange':_0xed703d,'children':(0x0,r['jsxs'])('a',{'className':_0x1ea750(0x4ac),'children':[(_0x3d4470=_0x4a21d2==null?void 0x0:_0x4a21d2(_0x6a937e))==null?(0x0,r[_0x1ea750(0x6f0)])(t[_0x1ea750(0x2c2)],{'className':_0x1ea750(0x3f1),'extend':{'colorChannel1':_0x6a937e}}):_0x3d4470,(0x0,r[_0x1ea750(0x6f0)])(t['MoreDownIcon'],{'className':(0x0,e[_0x1ea750(0x4e6)])(_0x1ea750(0x204),{'univer-rotate-180':_0x5d8789})})]})})]}),(0x0,r[_0x1ea750(0x372)])(_0x1ea750(0x21c),{'className':_0x1ea750(0x4dc),'children':[(0x0,r['jsx'])(_0x1ea750(0x6c6),{'className':_0x1ea750(0x61f),'children':_0xb584ad[_0x1ea750(0x407)]}),(0x0,r[_0x1ea750(0x6f0)])(_0x1ea750(0x21c),{'className':'univer-w-20','children':(0x0,r[_0x1ea750(0x6f0)])(e['InputNumber'],{'className':'univer-w-full','value':_0x5f2380,'disabled':_0x28ee9c,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x5e2caa=>_0x5e2caa+'%','parser':_0x150d96=>(_0x150d96==null?void 0x0:_0x150d96[_0x1ea750(0x40d)]('%',''))||'','onChange':_0x5f12c3=>_0x15282f==null?void 0x0:_0x15282f(_0x5f12c3==null?0x0:_0x5f12c3)})})]})]}),_0x3d586f===_0x347450[_0x1ea750(0x668)]&&(0x0,r['jsx'])(e[_0x1ea750(0x709)],{'className':_0x1ea750(0x491),'compact':_0x5d1f37,'value':_0x3c833f,'onChange':_0x3ff9ee}),_0x3d586f===_0x347450[_0x1ea750(0x40f)]&&_0x311f18]});}var m='@univerjs-pro/shape-editor-ui',h='1.0.0-alpha.3';const g={};function _(_0x33c2ab,_0x34a2eb){return function(_0x2f0af6,_0x14f5b0){_0x34a2eb(_0x2f0af6,_0x14f5b0,_0x33c2ab);};}function v(_0x16b084,_0x5c1f35,_0x485257,_0x33ab66){const _0x90860=_0x56c0cf;var _0x50bfc8=arguments[_0x90860(0x3d5)],_0x5a5309=_0x50bfc8<0x3?_0x5c1f35:_0x33ab66===null?_0x33ab66=Object[_0x90860(0x4e5)](_0x5c1f35,_0x485257):_0x33ab66,_0x4b3943;if(typeof Reflect==_0x90860(0x6ec)&&typeof Reflect[_0x90860(0x345)]=='function')_0x5a5309=Reflect[_0x90860(0x345)](_0x16b084,_0x5c1f35,_0x485257,_0x33ab66);else{for(var _0x15ec88=_0x16b084['length']-0x1;_0x15ec88>=0x0;_0x15ec88--)(_0x4b3943=_0x16b084[_0x15ec88])&&(_0x5a5309=(_0x50bfc8<0x3?_0x4b3943(_0x5a5309):_0x50bfc8>0x3?_0x4b3943(_0x5c1f35,_0x485257,_0x5a5309):_0x4b3943(_0x5c1f35,_0x485257))||_0x5a5309);}return _0x50bfc8>0x3&&_0x5a5309&&Object[_0x90860(0x1a6)](_0x5c1f35,_0x485257,_0x5a5309),_0x5a5309;}const y={'ShapeAccentBorderCallout1Icon':t['ShapeAccentBorderCallout1Icon'],'ShapeAccentBorderCallout2Icon':t[_0x56c0cf(0x6d4)],'ShapeAccentBorderCallout3Icon':t[_0x56c0cf(0x296)],'ShapeAccentCallout1Icon':t[_0x56c0cf(0x6c1)],'ShapeAccentCallout2Icon':t[_0x56c0cf(0x514)],'ShapeAccentCallout3Icon':t[_0x56c0cf(0x23a)],'ShapeActionButtonBackPreviousIcon':t[_0x56c0cf(0x50b)],'ShapeActionButtonBeginningIcon':t['ShapeActionButtonBeginningIcon'],'ShapeActionButtonBlankIcon':t['ShapeActionButtonBlankIcon'],'ShapeActionButtonDocumentIcon':t[_0x56c0cf(0x681)],'ShapeActionButtonEndIcon':t[_0x56c0cf(0x548)],'ShapeActionButtonForwardNextIcon':t[_0x56c0cf(0x6af)],'ShapeActionButtonHelpIcon':t[_0x56c0cf(0x2a9)],'ShapeActionButtonHomeIcon':t[_0x56c0cf(0x2de)],'ShapeActionButtonInformationIcon':t[_0x56c0cf(0x708)],'ShapeActionButtonMovieIcon':t['ShapeActionButtonMovieIcon'],'ShapeActionButtonReturnIcon':t[_0x56c0cf(0x3cd)],'ShapeActionButtonSoundIcon':t[_0x56c0cf(0x3f8)],'ShapeArcIcon':t[_0x56c0cf(0x30b)],'ShapeBentArrowIcon':t[_0x56c0cf(0x6ad)],'ShapeBentConnector3Arrow1Icon':t[_0x56c0cf(0x574)],'ShapeBentConnector3Arrow2Icon':t[_0x56c0cf(0x3d3)],'ShapeBentConnector3Icon':t[_0x56c0cf(0x669)],'ShapeBentUpArrowIcon':t[_0x56c0cf(0x423)],'ShapeBevelIcon':t[_0x56c0cf(0x664)],'ShapeBlockArcIcon':t[_0x56c0cf(0x293)],'ShapeBorderCallout1Icon':t['ShapeBorderCallout1Icon'],'ShapeBorderCallout2Icon':t['ShapeBorderCallout2Icon'],'ShapeBorderCallout3Icon':t[_0x56c0cf(0x2a2)],'ShapeBracePairIcon':t[_0x56c0cf(0x604)],'ShapeBracketPairIcon':t[_0x56c0cf(0x1bd)],'ShapeCallout1Icon':t['ShapeCallout1Icon'],'ShapeCallout2Icon':t['ShapeCallout2Icon'],'ShapeCallout3Icon':t[_0x56c0cf(0x3e6)],'ShapeCanIcon':t[_0x56c0cf(0x43d)],'ShapeChartPlusIcon':t[_0x56c0cf(0x288)],'ShapeChartStarIcon':t['ShapeChartStarIcon'],'ShapeChartXIcon':t[_0x56c0cf(0x587)],'ShapeChevronIcon':t[_0x56c0cf(0x46d)],'ShapeChordIcon':t['ShapeChordIcon'],'ShapeCircularArrowIcon':t[_0x56c0cf(0x1a7)],'ShapeCloudCalloutIcon':t['ShapeCloudCalloutIcon'],'ShapeCloudIcon':t[_0x56c0cf(0x670)],'ShapeCornerIcon':t[_0x56c0cf(0x30f)],'ShapeCornerTabsIcon':t[_0x56c0cf(0x450)],'ShapeCubeIcon':t[_0x56c0cf(0x1b1)],'ShapeCurvedConnector3Arrow1Icon':t[_0x56c0cf(0x42f)],'ShapeCurvedConnector3Arrow2Icon':t[_0x56c0cf(0x510)],'ShapeCurvedConnector3Icon':t['ShapeCurvedConnector3Icon'],'ShapeCurvedDownArrowIcon':t[_0x56c0cf(0x666)],'ShapeCurvedLeftArrowIcon':t[_0x56c0cf(0x4c6)],'ShapeCurvedRightArrowIcon':t['ShapeCurvedRightArrowIcon'],'ShapeCurvedUpArrowIcon':t[_0x56c0cf(0x5ae)],'ShapeDecagonIcon':t[_0x56c0cf(0x58b)],'ShapeDiagStripeIcon':t[_0x56c0cf(0x3f9)],'ShapeDiamondIcon':t['ShapeDiamondIcon'],'ShapeDodecagonIcon':t['ShapeDodecagonIcon'],'ShapeDonutIcon':t['ShapeDonutIcon'],'ShapeDoubleWaveIcon':t['ShapeDoubleWaveIcon'],'ShapeDownArrowCalloutIcon':t['ShapeDownArrowCalloutIcon'],'ShapeDownArrowIcon':t[_0x56c0cf(0x447)],'ShapeEllipseIcon':t['ShapeEllipseIcon'],'ShapeEllipseRibbon2Icon':t[_0x56c0cf(0x3ed)],'ShapeEllipseRibbonIcon':t[_0x56c0cf(0x617)],'ShapeFlowChartAlternateProcessIcon':t[_0x56c0cf(0x38b)],'ShapeFlowChartCollateIcon':t['ShapeFlowChartCollateIcon'],'ShapeFlowChartConnectorIcon':t[_0x56c0cf(0x694)],'ShapeFlowChartDecisionIcon':t[_0x56c0cf(0x1bf)],'ShapeFlowChartDelayIcon':t['ShapeFlowChartDelayIcon'],'ShapeFlowChartDisplayIcon':t['ShapeFlowChartDisplayIcon'],'ShapeFlowChartDocumentIcon':t[_0x56c0cf(0x332)],'ShapeFlowChartExtractIcon':t[_0x56c0cf(0x561)],'ShapeFlowChartInputOutputIcon':t[_0x56c0cf(0x333)],'ShapeFlowChartInternalStorageIcon':t['ShapeFlowChartInternalStorageIcon'],'ShapeFlowChartMagneticDiskIcon':t[_0x56c0cf(0x29f)],'ShapeFlowChartMagneticDrumIcon':t['ShapeFlowChartMagneticDrumIcon'],'ShapeFlowChartMagneticTapeIcon':t[_0x56c0cf(0x4ee)],'ShapeFlowChartManualInputIcon':t[_0x56c0cf(0x5cd)],'ShapeFlowChartManualOperationIcon':t[_0x56c0cf(0x6df)],'ShapeFlowChartMergeIcon':t['ShapeFlowChartMergeIcon'],'ShapeFlowChartMultidocumentIcon':t['ShapeFlowChartMultidocumentIcon'],'ShapeFlowChartOfflineStorageIcon':t[_0x56c0cf(0x458)],'ShapeFlowChartOffpageConnectorIcon':t[_0x56c0cf(0x5c5)],'ShapeFlowChartOnlineStorageIcon':t[_0x56c0cf(0x291)],'ShapeFlowChartOrIcon':t[_0x56c0cf(0x53f)],'ShapeFlowChartPredefinedProcessIcon':t[_0x56c0cf(0x476)],'ShapeFlowChartPreparationIcon':t[_0x56c0cf(0x1c7)],'ShapeFlowChartProcessIcon':t[_0x56c0cf(0x501)],'ShapeFlowChartPunchedCardIcon':t[_0x56c0cf(0x28b)],'ShapeFlowChartPunchedTapeIcon':t[_0x56c0cf(0x1de)],'ShapeFlowChartSortIcon':t[_0x56c0cf(0x5f8)],'ShapeFlowChartSummingJunctionIcon':t['ShapeFlowChartSummingJunctionIcon'],'ShapeFlowChartTerminatorIcon':t[_0x56c0cf(0x20f)],'ShapeFolderCornerIcon':t[_0x56c0cf(0x58e)],'ShapeFrameIcon':t['ShapeFrameIcon'],'ShapeFunnelIcon':t['ShapeFunnelIcon'],'ShapeGear6Icon':t[_0x56c0cf(0x48c)],'ShapeGear9Icon':t[_0x56c0cf(0x507)],'ShapeHalfFrameIcon':t[_0x56c0cf(0x69e)],'ShapeHeartIcon':t[_0x56c0cf(0x61e)],'ShapeHeptagonIcon':t[_0x56c0cf(0x330)],'ShapeHexagonIcon':t['ShapeHexagonIcon'],'ShapeHomePlateIcon':t[_0x56c0cf(0x213)],'ShapeHorizontalScrollIcon':t['ShapeHorizontalScrollIcon'],'ShapeIcon':t[_0x56c0cf(0x1d8)],'ShapeIrregularSeal1Icon':t[_0x56c0cf(0x452)],'ShapeIrregularSeal2Icon':t[_0x56c0cf(0x1f7)],'ShapeLeftArrowCalloutIcon':t[_0x56c0cf(0x511)],'ShapeLeftArrowIcon':t[_0x56c0cf(0x47d)],'ShapeLeftBraceIcon':t[_0x56c0cf(0x62f)],'ShapeLeftBracketIcon':t[_0x56c0cf(0x4e8)],'ShapeLeftCircularArrowIcon':t[_0x56c0cf(0x630)],'ShapeLeftRightArrowCalloutIcon':t[_0x56c0cf(0x488)],'ShapeLeftRightArrowIcon':t[_0x56c0cf(0x4d1)],'ShapeLeftRightCircularArrowIcon':t[_0x56c0cf(0x48f)],'ShapeLeftRightRibbonIcon':t[_0x56c0cf(0x1aa)],'ShapeLeftRightUpArrowIcon':t[_0x56c0cf(0x2f6)],'ShapeLeftUpArrowIcon':t[_0x56c0cf(0x6f1)],'ShapeLightningBoltIcon':t['ShapeLightningBoltIcon'],'ShapeLineIcon':t['ShapeLineIcon'],'ShapeLineInvIcon':t[_0x56c0cf(0x340)],'ShapeMathDivideIcon':t[_0x56c0cf(0x1c1)],'ShapeMathEqualIcon':t[_0x56c0cf(0x5b9)],'ShapeMathMinusIcon':t['ShapeMathMinusIcon'],'ShapeMathMultiplyIcon':t[_0x56c0cf(0x45f)],'ShapeMathNotEqualIcon':t['ShapeMathNotEqualIcon'],'ShapeMathPlusIcon':t['ShapeMathPlusIcon'],'ShapeMoonIcon':t[_0x56c0cf(0x335)],'ShapeNoSmokingIcon':t[_0x56c0cf(0x492)],'ShapeNonIsoscelesTrapezoidIcon':t[_0x56c0cf(0x320)],'ShapeNotchedRightArrowIcon':t[_0x56c0cf(0x47c)],'ShapeOctagonIcon':t[_0x56c0cf(0x292)],'ShapeParallelogramIcon':t[_0x56c0cf(0x591)],'ShapePentagonIcon':t['ShapePentagonIcon'],'ShapePieIcon':t[_0x56c0cf(0x4b5)],'ShapePieWedgeIcon':t[_0x56c0cf(0x2a8)],'ShapePlaqueIcon':t[_0x56c0cf(0x285)],'ShapePlaqueTabsIcon':t[_0x56c0cf(0x6cb)],'ShapePlusIcon':t[_0x56c0cf(0x399)],'ShapeQuadArrowCalloutIcon':t[_0x56c0cf(0x531)],'ShapeQuadArrowIcon':t['ShapeQuadArrowIcon'],'ShapeRectIcon':t['ShapeRectIcon'],'ShapeRectTextboxHorizontalIcon':t[_0x56c0cf(0x42a)],'ShapeRectTextboxVerticalIcon':t['ShapeRectTextboxVerticalIcon'],'ShapeRibbon2Icon':t['ShapeRibbon2Icon'],'ShapeRibbonIcon':t[_0x56c0cf(0x580)],'ShapeRightArrowCalloutIcon':t[_0x56c0cf(0x5e8)],'ShapeRightArrowIcon':t['ShapeRightArrowIcon'],'ShapeRightBraceIcon':t[_0x56c0cf(0x32d)],'ShapeRightBracketIcon':t[_0x56c0cf(0x56a)],'ShapeRound1RectIcon':t['ShapeRound1RectIcon'],'ShapeRound2DiagRectIcon':t[_0x56c0cf(0x534)],'ShapeRound2SameRectIcon':t[_0x56c0cf(0x39a)],'ShapeRoundRectIcon':t[_0x56c0cf(0x436)],'ShapeRtTriangleIcon':t[_0x56c0cf(0x2e6)],'ShapeSmileyFaceIcon':t[_0x56c0cf(0x281)],'ShapeSnip1RectIcon':t[_0x56c0cf(0x365)],'ShapeSnip2DiagRectIcon':t[_0x56c0cf(0x63c)],'ShapeSnip2SameRectIcon':t['ShapeSnip2SameRectIcon'],'ShapeSnipRoundRectIcon':t[_0x56c0cf(0x592)],'ShapeSquareTabsIcon':t[_0x56c0cf(0x244)],'ShapeStar10Icon':t['ShapeStar10Icon'],'ShapeStar12Icon':t[_0x56c0cf(0x397)],'ShapeStar16Icon':t[_0x56c0cf(0x412)],'ShapeStar24Icon':t[_0x56c0cf(0x6bd)],'ShapeStar32Icon':t[_0x56c0cf(0x6fe)],'ShapeStar4Icon':t[_0x56c0cf(0x304)],'ShapeStar5Icon':t[_0x56c0cf(0x45c)],'ShapeStar6Icon':t['ShapeStar6Icon'],'ShapeStar7Icon':t[_0x56c0cf(0x68d)],'ShapeStar8Icon':t[_0x56c0cf(0x24f)],'ShapeStraightConnector1Icon':t[_0x56c0cf(0x628)],'ShapeStraightConnector2Icon':t['ShapeStraightConnector2Icon'],'ShapeStripedRightArrowIcon':t[_0x56c0cf(0x559)],'ShapeSunIcon':t[_0x56c0cf(0x711)],'ShapeSwooshArrowIcon':t[_0x56c0cf(0x37a)],'ShapeTeardropIcon':t['ShapeTeardropIcon'],'ShapeTrapezoidIcon':t[_0x56c0cf(0x4f3)],'ShapeTriangleIcon':t['ShapeTriangleIcon'],'ShapeUpArrowCalloutIcon':t[_0x56c0cf(0x35a)],'ShapeUpArrowIcon':t[_0x56c0cf(0x642)],'ShapeUpDownArrowCalloutIcon':t[_0x56c0cf(0x1a2)],'ShapeUpDownArrowIcon':t[_0x56c0cf(0x6e9)],'ShapeUturnArrowIcon':t[_0x56c0cf(0x6fb)],'ShapeVerticalScrollIcon':t['ShapeVerticalScrollIcon'],'ShapeWaveIcon':t[_0x56c0cf(0x6ee)],'ShapeWedgeEllipseCalloutIcon':t[_0x56c0cf(0x36e)],'ShapeWedgeRectCalloutIcon':t[_0x56c0cf(0x63f)],'ShapeWedgeRoundRectCalloutIcon':t['ShapeWedgeRoundRectCalloutIcon']};let b=class extends i['Disposable']{constructor(_0x23e3bc){const _0x590d47=_0x56c0cf;super(),this['_iconManager']=_0x23e3bc,this[_0x590d47(0x535)]();}[_0x56c0cf(0x535)](){const _0x1b8424=_0x56c0cf;this[_0x1b8424(0x3c9)](this[_0x1b8424(0x45e)][_0x1b8424(0x2f1)](y));}};b=v([_(0x0,(0x0,i[_0x56c0cf(0x1d4)])(a[_0x56c0cf(0x701)]))],b);function x(_0x490f5d){'@babel/helpers - typeof';const _0x2481e5=_0x56c0cf;return x=typeof Symbol==_0x2481e5(0x3c4)&&typeof Symbol[_0x2481e5(0x647)]==_0x2481e5(0x4c3)?function(_0x49884e){return typeof _0x49884e;}:function(_0x578df7){const _0x4d5dd3=_0x2481e5;return _0x578df7&&typeof Symbol==_0x4d5dd3(0x3c4)&&_0x578df7[_0x4d5dd3(0x6f3)]===Symbol&&_0x578df7!==Symbol[_0x4d5dd3(0x5a4)]?_0x4d5dd3(0x4c3):typeof _0x578df7;},x(_0x490f5d);}function S(_0x1d7cde,_0xbfc42a){const _0x1b2232=_0x56c0cf;if(x(_0x1d7cde)!=_0x1b2232(0x6ec)||!_0x1d7cde)return _0x1d7cde;var _0x5427e7=_0x1d7cde[Symbol[_0x1b2232(0x4a9)]];if(_0x5427e7!==void 0x0){var _0xd4d6a9=_0x5427e7[_0x1b2232(0x35d)](_0x1d7cde,_0xbfc42a||'default');if(x(_0xd4d6a9)!='object')return _0xd4d6a9;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0xbfc42a===_0x1b2232(0x1ce)?String:Number)(_0x1d7cde);}function C(_0x168b7c){const _0x43b917=_0x56c0cf;var _0x2b56d3=S(_0x168b7c,'string');return x(_0x2b56d3)==_0x43b917(0x4c3)?_0x2b56d3:_0x2b56d3+'';}function w(_0x51125a,_0x4847a5,_0x3d179d){return(_0x4847a5=C(_0x4847a5))in _0x51125a?Object['defineProperty'](_0x51125a,_0x4847a5,{'value':_0x3d179d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x51125a[_0x4847a5]=_0x3d179d,_0x51125a;}let T=class extends i[_0x56c0cf(0x5b2)]{constructor(_0x1bc2c9=g,_0x1e22de,_0x4022f8){const _0x587857=_0x56c0cf;super(),this[_0x587857(0x362)]=_0x1bc2c9,this[_0x587857(0x3b0)]=_0x1e22de,this[_0x587857(0x3eb)]=_0x4022f8;let {..._0x2f48e7}=(0x0,i[_0x587857(0x49b)])({},g,this[_0x587857(0x362)]);this['_configService'][_0x587857(0x6a7)](_0x587857(0x4ce),_0x2f48e7);}[_0x56c0cf(0x381)](){const _0x3fdeec=_0x56c0cf;this[_0x3fdeec(0x3b0)][_0x3fdeec(0x5b8)]([b]),this[_0x3fdeec(0x3b0)][_0x3fdeec(0x566)](b);}};w(T,'type',i[_0x56c0cf(0x5de)]['UNIVER_UNKNOWN']),w(T,'pluginName',_0x56c0cf(0x6bb)),w(T,'packageName',m),w(T,_0x56c0cf(0x6de),h),T=v([_(0x1,(0x0,i['Inject'])(i[_0x56c0cf(0x2c8)])),_(0x2,i['IConfigService'])],T);function E(_0x1bd124){const _0x24cfae=_0x56c0cf;return!!_0x1bd124&&typeof _0x1bd124==_0x24cfae(0x6ec)&&typeof _0x1bd124['oKey']=='string';}function D(_0x1fab4c,_0x24cd24){const _0x3c1c92=_0x56c0cf;var _0x1cd794,_0x2147d3,_0x2192e0,_0x3d644c,_0x435269,_0x52c893,_0x5509a2;let _0x5a7844=(_0x1cd794=_0x1fab4c[_0x3c1c92(0x68c)](_0x24cd24[_0x3c1c92(0x22a)]))==null?void 0x0:_0x1cd794[_0x3c1c92(0x5b6)];if(!_0x5a7844)return!0x1;let _0x484a95=(0x0,o['getDrawingShapeKeyByDrawingSearch'])(_0x24cd24),_0x248054=(_0x2147d3=(_0x2192e0=_0x5a7844['getObjectIncludeInGroup'])==null?void 0x0:_0x2192e0[_0x3c1c92(0x35d)](_0x5a7844,_0x484a95))==null?(_0x3d644c=_0x5a7844[_0x3c1c92(0x41d)])==null?void 0x0:_0x3d644c[_0x3c1c92(0x35d)](_0x5a7844,_0x484a95):_0x2147d3;return E(_0x248054)?((_0x435269=_0x5a7844[_0x3c1c92(0x1e3)])==null||(_0x5509a2=(_0x52c893=_0x435269['call'](_0x5a7844))['activeAnObject'])==null||_0x5509a2[_0x3c1c92(0x35d)](_0x52c893,_0x248054),!0x0):!0x1;}function O(_0x1bb15f,_0x374370){const _0x48377f=_0x56c0cf;var _0x2694c0,_0x494783;let _0x333df7=(_0x2694c0=_0x1bb15f[_0x48377f(0x68c)](_0x374370))==null||(_0x2694c0=_0x2694c0['scene'])==null||(_0x494783=_0x2694c0[_0x48377f(0x3ad)])==null?void 0x0:_0x494783[_0x48377f(0x35d)](_0x2694c0);return _0x333df7!=null&&_0x333df7[_0x48377f(0x538)]?(_0x333df7[_0x48377f(0x538)](),!0x0):!0x1;}const k={'borderEnabled':!0x0,'borderStroke':_0x56c0cf(0x601),'borderStrokeWidth':0x1,'borderSpacing':0x2,'anchorFill':_0x56c0cf(0x22b),'anchorStroke':_0x56c0cf(0x601),'anchorStrokeWidth':1.5,'anchorSize':0x8,'anchorCornerRadius':0x2,'anchorStyle':'canva','rotateEnabled':!0x0,'rotateSize':0x12,'rotateCornerRadius':0x9,'rotateAnchorOffset':0x1c,'rotateAnchorPosition':_0x56c0cf(0x4b8),'rotateLineEnabled':!0x1,'rotateFill':_0x56c0cf(0x22b),'rotateStroke':_0x56c0cf(0x601),'rotateStrokeWidth':0x1,'rotateIconEnabled':!0x0,'rotateIconStroke':_0x56c0cf(0x601),'rotateIconStrokeWidth':1.25,'resizeEnabled':!0x0,'keepRatio':!0x1,'moveBoundaryEnabled':!0x1};function A(_0xcbacd9){const _0x53859e=_0x56c0cf;var _0x5b77c3,_0x3b3dbe,_0x8cde54,_0x199086,_0x5a5b8d,_0x4f3170,_0x18e028,_0x9b4640,_0x32fc05,_0x6f6a7d,_0x15b032,_0x2b904c,_0x52651b;let {shapeData:_0x5cd362,disableShapeOption:_0x446856,onUpdateShapeData:_0x22ef41,onUpdateShapeFillImage:_0x37334a}=_0xcbacd9,_0x376165=(0x0,a[_0x53859e(0x4ea)])(i[_0x53859e(0x5ad)]),_0x4d7a21=(0x0,a['useDependency'])(i['IContextService']),_0x2192d2=(0x0,a[_0x53859e(0x4ea)])(i['IImageIoService']),_0x430cdf=(0x0,n['useRef'])(null),_0x3ae39a=_0x5cd362[_0x53859e(0x546)],_0x16dc91=!!(_0x3ae39a!=null&&_0x3ae39a[_0x53859e(0x2c4)]),[_0x2104a6,_0x20bb51]=(0x0,n['useState'])((_0x5b77c3=_0x3ae39a==null?void 0x0:_0x3ae39a[_0x53859e(0x616)])==null?0x1:_0x5b77c3),[_0x171616,_0x53d485]=(0x0,n[_0x53859e(0x1c0)])((_0x3b3dbe=_0x3ae39a==null?void 0x0:_0x3ae39a[_0x53859e(0x2ee)])==null?s[_0x53859e(0x367)]['Stretch']:_0x3b3dbe),[_0x776d07,_0x260f2b]=(0x0,n['useState'])((_0x8cde54=_0x3ae39a==null?void 0x0:_0x3ae39a[_0x53859e(0x557)])==null?!0x1:_0x8cde54),[_0x4b6307,_0x3e1596]=(0x0,n[_0x53859e(0x1c0)])((_0x199086=_0x3ae39a==null||(_0x5a5b8d=_0x3ae39a[_0x53859e(0x246)])==null?void 0x0:_0x5a5b8d[_0x53859e(0x3ab)])==null?0x0:_0x199086),[_0xd2b522,_0x4f3e19]=(0x0,n[_0x53859e(0x1c0)])((_0x4f3170=_0x3ae39a==null||(_0x18e028=_0x3ae39a[_0x53859e(0x246)])==null?void 0x0:_0x18e028[_0x53859e(0x6a2)])==null?0x0:_0x4f3170),[_0x48e7f3,_0x4a95e4]=(0x0,n[_0x53859e(0x1c0)])((_0x9b4640=_0x3ae39a==null||(_0x32fc05=_0x3ae39a[_0x53859e(0x246)])==null?void 0x0:_0x32fc05['scaleX'])==null?0x1:_0x9b4640),[_0x352ad6,_0x44eba1]=(0x0,n[_0x53859e(0x1c0)])((_0x6f6a7d=_0x3ae39a==null||(_0x15b032=_0x3ae39a[_0x53859e(0x246)])==null?void 0x0:_0x15b032[_0x53859e(0x466)])==null?0x1:_0x6f6a7d),[_0x52d243,_0x565e30]=(0x0,n['useState'])((_0x2b904c=_0x3ae39a==null||(_0x52651b=_0x3ae39a['imageTile'])==null?void 0x0:_0x52651b[_0x53859e(0x393)])==null?'tl':_0x2b904c),_0x1982b0=_0x171616===s[_0x53859e(0x367)][_0x53859e(0x44a)],_0xcb40e2=Math['round']((0x1-_0x2104a6)*0x64),_0x42f68d=Math[_0x53859e(0x2b5)](_0x48e7f3*0x64),_0x22cf39=Math[_0x53859e(0x2b5)](_0x352ad6*0x64),_0x2d8a81=[{'label':_0x376165['t'](_0x53859e(0x6bf)),'value':'tl'},{'label':_0x376165['t'](_0x53859e(0x3f4)),'value':'t'},{'label':_0x376165['t'](_0x53859e(0x2a0)),'value':'tr'},{'label':_0x376165['t'](_0x53859e(0x6f4)),'value':'l'},{'label':_0x376165['t'](_0x53859e(0x586)),'value':_0x53859e(0x57f)},{'label':_0x376165['t'](_0x53859e(0x6ff)),'value':'r'},{'label':_0x376165['t'](_0x53859e(0x6ab)),'value':'bl'},{'label':_0x376165['t'](_0x53859e(0x402)),'value':'b'},{'label':_0x376165['t'](_0x53859e(0x521)),'value':'br'}],_0x38c548=_0x384220=>{_0x22ef41({'oldShapeData':{'fill':_0x3ae39a?{..._0x3ae39a}:void 0x0}},{'fill':{..._0x3ae39a,..._0x384220}});},_0x4329d5=_0xf8483f=>{const _0x4713af=_0x53859e;_0x38c548({'imageTile':{..._0x3ae39a==null?void 0x0:_0x3ae39a[_0x4713af(0x246)],..._0xf8483f}});},_0x2a2531=()=>{const _0x107cae=_0x53859e;var _0x177abe;return(_0x177abe=_0x430cdf[_0x107cae(0x21b)])==null?void 0x0:_0x177abe['click']();},_0x4cbc9b=async _0x147286=>{const _0x2dab4e=_0x53859e;var _0x5d2f41;let _0x5b92a3=(_0x5d2f41=_0x147286[_0x2dab4e(0x207)][_0x2dab4e(0x276)])==null?void 0x0:_0x5d2f41[0x0];if(!_0x5b92a3)return;_0x147286[_0x2dab4e(0x207)][_0x2dab4e(0x202)]='';let _0x4768b5=await _0x2192d2[_0x2dab4e(0x5cb)](_0x5b92a3);if(_0x4768b5==null)return;let {imageSourceType:_0x424907,source:_0x34fd44,base64Cache:_0x49e5fb}=_0x4768b5,{image:_0x25db98}=await(0x0,o[_0x2dab4e(0x49c)])(_0x49e5fb||'');_0x2192d2['addImageSourceCache'](_0x34fd44,_0x424907,_0x25db98),_0x22ef41({'oldShapeData':{'fill':_0x3ae39a?{..._0x3ae39a}:void 0x0}},{'fill':{..._0x3ae39a,'fillType':s[_0x2dab4e(0x6bc)][_0x2dab4e(0x347)],'fillImageSource':_0x34fd44,'fillImageSourceType':_0x424907}}),_0x37334a==null||_0x37334a(_0x25db98);},_0x2f5dd3=_0x53859e(0x53b),_0x3bf50a=_0x53859e(0x4dc);return(0x0,r[_0x53859e(0x372)])(_0x53859e(0x21c),{'className':_0x53859e(0x428),'children':[(0x0,r[_0x53859e(0x372)])('div',{'className':_0x53859e(0x2d9),'children':[(0x0,r[_0x53859e(0x6f0)])(_0x53859e(0x6c6),{'className':_0x2f5dd3,'children':_0x376165['t']('shape-editor-ui.fill.picture.source')}),(0x0,r[_0x53859e(0x372)])(_0x53859e(0x21c),{'className':_0x53859e(0x387),'children':[(0x0,r['jsx'])(_0x53859e(0x697),{'ref':_0x430cdf,'type':_0x53859e(0x457),'accept':'image/*','className':_0x53859e(0x1f0),'onChange':_0x4cbc9b}),(0x0,r[_0x53859e(0x372)])(_0x53859e(0x21c),{'className':_0x53859e(0x610),'children':[(0x0,r[_0x53859e(0x6f0)])(_0x53859e(0x324),{'type':_0x53859e(0x324),'disabled':_0x446856,'className':_0x53859e(0x31f),'onClick':_0x2a2531,'children':(0x0,r[_0x53859e(0x372)])('span',{'children':[_0x376165['t']('shape-editor-ui.fill.picture.insert'),'\x20']})}),_0x16dc91&&(0x0,r[_0x53859e(0x6f0)])(_0x53859e(0x21c),{'className':'univer-pointer-events-none\x20univer-absolute\x20univer-bottom-full\x20univer-left-0\x20univer-mb-1\x20univer-hidden\x20univer-overflow-hidden\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-shadow-md\x20group-hover:univer-block\x20dark:!univer-border-gray-600\x20dark:!univer-bg-gray-800','children':(0x0,r['jsx'])(_0x53859e(0x1cf),{'src':_0x3ae39a==null?void 0x0:_0x3ae39a['fillImageSource'],'alt':'','className':_0x53859e(0x223)})})]})]})]}),(0x0,r['jsxs'])('div',{'className':_0x3bf50a,'children':[(0x0,r[_0x53859e(0x6f0)])(_0x53859e(0x6c6),{'className':_0x2f5dd3,'children':_0x376165['t'](_0x53859e(0x2f2))}),(0x0,r[_0x53859e(0x6f0)])(_0x53859e(0x21c),{'className':_0x53859e(0x672),'children':(0x0,r[_0x53859e(0x6f0)])(e[_0x53859e(0x4c7)],{'className':_0x53859e(0x4c9),'value':_0xcb40e2,'disabled':_0x446856,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x5717ed=>_0x5717ed+'%','parser':_0x4ba262=>(_0x4ba262==null?void 0x0:_0x4ba262[_0x53859e(0x40d)]('%',''))||'','onChange':_0x4d4e61=>{const _0x405d08=_0x53859e;let _0x141c62=(0x64-Math[_0x405d08(0x6e4)](0x0,Math[_0x405d08(0x67f)](0x64,_0x4d4e61==null?0x0:_0x4d4e61)))/0x64;_0x20bb51(_0x141c62),_0x38c548({'imageOpacity':_0x141c62}),_0x4d7a21[_0x405d08(0x691)](i['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x4d7a21[_0x53859e(0x691)](i['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x4d7a21[_0x53859e(0x691)](i['FOCUSING_PANEL_EDITOR'],!0x1)})})]}),(0x0,r[_0x53859e(0x6f0)])(e[_0x53859e(0x53e)],{'checked':_0x1982b0,'disabled':_0x446856,'onChange':_0x532327=>{const _0x108649=_0x53859e;let _0x6e693f=_0x532327?s[_0x108649(0x367)][_0x108649(0x44a)]:s[_0x108649(0x367)]['Stretch'];_0x53d485(_0x6e693f),_0x38c548({'imageFillMode':_0x6e693f});},'children':(0x0,r[_0x53859e(0x6f0)])(_0x53859e(0x6c6),{'className':_0x53859e(0x625),'children':_0x376165['t'](_0x53859e(0x271))})}),_0x1982b0&&(0x0,r[_0x53859e(0x372)])(_0x53859e(0x21c),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-2\x20univer-border-l-2\x20univer-border-l-gray-200\x20univer-pl-3\x20dark:!univer-border-l-gray-600','children':[(0x0,r['jsxs'])(_0x53859e(0x21c),{'className':_0x3bf50a,'children':[(0x0,r[_0x53859e(0x6f0)])('span',{'className':_0x2f5dd3,'children':_0x376165['t'](_0x53859e(0x674))}),(0x0,r[_0x53859e(0x6f0)])(_0x53859e(0x21c),{'className':_0x53859e(0x672),'children':(0x0,r['jsx'])(e[_0x53859e(0x4c7)],{'className':_0x53859e(0x4c9),'value':_0x4b6307,'disabled':_0x446856,'step':0x1,'onChange':_0x58ddc3=>{_0x4329d5({'offsetX':_0x58ddc3==null?0x0:_0x58ddc3}),_0x3e1596(_0x58ddc3==null?0x0:_0x58ddc3);},'onFocus':()=>_0x4d7a21[_0x53859e(0x691)](i[_0x53859e(0x3f5)],!0x0),'onBlur':()=>_0x4d7a21[_0x53859e(0x691)](i['FOCUSING_PANEL_EDITOR'],!0x1)})})]}),(0x0,r[_0x53859e(0x372)])(_0x53859e(0x21c),{'className':_0x3bf50a,'children':[(0x0,r[_0x53859e(0x6f0)])('span',{'className':_0x2f5dd3,'children':_0x376165['t']('shape-editor-ui.fill.picture.offsetY')}),(0x0,r[_0x53859e(0x6f0)])('div',{'className':_0x53859e(0x672),'children':(0x0,r[_0x53859e(0x6f0)])(e['InputNumber'],{'className':'univer-w-full','value':_0xd2b522,'disabled':_0x446856,'step':0x1,'onChange':_0x175bc2=>{_0x4329d5({'offsetY':_0x175bc2==null?0x0:_0x175bc2}),_0x4f3e19(_0x175bc2==null?0x0:_0x175bc2);},'onFocus':()=>_0x4d7a21[_0x53859e(0x691)](i['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x4d7a21[_0x53859e(0x691)](i[_0x53859e(0x3f5)],!0x1)})})]}),(0x0,r[_0x53859e(0x372)])(_0x53859e(0x21c),{'className':_0x3bf50a,'children':[(0x0,r['jsx'])(_0x53859e(0x6c6),{'className':_0x2f5dd3,'children':_0x376165['t'](_0x53859e(0x328))}),(0x0,r[_0x53859e(0x6f0)])('div',{'className':_0x53859e(0x672),'children':(0x0,r[_0x53859e(0x6f0)])(e[_0x53859e(0x4c7)],{'className':_0x53859e(0x4c9),'value':_0x42f68d,'disabled':_0x446856,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x3b4d95=>_0x3b4d95+'%','parser':_0x32b95=>(_0x32b95==null?void 0x0:_0x32b95['replace']('%',''))||'','onChange':_0x4773a5=>{const _0x306123=_0x53859e;let _0x2313af=Math[_0x306123(0x6e4)](0.01,(_0x4773a5==null?0x64:_0x4773a5)/0x64);_0x4a95e4(_0x2313af),_0x4329d5({'scaleX':_0x2313af}),_0x4d7a21[_0x306123(0x691)](i[_0x306123(0x3f5)],!0x1);},'onFocus':()=>_0x4d7a21['setContextValue'](i[_0x53859e(0x3f5)],!0x0),'onBlur':()=>_0x4d7a21[_0x53859e(0x691)](i[_0x53859e(0x3f5)],!0x1)})})]}),(0x0,r[_0x53859e(0x372)])(_0x53859e(0x21c),{'className':_0x3bf50a,'children':[(0x0,r['jsx'])(_0x53859e(0x6c6),{'className':_0x2f5dd3,'children':_0x376165['t'](_0x53859e(0x42b))}),(0x0,r[_0x53859e(0x6f0)])(_0x53859e(0x21c),{'className':'univer-w-20','children':(0x0,r[_0x53859e(0x6f0)])(e[_0x53859e(0x4c7)],{'className':'univer-w-full','value':_0x22cf39,'disabled':_0x446856,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x16dc4b=>_0x16dc4b+'%','parser':_0xcfb768=>(_0xcfb768==null?void 0x0:_0xcfb768[_0x53859e(0x40d)]('%',''))||'','onChange':_0x269916=>{const _0x509c74=_0x53859e;let _0xf944a6=Math[_0x509c74(0x6e4)](0.01,(_0x269916==null?0x64:_0x269916)/0x64);_0x44eba1(_0xf944a6),_0x4329d5({'scaleY':_0xf944a6}),_0x4d7a21[_0x509c74(0x691)](i['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x4d7a21['setContextValue'](i[_0x53859e(0x3f5)],!0x0),'onBlur':()=>_0x4d7a21[_0x53859e(0x691)](i[_0x53859e(0x3f5)],!0x1)})})]}),(0x0,r[_0x53859e(0x372)])(_0x53859e(0x21c),{'className':_0x3bf50a,'children':[(0x0,r[_0x53859e(0x6f0)])(_0x53859e(0x6c6),{'className':_0x2f5dd3,'children':_0x376165['t'](_0x53859e(0x26c))}),(0x0,r['jsx'])(_0x53859e(0x21c),{'className':_0x53859e(0x25e),'children':(0x0,r[_0x53859e(0x6f0)])(e['Select'],{'className':_0x53859e(0x4c9),'value':_0x52d243,'options':_0x2d8a81,'disabled':_0x446856,'onChange':_0x1f744c=>{_0x565e30(_0x1f744c),_0x4329d5({'alignment':_0x1f744c});}})})]})]}),(0x0,r['jsx'])(e[_0x53859e(0x53e)],{'checked':_0x776d07,'disabled':_0x446856,'onChange':_0x3fd942=>{_0x260f2b(_0x3fd942),_0x38c548({'imageRotateWithShape':_0x3fd942});},'children':(0x0,r[_0x53859e(0x6f0)])('span',{'className':'univer-text-sm','children':_0x376165['t'](_0x53859e(0x3ca))})})]});}function j(_0x36882d){const _0x5a280c=_0x56c0cf;var _0x3f93cb,_0x484ec8;return(_0x3f93cb=(_0x484ec8=_0x36882d[_0x5a280c(0x546)])==null?void 0x0:_0x484ec8[_0x5a280c(0x3e3)])==null?s[_0x5a280c(0x70f)][_0x5a280c(0x3e3)]:_0x3f93cb;}function M(_0x4540fb){const _0x1be9e7=_0x56c0cf;var _0x35e976,_0x395053,_0x56708c,_0x304055;let _0x4f4665=(0x0,a[_0x1be9e7(0x4ea)])(i[_0x1be9e7(0x5ad)]),_0x40f8ea=(0x0,a[_0x1be9e7(0x4ea)])(i['IContextService']),{shapeData:_0xf8271b,isLineShape:_0x28cf49,shapeId:_0x127ee0,disableShapeOption:_0xc2a2c4,onUpdateShapeData:_0x199d9a,onUpdateShapeFillImage:_0x1856a9}=_0x4540fb,[_0x2e4434,_0x3fb2fb]=(0x0,n['useState'])(j(_0xf8271b)),[_0x22101d,_0x24d1ee]=(0x0,n[_0x1be9e7(0x1c0)])((_0x35e976=(_0x395053=_0xf8271b['fill'])==null?void 0x0:_0x395053[_0x1be9e7(0x5b7)])==null?s[_0x1be9e7(0x70f)][_0x1be9e7(0x546)]:_0x35e976),[_0x577e71,_0x35d7bb]=(0x0,n[_0x1be9e7(0x1c0)])((_0x56708c=(_0x304055=_0xf8271b[_0x1be9e7(0x546)])==null?void 0x0:_0x304055['opacity'])==null?s[_0x1be9e7(0x70f)][_0x1be9e7(0x5eb)]:_0x56708c),[_0x14002e,_0x1b1301]=(0x0,n['useState'])(!0x1);if(_0x28cf49)return null;let _0x43af93=0x64-_0x577e71*0x64;return(0x0,r['jsxs'])(_0x1be9e7(0x21c),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3','children':[(0x0,r['jsxs'])(e['RadioGroup'],{'value':_0x2e4434,'disabled':_0xc2a2c4,'onChange':_0x2ce34c=>{const _0x2b3b68=_0x1be9e7;var _0x4ac25f;_0x199d9a({'oldShapeData':{'fill':{'fillType':(_0x4ac25f=_0xf8271b['fill'])==null?void 0x0:_0x4ac25f[_0x2b3b68(0x3e3)]}}},{'fill':{'fillType':_0x2ce34c}}),_0x3fb2fb(_0x2ce34c);},'direction':_0x1be9e7(0x284),'children':[(0x0,r[_0x1be9e7(0x6f0)])(e[_0x1be9e7(0x696)],{'value':s[_0x1be9e7(0x6bc)][_0x1be9e7(0x5a6)],'children':(0x0,r[_0x1be9e7(0x6f0)])(_0x1be9e7(0x6c6),{'className':_0x1be9e7(0x625),'children':_0x4f4665['t'](_0x1be9e7(0x4ad))})}),(0x0,r['jsx'])(e[_0x1be9e7(0x696)],{'value':s[_0x1be9e7(0x6bc)]['SolidFill'],'children':(0x0,r[_0x1be9e7(0x6f0)])(_0x1be9e7(0x6c6),{'className':_0x1be9e7(0x625),'children':_0x4f4665['t'](_0x1be9e7(0x633))})}),(0x0,r[_0x1be9e7(0x6f0)])(e[_0x1be9e7(0x696)],{'value':s[_0x1be9e7(0x6bc)]['GradientFill'],'children':(0x0,r[_0x1be9e7(0x6f0)])(_0x1be9e7(0x6c6),{'className':'univer-text-sm','children':_0x4f4665['t'](_0x1be9e7(0x643))})}),(0x0,r['jsx'])(e['Radio'],{'value':s['ShapeFillEnum'][_0x1be9e7(0x347)],'children':(0x0,r[_0x1be9e7(0x6f0)])(_0x1be9e7(0x6c6),{'className':_0x1be9e7(0x625),'children':_0x4f4665['t'](_0x1be9e7(0x4f2))})})]}),_0x2e4434===s[_0x1be9e7(0x6bc)][_0x1be9e7(0x382)]&&(0x0,r[_0x1be9e7(0x372)])(_0x1be9e7(0x21c),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','children':[(0x0,r['jsxs'])(_0x1be9e7(0x21c),{'className':_0x1be9e7(0x606),'children':[(0x0,r[_0x1be9e7(0x6f0)])(_0x1be9e7(0x6c6),{'className':_0x1be9e7(0x43c),'children':_0x4f4665['t'](_0x1be9e7(0x486))}),(0x0,r['jsx'])(e[_0x1be9e7(0x1b9)],{'disabled':_0xc2a2c4,'overlay':(0x0,r[_0x1be9e7(0x6f0)])(_0x1be9e7(0x21c),{'className':_0x1be9e7(0x62c),'children':(0x0,r[_0x1be9e7(0x6f0)])(e[_0x1be9e7(0x227)],{'value':_0x22101d,'onChange':_0x4ed4a1=>{const _0x22f48c=_0x1be9e7;var _0x5a7f08;_0x199d9a({'oldShapeData':{'fill':{'color':(_0x5a7f08=_0xf8271b['fill'])==null?void 0x0:_0x5a7f08[_0x22f48c(0x5b7)]}}},{'fill':{'color':_0x4ed4a1}}),_0x24d1ee(_0x4ed4a1),_0x1b1301(!0x1);}})}),'open':_0x14002e,'onOpenChange':_0x1b1301,'children':(0x0,r[_0x1be9e7(0x372)])('a',{'className':'univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1.5\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-2\x20univer-py-1\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-100\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','children':[(0x0,r[_0x1be9e7(0x6f0)])(t[_0x1be9e7(0x280)],{'className':_0x1be9e7(0x3f1),'extend':{'colorChannel1':_0x22101d}}),(0x0,r['jsx'])(t[_0x1be9e7(0x26b)],{'className':(0x0,e['clsx'])('univer-text-gray-600\x20univer-transition-transform',{'univer-rotate-180':_0x14002e})})]})})]}),(0x0,r[_0x1be9e7(0x372)])('div',{'className':_0x1be9e7(0x4dc),'children':[(0x0,r['jsx'])('span',{'className':_0x1be9e7(0x53b),'children':_0x4f4665['t'](_0x1be9e7(0x2f2))}),(0x0,r[_0x1be9e7(0x6f0)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':(0x0,r[_0x1be9e7(0x6f0)])('div',{'className':'univer-w-20','children':(0x0,r[_0x1be9e7(0x6f0)])(e[_0x1be9e7(0x4c7)],{'className':_0x1be9e7(0x4c9),'value':_0x43af93,'disabled':_0xc2a2c4,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x1aebaa=>_0x1aebaa+'%','parser':_0x2af219=>(_0x2af219==null?void 0x0:_0x2af219[_0x1be9e7(0x40d)]('%',''))||'','onChange':_0x356eb2=>{const _0x4cc34a=_0x1be9e7;let _0x1fc584=(0x64-Math[_0x4cc34a(0x6e4)](0x0,Math[_0x4cc34a(0x67f)](0x64,_0x356eb2==null?0x0:_0x356eb2)))/0x64;_0x35d7bb(_0x1fc584),_0x199d9a({'oldShapeData':{'fill':{..._0xf8271b['fill'],'fillType':_0x2e4434}}},{'fill':{..._0xf8271b['fill'],'fillType':_0x2e4434,'opacity':_0x1fc584}}),_0x40f8ea['setContextValue'](i['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x40f8ea[_0x1be9e7(0x691)](i['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>{const _0x4ac747=_0x1be9e7;_0x40f8ea[_0x4ac747(0x691)](i[_0x4ac747(0x3f5)],!0x1);}})})})]})]}),_0x2e4434===s[_0x1be9e7(0x6bc)][_0x1be9e7(0x6a6)]&&(0x0,r['jsx'])(F,{'shapeData':_0xf8271b,'disableShapeOption':_0xc2a2c4,'onUpdate':_0x32b756=>{const _0x91a0d9=_0x1be9e7;_0x199d9a({'oldShapeData':{'fill':{..._0xf8271b[_0x91a0d9(0x546)]}}},{'fill':{..._0xf8271b[_0x91a0d9(0x546)],..._0x32b756}});}}),_0x2e4434===s[_0x1be9e7(0x6bc)]['PictureFill']&&(0x0,r[_0x1be9e7(0x6f0)])(A,{'shapeId':_0x127ee0,'shapeData':_0xf8271b,'disableShapeOption':_0xc2a2c4,'onUpdateShapeData':_0x199d9a,'onUpdateShapeFillImage':_0x1856a9})]});}function N(_0x53cb65){const _0x4d8054=_0x56c0cf;switch(_0x53cb65){case s[_0x4d8054(0x374)][_0x4d8054(0x429)]:return'linear';case s[_0x4d8054(0x374)][_0x4d8054(0x404)]:return'radial';case s[_0x4d8054(0x374)]['Angular']:return _0x4d8054(0x3fd);case s[_0x4d8054(0x374)][_0x4d8054(0x60d)]:return _0x4d8054(0x61b);default:return _0x4d8054(0x6a8);}}function P(_0x139982){const _0x18eda5=_0x56c0cf;switch(_0x139982){case'linear':return s['ShapeGradientTypeEnum'][_0x18eda5(0x429)];case _0x18eda5(0x4bb):return s[_0x18eda5(0x374)][_0x18eda5(0x404)];case _0x18eda5(0x3fd):return s['ShapeGradientTypeEnum'][_0x18eda5(0x33f)];case _0x18eda5(0x61b):return s[_0x18eda5(0x374)][_0x18eda5(0x60d)];default:return s[_0x18eda5(0x374)][_0x18eda5(0x429)];}}function F(_0x5429f3){const _0xe07fd8=_0x56c0cf;let {shapeData:_0xb72304,disableShapeOption:_0x3a4a4b,onUpdate:_0xbd1bfc}=_0x5429f3,_0x5b1b73=(0x0,n[_0xe07fd8(0x42e)])(()=>{const _0x48fc96=_0xe07fd8;var _0x32c352,_0x426f3a;let _0x4b8c6a=_0xb72304[_0x48fc96(0x546)];return{'type':N((_0x32c352=_0x4b8c6a==null?void 0x0:_0x4b8c6a[_0x48fc96(0x1c5)])==null?s[_0x48fc96(0x70f)][_0x48fc96(0x1c5)]:_0x32c352),'angle':(_0x426f3a=_0x4b8c6a==null?void 0x0:_0x4b8c6a['gradientAngle'])==null?s[_0x48fc96(0x70f)][_0x48fc96(0x235)]:_0x426f3a,'stops':_0x4b8c6a!=null&&_0x4b8c6a[_0x48fc96(0x1db)]&&_0x4b8c6a['gradientStops']['length']>=0x2?_0x4b8c6a[_0x48fc96(0x1db)][_0x48fc96(0x263)](_0x2ab238=>({'color':_0x2ab238[_0x48fc96(0x5b7)],'offset':_0x2ab238[_0x48fc96(0x322)]*0x64,'opacity':_0x2ab238['opacity']})):[{'color':(_0x4b8c6a==null?void 0x0:_0x4b8c6a['color'])||s[_0x48fc96(0x70f)][_0x48fc96(0x546)],'offset':0x0},{'color':s['ShapeDefaultConfig'][_0x48fc96(0x307)],'offset':0x64}]};},[_0xb72304[_0xe07fd8(0x546)]]);return(0x0,r['jsx'])(_0xe07fd8(0x21c),{'className':_0xe07fd8(0x206),'children':(0x0,r[_0xe07fd8(0x6f0)])(e['GradientColorPicker'],{'value':_0x5b1b73,'onChange':_0x9924ef=>{const _0x3265a5=_0xe07fd8;let _0x1742f5=P(_0x9924ef[_0x3265a5(0x4be)]),_0x457f67=_0x9924ef[_0x3265a5(0x572)];_0xbd1bfc({'gradientType':_0x1742f5,'gradientAngle':_0x457f67,'gradientStops':_0x9924ef['stops']['map'](_0x174b41=>({'color':_0x174b41['color'],'position':_0x174b41[_0x3265a5(0x5d9)]/0x64,'opacity':_0x174b41[_0x3265a5(0x313)]}))});}})});}function I(_0xabf3e2){const _0x25f4df=_0x56c0cf;var _0x3d1cb3,_0x560945,_0x199b1c,_0x4ad972,_0x24c44,_0x287382,_0x36a7fa,_0x7cdf26,_0xbdc729,_0x3fcadd,_0x41012f,_0x2dd280,_0x3ddf1e,_0x58e4d0,_0xdbc4b8,_0x2554d5,_0x3d2cdc;let _0x19d282=(0x0,a[_0x25f4df(0x4ea)])(i[_0x25f4df(0x5ad)]),_0x2d3798=(0x0,a[_0x25f4df(0x4ea)])(i[_0x25f4df(0x440)]),{shapeData:_0x38d9a8,isLineShape:_0x19c58c,disableShapeOption:_0x33a24f,onUpdateShapeData:_0x5c525e,onUpdateLineShapeData:_0xc0b61a}=_0xabf3e2,_0x5adc5b=_0x38d9a8[_0x25f4df(0x451)],[_0x4ee944,_0x3d9dfe]=(0x0,n['useState'])((_0x3d1cb3=_0x5adc5b==null?void 0x0:_0x5adc5b[_0x25f4df(0x5af)])==null?s[_0x25f4df(0x70f)]['lineType']:_0x3d1cb3),[_0x160369,_0x506825]=(0x0,n['useState'])((_0x560945=_0x5adc5b==null?void 0x0:_0x5adc5b[_0x25f4df(0x5b7)])==null?s[_0x25f4df(0x70f)][_0x25f4df(0x451)]:_0x560945),[_0x5d597c,_0x3f7b9c]=(0x0,n[_0x25f4df(0x1c0)])((_0x199b1c=_0x5adc5b==null?void 0x0:_0x5adc5b[_0x25f4df(0x313)])==null?s[_0x25f4df(0x70f)][_0x25f4df(0x6c5)]:_0x199b1c),[_0x1fe26d,_0x59630f]=(0x0,n[_0x25f4df(0x1c0)])((_0x4ad972=_0x5adc5b==null?void 0x0:_0x5adc5b[_0x25f4df(0x57e)])==null?s[_0x25f4df(0x70f)][_0x25f4df(0x5a3)]:_0x4ad972),[_0x479bec,_0x38473c]=(0x0,n[_0x25f4df(0x1c0)])((_0x24c44=_0x5adc5b==null?void 0x0:_0x5adc5b['cornerRadius'])==null?s['ShapeDefaultConfig'][_0x25f4df(0x4db)]:_0x24c44),[_0x3db983,_0x5f22d9]=(0x0,n[_0x25f4df(0x1c0)])((_0x287382=_0x5adc5b==null?void 0x0:_0x5adc5b[_0x25f4df(0x585)])==null?s['ShapeDefaultConfig']['lineDashType']:_0x287382),[_0x50762d,_0x5344e7]=(0x0,n[_0x25f4df(0x1c0)])((_0x36a7fa=_0x5adc5b==null?void 0x0:_0x5adc5b['capType'])==null?s[_0x25f4df(0x70f)]['lineCapType']:_0x36a7fa),[_0x5c12d2,_0x394a0b]=(0x0,n[_0x25f4df(0x1c0)])((_0x7cdf26=_0x5adc5b==null?void 0x0:_0x5adc5b[_0x25f4df(0x3b3)])==null?s[_0x25f4df(0x70f)]['lineJoinType']:_0x7cdf26),[_0x6a91d2,_0x5b17b3]=(0x0,n[_0x25f4df(0x1c0)])((_0xbdc729=_0x5adc5b==null?void 0x0:_0x5adc5b['sketchType'])==null?s[_0x25f4df(0x70f)]['sketchType']:_0xbdc729),_0x4c70c6=_0x38d9a8,[_0x378e61,_0x449c06]=(0x0,n[_0x25f4df(0x1c0)])((_0x3fcadd=(_0x41012f=_0x4c70c6['ln'])==null||(_0x41012f=_0x41012f[_0x25f4df(0x618)])==null?void 0x0:_0x41012f[_0x25f4df(0x4be)])==null?s[_0x25f4df(0x370)][_0x25f4df(0x352)]:_0x3fcadd),[_0x5341de,_0x380506]=(0x0,n['useState'])((_0x2dd280=(_0x3ddf1e=_0x4c70c6['ln'])==null||(_0x3ddf1e=_0x3ddf1e['startArrow'])==null?void 0x0:_0x3ddf1e[_0x25f4df(0x53c)])==null?s[_0x25f4df(0x27c)][_0x25f4df(0x5b0)]:_0x2dd280),[_0x15c3a3,_0x15ffd2]=(0x0,n[_0x25f4df(0x1c0)])((_0x58e4d0=(_0xdbc4b8=_0x4c70c6['ln'])==null||(_0xdbc4b8=_0xdbc4b8['endArrow'])==null?void 0x0:_0xdbc4b8[_0x25f4df(0x4be)])==null?s['ShapeArrowTypeEnum'][_0x25f4df(0x352)]:_0x58e4d0),[_0x25f349,_0x223674]=(0x0,n[_0x25f4df(0x1c0)])((_0x2554d5=(_0x3d2cdc=_0x4c70c6['ln'])==null||(_0x3d2cdc=_0x3d2cdc[_0x25f4df(0x6f7)])==null?void 0x0:_0x3d2cdc[_0x25f4df(0x53c)])==null?s['ShapeArrowSizeEnum'][_0x25f4df(0x5b0)]:_0x2554d5),[_0x42a2fa,_0x4606ef]=(0x0,n['useState'])(!0x1),_0x37d3d4=0x64-_0x5d597c*0x64,_0x3da1ee=[{'label':_0x19d282['t'](_0x25f4df(0x297)),'value':String(s[_0x25f4df(0x3ec)]['Solid'])},{'label':_0x19d282['t'](_0x25f4df(0x46c)),'value':String(s[_0x25f4df(0x3ec)]['RoundDot'])},{'label':_0x19d282['t'](_0x25f4df(0x298)),'value':String(s[_0x25f4df(0x3ec)][_0x25f4df(0x437)])},{'label':_0x19d282['t'](_0x25f4df(0x350)),'value':String(s[_0x25f4df(0x3ec)]['Dash'])},{'label':_0x19d282['t'](_0x25f4df(0x4f9)),'value':String(s['ShapeLineDashEnum'][_0x25f4df(0x314)])},{'label':_0x19d282['t'](_0x25f4df(0x3da)),'value':String(s[_0x25f4df(0x3ec)][_0x25f4df(0x4c1)])},{'label':_0x19d282['t'](_0x25f4df(0x272)),'value':String(s[_0x25f4df(0x3ec)][_0x25f4df(0x650)])},{'label':_0x19d282['t'](_0x25f4df(0x556)),'value':String(s['ShapeLineDashEnum'][_0x25f4df(0x2e2)])}],_0xc50431=[{'label':_0x19d282['t'](_0x25f4df(0x685)),'value':String(s[_0x25f4df(0x425)][_0x25f4df(0x1ee)])},{'label':_0x19d282['t']('shape-editor-ui.line.capType.round'),'value':String(s[_0x25f4df(0x425)][_0x25f4df(0x2d0)])},{'label':_0x19d282['t'](_0x25f4df(0x470)),'value':String(s[_0x25f4df(0x425)][_0x25f4df(0x315)])}],_0x3004af=[{'label':_0x19d282['t'](_0x25f4df(0x5db)),'value':String(s['ShapeSketchTypeEnum']['None'])},{'label':_0x19d282['t'](_0x25f4df(0x39c)),'value':String(s[_0x25f4df(0x2d8)]['Curved'])},{'label':_0x19d282['t'](_0x25f4df(0x595)),'value':String(s[_0x25f4df(0x2d8)][_0x25f4df(0x3d7)])},{'label':_0x19d282['t']('shape-editor-ui.line.sketchType.handDrawn'),'value':String(s[_0x25f4df(0x2d8)][_0x25f4df(0x67c)])}],_0x570d38=[{'label':_0x19d282['t'](_0x25f4df(0x2bd)),'value':String(s[_0x25f4df(0x5fe)][_0x25f4df(0x21e)])},{'label':_0x19d282['t'](_0x25f4df(0x369)),'value':String(s[_0x25f4df(0x5fe)]['Round'])},{'label':_0x19d282['t'](_0x25f4df(0x364)),'value':String(s[_0x25f4df(0x5fe)]['Bevel'])}],_0xf7528c=[{'label':_0x19d282['t'](_0x25f4df(0x302)),'value':String(s['ShapeArrowTypeEnum'][_0x25f4df(0x352)])},{'label':_0x19d282['t']('shape-editor-ui.line.arrowType.arrow'),'value':String(s[_0x25f4df(0x370)]['Arrow'])},{'label':_0x19d282['t']('shape-editor-ui.line.arrowType.openArrow'),'value':String(s[_0x25f4df(0x370)]['OpenArrow'])},{'label':_0x19d282['t'](_0x25f4df(0x1c4)),'value':String(s[_0x25f4df(0x370)][_0x25f4df(0x683)])},{'label':_0x19d282['t'](_0x25f4df(0x250)),'value':String(s[_0x25f4df(0x370)][_0x25f4df(0x6e2)])},{'label':_0x19d282['t'](_0x25f4df(0x2e4)),'value':String(s[_0x25f4df(0x370)][_0x25f4df(0x1a9)])}],_0xd4d7c6=[{'label':_0x19d282['t'](_0x25f4df(0x1ec)),'value':String(s[_0x25f4df(0x27c)]['Small'])},{'label':_0x19d282['t']('shape-editor-ui.line.arrowSize.medium'),'value':String(s[_0x25f4df(0x27c)][_0x25f4df(0x5b0)])},{'label':_0x19d282['t'](_0x25f4df(0x6eb)),'value':String(s['ShapeArrowSizeEnum'][_0x25f4df(0x4a4)])}];return(0x0,r[_0x25f4df(0x372)])(_0x25f4df(0x21c),{'className':_0x25f4df(0x32e),'children':[(0x0,r[_0x25f4df(0x372)])(e['RadioGroup'],{'value':String(_0x4ee944),'disabled':_0x33a24f,'onChange':_0x32da7e=>{const _0x17a062=_0x25f4df;var _0x3db782;_0x3d9dfe(Number(_0x32da7e)),_0x5c525e({'oldShapeData':{'stroke':{'lineStrokeType':(_0x3db782=_0x38d9a8[_0x17a062(0x451)])==null?void 0x0:_0x3db782[_0x17a062(0x5af)]}}},{'stroke':{'lineStrokeType':Number(_0x32da7e)}});},'direction':_0x25f4df(0x284),'children':[(0x0,r[_0x25f4df(0x6f0)])(e[_0x25f4df(0x696)],{'value':String(s['ShapeLineTypeEnum']['NoLine']),'children':(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x6c6),{'className':_0x25f4df(0x625),'children':_0x19d282['t']('shape-editor-ui.line.noLine')})}),(0x0,r['jsx'])(e['Radio'],{'value':String(s[_0x25f4df(0x516)]['SolidLine']),'children':(0x0,r['jsx'])(_0x25f4df(0x6c6),{'className':_0x25f4df(0x625),'children':_0x19d282['t'](_0x25f4df(0x3de))})})]}),_0x4ee944!==s[_0x25f4df(0x516)][_0x25f4df(0x33b)]&&(0x0,r[_0x25f4df(0x372)])(_0x25f4df(0x21c),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','children':[(0x0,r['jsxs'])(_0x25f4df(0x21c),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x6c6),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x19d282['t']('shape-editor-ui.line.color')}),(0x0,r['jsx'])(e['Dropdown'],{'disabled':_0x33a24f,'overlay':(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x21c),{'className':_0x25f4df(0x62c),'children':(0x0,r[_0x25f4df(0x6f0)])(e['ColorPicker'],{'value':_0x160369,'onChange':_0x370cdc=>{const _0x3db617=_0x25f4df;var _0x4a7005;_0x5c525e({'oldShapeData':{'stroke':{'color':(_0x4a7005=_0x38d9a8[_0x3db617(0x451)])==null?void 0x0:_0x4a7005[_0x3db617(0x5b7)]}}},{'stroke':{'color':_0x370cdc}}),_0x506825(_0x370cdc),_0x4606ef(!0x1);}})}),'open':_0x42a2fa,'onOpenChange':_0x4606ef,'children':(0x0,r[_0x25f4df(0x372)])('a',{'className':_0x25f4df(0x4ac),'children':[(0x0,r[_0x25f4df(0x6f0)])(t[_0x25f4df(0x43a)],{'className':'univer-text-xl\x20univer-text-gray-500','extend':{'colorChannel1':_0x160369}}),(0x0,r['jsx'])(t['MoreDownIcon'],{'className':(0x0,e[_0x25f4df(0x4e6)])(_0x25f4df(0x204),{'univer-rotate-180':_0x42a2fa})})]})})]}),(0x0,r[_0x25f4df(0x372)])(_0x25f4df(0x21c),{'className':_0x25f4df(0x4dc),'children':[(0x0,r['jsx'])(_0x25f4df(0x6c6),{'className':'univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x19d282['t']('shape-editor-ui.line.transparency')}),(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x21c),{'className':_0x25f4df(0x4dc),'children':(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x21c),{'className':'univer-w-20\x20univer-flex-1','children':(0x0,r['jsx'])(e[_0x25f4df(0x4c7)],{'className':_0x25f4df(0x4c9),'value':_0x37d3d4,'disabled':_0x33a24f,'min':0x0,'max':0x64,'formatter':_0x42e5c9=>_0x42e5c9+'%','parser':_0x4268db=>(_0x4268db==null?void 0x0:_0x4268db[_0x25f4df(0x40d)]('%',''))||'','onChange':_0xba3042=>{const _0x110c2a=_0x25f4df;var _0xe2e0ff;let _0x2d3ce3=(0x64-Math[_0x110c2a(0x6e4)](0x0,Math[_0x110c2a(0x67f)](0x64,_0xba3042==null?0x0:_0xba3042)))/0x64;_0x3f7b9c(_0x2d3ce3),_0x5c525e({'oldShapeData':{'stroke':{'opacity':(_0xe2e0ff=_0x38d9a8['stroke'])==null?void 0x0:_0xe2e0ff['opacity']}}},{'stroke':{'opacity':_0x2d3ce3}}),_0x2d3798['setContextValue'](i[_0x110c2a(0x3f5)],!0x1);},'onFocus':()=>_0x2d3798[_0x25f4df(0x691)](i[_0x25f4df(0x3f5)],!0x0),'onBlur':_0x3eca75=>{const _0xc07f4b=_0x25f4df;_0x2d3798['setContextValue'](i[_0xc07f4b(0x3f5)],!0x1);}})})})]}),(0x0,r['jsxs'])(_0x25f4df(0x21c),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x6c6),{'className':_0x25f4df(0x43c),'children':_0x19d282['t']('shape-editor-ui.line.width')}),(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x21c),{'className':'univer-w-20','children':(0x0,r[_0x25f4df(0x6f0)])(e['InputNumber'],{'className':'univer-w-full','disabled':_0x33a24f,'value':_0x1fe26d,'min':0.25,'max':0x64,'step':0.25,'onChange':_0x14613f=>{const _0x2d95d9=_0x25f4df;if(!Number['isNaN'](_0x14613f)&&_0x14613f!==null){var _0x4632ee;_0x5c525e({'oldShapeData':{'stroke':{'width':(_0x4632ee=_0x38d9a8[_0x2d95d9(0x451)])==null?void 0x0:_0x4632ee['width']}}},{'stroke':{'width':_0x14613f}});}_0x2d3798['setContextValue'](i[_0x2d95d9(0x3f5)],!0x1);},'onFocus':()=>_0x2d3798['setContextValue'](i[_0x25f4df(0x3f5)],!0x0),'onBlur':_0x383660=>{const _0x493dc2=_0x25f4df;_0x2d3798[_0x493dc2(0x691)](i[_0x493dc2(0x3f5)],!0x1);}})})]}),_0x19c58c&&(0x0,r[_0x25f4df(0x372)])(_0x25f4df(0x21c),{'className':_0x25f4df(0x4dc),'children':[(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x6c6),{'className':_0x25f4df(0x43c),'children':_0x19d282['t'](_0x25f4df(0x52f))}),(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x21c),{'className':_0x25f4df(0x672),'children':(0x0,r[_0x25f4df(0x6f0)])(e['InputNumber'],{'className':'univer-w-full','disabled':_0x33a24f,'value':_0x479bec,'min':0x0,'step':0x1,'onChange':_0x3a835c=>{const _0x3543b4=_0x25f4df;var _0x42d54e;let _0xd770f0=Math[_0x3543b4(0x6e4)](0x0,_0x3a835c==null?0x0:_0x3a835c);_0x38473c(_0xd770f0),_0x5c525e({'oldShapeData':{'stroke':{'cornerRadius':(_0x42d54e=_0x38d9a8[_0x3543b4(0x451)])==null?void 0x0:_0x42d54e[_0x3543b4(0x4db)]}}},{'stroke':{'cornerRadius':_0xd770f0}}),_0x2d3798['setContextValue'](i[_0x3543b4(0x3f5)],!0x1);},'onFocus':()=>_0x2d3798[_0x25f4df(0x691)](i[_0x25f4df(0x3f5)],!0x0),'onBlur':()=>{const _0x49536c=_0x25f4df;_0x2d3798['setContextValue'](i[_0x49536c(0x3f5)],!0x1);}})})]}),(0x0,r['jsxs'])(_0x25f4df(0x21c),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r['jsx'])('span',{'className':_0x25f4df(0x43c),'children':_0x19d282['t']('shape-editor-ui.line.dashType.title')}),(0x0,r[_0x25f4df(0x6f0)])('div',{'className':'univer-w-28','children':(0x0,r[_0x25f4df(0x6f0)])(e[_0x25f4df(0x39b)],{'className':_0x25f4df(0x4c9),'value':String(_0x3db983),'options':_0x3da1ee,'disabled':_0x33a24f,'onChange':_0x4ae7a1=>{const _0x17dec6=_0x25f4df;var _0x46a51f;_0x5f22d9(Number(_0x4ae7a1)),_0x5c525e({'oldShapeData':{'stroke':{'dashType':(_0x46a51f=_0x38d9a8[_0x17dec6(0x451)])==null?void 0x0:_0x46a51f[_0x17dec6(0x585)]}}},{'stroke':{'dashType':Number(_0x4ae7a1)}});}})})]}),(0x0,r[_0x25f4df(0x372)])(_0x25f4df(0x21c),{'className':_0x25f4df(0x606),'children':[(0x0,r[_0x25f4df(0x6f0)])('span',{'className':_0x25f4df(0x43c),'children':_0x19d282['t'](_0x25f4df(0x502))}),(0x0,r[_0x25f4df(0x6f0)])('div',{'className':_0x25f4df(0x25e),'children':(0x0,r['jsx'])(e[_0x25f4df(0x39b)],{'className':_0x25f4df(0x4c9),'value':String(_0x50762d),'options':_0xc50431,'disabled':_0x33a24f,'onChange':_0x4f626e=>{const _0x27bc23=_0x25f4df;var _0x4a741c;_0x5344e7(Number(_0x4f626e)),_0x5c525e({'oldShapeData':{'stroke':{'capType':(_0x4a741c=_0x38d9a8[_0x27bc23(0x451)])==null?void 0x0:_0x4a741c['capType']}}},{'stroke':{'capType':Number(_0x4f626e)}});}})})]}),(0x0,r[_0x25f4df(0x372)])(_0x25f4df(0x21c),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x6c6),{'className':_0x25f4df(0x43c),'children':_0x19d282['t'](_0x25f4df(0x2f8))}),(0x0,r[_0x25f4df(0x6f0)])('div',{'className':_0x25f4df(0x25e),'children':(0x0,r[_0x25f4df(0x6f0)])(e[_0x25f4df(0x39b)],{'className':_0x25f4df(0x4c9),'value':String(_0x5c12d2),'options':_0x570d38,'disabled':_0x33a24f,'onChange':_0x4d3102=>{const _0x5a144f=_0x25f4df;var _0x8c2b0a;_0x394a0b(Number(_0x4d3102)),_0x5c525e({'oldShapeData':{'stroke':{'lineJoinType':(_0x8c2b0a=_0x38d9a8[_0x5a144f(0x451)])==null?void 0x0:_0x8c2b0a['lineJoinType']}}},{'stroke':{'lineJoinType':Number(_0x4d3102)}});}})})]}),!_0x19c58c&&(0x0,r[_0x25f4df(0x372)])(_0x25f4df(0x21c),{'className':_0x25f4df(0x606),'children':[(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x6c6),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x19d282['t'](_0x25f4df(0x475))}),(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x21c),{'className':_0x25f4df(0x25e),'children':(0x0,r[_0x25f4df(0x6f0)])(e['Select'],{'className':_0x25f4df(0x4c9),'value':String(_0x6a91d2),'options':_0x3004af,'disabled':_0x33a24f,'onChange':_0x552240=>{const _0x5bea74=_0x25f4df;var _0x42b1ab;_0x5b17b3(Number(_0x552240)),_0x5c525e({'oldShapeData':{'stroke':{'sketchType':(_0x42b1ab=_0x38d9a8['stroke'])==null?void 0x0:_0x42b1ab[_0x5bea74(0x3cc)]}}},{'stroke':{'sketchType':Number(_0x552240)}});}})})]}),_0x19c58c&&(0x0,r[_0x25f4df(0x372)])(r[_0x25f4df(0x270)],{'children':[(0x0,r[_0x25f4df(0x372)])(_0x25f4df(0x21c),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r[_0x25f4df(0x6f0)])('span',{'className':_0x25f4df(0x43c),'children':_0x19d282['t'](_0x25f4df(0x35b))}),(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x21c),{'className':_0x25f4df(0x25e),'children':(0x0,r[_0x25f4df(0x6f0)])(e[_0x25f4df(0x39b)],{'className':_0x25f4df(0x4c9),'value':String(_0x378e61),'options':_0xf7528c,'onChange':_0x15d8f7=>{const _0x4ebe4e=_0x25f4df;var _0x13d7de;_0x449c06(Number(_0x15d8f7));let _0x3b3dcd={'ln':{'startArrow':{'type':(_0x13d7de=_0x38d9a8['ln'])==null||(_0x13d7de=_0x13d7de['startArrow'])==null?void 0x0:_0x13d7de[_0x4ebe4e(0x4be)]}}};_0xc0b61a==null||_0xc0b61a({'oldShapeData':_0x3b3dcd},{'ln':{'startArrow':{'type':Number(_0x15d8f7)}}});}})})]}),(0x0,r[_0x25f4df(0x372)])(_0x25f4df(0x21c),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r['jsx'])(_0x25f4df(0x6c6),{'className':_0x25f4df(0x43c),'children':_0x19d282['t']('shape-editor-ui.line.beginArrowSize')}),(0x0,r['jsx'])('div',{'className':_0x25f4df(0x25e),'children':(0x0,r[_0x25f4df(0x6f0)])(e['Select'],{'className':'univer-w-full','value':String(_0x5341de),'options':_0xd4d7c6,'onChange':_0x23a252=>{const _0x3b211b=_0x25f4df;var _0x22697e;_0x380506(Number(_0x23a252));let _0x308f8d={'ln':{'startArrow':{'size':(_0x22697e=_0x38d9a8['ln'])==null||(_0x22697e=_0x22697e[_0x3b211b(0x618)])==null?void 0x0:_0x22697e[_0x3b211b(0x53c)]}}};_0xc0b61a==null||_0xc0b61a({'oldShapeData':_0x308f8d},{'ln':{'startArrow':{'size':Number(_0x23a252)}}});}})})]}),(0x0,r[_0x25f4df(0x372)])(_0x25f4df(0x21c),{'className':_0x25f4df(0x606),'children':[(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x6c6),{'className':_0x25f4df(0x43c),'children':_0x19d282['t'](_0x25f4df(0x1da))}),(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x21c),{'className':_0x25f4df(0x25e),'children':(0x0,r[_0x25f4df(0x6f0)])(e[_0x25f4df(0x39b)],{'className':'univer-w-full','value':String(_0x15c3a3),'options':_0xf7528c,'onChange':_0x4330b5=>{const _0x5e371b=_0x25f4df;var _0x425200;_0x15ffd2(Number(_0x4330b5));let _0x1db538={'ln':{'endArrow':{'type':(_0x425200=_0x38d9a8['ln'])==null||(_0x425200=_0x425200[_0x5e371b(0x6f7)])==null?void 0x0:_0x425200[_0x5e371b(0x4be)]}}};_0xc0b61a==null||_0xc0b61a({'oldShapeData':_0x1db538},{'ln':{'endArrow':{'type':Number(_0x4330b5)}}});}})})]}),(0x0,r[_0x25f4df(0x372)])(_0x25f4df(0x21c),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r[_0x25f4df(0x6f0)])('span',{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x19d282['t'](_0x25f4df(0x2bb))}),(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x21c),{'className':_0x25f4df(0x25e),'children':(0x0,r['jsx'])(e[_0x25f4df(0x39b)],{'className':_0x25f4df(0x4c9),'value':String(_0x25f349),'options':_0xd4d7c6,'onChange':_0x2a43a9=>{const _0x31b259=_0x25f4df;var _0x33789d;_0x223674(Number(_0x2a43a9));let _0x3c2ca5={'ln':{'endArrow':{'size':(_0x33789d=_0x38d9a8['ln'])==null||(_0x33789d=_0x33789d[_0x31b259(0x6f7)])==null?void 0x0:_0x33789d['size']}}};_0xc0b61a==null||_0xc0b61a({'oldShapeData':_0x3c2ca5},{'ln':{'endArrow':{'size':Number(_0x2a43a9)}}});}})})]})]})]})]});}function L(_0x4f6d6c){const _0x151fd5=_0x56c0cf;let {shapeData:_0x223049,shapeId:_0x44ed62,shapeType:_0x59311d,disableShapeOption:_0x27efc1,positionEditor:_0x5083f4,onUpdateShapeData:_0x4d785e,onUpdateLineShapeData:_0x5668db,onUpdateShapeFillImage:_0x542316}=_0x4f6d6c,_0x3b826e=(0x0,a[_0x151fd5(0x4ea)])(i['LocaleService']),_0x409daa=(0x0,s[_0x151fd5(0x5b4)])(_0x59311d),[_0x22490d,_0x2f57e5]=(0x0,n['useState'])(0x0),_0x5c35a7=[{'label':(0x0,r['jsx'])('div',{'children':_0x3b826e['t'](_0x151fd5(0x6ef))}),'children':(0x0,r[_0x151fd5(0x6f0)])(_0x151fd5(0x4aa),{'className':_0x151fd5(0x578),'children':(0x0,r[_0x151fd5(0x6f0)])(M,{'shapeId':_0x44ed62,'shapeData':_0x223049,'isLineShape':_0x409daa,'disableShapeOption':_0x27efc1,'onUpdateShapeData':_0x4d785e,'onUpdateShapeFillImage':_0x542316})})},{'label':(0x0,r[_0x151fd5(0x6f0)])('div',{'children':_0x3b826e['t'](_0x151fd5(0x234))}),'children':(0x0,r[_0x151fd5(0x6f0)])(_0x151fd5(0x4aa),{'className':_0x151fd5(0x578),'children':(0x0,r[_0x151fd5(0x6f0)])(I,{'shapeId':_0x44ed62,'shapeData':_0x223049,'isLineShape':_0x409daa,'disableShapeOption':_0x27efc1,'onUpdateShapeData':_0x4d785e,'onUpdateLineShapeData':_0x5668db})})}];return(0x0,r[_0x151fd5(0x372)])(_0x151fd5(0x21c),{'className':_0x151fd5(0x20b),'children':[(0x0,r['jsxs'])(_0x151fd5(0x21c),{'className':_0x151fd5(0x3ac),'children':[(0x0,r[_0x151fd5(0x372)])(_0x151fd5(0x21c),{'className':(0x0,e[_0x151fd5(0x4e6)])('univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold',_0x22490d===0x0?_0x151fd5(0x5cf):_0x151fd5(0x5c1)),'onClick':()=>_0x2f57e5(0x0),'children':[_0x3b826e['t'](_0x151fd5(0x59d)),(0x0,r['jsx'])(_0x151fd5(0x21c),{'className':(0x0,e['clsx'])(_0x151fd5(0x6aa),{'univer-bg-primary-600':_0x22490d===0x0,'univer-bg-transparent':_0x22490d!==0x0})})]}),(0x0,r['jsxs'])('div',{'className':(0x0,e[_0x151fd5(0x4e6)])(_0x151fd5(0x239),{'univer-text-primary-600':_0x22490d===0x1,'univer-text-gray-500':_0x22490d!==0x1}),'onClick':()=>_0x2f57e5(0x1),'children':[_0x3b826e['t'](_0x151fd5(0x5a0)),(0x0,r[_0x151fd5(0x6f0)])('div',{'className':(0x0,e[_0x151fd5(0x4e6)])('univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md\x20univer-bg-primary-600',{'univer-bg-primary-600':_0x22490d===0x1,'univer-bg-transparent':_0x22490d!==0x1})})]})]}),(0x0,r[_0x151fd5(0x6f0)])(_0x151fd5(0x21c),{'className':_0x151fd5(0x5a8),'children':_0x22490d===0x0?(0x0,r[_0x151fd5(0x6f0)])(e[_0x151fd5(0x5f2)],{'items':_0x5c35a7}):_0x5083f4})]});}function R(_0x126292,_0x4d244e){const _0x1975c7=_0x56c0cf;typeof(_0x126292==null?void 0x0:_0x126292['fs'])==_0x1975c7(0x1fe)&&Number[_0x1975c7(0x571)](_0x126292['fs'])&&(_0x126292['fs']*=_0x4d244e);}function z(_0x377db2,_0x4d17a9){const _0x4b3648=_0x56c0cf;if(!_0x4d17a9)return;let _0x50c038=_0x4d17a9[_0x4b3648(0x41c)]===_0x4b3648(0x3bd)&&typeof _0x4d17a9[_0x4b3648(0x1ff)]=='number'&&Number[_0x4b3648(0x571)](_0x4d17a9['fontScale'])&&_0x4d17a9['fontScale']>0x0?_0x4d17a9['fontScale']/0x186a0:0x1;if(_0x50c038!==0x1){var _0x43b906,_0x15f16d,_0x500905,_0x5cdbc4;_0x377db2[_0x4b3648(0x413)]&&(_0x377db2[_0x4b3648(0x413)]={..._0x377db2[_0x4b3648(0x413)],'textStyle':G(_0x377db2[_0x4b3648(0x413)][_0x4b3648(0x692)])}),(_0x43b906=_0x377db2[_0x4b3648(0x22c)])!=null&&_0x43b906['textRuns']&&(_0x377db2[_0x4b3648(0x22c)][_0x4b3648(0x5dd)]=_0x377db2[_0x4b3648(0x22c)][_0x4b3648(0x5dd)][_0x4b3648(0x263)](_0x310974=>({..._0x310974,'ts':G(_0x310974['ts'])}))),R((_0x15f16d=_0x377db2[_0x4b3648(0x413)])==null?void 0x0:_0x15f16d[_0x4b3648(0x692)],_0x50c038),(_0x500905=_0x377db2['body'])==null||(_0x500905=_0x500905[_0x4b3648(0x5dd)])==null||_0x500905[_0x4b3648(0x660)](_0x3fb4f1=>R(_0x3fb4f1['ts'],_0x50c038)),(_0x5cdbc4=_0x377db2['body'])==null||(_0x5cdbc4=_0x5cdbc4[_0x4b3648(0x636)])==null||_0x5cdbc4[_0x4b3648(0x660)](_0x4b90a5=>{const _0x2e1a65=_0x4b3648;var _0x4763aa;R((_0x4763aa=_0x4b90a5[_0x2e1a65(0x579)])==null?void 0x0:_0x4763aa[_0x2e1a65(0x692)],_0x50c038);});}let _0x381717=_0x4d17a9[_0x4b3648(0x41c)]===_0x4b3648(0x3bd)&&typeof _0x4d17a9[_0x4b3648(0x6c3)]=='number'&&Number['isFinite'](_0x4d17a9[_0x4b3648(0x6c3)])&&_0x4d17a9[_0x4b3648(0x6c3)]<0x186a0?Math[_0x4b3648(0x6e4)](0x0,_0x4d17a9[_0x4b3648(0x6c3)])/0x186a0:0x0;if(_0x381717>0x0){var _0x69f802;(_0x69f802=_0x377db2['body'])==null||(_0x69f802=_0x69f802[_0x4b3648(0x636)])==null||_0x69f802[_0x4b3648(0x660)](_0x1b2ef0=>{const _0x5b403b=_0x4b3648;var _0xdbcfe5;_0x1b2ef0[_0x5b403b(0x579)]!=null||(_0x1b2ef0[_0x5b403b(0x579)]={}),_0x1b2ef0[_0x5b403b(0x579)][_0x5b403b(0x485)]=((_0xdbcfe5=_0x1b2ef0[_0x5b403b(0x579)][_0x5b403b(0x485)])==null?0x1:_0xdbcfe5)*(0x1-_0x381717);});}}function B(_0x28c1f1,_0x1b44eb){const _0x591ba2=_0x56c0cf;if((_0x1b44eb==null?void 0x0:_0x1b44eb[_0x591ba2(0x41c)])!==_0x591ba2(0x3bd))return;let _0x8c494a=typeof _0x1b44eb[_0x591ba2(0x1ff)]==_0x591ba2(0x1fe)&&Number['isFinite'](_0x1b44eb[_0x591ba2(0x1ff)])&&_0x1b44eb[_0x591ba2(0x1ff)]>0x0?_0x1b44eb[_0x591ba2(0x1ff)]/0x186a0:0x1;if(_0x8c494a!==0x1){var _0x23a0dc,_0x4e1cf0,_0x1725e5;R((_0x23a0dc=_0x28c1f1['documentStyle'])==null?void 0x0:_0x23a0dc[_0x591ba2(0x692)],0x1/_0x8c494a),(_0x4e1cf0=_0x28c1f1[_0x591ba2(0x22c)])==null||(_0x4e1cf0=_0x4e1cf0[_0x591ba2(0x5dd)])==null||_0x4e1cf0[_0x591ba2(0x660)](_0x13824b=>R(_0x13824b['ts'],0x1/_0x8c494a)),(_0x1725e5=_0x28c1f1[_0x591ba2(0x22c)])==null||(_0x1725e5=_0x1725e5['paragraphs'])==null||_0x1725e5[_0x591ba2(0x660)](_0x246dbc=>{const _0x1cc196=_0x591ba2;var _0x40c68f;R((_0x40c68f=_0x246dbc[_0x1cc196(0x579)])==null?void 0x0:_0x40c68f[_0x1cc196(0x692)],0x1/_0x8c494a);});}let _0x14db83=0x1-(typeof _0x1b44eb[_0x591ba2(0x6c3)]==_0x591ba2(0x1fe)&&Number[_0x591ba2(0x571)](_0x1b44eb[_0x591ba2(0x6c3)])&&_0x1b44eb[_0x591ba2(0x6c3)]<0x186a0?Math[_0x591ba2(0x6e4)](0x0,_0x1b44eb['lineSpaceReduction'])/0x186a0:0x0);if(_0x14db83>0x0&&_0x14db83!==0x1){var _0xc52dd2;(_0xc52dd2=_0x28c1f1['body'])==null||(_0xc52dd2=_0xc52dd2[_0x591ba2(0x636)])==null||_0xc52dd2[_0x591ba2(0x660)](_0x5d7009=>{const _0x241bfe=_0x591ba2;var _0x827f6a;let _0x5af0cf=(_0x827f6a=_0x5d7009[_0x241bfe(0x579)])==null?void 0x0:_0x827f6a[_0x241bfe(0x485)];typeof _0x5af0cf==_0x241bfe(0x1fe)&&Number['isFinite'](_0x5af0cf)&&(_0x5d7009[_0x241bfe(0x579)][_0x241bfe(0x485)]=_0x5af0cf/_0x14db83);});}}function V(_0x3b5279,_0x44f1a5=_0x56c0cf(0x339)){const _0x3b6b9c=_0x56c0cf;var _0x2a0d74;let _0x1b0def=((_0x2a0d74=_0x3b5279['text'])==null?'':_0x2a0d74)[_0x3b6b9c(0x40d)](/\r\n/g,'\x0a')[_0x3b6b9c(0x40d)](/\r/g,'\x0a')[_0x3b6b9c(0x251)]('\x0a'),_0x56dd62=_0x1b0def[_0x3b6b9c(0x6e5)]('\x0d')+'\x0d\x0a',_0x36dfe5=Math['max'](0x0,_0x56dd62[_0x3b6b9c(0x3d5)]-0x2),_0x3b299f=new Set(),_0x269088=ee(_0x3b5279),_0x155975=te(_0x3b5279),_0x531f0e=H(_0x3b5279),_0x1ae1f6=0x0;return{'id':_0x44f1a5,'body':{'dataStream':_0x56dd62,'paragraphs':_0x1b0def[_0x3b6b9c(0x263)](_0x40076b=>{let _0x20df30=_0x1ae1f6+_0x40076b['length'];return _0x1ae1f6+=_0x40076b['length']+0x1,{'startIndex':_0x20df30,'paragraphId':(0x0,i['createParagraphId'])(_0x3b299f),'paragraphStyle':{'horizontalAlign':_0x155975,'textStyle':_0x269088}};}),'textRuns':[{'st':0x0,'ed':Math[_0x3b6b9c(0x6e4)](0x1,_0x36dfe5),'ts':_0x269088}]},'documentStyle':{'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'marginTop':0x0,'textStyle':_0x269088,'renderConfig':{'horizontalAlign':_0x155975,'verticalAlign':_0x531f0e}}};}function ee(_0xb0bdbb){const _0x47a0b5=_0x56c0cf;return{..._0xb0bdbb['fontFamily']?{'ff':_0xb0bdbb[_0x47a0b5(0x264)]}:{},..._0xb0bdbb[_0x47a0b5(0x59c)]===void 0x0?{}:{'fs':_0xb0bdbb['fontSize']},..._0xb0bdbb[_0x47a0b5(0x5b7)]?{'cl':{'rgb':_0xb0bdbb[_0x47a0b5(0x5b7)]}}:{},..._0xb0bdbb[_0x47a0b5(0x706)]===void 0x0?{}:{'bl':_0xb0bdbb['bold']?i[_0x47a0b5(0x32b)][_0x47a0b5(0x657)]:i[_0x47a0b5(0x32b)][_0x47a0b5(0x64d)]},..._0xb0bdbb[_0x47a0b5(0x4e4)]===void 0x0?{}:{'it':_0xb0bdbb['italic']?i[_0x47a0b5(0x32b)][_0x47a0b5(0x657)]:i[_0x47a0b5(0x32b)]['FALSE']},..._0xb0bdbb['underline']===void 0x0?{}:{'ul':{'s':_0xb0bdbb[_0x47a0b5(0x32a)]?i[_0x47a0b5(0x32b)][_0x47a0b5(0x657)]:i[_0x47a0b5(0x32b)][_0x47a0b5(0x64d)]}}};}function te(_0x37811b){const _0x4d4315=_0x56c0cf;let _0x155d6f=_0x37811b[_0x4d4315(0x208)];return _0x155d6f===_0x4d4315(0x6fc)?i['HorizontalAlign'][_0x4d4315(0x66f)]:_0x155d6f===_0x4d4315(0x218)?i[_0x4d4315(0x1e4)][_0x4d4315(0x379)]:i[_0x4d4315(0x1e4)][_0x4d4315(0x252)];}function H(_0x5f28b8){const _0x484743=_0x56c0cf;let _0xf3e943=_0x5f28b8[_0x484743(0x40c)];return _0xf3e943===_0x484743(0x3c6)?i[_0x484743(0x5e9)][_0x484743(0x442)]:_0xf3e943==='bottom'?i[_0x484743(0x5e9)][_0x484743(0x217)]:i[_0x484743(0x5e9)][_0x484743(0x338)];}function ne(_0x572145){const _0x2920c7=_0x56c0cf;var _0x3631b5;let _0x51f7d3=(_0x3631b5=_0x572145[_0x2920c7(0x22c)])==null?void 0x0:_0x3631b5[_0x2920c7(0x636)],_0x5ba8bc,_0x19a392=!0x1;if(!_0x51f7d3)return{'hasParagraphAlign':_0x19a392,'isMixed':!0x1};for(let _0x1a3c73 of _0x51f7d3){var _0x3c96ea;let _0x47d80a=(_0x3c96ea=_0x1a3c73[_0x2920c7(0x579)])==null?void 0x0:_0x3c96ea['horizontalAlign'];if(_0x47d80a!==void 0x0){if(!_0x19a392){_0x5ba8bc=_0x47d80a,_0x19a392=!0x0;continue;}if(_0x5ba8bc!==_0x47d80a)return{'hasParagraphAlign':!0x0,'isMixed':!0x0};}}return{'horizontalAlign':_0x5ba8bc,'hasParagraphAlign':_0x19a392,'isMixed':!0x1};}function re(_0x43139e,_0x52380d={}){const _0x36a23c=_0x56c0cf;var _0x46d357,_0x290826,_0x7a5763;let _0x2db880=(_0x46d357=_0x43139e[_0x36a23c(0x413)])==null?void 0x0:_0x46d357[_0x36a23c(0x520)],_0x2f2323=ne(_0x43139e);return{'horizontalAlign':_0x2f2323[_0x36a23c(0x56c)]?_0x2f2323[_0x36a23c(0x3b9)]?void 0x0:_0x2f2323[_0x36a23c(0x208)]:(_0x290826=_0x2db880==null?void 0x0:_0x2db880[_0x36a23c(0x208)])==null?_0x52380d[_0x36a23c(0x208)]:_0x290826,'verticalAlign':(_0x7a5763=_0x2db880==null?void 0x0:_0x2db880[_0x36a23c(0x40c)])==null?_0x52380d[_0x36a23c(0x40c)]:_0x7a5763};}function ie(_0x28f9f3,_0x4c001b){const _0x251665=_0x56c0cf;var _0x59ed90;let _0x4f0ddb=(_0x59ed90=_0x28f9f3[_0x251665(0x413)])==null?{}:_0x59ed90,_0x4087c3={..._0x4f0ddb[_0x251665(0x520)]};if(_0x4c001b[_0x251665(0x40c)]!==void 0x0&&(_0x4087c3[_0x251665(0x40c)]=_0x4c001b[_0x251665(0x40c)]),_0x4c001b[_0x251665(0x208)]!==void 0x0){var _0x15454a;_0x4087c3['horizontalAlign']=_0x4c001b[_0x251665(0x208)];let _0x29dd75=(_0x15454a=_0x28f9f3[_0x251665(0x22c)])==null?void 0x0:_0x15454a[_0x251665(0x636)];if(_0x29dd75){for(let _0x240241 of _0x29dd75)_0x240241[_0x251665(0x579)]={..._0x240241[_0x251665(0x579)],'horizontalAlign':_0x4c001b['horizontalAlign']};}}_0x28f9f3[_0x251665(0x413)]={..._0x4f0ddb,'renderConfig':Object['keys'](_0x4087c3)[_0x251665(0x3d5)]>0x0?_0x4087c3:void 0x0};}function ae(_0x48f2a){const _0x264c40=_0x56c0cf;var _0x3f670c,_0x1868c1,_0x452329,_0x7f70a1;let _0x19438b=(_0x3f670c=(_0x1868c1=_0x48f2a['body'])==null||(_0x1868c1=_0x1868c1[_0x264c40(0x4d7)])==null?void 0x0:_0x1868c1[_0x264c40(0x3d5)])==null?0x0:_0x3f670c,_0x35ff1e=(_0x452329=_0x48f2a[_0x264c40(0x22c)])==null?void 0x0:_0x452329[_0x264c40(0x539)];if(_0x35ff1e!=null&&_0x35ff1e[_0x264c40(0x3d5)])for(let _0x5de639 of _0x35ff1e){var _0x440b88;_0x5de639[_0x264c40(0x66a)]=(_0x440b88=_0x5de639[_0x264c40(0x66a)])==null?i[_0x264c40(0x2ea)][_0x264c40(0x256)]:_0x440b88;}else _0x48f2a[_0x264c40(0x22c)]&&(_0x48f2a['body']['sectionBreaks']=[{'sectionId':(0x0,i[_0x264c40(0x1e6)])(new Set()),'startIndex':Math['max'](0x0,_0x19438b-0x1),'gridType':i[_0x264c40(0x2ea)][_0x264c40(0x256)]}]);let _0x2d7e19=(_0x7f70a1=_0x48f2a[_0x264c40(0x22c)])==null?void 0x0:_0x7f70a1[_0x264c40(0x636)];if(_0x2d7e19)for(let _0x41cc00 of _0x2d7e19){var _0x2e5124,_0x11a2ba,_0x239d75,_0x57e325,_0x8a3a30,_0x407138,_0x3745ec,_0x522fbb;_0x41cc00[_0x264c40(0x579)]={..._0x41cc00[_0x264c40(0x579)],'lineSpacing':(_0x2e5124=(_0x11a2ba=_0x41cc00[_0x264c40(0x579)])==null?void 0x0:_0x11a2ba[_0x264c40(0x485)])==null?0x1:_0x2e5124,'snapToGrid':(_0x239d75=(_0x57e325=_0x41cc00['paragraphStyle'])==null?void 0x0:_0x57e325[_0x264c40(0x570)])==null?i['BooleanNumber'][_0x264c40(0x64d)]:_0x239d75,'spaceAbove':(_0x8a3a30=(_0x407138=_0x41cc00[_0x264c40(0x579)])==null?void 0x0:_0x407138[_0x264c40(0x1bb)])==null?{'v':0x0}:_0x8a3a30,'spaceBelow':(_0x3745ec=(_0x522fbb=_0x41cc00[_0x264c40(0x579)])==null?void 0x0:_0x522fbb[_0x264c40(0x551)])==null?{'v':0x0}:_0x3745ec};}}function oe(_0x2a1249,_0x121bc3,_0xe32856=new Set()){const _0x1a140e=_0x56c0cf;var _0x2c95ef;let _0x428620=(_0x2c95ef=_0x2a1249['body'])==null?void 0x0:_0x2c95ef[_0x1a140e(0x539)];if(!(!(_0x428620!=null&&_0x428620[_0x1a140e(0x3d5)])||!_0x121bc3))for(let _0x2e81d7 of _0x428620){let _0xc7b6e3={..._0x121bc3,..._0x2e81d7[_0x1a140e(0x520)]},_0x3626c8=_0x121bc3;for(let _0x4973d1 of _0xe32856)Object[_0x1a140e(0x5a4)][_0x1a140e(0x2a4)][_0x1a140e(0x35d)](_0x3626c8,_0x4973d1)&&(_0xc7b6e3[_0x4973d1]=_0x3626c8[_0x4973d1]);_0x2e81d7[_0x1a140e(0x520)]={..._0xc7b6e3};}}function se(_0x189668){const _0x5dde49=_0x56c0cf;var _0x3790b1;let _0x2d5072=(_0x3790b1=_0x189668[_0x5dde49(0x22c)])==null?void 0x0:_0x3790b1[_0x5dde49(0x539)];if(_0x2d5072!=null&&_0x2d5072[_0x5dde49(0x3d5)])for(let _0x4cc1dd of _0x2d5072){if(!_0x4cc1dd[_0x5dde49(0x520)])continue;let _0x4feb97={..._0x4cc1dd['renderConfig']};delete _0x4feb97['centerAngle'],delete _0x4feb97['vertexAngle'],delete _0x4feb97[_0x5dde49(0x6ac)],delete _0x4feb97[_0x5dde49(0x208)],delete _0x4feb97[_0x5dde49(0x40c)],delete _0x4feb97[_0x5dde49(0x3f6)],_0x4cc1dd[_0x5dde49(0x520)]=Object[_0x5dde49(0x34b)](_0x4feb97)[_0x5dde49(0x3d5)]>0x0?_0x4feb97:void 0x0;}}function U(_0x11b451){const _0x14a8c3=_0x56c0cf;var _0x237d3c;let _0x77c827=_0x11b451[_0x14a8c3(0x22c)],_0xbd986b=_0x77c827==null?void 0x0:_0x77c827[_0x14a8c3(0x636)],_0x429f7f=_0x77c827==null?void 0x0:_0x77c827[_0x14a8c3(0x4d7)];if(!_0x77c827||!_0x429f7f)return;let _0x301bb7=[];for(let _0x3b7bca=0x0;_0x3b7bca<_0x429f7f[_0x14a8c3(0x3d5)];_0x3b7bca++)_0x429f7f[_0x3b7bca]==='\x0d'&&_0x301bb7[_0x14a8c3(0x553)](_0x3b7bca);if(!_0x301bb7[_0x14a8c3(0x3d5)])return;let _0x4bb919=new Set((_0x237d3c=_0xbd986b==null?void 0x0:_0xbd986b[_0x14a8c3(0x263)](_0x4ab01c=>_0x4ab01c[_0x14a8c3(0x469)])[_0x14a8c3(0x3f0)](Boolean))==null?[]:_0x237d3c),_0x2aeff5=new Set(),_0x2eb9b0=_0x301bb7[_0x14a8c3(0x263)](_0x36e16d=>{const _0x2888e9=_0x14a8c3;var _0xfe8db9;let _0x27ef63=(_0xfe8db9=_0xbd986b==null?void 0x0:_0xbd986b[_0x2888e9(0x690)]((_0xe65284,_0x461297)=>!_0x2aeff5[_0x2888e9(0x659)](_0x461297)&&_0xe65284['startIndex']===_0x36e16d))==null?-0x1:_0xfe8db9;if(!(_0x27ef63<0x0))return _0x2aeff5[_0x2888e9(0x5b8)](_0x27ef63),_0xbd986b==null?void 0x0:_0xbd986b[_0x27ef63];}),_0x9ac36b=0x0;_0x77c827[_0x14a8c3(0x636)]=_0x2eb9b0[_0x14a8c3(0x263)]((_0x3e2189,_0x4471f6)=>{const _0x603d81=_0x14a8c3;var _0x4b21ad,_0x397f84;let _0x2d159a=_0x3e2189;for(;!_0x2d159a&&_0x9ac36b<((_0x4b21ad=_0xbd986b==null?void 0x0:_0xbd986b[_0x603d81(0x3d5)])==null?0x0:_0x4b21ad);){let _0xd75b92=_0x9ac36b++;_0x2aeff5['has'](_0xd75b92)||(_0x2aeff5['add'](_0xd75b92),_0x2d159a=_0xbd986b==null?void 0x0:_0xbd986b[_0xd75b92]);}return{..._0x2d159a,'startIndex':_0x301bb7[_0x4471f6],'paragraphId':(_0x397f84=_0x2d159a==null?void 0x0:_0x2d159a[_0x603d81(0x469)])==null?(0x0,i[_0x603d81(0x569)])(_0x4bb919):_0x397f84};});}function ce(_0x3d493f,_0x422380){const _0x56abe8=_0x56c0cf;var _0x253d58,_0x253bab,_0x3c378a,_0x1d0e8a,_0x5e1e31,_0x599fc6,_0xe9151,_0x52a554,_0x2d4df5;let {isHorizontal:_0x2ef394,textRect:_0x869830}=_0x422380,_0x478661=_0x2ef394?_0x869830[_0x56abe8(0x57e)]:_0x869830[_0x56abe8(0x480)],_0x505ccb=W(_0x3d493f,_0x2ef394?_0x869830['height']:_0x869830[_0x56abe8(0x57e)]),_0x3d1647=ue(_0x3d493f);z(_0x3d1647,_0x422380['bodyBehavior']);let _0x137a95=(_0x253d58=_0x3d1647[_0x56abe8(0x413)])==null?{}:_0x253d58,_0x425c87={..._0x137a95[_0x56abe8(0x520)],'wrapStrategy':(_0x253bab=(_0x3c378a=_0x422380[_0x56abe8(0x6ac)])==null?(_0x1d0e8a=_0x137a95[_0x56abe8(0x520)])==null?void 0x0:_0x1d0e8a[_0x56abe8(0x6ac)]:_0x3c378a)==null?i[_0x56abe8(0x3a8)]['WRAP']:_0x253bab,'zeroWidthParagraphBreak':(_0x5e1e31=(_0x599fc6=_0x137a95['renderConfig'])==null?void 0x0:_0x599fc6['zeroWidthParagraphBreak'])==null?i['BooleanNumber'][_0x56abe8(0x657)]:_0x5e1e31,'shapeTextOpticalVerticalAlign':_0x2ef394?i[_0x56abe8(0x32b)][_0x56abe8(0x64d)]:i['BooleanNumber'][_0x56abe8(0x657)]};_0x2ef394?(delete _0x425c87[_0x56abe8(0x456)],delete _0x425c87[_0x56abe8(0x662)]):(_0x425c87['centerAngle']=c[_0x56abe8(0x50c)],_0x425c87['vertexAngle']=c[_0x56abe8(0x50c)]),_0x3d1647[_0x56abe8(0x413)]={..._0x137a95,'documentFlavor':i[_0x56abe8(0x27a)][_0x56abe8(0x2d4)],'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x478661,'height':_0x505ccb},'renderConfig':_0x425c87},U(_0x3d1647),ae(_0x3d1647);let _0x8c4c8=re(_0x3d1647,_0x422380);return ie(_0x3d1647,{'horizontalAlign':_0x8c4c8[_0x56abe8(0x208)],'verticalAlign':(_0xe9151=_0x422380[_0x56abe8(0x40c)])==null?_0x8c4c8[_0x56abe8(0x40c)]:_0xe9151}),(_0x52a554=_0x3d1647[_0x56abe8(0x413)])==null||(_0x52a554=_0x52a554[_0x56abe8(0x520)])==null||delete _0x52a554['horizontalAlign'],oe(_0x3d1647,(_0x2d4df5=_0x3d1647[_0x56abe8(0x413)])==null?void 0x0:_0x2d4df5['renderConfig'],new Set(['shapeTextOpticalVerticalAlign',_0x56abe8(0x40c),_0x56abe8(0x6ac)])),_0x3d1647;}function W(_0x2f184f,_0x448285){const _0x32b63a=_0x56c0cf;var _0x4f3ff5,_0x3f3ce;return(_0x4f3ff5=(_0x3f3ce=_0x2f184f[_0x32b63a(0x22c)])==null||(_0x3f3ce=_0x3f3ce[_0x32b63a(0x539)])==null?void 0x0:_0x3f3ce['some'](_0x4edc4d=>{const _0x1b5193=_0x32b63a;var _0x349b01,_0x470b64;return((_0x349b01=(_0x470b64=_0x4edc4d[_0x1b5193(0x658)])==null?void 0x0:_0x470b64[_0x1b5193(0x3d5)])==null?0x0:_0x349b01)>0x1;}))!=null&&_0x4f3ff5?Math['max'](0x1,_0x448285):0x1/0x0;}function le(_0x59fcf3,_0x5d2c82={}){const _0x283473=_0x56c0cf;var _0x4e8322,_0x488f54,_0x337763;let _0x4e1067=ue(_0x59fcf3);B(_0x4e1067,_0x5d2c82['bodyBehavior']);let _0x2382e9=(_0x4e8322=_0x4e1067[_0x283473(0x413)])==null?{}:_0x4e8322,_0x21186f={..._0x2382e9['renderConfig']},_0x307a2b=re(_0x4e1067,_0x5d2c82),_0x154852=(_0x488f54=_0x5d2c82[_0x283473(0x208)])==null?_0x307a2b[_0x283473(0x208)]:_0x488f54,_0x55682c=(_0x337763=_0x5d2c82[_0x283473(0x40c)])==null?_0x307a2b[_0x283473(0x40c)]:_0x337763;delete _0x21186f['centerAngle'],delete _0x21186f['vertexAngle'],delete _0x21186f[_0x283473(0x6ac)];let _0x20670e=_0x21186f[_0x283473(0x3f6)];return(_0x20670e===i[_0x283473(0x32b)][_0x283473(0x657)]||_0x20670e===!0x0||_0x20670e===i[_0x283473(0x32b)]['FALSE']||_0x20670e===!0x1)&&delete _0x21186f[_0x283473(0x3f6)],_0x4e1067[_0x283473(0x413)]={..._0x2382e9,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':0x1/0x0,'height':0x1/0x0},'renderConfig':Object['keys'](_0x21186f)[_0x283473(0x3d5)]>0x0?_0x21186f:void 0x0},ie(_0x4e1067,{'horizontalAlign':_0x154852,'verticalAlign':_0x55682c}),se(_0x4e1067),_0x4e1067;}function ue(_0x4cbef2){const _0x559936=_0x56c0cf;var _0x5831c8,_0x56324f;return{..._0x4cbef2,'body':_0x4cbef2[_0x559936(0x22c)]?{..._0x4cbef2[_0x559936(0x22c)],'paragraphs':(_0x5831c8=_0x4cbef2[_0x559936(0x22c)][_0x559936(0x636)])==null?void 0x0:_0x5831c8[_0x559936(0x263)](_0x47481e=>({..._0x47481e,'paragraphStyle':G(_0x47481e[_0x559936(0x579)])})),'sectionBreaks':(_0x56324f=_0x4cbef2['body'][_0x559936(0x539)])==null?void 0x0:_0x56324f['map'](_0x312552=>({..._0x312552,'renderConfig':G(_0x312552['renderConfig'])}))}:_0x4cbef2[_0x559936(0x22c)],'documentStyle':_0x4cbef2[_0x559936(0x413)]?{..._0x4cbef2['documentStyle'],'renderConfig':G(_0x4cbef2[_0x559936(0x413)]['renderConfig'])}:_0x4cbef2[_0x559936(0x413)]};}function G(_0xe94281){const _0x240dda=_0x56c0cf;return Array['isArray'](_0xe94281)?_0xe94281[_0x240dda(0x263)](_0x9a6b5a=>G(_0x9a6b5a)):!_0xe94281||typeof _0xe94281!=_0x240dda(0x6ec)?_0xe94281:Object[_0x240dda(0x493)](Object[_0x240dda(0x2f0)](_0xe94281)['map'](([_0x14aa86,_0x1d59f5])=>[_0x14aa86,G(_0x1d59f5)]));}function K(_0x4c1bd6){const _0xf9258d=_0x56c0cf;var _0x452488,_0x53ffae,_0x240e72;if(!(_0x4c1bd6!=null&&_0x4c1bd6[_0xf9258d(0x634)]))return null;let _0x55068b=(_0x452488=_0x4c1bd6[_0xf9258d(0x634)][_0xf9258d(0x413)])==null?void 0x0:_0x452488['renderConfig'];return{..._0x4c1bd6,'ha':(_0x53ffae=_0x4c1bd6['ha'])==null?_0x55068b==null?void 0x0:_0x55068b[_0xf9258d(0x208)]:_0x53ffae,'va':(_0x240e72=_0x4c1bd6['va'])==null?_0x55068b==null?void 0x0:_0x55068b[_0xf9258d(0x40c)]:_0x240e72,'doc':_0x4c1bd6[_0xf9258d(0x634)]};}function q(_0x59ba20){let {isRichText:_0x1c3429,..._0x4b1222}=_0x59ba20==null?{}:_0x59ba20;return _0x4b1222;}function J(_0x1bb616){const _0x26860a=_0x56c0cf;return _0x1bb616[_0x26860a(0x40d)](/\r\n/g,'\x0a')[_0x26860a(0x40d)](/\r/g,'\x0a');}function Y(_0x264e40){const _0x1397dd=_0x56c0cf;if(_0x264e40&&_0x1397dd(0x415)in _0x264e40&&typeof _0x264e40[_0x1397dd(0x415)]==_0x1397dd(0x1ce))return _0x264e40[_0x1397dd(0x415)];}function de(_0x51ce9e){const _0x7efaa9=_0x56c0cf;if(!_0x51ce9e||!(_0x7efaa9(0x24b)in _0x51ce9e)||_0x51ce9e['isRichText']!==!0x1)return;let _0x33c9e3=_0x51ce9e;return{..._0x51ce9e[_0x7efaa9(0x264)]?{'ff':_0x51ce9e[_0x7efaa9(0x264)]}:{},..._0x51ce9e[_0x7efaa9(0x59c)]===void 0x0?{}:{'fs':_0x51ce9e[_0x7efaa9(0x59c)]},..._0x51ce9e[_0x7efaa9(0x5b7)]?{'cl':{'rgb':_0x51ce9e[_0x7efaa9(0x5b7)]}}:{},..._0x51ce9e['bold']===void 0x0?{}:{'bl':_0x51ce9e['bold']?i[_0x7efaa9(0x32b)][_0x7efaa9(0x657)]:i['BooleanNumber'][_0x7efaa9(0x64d)]},..._0x51ce9e[_0x7efaa9(0x4e4)]===void 0x0?{}:{'it':_0x51ce9e[_0x7efaa9(0x4e4)]?i['BooleanNumber'][_0x7efaa9(0x657)]:i[_0x7efaa9(0x32b)]['FALSE']},..._0x51ce9e[_0x7efaa9(0x32a)]===void 0x0?{}:{'ul':{'s':_0x51ce9e[_0x7efaa9(0x32a)]?i[_0x7efaa9(0x32b)][_0x7efaa9(0x657)]:i[_0x7efaa9(0x32b)][_0x7efaa9(0x64d)]}},..._0x33c9e3[_0x7efaa9(0x306)]===void 0x0?{}:{'st':{'s':_0x33c9e3[_0x7efaa9(0x306)]?i[_0x7efaa9(0x32b)][_0x7efaa9(0x657)]:i[_0x7efaa9(0x32b)][_0x7efaa9(0x64d)]}},..._0x33c9e3[_0x7efaa9(0x38c)]===void 0x0?{}:{'textFill':_0x33c9e3['textFill']}};}function fe(_0x3776f3,_0xe80d61=i['HorizontalAlign'][_0x56c0cf(0x252)],_0x2e79d7=''){const _0x358ab8=_0x56c0cf;let _0x1fa185=J(_0x2e79d7)['split']('\x0a'),_0x263685=_0x1fa185[_0x358ab8(0x6e5)]('\x0d')+'\x0d\x0a',_0x2243c5=Math[_0x358ab8(0x6e4)](0x0,_0x263685['length']-0x2),_0x5dfddb=new Set(),_0x3fdfcb=0x0,_0x530aa0=_0x1fa185['map'](_0x2a8164=>{const _0x6f9989=_0x358ab8;let _0x19f409={'startIndex':_0x3fdfcb+_0x2a8164[_0x6f9989(0x3d5)],'paragraphId':(0x0,i[_0x6f9989(0x569)])(_0x5dfddb),'paragraphStyle':{'horizontalAlign':_0xe80d61}};return _0x3fdfcb+=_0x2a8164[_0x6f9989(0x3d5)]+0x1,_0x19f409;});return{'id':_0x358ab8(0x1a3),'body':{'dataStream':_0x263685,'textRuns':_0x3776f3?[{'st':0x0,'ed':Math[_0x358ab8(0x6e4)](0x1,_0x2243c5),'ts':{..._0x3776f3}}]:[],'paragraphs':_0x530aa0},'documentStyle':{'textStyle':_0x3776f3?{..._0x3776f3}:void 0x0}};}function pe(_0xbf98e0,_0x1ed040){const _0x363b6f=_0x56c0cf;var _0xa8557c,_0x9ccdf5,_0x3a654f;let _0x2a9480=_0xbf98e0['shapeText'],_0x492594=K(_0x2a9480&&_0x363b6f(0x494)in _0x2a9480?_0x2a9480['dataModel']:void 0x0),_0x3eb927=(_0xa8557c=(_0x9ccdf5=_0x1ed040[_0x363b6f(0x208)])==null?_0x492594==null?void 0x0:_0x492594['ha']:_0x9ccdf5)==null?i['HorizontalAlign'][_0x363b6f(0x252)]:_0xa8557c,_0x570a3c={...de(_0x2a9480),..._0x1ed040[_0x363b6f(0x692)]},_0x3b0bcf=Object[_0x363b6f(0x34b)](_0x570a3c)[_0x363b6f(0x3d5)]>0x0;if(_0x492594!=null&&_0x492594[_0x363b6f(0x634)]){var _0x47f9ef,_0x14366c;return{'va':(_0x47f9ef=_0x492594['va'])==null?i[_0x363b6f(0x5e9)][_0x363b6f(0x338)]:_0x47f9ef,'ha':(_0x14366c=_0x492594['ha'])==null?i[_0x363b6f(0x1e4)]['LEFT']:_0x14366c,'doc':ue(_0x492594['doc'])};}return{'va':i[_0x363b6f(0x5e9)][_0x363b6f(0x338)],'ha':_0x3eb927,'doc':fe(_0x3b0bcf?_0x570a3c:void 0x0,_0x3eb927,(_0x3a654f=Y(_0x2a9480))==null?'':_0x3a654f)};}function me(_0x1575e2,_0x30a136){const _0x21e400=_0x56c0cf;var _0x272e8c,_0x453762,_0x50718d,_0x54a0ce,_0x26fe35;let _0x5acb6e=_0x1575e2[_0x21e400(0x1a1)],_0x297b3d=q(_0x5acb6e),_0x50df07=_0x5acb6e&&_0x21e400(0x494)in _0x5acb6e&&_0x5acb6e['dataModel']&&typeof _0x5acb6e[_0x21e400(0x494)]==_0x21e400(0x6ec)?_0x5acb6e[_0x21e400(0x494)]:{},_0x15bd8a=Y(_0x5acb6e),_0x4f1370=pe(_0x1575e2,_0x30a136),_0x36da5b=(_0x272e8c=_0x30a136[_0x21e400(0x208)])==null?_0x4f1370['ha']:_0x272e8c,_0x580ec0=(_0x453762=_0x30a136[_0x21e400(0x40c)])==null?_0x4f1370['va']:_0x453762,_0x3488b1=_0x4f1370[_0x21e400(0x634)];if(_0x3488b1['documentStyle']={..._0x3488b1[_0x21e400(0x413)],'renderConfig':{...(_0x50718d=_0x3488b1[_0x21e400(0x413)])==null?void 0x0:_0x50718d[_0x21e400(0x520)],'horizontalAlign':_0x36da5b,'verticalAlign':_0x580ec0}},_0x30a136['textStyle']){var _0x78182e,_0x3d20cc;_0x3488b1['documentStyle']={..._0x3488b1[_0x21e400(0x413)],'textStyle':{...(_0x78182e=_0x3488b1[_0x21e400(0x413)])==null?void 0x0:_0x78182e[_0x21e400(0x692)],..._0x30a136[_0x21e400(0x692)]}};let _0x202450=(_0x3d20cc=_0x3488b1[_0x21e400(0x22c)])==null?void 0x0:_0x3d20cc['textRuns'];if(_0x202450){for(let _0x4ab28a of _0x202450)_0x4ab28a['ts']={..._0x4ab28a['ts'],..._0x30a136['textStyle']};}}let _0x3455ca=(_0x54a0ce=_0x3488b1[_0x21e400(0x22c)])==null?void 0x0:_0x54a0ce[_0x21e400(0x636)];if(_0x3455ca){for(let _0x3317fe of _0x3455ca)_0x3317fe[_0x21e400(0x579)]={..._0x3317fe['paragraphStyle'],'horizontalAlign':_0x36da5b};}return{'shapeText':{..._0x297b3d,'isHorizontal':(_0x26fe35=_0x5acb6e==null?void 0x0:_0x5acb6e['isHorizontal'])==null?!0x0:_0x26fe35,..._0x15bd8a===void 0x0?{}:{'text':_0x15bd8a},'dataModel':{..._0x50df07,'va':_0x580ec0,'ha':_0x36da5b,'doc':_0x3488b1}}};}const he=_0x56c0cf(0x1eb),X='#2563EB',Z=_0x56c0cf(0x1e9),ge=_0x56c0cf(0x22b),_e=_0x56c0cf(0x258),ve={'none':s[_0x56c0cf(0x6bc)][_0x56c0cf(0x5a6)],'solid':s[_0x56c0cf(0x6bc)]['SolidFill'],'gradient':s[_0x56c0cf(0x6bc)][_0x56c0cf(0x6a6)],'picture':s[_0x56c0cf(0x6bc)]['PictureFill']};function ye(_0x565846){const _0x518d62=_0x56c0cf;return _0x565846 instanceof HTMLElement?!!_0x565846[_0x518d62(0x584)]('input,\x20textarea,\x20[contenteditable=\x22true\x22],\x20[role=\x22combobox\x22],\x20[data-u-comp=\x22select\x22],\x20.univer-select'):!0x1;}function Q(_0x2026f2){const _0x1973a2=_0x56c0cf;ye(_0x2026f2[_0x1973a2(0x207)])||_0x2026f2['preventDefault']();}function $(_0xa76369){const _0x19f7de=_0x56c0cf;_0xa76369[_0x19f7de(0x60b)](),Q(_0xa76369);}function be(_0x10a4d6){const _0x1f6b59=_0x56c0cf;let _0x442f6a=(0x0,n['useRef'])(!0x1),_0x14f96e=(0x0,n[_0x1f6b59(0x2c5)])(null);return{'handleOpenChange':_0x450ca6=>{!_0x450ca6&&_0x442f6a['current']||_0x10a4d6(_0x450ca6);},'markInternalInteraction':()=>{const _0x5c1604=_0x1f6b59;_0x442f6a[_0x5c1604(0x21b)]=!0x0,_0x14f96e[_0x5c1604(0x21b)]&&clearTimeout(_0x14f96e['current']),_0x14f96e[_0x5c1604(0x21b)]=setTimeout(()=>{_0x442f6a['current']=!0x1,_0x14f96e['current']=null;},0x1f4);}};}function xe(_0x4b181f){const _0xbe3b8a=_0x56c0cf;return(0x0,r[_0xbe3b8a(0x6f0)])(_0xbe3b8a(0x6c6),{'className':(0x0,e[_0xbe3b8a(0x4e6)])(_0xbe3b8a(0x4fd),_0x4b181f[_0xbe3b8a(0x5df)]),'children':_0x4b181f['children']});}function Se(_0x23e49b){const _0x4d58b9=_0x56c0cf;return(0x0,r[_0x4d58b9(0x6f0)])(_0x4d58b9(0x21c),{'className':_0x4d58b9(0x2ca),'children':_0x23e49b[_0x4d58b9(0x392)]});}function Ce(_0x51bfa4){const _0x221b27=_0x56c0cf;var _0xb53e6e;return(0x0,r[_0x221b27(0x6f0)])(_0x221b27(0x21c),{..._0x51bfa4[_0x221b27(0x34e)],'onMouseDown':_0x536bda=>{const _0x27b6d1=_0x221b27;if(_0x51bfa4[_0x27b6d1(0x3c7)]){_0x51bfa4[_0x27b6d1(0x3c7)](_0x536bda);return;}_0x536bda['stopPropagation'](),ye(_0x536bda[_0x27b6d1(0x207)])||_0x536bda[_0x27b6d1(0x34f)]();},'className':(0x0,e[_0x221b27(0x4e6)])(_0x221b27(0x434),e[_0x221b27(0x6d2)],(_0xb53e6e=_0x51bfa4[_0x221b27(0x5ec)])==null?_0x221b27(0x505):_0xb53e6e,_0x51bfa4[_0x221b27(0x5df)]),'children':_0x51bfa4[_0x221b27(0x392)]});}function we(_0x2afeca){const _0x45b35f=_0x56c0cf;var _0x49d521,_0x54bcbe;let _0x5f9dcf=(0x0,a[_0x45b35f(0x4ea)])(i['LocaleService']),_0x36d9d3=_0x2afeca[_0x45b35f(0x3a9)]?_0x5f9dcf['t'](_0x2afeca[_0x45b35f(0x3a9)]):(_0x49d521=_0x2afeca[_0x45b35f(0x31b)])==null?'':_0x49d521;return(0x0,r[_0x45b35f(0x6f0)])(e[_0x45b35f(0x481)],{'title':_0x36d9d3,'placement':'bottom','children':(0x0,r[_0x45b35f(0x6f0)])(_0x45b35f(0x324),{'type':_0x45b35f(0x324),'aria-label':_0x36d9d3,'aria-expanded':_0x2afeca['ariaExpanded'],'disabled':_0x2afeca[_0x45b35f(0x54f)],'onClick':_0x2afeca[_0x45b35f(0x478)],'onMouseDown':_0x2afeca[_0x45b35f(0x3c7)],'onPointerDown':_0x2afeca[_0x45b35f(0x63b)],'className':(0x0,e[_0x45b35f(0x4e6)])(_0x45b35f(0x67e),(_0x54bcbe=_0x2afeca[_0x45b35f(0x497)])==null?_0x45b35f(0x6a0):_0x54bcbe,_0x2afeca[_0x45b35f(0x5df)],{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x2afeca[_0x45b35f(0x522)]}),'children':_0x2afeca[_0x45b35f(0x392)]})});}function Te(_0x284730){const _0x2bcfd2=_0x56c0cf;var _0x279fd5;return(0x0,r[_0x2bcfd2(0x372)])(we,{'title':_0x284730[_0x2bcfd2(0x31b)],'titleKey':_0x284730[_0x2bcfd2(0x3a9)],'active':_0x284730[_0x2bcfd2(0x522)],'ariaExpanded':_0x284730[_0x2bcfd2(0x522)],'className':_0x284730[_0x2bcfd2(0x5df)],'sizeClassName':(_0x279fd5=_0x284730['sizeClassName'])==null?'univer-h-6\x20univer-min-w-9\x20univer-w-auto\x20univer-gap-1\x20univer-px-1.5':_0x279fd5,'onMouseDown':_0x284730['onMouseDown'],'onPointerDown':_0x284730[_0x2bcfd2(0x63b)],'children':[_0x284730[_0x2bcfd2(0x63e)],(0x0,r[_0x2bcfd2(0x6f0)])(t[_0x2bcfd2(0x26b)],{'className':_0x2bcfd2(0x506)})]});}function Ee(_0x3de4d9){const _0x1be55b=_0x56c0cf;let _0x2a89fb=a[_0x1be55b(0x5c2)]['map'](_0x221ec4=>({'label':_0x221ec4[_0x1be55b(0x68f)],'value':String(_0x221ec4[_0x1be55b(0x202)])}));return(0x0,r['jsx'])(e[_0x1be55b(0x39b)],{'className':(0x0,e[_0x1be55b(0x4e6)])(_0x1be55b(0x238),_0x3de4d9[_0x1be55b(0x5df)]),'value':String(_0x3de4d9[_0x1be55b(0x202)]),'options':_0x2a89fb,'onChange':_0x278fda=>{const _0x360f79=_0x1be55b;var _0xb3f3e6;let _0x4d533a=Number(_0x278fda);Number[_0x360f79(0x58c)](_0x4d533a)||_0x3de4d9['onChange'](_0x4d533a),(_0xb3f3e6=_0x3de4d9[_0x360f79(0x6d7)])==null||_0xb3f3e6[_0x360f79(0x35d)](_0x3de4d9);}});}function De(_0x12e089){const _0x5e67f4=_0x56c0cf;let {title:_0x4e3790,open:_0x440f63,disabled:_0x2e30f7,icon:_0x32d301,overlay:_0x5d6088,popoverClassName:_0x23f48d,onApply:_0x4badfc,onOpenChange:_0x19031e}=_0x12e089,_0x1861f4='\x0a\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-6\x20univer-items-center\x20univer-justify-center\x20univer-border-none\x20univer-bg-transparent\x0a\x20\x20\x20\x20\x20\x20univer-p-0\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x0a\x20\x20\x20\x20\x20\x20hover:univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x0a\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-100\x0a\x20\x20\x20\x20\x20\x20dark:hover:!univer-bg-gray-700\x0a\x20\x20\x20\x20';return(0x0,r['jsxs'])('div',{'className':_0x5e67f4(0x22f),'children':[(0x0,r['jsx'])(e[_0x5e67f4(0x481)],{'title':_0x4e3790,'placement':_0x5e67f4(0x4b8),'children':(0x0,r[_0x5e67f4(0x6f0)])(_0x5e67f4(0x324),{'type':'button','aria-label':_0x4e3790,'disabled':_0x2e30f7,'onClick':_0x4badfc,'className':(0x0,e[_0x5e67f4(0x4e6)])(_0x1861f4,_0x5e67f4(0x29d),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x440f63}),'children':_0x32d301})}),(0x0,r[_0x5e67f4(0x6f0)])(e[_0x5e67f4(0x1b9)],{'disabled':_0x2e30f7,'open':_0x440f63,'className':_0x23f48d,'onOpenChange':_0x19031e,'overlay':_0x5d6088,'children':(0x0,r['jsx'])('span',{'children':(0x0,r[_0x5e67f4(0x6f0)])(e[_0x5e67f4(0x481)],{'title':_0x4e3790,'placement':_0x5e67f4(0x4b8),'children':(0x0,r[_0x5e67f4(0x6f0)])('button',{'type':_0x5e67f4(0x324),'aria-label':_0x4e3790,'disabled':_0x2e30f7,'className':(0x0,e[_0x5e67f4(0x4e6)])(_0x1861f4,_0x5e67f4(0x303),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x440f63}),'children':(0x0,r['jsx'])(t[_0x5e67f4(0x26b)],{'className':(0x0,e[_0x5e67f4(0x4e6)])(_0x5e67f4(0x226),{'univer-rotate-180':_0x440f63})})})})})})]});}function Oe(_0xe0ea5d){const _0x4cffb2=_0x56c0cf;switch(_0xe0ea5d){case s[_0x4cffb2(0x3ec)][_0x4cffb2(0x24c)]:case s[_0x4cffb2(0x3ec)]['SquareDot']:return'1\x203';case s[_0x4cffb2(0x3ec)]['Dash']:return'4\x202';case s[_0x4cffb2(0x3ec)][_0x4cffb2(0x314)]:return _0x4cffb2(0x3e4);case s['ShapeLineDashEnum'][_0x4cffb2(0x4c1)]:return _0x4cffb2(0x42d);case s[_0x4cffb2(0x3ec)][_0x4cffb2(0x650)]:return _0x4cffb2(0x414);case s[_0x4cffb2(0x3ec)][_0x4cffb2(0x2e2)]:return _0x4cffb2(0x6e3);case s['ShapeLineDashEnum'][_0x4cffb2(0x3b4)]:default:return;}}function _0x3608(){const _0x48a53b=['Chevron','SetInlineFormatFontFamilyCommand','FlowchartInternalStorage','HEADING_1','LocaleService','ShapeCurvedUpArrowIcon','lineStrokeType','Medium','root','Plugin','docStateChangeParams$','isConnectorShape','ShapeStar10Icon','scene','color','add','ShapeMathEqualIcon','ActionButtonDocument','shape.type.ellipse','Other','shape.type.pentagon','shape.type.math-minus','resolveShapeTextEditorBehaviorShapeData','shape.type.non-isosceles-trapezoid','univer-text-gray-500','FONT_SIZE_LIST','shape.type.quad-arrow','solidFill','ShapeFlowChartOffpageConnectorIcon','shape-editor-ui.fill.picture.insert','shape.type.star16','BracketPair','viewportKeys','deepCompare','saveImage','RightArrowCallout','ShapeFlowChartManualInputIcon','shape-editor-ui.textEditor.paragraphType.heading3','univer-text-primary-600','updateDocumentDataMargin','shape.type.flow-chart-extract','shape.type.left-right-circular-arrow','SHIFT','PERIOD','univer-flex\x20univer-h-4\x20univer-w-14\x20-univer-translate-y-1\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-0\x20univer-text-[10px]\x20univer-text-gray-500\x20univer-shadow-sm\x20univer-transition-colors\x20hover:univer-border-gray-300\x20hover:univer-bg-gray-50\x20hover:univer-text-gray-700\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-300\x20dark:hover:!univer-bg-gray-800','shape-editor-ui.toolbar.resetColor','asc','shape-editor-ui.line.noLine','offset','ShapePickerDropdown','shape-editor-ui.line.sketchType.none','AlignLeftCommand','textRuns','UniverInstanceType','className','resolveShapeTextDocumentPageHeight','shape-editor-ui.fill.picture.source','shape.type.star4','HEADING_4','HorizontallyIcon','FlowchartOnlineStorage','focus','MetaKeys','ShapeRightArrowCalloutIcon','VerticalAlign','actions','fillOpacity','maxWidthClassName','Digit7','getDirection','viewportHeight','opticalVerticalAlign','AccentBorderCallout2','Accordion','horz','Star6','shape.type.straight-connector2','pointerup','univer-w-12','ShapeFlowChartSortIcon','ShapeStrokePanelButton','shape.type.right-brace','SwooshArrow','boolean','WRAP','ShapeLineJoinEnum','shape.type.left-up-arrow','butt','#4086f4','FillStyleTabsEditor','AlignCenterCommand','ShapeBracePairIcon','Pentagon','univer-flex\x20univer-items-center\x20univer-justify-between','Ellipse','ILocalStorageService','LeftRightArrowCallout','#9ca3af','stopPropagation','getCanvasElement','Diamond','Triangle','DownArrowCallout','group\x20univer-relative\x20univer-inline-block','resolveShapeTextBodyBehavior','AccentCallout3','SHAPE_FLOATING_TOOLBAR_DEFAULT_STROKE_COLOR','shape-floating-toolbar-collapsed','shape.type.curved-connector3-arrow2','imageOpacity','ShapeEllipseRibbonIcon','startArrow','ShapePickerPanel','univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','diamond','textWrap','stretch','ShapeHeartIcon','univer-shrink-0\x20univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','ShapeFlowChartDisplayIcon','memo','AlignBottomIcon','DeleteIcon','WedgeRectCallout','univer-text-sm','heading:','top-center','ShapeStraightConnector1Icon','shape.type.up-arrow','gradientFill','1455692PiOxOu','univer-rounded-lg\x20univer-p-3','shape.type.corner-tabs','onTransformChange$','ShapeLeftBraceIcon','ShapeLeftCircularArrowIcon','isShapeTextEditorDocumentEmpty','shape-editor-ui.align.middle','shape-editor-ui.fill.solidFill','doc','ShapeDonutIcon','paragraphs','nativeEvent','Ribbon2','ShapeEllipseIcon','WedgeRoundRectCallout','onPointerDown','ShapeSnip2DiagRectIcon','pageHeight','icon','ShapeWedgeRectCalloutIcon','shape.type.round1-rect','elementFromPoint','ShapeUpArrowIcon','shape-editor-ui.fill.gradientFill','lineHeight','shape.type.down-arrow-callout','shape.type.flow-chart-predefined-process','iterator','textRanges','shape.type.up-arrow-callout','SetInlineFormatStrikethroughCommand','ShapeFloatingToolbarContent','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-px-2\x20univer-text-xs\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','FALSE','SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_COLOR','LeftRightCircularArrow','LongDashDot','ShapeTypeEnum','DeleteLeftCommand','ShapeFlowChartInternalStorageIcon','Callout1','getShapeTextRect','FlowchartDocument','TRUE','columnProperties','has','Snip2SameRect','UnderlineIcon','shape-editor-ui.toolbar.alignJustify','executeCommand','normalizeShapeTextModel','Flowchart','forEach','ShapeDodecagonIcon','vertexAngle','shape.type.smiley-face','ShapeBevelIcon','ShapeHorizontalScrollIcon','ShapeCurvedDownArrowIcon','shape.type.bent-connector3-arrow1','gradient','ShapeBentConnector3Icon','gridType','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-0\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-50\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','CodeIcon','stripShapeTextPlainMarker','OVERFLOW','CENTER','ShapeCloudIcon','_showFloatMenu','univer-w-20','shape.type.up-down-arrow','shape-editor-ui.fill.picture.offsetX','shape.type.left-bracket','shape.type.bent-connector3','shape.type.star5','clientX','removeEventListener','univer-box-border\x20univer-flex\x20univer-flex-col\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-3\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','shape.type.rect-textbox-vertical','HandDrawn','SetParagraphNamedStyleCommand','univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','min','WedgeEllipseCallout','ShapeActionButtonDocumentIcon','tangentialPressure','StealthArrow','ShapeWedgeRoundRectCalloutIcon','shape-editor-ui.line.capType.flat','getObjectIncludeInGroup','verticalOffset','getDocumentDataModel','getUnit','UpArrowCallout','calculate','getRenderById','ShapeStar7Icon','onSavingEditorData$','label','findIndex','setContextValue','textStyle','Plaque','ShapeFlowChartConnectorIcon','shape.type.math-equal','Radio','input','square','documentMarginTop','shape.type.flow-chart-sort','ALT','minWidthClassName','useEffect','ShapeHalfFrameIcon','Snip2DiagRect','univer-h-6\x20univer-w-6','isStrike','offsetY','FlowchartMagneticTape','ChartStar','ShapeLineIcon','GradientFill','setConfig','linear','FoldedCorner','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md','shape-editor-ui.fill.picture.align.bl','wrapStrategy','ShapeBentArrowIcon','_initSelectionChange','ShapeActionButtonForwardNextIcon','isItalic','univer-gap-3','rgb','ShapeActionButtonBeginningIcon','MoreRightIcon','_componentManager','shape.type.quad-arrow-callout','maxAutoFitWidth','callout','SetInlineFormatBoldCommand','shape.type.circular-arrow','SHAPE_EDITOR_UI_PLUGIN','ShapeFillEnum','ShapeStar24Icon','attachPopupToRange','shape-editor-ui.fill.picture.align.tl','AccentCallout1','ShapeAccentCallout1Icon','shape.type.chart-plus','lineSpaceReduction','shape.type.gear9','strokeOpacity','span','currentLocale$','\x0a\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-6\x20univer-min-w-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x0a\x20\x20\x20\x20\x20\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1\x20univer-text-sm\x20univer-text-gray-700\x0a\x20\x20\x20\x20\x20\x20univer-transition-colors\x0a\x20\x20\x20\x20\x20\x20hover:univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-100\x0a\x20\x20\x20\x20\x20\x20dark:hover:!univer-bg-gray-700\x0a\x20\x20\x20\x20','univer-flex\x20univer-h-6\x20univer-min-w-7\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','pictureFill','ShapePlaqueTabsIcon','univer-gap-2','currentColor','shape.type.diag-stripe','buttonClassName','Arc','tiltX','borderClassName','ShapeFlowChartCollateIcon','ShapeAccentBorderCallout2Icon','ActionButtonBeginning','shape-editor-ui.shape.group.','onAfterChange','PlaqueTabs','baselineWidth','ICommandService','disposable','shape.type.bent-arrow','shape.type.dodecagon','version','ShapeFlowChartManualOperationIcon','univer-grid\x20univer-grid-cols-10\x20univer-gap-1','accent-primary-600\x20univer-h-1.5\x20univer-w-full\x20univer-cursor-pointer\x20univer-appearance-none\x20univer-rounded-full\x20univer-bg-gray-200\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-bg-gray-700\x20[&::-webkit-slider-thumb]:univer-size-3.5\x20[&::-webkit-slider-thumb]:univer-appearance-none\x20[&::-webkit-slider-thumb]:univer-rounded-full\x20[&::-webkit-slider-thumb]:univer-bg-primary-600\x20[&::-webkit-slider-thumb]:univer-shadow-sm','DiamondArrow','8\x202\x201\x202\x201\x202','max','join','BoldIcon','RichTextEditingMutation','shape.type.callout1','ShapeUpDownArrowIcon','StrikethroughIcon','shape-editor-ui.line.arrowSize.large','object','componentKey','ShapeWaveIcon','shape-editor-ui.fill.title','jsx','ShapeLeftUpArrowIcon','Star4','constructor','shape-editor-ui.fill.picture.align.l','univer-w-[260px]','shape.type.action-button-document','endArrow','univer-gap-4','FontColorDoubleIcon','flowAxis','ShapeUturnArrowIcon','center','shape-editor-ui.textEditor.paragraphType.quote','ShapeStar32Icon','shape-editor-ui.fill.picture.align.r','name','IconManager','MathEqual','rowStartY','onCommandExecuted','ShapeAccentBorderCallout1Icon','bold','glyphGroup','ShapeActionButtonInformationIcon','GradientColorPicker','shape.type.chord','Digit8','endOffset','shape.type.ribbon','shape.type.math-not-equal','ShapeDefaultConfig','AccentCallout2','ShapeSunIcon','HEADING_2','shape.type.action-button-home','shape-editor-ui.textEditor.paragraphType.callout','shape.type.bracket-pair','variant','shapeText','ShapeUpDownArrowCalloutIcon','shape-text','setZoomRatio','nextHeight','defineProperty','ShapeCircularArrowIcon','univer-leading-none','OvalArrow','ShapeLeftRightRibbonIcon','options','ShapeTextFloatToolbar','shape-stroke-dash-dropdown','NotchedRightArrow','shape-editor-ui.toolbar.underline','univer-block\x20univer-w-full','ShapeCubeIcon','univer-h-14\x20univer-w-full\x20univer-rounded\x20univer-object-cover','bBox','FlowchartDisplay','#000000','pageMarginTop','DocSelectionRenderService','shape.type.flow-chart-display','Dropdown','Round2DiagRect','spaceAbove','descent','ShapeBracketPairIcon','useLeftAndRightArrow','ShapeFlowChartDecisionIcon','useState','ShapeMathDivideIcon','getCurrentUnitOfType','resolveShapeTextEditorFlowAxis','shape-editor-ui.line.arrowType.stealthArrow','gradientType','pressure','ShapeFlowChartPreparationIcon','LeftUpArrow','marginBottom','horizontalAnchor','shape.type.flow-chart-process','Stretch','actualWidth','string','img','ShapeTriangleIcon','shape.type.flow-chart-offpage-connector','Pie','shape.type.pie-wedge','Inject','KeyCode','ShapeMathMinusIcon','contentVerticalOffset','ShapeIcon','sections','shape-editor-ui.line.endArrowType','gradientStops','mode','getHostTransform','ShapeFlowChartPunchedTapeIcon','BaselineOffset','getItem','excludeGroups','univer-pointer-events-none\x20univer-opacity-60','getTransformerByCreate','HorizontalAlign','shape-editor-ui.toolbar.expandShapeToolbar','createSectionId','_hideFloatMenu','BorderCallout2','#111827','shortcut','#3B82F6','shape-editor-ui.line.arrowSize.small','basicShape','Flat','Gear6','univer-hidden','isTextBox','univer-w-auto','UngroupIcon','_context','clearActiveDrawingObjects','pointerId','ShapeIrregularSeal2Icon','onShapeClick','BracePair','shape.type.notched-right-arrow','shape.type.parallelogram','aba','CurvedDownArrow','number','fontScale','shape-editor-ui.toolbar.subscript','contains','value','shape-editor-ui.textEditor.paragraphType.bulletList','univer-text-gray-600\x20univer-transition-transform','DocSettingIcon','univer-pt-2','target','horizontalAlign','ShapeVerticalScrollIcon','with','univer-size-full','[data-u-comp=\x22shape-stroke-dash-dropdown\x22]','shape.type.curved-connector3','ShapeEditPanel','ShapeFlowChartTerminatorIcon','shape.type.no-smoking','_floatMenu','shape.type.flow-chart-magnetic-disk','ShapeHomePlateIcon','univer-mb-2','DELETE','ShapeFlowChartSummingJunctionIcon','BOTTOM','right','paddingTop','worksheet','current','div','requestAnimationFrame','Miter','shape.type.border-callout2','shape.type.round-rect','shape.type.wedge-round-rect-callout','isBold','univer-block\x20univer-h-[100px]\x20univer-w-[100px]\x20univer-object-cover','scrollContainer','shape-text-editor-position-wrapper','univer-text-xs\x20univer-text-gray-600\x20univer-transition-transform\x20dark:!univer-text-gray-300','ColorPicker','autoFitNoWrap','H2Icon','unitId','#ffffff','body','shape.type.right-bracket','QuadArrowCallout','univer-flex\x20univer-h-6\x20univer-items-center','contentHeight','unsubscribe','isActive','Star12','shape-editor-ui.line.title','gradientAngle','transparent','FontFamilyDropdown','!univer-h-6\x20univer-w-14\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-px-1.5','univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold','ShapeAccentCallout3Icon','deg)\x20scaleY(','shape.type.action-button-help','ShapeActionButtonMovieIcon','HEADING_3','JUSTIFIED','shape-editor-ui.toolbar.textColor','shape-editor-ui.toolbar.superscript','pages','domY','ShapeSquareTabsIcon','shape.type.action-button-beginning','imageTile','Segmented','ActionButtonReturn','viewportScrollX','shape.type.left-arrow-callout','isRichText','RoundDot','measureDocumentNoWrapTextRangeWidth','ShapeFlowChartMagneticDrumIcon','ShapeStar8Icon','shape-editor-ui.line.arrowType.diamondArrow','split','LEFT','getInitialShapeFillType','ActionButtonMovie','ActionButtonEnd','DEFAULT','SetInlineFormatSuperscriptCommand','univer.shape-editor-ui.floating-toolbar.collapsed','FlowchartSummingJunction','shape.type.rect','shape.type.star10','StripedRightArrow','shape.type.flow-chart-input-output','univer-w-28','univer-pointer-events-none\x20univer-absolute\x20univer-select-none\x20univer-whitespace-nowrap\x20univer-text-gray-400','toStringTag','Star5','Sun','map','fontFamily','ShapeFlowChartDelayIcon','key','getSkeleton','shape-editor-ui.textEditor.paragraphType.normal','GroupIcon','DEFAULT_STYLES','MoreDownIcon','shape-editor-ui.fill.picture.alignment','baselineHeight','univer-grid-cols-3','BulletListCommand','Fragment','shape-editor-ui.fill.picture.tileAsTexture','shape-editor-ui.line.dashType.longDashDot','MathDivide','_docSelectionRenderService','shape.type.round2-same-rect','files','ChartPlus','getStyleInTextRange','shape-editor-ui.line.width','DocumentFlavor','shape.type.star8','ShapeArrowSizeEnum','frontLabel','2039172hSpYFh','DocSelectionManagerService','ShapeBackgroundColorDoubleIcon','ShapeSmileyFaceIcon','RightTriangle','getSelectionRanges','vertical','ShapePlaqueIcon','docs-callout.command.insert','DoubleWave','ShapeChartPlusIcon','pointerdown','Dash','ShapeFlowChartPunchedCardIcon','main','ShapeBorderCallout1Icon','univer-min-w-44\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-1\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','univer-flex\x20univer-h-6\x20univer-min-w-9\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','subscribe','ShapeFlowChartOnlineStorageIcon','ShapeOctagonIcon','ShapeBlockArcIcon','dispose','CurvedUpArrow','ShapeAccentBorderCallout3Icon','shape-editor-ui.line.dashType.solid','shape-editor-ui.line.dashType.squareDot','colStartX','ShapeFloatingToolbarDropdownTrigger','ShapeBorderCallout2Icon','ShapeFillEditor','univer-w-7\x20univer-rounded-l-md\x20univer-rounded-r-none\x20rtl:univer-rounded-l-none\x20rtl:univer-rounded-r-md','IrregularSeal2','ShapeFlowChartMagneticDiskIcon','shape-editor-ui.fill.picture.align.tr','Trapezoid','ShapeBorderCallout3Icon','UpArrow','hasOwnProperty','UniverShapeEditorUIPlugin','shape-editor-ui.textEditor.paragraphType.heading2','startOffset','ShapePieWedgeIcon','ShapeActionButtonHelpIcon','dot','shape.type.flow-chart-terminator','top','univer-h-px\x20univer-bg-gray-200\x20dark:!univer-bg-gray-700','UndoCommand','ShapeRound1RectIcon','shape.type.pie','shape.type.flow-chart-document','ShapeFloatingToolbarIcon','editorTop','shape.type.up-down-arrow-callout','round','shape.type.accent-border-callout2','onSelectionStart$','lineDashType','shape.type.action-button-forward-next','IUniverInstanceService','shape-editor-ui.line.endArrowSize','shape.type.plaque','shape-editor-ui.line.joinType.miter','shape.type.flow-chart-punched-tape','shape-editor-ui.toolbar.italic','SpAutoFit','univer-min-w-32\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-1\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','PaintBucketDoubleIcon','ActionButtonInformation','fillImageSource','useRef','sub','VerticalScroll','Injector','shape-editor-ui.toolbar.bold','univer-flex\x20univer-h-7\x20univer-items-center\x20univer-gap-1\x20univer-px-1','BentConnector3','getBody','find','shape.type.bevel','previewHostSize','Round','FlowChartInputOutput','univer-text-xs\x20univer-text-gray-500\x20dark:!univer-text-gray-300','shape-text-editor-content','UNSPECIFIED','TextFillButton','shape.type.down-arrow','editorUnitId','ShapeSketchTypeEnum','univer-flex\x20univer-flex-col\x20univer-gap-2','shape.type.corner','StraightConnector1','CurvedRightArrow','lineType','ShapeActionButtonHomeIcon','lines','getTextRanges','isShapeTextOpticalVerticalAlignEnabled','LongDashDotDot','textSelection$','shape-editor-ui.line.arrowType.ovalArrow','getDocRanges','ShapeRtTriangleIcon','shape.type.snip2-diag-rect','shape.type.flow-chart-alternate-process','31275tYYNuV','GridType','editorLeft','addEventListener','shape.type.line-inv','imageFillMode','crossAxisLength','entries','register','shape-editor-ui.fill.transparency','DownArrow','getSelfOrHeaderFooterModel','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-gap-2\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-text-left\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','ShapeLeftRightUpArrowIcon','labelKey','shape-editor-ui.line.joinType.title','SUBSCRIPT','Frame','other','HEADING_5','getActualSize','completeEditing','univer-h-5\x20univer-w-12','shape.type.trapezoid','CloudCallout','shape-editor-ui.line.arrowType.none','univer-w-4\x20univer-rounded-l-none\x20univer-rounded-r-md\x20univer-border-l\x20univer-border-solid\x20univer-border-gray-200\x20rtl:univer-rounded-l-md\x20rtl:univer-rounded-r-none\x20rtl:univer-border-l-0\x20rtl:univer-border-r\x20dark:!univer-border-gray-700','ShapeStar4Icon','univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-2\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','strikethrough','gradientEndColor','Cloud','FlowchartMerge','UNIVER_DOC','ShapeArcIcon','shape.type.curved-down-arrow','createShapeTextPlaceholderDocumentData','shape.type.star24','ShapeCornerIcon','shape.type.striped-right-arrow','ShapeCallout2Icon','shape-floating-toolbar-menu-panel','opacity','DashDot','Square','shouldAutoFitShapeTextEditorNoWrap','clientY','getSkeletonData','ENTER','finally','title','leftTop','shouldClipShapeTextDocument','univer-flex\x20univer-flex-col\x20univer-gap-1.5','univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-3\x20univer-py-1\x20univer-text-sm\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','ShapeNonIsoscelesTrapezoidIcon','ShapeImageFillEditor','position','\x0a\x20\x20\x20\x20\x20\x20!univer-h-6\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-border-transparent\x0a\x20\x20\x20\x20\x20\x20!univer-bg-transparent\x20!univer-px-1.5\x0a\x20\x20\x20\x20','button','detail','HorizontalScroll','FlowchartMagneticDisk','shape-editor-ui.fill.picture.scaleX','StarAndBanner','underline','BooleanNumber','starAndBanner','ShapeRightBraceIcon','univer-flex\x20univer-flex-col\x20univer-gap-3','BasicShape','ShapeHeptagonIcon','ShapeDiamondIcon','ShapeFlowChartDocumentIcon','ShapeFlowChartInputOutputIcon','image/*','ShapeMoonIcon','columns','AlignTextBothIcon','TOP','shape-text-document','FlowchartExtract','NoLine','shape-editor-ui.toolbar.alignRight','rectangle','FlowchartMultiDocument','Angular','ShapeLineInvIcon','shape-editor-ui.textEditor.paragraphType.heading1','shape-text-placeholder','ShapeStar6Icon','stripShapeTextDocumentLayout','decorate','univer-mb-1\x20univer-rounded\x20univer-bg-gray-100\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-700\x20dark:!univer-bg-gray-800\x20dark:!univer-text-gray-200','PictureFill','line','shape.type.arc','editorWidth','keys','shape.type.flow-chart-magnetic-tape','shape.type.border-callout3','dataAttributes','preventDefault','shape-editor-ui.line.dashType.dash','isFocusing','None','shape.type.cloud-callout','textSelectionInner$','NamedStyleType','shape.type.star7','setSelectionRanges','H1Icon','clearUndoRedoHistory','ShapeUpArrowCalloutIcon','shape-editor-ui.line.beginArrowType','Callout2','call','placeholderWidth','DocSkeletonManagerService','BentUpArrow','BACKSPACE','_config','FlowchartProcess','shape-editor-ui.line.joinType.bevel','ShapeSnip1RectIcon','flipY','ImageFillModeEnum','ShapeSnip2SameRectIcon','shape-editor-ui.line.joinType.round','buttons','pointercancel','LeftBrace','click','ShapeWedgeEllipseCalloutIcon','getShapeModel','ShapeArrowTypeEnum','doc.operation.show-hyper-link-edit-popup','jsxs','ceil','ShapeGradientTypeEnum','SetInlineFormatUnderlineCommand','1280736RBYKHe','shapeModel','shape.type.flow-chart-internal-storage','RIGHT','ShapeSwooshArrowIcon','LeftRightUpArrow','univer-w-24','isSync','startNodePosition','updateShapeText','shape.type.flow-chart-punched-card','onStarting','SolidFill','toolbarComponent','endNodePosition','measuredContentWidth','FlowchartCollate','univer-flex\x20univer-items-center\x20univer-gap-2','resetInitialWidth','Snip1Rect','shape.type.bent-connector3-arrow2','ShapeFlowChartAlternateProcessIcon','textFill','Star8','Decagon','shape.type.left-right-ribbon','subUnitId','shape.type.rect-textbox-horizontal','children','alignment','univer-w-28\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-1\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','VerticalCenterIcon','Wave','ShapeStar12Icon','shape.type.uturn-arrow','ShapePlusIcon','ShapeRound2SameRectIcon','Select','shape-editor-ui.line.sketchType.curved','shape.type.horizontal-scroll','solid','typography-horizontal-align-row','shape.type.home-plate','RightBrace','H3Icon','OrderListCommand','LineInv','textRect','NoSmoking','shape.type.straight-connector1','WrapStrategy','titleKey','univer-flex\x20univer-flex-col','offsetX','univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200','getTransformer','renderedContentWidth','cancelEditing','_injector','updateHostSize','shape.type.triangle','lineJoinType','Solid','none','TypographyPanelButton','univer-relative\x20univer-size-full\x20univer-overflow-visible','shape.type.action-button-blank','isMixed','setDocumentData','shape.type.flow-chart-manual-operation','shape.type.snip-round-rect','normAutofit','Round1Rect','shape.type.rt-triangle','402PkQlxV','univer-h-0\x20univer-w-7\x20univer-border-t-2\x20univer-border-solid\x20univer-border-gray-400\x20dark:!univer-border-gray-300','scaleX','ItalicIcon','function','TypographyIcon','middle','onMouseDown','reduce','disposeWithMe','shape-editor-ui.fill.picture.rotateWithShape','ShapeCallout1Icon','sketchType','ShapeActionButtonReturnIcon','shape.type.left-right-arrow-callout','forwardLabel','SetTextSelectionsOperation','shape-editor-ui.textEditor.paragraphType.code','RoundRect','ShapeBentConnector3Arrow2Icon','source','length','Plus','Freehand','NORMAL_TEXT','makeDirty','shape-editor-ui.line.dashType.longDash','shape.type.right-arrow-callout','Round2SameRect','BlockArc','shape-editor-ui.line.solidLine','shape-editor-ui.toolbar.strikethrough','pointerEvents','36RRUUYG','plainShapeTextToDocumentData','fillType','4\x202\x201\x202','resize','ShapeCallout3Icon','Module','FlowchartDelay','render','shape-editor-ui.textWrap.inline','_configService','ShapeLineDashEnum','ShapeEllipseRibbon2Icon','AlignTopIcon','ResetInlineFormatTextBackgroundColorCommand','filter','univer-text-xl\x20univer-text-gray-500','self','combobox','shape-editor-ui.fill.picture.align.t','FOCUSING_PANEL_EDITOR','shapeTextOpticalVerticalAlign','paddingBottom','ShapeActionButtonSoundIcon','ShapeDiagStripeIcon','startIndex','left','shape.type.hexagon','angular','naturalCrossSize','shape-editor-ui.toolbar.textBackgroundColor','Separator','Rect','shape-editor-ui.fill.picture.align.b','currentFontSize','Radial','FlowchartOr','_docCanvasPopManagerService','transparency','resolveShapeTextBoxResizePolicy','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','sup','EllipseRibbon','verticalAlign','replace','commandId','picture','widthBuffer','shape.type.octagon','ShapeStar16Icon','documentStyle','8\x202\x201\x202','text','shape-editor-ui.deleteShape','univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-2\x20univer-py-1\x20univer-text-xs\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','svg','univer-flex\x20univer-h-6\x20univer-items-center\x20univer-gap-0.5\x20univer-px-1','shape.type.funnel','shape.type.flow-chart-decision','autoFitType','getObject','content','SetInlineFormatFontSizeCommand','UpDownArrowCallout','shape.type.decagon','noFill','ShapeBentUpArrowIcon','ShapeCurvedRightArrowIcon','ShapeLineCapEnum','DeleteRightCommand','CurvedConnector3','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pt-2','Linear','ShapeRectTextboxHorizontalIcon','shape-editor-ui.fill.picture.scaleY','FlowchartAlternateProcess','8\x202','useMemo','ShapeCurvedConnector3Arrow1Icon','useObservable','onBack','SmileyFace','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','univer-box-border\x20univer-flex\x20univer-flex-wrap\x20univer-items-center\x20univer-rounded\x20univer-bg-white\x20univer-px-1\x20univer-py-1\x20univer-shadow-sm\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-w-[320px]\x20univer-p-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','ShapeRoundRectIcon','SquareDot','updateDocumentStyle','hasCommand','ShapeStrokeColorDoubleIcon','univer-min-w-[240px]','univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','ShapeCanIcon','shape-text-editor','TodoListDoubleIcon','IContextService','bottom-center','MIDDLE','dsc','screenX','setTimeout','shape.type.double-wave','ShapeDownArrowIcon','shape.type.brace-pair','ShapeFloatingToolbarFontSizeSelect','Tile','311334gZVJAK','MathPlus','FlowChartOfflineStorage','flatMap','shape-editor-ui.textEditor.paragraphType.heading4','ShapeCornerTabsIcon','stroke','ShapeIrregularSeal1Icon','univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-3\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','FlowchartPunchedCard','shape.type.flow-chart-manual-input','centerAngle','file','ShapeFlowChartOfflineStorageIcon','univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center','resolveShapeTextVerticalOffset','TextTypeIcon','ShapeStar5Icon','getCurrentLocale','_iconManager','ShapeMathMultiplyIcon','pageMarginLeft','RedoCommand','shape-editor-ui.toolbar.typography','shape.type.curved-left-arrow','BlockArrow','shapeKey','scaleY','shape.type.sun','textLike','paragraphId','dash','trim','shape-editor-ui.line.dashType.roundDot','ShapeChevronIcon','activateDrawingObject','shape.type.star32','shape-editor-ui.line.capType.square','visible','backgroundColor','namedStyleType','editorHeight','shape-editor-ui.line.sketchType.title','ShapeFlowChartPredefinedProcessIcon','SolidLine','onClick','reverse','allowHostSizeShrink','ShapeChordIcon','ShapeNotchedRightArrowIcon','ShapeLeftArrowIcon','shape.type.flow-chart-delay','updateHostHeight','height','Tooltip','507564SDhPcT','group','editorSurfaceWidth','lineSpacing','shape-editor-ui.fill.color','shape.type.callout3','ShapeLeftRightArrowCalloutIcon','SetInlineFormatItalicCommand','ShapeLightningBoltIcon','measureDocumentNoWrapTextWidth','ShapeGear6Icon','SHAPE_EDITOR_TRANSFORMER_CONFIG','shape.type.flow-chart-connector','ShapeLeftRightCircularArrowIcon','univer-flex\x20univer-aspect-square\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-p-1\x20univer-text-gray-700\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-700','univer-shadow-none','ShapeNoSmokingIcon','fromEntries','dataModel','resolveShapeTextEditorTextRect','RightArrow','sizeClassName','cancel','shape.type.donut','prepareShapeTextDocumentData','merge','getImageSize','includes','ActionButtonBlank','BreakLineCommand','shape.type.action-button-end','true','blur','auto','Large','shape.type.math-plus','useKeyboardEvent','univer-w-40','setEditing','toPrimitive','section','shape.type.accent-callout3','univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1.5\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-2\x20univer-py-1\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-100\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','shape-editor-ui.fill.noFill','shape.type.diamond','catch','shape-editor-ui.toolbar.collapseShapeToolbar','dispatchEvent','shape.type.block-arc','shape.type.line','FlowchartPredefinedProcess','ShapePieIcon','shape.type.chart-star','opticalVerticalOffset','bottom','test','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-px-2\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-50\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','radial','shape.type.ellipse-ribbon2','shape.type.heart','type','useCallback','mainComponent','LongDash','subscribeEvent','symbol','mouseup','parseFloat','ShapeCurvedLeftArrowIcon','InputNumber','commitOnEnter','univer-w-full','onAfterCommand','textRectWidth','ShapeLineEditor','CornerTabs','shape-editor-ui.config','shape.type.flow-chart-merge','SHAPE_TEXT_EDITOR_QUOTE_COMMAND_ID','ShapeLeftRightArrowIcon','IrregularSeal1','shape.type.flow-chart-online-storage','shapeId','shape.type.math-multiply','univer-mb-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-100','dataStream','univer-rounded-lg\x20univer-p-3\x20!univer-shadow-none','resolveShapeTextEditorWrapStrategy','direction','cornerRadius','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','shape-editor-ui.textEditor.placeholder','Donut','onScrollAfter$','equationShape','direction$','shape.type.action-button-return','SetInlineFormatTextBackgroundColorCommand','italic','getOwnPropertyDescriptor','clsx','custom','ShapeLeftBracketIcon','OrderIcon','useDependency','shape.type.cloud','divides','flowAxisLength','ShapeFlowChartMagneticTapeIcon','Star16','UnorderIcon','ShapeFunnelIcon','shape-editor-ui.fill.pictureFill','ShapeTrapezoidIcon','LightningBolt','shape.type.curved-right-arrow','engine','ShapeRightArrowIcon','IRenderManagerService','shape-editor-ui.line.dashType.dashDot','Gear9','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-rounded-xl\x20univer-border\x20univer-border-gray-200\x20univer-bg-white\x20univer-shadow-lg\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','shiftKey','univer-flex\x20univer-size-5\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-leading-none','_docSelectionManagerService','shape.type.wave','shape-editor-ui.toolbar.alignLeft','ShapeFlowChartProcessIcon','shape-editor-ui.line.capType.title','\x0a\x20\x20\x20\x20\x20\x20univer-box-border\x20univer-flex\x20univer-rounded\x20univer-bg-white\x20univer-py-1\x20univer-shadow-sm\x0a\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20','FlowchartConnector','univer-max-w-[min(760px,calc(100vw-32px))]','univer-text-xs','ShapeGear9Icon','BorderCallout3','clearTimeout','EquationShape','ShapeActionButtonBackPreviousIcon','VERTICAL_ROTATE_ANGLE','altKey','isPrimary','input,\x20textarea,\x20[contenteditable=\x22true\x22],\x20[role=\x22combobox\x22],\x20[data-u-comp=\x22select\x22],\x20.univer-select','ShapeCurvedConnector3Arrow2Icon','ShapeLeftArrowCalloutIcon','abd','FlowchartManualInput','ShapeAccentCallout2Icon','CTRL_COMMAND','ShapeLineTypeEnum','CheckListCommand','getBoundingClientRect','executeEditorUndoRedoCommand','step','twist','Chord','range','shape.type.teardrop','getViewport','renderConfig','shape-editor-ui.fill.picture.align.br','active','univer-text-xl','domX','DocParagraphTypeDropdown','hostRect','ShapeStraightConnector2Icon','stops','measurePageWidth','getSnapshot','blockArrow','296242EvbCEu','ShapeRectIcon','isUnderline','shape-editor-ui.line.cornerRadius','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-px-1\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-50\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','ShapeQuadArrowCalloutIcon','ShapeTextAutoFitType','AlignRightCommand','ShapeRound2DiagRectIcon','_registerIcons','ShapePentagonIcon','SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_BACKGROUND_COLOR','clearSelectedObjects','sectionBreaks','SnipRoundRect','univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','size','BentArrow','Checkbox','ShapeFlowChartOrIcon','shape.type.frame','univer-relative\x20univer-inline-flex\x20univer-justify-center','viewportScrollY','getUnitId','univer-w-[168px]','shape.type.left-brace','fill','shape-editor-ui.line.transparency','ShapeActionButtonEndIcon','Star32','shape.type.ribbon2','shape.type.flow-chart-collate','style','QuadArrow','[data-u-comp=\x22shape-text-editor-content\x22]','disabled','FlowchartManualOperation','spaceBelow','shape.type.accent-callout1','push','shape-editor-ui.toolbar.alignCenter','ascent','shape-editor-ui.line.dashType.longDashDotDot','imageRotateWithShape','DiagStripe','ShapeStripedRightArrowIcon','univer-text-base','shape.type.accent-border-callout3','TopmostIcon','Star10','shape.type.bent-up-arrow','HomePlate','shape.type.flow-chart-magnetic-drum','ShapeFlowChartExtractIcon','start','SetInlineFormatSubscriptCommand','allowShrink','MathMinus','get','IImageIoService','univer-flex\x20univer-min-w-0\x20univer-flex-col','createParagraphId','ShapeRightBracketIcon','bodyBehavior','hasParagraphAlign','CurvedLeftArrow','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-justify-between\x20univer-gap-8\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-text-left\x20univer-text-xs\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20rtl:univer-text-right\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','ShapeMathNotEqualIcon','snapToGrid','isFinite','angle','collapsed','ShapeBentConnector3Arrow1Icon','shape.type.lightning-bolt','getAncestorScale','getShapeData','univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','paragraphStyle','abs','COMMA','sort','[data-u-comp=\x22rect-popup\x22]','width','ctr','ShapeRibbonIcon','tolerance','ESC','shape.type.can','closest','dashType','shape-editor-ui.fill.picture.align.ctr','ShapeChartXIcon','Ribbon','marginTop','flowchart','ShapeDecagonIcon','isNaN','plain','ShapeFolderCornerIcon','shape.type.chart-x','ShapeQuadArrowIcon','ShapeParallelogramIcon','ShapeSnipRoundRectIcon','PieWedge','ActionButtonHelp','shape-editor-ui.line.sketchType.freehand','Funnel','isHorizontal','Hexagon','getDrawingTransform','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','resolveShapeTextDocumentRenderLayout','fontSize','shape-editor-ui.shapeStyle','univer-absolute\x20-univer-top-3\x20univer-left-1/2\x20univer-z-10\x20univer-flex\x20univer-h-3\x20univer-w-16\x20-univer-translate-x-1/2\x20univer-items-center\x20univer-justify-center\x20univer-rounded-t-md\x20univer-border\x20univer-border-b-0\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-0\x20univer-text-[10px]\x20univer-text-gray-500\x20univer-shadow-sm\x20univer-transition-colors\x20hover:univer-bg-gray-50\x20hover:univer-text-gray-700\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-300\x20dark:hover:!univer-bg-gray-800','typography-vertical-align-row','shape-editor-ui.shapePosition','univer-mb-2\x20univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-px-2\x20univer-text-xs\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','addImageSourceCache','strokeWidth','prototype','!univer-h-5','NoFill','univer-min-w-40','univer-flex-1\x20univer-overflow-auto'];_0x3608=function(){return _0x48a53b;};return _0x3608();}function ke(_0x405407){const _0x1d569d=_0x56c0cf;let {lineStrokeType:_0x3ae1fd,dashType:_0x585b48,color:_0x13149d=_0x1d569d(0x6cd),width:_0x2e65c6=0x2,className:_0x26058e}=_0x405407;return _0x3ae1fd===s[_0x1d569d(0x516)][_0x1d569d(0x33b)]?(0x0,r[_0x1d569d(0x372)])(_0x1d569d(0x6c6),{'className':(0x0,e[_0x1d569d(0x4e6)])('univer-relative\x20univer-flex\x20univer-h-5\x20univer-w-10\x20univer-items-center\x20univer-justify-center',_0x26058e),'children':[(0x0,r['jsx'])(_0x1d569d(0x6c6),{'className':_0x1d569d(0x3c1)}),(0x0,r[_0x1d569d(0x6f0)])(_0x1d569d(0x6c6),{'className':'univer-absolute\x20univer-h-7\x20univer-w-0\x20univer-rotate-45\x20univer-border-l-2\x20univer-border-solid\x20univer-border-red-500'})]}):(0x0,r['jsx'])(_0x1d569d(0x418),{'className':(0x0,e[_0x1d569d(0x4e6)])(_0x1d569d(0x2ff),_0x26058e),'viewBox':'0\x200\x2048\x2020','aria-hidden':_0x1d569d(0x4a1),'children':(0x0,r[_0x1d569d(0x6f0)])('line',{'x1':'4','y1':'10','x2':'44','y2':'10','stroke':_0x13149d,'strokeWidth':Math['max'](0x1,Math['min'](0x4,_0x2e65c6)),'strokeDasharray':Oe(_0x585b48),'strokeLinecap':_0x585b48===s[_0x1d569d(0x3ec)]['RoundDot']?'round':_0x1d569d(0x600)})});}function Ae(_0x46c132){const _0xb63313=_0x56c0cf;return(0x0,r[_0xb63313(0x6f0)])(_0xb63313(0x6c6),{'className':_0xb63313(0x459),'children':(0x0,r[_0xb63313(0x6f0)])(ke,{'dashType':_0x46c132[_0xb63313(0x585)],'color':_0x46c132['color'],'width':_0x46c132[_0xb63313(0x57e)]})});}const je=[_0x56c0cf(0x3b5),_0x56c0cf(0x39e),'dash'],Me={'min':0x1,'max':0xa,'step':0x1};function Ne(_0x4dde0c){const _0x1e0179=_0x56c0cf;let {labelKey:_0x14a5ba,value:_0x24afbe,min:_0x3e51ff,max:_0x40898d,step:_0xc40329,disabled:_0x2fe1fc,suffix:_0x5d391f='',onChange:_0x133fa3}=_0x4dde0c;return(0x0,r[_0x1e0179(0x372)])(_0x1e0179(0x21c),{'className':_0x1e0179(0x31e),'children':[(0x0,r[_0x1e0179(0x372)])(_0x1e0179(0x21c),{'className':_0x1e0179(0x4dc),'children':[(0x0,r[_0x1e0179(0x6f0)])(_0x1e0179(0x6c6),{'className':_0x1e0179(0x61a),'children':(0x0,a[_0x1e0179(0x4ea)])(i[_0x1e0179(0x5ad)])['t'](_0x14a5ba)}),(0x0,r[_0x1e0179(0x372)])(_0x1e0179(0x6c6),{'className':_0x1e0179(0x2d2),'children':[_0x24afbe,_0x5d391f]})]}),(0x0,r[_0x1e0179(0x6f0)])(_0x1e0179(0x697),{'type':_0x1e0179(0x51d),'min':_0x3e51ff,'max':_0x40898d,'step':_0xc40329,'value':_0x24afbe,'disabled':_0x2fe1fc,'onChange':_0xee1ebc=>_0x133fa3(Number(_0xee1ebc['target'][_0x1e0179(0x202)])),'className':_0x1e0179(0x6e1)})]});}function Pe(_0x5cf7d9){const _0x3448f6=_0x56c0cf;var _0x4d63de,_0x53c4f0,_0x5a16fb,_0x26d0ce,_0x558184;let {titleKey:_0x5e6506,shapeData:_0x9b7096,disabled:_0x358518,resetLabelKey:_0x39c1e3=_0x3448f6(0x5d6),modeOptions:_0x44d113=je,showDashDropdown:_0x32f8de=!0x0,fallbackColor:_0x508bf4=X,widthRange:_0x19379c=Me,onReset:_0x447a22,onRequestClose:_0x3b02aa,onUpdateShapeData:_0x478700}=_0x5cf7d9,_0x2bbc1c=(0x0,a[_0x3448f6(0x4ea)])(i[_0x3448f6(0x5ad)]),_0x4ea940=_0x2bbc1c['t'](_0x5e6506),_0x2ca389=(0x0,a[_0x3448f6(0x430)])(_0x2bbc1c[_0x3448f6(0x4e1)],_0x2bbc1c[_0x3448f6(0x5ee)]()),[_0x18a2c6,_0x2c7c53]=(0x0,n[_0x3448f6(0x1c0)])(!0x1),_0x4065c5=_0x9b7096[_0x3448f6(0x451)],_0x357325=(_0x4d63de=_0x4065c5==null?void 0x0:_0x4065c5[_0x3448f6(0x5b7)])==null?_0x508bf4:_0x4d63de,_0x14d219=Math[_0x3448f6(0x6e4)](_0x19379c['min'],Math[_0x3448f6(0x67f)](_0x19379c['max'],Math[_0x3448f6(0x2b5)]((_0x53c4f0=_0x4065c5==null?void 0x0:_0x4065c5['width'])==null?s[_0x3448f6(0x70f)][_0x3448f6(0x5a3)]:_0x53c4f0))),_0x223441=Math[_0x3448f6(0x2b5)]((0x1-((_0x5a16fb=_0x4065c5==null?void 0x0:_0x4065c5['opacity'])==null?s['ShapeDefaultConfig'][_0x3448f6(0x6c5)]:_0x5a16fb))*0x64),_0x49788f=(_0x26d0ce=_0x4065c5==null?void 0x0:_0x4065c5[_0x3448f6(0x585)])==null?s['ShapeDefaultConfig'][_0x3448f6(0x2b8)]:_0x26d0ce,_0x1c1cb6=(_0x558184=_0x4065c5==null?void 0x0:_0x4065c5[_0x3448f6(0x5af)])==null?s[_0x3448f6(0x70f)][_0x3448f6(0x2dd)]:_0x558184,_0x2def95=_0x1c1cb6!==s[_0x3448f6(0x516)]['NoLine']&&_0x49788f!==s[_0x3448f6(0x3ec)][_0x3448f6(0x3b4)]&&_0x49788f!==s[_0x3448f6(0x3ec)][_0x3448f6(0x28a)],_0x2c6d79=_0x1c1cb6===s[_0x3448f6(0x516)][_0x3448f6(0x33b)]?_0x3448f6(0x3b5):_0x49788f===s[_0x3448f6(0x3ec)][_0x3448f6(0x3b4)]?'solid':_0x49788f===s[_0x3448f6(0x3ec)][_0x3448f6(0x24c)]||_0x49788f===s[_0x3448f6(0x3ec)][_0x3448f6(0x437)]?_0x3448f6(0x2aa):_0x49788f===s['ShapeLineDashEnum'][_0x3448f6(0x28a)]?_0x3448f6(0x46a):_0x3448f6(0x4e7),_0x50a4e8=[{'label':(0x0,r[_0x3448f6(0x6f0)])(Ae,{'dashType':s[_0x3448f6(0x3ec)]['Solid'],'color':_0x357325,'width':_0x14d219}),'value':String(s[_0x3448f6(0x3ec)][_0x3448f6(0x3b4)])},{'label':(0x0,r[_0x3448f6(0x6f0)])(Ae,{'dashType':s[_0x3448f6(0x3ec)][_0x3448f6(0x24c)],'color':_0x357325,'width':_0x14d219}),'value':String(s[_0x3448f6(0x3ec)][_0x3448f6(0x24c)])},{'label':(0x0,r['jsx'])(Ae,{'dashType':s[_0x3448f6(0x3ec)][_0x3448f6(0x437)],'color':_0x357325,'width':_0x14d219}),'value':String(s[_0x3448f6(0x3ec)]['SquareDot'])},{'label':(0x0,r[_0x3448f6(0x6f0)])(Ae,{'dashType':s[_0x3448f6(0x3ec)][_0x3448f6(0x28a)],'color':_0x357325,'width':_0x14d219}),'value':String(s[_0x3448f6(0x3ec)][_0x3448f6(0x28a)])},{'label':(0x0,r[_0x3448f6(0x6f0)])(Ae,{'dashType':s['ShapeLineDashEnum']['DashDot'],'color':_0x357325,'width':_0x14d219}),'value':String(s['ShapeLineDashEnum'][_0x3448f6(0x314)])},{'label':(0x0,r[_0x3448f6(0x6f0)])(Ae,{'dashType':s[_0x3448f6(0x3ec)][_0x3448f6(0x4c1)],'color':_0x357325,'width':_0x14d219}),'value':String(s[_0x3448f6(0x3ec)][_0x3448f6(0x4c1)])},{'label':(0x0,r[_0x3448f6(0x6f0)])(Ae,{'dashType':s[_0x3448f6(0x3ec)][_0x3448f6(0x650)],'color':_0x357325,'width':_0x14d219}),'value':String(s[_0x3448f6(0x3ec)]['LongDashDot'])},{'label':(0x0,r[_0x3448f6(0x6f0)])(Ae,{'dashType':s[_0x3448f6(0x3ec)][_0x3448f6(0x2e2)],'color':_0x357325,'width':_0x14d219}),'value':String(s[_0x3448f6(0x3ec)][_0x3448f6(0x2e2)])}],_0x3dc089={'none':_0x2bbc1c['t'](_0x3448f6(0x5d8)),'solid':_0x2bbc1c['t'](_0x3448f6(0x3de)),'dash':_0x2bbc1c['t']('shape-editor-ui.line.dashType.dash'),'dot':_0x2bbc1c['t'](_0x3448f6(0x46c))};(0x0,n[_0x3448f6(0x69d)])(()=>{const _0x41975b=_0x3448f6;_0x1c1cb6===s[_0x41975b(0x516)][_0x41975b(0x33b)]&&_0x2c7c53(!0x1);},[_0x1c1cb6]);let _0x22ae5e=_0x25c4cd=>{const _0x354156=_0x3448f6;_0x478700({'oldShapeData':{'stroke':_0x9b7096[_0x354156(0x451)]}},{'stroke':_0x25c4cd});},_0x2da701=_0x4a918e=>{const _0x5eea3d=_0x3448f6;var _0xdb2805;_0x22ae5e({..._0x4065c5,'lineStrokeType':_0x1c1cb6,'color':_0x357325,'width':_0x14d219,'opacity':(_0xdb2805=_0x4065c5==null?void 0x0:_0x4065c5[_0x5eea3d(0x313)])==null?s[_0x5eea3d(0x70f)][_0x5eea3d(0x6c5)]:_0xdb2805,'dashType':_0x49788f,..._0x4a918e});},_0x3f6bf0=_0x36751c=>{const _0x87ae30=_0x3448f6;if(_0x36751c===_0x87ae30(0x3b5)){_0x2da701({'lineStrokeType':s[_0x87ae30(0x516)][_0x87ae30(0x33b)]});return;}_0x2da701({'lineStrokeType':s[_0x87ae30(0x516)][_0x87ae30(0x477)],'dashType':_0x36751c===_0x87ae30(0x39e)?s['ShapeLineDashEnum'][_0x87ae30(0x3b4)]:_0x36751c==='dot'?s[_0x87ae30(0x3ec)]['RoundDot']:s[_0x87ae30(0x3ec)][_0x87ae30(0x28a)]});};return(0x0,r[_0x3448f6(0x6f0)])(_0x3448f6(0x21c),{'dir':_0x2ca389,'onPointerDown':$,'onMouseDown':$,'onClick':_0x5f1d49=>{const _0x34cd62=_0x3448f6;_0x5f1d49['stopPropagation'](),(!(_0x5f1d49[_0x34cd62(0x207)]instanceof HTMLElement)||!_0x5f1d49['target'][_0x34cd62(0x584)](_0x34cd62(0x20c)))&&_0x2c7c53(!0x1);},'className':(0x0,e['clsx'])('univer-w-[280px]',_0x3448f6(0x453)),'children':(0x0,r[_0x3448f6(0x372)])(_0x3448f6(0x21c),{'className':_0x3448f6(0x32e),'children':[(0x0,r['jsx'])(_0x3448f6(0x6c6),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-800\x20dark:!univer-text-gray-100','children':_0x4ea940}),(0x0,r[_0x3448f6(0x372)])(_0x3448f6(0x21c),{'className':(0x0,e[_0x3448f6(0x4e6)])('univer-grid\x20univer-items-center\x20univer-gap-1',_0x32f8de&&_0x44d113[_0x3448f6(0x49d)](_0x3448f6(0x46a))?'univer-grid-cols-[repeat(3,minmax(0,1fr))_76px]':_0x3448f6(0x26e)),'children':[_0x44d113['map'](_0x1014d4=>(0x0,r['jsx'])(e['Tooltip'],{'title':_0x3dc089[_0x1014d4],'placement':_0x3448f6(0x2ac),'children':(0x0,r[_0x3448f6(0x6f0)])('button',{'type':'button','disabled':_0x358518,'aria-label':_0x3dc089[_0x1014d4],'onClick':()=>_0x3f6bf0(_0x1014d4),'className':(0x0,e[_0x3448f6(0x4e6)])(_0x3448f6(0x4ba),{'univer-border-primary-600\x20univer-bg-primary-50\x20dark:!univer-bg-gray-800':_0x2c6d79===_0x1014d4}),'children':(0x0,r[_0x3448f6(0x6f0)])(ke,{'lineStrokeType':_0x1014d4===_0x3448f6(0x3b5)?s[_0x3448f6(0x516)][_0x3448f6(0x33b)]:s[_0x3448f6(0x516)][_0x3448f6(0x477)],'dashType':_0x1014d4==='dash'?s[_0x3448f6(0x3ec)][_0x3448f6(0x28a)]:_0x1014d4==='dot'?s['ShapeLineDashEnum'][_0x3448f6(0x24c)]:s[_0x3448f6(0x3ec)]['Solid'],'color':_0x1014d4===_0x3448f6(0x3b5)?void 0x0:_0x357325,'width':_0x1014d4==='none'?0x2:_0x14d219})})},_0x1014d4)),_0x32f8de&&_0x44d113[_0x3448f6(0x49d)](_0x3448f6(0x46a))&&(0x0,r[_0x3448f6(0x6f0)])(e[_0x3448f6(0x1b9)],{'disabled':_0x358518||_0x1c1cb6===s[_0x3448f6(0x516)]['NoLine'],'open':_0x18a2c6,'onOpenChange':_0x2c7c53,'overlay':(0x0,r[_0x3448f6(0x6f0)])(_0x3448f6(0x21c),{'dir':_0x2ca389,'data-u-comp':_0x3448f6(0x1ad),'onPointerDown':$,'onMouseDown':$,'onClick':_0x51ed6c=>_0x51ed6c[_0x3448f6(0x60b)](),'className':_0x3448f6(0x394),'children':_0x50a4e8[_0x3448f6(0x263)](_0x351f2e=>(0x0,r[_0x3448f6(0x6f0)])(_0x3448f6(0x324),{'type':_0x3448f6(0x324),'onClick':()=>{const _0x3f281d=_0x3448f6;let _0x287fea=Number(_0x351f2e[_0x3f281d(0x202)]);_0x2da701({'lineStrokeType':s['ShapeLineTypeEnum'][_0x3f281d(0x477)],'dashType':_0x287fea}),_0x2c7c53(!0x1);},'className':(0x0,e[_0x3448f6(0x4e6)])('univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800',{'univer-bg-primary-50\x20dark:!univer-bg-gray-800':_0x351f2e['value']===String(_0x49788f)}),'children':_0x351f2e[_0x3448f6(0x68f)]},_0x351f2e[_0x3448f6(0x202)]))}),'children':(0x0,r['jsx'])(_0x3448f6(0x6c6),{'className':_0x3448f6(0x1b0),'data-u-comp':_0x3448f6(0x1ad),'children':(0x0,r[_0x3448f6(0x6f0)])(e['Tooltip'],{'title':_0x2bbc1c['t'](_0x3448f6(0x350)),'placement':_0x3448f6(0x2ac),'children':(0x0,r[_0x3448f6(0x372)])('button',{'type':_0x3448f6(0x324),'role':_0x3448f6(0x3f3),'aria-expanded':_0x18a2c6,'disabled':_0x358518||_0x1c1cb6===s[_0x3448f6(0x516)][_0x3448f6(0x33b)],'onClick':_0x1095e7=>{const _0x6f853d=_0x3448f6;_0x1095e7[_0x6f853d(0x60b)](),_0x2c7c53(_0x18e14d=>!_0x18e14d);},'className':(0x0,e[_0x3448f6(0x4e6)])(_0x3448f6(0x530),{'univer-border-primary-600\x20univer-bg-primary-50\x20dark:!univer-bg-gray-800':_0x2def95}),'children':[(0x0,r['jsx'])(ke,{'dashType':s['ShapeLineDashEnum'][_0x3448f6(0x650)],'color':_0x357325,'width':_0x14d219,'className':_0x3448f6(0x5f7)}),(0x0,r[_0x3448f6(0x6f0)])(t[_0x3448f6(0x26b)],{'className':(0x0,e[_0x3448f6(0x4e6)])(_0x3448f6(0x226),{'univer-rotate-180':_0x18a2c6})})]})})})})]}),(0x0,r['jsx'])(Ne,{'labelKey':_0x3448f6(0x279),'value':_0x14d219,'min':_0x19379c[_0x3448f6(0x67f)],'max':_0x19379c[_0x3448f6(0x6e4)],'step':_0x19379c[_0x3448f6(0x51a)],'disabled':_0x358518||_0x1c1cb6===s[_0x3448f6(0x516)][_0x3448f6(0x33b)],'onChange':_0x2f5083=>{const _0x4d05f7=_0x3448f6;_0x2da701({'lineStrokeType':s[_0x4d05f7(0x516)][_0x4d05f7(0x477)],'width':_0x2f5083});}}),(0x0,r[_0x3448f6(0x6f0)])(_0x3448f6(0x21c),{'className':_0x3448f6(0x2ad)}),_0x447a22&&(0x0,r[_0x3448f6(0x6f0)])('button',{'type':_0x3448f6(0x324),'disabled':_0x358518,'onClick':()=>{_0x447a22(),_0x3b02aa==null||_0x3b02aa();},'className':_0x3448f6(0x64c),'children':_0x2bbc1c['t'](_0x39c1e3)}),(0x0,r['jsx'])(e['ColorPicker'],{'value':_0x357325,'onChange':_0x2976a0=>{const _0x153a94=_0x3448f6;_0x2da701({'lineStrokeType':s['ShapeLineTypeEnum'][_0x153a94(0x477)],'color':_0x2976a0});}}),(0x0,r[_0x3448f6(0x6f0)])(Ne,{'labelKey':_0x3448f6(0x547),'value':_0x223441,'min':0x0,'max':0x64,'step':0x5,'suffix':'%','disabled':_0x358518||_0x1c1cb6===s[_0x3448f6(0x516)][_0x3448f6(0x33b)],'onChange':_0x4236d1=>{const _0x24bcdd=_0x3448f6;_0x2da701({'opacity':(0x64-Math[_0x24bcdd(0x6e4)](0x0,Math[_0x24bcdd(0x67f)](0x64,_0x4236d1)))/0x64});}})]})});}function Fe(_0x4c37b1){const _0x2e8f73=_0x56c0cf;var _0x19ca75;let {titleKey:_0x4e0424,shapeData:_0x324d4f,disabled:_0x2efb12,resetLabelKey:_0x59c1b8,fallbackColor:_0x27c3b1=X,onReset:_0x325c87,onUpdateShapeData:_0x30c6d4}=_0x4c37b1,_0x58593e=(0x0,a['useDependency'])(i[_0x2e8f73(0x5ad)])['t'](_0x4e0424),[_0x4e8cbd,_0x9f44ec]=(0x0,n[_0x2e8f73(0x1c0)])(!0x1),{handleOpenChange:_0xe26b92,markInternalInteraction:_0x35f310}=be(_0x9f44ec),_0x3f9d18=_0x324d4f[_0x2e8f73(0x451)],_0x1d01dd=(_0x19ca75=_0x3f9d18==null?void 0x0:_0x3f9d18[_0x2e8f73(0x5b7)])==null?_0x27c3b1:_0x19ca75;return(0x0,r[_0x2e8f73(0x6f0)])(e['Dropdown'],{'disabled':_0x2efb12,'open':_0x4e8cbd,'onOpenChange':_0xe26b92,'overlay':(0x0,r[_0x2e8f73(0x6f0)])('div',{'onPointerDownCapture':_0x4992e6=>{_0x35f310(),Q(_0x4992e6);},'onMouseDownCapture':_0x4aef79=>{_0x35f310(),Q(_0x4aef79);},'children':(0x0,r[_0x2e8f73(0x6f0)])(Pe,{'titleKey':_0x4e0424,'shapeData':_0x324d4f,'disabled':_0x2efb12,'resetLabelKey':_0x59c1b8,'fallbackColor':_0x27c3b1,'onReset':_0x325c87,'onRequestClose':()=>_0x9f44ec(!0x1),'onUpdateShapeData':_0x30c6d4})}),'children':(0x0,r[_0x2e8f73(0x6f0)])('span',{'children':(0x0,r[_0x2e8f73(0x6f0)])(e['Tooltip'],{'title':_0x58593e,'placement':_0x2e8f73(0x4b8),'children':(0x0,r[_0x2e8f73(0x372)])(_0x2e8f73(0x324),{'type':_0x2e8f73(0x324),'aria-label':_0x58593e,'disabled':_0x2efb12,'className':(0x0,e[_0x2e8f73(0x4e6)])(_0x2e8f73(0x6c9),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x4e8cbd}),'children':[(0x0,r[_0x2e8f73(0x6f0)])(t[_0x2e8f73(0x43a)],{'className':_0x2e8f73(0x523),'extend':{'colorChannel1':_0x1d01dd}}),(0x0,r['jsx'])(t['MoreDownIcon'],{'className':(0x0,e[_0x2e8f73(0x4e6)])(_0x2e8f73(0x226),{'univer-rotate-180':_0x4e8cbd})})]})})})});}function Ie(_0x25955b){const _0x541d40=_0x56c0cf;var _0x548fe6,_0x3000e7;return(_0x548fe6=(_0x3000e7=_0x25955b['fill'])==null?void 0x0:_0x3000e7[_0x541d40(0x3e3)])==null?s['ShapeDefaultConfig'][_0x541d40(0x3e3)]:_0x548fe6;}function _0x4435(_0x49747a,_0xa5b05f){_0x49747a=_0x49747a-0x1a0;const _0x3608b2=_0x3608();let _0x443599=_0x3608b2[_0x49747a];return _0x443599;}function Le(_0x50692c){const _0x40371c=_0x56c0cf;switch(_0x50692c){case s['ShapeGradientTypeEnum'][_0x40371c(0x404)]:return'radial';case s[_0x40371c(0x374)][_0x40371c(0x33f)]:return _0x40371c(0x3fd);case s[_0x40371c(0x374)][_0x40371c(0x60d)]:return _0x40371c(0x61b);case s[_0x40371c(0x374)]['Linear']:default:return _0x40371c(0x6a8);}}function Re(_0x469ff0){const _0x1736ce=_0x56c0cf;switch(_0x469ff0){case _0x1736ce(0x4bb):return s[_0x1736ce(0x374)][_0x1736ce(0x404)];case _0x1736ce(0x3fd):return s[_0x1736ce(0x374)][_0x1736ce(0x33f)];case _0x1736ce(0x61b):return s['ShapeGradientTypeEnum']['Diamond'];default:return s[_0x1736ce(0x374)]['Linear'];}}function ze(_0x1b2d9b,_0x413a8a,_0x35a30d){const _0x148971=_0x56c0cf;var _0x1d4a16,_0x27b767;let _0x418185=_0x1b2d9b[_0x148971(0x546)];return{'type':Le((_0x1d4a16=_0x418185==null?void 0x0:_0x418185[_0x148971(0x1c5)])==null?s['ShapeDefaultConfig'][_0x148971(0x1c5)]:_0x1d4a16),'angle':(_0x27b767=_0x418185==null?void 0x0:_0x418185[_0x148971(0x235)])==null?s[_0x148971(0x70f)][_0x148971(0x235)]:_0x27b767,'stops':_0x418185!=null&&_0x418185[_0x148971(0x1db)]&&_0x418185[_0x148971(0x1db)][_0x148971(0x3d5)]>=0x2?_0x418185[_0x148971(0x1db)][_0x148971(0x263)](_0x59578b=>({'color':_0x59578b['color'],'offset':_0x59578b[_0x148971(0x322)]*0x64,'opacity':_0x59578b['opacity']})):[{'color':_0x413a8a,'offset':0x0},{'color':_0x35a30d,'offset':0x64}]};}function Be(_0x100039){const _0x3781c7=_0x56c0cf;var _0x165e9d,_0x15f8d4,_0x4c650a;let {shapeData:_0x356d55,disabled:_0x564e8c,onUpdateShapeData:_0x3cee3a}=_0x100039,_0x42733b=(0x0,a['useDependency'])(i[_0x3781c7(0x5ad)]),_0x192c3b=(0x0,a['useDependency'])(i[_0x3781c7(0x440)]),_0x5b543b=(0x0,a[_0x3781c7(0x4ea)])(i['IImageIoService']),_0x2303bb=(0x0,n[_0x3781c7(0x2c5)])(null),_0x47703c=_0x356d55[_0x3781c7(0x546)],_0x24fad8=(_0x165e9d=(_0x15f8d4=_0x47703c==null?void 0x0:_0x47703c[_0x3781c7(0x616)])==null?_0x47703c==null?void 0x0:_0x47703c[_0x3781c7(0x313)]:_0x15f8d4)==null?0x1:_0x165e9d,_0x1d9b81=Math['round']((0x1-_0x24fad8)*0x64),_0x104f0d=_0x47703c!=null&&_0x47703c['fillImageSource']&&/^(?:data:|https?:)/[_0x3781c7(0x4b9)](_0x47703c[_0x3781c7(0x2c4)])?_0x47703c['fillImageSource']:void 0x0,_0x1437a5=_0x2e962a=>{const _0x4b0e3a=_0x3781c7;var _0x1ab061;_0x3cee3a({'oldShapeData':{'fill':_0x47703c?{..._0x47703c}:void 0x0}},{'fill':{..._0x47703c,'fillType':s['ShapeFillEnum'][_0x4b0e3a(0x347)],'imageFillMode':(_0x1ab061=_0x47703c==null?void 0x0:_0x47703c[_0x4b0e3a(0x2ee)])==null?s[_0x4b0e3a(0x367)][_0x4b0e3a(0x1cc)]:_0x1ab061,..._0x2e962a}});};return(0x0,r[_0x3781c7(0x372)])(_0x3781c7(0x21c),{'className':_0x3781c7(0x2d9),'children':[(0x0,r['jsxs'])('div',{'className':_0x3781c7(0x4dc),'children':[(0x0,r[_0x3781c7(0x6f0)])(_0x3781c7(0x6c6),{'className':'univer-shrink-0\x20univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x42733b['t'](_0x3781c7(0x5e1))}),(0x0,r['jsx'])(_0x3781c7(0x697),{'ref':_0x2303bb,'type':'file','accept':_0x3781c7(0x334),'className':_0x3781c7(0x1f0),'onChange':async _0x3129cb=>{const _0x4af175=_0x3781c7;var _0x29f6f8;let _0x9ced6d=(_0x29f6f8=_0x3129cb[_0x4af175(0x207)][_0x4af175(0x276)])==null?void 0x0:_0x29f6f8[0x0];if(!_0x9ced6d)return;_0x3129cb[_0x4af175(0x207)]['value']='';let _0x10efde=await _0x5b543b[_0x4af175(0x5cb)](_0x9ced6d);if(_0x10efde==null)return;let {imageSourceType:_0xad5629,source:_0x226408,base64Cache:_0x532474}=_0x10efde,{image:_0x19463e}=await(0x0,o[_0x4af175(0x49c)])(_0x532474||'');_0x5b543b[_0x4af175(0x5a2)](_0x226408,_0xad5629,_0x19463e),_0x1437a5({'fillImageSource':_0x226408,'fillImageSourceType':_0xad5629,'imageOpacity':_0x24fad8});}}),(0x0,r['jsx'])(_0x3781c7(0x324),{'type':_0x3781c7(0x324),'disabled':_0x564e8c,'onClick':()=>{const _0x2c5c10=_0x3781c7;var _0x2f4f28;return(_0x2f4f28=_0x2303bb[_0x2c5c10(0x21b)])==null?void 0x0:_0x2f4f28[_0x2c5c10(0x36d)]();},'className':_0x3781c7(0x417),'children':_0x42733b['t'](_0x3781c7(0x5c6))})]}),_0x104f0d&&(0x0,r[_0x3781c7(0x6f0)])('img',{'src':_0x104f0d,'alt':'','className':_0x3781c7(0x1b2)}),(0x0,r[_0x3781c7(0x372)])('div',{'className':_0x3781c7(0x4dc),'children':[(0x0,r[_0x3781c7(0x6f0)])('span',{'className':_0x3781c7(0x61f),'children':_0x42733b['t'](_0x3781c7(0x2f2))}),(0x0,r[_0x3781c7(0x6f0)])(_0x3781c7(0x21c),{'className':_0x3781c7(0x672),'children':(0x0,r[_0x3781c7(0x6f0)])(e['InputNumber'],{'className':_0x3781c7(0x4c9),'value':_0x1d9b81,'disabled':_0x564e8c,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x5d2ef4=>_0x5d2ef4+'%','parser':_0x45c068=>(_0x45c068==null?void 0x0:_0x45c068[_0x3781c7(0x40d)]('%',''))||'','onChange':_0x30e6f7=>{const _0x5779f4=_0x3781c7;_0x1437a5({'imageOpacity':(0x64-Math['max'](0x0,Math['min'](0x64,_0x30e6f7==null?0x0:_0x30e6f7)))/0x64}),_0x192c3b[_0x5779f4(0x691)](i[_0x5779f4(0x3f5)],!0x1);},'onFocus':()=>_0x192c3b[_0x3781c7(0x691)](i[_0x3781c7(0x3f5)],!0x0),'onBlur':()=>_0x192c3b[_0x3781c7(0x691)](i['FOCUSING_PANEL_EDITOR'],!0x1)})})]}),(0x0,r['jsx'])(e['Checkbox'],{'checked':(_0x4c650a=_0x47703c==null?void 0x0:_0x47703c[_0x3781c7(0x557)])==null?!0x1:_0x4c650a,'disabled':_0x564e8c,'onChange':_0x109402=>{_0x1437a5({'imageRotateWithShape':_0x109402});},'children':(0x0,r['jsx'])(_0x3781c7(0x6c6),{'className':_0x3781c7(0x506),'children':_0x42733b['t']('shape-editor-ui.fill.picture.rotateWithShape')})})]});}function Ve(_0x14c0e8){const _0x3e53de=_0x56c0cf;var _0x28d3ae,_0x23f7e8;let {titleKey:_0x429eec,shapeData:_0x33b8da,disabled:_0xec43ec,fallbackColor:_0x56cf17=he,fallbackGradientEndColor:_0xbe85e7=_0x3e53de(0x1b5),onUpdateShapeData:_0x540c80}=_0x14c0e8,_0x52a538=(0x0,a[_0x3e53de(0x4ea)])(i['LocaleService']),_0xe38bcd=_0x52a538['t'](_0x429eec),[_0x1de348,_0xbd7321]=(0x0,n[_0x3e53de(0x1c0)])(!0x1),{handleOpenChange:_0x4270c6,markInternalInteraction:_0x5ac589}=be(_0xbd7321),_0x1f7a72=_0x33b8da[_0x3e53de(0x546)],_0x842469=Ie(_0x33b8da),_0x21f30a=(_0x28d3ae=_0x1f7a72==null?void 0x0:_0x1f7a72[_0x3e53de(0x5b7)])==null?_0x56cf17:_0x28d3ae,_0x22567c=_0x14e6b4=>{_0x540c80({'oldShapeData':{'fill':_0x1f7a72?{..._0x1f7a72}:void 0x0}},{'fill':_0x14e6b4});},_0x217b83=()=>{const _0x1a841d=_0x3e53de;let _0x3a32dc=ze(_0x33b8da,_0x21f30a,_0xbe85e7);return{..._0x1f7a72,'fillType':s[_0x1a841d(0x6bc)]['GradientFill'],'color':_0x21f30a,'gradientType':Re(_0x3a32dc[_0x1a841d(0x4be)]),'gradientAngle':_0x3a32dc[_0x1a841d(0x572)],'gradientStops':_0x3a32dc[_0x1a841d(0x528)][_0x1a841d(0x263)](_0x3e86b1=>({'position':_0x3e86b1[_0x1a841d(0x5d9)]/0x64,'color':_0x3e86b1[_0x1a841d(0x5b7)],'opacity':_0x3e86b1[_0x1a841d(0x313)]}))};};return(0x0,r[_0x3e53de(0x6f0)])(e[_0x3e53de(0x1b9)],{'disabled':_0xec43ec,'open':_0x1de348,'onOpenChange':_0x4270c6,'overlay':(0x0,r[_0x3e53de(0x6f0)])(_0x3e53de(0x21c),{'onPointerDownCapture':_0x29b64f=>{_0x5ac589(),Q(_0x29b64f);},'onMouseDownCapture':_0x84ae79=>{_0x5ac589(),Q(_0x84ae79);},'onPointerDown':$,'onMouseDown':$,'onClick':_0x3b5c9b=>_0x3b5c9b['stopPropagation'](),'className':(0x0,e[_0x3e53de(0x4e6)])(_0x3e53de(0x6f5),_0x3e53de(0x453)),'children':(0x0,r[_0x3e53de(0x6f0)])(p,{'compact':!0x0,'disabled':_0xec43ec,'direction':_0x52a538[_0x3e53de(0x5ee)](),'value':_0x842469,'typeValues':ve,'color':_0x21f30a,'transparency':Math['round']((0x1-((_0x23f7e8=_0x1f7a72==null?void 0x0:_0x1f7a72[_0x3e53de(0x313)])==null?0x1:_0x23f7e8))*0x64),'gradientValue':ze(_0x33b8da,_0x21f30a,_0xbe85e7),'labels':{'noFill':_0x52a538['t'](_0x3e53de(0x4ad)),'solidFill':_0x52a538['t'](_0x3e53de(0x633)),'gradientFill':_0x52a538['t'](_0x3e53de(0x643)),'pictureFill':_0x52a538['t'](_0x3e53de(0x4f2)),'color':_0x52a538['t'](_0x3e53de(0x486)),'transparency':_0x52a538['t']('shape-editor-ui.fill.transparency')},'tabLabels':{'noFill':_0x52a538['t']('shape-editor-ui.fill.noFill'),'solidFill':_0x52a538['t'](_0x3e53de(0x633)),'gradientFill':_0x52a538['t'](_0x3e53de(0x643)),'pictureFill':_0x52a538['t']('shape-editor-ui.fill.pictureFill')},'renderColorIcon':_0x502440=>(0x0,r['jsx'])(t[_0x3e53de(0x280)],{'className':_0x3e53de(0x3f1),'extend':{'colorChannel1':_0x502440}}),'onChange':_0x291bd1=>{const _0x41cd55=_0x3e53de;if(_0x291bd1===s[_0x41cd55(0x6bc)][_0x41cd55(0x5a6)])_0x22567c({..._0x1f7a72,'fillType':s[_0x41cd55(0x6bc)][_0x41cd55(0x5a6)]});else{if(_0x291bd1===s[_0x41cd55(0x6bc)][_0x41cd55(0x382)]){var _0x10a179;_0x22567c({..._0x1f7a72,'fillType':s[_0x41cd55(0x6bc)][_0x41cd55(0x382)],'color':_0x21f30a,'opacity':(_0x10a179=_0x1f7a72==null?void 0x0:_0x1f7a72[_0x41cd55(0x313)])==null?0x1:_0x10a179});}else{if(_0x291bd1===s[_0x41cd55(0x6bc)][_0x41cd55(0x6a6)])_0x22567c(_0x217b83());else{if(_0x291bd1===s['ShapeFillEnum'][_0x41cd55(0x347)]){var _0x1ae19c,_0x3914ae;_0x22567c({..._0x1f7a72,'fillType':s['ShapeFillEnum'][_0x41cd55(0x347)],'color':_0x21f30a,'imageOpacity':(_0x1ae19c=_0x1f7a72==null?void 0x0:_0x1f7a72['imageOpacity'])==null?0x1:_0x1ae19c,'imageFillMode':(_0x3914ae=_0x1f7a72==null?void 0x0:_0x1f7a72[_0x41cd55(0x2ee)])==null?s['ImageFillModeEnum'][_0x41cd55(0x1cc)]:_0x3914ae});}}}}},'onColorChange':_0x49a532=>{const _0x423bdf=_0x3e53de;var _0x15ca41;_0x22567c({..._0x1f7a72,'fillType':s['ShapeFillEnum'][_0x423bdf(0x382)],'color':_0x49a532,'opacity':(_0x15ca41=_0x1f7a72==null?void 0x0:_0x1f7a72['opacity'])==null?0x1:_0x15ca41});},'onTransparencyChange':_0xb9dbf9=>{const _0xbf4591=_0x3e53de;_0x22567c({..._0x1f7a72,'fillType':s[_0xbf4591(0x6bc)]['SolidFill'],'color':_0x21f30a,'opacity':(0x64-Math[_0xbf4591(0x6e4)](0x0,Math['min'](0x64,_0xb9dbf9)))/0x64});},'onGradientChange':_0x59438b=>{const _0x3a4f6f=_0x3e53de;_0x22567c({..._0x1f7a72,'fillType':s[_0x3a4f6f(0x6bc)][_0x3a4f6f(0x6a6)],'color':_0x21f30a,'gradientType':Re(_0x59438b[_0x3a4f6f(0x4be)]),'gradientAngle':_0x59438b['angle'],'gradientStops':_0x59438b['stops']['map'](_0x351bb5=>({'position':_0x351bb5[_0x3a4f6f(0x5d9)]/0x64,'color':_0x351bb5[_0x3a4f6f(0x5b7)],'opacity':_0x351bb5[_0x3a4f6f(0x313)]}))});},'pictureFillEditor':(0x0,r[_0x3e53de(0x6f0)])(Be,{'shapeData':_0x33b8da,'disabled':_0xec43ec,'onUpdateShapeData':_0x540c80})})}),'children':(0x0,r[_0x3e53de(0x6f0)])('span',{'children':(0x0,r[_0x3e53de(0x6f0)])(e[_0x3e53de(0x481)],{'title':_0xe38bcd,'placement':_0x3e53de(0x4b8),'children':(0x0,r['jsxs'])(_0x3e53de(0x324),{'type':_0x3e53de(0x324),'disabled':_0xec43ec,'className':(0x0,e[_0x3e53de(0x4e6)])(_0x3e53de(0x6c9),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x1de348}),'children':[(0x0,r[_0x3e53de(0x6f0)])(t[_0x3e53de(0x280)],{'className':_0x3e53de(0x523),'extend':{'colorChannel1':_0x842469===s['ShapeFillEnum']['NoFill']?_0x3e53de(0x236):_0x21f30a}}),(0x0,r['jsx'])(t[_0x3e53de(0x26b)],{'className':(0x0,e[_0x3e53de(0x4e6)])(_0x3e53de(0x226),{'univer-rotate-180':_0x1de348})})]})})})});}function He(_0x45deab){const _0x3d9655=_0x56c0cf;switch(_0x45deab==null?void 0x0:_0x45deab[_0x3d9655(0x4be)]){case _0x3d9655(0x3b5):return s['ShapeFillEnum'][_0x3d9655(0x5a6)];case _0x3d9655(0x668):return s[_0x3d9655(0x6bc)][_0x3d9655(0x6a6)];case _0x3d9655(0x40f):return s[_0x3d9655(0x6bc)][_0x3d9655(0x347)];default:return s[_0x3d9655(0x6bc)][_0x3d9655(0x382)];}}function Ue(_0x268220,_0x4521bc){const _0x57c018=_0x56c0cf;var _0x45395b,_0x28c91b,_0xd84111,_0x4351ae,_0x5df1b2;return{'type':(_0x45395b=_0x268220==null||(_0x28c91b=_0x268220[_0x57c018(0x668)])==null?void 0x0:_0x28c91b[_0x57c018(0x4be)])==null?_0x57c018(0x6a8):_0x45395b,'angle':(_0xd84111=_0x268220==null||(_0x4351ae=_0x268220[_0x57c018(0x668)])==null?void 0x0:_0x4351ae[_0x57c018(0x572)])==null?0x0:_0xd84111,'stops':!(_0x268220==null||(_0x5df1b2=_0x268220[_0x57c018(0x668)])==null)&&_0x5df1b2[_0x57c018(0x528)]&&_0x268220[_0x57c018(0x668)][_0x57c018(0x528)]['length']>=0x2?_0x268220[_0x57c018(0x668)]['stops'][_0x57c018(0x263)](_0x256e1f=>({'color':_0x256e1f[_0x57c018(0x5b7)],'offset':_0x256e1f[_0x57c018(0x5d9)],'opacity':_0x256e1f[_0x57c018(0x313)]})):[{'color':_0x4521bc,'offset':0x0},{'color':'#8B5CF6','offset':0x64}]};}function We(_0x4c519d,_0x270060){const _0x1d7f0d=_0x56c0cf;var _0x47e534,_0x108b50,_0x782159;return(_0x47e534=_0x4c519d[_0x1d7f0d(0x38c)])==null?{'type':_0x1d7f0d(0x39e),'color':(_0x108b50=(_0x782159=_0x4c519d['cl'])==null?void 0x0:_0x782159[_0x1d7f0d(0x6b2)])==null?_0x270060:_0x108b50,'opacity':0x1}:_0x47e534;}function Ge(_0x4f67b1,_0x4065f6){const _0x34423e=_0x56c0cf;var _0x2c73c6,_0x2dbdf1,_0x1f17b5;return(_0x2c73c6=(_0x2dbdf1=_0x4f67b1[_0x34423e(0x5b7)])==null?(_0x1f17b5=_0x4f67b1[_0x34423e(0x668)])==null||(_0x1f17b5=_0x1f17b5[_0x34423e(0x528)])==null||(_0x1f17b5=_0x1f17b5[0x0])==null?void 0x0:_0x1f17b5[_0x34423e(0x5b7)]:_0x2dbdf1)==null?_0x4065f6:_0x2c73c6;}function Ke(_0x55a87d){const _0x181578=_0x56c0cf;var _0x52bb23,_0x5c2a08,_0x16e82e,_0x4a6f37;let {fill:_0x479346,disabled:_0x537eeb,onChange:_0x24e452}=_0x55a87d,_0x411edb=(0x0,a[_0x181578(0x4ea)])(i['LocaleService']),_0x259b92=(0x0,a[_0x181578(0x4ea)])(i['IContextService']),_0x130de7=(0x0,a['useDependency'])(i[_0x181578(0x567)]),_0x72d46a=(0x0,n[_0x181578(0x2c5)])(null),_0x101e2b=(_0x52bb23=(_0x5c2a08=(_0x16e82e=_0x479346[_0x181578(0x40f)])==null?void 0x0:_0x16e82e['opacity'])==null?_0x479346['opacity']:_0x5c2a08)==null?0x1:_0x52bb23,_0x39b325=Math[_0x181578(0x2b5)]((0x1-_0x101e2b)*0x64),_0x365f12=(_0x4a6f37=_0x479346[_0x181578(0x40f)])!=null&&_0x4a6f37[_0x181578(0x3d4)]&&/^(?:data:|https?:)/[_0x181578(0x4b9)](_0x479346[_0x181578(0x40f)][_0x181578(0x3d4)])?_0x479346['picture'][_0x181578(0x3d4)]:void 0x0,_0x29e9b1=_0x1b680f=>{const _0x538bb0=_0x181578;var _0x229603,_0x543bf1;_0x24e452({..._0x479346,'type':_0x538bb0(0x40f),'picture':{..._0x479346[_0x538bb0(0x40f)],'mode':(_0x229603=(_0x543bf1=_0x479346[_0x538bb0(0x40f)])==null?void 0x0:_0x543bf1[_0x538bb0(0x1dc)])==null?_0x538bb0(0x61d):_0x229603,..._0x1b680f}});};return(0x0,r[_0x181578(0x372)])(_0x181578(0x21c),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-2','children':[(0x0,r[_0x181578(0x372)])('div',{'className':_0x181578(0x4dc),'children':[(0x0,r[_0x181578(0x6f0)])(_0x181578(0x6c6),{'className':_0x181578(0x61f),'children':_0x411edb['t'](_0x181578(0x5e1))}),(0x0,r[_0x181578(0x6f0)])(_0x181578(0x697),{'ref':_0x72d46a,'type':_0x181578(0x457),'accept':_0x181578(0x334),'className':_0x181578(0x1f0),'onChange':async _0x5b78ee=>{const _0x4e08d4=_0x181578;var _0x384608;let _0x4a03ca=(_0x384608=_0x5b78ee['target'][_0x4e08d4(0x276)])==null?void 0x0:_0x384608[0x0];if(!_0x4a03ca)return;_0x5b78ee[_0x4e08d4(0x207)]['value']='';let _0x21d05f=await _0x130de7['saveImage'](_0x4a03ca);if(_0x21d05f==null)return;let {imageSourceType:_0x49685b,source:_0x3c3d2e,base64Cache:_0x4e254d}=_0x21d05f;_0x29e9b1({'source':_0x4e254d||_0x3c3d2e,'sourceType':_0x49685b,'opacity':_0x101e2b});}}),(0x0,r['jsx'])(_0x181578(0x324),{'type':'button','disabled':_0x537eeb,'onClick':()=>{const _0x4eea2b=_0x181578;var _0x1a8b2e;return(_0x1a8b2e=_0x72d46a['current'])==null?void 0x0:_0x1a8b2e[_0x4eea2b(0x36d)]();},'className':_0x181578(0x417),'children':_0x411edb['t'](_0x181578(0x5c6))})]}),_0x365f12&&(0x0,r[_0x181578(0x6f0)])(_0x181578(0x1cf),{'src':_0x365f12,'alt':'','className':'univer-h-14\x20univer-w-full\x20univer-rounded\x20univer-object-cover'}),(0x0,r[_0x181578(0x372)])(_0x181578(0x21c),{'className':_0x181578(0x4dc),'children':[(0x0,r[_0x181578(0x6f0)])(_0x181578(0x6c6),{'className':_0x181578(0x61f),'children':_0x411edb['t'](_0x181578(0x2f2))}),(0x0,r[_0x181578(0x6f0)])(_0x181578(0x21c),{'className':_0x181578(0x672),'children':(0x0,r['jsx'])(e[_0x181578(0x4c7)],{'className':_0x181578(0x4c9),'value':_0x39b325,'disabled':_0x537eeb,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x5e7ff1=>_0x5e7ff1+'%','parser':_0x3bd367=>(_0x3bd367==null?void 0x0:_0x3bd367['replace']('%',''))||'','onChange':_0x3ccecf=>{const _0x590e94=_0x181578;_0x29e9b1({'opacity':(0x64-Math[_0x590e94(0x6e4)](0x0,Math[_0x590e94(0x67f)](0x64,_0x3ccecf==null?0x0:_0x3ccecf)))/0x64}),_0x259b92[_0x590e94(0x691)](i[_0x590e94(0x3f5)],!0x1);},'onFocus':()=>_0x259b92['setContextValue'](i[_0x181578(0x3f5)],!0x0),'onBlur':()=>_0x259b92['setContextValue'](i[_0x181578(0x3f5)],!0x1)})})]})]});}function qe(_0xa6f19d){const _0x4e0bf1=_0x56c0cf;var _0x426407;let {titleKey:_0x371bfe,textStyle:_0x544d9f,fallbackColor:_0x4fa2cf,onChange:_0xa9a391}=_0xa6f19d,_0x243cd2=(0x0,a['useDependency'])(i[_0x4e0bf1(0x5ad)]),_0x5c0555=_0x243cd2['t'](_0x371bfe),[_0xb7bd34,_0x5dd9ff]=(0x0,n[_0x4e0bf1(0x1c0)])(!0x1),{handleOpenChange:_0xebf746,markInternalInteraction:_0x426583}=be(_0x5dd9ff),_0x356c33=We(_0x544d9f,_0x4fa2cf),_0x465ca8=He(_0x356c33),_0x3bc753=Ge(_0x356c33,_0x4fa2cf),_0x3b9aa8=_0x2e8458=>{const _0x4bff0b=_0x4e0bf1;_0xa9a391({'cl':{'rgb':_0x2e8458['type']===_0x4bff0b(0x3b5)?'rgba(0,\x200,\x200,\x200)':Ge(_0x2e8458,_0x4fa2cf)},'textFill':_0x2e8458});},_0x277d6b=()=>{const _0x444075=_0x4e0bf1;let _0x3b3147=Ue(_0x356c33,_0x3bc753);return{..._0x356c33,'type':_0x444075(0x668),'gradient':{'type':_0x3b3147[_0x444075(0x4be)],'angle':_0x3b3147[_0x444075(0x572)],'stops':_0x3b3147[_0x444075(0x528)][_0x444075(0x263)](_0x381a77=>({'offset':_0x381a77['offset'],'color':_0x381a77['color'],'opacity':_0x381a77['opacity']}))}};};return(0x0,r['jsx'])(De,{'title':_0x5c0555,'open':_0xb7bd34,'icon':(0x0,r[_0x4e0bf1(0x6f0)])(t[_0x4e0bf1(0x6f9)],{'className':'univer-text-xl','extend':{'colorChannel1':_0x3bc753}}),'onApply':()=>{const _0x25577e=_0x4e0bf1;var _0x355667;return _0x3b9aa8({..._0x356c33,'type':_0x25577e(0x39e),'color':_0x3bc753,'opacity':(_0x355667=_0x356c33[_0x25577e(0x313)])==null?0x1:_0x355667});},'onOpenChange':_0xebf746,'overlay':(0x0,r[_0x4e0bf1(0x6f0)])(_0x4e0bf1(0x21c),{'onPointerDownCapture':_0x2f6362=>{_0x426583(),Q(_0x2f6362);},'onMouseDownCapture':_0x9300b4=>{_0x426583(),Q(_0x9300b4);},'onPointerDown':$,'onMouseDown':$,'onClick':_0x1cbfcc=>_0x1cbfcc['stopPropagation'](),'className':(0x0,e['clsx'])(_0x4e0bf1(0x6f5),_0x4e0bf1(0x453)),'children':(0x0,r['jsx'])(p,{'compact':!0x0,'direction':_0x243cd2[_0x4e0bf1(0x5ee)](),'value':_0x465ca8,'typeValues':ve,'color':_0x3bc753,'transparency':Math[_0x4e0bf1(0x2b5)]((0x1-((_0x426407=_0x356c33['opacity'])==null?0x1:_0x426407))*0x64),'gradientValue':Ue(_0x356c33,_0x3bc753),'labels':{'noFill':_0x243cd2['t'](_0x4e0bf1(0x4ad)),'solidFill':_0x243cd2['t'](_0x4e0bf1(0x633)),'gradientFill':_0x243cd2['t'](_0x4e0bf1(0x643)),'pictureFill':_0x243cd2['t'](_0x4e0bf1(0x4f2)),'color':_0x243cd2['t'](_0x4e0bf1(0x486)),'transparency':_0x243cd2['t']('shape-editor-ui.fill.transparency')},'tabLabels':{'noFill':_0x243cd2['t']('shape-editor-ui.fill.noFill'),'solidFill':_0x243cd2['t'](_0x4e0bf1(0x633)),'gradientFill':_0x243cd2['t'](_0x4e0bf1(0x643)),'pictureFill':_0x243cd2['t'](_0x4e0bf1(0x4f2))},'keepColorPickerOpenOnChange':!0x0,'onChange':_0x298eb8=>{const _0x24ef0f=_0x4e0bf1;if(_0x298eb8===s[_0x24ef0f(0x6bc)][_0x24ef0f(0x5a6)])_0x3b9aa8({..._0x356c33,'type':_0x24ef0f(0x3b5)});else{if(_0x298eb8===s[_0x24ef0f(0x6bc)]['SolidFill']){var _0x398033;_0x3b9aa8({..._0x356c33,'type':'solid','color':_0x3bc753,'opacity':(_0x398033=_0x356c33['opacity'])==null?0x1:_0x398033});}else{if(_0x298eb8===s[_0x24ef0f(0x6bc)][_0x24ef0f(0x6a6)])_0x3b9aa8(_0x277d6b());else{if(_0x298eb8===s[_0x24ef0f(0x6bc)]['PictureFill']){var _0x5a523f,_0x31833b,_0x460b72,_0x2a7a93;_0x3b9aa8({..._0x356c33,'type':_0x24ef0f(0x40f),'color':_0x3bc753,'picture':{..._0x356c33[_0x24ef0f(0x40f)],'opacity':(_0x5a523f=(_0x31833b=_0x356c33['picture'])==null?void 0x0:_0x31833b[_0x24ef0f(0x313)])==null?0x1:_0x5a523f,'mode':(_0x460b72=(_0x2a7a93=_0x356c33[_0x24ef0f(0x40f)])==null?void 0x0:_0x2a7a93[_0x24ef0f(0x1dc)])==null?_0x24ef0f(0x61d):_0x460b72}});}}}}},'onColorChange':_0x2c949c=>{const _0x4f6cdf=_0x4e0bf1;var _0x3b5464;_0x3b9aa8({..._0x356c33,'type':_0x4f6cdf(0x39e),'color':_0x2c949c,'opacity':(_0x3b5464=_0x356c33['opacity'])==null?0x1:_0x3b5464});},'onTransparencyChange':_0x458349=>{const _0x19d7b5=_0x4e0bf1;_0x3b9aa8({..._0x356c33,'type':_0x19d7b5(0x39e),'color':_0x3bc753,'opacity':(0x64-Math[_0x19d7b5(0x6e4)](0x0,Math[_0x19d7b5(0x67f)](0x64,_0x458349)))/0x64});},'onGradientChange':_0x1efca8=>{const _0x48c2ef=_0x4e0bf1;_0x3b9aa8({..._0x356c33,'type':_0x48c2ef(0x668),'gradient':{'type':_0x1efca8[_0x48c2ef(0x4be)],'angle':_0x1efca8[_0x48c2ef(0x572)],'stops':_0x1efca8[_0x48c2ef(0x528)]['map'](_0x56b314=>({'offset':_0x56b314[_0x48c2ef(0x5d9)],'color':_0x56b314[_0x48c2ef(0x5b7)],'opacity':_0x56b314[_0x48c2ef(0x313)]}))}});},'pictureFillEditor':(0x0,r[_0x4e0bf1(0x6f0)])(Ke,{'fill':_0x356c33,'onChange':_0x3b9aa8})})})});}function Je(_0x1753e1){const _0x598084=_0x56c0cf;let {titleKey:_0xb72cd0,color:_0x20150c,onApply:_0x51ce88,onReset:_0x1f3bab,onChange:_0x1e86f8}=_0x1753e1,_0x47c7c1=(0x0,a[_0x598084(0x4ea)])(i[_0x598084(0x5ad)]),_0x4483e6=_0x47c7c1['t'](_0xb72cd0),[_0x1c10f0,_0x3b25d8]=(0x0,n[_0x598084(0x1c0)])(!0x1),{handleOpenChange:_0x16b5cf,markInternalInteraction:_0x314d08}=be(_0x3b25d8);return(0x0,r['jsx'])(De,{'title':_0x4483e6,'open':_0x1c10f0,'icon':(0x0,r[_0x598084(0x6f0)])(t[_0x598084(0x2c2)],{'className':'univer-text-xl','extend':{'colorChannel1':_0x20150c}}),'onApply':_0x51ce88,'onOpenChange':_0x16b5cf,'popoverClassName':_0x598084(0x4d8),'overlay':(0x0,r['jsxs'])('div',{'onPointerDownCapture':_0x469e15=>{_0x314d08(),Q(_0x469e15);},'onMouseDownCapture':_0x523d2c=>{_0x314d08(),Q(_0x523d2c);},'onPointerDown':$,'onMouseDown':$,'onClick':_0x4bd63d=>_0x4bd63d[_0x598084(0x60b)](),'className':'univer-w-[244px]','children':[_0x1f3bab&&(0x0,r[_0x598084(0x6f0)])('button',{'type':_0x598084(0x324),'onClick':()=>{_0x1f3bab(),_0x3b25d8(!0x1);},'className':_0x598084(0x5a1),'children':_0x47c7c1['t'](_0x598084(0x5d6))}),(0x0,r['jsx'])(e[_0x598084(0x227)],{'value':_0x20150c,'onChange':_0x56b8d3=>{_0x1e86f8(_0x56b8d3),_0x3b25d8(!0x1);}})]})});}function Ye(_0x552322){const _0x113bc7=_0x56c0cf;let {titleKey:_0x5aef73,textStyle:_0x7ad391,horizontalAlign:_0x3a1dc8,verticalAlign:_0x2eb7b6,horizontalAlignOptions:_0x5a10af,verticalAlignOptions:_0x596734,onUpdateText:_0x2a9ba8}=_0x552322,_0x3162ac=(0x0,a[_0x113bc7(0x4ea)])(i['LocaleService']),_0x43d109=_0x3162ac['t'](_0x5aef73),[_0xa83d39,_0x78dc7f]=(0x0,n[_0x113bc7(0x1c0)])(!0x1),{handleOpenChange:_0x4cf249,markInternalInteraction:_0x73ceec}=be(_0x78dc7f),_0x5784a8=[{'key':_0x113bc7(0x706),'title':_0x3162ac['t'](_0x113bc7(0x2c9)),'active':_0x7ad391[_0x113bc7(0x222)],'icon':(0x0,r[_0x113bc7(0x6f0)])(t[_0x113bc7(0x6e6)],{}),'onClick':()=>_0x2a9ba8({'textStyle':{'bl':_0x7ad391[_0x113bc7(0x222)]?i['BooleanNumber'][_0x113bc7(0x64d)]:i[_0x113bc7(0x32b)][_0x113bc7(0x657)]}})},{'key':_0x113bc7(0x4e4),'title':_0x3162ac['t'](_0x113bc7(0x2bf)),'active':_0x7ad391['isItalic'],'icon':(0x0,r[_0x113bc7(0x6f0)])(t[_0x113bc7(0x3c3)],{}),'onClick':()=>_0x2a9ba8({'textStyle':{'it':_0x7ad391[_0x113bc7(0x6b0)]?i[_0x113bc7(0x32b)][_0x113bc7(0x64d)]:i['BooleanNumber']['TRUE']}})},{'key':_0x113bc7(0x32a),'title':_0x3162ac['t'](_0x113bc7(0x1af)),'active':_0x7ad391[_0x113bc7(0x52e)],'icon':(0x0,r[_0x113bc7(0x6f0)])(t['UnderlineIcon'],{}),'onClick':()=>_0x2a9ba8({'textStyle':{'ul':{'s':_0x7ad391[_0x113bc7(0x52e)]?i[_0x113bc7(0x32b)][_0x113bc7(0x64d)]:i[_0x113bc7(0x32b)][_0x113bc7(0x657)]}}})},{'key':_0x113bc7(0x306),'title':_0x3162ac['t'](_0x113bc7(0x3df)),'active':_0x7ad391[_0x113bc7(0x6a1)],'icon':(0x0,r[_0x113bc7(0x6f0)])(t['StrikethroughIcon'],{}),'onClick':()=>_0x2a9ba8({'textStyle':{'st':{'s':_0x7ad391[_0x113bc7(0x6a1)]?i['BooleanNumber']['FALSE']:i['BooleanNumber'][_0x113bc7(0x657)]}}})}],_0x1acf66=_0x14c024=>(0x0,r[_0x113bc7(0x6f0)])(e[_0x113bc7(0x481)],{'title':_0x14c024[_0x113bc7(0x31b)],'placement':_0x113bc7(0x2ac),'children':(0x0,r['jsx'])('button',{'type':_0x113bc7(0x324),'aria-label':_0x14c024[_0x113bc7(0x31b)],'onClick':_0x14c024[_0x113bc7(0x478)],'className':(0x0,e[_0x113bc7(0x4e6)])(_0x113bc7(0x66b),{'univer-border-primary-600\x20univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x14c024[_0x113bc7(0x522)]}),'children':_0x14c024[_0x113bc7(0x63e)]})},String(_0x14c024[_0x113bc7(0x266)]));return(0x0,r[_0x113bc7(0x6f0)])(e[_0x113bc7(0x1b9)],{'open':_0xa83d39,'onOpenChange':_0x4cf249,'overlay':(0x0,r[_0x113bc7(0x6f0)])('div',{'onPointerDownCapture':_0x2ffc7d=>{_0x73ceec(),Q(_0x2ffc7d);},'onMouseDownCapture':_0x5dac3c=>{_0x73ceec(),Q(_0x5dac3c);},'onPointerDown':$,'onMouseDown':$,'onClick':_0x37b571=>_0x37b571[_0x113bc7(0x60b)](),'className':(0x0,e[_0x113bc7(0x4e6)])(_0x113bc7(0x544),_0x113bc7(0x305)),'children':(0x0,r['jsxs'])(_0x113bc7(0x21c),{'className':_0x113bc7(0x31e),'children':[(0x0,r[_0x113bc7(0x6f0)])(_0x113bc7(0x21c),{'className':_0x113bc7(0x606),'children':_0x5784a8[_0x113bc7(0x263)](_0x1acf66)}),(0x0,r[_0x113bc7(0x6f0)])(_0x113bc7(0x21c),{'className':_0x113bc7(0x2ad)}),(0x0,r[_0x113bc7(0x6f0)])('div',{'data-u-comp':_0x113bc7(0x39f),'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':_0x5a10af['map'](_0x3942b8=>_0x1acf66({'key':_0x3942b8[_0x113bc7(0x202)],'title':_0x3942b8[_0x113bc7(0x68f)],'active':_0x3942b8[_0x113bc7(0x202)]===_0x3a1dc8,'icon':_0x3942b8[_0x113bc7(0x63e)],'onClick':()=>_0x2a9ba8({'horizontalAlign':_0x3942b8[_0x113bc7(0x202)]})}))}),(0x0,r[_0x113bc7(0x6f0)])(_0x113bc7(0x21c),{'data-u-comp':_0x113bc7(0x59f),'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':_0x596734[_0x113bc7(0x263)](_0x26f8f8=>_0x1acf66({'key':_0x26f8f8['value'],'title':_0x26f8f8[_0x113bc7(0x68f)],'active':_0x26f8f8[_0x113bc7(0x202)]===_0x2eb7b6,'icon':_0x26f8f8['icon'],'onClick':()=>_0x2a9ba8({'verticalAlign':_0x26f8f8[_0x113bc7(0x202)]})}))})]})}),'children':(0x0,r[_0x113bc7(0x6f0)])(_0x113bc7(0x6c6),{'children':(0x0,r[_0x113bc7(0x6f0)])(e[_0x113bc7(0x481)],{'title':_0x43d109,'placement':_0x113bc7(0x4b8),'children':(0x0,r[_0x113bc7(0x372)])(_0x113bc7(0x324),{'type':_0x113bc7(0x324),'aria-label':_0x43d109,'className':(0x0,e[_0x113bc7(0x4e6)])('univer-flex\x20univer-h-6\x20univer-min-w-7\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700',{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0xa83d39}),'children':[(0x0,r[_0x113bc7(0x6f0)])(t[_0x113bc7(0x3c5)],{'className':'univer-text-base'}),(0x0,r[_0x113bc7(0x6f0)])(t[_0x113bc7(0x26b)],{'className':(0x0,e[_0x113bc7(0x4e6)])(_0x113bc7(0x226),{'univer-rotate-180':_0xa83d39})})]})})})});}function Xe(_0x88f046){const _0x26f5ba=_0x56c0cf;var _0x1388a7;let _0x231885=(0x0,a['useDependency'])(i[_0x26f5ba(0x5ad)]),_0x4803f8=(0x0,a['useObservable'])(_0x231885[_0x26f5ba(0x4e1)],_0x231885[_0x26f5ba(0x5ee)]()),_0x567186=_0x88f046['titleKey']?_0x231885['t'](_0x88f046[_0x26f5ba(0x3a9)]):_0x88f046['title'];return(0x0,r[_0x26f5ba(0x372)])(_0x26f5ba(0x21c),{'dir':_0x4803f8,'data-u-comp':_0x26f5ba(0x312),'onPointerDownCapture':Q,'onMouseDownCapture':Q,'onPointerDown':$,'onMouseDown':$,'onClick':_0x44aa08=>_0x44aa08['stopPropagation'](),'className':(0x0,e[_0x26f5ba(0x4e6)])(_0x26f5ba(0x67a),(_0x1388a7=_0x88f046[_0x26f5ba(0x69c)])==null?_0x26f5ba(0x43b):_0x1388a7,_0x88f046[_0x26f5ba(0x5df)]),'children':[_0x567186&&(0x0,r['jsx'])(_0x26f5ba(0x21c),{'className':_0x26f5ba(0x4d6),'children':_0x567186}),_0x88f046[_0x26f5ba(0x392)]]});}function Ze(_0x309644){const _0x1bd10b=_0x56c0cf;var _0x3be6d0;let _0x1b1c11=(0x0,a[_0x1bd10b(0x4ea)])(i['LocaleService']),_0x1a08c7=_0x309644[_0x1bd10b(0x2f7)]?_0x1b1c11['t'](_0x309644[_0x1bd10b(0x2f7)]):(_0x3be6d0=_0x309644[_0x1bd10b(0x68f)])==null?'':_0x3be6d0;return(0x0,r['jsx'])(e[_0x1bd10b(0x481)],{'title':_0x1a08c7,'placement':_0x1bd10b(0x4b8),'children':(0x0,r['jsx'])(_0x1bd10b(0x6c6),{'className':_0x1bd10b(0x1b0),'children':(0x0,r[_0x1bd10b(0x372)])(_0x1bd10b(0x324),{'type':_0x1bd10b(0x324),'aria-label':_0x1a08c7,'disabled':_0x309644[_0x1bd10b(0x54f)],'onClick':_0x4b0103=>{const _0x245009=_0x1bd10b;_0x4b0103[_0x245009(0x60b)](),_0x309644['onClick']();},'className':_0x1bd10b(0x56e),'children':[(0x0,r[_0x1bd10b(0x6f0)])(_0x1bd10b(0x6c6),{'className':_0x1bd10b(0x1a8),'children':_0x1a08c7}),_0x309644[_0x1bd10b(0x1ea)]&&(0x0,r[_0x1bd10b(0x6f0)])(_0x1bd10b(0x6c6),{'className':'univer-ml-auto\x20univer-whitespace-nowrap\x20univer-text-xs\x20univer-leading-none\x20univer-text-gray-400\x20rtl:univer-ml-0\x20rtl:univer-mr-auto\x20dark:!univer-text-gray-500','children':_0x309644[_0x1bd10b(0x1ea)]})]})})});}function Qe(_0x4bb260){const _0x3b3794=_0x56c0cf;var _0x5908d8;let [_0x4ba6cc,_0x11fd4f]=(0x0,n[_0x3b3794(0x1c0)])(!0x1),_0x594629=(_0x5908d8=_0x4bb260[_0x3b3794(0x1ab)][_0x3b3794(0x2cd)](_0x422035=>_0x422035['value']===_0x4bb260[_0x3b3794(0x202)]))==null?_0x4bb260[_0x3b3794(0x1ab)][0x0]:_0x5908d8;return _0x594629?(0x0,r[_0x3b3794(0x6f0)])(e['Dropdown'],{'open':_0x4ba6cc,'onOpenChange':_0x11fd4f,'overlay':(0x0,r[_0x3b3794(0x6f0)])(_0x3b3794(0x21c),{'className':_0x3b3794(0x2c1),'children':_0x4bb260['options'][_0x3b3794(0x263)](_0xbeb2ca=>(0x0,r['jsxs'])(_0x3b3794(0x324),{'type':_0x3b3794(0x324),'aria-label':_0xbeb2ca[_0x3b3794(0x68f)],'onClick':()=>{const _0x1a2412=_0x3b3794;_0x4bb260['onChange'](_0xbeb2ca[_0x1a2412(0x202)]),_0x11fd4f(!0x1);},'className':(0x0,e[_0x3b3794(0x4e6)])(_0x3b3794(0x2f5),{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0xbeb2ca['value']===_0x4bb260['value']}),'children':[(0x0,r[_0x3b3794(0x6f0)])(_0x3b3794(0x6c6),{'className':_0x3b3794(0x433),'children':_0xbeb2ca[_0x3b3794(0x63e)]}),(0x0,r[_0x3b3794(0x6f0)])(_0x3b3794(0x6c6),{'className':'univer-flex-1','children':_0xbeb2ca['label']})]},_0xbeb2ca[_0x3b3794(0x202)]))}),'children':(0x0,r['jsx'])('span',{'children':(0x0,r[_0x3b3794(0x6f0)])(Te,{'title':_0x4bb260[_0x3b3794(0x31b)],'icon':_0x594629[_0x3b3794(0x63e)],'active':_0x4ba6cc})})}):null;}function $e(_0x216270){const _0x300170=_0x56c0cf;let {action:_0x3fc304}=_0x216270,_0x5e1d58=_0x3fc304[_0x300170(0x4be)]===_0x300170(0x483)?t[_0x300170(0x269)]:t[_0x300170(0x1f3)];return(0x0,r['jsx'])(we,{'title':_0x3fc304[_0x300170(0x68f)],'onClick':_0x3fc304[_0x300170(0x478)],'children':(0x0,r[_0x300170(0x6f0)])(_0x5e1d58,{})});}function et(_0x26f527){const _0x158259=_0x56c0cf;let {actions:_0x3d0d35}=_0x26f527,[_0x25a066,_0x4fcd58]=(0x0,n[_0x158259(0x1c0)])(!0x1),{handleOpenChange:_0x185181,markInternalInteraction:_0x132579}=be(_0x4fcd58);return(0x0,r[_0x158259(0x6f0)])(e[_0x158259(0x1b9)],{'open':_0x25a066,'onOpenChange':_0x185181,'overlay':(0x0,r[_0x158259(0x6f0)])(_0x158259(0x21c),{'onPointerDownCapture':_0x3e3061=>{_0x132579(),Q(_0x3e3061);},'onMouseDownCapture':_0x3c46ae=>{_0x132579(),Q(_0x3c46ae);},'onPointerDown':$,'onMouseDown':$,'onClick':_0x905b9=>_0x905b9[_0x158259(0x60b)](),'className':_0x158259(0x4a7),'children':(0x0,r[_0x158259(0x372)])(Xe,{'className':'!univer-p-1','minWidthClassName':_0x158259(0x5a7),'children':[(0x0,r[_0x158259(0x6f0)])(Ze,{'label':_0x3d0d35[_0x158259(0x27d)],'onClick':()=>{_0x3d0d35['onFront'](),_0x4fcd58(!0x1);}}),(0x0,r[_0x158259(0x6f0)])(Ze,{'label':_0x3d0d35[_0x158259(0x3cf)],'onClick':_0x3d0d35['onForward']}),(0x0,r[_0x158259(0x6f0)])(Ze,{'label':_0x3d0d35['backwardLabel'],'onClick':_0x3d0d35['onBackward']}),(0x0,r['jsx'])(Ze,{'label':_0x3d0d35['backLabel'],'onClick':()=>{const _0x42f6e0=_0x158259;_0x3d0d35[_0x42f6e0(0x431)](),_0x4fcd58(!0x1);}})]})}),'children':(0x0,r[_0x158259(0x6f0)])(_0x158259(0x6c6),{'children':(0x0,r['jsx'])(e[_0x158259(0x481)],{'title':_0x3d0d35['title'],'placement':_0x158259(0x4b8),'children':(0x0,r[_0x158259(0x372)])(_0x158259(0x324),{'type':_0x158259(0x324),'aria-label':_0x3d0d35[_0x158259(0x31b)],'className':(0x0,e['clsx'])(_0x158259(0x28f),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x25a066}),'children':[(0x0,r[_0x158259(0x6f0)])(t[_0x158259(0x55c)],{}),(0x0,r[_0x158259(0x6f0)])(t['MoreDownIcon'],{'className':(0x0,e['clsx'])(_0x158259(0x226),{'univer-rotate-180':_0x25a066})})]})})})});}function tt(_0x3f1dbe){const _0x204e14=_0x56c0cf;var _0x3c3c2b,_0x450871,_0x535a44,_0x4f8179,_0x5b4ada,_0x412dcf,_0x55c525,_0x37ba48,_0x2c41eb,_0x5e4b9a,_0x483a49,_0x2f96fb;let {shapeData:_0x97efae,shapeType:_0x4acf15,textStyle:_0x315313,textModel:_0x1387e2,wrappingStyle:_0x3d77da,wrappingStyleOptions:_0x30c883,enableShapeStrokeReset:_0x29e06f=!0x1,enableTextBackgroundReset:_0x8ab26e=!0x1,enableTextControls:_0x4aac9c=!0x0,deferUntilCollapsedStateLoaded:_0x338c39=!0x1,defaultFillColor:_0x317e7c=he,defaultGradientEndColor:_0x573b32=_0x204e14(0x1b5),defaultStrokeColor:_0x1904da=X,onUpdateShapeData:_0x57ad8c,onUpdateText:_0x6ca898,onUpdateWrappingStyle:_0x3cde00,groupAction:_0x1e56de,layerActions:_0x22b798,extensionGroups:_0xcab199,onOpenPanel:_0x7dd32,onDelete:_0x1b5c08}=_0x3f1dbe,_0x13bd0b=(0x0,a[_0x204e14(0x4ea)])(i[_0x204e14(0x5ad)]),_0x186bc8=(0x0,a[_0x204e14(0x430)])(_0x13bd0b[_0x204e14(0x4e1)],_0x13bd0b[_0x204e14(0x5ee)]()),_0x5230ed=(0x0,a[_0x204e14(0x4ea)])(i['IContextService']),_0x7138f6=(0x0,a[_0x204e14(0x4ea)])(i[_0x204e14(0x608)]),[_0x1c9627,_0x17a065]=(0x0,n[_0x204e14(0x1c0)])(!0x1),[_0x2b0fde,_0x2d35a6]=(0x0,n[_0x204e14(0x1c0)])(!0x1);(0x0,n['useEffect'])(()=>{const _0x56c4dd=_0x204e14;let _0x25620b=!0x1;return _0x7138f6[_0x56c4dd(0x1e0)](_e)['then'](_0x2aeef2=>{const _0xb2951e=_0x56c4dd;!_0x25620b&&typeof _0x2aeef2==_0xb2951e(0x5fc)&&_0x17a065(_0x2aeef2);})[_0x56c4dd(0x4af)](()=>void 0x0)[_0x56c4dd(0x31a)](()=>{_0x25620b||_0x2d35a6(!0x0);}),()=>{_0x25620b=!0x0;};},[_0x7138f6]);let _0x11bfb1=_0x5beb29=>{_0x17a065(_0x5beb29),_0x7138f6['setItem'](_e,_0x5beb29)['catch'](()=>void 0x0);},_0x35fc36=!!_0x97efae&&_0x4acf15!==void 0x0,_0x1c6bd5=_0x35fc36&&_0x4aac9c,_0x59f203=!!_0x1e56de||!!_0x22b798,_0x17363b=(_0xcab199==null?[]:_0xcab199)[_0x204e14(0x3f0)](_0x448d92=>_0x448d92['visible']!==!0x1)[_0x204e14(0x263)](_0x85a6b0=>({..._0x85a6b0,'actions':_0x85a6b0[_0x204e14(0x5ea)][_0x204e14(0x3f0)](_0x357bb6=>_0x357bb6[_0x204e14(0x471)]!==!0x1)}))[_0x204e14(0x3f0)](_0x3c02e9=>_0x3c02e9[_0x204e14(0x5ea)]['length']>0x0),_0x40aeef=_0x17363b[_0x204e14(0x3d5)]>0x0,_0x451a84=_0x4acf15!==void 0x0&&(0x0,s['isConnectorShape'])(_0x4acf15),_0x371ef3=(_0x3c3c2b=(_0x450871=_0x315313['cl'])==null?void 0x0:_0x450871['rgb'])==null?Z:_0x3c3c2b,_0x1a4e40=(_0x535a44=(_0x4f8179=_0x315313['bg'])==null?void 0x0:_0x4f8179['rgb'])==null?ge:_0x535a44,_0x4a5670=(_0x5b4ada=_0x315313['ff'])==null?'monospace':_0x5b4ada,_0x586511=(_0x412dcf=_0x315313['fs'])==null?0xe:_0x412dcf,_0x2133df=_0x315313['bl']===i['BooleanNumber'][_0x204e14(0x657)],_0x2e57e6=_0x315313['it']===i[_0x204e14(0x32b)][_0x204e14(0x657)],_0x122a29=((_0x55c525=_0x315313['ul'])==null?void 0x0:_0x55c525['s'])===i['BooleanNumber'][_0x204e14(0x657)],_0x5d8c41=((_0x37ba48=_0x315313['st'])==null?void 0x0:_0x37ba48['s'])===i[_0x204e14(0x32b)][_0x204e14(0x657)],_0x52a389=(_0x2c41eb=_0x1387e2==null?void 0x0:_0x1387e2['ha'])==null?i[_0x204e14(0x1e4)][_0x204e14(0x252)]:_0x2c41eb,_0x5984f1=(_0x5e4b9a=_0x1387e2==null?void 0x0:_0x1387e2['va'])==null?i[_0x204e14(0x5e9)][_0x204e14(0x338)]:_0x5e4b9a,_0xf86954=[{'label':_0x13bd0b['t'](_0x204e14(0x500)),'value':i[_0x204e14(0x1e4)][_0x204e14(0x252)],'icon':(0x0,r[_0x204e14(0x6f0)])(t['LeftJustifyingIcon'],{})},{'label':_0x13bd0b['t'](_0x204e14(0x554)),'value':i[_0x204e14(0x1e4)][_0x204e14(0x66f)],'icon':(0x0,r[_0x204e14(0x6f0)])(t[_0x204e14(0x5e4)],{})},{'label':_0x13bd0b['t'](_0x204e14(0x33c)),'value':i[_0x204e14(0x1e4)]['RIGHT'],'icon':(0x0,r[_0x204e14(0x6f0)])(t['RightJustifyingIcon'],{})},{'label':_0x13bd0b['t'](_0x204e14(0x65c)),'value':i['HorizontalAlign'][_0x204e14(0x23f)],'icon':(0x0,r[_0x204e14(0x6f0)])(t[_0x204e14(0x337)],{})}],_0x432cdd=[{'label':_0x13bd0b['t']('shape-editor-ui.align.top'),'value':i['VerticalAlign'][_0x204e14(0x338)],'icon':(0x0,r[_0x204e14(0x6f0)])(t[_0x204e14(0x3ee)],{})},{'label':_0x13bd0b['t'](_0x204e14(0x632)),'value':i[_0x204e14(0x5e9)][_0x204e14(0x442)],'icon':(0x0,r[_0x204e14(0x6f0)])(t[_0x204e14(0x395)],{})},{'label':_0x13bd0b['t']('shape-editor-ui.align.bottom'),'value':i[_0x204e14(0x5e9)]['BOTTOM'],'icon':(0x0,r[_0x204e14(0x6f0)])(t[_0x204e14(0x622)],{})}];return!_0x35fc36&&!_0x59f203&&!_0x40aeef&&!_0x7dd32&&!_0x1b5c08||_0x338c39&&!_0x2b0fde?null:_0x1c9627?(0x0,r[_0x204e14(0x6f0)])(_0x204e14(0x324),{'type':_0x204e14(0x324),'dir':_0x186bc8,'style':{'direction':_0x186bc8},'data-u-comp':_0x204e14(0x614),'aria-label':_0x13bd0b['t'](_0x204e14(0x1e5)),'onMouseDown':$,'onClick':()=>_0x11bfb1(!0x1),'className':_0x204e14(0x5d5),'children':(0x0,r[_0x204e14(0x6f0)])(t[_0x204e14(0x6b4)],{'className':'-univer-rotate-90\x20univer-text-xs'})}):(0x0,r['jsxs'])(_0x204e14(0x21c),{'data-u-comp':'shape-floating-toolbar','dir':_0x186bc8,'style':{'direction':_0x186bc8},'className':_0x204e14(0x541),'children':[(0x0,r['jsx'])('button',{'type':_0x204e14(0x324),'aria-label':_0x13bd0b['t'](_0x204e14(0x4b0)),'onMouseDown':$,'onClick':()=>_0x11bfb1(!0x0),'className':_0x204e14(0x59e),'children':(0x0,r['jsx'])(t[_0x204e14(0x6b4)],{'className':'univer--rotate-90\x20univer-text-xs'})}),(0x0,r[_0x204e14(0x372)])(Ce,{'children':[_0x35fc36&&(0x0,r['jsxs'])(r[_0x204e14(0x270)],{'children':[(0x0,r[_0x204e14(0x372)])(Se,{'children':[(0x0,r[_0x204e14(0x6f0)])(Ve,{'titleKey':_0x204e14(0x6ef),'shapeData':_0x97efae,'disabled':_0x451a84,'fallbackColor':_0x317e7c,'fallbackGradientEndColor':_0x573b32,'onUpdateShapeData':_0x57ad8c}),(0x0,r[_0x204e14(0x6f0)])(Fe,{'titleKey':_0x204e14(0x234),'shapeData':_0x97efae,'fallbackColor':_0x1904da,'onReset':_0x29e06f?()=>{const _0x1a9aa2=_0x204e14;_0x57ad8c({'oldShapeData':{'stroke':_0x97efae[_0x1a9aa2(0x451)]}},{'stroke':{..._0x97efae['stroke'],'lineStrokeType':s['ShapeLineTypeEnum']['NoLine']}});}:void 0x0,'onUpdateShapeData':_0x57ad8c})]}),_0x35fc36&&_0x1c6bd5&&(0x0,r['jsxs'])(r[_0x204e14(0x270)],{'children':[(0x0,r[_0x204e14(0x6f0)])(e[_0x204e14(0x400)],{'orientation':_0x204e14(0x284),'className':_0x204e14(0x5a5)}),(0x0,r[_0x204e14(0x372)])(Se,{'children':[(0x0,r['jsx'])(a['FontFamilyDropdown'],{'className':_0x204e14(0x37c),'inputClassName':'univer-w-full','popupDataComponent':'shape-floating-toolbar-font-family-menu','title':_0x4a5670,'value':_0x4a5670,'onChange':_0x4b6500=>_0x6ca898({'textStyle':{'ff':_0x4b6500}}),'onMouseDown':$,'onPointerDown':$}),(0x0,r[_0x204e14(0x6f0)])(Ee,{'value':String(_0x586511),'onChange':_0x43f39d=>{_0x6ca898({'textStyle':{'fs':_0x43f39d}});},'onAfterChange':()=>{const _0x5222d2=_0x204e14;_0x5230ed[_0x5222d2(0x691)](i[_0x5222d2(0x3f5)],!0x1);}}),(0x0,r[_0x204e14(0x6f0)])(Ye,{'titleKey':_0x204e14(0x462),'textStyle':{'isBold':_0x2133df,'isItalic':_0x2e57e6,'isUnderline':_0x122a29,'isStrike':_0x5d8c41},'horizontalAlign':_0x52a389,'verticalAlign':_0x5984f1,'horizontalAlignOptions':_0xf86954,'verticalAlignOptions':_0x432cdd,'onUpdateText':_0x6ca898})]}),(0x0,r['jsx'])(e['Separator'],{'orientation':'vertical','className':'!univer-h-5'}),(0x0,r[_0x204e14(0x372)])(Se,{'children':[(0x0,r['jsx'])(qe,{'titleKey':_0x204e14(0x240),'textStyle':_0x315313,'fallbackColor':_0x371ef3,'onChange':_0x14ecea=>_0x6ca898({'textStyle':_0x14ecea})}),(0x0,r[_0x204e14(0x6f0)])(Je,{'titleKey':_0x204e14(0x3ff),'color':_0x1a4e40,'onApply':()=>_0x6ca898({'textStyle':{'bg':{'rgb':_0x1a4e40}}}),'onReset':_0x8ab26e?()=>_0x6ca898({'textStyle':{'bg':{'rgb':null}}}):void 0x0,'onChange':_0x28550e=>_0x6ca898({'textStyle':{'bg':{'rgb':_0x28550e}}})})]})]})]}),_0x35fc36&&_0x3d77da!==void 0x0&&_0x30c883&&_0x3cde00&&(0x0,r[_0x204e14(0x372)])(r[_0x204e14(0x270)],{'children':[(0x0,r['jsx'])(e['Separator'],{'orientation':'vertical','className':_0x204e14(0x5a5)}),(0x0,r['jsx'])(Se,{'children':(0x0,r['jsx'])(Qe,{'title':(_0x483a49=(_0x2f96fb=_0x30c883['find'](_0x260d4a=>_0x260d4a[_0x204e14(0x202)]===_0x3d77da))==null?void 0x0:_0x2f96fb['label'])==null?_0x13bd0b['t'](_0x204e14(0x3ea)):_0x483a49,'value':_0x3d77da,'options':_0x30c883,'onChange':_0x3cde00})})]}),_0x59f203&&(0x0,r[_0x204e14(0x372)])(r[_0x204e14(0x270)],{'children':[(0x0,r[_0x204e14(0x6f0)])(e[_0x204e14(0x400)],{'orientation':_0x204e14(0x284),'className':_0x204e14(0x5a5)}),(0x0,r[_0x204e14(0x372)])(Se,{'children':[_0x1e56de&&(0x0,r[_0x204e14(0x6f0)])($e,{'action':_0x1e56de}),_0x22b798&&(0x0,r[_0x204e14(0x6f0)])(et,{'actions':_0x22b798})]})]}),(_0x7dd32||_0x1b5c08)&&(0x0,r[_0x204e14(0x372)])(r[_0x204e14(0x270)],{'children':[(0x0,r[_0x204e14(0x6f0)])(e[_0x204e14(0x400)],{'orientation':_0x204e14(0x284),'className':_0x204e14(0x5a5)}),(0x0,r['jsxs'])(Se,{'children':[_0x7dd32&&(0x0,r[_0x204e14(0x6f0)])(we,{'titleKey':'shape-editor-ui.openPanel','onClick':()=>{_0x7dd32();},'children':(0x0,r['jsx'])(t[_0x204e14(0x205)],{})}),_0x1b5c08&&(0x0,r[_0x204e14(0x6f0)])(we,{'titleKey':_0x204e14(0x416),'onClick':_0x1b5c08,'children':(0x0,r[_0x204e14(0x6f0)])(t[_0x204e14(0x623)],{})})]})]}),_0x17363b[_0x204e14(0x263)](_0x4d2f23=>(0x0,r['jsxs'])(n[_0x204e14(0x270)],{'children':[(0x0,r[_0x204e14(0x6f0)])(e[_0x204e14(0x400)],{'orientation':'vertical','className':_0x204e14(0x5a5)}),(0x0,r[_0x204e14(0x6f0)])(Se,{'children':_0x4d2f23['actions']['map'](_0x977fd8=>{const _0x44cdf1=_0x204e14;var _0x72c92b;return(0x0,r[_0x44cdf1(0x6f0)])(n[_0x44cdf1(0x270)],{'children':(_0x72c92b=_0x977fd8['render'])==null?(0x0,r[_0x44cdf1(0x6f0)])(we,{'title':_0x977fd8['label'],'active':_0x977fd8[_0x44cdf1(0x522)],'disabled':_0x977fd8[_0x44cdf1(0x54f)],'onClick':_0x977fd8[_0x44cdf1(0x478)],'children':_0x977fd8[_0x44cdf1(0x63e)]}):_0x72c92b},_0x977fd8[_0x44cdf1(0x266)]);})})]},_0x4d2f23[_0x204e14(0x266)]))]})]});}let nt=function(_0x13a7b9){const _0x3e1622=_0x56c0cf;return _0x13a7b9['Line']=_0x3e1622(0x348),_0x13a7b9['Rectangle']='rectangle',_0x13a7b9[_0x3e1622(0x32f)]=_0x3e1622(0x1ed),_0x13a7b9[_0x3e1622(0x464)]=_0x3e1622(0x52b),_0x13a7b9[_0x3e1622(0x50a)]=_0x3e1622(0x4e0),_0x13a7b9[_0x3e1622(0x65f)]='flowchart',_0x13a7b9[_0x3e1622(0x329)]=_0x3e1622(0x32c),_0x13a7b9['Callout']='callout',_0x13a7b9[_0x3e1622(0x5bc)]=_0x3e1622(0x2fb),_0x13a7b9;}({});const rt=[{'group':_0x56c0cf(0x348),'type':s['ShapeTypeEnum']['Line'],'icon':_0x56c0cf(0x6a5),'name':_0x56c0cf(0x4b3)},{'group':_0x56c0cf(0x348),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x2db)],'icon':_0x56c0cf(0x628),'name':_0x56c0cf(0x3a7),'endArrow':!0x0},{'group':_0x56c0cf(0x348),'type':s['ShapeTypeEnum'][_0x56c0cf(0x2db)],'icon':_0x56c0cf(0x527),'name':_0x56c0cf(0x5f5),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x56c0cf(0x348),'type':s[_0x56c0cf(0x651)]['BentConnector3'],'icon':'ShapeBentConnector3Icon','name':_0x56c0cf(0x676)},{'group':'line','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x2cb)],'icon':_0x56c0cf(0x574),'name':_0x56c0cf(0x667),'endArrow':!0x0},{'group':_0x56c0cf(0x348),'type':s[_0x56c0cf(0x651)]['BentConnector3'],'icon':_0x56c0cf(0x3d3),'name':_0x56c0cf(0x38a),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x56c0cf(0x348),'type':s[_0x56c0cf(0x651)]['CurvedConnector3'],'icon':'ShapeCurvedConnector3Icon','name':_0x56c0cf(0x20d)},{'group':_0x56c0cf(0x348),'type':s['ShapeTypeEnum'][_0x56c0cf(0x427)],'icon':_0x56c0cf(0x42f),'name':'shape.type.curved-connector3-arrow1','endArrow':!0x0},{'group':'line','type':s['ShapeTypeEnum'][_0x56c0cf(0x427)],'icon':_0x56c0cf(0x510),'name':_0x56c0cf(0x615),'endArrow':!0x0,'startArrow':!0x0},{'group':'rectangle','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x401)],'icon':_0x56c0cf(0x52d),'name':_0x56c0cf(0x25a)},{'group':_0x56c0cf(0x33d),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x3d2)],'icon':_0x56c0cf(0x436),'name':_0x56c0cf(0x220)},{'group':_0x56c0cf(0x33d),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x389)],'icon':_0x56c0cf(0x365),'name':'shape.type.snip1-rect'},{'group':_0x56c0cf(0x33d),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x65a)],'icon':_0x56c0cf(0x368),'name':'shape.type.snip2-same-rect'},{'group':_0x56c0cf(0x33d),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x69f)],'icon':_0x56c0cf(0x63c),'name':_0x56c0cf(0x2e7)},{'group':'rectangle','type':s['ShapeTypeEnum'][_0x56c0cf(0x53a)],'icon':_0x56c0cf(0x592),'name':_0x56c0cf(0x3bc)},{'group':'rectangle','type':s['ShapeTypeEnum'][_0x56c0cf(0x3be)],'icon':_0x56c0cf(0x2af),'name':_0x56c0cf(0x640)},{'group':_0x56c0cf(0x33d),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x3dc)],'icon':_0x56c0cf(0x39a),'name':_0x56c0cf(0x275)},{'group':_0x56c0cf(0x33d),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x1ba)],'icon':'ShapeRound2DiagRectIcon','name':'shape.type.round2-diag-rect'},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x401)],'icon':_0x56c0cf(0x42a),'name':_0x56c0cf(0x391),'horizontal':!0x0},{'group':'basicShape','type':s['ShapeTypeEnum'][_0x56c0cf(0x401)],'icon':'ShapeRectTextboxVerticalIcon','name':_0x56c0cf(0x67b),'vertical':!0x0},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x607)],'icon':_0x56c0cf(0x639),'name':_0x56c0cf(0x5bb)},{'group':'basicShape','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x60e)],'icon':_0x56c0cf(0x1d0),'name':_0x56c0cf(0x3b2)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x282)],'icon':'ShapeRtTriangleIcon','name':_0x56c0cf(0x3bf)},{'group':_0x56c0cf(0x1ed),'type':s['ShapeTypeEnum']['Parallelogram'],'icon':_0x56c0cf(0x591),'name':_0x56c0cf(0x1fb)},{'group':'basicShape','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x2a1)],'icon':'ShapeTrapezoidIcon','name':_0x56c0cf(0x300)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)]['Diamond'],'icon':_0x56c0cf(0x331),'name':_0x56c0cf(0x4ae)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x605)],'icon':_0x56c0cf(0x536),'name':_0x56c0cf(0x5bd)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x598)],'icon':'ShapeHexagonIcon','name':_0x56c0cf(0x3fc)},{'group':_0x56c0cf(0x1ed),'type':s['ShapeTypeEnum']['Heptagon'],'icon':_0x56c0cf(0x330),'name':'shape.type.heptagon'},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)]['Octagon'],'icon':_0x56c0cf(0x292),'name':_0x56c0cf(0x411)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x38e)],'icon':_0x56c0cf(0x58b),'name':_0x56c0cf(0x421)},{'group':'basicShape','type':s[_0x56c0cf(0x651)]['Dodecagon'],'icon':_0x56c0cf(0x661),'name':_0x56c0cf(0x6dd)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x1d2)],'icon':_0x56c0cf(0x4b5),'name':_0x56c0cf(0x2b0)},{'group':'basicShape','type':s['ShapeTypeEnum'][_0x56c0cf(0x51c)],'icon':_0x56c0cf(0x47b),'name':_0x56c0cf(0x70a)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)]['Teardrop'],'icon':'ShapeTeardropIcon','name':_0x56c0cf(0x51e)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x2fa)],'icon':'ShapeFrameIcon','name':_0x56c0cf(0x540)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)]['HalfFrame'],'icon':_0x56c0cf(0x69e),'name':'shape.type.half-frame'},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)]['Corner'],'icon':'ShapeCornerIcon','name':_0x56c0cf(0x2da)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x558)],'icon':_0x56c0cf(0x3f9),'name':_0x56c0cf(0x6ce)},{'group':_0x56c0cf(0x1ed),'type':s['ShapeTypeEnum'][_0x56c0cf(0x3d6)],'icon':'ShapePlusIcon','name':'shape.type.plus'},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x693)],'icon':_0x56c0cf(0x285),'name':_0x56c0cf(0x2bc)},{'group':'basicShape','type':s[_0x56c0cf(0x651)]['Can'],'icon':'ShapeCanIcon','name':_0x56c0cf(0x583)},{'group':'basicShape','type':s[_0x56c0cf(0x651)]['Cube'],'icon':_0x56c0cf(0x1b1),'name':'shape.type.cube'},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)]['Bevel'],'icon':_0x56c0cf(0x664),'name':_0x56c0cf(0x2ce)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x4de)],'icon':_0x56c0cf(0x635),'name':_0x56c0cf(0x499)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x3a6)],'icon':'ShapeNoSmokingIcon','name':_0x56c0cf(0x210)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x3dd)],'icon':_0x56c0cf(0x293),'name':_0x56c0cf(0x4b2)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x6a9)],'icon':_0x56c0cf(0x58e),'name':'shape.type.folder-corner'},{'group':'basicShape','type':s['ShapeTypeEnum'][_0x56c0cf(0x432)],'icon':_0x56c0cf(0x281),'name':_0x56c0cf(0x663)},{'group':'basicShape','type':s['ShapeTypeEnum']['Heart'],'icon':_0x56c0cf(0x61e),'name':_0x56c0cf(0x4bd)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x4f4)],'icon':_0x56c0cf(0x48a),'name':_0x56c0cf(0x575)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x262)],'icon':_0x56c0cf(0x711),'name':_0x56c0cf(0x467)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)]['Moon'],'icon':'ShapeMoonIcon','name':'shape.type.moon'},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x308)],'icon':'ShapeCloudIcon','name':_0x56c0cf(0x4eb)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x6d0)],'icon':_0x56c0cf(0x30b),'name':_0x56c0cf(0x349)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x5c8)],'icon':_0x56c0cf(0x1bd),'name':_0x56c0cf(0x715)},{'group':'basicShape','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x1f9)],'icon':_0x56c0cf(0x604),'name':_0x56c0cf(0x448)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)]['LeftBracket'],'icon':'ShapeLeftBracketIcon','name':_0x56c0cf(0x675)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)]['RightBracket'],'icon':'ShapeRightBracketIcon','name':_0x56c0cf(0x22d)},{'group':_0x56c0cf(0x1ed),'type':s['ShapeTypeEnum'][_0x56c0cf(0x36c)],'icon':_0x56c0cf(0x62f),'name':_0x56c0cf(0x545)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x3a1)],'icon':_0x56c0cf(0x32d),'name':_0x56c0cf(0x5fa)},{'group':_0x56c0cf(0x52b),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x496)],'icon':_0x56c0cf(0x4f7),'name':'shape.type.right-arrow'},{'group':'blockArrow','type':s[_0x56c0cf(0x651)]['LeftArrow'],'icon':_0x56c0cf(0x47d),'name':'shape.type.left-arrow'},{'group':_0x56c0cf(0x52b),'type':s['ShapeTypeEnum'][_0x56c0cf(0x2a3)],'icon':_0x56c0cf(0x642),'name':_0x56c0cf(0x629)},{'group':'blockArrow','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x2f3)],'icon':_0x56c0cf(0x447),'name':_0x56c0cf(0x2d6)},{'group':'blockArrow','type':s[_0x56c0cf(0x651)]['LeftRightArrow'],'icon':_0x56c0cf(0x4d1),'name':'shape.type.left-right-arrow'},{'group':_0x56c0cf(0x52b),'type':s['ShapeTypeEnum']['UpDownArrow'],'icon':_0x56c0cf(0x6e9),'name':_0x56c0cf(0x673)},{'group':_0x56c0cf(0x52b),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x54d)],'icon':_0x56c0cf(0x590),'name':_0x56c0cf(0x5c3)},{'group':_0x56c0cf(0x52b),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x37b)],'icon':_0x56c0cf(0x2f6),'name':'shape.type.left-right-up-arrow'},{'group':_0x56c0cf(0x52b),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x53d)],'icon':_0x56c0cf(0x6ad),'name':_0x56c0cf(0x6dc)},{'group':_0x56c0cf(0x52b),'type':s[_0x56c0cf(0x651)]['UturnArrow'],'icon':_0x56c0cf(0x6fb),'name':_0x56c0cf(0x398)},{'group':_0x56c0cf(0x52b),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x1c8)],'icon':'ShapeLeftUpArrowIcon','name':_0x56c0cf(0x5ff)},{'group':_0x56c0cf(0x52b),'type':s['ShapeTypeEnum'][_0x56c0cf(0x360)],'icon':_0x56c0cf(0x423),'name':_0x56c0cf(0x55e)},{'group':_0x56c0cf(0x52b),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x2dc)],'icon':_0x56c0cf(0x424),'name':_0x56c0cf(0x4f5)},{'group':'blockArrow','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x56d)],'icon':_0x56c0cf(0x4c6),'name':_0x56c0cf(0x463)},{'group':_0x56c0cf(0x52b),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x295)],'icon':'ShapeCurvedUpArrowIcon','name':'shape.type.curved-up-arrow'},{'group':_0x56c0cf(0x52b),'type':s['ShapeTypeEnum'][_0x56c0cf(0x1fd)],'icon':_0x56c0cf(0x666),'name':_0x56c0cf(0x30c)},{'group':_0x56c0cf(0x52b),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x25c)],'icon':_0x56c0cf(0x559),'name':_0x56c0cf(0x310)},{'group':_0x56c0cf(0x52b),'type':s['ShapeTypeEnum'][_0x56c0cf(0x1ae)],'icon':_0x56c0cf(0x47c),'name':_0x56c0cf(0x1fa)},{'group':'blockArrow','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x55f)],'icon':'ShapeHomePlateIcon','name':_0x56c0cf(0x3a0)},{'group':_0x56c0cf(0x52b),'type':s['ShapeTypeEnum'][_0x56c0cf(0x5a9)],'icon':_0x56c0cf(0x46d),'name':'shape.type.chevron'},{'group':'blockArrow','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x5cc)],'icon':_0x56c0cf(0x5e8),'name':_0x56c0cf(0x3db)},{'group':'blockArrow','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x60f)],'icon':'ShapeDownArrowCalloutIcon','name':_0x56c0cf(0x645)},{'group':_0x56c0cf(0x52b),'type':s[_0x56c0cf(0x651)]['LeftArrowCallout'],'icon':_0x56c0cf(0x511),'name':_0x56c0cf(0x24a)},{'group':'blockArrow','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x68a)],'icon':'ShapeUpArrowCalloutIcon','name':_0x56c0cf(0x649)},{'group':'blockArrow','type':s['ShapeTypeEnum'][_0x56c0cf(0x609)],'icon':_0x56c0cf(0x488),'name':_0x56c0cf(0x3ce)},{'group':'blockArrow','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x22e)],'icon':_0x56c0cf(0x531),'name':_0x56c0cf(0x6b6)},{'group':'blockArrow','type':s[_0x56c0cf(0x651)]['CircularArrow'],'icon':_0x56c0cf(0x1a7),'name':_0x56c0cf(0x6ba)},{'group':_0x56c0cf(0x4e0),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x44c)],'icon':'ShapeMathPlusIcon','name':_0x56c0cf(0x4a5)},{'group':_0x56c0cf(0x4e0),'type':s['ShapeTypeEnum'][_0x56c0cf(0x565)],'icon':_0x56c0cf(0x1d6),'name':_0x56c0cf(0x5be)},{'group':'equationShape','type':s[_0x56c0cf(0x651)]['MathMultiply'],'icon':'ShapeMathMultiplyIcon','name':_0x56c0cf(0x4d5)},{'group':_0x56c0cf(0x4e0),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x273)],'icon':'ShapeMathDivideIcon','name':'shape.type.math-divide'},{'group':_0x56c0cf(0x4e0),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x702)],'icon':_0x56c0cf(0x5b9),'name':_0x56c0cf(0x695)},{'group':'equationShape','type':s['ShapeTypeEnum']['MathNotEqual'],'icon':_0x56c0cf(0x56f),'name':_0x56c0cf(0x70e)},{'group':_0x56c0cf(0x58a),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x363)],'icon':'ShapeFlowChartProcessIcon','name':_0x56c0cf(0x1cb)},{'group':_0x56c0cf(0x58a),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x42c)],'icon':_0x56c0cf(0x38b),'name':_0x56c0cf(0x2e8)},{'group':'flowchart','type':s['ShapeTypeEnum']['FlowchartDecision'],'icon':_0x56c0cf(0x1bf),'name':_0x56c0cf(0x41b)},{'group':_0x56c0cf(0x58a),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x2d1)],'icon':_0x56c0cf(0x333),'name':_0x56c0cf(0x25d)},{'group':_0x56c0cf(0x58a),'type':s['ShapeTypeEnum'][_0x56c0cf(0x4b4)],'icon':_0x56c0cf(0x476),'name':_0x56c0cf(0x646)},{'group':_0x56c0cf(0x58a),'type':s['ShapeTypeEnum'][_0x56c0cf(0x5ab)],'icon':_0x56c0cf(0x653),'name':_0x56c0cf(0x378)},{'group':'flowchart','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x656)],'icon':_0x56c0cf(0x332),'name':_0x56c0cf(0x2b1)},{'group':_0x56c0cf(0x58a),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x33e)],'icon':'ShapeFlowChartMultidocumentIcon','name':'shape.type.flow-chart-multidocument'},{'group':_0x56c0cf(0x58a),'type':s[_0x56c0cf(0x651)]['FlowchartTerminator'],'icon':'ShapeFlowChartTerminatorIcon','name':_0x56c0cf(0x2ab)},{'group':'flowchart','type':s[_0x56c0cf(0x651)]['FlowchartPreparation'],'icon':'ShapeFlowChartPreparationIcon','name':'shape.type.flow-chart-preparation'},{'group':_0x56c0cf(0x58a),'type':s['ShapeTypeEnum'][_0x56c0cf(0x513)],'icon':_0x56c0cf(0x5cd),'name':_0x56c0cf(0x455)},{'group':'flowchart','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x550)],'icon':'ShapeFlowChartManualOperationIcon','name':_0x56c0cf(0x3bb)},{'group':_0x56c0cf(0x58a),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x504)],'icon':_0x56c0cf(0x694),'name':_0x56c0cf(0x48e)},{'group':'flowchart','type':s['ShapeTypeEnum']['FlowchartOffPageConnector'],'icon':'ShapeFlowChartOffpageConnectorIcon','name':_0x56c0cf(0x1d1)},{'group':_0x56c0cf(0x58a),'type':s['ShapeTypeEnum'][_0x56c0cf(0x454)],'icon':_0x56c0cf(0x28b),'name':_0x56c0cf(0x380)},{'group':_0x56c0cf(0x58a),'type':s[_0x56c0cf(0x651)]['FlowchartPunchedTape'],'icon':'ShapeFlowChartPunchedTapeIcon','name':_0x56c0cf(0x2be)},{'group':_0x56c0cf(0x58a),'type':s['ShapeTypeEnum'][_0x56c0cf(0x259)],'icon':_0x56c0cf(0x216),'name':'shape.type.flow-chart-summing-junction'},{'group':'flowchart','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x405)],'icon':_0x56c0cf(0x53f),'name':'shape.type.flow-chart-or'},{'group':'flowchart','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x386)],'icon':_0x56c0cf(0x6d3),'name':_0x56c0cf(0x54b)},{'group':_0x56c0cf(0x58a),'type':s[_0x56c0cf(0x651)]['FlowchartSort'],'icon':_0x56c0cf(0x5f8),'name':_0x56c0cf(0x69a)},{'group':_0x56c0cf(0x58a),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x33a)],'icon':_0x56c0cf(0x561),'name':_0x56c0cf(0x5d1)},{'group':'flowchart','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x309)],'icon':'ShapeFlowChartMergeIcon','name':_0x56c0cf(0x4cf)},{'group':_0x56c0cf(0x58a),'type':s['ShapeTypeEnum'][_0x56c0cf(0x5e5)],'icon':_0x56c0cf(0x291),'name':_0x56c0cf(0x4d3)},{'group':_0x56c0cf(0x58a),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x3e8)],'icon':_0x56c0cf(0x265),'name':_0x56c0cf(0x47e)},{'group':_0x56c0cf(0x58a),'type':s['ShapeTypeEnum'][_0x56c0cf(0x6a3)],'icon':_0x56c0cf(0x4ee),'name':_0x56c0cf(0x34c)},{'group':_0x56c0cf(0x58a),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x327)],'icon':_0x56c0cf(0x29f),'name':_0x56c0cf(0x212)},{'group':_0x56c0cf(0x58a),'type':s[_0x56c0cf(0x651)]['FlowchartMagneticDrum'],'icon':_0x56c0cf(0x24e),'name':_0x56c0cf(0x560)},{'group':_0x56c0cf(0x58a),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x1b4)],'icon':_0x56c0cf(0x620),'name':_0x56c0cf(0x1b8)},{'group':_0x56c0cf(0x32c),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x4d2)],'icon':_0x56c0cf(0x452),'name':'shape.type.irregular-seal1'},{'group':_0x56c0cf(0x32c),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x29e)],'icon':_0x56c0cf(0x1f7),'name':'shape.type.irregular-seal2'},{'group':_0x56c0cf(0x32c),'type':s['ShapeTypeEnum'][_0x56c0cf(0x6f2)],'icon':_0x56c0cf(0x304),'name':_0x56c0cf(0x5e2)},{'group':_0x56c0cf(0x32c),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x261)],'icon':'ShapeStar5Icon','name':_0x56c0cf(0x677)},{'group':_0x56c0cf(0x32c),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x5f4)],'icon':_0x56c0cf(0x343),'name':'shape.type.star6'},{'group':_0x56c0cf(0x32c),'type':s['ShapeTypeEnum']['Star7'],'icon':_0x56c0cf(0x68d),'name':_0x56c0cf(0x356)},{'group':'starAndBanner','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x38d)],'icon':_0x56c0cf(0x24f),'name':_0x56c0cf(0x27b)},{'group':_0x56c0cf(0x32c),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x55d)],'icon':_0x56c0cf(0x5b5),'name':_0x56c0cf(0x25b)},{'group':_0x56c0cf(0x32c),'type':s['ShapeTypeEnum'][_0x56c0cf(0x233)],'icon':_0x56c0cf(0x397),'name':'shape.type.star12'},{'group':_0x56c0cf(0x32c),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x4ef)],'icon':'ShapeStar16Icon','name':_0x56c0cf(0x5c7)},{'group':'starAndBanner','type':s[_0x56c0cf(0x651)]['Star24'],'icon':'ShapeStar24Icon','name':_0x56c0cf(0x30e)},{'group':'starAndBanner','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x549)],'icon':_0x56c0cf(0x6fe),'name':_0x56c0cf(0x46f)},{'group':_0x56c0cf(0x32c),'type':s['ShapeTypeEnum'][_0x56c0cf(0x638)],'icon':'ShapeRibbon2Icon','name':_0x56c0cf(0x54a)},{'group':'starAndBanner','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x588)],'icon':'ShapeRibbonIcon','name':_0x56c0cf(0x70d)},{'group':'starAndBanner','type':s[_0x56c0cf(0x651)]['EllipseRibbon2'],'icon':_0x56c0cf(0x3ed),'name':_0x56c0cf(0x4bc)},{'group':_0x56c0cf(0x32c),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x40b)],'icon':'ShapeEllipseRibbonIcon','name':'shape.type.ellipse-ribbon'},{'group':_0x56c0cf(0x32c),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x2c7)],'icon':_0x56c0cf(0x209),'name':'shape.type.vertical-scroll'},{'group':_0x56c0cf(0x32c),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x326)],'icon':_0x56c0cf(0x665),'name':_0x56c0cf(0x39d)},{'group':'starAndBanner','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x396)],'icon':_0x56c0cf(0x6ee),'name':_0x56c0cf(0x4ff)},{'group':_0x56c0cf(0x32c),'type':s['ShapeTypeEnum'][_0x56c0cf(0x287)],'icon':'ShapeDoubleWaveIcon','name':_0x56c0cf(0x446)},{'group':_0x56c0cf(0x6b8),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x624)],'icon':'ShapeWedgeRectCalloutIcon','name':'shape.type.wedge-rect-callout'},{'group':_0x56c0cf(0x6b8),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x63a)],'icon':_0x56c0cf(0x684),'name':_0x56c0cf(0x221)},{'group':_0x56c0cf(0x6b8),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x680)],'icon':_0x56c0cf(0x36e),'name':'shape.type.wedge-ellipse-callout'},{'group':_0x56c0cf(0x6b8),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x301)],'icon':'ShapeCloudCalloutIcon','name':_0x56c0cf(0x353)},{'group':'callout','type':s[_0x56c0cf(0x651)]['BorderCallout1'],'icon':_0x56c0cf(0x28d),'name':'shape.type.border-callout1'},{'group':_0x56c0cf(0x6b8),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x1e8)],'icon':_0x56c0cf(0x29b),'name':_0x56c0cf(0x21f)},{'group':_0x56c0cf(0x6b8),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x508)],'icon':_0x56c0cf(0x2a2),'name':_0x56c0cf(0x34d)},{'group':_0x56c0cf(0x6b8),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x6c0)],'icon':'ShapeAccentCallout1Icon','name':_0x56c0cf(0x552)},{'group':_0x56c0cf(0x6b8),'type':s['ShapeTypeEnum'][_0x56c0cf(0x710)],'icon':'ShapeAccentCallout2Icon','name':'shape.type.accent-callout2'},{'group':'callout','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x612)],'icon':_0x56c0cf(0x23a),'name':_0x56c0cf(0x4ab)},{'group':_0x56c0cf(0x6b8),'type':s['ShapeTypeEnum'][_0x56c0cf(0x654)],'icon':_0x56c0cf(0x3cb),'name':_0x56c0cf(0x6e8)},{'group':_0x56c0cf(0x6b8),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x35c)],'icon':_0x56c0cf(0x311),'name':'shape.type.callout2'},{'group':_0x56c0cf(0x6b8),'type':s[_0x56c0cf(0x651)]['Callout3'],'icon':_0x56c0cf(0x3e6),'name':_0x56c0cf(0x487)},{'group':_0x56c0cf(0x6b8),'type':s['ShapeTypeEnum']['AccentBorderCallout1'],'icon':_0x56c0cf(0x705),'name':'shape.type.accent-border-callout1'},{'group':_0x56c0cf(0x6b8),'type':s['ShapeTypeEnum'][_0x56c0cf(0x5f1)],'icon':'ShapeAccentBorderCallout2Icon','name':_0x56c0cf(0x2b6)},{'group':_0x56c0cf(0x6b8),'type':s[_0x56c0cf(0x651)]['AccentBorderCallout3'],'icon':_0x56c0cf(0x296),'name':_0x56c0cf(0x55b)},{'group':'other','type':s[_0x56c0cf(0x651)]['LeftCircularArrow'],'icon':'ShapeLeftCircularArrowIcon','name':'shape.type.left-circular-arrow'},{'group':_0x56c0cf(0x2fb),'type':s['ShapeTypeEnum'][_0x56c0cf(0x64f)],'icon':_0x56c0cf(0x48f),'name':_0x56c0cf(0x5d2)},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x5fb)],'icon':_0x56c0cf(0x37a),'name':'shape.type.swoosh-arrow'},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)]['LeftRightRibbon'],'icon':_0x56c0cf(0x1aa),'name':_0x56c0cf(0x38f)},{'group':'other','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x593)],'icon':'ShapePieWedgeIcon','name':_0x56c0cf(0x1d3)},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x596)],'icon':_0x56c0cf(0x4f1),'name':_0x56c0cf(0x41a)},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x1ef)],'icon':_0x56c0cf(0x48c),'name':'shape.type.gear6'},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x4fa)],'icon':_0x56c0cf(0x507),'name':_0x56c0cf(0x6c4)},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x4cd)],'icon':_0x56c0cf(0x450),'name':_0x56c0cf(0x62d)},{'group':'other','type':s[_0x56c0cf(0x651)]['ActionButtonBackPrevious'],'icon':_0x56c0cf(0x50b),'name':'shape.type.action-button-back-previous'},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)]['ActionButtonForwardNext'],'icon':'ShapeActionButtonForwardNextIcon','name':_0x56c0cf(0x2b9)},{'group':'other','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x6d5)],'icon':_0x56c0cf(0x6b3),'name':_0x56c0cf(0x245)},{'group':_0x56c0cf(0x2fb),'type':s['ShapeTypeEnum'][_0x56c0cf(0x255)],'icon':_0x56c0cf(0x548),'name':_0x56c0cf(0x4a0)},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)]['ActionButtonHome'],'icon':_0x56c0cf(0x2de),'name':_0x56c0cf(0x713)},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x2c3)],'icon':_0x56c0cf(0x708),'name':'shape.type.action-button-information'},{'group':'other','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x248)],'icon':'ShapeActionButtonReturnIcon','name':_0x56c0cf(0x4e2)},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x254)],'icon':_0x56c0cf(0x23d),'name':'shape.type.action-button-movie'},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x5ba)],'icon':_0x56c0cf(0x681),'name':_0x56c0cf(0x6f6)},{'group':'other','type':s[_0x56c0cf(0x651)]['ActionButtonSound'],'icon':_0x56c0cf(0x3f8),'name':'shape.type.action-button-sound'},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x594)],'icon':_0x56c0cf(0x2a9),'name':_0x56c0cf(0x23c)},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x49e)],'icon':'ShapeActionButtonBlankIcon','name':_0x56c0cf(0x3b8)},{'group':'other','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x277)],'icon':_0x56c0cf(0x288),'name':_0x56c0cf(0x6c2)},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x6a4)],'icon':'ShapeChartStarIcon','name':_0x56c0cf(0x4b6)},{'group':_0x56c0cf(0x2fb),'type':s['ShapeTypeEnum']['ChartX'],'icon':_0x56c0cf(0x587),'name':_0x56c0cf(0x58f)},{'group':'other','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x44d)],'icon':_0x56c0cf(0x458),'name':'shape.type.flow-chart-offline-storage'},{'group':'other','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x3a4)],'icon':'ShapeLineInvIcon','name':_0x56c0cf(0x2ed)},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x6d8)],'icon':_0x56c0cf(0x6cb),'name':'shape.type.plaque-tabs'},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)]['SquareTabs'],'icon':_0x56c0cf(0x244),'name':'shape.type.square-tabs'},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x420)],'icon':_0x56c0cf(0x1a2),'name':_0x56c0cf(0x2b4)},{'group':_0x56c0cf(0x2fb),'type':s['ShapeTypeEnum']['NonIsoscelesTrapezoid'],'icon':_0x56c0cf(0x320),'name':_0x56c0cf(0x5c0)}];function it(_0x4cb8a9=rt,_0x4297a1=[]){const _0x1d58f0=_0x56c0cf;return _0x4cb8a9[_0x1d58f0(0x3c8)]((_0x31f989,_0x30daa8)=>_0x4297a1[_0x1d58f0(0x49d)](_0x30daa8[_0x1d58f0(0x483)])?_0x31f989:(_0x31f989[_0x30daa8[_0x1d58f0(0x483)]]||(_0x31f989[_0x30daa8[_0x1d58f0(0x483)]]=[]),_0x31f989[_0x30daa8['group']][_0x1d58f0(0x553)](_0x30daa8),_0x31f989),{});}function at(_0x4ff2bf){const _0x1e5e31=_0x56c0cf;let {excludeGroups:_0xcef697,onShapeClick:_0x2eb706,options:_0x3c27f4=rt,scrollContainer:_0x45c308=_0x1e5e31(0x3f2),variant:_0x55a4d0=_0x1e5e31(0x58d)}=_0x4ff2bf,_0x5b89a6=(0x0,a['useDependency'])(a['IconManager']),_0x19d994=(0x0,a[_0x1e5e31(0x4ea)])(i[_0x1e5e31(0x5ad)]),_0x581941=it(_0x3c27f4,_0xcef697);return(0x0,r[_0x1e5e31(0x6f0)])(_0x1e5e31(0x21c),{'className':_0x1e5e31(0x435)+(_0x45c308===_0x1e5e31(0x3f2)?'univer-max-h-[75vh]\x20univer-overflow-y-auto':'')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x55a4d0==='card'?_0x1e5e31(0x4fb):'')+_0x1e5e31(0x59a),'children':Object[_0x1e5e31(0x2f0)](_0x581941)[_0x1e5e31(0x263)](([_0x4bce38,_0x51d449])=>(0x0,r[_0x1e5e31(0x372)])('div',{'className':_0x1e5e31(0x214),'children':[(0x0,r[_0x1e5e31(0x6f0)])('div',{'className':_0x1e5e31(0x346),'children':_0x19d994['t'](_0x1e5e31(0x6d6)+_0x4bce38)}),(0x0,r[_0x1e5e31(0x6f0)])(_0x1e5e31(0x21c),{'className':_0x1e5e31(0x6e0),'children':_0x51d449==null?void 0x0:_0x51d449[_0x1e5e31(0x263)](_0x6604a3=>{const _0x8abfe8=_0x1e5e31;let _0x3d270f=_0x5b89a6[_0x8abfe8(0x566)](_0x6604a3[_0x8abfe8(0x63e)]);return(0x0,r[_0x8abfe8(0x6f0)])('button',{'type':_0x8abfe8(0x324),'title':_0x19d994['t']('shape-editor-ui.shape.'+_0x6604a3[_0x8abfe8(0x700)]),'onClick':()=>_0x2eb706(_0x6604a3),'className':_0x8abfe8(0x490),'children':_0x3d270f&&(0x0,r['jsx'])(_0x3d270f,{'className':_0x8abfe8(0x20b)})},_0x6604a3[_0x8abfe8(0x700)]);})})]},_0x4bce38))});}function ot(_0xa8a8d7){const _0x597597=_0x56c0cf;return(0x0,r[_0x597597(0x6f0)])(at,{'excludeGroups':_0xa8a8d7[_0x597597(0x1e1)],'onShapeClick':_0xa8a8d7[_0x597597(0x1f8)],'options':_0xa8a8d7[_0x597597(0x1ab)],'scrollContainer':_0xa8a8d7[_0x597597(0x224)],'variant':_0xa8a8d7[_0x597597(0x1a0)]});}function st(_0x486401){const _0x78488b=_0x56c0cf;let {buttonLabel:_0x228383,side:_0xdcc55d=_0x78488b(0x3fb),..._0x406987}=_0x486401,_0x205b4f=(0x0,a[_0x78488b(0x4ea)])(i[_0x78488b(0x5ad)]),[_0x1bfd00,_0x4657a6]=(0x0,n['useState'])(!0x1);return(0x0,r['jsx'])(e[_0x78488b(0x1b9)],{'side':_0xdcc55d,'open':_0x1bfd00,'onOpenChange':_0x4657a6,'overlay':(0x0,r[_0x78488b(0x6f0)])(ot,{..._0x406987,'onShapeClick':_0x1a9ddf=>{const _0x15ab2f=_0x78488b;_0x406987[_0x15ab2f(0x1f8)](_0x1a9ddf),_0x4657a6(!0x1);}}),'children':(0x0,r[_0x78488b(0x6f0)])(e['Button'],{'children':_0x205b4f['t'](_0x228383)})});}const ct='docs-quote.command.insert';function lt(_0x349ead){const _0x335dea=_0x56c0cf;var _0x4e6dbe,_0x2ef444,_0x41e9ec;let {title:_0xfab77b,popupDataComponent:_0x496e6e='doc-paragraph-type-dropdown-popup'}=_0x349ead,_0x9320fe=(0x0,a[_0x335dea(0x4ea)])(i[_0x335dea(0x6da)]),_0x3acd07=(0x0,a[_0x335dea(0x4ea)])(l['DocSelectionManagerService']),_0x558a2b=(0x0,a[_0x335dea(0x4ea)])(i[_0x335dea(0x5ad)]),_0x51dc5b=(0x0,a[_0x335dea(0x4ea)])(i['IUniverInstanceService']),[_0x1c1f14,_0x58ac4e]=(0x0,n[_0x335dea(0x1c0)])(!0x1),[_0x1c8527,_0x4e770f]=(0x0,n[_0x335dea(0x1c0)])(i['NamedStyleType'][_0x335dea(0x3d8)]),_0x44e881=()=>{const _0x4c9340=_0x335dea;var _0x44497c,_0xa34b12;let _0x563d6c=mt(_0x51dc5b[_0x4c9340(0x1c2)](i['UniverInstanceType']['UNIVER_DOC']),pt(_0x3acd07));_0x4e770f((_0x44497c=_0x563d6c==null||(_0xa34b12=_0x563d6c[_0x4c9340(0x579)])==null?void 0x0:_0xa34b12['namedStyleType'])==null?i[_0x4c9340(0x355)]['NORMAL_TEXT']:_0x44497c);};(0x0,n[_0x335dea(0x69d)])(()=>{const _0x1dda96=_0x335dea;_0x44e881();let _0x4ec3cb=_0x9320fe[_0x1dda96(0x704)](_0x2557b0=>{const _0x34e028=_0x1dda96;(_0x2557b0['id']===l[_0x34e028(0x6e7)]['id']||_0x2557b0['id']===l[_0x34e028(0x3d0)]['id']||_0x2557b0['id']===u[_0x34e028(0x67d)]['id']||_0x2557b0['id']===u[_0x34e028(0x3a3)]['id']||_0x2557b0['id']===u[_0x34e028(0x26f)]['id']||_0x2557b0['id']===u['CheckListCommand']['id'])&&_0x44e881();}),_0x4e43bf=_0x3acd07[_0x1dda96(0x2e3)][_0x1dda96(0x290)](_0x44e881);return()=>{const _0x531558=_0x1dda96;_0x4ec3cb[_0x531558(0x294)](),_0x4e43bf[_0x531558(0x231)]();};},[_0x9320fe,_0x3acd07,_0x51dc5b]);let _0x37a7d6=(0x0,n[_0x335dea(0x42e)])(()=>ut(_0x9320fe)[_0x335dea(0x263)](_0x154036=>({..._0x154036,'label':_0x558a2b['t'](_0x154036[_0x335dea(0x68f)])})),[_0x9320fe,_0x558a2b]),_0x1ab31a=(_0x4e6dbe=_0x37a7d6[_0x335dea(0x2cd)](_0x8dadcc=>_0x8dadcc[_0x335dea(0x473)]===_0x1c8527))==null?_0x37a7d6[0x0]:_0x4e6dbe,_0x5a1587=_0x4e2f4b=>{const _0x39b47a=_0x335dea;var _0xf43327;let _0x5924bf=_0x51dc5b[_0x39b47a(0x1c2)](i[_0x39b47a(0x5de)]['UNIVER_DOC']),_0x4251a7=pt(_0x3acd07);if((_0xf43327=_0x349ead['onBeforeCommand'])==null||_0xf43327[_0x39b47a(0x35d)](_0x349ead),_0x4e2f4b[_0x39b47a(0x473)]!==void 0x0){let _0x3a0c3e={'value':_0x4e2f4b['namedStyleType']};_0x4251a7&&(_0x3a0c3e[_0x39b47a(0x648)]=[_0x4251a7]),_0x9320fe[_0x39b47a(0x65d)](u[_0x39b47a(0x67d)]['id'],_0x3a0c3e);}else{if(_0x4e2f4b[_0x39b47a(0x40e)]===u[_0x39b47a(0x3a3)]['id']||_0x4e2f4b[_0x39b47a(0x40e)]===u['BulletListCommand']['id']||_0x4e2f4b['commandId']===u[_0x39b47a(0x517)]['id']){let _0x3d8c68=_0x4251a7?{'docRange':[_0x4251a7]}:void 0x0;_0x9320fe[_0x39b47a(0x65d)](_0x4e2f4b[_0x39b47a(0x40e)],_0x3d8c68);}else _0x4e2f4b['commandId']&&_0x9320fe['executeCommand'](_0x4e2f4b['commandId'],{'unitId':_0x5924bf==null?void 0x0:_0x5924bf[_0x39b47a(0x543)](),'startOffset':_0x4251a7==null?void 0x0:_0x4251a7['startOffset'],'endOffset':_0x4251a7==null?void 0x0:_0x4251a7['endOffset']});}_0x58ac4e(!0x1),window[_0x39b47a(0x21d)](()=>{const _0x1c7894=_0x39b47a;var _0x2da4ff;_0x44e881(),(_0x2da4ff=_0x349ead[_0x1c7894(0x4ca)])==null||_0x2da4ff[_0x1c7894(0x35d)](_0x349ead);});};return(0x0,r[_0x335dea(0x6f0)])(e[_0x335dea(0x1b9)],{'open':_0x1c1f14,'onOpenChange':_0x58ac4e,'overlay':(0x0,r[_0x335dea(0x6f0)])(_0x335dea(0x21c),{'className':(0x0,e['clsx'])(_0x335dea(0x28e),_0x349ead[_0x335dea(0x5df)]),'data-u-comp':_0x496e6e,'onMouseDown':_0x31f705=>_0x31f705[_0x335dea(0x34f)](),'children':_0x37a7d6[_0x335dea(0x263)](_0x4ea56c=>(0x0,r[_0x335dea(0x372)])(_0x335dea(0x324),{'type':_0x335dea(0x324),'className':(0x0,e[_0x335dea(0x4e6)])(_0x335dea(0x2f5),{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x4ea56c['value']===(_0x1ab31a==null?void 0x0:_0x1ab31a[_0x335dea(0x202)])}),'onClick':()=>_0x5a1587(_0x4ea56c),'onMouseDown':_0x6ff2e1=>_0x6ff2e1[_0x335dea(0x34f)](),'children':[(0x0,r[_0x335dea(0x6f0)])(_0x335dea(0x6c6),{'className':_0x335dea(0x433),'children':_0x4ea56c[_0x335dea(0x63e)]}),(0x0,r['jsx'])(_0x335dea(0x6c6),{'className':'univer-flex-1','children':_0x4ea56c[_0x335dea(0x68f)]})]},_0x4ea56c[_0x335dea(0x202)]))}),'children':(0x0,r[_0x335dea(0x6f0)])(_0x335dea(0x6c6),{'children':(0x0,r[_0x335dea(0x6f0)])(e[_0x335dea(0x481)],{'title':_0xfab77b,'placement':_0x335dea(0x4b8),'children':(0x0,r[_0x335dea(0x372)])('button',{'type':_0x335dea(0x324),'aria-expanded':_0x1c1f14,'aria-label':_0xfab77b,'title':_0xfab77b,'className':(0x0,e[_0x335dea(0x4e6)])('univer-flex\x20univer-h-7\x20univer-min-w-9\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700',_0x349ead[_0x335dea(0x6cf)],{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x1c1f14}),'onMouseDown':(_0x2ef444=_0x349ead[_0x335dea(0x3c7)])==null?_0x1e4047=>_0x1e4047[_0x335dea(0x34f)]():_0x2ef444,'children':[(0x0,r[_0x335dea(0x6f0)])(_0x335dea(0x6c6),{'className':_0x335dea(0x433),'children':(_0x41e9ec=_0x1ab31a==null?void 0x0:_0x1ab31a['icon'])==null?(0x0,r['jsx'])(t[_0x335dea(0x45b)],{}):_0x41e9ec}),(0x0,r[_0x335dea(0x6f0)])(t['MoreDownIcon'],{'className':'univer-text-xs'})]})})})});}function ut(_0x352baa){const _0x34df1a=_0x56c0cf;let _0x192101=[dt(i[_0x34df1a(0x355)]['NORMAL_TEXT'],(0x0,r[_0x34df1a(0x6f0)])(t[_0x34df1a(0x45b)],{}),_0x34df1a(0x268)),dt(i[_0x34df1a(0x355)][_0x34df1a(0x5ac)],(0x0,r[_0x34df1a(0x6f0)])(t[_0x34df1a(0x358)],{}),_0x34df1a(0x341)),dt(i[_0x34df1a(0x355)][_0x34df1a(0x712)],(0x0,r[_0x34df1a(0x6f0)])(t[_0x34df1a(0x229)],{}),_0x34df1a(0x2a6)),dt(i['NamedStyleType'][_0x34df1a(0x23e)],(0x0,r[_0x34df1a(0x6f0)])(t[_0x34df1a(0x3a2)],{}),_0x34df1a(0x5ce)),dt(i[_0x34df1a(0x355)][_0x34df1a(0x5e3)],(0x0,r[_0x34df1a(0x6f0)])(t['H4Icon'],{}),_0x34df1a(0x44f)),dt(i[_0x34df1a(0x355)][_0x34df1a(0x2fc)],(0x0,r[_0x34df1a(0x6f0)])(t['H5Icon'],{}),'shape-editor-ui.textEditor.paragraphType.heading5'),ft(u['OrderListCommand']['id'],(0x0,r[_0x34df1a(0x6f0)])(t[_0x34df1a(0x4e9)],{}),'shape-editor-ui.textEditor.paragraphType.orderedList'),ft(u[_0x34df1a(0x26f)]['id'],(0x0,r['jsx'])(t[_0x34df1a(0x4f0)],{}),_0x34df1a(0x203)),ft(u[_0x34df1a(0x517)]['id'],(0x0,r[_0x34df1a(0x6f0)])(t[_0x34df1a(0x43f)],{}),'shape-editor-ui.textEditor.paragraphType.checkList')],_0x28e7c0=[ft(ct,(0x0,r[_0x34df1a(0x6f0)])(_0x34df1a(0x6c6),{'className':_0x34df1a(0x55a),'children':'\x22'}),_0x34df1a(0x6fd)),ft('docs-code.command.insert',(0x0,r[_0x34df1a(0x6f0)])(t[_0x34df1a(0x66c)],{}),_0x34df1a(0x3d1)),ft(_0x34df1a(0x286),(0x0,r['jsx'])(t[_0x34df1a(0x3cb)],{}),_0x34df1a(0x714))][_0x34df1a(0x3f0)](_0x443a7f=>_0x352baa[_0x34df1a(0x439)](_0x443a7f[_0x34df1a(0x40e)]));return[..._0x192101,..._0x28e7c0];}function dt(_0xdd8b72,_0x405006,_0x476db0){const _0x236c7a=_0x56c0cf;return{'icon':_0x405006,'label':_0x476db0,'namedStyleType':_0xdd8b72,'value':_0x236c7a(0x626)+_0xdd8b72};}function ft(_0x52118b,_0x93a220,_0x58d876){return{'commandId':_0x52118b,'icon':_0x93a220,'label':_0x58d876,'value':'command:'+_0x52118b};}function pt(_0x3ea474){const _0x2d94f9=_0x56c0cf;var _0xd89554,_0x5cf74d,_0x4cb9ef,_0x40136b;let _0x2077e4=(_0xd89554=_0x3ea474['getActiveTextRange'])==null?void 0x0:_0xd89554['call'](_0x3ea474);if(_0x2077e4)return _0x2077e4;let _0x396aa5=(_0x5cf74d=_0x3ea474[_0x2d94f9(0x2e0)]())==null?[]:_0x5cf74d;return(_0x4cb9ef=(_0x40136b=_0x396aa5[_0x2d94f9(0x2cd)](_0x1ffd80=>_0x1ffd80['isActive']))==null?_0x396aa5[0x0]:_0x40136b)==null?null:_0x4cb9ef;}function mt(_0x450f73,_0x36b8c1){const _0x1d653b=_0x56c0cf;var _0x1b4273,_0x5dca13,_0x2372b3,_0x58cf38;let _0x1a9a52=_0x450f73==null||(_0x1b4273=_0x450f73[_0x1d653b(0x2f4)](_0x36b8c1==null?void 0x0:_0x36b8c1['segmentId']))==null?void 0x0:_0x1b4273[_0x1d653b(0x2cc)](),_0x42e02f=(_0x5dca13=_0x1a9a52==null?void 0x0:_0x1a9a52[_0x1d653b(0x636)])==null?[]:_0x5dca13,_0x552766=(_0x2372b3=_0x36b8c1==null?void 0x0:_0x36b8c1[_0x1d653b(0x2a7)])==null?0x0:_0x2372b3;return(_0x58cf38=_0x42e02f[_0x1d653b(0x2cd)](_0x3382ce=>_0x3382ce[_0x1d653b(0x3fa)]>=_0x552766))==null?_0x42e02f[_0x42e02f['length']-0x1]:_0x58cf38;}function ht(){const _0x366ed8=_0x56c0cf;return{'id':'shape-text-document','body':{'dataStream':'\x0d\x0a','paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,i[_0x366ed8(0x569)])(new Set())}],'textRuns':[]},'documentStyle':{}};}function gt(_0x337112){const _0x47357e=_0x56c0cf;var _0x16421c,_0x53b384;return{'fill':(_0x16421c=_0x337112[_0x47357e(0x546)])==null?{'fillType':s[_0x47357e(0x6bc)][_0x47357e(0x5a6)]}:_0x16421c,'isTextBox':!0x0,'shapeText':{'isHorizontal':_0x337112[_0x47357e(0x597)],'textDirection':_0x337112['isHorizontal']?_0x47357e(0x5f3):'vert','text':'','autoFitType':s[_0x47357e(0x532)][_0x47357e(0x2c0)],'textWrap':_0x47357e(0x3b5),'dataModel':{'ha':i['HorizontalAlign'][_0x47357e(0x252)],'va':i['VerticalAlign'][_0x47357e(0x338)],'doc':ht()}},'stroke':(_0x53b384=_0x337112[_0x47357e(0x451)])==null?{'lineStrokeType':s[_0x47357e(0x516)]['NoLine']}:_0x53b384};}function _t(_0x52d00a,_0x4dcfaa){return _0x52d00a?{..._0x52d00a,'shapeText':_0x4dcfaa}:{'shapeText':_0x4dcfaa};}function vt(_0x32fbb8){const _0x186d39=_0x56c0cf;var _0x468c90;if(!_0x32fbb8||!(_0x186d39(0x494)in _0x32fbb8))return;let _0x4c2a4f=_0x32fbb8['dataModel'];if(!_0x4c2a4f||typeof _0x4c2a4f!='object'||!(_0x186d39(0x634)in _0x4c2a4f))return;let _0x170e1c=_0x4c2a4f['doc'];if(yt(_0x170e1c))return(_0x468c90=_0x170e1c['documentStyle'])==null||(_0x468c90=_0x468c90[_0x186d39(0x520)])==null?void 0x0:_0x468c90[_0x186d39(0x6ac)];}function yt(_0x2f0db1){const _0x391376=_0x56c0cf;return typeof _0x2f0db1==_0x391376(0x6ec)&&!!_0x2f0db1&&'id'in _0x2f0db1;}function bt(_0x2d0366,_0x36e536=i['WrapStrategy']['WRAP']){const _0x1d62b5=_0x56c0cf;var _0x4b3e41;let _0x5eddf9=_0x2d0366[_0x1d62b5(0x1a1)];return(_0x5eddf9==null?void 0x0:_0x5eddf9['textWrap'])===_0x1d62b5(0x3b5)?i[_0x1d62b5(0x3a8)]['CLIP']:(_0x5eddf9==null?void 0x0:_0x5eddf9['textWrap'])===_0x1d62b5(0x698)?i['WrapStrategy'][_0x1d62b5(0x5fd)]:(_0x4b3e41=vt(_0x5eddf9))==null?_0x36e536:_0x4b3e41;}function xt(_0x65a9be,_0x1c08f6){const _0x24508a=_0x56c0cf;return(0x0,s[_0x24508a(0x611)])(_0x65a9be)['textWrap']===_0x24508a(0x3b5)?!0x1:(_0x1c08f6==null?bt(_0x65a9be):_0x1c08f6)!==i['WrapStrategy'][_0x24508a(0x66e)];}function St(_0x4f8c09){const _0x964191=_0x56c0cf;let _0x59b410=(0x0,s['resolveShapeTextBodyBehavior'])(_0x4f8c09);return _0x59b410['autoFitType']===s[_0x964191(0x532)][_0x964191(0x2c0)]&&_0x59b410[_0x964191(0x61c)]===_0x964191(0x3b5);}function Ct(_0x2357f6){const _0x4c6087=_0x56c0cf;var _0x52b31d;return((_0x52b31d=_0x2357f6[_0x4c6087(0x1a1)])==null?void 0x0:_0x52b31d['isHorizontal'])===!0x1?_0x4c6087(0x480):_0x4c6087(0x57e);}function wt(_0x1418c9,_0x4d176a={}){const _0x342f5c=_0x56c0cf;return _0x4d176a[_0x342f5c(0x468)]===!0x0?!0x0:_0x1418c9?(0x0,s[_0x342f5c(0x611)])(_0x1418c9)['isTextBox']:!0x1;}function Tt(_0x3a3982,_0x54d273){const _0x192cf1=_0x56c0cf;if(_0x3a3982==null||_0x54d273==null)return!0x1;let {glyph:_0x3fb395,..._0x382443}=_0x3a3982,{glyph:_0x5b9fb5,..._0x45139e}=_0x54d273;return(0x0,i[_0x192cf1(0x5ca)])(_0x382443,_0x45139e);}var Et=class extends i['Disposable']{constructor(_0x4e81fa,_0x16deb8,_0x4dccbe,_0x176147,_0x198136,_0x18738b){const _0xe1f0bb=_0x56c0cf;super(),this[_0xe1f0bb(0x1f4)]=_0x4e81fa,this[_0xe1f0bb(0x4fe)]=_0x16deb8,this[_0xe1f0bb(0x406)]=_0x4dccbe,this['_componentManager']=_0x176147,this[_0xe1f0bb(0x274)]=_0x198136,this[_0xe1f0bb(0x362)]=_0x18738b,w(this,_0xe1f0bb(0x211),null),this[_0xe1f0bb(0x1f4)][_0xe1f0bb(0x22a)]===this['_config'][_0xe1f0bb(0x2d7)]&&(this[_0xe1f0bb(0x3c9)](this[_0xe1f0bb(0x6b5)][_0xe1f0bb(0x2f1)](this['_config'][_0xe1f0bb(0x6ed)],this[_0xe1f0bb(0x362)][_0xe1f0bb(0x383)])),this['_initSelectionChange'](),this['disposeWithMe'](()=>this[_0xe1f0bb(0x1e7)]()));}[_0x56c0cf(0x6ae)](){const _0x5004a4=_0x56c0cf;this[_0x5004a4(0x3c9)](this['_docSelectionRenderService'][_0x5004a4(0x2b7)][_0x5004a4(0x290)](()=>{const _0x2e1363=_0x5004a4;this[_0x2e1363(0x1e7)]();})),this[_0x5004a4(0x3c9)](this[_0x5004a4(0x4fe)]['textSelection$'][_0x5004a4(0x290)](_0x5a7f9f=>{const _0x38b680=_0x5004a4;var _0x3ae8fb,_0x4d0e10;let {unitId:_0x46249f,textRanges:_0x57169f}=_0x5a7f9f;if(_0x46249f!==this[_0x38b680(0x1f4)][_0x38b680(0x22a)])return;let _0x37b786=_0x57169f['find'](_0x723981=>!_0x723981[_0x38b680(0x573)]);if(!_0x37b786){this[_0x38b680(0x1e7)]();return;}_0x37b786[_0x38b680(0x2a7)]===((_0x3ae8fb=this['_floatMenu'])==null?void 0x0:_0x3ae8fb[_0x38b680(0x562)])&&_0x37b786['endOffset']===((_0x4d0e10=this[_0x38b680(0x211)])==null?void 0x0:_0x4d0e10['end'])||(this['_hideFloatMenu'](),this[_0x38b680(0x671)](_0x46249f,_0x37b786));}));}[_0x56c0cf(0x1e7)](){const _0x548cd9=_0x56c0cf;var _0x108843;(_0x108843=this[_0x548cd9(0x211)])==null||_0x108843[_0x548cd9(0x6db)]['dispose'](),this[_0x548cd9(0x211)]=null;}['_showFloatMenu'](_0x1d96b0,_0x6698f){const _0x5cd592=_0x56c0cf;this[_0x5cd592(0x211)]={'disposable':this[_0x5cd592(0x406)][_0x5cd592(0x6be)](_0x6698f,{'componentKey':this[_0x5cd592(0x362)][_0x5cd592(0x6ed)],'direction':_0x6698f[_0x5cd592(0x4da)]==='backward'||Tt(_0x6698f[_0x5cd592(0x37e)],_0x6698f[_0x5cd592(0x384)])?_0x5cd592(0x627):_0x5cd592(0x441),'offset':[0x0,0x4]},_0x1d96b0),'start':_0x6698f[_0x5cd592(0x2a7)],'end':_0x6698f[_0x5cd592(0x70c)]};}};function Dt(_0x5c6f81){const _0x2ee558=_0x56c0cf;return Number[_0x2ee558(0x571)](_0x5c6f81)&&_0x5c6f81>0x0?_0x5c6f81:0x0;}function Ot(_0x39c5f1){const _0x388254=_0x56c0cf;return _0x39c5f1===!0x0||_0x39c5f1===i['BooleanNumber'][_0x388254(0x657)];}function kt(_0x1a6e40){const _0x1a2d59=_0x56c0cf;return typeof(_0x1a6e40==null?void 0x0:_0x1a6e40[_0x1a2d59(0x41e)])=='string'&&_0x1a6e40[_0x1a2d59(0x41e)][_0x1a2d59(0x46b)]()['length']>0x0;}function At(_0xed373,_0x5ae10c){const _0x5b6e4e=_0x56c0cf;var _0x453cf2,_0x1be067,_0x458ef4,_0x5d5087,_0x545f81,_0x20d3ac;let _0x5ecaee=_0xed373==null?void 0x0:_0xed373[_0x5b6e4e(0x1b3)],_0x1b38fd=(_0x453cf2=(_0x1be067=(_0x458ef4=_0x5ecaee==null?void 0x0:_0x5ecaee[_0x5b6e4e(0x1fc)])==null?_0x5ecaee==null?void 0x0:_0x5ecaee['ba']:_0x458ef4)==null?_0x5ae10c[_0x5b6e4e(0x5d7)]:_0x1be067)==null?0x0:_0x453cf2,_0x37359d=(_0x5d5087=(_0x545f81=(_0x20d3ac=_0x5ecaee==null?void 0x0:_0x5ecaee[_0x5b6e4e(0x512)])==null?_0x5ecaee==null?void 0x0:_0x5ecaee['bd']:_0x20d3ac)==null?_0x5ae10c[_0x5b6e4e(0x443)]:_0x545f81)==null?0x0:_0x5d5087;return _0x1b38fd===0x0&&_0x37359d===0x0?null:{'ascent':_0x1b38fd,'descent':_0x37359d};}function jt(_0x39a570){const _0x54cf89=_0x56c0cf;let _0x1f7684=Dt(_0x39a570[_0x54cf89(0x5ef)])-Dt(_0x39a570[_0x54cf89(0x230)]);return _0x39a570[_0x54cf89(0x40c)]===i['VerticalAlign'][_0x54cf89(0x442)]?_0x1f7684/0x2:_0x39a570[_0x54cf89(0x40c)]===i[_0x54cf89(0x5e9)][_0x54cf89(0x217)]?_0x1f7684:0x0;}function Mt(_0x1909b1){const _0x1522a1=_0x56c0cf;let _0x2860d4=Dt(_0x1909b1[_0x1522a1(0x5ef)]),_0x4a9bfc=Math[_0x1522a1(0x6e4)](_0x2860d4,Dt(_0x1909b1[_0x1522a1(0x230)])),_0x277be6=_0x1909b1[_0x1522a1(0x687)],_0x45117c=_0x1909b1[_0x1522a1(0x4b7)],_0x5938b9=Number[_0x1522a1(0x571)](_0x277be6)?_0x277be6:jt(_0x1909b1),_0x8c96b7=Math[_0x1522a1(0x67f)](0x0,_0x5938b9),_0x532ef9=_0x8c96b7+(Number[_0x1522a1(0x571)](_0x45117c)?_0x45117c:0x0),_0x489cc9=_0x532ef9<0x0?_0x532ef9:0x0;return{'clipHeight':_0x4a9bfc-_0x489cc9,'clipTop':_0x489cc9,'contentHeight':_0x4a9bfc,'contentVerticalOffset':_0x8c96b7,'marginTop':Math[_0x1522a1(0x6e4)](0x0,_0x5938b9),'verticalOffset':_0x5938b9};}function Nt(_0x2140b1,_0x1f5c2c=0x1){const _0x50efc9=_0x56c0cf;var _0x2f181c;let _0x2be20e=_0x2140b1[_0x50efc9(0x318)](),_0x3786aa=0x1/0x0,_0x4c85a2=-0x1/0x0,_0x3894b6=0x0;for(let _0x18210c of(_0x2f181c=_0x2be20e==null?void 0x0:_0x2be20e[_0x50efc9(0x242)])==null?[]:_0x2f181c){var _0x278bdd,_0x4be934,_0x1c3bd5;let _0x383092=(_0x278bdd=_0x18210c[_0x50efc9(0x589)])==null?0x0:_0x278bdd;for(let _0x12a393 of(_0x4be934=_0x18210c['sections'])==null?[]:_0x4be934){var _0x2ee328,_0x264549;let _0x47033b=(_0x2ee328=_0x12a393[_0x50efc9(0x2ac)])==null?0x0:_0x2ee328;for(let _0x2a06be of(_0x264549=_0x12a393['columns'])==null?[]:_0x264549){var _0x3e006d;for(let _0x511593 of(_0x3e006d=_0x2a06be[_0x50efc9(0x2df)])==null?[]:_0x3e006d){var _0x43307b,_0x5e4317,_0x5f5add,_0xb2aeb1,_0x3f92a0,_0x125981,_0x21afe7,_0x484a83,_0x1b6c88,_0x4931ce;let _0x49bae2=_0x3894b6+_0x383092+_0x47033b+((_0x43307b=_0x511593[_0x50efc9(0x2ac)])==null?0x0:_0x43307b),_0x1eb21e=((_0x5e4317=_0x511593[_0x50efc9(0x589)])==null?0x0:_0x5e4317)+((_0x5f5add=_0x511593[_0x50efc9(0x219)])==null?0x0:_0x5f5add)+((_0xb2aeb1=_0x511593['contentHeight'])==null?((_0x3f92a0=_0x511593[_0x50efc9(0x5d7)])==null?0x0:_0x3f92a0)+((_0x125981=_0x511593[_0x50efc9(0x443)])==null?0x0:_0x125981):_0xb2aeb1)+((_0x21afe7=_0x511593[_0x50efc9(0x3f7)])==null?0x0:_0x21afe7)+((_0x484a83=_0x511593[_0x50efc9(0x1c9)])==null?0x0:_0x484a83),_0x95573a=Math['max'](0x0,...((_0x1b6c88=_0x511593[_0x50efc9(0x4ec)])==null?[]:_0x1b6c88)[_0x50efc9(0x44e)](_0x1f865a=>{var _0xdf1291;return(_0xdf1291=_0x1f865a['glyphGroup'])==null?[]:_0xdf1291;})[_0x50efc9(0x263)](_0x5d5ece=>{const _0xb10040=_0x50efc9;let _0x13c4f8=At(_0x5d5ece,_0x511593);return _0x13c4f8?_0x13c4f8[_0xb10040(0x555)]+_0x13c4f8[_0xb10040(0x1bc)]:0x0;})),_0x347030=Math[_0x50efc9(0x6e4)]((_0x4931ce=_0x511593[_0x50efc9(0x644)])==null?0x0:_0x4931ce,_0x1eb21e,_0x95573a);_0x347030>0x0&&(_0x3786aa=Math[_0x50efc9(0x67f)](_0x3786aa,_0x49bae2),_0x4c85a2=Math['max'](_0x4c85a2,_0x49bae2+_0x347030));}}}_0x3894b6+=(_0x1c3bd5=_0x18210c[_0x50efc9(0x480)])==null?0x0:_0x1c3bd5;}let _0x3f57c9=_0x4c85a2-_0x3786aa;return Number[_0x50efc9(0x571)](_0x3f57c9)&&_0x3f57c9>0x0?_0x3f57c9:Math[_0x50efc9(0x6e4)](0x1,_0x1f5c2c);}function Pt(_0x26cd5a,_0x2e94ae,_0x302706){const _0x421f80=_0x56c0cf;var _0x2ae90f;if(_0x302706===void 0x0||_0x302706===i[_0x421f80(0x5e9)][_0x421f80(0x2d4)])return 0x0;let _0xb7e85c=_0x26cd5a['getSkeletonData']();if(!(!(_0xb7e85c==null||(_0x2ae90f=_0xb7e85c[_0x421f80(0x242)])==null)&&_0x2ae90f[_0x421f80(0x3d5)]))return 0x0;let _0x4bc893=0x1/0x0,_0x1233a3=-0x1/0x0,_0x18ae85=0x0;for(let _0x5187d9 of _0xb7e85c[_0x421f80(0x242)]){var _0x3cdcf0,_0x28f712;let _0x1f9d54=(_0x3cdcf0=_0x5187d9[_0x421f80(0x589)])==null?0x0:_0x3cdcf0;for(let _0x1f98b0 of(_0x28f712=_0x5187d9[_0x421f80(0x1d9)])==null?[]:_0x28f712){var _0x3c3d20,_0x55ea71;let _0x29ac34=(_0x3c3d20=_0x1f98b0[_0x421f80(0x2ac)])==null?0x0:_0x3c3d20;for(let _0x2dbb2a of(_0x55ea71=_0x1f98b0[_0x421f80(0x336)])==null?[]:_0x55ea71){var _0x54d01b;for(let _0x1c10b9 of(_0x54d01b=_0x2dbb2a['lines'])==null?[]:_0x54d01b){var _0xa31eb4,_0xe4868f,_0x12aed1,_0x8ca22,_0x2ae24d;let _0x48b6af=_0x18ae85+_0x1f9d54+_0x29ac34+((_0xa31eb4=_0x1c10b9['top'])==null?0x0:_0xa31eb4)+((_0xe4868f=_0x1c10b9[_0x421f80(0x589)])==null?0x0:_0xe4868f)+((_0x12aed1=_0x1c10b9[_0x421f80(0x219)])==null?0x0:_0x12aed1)+((_0x8ca22=_0x1c10b9[_0x421f80(0x5d7)])==null?0x0:_0x8ca22);for(let _0xa696ce of(_0x2ae24d=_0x1c10b9['divides'])==null?[]:_0x2ae24d){var _0x224984;for(let _0x16ef54 of(_0x224984=_0xa696ce[_0x421f80(0x707)])==null?[]:_0x224984){if(!kt(_0x16ef54))continue;let _0x26c45b=At(_0x16ef54,_0x1c10b9);_0x26c45b&&(_0x4bc893=Math[_0x421f80(0x67f)](_0x4bc893,_0x48b6af-_0x26c45b[_0x421f80(0x555)]),_0x1233a3=Math[_0x421f80(0x6e4)](_0x1233a3,_0x48b6af+_0x26c45b['descent']));}}}}}let _0x4c98ff=Number['isFinite'](_0x5187d9['pageHeight'])?_0x5187d9[_0x421f80(0x63d)]:_0x5187d9[_0x421f80(0x480)];_0x18ae85+=_0x4c98ff==null?0x0:_0x4c98ff;}return!Number[_0x421f80(0x571)](_0x4bc893)||!Number['isFinite'](_0x1233a3)?0x0:_0x302706===i[_0x421f80(0x5e9)][_0x421f80(0x217)]?_0x2e94ae-_0x1233a3:_0x302706===i[_0x421f80(0x5e9)][_0x421f80(0x442)]?_0x2e94ae/0x2-(_0x4bc893+_0x1233a3)/0x2:_0x302706===i['VerticalAlign'][_0x421f80(0x338)]?-_0x4bc893:0x0;}function Ft(_0x4f07b4){const _0x5127e8=_0x56c0cf;return _0x4f07b4===i[_0x5127e8(0x1e4)][_0x5127e8(0x66f)];}function It(_0x21c073){return _0x21c073===i['HorizontalAlign']['RIGHT'];}function Lt(_0x1b5f39,_0x1f6ce1){const _0x3d29f8=_0x56c0cf;var _0xf3a451,_0x3f29df,_0x502f5c,_0x228229;if(!_0x1b5f39)return{'align':_0x1f6ce1,'width':0x0};let _0x352c3a=(_0xf3a451=(_0x3f29df=_0x1b5f39[_0x3d29f8(0x22c)])==null?void 0x0:_0x3f29df[_0x3d29f8(0x4d7)])==null?'':_0xf3a451,_0x2c23a0=(_0x502f5c=(_0x228229=_0x1b5f39[_0x3d29f8(0x22c)])==null?void 0x0:_0x228229[_0x3d29f8(0x636)])==null?[]:_0x502f5c;if(_0x2c23a0['length']===0x0)return{'align':_0x1f6ce1,'width':(0x0,c[_0x3d29f8(0x48b)])(_0x1b5f39)};let _0x3909c8=0x0,_0xe64955={'align':_0x1f6ce1,'width':0x0};return _0x2c23a0[_0x3d29f8(0x660)](_0x4c1e81=>{const _0x216d32=_0x3d29f8;var _0x38d3a9;let _0x54df8a=Math[_0x216d32(0x6e4)](_0x3909c8,Math[_0x216d32(0x67f)](_0x352c3a[_0x216d32(0x3d5)],(_0x38d3a9=_0x4c1e81[_0x216d32(0x3fa)])==null?_0x3909c8:_0x38d3a9)),_0x5e0a5d=(0x0,c[_0x216d32(0x24d)])(_0x1b5f39,_0x3909c8,_0x54df8a);if(_0x5e0a5d>_0xe64955[_0x216d32(0x57e)]){var _0x5db6b8,_0x4f7968;_0xe64955={'align':(_0x5db6b8=(_0x4f7968=_0x4c1e81[_0x216d32(0x579)])==null?void 0x0:_0x4f7968[_0x216d32(0x208)])==null?_0x1f6ce1:_0x5db6b8,'width':_0x5e0a5d};}_0x3909c8=Math['min'](_0x352c3a[_0x216d32(0x3d5)],_0x54df8a+0x1);}),_0xe64955;}function Rt(_0x1c0068,_0x4de4fc,_0x25f284){const _0x5bccc0=_0x56c0cf;var _0x3ac1a9,_0x255ff9;if(_0x4de4fc!==void 0x0)return _0x25f284==null?_0x4de4fc:_0x25f284;let _0x322050=((_0x3ac1a9=_0x1c0068==null||(_0x255ff9=_0x1c0068[_0x5bccc0(0x22c)])==null?void 0x0:_0x255ff9[_0x5bccc0(0x636)])==null?[]:_0x3ac1a9)[_0x5bccc0(0x263)](_0x47ed63=>{const _0x4dd9d6=_0x5bccc0;var _0x2b59f6;return(_0x2b59f6=_0x47ed63[_0x4dd9d6(0x579)])==null?void 0x0:_0x2b59f6[_0x4dd9d6(0x208)];})[_0x5bccc0(0x3f0)](_0x2d7e14=>_0x2d7e14!==void 0x0);return _0x322050[_0x5bccc0(0x49d)](i[_0x5bccc0(0x1e4)][_0x5bccc0(0x66f)])?i['HorizontalAlign']['CENTER']:_0x322050[_0x5bccc0(0x49d)](i[_0x5bccc0(0x1e4)][_0x5bccc0(0x379)])?i[_0x5bccc0(0x1e4)][_0x5bccc0(0x379)]:i['HorizontalAlign']['LEFT'];}function zt(_0xb193af){const _0x34b05f=_0x56c0cf;var _0xcc7685;let {documentData:_0x1d4dab,horizontalAlign:_0x305182,horizontalAnchor:_0x4e4cb8,isHorizontal:_0x336734,textRect:_0x5a45d5,textWrap:_0x894922}=_0xb193af;if(_0x336734===!0x1||_0x5a45d5['width']<=0x0)return{'contentWidth':_0x5a45d5[_0x34b05f(0x57e)],'measureAsNoWrap':!0x1,'textRect':_0x5a45d5};let _0x322531=Number[_0x34b05f(0x571)](_0xb193af['widthBuffer'])?Math[_0x34b05f(0x6e4)](0x0,(_0xcc7685=_0xb193af[_0x34b05f(0x410)])==null?0x0:_0xcc7685):0x0,_0xf2dd8b=Lt(_0x1d4dab,_0x305182),_0x27bd09=_0xf2dd8b[_0x34b05f(0x57e)]+_0x322531;if(_0x4e4cb8==='center'&&_0x27bd09>0x0&&_0x27bd09<_0x5a45d5['width'])return{'contentWidth':_0x27bd09,'measureAsNoWrap':_0x894922===_0x34b05f(0x3b5),'textRect':{..._0x5a45d5,'left':_0x5a45d5[_0x34b05f(0x3fb)]+(_0x5a45d5[_0x34b05f(0x57e)]-_0x27bd09)/0x2,'width':_0x27bd09}};let _0x1a4b10=_0x894922===_0x34b05f(0x3b5),_0x4354ad=(_0x1a4b10?_0x27bd09-_0x322531:(0x0,c['measureDocumentUnbreakableTextWidth'])(_0x1d4dab))+_0x322531,_0x58090d=Math[_0x34b05f(0x6e4)](_0x5a45d5['width'],_0x4354ad);if(_0x58090d===_0x5a45d5[_0x34b05f(0x57e)])return{'contentWidth':_0x58090d,'measureAsNoWrap':_0x1a4b10,'textRect':_0x5a45d5};let _0x19318a=_0x58090d-_0x5a45d5[_0x34b05f(0x57e)],_0x55049b=_0x1a4b10?Rt(_0x1d4dab,_0x305182,_0xf2dd8b['align']):_0x305182,_0x102641=It(_0x55049b)?_0x5a45d5['left']-_0x19318a:Ft(_0x55049b)?_0x5a45d5[_0x34b05f(0x3fb)]-_0x19318a/0x2:_0x5a45d5[_0x34b05f(0x3fb)];return{'contentWidth':_0x58090d,'measureAsNoWrap':_0x1a4b10,'textRect':{..._0x5a45d5,'left':_0x102641,'width':_0x58090d}};}function Bt(_0x19f535){const _0x4da4fe=_0x56c0cf;var _0x1dfaf2,_0x10ed73;return((_0x1dfaf2=_0x19f535==null||(_0x10ed73=_0x19f535[_0x4da4fe(0x22c)])==null?void 0x0:_0x10ed73[_0x4da4fe(0x4d7)])==null?'':_0x1dfaf2)[_0x4da4fe(0x40d)](/[\r\n]/g,'')[_0x4da4fe(0x3d5)]===0x0;}function Vt(_0x174ecb){const _0x2f6035=_0x56c0cf;var _0x4de71c,_0x5a14c1;let {documentData:_0x1fc4ff,isTextBox:_0x17f065,placeholder:_0x437e43,text:_0x3b2d2f=''}=_0x174ecb;if(!_0x17f065||!_0x437e43||_0x3b2d2f[_0x2f6035(0x3d5)]>0x0||!Bt(_0x1fc4ff))return;let _0x3d38e7=_0x1fc4ff==null||(_0x4de71c=_0x1fc4ff['documentStyle'])==null?void 0x0:_0x4de71c[_0x2f6035(0x692)];return{..._0x1fc4ff,'id':(_0x5a14c1=_0x1fc4ff==null?void 0x0:_0x1fc4ff['id'])==null?_0x2f6035(0x342):_0x5a14c1,'body':{'dataStream':_0x437e43+'\x0d\x0a','paragraphs':[{'startIndex':_0x437e43[_0x2f6035(0x3d5)],'paragraphId':(0x0,i[_0x2f6035(0x569)])(new Set())}],'textRuns':[{'st':0x0,'ed':_0x437e43[_0x2f6035(0x3d5)],'ts':{..._0x3d38e7,'cl':{'rgb':_0x2f6035(0x60a)}}}]},'documentStyle':{..._0x1fc4ff==null?void 0x0:_0x1fc4ff['documentStyle']}};}const Ht=0.001;function Ut(_0xceff3f,_0x5ee72f,_0x5e74ab,_0x6df036){return Math['abs'](_0x5e74ab-_0xceff3f)>Ht?_0xceff3f+_0x5ee72f-_0x6df036:_0xceff3f;}function Wt(_0x30ce80){const _0x57e679=_0x56c0cf;let {initialRect:_0x54b564,requestedRect:_0x473966,shapeData:_0x2a59eb}=_0x30ce80,_0x5bda22=_0x2a59eb[_0x57e679(0x1a1)];if(_0x2a59eb[_0x57e679(0x1f1)]!==!0x0||!_0x5bda22)return null;let _0x560652=_0x5bda22[_0x57e679(0x597)]!==!0x1,_0x1c49ab=Math[_0x57e679(0x57a)]((_0x560652?_0x473966[_0x57e679(0x57e)]:_0x473966[_0x57e679(0x480)])-(_0x560652?_0x54b564['width']:_0x54b564[_0x57e679(0x480)]))>Ht,_0x1a42ab=Math['abs']((_0x560652?_0x473966['height']:_0x473966['width'])-(_0x560652?_0x54b564[_0x57e679(0x480)]:_0x54b564[_0x57e679(0x57e)]))>Ht;if(!_0x1c49ab&&!_0x1a42ab)return null;let _0x30f50a=_0x560652?_0x54b564[_0x57e679(0x480)]:_0x54b564[_0x57e679(0x57e)],_0x30fe46=Number[_0x57e679(0x571)](_0x30ce80[_0x57e679(0x3fe)])&&_0x30ce80['naturalCrossSize']>0x0?_0x30ce80[_0x57e679(0x3fe)]:_0x30f50a;return{'rect':_0x560652?{'left':_0x1c49ab?_0x473966[_0x57e679(0x3fb)]:_0x54b564[_0x57e679(0x3fb)],'top':Ut(_0x54b564[_0x57e679(0x2ac)],_0x54b564[_0x57e679(0x480)],_0x473966['top'],_0x30fe46),'width':_0x1c49ab?_0x473966[_0x57e679(0x57e)]:_0x54b564[_0x57e679(0x57e)],'height':_0x30fe46}:{'left':Ut(_0x54b564[_0x57e679(0x3fb)],_0x54b564[_0x57e679(0x57e)],_0x473966[_0x57e679(0x3fb)],_0x30fe46),'top':_0x1c49ab?_0x473966[_0x57e679(0x2ac)]:_0x54b564[_0x57e679(0x2ac)],'width':_0x30fe46,'height':_0x1c49ab?_0x473966[_0x57e679(0x480)]:_0x54b564[_0x57e679(0x480)]},'shapeData':_0x1c49ab?{..._0x2a59eb,'shapeText':{..._0x5bda22,'autoFitType':s['ShapeTextAutoFitType'][_0x57e679(0x2c0)],'textWrap':'square'}}:_0x2a59eb};}function Gt(_0x43f43d,_0x395042){const _0x528bdc=_0x56c0cf;return Math[_0x528bdc(0x6e4)](Number[_0x528bdc(0x571)](_0x43f43d)?Math[_0x528bdc(0x6e4)](0x1,_0x43f43d):0x1,Number[_0x528bdc(0x571)](_0x395042)?Math['max'](0x1,_0x395042):0x1);}function Kt(_0x327241){const _0x3f5f67=_0x56c0cf;try{var _0x24a2c3;let _0x5a9a33=_0x327241==null||(_0x24a2c3=_0x327241['getAbsolutePosition']())==null?void 0x0:_0x24a2c3[_0x3f5f67(0x480)];return Number[_0x3f5f67(0x571)](_0x5a9a33)?_0x5a9a33:void 0x0;}catch{return;}}function qt(_0x59f060,_0x2eccad){const _0x58255c=_0x56c0cf;var _0x454fd8,_0x51aeb4;return Math[_0x58255c(0x57a)](_0x59f060[_0x58255c(0x699)]-_0x2eccad[_0x58255c(0x699)])<=0.001&&Math[_0x58255c(0x57a)](_0x59f060[_0x58255c(0x2eb)]-_0x2eccad[_0x58255c(0x2eb)])<=0.001&&Math['abs'](_0x59f060[_0x58255c(0x2b3)]-_0x2eccad[_0x58255c(0x2b3)])<=0.001&&Math['abs'](_0x59f060['editorWidth']-_0x2eccad['editorWidth'])<=0.001&&Math[_0x58255c(0x57a)](_0x59f060[_0x58255c(0x474)]-_0x2eccad[_0x58255c(0x474)])<=0.001&&Math[_0x58255c(0x57a)](((_0x454fd8=_0x59f060[_0x58255c(0x484)])==null?_0x59f060[_0x58255c(0x34a)]:_0x454fd8)-((_0x51aeb4=_0x2eccad['editorSurfaceWidth'])==null?_0x2eccad['editorWidth']:_0x51aeb4))<=0.001;}function Jt(_0x328b92,_0x2ecbdf){const _0x58c678=_0x56c0cf;return _0x328b92&&!!(_0x2ecbdf!=null&&_0x2ecbdf[_0x58c678(0x3d5)]);}function Yt(_0x2a5483){const _0x25489e=_0x56c0cf;var _0x1c4d8e;let _0x3eeab0=(0x0,a[_0x25489e(0x4ea)])(c[_0x25489e(0x4f8)])[_0x25489e(0x68c)](_0x2a5483),_0x5018ae=_0x3eeab0==null?void 0x0:_0x3eeab0[_0x25489e(0x20a)](u[_0x25489e(0x1b7)]),_0x513ea6=(0x0,a[_0x25489e(0x430)])(_0x5018ae==null?void 0x0:_0x5018ae[_0x25489e(0x354)]);return Jt((_0x1c4d8e=_0x5018ae==null?void 0x0:_0x5018ae[_0x25489e(0x351)])==null?!0x1:_0x1c4d8e,_0x513ea6==null?void 0x0:_0x513ea6[_0x25489e(0x648)]);}const Xt=0xfa0;function Zt(_0x4e97b4,_0x55cbea){const _0xa1b7ad=_0x56c0cf;var _0x23a0e4,_0x4806dc;let _0x140598=a[_0xa1b7ad(0x5c2)][_0xa1b7ad(0x263)](_0x415785=>Number(_0x415785[_0xa1b7ad(0x202)]))[_0xa1b7ad(0x3f0)](_0x282b1f=>Number[_0xa1b7ad(0x571)](_0x282b1f)&&_0x282b1f>0x0)[_0xa1b7ad(0x57c)]((_0x599633,_0x4a2137)=>_0x599633-_0x4a2137),_0x185f5f=Number[_0xa1b7ad(0x571)](_0x4e97b4)?_0x4e97b4:0xe;if(_0x55cbea>0x0){var _0x3df772,_0x53a5c1;return(_0x3df772=(_0x53a5c1=_0x140598[_0xa1b7ad(0x2cd)](_0x15d38f=>_0x15d38f>_0x185f5f))==null?_0x140598[_0x140598[_0xa1b7ad(0x3d5)]-0x1]:_0x53a5c1)==null?_0x185f5f:_0x3df772;}return(_0x23a0e4=(_0x4806dc=[..._0x140598][_0xa1b7ad(0x479)]()[_0xa1b7ad(0x2cd)](_0x236b9d=>_0x236b9d<_0x185f5f))==null?_0x140598[0x0]:_0x4806dc)==null?_0x185f5f:_0x23a0e4;}function Qt(_0x54e80d){const _0x700d44=_0x56c0cf;let {editorUnitId:_0x57cd48,editingParams:_0x2e7abe}=_0x54e80d;return _0x2e7abe?[_0x57cd48,_0x2e7abe[_0x700d44(0x22a)],_0x2e7abe[_0x700d44(0x390)],_0x2e7abe[_0x700d44(0x4d4)],_0x2e7abe[_0x700d44(0x465)]][_0x700d44(0x6e5)]('|'):null;}function $t(_0x2a268e,_0x1476e7){const _0xe98edd=_0x56c0cf;return _0x2a268e?_0x2a268e instanceof Node&&_0x1476e7!=null&&_0x1476e7[_0xe98edd(0x201)](_0x2a268e)?!0x1:_0x2a268e instanceof Element?!_0x2a268e['closest'](_0xe98edd(0x57d)):!0x0:!0x0;}function en(_0x232015){const _0x48ea52=_0x56c0cf;return _0x232015[_0x48ea52(0x377)]['getShapeTextRect'](_0x232015[_0x48ea52(0x526)]);}function tn(_0x9aded0){const _0x2ff24b=_0x56c0cf;var _0x3fb8e6,_0x311cf7;let _0xfa54c2=q(_0x9aded0[_0x2ff24b(0x1a1)]);return{..._0xfa54c2,'isHorizontal':(_0x3fb8e6=(_0x311cf7=_0x9aded0[_0x2ff24b(0x597)])==null?_0xfa54c2[_0x2ff24b(0x597)]:_0x311cf7)==null?!0x0:_0x3fb8e6,'dataModel':_0x9aded0['dataModel']};}function nn(_0x4bc9f0,_0x39b607){const _0x424a64=_0x56c0cf;return{'id':_0x4bc9f0,'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,i[_0x424a64(0x569)])(new Set())}]},'documentStyle':{'pageSize':{'width':_0x39b607,'height':0x1/0x0}}};}function rn(_0x339e7f){const _0x120dc0=_0x56c0cf;let _0x583a9d=Number['isFinite'](_0x339e7f[_0x120dc0(0x35e)])?Math[_0x120dc0(0x6e4)](0x0,_0x339e7f[_0x120dc0(0x35e)]):0x0,_0x2c860f=Math[_0x120dc0(0x6e4)](0x78,Math['ceil'](_0x583a9d+0x10));return _0x339e7f[_0x120dc0(0x597)]?{'width':_0x2c860f,'height':0x28}:{'width':0x28,'height':_0x2c860f};}function an(_0x367f7c,_0x2e9554){const _0x557ab8=_0x56c0cf;return(0x0,c[_0x557ab8(0x48b)])({..._0x367f7c,'body':{'dataStream':_0x2e9554+'\x0d\x0a','paragraphs':[{'startIndex':_0x2e9554[_0x557ab8(0x3d5)],'paragraphId':(0x0,i['createParagraphId'])(new Set())}],'textRuns':[]}});}function on(_0x4e9ed2){const _0x4a0677=_0x56c0cf;let _0x56b359=Number['isFinite'](_0x4e9ed2['textRectWidth'])&&_0x4e9ed2['textRectWidth']>0x0?_0x4e9ed2[_0x4a0677(0x4cb)]:0x1;if(!_0x4e9ed2[_0x4a0677(0x228)])return _0x56b359;let _0x56cdf2=_0x4e9ed2[_0x4a0677(0x6b7)];return Math[_0x4a0677(0x6e4)](_0x56b359,Number[_0x4a0677(0x571)](_0x56cdf2)&&_0x56cdf2!==void 0x0&&_0x56cdf2>0x0?Math[_0x4a0677(0x6e4)](_0x56cdf2,Xt):Xt);}function sn(_0x2e69a1){const _0x342d0b=_0x56c0cf;return(0x0,c[_0x342d0b(0x48b)])(_0x2e69a1);}function cn(_0xfc5fd1){const _0x4aa528=_0x56c0cf;let _0x29d409=Number['isFinite'](_0xfc5fd1[_0x4aa528(0x4cb)])&&_0xfc5fd1[_0x4aa528(0x4cb)]>0x0?_0xfc5fd1[_0x4aa528(0x4cb)]:0x1;if(!_0xfc5fd1[_0x4aa528(0x228)])return _0x29d409;let _0x274a1a=Number['isFinite'](_0xfc5fd1[_0x4aa528(0x1cd)])&&_0xfc5fd1[_0x4aa528(0x1cd)]>0x0?_0xfc5fd1[_0x4aa528(0x1cd)]:0x0,_0x54a6c1=Number['isFinite'](_0xfc5fd1['measuredContentWidth'])&&_0xfc5fd1['measuredContentWidth']!==void 0x0&&_0xfc5fd1[_0x4aa528(0x385)]>0x0?_0xfc5fd1['measuredContentWidth']:void 0x0,_0x154d08=_0x274a1a+0x2;return Math[_0x4aa528(0x6e4)](_0x29d409,_0x54a6c1==null?_0x154d08:_0x54a6c1);}function ln(_0x32583b){const _0x3a68f3=_0x56c0cf;if(!_0x32583b[_0x3a68f3(0x228)])return _0x32583b['renderedContentWidth'];let _0x45ecd8=Number[_0x3a68f3(0x571)](_0x32583b['measuredContentWidth'])&&_0x32583b[_0x3a68f3(0x385)]!==void 0x0&&_0x32583b[_0x3a68f3(0x385)]>0x0?_0x32583b[_0x3a68f3(0x385)]:void 0x0;return _0x32583b[_0x3a68f3(0x564)]&&_0x45ecd8!==void 0x0?_0x45ecd8:_0x32583b[_0x3a68f3(0x3ae)];}function un(_0x158f77){const _0x13409a=_0x56c0cf;let _0x3d0817=Number['isFinite'](_0x158f77[_0x13409a(0x4cb)])&&_0x158f77[_0x13409a(0x4cb)]>0x0?_0x158f77[_0x13409a(0x4cb)]:0x1;if(!_0x158f77[_0x13409a(0x228)])return _0x3d0817;let _0xd2d96c=Number['isFinite'](_0x158f77[_0x13409a(0x3ae)])&&_0x158f77[_0x13409a(0x3ae)]>0x0?_0x158f77[_0x13409a(0x3ae)]:_0x3d0817;return Math['max'](_0x3d0817,_0xd2d96c);}function dn(_0x4e4612){const _0x3194c3=_0x56c0cf;let _0x238508=Number[_0x3194c3(0x571)](_0x4e4612['editorWidth'])&&_0x4e4612[_0x3194c3(0x34a)]>0x0?_0x4e4612[_0x3194c3(0x34a)]:0x1;if(!_0x4e4612['autoFitNoWrap'])return _0x238508;let _0x3d823a=Number[_0x3194c3(0x571)](_0x4e4612[_0x3194c3(0x3c2)])&&_0x4e4612[_0x3194c3(0x3c2)]>0x0?_0x4e4612[_0x3194c3(0x3c2)]:0x1,_0x3d4bd3=Number[_0x3194c3(0x571)](_0x4e4612[_0x3194c3(0x529)])&&_0x4e4612[_0x3194c3(0x529)]>0x0?_0x4e4612[_0x3194c3(0x529)]:_0x238508/_0x3d823a;return Math[_0x3194c3(0x6e4)](_0x238508,_0x3d4bd3*_0x3d823a);}function fn(_0x25624b){const _0x2236b1=_0x56c0cf;var _0x492b2a;let _0xf3b97b=(_0x492b2a=_0x25624b[_0x2236b1(0x581)])==null?0x1:_0x492b2a;return Math[_0x2236b1(0x57a)](_0x25624b['nextWidth']-_0x25624b[_0x2236b1(0x6d9)])>_0xf3b97b||Math['abs'](_0x25624b[_0x2236b1(0x1a5)]-_0x25624b[_0x2236b1(0x26d)])>_0xf3b97b;}function pn(_0x5bf115){const _0x1ad3d3=_0x56c0cf;var _0x2dd942,_0x418cc9;let {adapter:_0x121301,editingParams:_0x111875}=_0x5bf115;return!_0x121301[_0x1ad3d3(0x3b1)]||!_0x111875?!0x1:(_0x2dd942=(_0x418cc9=_0x121301[_0x1ad3d3(0x47a)])==null?void 0x0:_0x418cc9[_0x1ad3d3(0x35d)](_0x121301,_0x111875))==null?!0x0:_0x2dd942;}function mn(_0x52c4f5){var _0x46912e;let {adapter:_0x7a2764,editingParams:_0x23aeb6}=_0x52c4f5;return _0x23aeb6?((_0x46912e=_0x7a2764['deferHostSizeUpdateDuringEditing'])==null?void 0x0:_0x46912e['call'](_0x7a2764,_0x23aeb6))===!0x0:!0x1;}function hn(_0x178248){const _0x33f5cf=_0x56c0cf;return _0x178248[_0x33f5cf(0x5f0)]?i[_0x33f5cf(0x5e9)][_0x33f5cf(0x338)]:_0x178248['verticalAlign'];}function gn(_0x5cae1c){const _0x33e532=_0x56c0cf;let {actualHeight:_0x46559f,contentWidth:_0x468038,opticalVerticalOffset:_0x10af5e,scaleX:_0x389085,scaleY:_0x1606e5,textRect:_0x3b5ae6,verticalAlign:_0x4ffc24}=_0x5cae1c,_0x253b43=Mt({'contentHeight':_0x46559f,'verticalAlign':_0x4ffc24,'verticalOffset':_0x10af5e,'viewportHeight':Math[_0x33e532(0x6e4)](0x1,_0x3b5ae6[_0x33e532(0x480)])}),_0x59148d=_0x253b43[_0x33e532(0x230)],_0x3d938b=Math[_0x33e532(0x6e4)](0x1,_0x3b5ae6['width'],_0x468038==null?_0x3b5ae6[_0x33e532(0x57e)]:_0x468038);return{'documentMarginTop':_0x253b43[_0x33e532(0x589)],'editorLeft':Math[_0x33e532(0x6e4)](0x0,_0x3b5ae6[_0x33e532(0x3fb)])*_0x389085,'editorTop':(Math[_0x33e532(0x6e4)](0x0,_0x3b5ae6[_0x33e532(0x2ac)])+_0x253b43[_0x33e532(0x1d7)])*_0x1606e5,'editorWidth':_0x3d938b*_0x389085,'editorHeight':_0x59148d*_0x1606e5,'pageHeight':_0x59148d};}function _n(_0x11f089){const _0x51e3b0=_0x56c0cf;var _0x166162;let _0x6ee5c0=_0x11f089[_0x51e3b0(0x208)]===i['HorizontalAlign'][_0x51e3b0(0x66f)]?'center':_0x11f089[_0x51e3b0(0x208)]===i[_0x51e3b0(0x1e4)][_0x51e3b0(0x379)]?'right':_0x51e3b0(0x3fb);return{'left':_0x11f089[_0x51e3b0(0x2eb)],'top':_0x11f089[_0x51e3b0(0x2b3)]+_0x11f089['documentMarginTop'],'width':(_0x166162=_0x11f089['editorSurfaceWidth'])==null?_0x11f089[_0x51e3b0(0x34a)]:_0x166162,'textAlign':_0x6ee5c0};}function vn(_0x1accfc){const _0x3cb056=_0x56c0cf;let {allowShrink:_0x4ce4e8=!0x1,hostWidth:_0x2716f8,hostHeight:_0x275126,textRect:_0x20a277,contentWidth:_0x3d00f9,contentHeight:_0x558b07}=_0x1accfc,_0x13a5a6=Number[_0x3cb056(0x571)](_0x2716f8)&&_0x2716f8>0x0?_0x2716f8:0x1,_0x58973a=Number[_0x3cb056(0x571)](_0x275126)&&_0x275126>0x0?_0x275126:0x1,_0xd37a5=Math[_0x3cb056(0x6e4)](0x0,_0x20a277[_0x3cb056(0x3fb)]),_0x3a2f6f=Math['max'](0x0,_0x20a277['top']),_0x3d1a5a=Math[_0x3cb056(0x6e4)](0x1,_0x20a277['width']),_0x33c76a=Math[_0x3cb056(0x6e4)](0x1,_0x20a277['height']),_0x561442=Math[_0x3cb056(0x6e4)](0x0,_0x13a5a6-_0xd37a5-_0x3d1a5a),_0xd87bb3=Math[_0x3cb056(0x6e4)](0x0,_0x58973a-_0x3a2f6f-_0x33c76a),_0x350857=Math[_0x3cb056(0x6e4)](0x1,_0x4ce4e8?_0x3d00f9:Math[_0x3cb056(0x6e4)](_0x3d1a5a,_0x3d00f9)),_0x130363=Math['max'](0x1,_0x4ce4e8?_0x558b07:Math[_0x3cb056(0x6e4)](_0x33c76a,_0x558b07)),_0x3717bc=Math[_0x3cb056(0x373)](_0xd37a5+_0x350857+_0x561442),_0x51951c=Math['ceil'](_0x3a2f6f+_0x130363+_0xd87bb3);return{'width':_0x4ce4e8?_0x3717bc:Math[_0x3cb056(0x6e4)](_0x13a5a6,_0x3717bc),'height':_0x4ce4e8?_0x51951c:Math[_0x3cb056(0x6e4)](_0x58973a,_0x51951c)};}function yn(_0x5ac420){const _0x1d8fcd=_0x56c0cf;let _0x14a3b7=Math[_0x1d8fcd(0x6e4)](0x1,_0x5ac420[_0x1d8fcd(0x4ed)]),_0x1376b9=Math['max'](0x1,_0x5ac420[_0x1d8fcd(0x2ef)]);return _0x5ac420[_0x1d8fcd(0x6fa)]===_0x1d8fcd(0x57e)?{'width':_0x14a3b7,'height':_0x1376b9}:{'width':_0x1376b9,'height':_0x14a3b7};}function bn(_0x213480,_0x4a8ff4,_0x1b700b,_0x546fbd){const _0x4cb903=_0x56c0cf;return{'top':_0x546fbd===void 0x0?0x0:_0x4a8ff4,'left':_0x1b700b===void 0x0?0x0:_0x213480,'width':_0x1b700b==null?_0x213480:_0x1b700b,'height':_0x546fbd==null?_0x4a8ff4:_0x546fbd,'borderColor':_0x4cb903(0x236),'outlineColor':'transparent','backgroundColor':_0x4cb903(0x236)};}function xn(_0x213555,_0xc0dbf6){const _0x38efda=_0x56c0cf;var _0x55aaba;if(!_0x213555)return;_0x213555[_0x38efda(0x54c)]['left']=_0xc0dbf6[_0x38efda(0x2eb)]+'px',_0x213555[_0x38efda(0x54c)][_0x38efda(0x2ac)]=_0xc0dbf6[_0x38efda(0x2b3)]+'px';let _0x238026=(_0x55aaba=_0xc0dbf6['editorSurfaceWidth'])==null?_0xc0dbf6['editorWidth']:_0x55aaba;_0x213555[_0x38efda(0x54c)][_0x38efda(0x57e)]=_0x238026+'px',_0x213555[_0x38efda(0x54c)]['height']=Math[_0x38efda(0x6e4)](0x1,_0xc0dbf6[_0x38efda(0x474)])+'px';}function Sn(_0x5be07b,..._0x3bf812){const _0x399a94=_0x56c0cf;_0x5be07b[_0x399a94(0x3ba)](..._0x3bf812),_0x5be07b[_0x399a94(0x359)]();}function Cn(_0x279dd7){const _0x32cd62=_0x56c0cf;return _0x279dd7[_0x32cd62(0x688)]()?_0x279dd7['getDocumentData']():null;}function wn(_0x36fbb2){const _0x5d2be1=_0x56c0cf;var _0x2a1c31,_0x3748a9;let _0x21eb55=_0x36fbb2==null||(_0x2a1c31=_0x36fbb2[_0x5d2be1(0x4f6)])==null||(_0x3748a9=_0x2a1c31[_0x5d2be1(0x60c)])==null?void 0x0:_0x3748a9[_0x5d2be1(0x35d)](_0x2a1c31);_0x21eb55&&(_0x21eb55[_0x5d2be1(0x54c)][_0x5d2be1(0x472)]=_0x5d2be1(0x236));}function Tn(_0x133140){const _0x53b309=_0x56c0cf;var _0xe6897b,_0x2575a4;let _0x51fd15=_0x33aed9=>{const _0x58e83b=_0x4435;if(!_0x33aed9||typeof _0x33aed9!=_0x58e83b(0x6ec))return;let _0x1d731a=_0x33aed9;_0x1d731a[_0x58e83b(0x460)]!==void 0x0&&(_0x1d731a[_0x58e83b(0x460)]=0x0),_0x1d731a[_0x58e83b(0x1b6)]!==void 0x0&&(_0x1d731a[_0x58e83b(0x1b6)]=0x0);};_0x51fd15(_0x133140==null?void 0x0:_0x133140[_0x53b309(0x4c0)]),_0x133140==null||(_0xe6897b=_0x133140['components'])==null||(_0x2575a4=_0xe6897b[_0x53b309(0x660)])==null||_0x2575a4['call'](_0xe6897b,_0x51fd15);}function En(_0x504079){const _0xa0e000=_0x56c0cf;var _0x811c08,_0x4ca5df,_0x7803af,_0x291bdc;_0x504079==null||(_0x811c08=_0x504079[_0xa0e000(0x4c0)])==null||(_0x4ca5df=_0x811c08[_0xa0e000(0x3d9)])==null||_0x4ca5df[_0xa0e000(0x35d)](_0x811c08,!0x0);let _0x14d6bd=_0x504079==null?void 0x0:_0x504079[_0xa0e000(0x5b6)];_0x14d6bd==null||(_0x7803af=_0x14d6bd['makeDirty'])==null||_0x7803af[_0xa0e000(0x35d)](_0x14d6bd,!0x0),_0x14d6bd==null||(_0x291bdc=_0x14d6bd[_0xa0e000(0x3e9)])==null||_0x291bdc[_0xa0e000(0x35d)](_0x14d6bd);}function Dn(_0x4676bc,_0x4d816e,_0x1b1021={}){const _0x16b65a=_0x56c0cf;let _0x3f02bc=a[_0x16b65a(0x5e7)][_0x16b65a(0x515)],_0x57a930=a['MetaKeys'][_0x16b65a(0x515)]|a[_0x16b65a(0x5e7)][_0x16b65a(0x5d3)];return{'keyCodes':[..._0x1b1021[_0x16b65a(0x4c8)]?[{'keyCode':a[_0x16b65a(0x1d5)][_0x16b65a(0x319)]},{'keyCode':a['KeyCode'][_0x16b65a(0x319)],'metaKey':a[_0x16b65a(0x5e7)][_0x16b65a(0x5d3)]},{'keyCode':a[_0x16b65a(0x1d5)][_0x16b65a(0x319)],'metaKey':_0x3f02bc}]:[{'keyCode':a['KeyCode'][_0x16b65a(0x319)]}],{'keyCode':a[_0x16b65a(0x1d5)]['ESC']},{'keyCode':a['KeyCode'][_0x16b65a(0x361)]},{'keyCode':a[_0x16b65a(0x1d5)][_0x16b65a(0x215)]},{'keyCode':a[_0x16b65a(0x1d5)]['A'],'metaKey':_0x3f02bc},{'keyCode':a[_0x16b65a(0x1d5)]['B'],'metaKey':_0x3f02bc},{'keyCode':a[_0x16b65a(0x1d5)]['I'],'metaKey':_0x3f02bc},{'keyCode':a['KeyCode']['U'],'metaKey':_0x3f02bc},{'keyCode':a[_0x16b65a(0x1d5)]['X'],'metaKey':_0x57a930},{'keyCode':a[_0x16b65a(0x1d5)][_0x16b65a(0x57b)],'metaKey':_0x3f02bc},{'keyCode':a[_0x16b65a(0x1d5)][_0x16b65a(0x5d4)],'metaKey':_0x3f02bc},{'keyCode':a[_0x16b65a(0x1d5)][_0x16b65a(0x5d4)],'metaKey':a[_0x16b65a(0x5e7)]['ALT']|a[_0x16b65a(0x5e7)][_0x16b65a(0x5d3)]},{'keyCode':a['KeyCode'][_0x16b65a(0x57b)],'metaKey':a[_0x16b65a(0x5e7)][_0x16b65a(0x69b)]|a[_0x16b65a(0x5e7)][_0x16b65a(0x5d3)]},{'keyCode':a[_0x16b65a(0x1d5)]['K'],'metaKey':_0x3f02bc},{'keyCode':a[_0x16b65a(0x1d5)]['L'],'metaKey':_0x57a930},{'keyCode':a[_0x16b65a(0x1d5)]['R'],'metaKey':_0x57a930},{'keyCode':a[_0x16b65a(0x1d5)]['E'],'metaKey':_0x57a930},{'keyCode':a[_0x16b65a(0x1d5)]['J'],'metaKey':_0x57a930},{'keyCode':a[_0x16b65a(0x1d5)]['PERIOD'],'metaKey':_0x57a930},{'keyCode':a[_0x16b65a(0x1d5)][_0x16b65a(0x5ed)],'metaKey':_0x57a930},{'keyCode':a['KeyCode'][_0x16b65a(0x70b)],'metaKey':_0x57a930},{'keyCode':a[_0x16b65a(0x1d5)]['Z'],'metaKey':_0x3f02bc},{'keyCode':a['KeyCode']['Y'],'metaKey':_0x3f02bc},{'keyCode':a[_0x16b65a(0x1d5)]['Z'],'metaKey':_0x57a930}],'handler':(_0x444a11,_0x478e67)=>{const _0x533d84=_0x16b65a;switch(_0x444a11+':'+(_0x478e67==null?0x0:_0x478e67)){case a[_0x533d84(0x1d5)][_0x533d84(0x582)]+':0':var _0x2c93de;(_0x2c93de=_0x1b1021[_0x533d84(0x498)])==null||_0x2c93de[_0x533d84(0x35d)](_0x1b1021);break;case a[_0x533d84(0x1d5)][_0x533d84(0x319)]+':0':if(_0x1b1021[_0x533d84(0x4c8)]){var _0x34b921;(_0x34b921=_0x1b1021['commit'])==null||_0x34b921[_0x533d84(0x35d)](_0x1b1021);}else _0x4676bc[_0x533d84(0x65d)](u['BreakLineCommand']['id']);break;case a['KeyCode'][_0x533d84(0x319)]+':'+a[_0x533d84(0x5e7)][_0x533d84(0x5d3)]:case a[_0x533d84(0x1d5)]['ENTER']+':'+_0x3f02bc:_0x4676bc[_0x533d84(0x65d)](u[_0x533d84(0x49f)]['id']);break;case a[_0x533d84(0x1d5)][_0x533d84(0x361)]+':0':_0x4676bc[_0x533d84(0x65d)](u[_0x533d84(0x652)]['id']);break;case a[_0x533d84(0x1d5)][_0x533d84(0x215)]+':0':_0x4676bc[_0x533d84(0x65d)](u[_0x533d84(0x426)]['id']);break;case a[_0x533d84(0x1d5)]['A']+':'+_0x3f02bc:_0x4676bc[_0x533d84(0x65d)](u['DocSelectAllCommand']['id']);break;case a['KeyCode']['B']+':'+_0x3f02bc:_0x4676bc[_0x533d84(0x65d)](u[_0x533d84(0x6b9)]['id']);break;case a[_0x533d84(0x1d5)]['I']+':'+_0x3f02bc:_0x4676bc[_0x533d84(0x65d)](u['SetInlineFormatItalicCommand']['id']);break;case a[_0x533d84(0x1d5)]['U']+':'+_0x3f02bc:_0x4676bc[_0x533d84(0x65d)](u['SetInlineFormatUnderlineCommand']['id']);break;case a[_0x533d84(0x1d5)]['X']+':'+_0x57a930:_0x4676bc['executeCommand'](u['SetInlineFormatStrikethroughCommand']['id']);break;case a[_0x533d84(0x1d5)][_0x533d84(0x57b)]+':'+_0x3f02bc:_0x4676bc[_0x533d84(0x65d)](u[_0x533d84(0x563)]['id']);break;case a['KeyCode'][_0x533d84(0x5d4)]+':'+_0x3f02bc:_0x4676bc['executeCommand'](u[_0x533d84(0x257)]['id']);break;case a[_0x533d84(0x1d5)][_0x533d84(0x5d4)]+':'+(a[_0x533d84(0x5e7)][_0x533d84(0x69b)]|a[_0x533d84(0x5e7)][_0x533d84(0x5d3)]):_0x4676bc[_0x533d84(0x65d)](u[_0x533d84(0x41f)]['id'],{'value':Zt(_0x1b1021[_0x533d84(0x403)],0x1)});break;case a['KeyCode']['COMMA']+':'+(a['MetaKeys'][_0x533d84(0x69b)]|a[_0x533d84(0x5e7)][_0x533d84(0x5d3)]):_0x4676bc[_0x533d84(0x65d)](u['SetInlineFormatFontSizeCommand']['id'],{'value':Zt(_0x1b1021[_0x533d84(0x403)],-0x1)});break;case a[_0x533d84(0x1d5)]['K']+':'+_0x3f02bc:_0x4676bc[_0x533d84(0x65d)](_0x533d84(0x371));break;case a[_0x533d84(0x1d5)]['L']+':'+_0x57a930:_0x4676bc[_0x533d84(0x65d)](u[_0x533d84(0x5dc)]['id']);break;case a['KeyCode']['R']+':'+_0x57a930:_0x4676bc[_0x533d84(0x65d)](u[_0x533d84(0x533)]['id']);break;case a[_0x533d84(0x1d5)]['E']+':'+_0x57a930:_0x4676bc['executeCommand'](u[_0x533d84(0x603)]['id']);break;case a[_0x533d84(0x1d5)]['J']+':'+_0x57a930:_0x4676bc[_0x533d84(0x65d)](u['AlignJustifyCommand']['id']);break;case a[_0x533d84(0x1d5)][_0x533d84(0x5d4)]+':'+_0x57a930:_0x4676bc['executeCommand'](ct);break;case a['KeyCode'][_0x533d84(0x5ed)]+':'+_0x57a930:_0x4676bc['executeCommand'](u[_0x533d84(0x3a3)]['id']);break;case a['KeyCode'][_0x533d84(0x70b)]+':'+_0x57a930:_0x4676bc['executeCommand'](u[_0x533d84(0x26f)]['id']);break;case a['KeyCode']['Z']+':'+_0x3f02bc:_0x4d816e?_0x4d816e(i['UndoCommand']['id']):_0x4676bc['executeCommand'](i[_0x533d84(0x2ae)]['id']);break;case a['KeyCode']['Y']+':'+_0x3f02bc:case a[_0x533d84(0x1d5)]['Z']+':'+_0x57a930:_0x4d816e?_0x4d816e(i['RedoCommand']['id']):_0x4676bc[_0x533d84(0x65d)](i[_0x533d84(0x461)]['id']);break;}}};}const On=function(_0x369e37){const _0x5b8c4d=_0x56c0cf;var _0x31da25,_0x4d5f69,_0x11f3b0;let {adapter:_0x3e5cf7,containerWidth:_0x25264d,containerHeight:_0x23757f,editingParams:_0x4774ca,editingService:_0x2c74c0,editorUnitId:_0x1eeb58,scaleX:_0x4c68c5,scaleY:_0x5b5cd2,verticalAlignCommandId:_0x8a6457}=_0x369e37,_0x133da6=_0x4c68c5||0x1,_0x1af67f=_0x5b5cd2||0x1,_0x195002=(0x0,a['useDependency'])(u['IEditorService']),_0x2f6f4c=(0x0,a[_0x5b8c4d(0x4ea)])(c[_0x5b8c4d(0x4f8)]),_0x2bf35a=(0x0,a[_0x5b8c4d(0x4ea)])(i['IUniverInstanceService']),_0x468d69=(0x0,a['useDependency'])(i[_0x5b8c4d(0x6da)]),_0x22141e=(0x0,a[_0x5b8c4d(0x4ea)])(l['DocStateEmitService']),_0x4ae146=(0x0,a['useDependency'])(i[_0x5b8c4d(0x5ad)]),_0x1db622=(0x0,n[_0x5b8c4d(0x42e)])(()=>_0x4ae146['t'](_0x5b8c4d(0x4dd)),[(0x0,a[_0x5b8c4d(0x430)])(()=>_0x4ae146[_0x5b8c4d(0x6c7)],_0x4ae146[_0x5b8c4d(0x45d)](),!0x1,[_0x4ae146]),_0x4ae146]),_0x32bcc6=(0x0,a['useObservable'])(_0x2c74c0['onSavingEditorData$']),_0x39d9f4=(0x0,n[_0x5b8c4d(0x2c5)])(!0x1),_0x30b5da=(0x0,n[_0x5b8c4d(0x2c5)])(null),_0x3fe361=(0x0,n[_0x5b8c4d(0x2c5)])(null),_0xd9deae=(0x0,n[_0x5b8c4d(0x2c5)])(null),_0x31dc14=(0x0,n[_0x5b8c4d(0x2c5)])(null),_0x40994b=(0x0,n[_0x5b8c4d(0x2c5)])(null),_0x20a96c=(0x0,n[_0x5b8c4d(0x2c5)])(null),_0x105e5b=(0x0,n[_0x5b8c4d(0x2c5)])(null),_0x42f4ba=(0x0,n[_0x5b8c4d(0x2c5)])({'width':0x0,'height':0x0}),_0x568364=(0x0,n[_0x5b8c4d(0x2c5)])(null),_0x4f5e7e=(0x0,n[_0x5b8c4d(0x2c5)])(()=>{}),_0x4fd45e=(0x0,n['useRef'])(()=>{}),_0x187f86=(0x0,n[_0x5b8c4d(0x2c5)])(()=>{}),[_0x48e538,_0x2c764e]=(0x0,n[_0x5b8c4d(0x1c0)])({'documentMarginTop':0x0,'editorLeft':0x0,'editorTop':0x0,'editorWidth':_0x25264d,'editorHeight':_0x23757f});_0x39d9f4[_0x5b8c4d(0x21b)]=!!_0x32bcc6;let _0x37600e=(0x0,n[_0x5b8c4d(0x4bf)])(_0x5c2aa4=>{const _0x55168f=_0x5b8c4d;xn(_0x3fe361[_0x55168f(0x21b)],_0x5c2aa4),queueMicrotask(()=>{_0x2c764e(_0x392aa9=>qt(_0x392aa9,_0x5c2aa4)?_0x392aa9:_0x5c2aa4);});},[]),_0x169d9c=(0x0,n[_0x5b8c4d(0x4bf)])(()=>_0x2bf35a[_0x5b8c4d(0x689)](_0x1eeb58,i[_0x5b8c4d(0x5de)][_0x5b8c4d(0x30a)]),[_0x1eeb58,_0x2bf35a]),_0x3a6d6f=(0x0,n['useCallback'])(()=>{const _0x2ad2c9=_0x5b8c4d;var _0x2139d9;let _0x16a41d=_0x133da6,_0x1bbd39=_0x1af67f;if(!_0x4774ca)return{'scaleAdjust':0x1,'renderScaleX':_0x16a41d,'renderScaleY':_0x1bbd39};let _0x2a7872=_0x2f6f4c[_0x2ad2c9(0x68c)](_0x4774ca['unitId']),_0x4895cd=_0x2a7872==null?void 0x0:_0x2a7872[_0x2ad2c9(0x5b6)][_0x2ad2c9(0x576)](),_0x4442a1=_0x2a7872==null?void 0x0:_0x2a7872[_0x2ad2c9(0x4f6)][_0x2ad2c9(0x60c)](),_0xd1080b=_0x4442a1?Number[_0x2ad2c9(0x4c5)](_0x4442a1['style']['width']||''):0x0,_0x3e3967=(_0x2139d9=_0x4442a1==null?void 0x0:_0x4442a1[_0x2ad2c9(0x518)]()[_0x2ad2c9(0x57e)])==null?0x0:_0x2139d9,_0x411ba8=_0xd1080b>0x0&&_0x3e3967>0x0?_0x3e3967/_0xd1080b:0x1;return{'scaleAdjust':Number[_0x2ad2c9(0x571)](_0x411ba8)&&_0x411ba8>0x0?_0x411ba8:0x1,'renderScaleX':(_0x4895cd==null?void 0x0:_0x4895cd['scaleX'])||_0x16a41d,'renderScaleY':(_0x4895cd==null?void 0x0:_0x4895cd['scaleY'])||_0x1bbd39};},[_0x133da6,_0x1af67f,_0x4774ca,_0x2f6f4c]),_0x28ee37=(0x0,n[_0x5b8c4d(0x4bf)])(()=>{const _0x11d42b=_0x5b8c4d;if(!_0x4774ca)return{'left':0x0,'top':0x0,'width':_0x25264d/_0x133da6,'height':_0x23757f/_0x1af67f};let {unitId:_0x19160c,subUnitId:_0x139add,shapeId:_0x50cb61}=_0x4774ca,_0x2f3e37=_0x3e5cf7[_0x11d42b(0x36f)](_0x19160c,_0x139add,_0x50cb61);return _0x2f3e37?en({'hostRect':{'left':0x0,'top':0x0,'width':_0x25264d/_0x133da6,'height':_0x23757f/_0x1af67f},'shapeModel':_0x2f3e37}):{'left':0x0,'top':0x0,'width':_0x25264d/_0x133da6,'height':_0x23757f/_0x1af67f};},[_0x3e5cf7,_0x4774ca,_0x25264d,_0x23757f,_0x133da6,_0x1af67f]),_0x4d6740=(0x0,n[_0x5b8c4d(0x4bf)])(()=>{const _0x5672fd=_0x5b8c4d;var _0x1a9953,_0x18d6f4;if(!_0x4774ca)return null;let {unitId:_0x2ecf7e,subUnitId:_0x48c7cc,shapeId:_0x4c6b15}=_0x4774ca,_0x4421a7=_0x3e5cf7[_0x5672fd(0x36f)](_0x2ecf7e,_0x48c7cc,_0x4c6b15);if(!_0x4421a7)return null;let _0x482f85=(_0x1a9953=_0x3e5cf7[_0x5672fd(0x577)])==null?void 0x0:_0x1a9953[_0x5672fd(0x35d)](_0x3e5cf7,_0x2ecf7e,_0x48c7cc,_0x4c6b15),_0x49f46a=_0x4421a7['getShapeTextData']();if(!_0x49f46a)return null;let _0x3e9435=_t(_0x482f85,_0x49f46a),_0x289584=(_0x18d6f4=_0x3e5cf7[_0x5672fd(0x599)](_0x2ecf7e,_0x48c7cc,_0x4c6b15))==null?{'angle':0x0,'flipX':!0x1,'flipY':!0x1}:_0x18d6f4,_0x2ba598={'left':0x0,'top':0x0,'width':_0x25264d/_0x133da6,'height':_0x23757f/_0x1af67f},_0x50b179=_0x4421a7[_0x5672fd(0x655)](_0x2ba598),_0x2160ed,_0x2c2565=i[_0x5672fd(0x5e9)]['TOP'],_0xf10687=i[_0x5672fd(0x1e4)]['LEFT'];if(_0x5672fd(0x494)in _0x49f46a&&_0x49f46a[_0x5672fd(0x494)]){var _0x5002a5,_0x5bde46,_0x263857,_0x44e15a,_0x147056,_0x141513;let _0x292af5=K(_0x49f46a[_0x5672fd(0x494)]);_0x292af5!=null&&_0x292af5[_0x5672fd(0x634)]&&(_0x2160ed=_0x292af5[_0x5672fd(0x634)]),_0x2c2565=(_0x5002a5=(_0x5bde46=_0x292af5==null?void 0x0:_0x292af5['va'])==null?_0x2160ed==null||(_0x263857=_0x2160ed[_0x5672fd(0x413)])==null||(_0x263857=_0x263857[_0x5672fd(0x520)])==null?void 0x0:_0x263857[_0x5672fd(0x40c)]:_0x5bde46)==null?i[_0x5672fd(0x5e9)][_0x5672fd(0x338)]:_0x5002a5,_0xf10687=(_0x44e15a=(_0x147056=_0x292af5==null?void 0x0:_0x292af5['ha'])==null?_0x2160ed==null||(_0x141513=_0x2160ed[_0x5672fd(0x413)])==null||(_0x141513=_0x141513[_0x5672fd(0x520)])==null?void 0x0:_0x141513[_0x5672fd(0x208)]:_0x147056)==null?i[_0x5672fd(0x1e4)][_0x5672fd(0x252)]:_0x44e15a;}let _0x5d358e=(0x0,s[_0x5672fd(0x611)])(_0x3e9435),_0x47115d=_0x5d358e[_0x5672fd(0x1ca)]===_0x5672fd(0x6fc)?zt({'documentData':_0x2160ed,'horizontalAlign':_0xf10687,'horizontalAnchor':_0x5d358e[_0x5672fd(0x1ca)],'isHorizontal':_0x49f46a['isHorizontal'],'textRect':_0x50b179,'textWrap':_0x5d358e['textWrap'],'widthBuffer':0x2})[_0x5672fd(0x3a5)]:_0x50b179;return{'shapeText':_0x49f46a,'bodyBehavior':_0x5d358e,'doc':_0x2160ed,'verticalAlign':_0x2c2565,'horizontalAlign':_0xf10687,'wrapStrategy':bt(_0x3e9435),'autoFitNoWrap':St(_0x3e9435),'textRect':_0x47115d,'transform':_0x289584,'isHorizontal':_0x49f46a['isHorizontal'],'isTextBox':_0x3e9435['isTextBox']===!0x0};},[_0x3e5cf7,_0x4774ca,_0x25264d,_0x23757f,_0x133da6,_0x1af67f]),_0x955aef=(0x0,n[_0x5b8c4d(0x42e)])(()=>{const _0x17a584=_0x5b8c4d;let _0x2dbde4=_0x4d6740();if(_0x2dbde4!=null&&_0x2dbde4['doc'])return ce(_0x2dbde4[_0x17a584(0x634)],{'bodyBehavior':_0x2dbde4[_0x17a584(0x56b)],'isHorizontal':_0x2dbde4[_0x17a584(0x597)],'textRect':_0x2dbde4[_0x17a584(0x3a5)],'verticalAlign':_0x2dbde4[_0x17a584(0x40c)],'horizontalAlign':_0x2dbde4[_0x17a584(0x208)],'wrapStrategy':_0x2dbde4[_0x17a584(0x6ac)]});let _0xc4cdd=nn(_0x1eeb58,_0x25264d/_0x133da6);return _0x2dbde4?ce(_0xc4cdd,{'bodyBehavior':_0x2dbde4[_0x17a584(0x56b)],'isHorizontal':_0x2dbde4[_0x17a584(0x597)],'textRect':_0x2dbde4[_0x17a584(0x3a5)],'verticalAlign':_0x2dbde4[_0x17a584(0x40c)],'horizontalAlign':_0x2dbde4[_0x17a584(0x208)],'wrapStrategy':_0x2dbde4['wrapStrategy']}):_0xc4cdd;},[_0x4d6740,_0x25264d,_0x133da6]),[_0x2db650,_0x386810]=(0x0,n[_0x5b8c4d(0x1c0)])(()=>Bt(_0x955aef)),_0x101fb8=(0x0,u['useEditor'])({'editorId':_0x1eeb58,'initialValue':_0x955aef,'container':_0x3fe361,'autoFocus':!0x1,'canvasStyle':{'backgroundColor':_0x5b8c4d(0x236)},'isSingle':!0x1});(0x0,n[_0x5b8c4d(0x69d)])(()=>{const _0x242f1b=_0x5b8c4d;if(!_0x101fb8)return;let _0x1315fc=_0x2f6f4c[_0x242f1b(0x68c)](_0x1eeb58);wn(_0x1315fc),Tn(_0x1315fc);},[_0x101fb8,_0x1eeb58,_0x2f6f4c]);let _0xd67ca0=Yt(_0x1eeb58),_0x505972=_0x4774ca?(_0x31da25=(_0x4d5f69=_0x3e5cf7[_0x5b8c4d(0x4c8)])==null?void 0x0:_0x4d5f69['call'](_0x3e5cf7,_0x4774ca))==null?!0x1:_0x31da25:!0x1,_0x47e9f3=(_0x11f3b0=_0x955aef[_0x5b8c4d(0x413)])==null||(_0x11f3b0=_0x11f3b0['textStyle'])==null?void 0x0:_0x11f3b0['fs'];(0x0,u[_0x5b8c4d(0x4a6)])(_0xd67ca0,(0x0,n[_0x5b8c4d(0x42e)])(()=>Dn(_0x468d69,_0x4bf381=>{const _0x4e15e5=_0x5b8c4d;(0x0,u[_0x4e15e5(0x519)])({'commandId':_0x4bf381,'commandService':_0x468d69,'editorUnitId':_0x1eeb58,'univerInstanceService':_0x2bf35a});},{'commitOnEnter':_0x505972,'cancel':()=>{const _0x278167=_0x5b8c4d;if(_0x2c74c0['cancelEditing']){_0x2c74c0[_0x278167(0x3af)]();return;}_0x2c74c0[_0x278167(0x4a8)](null);},'commit':()=>{const _0x2adc25=_0x5b8c4d;if(_0x2c74c0[_0x2adc25(0x2fe)]){_0x2c74c0[_0x2adc25(0x2fe)]();return;}_0x2c74c0['setEditing'](null);},'currentFontSize':_0x47e9f3}),[_0x468d69,_0x505972,_0x47e9f3,_0x2c74c0,_0x1eeb58,_0x2bf35a]),_0x101fb8),(0x0,u[_0x5b8c4d(0x1be)])(_0xd67ca0,!0x1,_0x101fb8),(0x0,n[_0x5b8c4d(0x69d)])(()=>{const _0xa325ec=_0x5b8c4d;if(!(_0x4774ca!=null&&_0x4774ca['visible']))return;let _0x3d9aa4=_0x13ecb1=>{const _0x40d677=_0x4435;if(_0x13ecb1[_0x40d677(0x324)]===0x0&&$t(_0x13ecb1[_0x40d677(0x207)],_0x30b5da[_0x40d677(0x21b)])){if(_0x2c74c0[_0x40d677(0x2fe)]){_0x2c74c0[_0x40d677(0x2fe)](_0x13ecb1);return;}_0x2c74c0['setEditing'](null);}};return document[_0xa325ec(0x2ec)]('pointerdown',_0x3d9aa4,!0x0),()=>{const _0x3a7150=_0xa325ec;document['removeEventListener'](_0x3a7150(0x289),_0x3d9aa4,!0x0);};},[_0x4774ca==null?void 0x0:_0x4774ca['visible'],_0x2c74c0]),(0x0,n[_0x5b8c4d(0x69d)])(()=>{const _0x527701=_0x5b8c4d;_0x42f4ba[_0x527701(0x21b)]=_0x4774ca?{'width':_0x25264d/_0x133da6,'height':_0x23757f/_0x1af67f}:{'width':0x0,'height':0x0};},[_0x25264d,_0x23757f,_0x133da6,_0x1af67f,_0x4774ca==null?void 0x0:_0x4774ca[_0x5b8c4d(0x22a)],_0x4774ca==null?void 0x0:_0x4774ca[_0x5b8c4d(0x390)],_0x4774ca==null?void 0x0:_0x4774ca[_0x5b8c4d(0x4d4)]]),(0x0,n['useEffect'])(()=>{const _0x297930=_0x5b8c4d;_0x568364[_0x297930(0x21b)]=null;},[_0x4774ca==null?void 0x0:_0x4774ca['unitId'],_0x4774ca==null?void 0x0:_0x4774ca['subUnitId'],_0x4774ca==null?void 0x0:_0x4774ca[_0x5b8c4d(0x4d4)],_0x4774ca==null?void 0x0:_0x4774ca['shapeKey']]);let _0x58e708=(0x0,n[_0x5b8c4d(0x4bf)])(()=>{const _0x143846=_0x5b8c4d;let _0x279db3=_0x568364[_0x143846(0x21b)];if(_0x279db3)return _0x568364[_0x143846(0x21b)]=null,_0x42f4ba[_0x143846(0x21b)]={'width':_0x279db3['width'],'height':_0x279db3['height']},_0x279db3;},[]),_0x5dc6f=(0x0,n[_0x5b8c4d(0x4bf)])((_0x3336fb=!0x0,_0x31f51c=!0x1)=>{const _0x4935da=_0x5b8c4d;var _0x94ac6d,_0x15a541,_0x24b988;if(!_0x101fb8)return;let _0x2f1812=_0x101fb8[_0x4935da(0x283)]()[_0x4935da(0x2cd)](_0x4fb4a3=>_0x4fb4a3[_0x4935da(0x573)]),_0x23b9cf=((_0x94ac6d=(_0x15a541=_0x101fb8['getDocumentData']()[_0x4935da(0x22c)])==null?void 0x0:_0x15a541[_0x4935da(0x4d7)]['length'])==null?0x2:_0x94ac6d)-0x2,_0x71c3c9=(_0x24b988=_0x2f1812==null?void 0x0:_0x2f1812['startOffset'])==null?_0x3336fb?_0x23b9cf:null:_0x24b988;_0x71c3c9!==null&&_0x101fb8[_0x4935da(0x357)]([{'startOffset':_0x71c3c9,'endOffset':_0x71c3c9}],_0x31f51c);},[_0x101fb8]);_0x4fd45e['current']=_0x5dc6f;let _0x26752b=(0x0,n[_0x5b8c4d(0x4bf)])(()=>{const _0x34b0e4=_0x5b8c4d;_0x40994b[_0x34b0e4(0x21b)]!==null&&(cancelAnimationFrame(_0x40994b['current']),_0x40994b[_0x34b0e4(0x21b)]=null),_0x40994b[_0x34b0e4(0x21b)]=requestAnimationFrame(()=>{const _0x1a67b7=_0x34b0e4;_0x40994b[_0x1a67b7(0x21b)]=null,_0x4fd45e[_0x1a67b7(0x21b)](!0x0,!0x0);});},[]),_0x446141=(0x0,n[_0x5b8c4d(0x4bf)])(()=>{const _0x1bd084=_0x5b8c4d;_0x20a96c[_0x1bd084(0x21b)]!==null&&(cancelAnimationFrame(_0x20a96c[_0x1bd084(0x21b)]),_0x20a96c[_0x1bd084(0x21b)]=null),_0x105e5b['current']!==null&&(window[_0x1bd084(0x509)](_0x105e5b[_0x1bd084(0x21b)]),_0x105e5b[_0x1bd084(0x21b)]=null);},[]),_0x468ca5=(0x0,n['useCallback'])(()=>{const _0x199a89=_0x5b8c4d;var _0x4e9cef,_0x435bdf,_0x53b180,_0x2e13c4,_0x558155,_0x5a43e9,_0x571feb,_0xdb734b,_0x18fe5d;if(!_0x101fb8)return;let _0x16974a=_0x2f6f4c['getRenderById'](_0x1eeb58);Tn(_0x16974a);let _0x17634a=_0x16974a==null?void 0x0:_0x16974a[_0x199a89(0x20a)](l[_0x199a89(0x35f)]);if(!_0x17634a)return;let _0x4071e8=_0x17634a[_0x199a89(0x267)](),_0x590f6b=_0x169d9c(),{renderScaleX:_0x5386c6,renderScaleY:_0x4d7c55,scaleAdjust:_0x711714}=_0x3a6d6f(),_0x308744=_0x4d6740(),_0xa77106=(_0x4e9cef=_0x308744==null?void 0x0:_0x308744[_0x199a89(0x40c)])==null?i[_0x199a89(0x5e9)][_0x199a89(0x338)]:_0x4e9cef,_0x525c6b=(_0x435bdf=_0x308744==null?void 0x0:_0x308744[_0x199a89(0x208)])==null?i[_0x199a89(0x1e4)]['LEFT']:_0x435bdf,_0x18e9ae=(_0x53b180=_0x308744==null?void 0x0:_0x308744[_0x199a89(0x6ac)])==null?i[_0x199a89(0x3a8)][_0x199a89(0x5fd)]:_0x53b180,_0xfbedef=(_0x2e13c4=_0x308744==null?void 0x0:_0x308744[_0x199a89(0x228)])==null?!0x1:_0x2e13c4,_0x1faf4c=(_0x558155=_0x28ee37())==null?{'left':0x0,'top':0x0,'width':_0x25264d/_0x133da6,'height':_0x23757f/_0x1af67f}:_0x558155,_0x42ea1f=Ct({'shapeText':_0x308744==null?void 0x0:_0x308744['shapeText']}),_0x163cb5=_0x590f6b==null?void 0x0:_0x590f6b[_0x199a89(0x52a)](),_0x3cdea5=Bt(_0x163cb5),_0x17e5a4=_0x42ea1f===_0x199a89(0x57e)?_0x1faf4c[_0x199a89(0x57e)]:_0x1faf4c[_0x199a89(0x480)],_0x4ee8a2=_0xfbedef?sn(_0x163cb5)+0x2:_0x17e5a4,_0x2b8d26=on({'autoFitNoWrap':_0xfbedef,'maxAutoFitWidth':_0x4ee8a2,'textRectWidth':_0x17e5a4}),_0x3589b2=!0x1;if(_0x590f6b){var _0x3b0a61;_0x3589b2=Ot((_0x3b0a61=_0x590f6b[_0x199a89(0x52a)]()[_0x199a89(0x413)])==null||(_0x3b0a61=_0x3b0a61[_0x199a89(0x520)])==null?void 0x0:_0x3b0a61['shapeTextOpticalVerticalAlign']),_0x590f6b[_0x199a89(0x1a4)](Math['max'](_0x5386c6,_0x4d7c55)),_0x590f6b[_0x199a89(0x438)]({'marginLeft':0x0,'marginRight':0x0,'marginBottom':0x0,'pageSize':{'width':_0x2b8d26,'height':0x1/0x0}}),_0x590f6b['updateDocumentRenderConfig']({'verticalAlign':hn({'opticalVerticalAlign':_0x3589b2,'verticalAlign':_0xa77106}),'horizontalAlign':_0x525c6b,'centerAngle':0x0,'vertexAngle':0x0,'wrapStrategy':_0x18e9ae}),_0x590f6b[_0x199a89(0x5d0)]({'t':0x0});}(_0x5a43e9=_0x4071e8[_0x199a89(0x388)])==null||_0x5a43e9['call'](_0x4071e8),_0x4071e8['calculate']();let {actualWidth:_0x2899a0,actualHeight:_0x45d91b}=_0x4071e8[_0x199a89(0x2fd)](),_0x486e75=Kt(_0x16974a==null||(_0x571feb=_0x16974a[_0x199a89(0x20a)](u[_0x199a89(0x1b7)]))==null?void 0x0:_0x571feb['getActiveTextRange']()),_0x16f5b2=Gt(Nt(_0x4071e8,_0x45d91b),_0x486e75),_0xdab55f=_0x3589b2?Pt(_0x4071e8,_0x1faf4c[_0x199a89(0x480)],_0xa77106):void 0x0,_0x4ea341=cn({'actualWidth':_0x2899a0,'autoFitNoWrap':_0xfbedef,'measuredContentWidth':_0x4ee8a2,'textRectWidth':_0x17e5a4}),_0x1b7467=pn({'adapter':_0x3e5cf7,'editingParams':_0x4774ca}),_0x4e5564=yn({'flowAxis':_0x42ea1f,'flowAxisLength':ln({'actualWidth':_0x2899a0,'allowShrink':_0x1b7467,'autoFitNoWrap':_0xfbedef,'measuredContentWidth':_0x4ee8a2,'renderedContentWidth':_0x4ea341}),'crossAxisLength':_0x16f5b2}),_0x494f20=gn({'actualHeight':_0x16f5b2,'contentWidth':_0x4ea341,'opticalVerticalOffset':_0xdab55f,'scaleX':_0x133da6,'scaleY':_0x1af67f,'textRect':_0x1faf4c,'verticalAlign':_0xa77106}),_0x77c807=_0x25264d/_0x133da6,_0x5acd99=_0x23757f/_0x1af67f,_0x4089b9=vn({'hostWidth':_0x77c807,'hostHeight':_0x5acd99,'textRect':_0x1faf4c,'contentWidth':_0x4e5564[_0x199a89(0x57e)],'contentHeight':_0x4e5564[_0x199a89(0x480)],'allowShrink':_0x1b7467}),_0x2ef6d1=_0x308744!=null&&_0x308744[_0x199a89(0x1f1)]&&_0x3cdea5?rn({'isHorizontal':_0x308744['isHorizontal'],'placeholderWidth':an(_0x163cb5==null?_0x955aef:_0x163cb5,_0x1db622)}):null,_0x5544f9=Math[_0x199a89(0x373)](Math[_0x199a89(0x6e4)](_0x4089b9[_0x199a89(0x57e)],(_0xdb734b=_0x2ef6d1==null?void 0x0:_0x2ef6d1['width'])==null?0x0:_0xdb734b)),_0x337878=Math[_0x199a89(0x373)](Math['max'](_0x4089b9[_0x199a89(0x480)],(_0x18fe5d=_0x2ef6d1==null?void 0x0:_0x2ef6d1[_0x199a89(0x480)])==null?0x0:_0x18fe5d)),_0x5f3c85=_0x42f4ba['current'],_0x34749e=fn({'nextWidth':_0x5544f9,'nextHeight':_0x337878,'baselineWidth':_0x77c807,'baselineHeight':_0x5acd99}),_0x33a04c=fn({'nextWidth':_0x5544f9,'nextHeight':_0x337878,'baselineWidth':_0x5f3c85['width'],'baselineHeight':_0x5f3c85[_0x199a89(0x480)]}),_0x1c9886=_0x4774ca&&_0x3e5cf7['updateHostSize']&&_0x34749e&&_0x33a04c,_0x4bd9e4=mn({'adapter':_0x3e5cf7,'editingParams':_0x4774ca}),_0x2f7ada=fn({'nextWidth':_0x77c807,'nextHeight':_0x337878,'baselineWidth':_0x77c807,'baselineHeight':_0x5acd99}),_0x39e793=fn({'nextWidth':_0x77c807,'nextHeight':_0x337878,'baselineWidth':_0x77c807,'baselineHeight':_0x5f3c85['height']}),_0x47cd4b=_0x4774ca&&_0x3e5cf7[_0x199a89(0x47f)]&&_0x337878>_0x5acd99&&_0x337878>_0x5f3c85['height']&&_0x2f7ada&&_0x39e793,_0x41eb3a=dn({'autoFitNoWrap':_0xfbedef,'editorWidth':_0x494f20[_0x199a89(0x34a)],'measurePageWidth':_0x2b8d26,'renderedContentWidth':_0x4ea341,'scaleX':_0x133da6});if(_0x37600e({'documentMarginTop':_0x494f20['documentMarginTop']*_0x1af67f,'editorLeft':_0x494f20[_0x199a89(0x2eb)],'editorTop':_0x494f20[_0x199a89(0x2b3)],'editorWidth':_0x494f20[_0x199a89(0x34a)],'editorHeight':_0x494f20['editorHeight'],'editorSurfaceWidth':_0x41eb3a}),_0x590f6b){let _0x24540e=un({'autoFitNoWrap':_0xfbedef,'measurePageWidth':_0x2b8d26,'renderedContentWidth':_0x4ea341,'textRectWidth':_0x17e5a4});_0x590f6b['updateDocumentStyle']({'marginLeft':0x0,'marginRight':0x0,'marginBottom':0x0,'pageSize':{'width':_0x24540e,'height':_0x494f20['pageHeight']}}),_0x590f6b[_0x199a89(0x5d0)]({'t':_0x494f20['documentMarginTop']}),_0x4071e8[_0x199a89(0x68b)]();}if(_0x16974a){_0x494f20['editorWidth'];let _0x3cbe3d=_0x494f20['editorHeight'];_0x16974a[_0x199a89(0x5b6)]['transformByState']({'width':_0x41eb3a*_0x711714/_0x5386c6,'height':_0x3cbe3d*_0x711714/_0x4d7c55,'scaleX':_0x5386c6*_0x711714,'scaleY':_0x4d7c55*_0x711714}),_0x16974a['mainComponent']&&_0x16974a['mainComponent'][_0x199a89(0x3e5)](_0x41eb3a*_0x711714/_0x5386c6,_0x3cbe3d*_0x711714/_0x4d7c55),En(_0x16974a);}if(_0x4bd9e4&&_0x4774ca&&_0x3e5cf7[_0x199a89(0x3b1)]){var _0x2a3a52;let _0x24d0e2={'unitId':_0x4774ca['unitId'],'subUnitId':_0x4774ca['subUnitId'],'shapeId':_0x4774ca[_0x199a89(0x4d4)],'width':_0x5544f9,'height':_0x337878};_0x568364[_0x199a89(0x21b)]=_0x24d0e2,(_0x2a3a52=_0x3e5cf7[_0x199a89(0x2cf)])==null||_0x2a3a52['call'](_0x3e5cf7,_0x24d0e2);}if(_0x1c9886&&_0x4774ca&&_0x3e5cf7[_0x199a89(0x3b1)]){if(_0x4bd9e4)return;_0x568364[_0x199a89(0x21b)]=null,_0x42f4ba['current']={'width':_0x5544f9,'height':_0x337878},_0x3e5cf7[_0x199a89(0x3b1)]({'unitId':_0x4774ca['unitId'],'subUnitId':_0x4774ca[_0x199a89(0x390)],'shapeId':_0x4774ca[_0x199a89(0x4d4)],'width':_0x5544f9,'height':_0x337878}),_0x26752b();}else{if(_0x47cd4b&&_0x4774ca&&_0x3e5cf7[_0x199a89(0x47f)]){if(_0x4bd9e4)return;_0x568364[_0x199a89(0x21b)]=null,_0x42f4ba[_0x199a89(0x21b)]={'width':_0x77c807,'height':_0x337878},_0x3e5cf7[_0x199a89(0x47f)]({'unitId':_0x4774ca[_0x199a89(0x22a)],'subUnitId':_0x4774ca[_0x199a89(0x390)],'shapeId':_0x4774ca[_0x199a89(0x4d4)],'height':_0x337878}),_0x26752b();}}},[_0x101fb8,_0x3e5cf7,_0x4774ca,_0x2f6f4c,_0x169d9c,_0x3a6d6f,_0x4d6740,_0x28ee37,_0x25264d,_0x23757f,_0x133da6,_0x1af67f,_0x955aef,_0x1db622,_0x26752b,_0x37600e]);_0x4f5e7e[_0x5b8c4d(0x21b)]=_0x468ca5;let _0x4e2beb=(0x0,n[_0x5b8c4d(0x4bf)])((_0x550e5a=!0x1)=>{const _0x58a0bb=_0x5b8c4d;_0x446141(),_0x20a96c[_0x58a0bb(0x21b)]=requestAnimationFrame(()=>{const _0x3ee077=_0x58a0bb;_0x468ca5(),_0x550e5a&&_0x5dc6f(!0x1),_0x20a96c[_0x3ee077(0x21b)]=null,_0x105e5b[_0x3ee077(0x21b)]=window['setTimeout'](()=>{const _0x2eb2ca=_0x3ee077;_0x468ca5(),_0x550e5a&&_0x5dc6f(!0x1),_0x105e5b[_0x2eb2ca(0x21b)]=null;},0x14);});},[_0x468ca5,_0x446141,_0x5dc6f]);_0x187f86['current']=_0x4e2beb,(0x0,n['useEffect'])(()=>{const _0x3426ba=_0x5b8c4d;if(!(_0x4774ca!=null&&_0x4774ca[_0x3426ba(0x471)])||!_0x101fb8)return;let _0x336829=!0x1,_0x1bd009=_0x22141e[_0x3426ba(0x5b3)][_0x3426ba(0x290)](_0x197c6d=>{const _0x5b2815=_0x3426ba;if(!_0x336829){_0x336829=!0x0;return;}!_0x197c6d||_0x197c6d[_0x5b2815(0x22a)]!==_0x1eeb58||_0x197c6d[_0x5b2815(0x37d)]||(_0x386810(Bt(Cn(_0x101fb8))),_0x187f86[_0x5b2815(0x21b)](!0x1));});return()=>{const _0x4b13ba=_0x3426ba;_0x1bd009[_0x4b13ba(0x231)]();};},[_0x22141e,_0x101fb8,_0x1eeb58,_0x4774ca==null?void 0x0:_0x4774ca['shapeId'],_0x4774ca==null?void 0x0:_0x4774ca[_0x5b8c4d(0x465)],_0x4774ca==null?void 0x0:_0x4774ca[_0x5b8c4d(0x390)],_0x4774ca==null?void 0x0:_0x4774ca['unitId'],_0x4774ca==null?void 0x0:_0x4774ca[_0x5b8c4d(0x471)]]);let _0x2060ed=(0x0,n[_0x5b8c4d(0x4bf)])(()=>{const _0x70d9df=_0x5b8c4d;_0x446141(),_0x4f5e7e[_0x70d9df(0x21b)]();},[_0x446141]);(0x0,n['useEffect'])(()=>{const _0xae49ee=_0x5b8c4d;if(!_0x101fb8||!_0x4774ca)return;let {shapeId:_0x3826e5,unitId:_0x10531f}=_0x4774ca;if(_0x32bcc6){var _0x3c3657,_0x48860c,_0xaeaa48,_0x1dc167,_0x3766fb,_0x277b21,_0x340acc,_0x575298;let _0x4152aa=_0x4d6740(),_0x53bfc4=Cn(_0x101fb8);if(!_0x53bfc4)return;let _0x3a39aa=(_0x3c3657=(_0x48860c=_0x4152aa==null?void 0x0:_0x4152aa[_0xae49ee(0x40c)])==null?(_0xaeaa48=_0xd9deae[_0xae49ee(0x21b)])==null?void 0x0:_0xaeaa48['va']:_0x48860c)==null?i[_0xae49ee(0x5e9)][_0xae49ee(0x338)]:_0x3c3657,{horizontalAlign:_0x51d898,verticalAlign:_0x256a21}=re(_0x53bfc4,{'verticalAlign':_0x3a39aa,'horizontalAlign':(_0x1dc167=(_0x3766fb=_0x4152aa==null?void 0x0:_0x4152aa[_0xae49ee(0x208)])==null?(_0x277b21=_0xd9deae[_0xae49ee(0x21b)])==null?void 0x0:_0x277b21['ha']:_0x3766fb)==null?i[_0xae49ee(0x1e4)][_0xae49ee(0x252)]:_0x1dc167}),_0x351d15=Ot((_0x340acc=_0x53bfc4['documentStyle'])==null||(_0x340acc=_0x340acc[_0xae49ee(0x520)])==null?void 0x0:_0x340acc[_0xae49ee(0x3f6)])?_0x3a39aa:_0x256a21,_0x28d595={'va':_0x351d15,'ha':_0x51d898,'doc':le(_0x53bfc4,{'bodyBehavior':_0x4152aa==null?void 0x0:_0x4152aa[_0xae49ee(0x56b)],'verticalAlign':_0x351d15,'horizontalAlign':_0x51d898})};_0x2060ed();let _0x212dde=_0x58e708();_0x3e5cf7[_0xae49ee(0x37f)]({'unitId':_0x10531f,'subUnitId':_0x4774ca[_0xae49ee(0x390)],'shapeId':_0x3826e5,'shapeText':tn({'shapeText':_0x4152aa==null?void 0x0:_0x4152aa[_0xae49ee(0x1a1)],'isHorizontal':_0x4152aa==null?void 0x0:_0x4152aa[_0xae49ee(0x597)],'dataModel':_0x28d595}),'oldShapeText':tn({'shapeText':_0x4152aa==null?void 0x0:_0x4152aa[_0xae49ee(0x1a1)],'isHorizontal':_0x4152aa==null?void 0x0:_0x4152aa['isHorizontal'],'dataModel':(_0x575298=_0xd9deae[_0xae49ee(0x21b)])==null?void 0x0:_0x575298}),..._0x212dde?{'hostSize':_0x212dde}:null}),_0x2c74c0[_0xae49ee(0x4a8)](null);return;}let _0x55362e=_0x4d6740();if(_0x55362e!=null&&_0x55362e['doc']){_0xd9deae['current']={'va':_0x55362e[_0xae49ee(0x40c)],'ha':_0x55362e[_0xae49ee(0x208)],'doc':ue(_0x55362e['doc'])};let _0x76817b=ce(_0x55362e['doc'],{'bodyBehavior':_0x55362e['bodyBehavior'],'isHorizontal':_0x55362e[_0xae49ee(0x597)],'textRect':_0x55362e[_0xae49ee(0x3a5)],'verticalAlign':_0x55362e[_0xae49ee(0x40c)],'horizontalAlign':_0x55362e[_0xae49ee(0x208)],'wrapStrategy':_0x55362e[_0xae49ee(0x6ac)]});return Sn(_0x101fb8,_0x76817b,null),_0x386810(Bt(_0x76817b)),()=>{const _0xf3df53=_0xae49ee;var _0xf428d5,_0x271dc5,_0x20dc3c,_0x2997b8,_0x341cd7,_0x4dea8f,_0x1c3ba4,_0x3e610e;if(_0x39d9f4['current'])return;let _0x57b5c8=_0x4d6740(),_0x472864=Cn(_0x101fb8);if(!_0x472864)return;let _0x48e0d3=(_0xf428d5=(_0x271dc5=_0x57b5c8==null?void 0x0:_0x57b5c8[_0xf3df53(0x40c)])==null?(_0x20dc3c=_0xd9deae[_0xf3df53(0x21b)])==null?void 0x0:_0x20dc3c['va']:_0x271dc5)==null?i[_0xf3df53(0x5e9)][_0xf3df53(0x338)]:_0xf428d5,{horizontalAlign:_0x4f27cb,verticalAlign:_0x1cd283}=re(_0x472864,{'verticalAlign':_0x48e0d3,'horizontalAlign':(_0x2997b8=(_0x341cd7=_0x57b5c8==null?void 0x0:_0x57b5c8[_0xf3df53(0x208)])==null?(_0x4dea8f=_0xd9deae[_0xf3df53(0x21b)])==null?void 0x0:_0x4dea8f['ha']:_0x341cd7)==null?i[_0xf3df53(0x1e4)][_0xf3df53(0x252)]:_0x2997b8}),_0x225e9d=Ot((_0x1c3ba4=_0x472864['documentStyle'])==null||(_0x1c3ba4=_0x1c3ba4[_0xf3df53(0x520)])==null?void 0x0:_0x1c3ba4[_0xf3df53(0x3f6)])?_0x48e0d3:_0x1cd283,_0x30f0bc={'va':_0x225e9d,'ha':_0x4f27cb,'doc':le(_0x472864,{'bodyBehavior':_0x57b5c8==null?void 0x0:_0x57b5c8[_0xf3df53(0x56b)],'verticalAlign':_0x225e9d,'horizontalAlign':_0x4f27cb})};_0x2060ed();let _0x5764da=_0x58e708();_0x3e5cf7[_0xf3df53(0x37f)]({'unitId':_0x10531f,'subUnitId':_0x4774ca[_0xf3df53(0x390)],'shapeId':_0x3826e5,'shapeText':tn({'shapeText':_0x57b5c8==null?void 0x0:_0x57b5c8[_0xf3df53(0x1a1)],'isHorizontal':_0x57b5c8==null?void 0x0:_0x57b5c8[_0xf3df53(0x597)],'dataModel':_0x30f0bc}),'oldShapeText':tn({'shapeText':_0x57b5c8==null?void 0x0:_0x57b5c8['shapeText'],'isHorizontal':_0x57b5c8==null?void 0x0:_0x57b5c8['isHorizontal'],'dataModel':(_0x3e610e=_0xd9deae[_0xf3df53(0x21b)])==null?void 0x0:_0x3e610e}),..._0x5764da?{'hostSize':_0x5764da}:null});};}else Sn(_0x101fb8,_0x955aef,null),_0x386810(Bt(_0x955aef));},[_0x101fb8,_0x4774ca,_0x32bcc6]);let _0x1f198d=Qt({'editorUnitId':_0x1eeb58,'editingParams':_0x4774ca});(0x0,n[_0x5b8c4d(0x69d)])(()=>{const _0x17417f=_0x5b8c4d;if(!(!_0x101fb8||!_0x1f198d||!(_0x4774ca!=null&&_0x4774ca['visible'])))return _0x195002[_0x17417f(0x4a2)](!0x0),_0x4f5e7e[_0x17417f(0x21b)](),_0x31dc14[_0x17417f(0x21b)]=requestAnimationFrame(()=>{const _0x33d0a5=_0x17417f;_0x195002[_0x33d0a5(0x5e6)](_0x1eeb58),_0x4fd45e[_0x33d0a5(0x21b)](!0x0,!0x0),_0x101fb8[_0x33d0a5(0x5e6)](),_0x187f86[_0x33d0a5(0x21b)](),_0x31dc14['current']=null;}),()=>{const _0x4bf1df=_0x17417f;_0x31dc14[_0x4bf1df(0x21b)]!==null&&(cancelAnimationFrame(_0x31dc14[_0x4bf1df(0x21b)]),_0x31dc14[_0x4bf1df(0x21b)]=null),_0x40994b[_0x4bf1df(0x21b)]!==null&&(cancelAnimationFrame(_0x40994b['current']),_0x40994b[_0x4bf1df(0x21b)]=null),_0x446141(),_0x195002[_0x4bf1df(0x4a2)](!0x0);};},[_0x101fb8,_0x195002,_0x1eeb58,_0x1f198d,_0x4774ca==null?void 0x0:_0x4774ca[_0x5b8c4d(0x471)],_0x446141]),(0x0,n[_0x5b8c4d(0x69d)])(()=>{const _0x219f1a=_0x5b8c4d;if(!_0x101fb8)return;let _0x176c55=_0x468d69[_0x219f1a(0x704)](_0x48fd71=>{const _0x287ddf=_0x219f1a;_0x48fd71['id']===l[_0x287ddf(0x6e7)]['id']&&_0x48fd71['params']['unitId']===_0x1eeb58&&_0x4774ca&&(_0x4774ca[_0x287ddf(0x471)]?(_0x468ca5(),_0x4e2beb()):_0x2c74c0[_0x287ddf(0x4a8)]({..._0x4774ca,'visible':!0x0})),_0x8a6457&&_0x48fd71['id']===_0x8a6457&&_0x4e2beb(!0x0);});return()=>{const _0x58e8f3=_0x219f1a;_0x176c55[_0x58e8f3(0x294)]();};},[_0x101fb8,_0x468ca5,_0x4774ca,_0x4e2beb,_0x2c74c0,_0x1eeb58,_0x8a6457]),(0x0,n[_0x5b8c4d(0x69d)])(()=>(_0x468ca5(),_0x4e2beb(),()=>{_0x446141();}),[_0x468ca5,_0x4e2beb,_0x446141]);let _0x3aa055=(0x0,n['useMemo'])(()=>{const _0xfb475f=_0x5b8c4d;var _0x38a1dc,_0x2c2ac5;let _0x2aabcf=(_0x38a1dc=_0x48e538[_0xfb475f(0x484)])==null?_0x48e538[_0xfb475f(0x34a)]:_0x38a1dc;return{...bn(_0x48e538[_0xfb475f(0x2eb)],_0x48e538[_0xfb475f(0x2b3)],_0x2aabcf,Math[_0xfb475f(0x6e4)](0x1,_0x48e538[_0xfb475f(0x474)])),..._0x4774ca?(_0x2c2ac5=_0x3e5cf7['getEditingContentStyle'])==null?void 0x0:_0x2c2ac5[_0xfb475f(0x35d)](_0x3e5cf7,_0x4774ca):void 0x0};},[_0x3e5cf7,_0x4774ca,_0x48e538[_0x5b8c4d(0x474)],_0x48e538[_0x5b8c4d(0x2eb)],_0x48e538[_0x5b8c4d(0x484)],_0x48e538['editorTop'],_0x48e538['editorWidth']]),_0x187e82=(0x0,n['useMemo'])(()=>{let _0x51fce2=_0x4d6740(),_0x58f1fc=_0x51fce2==null?void 0x0:_0x51fce2['transform'];return _0x58f1fc&&_0x58f1fc||{'angle':0x0,'flipX':!0x1,'flipY':!0x1};},[_0x4d6740]),_0x1a5580=(0x0,n[_0x5b8c4d(0x42e)])(()=>{const _0x10da21=_0x5b8c4d;var _0x2054c7,_0x37136b;return _n({'documentMarginTop':_0x48e538[_0x10da21(0x699)],'editorLeft':_0x48e538['editorLeft'],'editorSurfaceWidth':_0x48e538[_0x10da21(0x484)],'editorTop':_0x48e538[_0x10da21(0x2b3)],'editorWidth':_0x48e538[_0x10da21(0x34a)],'horizontalAlign':(_0x2054c7=(_0x37136b=_0x4d6740())==null?void 0x0:_0x37136b[_0x10da21(0x208)])==null?i['HorizontalAlign'][_0x10da21(0x252)]:_0x2054c7});},[_0x4d6740,_0x48e538]);return(0x0,r[_0x5b8c4d(0x372)])(_0x5b8c4d(0x21c),{'ref':_0x30b5da,'data-u-comp':_0x5b8c4d(0x43e),'className':_0x5b8c4d(0x3b7),'style':{'transform':'rotate('+_0x187e82[_0x5b8c4d(0x572)]+_0x5b8c4d(0x23b)+(_0x187e82[_0x5b8c4d(0x366)]?-0x1:0x1)+')'},'children':[(0x0,r[_0x5b8c4d(0x6f0)])(_0x5b8c4d(0x21c),{'ref':_0x3fe361,'className':'univer-absolute','data-u-comp':_0x5b8c4d(0x2d3),'style':_0x3aa055,'data-editorid':_0x1eeb58}),(_0x4774ca==null?void 0x0:_0x4774ca[_0x5b8c4d(0x471)])&&_0x2db650&&(0x0,r[_0x5b8c4d(0x6f0)])(_0x5b8c4d(0x21c),{'aria-hidden':_0x5b8c4d(0x4a1),'className':_0x5b8c4d(0x25f),'data-u-comp':'shape-text-editor-placeholder','style':{..._0x1a5580,'fontSize':_0x47e9f3==null?0xe:_0x47e9f3,'lineHeight':1.5},'children':_0x1db622})]});};function kn(_0x212efa,_0x469e66){const _0x4ed79f=_0x56c0cf;return Math[_0x4ed79f(0x57a)](_0x212efa-_0x469e66)<=0.001;}function An(_0x2cb1df,_0x551e99){const _0x3dcc46=_0x56c0cf;return kn(_0x2cb1df[_0x3dcc46(0x3fb)],_0x551e99[_0x3dcc46(0x3fb)])&&kn(_0x2cb1df['top'],_0x551e99['top'])&&kn(_0x2cb1df[_0x3dcc46(0x57e)],_0x551e99[_0x3dcc46(0x57e)])&&kn(_0x2cb1df[_0x3dcc46(0x480)],_0x551e99[_0x3dcc46(0x480)])&&kn(_0x2cb1df[_0x3dcc46(0x572)],_0x551e99['angle'])&&kn(_0x2cb1df[_0x3dcc46(0x3c2)],_0x551e99[_0x3dcc46(0x3c2)])&&kn(_0x2cb1df['scaleY'],_0x551e99[_0x3dcc46(0x466)]);}function jn(_0x38d95e,_0x428fa6){const _0x5c6147=_0x56c0cf;return _0x428fa6?{..._0x38d95e,'left':_0x38d95e[_0x5c6147(0x3fb)]+_0x428fa6[_0x5c6147(0x3fb)],'top':_0x38d95e[_0x5c6147(0x2ac)]+_0x428fa6['top']}:_0x38d95e;}const Mn={'left':-0x270f,'top':-0x270f,'width':0x64,'height':0x64,'angle':0x0,'scaleX':0x1,'scaleY':0x1};function Nn(_0x5088bf,_0x2be6e9,_0x56c31b,_0x5b05e6,_0x3a83fb){const _0x4f1b94=_0x56c0cf;let {scaleX:_0x4f4eb3,scaleY:_0x17e274}=_0x56c31b[_0x4f1b94(0x576)](),{startColumn:_0x467751,startRow:_0x409928,xSplit:_0x340819,ySplit:_0x251fc3}=_0x5b05e6[_0x4f1b94(0x21a)]['getFreeze'](),_0x4ba22b=_0x56c31b[_0x4f1b94(0x51f)](_0x3a83fb['main']),_0x47b643=_0x56c31b[_0x4f1b94(0x51f)](_0x3a83fb[_0x4f1b94(0x31c)]),_0x1d449b=_0x56c31b['getViewport'](_0x3a83fb[_0x4f1b94(0x2ac)]),_0x16eda8=_0x56c31b['getViewport'](_0x3a83fb[_0x4f1b94(0x3fb)]),{rowHeaderWidth:_0x31b093,columnHeaderHeight:_0x5e08a5}=_0x5b05e6,_0x2841ae=_0x5b05e6[_0x4f1b94(0x703)](_0x409928)+_0x5e08a5,_0x21e4c1=_0x5b05e6[_0x4f1b94(0x299)](_0x467751)+_0x31b093,_0x18c40c=_0x5b05e6[_0x4f1b94(0x703)](_0x409928-_0x251fc3)+_0x5e08a5,_0x547e7e=_0x5b05e6[_0x4f1b94(0x299)](_0x467751-_0x340819)+_0x31b093,_0x974f90=[],_0x50730d=(_0x38a78f,_0x5e6987,_0x29871e)=>{if(!_0x38a78f)return null;let {viewportScrollX:_0x19bd8f,viewportScrollY:_0x1c8220}=_0x38a78f,_0x577749,_0x543d3c;return _0x577749=_0x5e6987?(_0x5088bf-(_0x547e7e-_0x31b093))*_0x4f4eb3:(_0x5088bf-_0x19bd8f)*_0x4f4eb3,_0x543d3c=_0x29871e?(_0x2be6e9-(_0x18c40c-_0x5e08a5))*_0x17e274:(_0x2be6e9-_0x1c8220)*_0x17e274,{'domX':_0x577749,'domY':_0x543d3c};},_0x5f4477=_0x5088bf<_0x21e4c1&&_0x340819>0x0,_0x2ffa9a=_0x2be6e9<_0x2841ae&&_0x251fc3>0x0,_0x4a2c0e=_0x5088bf>=_0x21e4c1||_0x340819===0x0,_0x36cfc6=_0x2be6e9>=_0x2841ae||_0x251fc3===0x0;if(_0x5f4477&&_0x2ffa9a&&_0x47b643){let _0x17c70e=_0x50730d(_0x47b643,!0x0,!0x0);_0x17c70e&&_0x974f90[_0x4f1b94(0x553)](_0x17c70e);}if(_0x2ffa9a&&_0x4a2c0e&&_0x1d449b){let _0x3d3d09=_0x50730d(_0x1d449b,!0x1,!0x0);_0x3d3d09&&_0x974f90['push'](_0x3d3d09);}if(_0x5f4477&&_0x36cfc6&&_0x16eda8){let _0x12f230=_0x50730d(_0x16eda8,!0x0,!0x1);_0x12f230&&_0x974f90[_0x4f1b94(0x553)](_0x12f230);}if(_0x4a2c0e&&_0x36cfc6&&_0x4ba22b){let _0x17bb9a=_0x50730d(_0x4ba22b,!0x1,!0x1);_0x17bb9a&&_0x974f90[_0x4f1b94(0x553)](_0x17bb9a);}if(_0x974f90['length']===0x0){var _0x382073,_0x1334e8;return{'domX':(_0x5088bf-((_0x382073=_0x4ba22b==null?void 0x0:_0x4ba22b[_0x4f1b94(0x249)])==null?0x0:_0x382073))*_0x4f4eb3,'domY':(_0x2be6e9-((_0x1334e8=_0x4ba22b==null?void 0x0:_0x4ba22b['viewportScrollY'])==null?0x0:_0x1334e8))*_0x17e274};}let _0x1b74e8=_0x974f90[0x0][_0x4f1b94(0x524)],_0x456955=_0x974f90[0x0][_0x4f1b94(0x243)];for(let _0x46f215 of _0x974f90)_0x46f215[_0x4f1b94(0x524)]>_0x1b74e8&&(_0x1b74e8=_0x46f215[_0x4f1b94(0x524)]),_0x46f215[_0x4f1b94(0x243)]>_0x456955&&(_0x456955=_0x46f215['domY']);return{'domX':_0x1b74e8,'domY':_0x456955};}function Pn(_0x1e939d,_0x216bd1,_0x48b5b3,_0xe04c28,_0x42b9b9,_0x534484,_0x3036f8,_0xf1d905){const _0x5cdd86=_0x56c0cf;let {scaleX:_0x1a221c,scaleY:_0x4253dd}=_0x534484['getAncestorScale']();if(!_0xf1d905||!_0x3036f8[_0x5cdd86(0x31c)]||!_0x3036f8[_0x5cdd86(0x2ac)]||!_0x3036f8[_0x5cdd86(0x3fb)]){var _0x2b355f,_0xa99f6;let _0x4e3a9a=_0x534484['getViewport'](_0x3036f8[_0x5cdd86(0x28c)]),_0xe126e6=(_0x2b355f=_0x4e3a9a==null?void 0x0:_0x4e3a9a['viewportScrollX'])==null?0x0:_0x2b355f,_0x2ddfc9=(_0xa99f6=_0x4e3a9a==null?void 0x0:_0x4e3a9a[_0x5cdd86(0x542)])==null?0x0:_0xa99f6;return{'left':(_0x1e939d-_0xe126e6)*_0x1a221c,'top':(_0x216bd1-_0x2ddfc9)*_0x4253dd,'width':_0x48b5b3*_0x1a221c,'height':_0xe04c28*_0x4253dd,'angle':_0x42b9b9,'scaleX':_0x1a221c,'scaleY':_0x4253dd};}let {domX:_0x427dba,domY:_0x131478}=Nn(_0x1e939d,_0x216bd1,_0x534484,_0xf1d905,_0x3036f8);return{'left':_0x427dba,'top':_0x131478,'width':_0x48b5b3*_0x1a221c,'height':_0xe04c28*_0x4253dd,'angle':_0x42b9b9,'scaleX':_0x1a221c,'scaleY':_0x4253dd};}function Fn(_0x93d746){const _0x33aa13=_0x56c0cf;let {editingParams:_0x5d0376,scene:_0xf61b2a,skeleton:_0x3e3360,viewportKeys:_0x3c020b,getShapeTransform:_0x2e7252,getPositionOffset:_0x2aede9}=_0x93d746,[_0x3226a4,_0x1e9b5c]=(0x0,n[_0x33aa13(0x1c0)])(Mn),_0x12849c=(0x0,n['useRef'])(_0x3226a4);_0x12849c[_0x33aa13(0x21b)]=_0x3226a4;let _0xfebce0=(0x0,n[_0x33aa13(0x4bf)])(()=>{const _0x2041d7=_0x33aa13;var _0x1148de;if(!_0x5d0376||!_0xf61b2a){An(_0x12849c[_0x2041d7(0x21b)],Mn)||_0x1e9b5c(Mn);return;}let _0xd08cb1=_0x2e7252();if(!_0xd08cb1){An(_0x12849c[_0x2041d7(0x21b)],Mn)||_0x1e9b5c(Mn);return;}let {left:_0x33aba5,top:_0x5a0c8f,width:_0x5cbb01,height:_0x4c43d4,angle:_0x178f27}=_0xd08cb1;if(!_0x5d0376[_0x2041d7(0x471)]){let {scaleX:_0x14a468,scaleY:_0x3ebfc1}=_0xf61b2a['getAncestorScale'](),_0x50c65c={'left':-0x270f,'top':-0x270f,'width':_0x5cbb01*_0x14a468,'height':_0x4c43d4*_0x3ebfc1,'angle':0x0,'scaleX':_0x14a468,'scaleY':_0x3ebfc1};_0x1e9b5c(_0x1307a4=>An(_0x1307a4,_0x50c65c)?_0x1307a4:_0x50c65c);return;}let _0x3fa312=jn(Pn(_0x33aba5,_0x5a0c8f,_0x5cbb01,_0x4c43d4,_0x178f27,_0xf61b2a,_0x3c020b,_0x3e3360),(_0x1148de=_0x2aede9==null?void 0x0:_0x2aede9())==null?null:_0x1148de);_0x1e9b5c(_0x532e7f=>An(_0x532e7f,_0x3fa312)?_0x532e7f:_0x3fa312);},[_0x5d0376,_0xf61b2a,_0x3e3360,_0x3c020b,_0x2e7252,_0x2aede9]);return(0x0,n[_0x33aa13(0x69d)])(()=>{_0xfebce0();},[_0x5d0376,_0xfebce0]),{'position':_0x3226a4,'updatePosition':_0xfebce0};}function In(_0xbb4e1,_0x4393be){const _0x2d84f0=_0x56c0cf;return!!(_0xbb4e1!=null&&_0xbb4e1[_0x2d84f0(0x471)])&&!(_0x4393be[_0x2d84f0(0x3fb)]===-0x270f&&_0x4393be[_0x2d84f0(0x2ac)]===-0x270f);}function Ln(_0x4a1f27){const _0x2fa9ac=_0x56c0cf;if(!_0x4a1f27||typeof _0x4a1f27!='object')return!0x1;let _0x581e9a=_0x4a1f27;return typeof _0x581e9a[_0x2fa9ac(0x3fb)]==_0x2fa9ac(0x1fe)&&typeof _0x581e9a['top']=='number'&&typeof _0x581e9a[_0x2fa9ac(0x57e)]==_0x2fa9ac(0x1fe)&&typeof _0x581e9a[_0x2fa9ac(0x480)]==_0x2fa9ac(0x1fe);}function Rn(_0x594d7a,_0x3a1449){const _0x4021a7=_0x56c0cf;var _0x5ef8b6,_0x5b26dc;let _0x2aad38=(_0x5ef8b6=_0x594d7a[_0x4021a7(0x41d)](_0x3a1449))==null?(_0x5b26dc=_0x594d7a[_0x4021a7(0x686)])==null?void 0x0:_0x5b26dc[_0x4021a7(0x35d)](_0x594d7a,_0x3a1449):_0x5ef8b6;return Ln(_0x2aad38)?_0x2aad38:null;}function zn(_0x29bcd1,_0x460b57){const _0x67f200=_0x56c0cf;return _0x29bcd1[_0x67f200(0x678)]>=_0x460b57['left']&&_0x29bcd1[_0x67f200(0x678)]<=_0x460b57[_0x67f200(0x218)]&&_0x29bcd1[_0x67f200(0x317)]>=_0x460b57['top']&&_0x29bcd1[_0x67f200(0x317)]<=_0x460b57[_0x67f200(0x4b8)];}function Bn(_0x58a967,_0x13e608){const _0x430c06=_0x56c0cf;if(!(_0x58a967 instanceof Node))return!0x1;let _0x54694a=_0x13e608==null?void 0x0:_0x13e608['querySelector'](_0x430c06(0x54e));return!!(_0x54694a!=null&&_0x54694a[_0x430c06(0x201)](_0x58a967));}function Vn(_0x1f678e){const _0x42b7ab=_0x56c0cf;let _0x535869=_0x1f678e[_0x42b7ab(0x637)],_0x3cebd4={'bubbles':!0x0,'cancelable':!0x0,'composed':!0x0,'view':window,'detail':_0x535869[_0x42b7ab(0x325)],'screenX':_0x535869[_0x42b7ab(0x444)],'screenY':_0x535869['screenY'],'clientX':_0x535869[_0x42b7ab(0x678)],'clientY':_0x535869[_0x42b7ab(0x317)],'ctrlKey':_0x535869['ctrlKey'],'shiftKey':_0x535869[_0x42b7ab(0x4fc)],'altKey':_0x535869[_0x42b7ab(0x50d)],'metaKey':_0x535869['metaKey'],'button':_0x535869['button'],'buttons':_0x535869[_0x42b7ab(0x36a)],'relatedTarget':_0x535869['relatedTarget']};return typeof PointerEvent<'u'&&_0x535869 instanceof PointerEvent?new PointerEvent(_0x535869[_0x42b7ab(0x4be)],{..._0x3cebd4,'pointerId':_0x535869[_0x42b7ab(0x1f6)],'width':_0x535869[_0x42b7ab(0x57e)],'height':_0x535869[_0x42b7ab(0x480)],'pressure':_0x535869[_0x42b7ab(0x1c6)],'tangentialPressure':_0x535869[_0x42b7ab(0x682)],'tiltX':_0x535869[_0x42b7ab(0x6d1)],'tiltY':_0x535869['tiltY'],'twist':_0x535869[_0x42b7ab(0x51b)],'pointerType':_0x535869['pointerType'],'isPrimary':_0x535869[_0x42b7ab(0x50e)]}):new MouseEvent(_0x535869[_0x42b7ab(0x4be)],_0x3cebd4);}function Hn(_0x2f521c){const _0x18f4ff=_0x56c0cf;let _0x13fd43=_0x2f521c[_0x18f4ff(0x54c)]['pointerEvents'],_0x1c9449=!0x1,_0x2cca7d=null,_0xabdc1d=()=>{const _0x2ec215=_0x18f4ff;_0x1c9449||(_0x1c9449=!0x0,_0x2f521c[_0x2ec215(0x54c)][_0x2ec215(0x3e0)]=_0x13fd43,document[_0x2ec215(0x679)]('pointerup',_0xabdc1d,!0x0),document['removeEventListener'](_0x2ec215(0x36b),_0xabdc1d,!0x0),document[_0x2ec215(0x679)](_0x2ec215(0x4c4),_0xabdc1d,!0x0),document[_0x2ec215(0x679)](_0x2ec215(0x36d),_0xabdc1d,!0x0),_0x2cca7d!==null&&window[_0x2ec215(0x509)](_0x2cca7d));};return _0x2f521c[_0x18f4ff(0x54c)][_0x18f4ff(0x3e0)]='none',document['addEventListener'](_0x18f4ff(0x5f6),_0xabdc1d,!0x0),document[_0x18f4ff(0x2ec)]('pointercancel',_0xabdc1d,!0x0),document[_0x18f4ff(0x2ec)](_0x18f4ff(0x4c4),_0xabdc1d,!0x0),document[_0x18f4ff(0x2ec)]('click',_0xabdc1d,!0x0),_0x2cca7d=window[_0x18f4ff(0x445)](_0xabdc1d,0x3e8),_0xabdc1d;}function Un(_0x3115dc,_0x145d38){const _0x496c8a=_0x56c0cf;let _0x419bcd=Hn(_0x145d38),_0x56156b=document[_0x496c8a(0x641)](_0x3115dc[_0x496c8a(0x678)],_0x3115dc[_0x496c8a(0x317)]);return!_0x56156b||_0x56156b===_0x145d38||_0x145d38['contains'](_0x56156b)?(_0x419bcd(),!0x1):(_0x3115dc[_0x496c8a(0x34f)](),_0x3115dc[_0x496c8a(0x60b)](),_0x56156b[_0x496c8a(0x4b1)](Vn(_0x3115dc)),!0x0);}function Wn(_0x27ef88){const _0x6a0cdd=_0x56c0cf;var _0x1ee442;let {editingParams:_0x118484,positionOptions:_0x5bde2f,renderUnit:_0x4d15ea,scene:_0x49dfdc}=_0x27ef88;if(!_0x118484)return null;let _0x3e52cb=_0x4d15ea?(_0x1ee442=_0x5bde2f[_0x6a0cdd(0x1dd)])==null?void 0x0:_0x1ee442[_0x6a0cdd(0x35d)](_0x5bde2f,_0x4d15ea,_0x118484):null;if(Ln(_0x3e52cb)){var _0x5f56fd;return{'left':_0x3e52cb['left'],'top':_0x3e52cb['top'],'width':_0x3e52cb[_0x6a0cdd(0x57e)],'height':_0x3e52cb[_0x6a0cdd(0x480)],'angle':(_0x5f56fd=_0x3e52cb['angle'])==null?0x0:_0x5f56fd};}return _0x49dfdc?Rn(_0x49dfdc,_0x118484[_0x6a0cdd(0x465)]):null;}const Gn=(0x0,n[_0x56c0cf(0x621)])(_0x4d2771=>{const _0x1a7a83=_0x56c0cf;let {children:_0x394fda,editingParams:_0x299824,positionOptions:_0x73eb6d,onPositionUpdate:_0xca1a4a}=_0x4d2771,_0x31f45f=(0x0,n[_0x1a7a83(0x2c5)])(null),_0x348206=(0x0,a['useDependency'])(c[_0x1a7a83(0x4f8)]),_0x592831=(0x0,n[_0x1a7a83(0x42e)])(()=>_0x299824?_0x348206[_0x1a7a83(0x68c)](_0x299824[_0x1a7a83(0x22a)]):null,[_0x299824,_0x348206]),_0x90e30c=(0x0,n[_0x1a7a83(0x42e)])(()=>{const _0x2930e5=_0x1a7a83;var _0xcda8e7;return(_0xcda8e7=_0x592831==null?void 0x0:_0x592831[_0x2930e5(0x5b6)])==null?null:_0xcda8e7;},[_0x592831]),_0x4113e0=(0x0,n[_0x1a7a83(0x42e)])(()=>!_0x299824||!_0x592831||!_0x73eb6d[_0x1a7a83(0x267)]?null:_0x73eb6d[_0x1a7a83(0x267)](_0x592831,_0x299824),[_0x299824,_0x73eb6d,_0x592831]),_0x2c658=(0x0,n[_0x1a7a83(0x4bf)])(()=>{const _0x4ff672=_0x1a7a83;var _0x2cb879;let _0x2999a5=Wn({'editingParams':_0x299824,'positionOptions':_0x73eb6d,'renderUnit':_0x592831,'scene':_0x90e30c});return _0x2999a5?{'left':_0x2999a5[_0x4ff672(0x3fb)],'top':_0x2999a5['top'],'width':_0x2999a5[_0x4ff672(0x57e)],'height':_0x2999a5[_0x4ff672(0x480)],'angle':(_0x2cb879=_0x2999a5[_0x4ff672(0x572)])==null?0x0:_0x2cb879}:null;},[_0x299824,_0x73eb6d,_0x592831,_0x90e30c]),_0x32063b=(0x0,n[_0x1a7a83(0x4bf)])(()=>{const _0x50b96e=_0x1a7a83;var _0x3cd936,_0x118231;return!_0x299824||!_0x592831||(_0x3cd936=(_0x118231=_0x73eb6d['getPositionOffset'])==null?void 0x0:_0x118231[_0x50b96e(0x35d)](_0x73eb6d,_0x592831,_0x299824))==null?null:_0x3cd936;},[_0x299824,_0x73eb6d,_0x592831]),{position:_0x41c117,updatePosition:_0x398fbc}=Fn({'editingParams':_0x299824,'scene':_0x90e30c,'skeleton':_0x4113e0,'viewportKeys':_0x73eb6d[_0x1a7a83(0x5c9)],'getShapeTransform':_0x2c658,'getPositionOffset':_0x32063b}),_0x2db96c=(0x0,n[_0x1a7a83(0x4bf)])(()=>{const _0xf13c23=_0x1a7a83;let _0xf70fa=_0x31f45f[_0xf13c23(0x21b)];_0xf70fa&&(_0xf70fa[_0xf13c23(0x54c)][_0xf13c23(0x3fb)]=_0x41c117[_0xf13c23(0x3fb)]+'px',_0xf70fa['style']['top']=_0x41c117[_0xf13c23(0x2ac)]+'px',_0xf70fa[_0xf13c23(0x54c)][_0xf13c23(0x57e)]=_0x41c117[_0xf13c23(0x57e)]+'px',_0xf70fa[_0xf13c23(0x54c)]['height']=_0x41c117[_0xf13c23(0x480)]+'px');},[_0x41c117]);(0x0,n[_0x1a7a83(0x69d)])(()=>{const _0x1afc43=_0x1a7a83;_0x2db96c(),In(_0x299824,_0x41c117)&&(_0xca1a4a==null||_0xca1a4a({'width':_0x41c117[_0x1afc43(0x57e)],'height':_0x41c117['height'],'scaleX':_0x41c117[_0x1afc43(0x3c2)],'scaleY':_0x41c117[_0x1afc43(0x466)]}));},[_0x299824,_0x41c117,_0x2db96c,_0xca1a4a]),(0x0,n['useEffect'])(()=>{const _0x317e48=_0x1a7a83;if(!_0x90e30c)return;let _0x30f7b5=_0x90e30c[_0x317e48(0x51f)](_0x73eb6d[_0x317e48(0x5c9)][_0x317e48(0x28c)]);if(!_0x30f7b5)return;let _0x4b8041=_0x30f7b5[_0x317e48(0x4df)][_0x317e48(0x4c2)](()=>{_0x398fbc();});return()=>{const _0x302ead=_0x317e48;_0x4b8041[_0x302ead(0x231)]();};},[_0x73eb6d[_0x1a7a83(0x5c9)][_0x1a7a83(0x28c)],_0x90e30c,_0x398fbc]),(0x0,n[_0x1a7a83(0x69d)])(()=>{const _0x51a221=_0x1a7a83;var _0x23d45f,_0x5bf723;let _0x3c2c85=_0x592831==null||(_0x23d45f=_0x592831[_0x51a221(0x4f6)])==null||(_0x23d45f=_0x23d45f[_0x51a221(0x62e)])==null?void 0x0:_0x23d45f[_0x51a221(0x4c2)](()=>{_0x398fbc();}),_0x5156ac=_0x90e30c==null||(_0x5bf723=_0x90e30c[_0x51a221(0x62e)])==null?void 0x0:_0x5bf723[_0x51a221(0x4c2)](()=>{_0x398fbc();});return()=>{const _0x32776b=_0x51a221;_0x3c2c85==null||_0x3c2c85[_0x32776b(0x231)](),_0x5156ac==null||_0x5156ac[_0x32776b(0x231)]();};},[_0x592831,_0x90e30c,_0x398fbc]),(0x0,n['useEffect'])(()=>{const _0x441c89=_0x1a7a83;if(!_0x299824||!_0x90e30c)return;let _0x5f467a=Rn(_0x90e30c,_0x299824['shapeKey']);if(_0x5f467a!=null&&_0x5f467a[_0x441c89(0x62e)]){let _0x1ebf77=_0x5f467a[_0x441c89(0x62e)][_0x441c89(0x4c2)](()=>{_0x398fbc();});return()=>{_0x1ebf77['unsubscribe']();};}},[_0x299824,_0x90e30c,_0x398fbc]);let _0x291bcb=(0x0,n['useMemo'])(()=>({'left':_0x41c117[_0x1a7a83(0x3fb)],'top':_0x41c117[_0x1a7a83(0x2ac)],'width':_0x41c117[_0x1a7a83(0x57e)],'height':_0x41c117[_0x1a7a83(0x480)],'pointerEvents':_0x299824!=null&&_0x299824[_0x1a7a83(0x471)]?_0x1a7a83(0x4a3):_0x1a7a83(0x3b5)}),[_0x41c117,_0x299824==null?void 0x0:_0x299824[_0x1a7a83(0x471)]]),_0x579433=(0x0,n['useCallback'])(_0x4bd399=>{const _0x4b2d61=_0x1a7a83;let _0x3ef223=_0x31f45f[_0x4b2d61(0x21b)];if(!_0x3ef223||!(_0x299824!=null&&_0x299824['visible']))return;let _0x892bb1=_0x4bd399[_0x4b2d61(0x207)];!(_0x892bb1 instanceof Node)||!_0x3ef223['contains'](_0x892bb1)||Bn(_0x892bb1,_0x3ef223)||zn(_0x4bd399['nativeEvent'],_0x3ef223[_0x4b2d61(0x518)]())||Un(_0x4bd399,_0x3ef223);},[_0x299824==null?void 0x0:_0x299824[_0x1a7a83(0x471)]]);return(0x0,r[_0x1a7a83(0x6f0)])('div',{'ref':_0x31f45f,'data-u-comp':_0x1a7a83(0x225),'className':'univer-absolute\x20univer-z-[100]\x20univer-overflow-visible','style':_0x291bcb,'onPointerDownCapture':_0x579433,'onMouseDownCapture':_0x579433,'onClickCapture':_0x579433,'children':_0x394fda});});function Kn(_0x41309b,_0x2e865f){const _0x18d44c=_0x56c0cf;return Math[_0x18d44c(0x57a)](_0x41309b['width']-_0x2e865f[_0x18d44c(0x57e)])<=0.001&&Math['abs'](_0x41309b[_0x18d44c(0x480)]-_0x2e865f[_0x18d44c(0x480)])<=0.001&&Math[_0x18d44c(0x57a)](_0x41309b[_0x18d44c(0x3c2)]-_0x2e865f['scaleX'])<=0.001&&Math['abs'](_0x41309b[_0x18d44c(0x466)]-_0x2e865f[_0x18d44c(0x466)])<=0.001;}const qn=(0x0,n[_0x56c0cf(0x621)])(_0x1c44cf=>{const _0x26c0b3=_0x56c0cf;let {adapter:_0x271946,editorUnitId:_0x84a575,editingService:_0x42ff5a,positionOptions:_0x2c6761,verticalAlignCommandId:_0x4e2ca5}=_0x1c44cf,_0x6f7206=(0x0,a[_0x26c0b3(0x430)])(_0x42ff5a['editingParams$']),_0x2fead7=(0x0,a[_0x26c0b3(0x430)])(_0x42ff5a[_0x26c0b3(0x68e)]),_0xd47539=Qt({'editorUnitId':_0x84a575,'editingParams':_0x6f7206}),_0x53fb78=(0x0,n[_0x26c0b3(0x2c5)])(!0x1),_0x289372=(0x0,n[_0x26c0b3(0x2c5)])(0x0),_0x4fe3e9=(_0x6f7206==null?void 0x0:_0x6f7206[_0x26c0b3(0x471)])===!0x0;_0x4fe3e9&&!_0x53fb78[_0x26c0b3(0x21b)]&&(_0x289372[_0x26c0b3(0x21b)]+=0x1),_0x53fb78['current']=_0x4fe3e9;let _0x557a54=_0xd47539?_0xd47539+'|'+_0x289372[_0x26c0b3(0x21b)]:null,[_0x5f2486,_0x93d828]=(0x0,n[_0x26c0b3(0x1c0)])(null),_0x3ae4c4=(0x0,n[_0x26c0b3(0x4bf)])(_0x479c90=>{const _0x244b7f=_0x26c0b3;if(!_0x557a54)return;let _0x756832={'width':_0x479c90['width'],'height':_0x479c90[_0x244b7f(0x480)],'scaleX':_0x479c90[_0x244b7f(0x3c2)],'scaleY':_0x479c90['scaleY']};_0x93d828(_0x7bc24e=>(_0x7bc24e==null?void 0x0:_0x7bc24e['sessionKey'])===_0x557a54&&Kn(_0x7bc24e[_0x244b7f(0x53c)],_0x756832)?_0x7bc24e:{'sessionKey':_0x557a54,'size':_0x756832});},[_0x557a54]);if(!_0x6f7206||!_0x6f7206[_0x26c0b3(0x471)]&&!_0x2fead7)return null;let _0x4a77a7=(_0x5f2486==null?void 0x0:_0x5f2486['sessionKey'])===_0x557a54?_0x5f2486[_0x26c0b3(0x53c)]:null;return(0x0,r[_0x26c0b3(0x6f0)])(Gn,{'editingParams':_0x6f7206,'positionOptions':_0x2c6761,'onPositionUpdate':_0x3ae4c4,'children':_0x4a77a7?(0x0,r[_0x26c0b3(0x6f0)])(On,{'adapter':_0x271946,'containerWidth':_0x4a77a7['width'],'containerHeight':_0x4a77a7[_0x26c0b3(0x480)],'editingParams':_0x6f7206,'editingService':_0x42ff5a,'editorUnitId':_0x84a575,'scaleX':_0x4a77a7[_0x26c0b3(0x3c2)],'scaleY':_0x4a77a7[_0x26c0b3(0x466)],'verticalAlignCommandId':_0x4e2ca5}):null},_0x557a54);}),Jn=a[_0x56c0cf(0x5c2)]['map'](_0x27df8e=>({'label':_0x27df8e[_0x56c0cf(0x68f)],'value':String(_0x27df8e[_0x56c0cf(0x202)])})),Yn=[u['SetInlineFormatTextFillCommand']['id'],u[_0x56c0cf(0x4e3)]['id'],u[_0x56c0cf(0x3ef)]['id'],u[_0x56c0cf(0x5aa)]['id'],u[_0x56c0cf(0x41f)]['id'],u[_0x56c0cf(0x6b9)]['id'],u['SetInlineFormatItalicCommand']['id'],u[_0x56c0cf(0x375)]['id'],u[_0x56c0cf(0x64a)]['id'],u[_0x56c0cf(0x563)]['id'],u[_0x56c0cf(0x257)]['id'],l['RichTextEditingMutation']['id'],l[_0x56c0cf(0x3d0)]['id']],Xn={'root':_0x56c0cf(0x503),'group':_0x56c0cf(0x419),'divider':'\x0a\x20\x20\x20\x20\x20\x20univer-h-4\x20univer-w-px\x20univer-bg-gray-200\x0a\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-700\x0a\x20\x20\x20\x20','button':_0x56c0cf(0x6c8),'select':_0x56c0cf(0x323)};function Zn(_0x1c329c){const _0x13b628=_0x56c0cf;return _0x1c329c instanceof HTMLElement?!!_0x1c329c[_0x13b628(0x584)](_0x13b628(0x50f)):!0x1;}function Qn(_0x24d295){const _0x4855c2=_0x56c0cf;return!!(_0x24d295&&typeof _0x24d295==_0x4855c2(0x6ec)&&_0x24d295['s']===i[_0x4855c2(0x32b)][_0x4855c2(0x657)]);}function $n(_0x1a32b9){const _0x3a27c9=_0x56c0cf;return(0x0,r[_0x3a27c9(0x6f0)])(_0x3a27c9(0x21c),{'className':Xn[_0x3a27c9(0x483)],'children':_0x1a32b9[_0x3a27c9(0x392)]});}function er(){const _0x4392ed=_0x56c0cf;return(0x0,r['jsx'])(_0x4392ed(0x6c6),{'className':Xn['divider']});}function tr(_0x2f9bfd){const _0xae8496=_0x56c0cf;return(0x0,r[_0xae8496(0x6f0)])(e[_0xae8496(0x481)],{'title':(0x0,a[_0xae8496(0x4ea)])(i[_0xae8496(0x5ad)])['t'](_0x2f9bfd[_0xae8496(0x3a9)]),'placement':_0xae8496(0x4b8),'children':(0x0,r[_0xae8496(0x6f0)])(_0xae8496(0x324),{'type':'button','className':(0x0,e[_0xae8496(0x4e6)])(Xn[_0xae8496(0x324)],{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x2f9bfd[_0xae8496(0x522)]}),'onClick':_0x2f9bfd['onClick'],'children':_0x2f9bfd[_0xae8496(0x392)]})});}function nr(){const _0x5e2c82=_0x56c0cf;var _0x2ef7e0,_0x25178d,_0x48d1d9,_0x272f73,_0x4377ae,_0x4dcdbc;let _0x34c248=(0x0,a['useDependency'])(i[_0x5e2c82(0x6da)]),_0x14d9a0=(0x0,a['useDependency'])(l[_0x5e2c82(0x27f)]),_0x1588d3=(0x0,a[_0x5e2c82(0x4ea)])(i[_0x5e2c82(0x2ba)]),[_0x4feabc,_0x704b29]=(0x0,n[_0x5e2c82(0x1c0)])({'cl':{'rgb':Z}});(0x0,n[_0x5e2c82(0x69d)])(()=>{const _0x3dbcd9=_0x5e2c82;let _0x57d471=()=>{const _0x196a71=_0x4435;var _0x1b1c08,_0x2407c9,_0x3ba22e,_0x158154,_0x53f5fb,_0xb76b24,_0x410e2d;let _0x10b868=(_0x1b1c08=_0x14d9a0[_0x196a71(0x2e0)]())==null?[]:_0x1b1c08,_0x44273f=_0x10b868[_0x196a71(0x3d5)]>0x0?_0x10b868[_0x196a71(0x3f0)](_0x180d48=>_0x180d48[_0x196a71(0x2a7)]!=null&&_0x180d48[_0x196a71(0x70c)]!=null):_0x14d9a0[_0x196a71(0x2e5)](),_0x315b79=(_0x2407c9=_0x44273f[_0x196a71(0x2cd)](_0x253362=>_0x253362[_0x196a71(0x232)]))==null?_0x44273f[0x0]:_0x2407c9;if(!_0x315b79){_0x704b29({'cl':{'rgb':Z}});return;}let _0x57808d=_0x1588d3['getCurrentUnitOfType'](i[_0x196a71(0x5de)][_0x196a71(0x30a)]);if(!_0x57808d){_0x704b29({'cl':{'rgb':Z}});return;}let _0x17df57=(_0x3ba22e=_0x57808d['getSelfOrHeaderFooterModel'](_0x315b79['segmentId']))==null?void 0x0:_0x3ba22e[_0x196a71(0x2cc)]();if(!_0x17df57){_0x704b29({'cl':{'rgb':Z}});return;}let _0x35e46f=(_0x158154=_0x57808d[_0x196a71(0x52a)]()[_0x196a71(0x413)])==null?void 0x0:_0x158154[_0x196a71(0x692)];_0x704b29((0x0,u[_0x196a71(0x278)])(_0x17df57,_0x315b79,{..._0x35e46f,'ff':(_0x53f5fb=_0x35e46f==null?void 0x0:_0x35e46f['ff'])==null?i[_0x196a71(0x26a)]['ff']:_0x53f5fb,'fs':(_0xb76b24=_0x35e46f==null?void 0x0:_0x35e46f['fs'])==null?i['DEFAULT_STYLES']['fs']:_0xb76b24,'cl':(_0x410e2d=_0x35e46f==null?void 0x0:_0x35e46f['cl'])==null?{'rgb':Z}:_0x410e2d}));};_0x57d471();let _0x265ffb=_0x34c248[_0x3dbcd9(0x704)](_0x3fd114=>{Yn['includes'](_0x3fd114['id'])&&_0x57d471();}),_0x2d62d5=_0x14d9a0[_0x3dbcd9(0x2e3)][_0x3dbcd9(0x290)](_0x57d471);return()=>{const _0x552c17=_0x3dbcd9;_0x265ffb[_0x552c17(0x294)](),_0x2d62d5[_0x552c17(0x231)]();};},[_0x34c248,_0x14d9a0,_0x1588d3]);let _0x1bb5d5=(_0x382be3,_0x266959)=>{const _0x40dfa1=_0x5e2c82;_0x34c248[_0x40dfa1(0x65d)](_0x382be3,_0x266959===void 0x0?void 0x0:{'value':_0x266959});},_0x4834c9=(_0x2ef7e0=_0x4feabc['ff'])==null?i[_0x5e2c82(0x26a)]['ff']:_0x2ef7e0,_0x19aa1c=(_0x25178d=_0x4feabc['fs'])==null?i[_0x5e2c82(0x26a)]['fs']:_0x25178d,_0x35eead=_0x4feabc['bl']===i[_0x5e2c82(0x32b)]['TRUE'],_0xc429e0=_0x4feabc['it']===i[_0x5e2c82(0x32b)]['TRUE'],_0x36c8b3=Qn(_0x4feabc['ul']),_0x3415f9=Qn(_0x4feabc['st']),_0x28f906=_0x4feabc['va']===i[_0x5e2c82(0x1df)][_0x5e2c82(0x2f9)],_0x18f9bf=_0x4feabc['va']===i[_0x5e2c82(0x1df)]['SUPERSCRIPT'],_0x391e6c=(_0x48d1d9=(_0x272f73=_0x4feabc['bg'])==null?void 0x0:_0x272f73[_0x5e2c82(0x6b2)])==null?ge:_0x48d1d9;return(0x0,r['jsxs'])('div',{'onMouseDown':_0x2f64d6=>{const _0xabf59d=_0x5e2c82;_0x2f64d6[_0xabf59d(0x60b)](),Zn(_0x2f64d6[_0xabf59d(0x207)])||_0x2f64d6['preventDefault']();},'className':(0x0,e['clsx'])(Xn[_0x5e2c82(0x5b1)],e[_0x5e2c82(0x6d2)]),'children':[(0x0,r[_0x5e2c82(0x6f0)])($n,{'children':(0x0,r[_0x5e2c82(0x6f0)])(lt,{})}),(0x0,r['jsx'])(er,{}),(0x0,r['jsxs'])($n,{'children':[(0x0,r[_0x5e2c82(0x6f0)])(a[_0x5e2c82(0x237)],{'ariaLabel':'Font\x20family','className':'univer-w-28','inputClassName':_0x5e2c82(0x1f2),'title':_0x4834c9,'value':_0x4834c9,'onChange':_0x48abfb=>_0x1bb5d5(u[_0x5e2c82(0x5aa)]['id'],_0x48abfb),'onMouseDown':_0x45f41d=>{const _0x1f1aa3=_0x5e2c82;_0x45f41d[_0x1f1aa3(0x60b)]();},'onPointerDown':_0x4e0508=>{const _0x2cfd79=_0x5e2c82;_0x4e0508[_0x2cfd79(0x60b)]();}}),(0x0,r[_0x5e2c82(0x6f0)])(e[_0x5e2c82(0x39b)],{'className':(0x0,e['clsx'])(Xn['select'],'univer-w-14'),'value':String(_0x19aa1c),'options':Jn,'onChange':_0x27b301=>{const _0x34e2dc=_0x5e2c82;let _0xb304dd=Number(_0x27b301);Number[_0x34e2dc(0x58c)](_0xb304dd)||_0x1bb5d5(u['SetInlineFormatFontSizeCommand']['id'],_0xb304dd);}})]}),(0x0,r[_0x5e2c82(0x6f0)])(er,{}),(0x0,r[_0x5e2c82(0x372)])($n,{'children':[(0x0,r[_0x5e2c82(0x6f0)])(tr,{'titleKey':_0x5e2c82(0x2c9),'active':_0x35eead,'onClick':()=>_0x1bb5d5(u[_0x5e2c82(0x6b9)]['id']),'children':(0x0,r[_0x5e2c82(0x6f0)])(t[_0x5e2c82(0x6e6)],{})}),(0x0,r[_0x5e2c82(0x6f0)])(tr,{'titleKey':_0x5e2c82(0x2bf),'active':_0xc429e0,'onClick':()=>_0x1bb5d5(u[_0x5e2c82(0x489)]['id']),'children':(0x0,r[_0x5e2c82(0x6f0)])(t['ItalicIcon'],{})}),(0x0,r[_0x5e2c82(0x6f0)])(tr,{'titleKey':_0x5e2c82(0x1af),'active':_0x36c8b3,'onClick':()=>_0x1bb5d5(u[_0x5e2c82(0x375)]['id']),'children':(0x0,r[_0x5e2c82(0x6f0)])(t[_0x5e2c82(0x65b)],{})}),(0x0,r[_0x5e2c82(0x6f0)])(tr,{'titleKey':_0x5e2c82(0x3df),'active':_0x3415f9,'onClick':()=>_0x1bb5d5(u['SetInlineFormatStrikethroughCommand']['id']),'children':(0x0,r[_0x5e2c82(0x6f0)])(t[_0x5e2c82(0x6ea)],{})})]}),(0x0,r['jsx'])(er,{}),(0x0,r[_0x5e2c82(0x372)])($n,{'children':[(0x0,r['jsx'])(tr,{'titleKey':_0x5e2c82(0x200),'active':_0x28f906,'onClick':()=>_0x1bb5d5(u['SetInlineFormatSubscriptCommand']['id']),'children':(0x0,r['jsxs'])('span',{'className':_0x5e2c82(0x625),'children':['X',(0x0,r[_0x5e2c82(0x6f0)])(_0x5e2c82(0x2c6),{'children':'2'})]})}),(0x0,r[_0x5e2c82(0x6f0)])(tr,{'titleKey':_0x5e2c82(0x241),'active':_0x18f9bf,'onClick':()=>_0x1bb5d5(u['SetInlineFormatSuperscriptCommand']['id']),'children':(0x0,r[_0x5e2c82(0x372)])(_0x5e2c82(0x6c6),{'className':_0x5e2c82(0x625),'children':['X',(0x0,r[_0x5e2c82(0x6f0)])(_0x5e2c82(0x40a),{'children':'2'})]})})]}),(0x0,r['jsx'])(er,{}),(0x0,r[_0x5e2c82(0x372)])($n,{'children':[(0x0,r[_0x5e2c82(0x6f0)])(qe,{'titleKey':_0x5e2c82(0x240),'textStyle':_0x4feabc,'fallbackColor':(_0x4377ae=(_0x4dcdbc=_0x4feabc['cl'])==null?void 0x0:_0x4dcdbc[_0x5e2c82(0x6b2)])==null?Z:_0x4377ae,'onChange':_0x87f1a1=>{const _0x2b74ee=_0x5e2c82;_0x34c248[_0x2b74ee(0x65d)](u['SetInlineFormatTextFillCommand']['id'],{'value':_0x87f1a1}),_0x704b29(_0x4a9a6a=>({..._0x4a9a6a,..._0x87f1a1}));}}),(0x0,r[_0x5e2c82(0x6f0)])(Je,{'titleKey':_0x5e2c82(0x3ff),'color':_0x391e6c,'onApply':()=>_0x1bb5d5(u['SetInlineFormatTextBackgroundColorCommand']['id'],_0x391e6c),'onReset':()=>{const _0x5064e0=_0x5e2c82;_0x34c248[_0x5064e0(0x65d)](u['ResetInlineFormatTextBackgroundColorCommand']['id']),_0x704b29(_0x37f67e=>({..._0x37f67e,'bg':{'rgb':null}}));},'onChange':_0xf8aad8=>{const _0xff6124=_0x5e2c82;_0x1bb5d5(u[_0xff6124(0x4e3)]['id'],_0xf8aad8),_0x704b29(_0x30c9ba=>({..._0x30c9ba,'bg':{'rgb':_0xf8aad8}}));}})]})]});}exports[_0x56c0cf(0x525)]=lt,exports[_0x56c0cf(0x602)]=p,exports[_0x56c0cf(0x48d)]=k,exports[_0x56c0cf(0x613)]=X,exports[_0x56c0cf(0x537)]=ge,exports[_0x56c0cf(0x64e)]=Z,exports['SHAPE_FLOATING_TOOLBAR_TOP_OFFSET']=0x10,exports[_0x56c0cf(0x4d0)]=ct,exports[_0x56c0cf(0x409)]=0x10,exports[_0x56c0cf(0x20e)]=L,exports['ShapeFillButton']=Ve,exports[_0x56c0cf(0x29c)]=M,exports['ShapeFloatingToolbar']=tt,exports[_0x56c0cf(0x64b)]=Ce,exports[_0x56c0cf(0x29a)]=Te,exports[_0x56c0cf(0x449)]=Ee,exports[_0x56c0cf(0x2b2)]=xe,exports['ShapeFloatingToolbarMenuItem']=Ze,exports['ShapeFloatingToolbarMenuPanel']=Xe,exports['ShapeGroupEnum']=nt,exports[_0x56c0cf(0x321)]=A,exports[_0x56c0cf(0x4cc)]=I,exports[_0x56c0cf(0x5da)]=st,exports[_0x56c0cf(0x619)]=ot,exports[_0x56c0cf(0x5f9)]=Fe,exports['ShapeStrokePanelContent']=Pe,exports['ShapeTextEditorContainer']=qn,exports['ShapeTextFloatMenuRenderControllerBase']=Et,exports[_0x56c0cf(0x1ac)]=nr,exports[_0x56c0cf(0x2d5)]=qe,exports[_0x56c0cf(0x3b6)]=Ye,Object[_0x56c0cf(0x1a6)](exports,_0x56c0cf(0x2a5),{'enumerable':!0x0,'get':function(){return T;}}),exports[_0x56c0cf(0x46e)]=D,exports['buildShapeTextDataUpdate']=me,exports[_0x56c0cf(0x1f5)]=O,exports['createShapeTextBoxShapeData']=gt,exports[_0x56c0cf(0x30d)]=Vt,exports[_0x56c0cf(0x253)]=j,exports['getShapeTextOpticalVerticalOffset']=Pt,exports[_0x56c0cf(0x631)]=Bt,exports[_0x56c0cf(0x2e1)]=Ot,exports[_0x56c0cf(0x65e)]=K,exports[_0x56c0cf(0x3e2)]=V,exports[_0x56c0cf(0x49a)]=ce,exports[_0x56c0cf(0x408)]=Wt,exports['resolveShapeTextDocumentAlignment']=re,exports[_0x56c0cf(0x5e0)]=W,exports[_0x56c0cf(0x59b)]=Mt,exports[_0x56c0cf(0x5bf)]=_t,exports[_0x56c0cf(0x1c3)]=Ct,exports[_0x56c0cf(0x495)]=en,exports[_0x56c0cf(0x4d9)]=bt,exports['resolveShapeTextNoWrapLayout']=zt,exports[_0x56c0cf(0x45a)]=jt,exports['shapeTypeOptions']=rt,exports['shouldAllowShapeTextEditorHostSizeShrink']=wt,exports[_0x56c0cf(0x316)]=St,exports[_0x56c0cf(0x31d)]=xt,exports[_0x56c0cf(0x344)]=le,exports[_0x56c0cf(0x66d)]=q;