@sheetxl/studio-vanilla 0.7.28-beta.4 → 0.8.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (336) hide show
  1. package/browser/cjs/2zXD3NPfuQT2KSZq.cjs +7 -0
  2. package/browser/cjs/{C7GpcB_YgM-RLa2P.cjs → B19QM3SGmPKKwD_o.cjs} +1 -1
  3. package/browser/cjs/B5YBx0GqLor3i0O1.cjs +1 -0
  4. package/browser/cjs/{X1LnR885SNQaK5HZ.cjs → B9EI7wviSkHS9ZkH.cjs} +1 -1
  5. package/browser/cjs/BC2gCQkR1iykfAuC.cjs +1 -0
  6. package/browser/cjs/{BbEwESVyRYXzMlW7.cjs → BEVqcFGFU6Ri9y8T.cjs} +1 -1
  7. package/browser/cjs/{mXzhcays1ok40iiU.cjs → BEzaum_kgG4yAOx0.cjs} +1 -1
  8. package/browser/cjs/{FUM_3mQlC-6WPjkT.cjs → BIQZDBQfv3Qm5iC8.cjs} +2 -2
  9. package/browser/cjs/{NzAMMcPT7SETmqPg.cjs → BSCgCfORdZz1Ii5S.cjs} +2 -2
  10. package/browser/cjs/{CxWeFfNAUvhHe9F-.cjs → BZr-IqNS1skh1hr6.cjs} +2 -2
  11. package/browser/cjs/BfzzZ9IR27ZPzj-8.cjs +3 -0
  12. package/browser/cjs/Bgke3PtMSF2Iaen4.cjs +1 -0
  13. package/browser/cjs/{n4ZQ0-3uSrEsInbg.cjs → BziOCn_XEGT4ynN5.cjs} +1 -1
  14. package/browser/cjs/C-HOJozu5NgCil1q.cjs +1 -0
  15. package/browser/cjs/{iyvcAhhnDFxkR8tW.cjs → C2oTW2DjZypuqq7x.cjs} +1 -1
  16. package/browser/cjs/{C0hGnOYkvrwxaGrw.cjs → C5rQELB0TUeXY6VM.cjs} +1 -1
  17. package/browser/cjs/C6yxQPAEgcGWAhYR.cjs +33 -0
  18. package/browser/cjs/{DMp9wql2kbZKAbGe.cjs → CPgCih_KEqnUZ9Rv.cjs} +1 -1
  19. package/browser/cjs/CSNCOmYEOR-iTJ7K.cjs +5 -0
  20. package/browser/cjs/{Ck7Tc5npWk73wrF3.cjs → CcneNtiqtKppCa-p.cjs} +2 -2
  21. package/browser/cjs/{jIxFDc3EQDDXisAC2.cjs → Ci8Uu7_b4lwwRLAD2.cjs} +1 -1
  22. package/browser/cjs/{zEytED4Eleo5DVvS.cjs → Cm21F18ga8TluA9h.cjs} +1 -1
  23. package/browser/cjs/{kqP-W5qRIy-d-ChZ.cjs → CojEXZgX08waZOoq.cjs} +1 -1
  24. package/browser/cjs/CrDTTLE9EvaGDSD4.cjs +88 -0
  25. package/browser/cjs/{Y78-VwYSNffwXRVz2.cjs → CvV18ZJgssoHMkdf2.cjs} +1 -1
  26. package/browser/cjs/{sFD2bsTPq558FCMx.cjs → Cy-4IMt-AbR-ifP3.cjs} +1 -1
  27. package/browser/cjs/CyGzzWYDy-IniKCq2.cjs +7 -0
  28. package/browser/cjs/CzgwTfy2072Dmt5u.cjs +1 -0
  29. package/browser/cjs/{CEpXnHhrczUmIwMa2.cjs → D19RglhKiroWfpQn2.cjs} +1 -1
  30. package/browser/cjs/DFHxNnJ-lHtv0hIq.cjs +1 -0
  31. package/browser/cjs/{DAA0zpvkrMOLDPxr.cjs → DH3WXPfGHwWJW0nH.cjs} +1 -1
  32. package/browser/cjs/{DcHxh5QxfVitzdhv.cjs → DNy-UU3NKNqQQngF.cjs} +1 -1
  33. package/browser/cjs/{stXrcKZOIHl0fq5U2.cjs → DPjEO7dwhCFd8DHR2.cjs} +1 -1
  34. package/browser/cjs/{CnjaTz8HJXStwuH8.cjs → DfMJOaJ0GcUiSn4Q.cjs} +1 -1
  35. package/browser/cjs/{J7LQgueGGNUE9emR.cjs → DiZDRPIgbO3sQ8Vb.cjs} +1 -1
  36. package/browser/cjs/{DQTBgNqDHInvxrwS.cjs → DsIHLUKUrSrYhFHl.cjs} +1 -1
  37. package/browser/cjs/{Dkgu60euhL6wPoYa2.cjs → DvSvfeo9V0Abfd3q2.cjs} +1 -1
  38. package/browser/cjs/{C9L-xibuJ434Mqqq2.cjs → DxQkFYAFNZubVdn22.cjs} +1 -1
  39. package/browser/cjs/{DgGGzl7jq3i7Cqfi.cjs → E-IqDztfMb_xdszH.cjs} +1 -1
  40. package/browser/cjs/{BFdq8CHyR6FQvmQA2.cjs → ElcoSB--cCpS6i7R2.cjs} +1 -1
  41. package/browser/cjs/KNCocKN9uPR0tvUS.cjs +1 -0
  42. package/browser/cjs/{D-o-mlG9tYSuZrvy2.cjs → Kr8f1inOTt-MICaP2.cjs} +1 -1
  43. package/browser/cjs/{Cu0UCwSpRK4OnCuP.cjs → PM3PrEWG3WHKxaDx.cjs} +1 -1
  44. package/browser/cjs/{QK9BfdSZPLmyRpGi2.cjs → YG320hBA20Dl3HoU2.cjs} +1 -1
  45. package/browser/cjs/{M19oMY91yZxf2WAR.cjs → _H5j4dU7HOBYTawU.cjs} +1 -1
  46. package/browser/cjs/a0Z-SXs_N71CtqYb2.cjs +1 -0
  47. package/browser/cjs/{DtaFdoK4CppKRF6F2.cjs → aYuNpndpwcZG5eik2.cjs} +1 -1
  48. package/browser/cjs/bGMaev70Zd_NXqLM2.cjs +1 -0
  49. package/browser/cjs/bIaGoYEDSBCrAaB6.cjs +1 -0
  50. package/browser/cjs/{BKXFdLiztqEHIjQ_2.cjs → hzUo76TXMOBqsI3U2.cjs} +1 -1
  51. package/browser/cjs/i2VboqjlOcozI9MQ.cjs +12 -0
  52. package/browser/cjs/index.cjs +1 -1
  53. package/browser/cjs/xBcvszV6x7ys-m532.cjs +1 -0
  54. package/browser/esm/{Duo6t8_BzIiBDrFm.mjs → -vgNEEXiEad4bltZ.mjs} +3417 -3070
  55. package/{cdn/assets/BzktrYJH7SQ9GyUI2.js → browser/esm/1guzFZp1LHz_FwfL.mjs} +1 -1
  56. package/browser/esm/{Bz3-FDGVU67Izdnv2.mjs → 3y_bCend8tkaewDG2.mjs} +7 -7
  57. package/{cdn/assets/CBC_MJL6Bwk7bzQz2.js → browser/esm/47Yv4X226-93If7L.mjs} +1 -1
  58. package/browser/esm/{pFBVGSvmImMMDMuJ.mjs → 7rixDGGrR72lXkMV.mjs} +5 -5
  59. package/browser/esm/{CXDtDYyREwoFwtMJ2.mjs → 8V-VceXEjpADM8qK2.mjs} +1 -1
  60. package/browser/esm/{5LJ1sC7IPn109Ien.mjs → 8f9hCbpXTTYEgG312.mjs} +2 -2
  61. package/browser/esm/{CXlA71yGA1Hqvp_S.mjs → 9_bymSfTn_rR_v6W.mjs} +5 -5
  62. package/browser/esm/{DimkHq0_x-d4uNdV.mjs → At60x9FEPePwPP_J.mjs} +6444 -6051
  63. package/browser/esm/{O982fBwJ80FSdhad.mjs → B0HA_dHcr0kKfudQ.mjs} +40 -40
  64. package/browser/esm/{C3dXBjR3SrDCdJlm.mjs → B1NoGosH2YQh01g7.mjs} +6 -6
  65. package/browser/esm/{DhgwMDb052opCiAA.mjs → B4h6iO7hQ9lCR7kj.mjs} +332 -332
  66. package/browser/esm/{DmqS0kz7jvlOw3qr.mjs → B4iT_CduJeJunwBc.mjs} +2 -2
  67. package/browser/esm/{BZSAb1WGbwagUKGv2.mjs → B4vYIE3kSPTxCgpf2.mjs} +5 -5
  68. package/browser/esm/{DLArQtAbWAarI8od2.mjs → B5ZqqASTcBEV5L9K2.mjs} +1 -1
  69. package/browser/esm/{CxKAnYBWCYMkUpnr.mjs → BBtOlJMVlsWorNJH.mjs} +189 -189
  70. package/browser/esm/{BZkd8LNLgEd5WQXO2.mjs → BCZjYGV8AqIZghBH.mjs} +1 -1
  71. package/{cdn/assets/DRAYZ0SGlbCLkftR.js → browser/esm/BCkXtOM3yKocv7L-2.mjs} +1 -1
  72. package/{cdn/assets/Dgt8kua8CYlMRfdw.js → browser/esm/BD7RxHQgrqy_4tb5.mjs} +2 -2
  73. package/{cdn/assets/DtkqR-Hu7K4agnCs2.js → browser/esm/BDkVAo0CDCTE04ZJ2.mjs} +1 -1
  74. package/browser/esm/{L6LjzOx1G9Idjtxa2.mjs → BHBJtVTiQByD_y9j.mjs} +1 -1
  75. package/{cdn/assets/BGAXiHOiX_PZ1ww1.js → browser/esm/BHmYoIIbNW3GdcqV2.mjs} +1 -1
  76. package/{cdn/assets/BF9yh58xfvR0KbSo.js → browser/esm/BLcn1kGRsjURZSzk.mjs} +2 -2
  77. package/browser/esm/{DnMUizHKSRwWpO_7.mjs → BMRav2VAqEzDSp3r2.mjs} +1 -1
  78. package/{cdn/assets/esX6dx06TUUL-cRt.js → browser/esm/BOl4FzJRD7MplCU72.mjs} +1 -1
  79. package/{cdn/assets/D2Ls6urWeByV5W-B.js → browser/esm/BPv6Pw1hW-sV5Fya.mjs} +1 -1
  80. package/browser/esm/{DygUxASTETZM60uN2.mjs → BQDXkeSabbxB5DUB2.mjs} +6 -6
  81. package/browser/esm/{FAHIw2t7_M_rvRio.mjs → BUCKq_2lHPd1ndvw.mjs} +6 -6
  82. package/browser/esm/{B9t9fF8FNCLomgK_.mjs → BVRzmIk5PujkT_Ap.mjs} +5 -5
  83. package/{cdn/assets/BaIe3fLfPLw3FbYP2.js → browser/esm/BVjXdv_wkL1x_8ZJ2.mjs} +1 -1
  84. package/browser/esm/{CElACTFuqPAnCAMJ.mjs → BX4f6i2WMBMKFVCq.mjs} +4 -4
  85. package/browser/esm/{HFqcMD9nTL0jdLxT.mjs → BZsx0QHg1RZlM9ZN.mjs} +1 -1
  86. package/browser/esm/{Dwko6HB2zePBBeBu2.mjs → BceIETi6JJRW6Ss62.mjs} +9 -9
  87. package/browser/esm/{B3tC7wY_kUGXf5sb2.mjs → Be4QC65cR8N84rTn.mjs} +1 -1
  88. package/browser/esm/{Cye91DfKIFwRdDpF.mjs → BhxX7CZWSOlV2Dsz.mjs} +7 -7
  89. package/browser/esm/{CFtsbobCiLpZIzCh.mjs → BhzLZRz2N8RxjQ_U.mjs} +3 -3
  90. package/browser/esm/{DGfzktq0BrIwcb8j.mjs → BjTf3XA9Swj0ngpH.mjs} +2 -2
  91. package/browser/esm/{CfjG7gHJ4oN60Clj.mjs → BkSb_vyWe-AhyEDa.mjs} +3 -3
  92. package/browser/esm/{XBb7Mxqf0beXaSJt.mjs → Bl6bX86tSq8hfyb2.mjs} +6 -6
  93. package/browser/esm/{BgwHVPZp494SgQ0d2.mjs → Blc1T4zLkp8bRC_n2.mjs} +7 -7
  94. package/browser/esm/{BgNWvKfVoVgVVDB4.mjs → Bp9qFBIcpIGXvMgo.mjs} +13 -13
  95. package/browser/esm/{Cd8G1nX1dKzp-mho2.mjs → BqTFwWLbXXJ0Fu-X2.mjs} +1 -1
  96. package/browser/esm/{DHQcJqD-EtJ0Efug2.mjs → BqwvP0318zI2izeL2.mjs} +9 -9
  97. package/browser/esm/{ByJMrAYRARLc7uZQ2.mjs → Bv_96nwOEMHN9Sa02.mjs} +1 -1
  98. package/{cdn/assets/D5BuXc-kVnr6Xiae2.js → browser/esm/BykiUmcpDgSRNQI12.mjs} +1 -1
  99. package/browser/esm/{BkBT2LB95lonIiBu.mjs → C0rS1uBqfsj-gPR8.mjs} +9 -9
  100. package/browser/esm/{BjYIAiuzZbD-dk822.mjs → C1ZePT2B182vSnxW2.mjs} +1 -1
  101. package/browser/esm/{CRsnKeHAnKrWvuG52.mjs → C6CK_4GD9IpxKglV2.mjs} +792 -792
  102. package/browser/esm/{Ykh10IaXTKA2XWot.mjs → CAPgMrAKg07EREFD.mjs} +1 -1
  103. package/browser/esm/{BetL7yI63lEdQ0gM.mjs → CEN8dYSpN2oew8HH.mjs} +1 -1
  104. package/{cdn/assets/BRBHACVjnV1_6VLQ.js → browser/esm/CG5v2hAwGR5Ptufn.mjs} +1 -1
  105. package/browser/esm/CGGJWgWSPZ0aP_C3.mjs +87 -0
  106. package/{cdn/assets/CsKCqLuggHhYC93k.js → browser/esm/CGqvy5LwQ4z9J2oD2.mjs} +1 -1
  107. package/{cdn/assets/CbJ_xQftC08KrH3E.js → browser/esm/CGyydD3tRb0ik50l2.mjs} +1 -1
  108. package/browser/esm/{DjS4iUli-T3uuUfK.mjs → CH0of3GZTzHviuQV.mjs} +1 -1
  109. package/{cdn/assets/DJSXXWTUJGbXqLLx.js → browser/esm/CJPemkFUzhcAD_qR.mjs} +1 -1
  110. package/browser/esm/{C4vqrW3EmJDy1otX.mjs → COA_SZY2x8q6t4BD.mjs} +1 -1
  111. package/browser/esm/{D_8B8jIlshd3eTIO2.mjs → CPUlpDM6aAzZzCat2.mjs} +11 -11
  112. package/browser/esm/{BsP1iPcd49wYIIoP.mjs → CQM87ZBN7Yzn4Yxr.mjs} +3 -3
  113. package/{cdn/assets/BPAEbeXV75XIAS4n.js → browser/esm/CR3jgkduTLczbMjH2.mjs} +1 -1
  114. package/{cdn/assets/6L6HfOFw1xzxXtf22.js → browser/esm/CU1d8OvDv5TU6fSd.mjs} +155 -155
  115. package/{cdn/assets/B6Y_HasaiihQLVYz2.js → browser/esm/CY1zykikO58_ADk8.mjs} +121 -121
  116. package/browser/esm/{s4trFf5sOSGNEzr3.mjs → CZWIS7FuqNjbheSw.mjs} +6 -6
  117. package/browser/esm/{BT2mYkpZGrhWovkv2.mjs → Cb-FUOYcyRSkHG6u2.mjs} +11 -11
  118. package/{cdn/assets/D4aK0uTRJQpM63922.js → browser/esm/Cbw0JeJURvQyxIoa.mjs} +1 -1
  119. package/browser/esm/{CFVzVz9BCRBowBea.mjs → Cc5IufffX4N-8QpE.mjs} +3 -3
  120. package/browser/esm/{BqMvXD8dX4ksYjnj.mjs → Cd8HXAJlflkkTXxc.mjs} +3 -3
  121. package/browser/esm/{DrKUGkrCTKZHu8XC.mjs → CdMv3f8Gyxh8q2RR2.mjs} +1 -1
  122. package/browser/esm/{DnCkPg9-xb3RvxD-.mjs → CfuhUkrvOq11d9FR.mjs} +7 -7
  123. package/{cdn/assets/MHuhAgQAA8zcnWkd2.js → browser/esm/CfvrjQGuf7vXiQCB.mjs} +1 -1
  124. package/browser/esm/{Bj3gyDL2ZJUDcxt72.mjs → Ckl3FLCOeqw7yhkP2.mjs} +8 -8
  125. package/browser/esm/{BxecIrskOMQZB-Xc.mjs → Clfp7SznkOrJoQvL.mjs} +1 -1
  126. package/browser/esm/{DuJ_gK9f35IbKDd6.mjs → CpjX81WsWJbXMUoT.mjs} +185 -181
  127. package/browser/esm/{D8zyGG6yt4CsyA8K.mjs → CsufM5aF6VTLKDWM.mjs} +7 -7
  128. package/{cdn/assets/Bce8ZTUCpXr5Y_zl2.js → browser/esm/CtXoSHbCUKMY-tSJ.mjs} +1 -1
  129. package/browser/esm/{hsy1zALC1oNNm5Sf.mjs → D3G3tI3DVCUF3Gdk.mjs} +1 -1
  130. package/browser/esm/{DER7-kADXFnTmK-32.mjs → D4VqLbEWag8lTWzC2.mjs} +13 -13
  131. package/browser/esm/{Bjx-9lUaScF5-Hki2.mjs → D6SKy2BtcWkhfiA02.mjs} +1 -1
  132. package/browser/esm/{B_U_UpQXdbjNRthb.mjs → D9-wpGVbTS9rRpxx.mjs} +1 -1
  133. package/browser/esm/{BrUe0MnOhxzeOngn2.mjs → DBL3Qp5jyPrFg7KI2.mjs} +1 -1
  134. package/browser/esm/{B-dSKzg5shPDd733.mjs → DDOO4tcrO4OfMUDe.mjs} +1 -1
  135. package/browser/esm/DDUYQ8FPeh1TJU24.mjs +538 -0
  136. package/browser/esm/{CJ-lOo2cXlcYrg2P.mjs → DFdU1DsC1lXOrejZ.mjs} +950 -945
  137. package/browser/esm/{DdtDlBp6KJZjL28o.mjs → DMLwXmjo28k_iNEU.mjs} +5 -10
  138. package/browser/esm/{BzktrYJH7SQ9GyUI.mjs → DMX-ZlC_ljcf7oUN.mjs} +1 -1
  139. package/{cdn/assets/DOsKUeLPwFIdzQv32.js → browser/esm/DQ-0yyFAwoWtxmhV2.mjs} +1 -1
  140. package/{cdn/assets/BGWyNjrM55ce-D1o.js → browser/esm/DQ4o4dG7gWbL1X8F2.mjs} +1 -1
  141. package/{cdn/assets/CmYCYFWjq9KP6xw7.js → browser/esm/DRc_Wi5c7WdKHTVN2.mjs} +1 -1
  142. package/{cdn/assets/CY7qR8ENX314HrrD.js → browser/esm/DTaVECXVrgvC48BE.mjs} +3 -3
  143. package/browser/esm/{DFQGftDcmDwUGxV8.mjs → DVJd6McdAG5udItH.mjs} +5 -5
  144. package/browser/esm/{B6bX01HNxwBooBTX2.mjs → DVQNQmjI2PKkwiOw2.mjs} +15 -15
  145. package/browser/esm/{BJQfvwvEke-uN0_02.mjs → DVZ_UnchuMRveDG32.mjs} +4 -4
  146. package/{cdn/assets/Bh4hZt6639QZusIG.js → browser/esm/DW72HwfnJtQxzoGa.mjs} +2 -2
  147. package/browser/esm/{CHmSnCPoww1StSta.mjs → DXWmgQSeh0_HDxZj.mjs} +4 -4
  148. package/{cdn/assets/FVJ1akngxeMiYwPa.js → browser/esm/DZbR5R1fNikjgqYb.mjs} +1 -1
  149. package/{cdn/assets/C7xBBqvPqat9oEft2.js → browser/esm/D_t53-8k73CNpV-p.mjs} +72 -46
  150. package/browser/esm/{DhW7Cqyuxk7D6zsW.mjs → D_zNx76HGunFi7xJ.mjs} +12 -12
  151. package/browser/esm/{DENx9Ts-f8adXw3Y2.mjs → Dc0BDcQUGy_WIVFa.mjs} +1 -1
  152. package/{cdn/assets/CpEgh9EOkeMvwAuj.js → browser/esm/DfRGH6mEtIVDWEYN2.mjs} +1 -1
  153. package/{cdn/assets/BZXvEddjoz4C8y4w.js → browser/esm/Dg5wjQp0fArKXlM3.mjs} +2 -2
  154. package/browser/esm/{N-koparnupMSl92y.mjs → DnuaqN0xfgqzl8qG.mjs} +231 -231
  155. package/{cdn/assets/CJGlwQusOCSy9ZAb.js → browser/esm/Dnx3_xXfRlD6ECfZ2.mjs} +1 -1
  156. package/browser/esm/{DJk14sSSnSHiEXZ72.mjs → DrUEYcXg6N2D2s1Z2.mjs} +1 -1
  157. package/{cdn/assets/DjfBSoaKM-vtbeqT.js → browser/esm/DtXC6uPF2LLktqFE.mjs} +2 -2
  158. package/browser/esm/{6A8iYjFWJzx5PaTP2.mjs → DuPdSe-EXFTx9dsc2.mjs} +8 -8
  159. package/browser/esm/{DSWdYe7SDB5cYWo5.mjs → DzDwSOBdJh_lx_NM.mjs} +5 -5
  160. package/browser/esm/{Bc2Dp6W4U_22cv7c.mjs → EwzqnZl1lTr56hH-2.mjs} +1 -1
  161. package/browser/esm/{PzCXbVRf1jOHVOAw.mjs → Gy0CHZTvn4hY-rkx2.mjs} +1 -1
  162. package/browser/esm/{CY4ANhbzXqZMJPnL2.mjs → NekeSGoazNCraGNC2.mjs} +7 -7
  163. package/browser/esm/{DM4g0nYgYXgI44dL2.mjs → R5bs6kCQSZmsCXz-.mjs} +1 -1
  164. package/browser/esm/{BQt5lpPjssz4Lvhs.mjs → RW23HF8taEtW8q9D.mjs} +2 -2
  165. package/browser/esm/{-9NsA_4pZqcEQBX7.mjs → fJ1McMt7xzRA_lUX.mjs} +6 -6
  166. package/{cdn/assets/g8dDbkwbYjhKWJM2.js → browser/esm/hFSDx-LnUOObv-6h2.mjs} +1 -1
  167. package/browser/esm/index.mjs +4 -4
  168. package/browser/esm/{BUKNpzG26V0YaAzW.mjs → nguMxPB9LKexKBRX.mjs} +12 -12
  169. package/browser/esm/{BmTSjuGI87QqMA-a.mjs → oYdWyqsKo9ejAdVm.mjs} +2 -2
  170. package/browser/esm/{CTwLETvNO4KeXbkK2.mjs → qG5zdZZAe6mQIJo32.mjs} +1 -1
  171. package/browser/esm/{evPbHV86yom22yGf2.mjs → qzhFT2j-mpQEQnKs.mjs} +2641 -2556
  172. package/browser/esm/{B4fSPDN923nqCDVE2.mjs → vcRSnmAqjwKglEkY.mjs} +1 -1
  173. package/cdn/assets/{hClmI7sWeaBbHo3W2.js → -2S675KWulPRlVNb2.js} +12 -12
  174. package/{browser/esm/BBhB25AlKEzdoI0V.mjs → cdn/assets/1guzFZp1LHz_FwfL2.js} +1 -1
  175. package/cdn/assets/{xMskoOI2CK9-AmBF2.js → 2CuCH0wi9XPgVzE42.js} +7 -7
  176. package/cdn/assets/{CimYGZTVXcjbjrBU2.js → 2UHIeioUPXrwtZy-2.js} +13 -13
  177. package/{browser/esm/CBC_MJL6Bwk7bzQz.mjs → cdn/assets/47Yv4X226-93If7L2.js} +1 -1
  178. package/cdn/assets/{CXDtDYyREwoFwtMJ.js → 8V-VceXEjpADM8qK.js} +1 -1
  179. package/cdn/assets/{5LJ1sC7IPn109Ien.js → 8f9hCbpXTTYEgG31.js} +2 -2
  180. package/{browser/esm/CBuulf8RrSItPZJi.mjs → cdn/assets/B55nrhIK6gAAu4ZA.js} +2 -2
  181. package/cdn/assets/{DLArQtAbWAarI8od.js → B5ZqqASTcBEV5L9K.js} +1 -1
  182. package/cdn/assets/{Dq7WxMef5CTJ47QI2.js → BAhvL7M7ZcgZ8eDc2.js} +7 -7
  183. package/cdn/assets/{BZkd8LNLgEd5WQXO.js → BCZjYGV8AqIZghBH.js} +1 -1
  184. package/{browser/esm/DRAYZ0SGlbCLkftR2.mjs → cdn/assets/BCkXtOM3yKocv7L-.js} +1 -1
  185. package/{browser/esm/DtkqR-Hu7K4agnCs.mjs → cdn/assets/BDkVAo0CDCTE04ZJ.js} +1 -1
  186. package/cdn/assets/{L6LjzOx1G9Idjtxa.js → BHBJtVTiQByD_y9j2.js} +1 -1
  187. package/{browser/esm/BGAXiHOiX_PZ1ww12.mjs → cdn/assets/BHmYoIIbNW3GdcqV.js} +1 -1
  188. package/cdn/assets/{Bfd3T36ocASPZddR.js → BJEpPEyFWtLzMIq-2.js} +389 -385
  189. package/{browser/esm/DxxlSejA2S6YUPWD.mjs → cdn/assets/BKEzd89UphJ8q1pp2.js} +166 -166
  190. package/cdn/assets/{DoJfPxuL3zziG4p62.js → BM7OqAUEUk-up7_82.js} +13 -13
  191. package/cdn/assets/{DnMUizHKSRwWpO_72.js → BMRav2VAqEzDSp3r.js} +1 -1
  192. package/cdn/assets/{B3ZyfwskutLZMYfl2.js → BNuoKAzs4zkxSocG2.js} +7 -7
  193. package/cdn/assets/{DW2yQm-sEcHogX7E.js → BNybEGR813e3aNIv.js} +953 -948
  194. package/{browser/esm/esX6dx06TUUL-cRt.mjs → cdn/assets/BOl4FzJRD7MplCU7.js} +1 -1
  195. package/{browser/esm/D2Ls6urWeByV5W-B2.mjs → cdn/assets/BPv6Pw1hW-sV5Fya.js} +1 -1
  196. package/cdn/assets/{CblzazoiTtSuaAkj.js → BU6uQhQhpaLElTT82.js} +8 -8
  197. package/cdn/assets/{omgRvCRxe7suvog8.js → BVgTMDEoPgsWFmku.js} +105 -105
  198. package/{browser/esm/BaIe3fLfPLw3FbYP2.mjs → cdn/assets/BVjXdv_wkL1x_8ZJ2.js} +1 -1
  199. package/cdn/assets/BWlMK76Aj2d4ygsH.js +538 -0
  200. package/cdn/assets/{HFqcMD9nTL0jdLxT2.js → BZsx0QHg1RZlM9ZN2.js} +1 -1
  201. package/cdn/assets/{B3tC7wY_kUGXf5sb.js → Be4QC65cR8N84rTn2.js} +1 -1
  202. package/cdn/assets/{DP9sLYfGGWMDI7hL2.js → BhDLR-jtbOOG-tl12.js} +25 -25
  203. package/cdn/assets/{B4492m5zRjz4JWIo2.js → BixsQGDDf3Iv_PtW2.js} +5 -10
  204. package/cdn/assets/{JL1xk8XqkuTOA_as2.js → Bl6C6xWT8E6b7OwJ2.js} +18 -18
  205. package/cdn/assets/{Cd8G1nX1dKzp-mho.js → BqTFwWLbXXJ0Fu-X.js} +1 -1
  206. package/cdn/assets/{ByJMrAYRARLc7uZQ.js → Bv_96nwOEMHN9Sa0.js} +1 -1
  207. package/{browser/esm/D5BuXc-kVnr6Xiae.mjs → cdn/assets/BykiUmcpDgSRNQI1.js} +1 -1
  208. package/cdn/assets/{DEyeWdXLwDRo2yYf2.js → BzUU8y1IFjREzgog2.js} +8 -8
  209. package/cdn/assets/{BjYIAiuzZbD-dk82.js → C1ZePT2B182vSnxW.js} +1 -1
  210. package/cdn/assets/{DGWhm91XZlY1GWHe2.js → C8mUyjJ26jsHGl_D.js} +6 -6
  211. package/cdn/assets/{Ykh10IaXTKA2XWot2.js → CAPgMrAKg07EREFD2.js} +1 -1
  212. package/cdn/assets/{B0N6rTGGJN2DZPaf.js → CBuvbUg67ah_3BOZ.js} +2 -2
  213. package/cdn/assets/{BetL7yI63lEdQ0gM2.js → CEN8dYSpN2oew8HH2.js} +1 -1
  214. package/{browser/esm/BOMct7uvqiNJIS63.mjs → cdn/assets/CF8m5SqeMaRkGIYM.js} +2 -2
  215. package/{browser/esm/BRBHACVjnV1_6VLQ2.mjs → cdn/assets/CG5v2hAwGR5Ptufn2.js} +1 -1
  216. package/{browser/esm/CsKCqLuggHhYC93k2.mjs → cdn/assets/CGqvy5LwQ4z9J2oD.js} +1 -1
  217. package/{browser/esm/CbJ_xQftC08KrH3E2.mjs → cdn/assets/CGyydD3tRb0ik50l.js} +1 -1
  218. package/cdn/assets/CH0of3GZTzHviuQV.js +24 -0
  219. package/cdn/assets/CH0of3GZTzHviuQV2.js +24 -0
  220. package/cdn/assets/{BIPjogMyMmLRly43.js → CHttngK66Ido5dWW.js} +7 -7
  221. package/{browser/esm/DJSXXWTUJGbXqLLx.mjs → cdn/assets/CJPemkFUzhcAD_qR.js} +1 -1
  222. package/cdn/assets/{C4vqrW3EmJDy1otX.js → COA_SZY2x8q6t4BD.js} +1 -1
  223. package/{browser/esm/BPAEbeXV75XIAS4n2.mjs → cdn/assets/CR3jgkduTLczbMjH.js} +1 -1
  224. package/cdn/assets/{CnfGgjuCEyX-PYs_2.js → CT3G9YRPVfKtHWwf2.js} +12 -12
  225. package/{browser/esm/Eszk9OugmYOhaS2s.mjs → cdn/assets/C_Io1QC4CeLGRBrz.js} +2 -2
  226. package/{browser/esm/D4aK0uTRJQpM6392.mjs → cdn/assets/Cbw0JeJURvQyxIoa.js} +1 -1
  227. package/cdn/assets/{DrKUGkrCTKZHu8XC.js → CdMv3f8Gyxh8q2RR.js} +1 -1
  228. package/cdn/assets/{BOTU30yJHbaNehFS.js → Ce5A_D4YBgi_s2KF.js} +8 -8
  229. package/{browser/esm/MHuhAgQAA8zcnWkd.mjs → cdn/assets/CfvrjQGuf7vXiQCB2.js} +1 -1
  230. package/cdn/assets/{DY9zG4TdF0FAs_QP2.js → Chq4BwbjH0sbIkJN2.js} +2 -2
  231. package/cdn/assets/{BxecIrskOMQZB-Xc.js → Clfp7SznkOrJoQvL.js} +1 -1
  232. package/{browser/esm/PAu9erpoOTNzgNbN.mjs → cdn/assets/CopfZ7Y1Zn_PDNXK.js} +2 -2
  233. package/{browser/esm/DdaO25i-WWFSh1W0.mjs → cdn/assets/CpYlf4dXa_V2v-iS2.js} +508 -508
  234. package/cdn/assets/{BO2NRW9sjHGE9tg-2.js → CpnA5TZRkPDt4HnM2.js} +2 -2
  235. package/cdn/assets/{NZO3-fDBtqhmCsbB2.js → Crkvq5j5KIa6eTLI2.js} +12471 -12078
  236. package/{browser/esm/Bce8ZTUCpXr5Y_zl.mjs → cdn/assets/CtXoSHbCUKMY-tSJ2.js} +1 -1
  237. package/cdn/assets/{CdPxVRKpCOqCDHI8.js → Cv-KXN9kl0UeMezQ.js} +215 -215
  238. package/cdn/assets/{BouCHi6QnBrUDYkx.js → CvtkpvGzCHhNuwTm.js} +2181 -2096
  239. package/cdn/assets/{llvXNxZaCMnYqvSm.js → D-fJXasEYyfRUcj2.js} +3 -3
  240. package/cdn/assets/{DlLXCXDokJ72EW-E.js → D1MA2ed2cLMt7hV9.js} +7 -7
  241. package/cdn/assets/{hsy1zALC1oNNm5Sf.js → D3G3tI3DVCUF3Gdk2.js} +1 -1
  242. package/cdn/assets/{Bjx-9lUaScF5-Hki.js → D6SKy2BtcWkhfiA0.js} +1 -1
  243. package/cdn/assets/{B_U_UpQXdbjNRthb.js → D9-wpGVbTS9rRpxx.js} +1 -1
  244. package/cdn/assets/{CSkSOhGT8E29E2Nh2.js → D9gETGi23d14kT7u2.js} +15 -15
  245. package/cdn/assets/{BjN8kU7URKZwGlmk2.js → D9joTG0Z2zdWHAEa2.js} +3 -3
  246. package/cdn/assets/{BrUe0MnOhxzeOngn.js → DBL3Qp5jyPrFg7KI.js} +1 -1
  247. package/cdn/assets/{HeznPoDlSj26Q4lq.js → DC9obE_EVmxtvXCf.js} +2196 -2195
  248. package/cdn/assets/{CDqMmEdh_CPaFCCi2.js → DCnA2-zB7W_QB-tD2.js} +9 -9
  249. package/cdn/assets/{BdmCBWTVHb7KuHxO2.js → DDNivpFWzQ3AIJia.js} +327 -327
  250. package/cdn/assets/{B-dSKzg5shPDd733.js → DDOO4tcrO4OfMUDe.js} +1 -1
  251. package/cdn/assets/{D57KcDfTbBzf_NGr.js → DEUY_zuVwmptMX4l.js} +7 -7
  252. package/cdn/assets/{DEFEOS3OuA23llF92.js → DIQf1pX-j-dWQu_e.js} +12 -12
  253. package/cdn/assets/{Wb48SedqaKMZnxym.js → DJwQ9abZkyFO9Doy.js} +4 -4
  254. package/cdn/assets/{KJzdwvEWwCwAXuo4.js → DKeLjEJPO9nT3bpr.js} +6 -6
  255. package/cdn/assets/{Dy5Z2XIqS7-0tdjc2.js → DLEdaT0MmrOxMa2h2.js} +41 -41
  256. package/cdn/assets/{CIgn8uIPaadIJP4a2.js → DOsbSsKsexrBoeXa2.js} +10 -10
  257. package/{browser/esm/DOsKUeLPwFIdzQv32.mjs → cdn/assets/DQ-0yyFAwoWtxmhV2.js} +1 -1
  258. package/{browser/esm/BGWyNjrM55ce-D1o2.mjs → cdn/assets/DQ4o4dG7gWbL1X8F.js} +1 -1
  259. package/{browser/esm/CmYCYFWjq9KP6xw72.mjs → cdn/assets/DRc_Wi5c7WdKHTVN.js} +1 -1
  260. package/cdn/assets/{Cb71rZAQvCk3wnfp.js → DTCtbG90ip7Z7LaG.js} +6 -6
  261. package/cdn/assets/{B2BvBxjz3Kfii_Gn2.js → DVS_5oDniuAFH3vT2.js} +1020 -1020
  262. package/cdn/assets/{DpNYiOK112bFC3KK2.js → DW7JlG-SQEdLYNar2.js} +3 -3
  263. package/cdn/assets/{DJHOKENCVOJMx3aE2.js → DZDynaLqNeVaDoiH2.js} +9 -9
  264. package/{browser/esm/FVJ1akngxeMiYwPa.mjs → cdn/assets/DZbR5R1fNikjgqYb.js} +1 -1
  265. package/cdn/assets/{XSUr59k0gaFIS1Qf2.js → D_HeH7AJqWoxehn52.js} +3 -3
  266. package/{browser/esm/C7xBBqvPqat9oEft.mjs → cdn/assets/D_t53-8k73CNpV-p2.js} +72 -46
  267. package/{browser/esm/DOIVDuyf7YyJZjcD.mjs → cdn/assets/DaBczM5xU9ev5_or.js} +2 -2
  268. package/cdn/assets/{D-tQc4bi3FzGVnFg.js → DbEGszSW_J_k96KJ.js} +2 -2
  269. package/cdn/assets/{DENx9Ts-f8adXw3Y.js → Dc0BDcQUGy_WIVFa.js} +1 -1
  270. package/{browser/esm/CpEgh9EOkeMvwAuj.mjs → cdn/assets/DfRGH6mEtIVDWEYN.js} +1 -1
  271. package/{browser/esm/CJGlwQusOCSy9ZAb2.mjs → cdn/assets/Dnx3_xXfRlD6ECfZ.js} +1 -1
  272. package/cdn/assets/{BynqRVXFRplO7XgC.js → DnzDlqizzNkbhJP7.js} +2 -2
  273. package/cdn/assets/{DJk14sSSnSHiEXZ7.js → DrUEYcXg6N2D2s1Z.js} +1 -1
  274. package/cdn/assets/{BdhFhDEa7Xed6dFE.js → DvItgGbf8IOWPyxd.js} +28240 -27892
  275. package/cdn/assets/{CgsQuAbp76UOAPHm2.js → DvlpP6sUZ9Qzl9s22.js} +49 -49
  276. package/cdn/assets/{DeFts-aGqB-RDuV1.js → EjOJX5m8OEL-IjPB.js} +6 -6
  277. package/cdn/assets/{Bc2Dp6W4U_22cv7c2.js → EwzqnZl1lTr56hH-.js} +1 -1
  278. package/cdn/assets/{PzCXbVRf1jOHVOAw.js → Gy0CHZTvn4hY-rkx.js} +1 -1
  279. package/cdn/assets/{DM4g0nYgYXgI44dL.js → R5bs6kCQSZmsCXz-2.js} +1 -1
  280. package/cdn/assets/{CuIUyLNDoHvYMJaQ2.js → UYgwKnPX3US3Cj2k2.js} +14 -14
  281. package/cdn/assets/{CLhSKL0Xdm8miSTy.js → WLUhtyUNK5QJ7Pff.js} +3 -3
  282. package/cdn/assets/{DaX0_AkJxkaUnNT7.js → c6VvwMHfXubjjtyj.js} +7 -7
  283. package/cdn/assets/{Dhq9e6LCpmlIkFod.js → c7aIqKLOO4pvUsV12.js} +72 -72
  284. package/cdn/assets/{DQhvG3cP0HPB6giA2.js → gspQcUnmlRIwG609.js} +5 -5
  285. package/{browser/esm/g8dDbkwbYjhKWJM22.mjs → cdn/assets/hFSDx-LnUOObv-6h.js} +1 -1
  286. package/cdn/assets/{Bj8bWbLg1IY965tK.js → iXWgTu3qpYZHcx1J.js} +8 -8
  287. package/cdn/assets/{DiKc6jzGM1isrN02.js → j8nXVEYbO2kPuEYQ.js} +3 -3
  288. package/cdn/assets/{Wsgx1I_j1chJ6hwn.js → mtI43hWjdp4E3Z_-.js} +9 -9
  289. package/{browser/esm/Ca6NSkWoi9DvRJjQ.mjs → cdn/assets/mtrwY1hjJeYlmzC-.js} +3 -3
  290. package/cdn/assets/{B8ok93z6wOu1Mo5H.js → nmR_PgTW7GrlbHHZ.js} +5 -5
  291. package/cdn/assets/{CTwLETvNO4KeXbkK.js → qG5zdZZAe6mQIJo3.js} +1 -1
  292. package/cdn/assets/{Dr1U0I01_KIa9vgR2.js → tVOVNvOs6ro8FXqa2.js} +8 -8
  293. package/cdn/assets/vTCuFafvRlSaT9wy.js +87 -0
  294. package/cdn/assets/{B4fSPDN923nqCDVE.js → vcRSnmAqjwKglEkY2.js} +1 -1
  295. package/cdn/index.js +2 -2
  296. package/package.json +3 -3
  297. package/browser/cjs/BClFnd-voK5qaz1I.cjs +0 -88
  298. package/browser/cjs/BF14ZEAnaqxXroSj.cjs +0 -1
  299. package/browser/cjs/BVN0uo1XwTCtE2mh.cjs +0 -7
  300. package/browser/cjs/BjgiE9MBDkKiRL6q.cjs +0 -3
  301. package/browser/cjs/Byl4bQWpLnjthChn2.cjs +0 -7
  302. package/browser/cjs/BzsAbsb35hYT3xUc.cjs +0 -5
  303. package/browser/cjs/C8GZf3UAOhfisYCs.cjs +0 -1
  304. package/browser/cjs/CEXs4eRDOv4EjbSw2.cjs +0 -1
  305. package/browser/cjs/CLXzYSmhCHV5LQh7.cjs +0 -1
  306. package/browser/cjs/CN-dCAHVcxuMSyFz.cjs +0 -1
  307. package/browser/cjs/CZfNBCd62H_Jpkhl.cjs +0 -12
  308. package/browser/cjs/CoiPEZabJyiXxLta.cjs +0 -1
  309. package/browser/cjs/DAXgAEDtRrsWAePT.cjs +0 -1
  310. package/browser/cjs/DDPxHIqx8aIbqTRE.cjs +0 -1
  311. package/browser/cjs/DsgqbxMOVQmAFSDy2.cjs +0 -1
  312. package/browser/cjs/Dtc_8P-koQRmNT2s.cjs +0 -33
  313. package/browser/cjs/IbciPMJP2Pam3ERm.cjs +0 -1
  314. package/browser/cjs/bpcQTcfzGVBK-rfT2.cjs +0 -1
  315. package/browser/esm/BPwpFe7c1-F62aAU.mjs +0 -518
  316. package/browser/esm/ohVj-y1gCC9PEHJI.mjs +0 -87
  317. package/cdn/assets/CXrcgTVB77CopjOJ.js +0 -518
  318. package/cdn/assets/DjS4iUli-T3uuUfK.js +0 -24
  319. package/cdn/assets/DjS4iUli-T3uuUfK2.js +0 -24
  320. package/cdn/assets/zrS_ERBQML_OXJ4J.js +0 -87
  321. /package/browser/cjs/{1XrWGMP3GmsQOMIX.cjs → 1XrWGMP3GmsQOMIX2.cjs} +0 -0
  322. /package/browser/cjs/{49_x589Na12sizKK2.cjs → 49_x589Na12sizKK.cjs} +0 -0
  323. /package/browser/cjs/{BAxVLKkxFgI6cXnR2.cjs → BAxVLKkxFgI6cXnR.cjs} +0 -0
  324. /package/browser/cjs/{Btc0Nzu40VYOpzLX2.cjs → Btc0Nzu40VYOpzLX.cjs} +0 -0
  325. /package/browser/cjs/{C2uDl8VIJqh58YF_2.cjs → C2uDl8VIJqh58YF_.cjs} +0 -0
  326. /package/browser/cjs/{C9C-pr-T_ThweQX9.cjs → C9C-pr-T_ThweQX92.cjs} +0 -0
  327. /package/browser/cjs/{CV4KQsHluMqo1I2Q2.cjs → CV4KQsHluMqo1I2Q.cjs} +0 -0
  328. /package/browser/cjs/{CW-b31_-r-_raT8Y.cjs → CW-b31_-r-_raT8Y2.cjs} +0 -0
  329. /package/browser/cjs/{Clu7XiAsCB48GDXN.cjs → Clu7XiAsCB48GDXN2.cjs} +0 -0
  330. /package/browser/cjs/{DCIlWcGDrp-5PDoA2.cjs → DCIlWcGDrp-5PDoA.cjs} +0 -0
  331. /package/browser/cjs/{DDnGLOLTqLFsdUDS.cjs → DDnGLOLTqLFsdUDS2.cjs} +0 -0
  332. /package/browser/cjs/{DG2kqsWRUtVugjay.cjs → DG2kqsWRUtVugjay2.cjs} +0 -0
  333. /package/browser/cjs/{DNKyaSruDogoBd2H.cjs → DNKyaSruDogoBd2H2.cjs} +0 -0
  334. /package/browser/cjs/{Du4jBiFxRIF1OjD42.cjs → Du4jBiFxRIF1OjD4.cjs} +0 -0
  335. /package/browser/cjs/{JfM6P_qoQQTWakZf2.cjs → JfM6P_qoQQTWakZf.cjs} +0 -0
  336. /package/browser/cjs/{aONv0Ys3C8xmnaR8.cjs → aONv0Ys3C8xmnaR82.cjs} +0 -0
@@ -1,32 +1,32 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.28-beta.4
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.1
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
- import { r as e } from "./B_U_UpQXdbjNRthb.js";
8
- import { t } from "./BynqRVXFRplO7XgC.js";
9
- import { t as n } from "./DiKc6jzGM1isrN02.js";
10
- import { t as r } from "./B0N6rTGGJN2DZPaf.js";
11
- import { A as i, R as a, _ as o, d as s, g as c, j as l, s as u, t as d, v as f } from "./BetL7yI63lEdQ0gM2.js";
12
- import { a as p, n as m } from "./C7xBBqvPqat9oEft2.js";
13
- import { Mt as h, Q as g, Ut as _, b as v, dt as y, q as b, st as x, un as S } from "./NZO3-fDBtqhmCsbB2.js";
14
- import { t as C } from "./hsy1zALC1oNNm5Sf.js";
15
- import { r as w, t as ee } from "./DeFts-aGqB-RDuV1.js";
16
- import { $t as T, B as E, C as D, D as te, Dt as ne, Et as O, G as k, K as re, N as ie, Ot as ae, Rt as A, T as oe, W as se, Xt as j, Y as ce, _ as le, b as ue, c as de, ct as fe, dt as pe, ft as me, h as M, i as he, it as ge, m as N, n as _e, nt as P, ot as ve, p as F, rt as ye, s as be, st as xe, t as I, tt as Se, v as Ce, w as we, x as Te, y as Ee, yt as De } from "./DW2yQm-sEcHogX7E.js";
17
- import { $ as Oe, At as ke, B as Ae, Bt as je, E as Me, Et as Ne, F as Pe, Ft as Fe, G as Ie, H as L, Ht as Le, J as Re, M as ze, Mt as Be, N as Ve, Nt as He, O as Ue, P as We, Q as Ge, St as Ke, Tt as qe, Vt as Je, W as Ye, Y as Xe, _ as Ze, _t as Qe, a as $e, et as R, i as z, it as B, jt as et, k as tt, lt as nt, m as rt, o as it, ot as at, pt as ot, q as st, qt as ct, rt as lt, st as ut, u as dt, v as ft, vt as pt, x as V, xt as mt, zt as ht } from "./BdhFhDEa7Xed6dFE.js";
18
- import { $ as gt, C as _t, Ct as vt, D as yt, Et as bt, F as xt, H as St, I as Ct, J as wt, L as Tt, N as H, St as Et, Tt as Dt, V as Ot, _t as U, bt as kt, ct as W, g as At, k as jt, lt as Mt, nt as Nt, s as Pt, st as Ft, ut as G, v as It, vt as Lt, yt as Rt } from "./Bj8bWbLg1IY965tK.js";
19
- import { D as zt, E as Bt, S as Vt, h as K, p as Ht, r as Ut, t as q } from "./KJzdwvEWwCwAXuo4.js";
20
- import { A as Wt, C as Gt, D as Kt, E as qt, F as Jt, I as Yt, M as Xt, N as Zt, O as Qt, P as $t, S as en, T as tn, _ as nn, a as rn, b as an, c as on, d as sn, f as cn, g as ln, h as un, i as dn, j as fn, k as pn, l as mn, m as hn, o as gn, p as _n, r as vn, s as yn, u as bn, v as xn, w as Sn, x as Cn, y as wn } from "./HeznPoDlSj26Q4lq.js";
21
- import { n as Tn, t as En } from "./DaX0_AkJxkaUnNT7.js";
22
- import { t as J } from "./DlLXCXDokJ72EW-E.js";
23
- import { t as Y } from "./BOTU30yJHbaNehFS.js";
24
- import { t as Dn } from "./Cb71rZAQvCk3wnfp.js";
25
- import { t as On } from "./BIPjogMyMmLRly43.js";
26
- import { n as kn } from "./omgRvCRxe7suvog8.js";
27
- import { r as An } from "./Dhq9e6LCpmlIkFod.js";
28
- import { i as jn } from "./XSUr59k0gaFIS1Qf2.js";
29
- var Mn = bt(), X = e(t(), 1), Nn = X.createContext(null);
7
+ import { r as e } from "./D9-wpGVbTS9rRpxx.js";
8
+ import { t } from "./DnzDlqizzNkbhJP7.js";
9
+ import { t as n } from "./j8nXVEYbO2kPuEYQ.js";
10
+ import { t as r } from "./CBuvbUg67ah_3BOZ.js";
11
+ import { o as i, t as a } from "./D_t53-8k73CNpV-p2.js";
12
+ import { A as o, R as s, _ as c, d as l, g as u, j as d, s as f, t as p, v as m } from "./CEN8dYSpN2oew8HH2.js";
13
+ import { B as h, G as g, I as _, Q as v, Y as y, ct as b, dt as x, pt as S } from "./Crkvq5j5KIa6eTLI2.js";
14
+ import { r as C, t as w } from "./EjOJX5m8OEL-IjPB.js";
15
+ import { $t as T, B as E, C as D, D as ee, Dt as te, Et as ne, G as O, K as re, N as ie, Ot as ae, Rt as k, T as oe, W as se, Xt as A, Y as ce, _ as le, b as ue, c as de, ct as fe, dt as pe, ft as me, h as j, i as M, it as he, m as N, n as ge, nt as _e, ot as ve, p as P, rt as ye, s as be, st as xe, t as F, tt as Se, v as Ce, w as we, x as Te, y as Ee, yt as De } from "./BNybEGR813e3aNIv.js";
16
+ import { $ as Oe, C as ke, Ct as Ae, D as je, Et as Me, F as I, H as L, I as Ne, J as Pe, L as Fe, N as R, St as Ie, Tt as Le, V as Re, _t as z, bt as ze, ct as B, g as Be, k as Ve, lt as V, nt as H, s as U, st as He, ut as W, v as Ue, vt as We, yt as Ge } from "./iXWgTu3qpYZHcx1J.js";
17
+ import { D as Ke, E as qe, S as Je, h as Ye, p as G, r as Xe, t as K } from "./DKeLjEJPO9nT3bpr.js";
18
+ import { A as Ze, C as Qe, D as $e, E as et, F as tt, I as nt, O as rt, P as it, S as at, T as ot, _ as st, a as ct, b as lt, c as ut, d as dt, f as ft, g as pt, h as mt, i as ht, j as gt, k as _t, l as vt, m as yt, n as bt, o as xt, p as St, r as Ct, s as wt, t as Tt, u as Et, v as Dt, w as Ot, x as kt, y as At } from "./DC9obE_EVmxtvXCf.js";
19
+ import { n as jt, t as q } from "./c6VvwMHfXubjjtyj.js";
20
+ import { t as J } from "./D1MA2ed2cLMt7hV9.js";
21
+ import { t as Y } from "./Ce5A_D4YBgi_s2KF.js";
22
+ import { t as Mt } from "./DTCtbG90ip7Z7LaG.js";
23
+ import { $ as Nt, A as Pt, B as Ft, Ct as It, D as Lt, Dt as Rt, E as zt, F as Bt, Ft as Vt, Gt as Ht, I as Ut, K as Wt, Kt as Gt, N as Kt, O as qt, Pt as Jt, Q as Yt, Rt as Xt, S as Zt, St as Qt, Ut as $t, V as en, W as tn, X as nn, Xt as rn, Yt as an, Zt as on, _ as sn, a as cn, ct as ln, et as un, f as dn, jt as fn, k as pn, l as mn, lt as hn, mt as gn, n as _n, nt as vn, p as yn, pt as bn, r as xn, t as Sn, u as Cn, v as wn, w as Tn, xt as En } from "./DvItgGbf8IOWPyxd.js";
24
+ import { t as Dn } from "./CHttngK66Ido5dWW.js";
25
+ import { n as On } from "./BVgTMDEoPgsWFmku.js";
26
+ import { t as kn } from "./D3G3tI3DVCUF3Gdk2.js";
27
+ import { i as An } from "./D_HeH7AJqWoxehn52.js";
28
+ import { r as jn } from "./c7aIqKLOO4pvUsV12.js";
29
+ var Mn = Me(), X = e(t(), 1), Nn = X.createContext(null);
30
30
  function Pn() {
31
31
  return X.useContext(Nn);
32
32
  }
@@ -73,8 +73,8 @@ function Rn(e, t, n, r = !1) {
73
73
  }
74
74
  function zn(e) {
75
75
  let { children: t, theme: n, themeId: r } = e, i = le(Ln), a = Pn() || Ln, o = Rn(r, i, n), s = Rn(r, a, n, !0), c = (r ? o[r] : o).direction === "rtl", l = function(e) {
76
- let t = le(), n = Lt() || "", { modularCssLayers: r } = e, i = "mui.global, mui.components, mui.theme, mui.custom, mui.sx";
77
- return i = r && t === null ? typeof r == "string" ? r.replace(/mui(?!\.)/g, i) : `@layer ${i};` : "", Et(() => {
76
+ let t = le(), n = We() || "", { modularCssLayers: r } = e, i = "mui.global, mui.components, mui.theme, mui.custom, mui.sx";
77
+ return i = r && t === null ? typeof r == "string" ? r.replace(/mui(?!\.)/g, i) : `@layer ${i};` : "", Ie(() => {
78
78
  let e = document.querySelector("head");
79
79
  if (!e) return;
80
80
  let t = e.firstChild;
@@ -83,15 +83,15 @@ function zn(e) {
83
83
  let r = document.createElement("style");
84
84
  r.setAttribute("data-mui-layer-order", n), r.textContent = i, e.prepend(r);
85
85
  } else e.querySelector(`style[data-mui-layer-order="${n}"]`)?.remove();
86
- }, [i, n]), i ? (0, Z.jsx)(Bt, { styles: i }) : null;
86
+ }, [i, n]), i ? (0, Z.jsx)(qe, { styles: i }) : null;
87
87
  }(o);
88
88
  return (0, Z.jsx)(In, {
89
89
  theme: s,
90
90
  children: (0, Z.jsx)(ie.Provider, {
91
91
  value: o,
92
- children: (0, Z.jsx)(kt, {
92
+ children: (0, Z.jsx)(ze, {
93
93
  value: c,
94
- children: (0, Z.jsxs)(Rt, {
94
+ children: (0, Z.jsxs)(Ge, {
95
95
  value: r ? o[r].components : o.components,
96
96
  children: [l, t]
97
97
  })
@@ -257,7 +257,7 @@ var Yn = Ce(), Xn = Mn("div", {
257
257
  slot: "Root"
258
258
  });
259
259
  function Zn(e) {
260
- return vt({
260
+ return Ae({
261
261
  props: e,
262
262
  name: "MuiStack",
263
263
  defaultTheme: Yn
@@ -289,7 +289,7 @@ var $n = ({ ownerState: e, theme: t }) => {
289
289
  let r = t > 0 ? a[n[t - 1]] : "column";
290
290
  a[e] = r;
291
291
  }
292
- }), n = te(n, D({ theme: t }, o, (t, n) => {
292
+ }), n = ee(n, D({ theme: t }, o, (t, n) => {
293
293
  return e.useFlexGap ? { gap: Te(r, t) } : {
294
294
  "& > :not(style):not(style)": { margin: 0 },
295
295
  "& > :not(style) ~ :not(style)": { [`margin${i = n ? a[n] : e.direction, {
@@ -307,7 +307,7 @@ var $n = ({ ownerState: e, theme: t }) => {
307
307
  function er(e) {
308
308
  return N("MuiAccordionSummary", e);
309
309
  }
310
- var tr = F("MuiAccordionSummary", [
310
+ var tr = P("MuiAccordionSummary", [
311
311
  "root",
312
312
  "expanded",
313
313
  "focusVisible",
@@ -319,7 +319,7 @@ var tr = F("MuiAccordionSummary", [
319
319
  function nr(e) {
320
320
  return N("MuiToggleButton", e);
321
321
  }
322
- var rr = F("MuiToggleButton", [
322
+ var rr = P("MuiToggleButton", [
323
323
  "root",
324
324
  "disabled",
325
325
  "selected",
@@ -352,30 +352,30 @@ var { CssVarsProvider: ar, useColorScheme: or, getInitColorSchemeScript: sr } =
352
352
  }, l = X.createContext(void 0), u = {}, d = {}, f = typeof o == "string" ? o : o.light, p = typeof o == "string" ? o : o.dark;
353
353
  return {
354
354
  CssVarsProvider: function(e) {
355
- let { children: c, theme: f, modeStorageKey: p = r, colorSchemeStorageKey: m = i, disableTransitionOnChange: h = a, storageManager: g, storageWindow: _ = typeof window > "u" ? void 0 : window, documentNode: v = typeof document > "u" ? void 0 : document, colorSchemeNode: y = typeof document > "u" ? void 0 : document.documentElement, disableNestedContext: b = !1, disableStyleSheetGeneration: x = !1, defaultMode: S = "system", forceThemeRerender: C = !1, noSsr: w } = e, ee = X.useRef(!1), T = Pn(), E = X.useContext(l), D = !!E && !b, te = X.useMemo(() => f || (typeof n == "function" ? n() : n), [f]), ne = te[t], O = ne || te, { colorSchemes: k = u, components: re = d, cssVarPrefix: ie } = O, ae = Object.keys(k).filter((e) => !!k[e]).join(","), A = X.useMemo(() => ae.split(","), [ae]), oe = typeof o == "string" ? o : o.light, se = typeof o == "string" ? o : o.dark, { mode: j, setMode: ce, systemMode: le, lightColorScheme: ue, darkColorScheme: de, colorScheme: fe, setColorScheme: pe } = Jn({
356
- supportedColorSchemes: A,
357
- defaultLightColorScheme: oe,
358
- defaultDarkColorScheme: se,
355
+ let { children: c, theme: f, modeStorageKey: p = r, colorSchemeStorageKey: m = i, disableTransitionOnChange: h = a, storageManager: g, storageWindow: _ = typeof window > "u" ? void 0 : window, documentNode: v = typeof document > "u" ? void 0 : document, colorSchemeNode: y = typeof document > "u" ? void 0 : document.documentElement, disableNestedContext: b = !1, disableStyleSheetGeneration: x = !1, defaultMode: S = "system", forceThemeRerender: C = !1, noSsr: w } = e, T = X.useRef(!1), E = Pn(), D = X.useContext(l), ee = !!D && !b, te = X.useMemo(() => f || (typeof n == "function" ? n() : n), [f]), ne = te[t], O = ne || te, { colorSchemes: re = u, components: ie = d, cssVarPrefix: ae } = O, k = Object.keys(re).filter((e) => !!re[e]).join(","), oe = X.useMemo(() => k.split(","), [k]), se = typeof o == "string" ? o : o.light, A = typeof o == "string" ? o : o.dark, { mode: ce, setMode: le, systemMode: ue, lightColorScheme: de, darkColorScheme: fe, colorScheme: pe, setColorScheme: me } = Jn({
356
+ supportedColorSchemes: oe,
357
+ defaultLightColorScheme: se,
358
+ defaultDarkColorScheme: A,
359
359
  modeStorageKey: p,
360
360
  colorSchemeStorageKey: m,
361
- defaultMode: k[oe] && k[se] ? S : k[O.defaultColorScheme]?.palette?.mode || O.palette?.mode,
361
+ defaultMode: re[se] && re[A] ? S : re[O.defaultColorScheme]?.palette?.mode || O.palette?.mode,
362
362
  storageManager: g,
363
363
  storageWindow: _,
364
364
  noSsr: w
365
- }), me = j, M = fe;
366
- D && (me = E.mode, M = E.colorScheme);
365
+ }), j = ce, M = pe;
366
+ ee && (j = D.mode, M = D.colorScheme);
367
367
  let he = M || O.defaultColorScheme;
368
368
  O.vars && !C && (he = O.defaultColorScheme);
369
- let ge = X.useMemo(() => {
369
+ let N = X.useMemo(() => {
370
370
  let e = O.generateThemeVars?.() || O.vars, t = {
371
371
  ...O,
372
- components: re,
373
- colorSchemes: k,
374
- cssVarPrefix: ie,
372
+ components: ie,
373
+ colorSchemes: re,
374
+ cssVarPrefix: ae,
375
375
  vars: e
376
376
  };
377
377
  if (typeof t.generateSpacing == "function" && (t.spacing = t.generateSpacing()), he) {
378
- let e = k[he];
378
+ let e = re[he];
379
379
  e && typeof e == "object" && Object.keys(e).forEach((n) => {
380
380
  e[n] && typeof e[n] == "object" ? t[n] = {
381
381
  ...t[n],
@@ -387,19 +387,19 @@ var { CssVarsProvider: ar, useColorScheme: or, getInitColorSchemeScript: sr } =
387
387
  }, [
388
388
  O,
389
389
  he,
390
+ ie,
390
391
  re,
391
- k,
392
- ie
393
- ]), N = O.colorSchemeSelector;
394
- Et(() => {
395
- if (M && y && N && N !== "media") {
396
- let e = N, t = N;
397
- if (e === "class" && (t = ".%s"), e === "data" && (t = "[data-%s]"), e?.startsWith("data-") && !e.includes("%s") && (t = `[${e}="%s"]`), t.startsWith(".")) y.classList.remove(...A.map((e) => t.substring(1).replace("%s", e))), y.classList.add(t.substring(1).replace("%s", M));
392
+ ae
393
+ ]), ge = O.colorSchemeSelector;
394
+ Ie(() => {
395
+ if (M && y && ge && ge !== "media") {
396
+ let e = ge, t = ge;
397
+ if (e === "class" && (t = ".%s"), e === "data" && (t = "[data-%s]"), e?.startsWith("data-") && !e.includes("%s") && (t = `[${e}="%s"]`), t.startsWith(".")) y.classList.remove(...oe.map((e) => t.substring(1).replace("%s", e))), y.classList.add(t.substring(1).replace("%s", M));
398
398
  else {
399
399
  let e = t.replace("%s", M).match(/\[([^\]]+)\]/);
400
400
  if (e) {
401
401
  let [t, n] = e[1].split("=");
402
- n || A.forEach((e) => {
402
+ n || oe.forEach((e) => {
403
403
  y.removeAttribute(t.replace(M, e));
404
404
  }), y.setAttribute(t, n ? n.replace(/"|'/g, "") : "");
405
405
  } else y.setAttribute(t, M);
@@ -407,12 +407,12 @@ var { CssVarsProvider: ar, useColorScheme: or, getInitColorSchemeScript: sr } =
407
407
  }
408
408
  }, [
409
409
  M,
410
- N,
410
+ ge,
411
411
  y,
412
- A
412
+ oe
413
413
  ]), X.useEffect(() => {
414
414
  let e;
415
- if (h && ee.current && v) {
415
+ if (h && T.current && v) {
416
416
  let t = v.createElement("style");
417
417
  t.appendChild(v.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")), v.head.appendChild(t), window.getComputedStyle(v.body), e = setTimeout(() => {
418
418
  v.head.removeChild(t);
@@ -425,38 +425,38 @@ var { CssVarsProvider: ar, useColorScheme: or, getInitColorSchemeScript: sr } =
425
425
  M,
426
426
  h,
427
427
  v
428
- ]), X.useEffect(() => (ee.current = !0, () => {
429
- ee.current = !1;
428
+ ]), X.useEffect(() => (T.current = !0, () => {
429
+ T.current = !1;
430
430
  }), []);
431
431
  let _e = X.useMemo(() => ({
432
- allColorSchemes: A,
432
+ allColorSchemes: oe,
433
433
  colorScheme: M,
434
- darkColorScheme: de,
435
- lightColorScheme: ue,
436
- mode: me,
437
- setColorScheme: pe,
438
- setMode: ce,
439
- systemMode: le
434
+ darkColorScheme: fe,
435
+ lightColorScheme: de,
436
+ mode: j,
437
+ setColorScheme: me,
438
+ setMode: le,
439
+ systemMode: ue
440
440
  }), [
441
- A,
441
+ oe,
442
442
  M,
443
+ fe,
443
444
  de,
444
- ue,
445
+ j,
445
446
  me,
446
- pe,
447
- ce,
448
447
  le,
449
- ge.colorSchemeSelector
450
- ]), P = !0;
451
- (x || !1 === O.cssVariables || D && T?.cssVarPrefix === ie) && (P = !1);
452
- let ve = (0, Z.jsxs)(X.Fragment, { children: [(0, Z.jsx)(zn, {
448
+ ue,
449
+ N.colorSchemeSelector
450
+ ]), ve = !0;
451
+ (x || !1 === O.cssVariables || ee && E?.cssVarPrefix === ae) && (ve = !1);
452
+ let P = (0, Z.jsxs)(X.Fragment, { children: [(0, Z.jsx)(zn, {
453
453
  themeId: ne ? t : void 0,
454
- theme: ge,
454
+ theme: N,
455
455
  children: c
456
- }), P && (0, Z.jsx)(zt, { styles: ge.generateStyleSheets?.() || [] })] });
457
- return D ? ve : (0, Z.jsx)(l.Provider, {
456
+ }), ve && (0, Z.jsx)(Ke, { styles: N.generateStyleSheets?.() || [] })] });
457
+ return ee ? P : (0, Z.jsx)(l.Provider, {
458
458
  value: _e,
459
- children: ve
459
+ children: P
460
460
  });
461
461
  },
462
462
  useColorScheme: () => X.useContext(l) || c,
@@ -486,7 +486,7 @@ var { CssVarsProvider: ar, useColorScheme: or, getInitColorSchemeScript: sr } =
486
486
  };
487
487
  }({
488
488
  themeId: E,
489
- theme: () => he({ cssVariables: !0 }),
489
+ theme: () => M({ cssVariables: !0 }),
490
490
  colorSchemeStorageKey: "mui-color-scheme",
491
491
  modeStorageKey: "mui-mode",
492
492
  defaultColorScheme: {
@@ -527,7 +527,7 @@ var ur = X.createContext({});
527
527
  function dr(e) {
528
528
  return N("MuiAccordion", e);
529
529
  }
530
- var fr = F("MuiAccordion", [
530
+ var fr = P("MuiAccordion", [
531
531
  "root",
532
532
  "heading",
533
533
  "rounded",
@@ -535,7 +535,7 @@ var fr = F("MuiAccordion", [
535
535
  "disabled",
536
536
  "gutters",
537
537
  "region"
538
- ]), pr = G(Ot, {
538
+ ]), pr = W(Re, {
539
539
  name: "MuiAccordion",
540
540
  slot: "Root",
541
541
  overridesResolver: (e, t) => {
@@ -547,11 +547,11 @@ var fr = F("MuiAccordion", [
547
547
  !n.disableGutters && t.gutters
548
548
  ];
549
549
  }
550
- })(Mt(({ theme: e }) => {
550
+ })(V(({ theme: e }) => {
551
551
  let t = { duration: e.transitions.duration.shortest };
552
552
  return {
553
553
  position: "relative",
554
- ...Nt(e, ["margin"], t),
554
+ ...H(e, ["margin"], t),
555
555
  overflowAnchor: "none",
556
556
  "&::before": {
557
557
  position: "absolute",
@@ -562,7 +562,7 @@ var fr = F("MuiAccordion", [
562
562
  content: "\"\"",
563
563
  opacity: 1,
564
564
  backgroundColor: (e.vars || e).palette.divider,
565
- ...Nt(e, ["opacity", "background-color"], t)
565
+ ...H(e, ["opacity", "background-color"], t)
566
566
  },
567
567
  "&:first-of-type": { "&::before": { display: "none" } },
568
568
  [`&.${fr.expanded}`]: {
@@ -573,7 +573,7 @@ var fr = F("MuiAccordion", [
573
573
  },
574
574
  [`&.${fr.disabled}`]: { backgroundColor: (e.vars || e).palette.action.disabledBackground }
575
575
  };
576
- }), Mt(({ theme: e }) => ({ variants: [{
576
+ }), V(({ theme: e }) => ({ variants: [{
577
577
  props: (e) => !e.square,
578
578
  style: {
579
579
  borderRadius: 0,
@@ -593,17 +593,17 @@ var fr = F("MuiAccordion", [
593
593
  }, {
594
594
  props: (e) => !e.disableGutters,
595
595
  style: { [`&.${fr.expanded}`]: { margin: "16px 0" } }
596
- }] }))), mr = G("h3", {
596
+ }] }))), mr = W("h3", {
597
597
  name: "MuiAccordion",
598
598
  slot: "Heading"
599
- })({ all: "unset" }), hr = G("div", {
599
+ })({ all: "unset" }), hr = W("div", {
600
600
  name: "MuiAccordion",
601
601
  slot: "Region"
602
602
  })({}), gr = X.forwardRef(function(e, t) {
603
- let n = W({
603
+ let n = B({
604
604
  props: e,
605
605
  name: "MuiAccordion"
606
- }), { children: r, className: i, defaultExpanded: a = !1, disabled: o = !1, disableGutters: s = !1, expanded: c, onChange: l, slots: u = {}, slotProps: d = {}, ...f } = n, [p, m] = wt({
606
+ }), { children: r, className: i, defaultExpanded: a = !1, disabled: o = !1, disableGutters: s = !1, expanded: c, onChange: l, slots: u = {}, slotProps: d = {}, ...f } = n, [p, m] = Pe({
607
607
  controlled: c,
608
608
  default: a,
609
609
  name: "Accordion",
@@ -631,7 +631,7 @@ var fr = F("MuiAccordion", [
631
631
  expanded: p
632
632
  }, b = ((e) => {
633
633
  let { classes: t, square: n, expanded: r, disabled: i, disableGutters: a } = e;
634
- return U({
634
+ return z({
635
635
  root: [
636
636
  "root",
637
637
  !n && "rounded",
@@ -645,26 +645,26 @@ var fr = F("MuiAccordion", [
645
645
  })(y), x = {
646
646
  slots: u,
647
647
  slotProps: d
648
- }, [S, C] = St("root", {
648
+ }, [S, C] = L("root", {
649
649
  elementType: pr,
650
650
  externalForwardedProps: {
651
651
  ...x,
652
652
  ...f
653
653
  },
654
- className: M(b.root, i),
654
+ className: j(b.root, i),
655
655
  shouldForwardComponentProp: !0,
656
656
  ownerState: y,
657
657
  ref: t
658
- }), [w, ee] = St("heading", {
658
+ }), [w, T] = L("heading", {
659
659
  elementType: mr,
660
660
  externalForwardedProps: x,
661
661
  className: b.heading,
662
662
  ownerState: y
663
- }), [T, E] = St("transition", {
664
- elementType: Dn,
663
+ }), [E, D] = L("transition", {
664
+ elementType: Mt,
665
665
  externalForwardedProps: x,
666
666
  ownerState: y
667
- }), [D, te] = St("region", {
667
+ }), [ee, te] = L("region", {
668
668
  elementType: hr,
669
669
  externalForwardedProps: x,
670
670
  ownerState: y,
@@ -678,16 +678,16 @@ var fr = F("MuiAccordion", [
678
678
  return (0, Z.jsxs)(S, {
679
679
  ...C,
680
680
  children: [(0, Z.jsx)(w, {
681
- ...ee,
681
+ ...T,
682
682
  children: (0, Z.jsx)(ur.Provider, {
683
683
  value: v,
684
684
  children: g
685
685
  })
686
- }), (0, Z.jsx)(T, {
686
+ }), (0, Z.jsx)(E, {
687
687
  in: p,
688
688
  timeout: "auto",
689
- ...E,
690
- children: (0, Z.jsx)(D, {
689
+ ...D,
690
+ children: (0, Z.jsx)(ee, {
691
691
  ...te,
692
692
  children: _
693
693
  })
@@ -697,33 +697,33 @@ var fr = F("MuiAccordion", [
697
697
  function _r(e) {
698
698
  return N("MuiAccordionDetails", e);
699
699
  }
700
- F("MuiAccordionDetails", ["root"]);
701
- var vr = G("div", {
700
+ P("MuiAccordionDetails", ["root"]);
701
+ var vr = W("div", {
702
702
  name: "MuiAccordionDetails",
703
703
  slot: "Root"
704
- })(Mt(({ theme: e }) => ({ padding: e.spacing(1, 2, 2) }))), yr = X.forwardRef(function(e, t) {
705
- let n = W({
704
+ })(V(({ theme: e }) => ({ padding: e.spacing(1, 2, 2) }))), yr = X.forwardRef(function(e, t) {
705
+ let n = B({
706
706
  props: e,
707
707
  name: "MuiAccordionDetails"
708
708
  }), { className: r, ...i } = n, a = n, o = ((e) => {
709
709
  let { classes: t } = e;
710
- return U({ root: ["root"] }, _r, t);
710
+ return z({ root: ["root"] }, _r, t);
711
711
  })(a);
712
712
  return (0, Z.jsx)(vr, {
713
- className: M(o.root, r),
713
+ className: j(o.root, r),
714
714
  ref: t,
715
715
  ownerState: a,
716
716
  ...i
717
717
  });
718
- }), br = G(Tt, {
718
+ }), br = W(Fe, {
719
719
  name: "MuiAccordionSummary",
720
720
  slot: "Root"
721
- })(Mt(({ theme: e }) => ({
721
+ })(V(({ theme: e }) => ({
722
722
  display: "flex",
723
723
  width: "100%",
724
724
  minHeight: 48,
725
725
  padding: e.spacing(0, 2),
726
- ...Nt(e, ["min-height", "background-color"], { duration: e.transitions.duration.shortest }),
726
+ ...H(e, ["min-height", "background-color"], { duration: e.transitions.duration.shortest }),
727
727
  [`&.${tr.focusVisible}`]: { backgroundColor: (e.vars || e).palette.action.focus },
728
728
  [`&.${tr.disabled}`]: { opacity: (e.vars || e).palette.action.disabledOpacity },
729
729
  [`&:hover:not(.${tr.disabled})`]: { cursor: "pointer" },
@@ -731,10 +731,10 @@ var vr = G("div", {
731
731
  props: (e) => !e.disableGutters,
732
732
  style: { [`&.${tr.expanded}`]: { minHeight: 64 } }
733
733
  }]
734
- }))), xr = G("span", {
734
+ }))), xr = W("span", {
735
735
  name: "MuiAccordionSummary",
736
736
  slot: "Content"
737
- })(Mt(({ theme: e }) => ({
737
+ })(V(({ theme: e }) => ({
738
738
  display: "flex",
739
739
  textAlign: "start",
740
740
  flexGrow: 1,
@@ -742,21 +742,21 @@ var vr = G("div", {
742
742
  variants: [{
743
743
  props: (e) => !e.disableGutters,
744
744
  style: {
745
- ...Nt(e, ["margin"], { duration: e.transitions.duration.shortest }),
745
+ ...H(e, ["margin"], { duration: e.transitions.duration.shortest }),
746
746
  [`&.${tr.expanded}`]: { margin: "20px 0" }
747
747
  }
748
748
  }]
749
- }))), Sr = G("span", {
749
+ }))), Sr = W("span", {
750
750
  name: "MuiAccordionSummary",
751
751
  slot: "ExpandIconWrapper"
752
- })(Mt(({ theme: e }) => ({
752
+ })(V(({ theme: e }) => ({
753
753
  display: "flex",
754
754
  color: (e.vars || e).palette.action.active,
755
755
  transform: "rotate(0deg)",
756
- ...Nt(e, "transform", { duration: e.transitions.duration.shortest }),
756
+ ...H(e, "transform", { duration: e.transitions.duration.shortest }),
757
757
  [`&.${tr.expanded}`]: { transform: "rotate(180deg)" }
758
758
  }))), Cr = X.forwardRef(function(e, t) {
759
- let n = W({
759
+ let n = B({
760
760
  props: e,
761
761
  name: "MuiAccordionSummary"
762
762
  }), { children: r, className: i, expandIcon: a, focusVisibleClassName: o, onClick: s, slots: c, slotProps: l, ...u } = n, { disabled: d = !1, disableGutters: f, expanded: p, toggle: m } = X.useContext(ur), h = {
@@ -766,7 +766,7 @@ var vr = G("div", {
766
766
  disableGutters: f
767
767
  }, g = ((e) => {
768
768
  let { classes: t, expanded: n, disabled: r, disableGutters: i } = e;
769
- return U({
769
+ return z({
770
770
  root: [
771
771
  "root",
772
772
  n && "expanded",
@@ -780,10 +780,10 @@ var vr = G("div", {
780
780
  })(h), _ = {
781
781
  slots: c,
782
782
  slotProps: l
783
- }, [v, y] = St("root", {
783
+ }, [v, y] = L("root", {
784
784
  ref: t,
785
785
  shouldForwardComponentProp: !0,
786
- className: M(g.root, i),
786
+ className: j(g.root, i),
787
787
  elementType: br,
788
788
  externalForwardedProps: {
789
789
  ..._,
@@ -796,7 +796,7 @@ var vr = G("div", {
796
796
  internalNativeButton: !0,
797
797
  disabled: d,
798
798
  "aria-expanded": p,
799
- focusVisibleClassName: M(g.focusVisible, o)
799
+ focusVisibleClassName: j(g.focusVisible, o)
800
800
  },
801
801
  getSlotProps: (e) => ({
802
802
  ...e,
@@ -806,12 +806,12 @@ var vr = G("div", {
806
806
  })(t);
807
807
  }
808
808
  })
809
- }), [b, x] = St("content", {
809
+ }), [b, x] = L("content", {
810
810
  className: g.content,
811
811
  elementType: xr,
812
812
  externalForwardedProps: _,
813
813
  ownerState: h
814
- }), [S, C] = St("expandIconWrapper", {
814
+ }), [S, C] = L("expandIconWrapper", {
815
815
  className: g.expandIconWrapper,
816
816
  elementType: Sr,
817
817
  externalForwardedProps: _,
@@ -831,7 +831,7 @@ var vr = G("div", {
831
831
  function wr(e) {
832
832
  return N("MuiListSubheader", e);
833
833
  }
834
- F("MuiListSubheader", [
834
+ P("MuiListSubheader", [
835
835
  "root",
836
836
  "colorPrimary",
837
837
  "colorInherit",
@@ -839,20 +839,20 @@ F("MuiListSubheader", [
839
839
  "inset",
840
840
  "sticky"
841
841
  ]);
842
- var Tr = G("li", {
842
+ var Tr = W("li", {
843
843
  name: "MuiListSubheader",
844
844
  slot: "Root",
845
845
  overridesResolver: (e, t) => {
846
846
  let { ownerState: n } = e;
847
847
  return [
848
848
  t.root,
849
- n.color !== "default" && t[`color${Ft(n.color)}`],
849
+ n.color !== "default" && t[`color${He(n.color)}`],
850
850
  !n.disableGutters && t.gutters,
851
851
  n.inset && t.inset,
852
852
  !n.disableSticky && t.sticky
853
853
  ];
854
854
  }
855
- })(Mt(({ theme: e }) => ({
855
+ })(V(({ theme: e }) => ({
856
856
  boxSizing: "border-box",
857
857
  lineHeight: "48px",
858
858
  listStyle: "none",
@@ -891,7 +891,7 @@ var Tr = G("li", {
891
891
  }
892
892
  ]
893
893
  }))), Er = X.forwardRef(function(e, t) {
894
- let n = W({
894
+ let n = B({
895
895
  props: e,
896
896
  name: "MuiListSubheader"
897
897
  }), { className: r, color: i = "default", component: a = "li", disableGutters: o = !1, disableSticky: s = !1, inset: c = !1, ...l } = n, u = {
@@ -903,9 +903,9 @@ var Tr = G("li", {
903
903
  inset: c
904
904
  }, d = ((e) => {
905
905
  let { classes: t, color: n, disableGutters: r, inset: i, disableSticky: a } = e;
906
- return U({ root: [
906
+ return z({ root: [
907
907
  "root",
908
- n !== "default" && `color${Ft(n)}`,
908
+ n !== "default" && `color${He(n)}`,
909
909
  !r && "gutters",
910
910
  i && "inset",
911
911
  !a && "sticky"
@@ -913,7 +913,7 @@ var Tr = G("li", {
913
913
  })(u);
914
914
  return (0, Z.jsx)(Tr, {
915
915
  as: a,
916
- className: M(d.root, r),
916
+ className: j(d.root, r),
917
917
  ref: t,
918
918
  ownerState: u,
919
919
  ...l
@@ -922,12 +922,12 @@ var Tr = G("li", {
922
922
  function Dr(e) {
923
923
  return N("MuiCard", e);
924
924
  }
925
- F("MuiCard", ["root"]);
926
- var Or = G(Ot, {
925
+ P("MuiCard", ["root"]);
926
+ var Or = W(Re, {
927
927
  name: "MuiCard",
928
928
  slot: "Root"
929
929
  })({ overflow: "hidden" }), kr = X.forwardRef(function(e, t) {
930
- let n = W({
930
+ let n = B({
931
931
  props: e,
932
932
  name: "MuiCard"
933
933
  }), { className: r, raised: i = !1, ...a } = n, o = {
@@ -935,10 +935,10 @@ var Or = G(Ot, {
935
935
  raised: i
936
936
  }, s = ((e) => {
937
937
  let { classes: t } = e;
938
- return U({ root: ["root"] }, Dr, t);
938
+ return z({ root: ["root"] }, Dr, t);
939
939
  })(o);
940
940
  return (0, Z.jsx)(Or, {
941
- className: M(s.root, r),
941
+ className: j(s.root, r),
942
942
  elevation: i ? 8 : void 0,
943
943
  ref: t,
944
944
  ownerState: o,
@@ -948,8 +948,8 @@ var Or = G(Ot, {
948
948
  function Ar(e) {
949
949
  return N("MuiCardActions", e);
950
950
  }
951
- F("MuiCardActions", ["root", "spacing"]);
952
- var jr = G("div", {
951
+ P("MuiCardActions", ["root", "spacing"]);
952
+ var jr = W("div", {
953
953
  name: "MuiCardActions",
954
954
  slot: "Root",
955
955
  overridesResolver: (e, t) => {
@@ -965,7 +965,7 @@ var jr = G("div", {
965
965
  style: { "& > :not(style) ~ :not(style)": { marginLeft: 8 } }
966
966
  }]
967
967
  }), Mr = X.forwardRef(function(e, t) {
968
- let n = W({
968
+ let n = B({
969
969
  props: e,
970
970
  name: "MuiCardActions"
971
971
  }), { disableSpacing: r = !1, className: i, ...a } = n, o = {
@@ -973,15 +973,15 @@ var jr = G("div", {
973
973
  disableSpacing: r
974
974
  }, s = ((e) => {
975
975
  let { classes: t, disableSpacing: n } = e;
976
- return U({ root: ["root", !n && "spacing"] }, Ar, t);
976
+ return z({ root: ["root", !n && "spacing"] }, Ar, t);
977
977
  })(o);
978
978
  return (0, Z.jsx)(jr, {
979
- className: M(s.root, i),
979
+ className: j(s.root, i),
980
980
  ownerState: o,
981
981
  ref: t,
982
982
  ...a
983
983
  });
984
- }), Nr = typeof Vt({}) == "function", Pr = (e, t) => ({
984
+ }), Nr = typeof Je({}) == "function", Pr = (e, t) => ({
985
985
  WebkitFontSmoothing: "antialiased",
986
986
  MozOsxFontSmoothing: "grayscale",
987
987
  boxSizing: "border-box",
@@ -1010,7 +1010,7 @@ var jr = G("div", {
1010
1010
  ...n
1011
1011
  }, i = e.components?.MuiCssBaseline?.styleOverrides;
1012
1012
  return i && (r = [r, i]), r;
1013
- }, Lr = "mui-ecs", Rr = Vt(Nr ? ({ theme: e, enableColorScheme: t }) => Ir(e, t) : ({ theme: e }) => ((e) => {
1013
+ }, Lr = "mui-ecs", Rr = Je(Nr ? ({ theme: e, enableColorScheme: t }) => Ir(e, t) : ({ theme: e }) => ((e) => {
1014
1014
  let t = Ir(e, !1), n = Array.isArray(t) ? t[0] : t;
1015
1015
  return !e.vars && n && (n.html[`:root:has(${Lr})`] = { colorScheme: e.palette.mode }), e.colorSchemes && Object.entries(e.colorSchemes).forEach(([t, r]) => {
1016
1016
  let i = e.getColorSchemeSelector(t);
@@ -1018,7 +1018,7 @@ var jr = G("div", {
1018
1018
  }), t;
1019
1019
  })(e));
1020
1020
  function zr(e) {
1021
- let { children: t, enableColorScheme: n = !1 } = W({
1021
+ let { children: t, enableColorScheme: n = !1 } = B({
1022
1022
  props: e,
1023
1023
  name: "MuiCssBaseline"
1024
1024
  });
@@ -1038,22 +1038,22 @@ var Br = function(e = {}) {
1038
1038
  direction: o,
1039
1039
  spacing: s,
1040
1040
  useFlexGap: d
1041
- }, m = U({ root: ["root"] }, (e) => N(r, e), {});
1041
+ }, m = z({ root: ["root"] }, (e) => N(r, e), {});
1042
1042
  return (0, Z.jsx)(i, {
1043
1043
  as: a,
1044
1044
  ownerState: p,
1045
1045
  ref: t,
1046
- className: M(m.root, u),
1046
+ className: j(m.root, u),
1047
1047
  ...f,
1048
1048
  children: c ? Qn(l, c) : l
1049
1049
  });
1050
1050
  });
1051
1051
  }({
1052
- createStyledComponent: G("div", {
1052
+ createStyledComponent: W("div", {
1053
1053
  name: "MuiStack",
1054
1054
  slot: "Root"
1055
1055
  }),
1056
- useThemeProps: (e) => W({
1056
+ useThemeProps: (e) => B({
1057
1057
  props: e,
1058
1058
  name: "MuiStack"
1059
1059
  })
@@ -1061,14 +1061,14 @@ var Br = function(e = {}) {
1061
1061
  function Ur(e, t) {
1062
1062
  return t !== void 0 && e !== void 0 && (Array.isArray(t) ? t.includes(e) : e === t);
1063
1063
  }
1064
- var Wr = G(Tt, {
1064
+ var Wr = W(Fe, {
1065
1065
  name: "MuiToggleButton",
1066
1066
  slot: "Root",
1067
1067
  overridesResolver: (e, t) => {
1068
1068
  let { ownerState: n } = e;
1069
- return [t.root, t[`size${Ft(n.size)}`]];
1069
+ return [t.root, t[`size${He(n.size)}`]];
1070
1070
  }
1071
- })(Mt(({ theme: e }) => ({
1071
+ })(V(({ theme: e }) => ({
1072
1072
  ...e.typography.button,
1073
1073
  borderRadius: (e.vars || e).shape.borderRadius,
1074
1074
  padding: 11,
@@ -1095,7 +1095,7 @@ var Wr = G(Tt, {
1095
1095
  }
1096
1096
  } }
1097
1097
  },
1098
- ...Object.entries(e.palette).filter(Ct()).map(([t]) => ({
1098
+ ...Object.entries(e.palette).filter(Ne()).map(([t]) => ({
1099
1099
  props: { color: t },
1100
1100
  style: { [`&.${rr.selected}`]: {
1101
1101
  color: (e.vars || e).palette[t].main,
@@ -1126,8 +1126,8 @@ var Wr = G(Tt, {
1126
1126
  }
1127
1127
  ]
1128
1128
  }))), Gr = X.forwardRef(function(e, t) {
1129
- let { value: n, ...r } = X.useContext(Vr), i = X.useContext(Hr), a = W({
1130
- props: Dt({
1129
+ let { value: n, ...r } = X.useContext(Vr), i = X.useContext(Hr), a = B({
1130
+ props: Le({
1131
1131
  ...r,
1132
1132
  selected: Ur(e.value, n)
1133
1133
  }, e),
@@ -1141,17 +1141,17 @@ var Wr = G(Tt, {
1141
1141
  size: h
1142
1142
  }, y = ((e) => {
1143
1143
  let { classes: t, fullWidth: n, selected: r, disabled: i, size: a, color: o } = e;
1144
- return U({ root: [
1144
+ return z({ root: [
1145
1145
  "root",
1146
1146
  r && "selected",
1147
1147
  i && "disabled",
1148
1148
  n && "fullWidth",
1149
- `size${Ft(a)}`,
1149
+ `size${He(a)}`,
1150
1150
  o
1151
1151
  ] }, nr, t);
1152
1152
  })(v), b = i || "";
1153
1153
  return (0, Z.jsx)(Wr, {
1154
- className: M(r.className, y.root, s, b),
1154
+ className: j(r.className, y.root, s, b),
1155
1155
  internalNativeButton: !0,
1156
1156
  disabled: l,
1157
1157
  focusRipple: !u,
@@ -1170,7 +1170,7 @@ var Wr = G(Tt, {
1170
1170
  function Kr(e) {
1171
1171
  return N("MuiToggleButtonGroup", e);
1172
1172
  }
1173
- var Q = F("MuiToggleButtonGroup", [
1173
+ var Q = P("MuiToggleButtonGroup", [
1174
1174
  "root",
1175
1175
  "selected",
1176
1176
  "horizontal",
@@ -1181,7 +1181,7 @@ var Q = F("MuiToggleButtonGroup", [
1181
1181
  "firstButton",
1182
1182
  "lastButton",
1183
1183
  "middleButton"
1184
- ]), qr = G("div", {
1184
+ ]), qr = W("div", {
1185
1185
  name: "MuiToggleButtonGroup",
1186
1186
  slot: "Root",
1187
1187
  overridesResolver: (e, t) => {
@@ -1196,7 +1196,7 @@ var Q = F("MuiToggleButtonGroup", [
1196
1196
  n.fullWidth && t.fullWidth
1197
1197
  ];
1198
1198
  }
1199
- })(Mt(({ theme: e }) => ({
1199
+ })(V(({ theme: e }) => ({
1200
1200
  display: "inline-flex",
1201
1201
  borderRadius: (e.vars || e).shape.borderRadius,
1202
1202
  variants: [
@@ -1247,7 +1247,7 @@ var Q = F("MuiToggleButtonGroup", [
1247
1247
  }
1248
1248
  ]
1249
1249
  }))), Jr = X.forwardRef(function(e, t) {
1250
- let n = W({
1250
+ let n = B({
1251
1251
  props: e,
1252
1252
  name: "MuiToggleButtonGroup"
1253
1253
  }), { children: r, className: i, color: a = "standard", disabled: o = !1, exclusive: s = !1, fullWidth: c = !1, onChange: l, orientation: u = "horizontal", size: d = "medium", value: f, ...p } = n, m = {
@@ -1258,7 +1258,7 @@ var Q = F("MuiToggleButtonGroup", [
1258
1258
  size: d
1259
1259
  }, h = ((e) => {
1260
1260
  let { classes: t, orientation: n, fullWidth: r, disabled: i } = e;
1261
- return U({
1261
+ return z({
1262
1262
  root: [
1263
1263
  "root",
1264
1264
  n,
@@ -1301,7 +1301,7 @@ var Q = F("MuiToggleButtonGroup", [
1301
1301
  };
1302
1302
  return (0, Z.jsx)(qr, {
1303
1303
  role: "group",
1304
- className: M(h.root, i),
1304
+ className: j(h.root, i),
1305
1305
  ref: t,
1306
1306
  ownerState: m,
1307
1307
  ...p,
@@ -1315,7 +1315,7 @@ var Q = F("MuiToggleButtonGroup", [
1315
1315
  });
1316
1316
  }), Yr = e(n(), 1), Xr = (0, X.memo)((0, X.forwardRef)((e, t) => {
1317
1317
  let { workbook: n, descriptor: r, args: i, dragReorder: a, ...o } = e;
1318
- return (0, Z.jsx)(an, {
1318
+ return (0, Z.jsx)(Dt, {
1319
1319
  ref: t,
1320
1320
  workbook: n,
1321
1321
  descriptor: (0, X.useMemo)(() => ((e) => {
@@ -1393,7 +1393,7 @@ var Zr = (0, X.memo)((e) => {
1393
1393
  return (0, Z.jsx)(J, {
1394
1394
  size: "small",
1395
1395
  type: "text",
1396
- placeholder: j()("condition.enterText"),
1396
+ placeholder: A()("condition.enterText"),
1397
1397
  value: t ?? "",
1398
1398
  onChange: (e) => n(String(e.target.value)),
1399
1399
  disabled: r,
@@ -1407,7 +1407,7 @@ var Qr = (0, X.memo)((e) => {
1407
1407
  return (0, Z.jsx)(J, {
1408
1408
  size: "small",
1409
1409
  type: "number",
1410
- placeholder: j()("condition.enterNumber"),
1410
+ placeholder: A()("condition.enterNumber"),
1411
1411
  value: "" + (t ?? ""),
1412
1412
  onChange: (e) => n(Number(e.target.value)),
1413
1413
  disabled: r,
@@ -1416,9 +1416,9 @@ var Qr = (0, X.memo)((e) => {
1416
1416
  });
1417
1417
  });
1418
1418
  Qr.displayName = "NumberOption";
1419
- var $r = (e) => e == null ? "" : typeof e == "boolean" ? e ? "TRUE" : "FALSE" : p.isError(e) ? e.getLabel() : String(e), ei = (0, X.memo)((e) => {
1420
- let { option: t, onOptionChange: n, readOnly: r, ...i } = e, a = j();
1421
- return (0, Z.jsx)(An, {
1419
+ var $r = (e) => e == null ? "" : typeof e == "boolean" ? e ? "TRUE" : "FALSE" : i.isError(e) ? e.getLabel() : String(e), ei = (0, X.memo)((e) => {
1420
+ let { option: t, onOptionChange: n, readOnly: r, ...i } = e, a = A();
1421
+ return (0, Z.jsx)(jn, {
1422
1422
  size: "small",
1423
1423
  value: $r(t),
1424
1424
  onChangeText: (e) => n(((e) => {
@@ -1445,7 +1445,7 @@ var $r = (e) => e == null ? "" : typeof e == "boolean" ? e ? "TRUE" : "FALSE" :
1445
1445
  });
1446
1446
  ei.displayName = "ScalarOption";
1447
1447
  var ti = (0, X.memo)((e) => {
1448
- let { option: t, onOptionChange: n, ...r } = e, i = j(), [a, o] = (0, X.useState)(""), s = typeof t?.items == "string", c = (0, X.useMemo)(() => t?.items && Array.isArray(t.items) ? t.items : [], [t?.items]), l = () => {
1448
+ let { option: t, onOptionChange: n, ...r } = e, i = A(), [a, o] = (0, X.useState)(""), s = typeof t?.items == "string", c = (0, X.useMemo)(() => t?.items && Array.isArray(t.items) ? t.items : [], [t?.items]), l = () => {
1449
1449
  if (!a.trim()) return;
1450
1450
  let e = a, r = [...c, e];
1451
1451
  n({
@@ -1453,7 +1453,7 @@ var ti = (0, X.memo)((e) => {
1453
1453
  items: r
1454
1454
  }), o("");
1455
1455
  };
1456
- return (0, Z.jsxs)(I, {
1456
+ return (0, Z.jsxs)(F, {
1457
1457
  ...r,
1458
1458
  style: {
1459
1459
  display: "flex",
@@ -1463,17 +1463,17 @@ var ti = (0, X.memo)((e) => {
1463
1463
  ...r?.style
1464
1464
  },
1465
1465
  children: [
1466
- (0, Z.jsxs)(I, {
1466
+ (0, Z.jsxs)(F, {
1467
1467
  sx: {
1468
1468
  display: "flex",
1469
1469
  alignItems: "center",
1470
1470
  gap: 1
1471
1471
  },
1472
- children: [(0, Z.jsx)(H, {
1472
+ children: [(0, Z.jsx)(R, {
1473
1473
  variant: "body2",
1474
1474
  sx: { flexGrow: 1 },
1475
1475
  children: i(s ? "condition.formulaMode" : "condition.listMode")
1476
- }), (0, Z.jsx)(yt, {
1476
+ }), (0, Z.jsx)(je, {
1477
1477
  size: "small",
1478
1478
  variant: "outlined",
1479
1479
  onClick: () => {
@@ -1505,7 +1505,7 @@ var ti = (0, X.memo)((e) => {
1505
1505
  helperText: i("condition.formulaHelper")
1506
1506
  }),
1507
1507
  !s && (0, Z.jsxs)(Z.Fragment, { children: [
1508
- (0, Z.jsxs)(I, {
1508
+ (0, Z.jsxs)(F, {
1509
1509
  sx: {
1510
1510
  display: "flex",
1511
1511
  gap: 1
@@ -1520,15 +1520,15 @@ var ti = (0, X.memo)((e) => {
1520
1520
  e.key === "Enter" && l();
1521
1521
  },
1522
1522
  slotProps: { input: { sx: { backgroundColor: "background.paper" } } }
1523
- }), (0, Z.jsx)(xt, {
1523
+ }), (0, Z.jsx)(I, {
1524
1524
  color: "primary",
1525
1525
  onClick: l,
1526
1526
  disabled: !a.trim(),
1527
1527
  sx: { backgroundColor: "background.paper" },
1528
- children: (0, Z.jsx)(w, { iconKey: "Add" })
1528
+ children: (0, Z.jsx)(C, { iconKey: "Add" })
1529
1529
  })]
1530
1530
  }),
1531
- c.length > 0 && (0, Z.jsxs)(I, {
1531
+ c.length > 0 && (0, Z.jsxs)(F, {
1532
1532
  sx: {
1533
1533
  p: 2,
1534
1534
  backgroundColor: "background.paper",
@@ -1536,7 +1536,7 @@ var ti = (0, X.memo)((e) => {
1536
1536
  borderColor: "divider",
1537
1537
  borderRadius: 1
1538
1538
  },
1539
- children: [(0, Z.jsx)(H, {
1539
+ children: [(0, Z.jsx)(R, {
1540
1540
  variant: "caption",
1541
1541
  sx: {
1542
1542
  mb: 1,
@@ -1549,7 +1549,7 @@ var ti = (0, X.memo)((e) => {
1549
1549
  spacing: 1,
1550
1550
  useFlexGap: !0,
1551
1551
  sx: { flexWrap: "wrap" },
1552
- children: c.map((e, r) => (0, Z.jsx)(jt, {
1552
+ children: c.map((e, r) => (0, Z.jsx)(Ve, {
1553
1553
  label: String(e),
1554
1554
  onDelete: () => ((e) => {
1555
1555
  let r = c.filter((t, n) => n !== e);
@@ -1563,7 +1563,7 @@ var ti = (0, X.memo)((e) => {
1563
1563
  }, r))
1564
1564
  })]
1565
1565
  }),
1566
- c.length === 0 && (0, Z.jsx)(I, {
1566
+ c.length === 0 && (0, Z.jsx)(F, {
1567
1567
  sx: {
1568
1568
  p: 3,
1569
1569
  textAlign: "center",
@@ -1573,7 +1573,7 @@ var ti = (0, X.memo)((e) => {
1573
1573
  borderColor: "divider",
1574
1574
  borderStyle: "dashed"
1575
1575
  },
1576
- children: (0, Z.jsx)(H, {
1576
+ children: (0, Z.jsx)(R, {
1577
1577
  variant: "body2",
1578
1578
  sx: { color: "text.secondary" },
1579
1579
  children: i("condition.noValues")
@@ -1585,13 +1585,13 @@ var ti = (0, X.memo)((e) => {
1585
1585
  });
1586
1586
  ti.displayName = "InSetOption";
1587
1587
  var ni = {}, ri = (0, X.memo)((e) => {
1588
- let { option: t, onOptionChange: n, className: r, readOnly: i, ...a } = e, o = j(), s = t?.type ?? b.AverageType.Above, c = t?.stdDevs ?? "", l = { backgroundColor: "background.paper" };
1588
+ let { option: t, onOptionChange: n, className: r, readOnly: i, ...a } = e, o = A(), s = t?.type ?? h.AverageType.Above, c = t?.stdDevs ?? "", l = { backgroundColor: "background.paper" };
1589
1589
  return i && (l = {
1590
1590
  ...l,
1591
1591
  "& .MuiSelect-icon": { display: "none" },
1592
1592
  "& .MuiOutlinedInput-notchedOutline": { borderColor: "action.disabled" }
1593
- }), (0, Z.jsxs)(I, {
1594
- className: C(r, ni.option),
1593
+ }), (0, Z.jsxs)(F, {
1594
+ className: kn(r, ni.option),
1595
1595
  ...a,
1596
1596
  sx: {
1597
1597
  display: "flex",
@@ -1599,13 +1599,13 @@ var ni = {}, ri = (0, X.memo)((e) => {
1599
1599
  gap: .25,
1600
1600
  ...a?.sx
1601
1601
  },
1602
- children: [(0, Z.jsx)(K, {
1602
+ children: [(0, Z.jsx)(Ye, {
1603
1603
  sx: { flex: .5 },
1604
1604
  size: "small",
1605
- children: (0, Z.jsxs)(q, {
1605
+ children: (0, Z.jsxs)(K, {
1606
1606
  value: s,
1607
1607
  sx: l,
1608
- IconComponent: (e) => (0, Z.jsx)(w, {
1608
+ IconComponent: (e) => (0, Z.jsx)(C, {
1609
1609
  iconKey: "ExpandMore",
1610
1610
  ...e
1611
1611
  }),
@@ -1615,10 +1615,10 @@ var ni = {}, ri = (0, X.memo)((e) => {
1615
1615
  type: e.target.value
1616
1616
  }),
1617
1617
  children: [(0, Z.jsx)(Y, {
1618
- value: b.AverageType.Above,
1618
+ value: h.AverageType.Above,
1619
1619
  children: o("condition.above")
1620
1620
  }), (0, Z.jsx)(Y, {
1621
- value: b.AverageType.Below,
1621
+ value: h.AverageType.Below,
1622
1622
  children: o("condition.below")
1623
1623
  })]
1624
1624
  })
@@ -1638,8 +1638,8 @@ var ni = {}, ri = (0, X.memo)((e) => {
1638
1638
  });
1639
1639
  });
1640
1640
  ri.displayName = "AverageOption";
1641
- var ii = 0, ai = /* @__PURE__ */ new WeakMap(), oi = Object.freeze([b.BuiltInOperatorNames.Icon, b.BuiltInOperatorNames.Color]), si = (e, t, n, r = oi) => {
1642
- let i = t ?? Object.values(S.BuiltInOperators), a = e?.getSelectType() ?? null, o = e?.isList;
1641
+ var ii = 0, ai = /* @__PURE__ */ new WeakMap(), oi = Object.freeze([h.BuiltInOperatorNames.Icon, h.BuiltInOperatorNames.Color]), si = (e, t, n, r = oi) => {
1642
+ let i = t ?? Object.values(_.BuiltInOperators), a = e?.getSelectType() ?? null, o = e?.isList;
1643
1643
  return i.filter((t) => {
1644
1644
  if (r.includes(t.getName())) return !1;
1645
1645
  let n = t.acceptsList?.();
@@ -1654,7 +1654,7 @@ var ii = 0, ai = /* @__PURE__ */ new WeakMap(), oi = Object.freeze([b.BuiltInOpe
1654
1654
  disableSticky: !0,
1655
1655
  sx: ui,
1656
1656
  children: n("condition.groupBasic")
1657
- }, "__header:leaf")), a.forEach((e) => s.push(t(e)))), a.length > 0 && o.length > 0 && s.push((0, Z.jsx)(We, {}, "__divider")), o.length > 0 && (s.push((0, Z.jsx)(Er, {
1657
+ }, "__header:leaf")), a.forEach((e) => s.push(t(e)))), a.length > 0 && o.length > 0 && s.push((0, Z.jsx)(on, {}, "__divider")), o.length > 0 && (s.push((0, Z.jsx)(Er, {
1658
1658
  disableSticky: !0,
1659
1659
  sx: ui,
1660
1660
  children: n("condition.groupCombine")
@@ -1682,15 +1682,15 @@ var ii = 0, ai = /* @__PURE__ */ new WeakMap(), oi = Object.freeze([b.BuiltInOpe
1682
1682
  header: e("condition.period.day"),
1683
1683
  options: [
1684
1684
  {
1685
- value: b.TimePeriodType.Today,
1685
+ value: h.TimePeriodType.Today,
1686
1686
  label: e("condition.period.today")
1687
1687
  },
1688
1688
  {
1689
- value: b.TimePeriodType.Yesterday,
1689
+ value: h.TimePeriodType.Yesterday,
1690
1690
  label: e("condition.period.yesterday")
1691
1691
  },
1692
1692
  {
1693
- value: b.TimePeriodType.Tomorrow,
1693
+ value: h.TimePeriodType.Tomorrow,
1694
1694
  label: e("condition.period.tomorrow")
1695
1695
  }
1696
1696
  ]
@@ -1699,15 +1699,15 @@ var ii = 0, ai = /* @__PURE__ */ new WeakMap(), oi = Object.freeze([b.BuiltInOpe
1699
1699
  header: e("condition.period.week"),
1700
1700
  options: [
1701
1701
  {
1702
- value: b.TimePeriodType.ThisWeek,
1702
+ value: h.TimePeriodType.ThisWeek,
1703
1703
  label: e("condition.period.thisWeek")
1704
1704
  },
1705
1705
  {
1706
- value: b.TimePeriodType.LastWeek,
1706
+ value: h.TimePeriodType.LastWeek,
1707
1707
  label: e("condition.period.lastWeek")
1708
1708
  },
1709
1709
  {
1710
- value: b.TimePeriodType.NextWeek,
1710
+ value: h.TimePeriodType.NextWeek,
1711
1711
  label: e("condition.period.nextWeek")
1712
1712
  }
1713
1713
  ]
@@ -1716,15 +1716,15 @@ var ii = 0, ai = /* @__PURE__ */ new WeakMap(), oi = Object.freeze([b.BuiltInOpe
1716
1716
  header: e("condition.period.month"),
1717
1717
  options: [
1718
1718
  {
1719
- value: b.TimePeriodType.ThisMonth,
1719
+ value: h.TimePeriodType.ThisMonth,
1720
1720
  label: e("condition.period.thisMonth")
1721
1721
  },
1722
1722
  {
1723
- value: b.TimePeriodType.LastMonth,
1723
+ value: h.TimePeriodType.LastMonth,
1724
1724
  label: e("condition.period.lastMonth")
1725
1725
  },
1726
1726
  {
1727
- value: b.TimePeriodType.NextMonth,
1727
+ value: h.TimePeriodType.NextMonth,
1728
1728
  label: e("condition.period.nextMonth")
1729
1729
  }
1730
1730
  ]
@@ -1732,10 +1732,10 @@ var ii = 0, ai = /* @__PURE__ */ new WeakMap(), oi = Object.freeze([b.BuiltInOpe
1732
1732
  {
1733
1733
  header: e("condition.period.year"),
1734
1734
  options: [{
1735
- value: b.TimePeriodType.YearToDate,
1735
+ value: h.TimePeriodType.YearToDate,
1736
1736
  label: e("condition.period.yearToDate")
1737
1737
  }, {
1738
- value: b.TimePeriodType.LastYear,
1738
+ value: h.TimePeriodType.LastYear,
1739
1739
  label: e("condition.period.lastYear")
1740
1740
  }]
1741
1741
  },
@@ -1743,51 +1743,51 @@ var ii = 0, ai = /* @__PURE__ */ new WeakMap(), oi = Object.freeze([b.BuiltInOpe
1743
1743
  header: e("condition.period.byMonth"),
1744
1744
  options: [
1745
1745
  {
1746
- value: b.TimePeriodType.M1,
1746
+ value: h.TimePeriodType.M1,
1747
1747
  label: n(0)
1748
1748
  },
1749
1749
  {
1750
- value: b.TimePeriodType.M2,
1750
+ value: h.TimePeriodType.M2,
1751
1751
  label: n(1)
1752
1752
  },
1753
1753
  {
1754
- value: b.TimePeriodType.M3,
1754
+ value: h.TimePeriodType.M3,
1755
1755
  label: n(2)
1756
1756
  },
1757
1757
  {
1758
- value: b.TimePeriodType.M4,
1758
+ value: h.TimePeriodType.M4,
1759
1759
  label: n(3)
1760
1760
  },
1761
1761
  {
1762
- value: b.TimePeriodType.M5,
1762
+ value: h.TimePeriodType.M5,
1763
1763
  label: n(4)
1764
1764
  },
1765
1765
  {
1766
- value: b.TimePeriodType.M6,
1766
+ value: h.TimePeriodType.M6,
1767
1767
  label: n(5)
1768
1768
  },
1769
1769
  {
1770
- value: b.TimePeriodType.M7,
1770
+ value: h.TimePeriodType.M7,
1771
1771
  label: n(6)
1772
1772
  },
1773
1773
  {
1774
- value: b.TimePeriodType.M8,
1774
+ value: h.TimePeriodType.M8,
1775
1775
  label: n(7)
1776
1776
  },
1777
1777
  {
1778
- value: b.TimePeriodType.M9,
1778
+ value: h.TimePeriodType.M9,
1779
1779
  label: n(8)
1780
1780
  },
1781
1781
  {
1782
- value: b.TimePeriodType.M10,
1782
+ value: h.TimePeriodType.M10,
1783
1783
  label: n(9)
1784
1784
  },
1785
1785
  {
1786
- value: b.TimePeriodType.M11,
1786
+ value: h.TimePeriodType.M11,
1787
1787
  label: n(10)
1788
1788
  },
1789
1789
  {
1790
- value: b.TimePeriodType.M12,
1790
+ value: h.TimePeriodType.M12,
1791
1791
  label: n(11)
1792
1792
  }
1793
1793
  ]
@@ -1796,38 +1796,38 @@ var ii = 0, ai = /* @__PURE__ */ new WeakMap(), oi = Object.freeze([b.BuiltInOpe
1796
1796
  header: e("condition.period.byQuarter"),
1797
1797
  options: [
1798
1798
  {
1799
- value: b.TimePeriodType.ThisQuarter,
1799
+ value: h.TimePeriodType.ThisQuarter,
1800
1800
  label: e("condition.period.thisQuarter")
1801
1801
  },
1802
1802
  {
1803
- value: b.TimePeriodType.LastQuarter,
1803
+ value: h.TimePeriodType.LastQuarter,
1804
1804
  label: e("condition.period.lastQuarter")
1805
1805
  },
1806
1806
  {
1807
- value: b.TimePeriodType.NextQuarter,
1807
+ value: h.TimePeriodType.NextQuarter,
1808
1808
  label: e("condition.period.nextQuarter")
1809
1809
  },
1810
1810
  {
1811
- value: b.TimePeriodType.Q1,
1811
+ value: h.TimePeriodType.Q1,
1812
1812
  label: e("condition.period.q1")
1813
1813
  },
1814
1814
  {
1815
- value: b.TimePeriodType.Q2,
1815
+ value: h.TimePeriodType.Q2,
1816
1816
  label: e("condition.period.q2")
1817
1817
  },
1818
1818
  {
1819
- value: b.TimePeriodType.Q3,
1819
+ value: h.TimePeriodType.Q3,
1820
1820
  label: e("condition.period.q3")
1821
1821
  },
1822
1822
  {
1823
- value: b.TimePeriodType.Q4,
1823
+ value: h.TimePeriodType.Q4,
1824
1824
  label: e("condition.period.q4")
1825
1825
  }
1826
1826
  ]
1827
1827
  }
1828
1828
  ];
1829
- }(j(), A()), o = t?.type ?? b.TimePeriodType.Today;
1830
- return (0, Z.jsx)(I, {
1829
+ }(A(), k()), o = t?.type ?? h.TimePeriodType.Today;
1830
+ return (0, Z.jsx)(F, {
1831
1831
  ...i,
1832
1832
  sx: {
1833
1833
  display: "flex",
@@ -1835,12 +1835,12 @@ var ii = 0, ai = /* @__PURE__ */ new WeakMap(), oi = Object.freeze([b.BuiltInOpe
1835
1835
  gap: 2,
1836
1836
  ...i?.sx
1837
1837
  },
1838
- children: (0, Z.jsx)(K, {
1838
+ children: (0, Z.jsx)(Ye, {
1839
1839
  size: "small",
1840
- children: (0, Z.jsx)(q, {
1840
+ children: (0, Z.jsx)(K, {
1841
1841
  value: o,
1842
1842
  sx: { backgroundColor: "background.paper" },
1843
- IconComponent: (e) => (0, Z.jsx)(w, {
1843
+ IconComponent: (e) => (0, Z.jsx)(C, {
1844
1844
  iconKey: "ExpandMore",
1845
1845
  ...e
1846
1846
  }),
@@ -1851,7 +1851,7 @@ var ii = 0, ai = /* @__PURE__ */ new WeakMap(), oi = Object.freeze([b.BuiltInOpe
1851
1851
  disabled: r,
1852
1852
  children: a.map((e, t) => {
1853
1853
  let n = [];
1854
- return t > 0 && n.push((0, Z.jsx)(We, {}, `divider-${t}`)), n.push((0, Z.jsx)(Er, {
1854
+ return t > 0 && n.push((0, Z.jsx)(on, {}, `divider-${t}`)), n.push((0, Z.jsx)(Er, {
1855
1855
  sx: ui,
1856
1856
  children: e.header
1857
1857
  }, `header-${t}`)), e.options.map((e) => n.push((0, Z.jsx)(Y, {
@@ -1866,8 +1866,8 @@ var ii = 0, ai = /* @__PURE__ */ new WeakMap(), oi = Object.freeze([b.BuiltInOpe
1866
1866
  });
1867
1867
  fi.displayName = "TimePeriodOption";
1868
1868
  var pi = (0, X.memo)((e) => {
1869
- let { option: t, onOptionChange: n, readOnly: r, ...i } = e, a = j(), o = t?.top ?? !0, s = t?.limit ?? 10, c = t?.percent ?? !1;
1870
- return (0, Z.jsxs)(I, {
1869
+ let { option: t, onOptionChange: n, readOnly: r, ...i } = e, a = A(), o = t?.top ?? !0, s = t?.limit ?? 10, c = t?.percent ?? !1;
1870
+ return (0, Z.jsxs)(F, {
1871
1871
  ...i,
1872
1872
  sx: {
1873
1873
  display: "flex",
@@ -1876,13 +1876,13 @@ var pi = (0, X.memo)((e) => {
1876
1876
  ...i?.sx
1877
1877
  },
1878
1878
  children: [
1879
- (0, Z.jsx)(K, {
1879
+ (0, Z.jsx)(Ye, {
1880
1880
  size: "small",
1881
1881
  sx: { flex: 1 },
1882
- children: (0, Z.jsxs)(q, {
1882
+ children: (0, Z.jsxs)(K, {
1883
1883
  value: o ? "top" : "bottom",
1884
1884
  sx: { backgroundColor: "background.paper" },
1885
- IconComponent: (e) => (0, Z.jsx)(w, {
1885
+ IconComponent: (e) => (0, Z.jsx)(C, {
1886
1886
  iconKey: "ExpandMore",
1887
1887
  ...e
1888
1888
  }),
@@ -1916,13 +1916,13 @@ var pi = (0, X.memo)((e) => {
1916
1916
  slotProps: { input: { sx: { backgroundColor: "background.paper" } } },
1917
1917
  sx: { flex: .6 }
1918
1918
  }),
1919
- (0, Z.jsx)(K, {
1919
+ (0, Z.jsx)(Ye, {
1920
1920
  size: "small",
1921
1921
  sx: { flex: 1 },
1922
- children: (0, Z.jsxs)(q, {
1922
+ children: (0, Z.jsxs)(K, {
1923
1923
  value: c ? "percent" : "items",
1924
1924
  sx: { backgroundColor: "background.paper" },
1925
- IconComponent: (e) => (0, Z.jsx)(w, {
1925
+ IconComponent: (e) => (0, Z.jsx)(C, {
1926
1926
  iconKey: "ExpandMore",
1927
1927
  ...e
1928
1928
  }),
@@ -1945,8 +1945,8 @@ var pi = (0, X.memo)((e) => {
1945
1945
  });
1946
1946
  pi.displayName = "TopNOption";
1947
1947
  var mi = (0, X.memo)((e) => {
1948
- let { option: t, onOptionChange: n, readOnly: r, ...i } = e, a = j();
1949
- return (0, Z.jsxs)(I, {
1948
+ let { option: t, onOptionChange: n, readOnly: r, ...i } = e, a = A();
1949
+ return (0, Z.jsxs)(F, {
1950
1950
  ...i,
1951
1951
  sx: {
1952
1952
  display: "flex",
@@ -1987,8 +1987,8 @@ var mi = (0, X.memo)((e) => {
1987
1987
  });
1988
1988
  mi.displayName = "BetweenOption";
1989
1989
  var hi = (0, X.memo)((e) => {
1990
- let { option: t, onOptionChange: n, readOnly: r, ...i } = e, a = j();
1991
- return (0, Z.jsx)(An, {
1990
+ let { option: t, onOptionChange: n, readOnly: r, ...i } = e, a = A();
1991
+ return (0, Z.jsx)(jn, {
1992
1992
  size: "small",
1993
1993
  value: t ?? "",
1994
1994
  onChangeText: (e) => n(e),
@@ -2004,7 +2004,7 @@ var hi = (0, X.memo)((e) => {
2004
2004
  });
2005
2005
  hi.displayName = "ExpressionOption";
2006
2006
  var gi = (0, X.memo)((e) => {
2007
- let { value: t = null, selectors: n, onChange: r, title: i, allowNull: a = !1, readOnly: o = !1, ...s } = e, c = j(), l = i ?? c("condition.selectorTitle"), u = n.map((e) => {
2007
+ let { value: t = null, selectors: n, onChange: r, title: i, allowNull: a = !1, readOnly: o = !1, ...s } = e, c = A(), l = i ?? c("condition.selectorTitle"), u = n.map((e) => {
2008
2008
  let t = e.getName();
2009
2009
  return (0, Z.jsx)(Y, {
2010
2010
  value: t,
@@ -2015,14 +2015,14 @@ var gi = (0, X.memo)((e) => {
2015
2015
  ...d,
2016
2016
  "& .MuiSelect-icon": { display: "none" },
2017
2017
  "& .MuiOutlinedInput-notchedOutline": { borderColor: "action.disabled" }
2018
- }), (0, Z.jsxs)(K, {
2018
+ }), (0, Z.jsxs)(Ye, {
2019
2019
  size: "small",
2020
2020
  ...s,
2021
- children: [(0, Z.jsx)(Ht, { children: l }), (0, Z.jsxs)(q, {
2021
+ children: [(0, Z.jsx)(G, { children: l }), (0, Z.jsxs)(K, {
2022
2022
  value: t?.getName() ?? "null",
2023
2023
  label: l,
2024
2024
  readOnly: o,
2025
- IconComponent: (e) => (0, Z.jsx)(w, {
2025
+ IconComponent: (e) => (0, Z.jsx)(C, {
2026
2026
  iconKey: "ExpandMore",
2027
2027
  ...e
2028
2028
  }),
@@ -2040,7 +2040,7 @@ var gi = (0, X.memo)((e) => {
2040
2040
  });
2041
2041
  gi.displayName = "SelectorSelect";
2042
2042
  var _i = (0, X.memo)((e) => {
2043
- let { value: t, operators: n, onChange: r, title: i, readOnly: a = !1, ...o } = e, s = j(), c = A(), l = i ?? s("condition.operatorTitle"), u = /* @__PURE__ */ new Map();
2043
+ let { value: t, operators: n, onChange: r, title: i, readOnly: a = !1, ...o } = e, s = A(), c = k(), l = i ?? s("condition.operatorTitle"), u = /* @__PURE__ */ new Map();
2044
2044
  n.forEach((e) => {
2045
2045
  u.set(e.getName(), e);
2046
2046
  });
@@ -2049,14 +2049,14 @@ var _i = (0, X.memo)((e) => {
2049
2049
  sx: di,
2050
2050
  children: e.getTitle?.()
2051
2051
  }, e.getName()), s, c);
2052
- return (0, Z.jsxs)(K, {
2052
+ return (0, Z.jsxs)(Ye, {
2053
2053
  size: "small",
2054
2054
  ...o,
2055
- children: [(0, Z.jsx)(Ht, { children: l }), (0, Z.jsx)(q, {
2055
+ children: [(0, Z.jsx)(G, { children: l }), (0, Z.jsx)(K, {
2056
2056
  value: t?.getName() ?? "null",
2057
2057
  label: l,
2058
2058
  readOnly: a,
2059
- IconComponent: (e) => (0, Z.jsx)(w, {
2059
+ IconComponent: (e) => (0, Z.jsx)(C, {
2060
2060
  iconKey: "ExpandMore",
2061
2061
  ...e
2062
2062
  }),
@@ -2074,10 +2074,10 @@ var _i = (0, X.memo)((e) => {
2074
2074
  });
2075
2075
  _i.displayName = "OperatorSelect";
2076
2076
  var vi = (0, X.memo)((0, X.forwardRef)((e, t) => {
2077
- let { icon: n, tooltip: r, label: i, darkMode: a, propsPanel: o, value: s, operators: c, onChange: l, title: u, readOnly: d = !1, ...f } = e, p = j(), m = A();
2077
+ let { icon: n, tooltip: r, label: i, darkMode: a, propsPanel: o, value: s, operators: c, onChange: l, title: u, readOnly: d = !1, ...f } = e, p = A(), m = k();
2078
2078
  u ?? p("condition.operatorTitle");
2079
- let h = n || (0, Z.jsx)(w, { iconKey: "Add" }), g = (0, X.useRef)(l);
2080
- return g.current = l, (0, Z.jsx)(V, {
2079
+ let h = n || (0, Z.jsx)(C, { iconKey: "Add" }), g = (0, X.useRef)(l);
2080
+ return g.current = l, (0, Z.jsx)(Xt, {
2081
2081
  ref: t,
2082
2082
  createPopupPanel: (0, X.useCallback)((e) => {
2083
2083
  let { closeFloatAll: t } = e, n = ci(c, (e) => (0, Z.jsx)(Y, {
@@ -2097,9 +2097,9 @@ var vi = (0, X.memo)((0, X.forwardRef)((e, t) => {
2097
2097
  },
2098
2098
  ...o,
2099
2099
  onKeyDown: (e) => {
2100
- e.which === O.Enter && t?.();
2100
+ e.which === ne.Enter && t?.();
2101
2101
  },
2102
- children: (0, Z.jsx)(Ut, {
2102
+ children: (0, Z.jsx)(Xe, {
2103
2103
  disablePadding: !0,
2104
2104
  children: n
2105
2105
  })
@@ -2116,8 +2116,8 @@ var vi = (0, X.memo)((0, X.forwardRef)((e, t) => {
2116
2116
  ...f
2117
2117
  });
2118
2118
  })), yi = (0, X.memo)((e) => {
2119
- let { operator: t, inputs: n, onOptionChange: r, operators: i, selector: a, readOnly: o, ...s } = e, c = j(), l = t.getName() === "not", u = l ? null : t.getName() === "and" ? c("condition.and") : c("condition.or"), d = l ? c("condition.not") : u;
2120
- return (0, Z.jsx)(I, {
2119
+ let { operator: t, inputs: n, onOptionChange: r, operators: i, selector: a, readOnly: o, ...s } = e, c = A(), l = t.getName() === "not", u = l ? null : t.getName() === "and" ? c("condition.and") : c("condition.or"), d = l ? c("condition.not") : u;
2120
+ return (0, Z.jsx)(F, {
2121
2121
  sx: {
2122
2122
  display: "flex",
2123
2123
  flexDirection: "column",
@@ -2156,7 +2156,7 @@ var vi = (0, X.memo)((0, X.forwardRef)((e, t) => {
2156
2156
  });
2157
2157
  yi.displayName = "CombinatorOption";
2158
2158
  var bi = (0, X.memo)((e) => {
2159
- let { option: t, onOptionChange: n, readOnly: r } = e, i = j();
2159
+ let { option: t, onOptionChange: n, readOnly: r } = e, i = A();
2160
2160
  return (0, Z.jsxs)(Jr, {
2161
2161
  exclusive: !0,
2162
2162
  size: "small",
@@ -2189,49 +2189,49 @@ function Si(e) {
2189
2189
  }
2190
2190
  bi.displayName = "BooleanOption";
2191
2191
  var Ci = (0, X.memo)((e) => {
2192
- let { option: t, onOptionChange: n, allowFormula: r, readOnly: i, type: a = "dateTime", ...o } = e, s = j(), c = a === "date" || a === "dateTime", l = a === "time" || a === "dateTime", u = ht(), d = (0, X.useCallback)((e) => {
2193
- if (!u || e === null) return null;
2194
- let t = u.createCell({ value: e }), n = t.getValue();
2195
- return t.getType() === m.Number ? n : null;
2196
- }, [u]), f = (0, X.useCallback)((e) => u ? u.createCell({
2192
+ let { option: t, onOptionChange: n, allowFormula: r, readOnly: i, type: o = "dateTime", ...s } = e, c = A(), l = o === "date" || o === "dateTime", u = o === "time" || o === "dateTime", d = Bt(), f = (0, X.useCallback)((e) => {
2193
+ if (!d || e === null) return null;
2194
+ let t = d.createCell({ value: e }), n = t.getValue();
2195
+ return t.getType() === a.Number ? n : null;
2196
+ }, [d]), p = (0, X.useCallback)((e) => d ? d.createCell({
2197
2197
  value: e,
2198
2198
  style: { numberFormat: "Short DateTime" }
2199
- }).getDate() : null, [u]);
2199
+ }).getDate() : null, [d]);
2200
2200
  if (r && typeof t == "string") return (0, Z.jsx)(ei, {
2201
2201
  option: t,
2202
2202
  onOptionChange: (e) => n(e),
2203
2203
  readOnly: i,
2204
- sx: o?.sx
2204
+ sx: s?.sx
2205
2205
  });
2206
- let p = f(t ?? null), h = !(g = p) || isNaN(g.getTime()) ? "" : `${g.getFullYear()}-${String(g.getMonth() + 1).padStart(2, "0")}-${String(g.getDate()).padStart(2, "0")}`;
2206
+ let m = p(t ?? null), h = !(g = m) || isNaN(g.getTime()) ? "" : `${g.getFullYear()}-${String(g.getMonth() + 1).padStart(2, "0")}-${String(g.getDate()).padStart(2, "0")}`;
2207
2207
  var g;
2208
2208
  let _ = function(e) {
2209
2209
  return !e || isNaN(e.getTime()) ? "" : `${String(e.getHours()).padStart(2, "0")}:${String(e.getMinutes()).padStart(2, "0")}`;
2210
- }(p);
2211
- return (0, Z.jsxs)(I, {
2212
- ...o,
2210
+ }(m);
2211
+ return (0, Z.jsxs)(F, {
2212
+ ...s,
2213
2213
  sx: {
2214
2214
  display: "flex",
2215
2215
  flexDirection: "row",
2216
2216
  gap: .5,
2217
- ...o?.sx
2217
+ ...s?.sx
2218
2218
  },
2219
- children: [c && (0, Z.jsx)(Zr, {
2219
+ children: [l && (0, Z.jsx)(Zr, {
2220
2220
  option: h,
2221
2221
  type: "date",
2222
- placeholder: s("condition.enterDate"),
2222
+ placeholder: c("condition.enterDate"),
2223
2223
  onOptionChange: (e) => {
2224
- let t = d(xi(e, _));
2224
+ let t = f(xi(e, _));
2225
2225
  n(t);
2226
2226
  },
2227
2227
  sx: { flex: 1.5 },
2228
2228
  readOnly: i
2229
- }), l && (0, Z.jsx)(Zr, {
2229
+ }), u && (0, Z.jsx)(Zr, {
2230
2230
  option: _,
2231
2231
  type: "time",
2232
- placeholder: s("condition.enterTime"),
2232
+ placeholder: c("condition.enterTime"),
2233
2233
  onOptionChange: (e) => {
2234
- let t = d(a === "time" ? Si(e) : xi(h, e));
2234
+ let t = f(o === "time" ? Si(e) : xi(h, e));
2235
2235
  n(t);
2236
2236
  },
2237
2237
  sx: { flex: 1 },
@@ -2240,7 +2240,7 @@ var Ci = (0, X.memo)((e) => {
2240
2240
  });
2241
2241
  });
2242
2242
  Ci.displayName = "DateTimeOption";
2243
- var wi = b.BuiltInOperatorNames, Ti = /* @__PURE__ */ new Set([
2243
+ var wi = h.BuiltInOperatorNames, Ti = /* @__PURE__ */ new Set([
2244
2244
  wi.EqualTo,
2245
2245
  wi.GreaterThan,
2246
2246
  wi.GreaterThanEqualTo,
@@ -2251,17 +2251,17 @@ var wi = b.BuiltInOperatorNames, Ti = /* @__PURE__ */ new Set([
2251
2251
  wi.Before,
2252
2252
  wi.BeforeEqualTo
2253
2253
  ]), Ei = (0, X.memo)((e) => {
2254
- let { operatorParam: t, onOperatorParamChange: n, onRemove: r, operators: i, selector: a, operatorTitle: o, readOnly: s, required: c, ...l } = e, u = j(), d = o ?? u("condition.when"), f = t?.operator ?? null, p = i.find((e) => e.getName() === f) ?? null, m = t?.param ?? null, h = !!p?.isCombinator?.(), [g, { width: _ }] = jn(), v = (0, X.useMemo)(() => !p || h ? null : p.getParamType?.(a ?? void 0) ?? null, [
2254
+ let { operatorParam: t, onOperatorParamChange: n, onRemove: r, operators: i, selector: a, operatorTitle: o, readOnly: s, required: c, ...l } = e, u = A(), d = o ?? u("condition.when"), f = t?.operator ?? null, p = i.find((e) => e.getName() === f) ?? null, m = t?.param ?? null, g = !!p?.isCombinator?.(), [_, { width: v }] = An(), y = (0, X.useMemo)(() => !p || g ? null : p.getParamType?.(a ?? void 0) ?? null, [
2255
2255
  p,
2256
- h,
2256
+ g,
2257
2257
  a
2258
- ]), y = !h && v !== "list" && _ > 360, x = Se((e) => {
2258
+ ]), b = !g && y !== "list" && v > 360, x = Se((e) => {
2259
2259
  n({
2260
2260
  operator: f,
2261
2261
  param: e
2262
2262
  });
2263
2263
  }, [n, f]), S = (0, X.useMemo)(() => {
2264
- if (!p || h || !v) return null;
2264
+ if (!p || g || !y) return null;
2265
2265
  let e = {
2266
2266
  sx: {
2267
2267
  flex: .6,
@@ -2270,7 +2270,7 @@ var wi = b.BuiltInOperatorNames, Ti = /* @__PURE__ */ new Set([
2270
2270
  option: m,
2271
2271
  onOptionChange: x
2272
2272
  }, t = !!f && Ti.has(f);
2273
- return v === b.BuiltInSelectorNames.Number || v === b.BuiltInSelectorNames.TextLength ? (0, Z.jsx)(t ? ei : Qr, { ...e }) : v === b.BuiltInSelectorNames.Whole ? t ? (0, Z.jsx)(ei, { ...e }) : (0, Z.jsx)(Qr, {
2273
+ return y === h.BuiltInSelectorNames.Number || y === h.BuiltInSelectorNames.TextLength ? (0, Z.jsx)(t ? ei : Qr, { ...e }) : y === h.BuiltInSelectorNames.Whole ? t ? (0, Z.jsx)(ei, { ...e }) : (0, Z.jsx)(Qr, {
2274
2274
  ...e,
2275
2275
  placeholder: u("condition.enterWholeNumber"),
2276
2276
  slotProps: { htmlInput: {
@@ -2287,28 +2287,28 @@ var wi = b.BuiltInOperatorNames, Ti = /* @__PURE__ */ new Set([
2287
2287
  /^-?\d+$/.test(e.clipboardData.getData("text")) || e.preventDefault();
2288
2288
  }
2289
2289
  } }
2290
- }) : v === b.BuiltInSelectorNames.Text ? (0, Z.jsx)(t ? ei : Zr, { ...e }) : v === b.BuiltInSelectorNames.DateTime ? (0, Z.jsx)(Ci, {
2290
+ }) : y === h.BuiltInSelectorNames.Text ? (0, Z.jsx)(t ? ei : Zr, { ...e }) : y === h.BuiltInSelectorNames.DateTime ? (0, Z.jsx)(Ci, {
2291
2291
  ...e,
2292
2292
  allowFormula: t
2293
- }) : v === b.BuiltInSelectorNames.Date ? (0, Z.jsx)(Ci, {
2293
+ }) : y === h.BuiltInSelectorNames.Date ? (0, Z.jsx)(Ci, {
2294
2294
  ...e,
2295
2295
  type: "date",
2296
2296
  allowFormula: t
2297
- }) : v === b.BuiltInSelectorNames.Time ? (0, Z.jsx)(Ci, {
2297
+ }) : y === h.BuiltInSelectorNames.Time ? (0, Z.jsx)(Ci, {
2298
2298
  ...e,
2299
2299
  type: "time",
2300
2300
  allowFormula: t
2301
- }) : v === b.BuiltInSelectorNames.List ? (0, Z.jsx)(ti, { ...e }) : v === b.BuiltInSelectorNames.Logical ? (0, Z.jsx)(bi, { ...e }) : v === b.BuiltInOperatorNames.Average ? (0, Z.jsx)(ri, { ...e }) : v === b.BuiltInOperatorNames.TimePeriod ? (0, Z.jsx)(fi, { ...e }) : v === b.BuiltInOperatorNames.TopN ? (0, Z.jsx)(pi, { ...e }) : v === b.BuiltInOperatorNames.Between ? (0, Z.jsx)(mi, { ...e }) : v === b.BuiltInOperatorNames.Expression ? (0, Z.jsx)(hi, { ...e }) : null;
2301
+ }) : y === h.BuiltInSelectorNames.List ? (0, Z.jsx)(ti, { ...e }) : y === h.BuiltInSelectorNames.Logical ? (0, Z.jsx)(bi, { ...e }) : y === h.BuiltInOperatorNames.Average ? (0, Z.jsx)(ri, { ...e }) : y === h.BuiltInOperatorNames.TimePeriod ? (0, Z.jsx)(fi, { ...e }) : y === h.BuiltInOperatorNames.TopN ? (0, Z.jsx)(pi, { ...e }) : y === h.BuiltInOperatorNames.Between ? (0, Z.jsx)(mi, { ...e }) : y === h.BuiltInOperatorNames.Expression ? (0, Z.jsx)(hi, { ...e }) : null;
2302
2302
  }, [
2303
2303
  p,
2304
- h,
2305
- v,
2304
+ g,
2305
+ y,
2306
2306
  m,
2307
2307
  u
2308
- ]), C = (0, X.useMemo)(() => h && m ? Array.isArray(m) ? m : [m] : [], [h, m]), ee = h && p?.getName() === "not", T = (e) => {
2308
+ ]), w = (0, X.useMemo)(() => g && m ? Array.isArray(m) ? m : [m] : [], [g, m]), T = g && p?.getName() === "not", E = (e) => {
2309
2309
  if (!e || e === p) return;
2310
2310
  let t, r = !!e.isCombinator?.();
2311
- if (r && h) t = e.getName() === "not" ? C[0] ?? li(e, i, a) : C.length > 0 ? C : li(e, i, a);
2311
+ if (r && g) t = e.getName() === "not" ? w[0] ?? li(e, i, a) : w.length > 0 ? w : li(e, i, a);
2312
2312
  else {
2313
2313
  let n = p?.getParamType?.(a ?? void 0) ?? null, o = e.getParamType?.(a ?? void 0) ?? null;
2314
2314
  t = !r && o && o === n ? m : li(e, i, a);
@@ -2318,8 +2318,8 @@ var wi = b.BuiltInOperatorNames, Ti = /* @__PURE__ */ new Set([
2318
2318
  param: t
2319
2319
  });
2320
2320
  };
2321
- return (0, Z.jsx)(I, {
2322
- ref: g,
2321
+ return (0, Z.jsx)(F, {
2322
+ ref: _,
2323
2323
  sx: {
2324
2324
  display: "flex",
2325
2325
  flexDirection: "column",
@@ -2331,7 +2331,7 @@ var wi = b.BuiltInOperatorNames, Ti = /* @__PURE__ */ new Set([
2331
2331
  p: 1
2332
2332
  },
2333
2333
  ...l,
2334
- children: y ? (0, Z.jsxs)(I, {
2334
+ children: b ? (0, Z.jsxs)(F, {
2335
2335
  sx: {
2336
2336
  display: "flex",
2337
2337
  flexDirection: "row",
@@ -2344,16 +2344,16 @@ var wi = b.BuiltInOperatorNames, Ti = /* @__PURE__ */ new Set([
2344
2344
  sx: { flex: .4 },
2345
2345
  value: p,
2346
2346
  operators: i,
2347
- onChange: T,
2347
+ onChange: E,
2348
2348
  readOnly: s
2349
2349
  }),
2350
2350
  S,
2351
- !s && !c && (0, Z.jsx)(Ue, {
2352
- icon: (0, Z.jsx)(w, { iconKey: "Close" }),
2351
+ !s && !c && (0, Z.jsx)(Ht, {
2352
+ icon: (0, Z.jsx)(C, { iconKey: "Close" }),
2353
2353
  onClick: r
2354
2354
  })
2355
2355
  ]
2356
- }) : (0, Z.jsxs)(Z.Fragment, { children: [(0, Z.jsxs)(I, {
2356
+ }) : (0, Z.jsxs)(Z.Fragment, { children: [(0, Z.jsxs)(F, {
2357
2357
  sx: {
2358
2358
  display: "flex",
2359
2359
  flexDirection: "row",
@@ -2366,17 +2366,17 @@ var wi = b.BuiltInOperatorNames, Ti = /* @__PURE__ */ new Set([
2366
2366
  sx: { flex: 1 },
2367
2367
  value: p,
2368
2368
  operators: i,
2369
- onChange: T,
2369
+ onChange: E,
2370
2370
  readOnly: s
2371
2371
  }),
2372
- h && !ee && !s && (0, Z.jsx)(vi, {
2372
+ g && !T && !s && (0, Z.jsx)(vi, {
2373
2373
  label: p?.getTitle?.(),
2374
- icon: (0, Z.jsx)(w, { iconKey: "Add" }),
2374
+ icon: (0, Z.jsx)(C, { iconKey: "Add" }),
2375
2375
  operators: i,
2376
2376
  value: null,
2377
2377
  onChange: (e) => {
2378
2378
  if (!e) return;
2379
- let t = li(e, i, a), r = [...C, {
2379
+ let t = li(e, i, a), r = [...w, {
2380
2380
  operator: e?.getName() ?? null,
2381
2381
  param: t
2382
2382
  }];
@@ -2386,19 +2386,19 @@ var wi = b.BuiltInOperatorNames, Ti = /* @__PURE__ */ new Set([
2386
2386
  });
2387
2387
  }
2388
2388
  }),
2389
- !s && !c && (0, Z.jsx)(Ue, {
2390
- icon: (0, Z.jsx)(w, { iconKey: "Close" }),
2389
+ !s && !c && (0, Z.jsx)(Ht, {
2390
+ icon: (0, Z.jsx)(C, { iconKey: "Close" }),
2391
2391
  disabled: s,
2392
2392
  onClick: r
2393
2393
  })
2394
2394
  ]
2395
- }), h ? (0, Z.jsx)(yi, {
2395
+ }), g ? (0, Z.jsx)(yi, {
2396
2396
  operator: p,
2397
- inputs: C,
2397
+ inputs: w,
2398
2398
  onOptionChange: (e) => {
2399
2399
  n({
2400
2400
  operator: f,
2401
- param: ee ? e[0] ?? null : e
2401
+ param: T ? e[0] ?? null : e
2402
2402
  });
2403
2403
  },
2404
2404
  operators: i,
@@ -2409,7 +2409,7 @@ var wi = b.BuiltInOperatorNames, Ti = /* @__PURE__ */ new Set([
2409
2409
  });
2410
2410
  Ei.displayName = "OperatorAndParamEditor";
2411
2411
  var Di = (0, X.memo)((e) => {
2412
- let { condition: t, onConditionChange: n, showIncludeBlanks: r = !1, selectorTitle: i, readOnly: a, operators: o, selectors: s, ...c } = e, l = j(), u = A(), [d, f] = (0, X.useState)(() => t?.getSelector() ?? null), [p, m] = (0, X.useState)(() => t?.getOperator() ? {
2412
+ let { condition: t, onConditionChange: n, showIncludeBlanks: r = !1, selectorTitle: i, readOnly: a, operators: o, selectors: s, ...c } = e, l = A(), u = k(), [d, f] = (0, X.useState)(() => t?.getSelector() ?? null), [p, m] = (0, X.useState)(() => t?.getOperator() ? {
2413
2413
  operator: t.getOperator().getName(),
2414
2414
  param: t.getParam()
2415
2415
  } : null), [h, g] = (0, X.useState)(() => t?.isIncludeBlanks() ?? !1);
@@ -2421,22 +2421,22 @@ var Di = (0, X.memo)((e) => {
2421
2421
  param: t.getParam()
2422
2422
  } : null), g(t.isIncludeBlanks());
2423
2423
  }, [t]);
2424
- let _ = (0, X.useMemo)(() => (s ?? Object.values(S.BuiltInSelectors)).slice().sort((e, t) => (e.getTitle?.() ?? "").localeCompare(t.getTitle?.() ?? "", u)), [s, u]), v = (0, X.useMemo)(() => o ?? Object.values(S.BuiltInOperators), [o]), y = (0, X.useMemo)(() => si(d, v, u), [
2424
+ let v = (0, X.useMemo)(() => (s ?? Object.values(_.BuiltInSelectors)).slice().sort((e, t) => (e.getTitle?.() ?? "").localeCompare(t.getTitle?.() ?? "", u)), [s, u]), y = (0, X.useMemo)(() => o ?? Object.values(_.BuiltInOperators), [o]), b = (0, X.useMemo)(() => si(d, y, u), [
2425
2425
  d,
2426
- v,
2426
+ y,
2427
2427
  u
2428
- ]), b = (e) => {
2428
+ ]), x = (e) => {
2429
2429
  m(e), n?.({
2430
2430
  selector: d,
2431
2431
  ...e
2432
2432
  });
2433
- }, x = r;
2434
- return (0, Z.jsxs)(I, {
2433
+ }, S = r;
2434
+ return (0, Z.jsxs)(F, {
2435
2435
  sx: {
2436
2436
  display: "flex",
2437
2437
  flexDirection: "column",
2438
2438
  p: 2,
2439
- pb: +!x,
2439
+ pb: +!S,
2440
2440
  gap: 1,
2441
2441
  backgroundColor: "action.hover",
2442
2442
  border: 1,
@@ -2447,11 +2447,11 @@ var Di = (0, X.memo)((e) => {
2447
2447
  children: [
2448
2448
  (0, Z.jsx)(gi, {
2449
2449
  title: i,
2450
- selectors: _,
2450
+ selectors: v,
2451
2451
  value: d,
2452
2452
  onChange: (e) => {
2453
2453
  if (f(e), p) {
2454
- let { operator: t } = p, r = v.find((e) => e.getName() === t) ?? null, i = si(e, v);
2454
+ let { operator: t } = p, r = y.find((e) => e.getName() === t) ?? null, i = si(e, y);
2455
2455
  if (!r || !i.includes(r)) return m(null), void n?.({
2456
2456
  selector: e,
2457
2457
  operator: null,
@@ -2480,7 +2480,7 @@ var Di = (0, X.memo)((e) => {
2480
2480
  }),
2481
2481
  p ? (0, Z.jsx)(Ei, {
2482
2482
  operatorParam: p,
2483
- onOperatorParamChange: b,
2483
+ onOperatorParamChange: x,
2484
2484
  onRemove: () => {
2485
2485
  m(null), n?.({
2486
2486
  selector: d,
@@ -2488,26 +2488,26 @@ var Di = (0, X.memo)((e) => {
2488
2488
  param: null
2489
2489
  });
2490
2490
  },
2491
- operators: y,
2491
+ operators: b,
2492
2492
  selector: d,
2493
2493
  readOnly: a
2494
- }) : !a && (0, Z.jsx)(I, {
2494
+ }) : !a && (0, Z.jsx)(F, {
2495
2495
  sx: { display: "flex" },
2496
2496
  children: (0, Z.jsx)(vi, {
2497
2497
  label: l("condition.when"),
2498
- operators: y,
2498
+ operators: b,
2499
2499
  value: null,
2500
2500
  onChange: (e) => {
2501
- e && b({
2501
+ e && x({
2502
2502
  operator: e?.getName() ?? null,
2503
- param: li(e, y, d)
2503
+ param: li(e, b, d)
2504
2504
  });
2505
2505
  },
2506
2506
  readOnly: a
2507
2507
  })
2508
2508
  }),
2509
- x && (0, Z.jsx)(En, {
2510
- control: (0, Z.jsx)(Tn, {
2509
+ S && (0, Z.jsx)(q, {
2510
+ control: (0, Z.jsx)(jt, {
2511
2511
  checked: !h,
2512
2512
  onChange: (e) => {
2513
2513
  var t = !e.target.checked;
@@ -2527,7 +2527,7 @@ var Di = (0, X.memo)((e) => {
2527
2527
  Di.displayName = "ConditionEditor";
2528
2528
  var Oi = (0, X.memo)((e) => {
2529
2529
  let { variant: t = "format", children: n, sx: r, ...i } = e;
2530
- return (0, Z.jsx)(I, {
2530
+ return (0, Z.jsx)(F, {
2531
2531
  className: `sxl-cf-rule-section sxl-cf-rule-section-${t}`,
2532
2532
  sx: {
2533
2533
  display: "flex",
@@ -2545,20 +2545,20 @@ var Oi = (0, X.memo)((e) => {
2545
2545
  });
2546
2546
  });
2547
2547
  Oi.displayName = "RuleSection";
2548
- var ki = new _("transparent"), Ai = {
2549
- lightRedFillDarkRedText: f("conditionalFormat.preset.lightRedFillDarkRedText"),
2550
- yellowFillDarkYellowText: f("conditionalFormat.preset.yellowFillDarkYellowText"),
2551
- greenFillDarkGreenText: f("conditionalFormat.preset.greenFillDarkGreenText"),
2552
- lightRedFill: f("conditionalFormat.preset.lightRedFill"),
2553
- redText: f("conditionalFormat.preset.redText"),
2554
- redBorder: f("conditionalFormat.preset.redBorder")
2555
- }, ji = (e) => e ? typeof e == "string" ? e : e.type === y.Type.None ? null : e.color ?? e.foreground ?? null : null, Mi = (e, t) => e === "auto" ? null : Wt(e, t), Ni = (0, X.memo)((e) => {
2556
- let { format: t, onFormatChange: n, readOnly: r, ...i } = e, a = j(), { workbook: o, schemeLookup: s, themeKey: c, darkMode: l, propsColorPanel: u } = Sn(), d = t?.font ?? null, p = (d?.weight ?? 400) >= 600, m = d?.style === g.Style.Italic, h = !!d?.underline && d.underline !== g.UnderlineStyle.None, _ = !!d?.strike, v = (e) => {
2548
+ var ki = new y("transparent"), Ai = {
2549
+ lightRedFillDarkRedText: m("conditionalFormat.preset.lightRedFillDarkRedText"),
2550
+ yellowFillDarkYellowText: m("conditionalFormat.preset.yellowFillDarkYellowText"),
2551
+ greenFillDarkGreenText: m("conditionalFormat.preset.greenFillDarkGreenText"),
2552
+ lightRedFill: m("conditionalFormat.preset.lightRedFill"),
2553
+ redText: m("conditionalFormat.preset.redText"),
2554
+ redBorder: m("conditionalFormat.preset.redBorder")
2555
+ }, ji = (e) => e ? typeof e == "string" ? e : e.type === x.Type.None ? null : e.color ?? e.foreground ?? null : null, Mi = (e, t) => e === "auto" ? null : rt(e, t), Ni = (0, X.memo)((e) => {
2556
+ let { format: t, onFormatChange: n, readOnly: r, ...i } = e, a = A(), { workbook: o, schemeLookup: s, themeKey: c, darkMode: l, propsColorPanel: u } = at(), d = t?.font ?? null, f = (d?.weight ?? 400) >= 600, p = d?.style === v.Style.Italic, h = !!d?.underline && d.underline !== v.UnderlineStyle.None, g = !!d?.strike, _ = (e) => {
2557
2557
  let r = { ...d };
2558
2558
  for (let [t, n] of Object.entries(e)) n === void 0 ? delete r[t] : r[t] = n;
2559
2559
  let i = { ...t };
2560
2560
  Object.keys(r).length === 0 ? delete i.font : i.font = r, n(Object.keys(i).length === 0 ? null : i);
2561
- }, b = (0, X.useMemo)(() => o?.getStyles().getNormal().getFont().getColor(), [o, c]), x = (0, X.useMemo)(() => Mi(d?.color, o), [
2561
+ }, y = (0, X.useMemo)(() => o?.getStyles().getNormal().getFont().getColor(), [o, c]), b = (0, X.useMemo)(() => Mi(d?.color, o), [
2562
2562
  d?.color,
2563
2563
  o,
2564
2564
  c
@@ -2566,20 +2566,20 @@ var ki = new _("transparent"), Ai = {
2566
2566
  t?.fill,
2567
2567
  o,
2568
2568
  c
2569
- ]), C = {
2569
+ ]), w = {
2570
2570
  padding: "4px",
2571
2571
  border: "none",
2572
2572
  borderRadius: 1
2573
2573
  };
2574
2574
  return (0, Z.jsxs)(Oi, {
2575
2575
  ...i,
2576
- children: [(0, Z.jsxs)(I, {
2576
+ children: [(0, Z.jsxs)(F, {
2577
2577
  sx: {
2578
2578
  display: "flex",
2579
2579
  alignItems: "flex-start",
2580
2580
  gap: 1
2581
2581
  },
2582
- children: [(0, Z.jsx)(I, {
2582
+ children: [(0, Z.jsx)(F, {
2583
2583
  sx: {
2584
2584
  flex: "1 1 auto",
2585
2585
  minWidth: 0,
@@ -2587,9 +2587,9 @@ var ki = new _("transparent"), Ai = {
2587
2587
  gap: .5,
2588
2588
  flexWrap: "wrap"
2589
2589
  },
2590
- children: Fe.map((e, t) => {
2590
+ children: zt.map((e, t) => {
2591
2591
  let i = Mi(ji(e.style.fill), o), s = Mi(e.style.font?.color, o), c = e.style.border ? Mi(Object.values(e.style.border)[0]?.color, o) : null;
2592
- return (0, Z.jsx)(Cn, {
2592
+ return (0, Z.jsx)(At, {
2593
2593
  sheet: !0,
2594
2594
  title: a(Ai[e.key] ?? e.key),
2595
2595
  disabled: r,
@@ -2603,7 +2603,7 @@ var ki = new _("transparent"), Ai = {
2603
2603
  children: "Aa"
2604
2604
  }, t);
2605
2605
  })
2606
- }), (0, Z.jsx)(Cn, {
2606
+ }), (0, Z.jsx)(At, {
2607
2607
  title: a("conditionalFormat.clearStyle"),
2608
2608
  disabled: r || !t,
2609
2609
  onClick: () => n(null),
@@ -2611,12 +2611,12 @@ var ki = new _("transparent"), Ai = {
2611
2611
  color: "text.secondary",
2612
2612
  "&:disabled": { opacity: .4 }
2613
2613
  },
2614
- children: (0, Z.jsx)(w, {
2614
+ children: (0, Z.jsx)(C, {
2615
2615
  iconKey: "ClearFormats",
2616
2616
  size: 16
2617
2617
  })
2618
2618
  })]
2619
- }), (0, Z.jsxs)(I, {
2619
+ }), (0, Z.jsxs)(F, {
2620
2620
  sx: {
2621
2621
  display: "flex",
2622
2622
  alignItems: "center",
@@ -2626,45 +2626,45 @@ var ki = new _("transparent"), Ai = {
2626
2626
  (0, Z.jsx)(Gr, {
2627
2627
  value: "bold",
2628
2628
  size: "small",
2629
- sx: C,
2630
- selected: p,
2629
+ sx: w,
2630
+ selected: f,
2631
2631
  disabled: r,
2632
- onChange: () => v({ weight: p ? void 0 : 700 }),
2633
- children: (0, Z.jsx)(w, { iconKey: "TextBold" })
2632
+ onChange: () => _({ weight: f ? void 0 : 700 }),
2633
+ children: (0, Z.jsx)(C, { iconKey: "TextBold" })
2634
2634
  }),
2635
2635
  (0, Z.jsx)(Gr, {
2636
2636
  value: "italic",
2637
2637
  size: "small",
2638
- sx: C,
2639
- selected: m,
2638
+ sx: w,
2639
+ selected: p,
2640
2640
  disabled: r,
2641
- onChange: () => v({ style: m ? void 0 : g.Style.Italic }),
2642
- children: (0, Z.jsx)(w, { iconKey: "TextItalic" })
2641
+ onChange: () => _({ style: p ? void 0 : v.Style.Italic }),
2642
+ children: (0, Z.jsx)(C, { iconKey: "TextItalic" })
2643
2643
  }),
2644
2644
  (0, Z.jsx)(Gr, {
2645
2645
  value: "underline",
2646
2646
  size: "small",
2647
- sx: C,
2647
+ sx: w,
2648
2648
  selected: h,
2649
2649
  disabled: r,
2650
- onChange: () => v({ underline: h ? void 0 : g.UnderlineStyle.Single }),
2651
- children: (0, Z.jsx)(w, { iconKey: "TextUnderline" })
2650
+ onChange: () => _({ underline: h ? void 0 : v.UnderlineStyle.Single }),
2651
+ children: (0, Z.jsx)(C, { iconKey: "TextUnderline" })
2652
2652
  }),
2653
2653
  (0, Z.jsx)(Gr, {
2654
2654
  value: "strike",
2655
2655
  size: "small",
2656
- sx: C,
2657
- selected: _,
2656
+ sx: w,
2657
+ selected: g,
2658
2658
  disabled: r,
2659
- onChange: () => v({ strike: !_ || void 0 }),
2660
- children: (0, Z.jsx)(w, { iconKey: "TextStrike" })
2659
+ onChange: () => _({ strike: !g || void 0 }),
2660
+ children: (0, Z.jsx)(C, { iconKey: "TextStrike" })
2661
2661
  }),
2662
- o && (0, Z.jsx)(gn, {
2662
+ o && (0, Z.jsx)(ht, {
2663
2663
  tooltip: a("conditionalFormat.border"),
2664
2664
  selectedBorder: t?.border,
2665
2665
  createBorder: (e) => o.getStyles().getNormal().createStyle({ border: e }).getBorder(),
2666
2666
  schemeLookup: s,
2667
- autoColor: b,
2667
+ autoColor: y,
2668
2668
  darkMode: l,
2669
2669
  disabled: r,
2670
2670
  onSelectBorder: (e) => ((e) => {
@@ -2672,7 +2672,7 @@ var ki = new _("transparent"), Ai = {
2672
2672
  e && Object.keys(e).length !== 0 ? r.border = e : delete r.border, n(Object.keys(r).length === 0 ? null : r);
2673
2673
  })(e)
2674
2674
  }),
2675
- (0, Z.jsx)(on, {
2675
+ (0, Z.jsx)(xt, {
2676
2676
  icon: "fill.colored",
2677
2677
  tooltip: a("conditionalFormat.fillColor"),
2678
2678
  selectedColor: S,
@@ -2680,7 +2680,7 @@ var ki = new _("transparent"), Ai = {
2680
2680
  onSelectColor: (e) => ((e) => {
2681
2681
  let r = { ...t };
2682
2682
  e ? r.fill = {
2683
- type: y.Type.Solid,
2683
+ type: x.Type.Solid,
2684
2684
  color: e.toString()
2685
2685
  } : delete r.fill, n(Object.keys(r).length === 0 ? null : r);
2686
2686
  })(e),
@@ -2688,21 +2688,21 @@ var ki = new _("transparent"), Ai = {
2688
2688
  propsPanel: {
2689
2689
  disableAlpha: !0,
2690
2690
  autoColor: ki,
2691
- autoColorLabelKey: f("color.noFill"),
2692
- autoColorPosition: en.End,
2691
+ autoColorLabelKey: m("color.noFill"),
2692
+ autoColorPosition: lt.End,
2693
2693
  ...u
2694
2694
  }
2695
2695
  }),
2696
- (0, Z.jsx)(on, {
2696
+ (0, Z.jsx)(xt, {
2697
2697
  icon: "text.colored",
2698
2698
  tooltip: a("conditionalFormat.fontColor"),
2699
- selectedColor: x,
2699
+ selectedColor: b,
2700
2700
  disabled: r,
2701
- onSelectColor: (e) => v({ color: e ? e.toString() : void 0 }),
2701
+ onSelectColor: (e) => _({ color: e ? e.toString() : void 0 }),
2702
2702
  darkMode: l,
2703
2703
  propsPanel: {
2704
2704
  disableAlpha: !0,
2705
- autoColor: b,
2705
+ autoColor: y,
2706
2706
  ...u
2707
2707
  }
2708
2708
  })
@@ -2712,22 +2712,22 @@ var ki = new _("transparent"), Ai = {
2712
2712
  });
2713
2713
  Ni.displayName = "ConditionalFormatStylePicker";
2714
2714
  var Pi = {
2715
- [h.ColorStopType.AutoMin]: f("conditionalFormat.stopType.autoMin"),
2716
- [h.ColorStopType.AutoMax]: f("conditionalFormat.stopType.autoMax"),
2717
- [h.ColorStopType.Min]: f("conditionalFormat.stopType.min"),
2718
- [h.ColorStopType.Max]: f("conditionalFormat.stopType.max"),
2719
- [h.ColorStopType.Num]: f("conditionalFormat.stopType.num"),
2720
- [h.ColorStopType.Percent]: f("conditionalFormat.stopType.percent"),
2721
- [h.ColorStopType.Percentile]: f("conditionalFormat.stopType.percentile"),
2722
- [h.ColorStopType.Formula]: f("conditionalFormat.stopType.formula")
2715
+ [g.ColorStopType.AutoMin]: m("conditionalFormat.stopType.autoMin"),
2716
+ [g.ColorStopType.AutoMax]: m("conditionalFormat.stopType.autoMax"),
2717
+ [g.ColorStopType.Min]: m("conditionalFormat.stopType.min"),
2718
+ [g.ColorStopType.Max]: m("conditionalFormat.stopType.max"),
2719
+ [g.ColorStopType.Num]: m("conditionalFormat.stopType.num"),
2720
+ [g.ColorStopType.Percent]: m("conditionalFormat.stopType.percent"),
2721
+ [g.ColorStopType.Percentile]: m("conditionalFormat.stopType.percentile"),
2722
+ [g.ColorStopType.Formula]: m("conditionalFormat.stopType.formula")
2723
2723
  }, Fi = /* @__PURE__ */ new Set([
2724
- h.ColorStopType.AutoMin,
2725
- h.ColorStopType.AutoMax,
2726
- h.ColorStopType.Min,
2727
- h.ColorStopType.Max
2724
+ g.ColorStopType.AutoMin,
2725
+ g.ColorStopType.AutoMax,
2726
+ g.ColorStopType.Min,
2727
+ g.ColorStopType.Max
2728
2728
  ]), Ii = (0, X.memo)((e) => {
2729
- let { label: t, stop: n, onStopChange: r, allowedTypes: i, showColor: a = !1, leading: o, showExclusive: s = !1, readOnly: c, ...l } = e, u = j(), { darkMode: d, toColor: f, propsColorPanel: p } = Sn(), m = n.type ?? h.ColorStopType.Num, g = !Fi.has(m), _ = c || !g, v = m === h.ColorStopType.Formula, y = n.color, b = a ? f(y) : null;
2730
- return (0, Z.jsxs)(I, {
2729
+ let { label: t, stop: n, onStopChange: r, allowedTypes: i, showColor: a = !1, leading: o, showExclusive: s = !1, readOnly: c, ...l } = e, u = A(), { darkMode: d, toColor: f, propsColorPanel: p } = at(), m = n.type ?? g.ColorStopType.Num, h = !Fi.has(m), _ = c || !h, v = m === g.ColorStopType.Formula, y = n.color, b = a ? f(y) : null;
2730
+ return (0, Z.jsxs)(F, {
2731
2731
  sx: {
2732
2732
  display: "flex",
2733
2733
  alignItems: "center",
@@ -2735,7 +2735,7 @@ var Pi = {
2735
2735
  },
2736
2736
  ...l,
2737
2737
  children: [
2738
- t !== void 0 && (0, Z.jsx)(H, {
2738
+ t !== void 0 && (0, Z.jsx)(R, {
2739
2739
  variant: "caption",
2740
2740
  sx: {
2741
2741
  color: "text.secondary",
@@ -2747,7 +2747,7 @@ var Pi = {
2747
2747
  children: t
2748
2748
  }),
2749
2749
  o,
2750
- a && (0, Z.jsx)(on, {
2750
+ a && (0, Z.jsx)(xt, {
2751
2751
  tooltip: u("conditionalFormat.stopColor"),
2752
2752
  selectedColor: b,
2753
2753
  disabled: c,
@@ -2763,7 +2763,7 @@ var Pi = {
2763
2763
  ...p
2764
2764
  }
2765
2765
  }),
2766
- s && (0, Z.jsxs)(q, {
2766
+ s && (0, Z.jsxs)(K, {
2767
2767
  size: "small",
2768
2768
  value: n.exclusive ? "gt" : "gte",
2769
2769
  disabled: c,
@@ -2783,7 +2783,7 @@ var Pi = {
2783
2783
  children: ">"
2784
2784
  })]
2785
2785
  }),
2786
- (0, Z.jsx)(q, {
2786
+ (0, Z.jsx)(K, {
2787
2787
  size: "small",
2788
2788
  value: m,
2789
2789
  disabled: c,
@@ -2793,8 +2793,8 @@ var Pi = {
2793
2793
  type: e
2794
2794
  };
2795
2795
  if (Fi.has(e)) delete t.value;
2796
- else if (t.value === void 0) t.value = e === h.ColorStopType.Formula ? "" : 0;
2797
- else if (e !== h.ColorStopType.Formula && typeof t.value == "string") {
2796
+ else if (t.value === void 0) t.value = e === g.ColorStopType.Formula ? "" : 0;
2797
+ else if (e !== g.ColorStopType.Formula && typeof t.value == "string") {
2798
2798
  let e = Number(t.value);
2799
2799
  t.value = Number.isFinite(e) ? e : 0;
2800
2800
  }
@@ -2810,7 +2810,7 @@ var Pi = {
2810
2810
  children: u(Pi[e])
2811
2811
  }, e))
2812
2812
  }),
2813
- v ? (0, Z.jsx)(An, {
2813
+ v ? (0, Z.jsx)(jn, {
2814
2814
  size: "small",
2815
2815
  value: `${n.value ?? ""}`,
2816
2816
  onChangeText: (e) => {
@@ -2834,8 +2834,8 @@ var Pi = {
2834
2834
  }) : (0, Z.jsx)(J, {
2835
2835
  size: "small",
2836
2836
  type: "number",
2837
- placeholder: g ? void 0 : u("conditionalFormat.stopFromData"),
2838
- value: g ? `${n.value ?? ""}` : "",
2837
+ placeholder: h ? void 0 : u("conditionalFormat.stopFromData"),
2838
+ value: h ? `${n.value ?? ""}` : "",
2839
2839
  disabled: _,
2840
2840
  onChange: (e) => {
2841
2841
  let t = e.target.value;
@@ -2859,32 +2859,32 @@ var Pi = {
2859
2859
  });
2860
2860
  Ii.displayName = "ScaleStopRow";
2861
2861
  var Li = [
2862
- h.ColorStopType.Min,
2863
- h.ColorStopType.Max,
2864
- h.ColorStopType.Num,
2865
- h.ColorStopType.Percent,
2866
- h.ColorStopType.Percentile,
2867
- h.ColorStopType.Formula
2862
+ g.ColorStopType.Min,
2863
+ g.ColorStopType.Max,
2864
+ g.ColorStopType.Num,
2865
+ g.ColorStopType.Percent,
2866
+ g.ColorStopType.Percentile,
2867
+ g.ColorStopType.Formula
2868
2868
  ], Ri = (0, X.memo)((e) => {
2869
- let { scale: t, onScaleChange: n, readOnly: r, ...i } = e, a = j(), { workbook: o, toColor: s } = Sn(), c = t.stops ?? [], l = c.length === 2 ? [f("conditionalFormat.stop.minimum"), f("conditionalFormat.stop.maximum")] : [
2870
- f("conditionalFormat.stop.minimum"),
2871
- f("conditionalFormat.stop.midpoint"),
2872
- f("conditionalFormat.stop.maximum")
2869
+ let { scale: t, onScaleChange: n, readOnly: r, ...i } = e, a = A(), { workbook: o, toColor: s } = at(), c = t.stops ?? [], l = c.length === 2 ? [m("conditionalFormat.stop.minimum"), m("conditionalFormat.stop.maximum")] : [
2870
+ m("conditionalFormat.stop.minimum"),
2871
+ m("conditionalFormat.stop.midpoint"),
2872
+ m("conditionalFormat.stop.maximum")
2873
2873
  ];
2874
- return (0, Z.jsxs)(I, {
2874
+ return (0, Z.jsxs)(F, {
2875
2875
  sx: {
2876
2876
  display: "flex",
2877
2877
  flexDirection: "column",
2878
2878
  gap: 1
2879
2879
  },
2880
2880
  ...i,
2881
- children: [(0, Z.jsx)(Oi, { children: (0, Z.jsxs)(I, {
2881
+ children: [(0, Z.jsx)(Oi, { children: (0, Z.jsxs)(F, {
2882
2882
  sx: {
2883
2883
  display: "flex",
2884
2884
  alignItems: "flex-start",
2885
2885
  gap: 1
2886
2886
  },
2887
- children: [(0, Z.jsx)(I, {
2887
+ children: [(0, Z.jsx)(F, {
2888
2888
  sx: {
2889
2889
  flex: "1 1 auto",
2890
2890
  minWidth: 0,
@@ -2892,11 +2892,11 @@ var Li = [
2892
2892
  gap: .5,
2893
2893
  flexWrap: "wrap"
2894
2894
  },
2895
- children: ct.filter((e) => e.stops.length === (c.length === 2 ? 2 : 3)).map((e, t) => (0, Z.jsx)(Cn, {
2895
+ children: wn.filter((e) => e.stops.length === (c.length === 2 ? 2 : 3)).map((e, t) => (0, Z.jsx)(At, {
2896
2896
  sheet: !0,
2897
2897
  disabled: r,
2898
2898
  onClick: () => n(structuredClone(e)),
2899
- children: (0, Z.jsx)(Gt, { rows: wn(e.stops ?? [], Qt, o) })
2899
+ children: (0, Z.jsx)(kt, { rows: st(e.stops ?? [], et, o) })
2900
2900
  }, t))
2901
2901
  }), (0, Z.jsxs)(Jr, {
2902
2902
  exclusive: !0,
@@ -2914,7 +2914,7 @@ var Li = [
2914
2914
  e = `#${r((t.red + n.red) / 2)}${r((t.green + n.green) / 2)}${r((t.blue + n.blue) / 2)}`;
2915
2915
  }
2916
2916
  r.splice(1, 0, {
2917
- type: h.ColorStopType.Percentile,
2917
+ type: g.ColorStopType.Percentile,
2918
2918
  value: 50,
2919
2919
  color: e
2920
2920
  });
@@ -2965,26 +2965,26 @@ var Li = [
2965
2965
  });
2966
2966
  Ri.displayName = "ColorScaleRulePanel";
2967
2967
  var zi = [
2968
- h.ColorStopType.AutoMin,
2969
- h.ColorStopType.Min,
2970
- h.ColorStopType.Num,
2971
- h.ColorStopType.Percent,
2972
- h.ColorStopType.Percentile,
2973
- h.ColorStopType.Formula
2968
+ g.ColorStopType.AutoMin,
2969
+ g.ColorStopType.Min,
2970
+ g.ColorStopType.Num,
2971
+ g.ColorStopType.Percent,
2972
+ g.ColorStopType.Percentile,
2973
+ g.ColorStopType.Formula
2974
2974
  ], Bi = [
2975
- h.ColorStopType.AutoMax,
2976
- h.ColorStopType.Max,
2977
- h.ColorStopType.Num,
2978
- h.ColorStopType.Percent,
2979
- h.ColorStopType.Percentile,
2980
- h.ColorStopType.Formula
2975
+ g.ColorStopType.AutoMax,
2976
+ g.ColorStopType.Max,
2977
+ g.ColorStopType.Num,
2978
+ g.ColorStopType.Percent,
2979
+ g.ColorStopType.Percentile,
2980
+ g.ColorStopType.Formula
2981
2981
  ], Vi = "__auto__", Hi = (0, X.memo)((e) => {
2982
- let { scale: t, onScaleChange: n, readOnly: r, ...i } = e, a = j(), { darkMode: o, toColor: s, propsColorPanel: c } = Sn(), l = t.stops ?? [], u = s(t.color), d = s(t.negativeFillColor), f = s(t.borderColor), p = s(t.negativeBorderColor), m = t.gradient ?? !1, g = (e) => {
2982
+ let { scale: t, onScaleChange: n, readOnly: r, ...i } = e, a = A(), { darkMode: o, toColor: s, propsColorPanel: c } = at(), l = t.stops ?? [], u = s(t.color), d = s(t.negativeFillColor), f = s(t.borderColor), p = s(t.negativeBorderColor), m = t.gradient ?? !1, h = (e) => {
2983
2983
  let r = { ...t };
2984
2984
  for (let [t, n] of Object.entries(e)) n === void 0 ? delete r[t] : r[t] = n;
2985
2985
  n(r);
2986
2986
  }, _ = { backgroundColor: "background.paper" };
2987
- return (0, Z.jsxs)(I, {
2987
+ return (0, Z.jsxs)(F, {
2988
2988
  sx: {
2989
2989
  display: "flex",
2990
2990
  flexDirection: "column",
@@ -2992,13 +2992,13 @@ var zi = [
2992
2992
  },
2993
2993
  ...i,
2994
2994
  children: [(0, Z.jsxs)(Oi, { children: [
2995
- (0, Z.jsxs)(I, {
2995
+ (0, Z.jsxs)(F, {
2996
2996
  sx: {
2997
2997
  display: "flex",
2998
2998
  alignItems: "flex-start",
2999
2999
  gap: 1
3000
3000
  },
3001
- children: [(0, Z.jsx)(I, {
3001
+ children: [(0, Z.jsx)(F, {
3002
3002
  sx: {
3003
3003
  flex: "1 1 auto",
3004
3004
  minWidth: 0,
@@ -3006,15 +3006,15 @@ var zi = [
3006
3006
  gap: .5,
3007
3007
  flexWrap: "wrap"
3008
3008
  },
3009
- children: B.filter((e) => (e.gradient ?? !1) === m).map((e, t) => (0, Z.jsx)(Cn, {
3009
+ children: tn.filter((e) => (e.gradient ?? !1) === m).map((e, t) => (0, Z.jsx)(At, {
3010
3010
  sheet: !0,
3011
3011
  disabled: r,
3012
- onClick: () => g({
3012
+ onClick: () => h({
3013
3013
  color: e.color,
3014
3014
  gradient: e.gradient,
3015
3015
  borderColor: e.borderColor
3016
3016
  }),
3017
- children: (0, Z.jsx)(Gt, { rows: qt(e, s(e.color)?.toCSS("adaptive") ?? "var(--sxl-color-primary, rgb(33, 115, 70))") })
3017
+ children: (0, Z.jsx)(kt, { rows: Ot(e, s(e.color)?.toCSS("adaptive") ?? "var(--sxl-color-primary, rgb(33, 115, 70))") })
3018
3018
  }, t))
3019
3019
  }), (0, Z.jsxs)(Jr, {
3020
3020
  exclusive: !0,
@@ -3022,7 +3022,7 @@ var zi = [
3022
3022
  value: m,
3023
3023
  disabled: r,
3024
3024
  onChange: (e, t) => {
3025
- t !== null && g({ gradient: !!t || void 0 });
3025
+ t !== null && h({ gradient: !!t || void 0 });
3026
3026
  },
3027
3027
  sx: { flex: "0 0 auto" },
3028
3028
  children: [(0, Z.jsx)(Gr, {
@@ -3044,26 +3044,26 @@ var zi = [
3044
3044
  })]
3045
3045
  })]
3046
3046
  }),
3047
- (0, Z.jsx)(En, {
3048
- control: (0, Z.jsx)(Tn, {
3047
+ (0, Z.jsx)(q, {
3048
+ control: (0, Z.jsx)(jt, {
3049
3049
  size: "small",
3050
3050
  checked: !1 === t.showValue,
3051
3051
  disabled: r,
3052
- onChange: (e) => g({ showValue: !e.target.checked && void 0 })
3052
+ onChange: (e) => h({ showValue: !e.target.checked && void 0 })
3053
3053
  }),
3054
- label: (0, Z.jsx)(H, {
3054
+ label: (0, Z.jsx)(R, {
3055
3055
  variant: "body2",
3056
3056
  children: a("conditionalFormat.showBarsOnly")
3057
3057
  })
3058
3058
  }),
3059
- (0, Z.jsxs)(I, {
3059
+ (0, Z.jsxs)(F, {
3060
3060
  sx: {
3061
3061
  display: "flex",
3062
3062
  alignItems: "center",
3063
3063
  gap: .5
3064
3064
  },
3065
3065
  children: [
3066
- (0, Z.jsx)(H, {
3066
+ (0, Z.jsx)(R, {
3067
3067
  variant: "caption",
3068
3068
  sx: {
3069
3069
  color: "text.secondary",
@@ -3071,24 +3071,24 @@ var zi = [
3071
3071
  },
3072
3072
  children: a("conditionalFormat.bar")
3073
3073
  }),
3074
- (0, Z.jsx)(on, {
3074
+ (0, Z.jsx)(xt, {
3075
3075
  icon: "fill.colored",
3076
3076
  tooltip: a("conditionalFormat.barColor"),
3077
3077
  selectedColor: u,
3078
3078
  disabled: r,
3079
- onSelectColor: (e) => g({ color: e ? e.toString() : void 0 }),
3079
+ onSelectColor: (e) => h({ color: e ? e.toString() : void 0 }),
3080
3080
  darkMode: o,
3081
3081
  propsPanel: {
3082
3082
  disableAlpha: !0,
3083
3083
  ...c
3084
3084
  }
3085
3085
  }),
3086
- (0, Z.jsx)(on, {
3086
+ (0, Z.jsx)(xt, {
3087
3087
  icon: "stroke.colored",
3088
3088
  tooltip: a("conditionalFormat.barBorderColor"),
3089
3089
  selectedColor: f,
3090
3090
  disabled: r,
3091
- onSelectColor: (e) => g({ borderColor: e ? e.toString() : void 0 }),
3091
+ onSelectColor: (e) => h({ borderColor: e ? e.toString() : void 0 }),
3092
3092
  darkMode: o,
3093
3093
  propsPanel: {
3094
3094
  disableAlpha: !0,
@@ -3097,14 +3097,14 @@ var zi = [
3097
3097
  })
3098
3098
  ]
3099
3099
  }),
3100
- (0, Z.jsxs)(I, {
3100
+ (0, Z.jsxs)(F, {
3101
3101
  sx: {
3102
3102
  display: "flex",
3103
3103
  alignItems: "center",
3104
3104
  gap: .5
3105
3105
  },
3106
3106
  children: [
3107
- (0, Z.jsx)(H, {
3107
+ (0, Z.jsx)(R, {
3108
3108
  variant: "caption",
3109
3109
  sx: {
3110
3110
  color: "text.secondary",
@@ -3112,34 +3112,34 @@ var zi = [
3112
3112
  },
3113
3113
  children: a("conditionalFormat.negative")
3114
3114
  }),
3115
- (0, Z.jsx)(on, {
3115
+ (0, Z.jsx)(xt, {
3116
3116
  icon: "fill.colored",
3117
3117
  tooltip: a("conditionalFormat.negativeColor"),
3118
3118
  selectedColor: d ?? u,
3119
3119
  disabled: r,
3120
- onSelectColor: (e) => g({ negativeFillColor: e ? e.toString() : void 0 }),
3120
+ onSelectColor: (e) => h({ negativeFillColor: e ? e.toString() : void 0 }),
3121
3121
  darkMode: o,
3122
3122
  propsPanel: {
3123
3123
  disableAlpha: !0,
3124
3124
  ...c
3125
3125
  }
3126
3126
  }),
3127
- (0, Z.jsx)(on, {
3127
+ (0, Z.jsx)(xt, {
3128
3128
  icon: "stroke.colored",
3129
3129
  tooltip: a("conditionalFormat.negativeBorderColor"),
3130
3130
  selectedColor: p ?? f,
3131
3131
  disabled: r,
3132
- onSelectColor: (e) => g({ negativeBorderColor: e ? e.toString() : void 0 }),
3132
+ onSelectColor: (e) => h({ negativeBorderColor: e ? e.toString() : void 0 }),
3133
3133
  darkMode: o,
3134
3134
  propsPanel: {
3135
3135
  disableAlpha: !0,
3136
3136
  ...c
3137
3137
  }
3138
3138
  }),
3139
- (0, Z.jsx)(Cn, {
3139
+ (0, Z.jsx)(At, {
3140
3140
  title: a("conditionalFormat.sameAsPositive"),
3141
3141
  disabled: r || !t.negativeFillColor && !t.negativeBorderColor,
3142
- onClick: () => g({
3142
+ onClick: () => h({
3143
3143
  negativeFillColor: void 0,
3144
3144
  negativeBorderColor: void 0
3145
3145
  }),
@@ -3147,33 +3147,33 @@ var zi = [
3147
3147
  color: "text.secondary",
3148
3148
  "&:disabled": { opacity: .4 }
3149
3149
  },
3150
- children: (0, Z.jsx)(w, {
3150
+ children: (0, Z.jsx)(C, {
3151
3151
  iconKey: "ClearFormats",
3152
3152
  size: 16
3153
3153
  })
3154
3154
  })
3155
3155
  ]
3156
3156
  }),
3157
- (0, Z.jsxs)(I, {
3157
+ (0, Z.jsxs)(F, {
3158
3158
  sx: {
3159
3159
  display: "flex",
3160
3160
  gap: 1,
3161
3161
  mt: .5
3162
3162
  },
3163
- children: [(0, Z.jsxs)(K, {
3163
+ children: [(0, Z.jsxs)(Ye, {
3164
3164
  size: "small",
3165
3165
  sx: {
3166
3166
  flex: 1,
3167
3167
  minWidth: 0
3168
3168
  },
3169
- children: [(0, Z.jsx)(Ht, { children: a("conditionalFormat.axis") }), (0, Z.jsxs)(q, {
3169
+ children: [(0, Z.jsx)(G, { children: a("conditionalFormat.axis") }), (0, Z.jsxs)(K, {
3170
3170
  label: a("conditionalFormat.axis"),
3171
3171
  value: t.axisPosition ?? Vi,
3172
3172
  disabled: r,
3173
3173
  sx: _,
3174
3174
  onChange: (e) => {
3175
3175
  let t = e.target.value;
3176
- g({ axisPosition: t === Vi ? void 0 : t });
3176
+ h({ axisPosition: t === Vi ? void 0 : t });
3177
3177
  },
3178
3178
  children: [
3179
3179
  (0, Z.jsx)(Y, {
@@ -3190,20 +3190,20 @@ var zi = [
3190
3190
  })
3191
3191
  ]
3192
3192
  })]
3193
- }), (0, Z.jsxs)(K, {
3193
+ }), (0, Z.jsxs)(Ye, {
3194
3194
  size: "small",
3195
3195
  sx: {
3196
3196
  flex: 1,
3197
3197
  minWidth: 0
3198
3198
  },
3199
- children: [(0, Z.jsx)(Ht, { children: a("conditionalFormat.direction") }), (0, Z.jsxs)(q, {
3199
+ children: [(0, Z.jsx)(G, { children: a("conditionalFormat.direction") }), (0, Z.jsxs)(K, {
3200
3200
  label: a("conditionalFormat.direction"),
3201
3201
  value: t.direction ?? Vi,
3202
3202
  disabled: r,
3203
3203
  sx: _,
3204
3204
  onChange: (e) => {
3205
3205
  let t = e.target.value;
3206
- g({ direction: t === Vi ? void 0 : t });
3206
+ h({ direction: t === Vi ? void 0 : t });
3207
3207
  },
3208
3208
  children: [
3209
3209
  (0, Z.jsx)(Y, {
@@ -3226,44 +3226,44 @@ var zi = [
3226
3226
  variant: "config",
3227
3227
  children: [(0, Z.jsx)(Ii, {
3228
3228
  label: a("conditionalFormat.stop.minimum"),
3229
- stop: l[0] ?? { type: h.ColorStopType.AutoMin },
3229
+ stop: l[0] ?? { type: g.ColorStopType.AutoMin },
3230
3230
  allowedTypes: zi,
3231
3231
  readOnly: r,
3232
3232
  onStopChange: (e) => {
3233
3233
  let t = l.slice();
3234
- t[0] = e, g({ stops: t });
3234
+ t[0] = e, h({ stops: t });
3235
3235
  }
3236
3236
  }), (0, Z.jsx)(Ii, {
3237
3237
  label: a("conditionalFormat.stop.maximum"),
3238
- stop: l[1] ?? { type: h.ColorStopType.AutoMax },
3238
+ stop: l[1] ?? { type: g.ColorStopType.AutoMax },
3239
3239
  allowedTypes: Bi,
3240
3240
  readOnly: r,
3241
3241
  onStopChange: (e) => {
3242
3242
  let t = l.slice();
3243
- for (; t.length < 2;) t.push({ type: h.ColorStopType.AutoMax });
3244
- t[1] = e, g({ stops: t });
3243
+ for (; t.length < 2;) t.push({ type: g.ColorStopType.AutoMax });
3244
+ t[1] = e, h({ stops: t });
3245
3245
  }
3246
3246
  })]
3247
3247
  })]
3248
3248
  });
3249
3249
  });
3250
3250
  Hi.displayName = "DataBarRulePanel";
3251
- var Ui = f("conditionalFormat.noCellIcon"), Wi = f("conditionalFormat.cellIcon"), Gi = {
3251
+ var Ui = m("conditionalFormat.noCellIcon"), Wi = m("conditionalFormat.cellIcon"), Gi = {
3252
3252
  borderColor: "primary.main",
3253
3253
  boxShadow: (e) => `inset 0 0 0 1px ${e.palette.primary.main}`
3254
3254
  }, Ki = {
3255
3255
  width: "28px",
3256
3256
  height: "26px"
3257
3257
  }, qi = (0, X.memo)((e) => {
3258
- let { icon: t, onPick: n } = e, r = j();
3259
- return (0, Z.jsxs)(I, {
3258
+ let { icon: t, onPick: n } = e, r = A();
3259
+ return (0, Z.jsxs)(F, {
3260
3260
  sx: {
3261
3261
  display: "flex",
3262
3262
  flexDirection: "column",
3263
3263
  gap: "4px",
3264
3264
  padding: "6px 8px"
3265
3265
  },
3266
- children: [(0, Z.jsx)(Cn, {
3266
+ children: [(0, Z.jsx)(At, {
3267
3267
  sheet: !0,
3268
3268
  title: r(Ui),
3269
3269
  "aria-pressed": t === null,
@@ -3272,24 +3272,24 @@ var Ui = f("conditionalFormat.noCellIcon"), Wi = f("conditionalFormat.cellIcon")
3272
3272
  ...t === null ? Gi : null
3273
3273
  },
3274
3274
  onClick: () => {
3275
- n({ ...Ge });
3275
+ n({ ...Cn });
3276
3276
  },
3277
- children: (0, Z.jsx)(ot, {
3277
+ children: (0, Z.jsx)(Ft, {
3278
3278
  icons: [null],
3279
3279
  size: 16
3280
3280
  })
3281
- }), (0, Z.jsx)(I, {
3281
+ }), (0, Z.jsx)(F, {
3282
3282
  sx: {
3283
3283
  display: "grid",
3284
3284
  gridTemplateColumns: "repeat(8, auto)",
3285
3285
  justifyContent: "start",
3286
3286
  gap: "3px"
3287
3287
  },
3288
- children: je.map((e) => {
3288
+ children: Lt.map((e) => {
3289
3289
  let i = ((e, t) => !!e && e.iconKey === t.iconKey && e.color === t.color)(t, e.spec);
3290
- return (0, Z.jsx)(Cn, {
3290
+ return (0, Z.jsx)(At, {
3291
3291
  sheet: !0,
3292
- title: Xt(r, e.spec),
3292
+ title: Ze(r, e.spec),
3293
3293
  "aria-pressed": i,
3294
3294
  sx: {
3295
3295
  ...Ki,
@@ -3301,7 +3301,7 @@ var Ui = f("conditionalFormat.noCellIcon"), Wi = f("conditionalFormat.cellIcon")
3301
3301
  id: e.id
3302
3302
  });
3303
3303
  },
3304
- children: (0, Z.jsx)(ot, {
3304
+ children: (0, Z.jsx)(Ft, {
3305
3305
  icons: [e.spec],
3306
3306
  size: 16
3307
3307
  })
@@ -3312,8 +3312,8 @@ var Ui = f("conditionalFormat.noCellIcon"), Wi = f("conditionalFormat.cellIcon")
3312
3312
  });
3313
3313
  qi.displayName = "IconCatalogPanel";
3314
3314
  var Ji = (0, X.memo)((0, X.forwardRef)((e, t) => {
3315
- let { icon: n, onPick: r, tooltip: i, ...a } = e, o = j();
3316
- return (0, Z.jsx)(V, {
3315
+ let { icon: n, onPick: r, tooltip: i, ...a } = e, o = A();
3316
+ return (0, Z.jsx)(Xt, {
3317
3317
  ref: t,
3318
3318
  createPopupPanel: (0, X.useCallback)((e) => {
3319
3319
  let { closeFloat: t } = e, i = (0, Z.jsx)(qi, {
@@ -3322,13 +3322,13 @@ var Ji = (0, X.memo)((0, X.forwardRef)((e, t) => {
3322
3322
  t?.(), r(e);
3323
3323
  }
3324
3324
  });
3325
- return ft({
3325
+ return Vt({
3326
3326
  ...e,
3327
3327
  children: i
3328
3328
  });
3329
3329
  }, [n, r]),
3330
3330
  tooltip: i ?? o(Wi),
3331
- icon: (0, Z.jsx)(ot, {
3331
+ icon: (0, Z.jsx)(Ft, {
3332
3332
  icons: [n],
3333
3333
  size: 16
3334
3334
  }),
@@ -3338,24 +3338,24 @@ var Ji = (0, X.memo)((0, X.forwardRef)((e, t) => {
3338
3338
  }));
3339
3339
  Ji.displayName = "IconPickerPopupButton";
3340
3340
  var Yi = [
3341
- h.ColorStopType.Percent,
3342
- h.ColorStopType.Num,
3343
- h.ColorStopType.Percentile,
3344
- h.ColorStopType.Formula
3341
+ g.ColorStopType.Percent,
3342
+ g.ColorStopType.Num,
3343
+ g.ColorStopType.Percentile,
3344
+ g.ColorStopType.Formula
3345
3345
  ], Xi = (0, X.memo)((e) => {
3346
- let { scale: t, onScaleChange: n, readOnly: r, ...a } = e, o = j(), s = t.iconSet ?? x.IconSet.TrafficLights3, c = ut(s).length === 0, l = t.stops ?? [], u = l.length, d = R(t), f = (e) => {
3346
+ let { scale: t, onScaleChange: n, readOnly: r, ...i } = e, a = A(), s = t.iconSet ?? b.IconSet.TrafficLights3, c = Ut(s).length === 0, l = t.stops ?? [], u = l.length, d = Yt(t), f = (e) => {
3347
3347
  let r = { ...t };
3348
3348
  for (let [t, n] of Object.entries(e)) n === void 0 ? delete r[t] : r[t] = n;
3349
3349
  n(r);
3350
3350
  }, p = (0, X.useCallback)((e) => {
3351
- let { closeFloat: t } = e, n = (0, Z.jsx)(mn, {
3352
- groups: fn,
3351
+ let { closeFloat: t } = e, n = (0, Z.jsx)(wt, {
3352
+ groups: _t,
3353
3353
  disabled: r,
3354
3354
  onPick: (e) => {
3355
- t?.(), e.type === h.ScaleType.IconSet && e.iconSet && ((e) => {
3355
+ t?.(), e.type === g.ScaleType.IconSet && e.iconSet && ((e) => {
3356
3356
  if (e === s) return;
3357
- let t = et(e), n = l;
3358
- t !== l.length && (n = Oe(t)), f({
3357
+ let t = cn(e), n = l;
3358
+ t !== l.length && (n = dn(t)), f({
3359
3359
  iconSet: e,
3360
3360
  stops: n,
3361
3361
  icon: void 0
@@ -3363,42 +3363,42 @@ var Yi = [
3363
3363
  })(e.iconSet);
3364
3364
  }
3365
3365
  });
3366
- return ft({
3366
+ return Vt({
3367
3367
  ...e,
3368
3368
  children: n
3369
3369
  });
3370
- }, [r, t]), m = i.camelToPrettyCase(s);
3371
- return (0, Z.jsxs)(I, {
3370
+ }, [r, t]), m = o.camelToPrettyCase(s);
3371
+ return (0, Z.jsxs)(F, {
3372
3372
  sx: {
3373
3373
  display: "flex",
3374
3374
  flexDirection: "column",
3375
3375
  gap: 1
3376
3376
  },
3377
- ...a,
3377
+ ...i,
3378
3378
  children: [(0, Z.jsxs)(Oi, { children: [
3379
- (0, Z.jsx)(I, {
3379
+ (0, Z.jsx)(F, {
3380
3380
  sx: {
3381
3381
  display: "flex",
3382
3382
  alignItems: "center",
3383
3383
  gap: 1
3384
3384
  },
3385
- children: (0, Z.jsx)(V, {
3385
+ children: (0, Z.jsx)(Xt, {
3386
3386
  outlined: !0,
3387
3387
  disabled: r,
3388
3388
  label: m,
3389
3389
  tooltip: m,
3390
- icon: (0, Z.jsx)(I, {
3390
+ icon: (0, Z.jsx)(F, {
3391
3391
  sx: {
3392
3392
  width: "82px",
3393
3393
  display: "flex",
3394
3394
  justifyContent: "center"
3395
3395
  },
3396
- children: c ? (0, Z.jsx)(H, {
3396
+ children: c ? (0, Z.jsx)(R, {
3397
3397
  variant: "caption",
3398
3398
  noWrap: !0,
3399
3399
  children: m
3400
- }) : (0, Z.jsx)(ot, {
3401
- icons: ut(s),
3400
+ }) : (0, Z.jsx)(Ft, {
3401
+ icons: Ut(s),
3402
3402
  order: "descending",
3403
3403
  size: 14,
3404
3404
  gap: 3
@@ -3407,37 +3407,37 @@ var Yi = [
3407
3407
  createPopupPanel: p
3408
3408
  })
3409
3409
  }),
3410
- c && (0, Z.jsx)(H, {
3410
+ c && (0, Z.jsx)(R, {
3411
3411
  variant: "caption",
3412
3412
  sx: { color: "text.secondary" },
3413
- children: o("conditionalFormat.adoptedIconSet")
3413
+ children: a("conditionalFormat.adoptedIconSet")
3414
3414
  }),
3415
- (0, Z.jsxs)(I, {
3415
+ (0, Z.jsxs)(F, {
3416
3416
  sx: {
3417
3417
  display: "flex",
3418
3418
  gap: 1
3419
3419
  },
3420
- children: [(0, Z.jsx)(En, {
3421
- control: (0, Z.jsx)(Tn, {
3420
+ children: [(0, Z.jsx)(q, {
3421
+ control: (0, Z.jsx)(jt, {
3422
3422
  size: "small",
3423
3423
  checked: !1 === t.showValue,
3424
3424
  disabled: r,
3425
3425
  onChange: (e) => f({ showValue: !e.target.checked && void 0 })
3426
3426
  }),
3427
- label: (0, Z.jsx)(H, {
3427
+ label: (0, Z.jsx)(R, {
3428
3428
  variant: "body2",
3429
- children: o("conditionalFormat.showIconsOnly")
3429
+ children: a("conditionalFormat.showIconsOnly")
3430
3430
  })
3431
- }), (0, Z.jsx)(En, {
3432
- control: (0, Z.jsx)(Tn, {
3431
+ }), (0, Z.jsx)(q, {
3432
+ control: (0, Z.jsx)(jt, {
3433
3433
  size: "small",
3434
3434
  checked: t.reverse ?? !1,
3435
3435
  disabled: r,
3436
3436
  onChange: (e) => f({ reverse: !!e.target.checked || void 0 })
3437
3437
  }),
3438
- label: (0, Z.jsx)(H, {
3438
+ label: (0, Z.jsx)(R, {
3439
3439
  variant: "body2",
3440
- children: o("conditionalFormat.reverseIcons")
3440
+ children: a("conditionalFormat.reverseIcons")
3441
3441
  })
3442
3442
  })]
3443
3443
  })
@@ -3453,7 +3453,7 @@ var Yi = [
3453
3453
  leading: (0, Z.jsx)(Ji, {
3454
3454
  icon: d[i] ?? null,
3455
3455
  disabled: r || c,
3456
- onPick: (e) => n(st(t, a, e))
3456
+ onPick: (e) => n(gn(t, a, e))
3457
3457
  }),
3458
3458
  onStopChange: (e) => {
3459
3459
  let t = l.slice();
@@ -3465,15 +3465,15 @@ var Yi = [
3465
3465
  });
3466
3466
  });
3467
3467
  Xi.displayName = "IconSetRulePanel";
3468
- var Zi = (e, t, n) => Wt(e, t)?.toCSS("adaptive") ?? n, Qi = (e, t, n) => {
3468
+ var Zi = (e, t, n) => rt(e, t)?.toCSS("adaptive") ?? n, Qi = (e, t, n) => {
3469
3469
  if (!e) return n;
3470
3470
  if (typeof e == "string") return Zi(e, t, n);
3471
- if (e.type === y.Type.None) return n;
3471
+ if (e.type === x.Type.None) return n;
3472
3472
  let r = e, i = e;
3473
3473
  return Zi(i.foreground ?? r.color ?? i.background, t, n);
3474
3474
  }, $i = (0, X.memo)((e) => {
3475
- let { conditionalFormat: t, size: n = 28, ...r } = e, { workbook: i, themeKey: a } = Sn();
3476
- Ke(t, "onAnyChange");
3475
+ let { conditionalFormat: t, size: n = 28, ...r } = e, { workbook: i, themeKey: a } = at();
3476
+ qt(t, "onAnyChange");
3477
3477
  let o = t.getScale(), s = t.getStyle(), c = (0, X.useMemo)(() => {
3478
3478
  try {
3479
3479
  return i?.getStyles().getNormal().getFont().toCSS("adaptive") ?? {};
@@ -3481,9 +3481,9 @@ var Zi = (e, t, n) => Wt(e, t)?.toCSS("adaptive") ?? n, Qi = (e, t, n) => {
3481
3481
  return {};
3482
3482
  }
3483
3483
  }, [i, a]), l = (0, X.useMemo)(() => {
3484
- if (o?.type === h.ScaleType.ColorScale) return (0, Z.jsx)(Gt, { rows: wn(o.stops ?? [], Qt, i) });
3485
- if (o?.type === h.ScaleType.DataBar) return (0, Z.jsx)(Gt, { rows: qt(o, Zi(o.color, i, xn), o.borderColor ? Zi(o.borderColor, i, xn) : void 0) });
3486
- if (o?.type === h.ScaleType.IconSet) return (0, Z.jsx)(I, {
3484
+ if (o?.type === g.ScaleType.ColorScale) return (0, Z.jsx)(kt, { rows: st(o.stops ?? [], et, i) });
3485
+ if (o?.type === g.ScaleType.DataBar) return (0, Z.jsx)(kt, { rows: Ot(o, Zi(o.color, i, pt), o.borderColor ? Zi(o.borderColor, i, pt) : void 0) });
3486
+ if (o?.type === g.ScaleType.IconSet) return (0, Z.jsx)(F, {
3487
3487
  sx: {
3488
3488
  display: "flex",
3489
3489
  alignItems: "center",
@@ -3492,15 +3492,15 @@ var Zi = (e, t, n) => Wt(e, t)?.toCSS("adaptive") ?? n, Qi = (e, t, n) => {
3492
3492
  height: "100%",
3493
3493
  px: .5
3494
3494
  },
3495
- children: (0, Z.jsx)(ot, {
3496
- icons: R(o),
3495
+ children: (0, Z.jsx)(Ft, {
3496
+ icons: Yt(o),
3497
3497
  order: "descending",
3498
3498
  size: 14,
3499
3499
  gap: 3
3500
3500
  })
3501
3501
  });
3502
- let e = s?.font, t = e?.underline && e.underline !== g.UnderlineStyle.None;
3503
- return (0, Z.jsx)(I, {
3502
+ let e = s?.font, t = e?.underline && e.underline !== v.UnderlineStyle.None;
3503
+ return (0, Z.jsx)(F, {
3504
3504
  sx: {
3505
3505
  width: "100%",
3506
3506
  height: "100%",
@@ -3509,13 +3509,13 @@ var Zi = (e, t, n) => Wt(e, t)?.toCSS("adaptive") ?? n, Qi = (e, t, n) => {
3509
3509
  justifyContent: "center",
3510
3510
  ...c,
3511
3511
  backgroundColor: Qi(s?.fill, i, "transparent"),
3512
- ...e?.color && e.color !== "auto" ? { color: Zi(e.color, i, tn) } : null,
3512
+ ...e?.color && e.color !== "auto" ? { color: Zi(e.color, i, Qe) } : null,
3513
3513
  ...e?.weight ? { fontWeight: e.weight } : null,
3514
3514
  ...e?.style ? { fontStyle: e.style } : null,
3515
3515
  textDecoration: [t ? "underline" : "", e?.strike ? "line-through" : ""].join(" ").trim() || "none",
3516
3516
  fontSize: `${Math.round(.5 * n)}px`,
3517
3517
  lineHeight: 1,
3518
- outline: s?.border ? `1px solid ${Zi(Object.values(s.border)[0]?.color, i, pn)}` : void 0,
3518
+ outline: s?.border ? `1px solid ${Zi(Object.values(s.border)[0]?.color, i, $e)}` : void 0,
3519
3519
  outlineOffset: "-3px"
3520
3520
  },
3521
3521
  children: "Aa"
@@ -3528,7 +3528,7 @@ var Zi = (e, t, n) => Wt(e, t)?.toCSS("adaptive") ?? n, Qi = (e, t, n) => {
3528
3528
  i,
3529
3529
  a
3530
3530
  ]);
3531
- return (0, Z.jsx)(Cn, {
3531
+ return (0, Z.jsx)(At, {
3532
3532
  sheet: !0,
3533
3533
  className: "sxl-cf-rule-preview",
3534
3534
  sx: {
@@ -3542,10 +3542,10 @@ var Zi = (e, t, n) => Wt(e, t)?.toCSS("adaptive") ?? n, Qi = (e, t, n) => {
3542
3542
  });
3543
3543
  $i.displayName = "RulePreview";
3544
3544
  var ea = (0, X.memo)((e) => {
3545
- let { conditionalFormat: t, label: n, helperText: r } = e, i = j(), a = ve();
3546
- Ke(t, ["onAnchorCoordsChange", "onAnyChange"]);
3545
+ let { conditionalFormat: t, label: n, helperText: r } = e, i = A(), a = ve();
3546
+ qt(t, ["onAnchorCoordsChange", "onAnyChange"]);
3547
3547
  let o = t.getRanges();
3548
- return (0, Z.jsx)(An, {
3548
+ return (0, Z.jsx)(jn, {
3549
3549
  grammar: "reference",
3550
3550
  value: o,
3551
3551
  allowMulti: !0,
@@ -3579,21 +3579,21 @@ var ta = (e, t) => {
3579
3579
  let n = e.getCondition()?.toString();
3580
3580
  if (n) return n;
3581
3581
  let r = e.getScale();
3582
- return r ? i.camelToPrettyCase(r.type) : t("conditionalFormat.noCondition");
3582
+ return r ? o.camelToPrettyCase(r.type) : t("conditionalFormat.noCondition");
3583
3583
  }, na = {
3584
- classic: f("conditionalFormat.tab.classic"),
3585
- [h.ScaleType.ColorScale]: f("conditionalFormat.tab.colorScale"),
3586
- [h.ScaleType.DataBar]: f("conditionalFormat.tab.dataBars"),
3587
- [h.ScaleType.IconSet]: f("conditionalFormat.tab.iconSets")
3584
+ classic: m("conditionalFormat.tab.classic"),
3585
+ [g.ScaleType.ColorScale]: m("conditionalFormat.tab.colorScale"),
3586
+ [g.ScaleType.DataBar]: m("conditionalFormat.tab.dataBars"),
3587
+ [g.ScaleType.IconSet]: m("conditionalFormat.tab.iconSets")
3588
3588
  }, ra = (0, X.memo)((e) => {
3589
- let { conditionalFormat: t } = e, n = j();
3590
- Ke(t, "onAnyChange");
3589
+ let { conditionalFormat: t } = e, n = A();
3590
+ qt(t, "onAnyChange");
3591
3591
  let r = t.getScale(), i = t.getCondition(), a = t.getStyle(), o = t.isProtected(), s = r?.type ?? "classic", c = (0, X.useRef)({ scales: {} }), l = (e) => {
3592
3592
  t.update({ scale: e });
3593
3593
  };
3594
- return (0, Z.jsxs)(Ot, {
3594
+ return (0, Z.jsxs)(Re, {
3595
3595
  tabIndex: 0,
3596
- className: nn["editor-panel"],
3596
+ className: mt["editor-panel"],
3597
3597
  sx: {
3598
3598
  gap: (e) => e.spacing(1),
3599
3599
  paddingTop: (e) => e.spacing(1.25),
@@ -3605,7 +3605,7 @@ var ta = (e, t) => {
3605
3605
  overflow: "auto"
3606
3606
  },
3607
3607
  children: [
3608
- (0, Z.jsxs)(I, {
3608
+ (0, Z.jsxs)(F, {
3609
3609
  sx: {
3610
3610
  display: "flex",
3611
3611
  flexDirection: "column",
@@ -3613,7 +3613,7 @@ var ta = (e, t) => {
3613
3613
  margin: (e) => e.spacing(1.25),
3614
3614
  marginBottom: 0
3615
3615
  },
3616
- children: [(0, Z.jsxs)(I, {
3616
+ children: [(0, Z.jsxs)(F, {
3617
3617
  sx: {
3618
3618
  display: "flex",
3619
3619
  alignItems: "center",
@@ -3622,7 +3622,7 @@ var ta = (e, t) => {
3622
3622
  children: [(0, Z.jsx)($i, {
3623
3623
  conditionalFormat: t,
3624
3624
  size: 48
3625
- }), (0, Z.jsx)(H, {
3625
+ }), (0, Z.jsx)(R, {
3626
3626
  variant: "body2",
3627
3627
  sx: {
3628
3628
  minWidth: 0,
@@ -3632,20 +3632,20 @@ var ta = (e, t) => {
3632
3632
  })]
3633
3633
  }), (0, Z.jsx)(ea, { conditionalFormat: t })]
3634
3634
  }),
3635
- (0, Z.jsx)(Jt, {
3635
+ (0, Z.jsx)(tt, {
3636
3636
  value: s,
3637
3637
  onChange: (e, n) => {
3638
3638
  o || ((e) => {
3639
3639
  if (e !== s) if (s === "classic" ? (c.current.condition = i?.toJSON() ?? null, c.current.style = a) : r && (c.current.scales[r.type] = r), e === "classic") t.update({
3640
3640
  condition: c.current.condition ?? {
3641
- operator: b.BuiltInOperatorNames.Between,
3641
+ operator: h.BuiltInOperatorNames.Between,
3642
3642
  param: null
3643
3643
  },
3644
3644
  style: c.current.style ?? null,
3645
3645
  scale: null
3646
3646
  });
3647
3647
  else {
3648
- let n = c.current.scales[e] ?? (e === h.ScaleType.ColorScale ? Ie() : e === h.ScaleType.DataBar ? Ye() : Be());
3648
+ let n = c.current.scales[e] ?? (e === g.ScaleType.ColorScale ? xn() : e === g.ScaleType.DataBar ? en() : yn());
3649
3649
  t.update({
3650
3650
  scale: n,
3651
3651
  condition: null,
@@ -3668,7 +3668,7 @@ var ta = (e, t) => {
3668
3668
  minWidth: 0
3669
3669
  }
3670
3670
  },
3671
- children: Object.keys(na).map((e) => (0, Z.jsx)(Yt, {
3671
+ children: Object.keys(na).map((e) => (0, Z.jsx)(nt, {
3672
3672
  value: e,
3673
3673
  label: n(na[e])
3674
3674
  }, e))
@@ -3683,22 +3683,22 @@ var ta = (e, t) => {
3683
3683
  readOnly: o,
3684
3684
  onConditionChange: (e) => t.setCondition(e)
3685
3685
  })] }),
3686
- r?.type === h.ScaleType.ColorScale && (0, Z.jsx)(Ri, {
3686
+ r?.type === g.ScaleType.ColorScale && (0, Z.jsx)(Ri, {
3687
3687
  scale: r,
3688
3688
  onScaleChange: l,
3689
3689
  readOnly: o
3690
3690
  }),
3691
- r?.type === h.ScaleType.DataBar && (0, Z.jsx)(Hi, {
3691
+ r?.type === g.ScaleType.DataBar && (0, Z.jsx)(Hi, {
3692
3692
  scale: r,
3693
3693
  onScaleChange: l,
3694
3694
  readOnly: o
3695
3695
  }),
3696
- r?.type === h.ScaleType.IconSet && (0, Z.jsx)(Xi, {
3696
+ r?.type === g.ScaleType.IconSet && (0, Z.jsx)(Xi, {
3697
3697
  scale: r,
3698
3698
  onScaleChange: l,
3699
3699
  readOnly: o
3700
3700
  }),
3701
- s === "classic" && (0, Z.jsx)(I, {
3701
+ s === "classic" && (0, Z.jsx)(F, {
3702
3702
  sx: {
3703
3703
  pl: 2,
3704
3704
  pr: 2,
@@ -3706,8 +3706,8 @@ var ta = (e, t) => {
3706
3706
  borderColor: "divider",
3707
3707
  borderRadius: 1
3708
3708
  },
3709
- children: (0, Z.jsx)(En, {
3710
- control: (0, Z.jsx)(Tn, {
3709
+ children: (0, Z.jsx)(q, {
3710
+ control: (0, Z.jsx)(jt, {
3711
3711
  checked: t.isStopIfTrue(),
3712
3712
  disabled: o,
3713
3713
  onChange: (e) => t.setStopIfTrue(e.target.checked)
@@ -3720,8 +3720,8 @@ var ta = (e, t) => {
3720
3720
  });
3721
3721
  ra.displayName = "ConditionalFormatEditorPanel";
3722
3722
  var ia = (0, X.memo)(({ item: e }) => {
3723
- let t = j();
3724
- return Ke(e, "onAnyChange"), !e.isStopIfTrue() || e.getScale() ? null : (0, Z.jsx)(I, {
3723
+ let t = A();
3724
+ return qt(e, "onAnyChange"), !e.isStopIfTrue() || e.getScale() ? null : (0, Z.jsx)(F, {
3725
3725
  sx: {
3726
3726
  display: "inline-flex",
3727
3727
  alignItems: "center",
@@ -3733,7 +3733,7 @@ var ia = (0, X.memo)(({ item: e }) => {
3733
3733
  borderRadius: 1,
3734
3734
  color: "text.secondary"
3735
3735
  },
3736
- children: (0, Z.jsx)(H, {
3736
+ children: (0, Z.jsx)(R, {
3737
3737
  variant: "caption",
3738
3738
  children: t("conditionalFormat.stopIfTrue")
3739
3739
  })
@@ -3743,18 +3743,18 @@ ia.displayName = "StopIfTrueBadge";
3743
3743
  var aa = {
3744
3744
  key: "conditional-format",
3745
3745
  messageKeys: {
3746
- none: f("conditionalFormat.none"),
3747
- addPrompt: f("conditionalFormat.addPrompt"),
3748
- heading: f("conditionalFormat.heading"),
3749
- insert: f("conditionalFormat.insert"),
3750
- new: f("conditionalFormat.new"),
3751
- moveUp: f("conditionalFormat.moveUp"),
3752
- moveDown: f("conditionalFormat.moveDown"),
3753
- edit: f("conditionalFormat.edit"),
3754
- duplicate: f("conditionalFormat.duplicate"),
3755
- delete: f("conditionalFormat.delete"),
3756
- cancel: f("conditionalFormat.cancel"),
3757
- save: f("conditionalFormat.save")
3746
+ none: m("conditionalFormat.none"),
3747
+ addPrompt: m("conditionalFormat.addPrompt"),
3748
+ heading: m("conditionalFormat.heading"),
3749
+ insert: m("conditionalFormat.insert"),
3750
+ new: m("conditionalFormat.new"),
3751
+ moveUp: m("conditionalFormat.moveUp"),
3752
+ moveDown: m("conditionalFormat.moveDown"),
3753
+ edit: m("conditionalFormat.edit"),
3754
+ duplicate: m("conditionalFormat.duplicate"),
3755
+ delete: m("conditionalFormat.delete"),
3756
+ cancel: m("conditionalFormat.cancel"),
3757
+ save: m("conditionalFormat.save")
3758
3758
  },
3759
3759
  getCollection: (e) => e.getConditionalFormats(),
3760
3760
  changeEvents: ["onConditionalFormatsChange"],
@@ -4676,14 +4676,14 @@ var vo = (0, X.memo)(_o), yo = qa({ wrappedRoot: {
4676
4676
  checkIcon: "_checkIcon_h0jnt_42",
4677
4677
  button: "_button_h0jnt_47"
4678
4678
  }, jo = (0, X.memo)((0, X.forwardRef)((e, t) => {
4679
- let { id: n, message: r, iconVariant: i, error: o, hideIconVariant: s, ...c } = e, l = j(), { closeSnackbar: d } = ko(), [f, p] = (0, X.useState)(!1), m = o ? a.collectErrorChain(o, !0)?.[0]?.error : void 0, h = m && !(m instanceof u), g = (0, X.useCallback)(() => {
4679
+ let { id: n, message: r, iconVariant: i, error: a, hideIconVariant: o, ...c } = e, l = A(), { closeSnackbar: u } = ko(), [d, p] = (0, X.useState)(!1), m = a ? s.collectErrorChain(a, !0)?.[0]?.error : void 0, h = m && !(m instanceof f), g = (0, X.useCallback)(() => {
4680
4680
  p((e) => !e);
4681
4681
  }, []), _ = (0, X.useCallback)(() => {
4682
- d(n);
4683
- }, [n, d]), v = m?.message;
4682
+ u(n);
4683
+ }, [n, u]), v = m?.message;
4684
4684
  return !v && (0, X.isValidElement)(r) && (v = r), v || typeof r != "string" || (v = r), v ||= `Unknown Error: ${r}`, (0, Z.jsx)(co, {
4685
4685
  ref: t,
4686
- className: C(Ao.root, "error-snackbar"),
4686
+ className: kn(Ao.root, "error-snackbar"),
4687
4687
  children: (0, Z.jsxs)(kr, {
4688
4688
  className: Ao.card,
4689
4689
  style: {
@@ -4694,8 +4694,8 @@ var vo = (0, X.memo)(_o), yo = qa({ wrappedRoot: {
4694
4694
  children: [(0, Z.jsxs)(Mr, {
4695
4695
  className: Ao.actionRoot,
4696
4696
  children: [
4697
- s ? null : i?.error,
4698
- (0, Z.jsx)(H, {
4697
+ o ? null : i?.error,
4698
+ (0, Z.jsx)(R, {
4699
4699
  variant: "body2",
4700
4700
  component: "div",
4701
4701
  className: Ao.typography,
@@ -4704,25 +4704,25 @@ var vo = (0, X.memo)(_o), yo = qa({ wrappedRoot: {
4704
4704
  (0, Z.jsx)("div", { style: { flex: "1 1 auto" } }),
4705
4705
  (0, Z.jsxs)("div", {
4706
4706
  className: Ao.icons,
4707
- children: [h ? (0, Z.jsx)(xt, {
4707
+ children: [h ? (0, Z.jsx)(I, {
4708
4708
  "aria-label": l("toast.showMore"),
4709
4709
  size: "small",
4710
- className: C(Ao.expand, { [Ao.expandOpen]: f }),
4710
+ className: kn(Ao.expand, { [Ao.expandOpen]: d }),
4711
4711
  onClick: g,
4712
- children: (0, Z.jsx)(w, { iconKey: "ExpandMore" })
4713
- }) : null, (0, Z.jsx)(xt, {
4712
+ children: (0, Z.jsx)(C, { iconKey: "ExpandMore" })
4713
+ }) : null, (0, Z.jsx)(I, {
4714
4714
  size: "small",
4715
4715
  className: Ao.expand,
4716
4716
  onClick: _,
4717
- children: (0, Z.jsx)(w, {
4717
+ children: (0, Z.jsx)(C, {
4718
4718
  iconKey: "Close",
4719
4719
  style: { transform: "scale(0.8)" }
4720
4720
  })
4721
4721
  })]
4722
4722
  })
4723
4723
  ]
4724
- }), h ? (0, Z.jsx)(Dn, {
4725
- in: f,
4724
+ }), h ? (0, Z.jsx)(Mt, {
4725
+ in: d,
4726
4726
  timeout: "auto",
4727
4727
  children: (0, Z.jsx)("div", {
4728
4728
  className: Ao.stackTraceContainer,
@@ -4730,8 +4730,8 @@ var vo = (0, X.memo)(_o), yo = qa({ wrappedRoot: {
4730
4730
  backgroundColor: "color-mix(in srgb, var(--sxl-color-error) 90%, var(--sxl-color-base-100))",
4731
4731
  borderTop: "1px solid var(--sxl-color-error)"
4732
4732
  },
4733
- children: (0, Z.jsx)($e, {
4734
- error: o,
4733
+ children: (0, Z.jsx)(Qt, {
4734
+ error: a,
4735
4735
  hideLineNumbers: !0
4736
4736
  })
4737
4737
  })
@@ -4740,10 +4740,10 @@ var vo = (0, X.memo)(_o), yo = qa({ wrappedRoot: {
4740
4740
  });
4741
4741
  }));
4742
4742
  jo.displayName = "ToastError";
4743
- var Mo = (0, Z.jsx)(() => (0, Z.jsx)(It, {
4743
+ var Mo = (0, Z.jsx)(() => (0, Z.jsx)(Ue, {
4744
4744
  label: "SheetXL",
4745
- description: j()("logo.description"),
4746
- children: (0, Z.jsx)(I, {
4745
+ description: A()("logo.description"),
4746
+ children: (0, Z.jsx)(F, {
4747
4747
  component: "a",
4748
4748
  href: "https://www.sheetxl.com",
4749
4749
  target: "_blank",
@@ -4756,24 +4756,24 @@ var Mo = (0, Z.jsx)(() => (0, Z.jsx)(It, {
4756
4756
  marginLeft: "6px",
4757
4757
  cursor: "pointer"
4758
4758
  },
4759
- children: (0, Z.jsx)(Ne, { style: {
4759
+ children: (0, Z.jsx)(_n, { style: {
4760
4760
  width: "24px",
4761
4761
  height: "24px"
4762
4762
  } })
4763
4763
  })
4764
4764
  }), {}), No = (0, X.memo)((0, X.forwardRef)((e, t) => {
4765
- let { workbook: n, className: r, logo: i = Mo, mainElement: a, startElement: o, endElement: s, ...c } = e, [l, { width: u }] = jn(), d = u < 530, f = (0, X.useRef)(null);
4766
- return (0, Z.jsx)(I, {
4765
+ let { workbook: n, className: r, logo: i = Mo, mainElement: a, startElement: o, endElement: s, ...c } = e, [l, { width: u }] = An(), d = u < 530, f = (0, X.useRef)(null);
4766
+ return (0, Z.jsx)(F, {
4767
4767
  ...c,
4768
- ref: kn([
4768
+ ref: On([
4769
4769
  f,
4770
4770
  l,
4771
4771
  t
4772
4772
  ]),
4773
4773
  className: r,
4774
- children: Kt({
4774
+ children: ot({
4775
4775
  isCompact: d,
4776
- wrapperSelect: (e) => (0, Z.jsxs)(I, {
4776
+ wrapperSelect: (e) => (0, Z.jsxs)(F, {
4777
4777
  sx: {
4778
4778
  display: "grid",
4779
4779
  gridTemplateColumns: "1fr auto 1fr",
@@ -4784,7 +4784,7 @@ var Mo = (0, Z.jsx)(() => (0, Z.jsx)(It, {
4784
4784
  paddingRight: (e) => e.spacing(1)
4785
4785
  },
4786
4786
  children: [
4787
- (0, Z.jsxs)(I, {
4787
+ (0, Z.jsxs)(F, {
4788
4788
  sx: {
4789
4789
  display: "flex",
4790
4790
  flexDirection: "row",
@@ -4792,7 +4792,7 @@ var Mo = (0, Z.jsx)(() => (0, Z.jsx)(It, {
4792
4792
  justifyContent: "start",
4793
4793
  gap: (e) => e.spacing(.5)
4794
4794
  },
4795
- children: [i, (0, Z.jsxs)(I, {
4795
+ children: [i, (0, Z.jsxs)(F, {
4796
4796
  sx: {
4797
4797
  display: "flex",
4798
4798
  flexDirection: "row",
@@ -4802,7 +4802,7 @@ var Mo = (0, Z.jsx)(() => (0, Z.jsx)(It, {
4802
4802
  children: [o, e]
4803
4803
  })]
4804
4804
  }),
4805
- (0, Z.jsx)(I, {
4805
+ (0, Z.jsx)(F, {
4806
4806
  sx: {
4807
4807
  display: "flex",
4808
4808
  flexDirection: "row",
@@ -4813,7 +4813,7 @@ var Mo = (0, Z.jsx)(() => (0, Z.jsx)(It, {
4813
4813
  },
4814
4814
  children: a
4815
4815
  }),
4816
- (0, Z.jsx)(I, {
4816
+ (0, Z.jsx)(F, {
4817
4817
  sx: {
4818
4818
  display: "flex",
4819
4819
  alignItems: "center",
@@ -4827,26 +4827,26 @@ var Mo = (0, Z.jsx)(() => (0, Z.jsx)(It, {
4827
4827
  });
4828
4828
  }));
4829
4829
  function Po(e, t) {
4830
- let { workbook: n, setWorkbook: r, workbookTitle: a = "export", isDirty: s, notifier: c } = t, l = !1, u = async (e = null, t = null, n = null) => {
4830
+ let { workbook: n, setWorkbook: r, workbookTitle: i = "export", isDirty: a, notifier: s } = t, l = !1, u = async (e = null, t = null, n = null) => {
4831
4831
  let r, i = [], a = {
4832
4832
  source: e && typeof e != "string" ? e : null,
4833
4833
  typedCreateWorkbookOptions: t ?? void 0,
4834
4834
  onPassword: async ({ origin: e, validate: t }) => {
4835
- let n = await c.showInput({
4836
- title: o("dialog.password.title"),
4837
- description: o("dialog.password.open.description", { name: e.getName() ?? "" }),
4835
+ let n = await s.showInput({
4836
+ title: c("dialog.password.title"),
4837
+ description: c("dialog.password.open.description", { name: e.getName() ?? "" }),
4838
4838
  inputType: "password",
4839
4839
  options: [{
4840
4840
  id: "Open",
4841
- label: () => o("dialog.open")
4841
+ label: () => c("dialog.open")
4842
4842
  }, "Cancel"],
4843
4843
  defaultOption: "Open",
4844
4844
  onValidateInput: async (e, n) => n === void 0 ? { valid: !0 } : e ? await t(e) ? { valid: !0 } : {
4845
4845
  valid: !1,
4846
- message: o("dialog.password.open.retry")
4846
+ message: c("dialog.password.open.retry")
4847
4847
  } : {
4848
4848
  valid: !1,
4849
- message: o("dialog.password.open.required")
4849
+ message: c("dialog.password.open.required")
4850
4850
  }
4851
4851
  });
4852
4852
  return n?.option === "Open" ? n.input ?? null : null;
@@ -4856,37 +4856,37 @@ function Po(e, t) {
4856
4856
  } }
4857
4857
  };
4858
4858
  n && (a.progress.onStart = n);
4859
- let s = -5;
4860
- return L.read({
4859
+ let o = -5;
4860
+ return mn.read({
4861
4861
  ...a,
4862
4862
  progress: {
4863
4863
  async onStart(e, t) {
4864
- await a?.progress?.onStart?.(e, t), r = await c?.showBusy?.(o("workbook.opening", { name: e?.getName() ?? "" })), t && r?.setProgress?.(0, t);
4864
+ await a?.progress?.onStart?.(e, t), r = await s?.showBusy?.(c("workbook.opening", { name: e?.getName() ?? "" })), t && r?.setProgress?.(0, t);
4865
4865
  },
4866
4866
  onProgress(e, t) {
4867
4867
  if (!t) return;
4868
4868
  let n = Math.min(100, Math.round(e / t * 100));
4869
4869
  if (n >= 100) {
4870
- if (s === 100) return;
4871
- s = 100, r?.setProgress?.(e, t);
4870
+ if (o === 100) return;
4871
+ o = 100, r?.setProgress?.(e, t);
4872
4872
  return;
4873
4873
  }
4874
- n - s < 5 || (s = n, r?.setProgress?.(e, t));
4874
+ n - o < 5 || (o = n, r?.setProgress?.(e, t));
4875
4875
  },
4876
4876
  onComplete() {
4877
- r?.(), i.length > 0 && (c.showMessage(o("workbook.importWarnings")), console.warn("Import warnings:\n" + i.join("\n")));
4877
+ r?.(), i.length > 0 && (s.showMessage(c("workbook.importWarnings")), console.warn("Import warnings:\n" + i.join("\n")));
4878
4878
  },
4879
4879
  onWarning(e) {
4880
- c.showMessage(e, { type: pe.Info });
4880
+ s.showMessage(e, { type: pe.Info });
4881
4881
  }
4882
4882
  }
4883
4883
  });
4884
- }, p = async (e, t, n = !1) => {
4885
- let r, i, s = {
4884
+ }, d = async (e, t, n = !1) => {
4885
+ let r, a, o = {
4886
4886
  format: t?.key,
4887
4887
  progress: {
4888
4888
  async onStart(e) {
4889
- r = await c?.showBusy?.(o("workbook.saving", { name: e?.getName() ?? "" }));
4889
+ r = await s?.showBusy?.(c("workbook.saving", { name: e?.getName() ?? "" }));
4890
4890
  },
4891
4891
  onComplete() {
4892
4892
  r?.();
@@ -4894,44 +4894,44 @@ function Po(e, t) {
4894
4894
  }
4895
4895
  };
4896
4896
  if (n) {
4897
- let n = e.getOrigin(), r = t?.exts?.[0] ?? (n.getExtension() || "sxl"), c = `${a || n.getName() || o("workbook.defaultName")}.${r}`;
4898
- i = await L.writeAs(e, c, {
4899
- ...s,
4897
+ let n = e.getOrigin(), r = t?.exts?.[0] ?? (n.getExtension() || "sxl"), s = `${i || n.getName() || c("workbook.defaultName")}.${r}`;
4898
+ a = await mn.writeAs(e, s, {
4899
+ ...o,
4900
4900
  prompt: !0
4901
4901
  });
4902
- } else i = await L.write(e, void 0, s);
4903
- return !!i;
4902
+ } else a = await mn.write(e, void 0, o);
4903
+ return !!a;
4904
4904
  };
4905
4905
  return e.updateCommand("newWorkbook", { callback: () => {
4906
- window.open(window.origin.toString(), "sheetxl-" + i.uuidV4(), "popup=true");
4906
+ window.open(window.origin.toString(), "sheetxl-" + o.uuidV4(), "popup=true");
4907
4907
  } }), e.updateCommand("closeWorkbook", { callback: async () => {
4908
- s() && await c.showOptions({
4909
- title: o("dialog.confirm.title"),
4910
- description: o("dialog.unsavedChanges"),
4908
+ a() && await s.showOptions({
4909
+ title: c("dialog.confirm.title"),
4910
+ description: c("dialog.unsavedChanges"),
4911
4911
  options: [{
4912
4912
  id: "Close",
4913
- label: () => o("dialog.close")
4913
+ label: () => c("dialog.close")
4914
4914
  }, "Cancel"],
4915
4915
  defaultOption: "Cancel"
4916
4916
  }) !== "Close" || window.close();
4917
4917
  } }), (async () => {
4918
- let t = await L.getWriteFormats();
4918
+ let t = await mn.getWriteFormats();
4919
4919
  if (l) return;
4920
- let i = L.canWrite(), a = L.canRead();
4920
+ let i = mn.canWrite(), o = mn.canRead();
4921
4921
  if (i) {
4922
4922
  let r = (e) => {
4923
4923
  let r = e ? t.find((t) => t.key === e) : void 0;
4924
- p(n, r, !0).catch((e) => c.showError(e));
4924
+ d(n, r, !0).catch((e) => s.showError(e));
4925
4925
  };
4926
4926
  e.updateCommand("saveWorkbook", { callback: () => {
4927
- p(n, void 0, !1).catch((e) => c.showError(e));
4927
+ d(n, void 0, !1).catch((e) => s.showError(e));
4928
4928
  } }), e.updateCommand("saveWorkbookAs", { callback: (e) => {
4929
4929
  r(e);
4930
4930
  } }), e.updateCommand("protectWorkbook", {
4931
4931
  tags: ["noTransaction", "noRepeat"],
4932
4932
  callback: async () => {
4933
4933
  let e = n.getOrigin(), t = n.getProtection(), r = t.hasPassword();
4934
- await c.showWindow("protectWorkbook", {
4934
+ await s.showWindow("protectWorkbook", {
4935
4935
  initialValue: {
4936
4936
  encrypt: e.isEncrypted(),
4937
4937
  encryptPassword: e.isEncrypted() ? null : "",
@@ -4949,7 +4949,7 @@ function Po(e, t) {
4949
4949
  windows: n.lockWindows
4950
4950
  }, n.structurePassword || void 0);
4951
4951
  } catch (e) {
4952
- c.showError(e);
4952
+ s.showError(e);
4953
4953
  }
4954
4954
  }
4955
4955
  });
@@ -4958,13 +4958,13 @@ function Po(e, t) {
4958
4958
  for (let n of t) {
4959
4959
  let t = n.key;
4960
4960
  e.updateCommand(`saveWorkbookAs${t}`, {
4961
- label: () => o("command.saveAsFormat.label", { format: n.description }),
4961
+ label: () => c("command.saveAsFormat.label", { format: n.description }),
4962
4962
  groupLabels: {
4963
- workbook: () => o("command.saveAsFormat.workbook", { format: n.description }),
4964
- saveWorkbookOptions: () => o("command.saveAsFormat.compact", { format: n.description })
4963
+ workbook: () => c("command.saveAsFormat.workbook", { format: n.description }),
4964
+ saveWorkbookOptions: () => c("command.saveAsFormat.compact", { format: n.description })
4965
4965
  },
4966
4966
  tags: n.tags,
4967
- description: () => o("command.saveAsFormat", { format: n.description }),
4967
+ description: () => c("command.saveAsFormat", { format: n.description }),
4968
4968
  icon: t === "CSV" ? "FileDownloadAsCSV" : t === "Excel" ? "FileDownloadAsExcel" : "FileDownloadAsSheet",
4969
4969
  callback: () => {
4970
4970
  r(t);
@@ -4972,7 +4972,7 @@ function Po(e, t) {
4972
4972
  });
4973
4973
  }
4974
4974
  }
4975
- let m = async (e = null) => {
4975
+ let f = async (e = null) => {
4976
4976
  let t = { csv: {
4977
4977
  date1904: n.getRuntime().isDate1904(),
4978
4978
  ...n.options
@@ -4991,33 +4991,33 @@ function Po(e, t) {
4991
4991
  autoSelect: e === a.length - 1
4992
4992
  }).getEntireRange().copyFrom(t.getEntireRange());
4993
4993
  }
4994
- }, f("op.importData")), i.close();
4994
+ }, m("op.importData")), i.close();
4995
4995
  } catch (e) {
4996
- c.showError(e);
4996
+ s.showError(e);
4997
4997
  }
4998
4998
  };
4999
4999
  if (e.updateCommand("insertDataFromFile", {
5000
5000
  tags: ["noTransaction", "noRepeat"],
5001
5001
  callback: async (e = null) => {
5002
5002
  let t = e;
5003
- if (t || L.canRead() || (t = await (async () => {
5004
- let e = await L.getReadFormats(), t = [...new Set(e.flatMap((e) => e.exts))].map((e) => `.${e}`);
5005
- return d.openFileDialog(t.length ? t.join(",") : "*.*");
5006
- })(), t)) return m(t);
5003
+ if (t || mn.canRead() || (t = await (async () => {
5004
+ let e = await mn.getReadFormats(), t = [...new Set(e.flatMap((e) => e.exts))].map((e) => `.${e}`);
5005
+ return p.openFileDialog(t.length ? t.join(",") : "*.*");
5006
+ })(), t)) return f(t);
5007
5007
  }
5008
5008
  }), e.updateCommand("insertDataFromURL", {
5009
5009
  tags: ["noTransaction", "noRepeat"],
5010
5010
  callback: async (e) => {
5011
5011
  if (!e) {
5012
- let t = await c.showInput({
5013
- title: o("dialog.importFromWeb.title"),
5014
- description: o("dialog.importFromWeb.description"),
5015
- inputLabel: o("dialog.webAddress.inputLabel"),
5012
+ let t = await s.showInput({
5013
+ title: c("dialog.importFromWeb.title"),
5014
+ description: c("dialog.importFromWeb.description"),
5015
+ inputLabel: c("dialog.webAddress.inputLabel"),
5016
5016
  initialValue: "https://www.sheetxl.com/docs/examples/financial-calculators.xlsx",
5017
5017
  propsInput: { style: { minWidth: "440px" } },
5018
5018
  options: [{
5019
5019
  id: "Import",
5020
- label: () => o("dialog.import")
5020
+ label: () => c("dialog.import")
5021
5021
  }]
5022
5022
  });
5023
5023
  if (t.option !== "Import") return;
@@ -5027,18 +5027,18 @@ function Po(e, t) {
5027
5027
  let t = await fetch(e);
5028
5028
  if (!t.ok) throw Error(`Could not fetch '${e}' (${t.status} ${t.statusText}).`);
5029
5029
  let n = await t.blob(), r = decodeURIComponent(e.split("/").pop()?.split("?")[0] || "") || "import.xlsx";
5030
- await m(new File([n], r, { type: n.type }));
5030
+ await f(new File([n], r, { type: n.type }));
5031
5031
  } catch (e) {
5032
- c.showError(e);
5032
+ s.showError(e);
5033
5033
  }
5034
5034
  }
5035
- }), a) {
5036
- let t = async () => !s() || await c.showOptions({
5037
- title: o("dialog.confirm.title"),
5038
- description: o("dialog.unsavedChanges"),
5035
+ }), o) {
5036
+ let t = async () => !a() || await s.showOptions({
5037
+ title: c("dialog.confirm.title"),
5038
+ description: c("dialog.unsavedChanges"),
5039
5039
  options: [{
5040
5040
  id: "Open",
5041
- label: () => o("dialog.open")
5041
+ label: () => c("dialog.open")
5042
5042
  }, "Cancel"],
5043
5043
  defaultOption: "Cancel"
5044
5044
  }) === "Open", i = async (e = null) => {
@@ -5051,22 +5051,22 @@ function Po(e, t) {
5051
5051
  if (!n) return;
5052
5052
  r(n);
5053
5053
  } catch (e) {
5054
- c.showError(e);
5054
+ s.showError(e);
5055
5055
  }
5056
5056
  };
5057
5057
  e.updateCommand("openWorkbook", { callback: async (e = null) => {
5058
5058
  await t() && await i(e);
5059
5059
  } }), e.updateCommand("openWorkbookFromUrl", { callback: async (e) => {
5060
5060
  if (!e) {
5061
- let t = await c.showInput({
5062
- title: o("dialog.openFromWeb.title"),
5063
- description: o("dialog.openFromWeb.description"),
5064
- inputLabel: o("dialog.webAddress.inputLabel"),
5061
+ let t = await s.showInput({
5062
+ title: c("dialog.openFromWeb.title"),
5063
+ description: c("dialog.openFromWeb.description"),
5064
+ inputLabel: c("dialog.webAddress.inputLabel"),
5065
5065
  initialValue: "https://www.sheetxl.com/docs/examples/financial-calculators.xlsx",
5066
5066
  propsInput: { style: { minWidth: "440px" } },
5067
5067
  options: [{
5068
5068
  id: "Open",
5069
- label: () => o("dialog.open")
5069
+ label: () => c("dialog.open")
5070
5070
  }]
5071
5071
  });
5072
5072
  if (t.option !== "Open") return;
@@ -5078,7 +5078,7 @@ function Po(e, t) {
5078
5078
  let n = await t.blob(), r = decodeURIComponent(e.split("/").pop()?.split("?")[0] || "") || "workbook.xlsx";
5079
5079
  await i(new File([n], r, { type: n.type }));
5080
5080
  } catch (e) {
5081
- c.showError(e);
5081
+ s.showError(e);
5082
5082
  }
5083
5083
  } });
5084
5084
  }
@@ -5087,8 +5087,8 @@ function Po(e, t) {
5087
5087
  };
5088
5088
  }
5089
5089
  No.displayName = "StudioToolbar";
5090
- var Fo = (0, X.lazy)(() => import("./DEFEOS3OuA23llF92.js"));
5091
- dn();
5090
+ var Fo = (0, X.lazy)(() => import("./DIQf1pX-j-dWQu_e.js"));
5091
+ bt();
5092
5092
  var Io = /* @__PURE__ */ new Set(["ui"]), Lo = (e) => {
5093
5093
  let t = (e) => {
5094
5094
  if (typeof e != "function") return e;
@@ -5099,7 +5099,7 @@ var Io = /* @__PURE__ */ new Set(["ui"]), Lo = (e) => {
5099
5099
  }
5100
5100
  }, n = (e, n) => {
5101
5101
  let r = t(e);
5102
- return typeof r == "string" ? c(r, n, s.getActive()) : void 0;
5102
+ return typeof r == "string" ? u(r, n, l.getActive()) : void 0;
5103
5103
  }, r = [];
5104
5104
  for (let i of e.names()) if (!Io.has(i)) for (let a of e.keys(i)) {
5105
5105
  let o = e.resolveDefinition(i, a);
@@ -5117,17 +5117,17 @@ var Io = /* @__PURE__ */ new Set(["ui"]), Lo = (e) => {
5117
5117
  }
5118
5118
  return { getAllCommands: () => r };
5119
5119
  }, Ro = (e) => {
5120
- let { children: t, workbook: n, setWorkbook: r, workbookTitle: i, isDirty: a } = e, o = ae.useCommandScope(), c = ve(), { showModal: l } = z(), u = j(), d = (0, X.useRef)(a);
5120
+ let { children: t, workbook: n, setWorkbook: r, workbookTitle: i, isDirty: a } = e, o = ae.useCommandScope(), s = ve(), { showModal: c } = En(), u = A(), d = (0, X.useRef)(a);
5121
5121
  d.current = a;
5122
- let p = Se(() => {
5122
+ let f = Se(() => {
5123
5123
  let e = o?.getRoot().getRegistry();
5124
5124
  if (!e) return;
5125
- let t = l(Fo, {
5125
+ let t = c(Fo, {
5126
5126
  title: u("dialog.shortcutKeys.title"),
5127
5127
  commands: Lo(e),
5128
5128
  onDone: () => t.hide()
5129
5129
  });
5130
- }, [o, l]);
5130
+ }, [o, c]);
5131
5131
  (0, X.useEffect)(() => {
5132
5132
  if (!o) return;
5133
5133
  let e = o.getRoot().contribution();
@@ -5142,9 +5142,9 @@ var Io = /* @__PURE__ */ new Set(["ui"]), Lo = (e) => {
5142
5142
  })) e.updateCommand(t, { callback: () => {
5143
5143
  window?.open(n);
5144
5144
  } });
5145
- }(e, { showShortcuts: p }), () => e.remove();
5146
- }, [o, p]);
5147
- let m = $t("(prefers-color-scheme: dark)"), { themeMode: h } = ye(), [g, _] = fe(qe.Mode, null), [v, y] = fe(qe.DarkGrid, !1), [b, x] = fe(qe.DarkImages, !1);
5145
+ }(e, { showShortcuts: f }), () => e.remove();
5146
+ }, [o, f]);
5147
+ let p = it("(prefers-color-scheme: dark)"), { themeMode: h } = ye(), [g, _] = fe(Sn.Mode, null), [v, y] = fe(Sn.DarkGrid, !1), [b, x] = fe(Sn.DarkImages, !1);
5148
5148
  (0, X.useEffect)(() => {
5149
5149
  if (!o) return;
5150
5150
  let e = o.getRoot().contribution();
@@ -5169,7 +5169,7 @@ var Io = /* @__PURE__ */ new Set(["ui"]), Lo = (e) => {
5169
5169
  mode: g,
5170
5170
  setMode: _,
5171
5171
  isDark: g === "dark" || !g && h === "dark",
5172
- systemDefaultDark: m,
5172
+ systemDefaultDark: p,
5173
5173
  enableDarkGrid: v,
5174
5174
  setEnableDarkGrid: y,
5175
5175
  enableDarkImages: b,
@@ -5179,16 +5179,16 @@ var Io = /* @__PURE__ */ new Set(["ui"]), Lo = (e) => {
5179
5179
  o,
5180
5180
  g,
5181
5181
  h,
5182
- m,
5182
+ p,
5183
5183
  v,
5184
5184
  b,
5185
5185
  _,
5186
5186
  y,
5187
5187
  x
5188
5188
  ]);
5189
- let [S, C] = fe(ne.Active, null), [w, ee] = (0, X.useState)(() => s.getActive());
5190
- (0, X.useEffect)(() => s.addChangeListener(ee), []), (0, X.useEffect)(() => {
5191
- S && S !== s.getActive() && s.setActive(S);
5189
+ let [S, C] = fe(te.Active, null), [w, T] = (0, X.useState)(() => l.getActive());
5190
+ (0, X.useEffect)(() => l.addChangeListener(T), []), (0, X.useEffect)(() => {
5191
+ S && S !== l.getActive() && l.setActive(S);
5192
5192
  }, [S]), (0, X.useEffect)(() => {
5193
5193
  if (!o) return;
5194
5194
  let e = o.getRoot().contribution();
@@ -5210,29 +5210,29 @@ var Io = /* @__PURE__ */ new Set(["ui"]), Lo = (e) => {
5210
5210
  w,
5211
5211
  C
5212
5212
  ]);
5213
- let { isFullscreenAvailable: T, isFullscreenEnabled: E, toggleFullscreen: D } = ge();
5213
+ let { isFullscreenAvailable: E, isFullscreenEnabled: D, toggleFullscreen: ee } = he();
5214
5214
  return (0, X.useEffect)(() => {
5215
5215
  if (!o) return;
5216
5216
  let e = o.getRoot().contribution();
5217
5217
  return function(e, t) {
5218
5218
  e.updateCommand("fullScreenToggle", {
5219
5219
  state: t.isFullscreenEnabled,
5220
- disabledReasons: t.isFullscreenAvailable ? [] : [f("reason.fullscreenUnavailable")],
5220
+ disabledReasons: t.isFullscreenAvailable ? [] : [m("reason.fullscreenUnavailable")],
5221
5221
  icon: t.isFullscreenEnabled ? "FullScreenOff" : "FullScreen",
5222
5222
  callback: () => {
5223
5223
  t.toggleFullscreen();
5224
5224
  }
5225
5225
  });
5226
5226
  }(e, {
5227
- isFullscreenAvailable: T,
5228
- isFullscreenEnabled: E,
5229
- toggleFullscreen: D
5227
+ isFullscreenAvailable: E,
5228
+ isFullscreenEnabled: D,
5229
+ toggleFullscreen: ee
5230
5230
  }), () => e.remove();
5231
5231
  }, [
5232
5232
  o,
5233
- T,
5234
5233
  E,
5235
- D
5234
+ D,
5235
+ ee
5236
5236
  ]), (0, X.useEffect)(() => {
5237
5237
  if (!o || !n) return;
5238
5238
  let e = o.getRoot().contribution(), t = Po(e, {
@@ -5240,7 +5240,7 @@ var Io = /* @__PURE__ */ new Set(["ui"]), Lo = (e) => {
5240
5240
  setWorkbook: r,
5241
5241
  workbookTitle: i ?? void 0,
5242
5242
  isDirty: () => d.current?.() ?? !1,
5243
- notifier: c
5243
+ notifier: s
5244
5244
  });
5245
5245
  return () => {
5246
5246
  t(), e.remove();
@@ -5250,7 +5250,7 @@ var Io = /* @__PURE__ */ new Set(["ui"]), Lo = (e) => {
5250
5250
  n,
5251
5251
  r,
5252
5252
  i,
5253
- c
5253
+ s
5254
5254
  ]), t;
5255
5255
  };
5256
5256
  Ro.displayName = "StudioCommandProvider";
@@ -5305,12 +5305,12 @@ var zo = ({ renderWorkbook: e }) => {
5305
5305
  } }
5306
5306
  });
5307
5307
  } else {
5308
- if (!L.canRead()) return;
5308
+ if (!mn.canRead()) return;
5309
5309
  let n = (e.dataTransfer.items?.[0])?.getAsFileSystemHandle?.();
5310
5310
  n ? n.then((e) => t.execute("openWorkbook", e?.kind === "file" ? e : r)).catch(() => t.execute("openWorkbook", r)) : t.execute("openWorkbook", r);
5311
5311
  }
5312
5312
  }
5313
- }, [t, r]), s = (0, X.useMemo)(() => r && r.text ? (0, Z.jsx)(I, {
5313
+ }, [t, r]), s = (0, X.useMemo)(() => r && r.text ? (0, Z.jsx)(F, {
5314
5314
  className: "drop-overlay",
5315
5315
  sx: {
5316
5316
  position: "absolute",
@@ -5324,7 +5324,7 @@ var zo = ({ renderWorkbook: e }) => {
5324
5324
  background: (e) => e.palette.divider,
5325
5325
  color: (e) => e.palette.primary.dark
5326
5326
  },
5327
- children: (0, Z.jsx)(H, {
5327
+ children: (0, Z.jsx)(R, {
5328
5328
  variant: "h4",
5329
5329
  children: r.text
5330
5330
  })
@@ -5344,7 +5344,7 @@ var zo = ({ renderWorkbook: e }) => {
5344
5344
  }), s] });
5345
5345
  }, Bo = (0, X.memo)((e) => {
5346
5346
  let { workbook: t, setWorkbook: n, refDocumentTitle: r, titleWorkbook: i, setWorkbookTitle: a, isDirty: o, initialCommandAnchor: s, renderWorkbook: c } = e;
5347
- return (0, Z.jsx)(Le, {
5347
+ return (0, Z.jsx)(Pt, {
5348
5348
  initialAnchor: s,
5349
5349
  children: (0, Z.jsx)(Ro, {
5350
5350
  workbook: t,
@@ -5357,19 +5357,19 @@ var zo = ({ renderWorkbook: e }) => {
5357
5357
  });
5358
5358
  Bo.displayName = "CommandsWrapper";
5359
5359
  var Vo = {
5360
- sort: () => import("./CuIUyLNDoHvYMJaQ2.js"),
5361
- numberFormat: () => import("./Dq7WxMef5CTJ47QI2.js"),
5362
- hyperlink: () => import("./JL1xk8XqkuTOA_as2.js"),
5363
- comments: () => import("./DEyeWdXLwDRo2yYf2.js"),
5364
- find: () => import("./Dy5Z2XIqS7-0tdjc2.js"),
5365
- tableNew: () => import("./CimYGZTVXcjbjrBU2.js"),
5366
- namedDetails: () => import("./CnfGgjuCEyX-PYs_2.js"),
5367
- insertFunction: () => import("./hClmI7sWeaBbHo3W2.js"),
5368
- resizeHeader: () => import("./CIgn8uIPaadIJP4a2.js"),
5369
- workbookStatistics: () => import("./DP9sLYfGGWMDI7hL2.js"),
5370
- protectWorkbook: () => import("./CblzazoiTtSuaAkj.js").then((e) => e.t).then((e) => e.n)
5360
+ sort: () => import("./UYgwKnPX3US3Cj2k2.js"),
5361
+ numberFormat: () => import("./BAhvL7M7ZcgZ8eDc2.js"),
5362
+ hyperlink: () => import("./Bl6C6xWT8E6b7OwJ2.js"),
5363
+ comments: () => import("./BzUU8y1IFjREzgog2.js"),
5364
+ find: () => import("./DLEdaT0MmrOxMa2h2.js"),
5365
+ tableNew: () => import("./2UHIeioUPXrwtZy-2.js"),
5366
+ namedDetails: () => import("./CT3G9YRPVfKtHWwf2.js"),
5367
+ insertFunction: () => import("./-2S675KWulPRlVNb2.js"),
5368
+ resizeHeader: () => import("./DOsbSsKsexrBoeXa2.js"),
5369
+ workbookStatistics: () => import("./BhDLR-jtbOOG-tl12.js"),
5370
+ protectWorkbook: () => import("./BU6uQhQhpaLElTT82.js").then((e) => e.t).then((e) => e.n)
5371
5371
  }, Ho = ["find"], Uo = (0, X.memo)((e) => {
5372
- let { children: t } = e, n = ko(), r = n ? n.enqueueSnackbar : () => {}, a = n ? n.closeSnackbar : () => {}, [o, s] = (0, X.useState)({
5372
+ let { children: t } = e, n = ko(), r = n ? n.enqueueSnackbar : () => {}, i = n ? n.closeSnackbar : () => {}, [a, s] = (0, X.useState)({
5373
5373
  isMounted: !1,
5374
5374
  label: null,
5375
5375
  progress: null,
@@ -5380,12 +5380,12 @@ var Vo = {
5380
5380
  ...e,
5381
5381
  isMounted: !0
5382
5382
  }));
5383
- }, []), u = (0, X.useCallback)(() => {
5383
+ }, []), l = (0, X.useCallback)(() => {
5384
5384
  s((e) => ({
5385
5385
  ...e,
5386
5386
  isMounted: !1
5387
5387
  }));
5388
- }, []), d = j(), f = i.EmptyObject, p = it(f), m = dt(f), h = Ve(f), g = (0, X.useRef)(!1);
5388
+ }, []), u = A(), f = o.EmptyObject, p = It(f), m = Rt(f), h = rn(f), g = (0, X.useRef)(!1);
5389
5389
  (0, X.useEffect)(() => {
5390
5390
  if (g.current) return;
5391
5391
  g.current = !0;
@@ -5409,9 +5409,9 @@ var Vo = {
5409
5409
  },
5410
5410
  preventDuplicate: t?.preventDuplicate,
5411
5411
  persist: t?.persist ?? t?.type === pe.Error,
5412
- action: (e) => (0, Z.jsx)(xt, {
5413
- onClick: () => a(e),
5414
- children: (0, Z.jsx)(w, { iconKey: "Cancel" })
5412
+ action: (e) => (0, Z.jsx)(I, {
5413
+ onClick: () => i(e),
5414
+ children: (0, Z.jsx)(C, { iconKey: "Cancel" })
5415
5415
  })
5416
5416
  };
5417
5417
  t?.enqueueProps && Object.assign(n, t.enqueueProps), e || console.log("message is 'null'", t), r(e ?? "Alert", n);
@@ -5442,17 +5442,17 @@ var Vo = {
5442
5442
  showOptions: m,
5443
5443
  showInput: h,
5444
5444
  showError: (t) => {
5445
- let n, r = pe.Error, i = d("error.unknown");
5446
- typeof t == "string" ? i = t : t instanceof Error && (n = t, t.message && (i = d(t.message))), t instanceof l && (r = pe.Info), e(i, {
5445
+ let n, r = pe.Error, i = u("error.unknown");
5446
+ typeof t == "string" ? i = t : t instanceof Error && (n = t, t.message && (i = u(t.message))), t instanceof d && (r = pe.Info), e(i, {
5447
5447
  type: r,
5448
5448
  enqueueProps: { error: n }
5449
5449
  });
5450
5450
  }
5451
5451
  }, n = new me();
5452
5452
  return n.setOverrides(t), n;
5453
- }, [d]);
5453
+ }, [u]);
5454
5454
  (0, X.useEffect)(() => {
5455
- o.starting.size <= 0 || !o.isMounted || s((e) => {
5455
+ a.starting.size <= 0 || !a.isMounted || s((e) => {
5456
5456
  let t = new Map(e.running);
5457
5457
  return e.starting.forEach((e, n) => {
5458
5458
  let r = se(() => {
@@ -5483,19 +5483,19 @@ var Vo = {
5483
5483
  running: t
5484
5484
  };
5485
5485
  });
5486
- }, [o]);
5486
+ }, [a]);
5487
5487
  let [y, b] = (0, X.useState)(null);
5488
5488
  return (0, X.useEffect)(() => {
5489
- o.starting.size !== 0 || o.running.size !== 0 ? b((0, Z.jsx)(rt, {
5490
- icon: (0, Z.jsx)(ze, { sx: {
5489
+ a.starting.size !== 0 || a.running.size !== 0 ? b((0, Z.jsx)(fn, {
5490
+ icon: (0, Z.jsx)(an, { sx: {
5491
5491
  transform: "scale(0.7)",
5492
5492
  marginLeft: "-6px"
5493
5493
  } }),
5494
5494
  panel: !0,
5495
- label: o.label,
5496
- progress: o.progress,
5495
+ label: a.label,
5496
+ progress: a.progress,
5497
5497
  onMount: c,
5498
- onUnmount: u,
5498
+ onUnmount: l,
5499
5499
  sx: {
5500
5500
  position: "absolute",
5501
5501
  left: "0",
@@ -5506,23 +5506,23 @@ var Vo = {
5506
5506
  }
5507
5507
  })) : b(null);
5508
5508
  }, [
5509
- o.starting,
5510
- o.running,
5511
- o.label,
5512
- o.progress
5513
- ]), (0, Z.jsxs)(k, {
5509
+ a.starting,
5510
+ a.running,
5511
+ a.label,
5512
+ a.progress
5513
+ ]), (0, Z.jsxs)(O, {
5514
5514
  notifier: v,
5515
5515
  children: [y, t]
5516
5516
  });
5517
5517
  });
5518
5518
  Uo.displayName = "StudioNotifierProvider";
5519
5519
  var Wo = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255, 255, 255, 0.2)))", Go = (0, X.memo)((0, X.forwardRef)((e, t) => {
5520
- let { children: n, title: r, taskPanes: i, onSelect: a, selected: o, registry: s = Pe, style: c, iconsOnly: l, side: u = "right", className: d, ...f } = e, p = u !== "right", m = (0, X.useMemo)(() => i.map((t) => {
5520
+ let { children: n, title: r, taskPanes: i, onSelect: a, selected: o, registry: s = vn, style: c, iconsOnly: l, side: u = "right", className: d, ...f } = e, p = u !== "right", m = (0, X.useMemo)(() => i.map((t) => {
5521
5521
  let n = s.getRegisteredTaskPane(t);
5522
5522
  if (!n) return null;
5523
5523
  let r = n.getIcon?.();
5524
- typeof r == "string" && (r = (0, Z.jsx)(w, { iconKey: r }));
5525
- let i = t === o, a = r ? (0, Z.jsx)(I, {
5524
+ typeof r == "string" && (r = (0, Z.jsx)(C, { iconKey: r }));
5525
+ let i = t === o, a = r ? (0, Z.jsx)(F, {
5526
5526
  sx: {
5527
5527
  display: "inline-block",
5528
5528
  transform: p ? "rotate(-90deg)" : "rotate(90deg)",
@@ -5530,20 +5530,20 @@ var Wo = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5530
5530
  color: (e) => e.palette.text.secondary
5531
5531
  },
5532
5532
  children: r
5533
- }) : null, c = !r || !l && i, u = (0, Z.jsx)(I, {
5533
+ }) : null, c = !r || !l && i, u = (0, Z.jsx)(F, {
5534
5534
  sx: {
5535
5535
  display: "grid",
5536
5536
  gridTemplateColumns: c ? "1fr" : "0fr",
5537
5537
  opacity: +!!c,
5538
5538
  transition: (e) => e.transitions.create(["grid-template-columns", "opacity"], { duration: e.transitions.duration.short })
5539
5539
  },
5540
- children: (0, Z.jsx)(I, {
5540
+ children: (0, Z.jsx)(F, {
5541
5541
  sx: {
5542
5542
  overflow: "hidden",
5543
5543
  minWidth: 0,
5544
5544
  minHeight: 0
5545
5545
  },
5546
- children: (0, Z.jsx)(H, {
5546
+ children: (0, Z.jsx)(R, {
5547
5547
  component: "div",
5548
5548
  sx: {
5549
5549
  textTransform: "none",
@@ -5556,13 +5556,13 @@ var Wo = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5556
5556
  })
5557
5557
  })
5558
5558
  });
5559
- return (0, Z.jsx)(Yt, {
5559
+ return (0, Z.jsx)(nt, {
5560
5560
  value: t,
5561
- label: (0, Z.jsx)(Pt, {
5561
+ label: (0, Z.jsx)(U, {
5562
5562
  disableInteractive: !0,
5563
5563
  title: n.getTitle() ?? "",
5564
5564
  placement: "left-start",
5565
- children: (0, Z.jsxs)(I, {
5565
+ children: (0, Z.jsxs)(F, {
5566
5566
  sx: {
5567
5567
  padding: "0px 0px",
5568
5568
  writingMode: p ? "vertical-lr" : "vertical-rl",
@@ -5582,7 +5582,7 @@ var Wo = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5582
5582
  minHeight: "0px",
5583
5583
  borderRadius: "4px"
5584
5584
  },
5585
- className: C("taskpane-strip-item", { "Mui-selected": i }),
5585
+ className: kn("taskpane-strip-item", { "Mui-selected": i }),
5586
5586
  onClick: () => e.onSelect(t)
5587
5587
  }, t);
5588
5588
  }), [
@@ -5592,11 +5592,11 @@ var Wo = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5592
5592
  s,
5593
5593
  p,
5594
5594
  l,
5595
- A()
5595
+ k()
5596
5596
  ]);
5597
- return (0, Z.jsx)(I, {
5597
+ return (0, Z.jsx)(F, {
5598
5598
  ref: T(t, () => ({ isTaskPaneStrip: () => !0 }), []),
5599
- className: (0, X.useMemo)(() => C("taskpane-strip", d), [d]),
5599
+ className: (0, X.useMemo)(() => kn("taskpane-strip", d), [d]),
5600
5600
  sx: {
5601
5601
  paddingLeft: p ? void 0 : "2px",
5602
5602
  paddingRight: p ? "2px" : void 0,
@@ -5604,7 +5604,7 @@ var Wo = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5604
5604
  ...c
5605
5605
  },
5606
5606
  ...f,
5607
- children: (0, Z.jsx)(Jt, {
5607
+ children: (0, Z.jsx)(tt, {
5608
5608
  orientation: "vertical",
5609
5609
  variant: "scrollable",
5610
5610
  value: o,
@@ -5623,9 +5623,9 @@ var Wo = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5623
5623
  })
5624
5624
  });
5625
5625
  })), Ko = (e) => {
5626
- let { title: t, icon: n, onClose: r, readOnly: i, focused: a, ...o } = e, s = (0, X.useRef)(null), c = j();
5627
- return (0, Z.jsx)(_t, {
5628
- className: C({ "Mui-selected": a }),
5626
+ let { title: t, icon: n, onClose: r, readOnly: i, focused: a, ...o } = e, s = (0, X.useRef)(null), c = A();
5627
+ return (0, Z.jsx)(ke, {
5628
+ className: kn({ "Mui-selected": a }),
5629
5629
  sx: {
5630
5630
  display: "flex",
5631
5631
  flex: "1 1 %0",
@@ -5643,7 +5643,7 @@ var Wo = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5643
5643
  borderBottom: `solid ${Wo} 1px`
5644
5644
  },
5645
5645
  ...o,
5646
- children: (0, Z.jsxs)(I, {
5646
+ children: (0, Z.jsxs)(F, {
5647
5647
  sx: {
5648
5648
  display: "flex",
5649
5649
  flex: "1 1 10%",
@@ -5654,15 +5654,15 @@ var Wo = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5654
5654
  marginLeft: (e) => e.spacing(1),
5655
5655
  marginRight: (e) => e.spacing(1)
5656
5656
  },
5657
- children: [(0, Z.jsx)(I, {
5657
+ children: [(0, Z.jsx)(F, {
5658
5658
  sx: {
5659
5659
  flex: "1 1 100%",
5660
5660
  paddingLeft: (e) => e.spacing(1)
5661
5661
  },
5662
5662
  children: t
5663
- }), (0, Z.jsx)(It, {
5663
+ }), (0, Z.jsx)(Ue, {
5664
5664
  label: c("taskPane.close"),
5665
- children: (0, Z.jsx)(xt, {
5665
+ children: (0, Z.jsx)(I, {
5666
5666
  "aria-label": "close",
5667
5667
  sx: { color: (e) => e.palette.text.icon ?? e.palette.action.active },
5668
5668
  touchRippleRef: s,
@@ -5672,14 +5672,14 @@ var Wo = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5672
5672
  onPointerUp: () => {
5673
5673
  r();
5674
5674
  },
5675
- children: (0, Z.jsx)(w, { iconKey: "Close" })
5675
+ children: (0, Z.jsx)(C, { iconKey: "Close" })
5676
5676
  })
5677
5677
  })]
5678
5678
  })
5679
5679
  });
5680
5680
  }, qo = (0, X.forwardRef)((e, t) => {
5681
- let { model: n, side: r, ...i } = e, a = _e();
5682
- return (0, Z.jsx)(Qe, {
5681
+ let { model: n, side: r, ...i } = e, a = ge();
5682
+ return (0, Z.jsx)(un, {
5683
5683
  model: n,
5684
5684
  ref: t,
5685
5685
  propsFrame: { style: {
@@ -5705,30 +5705,30 @@ var Wo = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5705
5705
  display: "flex",
5706
5706
  boxSizing: "border-box"
5707
5707
  }, Xo = (0, X.memo)((0, X.forwardRef)((e, t) => {
5708
- let n, r, { mainElement: i, sidebarElement: a, position: o, persistKey: s, onPositionChange: c, className: l, style: u, taskSide: d = "right", ...f } = e, [p, m] = fe(s ?? null, Jo), h = _e(), [g, { width: _ }] = jn(), v = _ > 530 || _ === 0, y = (0, X.useRef)(null), b = null, x = 4, S = 13;
5708
+ let n, r, { mainElement: i, sidebarElement: a, position: o, persistKey: s, onPositionChange: c, className: l, style: u, taskSide: d = "right", ...f } = e, [p, m] = fe(s ?? null, Jo), h = ge(), [g, { width: _ }] = An(), v = _ > 530 || _ === 0, y = (0, X.useRef)(null), b = null, x = 4, S = 13;
5709
5709
  v ? b = "m 3.6261898,11.36243 c 0,0.88365 -0.71627,1.59991 -1.59991,1.59991 -0.8836498,0 -1.60004965,-0.71626 -1.60004965,-1.59991 0,-0.88365 0.71639985,-1.6000508 1.60004965,-1.6000508 0.88364,0 1.59991,0.7164008 1.59991,1.6000508 m 0,-4.881294 c 0,0.88364 -0.71627,1.60004 -1.59991,1.60004 -0.8836498,0 -1.60004965,-0.7164 -1.60004965,-1.60004 0,-0.88365 0.71639985,-1.60005 1.60004965,-1.60005 0.88364,0 1.59991,0.7164 1.59991,1.60005 m 0,-4.881226 c 0,0.88365 -0.71627,1.60005 -1.59991,1.60005 C 1.14263,3.19996 0.42623015,2.48356 0.42623015,1.59991 0.42623015,0.71626 1.14263,0 2.0262798,0 c 0.88364,0 1.59991,0.71626 1.59991,1.59991" : (b = "M 1.59991,3.62619 C 0.71626,3.62619 0,2.90992 0,2.02628 0,1.1426301 0.71626,0.42623015 1.59991,0.42623015 c 0.88365,0 1.6000508,0.71639995 1.6000508,1.60004985 0,0.88364 -0.7164008,1.59991 -1.6000508,1.59991 m 4.881294,0 c -0.88364,0 -1.60004,-0.71627 -1.60004,-1.59991 0,-0.8836499 0.7164,-1.60004985 1.60004,-1.60004985 0.88365,0 1.60005,0.71639995 1.60005,1.60004985 0,0.88364 -0.7164,1.59991 -1.60005,1.59991 m 4.881226,0 c -0.88365,0 -1.60005,-0.71627 -1.60005,-1.59991 0,-0.8836499 0.7164,-1.60004985 1.60005,-1.60004985 0.88365,0 1.59991,0.71639995 1.59991,1.60004985 0,0.88364 -0.71626,1.59991 -1.59991,1.59991", x = 13, S = 4);
5710
- let w, ee = i, T = a, E = d !== "right", D = v ? "row" : "column", te = E && T ? "before" : "after", ne = `${D}:${te}`, O = s ? p[ne] : void 0, k = O == null ? ((e, t) => {
5710
+ let C, w = i, T = a, E = d !== "right", D = v ? "row" : "column", ee = E && T ? "before" : "after", te = `${D}:${ee}`, ne = s ? p[te] : void 0, O = ne == null ? ((e, t) => {
5711
5711
  if (e == null) return "40%";
5712
5712
  if (typeof e == "number" || typeof e == "string") return e;
5713
5713
  let n = e[t];
5714
5714
  return n == null ? "40%" : `${n}%`;
5715
- })(o, ne) : `${O}%`, re = s || c ? (e) => {
5715
+ })(o, te) : `${ne}%`, re = s || c ? (e) => {
5716
5716
  s && m((t) => ({
5717
5717
  ...t,
5718
- [ne]: e.percent
5718
+ [te]: e.percent
5719
5719
  })), c?.(e, {
5720
5720
  orientation: D,
5721
- side: te,
5722
- key: ne
5721
+ side: ee,
5722
+ key: te
5723
5723
  });
5724
5724
  } : void 0;
5725
- return E && T ? (ee = a, T = i, r = { style: {
5725
+ return E && T ? (w = a, T = i, r = { style: {
5726
5726
  flexDirection: "column",
5727
5727
  boxSizing: "border-box",
5728
5728
  paddingRight: "2px"
5729
- } }, n = {}, w = {
5729
+ } }, n = {}, C = {
5730
5730
  fixedPane: "before",
5731
- position: k,
5731
+ position: O,
5732
5732
  minBefore: v ? "280px" : "120px",
5733
5733
  splitDirection: v ? "row" : "column"
5734
5734
  }) : (n = { style: {
@@ -5737,13 +5737,13 @@ var Wo = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5737
5737
  } }, r = { style: {
5738
5738
  marginLeft: v ? "0px" : "4px",
5739
5739
  marginRight: v ? "8px" : "4px"
5740
- } }, w = {
5740
+ } }, C = {
5741
5741
  fixedPane: "after",
5742
- position: k,
5742
+ position: O,
5743
5743
  minAfter: v ? "280px" : "120px",
5744
5744
  splitDirection: v ? "row" : "column"
5745
- }), (0, Z.jsx)(P, {
5746
- ref: kn([
5745
+ }), (0, Z.jsx)(_e, {
5746
+ ref: On([
5747
5747
  y,
5748
5748
  g,
5749
5749
  t
@@ -5754,10 +5754,10 @@ var Wo = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5754
5754
  ...u
5755
5755
  } : Yo,
5756
5756
  ...f,
5757
- ...w,
5757
+ ...C,
5758
5758
  onPositionChange: re,
5759
5759
  propsResizer: {
5760
- className: C("styled-resizer", "_styled-resizer_fdl5y_3"),
5760
+ className: kn("styled-resizer", "_styled-resizer_fdl5y_3"),
5761
5761
  style: {
5762
5762
  minWidth: v ? "7px" : void 0,
5763
5763
  minHeight: v ? void 0 : "6px",
@@ -5766,7 +5766,7 @@ var Wo = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5766
5766
  maskPosition: E ? v ? "center center" : "bottom center" : v ? "left center" : "top center"
5767
5767
  }
5768
5768
  },
5769
- elementBefore: ee,
5769
+ elementBefore: w,
5770
5770
  propsPaneBefore: n,
5771
5771
  elementAfter: T,
5772
5772
  propsPaneAfter: r
@@ -5774,10 +5774,10 @@ var Wo = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5774
5774
  }));
5775
5775
  Xo.displayName = "StudioSplitPane";
5776
5776
  var Zo = (0, X.memo)((e) => {
5777
- let { dataValidation: t } = e, n = j(), r = t.getRenderHints();
5778
- return Ke(t, "onAnyChange"), (0, Z.jsxs)(Ot, {
5777
+ let { dataValidation: t } = e, n = A(), r = t.getRenderHints();
5778
+ return qt(t, "onAnyChange"), (0, Z.jsxs)(Re, {
5779
5779
  tabIndex: 0,
5780
- className: nn["editor-panel"],
5780
+ className: mt["editor-panel"],
5781
5781
  sx: {
5782
5782
  gap: (e) => e.spacing(1),
5783
5783
  paddingTop: (e) => e.spacing(1.25),
@@ -5789,9 +5789,9 @@ var Zo = (0, X.memo)((e) => {
5789
5789
  overflow: "auto"
5790
5790
  },
5791
5791
  children: [
5792
- (0, Z.jsx)(I, {
5792
+ (0, Z.jsx)(F, {
5793
5793
  sx: { margin: (e) => e.spacing(1.25) },
5794
- children: (0, Z.jsx)(H, {
5794
+ children: (0, Z.jsx)(R, {
5795
5795
  variant: "body2",
5796
5796
  sx: { color: "text.secondary" },
5797
5797
  children: n("dataValidation.range", { range: t.getRanges().toString() })
@@ -5822,14 +5822,14 @@ var Zo = (0, X.memo)((e) => {
5822
5822
  }
5823
5823
  },
5824
5824
  children: [(0, Z.jsx)(Cr, {
5825
- expandIcon: (0, Z.jsx)(w, { iconKey: "ExpandMore" }),
5825
+ expandIcon: (0, Z.jsx)(C, { iconKey: "ExpandMore" }),
5826
5826
  sx: {
5827
5827
  px: 2,
5828
5828
  "& .MuiAccordionSummary-content": { my: 0 },
5829
5829
  "&.Mui-expanded .MuiAccordionSummary-content": { my: 0 }
5830
5830
  },
5831
- children: (0, Z.jsx)(En, {
5832
- control: (0, Z.jsx)(Tn, {
5831
+ children: (0, Z.jsx)(q, {
5832
+ control: (0, Z.jsx)(jt, {
5833
5833
  checked: t.isShowPromptMessage(),
5834
5834
  onChange: (e) => {
5835
5835
  e.stopPropagation();
@@ -5888,14 +5888,14 @@ var Zo = (0, X.memo)((e) => {
5888
5888
  }
5889
5889
  },
5890
5890
  children: [(0, Z.jsx)(Cr, {
5891
- expandIcon: (0, Z.jsx)(w, { iconKey: "ExpandMore" }),
5891
+ expandIcon: (0, Z.jsx)(C, { iconKey: "ExpandMore" }),
5892
5892
  sx: {
5893
5893
  px: 2,
5894
5894
  "& .MuiAccordionSummary-content": { my: 0 },
5895
5895
  "&.Mui-expanded .MuiAccordionSummary-content": { my: 0 }
5896
5896
  },
5897
- children: (0, Z.jsx)(En, {
5898
- control: (0, Z.jsx)(Tn, {
5897
+ children: (0, Z.jsx)(q, {
5898
+ control: (0, Z.jsx)(jt, {
5899
5899
  checked: t.isShowAlertMessage(),
5900
5900
  onChange: (e) => {
5901
5901
  e.stopPropagation();
@@ -5918,25 +5918,25 @@ var Zo = (0, X.memo)((e) => {
5918
5918
  gap: 2
5919
5919
  },
5920
5920
  children: [
5921
- (0, Z.jsxs)(K, {
5921
+ (0, Z.jsxs)(Ye, {
5922
5922
  fullWidth: !0,
5923
5923
  size: "small",
5924
5924
  sx: { backgroundColor: "background.paper" },
5925
- children: [(0, Z.jsx)(Ht, { children: n("dataValidation.alertStyle") }), (0, Z.jsxs)(q, {
5925
+ children: [(0, Z.jsx)(G, { children: n("dataValidation.alertStyle") }), (0, Z.jsxs)(K, {
5926
5926
  value: t.getAlertStyle(),
5927
5927
  label: n("dataValidation.alertStyle"),
5928
5928
  onChange: (e) => t.setAlertStyle(e.target.value),
5929
5929
  children: [
5930
5930
  (0, Z.jsx)(Y, {
5931
- value: v.AlertStyle.Stop,
5931
+ value: S.AlertStyle.Stop,
5932
5932
  children: n("dataValidation.alertStop")
5933
5933
  }),
5934
5934
  (0, Z.jsx)(Y, {
5935
- value: v.AlertStyle.Warning,
5935
+ value: S.AlertStyle.Warning,
5936
5936
  children: n("dataValidation.alertWarning")
5937
5937
  }),
5938
5938
  (0, Z.jsx)(Y, {
5939
- value: v.AlertStyle.Information,
5939
+ value: S.AlertStyle.Information,
5940
5940
  children: n("dataValidation.alertInformation")
5941
5941
  })
5942
5942
  ]
@@ -5963,7 +5963,7 @@ var Zo = (0, X.memo)((e) => {
5963
5963
  ]
5964
5964
  })]
5965
5965
  }),
5966
- r.length > 0 && (0, Z.jsx)(I, {
5966
+ r.length > 0 && (0, Z.jsx)(F, {
5967
5967
  sx: {
5968
5968
  pl: 2,
5969
5969
  pr: 2,
@@ -5972,12 +5972,12 @@ var Zo = (0, X.memo)((e) => {
5972
5972
  borderColor: "divider",
5973
5973
  borderRadius: 1
5974
5974
  },
5975
- children: (0, Z.jsx)(En, {
5976
- control: (0, Z.jsx)(Tn, {
5975
+ children: (0, Z.jsx)(q, {
5976
+ control: (0, Z.jsx)(jt, {
5977
5977
  checked: !t.isHideDropdown(),
5978
5978
  onChange: (e) => t.setHideDropdown(!e.target.checked)
5979
5979
  }),
5980
- label: n("dataValidation.useCustomInput", { type: i.camelToPrettyCase(r[0]) })
5980
+ label: n("dataValidation.useCustomInput", { type: o.camelToPrettyCase(r[0]) })
5981
5981
  })
5982
5982
  })
5983
5983
  ]
@@ -5987,18 +5987,18 @@ Zo.displayName = "DataValidationEditorPanel";
5987
5987
  var Qo = {
5988
5988
  key: "data-validation",
5989
5989
  messageKeys: {
5990
- none: f("dataValidation.none"),
5991
- addPrompt: f("dataValidation.addPrompt"),
5992
- heading: f("dataValidation.heading"),
5993
- insert: f("dataValidation.insert"),
5994
- new: f("dataValidation.new"),
5995
- moveUp: f("dataValidation.moveUp"),
5996
- moveDown: f("dataValidation.moveDown"),
5997
- edit: f("dataValidation.edit"),
5998
- duplicate: f("dataValidation.duplicate"),
5999
- delete: f("dataValidation.delete"),
6000
- cancel: f("dataValidation.cancel"),
6001
- save: f("dataValidation.save")
5990
+ none: m("dataValidation.none"),
5991
+ addPrompt: m("dataValidation.addPrompt"),
5992
+ heading: m("dataValidation.heading"),
5993
+ insert: m("dataValidation.insert"),
5994
+ new: m("dataValidation.new"),
5995
+ moveUp: m("dataValidation.moveUp"),
5996
+ moveDown: m("dataValidation.moveDown"),
5997
+ edit: m("dataValidation.edit"),
5998
+ duplicate: m("dataValidation.duplicate"),
5999
+ delete: m("dataValidation.delete"),
6000
+ cancel: m("dataValidation.cancel"),
6001
+ save: m("dataValidation.save")
6002
6002
  },
6003
6003
  getCollection: (e) => e.getDataValidations(),
6004
6004
  changeEvents: ["onDataValidationsChange"],
@@ -6007,8 +6007,8 @@ var Qo = {
6007
6007
  },
6008
6008
  getCardTitle: (e, t) => e.getCondition()?.toString() ?? t("dataValidation.noCondition"),
6009
6009
  CardBody: ({ item: e }) => {
6010
- let t = j();
6011
- return e.isShowPromptMessage() && e.getPromptTitle() ? (0, Z.jsx)(H, {
6010
+ let t = A();
6011
+ return e.isShowPromptMessage() && e.getPromptTitle() ? (0, Z.jsx)(R, {
6012
6012
  variant: "caption",
6013
6013
  sx: {
6014
6014
  color: (e) => e.palette.text.secondary,
@@ -6030,8 +6030,8 @@ var Qo = {
6030
6030
  }));
6031
6031
  $o.displayName = "DataValidationDetailsPanel";
6032
6032
  var es = /* @__PURE__ */ new WeakMap(), ts = (0, X.memo)((e) => {
6033
- let { protectedRange: t } = e, n = j();
6034
- Ke(t, "onAnyChange");
6033
+ let { protectedRange: t } = e, n = A();
6034
+ qt(t, "onAnyChange");
6035
6035
  let r = t.isProtected(), [i, a] = (0, X.useState)(() => t.getName()), [o] = (0, X.useState)(() => t.getName()), [s, c] = (0, X.useState)(null), [l, u] = (0, X.useState)(""), [d, f] = (0, X.useState)(!1), [p] = (0, X.useState)(() => t.hasPassword()), m = (() => {
6036
6036
  try {
6037
6037
  let e = t.getRanges();
@@ -6051,9 +6051,9 @@ var es = /* @__PURE__ */ new WeakMap(), ts = (0, X.memo)((e) => {
6051
6051
  }
6052
6052
  else c(null);
6053
6053
  };
6054
- return (0, Z.jsxs)(Ot, {
6054
+ return (0, Z.jsxs)(Re, {
6055
6055
  tabIndex: 0,
6056
- className: nn["editor-panel"],
6056
+ className: mt["editor-panel"],
6057
6057
  sx: {
6058
6058
  gap: (e) => e.spacing(1),
6059
6059
  paddingTop: (e) => e.spacing(1.25),
@@ -6064,14 +6064,14 @@ var es = /* @__PURE__ */ new WeakMap(), ts = (0, X.memo)((e) => {
6064
6064
  borderRadius: (e) => e.spacing(1.25),
6065
6065
  overflow: "auto"
6066
6066
  },
6067
- children: [(0, Z.jsx)(I, {
6067
+ children: [(0, Z.jsx)(F, {
6068
6068
  sx: { margin: (e) => e.spacing(1.25) },
6069
- children: (0, Z.jsx)(H, {
6069
+ children: (0, Z.jsx)(R, {
6070
6070
  variant: "body2",
6071
6071
  sx: { color: "text.secondary" },
6072
6072
  children: n("protectedRange.range", { range: t.getRanges().toString() })
6073
6073
  })
6074
- }), (0, Z.jsxs)(I, {
6074
+ }), (0, Z.jsxs)(F, {
6075
6075
  sx: {
6076
6076
  display: "flex",
6077
6077
  flexDirection: "column",
@@ -6109,12 +6109,12 @@ var es = /* @__PURE__ */ new WeakMap(), ts = (0, X.memo)((e) => {
6109
6109
  let n = e.target.value;
6110
6110
  u(n), f(!1), n ? es.set(t, n) : es.delete(t);
6111
6111
  },
6112
- slotProps: { input: { startAdornment: p && !d ? (0, Z.jsx)(On, {
6112
+ slotProps: { input: { startAdornment: p && !d ? (0, Z.jsx)(Dn, {
6113
6113
  position: "start",
6114
- children: (0, Z.jsx)(w, { iconKey: "Lock" })
6114
+ children: (0, Z.jsx)(C, { iconKey: "Lock" })
6115
6115
  }) : void 0 } }
6116
6116
  }),
6117
- p && !l ? (0, Z.jsx)(yt, {
6117
+ p && !l ? (0, Z.jsx)(je, {
6118
6118
  size: "small",
6119
6119
  color: "inherit",
6120
6120
  disabled: r || d,
@@ -6127,7 +6127,7 @@ var es = /* @__PURE__ */ new WeakMap(), ts = (0, X.memo)((e) => {
6127
6127
  },
6128
6128
  children: n("protectedRange.removePassword")
6129
6129
  }) : null,
6130
- t.getSecurityDescriptor() ? (0, Z.jsx)(H, {
6130
+ t.getSecurityDescriptor() ? (0, Z.jsx)(R, {
6131
6131
  variant: "caption",
6132
6132
  sx: {
6133
6133
  color: "text.secondary",
@@ -6143,16 +6143,16 @@ ts.displayName = "ProtectedRangeEditorPanel";
6143
6143
  var ns = {
6144
6144
  key: "protected-range",
6145
6145
  messageKeys: {
6146
- none: f("protectedRange.none"),
6147
- addPrompt: f("protectedRange.addPrompt"),
6148
- heading: f("protectedRange.heading"),
6149
- insert: f("protectedRange.insert"),
6150
- new: f("protectedRange.new"),
6151
- edit: f("protectedRange.edit"),
6152
- duplicate: f("protectedRange.duplicate"),
6153
- delete: f("protectedRange.delete"),
6154
- cancel: f("protectedRange.cancel"),
6155
- save: f("protectedRange.save")
6146
+ none: m("protectedRange.none"),
6147
+ addPrompt: m("protectedRange.addPrompt"),
6148
+ heading: m("protectedRange.heading"),
6149
+ insert: m("protectedRange.insert"),
6150
+ new: m("protectedRange.new"),
6151
+ edit: m("protectedRange.edit"),
6152
+ duplicate: m("protectedRange.duplicate"),
6153
+ delete: m("protectedRange.delete"),
6154
+ cancel: m("protectedRange.cancel"),
6155
+ save: m("protectedRange.save")
6156
6156
  },
6157
6157
  getCollection: (e) => e.getProtectedRanges(),
6158
6158
  changeEvents: ["onProtectedRangesChange"],
@@ -6167,8 +6167,8 @@ var ns = {
6167
6167
  },
6168
6168
  getCardTitle: (e, t) => e.getName() || t("protectedRange.unnamed"),
6169
6169
  CardBody: ({ item: e }) => {
6170
- let t = j();
6171
- return e.hasPassword() ? (0, Z.jsx)(H, {
6170
+ let t = A();
6171
+ return e.hasPassword() ? (0, Z.jsx)(R, {
6172
6172
  variant: "caption",
6173
6173
  sx: {
6174
6174
  color: (e) => e.palette.text.secondary,
@@ -6187,7 +6187,7 @@ var ns = {
6187
6187
  ...r
6188
6188
  });
6189
6189
  }));
6190
- rs.displayName = "ProtectedRangeDetailsPanel", bn(), ee.register("plugin-table", { icons: {} }), Pe.registerTaskPane({
6190
+ rs.displayName = "ProtectedRangeDetailsPanel", ut(), w.register("plugin-table", { icons: {} }), vn.registerTaskPane({
6191
6191
  key: "dataValidationDetails",
6192
6192
  getTitle: () => "Data Validation",
6193
6193
  getIcon: () => "DataValidation",
@@ -6199,7 +6199,7 @@ rs.displayName = "ProtectedRangeDetailsPanel", bn(), ee.register("plugin-table",
6199
6199
  ...a
6200
6200
  });
6201
6201
  }
6202
- }, !0), Pe.registerTaskPane({
6202
+ }, !0), vn.registerTaskPane({
6203
6203
  key: "conditionalFormatDetails",
6204
6204
  getTitle: () => "Conditional Formatting",
6205
6205
  getIcon: () => "FormatPaint",
@@ -6212,7 +6212,7 @@ rs.displayName = "ProtectedRangeDetailsPanel", bn(), ee.register("plugin-table",
6212
6212
  ...o
6213
6213
  });
6214
6214
  }
6215
- }, !0), Pe.registerTaskPane({
6215
+ }, !0), vn.registerTaskPane({
6216
6216
  key: "protectedRangeDetails",
6217
6217
  getTitle: () => "Allow Edit Ranges",
6218
6218
  getIcon: () => "Lock",
@@ -6224,7 +6224,7 @@ rs.displayName = "ProtectedRangeDetailsPanel", bn(), ee.register("plugin-table",
6224
6224
  ...a
6225
6225
  });
6226
6226
  }
6227
- }, !0), vn(), un();
6227
+ }, !0), Tt(), St();
6228
6228
  var is = () => {
6229
6229
  let e, t, n = new Promise((n, r) => {
6230
6230
  e = n, t = r;
@@ -6241,132 +6241,132 @@ var is = () => {
6241
6241
  return n.catch(() => {}), r;
6242
6242
  }, as = (e, t) => {
6243
6243
  if (!e) return {};
6244
- let { colorSchemes: n, ...r } = e, a = n?.[t ? "dark" : "light"];
6245
- return a && typeof a == "object" ? i.deepMerge(r, a) : r;
6244
+ let { colorSchemes: n, ...r } = e, i = n?.[t ? "dark" : "light"];
6245
+ return i && typeof i == "object" ? o.deepMerge(r, i) : r;
6246
6246
  }, os = (0, X.memo)((0, X.forwardRef)((e, t) => {
6247
- let { className: n, sx: r, square: a, elevation: o, variant: c, style: l, onWorkbookLoad: u, onDocumentError: d, renderDocumentError: f = cn, propsDocumentError: p, propsTaskPaneArea: m, renderTaskPaneArea: h = ss, taskPaneSide: g = "right", onKeyDown: _, workbook: v, onWorkbookChange: y, logo: b, topLeft: x, topRight: S, muiTheme: E, tokens: D, cssBaseline: te, autoFocus: O = !1, title: k, onDirtyChange: ie, propsDocumentTitle: A, renderDocumentLoading: oe = rn, propsDocumentLoading: se, propsWorkbook: j, showFormulaBar: le, propsFormulaBar: ue, renderFormulaBar: de, editable: pe, showStatusBar: me, propsStatusBar: M, renderStatusBar: he, propsToolbar: ge, renderToolbar: N, ..._e } = e, P = (0, X.useRef)(null), ve = (0, X.useRef)(null), F = (0, X.useRef)(null), be = Se(() => {
6248
- F.current?.getNamedCollectionEditorElement?.()?.focus?.();
6249
- }, []), Ce = Se(d ?? (() => {}), [d]), we = Se(ie ?? (() => {}), [ie]), Te = A?.placeHolder, [Ee] = fe(qe.Mode, void 0), { themeMode: Oe } = ye({ mode: Ee ?? void 0 }), [je] = fe(ne.Active, null), Ne = (0, X.useRef)(je);
6250
- Ne.current = je;
6251
- let Pe = De(), Fe = (0, X.useMemo)(() => ({
6252
- light: At(!1, i.deepMerge(as(E, !1), Zt(Pe?.light))),
6253
- dark: At(!0, i.deepMerge(as(E, !0), Zt(Pe?.dark)))
6247
+ let { className: n, sx: r, square: i, elevation: a, variant: s, style: c, onWorkbookLoad: u, onDocumentError: d, renderDocumentError: f = Et, propsDocumentError: p, propsTaskPaneArea: m, renderTaskPaneArea: h = ss, taskPaneSide: g = "right", onKeyDown: _, workbook: v, onWorkbookChange: y, logo: b, topLeft: x, topRight: S, muiTheme: E, tokens: D, cssBaseline: ee, autoFocus: ne = !1, title: O, onDirtyChange: ie, propsDocumentTitle: k, renderDocumentLoading: oe = Ct, propsDocumentLoading: se, propsWorkbook: A, showFormulaBar: le, propsFormulaBar: ue, renderFormulaBar: de, editable: pe, showStatusBar: me, propsStatusBar: j, renderStatusBar: M, propsToolbar: he, renderToolbar: N, ...ge } = e, _e = (0, X.useRef)(null), ve = (0, X.useRef)(null), P = (0, X.useRef)(null), be = Se(() => {
6248
+ P.current?.getNamedCollectionEditorElement?.()?.focus?.();
6249
+ }, []), Ce = Se(d ?? (() => {}), [d]), we = Se(ie ?? (() => {}), [ie]), Te = k?.placeHolder, [Ee] = fe(Sn.Mode, void 0), { themeMode: ke } = ye({ mode: Ee ?? void 0 }), [Ae] = fe(te.Active, null), je = (0, X.useRef)(Ae);
6250
+ je.current = Ae;
6251
+ let Me = De(), I = (0, X.useMemo)(() => ({
6252
+ light: Be(!1, o.deepMerge(as(E, !1), gt(Me?.light))),
6253
+ dark: Be(!0, o.deepMerge(as(E, !0), gt(Me?.dark)))
6254
6254
  }), [
6255
6255
  E,
6256
- Pe?.light,
6257
- Pe?.dark
6258
- ]), Ie = Oe === "dark", Le = ce("studio", (0, X.useId)()), ze = (0, X.useMemo)(() => yn(Fe.light, Fe.dark, `.${Le}`, D), [
6259
- Fe,
6260
- Le,
6256
+ Me?.light,
6257
+ Me?.dark
6258
+ ]), L = ke === "dark", Ne = ce("studio", (0, X.useId)()), Pe = (0, X.useMemo)(() => ct(I.light, I.dark, `.${Ne}`, D), [
6259
+ I,
6260
+ Ne,
6261
6261
  D
6262
- ]), Be = (0, X.useMemo)(() => pt("sxl-defaults", `.${Le}`), [Le]), Ve = mt(), [Ue, We] = (0, X.useState)(() => v ?? null);
6262
+ ]), Fe = (0, X.useMemo)(() => sn("sxl-defaults", `.${Ne}`), [Ne]), R = nn(), [Ie, Le] = (0, X.useState)(() => v ?? null);
6263
6263
  (0, X.useEffect)(() => {
6264
- We(v ?? null);
6264
+ Le(v ?? null);
6265
6265
  }, [v]);
6266
- let [Ge, Ye] = (0, X.useState)(0), Qe = (0, X.useRef)(null);
6267
- Qe.current ||= is();
6268
- let $e = lt(Ue, {
6269
- io: L,
6270
- defaultTheme: Ve.getDefaultTheme(),
6271
- reloadKey: Ge
6272
- }), R = $e.status === "loaded" ? $e.workbook : null, z = (0, X.useMemo)(() => $e.status === "error" ? {
6266
+ let [z, ze] = (0, X.useState)(0), B = (0, X.useRef)(null);
6267
+ B.current ||= is();
6268
+ let Ve = bn(Ie, {
6269
+ io: mn,
6270
+ defaultTheme: R.getDefaultTheme(),
6271
+ reloadKey: z
6272
+ }), V = Ve.status === "loaded" ? Ve.workbook : null, H = (0, X.useMemo)(() => Ve.status === "error" ? {
6273
6273
  status: "error",
6274
- error: $e.error
6275
- } : $e.status === "loaded" ? {
6274
+ error: Ve.error
6275
+ } : Ve.status === "loaded" ? {
6276
6276
  status: "loaded",
6277
- workbook: $e.workbook
6278
- } : { status: "loading" }, [$e]);
6277
+ workbook: Ve.workbook
6278
+ } : { status: "loading" }, [Ve]);
6279
6279
  (0, X.useEffect)(() => {
6280
- Qe.current.settled && (Qe.current = is());
6281
- }, [Ue, Ge]), (0, X.useEffect)(() => {
6282
- z.status === "loaded" ? Qe.current.resolve(z.workbook) : z.status === "error" && (Ce?.(z.error), Qe.current.reject(z.error));
6283
- }, [z]);
6284
- let [B, et] = (0, X.useState)(null);
6285
- R && !B && et(R);
6286
- let rt = R && B && R !== B ? R : null, it = (0, X.useRef)(rt);
6287
- it.current = rt;
6288
- let ot = (0, X.useRef)(B);
6289
- ot.current = B;
6290
- let st = (0, X.useRef)([]), ct = (0, X.useCallback)((e) => {
6291
- let t = ot.current;
6292
- t && st.current.push(t), We(e);
6280
+ B.current.settled && (B.current = is());
6281
+ }, [Ie, z]), (0, X.useEffect)(() => {
6282
+ H.status === "loaded" ? B.current.resolve(H.workbook) : H.status === "error" && (Ce?.(H.error), B.current.reject(H.error));
6283
+ }, [H]);
6284
+ let [U, He] = (0, X.useState)(null);
6285
+ V && !U && He(V);
6286
+ let W = V && U && V !== U ? V : null, Ue = (0, X.useRef)(W);
6287
+ Ue.current = W;
6288
+ let We = (0, X.useRef)(U);
6289
+ We.current = U;
6290
+ let Ge = (0, X.useRef)([]), Ke = (0, X.useCallback)((e) => {
6291
+ let t = We.current;
6292
+ t && Ge.current.push(t), Le(e);
6293
6293
  }, []);
6294
6294
  (0, X.useEffect)(() => {
6295
- let e = st.current;
6295
+ let e = Ge.current;
6296
6296
  if (e.length !== 0) {
6297
- st.current = e.filter((e) => e === B);
6297
+ Ge.current = e.filter((e) => e === U);
6298
6298
  for (let t = 0; t < e.length; t++) {
6299
6299
  let n = e[t];
6300
- if (n !== B) try {
6300
+ if (n !== U) try {
6301
6301
  n.close();
6302
6302
  } catch (e) {
6303
6303
  console.warn("Unable to close the replaced workbook", e);
6304
6304
  }
6305
6305
  }
6306
6306
  }
6307
- }, [B]);
6308
- let ut = pe ? null : B, dt = Ae(), ft = (0, X.useMemo)(() => ut ? Xe(ut.getSelectedSheet(), { referenceMode: dt }) : null, [ut, dt]), V = pe ?? ft, ht = (0, X.useRef)(V);
6309
- ht.current = V, (0, X.useEffect)(() => {
6310
- if (!V) return;
6311
- let e = V.getSession();
6312
- return V.subscribe(() => {
6307
+ }, [U]);
6308
+ let qe = pe ? null : U, Je = Zt(), Ye = (0, X.useMemo)(() => qe ? Tn(qe.getSelectedSheet(), { referenceMode: Je }) : null, [qe, Je]), G = pe ?? Ye, Xe = (0, X.useRef)(G);
6309
+ Xe.current = G, (0, X.useEffect)(() => {
6310
+ if (!G) return;
6311
+ let e = G.getSession();
6312
+ return G.subscribe(() => {
6313
6313
  let t = e;
6314
- e = V.getSession(), t && !e && t.getActiveEditorId() === "formula-bar" && F.current?.contains?.(document.activeElement) && P.current?.focus();
6314
+ e = G.getSession(), t && !e && t.getActiveEditorId() === "formula-bar" && P.current?.contains?.(document.activeElement) && _e.current?.focus();
6315
6315
  });
6316
- }, [V]);
6317
- let _t = nt(B), { isDirty: vt, saveState: yt } = Re(B, L), bt = at(B), xt = (0, X.useRef)(yt);
6318
- xt.current = yt;
6319
- let St = (0, X.useCallback)(() => xt.current?.isDirty() ?? !1, []), Ct = (0, X.useRef)(z);
6320
- Ct.current = z;
6321
- let [wt, Tt] = (0, X.useState)(null), H = k ?? A?.title, [Et, Dt] = (0, X.useState)(null);
6316
+ }, [G]);
6317
+ let K = Wt(U), { isDirty: Ze, saveState: Qe } = Kt(U, mn), $e = ln(U), et = (0, X.useRef)(Qe);
6318
+ et.current = Qe;
6319
+ let tt = (0, X.useCallback)(() => et.current?.isDirty() ?? !1, []), nt = (0, X.useRef)(H);
6320
+ nt.current = H;
6321
+ let [rt, it] = (0, X.useState)(null), at = O ?? k?.title, [ot, st] = (0, X.useState)(null);
6322
6322
  (0, X.useEffect)(() => {
6323
- Dt(null);
6324
- }, [B]);
6325
- let U = H ?? Et ?? _t ?? "";
6323
+ st(null);
6324
+ }, [U]);
6325
+ let lt = at ?? ot ?? K ?? "";
6326
6326
  (0, X.useEffect)(() => {
6327
- we?.(vt);
6328
- }, [vt]);
6329
- let kt = Se(y ?? (() => {}), [y]);
6327
+ we?.(Ze);
6328
+ }, [Ze]);
6329
+ let ut = Se(y ?? (() => {}), [y]);
6330
6330
  (0, X.useEffect)(() => {
6331
- kt?.(R);
6332
- }, [R]);
6333
- let W = (0, X.useRef)(R);
6334
- W.current = R, Ke(B, "onViewChange");
6335
- let jt = (0, X.useMemo)(() => (0, Z.jsx)(Ze, {
6331
+ ut?.(V);
6332
+ }, [V]);
6333
+ let pt = (0, X.useRef)(V);
6334
+ pt.current = V, qt(U, "onViewChange");
6335
+ let mt = (0, X.useMemo)(() => (0, Z.jsx)(Jt, {
6336
6336
  groupKey: "helpOptions",
6337
6337
  disableHover: !0,
6338
6338
  sx: { padding: "0" },
6339
6339
  propsButton: { sx: { maxHeight: "22px" } }
6340
- }), []), [Mt, Nt] = (0, X.useState)(null), Pt = (0, X.useCallback)((e) => {
6341
- Nt(e);
6340
+ }), []), [ht, _t] = (0, X.useState)(null), bt = (0, X.useCallback)((e) => {
6341
+ _t(e);
6342
6342
  }, []);
6343
6343
  (0, X.useEffect)(() => {
6344
- ee.prefetch();
6344
+ w.prefetch();
6345
6345
  }, []);
6346
- let Ft = (0, X.useRef)(null);
6347
- Ft.current ||= is();
6348
- let G = (0, X.useRef)(null), It = (0, X.useCallback)(() => G.current?.getSheetElement()?.getGridSurface()?.getPane()?.getElement() ?? Ft.current.promise, []), Lt = Se(async (e) => {
6349
- let t = Ne.current;
6350
- t && t !== s.getActive() && await s.setActive(t), await ae.DefaultCommandCatalogService.prefetch(t ?? void 0), Tt(e), G.current = e.source, Ft.current.settled || Ft.current.resolve(e.source.getSheetElement()?.getGridSurface()?.getPane()?.getElement() ?? null), u?.(e);
6351
- }, []), Rt = (0, X.useRef)(null), zt = (0, X.useCallback)((e) => {
6346
+ let xt = (0, X.useRef)(null);
6347
+ xt.current ||= is();
6348
+ let St = (0, X.useRef)(null), wt = (0, X.useCallback)(() => St.current?.getSheetElement()?.getGridSurface()?.getPane()?.getElement() ?? xt.current.promise, []), Tt = Se(async (e) => {
6349
+ let t = je.current;
6350
+ t && t !== l.getActive() && await l.setActive(t), await ae.DefaultCommandCatalogService.prefetch(t ?? void 0), it(e), St.current = e.source, xt.current.settled || xt.current.resolve(e.source.getSheetElement()?.getGridSurface()?.getPane()?.getElement() ?? null), u?.(e);
6351
+ }, []), Dt = (0, X.useRef)(null), Ot = (0, X.useCallback)((e) => {
6352
6352
  let t = null, n = {
6353
6353
  readOnly: !0,
6354
- ...A
6354
+ ...k
6355
6355
  };
6356
- return A?.hidden || (t = (0, Z.jsx)(sn, {
6356
+ return k?.hidden || (t = (0, Z.jsx)(vt, {
6357
6357
  ...n,
6358
6358
  style: {
6359
6359
  maxWidth: "100%",
6360
- ...A?.style
6360
+ ...k?.style
6361
6361
  },
6362
- workbook: e.workbook ?? P.current,
6363
- ref: Rt,
6364
- title: U,
6365
- modified: vt,
6366
- encrypted: bt,
6362
+ workbook: e.workbook ?? _e.current,
6363
+ ref: Dt,
6364
+ title: lt,
6365
+ modified: Ze,
6366
+ encrypted: $e,
6367
6367
  placeHolder: Te,
6368
6368
  onTitleChange: (e) => {
6369
- Dt(e), A?.onTitleChange?.(e);
6369
+ st(e), k?.onTitleChange?.(e);
6370
6370
  }
6371
6371
  })), (0, Z.jsx)(No, {
6372
6372
  ...e,
@@ -6377,26 +6377,26 @@ var is = () => {
6377
6377
  });
6378
6378
  }, [
6379
6379
  b,
6380
- U,
6381
- vt,
6382
- bt,
6383
- A,
6380
+ lt,
6381
+ Ze,
6382
+ $e,
6383
+ k,
6384
6384
  x,
6385
6385
  S
6386
6386
  ]);
6387
6387
  (0, X.useEffect)(() => {
6388
- let e = P.current;
6388
+ let e = _e.current;
6389
6389
  if (!e) return;
6390
6390
  let t = (e) => e.preventDefault();
6391
6391
  return e.addEventListener("wheel", t, { passive: !1 }), () => {
6392
6392
  e.removeEventListener("wheel", t);
6393
6393
  };
6394
- }, [wt]);
6395
- let [Bt, Vt] = (0, X.useState)(null);
6394
+ }, [rt]);
6395
+ let [kt, At] = (0, X.useState)(null);
6396
6396
  (0, X.useEffect)(() => {
6397
- Vt(wt?.source?.getCommandScope?.() ?? null);
6398
- }, [wt]);
6399
- let K = (0, X.useMemo)(() => ({
6397
+ At(rt?.source?.getCommandScope?.() ?? null);
6398
+ }, [rt]);
6399
+ let jt = (0, X.useMemo)(() => ({
6400
6400
  "& .SnackbarContainer-root": { position: "absolute !important" },
6401
6401
  "& .notistack-SnackbarContainer > div": { maxWidth: "min(100%, 720px)" },
6402
6402
  "& .notistack-Snackbar": { minWidth: "unset" },
@@ -6410,49 +6410,49 @@ var is = () => {
6410
6410
  },
6411
6411
  "*": { userSelect: "none" },
6412
6412
  ...r
6413
- }), [r]), [Ht, Ut] = (0, X.useState)(null), [, q] = fe(null, !1);
6413
+ }), [r]), [q, J] = (0, X.useState)(null), [, Y] = fe(null, !1);
6414
6414
  (0, X.useEffect)(() => {
6415
- q(Ht != null);
6416
- }, [Ht, q]);
6417
- let Wt = (0, X.useCallback)((e) => h({
6418
- model: B,
6415
+ Y(q != null);
6416
+ }, [q, Y]);
6417
+ let Mt = (0, X.useCallback)((e) => h({
6418
+ model: U,
6419
6419
  side: g,
6420
6420
  ...e,
6421
6421
  ...m
6422
6422
  }), [
6423
- B,
6423
+ U,
6424
6424
  g,
6425
6425
  m
6426
- ]), Gt = T(t, () => ({
6426
+ ]), Pt = T(t, () => ({
6427
6427
  isStudioElement: () => !0,
6428
- getWorkbookElement: () => P.current,
6429
- getWorkbook: () => W.current ?? null,
6430
- isDirty: () => xt.current?.isDirty() ?? !1,
6431
- getEditable: () => ht.current,
6432
- getFormulaBarElement: () => F.current ?? null,
6433
- focus: () => P.current?.focus(),
6434
- whenReady: () => (Qe.current ||= is(), Qe.current.promise),
6435
- getWorkbookState: () => Ct.current,
6436
- retry: () => Ye((e) => e + 1)
6437
- }), []), Kt = (0, X.useRef)(!1), qt = Se((e, t) => {
6438
- t === it.current && requestAnimationFrame(() => requestAnimationFrame(() => {
6439
- t === it.current && (Kt.current = Gt.current?.contains(document.activeElement) ?? !0, et(t), Lt(e));
6428
+ getWorkbookElement: () => _e.current,
6429
+ getWorkbook: () => pt.current ?? null,
6430
+ isDirty: () => et.current?.isDirty() ?? !1,
6431
+ getEditable: () => Xe.current,
6432
+ getFormulaBarElement: () => P.current ?? null,
6433
+ focus: () => _e.current?.focus(),
6434
+ whenReady: () => (B.current ||= is(), B.current.promise),
6435
+ getWorkbookState: () => nt.current,
6436
+ retry: () => ze((e) => e + 1)
6437
+ }), []), Ft = (0, X.useRef)(!1), It = Se((e, t) => {
6438
+ t === Ue.current && requestAnimationFrame(() => requestAnimationFrame(() => {
6439
+ t === Ue.current && (Ft.current = Pt.current?.contains(document.activeElement) ?? !0, He(t), Tt(e));
6440
6440
  }));
6441
6441
  }, []);
6442
6442
  (0, X.useEffect)(() => {
6443
- Kt.current && (Kt.current = !1, P.current?.focus());
6444
- }, [B]);
6445
- let Jt = (0, X.useCallback)(() => (0, Z.jsx)(Z.Fragment, {}), []), Yt = (0, X.useCallback)((e) => {
6446
- let { ref: t, ...n } = e, i = Ie ? Fe.dark : Fe.light, s = z.status === "error" ? f({
6443
+ Ft.current && (Ft.current = !1, _e.current?.focus());
6444
+ }, [U]);
6445
+ let Lt = (0, X.useCallback)(() => (0, Z.jsx)(Z.Fragment, {}), []), Rt = (0, X.useCallback)((e) => {
6446
+ let { ref: t, ...n } = e, o = L ? I.dark : I.light, c = H.status === "error" ? f({
6447
6447
  ...p,
6448
6448
  style: {
6449
6449
  width: "100%",
6450
6450
  height: "100%",
6451
6451
  ...p?.style
6452
6452
  },
6453
- error: z.error
6453
+ error: H.error
6454
6454
  }) : null;
6455
- if (s && !B) return (0, Z.jsx)(Ot, {
6455
+ if (c && !U) return (0, Z.jsx)(Re, {
6456
6456
  sx: r,
6457
6457
  style: {
6458
6458
  width: "100%",
@@ -6462,54 +6462,54 @@ var is = () => {
6462
6462
  alignItems: "stretch",
6463
6463
  justifyContent: "stretch"
6464
6464
  },
6465
- children: s
6465
+ children: c
6466
6466
  });
6467
6467
  let l = null;
6468
- if (B) {
6469
- let e = B, r = e.getView(), a = le ?? r?.isShowFormulaBar(), o = me ?? r?.isShowStatusBar(), s = wt?.source ?? P.current, c = (N ?? zt)({
6468
+ if (U) {
6469
+ let e = U, r = e.getView(), i = le ?? r?.isShowFormulaBar(), a = me ?? r?.isShowStatusBar(), s = rt?.source ?? _e.current, c = (N ?? Ot)({
6470
6470
  workbook: s,
6471
- ...ge
6472
- }), u = a ? (de ?? _n)({
6473
- ref: F,
6471
+ ...he
6472
+ }), u = i ? (de ?? dt)({
6473
+ ref: P,
6474
6474
  style: {
6475
- marginTop: i.spacing(.25),
6476
- marginLeft: i.spacing(1),
6477
- marginRight: i.spacing(1),
6478
- marginBottom: i.spacing(.75)
6475
+ marginTop: o.spacing(.25),
6476
+ marginLeft: o.spacing(1),
6477
+ marginRight: o.spacing(1),
6478
+ marginBottom: o.spacing(.75)
6479
6479
  },
6480
6480
  workbook: e,
6481
- editable: V ?? void 0,
6481
+ editable: G ?? void 0,
6482
6482
  ...ue,
6483
6483
  propsNamedCollectionEditor: {
6484
6484
  restoreFocus: (e) => s?.focus(e),
6485
6485
  ...ue?.propsNamedCollectionEditor
6486
6486
  }
6487
- }) : null, d = o ? (he ?? hn)({
6488
- childrenEnd: jt,
6489
- ...M
6490
- }) : null, f = (e, r) => (0, Z.jsx)(ln, {
6491
- ...j,
6487
+ }) : null, d = a ? (M ?? ft)({
6488
+ childrenEnd: mt,
6489
+ ...j
6490
+ }) : null, f = (e, r) => (0, Z.jsx)(yt, {
6491
+ ...A,
6492
6492
  tabIndex: 0,
6493
- autoFocus: !r && O,
6493
+ autoFocus: !r && ne,
6494
6494
  workbook: e,
6495
- editable: r ? void 0 : V ?? void 0,
6495
+ editable: r ? void 0 : G ?? void 0,
6496
6496
  focusNameBox: r ? void 0 : be,
6497
- ref: r ? ve : kn([t, P]),
6498
- onWorkbookLoad: r ? (t) => qt(t, e) : Lt,
6497
+ ref: r ? ve : On([t, _e]),
6498
+ onWorkbookLoad: r ? (t) => It(t, e) : Tt,
6499
6499
  onKeyDown: (e) => {
6500
6500
  _?.(e);
6501
6501
  },
6502
6502
  propsWorkbookLoading: se,
6503
- renderWorkbookLoading: Jt,
6503
+ renderWorkbookLoading: Lt,
6504
6504
  style: r ? {
6505
- ...j?.style,
6505
+ ...A?.style,
6506
6506
  position: "absolute",
6507
6507
  inset: 0,
6508
6508
  visibility: "hidden"
6509
6509
  } : {
6510
6510
  flex: "1 1 100%",
6511
6511
  minHeight: 0,
6512
- ...j?.style
6512
+ ...A?.style
6513
6513
  },
6514
6514
  onContextMenu: (e) => e.preventDefault(),
6515
6515
  ...r ? null : n
@@ -6521,9 +6521,9 @@ var is = () => {
6521
6521
  flex: "1 1 100%",
6522
6522
  minWidth: 0,
6523
6523
  minHeight: 0,
6524
- ...ke({
6525
- window: i.palette.background.default,
6526
- windowText: i.palette.text.primary
6524
+ ...hn({
6525
+ window: o.palette.background.default,
6526
+ windowText: o.palette.text.primary
6527
6527
  })
6528
6528
  },
6529
6529
  children: [
@@ -6532,9 +6532,9 @@ var is = () => {
6532
6532
  (0, Z.jsx)(Xo, {
6533
6533
  taskSide: g,
6534
6534
  persistKey: "taskPanePosition",
6535
- sidebarElement: Ht ? (0, Z.jsx)(ae.CommandScopeProvider, {
6536
- scope: Bt,
6537
- children: Ht
6535
+ sidebarElement: q ? (0, Z.jsx)(ae.CommandScopeProvider, {
6536
+ scope: kt,
6537
+ children: q
6538
6538
  }) : void 0,
6539
6539
  mainElement: (0, Z.jsxs)("div", {
6540
6540
  style: {
@@ -6545,8 +6545,8 @@ var is = () => {
6545
6545
  minWidth: 0,
6546
6546
  minHeight: 0
6547
6547
  },
6548
- children: [[f(B, !1), rt ? f(rt, !0) : null], (0, Z.jsx)(I, {
6549
- ref: Pt,
6548
+ children: [[f(U, !1), W ? f(W, !0) : null], (0, Z.jsx)(F, {
6549
+ ref: bt,
6550
6550
  sx: {
6551
6551
  position: "absolute",
6552
6552
  top: "10%",
@@ -6563,9 +6563,9 @@ var is = () => {
6563
6563
  ]
6564
6564
  });
6565
6565
  }
6566
- let u = wt ? null : oe({ ...se });
6567
- return (0, Z.jsxs)(Ot, {
6568
- sx: K,
6566
+ let u = rt ? null : oe({ ...se });
6567
+ return (0, Z.jsxs)(Re, {
6568
+ sx: jt,
6569
6569
  style: {
6570
6570
  width: "100%",
6571
6571
  height: "100%",
@@ -6576,12 +6576,12 @@ var is = () => {
6576
6576
  backgroundColor: "var(--sxl-color-base-200)"
6577
6577
  },
6578
6578
  className: "eager-studio",
6579
- square: a,
6580
- elevation: o,
6581
- variant: c,
6579
+ square: i,
6580
+ elevation: a,
6581
+ variant: s,
6582
6582
  children: [
6583
6583
  l,
6584
- s ? (0, Z.jsx)(Ot, {
6584
+ c ? (0, Z.jsx)(Re, {
6585
6585
  style: {
6586
6586
  position: "absolute",
6587
6587
  inset: 0,
@@ -6589,7 +6589,7 @@ var is = () => {
6589
6589
  alignItems: "stretch",
6590
6590
  justifyContent: "stretch"
6591
6591
  },
6592
- children: s
6592
+ children: c
6593
6593
  }) : null,
6594
6594
  u ? (0, Z.jsx)("div", {
6595
6595
  style: {
@@ -6598,93 +6598,93 @@ var is = () => {
6598
6598
  display: "flex",
6599
6599
  alignItems: "center",
6600
6600
  justifyContent: "center",
6601
- background: `var(--sxl-color-base-100, ${Ie ? "#121212" : "#fff"})`
6601
+ background: `var(--sxl-color-base-100, ${L ? "#121212" : "#fff"})`
6602
6602
  },
6603
6603
  children: u
6604
6604
  }) : null
6605
6605
  ]
6606
6606
  });
6607
6607
  }, [
6608
- z,
6609
- B,
6610
- rt,
6611
- wt,
6608
+ H,
6612
6609
  U,
6610
+ W,
6611
+ rt,
6612
+ lt,
6613
6613
  oe,
6614
6614
  se,
6615
- Jt,
6616
- j,
6617
- _e,
6615
+ Lt,
6616
+ A,
6617
+ ge,
6618
+ i,
6618
6619
  a,
6619
- o,
6620
- c,
6621
- jt,
6620
+ s,
6621
+ mt,
6622
6622
  f,
6623
6623
  p,
6624
- zt,
6625
- K,
6626
- Ht,
6624
+ Ot,
6625
+ jt,
6626
+ q,
6627
6627
  g,
6628
- Bt,
6628
+ kt,
6629
6629
  le,
6630
6630
  ue,
6631
6631
  de,
6632
- V,
6632
+ G,
6633
6633
  me,
6634
+ j,
6634
6635
  M,
6635
6636
  he,
6636
- ge,
6637
6637
  N,
6638
- Fe,
6639
- Ie
6640
- ]), Xt = (0, Z.jsx)(Oo, {
6638
+ I,
6639
+ L
6640
+ ]), zt = (0, Z.jsx)(Oo, {
6641
6641
  maxSnack: 3,
6642
- domRoot: Mt ?? void 0,
6642
+ domRoot: ht ?? void 0,
6643
6643
  anchorOrigin: {
6644
6644
  vertical: "bottom",
6645
6645
  horizontal: "right"
6646
6646
  },
6647
6647
  autoHideDuration: 3500,
6648
6648
  onClose: (e, t, n) => {
6649
- P.current?.focus();
6649
+ _e.current?.focus();
6650
6650
  },
6651
6651
  Components: { error: jo },
6652
6652
  iconVariant: {
6653
- success: (0, Z.jsx)(gt, {
6653
+ success: (0, Z.jsx)(Oe, {
6654
6654
  style: { marginRight: "8px" },
6655
6655
  children: (0, Z.jsx)("path", { d: "M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z" })
6656
6656
  }),
6657
- error: (0, Z.jsx)(w, {
6657
+ error: (0, Z.jsx)(C, {
6658
6658
  iconKey: "ErrorAlert",
6659
6659
  style: { marginRight: "8px" }
6660
6660
  })
6661
6661
  },
6662
- children: (0, Z.jsx)(He, {
6663
- workbook: B,
6664
- children: (0, Z.jsx)(Je, {
6665
- renderArea: Wt,
6662
+ children: (0, Z.jsx)(Nt, {
6663
+ workbook: U,
6664
+ children: (0, Z.jsx)(pn, {
6665
+ renderArea: Mt,
6666
6666
  onUpdateArea: (e) => {
6667
- Ut(e);
6667
+ J(e);
6668
6668
  },
6669
- children: (0, Z.jsx)(Me, { children: (0, Z.jsx)(Uo, { children: (0, Z.jsx)(xe, { children: (0, Z.jsx)(re, { children: (0, Z.jsx)(Bo, {
6670
- workbook: B,
6671
- initialCommandAnchor: It,
6672
- renderWorkbook: Yt,
6673
- setWorkbook: ct,
6674
- titleWorkbook: U,
6675
- setWorkbookTitle: Dt,
6676
- refDocumentTitle: Rt,
6677
- isDirty: St
6669
+ children: (0, Z.jsx)($t, { children: (0, Z.jsx)(Uo, { children: (0, Z.jsx)(xe, { children: (0, Z.jsx)(re, { children: (0, Z.jsx)(Bo, {
6670
+ workbook: U,
6671
+ initialCommandAnchor: wt,
6672
+ renderWorkbook: Rt,
6673
+ setWorkbook: Ke,
6674
+ titleWorkbook: lt,
6675
+ setWorkbookTitle: st,
6676
+ refDocumentTitle: Dt,
6677
+ isDirty: tt
6678
6678
  }) }) }) }) })
6679
6679
  })
6680
6680
  })
6681
6681
  });
6682
- return Xt = (0, Z.jsxs)(lr, {
6683
- theme: Ie ? Fe.dark : Fe.light,
6684
- children: [te ? (0, Z.jsx)(zr, {}) : null, (0, Z.jsxs)("div", {
6685
- ref: Gt,
6686
- className: C("sheetxl-studio", Le, n),
6687
- "data-sxl-theme-mode": Ie ? "dark" : "light",
6682
+ return zt = (0, Z.jsxs)(lr, {
6683
+ theme: L ? I.dark : I.light,
6684
+ children: [ee ? (0, Z.jsx)(zr, {}) : null, (0, Z.jsxs)("div", {
6685
+ ref: Pt,
6686
+ className: kn("sheetxl-studio", Ne, n),
6687
+ "data-sxl-theme-mode": L ? "dark" : "light",
6688
6688
  style: {
6689
6689
  display: "flex",
6690
6690
  flexDirection: "column",
@@ -6694,21 +6694,21 @@ var is = () => {
6694
6694
  minWidth: 0,
6695
6695
  minHeight: 0,
6696
6696
  position: "relative",
6697
- ...l
6697
+ ...c
6698
6698
  },
6699
- ..._e,
6699
+ ...ge,
6700
6700
  children: [
6701
- (0, Z.jsx)("style", { children: ze }),
6702
- (0, Z.jsx)("style", { children: Be }),
6703
- (0, Z.jsx)(tt, {
6704
- themeScopeClass: Le,
6701
+ (0, Z.jsx)("style", { children: Pe }),
6702
+ (0, Z.jsx)("style", { children: Fe }),
6703
+ (0, Z.jsx)(Gt, {
6704
+ themeScopeClass: Ne,
6705
6705
  themeSurface: "app",
6706
- themeMode: Oe,
6707
- children: Xt
6706
+ themeMode: ke,
6707
+ children: zt
6708
6708
  })
6709
6709
  ]
6710
6710
  })]
6711
- }), Xt;
6711
+ }), zt;
6712
6712
  }));
6713
6713
  os.displayName = "EagerStudio";
6714
6714
  var ss = (e) => (0, Z.jsx)(qo, { ...e });