@sheetxl/studio-vanilla 0.7.28-beta.2 → 0.7.28-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (297) hide show
  1. package/browser/cjs/{Bf2M1sdVR89d3yxg.cjs → B2cX7nid45K1XRcB.cjs} +1 -1
  2. package/browser/cjs/{DMNRMppC1tGKEiCa2.cjs → BCax8eUosvZxqJum2.cjs} +1 -1
  3. package/browser/cjs/{CcLfDX6uHge33mwb2.cjs → BDSt3etlKFP344pX2.cjs} +1 -1
  4. package/browser/cjs/{Ca4DwcXOTqVuUOVq2.cjs → BHpypCDUD5cP3vR92.cjs} +1 -1
  5. package/browser/cjs/{BtuU_zhIvl9orhXJ2.cjs → BIcGM64pW8jzwXoR.cjs} +1 -1
  6. package/browser/cjs/{Cdi9twdv4KfAl5I72.cjs → BQEk2bmRsrTs-zJu2.cjs} +3 -3
  7. package/browser/cjs/{Y37Q7YjNKfaPg9qC.cjs → BW4gFAFA5vc1x_8G.cjs} +1 -1
  8. package/browser/cjs/{CVvPoEKURol1Aftd.cjs → BYp7-QW_AGEONvMr.cjs} +1 -1
  9. package/browser/cjs/{BeYzZkmTef6nGcoR.cjs → Bq7bgCz2WfVwfQSv.cjs} +2 -2
  10. package/browser/cjs/{3xD-77z5V9IlNXjn2.cjs → BzvKaJw-3G3FMhao2.cjs} +1 -1
  11. package/browser/cjs/C1tO7v57UD8xmj2X.cjs +86 -0
  12. package/browser/cjs/C9K6gYebhUCoGcyy.cjs +5 -0
  13. package/browser/cjs/{BFDhFIqPaIRivcO3.cjs → CAEF_wXnxI6o5BkS.cjs} +1 -1
  14. package/browser/cjs/{CFnnvEHNOFcAUaHE.cjs → CN8lXPB3rJ4Ux6jN.cjs} +1 -1
  15. package/browser/cjs/{X5Grge615whs1q_I2.cjs → CObKFza7rEOQcteD2.cjs} +1 -1
  16. package/browser/cjs/CcBPECGj-X0W9a3_.cjs +3 -0
  17. package/browser/cjs/{BH_9BSdzWI3sYvEo2.cjs → ChMPHLE_jFKu0JmZ2.cjs} +1 -1
  18. package/browser/cjs/{jgba8pT4LamzxlS8.cjs → CtEazH3mA0Tj8qrG.cjs} +1 -1
  19. package/browser/cjs/{0udzrkQg8Nf9nRbI.cjs → CxY5iqVeCdKKTzDq.cjs} +1 -1
  20. package/browser/cjs/{B37bgauMls6bQwyP.cjs → D2KFRZ75pzopfyVC.cjs} +1 -1
  21. package/browser/cjs/{BREMLtxkQhtNSVra.cjs → D6cjnwWR_iUSe1f62.cjs} +1 -1
  22. package/browser/cjs/D9OGD2b5RCuNVkVt.cjs +1 -0
  23. package/browser/cjs/DDGqSmEUwpCyj2-T.cjs +12 -0
  24. package/browser/cjs/{pb5LnC0Ye1NBoRvg.cjs → DMJpPocVk36TEmfa.cjs} +1 -1
  25. package/browser/cjs/{BqJIWrtud1IdCny_.cjs → DP0yIsjVWme5C-UE.cjs} +1 -1
  26. package/browser/cjs/Dmdcgm3pqGKmXPGb.cjs +33 -0
  27. package/browser/cjs/{CFSMFEE8YXmRYGPL.cjs → Ds8fgjqVz8xPRHog.cjs} +1 -1
  28. package/browser/cjs/{C1nECuaXDUkYlVQY2.cjs → DuLz-mXv6patMuVn2.cjs} +1 -1
  29. package/browser/cjs/{VRIZX6-JADRk2Iao.cjs → Eja0Zsmdah-At3rJ.cjs} +1 -1
  30. package/browser/cjs/{CxWeFfNAUvhHe9F-.cjs → QH2fF4MqkcvdkNjz.cjs} +2 -2
  31. package/browser/cjs/{CUCXS7BrMsSnSXVr.cjs → Y0B5_Kqc0UL2taRO.cjs} +2 -2
  32. package/browser/cjs/gOdLq87FmaB-hTTZ.cjs +1 -0
  33. package/browser/cjs/index.cjs +1 -1
  34. package/{cdn/assets/Cl5KKGUmrf4e7lB3.js → browser/esm/2dJqxS99uENpvAC92.mjs} +1 -1
  35. package/browser/esm/{9LhOHxxuP2jO-YDv.mjs → 4-QoxOhoR614u5tO.mjs} +12 -12
  36. package/browser/esm/{tEoFD7IKo7vDcL80.mjs → 53p_EWlOxGgrMq-q.mjs} +207 -207
  37. package/{cdn/assets/DwGeIZ6nCjk9UiXk.js → browser/esm/5XtgjihhVCzNqyYJ2.mjs} +1 -1
  38. package/browser/esm/{DpjPEgS5W70lK0GU.mjs → B1AbnDun66mq_S2f.mjs} +12 -12
  39. package/browser/esm/{BJhMeXHgj2izJPad.mjs → B3CqIagnCvfOrLBT.mjs} +7 -7
  40. package/browser/esm/{GjOmlUOFqz90L-9x2.mjs → B4094aQR3Q4KhALV2.mjs} +8 -8
  41. package/{cdn/assets/CwRqY3jy0pkU72Ty.js → browser/esm/B7kOoeXeYeZqA_mU.mjs} +1 -1
  42. package/{cdn/assets/CDVkQjbphikzy5cP.js → browser/esm/BC9RLqAWMPRx_1rS.mjs} +1 -1
  43. package/browser/esm/{DvFh-0k-PvKrKwkt.mjs → BDHrIbkTx7Ii0RYb.mjs} +5 -5
  44. package/browser/esm/{TJB9Rw8_wY-D-aKa2.mjs → BEF8kcbXgMjyCP4C2.mjs} +1 -1
  45. package/browser/esm/{DafUQqzTsegjuTX92.mjs → BEgQWG98wq54oeau2.mjs} +7 -7
  46. package/{cdn/assets/Wy-cTg0gDeXuKv0a.js → browser/esm/BG-wTTfaCHaJMI5b2.mjs} +1 -1
  47. package/{cdn/assets/9XJnug1pfQreKXZr.js → browser/esm/BG8zQEmkmTTw8LXE2.mjs} +1 -1
  48. package/browser/esm/{D0OOkDRea_6_jbt2.mjs → BHmeRWtpqOMknkon.mjs} +1 -1
  49. package/browser/esm/{DzujlnEzr0M92mNz.mjs → BIboUJ6YhTe0O5Ep.mjs} +1 -1
  50. package/{cdn/assets/MIcNDPtZ2tOqEJLi.js → browser/esm/BKX_mnqOl4t0M7Q-.mjs} +1 -1
  51. package/browser/esm/{BfkghIcy-zOKLz4c.mjs → BLq8q4tpQq7lW0jg.mjs} +2 -2
  52. package/{cdn/assets/BVRLpEysZKAgHCqC.js → browser/esm/BM3Fxh1DBzKRDnJ-2.mjs} +1 -1
  53. package/{cdn/assets/Ds-v1MKCCCRK5y__.js → browser/esm/BMlDCj6kw-JTuDJ92.mjs} +1 -1
  54. package/browser/esm/{BnFl2afy78teEcaD.mjs → BT1lb0BHqaMUHJEH.mjs} +4 -4
  55. package/browser/esm/{DbmQdZUcujE_ICGk.mjs → BTiq0pI-MmNI9sx6.mjs} +3 -3
  56. package/browser/esm/{CCH2N2D6f4m3sxHV.mjs → BV1A7fanbtryQZdr.mjs} +129 -129
  57. package/{cdn/assets/DL-6XEhXlHkvgtF_.js → browser/esm/BXf0y-wp2FQ5btCG2.mjs} +1 -1
  58. package/browser/esm/{DnS-xX8jkMERhPbF.mjs → BamGz0uoayfOfFJD.mjs} +8 -8
  59. package/{cdn/assets/Ccj-Gq_hyRtb93R-.js → browser/esm/BbRZ0cO4t2haGX-o.mjs} +1 -1
  60. package/browser/esm/{DJoktru8Ln1idAEk2.mjs → BbgnnZj965cf_RAV2.mjs} +9 -9
  61. package/{cdn/assets/7R7r4iHAxN8rnOmW2.js → browser/esm/Be2V19M8IxytN_Aa.mjs} +2 -2
  62. package/browser/esm/{EHwbgKRgADVAwQbs2.mjs → BibrryjUsSysyTSD2.mjs} +11 -11
  63. package/browser/esm/{CtPuA7JjziKZTOy4.mjs → Bk-F9XzxhuyAOQqK.mjs} +1 -1
  64. package/{cdn/assets/HA0CYoHHAU5VgVW5.js → browser/esm/Bk13V_C0eSaqMClU.mjs} +1 -1
  65. package/browser/esm/{BZDhc9cFdvb2DZp52.mjs → BlC4_SZ2XYvtnkHw.mjs} +12 -12
  66. package/{cdn/assets/BsGIsDAUk9bSNC2-.js → browser/esm/BmZX5BqczMfR2VlT2.mjs} +1 -1
  67. package/browser/esm/{BFIwPtz-TW4VvaZR.mjs → Bpp8p7LJo9K-1Tm-.mjs} +1 -1
  68. package/browser/esm/{ejd62mg_zHpVGhbH.mjs → Bpypf56n7jOOW7Ys.mjs} +9 -9
  69. package/browser/esm/{BDJXGdb3hQGrna00.mjs → Bs6uuY3i689nSdNa.mjs} +3890 -3803
  70. package/browser/esm/{me8l7609yOrUhpBU2.mjs → BwekjT1bXcBAV6hi2.mjs} +1 -1
  71. package/browser/esm/{BKY2gKXOB637hih-.mjs → Bxt5fHMZXudQ1QHA.mjs} +6 -6
  72. package/browser/esm/{DMXx0lIMiLsQgbVK.mjs → Byl6FdOyv58rFwxZ.mjs} +5 -5
  73. package/{cdn/assets/BkgfJjCizaRuC_N5.js → browser/esm/Bynpw8CnO-1JkFdZ2.mjs} +1 -1
  74. package/{cdn/assets/q1AmoBDraQE-T8im2.js → browser/esm/BzilGTs3oFGxJ5uB.mjs} +2 -2
  75. package/browser/esm/{Dr0aqIJxcsRdzQox2.mjs → C39fSQO6blxFky052.mjs} +7 -7
  76. package/browser/esm/{C5wklWg-nVHGfhda.mjs → CC52ynv81P-LwXRT.mjs} +6 -6
  77. package/browser/esm/{Bi2jbQd8mecebnRM2.mjs → CCvvNbrMzlFHlAbr2.mjs} +4 -4
  78. package/{cdn/assets/TikP0KAVISVw72_42.js → browser/esm/CEWWFcwu4AyqL0cQ.mjs} +225 -220
  79. package/browser/esm/{BmNqTvvRVjF_c1qz.mjs → CEgIZKMC4XoMmPp5.mjs} +3 -3
  80. package/browser/esm/{DyDgU8THo8GBGQ4M.mjs → CI8YyVegXUBlHR61.mjs} +1 -1
  81. package/browser/esm/{B6mzT3jt8PsKgBWH2.mjs → CI92jUOrJIKUlfGx2.mjs} +128 -128
  82. package/browser/esm/{CshVZ7dBZzXK1qdP.mjs → CKc-IOHYDEuo2FhB.mjs} +5 -5
  83. package/browser/esm/{IPVHjbNIjyMsOxUR.mjs → CNZeWICVX0x6E3-Z.mjs} +1 -1
  84. package/browser/esm/{C0Cbiq1ZKs0s-oUn.mjs → CNgKTif3Jo9FLV7d.mjs} +2 -2
  85. package/{cdn/assets/CQhIZf112hMPFsjD.js → browser/esm/CSlBZF1ezptA1LSS2.mjs} +1 -1
  86. package/{cdn/assets/B9epCKVFFaq_fX4j.js → browser/esm/CUj7kwIeQGAqyb6V.mjs} +1 -1
  87. package/browser/esm/{ytk4-EolaWr77_nC.mjs → CVDNfe5yVj7xYGeO.mjs} +2 -2
  88. package/browser/esm/{DJl3zpaAG7xtX-vB.mjs → CWQXDC8Qk5PH757v.mjs} +13 -13
  89. package/{cdn/assets/D-YuVmmS-kKcV9xr2.js → browser/esm/CX0QhwSYuHoImWlY2.mjs} +1 -1
  90. package/browser/esm/{CH-EdTSDEYE7IaBC.mjs → CZy1bU6cVChuZKag.mjs} +236 -236
  91. package/browser/esm/{Dnk-x1RHZ-HCYKGy2.mjs → C_Kd0CPQvZsJLD6b2.mjs} +1 -1
  92. package/{cdn/assets/COZ775SOX8hXz68T.js → browser/esm/CdV0VXnaW6UyTd8E.mjs} +1 -1
  93. package/browser/esm/{CTpri2fSv5dZbUwJ.mjs → CecKVsBMvvKuk2Og.mjs} +2107 -2037
  94. package/browser/esm/{BwYNDge9HsfAlKEk.mjs → Ci7qcrvyeBaD36sR.mjs} +5 -5
  95. package/{cdn/assets/ioECgEEk-HCEo_qL2.js → browser/esm/Cjq-G2Seyww6IMSH.mjs} +1 -1
  96. package/browser/esm/{BVLamiPGpKQKiyPW2.mjs → Clu5SMZriAkKa_np2.mjs} +13 -13
  97. package/browser/esm/{BrmKrgxwVxzOs8v9.mjs → CmcKdn-U2ywgYm_9.mjs} +2 -2
  98. package/browser/esm/{BfmngO7uzIcK9Lux2.mjs → CqSxZiLos0nQa69t2.mjs} +5 -5
  99. package/browser/esm/{0HCb-Mkw8Otpj9B6.mjs → CsK0x9jgM8z_DOl1.mjs} +37 -37
  100. package/browser/esm/{uwB2_ERsYGldq4on2.mjs → CsqtbHllm56zw5xh2.mjs} +1 -1
  101. package/browser/esm/{CbGZtQlImYkXEGhI.mjs → CtZ4wSjG6QUWs7Nn.mjs} +6 -6
  102. package/{cdn/assets/DcTAnKNgB4UiSyH-2.js → browser/esm/CtaapT_7WuEvy48w2.mjs} +1 -1
  103. package/browser/esm/{BIklj1nwWIcZCmKp2.mjs → CxJliRXAfjf-8FJL2.mjs} +1 -1
  104. package/browser/esm/{BXOm0hdx068QsENe.mjs → D5MuKMXqFbc9B8JP.mjs} +3 -3
  105. package/browser/esm/{D2fjpIsYf8xbJ3qt2.mjs → D7-Zv2k1IJkmQoxc.mjs} +1 -1
  106. package/browser/esm/{BVGcECvfrJsTA5kD.mjs → D99KkptfLQp60ECI.mjs} +2 -2
  107. package/browser/esm/{CySaHP1TkAtt7IqW.mjs → DA0VxVTFcWvrEQEv.mjs} +2 -2
  108. package/browser/esm/{DBVG6J7cidK5K5QE.mjs → DD-_f0jEXDy0dn6z.mjs} +6 -6
  109. package/{cdn/assets/ClIlIFc_63tI2r9S.js → browser/esm/DDg-fxiIqpuutuyu2.mjs} +1 -1
  110. package/{cdn/assets/Ba0_2fGhHSS7kV2l.js → browser/esm/DJzMm5FQXuMWHNom2.mjs} +1 -1
  111. package/{cdn/assets/CTsLj1vEfSqm_tm4.js → browser/esm/DKLwRgsx1WelayB6.mjs} +1 -1
  112. package/browser/esm/{DeY3vEbV4T2WgYP22.mjs → DNXCAcVGHeeoKPcx2.mjs} +1 -1
  113. package/{cdn/assets/BJkZVLqBoBngX2V-.js → browser/esm/DSY8maNeFb51KgKe2.mjs} +1 -1
  114. package/browser/esm/{39GslBYZKZUJpjcX.mjs → DT8AGfoENVVMPsi3.mjs} +1 -1
  115. package/browser/esm/{B9yaWiEn9khUlCmT.mjs → DUpHK7eGlzF6E3h5.mjs} +5 -5
  116. package/browser/esm/{CMBLrQ2K32IKaZHu.mjs → DX0xvH5nQ8MjqsA02.mjs} +2 -2
  117. package/{cdn/assets/CZVi5-MceLzKtZCX.js → browser/esm/DYaHqG1Xx-r7mlLq.mjs} +1 -1
  118. package/browser/esm/{ZFZ3X4ek1OFa4xKm.mjs → DZyZNxEMnIWr2n8S.mjs} +3 -3
  119. package/{cdn/assets/CpD0Rq1ei0UW4wvV2.js → browser/esm/DbGc-QtQMWI-VyUe.mjs} +1 -1
  120. package/{cdn/assets/bY52psG3lmpa706j2.js → browser/esm/DbfFQif7awKrcxxB.mjs} +3 -3
  121. package/browser/esm/{CkRTvOlXWFrTaFLB.mjs → Dcbf_tge-hZbUfUD.mjs} +4 -4
  122. package/browser/esm/{DYhGe1HslNmi3MWF.mjs → De-RIk_tQ6xW8NH2.mjs} +1 -1
  123. package/browser/esm/{CTZpbsb07-ieZ8Sv.mjs → DgGF1ZaI3ti0c_Nz.mjs} +1 -1
  124. package/browser/esm/{DqJYCOxMI0h7olt5.mjs → DhnxpW56CJ43gVOI.mjs} +1 -1
  125. package/browser/esm/{CVtQ8m0S6nnXk7XH.mjs → DjwllBVpUWlaltMT.mjs} +6 -6
  126. package/browser/esm/{AS-KiFBez1nwB_vC.mjs → DqfIf41HljTIhC84.mjs} +5 -5
  127. package/{cdn/assets/zsqoPH22vSCRd7nP.js → browser/esm/Dt8IOrB4ifUVtTff2.mjs} +1 -1
  128. package/browser/esm/{Bp1kaqNxSV0Hskwb.mjs → DwEiTFl_RN5oQzfh.mjs} +7 -7
  129. package/{cdn/assets/CTdaEmBnApCaYU--2.js → browser/esm/HQv1oLV3ax-NKXZG.mjs} +1 -1
  130. package/browser/esm/{qxXoiVui214rfZng2.mjs → IMAnmKax7yp8adEP2.mjs} +15 -15
  131. package/{cdn/assets/BXzrl80_N9hn_3462.js → browser/esm/Jw068AbKaxWlv8HJ2.mjs} +1 -1
  132. package/browser/esm/{GzFeH6oCN6eWnXbX.mjs → MJIl3u3WexRfuRxx.mjs} +4 -4
  133. package/{cdn/assets/D_olfPNNH0l8JrFu.js → browser/esm/MZKwwgG9APikaCAg.mjs} +249 -243
  134. package/{cdn/assets/DavD7unX6vAvDq492.js → browser/esm/Nj1DgowT0KN0un7b2.mjs} +1 -1
  135. package/{cdn/assets/DUVV-c3N8XuG8lyr.js → browser/esm/R3YBWWwMJAzbuwie2.mjs} +1 -1
  136. package/browser/esm/{DD_-Q_s0aq0ehCRj.mjs → RFuzM5jhOgjn2C_7.mjs} +2 -2
  137. package/{cdn/assets/COgR28nGHeL59WLY.js → browser/esm/SNsjWQUbxOQzdnCT.mjs} +1 -1
  138. package/browser/esm/{CtCW25b0E8FaH1jL.mjs → Sm94kpOe8UUYLpaZ.mjs} +3 -3
  139. package/browser/esm/{DRU8HlvNdJ-IdDad2.mjs → UOfj2s5X9yjL1iLF2.mjs} +8 -8
  140. package/browser/esm/{Z4L_LGr5jeXjCPo6.mjs → YGKMD1YfDLoo18Sy.mjs} +1 -1
  141. package/browser/esm/{B27wXIrrKNvUzMGE.mjs → iKMg-svZQSvoVzqO2.mjs} +1 -1
  142. package/browser/esm/index.mjs +4 -4
  143. package/browser/esm/{BZ6ssyp3xvgxb4Ux2.mjs → jvvKubD9MdvZCawH2.mjs} +11 -11
  144. package/browser/esm/{Btdn9KXWaFikV2VI.mjs → l9SSIWXeR5tPN95-.mjs} +3 -3
  145. package/browser/esm/{CukE7coIERV0PmeU2.mjs → nBRFIzaPeMPPvIMQ2.mjs} +6 -6
  146. package/browser/esm/{B3N4rAHBBKghSNf-.mjs → rnntZ_PYlojxr5c4.mjs} +303 -304
  147. package/browser/esm/{B609gZLpNve9hsr-2.mjs → sIWoD1UYd1XgTrIs2.mjs} +1 -1
  148. package/browser/esm/{C8KBkOocNYDNWBDu.mjs → swjGzqq7IK8YnHrV.mjs} +2 -2
  149. package/{cdn/assets/BCcFKm-VY0gZ0TzZ.js → browser/esm/uk2_KQhVX77MWa7A2.mjs} +1 -1
  150. package/{cdn/assets/BJahzXLdJMKJrGJ82.js → browser/esm/y07oKUx2vGjEEZ0w.mjs} +1 -1
  151. package/browser/esm/{CZDNrQuttGG8SW_a2.mjs → yFD3mg0KbvkE3s1Y2.mjs} +7 -7
  152. package/browser/esm/{B-cVGeAqeE1MJbcg2.mjs → yqwkS9EO5146-Xhf2.mjs} +9 -9
  153. package/cdn/assets/{CbWjq5gAF4Empxh12.js → -OScuzLTidF7HNaK2.js} +14 -14
  154. package/cdn/assets/{Cl2Y6toZDsktHGlZ.js → -wn5AXVsNdciGzNx.js} +1223 -1224
  155. package/{browser/esm/Cl5KKGUmrf4e7lB32.mjs → cdn/assets/2dJqxS99uENpvAC9.js} +1 -1
  156. package/cdn/assets/{s_afm7GAx-6Ktr_x.js → 3QC61uhcIBmRDR9w.js} +5156 -5086
  157. package/cdn/assets/{B102zq0Z2de_ly2m.js → 4Z5QgDDHi93cqy332.js} +193 -193
  158. package/{browser/esm/DwGeIZ6nCjk9UiXk2.mjs → cdn/assets/5XtgjihhVCzNqyYJ.js} +1 -1
  159. package/cdn/assets/{CyhnDYQf3_cdp52w2.js → B1WYofA6cHbr8sxv2.js} +100 -100
  160. package/cdn/assets/{Dwplym5bjb2VhwM82.js → B4aainAlYLn-Q5H62.js} +3 -3
  161. package/cdn/assets/{BQvxcrhV7qxXjTHq.js → B5G5aOCiy3kn0ADy.js} +2 -2
  162. package/{browser/esm/CwRqY3jy0pkU72Ty2.mjs → cdn/assets/B7kOoeXeYeZqA_mU2.js} +1 -1
  163. package/cdn/assets/{BwJlIoU5gbBMo6Q5.js → B8kiZt5i9HOHYeAo.js} +3 -3
  164. package/{browser/esm/CDVkQjbphikzy5cP2.mjs → cdn/assets/BC9RLqAWMPRx_1rS.js} +1 -1
  165. package/cdn/assets/{CXULuRUQ4TAsm84q.js → BDZq-VDymQAePI7X.js} +2 -2
  166. package/cdn/assets/{TJB9Rw8_wY-D-aKa.js → BEF8kcbXgMjyCP4C.js} +1 -1
  167. package/{browser/esm/Wy-cTg0gDeXuKv0a2.mjs → cdn/assets/BG-wTTfaCHaJMI5b.js} +1 -1
  168. package/{browser/esm/9XJnug1pfQreKXZr2.mjs → cdn/assets/BG8zQEmkmTTw8LXE.js} +1 -1
  169. package/cdn/assets/{DMBv9-cZDNgrEPnj.js → BGlQEwuUWK6Oz7bC.js} +105 -105
  170. package/{browser/esm/CpD0Rq1ei0UW4wvV.mjs → cdn/assets/BHmeRWtpqOMknkon.js} +1 -1
  171. package/cdn/assets/BHmeRWtpqOMknkon2.js +24 -0
  172. package/cdn/assets/{Dm-vUbnccwQ63uHt.js → BITxO-ILVNOqgbA7.js} +4 -4
  173. package/{browser/esm/MIcNDPtZ2tOqEJLi.mjs → cdn/assets/BKX_mnqOl4t0M7Q-2.js} +1 -1
  174. package/{browser/esm/BVRLpEysZKAgHCqC.mjs → cdn/assets/BM3Fxh1DBzKRDnJ-.js} +1 -1
  175. package/{browser/esm/Ds-v1MKCCCRK5y__2.mjs → cdn/assets/BMlDCj6kw-JTuDJ9.js} +1 -1
  176. package/cdn/assets/{nBpkSj6rxz09lHp42.js → BNU2ZqxIegIJr-572.js} +7 -7
  177. package/cdn/assets/{CWdwxTP6ZBP_KJE42.js → BSUsQ6-YD40bvOdG2.js} +7 -7
  178. package/cdn/assets/{BOSnQONqTqkqjHEU.js → BV3cgeOVx6QLl85F.js} +6 -6
  179. package/cdn/assets/{C5yCm-TSfx74xL002.js → BWcc3hnnAhelxjOr2.js} +10 -10
  180. package/{browser/esm/DL-6XEhXlHkvgtF_2.mjs → cdn/assets/BXf0y-wp2FQ5btCG.js} +1 -1
  181. package/cdn/assets/{Dp_KsQdcEefYydgO2.js → BZbIcyw3tiUx7ztK2.js} +766 -766
  182. package/{browser/esm/Ccj-Gq_hyRtb93R-.mjs → cdn/assets/BbRZ0cO4t2haGX-o.js} +1 -1
  183. package/cdn/assets/{DWX7iaXMf0PrhOuh.js → BdI4wcd4XWPgeQnl.js} +3 -3
  184. package/cdn/assets/{BwbtHh-oXpG5mLZu2.js → BhNQRWnlFUA4eX9Z2.js} +4 -4
  185. package/cdn/assets/{CtPuA7JjziKZTOy42.js → Bk-F9XzxhuyAOQqK2.js} +1 -1
  186. package/{browser/esm/HA0CYoHHAU5VgVW5.mjs → cdn/assets/Bk13V_C0eSaqMClU.js} +1 -1
  187. package/cdn/assets/{B9HUtdLQ29C5hAM2.js → Bk8tTxRXYv1v5QpX.js} +2 -2
  188. package/{browser/esm/BsGIsDAUk9bSNC2-2.mjs → cdn/assets/BmZX5BqczMfR2VlT.js} +1 -1
  189. package/cdn/assets/{BFIwPtz-TW4VvaZR2.js → Bpp8p7LJo9K-1Tm-2.js} +1 -1
  190. package/cdn/assets/{D5F6MTHIhDIafUlO.js → BqA9-X1PlqRSSWll.js} +2 -2
  191. package/cdn/assets/{olHQykNiRoLYpdJB.js → Bt-Xdgz1GdP9i0KH.js} +5 -5
  192. package/cdn/assets/{CkqsTJkl1cuZl14R.js → Bv8Sjub_HtVCmnyZ.js} +6 -6
  193. package/cdn/assets/{me8l7609yOrUhpBU.js → BwekjT1bXcBAV6hi.js} +1 -1
  194. package/{browser/esm/BkgfJjCizaRuC_N52.mjs → cdn/assets/Bynpw8CnO-1JkFdZ.js} +1 -1
  195. package/cdn/assets/{CzQUeHmA3XvLXm-s2.js → BzNZfg3RJdx9PRAg2.js} +9 -9
  196. package/cdn/assets/{r4hni7MWaP9SUvzC.js → C0ioCmY0K9GI3SiM.js} +7 -7
  197. package/cdn/assets/{COnOkTReK4TBuBx52.js → C8lUc_Lc03y-Whne2.js} +12 -12
  198. package/cdn/assets/{DZn5mtzClpE29qV5.js → CAgzNDmM7lJZAN5m.js} +2 -2
  199. package/cdn/assets/{DyDgU8THo8GBGQ4M.js → CI8YyVegXUBlHR61.js} +1 -1
  200. package/cdn/assets/{CvC5oy9uXPzktYaz2.js → CJMMds78eEvd6ivG2.js} +3 -3
  201. package/cdn/assets/{DzRXZ_mhd60oh-A52.js → CK4ZQnpkZHN03RHP2.js} +9 -9
  202. package/cdn/assets/{IPVHjbNIjyMsOxUR2.js → CNZeWICVX0x6E3-Z.js} +1 -1
  203. package/cdn/assets/{ByJlomQcLV_4oZGw2.js → COaJqYKx8CJ595fz2.js} +4 -4
  204. package/{browser/esm/CQhIZf112hMPFsjD2.mjs → cdn/assets/CSlBZF1ezptA1LSS.js} +1 -1
  205. package/{browser/esm/B9epCKVFFaq_fX4j.mjs → cdn/assets/CUj7kwIeQGAqyb6V.js} +1 -1
  206. package/{browser/esm/D-YuVmmS-kKcV9xr.mjs → cdn/assets/CX0QhwSYuHoImWlY.js} +1 -1
  207. package/cdn/assets/{Dnk-x1RHZ-HCYKGy.js → C_Kd0CPQvZsJLD6b.js} +1 -1
  208. package/cdn/assets/{DtFr2Mm_KqU6PZfY.js → CaLQ8stna0cEenbY.js} +8 -8
  209. package/cdn/assets/{DfzSY0wpTYYTWIY2.js → Cb1n0HtvwfvZOwZz.js} +8 -8
  210. package/cdn/assets/{_fGcdybbKg6_ekOp.js → CcJHQ6UROltFQL2I.js} +2 -2
  211. package/{browser/esm/COZ775SOX8hXz68T2.mjs → cdn/assets/CdV0VXnaW6UyTd8E.js} +1 -1
  212. package/cdn/assets/{dL4ou82v-pjouw0s2.js → CeD6pRhoV1LfiJjD.js} +12 -12
  213. package/cdn/assets/{C6v7rU3plIdoUWre2.js → ChBa56MbB_cDd9LM2.js} +8 -8
  214. package/cdn/assets/{BXRMXZjJExEHTMfL2.js → CjO9u_nQjtCD7xTH2.js} +72 -72
  215. package/{browser/esm/ioECgEEk-HCEo_qL.mjs → cdn/assets/Cjq-G2Seyww6IMSH2.js} +1 -1
  216. package/cdn/assets/{Dungsxp8KcjLsV23.js → ClHDdBXrC_nobC_N.js} +9 -9
  217. package/{browser/esm/BHdUUWliTWsGcyUW.mjs → cdn/assets/ClWQjK8wtCNyfHiY.js} +2 -2
  218. package/cdn/assets/{BvONQrMoKCUSnkqN.js → ClkL86jz-4Gf_Uwg2.js} +10 -10
  219. package/cdn/assets/{CqFZWOO-31j7rHdf.js → CsfLKTLGWgDLWY2z.js} +6 -6
  220. package/cdn/assets/{uwB2_ERsYGldq4on.js → CsqtbHllm56zw5xh.js} +1 -1
  221. package/{browser/esm/DcTAnKNgB4UiSyH-2.mjs → cdn/assets/CtaapT_7WuEvy48w2.js} +1 -1
  222. package/cdn/assets/{CKGUrocJnCQ7uGt72.js → Cwee8HXWwJj0ASk32.js} +3890 -3803
  223. package/cdn/assets/{BIklj1nwWIcZCmKp.js → CxJliRXAfjf-8FJL.js} +1 -1
  224. package/cdn/assets/{DXnM0BURZgjm8R2W.js → D-bML_q46je0p2os.js} +8 -8
  225. package/cdn/assets/{D2fjpIsYf8xbJ3qt.js → D7-Zv2k1IJkmQoxc.js} +1 -1
  226. package/{browser/esm/D8iYbJIpITf1DL9N.mjs → cdn/assets/DAN4gSLpoicGd0oX2.js} +3 -3
  227. package/{browser/esm/B2pyobtSQ_9fn__o.mjs → cdn/assets/DBDr4dkaPZ8Gd8CD.js} +249 -243
  228. package/{browser/esm/ClIlIFc_63tI2r9S2.mjs → cdn/assets/DDg-fxiIqpuutuyu.js} +1 -1
  229. package/cdn/assets/{TGZuqw2NN_OSIJO0.js → DHd5k_mCX2iTwwRi.js} +2 -2
  230. package/{browser/esm/Ba0_2fGhHSS7kV2l2.mjs → cdn/assets/DJzMm5FQXuMWHNom2.js} +1 -1
  231. package/{browser/esm/CTsLj1vEfSqm_tm42.mjs → cdn/assets/DKLwRgsx1WelayB62.js} +1 -1
  232. package/cdn/assets/{D4e9Z6yAYtli_UZy.js → DL_Jd5k5JINA7woQ.js} +12 -12
  233. package/cdn/assets/{DeY3vEbV4T2WgYP2.js → DNXCAcVGHeeoKPcx.js} +1 -1
  234. package/cdn/assets/{kaSysgj5TE-xQXsG2.js → DQrSW7F6xwljb9vw2.js} +5 -5
  235. package/cdn/assets/{w9gI9mzOHGtRSOFe.js → DR4uNNkaArYCuvNg.js} +2 -2
  236. package/{browser/esm/BJkZVLqBoBngX2V-2.mjs → cdn/assets/DSY8maNeFb51KgKe.js} +1 -1
  237. package/cdn/assets/{39GslBYZKZUJpjcX.js → DT8AGfoENVVMPsi3.js} +1 -1
  238. package/cdn/assets/{CMBLrQ2K32IKaZHu.js → DX0xvH5nQ8MjqsA0.js} +2 -2
  239. package/{browser/esm/CZVi5-MceLzKtZCX2.mjs → cdn/assets/DYaHqG1Xx-r7mlLq2.js} +1 -1
  240. package/cdn/assets/DbGc-QtQMWI-VyUe2.js +24 -0
  241. package/cdn/assets/{DYhGe1HslNmi3MWF2.js → De-RIk_tQ6xW8NH22.js} +1 -1
  242. package/cdn/assets/{Boe-L-sc0zC0Cw5N.js → DfMvz_tU8vJuV2Wl.js} +3 -3
  243. package/cdn/assets/{CTZpbsb07-ieZ8Sv.js → DgGF1ZaI3ti0c_Nz.js} +1 -1
  244. package/cdn/assets/{ko_gqiF0zCGAHO1l2.js → Dhmpgvzx9S-LYXr82.js} +9 -9
  245. package/cdn/assets/{DqJYCOxMI0h7olt52.js → DhnxpW56CJ43gVOI2.js} +1 -1
  246. package/cdn/assets/{CVuIbopxUvt0-2rL.js → Dm0riUQ_5Wg9oFgO.js} +7 -7
  247. package/{browser/esm/DCILZE5X4dLAM7Qa.mjs → cdn/assets/DmfSfK3IDzXPHkJL2.js} +225 -220
  248. package/{browser/esm/zsqoPH22vSCRd7nP2.mjs → cdn/assets/Dt8IOrB4ifUVtTff.js} +1 -1
  249. package/cdn/assets/{CiIadd7oAsvq2iR9.js → DupOTk4J52hzKr6p.js} +7 -7
  250. package/cdn/assets/{Cge4sxB_4OwAQwod.js → DyPUmQ-x13kFTQyg.js} +3 -3
  251. package/cdn/assets/{CTzZ6Xzw63GKixmU2.js → F-Y7Aw8fXxuX1LhE2.js} +207 -207
  252. package/{browser/esm/CTdaEmBnApCaYU--.mjs → cdn/assets/HQv1oLV3ax-NKXZG2.js} +1 -1
  253. package/cdn/assets/{HfJJBylzZ4Z4VNp82.js → HT9FFYzSOuRaDcHS2.js} +6 -6
  254. package/{browser/esm/BXzrl80_N9hn_346.mjs → cdn/assets/Jw068AbKaxWlv8HJ.js} +1 -1
  255. package/{browser/esm/DavD7unX6vAvDq49.mjs → cdn/assets/Nj1DgowT0KN0un7b.js} +1 -1
  256. package/{browser/esm/DUVV-c3N8XuG8lyr2.mjs → cdn/assets/R3YBWWwMJAzbuwie.js} +1 -1
  257. package/{browser/esm/COgR28nGHeL59WLY.mjs → cdn/assets/SNsjWQUbxOQzdnCT.js} +1 -1
  258. package/cdn/assets/{SHgLeVOmAOO6qQOR2.js → TO6gumfUOp2BgIlL.js} +7 -7
  259. package/cdn/assets/{CurA0H2pTTmFWY4N.js → UtYZqTCpvZMQKdR8.js} +2 -2
  260. package/cdn/assets/{Z4L_LGr5jeXjCPo62.js → YGKMD1YfDLoo18Sy2.js} +1 -1
  261. package/cdn/assets/{xH_Bg7r0fryoCvSl2.js → ZQsrI5kqNG_ZOdZD2.js} +38 -38
  262. package/cdn/assets/{WMPhjIQfI4mQp3Bg.js → _5fYV4ZbX0S6MIpD2.js} +8 -8
  263. package/cdn/assets/{C8cUmy4K0YRcXOBu2.js → dywzP082Q24_9Q5U2.js} +9 -9
  264. package/cdn/assets/{BO2RVHzXl9yxZmKM.js → i6PnYkX2rfHQQEvF.js} +3 -3
  265. package/cdn/assets/{B27wXIrrKNvUzMGE2.js → iKMg-svZQSvoVzqO.js} +1 -1
  266. package/cdn/assets/{Dctsk-QW8KKUje0b2.js → rFTMJ-_CKVUSpQ9x2.js} +13 -13
  267. package/cdn/assets/{DacWhkcqwjK3VnAA2.js → rT3DomLULA1xJhfY2.js} +16 -16
  268. package/cdn/assets/{nzKpfea1MNkFBMak.js → s2fSOFCKUPsjfoxR.js} +7 -7
  269. package/cdn/assets/{B609gZLpNve9hsr-.js → sIWoD1UYd1XgTrIs.js} +1 -1
  270. package/{browser/esm/BCcFKm-VY0gZ0TzZ.mjs → cdn/assets/uk2_KQhVX77MWa7A.js} +1 -1
  271. package/{browser/esm/gd127f9DAewQX3YF.mjs → cdn/assets/v2SkWlVj3d1y2tfT2.js} +2 -2
  272. package/cdn/assets/{Dzxg4kLxKyMklPNe2.js → wBchGa30DBwJnPZQ2.js} +3 -3
  273. package/{browser/esm/BJahzXLdJMKJrGJ8.mjs → cdn/assets/y07oKUx2vGjEEZ0w2.js} +1 -1
  274. package/cdn/assets/{B0iMXJrxCR1TmwMa2.js → ykS_w8WDHugwGY9S2.js} +8 -8
  275. package/cdn/index.js +2 -2
  276. package/package.json +3 -3
  277. package/browser/cjs/CBXWKzJggj62dtpP.cjs +0 -1
  278. package/browser/cjs/Crk724Yv2awixZFL.cjs +0 -33
  279. package/browser/cjs/DE8xPZdgqnIs7vdp.cjs +0 -86
  280. package/browser/cjs/Di-65J92p03pfERi.cjs +0 -5
  281. package/browser/cjs/LObFxO4TDyRQ2l05.cjs +0 -12
  282. package/browser/cjs/dJ3N_yPCcdiUsFNY.cjs +0 -3
  283. package/browser/cjs/jQhVJbABYXmAnYFf.cjs +0 -1
  284. package/cdn/assets/D0OOkDRea_6_jbt2.js +0 -24
  285. package/cdn/assets/D0OOkDRea_6_jbt22.js +0 -24
  286. /package/browser/cjs/{1XrWGMP3GmsQOMIX.cjs → 1XrWGMP3GmsQOMIX2.cjs} +0 -0
  287. /package/browser/cjs/{49_x589Na12sizKK2.cjs → 49_x589Na12sizKK.cjs} +0 -0
  288. /package/browser/cjs/{BWDfauDHqB6U_2ka.cjs → BWDfauDHqB6U_2ka2.cjs} +0 -0
  289. /package/browser/cjs/{Btc0Nzu40VYOpzLX2.cjs → Btc0Nzu40VYOpzLX.cjs} +0 -0
  290. /package/browser/cjs/{CRx1WvmgBjT8WVyB2.cjs → CRx1WvmgBjT8WVyB.cjs} +0 -0
  291. /package/browser/cjs/{CW-b31_-r-_raT8Y2.cjs → CW-b31_-r-_raT8Y.cjs} +0 -0
  292. /package/browser/cjs/{CXlzsh_WHCOsErJ1.cjs → CXlzsh_WHCOsErJ12.cjs} +0 -0
  293. /package/browser/cjs/{D8-KovdJ0LjxqCe22.cjs → D8-KovdJ0LjxqCe2.cjs} +0 -0
  294. /package/browser/cjs/{DNKyaSruDogoBd2H.cjs → DNKyaSruDogoBd2H2.cjs} +0 -0
  295. /package/browser/cjs/{Du4jBiFxRIF1OjD42.cjs → Du4jBiFxRIF1OjD4.cjs} +0 -0
  296. /package/browser/cjs/{aONv0Ys3C8xmnaR8.cjs → aONv0Ys3C8xmnaR82.cjs} +0 -0
  297. /package/browser/cjs/{z_rZE1OHFPpdGBh4.cjs → z_rZE1OHFPpdGBh42.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.2
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.28-beta.3
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 "./Ccj-Gq_hyRtb93R-.js";
8
- import { t } from "./CurA0H2pTTmFWY4N.js";
9
- import { t as n } from "./DWX7iaXMf0PrhOuh.js";
10
- import { t as r } from "./CXULuRUQ4TAsm84q.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 "./ioECgEEk-HCEo_qL2.js";
12
- import { a as p, n as m } from "./DqJYCOxMI0h7olt52.js";
13
- import { C as h, F as g, H as _, Z as v, ct as y, en as b, it as x, tt as S } from "./CKGUrocJnCQ7uGt72.js";
14
- import { r as C, t as w } from "./CkqsTJkl1cuZl14R.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 A, W as oe, Xt as j, Y as se, _ as ce, b as le, c as ue, ct as de, dt as fe, ft as pe, h as M, i as N, it as me, m as P, n as he, nt as F, ot as ge, p as I, rt as _e, s as ve, st as ye, t as L, tt as be, v as xe, w as Se, x as Ce, y as we, yt as Te } from "./DXnM0BURZgjm8R2W.js";
16
- import { $ as Ee, C as De, Ct as Oe, D as ke, Et as Ae, F as R, H as z, I as je, J as Me, L as Ne, N as B, St as Pe, Tt as Fe, V as Ie, _t as Le, bt as Re, ct as V, g as ze, k as Be, lt as H, nt as U, s as W, st as Ve, ut as G, v as He, vt as Ue, yt as We } from "./DtFr2Mm_KqU6PZfY.js";
17
- import { D as Ge, E as Ke, S as qe, h as Je, p as K, r as Ye, t as q } from "./BOSnQONqTqkqjHEU.js";
18
- import { C as Xe, D as Ze, E as Qe, M as $e, N as et, O as tt, S as nt, T as rt, _ as it, a as at, b as ot, c as st, d as ct, f as lt, g as ut, h as dt, i as ft, j as pt, l as mt, m as ht, n as gt, o as _t, p as vt, r as yt, s as bt, t as xt, u as St, v as Ct, w as wt, x as Tt, y as Et } from "./Cl2Y6toZDsktHGlZ.js";
19
- import { n as Dt, t as Ot } from "./CiIadd7oAsvq2iR9.js";
20
- import { t as J } from "./r4hni7MWaP9SUvzC.js";
21
- import { t as Y } from "./DfzSY0wpTYYTWIY2.js";
22
- import { t as kt } from "./CqFZWOO-31j7rHdf.js";
23
- import { A as At, Bt as jt, D as Mt, E as Nt, Ft as Pt, G as Ft, It, J as Lt, K as Rt, L as zt, M as Bt, Nt as Vt, Ot as Ht, Q as Ut, R as Wt, S as Gt, U as Kt, V as qt, Vt as Jt, W as Yt, Y as Xt, _t as Zt, c as Qt, dt as $t, ft as en, j as tn, k as nn, m as rn, nt as an, o as on, p as sn, pt as cn, q as ln, rt as un, s as dn, t as fn, u as pn, v as mn, w as hn, wt as gn, xt as _n, zt as vn } from "./s_afm7GAx-6Ktr_x.js";
24
- import { t as yn } from "./nzKpfea1MNkFBMak.js";
25
- import { n as bn } from "./DMBv9-cZDNgrEPnj.js";
26
- import { t as xn } from "./IPVHjbNIjyMsOxUR2.js";
27
- import { r as Sn } from "./BXRMXZjJExEHTMfL2.js";
28
- import { i as Cn } from "./Dzxg4kLxKyMklPNe2.js";
29
- var wn = Ae(), X = e(t(), 1), Tn = X.createContext(null);
7
+ import { r as e } from "./BbRZ0cO4t2haGX-o.js";
8
+ import { t } from "./UtYZqTCpvZMQKdR8.js";
9
+ import { t as n } from "./BdI4wcd4XWPgeQnl.js";
10
+ import { t as r } from "./BDZq-VDymQAePI7X.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 "./Cjq-G2Seyww6IMSH2.js";
12
+ import { a as p, n as m } from "./DhnxpW56CJ43gVOI2.js";
13
+ import { I as h, J as g, Jt as _, T as v, lt as y, mt as b, nt as x, ot as S } from "./Cwee8HXWwJj0ASk32.js";
14
+ import { t as C } from "./CNZeWICVX0x6E3-Z.js";
15
+ import { r as w, t as ee } from "./Bv8Sjub_HtVCmnyZ.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 "./D-bML_q46je0p2os.js";
17
+ import { $ as Oe, C as ke, Ct as Ae, D as je, Et as Me, F as L, H as R, I as Ne, J as Pe, L as Fe, N as z, St as Ie, Tt as Le, V as Re, _t as ze, bt as Be, ct as B, g as Ve, k as He, lt as V, nt as H, s as U, st as Ue, ut as W, v as We, vt as Ge, yt as Ke } from "./CaLQ8stna0cEenbY.js";
18
+ import { D as qe, E as Je, S as Ye, h as G, p as K, r as Xe, t as q } from "./BV3cgeOVx6QLl85F.js";
19
+ import { C as Ze, D as Qe, E as $e, M as et, N as tt, O as nt, S as rt, T as it, _ as at, a as ot, b as st, c as ct, d as lt, f as ut, g as dt, h as ft, i as pt, j as mt, l as ht, m as gt, n as _t, o as vt, p as yt, r as bt, s as xt, t as St, u as Ct, v as wt, w as Tt, x as Et, y as Dt } from "./-wn5AXVsNdciGzNx.js";
20
+ import { n as Ot, t as kt } from "./DupOTk4J52hzKr6p.js";
21
+ import { t as J } from "./C0ioCmY0K9GI3SiM.js";
22
+ import { t as Y } from "./Cb1n0HtvwfvZOwZz.js";
23
+ import { t as At } from "./CsfLKTLGWgDLWY2z.js";
24
+ import { $ as jt, A as Mt, Bt as Nt, F as Pt, Ft, G as It, It as Lt, K as Rt, M as zt, Nt as Bt, O as Vt, Ot as Ht, P as Ut, V as Wt, Vt as Gt, X as Kt, Y as qt, Z as Jt, _ as Yt, _t as Xt, c as Zt, d as Qt, dt as $t, et as en, f as tn, ft as nn, l as rn, m as an, n as on, nt as sn, p as cn, pt as ln, q as un, r as dn, rt as fn, s as pn, t as mn, wt as hn, xt as gn, y as _n, z as vn, zt as yn } from "./3QC61uhcIBmRDR9w.js";
25
+ import { t as bn } from "./s2fSOFCKUPsjfoxR.js";
26
+ import { n as xn } from "./BGlQEwuUWK6Oz7bC.js";
27
+ import { r as Sn } from "./CjO9u_nQjtCD7xTH2.js";
28
+ import { i as Cn } from "./wBchGa30DBwJnPZQ2.js";
29
+ var wn = Me(), X = e(t(), 1), Tn = X.createContext(null);
30
30
  function En() {
31
31
  return X.useContext(Tn);
32
32
  }
@@ -72,9 +72,9 @@ function An(e, t, n, r = !1) {
72
72
  ]);
73
73
  }
74
74
  function jn(e) {
75
- let { children: t, theme: n, themeId: r } = e, i = ce(kn), a = En() || kn, o = An(r, i, n), s = An(r, a, n, !0), c = (r ? o[r] : o).direction === "rtl", l = function(e) {
76
- let t = ce(), n = Ue() || "", { 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};` : "", Pe(() => {
75
+ let { children: t, theme: n, themeId: r } = e, i = le(kn), a = En() || kn, o = An(r, i, n), s = An(r, a, n, !0), c = (r ? o[r] : o).direction === "rtl", l = function(e) {
76
+ let t = le(), n = Ge() || "", { 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 jn(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)(Ke, { styles: i }) : null;
86
+ }, [i, n]), i ? (0, Z.jsx)(Je, { styles: i }) : null;
87
87
  }(o);
88
88
  return (0, Z.jsx)(On, {
89
89
  theme: s,
90
90
  children: (0, Z.jsx)(ie.Provider, {
91
91
  value: o,
92
- children: (0, Z.jsx)(Re, {
92
+ children: (0, Z.jsx)(Be, {
93
93
  value: c,
94
- children: (0, Z.jsxs)(We, {
94
+ children: (0, Z.jsxs)(Ke, {
95
95
  value: r ? o[r].components : o.components,
96
96
  children: [l, t]
97
97
  })
@@ -252,12 +252,12 @@ function Bn(e) {
252
252
  setColorScheme: x
253
253
  };
254
254
  }
255
- var Vn = xe(), Hn = wn("div", {
255
+ var Vn = Ce(), Hn = wn("div", {
256
256
  name: "MuiStack",
257
257
  slot: "Root"
258
258
  });
259
259
  function Un(e) {
260
- return Oe({
260
+ return Ae({
261
261
  props: e,
262
262
  name: "MuiStack",
263
263
  defaultTheme: Vn
@@ -271,16 +271,16 @@ var Gn = ({ ownerState: e, theme: t }) => {
271
271
  let n = {
272
272
  display: "flex",
273
273
  flexDirection: "column",
274
- ...D({ theme: t }, A({
274
+ ...D({ theme: t }, oe({
275
275
  values: e.direction,
276
276
  breakpoints: t.breakpoints.values
277
277
  }), (e) => ({ flexDirection: e }))
278
278
  };
279
279
  if (e.spacing) {
280
- let r = le(t), i = Object.keys(t.breakpoints.values).reduce((t, n) => ((typeof e.spacing == "object" && e.spacing[n] != null || typeof e.direction == "object" && e.direction[n] != null) && (t[n] = !0), t), {}), a = A({
280
+ let r = ue(t), i = Object.keys(t.breakpoints.values).reduce((t, n) => ((typeof e.spacing == "object" && e.spacing[n] != null || typeof e.direction == "object" && e.direction[n] != null) && (t[n] = !0), t), {}), a = oe({
281
281
  values: e.direction,
282
282
  base: i
283
- }), o = A({
283
+ }), o = oe({
284
284
  values: e.spacing,
285
285
  base: i
286
286
  });
@@ -289,25 +289,25 @@ var Gn = ({ ownerState: e, theme: t }) => {
289
289
  let r = t > 0 ? a[n[t - 1]] : "column";
290
290
  a[e] = r;
291
291
  }
292
- }), n = ee(n, D({ theme: t }, o, (t, n) => {
293
- return e.useFlexGap ? { gap: Ce(r, t) } : {
292
+ }), n = te(n, D({ theme: t }, o, (t, n) => {
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, {
296
296
  row: "Left",
297
297
  "row-reverse": "Right",
298
298
  column: "Top",
299
299
  "column-reverse": "Bottom"
300
- }[i]}`]: Ce(r, t) }
300
+ }[i]}`]: Te(r, t) }
301
301
  };
302
302
  var i;
303
303
  }));
304
304
  }
305
- return n = Se(t.breakpoints, n), n;
305
+ return n = we(t.breakpoints, n), n;
306
306
  };
307
307
  function Kn(e) {
308
- return P("MuiAccordionSummary", e);
308
+ return N("MuiAccordionSummary", e);
309
309
  }
310
- var qn = I("MuiAccordionSummary", [
310
+ var qn = F("MuiAccordionSummary", [
311
311
  "root",
312
312
  "expanded",
313
313
  "focusVisible",
@@ -317,9 +317,9 @@ var qn = I("MuiAccordionSummary", [
317
317
  "expandIconWrapper"
318
318
  ]);
319
319
  function Jn(e) {
320
- return P("MuiToggleButton", e);
320
+ return N("MuiToggleButton", e);
321
321
  }
322
- var Yn = I("MuiToggleButton", [
322
+ var Yn = F("MuiToggleButton", [
323
323
  "root",
324
324
  "disabled",
325
325
  "selected",
@@ -352,30 +352,30 @@ var { CssVarsProvider: Zn, useColorScheme: Qn, getInitColorSchemeScript: $n } =
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, T = X.useRef(!1), E = En(), 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(","), A = X.useMemo(() => k.split(","), [k]), oe = typeof o == "string" ? o : o.light, j = typeof o == "string" ? o : o.dark, { mode: se, setMode: ce, systemMode: le, lightColorScheme: ue, darkColorScheme: de, colorScheme: fe, setColorScheme: pe } = Bn({
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 = En(), 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 } = Bn({
356
356
  supportedColorSchemes: A,
357
357
  defaultLightColorScheme: oe,
358
- defaultDarkColorScheme: j,
358
+ defaultDarkColorScheme: se,
359
359
  modeStorageKey: p,
360
360
  colorSchemeStorageKey: m,
361
- defaultMode: re[oe] && re[j] ? S : re[O.defaultColorScheme]?.palette?.mode || O.palette?.mode,
361
+ defaultMode: k[oe] && k[se] ? S : k[O.defaultColorScheme]?.palette?.mode || O.palette?.mode,
362
362
  storageManager: g,
363
363
  storageWindow: _,
364
364
  noSsr: w
365
- }), M = se, N = fe;
366
- ee && (M = D.mode, N = D.colorScheme);
367
- let me = N || O.defaultColorScheme;
368
- O.vars && !C && (me = O.defaultColorScheme);
369
- let P = X.useMemo(() => {
365
+ }), me = j, M = fe;
366
+ D && (me = E.mode, M = E.colorScheme);
367
+ let he = M || O.defaultColorScheme;
368
+ O.vars && !C && (he = O.defaultColorScheme);
369
+ let ge = X.useMemo(() => {
370
370
  let e = O.generateThemeVars?.() || O.vars, t = {
371
371
  ...O,
372
- components: ie,
373
- colorSchemes: re,
374
- cssVarPrefix: ae,
372
+ components: re,
373
+ colorSchemes: k,
374
+ cssVarPrefix: ie,
375
375
  vars: e
376
376
  };
377
- if (typeof t.generateSpacing == "function" && (t.spacing = t.generateSpacing()), me) {
378
- let e = re[me];
377
+ if (typeof t.generateSpacing == "function" && (t.spacing = t.generateSpacing()), he) {
378
+ let e = k[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],
@@ -386,33 +386,33 @@ var { CssVarsProvider: Zn, useColorScheme: Qn, getInitColorSchemeScript: $n } =
386
386
  return s ? s(t) : t;
387
387
  }, [
388
388
  O,
389
- me,
390
- ie,
389
+ he,
391
390
  re,
392
- ae
393
- ]), he = O.colorSchemeSelector;
394
- Pe(() => {
395
- if (N && y && he && he !== "media") {
396
- let e = he, t = he;
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", N));
391
+ k,
392
+ ie
393
+ ]), N = O.colorSchemeSelector;
394
+ Ie(() => {
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));
398
398
  else {
399
- let e = t.replace("%s", N).match(/\[([^\]]+)\]/);
399
+ let e = t.replace("%s", M).match(/\[([^\]]+)\]/);
400
400
  if (e) {
401
401
  let [t, n] = e[1].split("=");
402
402
  n || A.forEach((e) => {
403
- y.removeAttribute(t.replace(N, e));
403
+ y.removeAttribute(t.replace(M, e));
404
404
  }), y.setAttribute(t, n ? n.replace(/"|'/g, "") : "");
405
- } else y.setAttribute(t, N);
405
+ } else y.setAttribute(t, M);
406
406
  }
407
407
  }
408
408
  }, [
409
+ M,
409
410
  N,
410
- he,
411
411
  y,
412
412
  A
413
413
  ]), X.useEffect(() => {
414
414
  let e;
415
- if (h && T.current && v) {
415
+ if (h && ee.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);
@@ -422,41 +422,41 @@ var { CssVarsProvider: Zn, useColorScheme: Qn, getInitColorSchemeScript: $n } =
422
422
  clearTimeout(e);
423
423
  };
424
424
  }, [
425
- N,
425
+ M,
426
426
  h,
427
427
  v
428
- ]), X.useEffect(() => (T.current = !0, () => {
429
- T.current = !1;
428
+ ]), X.useEffect(() => (ee.current = !0, () => {
429
+ ee.current = !1;
430
430
  }), []);
431
- let F = X.useMemo(() => ({
431
+ let _e = X.useMemo(() => ({
432
432
  allColorSchemes: A,
433
- colorScheme: N,
433
+ colorScheme: M,
434
434
  darkColorScheme: de,
435
435
  lightColorScheme: ue,
436
- mode: M,
436
+ mode: me,
437
437
  setColorScheme: pe,
438
438
  setMode: ce,
439
439
  systemMode: le
440
440
  }), [
441
441
  A,
442
- N,
442
+ M,
443
443
  de,
444
444
  ue,
445
- M,
445
+ me,
446
446
  pe,
447
447
  ce,
448
448
  le,
449
- P.colorSchemeSelector
450
- ]), ge = !0;
451
- (x || !1 === O.cssVariables || ee && E?.cssVarPrefix === ae) && (ge = !1);
452
- let I = (0, Z.jsxs)(X.Fragment, { children: [(0, Z.jsx)(jn, {
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)(jn, {
453
453
  themeId: ne ? t : void 0,
454
- theme: P,
454
+ theme: ge,
455
455
  children: c
456
- }), ge && (0, Z.jsx)(Ge, { styles: P.generateStyleSheets?.() || [] })] });
457
- return ee ? I : (0, Z.jsx)(l.Provider, {
458
- value: F,
459
- children: I
456
+ }), P && (0, Z.jsx)(qe, { styles: ge.generateStyleSheets?.() || [] })] });
457
+ return D ? ve : (0, Z.jsx)(l.Provider, {
458
+ value: _e,
459
+ children: ve
460
460
  });
461
461
  },
462
462
  useColorScheme: () => X.useContext(l) || c,
@@ -486,7 +486,7 @@ var { CssVarsProvider: Zn, useColorScheme: Qn, getInitColorSchemeScript: $n } =
486
486
  };
487
487
  }({
488
488
  themeId: E,
489
- theme: () => N({ cssVariables: !0 }),
489
+ theme: () => he({ cssVariables: !0 }),
490
490
  colorSchemeStorageKey: "mui-color-scheme",
491
491
  modeStorageKey: "mui-mode",
492
492
  defaultColorScheme: {
@@ -496,10 +496,10 @@ var { CssVarsProvider: Zn, useColorScheme: Qn, getInitColorSchemeScript: $n } =
496
496
  resolveTheme: (e) => {
497
497
  let t = {
498
498
  ...e,
499
- typography: ve(e.palette, e.typography)
499
+ typography: be(e.palette, e.typography)
500
500
  };
501
501
  return t.unstable_sx = function(e) {
502
- return we({
502
+ return Ee({
503
503
  sx: e,
504
504
  theme: this
505
505
  });
@@ -525,9 +525,9 @@ function tr({ theme: e, ...t }) {
525
525
  }
526
526
  var nr = X.createContext({});
527
527
  function rr(e) {
528
- return P("MuiAccordion", e);
528
+ return N("MuiAccordion", e);
529
529
  }
530
- var ir = I("MuiAccordion", [
530
+ var ir = F("MuiAccordion", [
531
531
  "root",
532
532
  "heading",
533
533
  "rounded",
@@ -535,7 +535,7 @@ var ir = I("MuiAccordion", [
535
535
  "disabled",
536
536
  "gutters",
537
537
  "region"
538
- ]), ar = G(Ie, {
538
+ ]), ar = W(Re, {
539
539
  name: "MuiAccordion",
540
540
  slot: "Root",
541
541
  overridesResolver: (e, t) => {
@@ -547,11 +547,11 @@ var ir = I("MuiAccordion", [
547
547
  !n.disableGutters && t.gutters
548
548
  ];
549
549
  }
550
- })(H(({ theme: e }) => {
550
+ })(V(({ theme: e }) => {
551
551
  let t = { duration: e.transitions.duration.shortest };
552
552
  return {
553
553
  position: "relative",
554
- ...U(e, ["margin"], t),
554
+ ...H(e, ["margin"], t),
555
555
  overflowAnchor: "none",
556
556
  "&::before": {
557
557
  position: "absolute",
@@ -562,7 +562,7 @@ var ir = I("MuiAccordion", [
562
562
  content: "\"\"",
563
563
  opacity: 1,
564
564
  backgroundColor: (e.vars || e).palette.divider,
565
- ...U(e, ["opacity", "background-color"], t)
565
+ ...H(e, ["opacity", "background-color"], t)
566
566
  },
567
567
  "&:first-of-type": { "&::before": { display: "none" } },
568
568
  [`&.${ir.expanded}`]: {
@@ -573,7 +573,7 @@ var ir = I("MuiAccordion", [
573
573
  },
574
574
  [`&.${ir.disabled}`]: { backgroundColor: (e.vars || e).palette.action.disabledBackground }
575
575
  };
576
- }), H(({ 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 ir = I("MuiAccordion", [
593
593
  }, {
594
594
  props: (e) => !e.disableGutters,
595
595
  style: { [`&.${ir.expanded}`]: { margin: "16px 0" } }
596
- }] }))), or = G("h3", {
596
+ }] }))), or = W("h3", {
597
597
  name: "MuiAccordion",
598
598
  slot: "Heading"
599
- })({ all: "unset" }), sr = G("div", {
599
+ })({ all: "unset" }), sr = W("div", {
600
600
  name: "MuiAccordion",
601
601
  slot: "Region"
602
602
  })({}), cr = X.forwardRef(function(e, t) {
603
- let n = V({
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] = Me({
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 ir = I("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 Le({
634
+ return ze({
635
635
  root: [
636
636
  "root",
637
637
  !n && "rounded",
@@ -645,7 +645,7 @@ var ir = I("MuiAccordion", [
645
645
  })(y), x = {
646
646
  slots: u,
647
647
  slotProps: d
648
- }, [S, C] = z("root", {
648
+ }, [S, C] = R("root", {
649
649
  elementType: ar,
650
650
  externalForwardedProps: {
651
651
  ...x,
@@ -655,16 +655,16 @@ var ir = I("MuiAccordion", [
655
655
  shouldForwardComponentProp: !0,
656
656
  ownerState: y,
657
657
  ref: t
658
- }), [w, T] = z("heading", {
658
+ }), [w, ee] = R("heading", {
659
659
  elementType: or,
660
660
  externalForwardedProps: x,
661
661
  className: b.heading,
662
662
  ownerState: y
663
- }), [E, D] = z("transition", {
664
- elementType: kt,
663
+ }), [T, E] = R("transition", {
664
+ elementType: At,
665
665
  externalForwardedProps: x,
666
666
  ownerState: y
667
- }), [ee, te] = z("region", {
667
+ }), [D, te] = R("region", {
668
668
  elementType: sr,
669
669
  externalForwardedProps: x,
670
670
  ownerState: y,
@@ -678,16 +678,16 @@ var ir = I("MuiAccordion", [
678
678
  return (0, Z.jsxs)(S, {
679
679
  ...C,
680
680
  children: [(0, Z.jsx)(w, {
681
- ...T,
681
+ ...ee,
682
682
  children: (0, Z.jsx)(nr.Provider, {
683
683
  value: v,
684
684
  children: g
685
685
  })
686
- }), (0, Z.jsx)(E, {
686
+ }), (0, Z.jsx)(T, {
687
687
  in: p,
688
688
  timeout: "auto",
689
- ...D,
690
- children: (0, Z.jsx)(ee, {
689
+ ...E,
690
+ children: (0, Z.jsx)(D, {
691
691
  ...te,
692
692
  children: _
693
693
  })
@@ -695,19 +695,19 @@ var ir = I("MuiAccordion", [
695
695
  });
696
696
  });
697
697
  function lr(e) {
698
- return P("MuiAccordionDetails", e);
698
+ return N("MuiAccordionDetails", e);
699
699
  }
700
- I("MuiAccordionDetails", ["root"]);
701
- var ur = G("div", {
700
+ F("MuiAccordionDetails", ["root"]);
701
+ var ur = W("div", {
702
702
  name: "MuiAccordionDetails",
703
703
  slot: "Root"
704
- })(H(({ theme: e }) => ({ padding: e.spacing(1, 2, 2) }))), dr = X.forwardRef(function(e, t) {
705
- let n = V({
704
+ })(V(({ theme: e }) => ({ padding: e.spacing(1, 2, 2) }))), dr = 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 Le({ root: ["root"] }, lr, t);
710
+ return ze({ root: ["root"] }, lr, t);
711
711
  })(a);
712
712
  return (0, Z.jsx)(ur, {
713
713
  className: M(o.root, r),
@@ -715,15 +715,15 @@ var ur = G("div", {
715
715
  ownerState: a,
716
716
  ...i
717
717
  });
718
- }), fr = G(Ne, {
718
+ }), fr = W(Fe, {
719
719
  name: "MuiAccordionSummary",
720
720
  slot: "Root"
721
- })(H(({ 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
- ...U(e, ["min-height", "background-color"], { duration: e.transitions.duration.shortest }),
726
+ ...H(e, ["min-height", "background-color"], { duration: e.transitions.duration.shortest }),
727
727
  [`&.${qn.focusVisible}`]: { backgroundColor: (e.vars || e).palette.action.focus },
728
728
  [`&.${qn.disabled}`]: { opacity: (e.vars || e).palette.action.disabledOpacity },
729
729
  [`&:hover:not(.${qn.disabled})`]: { cursor: "pointer" },
@@ -731,10 +731,10 @@ var ur = G("div", {
731
731
  props: (e) => !e.disableGutters,
732
732
  style: { [`&.${qn.expanded}`]: { minHeight: 64 } }
733
733
  }]
734
- }))), pr = G("span", {
734
+ }))), pr = W("span", {
735
735
  name: "MuiAccordionSummary",
736
736
  slot: "Content"
737
- })(H(({ theme: e }) => ({
737
+ })(V(({ theme: e }) => ({
738
738
  display: "flex",
739
739
  textAlign: "start",
740
740
  flexGrow: 1,
@@ -742,21 +742,21 @@ var ur = G("div", {
742
742
  variants: [{
743
743
  props: (e) => !e.disableGutters,
744
744
  style: {
745
- ...U(e, ["margin"], { duration: e.transitions.duration.shortest }),
745
+ ...H(e, ["margin"], { duration: e.transitions.duration.shortest }),
746
746
  [`&.${qn.expanded}`]: { margin: "20px 0" }
747
747
  }
748
748
  }]
749
- }))), mr = G("span", {
749
+ }))), mr = W("span", {
750
750
  name: "MuiAccordionSummary",
751
751
  slot: "ExpandIconWrapper"
752
- })(H(({ 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
- ...U(e, "transform", { duration: e.transitions.duration.shortest }),
756
+ ...H(e, "transform", { duration: e.transitions.duration.shortest }),
757
757
  [`&.${qn.expanded}`]: { transform: "rotate(180deg)" }
758
758
  }))), hr = X.forwardRef(function(e, t) {
759
- let n = V({
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(nr), h = {
@@ -766,7 +766,7 @@ var ur = G("div", {
766
766
  disableGutters: f
767
767
  }, g = ((e) => {
768
768
  let { classes: t, expanded: n, disabled: r, disableGutters: i } = e;
769
- return Le({
769
+ return ze({
770
770
  root: [
771
771
  "root",
772
772
  n && "expanded",
@@ -780,7 +780,7 @@ var ur = G("div", {
780
780
  })(h), _ = {
781
781
  slots: c,
782
782
  slotProps: l
783
- }, [v, y] = z("root", {
783
+ }, [v, y] = R("root", {
784
784
  ref: t,
785
785
  shouldForwardComponentProp: !0,
786
786
  className: M(g.root, i),
@@ -806,12 +806,12 @@ var ur = G("div", {
806
806
  })(t);
807
807
  }
808
808
  })
809
- }), [b, x] = z("content", {
809
+ }), [b, x] = R("content", {
810
810
  className: g.content,
811
811
  elementType: pr,
812
812
  externalForwardedProps: _,
813
813
  ownerState: h
814
- }), [S, C] = z("expandIconWrapper", {
814
+ }), [S, C] = R("expandIconWrapper", {
815
815
  className: g.expandIconWrapper,
816
816
  elementType: mr,
817
817
  externalForwardedProps: _,
@@ -829,9 +829,9 @@ var ur = G("div", {
829
829
  });
830
830
  });
831
831
  function gr(e) {
832
- return P("MuiListSubheader", e);
832
+ return N("MuiListSubheader", e);
833
833
  }
834
- I("MuiListSubheader", [
834
+ F("MuiListSubheader", [
835
835
  "root",
836
836
  "colorPrimary",
837
837
  "colorInherit",
@@ -839,20 +839,20 @@ I("MuiListSubheader", [
839
839
  "inset",
840
840
  "sticky"
841
841
  ]);
842
- var _r = G("li", {
842
+ var _r = 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${Ve(n.color)}`],
849
+ n.color !== "default" && t[`color${Ue(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
- })(H(({ theme: e }) => ({
855
+ })(V(({ theme: e }) => ({
856
856
  boxSizing: "border-box",
857
857
  lineHeight: "48px",
858
858
  listStyle: "none",
@@ -891,7 +891,7 @@ var _r = G("li", {
891
891
  }
892
892
  ]
893
893
  }))), vr = X.forwardRef(function(e, t) {
894
- let n = V({
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 _r = 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 Le({ root: [
906
+ return ze({ root: [
907
907
  "root",
908
- n !== "default" && `color${Ve(n)}`,
908
+ n !== "default" && `color${Ue(n)}`,
909
909
  !r && "gutters",
910
910
  i && "inset",
911
911
  !a && "sticky"
@@ -920,14 +920,14 @@ var _r = G("li", {
920
920
  });
921
921
  });
922
922
  function yr(e) {
923
- return P("MuiCard", e);
923
+ return N("MuiCard", e);
924
924
  }
925
- I("MuiCard", ["root"]);
926
- var br = G(Ie, {
925
+ F("MuiCard", ["root"]);
926
+ var br = W(Re, {
927
927
  name: "MuiCard",
928
928
  slot: "Root"
929
929
  })({ overflow: "hidden" }), xr = X.forwardRef(function(e, t) {
930
- let n = V({
930
+ let n = B({
931
931
  props: e,
932
932
  name: "MuiCard"
933
933
  }), { className: r, raised: i = !1, ...a } = n, o = {
@@ -935,7 +935,7 @@ var br = G(Ie, {
935
935
  raised: i
936
936
  }, s = ((e) => {
937
937
  let { classes: t } = e;
938
- return Le({ root: ["root"] }, yr, t);
938
+ return ze({ root: ["root"] }, yr, t);
939
939
  })(o);
940
940
  return (0, Z.jsx)(br, {
941
941
  className: M(s.root, r),
@@ -946,10 +946,10 @@ var br = G(Ie, {
946
946
  });
947
947
  });
948
948
  function Sr(e) {
949
- return P("MuiCardActions", e);
949
+ return N("MuiCardActions", e);
950
950
  }
951
- I("MuiCardActions", ["root", "spacing"]);
952
- var Cr = G("div", {
951
+ F("MuiCardActions", ["root", "spacing"]);
952
+ var Cr = W("div", {
953
953
  name: "MuiCardActions",
954
954
  slot: "Root",
955
955
  overridesResolver: (e, t) => {
@@ -965,7 +965,7 @@ var Cr = G("div", {
965
965
  style: { "& > :not(style) ~ :not(style)": { marginLeft: 8 } }
966
966
  }]
967
967
  }), wr = X.forwardRef(function(e, t) {
968
- let n = V({
968
+ let n = B({
969
969
  props: e,
970
970
  name: "MuiCardActions"
971
971
  }), { disableSpacing: r = !1, className: i, ...a } = n, o = {
@@ -973,7 +973,7 @@ var Cr = G("div", {
973
973
  disableSpacing: r
974
974
  }, s = ((e) => {
975
975
  let { classes: t, disableSpacing: n } = e;
976
- return Le({ root: ["root", !n && "spacing"] }, Sr, t);
976
+ return ze({ root: ["root", !n && "spacing"] }, Sr, t);
977
977
  })(o);
978
978
  return (0, Z.jsx)(Cr, {
979
979
  className: M(s.root, i),
@@ -981,7 +981,7 @@ var Cr = G("div", {
981
981
  ref: t,
982
982
  ...a
983
983
  });
984
- }), Tr = typeof qe({}) == "function", Er = (e, t) => ({
984
+ }), Tr = typeof Ye({}) == "function", Er = (e, t) => ({
985
985
  WebkitFontSmoothing: "antialiased",
986
986
  MozOsxFontSmoothing: "grayscale",
987
987
  boxSizing: "border-box",
@@ -1010,7 +1010,7 @@ var Cr = G("div", {
1010
1010
  ...n
1011
1011
  }, i = e.components?.MuiCssBaseline?.styleOverrides;
1012
1012
  return i && (r = [r, i]), r;
1013
- }, kr = "mui-ecs", Ar = qe(Tr ? ({ theme: e, enableColorScheme: t }) => Or(e, t) : ({ theme: e }) => ((e) => {
1013
+ }, kr = "mui-ecs", Ar = Ye(Tr ? ({ theme: e, enableColorScheme: t }) => Or(e, t) : ({ theme: e }) => ((e) => {
1014
1014
  let t = Or(e, !1), n = Array.isArray(t) ? t[0] : t;
1015
1015
  return !e.vars && n && (n.html[`:root:has(${kr})`] = { 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 Cr = G("div", {
1018
1018
  }), t;
1019
1019
  })(e));
1020
1020
  function jr(e) {
1021
- let { children: t, enableColorScheme: n = !1 } = V({
1021
+ let { children: t, enableColorScheme: n = !1 } = B({
1022
1022
  props: e,
1023
1023
  name: "MuiCssBaseline"
1024
1024
  });
@@ -1038,7 +1038,7 @@ var Mr = function(e = {}) {
1038
1038
  direction: o,
1039
1039
  spacing: s,
1040
1040
  useFlexGap: d
1041
- }, m = Le({ root: ["root"] }, (e) => P(r, e), {});
1041
+ }, m = ze({ root: ["root"] }, (e) => N(r, e), {});
1042
1042
  return (0, Z.jsx)(i, {
1043
1043
  as: a,
1044
1044
  ownerState: p,
@@ -1049,11 +1049,11 @@ var Mr = function(e = {}) {
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) => V({
1056
+ useThemeProps: (e) => B({
1057
1057
  props: e,
1058
1058
  name: "MuiStack"
1059
1059
  })
@@ -1061,14 +1061,14 @@ var Mr = function(e = {}) {
1061
1061
  function Fr(e, t) {
1062
1062
  return t !== void 0 && e !== void 0 && (Array.isArray(t) ? t.includes(e) : e === t);
1063
1063
  }
1064
- var Ir = G(Ne, {
1064
+ var Ir = 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${Ve(n.size)}`]];
1069
+ return [t.root, t[`size${Ue(n.size)}`]];
1070
1070
  }
1071
- })(H(({ 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 Ir = G(Ne, {
1095
1095
  }
1096
1096
  } }
1097
1097
  },
1098
- ...Object.entries(e.palette).filter(je()).map(([t]) => ({
1098
+ ...Object.entries(e.palette).filter(Ne()).map(([t]) => ({
1099
1099
  props: { color: t },
1100
1100
  style: { [`&.${Yn.selected}`]: {
1101
1101
  color: (e.vars || e).palette[t].main,
@@ -1126,8 +1126,8 @@ var Ir = G(Ne, {
1126
1126
  }
1127
1127
  ]
1128
1128
  }))), Lr = X.forwardRef(function(e, t) {
1129
- let { value: n, ...r } = X.useContext(Nr), i = X.useContext(Pr), a = V({
1130
- props: Fe({
1129
+ let { value: n, ...r } = X.useContext(Nr), i = X.useContext(Pr), a = B({
1130
+ props: Le({
1131
1131
  ...r,
1132
1132
  selected: Fr(e.value, n)
1133
1133
  }, e),
@@ -1141,12 +1141,12 @@ var Ir = G(Ne, {
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 Le({ root: [
1144
+ return ze({ root: [
1145
1145
  "root",
1146
1146
  r && "selected",
1147
1147
  i && "disabled",
1148
1148
  n && "fullWidth",
1149
- `size${Ve(a)}`,
1149
+ `size${Ue(a)}`,
1150
1150
  o
1151
1151
  ] }, Jn, t);
1152
1152
  })(v), b = i || "";
@@ -1168,9 +1168,9 @@ var Ir = G(Ne, {
1168
1168
  });
1169
1169
  });
1170
1170
  function Rr(e) {
1171
- return P("MuiToggleButtonGroup", e);
1171
+ return N("MuiToggleButtonGroup", e);
1172
1172
  }
1173
- var Q = I("MuiToggleButtonGroup", [
1173
+ var Q = F("MuiToggleButtonGroup", [
1174
1174
  "root",
1175
1175
  "selected",
1176
1176
  "horizontal",
@@ -1181,7 +1181,7 @@ var Q = I("MuiToggleButtonGroup", [
1181
1181
  "firstButton",
1182
1182
  "lastButton",
1183
1183
  "middleButton"
1184
- ]), zr = G("div", {
1184
+ ]), zr = W("div", {
1185
1185
  name: "MuiToggleButtonGroup",
1186
1186
  slot: "Root",
1187
1187
  overridesResolver: (e, t) => {
@@ -1196,7 +1196,7 @@ var Q = I("MuiToggleButtonGroup", [
1196
1196
  n.fullWidth && t.fullWidth
1197
1197
  ];
1198
1198
  }
1199
- })(H(({ 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 = I("MuiToggleButtonGroup", [
1247
1247
  }
1248
1248
  ]
1249
1249
  }))), Br = X.forwardRef(function(e, t) {
1250
- let n = V({
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 = I("MuiToggleButtonGroup", [
1258
1258
  size: d
1259
1259
  }, h = ((e) => {
1260
1260
  let { classes: t, orientation: n, fullWidth: r, disabled: i } = e;
1261
- return Le({
1261
+ return ze({
1262
1262
  root: [
1263
1263
  "root",
1264
1264
  n,
@@ -1315,7 +1315,7 @@ var Q = I("MuiToggleButtonGroup", [
1315
1315
  });
1316
1316
  }), Vr = e(n(), 1), Hr = (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)(lt, {
1318
+ return (0, Z.jsx)(ut, {
1319
1319
  ref: t,
1320
1320
  workbook: n,
1321
1321
  descriptor: (0, X.useMemo)(() => ((e) => {
@@ -1453,7 +1453,7 @@ var qr = (0, X.memo)((e) => {
1453
1453
  items: r
1454
1454
  }), o("");
1455
1455
  };
1456
- return (0, Z.jsxs)(L, {
1456
+ return (0, Z.jsxs)(I, {
1457
1457
  ...r,
1458
1458
  style: {
1459
1459
  display: "flex",
@@ -1463,17 +1463,17 @@ var qr = (0, X.memo)((e) => {
1463
1463
  ...r?.style
1464
1464
  },
1465
1465
  children: [
1466
- (0, Z.jsxs)(L, {
1466
+ (0, Z.jsxs)(I, {
1467
1467
  sx: {
1468
1468
  display: "flex",
1469
1469
  alignItems: "center",
1470
1470
  gap: 1
1471
1471
  },
1472
- children: [(0, Z.jsx)(B, {
1472
+ children: [(0, Z.jsx)(z, {
1473
1473
  variant: "body2",
1474
1474
  sx: { flexGrow: 1 },
1475
1475
  children: i(s ? "condition.formulaMode" : "condition.listMode")
1476
- }), (0, Z.jsx)(ke, {
1476
+ }), (0, Z.jsx)(je, {
1477
1477
  size: "small",
1478
1478
  variant: "outlined",
1479
1479
  onClick: () => {
@@ -1505,7 +1505,7 @@ var qr = (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)(L, {
1508
+ (0, Z.jsxs)(I, {
1509
1509
  sx: {
1510
1510
  display: "flex",
1511
1511
  gap: 1
@@ -1520,15 +1520,15 @@ var qr = (0, X.memo)((e) => {
1520
1520
  e.key === "Enter" && l();
1521
1521
  },
1522
1522
  slotProps: { input: { sx: { backgroundColor: "background.paper" } } }
1523
- }), (0, Z.jsx)(R, {
1523
+ }), (0, Z.jsx)(L, {
1524
1524
  color: "primary",
1525
1525
  onClick: l,
1526
1526
  disabled: !a.trim(),
1527
1527
  sx: { backgroundColor: "background.paper" },
1528
- children: (0, Z.jsx)(C, { iconKey: "Add" })
1528
+ children: (0, Z.jsx)(w, { iconKey: "Add" })
1529
1529
  })]
1530
1530
  }),
1531
- c.length > 0 && (0, Z.jsxs)(L, {
1531
+ c.length > 0 && (0, Z.jsxs)(I, {
1532
1532
  sx: {
1533
1533
  p: 2,
1534
1534
  backgroundColor: "background.paper",
@@ -1536,7 +1536,7 @@ var qr = (0, X.memo)((e) => {
1536
1536
  borderColor: "divider",
1537
1537
  borderRadius: 1
1538
1538
  },
1539
- children: [(0, Z.jsx)(B, {
1539
+ children: [(0, Z.jsx)(z, {
1540
1540
  variant: "caption",
1541
1541
  sx: {
1542
1542
  mb: 1,
@@ -1549,7 +1549,7 @@ var qr = (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)(Be, {
1552
+ children: c.map((e, r) => (0, Z.jsx)(He, {
1553
1553
  label: String(e),
1554
1554
  onDelete: () => ((e) => {
1555
1555
  let r = c.filter((t, n) => n !== e);
@@ -1563,7 +1563,7 @@ var qr = (0, X.memo)((e) => {
1563
1563
  }, r))
1564
1564
  })]
1565
1565
  }),
1566
- c.length === 0 && (0, Z.jsx)(L, {
1566
+ c.length === 0 && (0, Z.jsx)(I, {
1567
1567
  sx: {
1568
1568
  p: 3,
1569
1569
  textAlign: "center",
@@ -1573,7 +1573,7 @@ var qr = (0, X.memo)((e) => {
1573
1573
  borderColor: "divider",
1574
1574
  borderStyle: "dashed"
1575
1575
  },
1576
- children: (0, Z.jsx)(B, {
1576
+ children: (0, Z.jsx)(z, {
1577
1577
  variant: "body2",
1578
1578
  sx: { color: "text.secondary" },
1579
1579
  children: i("condition.noValues")
@@ -1585,13 +1585,13 @@ var qr = (0, X.memo)((e) => {
1585
1585
  });
1586
1586
  qr.displayName = "InSetOption";
1587
1587
  var Jr = {}, Yr = (0, X.memo)((e) => {
1588
- let { option: t, onOptionChange: n, className: r, readOnly: i, ...a } = e, o = j(), s = t?.type ?? g.AverageType.Above, c = t?.stdDevs ?? "", l = { backgroundColor: "background.paper" };
1588
+ let { option: t, onOptionChange: n, className: r, readOnly: i, ...a } = e, o = j(), 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)(L, {
1594
- className: xn(r, Jr.option),
1593
+ }), (0, Z.jsxs)(I, {
1594
+ className: C(r, Jr.option),
1595
1595
  ...a,
1596
1596
  sx: {
1597
1597
  display: "flex",
@@ -1599,13 +1599,13 @@ var Jr = {}, Yr = (0, X.memo)((e) => {
1599
1599
  gap: .25,
1600
1600
  ...a?.sx
1601
1601
  },
1602
- children: [(0, Z.jsx)(Je, {
1602
+ children: [(0, Z.jsx)(G, {
1603
1603
  sx: { flex: .5 },
1604
1604
  size: "small",
1605
1605
  children: (0, Z.jsxs)(q, {
1606
1606
  value: s,
1607
1607
  sx: l,
1608
- IconComponent: (e) => (0, Z.jsx)(C, {
1608
+ IconComponent: (e) => (0, Z.jsx)(w, {
1609
1609
  iconKey: "ExpandMore",
1610
1610
  ...e
1611
1611
  }),
@@ -1615,10 +1615,10 @@ var Jr = {}, Yr = (0, X.memo)((e) => {
1615
1615
  type: e.target.value
1616
1616
  }),
1617
1617
  children: [(0, Z.jsx)(Y, {
1618
- value: g.AverageType.Above,
1618
+ value: h.AverageType.Above,
1619
1619
  children: o("condition.above")
1620
1620
  }), (0, Z.jsx)(Y, {
1621
- value: g.AverageType.Below,
1621
+ value: h.AverageType.Below,
1622
1622
  children: o("condition.below")
1623
1623
  })]
1624
1624
  })
@@ -1638,8 +1638,8 @@ var Jr = {}, Yr = (0, X.memo)((e) => {
1638
1638
  });
1639
1639
  });
1640
1640
  Yr.displayName = "AverageOption";
1641
- var Xr = 0, Zr = /* @__PURE__ */ new WeakMap(), Qr = Object.freeze([g.BuiltInOperatorNames.Icon, g.BuiltInOperatorNames.Color]), $r = (e, t, n, r = Qr) => {
1642
- let i = t ?? Object.values(x.BuiltInOperators), a = e?.getSelectType() ?? null, o = e?.isList;
1641
+ var Xr = 0, Zr = /* @__PURE__ */ new WeakMap(), Qr = Object.freeze([h.BuiltInOperatorNames.Icon, h.BuiltInOperatorNames.Color]), $r = (e, t, n, r = Qr) => {
1642
+ let i = t ?? Object.values(y.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 Xr = 0, Zr = /* @__PURE__ */ new WeakMap(), Qr = Object.freeze([g.BuiltInOpe
1654
1654
  disableSticky: !0,
1655
1655
  sx: ni,
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)(Jt, {}, "__divider")), o.length > 0 && (s.push((0, Z.jsx)(vr, {
1657
+ }, "__header:leaf")), a.forEach((e) => s.push(t(e)))), a.length > 0 && o.length > 0 && s.push((0, Z.jsx)(Gt, {}, "__divider")), o.length > 0 && (s.push((0, Z.jsx)(vr, {
1658
1658
  disableSticky: !0,
1659
1659
  sx: ni,
1660
1660
  children: n("condition.groupCombine")
@@ -1682,15 +1682,15 @@ var Xr = 0, Zr = /* @__PURE__ */ new WeakMap(), Qr = Object.freeze([g.BuiltInOpe
1682
1682
  header: e("condition.period.day"),
1683
1683
  options: [
1684
1684
  {
1685
- value: g.TimePeriodType.Today,
1685
+ value: h.TimePeriodType.Today,
1686
1686
  label: e("condition.period.today")
1687
1687
  },
1688
1688
  {
1689
- value: g.TimePeriodType.Yesterday,
1689
+ value: h.TimePeriodType.Yesterday,
1690
1690
  label: e("condition.period.yesterday")
1691
1691
  },
1692
1692
  {
1693
- value: g.TimePeriodType.Tomorrow,
1693
+ value: h.TimePeriodType.Tomorrow,
1694
1694
  label: e("condition.period.tomorrow")
1695
1695
  }
1696
1696
  ]
@@ -1699,15 +1699,15 @@ var Xr = 0, Zr = /* @__PURE__ */ new WeakMap(), Qr = Object.freeze([g.BuiltInOpe
1699
1699
  header: e("condition.period.week"),
1700
1700
  options: [
1701
1701
  {
1702
- value: g.TimePeriodType.ThisWeek,
1702
+ value: h.TimePeriodType.ThisWeek,
1703
1703
  label: e("condition.period.thisWeek")
1704
1704
  },
1705
1705
  {
1706
- value: g.TimePeriodType.LastWeek,
1706
+ value: h.TimePeriodType.LastWeek,
1707
1707
  label: e("condition.period.lastWeek")
1708
1708
  },
1709
1709
  {
1710
- value: g.TimePeriodType.NextWeek,
1710
+ value: h.TimePeriodType.NextWeek,
1711
1711
  label: e("condition.period.nextWeek")
1712
1712
  }
1713
1713
  ]
@@ -1716,15 +1716,15 @@ var Xr = 0, Zr = /* @__PURE__ */ new WeakMap(), Qr = Object.freeze([g.BuiltInOpe
1716
1716
  header: e("condition.period.month"),
1717
1717
  options: [
1718
1718
  {
1719
- value: g.TimePeriodType.ThisMonth,
1719
+ value: h.TimePeriodType.ThisMonth,
1720
1720
  label: e("condition.period.thisMonth")
1721
1721
  },
1722
1722
  {
1723
- value: g.TimePeriodType.LastMonth,
1723
+ value: h.TimePeriodType.LastMonth,
1724
1724
  label: e("condition.period.lastMonth")
1725
1725
  },
1726
1726
  {
1727
- value: g.TimePeriodType.NextMonth,
1727
+ value: h.TimePeriodType.NextMonth,
1728
1728
  label: e("condition.period.nextMonth")
1729
1729
  }
1730
1730
  ]
@@ -1732,10 +1732,10 @@ var Xr = 0, Zr = /* @__PURE__ */ new WeakMap(), Qr = Object.freeze([g.BuiltInOpe
1732
1732
  {
1733
1733
  header: e("condition.period.year"),
1734
1734
  options: [{
1735
- value: g.TimePeriodType.YearToDate,
1735
+ value: h.TimePeriodType.YearToDate,
1736
1736
  label: e("condition.period.yearToDate")
1737
1737
  }, {
1738
- value: g.TimePeriodType.LastYear,
1738
+ value: h.TimePeriodType.LastYear,
1739
1739
  label: e("condition.period.lastYear")
1740
1740
  }]
1741
1741
  },
@@ -1743,51 +1743,51 @@ var Xr = 0, Zr = /* @__PURE__ */ new WeakMap(), Qr = Object.freeze([g.BuiltInOpe
1743
1743
  header: e("condition.period.byMonth"),
1744
1744
  options: [
1745
1745
  {
1746
- value: g.TimePeriodType.M1,
1746
+ value: h.TimePeriodType.M1,
1747
1747
  label: n(0)
1748
1748
  },
1749
1749
  {
1750
- value: g.TimePeriodType.M2,
1750
+ value: h.TimePeriodType.M2,
1751
1751
  label: n(1)
1752
1752
  },
1753
1753
  {
1754
- value: g.TimePeriodType.M3,
1754
+ value: h.TimePeriodType.M3,
1755
1755
  label: n(2)
1756
1756
  },
1757
1757
  {
1758
- value: g.TimePeriodType.M4,
1758
+ value: h.TimePeriodType.M4,
1759
1759
  label: n(3)
1760
1760
  },
1761
1761
  {
1762
- value: g.TimePeriodType.M5,
1762
+ value: h.TimePeriodType.M5,
1763
1763
  label: n(4)
1764
1764
  },
1765
1765
  {
1766
- value: g.TimePeriodType.M6,
1766
+ value: h.TimePeriodType.M6,
1767
1767
  label: n(5)
1768
1768
  },
1769
1769
  {
1770
- value: g.TimePeriodType.M7,
1770
+ value: h.TimePeriodType.M7,
1771
1771
  label: n(6)
1772
1772
  },
1773
1773
  {
1774
- value: g.TimePeriodType.M8,
1774
+ value: h.TimePeriodType.M8,
1775
1775
  label: n(7)
1776
1776
  },
1777
1777
  {
1778
- value: g.TimePeriodType.M9,
1778
+ value: h.TimePeriodType.M9,
1779
1779
  label: n(8)
1780
1780
  },
1781
1781
  {
1782
- value: g.TimePeriodType.M10,
1782
+ value: h.TimePeriodType.M10,
1783
1783
  label: n(9)
1784
1784
  },
1785
1785
  {
1786
- value: g.TimePeriodType.M11,
1786
+ value: h.TimePeriodType.M11,
1787
1787
  label: n(10)
1788
1788
  },
1789
1789
  {
1790
- value: g.TimePeriodType.M12,
1790
+ value: h.TimePeriodType.M12,
1791
1791
  label: n(11)
1792
1792
  }
1793
1793
  ]
@@ -1796,38 +1796,38 @@ var Xr = 0, Zr = /* @__PURE__ */ new WeakMap(), Qr = Object.freeze([g.BuiltInOpe
1796
1796
  header: e("condition.period.byQuarter"),
1797
1797
  options: [
1798
1798
  {
1799
- value: g.TimePeriodType.ThisQuarter,
1799
+ value: h.TimePeriodType.ThisQuarter,
1800
1800
  label: e("condition.period.thisQuarter")
1801
1801
  },
1802
1802
  {
1803
- value: g.TimePeriodType.LastQuarter,
1803
+ value: h.TimePeriodType.LastQuarter,
1804
1804
  label: e("condition.period.lastQuarter")
1805
1805
  },
1806
1806
  {
1807
- value: g.TimePeriodType.NextQuarter,
1807
+ value: h.TimePeriodType.NextQuarter,
1808
1808
  label: e("condition.period.nextQuarter")
1809
1809
  },
1810
1810
  {
1811
- value: g.TimePeriodType.Q1,
1811
+ value: h.TimePeriodType.Q1,
1812
1812
  label: e("condition.period.q1")
1813
1813
  },
1814
1814
  {
1815
- value: g.TimePeriodType.Q2,
1815
+ value: h.TimePeriodType.Q2,
1816
1816
  label: e("condition.period.q2")
1817
1817
  },
1818
1818
  {
1819
- value: g.TimePeriodType.Q3,
1819
+ value: h.TimePeriodType.Q3,
1820
1820
  label: e("condition.period.q3")
1821
1821
  },
1822
1822
  {
1823
- value: g.TimePeriodType.Q4,
1823
+ value: h.TimePeriodType.Q4,
1824
1824
  label: e("condition.period.q4")
1825
1825
  }
1826
1826
  ]
1827
1827
  }
1828
1828
  ];
1829
- }(j(), k()), o = t?.type ?? g.TimePeriodType.Today;
1830
- return (0, Z.jsx)(L, {
1829
+ }(j(), A()), o = t?.type ?? h.TimePeriodType.Today;
1830
+ return (0, Z.jsx)(I, {
1831
1831
  ...i,
1832
1832
  sx: {
1833
1833
  display: "flex",
@@ -1835,12 +1835,12 @@ var Xr = 0, Zr = /* @__PURE__ */ new WeakMap(), Qr = Object.freeze([g.BuiltInOpe
1835
1835
  gap: 2,
1836
1836
  ...i?.sx
1837
1837
  },
1838
- children: (0, Z.jsx)(Je, {
1838
+ children: (0, Z.jsx)(G, {
1839
1839
  size: "small",
1840
1840
  children: (0, Z.jsx)(q, {
1841
1841
  value: o,
1842
1842
  sx: { backgroundColor: "background.paper" },
1843
- IconComponent: (e) => (0, Z.jsx)(C, {
1843
+ IconComponent: (e) => (0, Z.jsx)(w, {
1844
1844
  iconKey: "ExpandMore",
1845
1845
  ...e
1846
1846
  }),
@@ -1851,7 +1851,7 @@ var Xr = 0, Zr = /* @__PURE__ */ new WeakMap(), Qr = Object.freeze([g.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)(Jt, {}, `divider-${t}`)), n.push((0, Z.jsx)(vr, {
1854
+ return t > 0 && n.push((0, Z.jsx)(Gt, {}, `divider-${t}`)), n.push((0, Z.jsx)(vr, {
1855
1855
  sx: ni,
1856
1856
  children: e.header
1857
1857
  }, `header-${t}`)), e.options.map((e) => n.push((0, Z.jsx)(Y, {
@@ -1867,7 +1867,7 @@ var Xr = 0, Zr = /* @__PURE__ */ new WeakMap(), Qr = Object.freeze([g.BuiltInOpe
1867
1867
  ii.displayName = "TimePeriodOption";
1868
1868
  var ai = (0, X.memo)((e) => {
1869
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)(L, {
1870
+ return (0, Z.jsxs)(I, {
1871
1871
  ...i,
1872
1872
  sx: {
1873
1873
  display: "flex",
@@ -1876,13 +1876,13 @@ var ai = (0, X.memo)((e) => {
1876
1876
  ...i?.sx
1877
1877
  },
1878
1878
  children: [
1879
- (0, Z.jsx)(Je, {
1879
+ (0, Z.jsx)(G, {
1880
1880
  size: "small",
1881
1881
  sx: { flex: 1 },
1882
1882
  children: (0, Z.jsxs)(q, {
1883
1883
  value: o ? "top" : "bottom",
1884
1884
  sx: { backgroundColor: "background.paper" },
1885
- IconComponent: (e) => (0, Z.jsx)(C, {
1885
+ IconComponent: (e) => (0, Z.jsx)(w, {
1886
1886
  iconKey: "ExpandMore",
1887
1887
  ...e
1888
1888
  }),
@@ -1916,13 +1916,13 @@ var ai = (0, X.memo)((e) => {
1916
1916
  slotProps: { input: { sx: { backgroundColor: "background.paper" } } },
1917
1917
  sx: { flex: .6 }
1918
1918
  }),
1919
- (0, Z.jsx)(Je, {
1919
+ (0, Z.jsx)(G, {
1920
1920
  size: "small",
1921
1921
  sx: { flex: 1 },
1922
1922
  children: (0, Z.jsxs)(q, {
1923
1923
  value: c ? "percent" : "items",
1924
1924
  sx: { backgroundColor: "background.paper" },
1925
- IconComponent: (e) => (0, Z.jsx)(C, {
1925
+ IconComponent: (e) => (0, Z.jsx)(w, {
1926
1926
  iconKey: "ExpandMore",
1927
1927
  ...e
1928
1928
  }),
@@ -1946,7 +1946,7 @@ var ai = (0, X.memo)((e) => {
1946
1946
  ai.displayName = "TopNOption";
1947
1947
  var oi = (0, X.memo)((e) => {
1948
1948
  let { option: t, onOptionChange: n, readOnly: r, ...i } = e, a = j();
1949
- return (0, Z.jsxs)(L, {
1949
+ return (0, Z.jsxs)(I, {
1950
1950
  ...i,
1951
1951
  sx: {
1952
1952
  display: "flex",
@@ -2015,14 +2015,14 @@ var ci = (0, X.memo)((e) => {
2015
2015
  ...d,
2016
2016
  "& .MuiSelect-icon": { display: "none" },
2017
2017
  "& .MuiOutlinedInput-notchedOutline": { borderColor: "action.disabled" }
2018
- }), (0, Z.jsxs)(Je, {
2018
+ }), (0, Z.jsxs)(G, {
2019
2019
  size: "small",
2020
2020
  ...s,
2021
2021
  children: [(0, Z.jsx)(K, { children: l }), (0, Z.jsxs)(q, {
2022
2022
  value: t?.getName() ?? "null",
2023
2023
  label: l,
2024
2024
  readOnly: o,
2025
- IconComponent: (e) => (0, Z.jsx)(C, {
2025
+ IconComponent: (e) => (0, Z.jsx)(w, {
2026
2026
  iconKey: "ExpandMore",
2027
2027
  ...e
2028
2028
  }),
@@ -2040,7 +2040,7 @@ var ci = (0, X.memo)((e) => {
2040
2040
  });
2041
2041
  ci.displayName = "SelectorSelect";
2042
2042
  var li = (0, X.memo)((e) => {
2043
- let { value: t, operators: n, onChange: r, title: i, readOnly: a = !1, ...o } = e, s = j(), c = k(), 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 = j(), c = A(), 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 li = (0, X.memo)((e) => {
2049
2049
  sx: ri,
2050
2050
  children: e.getTitle?.()
2051
2051
  }, e.getName()), s, c);
2052
- return (0, Z.jsxs)(Je, {
2052
+ return (0, Z.jsxs)(G, {
2053
2053
  size: "small",
2054
2054
  ...o,
2055
2055
  children: [(0, Z.jsx)(K, { children: l }), (0, Z.jsx)(q, {
2056
2056
  value: t?.getName() ?? "null",
2057
2057
  label: l,
2058
2058
  readOnly: a,
2059
- IconComponent: (e) => (0, Z.jsx)(C, {
2059
+ IconComponent: (e) => (0, Z.jsx)(w, {
2060
2060
  iconKey: "ExpandMore",
2061
2061
  ...e
2062
2062
  }),
@@ -2074,9 +2074,9 @@ var li = (0, X.memo)((e) => {
2074
2074
  });
2075
2075
  li.displayName = "OperatorSelect";
2076
2076
  var ui = (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 = k();
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();
2078
2078
  u ?? p("condition.operatorTitle");
2079
- let h = n || (0, Z.jsx)(C, { iconKey: "Add" }), g = (0, X.useRef)(l);
2079
+ let h = n || (0, Z.jsx)(w, { iconKey: "Add" }), g = (0, X.useRef)(l);
2080
2080
  return g.current = l, (0, Z.jsx)(Ht, {
2081
2081
  ref: t,
2082
2082
  createPopupPanel: (0, X.useCallback)((e) => {
@@ -2097,9 +2097,9 @@ var ui = (0, X.memo)((0, X.forwardRef)((e, t) => {
2097
2097
  },
2098
2098
  ...o,
2099
2099
  onKeyDown: (e) => {
2100
- e.which === ne.Enter && t?.();
2100
+ e.which === O.Enter && t?.();
2101
2101
  },
2102
- children: (0, Z.jsx)(Ye, {
2102
+ children: (0, Z.jsx)(Xe, {
2103
2103
  disablePadding: !0,
2104
2104
  children: n
2105
2105
  })
@@ -2117,7 +2117,7 @@ var ui = (0, X.memo)((0, X.forwardRef)((e, t) => {
2117
2117
  });
2118
2118
  })), di = (0, X.memo)((e) => {
2119
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)(L, {
2120
+ return (0, Z.jsx)(I, {
2121
2121
  sx: {
2122
2122
  display: "flex",
2123
2123
  flexDirection: "column",
@@ -2189,7 +2189,7 @@ function mi(e) {
2189
2189
  }
2190
2190
  fi.displayName = "BooleanOption";
2191
2191
  var hi = (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 = Rt(), d = (0, X.useCallback)((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 = It(), d = (0, X.useCallback)((e) => {
2193
2193
  if (!u || e === null) return null;
2194
2194
  let t = u.createCell({ value: e }), n = t.getValue();
2195
2195
  return t.getType() === m.Number ? n : null;
@@ -2208,7 +2208,7 @@ var hi = (0, X.memo)((e) => {
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
2210
  }(p);
2211
- return (0, Z.jsxs)(L, {
2211
+ return (0, Z.jsxs)(I, {
2212
2212
  ...o,
2213
2213
  sx: {
2214
2214
  display: "flex",
@@ -2240,7 +2240,7 @@ var hi = (0, X.memo)((e) => {
2240
2240
  });
2241
2241
  });
2242
2242
  hi.displayName = "DateTimeOption";
2243
- var gi = g.BuiltInOperatorNames, _i = /* @__PURE__ */ new Set([
2243
+ var gi = h.BuiltInOperatorNames, _i = /* @__PURE__ */ new Set([
2244
2244
  gi.EqualTo,
2245
2245
  gi.GreaterThan,
2246
2246
  gi.GreaterThanEqualTo,
@@ -2251,17 +2251,17 @@ var gi = g.BuiltInOperatorNames, _i = /* @__PURE__ */ new Set([
2251
2251
  gi.Before,
2252
2252
  gi.BeforeEqualTo
2253
2253
  ]), vi = (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?.(), [_, { width: v }] = Cn(), y = (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 = j(), 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 }] = Cn(), y = (0, X.useMemo)(() => !p || g ? null : p.getParamType?.(a ?? void 0) ?? null, [
2255
2255
  p,
2256
- h,
2256
+ g,
2257
2257
  a
2258
- ]), b = !h && y !== "list" && v > 360, x = be((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 || !y) 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 gi = g.BuiltInOperatorNames, _i = /* @__PURE__ */ new Set([
2270
2270
  option: m,
2271
2271
  onOptionChange: x
2272
2272
  }, t = !!f && _i.has(f);
2273
- return y === g.BuiltInSelectorNames.Number || y === g.BuiltInSelectorNames.TextLength ? (0, Z.jsx)(t ? Kr : Wr, { ...e }) : y === g.BuiltInSelectorNames.Whole ? t ? (0, Z.jsx)(Kr, { ...e }) : (0, Z.jsx)(Wr, {
2273
+ return y === h.BuiltInSelectorNames.Number || y === h.BuiltInSelectorNames.TextLength ? (0, Z.jsx)(t ? Kr : Wr, { ...e }) : y === h.BuiltInSelectorNames.Whole ? t ? (0, Z.jsx)(Kr, { ...e }) : (0, Z.jsx)(Wr, {
2274
2274
  ...e,
2275
2275
  placeholder: u("condition.enterWholeNumber"),
2276
2276
  slotProps: { htmlInput: {
@@ -2287,28 +2287,28 @@ var gi = g.BuiltInOperatorNames, _i = /* @__PURE__ */ new Set([
2287
2287
  /^-?\d+$/.test(e.clipboardData.getData("text")) || e.preventDefault();
2288
2288
  }
2289
2289
  } }
2290
- }) : y === g.BuiltInSelectorNames.Text ? (0, Z.jsx)(t ? Kr : Ur, { ...e }) : y === g.BuiltInSelectorNames.DateTime ? (0, Z.jsx)(hi, {
2290
+ }) : y === h.BuiltInSelectorNames.Text ? (0, Z.jsx)(t ? Kr : Ur, { ...e }) : y === h.BuiltInSelectorNames.DateTime ? (0, Z.jsx)(hi, {
2291
2291
  ...e,
2292
2292
  allowFormula: t
2293
- }) : y === g.BuiltInSelectorNames.Date ? (0, Z.jsx)(hi, {
2293
+ }) : y === h.BuiltInSelectorNames.Date ? (0, Z.jsx)(hi, {
2294
2294
  ...e,
2295
2295
  type: "date",
2296
2296
  allowFormula: t
2297
- }) : y === g.BuiltInSelectorNames.Time ? (0, Z.jsx)(hi, {
2297
+ }) : y === h.BuiltInSelectorNames.Time ? (0, Z.jsx)(hi, {
2298
2298
  ...e,
2299
2299
  type: "time",
2300
2300
  allowFormula: t
2301
- }) : y === g.BuiltInSelectorNames.List ? (0, Z.jsx)(qr, { ...e }) : y === g.BuiltInSelectorNames.Logical ? (0, Z.jsx)(fi, { ...e }) : y === g.BuiltInOperatorNames.Average ? (0, Z.jsx)(Yr, { ...e }) : y === g.BuiltInOperatorNames.TimePeriod ? (0, Z.jsx)(ii, { ...e }) : y === g.BuiltInOperatorNames.TopN ? (0, Z.jsx)(ai, { ...e }) : y === g.BuiltInOperatorNames.Between ? (0, Z.jsx)(oi, { ...e }) : y === g.BuiltInOperatorNames.Expression ? (0, Z.jsx)(si, { ...e }) : null;
2301
+ }) : y === h.BuiltInSelectorNames.List ? (0, Z.jsx)(qr, { ...e }) : y === h.BuiltInSelectorNames.Logical ? (0, Z.jsx)(fi, { ...e }) : y === h.BuiltInOperatorNames.Average ? (0, Z.jsx)(Yr, { ...e }) : y === h.BuiltInOperatorNames.TimePeriod ? (0, Z.jsx)(ii, { ...e }) : y === h.BuiltInOperatorNames.TopN ? (0, Z.jsx)(ai, { ...e }) : y === h.BuiltInOperatorNames.Between ? (0, Z.jsx)(oi, { ...e }) : y === h.BuiltInOperatorNames.Expression ? (0, Z.jsx)(si, { ...e }) : null;
2302
2302
  }, [
2303
2303
  p,
2304
- h,
2304
+ g,
2305
2305
  y,
2306
2306
  m,
2307
2307
  u
2308
- ]), w = (0, X.useMemo)(() => h && m ? Array.isArray(m) ? m : [m] : [], [h, m]), T = h && p?.getName() === "not", E = (e) => {
2308
+ ]), C = (0, X.useMemo)(() => g && m ? Array.isArray(m) ? m : [m] : [], [g, m]), ee = g && p?.getName() === "not", T = (e) => {
2309
2309
  if (!e || e === p) return;
2310
2310
  let t, r = !!e.isCombinator?.();
2311
- if (r && h) t = e.getName() === "not" ? w[0] ?? ti(e, i, a) : w.length > 0 ? w : ti(e, i, a);
2311
+ if (r && g) t = e.getName() === "not" ? C[0] ?? ti(e, i, a) : C.length > 0 ? C : ti(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 : ti(e, i, a);
@@ -2318,7 +2318,7 @@ var gi = g.BuiltInOperatorNames, _i = /* @__PURE__ */ new Set([
2318
2318
  param: t
2319
2319
  });
2320
2320
  };
2321
- return (0, Z.jsx)(L, {
2321
+ return (0, Z.jsx)(I, {
2322
2322
  ref: _,
2323
2323
  sx: {
2324
2324
  display: "flex",
@@ -2331,7 +2331,7 @@ var gi = g.BuiltInOperatorNames, _i = /* @__PURE__ */ new Set([
2331
2331
  p: 1
2332
2332
  },
2333
2333
  ...l,
2334
- children: b ? (0, Z.jsxs)(L, {
2334
+ children: b ? (0, Z.jsxs)(I, {
2335
2335
  sx: {
2336
2336
  display: "flex",
2337
2337
  flexDirection: "row",
@@ -2344,16 +2344,16 @@ var gi = g.BuiltInOperatorNames, _i = /* @__PURE__ */ new Set([
2344
2344
  sx: { flex: .4 },
2345
2345
  value: p,
2346
2346
  operators: i,
2347
- onChange: E,
2347
+ onChange: T,
2348
2348
  readOnly: s
2349
2349
  }),
2350
2350
  S,
2351
- !s && !c && (0, Z.jsx)(Pt, {
2352
- icon: (0, Z.jsx)(C, { iconKey: "Close" }),
2351
+ !s && !c && (0, Z.jsx)(Ft, {
2352
+ icon: (0, Z.jsx)(w, { iconKey: "Close" }),
2353
2353
  onClick: r
2354
2354
  })
2355
2355
  ]
2356
- }) : (0, Z.jsxs)(Z.Fragment, { children: [(0, Z.jsxs)(L, {
2356
+ }) : (0, Z.jsxs)(Z.Fragment, { children: [(0, Z.jsxs)(I, {
2357
2357
  sx: {
2358
2358
  display: "flex",
2359
2359
  flexDirection: "row",
@@ -2366,17 +2366,17 @@ var gi = g.BuiltInOperatorNames, _i = /* @__PURE__ */ new Set([
2366
2366
  sx: { flex: 1 },
2367
2367
  value: p,
2368
2368
  operators: i,
2369
- onChange: E,
2369
+ onChange: T,
2370
2370
  readOnly: s
2371
2371
  }),
2372
- h && !T && !s && (0, Z.jsx)(ui, {
2372
+ g && !ee && !s && (0, Z.jsx)(ui, {
2373
2373
  label: p?.getTitle?.(),
2374
- icon: (0, Z.jsx)(C, { iconKey: "Add" }),
2374
+ icon: (0, Z.jsx)(w, { iconKey: "Add" }),
2375
2375
  operators: i,
2376
2376
  value: null,
2377
2377
  onChange: (e) => {
2378
2378
  if (!e) return;
2379
- let t = ti(e, i, a), r = [...w, {
2379
+ let t = ti(e, i, a), r = [...C, {
2380
2380
  operator: e?.getName() ?? null,
2381
2381
  param: t
2382
2382
  }];
@@ -2386,19 +2386,19 @@ var gi = g.BuiltInOperatorNames, _i = /* @__PURE__ */ new Set([
2386
2386
  });
2387
2387
  }
2388
2388
  }),
2389
- !s && !c && (0, Z.jsx)(Pt, {
2390
- icon: (0, Z.jsx)(C, { iconKey: "Close" }),
2389
+ !s && !c && (0, Z.jsx)(Ft, {
2390
+ icon: (0, Z.jsx)(w, { iconKey: "Close" }),
2391
2391
  disabled: s,
2392
2392
  onClick: r
2393
2393
  })
2394
2394
  ]
2395
- }), h ? (0, Z.jsx)(di, {
2395
+ }), g ? (0, Z.jsx)(di, {
2396
2396
  operator: p,
2397
- inputs: w,
2397
+ inputs: C,
2398
2398
  onOptionChange: (e) => {
2399
2399
  n({
2400
2400
  operator: f,
2401
- param: T ? e[0] ?? null : e
2401
+ param: ee ? e[0] ?? null : e
2402
2402
  });
2403
2403
  },
2404
2404
  operators: i,
@@ -2409,7 +2409,7 @@ var gi = g.BuiltInOperatorNames, _i = /* @__PURE__ */ new Set([
2409
2409
  });
2410
2410
  vi.displayName = "OperatorAndParamEditor";
2411
2411
  var yi = (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 = k(), [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 = j(), u = A(), [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,17 +2421,17 @@ var yi = (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(x.BuiltInSelectors)).slice().sort((e, t) => (e.getTitle?.() ?? "").localeCompare(t.getTitle?.() ?? "", u)), [s, u]), v = (0, X.useMemo)(() => o ?? Object.values(x.BuiltInOperators), [o]), y = (0, X.useMemo)(() => $r(d, v, u), [
2424
+ let _ = (0, X.useMemo)(() => (s ?? Object.values(y.BuiltInSelectors)).slice().sort((e, t) => (e.getTitle?.() ?? "").localeCompare(t.getTitle?.() ?? "", u)), [s, u]), v = (0, X.useMemo)(() => o ?? Object.values(y.BuiltInOperators), [o]), b = (0, X.useMemo)(() => $r(d, v, u), [
2425
2425
  d,
2426
2426
  v,
2427
2427
  u
2428
- ]), b = (e) => {
2428
+ ]), x = (e) => {
2429
2429
  m(e), n?.({
2430
2430
  selector: d,
2431
2431
  ...e
2432
2432
  });
2433
2433
  }, S = r;
2434
- return (0, Z.jsxs)(L, {
2434
+ return (0, Z.jsxs)(I, {
2435
2435
  sx: {
2436
2436
  display: "flex",
2437
2437
  flexDirection: "column",
@@ -2480,7 +2480,7 @@ var yi = (0, X.memo)((e) => {
2480
2480
  }),
2481
2481
  p ? (0, Z.jsx)(vi, {
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 yi = (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)(L, {
2494
+ }) : !a && (0, Z.jsx)(I, {
2495
2495
  sx: { display: "flex" },
2496
2496
  children: (0, Z.jsx)(ui, {
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: ti(e, y, d)
2503
+ param: ti(e, b, d)
2504
2504
  });
2505
2505
  },
2506
2506
  readOnly: a
2507
2507
  })
2508
2508
  }),
2509
- S && (0, Z.jsx)(Ot, {
2510
- control: (0, Z.jsx)(Dt, {
2509
+ S && (0, Z.jsx)(kt, {
2510
+ control: (0, Z.jsx)(Ot, {
2511
2511
  checked: !h,
2512
2512
  onChange: (e) => {
2513
2513
  var t = !e.target.checked;
@@ -2527,7 +2527,7 @@ var yi = (0, X.memo)((e) => {
2527
2527
  yi.displayName = "ConditionEditor";
2528
2528
  var bi = (0, X.memo)((e) => {
2529
2529
  let { variant: t = "format", children: n, sx: r, ...i } = e;
2530
- return (0, Z.jsx)(L, {
2530
+ return (0, Z.jsx)(I, {
2531
2531
  className: `sxl-cf-rule-section sxl-cf-rule-section-${t}`,
2532
2532
  sx: {
2533
2533
  display: "flex",
@@ -2545,15 +2545,15 @@ var bi = (0, X.memo)((e) => {
2545
2545
  });
2546
2546
  });
2547
2547
  bi.displayName = "RuleSection";
2548
- var xi = new h("transparent"), Si = {
2548
+ var xi = new v("transparent"), Si = {
2549
2549
  lightRedFillDarkRedText: f("conditionalFormat.preset.lightRedFillDarkRedText"),
2550
2550
  yellowFillDarkYellowText: f("conditionalFormat.preset.yellowFillDarkYellowText"),
2551
2551
  greenFillDarkGreenText: f("conditionalFormat.preset.greenFillDarkGreenText"),
2552
2552
  lightRedFill: f("conditionalFormat.preset.lightRedFill"),
2553
2553
  redText: f("conditionalFormat.preset.redText"),
2554
2554
  redBorder: f("conditionalFormat.preset.redBorder")
2555
- }, Ci = (e) => e ? typeof e == "string" ? e : e.type === S.Type.None ? null : e.color ?? e.foreground ?? null : null, wi = (e, t) => e === "auto" ? null : vt(e, t), Ti = (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 } = at(), d = t?.font ?? null, p = (d?.weight ?? 400) >= 600, m = d?.style === _.Style.Italic, h = !!d?.underline && d.underline !== _.UnderlineStyle.None, g = !!d?.strike, v = (e) => {
2555
+ }, Ci = (e) => e ? typeof e == "string" ? e : e.type === S.Type.None ? null : e.color ?? e.foreground ?? null : null, wi = (e, t) => e === "auto" ? null : yt(e, t), Ti = (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 } = ot(), 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) => {
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 };
@@ -2566,20 +2566,20 @@ var xi = new h("transparent"), Si = {
2566
2566
  t?.fill,
2567
2567
  o,
2568
2568
  c
2569
- ]), w = {
2569
+ ]), C = {
2570
2570
  padding: "4px",
2571
2571
  border: "none",
2572
2572
  borderRadius: 1
2573
2573
  };
2574
2574
  return (0, Z.jsxs)(bi, {
2575
2575
  ...i,
2576
- children: [(0, Z.jsxs)(L, {
2576
+ children: [(0, Z.jsxs)(I, {
2577
2577
  sx: {
2578
2578
  display: "flex",
2579
2579
  alignItems: "flex-start",
2580
2580
  gap: 1
2581
2581
  },
2582
- children: [(0, Z.jsx)(L, {
2582
+ children: [(0, Z.jsx)(I, {
2583
2583
  sx: {
2584
2584
  flex: "1 1 auto",
2585
2585
  minWidth: 0,
@@ -2587,9 +2587,9 @@ var xi = new h("transparent"), Si = {
2587
2587
  gap: .5,
2588
2588
  flexWrap: "wrap"
2589
2589
  },
2590
- children: sn.map((e, t) => {
2590
+ children: Vt.map((e, t) => {
2591
2591
  let i = wi(Ci(e.style.fill), o), s = wi(e.style.font?.color, o), c = e.style.border ? wi(Object.values(e.style.border)[0]?.color, o) : null;
2592
- return (0, Z.jsx)(ot, {
2592
+ return (0, Z.jsx)(st, {
2593
2593
  sheet: !0,
2594
2594
  title: a(Si[e.key] ?? e.key),
2595
2595
  disabled: r,
@@ -2603,7 +2603,7 @@ var xi = new h("transparent"), Si = {
2603
2603
  children: "Aa"
2604
2604
  }, t);
2605
2605
  })
2606
- }), (0, Z.jsx)(ot, {
2606
+ }), (0, Z.jsx)(st, {
2607
2607
  title: a("conditionalFormat.clearStyle"),
2608
2608
  disabled: r || !t,
2609
2609
  onClick: () => n(null),
@@ -2611,12 +2611,12 @@ var xi = new h("transparent"), Si = {
2611
2611
  color: "text.secondary",
2612
2612
  "&:disabled": { opacity: .4 }
2613
2613
  },
2614
- children: (0, Z.jsx)(C, {
2614
+ children: (0, Z.jsx)(w, {
2615
2615
  iconKey: "ClearFormats",
2616
2616
  size: 16
2617
2617
  })
2618
2618
  })]
2619
- }), (0, Z.jsxs)(L, {
2619
+ }), (0, Z.jsxs)(I, {
2620
2620
  sx: {
2621
2621
  display: "flex",
2622
2622
  alignItems: "center",
@@ -2626,40 +2626,40 @@ var xi = new h("transparent"), Si = {
2626
2626
  (0, Z.jsx)(Lr, {
2627
2627
  value: "bold",
2628
2628
  size: "small",
2629
- sx: w,
2629
+ sx: C,
2630
2630
  selected: p,
2631
2631
  disabled: r,
2632
2632
  onChange: () => v({ weight: p ? void 0 : 700 }),
2633
- children: (0, Z.jsx)(C, { iconKey: "TextBold" })
2633
+ children: (0, Z.jsx)(w, { iconKey: "TextBold" })
2634
2634
  }),
2635
2635
  (0, Z.jsx)(Lr, {
2636
2636
  value: "italic",
2637
2637
  size: "small",
2638
- sx: w,
2638
+ sx: C,
2639
2639
  selected: m,
2640
2640
  disabled: r,
2641
- onChange: () => v({ style: m ? void 0 : _.Style.Italic }),
2642
- children: (0, Z.jsx)(C, { iconKey: "TextItalic" })
2641
+ onChange: () => v({ style: m ? void 0 : g.Style.Italic }),
2642
+ children: (0, Z.jsx)(w, { iconKey: "TextItalic" })
2643
2643
  }),
2644
2644
  (0, Z.jsx)(Lr, {
2645
2645
  value: "underline",
2646
2646
  size: "small",
2647
- sx: w,
2647
+ sx: C,
2648
2648
  selected: h,
2649
2649
  disabled: r,
2650
- onChange: () => v({ underline: h ? void 0 : _.UnderlineStyle.Single }),
2651
- children: (0, Z.jsx)(C, { iconKey: "TextUnderline" })
2650
+ onChange: () => v({ underline: h ? void 0 : g.UnderlineStyle.Single }),
2651
+ children: (0, Z.jsx)(w, { iconKey: "TextUnderline" })
2652
2652
  }),
2653
2653
  (0, Z.jsx)(Lr, {
2654
2654
  value: "strike",
2655
2655
  size: "small",
2656
- sx: w,
2657
- selected: g,
2656
+ sx: C,
2657
+ selected: _,
2658
2658
  disabled: r,
2659
- onChange: () => v({ strike: !g || void 0 }),
2660
- children: (0, Z.jsx)(C, { iconKey: "TextStrike" })
2659
+ onChange: () => v({ strike: !_ || void 0 }),
2660
+ children: (0, Z.jsx)(w, { iconKey: "TextStrike" })
2661
2661
  }),
2662
- o && (0, Z.jsx)(st, {
2662
+ o && (0, Z.jsx)(ct, {
2663
2663
  tooltip: a("conditionalFormat.border"),
2664
2664
  selectedBorder: t?.border,
2665
2665
  createBorder: (e) => o.getStyles().getNormal().createStyle({ border: e }).getBorder(),
@@ -2672,7 +2672,7 @@ var xi = new h("transparent"), Si = {
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)(St, {
2675
+ (0, Z.jsx)(Ct, {
2676
2676
  icon: "fill.colored",
2677
2677
  tooltip: a("conditionalFormat.fillColor"),
2678
2678
  selectedColor: x,
@@ -2689,11 +2689,11 @@ var xi = new h("transparent"), Si = {
2689
2689
  disableAlpha: !0,
2690
2690
  autoColor: xi,
2691
2691
  autoColorLabelKey: f("color.noFill"),
2692
- autoColorPosition: it.End,
2692
+ autoColorPosition: at.End,
2693
2693
  ...u
2694
2694
  }
2695
2695
  }),
2696
- (0, Z.jsx)(St, {
2696
+ (0, Z.jsx)(Ct, {
2697
2697
  icon: "text.colored",
2698
2698
  tooltip: a("conditionalFormat.fontColor"),
2699
2699
  selectedColor: b,
@@ -2712,22 +2712,22 @@ var xi = new h("transparent"), Si = {
2712
2712
  });
2713
2713
  Ti.displayName = "ConditionalFormatStylePicker";
2714
2714
  var Ei = {
2715
- [y.ColorStopType.AutoMin]: f("conditionalFormat.stopType.autoMin"),
2716
- [y.ColorStopType.AutoMax]: f("conditionalFormat.stopType.autoMax"),
2717
- [y.ColorStopType.Min]: f("conditionalFormat.stopType.min"),
2718
- [y.ColorStopType.Max]: f("conditionalFormat.stopType.max"),
2719
- [y.ColorStopType.Num]: f("conditionalFormat.stopType.num"),
2720
- [y.ColorStopType.Percent]: f("conditionalFormat.stopType.percent"),
2721
- [y.ColorStopType.Percentile]: f("conditionalFormat.stopType.percentile"),
2722
- [y.ColorStopType.Formula]: f("conditionalFormat.stopType.formula")
2715
+ [_.ColorStopType.AutoMin]: f("conditionalFormat.stopType.autoMin"),
2716
+ [_.ColorStopType.AutoMax]: f("conditionalFormat.stopType.autoMax"),
2717
+ [_.ColorStopType.Min]: f("conditionalFormat.stopType.min"),
2718
+ [_.ColorStopType.Max]: f("conditionalFormat.stopType.max"),
2719
+ [_.ColorStopType.Num]: f("conditionalFormat.stopType.num"),
2720
+ [_.ColorStopType.Percent]: f("conditionalFormat.stopType.percent"),
2721
+ [_.ColorStopType.Percentile]: f("conditionalFormat.stopType.percentile"),
2722
+ [_.ColorStopType.Formula]: f("conditionalFormat.stopType.formula")
2723
2723
  }, Di = /* @__PURE__ */ new Set([
2724
- y.ColorStopType.AutoMin,
2725
- y.ColorStopType.AutoMax,
2726
- y.ColorStopType.Min,
2727
- y.ColorStopType.Max
2724
+ _.ColorStopType.AutoMin,
2725
+ _.ColorStopType.AutoMax,
2726
+ _.ColorStopType.Min,
2727
+ _.ColorStopType.Max
2728
2728
  ]), Oi = (0, X.memo)((e) => {
2729
- let { label: t, stop: n, onStopChange: r, allowedTypes: i, showColor: a = !1, showExclusive: o = !1, readOnly: s, ...c } = e, l = j(), { darkMode: u, toColor: d, propsColorPanel: f } = at(), p = n.type ?? y.ColorStopType.Num, m = !Di.has(p), h = s || !m, g = p === y.ColorStopType.Formula, _ = n.color, v = a ? d(_) : null;
2730
- return (0, Z.jsxs)(L, {
2729
+ let { label: t, stop: n, onStopChange: r, allowedTypes: i, showColor: a = !1, showExclusive: o = !1, readOnly: s, ...c } = e, l = j(), { darkMode: u, toColor: d, propsColorPanel: f } = ot(), p = n.type ?? _.ColorStopType.Num, m = !Di.has(p), h = s || !m, g = p === _.ColorStopType.Formula, v = n.color, y = a ? d(v) : null;
2730
+ return (0, Z.jsxs)(I, {
2731
2731
  sx: {
2732
2732
  display: "flex",
2733
2733
  alignItems: "center",
@@ -2735,7 +2735,7 @@ var Ei = {
2735
2735
  },
2736
2736
  ...c,
2737
2737
  children: [
2738
- (0, Z.jsx)(B, {
2738
+ (0, Z.jsx)(z, {
2739
2739
  variant: "caption",
2740
2740
  sx: {
2741
2741
  color: "text.secondary",
@@ -2746,9 +2746,9 @@ var Ei = {
2746
2746
  },
2747
2747
  children: t
2748
2748
  }),
2749
- a && (0, Z.jsx)(St, {
2749
+ a && (0, Z.jsx)(Ct, {
2750
2750
  tooltip: l("conditionalFormat.stopColor"),
2751
- selectedColor: v,
2751
+ selectedColor: y,
2752
2752
  disabled: s,
2753
2753
  onSelectColor: (e) => {
2754
2754
  e && r({
@@ -2792,8 +2792,8 @@ var Ei = {
2792
2792
  type: e
2793
2793
  };
2794
2794
  if (Di.has(e)) delete t.value;
2795
- else if (t.value === void 0) t.value = e === y.ColorStopType.Formula ? "" : 0;
2796
- else if (e !== y.ColorStopType.Formula && typeof t.value == "string") {
2795
+ else if (t.value === void 0) t.value = e === _.ColorStopType.Formula ? "" : 0;
2796
+ else if (e !== _.ColorStopType.Formula && typeof t.value == "string") {
2797
2797
  let e = Number(t.value);
2798
2798
  t.value = Number.isFinite(e) ? e : 0;
2799
2799
  }
@@ -2858,32 +2858,32 @@ var Ei = {
2858
2858
  });
2859
2859
  Oi.displayName = "ScaleStopRow";
2860
2860
  var ki = [
2861
- y.ColorStopType.Min,
2862
- y.ColorStopType.Max,
2863
- y.ColorStopType.Num,
2864
- y.ColorStopType.Percent,
2865
- y.ColorStopType.Percentile,
2866
- y.ColorStopType.Formula
2861
+ _.ColorStopType.Min,
2862
+ _.ColorStopType.Max,
2863
+ _.ColorStopType.Num,
2864
+ _.ColorStopType.Percent,
2865
+ _.ColorStopType.Percentile,
2866
+ _.ColorStopType.Formula
2867
2867
  ], Ai = (0, X.memo)((e) => {
2868
- let { scale: t, onScaleChange: n, readOnly: r, ...i } = e, a = j(), { workbook: o, toColor: s } = at(), c = t.stops ?? [], l = c.length === 2 ? [f("conditionalFormat.stop.minimum"), f("conditionalFormat.stop.maximum")] : [
2868
+ let { scale: t, onScaleChange: n, readOnly: r, ...i } = e, a = j(), { workbook: o, toColor: s } = ot(), c = t.stops ?? [], l = c.length === 2 ? [f("conditionalFormat.stop.minimum"), f("conditionalFormat.stop.maximum")] : [
2869
2869
  f("conditionalFormat.stop.minimum"),
2870
2870
  f("conditionalFormat.stop.midpoint"),
2871
2871
  f("conditionalFormat.stop.maximum")
2872
2872
  ];
2873
- return (0, Z.jsxs)(L, {
2873
+ return (0, Z.jsxs)(I, {
2874
2874
  sx: {
2875
2875
  display: "flex",
2876
2876
  flexDirection: "column",
2877
2877
  gap: 1
2878
2878
  },
2879
2879
  ...i,
2880
- children: [(0, Z.jsx)(bi, { children: (0, Z.jsxs)(L, {
2880
+ children: [(0, Z.jsx)(bi, { children: (0, Z.jsxs)(I, {
2881
2881
  sx: {
2882
2882
  display: "flex",
2883
2883
  alignItems: "flex-start",
2884
2884
  gap: 1
2885
2885
  },
2886
- children: [(0, Z.jsx)(L, {
2886
+ children: [(0, Z.jsx)(I, {
2887
2887
  sx: {
2888
2888
  flex: "1 1 auto",
2889
2889
  minWidth: 0,
@@ -2891,11 +2891,11 @@ var ki = [
2891
2891
  gap: .5,
2892
2892
  flexWrap: "wrap"
2893
2893
  },
2894
- children: Kt.filter((e) => e.stops.length === (c.length === 2 ? 2 : 3)).map((e, t) => (0, Z.jsx)(ot, {
2894
+ children: qt.filter((e) => e.stops.length === (c.length === 2 ? 2 : 3)).map((e, t) => (0, Z.jsx)(st, {
2895
2895
  sheet: !0,
2896
2896
  disabled: r,
2897
2897
  onClick: () => n(structuredClone(e)),
2898
- children: (0, Z.jsx)(wt, { rows: Et(e.stops ?? [], bt, o) })
2898
+ children: (0, Z.jsx)(Tt, { rows: Dt(e.stops ?? [], xt, o) })
2899
2899
  }, t))
2900
2900
  }), (0, Z.jsxs)(Br, {
2901
2901
  exclusive: !0,
@@ -2913,7 +2913,7 @@ var ki = [
2913
2913
  e = `#${r((t.red + n.red) / 2)}${r((t.green + n.green) / 2)}${r((t.blue + n.blue) / 2)}`;
2914
2914
  }
2915
2915
  r.splice(1, 0, {
2916
- type: y.ColorStopType.Percentile,
2916
+ type: _.ColorStopType.Percentile,
2917
2917
  value: 50,
2918
2918
  color: e
2919
2919
  });
@@ -2964,26 +2964,26 @@ var ki = [
2964
2964
  });
2965
2965
  Ai.displayName = "ColorScaleRulePanel";
2966
2966
  var ji = [
2967
- y.ColorStopType.AutoMin,
2968
- y.ColorStopType.Min,
2969
- y.ColorStopType.Num,
2970
- y.ColorStopType.Percent,
2971
- y.ColorStopType.Percentile,
2972
- y.ColorStopType.Formula
2967
+ _.ColorStopType.AutoMin,
2968
+ _.ColorStopType.Min,
2969
+ _.ColorStopType.Num,
2970
+ _.ColorStopType.Percent,
2971
+ _.ColorStopType.Percentile,
2972
+ _.ColorStopType.Formula
2973
2973
  ], Mi = [
2974
- y.ColorStopType.AutoMax,
2975
- y.ColorStopType.Max,
2976
- y.ColorStopType.Num,
2977
- y.ColorStopType.Percent,
2978
- y.ColorStopType.Percentile,
2979
- y.ColorStopType.Formula
2974
+ _.ColorStopType.AutoMax,
2975
+ _.ColorStopType.Max,
2976
+ _.ColorStopType.Num,
2977
+ _.ColorStopType.Percent,
2978
+ _.ColorStopType.Percentile,
2979
+ _.ColorStopType.Formula
2980
2980
  ], Ni = "__auto__", Pi = (0, X.memo)((e) => {
2981
- let { scale: t, onScaleChange: n, readOnly: r, ...i } = e, a = j(), { 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) => {
2981
+ let { scale: t, onScaleChange: n, readOnly: r, ...i } = e, a = j(), { darkMode: o, toColor: s, propsColorPanel: c } = ot(), 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) => {
2982
2982
  let r = { ...t };
2983
2983
  for (let [t, n] of Object.entries(e)) n === void 0 ? delete r[t] : r[t] = n;
2984
2984
  n(r);
2985
2985
  }, g = { backgroundColor: "background.paper" };
2986
- return (0, Z.jsxs)(L, {
2986
+ return (0, Z.jsxs)(I, {
2987
2987
  sx: {
2988
2988
  display: "flex",
2989
2989
  flexDirection: "column",
@@ -2991,13 +2991,13 @@ var ji = [
2991
2991
  },
2992
2992
  ...i,
2993
2993
  children: [(0, Z.jsxs)(bi, { children: [
2994
- (0, Z.jsxs)(L, {
2994
+ (0, Z.jsxs)(I, {
2995
2995
  sx: {
2996
2996
  display: "flex",
2997
2997
  alignItems: "flex-start",
2998
2998
  gap: 1
2999
2999
  },
3000
- children: [(0, Z.jsx)(L, {
3000
+ children: [(0, Z.jsx)(I, {
3001
3001
  sx: {
3002
3002
  flex: "1 1 auto",
3003
3003
  minWidth: 0,
@@ -3005,7 +3005,7 @@ var ji = [
3005
3005
  gap: .5,
3006
3006
  flexWrap: "wrap"
3007
3007
  },
3008
- children: Yt.filter((e) => (e.gradient ?? !1) === m).map((e, t) => (0, Z.jsx)(ot, {
3008
+ children: Kt.filter((e) => (e.gradient ?? !1) === m).map((e, t) => (0, Z.jsx)(st, {
3009
3009
  sheet: !0,
3010
3010
  disabled: r,
3011
3011
  onClick: () => h({
@@ -3013,7 +3013,7 @@ var ji = [
3013
3013
  gradient: e.gradient,
3014
3014
  borderColor: e.borderColor
3015
3015
  }),
3016
- children: (0, Z.jsx)(wt, { rows: Xe(e, s(e.color)?.toCSS("adaptive") ?? "var(--sxl-color-primary, rgb(33, 115, 70))") })
3016
+ children: (0, Z.jsx)(Tt, { rows: Ze(e, s(e.color)?.toCSS("adaptive") ?? "var(--sxl-color-primary, rgb(33, 115, 70))") })
3017
3017
  }, t))
3018
3018
  }), (0, Z.jsxs)(Br, {
3019
3019
  exclusive: !0,
@@ -3043,26 +3043,26 @@ var ji = [
3043
3043
  })]
3044
3044
  })]
3045
3045
  }),
3046
- (0, Z.jsx)(Ot, {
3047
- control: (0, Z.jsx)(Dt, {
3046
+ (0, Z.jsx)(kt, {
3047
+ control: (0, Z.jsx)(Ot, {
3048
3048
  size: "small",
3049
3049
  checked: !1 === t.showValue,
3050
3050
  disabled: r,
3051
3051
  onChange: (e) => h({ showValue: !e.target.checked && void 0 })
3052
3052
  }),
3053
- label: (0, Z.jsx)(B, {
3053
+ label: (0, Z.jsx)(z, {
3054
3054
  variant: "body2",
3055
3055
  children: a("conditionalFormat.showBarsOnly")
3056
3056
  })
3057
3057
  }),
3058
- (0, Z.jsxs)(L, {
3058
+ (0, Z.jsxs)(I, {
3059
3059
  sx: {
3060
3060
  display: "flex",
3061
3061
  alignItems: "center",
3062
3062
  gap: .5
3063
3063
  },
3064
3064
  children: [
3065
- (0, Z.jsx)(B, {
3065
+ (0, Z.jsx)(z, {
3066
3066
  variant: "caption",
3067
3067
  sx: {
3068
3068
  color: "text.secondary",
@@ -3070,7 +3070,7 @@ var ji = [
3070
3070
  },
3071
3071
  children: a("conditionalFormat.bar")
3072
3072
  }),
3073
- (0, Z.jsx)(St, {
3073
+ (0, Z.jsx)(Ct, {
3074
3074
  icon: "fill.colored",
3075
3075
  tooltip: a("conditionalFormat.barColor"),
3076
3076
  selectedColor: u,
@@ -3082,7 +3082,7 @@ var ji = [
3082
3082
  ...c
3083
3083
  }
3084
3084
  }),
3085
- (0, Z.jsx)(St, {
3085
+ (0, Z.jsx)(Ct, {
3086
3086
  icon: "stroke.colored",
3087
3087
  tooltip: a("conditionalFormat.barBorderColor"),
3088
3088
  selectedColor: f,
@@ -3096,14 +3096,14 @@ var ji = [
3096
3096
  })
3097
3097
  ]
3098
3098
  }),
3099
- (0, Z.jsxs)(L, {
3099
+ (0, Z.jsxs)(I, {
3100
3100
  sx: {
3101
3101
  display: "flex",
3102
3102
  alignItems: "center",
3103
3103
  gap: .5
3104
3104
  },
3105
3105
  children: [
3106
- (0, Z.jsx)(B, {
3106
+ (0, Z.jsx)(z, {
3107
3107
  variant: "caption",
3108
3108
  sx: {
3109
3109
  color: "text.secondary",
@@ -3111,7 +3111,7 @@ var ji = [
3111
3111
  },
3112
3112
  children: a("conditionalFormat.negative")
3113
3113
  }),
3114
- (0, Z.jsx)(St, {
3114
+ (0, Z.jsx)(Ct, {
3115
3115
  icon: "fill.colored",
3116
3116
  tooltip: a("conditionalFormat.negativeColor"),
3117
3117
  selectedColor: d ?? u,
@@ -3123,7 +3123,7 @@ var ji = [
3123
3123
  ...c
3124
3124
  }
3125
3125
  }),
3126
- (0, Z.jsx)(St, {
3126
+ (0, Z.jsx)(Ct, {
3127
3127
  icon: "stroke.colored",
3128
3128
  tooltip: a("conditionalFormat.negativeBorderColor"),
3129
3129
  selectedColor: p ?? f,
@@ -3135,7 +3135,7 @@ var ji = [
3135
3135
  ...c
3136
3136
  }
3137
3137
  }),
3138
- (0, Z.jsx)(ot, {
3138
+ (0, Z.jsx)(st, {
3139
3139
  title: a("conditionalFormat.sameAsPositive"),
3140
3140
  disabled: r || !t.negativeFillColor && !t.negativeBorderColor,
3141
3141
  onClick: () => h({
@@ -3146,20 +3146,20 @@ var ji = [
3146
3146
  color: "text.secondary",
3147
3147
  "&:disabled": { opacity: .4 }
3148
3148
  },
3149
- children: (0, Z.jsx)(C, {
3149
+ children: (0, Z.jsx)(w, {
3150
3150
  iconKey: "ClearFormats",
3151
3151
  size: 16
3152
3152
  })
3153
3153
  })
3154
3154
  ]
3155
3155
  }),
3156
- (0, Z.jsxs)(L, {
3156
+ (0, Z.jsxs)(I, {
3157
3157
  sx: {
3158
3158
  display: "flex",
3159
3159
  gap: 1,
3160
3160
  mt: .5
3161
3161
  },
3162
- children: [(0, Z.jsxs)(Je, {
3162
+ children: [(0, Z.jsxs)(G, {
3163
3163
  size: "small",
3164
3164
  sx: {
3165
3165
  flex: 1,
@@ -3189,7 +3189,7 @@ var ji = [
3189
3189
  })
3190
3190
  ]
3191
3191
  })]
3192
- }), (0, Z.jsxs)(Je, {
3192
+ }), (0, Z.jsxs)(G, {
3193
3193
  size: "small",
3194
3194
  sx: {
3195
3195
  flex: 1,
@@ -3225,7 +3225,7 @@ var ji = [
3225
3225
  variant: "config",
3226
3226
  children: [(0, Z.jsx)(Oi, {
3227
3227
  label: a("conditionalFormat.stop.minimum"),
3228
- stop: l[0] ?? { type: y.ColorStopType.AutoMin },
3228
+ stop: l[0] ?? { type: _.ColorStopType.AutoMin },
3229
3229
  allowedTypes: ji,
3230
3230
  readOnly: r,
3231
3231
  onStopChange: (e) => {
@@ -3234,12 +3234,12 @@ var ji = [
3234
3234
  }
3235
3235
  }), (0, Z.jsx)(Oi, {
3236
3236
  label: a("conditionalFormat.stop.maximum"),
3237
- stop: l[1] ?? { type: y.ColorStopType.AutoMax },
3237
+ stop: l[1] ?? { type: _.ColorStopType.AutoMax },
3238
3238
  allowedTypes: Mi,
3239
3239
  readOnly: r,
3240
3240
  onStopChange: (e) => {
3241
3241
  let t = l.slice();
3242
- for (; t.length < 2;) t.push({ type: y.ColorStopType.AutoMax });
3242
+ for (; t.length < 2;) t.push({ type: _.ColorStopType.AutoMax });
3243
3243
  t[1] = e, h({ stops: t });
3244
3244
  }
3245
3245
  })]
@@ -3253,20 +3253,20 @@ var Fi = {
3253
3253
  indicators: f("conditionalFormat.iconGroup.indicators"),
3254
3254
  ratings: f("conditionalFormat.iconGroup.ratings")
3255
3255
  }, Ii = [
3256
- y.ColorStopType.Percent,
3257
- y.ColorStopType.Num,
3258
- y.ColorStopType.Percentile,
3259
- y.ColorStopType.Formula
3260
- ], Li = new Set(Object.values(v.IconSet)), Ri = (0, X.memo)(({ set: e }) => {
3261
- let t = on(e);
3262
- return t.length === 0 ? null : (0, Z.jsx)(L, {
3256
+ _.ColorStopType.Percent,
3257
+ _.ColorStopType.Num,
3258
+ _.ColorStopType.Percentile,
3259
+ _.ColorStopType.Formula
3260
+ ], Li = new Set(Object.values(x.IconSet)), Ri = (0, X.memo)(({ set: e }) => {
3261
+ let t = Yt(e);
3262
+ return t.length === 0 ? null : (0, Z.jsx)(I, {
3263
3263
  sx: {
3264
3264
  display: "flex",
3265
3265
  alignItems: "center",
3266
3266
  gap: .75,
3267
3267
  lineHeight: 1
3268
3268
  },
3269
- children: t.map((e, t) => (0, Z.jsx)(C, {
3269
+ children: t.map((e, t) => (0, Z.jsx)(w, {
3270
3270
  iconKey: e.iconKey,
3271
3271
  size: 16,
3272
3272
  style: {
@@ -3278,7 +3278,7 @@ var Fi = {
3278
3278
  });
3279
3279
  Ri.displayName = "IconSetGlyphs";
3280
3280
  var zi = (0, X.memo)((e) => {
3281
- let { scale: t, onScaleChange: n, readOnly: r, ...a } = e, o = j(), s = t.iconSet ?? v.IconSet.TrafficLights3, c = !Li.has(s), l = t.stops ?? [], u = (e) => {
3281
+ let { scale: t, onScaleChange: n, readOnly: r, ...a } = e, o = j(), s = t.iconSet ?? x.IconSet.TrafficLights3, c = !Li.has(s), l = t.stops ?? [], u = (e) => {
3282
3282
  let r = { ...t };
3283
3283
  for (let [t, n] of Object.entries(e)) n === void 0 ? delete r[t] : r[t] = n;
3284
3284
  n(r);
@@ -3289,7 +3289,7 @@ var zi = (0, X.memo)((e) => {
3289
3289
  disabled: !0,
3290
3290
  children: i.camelToPrettyCase(s)
3291
3291
  }, s));
3292
- for (let t of nn) {
3292
+ for (let t of Pt) {
3293
3293
  e.push((0, Z.jsx)(vr, {
3294
3294
  disableSticky: !0,
3295
3295
  sx: ni,
@@ -3304,11 +3304,11 @@ var zi = (0, X.memo)((e) => {
3304
3304
  pl: 2,
3305
3305
  py: .75
3306
3306
  },
3307
- children: (0, Z.jsx)(W, {
3307
+ children: (0, Z.jsx)(U, {
3308
3308
  disableInteractive: !0,
3309
3309
  placement: "right",
3310
3310
  title: t,
3311
- children: (0, Z.jsx)(L, {
3311
+ children: (0, Z.jsx)(I, {
3312
3312
  sx: {
3313
3313
  display: "flex",
3314
3314
  alignItems: "center",
@@ -3326,7 +3326,7 @@ var zi = (0, X.memo)((e) => {
3326
3326
  c,
3327
3327
  s
3328
3328
  ]);
3329
- return (0, Z.jsxs)(L, {
3329
+ return (0, Z.jsxs)(I, {
3330
3330
  sx: {
3331
3331
  display: "flex",
3332
3332
  flexDirection: "column",
@@ -3334,25 +3334,25 @@ var zi = (0, X.memo)((e) => {
3334
3334
  },
3335
3335
  ...a,
3336
3336
  children: [(0, Z.jsxs)(bi, { children: [
3337
- (0, Z.jsxs)(Je, {
3337
+ (0, Z.jsxs)(G, {
3338
3338
  size: "small",
3339
3339
  fullWidth: !0,
3340
3340
  children: [(0, Z.jsx)(K, { children: o("conditionalFormat.iconSet") }), (0, Z.jsx)(q, {
3341
3341
  label: o("conditionalFormat.iconSet"),
3342
3342
  value: s,
3343
- renderValue: (e) => (0, Z.jsx)(L, {
3343
+ renderValue: (e) => (0, Z.jsx)(I, {
3344
3344
  sx: {
3345
3345
  display: "flex",
3346
3346
  alignItems: "center",
3347
3347
  minHeight: "1.4375em"
3348
3348
  },
3349
- children: on(e).length === 0 ? i.camelToPrettyCase(e) : (0, Z.jsx)(Ri, { set: e })
3349
+ children: Yt(e).length === 0 ? i.camelToPrettyCase(e) : (0, Z.jsx)(Ri, { set: e })
3350
3350
  }),
3351
3351
  disabled: r || c,
3352
3352
  sx: { backgroundColor: "background.paper" },
3353
3353
  onChange: (e) => ((e) => {
3354
- let t = tn(e), n = l;
3355
- t !== l.length && (n = Wt(t)), u({
3354
+ let t = Rt(e), n = l;
3355
+ t !== l.length && (n = en(t)), u({
3356
3356
  iconSet: e,
3357
3357
  stops: n
3358
3358
  });
@@ -3360,35 +3360,35 @@ var zi = (0, X.memo)((e) => {
3360
3360
  children: d
3361
3361
  })]
3362
3362
  }),
3363
- c && (0, Z.jsx)(B, {
3363
+ c && (0, Z.jsx)(z, {
3364
3364
  variant: "caption",
3365
3365
  sx: { color: "text.secondary" },
3366
3366
  children: o("conditionalFormat.adoptedIconSet")
3367
3367
  }),
3368
- (0, Z.jsxs)(L, {
3368
+ (0, Z.jsxs)(I, {
3369
3369
  sx: {
3370
3370
  display: "flex",
3371
3371
  gap: 1
3372
3372
  },
3373
- children: [(0, Z.jsx)(Ot, {
3374
- control: (0, Z.jsx)(Dt, {
3373
+ children: [(0, Z.jsx)(kt, {
3374
+ control: (0, Z.jsx)(Ot, {
3375
3375
  size: "small",
3376
3376
  checked: !1 === t.showValue,
3377
3377
  disabled: r,
3378
3378
  onChange: (e) => u({ showValue: !e.target.checked && void 0 })
3379
3379
  }),
3380
- label: (0, Z.jsx)(B, {
3380
+ label: (0, Z.jsx)(z, {
3381
3381
  variant: "body2",
3382
3382
  children: o("conditionalFormat.showIconsOnly")
3383
3383
  })
3384
- }), (0, Z.jsx)(Ot, {
3385
- control: (0, Z.jsx)(Dt, {
3384
+ }), (0, Z.jsx)(kt, {
3385
+ control: (0, Z.jsx)(Ot, {
3386
3386
  size: "small",
3387
3387
  checked: t.reverse ?? !1,
3388
3388
  disabled: r,
3389
3389
  onChange: (e) => u({ reverse: !!e.target.checked || void 0 })
3390
3390
  }),
3391
- label: (0, Z.jsx)(B, {
3391
+ label: (0, Z.jsx)(z, {
3392
3392
  variant: "body2",
3393
3393
  children: o("conditionalFormat.reverseIcons")
3394
3394
  })
@@ -3411,15 +3411,15 @@ var zi = (0, X.memo)((e) => {
3411
3411
  });
3412
3412
  });
3413
3413
  zi.displayName = "IconSetRulePanel";
3414
- var Bi = (e, t, n) => vt(e, t)?.toCSS("adaptive") ?? n, Vi = (e, t, n) => {
3414
+ var Bi = (e, t, n) => yt(e, t)?.toCSS("adaptive") ?? n, Vi = (e, t, n) => {
3415
3415
  if (!e) return n;
3416
3416
  if (typeof e == "string") return Bi(e, t, n);
3417
3417
  if (e.type === S.Type.None) return n;
3418
3418
  let r = e, i = e;
3419
3419
  return Bi(i.foreground ?? r.color ?? i.background, t, n);
3420
3420
  }, Hi = (0, X.memo)((e) => {
3421
- let { conditionalFormat: t, size: n = 28, ...r } = e, { workbook: i, themeKey: a } = at();
3422
- fn(t, "onAnyChange");
3421
+ let { conditionalFormat: t, size: n = 28, ...r } = e, { workbook: i, themeKey: a } = ot();
3422
+ mn(t, "onAnyChange");
3423
3423
  let o = t.getScale(), s = t.getStyle(), c = (0, X.useMemo)(() => {
3424
3424
  try {
3425
3425
  return i?.getStyles().getNormal().getFont().toCSS("adaptive") ?? {};
@@ -3427,9 +3427,9 @@ var Bi = (e, t, n) => vt(e, t)?.toCSS("adaptive") ?? n, Vi = (e, t, n) => {
3427
3427
  return {};
3428
3428
  }
3429
3429
  }, [i, a]), l = (0, X.useMemo)(() => {
3430
- if (o?.type === y.ScaleType.ColorScale) return (0, Z.jsx)(wt, { rows: Et(o.stops ?? [], bt, i) });
3431
- if (o?.type === y.ScaleType.DataBar) return (0, Z.jsx)(wt, { rows: Xe(o, Bi(o.color, i, _t), o.borderColor ? Bi(o.borderColor, i, _t) : void 0) });
3432
- if (o?.type === y.ScaleType.IconSet) {
3430
+ if (o?.type === _.ScaleType.ColorScale) return (0, Z.jsx)(Tt, { rows: Dt(o.stops ?? [], xt, i) });
3431
+ if (o?.type === _.ScaleType.DataBar) return (0, Z.jsx)(Tt, { rows: Ze(o, Bi(o.color, i, vt), o.borderColor ? Bi(o.borderColor, i, vt) : void 0) });
3432
+ if (o?.type === _.ScaleType.IconSet) {
3433
3433
  let e = o.stops?.length ?? 3, t = [
3434
3434
  "#D6604D",
3435
3435
  "#F5A623",
@@ -3437,13 +3437,13 @@ var Bi = (e, t, n) => vt(e, t)?.toCSS("adaptive") ?? n, Vi = (e, t, n) => {
3437
3437
  "#4472C4",
3438
3438
  "#7F7F7F"
3439
3439
  ], n = [];
3440
- for (let r = 0; r < e; r++) n.push((0, Z.jsx)(L, { sx: {
3440
+ for (let r = 0; r < e; r++) n.push((0, Z.jsx)(I, { sx: {
3441
3441
  width: "12px",
3442
3442
  height: "12px",
3443
3443
  borderRadius: "50%",
3444
3444
  backgroundColor: t[r % t.length]
3445
3445
  } }, r));
3446
- return o.reverse && n.reverse(), (0, Z.jsx)(L, {
3446
+ return o.reverse && n.reverse(), (0, Z.jsx)(I, {
3447
3447
  sx: {
3448
3448
  display: "flex",
3449
3449
  alignItems: "center",
@@ -3455,8 +3455,8 @@ var Bi = (e, t, n) => vt(e, t)?.toCSS("adaptive") ?? n, Vi = (e, t, n) => {
3455
3455
  children: n
3456
3456
  });
3457
3457
  }
3458
- let e = s?.font, t = e?.underline && e.underline !== _.UnderlineStyle.None;
3459
- return (0, Z.jsx)(L, {
3458
+ let e = s?.font, t = e?.underline && e.underline !== g.UnderlineStyle.None;
3459
+ return (0, Z.jsx)(I, {
3460
3460
  sx: {
3461
3461
  width: "100%",
3462
3462
  height: "100%",
@@ -3465,13 +3465,13 @@ var Bi = (e, t, n) => vt(e, t)?.toCSS("adaptive") ?? n, Vi = (e, t, n) => {
3465
3465
  justifyContent: "center",
3466
3466
  ...c,
3467
3467
  backgroundColor: Vi(s?.fill, i, "transparent"),
3468
- ...e?.color && e.color !== "auto" ? { color: Bi(e.color, i, dt) } : null,
3468
+ ...e?.color && e.color !== "auto" ? { color: Bi(e.color, i, ft) } : null,
3469
3469
  ...e?.weight ? { fontWeight: e.weight } : null,
3470
3470
  ...e?.style ? { fontStyle: e.style } : null,
3471
3471
  textDecoration: [t ? "underline" : "", e?.strike ? "line-through" : ""].join(" ").trim() || "none",
3472
3472
  fontSize: `${Math.round(.5 * n)}px`,
3473
3473
  lineHeight: 1,
3474
- outline: s?.border ? `1px solid ${Bi(Object.values(s.border)[0]?.color, i, ht)}` : void 0,
3474
+ outline: s?.border ? `1px solid ${Bi(Object.values(s.border)[0]?.color, i, gt)}` : void 0,
3475
3475
  outlineOffset: "-3px"
3476
3476
  },
3477
3477
  children: "Aa"
@@ -3484,7 +3484,7 @@ var Bi = (e, t, n) => vt(e, t)?.toCSS("adaptive") ?? n, Vi = (e, t, n) => {
3484
3484
  i,
3485
3485
  a
3486
3486
  ]);
3487
- return (0, Z.jsx)(ot, {
3487
+ return (0, Z.jsx)(st, {
3488
3488
  sheet: !0,
3489
3489
  className: "sxl-cf-rule-preview",
3490
3490
  sx: {
@@ -3498,8 +3498,8 @@ var Bi = (e, t, n) => vt(e, t)?.toCSS("adaptive") ?? n, Vi = (e, t, n) => {
3498
3498
  });
3499
3499
  Hi.displayName = "RulePreview";
3500
3500
  var Ui = (0, X.memo)((e) => {
3501
- let { conditionalFormat: t, label: n, helperText: r } = e, i = j(), a = ge();
3502
- fn(t, ["onAnchorCoordsChange", "onAnyChange"]);
3501
+ let { conditionalFormat: t, label: n, helperText: r } = e, i = j(), a = ve();
3502
+ mn(t, ["onAnchorCoordsChange", "onAnyChange"]);
3503
3503
  let o = t.getRanges();
3504
3504
  return (0, Z.jsx)(Sn, {
3505
3505
  grammar: "reference",
@@ -3522,7 +3522,7 @@ var Ui = (0, X.memo)((e) => {
3522
3522
  if (n && !n.isInvalid()) try {
3523
3523
  t.setRanges(n);
3524
3524
  } catch (e) {
3525
- a.showMessage?.(e.message, { type: fe.Error });
3525
+ a.showMessage?.(e.message, { type: pe.Error });
3526
3526
  }
3527
3527
  }, [t, a]),
3528
3528
  label: n === void 0 ? i("conditionalFormat.applyTo") : n,
@@ -3538,18 +3538,18 @@ var Wi = (e, t) => {
3538
3538
  return r ? i.camelToPrettyCase(r.type) : t("conditionalFormat.noCondition");
3539
3539
  }, Gi = {
3540
3540
  classic: f("conditionalFormat.tab.classic"),
3541
- [y.ScaleType.ColorScale]: f("conditionalFormat.tab.colorScale"),
3542
- [y.ScaleType.DataBar]: f("conditionalFormat.tab.dataBars"),
3543
- [y.ScaleType.IconSet]: f("conditionalFormat.tab.iconSets")
3541
+ [_.ScaleType.ColorScale]: f("conditionalFormat.tab.colorScale"),
3542
+ [_.ScaleType.DataBar]: f("conditionalFormat.tab.dataBars"),
3543
+ [_.ScaleType.IconSet]: f("conditionalFormat.tab.iconSets")
3544
3544
  }, Ki = (0, X.memo)((e) => {
3545
3545
  let { conditionalFormat: t } = e, n = j();
3546
- fn(t, "onAnyChange");
3546
+ mn(t, "onAnyChange");
3547
3547
  let r = t.getScale(), i = t.getCondition(), a = t.getStyle(), o = t.isProtected(), s = r?.type ?? "classic", c = (0, X.useRef)({ scales: {} }), l = (e) => {
3548
3548
  t.update({ scale: e });
3549
3549
  };
3550
- return (0, Z.jsxs)(Ie, {
3550
+ return (0, Z.jsxs)(Re, {
3551
3551
  tabIndex: 0,
3552
- className: ct["editor-panel"],
3552
+ className: lt["editor-panel"],
3553
3553
  sx: {
3554
3554
  gap: (e) => e.spacing(1),
3555
3555
  paddingTop: (e) => e.spacing(1.25),
@@ -3561,7 +3561,7 @@ var Wi = (e, t) => {
3561
3561
  overflow: "auto"
3562
3562
  },
3563
3563
  children: [
3564
- (0, Z.jsxs)(L, {
3564
+ (0, Z.jsxs)(I, {
3565
3565
  sx: {
3566
3566
  display: "flex",
3567
3567
  flexDirection: "column",
@@ -3569,7 +3569,7 @@ var Wi = (e, t) => {
3569
3569
  margin: (e) => e.spacing(1.25),
3570
3570
  marginBottom: 0
3571
3571
  },
3572
- children: [(0, Z.jsxs)(L, {
3572
+ children: [(0, Z.jsxs)(I, {
3573
3573
  sx: {
3574
3574
  display: "flex",
3575
3575
  alignItems: "center",
@@ -3578,7 +3578,7 @@ var Wi = (e, t) => {
3578
3578
  children: [(0, Z.jsx)(Hi, {
3579
3579
  conditionalFormat: t,
3580
3580
  size: 48
3581
- }), (0, Z.jsx)(B, {
3581
+ }), (0, Z.jsx)(z, {
3582
3582
  variant: "body2",
3583
3583
  sx: {
3584
3584
  minWidth: 0,
@@ -3588,20 +3588,20 @@ var Wi = (e, t) => {
3588
3588
  })]
3589
3589
  }), (0, Z.jsx)(Ui, { conditionalFormat: t })]
3590
3590
  }),
3591
- (0, Z.jsx)($e, {
3591
+ (0, Z.jsx)(et, {
3592
3592
  value: s,
3593
3593
  onChange: (e, n) => {
3594
3594
  o || ((e) => {
3595
3595
  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({
3596
3596
  condition: c.current.condition ?? {
3597
- operator: g.BuiltInOperatorNames.Between,
3597
+ operator: h.BuiltInOperatorNames.Between,
3598
3598
  param: null
3599
3599
  },
3600
3600
  style: c.current.style ?? null,
3601
3601
  scale: null
3602
3602
  });
3603
3603
  else {
3604
- let n = c.current.scales[e] ?? (e === y.ScaleType.ColorScale ? Xt() : e === y.ScaleType.DataBar ? Nt() : Ut());
3604
+ let n = c.current.scales[e] ?? (e === _.ScaleType.ColorScale ? Mt() : e === _.ScaleType.DataBar ? Wt() : Ut());
3605
3605
  t.update({
3606
3606
  scale: n,
3607
3607
  condition: null,
@@ -3624,7 +3624,7 @@ var Wi = (e, t) => {
3624
3624
  minWidth: 0
3625
3625
  }
3626
3626
  },
3627
- children: Object.keys(Gi).map((e) => (0, Z.jsx)(et, {
3627
+ children: Object.keys(Gi).map((e) => (0, Z.jsx)(tt, {
3628
3628
  value: e,
3629
3629
  label: n(Gi[e])
3630
3630
  }, e))
@@ -3639,22 +3639,22 @@ var Wi = (e, t) => {
3639
3639
  readOnly: o,
3640
3640
  onConditionChange: (e) => t.setCondition(e)
3641
3641
  })] }),
3642
- r?.type === y.ScaleType.ColorScale && (0, Z.jsx)(Ai, {
3642
+ r?.type === _.ScaleType.ColorScale && (0, Z.jsx)(Ai, {
3643
3643
  scale: r,
3644
3644
  onScaleChange: l,
3645
3645
  readOnly: o
3646
3646
  }),
3647
- r?.type === y.ScaleType.DataBar && (0, Z.jsx)(Pi, {
3647
+ r?.type === _.ScaleType.DataBar && (0, Z.jsx)(Pi, {
3648
3648
  scale: r,
3649
3649
  onScaleChange: l,
3650
3650
  readOnly: o
3651
3651
  }),
3652
- r?.type === y.ScaleType.IconSet && (0, Z.jsx)(zi, {
3652
+ r?.type === _.ScaleType.IconSet && (0, Z.jsx)(zi, {
3653
3653
  scale: r,
3654
3654
  onScaleChange: l,
3655
3655
  readOnly: o
3656
3656
  }),
3657
- s === "classic" && (0, Z.jsx)(L, {
3657
+ s === "classic" && (0, Z.jsx)(I, {
3658
3658
  sx: {
3659
3659
  pl: 2,
3660
3660
  pr: 2,
@@ -3662,8 +3662,8 @@ var Wi = (e, t) => {
3662
3662
  borderColor: "divider",
3663
3663
  borderRadius: 1
3664
3664
  },
3665
- children: (0, Z.jsx)(Ot, {
3666
- control: (0, Z.jsx)(Dt, {
3665
+ children: (0, Z.jsx)(kt, {
3666
+ control: (0, Z.jsx)(Ot, {
3667
3667
  checked: t.isStopIfTrue(),
3668
3668
  disabled: o,
3669
3669
  onChange: (e) => t.setStopIfTrue(e.target.checked)
@@ -3677,7 +3677,7 @@ var Wi = (e, t) => {
3677
3677
  Ki.displayName = "ConditionalFormatEditorPanel";
3678
3678
  var qi = (0, X.memo)(({ item: e }) => {
3679
3679
  let t = j();
3680
- return fn(e, "onAnyChange"), !e.isStopIfTrue() || e.getScale() ? null : (0, Z.jsx)(L, {
3680
+ return mn(e, "onAnyChange"), !e.isStopIfTrue() || e.getScale() ? null : (0, Z.jsx)(I, {
3681
3681
  sx: {
3682
3682
  display: "inline-flex",
3683
3683
  alignItems: "center",
@@ -3689,7 +3689,7 @@ var qi = (0, X.memo)(({ item: e }) => {
3689
3689
  borderRadius: 1,
3690
3690
  color: "text.secondary"
3691
3691
  },
3692
- children: (0, Z.jsx)(B, {
3692
+ children: (0, Z.jsx)(z, {
3693
3693
  variant: "caption",
3694
3694
  children: t("conditionalFormat.stopIfTrue")
3695
3695
  })
@@ -4645,7 +4645,7 @@ var oo = (0, X.memo)(ao), so = Ia({ wrappedRoot: {
4645
4645
  }, [n, d]), v = m?.message;
4646
4646
  return !v && (0, X.isValidElement)(r) && (v = r), v || typeof r != "string" || (v = r), v ||= `Unknown Error: ${r}`, (0, Z.jsx)(Za, {
4647
4647
  ref: t,
4648
- className: xn(yo.root, "error-snackbar"),
4648
+ className: C(yo.root, "error-snackbar"),
4649
4649
  children: (0, Z.jsxs)(xr, {
4650
4650
  className: yo.card,
4651
4651
  style: {
@@ -4657,7 +4657,7 @@ var oo = (0, X.memo)(ao), so = Ia({ wrappedRoot: {
4657
4657
  className: yo.actionRoot,
4658
4658
  children: [
4659
4659
  s ? null : i?.error,
4660
- (0, Z.jsx)(B, {
4660
+ (0, Z.jsx)(z, {
4661
4661
  variant: "body2",
4662
4662
  component: "div",
4663
4663
  className: yo.typography,
@@ -4666,24 +4666,24 @@ var oo = (0, X.memo)(ao), so = Ia({ wrappedRoot: {
4666
4666
  (0, Z.jsx)("div", { style: { flex: "1 1 auto" } }),
4667
4667
  (0, Z.jsxs)("div", {
4668
4668
  className: yo.icons,
4669
- children: [h ? (0, Z.jsx)(R, {
4669
+ children: [h ? (0, Z.jsx)(L, {
4670
4670
  "aria-label": l("toast.showMore"),
4671
4671
  size: "small",
4672
- className: xn(yo.expand, { [yo.expandOpen]: f }),
4672
+ className: C(yo.expand, { [yo.expandOpen]: f }),
4673
4673
  onClick: g,
4674
- children: (0, Z.jsx)(C, { iconKey: "ExpandMore" })
4675
- }) : null, (0, Z.jsx)(R, {
4674
+ children: (0, Z.jsx)(w, { iconKey: "ExpandMore" })
4675
+ }) : null, (0, Z.jsx)(L, {
4676
4676
  size: "small",
4677
4677
  className: yo.expand,
4678
4678
  onClick: _,
4679
- children: (0, Z.jsx)(C, {
4679
+ children: (0, Z.jsx)(w, {
4680
4680
  iconKey: "Close",
4681
4681
  style: { transform: "scale(0.8)" }
4682
4682
  })
4683
4683
  })]
4684
4684
  })
4685
4685
  ]
4686
- }), h ? (0, Z.jsx)(kt, {
4686
+ }), h ? (0, Z.jsx)(At, {
4687
4687
  in: f,
4688
4688
  timeout: "auto",
4689
4689
  children: (0, Z.jsx)("div", {
@@ -4692,7 +4692,7 @@ var oo = (0, X.memo)(ao), so = Ia({ wrappedRoot: {
4692
4692
  backgroundColor: "color-mix(in srgb, var(--sxl-color-error) 90%, var(--sxl-color-base-100))",
4693
4693
  borderTop: "1px solid var(--sxl-color-error)"
4694
4694
  },
4695
- children: (0, Z.jsx)(en, {
4695
+ children: (0, Z.jsx)(nn, {
4696
4696
  error: o,
4697
4697
  hideLineNumbers: !0
4698
4698
  })
@@ -4702,10 +4702,10 @@ var oo = (0, X.memo)(ao), so = Ia({ wrappedRoot: {
4702
4702
  });
4703
4703
  }));
4704
4704
  bo.displayName = "ToastError";
4705
- var xo = (0, Z.jsx)(() => (0, Z.jsx)(He, {
4705
+ var xo = (0, Z.jsx)(() => (0, Z.jsx)(We, {
4706
4706
  label: "SheetXL",
4707
4707
  description: j()("logo.description"),
4708
- children: (0, Z.jsx)(L, {
4708
+ children: (0, Z.jsx)(I, {
4709
4709
  component: "a",
4710
4710
  href: "https://www.sheetxl.com",
4711
4711
  target: "_blank",
@@ -4718,24 +4718,24 @@ var xo = (0, Z.jsx)(() => (0, Z.jsx)(He, {
4718
4718
  marginLeft: "6px",
4719
4719
  cursor: "pointer"
4720
4720
  },
4721
- children: (0, Z.jsx)(Ft, { style: {
4721
+ children: (0, Z.jsx)(Jt, { style: {
4722
4722
  width: "24px",
4723
4723
  height: "24px"
4724
4724
  } })
4725
4725
  })
4726
4726
  }), {}), So = (0, X.memo)((0, X.forwardRef)((e, t) => {
4727
4727
  let { workbook: n, className: r, logo: i = xo, mainElement: a, startElement: o, endElement: s, ...c } = e, [l, { width: u }] = Cn(), d = u < 530, f = (0, X.useRef)(null);
4728
- return (0, Z.jsx)(L, {
4728
+ return (0, Z.jsx)(I, {
4729
4729
  ...c,
4730
- ref: bn([
4730
+ ref: xn([
4731
4731
  f,
4732
4732
  l,
4733
4733
  t
4734
4734
  ]),
4735
4735
  className: r,
4736
- children: ft({
4736
+ children: pt({
4737
4737
  isCompact: d,
4738
- wrapperSelect: (e) => (0, Z.jsxs)(L, {
4738
+ wrapperSelect: (e) => (0, Z.jsxs)(I, {
4739
4739
  sx: {
4740
4740
  display: "grid",
4741
4741
  gridTemplateColumns: "1fr auto 1fr",
@@ -4746,7 +4746,7 @@ var xo = (0, Z.jsx)(() => (0, Z.jsx)(He, {
4746
4746
  paddingRight: (e) => e.spacing(1)
4747
4747
  },
4748
4748
  children: [
4749
- (0, Z.jsxs)(L, {
4749
+ (0, Z.jsxs)(I, {
4750
4750
  sx: {
4751
4751
  display: "flex",
4752
4752
  flexDirection: "row",
@@ -4754,7 +4754,7 @@ var xo = (0, Z.jsx)(() => (0, Z.jsx)(He, {
4754
4754
  justifyContent: "start",
4755
4755
  gap: (e) => e.spacing(.5)
4756
4756
  },
4757
- children: [i, (0, Z.jsxs)(L, {
4757
+ children: [i, (0, Z.jsxs)(I, {
4758
4758
  sx: {
4759
4759
  display: "flex",
4760
4760
  flexDirection: "row",
@@ -4764,7 +4764,7 @@ var xo = (0, Z.jsx)(() => (0, Z.jsx)(He, {
4764
4764
  children: [o, e]
4765
4765
  })]
4766
4766
  }),
4767
- (0, Z.jsx)(L, {
4767
+ (0, Z.jsx)(I, {
4768
4768
  sx: {
4769
4769
  display: "flex",
4770
4770
  flexDirection: "row",
@@ -4775,7 +4775,7 @@ var xo = (0, Z.jsx)(() => (0, Z.jsx)(He, {
4775
4775
  },
4776
4776
  children: a
4777
4777
  }),
4778
- (0, Z.jsx)(L, {
4778
+ (0, Z.jsx)(I, {
4779
4779
  sx: {
4780
4780
  display: "flex",
4781
4781
  alignItems: "center",
@@ -4819,7 +4819,7 @@ function Co(e, t) {
4819
4819
  };
4820
4820
  n && (a.progress.onStart = n);
4821
4821
  let s = -5;
4822
- return Bt.read({
4822
+ return un.read({
4823
4823
  ...a,
4824
4824
  progress: {
4825
4825
  async onStart(e, t) {
@@ -4839,7 +4839,7 @@ function Co(e, t) {
4839
4839
  r?.(), i.length > 0 && (c.showMessage(o("workbook.importWarnings")), console.warn("Import warnings:\n" + i.join("\n")));
4840
4840
  },
4841
4841
  onWarning(e) {
4842
- c.showMessage(e, { type: fe.Info });
4842
+ c.showMessage(e, { type: pe.Info });
4843
4843
  }
4844
4844
  }
4845
4845
  });
@@ -4857,11 +4857,11 @@ function Co(e, t) {
4857
4857
  };
4858
4858
  if (n) {
4859
4859
  let n = e.getOrigin(), r = t?.exts?.[0] ?? (n.getExtension() || "sxl"), c = `${a || n.getName() || o("workbook.defaultName")}.${r}`;
4860
- i = await Bt.writeAs(e, c, {
4860
+ i = await un.writeAs(e, c, {
4861
4861
  ...s,
4862
4862
  prompt: !0
4863
4863
  });
4864
- } else i = await Bt.write(e, void 0, s);
4864
+ } else i = await un.write(e, void 0, s);
4865
4865
  return !!i;
4866
4866
  };
4867
4867
  return e.updateCommand("newWorkbook", { callback: () => {
@@ -4877,9 +4877,9 @@ function Co(e, t) {
4877
4877
  defaultOption: "Cancel"
4878
4878
  }) !== "Close" || window.close();
4879
4879
  } }), (async () => {
4880
- let t = await Bt.getWriteFormats();
4880
+ let t = await un.getWriteFormats();
4881
4881
  if (l) return;
4882
- let i = Bt.canWrite(), a = Bt.canRead();
4882
+ let i = un.canWrite(), a = un.canRead();
4883
4883
  if (i) {
4884
4884
  let r = (e) => {
4885
4885
  let r = e ? t.find((t) => t.key === e) : void 0;
@@ -4962,8 +4962,8 @@ function Co(e, t) {
4962
4962
  tags: ["noTransaction", "noRepeat"],
4963
4963
  callback: async (e = null) => {
4964
4964
  let t = e;
4965
- if (t || Bt.canRead() || (t = await (async () => {
4966
- let e = await Bt.getReadFormats(), t = [...new Set(e.flatMap((e) => e.exts))].map((e) => `.${e}`);
4965
+ if (t || un.canRead() || (t = await (async () => {
4966
+ let e = await un.getReadFormats(), t = [...new Set(e.flatMap((e) => e.exts))].map((e) => `.${e}`);
4967
4967
  return d.openFileDialog(t.length ? t.join(",") : "*.*");
4968
4968
  })(), t)) return m(t);
4969
4969
  }
@@ -5049,8 +5049,8 @@ function Co(e, t) {
5049
5049
  };
5050
5050
  }
5051
5051
  So.displayName = "StudioToolbar";
5052
- var wo = (0, X.lazy)(() => import("./dL4ou82v-pjouw0s2.js"));
5053
- nt();
5052
+ var wo = (0, X.lazy)(() => import("./CeD6pRhoV1LfiJjD.js"));
5053
+ rt();
5054
5054
  var To = /* @__PURE__ */ new Set(["ui"]), Eo = (e) => {
5055
5055
  let t = (e) => {
5056
5056
  if (typeof e != "function") return e;
@@ -5079,9 +5079,9 @@ var To = /* @__PURE__ */ new Set(["ui"]), Eo = (e) => {
5079
5079
  }
5080
5080
  return { getAllCommands: () => r };
5081
5081
  }, Do = (e) => {
5082
- let { children: t, workbook: n, setWorkbook: r, workbookTitle: i, isDirty: a } = e, o = ae.useCommandScope(), c = ge(), { showModal: l } = $t(), u = j(), d = (0, X.useRef)(a);
5082
+ let { children: t, workbook: n, setWorkbook: r, workbookTitle: i, isDirty: a } = e, o = ae.useCommandScope(), c = ve(), { showModal: l } = $t(), u = j(), d = (0, X.useRef)(a);
5083
5083
  d.current = a;
5084
- let p = be(() => {
5084
+ let p = Se(() => {
5085
5085
  let e = o?.getRoot().getRegistry();
5086
5086
  if (!e) return;
5087
5087
  let t = l(wo, {
@@ -5106,7 +5106,7 @@ var To = /* @__PURE__ */ new Set(["ui"]), Eo = (e) => {
5106
5106
  } });
5107
5107
  }(e, { showShortcuts: p }), () => e.remove();
5108
5108
  }, [o, p]);
5109
- let m = pt("(prefers-color-scheme: dark)"), { themeMode: h } = _e(), [g, _] = de(hn.Mode, null), [v, y] = de(hn.DarkGrid, !1), [b, x] = de(hn.DarkImages, !1);
5109
+ let m = mt("(prefers-color-scheme: dark)"), { themeMode: h } = ye(), [g, _] = fe(rn.Mode, null), [v, y] = fe(rn.DarkGrid, !1), [b, x] = fe(rn.DarkImages, !1);
5110
5110
  (0, X.useEffect)(() => {
5111
5111
  if (!o) return;
5112
5112
  let e = o.getRoot().contribution();
@@ -5148,8 +5148,8 @@ var To = /* @__PURE__ */ new Set(["ui"]), Eo = (e) => {
5148
5148
  y,
5149
5149
  x
5150
5150
  ]);
5151
- let [S, C] = de(te.Active, null), [w, T] = (0, X.useState)(() => s.getActive());
5152
- (0, X.useEffect)(() => s.addChangeListener(T), []), (0, X.useEffect)(() => {
5151
+ let [S, C] = fe(ne.Active, null), [w, ee] = (0, X.useState)(() => s.getActive());
5152
+ (0, X.useEffect)(() => s.addChangeListener(ee), []), (0, X.useEffect)(() => {
5153
5153
  S && S !== s.getActive() && s.setActive(S);
5154
5154
  }, [S]), (0, X.useEffect)(() => {
5155
5155
  if (!o) return;
@@ -5172,7 +5172,7 @@ var To = /* @__PURE__ */ new Set(["ui"]), Eo = (e) => {
5172
5172
  w,
5173
5173
  C
5174
5174
  ]);
5175
- let { isFullscreenAvailable: E, isFullscreenEnabled: D, toggleFullscreen: ee } = me();
5175
+ let { isFullscreenAvailable: T, isFullscreenEnabled: E, toggleFullscreen: D } = ge();
5176
5176
  return (0, X.useEffect)(() => {
5177
5177
  if (!o) return;
5178
5178
  let e = o.getRoot().contribution();
@@ -5186,15 +5186,15 @@ var To = /* @__PURE__ */ new Set(["ui"]), Eo = (e) => {
5186
5186
  }
5187
5187
  });
5188
5188
  }(e, {
5189
- isFullscreenAvailable: E,
5190
- isFullscreenEnabled: D,
5191
- toggleFullscreen: ee
5189
+ isFullscreenAvailable: T,
5190
+ isFullscreenEnabled: E,
5191
+ toggleFullscreen: D
5192
5192
  }), () => e.remove();
5193
5193
  }, [
5194
5194
  o,
5195
+ T,
5195
5196
  E,
5196
- D,
5197
- ee
5197
+ D
5198
5198
  ]), (0, X.useEffect)(() => {
5199
5199
  if (!o || !n) return;
5200
5200
  let e = o.getRoot().contribution(), t = Co(e, {
@@ -5244,7 +5244,7 @@ var Oo = ({ renderWorkbook: e }) => {
5244
5244
  } else e.type === "dragleave" && i(null);
5245
5245
  e.preventDefault();
5246
5246
  }
5247
- }, [t]), o = be((e) => {
5247
+ }, [t]), o = Se((e) => {
5248
5248
  if (r && t && (e.preventDefault(), e.stopPropagation(), i(null), e.dataTransfer.files && e.dataTransfer.files.length > 0)) {
5249
5249
  let r = e.dataTransfer.files[0];
5250
5250
  if (!r) return;
@@ -5267,12 +5267,12 @@ var Oo = ({ renderWorkbook: e }) => {
5267
5267
  } }
5268
5268
  });
5269
5269
  } else {
5270
- if (!Bt.canRead()) return;
5270
+ if (!un.canRead()) return;
5271
5271
  let n = (e.dataTransfer.items?.[0])?.getAsFileSystemHandle?.();
5272
5272
  n ? n.then((e) => t.execute("openWorkbook", e?.kind === "file" ? e : r)).catch(() => t.execute("openWorkbook", r)) : t.execute("openWorkbook", r);
5273
5273
  }
5274
5274
  }
5275
- }, [t, r]), s = (0, X.useMemo)(() => r && r.text ? (0, Z.jsx)(L, {
5275
+ }, [t, r]), s = (0, X.useMemo)(() => r && r.text ? (0, Z.jsx)(I, {
5276
5276
  className: "drop-overlay",
5277
5277
  sx: {
5278
5278
  position: "absolute",
@@ -5286,7 +5286,7 @@ var Oo = ({ renderWorkbook: e }) => {
5286
5286
  background: (e) => e.palette.divider,
5287
5287
  color: (e) => e.palette.primary.dark
5288
5288
  },
5289
- children: (0, Z.jsx)(B, {
5289
+ children: (0, Z.jsx)(z, {
5290
5290
  variant: "h4",
5291
5291
  children: r.text
5292
5292
  })
@@ -5306,7 +5306,7 @@ var Oo = ({ renderWorkbook: e }) => {
5306
5306
  }), s] });
5307
5307
  }, ko = (0, X.memo)((e) => {
5308
5308
  let { workbook: t, setWorkbook: n, refDocumentTitle: r, titleWorkbook: i, setWorkbookTitle: a, isDirty: o, initialCommandAnchor: s, renderWorkbook: c } = e;
5309
- return (0, Z.jsx)(Lt, {
5309
+ return (0, Z.jsx)(tn, {
5310
5310
  initialAnchor: s,
5311
5311
  children: (0, Z.jsx)(Do, {
5312
5312
  workbook: t,
@@ -5319,17 +5319,17 @@ var Oo = ({ renderWorkbook: e }) => {
5319
5319
  });
5320
5320
  ko.displayName = "CommandsWrapper";
5321
5321
  var Ao = {
5322
- sort: () => import("./CbWjq5gAF4Empxh12.js"),
5323
- numberFormat: () => import("./SHgLeVOmAOO6qQOR2.js"),
5324
- hyperlink: () => import("./COnOkTReK4TBuBx52.js"),
5325
- comments: () => import("./WMPhjIQfI4mQp3Bg.js"),
5326
- find: () => import("./DacWhkcqwjK3VnAA2.js"),
5327
- tableNew: () => import("./ko_gqiF0zCGAHO1l2.js"),
5328
- namedDetails: () => import("./DzRXZ_mhd60oh-A52.js"),
5329
- insertFunction: () => import("./C5yCm-TSfx74xL002.js"),
5330
- resizeHeader: () => import("./BvONQrMoKCUSnkqN.js"),
5331
- workbookStatistics: () => import("./B0iMXJrxCR1TmwMa2.js"),
5332
- protectWorkbook: () => import("./C8cUmy4K0YRcXOBu2.js").then((e) => e.n).then((e) => e.n)
5322
+ sort: () => import("./-OScuzLTidF7HNaK2.js"),
5323
+ numberFormat: () => import("./TO6gumfUOp2BgIlL.js"),
5324
+ hyperlink: () => import("./C8lUc_Lc03y-Whne2.js"),
5325
+ comments: () => import("./_5fYV4ZbX0S6MIpD2.js"),
5326
+ find: () => import("./rT3DomLULA1xJhfY2.js"),
5327
+ tableNew: () => import("./Dhmpgvzx9S-LYXr82.js"),
5328
+ namedDetails: () => import("./CK4ZQnpkZHN03RHP2.js"),
5329
+ insertFunction: () => import("./BWcc3hnnAhelxjOr2.js"),
5330
+ resizeHeader: () => import("./ClkL86jz-4Gf_Uwg2.js"),
5331
+ workbookStatistics: () => import("./ykS_w8WDHugwGY9S2.js"),
5332
+ protectWorkbook: () => import("./dywzP082Q24_9Q5U2.js").then((e) => e.t).then((e) => e.n)
5333
5333
  }, jo = ["find"], Mo = (0, X.memo)((e) => {
5334
5334
  let { children: t } = e, n = vo(), r = n ? n.enqueueSnackbar : () => {}, a = n ? n.closeSnackbar : () => {}, [o, s] = (0, X.useState)({
5335
5335
  isMounted: !1,
@@ -5347,7 +5347,7 @@ var Ao = {
5347
5347
  ...e,
5348
5348
  isMounted: !1
5349
5349
  }));
5350
- }, []), d = j(), f = i.EmptyObject, p = cn(f), m = Zt(f), h = jt(f), g = (0, X.useRef)(!1);
5350
+ }, []), d = j(), f = i.EmptyObject, p = ln(f), m = Xt(f), h = Nt(f), g = (0, X.useRef)(!1);
5351
5351
  (0, X.useEffect)(() => {
5352
5352
  if (g.current) return;
5353
5353
  g.current = !0;
@@ -5364,16 +5364,16 @@ var Ao = {
5364
5364
  e.add(t.onceKey), _.current = e;
5365
5365
  }
5366
5366
  let n = {
5367
- variant: t?.type ?? fe.Info,
5367
+ variant: t?.type ?? pe.Info,
5368
5368
  anchorOrigin: {
5369
5369
  vertical: "top",
5370
5370
  horizontal: "center"
5371
5371
  },
5372
5372
  preventDuplicate: t?.preventDuplicate,
5373
- persist: t?.persist ?? t?.type === fe.Error,
5374
- action: (e) => (0, Z.jsx)(R, {
5373
+ persist: t?.persist ?? t?.type === pe.Error,
5374
+ action: (e) => (0, Z.jsx)(L, {
5375
5375
  onClick: () => a(e),
5376
- children: (0, Z.jsx)(C, { iconKey: "Cancel" })
5376
+ children: (0, Z.jsx)(w, { iconKey: "Cancel" })
5377
5377
  })
5378
5378
  };
5379
5379
  t?.enqueueProps && Object.assign(n, t.enqueueProps), e || console.log("message is 'null'", t), r(e ?? "Alert", n);
@@ -5404,20 +5404,20 @@ var Ao = {
5404
5404
  showOptions: m,
5405
5405
  showInput: h,
5406
5406
  showError: (t) => {
5407
- let n, r = fe.Error, i = d("error.unknown");
5408
- typeof t == "string" ? i = t : t instanceof Error && (n = t, t.message && (i = d(t.message))), t instanceof l && (r = fe.Info), e(i, {
5407
+ let n, r = pe.Error, i = d("error.unknown");
5408
+ typeof t == "string" ? i = t : t instanceof Error && (n = t, t.message && (i = d(t.message))), t instanceof l && (r = pe.Info), e(i, {
5409
5409
  type: r,
5410
5410
  enqueueProps: { error: n }
5411
5411
  });
5412
5412
  }
5413
- }, n = new pe();
5413
+ }, n = new me();
5414
5414
  return n.setOverrides(t), n;
5415
5415
  }, [d]);
5416
5416
  (0, X.useEffect)(() => {
5417
5417
  o.starting.size <= 0 || !o.isMounted || s((e) => {
5418
5418
  let t = new Map(e.running);
5419
5419
  return e.starting.forEach((e, n) => {
5420
- let r = oe(() => {
5420
+ let r = se(() => {
5421
5421
  s((e) => {
5422
5422
  let t = new Map(e.running);
5423
5423
  return t.delete(n), {
@@ -5448,8 +5448,8 @@ var Ao = {
5448
5448
  }, [o]);
5449
5449
  let [y, b] = (0, X.useState)(null);
5450
5450
  return (0, X.useEffect)(() => {
5451
- o.starting.size !== 0 || o.running.size !== 0 ? b((0, Z.jsx)(_n, {
5452
- icon: (0, Z.jsx)(vn, { sx: {
5451
+ o.starting.size !== 0 || o.running.size !== 0 ? b((0, Z.jsx)(gn, {
5452
+ icon: (0, Z.jsx)(yn, { sx: {
5453
5453
  transform: "scale(0.7)",
5454
5454
  marginLeft: "-6px"
5455
5455
  } }),
@@ -5472,19 +5472,19 @@ var Ao = {
5472
5472
  o.running,
5473
5473
  o.label,
5474
5474
  o.progress
5475
- ]), (0, Z.jsxs)(O, {
5475
+ ]), (0, Z.jsxs)(k, {
5476
5476
  notifier: v,
5477
5477
  children: [y, t]
5478
5478
  });
5479
5479
  });
5480
5480
  Mo.displayName = "StudioNotifierProvider";
5481
5481
  var No = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255, 255, 255, 0.2)))", Po = (0, X.memo)((0, X.forwardRef)((e, t) => {
5482
- let { children: n, title: r, taskPanes: i, onSelect: a, selected: o, registry: s = dn, style: c, iconsOnly: l, side: u = "right", className: d, ...f } = e, p = u !== "right", m = (0, X.useMemo)(() => i.map((t) => {
5482
+ let { children: n, title: r, taskPanes: i, onSelect: a, selected: o, registry: s = cn, style: c, iconsOnly: l, side: u = "right", className: d, ...f } = e, p = u !== "right", m = (0, X.useMemo)(() => i.map((t) => {
5483
5483
  let n = s.getRegisteredTaskPane(t);
5484
5484
  if (!n) return null;
5485
5485
  let r = n.getIcon?.();
5486
- typeof r == "string" && (r = (0, Z.jsx)(C, { iconKey: r }));
5487
- let i = t === o, a = r ? (0, Z.jsx)(L, {
5486
+ typeof r == "string" && (r = (0, Z.jsx)(w, { iconKey: r }));
5487
+ let i = t === o, a = r ? (0, Z.jsx)(I, {
5488
5488
  sx: {
5489
5489
  display: "inline-block",
5490
5490
  transform: p ? "rotate(-90deg)" : "rotate(90deg)",
@@ -5492,20 +5492,20 @@ var No = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5492
5492
  color: (e) => e.palette.text.secondary
5493
5493
  },
5494
5494
  children: r
5495
- }) : null, c = !r || !l && i, u = (0, Z.jsx)(L, {
5495
+ }) : null, c = !r || !l && i, u = (0, Z.jsx)(I, {
5496
5496
  sx: {
5497
5497
  display: "grid",
5498
5498
  gridTemplateColumns: c ? "1fr" : "0fr",
5499
5499
  opacity: +!!c,
5500
5500
  transition: (e) => e.transitions.create(["grid-template-columns", "opacity"], { duration: e.transitions.duration.short })
5501
5501
  },
5502
- children: (0, Z.jsx)(L, {
5502
+ children: (0, Z.jsx)(I, {
5503
5503
  sx: {
5504
5504
  overflow: "hidden",
5505
5505
  minWidth: 0,
5506
5506
  minHeight: 0
5507
5507
  },
5508
- children: (0, Z.jsx)(B, {
5508
+ children: (0, Z.jsx)(z, {
5509
5509
  component: "div",
5510
5510
  sx: {
5511
5511
  textTransform: "none",
@@ -5518,13 +5518,13 @@ var No = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5518
5518
  })
5519
5519
  })
5520
5520
  });
5521
- return (0, Z.jsx)(et, {
5521
+ return (0, Z.jsx)(tt, {
5522
5522
  value: t,
5523
- label: (0, Z.jsx)(W, {
5523
+ label: (0, Z.jsx)(U, {
5524
5524
  disableInteractive: !0,
5525
5525
  title: n.getTitle() ?? "",
5526
5526
  placement: "left-start",
5527
- children: (0, Z.jsxs)(L, {
5527
+ children: (0, Z.jsxs)(I, {
5528
5528
  sx: {
5529
5529
  padding: "0px 0px",
5530
5530
  writingMode: p ? "vertical-lr" : "vertical-rl",
@@ -5544,7 +5544,7 @@ var No = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5544
5544
  minHeight: "0px",
5545
5545
  borderRadius: "4px"
5546
5546
  },
5547
- className: xn("taskpane-strip-item", { "Mui-selected": i }),
5547
+ className: C("taskpane-strip-item", { "Mui-selected": i }),
5548
5548
  onClick: () => e.onSelect(t)
5549
5549
  }, t);
5550
5550
  }), [
@@ -5554,11 +5554,11 @@ var No = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5554
5554
  s,
5555
5555
  p,
5556
5556
  l,
5557
- k()
5557
+ A()
5558
5558
  ]);
5559
- return (0, Z.jsx)(L, {
5559
+ return (0, Z.jsx)(I, {
5560
5560
  ref: T(t, () => ({ isTaskPaneStrip: () => !0 }), []),
5561
- className: (0, X.useMemo)(() => xn("taskpane-strip", d), [d]),
5561
+ className: (0, X.useMemo)(() => C("taskpane-strip", d), [d]),
5562
5562
  sx: {
5563
5563
  paddingLeft: p ? void 0 : "2px",
5564
5564
  paddingRight: p ? "2px" : void 0,
@@ -5566,7 +5566,7 @@ var No = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5566
5566
  ...c
5567
5567
  },
5568
5568
  ...f,
5569
- children: (0, Z.jsx)($e, {
5569
+ children: (0, Z.jsx)(et, {
5570
5570
  orientation: "vertical",
5571
5571
  variant: "scrollable",
5572
5572
  value: o,
@@ -5586,8 +5586,8 @@ var No = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5586
5586
  });
5587
5587
  })), Fo = (e) => {
5588
5588
  let { title: t, icon: n, onClose: r, readOnly: i, focused: a, ...o } = e, s = (0, X.useRef)(null), c = j();
5589
- return (0, Z.jsx)(De, {
5590
- className: xn({ "Mui-selected": a }),
5589
+ return (0, Z.jsx)(ke, {
5590
+ className: C({ "Mui-selected": a }),
5591
5591
  sx: {
5592
5592
  display: "flex",
5593
5593
  flex: "1 1 %0",
@@ -5601,11 +5601,11 @@ var No = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5601
5601
  opacity: 1,
5602
5602
  transitionDuration: (e) => e.transitions.duration.shortest / 2 + "ms"
5603
5603
  },
5604
- backgroundColor: (e) => ue(e.palette.action.hover, .03),
5604
+ backgroundColor: (e) => de(e.palette.action.hover, .03),
5605
5605
  borderBottom: `solid ${No} 1px`
5606
5606
  },
5607
5607
  ...o,
5608
- children: (0, Z.jsxs)(L, {
5608
+ children: (0, Z.jsxs)(I, {
5609
5609
  sx: {
5610
5610
  display: "flex",
5611
5611
  flex: "1 1 10%",
@@ -5616,15 +5616,15 @@ var No = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5616
5616
  marginLeft: (e) => e.spacing(1),
5617
5617
  marginRight: (e) => e.spacing(1)
5618
5618
  },
5619
- children: [(0, Z.jsx)(L, {
5619
+ children: [(0, Z.jsx)(I, {
5620
5620
  sx: {
5621
5621
  flex: "1 1 100%",
5622
5622
  paddingLeft: (e) => e.spacing(1)
5623
5623
  },
5624
5624
  children: t
5625
- }), (0, Z.jsx)(He, {
5625
+ }), (0, Z.jsx)(We, {
5626
5626
  label: c("taskPane.close"),
5627
- children: (0, Z.jsx)(R, {
5627
+ children: (0, Z.jsx)(L, {
5628
5628
  "aria-label": "close",
5629
5629
  sx: { color: (e) => e.palette.text.icon ?? e.palette.action.active },
5630
5630
  touchRippleRef: s,
@@ -5634,14 +5634,14 @@ var No = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5634
5634
  onPointerUp: () => {
5635
5635
  r();
5636
5636
  },
5637
- children: (0, Z.jsx)(C, { iconKey: "Close" })
5637
+ children: (0, Z.jsx)(w, { iconKey: "Close" })
5638
5638
  })
5639
5639
  })]
5640
5640
  })
5641
5641
  });
5642
5642
  }, Io = (0, X.forwardRef)((e, t) => {
5643
- let { model: n, side: r, ...i } = e, a = he();
5644
- return (0, Z.jsx)(At, {
5643
+ let { model: n, side: r, ...i } = e, a = _e();
5644
+ return (0, Z.jsx)(jt, {
5645
5645
  model: n,
5646
5646
  ref: t,
5647
5647
  propsFrame: { style: {
@@ -5667,30 +5667,30 @@ var No = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5667
5667
  display: "flex",
5668
5668
  boxSizing: "border-box"
5669
5669
  }, zo = (0, X.memo)((0, X.forwardRef)((e, t) => {
5670
- let n, r, { mainElement: i, sidebarElement: a, position: o, persistKey: s, onPositionChange: c, className: l, style: u, taskSide: d = "right", ...f } = e, [p, m] = de(s ?? null, Lo), h = he(), [g, { width: _ }] = Cn(), v = _ > 530 || _ === 0, y = (0, X.useRef)(null), b = null, x = 4, S = 13;
5670
+ 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, Lo), h = _e(), [g, { width: _ }] = Cn(), v = _ > 530 || _ === 0, y = (0, X.useRef)(null), b = null, x = 4, S = 13;
5671
5671
  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);
5672
- 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) => {
5672
+ 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) => {
5673
5673
  if (e == null) return "40%";
5674
5674
  if (typeof e == "number" || typeof e == "string") return e;
5675
5675
  let n = e[t];
5676
5676
  return n == null ? "40%" : `${n}%`;
5677
- })(o, te) : `${ne}%`, re = s || c ? (e) => {
5677
+ })(o, ne) : `${O}%`, re = s || c ? (e) => {
5678
5678
  s && m((t) => ({
5679
5679
  ...t,
5680
- [te]: e.percent
5680
+ [ne]: e.percent
5681
5681
  })), c?.(e, {
5682
5682
  orientation: D,
5683
- side: ee,
5684
- key: te
5683
+ side: te,
5684
+ key: ne
5685
5685
  });
5686
5686
  } : void 0;
5687
- return E && T ? (w = a, T = i, r = { style: {
5687
+ return E && T ? (ee = a, T = i, r = { style: {
5688
5688
  flexDirection: "column",
5689
5689
  boxSizing: "border-box",
5690
5690
  paddingRight: "2px"
5691
- } }, n = {}, C = {
5691
+ } }, n = {}, w = {
5692
5692
  fixedPane: "before",
5693
- position: O,
5693
+ position: k,
5694
5694
  minBefore: v ? "280px" : "120px",
5695
5695
  splitDirection: v ? "row" : "column"
5696
5696
  }) : (n = { style: {
@@ -5699,13 +5699,13 @@ var No = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5699
5699
  } }, r = { style: {
5700
5700
  marginLeft: v ? "0px" : "4px",
5701
5701
  marginRight: v ? "8px" : "4px"
5702
- } }, C = {
5702
+ } }, w = {
5703
5703
  fixedPane: "after",
5704
- position: O,
5704
+ position: k,
5705
5705
  minAfter: v ? "280px" : "120px",
5706
5706
  splitDirection: v ? "row" : "column"
5707
- }), (0, Z.jsx)(F, {
5708
- ref: bn([
5707
+ }), (0, Z.jsx)(P, {
5708
+ ref: xn([
5709
5709
  y,
5710
5710
  g,
5711
5711
  t
@@ -5716,10 +5716,10 @@ var No = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5716
5716
  ...u
5717
5717
  } : Ro,
5718
5718
  ...f,
5719
- ...C,
5719
+ ...w,
5720
5720
  onPositionChange: re,
5721
5721
  propsResizer: {
5722
- className: xn("styled-resizer", "_styled-resizer_fdl5y_3"),
5722
+ className: C("styled-resizer", "_styled-resizer_fdl5y_3"),
5723
5723
  style: {
5724
5724
  minWidth: v ? "7px" : void 0,
5725
5725
  minHeight: v ? void 0 : "6px",
@@ -5728,7 +5728,7 @@ var No = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5728
5728
  maskPosition: E ? v ? "center center" : "bottom center" : v ? "left center" : "top center"
5729
5729
  }
5730
5730
  },
5731
- elementBefore: w,
5731
+ elementBefore: ee,
5732
5732
  propsPaneBefore: n,
5733
5733
  elementAfter: T,
5734
5734
  propsPaneAfter: r
@@ -5737,9 +5737,9 @@ var No = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5737
5737
  zo.displayName = "StudioSplitPane";
5738
5738
  var Bo = (0, X.memo)((e) => {
5739
5739
  let { dataValidation: t } = e, n = j(), r = t.getRenderHints();
5740
- return fn(t, "onAnyChange"), (0, Z.jsxs)(Ie, {
5740
+ return mn(t, "onAnyChange"), (0, Z.jsxs)(Re, {
5741
5741
  tabIndex: 0,
5742
- className: ct["editor-panel"],
5742
+ className: lt["editor-panel"],
5743
5743
  sx: {
5744
5744
  gap: (e) => e.spacing(1),
5745
5745
  paddingTop: (e) => e.spacing(1.25),
@@ -5751,9 +5751,9 @@ var Bo = (0, X.memo)((e) => {
5751
5751
  overflow: "auto"
5752
5752
  },
5753
5753
  children: [
5754
- (0, Z.jsx)(L, {
5754
+ (0, Z.jsx)(I, {
5755
5755
  sx: { margin: (e) => e.spacing(1.25) },
5756
- children: (0, Z.jsx)(B, {
5756
+ children: (0, Z.jsx)(z, {
5757
5757
  variant: "body2",
5758
5758
  sx: { color: "text.secondary" },
5759
5759
  children: n("dataValidation.range", { range: t.getRanges().toString() })
@@ -5784,14 +5784,14 @@ var Bo = (0, X.memo)((e) => {
5784
5784
  }
5785
5785
  },
5786
5786
  children: [(0, Z.jsx)(hr, {
5787
- expandIcon: (0, Z.jsx)(C, { iconKey: "ExpandMore" }),
5787
+ expandIcon: (0, Z.jsx)(w, { iconKey: "ExpandMore" }),
5788
5788
  sx: {
5789
5789
  px: 2,
5790
5790
  "& .MuiAccordionSummary-content": { my: 0 },
5791
5791
  "&.Mui-expanded .MuiAccordionSummary-content": { my: 0 }
5792
5792
  },
5793
- children: (0, Z.jsx)(Ot, {
5794
- control: (0, Z.jsx)(Dt, {
5793
+ children: (0, Z.jsx)(kt, {
5794
+ control: (0, Z.jsx)(Ot, {
5795
5795
  checked: t.isShowPromptMessage(),
5796
5796
  onChange: (e) => {
5797
5797
  e.stopPropagation();
@@ -5850,14 +5850,14 @@ var Bo = (0, X.memo)((e) => {
5850
5850
  }
5851
5851
  },
5852
5852
  children: [(0, Z.jsx)(hr, {
5853
- expandIcon: (0, Z.jsx)(C, { iconKey: "ExpandMore" }),
5853
+ expandIcon: (0, Z.jsx)(w, { iconKey: "ExpandMore" }),
5854
5854
  sx: {
5855
5855
  px: 2,
5856
5856
  "& .MuiAccordionSummary-content": { my: 0 },
5857
5857
  "&.Mui-expanded .MuiAccordionSummary-content": { my: 0 }
5858
5858
  },
5859
- children: (0, Z.jsx)(Ot, {
5860
- control: (0, Z.jsx)(Dt, {
5859
+ children: (0, Z.jsx)(kt, {
5860
+ control: (0, Z.jsx)(Ot, {
5861
5861
  checked: t.isShowAlertMessage(),
5862
5862
  onChange: (e) => {
5863
5863
  e.stopPropagation();
@@ -5880,7 +5880,7 @@ var Bo = (0, X.memo)((e) => {
5880
5880
  gap: 2
5881
5881
  },
5882
5882
  children: [
5883
- (0, Z.jsxs)(Je, {
5883
+ (0, Z.jsxs)(G, {
5884
5884
  fullWidth: !0,
5885
5885
  size: "small",
5886
5886
  sx: { backgroundColor: "background.paper" },
@@ -5925,7 +5925,7 @@ var Bo = (0, X.memo)((e) => {
5925
5925
  ]
5926
5926
  })]
5927
5927
  }),
5928
- r.length > 0 && (0, Z.jsx)(L, {
5928
+ r.length > 0 && (0, Z.jsx)(I, {
5929
5929
  sx: {
5930
5930
  pl: 2,
5931
5931
  pr: 2,
@@ -5934,8 +5934,8 @@ var Bo = (0, X.memo)((e) => {
5934
5934
  borderColor: "divider",
5935
5935
  borderRadius: 1
5936
5936
  },
5937
- children: (0, Z.jsx)(Ot, {
5938
- control: (0, Z.jsx)(Dt, {
5937
+ children: (0, Z.jsx)(kt, {
5938
+ control: (0, Z.jsx)(Ot, {
5939
5939
  checked: !t.isHideDropdown(),
5940
5940
  onChange: (e) => t.setHideDropdown(!e.target.checked)
5941
5941
  }),
@@ -5970,7 +5970,7 @@ var Vo = {
5970
5970
  getCardTitle: (e, t) => e.getCondition()?.toString() ?? t("dataValidation.noCondition"),
5971
5971
  CardBody: ({ item: e }) => {
5972
5972
  let t = j();
5973
- return e.isShowPromptMessage() && e.getPromptTitle() ? (0, Z.jsx)(B, {
5973
+ return e.isShowPromptMessage() && e.getPromptTitle() ? (0, Z.jsx)(z, {
5974
5974
  variant: "caption",
5975
5975
  sx: {
5976
5976
  color: (e) => e.palette.text.secondary,
@@ -5993,7 +5993,7 @@ var Vo = {
5993
5993
  Ho.displayName = "DataValidationDetailsPanel";
5994
5994
  var Uo = /* @__PURE__ */ new WeakMap(), Wo = (0, X.memo)((e) => {
5995
5995
  let { protectedRange: t } = e, n = j();
5996
- fn(t, "onAnyChange");
5996
+ mn(t, "onAnyChange");
5997
5997
  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 = (() => {
5998
5998
  try {
5999
5999
  let e = t.getRanges();
@@ -6013,9 +6013,9 @@ var Uo = /* @__PURE__ */ new WeakMap(), Wo = (0, X.memo)((e) => {
6013
6013
  }
6014
6014
  else c(null);
6015
6015
  };
6016
- return (0, Z.jsxs)(Ie, {
6016
+ return (0, Z.jsxs)(Re, {
6017
6017
  tabIndex: 0,
6018
- className: ct["editor-panel"],
6018
+ className: lt["editor-panel"],
6019
6019
  sx: {
6020
6020
  gap: (e) => e.spacing(1),
6021
6021
  paddingTop: (e) => e.spacing(1.25),
@@ -6026,14 +6026,14 @@ var Uo = /* @__PURE__ */ new WeakMap(), Wo = (0, X.memo)((e) => {
6026
6026
  borderRadius: (e) => e.spacing(1.25),
6027
6027
  overflow: "auto"
6028
6028
  },
6029
- children: [(0, Z.jsx)(L, {
6029
+ children: [(0, Z.jsx)(I, {
6030
6030
  sx: { margin: (e) => e.spacing(1.25) },
6031
- children: (0, Z.jsx)(B, {
6031
+ children: (0, Z.jsx)(z, {
6032
6032
  variant: "body2",
6033
6033
  sx: { color: "text.secondary" },
6034
6034
  children: n("protectedRange.range", { range: t.getRanges().toString() })
6035
6035
  })
6036
- }), (0, Z.jsxs)(L, {
6036
+ }), (0, Z.jsxs)(I, {
6037
6037
  sx: {
6038
6038
  display: "flex",
6039
6039
  flexDirection: "column",
@@ -6071,12 +6071,12 @@ var Uo = /* @__PURE__ */ new WeakMap(), Wo = (0, X.memo)((e) => {
6071
6071
  let n = e.target.value;
6072
6072
  u(n), f(!1), n ? Uo.set(t, n) : Uo.delete(t);
6073
6073
  },
6074
- slotProps: { input: { startAdornment: p && !d ? (0, Z.jsx)(yn, {
6074
+ slotProps: { input: { startAdornment: p && !d ? (0, Z.jsx)(bn, {
6075
6075
  position: "start",
6076
- children: (0, Z.jsx)(C, { iconKey: "Lock" })
6076
+ children: (0, Z.jsx)(w, { iconKey: "Lock" })
6077
6077
  }) : void 0 } }
6078
6078
  }),
6079
- p && !l ? (0, Z.jsx)(ke, {
6079
+ p && !l ? (0, Z.jsx)(je, {
6080
6080
  size: "small",
6081
6081
  color: "inherit",
6082
6082
  disabled: r || d,
@@ -6089,7 +6089,7 @@ var Uo = /* @__PURE__ */ new WeakMap(), Wo = (0, X.memo)((e) => {
6089
6089
  },
6090
6090
  children: n("protectedRange.removePassword")
6091
6091
  }) : null,
6092
- t.getSecurityDescriptor() ? (0, Z.jsx)(B, {
6092
+ t.getSecurityDescriptor() ? (0, Z.jsx)(z, {
6093
6093
  variant: "caption",
6094
6094
  sx: {
6095
6095
  color: "text.secondary",
@@ -6130,7 +6130,7 @@ var Go = {
6130
6130
  getCardTitle: (e, t) => e.getName() || t("protectedRange.unnamed"),
6131
6131
  CardBody: ({ item: e }) => {
6132
6132
  let t = j();
6133
- return e.hasPassword() ? (0, Z.jsx)(B, {
6133
+ return e.hasPassword() ? (0, Z.jsx)(z, {
6134
6134
  variant: "caption",
6135
6135
  sx: {
6136
6136
  color: (e) => e.palette.text.secondary,
@@ -6149,7 +6149,7 @@ var Go = {
6149
6149
  ...r
6150
6150
  });
6151
6151
  }));
6152
- Ko.displayName = "ProtectedRangeDetailsPanel", tt(), w.register("plugin-table", { icons: {} }), dn.registerTaskPane({
6152
+ Ko.displayName = "ProtectedRangeDetailsPanel", nt(), ee.register("plugin-table", { icons: {} }), cn.registerTaskPane({
6153
6153
  key: "dataValidationDetails",
6154
6154
  getTitle: () => "Data Validation",
6155
6155
  getIcon: () => "DataValidation",
@@ -6161,7 +6161,7 @@ Ko.displayName = "ProtectedRangeDetailsPanel", tt(), w.register("plugin-table",
6161
6161
  ...a
6162
6162
  });
6163
6163
  }
6164
- }, !0), dn.registerTaskPane({
6164
+ }, !0), cn.registerTaskPane({
6165
6165
  key: "conditionalFormatDetails",
6166
6166
  getTitle: () => "Conditional Formatting",
6167
6167
  getIcon: () => "FormatPaint",
@@ -6174,7 +6174,7 @@ Ko.displayName = "ProtectedRangeDetailsPanel", tt(), w.register("plugin-table",
6174
6174
  ...o
6175
6175
  });
6176
6176
  }
6177
- }, !0), dn.registerTaskPane({
6177
+ }, !0), cn.registerTaskPane({
6178
6178
  key: "protectedRangeDetails",
6179
6179
  getTitle: () => "Allow Edit Ranges",
6180
6180
  getIcon: () => "Lock",
@@ -6186,7 +6186,7 @@ Ko.displayName = "ProtectedRangeDetailsPanel", tt(), w.register("plugin-table",
6186
6186
  ...a
6187
6187
  });
6188
6188
  }
6189
- }, !0), Ct(), gt();
6189
+ }, !0), wt(), _t();
6190
6190
  var qo = () => {
6191
6191
  let e, t, n = new Promise((n, r) => {
6192
6192
  e = n, t = r;
@@ -6206,129 +6206,129 @@ var qo = () => {
6206
6206
  let { colorSchemes: n, ...r } = e, a = n?.[t ? "dark" : "light"];
6207
6207
  return a && typeof a == "object" ? i.deepMerge(r, a) : r;
6208
6208
  }, Yo = (0, X.memo)((0, X.forwardRef)((e, t) => {
6209
- let { className: n, sx: r, square: a, elevation: o, variant: c, style: l, onWorkbookLoad: u, onDocumentError: d, renderDocumentError: f = ut, propsDocumentError: p, propsTaskPaneArea: m, renderTaskPaneArea: h = Xo, 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: A = Ze, propsDocumentLoading: oe, propsWorkbook: j, showFormulaBar: ce, propsFormulaBar: le, renderFormulaBar: ue, editable: fe, showStatusBar: pe, propsStatusBar: M, renderStatusBar: N, propsToolbar: me, renderToolbar: P, ...he } = e, F = (0, X.useRef)(null), ge = (0, X.useRef)(null), I = (0, X.useRef)(null), ve = be(() => {
6210
- I.current?.getNamedCollectionEditorElement?.()?.focus?.();
6211
- }, []), xe = be(d ?? (() => {}), [d]), Se = be(ie ?? (() => {}), [ie]), Ce = k?.placeHolder, [we] = de(hn.Mode, void 0), { themeMode: De } = _e({ mode: we ?? void 0 }), [Oe] = de(te.Active, null), ke = (0, X.useRef)(Oe);
6212
- ke.current = Oe;
6213
- let Ae = Te(), R = (0, X.useMemo)(() => ({
6214
- light: ze(!1, i.deepMerge(Jo(E, !1), xt(Ae?.light))),
6215
- dark: ze(!0, i.deepMerge(Jo(E, !0), xt(Ae?.dark)))
6209
+ let { className: n, sx: r, square: a, elevation: o, variant: c, style: l, onWorkbookLoad: u, onDocumentError: d, renderDocumentError: f = dt, propsDocumentError: p, propsTaskPaneArea: m, renderTaskPaneArea: h = Xo, 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 = Qe, 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(() => {
6210
+ F.current?.getNamedCollectionEditorElement?.()?.focus?.();
6211
+ }, []), Ce = Se(d ?? (() => {}), [d]), we = Se(ie ?? (() => {}), [ie]), Te = A?.placeHolder, [Ee] = fe(rn.Mode, void 0), { themeMode: ke } = ye({ mode: Ee ?? void 0 }), [Ae] = fe(ne.Active, null), je = (0, X.useRef)(Ae);
6212
+ je.current = Ae;
6213
+ let Me = De(), L = (0, X.useMemo)(() => ({
6214
+ light: Ve(!1, i.deepMerge(Jo(E, !1), St(Me?.light))),
6215
+ dark: Ve(!0, i.deepMerge(Jo(E, !0), St(Me?.dark)))
6216
6216
  }), [
6217
6217
  E,
6218
- Ae?.light,
6219
- Ae?.dark
6220
- ]), z = De === "dark", je = se("studio", (0, X.useId)()), Me = (0, X.useMemo)(() => mt(R.light, R.dark, `.${je}`, D), [
6221
- R,
6222
- je,
6218
+ Me?.light,
6219
+ Me?.dark
6220
+ ]), R = ke === "dark", Ne = ce("studio", (0, X.useId)()), Pe = (0, X.useMemo)(() => ht(L.light, L.dark, `.${Ne}`, D), [
6221
+ L,
6222
+ Ne,
6223
6223
  D
6224
- ]), Ne = (0, X.useMemo)(() => pn("sxl-defaults", `.${je}`), [je]), B = Gt(), [Pe, Fe] = (0, X.useState)(() => v ?? null);
6224
+ ]), Fe = (0, X.useMemo)(() => an("sxl-defaults", `.${Ne}`), [Ne]), z = pn(), [Ie, Le] = (0, X.useState)(() => v ?? null);
6225
6225
  (0, X.useEffect)(() => {
6226
- Fe(v ?? null);
6226
+ Le(v ?? null);
6227
6227
  }, [v]);
6228
- let [Le, Re] = (0, X.useState)(0), V = (0, X.useRef)(null);
6229
- V.current ||= qo();
6230
- let Be = qt(Pe, {
6231
- io: Bt,
6232
- defaultTheme: B.getDefaultTheme(),
6233
- reloadKey: Le
6234
- }), H = Be.status === "loaded" ? Be.workbook : null, U = (0, X.useMemo)(() => Be.status === "error" ? {
6228
+ let [ze, Be] = (0, X.useState)(0), B = (0, X.useRef)(null);
6229
+ B.current ||= qo();
6230
+ let He = vn(Ie, {
6231
+ io: un,
6232
+ defaultTheme: z.getDefaultTheme(),
6233
+ reloadKey: ze
6234
+ }), V = He.status === "loaded" ? He.workbook : null, H = (0, X.useMemo)(() => He.status === "error" ? {
6235
6235
  status: "error",
6236
- error: Be.error
6237
- } : Be.status === "loaded" ? {
6236
+ error: He.error
6237
+ } : He.status === "loaded" ? {
6238
6238
  status: "loaded",
6239
- workbook: Be.workbook
6240
- } : { status: "loading" }, [Be]);
6239
+ workbook: He.workbook
6240
+ } : { status: "loading" }, [He]);
6241
6241
  (0, X.useEffect)(() => {
6242
- V.current.settled && (V.current = qo());
6243
- }, [Pe, Le]), (0, X.useEffect)(() => {
6244
- U.status === "loaded" ? V.current.resolve(U.workbook) : U.status === "error" && (xe?.(U.error), V.current.reject(U.error));
6245
- }, [U]);
6246
- let [W, Ve] = (0, X.useState)(null);
6247
- H && !W && Ve(H);
6248
- let G = H && W && H !== W ? H : null, He = (0, X.useRef)(G);
6249
- He.current = G;
6250
- let Ue = (0, X.useRef)(W);
6251
- Ue.current = W;
6252
- let We = (0, X.useRef)([]), Ge = (0, X.useCallback)((e) => {
6253
- let t = Ue.current;
6254
- t && We.current.push(t), Fe(e);
6242
+ B.current.settled && (B.current = qo());
6243
+ }, [Ie, ze]), (0, X.useEffect)(() => {
6244
+ H.status === "loaded" ? B.current.resolve(H.workbook) : H.status === "error" && (Ce?.(H.error), B.current.reject(H.error));
6245
+ }, [H]);
6246
+ let [U, Ue] = (0, X.useState)(null);
6247
+ V && !U && Ue(V);
6248
+ let W = V && U && V !== U ? V : null, We = (0, X.useRef)(W);
6249
+ We.current = W;
6250
+ let Ge = (0, X.useRef)(U);
6251
+ Ge.current = U;
6252
+ let Ke = (0, X.useRef)([]), qe = (0, X.useCallback)((e) => {
6253
+ let t = Ge.current;
6254
+ t && Ke.current.push(t), Le(e);
6255
6255
  }, []);
6256
6256
  (0, X.useEffect)(() => {
6257
- let e = We.current;
6257
+ let e = Ke.current;
6258
6258
  if (e.length !== 0) {
6259
- We.current = e.filter((e) => e === W);
6259
+ Ke.current = e.filter((e) => e === U);
6260
6260
  for (let t = 0; t < e.length; t++) {
6261
6261
  let n = e[t];
6262
- if (n !== W) try {
6262
+ if (n !== U) try {
6263
6263
  n.close();
6264
6264
  } catch (e) {
6265
6265
  console.warn("Unable to close the replaced workbook", e);
6266
6266
  }
6267
6267
  }
6268
6268
  }
6269
- }, [W]);
6270
- let Ke = fe ? null : W, qe = un(), Je = (0, X.useMemo)(() => Ke ? Qt(Ke.getSelectedSheet(), { referenceMode: qe }) : null, [Ke, qe]), K = fe ?? Je, Ye = (0, X.useRef)(K);
6271
- Ye.current = K, (0, X.useEffect)(() => {
6269
+ }, [U]);
6270
+ let Je = pe ? null : U, Ye = fn(), G = (0, X.useMemo)(() => Je ? Zt(Je.getSelectedSheet(), { referenceMode: Ye }) : null, [Je, Ye]), K = pe ?? G, Xe = (0, X.useRef)(K);
6271
+ Xe.current = K, (0, X.useEffect)(() => {
6272
6272
  if (!K) return;
6273
6273
  let e = K.getSession();
6274
6274
  return K.subscribe(() => {
6275
6275
  let t = e;
6276
- e = K.getSession(), t && !e && t.getActiveEditorId() === "formula-bar" && I.current?.contains?.(document.activeElement) && F.current?.focus();
6276
+ e = K.getSession(), t && !e && t.getActiveEditorId() === "formula-bar" && F.current?.contains?.(document.activeElement) && P.current?.focus();
6277
6277
  });
6278
6278
  }, [K]);
6279
- let q = mn(W), { isDirty: Xe, saveState: $e } = rn(W, Bt), et = an(W), tt = (0, X.useRef)($e);
6280
- tt.current = $e;
6281
- let nt = (0, X.useCallback)(() => tt.current?.isDirty() ?? !1, []), it = (0, X.useRef)(U);
6282
- it.current = U;
6283
- let [at, ot] = (0, X.useState)(null), st = O ?? k?.title, [ct, lt] = (0, X.useState)(null);
6279
+ let q = sn(U), { isDirty: Ze, saveState: et } = _n(U, un), tt = dn(U), nt = (0, X.useRef)(et);
6280
+ nt.current = et;
6281
+ let rt = (0, X.useCallback)(() => nt.current?.isDirty() ?? !1, []), at = (0, X.useRef)(H);
6282
+ at.current = H;
6283
+ let [ot, st] = (0, X.useState)(null), ct = k ?? A?.title, [lt, ut] = (0, X.useState)(null);
6284
6284
  (0, X.useEffect)(() => {
6285
- lt(null);
6286
- }, [W]);
6287
- let dt = st ?? ct ?? q ?? "";
6285
+ ut(null);
6286
+ }, [U]);
6287
+ let ft = ct ?? lt ?? q ?? "";
6288
6288
  (0, X.useEffect)(() => {
6289
- Se?.(Xe);
6290
- }, [Xe]);
6291
- let ft = be(y ?? (() => {}), [y]);
6289
+ we?.(Ze);
6290
+ }, [Ze]);
6291
+ let pt = Se(y ?? (() => {}), [y]);
6292
6292
  (0, X.useEffect)(() => {
6293
- ft?.(H);
6294
- }, [H]);
6295
- let pt = (0, X.useRef)(H);
6296
- pt.current = H, fn(W, "onViewChange");
6297
- let ht = (0, X.useMemo)(() => (0, Z.jsx)(gn, {
6293
+ pt?.(V);
6294
+ }, [V]);
6295
+ let mt = (0, X.useRef)(V);
6296
+ mt.current = V, mn(U, "onViewChange");
6297
+ let gt = (0, X.useMemo)(() => (0, Z.jsx)(hn, {
6298
6298
  groupKey: "helpOptions",
6299
6299
  disableHover: !0,
6300
6300
  sx: { padding: "0" },
6301
6301
  propsButton: { sx: { maxHeight: "22px" } }
6302
- }), []), [gt, _t] = (0, X.useState)(null), vt = (0, X.useCallback)((e) => {
6303
- _t(e);
6302
+ }), []), [_t, vt] = (0, X.useState)(null), yt = (0, X.useCallback)((e) => {
6303
+ vt(e);
6304
6304
  }, []);
6305
6305
  (0, X.useEffect)(() => {
6306
- w.prefetch();
6306
+ ee.prefetch();
6307
6307
  }, []);
6308
- let bt = (0, X.useRef)(null);
6309
- bt.current ||= qo();
6310
- let St = (0, X.useRef)(null), Ct = (0, X.useCallback)(() => St.current?.getSheetElement()?.getGridSurface()?.getPane()?.getElement() ?? bt.current.promise, []), wt = be(async (e) => {
6311
- let t = ke.current;
6312
- t && t !== s.getActive() && await s.setActive(t), await ae.DefaultCommandCatalogService.prefetch(t ?? void 0), ot(e), St.current = e.source, bt.current.settled || bt.current.resolve(e.source.getSheetElement()?.getGridSurface()?.getPane()?.getElement() ?? null), u?.(e);
6313
- }, []), Et = (0, X.useRef)(null), Dt = (0, X.useCallback)((e) => {
6308
+ let xt = (0, X.useRef)(null);
6309
+ xt.current ||= qo();
6310
+ let Ct = (0, X.useRef)(null), wt = (0, X.useCallback)(() => Ct.current?.getSheetElement()?.getGridSurface()?.getPane()?.getElement() ?? xt.current.promise, []), Tt = Se(async (e) => {
6311
+ let t = je.current;
6312
+ t && t !== s.getActive() && await s.setActive(t), await ae.DefaultCommandCatalogService.prefetch(t ?? void 0), st(e), Ct.current = e.source, xt.current.settled || xt.current.resolve(e.source.getSheetElement()?.getGridSurface()?.getPane()?.getElement() ?? null), u?.(e);
6313
+ }, []), Dt = (0, X.useRef)(null), Ot = (0, X.useCallback)((e) => {
6314
6314
  let t = null, n = {
6315
6315
  readOnly: !0,
6316
- ...k
6316
+ ...A
6317
6317
  };
6318
- return k?.hidden || (t = (0, Z.jsx)(Tt, {
6318
+ return A?.hidden || (t = (0, Z.jsx)(Et, {
6319
6319
  ...n,
6320
6320
  style: {
6321
6321
  maxWidth: "100%",
6322
- ...k?.style
6322
+ ...A?.style
6323
6323
  },
6324
- workbook: e.workbook ?? F.current,
6325
- ref: Et,
6326
- title: dt,
6327
- modified: Xe,
6328
- encrypted: et,
6329
- placeHolder: Ce,
6324
+ workbook: e.workbook ?? P.current,
6325
+ ref: Dt,
6326
+ title: ft,
6327
+ modified: Ze,
6328
+ encrypted: tt,
6329
+ placeHolder: Te,
6330
6330
  onTitleChange: (e) => {
6331
- lt(e), k?.onTitleChange?.(e);
6331
+ ut(e), A?.onTitleChange?.(e);
6332
6332
  }
6333
6333
  })), (0, Z.jsx)(So, {
6334
6334
  ...e,
@@ -6339,25 +6339,25 @@ var qo = () => {
6339
6339
  });
6340
6340
  }, [
6341
6341
  b,
6342
- dt,
6343
- Xe,
6344
- et,
6345
- k,
6342
+ ft,
6343
+ Ze,
6344
+ tt,
6345
+ A,
6346
6346
  x,
6347
6347
  S
6348
6348
  ]);
6349
6349
  (0, X.useEffect)(() => {
6350
- let e = F.current;
6350
+ let e = P.current;
6351
6351
  if (!e) return;
6352
6352
  let t = (e) => e.preventDefault();
6353
6353
  return e.addEventListener("wheel", t, { passive: !1 }), () => {
6354
6354
  e.removeEventListener("wheel", t);
6355
6355
  };
6356
- }, [at]);
6357
- let [Ot, J] = (0, X.useState)(null);
6356
+ }, [ot]);
6357
+ let [kt, J] = (0, X.useState)(null);
6358
6358
  (0, X.useEffect)(() => {
6359
- J(at?.source?.getCommandScope?.() ?? null);
6360
- }, [at]);
6359
+ J(ot?.source?.getCommandScope?.() ?? null);
6360
+ }, [ot]);
6361
6361
  let Y = (0, X.useMemo)(() => ({
6362
6362
  "& .SnackbarContainer-root": { position: "absolute !important" },
6363
6363
  "& .notistack-SnackbarContainer > div": { maxWidth: "min(100%, 720px)" },
@@ -6372,49 +6372,49 @@ var qo = () => {
6372
6372
  },
6373
6373
  "*": { userSelect: "none" },
6374
6374
  ...r
6375
- }), [r]), [kt, At] = (0, X.useState)(null), [, jt] = de(null, !1);
6375
+ }), [r]), [At, jt] = (0, X.useState)(null), [, Mt] = fe(null, !1);
6376
6376
  (0, X.useEffect)(() => {
6377
- jt(kt != null);
6378
- }, [kt, jt]);
6377
+ Mt(At != null);
6378
+ }, [At, Mt]);
6379
6379
  let Nt = (0, X.useCallback)((e) => h({
6380
- model: W,
6380
+ model: U,
6381
6381
  side: g,
6382
6382
  ...e,
6383
6383
  ...m
6384
6384
  }), [
6385
- W,
6385
+ U,
6386
6386
  g,
6387
6387
  m
6388
6388
  ]), Pt = T(t, () => ({
6389
6389
  isStudioElement: () => !0,
6390
- getWorkbookElement: () => F.current,
6391
- getWorkbook: () => pt.current ?? null,
6392
- isDirty: () => tt.current?.isDirty() ?? !1,
6393
- getEditable: () => Ye.current,
6394
- getFormulaBarElement: () => I.current ?? null,
6395
- focus: () => F.current?.focus(),
6396
- whenReady: () => (V.current ||= qo(), V.current.promise),
6397
- getWorkbookState: () => it.current,
6398
- retry: () => Re((e) => e + 1)
6399
- }), []), Ft = (0, X.useRef)(!1), Lt = be((e, t) => {
6400
- t === He.current && requestAnimationFrame(() => requestAnimationFrame(() => {
6401
- t === He.current && (Ft.current = Pt.current?.contains(document.activeElement) ?? !0, Ve(t), wt(e));
6390
+ getWorkbookElement: () => P.current,
6391
+ getWorkbook: () => mt.current ?? null,
6392
+ isDirty: () => nt.current?.isDirty() ?? !1,
6393
+ getEditable: () => Xe.current,
6394
+ getFormulaBarElement: () => F.current ?? null,
6395
+ focus: () => P.current?.focus(),
6396
+ whenReady: () => (B.current ||= qo(), B.current.promise),
6397
+ getWorkbookState: () => at.current,
6398
+ retry: () => Be((e) => e + 1)
6399
+ }), []), Ft = (0, X.useRef)(!1), It = Se((e, t) => {
6400
+ t === We.current && requestAnimationFrame(() => requestAnimationFrame(() => {
6401
+ t === We.current && (Ft.current = Pt.current?.contains(document.activeElement) ?? !0, Ue(t), Tt(e));
6402
6402
  }));
6403
6403
  }, []);
6404
6404
  (0, X.useEffect)(() => {
6405
- Ft.current && (Ft.current = !1, F.current?.focus());
6406
- }, [W]);
6407
- let Rt = (0, X.useCallback)(() => (0, Z.jsx)(Z.Fragment, {}), []), Ht = (0, X.useCallback)((e) => {
6408
- let { ref: t, ...n } = e, i = z ? R.dark : R.light, s = U.status === "error" ? f({
6405
+ Ft.current && (Ft.current = !1, P.current?.focus());
6406
+ }, [U]);
6407
+ let Rt = (0, X.useCallback)(() => (0, Z.jsx)(Z.Fragment, {}), []), Vt = (0, X.useCallback)((e) => {
6408
+ let { ref: t, ...n } = e, i = R ? L.dark : L.light, s = H.status === "error" ? f({
6409
6409
  ...p,
6410
6410
  style: {
6411
6411
  width: "100%",
6412
6412
  height: "100%",
6413
6413
  ...p?.style
6414
6414
  },
6415
- error: U.error
6415
+ error: H.error
6416
6416
  }) : null;
6417
- if (s && !W) return (0, Z.jsx)(Ie, {
6417
+ if (s && !U) return (0, Z.jsx)(Re, {
6418
6418
  sx: r,
6419
6419
  style: {
6420
6420
  width: "100%",
@@ -6427,12 +6427,12 @@ var qo = () => {
6427
6427
  children: s
6428
6428
  });
6429
6429
  let l = null;
6430
- if (W) {
6431
- let e = W, r = e.getView(), a = ce ?? r?.isShowFormulaBar(), o = pe ?? r?.isShowStatusBar(), s = at?.source ?? F.current, c = (P ?? Dt)({
6430
+ if (U) {
6431
+ let e = U, r = e.getView(), a = le ?? r?.isShowFormulaBar(), o = me ?? r?.isShowStatusBar(), s = ot?.source ?? P.current, c = (N ?? Ot)({
6432
6432
  workbook: s,
6433
- ...me
6434
- }), u = a ? (ue ?? rt)({
6435
- ref: I,
6433
+ ...ge
6434
+ }), u = a ? (de ?? it)({
6435
+ ref: F,
6436
6436
  style: {
6437
6437
  marginTop: i.spacing(.25),
6438
6438
  marginLeft: i.spacing(1),
@@ -6441,27 +6441,27 @@ var qo = () => {
6441
6441
  },
6442
6442
  workbook: e,
6443
6443
  editable: K ?? void 0,
6444
- ...le,
6444
+ ...ue,
6445
6445
  propsNamedCollectionEditor: {
6446
6446
  restoreFocus: (e) => s?.focus(e),
6447
- ...le?.propsNamedCollectionEditor
6447
+ ...ue?.propsNamedCollectionEditor
6448
6448
  }
6449
- }) : null, d = o ? (N ?? Qe)({
6450
- childrenEnd: ht,
6449
+ }) : null, d = o ? (he ?? $e)({
6450
+ childrenEnd: gt,
6451
6451
  ...M
6452
- }) : null, f = (e, r) => (0, Z.jsx)(yt, {
6452
+ }) : null, f = (e, r) => (0, Z.jsx)(bt, {
6453
6453
  ...j,
6454
6454
  tabIndex: 0,
6455
- autoFocus: !r && ne,
6455
+ autoFocus: !r && O,
6456
6456
  workbook: e,
6457
6457
  editable: r ? void 0 : K ?? void 0,
6458
- focusNameBox: r ? void 0 : ve,
6459
- ref: r ? ge : bn([t, F]),
6460
- onWorkbookLoad: r ? (t) => Lt(t, e) : wt,
6458
+ focusNameBox: r ? void 0 : be,
6459
+ ref: r ? ve : xn([t, P]),
6460
+ onWorkbookLoad: r ? (t) => It(t, e) : Tt,
6461
6461
  onKeyDown: (e) => {
6462
6462
  _?.(e);
6463
6463
  },
6464
- propsWorkbookLoading: oe,
6464
+ propsWorkbookLoading: se,
6465
6465
  renderWorkbookLoading: Rt,
6466
6466
  style: r ? {
6467
6467
  ...j?.style,
@@ -6483,7 +6483,7 @@ var qo = () => {
6483
6483
  flex: "1 1 100%",
6484
6484
  minWidth: 0,
6485
6485
  minHeight: 0,
6486
- ...zt({
6486
+ ...on({
6487
6487
  window: i.palette.background.default,
6488
6488
  windowText: i.palette.text.primary
6489
6489
  })
@@ -6494,9 +6494,9 @@ var qo = () => {
6494
6494
  (0, Z.jsx)(zo, {
6495
6495
  taskSide: g,
6496
6496
  persistKey: "taskPanePosition",
6497
- sidebarElement: kt ? (0, Z.jsx)(ae.CommandScopeProvider, {
6498
- scope: Ot,
6499
- children: kt
6497
+ sidebarElement: At ? (0, Z.jsx)(ae.CommandScopeProvider, {
6498
+ scope: kt,
6499
+ children: At
6500
6500
  }) : void 0,
6501
6501
  mainElement: (0, Z.jsxs)("div", {
6502
6502
  style: {
@@ -6507,8 +6507,8 @@ var qo = () => {
6507
6507
  minWidth: 0,
6508
6508
  minHeight: 0
6509
6509
  },
6510
- children: [[f(W, !1), G ? f(G, !0) : null], (0, Z.jsx)(L, {
6511
- ref: vt,
6510
+ children: [[f(U, !1), W ? f(W, !0) : null], (0, Z.jsx)(I, {
6511
+ ref: yt,
6512
6512
  sx: {
6513
6513
  position: "absolute",
6514
6514
  top: "10%",
@@ -6525,8 +6525,8 @@ var qo = () => {
6525
6525
  ]
6526
6526
  });
6527
6527
  }
6528
- let u = at ? null : A({ ...oe });
6529
- return (0, Z.jsxs)(Ie, {
6528
+ let u = ot ? null : oe({ ...se });
6529
+ return (0, Z.jsxs)(Re, {
6530
6530
  sx: Y,
6531
6531
  style: {
6532
6532
  width: "100%",
@@ -6543,7 +6543,7 @@ var qo = () => {
6543
6543
  variant: c,
6544
6544
  children: [
6545
6545
  l,
6546
- s ? (0, Z.jsx)(Ie, {
6546
+ s ? (0, Z.jsx)(Re, {
6547
6547
  style: {
6548
6548
  position: "absolute",
6549
6549
  inset: 0,
@@ -6560,93 +6560,93 @@ var qo = () => {
6560
6560
  display: "flex",
6561
6561
  alignItems: "center",
6562
6562
  justifyContent: "center",
6563
- background: `var(--sxl-color-base-100, ${z ? "#121212" : "#fff"})`
6563
+ background: `var(--sxl-color-base-100, ${R ? "#121212" : "#fff"})`
6564
6564
  },
6565
6565
  children: u
6566
6566
  }) : null
6567
6567
  ]
6568
6568
  });
6569
6569
  }, [
6570
+ H,
6570
6571
  U,
6571
6572
  W,
6572
- G,
6573
- at,
6574
- dt,
6575
- A,
6573
+ ot,
6574
+ ft,
6576
6575
  oe,
6576
+ se,
6577
6577
  Rt,
6578
6578
  j,
6579
- he,
6579
+ _e,
6580
6580
  a,
6581
6581
  o,
6582
6582
  c,
6583
- ht,
6583
+ gt,
6584
6584
  f,
6585
6585
  p,
6586
- Dt,
6586
+ Ot,
6587
6587
  Y,
6588
- kt,
6588
+ At,
6589
6589
  g,
6590
- Ot,
6591
- ce,
6590
+ kt,
6592
6591
  le,
6593
6592
  ue,
6593
+ de,
6594
6594
  K,
6595
- pe,
6595
+ me,
6596
6596
  M,
6597
+ he,
6598
+ ge,
6597
6599
  N,
6598
- me,
6599
- P,
6600
- R,
6601
- z
6602
- ]), Ut = (0, Z.jsx)(_o, {
6600
+ L,
6601
+ R
6602
+ ]), Ht = (0, Z.jsx)(_o, {
6603
6603
  maxSnack: 3,
6604
- domRoot: gt ?? void 0,
6604
+ domRoot: _t ?? void 0,
6605
6605
  anchorOrigin: {
6606
6606
  vertical: "bottom",
6607
6607
  horizontal: "right"
6608
6608
  },
6609
6609
  autoHideDuration: 3500,
6610
6610
  onClose: (e, t, n) => {
6611
- F.current?.focus();
6611
+ P.current?.focus();
6612
6612
  },
6613
6613
  Components: { error: bo },
6614
6614
  iconVariant: {
6615
- success: (0, Z.jsx)(Ee, {
6615
+ success: (0, Z.jsx)(Oe, {
6616
6616
  style: { marginRight: "8px" },
6617
6617
  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" })
6618
6618
  }),
6619
- error: (0, Z.jsx)(C, {
6619
+ error: (0, Z.jsx)(w, {
6620
6620
  iconKey: "ErrorAlert",
6621
6621
  style: { marginRight: "8px" }
6622
6622
  })
6623
6623
  },
6624
- children: (0, Z.jsx)(Mt, {
6625
- workbook: W,
6626
- children: (0, Z.jsx)(ln, {
6624
+ children: (0, Z.jsx)(zt, {
6625
+ workbook: U,
6626
+ children: (0, Z.jsx)(Qt, {
6627
6627
  renderArea: Nt,
6628
6628
  onUpdateArea: (e) => {
6629
- At(e);
6629
+ jt(e);
6630
6630
  },
6631
- children: (0, Z.jsx)(Vt, { children: (0, Z.jsx)(Mo, { children: (0, Z.jsx)(ye, { children: (0, Z.jsx)(re, { children: (0, Z.jsx)(ko, {
6632
- workbook: W,
6633
- initialCommandAnchor: Ct,
6634
- renderWorkbook: Ht,
6635
- setWorkbook: Ge,
6636
- titleWorkbook: dt,
6637
- setWorkbookTitle: lt,
6638
- refDocumentTitle: Et,
6639
- isDirty: nt
6631
+ children: (0, Z.jsx)(Bt, { children: (0, Z.jsx)(Mo, { children: (0, Z.jsx)(xe, { children: (0, Z.jsx)(re, { children: (0, Z.jsx)(ko, {
6632
+ workbook: U,
6633
+ initialCommandAnchor: wt,
6634
+ renderWorkbook: Vt,
6635
+ setWorkbook: qe,
6636
+ titleWorkbook: ft,
6637
+ setWorkbookTitle: ut,
6638
+ refDocumentTitle: Dt,
6639
+ isDirty: rt
6640
6640
  }) }) }) }) })
6641
6641
  })
6642
6642
  })
6643
6643
  });
6644
- return Ut = (0, Z.jsxs)(tr, {
6645
- theme: z ? R.dark : R.light,
6646
- children: [ee ? (0, Z.jsx)(jr, {}) : null, (0, Z.jsxs)("div", {
6644
+ return Ht = (0, Z.jsxs)(tr, {
6645
+ theme: R ? L.dark : L.light,
6646
+ children: [te ? (0, Z.jsx)(jr, {}) : null, (0, Z.jsxs)("div", {
6647
6647
  ref: Pt,
6648
- className: xn("sheetxl-studio", je, n),
6649
- "data-sxl-theme-mode": z ? "dark" : "light",
6648
+ className: C("sheetxl-studio", Ne, n),
6649
+ "data-sxl-theme-mode": R ? "dark" : "light",
6650
6650
  style: {
6651
6651
  display: "flex",
6652
6652
  flexDirection: "column",
@@ -6658,19 +6658,19 @@ var qo = () => {
6658
6658
  position: "relative",
6659
6659
  ...l
6660
6660
  },
6661
- ...he,
6661
+ ..._e,
6662
6662
  children: [
6663
- (0, Z.jsx)("style", { children: Me }),
6664
- (0, Z.jsx)("style", { children: Ne }),
6665
- (0, Z.jsx)(It, {
6666
- themeScopeClass: je,
6663
+ (0, Z.jsx)("style", { children: Pe }),
6664
+ (0, Z.jsx)("style", { children: Fe }),
6665
+ (0, Z.jsx)(Lt, {
6666
+ themeScopeClass: Ne,
6667
6667
  themeSurface: "app",
6668
- themeMode: De,
6669
- children: Ut
6668
+ themeMode: ke,
6669
+ children: Ht
6670
6670
  })
6671
6671
  ]
6672
6672
  })]
6673
- }), Ut;
6673
+ }), Ht;
6674
6674
  }));
6675
6675
  Yo.displayName = "EagerStudio";
6676
6676
  var Xo = (e) => (0, Z.jsx)(Io, { ...e });