@univerjs-pro/shape-editor-ui 1.0.0-alpha.6 → 1.0.0-alpha.7

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 (100) hide show
  1. package/lib/cjs/formula-shape-en-us-B0fVf3OO.js +1 -0
  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/formula-shape-en-us-BbvC914f.js +1 -0
  23. package/lib/es/index.js +1 -1
  24. package/lib/es/locale/ar-SA.js +1 -1
  25. package/lib/es/locale/ca-ES.js +1 -1
  26. package/lib/es/locale/de-DE.js +1 -1
  27. package/lib/es/locale/en-US.js +1 -1
  28. package/lib/es/locale/es-ES.js +1 -1
  29. package/lib/es/locale/fa-IR.js +1 -1
  30. package/lib/es/locale/fr-FR.js +1 -1
  31. package/lib/es/locale/id-ID.js +1 -1
  32. package/lib/es/locale/it-IT.js +1 -1
  33. package/lib/es/locale/ja-JP.js +1 -1
  34. package/lib/es/locale/ko-KR.js +1 -1
  35. package/lib/es/locale/pl-PL.js +1 -1
  36. package/lib/es/locale/pt-BR.js +1 -1
  37. package/lib/es/locale/ru-RU.js +1 -1
  38. package/lib/es/locale/sk-SK.js +1 -1
  39. package/lib/es/locale/vi-VN.js +1 -1
  40. package/lib/es/locale/zh-CN.js +1 -1
  41. package/lib/es/locale/zh-HK.js +1 -1
  42. package/lib/es/locale/zh-TW.js +1 -1
  43. package/lib/formula-shape-en-us-BbvC914f.js +1 -0
  44. package/lib/index.css +134 -0
  45. package/lib/index.js +1 -1
  46. package/lib/locale/ar-SA.js +1 -1
  47. package/lib/locale/ca-ES.js +1 -1
  48. package/lib/locale/de-DE.js +1 -1
  49. package/lib/locale/en-US.js +1 -1
  50. package/lib/locale/es-ES.js +1 -1
  51. package/lib/locale/fa-IR.js +1 -1
  52. package/lib/locale/fr-FR.js +1 -1
  53. package/lib/locale/id-ID.js +1 -1
  54. package/lib/locale/it-IT.js +1 -1
  55. package/lib/locale/ja-JP.js +1 -1
  56. package/lib/locale/ko-KR.js +1 -1
  57. package/lib/locale/pl-PL.js +1 -1
  58. package/lib/locale/pt-BR.js +1 -1
  59. package/lib/locale/ru-RU.js +1 -1
  60. package/lib/locale/sk-SK.js +1 -1
  61. package/lib/locale/vi-VN.js +1 -1
  62. package/lib/locale/zh-CN.js +1 -1
  63. package/lib/locale/zh-HK.js +1 -1
  64. package/lib/locale/zh-TW.js +1 -1
  65. package/lib/types/common/formula-shape-en-us.d.ts +44 -0
  66. package/lib/types/config/config.d.ts +20 -0
  67. package/lib/types/index.d.ts +9 -1
  68. package/lib/types/locale/en-US.d.ts +44 -0
  69. package/lib/types/services/shape-formula-editor.d.ts +20 -0
  70. package/lib/types/services/shape-formula-reference.d.ts +15 -0
  71. package/lib/types/services/shape-formula-unit-viewer.service.d.ts +67 -0
  72. package/lib/types/views/formula-shape/FormulaShapeNumberFormat.d.ts +23 -0
  73. package/lib/types/views/formula-shape/UseFormulaShapeToolbar.d.ts +13 -0
  74. package/lib/types/views/formula-shape/formula-shape-animation.d.ts +33 -0
  75. package/lib/types/views/formula-shape/formula-shape-auto-fit.d.ts +15 -0
  76. package/lib/types/views/formula-shape/formula-shape-number-format-utils.d.ts +17 -0
  77. package/lib/types/views/shape-floating-toolbar/ShapeFloatingToolbar.d.ts +13 -1
  78. package/lib/types/views/shape-text-editor/shape-text-behavior.d.ts +0 -3
  79. package/lib/types/views/shape-text-editor/shape-text-placeholder.d.ts +1 -0
  80. package/lib/umd/index.js +1 -1
  81. package/lib/umd/locale/ar-SA.js +1 -1
  82. package/lib/umd/locale/ca-ES.js +1 -1
  83. package/lib/umd/locale/de-DE.js +1 -1
  84. package/lib/umd/locale/en-US.js +1 -1
  85. package/lib/umd/locale/es-ES.js +1 -1
  86. package/lib/umd/locale/fa-IR.js +1 -1
  87. package/lib/umd/locale/fr-FR.js +1 -1
  88. package/lib/umd/locale/id-ID.js +1 -1
  89. package/lib/umd/locale/it-IT.js +1 -1
  90. package/lib/umd/locale/ja-JP.js +1 -1
  91. package/lib/umd/locale/ko-KR.js +1 -1
  92. package/lib/umd/locale/pl-PL.js +1 -1
  93. package/lib/umd/locale/pt-BR.js +1 -1
  94. package/lib/umd/locale/ru-RU.js +1 -1
  95. package/lib/umd/locale/sk-SK.js +1 -1
  96. package/lib/umd/locale/vi-VN.js +1 -1
  97. package/lib/umd/locale/zh-CN.js +1 -1
  98. package/lib/umd/locale/zh-HK.js +1 -1
  99. package/lib/umd/locale/zh-TW.js +1 -1
  100. package/package.json +25 -11
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- const _0x2a77fc=_0x41f9;(function(_0x7c1a82,_0xf21f7f){const _0x1c5e7c=_0x41f9,_0x51a527=_0x7c1a82();while(!![]){try{const _0x170c2b=parseInt(_0x1c5e7c(0x16f))/0x1*(-parseInt(_0x1c5e7c(0x372))/0x2)+parseInt(_0x1c5e7c(0x3cb))/0x3+-parseInt(_0x1c5e7c(0x27f))/0x4*(parseInt(_0x1c5e7c(0x2ee))/0x5)+-parseInt(_0x1c5e7c(0x4d6))/0x6*(-parseInt(_0x1c5e7c(0x1dd))/0x7)+-parseInt(_0x1c5e7c(0x5a1))/0x8*(-parseInt(_0x1c5e7c(0x261))/0x9)+parseInt(_0x1c5e7c(0x163))/0xa*(-parseInt(_0x1c5e7c(0x5a6))/0xb)+parseInt(_0x1c5e7c(0x510))/0xc;if(_0x170c2b===_0xf21f7f)break;else _0x51a527['push'](_0x51a527['shift']());}catch(_0x1e272e){_0x51a527['push'](_0x51a527['shift']());}}}(_0x41b2,0xb9059),Object[_0x2a77fc(0x2f5)](exports,Symbol[_0x2a77fc(0x399)],{'value':_0x2a77fc(0x3bc)}));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':_0x2a77fc(0x1da),'solid':_0x2a77fc(0x25e),'gradient':_0x2a77fc(0x1a9),'picture':_0x2a77fc(0x2b4)},f={'type':'linear','angle':0x0,'stops':[{'color':_0x2a77fc(0x321),'offset':0x0},{'color':_0x2a77fc(0x32b),'offset':0x64}]};function p(_0x10576d){const _0x6578bd=_0x2a77fc;var _0x13c103,_0x20a69f,_0x403452,_0x56dddb,_0x547796;let {className:_0x1bf337,compact:_0x75b20f=!0x0,disabled:_0x1bf1c8=!0x1,direction:_0x58dfc8,value:_0x57dcd9,typeValues:_0x283b6a=d,color:_0x221985=_0x6578bd(0x321),transparency:_0x3e911c=0x0,gradientValue:_0x57eb83=f,labels:_0x576313,tabLabels:_0x1322c7,noFillEditor:_0x349801,pictureFillEditor:_0x45c949,renderColorIcon:_0x140c2d,keepColorPickerOpenOnChange:_0x4f82ed=!0x1,onChange:_0x349bc4,onColorChange:_0x1bd824,onTransparencyChange:_0x36ff8f,onGradientChange:_0x8c2bc2}=_0x10576d,[_0x12b54a,_0x444c2c]=(0x0,n[_0x6578bd(0x23e)])(!0x1),_0x56f817=[{'label':(_0x13c103=_0x1322c7==null?void 0x0:_0x1322c7[_0x6578bd(0x17c)])==null?_0x576313[_0x6578bd(0x17c)]:_0x13c103,'value':_0x283b6a[_0x6578bd(0x1da)]},{'label':(_0x20a69f=_0x1322c7==null?void 0x0:_0x1322c7[_0x6578bd(0x1d5)])==null?_0x576313[_0x6578bd(0x1d5)]:_0x20a69f,'value':_0x283b6a[_0x6578bd(0x25e)]},{'label':(_0x403452=_0x1322c7==null?void 0x0:_0x1322c7[_0x6578bd(0x188)])==null?_0x576313[_0x6578bd(0x188)]:_0x403452,'value':_0x283b6a['gradient']},{'label':(_0x56dddb=_0x1322c7==null?void 0x0:_0x1322c7[_0x6578bd(0x619)])==null?_0x576313[_0x6578bd(0x619)]:_0x56dddb,'value':_0x283b6a[_0x6578bd(0x2b4)]}];return(0x0,r[_0x6578bd(0x576)])(_0x6578bd(0x488),{'dir':_0x58dfc8,'className':(0x0,e[_0x6578bd(0x3fc)])(_0x6578bd(0x456),_0x75b20f?_0x6578bd(0x444):_0x6578bd(0x270),_0x1bf337),'children':[(0x0,r['jsx'])(e['Segmented'],{'className':(0x0,e[_0x6578bd(0x3fc)])(_0x6578bd(0x42d),_0x75b20f&&_0x6578bd(0x42b),_0x1bf1c8&&'univer-pointer-events-none\x20univer-opacity-60'),'items':_0x56f817,'value':_0x57dcd9,'onChange':_0x452c6a=>{_0x1bf1c8||_0x349bc4==null||_0x349bc4(_0x452c6a);}}),_0x57dcd9===_0x283b6a[_0x6578bd(0x1da)]&&_0x349801,_0x57dcd9===_0x283b6a[_0x6578bd(0x25e)]&&(0x0,r[_0x6578bd(0x576)])(_0x6578bd(0x488),{'className':(0x0,e[_0x6578bd(0x3fc)])(_0x6578bd(0x23a),_0x75b20f?_0x6578bd(0x2e9):'univer-gap-3'),'children':[(0x0,r['jsxs'])('div',{'className':_0x6578bd(0x53b),'children':[(0x0,r['jsx'])(_0x6578bd(0x222),{'className':_0x6578bd(0x208),'children':_0x576313[_0x6578bd(0x15f)]}),(0x0,r[_0x6578bd(0x1a5)])(e[_0x6578bd(0x3a5)],{'disabled':_0x1bf1c8,'overlay':(0x0,r[_0x6578bd(0x1a5)])(_0x6578bd(0x488),{'className':'univer-rounded-lg\x20univer-p-3','dir':_0x58dfc8,'children':(0x0,r[_0x6578bd(0x1a5)])(e[_0x6578bd(0x533)],{'value':_0x221985,'onChange':_0x5cecf3=>{_0x1bd824==null||_0x1bd824(_0x5cecf3),_0x4f82ed||_0x444c2c(!0x1);}})}),'open':_0x12b54a,'onOpenChange':_0x444c2c,'children':(0x0,r[_0x6578bd(0x576)])('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':[(_0x547796=_0x140c2d==null?void 0x0:_0x140c2d(_0x221985))==null?(0x0,r[_0x6578bd(0x1a5)])(t[_0x6578bd(0x5a9)],{'className':_0x6578bd(0x44e),'extend':{'colorChannel1':_0x221985}}):_0x547796,(0x0,r[_0x6578bd(0x1a5)])(t[_0x6578bd(0x3ba)],{'className':(0x0,e['clsx'])(_0x6578bd(0x4f3),{'univer-rotate-180':_0x12b54a})})]})})]}),(0x0,r['jsxs'])(_0x6578bd(0x488),{'className':_0x6578bd(0x53b),'children':[(0x0,r['jsx'])('span',{'className':_0x6578bd(0x208),'children':_0x576313[_0x6578bd(0x155)]}),(0x0,r[_0x6578bd(0x1a5)])('div',{'className':_0x6578bd(0x303),'children':(0x0,r[_0x6578bd(0x1a5)])(e[_0x6578bd(0x168)],{'className':_0x6578bd(0x556),'value':_0x3e911c,'disabled':_0x1bf1c8,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x3c00e0=>_0x3c00e0+'%','parser':_0x161fa1=>(_0x161fa1==null?void 0x0:_0x161fa1[_0x6578bd(0x282)]('%',''))||'','onChange':_0x12a4a0=>_0x36ff8f==null?void 0x0:_0x36ff8f(_0x12a4a0==null?0x0:_0x12a4a0)})})]})]}),_0x57dcd9===_0x283b6a[_0x6578bd(0x1a9)]&&(0x0,r['jsx'])(e[_0x6578bd(0x684)],{'className':_0x6578bd(0x586),'compact':_0x75b20f,'value':_0x57eb83,'onChange':_0x8c2bc2}),_0x57dcd9===_0x283b6a[_0x6578bd(0x2b4)]&&_0x45c949]});}var m='@univerjs-pro/shape-editor-ui',h=_0x2a77fc(0x432);const g={};function _0x41f9(_0x6fdde,_0x50de0b){_0x6fdde=_0x6fdde-0xfe;const _0x41b24b=_0x41b2();let _0x41f9f7=_0x41b24b[_0x6fdde];return _0x41f9f7;}function _(_0x70f02f,_0xf27067){return function(_0x18de1d,_0xc4783b){_0xf27067(_0x18de1d,_0xc4783b,_0x70f02f);};}function v(_0xa43a64,_0xd2161,_0x396983,_0x17f9eb){const _0xea0d0f=_0x2a77fc;var _0x50af4a=arguments[_0xea0d0f(0x5a7)],_0x157dd0=_0x50af4a<0x3?_0xd2161:_0x17f9eb===null?_0x17f9eb=Object['getOwnPropertyDescriptor'](_0xd2161,_0x396983):_0x17f9eb,_0x2c2f8e;if(typeof Reflect==_0xea0d0f(0x49f)&&typeof Reflect[_0xea0d0f(0x25a)]==_0xea0d0f(0x29b))_0x157dd0=Reflect['decorate'](_0xa43a64,_0xd2161,_0x396983,_0x17f9eb);else{for(var _0x6b5855=_0xa43a64[_0xea0d0f(0x5a7)]-0x1;_0x6b5855>=0x0;_0x6b5855--)(_0x2c2f8e=_0xa43a64[_0x6b5855])&&(_0x157dd0=(_0x50af4a<0x3?_0x2c2f8e(_0x157dd0):_0x50af4a>0x3?_0x2c2f8e(_0xd2161,_0x396983,_0x157dd0):_0x2c2f8e(_0xd2161,_0x396983))||_0x157dd0);}return _0x50af4a>0x3&&_0x157dd0&&Object[_0xea0d0f(0x2f5)](_0xd2161,_0x396983,_0x157dd0),_0x157dd0;}const y={'ShapeAccentBorderCallout1Icon':t['ShapeAccentBorderCallout1Icon'],'ShapeAccentBorderCallout2Icon':t[_0x2a77fc(0x5ef)],'ShapeAccentBorderCallout3Icon':t['ShapeAccentBorderCallout3Icon'],'ShapeAccentCallout1Icon':t[_0x2a77fc(0x62e)],'ShapeAccentCallout2Icon':t['ShapeAccentCallout2Icon'],'ShapeAccentCallout3Icon':t[_0x2a77fc(0x3c8)],'ShapeActionButtonBackPreviousIcon':t[_0x2a77fc(0x5ab)],'ShapeActionButtonBeginningIcon':t[_0x2a77fc(0x59e)],'ShapeActionButtonBlankIcon':t[_0x2a77fc(0x1ed)],'ShapeActionButtonDocumentIcon':t[_0x2a77fc(0x1a7)],'ShapeActionButtonEndIcon':t[_0x2a77fc(0x3a3)],'ShapeActionButtonForwardNextIcon':t['ShapeActionButtonForwardNextIcon'],'ShapeActionButtonHelpIcon':t[_0x2a77fc(0x4fb)],'ShapeActionButtonHomeIcon':t[_0x2a77fc(0x1d8)],'ShapeActionButtonInformationIcon':t[_0x2a77fc(0x263)],'ShapeActionButtonMovieIcon':t[_0x2a77fc(0x47d)],'ShapeActionButtonReturnIcon':t['ShapeActionButtonReturnIcon'],'ShapeActionButtonSoundIcon':t['ShapeActionButtonSoundIcon'],'ShapeArcIcon':t[_0x2a77fc(0x12a)],'ShapeBentArrowIcon':t['ShapeBentArrowIcon'],'ShapeBentConnector3Arrow1Icon':t[_0x2a77fc(0x286)],'ShapeBentConnector3Arrow2Icon':t[_0x2a77fc(0x2cc)],'ShapeBentConnector3Icon':t['ShapeBentConnector3Icon'],'ShapeBentUpArrowIcon':t[_0x2a77fc(0x393)],'ShapeBevelIcon':t[_0x2a77fc(0x23c)],'ShapeBlockArcIcon':t[_0x2a77fc(0x4c2)],'ShapeBorderCallout1Icon':t['ShapeBorderCallout1Icon'],'ShapeBorderCallout2Icon':t[_0x2a77fc(0x177)],'ShapeBorderCallout3Icon':t['ShapeBorderCallout3Icon'],'ShapeBracePairIcon':t[_0x2a77fc(0x43a)],'ShapeBracketPairIcon':t[_0x2a77fc(0x12e)],'ShapeCallout1Icon':t[_0x2a77fc(0x541)],'ShapeCallout2Icon':t[_0x2a77fc(0x42a)],'ShapeCallout3Icon':t[_0x2a77fc(0x43e)],'ShapeCanIcon':t['ShapeCanIcon'],'ShapeChartPlusIcon':t[_0x2a77fc(0x37b)],'ShapeChartStarIcon':t[_0x2a77fc(0x496)],'ShapeChartXIcon':t[_0x2a77fc(0x276)],'ShapeChevronIcon':t[_0x2a77fc(0x4fa)],'ShapeChordIcon':t[_0x2a77fc(0x607)],'ShapeCircularArrowIcon':t[_0x2a77fc(0x527)],'ShapeCloudCalloutIcon':t[_0x2a77fc(0x117)],'ShapeCloudIcon':t['ShapeCloudIcon'],'ShapeCornerIcon':t['ShapeCornerIcon'],'ShapeCornerTabsIcon':t[_0x2a77fc(0x45a)],'ShapeCubeIcon':t[_0x2a77fc(0x56d)],'ShapeCurvedConnector3Arrow1Icon':t[_0x2a77fc(0x18a)],'ShapeCurvedConnector3Arrow2Icon':t[_0x2a77fc(0x687)],'ShapeCurvedConnector3Icon':t[_0x2a77fc(0x38b)],'ShapeCurvedDownArrowIcon':t['ShapeCurvedDownArrowIcon'],'ShapeCurvedLeftArrowIcon':t[_0x2a77fc(0x2dc)],'ShapeCurvedRightArrowIcon':t[_0x2a77fc(0x3fd)],'ShapeCurvedUpArrowIcon':t[_0x2a77fc(0x2a2)],'ShapeDecagonIcon':t[_0x2a77fc(0x65a)],'ShapeDiagStripeIcon':t[_0x2a77fc(0x219)],'ShapeDiamondIcon':t[_0x2a77fc(0x5e7)],'ShapeDodecagonIcon':t[_0x2a77fc(0x13e)],'ShapeDonutIcon':t[_0x2a77fc(0x268)],'ShapeDoubleWaveIcon':t[_0x2a77fc(0x136)],'ShapeDownArrowCalloutIcon':t[_0x2a77fc(0x67c)],'ShapeDownArrowIcon':t[_0x2a77fc(0x5c6)],'ShapeEllipseIcon':t[_0x2a77fc(0x147)],'ShapeEllipseRibbon2Icon':t[_0x2a77fc(0x166)],'ShapeEllipseRibbonIcon':t[_0x2a77fc(0x200)],'ShapeFlowChartAlternateProcessIcon':t[_0x2a77fc(0x4e1)],'ShapeFlowChartCollateIcon':t[_0x2a77fc(0x570)],'ShapeFlowChartConnectorIcon':t[_0x2a77fc(0x2fd)],'ShapeFlowChartDecisionIcon':t[_0x2a77fc(0x53f)],'ShapeFlowChartDelayIcon':t[_0x2a77fc(0x4d7)],'ShapeFlowChartDisplayIcon':t[_0x2a77fc(0x3ea)],'ShapeFlowChartDocumentIcon':t[_0x2a77fc(0x42e)],'ShapeFlowChartExtractIcon':t[_0x2a77fc(0x4ad)],'ShapeFlowChartInputOutputIcon':t[_0x2a77fc(0x418)],'ShapeFlowChartInternalStorageIcon':t[_0x2a77fc(0x47b)],'ShapeFlowChartMagneticDiskIcon':t[_0x2a77fc(0x571)],'ShapeFlowChartMagneticDrumIcon':t[_0x2a77fc(0x5bd)],'ShapeFlowChartMagneticTapeIcon':t['ShapeFlowChartMagneticTapeIcon'],'ShapeFlowChartManualInputIcon':t[_0x2a77fc(0x1a4)],'ShapeFlowChartManualOperationIcon':t[_0x2a77fc(0x28d)],'ShapeFlowChartMergeIcon':t[_0x2a77fc(0x5b9)],'ShapeFlowChartMultidocumentIcon':t[_0x2a77fc(0x142)],'ShapeFlowChartOfflineStorageIcon':t[_0x2a77fc(0x561)],'ShapeFlowChartOffpageConnectorIcon':t[_0x2a77fc(0x4fd)],'ShapeFlowChartOnlineStorageIcon':t[_0x2a77fc(0x472)],'ShapeFlowChartOrIcon':t[_0x2a77fc(0x66b)],'ShapeFlowChartPredefinedProcessIcon':t[_0x2a77fc(0x21b)],'ShapeFlowChartPreparationIcon':t['ShapeFlowChartPreparationIcon'],'ShapeFlowChartProcessIcon':t[_0x2a77fc(0x293)],'ShapeFlowChartPunchedCardIcon':t['ShapeFlowChartPunchedCardIcon'],'ShapeFlowChartPunchedTapeIcon':t['ShapeFlowChartPunchedTapeIcon'],'ShapeFlowChartSortIcon':t[_0x2a77fc(0x1d7)],'ShapeFlowChartSummingJunctionIcon':t['ShapeFlowChartSummingJunctionIcon'],'ShapeFlowChartTerminatorIcon':t['ShapeFlowChartTerminatorIcon'],'ShapeFolderCornerIcon':t['ShapeFolderCornerIcon'],'ShapeFrameIcon':t[_0x2a77fc(0x29f)],'ShapeFunnelIcon':t[_0x2a77fc(0x5b7)],'ShapeGear6Icon':t[_0x2a77fc(0x3bf)],'ShapeGear9Icon':t[_0x2a77fc(0x654)],'ShapeHalfFrameIcon':t[_0x2a77fc(0x4ff)],'ShapeHeartIcon':t[_0x2a77fc(0x2eb)],'ShapeHeptagonIcon':t[_0x2a77fc(0x60b)],'ShapeHexagonIcon':t[_0x2a77fc(0x296)],'ShapeHomePlateIcon':t[_0x2a77fc(0x198)],'ShapeHorizontalScrollIcon':t[_0x2a77fc(0x1f1)],'ShapeIcon':t['ShapeIcon'],'ShapeIrregularSeal1Icon':t['ShapeIrregularSeal1Icon'],'ShapeIrregularSeal2Icon':t[_0x2a77fc(0x420)],'ShapeLeftArrowCalloutIcon':t[_0x2a77fc(0x4bd)],'ShapeLeftArrowIcon':t[_0x2a77fc(0x622)],'ShapeLeftBraceIcon':t[_0x2a77fc(0x450)],'ShapeLeftBracketIcon':t['ShapeLeftBracketIcon'],'ShapeLeftCircularArrowIcon':t[_0x2a77fc(0x2d6)],'ShapeLeftRightArrowCalloutIcon':t[_0x2a77fc(0x4df)],'ShapeLeftRightArrowIcon':t[_0x2a77fc(0x2c7)],'ShapeLeftRightCircularArrowIcon':t['ShapeLeftRightCircularArrowIcon'],'ShapeLeftRightRibbonIcon':t[_0x2a77fc(0x5d4)],'ShapeLeftRightUpArrowIcon':t[_0x2a77fc(0x526)],'ShapeLeftUpArrowIcon':t['ShapeLeftUpArrowIcon'],'ShapeLightningBoltIcon':t[_0x2a77fc(0x2b7)],'ShapeLineIcon':t['ShapeLineIcon'],'ShapeLineInvIcon':t[_0x2a77fc(0x49a)],'ShapeMathDivideIcon':t[_0x2a77fc(0x216)],'ShapeMathEqualIcon':t['ShapeMathEqualIcon'],'ShapeMathMinusIcon':t[_0x2a77fc(0x171)],'ShapeMathMultiplyIcon':t['ShapeMathMultiplyIcon'],'ShapeMathNotEqualIcon':t[_0x2a77fc(0x22b)],'ShapeMathPlusIcon':t[_0x2a77fc(0x39a)],'ShapeMoonIcon':t['ShapeMoonIcon'],'ShapeNoSmokingIcon':t[_0x2a77fc(0x560)],'ShapeNonIsoscelesTrapezoidIcon':t[_0x2a77fc(0x406)],'ShapeNotchedRightArrowIcon':t['ShapeNotchedRightArrowIcon'],'ShapeOctagonIcon':t[_0x2a77fc(0x1fe)],'ShapeParallelogramIcon':t[_0x2a77fc(0x56e)],'ShapePentagonIcon':t[_0x2a77fc(0x652)],'ShapePieIcon':t[_0x2a77fc(0x14e)],'ShapePieWedgeIcon':t[_0x2a77fc(0x682)],'ShapePlaqueIcon':t['ShapePlaqueIcon'],'ShapePlaqueTabsIcon':t['ShapePlaqueTabsIcon'],'ShapePlusIcon':t[_0x2a77fc(0x427)],'ShapeQuadArrowCalloutIcon':t[_0x2a77fc(0x5e6)],'ShapeQuadArrowIcon':t['ShapeQuadArrowIcon'],'ShapeRectIcon':t['ShapeRectIcon'],'ShapeRectTextboxHorizontalIcon':t[_0x2a77fc(0x554)],'ShapeRectTextboxVerticalIcon':t['ShapeRectTextboxVerticalIcon'],'ShapeRibbon2Icon':t[_0x2a77fc(0x143)],'ShapeRibbonIcon':t[_0x2a77fc(0x3aa)],'ShapeRightArrowCalloutIcon':t[_0x2a77fc(0x121)],'ShapeRightArrowIcon':t[_0x2a77fc(0x2f2)],'ShapeRightBraceIcon':t[_0x2a77fc(0x2a9)],'ShapeRightBracketIcon':t[_0x2a77fc(0x48e)],'ShapeRound1RectIcon':t[_0x2a77fc(0x3ce)],'ShapeRound2DiagRectIcon':t[_0x2a77fc(0x67d)],'ShapeRound2SameRectIcon':t[_0x2a77fc(0x5ec)],'ShapeRoundRectIcon':t[_0x2a77fc(0x13d)],'ShapeRtTriangleIcon':t[_0x2a77fc(0x4a5)],'ShapeSmileyFaceIcon':t['ShapeSmileyFaceIcon'],'ShapeSnip1RectIcon':t['ShapeSnip1RectIcon'],'ShapeSnip2DiagRectIcon':t[_0x2a77fc(0x615)],'ShapeSnip2SameRectIcon':t[_0x2a77fc(0x512)],'ShapeSnipRoundRectIcon':t['ShapeSnipRoundRectIcon'],'ShapeSquareTabsIcon':t['ShapeSquareTabsIcon'],'ShapeStar10Icon':t['ShapeStar10Icon'],'ShapeStar12Icon':t[_0x2a77fc(0x539)],'ShapeStar16Icon':t[_0x2a77fc(0x5d8)],'ShapeStar24Icon':t[_0x2a77fc(0x3d2)],'ShapeStar32Icon':t[_0x2a77fc(0x5ad)],'ShapeStar4Icon':t['ShapeStar4Icon'],'ShapeStar5Icon':t['ShapeStar5Icon'],'ShapeStar6Icon':t['ShapeStar6Icon'],'ShapeStar7Icon':t['ShapeStar7Icon'],'ShapeStar8Icon':t[_0x2a77fc(0x242)],'ShapeStraightConnector1Icon':t[_0x2a77fc(0x1d2)],'ShapeStraightConnector2Icon':t[_0x2a77fc(0x5c5)],'ShapeStripedRightArrowIcon':t['ShapeStripedRightArrowIcon'],'ShapeSunIcon':t[_0x2a77fc(0x4ab)],'ShapeSwooshArrowIcon':t['ShapeSwooshArrowIcon'],'ShapeTeardropIcon':t['ShapeTeardropIcon'],'ShapeTrapezoidIcon':t[_0x2a77fc(0x58e)],'ShapeTriangleIcon':t[_0x2a77fc(0x44b)],'ShapeUpArrowCalloutIcon':t['ShapeUpArrowCalloutIcon'],'ShapeUpArrowIcon':t[_0x2a77fc(0x19c)],'ShapeUpDownArrowCalloutIcon':t[_0x2a77fc(0x17a)],'ShapeUpDownArrowIcon':t[_0x2a77fc(0x11a)],'ShapeUturnArrowIcon':t[_0x2a77fc(0x699)],'ShapeVerticalScrollIcon':t['ShapeVerticalScrollIcon'],'ShapeWaveIcon':t['ShapeWaveIcon'],'ShapeWedgeEllipseCalloutIcon':t[_0x2a77fc(0x5d1)],'ShapeWedgeRectCalloutIcon':t[_0x2a77fc(0x639)],'ShapeWedgeRoundRectCalloutIcon':t['ShapeWedgeRoundRectCalloutIcon']};let b=class extends i['Disposable']{constructor(_0x479c4d){super(),this['_iconManager']=_0x479c4d,this['_registerIcons']();}[_0x2a77fc(0x617)](){const _0x308237=_0x2a77fc;this[_0x308237(0x1c6)](this[_0x308237(0x320)][_0x308237(0x3ec)](y));}};b=v([_(0x0,(0x0,i[_0x2a77fc(0x50c)])(a[_0x2a77fc(0x322)]))],b);function x(_0x41accc){'@babel/helpers - typeof';const _0x11db46=_0x2a77fc;return x=typeof Symbol=='function'&&typeof Symbol[_0x11db46(0x3e0)]==_0x11db46(0x470)?function(_0x1128c3){return typeof _0x1128c3;}:function(_0x32274f){const _0x247a91=_0x11db46;return _0x32274f&&typeof Symbol==_0x247a91(0x29b)&&_0x32274f['constructor']===Symbol&&_0x32274f!==Symbol[_0x247a91(0x455)]?_0x247a91(0x470):typeof _0x32274f;},x(_0x41accc);}function S(_0x54c97b,_0x198aeb){const _0x1e094a=_0x2a77fc;if(x(_0x54c97b)!=_0x1e094a(0x49f)||!_0x54c97b)return _0x54c97b;var _0x56ae70=_0x54c97b[Symbol[_0x1e094a(0x600)]];if(_0x56ae70!==void 0x0){var _0x3e034f=_0x56ae70[_0x1e094a(0x149)](_0x54c97b,_0x198aeb||_0x1e094a(0x2d1));if(x(_0x3e034f)!=_0x1e094a(0x49f))return _0x3e034f;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x198aeb===_0x1e094a(0x5c1)?String:Number)(_0x54c97b);}function C(_0x28442b){const _0x514cd=_0x2a77fc;var _0x3588e9=S(_0x28442b,'string');return x(_0x3588e9)==_0x514cd(0x470)?_0x3588e9:_0x3588e9+'';}function w(_0x120c1a,_0x26ea42,_0x27a862){return(_0x26ea42=C(_0x26ea42))in _0x120c1a?Object['defineProperty'](_0x120c1a,_0x26ea42,{'value':_0x27a862,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x120c1a[_0x26ea42]=_0x27a862,_0x120c1a;}let T=class extends i[_0x2a77fc(0x45b)]{constructor(_0x5a76cb=g,_0x204965,_0x135e28){const _0x43dc43=_0x2a77fc;super(),this[_0x43dc43(0x416)]=_0x5a76cb,this[_0x43dc43(0x34a)]=_0x204965,this['_configService']=_0x135e28;let {..._0x4efd9c}=(0x0,i[_0x43dc43(0x2d4)])({},g,this[_0x43dc43(0x416)]);this[_0x43dc43(0x31b)][_0x43dc43(0x33b)](_0x43dc43(0x4f0),_0x4efd9c);}[_0x2a77fc(0x35a)](){const _0x1eb6a7=_0x2a77fc;this[_0x1eb6a7(0x34a)][_0x1eb6a7(0x4dd)]([b]),this[_0x1eb6a7(0x34a)][_0x1eb6a7(0x197)](b);}};w(T,'type',i['UniverInstanceType']['UNIVER_UNKNOWN']),w(T,_0x2a77fc(0x237),'SHAPE_EDITOR_UI_PLUGIN'),w(T,_0x2a77fc(0x563),m),w(T,_0x2a77fc(0x669),h),T=v([_(0x1,(0x0,i['Inject'])(i[_0x2a77fc(0x5d0)])),_(0x2,i[_0x2a77fc(0x2d7)])],T);function E(_0x28794c){const _0x435f20=_0x2a77fc;return!!_0x28794c&&typeof _0x28794c==_0x435f20(0x49f)&&typeof _0x28794c['oKey']==_0x435f20(0x5c1);}function D(_0x6f8c7a,_0x1c4136){const _0xa0d1ba=_0x2a77fc;var _0xb56350,_0x197142,_0x3c6368,_0x195f18,_0x15e75e,_0x5431a9,_0x4a2cc7;let _0x2e4bf8=(_0xb56350=_0x6f8c7a[_0xa0d1ba(0x603)](_0x1c4136['unitId']))==null?void 0x0:_0xb56350[_0xa0d1ba(0x266)];if(!_0x2e4bf8)return!0x1;let _0x5b67c6=(0x0,o[_0xa0d1ba(0x1cc)])(_0x1c4136),_0x191b5f=(_0x197142=(_0x3c6368=_0x2e4bf8['getObjectIncludeInGroup'])==null?void 0x0:_0x3c6368[_0xa0d1ba(0x149)](_0x2e4bf8,_0x5b67c6))==null?(_0x195f18=_0x2e4bf8['getObject'])==null?void 0x0:_0x195f18[_0xa0d1ba(0x149)](_0x2e4bf8,_0x5b67c6):_0x197142;return E(_0x191b5f)?((_0x15e75e=_0x2e4bf8['getTransformerByCreate'])==null||(_0x4a2cc7=(_0x5431a9=_0x15e75e['call'](_0x2e4bf8))[_0xa0d1ba(0x1ad)])==null||_0x4a2cc7[_0xa0d1ba(0x149)](_0x5431a9,_0x191b5f),!0x0):!0x1;}function O(_0x31f6cd,_0x4629d8){const _0x4a1bfe=_0x2a77fc;var _0x3b05c1,_0x1f58bd;let _0x3b7629=(_0x3b05c1=_0x31f6cd[_0x4a1bfe(0x603)](_0x4629d8))==null||(_0x3b05c1=_0x3b05c1[_0x4a1bfe(0x266)])==null||(_0x1f58bd=_0x3b05c1[_0x4a1bfe(0x5fb)])==null?void 0x0:_0x1f58bd['call'](_0x3b05c1);return _0x3b7629!=null&&_0x3b7629[_0x4a1bfe(0x190)]?(_0x3b7629['clearSelectedObjects'](),!0x0):!0x1;}const k={'borderEnabled':!0x0,'borderStroke':'#4086f4','borderStrokeWidth':0x1,'borderSpacing':0x2,'anchorFill':_0x2a77fc(0x321),'anchorStroke':_0x2a77fc(0x634),'anchorStrokeWidth':1.5,'anchorSize':0x8,'anchorCornerRadius':0x2,'anchorStyle':_0x2a77fc(0x491),'rotateEnabled':!0x0,'rotateSize':0x12,'rotateCornerRadius':0x9,'rotateAnchorOffset':0x1c,'rotateAnchorPosition':'bottom','rotateLineEnabled':!0x1,'rotateFill':_0x2a77fc(0x321),'rotateStroke':_0x2a77fc(0x634),'rotateStrokeWidth':0x1,'rotateIconEnabled':!0x0,'rotateIconStroke':_0x2a77fc(0x634),'rotateIconStrokeWidth':1.25,'resizeEnabled':!0x0,'keepRatio':!0x1,'moveBoundaryEnabled':!0x1};function A(_0x109414){const _0x526ecb=_0x2a77fc;var _0x33af9a,_0x1127a0,_0x339ee7;if(!(_0x109414!=null&&_0x109414['doc']))return null;let _0x26f6b1=(_0x33af9a=_0x109414['doc'][_0x526ecb(0x199)])==null?void 0x0:_0x33af9a['renderConfig'];return{..._0x109414,'ha':(_0x1127a0=_0x109414['ha'])==null?_0x26f6b1==null?void 0x0:_0x26f6b1[_0x526ecb(0x384)]:_0x1127a0,'va':(_0x339ee7=_0x109414['va'])==null?_0x26f6b1==null?void 0x0:_0x26f6b1[_0x526ecb(0x642)]:_0x339ee7,'doc':_0x109414[_0x526ecb(0x437)]};}function j(_0x4174cb){const _0x19d4fd=_0x2a77fc;let _0x13053e=_0x4174cb['shapeText'];return _0x13053e&&'dataModel'in _0x13053e&&_0x13053e[_0x19d4fd(0x1f8)]?A(_0x13053e['dataModel']):null;}function M(_0x66d45e){const _0x2367b8=_0x2a77fc;var _0x132ea2,_0x878f69,_0x59abc0,_0x37cdef;let _0x1b9713=(_0x132ea2=j(_0x66d45e))==null?void 0x0:_0x132ea2[_0x2367b8(0x437)],_0x196cd1=(_0x878f69=_0x1b9713==null||(_0x59abc0=_0x1b9713[_0x2367b8(0x3f4)])==null||(_0x59abc0=_0x59abc0['textRuns'])==null||(_0x59abc0=_0x59abc0[0x0])==null?void 0x0:_0x59abc0['ts'])==null?{}:_0x878f69;return{..._0x1b9713==null||(_0x37cdef=_0x1b9713[_0x2367b8(0x199)])==null?void 0x0:_0x37cdef[_0x2367b8(0x460)],..._0x196cd1};}function N(_0x4b5471){const _0x32336a=_0x2a77fc;var _0x3ca674,_0x26b1c2,_0x307062,_0x167fe1,_0x1d6a3a,_0x4ea607,_0x31e155,_0x59279d,_0x180078,_0x400274,_0x5c3dd7,_0x4a5f3e,_0x3254b8;let {shapeData:_0x3f8850,disableShapeOption:_0x3aa35c,onUpdateShapeData:_0x3b3a08,onUpdateShapeFillImage:_0x47ad62}=_0x4b5471,_0x52dead=(0x0,a[_0x32336a(0x3d8)])(i[_0x32336a(0x64c)]),_0x390432=(0x0,a[_0x32336a(0x3d8)])(i['IContextService']),_0x2be241=(0x0,a[_0x32336a(0x3d8)])(i[_0x32336a(0x2b2)]),_0x37303f=(0x0,n[_0x32336a(0x40b)])(null),_0x1432ea=_0x3f8850[_0x32336a(0x240)],_0x2233f2=!!(_0x1432ea!=null&&_0x1432ea[_0x32336a(0x695)]),[_0x515d99,_0x3adaa6]=(0x0,n[_0x32336a(0x23e)])((_0x3ca674=_0x1432ea==null?void 0x0:_0x1432ea[_0x32336a(0x2cd)])==null?0x1:_0x3ca674),[_0x595b5e,_0x40cbc1]=(0x0,n[_0x32336a(0x23e)])((_0x26b1c2=_0x1432ea==null?void 0x0:_0x1432ea[_0x32336a(0x12c)])==null?s[_0x32336a(0x443)][_0x32336a(0x69c)]:_0x26b1c2),[_0x20b508,_0x118b28]=(0x0,n[_0x32336a(0x23e)])((_0x307062=_0x1432ea==null?void 0x0:_0x1432ea[_0x32336a(0x585)])==null?!0x1:_0x307062),[_0x9e2778,_0x58d007]=(0x0,n[_0x32336a(0x23e)])((_0x167fe1=_0x1432ea==null||(_0x1d6a3a=_0x1432ea[_0x32336a(0x146)])==null?void 0x0:_0x1d6a3a[_0x32336a(0x3e1)])==null?0x0:_0x167fe1),[_0x5dfa05,_0x19726f]=(0x0,n[_0x32336a(0x23e)])((_0x4ea607=_0x1432ea==null||(_0x31e155=_0x1432ea[_0x32336a(0x146)])==null?void 0x0:_0x31e155[_0x32336a(0x69b)])==null?0x0:_0x4ea607),[_0x508c6f,_0x43ec07]=(0x0,n[_0x32336a(0x23e)])((_0x59279d=_0x1432ea==null||(_0x180078=_0x1432ea[_0x32336a(0x146)])==null?void 0x0:_0x180078[_0x32336a(0x580)])==null?0x1:_0x59279d),[_0x293208,_0x771d28]=(0x0,n['useState'])((_0x400274=_0x1432ea==null||(_0x5c3dd7=_0x1432ea[_0x32336a(0x146)])==null?void 0x0:_0x5c3dd7['scaleY'])==null?0x1:_0x400274),[_0x37d933,_0x365a9a]=(0x0,n['useState'])((_0x4a5f3e=_0x1432ea==null||(_0x3254b8=_0x1432ea[_0x32336a(0x146)])==null?void 0x0:_0x3254b8[_0x32336a(0x24a)])==null?'tl':_0x4a5f3e),_0x4be39b=_0x595b5e===s['ImageFillModeEnum'][_0x32336a(0x459)],_0x3f8530=Math['round']((0x1-_0x515d99)*0x64),_0x5b39c5=Math[_0x32336a(0x254)](_0x508c6f*0x64),_0xae4cde=Math['round'](_0x293208*0x64),_0x57bebe=[{'label':_0x52dead['t'](_0x32336a(0x389)),'value':'tl'},{'label':_0x52dead['t'](_0x32336a(0x2b8)),'value':'t'},{'label':_0x52dead['t']('shape-editor-ui.fill.picture.align.tr'),'value':'tr'},{'label':_0x52dead['t'](_0x32336a(0x265)),'value':'l'},{'label':_0x52dead['t'](_0x32336a(0x353)),'value':_0x32336a(0x181)},{'label':_0x52dead['t'](_0x32336a(0x223)),'value':'r'},{'label':_0x52dead['t']('shape-editor-ui.fill.picture.align.bl'),'value':'bl'},{'label':_0x52dead['t'](_0x32336a(0x1c9)),'value':'b'},{'label':_0x52dead['t'](_0x32336a(0x34c)),'value':'br'}],_0x2ab162=_0x24d929=>{_0x3b3a08({'oldShapeData':{'fill':_0x1432ea?{..._0x1432ea}:void 0x0}},{'fill':{..._0x1432ea,..._0x24d929}});},_0xaf2dc1=_0x36978d=>{const _0x57855c=_0x32336a;_0x2ab162({'imageTile':{..._0x1432ea==null?void 0x0:_0x1432ea[_0x57855c(0x146)],..._0x36978d}});},_0x3fd25e=()=>{const _0x568cb5=_0x32336a;var _0xefca1e;return(_0xefca1e=_0x37303f[_0x568cb5(0x5d3)])==null?void 0x0:_0xefca1e[_0x568cb5(0x505)]();},_0x8a44e1=async _0x395849=>{const _0x36df98=_0x32336a;var _0x5ac6de;let _0x22a969=(_0x5ac6de=_0x395849['target']['files'])==null?void 0x0:_0x5ac6de[0x0];if(!_0x22a969)return;_0x395849[_0x36df98(0x425)][_0x36df98(0x4de)]='';let _0x3b45df=await _0x2be241[_0x36df98(0x54c)](_0x22a969);if(_0x3b45df==null)return;let {imageSourceType:_0x54b40b,source:_0x189cf1,base64Cache:_0x57de92}=_0x3b45df,{image:_0xfa3e83}=await(0x0,o[_0x36df98(0x258)])(_0x57de92||'');_0x2be241[_0x36df98(0x2d3)](_0x189cf1,_0x54b40b,_0xfa3e83),_0x3b3a08({'oldShapeData':{'fill':_0x1432ea?{..._0x1432ea}:void 0x0}},{'fill':{..._0x1432ea,'fillType':s[_0x36df98(0x3c0)][_0x36df98(0x41d)],'fillImageSource':_0x189cf1,'fillImageSourceType':_0x54b40b}}),_0x47ad62==null||_0x47ad62(_0xfa3e83);},_0x10d49c='univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200',_0x25ece5=_0x32336a(0x53b);return(0x0,r[_0x32336a(0x576)])(_0x32336a(0x488),{'className':_0x32336a(0x12d),'children':[(0x0,r['jsxs'])(_0x32336a(0x488),{'className':_0x32336a(0x659),'children':[(0x0,r[_0x32336a(0x1a5)])(_0x32336a(0x222),{'className':_0x10d49c,'children':_0x52dead['t'](_0x32336a(0x370))}),(0x0,r['jsxs'])(_0x32336a(0x488),{'className':_0x32336a(0x4a9),'children':[(0x0,r['jsx'])(_0x32336a(0x49d),{'ref':_0x37303f,'type':_0x32336a(0x421),'accept':_0x32336a(0x391),'className':_0x32336a(0x658),'onChange':_0x8a44e1}),(0x0,r[_0x32336a(0x576)])(_0x32336a(0x488),{'className':_0x32336a(0x438),'children':[(0x0,r[_0x32336a(0x1a5)])(_0x32336a(0x662),{'type':_0x32336a(0x662),'disabled':_0x3aa35c,'className':'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','onClick':_0x3fd25e,'children':(0x0,r[_0x32336a(0x576)])(_0x32336a(0x222),{'children':[_0x52dead['t'](_0x32336a(0x49e)),'\x20']})}),_0x2233f2&&(0x0,r['jsx'])(_0x32336a(0x488),{'className':_0x32336a(0x380),'children':(0x0,r[_0x32336a(0x1a5)])(_0x32336a(0x3b7),{'src':_0x1432ea==null?void 0x0:_0x1432ea[_0x32336a(0x695)],'alt':'','className':_0x32336a(0x295)})})]})]})]}),(0x0,r[_0x32336a(0x576)])('div',{'className':_0x25ece5,'children':[(0x0,r[_0x32336a(0x1a5)])('span',{'className':_0x10d49c,'children':_0x52dead['t'](_0x32336a(0x35f))}),(0x0,r[_0x32336a(0x1a5)])(_0x32336a(0x488),{'className':'univer-w-20','children':(0x0,r[_0x32336a(0x1a5)])(e['InputNumber'],{'className':_0x32336a(0x556),'value':_0x3f8530,'disabled':_0x3aa35c,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x502010=>_0x502010+'%','parser':_0x2ff908=>(_0x2ff908==null?void 0x0:_0x2ff908[_0x32336a(0x282)]('%',''))||'','onChange':_0xd8e396=>{const _0x1cb3b0=_0x32336a;let _0x100e10=(0x64-Math[_0x1cb3b0(0x693)](0x0,Math[_0x1cb3b0(0x256)](0x64,_0xd8e396==null?0x0:_0xd8e396)))/0x64;_0x3adaa6(_0x100e10),_0x2ab162({'imageOpacity':_0x100e10}),_0x390432[_0x1cb3b0(0x2f9)](i['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x390432[_0x32336a(0x2f9)](i[_0x32336a(0x446)],!0x0),'onBlur':()=>_0x390432[_0x32336a(0x2f9)](i[_0x32336a(0x446)],!0x1)})})]}),(0x0,r['jsx'])(e[_0x32336a(0x581)],{'checked':_0x4be39b,'disabled':_0x3aa35c,'onChange':_0x5a2d5b=>{const _0x417fb6=_0x32336a;let _0x562fa4=_0x5a2d5b?s[_0x417fb6(0x443)]['Tile']:s[_0x417fb6(0x443)][_0x417fb6(0x69c)];_0x40cbc1(_0x562fa4),_0x2ab162({'imageFillMode':_0x562fa4});},'children':(0x0,r[_0x32336a(0x1a5)])('span',{'className':_0x32336a(0x529),'children':_0x52dead['t'](_0x32336a(0x4ae))})}),_0x4be39b&&(0x0,r[_0x32336a(0x576)])(_0x32336a(0x488),{'className':_0x32336a(0x404),'children':[(0x0,r['jsxs'])('div',{'className':_0x25ece5,'children':[(0x0,r[_0x32336a(0x1a5)])(_0x32336a(0x222),{'className':_0x10d49c,'children':_0x52dead['t']('shape-editor-ui.fill.picture.offsetX')}),(0x0,r['jsx'])(_0x32336a(0x488),{'className':_0x32336a(0x303),'children':(0x0,r['jsx'])(e[_0x32336a(0x168)],{'className':_0x32336a(0x556),'value':_0x9e2778,'disabled':_0x3aa35c,'step':0x1,'onChange':_0x174d63=>{_0xaf2dc1({'offsetX':_0x174d63==null?0x0:_0x174d63}),_0x58d007(_0x174d63==null?0x0:_0x174d63);},'onFocus':()=>_0x390432[_0x32336a(0x2f9)](i[_0x32336a(0x446)],!0x0),'onBlur':()=>_0x390432[_0x32336a(0x2f9)](i[_0x32336a(0x446)],!0x1)})})]}),(0x0,r['jsxs'])(_0x32336a(0x488),{'className':_0x25ece5,'children':[(0x0,r[_0x32336a(0x1a5)])('span',{'className':_0x10d49c,'children':_0x52dead['t'](_0x32336a(0x606))}),(0x0,r[_0x32336a(0x1a5)])(_0x32336a(0x488),{'className':_0x32336a(0x303),'children':(0x0,r[_0x32336a(0x1a5)])(e[_0x32336a(0x168)],{'className':_0x32336a(0x556),'value':_0x5dfa05,'disabled':_0x3aa35c,'step':0x1,'onChange':_0x1d843d=>{_0xaf2dc1({'offsetY':_0x1d843d==null?0x0:_0x1d843d}),_0x19726f(_0x1d843d==null?0x0:_0x1d843d);},'onFocus':()=>_0x390432[_0x32336a(0x2f9)](i[_0x32336a(0x446)],!0x0),'onBlur':()=>_0x390432[_0x32336a(0x2f9)](i[_0x32336a(0x446)],!0x1)})})]}),(0x0,r['jsxs'])('div',{'className':_0x25ece5,'children':[(0x0,r[_0x32336a(0x1a5)])(_0x32336a(0x222),{'className':_0x10d49c,'children':_0x52dead['t'](_0x32336a(0x65b))}),(0x0,r[_0x32336a(0x1a5)])(_0x32336a(0x488),{'className':_0x32336a(0x303),'children':(0x0,r[_0x32336a(0x1a5)])(e[_0x32336a(0x168)],{'className':_0x32336a(0x556),'value':_0x5b39c5,'disabled':_0x3aa35c,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x2b1bd9=>_0x2b1bd9+'%','parser':_0x41bea4=>(_0x41bea4==null?void 0x0:_0x41bea4['replace']('%',''))||'','onChange':_0xc56d63=>{const _0x3eebaa=_0x32336a;let _0xf2de8b=Math['max'](0.01,(_0xc56d63==null?0x64:_0xc56d63)/0x64);_0x43ec07(_0xf2de8b),_0xaf2dc1({'scaleX':_0xf2de8b}),_0x390432[_0x3eebaa(0x2f9)](i[_0x3eebaa(0x446)],!0x1);},'onFocus':()=>_0x390432[_0x32336a(0x2f9)](i[_0x32336a(0x446)],!0x0),'onBlur':()=>_0x390432[_0x32336a(0x2f9)](i[_0x32336a(0x446)],!0x1)})})]}),(0x0,r[_0x32336a(0x576)])('div',{'className':_0x25ece5,'children':[(0x0,r[_0x32336a(0x1a5)])('span',{'className':_0x10d49c,'children':_0x52dead['t']('shape-editor-ui.fill.picture.scaleY')}),(0x0,r['jsx'])('div',{'className':_0x32336a(0x303),'children':(0x0,r['jsx'])(e['InputNumber'],{'className':'univer-w-full','value':_0xae4cde,'disabled':_0x3aa35c,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x70747b=>_0x70747b+'%','parser':_0x1c6811=>(_0x1c6811==null?void 0x0:_0x1c6811['replace']('%',''))||'','onChange':_0x1a00d8=>{const _0x1744d0=_0x32336a;let _0x1887f1=Math[_0x1744d0(0x693)](0.01,(_0x1a00d8==null?0x64:_0x1a00d8)/0x64);_0x771d28(_0x1887f1),_0xaf2dc1({'scaleY':_0x1887f1}),_0x390432['setContextValue'](i[_0x1744d0(0x446)],!0x1);},'onFocus':()=>_0x390432[_0x32336a(0x2f9)](i[_0x32336a(0x446)],!0x0),'onBlur':()=>_0x390432['setContextValue'](i[_0x32336a(0x446)],!0x1)})})]}),(0x0,r[_0x32336a(0x576)])(_0x32336a(0x488),{'className':_0x25ece5,'children':[(0x0,r[_0x32336a(0x1a5)])(_0x32336a(0x222),{'className':_0x10d49c,'children':_0x52dead['t'](_0x32336a(0x139))}),(0x0,r['jsx'])(_0x32336a(0x488),{'className':'univer-w-28','children':(0x0,r[_0x32336a(0x1a5)])(e[_0x32336a(0x352)],{'className':'univer-w-full','value':_0x37d933,'options':_0x57bebe,'disabled':_0x3aa35c,'onChange':_0x325c71=>{_0x365a9a(_0x325c71),_0xaf2dc1({'alignment':_0x325c71});}})})]})]}),(0x0,r[_0x32336a(0x1a5)])(e[_0x32336a(0x581)],{'checked':_0x20b508,'disabled':_0x3aa35c,'onChange':_0x17bdc1=>{_0x118b28(_0x17bdc1),_0x2ab162({'imageRotateWithShape':_0x17bdc1});},'children':(0x0,r[_0x32336a(0x1a5)])(_0x32336a(0x222),{'className':'univer-text-sm','children':_0x52dead['t'](_0x32336a(0x1d3))})})]});}function P(_0x423dee){const _0x2590f1=_0x2a77fc;var _0x42beb8,_0x5da5e1;return(_0x42beb8=(_0x5da5e1=_0x423dee['fill'])==null?void 0x0:_0x5da5e1[_0x2590f1(0x27e)])==null?s['ShapeDefaultConfig'][_0x2590f1(0x27e)]:_0x42beb8;}function F(_0x25f4db){const _0x4c68de=_0x2a77fc;var _0x49018b,_0x1924af,_0x2cf130,_0x148035;let _0x530db3=(0x0,a[_0x4c68de(0x3d8)])(i[_0x4c68de(0x64c)]),_0x4b69ed=(0x0,a[_0x4c68de(0x3d8)])(i[_0x4c68de(0x11f)]),{shapeData:_0x213e87,isLineShape:_0x2c3fe0,shapeId:_0x5ecad8,disableShapeOption:_0x5349b4,onUpdateShapeData:_0x192db5,onUpdateShapeFillImage:_0x5bc2ed}=_0x25f4db,[_0x2e011c,_0x443373]=(0x0,n[_0x4c68de(0x23e)])(()=>P(_0x213e87)),[_0x575fdb,_0x36a60f]=(0x0,n['useState'])((_0x49018b=(_0x1924af=_0x213e87['fill'])==null?void 0x0:_0x1924af[_0x4c68de(0x15f)])==null?s['ShapeDefaultConfig'][_0x4c68de(0x240)]:_0x49018b),[_0x8d57fe,_0x53990e]=(0x0,n[_0x4c68de(0x23e)])((_0x2cf130=(_0x148035=_0x213e87[_0x4c68de(0x240)])==null?void 0x0:_0x148035[_0x4c68de(0x476)])==null?s[_0x4c68de(0x17e)][_0x4c68de(0x161)]:_0x2cf130),[_0x1b6201,_0x48248e]=(0x0,n[_0x4c68de(0x23e)])(!0x1);if(_0x2c3fe0)return null;let _0x5e4c1a=0x64-_0x8d57fe*0x64;return(0x0,r['jsxs'])(_0x4c68de(0x488),{'className':_0x4c68de(0x307),'children':[(0x0,r[_0x4c68de(0x576)])(e[_0x4c68de(0x579)],{'value':_0x2e011c,'disabled':_0x5349b4,'onChange':_0x2cd152=>{const _0x3458d3=_0x4c68de;var _0x2df4cd;_0x192db5({'oldShapeData':{'fill':{'fillType':(_0x2df4cd=_0x213e87[_0x3458d3(0x240)])==null?void 0x0:_0x2df4cd[_0x3458d3(0x27e)]}}},{'fill':{'fillType':_0x2cd152}}),_0x443373(_0x2cd152);},'direction':_0x4c68de(0x551),'children':[(0x0,r[_0x4c68de(0x1a5)])(e[_0x4c68de(0x3a2)],{'value':s[_0x4c68de(0x3c0)]['NoFill'],'children':(0x0,r[_0x4c68de(0x1a5)])(_0x4c68de(0x222),{'className':_0x4c68de(0x529),'children':_0x530db3['t'](_0x4c68de(0x19e))})}),(0x0,r['jsx'])(e['Radio'],{'value':s[_0x4c68de(0x3c0)][_0x4c68de(0x18c)],'children':(0x0,r[_0x4c68de(0x1a5)])(_0x4c68de(0x222),{'className':_0x4c68de(0x529),'children':_0x530db3['t']('shape-editor-ui.fill.solidFill')})}),(0x0,r['jsx'])(e[_0x4c68de(0x3a2)],{'value':s['ShapeFillEnum'][_0x4c68de(0x624)],'children':(0x0,r['jsx'])('span',{'className':_0x4c68de(0x529),'children':_0x530db3['t'](_0x4c68de(0x59b))})}),(0x0,r[_0x4c68de(0x1a5)])(e['Radio'],{'value':s[_0x4c68de(0x3c0)][_0x4c68de(0x41d)],'children':(0x0,r[_0x4c68de(0x1a5)])(_0x4c68de(0x222),{'className':_0x4c68de(0x529),'children':_0x530db3['t'](_0x4c68de(0x144))})})]}),_0x2e011c===s['ShapeFillEnum'][_0x4c68de(0x18c)]&&(0x0,r[_0x4c68de(0x576)])(_0x4c68de(0x488),{'className':_0x4c68de(0x189),'children':[(0x0,r[_0x4c68de(0x576)])(_0x4c68de(0x488),{'className':_0x4c68de(0x45d),'children':[(0x0,r[_0x4c68de(0x1a5)])('span',{'className':_0x4c68de(0x14c),'children':_0x530db3['t'](_0x4c68de(0x3b2))}),(0x0,r[_0x4c68de(0x1a5)])(e[_0x4c68de(0x3a5)],{'disabled':_0x5349b4,'overlay':(0x0,r['jsx'])(_0x4c68de(0x488),{'className':_0x4c68de(0x387),'children':(0x0,r[_0x4c68de(0x1a5)])(e[_0x4c68de(0x533)],{'value':_0x575fdb,'onChange':_0x2ea628=>{const _0x2dda63=_0x4c68de;var _0x541295;_0x192db5({'oldShapeData':{'fill':{'color':(_0x541295=_0x213e87[_0x2dda63(0x240)])==null?void 0x0:_0x541295[_0x2dda63(0x15f)]}}},{'fill':{'color':_0x2ea628}}),_0x36a60f(_0x2ea628),_0x48248e(!0x1);}})}),'open':_0x1b6201,'onOpenChange':_0x48248e,'children':(0x0,r['jsxs'])('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[_0x4c68de(0x1a5)])(t[_0x4c68de(0x118)],{'className':_0x4c68de(0x44e),'extend':{'colorChannel1':_0x575fdb}}),(0x0,r[_0x4c68de(0x1a5)])(t[_0x4c68de(0x3ba)],{'className':(0x0,e[_0x4c68de(0x3fc)])(_0x4c68de(0x4f3),{'univer-rotate-180':_0x1b6201})})]})})]}),(0x0,r[_0x4c68de(0x576)])('div',{'className':_0x4c68de(0x53b),'children':[(0x0,r[_0x4c68de(0x1a5)])(_0x4c68de(0x222),{'className':'univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x530db3['t'](_0x4c68de(0x35f))}),(0x0,r[_0x4c68de(0x1a5)])(_0x4c68de(0x488),{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':(0x0,r[_0x4c68de(0x1a5)])(_0x4c68de(0x488),{'className':_0x4c68de(0x303),'children':(0x0,r[_0x4c68de(0x1a5)])(e[_0x4c68de(0x168)],{'className':_0x4c68de(0x556),'value':_0x5e4c1a,'disabled':_0x5349b4,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x49b798=>_0x49b798+'%','parser':_0x15f081=>(_0x15f081==null?void 0x0:_0x15f081[_0x4c68de(0x282)]('%',''))||'','onChange':_0x25ae5c=>{const _0x13c178=_0x4c68de;let _0x236f10=(0x64-Math[_0x13c178(0x693)](0x0,Math[_0x13c178(0x256)](0x64,_0x25ae5c==null?0x0:_0x25ae5c)))/0x64;_0x53990e(_0x236f10),_0x192db5({'oldShapeData':{'fill':{..._0x213e87[_0x13c178(0x240)],'fillType':_0x2e011c}}},{'fill':{..._0x213e87[_0x13c178(0x240)],'fillType':_0x2e011c,'opacity':_0x236f10}}),_0x4b69ed[_0x13c178(0x2f9)](i[_0x13c178(0x446)],!0x1);},'onFocus':()=>_0x4b69ed[_0x4c68de(0x2f9)](i[_0x4c68de(0x446)],!0x0),'onBlur':()=>{const _0x411950=_0x4c68de;_0x4b69ed[_0x411950(0x2f9)](i[_0x411950(0x446)],!0x1);}})})})]})]}),_0x2e011c===s[_0x4c68de(0x3c0)][_0x4c68de(0x624)]&&(0x0,r['jsx'])(L,{'shapeData':_0x213e87,'disableShapeOption':_0x5349b4,'onUpdate':_0xe1c033=>{const _0x3727ff=_0x4c68de;_0x192db5({'oldShapeData':{'fill':{..._0x213e87[_0x3727ff(0x240)]}}},{'fill':{..._0x213e87['fill'],..._0xe1c033}});}}),_0x2e011c===s[_0x4c68de(0x3c0)][_0x4c68de(0x41d)]&&(0x0,r[_0x4c68de(0x1a5)])(N,{'shapeId':_0x5ecad8,'shapeData':_0x213e87,'disableShapeOption':_0x5349b4,'onUpdateShapeData':_0x192db5,'onUpdateShapeFillImage':_0x5bc2ed})]});}function ee(_0xbf795e){const _0x5816ec=_0x2a77fc;switch(_0xbf795e){case s[_0x5816ec(0x392)]['Linear']:return'linear';case s[_0x5816ec(0x392)]['Radial']:return _0x5816ec(0x4b2);case s[_0x5816ec(0x392)][_0x5816ec(0x676)]:return _0x5816ec(0x26c);case s['ShapeGradientTypeEnum'][_0x5816ec(0x14f)]:return'diamond';default:return _0x5816ec(0x227);}}function I(_0x561275){const _0x2d18d5=_0x2a77fc;switch(_0x561275){case _0x2d18d5(0x227):return s[_0x2d18d5(0x392)]['Linear'];case _0x2d18d5(0x4b2):return s[_0x2d18d5(0x392)][_0x2d18d5(0x290)];case _0x2d18d5(0x26c):return s[_0x2d18d5(0x392)][_0x2d18d5(0x676)];case _0x2d18d5(0x1ef):return s['ShapeGradientTypeEnum'][_0x2d18d5(0x14f)];default:return s['ShapeGradientTypeEnum'][_0x2d18d5(0x356)];}}function L(_0x5b7d3b){const _0x29f6a1=_0x2a77fc;let {shapeData:_0x17d010,disableShapeOption:_0x14cecf,onUpdate:_0xa1c968}=_0x5b7d3b,_0x19ffda=(0x0,n[_0x29f6a1(0x18d)])(()=>{const _0x4c5551=_0x29f6a1;var _0x19c942,_0x2b5eef;let _0x4f1b4a=_0x17d010[_0x4c5551(0x240)];return{'type':ee((_0x19c942=_0x4f1b4a==null?void 0x0:_0x4f1b4a[_0x4c5551(0x369)])==null?s[_0x4c5551(0x17e)][_0x4c5551(0x369)]:_0x19c942),'angle':(_0x2b5eef=_0x4f1b4a==null?void 0x0:_0x4f1b4a[_0x4c5551(0x5a2)])==null?s[_0x4c5551(0x17e)][_0x4c5551(0x5a2)]:_0x2b5eef,'stops':_0x4f1b4a!=null&&_0x4f1b4a[_0x4c5551(0x461)]&&_0x4f1b4a[_0x4c5551(0x461)]['length']>=0x2?_0x4f1b4a['gradientStops'][_0x4c5551(0x58d)](_0x320ae1=>({'color':_0x320ae1[_0x4c5551(0x15f)],'offset':_0x320ae1[_0x4c5551(0x48a)]*0x64,'opacity':_0x320ae1[_0x4c5551(0x476)]})):[{'color':(_0x4f1b4a==null?void 0x0:_0x4f1b4a[_0x4c5551(0x15f)])||s[_0x4c5551(0x17e)][_0x4c5551(0x240)],'offset':0x0},{'color':s['ShapeDefaultConfig']['gradientEndColor'],'offset':0x64}]};},[_0x17d010[_0x29f6a1(0x240)]]);return(0x0,r['jsx'])(_0x29f6a1(0x488),{'className':_0x29f6a1(0x50f),'children':(0x0,r[_0x29f6a1(0x1a5)])(e[_0x29f6a1(0x684)],{'value':_0x19ffda,'onChange':_0x2c38c7=>{const _0x3089ad=_0x29f6a1;let _0x28963c=I(_0x2c38c7[_0x3089ad(0x3db)]),_0x24582c=_0x2c38c7[_0x3089ad(0x17d)];_0xa1c968({'gradientType':_0x28963c,'gradientAngle':_0x24582c,'gradientStops':_0x2c38c7[_0x3089ad(0x4c6)][_0x3089ad(0x58d)](_0x4c47a0=>({'color':_0x4c47a0[_0x3089ad(0x15f)],'position':_0x4c47a0[_0x3089ad(0x194)]/0x64,'opacity':_0x4c47a0['opacity']}))});}})});}function R(_0x2cf983){const _0x561172=_0x2a77fc;var _0x5ee812,_0x5e4ca2,_0x21ba8e,_0x16535c,_0x40532d,_0x2a2a73,_0xbac192,_0x134be9,_0x36ed63,_0x4151db,_0x3dd2f1,_0x46c31b,_0x57a130,_0x380028,_0x360b5d,_0x523cf6,_0xd2a532;let _0x36814c=(0x0,a[_0x561172(0x3d8)])(i['LocaleService']),_0x331fe4=(0x0,a[_0x561172(0x3d8)])(i[_0x561172(0x11f)]),{shapeData:_0x1884f4,isLineShape:_0x548d02,disableShapeOption:_0x4aa604,onUpdateShapeData:_0x49b941,onUpdateLineShapeData:_0x4526a3}=_0x2cf983,_0x1c3ec8=_0x1884f4[_0x561172(0x4ea)],[_0xb1d73a,_0x108860]=(0x0,n[_0x561172(0x23e)])((_0x5ee812=_0x1c3ec8==null?void 0x0:_0x1c3ec8['lineStrokeType'])==null?s['ShapeDefaultConfig'][_0x561172(0x61c)]:_0x5ee812),[_0x31ba3e,_0x44d03f]=(0x0,n[_0x561172(0x23e)])((_0x5e4ca2=_0x1c3ec8==null?void 0x0:_0x1c3ec8['color'])==null?s['ShapeDefaultConfig'][_0x561172(0x4ea)]:_0x5e4ca2),[_0x4276cf,_0x597920]=(0x0,n[_0x561172(0x23e)])((_0x21ba8e=_0x1c3ec8==null?void 0x0:_0x1c3ec8['opacity'])==null?s[_0x561172(0x17e)][_0x561172(0x3ff)]:_0x21ba8e),[_0x5e992e,_0x4374fc]=(0x0,n['useState'])((_0x16535c=_0x1c3ec8==null?void 0x0:_0x1c3ec8[_0x561172(0x23f)])==null?s[_0x561172(0x17e)][_0x561172(0x13c)]:_0x16535c),[_0xb6da53,_0x2801ed]=(0x0,n[_0x561172(0x23e)])((_0x40532d=_0x1c3ec8==null?void 0x0:_0x1c3ec8[_0x561172(0x408)])==null?s[_0x561172(0x17e)]['cornerRadius']:_0x40532d),[_0xe8c2fd,_0x15a5aa]=(0x0,n[_0x561172(0x23e)])((_0x2a2a73=_0x1c3ec8==null?void 0x0:_0x1c3ec8[_0x561172(0x1e6)])==null?s['ShapeDefaultConfig'][_0x561172(0x544)]:_0x2a2a73),[_0x51bfa5,_0x17b1c6]=(0x0,n[_0x561172(0x23e)])((_0xbac192=_0x1c3ec8==null?void 0x0:_0x1c3ec8[_0x561172(0x46d)])==null?s[_0x561172(0x17e)][_0x561172(0x361)]:_0xbac192),[_0x4c6a77,_0xbd7920]=(0x0,n[_0x561172(0x23e)])((_0x134be9=_0x1c3ec8==null?void 0x0:_0x1c3ec8[_0x561172(0x597)])==null?s['ShapeDefaultConfig']['lineJoinType']:_0x134be9),[_0x592358,_0x14b890]=(0x0,n['useState'])((_0x36ed63=_0x1c3ec8==null?void 0x0:_0x1c3ec8[_0x561172(0x185)])==null?s[_0x561172(0x17e)][_0x561172(0x185)]:_0x36ed63),_0x2e904b=_0x1884f4,[_0x55f84e,_0x5dae4c]=(0x0,n[_0x561172(0x23e)])((_0x4151db=(_0x3dd2f1=_0x2e904b['ln'])==null||(_0x3dd2f1=_0x3dd2f1['startArrow'])==null?void 0x0:_0x3dd2f1[_0x561172(0x3db)])==null?s['ShapeArrowTypeEnum'][_0x561172(0x3e6)]:_0x4151db),[_0x338116,_0x1a5d00]=(0x0,n[_0x561172(0x23e)])((_0x46c31b=(_0x57a130=_0x2e904b['ln'])==null||(_0x57a130=_0x57a130['startArrow'])==null?void 0x0:_0x57a130[_0x561172(0x62d)])==null?s[_0x561172(0x485)][_0x561172(0x16d)]:_0x46c31b),[_0x457375,_0x191bb1]=(0x0,n['useState'])((_0x380028=(_0x360b5d=_0x2e904b['ln'])==null||(_0x360b5d=_0x360b5d[_0x561172(0x50b)])==null?void 0x0:_0x360b5d[_0x561172(0x3db)])==null?s[_0x561172(0x583)][_0x561172(0x3e6)]:_0x380028),[_0x4b58d3,_0x32cac8]=(0x0,n[_0x561172(0x23e)])((_0x523cf6=(_0xd2a532=_0x2e904b['ln'])==null||(_0xd2a532=_0xd2a532[_0x561172(0x50b)])==null?void 0x0:_0xd2a532[_0x561172(0x62d)])==null?s[_0x561172(0x485)][_0x561172(0x16d)]:_0x523cf6),[_0x44c8fe,_0x491877]=(0x0,n[_0x561172(0x23e)])(!0x1),_0x2a212a=0x64-_0x4276cf*0x64,_0x23c15c=[{'label':_0x36814c['t']('shape-editor-ui.line.dashType.solid'),'value':String(s['ShapeLineDashEnum'][_0x561172(0x3d5)])},{'label':_0x36814c['t'](_0x561172(0x492)),'value':String(s[_0x561172(0x562)]['RoundDot'])},{'label':_0x36814c['t'](_0x561172(0x439)),'value':String(s['ShapeLineDashEnum'][_0x561172(0x447)])},{'label':_0x36814c['t'](_0x561172(0x32a)),'value':String(s[_0x561172(0x562)]['Dash'])},{'label':_0x36814c['t'](_0x561172(0x666)),'value':String(s['ShapeLineDashEnum'][_0x561172(0x15b)])},{'label':_0x36814c['t'](_0x561172(0x64b)),'value':String(s[_0x561172(0x562)][_0x561172(0x25b)])},{'label':_0x36814c['t'](_0x561172(0x3d4)),'value':String(s[_0x561172(0x562)][_0x561172(0x1ba)])},{'label':_0x36814c['t'](_0x561172(0x5cc)),'value':String(s[_0x561172(0x562)][_0x561172(0x371)])}],_0x17803e=[{'label':_0x36814c['t'](_0x561172(0x614)),'value':String(s[_0x561172(0x317)]['Flat'])},{'label':_0x36814c['t'](_0x561172(0x49b)),'value':String(s[_0x561172(0x317)][_0x561172(0x4b9)])},{'label':_0x36814c['t'](_0x561172(0x376)),'value':String(s[_0x561172(0x317)][_0x561172(0x2de)])}],_0x20062d=[{'label':_0x36814c['t']('shape-editor-ui.line.sketchType.none'),'value':String(s[_0x561172(0x39f)][_0x561172(0x3e6)])},{'label':_0x36814c['t'](_0x561172(0x176)),'value':String(s[_0x561172(0x39f)][_0x561172(0x180)])},{'label':_0x36814c['t'](_0x561172(0x407)),'value':String(s[_0x561172(0x39f)][_0x561172(0x474)])},{'label':_0x36814c['t'](_0x561172(0x665)),'value':String(s[_0x561172(0x39f)][_0x561172(0x37f)])}],_0x863cb2=[{'label':_0x36814c['t'](_0x561172(0x2dd)),'value':String(s['ShapeLineJoinEnum'][_0x561172(0x46f)])},{'label':_0x36814c['t'](_0x561172(0x3f2)),'value':String(s[_0x561172(0x1d1)][_0x561172(0x4b9)])},{'label':_0x36814c['t'](_0x561172(0x52b)),'value':String(s[_0x561172(0x1d1)]['Bevel'])}],_0x351a55=[{'label':_0x36814c['t']('shape-editor-ui.line.arrowType.none'),'value':String(s[_0x561172(0x583)][_0x561172(0x3e6)])},{'label':_0x36814c['t']('shape-editor-ui.line.arrowType.arrow'),'value':String(s[_0x561172(0x583)][_0x561172(0x530)])},{'label':_0x36814c['t'](_0x561172(0x498)),'value':String(s[_0x561172(0x583)]['OpenArrow'])},{'label':_0x36814c['t'](_0x561172(0x1a6)),'value':String(s[_0x561172(0x583)][_0x561172(0x2e7)])},{'label':_0x36814c['t'](_0x561172(0x2d2)),'value':String(s[_0x561172(0x583)][_0x561172(0x5d2)])},{'label':_0x36814c['t']('shape-editor-ui.line.arrowType.ovalArrow'),'value':String(s['ShapeArrowTypeEnum']['OvalArrow'])}],_0x29df15=[{'label':_0x36814c['t'](_0x561172(0x345)),'value':String(s['ShapeArrowSizeEnum'][_0x561172(0x53a)])},{'label':_0x36814c['t'](_0x561172(0x1d0)),'value':String(s[_0x561172(0x485)][_0x561172(0x16d)])},{'label':_0x36814c['t']('shape-editor-ui.line.arrowSize.large'),'value':String(s[_0x561172(0x485)][_0x561172(0x667)])}];return(0x0,r[_0x561172(0x576)])(_0x561172(0x488),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3','children':[(0x0,r[_0x561172(0x576)])(e[_0x561172(0x579)],{'value':String(_0xb1d73a),'disabled':_0x4aa604,'onChange':_0x2132a5=>{const _0x1e219c=_0x561172;var _0x3f463a;_0x108860(Number(_0x2132a5)),_0x49b941({'oldShapeData':{'stroke':{'lineStrokeType':(_0x3f463a=_0x1884f4[_0x1e219c(0x4ea)])==null?void 0x0:_0x3f463a[_0x1e219c(0x226)]}}},{'stroke':{'lineStrokeType':Number(_0x2132a5)}});},'direction':'vertical','children':[(0x0,r['jsx'])(e[_0x561172(0x3a2)],{'value':String(s[_0x561172(0x2d0)]['NoLine']),'children':(0x0,r[_0x561172(0x1a5)])('span',{'className':_0x561172(0x529),'children':_0x36814c['t'](_0x561172(0x34d))})}),(0x0,r[_0x561172(0x1a5)])(e[_0x561172(0x3a2)],{'value':String(s['ShapeLineTypeEnum'][_0x561172(0x4c5)]),'children':(0x0,r[_0x561172(0x1a5)])('span',{'className':_0x561172(0x529),'children':_0x36814c['t'](_0x561172(0x137))})})]}),_0xb1d73a!==s[_0x561172(0x2d0)][_0x561172(0x217)]&&(0x0,r[_0x561172(0x576)])(_0x561172(0x488),{'className':_0x561172(0x189),'children':[(0x0,r[_0x561172(0x576)])(_0x561172(0x488),{'className':_0x561172(0x45d),'children':[(0x0,r[_0x561172(0x1a5)])(_0x561172(0x222),{'className':_0x561172(0x14c),'children':_0x36814c['t'](_0x561172(0x2fa))}),(0x0,r['jsx'])(e[_0x561172(0x3a5)],{'disabled':_0x4aa604,'overlay':(0x0,r[_0x561172(0x1a5)])(_0x561172(0x488),{'className':'univer-rounded-lg\x20univer-p-3','children':(0x0,r[_0x561172(0x1a5)])(e['ColorPicker'],{'value':_0x31ba3e,'onChange':_0x2981fc=>{const _0x3c3422=_0x561172;var _0x49ab4c;_0x49b941({'oldShapeData':{'stroke':{'color':(_0x49ab4c=_0x1884f4[_0x3c3422(0x4ea)])==null?void 0x0:_0x49ab4c[_0x3c3422(0x15f)]}}},{'stroke':{'color':_0x2981fc}}),_0x44d03f(_0x2981fc),_0x491877(!0x1);}})}),'open':_0x44c8fe,'onOpenChange':_0x491877,'children':(0x0,r['jsxs'])('a',{'className':_0x561172(0x40c),'children':[(0x0,r[_0x561172(0x1a5)])(t[_0x561172(0x1c4)],{'className':'univer-text-xl\x20univer-text-gray-500','extend':{'colorChannel1':_0x31ba3e}}),(0x0,r[_0x561172(0x1a5)])(t[_0x561172(0x3ba)],{'className':(0x0,e[_0x561172(0x3fc)])(_0x561172(0x4f3),{'univer-rotate-180':_0x44c8fe})})]})})]}),(0x0,r[_0x561172(0x576)])(_0x561172(0x488),{'className':_0x561172(0x53b),'children':[(0x0,r[_0x561172(0x1a5)])(_0x561172(0x222),{'className':_0x561172(0x169),'children':_0x36814c['t']('shape-editor-ui.line.transparency')}),(0x0,r[_0x561172(0x1a5)])(_0x561172(0x488),{'className':_0x561172(0x53b),'children':(0x0,r[_0x561172(0x1a5)])('div',{'className':'univer-w-20\x20univer-flex-1','children':(0x0,r['jsx'])(e[_0x561172(0x168)],{'className':_0x561172(0x556),'value':_0x2a212a,'disabled':_0x4aa604,'min':0x0,'max':0x64,'formatter':_0x14f6eb=>_0x14f6eb+'%','parser':_0xd1d7b1=>(_0xd1d7b1==null?void 0x0:_0xd1d7b1[_0x561172(0x282)]('%',''))||'','onChange':_0x2afb9a=>{const _0x3018d5=_0x561172;var _0x39335d;let _0x2ec944=(0x64-Math[_0x3018d5(0x693)](0x0,Math[_0x3018d5(0x256)](0x64,_0x2afb9a==null?0x0:_0x2afb9a)))/0x64;_0x597920(_0x2ec944),_0x49b941({'oldShapeData':{'stroke':{'opacity':(_0x39335d=_0x1884f4[_0x3018d5(0x4ea)])==null?void 0x0:_0x39335d[_0x3018d5(0x476)]}}},{'stroke':{'opacity':_0x2ec944}}),_0x331fe4[_0x3018d5(0x2f9)](i['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x331fe4[_0x561172(0x2f9)](i[_0x561172(0x446)],!0x0),'onBlur':_0x58b723=>{const _0x24588c=_0x561172;_0x331fe4[_0x24588c(0x2f9)](i['FOCUSING_PANEL_EDITOR'],!0x1);}})})})]}),(0x0,r[_0x561172(0x576)])(_0x561172(0x488),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[(0x0,r[_0x561172(0x1a5)])(_0x561172(0x222),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x36814c['t']('shape-editor-ui.line.width')}),(0x0,r[_0x561172(0x1a5)])('div',{'className':_0x561172(0x303),'children':(0x0,r['jsx'])(e['InputNumber'],{'className':'univer-w-full','disabled':_0x4aa604,'value':_0x5e992e,'min':0.25,'max':0x64,'step':0.25,'onChange':_0x1c6fb4=>{const _0x4e3534=_0x561172;if(!Number['isNaN'](_0x1c6fb4)&&_0x1c6fb4!==null){var _0x26ce15;_0x49b941({'oldShapeData':{'stroke':{'width':(_0x26ce15=_0x1884f4[_0x4e3534(0x4ea)])==null?void 0x0:_0x26ce15['width']}}},{'stroke':{'width':_0x1c6fb4}});}_0x331fe4[_0x4e3534(0x2f9)](i[_0x4e3534(0x446)],!0x1);},'onFocus':()=>_0x331fe4['setContextValue'](i[_0x561172(0x446)],!0x0),'onBlur':_0x18f222=>{const _0x6e27a8=_0x561172;_0x331fe4[_0x6e27a8(0x2f9)](i[_0x6e27a8(0x446)],!0x1);}})})]}),_0x548d02&&(0x0,r[_0x561172(0x576)])(_0x561172(0x488),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[(0x0,r['jsx'])(_0x561172(0x222),{'className':_0x561172(0x14c),'children':_0x36814c['t'](_0x561172(0x4e9))}),(0x0,r[_0x561172(0x1a5)])(_0x561172(0x488),{'className':_0x561172(0x303),'children':(0x0,r[_0x561172(0x1a5)])(e[_0x561172(0x168)],{'className':_0x561172(0x556),'disabled':_0x4aa604,'value':_0xb6da53,'min':0x0,'step':0x1,'onChange':_0x2b242a=>{const _0x420cb5=_0x561172;var _0x5ad422;let _0x1a5e06=Math['max'](0x0,_0x2b242a==null?0x0:_0x2b242a);_0x2801ed(_0x1a5e06),_0x49b941({'oldShapeData':{'stroke':{'cornerRadius':(_0x5ad422=_0x1884f4[_0x420cb5(0x4ea)])==null?void 0x0:_0x5ad422[_0x420cb5(0x408)]}}},{'stroke':{'cornerRadius':_0x1a5e06}}),_0x331fe4['setContextValue'](i[_0x420cb5(0x446)],!0x1);},'onFocus':()=>_0x331fe4[_0x561172(0x2f9)](i[_0x561172(0x446)],!0x0),'onBlur':()=>{const _0x5a3527=_0x561172;_0x331fe4[_0x5a3527(0x2f9)](i[_0x5a3527(0x446)],!0x1);}})})]}),(0x0,r[_0x561172(0x576)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r[_0x561172(0x1a5)])(_0x561172(0x222),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x36814c['t'](_0x561172(0x18b))}),(0x0,r[_0x561172(0x1a5)])(_0x561172(0x488),{'className':_0x561172(0x207),'children':(0x0,r[_0x561172(0x1a5)])(e[_0x561172(0x352)],{'className':_0x561172(0x556),'value':String(_0xe8c2fd),'options':_0x23c15c,'disabled':_0x4aa604,'onChange':_0x57a1d5=>{const _0x40b38a=_0x561172;var _0x2abfe4;_0x15a5aa(Number(_0x57a1d5)),_0x49b941({'oldShapeData':{'stroke':{'dashType':(_0x2abfe4=_0x1884f4[_0x40b38a(0x4ea)])==null?void 0x0:_0x2abfe4['dashType']}}},{'stroke':{'dashType':Number(_0x57a1d5)}});}})})]}),(0x0,r[_0x561172(0x576)])(_0x561172(0x488),{'className':_0x561172(0x45d),'children':[(0x0,r[_0x561172(0x1a5)])(_0x561172(0x222),{'className':_0x561172(0x14c),'children':_0x36814c['t'](_0x561172(0x150))}),(0x0,r['jsx'])(_0x561172(0x488),{'className':_0x561172(0x207),'children':(0x0,r[_0x561172(0x1a5)])(e['Select'],{'className':_0x561172(0x556),'value':String(_0x51bfa5),'options':_0x17803e,'disabled':_0x4aa604,'onChange':_0x107721=>{const _0x4ff94=_0x561172;var _0x14a73d;_0x17b1c6(Number(_0x107721)),_0x49b941({'oldShapeData':{'stroke':{'capType':(_0x14a73d=_0x1884f4['stroke'])==null?void 0x0:_0x14a73d[_0x4ff94(0x46d)]}}},{'stroke':{'capType':Number(_0x107721)}});}})})]}),(0x0,r[_0x561172(0x576)])(_0x561172(0x488),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r[_0x561172(0x1a5)])('span',{'className':_0x561172(0x14c),'children':_0x36814c['t'](_0x561172(0x2c8))}),(0x0,r[_0x561172(0x1a5)])('div',{'className':_0x561172(0x207),'children':(0x0,r[_0x561172(0x1a5)])(e[_0x561172(0x352)],{'className':_0x561172(0x556),'value':String(_0x4c6a77),'options':_0x863cb2,'disabled':_0x4aa604,'onChange':_0x2948a6=>{const _0x1b9d06=_0x561172;var _0x5331aa;_0xbd7920(Number(_0x2948a6)),_0x49b941({'oldShapeData':{'stroke':{'lineJoinType':(_0x5331aa=_0x1884f4[_0x1b9d06(0x4ea)])==null?void 0x0:_0x5331aa[_0x1b9d06(0x597)]}}},{'stroke':{'lineJoinType':Number(_0x2948a6)}});}})})]}),!_0x548d02&&(0x0,r[_0x561172(0x576)])(_0x561172(0x488),{'className':_0x561172(0x45d),'children':[(0x0,r['jsx'])('span',{'className':_0x561172(0x14c),'children':_0x36814c['t'](_0x561172(0x2c9))}),(0x0,r['jsx'])(_0x561172(0x488),{'className':_0x561172(0x207),'children':(0x0,r[_0x561172(0x1a5)])(e[_0x561172(0x352)],{'className':_0x561172(0x556),'value':String(_0x592358),'options':_0x20062d,'disabled':_0x4aa604,'onChange':_0x3b8fee=>{const _0x1f6316=_0x561172;var _0x13ffa0;_0x14b890(Number(_0x3b8fee)),_0x49b941({'oldShapeData':{'stroke':{'sketchType':(_0x13ffa0=_0x1884f4[_0x1f6316(0x4ea)])==null?void 0x0:_0x13ffa0[_0x1f6316(0x185)]}}},{'stroke':{'sketchType':Number(_0x3b8fee)}});}})})]}),_0x548d02&&(0x0,r[_0x561172(0x576)])(r[_0x561172(0x50e)],{'children':[(0x0,r[_0x561172(0x576)])(_0x561172(0x488),{'className':_0x561172(0x45d),'children':[(0x0,r[_0x561172(0x1a5)])(_0x561172(0x222),{'className':_0x561172(0x14c),'children':_0x36814c['t'](_0x561172(0x3e3))}),(0x0,r[_0x561172(0x1a5)])(_0x561172(0x488),{'className':_0x561172(0x207),'children':(0x0,r[_0x561172(0x1a5)])(e[_0x561172(0x352)],{'className':_0x561172(0x556),'value':String(_0x55f84e),'options':_0x351a55,'onChange':_0x2413fc=>{const _0x45a859=_0x561172;var _0x2c8fa1;_0x5dae4c(Number(_0x2413fc));let _0x569d76={'ln':{'startArrow':{'type':(_0x2c8fa1=_0x1884f4['ln'])==null||(_0x2c8fa1=_0x2c8fa1[_0x45a859(0x54a)])==null?void 0x0:_0x2c8fa1[_0x45a859(0x3db)]}}};_0x4526a3==null||_0x4526a3({'oldShapeData':_0x569d76},{'ln':{'startArrow':{'type':Number(_0x2413fc)}}});}})})]}),(0x0,r[_0x561172(0x576)])(_0x561172(0x488),{'className':_0x561172(0x45d),'children':[(0x0,r['jsx'])(_0x561172(0x222),{'className':_0x561172(0x14c),'children':_0x36814c['t'](_0x561172(0x593))}),(0x0,r[_0x561172(0x1a5)])('div',{'className':'univer-w-28','children':(0x0,r[_0x561172(0x1a5)])(e[_0x561172(0x352)],{'className':_0x561172(0x556),'value':String(_0x338116),'options':_0x29df15,'onChange':_0x181ea0=>{const _0x57a2b3=_0x561172;var _0x800833;_0x1a5d00(Number(_0x181ea0));let _0x50b060={'ln':{'startArrow':{'size':(_0x800833=_0x1884f4['ln'])==null||(_0x800833=_0x800833[_0x57a2b3(0x54a)])==null?void 0x0:_0x800833[_0x57a2b3(0x62d)]}}};_0x4526a3==null||_0x4526a3({'oldShapeData':_0x50b060},{'ln':{'startArrow':{'size':Number(_0x181ea0)}}});}})})]}),(0x0,r[_0x561172(0x576)])(_0x561172(0x488),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r['jsx'])(_0x561172(0x222),{'className':_0x561172(0x14c),'children':_0x36814c['t']('shape-editor-ui.line.endArrowType')}),(0x0,r[_0x561172(0x1a5)])('div',{'className':_0x561172(0x207),'children':(0x0,r['jsx'])(e[_0x561172(0x352)],{'className':_0x561172(0x556),'value':String(_0x457375),'options':_0x351a55,'onChange':_0x23e7d3=>{const _0x10b474=_0x561172;var _0x8d30f4;_0x191bb1(Number(_0x23e7d3));let _0x27a7fb={'ln':{'endArrow':{'type':(_0x8d30f4=_0x1884f4['ln'])==null||(_0x8d30f4=_0x8d30f4[_0x10b474(0x50b)])==null?void 0x0:_0x8d30f4[_0x10b474(0x3db)]}}};_0x4526a3==null||_0x4526a3({'oldShapeData':_0x27a7fb},{'ln':{'endArrow':{'type':Number(_0x23e7d3)}}});}})})]}),(0x0,r[_0x561172(0x576)])('div',{'className':_0x561172(0x45d),'children':[(0x0,r['jsx'])(_0x561172(0x222),{'className':_0x561172(0x14c),'children':_0x36814c['t'](_0x561172(0x287))}),(0x0,r[_0x561172(0x1a5)])(_0x561172(0x488),{'className':_0x561172(0x207),'children':(0x0,r[_0x561172(0x1a5)])(e['Select'],{'className':_0x561172(0x556),'value':String(_0x4b58d3),'options':_0x29df15,'onChange':_0x5572bd=>{const _0x447d0b=_0x561172;var _0x1019e4;_0x32cac8(Number(_0x5572bd));let _0xdd3110={'ln':{'endArrow':{'size':(_0x1019e4=_0x1884f4['ln'])==null||(_0x1019e4=_0x1019e4[_0x447d0b(0x50b)])==null?void 0x0:_0x1019e4[_0x447d0b(0x62d)]}}};_0x4526a3==null||_0x4526a3({'oldShapeData':_0xdd3110},{'ln':{'endArrow':{'size':Number(_0x5572bd)}}});}})})]})]})]})]});}function z(_0x55c8b3){const _0x4a2b57=_0x2a77fc;return Math[_0x4a2b57(0x254)](_0x55c8b3*0xa)/0xa;}function B(_0x2cb465){const _0x49c4a4=_0x2a77fc;var _0x585662,_0x3caa0d,_0x2c987f,_0x869383,_0x27e87d;let _0x310178=_0x2cb465['shapeText'],_0x5b0811=_0x310178&&_0x49c4a4(0x1f8)in _0x310178?(_0x585662=_0x310178[_0x49c4a4(0x1f8)])==null?void 0x0:_0x585662[_0x49c4a4(0x437)]:void 0x0,_0x3da09d=_0x5b0811==null||(_0x3caa0d=_0x5b0811['body'])==null||(_0x3caa0d=_0x3caa0d[_0x49c4a4(0x382)])==null||(_0x3caa0d=_0x3caa0d[_0x49c4a4(0x17b)](_0x310bf8=>{const _0x423bfe=_0x49c4a4;var _0x59a6d7,_0x1b2d8a;return((_0x59a6d7=(_0x1b2d8a=_0x310bf8[_0x423bfe(0x672)])==null?void 0x0:_0x1b2d8a[_0x423bfe(0x5a7)])==null?0x0:_0x59a6d7)>0x0;}))==null?void 0x0:_0x3caa0d[_0x49c4a4(0x672)];return{'count':Math[_0x49c4a4(0x693)](0x1,(_0x2c987f=_0x3da09d==null?void 0x0:_0x3da09d['length'])==null?0x1:_0x2c987f),'spacing':z((_0x869383=_0x3da09d==null||(_0x27e87d=_0x3da09d[0x0])==null?void 0x0:_0x27e87d[_0x49c4a4(0x114)])==null?0x0:_0x869383)};}function te(_0x3d7a6b,_0xca3432){const _0x3a2a4f=_0x2a77fc;var _0x386391,_0x4345f1;let _0x5b15ba=_0x3d7a6b[_0x3a2a4f(0x645)],_0x1d2cbc=_0x5b15ba&&'dataModel'in _0x5b15ba?_0x5b15ba[_0x3a2a4f(0x1f8)]:void 0x0,_0x4e0f22=_0x5b15ba&&'text'in _0x5b15ba?(_0x386391=_0x5b15ba[_0x3a2a4f(0x475)])==null?'':_0x386391:'',_0x2eaaeb=(_0x4345f1=_0x1d2cbc==null?void 0x0:_0x1d2cbc[_0x3a2a4f(0x437)])==null?{'id':(0x0,i['generateRandomId'])(0x6),'body':{'dataStream':_0x4e0f22+'\x0d\x0a'},'documentStyle':{}}:_0x4345f1,_0xdb9142=i[_0x3a2a4f(0x62b)][_0x3a2a4f(0x151)](i[_0x3a2a4f(0x5d9)][_0x3a2a4f(0x3b8)](_0x2eaaeb))[_0x3a2a4f(0x5d6)]({'count':Math['max'](0x1,Math['round'](_0xca3432[_0x3a2a4f(0x2b0)])),'spacing':Math[_0x3a2a4f(0x693)](0x0,_0xca3432[_0x3a2a4f(0x1a2)])})['getData']();return{..._0x3d7a6b,'shapeText':{..._0x5b15ba==null?{'isHorizontal':!0x0}:_0x5b15ba,'text':_0x4e0f22,'dataModel':{..._0x1d2cbc==null?{}:_0x1d2cbc,'doc':_0xdb9142}}};}function ne(_0x8d4c2f){const _0x5bc0d9=_0x2a77fc;let {shapeData:_0x40e3c3,disableShapeOption:_0x4f43ab,onUpdateShapeData:_0x3fa2cc}=_0x8d4c2f,_0x3dc997=(0x0,a[_0x5bc0d9(0x3d8)])(i[_0x5bc0d9(0x64c)]),_0x1362ff=(0x0,s['resolveShapeTextBoxOptions'])(_0x40e3c3),[_0xa5572a,_0x175541]=(0x0,n[_0x5bc0d9(0x23e)])(_0x1362ff[_0x5bc0d9(0x601)]),[_0x49222f,_0x11cdbe]=(0x0,n[_0x5bc0d9(0x23e)])(_0x1362ff['autoFitType']),[_0x4cfa49,_0x1f83da]=(0x0,n[_0x5bc0d9(0x23e)])(_0x1362ff['textWrap']),[_0x1cbfbc,_0x4421df]=(0x0,n[_0x5bc0d9(0x23e)])(()=>({'left':z(_0x1362ff[_0x5bc0d9(0x625)]['left']),'right':z(_0x1362ff[_0x5bc0d9(0x625)]['right']),'top':z(_0x1362ff['padding'][_0x5bc0d9(0x4ed)]),'bottom':z(_0x1362ff[_0x5bc0d9(0x625)][_0x5bc0d9(0x1a8)])})),[_0x316e4f,_0x668d2]=(0x0,n[_0x5bc0d9(0x23e)])(()=>B(_0x40e3c3)),_0x584521=_0x5a655b=>{const _0x351d7b=_0x5bc0d9;_0x3fa2cc({'oldShapeData':_0x40e3c3},(0x0,s[_0x351d7b(0x156)])(_0x40e3c3,_0x5a655b));},_0x4d3529=_0x2c5e2f=>{_0x4421df(_0x2c5e2f),_0x584521({'padding':_0x2c5e2f});},_0x6f137a=_0x43e0b1=>{_0x668d2(_0x43e0b1),_0x3fa2cc({'oldShapeData':_0x40e3c3},te(_0x40e3c3,_0x43e0b1));},_0x5804d8=[{'label':_0x3dc997['t'](_0x5bc0d9(0x45e)),'value':s[_0x5bc0d9(0x63c)][_0x5bc0d9(0x661)]},{'label':_0x3dc997['t'](_0x5bc0d9(0x2ea)),'value':s[_0x5bc0d9(0x63c)][_0x5bc0d9(0x5ed)]}],_0x2b4821=[{'label':_0x3dc997['t'](_0x5bc0d9(0x10b)),'value':s['ShapeTextAutoFitType'][_0x5bc0d9(0x365)]},{'label':_0x3dc997['t']('shape-editor-ui.textBox.autoFitShrink'),'value':s[_0x5bc0d9(0x4a1)]['NormAutoFit']},{'label':_0x3dc997['t'](_0x5bc0d9(0x41f)),'value':s[_0x5bc0d9(0x4a1)][_0x5bc0d9(0x39e)]}];return(0x0,r[_0x5bc0d9(0x576)])(_0x5bc0d9(0x5b0),{'className':_0x5bc0d9(0x174),'children':[(0x0,r[_0x5bc0d9(0x576)])(_0x5bc0d9(0x2fb),{'className':_0x5bc0d9(0x53b),'children':[(0x0,r['jsx'])(_0x5bc0d9(0x222),{'className':_0x5bc0d9(0x1e2),'children':_0x3dc997['t']('shape-editor-ui.textBox.textDirection')}),(0x0,r[_0x5bc0d9(0x1a5)])(e[_0x5bc0d9(0x352)],{'className':_0x5bc0d9(0x64a),'disabled':_0x4f43ab,'value':_0xa5572a,'options':_0x5804d8,'onChange':_0x5a2a7f=>{let _0x14ee61=_0x5a2a7f;_0x175541(_0x14ee61),_0x584521({'textDirection':_0x14ee61});}})]}),(0x0,r[_0x5bc0d9(0x576)])(_0x5bc0d9(0x2fb),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[(0x0,r[_0x5bc0d9(0x1a5)])('span',{'className':_0x5bc0d9(0x1e2),'children':_0x3dc997['t'](_0x5bc0d9(0x36d))}),(0x0,r[_0x5bc0d9(0x1a5)])(e[_0x5bc0d9(0x352)],{'className':_0x5bc0d9(0x64a),'disabled':_0x4f43ab,'value':_0x49222f,'options':_0x2b4821,'onChange':_0xaca9c=>{let _0x32e861=_0xaca9c;_0x11cdbe(_0x32e861),_0x584521({'autoFitType':_0x32e861});}})]}),(0x0,r[_0x5bc0d9(0x1a5)])(e[_0x5bc0d9(0x581)],{'disabled':_0x4f43ab,'checked':_0x4cfa49===s['ShapeTextWrapType'][_0x5bc0d9(0x2de)],'onChange':_0x5a7a84=>{const _0x224c4f=_0x5bc0d9;let _0x169107=_0x5a7a84?s[_0x224c4f(0x271)][_0x224c4f(0x2de)]:s['ShapeTextWrapType'][_0x224c4f(0x3e6)];_0x1f83da(_0x169107),_0x584521({'textWrap':_0x169107});},'children':(0x0,r[_0x5bc0d9(0x1a5)])('span',{'className':'univer-text-sm\x20dark:!univer-text-gray-200','children':_0x3dc997['t'](_0x5bc0d9(0x572))})}),(0x0,r['jsxs'])(_0x5bc0d9(0x5b0),{'className':_0x5bc0d9(0x630),'children':[(0x0,r[_0x5bc0d9(0x1a5)])(_0x5bc0d9(0x215),{'className':_0x5bc0d9(0x479),'children':_0x3dc997['t'](_0x5bc0d9(0x33d))}),(0x0,r[_0x5bc0d9(0x1a5)])('div',{'className':'univer-grid\x20univer-grid-cols-2\x20univer-gap-2\x20[&>label]:univer-grid\x20[&>label]:univer-gap-1','children':['left',_0x5bc0d9(0x480),_0x5bc0d9(0x4ed),_0x5bc0d9(0x1a8)][_0x5bc0d9(0x58d)](_0x1eb2b6=>(0x0,r[_0x5bc0d9(0x576)])(_0x5bc0d9(0x2fb),{'children':[(0x0,r[_0x5bc0d9(0x1a5)])('span',{'className':_0x5bc0d9(0x126),'children':_0x3dc997['t'](_0x5bc0d9(0x33d)+_0x1eb2b6[0x0]['toUpperCase']()+_0x1eb2b6[_0x5bc0d9(0x102)](0x1))}),(0x0,r[_0x5bc0d9(0x1a5)])(e['InputNumber'],{'disabled':_0x4f43ab,'min':0x0,'precision':0x1,'value':_0x1cbfbc[_0x1eb2b6],'onChange':_0x78f4d9=>{const _0x15a903=_0x5bc0d9;_0x78f4d9!=null&&_0x4d3529({..._0x1cbfbc,[_0x1eb2b6]:Math[_0x15a903(0x693)](0x0,_0x78f4d9)});}})]},_0x1eb2b6))})]}),(0x0,r[_0x5bc0d9(0x576)])(_0x5bc0d9(0x5b0),{'className':_0x5bc0d9(0x630),'children':[(0x0,r[_0x5bc0d9(0x1a5)])('header',{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3dc997['t'](_0x5bc0d9(0x4f1))}),(0x0,r[_0x5bc0d9(0x576)])('div',{'className':_0x5bc0d9(0x568),'children':[(0x0,r[_0x5bc0d9(0x576)])(_0x5bc0d9(0x2fb),{'children':[(0x0,r['jsx'])('span',{'className':_0x5bc0d9(0x126),'children':_0x3dc997['t'](_0x5bc0d9(0x1b7))}),(0x0,r[_0x5bc0d9(0x1a5)])(e['InputNumber'],{'disabled':_0x4f43ab,'min':0x1,'precision':0x0,'value':_0x316e4f[_0x5bc0d9(0x2b0)],'onChange':_0x46f95e=>{const _0x1d0bb0=_0x5bc0d9;_0x46f95e!=null&&_0x6f137a({..._0x316e4f,'count':Math['max'](0x1,Math[_0x1d0bb0(0x254)](_0x46f95e))});}})]}),(0x0,r[_0x5bc0d9(0x576)])(_0x5bc0d9(0x2fb),{'children':[(0x0,r[_0x5bc0d9(0x1a5)])(_0x5bc0d9(0x222),{'className':_0x5bc0d9(0x126),'children':_0x3dc997['t'](_0x5bc0d9(0x5aa))}),(0x0,r[_0x5bc0d9(0x1a5)])(e['InputNumber'],{'disabled':_0x4f43ab,'min':0x0,'precision':0x1,'value':_0x316e4f[_0x5bc0d9(0x1a2)],'onChange':_0x5283d8=>{const _0x5e4533=_0x5bc0d9;_0x5283d8!=null&&_0x6f137a({..._0x316e4f,'spacing':Math[_0x5e4533(0x693)](0x0,_0x5283d8)});}})]})]})]})]});}function re(_0x17d005){const _0x3c1ec1=_0x2a77fc;let {shapeData:_0x13a9ca,shapeId:_0x28eb28,shapeType:_0x38201f,disableShapeOption:_0x488f14,positionEditor:_0x4c82cb,onUpdateShapeData:_0x490925,onUpdateLineShapeData:_0x42de34,onUpdateShapeFillImage:_0x576b1e}=_0x17d005,_0x130273=(0x0,a[_0x3c1ec1(0x3d8)])(i[_0x3c1ec1(0x64c)]),_0x44b939=(0x0,s['isConnectorShape'])(_0x38201f),[_0x5bbef1,_0x267e02]=(0x0,n[_0x3c1ec1(0x23e)])(0x0),_0x390a5e=[{'label':(0x0,r[_0x3c1ec1(0x1a5)])(_0x3c1ec1(0x488),{'children':_0x130273['t'](_0x3c1ec1(0x5c2))}),'children':(0x0,r[_0x3c1ec1(0x1a5)])(_0x3c1ec1(0x5b0),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,r[_0x3c1ec1(0x1a5)])(F,{'shapeId':_0x28eb28,'shapeData':_0x13a9ca,'isLineShape':_0x44b939,'disableShapeOption':_0x488f14,'onUpdateShapeData':_0x490925,'onUpdateShapeFillImage':_0x576b1e})})},{'label':(0x0,r['jsx'])(_0x3c1ec1(0x488),{'children':_0x130273['t'](_0x3c1ec1(0x251))}),'children':(0x0,r['jsx'])('section',{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,r[_0x3c1ec1(0x1a5)])(R,{'shapeId':_0x28eb28,'shapeData':_0x13a9ca,'isLineShape':_0x44b939,'disableShapeOption':_0x488f14,'onUpdateShapeData':_0x490925,'onUpdateLineShapeData':_0x42de34})})},{'label':(0x0,r[_0x3c1ec1(0x1a5)])(_0x3c1ec1(0x488),{'children':_0x130273['t'](_0x3c1ec1(0x1db))}),'children':(0x0,r[_0x3c1ec1(0x1a5)])(_0x3c1ec1(0x5b0),{'className':_0x3c1ec1(0x435),'children':(0x0,r['jsx'])(ne,{'shapeId':_0x28eb28,'shapeData':_0x13a9ca,'disableShapeOption':_0x488f14,'onUpdateShapeData':_0x490925,'onUpdateLineShapeData':_0x42de34})})}];return(0x0,r[_0x3c1ec1(0x576)])(_0x3c1ec1(0x488),{'className':_0x3c1ec1(0x4e2),'children':[(0x0,r[_0x3c1ec1(0x576)])(_0x3c1ec1(0x488),{'className':_0x3c1ec1(0x4f2),'children':[(0x0,r[_0x3c1ec1(0x576)])(_0x3c1ec1(0x488),{'className':(0x0,e[_0x3c1ec1(0x3fc)])(_0x3c1ec1(0x367),_0x5bbef1===0x0?'univer-text-primary-600':'univer-text-gray-500'),'onClick':()=>_0x267e02(0x0),'children':[_0x130273['t'](_0x3c1ec1(0x681)),(0x0,r[_0x3c1ec1(0x1a5)])('div',{'className':(0x0,e['clsx'])(_0x3c1ec1(0x48f),{'univer-bg-primary-600':_0x5bbef1===0x0,'univer-bg-transparent':_0x5bbef1!==0x0})})]}),(0x0,r[_0x3c1ec1(0x576)])(_0x3c1ec1(0x488),{'className':(0x0,e[_0x3c1ec1(0x3fc)])(_0x3c1ec1(0x367),{'univer-text-primary-600':_0x5bbef1===0x1,'univer-text-gray-500':_0x5bbef1!==0x1}),'onClick':()=>_0x267e02(0x1),'children':[_0x130273['t'](_0x3c1ec1(0x354)),(0x0,r[_0x3c1ec1(0x1a5)])('div',{'className':(0x0,e[_0x3c1ec1(0x3fc)])(_0x3c1ec1(0x2ca),{'univer-bg-primary-600':_0x5bbef1===0x1,'univer-bg-transparent':_0x5bbef1!==0x1})})]})]}),(0x0,r[_0x3c1ec1(0x1a5)])(_0x3c1ec1(0x488),{'className':_0x3c1ec1(0x4ee),'children':_0x5bbef1===0x0?(0x0,r['jsx'])(e[_0x3c1ec1(0x57b)],{'items':_0x390a5e}):_0x4c82cb})]});}function V(_0x23e1f8,_0x2585a7){const _0xf2340b=_0x2a77fc;typeof(_0x23e1f8==null?void 0x0:_0x23e1f8['fs'])==_0xf2340b(0x2a3)&&Number[_0xf2340b(0x4a0)](_0x23e1f8['fs'])&&(_0x23e1f8['fs']*=_0x2585a7);}function ie(_0xc21de9,_0x2be3d9){const _0x365b73=_0x2a77fc;if(!_0x2be3d9)return;let _0x292dc2=_0x2be3d9['autoFitType']===s[_0x365b73(0x4a1)][_0x365b73(0x57c)]&&typeof _0x2be3d9['fontScale']==_0x365b73(0x2a3)&&Number[_0x365b73(0x4a0)](_0x2be3d9[_0x365b73(0x5be)])&&_0x2be3d9[_0x365b73(0x5be)]>0x0?_0x2be3d9['fontScale']/0x186a0:0x1;if(_0x292dc2!==0x1){var _0x4c7d71,_0x59049c,_0x267b49,_0x35c2cb;_0xc21de9[_0x365b73(0x199)]&&(_0xc21de9[_0x365b73(0x199)]={..._0xc21de9[_0x365b73(0x199)],'textStyle':J(_0xc21de9['documentStyle']['textStyle'])}),(_0x4c7d71=_0xc21de9[_0x365b73(0x3f4)])!=null&&_0x4c7d71['textRuns']&&(_0xc21de9[_0x365b73(0x3f4)]['textRuns']=_0xc21de9['body'][_0x365b73(0x467)][_0x365b73(0x58d)](_0x2d337c=>({..._0x2d337c,'ts':J(_0x2d337c['ts'])}))),V((_0x59049c=_0xc21de9[_0x365b73(0x199)])==null?void 0x0:_0x59049c[_0x365b73(0x460)],_0x292dc2),(_0x267b49=_0xc21de9[_0x365b73(0x3f4)])==null||(_0x267b49=_0x267b49[_0x365b73(0x467)])==null||_0x267b49[_0x365b73(0x487)](_0x5e737e=>V(_0x5e737e['ts'],_0x292dc2)),(_0x35c2cb=_0xc21de9['body'])==null||(_0x35c2cb=_0x35c2cb[_0x365b73(0x212)])==null||_0x35c2cb[_0x365b73(0x487)](_0xd66029=>{const _0x21ad5d=_0x365b73;var _0x159043;V((_0x159043=_0xd66029[_0x21ad5d(0x378)])==null?void 0x0:_0x159043[_0x21ad5d(0x460)],_0x292dc2);});}let _0x56e370=_0x2be3d9[_0x365b73(0x3ad)]===s[_0x365b73(0x4a1)]['NormAutoFit']&&typeof _0x2be3d9[_0x365b73(0x18f)]==_0x365b73(0x2a3)&&Number[_0x365b73(0x4a0)](_0x2be3d9[_0x365b73(0x18f)])&&_0x2be3d9['lineSpaceReduction']<0x186a0?Math[_0x365b73(0x693)](0x0,_0x2be3d9['lineSpaceReduction'])/0x186a0:0x0;if(_0x56e370>0x0){var _0x5f2343;(_0x5f2343=_0xc21de9[_0x365b73(0x3f4)])==null||(_0x5f2343=_0x5f2343[_0x365b73(0x212)])==null||_0x5f2343[_0x365b73(0x487)](_0x4983d7=>{const _0xf0d615=_0x365b73;var _0x3d0336;_0x4983d7[_0xf0d615(0x378)]!=null||(_0x4983d7[_0xf0d615(0x378)]={}),_0x4983d7['paragraphStyle']['lineSpacing']=((_0x3d0336=_0x4983d7[_0xf0d615(0x378)][_0xf0d615(0x3bd)])==null?0x1:_0x3d0336)*(0x1-_0x56e370);});}}function ae(_0x474c7f,_0x5f281b){const _0x559e7e=_0x2a77fc;if((_0x5f281b==null?void 0x0:_0x5f281b[_0x559e7e(0x3ad)])!==s['ShapeTextAutoFitType'][_0x559e7e(0x57c)])return;let _0x536633=typeof _0x5f281b['fontScale']==_0x559e7e(0x2a3)&&Number['isFinite'](_0x5f281b[_0x559e7e(0x5be)])&&_0x5f281b[_0x559e7e(0x5be)]>0x0?_0x5f281b['fontScale']/0x186a0:0x1;if(_0x536633!==0x1){var _0x301d43,_0x9bfb88,_0x2bd06a;V((_0x301d43=_0x474c7f[_0x559e7e(0x199)])==null?void 0x0:_0x301d43[_0x559e7e(0x460)],0x1/_0x536633),(_0x9bfb88=_0x474c7f['body'])==null||(_0x9bfb88=_0x9bfb88[_0x559e7e(0x467)])==null||_0x9bfb88[_0x559e7e(0x487)](_0x547e0c=>V(_0x547e0c['ts'],0x1/_0x536633)),(_0x2bd06a=_0x474c7f['body'])==null||(_0x2bd06a=_0x2bd06a[_0x559e7e(0x212)])==null||_0x2bd06a['forEach'](_0x35abfa=>{const _0x22fa03=_0x559e7e;var _0x56b0f3;V((_0x56b0f3=_0x35abfa['paragraphStyle'])==null?void 0x0:_0x56b0f3[_0x22fa03(0x460)],0x1/_0x536633);});}let _0xc916fd=0x1-(typeof _0x5f281b[_0x559e7e(0x18f)]==_0x559e7e(0x2a3)&&Number[_0x559e7e(0x4a0)](_0x5f281b[_0x559e7e(0x18f)])&&_0x5f281b[_0x559e7e(0x18f)]<0x186a0?Math['max'](0x0,_0x5f281b[_0x559e7e(0x18f)])/0x186a0:0x0);if(_0xc916fd>0x0&&_0xc916fd!==0x1){var _0x36606d;(_0x36606d=_0x474c7f[_0x559e7e(0x3f4)])==null||(_0x36606d=_0x36606d[_0x559e7e(0x212)])==null||_0x36606d[_0x559e7e(0x487)](_0x4476ab=>{const _0x306871=_0x559e7e;var _0x593e4a;let _0x4f6c6d=(_0x593e4a=_0x4476ab[_0x306871(0x378)])==null?void 0x0:_0x593e4a[_0x306871(0x3bd)];typeof _0x4f6c6d=='number'&&Number[_0x306871(0x4a0)](_0x4f6c6d)&&(_0x4476ab['paragraphStyle'][_0x306871(0x3bd)]=_0x4f6c6d/_0xc916fd);});}}function oe(_0x25b684,_0x1cdbb0=_0x2a77fc(0x5f0)){const _0x205099=_0x2a77fc;var _0x35ec5f;let _0x602870=((_0x35ec5f=_0x25b684['text'])==null?'':_0x35ec5f)[_0x205099(0x282)](/\r\n/g,'\x0a')['replace'](/\r/g,'\x0a')[_0x205099(0x1fc)]('\x0a'),_0x1084b1=_0x602870[_0x205099(0x683)]('\x0d')+'\x0d\x0a',_0x593b77=Math[_0x205099(0x693)](0x0,_0x1084b1[_0x205099(0x5a7)]-0x2),_0x129952=new Set(),_0x1a4f8d=se(_0x25b684),_0x23eb15=ce(_0x25b684),_0x371e9a=H(_0x25b684),_0x23095a=0x0;return{'id':_0x1cdbb0,'body':{'dataStream':_0x1084b1,'paragraphs':_0x602870[_0x205099(0x58d)](_0x41f798=>{const _0x2af527=_0x205099;let _0x85ed76=_0x23095a+_0x41f798[_0x2af527(0x5a7)];return _0x23095a+=_0x41f798[_0x2af527(0x5a7)]+0x1,{'startIndex':_0x85ed76,'paragraphId':(0x0,i[_0x2af527(0x433)])(_0x129952),'paragraphStyle':{'horizontalAlign':_0x23eb15,'textStyle':_0x1a4f8d}};}),'textRuns':[{'st':0x0,'ed':Math['max'](0x1,_0x593b77),'ts':_0x1a4f8d}]},'documentStyle':{'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'marginTop':0x0,'textStyle':_0x1a4f8d,'renderConfig':{'horizontalAlign':_0x23eb15,'verticalAlign':_0x371e9a}}};}function se(_0x3b290a){const _0x249bf8=_0x2a77fc;return{..._0x3b290a[_0x249bf8(0x283)]?{'ff':_0x3b290a[_0x249bf8(0x283)]}:{},..._0x3b290a[_0x249bf8(0x2e1)]===void 0x0?{}:{'fs':_0x3b290a[_0x249bf8(0x2e1)]},..._0x3b290a[_0x249bf8(0x15f)]?{'cl':{'rgb':_0x3b290a['color']}}:{},..._0x3b290a[_0x249bf8(0x202)]===void 0x0?{}:{'bl':_0x3b290a['bold']?i['BooleanNumber'][_0x249bf8(0x577)]:i[_0x249bf8(0x24c)][_0x249bf8(0x5d7)]},..._0x3b290a['italic']===void 0x0?{}:{'it':_0x3b290a['italic']?i[_0x249bf8(0x24c)][_0x249bf8(0x577)]:i[_0x249bf8(0x24c)][_0x249bf8(0x5d7)]},..._0x3b290a[_0x249bf8(0x3a7)]===void 0x0?{}:{'ul':{'s':_0x3b290a[_0x249bf8(0x3a7)]?i[_0x249bf8(0x24c)][_0x249bf8(0x577)]:i[_0x249bf8(0x24c)]['FALSE']}}};}function ce(_0x506a79){const _0x2ab747=_0x2a77fc;let _0x8878b4=_0x506a79[_0x2ab747(0x384)];return _0x8878b4===_0x2ab747(0x394)?i[_0x2ab747(0x546)]['CENTER']:_0x8878b4===_0x2ab747(0x480)?i[_0x2ab747(0x546)][_0x2ab747(0x5c8)]:i[_0x2ab747(0x546)]['LEFT'];}function H(_0x192961){const _0x3643e5=_0x2a77fc;let _0x40e842=_0x192961['verticalAlign'];return _0x40e842==='middle'?i[_0x3643e5(0x225)]['MIDDLE']:_0x40e842===_0x3643e5(0x1a8)?i[_0x3643e5(0x225)]['BOTTOM']:i[_0x3643e5(0x225)]['TOP'];}function U(_0x3499b3){const _0x3f88ff=_0x2a77fc;var _0x555840;let _0x56a181=(_0x555840=_0x3499b3[_0x3f88ff(0x3f4)])==null?void 0x0:_0x555840[_0x3f88ff(0x212)],_0x4b9149,_0x3238cf=!0x1;if(!_0x56a181)return{'hasParagraphAlign':_0x3238cf,'isMixed':!0x1};for(let _0x33a654 of _0x56a181){var _0x198fed;let _0x121386=(_0x198fed=_0x33a654[_0x3f88ff(0x378)])==null?void 0x0:_0x198fed[_0x3f88ff(0x384)];if(_0x121386!==void 0x0){if(!_0x3238cf){_0x4b9149=_0x121386,_0x3238cf=!0x0;continue;}if(_0x4b9149!==_0x121386)return{'hasParagraphAlign':!0x0,'isMixed':!0x0};}}return{'horizontalAlign':_0x4b9149,'hasParagraphAlign':_0x3238cf,'isMixed':!0x1};}function W(_0x42a91f,_0x490cbc={}){const _0x52d76d=_0x2a77fc;var _0x24194f,_0x134556,_0x47328d;let _0x50af04=(_0x24194f=_0x42a91f[_0x52d76d(0x199)])==null?void 0x0:_0x24194f['renderConfig'],_0x59839e=U(_0x42a91f);return{'horizontalAlign':_0x59839e[_0x52d76d(0x124)]?_0x59839e[_0x52d76d(0x359)]?void 0x0:_0x59839e['horizontalAlign']:(_0x134556=_0x50af04==null?void 0x0:_0x50af04[_0x52d76d(0x384)])==null?_0x490cbc[_0x52d76d(0x384)]:_0x134556,'verticalAlign':(_0x47328d=_0x50af04==null?void 0x0:_0x50af04[_0x52d76d(0x642)])==null?_0x490cbc[_0x52d76d(0x642)]:_0x47328d};}function le(_0x11e255,_0x2c67d4){const _0x9a003e=_0x2a77fc;var _0x19dce3;let _0x3e53fd=(_0x19dce3=_0x11e255[_0x9a003e(0x199)])==null?{}:_0x19dce3,_0x28a866={..._0x3e53fd[_0x9a003e(0x4a6)]};if(_0x2c67d4[_0x9a003e(0x642)]!==void 0x0&&(_0x28a866[_0x9a003e(0x642)]=_0x2c67d4[_0x9a003e(0x642)]),_0x2c67d4[_0x9a003e(0x384)]!==void 0x0){var _0x2d8e08;_0x28a866[_0x9a003e(0x384)]=_0x2c67d4['horizontalAlign'];let _0x4dcfea=(_0x2d8e08=_0x11e255[_0x9a003e(0x3f4)])==null?void 0x0:_0x2d8e08[_0x9a003e(0x212)];if(_0x4dcfea){for(let _0x568ecb of _0x4dcfea)_0x568ecb['paragraphStyle']={..._0x568ecb[_0x9a003e(0x378)],'horizontalAlign':_0x2c67d4['horizontalAlign']};}}_0x11e255[_0x9a003e(0x199)]={..._0x3e53fd,'renderConfig':Object['keys'](_0x28a866)[_0x9a003e(0x5a7)]>0x0?_0x28a866:void 0x0};}function ue(_0x232bab){const _0x686a04=_0x2a77fc;var _0x2b4ba5,_0x3ef10c,_0x1785c6,_0x46668f;let _0x1bdde5=(_0x2b4ba5=(_0x3ef10c=_0x232bab[_0x686a04(0x3f4)])==null||(_0x3ef10c=_0x3ef10c[_0x686a04(0x2c3)])==null?void 0x0:_0x3ef10c['length'])==null?0x0:_0x2b4ba5,_0xb924c9=(_0x1785c6=_0x232bab[_0x686a04(0x3f4)])==null?void 0x0:_0x1785c6['sectionBreaks'];if(_0xb924c9!=null&&_0xb924c9[_0x686a04(0x5a7)])for(let _0x5ae8e8 of _0xb924c9){var _0x1d668c;_0x5ae8e8[_0x686a04(0x4b5)]=(_0x1d668c=_0x5ae8e8[_0x686a04(0x4b5)])==null?i[_0x686a04(0x636)][_0x686a04(0x417)]:_0x1d668c;}else _0x232bab[_0x686a04(0x3f4)]&&(_0x232bab[_0x686a04(0x3f4)][_0x686a04(0x382)]=[{'sectionId':(0x0,i[_0x686a04(0x26b)])(new Set()),'startIndex':Math['max'](0x0,_0x1bdde5-0x1),'gridType':i['GridType'][_0x686a04(0x417)]}]);let _0x1fe842=(_0x46668f=_0x232bab[_0x686a04(0x3f4)])==null?void 0x0:_0x46668f['paragraphs'];if(_0x1fe842)for(let _0x535299 of _0x1fe842){var _0x1f8e41,_0x4f1f78,_0x542cf2,_0x1328c4,_0x4b2e07,_0x2cc781,_0x421544,_0x25ed28;_0x535299['paragraphStyle']={..._0x535299[_0x686a04(0x378)],'lineSpacing':(_0x1f8e41=(_0x4f1f78=_0x535299[_0x686a04(0x378)])==null?void 0x0:_0x4f1f78[_0x686a04(0x3bd)])==null?0x1:_0x1f8e41,'snapToGrid':(_0x542cf2=(_0x1328c4=_0x535299[_0x686a04(0x378)])==null?void 0x0:_0x1328c4['snapToGrid'])==null?i['BooleanNumber'][_0x686a04(0x5d7)]:_0x542cf2,'spaceAbove':(_0x4b2e07=(_0x2cc781=_0x535299[_0x686a04(0x378)])==null?void 0x0:_0x2cc781['spaceAbove'])==null?{'v':0x0}:_0x4b2e07,'spaceBelow':(_0x421544=(_0x25ed28=_0x535299[_0x686a04(0x378)])==null?void 0x0:_0x25ed28[_0x686a04(0x2ab)])==null?{'v':0x0}:_0x421544};}}function G(_0x9265e2,_0x4d589b,_0x3c018e=new Set()){const _0x1ec819=_0x2a77fc;var _0x68d5c;let _0x342398=(_0x68d5c=_0x9265e2[_0x1ec819(0x3f4)])==null?void 0x0:_0x68d5c['sectionBreaks'];if(!(!(_0x342398!=null&&_0x342398[_0x1ec819(0x5a7)])||!_0x4d589b))for(let _0x106208 of _0x342398){let _0x5bd01c={..._0x4d589b,..._0x106208[_0x1ec819(0x4a6)]},_0x56bf3a=_0x4d589b;for(let _0x2ced4c of _0x3c018e)Object[_0x1ec819(0x455)]['hasOwnProperty'][_0x1ec819(0x149)](_0x56bf3a,_0x2ced4c)&&(_0x5bd01c[_0x2ced4c]=_0x56bf3a[_0x2ced4c]);_0x106208[_0x1ec819(0x4a6)]={..._0x5bd01c};}}function de(_0x2b283e){const _0x5a8a9e=_0x2a77fc;var _0x5b53e8;let _0x21d12d=(_0x5b53e8=_0x2b283e[_0x5a8a9e(0x3f4)])==null?void 0x0:_0x5b53e8[_0x5a8a9e(0x382)];if(_0x21d12d!=null&&_0x21d12d['length'])for(let _0x92601f of _0x21d12d){if(!_0x92601f['renderConfig'])continue;let _0x429c24={..._0x92601f[_0x5a8a9e(0x4a6)]};delete _0x429c24[_0x5a8a9e(0xff)],delete _0x429c24[_0x5a8a9e(0x646)],delete _0x429c24[_0x5a8a9e(0x1f0)],delete _0x429c24[_0x5a8a9e(0x384)],delete _0x429c24[_0x5a8a9e(0x642)],delete _0x429c24['shapeTextOpticalVerticalAlign'],_0x92601f[_0x5a8a9e(0x4a6)]=Object[_0x5a8a9e(0x3d0)](_0x429c24)['length']>0x0?_0x429c24:void 0x0;}}function fe(_0x310476){const _0x28cf20=_0x2a77fc;var _0x32e864;let _0x4b35d1=_0x310476[_0x28cf20(0x3f4)],_0x583aed=_0x4b35d1==null?void 0x0:_0x4b35d1[_0x28cf20(0x212)],_0x4dcd89=_0x4b35d1==null?void 0x0:_0x4b35d1[_0x28cf20(0x2c3)];if(!_0x4b35d1||!_0x4dcd89)return;let _0x539982=[];for(let _0x539458=0x0;_0x539458<_0x4dcd89[_0x28cf20(0x5a7)];_0x539458++)_0x4dcd89[_0x539458]==='\x0d'&&_0x539982[_0x28cf20(0x311)](_0x539458);if(!_0x539982[_0x28cf20(0x5a7)])return;let _0x15845b=new Set((_0x32e864=_0x583aed==null?void 0x0:_0x583aed[_0x28cf20(0x58d)](_0x42ae68=>_0x42ae68[_0x28cf20(0x2c0)])[_0x28cf20(0x1de)](Boolean))==null?[]:_0x32e864),_0x2e4fa5=new Set(),_0x4e231a=_0x539982[_0x28cf20(0x58d)](_0x565fdb=>{const _0x385c28=_0x28cf20;var _0x166840;let _0xa625bc=(_0x166840=_0x583aed==null?void 0x0:_0x583aed[_0x385c28(0x582)]((_0x5e291b,_0x1765d0)=>!_0x2e4fa5[_0x385c28(0x466)](_0x1765d0)&&_0x5e291b[_0x385c28(0x11e)]===_0x565fdb))==null?-0x1:_0x166840;if(!(_0xa625bc<0x0))return _0x2e4fa5[_0x385c28(0x4dd)](_0xa625bc),_0x583aed==null?void 0x0:_0x583aed[_0xa625bc];}),_0x6d51f7=0x0;_0x4b35d1[_0x28cf20(0x212)]=_0x4e231a['map']((_0x476c2a,_0x52cddb)=>{const _0x24b1e9=_0x28cf20;var _0x41934a,_0x49d2d6;let _0x3d534c=_0x476c2a;for(;!_0x3d534c&&_0x6d51f7<((_0x41934a=_0x583aed==null?void 0x0:_0x583aed[_0x24b1e9(0x5a7)])==null?0x0:_0x41934a);){let _0x3873a1=_0x6d51f7++;_0x2e4fa5[_0x24b1e9(0x466)](_0x3873a1)||(_0x2e4fa5[_0x24b1e9(0x4dd)](_0x3873a1),_0x3d534c=_0x583aed==null?void 0x0:_0x583aed[_0x3873a1]);}return{..._0x3d534c,'startIndex':_0x539982[_0x52cddb],'paragraphId':(_0x49d2d6=_0x3d534c==null?void 0x0:_0x3d534c[_0x24b1e9(0x2c0)])==null?(0x0,i['createParagraphId'])(_0x15845b):_0x49d2d6};});}function K(_0x5c4011,_0x2adab1){const _0x23ca02=_0x2a77fc;var _0x2e38a9,_0x49390a,_0x42a201,_0x87b48a,_0x233e59,_0x4aaa3d,_0x3197c6,_0x1620a4,_0x26dfef;let {isHorizontal:_0x39340b,textRect:_0x2c9c3c}=_0x2adab1,_0x58c1c6=_0x39340b?_0x2c9c3c['width']:_0x2c9c3c['height'],_0x5c8444=q(_0x5c4011,_0x39340b?_0x2c9c3c[_0x23ca02(0x27c)]:_0x2c9c3c['width']),_0x5a3cda=me(_0x5c4011);ie(_0x5a3cda,_0x2adab1[_0x23ca02(0x411)]);let _0x375def=(_0x2e38a9=_0x5a3cda[_0x23ca02(0x199)])==null?{}:_0x2e38a9,_0x1d9640={..._0x375def[_0x23ca02(0x4a6)],'wrapStrategy':(_0x49390a=(_0x42a201=_0x2adab1[_0x23ca02(0x1f0)])==null?(_0x87b48a=_0x375def['renderConfig'])==null?void 0x0:_0x87b48a[_0x23ca02(0x1f0)]:_0x42a201)==null?i[_0x23ca02(0x677)][_0x23ca02(0x5f5)]:_0x49390a,'zeroWidthParagraphBreak':(_0x233e59=(_0x4aaa3d=_0x375def[_0x23ca02(0x4a6)])==null?void 0x0:_0x4aaa3d[_0x23ca02(0x21e)])==null?i[_0x23ca02(0x24c)][_0x23ca02(0x577)]:_0x233e59,'shapeTextOpticalVerticalAlign':_0x39340b?i['BooleanNumber'][_0x23ca02(0x5d7)]:i[_0x23ca02(0x24c)]['TRUE']};_0x39340b?(delete _0x1d9640[_0x23ca02(0xff)],delete _0x1d9640['vertexAngle']):(_0x1d9640[_0x23ca02(0xff)]=c[_0x23ca02(0x253)],_0x1d9640[_0x23ca02(0x646)]=c[_0x23ca02(0x253)]),_0x5a3cda[_0x23ca02(0x199)]={..._0x375def,'documentFlavor':i[_0x23ca02(0x52f)][_0x23ca02(0x305)],'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x58c1c6,'height':_0x5c8444},'renderConfig':_0x1d9640},fe(_0x5a3cda),ue(_0x5a3cda);let _0x540d6a=W(_0x5a3cda,_0x2adab1);return le(_0x5a3cda,{'horizontalAlign':_0x540d6a['horizontalAlign'],'verticalAlign':(_0x3197c6=_0x2adab1[_0x23ca02(0x642)])==null?_0x540d6a[_0x23ca02(0x642)]:_0x3197c6}),(_0x1620a4=_0x5a3cda[_0x23ca02(0x199)])==null||(_0x1620a4=_0x1620a4[_0x23ca02(0x4a6)])==null||delete _0x1620a4[_0x23ca02(0x384)],G(_0x5a3cda,(_0x26dfef=_0x5a3cda[_0x23ca02(0x199)])==null?void 0x0:_0x26dfef[_0x23ca02(0x4a6)],new Set([_0x23ca02(0x390),'verticalAlign',_0x23ca02(0x1f0)])),_0x5a3cda;}function q(_0xed8408,_0x2a3d42){const _0xcb3208=_0x2a77fc;var _0xde8c5a,_0x186856;return(_0xde8c5a=(_0x186856=_0xed8408[_0xcb3208(0x3f4)])==null||(_0x186856=_0x186856['sectionBreaks'])==null?void 0x0:_0x186856[_0xcb3208(0x15e)](_0x74432b=>{const _0x595242=_0xcb3208;var _0x903d78,_0x4f02ab;return((_0x903d78=(_0x4f02ab=_0x74432b[_0x595242(0x672)])==null?void 0x0:_0x4f02ab[_0x595242(0x5a7)])==null?0x0:_0x903d78)>0x1;}))!=null&&_0xde8c5a?Math[_0xcb3208(0x693)](0x1,_0x2a3d42):0x1/0x0;}function pe(_0x482ea4,_0x552676={}){const _0x5d737a=_0x2a77fc;var _0x522161,_0x5e887d,_0x20826e;let _0x10dc87=me(_0x482ea4);ae(_0x10dc87,_0x552676['bodyBehavior']);let _0x14ecd0=(_0x522161=_0x10dc87[_0x5d737a(0x199)])==null?{}:_0x522161,_0x4de5b2={..._0x14ecd0[_0x5d737a(0x4a6)]},_0x14a5ec=W(_0x10dc87,_0x552676),_0x58a0c0=(_0x5e887d=_0x552676[_0x5d737a(0x384)])==null?_0x14a5ec[_0x5d737a(0x384)]:_0x5e887d,_0x393889=(_0x20826e=_0x552676[_0x5d737a(0x642)])==null?_0x14a5ec['verticalAlign']:_0x20826e;delete _0x4de5b2[_0x5d737a(0xff)],delete _0x4de5b2[_0x5d737a(0x646)],delete _0x4de5b2[_0x5d737a(0x1f0)];let _0x58bef7=_0x4de5b2[_0x5d737a(0x390)];return(_0x58bef7===i[_0x5d737a(0x24c)][_0x5d737a(0x577)]||_0x58bef7===!0x0||_0x58bef7===i[_0x5d737a(0x24c)]['FALSE']||_0x58bef7===!0x1)&&delete _0x4de5b2[_0x5d737a(0x390)],_0x10dc87[_0x5d737a(0x199)]={..._0x14ecd0,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':0x1/0x0,'height':0x1/0x0},'renderConfig':Object[_0x5d737a(0x3d0)](_0x4de5b2)['length']>0x0?_0x4de5b2:void 0x0},le(_0x10dc87,{'horizontalAlign':_0x58a0c0,'verticalAlign':_0x393889}),de(_0x10dc87),_0x10dc87;}function me(_0x650a66){const _0x5acd74=_0x2a77fc;var _0x1f7bd2,_0x535250;return{..._0x650a66,'body':_0x650a66[_0x5acd74(0x3f4)]?{..._0x650a66[_0x5acd74(0x3f4)],'paragraphs':(_0x1f7bd2=_0x650a66[_0x5acd74(0x3f4)]['paragraphs'])==null?void 0x0:_0x1f7bd2[_0x5acd74(0x58d)](_0x25702d=>({..._0x25702d,'paragraphStyle':J(_0x25702d['paragraphStyle'])})),'sectionBreaks':(_0x535250=_0x650a66[_0x5acd74(0x3f4)][_0x5acd74(0x382)])==null?void 0x0:_0x535250[_0x5acd74(0x58d)](_0x310c5f=>({..._0x310c5f,'renderConfig':J(_0x310c5f[_0x5acd74(0x4a6)])}))}:_0x650a66['body'],'documentStyle':_0x650a66[_0x5acd74(0x199)]?{..._0x650a66[_0x5acd74(0x199)],'renderConfig':J(_0x650a66['documentStyle'][_0x5acd74(0x4a6)])}:_0x650a66['documentStyle']};}function J(_0xd93485){const _0x828132=_0x2a77fc;return Array[_0x828132(0x205)](_0xd93485)?_0xd93485['map'](_0x4fb3f3=>J(_0x4fb3f3)):!_0xd93485||typeof _0xd93485!=_0x828132(0x49f)?_0xd93485:Object[_0x828132(0x2b3)](Object[_0x828132(0x507)](_0xd93485)['map'](([_0x42902a,_0x39eefd])=>[_0x42902a,J(_0x39eefd)]));}function Y(_0x39e150){let {isRichText:_0x482b6a,..._0x3de32e}=_0x39e150==null?{}:_0x39e150;return _0x3de32e;}function he(_0x1e3160){const _0x1f2802=_0x2a77fc;return _0x1e3160[_0x1f2802(0x282)](/\r\n/g,'\x0a')[_0x1f2802(0x282)](/\r/g,'\x0a');}function X(_0x5a7049){const _0xebbf94=_0x2a77fc;if(_0x5a7049&&'text'in _0x5a7049&&typeof _0x5a7049[_0xebbf94(0x475)]==_0xebbf94(0x5c1))return _0x5a7049[_0xebbf94(0x475)];}function Z(_0x564029){const _0x5bff96=_0x2a77fc;if(!_0x564029||!(_0x5bff96(0x1e9)in _0x564029)||_0x564029[_0x5bff96(0x1e9)]!==!0x1)return;let _0x250b0a=_0x564029;return{..._0x564029[_0x5bff96(0x283)]?{'ff':_0x564029['fontFamily']}:{},..._0x564029['fontSize']===void 0x0?{}:{'fs':_0x564029[_0x5bff96(0x2e1)]},..._0x564029[_0x5bff96(0x15f)]?{'cl':{'rgb':_0x564029[_0x5bff96(0x15f)]}}:{},..._0x564029[_0x5bff96(0x202)]===void 0x0?{}:{'bl':_0x564029['bold']?i[_0x5bff96(0x24c)][_0x5bff96(0x577)]:i[_0x5bff96(0x24c)]['FALSE']},..._0x564029[_0x5bff96(0x38f)]===void 0x0?{}:{'it':_0x564029[_0x5bff96(0x38f)]?i['BooleanNumber'][_0x5bff96(0x577)]:i['BooleanNumber'][_0x5bff96(0x5d7)]},..._0x564029[_0x5bff96(0x3a7)]===void 0x0?{}:{'ul':{'s':_0x564029[_0x5bff96(0x3a7)]?i[_0x5bff96(0x24c)]['TRUE']:i[_0x5bff96(0x24c)][_0x5bff96(0x5d7)]}},..._0x250b0a['strikethrough']===void 0x0?{}:{'st':{'s':_0x250b0a['strikethrough']?i[_0x5bff96(0x24c)][_0x5bff96(0x577)]:i[_0x5bff96(0x24c)][_0x5bff96(0x5d7)]}},..._0x250b0a[_0x5bff96(0x152)]===void 0x0?{}:{'textFill':_0x250b0a[_0x5bff96(0x152)]}};}function ge(_0xa84d96,_0x260b29=i[_0x2a77fc(0x546)][_0x2a77fc(0x381)],_0x1e3f06=''){const _0x59fa6b=_0x2a77fc;let _0x519b8a=he(_0x1e3f06)[_0x59fa6b(0x1fc)]('\x0a'),_0x38a618=_0x519b8a['join']('\x0d')+'\x0d\x0a',_0x232095=Math[_0x59fa6b(0x693)](0x0,_0x38a618[_0x59fa6b(0x5a7)]-0x2),_0x21a07d=new Set(),_0x153d34=0x0,_0x22ae2b=_0x519b8a[_0x59fa6b(0x58d)](_0x1e31b7=>{const _0x58f3db=_0x59fa6b;let _0x266386={'startIndex':_0x153d34+_0x1e31b7[_0x58f3db(0x5a7)],'paragraphId':(0x0,i['createParagraphId'])(_0x21a07d),'paragraphStyle':{'horizontalAlign':_0x260b29}};return _0x153d34+=_0x1e31b7[_0x58f3db(0x5a7)]+0x1,_0x266386;});return{'id':_0x59fa6b(0x44f),'body':{'dataStream':_0x38a618,'textRuns':_0xa84d96?[{'st':0x0,'ed':Math['max'](0x1,_0x232095),'ts':{..._0xa84d96}}]:[],'paragraphs':_0x22ae2b},'documentStyle':{'textStyle':_0xa84d96?{..._0xa84d96}:void 0x0}};}function _e(_0x3f004f,_0x4258bc){const _0x789bcc=_0x2a77fc;var _0x2fa481,_0x20d0e6,_0x5b8bd2;let _0x555b79=_0x3f004f[_0x789bcc(0x645)],_0x2a61cb=A(_0x555b79&&_0x789bcc(0x1f8)in _0x555b79?_0x555b79['dataModel']:void 0x0),_0x431674=(_0x2fa481=(_0x20d0e6=_0x4258bc[_0x789bcc(0x384)])==null?_0x2a61cb==null?void 0x0:_0x2a61cb['ha']:_0x20d0e6)==null?i[_0x789bcc(0x546)][_0x789bcc(0x381)]:_0x2fa481,_0x54cbb2={...Z(_0x555b79),..._0x4258bc['textStyle']},_0x11e5f7=Object[_0x789bcc(0x3d0)](_0x54cbb2)[_0x789bcc(0x5a7)]>0x0;if(_0x2a61cb!=null&&_0x2a61cb[_0x789bcc(0x437)]){var _0x20cff8,_0x30c7ff;return{'va':(_0x20cff8=_0x2a61cb['va'])==null?i['VerticalAlign'][_0x789bcc(0x51e)]:_0x20cff8,'ha':(_0x30c7ff=_0x2a61cb['ha'])==null?i[_0x789bcc(0x546)]['LEFT']:_0x30c7ff,'doc':me(_0x2a61cb[_0x789bcc(0x437)])};}return{'va':i[_0x789bcc(0x225)][_0x789bcc(0x51e)],'ha':_0x431674,'doc':ge(_0x11e5f7?_0x54cbb2:void 0x0,_0x431674,(_0x5b8bd2=X(_0x555b79))==null?'':_0x5b8bd2)};}function ve(_0x3bdfdf,_0x45b3a8){const _0x3362fd=_0x2a77fc;var _0x4e83d2,_0x485e59,_0x506d22;let _0x373ac0=_0x3bdfdf[_0x3362fd(0x645)],_0x289ab0=Y(_0x373ac0),_0xebf9a9=_0x373ac0&&_0x3362fd(0x1f8)in _0x373ac0&&_0x373ac0['dataModel']&&typeof _0x373ac0[_0x3362fd(0x1f8)]==_0x3362fd(0x49f)?_0x373ac0['dataModel']:{},_0x37305f=X(_0x373ac0),_0x2ea7ea=_e(_0x3bdfdf,_0x45b3a8),_0x14f5d1=(_0x4e83d2=_0x45b3a8[_0x3362fd(0x384)])==null?_0x2ea7ea['ha']:_0x4e83d2,_0x4b814b=(_0x485e59=_0x45b3a8['verticalAlign'])==null?_0x2ea7ea['va']:_0x485e59,_0x36f03b=_0x2ea7ea[_0x3362fd(0x437)];if(_0x45b3a8[_0x3362fd(0x460)]&&_0x36f03b){var _0x10b543,_0x4f7daa;_0x36f03b[_0x3362fd(0x199)]={..._0x36f03b[_0x3362fd(0x199)],'textStyle':{...(_0x10b543=_0x36f03b[_0x3362fd(0x199)])==null?void 0x0:_0x10b543[_0x3362fd(0x460)],..._0x45b3a8[_0x3362fd(0x460)]}};let _0x417231=(_0x4f7daa=_0x36f03b[_0x3362fd(0x3f4)])==null?void 0x0:_0x4f7daa[_0x3362fd(0x467)];if(_0x417231){for(let _0x47bbe2 of _0x417231)_0x47bbe2['ts']={..._0x47bbe2['ts'],..._0x45b3a8[_0x3362fd(0x460)]};}}return(0x0,s[_0x3362fd(0x4ac)])({'shapeText':{..._0x289ab0,'isHorizontal':(_0x506d22=_0x373ac0==null?void 0x0:_0x373ac0[_0x3362fd(0x594)])==null?!0x0:_0x506d22,..._0x37305f===void 0x0?{}:{'text':_0x37305f},'dataModel':{..._0xebf9a9,'va':_0x4b814b,'ha':_0x14f5d1,'doc':_0x36f03b}}},{..._0x45b3a8[_0x3362fd(0x384)]===void 0x0?null:{'horizontalAlign':_0x14f5d1},..._0x45b3a8[_0x3362fd(0x642)]===void 0x0?null:{'verticalAlign':_0x4b814b}});}const ye=_0x2a77fc(0x5c7),be='#2563EB',xe='#111827',Se=_0x2a77fc(0x3fb),Ce={'none':s[_0x2a77fc(0x3c0)][_0x2a77fc(0x30f)],'solid':s['ShapeFillEnum'][_0x2a77fc(0x18c)],'gradient':s[_0x2a77fc(0x3c0)]['GradientFill'],'picture':s['ShapeFillEnum'][_0x2a77fc(0x41d)]};function we(_0x2093f3){const _0x13e414=_0x2a77fc;return _0x2093f3 instanceof HTMLElement?!!_0x2093f3['closest'](_0x13e414(0x294)):!0x1;}function Q(_0x33ae5b){we(_0x33ae5b['target'])||_0x33ae5b['preventDefault']();}function $(_0xc574f7){const _0x3df638=_0x2a77fc;_0xc574f7[_0x3df638(0x20e)](),Q(_0xc574f7);}function Te(_0x58a1d0){const _0x2111d3=_0x2a77fc;let _0x5a1b67=(0x0,n[_0x2111d3(0x40b)])(!0x1),_0x3a0dab=(0x0,n[_0x2111d3(0x40b)])(null);return{'handleOpenChange':_0x217c2d=>{const _0xe9dc3d=_0x2111d3;!_0x217c2d&&_0x5a1b67[_0xe9dc3d(0x5d3)]||_0x58a1d0(_0x217c2d);},'markInternalInteraction':()=>{const _0x30a01e=_0x2111d3;_0x5a1b67[_0x30a01e(0x5d3)]=!0x0,_0x3a0dab[_0x30a01e(0x5d3)]&&clearTimeout(_0x3a0dab[_0x30a01e(0x5d3)]),_0x3a0dab['current']=setTimeout(()=>{const _0x33de31=_0x30a01e;_0x5a1b67[_0x33de31(0x5d3)]=!0x1,_0x3a0dab['current']=null;},0x1f4);}};}function Ee(_0x30f132){const _0x307451=_0x2a77fc;return(0x0,r[_0x307451(0x1a5)])(_0x307451(0x222),{'className':(0x0,e['clsx'])(_0x307451(0x1ac),_0x30f132[_0x307451(0x458)]),'children':_0x30f132[_0x307451(0x284)]});}function De(_0x529f35){const _0x4d6833=_0x2a77fc;return(0x0,r[_0x4d6833(0x1a5)])(_0x4d6833(0x488),{'className':'univer-flex\x20univer-h-7\x20univer-items-center\x20univer-gap-1\x20univer-px-1','children':_0x529f35['children']});}function _0x41b2(){const _0x581895=['fontScale','clearActiveDrawingObjects','plainShapeTextToDocumentData','string','shape-editor-ui.fill.title','_docSelectionManagerService','ShapeTypeEnum','ShapeStraightConnector2Icon','ShapeDownArrowIcon','#3B82F6','RIGHT','DeleteRightCommand','univer-mb-2','ShapeLineEditor','shape-editor-ui.line.dashType.longDashDotDot','Moon','shape.type.irregular-seal1','univer-w-auto','Injector','ShapeWedgeEllipseCalloutIcon','DiamondArrow','current','ShapeLeftRightRibbonIcon','ShapeStrokePanelContent','columns','FALSE','ShapeStar16Icon','Tools','ShapeQuadArrowIcon','shape.type.curved-connector3','baselineWidth','shape.type.wedge-round-rect-callout','nativeEvent','shape-floating-toolbar','tolerance','pageMarginTop','BlockArrow','ShapeFloatingToolbarMenuItem','MathPlus','command:','ShapeQuadArrowCalloutIcon','ShapeDiamondIcon','SetInlineFormatBoldCommand','ChartPlus','ShapeActionButtonForwardNextIcon','RightTriangle','ShapeRound2SameRectIcon','Vert','Ellipse','ShapeAccentBorderCallout2Icon','shape-text-document','butt','source','setSelectionRanges','domY','WRAP','HEADING_5','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','onChange','blockArrow','ShapeWedgeRoundRectCalloutIcon','getTransformer','onBack','shape-editor-ui.align.bottom','DocSkeletonManagerService','shape-editor-ui.textEditor.paragraphType.callout','toPrimitive','textDirection','resolveShapeTextDocumentAlignment','getRenderById','currentColor','shape.type.horizontal-scroll','shape-editor-ui.fill.picture.offsetY','ShapeChordIcon','getSnapshot','shape.type.dodecagon','Digit7','ShapeHeptagonIcon','shape.type.star32','shape.type.accent-border-callout3','buildShapeTextDataUpdate','divides','univer-min-w-40','shiftKey','docStateChangeParams$','shouldAllowShapeTextEditorHostSizeShrink','shape-editor-ui.line.capType.flat','ShapeSnip2DiagRectIcon','rowStartY','_registerIcons','ShapeTextEditorContainer','pictureFill','DeleteIcon','ShapeCanIcon','lineType','textSelectionInner$','baselineHeight','LeftRightCircularArrow','updateHostHeight','mainComponent','ShapeLeftArrowIcon','getActualSize','GradientFill','padding','getPositionOffset','BaselineOffset','trim','ShapeRectTextboxVerticalIcon','shape.type.chord','RichTextBuilder','univer-w-4\x20univer-rounded-l-none\x20univer-rounded-r-md\x20rtl:univer-rounded-l-md\x20rtl:univer-rounded-r-none','size','ShapeAccentCallout1Icon','IrregularSeal2','univer-grid\x20univer-gap-2','ShapeUpArrowCalloutIcon','FlowchartMagneticDisk','shape.type.accent-callout2','#4086f4','Funnel','GridType','EllipseRibbon','backwardLabel','ShapeWedgeRectCalloutIcon','H4Icon','Round2DiagRect','ShapeTextDirection','CornerTabs','maxAutoFitWidth','ActionButtonBackPrevious','KeyCode','8\x202\x201\x202\x201\x202','verticalAlign','ShapeNotchedRightArrowIcon','marginTop','shapeText','vertexAngle','onPointerDown','univer-relative\x20univer-size-full\x20univer-overflow-visible','deg)\x20scaleY(','univer-w-32','shape-editor-ui.line.dashType.longDash','LocaleService','univer-relative\x20univer-flex\x20univer-h-5\x20univer-w-10\x20univer-items-center\x20univer-justify-center','LeftJustifyingIcon','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','univer-w-14','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','ShapePentagonIcon','paddingTop','ShapeGear9Icon','getShapeData','CLIP','doc.operation.show-hyper-link-edit-popup','univer-hidden','univer-flex\x20univer-flex-col\x20univer-gap-2','ShapeDecagonIcon','shape-editor-ui.fill.picture.scaleX','DocParagraphTypeDropdown','onBeforeCommand','labelKey','shape.type.left-right-arrow','shape.type.math-multiply','Horz','button','RightArrow','shape.type.action-button-beginning','shape-editor-ui.line.sketchType.handDrawn','shape-editor-ui.line.dashType.dashDot','Large','options','version','shape.type.flow-chart-magnetic-drum','ShapeFlowChartOrIcon','Parallelogram','SetParagraphNamedStyleCommand','shape.type.accent-callout3','clientX','shape-text-editor','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','columnProperties','Star4','COMMA','componentKey','Angular','WrapStrategy','getTextRanges','shape.type.teardrop','shape.type.border-callout1','ShapeFloatingToolbarIcon','ShapeDownArrowCalloutIcon','ShapeRound2DiagRectIcon','IRenderManagerService','updateDocumentStyle','root','shape-editor-ui.shapeStyle','ShapePieWedgeIcon','join','GradientColorPicker','scrollContainer','ShapeStar5Icon','ShapeCurvedConnector3Arrow2Icon','univer-w-[260px]','forwardLabel','startNodePosition','shape.type.flow-chart-delay','ShapeFlowChartPunchedCardIcon','getTextStyle','opticalVerticalOffset','shape-editor-ui.fill.solidFill','shape-editor-ui.toolbar.alignCenter','ShapeFolderCornerIcon','Round2SameRect','max','BorderCallout3','fillImageSource','getViewport','pageMarginLeft','shape.type.flow-chart-extract','ShapeUturnArrowIcon','isShapeTextEditorDocumentEmpty','offsetY','Stretch','descent','LineInv','Decagon','editorHeight','useEffect','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','deepCompare','FlowchartManualOperation','_floatMenu','centerAngle','FlowchartDocument','univer-mb-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-100','slice','nextHeight','ShapeStar6Icon','createShapeTextPlaceholderDocumentData','AlignJustifyCommand','viewportHeight','BlockArc','TopmostIcon','executeCommand','shape-editor-ui.textBox.autoFitNone','isShapeTextOpticalVerticalAlignEnabled','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','sup','shape.type.cloud-callout','shape.type.bent-up-arrow','Octagon','getCurrentUnitOfType','univer-h-5\x20univer-w-12','paddingEnd','WedgeRectCallout','shape.type.chevron','ShapeCloudCalloutIcon','ShapeBackgroundColorDoubleIcon','DocSelectionRenderService','ShapeUpDownArrowIcon','measurePageWidth','ShapeStar7Icon','univer-grid-cols-[repeat(3,minmax(0,1fr))_76px]','startIndex','IContextService','_docSelectionRenderService','ShapeRightArrowCalloutIcon','removeEventListener','shape.type.flow-chart-sort','hasParagraphAlign','BracketPair','univer-text-xs\x20univer-text-gray-500\x20dark:!univer-text-gray-400','AlignTopIcon','excludeGroups','HEADING_2','ShapeArcIcon','UNIVER_DOC','imageFillMode','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pt-2','ShapeBracketPairIcon','deferHostSizeUpdateDuringEditing','lines','ShapeTeardropIcon','BreakLineCommand','ShapeIrregularSeal1Icon','end','shape-editor-ui.toolbar.typography','ShapeDoubleWaveIcon','shape-editor-ui.line.solidLine','4\x202\x201\x202','shape-editor-ui.fill.picture.alignment','FlowchartMerge','titleKey','strokeWidth','ShapeRoundRectIcon','ShapeDodecagonIcon','shape-text-editor-placeholder','BoldIcon','combobox','ShapeFlowChartMultidocumentIcon','ShapeRibbon2Icon','shape-editor-ui.fill.pictureFill','MathEqual','imageTile','ShapeEllipseIcon','setDocumentData','call','getDrawingTransform','shape.type.uturn-arrow','univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','shape-text-editor-position-wrapper','ShapePieIcon','Diamond','shape-editor-ui.line.capType.title','create','textFill','currentFontSize','hostRect','transparency','applyShapeTextBoxOptions','ShapeLeftBracketIcon','shape.type.flow-chart-process','stripShapeTextDocumentLayout','ShapeFloatingToolbar','DashDot','FlowchartDisplay','LeftRightUpArrow','some','color','univer-flex-1','fillOpacity','shape.type.flow-chart-magnetic-tape','1370ytZSTz','endNodePosition','shape.type.notched-right-arrow','ShapeEllipseRibbon2Icon','getItem','InputNumber','univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','DownArrow','ShapeBorderCallout3Icon','plain','Medium','CurvedLeftArrow','1209938sJOYvU','FlowchartPunchedTape','ShapeMathMinusIcon','ICommandService','shape-editor-ui.toolbar.resetColor','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-text-sm','shape-editor-ui.textEditor.paragraphType.heading5','shape-editor-ui.line.sketchType.curved','ShapeBorderCallout2Icon','PERIOD','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','ShapeUpDownArrowCalloutIcon','find','noFill','angle','ShapeDefaultConfig','ShapePlaqueIcon','Curved','ctr','_context','getAbsolutePosition','custom','sketchType','clientY','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','gradientFill','univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','ShapeCurvedConnector3Arrow1Icon','shape-editor-ui.line.dashType.title','SolidFill','useMemo','shape.type.wedge-rect-callout','lineSpaceReduction','clearSelectedObjects','ShapeMathEqualIcon','onBackward','shape.type.flow-chart-decision','offset','lineHeight','getShapeModel','get','ShapeHomePlateIcon','documentStyle','shape.type.accent-callout1','stretch','ShapeUpArrowIcon','univer-pointer-events-none\x20univer-absolute\x20univer-select-none\x20univer-whitespace-nowrap\x20univer-text-gray-400','shape-editor-ui.fill.noFill','shape.type.flow-chart-document','shape.type.accent-border-callout2','LeftArrowCallout','spacing','DELETE','ShapeFlowChartManualInputIcon','jsx','shape-editor-ui.line.arrowType.stealthArrow','ShapeActionButtonDocumentIcon','bottom','gradient','FlowchartPredefinedProcess','OVERFLOW','univer-flex\x20univer-size-5\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-leading-none','activeAnObject','CurvedRightArrow','shape.type.action-button-movie','dispose','addEventListener','files','shape.type.left-arrow-callout','twist','shape.type.quad-arrow-callout','transform','shape-editor-ui.textBox.columnCount','shape.type.round1-rect','subscribeEvent','LongDashDot','shape.type.rect','FillStyleTabsEditor','isBold','onSelectionStart$','ShapeVerticalScrollIcon','Corner','ShapeTextFloatMenuRenderControllerBase','shape.type.curved-connector3-arrow2','commandId','ShapeStrokeColorDoubleIcon','shape.type.chart-plus','disposeWithMe','rgb','commitOnEnter','shape-editor-ui.fill.picture.align.b','shape-editor-ui.align.middle','shapeTypeOptions','getDrawingShapeKeyByDrawingSearch','editingParams$','IEditorService','dot','shape-editor-ui.line.arrowSize.medium','ShapeLineJoinEnum','ShapeStraightConnector1Icon','shape-editor-ui.fill.picture.rotateWithShape','pointerdown','solidFill','shape.type.flow-chart-preparation','ShapeFlowChartSortIcon','ShapeActionButtonHomeIcon','MathNotEqual','none','shape-editor-ui.textBox.title','isActive','7AerGqN','filter','8\x202','Snip2SameRect','editorWidth','dark:!univer-text-gray-200','shape.type.flow-chart-or','title','shape.type.left-brace','dashType','BOTTOM','screenY','isRichText','ShapeFloatingToolbarContent','sub','backLabel','ShapeActionButtonBlankIcon','shape.type.left-right-circular-arrow','diamond','wrapStrategy','ShapeHorizontalScrollIcon','useCallback','name','StraightConnector1','shape.type.rect-textbox-vertical','univer-rounded-xl\x20univer-border\x20univer-border-gray-200\x20univer-bg-white\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','_docCanvasPopManagerService','dataModel','shape.type.irregular-seal2','icon','LeftRightRibbon','split','SetTextSelectionsOperation','ShapeOctagonIcon','monospace','ShapeEllipseRibbonIcon','style','bold','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','Hexagon','isArray','completeEditing','univer-w-28','univer-shrink-0\x20univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','shape.type.snip2-diag-rect','shape.type.right-bracket','univer-w-[320px]\x20univer-p-2','focus','univer-text-xs\x20univer-text-gray-600\x20univer-transition-transform\x20dark:!univer-text-gray-300','stopPropagation','CurvedUpArrow','shape.type.snip2-same-rect','shapeModel','paragraphs','visible','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','header','ShapeMathDivideIcon','NoLine','shape-editor-ui.toolbar.bold','ShapeDiagStripeIcon','FlowchartMagneticTape','ShapeFlowChartPredefinedProcessIcon','self','FlowchartMagneticDrum','zeroWidthParagraphBreak','ChartStar','DeleteLeftCommand','shape-editor-ui.toolbar.textBackgroundColor','span','shape-editor-ui.fill.picture.align.r','!univer-p-1','VerticalAlign','lineStrokeType','linear','then','[data-u-comp=\x22shape-stroke-dash-dropdown\x22]','LightningBolt','ShapeMathNotEqualIcon','shape.type.moon','shape-floating-toolbar-menu-panel','updateHostSize','direction','FlowchartOnlineStorage','shape-editor-ui.toolbar.alignLeft','univer-min-w-[240px]','buttonClassName','SHAPE_EDITOR_TRANSFORMER_CONFIG','pointercancel','univer-flex\x20univer-flex-col\x20univer-gap-1.5','pluginName','StripedRightArrow','createShapeTextBoxShapeData','univer-flex\x20univer-flex-col','ShapeEditPanel','ShapeBevelIcon','ShapeAccentCallout2Icon','useState','width','fill','rotate(','ShapeStar8Icon','editorUnitId','Snip1Rect','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','asc','FlowchartTerminator','HorizontalScroll','metaKey','alignment','pages','BooleanNumber','opticalVerticalAlign','resolveShapeTextBoxResizePolicy','onClick','ShapeBentArrowIcon','shape-editor-ui.line.title','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','VERTICAL_ROTATE_ANGLE','round','shape.type.flow-chart-punched-tape','min','FlowchartDelay','getImageSize','setZoomRatio','decorate','LongDash','Dash','shape.type.flow-chart-online-storage','solid','useObservable','ShapeActionButtonReturnIcon','27QwiIgQ','shape-editor-ui.textEditor.paragraphType.heading1','ShapeActionButtonInformationIcon','shape-editor-ui.textEditor.paragraphType.code','shape-editor-ui.fill.picture.align.l','scene','Star6','ShapeDonutIcon','bBox','ShapeStar4Icon','createSectionId','angular','IUniverInstanceService','card','shape.type.rect-textbox-horizontal','univer-gap-4','ShapeTextWrapType','Pentagon','makeDirty','ShapeStar10Icon','shape-editor-ui.textEditor.paragraphType.heading2','ShapeChartXIcon','shape.type.plaque-tabs','shape-editor-ui.textEditor.paragraphType.heading3','shape.type.straight-connector1','shape.type.curved-up-arrow','shape.type.home-plate','height','RichTextEditingMutation','fillType','2144qiBTrO','crossAxisLength','colStartX','replace','fontFamily','children','UpDownArrowCallout','ShapeBentConnector3Arrow1Icon','shape-editor-ui.line.endArrowSize','ShapeSmileyFaceIcon','isUnderline','shape.type.trapezoid','LeftBrace','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','ShapeFlowChartManualOperationIcon','univer-absolute\x20univer-z-[100]\x20univer-overflow-visible','getBody','Radial','preventDefault','SHIFT','ShapeFlowChartProcessIcon','input,\x20textarea,\x20[contenteditable=\x22true\x22],\x20[role=\x22combobox\x22],\x20[data-u-comp=\x22select\x22],\x20.univer-select','univer-block\x20univer-h-[100px]\x20univer-w-[100px]\x20univer-object-cover','ShapeHexagonIcon','univer-grid\x20univer-items-center\x20univer-gap-1','blur','CodeIcon','shape.type.callout2','function','shape-editor-ui.toolbar.italic','ActionButtonInformation','shape.type.hexagon','ShapeFrameIcon','4\x202','isTextBox','ShapeCurvedUpArrowIcon','number','range','RightBracket','ShapeCurvedDownArrowIcon','rectangle','textRanges','ShapeRightBraceIcon','SUBSCRIPT','spaceBelow','disabled','shape.type.arc','viewportKeys','univer-w-40','count','shouldAutoFitShapeTextEditorNoWrap','IImageIoService','fromEntries','picture','ShapeImageFillEditor','ShapeRectIcon','ShapeLightningBoltIcon','shape-editor-ui.fill.picture.align.t','H3Icon','shape.type.decagon','univer-text-base','measuredContentWidth','shape-editor-ui.toolbar.subscript','Arc','useKeyboardEvent','paragraphId','FlowchartSort','Pie','dataStream','ShapeStrokePanelButton','QuadArrow','ESC','ShapeLeftRightArrowIcon','shape-editor-ui.line.joinType.title','shape-editor-ui.line.sketchType.title','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md\x20univer-bg-primary-600','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','ShapeBentConnector3Arrow2Icon','imageOpacity','flowchart','pointerEvents','ShapeLineTypeEnum','default','shape-editor-ui.line.arrowType.diamondArrow','addImageSourceCache','merge','shape.type.left-up-arrow','ShapeLeftCircularArrowIcon','IConfigService','shape.type.wedge-ellipse-callout','start','getObject','shape.type.star4','ShapeCurvedLeftArrowIcon','shape-editor-ui.line.joinType.miter','Square','ItalicIcon','subUnitId','fontSize','startOffset','Tooltip','ShapeMathMultiplyIcon','ENTER','ShapeTextFloatToolbar','StealthArrow','ActionButtonMovie','univer-gap-2','shape-editor-ui.textBox.textDirectionVertical','ShapeHeartIcon','shape-editor-ui.openPanel','segmentId','13085VvVqgr','editorSurfaceWidth','Triangle','aba','ShapeRightArrowIcon','tangentialPressure','shape.type.action-button-return','defineProperty','IrregularSeal1','isPrimary','TextFillButton','setContextValue','shape-editor-ui.line.color','label','ascent','ShapeFlowChartConnectorIcon','Ribbon','SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','line','shape.type.pentagon','flowAxisLength','univer-w-20','shape-text-editor-content','UNSPECIFIED','SetInlineFormatUnderlineCommand','univer-flex\x20univer-flex-col\x20univer-gap-3','_initSelectionChange','shape.type.down-arrow-callout','SetInlineFormatTextFillCommand','boolean','RedoCommand','getInitialShapeFillType','direction$','NoFill','shape-editor-ui.textEditor.paragraphType.bulletList','push','shape.type.math-divide','ShapeAccentBorderCallout1Icon','Star10','onSavingEditorData$','FlowchartOffPageConnector','ShapeLineCapEnum','getShapeTextOpticalVerticalOffset','MathMinus','CurvedDownArrow','_configService','ctrlKey','shape.type.striped-right-arrow','isFocusing','disposable','_iconManager','#ffffff','IconManager','[data-u-comp=\x22shape-text-editor-content\x22]','cancelEditing','Rect','ShapeFillEditor','\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','DocSelectAllCommand','normalizeShapeTextModel','shape-editor-ui.line.dashType.dash','#000000','getActiveTextRange','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','isStrike','onFront','Snip2DiagRect','BentUpArrow','isItalic','stripShapeTextPlainMarker','Flowchart','shape.type.plaque','shape.type.round2-same-rect','shape.type.triangle','shape-editor-ui.toolbar.textColor','[data-u-comp=\x22rect-popup\x22]','nextWidth','setConfig','univer-rounded-lg\x20univer-p-3\x20!univer-shadow-none','shape-editor-ui.textBox.padding','shape.type.diag-stripe','ILocalStorageService','shape.type.left-circular-arrow','LeftRightArrowCallout','domX','callout','shape.type.bent-connector3-arrow1','shape-editor-ui.line.arrowSize.small','univer-w-7\x20univer-rounded-l-md\x20univer-rounded-r-none\x20rtl:univer-rounded-l-none\x20rtl:univer-rounded-r-md','univer-w-24','DocStateEmitService','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','_injector','shape.type.round2-diag-rect','shape-editor-ui.fill.picture.align.br','shape-editor-ui.line.noLine','UniverInstanceType','ShapeLeftUpArrowIcon','getSelfOrHeaderFooterModel','shape.type.star24','Select','shape-editor-ui.fill.picture.align.ctr','shape-editor-ui.shapePosition','Gear6','Linear','FONT_SIZE_LIST','shape.type.flow-chart-multidocument','isMixed','onStarting','sort','univer-text-xs\x20univer-text-gray-500\x20dark:!univer-text-gray-300','shape.type.up-down-arrow','CircularArrow','shape-editor-ui.fill.transparency','components','lineCapType','Frame','DocSettingIcon','shape.type.flow-chart-manual-operation','NoAutoFit','shape.type.swoosh-arrow','univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold','left','gradientType','univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','abd','backward','shape-editor-ui.textBox.autoFit','elementFromPoint','BulletListCommand','shape-editor-ui.fill.picture.source','LongDashDotDot','2MjiOuO','univer-w-[168px]','render','shape.type.down-arrow','shape-editor-ui.line.capType.square','ShapeCornerIcon','paragraphStyle','viewportScrollY','TextTypeIcon','ShapeChartPlusIcon','collapsed','ShapeLineIcon','textLike','HandDrawn','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','LEFT','sectionBreaks','shape.type.left-arrow','horizontalAlign','shape.type.up-arrow-callout','mode','univer-rounded-lg\x20univer-p-3','allowHostSizeShrink','shape-editor-ui.fill.picture.align.tl','SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_BACKGROUND_COLOR','ShapeCurvedConnector3Icon','closest','BentConnector3','currentLocale$','italic','shapeTextOpticalVerticalAlign','image/*','ShapeGradientTypeEnum','ShapeBentUpArrowIcon','center','detail','FontColorDoubleIcon','basicShape','ResetInlineFormatTextBackgroundColorCommand','toStringTag','ShapeMathPlusIcon','Chevron','FlowchartAlternateProcess','onForward','SpAutoFit','ShapeSketchTypeEnum','SetInlineFormatItalicCommand','shape.type.line-inv','Radio','ShapeActionButtonEndIcon','shape.type.star16','Dropdown','BasicShape','underline','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','univer-w-[244px]','ShapeRibbonIcon','editorTop','setTimeout','autoFitType','Star16','unsubscribe','shape.type.math-plus','test','shape-editor-ui.fill.color','WedgeEllipseCallout','shape.type.circular-arrow','AccentBorderCallout1','textWrap','img','deepClone','resolveShapeTextNoWrapLayout','MoreDownIcon','pageHeight','Module','lineSpacing','shape-editor-ui.toolbar.strikethrough','ShapeGear6Icon','ShapeFillEnum','getCanvasElement','contentHeight','Star5','starAndBanner','Cloud','Trapezoid','shape.type.straight-connector2','ShapeAccentCallout3Icon','shape.type.flow-chart-offline-storage','VerticalCenterIcon','193464dhjyvx','shape-editor-ui.toolbar.alignJustify','DoubleWave','ShapeRound1RectIcon','BorderCallout2','keys','docs-code.command.insert','ShapeStar24Icon','viewportScrollX','shape-editor-ui.line.dashType.longDashDot','Solid','mouseup','shape-editor-ui.align.top','useDependency','textRect','getUnit','type','resolveShapeTextEditorWrapStrategy','0\x200\x2048\x2020','tiltY','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','iterator','offsetX','AlignBottomIcon','shape-editor-ui.line.beginArrowType','getDocumentData','shape-editor-ui.line.width','None','univer--rotate-90\x20univer-text-xs','flowAxis','shape-editor-ui.textEditor.paragraphType.quote','ShapeFlowChartDisplayIcon','shape.type.ribbon','register','Callout','DownArrowCallout','shape.type.flow-chart-punched-card','shape-editor-ui.toolbar.superscript','_hideFloatMenu','shape-editor-ui.line.joinType.round','MoreRightIcon','body','SetInlineFormatSubscriptCommand','Gear9','ShapeFlowChartPunchedTapeIcon','widthBuffer','actions','shape.type.left-right-arrow-callout','univer.shape-editor-ui.floating-toolbar.collapsed','clsx','ShapeCurvedRightArrowIcon','AccentCallout3','strokeOpacity','UpArrow','FlowChartInputOutput','shape.type.bent-connector3','\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','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','SetInlineFormatFontSizeCommand','ShapeNonIsoscelesTrapezoidIcon','shape-editor-ui.line.sketchType.freehand','cornerRadius','Separator','dash','useRef','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.type.action-button-forward-next','shape.type.flow-chart-terminator','SetInlineFormatSuperscriptCommand','shape.type.star5','bodyBehavior','MIDDLE','NotchedRightArrow','updateDocumentDataMargin','AlignRightCommand','_config','DEFAULT','ShapeFlowChartInputOutputIcon','main','onTransformChange$','dsc','textSelection$','PictureFill','LeftUpArrow','shape-editor-ui.textBox.autoFitResize','ShapeIrregularSeal2Icon','file','CurvedConnector3','ShapeLeftRightCircularArrowIcon','ActionButtonSound','target','DEFAULT_STYLES','ShapePlusIcon','measureDocumentNoWrapTextWidth','CENTER','ShapeCallout2Icon','univer-text-xs','SquareTabs','univer-w-full\x20univer-min-w-0\x20univer-overflow-hidden','ShapeFlowChartDocumentIcon','includes','shape.type.action-button-blank','getSkeleton','1.0.0-alpha.6','createParagraphId','TypographyIcon','univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','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','doc','group\x20univer-relative\x20univer-inline-block','shape-editor-ui.line.dashType.squareDot','ShapeBracePairIcon','RoundDot','\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','TodoListDoubleIcon','ShapeCallout3Icon','ShapeAccentBorderCallout3Icon','finally','updateShapeText','ShapeCloudIcon','ImageFillModeEnum','univer-gap-3','horizontalAnchor','FOCUSING_PANEL_EDITOR','SquareDot','frontLabel','catch','Line','ShapeTriangleIcon','\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','namedStyleType','univer-text-xl\x20univer-text-gray-500','shape-text','ShapeLeftBraceIcon','shape.type.chart-x','SetInlineFormatFontFamilyCommand','ShapeSnip1RectIcon','_showFloatMenu','prototype','univer-flex\x20univer-min-w-0\x20univer-flex-col','H2Icon','className','Tile','ShapeCornerTabsIcon','Plugin','maxWidthClassName','univer-flex\x20univer-items-center\x20univer-justify-between','shape-editor-ui.textBox.textDirectionHorizontal','univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center','textStyle','gradientStops','executeEditorUndoRedoCommand','univer-flex\x20univer-h-6\x20univer-items-center\x20univer-gap-0.5\x20univer-px-1','shape.type.math-equal','docs-callout.command.insert','has','textRuns','unitId','bottom-center','Donut','UnorderIcon','Star7','capType','WedgeRoundRectCallout','Miter','symbol','pressure','ShapeFlowChartOnlineStorageIcon','ShapeStripedRightArrowIcon','Freehand','text','opacity','Heptagon','SetInlineFormatTextBackgroundColorCommand','univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','QuadArrowCallout','ShapeFlowChartInternalStorageIcon','Ribbon2','ShapeActionButtonMovieIcon','getDirection','previewHostSize','right','ActionButtonHome','resolveShapeTextEditorBehaviorShapeData','true','univer-relative\x20univer-inline-flex\x20univer-justify-center','ShapeArrowSizeEnum','ShapeMoonIcon','forEach','div','equationShape','position','ShapeFlowChartSummingJunctionIcon','shape.type.accent-border-callout1','shape-editor-ui.textEditor.paragraphType.heading4','ShapeRightBracketIcon','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md','shape.type.non-isosceles-trapezoid','canva','shape-editor-ui.line.dashType.roundDot','placeholderWidth','tiltX','shape.type.ellipse','ShapeChartStarIcon','RightJustifyingIcon','shape-editor-ui.line.arrowType.openArrow','Callout2','ShapeLineInvIcon','shape-editor-ui.line.capType.round','UniverShapeEditorUIPlugin','input','shape-editor-ui.fill.picture.insert','object','isFinite','ShapeTextAutoFitType','GroupIcon','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','HalfFrame','ShapeRtTriangleIcon','renderConfig','shape.type.flow-chart-display','BracePair','univer-flex\x20univer-items-center\x20univer-gap-2','PlaqueTabs','ShapeSunIcon','applyShapeTextAlignment','ShapeFlowChartExtractIcon','shape-editor-ui.fill.picture.tileAsTexture','getHostTransform','ActionButtonBlank','shape.type.up-down-arrow-callout','radial','UnderlineIcon','getColorFromTheme','gridType','shape-editor-ui.textEditor.paragraphType.checkList','ShapeBentConnector3Icon','Star12','Round','SnipRoundRect','reverse','UndoCommand','ShapeLeftArrowCalloutIcon','Teardrop','getSelectionRanges','shape.type.rt-triangle','pointerup','ShapeBlockArcIcon','Digit8','actualWidth','SolidLine','stops','NORMAL_TEXT','getFreeze','contentVerticalOffset','setItem','FlowChartOfflineStorage','AlignTextBothIcon','shape.type.cube','onMouseDown','Callout1','naturalCrossSize','select','variant','Other','shape.type.star8','active','6145938szgnHJ','ShapeFlowChartDelayIcon','MathMultiply','ActionButtonHelp','NoSmoking','setEditing','calculate','add','value','ShapeLeftRightArrowCalloutIcon','shape.type.border-callout2','ShapeFlowChartAlternateProcessIcon','univer-size-full','glyphGroup','subscribe','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','shape.type.curved-right-arrow','leftTop','measureDocumentNoWrapTextRangeWidth','shape-editor-ui.line.cornerRadius','stroke','Bevel','with','top','univer-flex-1\x20univer-overflow-auto','autoFitNoWrap','shape-editor-ui.config','shape-editor-ui.textBox.columns','univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200','univer-text-gray-600\x20univer-transition-transform','getSkeletonData','CTRL_COMMAND','key','screenX','group','StarAndBanner','ShapeChevronIcon','ShapeActionButtonHelpIcon','shape.type.heart','ShapeFlowChartOffpageConnectorIcon','ThemeService','ShapeHalfFrameIcon','getBoundingClientRect','shape.type.line','top-center','univer-max-w-[min(760px,calc(100vw-32px))]','allowShrink','click','sessionKey','entries','shape-stroke-dash-dropdown','prepareShapeTextDocumentData','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','endArrow','Inject','Cube','Fragment','univer-pt-2','29955660vOxIFT','ShapePickerDropdown','ShapeSnip2SameRectIcon','shape.type.heptagon','MetaKeys','ShapeFloatingToolbarMenuPanel','shape-editor-ui.textEditor.placeholder','shape.type.flow-chart-predefined-process','shape.type.math-not-equal','Dodecagon','dispatchEvent','auto','shape.type.gear9','useLeftAndRightArrow','TOP','shape.type.star7','shape-floating-toolbar-font-family-menu','TypographyPanelButton','onCommandExecuted','shape.type.gear6','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','ShapeFlowChartMagneticTapeIcon','ShapeLeftRightUpArrowIcon','ShapeCircularArrowIcon','contains','univer-text-sm','getDocumentDataModel','shape-editor-ui.line.joinType.bevel','shape-text-placeholder','sizeClassName','getAncestorScale','DocumentFlavor','Arrow','shapeKey','univer-text-xl','ColorPicker','BACKSPACE','getDocRanges','abs','univer-h-0\x20univer-w-7\x20univer-border-t-2\x20univer-border-solid\x20univer-border-gray-400\x20dark:!univer-border-gray-300','Star32','ShapeStar12Icon','Small','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','clearUndoRedoHistory','content','shape.type.action-button-sound','ShapeFlowChartDecisionIcon','resize','ShapeCallout1Icon','univer-text-sm\x20univer-font-medium\x20univer-text-gray-800\x20dark:!univer-text-gray-100','univer-grid\x20univer-grid-cols-10\x20univer-gap-1','lineDashType','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','HorizontalAlign','AccentCallout2','StrikethroughIcon','Callout3','startArrow','ShapeFloatingToolbarDropdownTrigger','saveImage','clearTimeout','borderClassName','pointerType','onAfterCommand','vertical','other','shape.type.left-bracket','ShapeRectTextboxHorizontalIcon','FlowchartMultiDocument','univer-w-full','ShapeSquareTabsIcon','sections','-univer-rotate-90\x20univer-text-xs','ActionButtonReturn','shape.type.pie','renderedContentWidth','endOffset','ALT','LeftCircularArrow','ShapeNoSmokingIcon','ShapeFlowChartOfflineStorageIcon','ShapeLineDashEnum','packageName','NamedStyleType','HomePlate','shapeId','DocSelectionManagerService','univer-grid\x20univer-grid-cols-2\x20univer-gap-2\x20[&>label]:univer-grid\x20[&>label]:univer-gap-1','HEADING_1','querySelector','isNaN','align','ShapeCubeIcon','ShapeParallelogramIcon','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','ShapeFlowChartCollateIcon','ShapeFlowChartMagneticDiskIcon','shape-editor-ui.textBox.wrapText','shape.type.half-frame','RightArrowCallout','Sun','jsxs','TRUE','ShapeTextBoxEditor','RadioGroup','JUSTIFIED','Accordion','NormAutoFit','editorLeft','univer-grid-cols-3','ActionButtonForwardNext','scaleX','Checkbox','findIndex','ShapeArrowTypeEnum','CheckListCommand','imageRotateWithShape','univer-shadow-none','ShapeActionButtonSoundIcon','shape-editor-ui.toolbar.expandShapeToolbar','scaleY','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','UpArrowCallout','shape.type.cloud','map','ShapeTrapezoidIcon','shortcut','shape.type.action-button-document','#9ca3af','shape.type.action-button-back-previous','shape-editor-ui.line.beginArrowSize','isHorizontal','minWidthClassName','ShapeFlowChartTerminatorIcon','lineJoinType','MathDivide','textRectWidth','OrderListCommand','shape-editor-ui.fill.gradientFill','primary.600','FontFamilyDropdown','ShapeActionButtonBeginningIcon','H1Icon','ceil','1493648rTnTIQ','gradientAngle','engine','resolveShapeTextBodyBehavior','resolveShapeTextEditorTextRect','62205PESSDi','length','resolveShapeTextDocumentRenderLayout','PaintBucketDoubleIcon','shape-editor-ui.textBox.columnSpacing','ShapeActionButtonBackPreviousIcon','onShapeClick','ShapeStar32Icon','shape-editor-ui.toolbar.underline','Chord','section','shape.type.pie-wedge','altKey','univer-block\x20univer-w-full','getShapeTextRect','transparent','SwooshArrow','ShapeFunnelIcon','LeftBracket','ShapeFlowChartMergeIcon','SetInlineFormatStrikethroughCommand','shape-editor-ui.textEditor.paragraphType.normal','documentMarginTop','ShapeFlowChartMagneticDrumIcon'];_0x41b2=function(){return _0x581895;};return _0x41b2();}function Oe(_0x243f91){const _0x46183b=_0x2a77fc;var _0x14874c;return(0x0,r[_0x46183b(0x1a5)])('div',{..._0x243f91['dataAttributes'],'onMouseDown':_0x4cd1d9=>{const _0x12617b=_0x46183b;if(_0x243f91[_0x12617b(0x4ce)]){_0x243f91[_0x12617b(0x4ce)](_0x4cd1d9);return;}_0x4cd1d9[_0x12617b(0x20e)](),we(_0x4cd1d9[_0x12617b(0x425)])||_0x4cd1d9[_0x12617b(0x291)]();},'className':(0x0,e[_0x46183b(0x3fc)])(_0x46183b(0x214),e['borderClassName'],(_0x14874c=_0x243f91[_0x46183b(0x45c)])==null?_0x46183b(0x503):_0x14874c,_0x243f91[_0x46183b(0x458)]),'children':_0x243f91['children']});}function ke(_0x3f08f8){const _0x426016=_0x2a77fc;var _0x237ab9,_0x187be8;let _0x1d709d=(0x0,a[_0x426016(0x3d8)])(i['LocaleService']),_0x5d73de=_0x3f08f8['titleKey']?_0x1d709d['t'](_0x3f08f8[_0x426016(0x13b)]):(_0x237ab9=_0x3f08f8[_0x426016(0x1e4)])==null?'':_0x237ab9;return(0x0,r['jsx'])(e[_0x426016(0x2e3)],{'title':_0x5d73de,'placement':_0x426016(0x1a8),'children':(0x0,r[_0x426016(0x1a5)])(_0x426016(0x662),{'type':'button','aria-label':_0x5d73de,'aria-expanded':_0x3f08f8['ariaExpanded'],'disabled':_0x3f08f8[_0x426016(0x2ac)],'onClick':_0x3f08f8[_0x426016(0x24f)],'onMouseDown':_0x3f08f8[_0x426016(0x4ce)],'onPointerDown':_0x3f08f8['onPointerDown'],'className':(0x0,e[_0x426016(0x3fc)])(_0x426016(0x245),(_0x187be8=_0x3f08f8[_0x426016(0x52d)])==null?'univer-h-6\x20univer-w-6':_0x187be8,_0x3f08f8[_0x426016(0x458)],{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x3f08f8[_0x426016(0x4d5)]}),'children':_0x3f08f8['children']})});}function Ae(_0x1b4a16){const _0xb40286=_0x2a77fc;var _0x3e5902;return(0x0,r['jsxs'])(ke,{'title':_0x1b4a16['title'],'titleKey':_0x1b4a16[_0xb40286(0x13b)],'active':_0x1b4a16[_0xb40286(0x4d5)],'ariaExpanded':_0x1b4a16[_0xb40286(0x4d5)],'className':_0x1b4a16[_0xb40286(0x458)],'sizeClassName':(_0x3e5902=_0x1b4a16[_0xb40286(0x52d)])==null?'univer-h-6\x20univer-min-w-9\x20univer-w-auto\x20univer-gap-1\x20univer-px-1.5':_0x3e5902,'onMouseDown':_0x1b4a16['onMouseDown'],'onPointerDown':_0x1b4a16[_0xb40286(0x647)],'children':[_0x1b4a16[_0xb40286(0x1fa)],(0x0,r[_0xb40286(0x1a5)])(t[_0xb40286(0x3ba)],{'className':'univer-text-xs'})]});}function je(_0x5e5660){const _0x1227b0=_0x2a77fc;let _0x2f7598=a[_0x1227b0(0x357)][_0x1227b0(0x58d)](_0x29fde5=>({'label':_0x29fde5[_0x1227b0(0x2fb)],'value':String(_0x29fde5[_0x1227b0(0x4de)])}));return(0x0,r[_0x1227b0(0x1a5)])(e[_0x1227b0(0x352)],{'className':(0x0,e[_0x1227b0(0x3fc)])('!univer-h-6\x20univer-w-14\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-px-1.5',_0x5e5660[_0x1227b0(0x458)]),'value':String(_0x5e5660[_0x1227b0(0x4de)]),'options':_0x2f7598,'onChange':_0x1aaed9=>{const _0x42ef81=_0x1227b0;var _0x28c69b;let _0x59b2f8=Number(_0x1aaed9);Number['isNaN'](_0x59b2f8)||_0x5e5660[_0x42ef81(0x5f8)](_0x59b2f8),(_0x28c69b=_0x5e5660['onAfterChange'])==null||_0x28c69b['call'](_0x5e5660);}});}function Me(_0x418be1){const _0x994a4d=_0x2a77fc;let {title:_0x1ec663,open:_0x23a044,disabled:_0x3a024e,icon:_0x129e0b,overlay:_0x409d2b,popoverClassName:_0x3ec066,onApply:_0x244791,onOpenChange:_0xe4c80a}=_0x418be1,_0x24e490=_0x994a4d(0x403);return(0x0,r[_0x994a4d(0x576)])('div',{'className':'univer-flex\x20univer-h-6\x20univer-items-center','children':[(0x0,r['jsx'])(e[_0x994a4d(0x2e3)],{'title':_0x1ec663,'placement':_0x994a4d(0x1a8),'children':(0x0,r[_0x994a4d(0x1a5)])(_0x994a4d(0x662),{'type':'button','aria-label':_0x1ec663,'disabled':_0x3a024e,'onClick':_0x244791,'className':(0x0,e[_0x994a4d(0x3fc)])(_0x24e490,_0x994a4d(0x346),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x23a044}),'children':_0x129e0b})}),(0x0,r[_0x994a4d(0x1a5)])(e[_0x994a4d(0x3a5)],{'disabled':_0x3a024e,'open':_0x23a044,'className':_0x3ec066,'onOpenChange':_0xe4c80a,'overlay':_0x409d2b,'children':(0x0,r['jsx'])(_0x994a4d(0x222),{'children':(0x0,r[_0x994a4d(0x1a5)])(e['Tooltip'],{'title':_0x1ec663,'placement':_0x994a4d(0x1a8),'children':(0x0,r[_0x994a4d(0x1a5)])(_0x994a4d(0x662),{'type':_0x994a4d(0x662),'aria-label':_0x1ec663,'disabled':_0x3a024e,'className':(0x0,e[_0x994a4d(0x3fc)])(_0x24e490,_0x994a4d(0x62c),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x23a044}),'children':(0x0,r[_0x994a4d(0x1a5)])(t['MoreDownIcon'],{'className':(0x0,e[_0x994a4d(0x3fc)])(_0x994a4d(0x20d),{'univer-rotate-180':_0x23a044})})})})})})]});}function Ne(_0x49088f){const _0x2db82a=_0x2a77fc;switch(_0x49088f){case s['ShapeLineDashEnum'][_0x2db82a(0x43b)]:case s['ShapeLineDashEnum'][_0x2db82a(0x447)]:return'1\x203';case s[_0x2db82a(0x562)][_0x2db82a(0x25c)]:return _0x2db82a(0x2a0);case s[_0x2db82a(0x562)]['DashDot']:return _0x2db82a(0x138);case s[_0x2db82a(0x562)][_0x2db82a(0x25b)]:return _0x2db82a(0x1df);case s['ShapeLineDashEnum'][_0x2db82a(0x1ba)]:return'8\x202\x201\x202';case s[_0x2db82a(0x562)][_0x2db82a(0x371)]:return _0x2db82a(0x641);case s[_0x2db82a(0x562)][_0x2db82a(0x3d5)]:default:return;}}function Pe(_0x21d73f){const _0x2053c2=_0x2a77fc;let {lineStrokeType:_0x417f6a,dashType:_0x5012b3,color:_0x59e9d3=_0x2053c2(0x604),width:_0x3d24ba=0x2,className:_0x1bb61b}=_0x21d73f;return _0x417f6a===s['ShapeLineTypeEnum'][_0x2053c2(0x217)]?(0x0,r[_0x2053c2(0x576)])(_0x2053c2(0x222),{'className':(0x0,e[_0x2053c2(0x3fc)])(_0x2053c2(0x64d),_0x1bb61b),'children':[(0x0,r['jsx'])(_0x2053c2(0x222),{'className':_0x2053c2(0x537)}),(0x0,r[_0x2053c2(0x1a5)])(_0x2053c2(0x222),{'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[_0x2053c2(0x1a5)])('svg',{'className':(0x0,e[_0x2053c2(0x3fc)])(_0x2053c2(0x113),_0x1bb61b),'viewBox':_0x2053c2(0x3dd),'aria-hidden':_0x2053c2(0x483),'children':(0x0,r[_0x2053c2(0x1a5)])(_0x2053c2(0x300),{'x1':'4','y1':'10','x2':'44','y2':'10','stroke':_0x59e9d3,'strokeWidth':Math[_0x2053c2(0x693)](0x1,Math['min'](0x4,_0x3d24ba)),'strokeDasharray':Ne(_0x5012b3),'strokeLinecap':_0x5012b3===s['ShapeLineDashEnum'][_0x2053c2(0x43b)]?_0x2053c2(0x254):_0x2053c2(0x5f1)})});}function Fe(_0x5cbea3){const _0x454574=_0x2a77fc;return(0x0,r[_0x454574(0x1a5)])(_0x454574(0x222),{'className':_0x454574(0x45f),'children':(0x0,r[_0x454574(0x1a5)])(Pe,{'dashType':_0x5cbea3[_0x454574(0x1e6)],'color':_0x5cbea3[_0x454574(0x15f)],'width':_0x5cbea3[_0x454574(0x23f)]})});}const Ie=[_0x2a77fc(0x1da),_0x2a77fc(0x25e),_0x2a77fc(0x40a)],Le={'min':0x1,'max':0xa,'step':0x1};function Re(_0x41196a){const _0x59f9dc=_0x2a77fc;let {labelKey:_0x71eb22,value:_0x54bdf4,min:_0x19da29,max:_0x1e4402,step:_0x186302,disabled:_0x579512,suffix:_0x110c13='',onChange:_0x15ce4d}=_0x41196a;return(0x0,r['jsxs'])(_0x59f9dc(0x488),{'className':_0x59f9dc(0x236),'children':[(0x0,r['jsxs'])(_0x59f9dc(0x488),{'className':_0x59f9dc(0x53b),'children':[(0x0,r[_0x59f9dc(0x1a5)])(_0x59f9dc(0x222),{'className':_0x59f9dc(0x36a),'children':(0x0,a['useDependency'])(i[_0x59f9dc(0x64c)])['t'](_0x71eb22)}),(0x0,r[_0x59f9dc(0x576)])(_0x59f9dc(0x222),{'className':_0x59f9dc(0x35c),'children':[_0x54bdf4,_0x110c13]})]}),(0x0,r['jsx'])(_0x59f9dc(0x49d),{'type':_0x59f9dc(0x2a4),'min':_0x19da29,'max':_0x1e4402,'step':_0x186302,'value':_0x54bdf4,'disabled':_0x579512,'onChange':_0xb8c953=>_0x15ce4d(Number(_0xb8c953[_0x59f9dc(0x425)][_0x59f9dc(0x4de)])),'className':_0x59f9dc(0x56f)})]});}function ze(_0xc1314d){const _0x2104fc=_0x2a77fc;var _0x540b2d,_0x3f3c0c,_0x456313,_0x273a60,_0xeee1c9;let {titleKey:_0x229161,shapeData:_0x1ce375,disabled:_0x43d37b,resetLabelKey:_0x1ed8cf='shape-editor-ui.toolbar.resetColor',modeOptions:_0x1ff725=Ie,showDashDropdown:_0x3e824a=!0x0,fallbackColor:_0x13e1aa=be,widthRange:_0x19f3f5=Le,onReset:_0x4cd35c,onRequestClose:_0xf5b3f,onUpdateShapeData:_0x1d7d6b}=_0xc1314d,_0x267d1e=(0x0,a[_0x2104fc(0x3d8)])(i['LocaleService']),_0x2b14ed=_0x267d1e['t'](_0x229161),_0x276348=(0x0,a[_0x2104fc(0x25f)])(_0x267d1e[_0x2104fc(0x30e)],_0x267d1e[_0x2104fc(0x47e)]()),[_0x273340,_0x2d54b7]=(0x0,n[_0x2104fc(0x23e)])(!0x1),_0x3993ce=_0x1ce375[_0x2104fc(0x4ea)],_0x20b3f7=(_0x540b2d=_0x3993ce==null?void 0x0:_0x3993ce[_0x2104fc(0x15f)])==null?_0x13e1aa:_0x540b2d,_0x4b6d05=Math[_0x2104fc(0x693)](_0x19f3f5[_0x2104fc(0x256)],Math[_0x2104fc(0x256)](_0x19f3f5['max'],Math['round']((_0x3f3c0c=_0x3993ce==null?void 0x0:_0x3993ce[_0x2104fc(0x23f)])==null?s['ShapeDefaultConfig']['strokeWidth']:_0x3f3c0c))),_0x4deb50=Math['round']((0x1-((_0x456313=_0x3993ce==null?void 0x0:_0x3993ce['opacity'])==null?s['ShapeDefaultConfig'][_0x2104fc(0x3ff)]:_0x456313))*0x64),_0x1f1dc8=(_0x273a60=_0x3993ce==null?void 0x0:_0x3993ce[_0x2104fc(0x1e6)])==null?s[_0x2104fc(0x17e)][_0x2104fc(0x544)]:_0x273a60,_0xe28340=(_0xeee1c9=_0x3993ce==null?void 0x0:_0x3993ce['lineStrokeType'])==null?s['ShapeDefaultConfig']['lineType']:_0xeee1c9,_0x4aa5d9=_0xe28340!==s[_0x2104fc(0x2d0)]['NoLine']&&_0x1f1dc8!==s['ShapeLineDashEnum'][_0x2104fc(0x3d5)]&&_0x1f1dc8!==s[_0x2104fc(0x562)][_0x2104fc(0x25c)],_0x5f0efa=_0xe28340===s[_0x2104fc(0x2d0)][_0x2104fc(0x217)]?_0x2104fc(0x1da):_0x1f1dc8===s[_0x2104fc(0x562)]['Solid']?_0x2104fc(0x25e):_0x1f1dc8===s[_0x2104fc(0x562)]['RoundDot']||_0x1f1dc8===s[_0x2104fc(0x562)][_0x2104fc(0x447)]?_0x2104fc(0x1cf):_0x1f1dc8===s[_0x2104fc(0x562)][_0x2104fc(0x25c)]?_0x2104fc(0x40a):_0x2104fc(0x184),_0x55bb11=[{'label':(0x0,r[_0x2104fc(0x1a5)])(Fe,{'dashType':s[_0x2104fc(0x562)][_0x2104fc(0x3d5)],'color':_0x20b3f7,'width':_0x4b6d05}),'value':String(s['ShapeLineDashEnum']['Solid'])},{'label':(0x0,r[_0x2104fc(0x1a5)])(Fe,{'dashType':s[_0x2104fc(0x562)][_0x2104fc(0x43b)],'color':_0x20b3f7,'width':_0x4b6d05}),'value':String(s[_0x2104fc(0x562)][_0x2104fc(0x43b)])},{'label':(0x0,r[_0x2104fc(0x1a5)])(Fe,{'dashType':s[_0x2104fc(0x562)][_0x2104fc(0x447)],'color':_0x20b3f7,'width':_0x4b6d05}),'value':String(s[_0x2104fc(0x562)][_0x2104fc(0x447)])},{'label':(0x0,r[_0x2104fc(0x1a5)])(Fe,{'dashType':s['ShapeLineDashEnum'][_0x2104fc(0x25c)],'color':_0x20b3f7,'width':_0x4b6d05}),'value':String(s['ShapeLineDashEnum'][_0x2104fc(0x25c)])},{'label':(0x0,r[_0x2104fc(0x1a5)])(Fe,{'dashType':s['ShapeLineDashEnum']['DashDot'],'color':_0x20b3f7,'width':_0x4b6d05}),'value':String(s[_0x2104fc(0x562)][_0x2104fc(0x15b)])},{'label':(0x0,r[_0x2104fc(0x1a5)])(Fe,{'dashType':s[_0x2104fc(0x562)]['LongDash'],'color':_0x20b3f7,'width':_0x4b6d05}),'value':String(s[_0x2104fc(0x562)][_0x2104fc(0x25b)])},{'label':(0x0,r[_0x2104fc(0x1a5)])(Fe,{'dashType':s['ShapeLineDashEnum'][_0x2104fc(0x1ba)],'color':_0x20b3f7,'width':_0x4b6d05}),'value':String(s[_0x2104fc(0x562)][_0x2104fc(0x1ba)])},{'label':(0x0,r[_0x2104fc(0x1a5)])(Fe,{'dashType':s[_0x2104fc(0x562)]['LongDashDotDot'],'color':_0x20b3f7,'width':_0x4b6d05}),'value':String(s[_0x2104fc(0x562)][_0x2104fc(0x371)])}],_0x43a290={'none':_0x267d1e['t'](_0x2104fc(0x34d)),'solid':_0x267d1e['t'](_0x2104fc(0x137)),'dash':_0x267d1e['t'](_0x2104fc(0x32a)),'dot':_0x267d1e['t'](_0x2104fc(0x492))};(0x0,n[_0x2104fc(0x6a1)])(()=>{const _0x2e3143=_0x2104fc;_0xe28340===s[_0x2e3143(0x2d0)][_0x2e3143(0x217)]&&_0x2d54b7(!0x1);},[_0xe28340]);let _0x8dc103=_0x5f2c6a=>{const _0x369230=_0x2104fc;_0x1d7d6b({'oldShapeData':{'stroke':_0x1ce375[_0x369230(0x4ea)]}},{'stroke':_0x5f2c6a});},_0x43ab77=_0x81dd11=>{const _0x3f1a5a=_0x2104fc;var _0x3d2bc7;_0x8dc103({..._0x3993ce,'lineStrokeType':_0xe28340,'color':_0x20b3f7,'width':_0x4b6d05,'opacity':(_0x3d2bc7=_0x3993ce==null?void 0x0:_0x3993ce[_0x3f1a5a(0x476)])==null?s[_0x3f1a5a(0x17e)]['strokeOpacity']:_0x3d2bc7,'dashType':_0x1f1dc8,..._0x81dd11});},_0x4ea2e9=_0x5a5e40=>{const _0x4e2c71=_0x2104fc;if(_0x5a5e40===_0x4e2c71(0x1da)){_0x43ab77({'lineStrokeType':s[_0x4e2c71(0x2d0)]['NoLine']});return;}_0x43ab77({'lineStrokeType':s[_0x4e2c71(0x2d0)][_0x4e2c71(0x4c5)],'dashType':_0x5a5e40===_0x4e2c71(0x25e)?s['ShapeLineDashEnum'][_0x4e2c71(0x3d5)]:_0x5a5e40===_0x4e2c71(0x1cf)?s[_0x4e2c71(0x562)][_0x4e2c71(0x43b)]:s['ShapeLineDashEnum']['Dash']});};return(0x0,r[_0x2104fc(0x1a5)])(_0x2104fc(0x488),{'dir':_0x276348,'onPointerDown':$,'onMouseDown':$,'onClick':_0x1aff9d=>{const _0x54ad12=_0x2104fc;_0x1aff9d[_0x54ad12(0x20e)](),(!(_0x1aff9d[_0x54ad12(0x425)]instanceof HTMLElement)||!_0x1aff9d[_0x54ad12(0x425)][_0x54ad12(0x38c)](_0x54ad12(0x229)))&&_0x2d54b7(!0x1);},'className':(0x0,e[_0x2104fc(0x3fc)])('univer-w-[280px]',_0x2104fc(0x4a3)),'children':(0x0,r[_0x2104fc(0x576)])(_0x2104fc(0x488),{'className':_0x2104fc(0x307),'children':[(0x0,r['jsx'])(_0x2104fc(0x222),{'className':_0x2104fc(0x542),'children':_0x2b14ed}),(0x0,r['jsxs'])('div',{'className':(0x0,e['clsx'])(_0x2104fc(0x297),_0x3e824a&&_0x1ff725['includes'](_0x2104fc(0x40a))?_0x2104fc(0x11d):_0x2104fc(0x57e)),'children':[_0x1ff725[_0x2104fc(0x58d)](_0x3f1fa0=>(0x0,r['jsx'])(e[_0x2104fc(0x2e3)],{'title':_0x43a290[_0x3f1fa0],'placement':'top','children':(0x0,r['jsx'])(_0x2104fc(0x662),{'type':'button','disabled':_0x43d37b,'aria-label':_0x43a290[_0x3f1fa0],'onClick':()=>_0x4ea2e9(_0x3f1fa0),'className':(0x0,e['clsx'])('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',{'univer-border-primary-600\x20univer-bg-primary-50\x20dark:!univer-bg-gray-800':_0x5f0efa===_0x3f1fa0}),'children':(0x0,r[_0x2104fc(0x1a5)])(Pe,{'lineStrokeType':_0x3f1fa0===_0x2104fc(0x1da)?s[_0x2104fc(0x2d0)][_0x2104fc(0x217)]:s[_0x2104fc(0x2d0)]['SolidLine'],'dashType':_0x3f1fa0===_0x2104fc(0x40a)?s[_0x2104fc(0x562)][_0x2104fc(0x25c)]:_0x3f1fa0===_0x2104fc(0x1cf)?s[_0x2104fc(0x562)]['RoundDot']:s[_0x2104fc(0x562)][_0x2104fc(0x3d5)],'color':_0x3f1fa0===_0x2104fc(0x1da)?void 0x0:_0x20b3f7,'width':_0x3f1fa0===_0x2104fc(0x1da)?0x2:_0x4b6d05})})},_0x3f1fa0)),_0x3e824a&&_0x1ff725['includes'](_0x2104fc(0x40a))&&(0x0,r[_0x2104fc(0x1a5)])(e[_0x2104fc(0x3a5)],{'disabled':_0x43d37b||_0xe28340===s[_0x2104fc(0x2d0)]['NoLine'],'open':_0x273340,'onOpenChange':_0x2d54b7,'overlay':(0x0,r[_0x2104fc(0x1a5)])(_0x2104fc(0x488),{'dir':_0x276348,'data-u-comp':_0x2104fc(0x508),'onPointerDown':$,'onMouseDown':$,'onClick':_0x45717c=>_0x45717c['stopPropagation'](),'className':_0x2104fc(0x3a8),'children':_0x55bb11['map'](_0x4d91ca=>(0x0,r[_0x2104fc(0x1a5)])('button',{'type':'button','onClick':()=>{const _0x4c1eeb=_0x2104fc;let _0x514e64=Number(_0x4d91ca[_0x4c1eeb(0x4de)]);_0x43ab77({'lineStrokeType':s[_0x4c1eeb(0x2d0)][_0x4c1eeb(0x4c5)],'dashType':_0x514e64}),_0x2d54b7(!0x1);},'className':(0x0,e['clsx'])(_0x2104fc(0x436),{'univer-bg-primary-50\x20dark:!univer-bg-gray-800':_0x4d91ca[_0x2104fc(0x4de)]===String(_0x1f1dc8)}),'children':_0x4d91ca[_0x2104fc(0x2fb)]},_0x4d91ca['value']))}),'children':(0x0,r[_0x2104fc(0x1a5)])(_0x2104fc(0x222),{'className':_0x2104fc(0x5b3),'data-u-comp':_0x2104fc(0x508),'children':(0x0,r[_0x2104fc(0x1a5)])(e[_0x2104fc(0x2e3)],{'title':_0x267d1e['t']('shape-editor-ui.line.dashType.dash'),'placement':_0x2104fc(0x4ed),'children':(0x0,r[_0x2104fc(0x576)])('button',{'type':_0x2104fc(0x662),'role':_0x2104fc(0x141),'aria-expanded':_0x273340,'disabled':_0x43d37b||_0xe28340===s[_0x2104fc(0x2d0)][_0x2104fc(0x217)],'onClick':_0x55ce8b=>{const _0x133224=_0x2104fc;_0x55ce8b[_0x133224(0x20e)](),_0x2d54b7(_0x2d74bc=>!_0x2d74bc);},'className':(0x0,e[_0x2104fc(0x3fc)])(_0x2104fc(0x32d),{'univer-border-primary-600\x20univer-bg-primary-50\x20dark:!univer-bg-gray-800':_0x4aa5d9}),'children':[(0x0,r[_0x2104fc(0x1a5)])(Pe,{'dashType':s['ShapeLineDashEnum']['LongDashDot'],'color':_0x20b3f7,'width':_0x4b6d05,'className':'univer-w-12'}),(0x0,r[_0x2104fc(0x1a5)])(t[_0x2104fc(0x3ba)],{'className':(0x0,e['clsx'])(_0x2104fc(0x20d),{'univer-rotate-180':_0x273340})})]})})})})]}),(0x0,r[_0x2104fc(0x1a5)])(Re,{'labelKey':_0x2104fc(0x3e5),'value':_0x4b6d05,'min':_0x19f3f5[_0x2104fc(0x256)],'max':_0x19f3f5[_0x2104fc(0x693)],'step':_0x19f3f5['step'],'disabled':_0x43d37b||_0xe28340===s['ShapeLineTypeEnum'][_0x2104fc(0x217)],'onChange':_0x5ca17e=>{const _0x2d94b0=_0x2104fc;_0x43ab77({'lineStrokeType':s['ShapeLineTypeEnum'][_0x2d94b0(0x4c5)],'width':_0x5ca17e});}}),(0x0,r[_0x2104fc(0x1a5)])(e[_0x2104fc(0x409)],{}),_0x4cd35c&&(0x0,r['jsx'])(_0x2104fc(0x662),{'type':_0x2104fc(0x662),'disabled':_0x43d37b,'onClick':()=>{_0x4cd35c(),_0xf5b3f==null||_0xf5b3f();},'className':_0x2104fc(0x2cb),'children':_0x267d1e['t'](_0x1ed8cf)}),(0x0,r['jsx'])(e[_0x2104fc(0x533)],{'value':_0x20b3f7,'onChange':_0x37a165=>{const _0x3b7470=_0x2104fc;_0x43ab77({'lineStrokeType':s['ShapeLineTypeEnum'][_0x3b7470(0x4c5)],'color':_0x37a165});}}),(0x0,r[_0x2104fc(0x1a5)])(Re,{'labelKey':'shape-editor-ui.line.transparency','value':_0x4deb50,'min':0x0,'max':0x64,'step':0x5,'suffix':'%','disabled':_0x43d37b||_0xe28340===s[_0x2104fc(0x2d0)][_0x2104fc(0x217)],'onChange':_0x591a27=>{const _0x28c59d=_0x2104fc;_0x43ab77({'opacity':(0x64-Math[_0x28c59d(0x693)](0x0,Math[_0x28c59d(0x256)](0x64,_0x591a27)))/0x64});}})]})});}function Be(_0x5de7d3){const _0x558e61=_0x2a77fc;var _0x418237;let {titleKey:_0x1ff616,shapeData:_0x2f0199,disabled:_0x496e48,resetLabelKey:_0x88bc80,fallbackColor:_0x330ba5=be,onReset:_0x13960c,onUpdateShapeData:_0xef95e9}=_0x5de7d3,_0xe52d41=(0x0,a[_0x558e61(0x3d8)])(i[_0x558e61(0x64c)])['t'](_0x1ff616),[_0x5afa53,_0x1363df]=(0x0,n[_0x558e61(0x23e)])(!0x1),{handleOpenChange:_0x1be864,markInternalInteraction:_0x54bbd8}=Te(_0x1363df),_0xa81d9e=_0x2f0199[_0x558e61(0x4ea)],_0x4d3e80=(_0x418237=_0xa81d9e==null?void 0x0:_0xa81d9e['color'])==null?_0x330ba5:_0x418237;return(0x0,r[_0x558e61(0x1a5)])(e['Dropdown'],{'disabled':_0x496e48,'open':_0x5afa53,'onOpenChange':_0x1be864,'overlay':(0x0,r['jsx'])(_0x558e61(0x488),{'onPointerDownCapture':_0x14bedf=>{_0x54bbd8(),Q(_0x14bedf);},'onMouseDownCapture':_0x421154=>{_0x54bbd8(),Q(_0x421154);},'children':(0x0,r[_0x558e61(0x1a5)])(ze,{'titleKey':_0x1ff616,'shapeData':_0x2f0199,'disabled':_0x496e48,'resetLabelKey':_0x88bc80,'fallbackColor':_0x330ba5,'onReset':_0x13960c,'onRequestClose':()=>_0x1363df(!0x1),'onUpdateShapeData':_0xef95e9})}),'children':(0x0,r[_0x558e61(0x1a5)])(_0x558e61(0x222),{'children':(0x0,r[_0x558e61(0x1a5)])(e[_0x558e61(0x2e3)],{'title':_0xe52d41,'placement':_0x558e61(0x1a8),'children':(0x0,r[_0x558e61(0x576)])(_0x558e61(0x662),{'type':_0x558e61(0x662),'aria-label':_0xe52d41,'disabled':_0x496e48,'className':(0x0,e[_0x558e61(0x3fc)])(_0x558e61(0x179),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x5afa53}),'children':[(0x0,r[_0x558e61(0x1a5)])(t[_0x558e61(0x1c4)],{'className':_0x558e61(0x532),'extend':{'colorChannel1':_0x4d3e80}}),(0x0,r['jsx'])(t['MoreDownIcon'],{'className':(0x0,e[_0x558e61(0x3fc)])('univer-text-xs\x20univer-text-gray-600\x20univer-transition-transform\x20dark:!univer-text-gray-300',{'univer-rotate-180':_0x5afa53})})]})})})});}function Ve(_0x45fc90){const _0x167303=_0x2a77fc;var _0x50d4c7,_0x1c3e18;return(_0x50d4c7=(_0x1c3e18=_0x45fc90[_0x167303(0x240)])==null?void 0x0:_0x1c3e18[_0x167303(0x27e)])==null?s[_0x167303(0x17e)]['fillType']:_0x50d4c7;}function He(_0x1ae869){const _0x5d232f=_0x2a77fc;switch(_0x1ae869){case s[_0x5d232f(0x392)][_0x5d232f(0x290)]:return'radial';case s[_0x5d232f(0x392)]['Angular']:return _0x5d232f(0x26c);case s[_0x5d232f(0x392)][_0x5d232f(0x14f)]:return _0x5d232f(0x1ef);case s[_0x5d232f(0x392)][_0x5d232f(0x356)]:default:return'linear';}}function Ue(_0x5eef20){const _0x3ed73a=_0x2a77fc;switch(_0x5eef20){case _0x3ed73a(0x4b2):return s[_0x3ed73a(0x392)][_0x3ed73a(0x290)];case'angular':return s[_0x3ed73a(0x392)]['Angular'];case _0x3ed73a(0x1ef):return s[_0x3ed73a(0x392)]['Diamond'];default:return s[_0x3ed73a(0x392)][_0x3ed73a(0x356)];}}function We(_0x5c3aac,_0x2ace18,_0x30983b){const _0xdaa762=_0x2a77fc;var _0xaa5a2,_0x4420e8;let _0x2169d7=_0x5c3aac[_0xdaa762(0x240)];return{'type':He((_0xaa5a2=_0x2169d7==null?void 0x0:_0x2169d7['gradientType'])==null?s[_0xdaa762(0x17e)][_0xdaa762(0x369)]:_0xaa5a2),'angle':(_0x4420e8=_0x2169d7==null?void 0x0:_0x2169d7['gradientAngle'])==null?s['ShapeDefaultConfig'][_0xdaa762(0x5a2)]:_0x4420e8,'stops':_0x2169d7!=null&&_0x2169d7['gradientStops']&&_0x2169d7[_0xdaa762(0x461)][_0xdaa762(0x5a7)]>=0x2?_0x2169d7[_0xdaa762(0x461)][_0xdaa762(0x58d)](_0x39530f=>({'color':_0x39530f[_0xdaa762(0x15f)],'offset':_0x39530f['position']*0x64,'opacity':_0x39530f[_0xdaa762(0x476)]})):[{'color':_0x2ace18,'offset':0x0},{'color':_0x30983b,'offset':0x64}]};}function Ge(_0x104464){const _0x263eb6=_0x2a77fc;var _0x2b92d0,_0x2bbd13,_0x541e1f;let {shapeData:_0x3e3f29,disabled:_0x2ef81e,onUpdateShapeData:_0x3ec123}=_0x104464,_0xb83568=(0x0,a[_0x263eb6(0x3d8)])(i['LocaleService']),_0x499bdb=(0x0,a[_0x263eb6(0x3d8)])(i[_0x263eb6(0x11f)]),_0x26ea74=(0x0,a[_0x263eb6(0x3d8)])(i[_0x263eb6(0x2b2)]),_0x13e1a8=(0x0,n[_0x263eb6(0x40b)])(null),_0x57f999=_0x3e3f29['fill'],_0x552327=(_0x2b92d0=(_0x2bbd13=_0x57f999==null?void 0x0:_0x57f999[_0x263eb6(0x2cd)])==null?_0x57f999==null?void 0x0:_0x57f999[_0x263eb6(0x476)]:_0x2bbd13)==null?0x1:_0x2b92d0,_0x4b1a18=Math['round']((0x1-_0x552327)*0x64),_0x42a0f2=_0x57f999!=null&&_0x57f999[_0x263eb6(0x695)]&&/^(?:data:|https?:)/[_0x263eb6(0x3b1)](_0x57f999[_0x263eb6(0x695)])?_0x57f999['fillImageSource']:void 0x0,_0xcfac57=_0x22a551=>{const _0xc43274=_0x263eb6;var _0xda2bbf;_0x3ec123({'oldShapeData':{'fill':_0x57f999?{..._0x57f999}:void 0x0}},{'fill':{..._0x57f999,'fillType':s[_0xc43274(0x3c0)][_0xc43274(0x41d)],'imageFillMode':(_0xda2bbf=_0x57f999==null?void 0x0:_0x57f999[_0xc43274(0x12c)])==null?s['ImageFillModeEnum']['Stretch']:_0xda2bbf,..._0x22a551}});};return(0x0,r[_0x263eb6(0x576)])(_0x263eb6(0x488),{'className':_0x263eb6(0x659),'children':[(0x0,r[_0x263eb6(0x576)])(_0x263eb6(0x488),{'className':_0x263eb6(0x53b),'children':[(0x0,r[_0x263eb6(0x1a5)])(_0x263eb6(0x222),{'className':_0x263eb6(0x208),'children':_0xb83568['t'](_0x263eb6(0x370))}),(0x0,r[_0x263eb6(0x1a5)])(_0x263eb6(0x49d),{'ref':_0x13e1a8,'type':'file','accept':_0x263eb6(0x391),'className':_0x263eb6(0x658),'onChange':async _0x3fed19=>{const _0x718682=_0x263eb6;var _0x54dfc0;let _0x1cd7fe=(_0x54dfc0=_0x3fed19['target'][_0x718682(0x1b2)])==null?void 0x0:_0x54dfc0[0x0];if(!_0x1cd7fe)return;_0x3fed19['target'][_0x718682(0x4de)]='';let _0x255f68=await _0x26ea74['saveImage'](_0x1cd7fe);if(_0x255f68==null)return;let {imageSourceType:_0x36d6bc,source:_0x534572,base64Cache:_0x33ed00}=_0x255f68,{image:_0x687ab6}=await(0x0,o[_0x718682(0x258)])(_0x33ed00||'');_0x26ea74[_0x718682(0x2d3)](_0x534572,_0x36d6bc,_0x687ab6),_0xcfac57({'fillImageSource':_0x534572,'fillImageSourceType':_0x36d6bc,'imageOpacity':_0x552327});}}),(0x0,r[_0x263eb6(0x1a5)])(_0x263eb6(0x662),{'type':_0x263eb6(0x662),'disabled':_0x2ef81e,'onClick':()=>{const _0x3585cc=_0x263eb6;var _0x489796;return(_0x489796=_0x13e1a8[_0x3585cc(0x5d3)])==null?void 0x0:_0x489796['click']();},'className':_0x263eb6(0x651),'children':_0xb83568['t'](_0x263eb6(0x49e))})]}),_0x42a0f2&&(0x0,r[_0x263eb6(0x1a5)])(_0x263eb6(0x3b7),{'src':_0x42a0f2,'alt':'','className':'univer-h-14\x20univer-w-full\x20univer-rounded\x20univer-object-cover'}),(0x0,r['jsxs'])('div',{'className':_0x263eb6(0x53b),'children':[(0x0,r[_0x263eb6(0x1a5)])(_0x263eb6(0x222),{'className':_0x263eb6(0x208),'children':_0xb83568['t'](_0x263eb6(0x35f))}),(0x0,r[_0x263eb6(0x1a5)])(_0x263eb6(0x488),{'className':_0x263eb6(0x303),'children':(0x0,r[_0x263eb6(0x1a5)])(e['InputNumber'],{'className':_0x263eb6(0x556),'value':_0x4b1a18,'disabled':_0x2ef81e,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x4ebb29=>_0x4ebb29+'%','parser':_0x5ea937=>(_0x5ea937==null?void 0x0:_0x5ea937[_0x263eb6(0x282)]('%',''))||'','onChange':_0x2741ee=>{const _0x282e17=_0x263eb6;_0xcfac57({'imageOpacity':(0x64-Math[_0x282e17(0x693)](0x0,Math['min'](0x64,_0x2741ee==null?0x0:_0x2741ee)))/0x64}),_0x499bdb[_0x282e17(0x2f9)](i['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x499bdb[_0x263eb6(0x2f9)](i[_0x263eb6(0x446)],!0x0),'onBlur':()=>_0x499bdb['setContextValue'](i[_0x263eb6(0x446)],!0x1)})})]}),(0x0,r['jsx'])(e['Checkbox'],{'checked':(_0x541e1f=_0x57f999==null?void 0x0:_0x57f999[_0x263eb6(0x585)])==null?!0x1:_0x541e1f,'disabled':_0x2ef81e,'onChange':_0x41e815=>{_0xcfac57({'imageRotateWithShape':_0x41e815});},'children':(0x0,r[_0x263eb6(0x1a5)])('span',{'className':_0x263eb6(0x42b),'children':_0xb83568['t'](_0x263eb6(0x1d3))})})]});}function Ke(_0x4591d9){const _0x407b47=_0x2a77fc;var _0x20b480,_0x2ee110;let {titleKey:_0x45afd7,shapeData:_0x289127,disabled:_0xeed021,fallbackColor:_0x267a22=ye,fallbackGradientEndColor:_0x253ac1=_0x407b47(0x32b),onUpdateShapeData:_0xa43555}=_0x4591d9,_0x21c242=(0x0,a[_0x407b47(0x3d8)])(i[_0x407b47(0x64c)]),_0x488f27=_0x21c242['t'](_0x45afd7),[_0x490a02,_0x189608]=(0x0,n['useState'])(!0x1),{handleOpenChange:_0x23c53e,markInternalInteraction:_0x16b720}=Te(_0x189608),_0x412a26=_0x289127['fill'],_0x3c7b7a=Ve(_0x289127),_0x13b7db=(_0x20b480=_0x412a26==null?void 0x0:_0x412a26[_0x407b47(0x15f)])==null?_0x267a22:_0x20b480,_0x941cbe=_0x3102e9=>{_0xa43555({'oldShapeData':{'fill':_0x412a26?{..._0x412a26}:void 0x0}},{'fill':_0x3102e9});},_0x177d9d=()=>{const _0x22e9d2=_0x407b47;let _0x1165b5=We(_0x289127,_0x13b7db,_0x253ac1);return{..._0x412a26,'fillType':s[_0x22e9d2(0x3c0)]['GradientFill'],'color':_0x13b7db,'gradientType':Ue(_0x1165b5[_0x22e9d2(0x3db)]),'gradientAngle':_0x1165b5[_0x22e9d2(0x17d)],'gradientStops':_0x1165b5[_0x22e9d2(0x4c6)]['map'](_0x4b17a1=>({'position':_0x4b17a1[_0x22e9d2(0x194)]/0x64,'color':_0x4b17a1[_0x22e9d2(0x15f)],'opacity':_0x4b17a1[_0x22e9d2(0x476)]}))};};return(0x0,r[_0x407b47(0x1a5)])(e[_0x407b47(0x3a5)],{'disabled':_0xeed021,'open':_0x490a02,'onOpenChange':_0x23c53e,'overlay':(0x0,r[_0x407b47(0x1a5)])(_0x407b47(0x488),{'onPointerDownCapture':_0x3646b3=>{_0x16b720(),Q(_0x3646b3);},'onMouseDownCapture':_0x1ff5e1=>{_0x16b720(),Q(_0x1ff5e1);},'onPointerDown':$,'onMouseDown':$,'onClick':_0xb9c90e=>_0xb9c90e[_0x407b47(0x20e)](),'className':(0x0,e[_0x407b47(0x3fc)])('univer-w-[260px]',_0x407b47(0x4a3)),'children':(0x0,r['jsx'])(p,{'compact':!0x0,'disabled':_0xeed021,'direction':_0x21c242[_0x407b47(0x47e)](),'value':_0x3c7b7a,'typeValues':Ce,'color':_0x13b7db,'transparency':Math[_0x407b47(0x254)]((0x1-((_0x2ee110=_0x412a26==null?void 0x0:_0x412a26[_0x407b47(0x476)])==null?0x1:_0x2ee110))*0x64),'gradientValue':We(_0x289127,_0x13b7db,_0x253ac1),'labels':{'noFill':_0x21c242['t'](_0x407b47(0x19e)),'solidFill':_0x21c242['t'](_0x407b47(0x68f)),'gradientFill':_0x21c242['t']('shape-editor-ui.fill.gradientFill'),'pictureFill':_0x21c242['t'](_0x407b47(0x144)),'color':_0x21c242['t'](_0x407b47(0x3b2)),'transparency':_0x21c242['t']('shape-editor-ui.fill.transparency')},'tabLabels':{'noFill':_0x21c242['t'](_0x407b47(0x19e)),'solidFill':_0x21c242['t']('shape-editor-ui.fill.solidFill'),'gradientFill':_0x21c242['t'](_0x407b47(0x59b)),'pictureFill':_0x21c242['t'](_0x407b47(0x144))},'renderColorIcon':_0x45d40d=>(0x0,r[_0x407b47(0x1a5)])(t['ShapeBackgroundColorDoubleIcon'],{'className':_0x407b47(0x44e),'extend':{'colorChannel1':_0x45d40d}}),'onChange':_0x3bd195=>{const _0x479943=_0x407b47;if(_0x3bd195===s[_0x479943(0x3c0)]['NoFill'])_0x941cbe({..._0x412a26,'fillType':s['ShapeFillEnum'][_0x479943(0x30f)]});else{if(_0x3bd195===s['ShapeFillEnum'][_0x479943(0x18c)]){var _0x346edc;_0x941cbe({..._0x412a26,'fillType':s[_0x479943(0x3c0)]['SolidFill'],'color':_0x13b7db,'opacity':(_0x346edc=_0x412a26==null?void 0x0:_0x412a26[_0x479943(0x476)])==null?0x1:_0x346edc});}else{if(_0x3bd195===s['ShapeFillEnum'][_0x479943(0x624)])_0x941cbe(_0x177d9d());else{if(_0x3bd195===s[_0x479943(0x3c0)]['PictureFill']){var _0x8b3b24,_0x4ed567;_0x941cbe({..._0x412a26,'fillType':s[_0x479943(0x3c0)]['PictureFill'],'color':_0x13b7db,'imageOpacity':(_0x8b3b24=_0x412a26==null?void 0x0:_0x412a26['imageOpacity'])==null?0x1:_0x8b3b24,'imageFillMode':(_0x4ed567=_0x412a26==null?void 0x0:_0x412a26['imageFillMode'])==null?s[_0x479943(0x443)]['Stretch']:_0x4ed567});}}}}},'onColorChange':_0xcb2638=>{const _0x3741a5=_0x407b47;var _0x442247;_0x941cbe({..._0x412a26,'fillType':s[_0x3741a5(0x3c0)][_0x3741a5(0x18c)],'color':_0xcb2638,'opacity':(_0x442247=_0x412a26==null?void 0x0:_0x412a26[_0x3741a5(0x476)])==null?0x1:_0x442247});},'onTransparencyChange':_0x534557=>{const _0x3d9bd2=_0x407b47;_0x941cbe({..._0x412a26,'fillType':s[_0x3d9bd2(0x3c0)][_0x3d9bd2(0x18c)],'color':_0x13b7db,'opacity':(0x64-Math[_0x3d9bd2(0x693)](0x0,Math[_0x3d9bd2(0x256)](0x64,_0x534557)))/0x64});},'onGradientChange':_0x355a0b=>{const _0x426bc6=_0x407b47;_0x941cbe({..._0x412a26,'fillType':s[_0x426bc6(0x3c0)][_0x426bc6(0x624)],'color':_0x13b7db,'gradientType':Ue(_0x355a0b[_0x426bc6(0x3db)]),'gradientAngle':_0x355a0b[_0x426bc6(0x17d)],'gradientStops':_0x355a0b[_0x426bc6(0x4c6)][_0x426bc6(0x58d)](_0x9c1951=>({'position':_0x9c1951['offset']/0x64,'color':_0x9c1951[_0x426bc6(0x15f)],'opacity':_0x9c1951[_0x426bc6(0x476)]}))});},'pictureFillEditor':(0x0,r[_0x407b47(0x1a5)])(Ge,{'shapeData':_0x289127,'disabled':_0xeed021,'onUpdateShapeData':_0xa43555})})}),'children':(0x0,r['jsx'])(_0x407b47(0x222),{'children':(0x0,r[_0x407b47(0x1a5)])(e['Tooltip'],{'title':_0x488f27,'placement':'bottom','children':(0x0,r[_0x407b47(0x576)])(_0x407b47(0x662),{'type':_0x407b47(0x662),'disabled':_0xeed021,'className':(0x0,e['clsx'])(_0x407b47(0x179),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x490a02}),'children':[(0x0,r['jsx'])(t[_0x407b47(0x118)],{'className':'univer-text-xl','extend':{'colorChannel1':_0x3c7b7a===s['ShapeFillEnum'][_0x407b47(0x30f)]?_0x407b47(0x5b5):_0x13b7db}}),(0x0,r[_0x407b47(0x1a5)])(t['MoreDownIcon'],{'className':(0x0,e[_0x407b47(0x3fc)])(_0x407b47(0x20d),{'univer-rotate-180':_0x490a02})})]})})})});}function qe(_0x2c13f3){const _0x209de6=_0x2a77fc;switch(_0x2c13f3==null?void 0x0:_0x2c13f3[_0x209de6(0x3db)]){case _0x209de6(0x1da):return s[_0x209de6(0x3c0)][_0x209de6(0x30f)];case _0x209de6(0x1a9):return s[_0x209de6(0x3c0)][_0x209de6(0x624)];case _0x209de6(0x2b4):return s[_0x209de6(0x3c0)][_0x209de6(0x41d)];default:return s[_0x209de6(0x3c0)][_0x209de6(0x18c)];}}function Je(_0x3de4cd,_0x5ee93f){const _0xd24d58=_0x2a77fc;var _0x57a7d9,_0x4091c9,_0x29f1ec,_0x5755f5,_0x409c7a;return{'type':(_0x57a7d9=_0x3de4cd==null||(_0x4091c9=_0x3de4cd[_0xd24d58(0x1a9)])==null?void 0x0:_0x4091c9[_0xd24d58(0x3db)])==null?'linear':_0x57a7d9,'angle':(_0x29f1ec=_0x3de4cd==null||(_0x5755f5=_0x3de4cd[_0xd24d58(0x1a9)])==null?void 0x0:_0x5755f5[_0xd24d58(0x17d)])==null?0x0:_0x29f1ec,'stops':!(_0x3de4cd==null||(_0x409c7a=_0x3de4cd[_0xd24d58(0x1a9)])==null)&&_0x409c7a['stops']&&_0x3de4cd['gradient']['stops']['length']>=0x2?_0x3de4cd[_0xd24d58(0x1a9)][_0xd24d58(0x4c6)]['map'](_0x1b4e11=>({'color':_0x1b4e11[_0xd24d58(0x15f)],'offset':_0x1b4e11['offset'],'opacity':_0x1b4e11[_0xd24d58(0x476)]})):[{'color':_0x5ee93f,'offset':0x0},{'color':'#8B5CF6','offset':0x64}]};}function Ye(_0x91e7fb,_0x26d9e8){const _0x57b144=_0x2a77fc;var _0x5b4057,_0x2bd198,_0x45c234;return(_0x5b4057=_0x91e7fb[_0x57b144(0x152)])==null?{'type':_0x57b144(0x25e),'color':(_0x2bd198=(_0x45c234=_0x91e7fb['cl'])==null?void 0x0:_0x45c234[_0x57b144(0x1c7)])==null?_0x26d9e8:_0x2bd198,'opacity':0x1}:_0x5b4057;}function Xe(_0x478cd4,_0x2a56fd){const _0x1fd92b=_0x2a77fc;var _0x3be1cd,_0x3160c9,_0x50ae30;return(_0x3be1cd=(_0x3160c9=_0x478cd4[_0x1fd92b(0x15f)])==null?(_0x50ae30=_0x478cd4['gradient'])==null||(_0x50ae30=_0x50ae30[_0x1fd92b(0x4c6)])==null||(_0x50ae30=_0x50ae30[0x0])==null?void 0x0:_0x50ae30['color']:_0x3160c9)==null?_0x2a56fd:_0x3be1cd;}function Ze(_0x4c4c37){const _0x3d9d40=_0x2a77fc;var _0x3c62f8,_0x2e400d,_0x5a8224,_0xf53818;let {fill:_0x28d1c8,disabled:_0x4a0bff,onChange:_0xd30974}=_0x4c4c37,_0x7dc689=(0x0,a[_0x3d9d40(0x3d8)])(i[_0x3d9d40(0x64c)]),_0x440d99=(0x0,a[_0x3d9d40(0x3d8)])(i['IContextService']),_0x1f3e63=(0x0,a[_0x3d9d40(0x3d8)])(i['IImageIoService']),_0x1fe1e2=(0x0,n[_0x3d9d40(0x40b)])(null),_0x11098c=(_0x3c62f8=(_0x2e400d=(_0x5a8224=_0x28d1c8[_0x3d9d40(0x2b4)])==null?void 0x0:_0x5a8224[_0x3d9d40(0x476)])==null?_0x28d1c8[_0x3d9d40(0x476)]:_0x2e400d)==null?0x1:_0x3c62f8,_0x161f0e=Math[_0x3d9d40(0x254)]((0x1-_0x11098c)*0x64),_0x5afb01=(_0xf53818=_0x28d1c8[_0x3d9d40(0x2b4)])!=null&&_0xf53818[_0x3d9d40(0x5f2)]&&/^(?:data:|https?:)/[_0x3d9d40(0x3b1)](_0x28d1c8[_0x3d9d40(0x2b4)][_0x3d9d40(0x5f2)])?_0x28d1c8[_0x3d9d40(0x2b4)]['source']:void 0x0,_0x443a55=_0x1c47fb=>{const _0x449fc3=_0x3d9d40;var _0x1af781,_0x54f017;_0xd30974({..._0x28d1c8,'type':_0x449fc3(0x2b4),'picture':{..._0x28d1c8['picture'],'mode':(_0x1af781=(_0x54f017=_0x28d1c8['picture'])==null?void 0x0:_0x54f017[_0x449fc3(0x386)])==null?_0x449fc3(0x19b):_0x1af781,..._0x1c47fb}});};return(0x0,r['jsxs'])('div',{'className':_0x3d9d40(0x659),'children':[(0x0,r[_0x3d9d40(0x576)])(_0x3d9d40(0x488),{'className':_0x3d9d40(0x53b),'children':[(0x0,r[_0x3d9d40(0x1a5)])(_0x3d9d40(0x222),{'className':_0x3d9d40(0x208),'children':_0x7dc689['t'](_0x3d9d40(0x370))}),(0x0,r['jsx'])(_0x3d9d40(0x49d),{'ref':_0x1fe1e2,'type':_0x3d9d40(0x421),'accept':_0x3d9d40(0x391),'className':_0x3d9d40(0x658),'onChange':async _0x18afcd=>{const _0x1221f4=_0x3d9d40;var _0x45af4f;let _0x690935=(_0x45af4f=_0x18afcd[_0x1221f4(0x425)][_0x1221f4(0x1b2)])==null?void 0x0:_0x45af4f[0x0];if(!_0x690935)return;_0x18afcd[_0x1221f4(0x425)]['value']='';let _0x4f9d6c=await _0x1f3e63[_0x1221f4(0x54c)](_0x690935);if(_0x4f9d6c==null)return;let {imageSourceType:_0x4c3bc1,source:_0x5ed42f,base64Cache:_0x5d5e42}=_0x4f9d6c;_0x443a55({'source':_0x5d5e42||_0x5ed42f,'sourceType':_0x4c3bc1,'opacity':_0x11098c});}}),(0x0,r['jsx'])(_0x3d9d40(0x662),{'type':_0x3d9d40(0x662),'disabled':_0x4a0bff,'onClick':()=>{const _0x4f6581=_0x3d9d40;var _0x277a42;return(_0x277a42=_0x1fe1e2['current'])==null?void 0x0:_0x277a42[_0x4f6581(0x505)]();},'className':_0x3d9d40(0x651),'children':_0x7dc689['t'](_0x3d9d40(0x49e))})]}),_0x5afb01&&(0x0,r[_0x3d9d40(0x1a5)])('img',{'src':_0x5afb01,'alt':'','className':'univer-h-14\x20univer-w-full\x20univer-rounded\x20univer-object-cover'}),(0x0,r['jsxs'])('div',{'className':_0x3d9d40(0x53b),'children':[(0x0,r[_0x3d9d40(0x1a5)])(_0x3d9d40(0x222),{'className':'univer-shrink-0\x20univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x7dc689['t'](_0x3d9d40(0x35f))}),(0x0,r[_0x3d9d40(0x1a5)])('div',{'className':_0x3d9d40(0x303),'children':(0x0,r[_0x3d9d40(0x1a5)])(e[_0x3d9d40(0x168)],{'className':_0x3d9d40(0x556),'value':_0x161f0e,'disabled':_0x4a0bff,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x42566e=>_0x42566e+'%','parser':_0x27eb4f=>(_0x27eb4f==null?void 0x0:_0x27eb4f['replace']('%',''))||'','onChange':_0x18cd63=>{const _0x29f4a3=_0x3d9d40;_0x443a55({'opacity':(0x64-Math[_0x29f4a3(0x693)](0x0,Math[_0x29f4a3(0x256)](0x64,_0x18cd63==null?0x0:_0x18cd63)))/0x64}),_0x440d99['setContextValue'](i[_0x29f4a3(0x446)],!0x1);},'onFocus':()=>_0x440d99[_0x3d9d40(0x2f9)](i['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x440d99[_0x3d9d40(0x2f9)](i[_0x3d9d40(0x446)],!0x1)})})]})]});}function Qe(_0x231302){const _0x1053c2=_0x2a77fc;var _0x53ee5e;let {titleKey:_0x178ffe,textStyle:_0x553384,fallbackColor:_0x644e90,onChange:_0x10dd9d}=_0x231302,_0x354b02=(0x0,a[_0x1053c2(0x3d8)])(i[_0x1053c2(0x64c)]),_0x3c5986=_0x354b02['t'](_0x178ffe),[_0x4a0673,_0x14e0db]=(0x0,n[_0x1053c2(0x23e)])(!0x1),{handleOpenChange:_0x5e93b2,markInternalInteraction:_0x73f88f}=Te(_0x14e0db),_0x3e3e92=Ye(_0x553384,_0x644e90),_0x12d5d2=qe(_0x3e3e92),_0x3a736a=Xe(_0x3e3e92,_0x644e90),_0x115831=_0x1a637c=>{const _0x38dc23=_0x1053c2;_0x10dd9d({'cl':{'rgb':_0x1a637c[_0x38dc23(0x3db)]===_0x38dc23(0x1da)?'rgba(0,\x200,\x200,\x200)':Xe(_0x1a637c,_0x644e90)},'textFill':_0x1a637c});},_0x380a9b=()=>{const _0x4debd5=_0x1053c2;let _0x4901be=Je(_0x3e3e92,_0x3a736a);return{..._0x3e3e92,'type':_0x4debd5(0x1a9),'gradient':{'type':_0x4901be[_0x4debd5(0x3db)],'angle':_0x4901be[_0x4debd5(0x17d)],'stops':_0x4901be['stops'][_0x4debd5(0x58d)](_0x5e74ca=>({'offset':_0x5e74ca['offset'],'color':_0x5e74ca['color'],'opacity':_0x5e74ca[_0x4debd5(0x476)]}))}};};return(0x0,r[_0x1053c2(0x1a5)])(Me,{'title':_0x3c5986,'open':_0x4a0673,'icon':(0x0,r[_0x1053c2(0x1a5)])(t[_0x1053c2(0x396)],{'className':_0x1053c2(0x532),'extend':{'colorChannel1':_0x3a736a}}),'onApply':()=>{var _0x2b2a74;return _0x115831({..._0x3e3e92,'type':'solid','color':_0x3a736a,'opacity':(_0x2b2a74=_0x3e3e92['opacity'])==null?0x1:_0x2b2a74});},'onOpenChange':_0x5e93b2,'overlay':(0x0,r['jsx'])('div',{'onPointerDownCapture':_0x14d409=>{_0x73f88f(),Q(_0x14d409);},'onMouseDownCapture':_0x291387=>{_0x73f88f(),Q(_0x291387);},'onPointerDown':$,'onMouseDown':$,'onClick':_0x18cf7f=>_0x18cf7f[_0x1053c2(0x20e)](),'className':(0x0,e['clsx'])(_0x1053c2(0x688),_0x1053c2(0x4a3)),'children':(0x0,r[_0x1053c2(0x1a5)])(p,{'compact':!0x0,'direction':_0x354b02[_0x1053c2(0x47e)](),'value':_0x12d5d2,'typeValues':Ce,'color':_0x3a736a,'transparency':Math[_0x1053c2(0x254)]((0x1-((_0x53ee5e=_0x3e3e92[_0x1053c2(0x476)])==null?0x1:_0x53ee5e))*0x64),'gradientValue':Je(_0x3e3e92,_0x3a736a),'labels':{'noFill':_0x354b02['t'](_0x1053c2(0x19e)),'solidFill':_0x354b02['t']('shape-editor-ui.fill.solidFill'),'gradientFill':_0x354b02['t'](_0x1053c2(0x59b)),'pictureFill':_0x354b02['t']('shape-editor-ui.fill.pictureFill'),'color':_0x354b02['t']('shape-editor-ui.fill.color'),'transparency':_0x354b02['t'](_0x1053c2(0x35f))},'tabLabels':{'noFill':_0x354b02['t'](_0x1053c2(0x19e)),'solidFill':_0x354b02['t']('shape-editor-ui.fill.solidFill'),'gradientFill':_0x354b02['t'](_0x1053c2(0x59b)),'pictureFill':_0x354b02['t'](_0x1053c2(0x144))},'keepColorPickerOpenOnChange':!0x0,'onChange':_0xeb8ff6=>{const _0x36bba4=_0x1053c2;if(_0xeb8ff6===s[_0x36bba4(0x3c0)]['NoFill'])_0x115831({..._0x3e3e92,'type':'none'});else{if(_0xeb8ff6===s[_0x36bba4(0x3c0)][_0x36bba4(0x18c)]){var _0x3865ba;_0x115831({..._0x3e3e92,'type':_0x36bba4(0x25e),'color':_0x3a736a,'opacity':(_0x3865ba=_0x3e3e92['opacity'])==null?0x1:_0x3865ba});}else{if(_0xeb8ff6===s[_0x36bba4(0x3c0)]['GradientFill'])_0x115831(_0x380a9b());else{if(_0xeb8ff6===s[_0x36bba4(0x3c0)][_0x36bba4(0x41d)]){var _0x4c9112,_0x495e65,_0x6f71bd,_0x3c03bf;_0x115831({..._0x3e3e92,'type':_0x36bba4(0x2b4),'color':_0x3a736a,'picture':{..._0x3e3e92[_0x36bba4(0x2b4)],'opacity':(_0x4c9112=(_0x495e65=_0x3e3e92[_0x36bba4(0x2b4)])==null?void 0x0:_0x495e65[_0x36bba4(0x476)])==null?0x1:_0x4c9112,'mode':(_0x6f71bd=(_0x3c03bf=_0x3e3e92[_0x36bba4(0x2b4)])==null?void 0x0:_0x3c03bf[_0x36bba4(0x386)])==null?_0x36bba4(0x19b):_0x6f71bd}});}}}}},'onColorChange':_0x29d5be=>{const _0x19306e=_0x1053c2;var _0x309ad7;_0x115831({..._0x3e3e92,'type':_0x19306e(0x25e),'color':_0x29d5be,'opacity':(_0x309ad7=_0x3e3e92[_0x19306e(0x476)])==null?0x1:_0x309ad7});},'onTransparencyChange':_0x5883e0=>{const _0x42ac53=_0x1053c2;_0x115831({..._0x3e3e92,'type':_0x42ac53(0x25e),'color':_0x3a736a,'opacity':(0x64-Math[_0x42ac53(0x693)](0x0,Math[_0x42ac53(0x256)](0x64,_0x5883e0)))/0x64});},'onGradientChange':_0x4fdceb=>{const _0x535f2f=_0x1053c2;_0x115831({..._0x3e3e92,'type':_0x535f2f(0x1a9),'gradient':{'type':_0x4fdceb[_0x535f2f(0x3db)],'angle':_0x4fdceb[_0x535f2f(0x17d)],'stops':_0x4fdceb['stops'][_0x535f2f(0x58d)](_0x1c472a=>({'offset':_0x1c472a[_0x535f2f(0x194)],'color':_0x1c472a[_0x535f2f(0x15f)],'opacity':_0x1c472a[_0x535f2f(0x476)]}))}});},'pictureFillEditor':(0x0,r['jsx'])(Ze,{'fill':_0x3e3e92,'onChange':_0x115831})})})});}function $e(_0x2474c9){const _0x44aa7b=_0x2a77fc;let {titleKey:_0x2fe508,color:_0xdc711e,onApply:_0x264645,onReset:_0x2965ba,onChange:_0x14e43b}=_0x2474c9,_0x50f97d=(0x0,a[_0x44aa7b(0x3d8)])(i[_0x44aa7b(0x64c)]),_0x381011=_0x50f97d['t'](_0x2fe508),[_0x502dc3,_0x5e5ccd]=(0x0,n[_0x44aa7b(0x23e)])(!0x1),{handleOpenChange:_0x3f604c,markInternalInteraction:_0x32dec3}=Te(_0x5e5ccd);return(0x0,r['jsx'])(Me,{'title':_0x381011,'open':_0x502dc3,'icon':(0x0,r[_0x44aa7b(0x1a5)])(t[_0x44aa7b(0x5a9)],{'className':'univer-text-xl','extend':{'colorChannel1':_0xdc711e}}),'onApply':_0x264645,'onOpenChange':_0x3f604c,'popoverClassName':_0x44aa7b(0x33c),'overlay':(0x0,r[_0x44aa7b(0x576)])(_0x44aa7b(0x488),{'onPointerDownCapture':_0x346d42=>{_0x32dec3(),Q(_0x346d42);},'onMouseDownCapture':_0x4d42d7=>{_0x32dec3(),Q(_0x4d42d7);},'onPointerDown':$,'onMouseDown':$,'onClick':_0x1709e5=>_0x1709e5[_0x44aa7b(0x20e)](),'className':_0x44aa7b(0x3a9),'children':[_0x2965ba&&(0x0,r[_0x44aa7b(0x1a5)])(_0x44aa7b(0x662),{'type':_0x44aa7b(0x662),'onClick':()=>{_0x2965ba(),_0x5e5ccd(!0x1);},'className':_0x44aa7b(0x524),'children':_0x50f97d['t'](_0x44aa7b(0x173))}),(0x0,r[_0x44aa7b(0x1a5)])(e[_0x44aa7b(0x533)],{'value':_0xdc711e,'onChange':_0x467969=>{_0x14e43b(_0x467969),_0x5e5ccd(!0x1);}})]})});}function et(_0x34dcbe){const _0x178979=_0x2a77fc;let {titleKey:_0x3ba60b,textStyle:_0x45891c,horizontalAlign:_0x21d527,verticalAlign:_0x2d51c0,horizontalAlignOptions:_0x343c80,verticalAlignOptions:_0x3f44c7,onUpdateText:_0xd2eb4}=_0x34dcbe,_0x2f060d=(0x0,a[_0x178979(0x3d8)])(i[_0x178979(0x64c)]),_0x12afdc=_0x2f060d['t'](_0x3ba60b),[_0x52ba61,_0x341a2d]=(0x0,n['useState'])(!0x1),{handleOpenChange:_0x2f0d70,markInternalInteraction:_0x3d5af0}=Te(_0x341a2d),_0x3a58f2=[{'key':_0x178979(0x202),'title':_0x2f060d['t'](_0x178979(0x218)),'active':_0x45891c[_0x178979(0x1bd)],'icon':(0x0,r['jsx'])(t[_0x178979(0x140)],{}),'onClick':()=>_0xd2eb4({'textStyle':{'bl':_0x45891c[_0x178979(0x1bd)]?i['BooleanNumber']['FALSE']:i['BooleanNumber'][_0x178979(0x577)]}})},{'key':_0x178979(0x38f),'title':_0x2f060d['t'](_0x178979(0x29c)),'active':_0x45891c[_0x178979(0x332)],'icon':(0x0,r[_0x178979(0x1a5)])(t[_0x178979(0x2df)],{}),'onClick':()=>_0xd2eb4({'textStyle':{'it':_0x45891c['isItalic']?i[_0x178979(0x24c)]['FALSE']:i[_0x178979(0x24c)]['TRUE']}})},{'key':_0x178979(0x3a7),'title':_0x2f060d['t'](_0x178979(0x5ae)),'active':_0x45891c[_0x178979(0x289)],'icon':(0x0,r['jsx'])(t[_0x178979(0x4b3)],{}),'onClick':()=>_0xd2eb4({'textStyle':{'ul':{'s':_0x45891c[_0x178979(0x289)]?i[_0x178979(0x24c)][_0x178979(0x5d7)]:i[_0x178979(0x24c)]['TRUE']}}})},{'key':'strikethrough','title':_0x2f060d['t'](_0x178979(0x3be)),'active':_0x45891c['isStrike'],'icon':(0x0,r[_0x178979(0x1a5)])(t[_0x178979(0x548)],{}),'onClick':()=>_0xd2eb4({'textStyle':{'st':{'s':_0x45891c[_0x178979(0x32e)]?i[_0x178979(0x24c)]['FALSE']:i[_0x178979(0x24c)][_0x178979(0x577)]}}})}],_0x41425f=_0x5acfc9=>(0x0,r[_0x178979(0x1a5)])(e[_0x178979(0x2e3)],{'title':_0x5acfc9[_0x178979(0x1e4)],'placement':_0x178979(0x4ed),'children':(0x0,r['jsx'])(_0x178979(0x662),{'type':_0x178979(0x662),'aria-label':_0x5acfc9[_0x178979(0x1e4)],'onClick':_0x5acfc9[_0x178979(0x24f)],'className':(0x0,e[_0x178979(0x3fc)])(_0x178979(0x203),{'univer-border-primary-600\x20univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x5acfc9[_0x178979(0x4d5)]}),'children':_0x5acfc9[_0x178979(0x1fa)]})},String(_0x5acfc9['key']));return(0x0,r['jsx'])(e[_0x178979(0x3a5)],{'open':_0x52ba61,'onOpenChange':_0x2f0d70,'overlay':(0x0,r['jsx'])(_0x178979(0x488),{'onPointerDownCapture':_0x10d0e3=>{_0x3d5af0(),Q(_0x10d0e3);},'onMouseDownCapture':_0xdd9cbf=>{_0x3d5af0(),Q(_0xdd9cbf);},'onPointerDown':$,'onMouseDown':$,'onClick':_0x4610bb=>_0x4610bb['stopPropagation'](),'className':(0x0,e[_0x178979(0x3fc)])(_0x178979(0x373),_0x178979(0x187)),'children':(0x0,r[_0x178979(0x576)])('div',{'className':_0x178979(0x236),'children':[(0x0,r[_0x178979(0x1a5)])(_0x178979(0x488),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':_0x3a58f2[_0x178979(0x58d)](_0x41425f)}),(0x0,r[_0x178979(0x1a5)])(e[_0x178979(0x409)],{}),(0x0,r['jsx'])(_0x178979(0x488),{'data-u-comp':'typography-horizontal-align-row','className':_0x178979(0x45d),'children':_0x343c80[_0x178979(0x58d)](_0x33f626=>_0x41425f({'key':_0x33f626[_0x178979(0x4de)],'title':_0x33f626[_0x178979(0x2fb)],'active':_0x33f626[_0x178979(0x4de)]===_0x21d527,'icon':_0x33f626[_0x178979(0x1fa)],'onClick':()=>_0xd2eb4({'horizontalAlign':_0x33f626[_0x178979(0x4de)]})}))}),(0x0,r[_0x178979(0x1a5)])(_0x178979(0x488),{'data-u-comp':'typography-vertical-align-row','className':_0x178979(0x45d),'children':_0x3f44c7[_0x178979(0x58d)](_0x347ba8=>_0x41425f({'key':_0x347ba8['value'],'title':_0x347ba8[_0x178979(0x2fb)],'active':_0x347ba8[_0x178979(0x4de)]===_0x2d51c0,'icon':_0x347ba8[_0x178979(0x1fa)],'onClick':()=>_0xd2eb4({'verticalAlign':_0x347ba8['value']})}))})]})}),'children':(0x0,r['jsx'])('span',{'children':(0x0,r[_0x178979(0x1a5)])(e[_0x178979(0x2e3)],{'title':_0x12afdc,'placement':'bottom','children':(0x0,r[_0x178979(0x576)])(_0x178979(0x662),{'type':_0x178979(0x662),'aria-label':_0x12afdc,'className':(0x0,e[_0x178979(0x3fc)])(_0x178979(0x28c),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x52ba61}),'children':[(0x0,r[_0x178979(0x1a5)])(t[_0x178979(0x434)],{'className':'univer-text-base'}),(0x0,r[_0x178979(0x1a5)])(t['MoreDownIcon'],{'className':(0x0,e[_0x178979(0x3fc)])(_0x178979(0x20d),{'univer-rotate-180':_0x52ba61})})]})})})});}function tt(_0x560301){const _0x3ee312=_0x2a77fc;var _0x130eaa;let _0x45a80a=(0x0,a['useDependency'])(i['LocaleService']),_0x394805=(0x0,a[_0x3ee312(0x25f)])(_0x45a80a[_0x3ee312(0x30e)],_0x45a80a[_0x3ee312(0x47e)]()),_0x15b411=_0x560301[_0x3ee312(0x13b)]?_0x45a80a['t'](_0x560301[_0x3ee312(0x13b)]):_0x560301['title'];return(0x0,r[_0x3ee312(0x576)])(_0x3ee312(0x488),{'dir':_0x394805,'data-u-comp':_0x3ee312(0x22d),'onPointerDownCapture':Q,'onMouseDownCapture':Q,'onPointerDown':$,'onMouseDown':$,'onClick':_0x3f3f56=>_0x3f3f56['stopPropagation'](),'className':(0x0,e[_0x3ee312(0x3fc)])(_0x3ee312(0x252),(_0x130eaa=_0x560301[_0x3ee312(0x595)])==null?_0x3ee312(0x232):_0x130eaa,_0x560301[_0x3ee312(0x458)]),'children':[_0x15b411&&(0x0,r['jsx'])(_0x3ee312(0x488),{'className':_0x3ee312(0x101),'children':_0x15b411}),_0x560301[_0x3ee312(0x284)]]});}function nt(_0x2b259f){const _0x1eb83a=_0x2a77fc;var _0x4c65b0;let _0x49b7d2=(0x0,a[_0x1eb83a(0x3d8)])(i[_0x1eb83a(0x64c)]),_0x55083a=_0x2b259f[_0x1eb83a(0x65e)]?_0x49b7d2['t'](_0x2b259f[_0x1eb83a(0x65e)]):(_0x4c65b0=_0x2b259f[_0x1eb83a(0x2fb)])==null?'':_0x4c65b0;return(0x0,r['jsx'])(e['Tooltip'],{'title':_0x55083a,'placement':'bottom','children':(0x0,r['jsx'])(_0x1eb83a(0x222),{'className':_0x1eb83a(0x5b3),'children':(0x0,r[_0x1eb83a(0x576)])('button',{'type':'button','aria-label':_0x55083a,'disabled':_0x2b259f['disabled'],'onClick':_0x1b886d=>{const _0x4b8116=_0x1eb83a;_0x1b886d[_0x4b8116(0x20e)](),_0x2b259f[_0x4b8116(0x24f)]();},'className':_0x1eb83a(0x64f),'children':[(0x0,r[_0x1eb83a(0x1a5)])(_0x1eb83a(0x222),{'className':'univer-leading-none','children':_0x55083a}),_0x2b259f[_0x1eb83a(0x58f)]&&(0x0,r['jsx'])(_0x1eb83a(0x222),{'className':_0x1eb83a(0x545),'children':_0x2b259f[_0x1eb83a(0x58f)]})]})})});}function rt(_0x265d28){const _0x4f3aca=_0x2a77fc;var _0xeba17c;let [_0x3e33fb,_0xa760f8]=(0x0,n[_0x4f3aca(0x23e)])(!0x1),_0x21dd78=(_0xeba17c=_0x265d28[_0x4f3aca(0x668)][_0x4f3aca(0x17b)](_0x4abd88=>_0x4abd88['value']===_0x265d28[_0x4f3aca(0x4de)]))==null?_0x265d28['options'][0x0]:_0xeba17c;return _0x21dd78?(0x0,r['jsx'])(e[_0x4f3aca(0x3a5)],{'open':_0x3e33fb,'onOpenChange':_0xa760f8,'overlay':(0x0,r['jsx'])(_0x4f3aca(0x488),{'className':_0x4f3aca(0x50a),'children':_0x265d28[_0x4f3aca(0x668)][_0x4f3aca(0x58d)](_0xb9361c=>(0x0,r[_0x4f3aca(0x576)])(_0x4f3aca(0x662),{'type':_0x4f3aca(0x662),'aria-label':_0xb9361c[_0x4f3aca(0x2fb)],'onClick':()=>{const _0xb36a66=_0x4f3aca;_0x265d28['onChange'](_0xb9361c[_0xb36a66(0x4de)]),_0xa760f8(!0x1);},'className':(0x0,e[_0x4f3aca(0x3fc)])(_0x4f3aca(0x349),{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0xb9361c[_0x4f3aca(0x4de)]===_0x265d28[_0x4f3aca(0x4de)]}),'children':[(0x0,r[_0x4f3aca(0x1a5)])('span',{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','children':_0xb9361c['icon']}),(0x0,r[_0x4f3aca(0x1a5)])('span',{'className':_0x4f3aca(0x160),'children':_0xb9361c[_0x4f3aca(0x2fb)]})]},_0xb9361c[_0x4f3aca(0x4de)]))}),'children':(0x0,r[_0x4f3aca(0x1a5)])(_0x4f3aca(0x222),{'children':(0x0,r[_0x4f3aca(0x1a5)])(Ae,{'title':_0x265d28[_0x4f3aca(0x1e4)],'icon':_0x21dd78[_0x4f3aca(0x1fa)],'active':_0x3e33fb})})}):null;}function it(_0x30e163){const _0x2df683=_0x2a77fc;let {action:_0x41afc5}=_0x30e163,_0x22764a=_0x41afc5[_0x2df683(0x3db)]===_0x2df683(0x4f8)?t[_0x2df683(0x4a2)]:t['UngroupIcon'];return(0x0,r[_0x2df683(0x1a5)])(ke,{'title':_0x41afc5[_0x2df683(0x2fb)],'onClick':_0x41afc5[_0x2df683(0x24f)],'children':(0x0,r['jsx'])(_0x22764a,{})});}function at(_0x225152){const _0xb6421b=_0x2a77fc;let {actions:_0x1ed7a7}=_0x225152,[_0x3b517a,_0x217191]=(0x0,n[_0xb6421b(0x23e)])(!0x1),{handleOpenChange:_0x234f3b,markInternalInteraction:_0x275cbb}=Te(_0x217191);return(0x0,r[_0xb6421b(0x1a5)])(e['Dropdown'],{'open':_0x3b517a,'onOpenChange':_0x234f3b,'overlay':(0x0,r['jsx'])(_0xb6421b(0x488),{'onPointerDownCapture':_0xe6cfca=>{_0x275cbb(),Q(_0xe6cfca);},'onMouseDownCapture':_0x4617ed=>{_0x275cbb(),Q(_0x4617ed);},'onPointerDown':$,'onMouseDown':$,'onClick':_0xca169f=>_0xca169f[_0xb6421b(0x20e)](),'className':_0xb6421b(0x2af),'children':(0x0,r[_0xb6421b(0x576)])(tt,{'className':_0xb6421b(0x224),'minWidthClassName':_0xb6421b(0x610),'children':[(0x0,r[_0xb6421b(0x1a5)])(nt,{'label':_0x1ed7a7[_0xb6421b(0x448)],'onClick':()=>{const _0x5a3977=_0xb6421b;_0x1ed7a7[_0x5a3977(0x32f)](),_0x217191(!0x1);}}),(0x0,r['jsx'])(nt,{'label':_0x1ed7a7[_0xb6421b(0x689)],'onClick':_0x1ed7a7[_0xb6421b(0x39d)]}),(0x0,r[_0xb6421b(0x1a5)])(nt,{'label':_0x1ed7a7[_0xb6421b(0x638)],'onClick':_0x1ed7a7[_0xb6421b(0x192)]}),(0x0,r[_0xb6421b(0x1a5)])(nt,{'label':_0x1ed7a7[_0xb6421b(0x1ec)],'onClick':()=>{const _0x59985e=_0xb6421b;_0x1ed7a7[_0x59985e(0x5fc)](),_0x217191(!0x1);}})]})}),'children':(0x0,r[_0xb6421b(0x1a5)])('span',{'children':(0x0,r[_0xb6421b(0x1a5)])(e[_0xb6421b(0x2e3)],{'title':_0x1ed7a7[_0xb6421b(0x1e4)],'placement':_0xb6421b(0x1a8),'children':(0x0,r[_0xb6421b(0x576)])('button',{'type':'button','aria-label':_0x1ed7a7['title'],'className':(0x0,e['clsx'])(_0xb6421b(0x58a),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x3b517a}),'children':[(0x0,r[_0xb6421b(0x1a5)])(t[_0xb6421b(0x109)],{}),(0x0,r[_0xb6421b(0x1a5)])(t[_0xb6421b(0x3ba)],{'className':(0x0,e[_0xb6421b(0x3fc)])('univer-text-xs\x20univer-text-gray-600\x20univer-transition-transform\x20dark:!univer-text-gray-300',{'univer-rotate-180':_0x3b517a})})]})})})});}function ot(_0x1f9abd){const _0x32a4a6=_0x2a77fc;var _0x2d22d2,_0xfe594b,_0x27263d,_0x4fc102,_0x38b8a0,_0x1b35ff,_0x5d425b,_0xb2b4d0,_0x192e41,_0x5e757b,_0x4fb83b,_0x40a649;let {shapeData:_0x2a9eb1,shapeType:_0x2b4d54,textStyle:_0x7a2a4e,textModel:_0x1467e9,wrappingStyle:_0x5a4bf7,wrappingStyleOptions:_0x5a0ac6,enableShapeStrokeReset:_0x40535f=!0x1,enableTextBackgroundReset:_0xe0f670=!0x1,enableTextControls:_0x2198cf=!0x0,deferUntilCollapsedStateLoaded:_0xb8e141=!0x1,defaultFillColor:_0xf03fc6=ye,defaultGradientEndColor:_0x17d4a2=_0x32a4a6(0x32b),defaultStrokeColor:_0x39ef29=be,onUpdateShapeData:_0x721a60,onUpdateText:_0x4ea8aa,onUpdateWrappingStyle:_0x1eff30,groupAction:_0x16cbc8,layerActions:_0x47c924,extensionGroups:_0x5515f5,onOpenPanel:_0x308aad,onDelete:_0x473a2d}=_0x1f9abd,_0x3e9c67=(0x0,a[_0x32a4a6(0x3d8)])(i[_0x32a4a6(0x64c)]),_0x88e7de=(0x0,a[_0x32a4a6(0x25f)])(_0x3e9c67[_0x32a4a6(0x30e)],_0x3e9c67[_0x32a4a6(0x47e)]()),_0x29b471=(0x0,a[_0x32a4a6(0x3d8)])(i['IContextService']),_0x5ea403=(0x0,a[_0x32a4a6(0x3d8)])(i[_0x32a4a6(0x33f)]),_0x14f7ce=(0x0,a[_0x32a4a6(0x3d8)])(i[_0x32a4a6(0x4fe)]),[_0x4819dc,_0x2b31b5]=(0x0,n['useState'])(!0x1),[_0x38ec7b,_0x23c1d7]=(0x0,n[_0x32a4a6(0x23e)])(!0x1);(0x0,n[_0x32a4a6(0x6a1)])(()=>{const _0x445202=_0x32a4a6;let _0x3d2675=!0x1;return _0x5ea403[_0x445202(0x167)](Se)[_0x445202(0x228)](_0x3e0c30=>{const _0x1d8543=_0x445202;!_0x3d2675&&typeof _0x3e0c30==_0x1d8543(0x30b)&&_0x2b31b5(_0x3e0c30);})[_0x445202(0x449)](()=>void 0x0)[_0x445202(0x440)](()=>{_0x3d2675||_0x23c1d7(!0x0);}),()=>{_0x3d2675=!0x0;};},[_0x5ea403]);let _0xe365cd=_0x4f0581=>{const _0x33b384=_0x32a4a6;_0x2b31b5(_0x4f0581),_0x5ea403[_0x33b384(0x4ca)](Se,_0x4f0581)[_0x33b384(0x449)](()=>void 0x0);},_0x5384f8=!!_0x2a9eb1&&_0x2b4d54!==void 0x0,_0x4cea86=_0x5384f8&&_0x2198cf,_0xdcf972=!!_0x16cbc8||!!_0x47c924,_0x353f5b=(_0x5515f5==null?[]:_0x5515f5)[_0x32a4a6(0x1de)](_0xcad59d=>_0xcad59d[_0x32a4a6(0x213)]!==!0x1)[_0x32a4a6(0x58d)](_0xa1a8ab=>({..._0xa1a8ab,'actions':_0xa1a8ab[_0x32a4a6(0x3f9)][_0x32a4a6(0x1de)](_0x1e2960=>_0x1e2960[_0x32a4a6(0x213)]!==!0x1)}))[_0x32a4a6(0x1de)](_0x2cc5ec=>_0x2cc5ec['actions'][_0x32a4a6(0x5a7)]>0x0),_0x10bcba=_0x353f5b['length']>0x0,_0x40eada=_0x2b4d54!==void 0x0&&(0x0,s['isConnectorShape'])(_0x2b4d54),_0x47fcf9=(_0x2d22d2=(_0xfe594b=_0x7a2a4e['cl'])==null?void 0x0:_0xfe594b[_0x32a4a6(0x1c7)])==null?xe:_0x2d22d2,_0x2637ee=(_0x27263d=(_0x4fc102=_0x7a2a4e['bg'])==null?void 0x0:_0x4fc102[_0x32a4a6(0x1c7)])==null?_0x14f7ce[_0x32a4a6(0x4b4)](_0x32a4a6(0x59c)):_0x27263d,_0x36dcaf=(_0x38b8a0=_0x7a2a4e['ff'])==null?_0x32a4a6(0x1ff):_0x38b8a0,_0x148f9a=(_0x1b35ff=_0x7a2a4e['fs'])==null?0xe:_0x1b35ff,_0x417847=_0x7a2a4e['bl']===i['BooleanNumber'][_0x32a4a6(0x577)],_0x4808a5=_0x7a2a4e['it']===i['BooleanNumber'][_0x32a4a6(0x577)],_0x5858c3=((_0x5d425b=_0x7a2a4e['ul'])==null?void 0x0:_0x5d425b['s'])===i[_0x32a4a6(0x24c)][_0x32a4a6(0x577)],_0x1a3947=((_0xb2b4d0=_0x7a2a4e['st'])==null?void 0x0:_0xb2b4d0['s'])===i[_0x32a4a6(0x24c)][_0x32a4a6(0x577)],_0x191e9a=(_0x192e41=_0x1467e9==null?void 0x0:_0x1467e9['ha'])==null?i[_0x32a4a6(0x546)][_0x32a4a6(0x381)]:_0x192e41,_0x39e314=(_0x5e757b=_0x1467e9==null?void 0x0:_0x1467e9['va'])==null?i[_0x32a4a6(0x225)][_0x32a4a6(0x51e)]:_0x5e757b,_0x9f8dc7=[{'label':_0x3e9c67['t'](_0x32a4a6(0x231)),'value':i[_0x32a4a6(0x546)][_0x32a4a6(0x381)],'icon':(0x0,r[_0x32a4a6(0x1a5)])(t[_0x32a4a6(0x64e)],{})},{'label':_0x3e9c67['t'](_0x32a4a6(0x690)),'value':i[_0x32a4a6(0x546)][_0x32a4a6(0x429)],'icon':(0x0,r[_0x32a4a6(0x1a5)])(t['HorizontallyIcon'],{})},{'label':_0x3e9c67['t']('shape-editor-ui.toolbar.alignRight'),'value':i[_0x32a4a6(0x546)][_0x32a4a6(0x5c8)],'icon':(0x0,r['jsx'])(t[_0x32a4a6(0x497)],{})},{'label':_0x3e9c67['t'](_0x32a4a6(0x3cc)),'value':i[_0x32a4a6(0x546)][_0x32a4a6(0x57a)],'icon':(0x0,r[_0x32a4a6(0x1a5)])(t[_0x32a4a6(0x4cc)],{})}],_0x8f90b4=[{'label':_0x3e9c67['t'](_0x32a4a6(0x3d7)),'value':i['VerticalAlign'][_0x32a4a6(0x51e)],'icon':(0x0,r[_0x32a4a6(0x1a5)])(t[_0x32a4a6(0x127)],{})},{'label':_0x3e9c67['t'](_0x32a4a6(0x1ca)),'value':i[_0x32a4a6(0x225)][_0x32a4a6(0x412)],'icon':(0x0,r[_0x32a4a6(0x1a5)])(t[_0x32a4a6(0x3ca)],{})},{'label':_0x3e9c67['t'](_0x32a4a6(0x5fd)),'value':i[_0x32a4a6(0x225)][_0x32a4a6(0x1e7)],'icon':(0x0,r[_0x32a4a6(0x1a5)])(t[_0x32a4a6(0x3e2)],{})}];return!_0x5384f8&&!_0xdcf972&&!_0x10bcba&&!_0x308aad&&!_0x473a2d||_0xb8e141&&!_0x38ec7b?null:_0x4819dc?(0x0,r[_0x32a4a6(0x1a5)])(_0x32a4a6(0x662),{'type':_0x32a4a6(0x662),'dir':_0x88e7de,'style':{'direction':_0x88e7de},'data-u-comp':'shape-floating-toolbar-collapsed','aria-label':_0x3e9c67['t'](_0x32a4a6(0x588)),'onMouseDown':$,'onClick':()=>_0xe365cd(!0x1),'className':_0x32a4a6(0x3df),'children':(0x0,r['jsx'])(t[_0x32a4a6(0x3f3)],{'className':_0x32a4a6(0x559)})}):(0x0,r[_0x32a4a6(0x576)])(_0x32a4a6(0x488),{'data-u-comp':_0x32a4a6(0x5df),'dir':_0x88e7de,'style':{'direction':_0x88e7de},'className':_0x32a4a6(0x484),'children':[(0x0,r[_0x32a4a6(0x1a5)])(_0x32a4a6(0x662),{'type':_0x32a4a6(0x662),'aria-label':_0x3e9c67['t']('shape-editor-ui.toolbar.collapseShapeToolbar'),'onMouseDown':$,'onClick':()=>_0xe365cd(!0x0),'className':_0x32a4a6(0x671),'children':(0x0,r[_0x32a4a6(0x1a5)])(t[_0x32a4a6(0x3f3)],{'className':_0x32a4a6(0x3e7)})}),(0x0,r[_0x32a4a6(0x576)])(Oe,{'children':[_0x5384f8&&(0x0,r[_0x32a4a6(0x576)])(r['Fragment'],{'children':[(0x0,r[_0x32a4a6(0x576)])(De,{'children':[(0x0,r[_0x32a4a6(0x1a5)])(Ke,{'titleKey':'shape-editor-ui.fill.title','shapeData':_0x2a9eb1,'disabled':_0x40eada,'fallbackColor':_0xf03fc6,'fallbackGradientEndColor':_0x17d4a2,'onUpdateShapeData':_0x721a60}),(0x0,r['jsx'])(Be,{'titleKey':_0x32a4a6(0x251),'shapeData':_0x2a9eb1,'fallbackColor':_0x39ef29,'onReset':_0x40535f?()=>{const _0x1b86c7=_0x32a4a6;_0x721a60({'oldShapeData':{'stroke':_0x2a9eb1[_0x1b86c7(0x4ea)]}},{'stroke':{..._0x2a9eb1[_0x1b86c7(0x4ea)],'lineStrokeType':s[_0x1b86c7(0x2d0)][_0x1b86c7(0x217)]}});}:void 0x0,'onUpdateShapeData':_0x721a60})]}),_0x5384f8&&_0x4cea86&&(0x0,r['jsxs'])(r['Fragment'],{'children':[(0x0,r[_0x32a4a6(0x1a5)])(e['Separator'],{'orientation':_0x32a4a6(0x551)}),(0x0,r[_0x32a4a6(0x576)])(De,{'children':[(0x0,r[_0x32a4a6(0x1a5)])(a[_0x32a4a6(0x59d)],{'className':_0x32a4a6(0x347),'inputClassName':_0x32a4a6(0x556),'popupDataComponent':_0x32a4a6(0x520),'title':_0x36dcaf,'value':_0x36dcaf,'onChange':_0xec234a=>_0x4ea8aa({'textStyle':{'ff':_0xec234a}}),'onMouseDown':$,'onPointerDown':$}),(0x0,r[_0x32a4a6(0x1a5)])(je,{'value':String(_0x148f9a),'onChange':_0x34ca1d=>{_0x4ea8aa({'textStyle':{'fs':_0x34ca1d}});},'onAfterChange':()=>{const _0x5cae03=_0x32a4a6;_0x29b471[_0x5cae03(0x2f9)](i['FOCUSING_PANEL_EDITOR'],!0x1);}}),(0x0,r['jsx'])(et,{'titleKey':_0x32a4a6(0x135),'textStyle':{'isBold':_0x417847,'isItalic':_0x4808a5,'isUnderline':_0x5858c3,'isStrike':_0x1a3947},'horizontalAlign':_0x191e9a,'verticalAlign':_0x39e314,'horizontalAlignOptions':_0x9f8dc7,'verticalAlignOptions':_0x8f90b4,'onUpdateText':_0x4ea8aa})]}),(0x0,r[_0x32a4a6(0x1a5)])(e[_0x32a4a6(0x409)],{'orientation':_0x32a4a6(0x551)}),(0x0,r[_0x32a4a6(0x576)])(De,{'children':[(0x0,r['jsx'])(Qe,{'titleKey':_0x32a4a6(0x338),'textStyle':_0x7a2a4e,'fallbackColor':_0x47fcf9,'onChange':_0x37d0f8=>_0x4ea8aa({'textStyle':_0x37d0f8})}),(0x0,r[_0x32a4a6(0x1a5)])($e,{'titleKey':_0x32a4a6(0x221),'color':_0x2637ee,'onApply':()=>_0x4ea8aa({'textStyle':{'bg':{'rgb':_0x2637ee}}}),'onReset':_0xe0f670?()=>_0x4ea8aa({'textStyle':{'bg':{'rgb':null}}}):void 0x0,'onChange':_0x12e45d=>_0x4ea8aa({'textStyle':{'bg':{'rgb':_0x12e45d}}})})]})]})]}),_0x5384f8&&_0x5a4bf7!==void 0x0&&_0x5a0ac6&&_0x1eff30&&(0x0,r[_0x32a4a6(0x576)])(r[_0x32a4a6(0x50e)],{'children':[(0x0,r[_0x32a4a6(0x1a5)])(e['Separator'],{'orientation':'vertical'}),(0x0,r[_0x32a4a6(0x1a5)])(De,{'children':(0x0,r[_0x32a4a6(0x1a5)])(rt,{'title':(_0x4fb83b=(_0x40a649=_0x5a0ac6[_0x32a4a6(0x17b)](_0x40f844=>_0x40f844['value']===_0x5a4bf7))==null?void 0x0:_0x40a649[_0x32a4a6(0x2fb)])==null?_0x3e9c67['t']('shape-editor-ui.textWrap.inline'):_0x4fb83b,'value':_0x5a4bf7,'options':_0x5a0ac6,'onChange':_0x1eff30})})]}),_0xdcf972&&(0x0,r[_0x32a4a6(0x576)])(r[_0x32a4a6(0x50e)],{'children':[(0x0,r[_0x32a4a6(0x1a5)])(e['Separator'],{'orientation':_0x32a4a6(0x551)}),(0x0,r['jsxs'])(De,{'children':[_0x16cbc8&&(0x0,r[_0x32a4a6(0x1a5)])(it,{'action':_0x16cbc8}),_0x47c924&&(0x0,r[_0x32a4a6(0x1a5)])(at,{'actions':_0x47c924})]})]}),(_0x308aad||_0x473a2d)&&(0x0,r['jsxs'])(r[_0x32a4a6(0x50e)],{'children':[(0x0,r[_0x32a4a6(0x1a5)])(e[_0x32a4a6(0x409)],{'orientation':_0x32a4a6(0x551)}),(0x0,r['jsxs'])(De,{'children':[_0x308aad&&(0x0,r['jsx'])(ke,{'titleKey':_0x32a4a6(0x2ec),'onClick':()=>{_0x308aad();},'children':(0x0,r[_0x32a4a6(0x1a5)])(t[_0x32a4a6(0x363)],{})}),_0x473a2d&&(0x0,r[_0x32a4a6(0x1a5)])(ke,{'titleKey':'shape-editor-ui.deleteShape','onClick':_0x473a2d,'children':(0x0,r[_0x32a4a6(0x1a5)])(t[_0x32a4a6(0x61a)],{})})]})]}),_0x353f5b[_0x32a4a6(0x58d)](_0x4a6a2d=>(0x0,r[_0x32a4a6(0x576)])(n[_0x32a4a6(0x50e)],{'children':[(0x0,r[_0x32a4a6(0x1a5)])(e[_0x32a4a6(0x409)],{'orientation':_0x32a4a6(0x551)}),(0x0,r[_0x32a4a6(0x1a5)])(De,{'children':_0x4a6a2d[_0x32a4a6(0x3f9)][_0x32a4a6(0x58d)](_0x590908=>{const _0x54bde5=_0x32a4a6;var _0x5ae286;return(0x0,r[_0x54bde5(0x1a5)])(n[_0x54bde5(0x50e)],{'children':(_0x5ae286=_0x590908[_0x54bde5(0x374)])==null?(0x0,r[_0x54bde5(0x1a5)])(ke,{'title':_0x590908[_0x54bde5(0x2fb)],'active':_0x590908['active'],'disabled':_0x590908[_0x54bde5(0x2ac)],'onClick':_0x590908[_0x54bde5(0x24f)],'children':_0x590908[_0x54bde5(0x1fa)]}):_0x5ae286},_0x590908[_0x54bde5(0x4f6)]);})})]},_0x4a6a2d[_0x32a4a6(0x4f6)]))]})]});}let st=function(_0x1d9513){const _0x5117c0=_0x2a77fc;return _0x1d9513[_0x5117c0(0x44a)]='line',_0x1d9513['Rectangle']=_0x5117c0(0x2a7),_0x1d9513[_0x5117c0(0x3a6)]=_0x5117c0(0x397),_0x1d9513[_0x5117c0(0x5e2)]=_0x5117c0(0x5f9),_0x1d9513['EquationShape']=_0x5117c0(0x489),_0x1d9513[_0x5117c0(0x334)]=_0x5117c0(0x2ce),_0x1d9513[_0x5117c0(0x4f9)]='starAndBanner',_0x1d9513[_0x5117c0(0x3ed)]=_0x5117c0(0x343),_0x1d9513[_0x5117c0(0x4d3)]='other',_0x1d9513;}({});const ct=[{'group':_0x2a77fc(0x300),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x44a)],'icon':_0x2a77fc(0x37d),'name':_0x2a77fc(0x501)},{'group':_0x2a77fc(0x300),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x1f4)],'icon':_0x2a77fc(0x1d2),'name':_0x2a77fc(0x279),'endArrow':!0x0},{'group':_0x2a77fc(0x300),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x1f4)],'icon':_0x2a77fc(0x5c5),'name':_0x2a77fc(0x3c7),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x2a77fc(0x300),'type':s[_0x2a77fc(0x5c4)]['BentConnector3'],'icon':_0x2a77fc(0x4b7),'name':_0x2a77fc(0x402)},{'group':_0x2a77fc(0x300),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x38d)],'icon':_0x2a77fc(0x286),'name':_0x2a77fc(0x344),'endArrow':!0x0},{'group':_0x2a77fc(0x300),'type':s['ShapeTypeEnum'][_0x2a77fc(0x38d)],'icon':_0x2a77fc(0x2cc),'name':'shape.type.bent-connector3-arrow2','endArrow':!0x0,'startArrow':!0x0},{'group':_0x2a77fc(0x300),'type':s['ShapeTypeEnum'][_0x2a77fc(0x422)],'icon':_0x2a77fc(0x38b),'name':_0x2a77fc(0x5db)},{'group':_0x2a77fc(0x300),'type':s['ShapeTypeEnum'][_0x2a77fc(0x422)],'icon':_0x2a77fc(0x18a),'name':'shape.type.curved-connector3-arrow1','endArrow':!0x0},{'group':_0x2a77fc(0x300),'type':s[_0x2a77fc(0x5c4)]['CurvedConnector3'],'icon':_0x2a77fc(0x687),'name':_0x2a77fc(0x1c2),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x2a77fc(0x2a7),'type':s[_0x2a77fc(0x5c4)]['Rect'],'icon':_0x2a77fc(0x2b6),'name':_0x2a77fc(0x1bb)},{'group':_0x2a77fc(0x2a7),'type':s[_0x2a77fc(0x5c4)]['RoundRect'],'icon':_0x2a77fc(0x13d),'name':'shape.type.round-rect'},{'group':'rectangle','type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x244)],'icon':_0x2a77fc(0x453),'name':'shape.type.snip1-rect'},{'group':_0x2a77fc(0x2a7),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x1e0)],'icon':'ShapeSnip2SameRectIcon','name':_0x2a77fc(0x210)},{'group':_0x2a77fc(0x2a7),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x330)],'icon':'ShapeSnip2DiagRectIcon','name':_0x2a77fc(0x209)},{'group':_0x2a77fc(0x2a7),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x4ba)],'icon':'ShapeSnipRoundRectIcon','name':'shape.type.snip-round-rect'},{'group':_0x2a77fc(0x2a7),'type':s[_0x2a77fc(0x5c4)]['Round1Rect'],'icon':_0x2a77fc(0x3ce),'name':_0x2a77fc(0x1b8)},{'group':'rectangle','type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x692)],'icon':_0x2a77fc(0x5ec),'name':_0x2a77fc(0x336)},{'group':'rectangle','type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x63b)],'icon':_0x2a77fc(0x67d),'name':_0x2a77fc(0x34b)},{'group':_0x2a77fc(0x397),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x325)],'icon':_0x2a77fc(0x554),'name':_0x2a77fc(0x26f),'horizontal':!0x0},{'group':_0x2a77fc(0x397),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x325)],'icon':_0x2a77fc(0x629),'name':_0x2a77fc(0x1f5),'vertical':!0x0},{'group':_0x2a77fc(0x397),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x5ee)],'icon':_0x2a77fc(0x147),'name':_0x2a77fc(0x495)},{'group':_0x2a77fc(0x397),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x2f0)],'icon':_0x2a77fc(0x44b),'name':_0x2a77fc(0x337)},{'group':_0x2a77fc(0x397),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x5eb)],'icon':'ShapeRtTriangleIcon','name':_0x2a77fc(0x4c0)},{'group':_0x2a77fc(0x397),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x66c)],'icon':_0x2a77fc(0x56e),'name':'shape.type.parallelogram'},{'group':_0x2a77fc(0x397),'type':s['ShapeTypeEnum'][_0x2a77fc(0x3c6)],'icon':'ShapeTrapezoidIcon','name':_0x2a77fc(0x28a)},{'group':'basicShape','type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x14f)],'icon':_0x2a77fc(0x5e7),'name':'shape.type.diamond'},{'group':_0x2a77fc(0x397),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x272)],'icon':_0x2a77fc(0x652),'name':_0x2a77fc(0x301)},{'group':_0x2a77fc(0x397),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x204)],'icon':'ShapeHexagonIcon','name':_0x2a77fc(0x29e)},{'group':'basicShape','type':s['ShapeTypeEnum'][_0x2a77fc(0x477)],'icon':'ShapeHeptagonIcon','name':_0x2a77fc(0x513)},{'group':_0x2a77fc(0x397),'type':s['ShapeTypeEnum'][_0x2a77fc(0x111)],'icon':_0x2a77fc(0x1fe),'name':'shape.type.octagon'},{'group':_0x2a77fc(0x397),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x69f)],'icon':_0x2a77fc(0x65a),'name':_0x2a77fc(0x2ba)},{'group':_0x2a77fc(0x397),'type':s['ShapeTypeEnum'][_0x2a77fc(0x519)],'icon':_0x2a77fc(0x13e),'name':_0x2a77fc(0x609)},{'group':_0x2a77fc(0x397),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x2c2)],'icon':_0x2a77fc(0x14e),'name':_0x2a77fc(0x55b)},{'group':_0x2a77fc(0x397),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x5af)],'icon':'ShapeChordIcon','name':_0x2a77fc(0x62a)},{'group':_0x2a77fc(0x397),'type':s['ShapeTypeEnum'][_0x2a77fc(0x4be)],'icon':_0x2a77fc(0x131),'name':_0x2a77fc(0x679)},{'group':_0x2a77fc(0x397),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x362)],'icon':_0x2a77fc(0x29f),'name':'shape.type.frame'},{'group':_0x2a77fc(0x397),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x4a4)],'icon':_0x2a77fc(0x4ff),'name':_0x2a77fc(0x573)},{'group':'basicShape','type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x1c0)],'icon':_0x2a77fc(0x377),'name':'shape.type.corner'},{'group':_0x2a77fc(0x397),'type':s[_0x2a77fc(0x5c4)]['DiagStripe'],'icon':_0x2a77fc(0x219),'name':_0x2a77fc(0x33e)},{'group':_0x2a77fc(0x397),'type':s[_0x2a77fc(0x5c4)]['Plus'],'icon':_0x2a77fc(0x427),'name':'shape.type.plus'},{'group':_0x2a77fc(0x397),'type':s[_0x2a77fc(0x5c4)]['Plaque'],'icon':_0x2a77fc(0x17f),'name':_0x2a77fc(0x335)},{'group':_0x2a77fc(0x397),'type':s[_0x2a77fc(0x5c4)]['Can'],'icon':_0x2a77fc(0x61b),'name':'shape.type.can'},{'group':_0x2a77fc(0x397),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x50d)],'icon':'ShapeCubeIcon','name':_0x2a77fc(0x4cd)},{'group':'basicShape','type':s['ShapeTypeEnum'][_0x2a77fc(0x4eb)],'icon':_0x2a77fc(0x23c),'name':'shape.type.bevel'},{'group':_0x2a77fc(0x397),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x46a)],'icon':_0x2a77fc(0x268),'name':'shape.type.donut'},{'group':_0x2a77fc(0x397),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x4da)],'icon':_0x2a77fc(0x560),'name':'shape.type.no-smoking'},{'group':_0x2a77fc(0x397),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x108)],'icon':_0x2a77fc(0x4c2),'name':'shape.type.block-arc'},{'group':_0x2a77fc(0x397),'type':s[_0x2a77fc(0x5c4)]['FoldedCorner'],'icon':_0x2a77fc(0x691),'name':'shape.type.folder-corner'},{'group':_0x2a77fc(0x397),'type':s[_0x2a77fc(0x5c4)]['SmileyFace'],'icon':_0x2a77fc(0x288),'name':'shape.type.smiley-face'},{'group':'basicShape','type':s['ShapeTypeEnum']['Heart'],'icon':_0x2a77fc(0x2eb),'name':_0x2a77fc(0x4fc)},{'group':_0x2a77fc(0x397),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x22a)],'icon':_0x2a77fc(0x2b7),'name':'shape.type.lightning-bolt'},{'group':_0x2a77fc(0x397),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x575)],'icon':_0x2a77fc(0x4ab),'name':'shape.type.sun'},{'group':_0x2a77fc(0x397),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x5cd)],'icon':_0x2a77fc(0x486),'name':_0x2a77fc(0x22c)},{'group':_0x2a77fc(0x397),'type':s['ShapeTypeEnum'][_0x2a77fc(0x3c5)],'icon':_0x2a77fc(0x442),'name':_0x2a77fc(0x58c)},{'group':'basicShape','type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x2be)],'icon':_0x2a77fc(0x12a),'name':_0x2a77fc(0x2ad)},{'group':_0x2a77fc(0x397),'type':s['ShapeTypeEnum'][_0x2a77fc(0x125)],'icon':_0x2a77fc(0x12e),'name':'shape.type.bracket-pair'},{'group':_0x2a77fc(0x397),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x4a8)],'icon':'ShapeBracePairIcon','name':'shape.type.brace-pair'},{'group':_0x2a77fc(0x397),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x5b8)],'icon':_0x2a77fc(0x157),'name':_0x2a77fc(0x553)},{'group':_0x2a77fc(0x397),'type':s['ShapeTypeEnum'][_0x2a77fc(0x2a5)],'icon':_0x2a77fc(0x48e),'name':_0x2a77fc(0x20a)},{'group':'basicShape','type':s['ShapeTypeEnum'][_0x2a77fc(0x28b)],'icon':_0x2a77fc(0x450),'name':_0x2a77fc(0x1e5)},{'group':_0x2a77fc(0x397),'type':s['ShapeTypeEnum']['RightBrace'],'icon':_0x2a77fc(0x2a9),'name':'shape.type.right-brace'},{'group':_0x2a77fc(0x5f9),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x663)],'icon':_0x2a77fc(0x2f2),'name':'shape.type.right-arrow'},{'group':'blockArrow','type':s[_0x2a77fc(0x5c4)]['LeftArrow'],'icon':_0x2a77fc(0x622),'name':_0x2a77fc(0x383)},{'group':_0x2a77fc(0x5f9),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x400)],'icon':_0x2a77fc(0x19c),'name':'shape.type.up-arrow'},{'group':_0x2a77fc(0x5f9),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x16a)],'icon':'ShapeDownArrowIcon','name':_0x2a77fc(0x375)},{'group':_0x2a77fc(0x5f9),'type':s[_0x2a77fc(0x5c4)]['LeftRightArrow'],'icon':_0x2a77fc(0x2c7),'name':_0x2a77fc(0x65f)},{'group':'blockArrow','type':s[_0x2a77fc(0x5c4)]['UpDownArrow'],'icon':_0x2a77fc(0x11a),'name':_0x2a77fc(0x35d)},{'group':_0x2a77fc(0x5f9),'type':s['ShapeTypeEnum'][_0x2a77fc(0x2c5)],'icon':_0x2a77fc(0x5da),'name':'shape.type.quad-arrow'},{'group':_0x2a77fc(0x5f9),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x15d)],'icon':_0x2a77fc(0x526),'name':'shape.type.left-right-up-arrow'},{'group':_0x2a77fc(0x5f9),'type':s[_0x2a77fc(0x5c4)]['BentArrow'],'icon':_0x2a77fc(0x250),'name':'shape.type.bent-arrow'},{'group':_0x2a77fc(0x5f9),'type':s[_0x2a77fc(0x5c4)]['UturnArrow'],'icon':_0x2a77fc(0x699),'name':_0x2a77fc(0x14b)},{'group':_0x2a77fc(0x5f9),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x41e)],'icon':_0x2a77fc(0x34f),'name':_0x2a77fc(0x2d5)},{'group':'blockArrow','type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x331)],'icon':'ShapeBentUpArrowIcon','name':_0x2a77fc(0x110)},{'group':_0x2a77fc(0x5f9),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x1ae)],'icon':_0x2a77fc(0x3fd),'name':_0x2a77fc(0x4e6)},{'group':_0x2a77fc(0x5f9),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x16e)],'icon':'ShapeCurvedLeftArrowIcon','name':'shape.type.curved-left-arrow'},{'group':_0x2a77fc(0x5f9),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x20f)],'icon':_0x2a77fc(0x2a2),'name':_0x2a77fc(0x27a)},{'group':'blockArrow','type':s['ShapeTypeEnum'][_0x2a77fc(0x31a)],'icon':_0x2a77fc(0x2a6),'name':'shape.type.curved-down-arrow'},{'group':_0x2a77fc(0x5f9),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x238)],'icon':_0x2a77fc(0x473),'name':_0x2a77fc(0x31d)},{'group':_0x2a77fc(0x5f9),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x413)],'icon':_0x2a77fc(0x643),'name':_0x2a77fc(0x165)},{'group':_0x2a77fc(0x5f9),'type':s['ShapeTypeEnum'][_0x2a77fc(0x565)],'icon':_0x2a77fc(0x198),'name':_0x2a77fc(0x27b)},{'group':_0x2a77fc(0x5f9),'type':s['ShapeTypeEnum'][_0x2a77fc(0x39b)],'icon':_0x2a77fc(0x4fa),'name':_0x2a77fc(0x116)},{'group':'blockArrow','type':s['ShapeTypeEnum'][_0x2a77fc(0x574)],'icon':_0x2a77fc(0x121),'name':'shape.type.right-arrow-callout'},{'group':_0x2a77fc(0x5f9),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x3ee)],'icon':_0x2a77fc(0x67c),'name':_0x2a77fc(0x309)},{'group':_0x2a77fc(0x5f9),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x1a1)],'icon':_0x2a77fc(0x4bd),'name':_0x2a77fc(0x1b3)},{'group':_0x2a77fc(0x5f9),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x58b)],'icon':_0x2a77fc(0x631),'name':_0x2a77fc(0x385)},{'group':'blockArrow','type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x341)],'icon':_0x2a77fc(0x4df),'name':_0x2a77fc(0x3fa)},{'group':_0x2a77fc(0x5f9),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x47a)],'icon':_0x2a77fc(0x5e6),'name':_0x2a77fc(0x1b5)},{'group':'blockArrow','type':s['ShapeTypeEnum'][_0x2a77fc(0x35e)],'icon':_0x2a77fc(0x527),'name':_0x2a77fc(0x3b4)},{'group':_0x2a77fc(0x489),'type':s['ShapeTypeEnum'][_0x2a77fc(0x5e4)],'icon':_0x2a77fc(0x39a),'name':_0x2a77fc(0x3b0)},{'group':_0x2a77fc(0x489),'type':s['ShapeTypeEnum'][_0x2a77fc(0x319)],'icon':_0x2a77fc(0x171),'name':'shape.type.math-minus'},{'group':_0x2a77fc(0x489),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x4d8)],'icon':_0x2a77fc(0x2e4),'name':_0x2a77fc(0x660)},{'group':_0x2a77fc(0x489),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x598)],'icon':_0x2a77fc(0x216),'name':_0x2a77fc(0x312)},{'group':_0x2a77fc(0x489),'type':s['ShapeTypeEnum'][_0x2a77fc(0x145)],'icon':_0x2a77fc(0x191),'name':_0x2a77fc(0x464)},{'group':_0x2a77fc(0x489),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x1d9)],'icon':_0x2a77fc(0x22b),'name':_0x2a77fc(0x518)},{'group':_0x2a77fc(0x2ce),'type':s[_0x2a77fc(0x5c4)]['FlowchartProcess'],'icon':_0x2a77fc(0x293),'name':_0x2a77fc(0x158)},{'group':_0x2a77fc(0x2ce),'type':s['ShapeTypeEnum'][_0x2a77fc(0x39c)],'icon':_0x2a77fc(0x4e1),'name':'shape.type.flow-chart-alternate-process'},{'group':_0x2a77fc(0x2ce),'type':s[_0x2a77fc(0x5c4)]['FlowchartDecision'],'icon':'ShapeFlowChartDecisionIcon','name':_0x2a77fc(0x193)},{'group':_0x2a77fc(0x2ce),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x401)],'icon':_0x2a77fc(0x418),'name':'shape.type.flow-chart-input-output'},{'group':_0x2a77fc(0x2ce),'type':s['ShapeTypeEnum'][_0x2a77fc(0x1aa)],'icon':_0x2a77fc(0x21b),'name':_0x2a77fc(0x517)},{'group':_0x2a77fc(0x2ce),'type':s[_0x2a77fc(0x5c4)]['FlowchartInternalStorage'],'icon':'ShapeFlowChartInternalStorageIcon','name':'shape.type.flow-chart-internal-storage'},{'group':'flowchart','type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x100)],'icon':_0x2a77fc(0x42e),'name':_0x2a77fc(0x19f)},{'group':_0x2a77fc(0x2ce),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x555)],'icon':_0x2a77fc(0x142),'name':_0x2a77fc(0x358)},{'group':_0x2a77fc(0x2ce),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x247)],'icon':_0x2a77fc(0x596),'name':_0x2a77fc(0x40e)},{'group':_0x2a77fc(0x2ce),'type':s[_0x2a77fc(0x5c4)]['FlowchartPreparation'],'icon':'ShapeFlowChartPreparationIcon','name':_0x2a77fc(0x1d6)},{'group':_0x2a77fc(0x2ce),'type':s[_0x2a77fc(0x5c4)]['FlowchartManualInput'],'icon':_0x2a77fc(0x1a4),'name':'shape.type.flow-chart-manual-input'},{'group':_0x2a77fc(0x2ce),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x6a4)],'icon':_0x2a77fc(0x28d),'name':_0x2a77fc(0x364)},{'group':_0x2a77fc(0x2ce),'type':s[_0x2a77fc(0x5c4)]['FlowchartConnector'],'icon':_0x2a77fc(0x2fd),'name':'shape.type.flow-chart-connector'},{'group':'flowchart','type':s['ShapeTypeEnum'][_0x2a77fc(0x316)],'icon':'ShapeFlowChartOffpageConnectorIcon','name':'shape.type.flow-chart-offpage-connector'},{'group':_0x2a77fc(0x2ce),'type':s[_0x2a77fc(0x5c4)]['FlowchartPunchedCard'],'icon':_0x2a77fc(0x68c),'name':_0x2a77fc(0x3ef)},{'group':_0x2a77fc(0x2ce),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x170)],'icon':_0x2a77fc(0x3f7),'name':_0x2a77fc(0x255)},{'group':'flowchart','type':s[_0x2a77fc(0x5c4)]['FlowchartSummingJunction'],'icon':_0x2a77fc(0x48b),'name':'shape.type.flow-chart-summing-junction'},{'group':'flowchart','type':s[_0x2a77fc(0x5c4)]['FlowchartOr'],'icon':_0x2a77fc(0x66b),'name':_0x2a77fc(0x1e3)},{'group':_0x2a77fc(0x2ce),'type':s[_0x2a77fc(0x5c4)]['FlowchartCollate'],'icon':_0x2a77fc(0x570),'name':'shape.type.flow-chart-collate'},{'group':_0x2a77fc(0x2ce),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x2c1)],'icon':_0x2a77fc(0x1d7),'name':_0x2a77fc(0x123)},{'group':'flowchart','type':s[_0x2a77fc(0x5c4)]['FlowchartExtract'],'icon':_0x2a77fc(0x4ad),'name':_0x2a77fc(0x698)},{'group':_0x2a77fc(0x2ce),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x13a)],'icon':_0x2a77fc(0x5b9),'name':'shape.type.flow-chart-merge'},{'group':_0x2a77fc(0x2ce),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x230)],'icon':'ShapeFlowChartOnlineStorageIcon','name':_0x2a77fc(0x25d)},{'group':'flowchart','type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x257)],'icon':_0x2a77fc(0x4d7),'name':_0x2a77fc(0x68b)},{'group':_0x2a77fc(0x2ce),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x21a)],'icon':_0x2a77fc(0x525),'name':_0x2a77fc(0x162)},{'group':_0x2a77fc(0x2ce),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x632)],'icon':_0x2a77fc(0x571),'name':'shape.type.flow-chart-magnetic-disk'},{'group':_0x2a77fc(0x2ce),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x21d)],'icon':_0x2a77fc(0x5bd),'name':_0x2a77fc(0x66a)},{'group':_0x2a77fc(0x2ce),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x15c)],'icon':_0x2a77fc(0x3ea),'name':_0x2a77fc(0x4a7)},{'group':'starAndBanner','type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x2f6)],'icon':_0x2a77fc(0x133),'name':_0x2a77fc(0x5ce)},{'group':_0x2a77fc(0x3c4),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x62f)],'icon':_0x2a77fc(0x420),'name':_0x2a77fc(0x1f9)},{'group':'starAndBanner','type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x673)],'icon':_0x2a77fc(0x26a),'name':_0x2a77fc(0x2db)},{'group':_0x2a77fc(0x3c4),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x3c3)],'icon':_0x2a77fc(0x686),'name':_0x2a77fc(0x410)},{'group':_0x2a77fc(0x3c4),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x267)],'icon':_0x2a77fc(0x104),'name':'shape.type.star6'},{'group':_0x2a77fc(0x3c4),'type':s['ShapeTypeEnum'][_0x2a77fc(0x46c)],'icon':_0x2a77fc(0x11c),'name':_0x2a77fc(0x51f)},{'group':_0x2a77fc(0x3c4),'type':s[_0x2a77fc(0x5c4)]['Star8'],'icon':_0x2a77fc(0x242),'name':_0x2a77fc(0x4d4)},{'group':'starAndBanner','type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x314)],'icon':_0x2a77fc(0x274),'name':'shape.type.star10'},{'group':_0x2a77fc(0x3c4),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x4b8)],'icon':_0x2a77fc(0x539),'name':'shape.type.star12'},{'group':_0x2a77fc(0x3c4),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x3ae)],'icon':_0x2a77fc(0x5d8),'name':_0x2a77fc(0x3a4)},{'group':_0x2a77fc(0x3c4),'type':s['ShapeTypeEnum']['Star24'],'icon':_0x2a77fc(0x3d2),'name':_0x2a77fc(0x351)},{'group':_0x2a77fc(0x3c4),'type':s['ShapeTypeEnum'][_0x2a77fc(0x538)],'icon':_0x2a77fc(0x5ad),'name':_0x2a77fc(0x60c)},{'group':_0x2a77fc(0x3c4),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x47c)],'icon':_0x2a77fc(0x143),'name':'shape.type.ribbon2'},{'group':_0x2a77fc(0x3c4),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x2fe)],'icon':_0x2a77fc(0x3aa),'name':_0x2a77fc(0x3eb)},{'group':_0x2a77fc(0x3c4),'type':s[_0x2a77fc(0x5c4)]['EllipseRibbon2'],'icon':'ShapeEllipseRibbon2Icon','name':'shape.type.ellipse-ribbon2'},{'group':_0x2a77fc(0x3c4),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x637)],'icon':'ShapeEllipseRibbonIcon','name':'shape.type.ellipse-ribbon'},{'group':_0x2a77fc(0x3c4),'type':s[_0x2a77fc(0x5c4)]['VerticalScroll'],'icon':_0x2a77fc(0x1bf),'name':'shape.type.vertical-scroll'},{'group':_0x2a77fc(0x3c4),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x248)],'icon':_0x2a77fc(0x1f1),'name':_0x2a77fc(0x605)},{'group':_0x2a77fc(0x3c4),'type':s[_0x2a77fc(0x5c4)]['Wave'],'icon':'ShapeWaveIcon','name':'shape.type.wave'},{'group':'starAndBanner','type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x3cd)],'icon':_0x2a77fc(0x136),'name':'shape.type.double-wave'},{'group':'callout','type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x115)],'icon':_0x2a77fc(0x639),'name':_0x2a77fc(0x18e)},{'group':'callout','type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x46e)],'icon':_0x2a77fc(0x5fa),'name':_0x2a77fc(0x5dd)},{'group':'callout','type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x3b3)],'icon':_0x2a77fc(0x5d1),'name':_0x2a77fc(0x2d8)},{'group':_0x2a77fc(0x343),'type':s[_0x2a77fc(0x5c4)]['CloudCallout'],'icon':_0x2a77fc(0x117),'name':_0x2a77fc(0x10f)},{'group':_0x2a77fc(0x343),'type':s[_0x2a77fc(0x5c4)]['BorderCallout1'],'icon':'ShapeBorderCallout1Icon','name':_0x2a77fc(0x67a)},{'group':_0x2a77fc(0x343),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x3cf)],'icon':_0x2a77fc(0x177),'name':_0x2a77fc(0x4e0)},{'group':_0x2a77fc(0x343),'type':s['ShapeTypeEnum'][_0x2a77fc(0x694)],'icon':_0x2a77fc(0x16b),'name':'shape.type.border-callout3'},{'group':_0x2a77fc(0x343),'type':s[_0x2a77fc(0x5c4)]['AccentCallout1'],'icon':_0x2a77fc(0x62e),'name':_0x2a77fc(0x19a)},{'group':'callout','type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x547)],'icon':_0x2a77fc(0x23d),'name':_0x2a77fc(0x633)},{'group':_0x2a77fc(0x343),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x3fe)],'icon':'ShapeAccentCallout3Icon','name':_0x2a77fc(0x66e)},{'group':_0x2a77fc(0x343),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x4cf)],'icon':'ShapeCallout1Icon','name':'shape.type.callout1'},{'group':_0x2a77fc(0x343),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x499)],'icon':_0x2a77fc(0x42a),'name':_0x2a77fc(0x29a)},{'group':_0x2a77fc(0x343),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x549)],'icon':'ShapeCallout3Icon','name':'shape.type.callout3'},{'group':_0x2a77fc(0x343),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x3b5)],'icon':_0x2a77fc(0x313),'name':_0x2a77fc(0x48c)},{'group':_0x2a77fc(0x343),'type':s[_0x2a77fc(0x5c4)]['AccentBorderCallout2'],'icon':'ShapeAccentBorderCallout2Icon','name':_0x2a77fc(0x1a0)},{'group':_0x2a77fc(0x343),'type':s[_0x2a77fc(0x5c4)]['AccentBorderCallout3'],'icon':_0x2a77fc(0x43f),'name':_0x2a77fc(0x60d)},{'group':_0x2a77fc(0x552),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x55f)],'icon':_0x2a77fc(0x2d6),'name':_0x2a77fc(0x340)},{'group':_0x2a77fc(0x552),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x61f)],'icon':_0x2a77fc(0x423),'name':_0x2a77fc(0x1ee)},{'group':_0x2a77fc(0x552),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x5b6)],'icon':'ShapeSwooshArrowIcon','name':_0x2a77fc(0x366)},{'group':'other','type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x1fb)],'icon':'ShapeLeftRightRibbonIcon','name':'shape.type.left-right-ribbon'},{'group':_0x2a77fc(0x552),'type':s[_0x2a77fc(0x5c4)]['PieWedge'],'icon':'ShapePieWedgeIcon','name':_0x2a77fc(0x5b1)},{'group':_0x2a77fc(0x552),'type':s['ShapeTypeEnum'][_0x2a77fc(0x635)],'icon':_0x2a77fc(0x5b7),'name':'shape.type.funnel'},{'group':_0x2a77fc(0x552),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x355)],'icon':_0x2a77fc(0x3bf),'name':_0x2a77fc(0x523)},{'group':_0x2a77fc(0x552),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x3f6)],'icon':_0x2a77fc(0x654),'name':_0x2a77fc(0x51c)},{'group':'other','type':s['ShapeTypeEnum'][_0x2a77fc(0x63d)],'icon':_0x2a77fc(0x45a),'name':'shape.type.corner-tabs'},{'group':_0x2a77fc(0x552),'type':s['ShapeTypeEnum'][_0x2a77fc(0x63f)],'icon':_0x2a77fc(0x5ab),'name':_0x2a77fc(0x592)},{'group':_0x2a77fc(0x552),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x57f)],'icon':_0x2a77fc(0x5ea),'name':_0x2a77fc(0x40d)},{'group':_0x2a77fc(0x552),'type':s[_0x2a77fc(0x5c4)]['ActionButtonBeginning'],'icon':_0x2a77fc(0x59e),'name':_0x2a77fc(0x664)},{'group':'other','type':s['ShapeTypeEnum']['ActionButtonEnd'],'icon':_0x2a77fc(0x3a3),'name':'shape.type.action-button-end'},{'group':'other','type':s['ShapeTypeEnum'][_0x2a77fc(0x481)],'icon':_0x2a77fc(0x1d8),'name':'shape.type.action-button-home'},{'group':'other','type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x29d)],'icon':'ShapeActionButtonInformationIcon','name':'shape.type.action-button-information'},{'group':_0x2a77fc(0x552),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x55a)],'icon':_0x2a77fc(0x260),'name':_0x2a77fc(0x2f4)},{'group':_0x2a77fc(0x552),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x2e8)],'icon':_0x2a77fc(0x47d),'name':_0x2a77fc(0x1af)},{'group':'other','type':s[_0x2a77fc(0x5c4)]['ActionButtonDocument'],'icon':'ShapeActionButtonDocumentIcon','name':_0x2a77fc(0x590)},{'group':_0x2a77fc(0x552),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x424)],'icon':_0x2a77fc(0x587),'name':_0x2a77fc(0x53e)},{'group':'other','type':s['ShapeTypeEnum'][_0x2a77fc(0x4d9)],'icon':'ShapeActionButtonHelpIcon','name':'shape.type.action-button-help'},{'group':_0x2a77fc(0x552),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x4b0)],'icon':_0x2a77fc(0x1ed),'name':_0x2a77fc(0x430)},{'group':'other','type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x5e9)],'icon':_0x2a77fc(0x37b),'name':_0x2a77fc(0x1c5)},{'group':'other','type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x21f)],'icon':'ShapeChartStarIcon','name':'shape.type.chart-star'},{'group':_0x2a77fc(0x552),'type':s[_0x2a77fc(0x5c4)]['ChartX'],'icon':'ShapeChartXIcon','name':_0x2a77fc(0x451)},{'group':'other','type':s['ShapeTypeEnum'][_0x2a77fc(0x4cb)],'icon':_0x2a77fc(0x561),'name':_0x2a77fc(0x3c9)},{'group':_0x2a77fc(0x552),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x69e)],'icon':_0x2a77fc(0x49a),'name':_0x2a77fc(0x3a1)},{'group':_0x2a77fc(0x552),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x4aa)],'icon':'ShapePlaqueTabsIcon','name':_0x2a77fc(0x277)},{'group':_0x2a77fc(0x552),'type':s[_0x2a77fc(0x5c4)][_0x2a77fc(0x42c)],'icon':_0x2a77fc(0x557),'name':'shape.type.square-tabs'},{'group':_0x2a77fc(0x552),'type':s['ShapeTypeEnum'][_0x2a77fc(0x285)],'icon':_0x2a77fc(0x17a),'name':_0x2a77fc(0x4b1)},{'group':'other','type':s['ShapeTypeEnum']['NonIsoscelesTrapezoid'],'icon':_0x2a77fc(0x406),'name':_0x2a77fc(0x490)}];function lt(_0x2e6abf=ct,_0x3041c6=[]){const _0x179f50=_0x2a77fc;return _0x2e6abf['reduce']((_0x912798,_0x16d72f)=>_0x3041c6[_0x179f50(0x42f)](_0x16d72f[_0x179f50(0x4f8)])?_0x912798:(_0x912798[_0x16d72f[_0x179f50(0x4f8)]]||(_0x912798[_0x16d72f['group']]=[]),_0x912798[_0x16d72f[_0x179f50(0x4f8)]][_0x179f50(0x311)](_0x16d72f),_0x912798),{});}function ut(_0x44ddc7){const _0x4ede31=_0x2a77fc;let {excludeGroups:_0x3dbbd1,onShapeClick:_0x1a4279,options:_0x3caa28=ct,scrollContainer:_0x2c5341=_0x4ede31(0x21c),variant:_0x3bbfed=_0x4ede31(0x16c)}=_0x44ddc7,_0x5e99e6=(0x0,a[_0x4ede31(0x3d8)])(a[_0x4ede31(0x322)]),_0x1623fb=(0x0,a[_0x4ede31(0x3d8)])(i['LocaleService']),_0x33faad=lt(_0x3caa28,_0x3dbbd1);return(0x0,r[_0x4ede31(0x1a5)])('div',{'className':(0x0,e[_0x4ede31(0x3fc)])(_0x4ede31(0x20b),_0x2c5341==='self'&&'univer-max-h-[75vh]\x20univer-overflow-y-auto',_0x3bbfed===_0x4ede31(0x26e)&&_0x4ede31(0x1f6)),'children':Object['entries'](_0x33faad)[_0x4ede31(0x58d)](([_0x40af58,_0x2575c5])=>(0x0,r['jsxs'])(_0x4ede31(0x488),{'className':_0x4ede31(0x5ca),'children':[(0x0,r[_0x4ede31(0x1a5)])(_0x4ede31(0x488),{'className':_0x4ede31(0x10d),'children':_0x1623fb['t']('shape-editor-ui.shape.group.'+_0x40af58)}),(0x0,r[_0x4ede31(0x1a5)])(_0x4ede31(0x488),{'className':_0x4ede31(0x543),'children':_0x2575c5==null?void 0x0:_0x2575c5['map'](_0x57ed83=>{const _0x297525=_0x4ede31;let _0x7a11e5=_0x5e99e6[_0x297525(0x197)](_0x57ed83[_0x297525(0x1fa)]);return(0x0,r['jsx'])(_0x297525(0x662),{'type':_0x297525(0x662),'title':_0x1623fb['t']('shape-editor-ui.shape.'+_0x57ed83[_0x297525(0x1f3)]),'onClick':()=>_0x1a4279(_0x57ed83),'className':_0x297525(0x4e5),'children':_0x7a11e5&&(0x0,r[_0x297525(0x1a5)])(_0x7a11e5,{'className':_0x297525(0x4e2)})},_0x57ed83['name']);})})]},_0x40af58))});}function dt(_0x32aba7){const _0x45730b=_0x2a77fc;return(0x0,r['jsx'])(ut,{'excludeGroups':_0x32aba7[_0x45730b(0x128)],'onShapeClick':_0x32aba7['onShapeClick'],'options':_0x32aba7[_0x45730b(0x668)],'scrollContainer':_0x32aba7[_0x45730b(0x685)],'variant':_0x32aba7[_0x45730b(0x4d2)]});}function ft(_0x4a793d){const _0x10656f=_0x2a77fc;let {buttonLabel:_0x49fa8f,side:_0x3882de=_0x10656f(0x368),..._0x13b644}=_0x4a793d,_0x1df4c0=(0x0,a[_0x10656f(0x3d8)])(i[_0x10656f(0x64c)]),[_0x1569e4,_0x3d0452]=(0x0,n[_0x10656f(0x23e)])(!0x1);return(0x0,r['jsx'])(e[_0x10656f(0x3a5)],{'side':_0x3882de,'open':_0x1569e4,'onOpenChange':_0x3d0452,'overlay':(0x0,r[_0x10656f(0x1a5)])(dt,{..._0x13b644,'onShapeClick':_0x412057=>{const _0x2e6685=_0x10656f;_0x13b644[_0x2e6685(0x5ac)](_0x412057),_0x3d0452(!0x1);}}),'children':(0x0,r['jsx'])(e['Button'],{'children':_0x1df4c0['t'](_0x49fa8f)})});}const pt='docs-quote.command.insert';function mt(_0x26d435){const _0x195178=_0x2a77fc;var _0x194b1c,_0x590595,_0x10741f;let {title:_0x357ebc,popupDataComponent:_0x550da0='doc-paragraph-type-dropdown-popup'}=_0x26d435,_0x46cf07=(0x0,a[_0x195178(0x3d8)])(i[_0x195178(0x172)]),_0x24fd6f=(0x0,a[_0x195178(0x3d8)])(l[_0x195178(0x567)]),_0x4873b6=(0x0,a[_0x195178(0x3d8)])(i['LocaleService']),_0x2f39b4=(0x0,a[_0x195178(0x3d8)])(i[_0x195178(0x26d)]),[_0xd700ee,_0x23ab53]=(0x0,n[_0x195178(0x23e)])(!0x1),[_0x47714a,_0x38490a]=(0x0,n[_0x195178(0x23e)])(i[_0x195178(0x564)][_0x195178(0x4c7)]),_0xeea118=()=>{const _0x322513=_0x195178;var _0x28f000,_0x29544d;let _0x4d1a48=yt(_0x2f39b4[_0x322513(0x112)](i[_0x322513(0x34e)][_0x322513(0x12b)]),vt(_0x24fd6f));_0x38490a((_0x28f000=_0x4d1a48==null||(_0x29544d=_0x4d1a48[_0x322513(0x378)])==null?void 0x0:_0x29544d['namedStyleType'])==null?i['NamedStyleType']['NORMAL_TEXT']:_0x28f000);};(0x0,n['useEffect'])(()=>{const _0x317818=_0x195178;_0xeea118();let _0x2fde63=_0x46cf07[_0x317818(0x522)](_0x9dde5b=>{const _0x5e619f=_0x317818;(_0x9dde5b['id']===l[_0x5e619f(0x27d)]['id']||_0x9dde5b['id']===l[_0x5e619f(0x1fd)]['id']||_0x9dde5b['id']===u[_0x5e619f(0x66d)]['id']||_0x9dde5b['id']===u[_0x5e619f(0x59a)]['id']||_0x9dde5b['id']===u[_0x5e619f(0x36f)]['id']||_0x9dde5b['id']===u[_0x5e619f(0x584)]['id'])&&_0xeea118();}),_0x520065=_0x24fd6f[_0x317818(0x41c)]['subscribe'](_0xeea118);return()=>{const _0x46321d=_0x317818;_0x2fde63['dispose'](),_0x520065[_0x46321d(0x3af)]();};},[_0x46cf07,_0x24fd6f,_0x2f39b4]);let _0x5e695c=(0x0,n[_0x195178(0x18d)])(()=>ht(_0x46cf07)[_0x195178(0x58d)](_0x4d6161=>({..._0x4d6161,'label':_0x4873b6['t'](_0x4d6161['label'])})),[_0x46cf07,_0x4873b6]),_0x1b2391=(_0x194b1c=_0x5e695c['find'](_0x358b9f=>_0x358b9f[_0x195178(0x44d)]===_0x47714a))==null?_0x5e695c[0x0]:_0x194b1c,_0x48bae0=_0x32950c=>{const _0x9ad8a5=_0x195178;var _0x541da8;let _0x23224c=_0x2f39b4[_0x9ad8a5(0x112)](i['UniverInstanceType'][_0x9ad8a5(0x12b)]),_0x185d78=vt(_0x24fd6f);if((_0x541da8=_0x26d435[_0x9ad8a5(0x65d)])==null||_0x541da8['call'](_0x26d435),_0x32950c[_0x9ad8a5(0x44d)]!==void 0x0){let _0x2d8d55={'value':_0x32950c['namedStyleType']};_0x185d78&&(_0x2d8d55['textRanges']=[_0x185d78]),_0x46cf07[_0x9ad8a5(0x10a)](u['SetParagraphNamedStyleCommand']['id'],_0x2d8d55);}else{if(_0x32950c[_0x9ad8a5(0x1c3)]===u[_0x9ad8a5(0x59a)]['id']||_0x32950c[_0x9ad8a5(0x1c3)]===u[_0x9ad8a5(0x36f)]['id']||_0x32950c[_0x9ad8a5(0x1c3)]===u[_0x9ad8a5(0x584)]['id']){let _0x4f6d4b=_0x185d78?{'docRange':[_0x185d78]}:void 0x0;_0x46cf07[_0x9ad8a5(0x10a)](_0x32950c['commandId'],_0x4f6d4b);}else _0x32950c['commandId']&&_0x46cf07[_0x9ad8a5(0x10a)](_0x32950c[_0x9ad8a5(0x1c3)],{'unitId':_0x23224c==null?void 0x0:_0x23224c['getUnitId'](),'startOffset':_0x185d78==null?void 0x0:_0x185d78['startOffset'],'endOffset':_0x185d78==null?void 0x0:_0x185d78[_0x9ad8a5(0x55d)]});}_0x23ab53(!0x1),window['requestAnimationFrame'](()=>{const _0x252d34=_0x9ad8a5;var _0x5e16c9;_0xeea118(),(_0x5e16c9=_0x26d435[_0x252d34(0x550)])==null||_0x5e16c9[_0x252d34(0x149)](_0x26d435);});};return(0x0,r['jsx'])(e[_0x195178(0x3a5)],{'open':_0xd700ee,'onOpenChange':_0x23ab53,'overlay':(0x0,r[_0x195178(0x1a5)])('div',{'className':(0x0,e[_0x195178(0x3fc)])('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',_0x26d435[_0x195178(0x458)]),'data-u-comp':_0x550da0,'onMouseDown':_0x4054be=>_0x4054be[_0x195178(0x291)](),'children':_0x5e695c[_0x195178(0x58d)](_0x1085d5=>(0x0,r['jsxs'])(_0x195178(0x662),{'type':_0x195178(0x662),'className':(0x0,e[_0x195178(0x3fc)])('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',{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x1085d5['value']===(_0x1b2391==null?void 0x0:_0x1b2391[_0x195178(0x4de)])}),'onClick':()=>_0x48bae0(_0x1085d5),'onMouseDown':_0x254d3a=>_0x254d3a[_0x195178(0x291)](),'children':[(0x0,r[_0x195178(0x1a5)])(_0x195178(0x222),{'className':_0x195178(0x6a2),'children':_0x1085d5[_0x195178(0x1fa)]}),(0x0,r[_0x195178(0x1a5)])(_0x195178(0x222),{'className':_0x195178(0x160),'children':_0x1085d5[_0x195178(0x2fb)]})]},_0x1085d5[_0x195178(0x4de)]))}),'children':(0x0,r[_0x195178(0x1a5)])(_0x195178(0x222),{'children':(0x0,r[_0x195178(0x1a5)])(e[_0x195178(0x2e3)],{'title':_0x357ebc,'placement':_0x195178(0x1a8),'children':(0x0,r[_0x195178(0x576)])(_0x195178(0x662),{'type':_0x195178(0x662),'aria-expanded':_0xd700ee,'aria-label':_0x357ebc,'title':_0x357ebc,'className':(0x0,e['clsx'])(_0x195178(0x5f7),_0x26d435[_0x195178(0x233)],{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0xd700ee}),'onMouseDown':(_0x590595=_0x26d435[_0x195178(0x4ce)])==null?_0xed5abf=>_0xed5abf[_0x195178(0x291)]():_0x590595,'children':[(0x0,r[_0x195178(0x1a5)])(_0x195178(0x222),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','children':(_0x10741f=_0x1b2391==null?void 0x0:_0x1b2391[_0x195178(0x1fa)])==null?(0x0,r[_0x195178(0x1a5)])(t['TextTypeIcon'],{}):_0x10741f}),(0x0,r['jsx'])(t[_0x195178(0x3ba)],{'className':_0x195178(0x42b)})]})})})});}function ht(_0xeb9196){const _0x31543e=_0x2a77fc;let _0x54df36=[gt(i[_0x31543e(0x564)][_0x31543e(0x4c7)],(0x0,r[_0x31543e(0x1a5)])(t[_0x31543e(0x37a)],{}),_0x31543e(0x5bb)),gt(i['NamedStyleType'][_0x31543e(0x569)],(0x0,r[_0x31543e(0x1a5)])(t[_0x31543e(0x59f)],{}),_0x31543e(0x262)),gt(i[_0x31543e(0x564)][_0x31543e(0x129)],(0x0,r[_0x31543e(0x1a5)])(t[_0x31543e(0x457)],{}),_0x31543e(0x275)),gt(i['NamedStyleType']['HEADING_3'],(0x0,r[_0x31543e(0x1a5)])(t[_0x31543e(0x2b9)],{}),_0x31543e(0x278)),gt(i[_0x31543e(0x564)]['HEADING_4'],(0x0,r['jsx'])(t[_0x31543e(0x63a)],{}),_0x31543e(0x48d)),gt(i[_0x31543e(0x564)][_0x31543e(0x5f6)],(0x0,r[_0x31543e(0x1a5)])(t['H5Icon'],{}),_0x31543e(0x175)),_t(u[_0x31543e(0x59a)]['id'],(0x0,r[_0x31543e(0x1a5)])(t['OrderIcon'],{}),'shape-editor-ui.textEditor.paragraphType.orderedList'),_t(u[_0x31543e(0x36f)]['id'],(0x0,r['jsx'])(t[_0x31543e(0x46b)],{}),_0x31543e(0x310)),_t(u[_0x31543e(0x584)]['id'],(0x0,r[_0x31543e(0x1a5)])(t[_0x31543e(0x43d)],{}),_0x31543e(0x4b6))],_0x43dc8c=[_t(pt,(0x0,r[_0x31543e(0x1a5)])('span',{'className':_0x31543e(0x2bb),'children':'\x22'}),_0x31543e(0x3e9)),_t(_0x31543e(0x3d1),(0x0,r['jsx'])(t[_0x31543e(0x299)],{}),_0x31543e(0x264)),_t(_0x31543e(0x465),(0x0,r[_0x31543e(0x1a5)])(t[_0x31543e(0x541)],{}),_0x31543e(0x5ff))]['filter'](_0x4cd622=>_0xeb9196['hasCommand'](_0x4cd622[_0x31543e(0x1c3)]));return[..._0x54df36,..._0x43dc8c];}function gt(_0x2a3cb1,_0x3694d3,_0x291bb9){return{'icon':_0x3694d3,'label':_0x291bb9,'namedStyleType':_0x2a3cb1,'value':'heading:'+_0x2a3cb1};}function _t(_0x362adb,_0x439144,_0x145387){const _0x1b4c33=_0x2a77fc;return{'commandId':_0x362adb,'icon':_0x439144,'label':_0x145387,'value':_0x1b4c33(0x5e5)+_0x362adb};}function vt(_0x26758d){const _0x490949=_0x2a77fc;var _0x1c9795,_0x5467b9,_0x4aaba5,_0x191087;let _0x38ba5b=(_0x1c9795=_0x26758d[_0x490949(0x32c)])==null?void 0x0:_0x1c9795['call'](_0x26758d);if(_0x38ba5b)return _0x38ba5b;let _0x3fd838=(_0x5467b9=_0x26758d[_0x490949(0x678)]())==null?[]:_0x5467b9;return(_0x4aaba5=(_0x191087=_0x3fd838[_0x490949(0x17b)](_0xeeb56c=>_0xeeb56c[_0x490949(0x1dc)]))==null?_0x3fd838[0x0]:_0x191087)==null?null:_0x4aaba5;}function yt(_0x2005ee,_0x1b64c5){const _0x1f5dcd=_0x2a77fc;var _0x31f150,_0x9f9f95,_0x4b2d0d,_0x1a36f7;let _0x4cf91f=_0x2005ee==null||(_0x31f150=_0x2005ee[_0x1f5dcd(0x350)](_0x1b64c5==null?void 0x0:_0x1b64c5[_0x1f5dcd(0x2ed)]))==null?void 0x0:_0x31f150[_0x1f5dcd(0x28f)](),_0x57498f=(_0x9f9f95=_0x4cf91f==null?void 0x0:_0x4cf91f[_0x1f5dcd(0x212)])==null?[]:_0x9f9f95,_0x1ec436=(_0x4b2d0d=_0x1b64c5==null?void 0x0:_0x1b64c5[_0x1f5dcd(0x2e2)])==null?0x0:_0x4b2d0d;return(_0x1a36f7=_0x57498f['find'](_0x30c3a5=>_0x30c3a5['startIndex']>=_0x1ec436))==null?_0x57498f[_0x57498f[_0x1f5dcd(0x5a7)]-0x1]:_0x1a36f7;}function bt(){const _0x3fc8e0=_0x2a77fc;return{'id':_0x3fc8e0(0x5f0),'body':{'dataStream':'\x0d\x0a','paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,i['createParagraphId'])(new Set())}],'textRuns':[]},'documentStyle':{}};}function xt(_0x119c6a){const _0x36fb18=_0x2a77fc;var _0x34ad93,_0x4a97fa;return{'fill':(_0x34ad93=_0x119c6a['fill'])==null?{'fillType':s[_0x36fb18(0x3c0)][_0x36fb18(0x30f)]}:_0x34ad93,'isTextBox':!0x0,'shapeText':{'isHorizontal':_0x119c6a[_0x36fb18(0x594)],'textDirection':_0x119c6a[_0x36fb18(0x594)]?s[_0x36fb18(0x63c)][_0x36fb18(0x661)]:s[_0x36fb18(0x63c)][_0x36fb18(0x5ed)],'text':'','autoFitType':s['ShapeTextAutoFitType'][_0x36fb18(0x39e)],'textWrap':s[_0x36fb18(0x271)][_0x36fb18(0x3e6)],'dataModel':{'ha':i[_0x36fb18(0x546)][_0x36fb18(0x381)],'va':i['VerticalAlign'][_0x36fb18(0x51e)],'doc':bt()}},'stroke':(_0x4a97fa=_0x119c6a[_0x36fb18(0x4ea)])==null?{'lineStrokeType':s[_0x36fb18(0x2d0)][_0x36fb18(0x217)]}:_0x4a97fa};}function St(_0x313c04,_0x2a7414){return _0x313c04?{..._0x313c04,'shapeText':_0x2a7414}:{'shapeText':_0x2a7414};}function Ct(_0x5c82c2){const _0x467cd3=_0x2a77fc;var _0x17ba9b;if(!_0x5c82c2||!(_0x467cd3(0x1f8)in _0x5c82c2))return;let _0x2857b9=_0x5c82c2[_0x467cd3(0x1f8)];if(!_0x2857b9||typeof _0x2857b9!=_0x467cd3(0x49f)||!(_0x467cd3(0x437)in _0x2857b9))return;let _0x34da1f=_0x2857b9['doc'];if(wt(_0x34da1f))return(_0x17ba9b=_0x34da1f[_0x467cd3(0x199)])==null||(_0x17ba9b=_0x17ba9b['renderConfig'])==null?void 0x0:_0x17ba9b[_0x467cd3(0x1f0)];}function wt(_0x1f5b6c){const _0x2e6ae3=_0x2a77fc;return typeof _0x1f5b6c==_0x2e6ae3(0x49f)&&!!_0x1f5b6c&&'id'in _0x1f5b6c;}function Tt(_0x28e06b,_0x5175b4=i['WrapStrategy']['WRAP']){const _0x219138=_0x2a77fc;var _0x2bb7f7;let _0x1b89fc=_0x28e06b[_0x219138(0x645)];return(_0x1b89fc==null?void 0x0:_0x1b89fc['textWrap'])===s[_0x219138(0x271)][_0x219138(0x3e6)]?i['WrapStrategy'][_0x219138(0x656)]:(_0x1b89fc==null?void 0x0:_0x1b89fc['textWrap'])===s[_0x219138(0x271)][_0x219138(0x2de)]?i[_0x219138(0x677)]['WRAP']:(_0x2bb7f7=Ct(_0x1b89fc))==null?_0x5175b4:_0x2bb7f7;}function Et(_0x47d96b,_0x7becb4){const _0x3b5293=_0x2a77fc;return(0x0,s[_0x3b5293(0x5a4)])(_0x47d96b)[_0x3b5293(0x3b6)]===s[_0x3b5293(0x271)][_0x3b5293(0x3e6)]?!0x1:(_0x7becb4==null?Tt(_0x47d96b):_0x7becb4)!==i['WrapStrategy'][_0x3b5293(0x1ab)];}function Dt(_0x2a4cd4){const _0x4136cd=_0x2a77fc;let _0x332f75=(0x0,s['resolveShapeTextBodyBehavior'])(_0x2a4cd4);return _0x332f75[_0x4136cd(0x3ad)]===s[_0x4136cd(0x4a1)][_0x4136cd(0x39e)]&&_0x332f75[_0x4136cd(0x3b6)]===s[_0x4136cd(0x271)]['None'];}function Ot(_0x419921){const _0x549f77=_0x2a77fc;var _0x1a4a70;return((_0x1a4a70=_0x419921[_0x549f77(0x645)])==null?void 0x0:_0x1a4a70[_0x549f77(0x594)])===!0x1?_0x549f77(0x27c):_0x549f77(0x23f);}function kt(_0x203b35,_0x4cb393={}){const _0x2de4f6=_0x2a77fc;return _0x4cb393[_0x2de4f6(0x37e)]===!0x0?!0x0:_0x203b35?(0x0,s[_0x2de4f6(0x5a4)])(_0x203b35)[_0x2de4f6(0x2a1)]:!0x1;}function At(_0x30a2f9,_0x9bfa87){const _0x16a0df=_0x2a77fc;if(_0x30a2f9==null||_0x9bfa87==null)return!0x1;let {glyph:_0x3f86c3,..._0x37cc13}=_0x30a2f9,{glyph:_0x23e09d,..._0x15aa03}=_0x9bfa87;return(0x0,i[_0x16a0df(0x6a3)])(_0x37cc13,_0x15aa03);}var jt=class extends i['Disposable']{constructor(_0x551429,_0x750968,_0x18d3c2,_0x500d4a,_0xe542a2){const _0x2e0067=_0x2a77fc;super(),this[_0x2e0067(0x182)]=_0x551429,this['_docSelectionManagerService']=_0x750968,this[_0x2e0067(0x1f7)]=_0x18d3c2,this[_0x2e0067(0x120)]=_0x500d4a,this['_config']=_0xe542a2,w(this,_0x2e0067(0xfe),null),this['_context'][_0x2e0067(0x468)]===this['_config'][_0x2e0067(0x243)]&&(this['_initSelectionChange'](),this['disposeWithMe'](()=>this[_0x2e0067(0x3f1)]()));}[_0x2a77fc(0x308)](){const _0x14067a=_0x2a77fc;this[_0x14067a(0x1c6)](this[_0x14067a(0x120)][_0x14067a(0x1be)]['subscribe'](()=>{const _0x282de5=_0x14067a;this[_0x282de5(0x3f1)]();})),this[_0x14067a(0x1c6)](this[_0x14067a(0x5c3)]['textSelection$'][_0x14067a(0x4e4)](_0x1d4f16=>{const _0x70e54f=_0x14067a;var _0x3f85c,_0x1d8e32;let {unitId:_0x46b74a,textRanges:_0x3f70e3}=_0x1d4f16;if(_0x46b74a!==this['_context'][_0x70e54f(0x468)])return;let _0x27b845=_0x3f70e3['find'](_0x1beb5d=>!_0x1beb5d[_0x70e54f(0x37c)]);if(!_0x27b845){this['_hideFloatMenu']();return;}_0x27b845[_0x70e54f(0x2e2)]===((_0x3f85c=this[_0x70e54f(0xfe)])==null?void 0x0:_0x3f85c[_0x70e54f(0x2d9)])&&_0x27b845[_0x70e54f(0x55d)]===((_0x1d8e32=this[_0x70e54f(0xfe)])==null?void 0x0:_0x1d8e32[_0x70e54f(0x134)])||(this[_0x70e54f(0x3f1)](),this['_showFloatMenu'](_0x46b74a,_0x27b845));}));}[_0x2a77fc(0x3f1)](){const _0x2f0f32=_0x2a77fc;var _0x48b8b0;(_0x48b8b0=this['_floatMenu'])==null||_0x48b8b0[_0x2f0f32(0x31f)][_0x2f0f32(0x1b0)](),this[_0x2f0f32(0xfe)]=null;}[_0x2a77fc(0x454)](_0x22a64f,_0x558950){const _0x5ca2ea=_0x2a77fc;this[_0x5ca2ea(0xfe)]={'disposable':this[_0x5ca2ea(0x1f7)]['attachPopupToRange'](_0x558950,{'componentKey':this[_0x5ca2ea(0x416)][_0x5ca2ea(0x675)],'direction':_0x558950[_0x5ca2ea(0x22f)]===_0x5ca2ea(0x36c)||At(_0x558950[_0x5ca2ea(0x68a)],_0x558950[_0x5ca2ea(0x164)])?_0x5ca2ea(0x502):_0x5ca2ea(0x469),'offset':[0x0,0x4]},_0x22a64f),'start':_0x558950[_0x5ca2ea(0x2e2)],'end':_0x558950[_0x5ca2ea(0x55d)]};}};function Mt(_0x3bc497){const _0x1683b9=_0x2a77fc;return Number[_0x1683b9(0x4a0)](_0x3bc497)&&_0x3bc497>0x0?_0x3bc497:0x0;}function Nt(_0x5dc53a){const _0x2b27b8=_0x2a77fc;return _0x5dc53a===!0x0||_0x5dc53a===i[_0x2b27b8(0x24c)]['TRUE'];}function Pt(_0x3686e0){const _0x26b262=_0x2a77fc;return typeof(_0x3686e0==null?void 0x0:_0x3686e0[_0x26b262(0x53d)])==_0x26b262(0x5c1)&&_0x3686e0[_0x26b262(0x53d)][_0x26b262(0x628)]()[_0x26b262(0x5a7)]>0x0;}function Ft(_0x2de16e,_0x436c21){const _0x8b335e=_0x2a77fc;var _0x205f35,_0x3c908c,_0x56b9d6,_0x1d37b4,_0x6bbffe,_0x2d224a;let _0x1801b1=_0x2de16e==null?void 0x0:_0x2de16e[_0x8b335e(0x269)],_0x1121a1=(_0x205f35=(_0x3c908c=(_0x56b9d6=_0x1801b1==null?void 0x0:_0x1801b1[_0x8b335e(0x2f1)])==null?_0x1801b1==null?void 0x0:_0x1801b1['ba']:_0x56b9d6)==null?_0x436c21['asc']:_0x3c908c)==null?0x0:_0x205f35,_0x1f42e3=(_0x1d37b4=(_0x6bbffe=(_0x2d224a=_0x1801b1==null?void 0x0:_0x1801b1[_0x8b335e(0x36b)])==null?_0x1801b1==null?void 0x0:_0x1801b1['bd']:_0x2d224a)==null?_0x436c21[_0x8b335e(0x41b)]:_0x6bbffe)==null?0x0:_0x1d37b4;return _0x1121a1===0x0&&_0x1f42e3===0x0?null:{'ascent':_0x1121a1,'descent':_0x1f42e3};}function It(_0x223e44){const _0x329731=_0x2a77fc;let _0x38c804=Mt(_0x223e44[_0x329731(0x107)])-Mt(_0x223e44['contentHeight']);return _0x223e44['verticalAlign']===i['VerticalAlign']['MIDDLE']?_0x38c804/0x2:_0x223e44[_0x329731(0x642)]===i[_0x329731(0x225)][_0x329731(0x1e7)]?_0x38c804:0x0;}function Lt(_0x352b05){const _0x59aa96=_0x2a77fc;let _0x24c49a=Mt(_0x352b05[_0x59aa96(0x107)]),_0x35e09f=Math[_0x59aa96(0x693)](_0x24c49a,Mt(_0x352b05[_0x59aa96(0x3c2)])),_0x261f47=_0x352b05['verticalOffset'],_0x257913=_0x352b05[_0x59aa96(0x68e)],_0x42f23c=Number[_0x59aa96(0x4a0)](_0x261f47)?_0x261f47:It(_0x352b05),_0x4fe721=Math[_0x59aa96(0x256)](0x0,_0x42f23c),_0x558ba9=_0x4fe721+(Number[_0x59aa96(0x4a0)](_0x257913)?_0x257913:0x0),_0xe55bbb=_0x558ba9<0x0?_0x558ba9:0x0;return{'clipHeight':_0x35e09f-_0xe55bbb,'clipTop':_0xe55bbb,'contentHeight':_0x35e09f,'contentVerticalOffset':_0x4fe721,'marginTop':Math[_0x59aa96(0x693)](0x0,_0x42f23c),'verticalOffset':_0x42f23c};}function Rt(_0x403ab5,_0x5b098f=0x1){const _0x13280a=_0x2a77fc;var _0x595ffe;let _0x339b76=_0x403ab5[_0x13280a(0x4f4)](),_0x30c60e=0x1/0x0,_0x509150=-0x1/0x0,_0x151989=0x0;for(let _0x2486bc of(_0x595ffe=_0x339b76==null?void 0x0:_0x339b76[_0x13280a(0x24b)])==null?[]:_0x595ffe){var _0x53b7cd,_0x1c6a55,_0x3a0c6c;let _0x3fa3f5=(_0x53b7cd=_0x2486bc[_0x13280a(0x644)])==null?0x0:_0x53b7cd;for(let _0x2b9c15 of(_0x1c6a55=_0x2486bc[_0x13280a(0x558)])==null?[]:_0x1c6a55){var _0x507027,_0x4795b9;let _0x3cd324=(_0x507027=_0x2b9c15[_0x13280a(0x4ed)])==null?0x0:_0x507027;for(let _0x4e8c76 of(_0x4795b9=_0x2b9c15[_0x13280a(0x5d6)])==null?[]:_0x4795b9){var _0x52d9b3;for(let _0x55acee of(_0x52d9b3=_0x4e8c76[_0x13280a(0x130)])==null?[]:_0x52d9b3){var _0x50cb4c,_0x403f2f,_0x4e7d46,_0x4d4fff,_0x2979c6,_0x369a76,_0xad319b,_0x37f8ef,_0x39650e,_0x44034f;let _0x8640b6=_0x151989+_0x3fa3f5+_0x3cd324+((_0x50cb4c=_0x55acee[_0x13280a(0x4ed)])==null?0x0:_0x50cb4c),_0x4ceae4=((_0x403f2f=_0x55acee[_0x13280a(0x644)])==null?0x0:_0x403f2f)+((_0x4e7d46=_0x55acee['paddingTop'])==null?0x0:_0x4e7d46)+((_0x4d4fff=_0x55acee[_0x13280a(0x3c2)])==null?((_0x2979c6=_0x55acee[_0x13280a(0x246)])==null?0x0:_0x2979c6)+((_0x369a76=_0x55acee[_0x13280a(0x41b)])==null?0x0:_0x369a76):_0x4d4fff)+((_0xad319b=_0x55acee['paddingBottom'])==null?0x0:_0xad319b)+((_0x37f8ef=_0x55acee['marginBottom'])==null?0x0:_0x37f8ef),_0x2ef45b=Math[_0x13280a(0x693)](0x0,...((_0x39650e=_0x55acee[_0x13280a(0x60f)])==null?[]:_0x39650e)['flatMap'](_0x4ad3b5=>{const _0x1ce110=_0x13280a;var _0x3fa4ee;return(_0x3fa4ee=_0x4ad3b5[_0x1ce110(0x4e3)])==null?[]:_0x3fa4ee;})[_0x13280a(0x58d)](_0x35800c=>{const _0x37f035=_0x13280a;let _0x169d20=Ft(_0x35800c,_0x55acee);return _0x169d20?_0x169d20[_0x37f035(0x2fc)]+_0x169d20[_0x37f035(0x69d)]:0x0;})),_0xdce5a1=Math[_0x13280a(0x693)]((_0x44034f=_0x55acee[_0x13280a(0x195)])==null?0x0:_0x44034f,_0x4ceae4,_0x2ef45b);_0xdce5a1>0x0&&(_0x30c60e=Math[_0x13280a(0x256)](_0x30c60e,_0x8640b6),_0x509150=Math['max'](_0x509150,_0x8640b6+_0xdce5a1));}}}_0x151989+=(_0x3a0c6c=_0x2486bc[_0x13280a(0x27c)])==null?0x0:_0x3a0c6c;}let _0x370c6=_0x509150-_0x30c60e;return Number[_0x13280a(0x4a0)](_0x370c6)&&_0x370c6>0x0?_0x370c6:Math[_0x13280a(0x693)](0x1,_0x5b098f);}function zt(_0x3b56d6,_0x4d8ec2,_0x1e0213){const _0x4893ff=_0x2a77fc;var _0x186e47;if(_0x1e0213===void 0x0||_0x1e0213===i['VerticalAlign']['UNSPECIFIED'])return 0x0;let _0xd294ef=_0x3b56d6[_0x4893ff(0x4f4)]();if(!(!(_0xd294ef==null||(_0x186e47=_0xd294ef['pages'])==null)&&_0x186e47[_0x4893ff(0x5a7)]))return 0x0;let _0x1990f8=0x1/0x0,_0x2dc6cd=-0x1/0x0,_0x3fc25f=0x0;for(let _0x30d0ad of _0xd294ef[_0x4893ff(0x24b)]){var _0x59f15d,_0x182114;let _0x1c0500=(_0x59f15d=_0x30d0ad[_0x4893ff(0x644)])==null?0x0:_0x59f15d;for(let _0xf56579 of(_0x182114=_0x30d0ad[_0x4893ff(0x558)])==null?[]:_0x182114){var _0x554cd2,_0x1bfae0;let _0x1649df=(_0x554cd2=_0xf56579[_0x4893ff(0x4ed)])==null?0x0:_0x554cd2;for(let _0x2c98eb of(_0x1bfae0=_0xf56579[_0x4893ff(0x5d6)])==null?[]:_0x1bfae0){var _0x3a49fc;for(let _0x426cb7 of(_0x3a49fc=_0x2c98eb[_0x4893ff(0x130)])==null?[]:_0x3a49fc){var _0x5635a3,_0x58e291,_0xc35b0e,_0xa5ea0d,_0x46091b;let _0x3895c4=_0x3fc25f+_0x1c0500+_0x1649df+((_0x5635a3=_0x426cb7['top'])==null?0x0:_0x5635a3)+((_0x58e291=_0x426cb7[_0x4893ff(0x644)])==null?0x0:_0x58e291)+((_0xc35b0e=_0x426cb7[_0x4893ff(0x653)])==null?0x0:_0xc35b0e)+((_0xa5ea0d=_0x426cb7[_0x4893ff(0x246)])==null?0x0:_0xa5ea0d);for(let _0x365b0b of(_0x46091b=_0x426cb7['divides'])==null?[]:_0x46091b){var _0x2f07ee;for(let _0x400953 of(_0x2f07ee=_0x365b0b['glyphGroup'])==null?[]:_0x2f07ee){if(!Pt(_0x400953))continue;let _0x5b359e=Ft(_0x400953,_0x426cb7);_0x5b359e&&(_0x1990f8=Math['min'](_0x1990f8,_0x3895c4-_0x5b359e['ascent']),_0x2dc6cd=Math[_0x4893ff(0x693)](_0x2dc6cd,_0x3895c4+_0x5b359e[_0x4893ff(0x69d)]));}}}}}let _0x6a94a0=Number[_0x4893ff(0x4a0)](_0x30d0ad[_0x4893ff(0x3bb)])?_0x30d0ad[_0x4893ff(0x3bb)]:_0x30d0ad[_0x4893ff(0x27c)];_0x3fc25f+=_0x6a94a0==null?0x0:_0x6a94a0;}return!Number[_0x4893ff(0x4a0)](_0x1990f8)||!Number[_0x4893ff(0x4a0)](_0x2dc6cd)?0x0:_0x1e0213===i['VerticalAlign'][_0x4893ff(0x1e7)]?_0x4d8ec2-_0x2dc6cd:_0x1e0213===i[_0x4893ff(0x225)][_0x4893ff(0x412)]?_0x4d8ec2/0x2-(_0x1990f8+_0x2dc6cd)/0x2:_0x1e0213===i[_0x4893ff(0x225)][_0x4893ff(0x51e)]?-_0x1990f8:0x0;}function Bt(_0x1850c1){const _0x2a9d0d=_0x2a77fc;return _0x1850c1===i[_0x2a9d0d(0x546)]['CENTER'];}function Vt(_0x1b659b){const _0x467339=_0x2a77fc;return _0x1b659b===i[_0x467339(0x546)][_0x467339(0x5c8)];}function Ht(_0x5b7262,_0x150cdd){const _0x51c2fc=_0x2a77fc;var _0x3dac86,_0x12a96f,_0x93869e,_0x3a9de6;if(!_0x5b7262)return{'align':_0x150cdd,'width':0x0};let _0xf7fc8b=(_0x3dac86=(_0x12a96f=_0x5b7262[_0x51c2fc(0x3f4)])==null?void 0x0:_0x12a96f[_0x51c2fc(0x2c3)])==null?'':_0x3dac86,_0x2824c3=(_0x93869e=(_0x3a9de6=_0x5b7262[_0x51c2fc(0x3f4)])==null?void 0x0:_0x3a9de6[_0x51c2fc(0x212)])==null?[]:_0x93869e;if(_0x2824c3['length']===0x0)return{'align':_0x150cdd,'width':(0x0,c[_0x51c2fc(0x428)])(_0x5b7262)};let _0x3ea4f6=0x0,_0xe2b89a={'align':_0x150cdd,'width':0x0};return _0x2824c3['forEach'](_0x58b3b6=>{const _0x6edb8c=_0x51c2fc;var _0x3eddcf;let _0x3811bc=Math[_0x6edb8c(0x693)](_0x3ea4f6,Math[_0x6edb8c(0x256)](_0xf7fc8b[_0x6edb8c(0x5a7)],(_0x3eddcf=_0x58b3b6[_0x6edb8c(0x11e)])==null?_0x3ea4f6:_0x3eddcf)),_0x30e5a0=(0x0,c[_0x6edb8c(0x4e8)])(_0x5b7262,_0x3ea4f6,_0x3811bc);if(_0x30e5a0>_0xe2b89a[_0x6edb8c(0x23f)]){var _0x4c23be,_0x154e2f;_0xe2b89a={'align':(_0x4c23be=(_0x154e2f=_0x58b3b6[_0x6edb8c(0x378)])==null?void 0x0:_0x154e2f[_0x6edb8c(0x384)])==null?_0x150cdd:_0x4c23be,'width':_0x30e5a0};}_0x3ea4f6=Math[_0x6edb8c(0x256)](_0xf7fc8b[_0x6edb8c(0x5a7)],_0x3811bc+0x1);}),_0xe2b89a;}function Ut(_0x2ccad0,_0x44f82c,_0x250375){const _0x2aa77b=_0x2a77fc;var _0x2f9779,_0x457fcc;if(_0x44f82c!==void 0x0)return _0x250375==null?_0x44f82c:_0x250375;let _0x4f8318=((_0x2f9779=_0x2ccad0==null||(_0x457fcc=_0x2ccad0['body'])==null?void 0x0:_0x457fcc['paragraphs'])==null?[]:_0x2f9779)[_0x2aa77b(0x58d)](_0x1f740a=>{const _0x5d4133=_0x2aa77b;var _0x565a89;return(_0x565a89=_0x1f740a[_0x5d4133(0x378)])==null?void 0x0:_0x565a89[_0x5d4133(0x384)];})[_0x2aa77b(0x1de)](_0x1985ab=>_0x1985ab!==void 0x0);return _0x4f8318[_0x2aa77b(0x42f)](i[_0x2aa77b(0x546)]['CENTER'])?i[_0x2aa77b(0x546)][_0x2aa77b(0x429)]:_0x4f8318[_0x2aa77b(0x42f)](i[_0x2aa77b(0x546)][_0x2aa77b(0x5c8)])?i[_0x2aa77b(0x546)][_0x2aa77b(0x5c8)]:i['HorizontalAlign']['LEFT'];}function Wt(_0x28f13d){const _0x3fad4c=_0x2a77fc;var _0x3515d6;let {documentData:_0x20f4a6,horizontalAlign:_0x55be67,horizontalAnchor:_0x5ceebc,isHorizontal:_0xfb1d0,textRect:_0x370aa6,textWrap:_0x5ab738}=_0x28f13d;if(_0xfb1d0===!0x1||_0x370aa6[_0x3fad4c(0x23f)]<=0x0)return{'contentWidth':_0x370aa6[_0x3fad4c(0x23f)],'measureAsNoWrap':!0x1,'textRect':_0x370aa6};let _0x3081c3=Number[_0x3fad4c(0x4a0)](_0x28f13d[_0x3fad4c(0x3f8)])?Math['max'](0x0,(_0x3515d6=_0x28f13d['widthBuffer'])==null?0x0:_0x3515d6):0x0,_0x1cac26=Ht(_0x20f4a6,_0x55be67),_0x8c3382=_0x1cac26['width']+_0x3081c3;if(_0x5ceebc===_0x3fad4c(0x394)&&_0x8c3382>0x0&&_0x8c3382<_0x370aa6[_0x3fad4c(0x23f)])return{'contentWidth':_0x8c3382,'measureAsNoWrap':_0x5ab738===s[_0x3fad4c(0x271)]['None'],'textRect':{..._0x370aa6,'left':_0x370aa6[_0x3fad4c(0x368)]+(_0x370aa6['width']-_0x8c3382)/0x2,'width':_0x8c3382}};let _0x42b148=_0x5ab738===s['ShapeTextWrapType']['None'],_0x4d5ecc=(_0x42b148?_0x8c3382-_0x3081c3:(0x0,c['measureDocumentUnbreakableTextWidth'])(_0x20f4a6))+_0x3081c3,_0x1db7b6=Math[_0x3fad4c(0x693)](_0x370aa6['width'],_0x4d5ecc);if(_0x1db7b6===_0x370aa6['width'])return{'contentWidth':_0x1db7b6,'measureAsNoWrap':_0x42b148,'textRect':_0x370aa6};let _0x55456b=_0x1db7b6-_0x370aa6['width'],_0xa6f0f=_0x42b148?Ut(_0x20f4a6,_0x55be67,_0x1cac26[_0x3fad4c(0x56c)]):_0x55be67,_0x53b030=Vt(_0xa6f0f)?_0x370aa6[_0x3fad4c(0x368)]-_0x55456b:Bt(_0xa6f0f)?_0x370aa6[_0x3fad4c(0x368)]-_0x55456b/0x2:_0x370aa6[_0x3fad4c(0x368)];return{'contentWidth':_0x1db7b6,'measureAsNoWrap':_0x42b148,'textRect':{..._0x370aa6,'left':_0x53b030,'width':_0x1db7b6}};}function Gt(_0x5375fa){const _0x9fc898=_0x2a77fc;var _0x4e40f3,_0x49f5da;return((_0x4e40f3=_0x5375fa==null||(_0x49f5da=_0x5375fa[_0x9fc898(0x3f4)])==null?void 0x0:_0x49f5da[_0x9fc898(0x2c3)])==null?'':_0x4e40f3)[_0x9fc898(0x282)](/[\r\n]/g,'')[_0x9fc898(0x5a7)]===0x0;}function Kt(_0x563eb2){const _0x2394b6=_0x2a77fc;var _0x358182,_0x345208;let {documentData:_0x155858,isTextBox:_0x38849f,placeholder:_0x4475fa,text:_0x10f6de=''}=_0x563eb2;if(!_0x38849f||!_0x4475fa||_0x10f6de['length']>0x0||!Gt(_0x155858))return;let _0x376ab1=_0x155858==null||(_0x358182=_0x155858[_0x2394b6(0x199)])==null?void 0x0:_0x358182[_0x2394b6(0x460)];return{..._0x155858,'id':(_0x345208=_0x155858==null?void 0x0:_0x155858['id'])==null?_0x2394b6(0x52c):_0x345208,'body':{'dataStream':_0x4475fa+'\x0d\x0a','paragraphs':[{'startIndex':_0x4475fa[_0x2394b6(0x5a7)],'paragraphId':(0x0,i[_0x2394b6(0x433)])(new Set())}],'textRuns':[{'st':0x0,'ed':_0x4475fa['length'],'ts':{..._0x376ab1,'cl':{'rgb':_0x2394b6(0x591)}}}]},'documentStyle':{..._0x155858==null?void 0x0:_0x155858['documentStyle']}};}const qt=0.001;function Jt(_0x1649d9,_0xd7fee,_0x45af0f,_0x3e2aa4){const _0x2b1cba=_0x2a77fc;return Math[_0x2b1cba(0x536)](_0x45af0f-_0x1649d9)>qt?_0x1649d9+_0xd7fee-_0x3e2aa4:_0x1649d9;}function Yt(_0x2e36ca){const _0x4e408e=_0x2a77fc;let {initialRect:_0x53155f,requestedRect:_0x5f0e4d,shapeData:_0x506fe3}=_0x2e36ca,_0xc3d31e=_0x506fe3[_0x4e408e(0x645)];if(_0x506fe3['isTextBox']!==!0x0||!_0xc3d31e)return null;let _0x258eb0=_0xc3d31e['isHorizontal']!==!0x1,_0x440926=Math[_0x4e408e(0x536)]((_0x258eb0?_0x5f0e4d[_0x4e408e(0x23f)]:_0x5f0e4d[_0x4e408e(0x27c)])-(_0x258eb0?_0x53155f[_0x4e408e(0x23f)]:_0x53155f[_0x4e408e(0x27c)]))>qt,_0x28f194=Math['abs']((_0x258eb0?_0x5f0e4d[_0x4e408e(0x27c)]:_0x5f0e4d[_0x4e408e(0x23f)])-(_0x258eb0?_0x53155f[_0x4e408e(0x27c)]:_0x53155f[_0x4e408e(0x23f)]))>qt;if(!_0x440926&&!_0x28f194)return null;let _0xd021b4=_0x258eb0?_0x53155f[_0x4e408e(0x27c)]:_0x53155f[_0x4e408e(0x23f)],_0x51f640=Number['isFinite'](_0x2e36ca[_0x4e408e(0x4d0)])&&_0x2e36ca[_0x4e408e(0x4d0)]>0x0?_0x2e36ca[_0x4e408e(0x4d0)]:_0xd021b4;return{'rect':_0x258eb0?{'left':_0x440926?_0x5f0e4d['left']:_0x53155f[_0x4e408e(0x368)],'top':Jt(_0x53155f['top'],_0x53155f['height'],_0x5f0e4d[_0x4e408e(0x4ed)],_0x51f640),'width':_0x440926?_0x5f0e4d[_0x4e408e(0x23f)]:_0x53155f[_0x4e408e(0x23f)],'height':_0x51f640}:{'left':Jt(_0x53155f[_0x4e408e(0x368)],_0x53155f[_0x4e408e(0x23f)],_0x5f0e4d[_0x4e408e(0x368)],_0x51f640),'top':_0x440926?_0x5f0e4d[_0x4e408e(0x4ed)]:_0x53155f['top'],'width':_0x51f640,'height':_0x440926?_0x5f0e4d['height']:_0x53155f[_0x4e408e(0x27c)]},'shapeData':_0x440926?{..._0x506fe3,'shapeText':{..._0xc3d31e,'autoFitType':s['ShapeTextAutoFitType'][_0x4e408e(0x39e)],'textWrap':s[_0x4e408e(0x271)][_0x4e408e(0x2de)]}}:_0x506fe3};}function Xt(_0x7094e6,_0x555c23){const _0x2653ab=_0x2a77fc;return Math[_0x2653ab(0x693)](Number[_0x2653ab(0x4a0)](_0x7094e6)?Math['max'](0x1,_0x7094e6):0x1,Number[_0x2653ab(0x4a0)](_0x555c23)?Math[_0x2653ab(0x693)](0x1,_0x555c23):0x1);}function Zt(_0x5d4190){const _0x1b0827=_0x2a77fc;try{var _0x2e09fa;let _0x3814d8=_0x5d4190==null||(_0x2e09fa=_0x5d4190[_0x1b0827(0x183)]())==null?void 0x0:_0x2e09fa['height'];return Number[_0x1b0827(0x4a0)](_0x3814d8)?_0x3814d8:void 0x0;}catch{return;}}function Qt(_0x2e810e,_0x64948b){const _0x1edd1a=_0x2a77fc;var _0x495344,_0x5dd40d;return Math[_0x1edd1a(0x536)](_0x2e810e[_0x1edd1a(0x5bc)]-_0x64948b[_0x1edd1a(0x5bc)])<=0.001&&Math['abs'](_0x2e810e[_0x1edd1a(0x57d)]-_0x64948b[_0x1edd1a(0x57d)])<=0.001&&Math['abs'](_0x2e810e['editorTop']-_0x64948b[_0x1edd1a(0x3ab)])<=0.001&&Math[_0x1edd1a(0x536)](_0x2e810e[_0x1edd1a(0x1e1)]-_0x64948b['editorWidth'])<=0.001&&Math[_0x1edd1a(0x536)](_0x2e810e['editorHeight']-_0x64948b[_0x1edd1a(0x6a0)])<=0.001&&Math[_0x1edd1a(0x536)](((_0x495344=_0x2e810e[_0x1edd1a(0x2ef)])==null?_0x2e810e[_0x1edd1a(0x1e1)]:_0x495344)-((_0x5dd40d=_0x64948b[_0x1edd1a(0x2ef)])==null?_0x64948b[_0x1edd1a(0x1e1)]:_0x5dd40d))<=0.001;}function $t(_0x2fdcfe,_0x52f1c8){const _0x414b8c=_0x2a77fc;return _0x2fdcfe&&!!(_0x52f1c8!=null&&_0x52f1c8[_0x414b8c(0x5a7)]);}function en(_0x5e3c89){const _0x48800d=_0x2a77fc;var _0x5203a3;let _0x132343=(0x0,a[_0x48800d(0x3d8)])(c['IRenderManagerService'])['getRenderById'](_0x5e3c89),_0x555850=_0x132343==null?void 0x0:_0x132343['with'](u['DocSelectionRenderService']),_0x236628=(0x0,a[_0x48800d(0x25f)])(_0x555850==null?void 0x0:_0x555850[_0x48800d(0x61d)]);return $t((_0x5203a3=_0x555850==null?void 0x0:_0x555850[_0x48800d(0x31e)])==null?!0x1:_0x5203a3,_0x236628==null?void 0x0:_0x236628[_0x48800d(0x2a8)]);}const tn=0xfa0;function nn(_0x52cfdc,_0x3c6a36){const _0x142bd6=_0x2a77fc;var _0x1c1aa1,_0x54ed44;let _0x20c626=a['FONT_SIZE_LIST'][_0x142bd6(0x58d)](_0x398889=>Number(_0x398889[_0x142bd6(0x4de)]))[_0x142bd6(0x1de)](_0x4f5c58=>Number[_0x142bd6(0x4a0)](_0x4f5c58)&&_0x4f5c58>0x0)[_0x142bd6(0x35b)]((_0x3a8344,_0x596e3d)=>_0x3a8344-_0x596e3d),_0x768127=Number[_0x142bd6(0x4a0)](_0x52cfdc)?_0x52cfdc:0xe;if(_0x3c6a36>0x0){var _0x26b155,_0xe0574f;return(_0x26b155=(_0xe0574f=_0x20c626[_0x142bd6(0x17b)](_0x241a9e=>_0x241a9e>_0x768127))==null?_0x20c626[_0x20c626[_0x142bd6(0x5a7)]-0x1]:_0xe0574f)==null?_0x768127:_0x26b155;}return(_0x1c1aa1=(_0x54ed44=[..._0x20c626][_0x142bd6(0x4bb)]()['find'](_0x5a0d42=>_0x5a0d42<_0x768127))==null?_0x20c626[0x0]:_0x54ed44)==null?_0x768127:_0x1c1aa1;}function rn(_0x4b64f1){const _0x2cd29a=_0x2a77fc;let {editorUnitId:_0x1da195,editingParams:_0x217e96}=_0x4b64f1;return _0x217e96?[_0x1da195,_0x217e96[_0x2cd29a(0x468)],_0x217e96['subUnitId'],_0x217e96['shapeId'],_0x217e96[_0x2cd29a(0x531)]][_0x2cd29a(0x683)]('|'):null;}function an(_0x260811,_0x3a251a){const _0x109534=_0x2a77fc;return _0x260811?_0x260811 instanceof Node&&_0x3a251a!=null&&_0x3a251a['contains'](_0x260811)?!0x1:_0x260811 instanceof Element?!_0x260811[_0x109534(0x38c)](_0x109534(0x339)):!0x0:!0x0;}function on(_0xf81d74){const _0x23dfcc=_0x2a77fc;return _0xf81d74[_0x23dfcc(0x211)][_0x23dfcc(0x5b4)](_0xf81d74[_0x23dfcc(0x154)]);}function sn(_0x2bfcfa){const _0xc28670=_0x2a77fc;var _0x45d42,_0x4e48d3;let _0x2aa8a1=Y(_0x2bfcfa['shapeText']);return{..._0x2aa8a1,'isHorizontal':(_0x45d42=(_0x4e48d3=_0x2bfcfa[_0xc28670(0x594)])==null?_0x2aa8a1[_0xc28670(0x594)]:_0x4e48d3)==null?!0x0:_0x45d42,'dataModel':_0x2bfcfa[_0xc28670(0x1f8)]};}function cn(_0x4b4328,_0x2ec2dd){return{'id':_0x4b4328,'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,i['createParagraphId'])(new Set())}]},'documentStyle':{'pageSize':{'width':_0x2ec2dd,'height':0x1/0x0}}};}function ln(_0x33ac94){const _0x541481=_0x2a77fc;let _0x171e02=Number['isFinite'](_0x33ac94[_0x541481(0x493)])?Math['max'](0x0,_0x33ac94[_0x541481(0x493)]):0x0,_0x4e59d6=Math[_0x541481(0x693)](0x78,Math[_0x541481(0x5a0)](_0x171e02+0x10));return _0x33ac94['isHorizontal']?{'width':_0x4e59d6,'height':0x28}:{'width':0x28,'height':_0x4e59d6};}function un(_0x1e5ca1,_0x5ec568){const _0xa698e5=_0x2a77fc;return(0x0,c[_0xa698e5(0x428)])({..._0x1e5ca1,'body':{'dataStream':_0x5ec568+'\x0d\x0a','paragraphs':[{'startIndex':_0x5ec568[_0xa698e5(0x5a7)],'paragraphId':(0x0,i['createParagraphId'])(new Set())}],'textRuns':[]}});}function dn(_0xb06fcb){const _0x5ca1eb=_0x2a77fc;let _0x1a6fa0=Number[_0x5ca1eb(0x4a0)](_0xb06fcb[_0x5ca1eb(0x599)])&&_0xb06fcb['textRectWidth']>0x0?_0xb06fcb[_0x5ca1eb(0x599)]:0x1;if(!_0xb06fcb[_0x5ca1eb(0x4ef)])return _0x1a6fa0;let _0x46574d=_0xb06fcb[_0x5ca1eb(0x63e)];return Math['max'](_0x1a6fa0,Number['isFinite'](_0x46574d)&&_0x46574d!==void 0x0&&_0x46574d>0x0?Math['max'](_0x46574d,tn):tn);}function fn(_0x4eca71){const _0x8b82ea=_0x2a77fc;return(0x0,c[_0x8b82ea(0x428)])(_0x4eca71);}function pn(_0x432861){const _0xae5e24=_0x2a77fc;let _0x45bfdd=Number[_0xae5e24(0x4a0)](_0x432861[_0xae5e24(0x599)])&&_0x432861[_0xae5e24(0x599)]>0x0?_0x432861[_0xae5e24(0x599)]:0x1;if(!_0x432861[_0xae5e24(0x4ef)])return _0x45bfdd;let _0x38893f=Number[_0xae5e24(0x4a0)](_0x432861[_0xae5e24(0x4c4)])&&_0x432861[_0xae5e24(0x4c4)]>0x0?_0x432861['actualWidth']:0x0,_0x4a1c44=Number[_0xae5e24(0x4a0)](_0x432861[_0xae5e24(0x2bc)])&&_0x432861[_0xae5e24(0x2bc)]!==void 0x0&&_0x432861['measuredContentWidth']>0x0?_0x432861[_0xae5e24(0x2bc)]:void 0x0,_0x4755f9=_0x38893f+0x2;return Math[_0xae5e24(0x693)](_0x45bfdd,_0x4a1c44==null?_0x4755f9:_0x4a1c44);}function mn(_0x1c01ed){const _0x106421=_0x2a77fc;if(!_0x1c01ed[_0x106421(0x4ef)])return _0x1c01ed[_0x106421(0x55c)];let _0xefc100=Number[_0x106421(0x4a0)](_0x1c01ed[_0x106421(0x2bc)])&&_0x1c01ed[_0x106421(0x2bc)]!==void 0x0&&_0x1c01ed['measuredContentWidth']>0x0?_0x1c01ed[_0x106421(0x2bc)]:void 0x0;return _0x1c01ed[_0x106421(0x504)]&&_0xefc100!==void 0x0?_0xefc100:_0x1c01ed[_0x106421(0x55c)];}function hn(_0x4d9a57){const _0x5b4036=_0x2a77fc;let _0x1adeb6=Number[_0x5b4036(0x4a0)](_0x4d9a57['textRectWidth'])&&_0x4d9a57['textRectWidth']>0x0?_0x4d9a57[_0x5b4036(0x599)]:0x1;if(!_0x4d9a57[_0x5b4036(0x4ef)])return _0x1adeb6;let _0x1d5a56=Number[_0x5b4036(0x4a0)](_0x4d9a57['renderedContentWidth'])&&_0x4d9a57[_0x5b4036(0x55c)]>0x0?_0x4d9a57[_0x5b4036(0x55c)]:_0x1adeb6;return Math['max'](_0x1adeb6,_0x1d5a56);}function gn(_0x337a68){const _0x2b7d10=_0x2a77fc;let _0xea2b67=Number[_0x2b7d10(0x4a0)](_0x337a68[_0x2b7d10(0x1e1)])&&_0x337a68[_0x2b7d10(0x1e1)]>0x0?_0x337a68[_0x2b7d10(0x1e1)]:0x1;if(!_0x337a68[_0x2b7d10(0x4ef)])return _0xea2b67;let _0x2e347d=Number[_0x2b7d10(0x4a0)](_0x337a68[_0x2b7d10(0x580)])&&_0x337a68[_0x2b7d10(0x580)]>0x0?_0x337a68[_0x2b7d10(0x580)]:0x1,_0x35ed50=Number[_0x2b7d10(0x4a0)](_0x337a68['measurePageWidth'])&&_0x337a68['measurePageWidth']>0x0?_0x337a68[_0x2b7d10(0x11b)]:_0xea2b67/_0x2e347d;return Math[_0x2b7d10(0x693)](_0xea2b67,_0x35ed50*_0x2e347d);}function _n(_0x324aaf){const _0x378b7b=_0x2a77fc;var _0xf67a16;let _0x183e15=(_0xf67a16=_0x324aaf[_0x378b7b(0x5e0)])==null?0x1:_0xf67a16;return Math[_0x378b7b(0x536)](_0x324aaf[_0x378b7b(0x33a)]-_0x324aaf[_0x378b7b(0x5dc)])>_0x183e15||Math[_0x378b7b(0x536)](_0x324aaf[_0x378b7b(0x103)]-_0x324aaf[_0x378b7b(0x61e)])>_0x183e15;}function vn(_0x12c9c3){const _0x1eea1c=_0x2a77fc;var _0xa14821,_0x1e0366;let {adapter:_0x3ad678,editingParams:_0x378444}=_0x12c9c3;return!_0x3ad678[_0x1eea1c(0x22e)]||!_0x378444?!0x1:(_0xa14821=(_0x1e0366=_0x3ad678[_0x1eea1c(0x388)])==null?void 0x0:_0x1e0366[_0x1eea1c(0x149)](_0x3ad678,_0x378444))==null?!0x0:_0xa14821;}function yn(_0x583121){const _0x53ac6b=_0x2a77fc;var _0x5935ca;let {adapter:_0x4b07bd,editingParams:_0x32167e}=_0x583121;return _0x32167e?((_0x5935ca=_0x4b07bd[_0x53ac6b(0x12f)])==null?void 0x0:_0x5935ca['call'](_0x4b07bd,_0x32167e))===!0x0:!0x1;}function bn(_0x2c6084){const _0x5a39b7=_0x2a77fc;return _0x2c6084[_0x5a39b7(0x24d)]?i[_0x5a39b7(0x225)][_0x5a39b7(0x51e)]:_0x2c6084[_0x5a39b7(0x642)];}function xn(_0x5c5950){const _0x140351=_0x2a77fc;let {actualHeight:_0x2eda4d,contentWidth:_0x16b5a4,opticalVerticalOffset:_0x31414f,scaleX:_0x4ded82,scaleY:_0x565763,textRect:_0x38b97f,verticalAlign:_0x259039}=_0x5c5950,_0x3c53b1=Lt({'contentHeight':_0x2eda4d,'verticalAlign':_0x259039,'verticalOffset':_0x31414f,'viewportHeight':Math['max'](0x1,_0x38b97f[_0x140351(0x27c)])}),_0x174d0f=_0x3c53b1[_0x140351(0x3c2)],_0x4dc875=Math[_0x140351(0x693)](0x1,_0x38b97f['width'],_0x16b5a4==null?_0x38b97f['width']:_0x16b5a4);return{'documentMarginTop':_0x3c53b1['marginTop'],'editorLeft':Math[_0x140351(0x693)](0x0,_0x38b97f[_0x140351(0x368)])*_0x4ded82,'editorTop':(Math['max'](0x0,_0x38b97f[_0x140351(0x4ed)])+_0x3c53b1[_0x140351(0x4c9)])*_0x565763,'editorWidth':_0x4dc875*_0x4ded82,'editorHeight':_0x174d0f*_0x565763,'pageHeight':_0x174d0f};}function Sn(_0x33c98b){const _0x5d41fa=_0x2a77fc;var _0x1bde69;let _0x450f2a=_0x33c98b[_0x5d41fa(0x384)]===i[_0x5d41fa(0x546)][_0x5d41fa(0x429)]?_0x5d41fa(0x394):_0x33c98b['horizontalAlign']===i[_0x5d41fa(0x546)][_0x5d41fa(0x5c8)]?_0x5d41fa(0x480):_0x5d41fa(0x368);return{'left':_0x33c98b[_0x5d41fa(0x57d)],'top':_0x33c98b['editorTop']+_0x33c98b[_0x5d41fa(0x5bc)],'width':(_0x1bde69=_0x33c98b[_0x5d41fa(0x2ef)])==null?_0x33c98b[_0x5d41fa(0x1e1)]:_0x1bde69,'textAlign':_0x450f2a};}function Cn(_0x1db90d){const _0xa6cfe3=_0x2a77fc;let {allowShrink:_0x5b175c=!0x1,hostWidth:_0x25551e,hostHeight:_0x1172f5,textRect:_0x476913,contentWidth:_0x4f4554,contentHeight:_0x3ec21a}=_0x1db90d,_0x41483a=Number[_0xa6cfe3(0x4a0)](_0x25551e)&&_0x25551e>0x0?_0x25551e:0x1,_0x295cb4=Number['isFinite'](_0x1172f5)&&_0x1172f5>0x0?_0x1172f5:0x1,_0x53e24b=Math[_0xa6cfe3(0x693)](0x0,_0x476913[_0xa6cfe3(0x368)]),_0x450a58=Math[_0xa6cfe3(0x693)](0x0,_0x476913['top']),_0x11e617=Math[_0xa6cfe3(0x693)](0x1,_0x476913[_0xa6cfe3(0x23f)]),_0x157dc1=Math[_0xa6cfe3(0x693)](0x1,_0x476913['height']),_0x451606=Math[_0xa6cfe3(0x693)](0x0,_0x41483a-_0x53e24b-_0x11e617),_0x11e207=Math['max'](0x0,_0x295cb4-_0x450a58-_0x157dc1),_0xfa467e=Math[_0xa6cfe3(0x693)](0x1,_0x5b175c?_0x4f4554:Math[_0xa6cfe3(0x693)](_0x11e617,_0x4f4554)),_0x4b0f92=Math['max'](0x1,_0x5b175c?_0x3ec21a:Math[_0xa6cfe3(0x693)](_0x157dc1,_0x3ec21a)),_0x2f66d1=Math['ceil'](_0x53e24b+_0xfa467e+_0x451606),_0x48530e=Math[_0xa6cfe3(0x5a0)](_0x450a58+_0x4b0f92+_0x11e207);return{'width':_0x5b175c?_0x2f66d1:Math[_0xa6cfe3(0x693)](_0x41483a,_0x2f66d1),'height':_0x5b175c?_0x48530e:Math[_0xa6cfe3(0x693)](_0x295cb4,_0x48530e)};}function wn(_0xbed0a1){const _0x55ce06=_0x2a77fc;let _0x4aaaed=Math[_0x55ce06(0x693)](0x1,_0xbed0a1[_0x55ce06(0x302)]),_0x2d098e=Math['max'](0x1,_0xbed0a1[_0x55ce06(0x280)]);return _0xbed0a1[_0x55ce06(0x3e8)]==='width'?{'width':_0x4aaaed,'height':_0x2d098e}:{'width':_0x2d098e,'height':_0x4aaaed};}function Tn(_0x1a6c49,_0x6de0d4,_0x26ab00,_0x3be5b5){const _0x114ec6=_0x2a77fc;return{'top':_0x3be5b5===void 0x0?0x0:_0x6de0d4,'left':_0x26ab00===void 0x0?0x0:_0x1a6c49,'width':_0x26ab00==null?_0x1a6c49:_0x26ab00,'height':_0x3be5b5==null?_0x6de0d4:_0x3be5b5,'borderColor':_0x114ec6(0x5b5),'outlineColor':_0x114ec6(0x5b5),'backgroundColor':_0x114ec6(0x5b5)};}function En(_0x1de194,_0x5c9710){const _0x1f5793=_0x2a77fc;var _0x5f1818;if(!_0x1de194)return;_0x1de194[_0x1f5793(0x201)][_0x1f5793(0x368)]=_0x5c9710[_0x1f5793(0x57d)]+'px',_0x1de194[_0x1f5793(0x201)][_0x1f5793(0x4ed)]=_0x5c9710[_0x1f5793(0x3ab)]+'px';let _0x550b9e=(_0x5f1818=_0x5c9710['editorSurfaceWidth'])==null?_0x5c9710['editorWidth']:_0x5f1818;_0x1de194[_0x1f5793(0x201)][_0x1f5793(0x23f)]=_0x550b9e+'px',_0x1de194[_0x1f5793(0x201)]['height']=Math['max'](0x1,_0x5c9710[_0x1f5793(0x6a0)])+'px';}function Dn(_0x13b9be,..._0x553a8a){const _0x315b16=_0x2a77fc;_0x13b9be[_0x315b16(0x148)](..._0x553a8a),_0x13b9be[_0x315b16(0x53c)]();}function On(_0x4d4cb9){const _0x456ec0=_0x2a77fc;return _0x4d4cb9[_0x456ec0(0x52a)]()?_0x4d4cb9[_0x456ec0(0x3e4)]():null;}function kn(_0x1b5d6c){const _0x5b046b=_0x2a77fc;var _0x1c4c33,_0x2e2ff3;let _0x32f14a=_0x1b5d6c==null||(_0x1c4c33=_0x1b5d6c[_0x5b046b(0x5a3)])==null||(_0x2e2ff3=_0x1c4c33[_0x5b046b(0x3c1)])==null?void 0x0:_0x2e2ff3[_0x5b046b(0x149)](_0x1c4c33);_0x32f14a&&(_0x32f14a[_0x5b046b(0x201)]['backgroundColor']=_0x5b046b(0x5b5));}function An(_0x52322a){const _0x536489=_0x2a77fc;var _0x2057ac,_0x3215cf;let _0xa67bc6=_0x25bcab=>{const _0x597651=_0x41f9;if(!_0x25bcab||typeof _0x25bcab!=_0x597651(0x49f))return;let _0xf2ab81=_0x25bcab;_0xf2ab81['pageMarginLeft']!==void 0x0&&(_0xf2ab81[_0x597651(0x697)]=0x0),_0xf2ab81['pageMarginTop']!==void 0x0&&(_0xf2ab81[_0x597651(0x5e1)]=0x0);};_0xa67bc6(_0x52322a==null?void 0x0:_0x52322a[_0x536489(0x621)]),_0x52322a==null||(_0x2057ac=_0x52322a[_0x536489(0x360)])==null||(_0x3215cf=_0x2057ac[_0x536489(0x487)])==null||_0x3215cf[_0x536489(0x149)](_0x2057ac,_0xa67bc6);}function jn(_0x50604d){const _0x141ae5=_0x2a77fc;var _0x5c4a03,_0x5554b9,_0x150908,_0x1a4651;_0x50604d==null||(_0x5c4a03=_0x50604d[_0x141ae5(0x621)])==null||(_0x5554b9=_0x5c4a03[_0x141ae5(0x273)])==null||_0x5554b9['call'](_0x5c4a03,!0x0);let _0x3810e7=_0x50604d==null?void 0x0:_0x50604d[_0x141ae5(0x266)];_0x3810e7==null||(_0x150908=_0x3810e7[_0x141ae5(0x273)])==null||_0x150908[_0x141ae5(0x149)](_0x3810e7,!0x0),_0x3810e7==null||(_0x1a4651=_0x3810e7[_0x141ae5(0x374)])==null||_0x1a4651['call'](_0x3810e7);}function Mn(_0x9a714e,_0x5c56c9,_0x49258e={}){const _0x5bda52=_0x2a77fc;let _0x59bc9b=a[_0x5bda52(0x514)][_0x5bda52(0x4f5)],_0x859d8c=a[_0x5bda52(0x514)]['CTRL_COMMAND']|a['MetaKeys']['SHIFT'];return{'keyCodes':[..._0x49258e[_0x5bda52(0x1c8)]?[{'keyCode':a[_0x5bda52(0x640)][_0x5bda52(0x2e5)]},{'keyCode':a['KeyCode'][_0x5bda52(0x2e5)],'metaKey':a['MetaKeys'][_0x5bda52(0x292)]},{'keyCode':a[_0x5bda52(0x640)][_0x5bda52(0x2e5)],'metaKey':_0x59bc9b}]:[{'keyCode':a['KeyCode']['ENTER']}],{'keyCode':a['KeyCode']['ESC']},{'keyCode':a[_0x5bda52(0x640)][_0x5bda52(0x534)]},{'keyCode':a['KeyCode'][_0x5bda52(0x1a3)]},{'keyCode':a[_0x5bda52(0x640)]['A'],'metaKey':_0x59bc9b},{'keyCode':a['KeyCode']['B'],'metaKey':_0x59bc9b},{'keyCode':a['KeyCode']['I'],'metaKey':_0x59bc9b},{'keyCode':a['KeyCode']['U'],'metaKey':_0x59bc9b},{'keyCode':a[_0x5bda52(0x640)]['X'],'metaKey':_0x859d8c},{'keyCode':a['KeyCode'][_0x5bda52(0x674)],'metaKey':_0x59bc9b},{'keyCode':a[_0x5bda52(0x640)][_0x5bda52(0x178)],'metaKey':_0x59bc9b},{'keyCode':a[_0x5bda52(0x640)][_0x5bda52(0x178)],'metaKey':a[_0x5bda52(0x514)][_0x5bda52(0x55e)]|a[_0x5bda52(0x514)][_0x5bda52(0x292)]},{'keyCode':a[_0x5bda52(0x640)][_0x5bda52(0x674)],'metaKey':a['MetaKeys'][_0x5bda52(0x55e)]|a[_0x5bda52(0x514)]['SHIFT']},{'keyCode':a[_0x5bda52(0x640)]['K'],'metaKey':_0x59bc9b},{'keyCode':a[_0x5bda52(0x640)]['L'],'metaKey':_0x859d8c},{'keyCode':a[_0x5bda52(0x640)]['R'],'metaKey':_0x859d8c},{'keyCode':a[_0x5bda52(0x640)]['E'],'metaKey':_0x859d8c},{'keyCode':a[_0x5bda52(0x640)]['J'],'metaKey':_0x859d8c},{'keyCode':a[_0x5bda52(0x640)]['PERIOD'],'metaKey':_0x859d8c},{'keyCode':a[_0x5bda52(0x640)][_0x5bda52(0x60a)],'metaKey':_0x859d8c},{'keyCode':a['KeyCode']['Digit8'],'metaKey':_0x859d8c},{'keyCode':a[_0x5bda52(0x640)]['Z'],'metaKey':_0x59bc9b},{'keyCode':a[_0x5bda52(0x640)]['Y'],'metaKey':_0x59bc9b},{'keyCode':a['KeyCode']['Z'],'metaKey':_0x859d8c}],'handler':(_0x46cb65,_0x3ca2b5)=>{const _0x91940c=_0x5bda52;switch(_0x46cb65+':'+(_0x3ca2b5==null?0x0:_0x3ca2b5)){case a['KeyCode'][_0x91940c(0x2c6)]+':0':var _0x76443e;(_0x76443e=_0x49258e['cancel'])==null||_0x76443e[_0x91940c(0x149)](_0x49258e);break;case a[_0x91940c(0x640)][_0x91940c(0x2e5)]+':0':if(_0x49258e['commitOnEnter']){var _0x325ae1;(_0x325ae1=_0x49258e['commit'])==null||_0x325ae1[_0x91940c(0x149)](_0x49258e);}else _0x9a714e[_0x91940c(0x10a)](u['BreakLineCommand']['id']);break;case a['KeyCode'][_0x91940c(0x2e5)]+':'+a['MetaKeys']['SHIFT']:case a[_0x91940c(0x640)][_0x91940c(0x2e5)]+':'+_0x59bc9b:_0x9a714e['executeCommand'](u[_0x91940c(0x132)]['id']);break;case a[_0x91940c(0x640)][_0x91940c(0x534)]+':0':_0x9a714e['executeCommand'](u[_0x91940c(0x220)]['id']);break;case a[_0x91940c(0x640)][_0x91940c(0x1a3)]+':0':_0x9a714e['executeCommand'](u[_0x91940c(0x5c9)]['id']);break;case a[_0x91940c(0x640)]['A']+':'+_0x59bc9b:_0x9a714e[_0x91940c(0x10a)](u[_0x91940c(0x328)]['id']);break;case a[_0x91940c(0x640)]['B']+':'+_0x59bc9b:_0x9a714e[_0x91940c(0x10a)](u['SetInlineFormatBoldCommand']['id']);break;case a[_0x91940c(0x640)]['I']+':'+_0x59bc9b:_0x9a714e['executeCommand'](u['SetInlineFormatItalicCommand']['id']);break;case a['KeyCode']['U']+':'+_0x59bc9b:_0x9a714e[_0x91940c(0x10a)](u[_0x91940c(0x306)]['id']);break;case a[_0x91940c(0x640)]['X']+':'+_0x859d8c:_0x9a714e[_0x91940c(0x10a)](u[_0x91940c(0x5ba)]['id']);break;case a[_0x91940c(0x640)][_0x91940c(0x674)]+':'+_0x59bc9b:_0x9a714e[_0x91940c(0x10a)](u[_0x91940c(0x3f5)]['id']);break;case a[_0x91940c(0x640)][_0x91940c(0x178)]+':'+_0x59bc9b:_0x9a714e[_0x91940c(0x10a)](u[_0x91940c(0x40f)]['id']);break;case a[_0x91940c(0x640)]['PERIOD']+':'+(a['MetaKeys'][_0x91940c(0x55e)]|a[_0x91940c(0x514)][_0x91940c(0x292)]):_0x9a714e[_0x91940c(0x10a)](u[_0x91940c(0x405)]['id'],{'value':nn(_0x49258e[_0x91940c(0x153)],0x1)});break;case a[_0x91940c(0x640)][_0x91940c(0x674)]+':'+(a[_0x91940c(0x514)][_0x91940c(0x55e)]|a[_0x91940c(0x514)][_0x91940c(0x292)]):_0x9a714e[_0x91940c(0x10a)](u[_0x91940c(0x405)]['id'],{'value':nn(_0x49258e[_0x91940c(0x153)],-0x1)});break;case a[_0x91940c(0x640)]['K']+':'+_0x59bc9b:_0x9a714e[_0x91940c(0x10a)](_0x91940c(0x657));break;case a[_0x91940c(0x640)]['L']+':'+_0x859d8c:_0x9a714e['executeCommand'](u['AlignLeftCommand']['id']);break;case a[_0x91940c(0x640)]['R']+':'+_0x859d8c:_0x9a714e[_0x91940c(0x10a)](u[_0x91940c(0x415)]['id']);break;case a['KeyCode']['E']+':'+_0x859d8c:_0x9a714e[_0x91940c(0x10a)](u['AlignCenterCommand']['id']);break;case a[_0x91940c(0x640)]['J']+':'+_0x859d8c:_0x9a714e[_0x91940c(0x10a)](u[_0x91940c(0x106)]['id']);break;case a[_0x91940c(0x640)]['PERIOD']+':'+_0x859d8c:_0x9a714e[_0x91940c(0x10a)](pt);break;case a['KeyCode'][_0x91940c(0x60a)]+':'+_0x859d8c:_0x9a714e['executeCommand'](u[_0x91940c(0x59a)]['id']);break;case a['KeyCode'][_0x91940c(0x4c3)]+':'+_0x859d8c:_0x9a714e[_0x91940c(0x10a)](u['BulletListCommand']['id']);break;case a['KeyCode']['Z']+':'+_0x59bc9b:_0x5c56c9?_0x5c56c9(i['UndoCommand']['id']):_0x9a714e[_0x91940c(0x10a)](i[_0x91940c(0x4bc)]['id']);break;case a[_0x91940c(0x640)]['Y']+':'+_0x59bc9b:case a[_0x91940c(0x640)]['Z']+':'+_0x859d8c:_0x5c56c9?_0x5c56c9(i[_0x91940c(0x30c)]['id']):_0x9a714e[_0x91940c(0x10a)](i[_0x91940c(0x30c)]['id']);break;}}};}const Nn=function(_0x2b0784){const _0xc4c954=_0x2a77fc;var _0x231b84,_0x47ce35,_0x347d8b;let {adapter:_0xa3e470,containerWidth:_0x174aad,containerHeight:_0x1b2886,editingParams:_0x3e6695,editingService:_0x5486f6,editorUnitId:_0x34dfda,scaleX:_0x1fb8a2,scaleY:_0x46a886,verticalAlignCommandId:_0x3871f5}=_0x2b0784,_0x5f220c=_0x1fb8a2||0x1,_0x735719=_0x46a886||0x1,_0x20b4ed=(0x0,a[_0xc4c954(0x3d8)])(u[_0xc4c954(0x1ce)]),_0x2ab14d=(0x0,a[_0xc4c954(0x3d8)])(c[_0xc4c954(0x67e)]),_0x1cd663=(0x0,a[_0xc4c954(0x3d8)])(i[_0xc4c954(0x26d)]),_0x19ec9d=(0x0,a['useDependency'])(i[_0xc4c954(0x172)]),_0x3b5ca5=(0x0,a[_0xc4c954(0x3d8)])(l[_0xc4c954(0x348)]),_0x5a9c0a=(0x0,a[_0xc4c954(0x3d8)])(i[_0xc4c954(0x64c)]),_0x15b2bb=(0x0,n[_0xc4c954(0x18d)])(()=>_0x5a9c0a['t'](_0xc4c954(0x516)),[(0x0,a['useObservable'])(()=>_0x5a9c0a[_0xc4c954(0x38e)],_0x5a9c0a['getCurrentLocale'](),!0x1,[_0x5a9c0a]),_0x5a9c0a]),_0x3325b0=(0x0,a[_0xc4c954(0x25f)])(_0x5486f6[_0xc4c954(0x315)]),_0x5e6e6d=(0x0,n['useRef'])(!0x1),_0x493583=(0x0,n[_0xc4c954(0x40b)])(null),_0x5cd19a=(0x0,n[_0xc4c954(0x40b)])(null),_0x211cd1=(0x0,n['useRef'])(null),_0x4108aa=(0x0,n[_0xc4c954(0x40b)])(null),_0xab7f09=(0x0,n[_0xc4c954(0x40b)])(null),_0x17d7c4=(0x0,n[_0xc4c954(0x40b)])(null),_0x5118b8=(0x0,n['useRef'])(null),_0x422f04=(0x0,n[_0xc4c954(0x40b)])({'width':0x0,'height':0x0}),_0x32d8cd=(0x0,n[_0xc4c954(0x40b)])(null),_0x133ee5=(0x0,n['useRef'])(()=>{}),_0x478909=(0x0,n['useRef'])(()=>{}),_0xfe16c3=(0x0,n[_0xc4c954(0x40b)])(()=>{}),[_0x209974,_0x4f84b3]=(0x0,n[_0xc4c954(0x23e)])({'documentMarginTop':0x0,'editorLeft':0x0,'editorTop':0x0,'editorWidth':_0x174aad,'editorHeight':_0x1b2886});_0x5e6e6d[_0xc4c954(0x5d3)]=!!_0x3325b0;let _0x2fe561=(0x0,n[_0xc4c954(0x1f2)])(_0x86ceaa=>{const _0x170a6b=_0xc4c954;En(_0x5cd19a[_0x170a6b(0x5d3)],_0x86ceaa),queueMicrotask(()=>{_0x4f84b3(_0x460907=>Qt(_0x460907,_0x86ceaa)?_0x460907:_0x86ceaa);});},[]),_0x349fa3=(0x0,n[_0xc4c954(0x1f2)])(()=>_0x1cd663[_0xc4c954(0x3da)](_0x34dfda,i[_0xc4c954(0x34e)][_0xc4c954(0x12b)]),[_0x34dfda,_0x1cd663]),_0x56357b=(0x0,n[_0xc4c954(0x1f2)])(()=>{const _0x3b8711=_0xc4c954;var _0x4479f0;let _0xd53477=_0x5f220c,_0x2926d2=_0x735719;if(!_0x3e6695)return{'scaleAdjust':0x1,'renderScaleX':_0xd53477,'renderScaleY':_0x2926d2};let _0x98263=_0x2ab14d[_0x3b8711(0x603)](_0x3e6695[_0x3b8711(0x468)]),_0x50c8bc=_0x98263==null?void 0x0:_0x98263[_0x3b8711(0x266)]['getAncestorScale'](),_0x839a97=_0x98263==null?void 0x0:_0x98263[_0x3b8711(0x5a3)][_0x3b8711(0x3c1)](),_0x540af8=_0x839a97?Number['parseFloat'](_0x839a97['style'][_0x3b8711(0x23f)]||''):0x0,_0x2b5278=(_0x4479f0=_0x839a97==null?void 0x0:_0x839a97[_0x3b8711(0x500)]()['width'])==null?0x0:_0x4479f0,_0x2090dc=_0x540af8>0x0&&_0x2b5278>0x0?_0x2b5278/_0x540af8:0x1;return{'scaleAdjust':Number[_0x3b8711(0x4a0)](_0x2090dc)&&_0x2090dc>0x0?_0x2090dc:0x1,'renderScaleX':(_0x50c8bc==null?void 0x0:_0x50c8bc[_0x3b8711(0x580)])||_0xd53477,'renderScaleY':(_0x50c8bc==null?void 0x0:_0x50c8bc[_0x3b8711(0x589)])||_0x2926d2};},[_0x5f220c,_0x735719,_0x3e6695,_0x2ab14d]),_0x323762=(0x0,n[_0xc4c954(0x1f2)])(()=>{const _0x19e204=_0xc4c954;if(!_0x3e6695)return{'left':0x0,'top':0x0,'width':_0x174aad/_0x5f220c,'height':_0x1b2886/_0x735719};let {unitId:_0x38471,subUnitId:_0x350760,shapeId:_0x26ef01}=_0x3e6695,_0x3d4e5b=_0xa3e470[_0x19e204(0x196)](_0x38471,_0x350760,_0x26ef01);return _0x3d4e5b?on({'hostRect':{'left':0x0,'top':0x0,'width':_0x174aad/_0x5f220c,'height':_0x1b2886/_0x735719},'shapeModel':_0x3d4e5b}):{'left':0x0,'top':0x0,'width':_0x174aad/_0x5f220c,'height':_0x1b2886/_0x735719};},[_0xa3e470,_0x3e6695,_0x174aad,_0x1b2886,_0x5f220c,_0x735719]),_0x22616f=(0x0,n[_0xc4c954(0x1f2)])(()=>{const _0x11f99b=_0xc4c954;var _0x884c86,_0x1e2b94;if(!_0x3e6695)return null;let {unitId:_0x372207,subUnitId:_0x46b769,shapeId:_0x43a7ab}=_0x3e6695,_0x41ac89=_0xa3e470[_0x11f99b(0x196)](_0x372207,_0x46b769,_0x43a7ab);if(!_0x41ac89)return null;let _0x2f110a=(_0x884c86=_0xa3e470[_0x11f99b(0x655)])==null?void 0x0:_0x884c86[_0x11f99b(0x149)](_0xa3e470,_0x372207,_0x46b769,_0x43a7ab),_0x31afd1=_0x41ac89['getShapeTextData']();if(!_0x31afd1)return null;let _0x49b9b0=St(_0x2f110a,_0x31afd1),_0x5ee1a9=(_0x1e2b94=_0xa3e470[_0x11f99b(0x14a)](_0x372207,_0x46b769,_0x43a7ab))==null?{'angle':0x0,'flipX':!0x1,'flipY':!0x1}:_0x1e2b94,_0x392372={'left':0x0,'top':0x0,'width':_0x174aad/_0x5f220c,'height':_0x1b2886/_0x735719},_0x55044d=_0x41ac89[_0x11f99b(0x5b4)](_0x392372),_0x2653ba,_0x3a953a=i[_0x11f99b(0x225)][_0x11f99b(0x51e)],_0x34f7d9=i[_0x11f99b(0x546)]['LEFT'];if(_0x11f99b(0x1f8)in _0x31afd1&&_0x31afd1[_0x11f99b(0x1f8)]){var _0x1f17bf,_0x5e0044,_0x4c7b9b,_0x5f29a3,_0x19f846,_0x42a33a;let _0x1d9bd3=A(_0x31afd1[_0x11f99b(0x1f8)]);_0x1d9bd3!=null&&_0x1d9bd3[_0x11f99b(0x437)]&&(_0x2653ba=_0x1d9bd3[_0x11f99b(0x437)]),_0x3a953a=(_0x1f17bf=(_0x5e0044=_0x1d9bd3==null?void 0x0:_0x1d9bd3['va'])==null?_0x2653ba==null||(_0x4c7b9b=_0x2653ba[_0x11f99b(0x199)])==null||(_0x4c7b9b=_0x4c7b9b[_0x11f99b(0x4a6)])==null?void 0x0:_0x4c7b9b[_0x11f99b(0x642)]:_0x5e0044)==null?i[_0x11f99b(0x225)]['TOP']:_0x1f17bf,_0x34f7d9=(_0x5f29a3=(_0x19f846=_0x1d9bd3==null?void 0x0:_0x1d9bd3['ha'])==null?_0x2653ba==null||(_0x42a33a=_0x2653ba[_0x11f99b(0x199)])==null||(_0x42a33a=_0x42a33a[_0x11f99b(0x4a6)])==null?void 0x0:_0x42a33a[_0x11f99b(0x384)]:_0x19f846)==null?i[_0x11f99b(0x546)]['LEFT']:_0x5f29a3;}let _0x4e806a=(0x0,s[_0x11f99b(0x5a4)])(_0x49b9b0),_0xd7dea=_0x4e806a['horizontalAnchor']===_0x11f99b(0x394)?Wt({'documentData':_0x2653ba,'horizontalAlign':_0x34f7d9,'horizontalAnchor':_0x4e806a[_0x11f99b(0x445)],'isHorizontal':_0x31afd1[_0x11f99b(0x594)],'textRect':_0x55044d,'textWrap':_0x4e806a[_0x11f99b(0x3b6)],'widthBuffer':0x2})[_0x11f99b(0x3d9)]:_0x55044d;return{'shapeText':_0x31afd1,'bodyBehavior':_0x4e806a,'doc':_0x2653ba,'verticalAlign':_0x3a953a,'horizontalAlign':_0x34f7d9,'wrapStrategy':Tt(_0x49b9b0),'autoFitNoWrap':Dt(_0x49b9b0),'textRect':_0xd7dea,'transform':_0x5ee1a9,'isHorizontal':_0x31afd1[_0x11f99b(0x594)],'isTextBox':_0x49b9b0[_0x11f99b(0x2a1)]===!0x0};},[_0xa3e470,_0x3e6695,_0x174aad,_0x1b2886,_0x5f220c,_0x735719]),_0x15e76e=(0x0,n[_0xc4c954(0x18d)])(()=>{const _0x3bde3a=_0xc4c954;let _0x234f9f=_0x22616f();if(_0x234f9f!=null&&_0x234f9f[_0x3bde3a(0x437)])return K(_0x234f9f[_0x3bde3a(0x437)],{'bodyBehavior':_0x234f9f['bodyBehavior'],'isHorizontal':_0x234f9f['isHorizontal'],'textRect':_0x234f9f[_0x3bde3a(0x3d9)],'verticalAlign':_0x234f9f['verticalAlign'],'horizontalAlign':_0x234f9f['horizontalAlign'],'wrapStrategy':_0x234f9f['wrapStrategy']});let _0x214f47=cn(_0x34dfda,_0x174aad/_0x5f220c);return _0x234f9f?K(_0x214f47,{'bodyBehavior':_0x234f9f[_0x3bde3a(0x411)],'isHorizontal':_0x234f9f['isHorizontal'],'textRect':_0x234f9f[_0x3bde3a(0x3d9)],'verticalAlign':_0x234f9f[_0x3bde3a(0x642)],'horizontalAlign':_0x234f9f[_0x3bde3a(0x384)],'wrapStrategy':_0x234f9f[_0x3bde3a(0x1f0)]}):_0x214f47;},[_0x22616f,_0x174aad,_0x5f220c]),[_0x598727,_0x23a572]=(0x0,n['useState'])(()=>Gt(_0x15e76e)),_0x3f8f48=(0x0,u['useEditor'])({'editorId':_0x34dfda,'initialValue':_0x15e76e,'container':_0x5cd19a,'autoFocus':!0x1,'canvasStyle':{'backgroundColor':_0xc4c954(0x5b5)},'isSingle':!0x1});(0x0,n[_0xc4c954(0x6a1)])(()=>{const _0x1b7e4c=_0xc4c954;if(!_0x3f8f48)return;let _0x32404e=_0x2ab14d[_0x1b7e4c(0x603)](_0x34dfda);kn(_0x32404e),An(_0x32404e);},[_0x3f8f48,_0x34dfda,_0x2ab14d]);let _0x14305f=en(_0x34dfda),_0x42fd4b=_0x3e6695?(_0x231b84=(_0x47ce35=_0xa3e470[_0xc4c954(0x1c8)])==null?void 0x0:_0x47ce35['call'](_0xa3e470,_0x3e6695))==null?!0x1:_0x231b84:!0x1,_0x3a3fa8=(_0x347d8b=_0x15e76e[_0xc4c954(0x199)])==null||(_0x347d8b=_0x347d8b[_0xc4c954(0x460)])==null?void 0x0:_0x347d8b['fs'];(0x0,u[_0xc4c954(0x2bf)])(_0x14305f,(0x0,n[_0xc4c954(0x18d)])(()=>Mn(_0x19ec9d,_0x3f183d=>{const _0x1605fe=_0xc4c954;(0x0,u[_0x1605fe(0x462)])({'commandId':_0x3f183d,'commandService':_0x19ec9d,'editorUnitId':_0x34dfda,'univerInstanceService':_0x1cd663});},{'commitOnEnter':_0x42fd4b,'cancel':()=>{const _0x145118=_0xc4c954;if(_0x5486f6['cancelEditing']){_0x5486f6[_0x145118(0x324)]();return;}_0x5486f6[_0x145118(0x4db)](null);},'commit':()=>{const _0x35b7f5=_0xc4c954;if(_0x5486f6[_0x35b7f5(0x206)]){_0x5486f6[_0x35b7f5(0x206)]();return;}_0x5486f6[_0x35b7f5(0x4db)](null);},'currentFontSize':_0x3a3fa8}),[_0x19ec9d,_0x42fd4b,_0x3a3fa8,_0x5486f6,_0x34dfda,_0x1cd663]),_0x3f8f48),(0x0,u[_0xc4c954(0x51d)])(_0x14305f,!0x1,_0x3f8f48),(0x0,n['useEffect'])(()=>{const _0x1d60ba=_0xc4c954;if(!(_0x3e6695!=null&&_0x3e6695[_0x1d60ba(0x213)]))return;let _0x1c6b95=_0x35a99e=>{const _0x476b82=_0x1d60ba;if(_0x35a99e[_0x476b82(0x662)]===0x0&&an(_0x35a99e['target'],_0x493583[_0x476b82(0x5d3)])){if(_0x5486f6['completeEditing']){_0x5486f6[_0x476b82(0x206)](_0x35a99e);return;}_0x5486f6[_0x476b82(0x4db)](null);}};return document[_0x1d60ba(0x1b1)]('pointerdown',_0x1c6b95,!0x0),()=>{const _0x5cde6e=_0x1d60ba;document[_0x5cde6e(0x122)](_0x5cde6e(0x1d4),_0x1c6b95,!0x0);};},[_0x3e6695==null?void 0x0:_0x3e6695[_0xc4c954(0x213)],_0x5486f6]),(0x0,n[_0xc4c954(0x6a1)])(()=>{const _0x34911f=_0xc4c954;_0x422f04[_0x34911f(0x5d3)]=_0x3e6695?{'width':_0x174aad/_0x5f220c,'height':_0x1b2886/_0x735719}:{'width':0x0,'height':0x0};},[_0x174aad,_0x1b2886,_0x5f220c,_0x735719,_0x3e6695==null?void 0x0:_0x3e6695[_0xc4c954(0x468)],_0x3e6695==null?void 0x0:_0x3e6695[_0xc4c954(0x2e0)],_0x3e6695==null?void 0x0:_0x3e6695[_0xc4c954(0x566)]]),(0x0,n[_0xc4c954(0x6a1)])(()=>{const _0x7bab21=_0xc4c954;_0x32d8cd[_0x7bab21(0x5d3)]=null;},[_0x3e6695==null?void 0x0:_0x3e6695[_0xc4c954(0x468)],_0x3e6695==null?void 0x0:_0x3e6695[_0xc4c954(0x2e0)],_0x3e6695==null?void 0x0:_0x3e6695['shapeId'],_0x3e6695==null?void 0x0:_0x3e6695[_0xc4c954(0x531)]]);let _0x3d4028=(0x0,n['useCallback'])(()=>{const _0x27d67d=_0xc4c954;let _0x204e42=_0x32d8cd[_0x27d67d(0x5d3)];if(_0x204e42)return _0x32d8cd[_0x27d67d(0x5d3)]=null,_0x422f04['current']={'width':_0x204e42[_0x27d67d(0x23f)],'height':_0x204e42['height']},_0x204e42;},[]),_0x3478f0=(0x0,n[_0xc4c954(0x1f2)])((_0x5029b8=!0x0,_0xd23e0=!0x1)=>{const _0x25545a=_0xc4c954;var _0x2d15aa,_0x2035a9,_0x207579;if(!_0x3f8f48)return;let _0x44f11d=_0x3f8f48[_0x25545a(0x4bf)]()[_0x25545a(0x17b)](_0x260433=>_0x260433[_0x25545a(0x37c)]),_0x394241=((_0x2d15aa=(_0x2035a9=_0x3f8f48[_0x25545a(0x3e4)]()[_0x25545a(0x3f4)])==null?void 0x0:_0x2035a9['dataStream'][_0x25545a(0x5a7)])==null?0x2:_0x2d15aa)-0x2,_0x443e61=(_0x207579=_0x44f11d==null?void 0x0:_0x44f11d['startOffset'])==null?_0x5029b8?_0x394241:null:_0x207579;_0x443e61!==null&&_0x3f8f48[_0x25545a(0x5f3)]([{'startOffset':_0x443e61,'endOffset':_0x443e61}],_0xd23e0);},[_0x3f8f48]);_0x478909[_0xc4c954(0x5d3)]=_0x3478f0;let _0x38ae10=(0x0,n[_0xc4c954(0x1f2)])(()=>{const _0x4609c9=_0xc4c954;_0xab7f09[_0x4609c9(0x5d3)]!==null&&(cancelAnimationFrame(_0xab7f09[_0x4609c9(0x5d3)]),_0xab7f09['current']=null),_0xab7f09[_0x4609c9(0x5d3)]=requestAnimationFrame(()=>{const _0x25226d=_0x4609c9;_0xab7f09['current']=null,_0x478909[_0x25226d(0x5d3)](!0x0,!0x0);});},[]),_0x4f5e2c=(0x0,n[_0xc4c954(0x1f2)])(()=>{const _0x5708dc=_0xc4c954;_0x17d7c4[_0x5708dc(0x5d3)]!==null&&(cancelAnimationFrame(_0x17d7c4['current']),_0x17d7c4['current']=null),_0x5118b8[_0x5708dc(0x5d3)]!==null&&(window[_0x5708dc(0x54d)](_0x5118b8[_0x5708dc(0x5d3)]),_0x5118b8['current']=null);},[]),_0x4f7607=(0x0,n[_0xc4c954(0x1f2)])(()=>{const _0xbe37c3=_0xc4c954;var _0xae3d08,_0x17aed2,_0x25c64d,_0x100558,_0x1c742c,_0x234682,_0x43fff5,_0x3d32f5,_0x44cc5e;if(!_0x3f8f48)return;let _0x5617e4=_0x2ab14d[_0xbe37c3(0x603)](_0x34dfda);An(_0x5617e4);let _0x191a32=_0x5617e4==null?void 0x0:_0x5617e4[_0xbe37c3(0x4ec)](l[_0xbe37c3(0x5fe)]);if(!_0x191a32)return;let _0x53bf65=_0x191a32[_0xbe37c3(0x431)](),_0x5d41af=_0x349fa3(),{renderScaleX:_0x5cbbae,renderScaleY:_0x35ce72,scaleAdjust:_0x3664ad}=_0x56357b(),_0x230e9d=_0x22616f(),_0x4a79d7=(_0xae3d08=_0x230e9d==null?void 0x0:_0x230e9d[_0xbe37c3(0x642)])==null?i[_0xbe37c3(0x225)][_0xbe37c3(0x51e)]:_0xae3d08,_0x49578d=(_0x17aed2=_0x230e9d==null?void 0x0:_0x230e9d[_0xbe37c3(0x384)])==null?i[_0xbe37c3(0x546)]['LEFT']:_0x17aed2,_0x27b397=(_0x25c64d=_0x230e9d==null?void 0x0:_0x230e9d[_0xbe37c3(0x1f0)])==null?i['WrapStrategy']['WRAP']:_0x25c64d,_0x11dfc7=(_0x100558=_0x230e9d==null?void 0x0:_0x230e9d[_0xbe37c3(0x4ef)])==null?!0x1:_0x100558,_0x2ac64e=(_0x1c742c=_0x323762())==null?{'left':0x0,'top':0x0,'width':_0x174aad/_0x5f220c,'height':_0x1b2886/_0x735719}:_0x1c742c,_0x13a910=Ot({'shapeText':_0x230e9d==null?void 0x0:_0x230e9d[_0xbe37c3(0x645)]}),_0x3c87c6=_0x5d41af==null?void 0x0:_0x5d41af[_0xbe37c3(0x608)](),_0x4d77c7=Gt(_0x3c87c6),_0x354533=_0x13a910===_0xbe37c3(0x23f)?_0x2ac64e[_0xbe37c3(0x23f)]:_0x2ac64e['height'],_0x4f862e=_0x11dfc7?fn(_0x3c87c6)+0x2:_0x354533,_0x3623bf=dn({'autoFitNoWrap':_0x11dfc7,'maxAutoFitWidth':_0x4f862e,'textRectWidth':_0x354533}),_0x196fda=!0x1;if(_0x5d41af){var _0x4dbd7a;_0x196fda=Nt((_0x4dbd7a=_0x5d41af['getSnapshot']()['documentStyle'])==null||(_0x4dbd7a=_0x4dbd7a[_0xbe37c3(0x4a6)])==null?void 0x0:_0x4dbd7a['shapeTextOpticalVerticalAlign']),_0x5d41af[_0xbe37c3(0x259)](Math['max'](_0x5cbbae,_0x35ce72)),_0x5d41af[_0xbe37c3(0x67f)]({'marginLeft':0x0,'marginRight':0x0,'marginBottom':0x0,'pageSize':{'width':_0x3623bf,'height':0x1/0x0}}),_0x5d41af['updateDocumentRenderConfig']({'verticalAlign':bn({'opticalVerticalAlign':_0x196fda,'verticalAlign':_0x4a79d7}),'horizontalAlign':_0x49578d,'centerAngle':0x0,'vertexAngle':0x0,'wrapStrategy':_0x27b397}),_0x5d41af[_0xbe37c3(0x414)]({'t':0x0});}(_0x234682=_0x53bf65['resetInitialWidth'])==null||_0x234682['call'](_0x53bf65),_0x53bf65[_0xbe37c3(0x4dc)]();let {actualWidth:_0x3c8be7,actualHeight:_0x2c33ed}=_0x53bf65[_0xbe37c3(0x623)](),_0xf5f76d=Zt(_0x5617e4==null||(_0x43fff5=_0x5617e4[_0xbe37c3(0x4ec)](u[_0xbe37c3(0x119)]))==null?void 0x0:_0x43fff5['getActiveTextRange']()),_0x149b97=Xt(Rt(_0x53bf65,_0x2c33ed),_0xf5f76d),_0x37b2cf=_0x196fda?zt(_0x53bf65,_0x2ac64e[_0xbe37c3(0x27c)],_0x4a79d7):void 0x0,_0x294f85=pn({'actualWidth':_0x3c8be7,'autoFitNoWrap':_0x11dfc7,'measuredContentWidth':_0x4f862e,'textRectWidth':_0x354533}),_0x4ea9a5=vn({'adapter':_0xa3e470,'editingParams':_0x3e6695}),_0x4f7f8f=wn({'flowAxis':_0x13a910,'flowAxisLength':mn({'actualWidth':_0x3c8be7,'allowShrink':_0x4ea9a5,'autoFitNoWrap':_0x11dfc7,'measuredContentWidth':_0x4f862e,'renderedContentWidth':_0x294f85}),'crossAxisLength':_0x149b97}),_0x54182e=xn({'actualHeight':_0x149b97,'contentWidth':_0x294f85,'opticalVerticalOffset':_0x37b2cf,'scaleX':_0x5f220c,'scaleY':_0x735719,'textRect':_0x2ac64e,'verticalAlign':_0x4a79d7}),_0x40bde5=_0x174aad/_0x5f220c,_0x2f490a=_0x1b2886/_0x735719,_0x45862c=Cn({'hostWidth':_0x40bde5,'hostHeight':_0x2f490a,'textRect':_0x2ac64e,'contentWidth':_0x4f7f8f[_0xbe37c3(0x23f)],'contentHeight':_0x4f7f8f[_0xbe37c3(0x27c)],'allowShrink':_0x4ea9a5}),_0x5d811d=_0x230e9d!=null&&_0x230e9d['isTextBox']&&_0x4d77c7?ln({'isHorizontal':_0x230e9d[_0xbe37c3(0x594)],'placeholderWidth':un(_0x3c87c6==null?_0x15e76e:_0x3c87c6,_0x15b2bb)}):null,_0x2cea1f=Math[_0xbe37c3(0x5a0)](Math[_0xbe37c3(0x693)](_0x45862c[_0xbe37c3(0x23f)],(_0x3d32f5=_0x5d811d==null?void 0x0:_0x5d811d[_0xbe37c3(0x23f)])==null?0x0:_0x3d32f5)),_0x29879a=Math['ceil'](Math[_0xbe37c3(0x693)](_0x45862c['height'],(_0x44cc5e=_0x5d811d==null?void 0x0:_0x5d811d[_0xbe37c3(0x27c)])==null?0x0:_0x44cc5e)),_0x5178b8=_0x422f04['current'],_0x344aed=_n({'nextWidth':_0x2cea1f,'nextHeight':_0x29879a,'baselineWidth':_0x40bde5,'baselineHeight':_0x2f490a}),_0x4e3a99=_n({'nextWidth':_0x2cea1f,'nextHeight':_0x29879a,'baselineWidth':_0x5178b8[_0xbe37c3(0x23f)],'baselineHeight':_0x5178b8[_0xbe37c3(0x27c)]}),_0x5d6fdf=_0x3e6695&&_0xa3e470[_0xbe37c3(0x22e)]&&_0x344aed&&_0x4e3a99,_0x19723b=yn({'adapter':_0xa3e470,'editingParams':_0x3e6695}),_0x1bb178=_n({'nextWidth':_0x40bde5,'nextHeight':_0x29879a,'baselineWidth':_0x40bde5,'baselineHeight':_0x2f490a}),_0x41f6f3=_n({'nextWidth':_0x40bde5,'nextHeight':_0x29879a,'baselineWidth':_0x40bde5,'baselineHeight':_0x5178b8[_0xbe37c3(0x27c)]}),_0x3fed86=_0x3e6695&&_0xa3e470['updateHostHeight']&&_0x29879a>_0x2f490a&&_0x29879a>_0x5178b8['height']&&_0x1bb178&&_0x41f6f3,_0x277561=gn({'autoFitNoWrap':_0x11dfc7,'editorWidth':_0x54182e[_0xbe37c3(0x1e1)],'measurePageWidth':_0x3623bf,'renderedContentWidth':_0x294f85,'scaleX':_0x5f220c});if(_0x2fe561({'documentMarginTop':_0x54182e[_0xbe37c3(0x5bc)]*_0x735719,'editorLeft':_0x54182e[_0xbe37c3(0x57d)],'editorTop':_0x54182e['editorTop'],'editorWidth':_0x54182e['editorWidth'],'editorHeight':_0x54182e[_0xbe37c3(0x6a0)],'editorSurfaceWidth':_0x277561}),_0x5d41af){let _0x28ad77=hn({'autoFitNoWrap':_0x11dfc7,'measurePageWidth':_0x3623bf,'renderedContentWidth':_0x294f85,'textRectWidth':_0x354533});_0x5d41af[_0xbe37c3(0x67f)]({'marginLeft':0x0,'marginRight':0x0,'marginBottom':0x0,'pageSize':{'width':_0x28ad77,'height':_0x54182e[_0xbe37c3(0x3bb)]}}),_0x5d41af[_0xbe37c3(0x414)]({'t':_0x54182e[_0xbe37c3(0x5bc)]}),_0x53bf65[_0xbe37c3(0x4dc)]();}if(_0x5617e4){_0x54182e[_0xbe37c3(0x1e1)];let _0x3f1c1c=_0x54182e[_0xbe37c3(0x6a0)];_0x5617e4['scene']['transformByState']({'width':_0x277561*_0x3664ad/_0x5cbbae,'height':_0x3f1c1c*_0x3664ad/_0x35ce72,'scaleX':_0x5cbbae*_0x3664ad,'scaleY':_0x35ce72*_0x3664ad}),_0x5617e4[_0xbe37c3(0x621)]&&_0x5617e4[_0xbe37c3(0x621)][_0xbe37c3(0x540)](_0x277561*_0x3664ad/_0x5cbbae,_0x3f1c1c*_0x3664ad/_0x35ce72),jn(_0x5617e4);}if(_0x19723b&&_0x3e6695&&_0xa3e470[_0xbe37c3(0x22e)]){var _0x528ba0;let _0x49d890={'unitId':_0x3e6695[_0xbe37c3(0x468)],'subUnitId':_0x3e6695[_0xbe37c3(0x2e0)],'shapeId':_0x3e6695[_0xbe37c3(0x566)],'width':_0x2cea1f,'height':_0x29879a};_0x32d8cd['current']=_0x49d890,(_0x528ba0=_0xa3e470[_0xbe37c3(0x47f)])==null||_0x528ba0[_0xbe37c3(0x149)](_0xa3e470,_0x49d890);}if(_0x5d6fdf&&_0x3e6695&&_0xa3e470[_0xbe37c3(0x22e)]){if(_0x19723b)return;_0x32d8cd['current']=null,_0x422f04[_0xbe37c3(0x5d3)]={'width':_0x2cea1f,'height':_0x29879a},_0xa3e470['updateHostSize']({'unitId':_0x3e6695[_0xbe37c3(0x468)],'subUnitId':_0x3e6695['subUnitId'],'shapeId':_0x3e6695[_0xbe37c3(0x566)],'width':_0x2cea1f,'height':_0x29879a}),_0x38ae10();}else{if(_0x3fed86&&_0x3e6695&&_0xa3e470[_0xbe37c3(0x620)]){if(_0x19723b)return;_0x32d8cd['current']=null,_0x422f04[_0xbe37c3(0x5d3)]={'width':_0x40bde5,'height':_0x29879a},_0xa3e470[_0xbe37c3(0x620)]({'unitId':_0x3e6695['unitId'],'subUnitId':_0x3e6695[_0xbe37c3(0x2e0)],'shapeId':_0x3e6695[_0xbe37c3(0x566)],'height':_0x29879a}),_0x38ae10();}}},[_0x3f8f48,_0xa3e470,_0x3e6695,_0x2ab14d,_0x349fa3,_0x56357b,_0x22616f,_0x323762,_0x174aad,_0x1b2886,_0x5f220c,_0x735719,_0x15e76e,_0x15b2bb,_0x38ae10,_0x2fe561]);_0x133ee5[_0xc4c954(0x5d3)]=_0x4f7607;let _0x115d46=(0x0,n[_0xc4c954(0x1f2)])((_0x36f123=!0x1)=>{const _0x4d421c=_0xc4c954;_0x4f5e2c(),_0x17d7c4[_0x4d421c(0x5d3)]=requestAnimationFrame(()=>{const _0x348d7d=_0x4d421c;_0x4f7607(),_0x36f123&&_0x3478f0(!0x1),_0x17d7c4[_0x348d7d(0x5d3)]=null,_0x5118b8[_0x348d7d(0x5d3)]=window[_0x348d7d(0x3ac)](()=>{const _0x5801e1=_0x348d7d;_0x4f7607(),_0x36f123&&_0x3478f0(!0x1),_0x5118b8[_0x5801e1(0x5d3)]=null;},0x14);});},[_0x4f7607,_0x4f5e2c,_0x3478f0]);_0xfe16c3['current']=_0x115d46,(0x0,n[_0xc4c954(0x6a1)])(()=>{const _0x40d0db=_0xc4c954;if(!(_0x3e6695!=null&&_0x3e6695[_0x40d0db(0x213)])||!_0x3f8f48)return;let _0x38c104=!0x1,_0x161913=_0x3b5ca5[_0x40d0db(0x612)]['subscribe'](_0x4e98f0=>{const _0x289cee=_0x40d0db;if(!_0x38c104){_0x38c104=!0x0;return;}!_0x4e98f0||_0x4e98f0[_0x289cee(0x468)]!==_0x34dfda||_0x4e98f0['isSync']||(_0x23a572(Gt(On(_0x3f8f48))),_0xfe16c3[_0x289cee(0x5d3)](!0x1));});return()=>{_0x161913['unsubscribe']();};},[_0x3b5ca5,_0x3f8f48,_0x34dfda,_0x3e6695==null?void 0x0:_0x3e6695['shapeId'],_0x3e6695==null?void 0x0:_0x3e6695[_0xc4c954(0x531)],_0x3e6695==null?void 0x0:_0x3e6695[_0xc4c954(0x2e0)],_0x3e6695==null?void 0x0:_0x3e6695[_0xc4c954(0x468)],_0x3e6695==null?void 0x0:_0x3e6695[_0xc4c954(0x213)]]);let _0x1ebd30=(0x0,n[_0xc4c954(0x1f2)])(()=>{const _0x2e9603=_0xc4c954;_0x4f5e2c(),_0x133ee5[_0x2e9603(0x5d3)]();},[_0x4f5e2c]);(0x0,n[_0xc4c954(0x6a1)])(()=>{const _0x32add5=_0xc4c954;if(!_0x3f8f48||!_0x3e6695)return;let {shapeId:_0x92a94a,unitId:_0x14535e}=_0x3e6695;if(_0x3325b0){var _0x18cfc1,_0x11c83c,_0x1513d7,_0x5804a8,_0x427e7b,_0x296467,_0x4890c8,_0x4e198c;let _0x14da7a=_0x22616f(),_0x1c553f=On(_0x3f8f48);if(!_0x1c553f)return;let _0x5cfa5c=(_0x18cfc1=(_0x11c83c=_0x14da7a==null?void 0x0:_0x14da7a['verticalAlign'])==null?(_0x1513d7=_0x211cd1[_0x32add5(0x5d3)])==null?void 0x0:_0x1513d7['va']:_0x11c83c)==null?i[_0x32add5(0x225)]['TOP']:_0x18cfc1,{horizontalAlign:_0x5207ed,verticalAlign:_0x3a3316}=W(_0x1c553f,{'verticalAlign':_0x5cfa5c,'horizontalAlign':(_0x5804a8=(_0x427e7b=_0x14da7a==null?void 0x0:_0x14da7a['horizontalAlign'])==null?(_0x296467=_0x211cd1[_0x32add5(0x5d3)])==null?void 0x0:_0x296467['ha']:_0x427e7b)==null?i[_0x32add5(0x546)][_0x32add5(0x381)]:_0x5804a8}),_0x3d892c=Nt((_0x4890c8=_0x1c553f[_0x32add5(0x199)])==null||(_0x4890c8=_0x4890c8[_0x32add5(0x4a6)])==null?void 0x0:_0x4890c8[_0x32add5(0x390)])?_0x5cfa5c:_0x3a3316,_0x14e9ad={'va':_0x3d892c,'ha':_0x5207ed,'doc':pe(_0x1c553f,{'bodyBehavior':_0x14da7a==null?void 0x0:_0x14da7a[_0x32add5(0x411)],'verticalAlign':_0x3d892c,'horizontalAlign':_0x5207ed})};_0x1ebd30();let _0x1b07dd=_0x3d4028();_0xa3e470[_0x32add5(0x441)]({'unitId':_0x14535e,'subUnitId':_0x3e6695['subUnitId'],'shapeId':_0x92a94a,'shapeText':sn({'shapeText':_0x14da7a==null?void 0x0:_0x14da7a['shapeText'],'isHorizontal':_0x14da7a==null?void 0x0:_0x14da7a[_0x32add5(0x594)],'dataModel':_0x14e9ad}),'oldShapeText':sn({'shapeText':_0x14da7a==null?void 0x0:_0x14da7a[_0x32add5(0x645)],'isHorizontal':_0x14da7a==null?void 0x0:_0x14da7a[_0x32add5(0x594)],'dataModel':(_0x4e198c=_0x211cd1[_0x32add5(0x5d3)])==null?void 0x0:_0x4e198c}),..._0x1b07dd?{'hostSize':_0x1b07dd}:null}),_0x5486f6[_0x32add5(0x4db)](null);return;}let _0x5b148a=_0x22616f();if(_0x5b148a!=null&&_0x5b148a[_0x32add5(0x437)]){_0x211cd1[_0x32add5(0x5d3)]={'va':_0x5b148a['verticalAlign'],'ha':_0x5b148a['horizontalAlign'],'doc':me(_0x5b148a[_0x32add5(0x437)])};let _0xda85a1=K(_0x5b148a[_0x32add5(0x437)],{'bodyBehavior':_0x5b148a[_0x32add5(0x411)],'isHorizontal':_0x5b148a['isHorizontal'],'textRect':_0x5b148a[_0x32add5(0x3d9)],'verticalAlign':_0x5b148a['verticalAlign'],'horizontalAlign':_0x5b148a[_0x32add5(0x384)],'wrapStrategy':_0x5b148a[_0x32add5(0x1f0)]});return Dn(_0x3f8f48,_0xda85a1,null),_0x23a572(Gt(_0xda85a1)),()=>{const _0x389325=_0x32add5;var _0x53b7b4,_0x204b16,_0x5c6c1d,_0x35a92d,_0x4f5a0f,_0x3067d9,_0x2e3a6b,_0x1a545f;if(_0x5e6e6d[_0x389325(0x5d3)])return;let _0x340084=_0x22616f(),_0x3ef9ea=On(_0x3f8f48);if(!_0x3ef9ea)return;let _0xd80748=(_0x53b7b4=(_0x204b16=_0x340084==null?void 0x0:_0x340084[_0x389325(0x642)])==null?(_0x5c6c1d=_0x211cd1[_0x389325(0x5d3)])==null?void 0x0:_0x5c6c1d['va']:_0x204b16)==null?i[_0x389325(0x225)]['TOP']:_0x53b7b4,{horizontalAlign:_0x10ec8c,verticalAlign:_0x580fb1}=W(_0x3ef9ea,{'verticalAlign':_0xd80748,'horizontalAlign':(_0x35a92d=(_0x4f5a0f=_0x340084==null?void 0x0:_0x340084[_0x389325(0x384)])==null?(_0x3067d9=_0x211cd1[_0x389325(0x5d3)])==null?void 0x0:_0x3067d9['ha']:_0x4f5a0f)==null?i[_0x389325(0x546)][_0x389325(0x381)]:_0x35a92d}),_0x5ec8c8=Nt((_0x2e3a6b=_0x3ef9ea['documentStyle'])==null||(_0x2e3a6b=_0x2e3a6b[_0x389325(0x4a6)])==null?void 0x0:_0x2e3a6b[_0x389325(0x390)])?_0xd80748:_0x580fb1,_0x17b17e={'va':_0x5ec8c8,'ha':_0x10ec8c,'doc':pe(_0x3ef9ea,{'bodyBehavior':_0x340084==null?void 0x0:_0x340084[_0x389325(0x411)],'verticalAlign':_0x5ec8c8,'horizontalAlign':_0x10ec8c})};_0x1ebd30();let _0x502f30=_0x3d4028();_0xa3e470['updateShapeText']({'unitId':_0x14535e,'subUnitId':_0x3e6695['subUnitId'],'shapeId':_0x92a94a,'shapeText':sn({'shapeText':_0x340084==null?void 0x0:_0x340084[_0x389325(0x645)],'isHorizontal':_0x340084==null?void 0x0:_0x340084[_0x389325(0x594)],'dataModel':_0x17b17e}),'oldShapeText':sn({'shapeText':_0x340084==null?void 0x0:_0x340084[_0x389325(0x645)],'isHorizontal':_0x340084==null?void 0x0:_0x340084['isHorizontal'],'dataModel':(_0x1a545f=_0x211cd1[_0x389325(0x5d3)])==null?void 0x0:_0x1a545f}),..._0x502f30?{'hostSize':_0x502f30}:null});};}else Dn(_0x3f8f48,_0x15e76e,null),_0x23a572(Gt(_0x15e76e));},[_0x3f8f48,_0x3e6695,_0x3325b0]);let _0x282ff1=rn({'editorUnitId':_0x34dfda,'editingParams':_0x3e6695});(0x0,n[_0xc4c954(0x6a1)])(()=>{const _0x1a121a=_0xc4c954;if(!(!_0x3f8f48||!_0x282ff1||!(_0x3e6695!=null&&_0x3e6695['visible'])))return _0x20b4ed[_0x1a121a(0x298)](!0x0),_0x133ee5[_0x1a121a(0x5d3)](),_0x4108aa['current']=requestAnimationFrame(()=>{const _0x22846e=_0x1a121a;_0x20b4ed[_0x22846e(0x20c)](_0x34dfda),_0x478909[_0x22846e(0x5d3)](!0x0,!0x0),_0x3f8f48[_0x22846e(0x20c)](),_0xfe16c3[_0x22846e(0x5d3)](),_0x4108aa[_0x22846e(0x5d3)]=null;}),()=>{const _0x3b9328=_0x1a121a;_0x4108aa[_0x3b9328(0x5d3)]!==null&&(cancelAnimationFrame(_0x4108aa[_0x3b9328(0x5d3)]),_0x4108aa[_0x3b9328(0x5d3)]=null),_0xab7f09[_0x3b9328(0x5d3)]!==null&&(cancelAnimationFrame(_0xab7f09[_0x3b9328(0x5d3)]),_0xab7f09[_0x3b9328(0x5d3)]=null),_0x4f5e2c(),_0x20b4ed[_0x3b9328(0x298)](!0x0);};},[_0x3f8f48,_0x20b4ed,_0x34dfda,_0x282ff1,_0x3e6695==null?void 0x0:_0x3e6695[_0xc4c954(0x213)],_0x4f5e2c]),(0x0,n[_0xc4c954(0x6a1)])(()=>{if(!_0x3f8f48)return;let _0x37e5eb=_0x19ec9d['onCommandExecuted'](_0x164ad8=>{const _0x54d4e9=_0x41f9;_0x164ad8['id']===l[_0x54d4e9(0x27d)]['id']&&_0x164ad8['params'][_0x54d4e9(0x468)]===_0x34dfda&&_0x3e6695&&(_0x3e6695['visible']?(_0x4f7607(),_0x115d46()):_0x5486f6['setEditing']({..._0x3e6695,'visible':!0x0})),_0x3871f5&&_0x164ad8['id']===_0x3871f5&&_0x115d46(!0x0);});return()=>{_0x37e5eb['dispose']();};},[_0x3f8f48,_0x4f7607,_0x3e6695,_0x115d46,_0x5486f6,_0x34dfda,_0x3871f5]),(0x0,n[_0xc4c954(0x6a1)])(()=>(_0x4f7607(),_0x115d46(),()=>{_0x4f5e2c();}),[_0x4f7607,_0x115d46,_0x4f5e2c]);let _0x1f8ddb=(0x0,n[_0xc4c954(0x18d)])(()=>{const _0x4987d8=_0xc4c954;var _0x4845aa,_0x288592;let _0x2f2a88=(_0x4845aa=_0x209974['editorSurfaceWidth'])==null?_0x209974[_0x4987d8(0x1e1)]:_0x4845aa;return{...Tn(_0x209974[_0x4987d8(0x57d)],_0x209974['editorTop'],_0x2f2a88,Math['max'](0x1,_0x209974['editorHeight'])),..._0x3e6695?(_0x288592=_0xa3e470['getEditingContentStyle'])==null?void 0x0:_0x288592['call'](_0xa3e470,_0x3e6695):void 0x0};},[_0xa3e470,_0x3e6695,_0x209974['editorHeight'],_0x209974[_0xc4c954(0x57d)],_0x209974[_0xc4c954(0x2ef)],_0x209974[_0xc4c954(0x3ab)],_0x209974[_0xc4c954(0x1e1)]]),_0x4dc2a4=(0x0,n[_0xc4c954(0x18d)])(()=>{const _0x371370=_0xc4c954;let _0x45dced=_0x22616f(),_0x291af0=_0x45dced==null?void 0x0:_0x45dced[_0x371370(0x1b6)];return _0x291af0&&_0x291af0||{'angle':0x0,'flipX':!0x1,'flipY':!0x1};},[_0x22616f]),_0x59721e=(0x0,n['useMemo'])(()=>{const _0x5bb10c=_0xc4c954;var _0x4f92e5,_0x3d74fa;return Sn({'documentMarginTop':_0x209974['documentMarginTop'],'editorLeft':_0x209974[_0x5bb10c(0x57d)],'editorSurfaceWidth':_0x209974[_0x5bb10c(0x2ef)],'editorTop':_0x209974[_0x5bb10c(0x3ab)],'editorWidth':_0x209974[_0x5bb10c(0x1e1)],'horizontalAlign':(_0x4f92e5=(_0x3d74fa=_0x22616f())==null?void 0x0:_0x3d74fa['horizontalAlign'])==null?i[_0x5bb10c(0x546)][_0x5bb10c(0x381)]:_0x4f92e5});},[_0x22616f,_0x209974]);return(0x0,r[_0xc4c954(0x576)])(_0xc4c954(0x488),{'ref':_0x493583,'data-u-comp':_0xc4c954(0x670),'className':_0xc4c954(0x648),'style':{'transform':_0xc4c954(0x241)+_0x4dc2a4[_0xc4c954(0x17d)]+_0xc4c954(0x649)+(_0x4dc2a4['flipY']?-0x1:0x1)+')'},'children':[(0x0,r[_0xc4c954(0x1a5)])(_0xc4c954(0x488),{'ref':_0x5cd19a,'className':'univer-absolute','data-u-comp':_0xc4c954(0x304),'style':_0x1f8ddb,'data-editorid':_0x34dfda}),(_0x3e6695==null?void 0x0:_0x3e6695[_0xc4c954(0x213)])&&_0x598727&&(0x0,r[_0xc4c954(0x1a5)])(_0xc4c954(0x488),{'aria-hidden':_0xc4c954(0x483),'className':_0xc4c954(0x19d),'data-u-comp':_0xc4c954(0x13f),'style':{..._0x59721e,'fontSize':_0x3a3fa8==null?0xe:_0x3a3fa8,'lineHeight':1.5},'children':_0x15b2bb})]});};function Pn(_0x5ca40d,_0x1c2f16){return Math['abs'](_0x5ca40d-_0x1c2f16)<=0.001;}function Fn(_0x41e5ea,_0x57bc94){const _0x51c179=_0x2a77fc;return Pn(_0x41e5ea[_0x51c179(0x368)],_0x57bc94['left'])&&Pn(_0x41e5ea[_0x51c179(0x4ed)],_0x57bc94[_0x51c179(0x4ed)])&&Pn(_0x41e5ea[_0x51c179(0x23f)],_0x57bc94[_0x51c179(0x23f)])&&Pn(_0x41e5ea[_0x51c179(0x27c)],_0x57bc94[_0x51c179(0x27c)])&&Pn(_0x41e5ea[_0x51c179(0x17d)],_0x57bc94[_0x51c179(0x17d)])&&Pn(_0x41e5ea['scaleX'],_0x57bc94['scaleX'])&&Pn(_0x41e5ea[_0x51c179(0x589)],_0x57bc94[_0x51c179(0x589)]);}function In(_0x54d4e4,_0x366c65){const _0x1b7a69=_0x2a77fc;return _0x366c65?{..._0x54d4e4,'left':_0x54d4e4[_0x1b7a69(0x368)]+_0x366c65[_0x1b7a69(0x368)],'top':_0x54d4e4[_0x1b7a69(0x4ed)]+_0x366c65[_0x1b7a69(0x4ed)]}:_0x54d4e4;}const Ln={'left':-0x270f,'top':-0x270f,'width':0x64,'height':0x64,'angle':0x0,'scaleX':0x1,'scaleY':0x1};function Rn(_0x553ea9,_0x543d3f,_0x5bc30d,_0x3f8553,_0x76fbe7){const _0x3a58d6=_0x2a77fc;let {scaleX:_0x2d1aea,scaleY:_0x51be57}=_0x5bc30d[_0x3a58d6(0x52e)](),{startColumn:_0x5e8637,startRow:_0x11545f,xSplit:_0x1b259c,ySplit:_0x221717}=_0x3f8553['worksheet'][_0x3a58d6(0x4c8)](),_0x3e01ab=_0x5bc30d[_0x3a58d6(0x696)](_0x76fbe7[_0x3a58d6(0x419)]),_0x16eeb4=_0x5bc30d[_0x3a58d6(0x696)](_0x76fbe7[_0x3a58d6(0x4e7)]),_0x246f5e=_0x5bc30d[_0x3a58d6(0x696)](_0x76fbe7[_0x3a58d6(0x4ed)]),_0x1eefc3=_0x5bc30d['getViewport'](_0x76fbe7[_0x3a58d6(0x368)]),{rowHeaderWidth:_0x447f9e,columnHeaderHeight:_0x525126}=_0x3f8553,_0x2167b1=_0x3f8553[_0x3a58d6(0x616)](_0x11545f)+_0x525126,_0x394a57=_0x3f8553[_0x3a58d6(0x281)](_0x5e8637)+_0x447f9e,_0xd9731b=_0x3f8553['rowStartY'](_0x11545f-_0x221717)+_0x525126,_0x3d9095=_0x3f8553['colStartX'](_0x5e8637-_0x1b259c)+_0x447f9e,_0x10e2f5=[],_0x27d3bc=(_0x479a06,_0x4c5549,_0x651f1b)=>{if(!_0x479a06)return null;let {viewportScrollX:_0x5b1a2d,viewportScrollY:_0x2effc4}=_0x479a06,_0x3b7a96,_0x275fb9;return _0x3b7a96=_0x4c5549?(_0x553ea9-(_0x3d9095-_0x447f9e))*_0x2d1aea:(_0x553ea9-_0x5b1a2d)*_0x2d1aea,_0x275fb9=_0x651f1b?(_0x543d3f-(_0xd9731b-_0x525126))*_0x51be57:(_0x543d3f-_0x2effc4)*_0x51be57,{'domX':_0x3b7a96,'domY':_0x275fb9};},_0x3cf74b=_0x553ea9<_0x394a57&&_0x1b259c>0x0,_0xc14bb6=_0x543d3f<_0x2167b1&&_0x221717>0x0,_0x1e44b6=_0x553ea9>=_0x394a57||_0x1b259c===0x0,_0x5d5296=_0x543d3f>=_0x2167b1||_0x221717===0x0;if(_0x3cf74b&&_0xc14bb6&&_0x16eeb4){let _0x2fff62=_0x27d3bc(_0x16eeb4,!0x0,!0x0);_0x2fff62&&_0x10e2f5['push'](_0x2fff62);}if(_0xc14bb6&&_0x1e44b6&&_0x246f5e){let _0x4553be=_0x27d3bc(_0x246f5e,!0x1,!0x0);_0x4553be&&_0x10e2f5['push'](_0x4553be);}if(_0x3cf74b&&_0x5d5296&&_0x1eefc3){let _0x2dbe41=_0x27d3bc(_0x1eefc3,!0x0,!0x1);_0x2dbe41&&_0x10e2f5[_0x3a58d6(0x311)](_0x2dbe41);}if(_0x1e44b6&&_0x5d5296&&_0x3e01ab){let _0x49e7d4=_0x27d3bc(_0x3e01ab,!0x1,!0x1);_0x49e7d4&&_0x10e2f5[_0x3a58d6(0x311)](_0x49e7d4);}if(_0x10e2f5[_0x3a58d6(0x5a7)]===0x0){var _0x193144,_0x230b70;return{'domX':(_0x553ea9-((_0x193144=_0x3e01ab==null?void 0x0:_0x3e01ab[_0x3a58d6(0x3d3)])==null?0x0:_0x193144))*_0x2d1aea,'domY':(_0x543d3f-((_0x230b70=_0x3e01ab==null?void 0x0:_0x3e01ab[_0x3a58d6(0x379)])==null?0x0:_0x230b70))*_0x51be57};}let _0x5925ef=_0x10e2f5[0x0][_0x3a58d6(0x342)],_0x174aa3=_0x10e2f5[0x0]['domY'];for(let _0x4936da of _0x10e2f5)_0x4936da[_0x3a58d6(0x342)]>_0x5925ef&&(_0x5925ef=_0x4936da['domX']),_0x4936da['domY']>_0x174aa3&&(_0x174aa3=_0x4936da[_0x3a58d6(0x5f4)]);return{'domX':_0x5925ef,'domY':_0x174aa3};}function zn(_0x27613c,_0x26512b,_0x2bf863,_0x318bb,_0x251a47,_0x93869,_0x225f96,_0x3f9b4c){const _0x3b9a9d=_0x2a77fc;let {scaleX:_0x2b3c86,scaleY:_0x1b7132}=_0x93869[_0x3b9a9d(0x52e)]();if(!_0x3f9b4c||!_0x225f96[_0x3b9a9d(0x4e7)]||!_0x225f96['top']||!_0x225f96[_0x3b9a9d(0x368)]){var _0x4310b1,_0x4fb2f5;let _0x58e3d8=_0x93869[_0x3b9a9d(0x696)](_0x225f96[_0x3b9a9d(0x419)]),_0xbdc2bf=(_0x4310b1=_0x58e3d8==null?void 0x0:_0x58e3d8[_0x3b9a9d(0x3d3)])==null?0x0:_0x4310b1,_0x666f3d=(_0x4fb2f5=_0x58e3d8==null?void 0x0:_0x58e3d8[_0x3b9a9d(0x379)])==null?0x0:_0x4fb2f5;return{'left':(_0x27613c-_0xbdc2bf)*_0x2b3c86,'top':(_0x26512b-_0x666f3d)*_0x1b7132,'width':_0x2bf863*_0x2b3c86,'height':_0x318bb*_0x1b7132,'angle':_0x251a47,'scaleX':_0x2b3c86,'scaleY':_0x1b7132};}let {domX:_0x8532fa,domY:_0x32a107}=Rn(_0x27613c,_0x26512b,_0x93869,_0x3f9b4c,_0x225f96);return{'left':_0x8532fa,'top':_0x32a107,'width':_0x2bf863*_0x2b3c86,'height':_0x318bb*_0x1b7132,'angle':_0x251a47,'scaleX':_0x2b3c86,'scaleY':_0x1b7132};}function Bn(_0x403652){const _0x17bec3=_0x2a77fc;let {editingParams:_0x59f344,scene:_0x4367cf,skeleton:_0x3c612b,viewportKeys:_0x5e15a6,getShapeTransform:_0x352fe2,getPositionOffset:_0x1af4f1}=_0x403652,[_0x500105,_0xb26b35]=(0x0,n['useState'])(Ln),_0x3f273d=(0x0,n[_0x17bec3(0x40b)])(_0x500105);_0x3f273d['current']=_0x500105;let _0x5cb17e=(0x0,n[_0x17bec3(0x1f2)])(()=>{const _0x5639e5=_0x17bec3;var _0x1ae528;if(!_0x59f344||!_0x4367cf){Fn(_0x3f273d[_0x5639e5(0x5d3)],Ln)||_0xb26b35(Ln);return;}let _0x5ceb55=_0x352fe2();if(!_0x5ceb55){Fn(_0x3f273d[_0x5639e5(0x5d3)],Ln)||_0xb26b35(Ln);return;}let {left:_0x211d57,top:_0x4c4e5f,width:_0x10184f,height:_0x3f85f0,angle:_0x3c6bd4}=_0x5ceb55;if(!_0x59f344[_0x5639e5(0x213)]){let {scaleX:_0x355e48,scaleY:_0x370e23}=_0x4367cf[_0x5639e5(0x52e)](),_0x11f15a={'left':-0x270f,'top':-0x270f,'width':_0x10184f*_0x355e48,'height':_0x3f85f0*_0x370e23,'angle':0x0,'scaleX':_0x355e48,'scaleY':_0x370e23};_0xb26b35(_0x307ce7=>Fn(_0x307ce7,_0x11f15a)?_0x307ce7:_0x11f15a);return;}let _0x22c0af=In(zn(_0x211d57,_0x4c4e5f,_0x10184f,_0x3f85f0,_0x3c6bd4,_0x4367cf,_0x5e15a6,_0x3c612b),(_0x1ae528=_0x1af4f1==null?void 0x0:_0x1af4f1())==null?null:_0x1ae528);_0xb26b35(_0x2d713e=>Fn(_0x2d713e,_0x22c0af)?_0x2d713e:_0x22c0af);},[_0x59f344,_0x4367cf,_0x3c612b,_0x5e15a6,_0x352fe2,_0x1af4f1]);return(0x0,n[_0x17bec3(0x6a1)])(()=>{_0x5cb17e();},[_0x59f344,_0x5cb17e]),{'position':_0x500105,'updatePosition':_0x5cb17e};}function Vn(_0x46f5bc,_0x3d5eb8){const _0x5070fe=_0x2a77fc;return!!(_0x46f5bc!=null&&_0x46f5bc[_0x5070fe(0x213)])&&!(_0x3d5eb8[_0x5070fe(0x368)]===-0x270f&&_0x3d5eb8[_0x5070fe(0x4ed)]===-0x270f);}function Hn(_0x3fbda4){const _0x513f13=_0x2a77fc;if(!_0x3fbda4||typeof _0x3fbda4!=_0x513f13(0x49f))return!0x1;let _0x3227aa=_0x3fbda4;return typeof _0x3227aa['left']==_0x513f13(0x2a3)&&typeof _0x3227aa[_0x513f13(0x4ed)]==_0x513f13(0x2a3)&&typeof _0x3227aa[_0x513f13(0x23f)]==_0x513f13(0x2a3)&&typeof _0x3227aa[_0x513f13(0x27c)]==_0x513f13(0x2a3);}function Un(_0x24cd03,_0x25780b){const _0x91e49f=_0x2a77fc;var _0x22134e,_0x25331d;let _0x327b5d=(_0x22134e=_0x24cd03[_0x91e49f(0x2da)](_0x25780b))==null?(_0x25331d=_0x24cd03['getObjectIncludeInGroup'])==null?void 0x0:_0x25331d['call'](_0x24cd03,_0x25780b):_0x22134e;return Hn(_0x327b5d)?_0x327b5d:null;}function Wn(_0x349364,_0x229f3f){const _0x23d278=_0x2a77fc;return _0x349364['clientX']>=_0x229f3f[_0x23d278(0x368)]&&_0x349364[_0x23d278(0x66f)]<=_0x229f3f[_0x23d278(0x480)]&&_0x349364[_0x23d278(0x186)]>=_0x229f3f['top']&&_0x349364[_0x23d278(0x186)]<=_0x229f3f[_0x23d278(0x1a8)];}function Gn(_0x16d861,_0x516cc1){const _0x2c4472=_0x2a77fc;if(!(_0x16d861 instanceof Node))return!0x1;let _0x3f62e3=_0x516cc1==null?void 0x0:_0x516cc1[_0x2c4472(0x56a)](_0x2c4472(0x323));return!!(_0x3f62e3!=null&&_0x3f62e3[_0x2c4472(0x528)](_0x16d861));}function Kn(_0x5b6d7a){const _0x2ab2a9=_0x2a77fc;let _0x2f50cc=_0x5b6d7a[_0x2ab2a9(0x5de)],_0x12035f={'bubbles':!0x0,'cancelable':!0x0,'composed':!0x0,'view':window,'detail':_0x2f50cc[_0x2ab2a9(0x395)],'screenX':_0x2f50cc[_0x2ab2a9(0x4f7)],'screenY':_0x2f50cc[_0x2ab2a9(0x1e8)],'clientX':_0x2f50cc['clientX'],'clientY':_0x2f50cc[_0x2ab2a9(0x186)],'ctrlKey':_0x2f50cc[_0x2ab2a9(0x31c)],'shiftKey':_0x2f50cc[_0x2ab2a9(0x611)],'altKey':_0x2f50cc[_0x2ab2a9(0x5b2)],'metaKey':_0x2f50cc[_0x2ab2a9(0x249)],'button':_0x2f50cc[_0x2ab2a9(0x662)],'buttons':_0x2f50cc['buttons'],'relatedTarget':_0x2f50cc['relatedTarget']};return typeof PointerEvent<'u'&&_0x2f50cc instanceof PointerEvent?new PointerEvent(_0x2f50cc['type'],{..._0x12035f,'pointerId':_0x2f50cc['pointerId'],'width':_0x2f50cc[_0x2ab2a9(0x23f)],'height':_0x2f50cc['height'],'pressure':_0x2f50cc[_0x2ab2a9(0x471)],'tangentialPressure':_0x2f50cc[_0x2ab2a9(0x2f3)],'tiltX':_0x2f50cc[_0x2ab2a9(0x494)],'tiltY':_0x2f50cc[_0x2ab2a9(0x3de)],'twist':_0x2f50cc[_0x2ab2a9(0x1b4)],'pointerType':_0x2f50cc[_0x2ab2a9(0x54f)],'isPrimary':_0x2f50cc[_0x2ab2a9(0x2f7)]}):new MouseEvent(_0x2f50cc[_0x2ab2a9(0x3db)],_0x12035f);}function qn(_0x149630){const _0x33ff8e=_0x2a77fc;let _0x4bf403=_0x149630['style'][_0x33ff8e(0x2cf)],_0x3f8e23=!0x1,_0x469093=null,_0x3dc9c8=()=>{const _0x1a3d72=_0x33ff8e;_0x3f8e23||(_0x3f8e23=!0x0,_0x149630[_0x1a3d72(0x201)]['pointerEvents']=_0x4bf403,document[_0x1a3d72(0x122)](_0x1a3d72(0x4c1),_0x3dc9c8,!0x0),document[_0x1a3d72(0x122)]('pointercancel',_0x3dc9c8,!0x0),document[_0x1a3d72(0x122)](_0x1a3d72(0x3d6),_0x3dc9c8,!0x0),document['removeEventListener'](_0x1a3d72(0x505),_0x3dc9c8,!0x0),_0x469093!==null&&window[_0x1a3d72(0x54d)](_0x469093));};return _0x149630[_0x33ff8e(0x201)][_0x33ff8e(0x2cf)]='none',document[_0x33ff8e(0x1b1)](_0x33ff8e(0x4c1),_0x3dc9c8,!0x0),document[_0x33ff8e(0x1b1)](_0x33ff8e(0x235),_0x3dc9c8,!0x0),document[_0x33ff8e(0x1b1)](_0x33ff8e(0x3d6),_0x3dc9c8,!0x0),document['addEventListener'](_0x33ff8e(0x505),_0x3dc9c8,!0x0),_0x469093=window['setTimeout'](_0x3dc9c8,0x3e8),_0x3dc9c8;}function Jn(_0x3bd668,_0x444e8a){const _0x51060f=_0x2a77fc;let _0xebb13c=qn(_0x444e8a),_0x2ec813=document[_0x51060f(0x36e)](_0x3bd668[_0x51060f(0x66f)],_0x3bd668['clientY']);return!_0x2ec813||_0x2ec813===_0x444e8a||_0x444e8a[_0x51060f(0x528)](_0x2ec813)?(_0xebb13c(),!0x1):(_0x3bd668['preventDefault'](),_0x3bd668[_0x51060f(0x20e)](),_0x2ec813[_0x51060f(0x51a)](Kn(_0x3bd668)),!0x0);}function Yn(_0x571c11){const _0x3e98e4=_0x2a77fc;var _0x427166;let {editingParams:_0x11371b,positionOptions:_0x468bc6,renderUnit:_0x262778,scene:_0x29f508}=_0x571c11;if(!_0x11371b)return null;let _0xf6a69b=_0x262778?(_0x427166=_0x468bc6[_0x3e98e4(0x4af)])==null?void 0x0:_0x427166[_0x3e98e4(0x149)](_0x468bc6,_0x262778,_0x11371b):null;if(Hn(_0xf6a69b)){var _0x1dd418;return{'left':_0xf6a69b[_0x3e98e4(0x368)],'top':_0xf6a69b[_0x3e98e4(0x4ed)],'width':_0xf6a69b[_0x3e98e4(0x23f)],'height':_0xf6a69b['height'],'angle':(_0x1dd418=_0xf6a69b[_0x3e98e4(0x17d)])==null?0x0:_0x1dd418};}return _0x29f508?Un(_0x29f508,_0x11371b['shapeKey']):null;}const Xn=(0x0,n['memo'])(_0xab51b5=>{const _0x1fdca1=_0x2a77fc;let {children:_0x45bbce,editingParams:_0x553af7,positionOptions:_0x13ab07,onPositionUpdate:_0x3d565f}=_0xab51b5,_0x17005e=(0x0,n[_0x1fdca1(0x40b)])(null),_0x3f7c84=(0x0,a[_0x1fdca1(0x3d8)])(c[_0x1fdca1(0x67e)]),_0x5551d9=(0x0,n[_0x1fdca1(0x18d)])(()=>_0x553af7?_0x3f7c84[_0x1fdca1(0x603)](_0x553af7['unitId']):null,[_0x553af7,_0x3f7c84]),_0x16e9a9=(0x0,n[_0x1fdca1(0x18d)])(()=>{var _0x253d6f;return(_0x253d6f=_0x5551d9==null?void 0x0:_0x5551d9['scene'])==null?null:_0x253d6f;},[_0x5551d9]),_0x42b372=(0x0,n['useMemo'])(()=>!_0x553af7||!_0x5551d9||!_0x13ab07[_0x1fdca1(0x431)]?null:_0x13ab07[_0x1fdca1(0x431)](_0x5551d9,_0x553af7),[_0x553af7,_0x13ab07,_0x5551d9]),_0x3b83c9=(0x0,n['useCallback'])(()=>{const _0x3cdbf2=_0x1fdca1;var _0x155799;let _0x196be2=Yn({'editingParams':_0x553af7,'positionOptions':_0x13ab07,'renderUnit':_0x5551d9,'scene':_0x16e9a9});return _0x196be2?{'left':_0x196be2[_0x3cdbf2(0x368)],'top':_0x196be2[_0x3cdbf2(0x4ed)],'width':_0x196be2[_0x3cdbf2(0x23f)],'height':_0x196be2[_0x3cdbf2(0x27c)],'angle':(_0x155799=_0x196be2[_0x3cdbf2(0x17d)])==null?0x0:_0x155799}:null;},[_0x553af7,_0x13ab07,_0x5551d9,_0x16e9a9]),_0x4d024a=(0x0,n[_0x1fdca1(0x1f2)])(()=>{const _0xe5b12b=_0x1fdca1;var _0x543120,_0x730364;return!_0x553af7||!_0x5551d9||(_0x543120=(_0x730364=_0x13ab07[_0xe5b12b(0x626)])==null?void 0x0:_0x730364['call'](_0x13ab07,_0x5551d9,_0x553af7))==null?null:_0x543120;},[_0x553af7,_0x13ab07,_0x5551d9]),{position:_0x1b59ac,updatePosition:_0x350a79}=Bn({'editingParams':_0x553af7,'scene':_0x16e9a9,'skeleton':_0x42b372,'viewportKeys':_0x13ab07[_0x1fdca1(0x2ae)],'getShapeTransform':_0x3b83c9,'getPositionOffset':_0x4d024a}),_0x58d7f8=(0x0,n[_0x1fdca1(0x1f2)])(()=>{const _0xe47755=_0x1fdca1;let _0x394910=_0x17005e[_0xe47755(0x5d3)];_0x394910&&(_0x394910[_0xe47755(0x201)]['left']=_0x1b59ac[_0xe47755(0x368)]+'px',_0x394910['style'][_0xe47755(0x4ed)]=_0x1b59ac[_0xe47755(0x4ed)]+'px',_0x394910[_0xe47755(0x201)][_0xe47755(0x23f)]=_0x1b59ac['width']+'px',_0x394910[_0xe47755(0x201)][_0xe47755(0x27c)]=_0x1b59ac[_0xe47755(0x27c)]+'px');},[_0x1b59ac]);(0x0,n[_0x1fdca1(0x6a1)])(()=>{const _0x1bdcf2=_0x1fdca1;_0x58d7f8(),Vn(_0x553af7,_0x1b59ac)&&(_0x3d565f==null||_0x3d565f({'width':_0x1b59ac[_0x1bdcf2(0x23f)],'height':_0x1b59ac['height'],'scaleX':_0x1b59ac[_0x1bdcf2(0x580)],'scaleY':_0x1b59ac[_0x1bdcf2(0x589)]}));},[_0x553af7,_0x1b59ac,_0x58d7f8,_0x3d565f]),(0x0,n[_0x1fdca1(0x6a1)])(()=>{const _0x5cfeb6=_0x1fdca1;if(!_0x16e9a9)return;let _0x372839=_0x16e9a9[_0x5cfeb6(0x696)](_0x13ab07[_0x5cfeb6(0x2ae)][_0x5cfeb6(0x419)]);if(!_0x372839)return;let _0x512bf6=_0x372839['onScrollAfter$'][_0x5cfeb6(0x1b9)](()=>{_0x350a79();});return()=>{const _0x5287d0=_0x5cfeb6;_0x512bf6[_0x5287d0(0x3af)]();};},[_0x13ab07[_0x1fdca1(0x2ae)][_0x1fdca1(0x419)],_0x16e9a9,_0x350a79]),(0x0,n[_0x1fdca1(0x6a1)])(()=>{const _0x446883=_0x1fdca1;var _0x602e7d,_0x345138;let _0x27ec65=_0x5551d9==null||(_0x602e7d=_0x5551d9[_0x446883(0x5a3)])==null||(_0x602e7d=_0x602e7d[_0x446883(0x41a)])==null?void 0x0:_0x602e7d[_0x446883(0x1b9)](()=>{_0x350a79();}),_0x52ff06=_0x16e9a9==null||(_0x345138=_0x16e9a9[_0x446883(0x41a)])==null?void 0x0:_0x345138[_0x446883(0x1b9)](()=>{_0x350a79();});return()=>{const _0x230cf5=_0x446883;_0x27ec65==null||_0x27ec65[_0x230cf5(0x3af)](),_0x52ff06==null||_0x52ff06['unsubscribe']();};},[_0x5551d9,_0x16e9a9,_0x350a79]),(0x0,n['useEffect'])(()=>{const _0x3045f0=_0x1fdca1;if(!_0x553af7||!_0x16e9a9)return;let _0x3f7d3c=Un(_0x16e9a9,_0x553af7[_0x3045f0(0x531)]);if(_0x3f7d3c!=null&&_0x3f7d3c[_0x3045f0(0x41a)]){let _0x57f41a=_0x3f7d3c[_0x3045f0(0x41a)][_0x3045f0(0x1b9)](()=>{_0x350a79();});return()=>{_0x57f41a['unsubscribe']();};}},[_0x553af7,_0x16e9a9,_0x350a79]);let _0x49d8c1=(0x0,n[_0x1fdca1(0x18d)])(()=>({'left':_0x1b59ac['left'],'top':_0x1b59ac[_0x1fdca1(0x4ed)],'width':_0x1b59ac[_0x1fdca1(0x23f)],'height':_0x1b59ac[_0x1fdca1(0x27c)],'pointerEvents':_0x553af7!=null&&_0x553af7[_0x1fdca1(0x213)]?_0x1fdca1(0x51b):_0x1fdca1(0x1da)}),[_0x1b59ac,_0x553af7==null?void 0x0:_0x553af7[_0x1fdca1(0x213)]]),_0xf030e2=(0x0,n[_0x1fdca1(0x1f2)])(_0x5ee1a5=>{const _0x367cec=_0x1fdca1;let _0x4b4c4e=_0x17005e[_0x367cec(0x5d3)];if(!_0x4b4c4e||!(_0x553af7!=null&&_0x553af7[_0x367cec(0x213)]))return;let _0xc44e73=_0x5ee1a5[_0x367cec(0x425)];!(_0xc44e73 instanceof Node)||!_0x4b4c4e[_0x367cec(0x528)](_0xc44e73)||Gn(_0xc44e73,_0x4b4c4e)||Wn(_0x5ee1a5[_0x367cec(0x5de)],_0x4b4c4e[_0x367cec(0x500)]())||Jn(_0x5ee1a5,_0x4b4c4e);},[_0x553af7==null?void 0x0:_0x553af7[_0x1fdca1(0x213)]]);return(0x0,r[_0x1fdca1(0x1a5)])('div',{'ref':_0x17005e,'data-u-comp':_0x1fdca1(0x14d),'className':_0x1fdca1(0x28e),'style':_0x49d8c1,'onPointerDownCapture':_0xf030e2,'onMouseDownCapture':_0xf030e2,'onClickCapture':_0xf030e2,'children':_0x45bbce});});function Zn(_0x4321da,_0x29e917){const _0x252f04=_0x2a77fc;return Math['abs'](_0x4321da['width']-_0x29e917[_0x252f04(0x23f)])<=0.001&&Math['abs'](_0x4321da['height']-_0x29e917[_0x252f04(0x27c)])<=0.001&&Math[_0x252f04(0x536)](_0x4321da['scaleX']-_0x29e917[_0x252f04(0x580)])<=0.001&&Math[_0x252f04(0x536)](_0x4321da['scaleY']-_0x29e917['scaleY'])<=0.001;}const Qn=(0x0,n['memo'])(_0x841fe=>{const _0x5b13d3=_0x2a77fc;let {adapter:_0x19899b,editorUnitId:_0x51c6aa,editingService:_0xa64b59,positionOptions:_0x1caeaf,verticalAlignCommandId:_0x1d7aa8}=_0x841fe,_0x7c11b6=(0x0,a[_0x5b13d3(0x25f)])(_0xa64b59[_0x5b13d3(0x1cd)]),_0x5bd07a=(0x0,a[_0x5b13d3(0x25f)])(_0xa64b59['onSavingEditorData$']),_0x15a3c2=rn({'editorUnitId':_0x51c6aa,'editingParams':_0x7c11b6}),_0x160384=(0x0,n[_0x5b13d3(0x40b)])(!0x1),_0x4b326a=(0x0,n[_0x5b13d3(0x40b)])(0x0),_0x2a2442=(_0x7c11b6==null?void 0x0:_0x7c11b6[_0x5b13d3(0x213)])===!0x0;_0x2a2442&&!_0x160384[_0x5b13d3(0x5d3)]&&(_0x4b326a[_0x5b13d3(0x5d3)]+=0x1),_0x160384[_0x5b13d3(0x5d3)]=_0x2a2442;let _0x50aacf=_0x15a3c2?_0x15a3c2+'|'+_0x4b326a['current']:null,[_0x2cb8dd,_0x403572]=(0x0,n['useState'])(null),_0x30d6c4=(0x0,n['useCallback'])(_0x4f4451=>{const _0x368ddd=_0x5b13d3;if(!_0x50aacf)return;let _0xf273fd={'width':_0x4f4451[_0x368ddd(0x23f)],'height':_0x4f4451[_0x368ddd(0x27c)],'scaleX':_0x4f4451['scaleX'],'scaleY':_0x4f4451['scaleY']};_0x403572(_0x167631=>(_0x167631==null?void 0x0:_0x167631[_0x368ddd(0x506)])===_0x50aacf&&Zn(_0x167631[_0x368ddd(0x62d)],_0xf273fd)?_0x167631:{'sessionKey':_0x50aacf,'size':_0xf273fd});},[_0x50aacf]);if(!_0x7c11b6||!_0x7c11b6['visible']&&!_0x5bd07a)return null;let _0x32f434=(_0x2cb8dd==null?void 0x0:_0x2cb8dd[_0x5b13d3(0x506)])===_0x50aacf?_0x2cb8dd['size']:null;return(0x0,r[_0x5b13d3(0x1a5)])(Xn,{'editingParams':_0x7c11b6,'positionOptions':_0x1caeaf,'onPositionUpdate':_0x30d6c4,'children':_0x32f434?(0x0,r[_0x5b13d3(0x1a5)])(Nn,{'adapter':_0x19899b,'containerWidth':_0x32f434[_0x5b13d3(0x23f)],'containerHeight':_0x32f434[_0x5b13d3(0x27c)],'editingParams':_0x7c11b6,'editingService':_0xa64b59,'editorUnitId':_0x51c6aa,'scaleX':_0x32f434[_0x5b13d3(0x580)],'scaleY':_0x32f434[_0x5b13d3(0x589)],'verticalAlignCommandId':_0x1d7aa8}):null},_0x50aacf);}),$n=a[_0x2a77fc(0x357)][_0x2a77fc(0x58d)](_0x2136c2=>({'label':_0x2136c2[_0x2a77fc(0x2fb)],'value':String(_0x2136c2[_0x2a77fc(0x4de)])})),er=[u[_0x2a77fc(0x30a)]['id'],u['SetInlineFormatTextBackgroundColorCommand']['id'],u[_0x2a77fc(0x398)]['id'],u[_0x2a77fc(0x452)]['id'],u[_0x2a77fc(0x405)]['id'],u[_0x2a77fc(0x5e8)]['id'],u[_0x2a77fc(0x3a0)]['id'],u[_0x2a77fc(0x306)]['id'],u[_0x2a77fc(0x5ba)]['id'],u[_0x2a77fc(0x3f5)]['id'],u['SetInlineFormatSuperscriptCommand']['id'],l[_0x2a77fc(0x27d)]['id'],l[_0x2a77fc(0x1fd)]['id']],tr={'root':_0x2a77fc(0x43c),'group':_0x2a77fc(0x463),'button':_0x2a77fc(0x44c),'select':_0x2a77fc(0x327)};function nr(_0x3bc089){const _0x44687c=_0x2a77fc;return _0x3bc089 instanceof HTMLElement?!!_0x3bc089[_0x44687c(0x38c)](_0x44687c(0x294)):!0x1;}function rr(_0x328134){const _0x2b7edb=_0x2a77fc;return!!(_0x328134&&typeof _0x328134==_0x2b7edb(0x49f)&&_0x328134['s']===i[_0x2b7edb(0x24c)][_0x2b7edb(0x577)]);}function ir(_0x42dba7){const _0x5a84bc=_0x2a77fc;return(0x0,r[_0x5a84bc(0x1a5)])(_0x5a84bc(0x488),{'className':tr[_0x5a84bc(0x4f8)],'children':_0x42dba7[_0x5a84bc(0x284)]});}function ar(_0x4d69d9){const _0xfc604f=_0x2a77fc;return(0x0,r[_0xfc604f(0x1a5)])(e[_0xfc604f(0x2e3)],{'title':(0x0,a[_0xfc604f(0x3d8)])(i[_0xfc604f(0x64c)])['t'](_0x4d69d9[_0xfc604f(0x13b)]),'placement':_0xfc604f(0x1a8),'children':(0x0,r[_0xfc604f(0x1a5)])(_0xfc604f(0x662),{'type':_0xfc604f(0x662),'className':(0x0,e[_0xfc604f(0x3fc)])(tr[_0xfc604f(0x662)],{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x4d69d9[_0xfc604f(0x4d5)]}),'onClick':_0x4d69d9['onClick'],'children':_0x4d69d9['children']})});}function or(){const _0x30d5bd=_0x2a77fc;var _0x25ff58,_0xf03248,_0x51c3af,_0x5a1ebb,_0x4270d6,_0x2551a5;let _0x1ab2df=(0x0,a[_0x30d5bd(0x3d8)])(i['ICommandService']),_0x38a194=(0x0,a[_0x30d5bd(0x3d8)])(l[_0x30d5bd(0x567)]),_0x3106aa=(0x0,a[_0x30d5bd(0x3d8)])(i[_0x30d5bd(0x26d)]),_0xa08460=(0x0,a[_0x30d5bd(0x3d8)])(i[_0x30d5bd(0x4fe)]),[_0xeb0f31,_0x2c84e4]=(0x0,n['useState'])({'cl':{'rgb':xe}});(0x0,n[_0x30d5bd(0x6a1)])(()=>{const _0x577adc=_0x30d5bd;let _0x4f8a04=()=>{const _0x35a42a=_0x41f9;var _0x228771,_0x168504,_0x7f429e,_0xb0e7dc,_0x581781,_0x1305da,_0x45e3fb;let _0x27f047=(_0x228771=_0x38a194[_0x35a42a(0x678)]())==null?[]:_0x228771,_0x394bf7=_0x27f047['length']>0x0?_0x27f047[_0x35a42a(0x1de)](_0x52422a=>_0x52422a['startOffset']!=null&&_0x52422a[_0x35a42a(0x55d)]!=null):_0x38a194[_0x35a42a(0x535)](),_0x35bd15=(_0x168504=_0x394bf7[_0x35a42a(0x17b)](_0x4ae52e=>_0x4ae52e[_0x35a42a(0x1dc)]))==null?_0x394bf7[0x0]:_0x168504;if(!_0x35bd15){_0x2c84e4({'cl':{'rgb':xe}});return;}let _0x1a960b=_0x3106aa[_0x35a42a(0x112)](i[_0x35a42a(0x34e)]['UNIVER_DOC']);if(!_0x1a960b){_0x2c84e4({'cl':{'rgb':xe}});return;}let _0x4d6f01=(_0x7f429e=_0x1a960b[_0x35a42a(0x350)](_0x35bd15[_0x35a42a(0x2ed)]))==null?void 0x0:_0x7f429e[_0x35a42a(0x28f)]();if(!_0x4d6f01){_0x2c84e4({'cl':{'rgb':xe}});return;}let _0x33dabc=(_0xb0e7dc=_0x1a960b['getSnapshot']()['documentStyle'])==null?void 0x0:_0xb0e7dc[_0x35a42a(0x460)];_0x2c84e4((0x0,u['getStyleInTextRange'])(_0x4d6f01,_0x35bd15,{..._0x33dabc,'ff':(_0x581781=_0x33dabc==null?void 0x0:_0x33dabc['ff'])==null?i[_0x35a42a(0x426)]['ff']:_0x581781,'fs':(_0x1305da=_0x33dabc==null?void 0x0:_0x33dabc['fs'])==null?i[_0x35a42a(0x426)]['fs']:_0x1305da,'cl':(_0x45e3fb=_0x33dabc==null?void 0x0:_0x33dabc['cl'])==null?{'rgb':xe}:_0x45e3fb}));};_0x4f8a04();let _0x3bd3af=_0x1ab2df[_0x577adc(0x522)](_0x3aa15f=>{const _0x2e656c=_0x577adc;er[_0x2e656c(0x42f)](_0x3aa15f['id'])&&_0x4f8a04();}),_0x56bf39=_0x38a194[_0x577adc(0x41c)]['subscribe'](_0x4f8a04);return()=>{const _0x3624fa=_0x577adc;_0x3bd3af[_0x3624fa(0x1b0)](),_0x56bf39[_0x3624fa(0x3af)]();};},[_0x1ab2df,_0x38a194,_0x3106aa]);let _0xd46032=(_0x403332,_0x593f3e)=>{const _0x599fe8=_0x30d5bd;_0x1ab2df[_0x599fe8(0x10a)](_0x403332,_0x593f3e===void 0x0?void 0x0:{'value':_0x593f3e});},_0x582a74=(_0x25ff58=_0xeb0f31['ff'])==null?i[_0x30d5bd(0x426)]['ff']:_0x25ff58,_0xd7838=(_0xf03248=_0xeb0f31['fs'])==null?i[_0x30d5bd(0x426)]['fs']:_0xf03248,_0x57a277=_0xeb0f31['bl']===i[_0x30d5bd(0x24c)]['TRUE'],_0x5b0dd0=_0xeb0f31['it']===i[_0x30d5bd(0x24c)][_0x30d5bd(0x577)],_0x148794=rr(_0xeb0f31['ul']),_0x23454b=rr(_0xeb0f31['st']),_0x3c4c89=_0xeb0f31['va']===i[_0x30d5bd(0x627)][_0x30d5bd(0x2aa)],_0x38e8b8=_0xeb0f31['va']===i[_0x30d5bd(0x627)]['SUPERSCRIPT'],_0x27aa0c=(_0x51c3af=(_0x5a1ebb=_0xeb0f31['bg'])==null?void 0x0:_0x5a1ebb['rgb'])==null?_0xa08460[_0x30d5bd(0x4b4)](_0x30d5bd(0x59c)):_0x51c3af;return(0x0,r[_0x30d5bd(0x576)])(_0x30d5bd(0x488),{'onMouseDown':_0x401ba7=>{const _0x3db2ff=_0x30d5bd;_0x401ba7[_0x3db2ff(0x20e)](),nr(_0x401ba7[_0x3db2ff(0x425)])||_0x401ba7[_0x3db2ff(0x291)]();},'className':(0x0,e['clsx'])(tr[_0x30d5bd(0x680)],e[_0x30d5bd(0x54e)]),'children':[(0x0,r[_0x30d5bd(0x1a5)])(ir,{'children':(0x0,r[_0x30d5bd(0x1a5)])(mt,{})}),(0x0,r[_0x30d5bd(0x1a5)])(e[_0x30d5bd(0x409)],{'orientation':_0x30d5bd(0x551)}),(0x0,r['jsxs'])(ir,{'children':[(0x0,r['jsx'])(a[_0x30d5bd(0x59d)],{'ariaLabel':'Font\x20family','className':_0x30d5bd(0x207),'inputClassName':_0x30d5bd(0x5cf),'title':_0x582a74,'value':_0x582a74,'onChange':_0x357f24=>_0xd46032(u[_0x30d5bd(0x452)]['id'],_0x357f24),'onMouseDown':_0x1e2e0a=>{const _0x454d22=_0x30d5bd;_0x1e2e0a[_0x454d22(0x20e)]();},'onPointerDown':_0x33f7e4=>{const _0x2e9a10=_0x30d5bd;_0x33f7e4[_0x2e9a10(0x20e)]();}}),(0x0,r[_0x30d5bd(0x1a5)])(e[_0x30d5bd(0x352)],{'className':(0x0,e[_0x30d5bd(0x3fc)])(tr[_0x30d5bd(0x4d1)],_0x30d5bd(0x650)),'value':String(_0xd7838),'options':$n,'onChange':_0xfb1406=>{const _0x58ff79=_0x30d5bd;let _0x2300cd=Number(_0xfb1406);Number[_0x58ff79(0x56b)](_0x2300cd)||_0xd46032(u[_0x58ff79(0x405)]['id'],_0x2300cd);}})]}),(0x0,r[_0x30d5bd(0x1a5)])(e[_0x30d5bd(0x409)],{'orientation':_0x30d5bd(0x551)}),(0x0,r['jsxs'])(ir,{'children':[(0x0,r['jsx'])(ar,{'titleKey':_0x30d5bd(0x218),'active':_0x57a277,'onClick':()=>_0xd46032(u['SetInlineFormatBoldCommand']['id']),'children':(0x0,r[_0x30d5bd(0x1a5)])(t['BoldIcon'],{})}),(0x0,r[_0x30d5bd(0x1a5)])(ar,{'titleKey':_0x30d5bd(0x29c),'active':_0x5b0dd0,'onClick':()=>_0xd46032(u[_0x30d5bd(0x3a0)]['id']),'children':(0x0,r[_0x30d5bd(0x1a5)])(t[_0x30d5bd(0x2df)],{})}),(0x0,r[_0x30d5bd(0x1a5)])(ar,{'titleKey':_0x30d5bd(0x5ae),'active':_0x148794,'onClick':()=>_0xd46032(u[_0x30d5bd(0x306)]['id']),'children':(0x0,r[_0x30d5bd(0x1a5)])(t[_0x30d5bd(0x4b3)],{})}),(0x0,r['jsx'])(ar,{'titleKey':_0x30d5bd(0x3be),'active':_0x23454b,'onClick':()=>_0xd46032(u[_0x30d5bd(0x5ba)]['id']),'children':(0x0,r[_0x30d5bd(0x1a5)])(t[_0x30d5bd(0x548)],{})})]}),(0x0,r[_0x30d5bd(0x1a5)])(e[_0x30d5bd(0x409)],{'orientation':_0x30d5bd(0x551)}),(0x0,r[_0x30d5bd(0x576)])(ir,{'children':[(0x0,r[_0x30d5bd(0x1a5)])(ar,{'titleKey':_0x30d5bd(0x2bd),'active':_0x3c4c89,'onClick':()=>_0xd46032(u[_0x30d5bd(0x3f5)]['id']),'children':(0x0,r['jsxs'])('span',{'className':_0x30d5bd(0x529),'children':['X',(0x0,r[_0x30d5bd(0x1a5)])(_0x30d5bd(0x1eb),{'children':'2'})]})}),(0x0,r[_0x30d5bd(0x1a5)])(ar,{'titleKey':_0x30d5bd(0x3f0),'active':_0x38e8b8,'onClick':()=>_0xd46032(u[_0x30d5bd(0x40f)]['id']),'children':(0x0,r['jsxs'])(_0x30d5bd(0x222),{'className':_0x30d5bd(0x529),'children':['X',(0x0,r[_0x30d5bd(0x1a5)])(_0x30d5bd(0x10e),{'children':'2'})]})})]}),(0x0,r[_0x30d5bd(0x1a5)])(e[_0x30d5bd(0x409)],{'orientation':'vertical'}),(0x0,r['jsxs'])(ir,{'children':[(0x0,r['jsx'])(Qe,{'titleKey':'shape-editor-ui.toolbar.textColor','textStyle':_0xeb0f31,'fallbackColor':(_0x4270d6=(_0x2551a5=_0xeb0f31['cl'])==null?void 0x0:_0x2551a5[_0x30d5bd(0x1c7)])==null?xe:_0x4270d6,'onChange':_0x1a13bc=>{const _0x5425f7=_0x30d5bd;_0x1ab2df[_0x5425f7(0x10a)](u['SetInlineFormatTextFillCommand']['id'],{'value':_0x1a13bc}),_0x2c84e4(_0x404799=>({..._0x404799,..._0x1a13bc}));}}),(0x0,r['jsx'])($e,{'titleKey':_0x30d5bd(0x221),'color':_0x27aa0c,'onApply':()=>_0xd46032(u[_0x30d5bd(0x478)]['id'],_0x27aa0c),'onReset':()=>{const _0x5e4136=_0x30d5bd;_0x1ab2df[_0x5e4136(0x10a)](u[_0x5e4136(0x398)]['id']),_0x2c84e4(_0xb6fb9c=>({..._0xb6fb9c,'bg':{'rgb':null}}));},'onChange':_0xfc728a=>{const _0x2f6cd4=_0x30d5bd;_0xd46032(u[_0x2f6cd4(0x478)]['id'],_0xfc728a),_0x2c84e4(_0x45f955=>({..._0x45f955,'bg':{'rgb':_0xfc728a}}));}})]})]});}exports[_0x2a77fc(0x65c)]=mt,exports[_0x2a77fc(0x1bc)]=p,exports[_0x2a77fc(0x234)]=k,exports['SHAPE_FLOATING_TOOLBAR_DEFAULT_STROKE_COLOR']=be,exports[_0x2a77fc(0x38a)]=_0x2a77fc(0x321),exports['SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_COLOR']=xe,exports[_0x2a77fc(0x2ff)]=0x10,exports['SHAPE_TEXT_EDITOR_QUOTE_COMMAND_ID']=pt,exports['SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET']=0x10,exports[_0x2a77fc(0x23b)]=re,exports['ShapeFillButton']=Ke,exports[_0x2a77fc(0x326)]=F,exports[_0x2a77fc(0x15a)]=ot,exports[_0x2a77fc(0x1ea)]=Oe,exports[_0x2a77fc(0x54b)]=Ae,exports['ShapeFloatingToolbarFontSizeSelect']=je,exports[_0x2a77fc(0x67b)]=Ee,exports[_0x2a77fc(0x5e3)]=nt,exports[_0x2a77fc(0x515)]=tt,exports['ShapeGroupEnum']=st,exports[_0x2a77fc(0x2b5)]=N,exports[_0x2a77fc(0x5cb)]=R,exports[_0x2a77fc(0x511)]=ft,exports['ShapePickerPanel']=dt,exports[_0x2a77fc(0x2c4)]=Be,exports[_0x2a77fc(0x5d5)]=ze,exports[_0x2a77fc(0x578)]=ne,exports[_0x2a77fc(0x618)]=Qn,exports[_0x2a77fc(0x1c1)]=jt,exports[_0x2a77fc(0x2e6)]=or,exports[_0x2a77fc(0x2f8)]=Qe,exports[_0x2a77fc(0x521)]=et,Object[_0x2a77fc(0x2f5)](exports,_0x2a77fc(0x49c),{'enumerable':!0x0,'get':function(){return T;}}),exports['activateDrawingObject']=D,exports[_0x2a77fc(0x60e)]=ve,exports[_0x2a77fc(0x5bf)]=O,exports[_0x2a77fc(0x239)]=xt,exports[_0x2a77fc(0x105)]=Kt,exports[_0x2a77fc(0x30d)]=P,exports[_0x2a77fc(0x318)]=zt,exports['getTextModel']=j,exports[_0x2a77fc(0x68d)]=M,exports[_0x2a77fc(0x69a)]=Gt,exports[_0x2a77fc(0x10c)]=Nt,exports[_0x2a77fc(0x329)]=A,exports[_0x2a77fc(0x5c0)]=oe,exports[_0x2a77fc(0x509)]=K,exports[_0x2a77fc(0x24e)]=Yt,exports[_0x2a77fc(0x602)]=W,exports['resolveShapeTextDocumentPageHeight']=q,exports[_0x2a77fc(0x5a8)]=Lt,exports[_0x2a77fc(0x482)]=St,exports['resolveShapeTextEditorFlowAxis']=Ot,exports[_0x2a77fc(0x5a5)]=on,exports[_0x2a77fc(0x3dc)]=Tt,exports[_0x2a77fc(0x3b9)]=Wt,exports['resolveShapeTextVerticalOffset']=It,exports[_0x2a77fc(0x1cb)]=ct,exports[_0x2a77fc(0x613)]=kt,exports[_0x2a77fc(0x2b1)]=Dt,exports['shouldClipShapeTextDocument']=Et,exports[_0x2a77fc(0x159)]=pe,exports[_0x2a77fc(0x333)]=Y;
1
+ const _0x13379c=_0x1fb5;(function(_0x337998,_0x548c09){const _0x516f66=_0x1fb5,_0x5d9ae9=_0x337998();while(!![]){try{const _0x8c509=parseInt(_0x516f66(0x42f))/0x1+-parseInt(_0x516f66(0x328))/0x2*(parseInt(_0x516f66(0x517))/0x3)+parseInt(_0x516f66(0x215))/0x4+-parseInt(_0x516f66(0x662))/0x5+parseInt(_0x516f66(0x419))/0x6+parseInt(_0x516f66(0x188))/0x7+parseInt(_0x516f66(0x1a7))/0x8*(-parseInt(_0x516f66(0x6e3))/0x9);if(_0x8c509===_0x548c09)break;else _0x5d9ae9['push'](_0x5d9ae9['shift']());}catch(_0x3cdd76){_0x5d9ae9['push'](_0x5d9ae9['shift']());}}}(_0x3645,0x89297),Object[_0x13379c(0x122)](exports,Symbol[_0x13379c(0x3b6)],{'value':'Module'}));let e=require('@univerjs/design'),t=require('@univerjs/icons'),n=require('react'),r=require('react/jsx-runtime'),i=require('@univerjs-pro/license'),a=require('@univerjs-pro/shape-editor'),o=require('@univerjs/core'),s=require('@univerjs/ui'),c=require('@univerjs-pro/bases'),l=require('@univerjs-pro/bases-ui'),u=require('@univerjs-pro/engine-formula'),d=require('@univerjs/docs'),f=require('@univerjs/docs-ui'),p=require('@univerjs/engine-formula'),m=require('@univerjs/engine-render'),h=require('@univerjs/formula'),g=require('@univerjs/formula-ui'),_=require('@univerjs/rpc'),v=require('@univerjs/sheets'),y=require('@univerjs/sheets-formula'),b=require('@univerjs/sheets-formula-ui'),x=require('@univerjs/sheets-ui'),S=require('@univerjs/drawing'),C=require('@univerjs-pro/engine-shape'),w=require('@univerjs/sheets-numfmt');const T={'none':_0x13379c(0x53d),'solid':_0x13379c(0x3bc),'gradient':_0x13379c(0x62d),'picture':_0x13379c(0x37a)},E={'type':_0x13379c(0x824),'angle':0x0,'stops':[{'color':'#ffffff','offset':0x0},{'color':_0x13379c(0x169),'offset':0x64}]};function D(_0x448554){const _0xfecf25=_0x13379c;var _0x1094b4,_0x77f1d1,_0x1d7cce,_0x7c218d,_0x559666;let {className:_0x4bfb60,compact:_0x369dc7=!0x0,disabled:_0xe25d54=!0x1,direction:_0x95698e,value:_0x4d12fb,typeValues:_0xebe5a1=T,color:_0x4b433a=_0xfecf25(0x2dd),transparency:_0x3333c9=0x0,gradientValue:_0x133c9c=E,labels:_0x8fca89,tabLabels:_0x3cbc25,noFillEditor:_0x276f89,pictureFillEditor:_0x486e84,renderColorIcon:_0x42dde9,keepColorPickerOpenOnChange:_0x169f5f=!0x1,onChange:_0x28bad7,onColorChange:_0x43e0bc,onTransparencyChange:_0x327c9c,onGradientChange:_0x54ad7b}=_0x448554,[_0x5732b4,_0x24d007]=(0x0,n[_0xfecf25(0x659)])(!0x1),_0xe1e939=[{'label':(_0x1094b4=_0x3cbc25==null?void 0x0:_0x3cbc25[_0xfecf25(0x622)])==null?_0x8fca89[_0xfecf25(0x622)]:_0x1094b4,'value':_0xebe5a1[_0xfecf25(0x53d)]},{'label':(_0x77f1d1=_0x3cbc25==null?void 0x0:_0x3cbc25['solidFill'])==null?_0x8fca89[_0xfecf25(0x4a4)]:_0x77f1d1,'value':_0xebe5a1[_0xfecf25(0x3bc)]},{'label':(_0x1d7cce=_0x3cbc25==null?void 0x0:_0x3cbc25[_0xfecf25(0x516)])==null?_0x8fca89[_0xfecf25(0x516)]:_0x1d7cce,'value':_0xebe5a1[_0xfecf25(0x62d)]},{'label':(_0x7c218d=_0x3cbc25==null?void 0x0:_0x3cbc25['pictureFill'])==null?_0x8fca89['pictureFill']:_0x7c218d,'value':_0xebe5a1[_0xfecf25(0x37a)]}];return(0x0,r[_0xfecf25(0x462)])(_0xfecf25(0x58a),{'dir':_0x95698e,'className':(0x0,e['clsx'])('univer-flex\x20univer-min-w-0\x20univer-flex-col',_0x369dc7?_0xfecf25(0x6b4):'univer-gap-4',_0x4bfb60),'children':[(0x0,r[_0xfecf25(0x6f1)])(e[_0xfecf25(0x3ea)],{'className':(0x0,e[_0xfecf25(0x13a)])(_0xfecf25(0x54a),_0x369dc7&&_0xfecf25(0x300),_0xe25d54&&_0xfecf25(0x2bc)),'items':_0xe1e939,'value':_0x4d12fb,'onChange':_0x3f4817=>{_0xe25d54||_0x28bad7==null||_0x28bad7(_0x3f4817);}}),_0x4d12fb===_0xebe5a1[_0xfecf25(0x53d)]&&_0x276f89,_0x4d12fb===_0xebe5a1[_0xfecf25(0x3bc)]&&(0x0,r[_0xfecf25(0x462)])(_0xfecf25(0x58a),{'className':(0x0,e[_0xfecf25(0x13a)])(_0xfecf25(0x70e),_0x369dc7?_0xfecf25(0x7f6):_0xfecf25(0x6b4)),'children':[(0x0,r['jsxs'])('div',{'className':_0xfecf25(0x1ee),'children':[(0x0,r[_0xfecf25(0x6f1)])(_0xfecf25(0x77e),{'className':_0xfecf25(0x571),'children':_0x8fca89['color']}),(0x0,r[_0xfecf25(0x6f1)])(e[_0xfecf25(0x7db)],{'disabled':_0xe25d54,'overlay':(0x0,r[_0xfecf25(0x6f1)])('div',{'className':_0xfecf25(0x333),'dir':_0x95698e,'children':(0x0,r['jsx'])(e[_0xfecf25(0x369)],{'value':_0x4b433a,'onChange':_0x5dc086=>{_0x43e0bc==null||_0x43e0bc(_0x5dc086),_0x169f5f||_0x24d007(!0x1);}})}),'open':_0x5732b4,'onOpenChange':_0x24d007,'children':(0x0,r[_0xfecf25(0x462)])('a',{'className':_0xfecf25(0x812),'children':[(_0x559666=_0x42dde9==null?void 0x0:_0x42dde9(_0x4b433a))==null?(0x0,r[_0xfecf25(0x6f1)])(t[_0xfecf25(0x346)],{'className':_0xfecf25(0x193),'extend':{'colorChannel1':_0x4b433a}}):_0x559666,(0x0,r[_0xfecf25(0x6f1)])(t[_0xfecf25(0x69e)],{'className':(0x0,e['clsx'])('univer-text-gray-600\x20univer-transition-transform',{'univer-rotate-180':_0x5732b4})})]})})]}),(0x0,r[_0xfecf25(0x462)])(_0xfecf25(0x58a),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[(0x0,r[_0xfecf25(0x6f1)])(_0xfecf25(0x77e),{'className':'univer-shrink-0\x20univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x8fca89['transparency']}),(0x0,r[_0xfecf25(0x6f1)])(_0xfecf25(0x58a),{'className':'univer-w-20','children':(0x0,r[_0xfecf25(0x6f1)])(e[_0xfecf25(0x528)],{'className':_0xfecf25(0x60a),'value':_0x3333c9,'disabled':_0xe25d54,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x567114=>_0x567114+'%','parser':_0x2780af=>(_0x2780af==null?void 0x0:_0x2780af[_0xfecf25(0x5e2)]('%',''))||'','onChange':_0x217c7c=>_0x327c9c==null?void 0x0:_0x327c9c(_0x217c7c==null?0x0:_0x217c7c)})})]})]}),_0x4d12fb===_0xebe5a1[_0xfecf25(0x62d)]&&(0x0,r['jsx'])(e[_0xfecf25(0x4d3)],{'className':_0xfecf25(0x81d),'compact':_0x369dc7,'value':_0x133c9c,'onChange':_0x54ad7b}),_0x4d12fb===_0xebe5a1[_0xfecf25(0x37a)]&&_0x486e84]});}const O=_0x13379c(0x3df),k={};var A='@univerjs-pro/shape-editor-ui',j=_0x13379c(0x6e5);function M(_0x1a4db6,_0x343e09){return function(_0x2fe283,_0x505488){_0x343e09(_0x2fe283,_0x505488,_0x1a4db6);};}function N(_0x1d0f18,_0x15f33d,_0x673662,_0x161055){const _0x4e42cc=_0x13379c;var _0x14697c=arguments[_0x4e42cc(0x135)],_0x3d6e65=_0x14697c<0x3?_0x15f33d:_0x161055===null?_0x161055=Object[_0x4e42cc(0x78e)](_0x15f33d,_0x673662):_0x161055,_0x27bbfe;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x4e42cc(0x7d0))_0x3d6e65=Reflect['decorate'](_0x1d0f18,_0x15f33d,_0x673662,_0x161055);else{for(var _0x2a9b69=_0x1d0f18[_0x4e42cc(0x135)]-0x1;_0x2a9b69>=0x0;_0x2a9b69--)(_0x27bbfe=_0x1d0f18[_0x2a9b69])&&(_0x3d6e65=(_0x14697c<0x3?_0x27bbfe(_0x3d6e65):_0x14697c>0x3?_0x27bbfe(_0x15f33d,_0x673662,_0x3d6e65):_0x27bbfe(_0x15f33d,_0x673662))||_0x3d6e65);}return _0x14697c>0x3&&_0x3d6e65&&Object['defineProperty'](_0x15f33d,_0x673662,_0x3d6e65),_0x3d6e65;}const P={'ShapeAccentBorderCallout1Icon':t[_0x13379c(0x53a)],'ShapeAccentBorderCallout2Icon':t[_0x13379c(0x6e8)],'ShapeAccentBorderCallout3Icon':t[_0x13379c(0x12e)],'ShapeAccentCallout1Icon':t[_0x13379c(0x1e8)],'ShapeAccentCallout2Icon':t[_0x13379c(0x281)],'ShapeAccentCallout3Icon':t['ShapeAccentCallout3Icon'],'ShapeActionButtonBackPreviousIcon':t[_0x13379c(0x805)],'ShapeActionButtonBeginningIcon':t[_0x13379c(0x29c)],'ShapeActionButtonBlankIcon':t[_0x13379c(0x22c)],'ShapeActionButtonDocumentIcon':t[_0x13379c(0x6f4)],'ShapeActionButtonEndIcon':t['ShapeActionButtonEndIcon'],'ShapeActionButtonForwardNextIcon':t[_0x13379c(0x361)],'ShapeActionButtonHelpIcon':t['ShapeActionButtonHelpIcon'],'ShapeActionButtonHomeIcon':t[_0x13379c(0x719)],'ShapeActionButtonInformationIcon':t[_0x13379c(0x359)],'ShapeActionButtonMovieIcon':t[_0x13379c(0x271)],'ShapeActionButtonReturnIcon':t[_0x13379c(0x189)],'ShapeActionButtonSoundIcon':t['ShapeActionButtonSoundIcon'],'ShapeArcIcon':t[_0x13379c(0x807)],'ShapeBentArrowIcon':t[_0x13379c(0x71a)],'ShapeBentConnector3Arrow1Icon':t[_0x13379c(0x406)],'ShapeBentConnector3Arrow2Icon':t[_0x13379c(0x69c)],'ShapeBentConnector3Icon':t['ShapeBentConnector3Icon'],'ShapeBentUpArrowIcon':t['ShapeBentUpArrowIcon'],'ShapeBevelIcon':t['ShapeBevelIcon'],'ShapeBlockArcIcon':t[_0x13379c(0x5df)],'ShapeBorderCallout1Icon':t[_0x13379c(0x574)],'ShapeBorderCallout2Icon':t[_0x13379c(0x42e)],'ShapeBorderCallout3Icon':t['ShapeBorderCallout3Icon'],'ShapeBracePairIcon':t[_0x13379c(0x2fa)],'ShapeBracketPairIcon':t[_0x13379c(0x296)],'ShapeCallout1Icon':t[_0x13379c(0x307)],'ShapeCallout2Icon':t[_0x13379c(0x161)],'ShapeCallout3Icon':t[_0x13379c(0x450)],'ShapeCanIcon':t[_0x13379c(0x568)],'ShapeChartPlusIcon':t[_0x13379c(0x614)],'ShapeChartStarIcon':t['ShapeChartStarIcon'],'ShapeChartXIcon':t[_0x13379c(0x36d)],'ShapeChevronIcon':t['ShapeChevronIcon'],'ShapeChordIcon':t['ShapeChordIcon'],'ShapeCircularArrowIcon':t[_0x13379c(0x757)],'ShapeCloudCalloutIcon':t[_0x13379c(0x431)],'ShapeCloudIcon':t[_0x13379c(0x821)],'ShapeCornerIcon':t[_0x13379c(0x292)],'ShapeCornerTabsIcon':t[_0x13379c(0x3e0)],'ShapeCubeIcon':t[_0x13379c(0x507)],'ShapeCurvedConnector3Arrow1Icon':t[_0x13379c(0x629)],'ShapeCurvedConnector3Arrow2Icon':t[_0x13379c(0x24e)],'ShapeCurvedConnector3Icon':t['ShapeCurvedConnector3Icon'],'ShapeCurvedDownArrowIcon':t[_0x13379c(0x60e)],'ShapeCurvedLeftArrowIcon':t[_0x13379c(0x438)],'ShapeCurvedRightArrowIcon':t[_0x13379c(0x4d6)],'ShapeCurvedUpArrowIcon':t[_0x13379c(0x52d)],'ShapeDecagonIcon':t[_0x13379c(0x7d6)],'ShapeDiagStripeIcon':t['ShapeDiagStripeIcon'],'ShapeDiamondIcon':t[_0x13379c(0x1e2)],'ShapeDodecagonIcon':t[_0x13379c(0x717)],'ShapeDonutIcon':t['ShapeDonutIcon'],'ShapeDoubleWaveIcon':t[_0x13379c(0x1dc)],'ShapeDownArrowCalloutIcon':t[_0x13379c(0x6c4)],'ShapeDownArrowIcon':t[_0x13379c(0x551)],'ShapeEllipseIcon':t[_0x13379c(0x430)],'ShapeEllipseRibbon2Icon':t['ShapeEllipseRibbon2Icon'],'ShapeEllipseRibbonIcon':t['ShapeEllipseRibbonIcon'],'ShapeFlowChartAlternateProcessIcon':t[_0x13379c(0x17b)],'ShapeFlowChartCollateIcon':t[_0x13379c(0x70f)],'ShapeFlowChartConnectorIcon':t[_0x13379c(0x66a)],'ShapeFlowChartDecisionIcon':t[_0x13379c(0x558)],'ShapeFlowChartDelayIcon':t[_0x13379c(0x49d)],'ShapeFlowChartDisplayIcon':t[_0x13379c(0x1c8)],'ShapeFlowChartDocumentIcon':t[_0x13379c(0x3e7)],'ShapeFlowChartExtractIcon':t['ShapeFlowChartExtractIcon'],'ShapeFlowChartInputOutputIcon':t[_0x13379c(0x6d5)],'ShapeFlowChartInternalStorageIcon':t['ShapeFlowChartInternalStorageIcon'],'ShapeFlowChartMagneticDiskIcon':t[_0x13379c(0x262)],'ShapeFlowChartMagneticDrumIcon':t['ShapeFlowChartMagneticDrumIcon'],'ShapeFlowChartMagneticTapeIcon':t[_0x13379c(0x4c8)],'ShapeFlowChartManualInputIcon':t['ShapeFlowChartManualInputIcon'],'ShapeFlowChartManualOperationIcon':t[_0x13379c(0x2a1)],'ShapeFlowChartMergeIcon':t[_0x13379c(0x159)],'ShapeFlowChartMultidocumentIcon':t[_0x13379c(0x5bf)],'ShapeFlowChartOfflineStorageIcon':t[_0x13379c(0x705)],'ShapeFlowChartOffpageConnectorIcon':t[_0x13379c(0x578)],'ShapeFlowChartOnlineStorageIcon':t[_0x13379c(0x44a)],'ShapeFlowChartOrIcon':t[_0x13379c(0x47e)],'ShapeFlowChartPredefinedProcessIcon':t[_0x13379c(0x68c)],'ShapeFlowChartPreparationIcon':t[_0x13379c(0x4e0)],'ShapeFlowChartProcessIcon':t[_0x13379c(0x515)],'ShapeFlowChartPunchedCardIcon':t[_0x13379c(0x2ce)],'ShapeFlowChartPunchedTapeIcon':t[_0x13379c(0x383)],'ShapeFlowChartSortIcon':t[_0x13379c(0x533)],'ShapeFlowChartSummingJunctionIcon':t[_0x13379c(0x254)],'ShapeFlowChartTerminatorIcon':t[_0x13379c(0x6e4)],'ShapeFolderCornerIcon':t[_0x13379c(0x3b1)],'ShapeFrameIcon':t['ShapeFrameIcon'],'ShapeFunnelIcon':t[_0x13379c(0x75c)],'ShapeGear6Icon':t['ShapeGear6Icon'],'ShapeGear9Icon':t[_0x13379c(0x67d)],'ShapeHalfFrameIcon':t[_0x13379c(0x4b5)],'ShapeHeartIcon':t[_0x13379c(0x4e2)],'ShapeHeptagonIcon':t[_0x13379c(0x3b8)],'ShapeHexagonIcon':t['ShapeHexagonIcon'],'ShapeHomePlateIcon':t[_0x13379c(0x6d7)],'ShapeHorizontalScrollIcon':t[_0x13379c(0x6d0)],'ShapeIcon':t[_0x13379c(0x497)],'ShapeIrregularSeal1Icon':t[_0x13379c(0x711)],'ShapeIrregularSeal2Icon':t[_0x13379c(0x476)],'ShapeLeftArrowCalloutIcon':t['ShapeLeftArrowCalloutIcon'],'ShapeLeftArrowIcon':t['ShapeLeftArrowIcon'],'ShapeLeftBraceIcon':t[_0x13379c(0x704)],'ShapeLeftBracketIcon':t['ShapeLeftBracketIcon'],'ShapeLeftCircularArrowIcon':t[_0x13379c(0x1ec)],'ShapeLeftRightArrowCalloutIcon':t[_0x13379c(0x47d)],'ShapeLeftRightArrowIcon':t[_0x13379c(0x5f3)],'ShapeLeftRightCircularArrowIcon':t[_0x13379c(0x126)],'ShapeLeftRightRibbonIcon':t['ShapeLeftRightRibbonIcon'],'ShapeLeftRightUpArrowIcon':t['ShapeLeftRightUpArrowIcon'],'ShapeLeftUpArrowIcon':t[_0x13379c(0x283)],'ShapeLightningBoltIcon':t[_0x13379c(0x4cf)],'ShapeLineIcon':t[_0x13379c(0x308)],'ShapeLineInvIcon':t[_0x13379c(0x3ac)],'ShapeMathDivideIcon':t[_0x13379c(0x224)],'ShapeMathEqualIcon':t[_0x13379c(0x657)],'ShapeMathMinusIcon':t[_0x13379c(0x192)],'ShapeMathMultiplyIcon':t[_0x13379c(0x2c9)],'ShapeMathNotEqualIcon':t[_0x13379c(0x1d2)],'ShapeMathPlusIcon':t[_0x13379c(0x79a)],'ShapeMoonIcon':t[_0x13379c(0x1d8)],'ShapeNoSmokingIcon':t['ShapeNoSmokingIcon'],'ShapeNonIsoscelesTrapezoidIcon':t[_0x13379c(0x1db)],'ShapeNotchedRightArrowIcon':t[_0x13379c(0x18f)],'ShapeOctagonIcon':t[_0x13379c(0x716)],'ShapeParallelogramIcon':t['ShapeParallelogramIcon'],'ShapePentagonIcon':t[_0x13379c(0x592)],'ShapePieIcon':t[_0x13379c(0x391)],'ShapePieWedgeIcon':t[_0x13379c(0x733)],'ShapePlaqueIcon':t[_0x13379c(0x43e)],'ShapePlaqueTabsIcon':t[_0x13379c(0x5f8)],'ShapePlusIcon':t[_0x13379c(0x2b1)],'ShapeQuadArrowCalloutIcon':t[_0x13379c(0x61c)],'ShapeQuadArrowIcon':t['ShapeQuadArrowIcon'],'ShapeRectIcon':t[_0x13379c(0x541)],'ShapeRectTextboxHorizontalIcon':t[_0x13379c(0x77c)],'ShapeRectTextboxVerticalIcon':t['ShapeRectTextboxVerticalIcon'],'ShapeRibbon2Icon':t['ShapeRibbon2Icon'],'ShapeRibbonIcon':t[_0x13379c(0x67e)],'ShapeRightArrowCalloutIcon':t['ShapeRightArrowCalloutIcon'],'ShapeRightArrowIcon':t[_0x13379c(0x5c7)],'ShapeRightBraceIcon':t[_0x13379c(0x7a0)],'ShapeRightBracketIcon':t[_0x13379c(0x1c5)],'ShapeRound1RectIcon':t[_0x13379c(0x28d)],'ShapeRound2DiagRectIcon':t[_0x13379c(0x120)],'ShapeRound2SameRectIcon':t[_0x13379c(0x5f7)],'ShapeRoundRectIcon':t[_0x13379c(0x19b)],'ShapeRtTriangleIcon':t[_0x13379c(0x66f)],'ShapeSmileyFaceIcon':t[_0x13379c(0x512)],'ShapeSnip1RectIcon':t[_0x13379c(0x165)],'ShapeSnip2DiagRectIcon':t['ShapeSnip2DiagRectIcon'],'ShapeSnip2SameRectIcon':t[_0x13379c(0x412)],'ShapeSnipRoundRectIcon':t[_0x13379c(0x723)],'ShapeSquareTabsIcon':t[_0x13379c(0x206)],'ShapeStar10Icon':t[_0x13379c(0x268)],'ShapeStar12Icon':t[_0x13379c(0x1dd)],'ShapeStar16Icon':t[_0x13379c(0x26c)],'ShapeStar24Icon':t[_0x13379c(0x55b)],'ShapeStar32Icon':t['ShapeStar32Icon'],'ShapeStar4Icon':t[_0x13379c(0x331)],'ShapeStar5Icon':t[_0x13379c(0x57e)],'ShapeStar6Icon':t['ShapeStar6Icon'],'ShapeStar7Icon':t[_0x13379c(0x1f4)],'ShapeStar8Icon':t[_0x13379c(0x286)],'ShapeStraightConnector1Icon':t[_0x13379c(0x335)],'ShapeStraightConnector2Icon':t[_0x13379c(0x76d)],'ShapeStripedRightArrowIcon':t[_0x13379c(0x362)],'ShapeSunIcon':t[_0x13379c(0x14b)],'ShapeSwooshArrowIcon':t[_0x13379c(0x6a2)],'ShapeTeardropIcon':t[_0x13379c(0x71f)],'ShapeTrapezoidIcon':t[_0x13379c(0x330)],'ShapeTriangleIcon':t[_0x13379c(0x3fe)],'ShapeUpArrowCalloutIcon':t[_0x13379c(0x46e)],'ShapeUpArrowIcon':t[_0x13379c(0x196)],'ShapeUpDownArrowCalloutIcon':t[_0x13379c(0x2c1)],'ShapeUpDownArrowIcon':t[_0x13379c(0x712)],'ShapeUturnArrowIcon':t['ShapeUturnArrowIcon'],'ShapeVerticalScrollIcon':t[_0x13379c(0x29e)],'ShapeWaveIcon':t[_0x13379c(0x3cb)],'ShapeWedgeEllipseCalloutIcon':t['ShapeWedgeEllipseCalloutIcon'],'ShapeWedgeRectCalloutIcon':t[_0x13379c(0x5d6)],'ShapeWedgeRoundRectCalloutIcon':t[_0x13379c(0x1fb)]};let F=class extends o[_0x13379c(0x324)]{constructor(_0x5461df){const _0x16c5fa=_0x13379c;super(),this[_0x16c5fa(0x3ec)]=_0x5461df,this[_0x16c5fa(0x322)]();}[_0x13379c(0x322)](){const _0x21748e=_0x13379c;this[_0x21748e(0x240)](this[_0x21748e(0x3ec)][_0x21748e(0x557)](P));}};F=N([M(0x0,(0x0,o[_0x13379c(0x168)])(s[_0x13379c(0x72f)]))],F);function I(_0x1e96f6){const _0x546539=_0x13379c;let {host:_0x1e6a95,range:_0x49d5be,workbook:_0x1cfb29,worksheet:_0x42be43}=_0x1e96f6,_0x5046ea=_0x1cfb29[_0x546539(0x2c2)]();return(0x0,u['buildFormulaReference'])({'hostUnitId':_0x1e6a95['unitId'],'unit':{'formulaQualifier':_0x1cfb29[_0x546539(0x29b)](),'unitId':_0x5046ea},'target':{'kind':u[_0x546539(0x440)][_0x546539(0x203)],'sheetName':_0x42be43['getName'](),'range':_0x49d5be}});}function L(_0x23d9b5){const _0x28d6d9=_0x13379c;var _0x3f7247;let {fieldIds:_0x363f56,hostUnitId:_0x5d523c,snapshot:_0xf2c19d,sourceUnitId:_0x154ac5,tableId:_0xf3908a}=_0x23d9b5,_0x2d7f85=_0xf2c19d[_0x28d6d9(0x2c5)][_0xf3908a],_0x494b38=_0x363f56[_0x28d6d9(0x270)](_0x176d52=>_0x2d7f85==null?void 0x0:_0x2d7f85[_0x28d6d9(0x46f)][_0x176d52])[_0x28d6d9(0x2f3)](_0x50dff5=>_0x50dff5!=null);return!_0x2d7f85||_0x494b38[_0x28d6d9(0x135)]===0x0?null:(0x0,u[_0x28d6d9(0x762)])({'hostUnitId':_0x5d523c,'unit':{'formulaQualifier':_0xf2c19d['name'],'unitId':_0x154ac5},'target':{'kind':u[_0x28d6d9(0x440)]['TABLE_COLUMN'],'tableName':_0x2d7f85['name'],'columnName':_0x494b38[0x0]['name'],'endColumnName':(_0x3f7247=_0x494b38['at'](-0x1))==null?void 0x0:_0x3f7247[_0x28d6d9(0x7f9)]}});}function R(_0x2690c4){'@babel/helpers - typeof';const _0x44c681=_0x13379c;return R=typeof Symbol==_0x44c681(0x7d0)&&typeof Symbol[_0x44c681(0x4b0)]==_0x44c681(0x2ac)?function(_0x538f14){return typeof _0x538f14;}:function(_0x324132){const _0x513114=_0x44c681;return _0x324132&&typeof Symbol==_0x513114(0x7d0)&&_0x324132[_0x513114(0x599)]===Symbol&&_0x324132!==Symbol[_0x513114(0x75d)]?_0x513114(0x2ac):typeof _0x324132;},R(_0x2690c4);}function ee(_0x33d1a1,_0x311c58){const _0x2986fc=_0x13379c;if(R(_0x33d1a1)!='object'||!_0x33d1a1)return _0x33d1a1;var _0x225b9c=_0x33d1a1[Symbol[_0x2986fc(0x3d7)]];if(_0x225b9c!==void 0x0){var _0x4ab3c1=_0x225b9c[_0x2986fc(0x484)](_0x33d1a1,_0x311c58||_0x2986fc(0x79b));if(R(_0x4ab3c1)!=_0x2986fc(0x7dc))return _0x4ab3c1;throw TypeError(_0x2986fc(0x2f7));}return(_0x311c58===_0x2986fc(0x7d3)?String:Number)(_0x33d1a1);}function te(_0x36100e){const _0x48788e=_0x13379c;var _0x4dea28=ee(_0x36100e,_0x48788e(0x7d3));return R(_0x4dea28)==_0x48788e(0x2ac)?_0x4dea28:_0x4dea28+'';}function z(_0x1fef90,_0x1d6ee2,_0x73b544){const _0x122778=_0x13379c;return(_0x1d6ee2=te(_0x1d6ee2))in _0x1fef90?Object[_0x122778(0x122)](_0x1fef90,_0x1d6ee2,{'value':_0x73b544,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1fef90[_0x1d6ee2]=_0x73b544,_0x1fef90;}let B=class extends o['Disposable']{constructor(_0x403502,_0x547c47,_0x134149,_0x3cef40){const _0x43f565=_0x13379c;super(),this[_0x43f565(0x5de)]=_0x403502,this[_0x43f565(0x1fe)]=_0x547c47,this['_localeService']=_0x134149,this['_themeService']=_0x3cef40,z(this,_0x43f565(0x2f9),null),z(this,'_activeUnitId',null),z(this,_0x43f565(0x1be),null),z(this,_0x43f565(0x6ad),0x0),z(this,_0x43f565(0x30e),new o[(_0x43f565(0x7de))]()),z(this,_0x43f565(0x356),null),z(this,_0x43f565(0x329),null),z(this,_0x43f565(0x45a),null),z(this,_0x43f565(0x808),null),z(this,_0x43f565(0x7a6),null),z(this,_0x43f565(0x274),null),z(this,_0x43f565(0x2cc),[]),z(this,_0x43f565(0x457),!0x1),z(this,'_pointerCtrlKey',!0x1),z(this,_0x43f565(0x35a),null),z(this,_0x43f565(0x160),null),z(this,_0x43f565(0x31f),new o[(_0x43f565(0x7de))]()),z(this,_0x43f565(0x316),!0x1),z(this,_0x43f565(0x156),0x0);}async[_0x13379c(0x2da)](){const _0x51ac34=_0x13379c;var _0x4851d4;let _0x573f70=this[_0x51ac34(0x77f)](),_0x153888=(_0x4851d4=this['_configService'][_0x51ac34(0x327)]('shape-editor-ui.config'))==null?void 0x0:_0x4851d4[_0x51ac34(0x242)];if(!_0x153888)return _0x573f70;try{let _0x48ffe5=await _0x153888['listUnits'](),_0x3a28aa=new Set(_0x573f70[_0x51ac34(0x270)](_0x7cb2cc=>_0x7cb2cc[_0x51ac34(0x54c)]));return[..._0x573f70,..._0x48ffe5['filter'](_0x1950c8=>!_0x3a28aa[_0x51ac34(0x1b2)](_0x1950c8[_0x51ac34(0x54c)]))];}catch{return _0x573f70;}}[_0x13379c(0x2b8)](_0x5302d4){const _0x175b4e=_0x13379c;this[_0x175b4e(0x156)]+=0x1,!(this['_container']===_0x5302d4&&this[_0x175b4e(0x2f9)])&&(this[_0x175b4e(0x18e)](),this['_container']=_0x5302d4,this[_0x175b4e(0x2f9)]=this[_0x175b4e(0x6a8)](_0x5302d4),this[_0x175b4e(0x35a)]=_0x2d053f=>{const _0x30a138=_0x175b4e;this[_0x30a138(0x793)]=_0x2d053f['ctrlKey']||_0x2d053f['metaKey'];},_0x5302d4[_0x175b4e(0x3f2)](_0x175b4e(0x25c),this[_0x175b4e(0x35a)],!0x0));}async[_0x13379c(0x58d)](_0x38819c,_0x101a1c,_0x4a728f){const _0x48eee4=_0x13379c;var _0x100d1e;let _0x53f23d=++this['_generation'],_0x3df5d1=this[_0x48eee4(0x2f9)];if(!_0x3df5d1)return null;let _0x1486d6=_0x3df5d1[_0x48eee4(0x264)]()[_0x48eee4(0x55c)](o[_0x48eee4(0x166)]);this[_0x48eee4(0x30e)]['dispose'](),this['_selectionDisposables']=new o['DisposableCollection'](),(_0x100d1e=this['_selectionChangingDisposable'])==null||_0x100d1e[_0x48eee4(0x345)](),this[_0x48eee4(0x160)]=null,this[_0x48eee4(0x31f)][_0x48eee4(0x345)](),this[_0x48eee4(0x31f)]=new o['DisposableCollection'](),this[_0x48eee4(0x329)]=_0x101a1c,this['_resource']=_0x38819c,this['_onSelectReferences']=_0x4a728f,this[_0x48eee4(0x7a6)]=null,this[_0x48eee4(0x274)]=null,this[_0x48eee4(0x2cc)]=[],this['_isDraggingFormulaSelection']=!0x1,this[_0x48eee4(0x81b)]&&(_0x1486d6['disposeUnit'](this[_0x48eee4(0x81b)]),this[_0x48eee4(0x81b)]=null);let _0x47200d;if(_0x38819c['type']===o['UniverInstanceType'][_0x48eee4(0x5b3)]){let _0x24d5f7=o[_0x48eee4(0x46b)][_0x48eee4(0x637)](await _0x38819c[_0x48eee4(0x5f6)]());if(_0x53f23d!==this[_0x48eee4(0x6ad)]||_0x3df5d1!==this[_0x48eee4(0x2f9)])return null;_0x47200d=_0x3df5d1['createUnit'](_0x38819c[_0x48eee4(0x1e6)],_0x24d5f7);}else{let _0x1ae52e=o[_0x48eee4(0x46b)][_0x48eee4(0x637)](await _0x38819c[_0x48eee4(0x5f6)]());if(_0x53f23d!==this[_0x48eee4(0x6ad)]||_0x3df5d1!==this['_univer'])return null;this['_makeBaseSnapshotReadOnly'](_0x1ae52e),_0x1ae52e['id']='__shape_formula_viewer_base__'+_0x38819c['unitId'],_0x47200d=_0x3df5d1[_0x48eee4(0x30f)](_0x38819c[_0x48eee4(0x1e6)],_0x1ae52e),this[_0x48eee4(0x52f)](_0x3df5d1,_0x47200d);}return this['_activeUnitId']=_0x47200d[_0x48eee4(0x2c2)](),_0x1486d6[_0x48eee4(0x7ef)](_0x47200d['getUnitId']()),_0x1486d6['focusUnit'](_0x47200d[_0x48eee4(0x2c2)]()),_0x47200d instanceof o[_0x48eee4(0x688)]?(this[_0x48eee4(0x7a6)]=_0x47200d,this[_0x48eee4(0x3ab)](_0x3df5d1,_0x47200d,_0x101a1c)):(this[_0x48eee4(0x274)]=_0x47200d,this['_observeBaseSelection'](_0x3df5d1,_0x47200d)),this[_0x48eee4(0x175)](),_0x47200d;}[_0x13379c(0x15a)](_0xd0b0fe){const _0x58aeef=_0x13379c;Object[_0x58aeef(0x5d3)](_0xd0b0fe[_0x58aeef(0x2c5)])[_0x58aeef(0x663)](_0x3c1630=>{const _0x315f40=_0x58aeef;Object[_0x315f40(0x5d3)](_0x3c1630[_0x315f40(0x46f)])[_0x315f40(0x663)](_0xe54f98=>{_0xe54f98['readonly']=!0x0;});});}[_0x13379c(0x52f)](_0x24ec9a,_0x5071cb){const _0x133c2d=_0x13379c;let _0x447b3a=_0x24ec9a[_0x133c2d(0x264)]()[_0x133c2d(0x55c)](c[_0x133c2d(0x6d8)]),_0x1c316f=_0x5071cb[_0x133c2d(0x6f7)]();_0x447b3a[_0x133c2d(0x7cf)](_0x5071cb['getUnitId'](),{'createTable':!0x1}),Object['values'](_0x1c316f[_0x133c2d(0x2c5)])[_0x133c2d(0x663)](_0x290a23=>{const _0x5eb631=_0x133c2d;_0x447b3a[_0x5eb631(0x5c3)](_0x290a23['id'],{'createField':!0x1,'createRecord':!0x1,'delete':!0x1,'manageView':!0x1}),Object[_0x5eb631(0x5d3)](_0x290a23[_0x5eb631(0x46f)])[_0x5eb631(0x663)](_0x6f07fd=>{const _0x2f34ca=_0x5eb631;_0x447b3a[_0x2f34ca(0x33d)](_0x290a23['id'],_0x6f07fd['id'],{'edit':!0x1,'delete':!0x1,'editCell':!0x1});}),Object[_0x5eb631(0x5d3)](_0x290a23[_0x5eb631(0x41b)])[_0x5eb631(0x663)](_0x20205b=>{const _0x5be07f=_0x5eb631;_0x447b3a[_0x5be07f(0x2a9)](_0x290a23['id'],_0x20205b['id'],{'delete':!0x1,'editCell':!0x1});});});}[_0x13379c(0x41c)](_0x321eb2){const _0x18ace5=_0x13379c;this[_0x18ace5(0x356)]=_0x321eb2,this['_isDraggingFormulaSelection']||this['_refreshFormulaSelections']();}['close'](){const _0x220940=_0x13379c;this[_0x220940(0x156)]+=0x1,this[_0x220940(0x18e)]();}[_0x13379c(0x562)](){const _0x5c81ee=_0x13379c;let _0x27ed2c=++this[_0x5c81ee(0x156)];globalThis[_0x5c81ee(0x6f9)](()=>{const _0xc28890=_0x5c81ee;_0x27ed2c===this[_0xc28890(0x156)]&&this['_closeNow']();},0x0);}[_0x13379c(0x18e)](){const _0x44035a=_0x13379c;var _0x2a476a,_0x127c81;this['_generation']+=0x1,this['_selectionDisposables'][_0x44035a(0x345)](),this[_0x44035a(0x30e)]=new o[(_0x44035a(0x7de))](),(_0x2a476a=this['_selectionChangingDisposable'])==null||_0x2a476a[_0x44035a(0x345)](),this[_0x44035a(0x160)]=null,this[_0x44035a(0x31f)][_0x44035a(0x345)](),this[_0x44035a(0x31f)]=new o[(_0x44035a(0x7de))](),this['_container']&&this[_0x44035a(0x35a)]&&this[_0x44035a(0x1be)][_0x44035a(0x200)](_0x44035a(0x25c),this[_0x44035a(0x35a)],!0x0),(_0x127c81=this[_0x44035a(0x2f9)])==null||_0x127c81['dispose'](),this['_univer']=null,this[_0x44035a(0x81b)]=null,this[_0x44035a(0x1be)]=null,this[_0x44035a(0x35a)]=null,this[_0x44035a(0x356)]=null,this[_0x44035a(0x329)]=null,this[_0x44035a(0x45a)]=null,this['_onSelectReferences']=null,this['_activeWorkbook']=null,this[_0x44035a(0x274)]=null,this[_0x44035a(0x2cc)]=[],this[_0x44035a(0x316)]=!0x1;}[_0x13379c(0x345)](){const _0x13d888=_0x13379c;this[_0x13d888(0x156)]+=0x1,this[_0x13d888(0x18e)](),super[_0x13d888(0x345)]();}[_0x13379c(0x6a8)](_0x37d3c7){const _0x32ac88=_0x13379c;let _0x192c33=this[_0x32ac88(0x5de)][_0x32ac88(0x327)](O),_0x4c306a=_0x192c33==null?void 0x0:_0x192c33[_0x32ac88(0x47c)],_0x5c72a7=this[_0x32ac88(0x6e1)][_0x32ac88(0x670)](),_0x12f820=this[_0x32ac88(0x6e1)][_0x32ac88(0x3d1)](),_0x4c7539=new o[(_0x32ac88(0x41f))]({'locale':_0x5c72a7,..._0x12f820?{'locales':{[_0x5c72a7]:_0x12f820}}:null,'direction':this[_0x32ac88(0x6e1)][_0x32ac88(0x44f)](),'theme':this[_0x32ac88(0x7fe)]['getCurrentTheme'](),'darkMode':this[_0x32ac88(0x7fe)][_0x32ac88(0x50b)]}),_0x16e8d5=this['_configService'][_0x32ac88(0x327)](i[_0x32ac88(0x25d)]);return _0x16e8d5&&_0x4c7539[_0x32ac88(0x755)](i['UniverLicensePlugin'],{'license':_0x16e8d5['ls']}),_0x4c306a&&_0x4c7539[_0x32ac88(0x755)](_[_0x32ac88(0x734)],{'workerURL':_0x4c306a}),_0x4c7539[_0x32ac88(0x755)](m[_0x32ac88(0x197)]),_0x4c7539[_0x32ac88(0x755)](s[_0x32ac88(0x18b)],{'container':_0x37d3c7,'contextMenu':!0x1,'disableAutoFocus':!0x0,'footer':!0x0,'header':!0x1,'headerMenu':!0x1,'toolbar':!0x1}),_0x4c7539[_0x32ac88(0x755)](u[_0x32ac88(0x1ce)],{'notExecuteFormula':!!_0x4c306a}),_0x4c7539[_0x32ac88(0x755)](h[_0x32ac88(0x1bf)]),_0x4c7539[_0x32ac88(0x755)](d[_0x32ac88(0x7ed)]),_0x4c7539[_0x32ac88(0x755)](f[_0x32ac88(0x72b)]),_0x4c7539['registerPlugin'](v['UniverSheetsPlugin']),_0x4c7539['registerPlugin'](y[_0x32ac88(0x26a)]),_0x4c7539[_0x32ac88(0x755)](x['UniverSheetsUIPlugin'],{'disableAutoFocus':!0x0,'disableEdit':!0x0,'footer':{'addSheetButtonConfig':{'show':!0x1},'menus':!0x1,'sheetBar':!0x0,'statisticBar':!0x1,'zoomSlider':!0x1},'formulaBar':!0x1}),_0x4c7539[_0x32ac88(0x755)](b[_0x32ac88(0x4e4)],{'functionScreenTips':!0x1,'menu':{}}),_0x4c7539[_0x32ac88(0x755)](c[_0x32ac88(0x51b)]),_0x4c7539['registerPlugin'](l[_0x32ac88(0x12b)],{'disableEdit':!0x0,'override':[[l['IBaseCanvasRootResolverService'],{'useValue':(0x0,l[_0x32ac88(0x474)])(_0x37d3c7)}]],'workbench':{'collaborationStatus':!0x1,'footer':!0x1,'fallbackToFirstUnit':!0x0,'global':!0x1,'header':!0x1,'headerMenu':!0x1,'leftSidebar':!0x0,'mobile':!0x1,'rightSidebar':!0x1,'route':!0x1}}),_0x4c7539;}[_0x13379c(0x3ab)](_0x9172d5,_0x5dbc87,_0x2e6422){const _0x1b155e=_0x13379c;let _0x82b94b=_0x9172d5[_0x1b155e(0x264)]()['get'](m[_0x1b155e(0x15e)]),_0x1f8697=()=>{const _0x35e012=_0x1b155e;var _0x392174,_0xa1c6cb;let _0x4a4512=(_0x392174=_0x82b94b[_0x35e012(0x5a9)](_0x5dbc87[_0x35e012(0x2c2)]()))==null?void 0x0:_0x392174[_0x35e012(0x1b8)](b[_0x35e012(0x28b)]);_0x4a4512&&((_0xa1c6cb=this[_0x35e012(0x160)])==null||_0xa1c6cb[_0x35e012(0x345)](),this['_selectionChangingDisposable']=_0x4a4512[_0x35e012(0x5f5)](),this[_0x35e012(0x30e)][_0x35e012(0x7e4)](_0x4a4512['selectionMoveEnd$'][_0x35e012(0x4bb)](_0x49124f=>{const _0xe96d78=_0x35e012;this[_0xe96d78(0x540)](_0x5dbc87,_0x2e6422,_0x49124f),this[_0xe96d78(0x793)]=!0x1;})),this[_0x35e012(0x175)]());};_0x1f8697(),this[_0x1b155e(0x30e)][_0x1b155e(0x7e4)](_0x82b94b['created$'][_0x1b155e(0x4bb)](_0xeb1fb7=>{const _0x315d2c=_0x1b155e;_0xeb1fb7[_0x315d2c(0x54c)]===_0x5dbc87['getUnitId']()&&_0x1f8697();})),this[_0x1b155e(0x30e)][_0x1b155e(0x7e4)](_0x5dbc87[_0x1b155e(0x33f)]['subscribe'](()=>{const _0x1c48d1=_0x1b155e;queueMicrotask(()=>this[_0x1c48d1(0x175)]());}));}['_observeBaseSelection'](_0x913661,_0x559828){const _0x2372fc=_0x13379c;var _0x5db4c9,_0x248819,_0x3e7d76,_0x29869a;let _0xccd954=_0x913661[_0x2372fc(0x264)]()[_0x2372fc(0x55c)](l[_0x2372fc(0x427)]),_0x33a018=_0x913661[_0x2372fc(0x264)]()[_0x2372fc(0x55c)](c[_0x2372fc(0x37c)]),_0x4626e0=_0x559828[_0x2372fc(0x6f7)](),_0x29bd60=(_0x5db4c9=_0x4626e0[_0x2372fc(0x16f)][0x0])==null?Object['keys'](_0x4626e0[_0x2372fc(0x2c5)])[0x0]:_0x5db4c9,_0x225d75=_0x29bd60?_0x4626e0[_0x2372fc(0x2c5)][_0x29bd60]:void 0x0,_0x537695=(_0x248819=_0x225d75==null||(_0x3e7d76=_0x225d75[_0x2372fc(0x231)])==null?void 0x0:_0x3e7d76[0x0])==null?Object[_0x2372fc(0x4dd)]((_0x29869a=_0x225d75==null?void 0x0:_0x225d75[_0x2372fc(0x414)])==null?{}:_0x29869a)[0x0]:_0x248819;_0x29bd60&&_0xccd954[_0x2372fc(0x7ba)](_0x29bd60),_0x537695&&_0xccd954[_0x2372fc(0x49f)](_0x537695),this[_0x2372fc(0x30e)][_0x2372fc(0x7e4)](_0xccd954[_0x2372fc(0x38f)][_0x2372fc(0x4bb)](_0x54c270=>{const _0x37951a=_0x2372fc;this[_0x37951a(0x20f)](_0x54c270,_0x559828,_0x33a018);}));}['_handleBaseSelectionChange'](_0x528923,_0x2be3d,_0x57c1e1){const _0x1c4df3=_0x13379c;var _0x399b70,_0xe1f271,_0x389b3d,_0x5d6889,_0x4fdb95,_0x2b5215;let _0x241b52=this[_0x1c4df3(0x75b)]();if(!_0x241b52)return;let {host:_0x2e3255,resource:_0x45bfb5}=_0x241b52,_0x35cf4b=(_0x399b70=(_0xe1f271=_0x528923['selection'])==null?void 0x0:_0xe1f271[_0x1c4df3(0x5e5)])==null?_0x528923[_0x1c4df3(0x7f3)]:_0x399b70,_0x22a318=_0x35cf4b?_0x2be3d[_0x1c4df3(0x6f7)]()[_0x1c4df3(0x2c5)][_0x35cf4b]:void 0x0,_0x3c84bc=(_0x389b3d=(_0x5d6889=_0x528923[_0x1c4df3(0x2e4)])==null?void 0x0:_0x5d6889[_0x1c4df3(0x773)])==null?_0x528923[_0x1c4df3(0x7ce)]:_0x389b3d;if(!_0x35cf4b||!_0x3c84bc||!_0x22a318||!_0x528923[_0x1c4df3(0x2e4)])return;let _0x63f48c=_0x57c1e1[_0x1c4df3(0x6b9)](_0x2be3d[_0x1c4df3(0x6f7)](),_0x35cf4b,_0x3c84bc),_0xbeb6a2=(0x0,l[_0x1c4df3(0x66c)])(_0x528923[_0x1c4df3(0x2e4)],_0x63f48c),_0x2856e5=_0xbeb6a2&&L({'fieldIds':_0xbeb6a2[_0x1c4df3(0x71b)],'hostUnitId':_0x2e3255[_0x1c4df3(0x54c)],'snapshot':_0x2be3d[_0x1c4df3(0x6f7)](),'sourceUnitId':_0x45bfb5[_0x1c4df3(0x54c)],'tableId':_0x35cf4b});if(!_0x2856e5)return;let _0x543fbf=this[_0x1c4df3(0x793)]&&this[_0x1c4df3(0x2cc)][_0x1c4df3(0x135)]>0x0,_0x21fa63=(_0x4fdb95=this[_0x1c4df3(0x356)])==null||(_0x4fdb95=_0x4fdb95[_0x1c4df3(0x2ee)]['find'](_0x2336e4=>_0x2336e4[_0x1c4df3(0x390)]===this['_visibleReferenceIndexes'][0x0]))==null?void 0x0:_0x4fdb95[_0x1c4df3(0x221)];(_0x2b5215=this[_0x1c4df3(0x808)])==null||_0x2b5215[_0x1c4df3(0x484)](this,{'references':_0x543fbf&&_0x21fa63?[_0x21fa63,_0x2856e5]:[_0x2856e5],'visibleReferenceIndexes':this[_0x1c4df3(0x2cc)],'isCtrlAddMode':_0x543fbf}),this['_pointerCtrlKey']=!0x1;}[_0x13379c(0x75b)](){const _0x5d51ab=_0x13379c;return this[_0x5d51ab(0x329)]&&this[_0x5d51ab(0x45a)]&&!this[_0x5d51ab(0x457)]&&this[_0x5d51ab(0x26d)]()?{'host':this[_0x5d51ab(0x329)],'resource':this[_0x5d51ab(0x45a)]}:null;}['_emitSheetSelectionChange'](_0x578b1d,_0x3040f8,_0x8559ba){const _0x388c02=_0x13379c;var _0x576124;if(!this[_0x388c02(0x26d)]())return;let _0x27feb5=_0x578b1d[_0x388c02(0x39c)]();if(!_0x27feb5)return;let _0x433f50=_0x8559ba['map'](_0x3a8ec8=>I({'host':_0x3040f8,'range':_0x3a8ec8[_0x388c02(0x147)],'workbook':_0x578b1d,'worksheet':_0x27feb5}));(_0x576124=this['_onSelectReferences'])==null||_0x576124['call'](this,{'references':_0x433f50,'visibleReferenceIndexes':this[_0x388c02(0x2cc)],'isCtrlAddMode':this[_0x388c02(0x793)]&&_0x433f50[_0x388c02(0x135)]>this[_0x388c02(0x2cc)]['length']});}['_refreshFormulaSelections'](){const _0x166e11=_0x13379c;this[_0x166e11(0x7a6)]?this['_refreshSheetFormulaSelections'](this[_0x166e11(0x7a6)]):this[_0x166e11(0x274)]&&this[_0x166e11(0x486)](this['_activeBase']);}[_0x13379c(0x452)](_0xcfc84a){const _0x48a6d2=_0x13379c;var _0x59a121;let _0x2ead41=this[_0x48a6d2(0x2f9)],_0x5c4108=this[_0x48a6d2(0x356)],_0x14f3ae=this[_0x48a6d2(0x329)],_0x273c6c=this[_0x48a6d2(0x45a)],_0x44cbc2=_0xcfc84a[_0x48a6d2(0x39c)]();if(!_0x2ead41||!_0x5c4108||!_0x14f3ae||!_0x273c6c||!_0x44cbc2)return;let _0x4be4d1=_0x2ead41['__getInjector'](),_0x28d3f3=(_0x59a121=_0x4be4d1[_0x48a6d2(0x55c)](m[_0x48a6d2(0x15e)])[_0x48a6d2(0x5a9)](_0xcfc84a[_0x48a6d2(0x2c2)]()))==null?void 0x0:_0x59a121[_0x48a6d2(0x1b8)](b['RefSelectionsRenderService']);if(!_0x28d3f3)return;let _0x18b989=[],_0x1864a3=[];for(let _0x5c8247 of _0x5c4108['refSelections']){if(_0x5c8247[_0x48a6d2(0x4e9)]!==p[_0x48a6d2(0x675)][_0x48a6d2(0x603)])continue;let _0x5c6832=(0x0,p[_0x48a6d2(0x68f)])(_0x5c8247[_0x48a6d2(0x221)]);if(!this[_0x48a6d2(0x185)](_0x5c6832[_0x48a6d2(0x54c)],_0x5c6832[_0x48a6d2(0x4d4)],_0xcfc84a,_0x44cbc2['getName'](),_0x14f3ae))continue;let _0x3dac9f=(0x0,v[_0x48a6d2(0x638)])(_0x5c6832['range'],_0x44cbc2[_0x48a6d2(0x32b)](),_0x44cbc2['getColumnCount']());_0x3dac9f[_0x48a6d2(0x54c)]=_0xcfc84a[_0x48a6d2(0x2c2)](),_0x3dac9f[_0x48a6d2(0x141)]=_0x44cbc2[_0x48a6d2(0x12a)](),_0x18b989[_0x48a6d2(0x524)]({'range':_0x3dac9f,'primary':null,'style':(0x0,b['genFormulaRefSelectionStyle'])(this[_0x48a6d2(0x7fe)],_0x5c8247[_0x48a6d2(0x1d7)],_0x5c8247[_0x48a6d2(0x4a7)][_0x48a6d2(0x198)]())}),_0x1864a3[_0x48a6d2(0x524)](_0x5c8247[_0x48a6d2(0x390)]);}this[_0x48a6d2(0x2cc)]=_0x1864a3;let _0x4bb9c5=this[_0x48a6d2(0x24a)]();_0x4be4d1[_0x48a6d2(0x55c)](o[_0x48a6d2(0x502)])[_0x48a6d2(0x560)](v[_0x48a6d2(0x69a)],_0x4bb9c5!=null&&_0x4bb9c5[_0x48a6d2(0x567)]!==_0x48a6d2(0x53d)),_0x4be4d1[_0x48a6d2(0x55c)](v[_0x48a6d2(0x7e2)])[_0x48a6d2(0x2b4)](_0xcfc84a[_0x48a6d2(0x2c2)](),_0x44cbc2['getSheetId'](),_0x18b989);let _0x1a9ca7=_0x4bb9c5?_0x1864a3[_0x48a6d2(0x2ca)](_0x4bb9c5[_0x48a6d2(0x7d9)]):-0x1;if(_0x1a9ca7>=0x0?_0x28d3f3[_0x48a6d2(0x7be)](_0x1a9ca7):_0x18b989[_0x48a6d2(0x135)]?_0x28d3f3[_0x48a6d2(0x7be)](_0x18b989[_0x48a6d2(0x135)]-0x1):_0x28d3f3[_0x48a6d2(0x735)](),_0x28d3f3[_0x48a6d2(0x1ae)]((_0x4bb9c5==null?void 0x0:_0x4bb9c5[_0x48a6d2(0x567)])===_0x48a6d2(0x7e4)),(_0x4bb9c5==null?void 0x0:_0x4bb9c5[_0x48a6d2(0x567)])===_0x48a6d2(0x53d)){var _0xc713e3;(_0xc713e3=this[_0x48a6d2(0x160)])==null||_0xc713e3['dispose'](),this[_0x48a6d2(0x160)]=null,_0x28d3f3['disableSelectionChanging']();}else this[_0x48a6d2(0x160)]||(this[_0x48a6d2(0x160)]=_0x28d3f3[_0x48a6d2(0x5f5)]());queueMicrotask(()=>this[_0x48a6d2(0x1ba)](_0x28d3f3,_0xcfc84a,_0x14f3ae));}[_0x13379c(0x486)](_0x46ad3f){const _0x21e51a=_0x13379c;var _0x3f9941,_0x42793f,_0x4cce64;let _0x31cfeb=this[_0x21e51a(0x356)],_0x32f6de=this['_resource'],_0x2dac5c=this[_0x21e51a(0x2f9)];if(!_0x31cfeb||!_0x32f6de||!_0x2dac5c)return;let _0x465d82=_0x2dac5c[_0x21e51a(0x264)]()[_0x21e51a(0x55c)](l[_0x21e51a(0x427)]),_0x1f8358=_0x465d82['getState'](),_0x1bee11=_0x46ad3f['getSnapshot'](),_0x200552=_0x1f8358[_0x21e51a(0x7f3)],_0x5b9ae7=_0x1f8358['activeViewId'],_0x558c6d=_0x200552?_0x1bee11['tables'][_0x200552]:void 0x0;if(!_0x200552||!_0x5b9ae7||!_0x558c6d)return;let _0x5d673d=_0x31cfeb['refSelections'][_0x21e51a(0x2f3)](_0x2f9612=>{const _0x357de0=_0x21e51a;var _0x3df3ac;if(_0x2f9612[_0x357de0(0x4e9)]!==p['sequenceNodeType']['TABLE'])return!0x1;let _0x30cc99=(0x0,p[_0x357de0(0x6a0)])(_0x2f9612[_0x357de0(0x221)]);return this[_0x357de0(0x238)](_0x30cc99[_0x357de0(0x640)],_0x32f6de,_0x32f6de['unitId']===((_0x3df3ac=this[_0x357de0(0x329)])==null?void 0x0:_0x3df3ac[_0x357de0(0x54c)]))&&_0x30cc99[_0x357de0(0x6a6)]===_0x558c6d['name'];}),_0x76b944=this['_getEditingContext'](),_0x1a84a7=(_0x3f9941=_0x5d673d[_0x21e51a(0x326)](_0x48b1e5=>_0x48b1e5['index']===(_0x76b944==null?void 0x0:_0x76b944[_0x21e51a(0x7d9)])))==null?_0x5d673d[0x0]:_0x3f9941;if(this[_0x21e51a(0x2cc)]=_0x1a84a7?[_0x1a84a7[_0x21e51a(0x390)]]:[],!_0x1a84a7)return;let {columnStruct:_0x56e04f}=(0x0,p[_0x21e51a(0x6a0)])(_0x1a84a7[_0x21e51a(0x221)]),_0x3fed21=Array[_0x21e51a(0x796)](_0x56e04f[_0x21e51a(0x817)](/\[([^\[\]#][^\]]*)\]/g),_0x4e93a8=>_0x4e93a8[0x1]),_0x126651=Object['values'](_0x558c6d[_0x21e51a(0x46f)])['find'](_0xb66056=>_0xb66056[_0x21e51a(0x7f9)]===_0x3fed21[0x0]),_0x4866d7=Object['values'](_0x558c6d['fields'])[_0x21e51a(0x326)](_0x50e0e0=>_0x50e0e0[_0x21e51a(0x7f9)]===_0x3fed21['at'](-0x1)),_0x28250e=_0x2dac5c[_0x21e51a(0x264)]()[_0x21e51a(0x55c)](c[_0x21e51a(0x37c)])['getProjection'](_0x1bee11,_0x200552,_0x5b9ae7);if(!_0x126651||!_0x4866d7||_0x28250e[_0x21e51a(0x1e6)]!==_0x21e51a(0x605))return;let _0x1dc168=(_0x42793f=_0x28250e['rows'][0x0])==null?void 0x0:_0x42793f[_0x21e51a(0x1a4)],_0x1ddf72=(_0x4cce64=_0x28250e['rows']['at'](-0x1))==null?void 0x0:_0x4cce64['recordId'];if(!_0x1dc168||!_0x1ddf72)return;let _0x3091f7={'type':'grid-cell','tableId':_0x200552,'viewId':_0x5b9ae7,'recordId':_0x1dc168,'fieldId':_0x126651['id'],'mode':_0x21e51a(0x2fe),'anchorRecordId':_0x1dc168,'focusRecordId':_0x1ddf72,'anchorFieldId':_0x126651['id'],'focusFieldId':_0x4866d7['id'],'showBorder':!0x0};this['_isApplyingBaseHighlight']=!0x0,_0x465d82['setSelection'](_0x3091f7),this[_0x21e51a(0x457)]=!0x1;}['_bindFormulaSelectionControls'](_0x377619,_0x5f1daf,_0x394330){const _0x8e1d6d=_0x13379c;this['_controlDisposables'][_0x8e1d6d(0x345)](),this[_0x8e1d6d(0x31f)]=new o[(_0x8e1d6d(0x7de))](),_0x377619[_0x8e1d6d(0x798)]()[_0x8e1d6d(0x663)]((_0x4d1b65,_0x502a97)=>{const _0xa0752e=_0x8e1d6d;let _0x54e315=_0x5b85ba=>{const _0x147399=_0x1fb5;var _0x54524a;this[_0x147399(0x316)]=!0x0;let _0x269cd0=_0x5f1daf['getActiveSheet']();if(!_0x269cd0)return;let _0x5c31d1=_0x377619[_0x147399(0x744)]()[_0x147399(0x270)]((_0xe62e17,_0x351c46)=>I({'host':_0x394330,'range':_0x351c46===_0x502a97?_0x5b85ba:_0xe62e17[_0x147399(0x147)],'workbook':_0x5f1daf,'worksheet':_0x269cd0}));(_0x54524a=this[_0x147399(0x808)])==null||_0x54524a['call'](this,{'references':_0x5c31d1,'visibleReferenceIndexes':this[_0x147399(0x2cc)],'activeReferenceIndex':this[_0x147399(0x2cc)][_0x502a97],'isCtrlAddMode':!0x1});};this['_controlDisposables'][_0xa0752e(0x7e4)](_0x4d1b65[_0xa0752e(0x2ae)][_0xa0752e(0x4bb)](_0x54e315)),this[_0xa0752e(0x31f)][_0xa0752e(0x7e4)](_0x4d1b65[_0xa0752e(0x5e4)][_0xa0752e(0x4bb)](_0x54e315)),this[_0xa0752e(0x31f)][_0xa0752e(0x7e4)](_0x4d1b65[_0xa0752e(0x6bc)]['subscribe'](_0x566585=>{_0x566585&&_0x54e315(_0x566585),this['_isDraggingFormulaSelection']=!0x1;})),this[_0xa0752e(0x31f)]['add'](_0x4d1b65[_0xa0752e(0x5ca)][_0xa0752e(0x4bb)](_0x4aeeb4=>{_0x54e315(_0x4aeeb4),this['_isDraggingFormulaSelection']=!0x1;}));});}[_0x13379c(0x24a)](){const _0x2677d7=_0x13379c;let _0x599682=this[_0x2677d7(0x356)];if(!_0x599682)return null;let _0x363ece=+!!_0x599682[_0x2677d7(0x30a)][_0x2677d7(0x2b7)]('='),_0x13eb91=_0x599682['formula']['slice'](_0x363ece),_0x45c620=Math[_0x2677d7(0x16d)](0x0,_0x599682[_0x2677d7(0x5fe)]-_0x363ece),_0x1a2289=Math[_0x2677d7(0x16d)](_0x45c620,_0x599682['selectionEnd']-_0x363ece),_0x29cc59=_0x599682[_0x2677d7(0x2ee)][_0x2677d7(0x326)](_0x24f551=>_0x1a2289>_0x45c620?_0x24f551[_0x2677d7(0x405)]<_0x1a2289&&_0x24f551[_0x2677d7(0x57d)]+0x1>_0x45c620:_0x45c620>_0x24f551[_0x2677d7(0x405)]&&_0x45c620<=_0x24f551['endIndex']+0x1);return _0x29cc59?{'mode':_0x2677d7(0x5e2),'nodeIndex':_0x29cc59['refIndex'],'referenceIndex':_0x29cc59[_0x2677d7(0x390)],'offset':_0x45c620}:(0x0,g[_0x2677d7(0x513)])({'formulaText':_0x13eb91,'sequenceNodes':_0x599682[_0x2677d7(0x130)],'offset':_0x45c620,'selectionStart':_0x45c620,'selectionEnd':_0x1a2289});}[_0x13379c(0x26d)](){const _0x221713=_0x13379c;let _0x1d4876=this[_0x221713(0x24a)]();return _0x1d4876!=null&&_0x1d4876['mode']!==_0x221713(0x53d);}[_0x13379c(0x185)](_0x118d81,_0x1ea3cc,_0x15cdf8,_0x107ca5,_0x4aaf57){const _0x3077d0=_0x13379c;var _0x38c1cd;let _0x338290=this[_0x3077d0(0x45a)];return!_0x338290||!this['_matchesUnitQualifier'](_0x118d81,_0x338290,_0x15cdf8[_0x3077d0(0x2c2)]()===_0x4aaf57[_0x3077d0(0x54c)])?!0x1:_0x1ea3cc?_0x1ea3cc===_0x107ca5:_0x15cdf8['getUnitId']()===_0x4aaf57[_0x3077d0(0x54c)]&&((_0x38c1cd=_0x15cdf8[_0x3077d0(0x39c)]())==null?void 0x0:_0x38c1cd[_0x3077d0(0x12a)]())===_0x4aaf57['subUnitId'];}[_0x13379c(0x238)](_0x45ce08,_0x686412,_0x404d6c){const _0x12cdd5=_0x13379c;if(!_0x45ce08)return _0x404d6c;let _0x1d5c5a=_0x45ce08[_0x12cdd5(0x2d3)]();return _0x1d5c5a===_0x686412[_0x12cdd5(0x54c)][_0x12cdd5(0x2d3)]()||_0x1d5c5a===_0x686412['name']['toLocaleLowerCase']();}[_0x13379c(0x77f)](){const _0x5dd5c3=_0x13379c;let _0x10934c=this[_0x5dd5c3(0x1fe)][_0x5dd5c3(0x6d6)](o['UniverInstanceType'][_0x5dd5c3(0x5b3)])[_0x5dd5c3(0x270)](_0x1cbcfe=>({'unitId':_0x1cbcfe[_0x5dd5c3(0x2c2)](),'name':_0x1cbcfe[_0x5dd5c3(0x29b)](),'type':o[_0x5dd5c3(0x37e)]['UNIVER_SHEET'],'loadSnapshot':async()=>_0x1cbcfe[_0x5dd5c3(0x6f7)]()})),_0x4f9a9d=this[_0x5dd5c3(0x1fe)]['getAllUnitsForType'](o[_0x5dd5c3(0x37e)][_0x5dd5c3(0x4a8)])[_0x5dd5c3(0x270)](_0x253ab7=>({'unitId':_0x253ab7[_0x5dd5c3(0x2c2)](),'name':_0x253ab7[_0x5dd5c3(0x6f7)]()[_0x5dd5c3(0x7f9)],'type':o[_0x5dd5c3(0x37e)][_0x5dd5c3(0x4a8)],'loadSnapshot':async()=>_0x253ab7[_0x5dd5c3(0x6f7)]()}));return[..._0x10934c,..._0x4f9a9d];}};B=N([M(0x0,o[_0x13379c(0x150)]),M(0x1,o['IUniverInstanceService']),M(0x2,(0x0,o[_0x13379c(0x168)])(o['LocaleService'])),M(0x3,(0x0,o[_0x13379c(0x168)])(o[_0x13379c(0x3ce)]))],B);let V=class extends o['Plugin']{constructor(_0x413078=k,_0x5a3cfb,_0x4b1aa5){const _0x75a29b=_0x13379c;super(),this[_0x75a29b(0x5b9)]=_0x413078,this[_0x75a29b(0x4be)]=_0x5a3cfb,this[_0x75a29b(0x5de)]=_0x4b1aa5;let {..._0x438fda}=(0x0,o['merge'])({},k,this[_0x75a29b(0x5b9)]);this[_0x75a29b(0x5de)][_0x75a29b(0x3c1)](O,_0x438fda);}[_0x13379c(0x5a2)](){const _0x52e4dc=_0x13379c;this['_injector'][_0x52e4dc(0x7e4)]([F]),this[_0x52e4dc(0x4be)][_0x52e4dc(0x7e4)]([B]),this[_0x52e4dc(0x4be)][_0x52e4dc(0x55c)](F);}};z(V,'type',o[_0x13379c(0x37e)]['UNIVER_UNKNOWN']),z(V,_0x13379c(0x381),_0x13379c(0x534)),z(V,_0x13379c(0x1cc),A),z(V,_0x13379c(0x1f1),j),V=N([(0x0,o['DependentOn'])(i[_0x13379c(0x2fc)],a[_0x13379c(0x355)]),M(0x1,(0x0,o[_0x13379c(0x168)])(o[_0x13379c(0x3f8)])),M(0x2,o[_0x13379c(0x150)])],V);function H(_0x4210ae){const _0x9bd613=_0x13379c;return!!_0x4210ae&&typeof _0x4210ae==_0x9bd613(0x7dc)&&typeof _0x4210ae[_0x9bd613(0x2a2)]=='string';}function ne(_0x2aeaae,_0x4fa8ae){const _0x898c28=_0x13379c;var _0x1db95f,_0x50e58b,_0x149ac9,_0x504b16,_0x664d7b,_0x3a5244,_0x43b3fc;let _0x263b8e=(_0x1db95f=_0x2aeaae['getRenderById'](_0x4fa8ae[_0x898c28(0x54c)]))==null?void 0x0:_0x1db95f['scene'];if(!_0x263b8e)return!0x1;let _0x574220=(0x0,S[_0x898c28(0x5c6)])(_0x4fa8ae),_0x3e3731=(_0x50e58b=(_0x149ac9=_0x263b8e[_0x898c28(0x378)])==null?void 0x0:_0x149ac9[_0x898c28(0x484)](_0x263b8e,_0x574220))==null?(_0x504b16=_0x263b8e[_0x898c28(0x587)])==null?void 0x0:_0x504b16[_0x898c28(0x484)](_0x263b8e,_0x574220):_0x50e58b;return H(_0x3e3731)?((_0x664d7b=_0x263b8e['getTransformerByCreate'])==null||(_0x43b3fc=(_0x3a5244=_0x664d7b[_0x898c28(0x484)](_0x263b8e))[_0x898c28(0x5db)])==null||_0x43b3fc[_0x898c28(0x484)](_0x3a5244,_0x3e3731),!0x0):!0x1;}function re(_0x3b61a8,_0x45bec6){const _0xfd261e=_0x13379c;var _0x1e1631,_0x12d0f4;let _0xe99197=(_0x1e1631=_0x3b61a8[_0xfd261e(0x5a9)](_0x45bec6))==null||(_0x1e1631=_0x1e1631[_0xfd261e(0x21a)])==null||(_0x12d0f4=_0x1e1631['getTransformer'])==null?void 0x0:_0x12d0f4['call'](_0x1e1631);return _0xe99197!=null&&_0xe99197[_0xfd261e(0x53f)]?(_0xe99197[_0xfd261e(0x53f)](),!0x0):!0x1;}const ie={'borderEnabled':!0x0,'borderStroke':_0x13379c(0x27a),'borderStrokeWidth':0x1,'borderSpacing':0x2,'anchorFill':_0x13379c(0x2dd),'anchorStroke':_0x13379c(0x27a),'anchorStrokeWidth':1.5,'anchorSize':0x8,'anchorCornerRadius':0x2,'anchorStyle':_0x13379c(0x79d),'rotateEnabled':!0x0,'rotateSize':0x12,'rotateCornerRadius':0x9,'rotateAnchorOffset':0x1c,'rotateAnchorPosition':_0x13379c(0x392),'rotateLineEnabled':!0x1,'rotateFill':'#ffffff','rotateStroke':_0x13379c(0x27a),'rotateStrokeWidth':0x1,'rotateIconEnabled':!0x0,'rotateIconStroke':'#4086f4','rotateIconStrokeWidth':1.25,'resizeEnabled':!0x0,'keepRatio':!0x1,'moveBoundaryEnabled':!0x1};function _0x1fb5(_0x27bf96,_0x17717d){_0x27bf96=_0x27bf96-0x11e;const _0x364575=_0x3645();let _0x1fb5c0=_0x364575[_0x27bf96];return _0x1fb5c0;}function ae(_0x14bd8d){const _0x5a7c32=_0x13379c;var _0x12a6c5,_0x1db34b,_0xe6b2a4;if(!(_0x14bd8d!=null&&_0x14bd8d[_0x5a7c32(0x724)]))return null;let _0x442c4c=(_0x12a6c5=_0x14bd8d['doc']['documentStyle'])==null?void 0x0:_0x12a6c5['renderConfig'];return{..._0x14bd8d,'ha':(_0x1db34b=_0x14bd8d['ha'])==null?_0x442c4c==null?void 0x0:_0x442c4c[_0x5a7c32(0x3b0)]:_0x1db34b,'va':(_0xe6b2a4=_0x14bd8d['va'])==null?_0x442c4c==null?void 0x0:_0x442c4c['verticalAlign']:_0xe6b2a4,'doc':_0x14bd8d['doc']};}function oe(_0x1f84df){const _0x5d3f54=_0x13379c;let _0x3279ef=_0x1f84df[_0x5d3f54(0x4d9)];return _0x3279ef&&'dataModel'in _0x3279ef&&_0x3279ef[_0x5d3f54(0x797)]?ae(_0x3279ef[_0x5d3f54(0x797)]):null;}function se(_0x1bacb5){const _0x2fdb52=_0x13379c;var _0x1b04ec,_0x55c636,_0x3cc9b1,_0x5cf340;let _0x9d9deb=(_0x1b04ec=oe(_0x1bacb5))==null?void 0x0:_0x1b04ec[_0x2fdb52(0x724)],_0x3cc186=(_0x55c636=_0x9d9deb==null||(_0x3cc9b1=_0x9d9deb[_0x2fdb52(0x218)])==null||(_0x3cc9b1=_0x3cc9b1[_0x2fdb52(0x80d)])==null||(_0x3cc9b1=_0x3cc9b1[0x0])==null?void 0x0:_0x3cc9b1['ts'])==null?{}:_0x55c636;return{..._0x9d9deb==null||(_0x5cf340=_0x9d9deb[_0x2fdb52(0x68e)])==null?void 0x0:_0x5cf340[_0x2fdb52(0x3d9)],..._0x3cc186};}function U(_0x257614){return 0x1-(0x1-_0x257614)**0x3;}function W(_0x26aa67){const _0x180f9d=_0x13379c;var _0xdb6acb,_0x3534ca;let _0x366ff9=_0x26aa67==null||(_0xdb6acb=_0x26aa67['cell'])==null?void 0x0:_0xdb6acb['v'];return(_0x26aa67==null||(_0x3534ca=_0x26aa67[_0x180f9d(0x651)])==null?void 0x0:_0x3534ca['t'])===o[_0x180f9d(0x3b3)][_0x180f9d(0x4ce)]&&typeof _0x366ff9=='number'&&Number[_0x180f9d(0x67f)](_0x366ff9)?_0x366ff9:void 0x0;}function G(_0x422255){const _0x17074a=_0x13379c;var _0x3c0632;return _0x422255!=null&&(((_0x3c0632=_0x422255['cell'])==null?void 0x0:_0x3c0632['v'])!=null||_0x422255['text'][_0x17074a(0x135)]>0x0);}function ce(_0x559d4a,_0x271a5d){const _0x2fc62e=_0x13379c;var _0x20b574,_0x212930;if(!_0x559d4a||!_0x271a5d)return _0x559d4a===_0x271a5d;let _0x5b8233=(_0x20b574=_0x559d4a['cell'])==null?void 0x0:_0x20b574['v'],_0x48af41=(_0x212930=_0x271a5d[_0x2fc62e(0x651)])==null?void 0x0:_0x212930['v'];if(_0x5b8233!=null||_0x48af41!=null){var _0x589a94,_0x37d799;return _0x5b8233===_0x48af41&&((_0x589a94=_0x559d4a[_0x2fc62e(0x651)])==null?void 0x0:_0x589a94['t'])===((_0x37d799=_0x271a5d[_0x2fc62e(0x651)])==null?void 0x0:_0x37d799['t']);}return _0x559d4a[_0x2fc62e(0x39e)]===_0x271a5d[_0x2fc62e(0x39e)];}function K(_0x2040fd,_0xc6806f){const _0xc55693=_0x13379c;var _0x1cddee;return{..._0x2040fd,'text':o[_0xc55693(0x36c)][_0xc55693(0x429)](_0x2040fd[_0xc55693(0x284)],_0xc6806f,{'throws':!0x1}),'color':(_0x1cddee=o[_0xc55693(0x36c)][_0xc55693(0x35d)](_0x2040fd[_0xc55693(0x284)],_0xc6806f,{'throws':!0x1}))==null?void 0x0:_0x1cddee['toString'](),'cell':_0x2040fd[_0xc55693(0x651)]?{..._0x2040fd[_0xc55693(0x651)],'v':_0xc6806f,'t':o['CellValueType'][_0xc55693(0x4ce)]}:void 0x0};}function q(_0x2c0861){const _0x317d10=_0x13379c;return W(_0x2c0861)===void 0x0?{..._0x2c0861,'text':'','cell':_0x2c0861[_0x317d10(0x651)]?{..._0x2c0861['cell'],'v':'','t':o[_0x317d10(0x3b3)][_0x317d10(0x367)]}:void 0x0}:K(_0x2c0861,0x0);}function J(_0x12b299,_0x428c1b,_0x423c5c){const _0x7eacb=_0x13379c;let _0x2616e2=Math[_0x7eacb(0x289)](0x1,Math[_0x7eacb(0x16d)](0x0,_0x423c5c));if(!_0x428c1b||_0x2616e2>=0x1)return[{'key':'current','offsetY':0x0,'opacity':0x1,'presentation':_0x428c1b}];let _0x48753a=_0x12b299==null?q(_0x428c1b):_0x12b299,_0x57861b=W(_0x48753a),_0x50828c=W(_0x428c1b);if(_0x57861b!==void 0x0&&_0x50828c!==void 0x0){let _0x2d9d20=U(_0x2616e2);return[{'key':'current','offsetY':0x0,'opacity':0x1,'presentation':K(_0x428c1b,_0x57861b+(_0x50828c-_0x57861b)*_0x2d9d20)}];}let _0x34ede9=U(_0x2616e2);return[{'key':'previous','offsetY':-0x8*_0x34ede9,'opacity':0x1-_0x34ede9,'presentation':_0x48753a},{'key':_0x7eacb(0x5ec),'offsetY':0x8*(0x1-_0x34ede9),'opacity':_0x34ede9,'presentation':_0x428c1b}];}function le(){const _0x374559=_0x13379c;return typeof performance>'u'?Date[_0x374559(0x3e8)]():performance[_0x374559(0x3e8)]();}var Y=class{constructor(_0x6d53ce,_0x38873c=()=>{}){const _0x3789f6=_0x13379c;this[_0x3789f6(0x76a)]=_0x6d53ce,this[_0x3789f6(0x4a3)]=_0x38873c,z(this,_0x3789f6(0x5d4),void 0x0),z(this,'_previous',void 0x0),z(this,_0x3789f6(0x4ba),void 0x0),z(this,_0x3789f6(0x59f),0x1),z(this,_0x3789f6(0x1ad),0x0),z(this,_0x3789f6(0x48e),void 0x0),z(this,_0x3789f6(0x432),_0x9e992e=>{const _0x57dbb3=_0x3789f6;let _0x228e78=typeof _0x9e992e=='number'?_0x9e992e:le();this[_0x57dbb3(0x59f)]=Math[_0x57dbb3(0x289)](0x1,(_0x228e78-this['_startedAt'])/0x168),this[_0x57dbb3(0x76a)](),this[_0x57dbb3(0x59f)]<0x1?this[_0x57dbb3(0x48e)]=(0x0,m[_0x57dbb3(0x5eb)])(this['_tick']):(this[_0x57dbb3(0x48e)]=void 0x0,this[_0x57dbb3(0x475)]=void 0x0,this['_onAnimationCompleted']());});}[_0x13379c(0x404)](_0x418404,_0x251349=!0x0){const _0x2460b9=_0x13379c;var _0x3bef39,_0xca659b;let _0x43d841=G(this[_0x2460b9(0x5d4)]),_0x3cfef5=_0x43d841?this[_0x2460b9(0x5d4)]:this[_0x2460b9(0x4ba)];if(_0x251349&&G(_0x3cfef5)&&G(_0x418404)&&ce(_0x3cfef5,_0x418404)){this[_0x2460b9(0x5d4)]=_0x418404,this['_lastResolved']=_0x418404,_0x43d841||(this[_0x2460b9(0x475)]=void 0x0,this[_0x2460b9(0x59f)]=0x1);return;}let _0x1da174=(_0x3bef39=(_0xca659b=this['getLayers']()['at'](-0x1))==null?void 0x0:_0xca659b[_0x2460b9(0x612)])==null?this[_0x2460b9(0x5d4)]:_0x3bef39,_0x28a32d=G(_0x1da174)?_0x1da174:this[_0x2460b9(0x4ba)];if(G(_0x1da174)&&(this[_0x2460b9(0x4ba)]=_0x1da174),this[_0x2460b9(0x71e)](),this[_0x2460b9(0x5d4)]=_0x418404,!_0x251349||!G(_0x418404)){this[_0x2460b9(0x475)]=void 0x0,this[_0x2460b9(0x59f)]=0x1,G(_0x418404)&&(this['_lastResolved']=_0x418404);return;}this[_0x2460b9(0x475)]=_0x28a32d,this['_lastResolved']=_0x418404,this[_0x2460b9(0x59f)]=0x0,this[_0x2460b9(0x1ad)]=le(),this[_0x2460b9(0x48e)]=(0x0,m[_0x2460b9(0x5eb)])(this[_0x2460b9(0x432)]);}[_0x13379c(0x58b)](){const _0x21666c=_0x13379c;return J(this[_0x21666c(0x475)],this[_0x21666c(0x5d4)],this[_0x21666c(0x59f)]);}['getAutoFitPresentations'](){const _0x597810=_0x13379c;let _0x3051bd=G(this[_0x597810(0x5d4)])?this[_0x597810(0x5d4)]:void 0x0;if(!_0x3051bd)return[];let _0x3b1e56=this['_progress']<0x1&&G(this['_previous'])?this[_0x597810(0x475)]:void 0x0;return _0x3b1e56?[_0x3b1e56,_0x3051bd]:[_0x3051bd];}[_0x13379c(0x345)](){const _0x2f3886=_0x13379c;this[_0x2f3886(0x71e)](),this['_current']=void 0x0,this[_0x2f3886(0x475)]=void 0x0,this['_lastResolved']=void 0x0;}[_0x13379c(0x71e)](){const _0x4d6a0d=_0x13379c;this['_frameId']!==void 0x0&&((0x0,m[_0x4d6a0d(0x4c5)])(this[_0x4d6a0d(0x48e)]),this['_frameId']=void 0x0);}};function X(_0x552582,_0x5568b3,_0x5880e2){const _0x3783ef=_0x13379c;let _0x4f1682=_0x5568b3['getLayers']();if(_0x4f1682[_0x3783ef(0x135)]===0x1&&_0x4f1682[0x0]['opacity']===0x1&&_0x4f1682[0x0][_0x3783ef(0x56e)]===0x0){let [_0x680f05]=_0x4f1682;_0x5880e2(_0x552582,_0x680f05[_0x3783ef(0x612)],_0x680f05[_0x3783ef(0x597)]);return;}_0x4f1682[_0x3783ef(0x663)](_0x5d2647=>{const _0x142209=_0x3783ef;_0x5d2647[_0x142209(0x35e)]<=0x0||(_0x552582[_0x142209(0x586)](),_0x552582[_0x142209(0x2a4)]*=_0x5d2647['opacity'],_0x552582[_0x142209(0x736)](0x0,_0x5d2647['offsetY']),_0x5880e2(_0x552582,_0x5d2647[_0x142209(0x612)],_0x5d2647['key']),_0x552582[_0x142209(0x21d)]());});}function ue(_0x1371b4,_0x22e7a4){return _0x1371b4?{..._0x1371b4,'shapeText':_0x22e7a4}:{'shapeText':_0x22e7a4};}function de(_0x5c0e7c){const _0x3b8489=_0x13379c;var _0xced974;if(!_0x5c0e7c||!(_0x3b8489(0x797)in _0x5c0e7c))return;let _0x2025c2=_0x5c0e7c[_0x3b8489(0x797)];if(!_0x2025c2||typeof _0x2025c2!=_0x3b8489(0x7dc)||!(_0x3b8489(0x724)in _0x2025c2))return;let _0x12aa1d=_0x2025c2[_0x3b8489(0x724)];if(fe(_0x12aa1d))return(_0xced974=_0x12aa1d['documentStyle'])==null||(_0xced974=_0xced974['renderConfig'])==null?void 0x0:_0xced974[_0x3b8489(0x27c)];}function fe(_0x176dde){return typeof _0x176dde=='object'&&!!_0x176dde&&'id'in _0x176dde;}function pe(_0x2f5ee9,_0x559277=o[_0x13379c(0x45f)][_0x13379c(0x5b0)]){const _0x4387ad=_0x13379c;var _0x4d049f;let _0x2e79ca=_0x2f5ee9['shapeText'];return(_0x2e79ca==null?void 0x0:_0x2e79ca[_0x4387ad(0x2ab)])===C['ShapeTextWrapType']['None']?o[_0x4387ad(0x45f)][_0x4387ad(0x1d6)]:(_0x2e79ca==null?void 0x0:_0x2e79ca[_0x4387ad(0x2ab)])===C['ShapeTextWrapType'][_0x4387ad(0x519)]?o[_0x4387ad(0x45f)][_0x4387ad(0x5b0)]:(_0x4d049f=de(_0x2e79ca))==null?_0x559277:_0x4d049f;}function Z(_0xb2d96e,_0x3cfbf0){const _0x5def5e=_0x13379c;return(0x0,C[_0x5def5e(0x209)])(_0xb2d96e)[_0x5def5e(0x2ab)]===C[_0x5def5e(0x790)]['None']?!0x1:(_0x3cfbf0==null?pe(_0xb2d96e):_0x3cfbf0)!==o['WrapStrategy'][_0x5def5e(0x1a1)];}function Q(_0x14f192){const _0x309308=_0x13379c;let _0xcd41f7=(0x0,C['resolveShapeTextBodyBehavior'])(_0x14f192);return _0xcd41f7[_0x309308(0x3e4)]===C[_0x309308(0x373)][_0x309308(0x79f)]&&_0xcd41f7[_0x309308(0x2ab)]===C[_0x309308(0x790)][_0x309308(0x48c)];}function me(_0x4d2d0a){const _0x3678c8=_0x13379c;var _0xe64b58;return((_0xe64b58=_0x4d2d0a[_0x3678c8(0x4d9)])==null?void 0x0:_0xe64b58[_0x3678c8(0x589)])===!0x1?_0x3678c8(0x572):_0x3678c8(0x23d);}function he(_0x4a8b25,_0x294648={}){const _0x2d1863=_0x13379c;return _0x294648[_0x2d1863(0x730)]===!0x0?!0x0:_0x4a8b25?(0x0,C[_0x2d1863(0x209)])(_0x4a8b25)['isTextBox']:!0x1;}function ge(_0x44c6bd){const _0x2bd171=_0x13379c;var _0x85a65a;if(!Q(_0x44c6bd['shapeData']))return null;let _0x2a6d7d=Array[_0x2bd171(0x17f)](_0x44c6bd['documentData'])?_0x44c6bd[_0x2bd171(0x671)]:[_0x44c6bd['documentData']];if(_0x2a6d7d['length']===0x0)return null;let _0x4d5741=Math[_0x2bd171(0x16d)](..._0x2a6d7d[_0x2bd171(0x270)](_0x3a60f1=>(0x0,m[_0x2bd171(0x34f)])(_0x3a60f1)));if(!Number[_0x2bd171(0x67f)](_0x4d5741))return null;let _0x23ab67=me(_0x44c6bd[_0x2bd171(0x25b)]),_0x2c93f4=_0x23ab67===_0x2bd171(0x23d)?_0x44c6bd['textRect'][_0x2bd171(0x23d)]:_0x44c6bd['textRect'][_0x2bd171(0x572)],_0x43ce6a=Math['max'](0x1,_0x4d5741+((_0x85a65a=_0x44c6bd[_0x2bd171(0x822)])==null?0x2:_0x85a65a))-_0x2c93f4;return Math[_0x2bd171(0x495)](_0x43ce6a)<=0.5?null:_0x23ab67==='width'?{'width':Math[_0x2bd171(0x16d)](0x1,_0x44c6bd[_0x2bd171(0x23d)]+_0x43ce6a),'height':_0x44c6bd['height']}:{'width':_0x44c6bd[_0x2bd171(0x23d)],'height':Math[_0x2bd171(0x16d)](0x1,_0x44c6bd['height']+_0x43ce6a)};}function _e(_0x150c92){const _0x3c4032=_0x13379c;var _0x41b150;let _0x45392e=+!!_0x150c92['formula'][_0x3c4032(0x2b7)]('='),_0x1df272=_0x150c92[_0x3c4032(0x30a)][_0x3c4032(0x2e1)](_0x45392e),_0x5025a8=Math[_0x3c4032(0x16d)](0x0,_0x150c92['selectionStart']-_0x45392e),_0x2a91e5=Math[_0x3c4032(0x16d)](_0x5025a8,_0x150c92[_0x3c4032(0x4e8)]-_0x45392e),_0x58f1ba=(_0x41b150=_0x150c92[_0x3c4032(0x816)])==null?ye(_0x150c92[_0x3c4032(0x130)]):_0x41b150,_0x285625=_0x58f1ba['find'](_0x142605=>_0x2a91e5>_0x5025a8?_0x142605[_0x3c4032(0x405)]<_0x2a91e5&&_0x142605[_0x3c4032(0x57d)]+0x1>_0x5025a8:_0x5025a8>_0x142605['startIndex']&&_0x5025a8<=_0x142605[_0x3c4032(0x57d)]+0x1),_0x3bd82f=_0x150c92[_0x3c4032(0x1b5)][_0x3c4032(0x613)]==null?void 0x0:_0x58f1ba[_0x3c4032(0x326)](_0x333889=>_0x333889['index']===_0x150c92[_0x3c4032(0x1b5)][_0x3c4032(0x613)]),_0x9a2a67=_0x3bd82f==null?_0x285625:_0x3bd82f,_0x515e53=_0x9a2a67?{'mode':_0x3c4032(0x5e2),'referenceIndex':_0x9a2a67[_0x3c4032(0x390)],'offset':_0x5025a8}:(0x0,g['resolveFormulaReferenceEditingContext'])({'formulaText':_0x1df272,'sequenceNodes':_0x150c92[_0x3c4032(0x130)],'offset':_0x5025a8,'selectionStart':_0x5025a8,'selectionEnd':_0x2a91e5});if(_0x515e53[_0x3c4032(0x567)]===_0x3c4032(0x53d)||_0x150c92[_0x3c4032(0x1b5)][_0x3c4032(0x1d4)][_0x3c4032(0x135)]===0x0)return null;let _0x50f7c0=_0x150c92[_0x3c4032(0x1b5)][_0x3c4032(0x272)]['length'],_0x4d0f31=_0x150c92['change']['references']['length']>_0x50f7c0,_0x681afe=_0x4d0f31?_0x150c92[_0x3c4032(0x1b5)][_0x3c4032(0x1d4)]['at'](-0x1):void 0x0;if(_0x515e53[_0x3c4032(0x567)]==='add'){let _0x1a4993=_0x681afe==null?_0x150c92[_0x3c4032(0x1b5)]['references']['at'](-0x1):_0x681afe;return _0x1a4993?ve(''+_0x1df272[_0x3c4032(0x2e1)](0x0,_0x5025a8)+_0x1a4993+_0x1df272['slice'](_0x2a91e5),_0x45392e+_0x5025a8+_0x1a4993[_0x3c4032(0x135)]):null;}let _0x24013a=new Map(),_0x41cb2c=_0x4d0f31?_0x150c92[_0x3c4032(0x1b5)][_0x3c4032(0x1d4)][_0x3c4032(0x2e1)](0x0,-0x1):_0x150c92[_0x3c4032(0x1b5)][_0x3c4032(0x1d4)];_0x150c92[_0x3c4032(0x1b5)][_0x3c4032(0x272)]['forEach']((_0x337bb2,_0x43149c)=>{const _0x3e8f91=_0x3c4032;let _0xa1bb1e=_0x41cb2c[_0x43149c];_0xa1bb1e&&_0x24013a[_0x3e8f91(0x5c1)](_0x337bb2,_0xa1bb1e);});let _0x348986=_0x24013a[_0x3c4032(0x55c)](_0x515e53['referenceIndex']);if(_0x150c92[_0x3c4032(0x1b5)][_0x3c4032(0x279)]&&_0x681afe){var _0x3303b8,_0x2f600c;let _0x48a7ee=(_0x3303b8=(_0x2f600c=_0x58f1ba[_0x3c4032(0x326)](_0x36dc72=>_0x36dc72[_0x3c4032(0x390)]===_0x515e53[_0x3c4032(0x7d9)]))==null?void 0x0:_0x2f600c[_0x3c4032(0x221)])==null?'':_0x3303b8;_0x24013a[_0x3c4032(0x5c1)](_0x515e53[_0x3c4032(0x7d9)],(_0x348986==null?_0x48a7ee:_0x348986)+','+_0x681afe);}let _0x112787='',_0x50e2b7=0x0,_0x3ecab3=_0x45392e;for(let _0x2e5426 of _0x58f1ba){var _0x373a20;_0x112787+=_0x1df272[_0x3c4032(0x2e1)](_0x50e2b7,_0x2e5426['startIndex']);let _0x23c982=(_0x373a20=_0x24013a['get'](_0x2e5426[_0x3c4032(0x390)]))==null?_0x2e5426['token']:_0x373a20;_0x112787+=_0x23c982,_0x50e2b7=_0x2e5426[_0x3c4032(0x57d)]+0x1,_0x2e5426[_0x3c4032(0x390)]===_0x515e53['referenceIndex']&&(_0x3ecab3=_0x45392e+_0x112787[_0x3c4032(0x135)]);}return _0x112787+=_0x1df272[_0x3c4032(0x2e1)](_0x50e2b7),ve(_0x112787,_0x3ecab3);}function ve(_0xdae7a2,_0x59e582){return{'formula':'='+_0xdae7a2,'selectionStart':_0x59e582,'selectionEnd':_0x59e582};}function ye(_0x49b0bf){const _0x321641=_0x13379c;let _0x150932=[],_0xec214b=-0x1;return _0x49b0bf[_0x321641(0x663)]((_0x5b7093,_0x1ea653)=>{const _0x3af158=_0x321641;typeof _0x5b7093!=_0x3af158(0x7d3)&&be(_0x5b7093[_0x3af158(0x4e9)])&&(_0xec214b+=0x1,_0x150932[_0x3af158(0x524)]({'refIndex':_0x1ea653,'themeColor':'','token':_0x5b7093[_0x3af158(0x221)],'nodeType':_0x5b7093['nodeType'],'startIndex':_0x5b7093[_0x3af158(0x405)],'endIndex':_0x5b7093[_0x3af158(0x57d)],'index':_0xec214b}));}),_0x150932;}function be(_0x43999d){const _0x2ac59f=_0x13379c;return _0x43999d===p[_0x2ac59f(0x675)][_0x2ac59f(0x603)]||_0x43999d===p['sequenceNodeType'][_0x2ac59f(0x455)];}const xe=_0x13379c(0x124),Se='#2563EB',Ce=_0x13379c(0x3b4),we=_0x13379c(0x418),Te={'none':C[_0x13379c(0x556)]['NoFill'],'solid':C[_0x13379c(0x556)][_0x13379c(0x4b9)],'gradient':C['ShapeFillEnum'][_0x13379c(0x51c)],'picture':C[_0x13379c(0x556)]['PictureFill']};function Ee(_0x43c041){const _0x42f7ae=_0x13379c;return _0x43c041 instanceof HTMLElement?!!_0x43c041[_0x42f7ae(0x2af)](_0x42f7ae(0x1d1)):!0x1;}function De(_0x446ba9){const _0x19333e=_0x13379c;Ee(_0x446ba9['target'])||_0x446ba9[_0x19333e(0x728)]();}function $(_0x4ec0d1){const _0x5db015=_0x13379c;_0x4ec0d1[_0x5db015(0x6f5)](),De(_0x4ec0d1);}function Oe(_0x1280cb){const _0x331b27=_0x13379c;let _0x65326=(0x0,n[_0x331b27(0x216)])(!0x1),_0x35616a=(0x0,n['useRef'])(null);return{'handleOpenChange':_0x15f678=>{!_0x15f678&&_0x65326['current']||_0x1280cb(_0x15f678);},'markInternalInteraction':()=>{const _0x148376=_0x331b27;_0x65326[_0x148376(0x5ec)]=!0x0,_0x35616a[_0x148376(0x5ec)]&&clearTimeout(_0x35616a[_0x148376(0x5ec)]),_0x35616a['current']=setTimeout(()=>{const _0x1c398b=_0x148376;_0x65326[_0x1c398b(0x5ec)]=!0x1,_0x35616a[_0x1c398b(0x5ec)]=null;},0x1f4);}};}function ke(_0x96b3ea){const _0x30c588=_0x13379c;return(0x0,r[_0x30c588(0x6f1)])(_0x30c588(0x77e),{'className':(0x0,e['clsx'])(_0x30c588(0x5f0),_0x96b3ea[_0x30c588(0x527)]),'children':_0x96b3ea['children']});}function Ae(_0x1c51a3){const _0x33fb94=_0x13379c;return(0x0,r[_0x33fb94(0x6f1)])(_0x33fb94(0x58a),{'className':_0x33fb94(0x22a),'children':_0x1c51a3['children']});}function je(_0x51ee48){const _0x121ec5=_0x13379c;var _0x5aa2a0;return(0x0,r[_0x121ec5(0x6f1)])(_0x121ec5(0x58a),{..._0x51ee48['dataAttributes'],'onMouseDown':_0x3b6c9e=>{const _0x1f3e8d=_0x121ec5;if(_0x51ee48['onMouseDown']){_0x51ee48['onMouseDown'](_0x3b6c9e);return;}_0x3b6c9e[_0x1f3e8d(0x6f5)](),Ee(_0x3b6c9e[_0x1f3e8d(0x311)])||_0x3b6c9e['preventDefault']();},'className':(0x0,e[_0x121ec5(0x13a)])('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',e[_0x121ec5(0x37b)],(_0x5aa2a0=_0x51ee48[_0x121ec5(0x229)])==null?'univer-max-w-[min(760px,calc(100vw-32px))]':_0x5aa2a0,_0x51ee48[_0x121ec5(0x527)]),'children':_0x51ee48[_0x121ec5(0x72c)]});}function Me(_0x1d72df){const _0x42333c=_0x13379c;var _0x8a12b8,_0x5ed416;let _0x21e6a7=(0x0,s[_0x42333c(0x24f)])(o['LocaleService']),_0x4b3bad=_0x1d72df['titleKey']?_0x21e6a7['t'](_0x1d72df[_0x42333c(0x7ab)]):(_0x8a12b8=_0x1d72df['title'])==null?'':_0x8a12b8;return(0x0,r[_0x42333c(0x6f1)])(e[_0x42333c(0x4cd)],{'title':_0x4b3bad,'placement':_0x42333c(0x392),'visible':_0x1d72df[_0x42333c(0x202)],'children':(0x0,r[_0x42333c(0x6f1)])('button',{'type':_0x42333c(0x7d2),'aria-label':_0x4b3bad,'aria-expanded':_0x1d72df[_0x42333c(0x5ae)],'disabled':_0x1d72df[_0x42333c(0x2d4)],'onClick':_0x1d72df[_0x42333c(0x3de)],'onMouseDown':_0x1d72df['onMouseDown'],'onPointerDown':_0x1d72df[_0x42333c(0x448)],'className':(0x0,e[_0x42333c(0x13a)])('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',(_0x5ed416=_0x1d72df[_0x42333c(0x2f5)])==null?_0x42333c(0x2f0):_0x5ed416,_0x1d72df[_0x42333c(0x527)],{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x1d72df[_0x42333c(0x38b)]}),'children':_0x1d72df[_0x42333c(0x72c)]})});}function Ne(_0x180fc8){const _0x3f4f12=_0x13379c;var _0xc39511;return(0x0,r[_0x3f4f12(0x462)])(Me,{'title':_0x180fc8[_0x3f4f12(0x621)],'titleKey':_0x180fc8[_0x3f4f12(0x7ab)],'active':_0x180fc8['active'],'tooltipVisible':_0x180fc8[_0x3f4f12(0x38b)]?!0x1:void 0x0,'ariaExpanded':_0x180fc8[_0x3f4f12(0x38b)],'className':_0x180fc8['className'],'sizeClassName':(_0xc39511=_0x180fc8[_0x3f4f12(0x2f5)])==null?_0x3f4f12(0x2e6):_0xc39511,'onMouseDown':_0x180fc8[_0x3f4f12(0x334)],'onPointerDown':_0x180fc8[_0x3f4f12(0x448)],'children':[_0x180fc8[_0x3f4f12(0x40f)],(0x0,r[_0x3f4f12(0x6f1)])(t['MoreDownIcon'],{'className':_0x3f4f12(0x300)})]});}function Pe(_0xa6fa25){const _0x56ef15=_0x13379c;let _0x32243b=s[_0x56ef15(0x2e3)][_0x56ef15(0x270)](_0x8681b4=>({'label':_0x8681b4[_0x56ef15(0x6ab)],'value':String(_0x8681b4[_0x56ef15(0x6ea)])}));return(0x0,r[_0x56ef15(0x6f1)])(e[_0x56ef15(0x4ec)],{'className':(0x0,e['clsx'])(_0x56ef15(0x41a),_0xa6fa25[_0x56ef15(0x527)]),'value':String(_0xa6fa25[_0x56ef15(0x6ea)]),'options':_0x32243b,'onChange':_0x1cef4f=>{const _0x2c96eb=_0x56ef15;var _0x547b74;let _0x2f1985=Number(_0x1cef4f);Number[_0x2c96eb(0x7b2)](_0x2f1985)||_0xa6fa25[_0x2c96eb(0x778)](_0x2f1985),(_0x547b74=_0xa6fa25['onAfterChange'])==null||_0x547b74[_0x2c96eb(0x484)](_0xa6fa25);}});}function Fe(_0x46c0a9){const _0x264bb1=_0x13379c;let {title:_0x2698ee,open:_0x272bbf,disabled:_0x4474a9,icon:_0x1d08f0,overlay:_0x34c5ac,popoverClassName:_0x161364,onApply:_0x1b440d,onOpenChange:_0x49d78f}=_0x46c0a9,_0x361baa=_0x264bb1(0x2dc);return(0x0,r[_0x264bb1(0x462)])(_0x264bb1(0x58a),{'className':_0x264bb1(0x554),'children':[(0x0,r[_0x264bb1(0x6f1)])(e[_0x264bb1(0x4cd)],{'title':_0x2698ee,'placement':_0x264bb1(0x392),'visible':_0x272bbf?!0x1:void 0x0,'children':(0x0,r[_0x264bb1(0x6f1)])(_0x264bb1(0x7d2),{'type':_0x264bb1(0x7d2),'aria-label':_0x2698ee,'disabled':_0x4474a9,'onClick':_0x1b440d,'className':(0x0,e[_0x264bb1(0x13a)])(_0x361baa,'univer-w-7\x20univer-rounded-l-md\x20univer-rounded-r-none\x20rtl:univer-rounded-l-none\x20rtl:univer-rounded-r-md',{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x272bbf}),'children':_0x1d08f0})}),(0x0,r[_0x264bb1(0x6f1)])(e[_0x264bb1(0x7db)],{'disabled':_0x4474a9,'open':_0x272bbf,'className':_0x161364,'onOpenChange':_0x49d78f,'overlay':_0x34c5ac,'children':(0x0,r[_0x264bb1(0x6f1)])('span',{'children':(0x0,r[_0x264bb1(0x6f1)])(e['Tooltip'],{'title':_0x2698ee,'placement':'bottom','visible':_0x272bbf?!0x1:void 0x0,'children':(0x0,r[_0x264bb1(0x6f1)])('button',{'type':_0x264bb1(0x7d2),'aria-label':_0x2698ee,'disabled':_0x4474a9,'className':(0x0,e[_0x264bb1(0x13a)])(_0x361baa,_0x264bb1(0x158),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x272bbf}),'children':(0x0,r[_0x264bb1(0x6f1)])(t[_0x264bb1(0x69e)],{'className':(0x0,e['clsx'])('univer-text-xs\x20univer-text-gray-600\x20univer-transition-transform\x20dark:!univer-text-gray-300',{'univer-rotate-180':_0x272bbf})})})})})})]});}function Ie(_0x4a06a0){const _0x1d6f92=_0x13379c;switch(_0x4a06a0){case C[_0x1d6f92(0x2aa)]['RoundDot']:case C['ShapeLineDashEnum'][_0x1d6f92(0x454)]:return _0x1d6f92(0x1e7);case C['ShapeLineDashEnum']['Dash']:return _0x1d6f92(0x152);case C['ShapeLineDashEnum'][_0x1d6f92(0x4c1)]:return _0x1d6f92(0x148);case C[_0x1d6f92(0x2aa)][_0x1d6f92(0x16c)]:return _0x1d6f92(0x71c);case C[_0x1d6f92(0x2aa)][_0x1d6f92(0x336)]:return'8\x202\x201\x202';case C[_0x1d6f92(0x2aa)]['LongDashDotDot']:return _0x1d6f92(0x236);case C[_0x1d6f92(0x2aa)][_0x1d6f92(0x37d)]:default:return;}}function Le(_0x1f8c40){const _0x552f11=_0x13379c;let {lineStrokeType:_0x5c9708,dashType:_0x7432fd,color:_0x1c96ec=_0x552f11(0x81f),width:_0x19dba7=0x2,className:_0x20c803}=_0x1f8c40;return _0x5c9708===C[_0x552f11(0x38c)][_0x552f11(0x642)]?(0x0,r['jsxs'])(_0x552f11(0x77e),{'className':(0x0,e[_0x552f11(0x13a)])('univer-relative\x20univer-flex\x20univer-h-5\x20univer-w-10\x20univer-items-center\x20univer-justify-center',_0x20c803),'children':[(0x0,r['jsx'])(_0x552f11(0x77e),{'className':_0x552f11(0x15f)}),(0x0,r[_0x552f11(0x6f1)])(_0x552f11(0x77e),{'className':_0x552f11(0x2cd)})]}):(0x0,r[_0x552f11(0x6f1)])(_0x552f11(0x4ad),{'className':(0x0,e['clsx'])(_0x552f11(0x4e7),_0x20c803),'viewBox':_0x552f11(0x7c2),'aria-hidden':'true','children':(0x0,r[_0x552f11(0x6f1)])(_0x552f11(0x55a),{'x1':'4','y1':'10','x2':'44','y2':'10','stroke':_0x1c96ec,'strokeWidth':Math[_0x552f11(0x16d)](0x1,Math[_0x552f11(0x289)](0x4,_0x19dba7)),'strokeDasharray':Ie(_0x7432fd),'strokeLinecap':_0x7432fd===C['ShapeLineDashEnum']['RoundDot']?_0x552f11(0x250):'butt'})});}function Re(_0x33c02f){const _0x285cb1=_0x13379c;return(0x0,r[_0x285cb1(0x6f1)])(_0x285cb1(0x77e),{'className':_0x285cb1(0x631),'children':(0x0,r['jsx'])(Le,{'dashType':_0x33c02f['dashType'],'color':_0x33c02f[_0x285cb1(0x56c)],'width':_0x33c02f[_0x285cb1(0x23d)]})});}const ze=[_0x13379c(0x53d),_0x13379c(0x3bc),_0x13379c(0x7b8)],Be={'min':0x1,'max':0xa,'step':0x1};function Ve(_0x36900c,_0x2d3d03,_0x4875a2){return{'nextShapeData':{'stroke':{..._0x36900c,..._0x2d3d03,..._0x4875a2}},'patch':{'stroke':_0x4875a2}};}function He(_0x5efcd1){const _0x57c1b3=_0x13379c;let {labelKey:_0x40f2a2,value:_0x5e957b,min:_0x5d4dce,max:_0x18a5fb,step:_0x4dda40,disabled:_0x9b9767,suffix:_0x7c2ccc='',onChange:_0x59e265}=_0x5efcd1;return(0x0,r[_0x57c1b3(0x462)])(_0x57c1b3(0x58a),{'className':_0x57c1b3(0x297),'children':[(0x0,r['jsxs'])(_0x57c1b3(0x58a),{'className':_0x57c1b3(0x1ee),'children':[(0x0,r[_0x57c1b3(0x6f1)])(_0x57c1b3(0x77e),{'className':_0x57c1b3(0x1ab),'children':(0x0,s['useDependency'])(o['LocaleService'])['t'](_0x40f2a2)}),(0x0,r[_0x57c1b3(0x462)])('span',{'className':_0x57c1b3(0x535),'children':[_0x5e957b,_0x7c2ccc]})]}),(0x0,r[_0x57c1b3(0x6f1)])(_0x57c1b3(0x80f),{'type':_0x57c1b3(0x2e9),'min':_0x5d4dce,'max':_0x18a5fb,'step':_0x4dda40,'value':_0x5e957b,'disabled':_0x9b9767,'onChange':_0x1b783c=>_0x59e265(Number(_0x1b783c['target']['value'])),'className':'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'})]});}function Ue(_0x3542c8){const _0x441762=_0x13379c;var _0x45d1e4,_0x194b01,_0x3ba29f,_0x14de9c,_0x2898ba;let {titleKey:_0x38c76b,shapeData:_0x2f69a0,disabled:_0x2f6022,resetLabelKey:_0x33e4dc=_0x441762(0x62f),modeOptions:_0x247645=ze,showDashDropdown:_0x1103c8=!0x0,fallbackColor:_0x57cbe8=Se,widthRange:_0x1cb1f7=Be,onReset:_0x3821de,onRequestClose:_0x393930,onUpdateShapeData:_0x4ce043}=_0x3542c8,_0x595ad1=(0x0,s['useDependency'])(o[_0x441762(0x80e)]),_0x24d0a1=_0x595ad1['t'](_0x38c76b),_0x188266=(0x0,s[_0x441762(0x506)])(_0x595ad1[_0x441762(0x21f)],_0x595ad1['getDirection']()),[_0x35808f,_0x12ba2b]=(0x0,n[_0x441762(0x659)])(!0x1),[_0x197871,_0x24f880]=(0x0,n[_0x441762(0x659)])(!0x1),_0x297767=_0x2f69a0[_0x441762(0x7f7)],_0x4fe3fb=(_0x45d1e4=_0x297767==null?void 0x0:_0x297767[_0x441762(0x56c)])==null?_0x57cbe8:_0x45d1e4,_0x3ca659=Math[_0x441762(0x16d)](_0x1cb1f7[_0x441762(0x289)],Math['min'](_0x1cb1f7[_0x441762(0x16d)],Math[_0x441762(0x250)]((_0x194b01=_0x297767==null?void 0x0:_0x297767['width'])==null?C[_0x441762(0x368)]['strokeWidth']:_0x194b01))),_0x1dc75f=Math[_0x441762(0x250)]((0x1-((_0x3ba29f=_0x297767==null?void 0x0:_0x297767[_0x441762(0x35e)])==null?C[_0x441762(0x368)][_0x441762(0x634)]:_0x3ba29f))*0x64),_0x2f4514=(_0x14de9c=_0x297767==null?void 0x0:_0x297767[_0x441762(0x233)])==null?C[_0x441762(0x368)][_0x441762(0x720)]:_0x14de9c,_0x6b89de=(_0x2898ba=_0x297767==null?void 0x0:_0x297767[_0x441762(0x45c)])==null?C[_0x441762(0x368)][_0x441762(0x73c)]:_0x2898ba,_0x199b45=_0x6b89de!==C['ShapeLineTypeEnum'][_0x441762(0x642)]&&_0x2f4514!==C['ShapeLineDashEnum'][_0x441762(0x37d)]&&_0x2f4514!==C['ShapeLineDashEnum'][_0x441762(0x5cd)],_0x3b5b67=_0x6b89de===C['ShapeLineTypeEnum'][_0x441762(0x642)]?'none':_0x2f4514===C['ShapeLineDashEnum'][_0x441762(0x37d)]?_0x441762(0x3bc):_0x2f4514===C[_0x441762(0x2aa)][_0x441762(0x2c0)]||_0x2f4514===C['ShapeLineDashEnum'][_0x441762(0x454)]?_0x441762(0x50d):_0x2f4514===C[_0x441762(0x2aa)][_0x441762(0x5cd)]?_0x441762(0x7b8):'custom',_0x1f408f=[{'label':(0x0,r['jsx'])(Re,{'dashType':C['ShapeLineDashEnum'][_0x441762(0x37d)],'color':_0x4fe3fb,'width':_0x3ca659}),'value':String(C[_0x441762(0x2aa)]['Solid'])},{'label':(0x0,r[_0x441762(0x6f1)])(Re,{'dashType':C['ShapeLineDashEnum']['RoundDot'],'color':_0x4fe3fb,'width':_0x3ca659}),'value':String(C[_0x441762(0x2aa)][_0x441762(0x2c0)])},{'label':(0x0,r[_0x441762(0x6f1)])(Re,{'dashType':C[_0x441762(0x2aa)][_0x441762(0x454)],'color':_0x4fe3fb,'width':_0x3ca659}),'value':String(C[_0x441762(0x2aa)][_0x441762(0x454)])},{'label':(0x0,r['jsx'])(Re,{'dashType':C[_0x441762(0x2aa)][_0x441762(0x5cd)],'color':_0x4fe3fb,'width':_0x3ca659}),'value':String(C['ShapeLineDashEnum']['Dash'])},{'label':(0x0,r[_0x441762(0x6f1)])(Re,{'dashType':C[_0x441762(0x2aa)][_0x441762(0x4c1)],'color':_0x4fe3fb,'width':_0x3ca659}),'value':String(C[_0x441762(0x2aa)][_0x441762(0x4c1)])},{'label':(0x0,r[_0x441762(0x6f1)])(Re,{'dashType':C[_0x441762(0x2aa)][_0x441762(0x16c)],'color':_0x4fe3fb,'width':_0x3ca659}),'value':String(C[_0x441762(0x2aa)][_0x441762(0x16c)])},{'label':(0x0,r[_0x441762(0x6f1)])(Re,{'dashType':C[_0x441762(0x2aa)][_0x441762(0x336)],'color':_0x4fe3fb,'width':_0x3ca659}),'value':String(C['ShapeLineDashEnum']['LongDashDot'])},{'label':(0x0,r[_0x441762(0x6f1)])(Re,{'dashType':C['ShapeLineDashEnum'][_0x441762(0x35c)],'color':_0x4fe3fb,'width':_0x3ca659}),'value':String(C[_0x441762(0x2aa)]['LongDashDotDot'])}],_0x4f8845={'none':_0x595ad1['t'](_0x441762(0x39a)),'solid':_0x595ad1['t'](_0x441762(0x74a)),'dash':_0x595ad1['t']('shape-editor-ui.line.dashType.dash'),'dot':_0x595ad1['t'](_0x441762(0x2eb))};(0x0,n['useEffect'])(()=>{const _0xba50e1=_0x441762;_0x6b89de===C['ShapeLineTypeEnum'][_0xba50e1(0x642)]&&_0x12ba2b(!0x1);},[_0x6b89de]);let _0x386756=_0x2ce8e7=>{const _0x17bb19=_0x441762;var _0x2b9fa2;let _0x194de5=Ve(_0x2f69a0[_0x17bb19(0x7f7)],{'lineStrokeType':_0x6b89de,'color':_0x4fe3fb,'width':_0x3ca659,'opacity':(_0x2b9fa2=_0x297767==null?void 0x0:_0x297767[_0x17bb19(0x35e)])==null?C['ShapeDefaultConfig'][_0x17bb19(0x634)]:_0x2b9fa2,'dashType':_0x2f4514},_0x2ce8e7);_0x4ce043({'oldShapeData':{'stroke':_0x2f69a0[_0x17bb19(0x7f7)]}},_0x194de5[_0x17bb19(0x7d8)],_0x194de5[_0x17bb19(0x708)]);},_0x517a69=_0x33c960=>{const _0x23be52=_0x441762;if(_0x33c960===_0x23be52(0x53d)){_0x386756({'lineStrokeType':C[_0x23be52(0x38c)]['NoLine']});return;}_0x386756({'lineStrokeType':C['ShapeLineTypeEnum']['SolidLine'],'dashType':_0x33c960===_0x23be52(0x3bc)?C[_0x23be52(0x2aa)][_0x23be52(0x37d)]:_0x33c960===_0x23be52(0x50d)?C[_0x23be52(0x2aa)][_0x23be52(0x2c0)]:C[_0x23be52(0x2aa)][_0x23be52(0x5cd)]});};return(0x0,r[_0x441762(0x6f1)])('div',{'dir':_0x188266,'onPointerDown':$,'onPointerMove':()=>_0x24f880(!0x0),'onMouseDown':$,'onClick':_0x50e973=>{const _0x493efd=_0x441762;_0x50e973[_0x493efd(0x6f5)](),(!(_0x50e973[_0x493efd(0x311)]instanceof HTMLElement)||!_0x50e973[_0x493efd(0x311)][_0x493efd(0x2af)](_0x493efd(0x6d1)))&&_0x12ba2b(!0x1);},'className':(0x0,e[_0x441762(0x13a)])(_0x441762(0x781),_0x441762(0x5e3)),'children':(0x0,r[_0x441762(0x462)])('div',{'className':_0x441762(0x371),'children':[(0x0,r[_0x441762(0x6f1)])(_0x441762(0x77e),{'className':_0x441762(0x47a),'children':_0x24d0a1}),(0x0,r[_0x441762(0x462)])(_0x441762(0x58a),{'className':(0x0,e['clsx'])(_0x441762(0x6b3),_0x1103c8&&_0x247645[_0x441762(0x62b)](_0x441762(0x7b8))?_0x441762(0x20c):_0x441762(0x3dc)),'children':[_0x247645[_0x441762(0x270)](_0x58f4cc=>(0x0,r[_0x441762(0x6f1)])(e[_0x441762(0x4cd)],{'title':_0x4f8845[_0x58f4cc],'placement':_0x441762(0x332),'visible':_0x197871?void 0x0:!0x1,'children':(0x0,r['jsx'])('button',{'type':_0x441762(0x7d2),'disabled':_0x2f6022,'aria-label':_0x4f8845[_0x58f4cc],'onClick':()=>_0x517a69(_0x58f4cc),'className':(0x0,e[_0x441762(0x13a)])(_0x441762(0x643),{'univer-border-primary-600\x20univer-bg-primary-50\x20dark:!univer-bg-gray-800':_0x3b5b67===_0x58f4cc}),'children':(0x0,r[_0x441762(0x6f1)])(Le,{'lineStrokeType':_0x58f4cc===_0x441762(0x53d)?C['ShapeLineTypeEnum'][_0x441762(0x642)]:C[_0x441762(0x38c)][_0x441762(0x514)],'dashType':_0x58f4cc===_0x441762(0x7b8)?C[_0x441762(0x2aa)]['Dash']:_0x58f4cc===_0x441762(0x50d)?C[_0x441762(0x2aa)][_0x441762(0x2c0)]:C['ShapeLineDashEnum'][_0x441762(0x37d)],'color':_0x58f4cc===_0x441762(0x53d)?void 0x0:_0x4fe3fb,'width':_0x58f4cc===_0x441762(0x53d)?0x2:_0x3ca659})})},_0x58f4cc)),_0x1103c8&&_0x247645[_0x441762(0x62b)]('dash')&&(0x0,r[_0x441762(0x6f1)])(e['Dropdown'],{'disabled':_0x2f6022||_0x6b89de===C[_0x441762(0x38c)][_0x441762(0x642)],'open':_0x35808f,'onOpenChange':_0x12ba2b,'overlay':(0x0,r[_0x441762(0x6f1)])('div',{'dir':_0x188266,'data-u-comp':_0x441762(0x23a),'onPointerDown':$,'onMouseDown':$,'onClick':_0x301db2=>_0x301db2[_0x441762(0x6f5)](),'className':_0x441762(0x53c),'children':_0x1f408f[_0x441762(0x270)](_0x516d16=>(0x0,r[_0x441762(0x6f1)])(_0x441762(0x7d2),{'type':'button','onClick':()=>{const _0x1ddb26=_0x441762;let _0x3c50d5=Number(_0x516d16[_0x1ddb26(0x6ea)]);_0x386756({'lineStrokeType':C[_0x1ddb26(0x38c)][_0x1ddb26(0x514)],'dashType':_0x3c50d5}),_0x12ba2b(!0x1);},'className':(0x0,e[_0x441762(0x13a)])('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':_0x516d16['value']===String(_0x2f4514)}),'children':_0x516d16[_0x441762(0x6ab)]},_0x516d16['value']))}),'children':(0x0,r['jsx'])(_0x441762(0x77e),{'className':'univer-block\x20univer-w-full','data-u-comp':'shape-stroke-dash-dropdown','children':(0x0,r[_0x441762(0x6f1)])(e[_0x441762(0x4cd)],{'title':_0x595ad1['t']('shape-editor-ui.line.dashType.dash'),'placement':_0x441762(0x332),'visible':_0x197871?void 0x0:!0x1,'children':(0x0,r['jsxs'])(_0x441762(0x7d2),{'type':_0x441762(0x7d2),'role':_0x441762(0x33e),'aria-expanded':_0x35808f,'disabled':_0x2f6022||_0x6b89de===C[_0x441762(0x38c)][_0x441762(0x642)],'onClick':_0x2cbc5a=>{_0x2cbc5a['stopPropagation'](),_0x12ba2b(_0xc64123=>!_0xc64123);},'className':(0x0,e['clsx'])(_0x441762(0x518),{'univer-border-primary-600\x20univer-bg-primary-50\x20dark:!univer-bg-gray-800':_0x199b45}),'children':[(0x0,r[_0x441762(0x6f1)])(Le,{'dashType':C[_0x441762(0x2aa)][_0x441762(0x336)],'color':_0x4fe3fb,'width':_0x3ca659,'className':'univer-w-12'}),(0x0,r['jsx'])(t[_0x441762(0x69e)],{'className':(0x0,e[_0x441762(0x13a)])(_0x441762(0x531),{'univer-rotate-180':_0x35808f})})]})})})})]}),(0x0,r['jsx'])(He,{'labelKey':'shape-editor-ui.line.width','value':_0x3ca659,'min':_0x1cb1f7[_0x441762(0x289)],'max':_0x1cb1f7['max'],'step':_0x1cb1f7['step'],'disabled':_0x2f6022||_0x6b89de===C['ShapeLineTypeEnum']['NoLine'],'onChange':_0x13fdd2=>{const _0x118782=_0x441762;_0x386756({'lineStrokeType':C[_0x118782(0x38c)][_0x118782(0x514)],'width':_0x13fdd2});}}),(0x0,r['jsx'])(e[_0x441762(0x16e)],{}),_0x3821de&&(0x0,r[_0x441762(0x6f1)])(_0x441762(0x7d2),{'type':_0x441762(0x7d2),'disabled':_0x2f6022,'onClick':()=>{_0x3821de(),_0x393930==null||_0x393930();},'className':_0x441762(0x481),'children':_0x595ad1['t'](_0x33e4dc)}),(0x0,r[_0x441762(0x6f1)])(e[_0x441762(0x369)],{'value':_0x4fe3fb,'onChange':_0x2d3726=>{const _0x694094=_0x441762;_0x386756({'lineStrokeType':C[_0x694094(0x38c)][_0x694094(0x514)],'color':_0x2d3726});}}),(0x0,r[_0x441762(0x6f1)])(He,{'labelKey':_0x441762(0x139),'value':_0x1dc75f,'min':0x0,'max':0x64,'step':0x5,'suffix':'%','disabled':_0x2f6022||_0x6b89de===C['ShapeLineTypeEnum'][_0x441762(0x642)],'onChange':_0x3729d8=>{const _0x47de32=_0x441762;_0x386756({'opacity':(0x64-Math[_0x47de32(0x16d)](0x0,Math['min'](0x64,_0x3729d8)))/0x64});}})]})});}function We(_0x5e9602){const _0x42b0d8=_0x13379c;var _0x427be4;let {titleKey:_0x61f7e3,shapeData:_0x456126,open:_0x308c1d,disabled:_0x2fc9b9,resetLabelKey:_0x2f117d,fallbackColor:_0x570578=Se,onReset:_0x209fe7,onOpenChange:_0x2b9525,onUpdateShapeData:_0x22d8b0}=_0x5e9602,_0x114136=(0x0,s['useDependency'])(o['LocaleService'])['t'](_0x61f7e3),[_0x4b9177,_0x34022b]=(0x0,n[_0x42b0d8(0x659)])(!0x1),_0xe3eb43=_0x308c1d==null?_0x4b9177:_0x308c1d,_0x478026=_0x2b9525==null?_0x34022b:_0x2b9525,{handleOpenChange:_0x5bfa04,markInternalInteraction:_0x5d65fe}=Oe(_0x478026),_0x11e58a=_0x456126[_0x42b0d8(0x7f7)],_0x5c4388=(_0x427be4=_0x11e58a==null?void 0x0:_0x11e58a['color'])==null?_0x570578:_0x427be4;return(0x0,r[_0x42b0d8(0x6f1)])(e[_0x42b0d8(0x7db)],{'disabled':_0x2fc9b9,'open':_0xe3eb43,'onOpenChange':_0x5bfa04,'overlay':(0x0,r[_0x42b0d8(0x6f1)])(_0x42b0d8(0x58a),{'onPointerDownCapture':_0x5d632a=>{_0x5d65fe(),De(_0x5d632a);},'onMouseDownCapture':_0xd38694=>{_0x5d65fe(),De(_0xd38694);},'children':(0x0,r[_0x42b0d8(0x6f1)])(Ue,{'titleKey':_0x61f7e3,'shapeData':_0x456126,'disabled':_0x2fc9b9,'resetLabelKey':_0x2f117d,'fallbackColor':_0x570578,'onReset':_0x209fe7,'onRequestClose':()=>_0x478026(!0x1),'onUpdateShapeData':_0x22d8b0})}),'children':(0x0,r[_0x42b0d8(0x6f1)])(_0x42b0d8(0x77e),{'children':(0x0,r[_0x42b0d8(0x6f1)])(e[_0x42b0d8(0x4cd)],{'title':_0x114136,'placement':_0x42b0d8(0x392),'visible':_0xe3eb43?!0x1:void 0x0,'children':(0x0,r['jsxs'])(_0x42b0d8(0x7d2),{'type':'button','aria-label':_0x114136,'disabled':_0x2fc9b9,'className':(0x0,e[_0x42b0d8(0x13a)])('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':_0xe3eb43}),'children':[(0x0,r[_0x42b0d8(0x6f1)])(t[_0x42b0d8(0x6dc)],{'className':_0x42b0d8(0x444),'extend':{'colorChannel1':_0x5c4388}}),(0x0,r['jsx'])(t[_0x42b0d8(0x69e)],{'className':(0x0,e['clsx'])(_0x42b0d8(0x531),{'univer-rotate-180':_0xe3eb43})})]})})})});}function Ge(_0x460703){const _0x331f7a=_0x13379c;var _0x3a9d52,_0x32b12f;return(_0x3a9d52=(_0x32b12f=_0x460703[_0x331f7a(0x234)])==null?void 0x0:_0x32b12f[_0x331f7a(0x219)])==null?C['ShapeDefaultConfig'][_0x331f7a(0x219)]:_0x3a9d52;}function Ke(_0x419de1){const _0x4a0418=_0x13379c;switch(_0x419de1){case C[_0x4a0418(0x7e9)][_0x4a0418(0x11f)]:return _0x4a0418(0x48d);case C[_0x4a0418(0x7e9)][_0x4a0418(0x446)]:return'angular';case C[_0x4a0418(0x7e9)]['Diamond']:return _0x4a0418(0x6ce);case C[_0x4a0418(0x7e9)][_0x4a0418(0x34c)]:default:return _0x4a0418(0x824);}}function qe(_0x413d0a){const _0x3a85f2=_0x13379c;switch(_0x413d0a){case _0x3a85f2(0x48d):return C[_0x3a85f2(0x7e9)][_0x3a85f2(0x11f)];case'angular':return C[_0x3a85f2(0x7e9)][_0x3a85f2(0x446)];case _0x3a85f2(0x6ce):return C[_0x3a85f2(0x7e9)]['Diamond'];default:return C[_0x3a85f2(0x7e9)][_0x3a85f2(0x34c)];}}function Je(_0x412d40,_0x1d42d1,_0x3d15e7){const _0x56f04e=_0x13379c;var _0x422431,_0x51ee16;let _0xd368b2=_0x412d40[_0x56f04e(0x234)];return{'type':Ke((_0x422431=_0xd368b2==null?void 0x0:_0xd368b2['gradientType'])==null?C[_0x56f04e(0x368)][_0x56f04e(0x546)]:_0x422431),'angle':(_0x51ee16=_0xd368b2==null?void 0x0:_0xd368b2['gradientAngle'])==null?C[_0x56f04e(0x368)]['gradientAngle']:_0x51ee16,'stops':_0xd368b2!=null&&_0xd368b2[_0x56f04e(0x648)]&&_0xd368b2[_0x56f04e(0x648)]['length']>=0x2?_0xd368b2[_0x56f04e(0x648)][_0x56f04e(0x270)](_0x32f74c=>({'color':_0x32f74c[_0x56f04e(0x56c)],'offset':_0x32f74c[_0x56f04e(0x697)]*0x64,'opacity':_0x32f74c[_0x56f04e(0x35e)]})):[{'color':_0x1d42d1,'offset':0x0},{'color':_0x3d15e7,'offset':0x64}]};}function Ye(_0x27764a){const _0x1bd8ed=_0x13379c;var _0x553d29,_0x4b77c5,_0xff001f;let {shapeData:_0x7d9a0d,disabled:_0x56ab14,onUpdateShapeData:_0x233953}=_0x27764a,_0x2985b1=(0x0,s[_0x1bd8ed(0x24f)])(o[_0x1bd8ed(0x80e)]),_0x51678d=(0x0,s[_0x1bd8ed(0x24f)])(o['IContextService']),_0x583795=(0x0,s[_0x1bd8ed(0x24f)])(o['IImageIoService']),_0x56eada=(0x0,n[_0x1bd8ed(0x216)])(null),_0x1d01a6=_0x7d9a0d['fill'],_0x32d1a8=(_0x553d29=(_0x4b77c5=_0x1d01a6==null?void 0x0:_0x1d01a6[_0x1bd8ed(0x46a)])==null?_0x1d01a6==null?void 0x0:_0x1d01a6[_0x1bd8ed(0x35e)]:_0x4b77c5)==null?0x1:_0x553d29,_0x577a7e=Math[_0x1bd8ed(0x250)]((0x1-_0x32d1a8)*0x64),_0x2cee78=_0x1d01a6!=null&&_0x1d01a6['fillImageSource']&&/^(?:data:|https?:)/[_0x1bd8ed(0x14d)](_0x1d01a6[_0x1bd8ed(0x3c6)])?_0x1d01a6[_0x1bd8ed(0x3c6)]:void 0x0,_0x2b1b7c=_0x2ce08f=>{const _0x3b1701=_0x1bd8ed;var _0x501415;_0x233953({'oldShapeData':{'fill':_0x1d01a6?{..._0x1d01a6}:void 0x0}},{'fill':{..._0x1d01a6,'fillType':C[_0x3b1701(0x556)][_0x3b1701(0x682)],'imageFillMode':(_0x501415=_0x1d01a6==null?void 0x0:_0x1d01a6[_0x3b1701(0x532)])==null?C['ImageFillModeEnum'][_0x3b1701(0x1af)]:_0x501415,..._0x2ce08f}},{'fill':_0x2ce08f});};return(0x0,r['jsxs'])(_0x1bd8ed(0x58a),{'className':_0x1bd8ed(0x3a6),'children':[(0x0,r[_0x1bd8ed(0x462)])(_0x1bd8ed(0x58a),{'className':_0x1bd8ed(0x1ee),'children':[(0x0,r[_0x1bd8ed(0x6f1)])(_0x1bd8ed(0x77e),{'className':_0x1bd8ed(0x571),'children':_0x2985b1['t'](_0x1bd8ed(0x774))}),(0x0,r[_0x1bd8ed(0x6f1)])(_0x1bd8ed(0x80f),{'ref':_0x56eada,'type':_0x1bd8ed(0x461),'accept':_0x1bd8ed(0x6a9),'className':_0x1bd8ed(0x6b8),'onChange':async _0x6e2f2=>{const _0x31e1e8=_0x1bd8ed;var _0x9a9f44;let _0x4863b7=(_0x9a9f44=_0x6e2f2[_0x31e1e8(0x311)][_0x31e1e8(0x6c9)])==null?void 0x0:_0x9a9f44[0x0];if(!_0x4863b7)return;_0x6e2f2[_0x31e1e8(0x311)][_0x31e1e8(0x6ea)]='';let _0x5f29b1=await _0x583795[_0x31e1e8(0x7e5)](_0x4863b7);if(_0x5f29b1==null)return;let {imageSourceType:_0xd8faf6,source:_0x14e0c4,base64Cache:_0x252b79}=_0x5f29b1,{image:_0x5f683e}=await(0x0,S[_0x31e1e8(0x27e)])(_0x252b79||'');_0x583795['addImageSourceCache'](_0x14e0c4,_0xd8faf6,_0x5f683e),_0x2b1b7c({'fillImageSource':_0x14e0c4,'fillImageSourceType':_0xd8faf6,'imageOpacity':_0x32d1a8});}}),(0x0,r[_0x1bd8ed(0x6f1)])(_0x1bd8ed(0x7d2),{'type':_0x1bd8ed(0x7d2),'disabled':_0x56ab14,'onClick':()=>{const _0x123d85=_0x1bd8ed;var _0x533871;return(_0x533871=_0x56eada[_0x123d85(0x5ec)])==null?void 0x0:_0x533871['click']();},'className':_0x1bd8ed(0x5b2),'children':_0x2985b1['t']('shape-editor-ui.fill.picture.insert')})]}),_0x2cee78&&(0x0,r[_0x1bd8ed(0x6f1)])(_0x1bd8ed(0x1f8),{'src':_0x2cee78,'alt':'','className':_0x1bd8ed(0x526)}),(0x0,r[_0x1bd8ed(0x462)])(_0x1bd8ed(0x58a),{'className':_0x1bd8ed(0x1ee),'children':[(0x0,r[_0x1bd8ed(0x6f1)])(_0x1bd8ed(0x77e),{'className':_0x1bd8ed(0x571),'children':_0x2985b1['t'](_0x1bd8ed(0x791))}),(0x0,r['jsx'])(_0x1bd8ed(0x58a),{'className':'univer-w-20','children':(0x0,r[_0x1bd8ed(0x6f1)])(e[_0x1bd8ed(0x528)],{'className':_0x1bd8ed(0x60a),'value':_0x577a7e,'disabled':_0x56ab14,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x46ca52=>_0x46ca52+'%','parser':_0x32e68a=>(_0x32e68a==null?void 0x0:_0x32e68a[_0x1bd8ed(0x5e2)]('%',''))||'','onChange':_0x1093e0=>{const _0x5fc008=_0x1bd8ed;_0x2b1b7c({'imageOpacity':(0x64-Math[_0x5fc008(0x16d)](0x0,Math[_0x5fc008(0x289)](0x64,_0x1093e0==null?0x0:_0x1093e0)))/0x64}),_0x51678d[_0x5fc008(0x560)](o['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x51678d[_0x1bd8ed(0x560)](o[_0x1bd8ed(0x4d0)],!0x0),'onBlur':()=>_0x51678d[_0x1bd8ed(0x560)](o[_0x1bd8ed(0x4d0)],!0x1)})})]}),(0x0,r[_0x1bd8ed(0x6f1)])(e['Checkbox'],{'checked':(_0xff001f=_0x1d01a6==null?void 0x0:_0x1d01a6[_0x1bd8ed(0x732)])==null?!0x1:_0xff001f,'disabled':_0x56ab14,'onChange':_0x40150f=>{_0x2b1b7c({'imageRotateWithShape':_0x40150f});},'children':(0x0,r[_0x1bd8ed(0x6f1)])(_0x1bd8ed(0x77e),{'className':_0x1bd8ed(0x300),'children':_0x2985b1['t'](_0x1bd8ed(0x5c9))})})]});}function Xe(_0x5d5c88){const _0xbf9e92=_0x13379c;var _0x4ba6b2,_0x56c8ca;let {titleKey:_0x58c00a,shapeData:_0x48443b,open:_0x15c4f2,disabled:_0x22f469,fallbackColor:_0x40680c=xe,fallbackGradientEndColor:_0x1a0ea8=_0xbf9e92(0x169),onOpenChange:_0x2a2e6f,onUpdateShapeData:_0x39b4fd}=_0x5d5c88,_0x2a7eff=(0x0,s[_0xbf9e92(0x24f)])(o[_0xbf9e92(0x80e)]),_0x46e512=_0x2a7eff['t'](_0x58c00a),[_0x32bd2f,_0x4579e9]=(0x0,n[_0xbf9e92(0x659)])(!0x1),_0x3928af=_0x15c4f2==null?_0x32bd2f:_0x15c4f2,{handleOpenChange:_0x417ccb,markInternalInteraction:_0x2f3942}=Oe(_0x2a2e6f==null?_0x4579e9:_0x2a2e6f),_0x5e10ee=_0x48443b[_0xbf9e92(0x234)],_0x5b5d38=Ge(_0x48443b),_0x109c83=(_0x4ba6b2=_0x5e10ee==null?void 0x0:_0x5e10ee[_0xbf9e92(0x56c)])==null?_0x40680c:_0x4ba6b2,_0x2a52b6=(_0x5eddc3,_0x56deb0)=>{_0x39b4fd({'oldShapeData':{'fill':_0x5e10ee?{..._0x5e10ee}:void 0x0}},{'fill':_0x5eddc3},{'fill':_0x56deb0});},_0x9e0f51=()=>{const _0x41ca74=_0xbf9e92;let _0x4c1f04=Je(_0x48443b,_0x109c83,_0x1a0ea8);return{..._0x5e10ee,'fillType':C['ShapeFillEnum'][_0x41ca74(0x51c)],'color':_0x109c83,'gradientType':qe(_0x4c1f04[_0x41ca74(0x1e6)]),'gradientAngle':_0x4c1f04[_0x41ca74(0x1c1)],'gradientStops':_0x4c1f04[_0x41ca74(0x375)][_0x41ca74(0x270)](_0x2f50d5=>({'position':_0x2f50d5[_0x41ca74(0x680)]/0x64,'color':_0x2f50d5['color'],'opacity':_0x2f50d5[_0x41ca74(0x35e)]}))};};return(0x0,r[_0xbf9e92(0x6f1)])(e[_0xbf9e92(0x7db)],{'disabled':_0x22f469,'open':_0x3928af,'onOpenChange':_0x417ccb,'overlay':(0x0,r[_0xbf9e92(0x6f1)])('div',{'onPointerDownCapture':_0x54cd3b=>{_0x2f3942(),De(_0x54cd3b);},'onMouseDownCapture':_0x4a2efb=>{_0x2f3942(),De(_0x4a2efb);},'onPointerDown':$,'onMouseDown':$,'onClick':_0x15d80f=>_0x15d80f['stopPropagation'](),'className':(0x0,e['clsx'])(_0xbf9e92(0x5fa),'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'),'children':(0x0,r[_0xbf9e92(0x6f1)])(D,{'compact':!0x0,'disabled':_0x22f469,'direction':_0x2a7eff[_0xbf9e92(0x44f)](),'value':_0x5b5d38,'typeValues':Te,'color':_0x109c83,'transparency':Math['round']((0x1-((_0x56c8ca=_0x5e10ee==null?void 0x0:_0x5e10ee[_0xbf9e92(0x35e)])==null?0x1:_0x56c8ca))*0x64),'gradientValue':Je(_0x48443b,_0x109c83,_0x1a0ea8),'labels':{'noFill':_0x2a7eff['t']('shape-editor-ui.fill.noFill'),'solidFill':_0x2a7eff['t']('shape-editor-ui.fill.solidFill'),'gradientFill':_0x2a7eff['t'](_0xbf9e92(0x80a)),'pictureFill':_0x2a7eff['t']('shape-editor-ui.fill.pictureFill'),'color':_0x2a7eff['t'](_0xbf9e92(0x1c0)),'transparency':_0x2a7eff['t']('shape-editor-ui.fill.transparency')},'tabLabels':{'noFill':_0x2a7eff['t'](_0xbf9e92(0x652)),'solidFill':_0x2a7eff['t']('shape-editor-ui.fill.solidFill'),'gradientFill':_0x2a7eff['t']('shape-editor-ui.fill.gradientFill'),'pictureFill':_0x2a7eff['t']('shape-editor-ui.fill.pictureFill')},'renderColorIcon':_0x1537b4=>(0x0,r[_0xbf9e92(0x6f1)])(t['ShapeBackgroundColorDoubleIcon'],{'className':_0xbf9e92(0x193),'extend':{'colorChannel1':_0x1537b4}}),'onChange':_0x12fd57=>{const _0x1c1a62=_0xbf9e92;if(_0x12fd57===C[_0x1c1a62(0x556)][_0x1c1a62(0x3d0)])_0x2a52b6({..._0x5e10ee,'fillType':C[_0x1c1a62(0x556)][_0x1c1a62(0x3d0)]},{'fillType':C[_0x1c1a62(0x556)]['NoFill']});else{if(_0x12fd57===C[_0x1c1a62(0x556)][_0x1c1a62(0x4b9)]){var _0xa650b2;let _0xb99762={'fillType':C[_0x1c1a62(0x556)][_0x1c1a62(0x4b9)],'color':_0x109c83,'opacity':(_0xa650b2=_0x5e10ee==null?void 0x0:_0x5e10ee[_0x1c1a62(0x35e)])==null?0x1:_0xa650b2};_0x2a52b6({..._0x5e10ee,..._0xb99762},_0xb99762);}else{if(_0x12fd57===C[_0x1c1a62(0x556)][_0x1c1a62(0x51c)]){let _0x39fba7=_0x9e0f51();_0x2a52b6(_0x39fba7,_0x39fba7);}else{if(_0x12fd57===C[_0x1c1a62(0x556)][_0x1c1a62(0x682)]){var _0x5860b8,_0x178523;let _0x3378dd={'fillType':C[_0x1c1a62(0x556)][_0x1c1a62(0x682)],'color':_0x109c83,'imageOpacity':(_0x5860b8=_0x5e10ee==null?void 0x0:_0x5e10ee[_0x1c1a62(0x46a)])==null?0x1:_0x5860b8,'imageFillMode':(_0x178523=_0x5e10ee==null?void 0x0:_0x5e10ee[_0x1c1a62(0x532)])==null?C[_0x1c1a62(0x56d)][_0x1c1a62(0x1af)]:_0x178523};_0x2a52b6({..._0x5e10ee,..._0x3378dd},_0x3378dd);}}}}},'onColorChange':_0x1392b8=>{const _0x284927=_0xbf9e92;var _0x45926b;let _0x57bd91={'fillType':C[_0x284927(0x556)][_0x284927(0x4b9)],'color':_0x1392b8};_0x2a52b6({..._0x5e10ee,..._0x57bd91,'opacity':(_0x45926b=_0x5e10ee==null?void 0x0:_0x5e10ee[_0x284927(0x35e)])==null?0x1:_0x45926b},_0x57bd91);},'onTransparencyChange':_0xe84ac2=>{const _0x4a9f00=_0xbf9e92;let _0x49c80f={'fillType':C[_0x4a9f00(0x556)]['SolidFill'],'opacity':(0x64-Math[_0x4a9f00(0x16d)](0x0,Math[_0x4a9f00(0x289)](0x64,_0xe84ac2)))/0x64};_0x2a52b6({..._0x5e10ee,'color':_0x109c83,..._0x49c80f},_0x49c80f);},'onGradientChange':_0x2727b4=>{const _0x595e3b=_0xbf9e92;let _0x17d53a={'fillType':C[_0x595e3b(0x556)][_0x595e3b(0x51c)],'gradientType':qe(_0x2727b4['type']),'gradientAngle':_0x2727b4[_0x595e3b(0x1c1)],'gradientStops':_0x2727b4[_0x595e3b(0x375)]['map'](_0x23e7f2=>({'position':_0x23e7f2[_0x595e3b(0x680)]/0x64,'color':_0x23e7f2[_0x595e3b(0x56c)],'opacity':_0x23e7f2['opacity']}))};_0x2a52b6({..._0x5e10ee,'color':_0x109c83,..._0x17d53a},_0x17d53a);},'pictureFillEditor':(0x0,r['jsx'])(Ye,{'shapeData':_0x48443b,'disabled':_0x22f469,'onUpdateShapeData':_0x39b4fd})})}),'children':(0x0,r[_0xbf9e92(0x6f1)])('span',{'children':(0x0,r[_0xbf9e92(0x6f1)])(e[_0xbf9e92(0x4cd)],{'title':_0x46e512,'placement':'bottom','visible':_0x3928af?!0x1:void 0x0,'children':(0x0,r[_0xbf9e92(0x462)])(_0xbf9e92(0x7d2),{'type':_0xbf9e92(0x7d2),'disabled':_0x22f469,'className':(0x0,e[_0xbf9e92(0x13a)])(_0xbf9e92(0x275),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x3928af}),'children':[(0x0,r['jsx'])(t['ShapeBackgroundColorDoubleIcon'],{'className':_0xbf9e92(0x444),'extend':{'colorChannel1':_0x5b5d38===C['ShapeFillEnum'][_0xbf9e92(0x3d0)]?'transparent':_0x109c83}}),(0x0,r[_0xbf9e92(0x6f1)])(t[_0xbf9e92(0x69e)],{'className':(0x0,e['clsx'])(_0xbf9e92(0x531),{'univer-rotate-180':_0x3928af})})]})})})});}function Ze(_0x283886){const _0x15c119=_0x13379c;switch(_0x283886==null?void 0x0:_0x283886[_0x15c119(0x1e6)]){case'none':return C['ShapeFillEnum'][_0x15c119(0x3d0)];case'gradient':return C['ShapeFillEnum']['GradientFill'];case _0x15c119(0x37a):return C['ShapeFillEnum']['PictureFill'];default:return C[_0x15c119(0x556)][_0x15c119(0x4b9)];}}function Qe(_0x35acc0,_0x1789b9){const _0x30c985=_0x13379c;var _0xa20ae7,_0x52734d,_0x87454,_0xfc1992,_0x410732;return{'type':(_0xa20ae7=_0x35acc0==null||(_0x52734d=_0x35acc0['gradient'])==null?void 0x0:_0x52734d['type'])==null?'linear':_0xa20ae7,'angle':(_0x87454=_0x35acc0==null||(_0xfc1992=_0x35acc0[_0x30c985(0x62d)])==null?void 0x0:_0xfc1992[_0x30c985(0x1c1)])==null?0x0:_0x87454,'stops':!(_0x35acc0==null||(_0x410732=_0x35acc0[_0x30c985(0x62d)])==null)&&_0x410732[_0x30c985(0x375)]&&_0x35acc0[_0x30c985(0x62d)][_0x30c985(0x375)][_0x30c985(0x135)]>=0x2?_0x35acc0['gradient'][_0x30c985(0x375)][_0x30c985(0x270)](_0x2bc794=>({'color':_0x2bc794[_0x30c985(0x56c)],'offset':_0x2bc794[_0x30c985(0x680)],'opacity':_0x2bc794[_0x30c985(0x35e)]})):[{'color':_0x1789b9,'offset':0x0},{'color':_0x30c985(0x6b6),'offset':0x64}]};}function $e(_0x199b72,_0x5134c5){const _0x280ba2=_0x13379c;var _0x2f484a,_0x2afc99,_0xbc1148;return(_0x2f484a=_0x199b72[_0x280ba2(0x34e)])==null?{'type':_0x280ba2(0x3bc),'color':(_0x2afc99=(_0xbc1148=_0x199b72['cl'])==null?void 0x0:_0xbc1148[_0x280ba2(0x7c3)])==null?_0x5134c5:_0x2afc99,'opacity':0x1}:_0x2f484a;}function et(_0x47135a,_0x4adbe5){const _0x170b0b=_0x13379c;var _0x2184d7,_0x4fffcd,_0x24cfa1;return(_0x2184d7=(_0x4fffcd=_0x47135a[_0x170b0b(0x56c)])==null?(_0x24cfa1=_0x47135a[_0x170b0b(0x62d)])==null||(_0x24cfa1=_0x24cfa1['stops'])==null||(_0x24cfa1=_0x24cfa1[0x0])==null?void 0x0:_0x24cfa1[_0x170b0b(0x56c)]:_0x4fffcd)==null?_0x4adbe5:_0x2184d7;}function tt(_0x381069){const _0x2e9792=_0x13379c;var _0x679f8,_0x4b19ed,_0x5b7a74,_0x2b358e;let {fill:_0x417425,disabled:_0x1ceb1a,onChange:_0x19544d}=_0x381069,_0x537955=(0x0,s[_0x2e9792(0x24f)])(o[_0x2e9792(0x80e)]),_0x5cdff1=(0x0,s['useDependency'])(o[_0x2e9792(0x502)]),_0x5d2c30=(0x0,s['useDependency'])(o[_0x2e9792(0x76e)]),_0x2687c5=(0x0,n[_0x2e9792(0x216)])(null),_0x5eff7b=(_0x679f8=(_0x4b19ed=(_0x5b7a74=_0x417425[_0x2e9792(0x37a)])==null?void 0x0:_0x5b7a74[_0x2e9792(0x35e)])==null?_0x417425[_0x2e9792(0x35e)]:_0x4b19ed)==null?0x1:_0x679f8,_0x3436df=Math[_0x2e9792(0x250)]((0x1-_0x5eff7b)*0x64),_0xf09a57=(_0x2b358e=_0x417425[_0x2e9792(0x37a)])!=null&&_0x2b358e[_0x2e9792(0x6fe)]&&/^(?:data:|https?:)/['test'](_0x417425[_0x2e9792(0x37a)]['source'])?_0x417425[_0x2e9792(0x37a)][_0x2e9792(0x6fe)]:void 0x0,_0x3ca323=_0x1f0ac5=>{const _0x3c9555=_0x2e9792;var _0x2deeb1,_0xf6e2c;_0x19544d({..._0x417425,'type':_0x3c9555(0x37a),'picture':{..._0x417425[_0x3c9555(0x37a)],'mode':(_0x2deeb1=(_0xf6e2c=_0x417425[_0x3c9555(0x37a)])==null?void 0x0:_0xf6e2c[_0x3c9555(0x567)])==null?'stretch':_0x2deeb1,..._0x1f0ac5}});};return(0x0,r[_0x2e9792(0x462)])(_0x2e9792(0x58a),{'className':_0x2e9792(0x3a6),'children':[(0x0,r[_0x2e9792(0x462)])(_0x2e9792(0x58a),{'className':_0x2e9792(0x1ee),'children':[(0x0,r[_0x2e9792(0x6f1)])(_0x2e9792(0x77e),{'className':'univer-shrink-0\x20univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x537955['t'](_0x2e9792(0x774))}),(0x0,r[_0x2e9792(0x6f1)])(_0x2e9792(0x80f),{'ref':_0x2687c5,'type':_0x2e9792(0x461),'accept':'image/*','className':_0x2e9792(0x6b8),'onChange':async _0x17f6c7=>{const _0xe895a0=_0x2e9792;var _0x38eaab;let _0x4efaec=(_0x38eaab=_0x17f6c7[_0xe895a0(0x311)][_0xe895a0(0x6c9)])==null?void 0x0:_0x38eaab[0x0];if(!_0x4efaec)return;_0x17f6c7[_0xe895a0(0x311)][_0xe895a0(0x6ea)]='';let _0x42ed37=await _0x5d2c30[_0xe895a0(0x7e5)](_0x4efaec);if(_0x42ed37==null)return;let {imageSourceType:_0x44cf4e,source:_0x15ac80,base64Cache:_0x22c094}=_0x42ed37;_0x3ca323({'source':_0x22c094||_0x15ac80,'sourceType':_0x44cf4e,'opacity':_0x5eff7b});}}),(0x0,r[_0x2e9792(0x6f1)])(_0x2e9792(0x7d2),{'type':'button','disabled':_0x1ceb1a,'onClick':()=>{const _0x42ae82=_0x2e9792;var _0x5ae19f;return(_0x5ae19f=_0x2687c5[_0x42ae82(0x5ec)])==null?void 0x0:_0x5ae19f[_0x42ae82(0x653)]();},'className':_0x2e9792(0x5b2),'children':_0x537955['t'](_0x2e9792(0x7ae))})]}),_0xf09a57&&(0x0,r[_0x2e9792(0x6f1)])(_0x2e9792(0x1f8),{'src':_0xf09a57,'alt':'','className':_0x2e9792(0x526)}),(0x0,r['jsxs'])(_0x2e9792(0x58a),{'className':_0x2e9792(0x1ee),'children':[(0x0,r[_0x2e9792(0x6f1)])(_0x2e9792(0x77e),{'className':'univer-shrink-0\x20univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x537955['t'](_0x2e9792(0x791))}),(0x0,r[_0x2e9792(0x6f1)])(_0x2e9792(0x58a),{'className':_0x2e9792(0x79e),'children':(0x0,r[_0x2e9792(0x6f1)])(e[_0x2e9792(0x528)],{'className':_0x2e9792(0x60a),'value':_0x3436df,'disabled':_0x1ceb1a,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x2db9c4=>_0x2db9c4+'%','parser':_0x2eece1=>(_0x2eece1==null?void 0x0:_0x2eece1[_0x2e9792(0x5e2)]('%',''))||'','onChange':_0x28449c=>{const _0x386983=_0x2e9792;_0x3ca323({'opacity':(0x64-Math['max'](0x0,Math[_0x386983(0x289)](0x64,_0x28449c==null?0x0:_0x28449c)))/0x64}),_0x5cdff1['setContextValue'](o['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x5cdff1[_0x2e9792(0x560)](o[_0x2e9792(0x4d0)],!0x0),'onBlur':()=>_0x5cdff1['setContextValue'](o[_0x2e9792(0x4d0)],!0x1)})})]})]});}function nt(_0x30e6c7){const _0x375088=_0x13379c;var _0x1763ef;let {titleKey:_0x4ff3bd,textStyle:_0xad906a,fallbackColor:_0x3122ab,onChange:_0x49c702}=_0x30e6c7,_0x53d6b3=(0x0,s[_0x375088(0x24f)])(o['LocaleService']),_0x5d28ac=_0x53d6b3['t'](_0x4ff3bd),[_0x4b0691,_0x33e114]=(0x0,n[_0x375088(0x659)])(!0x1),{handleOpenChange:_0x220638,markInternalInteraction:_0x4ea83d}=Oe(_0x33e114),_0x3e0127=$e(_0xad906a,_0x3122ab),_0x4b3101=Ze(_0x3e0127),_0x1b0fd3=et(_0x3e0127,_0x3122ab),_0x2b9c12=_0x1a1386=>{const _0x4789d6=_0x375088;_0x49c702({'cl':{'rgb':_0x1a1386[_0x4789d6(0x1e6)]==='none'?_0x4789d6(0x608):et(_0x1a1386,_0x3122ab)},'textFill':_0x1a1386});},_0x2202af=()=>{const _0x4372ef=_0x375088;let _0x8c405d=Qe(_0x3e0127,_0x1b0fd3);return{..._0x3e0127,'type':_0x4372ef(0x62d),'gradient':{'type':_0x8c405d[_0x4372ef(0x1e6)],'angle':_0x8c405d[_0x4372ef(0x1c1)],'stops':_0x8c405d[_0x4372ef(0x375)]['map'](_0x37fd1c=>({'offset':_0x37fd1c[_0x4372ef(0x680)],'color':_0x37fd1c[_0x4372ef(0x56c)],'opacity':_0x37fd1c[_0x4372ef(0x35e)]}))}};};return(0x0,r['jsx'])(Fe,{'title':_0x5d28ac,'open':_0x4b0691,'icon':(0x0,r[_0x375088(0x6f1)])(t['FontColorDoubleIcon'],{'className':_0x375088(0x444),'extend':{'colorChannel1':_0x1b0fd3}}),'onApply':()=>{const _0x5018f5=_0x375088;var _0x55e5d4;return _0x2b9c12({..._0x3e0127,'type':'solid','color':_0x1b0fd3,'opacity':(_0x55e5d4=_0x3e0127[_0x5018f5(0x35e)])==null?0x1:_0x55e5d4});},'onOpenChange':_0x220638,'overlay':(0x0,r[_0x375088(0x6f1)])(_0x375088(0x58a),{'onPointerDownCapture':_0x1d648f=>{_0x4ea83d(),De(_0x1d648f);},'onMouseDownCapture':_0x1bcb4d=>{_0x4ea83d(),De(_0x1bcb4d);},'onPointerDown':$,'onMouseDown':$,'onClick':_0x3d1f94=>_0x3d1f94[_0x375088(0x6f5)](),'className':(0x0,e['clsx'])(_0x375088(0x5fa),_0x375088(0x5e3)),'children':(0x0,r[_0x375088(0x6f1)])(D,{'compact':!0x0,'direction':_0x53d6b3[_0x375088(0x44f)](),'value':_0x4b3101,'typeValues':Te,'color':_0x1b0fd3,'transparency':Math[_0x375088(0x250)]((0x1-((_0x1763ef=_0x3e0127[_0x375088(0x35e)])==null?0x1:_0x1763ef))*0x64),'gradientValue':Qe(_0x3e0127,_0x1b0fd3),'labels':{'noFill':_0x53d6b3['t'](_0x375088(0x652)),'solidFill':_0x53d6b3['t'](_0x375088(0x3cc)),'gradientFill':_0x53d6b3['t'](_0x375088(0x80a)),'pictureFill':_0x53d6b3['t'](_0x375088(0x2e2)),'color':_0x53d6b3['t'](_0x375088(0x1c0)),'transparency':_0x53d6b3['t'](_0x375088(0x791))},'tabLabels':{'noFill':_0x53d6b3['t'](_0x375088(0x652)),'solidFill':_0x53d6b3['t'](_0x375088(0x3cc)),'gradientFill':_0x53d6b3['t'](_0x375088(0x80a)),'pictureFill':_0x53d6b3['t'](_0x375088(0x2e2))},'keepColorPickerOpenOnChange':!0x0,'onChange':_0x53ae99=>{const _0x6959a=_0x375088;if(_0x53ae99===C['ShapeFillEnum']['NoFill'])_0x2b9c12({..._0x3e0127,'type':'none'});else{if(_0x53ae99===C[_0x6959a(0x556)][_0x6959a(0x4b9)]){var _0x6320e1;_0x2b9c12({..._0x3e0127,'type':'solid','color':_0x1b0fd3,'opacity':(_0x6320e1=_0x3e0127[_0x6959a(0x35e)])==null?0x1:_0x6320e1});}else{if(_0x53ae99===C[_0x6959a(0x556)]['GradientFill'])_0x2b9c12(_0x2202af());else{if(_0x53ae99===C[_0x6959a(0x556)][_0x6959a(0x682)]){var _0x243b88,_0x70d97e,_0x24e5a8,_0x407160;_0x2b9c12({..._0x3e0127,'type':'picture','color':_0x1b0fd3,'picture':{..._0x3e0127[_0x6959a(0x37a)],'opacity':(_0x243b88=(_0x70d97e=_0x3e0127['picture'])==null?void 0x0:_0x70d97e['opacity'])==null?0x1:_0x243b88,'mode':(_0x24e5a8=(_0x407160=_0x3e0127['picture'])==null?void 0x0:_0x407160[_0x6959a(0x567)])==null?_0x6959a(0x673):_0x24e5a8}});}}}}},'onColorChange':_0x4a977a=>{const _0x21e51b=_0x375088;var _0x302089;_0x2b9c12({..._0x3e0127,'type':_0x21e51b(0x3bc),'color':_0x4a977a,'opacity':(_0x302089=_0x3e0127[_0x21e51b(0x35e)])==null?0x1:_0x302089});},'onTransparencyChange':_0x426c03=>{const _0x2999a9=_0x375088;_0x2b9c12({..._0x3e0127,'type':_0x2999a9(0x3bc),'color':_0x1b0fd3,'opacity':(0x64-Math[_0x2999a9(0x16d)](0x0,Math[_0x2999a9(0x289)](0x64,_0x426c03)))/0x64});},'onGradientChange':_0x10d62e=>{const _0x273a9d=_0x375088;_0x2b9c12({..._0x3e0127,'type':'gradient','gradient':{'type':_0x10d62e[_0x273a9d(0x1e6)],'angle':_0x10d62e['angle'],'stops':_0x10d62e[_0x273a9d(0x375)][_0x273a9d(0x270)](_0x252d00=>({'offset':_0x252d00['offset'],'color':_0x252d00[_0x273a9d(0x56c)],'opacity':_0x252d00[_0x273a9d(0x35e)]}))}});},'pictureFillEditor':(0x0,r[_0x375088(0x6f1)])(tt,{'fill':_0x3e0127,'onChange':_0x2b9c12})})})});}function rt(_0x173e12){const _0x2251fc=_0x13379c;let {titleKey:_0x5bded7,color:_0x3c5bc6,onApply:_0xd6fd1e,onReset:_0x2ab60d,onChange:_0x580574}=_0x173e12,_0x1f494b=(0x0,s[_0x2251fc(0x24f)])(o[_0x2251fc(0x80e)]),_0x3acfec=_0x1f494b['t'](_0x5bded7),[_0x22d4ef,_0x48d01b]=(0x0,n[_0x2251fc(0x659)])(!0x1),{handleOpenChange:_0xc3b8e2,markInternalInteraction:_0x4e9263}=Oe(_0x48d01b);return(0x0,r['jsx'])(Fe,{'title':_0x3acfec,'open':_0x22d4ef,'icon':(0x0,r[_0x2251fc(0x6f1)])(t[_0x2251fc(0x346)],{'className':_0x2251fc(0x444),'extend':{'colorChannel1':_0x3c5bc6}}),'onApply':_0xd6fd1e,'onOpenChange':_0xc3b8e2,'popoverClassName':'univer-rounded-lg\x20univer-p-3\x20!univer-shadow-none','overlay':(0x0,r[_0x2251fc(0x462)])(_0x2251fc(0x58a),{'onPointerDownCapture':_0x4dd78e=>{_0x4e9263(),De(_0x4dd78e);},'onMouseDownCapture':_0x19fe0d=>{_0x4e9263(),De(_0x19fe0d);},'onPointerDown':$,'onMouseDown':$,'onClick':_0x51a1ff=>_0x51a1ff['stopPropagation'](),'className':_0x2251fc(0x26f),'children':[_0x2ab60d&&(0x0,r[_0x2251fc(0x6f1)])(_0x2251fc(0x7d2),{'type':_0x2251fc(0x7d2),'onClick':()=>{_0x2ab60d(),_0x48d01b(!0x1);},'className':'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','children':_0x1f494b['t'](_0x2251fc(0x62f))}),(0x0,r[_0x2251fc(0x6f1)])(e[_0x2251fc(0x369)],{'value':_0x3c5bc6,'onChange':_0x476d72=>{_0x580574(_0x476d72),_0x48d01b(!0x1);}})]})});}function it(_0x34e4b7){const _0x362c75=_0x13379c;let {titleKey:_0x5d9760,textStyle:_0x21a895,horizontalAlign:_0x2e51d8,verticalAlign:_0x3ee569,horizontalAlignOptions:_0x1cd1ee,verticalAlignOptions:_0x559e91,onUpdateText:_0x4981cf}=_0x34e4b7,_0x2094dc=(0x0,s[_0x362c75(0x24f)])(o[_0x362c75(0x80e)]),_0x4a5c50=_0x2094dc['t'](_0x5d9760),[_0x1789eb,_0x3d05d3]=(0x0,n[_0x362c75(0x659)])(!0x1),[_0x5efd2c,_0x1870df]=(0x0,n['useState'])(!0x1),{handleOpenChange:_0x47230b,markInternalInteraction:_0x297b79}=Oe(_0x3d05d3),_0x54acd7=_0x5b5de9=>{_0x5b5de9&&_0x1870df(!0x1),_0x47230b(_0x5b5de9);},_0x4bdfff=[{'key':_0x362c75(0x721),'title':_0x2094dc['t'](_0x362c75(0x6ae)),'active':_0x21a895[_0x362c75(0x354)],'icon':(0x0,r[_0x362c75(0x6f1)])(t[_0x362c75(0x7b5)],{}),'onClick':()=>_0x4981cf({'textStyle':{'bl':_0x21a895[_0x362c75(0x354)]?o[_0x362c75(0x167)][_0x362c75(0x180)]:o[_0x362c75(0x167)][_0x362c75(0x6bd)]}})},{'key':'italic','title':_0x2094dc['t'](_0x362c75(0x4a0)),'active':_0x21a895[_0x362c75(0x17c)],'icon':(0x0,r[_0x362c75(0x6f1)])(t[_0x362c75(0x726)],{}),'onClick':()=>_0x4981cf({'textStyle':{'it':_0x21a895['isItalic']?o[_0x362c75(0x167)][_0x362c75(0x180)]:o['BooleanNumber'][_0x362c75(0x6bd)]}})},{'key':'underline','title':_0x2094dc['t'](_0x362c75(0x305)),'active':_0x21a895['isUnderline'],'icon':(0x0,r[_0x362c75(0x6f1)])(t[_0x362c75(0x6d3)],{}),'onClick':()=>_0x4981cf({'textStyle':{'ul':{'s':_0x21a895[_0x362c75(0x201)]?o[_0x362c75(0x167)][_0x362c75(0x180)]:o[_0x362c75(0x167)][_0x362c75(0x6bd)]}}})},{'key':_0x362c75(0x7f2),'title':_0x2094dc['t'](_0x362c75(0x60b)),'active':_0x21a895[_0x362c75(0x63b)],'icon':(0x0,r[_0x362c75(0x6f1)])(t[_0x362c75(0x40c)],{}),'onClick':()=>_0x4981cf({'textStyle':{'st':{'s':_0x21a895['isStrike']?o['BooleanNumber'][_0x362c75(0x180)]:o[_0x362c75(0x167)][_0x362c75(0x6bd)]}}})}],_0x41cab8=_0x5bcaf2=>(0x0,r[_0x362c75(0x6f1)])(e[_0x362c75(0x4cd)],{'title':_0x5bcaf2[_0x362c75(0x621)],'placement':_0x362c75(0x332),'visible':_0x5efd2c?void 0x0:!0x1,'children':(0x0,r[_0x362c75(0x6f1)])(_0x362c75(0x7d2),{'type':_0x362c75(0x7d2),'aria-label':_0x5bcaf2[_0x362c75(0x621)],'onClick':_0x5bcaf2[_0x362c75(0x3de)],'className':(0x0,e[_0x362c75(0x13a)])('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',{'univer-border-primary-600\x20univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x5bcaf2[_0x362c75(0x38b)]}),'children':_0x5bcaf2[_0x362c75(0x40f)]})},String(_0x5bcaf2[_0x362c75(0x597)]));return(0x0,r['jsx'])(e[_0x362c75(0x7db)],{'open':_0x1789eb,'onOpenChange':_0x54acd7,'overlay':(0x0,r[_0x362c75(0x6f1)])(_0x362c75(0x58a),{'onPointerDownCapture':_0xc6d44a=>{_0x297b79(),De(_0xc6d44a);},'onMouseDownCapture':_0x4a445b=>{_0x297b79(),De(_0x4a445b);},'onPointerDown':$,'onPointerMove':()=>_0x1870df(!0x0),'onMouseDown':$,'onClick':_0x916039=>_0x916039[_0x362c75(0x6f5)](),'className':(0x0,e[_0x362c75(0x13a)])(_0x362c75(0x809),_0x362c75(0x4fa)),'children':(0x0,r[_0x362c75(0x462)])(_0x362c75(0x58a),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-1.5','children':[(0x0,r['jsx'])(_0x362c75(0x58a),{'className':_0x362c75(0x400),'children':_0x4bdfff[_0x362c75(0x270)](_0x41cab8)}),(0x0,r[_0x362c75(0x6f1)])(e[_0x362c75(0x16e)],{}),(0x0,r[_0x362c75(0x6f1)])(_0x362c75(0x58a),{'data-u-comp':_0x362c75(0x6fb),'className':_0x362c75(0x400),'children':_0x1cd1ee[_0x362c75(0x270)](_0x3a9de1=>_0x41cab8({'key':_0x3a9de1[_0x362c75(0x6ea)],'title':_0x3a9de1['label'],'active':_0x3a9de1['value']===_0x2e51d8,'icon':_0x3a9de1[_0x362c75(0x40f)],'onClick':()=>_0x4981cf({'horizontalAlign':_0x3a9de1['value']})}))}),(0x0,r[_0x362c75(0x6f1)])(_0x362c75(0x58a),{'data-u-comp':_0x362c75(0x5fd),'className':_0x362c75(0x400),'children':_0x559e91[_0x362c75(0x270)](_0x36645a=>_0x41cab8({'key':_0x36645a[_0x362c75(0x6ea)],'title':_0x36645a['label'],'active':_0x36645a[_0x362c75(0x6ea)]===_0x3ee569,'icon':_0x36645a[_0x362c75(0x40f)],'onClick':()=>_0x4981cf({'verticalAlign':_0x36645a[_0x362c75(0x6ea)]})}))})]})}),'children':(0x0,r[_0x362c75(0x6f1)])(_0x362c75(0x77e),{'children':(0x0,r[_0x362c75(0x6f1)])(e['Tooltip'],{'title':_0x4a5c50,'placement':_0x362c75(0x392),'visible':_0x1789eb?!0x1:void 0x0,'children':(0x0,r[_0x362c75(0x462)])(_0x362c75(0x7d2),{'type':_0x362c75(0x7d2),'aria-label':_0x4a5c50,'className':(0x0,e[_0x362c75(0x13a)])('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':_0x1789eb}),'children':[(0x0,r['jsx'])(t[_0x362c75(0x315)],{'className':_0x362c75(0x28f)}),(0x0,r[_0x362c75(0x6f1)])(t[_0x362c75(0x69e)],{'className':(0x0,e[_0x362c75(0x13a)])('univer-text-xs\x20univer-text-gray-600\x20univer-transition-transform\x20dark:!univer-text-gray-300',{'univer-rotate-180':_0x1789eb})})]})})})});}function at(_0x4616b6){const _0x1143e9=_0x13379c;var _0x384f5d;let _0x4ed234=(0x0,s['useDependency'])(o[_0x1143e9(0x80e)]),_0x8f51bf=(0x0,s[_0x1143e9(0x506)])(_0x4ed234['direction$'],_0x4ed234[_0x1143e9(0x44f)]()),_0x13707f=_0x4616b6[_0x1143e9(0x7ab)]?_0x4ed234['t'](_0x4616b6[_0x1143e9(0x7ab)]):_0x4616b6[_0x1143e9(0x621)];return(0x0,r['jsxs'])(_0x1143e9(0x58a),{'dir':_0x8f51bf,'data-u-comp':_0x1143e9(0x43a),'onPointerDownCapture':De,'onMouseDownCapture':De,'onPointerDown':$,'onMouseDown':$,'onClick':_0x12c36d=>_0x12c36d['stopPropagation'](),'className':(0x0,e[_0x1143e9(0x13a)])(_0x1143e9(0x3a7),(_0x384f5d=_0x4616b6[_0x1143e9(0x714)])==null?_0x1143e9(0x295):_0x384f5d,_0x4616b6[_0x1143e9(0x527)]),'children':[_0x13707f&&(0x0,r[_0x1143e9(0x6f1)])('div',{'className':_0x1143e9(0x801),'children':_0x13707f}),_0x4616b6[_0x1143e9(0x72c)]]});}function ot(_0x189700){const _0x1cad0f=_0x13379c;var _0x53db45;let _0x326bcc=(0x0,s[_0x1cad0f(0x24f)])(o['LocaleService']),_0x2ea858=_0x189700[_0x1cad0f(0x1a6)]?_0x326bcc['t'](_0x189700[_0x1cad0f(0x1a6)]):(_0x53db45=_0x189700[_0x1cad0f(0x6ab)])==null?'':_0x53db45;return(0x0,r['jsx'])(_0x1cad0f(0x77e),{'className':_0x1cad0f(0x577),'children':(0x0,r['jsxs'])('button',{'type':_0x1cad0f(0x7d2),'aria-label':_0x2ea858,'disabled':_0x189700[_0x1cad0f(0x2d4)],'onClick':_0xdd3557=>{const _0x41f35b=_0x1cad0f;_0xdd3557['stopPropagation'](),_0x189700[_0x41f35b(0x3de)]();},'className':_0x1cad0f(0x68a),'children':[(0x0,r['jsx'])('span',{'className':_0x1cad0f(0x64c),'children':_0x2ea858}),_0x189700[_0x1cad0f(0x77d)]&&(0x0,r['jsx'])(_0x1cad0f(0x77e),{'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':_0x189700['shortcut']})]})});}function st(_0x300919){const _0x182536=_0x13379c;var _0x5d1949;let [_0x3bf712,_0x49f52f]=(0x0,n[_0x182536(0x659)])(!0x1),_0x417fc0=(_0x5d1949=_0x300919['options'][_0x182536(0x326)](_0x4113e2=>_0x4113e2[_0x182536(0x6ea)]===_0x300919[_0x182536(0x6ea)]))==null?_0x300919['options'][0x0]:_0x5d1949;return _0x417fc0?(0x0,r['jsx'])(e['Dropdown'],{'open':_0x3bf712,'onOpenChange':_0x49f52f,'overlay':(0x0,r[_0x182536(0x6f1)])('div',{'className':'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','children':_0x300919[_0x182536(0x761)][_0x182536(0x270)](_0x5f2ecb=>(0x0,r[_0x182536(0x462)])('button',{'type':_0x182536(0x7d2),'aria-label':_0x5f2ecb[_0x182536(0x6ab)],'onClick':()=>{const _0x2e9cbe=_0x182536;_0x300919[_0x2e9cbe(0x778)](_0x5f2ecb['value']),_0x49f52f(!0x1);},'className':(0x0,e[_0x182536(0x13a)])('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',{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x5f2ecb['value']===_0x300919['value']}),'children':[(0x0,r[_0x182536(0x6f1)])(_0x182536(0x77e),{'className':_0x182536(0x5e9),'children':_0x5f2ecb[_0x182536(0x40f)]}),(0x0,r['jsx'])(_0x182536(0x77e),{'className':_0x182536(0x738),'children':_0x5f2ecb[_0x182536(0x6ab)]})]},_0x5f2ecb[_0x182536(0x6ea)]))}),'children':(0x0,r['jsx'])('span',{'children':(0x0,r[_0x182536(0x6f1)])(Ne,{'title':_0x300919['title'],'icon':_0x417fc0[_0x182536(0x40f)],'active':_0x3bf712})})}):null;}function ct(_0x15de83){const _0x565c17=_0x13379c;let {action:_0x4376a0}=_0x15de83,_0x424c68=_0x4376a0[_0x565c17(0x1e6)]==='group'?t[_0x565c17(0x33c)]:t[_0x565c17(0x722)];return(0x0,r[_0x565c17(0x6f1)])(Me,{'title':_0x4376a0[_0x565c17(0x6ab)],'onClick':_0x4376a0[_0x565c17(0x3de)],'children':(0x0,r[_0x565c17(0x6f1)])(_0x424c68,{})});}function lt(_0x1f423e){const _0x17e819=_0x13379c;let {actions:_0x41f9e8}=_0x1f423e,[_0x3e67b0,_0x231666]=(0x0,n['useState'])(!0x1),{handleOpenChange:_0x5f06c5,markInternalInteraction:_0x147533}=Oe(_0x231666);return(0x0,r[_0x17e819(0x6f1)])(e[_0x17e819(0x7db)],{'open':_0x3e67b0,'onOpenChange':_0x5f06c5,'overlay':(0x0,r[_0x17e819(0x6f1)])(_0x17e819(0x58a),{'onPointerDownCapture':_0x20fa13=>{_0x147533(),De(_0x20fa13);},'onMouseDownCapture':_0x45f160=>{_0x147533(),De(_0x45f160);},'onPointerDown':$,'onMouseDown':$,'onClick':_0x2c9e30=>_0x2c9e30[_0x17e819(0x6f5)](),'className':_0x17e819(0x3c0),'children':(0x0,r['jsxs'])(at,{'className':_0x17e819(0x740),'minWidthClassName':_0x17e819(0x44d),'children':[(0x0,r[_0x17e819(0x6f1)])(ot,{'label':_0x41f9e8[_0x17e819(0x338)],'onClick':()=>{const _0x2d22e4=_0x17e819;_0x41f9e8[_0x2d22e4(0x748)](),_0x231666(!0x1);}}),(0x0,r[_0x17e819(0x6f1)])(ot,{'label':_0x41f9e8[_0x17e819(0x3b2)],'onClick':_0x41f9e8['onForward']}),(0x0,r[_0x17e819(0x6f1)])(ot,{'label':_0x41f9e8['backwardLabel'],'onClick':_0x41f9e8[_0x17e819(0x3c3)]}),(0x0,r[_0x17e819(0x6f1)])(ot,{'label':_0x41f9e8[_0x17e819(0x18d)],'onClick':()=>{const _0x305923=_0x17e819;_0x41f9e8[_0x305923(0x374)](),_0x231666(!0x1);}})]})}),'children':(0x0,r['jsx'])(_0x17e819(0x77e),{'children':(0x0,r[_0x17e819(0x6f1)])(e[_0x17e819(0x4cd)],{'title':_0x41f9e8[_0x17e819(0x621)],'placement':_0x17e819(0x392),'visible':_0x3e67b0?!0x1:void 0x0,'children':(0x0,r['jsxs'])('button',{'type':_0x17e819(0x7d2),'aria-label':_0x41f9e8[_0x17e819(0x621)],'className':(0x0,e[_0x17e819(0x13a)])(_0x17e819(0x19c),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x3e67b0}),'children':[(0x0,r[_0x17e819(0x6f1)])(t[_0x17e819(0x190)],{}),(0x0,r[_0x17e819(0x6f1)])(t[_0x17e819(0x69e)],{'className':(0x0,e[_0x17e819(0x13a)])(_0x17e819(0x531),{'univer-rotate-180':_0x3e67b0})})]})})})});}function ut(_0x1d025c){const _0x4a080a=_0x13379c;var _0x228c37,_0x19fa55,_0xc09052,_0x187a4a,_0x263cc1,_0x14492d,_0x3d2e88,_0x37a5ee,_0x5e3cbb,_0x2eb42d,_0x25c2cf,_0x5be122;let {shapeData:_0x4a9f3b,shapeType:_0x5a3660,textStyle:_0x5ee28f,textModel:_0x5db4f8,wrappingStyle:_0x24aaad,wrappingStyleOptions:_0x17a3d9,enableShapeStrokeReset:_0x5c1c65=!0x1,enableTextBackgroundReset:_0x1e644d=!0x1,enableTextControls:_0x4898b7=!0x0,deferUntilCollapsedStateLoaded:_0x18c7c2=!0x1,defaultFillColor:_0x52402e=xe,defaultGradientEndColor:_0xbcedc7='#000000',defaultStrokeColor:_0x57687c=Se,onUpdateShapeData:_0x109f6c,onUpdateText:_0x194250,onUpdateWrappingStyle:_0x518ece,groupAction:_0x430dc2,layerActions:_0x2e250b,extensionGroups:_0x43ec6b,collapseLabel:_0x11e458,expandLabel:_0xdd064f,deleteLabel:_0x40c627,onOpenPanel:_0x26ec32,onDelete:_0x3e4c7a}=_0x1d025c,_0x34481d=(0x0,s['useDependency'])(o[_0x4a080a(0x80e)]),_0x381492=(0x0,s[_0x4a080a(0x506)])(_0x34481d[_0x4a080a(0x21f)],_0x34481d[_0x4a080a(0x44f)]()),_0x8f49ad=(0x0,s[_0x4a080a(0x24f)])(o[_0x4a080a(0x502)]),_0x32d6ce=(0x0,s[_0x4a080a(0x24f)])(o[_0x4a080a(0x7fb)]),_0x36a38b=(0x0,s[_0x4a080a(0x24f)])(o[_0x4a080a(0x3ce)]),[_0xd95ab2,_0x591425]=(0x0,n[_0x4a080a(0x659)])(!0x1),[_0x155417,_0x4f0c5d]=(0x0,n[_0x4a080a(0x659)])(!0x1),[_0x1ef8f8,_0x9e3478]=(0x0,n[_0x4a080a(0x659)])(null);(0x0,n[_0x4a080a(0x69d)])(()=>{const _0x2dc91d=_0x4a080a;let _0x5f1163=!0x1;return _0x32d6ce[_0x2dc91d(0x352)](we)[_0x2dc91d(0x23e)](_0x25303f=>{const _0x472f52=_0x2dc91d;!_0x5f1163&&typeof _0x25303f==_0x472f52(0x4f2)&&_0x591425(_0x25303f);})[_0x2dc91d(0x582)](()=>void 0x0)[_0x2dc91d(0x48f)](()=>{_0x5f1163||_0x4f0c5d(!0x0);}),()=>{_0x5f1163=!0x0;};},[_0x32d6ce]);let _0x5739f0=_0x4b5da2=>{const _0x422e6b=_0x4a080a;_0x591425(_0x4b5da2),_0x32d6ce[_0x422e6b(0x1df)](we,_0x4b5da2)[_0x422e6b(0x582)](()=>void 0x0);},_0x526760=(_0x5e8ad9,_0xaada3e)=>{_0x9e3478(_0x411a23=>_0xaada3e?_0x5e8ad9:_0x411a23===_0x5e8ad9?null:_0x411a23);},_0x3bd845=!!_0x4a9f3b&&_0x5a3660!==void 0x0,_0xe30427=_0x3bd845&&_0x4898b7,_0x304110=!!_0x430dc2||!!_0x2e250b,_0x3450ba=(_0x43ec6b==null?[]:_0x43ec6b)[_0x4a080a(0x2f3)](_0x5888b7=>_0x5888b7[_0x4a080a(0x3cf)]!==!0x1)[_0x4a080a(0x270)](_0x95cb6b=>({..._0x95cb6b,'actions':_0x95cb6b['actions']['filter'](_0x49c74e=>_0x49c74e[_0x4a080a(0x3cf)]!==!0x1)}))[_0x4a080a(0x2f3)](_0xe19bef=>_0xe19bef[_0x4a080a(0x627)][_0x4a080a(0x135)]>0x0),_0x1eac54=_0x3450ba[_0x4a080a(0x135)]>0x0,_0x7630fe=_0x5a3660!==void 0x0&&(0x0,C['isConnectorShape'])(_0x5a3660),_0x4126c7=(_0x228c37=(_0x19fa55=_0x5ee28f['cl'])==null?void 0x0:_0x19fa55[_0x4a080a(0x7c3)])==null?Ce:_0x228c37,_0x2f86f6=(_0xc09052=(_0x187a4a=_0x5ee28f['bg'])==null?void 0x0:_0x187a4a[_0x4a080a(0x7c3)])==null?_0x36a38b[_0x4a080a(0x706)](_0x4a080a(0x32e)):_0xc09052,_0x54eb73=(_0x263cc1=_0x5ee28f['ff'])==null?_0x4a080a(0x584):_0x263cc1,_0x38acfd=(_0x14492d=_0x5ee28f['fs'])==null?0xe:_0x14492d,_0x3bcd98=_0x5ee28f['bl']===o[_0x4a080a(0x167)][_0x4a080a(0x6bd)],_0x2ddeb8=_0x5ee28f['it']===o[_0x4a080a(0x167)][_0x4a080a(0x6bd)],_0xdec258=((_0x3d2e88=_0x5ee28f['ul'])==null?void 0x0:_0x3d2e88['s'])===o[_0x4a080a(0x167)]['TRUE'],_0x386eab=((_0x37a5ee=_0x5ee28f['st'])==null?void 0x0:_0x37a5ee['s'])===o[_0x4a080a(0x167)][_0x4a080a(0x6bd)],_0x5c6dea=(_0x5e3cbb=_0x5db4f8==null?void 0x0:_0x5db4f8['ha'])==null?o['HorizontalAlign']['LEFT']:_0x5e3cbb,_0x5b1fd6=(_0x2eb42d=_0x5db4f8==null?void 0x0:_0x5db4f8['va'])==null?o[_0x4a080a(0x7f0)][_0x4a080a(0x267)]:_0x2eb42d,_0x5df37e=[{'label':_0x34481d['t']('shape-editor-ui.toolbar.alignLeft'),'value':o['HorizontalAlign'][_0x4a080a(0x768)],'icon':(0x0,r['jsx'])(t['LeftJustifyingIcon'],{})},{'label':_0x34481d['t'](_0x4a080a(0x1c4)),'value':o['HorizontalAlign'][_0x4a080a(0x693)],'icon':(0x0,r['jsx'])(t[_0x4a080a(0x7a2)],{})},{'label':_0x34481d['t'](_0x4a080a(0x741)),'value':o[_0x4a080a(0x337)][_0x4a080a(0x309)],'icon':(0x0,r[_0x4a080a(0x6f1)])(t['RightJustifyingIcon'],{})},{'label':_0x34481d['t'](_0x4a080a(0x630)),'value':o[_0x4a080a(0x337)][_0x4a080a(0x1b0)],'icon':(0x0,r[_0x4a080a(0x6f1)])(t[_0x4a080a(0x472)],{})}],_0x2d0a0a=[{'label':_0x34481d['t'](_0x4a080a(0x57a)),'value':o[_0x4a080a(0x7f0)][_0x4a080a(0x267)],'icon':(0x0,r[_0x4a080a(0x6f1)])(t['AlignTopIcon'],{})},{'label':_0x34481d['t'](_0x4a080a(0x626)),'value':o[_0x4a080a(0x7f0)]['MIDDLE'],'icon':(0x0,r[_0x4a080a(0x6f1)])(t[_0x4a080a(0x26e)],{})},{'label':_0x34481d['t']('shape-editor-ui.align.bottom'),'value':o[_0x4a080a(0x7f0)]['BOTTOM'],'icon':(0x0,r[_0x4a080a(0x6f1)])(t['AlignBottomIcon'],{})}];return!_0x3bd845&&!_0x304110&&!_0x1eac54&&!_0x26ec32&&!_0x3e4c7a||_0x18c7c2&&!_0x155417?null:_0xd95ab2?(0x0,r['jsx'])(_0x4a080a(0x7d2),{'type':_0x4a080a(0x7d2),'dir':_0x381492,'style':{'direction':_0x381492},'data-u-comp':_0x4a080a(0x17e),'aria-label':_0xdd064f==null?_0x34481d['t'](_0x4a080a(0x424)):_0xdd064f,'onMouseDown':$,'onClick':()=>_0x5739f0(!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[_0x4a080a(0x6f1)])(t[_0x4a080a(0x1f9)],{'className':_0x4a080a(0x65e)})}):(0x0,r[_0x4a080a(0x462)])('div',{'data-u-comp':_0x4a080a(0x128),'dir':_0x381492,'style':{'direction':_0x381492},'className':_0x4a080a(0x5e7),'children':[(0x0,r['jsx'])(_0x4a080a(0x7d2),{'type':_0x4a080a(0x7d2),'aria-label':_0x11e458==null?_0x34481d['t'](_0x4a080a(0x814)):_0x11e458,'onMouseDown':$,'onClick':()=>_0x5739f0(!0x0),'className':_0x4a080a(0x15b),'children':(0x0,r[_0x4a080a(0x6f1)])(t[_0x4a080a(0x1f9)],{'className':_0x4a080a(0x347)})}),(0x0,r['jsxs'])(je,{'children':[_0x3bd845&&(0x0,r[_0x4a080a(0x462)])(r[_0x4a080a(0x766)],{'children':[(0x0,r[_0x4a080a(0x462)])(Ae,{'children':[(0x0,r[_0x4a080a(0x6f1)])(Xe,{'titleKey':_0x4a080a(0x5cb),'shapeData':_0x4a9f3b,'open':_0x1ef8f8===_0x4a080a(0x234),'disabled':_0x7630fe,'fallbackColor':_0x52402e,'fallbackGradientEndColor':_0xbcedc7,'onOpenChange':_0x442ecd=>_0x526760('fill',_0x442ecd),'onUpdateShapeData':_0x109f6c}),(0x0,r['jsx'])(We,{'titleKey':_0x4a080a(0x13c),'shapeData':_0x4a9f3b,'open':_0x1ef8f8===_0x4a080a(0x7f7),'fallbackColor':_0x57687c,'onOpenChange':_0x153d74=>_0x526760(_0x4a080a(0x7f7),_0x153d74),'onReset':_0x5c1c65?()=>{const _0xa45868=_0x4a080a;let _0x44443f={'lineStrokeType':C[_0xa45868(0x38c)][_0xa45868(0x642)]};_0x109f6c({'oldShapeData':{'stroke':_0x4a9f3b[_0xa45868(0x7f7)]}},{'stroke':{..._0x4a9f3b['stroke'],..._0x44443f}},{'stroke':_0x44443f});}:void 0x0,'onUpdateShapeData':_0x109f6c})]}),_0x3bd845&&_0xe30427&&(0x0,r[_0x4a080a(0x462)])(r[_0x4a080a(0x766)],{'children':[(0x0,r[_0x4a080a(0x6f1)])(e[_0x4a080a(0x16e)],{'orientation':_0x4a080a(0x550)}),(0x0,r[_0x4a080a(0x462)])(Ae,{'children':[(0x0,r[_0x4a080a(0x6f1)])(s['FontFamilyDropdown'],{'className':_0x4a080a(0x503),'inputClassName':_0x4a080a(0x60a),'popupDataComponent':_0x4a080a(0x3a9),'title':_0x54eb73,'value':_0x54eb73,'onChange':_0x1acf1c=>_0x194250({'textStyle':{'ff':_0x1acf1c}}),'onMouseDown':$,'onPointerDown':$}),(0x0,r['jsx'])(Pe,{'value':String(_0x38acfd),'onChange':_0x24f68d=>{_0x194250({'textStyle':{'fs':_0x24f68d}});},'onAfterChange':()=>{const _0xa93589=_0x4a080a;_0x8f49ad[_0xa93589(0x560)](o[_0xa93589(0x4d0)],!0x1);}}),(0x0,r[_0x4a080a(0x6f1)])(it,{'titleKey':'shape-editor-ui.toolbar.typography','textStyle':{'isBold':_0x3bcd98,'isItalic':_0x2ddeb8,'isUnderline':_0xdec258,'isStrike':_0x386eab},'horizontalAlign':_0x5c6dea,'verticalAlign':_0x5b1fd6,'horizontalAlignOptions':_0x5df37e,'verticalAlignOptions':_0x2d0a0a,'onUpdateText':_0x194250})]}),(0x0,r[_0x4a080a(0x6f1)])(e[_0x4a080a(0x16e)],{'orientation':_0x4a080a(0x550)}),(0x0,r[_0x4a080a(0x462)])(Ae,{'children':[(0x0,r[_0x4a080a(0x6f1)])(nt,{'titleKey':_0x4a080a(0x72d),'textStyle':_0x5ee28f,'fallbackColor':_0x4126c7,'onChange':_0x2b1003=>_0x194250({'textStyle':_0x2b1003})}),(0x0,r['jsx'])(rt,{'titleKey':_0x4a080a(0x1aa),'color':_0x2f86f6,'onApply':()=>_0x194250({'textStyle':{'bg':{'rgb':_0x2f86f6}}}),'onReset':_0x1e644d?()=>_0x194250({'textStyle':{'bg':{'rgb':null}}}):void 0x0,'onChange':_0x2f942b=>_0x194250({'textStyle':{'bg':{'rgb':_0x2f942b}}})})]})]})]}),_0x3bd845&&_0x24aaad!==void 0x0&&_0x17a3d9&&_0x518ece&&(0x0,r['jsxs'])(r[_0x4a080a(0x766)],{'children':[(0x0,r[_0x4a080a(0x6f1)])(e['Separator'],{'orientation':_0x4a080a(0x550)}),(0x0,r[_0x4a080a(0x6f1)])(Ae,{'children':(0x0,r[_0x4a080a(0x6f1)])(st,{'title':(_0x25c2cf=(_0x5be122=_0x17a3d9['find'](_0x54f1c2=>_0x54f1c2['value']===_0x24aaad))==null?void 0x0:_0x5be122[_0x4a080a(0x6ab)])==null?_0x34481d['t'](_0x4a080a(0x52e)):_0x25c2cf,'value':_0x24aaad,'options':_0x17a3d9,'onChange':_0x518ece})})]}),_0x304110&&(0x0,r[_0x4a080a(0x462)])(r[_0x4a080a(0x766)],{'children':[(0x0,r[_0x4a080a(0x6f1)])(e[_0x4a080a(0x16e)],{'orientation':_0x4a080a(0x550)}),(0x0,r[_0x4a080a(0x462)])(Ae,{'children':[_0x430dc2&&(0x0,r[_0x4a080a(0x6f1)])(ct,{'action':_0x430dc2}),_0x2e250b&&(0x0,r[_0x4a080a(0x6f1)])(lt,{'actions':_0x2e250b})]})]}),(_0x26ec32||_0x3e4c7a)&&(0x0,r[_0x4a080a(0x462)])(r[_0x4a080a(0x766)],{'children':[(0x0,r[_0x4a080a(0x6f1)])(e[_0x4a080a(0x16e)],{'orientation':'vertical'}),(0x0,r[_0x4a080a(0x462)])(Ae,{'children':[_0x26ec32&&(0x0,r[_0x4a080a(0x6f1)])(Me,{'titleKey':_0x4a080a(0x456),'onClick':()=>{_0x26ec32();},'children':(0x0,r[_0x4a080a(0x6f1)])(t['DocSettingIcon'],{})}),_0x3e4c7a&&(0x0,r['jsx'])(Me,{'title':_0x40c627,'titleKey':_0x40c627?void 0x0:_0x4a080a(0x19a),'onClick':_0x3e4c7a,'children':(0x0,r['jsx'])(t[_0x4a080a(0x804)],{})})]})]}),_0x3450ba['map'](_0x5f112a=>(0x0,r['jsxs'])(n['Fragment'],{'children':[(0x0,r[_0x4a080a(0x6f1)])(e[_0x4a080a(0x16e)],{'orientation':'vertical'}),(0x0,r[_0x4a080a(0x6f1)])(Ae,{'children':_0x5f112a[_0x4a080a(0x627)][_0x4a080a(0x270)](_0x46332f=>{const _0x596ef0=_0x4a080a;var _0x5d479d;return(0x0,r[_0x596ef0(0x6f1)])(n[_0x596ef0(0x766)],{'children':(_0x5d479d=_0x46332f[_0x596ef0(0x237)])==null?(0x0,r[_0x596ef0(0x6f1)])(Me,{'title':_0x46332f[_0x596ef0(0x6ab)],'active':_0x46332f[_0x596ef0(0x38b)],'disabled':_0x46332f[_0x596ef0(0x2d4)],'onClick':_0x46332f[_0x596ef0(0x3de)],'children':_0x46332f[_0x596ef0(0x40f)]}):_0x5d479d},_0x46332f['key']);})})]},_0x5f112a[_0x4a080a(0x597)]))]})]});}const dt=[{'label':_0x13379c(0x4d5),'pattern':'yyyy-MM-dd'},{'label':'1930/08/05','pattern':'yyyy/MM/dd'},{'label':_0x13379c(0x73d),'pattern':'yyyy\x22年\x22MM\x22月\x22dd\x22日\x22'},{'label':_0x13379c(0x3bf),'pattern':_0x13379c(0x2df)},{'label':'8月5日','pattern':_0x13379c(0x36b)},{'label':_0x13379c(0x252),'pattern':_0x13379c(0x149)},{'label':_0x13379c(0x7b6),'pattern':_0x13379c(0x7ad)},{'label':'下午01:30','pattern':'A/P\x20hh:mm'},{'label':_0x13379c(0x2b9),'pattern':_0x13379c(0x397)},{'label':_0x13379c(0x29d),'pattern':_0x13379c(0x739)},{'label':_0x13379c(0x3f7),'pattern':'MM-dd\x20A/P\x20hh:mm'}],ft=[{'label':_0x13379c(0x3a2),'pattern':_0x13379c(0x1b1),'color':void 0x0},{'label':'(1,235)','pattern':_0x13379c(0x493),'color':_0x13379c(0x6ac)},{'label':_0x13379c(0x68b),'pattern':_0x13379c(0x4fc),'color':void 0x0},{'label':_0x13379c(0x68b),'pattern':'#,##0.00_);[Red]#,##0.00','color':_0x13379c(0x6ac)},{'label':'-1,234.56','pattern':_0x13379c(0x4a2),'color':void 0x0},{'label':'-1,234.56','pattern':'#,##0.00_);[Red]-#,##0.00','color':_0x13379c(0x6ac)}],pt=[{'label':_0x325c95=>_0x325c95+_0x13379c(0x1b4),'pattern':_0x27d4f6=>'\x22'+_0x27d4f6+_0x13379c(0x53b)+_0x27d4f6+'\x22#,##0.00','color':void 0x0},{'label':_0x277b90=>_0x277b90+_0x13379c(0x1b4),'pattern':_0x44cfc3=>'\x22'+_0x44cfc3+_0x13379c(0x775)+_0x44cfc3+_0x13379c(0x1d3),'color':'red'},{'label':_0x1de4dd=>'('+_0x1de4dd+_0x13379c(0x12c),'pattern':_0x342f95=>'\x22'+_0x342f95+'\x22#,##0.00_);(\x22'+_0x342f95+_0x13379c(0x439),'color':void 0x0},{'label':_0xcd632d=>'('+_0xcd632d+_0x13379c(0x12c),'pattern':_0xb78b30=>'\x22'+_0xb78b30+_0x13379c(0x416)+_0xb78b30+_0x13379c(0x439),'color':'red'},{'label':_0x3c497d=>'-'+_0x3c497d+_0x13379c(0x1b4),'pattern':_0x2fa4b1=>'\x22'+_0x2fa4b1+_0x13379c(0x376)+_0x2fa4b1+'\x22#,##0.00','color':void 0x0},{'label':_0x3afd08=>'-'+_0x3afd08+_0x13379c(0x1b4),'pattern':_0x2d8d53=>'\x22'+_0x2d8d53+'\x22#,##0.00_);[Red]-\x22'+_0x2d8d53+_0x13379c(0x1d3),'color':_0x13379c(0x6ac)}];function mt(_0x18a732){const _0x34a10d=_0x13379c;return o[_0x34a10d(0x1fd)][_0x34a10d(0x326)](_0x342751=>_0x18a732[_0x34a10d(0x62b)](_0x342751));}function ht(_0x58a65c,_0x12a0dd=0x0){const _0x119619=_0x13379c;var _0x17b89d;return _0x58a65c?(_0x17b89d=o[_0x119619(0x36c)]['getFormatInfo'](_0x58a65c)[_0x119619(0x667)])==null?_0x12a0dd:_0x17b89d:_0x12a0dd;}function gt(_0x36bd68){const _0x5643f6=_0x13379c;return Array(Math['min'](Math[_0x5643f6(0x16d)](0x0,Number(_0x36bd68)),0x1e))[_0x5643f6(0x234)](0x0)[_0x5643f6(0x61e)]('');}function _t(_0x2ac214,_0x3ed73b){const _0x5e277c=_0x13379c;return _0x2ac214[_0x5e277c(0x492)](';')['map'](_0x3e8e10=>/\.0?/[_0x5e277c(0x14d)](_0x3e8e10)?_0x3e8e10[_0x5e277c(0x5e2)](/\.0*/g,''+(_0x3ed73b>0x0?'.':'')+gt(Number(_0x3ed73b||0x0))):/0([^0]?)|0$/[_0x5e277c(0x14d)](_0x3e8e10)?_0x3e8e10[_0x5e277c(0x5e2)](/0([^0]+)|0$/,'0'+(_0x3ed73b>0x0?'.':'')+gt(Number(_0x3ed73b||0x0))+'$1'):_0x3e8e10)['join'](';');}function vt(_0x3ddbd6){const _0x2f480f=_0x13379c;return pt['map'](_0x26713c=>({'label':_0x26713c[_0x2f480f(0x6ab)](_0x3ddbd6),'value':_0x26713c[_0x2f480f(0x284)](_0x3ddbd6),'color':_0x26713c[_0x2f480f(0x56c)]}));}function yt(){const _0x394a47=_0x13379c;return dt[_0x394a47(0x270)](_0x1de8d9=>({'label':_0x1de8d9['label'],'value':_0x1de8d9[_0x394a47(0x284)]}));}function bt(){const _0x1b6fd4=_0x13379c;return ft[_0x1b6fd4(0x270)](_0x2b56fd=>({'label':_0x2b56fd[_0x1b6fd4(0x6ab)],'value':_0x2b56fd['pattern'],'color':_0x2b56fd[_0x1b6fd4(0x56c)]}));}function xt(_0xe47919,_0x1234e2=0x2){const _0x116609=_0x13379c;return _t(_0x116609(0x17a)+_0xe47919+_0x116609(0x276),_0x1234e2);}function St(_0x1b5ff7,_0x1ff596=0x2){const _0x4a0c9f=_0x13379c;var _0x128e3f,_0x5b8749;let _0x24a68b=vt(_0x1b5ff7);return _t((_0x128e3f=(_0x5b8749=_0x24a68b[_0x4a0c9f(0x326)](_0x36744e=>_0x36744e[_0x4a0c9f(0x56c)]==='red'))==null?void 0x0:_0x5b8749['value'])==null?_0x24a68b[0x0]['value']:_0x128e3f,_0x1ff596);}function Ct(_0x3583b4){const _0x7f7e54=_0x13379c;return[{'kind':'format','key':'general','pattern':o[_0x7f7e54(0x496)]},{'kind':_0x7f7e54(0x429),'key':'text','pattern':o['DEFAULT_TEXT_FORMAT_EXCEL']},{'kind':_0x7f7e54(0x187),'key':_0x7f7e54(0x5a0)},{'kind':_0x7f7e54(0x429),'key':_0x7f7e54(0x40e),'pattern':'0'},{'kind':_0x7f7e54(0x429),'key':_0x7f7e54(0x4ef),'pattern':_0x7f7e54(0x63f)},{'kind':_0x7f7e54(0x429),'key':_0x7f7e54(0x666),'pattern':_0x7f7e54(0x146)},{'kind':_0x7f7e54(0x187),'key':'number'},{'kind':'format','key':_0x7f7e54(0x5d1),'pattern':xt(_0x3583b4)},{'kind':_0x7f7e54(0x429),'key':_0x7f7e54(0x695),'pattern':'#,##0.00;[Red]#,##0.00'},{'kind':'format','key':_0x7f7e54(0x4b7),'pattern':St(_0x3583b4)},{'kind':_0x7f7e54(0x429),'key':_0x7f7e54(0x600),'pattern':'\x22'+_0x3583b4+_0x7f7e54(0x686)+_0x3583b4+_0x7f7e54(0x4b8)},{'kind':_0x7f7e54(0x187),'key':_0x7f7e54(0x4b7)},{'kind':_0x7f7e54(0x429),'key':_0x7f7e54(0x677),'pattern':_0x7f7e54(0x445)},{'kind':'format','key':'time','pattern':_0x7f7e54(0x70c)},{'kind':_0x7f7e54(0x429),'key':_0x7f7e54(0x399),'pattern':_0x7f7e54(0x38e)},{'kind':'format','key':_0x7f7e54(0x80b),'pattern':_0x7f7e54(0x149)},{'kind':_0x7f7e54(0x187),'key':_0x7f7e54(0x677)},{'kind':_0x7f7e54(0x539)}];}function wt(_0x2c584b){const _0x45dd13=_0x13379c;if((0x0,o[_0x45dd13(0x40d)])(_0x2c584b))return _0x45dd13(0x50f);let _0x52d7f4=mt(_0x2c584b);if(_0x52d7f4&&_0x2c584b[_0x45dd13(0x2b7)]('_('))return'accounting';let _0x30cdfc=o[_0x45dd13(0x36c)][_0x45dd13(0x5a3)](_0x2c584b);return yt()['some'](_0x3aaf6e=>_0x3aaf6e[_0x45dd13(0x6ea)]===_0x2c584b)||[_0x45dd13(0x677),_0x45dd13(0x4c9),'time'][_0x45dd13(0x62b)](_0x30cdfc[_0x45dd13(0x1e6)])?'date':bt()[_0x45dd13(0x7c9)](_0x481499=>(0x0,o[_0x45dd13(0x71d)])(_0x481499['value'],_0x2c584b))?_0x45dd13(0x40e):_0x52d7f4?_0x45dd13(0x4b7):_0x45dd13(0x434);}function Tt(_0x1a2f48,_0x320957){const _0x4157c4=_0x13379c;switch(_0x1a2f48){case'general':return o[_0x4157c4(0x496)];case _0x4157c4(0x5d1):return xt(_0x320957);case'currency':return St(_0x320957);case _0x4157c4(0x677):return yt()[0x0][_0x4157c4(0x6ea)];case'number':return bt()[0x0][_0x4157c4(0x6ea)];default:return o[_0x4157c4(0x496)];}}function Et(_0x4cf243){const _0x1ced83=_0x13379c;return _0x4cf243===_0x1ced83(0x50f)||_0x4cf243===_0x1ced83(0x5d1)||_0x4cf243===_0x1ced83(0x4b7)||_0x4cf243===_0x1ced83(0x677)||_0x4cf243==='number'||_0x4cf243===_0x1ced83(0x434);}function Dt(_0x5e06f5){const _0x2e2e45=_0x13379c;return o['numfmt'][_0x2e2e45(0x429)](_0x5e06f5||o[_0x2e2e45(0x496)],0x4c4,{'throws':!0x1});}function Ot(_0x1dbb20){const _0x3252c5=_0x13379c;let _0x10eab9=(0x0,s[_0x3252c5(0x24f)])(o['LocaleService']),_0x1b9cf4=(0x0,w[_0x3252c5(0x183)])(_0x10eab9[_0x3252c5(0x670)]());return(0x0,r[_0x3252c5(0x6f1)])(at,{'className':_0x3252c5(0x7a3),'minWidthClassName':_0x3252c5(0x781),'children':(0x0,n[_0x3252c5(0x7e0)])(()=>Ct(_0x1b9cf4),[_0x1b9cf4])[_0x3252c5(0x270)](_0x126c46=>_0x126c46[_0x3252c5(0x6af)]==='separator'?(0x0,r['jsx'])(e['Separator'],{'className':'univer-my-1'},_0x3252c5(0x449)+_0x126c46[_0x3252c5(0x597)]):(0x0,r[_0x3252c5(0x462)])(_0x3252c5(0x7d2),{'type':_0x3252c5(0x7d2),'className':_0x3252c5(0x2a8),'onClick':()=>_0x126c46[_0x3252c5(0x6af)]===_0x3252c5(0x539)?_0x1dbb20[_0x3252c5(0x2b6)]():_0x1dbb20[_0x3252c5(0x3c7)](_0x126c46['pattern']),'children':[(0x0,r[_0x3252c5(0x6f1)])(_0x3252c5(0x77e),{'children':_0x126c46[_0x3252c5(0x6af)]===_0x3252c5(0x539)?_0x10eab9['t'](_0x3252c5(0x23b)):_0x10eab9['t'](_0x3252c5(0x5e0)+_0x126c46[_0x3252c5(0x597)])}),_0x126c46[_0x3252c5(0x6af)]===_0x3252c5(0x429)&&(0x0,r['jsx'])(_0x3252c5(0x77e),{'className':_0x3252c5(0x617),'children':Dt(_0x126c46[_0x3252c5(0x284)])})]},_0x126c46[_0x3252c5(0x6af)]==='more'?_0x3252c5(0x539):_0x126c46[_0x3252c5(0x597)]))});}function kt(_0x2e7bc7){const _0x4060d5=_0x13379c;return(0x0,r['jsx'])(_0x4060d5(0x58a),{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700\x20dark:!univer-text-gray-200','children':_0x2e7bc7['children']});}function At(_0x4276fe){const _0x868a00=_0x13379c;return(0x0,r['jsx'])(_0x868a00(0x58a),{'className':_0x868a00(0x22b),'children':_0x4276fe[_0x868a00(0x72c)]});}function jt(_0x86d102){const _0x2c26d4=_0x13379c;let _0x4cafef=(0x0,s[_0x2c26d4(0x24f)])(o['LocaleService']),[_0x177442,_0x1e2124]=(0x0,n[_0x2c26d4(0x659)])(()=>ht(_0x86d102['pattern'],0x2)),[_0x17c725,_0x454132]=(0x0,n[_0x2c26d4(0x659)])(()=>{const _0x3535df=_0x2c26d4;var _0x113bec;return(_0x113bec=mt(_0x86d102[_0x3535df(0x284)]))==null?_0x86d102['currencySymbol']:_0x113bec;}),_0x2bc621=(0x0,n[_0x2c26d4(0x7e0)])(()=>o[_0x2c26d4(0x1fd)][_0x2c26d4(0x270)](_0x3278ca=>({'label':_0x3278ca,'value':_0x3278ca})),[]),_0x28ee0=(_0x2ed4e3,_0x38a7f)=>{const _0xd155cc=_0x2c26d4;_0x86d102[_0xd155cc(0x778)](xt(_0x38a7f,_0x2ed4e3));};return(0x0,r[_0x2c26d4(0x462)])(_0x2c26d4(0x58a),{'className':_0x2c26d4(0x565),'children':[(0x0,r[_0x2c26d4(0x462)])(_0x2c26d4(0x58a),{'className':_0x2c26d4(0x573),'children':[(0x0,r[_0x2c26d4(0x462)])(_0x2c26d4(0x58a),{'className':_0x2c26d4(0x6c0),'children':[(0x0,r['jsx'])(kt,{'children':_0x4cafef['t'](_0x2c26d4(0x823))}),(0x0,r[_0x2c26d4(0x6f1)])(e[_0x2c26d4(0x528)],{'className':_0x2c26d4(0x60a),'value':_0x177442,'min':0x0,'max':0x14,'precision':0x0,'onChange':_0x4ed085=>{let _0x1bdf16=_0x4ed085==null?0x0:_0x4ed085;_0x1e2124(_0x1bdf16),_0x28ee0(_0x1bdf16,_0x17c725);}})]}),(0x0,r[_0x2c26d4(0x462)])('div',{'className':_0x2c26d4(0x6c0),'children':[(0x0,r[_0x2c26d4(0x6f1)])(kt,{'children':_0x4cafef['t'](_0x2c26d4(0x32d))}),(0x0,r['jsx'])(e[_0x2c26d4(0x4ec)],{'className':_0x2c26d4(0x60a),'value':_0x17c725,'options':_0x2bc621,'onChange':_0x254e0e=>{_0x454132(_0x254e0e),_0x28ee0(_0x177442,_0x254e0e);}})]})]}),(0x0,r[_0x2c26d4(0x6f1)])(At,{'children':_0x4cafef['t']('shape-editor-ui.formulaShape.accountingDescription')})]});}function Mt(_0x5c18b3){const _0x540104=_0x13379c;let _0x39947e=(0x0,s[_0x540104(0x24f)])(o[_0x540104(0x80e)]),[_0x4f4f5a,_0x273831]=(0x0,n[_0x540104(0x659)])(()=>ht(_0x5c18b3['pattern'],0x2)),[_0x3294c5,_0x13ad29]=(0x0,n[_0x540104(0x659)])(()=>{const _0x309355=_0x540104;var _0x32e3e1;return(_0x32e3e1=mt(_0x5c18b3[_0x309355(0x284)]))==null?_0x5c18b3[_0x309355(0x751)]:_0x32e3e1;}),_0x3c2d1d=(0x0,n[_0x540104(0x7e0)])(()=>o['currencySymbols']['map'](_0x1ea54b=>({'label':_0x1ea54b,'value':_0x1ea54b})),[]),_0x2c43d1=(0x0,n['useMemo'])(()=>vt(_0x3294c5),[_0x3294c5]),[_0x2712ae,_0xb91d6b]=(0x0,n[_0x540104(0x659)])(()=>{const _0x1f69a8=_0x540104;var _0x3dcd93,_0x269060;return(_0x3dcd93=(_0x269060=_0x2c43d1[_0x1f69a8(0x326)](_0x4112eb=>(0x0,o[_0x1f69a8(0x71d)])(_0x4112eb[_0x1f69a8(0x6ea)],_0x5c18b3[_0x1f69a8(0x284)])))==null?void 0x0:_0x269060[_0x1f69a8(0x6ea)])==null?_0x2c43d1[0x0][_0x1f69a8(0x6ea)]:_0x3dcd93;}),_0x1378ce=(_0x3a83a6,_0x5a80b0)=>{const _0x5794ce=_0x540104;_0x5c18b3[_0x5794ce(0x778)](_t(_0x3a83a6,_0x5a80b0));};return(0x0,r[_0x540104(0x462)])(_0x540104(0x58a),{'className':'univer-flex\x20univer-min-h-0\x20univer-flex-1\x20univer-flex-col\x20univer-pt-4','children':[(0x0,r[_0x540104(0x462)])(_0x540104(0x58a),{'className':_0x540104(0x573),'children':[(0x0,r[_0x540104(0x462)])(_0x540104(0x58a),{'className':'univer-min-w-0\x20univer-flex-1','children':[(0x0,r[_0x540104(0x6f1)])(kt,{'children':_0x39947e['t'](_0x540104(0x823))}),(0x0,r[_0x540104(0x6f1)])(e[_0x540104(0x528)],{'className':'univer-w-full','value':_0x4f4f5a,'min':0x0,'max':0x14,'precision':0x0,'onChange':_0x336ee0=>{let _0x48be92=_0x336ee0==null?0x0:_0x336ee0;_0x273831(_0x48be92),_0x1378ce(_0x2712ae,_0x48be92);}})]}),(0x0,r['jsxs'])(_0x540104(0x58a),{'className':'univer-min-w-0\x20univer-flex-1','children':[(0x0,r[_0x540104(0x6f1)])(kt,{'children':_0x39947e['t'](_0x540104(0x32d))}),(0x0,r[_0x540104(0x6f1)])(e[_0x540104(0x4ec)],{'className':_0x540104(0x60a),'value':_0x3294c5,'options':_0x3c2d1d,'onChange':_0x4842a1=>{_0x13ad29(_0x4842a1);let _0x1dbf64=vt(_0x4842a1)[0x0]['value'];_0xb91d6b(_0x1dbf64),_0x1378ce(_0x1dbf64,_0x4f4f5a);}})]})]}),(0x0,r[_0x540104(0x462)])(_0x540104(0x58a),{'className':_0x540104(0x5c8),'children':[(0x0,r[_0x540104(0x6f1)])(kt,{'children':_0x39947e['t'](_0x540104(0x489))}),(0x0,r[_0x540104(0x6f1)])(e['SelectList'],{'className':_0x540104(0x7d1)+e[_0x540104(0x463)]+_0x540104(0x5bc),'value':_0x2712ae,'options':_0x2c43d1,'onChange':_0x4a559f=>{const _0x560e67=_0x540104;typeof _0x4a559f==_0x560e67(0x7d3)&&(_0xb91d6b(_0x4a559f),_0x1378ce(_0x4a559f,_0x4f4f5a));}})]}),(0x0,r[_0x540104(0x6f1)])(At,{'children':_0x39947e['t']('shape-editor-ui.formulaShape.currencyDescription')})]});}function Nt(_0x11ef73){const _0x59f840=_0x13379c;let _0x429f87=(0x0,s[_0x59f840(0x24f)])(o['LocaleService']),_0x151349=(0x0,n[_0x59f840(0x7e0)])(()=>yt(),[]),[_0x502a27,_0x53a78a]=(0x0,n[_0x59f840(0x659)])(()=>_0x151349[_0x59f840(0x7c9)](_0x20a6f7=>_0x20a6f7['value']===_0x11ef73[_0x59f840(0x284)])?_0x11ef73['pattern']:_0x151349[0x0][_0x59f840(0x6ea)]);return(0x0,r[_0x59f840(0x462)])(_0x59f840(0x58a),{'className':_0x59f840(0x6fd),'children':[(0x0,r[_0x59f840(0x6f1)])(kt,{'children':_0x429f87['t'](_0x59f840(0x342))}),(0x0,r[_0x59f840(0x6f1)])(e['SelectList'],{'className':_0x59f840(0x4b1)+e[_0x59f840(0x463)]+_0x59f840(0x58e),'value':_0x502a27,'options':_0x151349,'onChange':_0x48c6eb=>{const _0x70778b=_0x59f840;typeof _0x48c6eb=='string'&&(_0x53a78a(_0x48c6eb),_0x11ef73[_0x70778b(0x778)](_0x48c6eb));}}),(0x0,r[_0x59f840(0x6f1)])(At,{'children':_0x429f87['t'](_0x59f840(0x800))})]});}function Pt(_0x35b503){const _0x3c8dc3=_0x13379c;let _0x36f85c=(0x0,s['useDependency'])(o['LocaleService']),_0x1972d9=(0x0,n[_0x3c8dc3(0x7e0)])(()=>bt(),[]),[_0x9b7a1c,_0x5b9d8b]=(0x0,n['useState'])(()=>ht(_0x35b503[_0x3c8dc3(0x284)],0x0)),[_0x235711,_0x4f5684]=(0x0,n[_0x3c8dc3(0x659)])(()=>{const _0x3f1da7=_0x3c8dc3;var _0x2610a7,_0x369e9a;return(_0x2610a7=(_0x369e9a=_0x1972d9['find'](_0x5a6d70=>(0x0,o['isPatternEqualWithoutDecimal'])(_0x5a6d70[_0x3f1da7(0x6ea)],_0x35b503[_0x3f1da7(0x284)])))==null?void 0x0:_0x369e9a[_0x3f1da7(0x6ea)])==null?_0x1972d9[0x0][_0x3f1da7(0x6ea)]:_0x2610a7;});return(0x0,r['jsxs'])(_0x3c8dc3(0x58a),{'className':'univer-flex\x20univer-min-h-0\x20univer-flex-1\x20univer-flex-col\x20univer-pt-4','children':[(0x0,r[_0x3c8dc3(0x6f1)])(kt,{'children':_0x36f85c['t'](_0x3c8dc3(0x823))}),(0x0,r[_0x3c8dc3(0x6f1)])(e['InputNumber'],{'className':'univer-w-full','value':_0x9b7a1c,'min':0x0,'max':0x14,'precision':0x0,'onChange':_0x327db2=>{const _0x47e6ff=_0x3c8dc3;let _0x22db54=_0x327db2==null?0x0:_0x327db2;_0x5b9d8b(_0x22db54),_0x35b503[_0x47e6ff(0x778)](_t(_0x235711,_0x22db54));}}),(0x0,r[_0x3c8dc3(0x462)])(_0x3c8dc3(0x58a),{'className':_0x3c8dc3(0x5c8),'children':[(0x0,r[_0x3c8dc3(0x6f1)])(kt,{'children':_0x36f85c['t'](_0x3c8dc3(0x489))}),(0x0,r[_0x3c8dc3(0x6f1)])(e[_0x3c8dc3(0x1bd)],{'className':_0x3c8dc3(0x7d1)+e['scrollbarClassName']+_0x3c8dc3(0x5bc),'value':_0x235711,'options':_0x1972d9,'onChange':_0x1d501c=>{const _0x464e96=_0x3c8dc3;typeof _0x1d501c==_0x464e96(0x7d3)&&(_0x4f5684(_0x1d501c),_0x5b9d8b(ht(_0x1d501c,0x0)),_0x35b503[_0x464e96(0x778)](_0x1d501c));}})]}),(0x0,r['jsx'])(At,{'children':_0x36f85c['t'](_0x3c8dc3(0x4b3))})]});}function Ft(_0x1aaa50){const _0xa6d3c3=_0x13379c;let _0x3cc488=(0x0,s[_0xa6d3c3(0x24f)])(o['LocaleService']),[_0x41a524,_0x1d5ea3]=(0x0,n[_0xa6d3c3(0x659)])(_0x1aaa50[_0xa6d3c3(0x284)]),_0x1e6bca=(0x0,n[_0xa6d3c3(0x7e0)])(()=>{const _0x4164f5=_0xa6d3c3;let _0x757b90=[...vt(_0x1aaa50['currencySymbol'])[_0x4164f5(0x270)](_0x9e67ed=>_0x9e67ed[_0x4164f5(0x6ea)]),...yt()[_0x4164f5(0x270)](_0x5bfe79=>_0x5bfe79[_0x4164f5(0x6ea)]),...bt()[_0x4164f5(0x270)](_0x4fc374=>_0x4fc374['value'])];return[...new Set([_0x1aaa50[_0x4164f5(0x284)],..._0x757b90][_0x4164f5(0x2f3)](Boolean))][_0x4164f5(0x270)](_0x4664bc=>({'label':_0x4664bc,'value':_0x4664bc}));},[_0x1aaa50[_0xa6d3c3(0x751)],_0x1aaa50['pattern']]);return(0x0,r[_0xa6d3c3(0x462)])('div',{'className':_0xa6d3c3(0x6fd),'children':[(0x0,r[_0xa6d3c3(0x6f1)])(kt,{'children':_0x3cc488['t'](_0xa6d3c3(0x779))}),(0x0,r['jsx'])(e[_0xa6d3c3(0x13b)],{'className':_0xa6d3c3(0x60a),'value':_0x41a524,'placeholder':_0x3cc488['t'](_0xa6d3c3(0x521)),'onChange':_0x36c7ac=>{_0x1d5ea3(_0x36c7ac),_0x1aaa50['onChange'](_0x36c7ac);}}),(0x0,r[_0xa6d3c3(0x6f1)])(e['SelectList'],{'className':_0xa6d3c3(0x4b1)+e[_0xa6d3c3(0x463)]+_0xa6d3c3(0x212),'value':_0x41a524,'options':_0x1e6bca,'onChange':_0x1d7772=>{const _0x4c8243=_0xa6d3c3;typeof _0x1d7772==_0x4c8243(0x7d3)&&(_0x1d5ea3(_0x1d7772),_0x1aaa50[_0x4c8243(0x778)](_0x1d7772));}}),(0x0,r[_0xa6d3c3(0x6f1)])(At,{'children':_0x3cc488['t'](_0xa6d3c3(0x1fc))})]});}function It(_0x458875){const _0x5c754d=_0x13379c;let _0x2ada82=(0x0,s['useDependency'])(o['LocaleService']);switch(_0x458875['type']){case _0x5c754d(0x50f):return(0x0,r['jsx'])(At,{'children':_0x2ada82['t'](_0x5c754d(0x7a9))});case _0x5c754d(0x5d1):return(0x0,r[_0x5c754d(0x6f1)])(jt,{..._0x458875});case _0x5c754d(0x4b7):return(0x0,r[_0x5c754d(0x6f1)])(Mt,{..._0x458875});case _0x5c754d(0x677):return(0x0,r[_0x5c754d(0x6f1)])(Nt,{..._0x458875});case _0x5c754d(0x40e):return(0x0,r['jsx'])(Pt,{..._0x458875});default:return(0x0,r[_0x5c754d(0x6f1)])(Ft,{..._0x458875});}}function Lt(_0xf0a491){const _0x3f3590=_0x13379c;let _0x2dca97=(0x0,s['useDependency'])(o['LocaleService']),_0x2f950e=(0x0,w[_0x3f3590(0x183)])(_0x2dca97[_0x3f3590(0x670)]()),[_0x244a6f,_0x131708]=(0x0,n['useState'])(()=>wt(_0xf0a491[_0x3f3590(0x284)])),[_0x4aa808,_0x31e505]=(0x0,n['useState'])(_0xf0a491[_0x3f3590(0x284)]),_0x326cc4=(0x0,n['useMemo'])(()=>[{'label':_0x2dca97['t'](_0x3f3590(0x4fe)),'value':'general'},{'label':_0x2dca97['t'](_0x3f3590(0x31c)),'value':'accounting'},{'label':_0x2dca97['t'](_0x3f3590(0x782)),'value':_0x3f3590(0x4b7)},{'label':_0x2dca97['t']('shape-editor-ui.formulaShape.formats.date'),'value':_0x3f3590(0x677)},{'label':_0x2dca97['t'](_0x3f3590(0x132)),'value':_0x3f3590(0x40e)},{'label':_0x2dca97['t'](_0x3f3590(0x779)),'value':_0x3f3590(0x434)}],[_0x2dca97]);return(0x0,r[_0x3f3590(0x6f1)])(e[_0x3f3590(0x3fa)],{'open':_0xf0a491[_0x3f3590(0x5e1)],'width':0x1a4,'title':_0x2dca97['t']('shape-editor-ui.formulaShape.numberFormat'),'draggable':!0x0,'mask':!0x1,'maskClosable':!0x1,'onClose':_0xf0a491[_0x3f3590(0x619)],'footer':(0x0,r[_0x3f3590(0x462)])('div',{'className':_0x3f3590(0x68d),'children':[(0x0,r['jsx'])(e['Button'],{'onClick':_0xf0a491['onClose'],'children':_0x2dca97['t'](_0x3f3590(0x18a))}),(0x0,r[_0x3f3590(0x6f1)])(e[_0x3f3590(0x16a)],{'variant':_0x3f3590(0x754),'onClick':()=>_0xf0a491[_0x3f3590(0x4b2)](_0x4aa808),'children':_0x2dca97['t'](_0x3f3590(0x482))})]}),'children':(0x0,r[_0x3f3590(0x462)])(_0x3f3590(0x58a),{'className':_0x3f3590(0x5fb),'children':[(0x0,r[_0x3f3590(0x6f1)])(kt,{'children':_0x2dca97['t'](_0x3f3590(0x7a1))}),(0x0,r[_0x3f3590(0x6f1)])(e[_0x3f3590(0x4ec)],{'className':_0x3f3590(0x60a),'value':_0x244a6f,'options':_0x326cc4,'onChange':_0x17c167=>{Et(_0x17c167)&&(_0x131708(_0x17c167),_0x31e505(Tt(_0x17c167,_0x2f950e)));}}),(0x0,r['jsx'])(_0x3f3590(0x58a),{'className':'univer-flex\x20univer-min-h-0\x20univer-flex-1\x20univer-overflow-hidden','children':(0x0,r[_0x3f3590(0x6f1)])(It,{'type':_0x244a6f,'pattern':_0x4aa808,'currencySymbol':_0x2f950e,'onChange':_0x31e505},_0x244a6f)}),(0x0,r['jsxs'])('div',{'className':_0x3f3590(0x5d8),'children':[(0x0,r[_0x3f3590(0x6f1)])(_0x3f3590(0x58a),{'className':_0x3f3590(0x3f1),'children':_0x2dca97['t'](_0x3f3590(0x48a))}),(0x0,r['jsx'])(_0x3f3590(0x58a),{'className':'univer-mt-1\x20univer-text-sm\x20univer-font-medium','children':Dt(_0x4aa808)})]})]})});}function Rt(_0x4c8be1){const _0xafafd=_0x13379c;var _0x1ec424,_0x1719be,_0x53b42e;let {shapeId:_0xb73aba,subUnitId:_0x4560fb,unitId:_0x238629}=_0x4c8be1,_0x1bead8=_0x238629+'\x00'+_0x4560fb+'\x00'+_0xb73aba,_0x468f14=(_0x1ec424=_0x4c8be1[_0xafafd(0x25b)])==null?void 0x0:_0x1ec424[_0xafafd(0x3b9)],_0x81bb68=(0x0,s[_0xafafd(0x24f)])(o[_0xafafd(0x80e)]),_0x21d1a5=(0x0,s[_0xafafd(0x24f)])(a[_0xafafd(0x547)]),[_0x4ee35d,_0x6a2880]=(0x0,n['useState'])(),[_0x2c1850,_0x303013]=(0x0,n['useState'])(),[_0x174417,_0x57102e]=(0x0,n[_0xafafd(0x659)])(),_0x568905=_0x4ee35d===_0x1bead8,_0x73f38=_0x2c1850===_0x1bead8,_0x56f213=_0x174417===_0x1bead8;if((0x0,n[_0xafafd(0x69d)])(()=>{const _0x4ae305=_0xafafd;let _0x474d05={'shapeId':_0xb73aba,'subUnitId':_0x4560fb,'unitId':_0x238629};_0x468f14?_0x21d1a5['register'](_0x474d05,_0x468f14):_0x21d1a5[_0x4ae305(0x191)](_0x474d05);},[_0x468f14,_0x21d1a5,_0xb73aba,_0x4560fb,_0x238629]),!_0x468f14)return{'panel':null};let _0xe65446=_0x331086=>{const _0x2d38cb=_0xafafd;_0x4c8be1[_0x2d38cb(0x7e6)]({..._0x468f14,'numberFormat':{'pattern':_0x331086}}),_0x303013(void 0x0),_0x57102e(void 0x0);};return{'extensionGroups':[{'key':_0xafafd(0x64f),'actions':[{'key':_0xafafd(0x393),'label':_0x81bb68['t'](_0xafafd(0x802)),'icon':(0x0,r['jsx'])(t[_0xafafd(0x466)],{}),'onClick':()=>_0x6a2880(_0x1bead8)},{'key':_0xafafd(0x80c),'label':_0x81bb68['t'](_0xafafd(0x4ab)),'icon':(0x0,r[_0xafafd(0x6f1)])(t['NumberIcon'],{}),'render':(0x0,r[_0xafafd(0x6f1)])(e['Dropdown'],{'open':_0x73f38,'onOpenChange':_0x5e5c3e=>{_0x303013(_0x5e5c3e?_0x1bead8:void 0x0);},'overlay':(0x0,r[_0xafafd(0x6f1)])(Ot,{'onSelect':_0xe65446,'onMore':()=>{_0x303013(void 0x0),_0x57102e(_0x1bead8);}}),'children':(0x0,r[_0xafafd(0x6f1)])(_0xafafd(0x77e),{'children':(0x0,r['jsx'])(Ne,{'title':_0x81bb68['t']('shape-editor-ui.formulaShape.numberFormat'),'icon':(0x0,r[_0xafafd(0x6f1)])(t['NumberIcon'],{}),'active':_0x73f38})})})}]}],'panel':(0x0,r[_0xafafd(0x462)])(r['Fragment'],{'children':[_0x568905&&(0x0,r[_0xafafd(0x6f1)])(zt,{'open':!0x0,'identity':_0x4c8be1,'binding':_0x468f14,'onClose':()=>_0x6a2880(void 0x0),'onConfirm':(_0x455e41,_0x20fe0d)=>{const _0x7f0fe1=_0xafafd;_0x4c8be1[_0x7f0fe1(0x7e6)]({..._0x468f14,'formula':_0x455e41,'animationEnabled':_0x20fe0d}),_0x6a2880(void 0x0);}},_0x1bead8),_0x56f213&&(0x0,r[_0xafafd(0x6f1)])(Lt,{'open':!0x0,'pattern':(_0x1719be=(_0x53b42e=_0x468f14[_0xafafd(0x366)])==null?void 0x0:_0x53b42e[_0xafafd(0x284)])==null?o[_0xafafd(0x496)]:_0x1719be,'onClose':()=>_0x57102e(void 0x0),'onConfirm':_0xe65446},_0x1bead8)]})};}function zt(_0x3a3f00){const _0x9698af=_0x13379c;var _0x1c00e2,_0x4cf380,_0x245e1d;let {onClose:_0x5b5895,onConfirm:_0x2333a4}=_0x3a3f00,_0x2f7f14=(0x0,s[_0x9698af(0x24f)])(o[_0x9698af(0x80e)]),_0x2eb857=(0x0,s['useDependency'])(B),_0x1c3b20=(0x0,s[_0x9698af(0x24f)])(h['IDescriptionService']),_0x363b6a=(0x0,s['useDependency'])(p[_0x9698af(0x715)]),_0xb6bbd9=(0x0,s[_0x9698af(0x24f)])(o['ThemeService']),[_0x338d73,_0x5a0cc4]=(0x0,n[_0x9698af(0x659)])(_0x3a3f00['binding'][_0x9698af(0x30a)]),[_0xadb644,_0x58f30c]=(0x0,n[_0x9698af(0x659)])(_0x3a3f00[_0x9698af(0x646)][_0x9698af(0x490)]!==!0x1),[_0x44aea0,_0x3a0870]=(0x0,n[_0x9698af(0x659)])(''),[_0x5b4c57,_0x227228]=(0x0,n[_0x9698af(0x659)])([]),[_0x15d4ed,_0x29479b]=(0x0,n[_0x9698af(0x659)])(null),[_0x398fec,_0x4f845f]=(0x0,n[_0x9698af(0x659)])({'start':_0x3a3f00[_0x9698af(0x646)][_0x9698af(0x30a)][_0x9698af(0x135)],'end':_0x3a3f00[_0x9698af(0x646)][_0x9698af(0x30a)][_0x9698af(0x135)]}),_0x227cb7=(0x0,n[_0x9698af(0x216)])(null),_0x21356e=(0x0,n[_0x9698af(0x216)])(null),_0x547200=(0x0,n[_0x9698af(0x216)])(_0x338d73);_0x547200['current']=_0x338d73;let _0x5e0cce=(0x0,n[_0x9698af(0x216)])(_0x398fec);_0x5e0cce[_0x9698af(0x5ec)]=_0x398fec;let _0x292fbf=(0x0,n[_0x9698af(0x216)])([]),_0x450a16=(0x0,n['useCallback'])(()=>{_0x2eb857['close'](),_0x5b5895();},[_0x5b5895,_0x2eb857]),_0x12ab70=(0x0,n[_0x9698af(0x7bc)])(()=>{const _0x49f6af=_0x9698af;_0x2eb857['close'](),_0x2333a4(Vt(_0x547200[_0x49f6af(0x5ec)]),_0xadb644);},[_0xadb644,_0x2333a4,_0x2eb857]),_0x34ff1b=(_0x1c00e2=_0x5b4c57['find'](_0x4335f2=>_0x4335f2[_0x9698af(0x54c)]===_0x44aea0))==null?_0x5b4c57[0x0]:_0x1c00e2,_0x2d9912=(0x0,n[_0x9698af(0x7bc)])(_0x2cc037=>{const _0x37aca1=_0x9698af;var _0x4aad37;let _0x11cd28=_0x547200[_0x37aca1(0x5ec)],_0xc17283=_0x5e0cce[_0x37aca1(0x5ec)],_0x562738=_e({'formula':_0x11cd28,'sequenceNodes':(_0x4aad37=_0x363b6a[_0x37aca1(0x51e)](_0x11cd28[_0x37aca1(0x2b7)]('=')?_0x11cd28['slice'](0x1):_0x11cd28))==null?[]:_0x4aad37,'referenceSelections':_0x292fbf[_0x37aca1(0x5ec)],'selectionStart':_0xc17283[_0x37aca1(0x217)],'selectionEnd':_0xc17283['end'],'change':_0x2cc037});if(!_0x562738)return;_0x5a0cc4(_0x562738['formula']);let _0x304002={'start':_0x562738['selectionStart'],'end':_0x562738['selectionEnd']};_0x4f845f(_0x304002),_0x5e0cce[_0x37aca1(0x5ec)]=_0x304002,requestAnimationFrame(()=>{const _0x2ea693=_0x37aca1;var _0xa8b88b,_0x518cd2;(_0xa8b88b=_0x227cb7[_0x2ea693(0x5ec)])==null||_0xa8b88b['setSelectionRange'](_0x562738[_0x2ea693(0x5fe)],_0x562738['selectionEnd']),(_0x518cd2=_0x227cb7[_0x2ea693(0x5ec)])==null||_0x518cd2[_0x2ea693(0x73b)]();});},[_0x363b6a]);(0x0,n[_0x9698af(0x69d)])(()=>{const _0x3c07bd=_0x9698af;if(!_0x3a3f00[_0x3c07bd(0x5e1)]){_0x2eb857[_0x3c07bd(0x562)]();return;}let _0xb28f90=!0x1;return _0x2eb857[_0x3c07bd(0x2da)]()['then'](_0x5033ae=>{const _0xb05ff9=_0x3c07bd;var _0x2a0615,_0x58596c;if(_0xb28f90)return;_0x227228(_0x5033ae);let _0x580740=(_0x2a0615=_0x5033ae['find'](_0x2adee7=>_0x2adee7[_0xb05ff9(0x54c)]===_0x3a3f00['identity'][_0xb05ff9(0x54c)]))==null?_0x5033ae[0x0]:_0x2a0615;_0x3a0870((_0x58596c=_0x580740==null?void 0x0:_0x580740['unitId'])==null?'':_0x58596c);}),()=>{_0xb28f90=!0x0,_0x2eb857['scheduleClose']();};},[_0x3a3f00[_0x9698af(0x1a5)][_0x9698af(0x54c)],_0x3a3f00['open'],_0x2eb857]),(0x0,n['useEffect'])(()=>{const _0x4cd9f5=_0x9698af;!_0x3a3f00[_0x4cd9f5(0x5e1)]||!_0x34ff1b||!_0x15d4ed||(_0x2eb857[_0x4cd9f5(0x2b8)](_0x15d4ed),_0x2eb857[_0x4cd9f5(0x58d)](_0x34ff1b,_0x3a3f00[_0x4cd9f5(0x1a5)],_0x2d9912)[_0x4cd9f5(0x582)](()=>void 0x0));},[_0x2d9912,_0x3a3f00['identity'],_0x3a3f00['open'],_0x34ff1b,_0x2eb857,_0x15d4ed]);let _0x2612ec=(0x0,n[_0x9698af(0x7e0)])(()=>{const _0x56b62d=_0x9698af;var _0x27f85d;return(_0x27f85d=_0x363b6a[_0x56b62d(0x51e)](_0x338d73[_0x56b62d(0x2b7)]('=')?_0x338d73[_0x56b62d(0x2e1)](0x1):_0x338d73))==null?[]:_0x27f85d;},[_0x338d73,_0x363b6a]),_0x5cbb73=(_0x4cf380=(_0x245e1d=_0x338d73[_0x9698af(0x5dd)](/[A-Za-z.]+$/))==null?void 0x0:_0x245e1d[0x0])==null?'':_0x4cf380,_0x32eb97=_0x5cbb73?(0x0,g[_0x9698af(0x4e5)])(_0x1c3b20,_0x5cbb73,0x8):[],_0x3b62ef=(0x0,n[_0x9698af(0x7e0)])(()=>({'formulaRefColors':Array['from']({'length':0xc},(_0x14740b,_0x3bdf89)=>{const _0x157e2e=_0x9698af;let _0x36fdf4=_0xb6bbd9[_0x157e2e(0x706)](_0x157e2e(0x641)+(_0x3bdf89+0x1));return _0xb6bbd9[_0x157e2e(0x6cd)](_0x36fdf4)?_0xb6bbd9[_0x157e2e(0x706)](_0x36fdf4):_0x36fdf4;}),'numberColor':_0xb6bbd9[_0x9698af(0x706)](_0x9698af(0x610)),'stringColor':_0xb6bbd9['getColorFromTheme'](_0x9698af(0x2d6)),'plainTextColor':_0xb6bbd9[_0x9698af(0x706)](_0x9698af(0x7eb))}),[_0xb6bbd9]),_0x49d7a3=(0x0,g[_0x9698af(0x20d)])(_0x1c3b20,_0x3b62ef,_0x2612ec,{'includeTableReferences':!0x0});_0x292fbf[_0x9698af(0x5ec)]=_0x49d7a3[_0x9698af(0x2ee)];let _0x5c8a64=Bt(_0x338d73[_0x9698af(0x2b7)]('=')?_0x338d73[_0x9698af(0x2e1)](0x1):_0x338d73,_0x49d7a3[_0x9698af(0x80d)],_0x3b62ef[_0x9698af(0x426)]);(0x0,n[_0x9698af(0x69d)])(()=>{const _0x14be66=_0x9698af;_0x3a3f00[_0x14be66(0x5e1)]&&_0x2eb857[_0x14be66(0x41c)]({'formula':_0x338d73,'sequenceNodes':_0x2612ec,'refSelections':_0x49d7a3['refSelections'],'selectionStart':_0x398fec[_0x14be66(0x217)],'selectionEnd':_0x398fec[_0x14be66(0x3bd)]});},[_0x338d73,_0x2612ec,_0x398fec[_0x9698af(0x3bd)],_0x398fec[_0x9698af(0x217)],_0x49d7a3[_0x9698af(0x2ee)],_0x3a3f00[_0x9698af(0x5e1)],_0x2eb857]);let _0x168d8e=_0x4abe13=>{const _0x1f3cc5=_0x9698af;let _0x5b9e70=_0x4abe13[_0x1f3cc5(0x52c)];_0x4f845f({'start':_0x5b9e70[_0x1f3cc5(0x5fe)],'end':_0x5b9e70['selectionEnd']});};return(0x0,r[_0x9698af(0x6f1)])(e[_0x9698af(0x3fa)],{'open':_0x3a3f00[_0x9698af(0x5e1)],'width':_0x9698af(0x753),'title':_0x2f7f14['t'](_0x9698af(0x24b)),'draggable':!0x0,'mask':!0x1,'maskClosable':!0x1,'onClose':_0x450a16,'footer':(0x0,r[_0x9698af(0x462)])(_0x9698af(0x58a),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-4','children':[(0x0,r[_0x9698af(0x462)])(_0x9698af(0x58a),{'className':_0x9698af(0x248),'children':[(0x0,r[_0x9698af(0x6f1)])(e[_0x9698af(0x6c7)],{'defaultChecked':_0xadb644,'onChange':_0x58f30c}),(0x0,r[_0x9698af(0x6f1)])(_0x9698af(0x77e),{'children':_0x2f7f14['t']('shape-editor-ui.formulaShape.animation')})]}),(0x0,r['jsxs'])(_0x9698af(0x58a),{'className':_0x9698af(0x555),'children':[(0x0,r[_0x9698af(0x6f1)])(e[_0x9698af(0x16a)],{'onClick':_0x450a16,'children':_0x2f7f14['t']('shape-editor-ui.formulaShape.cancel')}),(0x0,r[_0x9698af(0x6f1)])(e[_0x9698af(0x16a)],{'variant':'primary','onClick':_0x12ab70,'children':_0x2f7f14['t'](_0x9698af(0x482))})]})]}),'children':(0x0,r[_0x9698af(0x462)])(_0x9698af(0x58a),{'className':_0x9698af(0x35f),'children':[(0x0,r['jsx'])(_0x9698af(0x4e6),{'className':_0x9698af(0x70b),'children':_0x5b4c57[_0x9698af(0x270)](_0x433059=>(0x0,r[_0x9698af(0x462)])('button',{'type':_0x9698af(0x7d2),'onClick':()=>{_0x3a0870(_0x433059['unitId']);},'className':_0x9698af(0x504)+((_0x34ff1b==null?void 0x0:_0x34ff1b['unitId'])===_0x433059[_0x9698af(0x54c)]?'univer-bg-primary-50\x20univer-text-primary-700':_0x9698af(0x280))+_0x9698af(0x260),'children':[(0x0,r['jsx'])(_0x9698af(0x58a),{'className':_0x9698af(0x194),'children':_0x433059[_0x9698af(0x7f9)]}),(0x0,r[_0x9698af(0x6f1)])(_0x9698af(0x58a),{'className':_0x9698af(0x3f1),'children':_0x433059[_0x9698af(0x1e6)]===o['UniverInstanceType']['UNIVER_SHEET']?_0x2f7f14['t'](_0x9698af(0x764)):_0x2f7f14['t'](_0x9698af(0x7e7))})]},_0x433059[_0x9698af(0x54c)]))}),(0x0,r[_0x9698af(0x462)])(_0x9698af(0x232),{'className':_0x9698af(0x3be),'children':[(0x0,r[_0x9698af(0x462)])(_0x9698af(0x58a),{'className':'univer-relative\x20univer-h-28\x20univer-shrink-0','children':[(0x0,r[_0x9698af(0x462)])(_0x9698af(0x58a),{'ref':_0x21356e,'aria-hidden':!0x0,'className':'univer-pointer-events-none\x20univer-absolute\x20univer-inset-0\x20univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-words\x20univer-rounded-md\x20univer-p-2\x20univer-font-mono\x20univer-text-base\x20univer-leading-6','children':[_0x338d73[_0x9698af(0x2b7)]('=')&&(0x0,r['jsx'])(_0x9698af(0x77e),{'style':{'color':_0x3b62ef[_0x9698af(0x426)]},'children':'='}),_0x5c8a64['map'](_0x2c841e=>(0x0,r[_0x9698af(0x6f1)])(_0x9698af(0x77e),{'style':{'color':_0x2c841e[_0x9698af(0x56c)]},'children':_0x2c841e[_0x9698af(0x39e)]},_0x2c841e[_0x9698af(0x217)]+'-'+_0x2c841e[_0x9698af(0x3bd)]))]}),(0x0,r[_0x9698af(0x6f1)])(e[_0x9698af(0x543)],{'ref':_0x227cb7,'value':_0x338d73,'autoFocus':!0x0,'spellCheck':!0x1,'className':_0x9698af(0x5e6),'style':{'caretColor':_0x3b62ef[_0x9698af(0x426)]},'onValueChange':_0x269666=>{_0x5a0cc4(_0x269666),requestAnimationFrame(()=>{const _0x26148f=_0x1fb5;let _0x17c4d1=_0x227cb7[_0x26148f(0x5ec)];_0x17c4d1&&_0x4f845f({'start':_0x17c4d1[_0x26148f(0x5fe)],'end':_0x17c4d1[_0x26148f(0x4e8)]});});},'onSelect':_0x168d8e,'onClick':_0x168d8e,'onKeyUp':_0x168d8e,'onScroll':_0x512304=>{const _0x83cad8=_0x9698af;_0x21356e[_0x83cad8(0x5ec)]&&(_0x21356e[_0x83cad8(0x5ec)][_0x83cad8(0x743)]=_0x512304[_0x83cad8(0x52c)][_0x83cad8(0x743)],_0x21356e[_0x83cad8(0x5ec)]['scrollLeft']=_0x512304[_0x83cad8(0x52c)]['scrollLeft']);},'placeholder':_0x2f7f14['t'](_0x9698af(0x78a))}),_0x32eb97['length']>0x0&&(0x0,r['jsx'])('div',{'className':_0x9698af(0x4f4),'children':_0x32eb97[_0x9698af(0x270)](_0x10c39e=>(0x0,r['jsxs'])('button',{'type':_0x9698af(0x7d2),'className':_0x9698af(0x364),'onClick':()=>_0x5a0cc4(''+_0x338d73[_0x9698af(0x2e1)](0x0,-_0x5cbb73[_0x9698af(0x135)])+_0x10c39e[_0x9698af(0x7f9)]+'('),'children':[(0x0,r[_0x9698af(0x6f1)])('span',{'className':_0x9698af(0x1ea),'children':_0x10c39e[_0x9698af(0x7f9)]}),(0x0,r['jsx'])('span',{'className':_0x9698af(0x62e),'children':_0x10c39e[_0x9698af(0x79c)]})]},_0x10c39e['name']))})]}),(0x0,r[_0x9698af(0x6f1)])(_0x9698af(0x58a),{'ref':_0x29479b,'className':'univer-min-h-0\x20univer-flex-1\x20univer-overflow-auto\x20univer-rounded\x20univer-border\x20univer-border-gray-200'})]})]})});}function Bt(_0x4df7af,_0x412a66,_0x101ab8){const _0x2aeb3f=_0x13379c;let _0x400dd9=[],_0x56457a=0x0;for(let _0x3c2ee1 of _0x412a66){var _0x55cf6d,_0x5404f6;_0x3c2ee1['st']>_0x56457a&&_0x400dd9[_0x2aeb3f(0x524)]({'start':_0x56457a,'end':_0x3c2ee1['st'],'text':_0x4df7af[_0x2aeb3f(0x2e1)](_0x56457a,_0x3c2ee1['st']),'color':_0x101ab8}),_0x400dd9['push']({'start':_0x3c2ee1['st'],'end':_0x3c2ee1['ed'],'text':_0x4df7af[_0x2aeb3f(0x2e1)](_0x3c2ee1['st'],_0x3c2ee1['ed']),'color':(_0x55cf6d=(_0x5404f6=_0x3c2ee1['ts'])==null||(_0x5404f6=_0x5404f6['cl'])==null?void 0x0:_0x5404f6[_0x2aeb3f(0x7c3)])==null?_0x101ab8:_0x55cf6d}),_0x56457a=_0x3c2ee1['ed'];}return _0x56457a<_0x4df7af[_0x2aeb3f(0x135)]&&_0x400dd9[_0x2aeb3f(0x524)]({'start':_0x56457a,'end':_0x4df7af[_0x2aeb3f(0x135)],'text':_0x4df7af[_0x2aeb3f(0x2e1)](_0x56457a),'color':_0x101ab8}),_0x400dd9;}function Vt(_0x445157){const _0x1338d3=_0x13379c;let _0x84f60b=_0x445157['trim']();return _0x84f60b&&!_0x84f60b[_0x1338d3(0x2b7)]('=')?'='+_0x84f60b:_0x84f60b;}function Ht(_0x355c44){const _0x4c8c3d=_0x13379c;var _0x37097c,_0x13ea12,_0x5251cc,_0x494070,_0x3a51c8,_0x1eccc7,_0x4550a9,_0xc28fdb,_0x4d6375,_0xf39b29,_0x48b87a,_0xea7a0d,_0x290545;let {shapeData:_0x9aa2b4,disableShapeOption:_0x186cfb,onUpdateShapeData:_0x218536,onUpdateShapeFillImage:_0x4f0a3e}=_0x355c44,_0x2a2e01=(0x0,s[_0x4c8c3d(0x24f)])(o['LocaleService']),_0x197f2a=(0x0,s[_0x4c8c3d(0x24f)])(o[_0x4c8c3d(0x502)]),_0x201dcd=(0x0,s[_0x4c8c3d(0x24f)])(o[_0x4c8c3d(0x76e)]),_0x5adc00=(0x0,n[_0x4c8c3d(0x216)])(null),_0x4896b2=_0x9aa2b4[_0x4c8c3d(0x234)],_0x3214e2=!!(_0x4896b2!=null&&_0x4896b2[_0x4c8c3d(0x3c6)]),[_0x5e054c,_0x286bc7]=(0x0,n[_0x4c8c3d(0x659)])((_0x37097c=_0x4896b2==null?void 0x0:_0x4896b2['imageOpacity'])==null?0x1:_0x37097c),[_0x3cdf3d,_0x45694c]=(0x0,n[_0x4c8c3d(0x659)])((_0x13ea12=_0x4896b2==null?void 0x0:_0x4896b2[_0x4c8c3d(0x532)])==null?C[_0x4c8c3d(0x56d)][_0x4c8c3d(0x1af)]:_0x13ea12),[_0x560233,_0x8b0e3a]=(0x0,n[_0x4c8c3d(0x659)])((_0x5251cc=_0x4896b2==null?void 0x0:_0x4896b2[_0x4c8c3d(0x732)])==null?!0x1:_0x5251cc),[_0x15ea02,_0x57d816]=(0x0,n[_0x4c8c3d(0x659)])((_0x494070=_0x4896b2==null||(_0x3a51c8=_0x4896b2[_0x4c8c3d(0x767)])==null?void 0x0:_0x3a51c8[_0x4c8c3d(0x163)])==null?0x0:_0x494070),[_0x570a5f,_0x17a481]=(0x0,n[_0x4c8c3d(0x659)])((_0x1eccc7=_0x4896b2==null||(_0x4550a9=_0x4896b2['imageTile'])==null?void 0x0:_0x4550a9[_0x4c8c3d(0x56e)])==null?0x0:_0x1eccc7),[_0x130b50,_0x2327cc]=(0x0,n[_0x4c8c3d(0x659)])((_0xc28fdb=_0x4896b2==null||(_0x4d6375=_0x4896b2['imageTile'])==null?void 0x0:_0x4d6375[_0x4c8c3d(0x1c2)])==null?0x1:_0xc28fdb),[_0x1fa0ce,_0x2f54b2]=(0x0,n[_0x4c8c3d(0x659)])((_0xf39b29=_0x4896b2==null||(_0x48b87a=_0x4896b2[_0x4c8c3d(0x767)])==null?void 0x0:_0x48b87a[_0x4c8c3d(0x692)])==null?0x1:_0xf39b29),[_0x156c4c,_0x22254d]=(0x0,n[_0x4c8c3d(0x659)])((_0xea7a0d=_0x4896b2==null||(_0x290545=_0x4896b2[_0x4c8c3d(0x767)])==null?void 0x0:_0x290545['alignment'])==null?'tl':_0xea7a0d),_0x190ca6=_0x3cdf3d===C['ImageFillModeEnum'][_0x4c8c3d(0x162)],_0x15f639=Math[_0x4c8c3d(0x250)]((0x1-_0x5e054c)*0x64),_0x45d3f7=Math[_0x4c8c3d(0x250)](_0x130b50*0x64),_0x4a89d5=Math[_0x4c8c3d(0x250)](_0x1fa0ce*0x64),_0xded1ca=[{'label':_0x2a2e01['t'](_0x4c8c3d(0x22d)),'value':'tl'},{'label':_0x2a2e01['t'](_0x4c8c3d(0x74c)),'value':'t'},{'label':_0x2a2e01['t'](_0x4c8c3d(0x3d5)),'value':'tr'},{'label':_0x2a2e01['t'](_0x4c8c3d(0x3c8)),'value':'l'},{'label':_0x2a2e01['t'](_0x4c8c3d(0x3e3)),'value':_0x4c8c3d(0x820)},{'label':_0x2a2e01['t']('shape-editor-ui.fill.picture.align.r'),'value':'r'},{'label':_0x2a2e01['t']('shape-editor-ui.fill.picture.align.bl'),'value':'bl'},{'label':_0x2a2e01['t'](_0x4c8c3d(0x737)),'value':'b'},{'label':_0x2a2e01['t'](_0x4c8c3d(0x2cb)),'value':'br'}],_0x854012=_0xce5a66=>{_0x218536({'oldShapeData':{'fill':_0x4896b2?{..._0x4896b2}:void 0x0}},{'fill':{..._0x4896b2,..._0xce5a66}});},_0x5c0ed4=_0x547ab4=>{const _0x1ce61=_0x4c8c3d;_0x854012({'imageTile':{..._0x4896b2==null?void 0x0:_0x4896b2[_0x1ce61(0x767)],..._0x547ab4}});},_0x4fb6f8=()=>{var _0x5da68b;return(_0x5da68b=_0x5adc00['current'])==null?void 0x0:_0x5da68b['click']();},_0x4f128b=async _0x379559=>{const _0xd92c61=_0x4c8c3d;var _0xf337e8;let _0x1e6251=(_0xf337e8=_0x379559[_0xd92c61(0x311)][_0xd92c61(0x6c9)])==null?void 0x0:_0xf337e8[0x0];if(!_0x1e6251)return;_0x379559[_0xd92c61(0x311)][_0xd92c61(0x6ea)]='';let _0x334f45=await _0x201dcd[_0xd92c61(0x7e5)](_0x1e6251);if(_0x334f45==null)return;let {imageSourceType:_0x2d507c,source:_0x2ef7c8,base64Cache:_0x108186}=_0x334f45,{image:_0x90f0ab}=await(0x0,S['getImageSize'])(_0x108186||'');_0x201dcd[_0xd92c61(0x3c4)](_0x2ef7c8,_0x2d507c,_0x90f0ab),_0x218536({'oldShapeData':{'fill':_0x4896b2?{..._0x4896b2}:void 0x0}},{'fill':{..._0x4896b2,'fillType':C[_0xd92c61(0x556)]['PictureFill'],'fillImageSource':_0x2ef7c8,'fillImageSourceType':_0x2d507c}}),_0x4f0a3e==null||_0x4f0a3e(_0x90f0ab);},_0x287c44=_0x4c8c3d(0x4d8),_0xd6a9ab=_0x4c8c3d(0x1ee);return(0x0,r[_0x4c8c3d(0x462)])(_0x4c8c3d(0x58a),{'className':_0x4c8c3d(0x179),'children':[(0x0,r[_0x4c8c3d(0x462)])('div',{'className':_0x4c8c3d(0x3a6),'children':[(0x0,r[_0x4c8c3d(0x6f1)])(_0x4c8c3d(0x77e),{'className':_0x287c44,'children':_0x2a2e01['t']('shape-editor-ui.fill.picture.source')}),(0x0,r['jsxs'])('div',{'className':_0x4c8c3d(0x4cc),'children':[(0x0,r['jsx'])(_0x4c8c3d(0x80f),{'ref':_0x5adc00,'type':_0x4c8c3d(0x461),'accept':_0x4c8c3d(0x6a9),'className':_0x4c8c3d(0x6b8),'onChange':_0x4f128b}),(0x0,r[_0x4c8c3d(0x462)])(_0x4c8c3d(0x58a),{'className':_0x4c8c3d(0x3e2),'children':[(0x0,r[_0x4c8c3d(0x6f1)])(_0x4c8c3d(0x7d2),{'type':_0x4c8c3d(0x7d2),'disabled':_0x186cfb,'className':(0x0,e[_0x4c8c3d(0x13a)])(e['borderClassName'],_0x4c8c3d(0x321)),'onClick':_0x4fb6f8,'children':(0x0,r['jsxs'])(_0x4c8c3d(0x77e),{'children':[_0x2a2e01['t']('shape-editor-ui.fill.picture.insert'),'\x20']})}),_0x3214e2&&(0x0,r['jsx'])(_0x4c8c3d(0x58a),{'className':(0x0,e['clsx'])(e[_0x4c8c3d(0x37b)],_0x4c8c3d(0x33b)),'children':(0x0,r[_0x4c8c3d(0x6f1)])(_0x4c8c3d(0x1f8),{'src':_0x4896b2==null?void 0x0:_0x4896b2['fillImageSource'],'alt':'','className':_0x4c8c3d(0x344)})})]})]})]}),(0x0,r['jsxs'])(_0x4c8c3d(0x58a),{'className':_0xd6a9ab,'children':[(0x0,r[_0x4c8c3d(0x6f1)])(_0x4c8c3d(0x77e),{'className':_0x287c44,'children':_0x2a2e01['t'](_0x4c8c3d(0x791))}),(0x0,r[_0x4c8c3d(0x6f1)])(_0x4c8c3d(0x58a),{'className':_0x4c8c3d(0x79e),'children':(0x0,r[_0x4c8c3d(0x6f1)])(e[_0x4c8c3d(0x528)],{'className':'univer-w-full','value':_0x15f639,'disabled':_0x186cfb,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x44b348=>_0x44b348+'%','parser':_0x3d06f0=>(_0x3d06f0==null?void 0x0:_0x3d06f0[_0x4c8c3d(0x5e2)]('%',''))||'','onChange':_0x2f9922=>{const _0x5d50cc=_0x4c8c3d;let _0x1e641f=(0x64-Math[_0x5d50cc(0x16d)](0x0,Math[_0x5d50cc(0x289)](0x64,_0x2f9922==null?0x0:_0x2f9922)))/0x64;_0x286bc7(_0x1e641f),_0x854012({'imageOpacity':_0x1e641f}),_0x197f2a[_0x5d50cc(0x560)](o[_0x5d50cc(0x4d0)],!0x1);},'onFocus':()=>_0x197f2a['setContextValue'](o[_0x4c8c3d(0x4d0)],!0x0),'onBlur':()=>_0x197f2a[_0x4c8c3d(0x560)](o[_0x4c8c3d(0x4d0)],!0x1)})})]}),(0x0,r[_0x4c8c3d(0x6f1)])(e[_0x4c8c3d(0x4aa)],{'checked':_0x190ca6,'disabled':_0x186cfb,'onChange':_0x37205e=>{const _0x198e5c=_0x4c8c3d;let _0x15f1bc=_0x37205e?C[_0x198e5c(0x56d)][_0x198e5c(0x162)]:C[_0x198e5c(0x56d)]['Stretch'];_0x45694c(_0x15f1bc),_0x854012({'imageFillMode':_0x15f1bc});},'children':(0x0,r[_0x4c8c3d(0x6f1)])('span',{'className':_0x4c8c3d(0x6bf),'children':_0x2a2e01['t'](_0x4c8c3d(0x5a8))})}),_0x190ca6&&(0x0,r[_0x4c8c3d(0x462)])(_0x4c8c3d(0x58a),{'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'])(_0x4c8c3d(0x58a),{'className':_0xd6a9ab,'children':[(0x0,r[_0x4c8c3d(0x6f1)])(_0x4c8c3d(0x77e),{'className':_0x287c44,'children':_0x2a2e01['t'](_0x4c8c3d(0x4c6))}),(0x0,r[_0x4c8c3d(0x6f1)])(_0x4c8c3d(0x58a),{'className':_0x4c8c3d(0x79e),'children':(0x0,r[_0x4c8c3d(0x6f1)])(e['InputNumber'],{'className':_0x4c8c3d(0x60a),'value':_0x15ea02,'disabled':_0x186cfb,'step':0x1,'onChange':_0x5bd23b=>{_0x5c0ed4({'offsetX':_0x5bd23b==null?0x0:_0x5bd23b}),_0x57d816(_0x5bd23b==null?0x0:_0x5bd23b);},'onFocus':()=>_0x197f2a[_0x4c8c3d(0x560)](o['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x197f2a[_0x4c8c3d(0x560)](o[_0x4c8c3d(0x4d0)],!0x1)})})]}),(0x0,r[_0x4c8c3d(0x462)])(_0x4c8c3d(0x58a),{'className':_0xd6a9ab,'children':[(0x0,r[_0x4c8c3d(0x6f1)])('span',{'className':_0x287c44,'children':_0x2a2e01['t'](_0x4c8c3d(0x6a5))}),(0x0,r['jsx'])('div',{'className':_0x4c8c3d(0x79e),'children':(0x0,r[_0x4c8c3d(0x6f1)])(e[_0x4c8c3d(0x528)],{'className':_0x4c8c3d(0x60a),'value':_0x570a5f,'disabled':_0x186cfb,'step':0x1,'onChange':_0x319299=>{_0x5c0ed4({'offsetY':_0x319299==null?0x0:_0x319299}),_0x17a481(_0x319299==null?0x0:_0x319299);},'onFocus':()=>_0x197f2a[_0x4c8c3d(0x560)](o[_0x4c8c3d(0x4d0)],!0x0),'onBlur':()=>_0x197f2a[_0x4c8c3d(0x560)](o[_0x4c8c3d(0x4d0)],!0x1)})})]}),(0x0,r['jsxs'])(_0x4c8c3d(0x58a),{'className':_0xd6a9ab,'children':[(0x0,r[_0x4c8c3d(0x6f1)])('span',{'className':_0x287c44,'children':_0x2a2e01['t']('shape-editor-ui.fill.picture.scaleX')}),(0x0,r[_0x4c8c3d(0x6f1)])(_0x4c8c3d(0x58a),{'className':'univer-w-20','children':(0x0,r[_0x4c8c3d(0x6f1)])(e['InputNumber'],{'className':_0x4c8c3d(0x60a),'value':_0x45d3f7,'disabled':_0x186cfb,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x405ba8=>_0x405ba8+'%','parser':_0x1f646b=>(_0x1f646b==null?void 0x0:_0x1f646b['replace']('%',''))||'','onChange':_0x5aa914=>{const _0x29aef4=_0x4c8c3d;let _0x5e9c54=Math[_0x29aef4(0x16d)](0.01,(_0x5aa914==null?0x64:_0x5aa914)/0x64);_0x2327cc(_0x5e9c54),_0x5c0ed4({'scaleX':_0x5e9c54}),_0x197f2a[_0x29aef4(0x560)](o[_0x29aef4(0x4d0)],!0x1);},'onFocus':()=>_0x197f2a[_0x4c8c3d(0x560)](o[_0x4c8c3d(0x4d0)],!0x0),'onBlur':()=>_0x197f2a['setContextValue'](o[_0x4c8c3d(0x4d0)],!0x1)})})]}),(0x0,r[_0x4c8c3d(0x462)])(_0x4c8c3d(0x58a),{'className':_0xd6a9ab,'children':[(0x0,r[_0x4c8c3d(0x6f1)])(_0x4c8c3d(0x77e),{'className':_0x287c44,'children':_0x2a2e01['t'](_0x4c8c3d(0x37f))}),(0x0,r[_0x4c8c3d(0x6f1)])(_0x4c8c3d(0x58a),{'className':_0x4c8c3d(0x79e),'children':(0x0,r[_0x4c8c3d(0x6f1)])(e[_0x4c8c3d(0x528)],{'className':'univer-w-full','value':_0x4a89d5,'disabled':_0x186cfb,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x50ed39=>_0x50ed39+'%','parser':_0x55ad40=>(_0x55ad40==null?void 0x0:_0x55ad40[_0x4c8c3d(0x5e2)]('%',''))||'','onChange':_0x576feb=>{const _0x3b4aeb=_0x4c8c3d;let _0x420c4e=Math[_0x3b4aeb(0x16d)](0.01,(_0x576feb==null?0x64:_0x576feb)/0x64);_0x2f54b2(_0x420c4e),_0x5c0ed4({'scaleY':_0x420c4e}),_0x197f2a[_0x3b4aeb(0x560)](o[_0x3b4aeb(0x4d0)],!0x1);},'onFocus':()=>_0x197f2a['setContextValue'](o[_0x4c8c3d(0x4d0)],!0x0),'onBlur':()=>_0x197f2a['setContextValue'](o[_0x4c8c3d(0x4d0)],!0x1)})})]}),(0x0,r['jsxs'])(_0x4c8c3d(0x58a),{'className':_0xd6a9ab,'children':[(0x0,r[_0x4c8c3d(0x6f1)])(_0x4c8c3d(0x77e),{'className':_0x287c44,'children':_0x2a2e01['t']('shape-editor-ui.fill.picture.alignment')}),(0x0,r[_0x4c8c3d(0x6f1)])(_0x4c8c3d(0x58a),{'className':_0x4c8c3d(0x56f),'children':(0x0,r[_0x4c8c3d(0x6f1)])(e[_0x4c8c3d(0x4ec)],{'className':_0x4c8c3d(0x60a),'value':_0x156c4c,'options':_0xded1ca,'disabled':_0x186cfb,'onChange':_0xc35ea7=>{_0x22254d(_0xc35ea7),_0x5c0ed4({'alignment':_0xc35ea7});}})})]})]}),(0x0,r[_0x4c8c3d(0x6f1)])(e[_0x4c8c3d(0x4aa)],{'checked':_0x560233,'disabled':_0x186cfb,'onChange':_0xf5a96=>{_0x8b0e3a(_0xf5a96),_0x854012({'imageRotateWithShape':_0xf5a96});},'children':(0x0,r[_0x4c8c3d(0x6f1)])('span',{'className':_0x4c8c3d(0x6bf),'children':_0x2a2e01['t'](_0x4c8c3d(0x5c9))})})]});}function Ut(_0x3c7e6e){const _0x2130e2=_0x13379c;var _0x4680ff,_0x27082b;return(_0x4680ff=(_0x27082b=_0x3c7e6e[_0x2130e2(0x234)])==null?void 0x0:_0x27082b['fillType'])==null?C[_0x2130e2(0x368)]['fillType']:_0x4680ff;}function Wt(_0x376588){const _0x466aeb=_0x13379c;var _0x1f12fc,_0x1f7dbd,_0x299730,_0x3d7a43;let _0x5c0bd6=(0x0,s[_0x466aeb(0x24f)])(o[_0x466aeb(0x80e)]),_0x5d4f98=(0x0,s['useDependency'])(o[_0x466aeb(0x502)]),{shapeData:_0x2771,isLineShape:_0x4b3837,shapeId:_0x5e005b,disableShapeOption:_0x58edea,onUpdateShapeData:_0x485a67,onUpdateShapeFillImage:_0x4b066b}=_0x376588,[_0x4af97f,_0x4f2bec]=(0x0,n[_0x466aeb(0x659)])(()=>Ut(_0x2771)),[_0x42fa60,_0x58df7c]=(0x0,n[_0x466aeb(0x659)])((_0x1f12fc=(_0x1f7dbd=_0x2771[_0x466aeb(0x234)])==null?void 0x0:_0x1f7dbd[_0x466aeb(0x56c)])==null?C[_0x466aeb(0x368)]['fill']:_0x1f12fc),[_0x59abf5,_0x2b6676]=(0x0,n['useState'])((_0x299730=(_0x3d7a43=_0x2771[_0x466aeb(0x234)])==null?void 0x0:_0x3d7a43[_0x466aeb(0x35e)])==null?C[_0x466aeb(0x368)][_0x466aeb(0x59b)]:_0x299730),[_0x23e2d5,_0x47d76b]=(0x0,n[_0x466aeb(0x659)])(!0x1);if(_0x4b3837)return null;let _0x5c6711=0x64-_0x59abf5*0x64;return(0x0,r[_0x466aeb(0x462)])('div',{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3','children':[(0x0,r['jsxs'])(e[_0x466aeb(0x650)],{'value':_0x4af97f,'disabled':_0x58edea,'onChange':_0x55a6d0=>{const _0x2a68c9=_0x466aeb;var _0x43877b;_0x485a67({'oldShapeData':{'fill':{'fillType':(_0x43877b=_0x2771[_0x2a68c9(0x234)])==null?void 0x0:_0x43877b['fillType']}}},{'fill':{'fillType':_0x55a6d0}}),_0x4f2bec(_0x55a6d0);},'direction':_0x466aeb(0x550),'children':[(0x0,r['jsx'])(e[_0x466aeb(0x5ee)],{'value':C[_0x466aeb(0x556)][_0x466aeb(0x3d0)],'children':(0x0,r['jsx'])('span',{'className':_0x466aeb(0x6bf),'children':_0x5c0bd6['t'](_0x466aeb(0x652))})}),(0x0,r[_0x466aeb(0x6f1)])(e[_0x466aeb(0x5ee)],{'value':C[_0x466aeb(0x556)][_0x466aeb(0x4b9)],'children':(0x0,r['jsx'])(_0x466aeb(0x77e),{'className':_0x466aeb(0x6bf),'children':_0x5c0bd6['t']('shape-editor-ui.fill.solidFill')})}),(0x0,r[_0x466aeb(0x6f1)])(e['Radio'],{'value':C[_0x466aeb(0x556)][_0x466aeb(0x51c)],'children':(0x0,r[_0x466aeb(0x6f1)])(_0x466aeb(0x77e),{'className':'univer-text-sm','children':_0x5c0bd6['t'](_0x466aeb(0x80a))})}),(0x0,r[_0x466aeb(0x6f1)])(e[_0x466aeb(0x5ee)],{'value':C[_0x466aeb(0x556)][_0x466aeb(0x682)],'children':(0x0,r[_0x466aeb(0x6f1)])(_0x466aeb(0x77e),{'className':'univer-text-sm','children':_0x5c0bd6['t']('shape-editor-ui.fill.pictureFill')})})]}),_0x4af97f===C[_0x466aeb(0x556)][_0x466aeb(0x4b9)]&&(0x0,r[_0x466aeb(0x462)])(_0x466aeb(0x58a),{'className':_0x466aeb(0x153),'children':[(0x0,r['jsxs'])('div',{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r[_0x466aeb(0x6f1)])(_0x466aeb(0x77e),{'className':_0x466aeb(0x134),'children':_0x5c0bd6['t']('shape-editor-ui.fill.color')}),(0x0,r[_0x466aeb(0x6f1)])(e['Dropdown'],{'disabled':_0x58edea,'overlay':(0x0,r[_0x466aeb(0x6f1)])(_0x466aeb(0x58a),{'className':_0x466aeb(0x333),'children':(0x0,r['jsx'])(e[_0x466aeb(0x369)],{'value':_0x42fa60,'onChange':_0x2a5e8c=>{const _0x5e7e4b=_0x466aeb;var _0x128dc6;_0x485a67({'oldShapeData':{'fill':{'color':(_0x128dc6=_0x2771[_0x5e7e4b(0x234)])==null?void 0x0:_0x128dc6[_0x5e7e4b(0x56c)]}}},{'fill':{'color':_0x2a5e8c}}),_0x58df7c(_0x2a5e8c),_0x47d76b(!0x1);}})}),'open':_0x23e2d5,'onOpenChange':_0x47d76b,'children':(0x0,r[_0x466aeb(0x462)])('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[_0x466aeb(0x6f1)])(t[_0x466aeb(0x277)],{'className':_0x466aeb(0x193),'extend':{'colorChannel1':_0x42fa60}}),(0x0,r[_0x466aeb(0x6f1)])(t[_0x466aeb(0x69e)],{'className':(0x0,e[_0x466aeb(0x13a)])(_0x466aeb(0x73a),{'univer-rotate-180':_0x23e2d5})})]})})]}),(0x0,r['jsxs'])(_0x466aeb(0x58a),{'className':_0x466aeb(0x1ee),'children':[(0x0,r[_0x466aeb(0x6f1)])('span',{'className':_0x466aeb(0x4d8),'children':_0x5c0bd6['t'](_0x466aeb(0x791))}),(0x0,r[_0x466aeb(0x6f1)])(_0x466aeb(0x58a),{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':(0x0,r[_0x466aeb(0x6f1)])(_0x466aeb(0x58a),{'className':_0x466aeb(0x79e),'children':(0x0,r['jsx'])(e['InputNumber'],{'className':'univer-w-full','value':_0x5c6711,'disabled':_0x58edea,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x468f08=>_0x468f08+'%','parser':_0x124d33=>(_0x124d33==null?void 0x0:_0x124d33[_0x466aeb(0x5e2)]('%',''))||'','onChange':_0x1277e3=>{const _0x38ee39=_0x466aeb;let _0x5e663b=(0x64-Math[_0x38ee39(0x16d)](0x0,Math[_0x38ee39(0x289)](0x64,_0x1277e3==null?0x0:_0x1277e3)))/0x64;_0x2b6676(_0x5e663b),_0x485a67({'oldShapeData':{'fill':{..._0x2771[_0x38ee39(0x234)],'fillType':_0x4af97f}}},{'fill':{..._0x2771[_0x38ee39(0x234)],'fillType':_0x4af97f,'opacity':_0x5e663b}}),_0x5d4f98[_0x38ee39(0x560)](o[_0x38ee39(0x4d0)],!0x1);},'onFocus':()=>_0x5d4f98[_0x466aeb(0x560)](o['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>{const _0x3e54bd=_0x466aeb;_0x5d4f98[_0x3e54bd(0x560)](o['FOCUSING_PANEL_EDITOR'],!0x1);}})})})]})]}),_0x4af97f===C[_0x466aeb(0x556)][_0x466aeb(0x51c)]&&(0x0,r[_0x466aeb(0x6f1)])(qt,{'shapeData':_0x2771,'disableShapeOption':_0x58edea,'onUpdate':_0x14decd=>{const _0x374a13=_0x466aeb;_0x485a67({'oldShapeData':{'fill':{..._0x2771[_0x374a13(0x234)]}}},{'fill':{..._0x2771[_0x374a13(0x234)],..._0x14decd}});}}),_0x4af97f===C[_0x466aeb(0x556)]['PictureFill']&&(0x0,r[_0x466aeb(0x6f1)])(Ht,{'shapeId':_0x5e005b,'shapeData':_0x2771,'disableShapeOption':_0x58edea,'onUpdateShapeData':_0x485a67,'onUpdateShapeFillImage':_0x4b066b})]});}function Gt(_0x240c87){const _0x38835=_0x13379c;switch(_0x240c87){case C['ShapeGradientTypeEnum'][_0x38835(0x34c)]:return _0x38835(0x824);case C[_0x38835(0x7e9)][_0x38835(0x11f)]:return _0x38835(0x48d);case C[_0x38835(0x7e9)][_0x38835(0x446)]:return'angular';case C[_0x38835(0x7e9)][_0x38835(0x731)]:return _0x38835(0x6ce);default:return _0x38835(0x824);}}function Kt(_0x3c0923){const _0x5c0b04=_0x13379c;switch(_0x3c0923){case _0x5c0b04(0x824):return C[_0x5c0b04(0x7e9)][_0x5c0b04(0x34c)];case _0x5c0b04(0x48d):return C['ShapeGradientTypeEnum'][_0x5c0b04(0x11f)];case'angular':return C[_0x5c0b04(0x7e9)][_0x5c0b04(0x446)];case'diamond':return C[_0x5c0b04(0x7e9)]['Diamond'];default:return C[_0x5c0b04(0x7e9)][_0x5c0b04(0x34c)];}}function qt(_0x3d06a4){const _0x33fb4e=_0x13379c;let {shapeData:_0x3b3987,disableShapeOption:_0x3b8ea0,onUpdate:_0x4e8a68}=_0x3d06a4,_0x347684=(0x0,n['useMemo'])(()=>{const _0x3e324f=_0x1fb5;var _0x1eaae1,_0x1e9c11;let _0x18efb6=_0x3b3987[_0x3e324f(0x234)];return{'type':Gt((_0x1eaae1=_0x18efb6==null?void 0x0:_0x18efb6[_0x3e324f(0x546)])==null?C['ShapeDefaultConfig'][_0x3e324f(0x546)]:_0x1eaae1),'angle':(_0x1e9c11=_0x18efb6==null?void 0x0:_0x18efb6[_0x3e324f(0x13f)])==null?C[_0x3e324f(0x368)][_0x3e324f(0x13f)]:_0x1e9c11,'stops':_0x18efb6!=null&&_0x18efb6[_0x3e324f(0x648)]&&_0x18efb6[_0x3e324f(0x648)][_0x3e324f(0x135)]>=0x2?_0x18efb6[_0x3e324f(0x648)][_0x3e324f(0x270)](_0x2d8ed1=>({'color':_0x2d8ed1[_0x3e324f(0x56c)],'offset':_0x2d8ed1[_0x3e324f(0x697)]*0x64,'opacity':_0x2d8ed1['opacity']})):[{'color':(_0x18efb6==null?void 0x0:_0x18efb6[_0x3e324f(0x56c)])||C[_0x3e324f(0x368)][_0x3e324f(0x234)],'offset':0x0},{'color':C[_0x3e324f(0x368)][_0x3e324f(0x1b3)],'offset':0x64}]};},[_0x3b3987['fill']]);return(0x0,r[_0x33fb4e(0x6f1)])(_0x33fb4e(0x58a),{'className':_0x33fb4e(0x145),'children':(0x0,r[_0x33fb4e(0x6f1)])(e[_0x33fb4e(0x4d3)],{'value':_0x347684,'onChange':_0x11f8b6=>{const _0x4ffb11=_0x33fb4e;let _0x5f38a3=Kt(_0x11f8b6['type']),_0xa65382=_0x11f8b6[_0x4ffb11(0x1c1)];_0x4e8a68({'gradientType':_0x5f38a3,'gradientAngle':_0xa65382,'gradientStops':_0x11f8b6[_0x4ffb11(0x375)]['map'](_0x379cb3=>({'color':_0x379cb3[_0x4ffb11(0x56c)],'position':_0x379cb3[_0x4ffb11(0x680)]/0x64,'opacity':_0x379cb3[_0x4ffb11(0x35e)]}))});}})});}function Jt(_0x57556b){const _0x36d691=_0x13379c;var _0x3f2960,_0x56bb02,_0x55457c,_0x20be65,_0x5d0348,_0x58b2fc,_0x216a0c,_0x1a07d2,_0x4c97d7,_0x14f321,_0x3eb63b,_0x3ce21f,_0x4ec8fb,_0x575f12,_0x4091fb,_0x22fbd2,_0x255af5;let _0x4a2ee8=(0x0,s[_0x36d691(0x24f)])(o[_0x36d691(0x80e)]),_0x271c82=(0x0,s[_0x36d691(0x24f)])(o[_0x36d691(0x502)]),{shapeData:_0x1f475e,isLineShape:_0x457942,disableShapeOption:_0x636405,onUpdateShapeData:_0x125e1e,onUpdateLineShapeData:_0x2597f0}=_0x57556b,_0x45dfe2=_0x1f475e['stroke'],[_0x18c862,_0x4a6f06]=(0x0,n[_0x36d691(0x659)])((_0x3f2960=_0x45dfe2==null?void 0x0:_0x45dfe2['lineStrokeType'])==null?C[_0x36d691(0x368)]['lineType']:_0x3f2960),[_0x378dd1,_0x198e5d]=(0x0,n['useState'])((_0x56bb02=_0x45dfe2==null?void 0x0:_0x45dfe2[_0x36d691(0x56c)])==null?C['ShapeDefaultConfig'][_0x36d691(0x7f7)]:_0x56bb02),[_0x414f51,_0x4eac5]=(0x0,n[_0x36d691(0x659)])((_0x55457c=_0x45dfe2==null?void 0x0:_0x45dfe2[_0x36d691(0x35e)])==null?C[_0x36d691(0x368)]['strokeOpacity']:_0x55457c),[_0x536395,_0x5ccd4e]=(0x0,n['useState'])((_0x20be65=_0x45dfe2==null?void 0x0:_0x45dfe2[_0x36d691(0x23d)])==null?C[_0x36d691(0x368)][_0x36d691(0x676)]:_0x20be65),[_0x48d9a8,_0x506c2e]=(0x0,n[_0x36d691(0x659)])((_0x5d0348=_0x45dfe2==null?void 0x0:_0x45dfe2['cornerRadius'])==null?C[_0x36d691(0x368)][_0x36d691(0x4df)]:_0x5d0348),[_0x562d9c,_0x204149]=(0x0,n[_0x36d691(0x659)])((_0x58b2fc=_0x45dfe2==null?void 0x0:_0x45dfe2[_0x36d691(0x233)])==null?C[_0x36d691(0x368)][_0x36d691(0x720)]:_0x58b2fc),[_0x3c58c8,_0x229913]=(0x0,n['useState'])((_0x216a0c=_0x45dfe2==null?void 0x0:_0x45dfe2['capType'])==null?C[_0x36d691(0x368)][_0x36d691(0x6f8)]:_0x216a0c),[_0x472df3,_0x110ed3]=(0x0,n[_0x36d691(0x659)])((_0x1a07d2=_0x45dfe2==null?void 0x0:_0x45dfe2[_0x36d691(0x43c)])==null?C[_0x36d691(0x368)]['lineJoinType']:_0x1a07d2),[_0x16b07d,_0x2bcc31]=(0x0,n['useState'])((_0x4c97d7=_0x45dfe2==null?void 0x0:_0x45dfe2['sketchType'])==null?C[_0x36d691(0x368)]['sketchType']:_0x4c97d7),_0xed0652=_0x1f475e,[_0x41af87,_0xb4d94b]=(0x0,n[_0x36d691(0x659)])((_0x14f321=(_0x3eb63b=_0xed0652['ln'])==null||(_0x3eb63b=_0x3eb63b[_0x36d691(0x4f6)])==null?void 0x0:_0x3eb63b[_0x36d691(0x1e6)])==null?C[_0x36d691(0x660)]['None']:_0x14f321),[_0x3a5029,_0x583226]=(0x0,n['useState'])((_0x3ce21f=(_0x4ec8fb=_0xed0652['ln'])==null||(_0x4ec8fb=_0x4ec8fb['startArrow'])==null?void 0x0:_0x4ec8fb['size'])==null?C[_0x36d691(0x4c7)][_0x36d691(0x756)]:_0x3ce21f),[_0x2fa862,_0x493085]=(0x0,n[_0x36d691(0x659)])((_0x575f12=(_0x4091fb=_0xed0652['ln'])==null||(_0x4091fb=_0x4091fb[_0x36d691(0x7fd)])==null?void 0x0:_0x4091fb['type'])==null?C[_0x36d691(0x660)][_0x36d691(0x48c)]:_0x575f12),[_0x5ede47,_0x38f990]=(0x0,n[_0x36d691(0x659)])((_0x22fbd2=(_0x255af5=_0xed0652['ln'])==null||(_0x255af5=_0x255af5['endArrow'])==null?void 0x0:_0x255af5[_0x36d691(0x6c2)])==null?C[_0x36d691(0x4c7)][_0x36d691(0x756)]:_0x22fbd2),[_0x2823b0,_0x15dc0f]=(0x0,n[_0x36d691(0x659)])(!0x1),_0xdaef26=0x64-_0x414f51*0x64,_0x5a233e=[{'label':_0x4a2ee8['t'](_0x36d691(0x2b5)),'value':String(C[_0x36d691(0x2aa)]['Solid'])},{'label':_0x4a2ee8['t'](_0x36d691(0x2eb)),'value':String(C['ShapeLineDashEnum'][_0x36d691(0x2c0)])},{'label':_0x4a2ee8['t'](_0x36d691(0x65c)),'value':String(C[_0x36d691(0x2aa)][_0x36d691(0x454)])},{'label':_0x4a2ee8['t'](_0x36d691(0x133)),'value':String(C['ShapeLineDashEnum'][_0x36d691(0x5cd)])},{'label':_0x4a2ee8['t']('shape-editor-ui.line.dashType.dashDot'),'value':String(C[_0x36d691(0x2aa)][_0x36d691(0x4c1)])},{'label':_0x4a2ee8['t'](_0x36d691(0x2bf)),'value':String(C[_0x36d691(0x2aa)][_0x36d691(0x16c)])},{'label':_0x4a2ee8['t'](_0x36d691(0x700)),'value':String(C[_0x36d691(0x2aa)][_0x36d691(0x336)])},{'label':_0x4a2ee8['t'](_0x36d691(0x410)),'value':String(C[_0x36d691(0x2aa)][_0x36d691(0x35c)])}],_0x59bc1a=[{'label':_0x4a2ee8['t'](_0x36d691(0x2d1)),'value':String(C[_0x36d691(0x385)]['Flat'])},{'label':_0x4a2ee8['t']('shape-editor-ui.line.capType.round'),'value':String(C[_0x36d691(0x385)][_0x36d691(0x61b)])},{'label':_0x4a2ee8['t']('shape-editor-ui.line.capType.square'),'value':String(C[_0x36d691(0x385)][_0x36d691(0x519)])}],_0x326514=[{'label':_0x4a2ee8['t'](_0x36d691(0x6ed)),'value':String(C[_0x36d691(0x529)][_0x36d691(0x48c)])},{'label':_0x4a2ee8['t'](_0x36d691(0x1f6)),'value':String(C[_0x36d691(0x529)]['Curved'])},{'label':_0x4a2ee8['t'](_0x36d691(0x184)),'value':String(C['ShapeSketchTypeEnum'][_0x36d691(0x6f3)])},{'label':_0x4a2ee8['t'](_0x36d691(0x803)),'value':String(C[_0x36d691(0x529)][_0x36d691(0x56a)])}],_0x4f9b86=[{'label':_0x4a2ee8['t'](_0x36d691(0x282)),'value':String(C['ShapeLineJoinEnum'][_0x36d691(0x3ed)])},{'label':_0x4a2ee8['t'](_0x36d691(0x702)),'value':String(C[_0x36d691(0x7bf)][_0x36d691(0x61b)])},{'label':_0x4a2ee8['t'](_0x36d691(0x39d)),'value':String(C[_0x36d691(0x7bf)]['Bevel'])}],_0x1a4aa4=[{'label':_0x4a2ee8['t'](_0x36d691(0x78f)),'value':String(C[_0x36d691(0x660)][_0x36d691(0x48c)])},{'label':_0x4a2ee8['t'](_0x36d691(0x325)),'value':String(C[_0x36d691(0x660)][_0x36d691(0x409)])},{'label':_0x4a2ee8['t'](_0x36d691(0x415)),'value':String(C[_0x36d691(0x660)][_0x36d691(0x7a8)])},{'label':_0x4a2ee8['t']('shape-editor-ui.line.arrowType.stealthArrow'),'value':String(C['ShapeArrowTypeEnum'][_0x36d691(0x29f)])},{'label':_0x4a2ee8['t'](_0x36d691(0x792)),'value':String(C[_0x36d691(0x660)][_0x36d691(0x468)])},{'label':_0x4a2ee8['t'](_0x36d691(0x6ba)),'value':String(C[_0x36d691(0x660)][_0x36d691(0x5bb)])}],_0x446773=[{'label':_0x4a2ee8['t'](_0x36d691(0x4e1)),'value':String(C[_0x36d691(0x4c7)][_0x36d691(0x5d7)])},{'label':_0x4a2ee8['t'](_0x36d691(0x4ff)),'value':String(C[_0x36d691(0x4c7)][_0x36d691(0x756)])},{'label':_0x4a2ee8['t']('shape-editor-ui.line.arrowSize.large'),'value':String(C[_0x36d691(0x4c7)][_0x36d691(0x66d)])}];return(0x0,r['jsxs'])(_0x36d691(0x58a),{'className':_0x36d691(0x371),'children':[(0x0,r[_0x36d691(0x462)])(e[_0x36d691(0x650)],{'value':String(_0x18c862),'disabled':_0x636405,'onChange':_0x4e981c=>{const _0x186dcb=_0x36d691;var _0x5c00fa;_0x4a6f06(Number(_0x4e981c)),_0x125e1e({'oldShapeData':{'stroke':{'lineStrokeType':(_0x5c00fa=_0x1f475e[_0x186dcb(0x7f7)])==null?void 0x0:_0x5c00fa[_0x186dcb(0x45c)]}}},{'stroke':{'lineStrokeType':Number(_0x4e981c)}});},'direction':_0x36d691(0x550),'children':[(0x0,r['jsx'])(e['Radio'],{'value':String(C[_0x36d691(0x38c)][_0x36d691(0x642)]),'children':(0x0,r[_0x36d691(0x6f1)])(_0x36d691(0x77e),{'className':_0x36d691(0x6bf),'children':_0x4a2ee8['t'](_0x36d691(0x39a))})}),(0x0,r['jsx'])(e[_0x36d691(0x5ee)],{'value':String(C[_0x36d691(0x38c)][_0x36d691(0x514)]),'children':(0x0,r[_0x36d691(0x6f1)])(_0x36d691(0x77e),{'className':'univer-text-sm','children':_0x4a2ee8['t'](_0x36d691(0x74a))})})]}),_0x18c862!==C[_0x36d691(0x38c)][_0x36d691(0x642)]&&(0x0,r['jsxs'])(_0x36d691(0x58a),{'className':_0x36d691(0x153),'children':[(0x0,r['jsxs'])(_0x36d691(0x58a),{'className':_0x36d691(0x400),'children':[(0x0,r[_0x36d691(0x6f1)])(_0x36d691(0x77e),{'className':_0x36d691(0x134),'children':_0x4a2ee8['t'](_0x36d691(0x13d))}),(0x0,r[_0x36d691(0x6f1)])(e['Dropdown'],{'disabled':_0x636405,'overlay':(0x0,r[_0x36d691(0x6f1)])('div',{'className':'univer-rounded-lg\x20univer-p-3','children':(0x0,r[_0x36d691(0x6f1)])(e[_0x36d691(0x369)],{'value':_0x378dd1,'onChange':_0x5115dd=>{const _0x13cf46=_0x36d691;var _0x1e7bb3;_0x125e1e({'oldShapeData':{'stroke':{'color':(_0x1e7bb3=_0x1f475e[_0x13cf46(0x7f7)])==null?void 0x0:_0x1e7bb3[_0x13cf46(0x56c)]}}},{'stroke':{'color':_0x5115dd}}),_0x198e5d(_0x5115dd),_0x15dc0f(!0x1);}})}),'open':_0x2823b0,'onOpenChange':_0x15dc0f,'children':(0x0,r[_0x36d691(0x462)])('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['ShapeStrokeColorDoubleIcon'],{'className':_0x36d691(0x193),'extend':{'colorChannel1':_0x378dd1}}),(0x0,r[_0x36d691(0x6f1)])(t[_0x36d691(0x69e)],{'className':(0x0,e['clsx'])('univer-text-gray-600\x20univer-transition-transform',{'univer-rotate-180':_0x2823b0})})]})})]}),(0x0,r[_0x36d691(0x462)])(_0x36d691(0x58a),{'className':_0x36d691(0x1ee),'children':[(0x0,r[_0x36d691(0x6f1)])(_0x36d691(0x77e),{'className':'univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4a2ee8['t'](_0x36d691(0x139))}),(0x0,r[_0x36d691(0x6f1)])(_0x36d691(0x58a),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':(0x0,r[_0x36d691(0x6f1)])(_0x36d691(0x58a),{'className':'univer-w-20\x20univer-flex-1','children':(0x0,r[_0x36d691(0x6f1)])(e[_0x36d691(0x528)],{'className':'univer-w-full','value':_0xdaef26,'disabled':_0x636405,'min':0x0,'max':0x64,'formatter':_0x51e3aa=>_0x51e3aa+'%','parser':_0x2bddcf=>(_0x2bddcf==null?void 0x0:_0x2bddcf[_0x36d691(0x5e2)]('%',''))||'','onChange':_0x1833bf=>{const _0x441e40=_0x36d691;var _0x5519b2;let _0x269f57=(0x64-Math[_0x441e40(0x16d)](0x0,Math[_0x441e40(0x289)](0x64,_0x1833bf==null?0x0:_0x1833bf)))/0x64;_0x4eac5(_0x269f57),_0x125e1e({'oldShapeData':{'stroke':{'opacity':(_0x5519b2=_0x1f475e[_0x441e40(0x7f7)])==null?void 0x0:_0x5519b2[_0x441e40(0x35e)]}}},{'stroke':{'opacity':_0x269f57}}),_0x271c82[_0x441e40(0x560)](o[_0x441e40(0x4d0)],!0x1);},'onFocus':()=>_0x271c82[_0x36d691(0x560)](o[_0x36d691(0x4d0)],!0x0),'onBlur':_0x46afdc=>{const _0x56687b=_0x36d691;_0x271c82[_0x56687b(0x560)](o['FOCUSING_PANEL_EDITOR'],!0x1);}})})})]}),(0x0,r[_0x36d691(0x462)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[(0x0,r[_0x36d691(0x6f1)])(_0x36d691(0x77e),{'className':_0x36d691(0x134),'children':_0x4a2ee8['t'](_0x36d691(0x1ac))}),(0x0,r['jsx'])(_0x36d691(0x58a),{'className':_0x36d691(0x79e),'children':(0x0,r[_0x36d691(0x6f1)])(e[_0x36d691(0x528)],{'className':_0x36d691(0x60a),'disabled':_0x636405,'value':_0x536395,'min':0.25,'max':0x64,'step':0.25,'onChange':_0x18a9f=>{const _0x451b51=_0x36d691;if(!Number['isNaN'](_0x18a9f)&&_0x18a9f!==null){var _0x4ea459;_0x125e1e({'oldShapeData':{'stroke':{'width':(_0x4ea459=_0x1f475e['stroke'])==null?void 0x0:_0x4ea459[_0x451b51(0x23d)]}}},{'stroke':{'width':_0x18a9f}});}_0x271c82[_0x451b51(0x560)](o[_0x451b51(0x4d0)],!0x1);},'onFocus':()=>_0x271c82[_0x36d691(0x560)](o[_0x36d691(0x4d0)],!0x0),'onBlur':_0x237a0c=>{const _0x543d7c=_0x36d691;_0x271c82[_0x543d7c(0x560)](o['FOCUSING_PANEL_EDITOR'],!0x1);}})})]}),_0x457942&&(0x0,r[_0x36d691(0x462)])(_0x36d691(0x58a),{'className':_0x36d691(0x1ee),'children':[(0x0,r[_0x36d691(0x6f1)])(_0x36d691(0x77e),{'className':_0x36d691(0x134),'children':_0x4a2ee8['t'](_0x36d691(0x679))}),(0x0,r[_0x36d691(0x6f1)])('div',{'className':'univer-w-20','children':(0x0,r[_0x36d691(0x6f1)])(e[_0x36d691(0x528)],{'className':'univer-w-full','disabled':_0x636405,'value':_0x48d9a8,'min':0x0,'step':0x1,'onChange':_0x368db4=>{const _0x508e38=_0x36d691;var _0x101860;let _0x41714d=Math['max'](0x0,_0x368db4==null?0x0:_0x368db4);_0x506c2e(_0x41714d),_0x125e1e({'oldShapeData':{'stroke':{'cornerRadius':(_0x101860=_0x1f475e[_0x508e38(0x7f7)])==null?void 0x0:_0x101860[_0x508e38(0x4df)]}}},{'stroke':{'cornerRadius':_0x41714d}}),_0x271c82[_0x508e38(0x560)](o['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x271c82[_0x36d691(0x560)](o['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>{_0x271c82['setContextValue'](o['FOCUSING_PANEL_EDITOR'],!0x1);}})})]}),(0x0,r[_0x36d691(0x462)])(_0x36d691(0x58a),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r[_0x36d691(0x6f1)])(_0x36d691(0x77e),{'className':_0x36d691(0x134),'children':_0x4a2ee8['t'](_0x36d691(0x776))}),(0x0,r['jsx'])('div',{'className':_0x36d691(0x56f),'children':(0x0,r[_0x36d691(0x6f1)])(e['Select'],{'className':_0x36d691(0x60a),'value':String(_0x562d9c),'options':_0x5a233e,'disabled':_0x636405,'onChange':_0x1f9a38=>{const _0x494f7c=_0x36d691;var _0x286a62;_0x204149(Number(_0x1f9a38)),_0x125e1e({'oldShapeData':{'stroke':{'dashType':(_0x286a62=_0x1f475e[_0x494f7c(0x7f7)])==null?void 0x0:_0x286a62[_0x494f7c(0x233)]}}},{'stroke':{'dashType':Number(_0x1f9a38)}});}})})]}),(0x0,r[_0x36d691(0x462)])(_0x36d691(0x58a),{'className':_0x36d691(0x400),'children':[(0x0,r[_0x36d691(0x6f1)])('span',{'className':_0x36d691(0x134),'children':_0x4a2ee8['t'](_0x36d691(0x144))}),(0x0,r['jsx'])(_0x36d691(0x58a),{'className':'univer-w-28','children':(0x0,r[_0x36d691(0x6f1)])(e[_0x36d691(0x4ec)],{'className':_0x36d691(0x60a),'value':String(_0x3c58c8),'options':_0x59bc1a,'disabled':_0x636405,'onChange':_0x16803c=>{const _0x11a6ba=_0x36d691;var _0x224cd3;_0x229913(Number(_0x16803c)),_0x125e1e({'oldShapeData':{'stroke':{'capType':(_0x224cd3=_0x1f475e[_0x11a6ba(0x7f7)])==null?void 0x0:_0x224cd3[_0x11a6ba(0x16b)]}}},{'stroke':{'capType':Number(_0x16803c)}});}})})]}),(0x0,r[_0x36d691(0x462)])(_0x36d691(0x58a),{'className':_0x36d691(0x400),'children':[(0x0,r['jsx'])(_0x36d691(0x77e),{'className':_0x36d691(0x134),'children':_0x4a2ee8['t'](_0x36d691(0x51f))}),(0x0,r[_0x36d691(0x6f1)])('div',{'className':_0x36d691(0x56f),'children':(0x0,r[_0x36d691(0x6f1)])(e[_0x36d691(0x4ec)],{'className':_0x36d691(0x60a),'value':String(_0x472df3),'options':_0x4f9b86,'disabled':_0x636405,'onChange':_0x57f582=>{const _0x43cffe=_0x36d691;var _0x478318;_0x110ed3(Number(_0x57f582)),_0x125e1e({'oldShapeData':{'stroke':{'lineJoinType':(_0x478318=_0x1f475e['stroke'])==null?void 0x0:_0x478318[_0x43cffe(0x43c)]}}},{'stroke':{'lineJoinType':Number(_0x57f582)}});}})})]}),!_0x457942&&(0x0,r[_0x36d691(0x462)])('div',{'className':_0x36d691(0x400),'children':[(0x0,r[_0x36d691(0x6f1)])(_0x36d691(0x77e),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4a2ee8['t'](_0x36d691(0x3ba))}),(0x0,r['jsx'])(_0x36d691(0x58a),{'className':_0x36d691(0x56f),'children':(0x0,r[_0x36d691(0x6f1)])(e['Select'],{'className':_0x36d691(0x60a),'value':String(_0x16b07d),'options':_0x326514,'disabled':_0x636405,'onChange':_0x561875=>{const _0x321d9f=_0x36d691;var _0x35903a;_0x2bcc31(Number(_0x561875)),_0x125e1e({'oldShapeData':{'stroke':{'sketchType':(_0x35903a=_0x1f475e[_0x321d9f(0x7f7)])==null?void 0x0:_0x35903a[_0x321d9f(0x15c)]}}},{'stroke':{'sketchType':Number(_0x561875)}});}})})]}),_0x457942&&(0x0,r[_0x36d691(0x462)])(r[_0x36d691(0x766)],{'children':[(0x0,r[_0x36d691(0x462)])(_0x36d691(0x58a),{'className':_0x36d691(0x400),'children':[(0x0,r[_0x36d691(0x6f1)])(_0x36d691(0x77e),{'className':_0x36d691(0x134),'children':_0x4a2ee8['t']('shape-editor-ui.line.beginArrowType')}),(0x0,r[_0x36d691(0x6f1)])('div',{'className':_0x36d691(0x56f),'children':(0x0,r[_0x36d691(0x6f1)])(e['Select'],{'className':_0x36d691(0x60a),'value':String(_0x41af87),'options':_0x1a4aa4,'onChange':_0x107e54=>{const _0x25500a=_0x36d691;var _0x28c06a;_0xb4d94b(Number(_0x107e54));let _0x49d4bc={'ln':{'startArrow':{'type':(_0x28c06a=_0x1f475e['ln'])==null||(_0x28c06a=_0x28c06a['startArrow'])==null?void 0x0:_0x28c06a[_0x25500a(0x1e6)]}}};_0x2597f0==null||_0x2597f0({'oldShapeData':_0x49d4bc},{'ln':{'startArrow':{'type':Number(_0x107e54)}}});}})})]}),(0x0,r[_0x36d691(0x462)])(_0x36d691(0x58a),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r[_0x36d691(0x6f1)])(_0x36d691(0x77e),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4a2ee8['t']('shape-editor-ui.line.beginArrowSize')}),(0x0,r['jsx'])(_0x36d691(0x58a),{'className':_0x36d691(0x56f),'children':(0x0,r[_0x36d691(0x6f1)])(e[_0x36d691(0x4ec)],{'className':_0x36d691(0x60a),'value':String(_0x3a5029),'options':_0x446773,'onChange':_0x59109d=>{const _0x213c4d=_0x36d691;var _0x45b41a;_0x583226(Number(_0x59109d));let _0x2dab5e={'ln':{'startArrow':{'size':(_0x45b41a=_0x1f475e['ln'])==null||(_0x45b41a=_0x45b41a[_0x213c4d(0x4f6)])==null?void 0x0:_0x45b41a['size']}}};_0x2597f0==null||_0x2597f0({'oldShapeData':_0x2dab5e},{'ln':{'startArrow':{'size':Number(_0x59109d)}}});}})})]}),(0x0,r[_0x36d691(0x462)])(_0x36d691(0x58a),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r[_0x36d691(0x6f1)])(_0x36d691(0x77e),{'className':_0x36d691(0x134),'children':_0x4a2ee8['t'](_0x36d691(0x60f))}),(0x0,r[_0x36d691(0x6f1)])(_0x36d691(0x58a),{'className':_0x36d691(0x56f),'children':(0x0,r['jsx'])(e['Select'],{'className':_0x36d691(0x60a),'value':String(_0x2fa862),'options':_0x1a4aa4,'onChange':_0x241bc9=>{const _0x3ac2ef=_0x36d691;var _0x574aad;_0x493085(Number(_0x241bc9));let _0x4c716e={'ln':{'endArrow':{'type':(_0x574aad=_0x1f475e['ln'])==null||(_0x574aad=_0x574aad[_0x3ac2ef(0x7fd)])==null?void 0x0:_0x574aad['type']}}};_0x2597f0==null||_0x2597f0({'oldShapeData':_0x4c716e},{'ln':{'endArrow':{'type':Number(_0x241bc9)}}});}})})]}),(0x0,r[_0x36d691(0x462)])(_0x36d691(0x58a),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r['jsx'])(_0x36d691(0x77e),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4a2ee8['t'](_0x36d691(0x2a0))}),(0x0,r[_0x36d691(0x6f1)])(_0x36d691(0x58a),{'className':_0x36d691(0x56f),'children':(0x0,r[_0x36d691(0x6f1)])(e['Select'],{'className':_0x36d691(0x60a),'value':String(_0x5ede47),'options':_0x446773,'onChange':_0x560579=>{const _0xec9761=_0x36d691;var _0x350f38;_0x38f990(Number(_0x560579));let _0x1efdbd={'ln':{'endArrow':{'size':(_0x350f38=_0x1f475e['ln'])==null||(_0x350f38=_0x350f38[_0xec9761(0x7fd)])==null?void 0x0:_0x350f38[_0xec9761(0x6c2)]}}};_0x2597f0==null||_0x2597f0({'oldShapeData':_0x1efdbd},{'ln':{'endArrow':{'size':Number(_0x560579)}}});}})})]})]})]})]});}function Yt(_0x515500){return Math['round'](_0x515500*0xa)/0xa;}function Xt(_0x28dfcb){const _0x4890b6=_0x13379c;var _0x2803c1,_0x5446b6,_0x33e595,_0x4e9a9a,_0x197a61;let _0x3be270=_0x28dfcb[_0x4890b6(0x4d9)],_0x4bfad7=_0x3be270&&_0x4890b6(0x797)in _0x3be270?(_0x2803c1=_0x3be270['dataModel'])==null?void 0x0:_0x2803c1[_0x4890b6(0x724)]:void 0x0,_0x5fc389=_0x4bfad7==null||(_0x5446b6=_0x4bfad7[_0x4890b6(0x218)])==null||(_0x5446b6=_0x5446b6[_0x4890b6(0x1bc)])==null||(_0x5446b6=_0x5446b6[_0x4890b6(0x326)](_0x23dd15=>{const _0x122127=_0x4890b6;var _0x46d132,_0x2f625d;return((_0x46d132=(_0x2f625d=_0x23dd15[_0x122127(0x522)])==null?void 0x0:_0x2f625d[_0x122127(0x135)])==null?0x0:_0x46d132)>0x0;}))==null?void 0x0:_0x5446b6[_0x4890b6(0x522)];return{'count':Math['max'](0x1,(_0x33e595=_0x5fc389==null?void 0x0:_0x5fc389[_0x4890b6(0x135)])==null?0x1:_0x33e595),'spacing':Yt((_0x4e9a9a=_0x5fc389==null||(_0x197a61=_0x5fc389[0x0])==null?void 0x0:_0x197a61[_0x4890b6(0x2c3)])==null?0x0:_0x4e9a9a)};}function Zt(_0x5b3931,_0x5f8f95){const _0x4ff590=_0x13379c;var _0x3274f3,_0x578e42;let _0x5f3b05=_0x5b3931[_0x4ff590(0x4d9)],_0x5af171=_0x5f3b05&&_0x4ff590(0x797)in _0x5f3b05?_0x5f3b05[_0x4ff590(0x797)]:void 0x0,_0x167096=_0x5f3b05&&_0x4ff590(0x39e)in _0x5f3b05?(_0x3274f3=_0x5f3b05[_0x4ff590(0x39e)])==null?'':_0x3274f3:'',_0x3008c4=(_0x578e42=_0x5af171==null?void 0x0:_0x5af171[_0x4ff590(0x724)])==null?{'id':(0x0,o[_0x4ff590(0x33a)])(0x6),'body':{'dataStream':_0x167096+'\x0d\x0a'},'documentStyle':{}}:_0x578e42,_0x4f9ef=o[_0x4ff590(0x287)][_0x4ff590(0x1b9)](o['Tools'][_0x4ff590(0x637)](_0x3008c4))['columns']({'count':Math[_0x4ff590(0x16d)](0x1,Math[_0x4ff590(0x250)](_0x5f8f95[_0x4ff590(0x11e)])),'spacing':Math[_0x4ff590(0x16d)](0x0,_0x5f8f95[_0x4ff590(0x623)])})[_0x4ff590(0x7bb)]();return{..._0x5b3931,'shapeText':{..._0x5f3b05==null?{'isHorizontal':!0x0}:_0x5f3b05,'text':_0x167096,'dataModel':{..._0x5af171==null?{}:_0x5af171,'doc':_0x4f9ef}}};}function Qt(_0x4c800b){const _0x123cad=_0x13379c;let {shapeData:_0x5bda1f,disableShapeOption:_0x59030c,onUpdateShapeData:_0x3a43c2}=_0x4c800b,_0x3a8b79=(0x0,s[_0x123cad(0x24f)])(o[_0x123cad(0x80e)]),_0x8b3cb8=(0x0,C[_0x123cad(0x4ae)])(_0x5bda1f),[_0xb7d20e,_0xd666bc]=(0x0,n['useState'])(_0x8b3cb8[_0x123cad(0x349)]),[_0x52ea90,_0x56e03f]=(0x0,n[_0x123cad(0x659)])(_0x8b3cb8[_0x123cad(0x3e4)]),[_0x5c94d2,_0x40b8e5]=(0x0,n[_0x123cad(0x659)])(_0x8b3cb8[_0x123cad(0x2ab)]),[_0x2f5202,_0x33f656]=(0x0,n[_0x123cad(0x659)])(()=>({'left':Yt(_0x8b3cb8[_0x123cad(0x3fc)][_0x123cad(0x3ff)]),'right':Yt(_0x8b3cb8[_0x123cad(0x3fc)][_0x123cad(0x1e0)]),'top':Yt(_0x8b3cb8['padding'][_0x123cad(0x332)]),'bottom':Yt(_0x8b3cb8[_0x123cad(0x3fc)]['bottom'])})),[_0x48fad5,_0x43fa40]=(0x0,n['useState'])(()=>Xt(_0x5bda1f)),_0xdc1730=_0x48ccee=>{_0x3a43c2({'oldShapeData':_0x5bda1f},(0x0,C['applyShapeTextBoxOptions'])(_0x5bda1f,_0x48ccee));},_0x628e6f=_0x5ad8d4=>{_0x33f656(_0x5ad8d4),_0xdc1730({'padding':_0x5ad8d4});},_0xe5b537=_0xaf20a0=>{_0x43fa40(_0xaf20a0),_0x3a43c2({'oldShapeData':_0x5bda1f},Zt(_0x5bda1f,_0xaf20a0));},_0x253754=[{'label':_0x3a8b79['t']('shape-editor-ui.textBox.textDirectionHorizontal'),'value':C['ShapeTextDirection'][_0x123cad(0x6c8)]},{'label':_0x3a8b79['t'](_0x123cad(0x379)),'value':C['ShapeTextDirection']['Vert']}],_0x1edbdd=[{'label':_0x3a8b79['t'](_0x123cad(0x7c6)),'value':C['ShapeTextAutoFitType'][_0x123cad(0x129)]},{'label':_0x3a8b79['t'](_0x123cad(0x3e1)),'value':C[_0x123cad(0x373)][_0x123cad(0x6df)]},{'label':_0x3a8b79['t'](_0x123cad(0x4c2)),'value':C['ShapeTextAutoFitType'][_0x123cad(0x79f)]}];return(0x0,r[_0x123cad(0x462)])(_0x123cad(0x232),{'className':_0x123cad(0x245),'children':[(0x0,r['jsxs'])('label',{'className':_0x123cad(0x1ee),'children':[(0x0,r[_0x123cad(0x6f1)])(_0x123cad(0x77e),{'className':'dark:!univer-text-gray-200','children':_0x3a8b79['t']('shape-editor-ui.textBox.textDirection')}),(0x0,r[_0x123cad(0x6f1)])(e[_0x123cad(0x4ec)],{'className':_0x123cad(0x684),'disabled':_0x59030c,'value':_0xb7d20e,'options':_0x253754,'onChange':_0x1aabda=>{let _0x3a96f7=_0x1aabda;_0xd666bc(_0x3a96f7),_0xdc1730({'textDirection':_0x3a96f7});}})]}),(0x0,r[_0x123cad(0x462)])('label',{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[(0x0,r['jsx'])('span',{'className':_0x123cad(0x81a),'children':_0x3a8b79['t'](_0x123cad(0x632))}),(0x0,r[_0x123cad(0x6f1)])(e['Select'],{'className':_0x123cad(0x684),'disabled':_0x59030c,'value':_0x52ea90,'options':_0x1edbdd,'onChange':_0x386824=>{let _0x14b760=_0x386824;_0x56e03f(_0x14b760),_0xdc1730({'autoFitType':_0x14b760});}})]}),(0x0,r[_0x123cad(0x6f1)])(e[_0x123cad(0x4aa)],{'disabled':_0x59030c,'checked':_0x5c94d2===C['ShapeTextWrapType'][_0x123cad(0x519)],'onChange':_0x3dacbf=>{const _0x4f2e58=_0x123cad;let _0xa7d053=_0x3dacbf?C[_0x4f2e58(0x790)][_0x4f2e58(0x519)]:C[_0x4f2e58(0x790)][_0x4f2e58(0x48c)];_0x40b8e5(_0xa7d053),_0xdc1730({'textWrap':_0xa7d053});},'children':(0x0,r[_0x123cad(0x6f1)])(_0x123cad(0x77e),{'className':'univer-text-sm\x20dark:!univer-text-gray-200','children':_0x3a8b79['t'](_0x123cad(0x1de))})}),(0x0,r[_0x123cad(0x462)])(_0x123cad(0x232),{'className':_0x123cad(0x199),'children':[(0x0,r[_0x123cad(0x6f1)])(_0x123cad(0x57c),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3a8b79['t'](_0x123cad(0x3fd))}),(0x0,r['jsx'])(_0x123cad(0x58a),{'className':'univer-grid\x20univer-grid-cols-2\x20univer-gap-2\x20[&>label]:univer-grid\x20[&>label]:univer-gap-1','children':['left',_0x123cad(0x1e0),_0x123cad(0x332),_0x123cad(0x392)]['map'](_0x1eb0b2=>(0x0,r[_0x123cad(0x462)])(_0x123cad(0x6ab),{'children':[(0x0,r['jsx'])('span',{'className':_0x123cad(0x57b),'children':_0x3a8b79['t'](_0x123cad(0x3fd)+_0x1eb0b2[0x0][_0x123cad(0x210)]()+_0x1eb0b2[_0x123cad(0x2e1)](0x1))}),(0x0,r[_0x123cad(0x6f1)])(e['InputNumber'],{'disabled':_0x59030c,'min':0x0,'precision':0x1,'value':_0x2f5202[_0x1eb0b2],'onChange':_0x4cd640=>{const _0x12730d=_0x123cad;_0x4cd640!=null&&_0x628e6f({..._0x2f5202,[_0x1eb0b2]:Math[_0x12730d(0x16d)](0x0,_0x4cd640)});}})]},_0x1eb0b2))})]}),(0x0,r['jsxs'])(_0x123cad(0x232),{'className':_0x123cad(0x199),'children':[(0x0,r[_0x123cad(0x6f1)])(_0x123cad(0x57c),{'className':_0x123cad(0x6b7),'children':_0x3a8b79['t']('shape-editor-ui.textBox.columns')}),(0x0,r[_0x123cad(0x462)])(_0x123cad(0x58a),{'className':_0x123cad(0x7fc),'children':[(0x0,r[_0x123cad(0x462)])(_0x123cad(0x6ab),{'children':[(0x0,r[_0x123cad(0x6f1)])(_0x123cad(0x77e),{'className':_0x123cad(0x57b),'children':_0x3a8b79['t'](_0x123cad(0x453))}),(0x0,r[_0x123cad(0x6f1)])(e[_0x123cad(0x528)],{'disabled':_0x59030c,'min':0x1,'precision':0x0,'value':_0x48fad5[_0x123cad(0x11e)],'onChange':_0x51c066=>{const _0x43f9c2=_0x123cad;_0x51c066!=null&&_0xe5b537({..._0x48fad5,'count':Math[_0x43f9c2(0x16d)](0x1,Math['round'](_0x51c066))});}})]}),(0x0,r[_0x123cad(0x462)])(_0x123cad(0x6ab),{'children':[(0x0,r['jsx'])(_0x123cad(0x77e),{'className':_0x123cad(0x57b),'children':_0x3a8b79['t'](_0x123cad(0x304))}),(0x0,r['jsx'])(e['InputNumber'],{'disabled':_0x59030c,'min':0x0,'precision':0x1,'value':_0x48fad5[_0x123cad(0x623)],'onChange':_0x1a1a3f=>{const _0x5e9a44=_0x123cad;_0x1a1a3f!=null&&_0xe5b537({..._0x48fad5,'spacing':Math[_0x5e9a44(0x16d)](0x0,_0x1a1a3f)});}})]})]})]})]});}function $t(_0x4cb817){const _0x20a979=_0x13379c;let {shapeData:_0x3bbc0c,shapeId:_0xf7edae,shapeType:_0x28742f,disableShapeOption:_0x491c5a,positionEditor:_0x2554b3,onUpdateShapeData:_0x5b5219,onUpdateLineShapeData:_0x3566ff,onUpdateShapeFillImage:_0x740da2}=_0x4cb817,_0x4ca194=(0x0,s['useDependency'])(o[_0x20a979(0x80e)]),_0x1cd9d8=(0x0,C[_0x20a979(0x1d0)])(_0x28742f),[_0x5d5195,_0x4431bc]=(0x0,n[_0x20a979(0x659)])(0x0),_0x3f4850=[{'label':(0x0,r[_0x20a979(0x6f1)])('div',{'children':_0x4ca194['t']('shape-editor-ui.fill.title')}),'children':(0x0,r[_0x20a979(0x6f1)])('section',{'className':_0x20a979(0x5f2),'children':(0x0,r[_0x20a979(0x6f1)])(Wt,{'shapeId':_0xf7edae,'shapeData':_0x3bbc0c,'isLineShape':_0x1cd9d8,'disableShapeOption':_0x491c5a,'onUpdateShapeData':_0x5b5219,'onUpdateShapeFillImage':_0x740da2})})},{'label':(0x0,r[_0x20a979(0x6f1)])(_0x20a979(0x58a),{'children':_0x4ca194['t'](_0x20a979(0x13c))}),'children':(0x0,r[_0x20a979(0x6f1)])(_0x20a979(0x232),{'className':_0x20a979(0x5f2),'children':(0x0,r[_0x20a979(0x6f1)])(Jt,{'shapeId':_0xf7edae,'shapeData':_0x3bbc0c,'isLineShape':_0x1cd9d8,'disableShapeOption':_0x491c5a,'onUpdateShapeData':_0x5b5219,'onUpdateLineShapeData':_0x3566ff})})},{'label':(0x0,r['jsx'])(_0x20a979(0x58a),{'children':_0x4ca194['t'](_0x20a979(0x591))}),'children':(0x0,r[_0x20a979(0x6f1)])(_0x20a979(0x232),{'className':_0x20a979(0x5f2),'children':(0x0,r['jsx'])(Qt,{'shapeId':_0xf7edae,'shapeData':_0x3bbc0c,'disableShapeOption':_0x491c5a,'onUpdateShapeData':_0x5b5219,'onUpdateLineShapeData':_0x3566ff})})}];return(0x0,r[_0x20a979(0x462)])(_0x20a979(0x58a),{'className':_0x20a979(0x34d),'children':[(0x0,r[_0x20a979(0x462)])(_0x20a979(0x58a),{'className':_0x20a979(0x235),'children':[(0x0,r[_0x20a979(0x462)])('div',{'className':(0x0,e[_0x20a979(0x13a)])(_0x20a979(0x25f),_0x5d5195===0x0?_0x20a979(0x6b2):_0x20a979(0x4a9)),'onClick':()=>_0x4431bc(0x0),'children':[_0x4ca194['t']('shape-editor-ui.shapeStyle'),(0x0,r['jsx'])(_0x20a979(0x58a),{'className':(0x0,e[_0x20a979(0x13a)])(_0x20a979(0x181),{'univer-bg-primary-600':_0x5d5195===0x0,'univer-bg-transparent':_0x5d5195!==0x0})})]}),(0x0,r[_0x20a979(0x462)])(_0x20a979(0x58a),{'className':(0x0,e[_0x20a979(0x13a)])(_0x20a979(0x25f),{'univer-text-primary-600':_0x5d5195===0x1,'univer-text-gray-500':_0x5d5195!==0x1}),'onClick':()=>_0x4431bc(0x1),'children':[_0x4ca194['t'](_0x20a979(0x771)),(0x0,r[_0x20a979(0x6f1)])(_0x20a979(0x58a),{'className':(0x0,e['clsx'])(_0x20a979(0x6d4),{'univer-bg-primary-600':_0x5d5195===0x1,'univer-bg-transparent':_0x5d5195!==0x1})})]})]}),(0x0,r[_0x20a979(0x6f1)])(_0x20a979(0x58a),{'className':_0x20a979(0x644),'children':_0x5d5195===0x0?(0x0,r[_0x20a979(0x6f1)])(e['Accordion'],{'items':_0x3f4850}):_0x2554b3})]});}function en(_0x143055,_0x3b3b4a){const _0x460afb=_0x13379c;typeof(_0x143055==null?void 0x0:_0x143055['fs'])==_0x460afb(0x40e)&&Number[_0x460afb(0x67f)](_0x143055['fs'])&&(_0x143055['fs']*=_0x3b3b4a);}function tn(_0x18c94b,_0x40e684){const _0x5679bb=_0x13379c;if(!_0x40e684)return;let _0x2992e3=_0x40e684['autoFitType']===C[_0x5679bb(0x373)][_0x5679bb(0x6df)]&&typeof _0x40e684['fontScale']==_0x5679bb(0x40e)&&Number[_0x5679bb(0x67f)](_0x40e684[_0x5679bb(0x5ab)])&&_0x40e684['fontScale']>0x0?_0x40e684[_0x5679bb(0x5ab)]/0x186a0:0x1;if(_0x2992e3!==0x1){var _0x262a30,_0x6ecb8a,_0x32e58a,_0x6cc6fe;_0x18c94b[_0x5679bb(0x68e)]&&(_0x18c94b[_0x5679bb(0x68e)]={..._0x18c94b[_0x5679bb(0x68e)],'textStyle':yn(_0x18c94b[_0x5679bb(0x68e)][_0x5679bb(0x3d9)])}),(_0x262a30=_0x18c94b['body'])!=null&&_0x262a30['textRuns']&&(_0x18c94b[_0x5679bb(0x218)]['textRuns']=_0x18c94b['body'][_0x5679bb(0x80d)]['map'](_0x3f129a=>({..._0x3f129a,'ts':yn(_0x3f129a['ts'])}))),en((_0x6ecb8a=_0x18c94b['documentStyle'])==null?void 0x0:_0x6ecb8a[_0x5679bb(0x3d9)],_0x2992e3),(_0x32e58a=_0x18c94b[_0x5679bb(0x218)])==null||(_0x32e58a=_0x32e58a[_0x5679bb(0x80d)])==null||_0x32e58a['forEach'](_0x41d4de=>en(_0x41d4de['ts'],_0x2992e3)),(_0x6cc6fe=_0x18c94b['body'])==null||(_0x6cc6fe=_0x6cc6fe[_0x5679bb(0x460)])==null||_0x6cc6fe[_0x5679bb(0x663)](_0x2a5219=>{const _0x187b58=_0x5679bb;var _0x2bf79f;en((_0x2bf79f=_0x2a5219[_0x187b58(0x19e)])==null?void 0x0:_0x2bf79f['textStyle'],_0x2992e3);});}let _0x3cc364=_0x40e684['autoFitType']===C['ShapeTextAutoFitType']['NormAutoFit']&&typeof _0x40e684[_0x5679bb(0x806)]==_0x5679bb(0x40e)&&Number[_0x5679bb(0x67f)](_0x40e684[_0x5679bb(0x806)])&&_0x40e684[_0x5679bb(0x806)]<0x186a0?Math[_0x5679bb(0x16d)](0x0,_0x40e684[_0x5679bb(0x806)])/0x186a0:0x0;if(_0x3cc364>0x0){var _0x117393;(_0x117393=_0x18c94b['body'])==null||(_0x117393=_0x117393['paragraphs'])==null||_0x117393[_0x5679bb(0x663)](_0x4922e5=>{const _0x1a905e=_0x5679bb;var _0x4c1f58;_0x4922e5[_0x1a905e(0x19e)]!=null||(_0x4922e5[_0x1a905e(0x19e)]={}),_0x4922e5[_0x1a905e(0x19e)][_0x1a905e(0x469)]=((_0x4c1f58=_0x4922e5['paragraphStyle'][_0x1a905e(0x469)])==null?0x1:_0x4c1f58)*(0x1-_0x3cc364);});}}function nn(_0x118c2f,_0x5e5f7a){const _0x5cbc7c=_0x13379c;if((_0x5e5f7a==null?void 0x0:_0x5e5f7a[_0x5cbc7c(0x3e4)])!==C['ShapeTextAutoFitType']['NormAutoFit'])return;let _0x335639=typeof _0x5e5f7a['fontScale']=='number'&&Number['isFinite'](_0x5e5f7a[_0x5cbc7c(0x5ab)])&&_0x5e5f7a[_0x5cbc7c(0x5ab)]>0x0?_0x5e5f7a[_0x5cbc7c(0x5ab)]/0x186a0:0x1;if(_0x335639!==0x1){var _0x47ce9c,_0x37a1f2,_0x455984;en((_0x47ce9c=_0x118c2f[_0x5cbc7c(0x68e)])==null?void 0x0:_0x47ce9c[_0x5cbc7c(0x3d9)],0x1/_0x335639),(_0x37a1f2=_0x118c2f[_0x5cbc7c(0x218)])==null||(_0x37a1f2=_0x37a1f2[_0x5cbc7c(0x80d)])==null||_0x37a1f2[_0x5cbc7c(0x663)](_0x1f4c5e=>en(_0x1f4c5e['ts'],0x1/_0x335639)),(_0x455984=_0x118c2f[_0x5cbc7c(0x218)])==null||(_0x455984=_0x455984[_0x5cbc7c(0x460)])==null||_0x455984[_0x5cbc7c(0x663)](_0x133a99=>{const _0x398042=_0x5cbc7c;var _0x441f30;en((_0x441f30=_0x133a99['paragraphStyle'])==null?void 0x0:_0x441f30[_0x398042(0x3d9)],0x1/_0x335639);});}let _0x53a9ab=0x1-(typeof _0x5e5f7a[_0x5cbc7c(0x806)]==_0x5cbc7c(0x40e)&&Number['isFinite'](_0x5e5f7a[_0x5cbc7c(0x806)])&&_0x5e5f7a[_0x5cbc7c(0x806)]<0x186a0?Math[_0x5cbc7c(0x16d)](0x0,_0x5e5f7a[_0x5cbc7c(0x806)])/0x186a0:0x0);if(_0x53a9ab>0x0&&_0x53a9ab!==0x1){var _0x48f6a2;(_0x48f6a2=_0x118c2f[_0x5cbc7c(0x218)])==null||(_0x48f6a2=_0x48f6a2[_0x5cbc7c(0x460)])==null||_0x48f6a2[_0x5cbc7c(0x663)](_0x372ae4=>{const _0x4dfd3c=_0x5cbc7c;var _0x3d60cf;let _0x3fce34=(_0x3d60cf=_0x372ae4['paragraphStyle'])==null?void 0x0:_0x3d60cf['lineSpacing'];typeof _0x3fce34==_0x4dfd3c(0x40e)&&Number[_0x4dfd3c(0x67f)](_0x3fce34)&&(_0x372ae4[_0x4dfd3c(0x19e)][_0x4dfd3c(0x469)]=_0x3fce34/_0x53a9ab);});}}function rn(_0x1d2fbe,_0x485b56=_0x13379c(0x7ff)){const _0x4556ed=_0x13379c;var _0x2c4ca5;let _0x49b021=((_0x2c4ca5=_0x1d2fbe['text'])==null?'':_0x2c4ca5)[_0x4556ed(0x5e2)](/\r\n/g,'\x0a')[_0x4556ed(0x5e2)](/\r/g,'\x0a')[_0x4556ed(0x492)]('\x0a'),_0x37fae9=_0x49b021[_0x4556ed(0x61e)]('\x0d')+'\x0d\x0a',_0x5d0390=Math['max'](0x0,_0x37fae9[_0x4556ed(0x135)]-0x2),_0x238fb7=new Set(),_0x461831=an(_0x1d2fbe),_0x3c5859=on(_0x1d2fbe),_0x5903c2=sn(_0x1d2fbe),_0x3543c6=0x0;return{'id':_0x485b56,'body':{'dataStream':_0x37fae9,'paragraphs':_0x49b021[_0x4556ed(0x270)](_0x46fbf8=>{const _0x351c26=_0x4556ed;let _0x43c1d4=_0x3543c6+_0x46fbf8[_0x351c26(0x135)];return _0x3543c6+=_0x46fbf8['length']+0x1,{'startIndex':_0x43c1d4,'paragraphId':(0x0,o['createParagraphId'])(_0x238fb7),'paragraphStyle':{'horizontalAlign':_0x3c5859,'textStyle':_0x461831}};}),'textRuns':[{'st':0x0,'ed':Math[_0x4556ed(0x16d)](0x1,_0x5d0390),'ts':_0x461831}]},'documentStyle':{'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'marginTop':0x0,'textStyle':_0x461831,'renderConfig':{'horizontalAlign':_0x3c5859,'verticalAlign':_0x5903c2}}};}function an(_0x366208){const _0x336c73=_0x13379c;return{..._0x366208['fontFamily']?{'ff':_0x366208['fontFamily']}:{},..._0x366208[_0x336c73(0x7af)]===void 0x0?{}:{'fs':_0x366208['fontSize']},..._0x366208[_0x336c73(0x56c)]?{'cl':{'rgb':_0x366208[_0x336c73(0x56c)]}}:{},..._0x366208[_0x336c73(0x721)]===void 0x0?{}:{'bl':_0x366208['bold']?o[_0x336c73(0x167)][_0x336c73(0x6bd)]:o[_0x336c73(0x167)][_0x336c73(0x180)]},..._0x366208['italic']===void 0x0?{}:{'it':_0x366208[_0x336c73(0x3ef)]?o['BooleanNumber'][_0x336c73(0x6bd)]:o[_0x336c73(0x167)][_0x336c73(0x180)]},..._0x366208[_0x336c73(0x76f)]===void 0x0?{}:{'ul':{'s':_0x366208[_0x336c73(0x76f)]?o[_0x336c73(0x167)][_0x336c73(0x6bd)]:o['BooleanNumber'][_0x336c73(0x180)]}}};}function on(_0x5b16df){const _0x29ffe6=_0x13379c;let _0x28db6b=_0x5b16df[_0x29ffe6(0x3b0)];return _0x28db6b===_0x29ffe6(0x39f)?o[_0x29ffe6(0x337)][_0x29ffe6(0x693)]:_0x28db6b===_0x29ffe6(0x1e0)?o[_0x29ffe6(0x337)]['RIGHT']:o['HorizontalAlign']['LEFT'];}function sn(_0x21495a){const _0x53412c=_0x13379c;let _0x234789=_0x21495a[_0x53412c(0x214)];return _0x234789===_0x53412c(0x78d)?o[_0x53412c(0x7f0)][_0x53412c(0x441)]:_0x234789===_0x53412c(0x392)?o[_0x53412c(0x7f0)][_0x53412c(0x14c)]:o[_0x53412c(0x7f0)][_0x53412c(0x267)];}function cn(_0x1f148b){const _0x1daa31=_0x13379c;var _0xeacc51;let _0x4e2fe5=(_0xeacc51=_0x1f148b[_0x1daa31(0x218)])==null?void 0x0:_0xeacc51[_0x1daa31(0x460)],_0x48ec95,_0x33bd58=!0x1;if(!_0x4e2fe5)return{'hasParagraphAlign':_0x33bd58,'isMixed':!0x1};for(let _0x21669a of _0x4e2fe5){var _0x2c6dc2;let _0x2376ff=(_0x2c6dc2=_0x21669a['paragraphStyle'])==null?void 0x0:_0x2c6dc2[_0x1daa31(0x3b0)];if(_0x2376ff!==void 0x0){if(!_0x33bd58){_0x48ec95=_0x2376ff,_0x33bd58=!0x0;continue;}if(_0x48ec95!==_0x2376ff)return{'hasParagraphAlign':!0x0,'isMixed':!0x0};}}return{'horizontalAlign':_0x48ec95,'hasParagraphAlign':_0x33bd58,'isMixed':!0x1};}function ln(_0x274260,_0x3b7166={}){const _0x421b57=_0x13379c;var _0x423832,_0xa8ba63,_0x4769ae;let _0xd72a3c=(_0x423832=_0x274260[_0x421b57(0x68e)])==null?void 0x0:_0x423832[_0x421b57(0x407)],_0x465027=cn(_0x274260);return{'horizontalAlign':_0x465027[_0x421b57(0x58f)]?_0x465027[_0x421b57(0x437)]?void 0x0:_0x465027[_0x421b57(0x3b0)]:(_0xa8ba63=_0xd72a3c==null?void 0x0:_0xd72a3c[_0x421b57(0x3b0)])==null?_0x3b7166[_0x421b57(0x3b0)]:_0xa8ba63,'verticalAlign':(_0x4769ae=_0xd72a3c==null?void 0x0:_0xd72a3c[_0x421b57(0x214)])==null?_0x3b7166['verticalAlign']:_0x4769ae};}function un(_0x1ccbfb,_0x19f114){const _0x1c1218=_0x13379c;var _0x66b26;let _0x2f45d8=(_0x66b26=_0x1ccbfb[_0x1c1218(0x68e)])==null?{}:_0x66b26,_0x5c4585={..._0x2f45d8['renderConfig']};if(_0x19f114[_0x1c1218(0x214)]!==void 0x0&&(_0x5c4585[_0x1c1218(0x214)]=_0x19f114[_0x1c1218(0x214)]),_0x19f114[_0x1c1218(0x3b0)]!==void 0x0){var _0x266829;_0x5c4585[_0x1c1218(0x3b0)]=_0x19f114[_0x1c1218(0x3b0)];let _0x1f9c93=(_0x266829=_0x1ccbfb[_0x1c1218(0x218)])==null?void 0x0:_0x266829[_0x1c1218(0x460)];if(_0x1f9c93){for(let _0xeed91a of _0x1f9c93)_0xeed91a['paragraphStyle']={..._0xeed91a[_0x1c1218(0x19e)],'horizontalAlign':_0x19f114[_0x1c1218(0x3b0)]};}}_0x1ccbfb[_0x1c1218(0x68e)]={..._0x2f45d8,'renderConfig':Object['keys'](_0x5c4585)[_0x1c1218(0x135)]>0x0?_0x5c4585:void 0x0};}function dn(_0x52990e){const _0x3a33ae=_0x13379c;var _0x46b85b,_0x46662d,_0x1d2fd4,_0x42244d;let _0x145e0c=(_0x46b85b=(_0x46662d=_0x52990e[_0x3a33ae(0x218)])==null||(_0x46662d=_0x46662d[_0x3a33ae(0x1cb)])==null?void 0x0:_0x46662d[_0x3a33ae(0x135)])==null?0x0:_0x46b85b,_0x2a9269=(_0x1d2fd4=_0x52990e[_0x3a33ae(0x218)])==null?void 0x0:_0x1d2fd4['sectionBreaks'];if(_0x2a9269!=null&&_0x2a9269['length'])for(let _0x3143ce of _0x2a9269){var _0x18807b;_0x3143ce[_0x3a33ae(0x2d0)]=(_0x18807b=_0x3143ce['gridType'])==null?o[_0x3a33ae(0x5ff)]['DEFAULT']:_0x18807b;}else _0x52990e['body']&&(_0x52990e[_0x3a33ae(0x218)]['sectionBreaks']=[{'sectionId':(0x0,o[_0x3a33ae(0x19d)])(new Set()),'startIndex':Math[_0x3a33ae(0x16d)](0x0,_0x145e0c-0x1),'gridType':o[_0x3a33ae(0x5ff)]['DEFAULT']}]);let _0x323c9a=(_0x42244d=_0x52990e[_0x3a33ae(0x218)])==null?void 0x0:_0x42244d[_0x3a33ae(0x460)];if(_0x323c9a)for(let _0x4b4cb8 of _0x323c9a){var _0x465101,_0x580cf9,_0x2725fd,_0x2edcca,_0x37857e,_0x168168,_0x76bbd5,_0x9f4424;_0x4b4cb8[_0x3a33ae(0x19e)]={..._0x4b4cb8[_0x3a33ae(0x19e)],'lineSpacing':(_0x465101=(_0x580cf9=_0x4b4cb8[_0x3a33ae(0x19e)])==null?void 0x0:_0x580cf9['lineSpacing'])==null?0x1:_0x465101,'snapToGrid':(_0x2725fd=(_0x2edcca=_0x4b4cb8[_0x3a33ae(0x19e)])==null?void 0x0:_0x2edcca[_0x3a33ae(0x825)])==null?o['BooleanNumber'][_0x3a33ae(0x180)]:_0x2725fd,'spaceAbove':(_0x37857e=(_0x168168=_0x4b4cb8[_0x3a33ae(0x19e)])==null?void 0x0:_0x168168[_0x3a33ae(0x4e3)])==null?{'v':0x0}:_0x37857e,'spaceBelow':(_0x76bbd5=(_0x9f4424=_0x4b4cb8[_0x3a33ae(0x19e)])==null?void 0x0:_0x9f4424[_0x3a33ae(0x4dc)])==null?{'v':0x0}:_0x76bbd5};}}function fn(_0x2a7a2e,_0x29def9,_0x62df0a=new Set()){const _0x5d50d6=_0x13379c;var _0x176d99;let _0x5d598b=(_0x176d99=_0x2a7a2e[_0x5d50d6(0x218)])==null?void 0x0:_0x176d99[_0x5d50d6(0x1bc)];if(!(!(_0x5d598b!=null&&_0x5d598b[_0x5d50d6(0x135)])||!_0x29def9))for(let _0x2cd750 of _0x5d598b){let _0x105575={..._0x29def9,..._0x2cd750[_0x5d50d6(0x407)]},_0x27d686=_0x29def9;for(let _0x20d6b1 of _0x62df0a)Object[_0x5d50d6(0x75d)][_0x5d50d6(0x6f2)][_0x5d50d6(0x484)](_0x27d686,_0x20d6b1)&&(_0x105575[_0x20d6b1]=_0x27d686[_0x20d6b1]);_0x2cd750[_0x5d50d6(0x407)]={..._0x105575};}}function pn(_0x536214){const _0x53199d=_0x13379c;var _0x461ae6;let _0x216118=(_0x461ae6=_0x536214[_0x53199d(0x218)])==null?void 0x0:_0x461ae6[_0x53199d(0x1bc)];if(_0x216118!=null&&_0x216118[_0x53199d(0x135)])for(let _0x312538 of _0x216118){if(!_0x312538[_0x53199d(0x407)])continue;let _0x43a0df={..._0x312538['renderConfig']};delete _0x43a0df['centerAngle'],delete _0x43a0df[_0x53199d(0x2f8)],delete _0x43a0df['wrapStrategy'],delete _0x43a0df[_0x53199d(0x3b0)],delete _0x43a0df['verticalAlign'],delete _0x43a0df[_0x53199d(0x4f5)],_0x312538[_0x53199d(0x407)]=Object[_0x53199d(0x4dd)](_0x43a0df)[_0x53199d(0x135)]>0x0?_0x43a0df:void 0x0;}}function mn(_0x31508c){const _0x394b9f=_0x13379c;var _0xce456f;let _0x21bf60=_0x31508c['body'],_0x4fe8df=_0x21bf60==null?void 0x0:_0x21bf60[_0x394b9f(0x460)],_0x525c85=_0x21bf60==null?void 0x0:_0x21bf60[_0x394b9f(0x1cb)];if(!_0x21bf60||!_0x525c85)return;let _0x45ea9b=[];for(let _0x3ef867=0x0;_0x3ef867<_0x525c85['length'];_0x3ef867++)_0x525c85[_0x3ef867]==='\x0d'&&_0x45ea9b[_0x394b9f(0x524)](_0x3ef867);if(!_0x45ea9b[_0x394b9f(0x135)])return;let _0x2c219f=new Set((_0xce456f=_0x4fe8df==null?void 0x0:_0x4fe8df[_0x394b9f(0x270)](_0x3a596d=>_0x3a596d[_0x394b9f(0x2ec)])[_0x394b9f(0x2f3)](Boolean))==null?[]:_0xce456f),_0x3fc16b=new Set(),_0x31c872=_0x45ea9b[_0x394b9f(0x270)](_0x193ced=>{const _0x590b5f=_0x394b9f;var _0xe7dcf2;let _0x2d4f33=(_0xe7dcf2=_0x4fe8df==null?void 0x0:_0x4fe8df[_0x590b5f(0x1ed)]((_0x680391,_0x3a017c)=>!_0x3fc16b['has'](_0x3a017c)&&_0x680391[_0x590b5f(0x405)]===_0x193ced))==null?-0x1:_0xe7dcf2;if(!(_0x2d4f33<0x0))return _0x3fc16b[_0x590b5f(0x7e4)](_0x2d4f33),_0x4fe8df==null?void 0x0:_0x4fe8df[_0x2d4f33];}),_0x207ffe=0x0;_0x21bf60['paragraphs']=_0x31c872[_0x394b9f(0x270)]((_0x13adf6,_0x32ef06)=>{const _0x15c36b=_0x394b9f;var _0x20073a,_0x3f4bb3;let _0x501fe2=_0x13adf6;for(;!_0x501fe2&&_0x207ffe<((_0x20073a=_0x4fe8df==null?void 0x0:_0x4fe8df[_0x15c36b(0x135)])==null?0x0:_0x20073a);){let _0x2938f2=_0x207ffe++;_0x3fc16b[_0x15c36b(0x1b2)](_0x2938f2)||(_0x3fc16b['add'](_0x2938f2),_0x501fe2=_0x4fe8df==null?void 0x0:_0x4fe8df[_0x2938f2]);}return{..._0x501fe2,'startIndex':_0x45ea9b[_0x32ef06],'paragraphId':(_0x3f4bb3=_0x501fe2==null?void 0x0:_0x501fe2['paragraphId'])==null?(0x0,o[_0x15c36b(0x382)])(_0x2c219f):_0x3f4bb3};});}function hn(_0x3b6785,_0x1959c9){const _0x4be183=_0x13379c;var _0x534c10,_0x40b22d,_0x5c523d,_0x3255b5,_0x1d3d61,_0x4dad4c,_0x2e2057,_0x3c7198,_0x3a4d39;let {isHorizontal:_0x309fbf,textRect:_0x3e1d97}=_0x1959c9,_0x3acfda=_0x309fbf?_0x3e1d97[_0x4be183(0x23d)]:_0x3e1d97[_0x4be183(0x572)],_0x38f93c=gn(_0x3b6785,_0x309fbf?_0x3e1d97[_0x4be183(0x572)]:_0x3e1d97[_0x4be183(0x23d)]),_0x1df19b=vn(_0x3b6785);tn(_0x1df19b,_0x1959c9['bodyBehavior']);let _0x2ee000=(_0x534c10=_0x1df19b[_0x4be183(0x68e)])==null?{}:_0x534c10,_0x4c5df4={..._0x2ee000[_0x4be183(0x407)],'wrapStrategy':(_0x40b22d=(_0x5c523d=_0x1959c9[_0x4be183(0x27c)])==null?(_0x3255b5=_0x2ee000[_0x4be183(0x407)])==null?void 0x0:_0x3255b5[_0x4be183(0x27c)]:_0x5c523d)==null?o[_0x4be183(0x45f)][_0x4be183(0x5b0)]:_0x40b22d,'zeroWidthParagraphBreak':(_0x1d3d61=(_0x4dad4c=_0x2ee000[_0x4be183(0x407)])==null?void 0x0:_0x4dad4c[_0x4be183(0x30b)])==null?o['BooleanNumber'][_0x4be183(0x6bd)]:_0x1d3d61,'shapeTextOpticalVerticalAlign':_0x309fbf?o[_0x4be183(0x167)][_0x4be183(0x180)]:o[_0x4be183(0x167)][_0x4be183(0x6bd)]};_0x309fbf?(delete _0x4c5df4['centerAngle'],delete _0x4c5df4['vertexAngle']):(_0x4c5df4[_0x4be183(0x537)]=m[_0x4be183(0x266)],_0x4c5df4[_0x4be183(0x2f8)]=m[_0x4be183(0x266)]),_0x1df19b['documentStyle']={..._0x2ee000,'documentFlavor':o[_0x4be183(0x635)][_0x4be183(0x758)],'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x3acfda,'height':_0x38f93c},'renderConfig':_0x4c5df4},mn(_0x1df19b),dn(_0x1df19b);let _0x4cbf8e=ln(_0x1df19b,_0x1959c9);return un(_0x1df19b,{'horizontalAlign':_0x4cbf8e[_0x4be183(0x3b0)],'verticalAlign':(_0x2e2057=_0x1959c9[_0x4be183(0x214)])==null?_0x4cbf8e[_0x4be183(0x214)]:_0x2e2057}),(_0x3c7198=_0x1df19b[_0x4be183(0x68e)])==null||(_0x3c7198=_0x3c7198[_0x4be183(0x407)])==null||delete _0x3c7198[_0x4be183(0x3b0)],fn(_0x1df19b,(_0x3a4d39=_0x1df19b['documentStyle'])==null?void 0x0:_0x3a4d39['renderConfig'],new Set(['shapeTextOpticalVerticalAlign',_0x4be183(0x214),_0x4be183(0x27c)])),_0x1df19b;}function gn(_0x4bbd3f,_0x502061){const _0x3b02d2=_0x13379c;var _0x5b16d3,_0x14aef8;return(_0x5b16d3=(_0x14aef8=_0x4bbd3f[_0x3b02d2(0x218)])==null||(_0x14aef8=_0x14aef8[_0x3b02d2(0x1bc)])==null?void 0x0:_0x14aef8[_0x3b02d2(0x7c9)](_0x2cf65d=>{const _0xa125ee=_0x3b02d2;var _0x4ed738,_0x297e57;return((_0x4ed738=(_0x297e57=_0x2cf65d[_0xa125ee(0x522)])==null?void 0x0:_0x297e57['length'])==null?0x0:_0x4ed738)>0x1;}))!=null&&_0x5b16d3?Math[_0x3b02d2(0x16d)](0x1,_0x502061):0x1/0x0;}function _n(_0x3f7f34,_0x9b3372={}){const _0x363117=_0x13379c;var _0x3e302f,_0x377ed6,_0x1b275b;let _0xe11e37=vn(_0x3f7f34);nn(_0xe11e37,_0x9b3372[_0x363117(0x61a)]);let _0x4fe769=(_0x3e302f=_0xe11e37[_0x363117(0x68e)])==null?{}:_0x3e302f,_0x28b8bb={..._0x4fe769['renderConfig']},_0x58fe1b=ln(_0xe11e37,_0x9b3372),_0x516815=(_0x377ed6=_0x9b3372['horizontalAlign'])==null?_0x58fe1b[_0x363117(0x3b0)]:_0x377ed6,_0x4f252d=(_0x1b275b=_0x9b3372[_0x363117(0x214)])==null?_0x58fe1b[_0x363117(0x214)]:_0x1b275b;delete _0x28b8bb[_0x363117(0x537)],delete _0x28b8bb[_0x363117(0x2f8)],delete _0x28b8bb[_0x363117(0x27c)];let _0x11068c=_0x28b8bb[_0x363117(0x4f5)];return(_0x11068c===o[_0x363117(0x167)]['TRUE']||_0x11068c===!0x0||_0x11068c===o['BooleanNumber'][_0x363117(0x180)]||_0x11068c===!0x1)&&delete _0x28b8bb['shapeTextOpticalVerticalAlign'],_0xe11e37[_0x363117(0x68e)]={..._0x4fe769,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':0x1/0x0,'height':0x1/0x0},'renderConfig':Object[_0x363117(0x4dd)](_0x28b8bb)['length']>0x0?_0x28b8bb:void 0x0},un(_0xe11e37,{'horizontalAlign':_0x516815,'verticalAlign':_0x4f252d}),pn(_0xe11e37),_0xe11e37;}function vn(_0x42af61){const _0x10c855=_0x13379c;var _0x85c4e,_0xa8a041;return{..._0x42af61,'body':_0x42af61['body']?{..._0x42af61[_0x10c855(0x218)],'paragraphs':(_0x85c4e=_0x42af61['body']['paragraphs'])==null?void 0x0:_0x85c4e[_0x10c855(0x270)](_0x443874=>({..._0x443874,'paragraphStyle':yn(_0x443874[_0x10c855(0x19e)])})),'sectionBreaks':(_0xa8a041=_0x42af61['body'][_0x10c855(0x1bc)])==null?void 0x0:_0xa8a041[_0x10c855(0x270)](_0x5ddfca=>({..._0x5ddfca,'renderConfig':yn(_0x5ddfca['renderConfig'])}))}:_0x42af61[_0x10c855(0x218)],'documentStyle':_0x42af61[_0x10c855(0x68e)]?{..._0x42af61['documentStyle'],'renderConfig':yn(_0x42af61[_0x10c855(0x68e)][_0x10c855(0x407)])}:_0x42af61['documentStyle']};}function yn(_0x3ea277){const _0xf419d=_0x13379c;return Array[_0xf419d(0x17f)](_0x3ea277)?_0x3ea277[_0xf419d(0x270)](_0x1cfccb=>yn(_0x1cfccb)):!_0x3ea277||typeof _0x3ea277!=_0xf419d(0x7dc)?_0x3ea277:Object[_0xf419d(0x759)](Object[_0xf419d(0x12d)](_0x3ea277)[_0xf419d(0x270)](([_0x520303,_0x1a6f48])=>[_0x520303,yn(_0x1a6f48)]));}function bn(_0x4a3016){let {isRichText:_0x38de2d,..._0x5739d6}=_0x4a3016==null?{}:_0x4a3016;return _0x5739d6;}function xn(_0x1ad8da){const _0x397917=_0x13379c;return _0x1ad8da[_0x397917(0x5e2)](/\r\n/g,'\x0a')[_0x397917(0x5e2)](/\r/g,'\x0a');}function Sn(_0xd1f854){const _0x4937f0=_0x13379c;if(_0xd1f854&&_0x4937f0(0x39e)in _0xd1f854&&typeof _0xd1f854[_0x4937f0(0x39e)]==_0x4937f0(0x7d3))return _0xd1f854[_0x4937f0(0x39e)];}function Cn(_0x5968c2){const _0x35f42a=_0x13379c;if(!_0x5968c2||!(_0x35f42a(0x263)in _0x5968c2)||_0x5968c2[_0x35f42a(0x263)]!==!0x1)return;let _0x4850e2=_0x5968c2;return{..._0x5968c2[_0x35f42a(0x22f)]?{'ff':_0x5968c2[_0x35f42a(0x22f)]}:{},..._0x5968c2[_0x35f42a(0x7af)]===void 0x0?{}:{'fs':_0x5968c2[_0x35f42a(0x7af)]},..._0x5968c2['color']?{'cl':{'rgb':_0x5968c2[_0x35f42a(0x56c)]}}:{},..._0x5968c2[_0x35f42a(0x721)]===void 0x0?{}:{'bl':_0x5968c2['bold']?o[_0x35f42a(0x167)][_0x35f42a(0x6bd)]:o[_0x35f42a(0x167)][_0x35f42a(0x180)]},..._0x5968c2[_0x35f42a(0x3ef)]===void 0x0?{}:{'it':_0x5968c2['italic']?o[_0x35f42a(0x167)][_0x35f42a(0x6bd)]:o['BooleanNumber'][_0x35f42a(0x180)]},..._0x5968c2[_0x35f42a(0x76f)]===void 0x0?{}:{'ul':{'s':_0x5968c2[_0x35f42a(0x76f)]?o['BooleanNumber'][_0x35f42a(0x6bd)]:o[_0x35f42a(0x167)][_0x35f42a(0x180)]}},..._0x4850e2[_0x35f42a(0x7f2)]===void 0x0?{}:{'st':{'s':_0x4850e2['strikethrough']?o[_0x35f42a(0x167)]['TRUE']:o[_0x35f42a(0x167)]['FALSE']}},..._0x4850e2[_0x35f42a(0x34e)]===void 0x0?{}:{'textFill':_0x4850e2[_0x35f42a(0x34e)]}};}function wn(_0x3e63a3,_0x16d3b6=o[_0x13379c(0x337)][_0x13379c(0x768)],_0x1f39e8=''){const _0x26ac96=_0x13379c;let _0x582e44=xn(_0x1f39e8)['split']('\x0a'),_0x121171=_0x582e44[_0x26ac96(0x61e)]('\x0d')+'\x0d\x0a',_0x48827e=Math[_0x26ac96(0x16d)](0x0,_0x121171[_0x26ac96(0x135)]-0x2),_0x2fcf9e=new Set(),_0x5a14a4=0x0,_0x232bc1=_0x582e44[_0x26ac96(0x270)](_0xb9f9db=>{const _0x3b6beb=_0x26ac96;let _0x4faa69={'startIndex':_0x5a14a4+_0xb9f9db[_0x3b6beb(0x135)],'paragraphId':(0x0,o[_0x3b6beb(0x382)])(_0x2fcf9e),'paragraphStyle':{'horizontalAlign':_0x16d3b6}};return _0x5a14a4+=_0xb9f9db['length']+0x1,_0x4faa69;});return{'id':_0x26ac96(0x40b),'body':{'dataStream':_0x121171,'textRuns':_0x3e63a3?[{'st':0x0,'ed':Math[_0x26ac96(0x16d)](0x1,_0x48827e),'ts':{..._0x3e63a3}}]:[],'paragraphs':_0x232bc1},'documentStyle':{'textStyle':_0x3e63a3?{..._0x3e63a3}:void 0x0}};}function Tn(_0x58bc31,_0x45d707){const _0x516292=_0x13379c;var _0x3388c1,_0x3a2db6,_0x283a9a;let _0x5e4cb7=_0x58bc31[_0x516292(0x4d9)],_0x2ae834=ae(_0x5e4cb7&&_0x516292(0x797)in _0x5e4cb7?_0x5e4cb7[_0x516292(0x797)]:void 0x0),_0x225e61=(_0x3388c1=(_0x3a2db6=_0x45d707[_0x516292(0x3b0)])==null?_0x2ae834==null?void 0x0:_0x2ae834['ha']:_0x3a2db6)==null?o[_0x516292(0x337)][_0x516292(0x768)]:_0x3388c1,_0x373d86={...Cn(_0x5e4cb7),..._0x45d707[_0x516292(0x3d9)]},_0x2a2004=Object[_0x516292(0x4dd)](_0x373d86)[_0x516292(0x135)]>0x0;if(_0x2ae834!=null&&_0x2ae834['doc']){var _0x47524c,_0x1021d6;return{'va':(_0x47524c=_0x2ae834['va'])==null?o[_0x516292(0x7f0)][_0x516292(0x267)]:_0x47524c,'ha':(_0x1021d6=_0x2ae834['ha'])==null?o['HorizontalAlign']['LEFT']:_0x1021d6,'doc':vn(_0x2ae834[_0x516292(0x724)])};}return{'va':o[_0x516292(0x7f0)][_0x516292(0x267)],'ha':_0x225e61,'doc':wn(_0x2a2004?_0x373d86:void 0x0,_0x225e61,(_0x283a9a=Sn(_0x5e4cb7))==null?'':_0x283a9a)};}function En(_0x4eab76,_0x37f28d){const _0x122df9=_0x13379c;var _0x446631,_0x39eb43,_0x2f1f69;let _0x4cc1b0=_0x4eab76[_0x122df9(0x4d9)],_0x59b034=bn(_0x4cc1b0),_0xa57167=_0x4cc1b0&&_0x122df9(0x797)in _0x4cc1b0&&_0x4cc1b0[_0x122df9(0x797)]&&typeof _0x4cc1b0['dataModel']=='object'?_0x4cc1b0[_0x122df9(0x797)]:{},_0x2d70f3=Sn(_0x4cc1b0),_0x5a34b1=Tn(_0x4eab76,_0x37f28d),_0x1c9fe1=(_0x446631=_0x37f28d[_0x122df9(0x3b0)])==null?_0x5a34b1['ha']:_0x446631,_0x692afc=(_0x39eb43=_0x37f28d[_0x122df9(0x214)])==null?_0x5a34b1['va']:_0x39eb43,_0x2578fd=_0x5a34b1[_0x122df9(0x724)];if(_0x37f28d[_0x122df9(0x3d9)]&&_0x2578fd){var _0x5b8010,_0x3ca458;_0x2578fd[_0x122df9(0x68e)]={..._0x2578fd[_0x122df9(0x68e)],'textStyle':{...(_0x5b8010=_0x2578fd[_0x122df9(0x68e)])==null?void 0x0:_0x5b8010[_0x122df9(0x3d9)],..._0x37f28d[_0x122df9(0x3d9)]}};let _0x15a1d1=(_0x3ca458=_0x2578fd[_0x122df9(0x218)])==null?void 0x0:_0x3ca458[_0x122df9(0x80d)];if(_0x15a1d1){for(let _0x3ec616 of _0x15a1d1)_0x3ec616['ts']={..._0x3ec616['ts'],..._0x37f28d[_0x122df9(0x3d9)]};}}return(0x0,C[_0x122df9(0x5c0)])({'shapeText':{..._0x59b034,'isHorizontal':(_0x2f1f69=_0x4cc1b0==null?void 0x0:_0x4cc1b0[_0x122df9(0x589)])==null?!0x0:_0x2f1f69,..._0x2d70f3===void 0x0?{}:{'text':_0x2d70f3},'dataModel':{..._0xa57167,'va':_0x692afc,'ha':_0x1c9fe1,'doc':_0x2578fd}}},{..._0x37f28d[_0x122df9(0x3b0)]===void 0x0?null:{'horizontalAlign':_0x1c9fe1},..._0x37f28d[_0x122df9(0x214)]===void 0x0?null:{'verticalAlign':_0x692afc}});}let Dn=function(_0x574eef){const _0x5be267=_0x13379c;return _0x574eef['Line']=_0x5be267(0x55a),_0x574eef[_0x5be267(0x384)]=_0x5be267(0x2a6),_0x574eef['BasicShape']=_0x5be267(0x674),_0x574eef[_0x5be267(0x312)]='blockArrow',_0x574eef['EquationShape']=_0x5be267(0x727),_0x574eef[_0x5be267(0x611)]=_0x5be267(0x4ed),_0x574eef[_0x5be267(0x64b)]=_0x5be267(0x3f5),_0x574eef['Callout']=_0x5be267(0x380),_0x574eef[_0x5be267(0x7fa)]=_0x5be267(0x15d),_0x574eef;}({});const On=[{'group':_0x13379c(0x55a),'type':C[_0x13379c(0x815)][_0x13379c(0x204)],'icon':_0x13379c(0x308),'name':'shape.type.line'},{'group':_0x13379c(0x55a),'type':C[_0x13379c(0x815)][_0x13379c(0x54b)],'icon':'ShapeStraightConnector1Icon','name':_0x13379c(0x49e),'endArrow':!0x0},{'group':_0x13379c(0x55a),'type':C['ShapeTypeEnum'][_0x13379c(0x54b)],'icon':'ShapeStraightConnector2Icon','name':'shape.type.straight-connector2','endArrow':!0x0,'startArrow':!0x0},{'group':_0x13379c(0x55a),'type':C['ShapeTypeEnum']['BentConnector3'],'icon':_0x13379c(0x4c4),'name':_0x13379c(0x4a1)},{'group':_0x13379c(0x55a),'type':C['ShapeTypeEnum']['BentConnector3'],'icon':_0x13379c(0x406),'name':_0x13379c(0x6e6),'endArrow':!0x0},{'group':_0x13379c(0x55a),'type':C[_0x13379c(0x815)][_0x13379c(0x819)],'icon':'ShapeBentConnector3Arrow2Icon','name':'shape.type.bent-connector3-arrow2','endArrow':!0x0,'startArrow':!0x0},{'group':_0x13379c(0x55a),'type':C[_0x13379c(0x815)][_0x13379c(0x7ea)],'icon':_0x13379c(0x746),'name':'shape.type.curved-connector3'},{'group':_0x13379c(0x55a),'type':C['ShapeTypeEnum'][_0x13379c(0x7ea)],'icon':_0x13379c(0x629),'name':_0x13379c(0x1b7),'endArrow':!0x0},{'group':_0x13379c(0x55a),'type':C['ShapeTypeEnum'][_0x13379c(0x7ea)],'icon':'ShapeCurvedConnector3Arrow2Icon','name':_0x13379c(0x691),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x13379c(0x2a6),'type':C[_0x13379c(0x815)][_0x13379c(0x398)],'icon':_0x13379c(0x541),'name':_0x13379c(0x174)},{'group':_0x13379c(0x2a6),'type':C[_0x13379c(0x815)][_0x13379c(0x669)],'icon':_0x13379c(0x19b),'name':'shape.type.round-rect'},{'group':_0x13379c(0x2a6),'type':C[_0x13379c(0x815)][_0x13379c(0x41e)],'icon':_0x13379c(0x165),'name':_0x13379c(0x72e)},{'group':_0x13379c(0x2a6),'type':C[_0x13379c(0x815)]['Snip2SameRect'],'icon':_0x13379c(0x412),'name':_0x13379c(0x1e9)},{'group':'rectangle','type':C[_0x13379c(0x815)]['Snip2DiagRect'],'icon':_0x13379c(0x7c8),'name':_0x13379c(0x21e)},{'group':'rectangle','type':C[_0x13379c(0x815)][_0x13379c(0x251)],'icon':_0x13379c(0x723),'name':_0x13379c(0x485)},{'group':_0x13379c(0x2a6),'type':C['ShapeTypeEnum'][_0x13379c(0x6b1)],'icon':_0x13379c(0x28d),'name':_0x13379c(0x7a5)},{'group':_0x13379c(0x2a6),'type':C['ShapeTypeEnum'][_0x13379c(0x694)],'icon':'ShapeRound2SameRectIcon','name':'shape.type.round2-same-rect'},{'group':_0x13379c(0x2a6),'type':C[_0x13379c(0x815)][_0x13379c(0x7da)],'icon':_0x13379c(0x120),'name':_0x13379c(0x31e)},{'group':_0x13379c(0x674),'type':C[_0x13379c(0x815)][_0x13379c(0x398)],'icon':_0x13379c(0x77c),'name':_0x13379c(0x7ee),'horizontal':!0x0},{'group':_0x13379c(0x674),'type':C[_0x13379c(0x815)][_0x13379c(0x398)],'icon':_0x13379c(0x4de),'name':_0x13379c(0x6e0),'vertical':!0x0},{'group':_0x13379c(0x674),'type':C[_0x13379c(0x815)][_0x13379c(0x49c)],'icon':_0x13379c(0x430),'name':'shape.type.ellipse'},{'group':_0x13379c(0x674),'type':C['ShapeTypeEnum']['Triangle'],'icon':_0x13379c(0x3fe),'name':_0x13379c(0x6cc)},{'group':'basicShape','type':C[_0x13379c(0x815)][_0x13379c(0x41d)],'icon':'ShapeRtTriangleIcon','name':_0x13379c(0x259)},{'group':_0x13379c(0x674),'type':C[_0x13379c(0x815)]['Parallelogram'],'icon':'ShapeParallelogramIcon','name':_0x13379c(0x49a)},{'group':_0x13379c(0x674),'type':C[_0x13379c(0x815)][_0x13379c(0x3ca)],'icon':_0x13379c(0x330),'name':_0x13379c(0x523)},{'group':_0x13379c(0x674),'type':C[_0x13379c(0x815)][_0x13379c(0x731)],'icon':_0x13379c(0x1e2),'name':_0x13379c(0x6f0)},{'group':_0x13379c(0x674),'type':C[_0x13379c(0x815)][_0x13379c(0x227)],'icon':'ShapePentagonIcon','name':_0x13379c(0x4bd)},{'group':'basicShape','type':C[_0x13379c(0x815)][_0x13379c(0x3f4)],'icon':_0x13379c(0x22e),'name':_0x13379c(0x222)},{'group':'basicShape','type':C[_0x13379c(0x815)]['Heptagon'],'icon':'ShapeHeptagonIcon','name':_0x13379c(0x588)},{'group':_0x13379c(0x674),'type':C[_0x13379c(0x815)][_0x13379c(0x66e)],'icon':_0x13379c(0x716),'name':_0x13379c(0x624)},{'group':_0x13379c(0x674),'type':C[_0x13379c(0x815)][_0x13379c(0x27b)],'icon':'ShapeDecagonIcon','name':'shape.type.decagon'},{'group':_0x13379c(0x674),'type':C[_0x13379c(0x815)][_0x13379c(0x509)],'icon':_0x13379c(0x717),'name':'shape.type.dodecagon'},{'group':_0x13379c(0x674),'type':C[_0x13379c(0x815)]['Pie'],'icon':_0x13379c(0x391),'name':_0x13379c(0x6a7)},{'group':_0x13379c(0x674),'type':C[_0x13379c(0x815)]['Chord'],'icon':_0x13379c(0x811),'name':_0x13379c(0x290)},{'group':_0x13379c(0x674),'type':C['ShapeTypeEnum'][_0x13379c(0x4d1)],'icon':_0x13379c(0x71f),'name':_0x13379c(0x3ae)},{'group':_0x13379c(0x674),'type':C[_0x13379c(0x815)][_0x13379c(0x443)],'icon':_0x13379c(0x32c),'name':_0x13379c(0x772)},{'group':_0x13379c(0x674),'type':C[_0x13379c(0x815)]['HalfFrame'],'icon':_0x13379c(0x4b5),'name':_0x13379c(0x478)},{'group':'basicShape','type':C['ShapeTypeEnum'][_0x13379c(0x43d)],'icon':_0x13379c(0x292),'name':_0x13379c(0x157)},{'group':_0x13379c(0x674),'type':C['ShapeTypeEnum']['DiagStripe'],'icon':_0x13379c(0x2bb),'name':_0x13379c(0x7bd)},{'group':_0x13379c(0x674),'type':C[_0x13379c(0x815)][_0x13379c(0x498)],'icon':_0x13379c(0x2b1),'name':_0x13379c(0x620)},{'group':_0x13379c(0x674),'type':C[_0x13379c(0x815)][_0x13379c(0x423)],'icon':_0x13379c(0x43e),'name':_0x13379c(0x1fa)},{'group':_0x13379c(0x674),'type':C[_0x13379c(0x815)][_0x13379c(0x73f)],'icon':_0x13379c(0x568),'name':'shape.type.can'},{'group':_0x13379c(0x674),'type':C[_0x13379c(0x815)][_0x13379c(0x320)],'icon':_0x13379c(0x507),'name':_0x13379c(0x170)},{'group':_0x13379c(0x674),'type':C['ShapeTypeEnum']['Bevel'],'icon':_0x13379c(0x5a5),'name':_0x13379c(0x176)},{'group':_0x13379c(0x674),'type':C['ShapeTypeEnum'][_0x13379c(0x3bb)],'icon':_0x13379c(0x6c1),'name':'shape.type.donut'},{'group':_0x13379c(0x674),'type':C['ShapeTypeEnum'][_0x13379c(0x62a)],'icon':_0x13379c(0x813),'name':_0x13379c(0x561)},{'group':_0x13379c(0x674),'type':C[_0x13379c(0x815)][_0x13379c(0x655)],'icon':'ShapeBlockArcIcon','name':_0x13379c(0x2ad)},{'group':_0x13379c(0x674),'type':C[_0x13379c(0x815)]['FoldedCorner'],'icon':'ShapeFolderCornerIcon','name':'shape.type.folder-corner'},{'group':_0x13379c(0x674),'type':C[_0x13379c(0x815)][_0x13379c(0x747)],'icon':'ShapeSmileyFaceIcon','name':_0x13379c(0x43b)},{'group':_0x13379c(0x674),'type':C['ShapeTypeEnum']['Heart'],'icon':_0x13379c(0x4e2),'name':_0x13379c(0x58c)},{'group':_0x13379c(0x674),'type':C[_0x13379c(0x815)][_0x13379c(0x794)],'icon':'ShapeLightningBoltIcon','name':_0x13379c(0x394)},{'group':_0x13379c(0x674),'type':C['ShapeTypeEnum'][_0x13379c(0x36a)],'icon':_0x13379c(0x14b),'name':_0x13379c(0x402)},{'group':_0x13379c(0x674),'type':C['ShapeTypeEnum'][_0x13379c(0x5a1)],'icon':_0x13379c(0x1d8),'name':_0x13379c(0x494)},{'group':_0x13379c(0x674),'type':C[_0x13379c(0x815)]['Cloud'],'icon':_0x13379c(0x821),'name':_0x13379c(0x508)},{'group':'basicShape','type':C['ShapeTypeEnum'][_0x13379c(0x2c7)],'icon':_0x13379c(0x807),'name':_0x13379c(0x302)},{'group':_0x13379c(0x674),'type':C[_0x13379c(0x815)]['BracketPair'],'icon':_0x13379c(0x296),'name':'shape.type.bracket-pair'},{'group':_0x13379c(0x674),'type':C['ShapeTypeEnum'][_0x13379c(0x4bc)],'icon':_0x13379c(0x2fa),'name':_0x13379c(0x718)},{'group':_0x13379c(0x674),'type':C[_0x13379c(0x815)][_0x13379c(0x32a)],'icon':'ShapeLeftBracketIcon','name':_0x13379c(0x596)},{'group':'basicShape','type':C['ShapeTypeEnum'][_0x13379c(0x787)],'icon':_0x13379c(0x1c5),'name':_0x13379c(0x594)},{'group':_0x13379c(0x674),'type':C[_0x13379c(0x815)]['LeftBrace'],'icon':_0x13379c(0x704),'name':_0x13379c(0x1eb)},{'group':_0x13379c(0x674),'type':C[_0x13379c(0x815)][_0x13379c(0x6ec)],'icon':_0x13379c(0x7a0),'name':_0x13379c(0x4da)},{'group':_0x13379c(0x639),'type':C[_0x13379c(0x815)]['RightArrow'],'icon':_0x13379c(0x5c7),'name':_0x13379c(0x664)},{'group':_0x13379c(0x639),'type':C['ShapeTypeEnum']['LeftArrow'],'icon':'ShapeLeftArrowIcon','name':_0x13379c(0x313)},{'group':'blockArrow','type':C['ShapeTypeEnum']['UpArrow'],'icon':_0x13379c(0x196),'name':_0x13379c(0x4ac)},{'group':_0x13379c(0x639),'type':C[_0x13379c(0x815)][_0x13379c(0x7f4)],'icon':_0x13379c(0x551),'name':'shape.type.down-arrow'},{'group':_0x13379c(0x639),'type':C[_0x13379c(0x815)][_0x13379c(0x7df)],'icon':_0x13379c(0x5f3),'name':'shape.type.left-right-arrow'},{'group':_0x13379c(0x639),'type':C[_0x13379c(0x815)]['UpDownArrow'],'icon':_0x13379c(0x712),'name':_0x13379c(0x598)},{'group':'blockArrow','type':C[_0x13379c(0x815)][_0x13379c(0x7e8)],'icon':_0x13379c(0x636),'name':'shape.type.quad-arrow'},{'group':_0x13379c(0x639),'type':C[_0x13379c(0x815)][_0x13379c(0x5bd)],'icon':_0x13379c(0x38a),'name':_0x13379c(0x247)},{'group':_0x13379c(0x639),'type':C['ShapeTypeEnum']['BentArrow'],'icon':'ShapeBentArrowIcon','name':_0x13379c(0x358)},{'group':_0x13379c(0x639),'type':C[_0x13379c(0x815)][_0x13379c(0x178)],'icon':'ShapeUturnArrowIcon','name':_0x13379c(0x226)},{'group':_0x13379c(0x639),'type':C['ShapeTypeEnum']['LeftUpArrow'],'icon':_0x13379c(0x283),'name':'shape.type.left-up-arrow'},{'group':'blockArrow','type':C['ShapeTypeEnum'][_0x13379c(0x395)],'icon':_0x13379c(0x6cb),'name':_0x13379c(0x60c)},{'group':'blockArrow','type':C[_0x13379c(0x815)][_0x13379c(0x59a)],'icon':_0x13379c(0x4d6),'name':_0x13379c(0x81c)},{'group':_0x13379c(0x639),'type':C[_0x13379c(0x815)]['CurvedLeftArrow'],'icon':_0x13379c(0x438),'name':_0x13379c(0x3dd)},{'group':_0x13379c(0x639),'type':C[_0x13379c(0x815)][_0x13379c(0x5dc)],'icon':'ShapeCurvedUpArrowIcon','name':_0x13379c(0x729)},{'group':_0x13379c(0x639),'type':C[_0x13379c(0x815)][_0x13379c(0x5a6)],'icon':_0x13379c(0x60e),'name':_0x13379c(0x583)},{'group':_0x13379c(0x639),'type':C[_0x13379c(0x815)]['StripedRightArrow'],'icon':_0x13379c(0x362),'name':_0x13379c(0x5cc)},{'group':'blockArrow','type':C['ShapeTypeEnum'][_0x13379c(0x683)],'icon':'ShapeNotchedRightArrowIcon','name':_0x13379c(0x77a)},{'group':_0x13379c(0x639),'type':C[_0x13379c(0x815)][_0x13379c(0x6cf)],'icon':_0x13379c(0x6d7),'name':_0x13379c(0x7a7)},{'group':_0x13379c(0x639),'type':C[_0x13379c(0x815)][_0x13379c(0x48b)],'icon':_0x13379c(0x5aa),'name':_0x13379c(0x35b)},{'group':_0x13379c(0x639),'type':C['ShapeTypeEnum']['RightArrowCallout'],'icon':'ShapeRightArrowCalloutIcon','name':_0x13379c(0x789)},{'group':'blockArrow','type':C[_0x13379c(0x815)][_0x13379c(0x36f)],'icon':'ShapeDownArrowCalloutIcon','name':'shape.type.down-arrow-callout'},{'group':_0x13379c(0x639),'type':C[_0x13379c(0x815)][_0x13379c(0x30c)],'icon':'ShapeLeftArrowCalloutIcon','name':_0x13379c(0x701)},{'group':'blockArrow','type':C[_0x13379c(0x815)][_0x13379c(0x6f6)],'icon':_0x13379c(0x46e),'name':'shape.type.up-arrow-callout'},{'group':_0x13379c(0x639),'type':C[_0x13379c(0x815)][_0x13379c(0x25a)],'icon':_0x13379c(0x47d),'name':_0x13379c(0x4ca)},{'group':_0x13379c(0x639),'type':C[_0x13379c(0x815)]['QuadArrowCallout'],'icon':_0x13379c(0x61c),'name':_0x13379c(0x28c)},{'group':_0x13379c(0x639),'type':C[_0x13379c(0x815)][_0x13379c(0x783)],'icon':_0x13379c(0x757),'name':_0x13379c(0x2c4)},{'group':_0x13379c(0x727),'type':C[_0x13379c(0x815)][_0x13379c(0x228)],'icon':_0x13379c(0x79a),'name':_0x13379c(0x75a)},{'group':_0x13379c(0x727),'type':C[_0x13379c(0x815)][_0x13379c(0x69b)],'icon':_0x13379c(0x192),'name':_0x13379c(0x7f5)},{'group':_0x13379c(0x727),'type':C[_0x13379c(0x815)]['MathMultiply'],'icon':_0x13379c(0x2c9),'name':_0x13379c(0x67b)},{'group':_0x13379c(0x727),'type':C[_0x13379c(0x815)][_0x13379c(0x63d)],'icon':_0x13379c(0x224),'name':'shape.type.math-divide'},{'group':'equationShape','type':C[_0x13379c(0x815)][_0x13379c(0x3db)],'icon':_0x13379c(0x657),'name':'shape.type.math-equal'},{'group':_0x13379c(0x727),'type':C[_0x13379c(0x815)][_0x13379c(0x6c3)],'icon':_0x13379c(0x1d2),'name':_0x13379c(0x1ff)},{'group':_0x13379c(0x4ed),'type':C[_0x13379c(0x815)]['FlowchartProcess'],'icon':_0x13379c(0x515),'name':'shape.type.flow-chart-process'},{'group':'flowchart','type':C['ShapeTypeEnum'][_0x13379c(0x1cf)],'icon':_0x13379c(0x17b),'name':_0x13379c(0x511)},{'group':'flowchart','type':C[_0x13379c(0x815)][_0x13379c(0x4cb)],'icon':'ShapeFlowChartDecisionIcon','name':'shape.type.flow-chart-decision'},{'group':_0x13379c(0x4ed),'type':C['ShapeTypeEnum'][_0x13379c(0x422)],'icon':'ShapeFlowChartInputOutputIcon','name':_0x13379c(0x45e)},{'group':'flowchart','type':C[_0x13379c(0x815)][_0x13379c(0x709)],'icon':_0x13379c(0x68c),'name':'shape.type.flow-chart-predefined-process'},{'group':_0x13379c(0x4ed),'type':C[_0x13379c(0x815)][_0x13379c(0x6be)],'icon':_0x13379c(0x4db),'name':_0x13379c(0x2c6)},{'group':_0x13379c(0x4ed),'type':C[_0x13379c(0x815)][_0x13379c(0x125)],'icon':_0x13379c(0x3e7),'name':_0x13379c(0x67c)},{'group':_0x13379c(0x4ed),'type':C[_0x13379c(0x815)][_0x13379c(0x2db)],'icon':_0x13379c(0x5bf),'name':'shape.type.flow-chart-multidocument'},{'group':_0x13379c(0x4ed),'type':C[_0x13379c(0x815)][_0x13379c(0x7ca)],'icon':'ShapeFlowChartTerminatorIcon','name':_0x13379c(0x3f3)},{'group':_0x13379c(0x4ed),'type':C['ShapeTypeEnum'][_0x13379c(0x1a8)],'icon':_0x13379c(0x4e0),'name':_0x13379c(0x818)},{'group':_0x13379c(0x4ed),'type':C[_0x13379c(0x815)]['FlowchartManualInput'],'icon':_0x13379c(0x3d8),'name':_0x13379c(0x63a)},{'group':'flowchart','type':C[_0x13379c(0x815)][_0x13379c(0x788)],'icon':_0x13379c(0x2a1),'name':_0x13379c(0x50e)},{'group':_0x13379c(0x4ed),'type':C[_0x13379c(0x815)][_0x13379c(0x310)],'icon':_0x13379c(0x66a),'name':_0x13379c(0x3e6)},{'group':_0x13379c(0x4ed),'type':C['ShapeTypeEnum'][_0x13379c(0x3aa)],'icon':_0x13379c(0x578),'name':_0x13379c(0x261)},{'group':_0x13379c(0x4ed),'type':C['ShapeTypeEnum'][_0x13379c(0x585)],'icon':_0x13379c(0x2ce),'name':'shape.type.flow-chart-punched-card'},{'group':_0x13379c(0x4ed),'type':C[_0x13379c(0x815)]['FlowchartPunchedTape'],'icon':_0x13379c(0x383),'name':'shape.type.flow-chart-punched-tape'},{'group':_0x13379c(0x4ed),'type':C[_0x13379c(0x815)][_0x13379c(0x530)],'icon':'ShapeFlowChartSummingJunctionIcon','name':_0x13379c(0x1c3)},{'group':_0x13379c(0x4ed),'type':C[_0x13379c(0x815)][_0x13379c(0x3e9)],'icon':_0x13379c(0x47e),'name':_0x13379c(0x314)},{'group':'flowchart','type':C[_0x13379c(0x815)][_0x13379c(0x54e)],'icon':_0x13379c(0x70f),'name':_0x13379c(0x14e)},{'group':_0x13379c(0x4ed),'type':C[_0x13379c(0x815)][_0x13379c(0x3d3)],'icon':_0x13379c(0x533),'name':_0x13379c(0x205)},{'group':'flowchart','type':C[_0x13379c(0x815)][_0x13379c(0x2e7)],'icon':_0x13379c(0x428),'name':_0x13379c(0x553)},{'group':_0x13379c(0x4ed),'type':C[_0x13379c(0x815)][_0x13379c(0x2ba)],'icon':_0x13379c(0x159),'name':'shape.type.flow-chart-merge'},{'group':_0x13379c(0x4ed),'type':C[_0x13379c(0x815)]['FlowchartOnlineStorage'],'icon':'ShapeFlowChartOnlineStorageIcon','name':'shape.type.flow-chart-online-storage'},{'group':_0x13379c(0x4ed),'type':C[_0x13379c(0x815)][_0x13379c(0x5af)],'icon':_0x13379c(0x49d),'name':'shape.type.flow-chart-delay'},{'group':_0x13379c(0x4ed),'type':C[_0x13379c(0x815)][_0x13379c(0x661)],'icon':_0x13379c(0x4c8),'name':_0x13379c(0x278)},{'group':_0x13379c(0x4ed),'type':C[_0x13379c(0x815)]['FlowchartMagneticDisk'],'icon':'ShapeFlowChartMagneticDiskIcon','name':_0x13379c(0x65f)},{'group':'flowchart','type':C['ShapeTypeEnum'][_0x13379c(0x4a6)],'icon':_0x13379c(0x4f1),'name':_0x13379c(0x121)},{'group':_0x13379c(0x4ed),'type':C[_0x13379c(0x815)][_0x13379c(0x18c)],'icon':_0x13379c(0x1c8),'name':_0x13379c(0x38d)},{'group':_0x13379c(0x3f5),'type':C[_0x13379c(0x815)][_0x13379c(0x293)],'icon':'ShapeIrregularSeal1Icon','name':'shape.type.irregular-seal1'},{'group':_0x13379c(0x3f5),'type':C['ShapeTypeEnum'][_0x13379c(0x649)],'icon':_0x13379c(0x476),'name':_0x13379c(0x30d)},{'group':'starAndBanner','type':C[_0x13379c(0x815)][_0x13379c(0x241)],'icon':_0x13379c(0x331),'name':_0x13379c(0x23f)},{'group':'starAndBanner','type':C[_0x13379c(0x815)][_0x13379c(0x2a5)],'icon':_0x13379c(0x57e),'name':'shape.type.star5'},{'group':_0x13379c(0x3f5),'type':C[_0x13379c(0x815)][_0x13379c(0x536)],'icon':_0x13379c(0x6da),'name':_0x13379c(0x4ea)},{'group':_0x13379c(0x3f5),'type':C[_0x13379c(0x815)][_0x13379c(0x6ef)],'icon':_0x13379c(0x1f4),'name':_0x13379c(0x340)},{'group':'starAndBanner','type':C[_0x13379c(0x815)][_0x13379c(0x319)],'icon':_0x13379c(0x286),'name':'shape.type.star8'},{'group':_0x13379c(0x3f5),'type':C[_0x13379c(0x815)]['Star10'],'icon':'ShapeStar10Icon','name':_0x13379c(0x1e4)},{'group':_0x13379c(0x3f5),'type':C[_0x13379c(0x815)][_0x13379c(0x2b2)],'icon':_0x13379c(0x1dd),'name':'shape.type.star12'},{'group':_0x13379c(0x3f5),'type':C[_0x13379c(0x815)][_0x13379c(0x1e3)],'icon':_0x13379c(0x26c),'name':_0x13379c(0x581)},{'group':_0x13379c(0x3f5),'type':C[_0x13379c(0x815)][_0x13379c(0x31b)],'icon':'ShapeStar24Icon','name':_0x13379c(0x520)},{'group':_0x13379c(0x3f5),'type':C[_0x13379c(0x815)][_0x13379c(0x5ce)],'icon':_0x13379c(0x42c),'name':_0x13379c(0x580)},{'group':_0x13379c(0x3f5),'type':C['ShapeTypeEnum'][_0x13379c(0x220)],'icon':_0x13379c(0x6c5),'name':_0x13379c(0x360)},{'group':'starAndBanner','type':C['ShapeTypeEnum'][_0x13379c(0x5ea)],'icon':'ShapeRibbonIcon','name':_0x13379c(0x3b5)},{'group':_0x13379c(0x3f5),'type':C[_0x13379c(0x815)][_0x13379c(0x3cd)],'icon':'ShapeEllipseRibbon2Icon','name':_0x13379c(0x61f)},{'group':_0x13379c(0x3f5),'type':C['ShapeTypeEnum'][_0x13379c(0x29a)],'icon':'ShapeEllipseRibbonIcon','name':_0x13379c(0x459)},{'group':_0x13379c(0x3f5),'type':C[_0x13379c(0x815)][_0x13379c(0x285)],'icon':'ShapeVerticalScrollIcon','name':'shape.type.vertical-scroll'},{'group':'starAndBanner','type':C[_0x13379c(0x815)]['HorizontalScroll'],'icon':_0x13379c(0x6d0),'name':_0x13379c(0x70d)},{'group':_0x13379c(0x3f5),'type':C[_0x13379c(0x815)][_0x13379c(0x7d7)],'icon':_0x13379c(0x3cb),'name':_0x13379c(0x786)},{'group':_0x13379c(0x3f5),'type':C[_0x13379c(0x815)]['DoubleWave'],'icon':'ShapeDoubleWaveIcon','name':_0x13379c(0x4d2)},{'group':_0x13379c(0x380),'type':C[_0x13379c(0x815)][_0x13379c(0x703)],'icon':_0x13379c(0x5d6),'name':'shape.type.wedge-rect-callout'},{'group':_0x13379c(0x380),'type':C[_0x13379c(0x815)][_0x13379c(0x24c)],'icon':_0x13379c(0x1fb),'name':'shape.type.wedge-round-rect-callout'},{'group':'callout','type':C[_0x13379c(0x815)][_0x13379c(0x78b)],'icon':_0x13379c(0x7c1),'name':'shape.type.wedge-ellipse-callout'},{'group':_0x13379c(0x380),'type':C[_0x13379c(0x815)][_0x13379c(0x1cd)],'icon':_0x13379c(0x431),'name':_0x13379c(0x685)},{'group':'callout','type':C[_0x13379c(0x815)]['BorderCallout1'],'icon':_0x13379c(0x574),'name':_0x13379c(0x7f1)},{'group':'callout','type':C[_0x13379c(0x815)][_0x13379c(0x795)],'icon':_0x13379c(0x42e),'name':_0x13379c(0x177)},{'group':_0x13379c(0x380),'type':C[_0x13379c(0x815)][_0x13379c(0x549)],'icon':'ShapeBorderCallout3Icon','name':_0x13379c(0x52b)},{'group':_0x13379c(0x380),'type':C[_0x13379c(0x815)][_0x13379c(0x46d)],'icon':'ShapeAccentCallout1Icon','name':_0x13379c(0x501)},{'group':_0x13379c(0x380),'type':C[_0x13379c(0x815)][_0x13379c(0x70a)],'icon':_0x13379c(0x281),'name':_0x13379c(0x672)},{'group':_0x13379c(0x380),'type':C[_0x13379c(0x815)][_0x13379c(0x745)],'icon':_0x13379c(0x425),'name':_0x13379c(0x689)},{'group':'callout','type':C['ShapeTypeEnum'][_0x13379c(0x142)],'icon':_0x13379c(0x307),'name':_0x13379c(0x403)},{'group':_0x13379c(0x380),'type':C[_0x13379c(0x815)][_0x13379c(0x1d9)],'icon':_0x13379c(0x161),'name':_0x13379c(0x7ac)},{'group':_0x13379c(0x380),'type':C[_0x13379c(0x815)][_0x13379c(0x138)],'icon':'ShapeCallout3Icon','name':_0x13379c(0x343)},{'group':_0x13379c(0x380),'type':C[_0x13379c(0x815)]['AccentBorderCallout1'],'icon':'ShapeAccentBorderCallout1Icon','name':'shape.type.accent-border-callout1'},{'group':_0x13379c(0x380),'type':C['ShapeTypeEnum'][_0x13379c(0x60d)],'icon':_0x13379c(0x6e8),'name':_0x13379c(0x2e5)},{'group':_0x13379c(0x380),'type':C[_0x13379c(0x815)][_0x13379c(0x61d)],'icon':_0x13379c(0x12e),'name':_0x13379c(0x2d9)},{'group':_0x13379c(0x15d),'type':C[_0x13379c(0x815)]['LeftCircularArrow'],'icon':_0x13379c(0x1ec),'name':'shape.type.left-circular-arrow'},{'group':_0x13379c(0x15d),'type':C[_0x13379c(0x815)][_0x13379c(0x299)],'icon':_0x13379c(0x126),'name':'shape.type.left-right-circular-arrow'},{'group':_0x13379c(0x15d),'type':C[_0x13379c(0x815)][_0x13379c(0x7a4)],'icon':_0x13379c(0x6a2),'name':_0x13379c(0x480)},{'group':_0x13379c(0x15d),'type':C['ShapeTypeEnum']['LeftRightRibbon'],'icon':'ShapeLeftRightRibbonIcon','name':_0x13379c(0x55f)},{'group':'other','type':C[_0x13379c(0x815)]['PieWedge'],'icon':_0x13379c(0x733),'name':'shape.type.pie-wedge'},{'group':_0x13379c(0x15d),'type':C[_0x13379c(0x815)][_0x13379c(0x64d)],'icon':'ShapeFunnelIcon','name':_0x13379c(0x363)},{'group':'other','type':C[_0x13379c(0x815)]['Gear6'],'icon':_0x13379c(0x2ea),'name':'shape.type.gear6'},{'group':'other','type':C[_0x13379c(0x815)][_0x13379c(0x5b7)],'icon':_0x13379c(0x67d),'name':_0x13379c(0x5b6)},{'group':'other','type':C['ShapeTypeEnum'][_0x13379c(0x1a9)],'icon':_0x13379c(0x3e0),'name':_0x13379c(0x628)},{'group':_0x13379c(0x15d),'type':C['ShapeTypeEnum'][_0x13379c(0x7cd)],'icon':_0x13379c(0x805),'name':_0x13379c(0x2be)},{'group':_0x13379c(0x15d),'type':C[_0x13379c(0x815)]['ActionButtonForwardNext'],'icon':'ShapeActionButtonForwardNextIcon','name':'shape.type.action-button-forward-next'},{'group':_0x13379c(0x15d),'type':C[_0x13379c(0x815)][_0x13379c(0x3a0)],'icon':_0x13379c(0x29c),'name':_0x13379c(0x64a)},{'group':_0x13379c(0x15d),'type':C[_0x13379c(0x815)][_0x13379c(0x559)],'icon':_0x13379c(0x491),'name':'shape.type.action-button-end'},{'group':_0x13379c(0x15d),'type':C['ShapeTypeEnum'][_0x13379c(0x477)],'icon':'ShapeActionButtonHomeIcon','name':_0x13379c(0x3b7)},{'group':_0x13379c(0x15d),'type':C['ShapeTypeEnum'][_0x13379c(0x386)],'icon':'ShapeActionButtonInformationIcon','name':'shape.type.action-button-information'},{'group':_0x13379c(0x15d),'type':C['ShapeTypeEnum'][_0x13379c(0x413)],'icon':_0x13379c(0x189),'name':_0x13379c(0x420)},{'group':_0x13379c(0x15d),'type':C['ShapeTypeEnum'][_0x13379c(0x5d2)],'icon':_0x13379c(0x271),'name':_0x13379c(0x552)},{'group':'other','type':C[_0x13379c(0x815)][_0x13379c(0x4f3)],'icon':_0x13379c(0x6f4),'name':_0x13379c(0x350)},{'group':_0x13379c(0x15d),'type':C['ShapeTypeEnum'][_0x13379c(0x5d9)],'icon':_0x13379c(0x5c5),'name':_0x13379c(0x6db)},{'group':'other','type':C[_0x13379c(0x815)][_0x13379c(0x2d7)],'icon':_0x13379c(0x525),'name':_0x13379c(0x5a7)},{'group':_0x13379c(0x15d),'type':C[_0x13379c(0x815)][_0x13379c(0x3f6)],'icon':_0x13379c(0x22c),'name':_0x13379c(0x46c)},{'group':'other','type':C[_0x13379c(0x815)][_0x13379c(0x59d)],'icon':_0x13379c(0x614),'name':_0x13379c(0x538)},{'group':_0x13379c(0x15d),'type':C[_0x13379c(0x815)][_0x13379c(0x52a)],'icon':'ShapeChartStarIcon','name':_0x13379c(0x4d7)},{'group':_0x13379c(0x15d),'type':C[_0x13379c(0x815)][_0x13379c(0x294)],'icon':_0x13379c(0x36d),'name':_0x13379c(0x377)},{'group':_0x13379c(0x15d),'type':C[_0x13379c(0x815)][_0x13379c(0x27f)],'icon':_0x13379c(0x705),'name':'shape.type.flow-chart-offline-storage'},{'group':_0x13379c(0x15d),'type':C[_0x13379c(0x815)]['LineInv'],'icon':_0x13379c(0x3ac),'name':_0x13379c(0x78c)},{'group':_0x13379c(0x15d),'type':C[_0x13379c(0x815)]['PlaqueTabs'],'icon':'ShapePlaqueTabsIcon','name':'shape.type.plaque-tabs'},{'group':'other','type':C[_0x13379c(0x815)][_0x13379c(0x408)],'icon':_0x13379c(0x206),'name':_0x13379c(0x785)},{'group':_0x13379c(0x15d),'type':C[_0x13379c(0x815)][_0x13379c(0x7cc)],'icon':'ShapeUpDownArrowCalloutIcon','name':_0x13379c(0x32f)},{'group':_0x13379c(0x15d),'type':C[_0x13379c(0x815)][_0x13379c(0x467)],'icon':'ShapeNonIsoscelesTrapezoidIcon','name':'shape.type.non-isosceles-trapezoid'}];function kn(_0x19521d=On,_0x5623df=[]){const _0x26bc13=_0x13379c;return _0x19521d[_0x26bc13(0x2ed)]((_0x2f0c1c,_0x3ea26c)=>_0x5623df[_0x26bc13(0x62b)](_0x3ea26c[_0x26bc13(0x7c4)])?_0x2f0c1c:(_0x2f0c1c[_0x3ea26c[_0x26bc13(0x7c4)]]||(_0x2f0c1c[_0x3ea26c[_0x26bc13(0x7c4)]]=[]),_0x2f0c1c[_0x3ea26c[_0x26bc13(0x7c4)]][_0x26bc13(0x524)](_0x3ea26c),_0x2f0c1c),{});}function An(_0x14d20d){const _0x2bb1cd=_0x13379c;let {excludeGroups:_0x144ef2,onShapeClick:_0x1f8b10,options:_0x52158b=On,scrollContainer:_0x418211='self',variant:_0x3d7f6d=_0x2bb1cd(0x500)}=_0x14d20d,_0x35c622=(0x0,s['useDependency'])(s[_0x2bb1cd(0x72f)]),_0x2d4cd6=(0x0,s[_0x2bb1cd(0x24f)])(o[_0x2bb1cd(0x80e)]),_0x771ec0=kn(_0x52158b,_0x144ef2);return(0x0,r[_0x2bb1cd(0x6f1)])(_0x2bb1cd(0x58a),{'className':(0x0,e[_0x2bb1cd(0x13a)])(_0x2bb1cd(0x1c6),_0x418211===_0x2bb1cd(0x1da)&&_0x2bb1cd(0x510),_0x3d7f6d===_0x2bb1cd(0x1c7)&&'univer-rounded-xl\x20univer-border\x20univer-border-gray-200\x20univer-bg-white\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900'),'children':Object[_0x2bb1cd(0x12d)](_0x771ec0)[_0x2bb1cd(0x270)](([_0x2b805a,_0x40c7d4])=>(0x0,r['jsxs'])(_0x2bb1cd(0x58a),{'className':_0x2bb1cd(0x707),'children':[(0x0,r[_0x2bb1cd(0x6f1)])('div',{'className':_0x2bb1cd(0x172),'children':_0x2d4cd6['t'](_0x2bb1cd(0x6c6)+_0x2b805a)}),(0x0,r['jsx'])(_0x2bb1cd(0x58a),{'className':_0x2bb1cd(0x63c),'children':_0x40c7d4==null?void 0x0:_0x40c7d4['map'](_0x3f4a6b=>{const _0x255260=_0x2bb1cd;let _0x11d814=_0x35c622[_0x255260(0x55c)](_0x3f4a6b[_0x255260(0x40f)]);return(0x0,r[_0x255260(0x6f1)])('button',{'type':'button','title':_0x2d4cd6['t'](_0x255260(0x76b)+_0x3f4a6b[_0x255260(0x7f9)]),'onClick':()=>_0x1f8b10(_0x3f4a6b),'className':'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','children':_0x11d814&&(0x0,r['jsx'])(_0x11d814,{'className':_0x255260(0x34d)})},_0x3f4a6b[_0x255260(0x7f9)]);})})]},_0x2b805a))});}function jn(_0x5a98a1){const _0x5e4cab=_0x13379c;return(0x0,r[_0x5e4cab(0x6f1)])(An,{'excludeGroups':_0x5a98a1['excludeGroups'],'onShapeClick':_0x5a98a1[_0x5e4cab(0x59e)],'options':_0x5a98a1[_0x5e4cab(0x761)],'scrollContainer':_0x5a98a1[_0x5e4cab(0x155)],'variant':_0x5a98a1[_0x5e4cab(0x5c2)]});}function Mn(_0x2c4579){const _0x2924e7=_0x13379c;let {buttonLabel:_0xae1fa2,side:_0x2d6e1e=_0x2924e7(0x3ff),..._0x26570d}=_0x2c4579,_0x490678=(0x0,s[_0x2924e7(0x24f)])(o[_0x2924e7(0x80e)]),[_0x4663b4,_0x4872e9]=(0x0,n[_0x2924e7(0x659)])(!0x1);return(0x0,r[_0x2924e7(0x6f1)])(e[_0x2924e7(0x7db)],{'side':_0x2d6e1e,'open':_0x4663b4,'onOpenChange':_0x4872e9,'overlay':(0x0,r[_0x2924e7(0x6f1)])(jn,{..._0x26570d,'onShapeClick':_0x364f9f=>{_0x26570d['onShapeClick'](_0x364f9f),_0x4872e9(!0x1);}}),'children':(0x0,r[_0x2924e7(0x6f1)])(e[_0x2924e7(0x16a)],{'children':_0x490678['t'](_0xae1fa2)})});}const Nn='docs-quote.command.insert';function Pn(_0x5190c2){const _0x3aeb29=_0x13379c;var _0x10de27,_0x424917,_0x3524a7;let {title:_0x9c1402,popupDataComponent:_0x52daa4=_0x3aeb29(0x1a2)}=_0x5190c2,_0x4992d3=(0x0,s[_0x3aeb29(0x24f)])(o[_0x3aeb29(0x171)]),_0x3cc3f8=(0x0,s[_0x3aeb29(0x24f)])(d[_0x3aeb29(0x136)]),_0x40b33b=(0x0,s[_0x3aeb29(0x24f)])(o[_0x3aeb29(0x80e)]),_0x3f8cd3=(0x0,s[_0x3aeb29(0x24f)])(o['IUniverInstanceService']),[_0x13d838,_0x49d64a]=(0x0,n[_0x3aeb29(0x659)])(!0x1),[_0x511dd0,_0x502794]=(0x0,n[_0x3aeb29(0x659)])(o[_0x3aeb29(0x625)][_0x3aeb29(0x2bd)]),_0x149aeb=()=>{const _0x590ee9=_0x3aeb29;var _0x27d1df,_0x3764f3;let _0x21e88d=zn(_0x3f8cd3[_0x590ee9(0x436)](o[_0x590ee9(0x37e)][_0x590ee9(0x42b)]),Rn(_0x3cc3f8));_0x502794((_0x27d1df=_0x21e88d==null||(_0x3764f3=_0x21e88d[_0x590ee9(0x19e)])==null?void 0x0:_0x3764f3[_0x590ee9(0x2fd)])==null?o[_0x590ee9(0x625)][_0x590ee9(0x2bd)]:_0x27d1df);};(0x0,n['useEffect'])(()=>{const _0x1324c2=_0x3aeb29;_0x149aeb();let _0x2cc1e7=_0x4992d3[_0x1324c2(0x65b)](_0xe9d6d=>{const _0x93b070=_0x1324c2;(_0xe9d6d['id']===d[_0x93b070(0x5da)]['id']||_0xe9d6d['id']===d[_0x93b070(0x230)]['id']||_0xe9d6d['id']===f[_0x93b070(0x127)]['id']||_0xe9d6d['id']===f[_0x93b070(0x75e)]['id']||_0xe9d6d['id']===f[_0x93b070(0x2d8)]['id']||_0xe9d6d['id']===f['CheckListCommand']['id'])&&_0x149aeb();}),_0x533446=_0x3cc3f8[_0x1324c2(0x351)]['subscribe'](_0x149aeb);return()=>{const _0x4d2db2=_0x1324c2;_0x2cc1e7[_0x4d2db2(0x345)](),_0x533446['unsubscribe']();};},[_0x4992d3,_0x3cc3f8,_0x3f8cd3]);let _0x565cdf=(0x0,n['useMemo'])(()=>Fn(_0x4992d3)[_0x3aeb29(0x270)](_0x3ccc5a=>({..._0x3ccc5a,'label':_0x40b33b['t'](_0x3ccc5a[_0x3aeb29(0x6ab)])})),[_0x4992d3,_0x40b33b]),_0x57d9e7=(_0x10de27=_0x565cdf[_0x3aeb29(0x326)](_0x385cdf=>_0x385cdf['namedStyleType']===_0x511dd0))==null?_0x565cdf[0x0]:_0x10de27,_0x5a1906=_0x44169d=>{const _0x55df78=_0x3aeb29;var _0x3988d0;let _0x2c7116=_0x3f8cd3[_0x55df78(0x436)](o[_0x55df78(0x37e)][_0x55df78(0x42b)]),_0xcadce2=Rn(_0x3cc3f8);if((_0x3988d0=_0x5190c2[_0x55df78(0x288)])==null||_0x3988d0[_0x55df78(0x484)](_0x5190c2),_0x44169d['namedStyleType']!==void 0x0){let _0x52c9ed={'value':_0x44169d[_0x55df78(0x2fd)]};_0xcadce2&&(_0x52c9ed[_0x55df78(0x20e)]=[_0xcadce2]),_0x4992d3[_0x55df78(0x137)](f[_0x55df78(0x127)]['id'],_0x52c9ed);}else{if(_0x44169d[_0x55df78(0x396)]===f[_0x55df78(0x75e)]['id']||_0x44169d['commandId']===f[_0x55df78(0x2d8)]['id']||_0x44169d[_0x55df78(0x396)]===f[_0x55df78(0x74e)]['id']){let _0x2be2c0=_0xcadce2?{'docRange':[_0xcadce2]}:void 0x0;_0x4992d3[_0x55df78(0x137)](_0x44169d[_0x55df78(0x396)],_0x2be2c0);}else _0x44169d[_0x55df78(0x396)]&&_0x4992d3[_0x55df78(0x137)](_0x44169d[_0x55df78(0x396)],{'unitId':_0x2c7116==null?void 0x0:_0x2c7116[_0x55df78(0x2c2)](),'startOffset':_0xcadce2==null?void 0x0:_0xcadce2[_0x55df78(0x2cf)],'endOffset':_0xcadce2==null?void 0x0:_0xcadce2['endOffset']});}_0x49d64a(!0x1),window[_0x55df78(0x186)](()=>{const _0x3961bb=_0x55df78;var _0x52dfb2;_0x149aeb(),(_0x52dfb2=_0x5190c2['onAfterCommand'])==null||_0x52dfb2[_0x3961bb(0x484)](_0x5190c2);});};return(0x0,r[_0x3aeb29(0x6f1)])(e[_0x3aeb29(0x7db)],{'open':_0x13d838,'onOpenChange':_0x49d64a,'overlay':(0x0,r[_0x3aeb29(0x6f1)])(_0x3aeb29(0x58a),{'className':(0x0,e[_0x3aeb29(0x13a)])(_0x3aeb29(0x609),_0x5190c2['className']),'data-u-comp':_0x52daa4,'onMouseDown':_0x1be4cf=>_0x1be4cf[_0x3aeb29(0x728)](),'children':_0x565cdf['map'](_0x135c24=>(0x0,r[_0x3aeb29(0x462)])(_0x3aeb29(0x7d2),{'type':_0x3aeb29(0x7d2),'className':(0x0,e[_0x3aeb29(0x13a)])(_0x3aeb29(0x225),{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x135c24[_0x3aeb29(0x6ea)]===(_0x57d9e7==null?void 0x0:_0x57d9e7['value'])}),'onClick':()=>_0x5a1906(_0x135c24),'onMouseDown':_0x4e0a24=>_0x4e0a24[_0x3aeb29(0x728)](),'children':[(0x0,r['jsx'])(_0x3aeb29(0x77e),{'className':_0x3aeb29(0x5e9),'children':_0x135c24[_0x3aeb29(0x40f)]}),(0x0,r[_0x3aeb29(0x6f1)])(_0x3aeb29(0x77e),{'className':_0x3aeb29(0x738),'children':_0x135c24[_0x3aeb29(0x6ab)]})]},_0x135c24[_0x3aeb29(0x6ea)]))}),'children':(0x0,r[_0x3aeb29(0x6f1)])(_0x3aeb29(0x77e),{'children':(0x0,r[_0x3aeb29(0x6f1)])(e['Tooltip'],{'title':_0x9c1402,'placement':_0x3aeb29(0x392),'children':(0x0,r[_0x3aeb29(0x462)])(_0x3aeb29(0x7d2),{'type':_0x3aeb29(0x7d2),'aria-expanded':_0x13d838,'aria-label':_0x9c1402,'title':_0x9c1402,'className':(0x0,e['clsx'])(_0x3aeb29(0x257),_0x5190c2['buttonClassName'],{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x13d838}),'onMouseDown':(_0x424917=_0x5190c2[_0x3aeb29(0x334)])==null?_0x124550=>_0x124550[_0x3aeb29(0x728)]():_0x424917,'children':[(0x0,r[_0x3aeb29(0x6f1)])(_0x3aeb29(0x77e),{'className':_0x3aeb29(0x5e9),'children':(_0x3524a7=_0x57d9e7==null?void 0x0:_0x57d9e7[_0x3aeb29(0x40f)])==null?(0x0,r[_0x3aeb29(0x6f1)])(t[_0x3aeb29(0x2a3)],{}):_0x3524a7}),(0x0,r[_0x3aeb29(0x6f1)])(t[_0x3aeb29(0x69e)],{'className':_0x3aeb29(0x300)})]})})})});}function Fn(_0x2dcb59){const _0xfe8f94=_0x13379c;let _0x387c3c=[In(o[_0xfe8f94(0x625)][_0xfe8f94(0x2bd)],(0x0,r[_0xfe8f94(0x6f1)])(t['TextTypeIcon'],{}),_0xfe8f94(0x2fb)),In(o[_0xfe8f94(0x625)][_0xfe8f94(0x249)],(0x0,r[_0xfe8f94(0x6f1)])(t[_0xfe8f94(0x4f9)],{}),_0xfe8f94(0x44b)),In(o[_0xfe8f94(0x625)][_0xfe8f94(0x488)],(0x0,r[_0xfe8f94(0x6f1)])(t[_0xfe8f94(0x81e)],{}),_0xfe8f94(0x65a)),In(o['NamedStyleType'][_0xfe8f94(0x710)],(0x0,r['jsx'])(t[_0xfe8f94(0x1e5)],{}),'shape-editor-ui.textEditor.paragraphType.heading3'),In(o['NamedStyleType'][_0xfe8f94(0x604)],(0x0,r[_0xfe8f94(0x6f1)])(t[_0xfe8f94(0x3e5)],{}),_0xfe8f94(0x7d5)),In(o[_0xfe8f94(0x625)][_0xfe8f94(0x544)],(0x0,r['jsx'])(t[_0xfe8f94(0x1b6)],{}),_0xfe8f94(0x2c8)),Ln(f[_0xfe8f94(0x75e)]['id'],(0x0,r[_0xfe8f94(0x6f1)])(t[_0xfe8f94(0x616)],{}),_0xfe8f94(0x50a)),Ln(f[_0xfe8f94(0x2d8)]['id'],(0x0,r['jsx'])(t[_0xfe8f94(0x3a1)],{}),_0xfe8f94(0x143)),Ln(f[_0xfe8f94(0x74e)]['id'],(0x0,r[_0xfe8f94(0x6f1)])(t['TodoListDoubleIcon'],{}),'shape-editor-ui.textEditor.paragraphType.checkList')],_0x1095c7=[Ln(Nn,(0x0,r[_0xfe8f94(0x6f1)])(_0xfe8f94(0x77e),{'className':'univer-text-base','children':'\x22'}),'shape-editor-ui.textEditor.paragraphType.quote'),Ln('docs-code.command.insert',(0x0,r[_0xfe8f94(0x6f1)])(t[_0xfe8f94(0x301)],{}),_0xfe8f94(0x3d6)),Ln(_0xfe8f94(0x4eb),(0x0,r['jsx'])(t[_0xfe8f94(0x307)],{}),_0xfe8f94(0x1ca))][_0xfe8f94(0x2f3)](_0x5aa242=>_0x2dcb59[_0xfe8f94(0x6ff)](_0x5aa242['commandId']));return[..._0x387c3c,..._0x1095c7];}function In(_0x39ee8a,_0x171b51,_0xd7fd43){const _0x3ed5f5=_0x13379c;return{'icon':_0x171b51,'label':_0xd7fd43,'namedStyleType':_0x39ee8a,'value':_0x3ed5f5(0x64e)+_0x39ee8a};}function Ln(_0x174264,_0x1f49da,_0x26eb3f){const _0x4a01c9=_0x13379c;return{'commandId':_0x174264,'icon':_0x1f49da,'label':_0x26eb3f,'value':_0x4a01c9(0x2e0)+_0x174264};}function Rn(_0x277d7b){const _0x41070b=_0x13379c;var _0x41616e,_0x292965,_0x458f45,_0x3a526f;let _0x22e122=(_0x41616e=_0x277d7b[_0x41070b(0x341)])==null?void 0x0:_0x41616e[_0x41070b(0x484)](_0x277d7b);if(_0x22e122)return _0x22e122;let _0x2491c7=(_0x292965=_0x277d7b[_0x41070b(0x42d)]())==null?[]:_0x292965;return(_0x458f45=(_0x3a526f=_0x2491c7[_0x41070b(0x326)](_0x57cbc5=>_0x57cbc5[_0x41070b(0x5f1)]))==null?_0x2491c7[0x0]:_0x3a526f)==null?null:_0x458f45;}function zn(_0x179783,_0x131339){const _0x2fc037=_0x13379c;var _0x4e809a,_0x154e4d,_0x32aef3,_0x36e7a1;let _0x1965b5=_0x179783==null||(_0x4e809a=_0x179783[_0x2fc037(0x473)](_0x131339==null?void 0x0:_0x131339[_0x2fc037(0x2ff)]))==null?void 0x0:_0x4e809a[_0x2fc037(0x370)](),_0x512232=(_0x154e4d=_0x1965b5==null?void 0x0:_0x1965b5['paragraphs'])==null?[]:_0x154e4d,_0x339a74=(_0x32aef3=_0x131339==null?void 0x0:_0x131339['startOffset'])==null?0x0:_0x32aef3;return(_0x36e7a1=_0x512232[_0x2fc037(0x326)](_0x473ea7=>_0x473ea7['startIndex']>=_0x339a74))==null?_0x512232[_0x512232[_0x2fc037(0x135)]-0x1]:_0x36e7a1;}function Bn(_0x1776cb,_0x3a8443){const _0x347895=_0x13379c;if(_0x1776cb==null||_0x3a8443==null)return!0x1;let {glyph:_0x1d8286,..._0x40b5a6}=_0x1776cb,{glyph:_0x325f4b,..._0x1e5dc7}=_0x3a8443;return(0x0,o[_0x347895(0x66b)])(_0x40b5a6,_0x1e5dc7);}var Vn=class extends o[_0x13379c(0x324)]{constructor(_0x5464f7,_0x2d7837,_0x4cc665,_0x36f35b,_0x4f925b){const _0x39a2c5=_0x13379c;super(),this[_0x39a2c5(0x749)]=_0x5464f7,this[_0x39a2c5(0x590)]=_0x2d7837,this[_0x39a2c5(0x365)]=_0x4cc665,this[_0x39a2c5(0x442)]=_0x36f35b,this['_config']=_0x4f925b,z(this,_0x39a2c5(0x615),null),this['_context']['unitId']===this[_0x39a2c5(0x5b9)]['editorUnitId']&&(this['_initSelectionChange'](),this['disposeWithMe'](()=>this[_0x39a2c5(0x681)]()));}[_0x13379c(0x2d2)](){const _0x20e199=_0x13379c;this[_0x20e199(0x240)](this[_0x20e199(0x442)]['onSelectionStart$'][_0x20e199(0x4bb)](()=>{const _0x481078=_0x20e199;this[_0x481078(0x681)]();})),this['disposeWithMe'](this[_0x20e199(0x590)]['textSelection$'][_0x20e199(0x4bb)](_0x577e7f=>{const _0xefdab6=_0x20e199;var _0x35cd2b,_0x51772e;let {unitId:_0x2afb37,textRanges:_0x552a5b}=_0x577e7f;if(_0x2afb37!==this[_0xefdab6(0x749)][_0xefdab6(0x54c)])return;let _0x4bc425=_0x552a5b[_0xefdab6(0x326)](_0x56d027=>!_0x56d027[_0xefdab6(0x6a1)]);if(!_0x4bc425){this[_0xefdab6(0x681)]();return;}_0x4bc425[_0xefdab6(0x2cf)]===((_0x35cd2b=this[_0xefdab6(0x615)])==null?void 0x0:_0x35cd2b[_0xefdab6(0x217)])&&_0x4bc425['endOffset']===((_0x51772e=this['_floatMenu'])==null?void 0x0:_0x51772e[_0xefdab6(0x3bd)])||(this[_0xefdab6(0x681)](),this[_0xefdab6(0x1bb)](_0x2afb37,_0x4bc425));}));}[_0x13379c(0x681)](){const _0xd0e525=_0x13379c;var _0x1e7c43;(_0x1e7c43=this[_0xd0e525(0x615)])==null||_0x1e7c43['disposable'][_0xd0e525(0x345)](),this[_0xd0e525(0x615)]=null;}[_0x13379c(0x1bb)](_0x2af72b,_0xa67fa3){const _0x3b9362=_0x13379c;this[_0x3b9362(0x615)]={'disposable':this[_0x3b9362(0x365)][_0x3b9362(0x47b)](_0xa67fa3,{'componentKey':this[_0x3b9362(0x5b9)]['componentKey'],'direction':_0xa67fa3[_0x3b9362(0x28e)]===_0x3b9362(0x14a)||Bn(_0xa67fa3['startNodePosition'],_0xa67fa3['endNodePosition'])?_0x3b9362(0x548):_0x3b9362(0x7ec),'offset':[0x0,0x4]},_0x2af72b),'start':_0xa67fa3[_0x3b9362(0x2cf)],'end':_0xa67fa3[_0x3b9362(0x1f2)]};}};function Hn(_0x3218f0){const _0x46dafd=_0x13379c;return Number[_0x46dafd(0x67f)](_0x3218f0)&&_0x3218f0>0x0?_0x3218f0:0x0;}function Un(_0x3d2d26){return _0x3d2d26===!0x0||_0x3d2d26===o['BooleanNumber']['TRUE'];}function Wn(_0x364f46){const _0x5b845f=_0x13379c;return typeof(_0x364f46==null?void 0x0:_0x364f46[_0x5b845f(0x2f2)])==_0x5b845f(0x7d3)&&_0x364f46['content'][_0x5b845f(0x3eb)]()[_0x5b845f(0x135)]>0x0;}function Gn(_0x253cef,_0x5edebe){const _0x209af1=_0x13379c;var _0xf4968a,_0x48a3c6,_0x193ebf,_0x680038,_0x4c8d8b,_0x17b7aa;let _0xba4638=_0x253cef==null?void 0x0:_0x253cef[_0x209af1(0x7dd)],_0x4bbe02=(_0xf4968a=(_0x48a3c6=(_0x193ebf=_0xba4638==null?void 0x0:_0xba4638[_0x209af1(0x3da)])==null?_0xba4638==null?void 0x0:_0xba4638['ba']:_0x193ebf)==null?_0x5edebe[_0x209af1(0x752)]:_0x48a3c6)==null?0x0:_0xf4968a,_0x182121=(_0x680038=(_0x4c8d8b=(_0x17b7aa=_0xba4638==null?void 0x0:_0xba4638[_0x209af1(0x658)])==null?_0xba4638==null?void 0x0:_0xba4638['bd']:_0x17b7aa)==null?_0x5edebe['dsc']:_0x4c8d8b)==null?0x0:_0x680038;return _0x4bbe02===0x0&&_0x182121===0x0?null:{'ascent':_0x4bbe02,'descent':_0x182121};}function Kn(_0x4d46cd){const _0x664e8a=_0x13379c;let _0xa2eed5=Hn(_0x4d46cd['viewportHeight'])-Hn(_0x4d46cd[_0x664e8a(0x1f3)]);return _0x4d46cd[_0x664e8a(0x214)]===o['VerticalAlign']['MIDDLE']?_0xa2eed5/0x2:_0x4d46cd[_0x664e8a(0x214)]===o[_0x664e8a(0x7f0)][_0x664e8a(0x14c)]?_0xa2eed5:0x0;}function qn(_0x351ef8){const _0x3365a2=_0x13379c;let _0xd43515=Hn(_0x351ef8['viewportHeight']),_0xef7a2a=Math['max'](_0xd43515,Hn(_0x351ef8['contentHeight'])),_0x83d761=_0x351ef8[_0x3365a2(0x258)],_0x48b1b8=_0x351ef8[_0x3365a2(0x770)],_0x57236f=Number['isFinite'](_0x83d761)?_0x83d761:Kn(_0x351ef8),_0x1ad35a=Math[_0x3365a2(0x289)](0x0,_0x57236f),_0x56f9e6=_0x1ad35a+(Number[_0x3365a2(0x67f)](_0x48b1b8)?_0x48b1b8:0x0),_0x315f50=_0x56f9e6<0x0?_0x56f9e6:0x0;return{'clipHeight':_0xef7a2a-_0x315f50,'clipTop':_0x315f50,'contentHeight':_0xef7a2a,'contentVerticalOffset':_0x1ad35a,'marginTop':Math['max'](0x0,_0x57236f),'verticalOffset':_0x57236f};}function Jn(_0x3a1562,_0x339061=0x1){const _0x158ceb=_0x13379c;var _0x4c7cdf;let _0x25d918=_0x3a1562[_0x158ceb(0x5d5)](),_0xb7fb60=0x1/0x0,_0x92c6c6=-0x1/0x0,_0x374d7e=0x0;for(let _0x5bcc25 of(_0x4c7cdf=_0x25d918==null?void 0x0:_0x25d918[_0x158ceb(0x6fc)])==null?[]:_0x4c7cdf){var _0x325049,_0x24a181,_0x145b71;let _0x2f1dc5=(_0x325049=_0x5bcc25[_0x158ceb(0x59c)])==null?0x0:_0x325049;for(let _0x322d2c of(_0x24a181=_0x5bcc25[_0x158ceb(0x131)])==null?[]:_0x24a181){var _0x4c41f2,_0x34887a;let _0x3bcd63=(_0x4c41f2=_0x322d2c['top'])==null?0x0:_0x4c41f2;for(let _0x20925c of(_0x34887a=_0x322d2c[_0x158ceb(0x606)])==null?[]:_0x34887a){var _0x4a6a8d;for(let _0x3b78b6 of(_0x4a6a8d=_0x20925c['lines'])==null?[]:_0x4a6a8d){var _0x586fb8,_0xc458c0,_0x5a8052,_0xc872f8,_0x5bad85,_0x1c904b,_0x5aa4e4,_0x386263,_0x3cd18e,_0x53d68c;let _0x5365a1=_0x374d7e+_0x2f1dc5+_0x3bcd63+((_0x586fb8=_0x3b78b6[_0x158ceb(0x332)])==null?0x0:_0x586fb8),_0xf1608c=((_0xc458c0=_0x3b78b6[_0x158ceb(0x59c)])==null?0x0:_0xc458c0)+((_0x5a8052=_0x3b78b6['paddingTop'])==null?0x0:_0x5a8052)+((_0xc872f8=_0x3b78b6[_0x158ceb(0x1f3)])==null?((_0x5bad85=_0x3b78b6['asc'])==null?0x0:_0x5bad85)+((_0x1c904b=_0x3b78b6['dsc'])==null?0x0:_0x1c904b):_0xc872f8)+((_0x5aa4e4=_0x3b78b6[_0x158ceb(0x487)])==null?0x0:_0x5aa4e4)+((_0x386263=_0x3b78b6[_0x158ceb(0x6e7)])==null?0x0:_0x386263),_0x57f65c=Math[_0x158ceb(0x16d)](0x0,...((_0x3cd18e=_0x3b78b6['divides'])==null?[]:_0x3cd18e)['flatMap'](_0x2c6e02=>{const _0x35e1a6=_0x158ceb;var _0x5e7f52;return(_0x5e7f52=_0x2c6e02[_0x35e1a6(0x357)])==null?[]:_0x5e7f52;})[_0x158ceb(0x270)](_0x24f281=>{const _0x4f6f76=_0x158ceb;let _0x2d77f0=Gn(_0x24f281,_0x3b78b6);return _0x2d77f0?_0x2d77f0[_0x4f6f76(0x1f7)]+_0x2d77f0[_0x4f6f76(0x318)]:0x0;})),_0x503b38=Math['max']((_0x53d68c=_0x3b78b6[_0x158ceb(0x5ed)])==null?0x0:_0x53d68c,_0xf1608c,_0x57f65c);_0x503b38>0x0&&(_0xb7fb60=Math['min'](_0xb7fb60,_0x5365a1),_0x92c6c6=Math[_0x158ceb(0x16d)](_0x92c6c6,_0x5365a1+_0x503b38));}}}_0x374d7e+=(_0x145b71=_0x5bcc25[_0x158ceb(0x572)])==null?0x0:_0x145b71;}let _0x1a942d=_0x92c6c6-_0xb7fb60;return Number[_0x158ceb(0x67f)](_0x1a942d)&&_0x1a942d>0x0?_0x1a942d:Math[_0x158ceb(0x16d)](0x1,_0x339061);}function Yn(_0x4961dc,_0xcec7f8,_0x1f650f){const _0x343798=_0x13379c;var _0x4f7c6a;if(_0x1f650f===void 0x0||_0x1f650f===o[_0x343798(0x7f0)][_0x343798(0x758)])return 0x0;let _0x449e75=_0x4961dc[_0x343798(0x5d5)]();if(!(!(_0x449e75==null||(_0x4f7c6a=_0x449e75['pages'])==null)&&_0x4f7c6a[_0x343798(0x135)]))return 0x0;let _0x56e153=0x1/0x0,_0x5e7e05=-0x1/0x0,_0x2035b0=0x0;for(let _0xb34efd of _0x449e75[_0x343798(0x6fc)]){var _0x2125ee,_0x15a0ce;let _0x297271=(_0x2125ee=_0xb34efd[_0x343798(0x59c)])==null?0x0:_0x2125ee;for(let _0x10aabb of(_0x15a0ce=_0xb34efd[_0x343798(0x131)])==null?[]:_0x15a0ce){var _0x1b41c8,_0x54852f;let _0xc48f27=(_0x1b41c8=_0x10aabb[_0x343798(0x332)])==null?0x0:_0x1b41c8;for(let _0x389c05 of(_0x54852f=_0x10aabb[_0x343798(0x606)])==null?[]:_0x54852f){var _0x76f0fa;for(let _0x401c1d of(_0x76f0fa=_0x389c05['lines'])==null?[]:_0x76f0fa){var _0x33cfda,_0xbbd907,_0x1c28e8,_0x146b2b,_0x50a116;let _0x2a67ea=_0x2035b0+_0x297271+_0xc48f27+((_0x33cfda=_0x401c1d['top'])==null?0x0:_0x33cfda)+((_0xbbd907=_0x401c1d[_0x343798(0x59c)])==null?0x0:_0xbbd907)+((_0x1c28e8=_0x401c1d['paddingTop'])==null?0x0:_0x1c28e8)+((_0x146b2b=_0x401c1d[_0x343798(0x752)])==null?0x0:_0x146b2b);for(let _0x29771e of(_0x50a116=_0x401c1d[_0x343798(0x54f)])==null?[]:_0x50a116){var _0x2fc83c;for(let _0x769dc of(_0x2fc83c=_0x29771e[_0x343798(0x357)])==null?[]:_0x2fc83c){if(!Wn(_0x769dc))continue;let _0x1f69d8=Gn(_0x769dc,_0x401c1d);_0x1f69d8&&(_0x56e153=Math[_0x343798(0x289)](_0x56e153,_0x2a67ea-_0x1f69d8[_0x343798(0x1f7)]),_0x5e7e05=Math['max'](_0x5e7e05,_0x2a67ea+_0x1f69d8[_0x343798(0x318)]));}}}}}let _0x140251=Number[_0x343798(0x67f)](_0xb34efd[_0x343798(0x27d)])?_0xb34efd[_0x343798(0x27d)]:_0xb34efd['height'];_0x2035b0+=_0x140251==null?0x0:_0x140251;}return!Number[_0x343798(0x67f)](_0x56e153)||!Number['isFinite'](_0x5e7e05)?0x0:_0x1f650f===o[_0x343798(0x7f0)]['BOTTOM']?_0xcec7f8-_0x5e7e05:_0x1f650f===o[_0x343798(0x7f0)][_0x343798(0x441)]?_0xcec7f8/0x2-(_0x56e153+_0x5e7e05)/0x2:_0x1f650f===o[_0x343798(0x7f0)][_0x343798(0x267)]?-_0x56e153:0x0;}function Xn(_0x5ae5e1){const _0x5cdd3c=_0x13379c;return _0x5ae5e1===o[_0x5cdd3c(0x337)][_0x5cdd3c(0x693)];}function Zn(_0x4d50e3){const _0x39172f=_0x13379c;return _0x4d50e3===o[_0x39172f(0x337)][_0x39172f(0x309)];}function _0x3645(){const _0x473796=['\x22#,##0.00_);[Red]\x22','shape-editor-ui.line.dashType.title','getShapeTextData','onChange','shape-editor-ui.formulaShape.formats.custom','shape.type.notched-right-arrow','shouldAutoFitShapeTextEditorNoWrap','ShapeRectTextboxHorizontalIcon','shortcut','span','_listLoadedUnits','ShapeFloatingToolbar','univer-w-[280px]','shape-editor-ui.formulaShape.formats.currency','CircularArrow','altKey','shape.type.square-tabs','shape.type.wave','RightBracket','FlowchartManualOperation','shape.type.right-arrow-callout','shape-editor-ui.formulaShape.formulaPlaceholder','WedgeEllipseCallout','shape.type.line-inv','middle','getOwnPropertyDescriptor','shape-editor-ui.line.arrowType.none','ShapeTextWrapType','shape-editor-ui.fill.transparency','shape-editor-ui.line.arrowType.diamondArrow','_pointerCtrlKey','LightningBolt','BorderCallout2','from','dataModel','getSelectionControls','FillStyleTabsEditor','ShapeMathPlusIcon','default','desc','canva','univer-w-20','SpAutoFit','ShapeRightBraceIcon','shape-editor-ui.formulaShape.formatTypes','HorizontallyIcon','!univer-p-1.5','SwooshArrow','shape.type.round1-rect','_activeWorkbook','shape.type.home-plate','OpenArrow','shape-editor-ui.formulaShape.generalDescription','resolveShapeTextDocumentAlignment','titleKey','shape.type.callout2','h:mm','shape-editor-ui.fill.picture.insert','fontSize','calculate','tolerance','isNaN','ENTER','univer-absolute\x20univer-z-[100]\x20univer-overflow-visible','BoldIcon','13:30','ShapeFillEditor','dash','root','activateTable','getData','useCallback','shape.type.diag-stripe','setActiveSelectionIndex','ShapeLineJoinEnum','univer-w-auto','ShapeWedgeEllipseCalloutIcon','0\x200\x2048\x2020','rgb','group','reverse','shape-editor-ui.textBox.autoFitNone','setSelectionRanges','ShapeSnip2DiagRectIcon','some','FlowchartTerminator','setZoomRatio','UpDownArrowCallout','ActionButtonBackPrevious','activeViewId','setBasePermission','function','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','button','string','commitOnEnter','shape-editor-ui.textEditor.paragraphType.heading4','ShapeDecagonIcon','Wave','nextShapeData','referenceIndex','Round2DiagRect','Dropdown','object','bBox','DisposableCollection','LeftRightArrow','useMemo','onTransformChange$','IRefSelectionsService','DEFAULT_STYLES','add','saveImage','onUpdateBinding','shape-editor-ui.formulaShape.baseUnit','QuadArrow','ShapeGradientTypeEnum','CurvedConnector3','black','bottom-center','UniverDocsPlugin','shape.type.rect-textbox-horizontal','setCurrentUnitForType','VerticalAlign','shape.type.border-callout1','strikethrough','activeTableId','DownArrow','shape.type.math-minus','univer-gap-2','stroke','resolveShapeTextDocumentRenderLayout','name','Other','ILocalStorageService','univer-grid\x20univer-grid-cols-2\x20univer-gap-2\x20[&>label]:univer-grid\x20[&>label]:univer-gap-1','endArrow','_themeService','shape-text-document','shape-editor-ui.formulaShape.dateDescription','univer-mb-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-100','shape-editor-ui.formulaShape.editFormula','shape-editor-ui.line.sketchType.handDrawn','DeleteIcon','ShapeActionButtonBackPreviousIcon','lineSpaceReduction','ShapeArcIcon','_onSelectReferences','univer-w-[168px]','shape-editor-ui.fill.gradientFill','durationTime','formula-shape-number-format','textRuns','LocaleService','input','SetInlineFormatTextFillCommand','ShapeChordIcon','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','ShapeNoSmokingIcon','shape-editor-ui.toolbar.collapseShapeToolbar','ShapeTypeEnum','referenceSelections','matchAll','shape.type.flow-chart-preparation','BentConnector3','dark:!univer-text-gray-200','_activeUnitId','shape.type.curved-right-arrow','univer-shadow-none','H2Icon','currentColor','ctr','ShapeCloudIcon','widthBuffer','shape-editor-ui.formulaShape.decimalPlaces','linear','snapToGrid','count','Radial','ShapeRound2DiagRectIcon','shape.type.flow-chart-magnetic-drum','defineProperty','getDrawingTransform','#3B82F6','FlowchartDocument','ShapeLeftRightCircularArrowIcon','SetParagraphNamedStyleCommand','shape-floating-toolbar','NoAutoFit','getSheetId','UniverBasesUIPlugin','1,235)','entries','ShapeAccentBorderCallout3Icon','updateDocumentRenderConfig','sequenceNodes','sections','shape-editor-ui.formulaShape.formats.thousandSeparator','shape-editor-ui.line.dashType.dash','univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','length','DocSelectionManagerService','executeCommand','Callout3','shape-editor-ui.line.transparency','clsx','Input','shape-editor-ui.line.title','shape-editor-ui.line.color','baselineHeight','gradientAngle','mouseup','sheetId','Callout1','shape-editor-ui.textEditor.paragraphType.bulletList','shape-editor-ui.line.capType.title','univer-pt-2','0.00E+00','rangeWithCoord','4\x202\x201\x202','h:mm:ss','backward','ShapeSunIcon','BOTTOM','test','shape.type.flow-chart-collate','\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','IConfigService','transparent','4\x202','univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','SetInlineFormatSuperscriptCommand','scrollContainer','_closeRequest','shape.type.corner','univer-w-4\x20univer-rounded-l-none\x20univer-rounded-r-md\x20rtl:univer-rounded-l-md\x20rtl:univer-rounded-r-none','ShapeFlowChartMergeIcon','_makeBaseSnapshotReadOnly','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','sketchType','other','IRenderManagerService','univer-h-0\x20univer-w-7\x20univer-border-t-2\x20univer-border-solid\x20univer-border-gray-400\x20dark:!univer-border-gray-300','_selectionChangingDisposable','ShapeCallout2Icon','Tile','offsetX','domY','ShapeSnip1RectIcon','IUniverInstanceService','BooleanNumber','Inject','#000000','Button','capType','LongDash','max','Separator','tableOrder','shape.type.cube','ICommandService','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','renderedContentWidth','shape.type.rect','_refreshFormulaSelections','shape.type.bevel','shape.type.border-callout2','UturnArrow','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pt-2','_(\x22','ShapeFlowChartAlternateProcessIcon','isItalic','univer-flex\x20univer-h-6\x20univer-items-center\x20univer-gap-0.5\x20univer-px-1','shape-floating-toolbar-collapsed','isArray','FALSE','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md','onScrollAfter$','getCurrencySymbolByLocale','shape-editor-ui.line.sketchType.freehand','_matchesSheetReference','requestAnimationFrame','separator','4461961RlKPHy','ShapeActionButtonReturnIcon','shape-editor-ui.formulaShape.cancel','UniverUIPlugin','FlowchartDisplay','backLabel','_closeNow','ShapeNotchedRightArrowIcon','TopmostIcon','unregister','ShapeMathMinusIcon','univer-text-xl\x20univer-text-gray-500','univer-truncate\x20univer-text-sm\x20univer-font-medium','ShapeTextFloatMenuRenderControllerBase','ShapeUpArrowIcon','UniverRenderEnginePlugin','toString','univer-grid\x20univer-gap-2','shape-editor-ui.deleteShape','ShapeRoundRectIcon','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','createSectionId','paragraphStyle','SHAPE_FLOATING_TOOLBAR_DEFAULT_STROKE_COLOR','[data-u-comp=\x22shape-text-editor-content\x22]','OVERFLOW','doc-paragraph-type-dropdown-popup','naturalCrossSize','recordId','identity','labelKey','4612144shqbvh','FlowchartPreparation','CornerTabs','shape-editor-ui.toolbar.textBackgroundColor','univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','shape-editor-ui.line.width','_startedAt','setSkipLastEnabled','Stretch','JUSTIFIED','#,##0_);(#,##0)','has','gradientEndColor','1,235','change','H5Icon','shape.type.curved-connector3-arrow1','with','create','_bindFormulaSelectionControls','_showFloatMenu','sectionBreaks','SelectList','_container','UniverFormulaPlugin','shape-editor-ui.fill.color','angle','scaleX','shape.type.flow-chart-summing-junction','shape-editor-ui.toolbar.alignCenter','ShapeRightBracketIcon','univer-w-[320px]\x20univer-p-2','card','ShapeFlowChartDisplayIcon','domX','shape-editor-ui.textEditor.paragraphType.callout','dataStream','packageName','CloudCallout','UniverProFormulaEnginePlugin','FlowchartAlternateProcess','isConnectorShape','input,\x20textarea,\x20[contenteditable=\x22true\x22],\x20[role=\x22combobox\x22],\x20[data-u-comp=\x22select\x22],\x20.univer-select','ShapeMathNotEqualIcon','\x22#,##0.00','references','viewportScrollX','CLIP','themeColor','ShapeMoonIcon','Callout2','self','ShapeNonIsoscelesTrapezoidIcon','ShapeDoubleWaveIcon','ShapeStar12Icon','shape-editor-ui.textBox.wrapText','setItem','right','ShapeFloatingToolbarIcon','ShapeDiamondIcon','Star16','shape.type.star10','H3Icon','type','1\x203','ShapeAccentCallout1Icon','shape.type.snip2-same-rect','univer-font-medium','shape.type.left-brace','ShapeLeftCircularArrowIcon','findIndex','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','ShapeFloatingToolbarMenuPanel','COMMA','version','endOffset','contentHeight','ShapeStar7Icon','ShapeFloatingToolbarDropdownTrigger','shape-editor-ui.line.sketchType.curved','ascent','img','MoreRightIcon','shape.type.plaque','ShapeWedgeRoundRectCalloutIcon','shape-editor-ui.formulaShape.customFormatDescription','currencySymbols','_instanceService','shape.type.math-not-equal','removeEventListener','isUnderline','tooltipVisible','SHEET_RANGE','Line','shape.type.flow-chart-sort','ShapeSquareTabsIcon','executeEditorUndoRedoCommand','AlignCenterCommand','resolveShapeTextBodyBehavior','resolveShapeTextEditorTextRect','SetInlineFormatFontFamilyCommand','univer-grid-cols-[repeat(3,minmax(0,1fr))_76px]','buildFormulaTextRuns','textRanges','_handleBaseSelectionChange','toUpperCase','SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-mt-2\x20!univer-max-h-none\x20univer-min-h-0\x20univer-flex-1\x20univer-rounded-lg\x20univer-p-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','SHAPE_EDITOR_TRANSFORMER_CONFIG','verticalAlign','776384VSmoAc','useRef','start','body','fillType','scene','SetInlineFormatItalicCommand','screenX','restore','shape.type.snip2-diag-rect','direction$','Ribbon2','token','shape.type.hexagon','contentVerticalOffset','ShapeMathDivideIcon','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','shape.type.uturn-arrow','Pentagon','MathPlus','maxWidthClassName','univer-flex\x20univer-h-7\x20univer-items-center\x20univer-gap-1\x20univer-px-1','univer-mt-4\x20univer-shrink-0\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','ShapeActionButtonBlankIcon','shape-editor-ui.fill.picture.align.tl','ShapeHexagonIcon','fontFamily','SetTextSelectionsOperation','viewOrder','section','dashType','fill','univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200','8\x202\x201\x202\x201\x202','render','_matchesUnitQualifier','DocSelectionRenderService','shape-stroke-dash-dropdown','shape-editor-ui.formulaShape.formats.more','getShapeData','width','then','shape.type.star4','disposeWithMe','Star4','formulaUnitProvider','UniverShapeEditorUIPlugin','colStartX','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-text-sm','main','shape.type.left-right-up-arrow','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-text-gray-700','HEADING_1','_getEditingContext','shape-editor-ui.formulaShape.panelTitle','WedgeRoundRectCallout','blur','ShapeCurvedConnector3Arrow2Icon','useDependency','round','SnipRoundRect','13:30:30','measurePageWidth','ShapeFlowChartSummingJunctionIcon','ShapeTextBoxEditor','metaKey','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','verticalOffset','shape.type.rt-triangle','LeftRightArrowCallout','shapeData','pointerdown','LS_CONFIG_KEY','DocParagraphTypeDropdown','univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','shape.type.flow-chart-offpage-connector','ShapeFlowChartMagneticDiskIcon','isRichText','__getInjector','ESC','VERTICAL_ROTATE_ANGLE','TOP','ShapeStar10Icon','prepareShapeTextDocumentData','UniverSheetsFormulaPlugin','textRectWidth','ShapeStar16Icon','_canSelectFormulaReference','VerticalCenterIcon','univer-w-[244px]','map','ShapeActionButtonMovieIcon','visibleReferenceIndexes','getInitialShapeFillType','_activeBase','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','\x22*\x20#,##0.00_)','ShapeBackgroundColorDoubleIcon','shape.type.flow-chart-magnetic-tape','isCtrlAddMode','#4086f4','Decagon','wrapStrategy','pageHeight','getImageSize','FlowChartOfflineStorage','univer-bg-transparent','ShapeAccentCallout2Icon','shape-editor-ui.line.joinType.miter','ShapeLeftUpArrowIcon','pattern','VerticalScroll','ShapeStar8Icon','RichTextBuilder','onBeforeCommand','min','shape-text-editor-placeholder','RefSelectionsRenderService','shape.type.quad-arrow-callout','ShapeRound1RectIcon','direction','univer-text-base','shape.type.chord','isShapeTextEditorDocumentEmpty','ShapeCornerIcon','IrregularSeal1','ChartX','univer-min-w-[240px]','ShapeBracketPairIcon','univer-flex\x20univer-flex-col\x20univer-gap-1.5','flipY','LeftRightCircularArrow','EllipseRibbon','getName','ShapeActionButtonBeginningIcon','下午1:30:30','ShapeVerticalScrollIcon','StealthArrow','shape-editor-ui.line.endArrowSize','ShapeFlowChartManualOperationIcon','oKey','TextTypeIcon','globalAlpha','Star5','rectangle','setEditing','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-justify-between\x20univer-gap-6\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-text-left\x20univer-text-sm\x20univer-text-gray-800\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','setRecordPermission','ShapeLineDashEnum','textWrap','symbol','shape.type.block-arc','selectionScaling$','closest','getBoundingClientRect','ShapePlusIcon','Star12','subscribeEvent','setSelections','shape-editor-ui.line.dashType.solid','onMore','startsWith','mount','下午1:30','FlowchartMerge','ShapeDiagStripeIcon','univer-pointer-events-none\x20univer-opacity-60','NORMAL_TEXT','shape.type.action-button-back-previous','shape-editor-ui.line.dashType.longDash','RoundDot','ShapeUpDownArrowCalloutIcon','getUnitId','paddingEnd','shape.type.circular-arrow','tables','shape.type.flow-chart-internal-storage','Arc','shape-editor-ui.textEditor.paragraphType.heading5','ShapeMathMultiplyIcon','indexOf','shape-editor-ui.fill.picture.align.br','_visibleReferenceIndexes','univer-absolute\x20univer-h-7\x20univer-w-0\x20univer-rotate-45\x20univer-border-l-2\x20univer-border-solid\x20univer-border-red-500','ShapeFlowChartPunchedCardIcon','startOffset','gridType','shape-editor-ui.line.capType.flat','_initSelectionChange','toLocaleLowerCase','disabled','editorSurfaceWidth','jiqing.800','ActionButtonHelp','BulletListCommand','shape.type.accent-border-callout3','listUnits','FlowchartMultiDocument','\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','#ffffff','DeleteLeftCommand','MM-dd','command:','slice','shape-editor-ui.fill.pictureFill','FONT_SIZE_LIST','selection','shape.type.accent-border-callout2','univer-h-6\x20univer-min-w-9\x20univer-w-auto\x20univer-gap-1\x20univer-px-1.5','FlowchartExtract','getHostTransform','range','ShapeGear6Icon','shape-editor-ui.line.dashType.roundDot','paragraphId','reduce','refSelections','SHAPE_EDITOR_UI_PLUGIN_CONFIG_KEY','univer-h-6\x20univer-w-6','getAbsolutePosition','content','filter','onSavingEditorData$','sizeClassName','editorWidth','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','vertexAngle','_univer','ShapeBracePairIcon','shape-editor-ui.textEditor.paragraphType.normal','UniverLicensePlugin','namedStyleType','column','segmentId','univer-text-xs','CodeIcon','shape.type.arc','crossAxisLength','shape-editor-ui.textBox.columnSpacing','shape-editor-ui.toolbar.underline','resolveShapeTextEditorBehaviorShapeData','ShapeCallout1Icon','ShapeLineIcon','RIGHT','formula','zeroWidthParagraphBreak','LeftArrowCallout','shape.type.irregular-seal2','_selectionDisposables','createUnit','FlowchartConnector','target','BlockArrow','shape.type.left-arrow','shape.type.flow-chart-or','TypographyIcon','_isDraggingFormulaSelection','getShapeModel','descent','Star8','getShapeTextRect','Star24','shape-editor-ui.formulaShape.formats.accounting','updateHostHeight','shape.type.round2-diag-rect','_controlDisposables','Cube','univer-rounded\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:hover:!univer-bg-gray-700','_registerIcons','DeleteRightCommand','Disposable','shape-editor-ui.line.arrowType.arrow','find','getConfig','14MNetRE','_host','LeftBracket','getRowCount','ShapeFrameIcon','shape-editor-ui.formulaShape.currencySymbol','primary.600','shape.type.up-down-arrow-callout','ShapeTrapezoidIcon','ShapeStar4Icon','top','univer-rounded-lg\x20univer-p-3','onMouseDown','ShapeStraightConnector1Icon','LongDashDot','HorizontalAlign','frontLabel','shouldAllowShapeTextEditorHostSizeShrink','generateRandomId','univer-pointer-events-none\x20univer-absolute\x20univer-bottom-full\x20univer-left-0\x20univer-mb-1\x20univer-hidden\x20univer-overflow-hidden\x20univer-rounded\x20univer-bg-white\x20univer-shadow-md\x20group-hover:univer-block\x20dark:!univer-bg-gray-800','GroupIcon','setFieldPermission','combobox','activeSheet$','shape.type.star7','getActiveTextRange','shape-editor-ui.formulaShape.dateType','shape.type.callout3','univer-block\x20univer-h-[100px]\x20univer-w-[100px]\x20univer-object-cover','dispose','PaintBucketDoubleIcon','univer--rotate-90\x20univer-text-xs','SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_COLOR','textDirection','setDocumentData','getAncestorScale','Linear','univer-size-full','textFill','measureDocumentNoWrapTextWidth','shape.type.action-button-document','textSelection$','getItem','univer-absolute','isBold','UniverShapeEditorPlugin','_formulaContext','glyphGroup','shape.type.bent-arrow','ShapeActionButtonInformationIcon','_pointerListener','shape.type.chevron','LongDashDotDot','formatColor','opacity','univer-flex\x20univer-h-[min(780px,calc(100vh-180px))]\x20univer-min-h-[560px]\x20univer-gap-4','shape.type.ribbon2','ShapeActionButtonForwardNextIcon','ShapeStripedRightArrowIcon','shape.type.funnel','univer-flex\x20univer-w-full\x20univer-border-none\x20univer-bg-transparent\x20univer-p-2\x20univer-text-left\x20hover:univer-bg-gray-100','_docCanvasPopManagerService','numberFormat','STRING','ShapeDefaultConfig','ColorPicker','Sun','M\x22月\x22d\x22日\x22','numfmt','ShapeChartXIcon','editorLeft','DownArrowCallout','getBody','univer-flex\x20univer-flex-col\x20univer-gap-3','opticalVerticalAlign','ShapeTextAutoFitType','onBack','stops','\x22#,##0.00_);-\x22','shape.type.chart-x','getObjectIncludeInGroup','shape-editor-ui.textBox.textDirectionVertical','picture','borderClassName','IBaseProjectionService','Solid','UniverInstanceType','shape-editor-ui.fill.picture.scaleY','callout','pluginName','createParagraphId','ShapeFlowChartPunchedTapeIcon','Rectangle','ShapeLineCapEnum','ActionButtonInformation','IEditorService','CTRL_COMMAND','getTextStyle','ShapeLeftRightUpArrowIcon','active','ShapeLineTypeEnum','shape.type.flow-chart-display','yyyy-m-d\x20am/pm\x20h:mm','state$','index','ShapePieIcon','bottom','formula-shape-fx','shape.type.lightning-bolt','BentUpArrow','commandId','A/P\x20h:mm','Rect','dateTime','shape-editor-ui.line.noLine','updateDocumentStyle','getActiveSheet','shape-editor-ui.line.joinType.bevel','text','center','ActionButtonBeginning','UnorderIcon','(1,235)','shiftKey','getSkeleton','editingParams$','univer-flex\x20univer-flex-col\x20univer-gap-2','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','screenY','shape-floating-toolbar-font-family-menu','FlowchartOffPageConnector','_observeSheetSelection','ShapeLineInvIcon','documentMarginTop','shape.type.teardrop','univer-pointer-events-none\x20univer-absolute\x20univer-select-none\x20univer-whitespace-nowrap\x20univer-text-gray-400','horizontalAlign','ShapeFolderCornerIcon','forwardLabel','CellValueType','#111827','shape.type.ribbon','toStringTag','shape.type.action-button-home','ShapeHeptagonIcon','formulaBinding','shape-editor-ui.line.sketchType.title','Donut','solid','end','univer-flex\x20univer-min-w-0\x20univer-flex-1\x20univer-flex-col\x20univer-gap-3','08-05','univer-w-40','setConfig','sort','onBackward','addImageSourceCache','tiltX','fillImageSource','onSelect','shape-editor-ui.fill.picture.align.l','getCanvasElement','Trapezoid','ShapeWaveIcon','shape-editor-ui.fill.solidFill','EllipseRibbon2','ThemeService','visible','NoFill','getLocales','resolveShapeTextVerticalOffset','FlowchartSort','Digit7','shape-editor-ui.fill.picture.align.tr','shape-editor-ui.textEditor.paragraphType.code','toPrimitive','ShapeFlowChartManualInputIcon','textStyle','aba','MathEqual','univer-grid-cols-3','shape.type.curved-left-arrow','onClick','shape-editor-ui.config','ShapeCornerTabsIcon','shape-editor-ui.textBox.autoFitShrink','group\x20univer-relative\x20univer-inline-block','shape-editor-ui.fill.picture.align.ctr','autoFitType','H4Icon','shape.type.flow-chart-connector','ShapeFlowChartDocumentIcon','now','FlowchartOr','Segmented','trim','_iconManager','Miter','SetInlineFormatSubscriptCommand','italic','DocSkeletonManagerService','univer-text-xs\x20univer-text-gray-500','addEventListener','shape.type.flow-chart-terminator','Hexagon','starAndBanner','ActionButtonBlank','08-05\x20下午\x2001:30','Injector','rotate(','Dialog','auto','padding','shape-editor-ui.textBox.padding','ShapeTriangleIcon','left','univer-flex\x20univer-items-center\x20univer-justify-between','editorHeight','shape.type.sun','shape.type.callout1','setPresentation','startIndex','ShapeBentConnector3Arrow1Icon','renderConfig','SquareTabs','Arrow','shapeModel','shape-text','StrikethroughIcon','isDefaultFormat','number','icon','shape-editor-ui.line.dashType.longDashDotDot','pointerId','ShapeSnip2SameRectIcon','ActionButtonReturn','views','shape-editor-ui.line.arrowType.openArrow','\x22#,##0.00_);[Red](\x22','sessionKey','univer.shape-editor-ui.floating-toolbar.collapsed','4583478SlwMhr','!univer-h-6\x20univer-w-14\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-px-1.5','records','updateFormulaContext','RightTriangle','Snip1Rect','Univer','shape.type.action-button-return','stripShapeTextDocumentLayout','FlowChartInputOutput','Plaque','shape-editor-ui.toolbar.expandShapeToolbar','ShapeAccentCallout3Icon','plainTextColor','IBaseUIStateService','ShapeFlowChartExtractIcon','format','\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_DOC','ShapeStar32Icon','getTextRanges','ShapeBorderCallout2Icon','887091urhEoO','ShapeEllipseIcon','ShapeCloudCalloutIcon','_tick','ResetInlineFormatTextBackgroundColorCommand','custom','isTextBox','getCurrentUnitOfType','isMixed','ShapeCurvedLeftArrowIcon','\x22#,##0.00)','shape-floating-toolbar-menu-panel','shape.type.smiley-face','lineJoinType','Corner','ShapePlaqueIcon','SetInlineFormatTextBackgroundColorCommand','FormulaReferenceType','MIDDLE','_docSelectionRenderService','Frame','univer-text-xl','yyyy-mm-dd;@','Angular','PERIOD','onPointerDown','separator-','ShapeFlowChartOnlineStorageIcon','shape-editor-ui.textEditor.paragraphType.heading1','resolveShapeTextEditorWrapStrategy','univer-min-w-40','cancelEditing','getDirection','ShapeCallout3Icon','KeyCode','_refreshSheetFormulaSelections','shape-editor-ui.textBox.columnCount','SquareDot','TABLE','shape-editor-ui.openPanel','_isApplyingBaseHighlight','DocSelectAllCommand','shape.type.ellipse-ribbon','_resource','actualWidth','lineStrokeType','DocStateEmitService','shape.type.flow-chart-input-output','WrapStrategy','paragraphs','file','jsxs','scrollbarClassName','pointercancel','pointerup','FunctionIcon','NonIsoscelesTrapezoid','DiamondArrow','lineSpacing','imageOpacity','Tools','shape.type.action-button-blank','AccentCallout1','ShapeUpArrowCalloutIcon','fields','resolveShapeTextNoWrapLayout','makeDirty','AlignTextBothIcon','getSelfOrHeaderFooterModel','createScopedBaseCanvasRootResolverService','_previous','ShapeIrregularSeal2Icon','ActionButtonHome','shape.type.half-frame','stripShapeTextPlainMarker','univer-text-sm\x20univer-font-medium\x20univer-text-gray-800\x20dark:!univer-text-gray-100','attachPopupToRange','formulaViewerWorkerURL','ShapeLeftRightArrowCalloutIcon','ShapeFlowChartOrIcon','TextFillButton','shape.type.swoosh-arrow','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','shape-editor-ui.formulaShape.confirm','useKeyboardEvent','call','shape.type.snip-round-rect','_refreshBaseFormulaSelection','paddingBottom','HEADING_2','shape-editor-ui.formulaShape.negativeNumberType','shape-editor-ui.formulaShape.preview','Chevron','None','radial','_frameId','finally','animationEnabled','ShapeActionButtonEndIcon','split','#,##0_);[Red](#,##0)','shape.type.moon','abs','DEFAULT_NUMBER_FORMAT','ShapeIcon','Plus','placeholderWidth','shape.type.parallelogram','dispatchEvent','Ellipse','ShapeFlowChartDelayIcon','shape.type.straight-connector1','activateView','shape-editor-ui.toolbar.italic','shape.type.bent-connector3','#,##0.00_);-#,##0.00','_onAnimationCompleted','solidFill','nativeEvent','FlowchartMagneticDrum','refIndex','UNIVER_BASE','univer-text-gray-500','Checkbox','shape-editor-ui.formulaShape.numberFormat','shape.type.up-arrow','svg','resolveShapeTextBoxOptions','twist','iterator','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','onConfirm','shape-editor-ui.formulaShape.numberDescription','pageMarginLeft','ShapeHalfFrameIcon','ShapeFloatingToolbarMenuItem','currency','\x22#,##0','SolidFill','_lastResolved','subscribe','BracePair','shape.type.pentagon','_injector','detail','ALT','DashDot','shape-editor-ui.textBox.autoFitResize','getDocumentData','ShapeBentConnector3Icon','cancelRequestFrame','shape-editor-ui.fill.picture.offsetX','ShapeArrowSizeEnum','ShapeFlowChartMagneticTapeIcon','datetime','shape.type.left-right-arrow-callout','FlowchartDecision','univer-flex\x20univer-items-center\x20univer-gap-2','Tooltip','NUMBER','ShapeLightningBoltIcon','FOCUSING_PANEL_EDITOR','Teardrop','shape.type.double-wave','GradientColorPicker','sheetName','1930-08-05','ShapeCurvedRightArrowIcon','shape.type.chart-star','univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','shapeText','shape.type.right-brace','ShapeFlowChartInternalStorageIcon','spaceBelow','keys','ShapeRectTextboxVerticalIcon','cornerRadius','ShapeFlowChartPreparationIcon','shape-editor-ui.line.arrowSize.small','ShapeHeartIcon','spaceAbove','UniverSheetsFormulaUIPlugin','searchFormulaFunctions','aside','univer-h-5\x20univer-w-12','selectionEnd','nodeType','shape.type.star6','docs-callout.command.insert','Select','flowchart','resolveShapeTextEditorFlowAxis','percentage','previewHostSize','ShapeFlowChartMagneticDrumIcon','boolean','ActionButtonDocument','univer-absolute\x20univer-top-full\x20univer-z-10\x20univer-mt-1\x20univer-w-72\x20univer-rounded\x20univer-bg-white\x20univer-p-1\x20univer-shadow-lg','shapeTextOpticalVerticalAlign','startArrow','align','transformByState','H1Icon','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','AlignRightCommand','#,##0.00_);#,##0.00','BreakLineCommand','shape-editor-ui.formulaShape.formats.general','shape-editor-ui.line.arrowSize.medium','plain','shape.type.accent-callout1','IContextService','univer-w-24','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-mb-1\x20univer-w-full\x20univer-rounded\x20univer-border-none\x20univer-p-2\x20univer-text-left\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','flowAxis','useObservable','ShapeCubeIcon','shape.type.cloud','Dodecagon','shape-editor-ui.textEditor.paragraphType.orderedList','darkMode','docStateChangeParams$','dot','shape.type.flow-chart-manual-operation','general','univer-max-h-[75vh]\x20univer-overflow-y-auto','shape.type.flow-chart-alternate-process','ShapeSmileyFaceIcon','resolveFormulaReferenceEditingContext','SolidLine','ShapeFlowChartProcessIcon','gradientFill','280671ZtiCXm','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','Square','shape-text-editor','UniverBasesPlugin','GradientFill','ShapeTextEditorContainer','sequenceNodesBuilder','shape-editor-ui.line.joinType.title','shape.type.star24','shape-editor-ui.formulaShape.customFormatPlaceholder','columnProperties','shape.type.trapezoid','push','ShapeActionButtonHelpIcon','univer-h-14\x20univer-w-full\x20univer-rounded\x20univer-object-cover','className','InputNumber','ShapeSketchTypeEnum','ChartStar','shape.type.border-callout3','currentTarget','ShapeCurvedUpArrowIcon','shape-editor-ui.textWrap.inline','_setBasePermissionsReadOnly','FlowchartSummingJunction','univer-text-xs\x20univer-text-gray-600\x20univer-transition-transform\x20dark:!univer-text-gray-300','imageFillMode','ShapeFlowChartSortIcon','SHAPE_EDITOR_UI_PLUGIN','univer-text-xs\x20univer-text-gray-500\x20dark:!univer-text-gray-300','Star6','centerAngle','shape.type.chart-plus','more','ShapeAccentBorderCallout1Icon','\x22#,##0.00_);\x22','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','none','updateHostSize','clearSelectedObjects','_emitSheetSelectionChange','ShapeRectIcon','querySelector','Textarea','HEADING_5','unsubscribe','gradientType','ShapeFormulaService','top-center','BorderCallout3','univer-w-full\x20univer-min-w-0\x20univer-overflow-hidden','StraightConnector1','unitId','shape-editor-ui.toolbar.superscript','FlowchartCollate','divides','vertical','ShapeDownArrowIcon','shape.type.action-button-movie','shape.type.flow-chart-extract','univer-flex\x20univer-h-6\x20univer-items-center','univer-flex\x20univer-gap-2','ShapeFillEnum','register','ShapeFlowChartDecisionIcon','ActionButtonEnd','line','ShapeStar24Icon','get','engine','updateDocumentDataMargin','shape.type.left-right-ribbon','setContextValue','shape.type.no-smoking','scheduleClose','subUnitId','shape-text-editor-content','univer-pt-4','ShapeStrokePanelButton','mode','ShapeCanIcon','shape-editor-ui.textEditor.placeholder','HandDrawn','MetaKeys','color','ImageFillModeEnum','offsetY','univer-w-28','measureDocumentUnbreakableTextWidth','univer-shrink-0\x20univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','height','univer-flex\x20univer-gap-4','ShapeBorderCallout1Icon','Digit8','worksheet','univer-block\x20univer-w-full','ShapeFlowChartOffpageConnectorIcon','plainShapeTextToDocumentData','shape-editor-ui.align.top','univer-text-xs\x20univer-text-gray-500\x20dark:!univer-text-gray-400','header','endIndex','ShapeStar5Icon','useEditor','shape.type.star32','shape.type.star16','catch','shape.type.curved-down-arrow','monospace','FlowchartPunchedCard','save','getObject','shape.type.heptagon','isHorizontal','div','getLayers','shape.type.heart','switchUnit','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20!univer-max-h-none\x20univer-min-h-0\x20univer-flex-1\x20univer-rounded-lg\x20univer-p-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','hasParagraphAlign','_docSelectionManagerService','shape-editor-ui.textBox.title','ShapePentagonIcon','SetInlineFormatFontSizeCommand','shape.type.right-bracket','transform','shape.type.left-bracket','key','shape.type.up-down-arrow','constructor','CurvedRightArrow','fillOpacity','marginTop','ChartPlus','onShapeClick','_progress','basic','Moon','onStarting','getFormatInfo','updateShapeText','ShapeBevelIcon','CurvedDownArrow','shape.type.action-button-help','shape-editor-ui.fill.picture.tileAsTexture','getRenderById','ShapeChevronIcon','fontScale','shapeKey','pointerEvents','ariaExpanded','FlowchartDelay','WRAP','getViewport','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','UNIVER_SHEET','SetInlineFormatUnderlineCommand','getPositionOffset','shape.type.gear9','Gear9','contains','_config','shapeId','OvalArrow','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20!univer-max-h-none\x20univer-min-h-0\x20univer-flex-1\x20univer-rounded-lg\x20univer-p-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','LeftRightUpArrow','ShapeFloatingToolbarFontSizeSelect','ShapeFlowChartMultidocumentIcon','applyShapeTextAlignment','set','variant','setTablePermission','UndoCommand','ShapeActionButtonSoundIcon','getDrawingShapeKeyByDrawingSearch','ShapeRightArrowIcon','univer-mt-4\x20univer-flex\x20univer-min-h-0\x20univer-flex-1\x20univer-flex-col','shape-editor-ui.fill.picture.rotateWithShape','selectionMoveEnd$','shape-editor-ui.fill.title','shape.type.striped-right-arrow','Dash','Star32','getEditingContentStyle','true','accounting','ActionButtonMovie','values','_current','getSkeletonData','ShapeWedgeRectCalloutIcon','Small','univer-mt-3\x20univer-shrink-0\x20univer-rounded-lg\x20univer-bg-gray-50\x20univer-p-3\x20dark:!univer-bg-gray-800','ActionButtonSound','RichTextEditingMutation','activeAnObject','CurvedUpArrow','match','_configService','ShapeBlockArcIcon','shape-editor-ui.formulaShape.formats.','open','replace','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','selectionMoving$','tableId','univer-absolute\x20univer-inset-0\x20univer-h-full\x20univer-resize-none\x20!univer-bg-transparent\x20univer-font-mono\x20univer-leading-6\x20!univer-text-transparent','univer-relative\x20univer-inline-flex\x20univer-justify-center','SHIFT','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','Ribbon','requestNewFrame','current','lineHeight','Radio','hostRect','univer-flex\x20univer-size-5\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-leading-none','isActive','univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','ShapeLeftRightArrowIcon','buttons','enableSelectionChanging','loadSnapshot','ShapeRound2SameRectIcon','ShapePlaqueTabsIcon','RedoCommand','univer-w-[260px]','univer-flex\x20univer-h-[500px]\x20univer-min-h-0\x20univer-flex-col\x20univer-overflow-hidden','nextHeight','typography-vertical-align-row','selectionStart','GridType','roundingCurrency','clearTimeout','SUBSCRIPT','REFERENCE','HEADING_4','grid','columns','tangentialPressure','rgba(0,\x200,\x200,\x200)','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-w-full','shape-editor-ui.toolbar.strikethrough','shape.type.bent-up-arrow','AccentBorderCallout2','ShapeCurvedDownArrowIcon','shape-editor-ui.line.endArrowType','blue.700','Flowchart','presentation','activeReferenceIndex','ShapeChartPlusIcon','_floatMenu','OrderIcon','univer-shrink-0\x20univer-text-xs\x20univer-text-gray-500\x20dark:!univer-text-gray-400','getActualSize','onClose','bodyBehavior','Round','ShapeQuadArrowCalloutIcon','AccentBorderCallout3','join','shape.type.ellipse-ribbon2','shape.type.plus','title','noFill','spacing','shape.type.octagon','NamedStyleType','shape-editor-ui.align.middle','actions','shape.type.corner-tabs','ShapeCurvedConnector3Arrow1Icon','NoSmoking','includes','AlignLeftCommand','gradient','univer-ml-2\x20univer-truncate\x20univer-text-gray-500','shape-editor-ui.toolbar.resetColor','shape-editor-ui.toolbar.alignJustify','univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center','shape-editor-ui.textBox.autoFit','horizontalAnchor','strokeOpacity','DocumentFlavor','ShapeQuadArrowIcon','deepClone','setEndForRange','blockArrow','shape.type.flow-chart-manual-input','isStrike','univer-grid\x20univer-grid-cols-10\x20univer-gap-1','MathDivide','BACKSPACE','0.00%','unitQualifier','loop-color.','NoLine','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','univer-flex-1\x20univer-overflow-auto','autoFitNoWrap','binding','Font\x20family','gradientStops','IrregularSeal2','shape.type.action-button-beginning','StarAndBanner','univer-leading-none','Funnel','heading:','formula-shape','RadioGroup','cell','shape-editor-ui.fill.noFill','click','SubscriptIcon','BlockArc','SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_BACKGROUND_COLOR','ShapeMathEqualIcon','abd','useState','shape-editor-ui.textEditor.paragraphType.heading2','onCommandExecuted','shape-editor-ui.line.dashType.squareDot','textRect','-univer-rotate-90\x20univer-text-xs','shape.type.flow-chart-magnetic-disk','ShapeArrowTypeEnum','FlowchartMagneticTape','563865cNnLKI','forEach','shape.type.right-arrow','SUPERSCRIPT','scientific','maxDecimals','pageMarginTop','RoundRect','ShapeFlowChartConnectorIcon','deepCompare','resolveBaseGridSelectionRange','Large','Octagon','ShapeRtTriangleIcon','getCurrentLocale','documentData','shape.type.accent-callout2','stretch','basicShape','sequenceNodeType','strokeWidth','date','measuredContentWidth','shape-editor-ui.line.cornerRadius','createShapeTextPlaceholderDocumentData','shape.type.math-multiply','shape.type.flow-chart-document','ShapeGear9Icon','ShapeRibbonIcon','isFinite','offset','_hideFloatMenu','PictureFill','NotchedRightArrow','univer-w-32','shape.type.cloud-callout','\x22#,##0;[Red]\x22','mainComponent','Workbook','shape.type.accent-callout3','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','1,234.56','ShapeFlowChartPredefinedProcessIcon','univer-flex\x20univer-justify-end\x20univer-gap-2','documentStyle','deserializeRangeWithSheet','tiltY','shape.type.curved-connector3-arrow2','scaleY','CENTER','Round2SameRect','financial','elementFromPoint','position','useLeftAndRightArrow','viewportKeys','REF_SELECTIONS_ENABLED','MathMinus','ShapeBentConnector3Arrow2Icon','useEffect','MoreDownIcon','univer-relative\x20univer-size-full\x20univer-overflow-visible','splitTableStructuredRef','collapsed','ShapeSwooshArrowIcon','isShapeTextOpticalVerticalAlignEnabled','ShapeFillButton','shape-editor-ui.fill.picture.offsetY','tableName','shape.type.pie','_createUniver','image/*','resolveFormulaShapeAutoFitSize','label','red','_generation','shape-editor-ui.toolbar.bold','kind','allowHostSizeShrink','Round1Rect','univer-text-primary-600','univer-grid\x20univer-items-center\x20univer-gap-1','univer-gap-3','SHAPE_TEXT_EDITOR_QUOTE_COMMAND_ID','#8B5CF6','univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','univer-hidden','getProjection','shape-editor-ui.line.arrowType.ovalArrow','rowStartY','selectionScaled$','TRUE','FlowchartInternalStorage','univer-text-sm','univer-min-w-0\x20univer-flex-1','ShapeDonutIcon','size','MathNotEqual','ShapeDownArrowCalloutIcon','ShapeRibbon2Icon','shape-editor-ui.shape.group.','Switch','Horz','files','getFreeze','ShapeBentUpArrowIcon','shape.type.triangle','isValidThemeColor','diamond','HomePlate','ShapeHorizontalScrollIcon','[data-u-comp=\x22shape-stroke-dash-dropdown\x22]','ceil','UnderlineIcon','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md\x20univer-bg-primary-600','ShapeFlowChartInputOutputIcon','getAllUnitsForType','ShapeHomePlateIcon','IBasePermissionService','style','ShapeStar6Icon','shape.type.action-button-sound','ShapeStrokeColorDoubleIcon','drawFormulaShapeAnimationLayers','cancel','NormAutoFit','shape.type.rect-textbox-vertical','_localeService','clientY','18DAYgbR','ShapeFlowChartTerminatorIcon','1.0.0-alpha.7','shape.type.bent-connector3-arrow1','marginBottom','ShapeAccentBorderCallout2Icon','memo','value','ShapeStrokePanelContent','RightBrace','shape-editor-ui.line.sketchType.none','editorTop','Star7','shape.type.diamond','jsx','hasOwnProperty','Freehand','ShapeActionButtonDocumentIcon','stopPropagation','UpArrowCallout','getSnapshot','lineCapType','setTimeout','maxAutoFitWidth','typography-horizontal-align-row','pages','univer-flex\x20univer-min-h-0\x20univer-flex-1\x20univer-flex-col\x20univer-pt-4','source','hasCommand','shape-editor-ui.line.dashType.longDashDot','shape.type.left-arrow-callout','shape-editor-ui.line.joinType.round','WedgeRectCallout','ShapeLeftBraceIcon','ShapeFlowChartOfflineStorageIcon','getColorFromTheme','univer-mb-2','patch','FlowchartPredefinedProcess','AccentCallout2','univer-w-52\x20univer-shrink-0\x20univer-overflow-y-auto\x20univer-border-r\x20univer-border-gray-200\x20univer-pr-3','am/pm\x20h\x22:\x22mm\x22:\x22ss','shape.type.horizontal-scroll','univer-flex\x20univer-flex-col','ShapeFlowChartCollateIcon','HEADING_3','ShapeIrregularSeal1Icon','ShapeUpDownArrowIcon','doc.operation.show-hyper-link-edit-popup','minWidthClassName','LexerTreeBuilder','ShapeOctagonIcon','ShapeDodecagonIcon','shape.type.brace-pair','ShapeActionButtonHomeIcon','ShapeBentArrowIcon','fieldIds','8\x202','isPatternEqualWithoutDecimal','_cancelFrame','ShapeTeardropIcon','lineDashType','bold','UngroupIcon','ShapeSnipRoundRectIcon','doc','clearUndoRedoHistory','ItalicIcon','equationShape','preventDefault','shape.type.curved-up-arrow','flowAxisLength','UniverDocsUIPlugin','children','shape-editor-ui.toolbar.textColor','shape.type.snip1-rect','IconManager','textLike','Diamond','imageRotateWithShape','ShapePieWedgeIcon','UniverRPCMainThreadPlugin','resetActiveSelectionIndex','translate','shape-editor-ui.fill.picture.align.b','univer-flex-1','A/P\x20h:mm:ss','univer-text-gray-600\x20univer-transition-transform','focus','lineType','1930年08月05日','SetInlineFormatStrikethroughCommand','Can','!univer-p-1','shape-editor-ui.toolbar.alignRight','ShapeImageFillEditor','scrollTop','getSelectionDataWithStyle','AccentCallout3','ShapeCurvedConnector3Icon','SmileyFace','onFront','_context','shape-editor-ui.line.solidLine','completeEditing','shape-editor-ui.fill.picture.align.t','univer-w-14','CheckListCommand','useFormulaShapeToolbar','SetInlineFormatBoldCommand','currencySymbol','asc','min(1440px,\x20calc(100vw\x20-\x2032px))','primary','registerPlugin','Medium','ShapeCircularArrowIcon','UNSPECIFIED','fromEntries','shape.type.math-plus','_getBaseReferenceSource','ShapeFunnelIcon','prototype','OrderListCommand','DELETE','FontFamilyDropdown','options','buildFormulaReference','ShapeGroupEnum','shape-editor-ui.formulaShape.sheetUnit','pressure','Fragment','imageTile','LEFT','measureDocumentNoWrapTextRangeWidth','_makeDirty','shape-editor-ui.','leftTop','ShapeStraightConnector2Icon','IImageIoService','underline','opticalVerticalOffset','shape-editor-ui.shapePosition','shape.type.frame','viewId','shape-editor-ui.fill.picture.source'];_0x3645=function(){return _0x473796;};return _0x3645();}function Qn(_0x31b826,_0x3e2f7a){const _0x30f63c=_0x13379c;var _0x2d380b,_0x498c20,_0x26c769,_0x4692d8;if(!_0x31b826)return{'align':_0x3e2f7a,'width':0x0};let _0x7a2a94=(_0x2d380b=(_0x498c20=_0x31b826[_0x30f63c(0x218)])==null?void 0x0:_0x498c20[_0x30f63c(0x1cb)])==null?'':_0x2d380b,_0x4589d1=(_0x26c769=(_0x4692d8=_0x31b826['body'])==null?void 0x0:_0x4692d8[_0x30f63c(0x460)])==null?[]:_0x26c769;if(_0x4589d1['length']===0x0)return{'align':_0x3e2f7a,'width':(0x0,m[_0x30f63c(0x34f)])(_0x31b826)};let _0x3bf052=0x0,_0x7e0efb={'align':_0x3e2f7a,'width':0x0};return _0x4589d1['forEach'](_0x3d2d44=>{const _0xae8771=_0x30f63c;var _0x3aae20;let _0x13bf66=Math['max'](_0x3bf052,Math[_0xae8771(0x289)](_0x7a2a94['length'],(_0x3aae20=_0x3d2d44[_0xae8771(0x405)])==null?_0x3bf052:_0x3aae20)),_0x1f3d56=(0x0,m[_0xae8771(0x769)])(_0x31b826,_0x3bf052,_0x13bf66);if(_0x1f3d56>_0x7e0efb[_0xae8771(0x23d)]){var _0x33ea6d,_0x201a15;_0x7e0efb={'align':(_0x33ea6d=(_0x201a15=_0x3d2d44[_0xae8771(0x19e)])==null?void 0x0:_0x201a15[_0xae8771(0x3b0)])==null?_0x3e2f7a:_0x33ea6d,'width':_0x1f3d56};}_0x3bf052=Math['min'](_0x7a2a94[_0xae8771(0x135)],_0x13bf66+0x1);}),_0x7e0efb;}function $n(_0x5e116c,_0x5b1f55,_0x946cad){const _0x2ffc31=_0x13379c;var _0x5bafbe,_0x12a768;if(_0x5b1f55!==void 0x0)return _0x946cad==null?_0x5b1f55:_0x946cad;let _0x448093=((_0x5bafbe=_0x5e116c==null||(_0x12a768=_0x5e116c['body'])==null?void 0x0:_0x12a768[_0x2ffc31(0x460)])==null?[]:_0x5bafbe)[_0x2ffc31(0x270)](_0x587a0c=>{const _0xefc706=_0x2ffc31;var _0x210aee;return(_0x210aee=_0x587a0c[_0xefc706(0x19e)])==null?void 0x0:_0x210aee[_0xefc706(0x3b0)];})[_0x2ffc31(0x2f3)](_0x8c2ac=>_0x8c2ac!==void 0x0);return _0x448093[_0x2ffc31(0x62b)](o[_0x2ffc31(0x337)][_0x2ffc31(0x693)])?o[_0x2ffc31(0x337)][_0x2ffc31(0x693)]:_0x448093['includes'](o['HorizontalAlign']['RIGHT'])?o[_0x2ffc31(0x337)][_0x2ffc31(0x309)]:o[_0x2ffc31(0x337)]['LEFT'];}function er(_0x2b1d59){const _0x308ac4=_0x13379c;var _0x36fe81;let {documentData:_0x11dca8,horizontalAlign:_0x2ed4e5,horizontalAnchor:_0x275700,isHorizontal:_0x55fbb5,textRect:_0x287ae1,textWrap:_0x3193a3}=_0x2b1d59;if(_0x55fbb5===!0x1||_0x287ae1[_0x308ac4(0x23d)]<=0x0)return{'contentWidth':_0x287ae1[_0x308ac4(0x23d)],'measureAsNoWrap':!0x1,'textRect':_0x287ae1};let _0x23ff2e=Number[_0x308ac4(0x67f)](_0x2b1d59['widthBuffer'])?Math[_0x308ac4(0x16d)](0x0,(_0x36fe81=_0x2b1d59[_0x308ac4(0x822)])==null?0x0:_0x36fe81):0x0,_0x2b1d04=Qn(_0x11dca8,_0x2ed4e5),_0x3509f2=_0x2b1d04[_0x308ac4(0x23d)]+_0x23ff2e;if(_0x275700===_0x308ac4(0x39f)&&_0x3509f2>0x0&&_0x3509f2<_0x287ae1[_0x308ac4(0x23d)])return{'contentWidth':_0x3509f2,'measureAsNoWrap':_0x3193a3===C['ShapeTextWrapType']['None'],'textRect':{..._0x287ae1,'left':_0x287ae1['left']+(_0x287ae1[_0x308ac4(0x23d)]-_0x3509f2)/0x2,'width':_0x3509f2}};let _0x486d77=_0x3193a3===C[_0x308ac4(0x790)]['None'],_0x431376=(_0x486d77?_0x3509f2-_0x23ff2e:(0x0,m[_0x308ac4(0x570)])(_0x11dca8))+_0x23ff2e,_0x2a7bbc=Math['max'](_0x287ae1[_0x308ac4(0x23d)],_0x431376);if(_0x2a7bbc===_0x287ae1['width'])return{'contentWidth':_0x2a7bbc,'measureAsNoWrap':_0x486d77,'textRect':_0x287ae1};let _0x455d35=_0x2a7bbc-_0x287ae1[_0x308ac4(0x23d)],_0x1e1d1a=_0x486d77?$n(_0x11dca8,_0x2ed4e5,_0x2b1d04[_0x308ac4(0x4f7)]):_0x2ed4e5,_0x4695e7=Zn(_0x1e1d1a)?_0x287ae1['left']-_0x455d35:Xn(_0x1e1d1a)?_0x287ae1['left']-_0x455d35/0x2:_0x287ae1[_0x308ac4(0x3ff)];return{'contentWidth':_0x2a7bbc,'measureAsNoWrap':_0x486d77,'textRect':{..._0x287ae1,'left':_0x4695e7,'width':_0x2a7bbc}};}function tr(_0x12a020){const _0x2f8854=_0x13379c;var _0x4afd99,_0x1b0219;return((_0x4afd99=_0x12a020==null||(_0x1b0219=_0x12a020[_0x2f8854(0x218)])==null?void 0x0:_0x1b0219[_0x2f8854(0x1cb)])==null?'':_0x4afd99)['replace'](/[\r\n]/g,'')['length']===0x0;}function nr(_0x1764ea){const _0x1f456a=_0x13379c;var _0x13c716,_0x58aced;let {documentData:_0xd7bdb2,isTextBox:_0x1cf355,placeholder:_0x2f694d,showPlaceholder:_0x2c9abe=!0x0,text:_0x3a2a6b=''}=_0x1764ea;if(!_0x2c9abe||!_0x1cf355||!_0x2f694d||_0x3a2a6b[_0x1f456a(0x135)]>0x0||!tr(_0xd7bdb2))return;let _0x220c4b=_0xd7bdb2==null||(_0x13c716=_0xd7bdb2[_0x1f456a(0x68e)])==null?void 0x0:_0x13c716['textStyle'];return{..._0xd7bdb2,'id':(_0x58aced=_0xd7bdb2==null?void 0x0:_0xd7bdb2['id'])==null?'shape-text-placeholder':_0x58aced,'body':{'dataStream':_0x2f694d+'\x0d\x0a','paragraphs':[{'startIndex':_0x2f694d['length'],'paragraphId':(0x0,o[_0x1f456a(0x382)])(new Set())}],'textRuns':[{'st':0x0,'ed':_0x2f694d[_0x1f456a(0x135)],'ts':{..._0x220c4b,'cl':{'rgb':'#9ca3af'}}}]},'documentStyle':{..._0xd7bdb2==null?void 0x0:_0xd7bdb2['documentStyle']}};}const rr=0.001;function ir(_0x3ad102,_0x2dce08,_0x1460e4,_0x30d1d6){return Math['abs'](_0x1460e4-_0x3ad102)>rr?_0x3ad102+_0x2dce08-_0x30d1d6:_0x3ad102;}function ar(_0x4305f1){const _0x55fbb4=_0x13379c;let {initialRect:_0x5db72b,requestedRect:_0x392d06,shapeData:_0x384dd0}=_0x4305f1,_0x3d2e6f=_0x384dd0[_0x55fbb4(0x4d9)];if(_0x384dd0[_0x55fbb4(0x435)]!==!0x0||!_0x3d2e6f)return null;let _0x597bc0=_0x3d2e6f[_0x55fbb4(0x589)]!==!0x1,_0x2a8e04=Math[_0x55fbb4(0x495)]((_0x597bc0?_0x392d06[_0x55fbb4(0x23d)]:_0x392d06[_0x55fbb4(0x572)])-(_0x597bc0?_0x5db72b[_0x55fbb4(0x23d)]:_0x5db72b[_0x55fbb4(0x572)]))>rr,_0x19fbd1=Math['abs']((_0x597bc0?_0x392d06['height']:_0x392d06['width'])-(_0x597bc0?_0x5db72b[_0x55fbb4(0x572)]:_0x5db72b['width']))>rr;if(!_0x2a8e04&&!_0x19fbd1)return null;let _0x588481=_0x597bc0?_0x5db72b['height']:_0x5db72b[_0x55fbb4(0x23d)],_0x18ef06=Number['isFinite'](_0x4305f1[_0x55fbb4(0x1a3)])&&_0x4305f1[_0x55fbb4(0x1a3)]>0x0?_0x4305f1[_0x55fbb4(0x1a3)]:_0x588481;return{'rect':_0x597bc0?{'left':_0x2a8e04?_0x392d06['left']:_0x5db72b[_0x55fbb4(0x3ff)],'top':ir(_0x5db72b[_0x55fbb4(0x332)],_0x5db72b[_0x55fbb4(0x572)],_0x392d06[_0x55fbb4(0x332)],_0x18ef06),'width':_0x2a8e04?_0x392d06['width']:_0x5db72b[_0x55fbb4(0x23d)],'height':_0x18ef06}:{'left':ir(_0x5db72b[_0x55fbb4(0x3ff)],_0x5db72b[_0x55fbb4(0x23d)],_0x392d06[_0x55fbb4(0x3ff)],_0x18ef06),'top':_0x2a8e04?_0x392d06[_0x55fbb4(0x332)]:_0x5db72b[_0x55fbb4(0x332)],'width':_0x18ef06,'height':_0x2a8e04?_0x392d06[_0x55fbb4(0x572)]:_0x5db72b[_0x55fbb4(0x572)]},'shapeData':_0x2a8e04?{..._0x384dd0,'shapeText':{..._0x3d2e6f,'autoFitType':C['ShapeTextAutoFitType'][_0x55fbb4(0x79f)],'textWrap':C['ShapeTextWrapType'][_0x55fbb4(0x519)]}}:_0x384dd0};}function or(_0x26781d,_0x2a2520){const _0x1c65da=_0x13379c;return Math['max'](Number[_0x1c65da(0x67f)](_0x26781d)?Math['max'](0x1,_0x26781d):0x1,Number['isFinite'](_0x2a2520)?Math[_0x1c65da(0x16d)](0x1,_0x2a2520):0x1);}function sr(_0x16132c){const _0x2f674a=_0x13379c;try{var _0x3f5a83;let _0x5e6ff6=_0x16132c==null||(_0x3f5a83=_0x16132c[_0x2f674a(0x2f1)]())==null?void 0x0:_0x3f5a83[_0x2f674a(0x572)];return Number[_0x2f674a(0x67f)](_0x5e6ff6)?_0x5e6ff6:void 0x0;}catch{return;}}function cr(_0x3d8b19,_0x2e640e){const _0x48a331=_0x13379c;var _0xded982,_0x1f2cb9;return Math[_0x48a331(0x495)](_0x3d8b19['documentMarginTop']-_0x2e640e[_0x48a331(0x3ad)])<=0.001&&Math[_0x48a331(0x495)](_0x3d8b19[_0x48a331(0x36e)]-_0x2e640e[_0x48a331(0x36e)])<=0.001&&Math[_0x48a331(0x495)](_0x3d8b19[_0x48a331(0x6ee)]-_0x2e640e[_0x48a331(0x6ee)])<=0.001&&Math[_0x48a331(0x495)](_0x3d8b19[_0x48a331(0x2f6)]-_0x2e640e[_0x48a331(0x2f6)])<=0.001&&Math[_0x48a331(0x495)](_0x3d8b19[_0x48a331(0x401)]-_0x2e640e[_0x48a331(0x401)])<=0.001&&Math[_0x48a331(0x495)](((_0xded982=_0x3d8b19['editorSurfaceWidth'])==null?_0x3d8b19[_0x48a331(0x2f6)]:_0xded982)-((_0x1f2cb9=_0x2e640e[_0x48a331(0x2d5)])==null?_0x2e640e[_0x48a331(0x2f6)]:_0x1f2cb9))<=0.001;}function lr(_0x1e12bd,_0x466486){const _0x553515=_0x13379c;return _0x1e12bd&&!!(_0x466486!=null&&_0x466486[_0x553515(0x135)]);}function ur(_0x5f3035){const _0x17f4c8=_0x13379c;var _0x1bb949;let _0xa6110c=(0x0,s[_0x17f4c8(0x24f)])(m[_0x17f4c8(0x15e)])['getRenderById'](_0x5f3035),_0x214d80=_0xa6110c==null?void 0x0:_0xa6110c[_0x17f4c8(0x1b8)](f[_0x17f4c8(0x239)]),_0x3eac47=(0x0,s[_0x17f4c8(0x506)])(_0x214d80==null?void 0x0:_0x214d80['textSelectionInner$']);return lr((_0x1bb949=_0x214d80==null?void 0x0:_0x214d80['isFocusing'])==null?!0x1:_0x1bb949,_0x3eac47==null?void 0x0:_0x3eac47[_0x17f4c8(0x20e)]);}const dr=0xfa0;function fr(_0x39b309,_0x47b678){const _0x2777f7=_0x13379c;var _0x35adfe,_0x3398a4;let _0x52b9dc=s[_0x2777f7(0x2e3)][_0x2777f7(0x270)](_0xec5529=>Number(_0xec5529[_0x2777f7(0x6ea)]))[_0x2777f7(0x2f3)](_0x128a4e=>Number[_0x2777f7(0x67f)](_0x128a4e)&&_0x128a4e>0x0)[_0x2777f7(0x3c2)]((_0x55c40a,_0x3a7246)=>_0x55c40a-_0x3a7246),_0x41f344=Number[_0x2777f7(0x67f)](_0x39b309)?_0x39b309:0xe;if(_0x47b678>0x0){var _0x4565ef,_0x5dd85f;return(_0x4565ef=(_0x5dd85f=_0x52b9dc[_0x2777f7(0x326)](_0x5df32f=>_0x5df32f>_0x41f344))==null?_0x52b9dc[_0x52b9dc[_0x2777f7(0x135)]-0x1]:_0x5dd85f)==null?_0x41f344:_0x4565ef;}return(_0x35adfe=(_0x3398a4=[..._0x52b9dc][_0x2777f7(0x7c5)]()[_0x2777f7(0x326)](_0x1d2c9c=>_0x1d2c9c<_0x41f344))==null?_0x52b9dc[0x0]:_0x3398a4)==null?_0x41f344:_0x35adfe;}function pr(_0xe40e71){const _0x2c9b9f=_0x13379c;let {editorUnitId:_0x48aa64,editingParams:_0x256acf}=_0xe40e71;return _0x256acf?[_0x48aa64,_0x256acf[_0x2c9b9f(0x54c)],_0x256acf[_0x2c9b9f(0x563)],_0x256acf['shapeId'],_0x256acf['shapeKey']][_0x2c9b9f(0x61e)]('|'):null;}function mr(_0x4d1bb2,_0x574b3a){const _0x31d465=_0x13379c;return _0x4d1bb2?_0x4d1bb2 instanceof Node&&_0x574b3a!=null&&_0x574b3a['contains'](_0x4d1bb2)?!0x1:_0x4d1bb2 instanceof Element?!_0x4d1bb2[_0x31d465(0x2af)]('[data-u-comp=\x22rect-popup\x22]'):!0x0:!0x0;}function hr(_0x509f81){const _0x156914=_0x13379c;return _0x509f81[_0x156914(0x40a)]['getShapeTextRect'](_0x509f81[_0x156914(0x5ef)]);}function gr(_0x4ff351){const _0x496b89=_0x13379c;var _0x1dd12f,_0x19a480;let _0x1b0a25=bn(_0x4ff351[_0x496b89(0x4d9)]);return{..._0x1b0a25,'isHorizontal':(_0x1dd12f=(_0x19a480=_0x4ff351['isHorizontal'])==null?_0x1b0a25[_0x496b89(0x589)]:_0x19a480)==null?!0x0:_0x1dd12f,'dataModel':_0x4ff351[_0x496b89(0x797)]};}function _r(_0x168bf5,_0xcc8dcb){const _0x5c0dd5=_0x13379c;return{'id':_0x168bf5,'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,o[_0x5c0dd5(0x382)])(new Set())}]},'documentStyle':{'pageSize':{'width':_0xcc8dcb,'height':0x1/0x0}}};}function vr(_0x8c9a4a){const _0x5d871e=_0x13379c;let _0x2af910=Number[_0x5d871e(0x67f)](_0x8c9a4a[_0x5d871e(0x499)])?Math[_0x5d871e(0x16d)](0x0,_0x8c9a4a[_0x5d871e(0x499)]):0x0,_0x4ca239=Math[_0x5d871e(0x16d)](0x78,Math[_0x5d871e(0x6d2)](_0x2af910+0x10));return _0x8c9a4a[_0x5d871e(0x589)]?{'width':_0x4ca239,'height':0x28}:{'width':0x28,'height':_0x4ca239};}function yr(_0x4c7a00,_0x3e22c7){const _0x743c0f=_0x13379c;return(0x0,m['measureDocumentNoWrapTextWidth'])({..._0x4c7a00,'body':{'dataStream':_0x3e22c7+'\x0d\x0a','paragraphs':[{'startIndex':_0x3e22c7[_0x743c0f(0x135)],'paragraphId':(0x0,o[_0x743c0f(0x382)])(new Set())}],'textRuns':[]}});}function br(_0xb19866){const _0x3e87f0=_0x13379c;let _0xa16e6=Number['isFinite'](_0xb19866[_0x3e87f0(0x26b)])&&_0xb19866[_0x3e87f0(0x26b)]>0x0?_0xb19866['textRectWidth']:0x1;if(!_0xb19866[_0x3e87f0(0x645)])return _0xa16e6;let _0x34fa8e=_0xb19866[_0x3e87f0(0x6fa)];return Math[_0x3e87f0(0x16d)](_0xa16e6,Number[_0x3e87f0(0x67f)](_0x34fa8e)&&_0x34fa8e!==void 0x0&&_0x34fa8e>0x0?Math['max'](_0x34fa8e,dr):dr);}function xr(_0x5a1418){const _0x451714=_0x13379c;return(0x0,m[_0x451714(0x34f)])(_0x5a1418);}function Sr(_0x4704b4){const _0x516672=_0x13379c;let _0x458b18=Number['isFinite'](_0x4704b4['textRectWidth'])&&_0x4704b4[_0x516672(0x26b)]>0x0?_0x4704b4[_0x516672(0x26b)]:0x1;if(!_0x4704b4[_0x516672(0x645)])return _0x458b18;let _0x54871c=Number[_0x516672(0x67f)](_0x4704b4[_0x516672(0x45b)])&&_0x4704b4[_0x516672(0x45b)]>0x0?_0x4704b4[_0x516672(0x45b)]:0x0,_0x4ac6d0=Number[_0x516672(0x67f)](_0x4704b4[_0x516672(0x678)])&&_0x4704b4[_0x516672(0x678)]!==void 0x0&&_0x4704b4[_0x516672(0x678)]>0x0?_0x4704b4['measuredContentWidth']:void 0x0,_0x401130=_0x54871c+0x2;return Math[_0x516672(0x16d)](_0x458b18,_0x4ac6d0==null?_0x401130:_0x4ac6d0);}function Cr(_0x107333){const _0x3a5f71=_0x13379c;if(!_0x107333[_0x3a5f71(0x645)])return _0x107333['renderedContentWidth'];let _0x32a9=Number[_0x3a5f71(0x67f)](_0x107333[_0x3a5f71(0x678)])&&_0x107333[_0x3a5f71(0x678)]!==void 0x0&&_0x107333[_0x3a5f71(0x678)]>0x0?_0x107333['measuredContentWidth']:void 0x0;return _0x107333['allowShrink']&&_0x32a9!==void 0x0?_0x32a9:_0x107333[_0x3a5f71(0x173)];}function wr(_0xc9c5a3){const _0x337430=_0x13379c;let _0x518ef9=Number[_0x337430(0x67f)](_0xc9c5a3[_0x337430(0x26b)])&&_0xc9c5a3[_0x337430(0x26b)]>0x0?_0xc9c5a3[_0x337430(0x26b)]:0x1;if(!_0xc9c5a3[_0x337430(0x645)])return _0x518ef9;let _0x3099c0=Number['isFinite'](_0xc9c5a3[_0x337430(0x173)])&&_0xc9c5a3['renderedContentWidth']>0x0?_0xc9c5a3[_0x337430(0x173)]:_0x518ef9;return Math[_0x337430(0x16d)](_0x518ef9,_0x3099c0);}function Tr(_0x1e77ca){const _0x2777e4=_0x13379c;let _0x4e4a04=Number[_0x2777e4(0x67f)](_0x1e77ca[_0x2777e4(0x2f6)])&&_0x1e77ca[_0x2777e4(0x2f6)]>0x0?_0x1e77ca[_0x2777e4(0x2f6)]:0x1;if(!_0x1e77ca['autoFitNoWrap'])return _0x4e4a04;let _0xa968b6=Number['isFinite'](_0x1e77ca['scaleX'])&&_0x1e77ca['scaleX']>0x0?_0x1e77ca[_0x2777e4(0x1c2)]:0x1,_0x508b02=Number['isFinite'](_0x1e77ca['measurePageWidth'])&&_0x1e77ca[_0x2777e4(0x253)]>0x0?_0x1e77ca['measurePageWidth']:_0x4e4a04/_0xa968b6;return Math[_0x2777e4(0x16d)](_0x4e4a04,_0x508b02*_0xa968b6);}function Er(_0x283a79){const _0x330962=_0x13379c;var _0x1ac780;let _0x14c1d9=(_0x1ac780=_0x283a79[_0x330962(0x7b1)])==null?0x1:_0x1ac780;return Math['abs'](_0x283a79['nextWidth']-_0x283a79['baselineWidth'])>_0x14c1d9||Math[_0x330962(0x495)](_0x283a79[_0x330962(0x5fc)]-_0x283a79[_0x330962(0x13e)])>_0x14c1d9;}function Dr(_0x513d72){const _0x2419e1=_0x13379c;var _0x79761d,_0x4ea5b5;let {adapter:_0x46f8da,editingParams:_0x2b08c6}=_0x513d72;return!_0x46f8da[_0x2419e1(0x53e)]||!_0x2b08c6?!0x1:(_0x79761d=(_0x4ea5b5=_0x46f8da[_0x2419e1(0x6b0)])==null?void 0x0:_0x4ea5b5[_0x2419e1(0x484)](_0x46f8da,_0x2b08c6))==null?!0x0:_0x79761d;}function Or(_0x1e5f80){const _0x284e72=_0x13379c;var _0x18f8f6;let {adapter:_0x2472a0,editingParams:_0x21059d}=_0x1e5f80;return _0x21059d?((_0x18f8f6=_0x2472a0['deferHostSizeUpdateDuringEditing'])==null?void 0x0:_0x18f8f6[_0x284e72(0x484)](_0x2472a0,_0x21059d))===!0x0:!0x1;}function kr(_0xf3c696){const _0x386d71=_0x13379c;return _0xf3c696[_0x386d71(0x372)]?o[_0x386d71(0x7f0)][_0x386d71(0x267)]:_0xf3c696[_0x386d71(0x214)];}function Ar(_0x1f1a6f){const _0x1d6a40=_0x13379c;let {actualHeight:_0x4e8548,contentWidth:_0x1c7177,opticalVerticalOffset:_0x599690,scaleX:_0x4c6c12,scaleY:_0x3c6389,textRect:_0x52e74f,verticalAlign:_0x4a13a8}=_0x1f1a6f,_0x586e31=qn({'contentHeight':_0x4e8548,'verticalAlign':_0x4a13a8,'verticalOffset':_0x599690,'viewportHeight':Math[_0x1d6a40(0x16d)](0x1,_0x52e74f['height'])}),_0x3699ea=_0x586e31[_0x1d6a40(0x1f3)],_0x792363=Math[_0x1d6a40(0x16d)](0x1,_0x52e74f[_0x1d6a40(0x23d)],_0x1c7177==null?_0x52e74f[_0x1d6a40(0x23d)]:_0x1c7177);return{'documentMarginTop':_0x586e31[_0x1d6a40(0x59c)],'editorLeft':Math[_0x1d6a40(0x16d)](0x0,_0x52e74f['left'])*_0x4c6c12,'editorTop':(Math['max'](0x0,_0x52e74f[_0x1d6a40(0x332)])+_0x586e31[_0x1d6a40(0x223)])*_0x3c6389,'editorWidth':_0x792363*_0x4c6c12,'editorHeight':_0x3699ea*_0x3c6389,'pageHeight':_0x3699ea};}function jr(_0x2ab83e){const _0x586a15=_0x13379c;var _0x58a37d;let _0x23d40b=_0x2ab83e[_0x586a15(0x3b0)]===o[_0x586a15(0x337)][_0x586a15(0x693)]?_0x586a15(0x39f):_0x2ab83e[_0x586a15(0x3b0)]===o[_0x586a15(0x337)][_0x586a15(0x309)]?'right':_0x586a15(0x3ff);return{'left':_0x2ab83e[_0x586a15(0x36e)],'top':_0x2ab83e['editorTop']+_0x2ab83e[_0x586a15(0x3ad)],'width':(_0x58a37d=_0x2ab83e[_0x586a15(0x2d5)])==null?_0x2ab83e[_0x586a15(0x2f6)]:_0x58a37d,'textAlign':_0x23d40b};}function Mr(_0x41f6b9){const _0x44ab56=_0x13379c;let {allowShrink:_0x48a86f=!0x1,hostWidth:_0x5696d9,hostHeight:_0x1b515c,textRect:_0x2e1f00,contentWidth:_0x1117c1,contentHeight:_0x1c8d5c}=_0x41f6b9,_0x1cf8df=Number[_0x44ab56(0x67f)](_0x5696d9)&&_0x5696d9>0x0?_0x5696d9:0x1,_0x498307=Number[_0x44ab56(0x67f)](_0x1b515c)&&_0x1b515c>0x0?_0x1b515c:0x1,_0x264169=Math[_0x44ab56(0x16d)](0x0,_0x2e1f00[_0x44ab56(0x3ff)]),_0x5b9399=Math[_0x44ab56(0x16d)](0x0,_0x2e1f00[_0x44ab56(0x332)]),_0x226e92=Math[_0x44ab56(0x16d)](0x1,_0x2e1f00[_0x44ab56(0x23d)]),_0x3eddf5=Math[_0x44ab56(0x16d)](0x1,_0x2e1f00[_0x44ab56(0x572)]),_0x4ba062=Math[_0x44ab56(0x16d)](0x0,_0x1cf8df-_0x264169-_0x226e92),_0x1a310b=Math[_0x44ab56(0x16d)](0x0,_0x498307-_0x5b9399-_0x3eddf5),_0x45f000=Math['max'](0x1,_0x48a86f?_0x1117c1:Math[_0x44ab56(0x16d)](_0x226e92,_0x1117c1)),_0x4042f9=Math[_0x44ab56(0x16d)](0x1,_0x48a86f?_0x1c8d5c:Math[_0x44ab56(0x16d)](_0x3eddf5,_0x1c8d5c)),_0x3a0771=Math['ceil'](_0x264169+_0x45f000+_0x4ba062),_0x517453=Math[_0x44ab56(0x6d2)](_0x5b9399+_0x4042f9+_0x1a310b);return{'width':_0x48a86f?_0x3a0771:Math[_0x44ab56(0x16d)](_0x1cf8df,_0x3a0771),'height':_0x48a86f?_0x517453:Math[_0x44ab56(0x16d)](_0x498307,_0x517453)};}function Nr(_0x573ab6){const _0x6186f1=_0x13379c;let _0x5c975c=Math[_0x6186f1(0x16d)](0x1,_0x573ab6[_0x6186f1(0x72a)]),_0x3c8314=Math[_0x6186f1(0x16d)](0x1,_0x573ab6[_0x6186f1(0x303)]);return _0x573ab6[_0x6186f1(0x505)]===_0x6186f1(0x23d)?{'width':_0x5c975c,'height':_0x3c8314}:{'width':_0x3c8314,'height':_0x5c975c};}function Pr(_0x4d639a,_0x5875e7,_0x1a3e23,_0x228bae){const _0x6d6f47=_0x13379c;return{'top':_0x228bae===void 0x0?0x0:_0x5875e7,'left':_0x1a3e23===void 0x0?0x0:_0x4d639a,'width':_0x1a3e23==null?_0x4d639a:_0x1a3e23,'height':_0x228bae==null?_0x5875e7:_0x228bae,'borderColor':_0x6d6f47(0x151),'outlineColor':_0x6d6f47(0x151),'backgroundColor':_0x6d6f47(0x151)};}function Fr(_0x39c6a9,_0x3c098a){const _0x475a24=_0x13379c;var _0x59059a;if(!_0x39c6a9)return;_0x39c6a9[_0x475a24(0x6d9)][_0x475a24(0x3ff)]=_0x3c098a['editorLeft']+'px',_0x39c6a9['style'][_0x475a24(0x332)]=_0x3c098a[_0x475a24(0x6ee)]+'px';let _0x215217=(_0x59059a=_0x3c098a[_0x475a24(0x2d5)])==null?_0x3c098a[_0x475a24(0x2f6)]:_0x59059a;_0x39c6a9[_0x475a24(0x6d9)][_0x475a24(0x23d)]=_0x215217+'px',_0x39c6a9[_0x475a24(0x6d9)][_0x475a24(0x572)]=Math[_0x475a24(0x16d)](0x1,_0x3c098a['editorHeight'])+'px';}function Ir(_0xe9930,..._0x4d4f3d){const _0x276ac9=_0x13379c;_0xe9930[_0x276ac9(0x34a)](..._0x4d4f3d),_0xe9930[_0x276ac9(0x725)]();}function Lr(_0x5a6e3a){const _0x2b8b67=_0x13379c;return _0x5a6e3a['getDocumentDataModel']()?_0x5a6e3a[_0x2b8b67(0x4c3)]():null;}function Rr(_0x4c8d77){const _0x139563=_0x13379c;var _0x24388e,_0x47a0bc;let _0xab69e2=_0x4c8d77==null||(_0x24388e=_0x4c8d77[_0x139563(0x55d)])==null||(_0x47a0bc=_0x24388e[_0x139563(0x3c9)])==null?void 0x0:_0x47a0bc[_0x139563(0x484)](_0x24388e);_0xab69e2&&(_0xab69e2[_0x139563(0x6d9)]['backgroundColor']=_0x139563(0x151));}function zr(_0x233445){const _0x5c8afc=_0x13379c;var _0x33e3f6,_0x426d70;let _0x37688f=_0x27594f=>{const _0x37695f=_0x1fb5;if(!_0x27594f||typeof _0x27594f!=_0x37695f(0x7dc))return;let _0x4207ed=_0x27594f;_0x4207ed[_0x37695f(0x4b4)]!==void 0x0&&(_0x4207ed['pageMarginLeft']=0x0),_0x4207ed[_0x37695f(0x668)]!==void 0x0&&(_0x4207ed[_0x37695f(0x668)]=0x0);};_0x37688f(_0x233445==null?void 0x0:_0x233445[_0x5c8afc(0x687)]),_0x233445==null||(_0x33e3f6=_0x233445['components'])==null||(_0x426d70=_0x33e3f6['forEach'])==null||_0x426d70[_0x5c8afc(0x484)](_0x33e3f6,_0x37688f);}function Br(_0x2dd2ee){const _0x53d931=_0x13379c;var _0x19416f,_0x45d8da,_0x323b19,_0x36f70c;_0x2dd2ee==null||(_0x19416f=_0x2dd2ee[_0x53d931(0x687)])==null||(_0x45d8da=_0x19416f[_0x53d931(0x471)])==null||_0x45d8da['call'](_0x19416f,!0x0);let _0x27c693=_0x2dd2ee==null?void 0x0:_0x2dd2ee['scene'];_0x27c693==null||(_0x323b19=_0x27c693[_0x53d931(0x471)])==null||_0x323b19[_0x53d931(0x484)](_0x27c693,!0x0),_0x27c693==null||(_0x36f70c=_0x27c693[_0x53d931(0x237)])==null||_0x36f70c[_0x53d931(0x484)](_0x27c693);}function Vr(_0x3b5951,_0x476af7,_0x286a4c={}){const _0x4fb3e3=_0x13379c;let _0x44eb83=s[_0x4fb3e3(0x56b)][_0x4fb3e3(0x388)],_0x281047=s[_0x4fb3e3(0x56b)][_0x4fb3e3(0x388)]|s[_0x4fb3e3(0x56b)]['SHIFT'];return{'keyCodes':[..._0x286a4c[_0x4fb3e3(0x7d4)]?[{'keyCode':s[_0x4fb3e3(0x451)][_0x4fb3e3(0x7b3)]},{'keyCode':s[_0x4fb3e3(0x451)][_0x4fb3e3(0x7b3)],'metaKey':s[_0x4fb3e3(0x56b)]['SHIFT']},{'keyCode':s[_0x4fb3e3(0x451)]['ENTER'],'metaKey':_0x44eb83}]:[{'keyCode':s['KeyCode'][_0x4fb3e3(0x7b3)]}],{'keyCode':s['KeyCode'][_0x4fb3e3(0x265)]},{'keyCode':s[_0x4fb3e3(0x451)]['BACKSPACE']},{'keyCode':s[_0x4fb3e3(0x451)][_0x4fb3e3(0x75f)]},{'keyCode':s['KeyCode']['A'],'metaKey':_0x44eb83},{'keyCode':s[_0x4fb3e3(0x451)]['B'],'metaKey':_0x44eb83},{'keyCode':s[_0x4fb3e3(0x451)]['I'],'metaKey':_0x44eb83},{'keyCode':s['KeyCode']['U'],'metaKey':_0x44eb83},{'keyCode':s[_0x4fb3e3(0x451)]['X'],'metaKey':_0x281047},{'keyCode':s[_0x4fb3e3(0x451)][_0x4fb3e3(0x1f0)],'metaKey':_0x44eb83},{'keyCode':s[_0x4fb3e3(0x451)][_0x4fb3e3(0x447)],'metaKey':_0x44eb83},{'keyCode':s[_0x4fb3e3(0x451)][_0x4fb3e3(0x447)],'metaKey':s[_0x4fb3e3(0x56b)][_0x4fb3e3(0x4c0)]|s[_0x4fb3e3(0x56b)][_0x4fb3e3(0x5e8)]},{'keyCode':s[_0x4fb3e3(0x451)][_0x4fb3e3(0x1f0)],'metaKey':s[_0x4fb3e3(0x56b)][_0x4fb3e3(0x4c0)]|s[_0x4fb3e3(0x56b)]['SHIFT']},{'keyCode':s['KeyCode']['K'],'metaKey':_0x44eb83},{'keyCode':s[_0x4fb3e3(0x451)]['L'],'metaKey':_0x281047},{'keyCode':s[_0x4fb3e3(0x451)]['R'],'metaKey':_0x281047},{'keyCode':s['KeyCode']['E'],'metaKey':_0x281047},{'keyCode':s[_0x4fb3e3(0x451)]['J'],'metaKey':_0x281047},{'keyCode':s['KeyCode'][_0x4fb3e3(0x447)],'metaKey':_0x281047},{'keyCode':s[_0x4fb3e3(0x451)][_0x4fb3e3(0x3d4)],'metaKey':_0x281047},{'keyCode':s[_0x4fb3e3(0x451)]['Digit8'],'metaKey':_0x281047},{'keyCode':s[_0x4fb3e3(0x451)]['Z'],'metaKey':_0x44eb83},{'keyCode':s['KeyCode']['Y'],'metaKey':_0x44eb83},{'keyCode':s[_0x4fb3e3(0x451)]['Z'],'metaKey':_0x281047}],'handler':(_0x237b42,_0x47ae9f)=>{const _0xfe1f8e=_0x4fb3e3;switch(_0x237b42+':'+(_0x47ae9f==null?0x0:_0x47ae9f)){case s['KeyCode']['ESC']+':0':var _0x39c600;(_0x39c600=_0x286a4c[_0xfe1f8e(0x6de)])==null||_0x39c600['call'](_0x286a4c);break;case s[_0xfe1f8e(0x451)][_0xfe1f8e(0x7b3)]+':0':if(_0x286a4c[_0xfe1f8e(0x7d4)]){var _0x2050f9;(_0x2050f9=_0x286a4c['commit'])==null||_0x2050f9[_0xfe1f8e(0x484)](_0x286a4c);}else _0x3b5951['executeCommand'](f[_0xfe1f8e(0x4fd)]['id']);break;case s[_0xfe1f8e(0x451)][_0xfe1f8e(0x7b3)]+':'+s[_0xfe1f8e(0x56b)][_0xfe1f8e(0x5e8)]:case s[_0xfe1f8e(0x451)]['ENTER']+':'+_0x44eb83:_0x3b5951[_0xfe1f8e(0x137)](f[_0xfe1f8e(0x4fd)]['id']);break;case s[_0xfe1f8e(0x451)][_0xfe1f8e(0x63e)]+':0':_0x3b5951[_0xfe1f8e(0x137)](f[_0xfe1f8e(0x2de)]['id']);break;case s[_0xfe1f8e(0x451)][_0xfe1f8e(0x75f)]+':0':_0x3b5951[_0xfe1f8e(0x137)](f[_0xfe1f8e(0x323)]['id']);break;case s['KeyCode']['A']+':'+_0x44eb83:_0x3b5951['executeCommand'](f[_0xfe1f8e(0x458)]['id']);break;case s[_0xfe1f8e(0x451)]['B']+':'+_0x44eb83:_0x3b5951[_0xfe1f8e(0x137)](f[_0xfe1f8e(0x750)]['id']);break;case s[_0xfe1f8e(0x451)]['I']+':'+_0x44eb83:_0x3b5951[_0xfe1f8e(0x137)](f['SetInlineFormatItalicCommand']['id']);break;case s['KeyCode']['U']+':'+_0x44eb83:_0x3b5951[_0xfe1f8e(0x137)](f[_0xfe1f8e(0x5b4)]['id']);break;case s['KeyCode']['X']+':'+_0x281047:_0x3b5951[_0xfe1f8e(0x137)](f[_0xfe1f8e(0x73e)]['id']);break;case s[_0xfe1f8e(0x451)][_0xfe1f8e(0x1f0)]+':'+_0x44eb83:_0x3b5951[_0xfe1f8e(0x137)](f[_0xfe1f8e(0x3ee)]['id']);break;case s['KeyCode'][_0xfe1f8e(0x447)]+':'+_0x44eb83:_0x3b5951[_0xfe1f8e(0x137)](f[_0xfe1f8e(0x154)]['id']);break;case s[_0xfe1f8e(0x451)][_0xfe1f8e(0x447)]+':'+(s[_0xfe1f8e(0x56b)][_0xfe1f8e(0x4c0)]|s[_0xfe1f8e(0x56b)]['SHIFT']):_0x3b5951[_0xfe1f8e(0x137)](f[_0xfe1f8e(0x593)]['id'],{'value':fr(_0x286a4c['currentFontSize'],0x1)});break;case s[_0xfe1f8e(0x451)]['COMMA']+':'+(s['MetaKeys'][_0xfe1f8e(0x4c0)]|s['MetaKeys'][_0xfe1f8e(0x5e8)]):_0x3b5951[_0xfe1f8e(0x137)](f[_0xfe1f8e(0x593)]['id'],{'value':fr(_0x286a4c['currentFontSize'],-0x1)});break;case s[_0xfe1f8e(0x451)]['K']+':'+_0x44eb83:_0x3b5951[_0xfe1f8e(0x137)](_0xfe1f8e(0x713));break;case s[_0xfe1f8e(0x451)]['L']+':'+_0x281047:_0x3b5951['executeCommand'](f[_0xfe1f8e(0x62c)]['id']);break;case s['KeyCode']['R']+':'+_0x281047:_0x3b5951[_0xfe1f8e(0x137)](f[_0xfe1f8e(0x4fb)]['id']);break;case s['KeyCode']['E']+':'+_0x281047:_0x3b5951[_0xfe1f8e(0x137)](f[_0xfe1f8e(0x208)]['id']);break;case s[_0xfe1f8e(0x451)]['J']+':'+_0x281047:_0x3b5951[_0xfe1f8e(0x137)](f['AlignJustifyCommand']['id']);break;case s['KeyCode'][_0xfe1f8e(0x447)]+':'+_0x281047:_0x3b5951[_0xfe1f8e(0x137)](Nn);break;case s[_0xfe1f8e(0x451)][_0xfe1f8e(0x3d4)]+':'+_0x281047:_0x3b5951[_0xfe1f8e(0x137)](f[_0xfe1f8e(0x75e)]['id']);break;case s[_0xfe1f8e(0x451)][_0xfe1f8e(0x575)]+':'+_0x281047:_0x3b5951[_0xfe1f8e(0x137)](f[_0xfe1f8e(0x2d8)]['id']);break;case s[_0xfe1f8e(0x451)]['Z']+':'+_0x44eb83:_0x476af7?_0x476af7(o[_0xfe1f8e(0x5c4)]['id']):_0x3b5951['executeCommand'](o['UndoCommand']['id']);break;case s[_0xfe1f8e(0x451)]['Y']+':'+_0x44eb83:case s[_0xfe1f8e(0x451)]['Z']+':'+_0x281047:_0x476af7?_0x476af7(o[_0xfe1f8e(0x5f9)]['id']):_0x3b5951['executeCommand'](o[_0xfe1f8e(0x5f9)]['id']);break;}}};}const Hr=function(_0x569927){const _0x18beb0=_0x13379c;var _0x4c8d18,_0x19026f,_0x90878c;let {adapter:_0x22eef3,containerWidth:_0x1a95a8,containerHeight:_0x516868,editingParams:_0x1ccf10,editingService:_0x3d6822,editorUnitId:_0x1c2595,scaleX:_0x478a36,scaleY:_0x771276,verticalAlignCommandId:_0x44e457}=_0x569927,_0x4634fb=_0x478a36||0x1,_0x36b574=_0x771276||0x1,_0x5e386f=(0x0,s['useDependency'])(f[_0x18beb0(0x387)]),_0x14c974=(0x0,s[_0x18beb0(0x24f)])(m[_0x18beb0(0x15e)]),_0x41ac88=(0x0,s[_0x18beb0(0x24f)])(o[_0x18beb0(0x166)]),_0x4853d8=(0x0,s[_0x18beb0(0x24f)])(o[_0x18beb0(0x171)]),_0x3acb8b=(0x0,s['useDependency'])(d[_0x18beb0(0x45d)]),_0x12786c=(0x0,s[_0x18beb0(0x24f)])(o[_0x18beb0(0x80e)]),_0x6f3615=(0x0,n[_0x18beb0(0x7e0)])(()=>_0x12786c['t'](_0x18beb0(0x569)),[(0x0,s[_0x18beb0(0x506)])(()=>_0x12786c['currentLocale$'],_0x12786c['getCurrentLocale'](),!0x1,[_0x12786c]),_0x12786c]),_0x47f2ce=(0x0,s[_0x18beb0(0x506)])(_0x3d6822['onSavingEditorData$']),_0x4fd427=(0x0,n[_0x18beb0(0x216)])(!0x1),_0x951d11=(0x0,n[_0x18beb0(0x216)])(null),_0x2ef7e8=(0x0,n[_0x18beb0(0x216)])(null),_0xccbb94=(0x0,n['useRef'])(null),_0x23c5c1=(0x0,n[_0x18beb0(0x216)])(null),_0x4e99d1=(0x0,n[_0x18beb0(0x216)])(null),_0x26f226=(0x0,n[_0x18beb0(0x216)])(null),_0x5a6542=(0x0,n[_0x18beb0(0x216)])(null),_0x3b38ec=(0x0,n[_0x18beb0(0x216)])({'width':0x0,'height':0x0}),_0x1a7760=(0x0,n[_0x18beb0(0x216)])(null),_0xd153dd=(0x0,n[_0x18beb0(0x216)])(()=>{}),_0xd8773=(0x0,n[_0x18beb0(0x216)])(()=>{}),_0x3c528c=(0x0,n[_0x18beb0(0x216)])(()=>{}),[_0x4c7725,_0xb9b108]=(0x0,n[_0x18beb0(0x659)])({'documentMarginTop':0x0,'editorLeft':0x0,'editorTop':0x0,'editorWidth':_0x1a95a8,'editorHeight':_0x516868});_0x4fd427[_0x18beb0(0x5ec)]=!!_0x47f2ce;let _0x4100cd=(0x0,n[_0x18beb0(0x7bc)])(_0x21d4ce=>{const _0x56e945=_0x18beb0;Fr(_0x2ef7e8[_0x56e945(0x5ec)],_0x21d4ce),queueMicrotask(()=>{_0xb9b108(_0x3d132b=>cr(_0x3d132b,_0x21d4ce)?_0x3d132b:_0x21d4ce);});},[]),_0x46a7d6=(0x0,n[_0x18beb0(0x7bc)])(()=>_0x41ac88['getUnit'](_0x1c2595,o[_0x18beb0(0x37e)][_0x18beb0(0x42b)]),[_0x1c2595,_0x41ac88]),_0xcdc300=(0x0,n[_0x18beb0(0x7bc)])(()=>{const _0x458188=_0x18beb0;var _0x346dd8;let _0xcbec68=_0x4634fb,_0xd3c202=_0x36b574;if(!_0x1ccf10)return{'scaleAdjust':0x1,'renderScaleX':_0xcbec68,'renderScaleY':_0xd3c202};let _0x4b7740=_0x14c974['getRenderById'](_0x1ccf10['unitId']),_0x2b872c=_0x4b7740==null?void 0x0:_0x4b7740['scene'][_0x458188(0x34b)](),_0x544695=_0x4b7740==null?void 0x0:_0x4b7740[_0x458188(0x55d)][_0x458188(0x3c9)](),_0x56025c=_0x544695?Number['parseFloat'](_0x544695[_0x458188(0x6d9)][_0x458188(0x23d)]||''):0x0,_0x1c58a2=(_0x346dd8=_0x544695==null?void 0x0:_0x544695['getBoundingClientRect']()[_0x458188(0x23d)])==null?0x0:_0x346dd8,_0xcbea9d=_0x56025c>0x0&&_0x1c58a2>0x0?_0x1c58a2/_0x56025c:0x1;return{'scaleAdjust':Number[_0x458188(0x67f)](_0xcbea9d)&&_0xcbea9d>0x0?_0xcbea9d:0x1,'renderScaleX':(_0x2b872c==null?void 0x0:_0x2b872c[_0x458188(0x1c2)])||_0xcbec68,'renderScaleY':(_0x2b872c==null?void 0x0:_0x2b872c['scaleY'])||_0xd3c202};},[_0x4634fb,_0x36b574,_0x1ccf10,_0x14c974]),_0x14e823=(0x0,n[_0x18beb0(0x7bc)])(()=>{const _0x141aa3=_0x18beb0;if(!_0x1ccf10)return{'left':0x0,'top':0x0,'width':_0x1a95a8/_0x4634fb,'height':_0x516868/_0x36b574};let {unitId:_0x161d39,subUnitId:_0x166db8,shapeId:_0x3b426a}=_0x1ccf10,_0x57e3cd=_0x22eef3[_0x141aa3(0x317)](_0x161d39,_0x166db8,_0x3b426a);return _0x57e3cd?hr({'hostRect':{'left':0x0,'top':0x0,'width':_0x1a95a8/_0x4634fb,'height':_0x516868/_0x36b574},'shapeModel':_0x57e3cd}):{'left':0x0,'top':0x0,'width':_0x1a95a8/_0x4634fb,'height':_0x516868/_0x36b574};},[_0x22eef3,_0x1ccf10,_0x1a95a8,_0x516868,_0x4634fb,_0x36b574]),_0x13b38a=(0x0,n[_0x18beb0(0x7bc)])(()=>{const _0x5f1e59=_0x18beb0;var _0x5f1f4,_0x2b0f85;if(!_0x1ccf10)return null;let {unitId:_0x17327e,subUnitId:_0x512f3d,shapeId:_0x4b8b50}=_0x1ccf10,_0x3c1327=_0x22eef3['getShapeModel'](_0x17327e,_0x512f3d,_0x4b8b50);if(!_0x3c1327)return null;let _0x3d73fc=(_0x5f1f4=_0x22eef3[_0x5f1e59(0x23c)])==null?void 0x0:_0x5f1f4[_0x5f1e59(0x484)](_0x22eef3,_0x17327e,_0x512f3d,_0x4b8b50),_0x366efa=_0x3c1327[_0x5f1e59(0x777)]();if(!_0x366efa)return null;let _0x22107a=ue(_0x3d73fc,_0x366efa),_0x3655da=(_0x2b0f85=_0x22eef3[_0x5f1e59(0x123)](_0x17327e,_0x512f3d,_0x4b8b50))==null?{'angle':0x0,'flipX':!0x1,'flipY':!0x1}:_0x2b0f85,_0x215b7e={'left':0x0,'top':0x0,'width':_0x1a95a8/_0x4634fb,'height':_0x516868/_0x36b574},_0x552722=_0x3c1327[_0x5f1e59(0x31a)](_0x215b7e),_0x573983,_0x396983=o[_0x5f1e59(0x7f0)][_0x5f1e59(0x267)],_0x3a18ab=o[_0x5f1e59(0x337)]['LEFT'];if(_0x5f1e59(0x797)in _0x366efa&&_0x366efa['dataModel']){var _0x27a7eb,_0x55f339,_0xce8f72,_0x471c6e,_0x27c731,_0x178ce2;let _0x31bd6b=ae(_0x366efa[_0x5f1e59(0x797)]);_0x31bd6b!=null&&_0x31bd6b[_0x5f1e59(0x724)]&&(_0x573983=_0x31bd6b['doc']),_0x396983=(_0x27a7eb=(_0x55f339=_0x31bd6b==null?void 0x0:_0x31bd6b['va'])==null?_0x573983==null||(_0xce8f72=_0x573983['documentStyle'])==null||(_0xce8f72=_0xce8f72[_0x5f1e59(0x407)])==null?void 0x0:_0xce8f72[_0x5f1e59(0x214)]:_0x55f339)==null?o['VerticalAlign'][_0x5f1e59(0x267)]:_0x27a7eb,_0x3a18ab=(_0x471c6e=(_0x27c731=_0x31bd6b==null?void 0x0:_0x31bd6b['ha'])==null?_0x573983==null||(_0x178ce2=_0x573983[_0x5f1e59(0x68e)])==null||(_0x178ce2=_0x178ce2[_0x5f1e59(0x407)])==null?void 0x0:_0x178ce2['horizontalAlign']:_0x27c731)==null?o[_0x5f1e59(0x337)]['LEFT']:_0x471c6e;}let _0x72b52d=(0x0,C[_0x5f1e59(0x209)])(_0x22107a),_0x5b60c6=_0x72b52d['horizontalAnchor']===_0x5f1e59(0x39f)?er({'documentData':_0x573983,'horizontalAlign':_0x3a18ab,'horizontalAnchor':_0x72b52d[_0x5f1e59(0x633)],'isHorizontal':_0x366efa[_0x5f1e59(0x589)],'textRect':_0x552722,'textWrap':_0x72b52d[_0x5f1e59(0x2ab)],'widthBuffer':0x2})[_0x5f1e59(0x65d)]:_0x552722;return{'shapeText':_0x366efa,'bodyBehavior':_0x72b52d,'doc':_0x573983,'verticalAlign':_0x396983,'horizontalAlign':_0x3a18ab,'wrapStrategy':pe(_0x22107a),'autoFitNoWrap':Q(_0x22107a),'textRect':_0x5b60c6,'transform':_0x3655da,'isHorizontal':_0x366efa[_0x5f1e59(0x589)],'isTextBox':_0x22107a[_0x5f1e59(0x435)]===!0x0};},[_0x22eef3,_0x1ccf10,_0x1a95a8,_0x516868,_0x4634fb,_0x36b574]),_0x5e6468=(0x0,n[_0x18beb0(0x7e0)])(()=>{const _0x14b4e9=_0x18beb0;let _0x24a88a=_0x13b38a();if(_0x24a88a!=null&&_0x24a88a['doc'])return hn(_0x24a88a[_0x14b4e9(0x724)],{'bodyBehavior':_0x24a88a[_0x14b4e9(0x61a)],'isHorizontal':_0x24a88a['isHorizontal'],'textRect':_0x24a88a['textRect'],'verticalAlign':_0x24a88a['verticalAlign'],'horizontalAlign':_0x24a88a[_0x14b4e9(0x3b0)],'wrapStrategy':_0x24a88a[_0x14b4e9(0x27c)]});let _0x59e3e6=_r(_0x1c2595,_0x1a95a8/_0x4634fb);return _0x24a88a?hn(_0x59e3e6,{'bodyBehavior':_0x24a88a[_0x14b4e9(0x61a)],'isHorizontal':_0x24a88a[_0x14b4e9(0x589)],'textRect':_0x24a88a['textRect'],'verticalAlign':_0x24a88a['verticalAlign'],'horizontalAlign':_0x24a88a['horizontalAlign'],'wrapStrategy':_0x24a88a[_0x14b4e9(0x27c)]}):_0x59e3e6;},[_0x13b38a,_0x1a95a8,_0x4634fb]),[_0x9e06d3,_0x3e744f]=(0x0,n[_0x18beb0(0x659)])(()=>tr(_0x5e6468)),_0x52ee53=(0x0,f[_0x18beb0(0x57f)])({'editorId':_0x1c2595,'initialValue':_0x5e6468,'container':_0x2ef7e8,'autoFocus':!0x1,'canvasStyle':{'backgroundColor':_0x18beb0(0x151)},'isSingle':!0x1});(0x0,n[_0x18beb0(0x69d)])(()=>{const _0xeef8ad=_0x18beb0;if(!_0x52ee53)return;let _0x48a206=_0x14c974[_0xeef8ad(0x5a9)](_0x1c2595);Rr(_0x48a206),zr(_0x48a206);},[_0x52ee53,_0x1c2595,_0x14c974]);let _0x2243be=ur(_0x1c2595),_0x4d3997=_0x1ccf10?(_0x4c8d18=(_0x19026f=_0x22eef3[_0x18beb0(0x7d4)])==null?void 0x0:_0x19026f['call'](_0x22eef3,_0x1ccf10))==null?!0x1:_0x4c8d18:!0x1,_0x19c6d1=(_0x90878c=_0x5e6468['documentStyle'])==null||(_0x90878c=_0x90878c['textStyle'])==null?void 0x0:_0x90878c['fs'];(0x0,f[_0x18beb0(0x483)])(_0x2243be,(0x0,n[_0x18beb0(0x7e0)])(()=>Vr(_0x4853d8,_0x58597c=>{const _0x1e1b94=_0x18beb0;(0x0,f[_0x1e1b94(0x207)])({'commandId':_0x58597c,'commandService':_0x4853d8,'editorUnitId':_0x1c2595,'univerInstanceService':_0x41ac88});},{'commitOnEnter':_0x4d3997,'cancel':()=>{const _0x2f0a4e=_0x18beb0;if(_0x3d6822[_0x2f0a4e(0x44e)]){_0x3d6822[_0x2f0a4e(0x44e)]();return;}_0x3d6822[_0x2f0a4e(0x2a7)](null);},'commit':()=>{const _0xe01d71=_0x18beb0;if(_0x3d6822[_0xe01d71(0x74b)]){_0x3d6822[_0xe01d71(0x74b)]();return;}_0x3d6822['setEditing'](null);},'currentFontSize':_0x19c6d1}),[_0x4853d8,_0x4d3997,_0x19c6d1,_0x3d6822,_0x1c2595,_0x41ac88]),_0x52ee53),(0x0,f[_0x18beb0(0x698)])(_0x2243be,!0x1,_0x52ee53),(0x0,n[_0x18beb0(0x69d)])(()=>{const _0x167e8d=_0x18beb0;if(!(_0x1ccf10!=null&&_0x1ccf10[_0x167e8d(0x3cf)]))return;let _0x4f1714=_0x2c102a=>{const _0x2b0e69=_0x167e8d;if(_0x2c102a[_0x2b0e69(0x7d2)]===0x0&&mr(_0x2c102a[_0x2b0e69(0x311)],_0x951d11[_0x2b0e69(0x5ec)])){if(_0x3d6822[_0x2b0e69(0x74b)]){_0x3d6822[_0x2b0e69(0x74b)](_0x2c102a);return;}_0x3d6822['setEditing'](null);}};return document[_0x167e8d(0x3f2)](_0x167e8d(0x25c),_0x4f1714,!0x0),()=>{const _0x222545=_0x167e8d;document[_0x222545(0x200)](_0x222545(0x25c),_0x4f1714,!0x0);};},[_0x1ccf10==null?void 0x0:_0x1ccf10[_0x18beb0(0x3cf)],_0x3d6822]),(0x0,n[_0x18beb0(0x69d)])(()=>{_0x3b38ec['current']=_0x1ccf10?{'width':_0x1a95a8/_0x4634fb,'height':_0x516868/_0x36b574}:{'width':0x0,'height':0x0};},[_0x1a95a8,_0x516868,_0x4634fb,_0x36b574,_0x1ccf10==null?void 0x0:_0x1ccf10[_0x18beb0(0x54c)],_0x1ccf10==null?void 0x0:_0x1ccf10[_0x18beb0(0x563)],_0x1ccf10==null?void 0x0:_0x1ccf10[_0x18beb0(0x5ba)]]),(0x0,n[_0x18beb0(0x69d)])(()=>{const _0x4ce1cd=_0x18beb0;_0x1a7760[_0x4ce1cd(0x5ec)]=null;},[_0x1ccf10==null?void 0x0:_0x1ccf10[_0x18beb0(0x54c)],_0x1ccf10==null?void 0x0:_0x1ccf10[_0x18beb0(0x563)],_0x1ccf10==null?void 0x0:_0x1ccf10[_0x18beb0(0x5ba)],_0x1ccf10==null?void 0x0:_0x1ccf10[_0x18beb0(0x5ac)]]);let _0x53f5cf=(0x0,n[_0x18beb0(0x7bc)])(()=>{const _0x1dce26=_0x18beb0;let _0x46c8af=_0x1a7760[_0x1dce26(0x5ec)];if(_0x46c8af)return _0x1a7760[_0x1dce26(0x5ec)]=null,_0x3b38ec[_0x1dce26(0x5ec)]={'width':_0x46c8af[_0x1dce26(0x23d)],'height':_0x46c8af[_0x1dce26(0x572)]},_0x46c8af;},[]),_0x20e56d=(0x0,n['useCallback'])((_0x50bbd2=!0x0,_0x7ce440=!0x1)=>{const _0xe94b20=_0x18beb0;var _0x442e65,_0x5009b5,_0x5e87b7;if(!_0x52ee53)return;let _0x374e36=_0x52ee53['getSelectionRanges']()[_0xe94b20(0x326)](_0x129955=>_0x129955['collapsed']),_0x47f770=((_0x442e65=(_0x5009b5=_0x52ee53[_0xe94b20(0x4c3)]()[_0xe94b20(0x218)])==null?void 0x0:_0x5009b5[_0xe94b20(0x1cb)][_0xe94b20(0x135)])==null?0x2:_0x442e65)-0x2,_0x28e196=(_0x5e87b7=_0x374e36==null?void 0x0:_0x374e36[_0xe94b20(0x2cf)])==null?_0x50bbd2?_0x47f770:null:_0x5e87b7;_0x28e196!==null&&_0x52ee53[_0xe94b20(0x7c7)]([{'startOffset':_0x28e196,'endOffset':_0x28e196}],_0x7ce440);},[_0x52ee53]);_0xd8773[_0x18beb0(0x5ec)]=_0x20e56d;let _0x11f2c8=(0x0,n[_0x18beb0(0x7bc)])(()=>{const _0x29ccfd=_0x18beb0;_0x4e99d1[_0x29ccfd(0x5ec)]!==null&&(cancelAnimationFrame(_0x4e99d1[_0x29ccfd(0x5ec)]),_0x4e99d1[_0x29ccfd(0x5ec)]=null),_0x4e99d1[_0x29ccfd(0x5ec)]=requestAnimationFrame(()=>{const _0x25ac4a=_0x29ccfd;_0x4e99d1[_0x25ac4a(0x5ec)]=null,_0xd8773[_0x25ac4a(0x5ec)](!0x0,!0x0);});},[]),_0x59679f=(0x0,n[_0x18beb0(0x7bc)])(()=>{const _0x967573=_0x18beb0;_0x26f226[_0x967573(0x5ec)]!==null&&(cancelAnimationFrame(_0x26f226[_0x967573(0x5ec)]),_0x26f226[_0x967573(0x5ec)]=null),_0x5a6542[_0x967573(0x5ec)]!==null&&(window[_0x967573(0x601)](_0x5a6542[_0x967573(0x5ec)]),_0x5a6542['current']=null);},[]),_0x494ad1=(0x0,n[_0x18beb0(0x7bc)])(()=>{const _0x5b801f=_0x18beb0;var _0x44713b,_0x5397c8,_0x73627f,_0x346e59,_0x3c1aff,_0x2a9f4a,_0x2ee748,_0x378e88,_0x296f5c;if(!_0x52ee53)return;let _0xb47534=_0x14c974[_0x5b801f(0x5a9)](_0x1c2595);zr(_0xb47534);let _0x3f4ee3=_0xb47534==null?void 0x0:_0xb47534[_0x5b801f(0x1b8)](d[_0x5b801f(0x3f0)]);if(!_0x3f4ee3)return;let _0xe54c6f=_0x3f4ee3['getSkeleton'](),_0x3f13ff=_0x46a7d6(),{renderScaleX:_0x333285,renderScaleY:_0x123d75,scaleAdjust:_0xae5e6d}=_0xcdc300(),_0x4d41b1=_0x13b38a(),_0x43a089=(_0x44713b=_0x4d41b1==null?void 0x0:_0x4d41b1[_0x5b801f(0x214)])==null?o[_0x5b801f(0x7f0)][_0x5b801f(0x267)]:_0x44713b,_0xc03f37=(_0x5397c8=_0x4d41b1==null?void 0x0:_0x4d41b1[_0x5b801f(0x3b0)])==null?o['HorizontalAlign'][_0x5b801f(0x768)]:_0x5397c8,_0x32916d=(_0x73627f=_0x4d41b1==null?void 0x0:_0x4d41b1[_0x5b801f(0x27c)])==null?o['WrapStrategy'][_0x5b801f(0x5b0)]:_0x73627f,_0x4f4661=(_0x346e59=_0x4d41b1==null?void 0x0:_0x4d41b1['autoFitNoWrap'])==null?!0x1:_0x346e59,_0x328220=(_0x3c1aff=_0x14e823())==null?{'left':0x0,'top':0x0,'width':_0x1a95a8/_0x4634fb,'height':_0x516868/_0x36b574}:_0x3c1aff,_0x4a7b56=me({'shapeText':_0x4d41b1==null?void 0x0:_0x4d41b1[_0x5b801f(0x4d9)]}),_0x1dd3d4=_0x3f13ff==null?void 0x0:_0x3f13ff[_0x5b801f(0x6f7)](),_0x30ab3a=tr(_0x1dd3d4),_0x4cf6e6=_0x4a7b56===_0x5b801f(0x23d)?_0x328220['width']:_0x328220[_0x5b801f(0x572)],_0x1ec5d1=_0x4f4661?xr(_0x1dd3d4)+0x2:_0x4cf6e6,_0x30d6f5=br({'autoFitNoWrap':_0x4f4661,'maxAutoFitWidth':_0x1ec5d1,'textRectWidth':_0x4cf6e6}),_0x47138c=!0x1;if(_0x3f13ff){var _0x541575;_0x47138c=Un((_0x541575=_0x3f13ff[_0x5b801f(0x6f7)]()[_0x5b801f(0x68e)])==null||(_0x541575=_0x541575[_0x5b801f(0x407)])==null?void 0x0:_0x541575[_0x5b801f(0x4f5)]),_0x3f13ff[_0x5b801f(0x7cb)](Math[_0x5b801f(0x16d)](_0x333285,_0x123d75)),_0x3f13ff[_0x5b801f(0x39b)]({'marginLeft':0x0,'marginRight':0x0,'marginBottom':0x0,'pageSize':{'width':_0x30d6f5,'height':0x1/0x0}}),_0x3f13ff[_0x5b801f(0x12f)]({'verticalAlign':kr({'opticalVerticalAlign':_0x47138c,'verticalAlign':_0x43a089}),'horizontalAlign':_0xc03f37,'centerAngle':0x0,'vertexAngle':0x0,'wrapStrategy':_0x32916d}),_0x3f13ff[_0x5b801f(0x55e)]({'t':0x0});}(_0x2a9f4a=_0xe54c6f['resetInitialWidth'])==null||_0x2a9f4a[_0x5b801f(0x484)](_0xe54c6f),_0xe54c6f[_0x5b801f(0x7b0)]();let {actualWidth:_0x57c256,actualHeight:_0x2c406b}=_0xe54c6f[_0x5b801f(0x618)](),_0x45bdf1=sr(_0xb47534==null||(_0x2ee748=_0xb47534['with'](f['DocSelectionRenderService']))==null?void 0x0:_0x2ee748[_0x5b801f(0x341)]()),_0x1b9de2=or(Jn(_0xe54c6f,_0x2c406b),_0x45bdf1),_0x390fda=_0x47138c?Yn(_0xe54c6f,_0x328220['height'],_0x43a089):void 0x0,_0x3b317e=Sr({'actualWidth':_0x57c256,'autoFitNoWrap':_0x4f4661,'measuredContentWidth':_0x1ec5d1,'textRectWidth':_0x4cf6e6}),_0x355a75=Dr({'adapter':_0x22eef3,'editingParams':_0x1ccf10}),_0x40d1e6=Nr({'flowAxis':_0x4a7b56,'flowAxisLength':Cr({'actualWidth':_0x57c256,'allowShrink':_0x355a75,'autoFitNoWrap':_0x4f4661,'measuredContentWidth':_0x1ec5d1,'renderedContentWidth':_0x3b317e}),'crossAxisLength':_0x1b9de2}),_0x182574=Ar({'actualHeight':_0x1b9de2,'contentWidth':_0x3b317e,'opticalVerticalOffset':_0x390fda,'scaleX':_0x4634fb,'scaleY':_0x36b574,'textRect':_0x328220,'verticalAlign':_0x43a089}),_0x3953fa=_0x1a95a8/_0x4634fb,_0x44dd2e=_0x516868/_0x36b574,_0x259e52=Mr({'hostWidth':_0x3953fa,'hostHeight':_0x44dd2e,'textRect':_0x328220,'contentWidth':_0x40d1e6[_0x5b801f(0x23d)],'contentHeight':_0x40d1e6[_0x5b801f(0x572)],'allowShrink':_0x355a75}),_0x190600=_0x4d41b1!=null&&_0x4d41b1['isTextBox']&&_0x30ab3a?vr({'isHorizontal':_0x4d41b1['isHorizontal'],'placeholderWidth':yr(_0x1dd3d4==null?_0x5e6468:_0x1dd3d4,_0x6f3615)}):null,_0x3d47f1=Math[_0x5b801f(0x6d2)](Math['max'](_0x259e52[_0x5b801f(0x23d)],(_0x378e88=_0x190600==null?void 0x0:_0x190600[_0x5b801f(0x23d)])==null?0x0:_0x378e88)),_0x50d2e8=Math[_0x5b801f(0x6d2)](Math[_0x5b801f(0x16d)](_0x259e52['height'],(_0x296f5c=_0x190600==null?void 0x0:_0x190600[_0x5b801f(0x572)])==null?0x0:_0x296f5c)),_0x1f02a0=_0x3b38ec[_0x5b801f(0x5ec)],_0x2a3b05=Er({'nextWidth':_0x3d47f1,'nextHeight':_0x50d2e8,'baselineWidth':_0x3953fa,'baselineHeight':_0x44dd2e}),_0x14dcca=Er({'nextWidth':_0x3d47f1,'nextHeight':_0x50d2e8,'baselineWidth':_0x1f02a0[_0x5b801f(0x23d)],'baselineHeight':_0x1f02a0[_0x5b801f(0x572)]}),_0x5a7288=_0x1ccf10&&_0x22eef3[_0x5b801f(0x53e)]&&_0x2a3b05&&_0x14dcca,_0x6afa27=Or({'adapter':_0x22eef3,'editingParams':_0x1ccf10}),_0x534024=Er({'nextWidth':_0x3953fa,'nextHeight':_0x50d2e8,'baselineWidth':_0x3953fa,'baselineHeight':_0x44dd2e}),_0x55391b=Er({'nextWidth':_0x3953fa,'nextHeight':_0x50d2e8,'baselineWidth':_0x3953fa,'baselineHeight':_0x1f02a0['height']}),_0xcc495d=_0x1ccf10&&_0x22eef3['updateHostHeight']&&_0x50d2e8>_0x44dd2e&&_0x50d2e8>_0x1f02a0[_0x5b801f(0x572)]&&_0x534024&&_0x55391b,_0x15abc6=Tr({'autoFitNoWrap':_0x4f4661,'editorWidth':_0x182574[_0x5b801f(0x2f6)],'measurePageWidth':_0x30d6f5,'renderedContentWidth':_0x3b317e,'scaleX':_0x4634fb});if(_0x4100cd({'documentMarginTop':_0x182574[_0x5b801f(0x3ad)]*_0x36b574,'editorLeft':_0x182574[_0x5b801f(0x36e)],'editorTop':_0x182574[_0x5b801f(0x6ee)],'editorWidth':_0x182574['editorWidth'],'editorHeight':_0x182574[_0x5b801f(0x401)],'editorSurfaceWidth':_0x15abc6}),_0x3f13ff){let _0x4a3ef3=wr({'autoFitNoWrap':_0x4f4661,'measurePageWidth':_0x30d6f5,'renderedContentWidth':_0x3b317e,'textRectWidth':_0x4cf6e6});_0x3f13ff[_0x5b801f(0x39b)]({'marginLeft':0x0,'marginRight':0x0,'marginBottom':0x0,'pageSize':{'width':_0x4a3ef3,'height':_0x182574[_0x5b801f(0x27d)]}}),_0x3f13ff[_0x5b801f(0x55e)]({'t':_0x182574[_0x5b801f(0x3ad)]}),_0xe54c6f[_0x5b801f(0x7b0)]();}if(_0xb47534){_0x182574[_0x5b801f(0x2f6)];let _0x313f69=_0x182574[_0x5b801f(0x401)];_0xb47534[_0x5b801f(0x21a)][_0x5b801f(0x4f8)]({'width':_0x15abc6*_0xae5e6d/_0x333285,'height':_0x313f69*_0xae5e6d/_0x123d75,'scaleX':_0x333285*_0xae5e6d,'scaleY':_0x123d75*_0xae5e6d}),_0xb47534[_0x5b801f(0x687)]&&_0xb47534[_0x5b801f(0x687)]['resize'](_0x15abc6*_0xae5e6d/_0x333285,_0x313f69*_0xae5e6d/_0x123d75),Br(_0xb47534);}if(_0x6afa27&&_0x1ccf10&&_0x22eef3[_0x5b801f(0x53e)]){var _0x421415;let _0x5e3fe1={'unitId':_0x1ccf10[_0x5b801f(0x54c)],'subUnitId':_0x1ccf10[_0x5b801f(0x563)],'shapeId':_0x1ccf10[_0x5b801f(0x5ba)],'width':_0x3d47f1,'height':_0x50d2e8};_0x1a7760[_0x5b801f(0x5ec)]=_0x5e3fe1,(_0x421415=_0x22eef3[_0x5b801f(0x4f0)])==null||_0x421415[_0x5b801f(0x484)](_0x22eef3,_0x5e3fe1);}if(_0x5a7288&&_0x1ccf10&&_0x22eef3[_0x5b801f(0x53e)]){if(_0x6afa27)return;_0x1a7760[_0x5b801f(0x5ec)]=null,_0x3b38ec[_0x5b801f(0x5ec)]={'width':_0x3d47f1,'height':_0x50d2e8},_0x22eef3['updateHostSize']({'unitId':_0x1ccf10[_0x5b801f(0x54c)],'subUnitId':_0x1ccf10[_0x5b801f(0x563)],'shapeId':_0x1ccf10[_0x5b801f(0x5ba)],'width':_0x3d47f1,'height':_0x50d2e8}),_0x11f2c8();}else{if(_0xcc495d&&_0x1ccf10&&_0x22eef3[_0x5b801f(0x31d)]){if(_0x6afa27)return;_0x1a7760[_0x5b801f(0x5ec)]=null,_0x3b38ec[_0x5b801f(0x5ec)]={'width':_0x3953fa,'height':_0x50d2e8},_0x22eef3[_0x5b801f(0x31d)]({'unitId':_0x1ccf10[_0x5b801f(0x54c)],'subUnitId':_0x1ccf10[_0x5b801f(0x563)],'shapeId':_0x1ccf10['shapeId'],'height':_0x50d2e8}),_0x11f2c8();}}},[_0x52ee53,_0x22eef3,_0x1ccf10,_0x14c974,_0x46a7d6,_0xcdc300,_0x13b38a,_0x14e823,_0x1a95a8,_0x516868,_0x4634fb,_0x36b574,_0x5e6468,_0x6f3615,_0x11f2c8,_0x4100cd]);_0xd153dd[_0x18beb0(0x5ec)]=_0x494ad1;let _0x4b777e=(0x0,n[_0x18beb0(0x7bc)])((_0x22ffda=!0x1)=>{const _0xd45f85=_0x18beb0;_0x59679f(),_0x26f226[_0xd45f85(0x5ec)]=requestAnimationFrame(()=>{const _0x2c4e36=_0xd45f85;_0x494ad1(),_0x22ffda&&_0x20e56d(!0x1),_0x26f226['current']=null,_0x5a6542[_0x2c4e36(0x5ec)]=window[_0x2c4e36(0x6f9)](()=>{const _0x5a67e4=_0x2c4e36;_0x494ad1(),_0x22ffda&&_0x20e56d(!0x1),_0x5a6542[_0x5a67e4(0x5ec)]=null;},0x14);});},[_0x494ad1,_0x59679f,_0x20e56d]);_0x3c528c[_0x18beb0(0x5ec)]=_0x4b777e,(0x0,n[_0x18beb0(0x69d)])(()=>{const _0x1eb53e=_0x18beb0;if(!(_0x1ccf10!=null&&_0x1ccf10[_0x1eb53e(0x3cf)])||!_0x52ee53)return;let _0x3569c4=!0x1,_0x53b261=_0x3acb8b[_0x1eb53e(0x50c)][_0x1eb53e(0x4bb)](_0x39a603=>{if(!_0x3569c4){_0x3569c4=!0x0;return;}!_0x39a603||_0x39a603['unitId']!==_0x1c2595||_0x39a603['isSync']||(_0x3e744f(tr(Lr(_0x52ee53))),_0x3c528c['current'](!0x1));});return()=>{const _0x5381bc=_0x1eb53e;_0x53b261[_0x5381bc(0x545)]();};},[_0x3acb8b,_0x52ee53,_0x1c2595,_0x1ccf10==null?void 0x0:_0x1ccf10[_0x18beb0(0x5ba)],_0x1ccf10==null?void 0x0:_0x1ccf10['shapeKey'],_0x1ccf10==null?void 0x0:_0x1ccf10[_0x18beb0(0x563)],_0x1ccf10==null?void 0x0:_0x1ccf10[_0x18beb0(0x54c)],_0x1ccf10==null?void 0x0:_0x1ccf10[_0x18beb0(0x3cf)]]);let _0x3fe706=(0x0,n[_0x18beb0(0x7bc)])(()=>{const _0x181cd5=_0x18beb0;_0x59679f(),_0xd153dd[_0x181cd5(0x5ec)]();},[_0x59679f]);(0x0,n[_0x18beb0(0x69d)])(()=>{const _0x39d61a=_0x18beb0;if(!_0x52ee53||!_0x1ccf10)return;let {shapeId:_0x22e2dc,unitId:_0x48f84d}=_0x1ccf10;if(_0x47f2ce){var _0xa9fa5e,_0x1e08ce,_0x3ffdbf,_0x3f9834,_0x7734e1,_0xa42b77,_0x6c097b,_0x34bd2b;let _0x3efc7e=_0x13b38a(),_0x45f2cc=Lr(_0x52ee53);if(!_0x45f2cc)return;let _0x34e975=(_0xa9fa5e=(_0x1e08ce=_0x3efc7e==null?void 0x0:_0x3efc7e[_0x39d61a(0x214)])==null?(_0x3ffdbf=_0xccbb94['current'])==null?void 0x0:_0x3ffdbf['va']:_0x1e08ce)==null?o[_0x39d61a(0x7f0)][_0x39d61a(0x267)]:_0xa9fa5e,{horizontalAlign:_0x4e555f,verticalAlign:_0x4b20a4}=ln(_0x45f2cc,{'verticalAlign':_0x34e975,'horizontalAlign':(_0x3f9834=(_0x7734e1=_0x3efc7e==null?void 0x0:_0x3efc7e[_0x39d61a(0x3b0)])==null?(_0xa42b77=_0xccbb94[_0x39d61a(0x5ec)])==null?void 0x0:_0xa42b77['ha']:_0x7734e1)==null?o[_0x39d61a(0x337)][_0x39d61a(0x768)]:_0x3f9834}),_0x27e355=Un((_0x6c097b=_0x45f2cc['documentStyle'])==null||(_0x6c097b=_0x6c097b['renderConfig'])==null?void 0x0:_0x6c097b['shapeTextOpticalVerticalAlign'])?_0x34e975:_0x4b20a4,_0x56250d={'va':_0x27e355,'ha':_0x4e555f,'doc':_n(_0x45f2cc,{'bodyBehavior':_0x3efc7e==null?void 0x0:_0x3efc7e[_0x39d61a(0x61a)],'verticalAlign':_0x27e355,'horizontalAlign':_0x4e555f})};_0x3fe706();let _0x279fc0=_0x53f5cf();_0x22eef3['updateShapeText']({'unitId':_0x48f84d,'subUnitId':_0x1ccf10[_0x39d61a(0x563)],'shapeId':_0x22e2dc,'shapeText':gr({'shapeText':_0x3efc7e==null?void 0x0:_0x3efc7e[_0x39d61a(0x4d9)],'isHorizontal':_0x3efc7e==null?void 0x0:_0x3efc7e['isHorizontal'],'dataModel':_0x56250d}),'oldShapeText':gr({'shapeText':_0x3efc7e==null?void 0x0:_0x3efc7e['shapeText'],'isHorizontal':_0x3efc7e==null?void 0x0:_0x3efc7e['isHorizontal'],'dataModel':(_0x34bd2b=_0xccbb94[_0x39d61a(0x5ec)])==null?void 0x0:_0x34bd2b}),..._0x279fc0?{'hostSize':_0x279fc0}:null}),_0x3d6822[_0x39d61a(0x2a7)](null);return;}let _0x38d4d0=_0x13b38a();if(_0x38d4d0!=null&&_0x38d4d0['doc']){_0xccbb94[_0x39d61a(0x5ec)]={'va':_0x38d4d0[_0x39d61a(0x214)],'ha':_0x38d4d0['horizontalAlign'],'doc':vn(_0x38d4d0[_0x39d61a(0x724)])};let _0x439eab=hn(_0x38d4d0[_0x39d61a(0x724)],{'bodyBehavior':_0x38d4d0[_0x39d61a(0x61a)],'isHorizontal':_0x38d4d0['isHorizontal'],'textRect':_0x38d4d0[_0x39d61a(0x65d)],'verticalAlign':_0x38d4d0[_0x39d61a(0x214)],'horizontalAlign':_0x38d4d0[_0x39d61a(0x3b0)],'wrapStrategy':_0x38d4d0['wrapStrategy']});return Ir(_0x52ee53,_0x439eab,null),_0x3e744f(tr(_0x439eab)),()=>{const _0x19f08d=_0x39d61a;var _0x1abe8e,_0x1770b4,_0x50ec2a,_0x5d1c78,_0x1c1886,_0x3129e2,_0x20a8de,_0x5e77b5;if(_0x4fd427['current'])return;let _0x2d22d6=_0x13b38a(),_0x5c351c=Lr(_0x52ee53);if(!_0x5c351c)return;let _0x76cf75=(_0x1abe8e=(_0x1770b4=_0x2d22d6==null?void 0x0:_0x2d22d6[_0x19f08d(0x214)])==null?(_0x50ec2a=_0xccbb94[_0x19f08d(0x5ec)])==null?void 0x0:_0x50ec2a['va']:_0x1770b4)==null?o[_0x19f08d(0x7f0)][_0x19f08d(0x267)]:_0x1abe8e,{horizontalAlign:_0x19041b,verticalAlign:_0xd7c1f}=ln(_0x5c351c,{'verticalAlign':_0x76cf75,'horizontalAlign':(_0x5d1c78=(_0x1c1886=_0x2d22d6==null?void 0x0:_0x2d22d6[_0x19f08d(0x3b0)])==null?(_0x3129e2=_0xccbb94['current'])==null?void 0x0:_0x3129e2['ha']:_0x1c1886)==null?o[_0x19f08d(0x337)]['LEFT']:_0x5d1c78}),_0x1aa3a0=Un((_0x20a8de=_0x5c351c[_0x19f08d(0x68e)])==null||(_0x20a8de=_0x20a8de['renderConfig'])==null?void 0x0:_0x20a8de[_0x19f08d(0x4f5)])?_0x76cf75:_0xd7c1f,_0x599e46={'va':_0x1aa3a0,'ha':_0x19041b,'doc':_n(_0x5c351c,{'bodyBehavior':_0x2d22d6==null?void 0x0:_0x2d22d6[_0x19f08d(0x61a)],'verticalAlign':_0x1aa3a0,'horizontalAlign':_0x19041b})};_0x3fe706();let _0x162303=_0x53f5cf();_0x22eef3[_0x19f08d(0x5a4)]({'unitId':_0x48f84d,'subUnitId':_0x1ccf10[_0x19f08d(0x563)],'shapeId':_0x22e2dc,'shapeText':gr({'shapeText':_0x2d22d6==null?void 0x0:_0x2d22d6[_0x19f08d(0x4d9)],'isHorizontal':_0x2d22d6==null?void 0x0:_0x2d22d6['isHorizontal'],'dataModel':_0x599e46}),'oldShapeText':gr({'shapeText':_0x2d22d6==null?void 0x0:_0x2d22d6['shapeText'],'isHorizontal':_0x2d22d6==null?void 0x0:_0x2d22d6[_0x19f08d(0x589)],'dataModel':(_0x5e77b5=_0xccbb94[_0x19f08d(0x5ec)])==null?void 0x0:_0x5e77b5}),..._0x162303?{'hostSize':_0x162303}:null});};}else Ir(_0x52ee53,_0x5e6468,null),_0x3e744f(tr(_0x5e6468));},[_0x52ee53,_0x1ccf10,_0x47f2ce]);let _0x47a691=pr({'editorUnitId':_0x1c2595,'editingParams':_0x1ccf10});(0x0,n[_0x18beb0(0x69d)])(()=>{const _0xfafbda=_0x18beb0;if(!(!_0x52ee53||!_0x47a691||!(_0x1ccf10!=null&&_0x1ccf10[_0xfafbda(0x3cf)])))return _0x5e386f[_0xfafbda(0x24d)](!0x0),_0xd153dd[_0xfafbda(0x5ec)](),_0x23c5c1[_0xfafbda(0x5ec)]=requestAnimationFrame(()=>{const _0x1198f6=_0xfafbda;_0x5e386f[_0x1198f6(0x73b)](_0x1c2595),_0xd8773[_0x1198f6(0x5ec)](!0x0,!0x0),_0x52ee53[_0x1198f6(0x73b)](),_0x3c528c[_0x1198f6(0x5ec)](),_0x23c5c1[_0x1198f6(0x5ec)]=null;}),()=>{const _0x41a426=_0xfafbda;_0x23c5c1[_0x41a426(0x5ec)]!==null&&(cancelAnimationFrame(_0x23c5c1[_0x41a426(0x5ec)]),_0x23c5c1[_0x41a426(0x5ec)]=null),_0x4e99d1[_0x41a426(0x5ec)]!==null&&(cancelAnimationFrame(_0x4e99d1[_0x41a426(0x5ec)]),_0x4e99d1['current']=null),_0x59679f(),_0x5e386f['blur'](!0x0);};},[_0x52ee53,_0x5e386f,_0x1c2595,_0x47a691,_0x1ccf10==null?void 0x0:_0x1ccf10[_0x18beb0(0x3cf)],_0x59679f]),(0x0,n[_0x18beb0(0x69d)])(()=>{const _0x1c87e4=_0x18beb0;if(!_0x52ee53)return;let _0x12d350=_0x4853d8[_0x1c87e4(0x65b)](_0x1fedc1=>{const _0x55735c=_0x1c87e4;_0x1fedc1['id']===d[_0x55735c(0x5da)]['id']&&_0x1fedc1['params'][_0x55735c(0x54c)]===_0x1c2595&&_0x1ccf10&&(_0x1ccf10[_0x55735c(0x3cf)]?(_0x494ad1(),_0x4b777e()):_0x3d6822[_0x55735c(0x2a7)]({..._0x1ccf10,'visible':!0x0})),_0x44e457&&_0x1fedc1['id']===_0x44e457&&_0x4b777e(!0x0);});return()=>{const _0x236a64=_0x1c87e4;_0x12d350[_0x236a64(0x345)]();};},[_0x52ee53,_0x494ad1,_0x1ccf10,_0x4b777e,_0x3d6822,_0x1c2595,_0x44e457]),(0x0,n[_0x18beb0(0x69d)])(()=>(_0x494ad1(),_0x4b777e(),()=>{_0x59679f();}),[_0x494ad1,_0x4b777e,_0x59679f]);let _0x7c08c5=(0x0,n[_0x18beb0(0x7e0)])(()=>{const _0x563277=_0x18beb0;var _0x59afb7,_0x501970;let _0x184293=(_0x59afb7=_0x4c7725['editorSurfaceWidth'])==null?_0x4c7725[_0x563277(0x2f6)]:_0x59afb7;return{...Pr(_0x4c7725[_0x563277(0x36e)],_0x4c7725['editorTop'],_0x184293,Math[_0x563277(0x16d)](0x1,_0x4c7725[_0x563277(0x401)])),..._0x1ccf10?(_0x501970=_0x22eef3[_0x563277(0x5cf)])==null?void 0x0:_0x501970[_0x563277(0x484)](_0x22eef3,_0x1ccf10):void 0x0};},[_0x22eef3,_0x1ccf10,_0x4c7725['editorHeight'],_0x4c7725['editorLeft'],_0x4c7725[_0x18beb0(0x2d5)],_0x4c7725['editorTop'],_0x4c7725[_0x18beb0(0x2f6)]]),_0x78e10e=(0x0,n['useMemo'])(()=>{const _0x40a49a=_0x18beb0;let _0x58e29d=_0x13b38a(),_0x417ac6=_0x58e29d==null?void 0x0:_0x58e29d[_0x40a49a(0x595)];return _0x417ac6&&_0x417ac6||{'angle':0x0,'flipX':!0x1,'flipY':!0x1};},[_0x13b38a]),_0x4a63b6=(0x0,n[_0x18beb0(0x7e0)])(()=>{const _0x5876f1=_0x18beb0;var _0x3f094f,_0x2d3061;return jr({'documentMarginTop':_0x4c7725['documentMarginTop'],'editorLeft':_0x4c7725[_0x5876f1(0x36e)],'editorSurfaceWidth':_0x4c7725['editorSurfaceWidth'],'editorTop':_0x4c7725[_0x5876f1(0x6ee)],'editorWidth':_0x4c7725[_0x5876f1(0x2f6)],'horizontalAlign':(_0x3f094f=(_0x2d3061=_0x13b38a())==null?void 0x0:_0x2d3061[_0x5876f1(0x3b0)])==null?o[_0x5876f1(0x337)][_0x5876f1(0x768)]:_0x3f094f});},[_0x13b38a,_0x4c7725]);return(0x0,r['jsxs'])(_0x18beb0(0x58a),{'ref':_0x951d11,'data-u-comp':_0x18beb0(0x51a),'className':_0x18beb0(0x69f),'style':{'transform':_0x18beb0(0x3f9)+_0x78e10e['angle']+'deg)\x20scaleY('+(_0x78e10e[_0x18beb0(0x298)]?-0x1:0x1)+')'},'children':[(0x0,r[_0x18beb0(0x6f1)])(_0x18beb0(0x58a),{'ref':_0x2ef7e8,'className':_0x18beb0(0x353),'data-u-comp':_0x18beb0(0x564),'style':_0x7c08c5,'data-editorid':_0x1c2595}),(_0x1ccf10==null?void 0x0:_0x1ccf10[_0x18beb0(0x3cf)])&&_0x9e06d3&&(0x0,r[_0x18beb0(0x6f1)])('div',{'aria-hidden':_0x18beb0(0x5d0),'className':_0x18beb0(0x3af),'data-u-comp':_0x18beb0(0x28a),'style':{..._0x4a63b6,'fontSize':_0x19c6d1==null?0xe:_0x19c6d1,'lineHeight':1.5},'children':_0x6f3615})]});};function Ur(_0x364602,_0x56355e){const _0x3346a9=_0x13379c;return Math[_0x3346a9(0x495)](_0x364602-_0x56355e)<=0.001;}function Wr(_0xf04cd1,_0x4e9c6f){const _0x291c3e=_0x13379c;return Ur(_0xf04cd1[_0x291c3e(0x3ff)],_0x4e9c6f[_0x291c3e(0x3ff)])&&Ur(_0xf04cd1[_0x291c3e(0x332)],_0x4e9c6f['top'])&&Ur(_0xf04cd1['width'],_0x4e9c6f[_0x291c3e(0x23d)])&&Ur(_0xf04cd1[_0x291c3e(0x572)],_0x4e9c6f[_0x291c3e(0x572)])&&Ur(_0xf04cd1['angle'],_0x4e9c6f[_0x291c3e(0x1c1)])&&Ur(_0xf04cd1[_0x291c3e(0x1c2)],_0x4e9c6f[_0x291c3e(0x1c2)])&&Ur(_0xf04cd1['scaleY'],_0x4e9c6f[_0x291c3e(0x692)]);}function Gr(_0x165d7e,_0x44ba70){const _0x408363=_0x13379c;return _0x44ba70?{..._0x165d7e,'left':_0x165d7e[_0x408363(0x3ff)]+_0x44ba70[_0x408363(0x3ff)],'top':_0x165d7e[_0x408363(0x332)]+_0x44ba70['top']}:_0x165d7e;}const Kr={'left':-0x270f,'top':-0x270f,'width':0x64,'height':0x64,'angle':0x0,'scaleX':0x1,'scaleY':0x1};function qr(_0x242bdc,_0x2b1da8,_0x4bc363,_0x56d375,_0xdb50f0){const _0xa85544=_0x13379c;let {scaleX:_0x2d71bc,scaleY:_0x43a94d}=_0x4bc363['getAncestorScale'](),{startColumn:_0x3990f1,startRow:_0x25db6b,xSplit:_0x113fa,ySplit:_0x4c2592}=_0x56d375[_0xa85544(0x576)][_0xa85544(0x6ca)](),_0x1a1ed1=_0x4bc363[_0xa85544(0x5b1)](_0xdb50f0[_0xa85544(0x246)]),_0x5c12d8=_0x4bc363['getViewport'](_0xdb50f0[_0xa85544(0x76c)]),_0x1628aa=_0x4bc363[_0xa85544(0x5b1)](_0xdb50f0[_0xa85544(0x332)]),_0x405e17=_0x4bc363[_0xa85544(0x5b1)](_0xdb50f0[_0xa85544(0x3ff)]),{rowHeaderWidth:_0x4274d9,columnHeaderHeight:_0x13debe}=_0x56d375,_0x1b111d=_0x56d375[_0xa85544(0x6bb)](_0x25db6b)+_0x13debe,_0x2975c8=_0x56d375[_0xa85544(0x244)](_0x3990f1)+_0x4274d9,_0x16764c=_0x56d375[_0xa85544(0x6bb)](_0x25db6b-_0x4c2592)+_0x13debe,_0x136caa=_0x56d375[_0xa85544(0x244)](_0x3990f1-_0x113fa)+_0x4274d9,_0x32c7b9=[],_0x136ea4=(_0x199d92,_0x2ef7d0,_0x3f1905)=>{if(!_0x199d92)return null;let {viewportScrollX:_0x31cac3,viewportScrollY:_0x770106}=_0x199d92,_0xf8838,_0x21c160;return _0xf8838=_0x2ef7d0?(_0x242bdc-(_0x136caa-_0x4274d9))*_0x2d71bc:(_0x242bdc-_0x31cac3)*_0x2d71bc,_0x21c160=_0x3f1905?(_0x2b1da8-(_0x16764c-_0x13debe))*_0x43a94d:(_0x2b1da8-_0x770106)*_0x43a94d,{'domX':_0xf8838,'domY':_0x21c160};},_0x1b7952=_0x242bdc<_0x2975c8&&_0x113fa>0x0,_0x3c5ce8=_0x2b1da8<_0x1b111d&&_0x4c2592>0x0,_0x5e3c6f=_0x242bdc>=_0x2975c8||_0x113fa===0x0,_0x40160b=_0x2b1da8>=_0x1b111d||_0x4c2592===0x0;if(_0x1b7952&&_0x3c5ce8&&_0x5c12d8){let _0x1b58c3=_0x136ea4(_0x5c12d8,!0x0,!0x0);_0x1b58c3&&_0x32c7b9['push'](_0x1b58c3);}if(_0x3c5ce8&&_0x5e3c6f&&_0x1628aa){let _0x451683=_0x136ea4(_0x1628aa,!0x1,!0x0);_0x451683&&_0x32c7b9[_0xa85544(0x524)](_0x451683);}if(_0x1b7952&&_0x40160b&&_0x405e17){let _0x191d1e=_0x136ea4(_0x405e17,!0x0,!0x1);_0x191d1e&&_0x32c7b9[_0xa85544(0x524)](_0x191d1e);}if(_0x5e3c6f&&_0x40160b&&_0x1a1ed1){let _0x18295d=_0x136ea4(_0x1a1ed1,!0x1,!0x1);_0x18295d&&_0x32c7b9[_0xa85544(0x524)](_0x18295d);}if(_0x32c7b9['length']===0x0){var _0xcf3cd5,_0x4d1ef4;return{'domX':(_0x242bdc-((_0xcf3cd5=_0x1a1ed1==null?void 0x0:_0x1a1ed1[_0xa85544(0x1d5)])==null?0x0:_0xcf3cd5))*_0x2d71bc,'domY':(_0x2b1da8-((_0x4d1ef4=_0x1a1ed1==null?void 0x0:_0x1a1ed1['viewportScrollY'])==null?0x0:_0x4d1ef4))*_0x43a94d};}let _0x106561=_0x32c7b9[0x0][_0xa85544(0x1c9)],_0x4e8e81=_0x32c7b9[0x0]['domY'];for(let _0x415da3 of _0x32c7b9)_0x415da3[_0xa85544(0x1c9)]>_0x106561&&(_0x106561=_0x415da3[_0xa85544(0x1c9)]),_0x415da3[_0xa85544(0x164)]>_0x4e8e81&&(_0x4e8e81=_0x415da3['domY']);return{'domX':_0x106561,'domY':_0x4e8e81};}function Jr(_0xfbefc3,_0x1055f4,_0xdc0547,_0x1e9652,_0x2a4b47,_0x29b0ff,_0x3f9a4f,_0xa49563){const _0x542e6a=_0x13379c;let {scaleX:_0x2c18e5,scaleY:_0x3a30d4}=_0x29b0ff[_0x542e6a(0x34b)]();if(!_0xa49563||!_0x3f9a4f[_0x542e6a(0x76c)]||!_0x3f9a4f['top']||!_0x3f9a4f[_0x542e6a(0x3ff)]){var _0x29ffc5,_0x214601;let _0x45c466=_0x29b0ff[_0x542e6a(0x5b1)](_0x3f9a4f[_0x542e6a(0x246)]),_0x367700=(_0x29ffc5=_0x45c466==null?void 0x0:_0x45c466['viewportScrollX'])==null?0x0:_0x29ffc5,_0x5f9352=(_0x214601=_0x45c466==null?void 0x0:_0x45c466['viewportScrollY'])==null?0x0:_0x214601;return{'left':(_0xfbefc3-_0x367700)*_0x2c18e5,'top':(_0x1055f4-_0x5f9352)*_0x3a30d4,'width':_0xdc0547*_0x2c18e5,'height':_0x1e9652*_0x3a30d4,'angle':_0x2a4b47,'scaleX':_0x2c18e5,'scaleY':_0x3a30d4};}let {domX:_0x5c07b0,domY:_0x54d2a2}=qr(_0xfbefc3,_0x1055f4,_0x29b0ff,_0xa49563,_0x3f9a4f);return{'left':_0x5c07b0,'top':_0x54d2a2,'width':_0xdc0547*_0x2c18e5,'height':_0x1e9652*_0x3a30d4,'angle':_0x2a4b47,'scaleX':_0x2c18e5,'scaleY':_0x3a30d4};}function Yr(_0x314415){const _0x36d29d=_0x13379c;let {editingParams:_0x4f9c23,scene:_0x386831,skeleton:_0x5a8dbf,viewportKeys:_0x414463,getShapeTransform:_0x451cf4,getPositionOffset:_0x5c872a}=_0x314415,[_0xf60891,_0x49fb13]=(0x0,n[_0x36d29d(0x659)])(Kr),_0xb389ec=(0x0,n['useRef'])(_0xf60891);_0xb389ec[_0x36d29d(0x5ec)]=_0xf60891;let _0x21f87b=(0x0,n[_0x36d29d(0x7bc)])(()=>{const _0x266cdc=_0x36d29d;var _0x5ca484;if(!_0x4f9c23||!_0x386831){Wr(_0xb389ec[_0x266cdc(0x5ec)],Kr)||_0x49fb13(Kr);return;}let _0x302353=_0x451cf4();if(!_0x302353){Wr(_0xb389ec['current'],Kr)||_0x49fb13(Kr);return;}let {left:_0x1f421f,top:_0xbf52d2,width:_0x55702d,height:_0xf012aa,angle:_0x406254}=_0x302353;if(!_0x4f9c23[_0x266cdc(0x3cf)]){let {scaleX:_0x5c5bdb,scaleY:_0x1c8694}=_0x386831['getAncestorScale'](),_0x56aaea={'left':-0x270f,'top':-0x270f,'width':_0x55702d*_0x5c5bdb,'height':_0xf012aa*_0x1c8694,'angle':0x0,'scaleX':_0x5c5bdb,'scaleY':_0x1c8694};_0x49fb13(_0x46f350=>Wr(_0x46f350,_0x56aaea)?_0x46f350:_0x56aaea);return;}let _0x4d146a=Gr(Jr(_0x1f421f,_0xbf52d2,_0x55702d,_0xf012aa,_0x406254,_0x386831,_0x414463,_0x5a8dbf),(_0x5ca484=_0x5c872a==null?void 0x0:_0x5c872a())==null?null:_0x5ca484);_0x49fb13(_0x59e1a1=>Wr(_0x59e1a1,_0x4d146a)?_0x59e1a1:_0x4d146a);},[_0x4f9c23,_0x386831,_0x5a8dbf,_0x414463,_0x451cf4,_0x5c872a]);return(0x0,n[_0x36d29d(0x69d)])(()=>{_0x21f87b();},[_0x4f9c23,_0x21f87b]),{'position':_0xf60891,'updatePosition':_0x21f87b};}function Xr(_0x7b45a,_0x2dfd5){const _0x1f7690=_0x13379c;return!!(_0x7b45a!=null&&_0x7b45a[_0x1f7690(0x3cf)])&&!(_0x2dfd5['left']===-0x270f&&_0x2dfd5[_0x1f7690(0x332)]===-0x270f);}function Zr(_0x424c56){const _0x418f24=_0x13379c;if(!_0x424c56||typeof _0x424c56!=_0x418f24(0x7dc))return!0x1;let _0x2fdebe=_0x424c56;return typeof _0x2fdebe['left']==_0x418f24(0x40e)&&typeof _0x2fdebe[_0x418f24(0x332)]==_0x418f24(0x40e)&&typeof _0x2fdebe[_0x418f24(0x23d)]=='number'&&typeof _0x2fdebe[_0x418f24(0x572)]=='number';}function Qr(_0x3c2467,_0x4e840b){const _0x42090f=_0x13379c;var _0x50502f,_0x45ad46;let _0x107e3c=(_0x50502f=_0x3c2467[_0x42090f(0x587)](_0x4e840b))==null?(_0x45ad46=_0x3c2467[_0x42090f(0x378)])==null?void 0x0:_0x45ad46[_0x42090f(0x484)](_0x3c2467,_0x4e840b):_0x50502f;return Zr(_0x107e3c)?_0x107e3c:null;}function $r(_0x2b1466,_0x430471){const _0x23d6b4=_0x13379c;return _0x2b1466['clientX']>=_0x430471[_0x23d6b4(0x3ff)]&&_0x2b1466['clientX']<=_0x430471[_0x23d6b4(0x1e0)]&&_0x2b1466['clientY']>=_0x430471[_0x23d6b4(0x332)]&&_0x2b1466[_0x23d6b4(0x6e2)]<=_0x430471[_0x23d6b4(0x392)];}function ei(_0x35b5e5,_0x5174b6){const _0x37138e=_0x13379c;if(!(_0x35b5e5 instanceof Node))return!0x1;let _0x39ad6e=_0x5174b6==null?void 0x0:_0x5174b6[_0x37138e(0x542)](_0x37138e(0x1a0));return!!(_0x39ad6e!=null&&_0x39ad6e[_0x37138e(0x5b8)](_0x35b5e5));}function ti(_0x5025c3){const _0xcff2ef=_0x13379c;let _0x773621=_0x5025c3['nativeEvent'],_0x210d34={'bubbles':!0x0,'cancelable':!0x0,'composed':!0x0,'view':window,'detail':_0x773621[_0xcff2ef(0x4bf)],'screenX':_0x773621[_0xcff2ef(0x21c)],'screenY':_0x773621[_0xcff2ef(0x3a8)],'clientX':_0x773621['clientX'],'clientY':_0x773621[_0xcff2ef(0x6e2)],'ctrlKey':_0x773621['ctrlKey'],'shiftKey':_0x773621[_0xcff2ef(0x3a3)],'altKey':_0x773621[_0xcff2ef(0x784)],'metaKey':_0x773621[_0xcff2ef(0x256)],'button':_0x773621['button'],'buttons':_0x773621[_0xcff2ef(0x5f4)],'relatedTarget':_0x773621['relatedTarget']};return typeof PointerEvent<'u'&&_0x773621 instanceof PointerEvent?new PointerEvent(_0x773621['type'],{..._0x210d34,'pointerId':_0x773621[_0xcff2ef(0x411)],'width':_0x773621['width'],'height':_0x773621[_0xcff2ef(0x572)],'pressure':_0x773621[_0xcff2ef(0x765)],'tangentialPressure':_0x773621[_0xcff2ef(0x607)],'tiltX':_0x773621[_0xcff2ef(0x3c5)],'tiltY':_0x773621[_0xcff2ef(0x690)],'twist':_0x773621[_0xcff2ef(0x4af)],'pointerType':_0x773621['pointerType'],'isPrimary':_0x773621['isPrimary']}):new MouseEvent(_0x773621[_0xcff2ef(0x1e6)],_0x210d34);}function ni(_0x521a02){const _0x54301e=_0x13379c;let _0x3db4f1=_0x521a02[_0x54301e(0x6d9)][_0x54301e(0x5ad)],_0x4533f3=!0x1,_0x28d3cb=null,_0x3476d=()=>{const _0x1e3dbf=_0x54301e;_0x4533f3||(_0x4533f3=!0x0,_0x521a02[_0x1e3dbf(0x6d9)][_0x1e3dbf(0x5ad)]=_0x3db4f1,document[_0x1e3dbf(0x200)](_0x1e3dbf(0x465),_0x3476d,!0x0),document[_0x1e3dbf(0x200)](_0x1e3dbf(0x464),_0x3476d,!0x0),document['removeEventListener'](_0x1e3dbf(0x140),_0x3476d,!0x0),document[_0x1e3dbf(0x200)](_0x1e3dbf(0x653),_0x3476d,!0x0),_0x28d3cb!==null&&window['clearTimeout'](_0x28d3cb));};return _0x521a02['style']['pointerEvents']=_0x54301e(0x53d),document['addEventListener']('pointerup',_0x3476d,!0x0),document[_0x54301e(0x3f2)](_0x54301e(0x464),_0x3476d,!0x0),document[_0x54301e(0x3f2)]('mouseup',_0x3476d,!0x0),document[_0x54301e(0x3f2)](_0x54301e(0x653),_0x3476d,!0x0),_0x28d3cb=window[_0x54301e(0x6f9)](_0x3476d,0x3e8),_0x3476d;}function ri(_0xcd9c74,_0x5c0790){const _0x30ca6a=_0x13379c;let _0x304f4e=ni(_0x5c0790),_0x3bf7a1=document[_0x30ca6a(0x696)](_0xcd9c74['clientX'],_0xcd9c74[_0x30ca6a(0x6e2)]);return!_0x3bf7a1||_0x3bf7a1===_0x5c0790||_0x5c0790[_0x30ca6a(0x5b8)](_0x3bf7a1)?(_0x304f4e(),!0x1):(_0xcd9c74['preventDefault'](),_0xcd9c74[_0x30ca6a(0x6f5)](),_0x3bf7a1[_0x30ca6a(0x49b)](ti(_0xcd9c74)),!0x0);}function ii(_0x54158e){const _0x2ebf7e=_0x13379c;var _0x355f87;let {editingParams:_0x392ed6,positionOptions:_0xb67ccf,renderUnit:_0x3bec4c,scene:_0x2976a8}=_0x54158e;if(!_0x392ed6)return null;let _0x51999b=_0x3bec4c?(_0x355f87=_0xb67ccf[_0x2ebf7e(0x2e8)])==null?void 0x0:_0x355f87[_0x2ebf7e(0x484)](_0xb67ccf,_0x3bec4c,_0x392ed6):null;if(Zr(_0x51999b)){var _0x35012b;return{'left':_0x51999b[_0x2ebf7e(0x3ff)],'top':_0x51999b[_0x2ebf7e(0x332)],'width':_0x51999b[_0x2ebf7e(0x23d)],'height':_0x51999b[_0x2ebf7e(0x572)],'angle':(_0x35012b=_0x51999b[_0x2ebf7e(0x1c1)])==null?0x0:_0x35012b};}return _0x2976a8?Qr(_0x2976a8,_0x392ed6[_0x2ebf7e(0x5ac)]):null;}const ai=(0x0,n[_0x13379c(0x6e9)])(_0x2411c6=>{const _0x59b138=_0x13379c;let {children:_0x1a45a8,editingParams:_0x5d9322,positionOptions:_0x2c6af2,onPositionUpdate:_0x24f941}=_0x2411c6,_0x40e48f=(0x0,n[_0x59b138(0x216)])(null),_0x1e8a89=(0x0,s[_0x59b138(0x24f)])(m['IRenderManagerService']),_0x16bca5=(0x0,n[_0x59b138(0x7e0)])(()=>_0x5d9322?_0x1e8a89[_0x59b138(0x5a9)](_0x5d9322[_0x59b138(0x54c)]):null,[_0x5d9322,_0x1e8a89]),_0x2f49d3=(0x0,n['useMemo'])(()=>{const _0x1bc15b=_0x59b138;var _0x3feb3c;return(_0x3feb3c=_0x16bca5==null?void 0x0:_0x16bca5[_0x1bc15b(0x21a)])==null?null:_0x3feb3c;},[_0x16bca5]),_0x44dbde=(0x0,n[_0x59b138(0x7e0)])(()=>!_0x5d9322||!_0x16bca5||!_0x2c6af2[_0x59b138(0x3a4)]?null:_0x2c6af2[_0x59b138(0x3a4)](_0x16bca5,_0x5d9322),[_0x5d9322,_0x2c6af2,_0x16bca5]),_0x29420c=(0x0,n[_0x59b138(0x7bc)])(()=>{const _0x170e3c=_0x59b138;var _0x3a5a0b;let _0x1cd32c=ii({'editingParams':_0x5d9322,'positionOptions':_0x2c6af2,'renderUnit':_0x16bca5,'scene':_0x2f49d3});return _0x1cd32c?{'left':_0x1cd32c[_0x170e3c(0x3ff)],'top':_0x1cd32c['top'],'width':_0x1cd32c['width'],'height':_0x1cd32c[_0x170e3c(0x572)],'angle':(_0x3a5a0b=_0x1cd32c['angle'])==null?0x0:_0x3a5a0b}:null;},[_0x5d9322,_0x2c6af2,_0x16bca5,_0x2f49d3]),_0x3cf3b1=(0x0,n['useCallback'])(()=>{const _0x2fc018=_0x59b138;var _0x5768f5,_0x5c9ed3;return!_0x5d9322||!_0x16bca5||(_0x5768f5=(_0x5c9ed3=_0x2c6af2[_0x2fc018(0x5b5)])==null?void 0x0:_0x5c9ed3[_0x2fc018(0x484)](_0x2c6af2,_0x16bca5,_0x5d9322))==null?null:_0x5768f5;},[_0x5d9322,_0x2c6af2,_0x16bca5]),{position:_0x17f832,updatePosition:_0x2a3e6b}=Yr({'editingParams':_0x5d9322,'scene':_0x2f49d3,'skeleton':_0x44dbde,'viewportKeys':_0x2c6af2[_0x59b138(0x699)],'getShapeTransform':_0x29420c,'getPositionOffset':_0x3cf3b1}),_0x3168f4=(0x0,n[_0x59b138(0x7bc)])(()=>{const _0x5185f3=_0x59b138;let _0x5a2176=_0x40e48f[_0x5185f3(0x5ec)];_0x5a2176&&(_0x5a2176[_0x5185f3(0x6d9)][_0x5185f3(0x3ff)]=_0x17f832[_0x5185f3(0x3ff)]+'px',_0x5a2176[_0x5185f3(0x6d9)][_0x5185f3(0x332)]=_0x17f832[_0x5185f3(0x332)]+'px',_0x5a2176['style']['width']=_0x17f832['width']+'px',_0x5a2176['style']['height']=_0x17f832['height']+'px');},[_0x17f832]);(0x0,n['useEffect'])(()=>{const _0xf288cb=_0x59b138;_0x3168f4(),Xr(_0x5d9322,_0x17f832)&&(_0x24f941==null||_0x24f941({'width':_0x17f832[_0xf288cb(0x23d)],'height':_0x17f832[_0xf288cb(0x572)],'scaleX':_0x17f832[_0xf288cb(0x1c2)],'scaleY':_0x17f832[_0xf288cb(0x692)]}));},[_0x5d9322,_0x17f832,_0x3168f4,_0x24f941]),(0x0,n[_0x59b138(0x69d)])(()=>{const _0x31281b=_0x59b138;if(!_0x2f49d3)return;let _0x36a7bc=_0x2f49d3['getViewport'](_0x2c6af2['viewportKeys']['main']);if(!_0x36a7bc)return;let _0x13f5e3=_0x36a7bc[_0x31281b(0x182)][_0x31281b(0x2b3)](()=>{_0x2a3e6b();});return()=>{const _0x3108b8=_0x31281b;_0x13f5e3[_0x3108b8(0x545)]();};},[_0x2c6af2[_0x59b138(0x699)]['main'],_0x2f49d3,_0x2a3e6b]),(0x0,n[_0x59b138(0x69d)])(()=>{const _0x54ec6f=_0x59b138;var _0xcd0871,_0xe79da;let _0x41ab8f=_0x16bca5==null||(_0xcd0871=_0x16bca5[_0x54ec6f(0x55d)])==null||(_0xcd0871=_0xcd0871[_0x54ec6f(0x7e1)])==null?void 0x0:_0xcd0871[_0x54ec6f(0x2b3)](()=>{_0x2a3e6b();}),_0x1c6ecb=_0x2f49d3==null||(_0xe79da=_0x2f49d3['onTransformChange$'])==null?void 0x0:_0xe79da[_0x54ec6f(0x2b3)](()=>{_0x2a3e6b();});return()=>{const _0x2e349c=_0x54ec6f;_0x41ab8f==null||_0x41ab8f[_0x2e349c(0x545)](),_0x1c6ecb==null||_0x1c6ecb['unsubscribe']();};},[_0x16bca5,_0x2f49d3,_0x2a3e6b]),(0x0,n[_0x59b138(0x69d)])(()=>{const _0x158345=_0x59b138;if(!_0x5d9322||!_0x2f49d3)return;let _0x4bda67=Qr(_0x2f49d3,_0x5d9322[_0x158345(0x5ac)]);if(_0x4bda67!=null&&_0x4bda67[_0x158345(0x7e1)]){let _0x3ba266=_0x4bda67[_0x158345(0x7e1)]['subscribeEvent'](()=>{_0x2a3e6b();});return()=>{const _0x52393b=_0x158345;_0x3ba266[_0x52393b(0x545)]();};}},[_0x5d9322,_0x2f49d3,_0x2a3e6b]);let _0x3d2119=(0x0,n[_0x59b138(0x7e0)])(()=>({'left':_0x17f832[_0x59b138(0x3ff)],'top':_0x17f832[_0x59b138(0x332)],'width':_0x17f832[_0x59b138(0x23d)],'height':_0x17f832['height'],'pointerEvents':_0x5d9322!=null&&_0x5d9322[_0x59b138(0x3cf)]?_0x59b138(0x3fb):_0x59b138(0x53d)}),[_0x17f832,_0x5d9322==null?void 0x0:_0x5d9322[_0x59b138(0x3cf)]]),_0x439f25=(0x0,n[_0x59b138(0x7bc)])(_0x2ce5eb=>{const _0x142f42=_0x59b138;let _0x8ae475=_0x40e48f['current'];if(!_0x8ae475||!(_0x5d9322!=null&&_0x5d9322[_0x142f42(0x3cf)]))return;let _0x45f18d=_0x2ce5eb[_0x142f42(0x311)];!(_0x45f18d instanceof Node)||!_0x8ae475[_0x142f42(0x5b8)](_0x45f18d)||ei(_0x45f18d,_0x8ae475)||$r(_0x2ce5eb[_0x142f42(0x4a5)],_0x8ae475[_0x142f42(0x2b0)]())||ri(_0x2ce5eb,_0x8ae475);},[_0x5d9322==null?void 0x0:_0x5d9322['visible']]);return(0x0,r['jsx'])(_0x59b138(0x58a),{'ref':_0x40e48f,'data-u-comp':'shape-text-editor-position-wrapper','className':_0x59b138(0x7b4),'style':_0x3d2119,'onPointerDownCapture':_0x439f25,'onMouseDownCapture':_0x439f25,'onClickCapture':_0x439f25,'children':_0x1a45a8});});function oi(_0x55c998,_0x3ea8cd){const _0x36b4e8=_0x13379c;return Math[_0x36b4e8(0x495)](_0x55c998['width']-_0x3ea8cd[_0x36b4e8(0x23d)])<=0.001&&Math[_0x36b4e8(0x495)](_0x55c998[_0x36b4e8(0x572)]-_0x3ea8cd[_0x36b4e8(0x572)])<=0.001&&Math['abs'](_0x55c998[_0x36b4e8(0x1c2)]-_0x3ea8cd[_0x36b4e8(0x1c2)])<=0.001&&Math[_0x36b4e8(0x495)](_0x55c998['scaleY']-_0x3ea8cd[_0x36b4e8(0x692)])<=0.001;}const si=(0x0,n[_0x13379c(0x6e9)])(_0x26f38f=>{const _0x4d7e9c=_0x13379c;let {adapter:_0x426abd,editorUnitId:_0x2a6bc6,editingService:_0x52d9f1,positionOptions:_0x14cc85,verticalAlignCommandId:_0x3da233}=_0x26f38f,_0xe35b84=(0x0,s[_0x4d7e9c(0x506)])(_0x52d9f1[_0x4d7e9c(0x3a5)]),_0x29b37f=(0x0,s[_0x4d7e9c(0x506)])(_0x52d9f1[_0x4d7e9c(0x2f4)]),_0x13413c=pr({'editorUnitId':_0x2a6bc6,'editingParams':_0xe35b84}),_0x2e1a2c=(0x0,n['useRef'])(!0x1),_0x37d1d8=(0x0,n['useRef'])(0x0),_0x50d333=(_0xe35b84==null?void 0x0:_0xe35b84[_0x4d7e9c(0x3cf)])===!0x0;_0x50d333&&!_0x2e1a2c[_0x4d7e9c(0x5ec)]&&(_0x37d1d8[_0x4d7e9c(0x5ec)]+=0x1),_0x2e1a2c[_0x4d7e9c(0x5ec)]=_0x50d333;let _0x486dbf=_0x13413c?_0x13413c+'|'+_0x37d1d8[_0x4d7e9c(0x5ec)]:null,[_0x1df709,_0x4d480f]=(0x0,n[_0x4d7e9c(0x659)])(null),_0x551eb9=(0x0,n[_0x4d7e9c(0x7bc)])(_0x2aabaa=>{const _0x2ac3e2=_0x4d7e9c;if(!_0x486dbf)return;let _0x5915cd={'width':_0x2aabaa[_0x2ac3e2(0x23d)],'height':_0x2aabaa[_0x2ac3e2(0x572)],'scaleX':_0x2aabaa[_0x2ac3e2(0x1c2)],'scaleY':_0x2aabaa[_0x2ac3e2(0x692)]};_0x4d480f(_0x1ca2a3=>(_0x1ca2a3==null?void 0x0:_0x1ca2a3['sessionKey'])===_0x486dbf&&oi(_0x1ca2a3['size'],_0x5915cd)?_0x1ca2a3:{'sessionKey':_0x486dbf,'size':_0x5915cd});},[_0x486dbf]);if(!_0xe35b84||!_0xe35b84[_0x4d7e9c(0x3cf)]&&!_0x29b37f)return null;let _0x145338=(_0x1df709==null?void 0x0:_0x1df709[_0x4d7e9c(0x417)])===_0x486dbf?_0x1df709['size']:null;return(0x0,r[_0x4d7e9c(0x6f1)])(ai,{'editingParams':_0xe35b84,'positionOptions':_0x14cc85,'onPositionUpdate':_0x551eb9,'children':_0x145338?(0x0,r[_0x4d7e9c(0x6f1)])(Hr,{'adapter':_0x426abd,'containerWidth':_0x145338['width'],'containerHeight':_0x145338[_0x4d7e9c(0x572)],'editingParams':_0xe35b84,'editingService':_0x52d9f1,'editorUnitId':_0x2a6bc6,'scaleX':_0x145338[_0x4d7e9c(0x1c2)],'scaleY':_0x145338[_0x4d7e9c(0x692)],'verticalAlignCommandId':_0x3da233}):null},_0x486dbf);}),ci=s[_0x13379c(0x2e3)][_0x13379c(0x270)](_0x1bb0f5=>({'label':_0x1bb0f5[_0x13379c(0x6ab)],'value':String(_0x1bb0f5['value'])})),li=[f['SetInlineFormatTextFillCommand']['id'],f[_0x13379c(0x43f)]['id'],f[_0x13379c(0x433)]['id'],f[_0x13379c(0x20b)]['id'],f[_0x13379c(0x593)]['id'],f[_0x13379c(0x750)]['id'],f['SetInlineFormatItalicCommand']['id'],f[_0x13379c(0x5b4)]['id'],f[_0x13379c(0x73e)]['id'],f[_0x13379c(0x3ee)]['id'],f[_0x13379c(0x154)]['id'],d[_0x13379c(0x5da)]['id'],d[_0x13379c(0x230)]['id']],ui={'root':_0x13379c(0x14f),'group':_0x13379c(0x17d),'button':_0x13379c(0x42a),'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 di(_0x2d46ca){const _0x4cd08c=_0x13379c;return _0x2d46ca instanceof HTMLElement?!!_0x2d46ca[_0x4cd08c(0x2af)](_0x4cd08c(0x1d1)):!0x1;}function fi(_0x504583){const _0x495bb6=_0x13379c;return!!(_0x504583&&typeof _0x504583=='object'&&_0x504583['s']===o[_0x495bb6(0x167)][_0x495bb6(0x6bd)]);}function pi(_0x1b8122){const _0x454df9=_0x13379c;return(0x0,r['jsx'])('div',{'className':ui['group'],'children':_0x1b8122[_0x454df9(0x72c)]});}function mi(_0x6950d7){const _0x66b1e5=_0x13379c;return(0x0,r[_0x66b1e5(0x6f1)])(e['Tooltip'],{'title':(0x0,s[_0x66b1e5(0x24f)])(o[_0x66b1e5(0x80e)])['t'](_0x6950d7[_0x66b1e5(0x7ab)]),'placement':_0x66b1e5(0x392),'children':(0x0,r['jsx'])(_0x66b1e5(0x7d2),{'type':_0x66b1e5(0x7d2),'className':(0x0,e[_0x66b1e5(0x13a)])(ui[_0x66b1e5(0x7d2)],{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x6950d7[_0x66b1e5(0x38b)]}),'onClick':_0x6950d7[_0x66b1e5(0x3de)],'children':_0x6950d7['children']})});}function hi(){const _0x1e1fe7=_0x13379c;var _0x264468,_0x4be752,_0x6473eb,_0xd7d4fe,_0x2fa824,_0x14216e;let _0x297602=(0x0,s['useDependency'])(o[_0x1e1fe7(0x171)]),_0x2f504a=(0x0,s[_0x1e1fe7(0x24f)])(d[_0x1e1fe7(0x136)]),_0x5929fe=(0x0,s['useDependency'])(o[_0x1e1fe7(0x166)]),_0x1a720f=(0x0,s[_0x1e1fe7(0x24f)])(o['ThemeService']),[_0x22c507,_0x437d9a]=(0x0,n['useState'])({'cl':{'rgb':Ce}});(0x0,n[_0x1e1fe7(0x69d)])(()=>{let _0x4b1785=()=>{const _0x206f2e=_0x1fb5;var _0x7b00dd,_0x187ff2,_0x5345aa,_0x5a2aef,_0x355b17,_0xcfeb77,_0x18553d;let _0x139cdf=(_0x7b00dd=_0x2f504a[_0x206f2e(0x42d)]())==null?[]:_0x7b00dd,_0x334bf2=_0x139cdf['length']>0x0?_0x139cdf[_0x206f2e(0x2f3)](_0x3a06b4=>_0x3a06b4[_0x206f2e(0x2cf)]!=null&&_0x3a06b4[_0x206f2e(0x1f2)]!=null):_0x2f504a['getDocRanges'](),_0x4fbaa7=(_0x187ff2=_0x334bf2[_0x206f2e(0x326)](_0x26475f=>_0x26475f['isActive']))==null?_0x334bf2[0x0]:_0x187ff2;if(!_0x4fbaa7){_0x437d9a({'cl':{'rgb':Ce}});return;}let _0x48ab1f=_0x5929fe[_0x206f2e(0x436)](o[_0x206f2e(0x37e)][_0x206f2e(0x42b)]);if(!_0x48ab1f){_0x437d9a({'cl':{'rgb':Ce}});return;}let _0x4a7917=(_0x5345aa=_0x48ab1f[_0x206f2e(0x473)](_0x4fbaa7[_0x206f2e(0x2ff)]))==null?void 0x0:_0x5345aa[_0x206f2e(0x370)]();if(!_0x4a7917){_0x437d9a({'cl':{'rgb':Ce}});return;}let _0x4506ce=(_0x5a2aef=_0x48ab1f[_0x206f2e(0x6f7)]()[_0x206f2e(0x68e)])==null?void 0x0:_0x5a2aef[_0x206f2e(0x3d9)];_0x437d9a((0x0,f['getStyleInTextRange'])(_0x4a7917,_0x4fbaa7,{..._0x4506ce,'ff':(_0x355b17=_0x4506ce==null?void 0x0:_0x4506ce['ff'])==null?o[_0x206f2e(0x7e3)]['ff']:_0x355b17,'fs':(_0xcfeb77=_0x4506ce==null?void 0x0:_0x4506ce['fs'])==null?o['DEFAULT_STYLES']['fs']:_0xcfeb77,'cl':(_0x18553d=_0x4506ce==null?void 0x0:_0x4506ce['cl'])==null?{'rgb':Ce}:_0x18553d}));};_0x4b1785();let _0x28f01a=_0x297602['onCommandExecuted'](_0x48b1eb=>{const _0xae61e3=_0x1fb5;li[_0xae61e3(0x62b)](_0x48b1eb['id'])&&_0x4b1785();}),_0x6d9a91=_0x2f504a['textSelection$']['subscribe'](_0x4b1785);return()=>{const _0x2c3d83=_0x1fb5;_0x28f01a[_0x2c3d83(0x345)](),_0x6d9a91[_0x2c3d83(0x545)]();};},[_0x297602,_0x2f504a,_0x5929fe]);let _0x1ba7ed=(_0x368d4d,_0xd250ab)=>{const _0x4c2c08=_0x1e1fe7;_0x297602[_0x4c2c08(0x137)](_0x368d4d,_0xd250ab===void 0x0?void 0x0:{'value':_0xd250ab});},_0x2703e8=(_0x264468=_0x22c507['ff'])==null?o[_0x1e1fe7(0x7e3)]['ff']:_0x264468,_0x574ace=(_0x4be752=_0x22c507['fs'])==null?o[_0x1e1fe7(0x7e3)]['fs']:_0x4be752,_0x26cb8c=_0x22c507['bl']===o[_0x1e1fe7(0x167)][_0x1e1fe7(0x6bd)],_0x43dc95=_0x22c507['it']===o['BooleanNumber'][_0x1e1fe7(0x6bd)],_0x5a4406=fi(_0x22c507['ul']),_0x5da5e6=fi(_0x22c507['st']),_0x190094=_0x22c507['va']===o['BaselineOffset'][_0x1e1fe7(0x602)],_0x46cd57=_0x22c507['va']===o['BaselineOffset'][_0x1e1fe7(0x665)],_0xa1b796=(_0x6473eb=(_0xd7d4fe=_0x22c507['bg'])==null?void 0x0:_0xd7d4fe['rgb'])==null?_0x1a720f[_0x1e1fe7(0x706)](_0x1e1fe7(0x32e)):_0x6473eb;return(0x0,r[_0x1e1fe7(0x462)])('div',{'onMouseDown':_0x1ca0f1=>{const _0xe43594=_0x1e1fe7;_0x1ca0f1[_0xe43594(0x6f5)](),di(_0x1ca0f1['target'])||_0x1ca0f1[_0xe43594(0x728)]();},'className':(0x0,e[_0x1e1fe7(0x13a)])(ui[_0x1e1fe7(0x7b9)],e['borderClassName']),'children':[(0x0,r['jsx'])(pi,{'children':(0x0,r[_0x1e1fe7(0x6f1)])(Pn,{})}),(0x0,r[_0x1e1fe7(0x6f1)])(e[_0x1e1fe7(0x16e)],{'orientation':_0x1e1fe7(0x550)}),(0x0,r[_0x1e1fe7(0x462)])(pi,{'children':[(0x0,r[_0x1e1fe7(0x6f1)])(s[_0x1e1fe7(0x760)],{'ariaLabel':_0x1e1fe7(0x647),'className':_0x1e1fe7(0x56f),'inputClassName':_0x1e1fe7(0x7c0),'title':_0x2703e8,'value':_0x2703e8,'onChange':_0x3cc93a=>_0x1ba7ed(f['SetInlineFormatFontFamilyCommand']['id'],_0x3cc93a),'onMouseDown':_0x394241=>{const _0x14d86d=_0x1e1fe7;_0x394241[_0x14d86d(0x6f5)]();},'onPointerDown':_0x18067f=>{_0x18067f['stopPropagation']();}}),(0x0,r[_0x1e1fe7(0x6f1)])(e[_0x1e1fe7(0x4ec)],{'className':(0x0,e[_0x1e1fe7(0x13a)])(ui['select'],_0x1e1fe7(0x74d)),'value':String(_0x574ace),'options':ci,'onChange':_0x17b5f8=>{const _0x546102=_0x1e1fe7;let _0x4f60c6=Number(_0x17b5f8);Number[_0x546102(0x7b2)](_0x4f60c6)||_0x1ba7ed(f['SetInlineFormatFontSizeCommand']['id'],_0x4f60c6);}})]}),(0x0,r['jsx'])(e[_0x1e1fe7(0x16e)],{'orientation':_0x1e1fe7(0x550)}),(0x0,r[_0x1e1fe7(0x462)])(pi,{'children':[(0x0,r[_0x1e1fe7(0x6f1)])(mi,{'titleKey':_0x1e1fe7(0x6ae),'active':_0x26cb8c,'onClick':()=>_0x1ba7ed(f[_0x1e1fe7(0x750)]['id']),'children':(0x0,r[_0x1e1fe7(0x6f1)])(t[_0x1e1fe7(0x7b5)],{})}),(0x0,r[_0x1e1fe7(0x6f1)])(mi,{'titleKey':_0x1e1fe7(0x4a0),'active':_0x43dc95,'onClick':()=>_0x1ba7ed(f[_0x1e1fe7(0x21b)]['id']),'children':(0x0,r[_0x1e1fe7(0x6f1)])(t[_0x1e1fe7(0x726)],{})}),(0x0,r[_0x1e1fe7(0x6f1)])(mi,{'titleKey':_0x1e1fe7(0x305),'active':_0x5a4406,'onClick':()=>_0x1ba7ed(f[_0x1e1fe7(0x5b4)]['id']),'children':(0x0,r[_0x1e1fe7(0x6f1)])(t[_0x1e1fe7(0x6d3)],{})}),(0x0,r['jsx'])(mi,{'titleKey':_0x1e1fe7(0x60b),'active':_0x5da5e6,'onClick':()=>_0x1ba7ed(f['SetInlineFormatStrikethroughCommand']['id']),'children':(0x0,r[_0x1e1fe7(0x6f1)])(t[_0x1e1fe7(0x40c)],{})})]}),(0x0,r['jsx'])(e[_0x1e1fe7(0x16e)],{'orientation':_0x1e1fe7(0x550)}),(0x0,r[_0x1e1fe7(0x462)])(pi,{'children':[(0x0,r[_0x1e1fe7(0x6f1)])(mi,{'titleKey':'shape-editor-ui.toolbar.subscript','active':_0x190094,'onClick':()=>_0x1ba7ed(f['SetInlineFormatSubscriptCommand']['id']),'children':(0x0,r[_0x1e1fe7(0x6f1)])(t[_0x1e1fe7(0x654)],{})}),(0x0,r['jsx'])(mi,{'titleKey':_0x1e1fe7(0x54d),'active':_0x46cd57,'onClick':()=>_0x1ba7ed(f['SetInlineFormatSuperscriptCommand']['id']),'children':(0x0,r[_0x1e1fe7(0x6f1)])(t['SuperscriptIcon'],{})})]}),(0x0,r[_0x1e1fe7(0x6f1)])(e[_0x1e1fe7(0x16e)],{'orientation':_0x1e1fe7(0x550)}),(0x0,r[_0x1e1fe7(0x462)])(pi,{'children':[(0x0,r['jsx'])(nt,{'titleKey':'shape-editor-ui.toolbar.textColor','textStyle':_0x22c507,'fallbackColor':(_0x2fa824=(_0x14216e=_0x22c507['cl'])==null?void 0x0:_0x14216e['rgb'])==null?Ce:_0x2fa824,'onChange':_0x3936c2=>{const _0x240a29=_0x1e1fe7;_0x297602[_0x240a29(0x137)](f[_0x240a29(0x810)]['id'],{'value':_0x3936c2}),_0x437d9a(_0x2a5475=>({..._0x2a5475,..._0x3936c2}));}}),(0x0,r[_0x1e1fe7(0x6f1)])(rt,{'titleKey':_0x1e1fe7(0x1aa),'color':_0xa1b796,'onApply':()=>_0x1ba7ed(f['SetInlineFormatTextBackgroundColorCommand']['id'],_0xa1b796),'onReset':()=>{const _0x4206ba=_0x1e1fe7;_0x297602[_0x4206ba(0x137)](f[_0x4206ba(0x433)]['id']),_0x437d9a(_0x5ad5fc=>({..._0x5ad5fc,'bg':{'rgb':null}}));},'onChange':_0x161b50=>{const _0x29e92b=_0x1e1fe7;_0x1ba7ed(f[_0x29e92b(0x43f)]['id'],_0x161b50),_0x437d9a(_0x58b1c5=>({..._0x58b1c5,'bg':{'rgb':_0x161b50}}));}})]})]});}exports[_0x13379c(0x25e)]=Pn,exports[_0x13379c(0x799)]=D,exports['FormulaShapeAnimationController']=Y,exports[_0x13379c(0x213)]=ie,exports[_0x13379c(0x2ef)]=O,exports[_0x13379c(0x19f)]=Se,exports[_0x13379c(0x656)]=_0x13379c(0x2dd),exports[_0x13379c(0x348)]=Ce,exports[_0x13379c(0x211)]=0x10,exports[_0x13379c(0x6b5)]=Nn,exports['SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET']=0x10,exports['ShapeEditPanel']=$t,exports[_0x13379c(0x6a4)]=Xe,exports[_0x13379c(0x7b7)]=Wt,exports[_0x13379c(0x780)]=ut,exports['ShapeFloatingToolbarContent']=je,exports[_0x13379c(0x1f5)]=Ne,exports[_0x13379c(0x5be)]=Pe,exports[_0x13379c(0x1e1)]=ke,exports[_0x13379c(0x4b6)]=ot,exports[_0x13379c(0x1ef)]=at,Object[_0x13379c(0x122)](exports,'ShapeFormulaUnitViewerService',{'enumerable':!0x0,'get':function(){return B;}}),exports[_0x13379c(0x763)]=Dn,exports[_0x13379c(0x742)]=Ht,exports['ShapeLineEditor']=Jt,exports['ShapePickerDropdown']=Mn,exports['ShapePickerPanel']=jn,exports[_0x13379c(0x566)]=We,exports[_0x13379c(0x6eb)]=Ue,exports[_0x13379c(0x255)]=Qt,exports[_0x13379c(0x51d)]=si,exports[_0x13379c(0x195)]=Vn,exports['ShapeTextFloatToolbar']=hi,exports[_0x13379c(0x47f)]=nt,exports['TypographyPanelButton']=it,Object[_0x13379c(0x122)](exports,_0x13379c(0x243),{'enumerable':!0x0,'get':function(){return V;}}),exports['activateDrawingObject']=ne,exports['buildShapeTextDataUpdate']=En,exports['clearActiveDrawingObjects']=re,exports[_0x13379c(0x67a)]=nr,exports[_0x13379c(0x6dd)]=X,exports[_0x13379c(0x273)]=Ut,exports['getShapeTextOpticalVerticalOffset']=Yn,exports['getTextModel']=oe,exports[_0x13379c(0x389)]=se,exports[_0x13379c(0x291)]=tr,exports[_0x13379c(0x6a3)]=Un,exports['normalizeShapeTextModel']=ae,exports[_0x13379c(0x579)]=rn,exports[_0x13379c(0x269)]=hn,exports[_0x13379c(0x6aa)]=ge,exports['resolveShapeTextBoxResizePolicy']=ar,exports[_0x13379c(0x7aa)]=ln,exports['resolveShapeTextDocumentPageHeight']=gn,exports[_0x13379c(0x7f8)]=qn,exports[_0x13379c(0x306)]=ue,exports[_0x13379c(0x4ee)]=me,exports[_0x13379c(0x20a)]=hr,exports[_0x13379c(0x44c)]=pe,exports[_0x13379c(0x470)]=er,exports[_0x13379c(0x3d2)]=Kn,exports['shapeTypeOptions']=On,exports[_0x13379c(0x339)]=he,exports[_0x13379c(0x77b)]=Q,exports['shouldClipShapeTextDocument']=Z,exports[_0x13379c(0x421)]=_n,exports[_0x13379c(0x479)]=bn,exports[_0x13379c(0x74f)]=Rt;