@sheetxl/studio-vanilla 0.3.3 → 0.3.5

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 (201) hide show
  1. package/browser/cjs/{C-YXuaIn5H1e3gGL.cjs → -aNm3r-RpjcRRCbw.cjs} +2 -2
  2. package/browser/cjs/6e91IXsvk9_k3W5c.cjs +6 -0
  3. package/browser/cjs/{TJOJ_VEsTmCJ4d0P.cjs → BLHbDre9R0bvyb9G.cjs} +2 -2
  4. package/browser/cjs/BN0MiwKQ8NjKXgue.cjs +7 -0
  5. package/browser/cjs/BNtn_2pcq6Dd-2HL.cjs +11 -0
  6. package/browser/cjs/{-mcHZst9U0zNDZao.cjs → BW_fZwvTtMLqteuJ.cjs} +1 -1
  7. package/browser/cjs/{Dh5RBi3PW-5ty2QU.cjs → Bg9KIoDuqtkhIYfN.cjs} +1 -1
  8. package/browser/cjs/{D4a_UoEEluqny9gi.cjs → BiiW2FlRZHxGIWso.cjs} +1 -1
  9. package/browser/cjs/{pPJG7KbyLkcVi77H.cjs → Biyqj-Wu75uxLHv1.cjs} +2 -2
  10. package/browser/cjs/BwocMiKAPb8s__1Z.cjs +6 -0
  11. package/browser/cjs/{CSZ-Bfo-TZpVumqr.cjs → CdWBtYv7LuuDLPL2.cjs} +1 -1
  12. package/browser/cjs/CuY7mAREmYhHuYWx.cjs +6 -0
  13. package/browser/cjs/CvESC6HiL0-peppq.cjs +12 -0
  14. package/browser/cjs/{VXCGmehGJvuKNhXg.cjs → Cxt39d6l0pu9k1vT.cjs} +8 -8
  15. package/browser/cjs/{DbSTC90BuNxq2k-j.cjs → D7NgrO__M-IUmM8o.cjs} +1 -1
  16. package/browser/cjs/{DnkioRlJqXrbcW-8.cjs → DCWZ2ZkLp-Horeca.cjs} +1 -1
  17. package/browser/cjs/DDhq2nYMdw5b7wP6.cjs +301 -0
  18. package/browser/cjs/{Bhq8u8Q04XpLmF4K.cjs → DIawrhwQ7E_1l99b.cjs} +6 -6
  19. package/browser/cjs/{BoBKeal3_qovATWu.cjs → DKit140jXAUUSf-_.cjs} +2 -2
  20. package/browser/cjs/DKsZXMMHWKP9IZ4E.cjs +12 -0
  21. package/browser/cjs/DeAt9vyyaeB2vbxQ.cjs +6 -0
  22. package/browser/cjs/Dkl2t2DSaDxPbm2V.cjs +6 -0
  23. package/browser/cjs/Ya4f5p9go_UndgNy.cjs +6 -0
  24. package/browser/cjs/{BnYTCcol8RjTTC3U.cjs → hSI9QVPgIxqt3pXc.cjs} +1 -1
  25. package/browser/cjs/index.cjs +2 -2
  26. package/browser/cjs/qjPE6k7aYlu-R90s.cjs +6 -0
  27. package/browser/cjs/{WKvz7zs0yI8-TRzJ.cjs → yvA5FY7oe6FILMqB.cjs} +1 -1
  28. package/{cdn/assets/DAC77jdtNbZopLX5.js → browser/esm/BLsIMzjofsOnRFrU.mjs} +16 -16
  29. package/{cdn/assets/DQQK1YdQWQGsESk_.js → browser/esm/BTQ-TGJnw7w1Y0CX.mjs} +14 -14
  30. package/browser/esm/{BNixyL5UPlHciWwi.mjs → BdLAPrmXIfjGFhhA.mjs} +152 -152
  31. package/browser/esm/BsDYj6xix3mlXry2.mjs +46 -0
  32. package/browser/esm/Btk74VwCVJ1T5LQD.mjs +46 -0
  33. package/browser/esm/{DhFd9KX61TdmTNyk.mjs → C60KakDbde-A4anI.mjs} +1 -1
  34. package/browser/esm/{1Esqj-uAqAeHBGzU.mjs → CAm14rTtmPL5-rvQ.mjs} +193 -192
  35. package/browser/esm/{CZ9K3g_56s3hfJO0.mjs → CLTP12OHGQ2k4_Kt.mjs} +21 -20
  36. package/browser/esm/{BXkh5kfYj7Zx_PAe.mjs → CPWh2H15145LP-d5.mjs} +1 -1
  37. package/browser/esm/CYXzmWJtZn5OJVBF.mjs +24861 -0
  38. package/{cdn/assets/BQFdL0Ou_nLqI7lR.js → browser/esm/ChMaIhqaEhF3SLLt.mjs} +6 -6
  39. package/browser/esm/{nT3k8GnD4H3I293i.mjs → CntwHkPpskE88Ixu.mjs} +11 -10
  40. package/{cdn/assets/C1opHAkl00_vHPMO.js → browser/esm/CsVV_QnEl77BQM3V.mjs} +1 -1
  41. package/{cdn/assets/iHc25sW_jPEvAQNG.js → browser/esm/CvFAAktSd9TQK1h4.mjs} +1 -1
  42. package/browser/esm/{DwLRqrlPfv8xcbxB.mjs → D0-tgawYa4KXYT2c.mjs} +2 -2
  43. package/browser/esm/{B3iFtnvwZZ0izvkj.mjs → D244UwY3qPC_LNc5.mjs} +2 -2
  44. package/{cdn/assets/B1bRlKApOQZbRHvx.js → browser/esm/DCuLWmzd9eLWgI03.mjs} +1 -1
  45. package/{cdn/assets/Dwd9xRP6sCbvd7-2.js → browser/esm/DDD5zfwNNPKuc_zZ.mjs} +1 -1
  46. package/browser/esm/{BZD8sqVzxMPTV1eH.mjs → DFa_tXqv1VN1OZdv.mjs} +75 -74
  47. package/{cdn/assets/Cqq1J11IdNmbXlgF.js → browser/esm/DJxioSY-hxyM7dmk.mjs} +24 -23
  48. package/{cdn/assets/Dkcj5uYhkoaa5JJt.js → browser/esm/DdrICyX8Ead15N32.mjs} +7 -7
  49. package/{cdn/assets/vw_ELbpa8MGzVBfc.js → browser/esm/Di2tNceI3NodSsgU.mjs} +10 -10
  50. package/browser/esm/{B7RdrgkvZilWOBgD.mjs → Did46-x6ZVwk_-r-.mjs} +1 -1
  51. package/browser/esm/Q1yWEkJBu4cVEF33.mjs +1467 -0
  52. package/browser/esm/index.mjs +2 -2
  53. package/{cdn/assets/CtW_m0lUeW_X_FHB.js → browser/esm/mq5uPzTIc1x8unBP.mjs} +1 -1
  54. package/browser/esm/wziCLl5xvHu6Guu_.mjs +22 -0
  55. package/cdn/assets/B41q92oKD_VR31Dd.js +46 -0
  56. package/cdn/assets/{DJ3siDIdJVpw0GCs.js → BOl7blN8JotSzCHJ.js} +2 -2
  57. package/{browser/esm/CaLAEGMKeQ3INVEV.mjs → cdn/assets/Bs-psXrTRw1jFety.js} +14 -14
  58. package/cdn/assets/{3ijH6Pl-l2q9T5Ky.js → BzptX9H_YCM2l0DE.js} +11 -10
  59. package/cdn/assets/{DhFd9KX61TdmTNyk.js → C60KakDbde-A4anI.js} +1 -1
  60. package/{browser/esm/Bz98C5-blFN81GJ-.mjs → cdn/assets/C8omEbSXHWI_wNjp.js} +10 -10
  61. package/{browser/esm/C7cRxJLNfGjCT_Hk.mjs → cdn/assets/CEXK9SXjFf1dGHZe.js} +16 -16
  62. package/cdn/assets/{BXkh5kfYj7Zx_PAe.js → CPWh2H15145LP-d5.js} +1 -1
  63. package/cdn/assets/C_E1C68wCcRpC6XN.js +46 -0
  64. package/cdn/assets/{D5Ns-uBNTj4-Jo0p.js → ClFGbVy7cnhMW-dO.js} +2 -2
  65. package/cdn/assets/{C4Vp4GoCEGQgWaGc.js → CoCIP7n4THmzOggq.js} +75 -74
  66. package/{browser/esm/C1opHAkl00_vHPMO.mjs → cdn/assets/CsVV_QnEl77BQM3V.js} +1 -1
  67. package/{browser/esm/iHc25sW_jPEvAQNG.mjs → cdn/assets/CvFAAktSd9TQK1h4.js} +1 -1
  68. package/{browser/esm/CdJVpNbmXP_fHybW.mjs → cdn/assets/Cz33L9W3cdQckAL5.js} +24 -23
  69. package/{browser/esm/DTHujOSrUxuBuwud.mjs → cdn/assets/DBgbBl_3O65WhfWN.js} +6 -6
  70. package/{browser/esm/B1bRlKApOQZbRHvx.mjs → cdn/assets/DCuLWmzd9eLWgI03.js} +1 -1
  71. package/{browser/esm/Dwd9xRP6sCbvd7-2.mjs → cdn/assets/DDD5zfwNNPKuc_zZ.js} +1 -1
  72. package/cdn/assets/DLYF-18qErpwF9Q-.js +1467 -0
  73. package/cdn/assets/{Dk8MDG7PNGIWw80U.js → DXMyzCcyP7039z13.js} +238 -238
  74. package/{browser/esm/FXy016gXiiQkH7aF.mjs → cdn/assets/DdrICyX8Ead15N32.js} +7 -7
  75. package/cdn/assets/{B7RdrgkvZilWOBgD.js → Did46-x6ZVwk_-r-.js} +1 -1
  76. package/cdn/assets/{ukDxhSJqMPzLXoCP.js → Dj3GhNedlKE9TeTn.js} +193 -192
  77. package/cdn/assets/F-RqJeKWiW4i5344.js +24708 -0
  78. package/cdn/assets/{DirkLhQ9-HVY0eDv.js → NHbXgEQMftGzY01r.js} +21 -20
  79. package/cdn/assets/lM5it-aJgI7DLNH9.js +22 -0
  80. package/{browser/esm/CtW_m0lUeW_X_FHB.mjs → cdn/assets/mq5uPzTIc1x8unBP.js} +1 -1
  81. package/cdn/index.js +2 -2
  82. package/cdn/loader.js +1 -1
  83. package/package.json +3 -2
  84. package/browser/cjs/-q2o2lS8jxJdArvq.cjs +0 -6
  85. package/browser/cjs/-wP4OG5GpQTxGLJN.cjs +0 -6
  86. package/browser/cjs/2TmE8J3tbgenWyNa.cjs +0 -6
  87. package/browser/cjs/3ghCxtNVxZjrbziE.cjs +0 -6
  88. package/browser/cjs/6AlZR3dVayTg7C5E.cjs +0 -452
  89. package/browser/cjs/B0BcYYAX9Qq_i5Iv.cjs +0 -6
  90. package/browser/cjs/B237Hj6a3Klw9rQn.cjs +0 -12
  91. package/browser/cjs/B24aLncmXYgEQNjl.cjs +0 -6
  92. package/browser/cjs/B9C-V-MR_epPI-2J.cjs +0 -6
  93. package/browser/cjs/BASowCefqJFspuu-.cjs +0 -6
  94. package/browser/cjs/BeDnbSWoeqV6GajE.cjs +0 -6
  95. package/browser/cjs/BucBlzmuZS_nYU9N.cjs +0 -6
  96. package/browser/cjs/C662YNYNcFb-AwnS.cjs +0 -6
  97. package/browser/cjs/CGg3vZ0YENmM73uu.cjs +0 -6
  98. package/browser/cjs/CJ9WKDMLDxv2vmlL.cjs +0 -6
  99. package/browser/cjs/CcxjUuuq3eq1io9D.cjs +0 -6
  100. package/browser/cjs/Ch4kNO1QwQ4Dqczw.cjs +0 -124
  101. package/browser/cjs/CrXR8mOrQVdukohR.cjs +0 -6
  102. package/browser/cjs/CuLinKNAohDMFqJU.cjs +0 -6
  103. package/browser/cjs/D0Ruzl2vdZGdUhjE.cjs +0 -12
  104. package/browser/cjs/D4CfqUrC04nbs39G.cjs +0 -6
  105. package/browser/cjs/D6cHa8Tv5I8L_uAO.cjs +0 -6
  106. package/browser/cjs/D7MyL7xgt0wGGz3I.cjs +0 -13
  107. package/browser/cjs/D7U5Wmdc51Op-pty.cjs +0 -6
  108. package/browser/cjs/D9SYWsd_viMxXbL_.cjs +0 -6
  109. package/browser/cjs/DMIPzZRAbLsma6rR.cjs +0 -7
  110. package/browser/cjs/DPTxGnV0pA87nrhG.cjs +0 -32
  111. package/browser/cjs/DTtUhkXmo3x2L2GG.cjs +0 -6
  112. package/browser/cjs/DgBFcVOVhZuytQ4k.cjs +0 -6
  113. package/browser/cjs/DoCfDJUgwatpHG4J.cjs +0 -1501
  114. package/browser/cjs/Dwc5vGQ4nkaSmift.cjs +0 -6
  115. package/browser/cjs/GbU6d05bhcxQrAUD.cjs +0 -15
  116. package/browser/cjs/OW7aZPHGxXjRF38A.cjs +0 -6
  117. package/browser/cjs/WQBNSYPbQzvO23r-.cjs +0 -6
  118. package/browser/cjs/XF920uRM7LSmFp49.cjs +0 -6
  119. package/browser/cjs/XazDEHRGho7wJTUR.cjs +0 -6
  120. package/browser/cjs/Zjw2XvR7-Zfykt20.cjs +0 -6
  121. package/browser/cjs/eM5uLWq0QtvNN4O-.cjs +0 -6
  122. package/browser/cjs/gjPOOFOH_THG1O-L.cjs +0 -6
  123. package/browser/cjs/hhZA8Q_VAVRnX3Rz.cjs +0 -7
  124. package/browser/cjs/qjCnEqCfcXzLIady.cjs +0 -6
  125. package/browser/cjs/s238D5kFNyDNYzIV.cjs +0 -6
  126. package/browser/cjs/t-6Fa6b5-CXTHDjn.cjs +0 -6
  127. package/browser/cjs/zvHV2c0_QPS3v2Wt.cjs +0 -11
  128. package/browser/esm/B-v14ikVOXpmpHCI.mjs +0 -5560
  129. package/browser/esm/B1M7fpFXcO34FZ5C.mjs +0 -29
  130. package/browser/esm/B6nZCfPr7UmxzAi6.mjs +0 -48671
  131. package/browser/esm/B7k3pb4haBsw-Yvr.mjs +0 -10
  132. package/browser/esm/B8ajmWm1J-ZsmBzK.mjs +0 -10
  133. package/browser/esm/BGvKR9TNj2ORlcKm.mjs +0 -10
  134. package/browser/esm/Bc8y371ooCwvBkRs.mjs +0 -10
  135. package/browser/esm/BezHCUZawkIGzzUm.mjs +0 -422
  136. package/browser/esm/BnxMjyy6JPTUe9Lg.mjs +0 -10
  137. package/browser/esm/BskzQvqHyjuVccIH.mjs +0 -22
  138. package/browser/esm/BzS_V6RkpVpk_d1w.mjs +0 -472
  139. package/browser/esm/CM--Vw5PcrLIXc8O.mjs +0 -12
  140. package/browser/esm/CflOcniWVa_VR5Wy.mjs +0 -10
  141. package/browser/esm/Cn9w-KgbsxAKNj6s.mjs +0 -10
  142. package/browser/esm/D6KdwQgZEBMy0260.mjs +0 -10
  143. package/browser/esm/DAOw8vm-XsJ_n7BK.mjs +0 -10
  144. package/browser/esm/DIKvxkHBBvYo2rnC.mjs +0 -10
  145. package/browser/esm/DNVkA-vwqtIw6aKf.mjs +0 -1575
  146. package/browser/esm/DTS0EgQuwHdS5aQN.mjs +0 -10
  147. package/browser/esm/DaeiyDhcdRvg5nGs.mjs +0 -1466
  148. package/browser/esm/DeSyxK8Ibb-tIa67.mjs +0 -10
  149. package/browser/esm/DgPz063GFvbhOHHK.mjs +0 -10
  150. package/browser/esm/Di8gWiOWhfFzcOuw.mjs +0 -21
  151. package/browser/esm/Dlg7LT4wsJCPSTCT.mjs +0 -46
  152. package/browser/esm/DqDxWoCftkWurpDk.mjs +0 -10
  153. package/browser/esm/DupExqAEenu5ZS6G.mjs +0 -820
  154. package/browser/esm/Dy1zdTKMeT50nXcy.mjs +0 -10
  155. package/browser/esm/Dz_O3du2SrhYK47v.mjs +0 -10
  156. package/browser/esm/IbCi65rCiiLS_OGe.mjs +0 -46
  157. package/browser/esm/R2Li5a5IPMuoQEGD.mjs +0 -10
  158. package/browser/esm/SWzqhkO1HABv0bfG.mjs +0 -10
  159. package/browser/esm/VDflSVY_vwi7ZcHQ.mjs +0 -3922
  160. package/browser/esm/dAJOajC7rsn3_hWk.mjs +0 -10
  161. package/browser/esm/fvsQWBiDZg7zRYOa.mjs +0 -10
  162. package/browser/esm/o8Z04Tjc17JBUDsL.mjs +0 -10
  163. package/browser/esm/qbGHKDeXrxvghjMt.mjs +0 -24
  164. package/browser/esm/uk5NsqjbkRuKv1vU.mjs +0 -10
  165. package/cdn/assets/B2P82Dvadjo7-hRY.js +0 -1466
  166. package/cdn/assets/B7k3pb4haBsw-Yvr.js +0 -10
  167. package/cdn/assets/B8ajmWm1J-ZsmBzK.js +0 -10
  168. package/cdn/assets/BFDOApZozGNnJdxs.js +0 -46
  169. package/cdn/assets/BGvKR9TNj2ORlcKm.js +0 -10
  170. package/cdn/assets/BJgFwyqDjKdTH0xW.js +0 -422
  171. package/cdn/assets/BKxjmGpW0pe8KUzm.js +0 -472
  172. package/cdn/assets/Bc8y371ooCwvBkRs.js +0 -10
  173. package/cdn/assets/BnxMjyy6JPTUe9Lg.js +0 -10
  174. package/cdn/assets/CM--Vw5PcrLIXc8O.js +0 -12
  175. package/cdn/assets/COS-oUtP1lQi0Hd8.js +0 -22
  176. package/cdn/assets/CSxbcCsSh3AdRzkk.js +0 -3922
  177. package/cdn/assets/CflOcniWVa_VR5Wy.js +0 -10
  178. package/cdn/assets/Cn9w-KgbsxAKNj6s.js +0 -10
  179. package/cdn/assets/Cqyz2pkIcU2pAivO.js +0 -5560
  180. package/cdn/assets/CuYtiG4SP9OK6dJP.js +0 -1575
  181. package/cdn/assets/D6KdwQgZEBMy0260.js +0 -10
  182. package/cdn/assets/DAOw8vm-XsJ_n7BK.js +0 -10
  183. package/cdn/assets/DCwhACFXcpYD60H9.js +0 -820
  184. package/cdn/assets/DIKvxkHBBvYo2rnC.js +0 -10
  185. package/cdn/assets/DOLBqVto8cJdYLWp.js +0 -46
  186. package/cdn/assets/DTS0EgQuwHdS5aQN.js +0 -10
  187. package/cdn/assets/DeSyxK8Ibb-tIa67.js +0 -10
  188. package/cdn/assets/Dew12-owBXPNmL1S.js +0 -29
  189. package/cdn/assets/DgPz063GFvbhOHHK.js +0 -10
  190. package/cdn/assets/Di8gWiOWhfFzcOuw.js +0 -21
  191. package/cdn/assets/DqDxWoCftkWurpDk.js +0 -10
  192. package/cdn/assets/Dy1zdTKMeT50nXcy.js +0 -10
  193. package/cdn/assets/Dz_O3du2SrhYK47v.js +0 -10
  194. package/cdn/assets/G9bfOnISYlZUeW4U.js +0 -48518
  195. package/cdn/assets/R2Li5a5IPMuoQEGD.js +0 -10
  196. package/cdn/assets/SWzqhkO1HABv0bfG.js +0 -10
  197. package/cdn/assets/dAJOajC7rsn3_hWk.js +0 -10
  198. package/cdn/assets/fvsQWBiDZg7zRYOa.js +0 -10
  199. package/cdn/assets/o8Z04Tjc17JBUDsL.js +0 -10
  200. package/cdn/assets/qbGHKDeXrxvghjMt.js +0 -24
  201. package/cdn/assets/uk5NsqjbkRuKv1vU.js +0 -10
@@ -1,10 +0,0 @@
1
- /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.3
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */
7
- const t = { ASC: { s: "Converts a string to full-width characters to half-width. Uses the double-byte character set (DBCS).", p: { text: { d: "is a text or a reference to a cell containing text" } }, h: "DBCS" }, ARRAYTOTEXT: { s: "Returns a text representation of an array", p: { array: { d: "the array to represent as text" }, format: { d: "0 for relaxed format, 1 for strict format", v: 0 } } }, CHAR: { s: "Returns the character specified by the code number from the character set for your computer", p: { number: { d: "is a number between 1 and 255 specifying which character you want" } } }, CLEAN: { s: "Removes all nonprintable characters from text", p: { text: { d: "is the text you want to clean" } } }, CODE: { s: "Returns the Unicode value of the first character in a text string", p: { text: { d: "is the text string whose Unicode value you want" } } }, CONCAT: { s: "Concatenates a list or range of text strings", p: { text: { d: "text1,text2,... are 1 to 252 text strings or ranges to be joined" } } }, CONCATENATE: { s: "Joins several text strings into one text string", p: { text: { d: "text1, text2,... are 1 to 252 text strings or ranges to be joined" } }, c: "Compatibility" }, DETECTLANGUAGE: { s: "Detects the language of a given text.", p: { text: { d: "is the text to detect the language of" } }, h: "Unimplemented" }, DBCS: { s: "Changes half-width characters to full-width characters. Uses the double-byte character set (DBCS).", p: { text: { d: "is a text or a reference to a cell containing text" } }, h: "DBCS" }, DOLLAR: { s: "Converts a number to text in currency format", p: { number: { d: "is the number to convert" }, decimals: { d: "is the number of digits to the right of the decimal point", v: 2 } } }, EXACT: { s: "Checks whether two text strings are exactly the same, and returns TRUE or FALSE. EXACT is case-sensitive", p: { text1: { d: "is the first text string" }, text2: { d: "is the second text string" } } }, FIND: { s: "Returns the starting position of one text string within another text string. FIND is case-sensitive", p: { findText: { d: "Returns the starting position of one text string within another text string. FIND is case-sensitive" }, withinText: { d: "is the text you want to search" }, startNum: { d: "specifies the character at which to start the search. The first character in Within_text is character number 1", v: 1 } } }, FINDB: { s: "Finds the starting position of one text string with another text string. FINDB is case-sensitive. Use with double-byte characters.", p: { findText: { d: "is the text you want to find" }, withinText: { d: "is the text you want to search" }, startNum: { d: "is the position in within_text to start searching", v: 1 } }, h: "DBCS" }, FIXED: { s: "Rounds a number to the specified number of decimals and returns the result as text with or without commas", p: { number: { d: "is the number you want to round and convert to text" }, decimals: { d: "is the number of digits to the right of the decimal point", v: 2 }, noCommas: { d: "is a logical value: do not display commas in the returned text = TRUE; do display commas in the returned text = FALSE", v: !1 } } }, LEFT: { s: "Returns the specified number of characters from the start of a text string", p: { text: { d: "is the text string from which you want to extract characters" }, numChars: { d: "specifies how many characters you want LEFT to extract", v: 1 } } }, LEFTB: { s: "Returns the leftmost num_bytes characters from text. Uses double-byte characters.", p: { text: { d: "is the text string from which you want to extract characters" }, numBytes: { d: "is the number of bytes to extract", v: 1 } }, h: "DBCS" }, LEN: { s: "Returns the number of characters in a text string", p: { text: { d: "is the text whose length you want to find. Spaces count as characters" } } }, LENB: { s: "Returns the number of bytes in a text string. Uses double-byte characters.", p: { text: { d: "is the text string from which you want to extract characters" } } }, LOWER: { s: "Converts all letters in a text string to lowercase", p: { text: { d: "is the text you want to convert to lowercase. Characters in Text that are not letters are not changed" } } }, MID: { s: "Returns the characters from the middle of a text string, given a starting position and length", p: { text: { d: "is the text string from which you want to extract characters" }, startNum: { d: "is the position of the first character you want to extract" }, numChars: { d: "specifies how many characters to return from Text" } } }, MIDB: { s: "Returns characters from the middle of a text string. Uses double-byte characters.", p: { text: { d: "is the text string from which you want to extract characters" }, startNum: { d: "is the position of the first character you want to extract" }, numBytes: { d: "is the number of bytes to extract" } }, h: "DBCS" }, NUMBERVALUE: { s: "Converts text to number in a locale-independent manner", p: { text: { d: "is the text string you want to convert" }, decimalSeparator: { d: "is the character that separates the integer part from the decimal part of the number", v: "." }, groupSeparator: { d: "is the character that separates groups of thousands", v: "," } } }, PERCENTOF: { s: "Returns the percentage of a subset of a given data set", p: { dataSubset: { d: "is the subset" }, dataAll: { d: "is the data set" } }, h: "Unimplemented" }, PHONETIC: { s: "Returns the phonetic spelling of a text string", p: { reference: { d: "Text string or a reference to a single cell or a range of cells that contain a furigana text string" } }, h: "Unimplemented" }, PROPER: { s: "Converts the first letter of each word in a text string to uppercase", p: { text: { d: "is the text string you want to convert" } } }, REGEXEXTRACT: { s: "Extracts substrings of 'text' based on the provided REGEX 'pattern'", p: { text: { d: "is the text string from which you want to extract characters" }, pattern: { d: "The regular expression to be applied" }, returnMode: { d: "Specify which matches to return", v: 0 }, caseSensitivity: { d: "Whether the match is case sensitive", v: !1 } }, h: "Unimplemented" }, REGEXREPLACE: { s: "Returns 'text', with 'replacement' in place of matches with 'pattern'", p: { text: { d: "is the text string from which you want to extract characters" }, pattern: { d: "The regular expression to be applied" }, replacement: { d: "The replacement string" }, occurrence: { d: "The occurrence of the match to replace", v: 0 }, caseSensitivity: { d: "Whether the match is case sensitive", v: !1 } }, h: "Unimplemented" }, REGEXTEST: { s: "Checks whether the input matches the pattern, and returns TRUE or FALSE", p: { text: { d: "is the text string to be checked" }, pattern: { d: "is the regular expression to be applied" }, caseSensitivity: { d: "Whether the match is case sensitive", v: !1 } }, h: "Unimplemented" }, REPLACE: { s: "Replaces part of a text string with a different text string", p: { oldText: { d: "is the text string to be changed" }, startNum: { d: "is the position of the first character you want to replace" }, numChars: { d: "is the number of characters to replace" }, newText: { d: "is the text string that will replace old_text" } } }, REPLACEB: { s: "Replaces part of a text string with a different text string using the number of bytes. Uses the double-byte character set (DBCS).", p: { oldText: { d: "is the text string to be changed" }, startNum: { d: "is the position of the first character you want to replace" }, numBytes: { d: "is the number of bytes to replace" }, newText: { d: "is the text string that will replace old_text" } }, h: "DBCS" }, REPT: { s: "Repeats text a given number of times", p: { text: { d: "is the text you want to repeat" }, numberTimes: { d: "is the number of times you want to repeat text" } } }, RIGHT: { s: "Returns the specified number of characters from the end of a text string", p: { text: { d: "is the text string that contains the characters you want to extract" }, numChars: { d: "specifies how many characters you want to extract", v: 1 } } }, RIGHTB: { s: "Returns the rightmost num_bytes characters from text. Uses double-byte characters.", p: { text: { d: "is the text string from which you want to extract characters" }, numBytes: { d: "is the number of bytes to extract", v: 1 } } }, SEARCH: { s: "Returns the number of the character at which a specific character or text string is first found, reading left to right (not case-sensitive)", p: { findText: { d: "Returns the number of the character at which a specific character or text string is first found, reading left to right (not case-sensitive)" }, withinText: { d: "is the text in which you want to search for Find_text" }, startNum: { d: "is the character number in Within_text, counting from the left, at which you want to start searching", v: 1 } } }, SEARCHB: { s: "Returns the number of the character at which a specific character or text string is first found, reading left to right (not case-sensitive). Uses the double-byte character set (DBCS).", p: { findText: { d: "Returns the number of the character at which a specific character or text string is first found, reading left to right (not case-sensitive)" }, withinText: { d: "is the text in which you want to search for Find_text" }, startBytes: { d: "is the character number in Within_text, counting from the left, at which you want to start searching", v: 1 } }, h: "DBCS" }, SUBSTITUTE: { s: "Replaces existing text with new text in a text string", p: { text: { d: "is the text or the reference to a cell containing text in which you want to substitute characters" }, oldText: { d: "is the existing text you want to replace. If the case of Old_text does not match the case of text, SUBSTITUTE will not replace the text" }, newText: { d: "is the text you want to replace Old_text with" }, instanceNum: { d: "specifies which occurrence of Old_text you want to replace. If omitted, every instance of Old_text is replaced" } } }, T: { s: "Checks whether a value is text, and returns the text if it is, or returns double quotes (empty text) if it is not", p: { value: { d: "is the value to test" } } }, TEXT: { s: "Converts a value to text in a specific number format", p: { value: { d: "is a number, a formula that evaluates to a numeric value, or a reference to a cell containing a numeric value" }, formatText: { d: "is a text string that defines the number format to use" } } }, TEXTAFTER: { s: "Returns text that's after delimiting characters.", p: { text: { d: "The text you want to search for the delimiter." }, delimiter: { d: "The character or string to use as a delimiter." }, instanceNum: { d: "The desired occurrence of delimiter. The default is 1. A negative number searches from the end.", v: 1 }, matchMode: { d: "Searches the text for a delimiter match. By default, a case-sensitive match is done.", v: 0 }, matchEnd: { d: "Whether to match the delimiter against the end of text. By default, they're not matched.", v: 0 }, ifNotFound: { d: "Returned if no match is found. By default, #N/A is returned.", v: "undefined" } } }, TEXTJOIN: { s: "Concatenates a list or range of text strings using a delimiter", p: { delimiter: { d: "Character or string to insert between each text item" }, ignoreEmpty: { d: "if TRUE(default), ignores empty cells" }, text: { d: "text1,text2,... are 1 to 252 text strings or ranges to be joined" } } }, TEXTSPLIT: { s: "Splits text into rows or columns using delimiters.", p: { text: { d: "The text to split" }, colDelimiter: { d: "The column delimiter(s) - can be string or array of strings" }, rowDelimiter: { d: "The row delimiter(s), null/undefined means no row splitting", v: null }, ignoreEmpty: { d: "Whether to ignore empty values (defaults to `false`)", v: !1 }, matchMode: { d: "Whether to use case-sensitive (0) or case-insensitive (1) match (defaults to `0`)", v: 0 }, padWith: { d: "Value to use for padding if matrix is uneven (defaults to `#N/A`)", v: "undefined" } } }, TEXTBEFORE: { s: "Returns text that's before delimiting characters.", p: { text: { d: "The text you want to search for the delimiter." }, delimiter: { d: "The character or string to use as a delimiter." }, instanceNum: { d: "The desired occurrence of delimiter. The default is 1. A negative number searches from the end.", v: 1 }, matchMode: { d: "Whether to use case-sensitive (0) or case-insensitive (1) match (defaults to `0`)", v: 0 }, matchEnd: { d: "Whether to match the delimiter against the end of text. By default, they're not matched.", v: 0 }, ifNotFound: { d: "Returned if no match is found. By default, #N/A is returned.", v: "undefined" } } }, TRANSLATE: { s: "Translate a text string from one language to another using the Microsoft Translator service.", p: { text: { d: "The text to translate." }, sourceLanguage: { d: "Specifiy the source language your text is currently in. Expressed as a two-letter language code." }, targetLanguage: { d: "Specifiy the source language you want your text to be translated to. Expressed as a two-letter language code." } }, h: "Unimplemented" }, TRIM: { s: "Removes all spaces from text except for single spaces between words.", p: { text: { d: "The text from which you want to remove extra spaces." } } }, UNICHAR: { s: "Returns the Unicode character referenced by the given numeric value", p: { number: { d: "is the Unicode number representing a character" } } }, UNICODE: { s: "Returns the number (code point) corresponding to the first character of the text", p: { text: { d: "is the character that you want the Unicode value of" } } }, UPPER: { s: "Converts a text string to all uppercase letters", p: { text: { d: "is the text you want converted to uppercase, a reference or a text string" } } }, VALUE: { s: "Converts a text string that represents a number to a number", p: { text: { d: "is the text enclosed in quotation marks or a reference to a cell containing the text you want to convert" } } }, VALUETOTEXT: { s: "Returns a text representation of a value", p: { value: { d: "the value to represent as text" }, format: { d: "the format of the text", v: 0 } } } };
8
- export {
9
- t as default
10
- };
@@ -1,10 +0,0 @@
1
- /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.3
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */
7
- const e = { DATE: { s: "Returns the number that represents the date in Microsoft Excel date-time code", p: { year: { d: "is a number from 1900 or 1904 (depending on the workbook's date system) to 9999" }, month: { d: "is a number from 1 to 12 representing the month of the year" }, day: { d: "is a number from 1 to 31 representing the day of the month" } } }, DATEDIF: { s: "Returns the number of days between two dates", p: { startDate: { d: "is a serial date number that represents the start date" }, endDate: { d: "is a serial date number that represents the end date" }, unit: { d: "is a string that specifies the unit of time to use" } }, h: "Legacy" }, DATESTRING: { s: "Returns NA.", p: { number: { d: "is a number that is ignored" } }, h: "Legacy" }, DATEVALUE: { s: "Converts a date in the form of text to a number that represents the date in Microsoft Excel date-time code", p: { dateText: { d: "is text that represents a date in a Microsoft Excel date format, between 1/1/1900 or 1/1/1904 (depending on the workbook's date system) and 12/31/9999" } } }, DAY: { s: "Returns the day of the month, a number from 1 to 31.", p: { serialOrString: { d: "is a number in the date-time code used by Excel or text in time format, such as 16:48:00 or 4:48:00 PM" } } }, DAYS: { s: "Returns the number of days between the two dates.", p: { endDate: { d: "start_date and end_date are the two dates between which you want to know the number of days" }, startDate: { d: "start_date and end_date are the two dates between which you want to know the number of days" } } }, DAYS360: { s: "Returns the number of days between two dates based on a 360-day year (twelve 30-day months)", p: { startDate: { d: "start_date and end_date are the two dates between which you want to know the number of days" }, endDate: { d: "start_date and end_date are the two dates between which you want to know the number of days" }, method: { d: "is a logical value specifying the calculation method: U.S. (NASD) = FALSE; European = TRUE.", v: !1 } } }, EDATE: { s: "Returns the serial number of the date that is the indicated number of months before or after the start date", p: { startDate: { d: "is a serial date number that represents the start date" }, months: { d: "is the number of months before or after start_date" } } }, EOMONTH: { s: "Returns the serial number of the last day of the month before or after a specified number of months", p: { startDate: { d: "is a serial date number that represents the start date" }, months: { d: "is the number of months before or after the start_date" } } }, HOUR: { s: "Returns the hour as a number from 0 (12:00 A.M.) to 23 (11:00 P.M.).", p: { serialOrString: { d: "is a number in the date-time code used by Excel or text in time format, such as 16:48:00 or 4:48:00 PM" } } }, ISOWEEKNUM: { s: "Returns the ISO week number in the year for a given date", p: { serialOrString: { d: "is a number in the date-time code used by Excel or text in time format, such as 16:48:00 or 4:48:00 PM" } } }, MINUTE: { s: "Returns the minute, a number from 0 to 59.", p: { serialOrString: { d: "is a number in the date-time code used by Excel or text in time format, such as 16:48:00 or 4:48:00 PM" } } }, MONTH: { s: "Returns the month, a number from 1 (January) to 12 (December).", p: { serialOrString: { d: "is a number in the date-time code used by Excel" } } }, NETWORKDAYS: { s: "Returns the number of whole workdays between two dates", p: { startDate: { d: "is a serial date number that represents the start date" }, endDate: { d: "is a serial date number that represents the end date" }, holidays: { d: "is an optional set of one or more serial date numbers to exclude from the working calendar, such as state and federal holidays and floating holidays", v: null } } }, "NETWORKDAYS.INTL": { s: "Returns the number of whole workdays between two dates with custom weekend parameters", p: { startDate: { d: "is a serial date number that represents the start date" }, endDate: { d: "is a serial date number that represents the end date" }, weekend: { d: "is a number or string specifying when weekends occur", v: 1 }, holidays: { d: "is an optional set of one or more serial date numbers to exclude from the working calendar, such as state and federal holidays and floating holidays", v: null } } }, NOW: { s: "Returns the current date and time formatted as a date and time.", p: {} }, SECOND: { s: "Returns the second, a number from 0 to 59.", p: { serialOrString: { d: "is a number in the date-time code used by Excel or text in time format, such as 16:48:23 or 4:48:47 PM" } } }, TIME: { s: "Converts hours, minutes, and seconds given as numbers to an Excel serial number, formatted with a time format", p: { hour: { d: "is a number from 0 to 23 representing the hour" }, minute: { d: "is a number from 0 to 59 representing the minute" }, second: { d: "is a number from 0 to 59 representing the second" } } }, TIMEVALUE: { s: "Converts a text time to an Excel serial number for a time, a number from 0 (12:00:00 AM) to 0.999988426 (11:59:59 PM). Format the number with a time format after entering the formula", p: { timeText: { d: "is a text string that gives a time in any one of the Excel time formats (date information in the string is ignored)" } } }, TODAY: { s: "Returns the current date formatted as a date.", p: {} }, WEEKDAY: { s: "Returns a number from 1 to 7 identifying the day of the week of a date.", p: { serialOrString: { d: "is a number that represents a date" }, returnType: { d: "is a number: for Sunday=1 through Saturday=7, use 1; for Monday=1 through Sunday=7, use 2; for Monday=0 through Sunday=6, use 3", v: 1 } } }, WEEKNUM: { s: "Returns the week number in the year", p: { serialOrString: { d: "is the date-time code used by Excel for date and time calculation" }, returnType: { d: "is a number (1 or 2) that determines the type of the return value", v: 1 } } }, WORKDAY: { s: "Returns the serial number of the date before or after a specified number of workdays", p: { startDate: { d: "is a serial date number that represents the start date" }, days: { d: "is the number of nonweekend and non-holiday days before or after start_date" }, holidays: { d: "is an optional array of one or more serial date numbers to exclude from the working calendar, such as state and federal holidays and floating holidays", v: null } } }, "WORKDAY.INTL": { s: "Returns the serial number of the date before or after a specified number of workdays with custom weekend parameters", p: { startDate: { d: "is a serial date number that represents the start date" }, days: { d: "is the number of nonweekend and non-holiday days before or after start_date" }, weekend: { d: "is a number or string specifying when weekends occur", v: 1 }, holidays: { d: "is an optional array of one or more serial date numbers to exclude from the working calendar, such as state and federal holidays and floating holidays", v: null } } }, YEAR: { s: "Returns the year of a date, an integer in the range 1900 - 9999.", p: { serialOrString: { d: "is a number in the date-time code used by Excel" } } }, YEARFRAC: { s: "Returns the year fraction representing the number of whole days between start_date and end_date", p: { startDate: { d: "is a serial date number that represents the start date" }, endDate: { d: "is a serial date number that represents the end date" }, basis: { d: "is the type of day count basis to use", v: 0 } } } };
8
- export {
9
- e as default
10
- };
@@ -1,46 +0,0 @@
1
- import { l as y, q as C } from "./G9bfOnISYlZUeW4U.js";
2
- /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.3
4
- *
5
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
6
- * License: The license can be found at https://www.sheetxl.com/license.
7
- */
8
- const B = async (a, p) => {
9
- const { trimLeadingBlankRow: l = !0, trimLeadingBlankColumn: u = !0, excludeHidden: h = !1, sheetKey: o = null, papaParseConfig: m = {} } = p || {}, f = await import("./C1opHAkl00_vHPMO.js").then((s) => s.p);
10
- if (!a) throw new Error("workbook must be specified");
11
- let t = null;
12
- if (o === null ? t = a.getSelectedSheet() : typeof o == "number" ? t = a.getSheets().search()[o] : typeof o == "string" && (t = a.getSheets().getByName(o)), !t) throw new Error("invalid sheetKey specified");
13
- let c = null;
14
- const d = [];
15
- let e = null, n = t.getUsedRange({ excludeHidden: h });
16
- if (!n) throw new Error("Nothing to export");
17
- if (!l || !u) {
18
- const s = l ? n.getRowStart() : 0, i = u ? n.getColumnStart() : 0;
19
- n = n.getOffsetTo(s, i);
20
- }
21
- n.forEach((s, i) => {
22
- const w = i.getCoords(), x = i.getCell();
23
- c !== w.rowIndex && (e && d.push(e), e = [], c = w.rowIndex);
24
- const S = x.toTextUnformatted() ?? "";
25
- e.push(S);
26
- }, { includeEmpty: !0, address: null }), e && d.push(e);
27
- const r = { ...m }, g = f.unparse(d, r);
28
- return new TextEncoder().encode(g);
29
- }, R = async (a, p) => {
30
- const { papaParseConfig: l, setValuesOptions: u, constructorOptions: h } = p ?? {}, o = await import("./C1opHAkl00_vHPMO.js").then((r) => r.p), m = new TextDecoder().decode(a);
31
- let f = -1;
32
- const t = new y(h), c = t.getSelectedSheet().getEntireRange().startIncrementalUpdates({ orientation: C.Orientation.Row }), d = p?.onProgress;
33
- let e = 0;
34
- const n = { ...l, transform: (r, g) => {
35
- l?.transform && (r = l.transform(r, g));
36
- const s = g;
37
- s === 0 && f++;
38
- let i = r ?? "";
39
- return c.pushAt(f, s, i), e++, e % 1e5 == 0 && d?.(e), r;
40
- } };
41
- return o.parse(m, n).data, c.apply({ textParser: !0, ...u }), t;
42
- };
43
- export {
44
- R as fromBufferCSV,
45
- B as toBufferCSV
46
- };
@@ -1,10 +0,0 @@
1
- /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.3
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */
7
- const e = { BESSELI: { s: "Returns the modified Bessel function In(x)", p: { x: { d: "is the value at which to evaluate the function" }, n: { d: "is the order of the Bessel function" } } }, BESSELJ: { s: "Returns the Bessel function Jn(x)", p: { x: { d: "is the value at which to evaluate the function" }, n: { d: "is the order of the Bessel function" } } }, BESSELK: { s: "Returns the modified Bessel function Kn(x)", p: { x: { d: "is the value at which to evaluate the function" }, n: { d: "is the order of the function" } } }, BESSELY: { s: "Returns the Bessel function Yn(x)", p: { x: { d: "is the value at which to evaluate the function" }, n: { d: "is the order of the function" } } } };
8
- export {
9
- e as default
10
- };
@@ -1,422 +0,0 @@
1
- import { y as yt } from "./G9bfOnISYlZUeW4U.js";
2
- /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.3
4
- *
5
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
6
- * License: The license can be found at https://www.sheetxl.com/license.
7
- */
8
- var ct, pt = { exports: {} }, gt = (ct || (ct = 1, pt.exports = function Y() {
9
- var Q, b = typeof self < "u" ? self : typeof window < "u" ? window : b !== void 0 ? b : {}, P = !b.document && !!b.postMessage, B = b.IS_PAPA_WORKER || !1, J = {}, mt = 0, a = {};
10
- function K(t) {
11
- this._handle = null, this._finished = !1, this._completed = !1, this._halted = !1, this._input = null, this._baseIndex = 0, this._partialLine = "", this._rowCount = 0, this._start = 0, this._nextChunk = null, this.isFirstChunk = !0, this._completeResults = { data: [], errors: [], meta: {} }, function(e) {
12
- var i = at(e);
13
- i.chunkSize = parseInt(i.chunkSize), e.step || e.chunk || (i.chunkSize = null), this._handle = new ht(i), (this._handle.streamer = this)._config = i;
14
- }.call(this, t), this.parseChunk = function(e, i) {
15
- var n = parseInt(this._config.skipFirstNLines) || 0;
16
- if (this.isFirstChunk && 0 < n) {
17
- let l = this._config.newline;
18
- l || (r = this._config.quoteChar || '"', l = this._handle.guessLineEndings(e, r)), e = [...e.split(l).slice(n)].join(l);
19
- }
20
- this.isFirstChunk && y(this._config.beforeFirstChunk) && (r = this._config.beforeFirstChunk(e)) !== void 0 && (e = r), this.isFirstChunk = !1, this._halted = !1, n = this._partialLine + e;
21
- var r = (this._partialLine = "", this._handle.parse(n, this._baseIndex, !this._finished));
22
- if (!this._handle.paused() && !this._handle.aborted()) {
23
- if (e = r.meta.cursor, this._finished || (this._partialLine = n.substring(e - this._baseIndex), this._baseIndex = e), r && r.data && (this._rowCount += r.data.length), n = this._finished || this._config.preview && this._rowCount >= this._config.preview, B) b.postMessage({ results: r, workerId: a.WORKER_ID, finished: n });
24
- else if (y(this._config.chunk) && !i) {
25
- if (this._config.chunk(r, this._handle), this._handle.paused() || this._handle.aborted()) return void (this._halted = !0);
26
- this._completeResults = r = void 0;
27
- }
28
- return this._config.step || this._config.chunk || (this._completeResults.data = this._completeResults.data.concat(r.data), this._completeResults.errors = this._completeResults.errors.concat(r.errors), this._completeResults.meta = r.meta), this._completed || !n || !y(this._config.complete) || r && r.meta.aborted || (this._config.complete(this._completeResults, this._input), this._completed = !0), n || r && r.meta.paused || this._nextChunk(), r;
29
- }
30
- this._halted = !0;
31
- }, this._sendError = function(e) {
32
- y(this._config.error) ? this._config.error(e) : B && this._config.error && b.postMessage({ workerId: a.WORKER_ID, error: e, finished: !1 });
33
- };
34
- }
35
- function it(t) {
36
- var e;
37
- (t = t || {}).chunkSize || (t.chunkSize = a.RemoteChunkSize), K.call(this, t), this._nextChunk = P ? function() {
38
- this._readChunk(), this._chunkLoaded();
39
- } : function() {
40
- this._readChunk();
41
- }, this.stream = function(i) {
42
- this._input = i, this._nextChunk();
43
- }, this._readChunk = function() {
44
- if (this._finished) this._chunkLoaded();
45
- else {
46
- if (e = new XMLHttpRequest(), this._config.withCredentials && (e.withCredentials = this._config.withCredentials), P || (e.onload = $(this._chunkLoaded, this), e.onerror = $(this._chunkError, this)), e.open(this._config.downloadRequestBody ? "POST" : "GET", this._input, !P), this._config.downloadRequestHeaders) {
47
- var i, n = this._config.downloadRequestHeaders;
48
- for (i in n) e.setRequestHeader(i, n[i]);
49
- }
50
- var r;
51
- this._config.chunkSize && (r = this._start + this._config.chunkSize - 1, e.setRequestHeader("Range", "bytes=" + this._start + "-" + r));
52
- try {
53
- e.send(this._config.downloadRequestBody);
54
- } catch (l) {
55
- this._chunkError(l.message);
56
- }
57
- P && e.status === 0 && this._chunkError();
58
- }
59
- }, this._chunkLoaded = function() {
60
- var i;
61
- e.readyState === 4 && (e.status < 200 || 400 <= e.status ? this._chunkError() : (this._start += this._config.chunkSize || e.responseText.length, this._finished = !this._config.chunkSize || this._start >= ((i = (i = e).getResponseHeader("Content-Range")) !== null ? parseInt(i.substring(i.lastIndexOf("/") + 1)) : -1), this.parseChunk(e.responseText)));
62
- }, this._chunkError = function(i) {
63
- i = e.statusText || i, this._sendError(new Error(i));
64
- };
65
- }
66
- function rt(t) {
67
- (t = t || {}).chunkSize || (t.chunkSize = a.LocalChunkSize), K.call(this, t);
68
- var e, i, n = typeof FileReader < "u";
69
- this.stream = function(r) {
70
- this._input = r, i = r.slice || r.webkitSlice || r.mozSlice, n ? ((e = new FileReader()).onload = $(this._chunkLoaded, this), e.onerror = $(this._chunkError, this)) : e = new FileReaderSync(), this._nextChunk();
71
- }, this._nextChunk = function() {
72
- this._finished || this._config.preview && !(this._rowCount < this._config.preview) || this._readChunk();
73
- }, this._readChunk = function() {
74
- var r = this._input, l = (this._config.chunkSize && (l = Math.min(this._start + this._config.chunkSize, this._input.size), r = i.call(r, this._start, l)), e.readAsText(r, this._config.encoding));
75
- n || this._chunkLoaded({ target: { result: l } });
76
- }, this._chunkLoaded = function(r) {
77
- this._start += this._config.chunkSize, this._finished = !this._config.chunkSize || this._start >= this._input.size, this.parseChunk(r.target.result);
78
- }, this._chunkError = function() {
79
- this._sendError(e.error);
80
- };
81
- }
82
- function X(t) {
83
- var e;
84
- K.call(this, t = t || {}), this.stream = function(i) {
85
- return e = i, this._nextChunk();
86
- }, this._nextChunk = function() {
87
- var i, n;
88
- if (!this._finished) return i = this._config.chunkSize, e = i ? (n = e.substring(0, i), e.substring(i)) : (n = e, ""), this._finished = !e, this.parseChunk(n);
89
- };
90
- }
91
- function nt(t) {
92
- K.call(this, t = t || {});
93
- var e = [], i = !0, n = !1;
94
- this.pause = function() {
95
- K.prototype.pause.apply(this, arguments), this._input.pause();
96
- }, this.resume = function() {
97
- K.prototype.resume.apply(this, arguments), this._input.resume();
98
- }, this.stream = function(r) {
99
- this._input = r, this._input.on("data", this._streamData), this._input.on("end", this._streamEnd), this._input.on("error", this._streamError);
100
- }, this._checkIsFinished = function() {
101
- n && e.length === 1 && (this._finished = !0);
102
- }, this._nextChunk = function() {
103
- this._checkIsFinished(), e.length ? this.parseChunk(e.shift()) : i = !0;
104
- }, this._streamData = $(function(r) {
105
- try {
106
- e.push(typeof r == "string" ? r : r.toString(this._config.encoding)), i && (i = !1, this._checkIsFinished(), this.parseChunk(e.shift()));
107
- } catch (l) {
108
- this._streamError(l);
109
- }
110
- }, this), this._streamError = $(function(r) {
111
- this._streamCleanUp(), this._sendError(r);
112
- }, this), this._streamEnd = $(function() {
113
- this._streamCleanUp(), n = !0, this._streamData("");
114
- }, this), this._streamCleanUp = $(function() {
115
- this._input.removeListener("data", this._streamData), this._input.removeListener("end", this._streamEnd), this._input.removeListener("error", this._streamError);
116
- }, this);
117
- }
118
- function ht(t) {
119
- var e, i, n, r, l = Math.pow(2, 53), p = -l, z = /^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/, w = /^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/, _ = this, T = 0, o = 0, I = !1, u = !1, g = [], s = { data: [], errors: [], meta: {} };
120
- function C(h) {
121
- return t.skipEmptyLines === "greedy" ? h.join("").trim() === "" : h.length === 1 && h[0].length === 0;
122
- }
123
- function R() {
124
- if (s && n && (M("Delimiter", "UndetectableDelimiter", "Unable to auto-detect delimiting character; defaulted to '" + a.DefaultDelimiter + "'"), n = !1), t.skipEmptyLines && (s.data = s.data.filter(function(f) {
125
- return !C(f);
126
- })), L()) {
127
- let f = function(O, A) {
128
- y(t.transformHeader) && (O = t.transformHeader(O, A)), g.push(O);
129
- };
130
- if (s) if (Array.isArray(s.data[0])) {
131
- for (var h = 0; L() && h < s.data.length; h++) s.data[h].forEach(f);
132
- s.data.splice(0, 1);
133
- } else s.data.forEach(f);
134
- }
135
- function c(f, O) {
136
- for (var A = t.header ? {} : [], v = 0; v < f.length; v++) {
137
- var k = v, m = f[v];
138
- m = ((U, d) => {
139
- return S = U, t.dynamicTypingFunction && t.dynamicTyping[S] === void 0 && (t.dynamicTyping[S] = t.dynamicTypingFunction(S)), (t.dynamicTyping[S] || t.dynamicTyping) === !0 ? d === "true" || d === "TRUE" || d !== "false" && d !== "FALSE" && (((j) => {
140
- if (z.test(j) && (j = parseFloat(j), p < j && j < l)) return 1;
141
- })(d) ? parseFloat(d) : w.test(d) ? new Date(d) : d === "" ? null : d) : d;
142
- var S;
143
- })(k = t.header ? v >= g.length ? "__parsed_extra" : g[v] : k, m = t.transform ? t.transform(m, k) : m), k === "__parsed_extra" ? (A[k] = A[k] || [], A[k].push(m)) : A[k] = m;
144
- }
145
- return t.header && (v > g.length ? M("FieldMismatch", "TooManyFields", "Too many fields: expected " + g.length + " fields but parsed " + v, o + O) : v < g.length && M("FieldMismatch", "TooFewFields", "Too few fields: expected " + g.length + " fields but parsed " + v, o + O)), A;
146
- }
147
- var E;
148
- s && (t.header || t.dynamicTyping || t.transform) && (E = 1, !s.data.length || Array.isArray(s.data[0]) ? (s.data = s.data.map(c), E = s.data.length) : s.data = c(s.data, 0), t.header && s.meta && (s.meta.fields = g), o += E);
149
- }
150
- function L() {
151
- return t.header && g.length === 0;
152
- }
153
- function M(h, c, E, f) {
154
- h = { type: h, code: c, message: E }, f !== void 0 && (h.row = f), s.errors.push(h);
155
- }
156
- y(t.step) && (r = t.step, t.step = function(h) {
157
- s = h, L() ? R() : (R(), s.data.length !== 0 && (T += h.data.length, t.preview && T > t.preview ? i.abort() : (s.data = s.data[0], r(s, _))));
158
- }), this.parse = function(h, c, E) {
159
- var f = t.quoteChar || '"';
160
- return t.newline || (t.newline = this.guessLineEndings(h, f)), n = !1, t.delimiter ? y(t.delimiter) && (t.delimiter = t.delimiter(h), s.meta.delimiter = t.delimiter) : ((f = ((O, A, v, k, m) => {
161
- var U, d, S, j;
162
- m = m || [",", " ", "|", ";", a.RECORD_SEP, a.UNIT_SEP];
163
- for (var Z = 0; Z < m.length; Z++) {
164
- for (var W, tt = m[Z], F = 0, q = 0, x = 0, D = (S = void 0, new st({ comments: k, delimiter: tt, newline: A, preview: 10 }).parse(O)), H = 0; H < D.data.length; H++) v && C(D.data[H]) ? x++ : (q += W = D.data[H].length, S === void 0 ? S = W : 0 < W && (F += Math.abs(W - S), S = W));
165
- 0 < D.data.length && (q /= D.data.length - x), (d === void 0 || F <= d) && (j === void 0 || j < q) && 1.99 < q && (d = F, U = tt, j = q);
166
- }
167
- return { successful: !!(t.delimiter = U), bestDelimiter: U };
168
- })(h, t.newline, t.skipEmptyLines, t.comments, t.delimitersToGuess)).successful ? t.delimiter = f.bestDelimiter : (n = !0, t.delimiter = a.DefaultDelimiter), s.meta.delimiter = t.delimiter), f = at(t), t.preview && t.header && f.preview++, e = h, i = new st(f), s = i.parse(e, c, E), R(), I ? { meta: { paused: !0 } } : s || { meta: { paused: !1 } };
169
- }, this.paused = function() {
170
- return I;
171
- }, this.pause = function() {
172
- I = !0, i.abort(), e = y(t.chunk) ? "" : e.substring(i.getCharIndex());
173
- }, this.resume = function() {
174
- _.streamer._halted ? (I = !1, _.streamer.parseChunk(e, !0)) : setTimeout(_.resume, 3);
175
- }, this.aborted = function() {
176
- return u;
177
- }, this.abort = function() {
178
- u = !0, i.abort(), s.meta.aborted = !0, y(t.complete) && t.complete(s), e = "";
179
- }, this.guessLineEndings = function(h, c) {
180
- h = h.substring(0, 1048576), c = new RegExp(V(c) + "([^]*?)" + V(c), "gm");
181
- var E = (h = h.replace(c, "")).split("\r");
182
- if (h = 1 < (c = h.split(`
183
- `)).length && c[0].length < E[0].length, E.length === 1 || h) return `
184
- `;
185
- for (var f = 0, O = 0; O < E.length; O++) E[O][0] === `
186
- ` && f++;
187
- return f >= E.length / 2 ? `\r
188
- ` : "\r";
189
- };
190
- }
191
- function V(t) {
192
- return t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
193
- }
194
- function st(t) {
195
- var e = (t = t || {}).delimiter, i = t.newline, n = t.comments, r = t.step, l = t.preview, p = t.fastMode, z = null, w = !1, _ = t.quoteChar == null ? '"' : t.quoteChar, T = _;
196
- if (t.escapeChar !== void 0 && (T = t.escapeChar), (typeof e != "string" || -1 < a.BAD_DELIMITERS.indexOf(e)) && (e = ","), n === e) throw new Error("Comment character same as delimiter");
197
- n === !0 ? n = "#" : (typeof n != "string" || -1 < a.BAD_DELIMITERS.indexOf(n)) && (n = !1), i !== `
198
- ` && i !== "\r" && i !== `\r
199
- ` && (i = `
200
- `);
201
- var o = 0, I = !1;
202
- this.parse = function(u, g, s) {
203
- if (typeof u != "string") throw new Error("Input must be a string");
204
- var C = u.length, R = e.length, L = i.length, M = n.length, h = y(r), c = [], E = [], f = [], O = o = 0;
205
- if (!u) return F();
206
- if (p || p !== !1 && u.indexOf(_) === -1) {
207
- for (var A = u.split(i), v = 0; v < A.length; v++) {
208
- if (f = A[v], o += f.length, v !== A.length - 1) o += i.length;
209
- else if (s) return F();
210
- if (!n || f.substring(0, M) !== n) {
211
- if (h) {
212
- if (c = [], j(f.split(e)), q(), I) return F();
213
- } else j(f.split(e));
214
- if (l && l <= v) return c = c.slice(0, l), F(!0);
215
- }
216
- }
217
- return F();
218
- }
219
- for (var k = u.indexOf(e, o), m = u.indexOf(i, o), U = new RegExp(V(T) + V(_), "g"), d = u.indexOf(_, o); ; ) if (u[o] === _) for (d = o, o++; ; ) {
220
- if ((d = u.indexOf(_, d + 1)) === -1) return s || E.push({ type: "Quotes", code: "MissingQuotes", message: "Quoted field unterminated", row: c.length, index: o }), W();
221
- if (d === C - 1) return W(u.substring(o, d).replace(U, _));
222
- if (_ === T && u[d + 1] === T) d++;
223
- else if (_ === T || d === 0 || u[d - 1] !== T) {
224
- k !== -1 && k < d + 1 && (k = u.indexOf(e, d + 1));
225
- var S = Z((m = m !== -1 && m < d + 1 ? u.indexOf(i, d + 1) : m) === -1 ? k : Math.min(k, m));
226
- if (u.substr(d + 1 + S, R) === e) {
227
- f.push(u.substring(o, d).replace(U, _)), u[o = d + 1 + S + R] !== _ && (d = u.indexOf(_, o)), k = u.indexOf(e, o), m = u.indexOf(i, o);
228
- break;
229
- }
230
- if (S = Z(m), u.substring(d + 1 + S, d + 1 + S + L) === i) {
231
- if (f.push(u.substring(o, d).replace(U, _)), tt(d + 1 + S + L), k = u.indexOf(e, o), d = u.indexOf(_, o), h && (q(), I)) return F();
232
- if (l && c.length >= l) return F(!0);
233
- break;
234
- }
235
- E.push({ type: "Quotes", code: "InvalidQuotes", message: "Trailing quote on quoted field is malformed", row: c.length, index: o }), d++;
236
- }
237
- }
238
- else if (n && f.length === 0 && u.substring(o, o + M) === n) {
239
- if (m === -1) return F();
240
- o = m + L, m = u.indexOf(i, o), k = u.indexOf(e, o);
241
- } else if (k !== -1 && (k < m || m === -1)) f.push(u.substring(o, k)), o = k + R, k = u.indexOf(e, o);
242
- else {
243
- if (m === -1) break;
244
- if (f.push(u.substring(o, m)), tt(m + L), h && (q(), I)) return F();
245
- if (l && c.length >= l) return F(!0);
246
- }
247
- return W();
248
- function j(x) {
249
- c.push(x), O = o;
250
- }
251
- function Z(x) {
252
- return x !== -1 && (x = u.substring(d + 1, x)) && x.trim() === "" ? x.length : 0;
253
- }
254
- function W(x) {
255
- return s || (x === void 0 && (x = u.substring(o)), f.push(x), o = C, j(f), h && q()), F();
256
- }
257
- function tt(x) {
258
- o = x, j(f), f = [], m = u.indexOf(i, o);
259
- }
260
- function F(x) {
261
- if (t.header && !g && c.length && !w) {
262
- var D = c[0], H = /* @__PURE__ */ Object.create(null), ot = new Set(D);
263
- let ft = !1;
264
- for (let G = 0; G < D.length; G++) {
265
- let N = D[G];
266
- if (H[N = y(t.transformHeader) ? t.transformHeader(N, G) : N]) {
267
- let et, lt = H[N];
268
- for (; et = N + "_" + lt, lt++, ot.has(et); ) ;
269
- ot.add(et), D[G] = et, H[N]++, ft = !0, (z = z === null ? {} : z)[et] = N;
270
- } else H[N] = 1, D[G] = N;
271
- ot.add(N);
272
- }
273
- ft && console.warn("Duplicate headers found and renamed."), w = !0;
274
- }
275
- return { data: c, errors: E, meta: { delimiter: e, linebreak: i, aborted: I, truncated: !!x, cursor: O + (g || 0), renamedHeaders: z } };
276
- }
277
- function q() {
278
- r(F()), c = [], E = [];
279
- }
280
- }, this.abort = function() {
281
- I = !0;
282
- }, this.getCharIndex = function() {
283
- return o;
284
- };
285
- }
286
- function _t(t) {
287
- var e = t.data, i = J[e.workerId], n = !1;
288
- if (e.error) i.userError(e.error, e.file);
289
- else if (e.results && e.results.data) {
290
- var r = { abort: function() {
291
- n = !0, ut(e.workerId, { data: [], errors: [], meta: { aborted: !0 } });
292
- }, pause: dt, resume: dt };
293
- if (y(i.userStep)) {
294
- for (var l = 0; l < e.results.data.length && (i.userStep({ data: e.results.data[l], errors: e.results.errors, meta: e.results.meta }, r), !n); l++) ;
295
- delete e.results;
296
- } else y(i.userChunk) && (i.userChunk(e.results, r, e.file), delete e.results);
297
- }
298
- e.finished && !n && ut(e.workerId, e.results);
299
- }
300
- function ut(t, e) {
301
- var i = J[t];
302
- y(i.userComplete) && i.userComplete(e), i.terminate(), delete J[t];
303
- }
304
- function dt() {
305
- throw new Error("Not implemented.");
306
- }
307
- function at(t) {
308
- if (typeof t != "object" || t === null) return t;
309
- var e, i = Array.isArray(t) ? [] : {};
310
- for (e in t) i[e] = at(t[e]);
311
- return i;
312
- }
313
- function $(t, e) {
314
- return function() {
315
- t.apply(e, arguments);
316
- };
317
- }
318
- function y(t) {
319
- return typeof t == "function";
320
- }
321
- return a.parse = function(t, e) {
322
- var i, n, r, l, p = (e = e || {}).dynamicTyping || !1;
323
- if (y(p) && (e.dynamicTypingFunction = p, p = {}), e.dynamicTyping = p, e.transform = !!y(e.transform) && e.transform, !e.worker || !a.WORKERS_SUPPORTED) return p = null, a.NODE_STREAM_INPUT, typeof t == "string" ? (t = (i = t).charCodeAt(0) !== 65279 ? i : i.slice(1), p = new (e.download ? it : X)(e)) : t.readable === !0 && y(t.read) && y(t.on) ? p = new nt(e) : (b.File && t instanceof File || t instanceof Object) && (p = new rt(e)), p.stream(t);
324
- (p = !!a.WORKERS_SUPPORTED && (r = b.URL || b.webkitURL || null, l = Y.toString(), n = a.BLOB_URL || (a.BLOB_URL = r.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ", "(", l, ")();"], { type: "text/javascript" }))), (n = new b.Worker(n)).onmessage = _t, n.id = mt++, J[n.id] = n)).userStep = e.step, p.userChunk = e.chunk, p.userComplete = e.complete, p.userError = e.error, e.step = y(e.step), e.chunk = y(e.chunk), e.complete = y(e.complete), e.error = y(e.error), delete e.worker, p.postMessage({ input: t, config: e, workerId: p.id });
325
- }, a.unparse = function(t, e) {
326
- var i = !1, n = !0, r = ",", l = `\r
327
- `, p = '"', z = p + p, w = !1, _ = null, T = !1, o = ((() => {
328
- if (typeof e == "object") {
329
- if (typeof e.delimiter != "string" || a.BAD_DELIMITERS.filter(function(g) {
330
- return e.delimiter.indexOf(g) !== -1;
331
- }).length || (r = e.delimiter), typeof e.quotes != "boolean" && typeof e.quotes != "function" && !Array.isArray(e.quotes) || (i = e.quotes), typeof e.skipEmptyLines != "boolean" && typeof e.skipEmptyLines != "string" || (w = e.skipEmptyLines), typeof e.newline == "string" && (l = e.newline), typeof e.quoteChar == "string" && (p = e.quoteChar), typeof e.header == "boolean" && (n = e.header), Array.isArray(e.columns)) {
332
- if (e.columns.length === 0) throw new Error("Option columns is empty");
333
- _ = e.columns;
334
- }
335
- e.escapeChar !== void 0 && (z = e.escapeChar + p), e.escapeFormulae instanceof RegExp ? T = e.escapeFormulae : typeof e.escapeFormulae == "boolean" && e.escapeFormulae && (T = /^[=+\-@\t\r].*$/);
336
- }
337
- })(), new RegExp(V(p), "g"));
338
- if (typeof t == "string" && (t = JSON.parse(t)), Array.isArray(t)) {
339
- if (!t.length || Array.isArray(t[0])) return I(null, t, w);
340
- if (typeof t[0] == "object") return I(_ || Object.keys(t[0]), t, w);
341
- } else if (typeof t == "object") return typeof t.data == "string" && (t.data = JSON.parse(t.data)), Array.isArray(t.data) && (t.fields || (t.fields = t.meta && t.meta.fields || _), t.fields || (t.fields = Array.isArray(t.data[0]) ? t.fields : typeof t.data[0] == "object" ? Object.keys(t.data[0]) : []), Array.isArray(t.data[0]) || typeof t.data[0] == "object" || (t.data = [t.data])), I(t.fields || [], t.data || [], w);
342
- throw new Error("Unable to serialize unrecognized input");
343
- function I(g, s, C) {
344
- var R = "", L = (typeof g == "string" && (g = JSON.parse(g)), typeof s == "string" && (s = JSON.parse(s)), Array.isArray(g) && 0 < g.length), M = !Array.isArray(s[0]);
345
- if (L && n) {
346
- for (var h = 0; h < g.length; h++) 0 < h && (R += r), R += u(g[h], h);
347
- 0 < s.length && (R += l);
348
- }
349
- for (var c = 0; c < s.length; c++) {
350
- var E = (L ? g : s[c]).length, f = !1, O = L ? Object.keys(s[c]).length === 0 : s[c].length === 0;
351
- if (C && !L && (f = C === "greedy" ? s[c].join("").trim() === "" : s[c].length === 1 && s[c][0].length === 0), C === "greedy" && L) {
352
- for (var A = [], v = 0; v < E; v++) {
353
- var k = M ? g[v] : v;
354
- A.push(s[c][k]);
355
- }
356
- f = A.join("").trim() === "";
357
- }
358
- if (!f) {
359
- for (var m = 0; m < E; m++) {
360
- 0 < m && !O && (R += r);
361
- var U = L && M ? g[m] : m;
362
- R += u(s[c][U], m);
363
- }
364
- c < s.length - 1 && (!C || 0 < E && !O) && (R += l);
365
- }
366
- }
367
- return R;
368
- }
369
- function u(g, s) {
370
- var C, R;
371
- return g == null ? "" : g.constructor === Date ? JSON.stringify(g).slice(1, 25) : (R = !1, T && typeof g == "string" && T.test(g) && (g = "'" + g, R = !0), C = g.toString().replace(o, z), (R = R || i === !0 || typeof i == "function" && i(g, s) || Array.isArray(i) && i[s] || ((L, M) => {
372
- for (var h = 0; h < M.length; h++) if (-1 < L.indexOf(M[h])) return !0;
373
- return !1;
374
- })(C, a.BAD_DELIMITERS) || -1 < C.indexOf(r) || C.charAt(0) === " " || C.charAt(C.length - 1) === " ") ? p + C + p : C);
375
- }
376
- }, a.RECORD_SEP = "", a.UNIT_SEP = "", a.BYTE_ORDER_MARK = "\uFEFF", a.BAD_DELIMITERS = ["\r", `
377
- `, '"', a.BYTE_ORDER_MARK], a.WORKERS_SUPPORTED = !P && !!b.Worker, a.NODE_STREAM_INPUT = 1, a.LocalChunkSize = 10485760, a.RemoteChunkSize = 5242880, a.DefaultDelimiter = ",", a.Parser = st, a.ParserHandle = ht, a.NetworkStreamer = it, a.FileStreamer = rt, a.StringStreamer = X, a.ReadableStreamStreamer = nt, b.jQuery && ((Q = b.jQuery).fn.parse = function(t) {
378
- var e = t.config || {}, i = [];
379
- return this.each(function(l) {
380
- if (Q(this).prop("tagName").toUpperCase() !== "INPUT" || Q(this).attr("type").toLowerCase() !== "file" || !b.FileReader || !this.files || this.files.length === 0) return !0;
381
- for (var p = 0; p < this.files.length; p++) i.push({ file: this.files[p], inputElem: this, instanceConfig: Q.extend({}, e) });
382
- }), n(), this;
383
- function n() {
384
- if (i.length === 0) y(t.complete) && t.complete();
385
- else {
386
- var l, p, z, w = i[0];
387
- if (y(t.before)) {
388
- var _ = t.before(w.file, w.inputElem);
389
- if (typeof _ == "object") {
390
- if (_.action === "abort") return l = w.file, p = w.inputElem, z = _.reason, void (y(t.error) && t.error({ name: "AbortError" }, l, p, z));
391
- if (_.action === "skip") return void r();
392
- typeof _.config == "object" && (w.instanceConfig = Q.extend(w.instanceConfig, _.config));
393
- } else if (_ === "skip") return void r();
394
- }
395
- var T = w.instanceConfig.complete;
396
- w.instanceConfig.complete = function(o) {
397
- y(T) && T(o, w.file, w.inputElem), r();
398
- }, a.parse(w.file, w.instanceConfig);
399
- }
400
- }
401
- function r() {
402
- i.splice(0, 1), n();
403
- }
404
- }), B && (b.onmessage = function(t) {
405
- t = t.data, a.WORKER_ID === void 0 && t && (a.WORKER_ID = t.workerId), typeof t.input == "string" ? b.postMessage({ workerId: a.WORKER_ID, results: a.parse(t.input, t.config), finished: !0 }) : (b.File && t.input instanceof File || t.input instanceof Object) && (t = a.parse(t.input, t.config)) && b.postMessage({ workerId: a.WORKER_ID, results: t, finished: !0 });
406
- }), (it.prototype = Object.create(K.prototype)).constructor = it, (rt.prototype = Object.create(K.prototype)).constructor = rt, (X.prototype = Object.create(X.prototype)).constructor = X, (nt.prototype = Object.create(K.prototype)).constructor = nt, a;
407
- }()), pt.exports);
408
- const bt = function(Y, Q) {
409
- for (var b = 0; b < Q.length; b++) {
410
- const P = Q[b];
411
- if (typeof P != "string" && !Array.isArray(P)) {
412
- for (const B in P) if (B !== "default" && !(B in Y)) {
413
- const J = Object.getOwnPropertyDescriptor(P, B);
414
- J && Object.defineProperty(Y, B, J.get ? J : { enumerable: !0, get: () => P[B] });
415
- }
416
- }
417
- }
418
- return Object.freeze(Object.defineProperty(Y, Symbol.toStringTag, { value: "Module" }));
419
- }({ __proto__: null, default: yt(gt) }, [gt]);
420
- export {
421
- bt as p
422
- };