@sheetxl/studio-vanilla 0.7.21 → 0.7.23

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 (192) hide show
  1. package/browser/cjs/{BlV9Yx3ZFFZkpIqA.cjs → 6hXTfNQNdfSoN1r0.cjs} +4 -4
  2. package/browser/cjs/{CkA0Qjb5oCDzMqvt.cjs → 72XVVkAXqU6nGH6O.cjs} +2 -2
  3. package/browser/cjs/{BEUbpk4AljnzeEZu.cjs → AzM9kz9CB-XTtY1c.cjs} +1 -1
  4. package/browser/cjs/{C8kLkPSa7V_EZDVI.cjs → B1Z_Ud4wGWubOGIv.cjs} +1 -1
  5. package/browser/cjs/{iSvsTAjxNcOe4nfr.cjs → B2FKBY84dF5fMQ_c.cjs} +1 -1
  6. package/browser/cjs/{C6S-f2VWTy_7_wpC.cjs → B2kRxmbteboAJ0Zz.cjs} +1 -1
  7. package/browser/cjs/B4wpgduy6y-qElVx.cjs +11 -0
  8. package/browser/cjs/{CfR9YPEANKuvTdxN.cjs → BDB_G5AoMS4HXNSU.cjs} +1 -1
  9. package/browser/cjs/{DpNQUAG-TvQDBKoa.cjs → BEvv1ixH7Q6gCy-J.cjs} +2 -2
  10. package/browser/cjs/{6-vJOr7Q28gyS483.cjs → BRjqE8XDVx8p078D.cjs} +2 -2
  11. package/browser/cjs/{_AtktFOL5ZmIoo3x.cjs → BXP8ZpaWxgkgkk44.cjs} +2 -2
  12. package/browser/cjs/{Bonegnp0I4BgzBlE.cjs → Bc0eMIjYQwLmNQg5.cjs} +2 -2
  13. package/browser/cjs/{DG30v0uDwwizwD2r.cjs → BcXSE9aHGrWBfnOj.cjs} +1 -1
  14. package/browser/cjs/{CrlzYXw3MHGD4_-q.cjs → Bi2cpjX2DsR1TEJo.cjs} +2 -2
  15. package/browser/cjs/{FQg6n4i2NjLOhptV.cjs → BlKjy6et10TxBp4w.cjs} +2 -2
  16. package/browser/cjs/{Doohr9PtvoUazXx3.cjs → BlqB-ROihQlMptFU.cjs} +2 -2
  17. package/browser/cjs/{DyCcBWCnb27xwGeG.cjs → Br0ymt4kSJENpZwz.cjs} +2 -2
  18. package/browser/cjs/{CaODCLchpXyJRQzM.cjs → BuzYgirdJJHoFXSd.cjs} +1 -1
  19. package/browser/cjs/{CzAgQQK8QvyS6_TA.cjs → BwB3QeXmrJ3tXFwy.cjs} +1 -1
  20. package/browser/cjs/{pyrSah1S03Pjcgjz.cjs → C9Jjk1_SYRxaVOZ4.cjs} +1 -1
  21. package/browser/cjs/{Bai88-Sb1JMwJZxx.cjs → CBmVlGshw0nwkibU.cjs} +1 -1
  22. package/browser/cjs/{Bzedo5wSGgXxeqny.cjs → CH0q3bd58_TgfFJl.cjs} +2 -2
  23. package/browser/cjs/{D1XFFsr5xtC70ydy.cjs → CHcpkVGFdDZl5ceN.cjs} +1 -1
  24. package/browser/cjs/{BOyje3Q70GAB5ARH.cjs → CL3SKwAMfIM8OQ8Y.cjs} +4 -4
  25. package/browser/cjs/{C8bNFncZgt3sY1nV.cjs → CLs6jUtAkC8svAgF.cjs} +1 -1
  26. package/browser/cjs/{97jt2JXgyNPl7Mtt.cjs → CNQD8XOzGc7o2W90.cjs} +1 -1
  27. package/browser/cjs/{DhvPc6q6NqMbAEvF.cjs → CS414gvVMHWeFRuK.cjs} +2 -2
  28. package/browser/cjs/{KLTaZshw3kdfQByJ.cjs → Ci3vk7pBhwMhl_aZ.cjs} +325 -324
  29. package/browser/cjs/{Cpp4lHX4OTpOnmUg.cjs → CkjmygjrSk7kIH4K.cjs} +8 -8
  30. package/browser/cjs/Cl5BY2nF0rGpX6tq.cjs +32 -0
  31. package/browser/cjs/{DTUhB6vlRSty_nEf.cjs → CngB6CyCBfrb0Qwa.cjs} +1 -1
  32. package/browser/cjs/{BDErSmCb8DIXLRwh.cjs → CtBUS1UzfpbMaSuZ.cjs} +1 -1
  33. package/browser/cjs/{DavL30GjAQCawLMH.cjs → CtHA2iv8GQnSQwQX.cjs} +2 -2
  34. package/browser/cjs/{BrOEeOfcxZrMg4eQ.cjs → CtPAGrViYfZ33ZLE.cjs} +1 -1
  35. package/browser/cjs/{JXd5-4lH2t50MwgC.cjs → CxA2cdRmXmPIq7oq.cjs} +1 -1
  36. package/browser/cjs/{CIzozNiy51noyx1l.cjs → Cz_nibGRgM-aJkKz.cjs} +1 -1
  37. package/browser/cjs/{CipmwWwUlaocheHw.cjs → D32mSmyxVYDqXE-i.cjs} +1 -1
  38. package/browser/cjs/{AcaOLiUNlyIuhJJ6.cjs → D9AOyljbl-TYzeas.cjs} +1 -1
  39. package/browser/cjs/{DdSaBJNzCfJpCeVA.cjs → DBiXTTeUD8ATajpv.cjs} +2 -2
  40. package/browser/cjs/{BLiI50zkGELG61E3.cjs → DDYU-KenvBqrZc50.cjs} +1 -1
  41. package/browser/cjs/{eqUnAwibTeTANx3J.cjs → DGFQ9eOW2iZr3TdS.cjs} +1 -1
  42. package/browser/cjs/{CUZawO_WFunopkE1.cjs → DNy-8c1ULcx-Xe8l.cjs} +1 -1
  43. package/browser/cjs/{DGRO7tn2MFWdNQsO.cjs → DR0AwQ50QMCFjute.cjs} +1 -1
  44. package/browser/cjs/DRzHHu7CVu9c7zCP.cjs +327 -0
  45. package/browser/cjs/{MpPjEWu-1oO7TTLJ.cjs → DTMt10FeILz_SQO5.cjs} +1 -1
  46. package/browser/cjs/{CAPVUAfIRWYTSl-R.cjs → DTTVrHrx09QWcx2_.cjs} +1 -1
  47. package/browser/cjs/{TDzW9D6o0zP8plyu.cjs → DTeJ2p2N0WFcJRBD.cjs} +3 -3
  48. package/browser/cjs/{CbqD-HCikI1X_r9e.cjs → Dgq6EtDOgSkDeyPz.cjs} +1 -1
  49. package/browser/cjs/{BbeQO7zyILXGyFPt.cjs → GMp4MmqqqVr5JFli.cjs} +2 -2
  50. package/browser/cjs/{DJFIFH0FbmmkZiCR.cjs → KObcHdrDD1Ec5me_.cjs} +1 -1
  51. package/browser/cjs/{Bfg0ZfAfPLLoL95E.cjs → PiZKNcVHkcWfZZ1C.cjs} +1 -1
  52. package/browser/cjs/{DrTZWF9aIF_bMlaJ.cjs → Y7pPvpvzLpPv7FZQ.cjs} +1 -1
  53. package/browser/cjs/{Dzu6uLKaNk1sgEsK.cjs → aE2LOPZxbBsaEWSu.cjs} +1 -1
  54. package/browser/cjs/{XqyRKqYt_vtON2XQ.cjs → gF7kKo_Y-LnosbGQ.cjs} +6 -6
  55. package/browser/cjs/index.cjs +2 -2
  56. package/browser/cjs/{BxIyKkpK22SVErHN.cjs → lXAWnopHjkkMxaXs.cjs} +1 -1
  57. package/browser/cjs/{CTz-NfTn9ZVOtN4i.cjs → rnnOOqwT2Iyf9cEO.cjs} +2 -2
  58. package/browser/cjs/{ByWmzz4XYnBBLpTQ.cjs → v_-5PoapMiopU9qn.cjs} +2 -2
  59. package/browser/cjs/{Bdf95Imu-qLUe6b1.cjs → xdRudDJE9MqNUCZS.cjs} +2 -2
  60. package/{cdn/assets/BgELNRooJzC8YlDI.js → browser/esm/2UY-PhOgGq7zgRKj.mjs} +1 -1
  61. package/{cdn/assets/0Y5gefudV72yvrqS.js → browser/esm/B1FkKubRAlhSCB21.mjs} +1 -1
  62. package/browser/esm/{D2W2MeIZqi1a78Wo.mjs → B2TWvak4_ojvlRJM.mjs} +4 -4
  63. package/browser/esm/{Bmv_Ya5-UmS_-HS3.mjs → BA6JcZjZOCWFVqUb.mjs} +1 -1
  64. package/browser/esm/{D1ygqUdAm6vV2Wu1.mjs → BDd_8uY3zB_Ab9iI.mjs} +2 -2
  65. package/browser/esm/{peouLp3TIJeeFSPG.mjs → BHO-EawDWv9d7i8v.mjs} +2 -2
  66. package/browser/esm/{KWhubU_eRmtHQTVn.mjs → BJj4QZRilcLpsXjW.mjs} +2 -2
  67. package/browser/esm/{sKs0rW2QqSvXYO-K.mjs → BKs-KqC9cJ42BaLv.mjs} +1 -1
  68. package/browser/esm/{G70q4hSkx8NcTIKq.mjs → BLQxeq0NeuzE2C-K.mjs} +1 -1
  69. package/{cdn/assets/8MJ4FtEQ38pjfWty.js → browser/esm/BMvq1rx0Q_rNcUUm.mjs} +1 -1
  70. package/browser/esm/{CmsP4fA9ozarTWvD.mjs → BOE0ND_jmwxGIe2m.mjs} +1 -1
  71. package/browser/esm/{DGIpt4xqgo5wnXvI.mjs → BQ_x42xVLhbSuLc2.mjs} +3 -3
  72. package/{cdn/assets/DS8TRQNTZhPt1f8w.js → browser/esm/BX8ReYbwEtoLMRkv.mjs} +1 -1
  73. package/browser/esm/{BIz59j9Xq7ky1AL-.mjs → BXGqMlEvL7EGNd-e.mjs} +2 -2
  74. package/browser/esm/{rHLNvA1AXYIckwOI.mjs → BZExhdr7fI8MF5Qb.mjs} +1 -1
  75. package/{cdn/assets/QT4TXuIWZVGw5W5z.js → browser/esm/Bas6kTlPzN4rbonc.mjs} +1 -1
  76. package/{cdn/assets/D-sKAXoVNI9Wl3Gu.js → browser/esm/BgaQJ0q24AXkqkn-.mjs} +1 -1
  77. package/{cdn/assets/BdSlSLWrpvc4_G6J.js → browser/esm/BmHz0lJodLVokxYu.mjs} +1 -1
  78. package/browser/esm/{CdZfyBeXLtHUAnSL.mjs → BoK4s_O9FKuGQXuk.mjs} +1 -1
  79. package/browser/esm/{1ksOtOUVUX4KLQ9u.mjs → C5UDU-382amQ9d0q.mjs} +42 -42
  80. package/browser/esm/{6irz7V0AEik-oFdR.mjs → C8O0ZGq3DEd5TVzJ.mjs} +1 -1
  81. package/{cdn/assets/BdQCRxN2rixUHxOl.js → browser/esm/C9q4ux-nmilOYnbW.mjs} +1 -1
  82. package/{cdn/assets/Cvm_VLcMKFBDg7cI.js → browser/esm/CCemSCZtu-Y2e32b.mjs} +1 -1
  83. package/browser/esm/{B9wzNp0HXrPxB3mR.mjs → CK3ud6TgGssIdPbF.mjs} +12 -12
  84. package/browser/esm/{DHtUFaCIWaHG5aYd.mjs → CPDFwmavyzGeHk6E.mjs} +1 -1
  85. package/browser/esm/{BRqFp2pl8HikXTFt.mjs → CPpVPj5-vRZVycXj.mjs} +26 -26
  86. package/browser/esm/{BrNBOYOb6FQm6NDt.mjs → CTevjxmBAKPMHrGe.mjs} +1 -1
  87. package/browser/esm/{sxz2WOEbh7KwirsX.mjs → CfC1wfGgI4pAe5rd.mjs} +3 -3
  88. package/browser/esm/{DHikzoSuZHmfdSGR.mjs → Ci7s8rqzLGTXiWMT.mjs} +61 -61
  89. package/{cdn/assets/DF3364yTjdOhE032.js → browser/esm/Cr8TwCyc56nEstm8.mjs} +1 -1
  90. package/{cdn/assets/DAgf08hha8x4NkiW.js → browser/esm/CtTLPGOTT90tukmL.mjs} +1 -1
  91. package/browser/esm/{DxgruwCeDJTbE6BY.mjs → D-5JJ4WZPneffh8P.mjs} +325 -324
  92. package/{cdn/assets/ByuHrhH0nFMCN572.js → browser/esm/D2Ed5pWALOMTKViL.mjs} +1 -1
  93. package/browser/esm/{XoVlPZtnLC2eEZlk.mjs → D2dHpCXXPDYgxJBu.mjs} +1 -1
  94. package/browser/esm/{B8QLSA97cr_AP7r9.mjs → D3K9Xz72EWFMqYtn.mjs} +1 -1
  95. package/browser/esm/{PyAqLbHqBupOkXBp.mjs → D45uCdS8WHbGug0i.mjs} +6735 -6730
  96. package/browser/esm/{BfAp_QcJuhDULyD9.mjs → DDtXAC3nRDpqQ0YF.mjs} +1 -1
  97. package/browser/esm/{hAkqzllvkN9izXI7.mjs → DNnQ4-o_b7eHNZeD.mjs} +2 -2
  98. package/{cdn/assets/Chvtx3LElavAKTBM.js → browser/esm/DQV_Bc1cXaMRKx6F.mjs} +117 -115
  99. package/browser/esm/{D1ubbhTM0PPYk_4g.mjs → DZ-K0s06XGi-dDoZ.mjs} +13 -13
  100. package/{cdn/assets/BBdUME9WGIBoo1ny.js → browser/esm/DcBhKDUrrvUDMIE2.mjs} +1 -1
  101. package/browser/esm/{Dulk_QHiqWiy9JRN.mjs → DhJfRrobca0nlzWj.mjs} +13 -13
  102. package/browser/esm/{Cqvfh689dGMncbPU.mjs → Dj4liYT9Q4ASWQ1y.mjs} +49 -49
  103. package/browser/esm/{C8sYGCGQem4v9TwQ.mjs → Dkurz0dS6vMT5OWq.mjs} +2 -2
  104. package/{cdn/assets/M0TBnxbjkgqSV-d-.js → browser/esm/DpnnQaRGJix6H7It.mjs} +1 -1
  105. package/browser/esm/{BXR7TnsuCEpho1AU.mjs → Dy_jsYpr77Fd69FL.mjs} +2 -2
  106. package/browser/esm/{CpzwyPfeoLaA13rc.mjs → FnnAQPW5iuMu6ADA.mjs} +10 -10
  107. package/{cdn/assets/CvoGYY1fWczsqjxx.js → browser/esm/MJZe9n-6nxyH-CP4.mjs} +1 -1
  108. package/browser/esm/{BUPRdtMv_fXp0FDY.mjs → Txcu3MPS1VLeRy7P.mjs} +7 -7
  109. package/browser/esm/{B4jVhMsVA-Mmw9qH.mjs → XWehs8eL7WyK0BPw.mjs} +1 -1
  110. package/browser/esm/{BR5hyjZ5Os742V_v.mjs → cupIGI_uxOLVfZeT.mjs} +2 -2
  111. package/browser/esm/index.mjs +2 -2
  112. package/browser/esm/{BBrfl5Nlrf2w6aQW.mjs → jSPGf5RDlS8P6m6g.mjs} +10 -10
  113. package/browser/esm/{BWGSTS25S1XWOcqu.mjs → kO6fKT24jTileMZi.mjs} +12 -12
  114. package/{cdn/assets/AMVCY6d-OktdfOQE.js → browser/esm/q10yLSFL9h8ptGSz.mjs} +1 -1
  115. package/{cdn/assets/Bdd-VDF9hcSuHmH5.js → browser/esm/rBEnvzFn9Eb0uO_H.mjs} +1 -1
  116. package/{cdn/assets/JVXhdaSy30fFzmJ7.js → browser/esm/sMPKCWQcc5GjIM9a.mjs} +1 -1
  117. package/browser/esm/{CUqbqz2samKfHOoe.mjs → sZhigMl_OlQMcElp.mjs} +6 -6
  118. package/browser/esm/{C9ObN98JqT5tLS5g.mjs → xR5vFUzRCrIsMAFa.mjs} +1 -1
  119. package/{browser/esm/BgELNRooJzC8YlDI.mjs → cdn/assets/2UY-PhOgGq7zgRKj.js} +1 -1
  120. package/{browser/esm/0Y5gefudV72yvrqS.mjs → cdn/assets/B1FkKubRAlhSCB21.js} +1 -1
  121. package/cdn/assets/{DLCRJN3sA8sJWNsZ.js → B3zC4_fJCHD4zXcp.js} +9471 -9466
  122. package/cdn/assets/{DT7e7zhUsFJGcx2Z.js → B4VzEDRE6nVkJiPq.js} +4 -4
  123. package/cdn/assets/{CWoJvFMdnz7risZh.js → B8l6aQeWmKkf0YrQ.js} +2 -2
  124. package/cdn/assets/{Bmv_Ya5-UmS_-HS3.js → BA6JcZjZOCWFVqUb.js} +1 -1
  125. package/cdn/assets/{Bgpk4W4CQhholXa6.js → BIaGKlORREnUMup_.js} +2 -2
  126. package/cdn/assets/{sKs0rW2QqSvXYO-K.js → BKs-KqC9cJ42BaLv.js} +1 -1
  127. package/cdn/assets/BLBcV8mzn8JQ-gmm.js +41 -0
  128. package/cdn/assets/{G70q4hSkx8NcTIKq.js → BLQxeq0NeuzE2C-K.js} +1 -1
  129. package/{browser/esm/8MJ4FtEQ38pjfWty.mjs → cdn/assets/BMvq1rx0Q_rNcUUm.js} +1 -1
  130. package/cdn/assets/{CmsP4fA9ozarTWvD.js → BOE0ND_jmwxGIe2m.js} +1 -1
  131. package/cdn/assets/{B5zuziWQAqN3tu-Q.js → BQiD6VyZaH6Q_GOe.js} +7 -7
  132. package/{browser/esm/DS8TRQNTZhPt1f8w.mjs → cdn/assets/BX8ReYbwEtoLMRkv.js} +1 -1
  133. package/cdn/assets/{rHLNvA1AXYIckwOI.js → BZExhdr7fI8MF5Qb.js} +1 -1
  134. package/cdn/assets/{1rC1OgsRROXIR4ap.js → BZwprGyYoHAFIaFg.js} +4 -4
  135. package/{browser/esm/QT4TXuIWZVGw5W5z.mjs → cdn/assets/Bas6kTlPzN4rbonc.js} +1 -1
  136. package/{browser/esm/D-sKAXoVNI9Wl3Gu.mjs → cdn/assets/BgaQJ0q24AXkqkn-.js} +1 -1
  137. package/{browser/esm/BdSlSLWrpvc4_G6J.mjs → cdn/assets/BmHz0lJodLVokxYu.js} +1 -1
  138. package/cdn/assets/{BnH-3eCKgCudNXNv.js → BnlxiheLEjPq3_nX.js} +3 -3
  139. package/cdn/assets/{CdZfyBeXLtHUAnSL.js → BoK4s_O9FKuGQXuk.js} +1 -1
  140. package/cdn/assets/{BN-bM9RVum-ACh7O.js → BpeWWdrNzQ5CODuL.js} +9 -9
  141. package/cdn/assets/{6irz7V0AEik-oFdR.js → C8O0ZGq3DEd5TVzJ.js} +1 -1
  142. package/{browser/esm/BdQCRxN2rixUHxOl.mjs → cdn/assets/C9q4ux-nmilOYnbW.js} +1 -1
  143. package/{browser/esm/Cvm_VLcMKFBDg7cI.mjs → cdn/assets/CCemSCZtu-Y2e32b.js} +1 -1
  144. package/cdn/assets/{UtmutBQROyuBtl4r.js → CHEbbqtiAHDBsfyU.js} +1 -1
  145. package/cdn/assets/CLEfXqoDMbYN4_Yq.js +22 -0
  146. package/cdn/assets/{xpA-oP_sNRbMCnCC.js → CNaZSkJ0Ln4XLg2f.js} +1 -1
  147. package/cdn/assets/{drYtPnOe21tQDl8L.js → COp6e4V9pYkFLdnj.js} +23 -23
  148. package/cdn/assets/{DHtUFaCIWaHG5aYd.js → CPDFwmavyzGeHk6E.js} +1 -1
  149. package/cdn/assets/{BrNBOYOb6FQm6NDt.js → CTevjxmBAKPMHrGe.js} +1 -1
  150. package/cdn/assets/{D7pqAxdvMydZdMez.js → CZRxkqUAHwBQWk21.js} +2 -2
  151. package/cdn/assets/{DU1Zo3S2s-1xTJJs.js → Ck7JLcQF4vOLPERj.js} +2 -2
  152. package/cdn/assets/{BMKO-uJI7mJ2C3sW.js → CmUEXyFuM6tuWoRX.js} +3 -3
  153. package/cdn/assets/{wGEPbEOJOOYqjwRF.js → CqUjHBXuQlWKhwMj.js} +10 -10
  154. package/{browser/esm/DF3364yTjdOhE032.mjs → cdn/assets/Cr8TwCyc56nEstm8.js} +1 -1
  155. package/{browser/esm/DAgf08hha8x4NkiW.mjs → cdn/assets/CtTLPGOTT90tukmL.js} +1 -1
  156. package/cdn/assets/{DXTgNpbkKzuEWeF2.js → Cugl38a-cEndZuXy.js} +3 -3
  157. package/{browser/esm/ByuHrhH0nFMCN572.mjs → cdn/assets/D2Ed5pWALOMTKViL.js} +1 -1
  158. package/cdn/assets/{XoVlPZtnLC2eEZlk.js → D2dHpCXXPDYgxJBu.js} +1 -1
  159. package/cdn/assets/{D7tm1uwijt6yRCig.js → D9mJb0vkBVLJXPU3.js} +325 -324
  160. package/{browser/esm/DgulLzh_EvvOjeVx.mjs → cdn/assets/DA1IriOURdkLSm31.js} +117 -115
  161. package/cdn/assets/{BZL0_H5oEMX8NF7M.js → DAXOu5CJVZiOkuLk.js} +12 -12
  162. package/cdn/assets/{BtFhIZstiHoRdl91.js → DBA5f37UOLIrab5A.js} +6 -6
  163. package/cdn/assets/{aPBS98bJMioBkE9g.js → DBVRZ6Gc3DmoYwbS.js} +14 -14
  164. package/cdn/assets/{Cr0zSyE_0zg80NKX.js → DC6fRzay8LL6AxYh.js} +53 -53
  165. package/cdn/assets/{BfAp_QcJuhDULyD9.js → DDtXAC3nRDpqQ0YF.js} +1 -1
  166. package/cdn/assets/{BJ13QLvuKdqU65pj.js → DV9rM0qfIPaNrsTX.js} +2 -2
  167. package/cdn/assets/{Dfjm_X6eQE-sv061.js → DYj919NksFVvdiYm.js} +4 -4
  168. package/{browser/esm/BBdUME9WGIBoo1ny.mjs → cdn/assets/DcBhKDUrrvUDMIE2.js} +1 -1
  169. package/cdn/assets/{CdWcgrvC3zmKEuiT.js → DhcxupDloOlSl0Xc.js} +34 -34
  170. package/{browser/esm/M0TBnxbjkgqSV-d-.mjs → cdn/assets/DpnnQaRGJix6H7It.js} +1 -1
  171. package/cdn/assets/{CczV0JNf4842mL46.js → Fxn31hUv_teP0hCS.js} +2 -2
  172. package/cdn/assets/{Dco0MS8_hEsc0OPo.js → Im2NbKg9u0MjpDSh.js} +3 -3
  173. package/cdn/assets/{BgxRG1-sWpywlnAD.js → LMWoa2G5tUFbSxFl.js} +2 -2
  174. package/{browser/esm/CvoGYY1fWczsqjxx.mjs → cdn/assets/MJZe9n-6nxyH-CP4.js} +1 -1
  175. package/cdn/assets/{B4jVhMsVA-Mmw9qH.js → XWehs8eL7WyK0BPw.js} +1 -1
  176. package/cdn/assets/{C9Em4SG9Bu9yfgZ2.js → YDCOJayFB1z4TO3D.js} +4 -4
  177. package/cdn/assets/{jmwAu8IOkB1kD1KF.js → jHVWOAOpiPBSUVkx.js} +2 -2
  178. package/cdn/assets/{C9F5SMblLZR6llDC.js → kegBPrsHAA6baVTw.js} +3 -3
  179. package/{browser/esm/AMVCY6d-OktdfOQE.mjs → cdn/assets/q10yLSFL9h8ptGSz.js} +1 -1
  180. package/{browser/esm/Bdd-VDF9hcSuHmH5.mjs → cdn/assets/rBEnvzFn9Eb0uO_H.js} +1 -1
  181. package/{browser/esm/JVXhdaSy30fFzmJ7.mjs → cdn/assets/sMPKCWQcc5GjIM9a.js} +1 -1
  182. package/cdn/assets/voFoL8EWdCxLiB_3.js +46 -0
  183. package/cdn/assets/{C9ObN98JqT5tLS5g.js → xR5vFUzRCrIsMAFa.js} +1 -1
  184. package/cdn/index.js +2 -2
  185. package/cdn/loader.js +1 -1
  186. package/package.json +3 -3
  187. package/browser/cjs/BTb7NFxLYXig6VK-.cjs +0 -327
  188. package/browser/cjs/CEzDe8lKYA-cAXWM.cjs +0 -11
  189. package/browser/cjs/CRU3HIw_0ucOdCZP.cjs +0 -32
  190. package/cdn/assets/CIYTPoXO0_IxL2Il.js +0 -46
  191. package/cdn/assets/CMPyx-14e9yukzaY.js +0 -41
  192. package/cdn/assets/DAJy_HCUldnnaEJp.js +0 -22
@@ -0,0 +1,32 @@
1
+ "use strict";/**
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.23
3
+ *
4
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("./DRzHHu7CVu9c7zCP.cjs");let $=null,R=null;const ce={compilerOptions:{target:"esnext"}},de=async()=>`
7
+ interface FirstTest {
8
+ isTrue?: boolean;
9
+ }
10
+ `,ee=new Map([["IReferenceRange","r"],["IRange","l"]]),te=new Map([["IWorkbook","workbook"],["ISheet","sheet"],["ICellRanges","ranges"],["ICellRange","range"],["IFormulaContext","context"]]),U=(T,S)=>{Array.from(S.keys()).forEach(C=>{const j=S.get(C);S.set(`${T}.${C}`,j)})},ue=new Map([["Scalar","*"],["FormulaError.Known",b.M.Error],["Date","Date"],["JSON","JSON"]]),pe=new Map([]),X="SheetXL";U(X,ee),U(X,te),U(X,pe);const me=new Map([["Promise",()=>({async:!0})],["Observable",()=>({stream:!0})]]);let P=null;async function fe(){if(P)return P;try{return await(await Promise.resolve().then(()=>require("./CLs6jUtAkC8svAgF.cjs"))).initialize()}catch(T){throw P=null,T}finally{P=null}}exports.compileModule=async function(T){const S=T?.source??null;if(!S)return null;const C=(T.disableBundle||T.declarationsOnly)??!1,j=[de(),fe()],_=await Promise.all(j),ne=_[0],n=_[1];let D="",O=null;const A=[],re={allowJs:!0,declaration:!1,sourceMap:!1,inlineSourceMap:!1,inlineSources:!1,isolatedModules:!0,preserveConstEnums:!1,module:99,noResolve:!0,emitDeclarationOnly:!1,target:n.ScriptTarget.ES2020},I="script",q=`${I}.ts`,H="lib.d.ts",W="global.d.ts",F={[q]:S,[H]:`
11
+ /**
12
+ * Represents the completion of an asynchronous operation
13
+ */
14
+ interface Promise<T> {
15
+ /**
16
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
17
+ * resolved value cannot be modified from the callback.
18
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
19
+ * @returns A Promise for the completion of the callback.
20
+ */
21
+ finally(onfinally?: (() => void) | undefined | null): Promise<T>;
22
+ }
23
+ `,[W]:ne},ie={getSourceFile:(e,o,g,r)=>n.createSourceFile(e,F[e],n.ScriptTarget.Latest,!0),fileExists:e=>F[e]!==void 0,readFile:e=>F[e],writeFile:(e,o)=>{F[e]=o},getCurrentDirectory:()=>"./",getCanonicalFileName:e=>e,useCaseSensitiveFileNames:()=>!0,getDefaultLibFileName:e=>H,getNewLine:()=>`
24
+ `},B=n.createProgram([q,W],re,ie),N=B.getTypeChecker(),oe=B.getSourceFile(q),G=B.emit();G.diagnostics.length>0&&console.warn(G.diagnostics),D=F[`${I}.js`];const L=(e,o,g,r)=>{if(e){if(e.kind===n.SyntaxKind.NumberKeyword)o.scalar=b.M.Number;else if(e.kind===n.SyntaxKind.StringKeyword)o.scalar=b.M.String;else if(e.kind===n.SyntaxKind.BooleanKeyword)o.scalar=b.M.Boolean;else if(e.kind===n.SyntaxKind.UndefinedKeyword||e.kind===n.SyntaxKind.NullKeyword||e.kind===n.SyntaxKind.VoidKeyword){if(r)return void h(e,new Error(`'undefined' is not a valid type for input: '${e?.parent?.name?.escapedText}'.`));o.scalar=b.M.Null}else if(e.kind===n.SyntaxKind.BigIntKeyword)o.scalar=b.M.Number;else if(e.kind===n.SyntaxKind.AnyKeyword)o.scalar=b.M.Null;else if(e.kind===n.SyntaxKind.ArrayType){const i=e.elementType;if(!i)return void h(e,new Error(`'Array' must be typed: '${e?.parent?.name?.escapedText}'.`));o.arrayDepth=(o.arrayDepth??0)+1,L(i,o,g,r)}else if(e.kind!==n.SyntaxKind.TupleType&&e.kind===n.SyntaxKind.TypeReference){const i=e.typeName?.getText?.()??null,f=ee.get(i);let m=!1;f&&(o.range=f,m=!0);const x=ue.get(i);if(x&&(o.scalar=x),x!==void 0&&(m=!0),r){const c=te.get(i);if(c)return c}else{const c=me.get(i);if(c){const a={...o,...c()};let t=0;if(a.async&&t++,a.stream&&t++,t>1)return void h(e,new Error(`'${i}' cannot have multiple modifiers: '${e?.parent?.name?.escapedText}'.`));o=a,m=!0}}if(!m)return void h("node",new Error(`'${i}' is not a valid type: '${e?.parent?.name?.escapedText}'.`));const p=e.typeArguments;if(p){if(p.length!==1)return void h(e,new Error(`'${i}' must be typed with exactly 1 type: '${e?.parent?.name?.escapedText}'.`));L(p[0],o,g,r)}}}else h(e,new Error(`Type is not defined for '${o?.name??"return"}'.`))},E=[],h=(e,o)=>{E.push(o)};if(n.forEachChild(oe,e=>{if(g=e,(n.getCombinedModifierFlags(g)&n.ModifierFlags.Export)!==0&&n.isFunctionDeclaration(e)){const r={},i={parameters:{}},f=e?.name?.getText();try{r.name=f;const m=N.getSymbolAtLocation(e.name).getDocumentationComment(N);if(m&&m.length>0&&m[0].text){let a=m[0].text;a=a.replace(/[\r\n]+/g,"\\n").trim(),i.summary=a}const x={};L(e.type,x,r,!1),r.returnType=x;const p={};o=e,(n.getCombinedModifierFlags(o)&n.ModifierFlags.Default)!==0&&(p.default=!0,O=f),Object.keys(p).length>0&&(r.behavior=p),r.parameters=[];const c=new Map;for(let a=0;a<e.parameters.length;a++){const t=e.parameters[a],s={};s.name=t.name?.getText();const v=L(t.type,s,r,!0);if(v){if(r.parameters.length!==0){const d=e?.parent,l=d?.name?.getText();return void h(e,new Error(`'${r.name}' contexts must be the first parameter: '${l}'.`))}r.context=v;continue}let M;if((t.initializer!==void 0&&t.initializer!==null||t.questionToken!==void 0&&t.questionToken!==null)&&(s.optional=!0,t.initializer))try{M=t.initializer.kind===n.SyntaxKind.StringLiteral?t.initializer.text:t.initializer.kind===n.SyntaxKind.NumericLiteral?parseFloat(t.initializer.text):t.initializer.kind===n.SyntaxKind.TrueKeyword||t.initializer.kind===n.SyntaxKind.FalseKeyword?t.initializer.kind===n.SyntaxKind.TrueKeyword:t.initializer.kind===n.SyntaxKind.NullKeyword?null:t.initializer.kind===n.SyntaxKind.ObjectLiteralExpression||t.initializer.kind===n.SyntaxKind.ArrayLiteralExpression?t.initializer.getText():t.initializer.getText?.()}catch(d){console.warn(`Couldn't extract default value for parameter '${s.name}'`,d)}t.dotDotDotToken&&(s.rest=!0),r.parameters.push(s);const k={description:""};i.parameters[s.name]=k;const y=N.getSymbolAtLocation(t.name).getDocumentationComment(N);y&&y.length>0&&y[0].text&&(k.description=y[0].text),M!==void 0&&(k.defaultValue=M),c.set(s.name,s)}if(e.jsDoc&&e.jsDoc.length>0){const a=e.jsDoc,t=a.length;for(let s=0;s<t;s++){const v=a[s]?.tags;if(!v)continue;const M=v.length;for(let k=0;k<M;k++){const y=v[k];let d=y?.tagName?.text;if(!d)continue;d=d.toLowerCase();let l=y.comment;const Y=d==="hidden";if((typeof l=="string"||Y)&&(typeof l=="string"&&(l=l.replace(/[\r\n]+/g,"\\n").trim()),Y||!l||(l=l.split(/\\n/)[0],l&&l.length!==0))){if(l&&typeof l=="string"){const u=/\{@link(code|plain)?\s+([^}|]+)(?:\s*\|\s*([^}]+))?\}/g;let w,K=l,z=[];for(;(w=u.exec(l))!==null;){const[J,V,le,Z]=w,se=[le.trim()];Z&&se.push(Z.trim())}l=K,z.length>0&&d==="see"&&(i.links||(i.links=[]),i.links.push(...z))}if(d==="name"){const u=l;u!==f&&(i.name=u)}else if(d!=="description"){if(d==="summary"){const u=l;u&&(i.summary=u)}else if(d==="param"){const u=y.name?.text,w=c.get(u);if(!w){E.push(new Error(`Parameter '${u}' not found in function '${f}'.`));continue}if(y.typeExpression&&y.typeExpression.type)try{const K=y.typeExpression.type;if(K.kind===n.SyntaxKind.UnionType){const z=[];w.enums=z,K.types.forEach(J=>{if(J.kind===n.SyntaxKind.LiteralType){const V=J.literal.text;V&&z.push(V)}})}}catch(K){console.warn("Error parsing JSDoc type expression:",K)}}else if(d==="returns"||d==="return")r.returnType.description=l;else if(d==="category")i.category=l;else if(d==="hidden"){let u=!0;const w=l?.toLowerCase();w==="false"?u=!1:w!=="true"&&(u=l),u!==!1&&(i.hidden=u??!0)}}}}}}Object.keys(r.returnType).length===0&&delete r.returnType,A.push([r,i])}catch(m){h(e,new Error(`'${f}': ${m.message}`))}}var o,g}),E.length>0)throw console.warn(E),new Error("There were compilation errors.",{cause:E});if(A.length===0)throw new Error("No exported functions.");const ae=`${b.te.uuidV4()}-script`;try{C||E.length!==0||(D=await(async function(e,o,g="/script.js",r="__SHEETXL"){try{const i=await(async function(){if($)return $;if(R){if(await R,!$)throw new Error("ESBuild initialization promise resolved, but instance is not available.");return $}let c,a;R=new Promise((t,s)=>{c=t,a=s});try{const{initialize:t}=await Promise.resolve().then(()=>require("./D9AOyljbl-TYzeas.cjs"));return $=await t(),c(),$}catch(t){throw console.error("Failed to import or initialize esbuild:",t),R=null,a(t),t}})(),f="@sheetxl/primitives",m=`
25
+ export const FormulaContext = globalThis.${r}?.FormulaContext;
26
+ export const ScalarType = globalThis.${r}?.ScalarType;
27
+ export const Observable = globalThis.${r}?.Observable;
28
+ export const IRange = globalThis.${r}?.IRange;
29
+ export const FormulaError = globalThis.${r}?.FormulaError;
30
+ // Add more exports as needed
31
+ `,x={name:"sheetxl-esbuild-in-memory",setup(c){const a="sheetxl-"+new Date().getTime();c.onResolve({filter:new RegExp(`^(${g.replace("/","\\/")}|${f})$`)},t=>({path:t.path,namespace:a})),c.onResolve({filter:/.*/},t=>{if(t.namespace!==a)return console.warn(`esbuild: Treating import "${t.path}" as external.`),{path:t.path,external:!0}}),c.onLoad({filter:/.*/,namespace:a},t=>{let s;if(t.path===g)s=o;else{if(t.path!==f)return{errors:[{text:`Cannot load unknown path in ${a}: ${t.path}`}]};s=m}return{contents:s,loader:"ts"}})}},p=await i.build({entryPoints:[g],bundle:!0,write:!1,format:"esm",plugins:[x],sourcemap:"inline",tsconfigRaw:ce,minify:!0,platform:"neutral"});if(p.outputFiles&&p.outputFiles.length>0)return p.outputFiles[0].text;throw p.errors&&p.errors.length>0?new Error(`esbuild bundling failed: ${p.errors.map(c=>c.text).join(`
32
+ `)}`):new Error("esbuild did not produce an output file.")}catch(i){throw console.error("esbuild bundling process failed:",i),i}})(0,D,I))}catch{console.warn("Error bundling script")}const Q={functions:A,commitId:ae,source:S,name:"Script",language:"typescript",compiled:D};return O&&(Q.autoRun=O),Q};
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.21
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.23
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.21
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.23
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,9 +1,9 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.21
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.23
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ee=require("./BTb7NFxLYXig6VK-.cjs");function Xr(e,t){for(var n=e.length,r=0;r<n;++r)if(t(e[r],r))return!0;return!1}function to(e,t){for(var n=e.length,r=0;r<n;++r)if(t(e[r],r))return e[r];return null}function ci(e){var t=e;if(t===void 0){if(typeof navigator>"u"||!navigator)return"";t=navigator.userAgent||""}return t.toLowerCase()}function Er(e,t){try{return new RegExp(e,"g").exec(t)}catch{return null}}function Sr(e){return e.replace(/_/g,".")}function dn(e,t){var n=null,r="-1";return Xr(e,function(i){var o,a,s,u=Er("("+i.test+")((?:\\/|\\s|:)([0-9|\\.|_]+))?",t);return!(!u||i.brand||(n=i,r=u[3]||"-1",i.versionAlias?r=i.versionAlias:i.versionTest&&(o=i.versionTest.toLowerCase(),a=t,s=Er("("+o+")((?:\\/|\\s|:)([0-9|\\.|_]+))",a),r=(s?s[3]:"")||r),r=Sr(r),0))}),{preset:n,version:r}}function zn(e,t){var n={brand:"",version:"-1"};return Xr(e,function(r){var i=eo(t,r);return!!i&&(n.brand=r.id,n.version=r.versionAlias||i.version,n.version!=="-1")}),n}function eo(e,t){return to(e,function(n){var r=n.brand;return Er(""+t.test,r.toLowerCase())})}var li=[{test:"phantomjs",id:"phantomjs"},{test:"whale",id:"whale"},{test:"edgios|edge|edg",id:"edge"},{test:"msie|trident|windows phone",id:"ie",versionTest:"iemobile|msie|rv"},{test:"miuibrowser",id:"miui browser"},{test:"samsungbrowser",id:"samsung internet"},{test:"samsung",id:"samsung internet",versionTest:"version"},{test:"chrome|crios",id:"chrome"},{test:"firefox|fxios",id:"firefox"},{test:"android",id:"android browser",versionTest:"version"},{test:"safari|iphone|ipad|ipod",id:"safari",versionTest:"version"}],fi=[{test:"(?=.*applewebkit/(53[0-7]|5[0-2]|[0-4]))(?=.*\\schrome)",id:"chrome",versionTest:"chrome"},{test:"chromium",id:"chrome"},{test:"whale",id:"chrome",versionAlias:"-1",brand:!0}],sr=[{test:"applewebkit",id:"webkit",versionTest:"applewebkit|safari"}],no=[{test:"(?=(iphone|ipad))(?!(.*version))",id:"webview"},{test:"(?=(android|iphone|ipad))(?=.*(naver|daum|; wv))",id:"webview"},{test:"webview",id:"webview"}],pi=[{test:"windows phone",id:"windows phone"},{test:"windows 2000",id:"window",versionAlias:"5.0"},{test:"windows nt",id:"window"},{test:"win32|windows",id:"window"},{test:"iphone|ipad|ipod",id:"ios",versionTest:"iphone os|cpu os"},{test:"macos|macintel|mac os x",id:"mac"},{test:"android|linux armv81",id:"android"},{test:"tizen",id:"tizen"},{test:"webos|web0s",id:"webos"}];function di(e){return!!dn(no,e).preset}function ca(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.map(function(r){return r.split(" ").map(function(i){return i?""+e+i:""}).join(" ")}).join(" ")}function Ae(e,t){return function(n){n&&(e[t]=n)}}function ro(e,t,n){return function(r){r&&(e[t][n]=r)}}var Nr="undefined",io=typeof window!==Nr,la=typeof document!==Nr&&document,fa=[{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:'\\"',close:'\\"'},{open:"\\'",close:"\\'"}],Ht=1e-7,Gn={cm:function(e){return 96*e/2.54},mm:function(e){return 96*e/254},in:function(e){return 96*e},pt:function(e){return 96*e/72},pc:function(e){return 96*e/6},"%":function(e,t){return e*t/100},vw:function(e,t){return t===void 0&&(t=window.innerWidth),e/100*t},vh:function(e,t){return t===void 0&&(t=window.innerHeight),e/100*t},vmax:function(e,t){return t===void 0&&(t=Math.max(window.innerWidth,window.innerHeight)),e/100*t},vmin:function(e,t){return t===void 0&&(t=Math.min(window.innerWidth,window.innerHeight)),e/100*t}};function hi(e,t,n,r){return(e*r+t*n)/(n+r)}function Wr(e){return typeof e===Nr}function we(e){return e&&typeof e=="object"}function ne(e){return Array.isArray(e)}function nn(e){return typeof e=="string"}function Vn(e){return typeof e=="number"}function oo(e){return typeof e=="function"}function ao(e,t,n,r,i){return Dr(e,t,n)?n:(function(o,a,s,u,f){for(var p,c=function(d){var g=a[d].trim();if(g===o.close&&!Dr(o,a,d))return{value:d};var v=d,b=he(f,function(x){return x.open===g});if(b&&(v=ao(b,a,d,u,f)),v===-1)return p=d,"break";p=d=v},l=s;l<u;++l){var h=c(l);if(l=p,typeof h=="object")return h.value;if(h==="break")break}return-1})(e,t,n+1,r,i)}function Dr(e,t,n){if(!e.ignore)return null;var r=t.slice(Math.max(n-3,0),n+3).join("");return new RegExp(e.ignore).exec(r)}function qr(e,t){var n=nn(t)?{separator:t}:t,r=n.separator,i=r===void 0?",":r,o=n.isSeparateFirst,a=n.isSeparateOnlyOpenClose,s=n.isSeparateOpenClose,u=s===void 0?a:s,f=n.openCloseCharacters,p=f===void 0?fa:f,c=p.map(function(m){var S=m.open,_=m.close;return S===_?S:S+"|"+_}).join("|"),l=new RegExp("(\\s*"+i+"\\s*|"+c+"|\\s+)","g"),h=e.split(l).filter(function(m){return m&&m!=="undefined"}),d=h.length,g=[],v=[];function b(){return!!v.length&&(g.push(v.join("")),v=[],!0)}for(var x,y=function(m){var S,_,k=h[m].trim(),F=m,O=he(p,function(R){return R.open===k}),w=he(p,function(R){return R.close===k});if(O){if((F=ao(O,h,m,d,p))!==-1&&u)return b()&&o?(x=m,"break"):(g.push(h.slice(m,F+1).join("")),m=F,o?(x=m,"break"):(x=m,"continue"))}else{if(w&&!Dr(w,h,m)){var D=(function(){for(var R=0,P=0,B=arguments.length;P<B;P++)R+=arguments[P].length;var A=Array(R),z=0;for(P=0;P<B;P++)for(var G=arguments[P],I=0,V=G.length;I<V;I++,z++)A[z]=G[I];return A})(p);return D.splice(p.indexOf(w),1),{value:qr(e,{separator:i,isSeparateFirst:o,isSeparateOnlyOpenClose:a,isSeparateOpenClose:u,openCloseCharacters:D})}}if(S=k,_=i,!((_!==""&&_!=" "||S!==""&&S!=" ")&&S!==_||a))return b(),o?(x=m,"break"):(x=m,"continue")}F===-1&&(F=d-1),v.push(h.slice(m,F+1).join("")),x=m=F},E=0;E<d;++E){var M=y(E);if(E=x,typeof M=="object")return M.value;if(M==="break")break}return v.length&&g.push(v.join("")),g}function Mn(e){return qr(e,"")}function hn(e){return qr(e,",")}function nr(e){var t=/^([^\d|e|\-|\+]*)((?:\d|\.|-|e-|e\+)+)(\S*)$/g.exec(e);if(!t)return{prefix:"",unit:"",value:NaN};var n=t[1],r=t[2];return{prefix:n,unit:t[3],value:parseFloat(r)}}function Zn(){return Date.now?Date.now():new Date().getTime()}function $e(e,t,n){n===void 0&&(n=-1);for(var r=e.length,i=0;i<r;++i)if(t(e[i],i,e))return i;return n}function he(e,t,n){var r=$e(e,t);return r>-1?e[r]:n}var gi,vi,so=(gi=Zn(),(vi=io&&(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame))?vi.bind(window):function(e){var t=Zn();return setTimeout(function(){e(t-gi)},1e3/60)}),pa=(function(){var e=io&&(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame);return e?e.bind(window):function(t){clearTimeout(t)}})();function wn(e){return Object.keys(e)}function ae(e,t){var n=nr(e),r=n.value,i=n.unit;if(we(t)){var o=t[i];if(o){if(oo(o))return o(r);if(Gn[i])return Gn[i](r,o)}}else if(i==="%")return r*t/100;return Gn[i]?Gn[i](r):r}function Mr(e,t,n){return Math.max(t,Math.min(e,n))}function mi(e,t,n,r){return r===void 0&&(r=e[0]/e[1]),[[kt(t[0],Ht),kt(t[0]/r,Ht)],[kt(t[1]*r,Ht),kt(t[1],Ht)]].filter(function(i){return i.every(function(o,a){var s=t[a],u=kt(s,Ht);return n?o<=s||o<=u:o>=s||o>=u})})[0]||e}function wr(e){for(var t=e.length,n=0,r=t-1;r>=0;--r)n+=e[r];return t?n/t:0}function de(e,t){var n=t[0]-e[0],r=t[1]-e[1],i=Math.atan2(r,n);return i>=0?i:i+2*Math.PI}function bi(e){var t,n=(t=e,[0,1].map(function(o){return wr(t.map(function(a){return a[o]}))})),r=de(n,e[0]),i=de(n,e[1]);return r<i&&i-r<Math.PI||r>i&&i-r<-Math.PI?1:-1}function gn(e,t){return Math.sqrt(Math.pow((t?t[0]:0)-e[0],2)+Math.pow((t?t[1]:0)-e[1],2))}function kt(e,t){if(!t)return e;var n=1/t;return Math.round(e/t)/n}function xi(e,t){return e.forEach(function(n,r){e[r]=kt(e[r],t)}),e}function Ee(e,t){return e.classList?e.classList.contains(t):!!e.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))}function uo(e,t){e.classList?e.classList.add(t):e.className+=" "+t}function co(e,t){if(e.classList)e.classList.remove(t);else{var n=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(n," ")}}function Jt(e,t,n,r){e.addEventListener(t,n,r)}function Ut(e,t,n,r){e.removeEventListener(t,n,r)}function jr(e){return e?.ownerDocument||la}function Lr(e){return jr(e).documentElement}function Be(e){return jr(e).body}function Pe(e){var t;return((t=e?.ownerDocument)===null||t===void 0?void 0:t.defaultView)||window}function lo(e){return e&&"postMessage"in e&&"blur"in e&&"self"in e}function Hr(e){return we(e)&&e.nodeName&&e.nodeType&&"ownerDocument"in e}function da(e,t,n,r,i,o){for(var a=0;a<i;++a){var s=n+a*i,u=r+a*i;e[s]+=e[u]*o,t[s]+=t[u]*o}}function ha(e,t,n,r,i){for(var o=0;o<i;++o){var a=n+o*i,s=r+o*i,u=e[a],f=t[a];e[a]=e[s],e[s]=u,t[a]=t[s],t[s]=f}}function ga(e,t,n,r,i){for(var o=0;o<r;++o){var a=n+o*r;e[a]/=i,t[a]/=i}}function ze(e,t){t===void 0&&(t=Math.sqrt(e.length));for(var n=e.slice(),r=It(t),i=0;i<t;++i){var o=t*i+i;if(!kt(n[o],Ht)){for(var a=i+1;a<t;++a)if(n[t*i+a]){ha(n,r,i,a,t);break}}if(!kt(n[o],Ht))return[];for(ga(n,r,i,t,n[o]),a=0;a<t;++a){var s=a,u=n[a+i*t];kt(u,Ht)&&i!==a&&da(n,r,s,i,t,-u)}}return r}function Pn(e,t){for(var n=e.slice(),r=e.length;r<t-1;++r)n[r]=0;return n[t-1]=1,n}function Ge(e,t,n){if(t===void 0&&(t=Math.sqrt(e.length)),t===n)return e;for(var r=It(n),i=Math.min(t,n),o=0;o<i-1;++o){for(var a=0;a<i-1;++a)r[o*n+a]=e[o*t+a];r[(o+1)*n-1]=e[(o+1)*t-1],r[(n-1)*n+o]=e[(t-1)*t+o]}return r[n*n-1]=e[t*t-1],r}function Kn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=It(e);return t.forEach(function(i){r=Vt(r,i,e)}),r}function Vt(e,t,n){n===void 0&&(n=Math.sqrt(e.length));var r=[],i=e.length/n,o=t.length/i;if(!i)return t;if(!o)return e;for(var a=0;a<n;++a)for(var s=0;s<o;++s){r[s*n+a]=0;for(var u=0;u<i;++u)r[s*n+a]+=e[u*n+a]*t[s*i+u]}return r}function Wt(e,t){for(var n=Math.min(e.length,t.length),r=e.slice(),i=0;i<n;++i)r[i]=r[i]+t[i];return r}function bt(e,t){for(var n=Math.min(e.length,t.length),r=e.slice(),i=0;i<n;++i)r[i]=r[i]-t[i];return r}function va(e,t){return t===void 0&&(t=e.length===6),t?[e[0],e[1],0,e[2],e[3],0,e[4],e[5],1]:e}function fo(e,t){return t===void 0&&(t=e.length===9),t?[e[0],e[1],e[3],e[4],e[6],e[7]]:e}function xe(e,t,n){n===void 0&&(n=t.length);var r=Vt(e,t,n),i=r[n-1];return r.map(function(o){return o/i})}function ma(e,t){return Vt(e,[1,0,0,0,0,Math.cos(t),Math.sin(t),0,0,-Math.sin(t),Math.cos(t),0,0,0,0,1],4)}function ba(e,t){return Vt(e,[Math.cos(t),0,-Math.sin(t),0,0,1,0,0,Math.sin(t),0,Math.cos(t),0,0,0,0,1],4)}function xa(e,t){return Vt(e,rr(t,4))}function In(e,t){var n=t[0],r=n===void 0?1:n,i=t[1],o=i===void 0?1:i,a=t[2];return Vt(e,[r,0,0,0,0,o,0,0,0,0,a===void 0?1:a,0,0,0,0,1],4)}function ur(e,t){var n=t[0],r=n===void 0?0:n,i=t[1],o=i===void 0?0:i,a=t[2];return Vt(e,[1,0,0,0,0,1,0,0,0,0,1,0,r,o,a===void 0?0:a,1],4)}function yi(e,t){return Vt(e,t,4)}function rr(e,t){var n=Math.cos(e),r=Math.sin(e),i=It(t);return i[0]=n,i[1]=r,i[t]=-r,i[t+1]=n,i}function It(e){for(var t=e*e,n=[],r=0;r<t;++r)n[r]=r%(e+1)?0:1;return n}function po(e,t){for(var n=It(t),r=Math.min(e.length,t-1),i=0;i<r;++i)n[(t+1)*i]=e[i];return n}function Ie(e,t){for(var n=It(t),r=Math.min(e.length,t-1),i=0;i<r;++i)n[t*(t-1)+i]=e[i];return n}function ho(e,t,n,r,i,o,a,s){var u=e[0],f=e[1],p=t[0],c=t[1],l=n[0],h=n[1],d=r[0],g=r[1],v=i[0],b=i[1],x=o[0],y=o[1],E=a[0],M=a[1],m=s[0],S=s[1],_=ze([u,0,p,0,l,0,d,0,f,0,c,0,h,0,g,0,1,0,1,0,1,0,1,0,0,u,0,p,0,l,0,d,0,f,0,c,0,h,0,g,0,1,0,1,0,1,0,1,-v*u,-b*u,-x*p,-y*p,-E*l,-M*l,-m*d,-S*d,-v*f,-b*f,-x*c,-y*c,-E*h,-M*h,-m*g,-S*g],8);if(!_.length)return[];var k=Vt(_,[v,b,x,y,E,M,m,S],8);return k[8]=1,Ge((function(F,O){O===void 0&&(O=Math.sqrt(F.length));for(var w=[],D=0;D<O;++D)for(var R=0;R<O;++R)w[R*O+D]=F[O*D+R];return w})(k),3,4)}var vn=function(){return vn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},vn.apply(this,arguments)};function Vr(e,t){return t===void 0&&(t=0),We(Qe(e,t))}function We(e){var t=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];return e.forEach(function(n){var r=n.matrixFunction,i=n.functionValue;r&&(t=r(t,i))}),t}function Qe(e,t){return t===void 0&&(t=0),(ne(e)?e:Mn(e)).map(function(n){var r,i=!(r=/([^(]*)\(([\s\S]*)\)([\s\S]*)/g.exec(n))||r.length<4?{}:{prefix:r[1],value:r[2],suffix:r[3]},o=i.prefix,a=i.value,s=null,u=o,f="";if(o==="translate"||o==="translateX"||o==="translate3d"){var p=we(t)?vn(vn({},t),{"o%":t["%"]}):{"%":t,"o%":t},c=hn(a).map(function(k,F){return p["%"]=F===0&&"x%"in p?t["x%"]:F===1&&"y%"in p?t["y%"]:t["o%"],ae(k,p)}),l=c[0],h=c[1],d=h===void 0?0:h,g=c[2];s=ur,f=[l,d,g===void 0?0:g]}else if(o==="translateY")s=ur,f=[0,d=ae(a,we(t)?vn({"%":t["y%"]},t):{"%":t}),0];else if(o==="translateZ")s=ur,f=[0,0,parseFloat(a)];else if(o==="scale"||o==="scale3d"){var v=hn(a).map(function(k){return parseFloat(k)}),b=v[0],x=v[1],y=x===void 0?b:x,E=v[2];s=In,f=[b,y,E===void 0?1:E]}else if(o==="scaleX")s=In,f=[b=parseFloat(a),1,1];else if(o==="scaleY")s=In,f=[1,y=parseFloat(a),1];else if(o==="scaleZ")s=In,f=[1,1,parseFloat(a)];else if(o==="rotate"||o==="rotateZ"||o==="rotateX"||o==="rotateY"){var M=nr(a),m=M.unit,S=M.value;o==="rotate"||o==="rotateZ"?(u="rotateZ",s=xa):o==="rotateX"?s=ma:o==="rotateY"&&(s=ba),f=m==="rad"?S:S*Math.PI/180}else if(o==="matrix3d")s=yi,f=hn(a).map(function(k){return parseFloat(k)});else if(o==="matrix"){var _=hn(a).map(function(k){return parseFloat(k)});s=yi,f=[_[0],_[1],0,0,_[2],_[3],0,0,0,0,1,0,_[4],_[5],0,1]}else u="";return{name:o,functionName:u,value:a,matrixFunction:s,functionValue:f}})}var ya=(function(){function e(){this.keys=[],this.values=[]}var t=e.prototype;return t.get=function(n){return this.values[this.keys.indexOf(n)]},t.set=function(n,r){var i=this.keys,o=this.values,a=i.indexOf(n),s=a===-1?i.length:a;i[s]=n,o[s]=r},e})(),Ea=(function(){function e(){this.object={}}var t=e.prototype;return t.get=function(n){return this.object[n]},t.set=function(n,r){this.object[n]=r},e})(),Sa=typeof Map=="function",Da=(function(){function e(){}var t=e.prototype;return t.connect=function(n,r){this.prev=n,this.next=r,n&&(n.next=this),r&&(r.prev=this)},t.disconnect=function(){var n=this.prev,r=this.next;n&&(n.next=r),r&&(r.prev=n)},t.getIndex=function(){for(var n=this,r=-1;n;)n=n.prev,++r;return r},e})(),Ma=(function(){function e(n,r,i,o,a,s,u,f){this.prevList=n,this.list=r,this.added=i,this.removed=o,this.changed=a,this.maintained=s,this.changedBeforeAdded=u,this.fixed=f}var t=e.prototype;return Object.defineProperty(t,"ordered",{get:function(){return this.cacheOrdered||this.caculateOrdered(),this.cacheOrdered},enumerable:!0,configurable:!0}),Object.defineProperty(t,"pureChanged",{get:function(){return this.cachePureChanged||this.caculateOrdered(),this.cachePureChanged},enumerable:!0,configurable:!0}),t.caculateOrdered=function(){var n,r,i,o,a=(n=this.changedBeforeAdded,r=this.fixed,i=[],o=[],n.forEach(function(f){var p=f[0],c=f[1],l=new Da;i[p]=l,o[c]=l}),i.forEach(function(f,p){f.connect(i[p-1])}),n.filter(function(f,p){return!r[p]}).map(function(f,p){var c=f[0],l=f[1];if(c===l)return[0,0];var h=i[c],d=o[l-1],g=h.getIndex();return h.disconnect(),d?h.connect(d,d.next):h.connect(void 0,i[0]),[g,h.getIndex()]})),s=this.changed,u=[];this.cacheOrdered=a.filter(function(f,p){var c=f[0],l=f[1],h=s[p],d=h[0],g=h[1];if(c!==l)return u.push([d,g]),!0}),this.cachePureChanged=u},e})();function go(e,t,n){var r=Sa?Map:n?Ea:ya,i=n||function(x){return x},o=[],a=[],s=[],u=e.map(i),f=t.map(i),p=new r,c=new r,l=[],h=[],d={},g=[],v=0,b=0;return u.forEach(function(x,y){p.set(x,y)}),f.forEach(function(x,y){c.set(x,y)}),u.forEach(function(x,y){var E=c.get(x);E===void 0?(++b,a.push(y)):d[E]=b}),f.forEach(function(x,y){var E=p.get(x);E===void 0?(o.push(y),++v):(s.push([E,y]),b=d[y]||0,l.push([E-b,y-v]),h.push(y===E),E!==y&&g.push([E,y]))}),a.reverse(),new Ma(e,t,o,a,g,s,l,h)}var Ei,wa=(function(){function e(t,n){t===void 0&&(t=[]),this.findKeyCallback=n,this.list=[].slice.call(t)}return e.prototype.update=function(t){var n=[].slice.call(t),r=go(this.list,n,this.findKeyCallback);return this.list=n,r},e})(),vo=function(e,t){return(vo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)r.hasOwnProperty(i)&&(n[i]=r[i])})(e,t)},Ca=typeof Map=="function"?void 0:(Ei=0,function(e){return e.__DIFF_KEY__||(e.__DIFF_KEY__=++Ei)}),mo=(function(e){function t(n){return n===void 0&&(n=[]),e.call(this,n,Ca)||this}return(function(n,r){function i(){this.constructor=n}vo(n,r),n.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)})(t,e),t})(wa),Cr=function(){return Cr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Cr.apply(this,arguments)},bo=(function(){function e(){this._events={}}var t=e.prototype;return t.on=function(n,r){if(we(n))for(var i in n)this.on(i,n[i]);else this._addEvent(n,r,{});return this},t.off=function(n,r){if(n)if(we(n))for(var i in n)this.off(i);else if(r){var o=this._events[n];if(o){var a=$e(o,function(s){return s.listener===r});a>-1&&o.splice(a,1)}}else this._events[n]=[];else this._events={};return this},t.once=function(n,r){var i=this;return r&&this._addEvent(n,r,{once:!0}),new Promise(function(o){i._addEvent(n,o,{once:!0})})},t.emit=function(n,r){var i=this;r===void 0&&(r={});var o=this._events[n];if(!n||!o)return!0;var a=!1;return r.eventType=n,r.stop=function(){a=!0},r.currentTarget=this,(function(){for(var s=0,u=0,f=arguments.length;u<f;u++)s+=arguments[u].length;var p=Array(s),c=0;for(u=0;u<f;u++)for(var l=arguments[u],h=0,d=l.length;h<d;h++,c++)p[c]=l[h];return p})(o).forEach(function(s){s.listener(r),s.once&&i.off(n,s.listener)}),!a},t.trigger=function(n,r){return r===void 0&&(r={}),this.emit(n,r)},t._addEvent=function(n,r,i){var o=this._events;o[n]=o[n]||[],o[n].push(Cr({listener:r},i))},e})();function oe(e){return kt(e,Ht)}function Si(e){return e.length<3?0:Math.abs((function(t){for(var n=0,r=t.length-1;r>=0;--r)n+=t[r];return n})(e.map(function(t,n){var r=e[n+1]||e[0];return t[0]*r[1]-r[0]*t[1]})))/2}function Di(e,t){var n=t.width,r=t.height,i=t.left,o=t.top,a=Ve(e),s=a.minX,u=a.minY,f=a.maxX,p=a.maxY,c=n/(f-s),l=r/(p-u);return e.map(function(h){return[i+(h[0]-s)*c,o+(h[1]-u)*l]})}function Ve(e){var t=e.map(function(r){return r[0]}),n=e.map(function(r){return r[1]});return{minX:Math.min.apply(Math,t),minY:Math.min.apply(Math,n),maxX:Math.max.apply(Math,t),maxY:Math.max.apply(Math,n)}}function cr(e,t,n){var r=e[0],i=e[1],o=Ve(t),a=o.minX,s=o.maxX,u=[[a,i],[s,i]],f=Jn(u[0],u[1]),p=_r(t),c=[];if(p.forEach(function(d){var g,v=Jn(d[0],d[1]),b=d[0];g=v,f.every(function(x,y){return oe(x-g[y])===0})?c.push({pos:e,line:d,type:"line"}):xo(Ur(f,v),[u,d]).forEach(function(x){d.some(function(y){return M=x,!oe((E=y)[0]-M[0])&&!oe(E[1]-M[1]);var E,M})?c.push({pos:x,line:d,type:"point"}):oe(b[1]-i)!==0&&c.push({pos:x,line:d,type:"intersection"})})}),he(c,function(d){return d[0]===r}))return!0;var l=0,h={};return c.forEach(function(d){var g=d.pos,v=d.type,b=d.line;if(!(g[0]>r))if(v==="intersection")++l;else{if(v==="line")return;if(v==="point"){var x=he(b,function(M){return M[1]!==i}),y=h[g[0]],E=x[1]>i?1:-1;y?y!==E&&++l:h[g[0]]=E}}}),l%2==1}function Jn(e,t){var n=e[0],r=e[1],i=t[0]-n,o=t[1]-r;Math.abs(i)<Ht&&(i=0),Math.abs(o)<Ht&&(o=0);var a=0,s=0,u=0;return i?o?(s=1,u=-(a=-o/i)*n-r):(s=1,u=-r):o&&(a=-1,u=n),[a,s,u]}function Ur(e,t){var n=e[0],r=e[1],i=e[2],o=t[0],a=t[1],s=t[2],u=n===0&&o===0,f=r===0&&a===0,p=[];if(u&&f)return[];if(u){var c=-i/r;return c!==-s/a?[]:[[-1/0,c],[1/0,c]]}if(f){var l=-i/n;return l!==-s/o?[]:[[l,-1/0],[l,1/0]]}if(n===0)p=[[h=-(a*(d=-i/r)+s)/o,d]];else if(o===0)p=[[h=-(r*(d=-s/a)+i)/n,d]];else if(r===0)p=[[h=-i/n,d=-(o*h+s)/a]];else if(a===0)p=[[h=-s/o,d=-(n*h+i)/r]];else{var h,d;p=[[h=(r*s-a*i)/(a*n-r*o),d=-(n*h+i)/r]]}return p.map(function(g){return[g[0],g[1]]})}function xo(e,t){var n=t.map(function(c){return[0,1].map(function(l){return[Math.min(c[0][l],c[1][l]),Math.max(c[0][l],c[1][l])]})}),r=[];if(e.length===2){var i=e[0],o=i[0],a=i[1];if(oe(o-e[1][0])){if(!oe(a-e[1][1])){var s=Math.max.apply(Math,n.map(function(c){return c[0][0]})),u=Math.min.apply(Math,n.map(function(c){return c[0][1]}));if(oe(s-u)>0)return[];r=[[s,a],[u,a]]}}else{var f=Math.max.apply(Math,n.map(function(c){return c[1][0]})),p=Math.min.apply(Math,n.map(function(c){return c[1][1]}));if(oe(f-p)>0)return[];r=[[o,f],[o,p]]}}return r.length||(r=e.filter(function(c){var l=c[0],h=c[1];return n.every(function(d){return 0<=oe(l-d[0][0])&&0<=oe(d[0][1]-l)&&0<=oe(h-d[1][0])&&0<=oe(d[1][1]-h)})})),r.map(function(c){return[oe(c[0]),oe(c[1])]})}function _r(e){return(function(){for(var t=0,n=0,r=arguments.length;n<r;n++)t+=arguments[n].length;var i=Array(t),o=0;for(n=0;n<r;n++)for(var a=arguments[n],s=0,u=a.length;s<u;s++,o++)i[o]=a[s];return i})(e.slice(1),[e[0]]).map(function(t,n){return[e[n],t]})}var yo=function(e,t){return(yo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)r.hasOwnProperty(i)&&(n[i]=r[i])})(e,t)},Lt=function(){return Lt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Lt.apply(this,arguments)};function lr(e){return 180*(t=[e[0].clientX,e[0].clientY],r=(n=[e[1].clientX,e[1].clientY])[0]-t[0],i=n[1]-t[1],((o=Math.atan2(i,r))>=0?o:o+2*Math.PI)/Math.PI);var t,n,r,i,o}function Yn(e){return e?e.touches?(function(t){for(var n=Math.min(t.length,2),r=[],i=0;i<n;++i)r.push(wi(t[i]));return r})(e.touches):[wi(e)]:[]}function Mi(e,t,n){var r=n.length,i=mn(e,r),o=i.clientX,a=i.clientY,s=i.originalClientX,u=i.originalClientY,f=mn(t,r),p=f.clientX,c=f.clientY,l=mn(n,r);return{clientX:s,clientY:u,deltaX:o-p,deltaY:a-c,distX:o-l.clientX,distY:a-l.clientY}}function fr(e){return Math.sqrt(Math.pow(e[0].clientX-e[1].clientX,2)+Math.pow(e[0].clientY-e[1].clientY,2))}function wi(e){return{clientX:e.clientX,clientY:e.clientY}}function mn(e,t){t===void 0&&(t=e.length);for(var n={clientX:0,clientY:0,originalClientX:0,originalClientY:0},r=Math.min(e.length,t),i=0;i<r;++i){var o=e[i];n.originalClientX+="originalClientX"in o?o.originalClientX:o.clientX,n.originalClientY+="originalClientY"in o?o.originalClientY:o.clientY,n.clientX+=o.clientX,n.clientY+=o.clientY}return t?{clientX:n.clientX/t,clientY:n.clientY/t,originalClientX:n.originalClientX/t,originalClientY:n.originalClientY/t}:n}var pr=(function(){function e(t){this.prevClients=[],this.startClients=[],this.movement=0,this.length=0,this.startClients=t,this.prevClients=t,this.length=t.length}return e.prototype.getAngle=function(t){return t===void 0&&(t=this.prevClients),lr(t)},e.prototype.getRotation=function(t){return t===void 0&&(t=this.prevClients),lr(t)-lr(this.startClients)},e.prototype.getPosition=function(t,n){t===void 0&&(t=this.prevClients);var r=Mi(t||this.prevClients,this.prevClients,this.startClients),i=r.deltaX,o=r.deltaY;return this.movement+=Math.sqrt(i*i+o*o),this.prevClients=t,r},e.prototype.getPositions=function(t){t===void 0&&(t=this.prevClients);for(var n=this.prevClients,r=this.startClients,i=Math.min(this.length,n.length),o=[],a=0;a<i;++a)o[a]=Mi([t[a]],[n[a]],[r[a]]);return o},e.prototype.getMovement=function(t){var n=this.movement;if(!t)return n;var r=mn(t,this.length),i=mn(this.prevClients,this.length),o=r.clientX-i.clientX,a=r.clientY-i.clientY;return Math.sqrt(o*o+a*a)+n},e.prototype.getDistance=function(t){return t===void 0&&(t=this.prevClients),fr(t)},e.prototype.getScale=function(t){return t===void 0&&(t=this.prevClients),fr(t)/fr(this.startClients)},e.prototype.move=function(t,n){this.startClients.forEach(function(r){r.clientX-=t,r.clientY-=n}),this.prevClients.forEach(function(r){r.clientX-=t,r.clientY-=n})},e})(),Ci=["textarea","input"],_a=(function(e){function t(n,r){r===void 0&&(r={});var i=e.call(this)||this;i.options={},i.flag=!1,i.pinchFlag=!1,i.data={},i.isDrag=!1,i.isPinch=!1,i.clientStores=[],i.targets=[],i.prevTime=0,i.doubleFlag=!1,i._useMouse=!1,i._useTouch=!1,i._useDrag=!1,i._dragFlag=!1,i._isTrusted=!1,i._isMouseEvent=!1,i._isSecondaryButton=!1,i._preventMouseEvent=!1,i._prevInputEvent=null,i._isDragAPI=!1,i._isIdle=!0,i._preventMouseEventId=0,i._window=window,i.onDragStart=function(l,h){if(h===void 0&&(h=!0),i.flag||l.cancelable!==!1){var d=l.type.indexOf("drag")>=-1;if(!i.flag||!d){i._isDragAPI=!0;var g=i.options,v=g.container,b=g.pinchOutside,x=g.preventWheelClick,y=g.preventRightClick,E=g.preventDefault,M=g.checkInput,m=g.dragFocusedInput,S=g.preventClickEventOnDragStart,_=g.preventClickEventOnDrag,k=g.preventClickEventByCondition,F=i._useTouch,O=!i.flag;if(i._isSecondaryButton=l.which===3||l.button===2,x&&(l.which===2||l.button===1)||y&&(l.which===3||l.button===2))return i.stop(),!1;if(O){var w=i._window.document.activeElement,D=l.target;if(D){var R=D.tagName.toLowerCase(),P=Ci.indexOf(R)>-1,B=D.isContentEditable;if(P||B){if(M||!m&&w===D)return!1;if(w&&(w===D||B&&w.isContentEditable&&w.contains(D))){if(!m)return!1;D.blur()}}else if((E||l.type==="touchstart")&&w){var A=w.tagName.toLowerCase();(w.isContentEditable||Ci.indexOf(A)>-1)&&w.blur()}(S||_||k)&&Jt(i._window,"click",i._onClick,!0)}i.clientStores=[new pr(Yn(l))],i._isIdle=!1,i.flag=!0,i.isDrag=!1,i._isTrusted=h,i._dragFlag=!0,i._prevInputEvent=l,i.data={},i.doubleFlag=Zn()-i.prevTime<200,i._isMouseEvent=(G=l)&&(G.type.indexOf("mouse")>-1||"button"in G),!i._isMouseEvent&&i._preventMouseEvent&&i._allowMouseEvent(),(i._preventMouseEvent||i.emit("dragStart",Lt(Lt({data:i.data,datas:i.data,inputEvent:l,isMouseEvent:i._isMouseEvent,isSecondaryButton:i._isSecondaryButton,isTrusted:h,isDouble:i.doubleFlag},i.getCurrentStore().getPosition()),{preventDefault:function(){l.preventDefault()},preventDrag:function(){i._dragFlag=!1}})))===!1&&i.stop(),i._isMouseEvent&&i.flag&&E&&l.preventDefault()}if(!i.flag)return!1;var z=0;if(O?(i._attchDragEvent(),F&&b&&(z=setTimeout(function(){Jt(v,"touchstart",i.onDragStart,{passive:!1})}))):F&&b&&Ut(v,"touchstart",i.onDragStart),i.flag&&(function(I){return I.touches&&I.touches.length>=2})(l)){if(clearTimeout(z),O&&l.touches.length!==l.changedTouches.length)return;i.pinchFlag||i.onPinchStart(l)}}}var G},i.onDrag=function(l,h){if(i.flag){var d=i.options.preventDefault;!i._isMouseEvent&&d&&l.preventDefault(),i._prevInputEvent=l;var g=Yn(l),v=i.moveClients(g,l,!1);if(i._dragFlag){if((i.pinchFlag||v.deltaX||v.deltaY)&&(i._preventMouseEvent||i.emit("drag",Lt(Lt({},v),{isScroll:!!h,inputEvent:l})))===!1)return void i.stop();i.pinchFlag&&i.onPinch(l,g)}i.getCurrentStore().getPosition(g,!0)}},i.onDragEnd=function(l){if(i.flag){var h=i.options,d=h.pinchOutside,g=h.container,v=h.preventClickEventOnDrag,b=h.preventClickEventOnDragStart,x=h.preventClickEventByCondition,y=i.isDrag;(v||b||x)&&requestAnimationFrame(function(){i._allowClickEvent()}),x||b||!v||y||i._allowClickEvent(),i._useTouch&&d&&Ut(g,"touchstart",i.onDragStart),i.pinchFlag&&i.onPinchEnd(l);var E=l?.touches?Yn(l):[];E.length!==0&&i.options.keepDragging?i._addStore(new pr(E)):i.flag=!1;var M=i._getPosition(),m=Zn(),S=!y&&i.doubleFlag;i._prevInputEvent=null,i.prevTime=y||S?0:m,i.flag||(i._dettachDragEvent(),i._preventMouseEvent||i.emit("dragEnd",Lt({data:i.data,datas:i.data,isDouble:S,isDrag:y,isClick:!y,isMouseEvent:i._isMouseEvent,isSecondaryButton:i._isSecondaryButton,inputEvent:l,isTrusted:i._isTrusted},M)),i.clientStores=[],i._isMouseEvent||(i._preventMouseEvent=!0,clearTimeout(i._preventMouseEventId),i._preventMouseEventId=setTimeout(function(){i._preventMouseEvent=!1},200)),i._isIdle=!0)}},i.onBlur=function(){i.onDragEnd()},i._allowClickEvent=function(){Ut(i._window,"click",i._onClick,!0)},i._onClick=function(l){i._allowClickEvent(),i._allowMouseEvent();var h=i.options.preventClickEventByCondition;h?.(l)||(l.stopPropagation(),l.preventDefault())},i._onContextMenu=function(l){i.options.preventRightClick?i.onDragEnd(l):l.preventDefault()},i._passCallback=function(){};var o=[].concat(n),a=o[0];i._window=lo(a)?a:Pe(a),i.options=Lt({checkInput:!1,container:a&&!("document"in a)?Pe(a):a,preventRightClick:!0,preventWheelClick:!0,preventClickEventOnDragStart:!1,preventClickEventOnDrag:!1,preventClickEventByCondition:null,preventDefault:!0,checkWindowBlur:!1,keepDragging:!1,pinchThreshold:0,events:["touch","mouse"]},r);var s=i.options,u=s.container,f=s.events,p=s.checkWindowBlur;if(i._useDrag=f.indexOf("drag")>-1,i._useTouch=f.indexOf("touch")>-1,i._useMouse=f.indexOf("mouse")>-1,i.targets=o,i._useDrag&&o.forEach(function(l){Jt(l,"dragstart",i.onDragStart)}),i._useMouse&&(o.forEach(function(l){Jt(l,"mousedown",i.onDragStart),Jt(l,"mousemove",i._passCallback)}),Jt(u,"contextmenu",i._onContextMenu)),p&&Jt(Pe(),"blur",i.onBlur),i._useTouch){var c={passive:!1};o.forEach(function(l){Jt(l,"touchstart",i.onDragStart,c),Jt(l,"touchmove",i._passCallback,c)})}return i}return(function(n,r){function i(){this.constructor=n}yo(n,r),n.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)})(t,e),t.prototype.stop=function(){this.isDrag=!1,this.data={},this.clientStores=[],this.pinchFlag=!1,this.doubleFlag=!1,this.prevTime=0,this.flag=!1,this._isIdle=!0,this._allowClickEvent(),this._dettachDragEvent(),this._isDragAPI=!1},t.prototype.getMovement=function(n){return this.getCurrentStore().getMovement(n)+this.clientStores.slice(1).reduce(function(r,i){return r+i.movement},0)},t.prototype.isDragging=function(){return this.isDrag},t.prototype.isIdle=function(){return this._isIdle},t.prototype.isFlag=function(){return this.flag},t.prototype.isPinchFlag=function(){return this.pinchFlag},t.prototype.isDoubleFlag=function(){return this.doubleFlag},t.prototype.isPinching=function(){return this.isPinch},t.prototype.scrollBy=function(n,r,i,o){o===void 0&&(o=!0),this.flag&&(this.clientStores[0].move(n,r),o&&this.onDrag(i,!0))},t.prototype.move=function(n,r){var i=n[0],o=n[1],a=this.getCurrentStore().prevClients;return this.moveClients(a.map(function(s){var u=s.clientX,f=s.clientY;return{clientX:u+i,clientY:f+o,originalClientX:u,originalClientY:f}}),r,!0)},t.prototype.triggerDragStart=function(n){this.onDragStart(n,!1)},t.prototype.setEventData=function(n){var r=this.data;for(var i in n)r[i]=n[i];return this},t.prototype.setEventDatas=function(n){return this.setEventData(n)},t.prototype.getCurrentEvent=function(n){return n===void 0&&(n=this._prevInputEvent),Lt(Lt({data:this.data,datas:this.data},this._getPosition()),{movement:this.getMovement(),isDrag:this.isDrag,isPinch:this.isPinch,isScroll:!1,inputEvent:n})},t.prototype.getEventData=function(){return this.data},t.prototype.getEventDatas=function(){return this.data},t.prototype.unset=function(){var n=this,r=this.targets,i=this.options.container;this.off(),Ut(this._window,"blur",this.onBlur),this._useDrag&&r.forEach(function(o){Ut(o,"dragstart",n.onDragStart)}),this._useMouse&&(r.forEach(function(o){Ut(o,"mousedown",n.onDragStart)}),Ut(i,"contextmenu",this._onContextMenu)),this._useTouch&&(r.forEach(function(o){Ut(o,"touchstart",n.onDragStart)}),Ut(i,"touchstart",this.onDragStart)),this._prevInputEvent=null,this._allowClickEvent(),this._dettachDragEvent()},t.prototype.onPinchStart=function(n){var r=this,i=this.options.pinchThreshold;if(!(this.isDrag&&this.getMovement()>i)){var o=new pr(Yn(n));this.pinchFlag=!0,this._addStore(o),this.emit("pinchStart",Lt(Lt({data:this.data,datas:this.data,angle:o.getAngle(),touches:this.getCurrentStore().getPositions()},o.getPosition()),{inputEvent:n,isTrusted:this._isTrusted,preventDefault:function(){n.preventDefault()},preventDrag:function(){r._dragFlag=!1}}))===!1&&(this.pinchFlag=!1)}},t.prototype.onPinch=function(n,r){if(this.flag&&this.pinchFlag&&!(r.length<2)){var i=this.getCurrentStore();this.isPinch=!0,this.emit("pinch",Lt(Lt({data:this.data,datas:this.data,movement:this.getMovement(r),angle:i.getAngle(r),rotation:i.getRotation(r),touches:i.getPositions(r),scale:i.getScale(r),distance:i.getDistance(r)},i.getPosition(r)),{inputEvent:n,isTrusted:this._isTrusted}))}},t.prototype.onPinchEnd=function(n){if(this.pinchFlag){var r=this.isPinch;this.isPinch=!1,this.pinchFlag=!1;var i=this.getCurrentStore();this.emit("pinchEnd",Lt(Lt({data:this.data,datas:this.data,isPinch:r,touches:i.getPositions()},i.getPosition()),{inputEvent:n}))}},t.prototype.getCurrentStore=function(){return this.clientStores[0]},t.prototype.moveClients=function(n,r,i){var o=this._getPosition(n,i),a=this.isDrag;(o.deltaX||o.deltaY)&&(this.isDrag=!0);var s=!1;return!a&&this.isDrag&&(s=!0),Lt(Lt({data:this.data,datas:this.data},o),{movement:this.getMovement(n),isDrag:this.isDrag,isPinch:this.isPinch,isScroll:!1,isMouseEvent:this._isMouseEvent,isSecondaryButton:this._isSecondaryButton,inputEvent:r,isTrusted:this._isTrusted,isFirstDrag:s})},t.prototype._addStore=function(n){this.clientStores.splice(0,0,n)},t.prototype._getPosition=function(n,r){var i=this.getCurrentStore().getPosition(n,r),o=this.clientStores.slice(1).reduce(function(u,f){var p=f.getPosition();return u.distX+=p.distX,u.distY+=p.distY,u},i),a=o.distX,s=o.distY;return Lt(Lt({},i),{distX:a,distY:s})},t.prototype._attchDragEvent=function(){var n=this._window,r=this.options.container,i={passive:!1};this._isDragAPI&&(Jt(r,"dragover",this.onDrag,i),Jt(n,"dragend",this.onDragEnd)),this._useMouse&&(Jt(r,"mousemove",this.onDrag),Jt(n,"mouseup",this.onDragEnd)),this._useTouch&&(Jt(r,"touchmove",this.onDrag,i),Jt(n,"touchend",this.onDragEnd,i),Jt(n,"touchcancel",this.onDragEnd,i))},t.prototype._dettachDragEvent=function(){var n=this._window,r=this.options.container;this._isDragAPI&&(Ut(r,"dragover",this.onDrag),Ut(n,"dragend",this.onDragEnd)),this._useMouse&&(Ut(r,"mousemove",this.onDrag),Ut(n,"mouseup",this.onDragEnd)),this._useTouch&&(Ut(r,"touchstart",this.onDragStart),Ut(r,"touchmove",this.onDrag),Ut(n,"touchend",this.onDragEnd),Ut(n,"touchcancel",this.onDragEnd))},t.prototype._allowMouseEvent=function(){this._preventMouseEvent=!1,clearTimeout(this._preventMouseEventId)},t})(bo);function Ta(e){var t="rCS"+(function(n){for(var r=5381,i=n.length;i;)r=33*r^n.charCodeAt(--i);return r>>>0})(e).toString(36);return{className:t,inject:function(n,r){r===void 0&&(r={});var i=(function(s){if(s&&s.getRootNode){var u=s.getRootNode();if(u.nodeType===11)return u}})(n),o=(i||n.ownerDocument||document).querySelector('style[data-styled-id="'.concat(t,'"]'));if(o){var a=parseFloat(o.getAttribute("data-styled-count"))||0;o.setAttribute("data-styled-count","".concat(a+1))}else o=(function(s,u,f,p,c){var l,h,d=jr(p),g=d.createElement("style");return g.setAttribute("type","text/css"),g.setAttribute("data-styled-id",s),g.setAttribute("data-styled-count","1"),f.nonce&&g.setAttribute("nonce",f.nonce),g.innerHTML=(l=s,h=u,f.original?h:h.replace(/([^};{\s}][^};{]*|^\s*){/gm,function(v,b){var x=b.trim();return(x?hn(x):[""]).map(function(y){var E=y.trim();return E.indexOf("@")===0?E:E.indexOf(":global")>-1?E.replace(/\:global/g,""):E.indexOf(":host")>-1?"".concat(E.replace(/\:host/g,".".concat(l))):E?".".concat(l," ").concat(E):".".concat(l)}).join(", ")+" {"})),(c||d.head||d.body).appendChild(g),g})(t,e,r,n,i);return{destroy:function(){var s,u=parseFloat(o.getAttribute("data-styled-count"))||0;u<=1?(o.remove?o.remove():(s=o.parentNode)===null||s===void 0||s.removeChild(o),o=null):o.setAttribute("data-styled-count","".concat(u-1))}}}}}var Tr=function(){return Tr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Tr.apply(this,arguments)};function Eo(e,t){var n=Ta(t),r=n.className;return ee.reactExports.forwardRef(function(i,o){var a=i.className,s=a===void 0?"":a;i.cspNonce;var u=(function(p,c){var l={};for(var h in p)Object.prototype.hasOwnProperty.call(p,h)&&c.indexOf(h)<0&&(l[h]=p[h]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function"){var d=0;for(h=Object.getOwnPropertySymbols(p);d<h.length;d++)c.indexOf(h[d])<0&&Object.prototype.propertyIsEnumerable.call(p,h[d])&&(l[h[d]]=p[h[d]])}return l})(i,["className","cspNonce"]),f=ee.reactExports.useRef();return ee.reactExports.useImperativeHandle(o,function(){return f.current},[]),ee.reactExports.useEffect(function(){var p=n.inject(f.current,{nonce:i.cspNonce});return function(){p.destroy()}},[]),ee.reactExports.createElement(e,Tr({ref:f,"data-styled-id":r,className:"".concat(s," ").concat(r)},u))})}var So=function(e,t){return(So=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])})(e,t)};function Rn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}So(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var C=function(){return C=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},C.apply(this,arguments)};function T(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(t===void 0||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function K(e,t,n){if(arguments.length===2)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function Cn(e,t){return C({events:[],props:[],name:e},t)}var Oa,_i,Ti,Pa=["n","w","s","e"],Zr=["n","w","s","e","nw","ne","sw","se"],rn=(function(){if(typeof navigator>"u"||!navigator||!navigator.userAgentData)return!1;var e=navigator.userAgentData,t=e.brands||e.uaList;return!(!t||!t.length)})()?(function(){var e=navigator.userAgentData,t=(e.uaList||e.brands).slice(),n=e.mobile||!1,r=t[0],i=(e.platform||navigator.platform).toLowerCase(),o={name:r.brand,version:r.version,majorVersion:-1,webkit:!1,webkitVersion:"-1",chromium:!1,chromiumVersion:"-1",webview:!!zn(no,t).brand||di(ci())},a={name:"unknown",version:"-1",majorVersion:-1};o.webkit=!o.chromium&&Xr(sr,function(c){return eo(t,c)});var s=zn(fi,t);if(o.chromium=!!s.brand,o.chromiumVersion=s.version||"-1",!o.chromium){var u=zn(sr,t);o.webkit=!!u.brand,o.webkitVersion=u.version||"-1"}var f=to(pi,function(c){return new RegExp(""+c.test,"g").exec(i)});a.name=f?f.id:"";var p=zn(li,t);return o.name=p.brand||o.name,o.version=(p.brand,p.version),o.webkit&&(a.name=n?"ios":"mac"),a.name==="ios"&&o.webview&&(o.version="-1"),a.version=Sr(a.version),o.version=Sr(o.version),a.majorVersion=parseInt(a.version,10),o.majorVersion=parseInt(o.version,10),{browser:o,os:a,isMobile:n,isHints:!0}})():(function(){var e=ci(Oa),t=!!/mobi/g.exec(e),n={name:"unknown",version:"-1",majorVersion:-1,webview:di(e),chromium:!1,chromiumVersion:"-1",webkit:!1,webkitVersion:"-1"},r={name:"unknown",version:"-1",majorVersion:-1},i=dn(li,e),o=i.preset,a=i.version,s=dn(pi,e),u=s.preset,f=s.version,p=dn(fi,e);if(n.chromium=!!p.preset,n.chromiumVersion=p.version,!n.chromium){var c=dn(sr,e);n.webkit=!!c.preset,n.webkitVersion=c.version}return u&&(r.name=u.id,r.version=f,r.majorVersion=parseInt(f,10)),o&&(n.name=o.id,n.version=a,n.webview&&r.name==="ios"&&n.name!=="safari"&&(n.webview=!1)),n.majorVersion=parseInt(n.version,10),{browser:n,os:r,isMobile:t,isHints:!1}})(),Do=rn.browser.webkit,Mo=Do&&(_i=typeof window>"u"?{userAgent:""}:window.navigator,!!(Ti=/applewebkit\/([^\s]+)/g.exec(_i.userAgent.toLowerCase()))&&parseFloat(Ti[1])<605),wo=rn.browser.name,Co=parseInt(rn.browser.version,10),Ra=wo==="chrome",Ba=rn.browser.chromium,ka=parseInt(rn.browser.chromiumVersion,10)||0,Fa=Ra&&Co>=109||Ba&&ka>=109,Aa=wo==="firefox",za=parseInt(rn.browser.webkitVersion,10)>=612||Co>=15,Kr="moveable-",Ga=Zr.map(function(e){var t="",n="",r="center",i="center",o="calc(var(--moveable-control-padding, 20) * -1px)";return e.indexOf("n")>-1&&(t="top: ".concat(o,";"),i="bottom"),e.indexOf("s")>-1&&(t="top: 0px;",i="top"),e.indexOf("w")>-1&&(n="left: ".concat(o,";"),r="right"),e.indexOf("e")>-1&&(n="left: 0px;",r="left"),'.around-control[data-direction*="'.concat(e,`"] {
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ee=require("./DRzHHu7CVu9c7zCP.cjs");function Xr(e,t){for(var n=e.length,r=0;r<n;++r)if(t(e[r],r))return!0;return!1}function to(e,t){for(var n=e.length,r=0;r<n;++r)if(t(e[r],r))return e[r];return null}function ci(e){var t=e;if(t===void 0){if(typeof navigator>"u"||!navigator)return"";t=navigator.userAgent||""}return t.toLowerCase()}function Er(e,t){try{return new RegExp(e,"g").exec(t)}catch{return null}}function Sr(e){return e.replace(/_/g,".")}function dn(e,t){var n=null,r="-1";return Xr(e,function(i){var o,a,s,u=Er("("+i.test+")((?:\\/|\\s|:)([0-9|\\.|_]+))?",t);return!(!u||i.brand||(n=i,r=u[3]||"-1",i.versionAlias?r=i.versionAlias:i.versionTest&&(o=i.versionTest.toLowerCase(),a=t,s=Er("("+o+")((?:\\/|\\s|:)([0-9|\\.|_]+))",a),r=(s?s[3]:"")||r),r=Sr(r),0))}),{preset:n,version:r}}function zn(e,t){var n={brand:"",version:"-1"};return Xr(e,function(r){var i=eo(t,r);return!!i&&(n.brand=r.id,n.version=r.versionAlias||i.version,n.version!=="-1")}),n}function eo(e,t){return to(e,function(n){var r=n.brand;return Er(""+t.test,r.toLowerCase())})}var li=[{test:"phantomjs",id:"phantomjs"},{test:"whale",id:"whale"},{test:"edgios|edge|edg",id:"edge"},{test:"msie|trident|windows phone",id:"ie",versionTest:"iemobile|msie|rv"},{test:"miuibrowser",id:"miui browser"},{test:"samsungbrowser",id:"samsung internet"},{test:"samsung",id:"samsung internet",versionTest:"version"},{test:"chrome|crios",id:"chrome"},{test:"firefox|fxios",id:"firefox"},{test:"android",id:"android browser",versionTest:"version"},{test:"safari|iphone|ipad|ipod",id:"safari",versionTest:"version"}],fi=[{test:"(?=.*applewebkit/(53[0-7]|5[0-2]|[0-4]))(?=.*\\schrome)",id:"chrome",versionTest:"chrome"},{test:"chromium",id:"chrome"},{test:"whale",id:"chrome",versionAlias:"-1",brand:!0}],sr=[{test:"applewebkit",id:"webkit",versionTest:"applewebkit|safari"}],no=[{test:"(?=(iphone|ipad))(?!(.*version))",id:"webview"},{test:"(?=(android|iphone|ipad))(?=.*(naver|daum|; wv))",id:"webview"},{test:"webview",id:"webview"}],pi=[{test:"windows phone",id:"windows phone"},{test:"windows 2000",id:"window",versionAlias:"5.0"},{test:"windows nt",id:"window"},{test:"win32|windows",id:"window"},{test:"iphone|ipad|ipod",id:"ios",versionTest:"iphone os|cpu os"},{test:"macos|macintel|mac os x",id:"mac"},{test:"android|linux armv81",id:"android"},{test:"tizen",id:"tizen"},{test:"webos|web0s",id:"webos"}];function di(e){return!!dn(no,e).preset}function ca(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.map(function(r){return r.split(" ").map(function(i){return i?""+e+i:""}).join(" ")}).join(" ")}function Ae(e,t){return function(n){n&&(e[t]=n)}}function ro(e,t,n){return function(r){r&&(e[t][n]=r)}}var Nr="undefined",io=typeof window!==Nr,la=typeof document!==Nr&&document,fa=[{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:'\\"',close:'\\"'},{open:"\\'",close:"\\'"}],Ht=1e-7,Gn={cm:function(e){return 96*e/2.54},mm:function(e){return 96*e/254},in:function(e){return 96*e},pt:function(e){return 96*e/72},pc:function(e){return 96*e/6},"%":function(e,t){return e*t/100},vw:function(e,t){return t===void 0&&(t=window.innerWidth),e/100*t},vh:function(e,t){return t===void 0&&(t=window.innerHeight),e/100*t},vmax:function(e,t){return t===void 0&&(t=Math.max(window.innerWidth,window.innerHeight)),e/100*t},vmin:function(e,t){return t===void 0&&(t=Math.min(window.innerWidth,window.innerHeight)),e/100*t}};function hi(e,t,n,r){return(e*r+t*n)/(n+r)}function Wr(e){return typeof e===Nr}function we(e){return e&&typeof e=="object"}function ne(e){return Array.isArray(e)}function nn(e){return typeof e=="string"}function Vn(e){return typeof e=="number"}function oo(e){return typeof e=="function"}function ao(e,t,n,r,i){return Dr(e,t,n)?n:(function(o,a,s,u,f){for(var p,c=function(d){var g=a[d].trim();if(g===o.close&&!Dr(o,a,d))return{value:d};var v=d,b=he(f,function(x){return x.open===g});if(b&&(v=ao(b,a,d,u,f)),v===-1)return p=d,"break";p=d=v},l=s;l<u;++l){var h=c(l);if(l=p,typeof h=="object")return h.value;if(h==="break")break}return-1})(e,t,n+1,r,i)}function Dr(e,t,n){if(!e.ignore)return null;var r=t.slice(Math.max(n-3,0),n+3).join("");return new RegExp(e.ignore).exec(r)}function qr(e,t){var n=nn(t)?{separator:t}:t,r=n.separator,i=r===void 0?",":r,o=n.isSeparateFirst,a=n.isSeparateOnlyOpenClose,s=n.isSeparateOpenClose,u=s===void 0?a:s,f=n.openCloseCharacters,p=f===void 0?fa:f,c=p.map(function(m){var S=m.open,_=m.close;return S===_?S:S+"|"+_}).join("|"),l=new RegExp("(\\s*"+i+"\\s*|"+c+"|\\s+)","g"),h=e.split(l).filter(function(m){return m&&m!=="undefined"}),d=h.length,g=[],v=[];function b(){return!!v.length&&(g.push(v.join("")),v=[],!0)}for(var x,y=function(m){var S,_,k=h[m].trim(),F=m,O=he(p,function(R){return R.open===k}),w=he(p,function(R){return R.close===k});if(O){if((F=ao(O,h,m,d,p))!==-1&&u)return b()&&o?(x=m,"break"):(g.push(h.slice(m,F+1).join("")),m=F,o?(x=m,"break"):(x=m,"continue"))}else{if(w&&!Dr(w,h,m)){var D=(function(){for(var R=0,P=0,B=arguments.length;P<B;P++)R+=arguments[P].length;var A=Array(R),z=0;for(P=0;P<B;P++)for(var G=arguments[P],I=0,V=G.length;I<V;I++,z++)A[z]=G[I];return A})(p);return D.splice(p.indexOf(w),1),{value:qr(e,{separator:i,isSeparateFirst:o,isSeparateOnlyOpenClose:a,isSeparateOpenClose:u,openCloseCharacters:D})}}if(S=k,_=i,!((_!==""&&_!=" "||S!==""&&S!=" ")&&S!==_||a))return b(),o?(x=m,"break"):(x=m,"continue")}F===-1&&(F=d-1),v.push(h.slice(m,F+1).join("")),x=m=F},E=0;E<d;++E){var M=y(E);if(E=x,typeof M=="object")return M.value;if(M==="break")break}return v.length&&g.push(v.join("")),g}function Mn(e){return qr(e,"")}function hn(e){return qr(e,",")}function nr(e){var t=/^([^\d|e|\-|\+]*)((?:\d|\.|-|e-|e\+)+)(\S*)$/g.exec(e);if(!t)return{prefix:"",unit:"",value:NaN};var n=t[1],r=t[2];return{prefix:n,unit:t[3],value:parseFloat(r)}}function Zn(){return Date.now?Date.now():new Date().getTime()}function $e(e,t,n){n===void 0&&(n=-1);for(var r=e.length,i=0;i<r;++i)if(t(e[i],i,e))return i;return n}function he(e,t,n){var r=$e(e,t);return r>-1?e[r]:n}var gi,vi,so=(gi=Zn(),(vi=io&&(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame))?vi.bind(window):function(e){var t=Zn();return setTimeout(function(){e(t-gi)},1e3/60)}),pa=(function(){var e=io&&(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame);return e?e.bind(window):function(t){clearTimeout(t)}})();function wn(e){return Object.keys(e)}function ae(e,t){var n=nr(e),r=n.value,i=n.unit;if(we(t)){var o=t[i];if(o){if(oo(o))return o(r);if(Gn[i])return Gn[i](r,o)}}else if(i==="%")return r*t/100;return Gn[i]?Gn[i](r):r}function Mr(e,t,n){return Math.max(t,Math.min(e,n))}function mi(e,t,n,r){return r===void 0&&(r=e[0]/e[1]),[[kt(t[0],Ht),kt(t[0]/r,Ht)],[kt(t[1]*r,Ht),kt(t[1],Ht)]].filter(function(i){return i.every(function(o,a){var s=t[a],u=kt(s,Ht);return n?o<=s||o<=u:o>=s||o>=u})})[0]||e}function wr(e){for(var t=e.length,n=0,r=t-1;r>=0;--r)n+=e[r];return t?n/t:0}function de(e,t){var n=t[0]-e[0],r=t[1]-e[1],i=Math.atan2(r,n);return i>=0?i:i+2*Math.PI}function bi(e){var t,n=(t=e,[0,1].map(function(o){return wr(t.map(function(a){return a[o]}))})),r=de(n,e[0]),i=de(n,e[1]);return r<i&&i-r<Math.PI||r>i&&i-r<-Math.PI?1:-1}function gn(e,t){return Math.sqrt(Math.pow((t?t[0]:0)-e[0],2)+Math.pow((t?t[1]:0)-e[1],2))}function kt(e,t){if(!t)return e;var n=1/t;return Math.round(e/t)/n}function xi(e,t){return e.forEach(function(n,r){e[r]=kt(e[r],t)}),e}function Ee(e,t){return e.classList?e.classList.contains(t):!!e.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))}function uo(e,t){e.classList?e.classList.add(t):e.className+=" "+t}function co(e,t){if(e.classList)e.classList.remove(t);else{var n=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(n," ")}}function Jt(e,t,n,r){e.addEventListener(t,n,r)}function Ut(e,t,n,r){e.removeEventListener(t,n,r)}function jr(e){return e?.ownerDocument||la}function Lr(e){return jr(e).documentElement}function Be(e){return jr(e).body}function Pe(e){var t;return((t=e?.ownerDocument)===null||t===void 0?void 0:t.defaultView)||window}function lo(e){return e&&"postMessage"in e&&"blur"in e&&"self"in e}function Hr(e){return we(e)&&e.nodeName&&e.nodeType&&"ownerDocument"in e}function da(e,t,n,r,i,o){for(var a=0;a<i;++a){var s=n+a*i,u=r+a*i;e[s]+=e[u]*o,t[s]+=t[u]*o}}function ha(e,t,n,r,i){for(var o=0;o<i;++o){var a=n+o*i,s=r+o*i,u=e[a],f=t[a];e[a]=e[s],e[s]=u,t[a]=t[s],t[s]=f}}function ga(e,t,n,r,i){for(var o=0;o<r;++o){var a=n+o*r;e[a]/=i,t[a]/=i}}function ze(e,t){t===void 0&&(t=Math.sqrt(e.length));for(var n=e.slice(),r=It(t),i=0;i<t;++i){var o=t*i+i;if(!kt(n[o],Ht)){for(var a=i+1;a<t;++a)if(n[t*i+a]){ha(n,r,i,a,t);break}}if(!kt(n[o],Ht))return[];for(ga(n,r,i,t,n[o]),a=0;a<t;++a){var s=a,u=n[a+i*t];kt(u,Ht)&&i!==a&&da(n,r,s,i,t,-u)}}return r}function Pn(e,t){for(var n=e.slice(),r=e.length;r<t-1;++r)n[r]=0;return n[t-1]=1,n}function Ge(e,t,n){if(t===void 0&&(t=Math.sqrt(e.length)),t===n)return e;for(var r=It(n),i=Math.min(t,n),o=0;o<i-1;++o){for(var a=0;a<i-1;++a)r[o*n+a]=e[o*t+a];r[(o+1)*n-1]=e[(o+1)*t-1],r[(n-1)*n+o]=e[(t-1)*t+o]}return r[n*n-1]=e[t*t-1],r}function Kn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=It(e);return t.forEach(function(i){r=Vt(r,i,e)}),r}function Vt(e,t,n){n===void 0&&(n=Math.sqrt(e.length));var r=[],i=e.length/n,o=t.length/i;if(!i)return t;if(!o)return e;for(var a=0;a<n;++a)for(var s=0;s<o;++s){r[s*n+a]=0;for(var u=0;u<i;++u)r[s*n+a]+=e[u*n+a]*t[s*i+u]}return r}function Wt(e,t){for(var n=Math.min(e.length,t.length),r=e.slice(),i=0;i<n;++i)r[i]=r[i]+t[i];return r}function bt(e,t){for(var n=Math.min(e.length,t.length),r=e.slice(),i=0;i<n;++i)r[i]=r[i]-t[i];return r}function va(e,t){return t===void 0&&(t=e.length===6),t?[e[0],e[1],0,e[2],e[3],0,e[4],e[5],1]:e}function fo(e,t){return t===void 0&&(t=e.length===9),t?[e[0],e[1],e[3],e[4],e[6],e[7]]:e}function xe(e,t,n){n===void 0&&(n=t.length);var r=Vt(e,t,n),i=r[n-1];return r.map(function(o){return o/i})}function ma(e,t){return Vt(e,[1,0,0,0,0,Math.cos(t),Math.sin(t),0,0,-Math.sin(t),Math.cos(t),0,0,0,0,1],4)}function ba(e,t){return Vt(e,[Math.cos(t),0,-Math.sin(t),0,0,1,0,0,Math.sin(t),0,Math.cos(t),0,0,0,0,1],4)}function xa(e,t){return Vt(e,rr(t,4))}function In(e,t){var n=t[0],r=n===void 0?1:n,i=t[1],o=i===void 0?1:i,a=t[2];return Vt(e,[r,0,0,0,0,o,0,0,0,0,a===void 0?1:a,0,0,0,0,1],4)}function ur(e,t){var n=t[0],r=n===void 0?0:n,i=t[1],o=i===void 0?0:i,a=t[2];return Vt(e,[1,0,0,0,0,1,0,0,0,0,1,0,r,o,a===void 0?0:a,1],4)}function yi(e,t){return Vt(e,t,4)}function rr(e,t){var n=Math.cos(e),r=Math.sin(e),i=It(t);return i[0]=n,i[1]=r,i[t]=-r,i[t+1]=n,i}function It(e){for(var t=e*e,n=[],r=0;r<t;++r)n[r]=r%(e+1)?0:1;return n}function po(e,t){for(var n=It(t),r=Math.min(e.length,t-1),i=0;i<r;++i)n[(t+1)*i]=e[i];return n}function Ie(e,t){for(var n=It(t),r=Math.min(e.length,t-1),i=0;i<r;++i)n[t*(t-1)+i]=e[i];return n}function ho(e,t,n,r,i,o,a,s){var u=e[0],f=e[1],p=t[0],c=t[1],l=n[0],h=n[1],d=r[0],g=r[1],v=i[0],b=i[1],x=o[0],y=o[1],E=a[0],M=a[1],m=s[0],S=s[1],_=ze([u,0,p,0,l,0,d,0,f,0,c,0,h,0,g,0,1,0,1,0,1,0,1,0,0,u,0,p,0,l,0,d,0,f,0,c,0,h,0,g,0,1,0,1,0,1,0,1,-v*u,-b*u,-x*p,-y*p,-E*l,-M*l,-m*d,-S*d,-v*f,-b*f,-x*c,-y*c,-E*h,-M*h,-m*g,-S*g],8);if(!_.length)return[];var k=Vt(_,[v,b,x,y,E,M,m,S],8);return k[8]=1,Ge((function(F,O){O===void 0&&(O=Math.sqrt(F.length));for(var w=[],D=0;D<O;++D)for(var R=0;R<O;++R)w[R*O+D]=F[O*D+R];return w})(k),3,4)}var vn=function(){return vn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},vn.apply(this,arguments)};function Vr(e,t){return t===void 0&&(t=0),We(Qe(e,t))}function We(e){var t=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];return e.forEach(function(n){var r=n.matrixFunction,i=n.functionValue;r&&(t=r(t,i))}),t}function Qe(e,t){return t===void 0&&(t=0),(ne(e)?e:Mn(e)).map(function(n){var r,i=!(r=/([^(]*)\(([\s\S]*)\)([\s\S]*)/g.exec(n))||r.length<4?{}:{prefix:r[1],value:r[2],suffix:r[3]},o=i.prefix,a=i.value,s=null,u=o,f="";if(o==="translate"||o==="translateX"||o==="translate3d"){var p=we(t)?vn(vn({},t),{"o%":t["%"]}):{"%":t,"o%":t},c=hn(a).map(function(k,F){return p["%"]=F===0&&"x%"in p?t["x%"]:F===1&&"y%"in p?t["y%"]:t["o%"],ae(k,p)}),l=c[0],h=c[1],d=h===void 0?0:h,g=c[2];s=ur,f=[l,d,g===void 0?0:g]}else if(o==="translateY")s=ur,f=[0,d=ae(a,we(t)?vn({"%":t["y%"]},t):{"%":t}),0];else if(o==="translateZ")s=ur,f=[0,0,parseFloat(a)];else if(o==="scale"||o==="scale3d"){var v=hn(a).map(function(k){return parseFloat(k)}),b=v[0],x=v[1],y=x===void 0?b:x,E=v[2];s=In,f=[b,y,E===void 0?1:E]}else if(o==="scaleX")s=In,f=[b=parseFloat(a),1,1];else if(o==="scaleY")s=In,f=[1,y=parseFloat(a),1];else if(o==="scaleZ")s=In,f=[1,1,parseFloat(a)];else if(o==="rotate"||o==="rotateZ"||o==="rotateX"||o==="rotateY"){var M=nr(a),m=M.unit,S=M.value;o==="rotate"||o==="rotateZ"?(u="rotateZ",s=xa):o==="rotateX"?s=ma:o==="rotateY"&&(s=ba),f=m==="rad"?S:S*Math.PI/180}else if(o==="matrix3d")s=yi,f=hn(a).map(function(k){return parseFloat(k)});else if(o==="matrix"){var _=hn(a).map(function(k){return parseFloat(k)});s=yi,f=[_[0],_[1],0,0,_[2],_[3],0,0,0,0,1,0,_[4],_[5],0,1]}else u="";return{name:o,functionName:u,value:a,matrixFunction:s,functionValue:f}})}var ya=(function(){function e(){this.keys=[],this.values=[]}var t=e.prototype;return t.get=function(n){return this.values[this.keys.indexOf(n)]},t.set=function(n,r){var i=this.keys,o=this.values,a=i.indexOf(n),s=a===-1?i.length:a;i[s]=n,o[s]=r},e})(),Ea=(function(){function e(){this.object={}}var t=e.prototype;return t.get=function(n){return this.object[n]},t.set=function(n,r){this.object[n]=r},e})(),Sa=typeof Map=="function",Da=(function(){function e(){}var t=e.prototype;return t.connect=function(n,r){this.prev=n,this.next=r,n&&(n.next=this),r&&(r.prev=this)},t.disconnect=function(){var n=this.prev,r=this.next;n&&(n.next=r),r&&(r.prev=n)},t.getIndex=function(){for(var n=this,r=-1;n;)n=n.prev,++r;return r},e})(),Ma=(function(){function e(n,r,i,o,a,s,u,f){this.prevList=n,this.list=r,this.added=i,this.removed=o,this.changed=a,this.maintained=s,this.changedBeforeAdded=u,this.fixed=f}var t=e.prototype;return Object.defineProperty(t,"ordered",{get:function(){return this.cacheOrdered||this.caculateOrdered(),this.cacheOrdered},enumerable:!0,configurable:!0}),Object.defineProperty(t,"pureChanged",{get:function(){return this.cachePureChanged||this.caculateOrdered(),this.cachePureChanged},enumerable:!0,configurable:!0}),t.caculateOrdered=function(){var n,r,i,o,a=(n=this.changedBeforeAdded,r=this.fixed,i=[],o=[],n.forEach(function(f){var p=f[0],c=f[1],l=new Da;i[p]=l,o[c]=l}),i.forEach(function(f,p){f.connect(i[p-1])}),n.filter(function(f,p){return!r[p]}).map(function(f,p){var c=f[0],l=f[1];if(c===l)return[0,0];var h=i[c],d=o[l-1],g=h.getIndex();return h.disconnect(),d?h.connect(d,d.next):h.connect(void 0,i[0]),[g,h.getIndex()]})),s=this.changed,u=[];this.cacheOrdered=a.filter(function(f,p){var c=f[0],l=f[1],h=s[p],d=h[0],g=h[1];if(c!==l)return u.push([d,g]),!0}),this.cachePureChanged=u},e})();function go(e,t,n){var r=Sa?Map:n?Ea:ya,i=n||function(x){return x},o=[],a=[],s=[],u=e.map(i),f=t.map(i),p=new r,c=new r,l=[],h=[],d={},g=[],v=0,b=0;return u.forEach(function(x,y){p.set(x,y)}),f.forEach(function(x,y){c.set(x,y)}),u.forEach(function(x,y){var E=c.get(x);E===void 0?(++b,a.push(y)):d[E]=b}),f.forEach(function(x,y){var E=p.get(x);E===void 0?(o.push(y),++v):(s.push([E,y]),b=d[y]||0,l.push([E-b,y-v]),h.push(y===E),E!==y&&g.push([E,y]))}),a.reverse(),new Ma(e,t,o,a,g,s,l,h)}var Ei,wa=(function(){function e(t,n){t===void 0&&(t=[]),this.findKeyCallback=n,this.list=[].slice.call(t)}return e.prototype.update=function(t){var n=[].slice.call(t),r=go(this.list,n,this.findKeyCallback);return this.list=n,r},e})(),vo=function(e,t){return(vo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)r.hasOwnProperty(i)&&(n[i]=r[i])})(e,t)},Ca=typeof Map=="function"?void 0:(Ei=0,function(e){return e.__DIFF_KEY__||(e.__DIFF_KEY__=++Ei)}),mo=(function(e){function t(n){return n===void 0&&(n=[]),e.call(this,n,Ca)||this}return(function(n,r){function i(){this.constructor=n}vo(n,r),n.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)})(t,e),t})(wa),Cr=function(){return Cr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Cr.apply(this,arguments)},bo=(function(){function e(){this._events={}}var t=e.prototype;return t.on=function(n,r){if(we(n))for(var i in n)this.on(i,n[i]);else this._addEvent(n,r,{});return this},t.off=function(n,r){if(n)if(we(n))for(var i in n)this.off(i);else if(r){var o=this._events[n];if(o){var a=$e(o,function(s){return s.listener===r});a>-1&&o.splice(a,1)}}else this._events[n]=[];else this._events={};return this},t.once=function(n,r){var i=this;return r&&this._addEvent(n,r,{once:!0}),new Promise(function(o){i._addEvent(n,o,{once:!0})})},t.emit=function(n,r){var i=this;r===void 0&&(r={});var o=this._events[n];if(!n||!o)return!0;var a=!1;return r.eventType=n,r.stop=function(){a=!0},r.currentTarget=this,(function(){for(var s=0,u=0,f=arguments.length;u<f;u++)s+=arguments[u].length;var p=Array(s),c=0;for(u=0;u<f;u++)for(var l=arguments[u],h=0,d=l.length;h<d;h++,c++)p[c]=l[h];return p})(o).forEach(function(s){s.listener(r),s.once&&i.off(n,s.listener)}),!a},t.trigger=function(n,r){return r===void 0&&(r={}),this.emit(n,r)},t._addEvent=function(n,r,i){var o=this._events;o[n]=o[n]||[],o[n].push(Cr({listener:r},i))},e})();function oe(e){return kt(e,Ht)}function Si(e){return e.length<3?0:Math.abs((function(t){for(var n=0,r=t.length-1;r>=0;--r)n+=t[r];return n})(e.map(function(t,n){var r=e[n+1]||e[0];return t[0]*r[1]-r[0]*t[1]})))/2}function Di(e,t){var n=t.width,r=t.height,i=t.left,o=t.top,a=Ve(e),s=a.minX,u=a.minY,f=a.maxX,p=a.maxY,c=n/(f-s),l=r/(p-u);return e.map(function(h){return[i+(h[0]-s)*c,o+(h[1]-u)*l]})}function Ve(e){var t=e.map(function(r){return r[0]}),n=e.map(function(r){return r[1]});return{minX:Math.min.apply(Math,t),minY:Math.min.apply(Math,n),maxX:Math.max.apply(Math,t),maxY:Math.max.apply(Math,n)}}function cr(e,t,n){var r=e[0],i=e[1],o=Ve(t),a=o.minX,s=o.maxX,u=[[a,i],[s,i]],f=Jn(u[0],u[1]),p=_r(t),c=[];if(p.forEach(function(d){var g,v=Jn(d[0],d[1]),b=d[0];g=v,f.every(function(x,y){return oe(x-g[y])===0})?c.push({pos:e,line:d,type:"line"}):xo(Ur(f,v),[u,d]).forEach(function(x){d.some(function(y){return M=x,!oe((E=y)[0]-M[0])&&!oe(E[1]-M[1]);var E,M})?c.push({pos:x,line:d,type:"point"}):oe(b[1]-i)!==0&&c.push({pos:x,line:d,type:"intersection"})})}),he(c,function(d){return d[0]===r}))return!0;var l=0,h={};return c.forEach(function(d){var g=d.pos,v=d.type,b=d.line;if(!(g[0]>r))if(v==="intersection")++l;else{if(v==="line")return;if(v==="point"){var x=he(b,function(M){return M[1]!==i}),y=h[g[0]],E=x[1]>i?1:-1;y?y!==E&&++l:h[g[0]]=E}}}),l%2==1}function Jn(e,t){var n=e[0],r=e[1],i=t[0]-n,o=t[1]-r;Math.abs(i)<Ht&&(i=0),Math.abs(o)<Ht&&(o=0);var a=0,s=0,u=0;return i?o?(s=1,u=-(a=-o/i)*n-r):(s=1,u=-r):o&&(a=-1,u=n),[a,s,u]}function Ur(e,t){var n=e[0],r=e[1],i=e[2],o=t[0],a=t[1],s=t[2],u=n===0&&o===0,f=r===0&&a===0,p=[];if(u&&f)return[];if(u){var c=-i/r;return c!==-s/a?[]:[[-1/0,c],[1/0,c]]}if(f){var l=-i/n;return l!==-s/o?[]:[[l,-1/0],[l,1/0]]}if(n===0)p=[[h=-(a*(d=-i/r)+s)/o,d]];else if(o===0)p=[[h=-(r*(d=-s/a)+i)/n,d]];else if(r===0)p=[[h=-i/n,d=-(o*h+s)/a]];else if(a===0)p=[[h=-s/o,d=-(n*h+i)/r]];else{var h,d;p=[[h=(r*s-a*i)/(a*n-r*o),d=-(n*h+i)/r]]}return p.map(function(g){return[g[0],g[1]]})}function xo(e,t){var n=t.map(function(c){return[0,1].map(function(l){return[Math.min(c[0][l],c[1][l]),Math.max(c[0][l],c[1][l])]})}),r=[];if(e.length===2){var i=e[0],o=i[0],a=i[1];if(oe(o-e[1][0])){if(!oe(a-e[1][1])){var s=Math.max.apply(Math,n.map(function(c){return c[0][0]})),u=Math.min.apply(Math,n.map(function(c){return c[0][1]}));if(oe(s-u)>0)return[];r=[[s,a],[u,a]]}}else{var f=Math.max.apply(Math,n.map(function(c){return c[1][0]})),p=Math.min.apply(Math,n.map(function(c){return c[1][1]}));if(oe(f-p)>0)return[];r=[[o,f],[o,p]]}}return r.length||(r=e.filter(function(c){var l=c[0],h=c[1];return n.every(function(d){return 0<=oe(l-d[0][0])&&0<=oe(d[0][1]-l)&&0<=oe(h-d[1][0])&&0<=oe(d[1][1]-h)})})),r.map(function(c){return[oe(c[0]),oe(c[1])]})}function _r(e){return(function(){for(var t=0,n=0,r=arguments.length;n<r;n++)t+=arguments[n].length;var i=Array(t),o=0;for(n=0;n<r;n++)for(var a=arguments[n],s=0,u=a.length;s<u;s++,o++)i[o]=a[s];return i})(e.slice(1),[e[0]]).map(function(t,n){return[e[n],t]})}var yo=function(e,t){return(yo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)r.hasOwnProperty(i)&&(n[i]=r[i])})(e,t)},Lt=function(){return Lt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Lt.apply(this,arguments)};function lr(e){return 180*(t=[e[0].clientX,e[0].clientY],r=(n=[e[1].clientX,e[1].clientY])[0]-t[0],i=n[1]-t[1],((o=Math.atan2(i,r))>=0?o:o+2*Math.PI)/Math.PI);var t,n,r,i,o}function Yn(e){return e?e.touches?(function(t){for(var n=Math.min(t.length,2),r=[],i=0;i<n;++i)r.push(wi(t[i]));return r})(e.touches):[wi(e)]:[]}function Mi(e,t,n){var r=n.length,i=mn(e,r),o=i.clientX,a=i.clientY,s=i.originalClientX,u=i.originalClientY,f=mn(t,r),p=f.clientX,c=f.clientY,l=mn(n,r);return{clientX:s,clientY:u,deltaX:o-p,deltaY:a-c,distX:o-l.clientX,distY:a-l.clientY}}function fr(e){return Math.sqrt(Math.pow(e[0].clientX-e[1].clientX,2)+Math.pow(e[0].clientY-e[1].clientY,2))}function wi(e){return{clientX:e.clientX,clientY:e.clientY}}function mn(e,t){t===void 0&&(t=e.length);for(var n={clientX:0,clientY:0,originalClientX:0,originalClientY:0},r=Math.min(e.length,t),i=0;i<r;++i){var o=e[i];n.originalClientX+="originalClientX"in o?o.originalClientX:o.clientX,n.originalClientY+="originalClientY"in o?o.originalClientY:o.clientY,n.clientX+=o.clientX,n.clientY+=o.clientY}return t?{clientX:n.clientX/t,clientY:n.clientY/t,originalClientX:n.originalClientX/t,originalClientY:n.originalClientY/t}:n}var pr=(function(){function e(t){this.prevClients=[],this.startClients=[],this.movement=0,this.length=0,this.startClients=t,this.prevClients=t,this.length=t.length}return e.prototype.getAngle=function(t){return t===void 0&&(t=this.prevClients),lr(t)},e.prototype.getRotation=function(t){return t===void 0&&(t=this.prevClients),lr(t)-lr(this.startClients)},e.prototype.getPosition=function(t,n){t===void 0&&(t=this.prevClients);var r=Mi(t||this.prevClients,this.prevClients,this.startClients),i=r.deltaX,o=r.deltaY;return this.movement+=Math.sqrt(i*i+o*o),this.prevClients=t,r},e.prototype.getPositions=function(t){t===void 0&&(t=this.prevClients);for(var n=this.prevClients,r=this.startClients,i=Math.min(this.length,n.length),o=[],a=0;a<i;++a)o[a]=Mi([t[a]],[n[a]],[r[a]]);return o},e.prototype.getMovement=function(t){var n=this.movement;if(!t)return n;var r=mn(t,this.length),i=mn(this.prevClients,this.length),o=r.clientX-i.clientX,a=r.clientY-i.clientY;return Math.sqrt(o*o+a*a)+n},e.prototype.getDistance=function(t){return t===void 0&&(t=this.prevClients),fr(t)},e.prototype.getScale=function(t){return t===void 0&&(t=this.prevClients),fr(t)/fr(this.startClients)},e.prototype.move=function(t,n){this.startClients.forEach(function(r){r.clientX-=t,r.clientY-=n}),this.prevClients.forEach(function(r){r.clientX-=t,r.clientY-=n})},e})(),Ci=["textarea","input"],_a=(function(e){function t(n,r){r===void 0&&(r={});var i=e.call(this)||this;i.options={},i.flag=!1,i.pinchFlag=!1,i.data={},i.isDrag=!1,i.isPinch=!1,i.clientStores=[],i.targets=[],i.prevTime=0,i.doubleFlag=!1,i._useMouse=!1,i._useTouch=!1,i._useDrag=!1,i._dragFlag=!1,i._isTrusted=!1,i._isMouseEvent=!1,i._isSecondaryButton=!1,i._preventMouseEvent=!1,i._prevInputEvent=null,i._isDragAPI=!1,i._isIdle=!0,i._preventMouseEventId=0,i._window=window,i.onDragStart=function(l,h){if(h===void 0&&(h=!0),i.flag||l.cancelable!==!1){var d=l.type.indexOf("drag")>=-1;if(!i.flag||!d){i._isDragAPI=!0;var g=i.options,v=g.container,b=g.pinchOutside,x=g.preventWheelClick,y=g.preventRightClick,E=g.preventDefault,M=g.checkInput,m=g.dragFocusedInput,S=g.preventClickEventOnDragStart,_=g.preventClickEventOnDrag,k=g.preventClickEventByCondition,F=i._useTouch,O=!i.flag;if(i._isSecondaryButton=l.which===3||l.button===2,x&&(l.which===2||l.button===1)||y&&(l.which===3||l.button===2))return i.stop(),!1;if(O){var w=i._window.document.activeElement,D=l.target;if(D){var R=D.tagName.toLowerCase(),P=Ci.indexOf(R)>-1,B=D.isContentEditable;if(P||B){if(M||!m&&w===D)return!1;if(w&&(w===D||B&&w.isContentEditable&&w.contains(D))){if(!m)return!1;D.blur()}}else if((E||l.type==="touchstart")&&w){var A=w.tagName.toLowerCase();(w.isContentEditable||Ci.indexOf(A)>-1)&&w.blur()}(S||_||k)&&Jt(i._window,"click",i._onClick,!0)}i.clientStores=[new pr(Yn(l))],i._isIdle=!1,i.flag=!0,i.isDrag=!1,i._isTrusted=h,i._dragFlag=!0,i._prevInputEvent=l,i.data={},i.doubleFlag=Zn()-i.prevTime<200,i._isMouseEvent=(G=l)&&(G.type.indexOf("mouse")>-1||"button"in G),!i._isMouseEvent&&i._preventMouseEvent&&i._allowMouseEvent(),(i._preventMouseEvent||i.emit("dragStart",Lt(Lt({data:i.data,datas:i.data,inputEvent:l,isMouseEvent:i._isMouseEvent,isSecondaryButton:i._isSecondaryButton,isTrusted:h,isDouble:i.doubleFlag},i.getCurrentStore().getPosition()),{preventDefault:function(){l.preventDefault()},preventDrag:function(){i._dragFlag=!1}})))===!1&&i.stop(),i._isMouseEvent&&i.flag&&E&&l.preventDefault()}if(!i.flag)return!1;var z=0;if(O?(i._attchDragEvent(),F&&b&&(z=setTimeout(function(){Jt(v,"touchstart",i.onDragStart,{passive:!1})}))):F&&b&&Ut(v,"touchstart",i.onDragStart),i.flag&&(function(I){return I.touches&&I.touches.length>=2})(l)){if(clearTimeout(z),O&&l.touches.length!==l.changedTouches.length)return;i.pinchFlag||i.onPinchStart(l)}}}var G},i.onDrag=function(l,h){if(i.flag){var d=i.options.preventDefault;!i._isMouseEvent&&d&&l.preventDefault(),i._prevInputEvent=l;var g=Yn(l),v=i.moveClients(g,l,!1);if(i._dragFlag){if((i.pinchFlag||v.deltaX||v.deltaY)&&(i._preventMouseEvent||i.emit("drag",Lt(Lt({},v),{isScroll:!!h,inputEvent:l})))===!1)return void i.stop();i.pinchFlag&&i.onPinch(l,g)}i.getCurrentStore().getPosition(g,!0)}},i.onDragEnd=function(l){if(i.flag){var h=i.options,d=h.pinchOutside,g=h.container,v=h.preventClickEventOnDrag,b=h.preventClickEventOnDragStart,x=h.preventClickEventByCondition,y=i.isDrag;(v||b||x)&&requestAnimationFrame(function(){i._allowClickEvent()}),x||b||!v||y||i._allowClickEvent(),i._useTouch&&d&&Ut(g,"touchstart",i.onDragStart),i.pinchFlag&&i.onPinchEnd(l);var E=l?.touches?Yn(l):[];E.length!==0&&i.options.keepDragging?i._addStore(new pr(E)):i.flag=!1;var M=i._getPosition(),m=Zn(),S=!y&&i.doubleFlag;i._prevInputEvent=null,i.prevTime=y||S?0:m,i.flag||(i._dettachDragEvent(),i._preventMouseEvent||i.emit("dragEnd",Lt({data:i.data,datas:i.data,isDouble:S,isDrag:y,isClick:!y,isMouseEvent:i._isMouseEvent,isSecondaryButton:i._isSecondaryButton,inputEvent:l,isTrusted:i._isTrusted},M)),i.clientStores=[],i._isMouseEvent||(i._preventMouseEvent=!0,clearTimeout(i._preventMouseEventId),i._preventMouseEventId=setTimeout(function(){i._preventMouseEvent=!1},200)),i._isIdle=!0)}},i.onBlur=function(){i.onDragEnd()},i._allowClickEvent=function(){Ut(i._window,"click",i._onClick,!0)},i._onClick=function(l){i._allowClickEvent(),i._allowMouseEvent();var h=i.options.preventClickEventByCondition;h?.(l)||(l.stopPropagation(),l.preventDefault())},i._onContextMenu=function(l){i.options.preventRightClick?i.onDragEnd(l):l.preventDefault()},i._passCallback=function(){};var o=[].concat(n),a=o[0];i._window=lo(a)?a:Pe(a),i.options=Lt({checkInput:!1,container:a&&!("document"in a)?Pe(a):a,preventRightClick:!0,preventWheelClick:!0,preventClickEventOnDragStart:!1,preventClickEventOnDrag:!1,preventClickEventByCondition:null,preventDefault:!0,checkWindowBlur:!1,keepDragging:!1,pinchThreshold:0,events:["touch","mouse"]},r);var s=i.options,u=s.container,f=s.events,p=s.checkWindowBlur;if(i._useDrag=f.indexOf("drag")>-1,i._useTouch=f.indexOf("touch")>-1,i._useMouse=f.indexOf("mouse")>-1,i.targets=o,i._useDrag&&o.forEach(function(l){Jt(l,"dragstart",i.onDragStart)}),i._useMouse&&(o.forEach(function(l){Jt(l,"mousedown",i.onDragStart),Jt(l,"mousemove",i._passCallback)}),Jt(u,"contextmenu",i._onContextMenu)),p&&Jt(Pe(),"blur",i.onBlur),i._useTouch){var c={passive:!1};o.forEach(function(l){Jt(l,"touchstart",i.onDragStart,c),Jt(l,"touchmove",i._passCallback,c)})}return i}return(function(n,r){function i(){this.constructor=n}yo(n,r),n.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)})(t,e),t.prototype.stop=function(){this.isDrag=!1,this.data={},this.clientStores=[],this.pinchFlag=!1,this.doubleFlag=!1,this.prevTime=0,this.flag=!1,this._isIdle=!0,this._allowClickEvent(),this._dettachDragEvent(),this._isDragAPI=!1},t.prototype.getMovement=function(n){return this.getCurrentStore().getMovement(n)+this.clientStores.slice(1).reduce(function(r,i){return r+i.movement},0)},t.prototype.isDragging=function(){return this.isDrag},t.prototype.isIdle=function(){return this._isIdle},t.prototype.isFlag=function(){return this.flag},t.prototype.isPinchFlag=function(){return this.pinchFlag},t.prototype.isDoubleFlag=function(){return this.doubleFlag},t.prototype.isPinching=function(){return this.isPinch},t.prototype.scrollBy=function(n,r,i,o){o===void 0&&(o=!0),this.flag&&(this.clientStores[0].move(n,r),o&&this.onDrag(i,!0))},t.prototype.move=function(n,r){var i=n[0],o=n[1],a=this.getCurrentStore().prevClients;return this.moveClients(a.map(function(s){var u=s.clientX,f=s.clientY;return{clientX:u+i,clientY:f+o,originalClientX:u,originalClientY:f}}),r,!0)},t.prototype.triggerDragStart=function(n){this.onDragStart(n,!1)},t.prototype.setEventData=function(n){var r=this.data;for(var i in n)r[i]=n[i];return this},t.prototype.setEventDatas=function(n){return this.setEventData(n)},t.prototype.getCurrentEvent=function(n){return n===void 0&&(n=this._prevInputEvent),Lt(Lt({data:this.data,datas:this.data},this._getPosition()),{movement:this.getMovement(),isDrag:this.isDrag,isPinch:this.isPinch,isScroll:!1,inputEvent:n})},t.prototype.getEventData=function(){return this.data},t.prototype.getEventDatas=function(){return this.data},t.prototype.unset=function(){var n=this,r=this.targets,i=this.options.container;this.off(),Ut(this._window,"blur",this.onBlur),this._useDrag&&r.forEach(function(o){Ut(o,"dragstart",n.onDragStart)}),this._useMouse&&(r.forEach(function(o){Ut(o,"mousedown",n.onDragStart)}),Ut(i,"contextmenu",this._onContextMenu)),this._useTouch&&(r.forEach(function(o){Ut(o,"touchstart",n.onDragStart)}),Ut(i,"touchstart",this.onDragStart)),this._prevInputEvent=null,this._allowClickEvent(),this._dettachDragEvent()},t.prototype.onPinchStart=function(n){var r=this,i=this.options.pinchThreshold;if(!(this.isDrag&&this.getMovement()>i)){var o=new pr(Yn(n));this.pinchFlag=!0,this._addStore(o),this.emit("pinchStart",Lt(Lt({data:this.data,datas:this.data,angle:o.getAngle(),touches:this.getCurrentStore().getPositions()},o.getPosition()),{inputEvent:n,isTrusted:this._isTrusted,preventDefault:function(){n.preventDefault()},preventDrag:function(){r._dragFlag=!1}}))===!1&&(this.pinchFlag=!1)}},t.prototype.onPinch=function(n,r){if(this.flag&&this.pinchFlag&&!(r.length<2)){var i=this.getCurrentStore();this.isPinch=!0,this.emit("pinch",Lt(Lt({data:this.data,datas:this.data,movement:this.getMovement(r),angle:i.getAngle(r),rotation:i.getRotation(r),touches:i.getPositions(r),scale:i.getScale(r),distance:i.getDistance(r)},i.getPosition(r)),{inputEvent:n,isTrusted:this._isTrusted}))}},t.prototype.onPinchEnd=function(n){if(this.pinchFlag){var r=this.isPinch;this.isPinch=!1,this.pinchFlag=!1;var i=this.getCurrentStore();this.emit("pinchEnd",Lt(Lt({data:this.data,datas:this.data,isPinch:r,touches:i.getPositions()},i.getPosition()),{inputEvent:n}))}},t.prototype.getCurrentStore=function(){return this.clientStores[0]},t.prototype.moveClients=function(n,r,i){var o=this._getPosition(n,i),a=this.isDrag;(o.deltaX||o.deltaY)&&(this.isDrag=!0);var s=!1;return!a&&this.isDrag&&(s=!0),Lt(Lt({data:this.data,datas:this.data},o),{movement:this.getMovement(n),isDrag:this.isDrag,isPinch:this.isPinch,isScroll:!1,isMouseEvent:this._isMouseEvent,isSecondaryButton:this._isSecondaryButton,inputEvent:r,isTrusted:this._isTrusted,isFirstDrag:s})},t.prototype._addStore=function(n){this.clientStores.splice(0,0,n)},t.prototype._getPosition=function(n,r){var i=this.getCurrentStore().getPosition(n,r),o=this.clientStores.slice(1).reduce(function(u,f){var p=f.getPosition();return u.distX+=p.distX,u.distY+=p.distY,u},i),a=o.distX,s=o.distY;return Lt(Lt({},i),{distX:a,distY:s})},t.prototype._attchDragEvent=function(){var n=this._window,r=this.options.container,i={passive:!1};this._isDragAPI&&(Jt(r,"dragover",this.onDrag,i),Jt(n,"dragend",this.onDragEnd)),this._useMouse&&(Jt(r,"mousemove",this.onDrag),Jt(n,"mouseup",this.onDragEnd)),this._useTouch&&(Jt(r,"touchmove",this.onDrag,i),Jt(n,"touchend",this.onDragEnd,i),Jt(n,"touchcancel",this.onDragEnd,i))},t.prototype._dettachDragEvent=function(){var n=this._window,r=this.options.container;this._isDragAPI&&(Ut(r,"dragover",this.onDrag),Ut(n,"dragend",this.onDragEnd)),this._useMouse&&(Ut(r,"mousemove",this.onDrag),Ut(n,"mouseup",this.onDragEnd)),this._useTouch&&(Ut(r,"touchstart",this.onDragStart),Ut(r,"touchmove",this.onDrag),Ut(n,"touchend",this.onDragEnd),Ut(n,"touchcancel",this.onDragEnd))},t.prototype._allowMouseEvent=function(){this._preventMouseEvent=!1,clearTimeout(this._preventMouseEventId)},t})(bo);function Ta(e){var t="rCS"+(function(n){for(var r=5381,i=n.length;i;)r=33*r^n.charCodeAt(--i);return r>>>0})(e).toString(36);return{className:t,inject:function(n,r){r===void 0&&(r={});var i=(function(s){if(s&&s.getRootNode){var u=s.getRootNode();if(u.nodeType===11)return u}})(n),o=(i||n.ownerDocument||document).querySelector('style[data-styled-id="'.concat(t,'"]'));if(o){var a=parseFloat(o.getAttribute("data-styled-count"))||0;o.setAttribute("data-styled-count","".concat(a+1))}else o=(function(s,u,f,p,c){var l,h,d=jr(p),g=d.createElement("style");return g.setAttribute("type","text/css"),g.setAttribute("data-styled-id",s),g.setAttribute("data-styled-count","1"),f.nonce&&g.setAttribute("nonce",f.nonce),g.innerHTML=(l=s,h=u,f.original?h:h.replace(/([^};{\s}][^};{]*|^\s*){/gm,function(v,b){var x=b.trim();return(x?hn(x):[""]).map(function(y){var E=y.trim();return E.indexOf("@")===0?E:E.indexOf(":global")>-1?E.replace(/\:global/g,""):E.indexOf(":host")>-1?"".concat(E.replace(/\:host/g,".".concat(l))):E?".".concat(l," ").concat(E):".".concat(l)}).join(", ")+" {"})),(c||d.head||d.body).appendChild(g),g})(t,e,r,n,i);return{destroy:function(){var s,u=parseFloat(o.getAttribute("data-styled-count"))||0;u<=1?(o.remove?o.remove():(s=o.parentNode)===null||s===void 0||s.removeChild(o),o=null):o.setAttribute("data-styled-count","".concat(u-1))}}}}}var Tr=function(){return Tr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Tr.apply(this,arguments)};function Eo(e,t){var n=Ta(t),r=n.className;return ee.reactExports.forwardRef(function(i,o){var a=i.className,s=a===void 0?"":a;i.cspNonce;var u=(function(p,c){var l={};for(var h in p)Object.prototype.hasOwnProperty.call(p,h)&&c.indexOf(h)<0&&(l[h]=p[h]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function"){var d=0;for(h=Object.getOwnPropertySymbols(p);d<h.length;d++)c.indexOf(h[d])<0&&Object.prototype.propertyIsEnumerable.call(p,h[d])&&(l[h[d]]=p[h[d]])}return l})(i,["className","cspNonce"]),f=ee.reactExports.useRef();return ee.reactExports.useImperativeHandle(o,function(){return f.current},[]),ee.reactExports.useEffect(function(){var p=n.inject(f.current,{nonce:i.cspNonce});return function(){p.destroy()}},[]),ee.reactExports.createElement(e,Tr({ref:f,"data-styled-id":r,className:"".concat(s," ").concat(r)},u))})}var So=function(e,t){return(So=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])})(e,t)};function Rn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}So(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var C=function(){return C=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},C.apply(this,arguments)};function T(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(t===void 0||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function K(e,t,n){if(arguments.length===2)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function Cn(e,t){return C({events:[],props:[],name:e},t)}var Oa,_i,Ti,Pa=["n","w","s","e"],Zr=["n","w","s","e","nw","ne","sw","se"],rn=(function(){if(typeof navigator>"u"||!navigator||!navigator.userAgentData)return!1;var e=navigator.userAgentData,t=e.brands||e.uaList;return!(!t||!t.length)})()?(function(){var e=navigator.userAgentData,t=(e.uaList||e.brands).slice(),n=e.mobile||!1,r=t[0],i=(e.platform||navigator.platform).toLowerCase(),o={name:r.brand,version:r.version,majorVersion:-1,webkit:!1,webkitVersion:"-1",chromium:!1,chromiumVersion:"-1",webview:!!zn(no,t).brand||di(ci())},a={name:"unknown",version:"-1",majorVersion:-1};o.webkit=!o.chromium&&Xr(sr,function(c){return eo(t,c)});var s=zn(fi,t);if(o.chromium=!!s.brand,o.chromiumVersion=s.version||"-1",!o.chromium){var u=zn(sr,t);o.webkit=!!u.brand,o.webkitVersion=u.version||"-1"}var f=to(pi,function(c){return new RegExp(""+c.test,"g").exec(i)});a.name=f?f.id:"";var p=zn(li,t);return o.name=p.brand||o.name,o.version=(p.brand,p.version),o.webkit&&(a.name=n?"ios":"mac"),a.name==="ios"&&o.webview&&(o.version="-1"),a.version=Sr(a.version),o.version=Sr(o.version),a.majorVersion=parseInt(a.version,10),o.majorVersion=parseInt(o.version,10),{browser:o,os:a,isMobile:n,isHints:!0}})():(function(){var e=ci(Oa),t=!!/mobi/g.exec(e),n={name:"unknown",version:"-1",majorVersion:-1,webview:di(e),chromium:!1,chromiumVersion:"-1",webkit:!1,webkitVersion:"-1"},r={name:"unknown",version:"-1",majorVersion:-1},i=dn(li,e),o=i.preset,a=i.version,s=dn(pi,e),u=s.preset,f=s.version,p=dn(fi,e);if(n.chromium=!!p.preset,n.chromiumVersion=p.version,!n.chromium){var c=dn(sr,e);n.webkit=!!c.preset,n.webkitVersion=c.version}return u&&(r.name=u.id,r.version=f,r.majorVersion=parseInt(f,10)),o&&(n.name=o.id,n.version=a,n.webview&&r.name==="ios"&&n.name!=="safari"&&(n.webview=!1)),n.majorVersion=parseInt(n.version,10),{browser:n,os:r,isMobile:t,isHints:!1}})(),Do=rn.browser.webkit,Mo=Do&&(_i=typeof window>"u"?{userAgent:""}:window.navigator,!!(Ti=/applewebkit\/([^\s]+)/g.exec(_i.userAgent.toLowerCase()))&&parseFloat(Ti[1])<605),wo=rn.browser.name,Co=parseInt(rn.browser.version,10),Ra=wo==="chrome",Ba=rn.browser.chromium,ka=parseInt(rn.browser.chromiumVersion,10)||0,Fa=Ra&&Co>=109||Ba&&ka>=109,Aa=wo==="firefox",za=parseInt(rn.browser.webkitVersion,10)>=612||Co>=15,Kr="moveable-",Ga=Zr.map(function(e){var t="",n="",r="center",i="center",o="calc(var(--moveable-control-padding, 20) * -1px)";return e.indexOf("n")>-1&&(t="top: ".concat(o,";"),i="bottom"),e.indexOf("s")>-1&&(t="top: 0px;",i="top"),e.indexOf("w")>-1&&(n="left: ".concat(o,";"),r="right"),e.indexOf("e")>-1&&(n="left: 0px;",r="left"),'.around-control[data-direction*="'.concat(e,`"] {
7
7
  `).concat(n).concat(t,`
8
8
  transform-origin: `).concat(r," ").concat(i,`;
9
9
  }`)}).join(`
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.21
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.23
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.21
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.23
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.21
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.23
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.21
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.23
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.21
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.23
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,9 +1,9 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.21
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.23
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./BTb7NFxLYXig6VK-.cjs");function me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ne(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?re(Object(r),!0).forEach(function(n){me(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):re(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function oe(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ce(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ie(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ce(Object(r),!0).forEach(function(n){ye(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ce(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function D(e){return function t(){for(var r=this,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return o.length>=e.length?e.apply(this,o):function(){for(var u=arguments.length,a=new Array(u),g=0;g<u;g++)a[g]=arguments[g];return t.apply(r,[].concat(o,a))}}}function U(e){return{}.toString.call(e).includes("Object")}function q(e){return typeof e=="function"}var P=D(function(e,t){throw new Error(e[t]||e.default)})({initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"}),ve=function(e,t){return U(t)||P("changeType"),Object.keys(t).some(function(r){return n=e,o=r,!Object.prototype.hasOwnProperty.call(n,o);var n,o})&&P("changeField"),t},be=function(e){q(e)||P("selectorType")},Ee=function(e){q(e)||U(e)||P("handlerType"),U(e)&&Object.values(e).some(function(t){return!q(t)})&&P("handlersType")},Oe=function(e){var t;e||P("initialIsRequired"),U(e)||P("initialType"),t=e,Object.keys(t).length||P("initialContent")};function we(e,t){return q(t)?t(e.current):t}function je(e,t){return e.current=ie(ie({},e.current),t),t}function xe(e,t,r){return q(t)?t(e.current):Object.keys(r).forEach(function(n){var o;return(o=t[n])===null||o===void 0?void 0:o.call(t,e.current[n])}),r}var K,Me=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Oe(e),Ee(t);var r={current:e},n=D(xe)(r,t),o=D(je)(r),i=D(ve)(e),u=D(we)(r);return[function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(g){return g};return be(a),a(r.current)},function(a){(function(){for(var g=arguments.length,p=new Array(g),O=0;O<g;O++)p[O]=arguments[O];return function(b){return p.reduceRight(function(x,M){return M(x)},b)}})(n,o,i,u)(a)}]},le={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:`Deprecation warning!
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./DRzHHu7CVu9c7zCP.cjs");function me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ne(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?re(Object(r),!0).forEach(function(n){me(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):re(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function oe(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ce(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ie(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ce(Object(r),!0).forEach(function(n){ye(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ce(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function D(e){return function t(){for(var r=this,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return o.length>=e.length?e.apply(this,o):function(){for(var u=arguments.length,a=new Array(u),g=0;g<u;g++)a[g]=arguments[g];return t.apply(r,[].concat(o,a))}}}function U(e){return{}.toString.call(e).includes("Object")}function q(e){return typeof e=="function"}var P=D(function(e,t){throw new Error(e[t]||e.default)})({initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"}),ve=function(e,t){return U(t)||P("changeType"),Object.keys(t).some(function(r){return n=e,o=r,!Object.prototype.hasOwnProperty.call(n,o);var n,o})&&P("changeField"),t},be=function(e){q(e)||P("selectorType")},Ee=function(e){q(e)||U(e)||P("handlerType"),U(e)&&Object.values(e).some(function(t){return!q(t)})&&P("handlersType")},Oe=function(e){var t;e||P("initialIsRequired"),U(e)||P("initialType"),t=e,Object.keys(t).length||P("initialContent")};function we(e,t){return q(t)?t(e.current):t}function je(e,t){return e.current=ie(ie({},e.current),t),t}function xe(e,t,r){return q(t)?t(e.current):Object.keys(r).forEach(function(n){var o;return(o=t[n])===null||o===void 0?void 0:o.call(t,e.current[n])}),r}var K,Me=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Oe(e),Ee(t);var r={current:e},n=D(xe)(r,t),o=D(je)(r),i=D(ve)(e),u=D(we)(r);return[function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(g){return g};return be(a),a(r.current)},function(a){(function(){for(var g=arguments.length,p=new Array(g),O=0;O<g;O++)p[O]=arguments[O];return function(b){return p.reduceRight(function(x,M){return M(x)},b)}})(n,o,i,u)(a)}]},le={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:`Deprecation warning!
7
7
  You are using deprecated way of configuration.
8
8
 
9
9
  Instead of using
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.21
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.23
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.21
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.23
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.21
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.23
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.21
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.23
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.