@shopify/cli 4.5.2 → 4.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (363) hide show
  1. package/dist/analytics-3ICKUTK2.js +1 -0
  2. package/dist/analytics-73NVZI4Z.js +1 -0
  3. package/dist/assets/hydrogen/starter/package.json +1 -1
  4. package/dist/bootstrap.js +1 -1
  5. package/dist/{chokidar-VDIVGBZH.js → chokidar-5RWEYTNQ.js} +1 -1
  6. package/dist/{chunk-SH6Q5CLM.js → chunk-25Z36VJG.js} +1 -1
  7. package/dist/{chunk-OC5PD4ID.js → chunk-2AVFG5KT.js} +1 -1
  8. package/dist/chunk-2DMTEIS3.js +2 -0
  9. package/dist/chunk-2GB3EAD3.js +153 -0
  10. package/dist/{chunk-UQWFDL3F.js → chunk-2KD4LHRT.js} +1 -1
  11. package/dist/{chunk-4VJ5VBSR.js → chunk-2NB4P6BB.js} +1 -1
  12. package/dist/{chunk-75DBVSVI.js → chunk-2OYQHHKC.js} +1 -1
  13. package/dist/{chunk-OMXKQY2L.js → chunk-2VJKXWLG.js} +1 -1
  14. package/dist/{chunk-V6QZF5YS.js → chunk-3Q5ESVIY.js} +1 -1
  15. package/dist/{chunk-TPGREOWO.js → chunk-3XCIUG5P.js} +1 -1
  16. package/dist/chunk-445NFHXL.js +3 -0
  17. package/dist/{chunk-WN5VTUWJ.js → chunk-4BPFJDH3.js} +1 -1
  18. package/dist/chunk-4E5RGEJO.js +1 -0
  19. package/dist/{chunk-LGFOE4XL.js → chunk-4IHSAT76.js} +1 -1
  20. package/dist/chunk-4TANJ4JK.js +1 -0
  21. package/dist/{chunk-VCWESQBC.js → chunk-534U3DKZ.js} +2 -2
  22. package/dist/{chunk-KIAMA3L2.js → chunk-56T6YCU2.js} +1 -1
  23. package/dist/chunk-5HJTCBBV.js +317 -0
  24. package/dist/{chunk-523SJVNT.js → chunk-5INBKZRD.js} +1 -1
  25. package/dist/{chunk-DIPTSBQM.js → chunk-5Q4WAGQL.js} +1 -1
  26. package/dist/{chunk-35FS2NTM.js → chunk-5QDM4XIK.js} +1 -1
  27. package/dist/chunk-65CEF3SM.js +8 -0
  28. package/dist/{chunk-NSADN5S2.js → chunk-6HQMZ324.js} +141 -141
  29. package/dist/{chunk-QEVGRNUE.js → chunk-6KAWCN3I.js} +3 -3
  30. package/dist/{chunk-GDHD3TGC.js → chunk-6QDOCBD4.js} +1 -1
  31. package/dist/{chunk-LVLDPYH5.js → chunk-6ZPHB5U2.js} +1 -1
  32. package/dist/{chunk-XS7WK4YK.js → chunk-7AWKXTNS.js} +1 -1
  33. package/dist/chunk-7EE7YOCR.js +16 -0
  34. package/dist/{chunk-L42FYXFW.js → chunk-7L5AIZOP.js} +4 -4
  35. package/dist/chunk-7MD5MIGN.js +103 -0
  36. package/dist/{chunk-N6IFIMC6.js → chunk-7TXWKLPY.js} +1 -1
  37. package/dist/{chunk-ZUWEGJA7.js → chunk-7US4TVO2.js} +1 -1
  38. package/dist/{chunk-7TQ6HVHN.js → chunk-A7IDVXF7.js} +1 -1
  39. package/dist/chunk-AFM3UZQO.js +684 -0
  40. package/dist/{chunk-5GVE4ILZ.js → chunk-AHLNB45E.js} +1 -1
  41. package/dist/{chunk-JOKLZMTP.js → chunk-ARCAYYRW.js} +1 -1
  42. package/dist/{chunk-JADXT2DY.js → chunk-B3U6GDHL.js} +1 -1
  43. package/dist/chunk-BCZMDFI2.js +370 -0
  44. package/dist/chunk-BDDROQGK.js +26 -0
  45. package/dist/{chunk-P6LVSNTT.js → chunk-BKJMVAI7.js} +1 -1
  46. package/dist/chunk-BOAGJ6P5.js +1 -0
  47. package/dist/{chunk-TSEPNC3O.js → chunk-BPDUBZMU.js} +1 -1
  48. package/dist/chunk-BQOKTPUU.js +1 -0
  49. package/dist/{chunk-6VR22Z5R.js → chunk-C7LFLIRT.js} +3 -3
  50. package/dist/chunk-CELVG4AL.js +6 -0
  51. package/dist/{chunk-BQARKSGG.js → chunk-CNI7ZUST.js} +1 -1
  52. package/dist/{chunk-YKNMNGV7.js → chunk-CONJQV7M.js} +1 -1
  53. package/dist/chunk-CTNBSUVU.js +83 -0
  54. package/dist/chunk-CV5ELBVU.js +1 -0
  55. package/dist/{chunk-DI5ZPWNA.js → chunk-DC7TXY4K.js} +1 -1
  56. package/dist/{chunk-ODSMT2ZC.js → chunk-DXUISRMZ.js} +1 -1
  57. package/dist/chunk-EHV7EKB3.js +2 -0
  58. package/dist/{chunk-SZM6ANMN.js → chunk-EQNJ2NQD.js} +2 -2
  59. package/dist/{chunk-NIVGP4LB.js → chunk-EVIO6OWW.js} +1 -1
  60. package/dist/chunk-EZBB2ULE.js +1 -0
  61. package/dist/{chunk-Z6VNPAY7.js → chunk-FBVNXRVB.js} +1 -1
  62. package/dist/chunk-FFSDGRAN.js +1 -0
  63. package/dist/{chunk-YXNKDX56.js → chunk-FG5QXIQH.js} +1 -1
  64. package/dist/{chunk-6ZWMXMNM.js → chunk-FGG6HXIZ.js} +1 -1
  65. package/dist/{chunk-3EJGRQTH.js → chunk-FJCZ4F6J.js} +1 -1
  66. package/dist/{chunk-2ACN7JIZ.js → chunk-FKH5ZF2C.js} +1 -1
  67. package/dist/{chunk-LSCDB36D.js → chunk-GD5IRJBE.js} +1 -1
  68. package/dist/{chunk-ZAN7AZTX.js → chunk-GJEG7VGX.js} +1 -1
  69. package/dist/{chunk-XUAAQI5N.js → chunk-GT6BJ2GK.js} +1 -1
  70. package/dist/chunk-GWNV44NZ.js +18 -0
  71. package/dist/{chunk-ZT4PUH7L.js → chunk-GXO2RRV2.js} +1 -1
  72. package/dist/{chunk-MC466GSO.js → chunk-H5I7BSNG.js} +1 -1
  73. package/dist/{chunk-6AWRW3GS.js → chunk-H5YC3EP6.js} +1 -1
  74. package/dist/chunk-HVMEBH24.js +6 -0
  75. package/dist/{chunk-5N7H4PJJ.js → chunk-HY3INWPI.js} +1 -1
  76. package/dist/{chunk-XXLGM6OZ.js → chunk-I6ST5X56.js} +1 -1
  77. package/dist/{chunk-RFOALCVH.js → chunk-ID6ASBGV.js} +1 -1
  78. package/dist/{chunk-R6A754UW.js → chunk-IDQT2UY7.js} +1 -1
  79. package/dist/chunk-IIOFR25P.js +3 -0
  80. package/dist/{chunk-FSVSM57K.js → chunk-IJEDTDSJ.js} +6 -6
  81. package/dist/{chunk-42RVM4EZ.js → chunk-ILICQWUF.js} +1 -1
  82. package/dist/chunk-IMWEC6NF.js +16 -0
  83. package/dist/{chunk-Q7DSLGTN.js → chunk-ITNFDLZ4.js} +1 -1
  84. package/dist/chunk-IU5U6KKO.js +4 -0
  85. package/dist/{chunk-YNX4DT2O.js → chunk-IXCDFXMB.js} +1 -1
  86. package/dist/chunk-J3D4KQOQ.js +1 -0
  87. package/dist/chunk-JJZNUFPD.js +44 -0
  88. package/dist/chunk-JRTJZAFJ.js +19 -0
  89. package/dist/chunk-JT7YTXJ7.js +1 -0
  90. package/dist/{chunk-EEEKSYWV.js → chunk-JX4HSDDG.js} +15 -15
  91. package/dist/chunk-K4M32VKU.js +5 -0
  92. package/dist/{chunk-XHTICMA7.js → chunk-K5GJNXDK.js} +1 -1
  93. package/dist/{chunk-5CV7GFWZ.js → chunk-KCNOFNS5.js} +1 -1
  94. package/dist/{chunk-3OCR7P3S.js → chunk-KM2R6O7V.js} +1 -1
  95. package/dist/{chunk-CX44CQFL.js → chunk-KNFDN3AP.js} +1 -1
  96. package/dist/{chunk-ZG7BVVT2.js → chunk-LD6ZCTZ3.js} +1 -1
  97. package/dist/{chunk-TM44Z7U7.js → chunk-LDWMX3KZ.js} +1 -1
  98. package/dist/{chunk-6K4DVV37.js → chunk-LEDVV6XK.js} +1 -1
  99. package/dist/chunk-LEEVJH4B.js +1 -0
  100. package/dist/{chunk-EOJNSPIH.js → chunk-LJZIIURR.js} +1 -1
  101. package/dist/{chunk-UHMRDG6J.js → chunk-LURVEPYP.js} +1 -1
  102. package/dist/{chunk-HQE5B2CF.js → chunk-LXOBW4AW.js} +1 -1
  103. package/dist/{chunk-AAK3WGD7.js → chunk-M5YGJYNI.js} +1 -1
  104. package/dist/{chunk-UMB4BWCK.js → chunk-MDQHEW7V.js} +1 -1
  105. package/dist/{chunk-ICRQZAXP.js → chunk-MMP3F6LO.js} +1 -1
  106. package/dist/{chunk-HOAVZLEG.js → chunk-MPYCIVRA.js} +1 -1
  107. package/dist/chunk-MY2H5XPY.js +7 -0
  108. package/dist/{chunk-SG5TRPJ7.js → chunk-N4RYVOXT.js} +1 -1
  109. package/dist/chunk-NB6HHZ36.js +1 -0
  110. package/dist/{chunk-UVIGXZMV.js → chunk-NEK2KNKR.js} +1 -1
  111. package/dist/{chunk-VJQJ5PTQ.js → chunk-NENUUNWB.js} +1 -1
  112. package/dist/{chunk-K4APB7O3.js → chunk-NJONAV7V.js} +1 -1
  113. package/dist/{chunk-7KWBVZPI.js → chunk-NKBSS7YL.js} +1 -1
  114. package/dist/{chunk-HSVZU7MP.js → chunk-NKT5U6IJ.js} +1 -1
  115. package/dist/{chunk-RLB5QHWG.js → chunk-NVQOAHID.js} +1 -1
  116. package/dist/{chunk-P7OSUECN.js → chunk-OHQTOHUX.js} +1 -1
  117. package/dist/chunk-P2P2MAZQ.js +1 -0
  118. package/dist/{chunk-KFUOVO3X.js → chunk-PCTVUTV3.js} +1 -1
  119. package/dist/{chunk-OJZT3NA2.js → chunk-PKR6HS4T.js} +1 -1
  120. package/dist/chunk-PKRDBS7O.js +5 -0
  121. package/dist/{chunk-BVWQZKNK.js → chunk-PMD6S7YG.js} +1 -1
  122. package/dist/{chunk-KPNNGJAW.js → chunk-PUOCHFFI.js} +1 -1
  123. package/dist/{chunk-ANH2V6DJ.js → chunk-Q2DPBMV4.js} +1 -1
  124. package/dist/{chunk-23LZNWB5.js → chunk-Q6XT3YKV.js} +1 -1
  125. package/dist/{chunk-TNUY66EE.js → chunk-QARALFHD.js} +1 -1
  126. package/dist/{chunk-XCGV3IJ5.js → chunk-QEL3F2NY.js} +1 -1
  127. package/dist/{chunk-P2SBE77Z.js → chunk-R2W5B7YI.js} +1 -1
  128. package/dist/chunk-REABQXMP.js +1 -0
  129. package/dist/{chunk-KQTVJMV6.js → chunk-RMF3YNWE.js} +1 -1
  130. package/dist/{chunk-TH6CLNGO.js → chunk-RTPVI7LE.js} +1 -1
  131. package/dist/{chunk-U3MSTPZP.js → chunk-SFZQFEZB.js} +1 -1
  132. package/dist/{chunk-7AY6HLQG.js → chunk-STCLJWHD.js} +1 -1
  133. package/dist/{chunk-7AYYQUJG.js → chunk-STJWHL36.js} +1 -1
  134. package/dist/{chunk-NYG2VQFQ.js → chunk-SZJHOXS6.js} +1 -1
  135. package/dist/{chunk-DZMXYETH.js → chunk-TEPMNVJN.js} +1 -1
  136. package/dist/{chunk-ML6SILEL.js → chunk-TNSMROUR.js} +1 -1
  137. package/dist/chunk-TR4OWSEX.js +77 -0
  138. package/dist/{chunk-AUAUAK6P.js → chunk-U3P5TIIR.js} +1 -1
  139. package/dist/{chunk-CEBDKIVH.js → chunk-UDDJQ34Y.js} +1 -1
  140. package/dist/chunk-UKQ7NE5V.js +1 -0
  141. package/dist/{chunk-KMQE7WFZ.js → chunk-UOQBCBKY.js} +1 -1
  142. package/dist/{chunk-RTINXD5Z.js → chunk-UQWT2PFO.js} +1 -1
  143. package/dist/{chunk-AATUQ2AY.js → chunk-UTK6V2NE.js} +80 -80
  144. package/dist/{chunk-XDV4PRFT.js → chunk-V26QBVCN.js} +1 -1
  145. package/dist/{chunk-T35C6NC7.js → chunk-VVEQ4IHW.js} +1 -1
  146. package/dist/chunk-VXBHTSMX.js +20 -0
  147. package/dist/chunk-W2357IN2.js +2 -0
  148. package/dist/chunk-W6ST525S.js +99 -0
  149. package/dist/chunk-WDCCITSG.js +1 -0
  150. package/dist/{chunk-5VRU3BT5.js → chunk-WE3VLC2S.js} +1 -1
  151. package/dist/chunk-WGMYSPR2.js +10 -0
  152. package/dist/chunk-WHT2RCAD.js +11 -0
  153. package/dist/{chunk-YWQPSMRZ.js → chunk-WOYI6SDK.js} +1 -1
  154. package/dist/{chunk-BUVP2UUA.js → chunk-WXJGZGQS.js} +1 -1
  155. package/dist/{chunk-DELISRUH.js → chunk-X4AZV5A2.js} +1 -1
  156. package/dist/{chunk-7PVNAILK.js → chunk-X5RH4ALT.js} +1 -1
  157. package/dist/{chunk-2TJ6LOCC.js → chunk-XBBP5BWC.js} +1 -1
  158. package/dist/{chunk-4UJNCOE6.js → chunk-XH32NPYG.js} +1 -1
  159. package/dist/{chunk-PEYYIWP6.js → chunk-XZ2KUBFJ.js} +1 -1
  160. package/dist/{chunk-TC3JOEMA.js → chunk-Y2PC2BBJ.js} +60 -60
  161. package/dist/{chunk-I5X3IP6T.js → chunk-Y7A7Z2V3.js} +1 -1
  162. package/dist/{chunk-UW6YEKST.js → chunk-YE7XCF44.js} +1 -1
  163. package/dist/{chunk-LXOBFJZO.js → chunk-YHH3JA36.js} +1 -1
  164. package/dist/chunk-YIFT67BD.js +4 -0
  165. package/dist/{chunk-34SINZ7L.js → chunk-YR7K4NQT.js} +1 -1
  166. package/dist/{chunk-VGSH33QU.js → chunk-Z36JS7OX.js} +1 -1
  167. package/dist/{chunk-WDSBR7KX.js → chunk-ZHPPBTNE.js} +1 -1
  168. package/dist/chunk-ZMSE5SQB.js +1 -0
  169. package/dist/cli/commands/app/app-logs/sources.js +1 -1
  170. package/dist/cli/commands/app/build.js +1 -1
  171. package/dist/cli/commands/app/bulk/cancel.js +1 -1
  172. package/dist/cli/commands/app/bulk/execute.js +1 -1
  173. package/dist/cli/commands/app/bulk/status.js +1 -1
  174. package/dist/cli/commands/app/config/link.js +1 -1
  175. package/dist/cli/commands/app/config/pull.js +1 -1
  176. package/dist/cli/commands/app/config/use.js +1 -1
  177. package/dist/cli/commands/app/config/validate.js +1 -1
  178. package/dist/cli/commands/app/demo/watcher.js +1 -1
  179. package/dist/cli/commands/app/deploy.js +1 -1
  180. package/dist/cli/commands/app/dev/clean.js +1 -1
  181. package/dist/cli/commands/app/dev.js +1 -1
  182. package/dist/cli/commands/app/env/pull.js +1 -1
  183. package/dist/cli/commands/app/env/show.js +1 -1
  184. package/dist/cli/commands/app/execute.js +1 -1
  185. package/dist/cli/commands/app/function/build.js +1 -1
  186. package/dist/cli/commands/app/function/info.js +1 -1
  187. package/dist/cli/commands/app/function/replay.js +1 -1
  188. package/dist/cli/commands/app/function/run.js +1 -1
  189. package/dist/cli/commands/app/function/schema.js +1 -1
  190. package/dist/cli/commands/app/function/typegen.js +1 -1
  191. package/dist/cli/commands/app/generate/extension.js +1 -1
  192. package/dist/cli/commands/app/graphiql.js +1 -1
  193. package/dist/cli/commands/app/import-custom-data-definitions.js +1 -1
  194. package/dist/cli/commands/app/import-extensions.js +1 -1
  195. package/dist/cli/commands/app/info.js +1 -1
  196. package/dist/cli/commands/app/init.js +1 -1
  197. package/dist/cli/commands/app/logs.js +1 -1
  198. package/dist/cli/commands/app/release.js +1 -1
  199. package/dist/cli/commands/app/versions/list.js +1 -1
  200. package/dist/cli/commands/app/webhook/trigger.js +1 -1
  201. package/dist/cli/commands/auth/login.js +1 -1
  202. package/dist/cli/commands/auth/logout.js +1 -1
  203. package/dist/cli/commands/cache/clear.js +1 -1
  204. package/dist/cli/commands/config/autoupgrade/off.js +1 -1
  205. package/dist/cli/commands/config/autoupgrade/on.js +1 -1
  206. package/dist/cli/commands/config/autoupgrade/status.js +1 -1
  207. package/dist/cli/commands/debug/command-flags.js +1 -1
  208. package/dist/cli/commands/doc/fetch.js +1 -1
  209. package/dist/cli/commands/doc/search.js +1 -1
  210. package/dist/cli/commands/docs/generate.js +1 -1
  211. package/dist/cli/commands/doctor-release/doctor-release.js +1 -1
  212. package/dist/cli/commands/doctor-release/theme/index.js +1 -1
  213. package/dist/cli/commands/help.js +1 -1
  214. package/dist/cli/commands/kitchen-sink/async.js +1 -1
  215. package/dist/cli/commands/kitchen-sink/index.js +1 -1
  216. package/dist/cli/commands/kitchen-sink/prompts.js +1 -1
  217. package/dist/cli/commands/kitchen-sink/static.js +1 -1
  218. package/dist/cli/commands/notifications/generate.js +1 -1
  219. package/dist/cli/commands/notifications/list.js +1 -1
  220. package/dist/cli/commands/organization/list.js +1 -1
  221. package/dist/cli/commands/search.js +1 -1
  222. package/dist/cli/commands/theme/check.js +1 -1
  223. package/dist/cli/commands/theme/console.js +1 -1
  224. package/dist/cli/commands/theme/delete.js +1 -1
  225. package/dist/cli/commands/theme/dev.js +1 -1
  226. package/dist/cli/commands/theme/duplicate.js +1 -1
  227. package/dist/cli/commands/theme/info.js +1 -1
  228. package/dist/cli/commands/theme/init.js +1 -1
  229. package/dist/cli/commands/theme/language-server.js +1 -1
  230. package/dist/cli/commands/theme/list.js +1 -1
  231. package/dist/cli/commands/theme/metafields/pull.js +1 -1
  232. package/dist/cli/commands/theme/open.js +1 -1
  233. package/dist/cli/commands/theme/package.js +1 -1
  234. package/dist/cli/commands/theme/preview.js +1 -1
  235. package/dist/cli/commands/theme/profile.js +1 -1
  236. package/dist/cli/commands/theme/publish.js +1 -1
  237. package/dist/cli/commands/theme/pull.js +1 -1
  238. package/dist/cli/commands/theme/push.js +1 -1
  239. package/dist/cli/commands/theme/rename.js +1 -1
  240. package/dist/cli/commands/theme/share.js +1 -1
  241. package/dist/cli/commands/upgrade.js +1 -1
  242. package/dist/cli/commands/version.js +1 -1
  243. package/dist/cli/help.js +1 -1
  244. package/dist/command-registry.js +1 -1
  245. package/dist/conf-store-YW3NWYCN.js +1 -0
  246. package/dist/custom-oclif-loader-4ZAXX5MR.js +1 -0
  247. package/dist/deprecations-VW7UIMZX.js +1 -0
  248. package/dist/dist-I3VCRVOE.js +1 -0
  249. package/dist/dist-MP4AU5F4.js +1 -0
  250. package/dist/environments-5P57CTOG.js +1 -0
  251. package/dist/error-U7DOQOWG.js +1 -0
  252. package/dist/error-handler-AOEXPYI7.js +1 -0
  253. package/dist/{fs-B4UJTUCD.js → fs-K5NT4W2Q.js} +1 -1
  254. package/dist/hooks/app-init.js +1 -1
  255. package/dist/hooks/did-you-mean.js +1 -1
  256. package/dist/hooks/hydrogen-init.js +1 -1
  257. package/dist/hooks/plugin-plugins.js +1 -1
  258. package/dist/hooks/postrun.js +1 -1
  259. package/dist/hooks/prerun.js +1 -1
  260. package/dist/hooks/public-metadata.js +1 -1
  261. package/dist/hooks/sensitive-metadata.js +1 -1
  262. package/dist/hooks/tunnel-provider.js +1 -1
  263. package/dist/hooks/tunnel-start.js +1 -1
  264. package/dist/{http-proxy-node16-X2WAMUT5.js → http-proxy-node16-A6AKKRQH.js} +1 -1
  265. package/dist/index.js +15 -15
  266. package/dist/is-global-CFYYUAIJ.js +1 -0
  267. package/dist/{latest-version-32HXMWJ7.js → latest-version-LDWU5F7A.js} +7 -7
  268. package/dist/lib-2BR2WN7L.js +1 -0
  269. package/dist/lib-JKLF33A7.js +1 -0
  270. package/dist/{lib-NOROGV6N.js → lib-P3APEIHY.js} +1 -1
  271. package/dist/local-BRRQOCGY.js +1 -0
  272. package/dist/local-storage-FVSI2IBZ.js +1 -0
  273. package/dist/{metadata-FREAI3KR.js → metadata-HVSGVFUQ.js} +1 -1
  274. package/dist/{morph-QZGREMO2.js → morph-ABSWZEVT.js} +4 -4
  275. package/dist/node-package-manager-6JURLQKU.js +1 -0
  276. package/dist/notifications-system-BTEFKXCS.js +1 -0
  277. package/dist/out-53ABAVL7.js +1 -0
  278. package/dist/{output-VUR2QZPW.js → output-EXMTVS2V.js} +1 -1
  279. package/dist/system-DUJDILSL.js +1 -0
  280. package/dist/tsconfig.tsbuildinfo +1 -1
  281. package/dist/ui-AX6ZMY6P.js +1 -0
  282. package/dist/upgrade-5TEVQNLY.js +1 -0
  283. package/dist/version-7LKOAVDW.js +1 -0
  284. package/dist/version-PRFBZAWQ.js +1 -0
  285. package/dist/{workerd-KPQTFQD4.js → workerd-MFV7EBVM.js} +1 -1
  286. package/oclif.manifest.json +612 -2
  287. package/package.json +11 -11
  288. package/dist/analytics-M7ZU437S.js +0 -1
  289. package/dist/analytics-ZRM4FEOE.js +0 -1
  290. package/dist/assets/dev-console/extensions/dev-console/assets/apple-touch-icon-BXMqQaSW.png +0 -0
  291. package/dist/assets/dev-console/extensions/dev-console/assets/favicon-16x16-B6uL8SrV.png +0 -0
  292. package/dist/assets/dev-console/extensions/dev-console/assets/favicon-32x32-CGwlpz_y.png +0 -0
  293. package/dist/assets/dev-console/extensions/dev-console/assets/favicon-ByUl89Ab.ico +0 -0
  294. package/dist/assets/dev-console/extensions/dev-console/assets/index-Bm_GpKQW.js +0 -51
  295. package/dist/assets/dev-console/extensions/dev-console/assets/index-DISeE29z.css +0 -1
  296. package/dist/assets/dev-console/extensions/dev-console/assets/site-B9Ae890R.webmanifest +0 -19
  297. package/dist/assets/dev-console/index.html +0 -21
  298. package/dist/chunk-2O22LZKV.js +0 -44
  299. package/dist/chunk-3IFZECSI.js +0 -22
  300. package/dist/chunk-4MLEL3VK.js +0 -283
  301. package/dist/chunk-4P54DKG4.js +0 -3
  302. package/dist/chunk-4ROX2TCK.js +0 -1
  303. package/dist/chunk-5C7HDTHJ.js +0 -1
  304. package/dist/chunk-5VC4XXYH.js +0 -1
  305. package/dist/chunk-7RJPTSL6.js +0 -7
  306. package/dist/chunk-ADKFAPED.js +0 -21
  307. package/dist/chunk-B5MFFERE.js +0 -1
  308. package/dist/chunk-BLSWUNOK.js +0 -16
  309. package/dist/chunk-DN3BB4IO.js +0 -103
  310. package/dist/chunk-EAOT5CK5.js +0 -2
  311. package/dist/chunk-G6BFXMOV.js +0 -2
  312. package/dist/chunk-GMAZ2BQY.js +0 -26
  313. package/dist/chunk-HYF3VJYS.js +0 -3
  314. package/dist/chunk-IIFRDOYG.js +0 -1
  315. package/dist/chunk-KB6H5LQJ.js +0 -4
  316. package/dist/chunk-LKZ7ARYS.js +0 -18
  317. package/dist/chunk-MYQTAM77.js +0 -2
  318. package/dist/chunk-NGCPVRDM.js +0 -1
  319. package/dist/chunk-NJOO5XJV.js +0 -1
  320. package/dist/chunk-NNOSZ447.js +0 -1
  321. package/dist/chunk-NVA2354A.js +0 -5
  322. package/dist/chunk-NWH3TAHK.js +0 -1
  323. package/dist/chunk-OCBGHOH2.js +0 -19
  324. package/dist/chunk-P7U6BWKN.js +0 -1
  325. package/dist/chunk-QFXJNFMI.js +0 -1
  326. package/dist/chunk-R7QYSC6T.js +0 -567
  327. package/dist/chunk-RE652L3G.js +0 -1
  328. package/dist/chunk-SSDEWKDZ.js +0 -6
  329. package/dist/chunk-T6CC5WUU.js +0 -159
  330. package/dist/chunk-TB7HFPBB.js +0 -370
  331. package/dist/chunk-TIU7MMRT.js +0 -836
  332. package/dist/chunk-TTEY5PLR.js +0 -10
  333. package/dist/chunk-U4HLIXRH.js +0 -4
  334. package/dist/chunk-UAYIFFYJ.js +0 -11
  335. package/dist/chunk-UHIP5CFI.js +0 -1
  336. package/dist/chunk-UMFVRG33.js +0 -5
  337. package/dist/chunk-WTRKTFVE.js +0 -2
  338. package/dist/chunk-X3VG75LO.js +0 -1
  339. package/dist/chunk-XSUZPWYV.js +0 -5
  340. package/dist/chunk-Z33MWGCG.js +0 -1
  341. package/dist/chunk-ZIM2G3EP.js +0 -1
  342. package/dist/chunk-ZSYMRT3S.js +0 -4
  343. package/dist/conf-store-HOA62HKK.js +0 -1
  344. package/dist/custom-oclif-loader-3AICQCNU.js +0 -1
  345. package/dist/deprecations-2FTB7JEW.js +0 -1
  346. package/dist/dist-63JMGNUL.js +0 -1
  347. package/dist/dist-6TY6L7OW.js +0 -1
  348. package/dist/environments-XVYTKHRZ.js +0 -1
  349. package/dist/error-SDU6RPQQ.js +0 -1
  350. package/dist/error-handler-4YEBBCUH.js +0 -1
  351. package/dist/is-global-5LFZDDNH.js +0 -1
  352. package/dist/lib-QJDPPAWN.js +0 -1
  353. package/dist/lib-UCG2DNMS.js +0 -1
  354. package/dist/local-VTYGIJVD.js +0 -1
  355. package/dist/local-storage-A6NBLBB2.js +0 -1
  356. package/dist/node-package-manager-N5SUT2WN.js +0 -1
  357. package/dist/notifications-system-P3SUTD25.js +0 -1
  358. package/dist/out-CDCY25QC.js +0 -1
  359. package/dist/system-OXF2P5CT.js +0 -1
  360. package/dist/ui-N2C5FC3G.js +0 -1
  361. package/dist/upgrade-AJ36IT7H.js +0 -1
  362. package/dist/version-DSFP332V.js +0 -1
  363. package/dist/version-HUOO3XOE.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a as kw,b as d4,c as m4}from"./chunk-F3TMLDLC.js";import{a as Iw}from"./chunk-IWOTLFOY.js";import{Aa as xw,i as ww,za as h4}from"./chunk-TIU7MMRT.js";import{b as p4}from"./chunk-NJOO5XJV.js";import{p as Sw}from"./chunk-T6CC5WUU.js";import{a as ae,b as Ae,c as T,d as Xm,e as ia,f as Zm,g as y}from"./chunk-VKWPEFWQ.js";var tg=T(eg=>{"use strict";y();Object.defineProperty(eg,"__esModule",{value:!0});eg.deepGet=g4;function g4(t,e){return e.reduce((r,i)=>r?.[i],t)}});var Aw=T(rs=>{"use strict";y();Object.defineProperty(rs,"__esModule",{value:!0});rs.first=y4;rs.last=_4;rs.findLast=v4;rs.findLastIndex=rg;rs.findLastAndIndex=b4;function y4(t){return t[0]}function _4(t,e=0){return t[t.length-1+e]}function v4(t,e){return t[rg(t,e)]}function rg(t,e){for(let r=t.length-1;r>=0;r--)if(e(t[r]))return r;return-1}function b4(t,e){let r=rg(t,e);return[t[r],r]}});var Ew=T(($ie,Tw)=>{"use strict";y();var S4=kw();Tw.exports=function(e){return e!=null&&typeof e=="object"&&S4(e)===!1}});var ig=T((Gie,Ow)=>{"use strict";y();var w4=kw(),x4=Ew(),Hie=Array.prototype.slice;Ow.exports=na;function na(t,e){if(!(this instanceof na))return typeof e=="number"?new na(t).fromIndex(e):new na(t,e);this.str=t||"",this.lineToIndex=k4(this.str),e=e||{},this.origin=typeof e.origin>"u"?1:e.origin}na.prototype.fromIndex=function(t){if(t<0||t>=this.str.length||isNaN(t))return null;var e=I4(t,this.lineToIndex);return{line:e+this.origin,col:t-this.lineToIndex[e]+this.origin}};na.prototype.toIndex=function(t,e){if(typeof e>"u")return w4(t)&&t.length>=2?this.toIndex(t[0],t[1]):x4(t)&&"line"in t&&("col"in t||"column"in t)?this.toIndex(t.line,"col"in t?t.col:t.column):-1;if(isNaN(t)||isNaN(e))return-1;if(t-=this.origin,e-=this.origin,t>=0&&e>=0&&t<this.lineToIndex.length){var r=this.lineToIndex[t],i=t===this.lineToIndex.length-1?this.str.length:this.lineToIndex[t+1];if(e<i-r)return r+e}return-1};function k4(t){for(var e=t.split(`
1
+ import{a as kw,b as h4,c as m4}from"./chunk-F3TMLDLC.js";import{a as Iw}from"./chunk-IWOTLFOY.js";import{a as d4}from"./chunk-FFSDGRAN.js";import{wa as p4,xa as xw}from"./chunk-AFM3UZQO.js";import{g as ww}from"./chunk-2GB3EAD3.js";import{q as Sw}from"./chunk-TR4OWSEX.js";import{a as ae,b as Ae,c as T,d as Xm,e as ia,f as Zm,g as y}from"./chunk-VKWPEFWQ.js";var tg=T(eg=>{"use strict";y();Object.defineProperty(eg,"__esModule",{value:!0});eg.deepGet=g4;function g4(t,e){return e.reduce((r,i)=>r?.[i],t)}});var Aw=T(rs=>{"use strict";y();Object.defineProperty(rs,"__esModule",{value:!0});rs.first=y4;rs.last=_4;rs.findLast=v4;rs.findLastIndex=rg;rs.findLastAndIndex=b4;function y4(t){return t[0]}function _4(t,e=0){return t[t.length-1+e]}function v4(t,e){return t[rg(t,e)]}function rg(t,e){for(let r=t.length-1;r>=0;r--)if(e(t[r]))return r;return-1}function b4(t,e){let r=rg(t,e);return[t[r],r]}});var Ew=T(($ie,Tw)=>{"use strict";y();var S4=kw();Tw.exports=function(e){return e!=null&&typeof e=="object"&&S4(e)===!1}});var ig=T((Gie,Ow)=>{"use strict";y();var w4=kw(),x4=Ew(),Hie=Array.prototype.slice;Ow.exports=na;function na(t,e){if(!(this instanceof na))return typeof e=="number"?new na(t).fromIndex(e):new na(t,e);this.str=t||"",this.lineToIndex=k4(this.str),e=e||{},this.origin=typeof e.origin>"u"?1:e.origin}na.prototype.fromIndex=function(t){if(t<0||t>=this.str.length||isNaN(t))return null;var e=I4(t,this.lineToIndex);return{line:e+this.origin,col:t-this.lineToIndex[e]+this.origin}};na.prototype.toIndex=function(t,e){if(typeof e>"u")return w4(t)&&t.length>=2?this.toIndex(t[0],t[1]):x4(t)&&"line"in t&&("col"in t||"column"in t)?this.toIndex(t.line,"col"in t?t.col:t.column):-1;if(isNaN(t)||isNaN(e))return-1;if(t-=this.origin,e-=this.origin,t>=0&&e>=0&&t<this.lineToIndex.length){var r=this.lineToIndex[t],i=t===this.lineToIndex.length-1?this.str.length:this.lineToIndex[t+1];if(e<i-r)return r+e}return-1};function k4(t){for(var e=t.split(`
2
2
  `),r=new Array(e.length),i=0,n=0,s=e.length;n<s;n++)r[n]=i,i+=e[n].length+1;return r}function I4(t,e){if(t>=e[e.length-1])return e.length-1;for(var r=0,i=e.length-2,n;r<i;)if(n=r+(i-r>>1),t<e[n])i=n-1;else if(t>=e[n+1])r=n+1;else{r=n;break}return r}});var Lw=T(sa=>{"use strict";y();var A4=sa&&sa.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(sa,"__esModule",{value:!0});sa.getPosition=T4;sa.getOffset=E4;var Nw=A4(ig());function T4(t,e){let r=(0,Nw.default)(t,{origin:0}).fromIndex(Math.min(e,t.length-1));return{index:e,line:r?r.line:-1,character:r?r.col:-1}}function E4(t,e,r){return(0,Nw.default)(t,{origin:1}).toIndex(e,r)}});var pl=T(fl=>{"use strict";y();Object.defineProperty(fl,"__esModule",{value:!0});fl.isError=N4;fl.asError=L4;var O4={1:"Invalid symbol found in the input.",2:"Invalid number format detected.",3:"Property name expected but not found.",4:"A value was expected but not found.",5:"Colon `:` expected after the property name.",6:"Comma `,` expected between elements and properties.",7:"Closing brace `}` expected.",8:"Closing bracket `]` expected.",9:"End of file expected.",10:"Invalid comment token found.",11:"Unexpected end of comment.",12:"Unexpected end of string.",13:"Unexpected end of number.",14:"Invalid Unicode escape sequence.",15:"Invalid escape character found.",16:"Invalid character found in the input."};function N4(t){return t instanceof Error}function L4(t){return t instanceof Error?t:typeof t=="string"?new Error(t):t&&typeof t=="object"&&"error"in t?new Error(P4(t)):t&&typeof t.toString=="function"?new Error(t.toString()):new Error("An unknown error occurred")}function P4(t){return O4[t.error]||"Unknown parse error."}});var sg=T(ng=>{"use strict";y();Object.defineProperty(ng,"__esModule",{value:!0});ng.assertNever=q4;function q4(t){throw new Error(`We should never reach this code, you are missing a case for ${t}`)}});var og=T(hl=>{"use strict";y();Object.defineProperty(hl,"__esModule",{value:!0});hl.memo=C4;hl.memoize=R4;var ag=Symbol("Unset");function C4(t){let e=ag,r=(...i)=>(e===ag&&(e=t(...i)),e);return r.clearCache=()=>{e=ag},r}function R4(t,e){let r={},i=(...n)=>{let s=e(...n);return r[s]||(r[s]=t(...n)),r[s]};return i.force=(...n)=>(i.invalidate(...n),i(...n)),i.invalidate=(...n)=>{let s=e(...n);delete r[s]},i.clearCache=()=>{r={}},i}});var cg=T(ug=>{"use strict";y();Object.defineProperty(ug,"__esModule",{value:!0});ug.indexBy=M4;function M4(t,e){let r={};for(let i of e)r[t(i)]=i;return r}});function is(t,e=!1){let r=t.length,i=0,n="",s=0,a=16,o=0,u=0,l=0,f=0,h=0;function p(w,_){let A=0,E=0;for(;A<w||!_;){let O=t.charCodeAt(i);if(O>=48&&O<=57)E=E*16+O-48;else if(O>=65&&O<=70)E=E*16+O-65+10;else if(O>=97&&O<=102)E=E*16+O-97+10;else break;i++,A++}return A<w&&(E=-1),E}function m(w){i=w,n="",s=0,a=16,h=0}function v(){let w=i;if(t.charCodeAt(i)===48)i++;else for(i++;i<t.length&&aa(t.charCodeAt(i));)i++;if(i<t.length&&t.charCodeAt(i)===46)if(i++,i<t.length&&aa(t.charCodeAt(i)))for(i++;i<t.length&&aa(t.charCodeAt(i));)i++;else return h=3,t.substring(w,i);let _=i;if(i<t.length&&(t.charCodeAt(i)===69||t.charCodeAt(i)===101))if(i++,(i<t.length&&t.charCodeAt(i)===43||t.charCodeAt(i)===45)&&i++,i<t.length&&aa(t.charCodeAt(i))){for(i++;i<t.length&&aa(t.charCodeAt(i));)i++;_=i}else h=3;return t.substring(w,_)}function S(){let w="",_=i;for(;;){if(i>=r){w+=t.substring(_,i),h=2;break}let A=t.charCodeAt(i);if(A===34){w+=t.substring(_,i),i++;break}if(A===92){if(w+=t.substring(_,i),i++,i>=r){h=2;break}switch(t.charCodeAt(i++)){case 34:w+='"';break;case 92:w+="\\";break;case 47:w+="/";break;case 98:w+="\b";break;case 102:w+="\f";break;case 110:w+=`
3
3
  `;break;case 114:w+="\r";break;case 116:w+=" ";break;case 117:let O=p(4,!0);O>=0?w+=String.fromCharCode(O):h=4;break;default:h=5}_=i;continue}if(A>=0&&A<=31)if(qo(A)){w+=t.substring(_,i),h=2;break}else h=6;i++}return w}function b(){if(n="",h=0,s=i,u=o,f=l,i>=r)return s=r,a=17;let w=t.charCodeAt(i);if(lg(w)){do i++,n+=String.fromCharCode(w),w=t.charCodeAt(i);while(lg(w));return a=15}if(qo(w))return i++,n+=String.fromCharCode(w),w===13&&t.charCodeAt(i)===10&&(i++,n+=`
4
4
  `),o++,l=i,a=14;switch(w){case 123:return i++,a=1;case 125:return i++,a=2;case 91:return i++,a=3;case 93:return i++,a=4;case 58:return i++,a=6;case 44:return i++,a=5;case 34:return i++,n=S(),a=10;case 47:let _=i-1;if(t.charCodeAt(i+1)===47){for(i+=2;i<r&&!qo(t.charCodeAt(i));)i++;return n=t.substring(_,i),a=12}if(t.charCodeAt(i+1)===42){i+=2;let A=r-1,E=!1;for(;i<A;){let O=t.charCodeAt(i);if(O===42&&t.charCodeAt(i+1)===47){i+=2,E=!0;break}i++,qo(O)&&(O===13&&t.charCodeAt(i)===10&&i++,o++,l=i)}return E||(i++,h=1),n=t.substring(_,i),a=13}return n+=String.fromCharCode(w),i++,a=16;case 45:if(n+=String.fromCharCode(w),i++,i===r||!aa(t.charCodeAt(i)))return a=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return n+=v(),a=11;default:for(;i<r&&g(w);)i++,w=t.charCodeAt(i);if(s!==i){switch(n=t.substring(s,i),n){case"true":return a=8;case"false":return a=9;case"null":return a=7}return a=16}return n+=String.fromCharCode(w),i++,a=16}}function g(w){if(lg(w)||qo(w))return!1;switch(w){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function k(){let w;do w=b();while(w>=12&&w<=15);return w}return{setPosition:m,getPosition:()=>i,scan:e?k:b,getToken:()=>a,getTokenValue:()=>n,getTokenOffset:()=>s,getTokenLength:()=>i-s,getTokenStartLine:()=>u,getTokenStartCharacter:()=>s-f,getTokenError:()=>h}}function lg(t){return t===32||t===9}function qo(t){return t===10||t===13}function aa(t){return t>=48&&t<=57}var Pw,dl=Ae(()=>{"use strict";y();(function(t){t[t.lineFeed=10]="lineFeed",t[t.carriageReturn=13]="carriageReturn",t[t.space=32]="space",t[t._0=48]="_0",t[t._1=49]="_1",t[t._2=50]="_2",t[t._3=51]="_3",t[t._4=52]="_4",t[t._5=53]="_5",t[t._6=54]="_6",t[t._7=55]="_7",t[t._8=56]="_8",t[t._9=57]="_9",t[t.a=97]="a",t[t.b=98]="b",t[t.c=99]="c",t[t.d=100]="d",t[t.e=101]="e",t[t.f=102]="f",t[t.g=103]="g",t[t.h=104]="h",t[t.i=105]="i",t[t.j=106]="j",t[t.k=107]="k",t[t.l=108]="l",t[t.m=109]="m",t[t.n=110]="n",t[t.o=111]="o",t[t.p=112]="p",t[t.q=113]="q",t[t.r=114]="r",t[t.s=115]="s",t[t.t=116]="t",t[t.u=117]="u",t[t.v=118]="v",t[t.w=119]="w",t[t.x=120]="x",t[t.y=121]="y",t[t.z=122]="z",t[t.A=65]="A",t[t.B=66]="B",t[t.C=67]="C",t[t.D=68]="D",t[t.E=69]="E",t[t.F=70]="F",t[t.G=71]="G",t[t.H=72]="H",t[t.I=73]="I",t[t.J=74]="J",t[t.K=75]="K",t[t.L=76]="L",t[t.M=77]="M",t[t.N=78]="N",t[t.O=79]="O",t[t.P=80]="P",t[t.Q=81]="Q",t[t.R=82]="R",t[t.S=83]="S",t[t.T=84]="T",t[t.U=85]="U",t[t.V=86]="V",t[t.W=87]="W",t[t.X=88]="X",t[t.Y=89]="Y",t[t.Z=90]="Z",t[t.asterisk=42]="asterisk",t[t.backslash=92]="backslash",t[t.closeBrace=125]="closeBrace",t[t.closeBracket=93]="closeBracket",t[t.colon=58]="colon",t[t.comma=44]="comma",t[t.dot=46]="dot",t[t.doubleQuote=34]="doubleQuote",t[t.minus=45]="minus",t[t.openBrace=123]="openBrace",t[t.openBracket=91]="openBracket",t[t.plus=43]="plus",t[t.slash=47]="slash",t[t.formFeed=12]="formFeed",t[t.tab=9]="tab"})(Pw||(Pw={}))});var Or,oa,fg,qw,Cw=Ae(()=>{y();Or=new Array(20).fill(0).map((t,e)=>" ".repeat(e)),oa=200,fg={" ":{"\n":new Array(oa).fill(0).map((t,e)=>`
@@ -1175,7 +1175,7 @@ You tried to parse Sass with the standard CSS parser; try again with the postcss
1175
1175
  You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),n}return i.root}gA.exports=yf;yf.default=yf;I7.registerParse(yf)});var i_=T((aae,yA)=>{"use strict";y();var cu=class{constructor(e,r={}){if(this.type="warning",this.text=e,r.node&&r.node.source){let i=r.node.rangeBy(r);this.line=i.start.line,this.column=i.start.column,this.endLine=i.end.line,this.endColumn=i.end.column}for(let i in r)this[i]=r[i]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};yA.exports=cu;cu.default=cu});var vf=T((uae,_A)=>{"use strict";y();var E7=i_(),lu=class{get content(){return this.css}constructor(e,r,i){this.processor=e,this.messages=[],this.root=r,this.opts=i,this.css="",this.map=void 0}toString(){return this.css}warn(e,r={}){r.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(r.plugin=this.lastPlugin.postcssPlugin);let i=new E7(e,r);return this.messages.push(i),i}warnings(){return this.messages.filter(e=>e.type==="warning")}};_A.exports=lu;lu.default=lu});var n_=T((lae,bA)=>{"use strict";y();var vA={};bA.exports=function(e){vA[e]||(vA[e]=!0,typeof console<"u"&&console.warn&&console.warn(e))}});var o_=T((pae,kA)=>{"use strict";y();var O7=Sn(),N7=af(),L7=e_(),P7=_f(),SA=vf(),q7=Ta(),C7=Ko(),{isClean:Ti,my:R7}=nf(),M7=n_(),D7={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},F7={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},j7={Once:!0,postcssPlugin:!0,prepare:!0},Oa=0;function fu(t){return typeof t=="object"&&typeof t.then=="function"}function xA(t){let e=!1,r=D7[t.type];return t.type==="decl"?e=t.prop.toLowerCase():t.type==="atrule"&&(e=t.name.toLowerCase()),e&&t.append?[r,r+"-"+e,Oa,r+"Exit",r+"Exit-"+e]:e?[r,r+"-"+e,r+"Exit",r+"Exit-"+e]:t.append?[r,Oa,r+"Exit"]:[r,r+"Exit"]}function wA(t){let e;return t.type==="document"?e=["Document",Oa,"DocumentExit"]:t.type==="root"?e=["Root",Oa,"RootExit"]:e=xA(t),{eventIndex:0,events:e,iterator:0,node:t,visitorIndex:0,visitors:[]}}function s_(t){return t[Ti]=!1,t.nodes&&t.nodes.forEach(e=>s_(e)),t}var a_={},xn=class t{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(e,r,i){this.stringified=!1,this.processed=!1;let n;if(typeof r=="object"&&r!==null&&(r.type==="root"||r.type==="document"))n=s_(r);else if(r instanceof t||r instanceof SA)n=s_(r.root),r.map&&(typeof i.map>"u"&&(i.map={}),i.map.inline||(i.map.inline=!1),i.map.prev=r.map);else{let s=P7;i.syntax&&(s=i.syntax.parse),i.parser&&(s=i.parser),s.parse&&(s=s.parse);try{n=s(r,i)}catch(a){this.processed=!0,this.error=a}n&&!n[R7]&&O7.rebuild(n)}this.result=new SA(e,n,i),this.helpers={...a_,postcss:a_,result:this.result},this.plugins=this.processor.plugins.map(s=>typeof s=="object"&&s.prepare?{...s,...s.prepare(this.result)}:s)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,r){let i=this.result.lastPlugin;try{if(r&&r.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin)e.plugin=i.postcssPlugin,e.setMessage();else if(i.postcssVersion&&process.env.NODE_ENV!=="production"){let n=i.postcssPlugin,s=i.postcssVersion,a=this.result.processor.version,o=s.split("."),u=a.split(".");(o[0]!==u[0]||parseInt(o[1])>parseInt(u[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+a+", but "+n+" uses "+s+". Perhaps this is the source of the error below.")}}catch(n){console&&console.error&&console.error(n)}return e}prepareVisitors(){this.listeners={};let e=(r,i,n)=>{this.listeners[i]||(this.listeners[i]=[]),this.listeners[i].push([r,n])};for(let r of this.plugins)if(typeof r=="object")for(let i in r){if(!F7[i]&&/^[A-Z]/.test(i))throw new Error(`Unknown event ${i} in ${r.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!j7[i])if(typeof r[i]=="object")for(let n in r[i])n==="*"?e(r,i,r[i][n]):e(r,i+"-"+n.toLowerCase(),r[i][n]);else typeof r[i]=="function"&&e(r,i,r[i])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let r=this.plugins[e],i=this.runOnRoot(r);if(fu(i))try{await i}catch(n){throw this.handleError(n)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Ti];){e[Ti]=!0;let r=[wA(e)];for(;r.length>0;){let i=this.visitTick(r);if(fu(i))try{await i}catch(n){let s=r[r.length-1].node;throw this.handleError(n,s)}}}if(this.listeners.OnceExit)for(let[r,i]of this.listeners.OnceExit){this.result.lastPlugin=r;try{if(e.type==="document"){let n=e.nodes.map(s=>i(s,this.helpers));await Promise.all(n)}else await i(e,this.helpers)}catch(n){throw this.handleError(n)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let r=this.result.root.nodes.map(i=>e.Once(i,this.helpers));return fu(r[0])?Promise.all(r):r}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(r){throw this.handleError(r)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,r=C7;e.syntax&&(r=e.syntax.stringify),e.stringifier&&(r=e.stringifier),r.stringify&&(r=r.stringify);let n=new L7(r,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){let r=this.runOnRoot(e);if(fu(r))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Ti];)e[Ti]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let r of e.nodes)this.visitSync(this.listeners.OnceExit,r);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,r){return process.env.NODE_ENV!=="production"&&("from"in this.opts||M7("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,r)}toString(){return this.css}visitSync(e,r){for(let[i,n]of e){this.result.lastPlugin=i;let s;try{s=n(r,this.helpers)}catch(a){throw this.handleError(a,r.proxyOf)}if(r.type!=="root"&&r.type!=="document"&&!r.parent)return!0;if(fu(s))throw this.getAsyncError()}}visitTick(e){let r=e[e.length-1],{node:i,visitors:n}=r;if(i.type!=="root"&&i.type!=="document"&&!i.parent){e.pop();return}if(n.length>0&&r.visitorIndex<n.length){let[a,o]=n[r.visitorIndex];r.visitorIndex+=1,r.visitorIndex===n.length&&(r.visitors=[],r.visitorIndex=0),this.result.lastPlugin=a;try{return o(i.toProxy(),this.helpers)}catch(u){throw this.handleError(u,i)}}if(r.iterator!==0){let a=r.iterator,o;for(;o=i.nodes[i.indexes[a]];)if(i.indexes[a]+=1,!o[Ti]){o[Ti]=!0,e.push(wA(o));return}r.iterator=0,delete i.indexes[a]}let s=r.events;for(;r.eventIndex<s.length;){let a=s[r.eventIndex];if(r.eventIndex+=1,a===Oa){i.nodes&&i.nodes.length&&(i[Ti]=!0,r.iterator=i.getIterator());return}else if(this.listeners[a]){r.visitors=this.listeners[a];return}}e.pop()}walkSync(e){e[Ti]=!0;let r=xA(e);for(let i of r)if(i===Oa)e.nodes&&e.each(n=>{n[Ti]||this.walkSync(n)});else{let n=this.listeners[i];if(n&&this.visitSync(n,e.toProxy()))return}}warnings(){return this.sync().warnings()}};xn.registerPostcss=t=>{a_=t};kA.exports=xn;xn.default=xn;q7.registerLazyResult(xn);N7.registerLazyResult(xn)});var AA=T((dae,IA)=>{"use strict";y();var B7=e_(),V7=_f(),$7=vf(),U7=Ko(),H7=n_(),pu=class{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,r=V7;try{e=r(this._css,this._opts)}catch(i){this.error=i}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(e,r,i){r=r.toString(),this.stringified=!1,this._processor=e,this._css=r,this._opts=i,this._map=void 0;let n=U7;this.result=new $7(this._processor,void 0,this._opts),this.result.css=r;let s=this;Object.defineProperty(this.result,"root",{get(){return s.root}});let a=new B7(n,void 0,this._opts,r);if(a.isMap()){let[o,u]=a.generate();o&&(this.result.css=o),u&&(this.result.map=u)}else a.clearAnnotation(),this.result.css=a.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,r){return process.env.NODE_ENV!=="production"&&("from"in this._opts||H7("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,r)}toString(){return this._css}warnings(){return[]}};IA.exports=pu;pu.default=pu});var EA=T((gae,TA)=>{"use strict";y();var G7=af(),W7=o_(),z7=AA(),J7=Ta(),Ss=class{constructor(e=[]){this.version="8.5.10",this.plugins=this.normalize(e)}normalize(e){let r=[];for(let i of e)if(i.postcss===!0?i=i():i.postcss&&(i=i.postcss),typeof i=="object"&&Array.isArray(i.plugins))r=r.concat(i.plugins);else if(typeof i=="object"&&i.postcssPlugin)r.push(i);else if(typeof i=="function")r.push(i);else if(typeof i=="object"&&(i.parse||i.stringify)){if(process.env.NODE_ENV!=="production")throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}else throw new Error(i+" is not a PostCSS plugin");return r}process(e,r={}){return!this.plugins.length&&!r.parser&&!r.stringifier&&!r.syntax?new z7(this,e,r):new W7(this,e,r)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}};TA.exports=Ss;Ss.default=Ss;J7.registerProcessor(Ss);G7.registerProcessor(Ss)});var MA=T((_ae,RA)=>{"use strict";y();var OA=sf(),NA=ba(),K7=Sn(),Q7=rf(),LA=tu(),PA=af(),Y7=aA(),X7=au(),Z7=o_(),e9=Xy(),t9=Xo(),r9=_f(),u_=EA(),i9=vf(),qA=Ta(),CA=df(),n9=Ko(),s9=i_();function Pe(...t){return t.length===1&&Array.isArray(t[0])&&(t=t[0]),new u_(t)}Pe.plugin=function(e,r){let i=!1;function n(...a){console&&console.warn&&!i&&(i=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
1176
1176
  https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357:
1177
1177
  https://www.w3ctech.com/topic/2226`));let o=r(...a);return o.postcssPlugin=e,o.postcssVersion=new u_().version,o}let s;return Object.defineProperty(n,"postcss",{get(){return s||(s=n()),s}}),n.process=function(a,o,u){return Pe([n(u)]).process(a,o)},n};Pe.stringify=n9;Pe.parse=r9;Pe.fromJSON=Y7;Pe.list=e9;Pe.comment=t=>new NA(t);Pe.atRule=t=>new OA(t);Pe.decl=t=>new LA(t);Pe.rule=t=>new CA(t);Pe.root=t=>new qA(t);Pe.document=t=>new PA(t);Pe.CssSyntaxError=Q7;Pe.Declaration=LA;Pe.Container=K7;Pe.Processor=u_;Pe.Document=PA;Pe.Comment=NA;Pe.Warning=s9;Pe.AtRule=OA;Pe.Result=i9;Pe.Input=X7;Pe.Rule=CA;Pe.Root=qA;Pe.Node=t9;Z7.registerPostcss(Pe);RA.exports=Pe;Pe.default=Pe});var FA=T((bae,DA)=>{y();var a9=ba(),o9=r_(),u9=tf(),c_=class extends o9{checkMissedSemicolon(){}comment(e){let r=new a9;this.init(r,e[2]);let i=this.input.fromOffset(e[3])||this.input.fromOffset(this.input.css.length-1);r.source.end={column:i.col,line:i.line,offset:e[3]+1};let n=e[1].slice(2);if(n.slice(-2)==="*/"&&(n=n.slice(0,-2)),/^\s*$/.test(n))r.text="",r.raws.left=n,r.raws.right="";else{let s=n.match(/^(\s*)([^]*\S)(\s*)$/);r.text=s[2],r.raws.left=s[1],r.raws.right=s[3]}}createTokenizer(){this.tokenizer=u9(this.input,{ignoreErrors:!0})}decl(e){e.length>1&&e.some(r=>r[0]==="word")&&super.decl(e)}doubleColon(){}endFile(){for(this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.current.parent;)this.current=this.current.parent,this.current.raws.after="";this.root.source.end=this.getPosition(this.tokenizer.position())}precheckMissedSemicolon(e){let r=this.colon(e);if(r===!1)return;let i,n;for(i=r-1;i>=0&&e[i][0]!=="word";i--);if(i===0||i<0)return;for(n=i-1;n>=0;n--)if(e[n][0]!=="space"){n+=1;break}let s=e.slice(i),a=e.slice(n,i);e.splice(n,e.length-n),this.spaces=a.map(o=>o[1]).join(""),this.decl(s)}unclosedBracket(){}unexpectedClose(){this.current.raws.after+="}"}unknownWord(e){this.spaces+=e.map(r=>r[1]).join("")}unnamedAtrule(e){e.name=""}};DA.exports=c_});var BA=T((wae,jA)=>{y();var{Input:c9}=MA(),l9=FA();jA.exports=function(e,r){let i=new c9(e,r),n=new l9(i);return n.parse(),n.root}});var l_=T((bf,VA)=>{"use strict";y();bf.__esModule=!0;bf.default=h9;function f9(t){for(var e=t.toLowerCase(),r="",i=!1,n=0;n<6&&e[n]!==void 0;n++){var s=e.charCodeAt(n),a=s>=97&&s<=102||s>=48&&s<=57;if(i=s===32,!a)break;r+=e[n]}if(r.length!==0){var o=parseInt(r,16),u=o>=55296&&o<=57343;return u||o===0||o>1114111?["\uFFFD",r.length+(i?1:0)]:[String.fromCodePoint(o),r.length+(i?1:0)]}}var p9=/\\/;function h9(t){var e=p9.test(t);if(!e)return t;for(var r="",i=0;i<t.length;i++){if(t[i]==="\\"){var n=f9(t.slice(i+1,i+7));if(n!==void 0){r+=n[0],i+=n[1];continue}if(t[i+1]==="\\"){r+="\\",i++;continue}t.length===i+1&&(r+=t[i]);continue}r+=t[i]}return r}VA.exports=bf.default});var UA=T((Sf,$A)=>{"use strict";y();Sf.__esModule=!0;Sf.default=d9;function d9(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];for(;r.length>0;){var n=r.shift();if(!t[n])return;t=t[n]}return t}$A.exports=Sf.default});var GA=T((wf,HA)=>{"use strict";y();wf.__esModule=!0;wf.default=m9;function m9(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];for(;r.length>0;){var n=r.shift();t[n]||(t[n]={}),t=t[n]}}HA.exports=wf.default});var zA=T((xf,WA)=>{"use strict";y();xf.__esModule=!0;xf.default=g9;function g9(t){for(var e="",r=t.indexOf("/*"),i=0;r>=0;){e=e+t.slice(i,r);var n=t.indexOf("*/",r+2);if(n<0)return e;i=n+2,r=t.indexOf("/*",i)}return e=e+t.slice(i),e}WA.exports=xf.default});var hu=T(Ei=>{"use strict";y();Ei.__esModule=!0;Ei.unesc=Ei.stripComments=Ei.getProp=Ei.ensureObject=void 0;var y9=kf(l_());Ei.unesc=y9.default;var _9=kf(UA());Ei.getProp=_9.default;var v9=kf(GA());Ei.ensureObject=v9.default;var b9=kf(zA());Ei.stripComments=b9.default;function kf(t){return t&&t.__esModule?t:{default:t}}});var en=T((du,QA)=>{"use strict";y();du.__esModule=!0;du.default=void 0;var JA=hu();function KA(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function S9(t,e,r){return e&&KA(t.prototype,e),r&&KA(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var w9=function t(e,r){if(typeof e!="object"||e===null)return e;var i=new e.constructor;for(var n in e)if(e.hasOwnProperty(n)){var s=e[n],a=typeof s;n==="parent"&&a==="object"?r&&(i[n]=r):s instanceof Array?i[n]=s.map(function(o){return t(o,i)}):i[n]=t(s,i)}return i},x9=(function(){function t(r){r===void 0&&(r={}),Object.assign(this,r),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var e=t.prototype;return e.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},e.replaceWith=function(){if(this.parent){for(var i in arguments)this.parent.insertBefore(this,arguments[i]);this.remove()}return this},e.next=function(){return this.parent.at(this.parent.index(this)+1)},e.prev=function(){return this.parent.at(this.parent.index(this)-1)},e.clone=function(i){i===void 0&&(i={});var n=w9(this);for(var s in i)n[s]=i[s];return n},e.appendToPropertyAndEscape=function(i,n,s){this.raws||(this.raws={});var a=this[i],o=this.raws[i];this[i]=a+n,o||s!==n?this.raws[i]=(o||a)+s:delete this.raws[i]},e.setPropertyAndEscape=function(i,n,s){this.raws||(this.raws={}),this[i]=n,this.raws[i]=s},e.setPropertyWithoutEscape=function(i,n){this[i]=n,this.raws&&delete this.raws[i]},e.isAtPosition=function(i,n){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>i||this.source.end.line<i||this.source.start.line===i&&this.source.start.column>n||this.source.end.line===i&&this.source.end.column<n)},e.stringifyProperty=function(i){return this.raws&&this.raws[i]||this[i]},e.valueToString=function(){return String(this.stringifyProperty("value"))},e.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},S9(t,[{key:"rawSpaceBefore",get:function(){var i=this.raws&&this.raws.spaces&&this.raws.spaces.before;return i===void 0&&(i=this.spaces&&this.spaces.before),i||""},set:function(i){(0,JA.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=i}},{key:"rawSpaceAfter",get:function(){var i=this.raws&&this.raws.spaces&&this.raws.spaces.after;return i===void 0&&(i=this.spaces.after),i||""},set:function(i){(0,JA.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=i}}]),t})();du.default=x9;QA.exports=du.default});var Bt=T(De=>{"use strict";y();De.__esModule=!0;De.UNIVERSAL=De.TAG=De.STRING=De.SELECTOR=De.ROOT=De.PSEUDO=De.NESTING=De.ID=De.COMMENT=De.COMBINATOR=De.CLASS=De.ATTRIBUTE=void 0;var k9="tag";De.TAG=k9;var I9="string";De.STRING=I9;var A9="selector";De.SELECTOR=A9;var T9="root";De.ROOT=T9;var E9="pseudo";De.PSEUDO=E9;var O9="nesting";De.NESTING=O9;var N9="id";De.ID=N9;var L9="comment";De.COMMENT=L9;var P9="combinator";De.COMBINATOR=P9;var q9="class";De.CLASS=q9;var C9="attribute";De.ATTRIBUTE=C9;var R9="universal";De.UNIVERSAL=R9});var If=T((mu,eT)=>{"use strict";y();mu.__esModule=!0;mu.default=void 0;var M9=F9(en()),tn=D9(Bt());function ZA(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,r=new WeakMap;return(ZA=function(n){return n?r:e})(t)}function D9(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var r=ZA(e);if(r&&r.has(t))return r.get(t);var i={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var a=n?Object.getOwnPropertyDescriptor(t,s):null;a&&(a.get||a.set)?Object.defineProperty(i,s,a):i[s]=t[s]}return i.default=t,r&&r.set(t,i),i}function F9(t){return t&&t.__esModule?t:{default:t}}function j9(t,e){var r=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=B9(t))||e&&t&&typeof t.length=="number"){r&&(t=r);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1178
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function B9(t,e){if(t){if(typeof t=="string")return YA(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return YA(t,e)}}function YA(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}function XA(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function V9(t,e,r){return e&&XA(t.prototype,e),r&&XA(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function $9(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,f_(t,e)}function f_(t,e){return f_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},f_(t,e)}var U9=(function(t){$9(e,t);function e(i){var n;return n=t.call(this,i)||this,n.nodes||(n.nodes=[]),n}var r=e.prototype;return r.append=function(n){return n.parent=this,this.nodes.push(n),this},r.prepend=function(n){n.parent=this,this.nodes.unshift(n);for(var s in this.indexes)this.indexes[s]++;return this},r.at=function(n){return this.nodes[n]},r.index=function(n){return typeof n=="number"?n:this.nodes.indexOf(n)},r.removeChild=function(n){n=this.index(n),this.at(n).parent=void 0,this.nodes.splice(n,1);var s;for(var a in this.indexes)s=this.indexes[a],s>=n&&(this.indexes[a]=s-1);return this},r.removeAll=function(){for(var n=j9(this.nodes),s;!(s=n()).done;){var a=s.value;a.parent=void 0}return this.nodes=[],this},r.empty=function(){return this.removeAll()},r.insertAfter=function(n,s){var a;s.parent=this;for(var o=this.index(n),u=[],l=2;l<arguments.length;l++)u.push(arguments[l]);(a=this.nodes).splice.apply(a,[o+1,0,s].concat(u)),s.parent=this;var f;for(var h in this.indexes)f=this.indexes[h],o<f&&(this.indexes[h]=f+arguments.length-1);return this},r.insertBefore=function(n,s){var a;s.parent=this;for(var o=this.index(n),u=[],l=2;l<arguments.length;l++)u.push(arguments[l]);(a=this.nodes).splice.apply(a,[o,0,s].concat(u)),s.parent=this;var f;for(var h in this.indexes)f=this.indexes[h],f>=o&&(this.indexes[h]=f+arguments.length-1);return this},r._findChildAtPosition=function(n,s){var a=void 0;return this.each(function(o){if(o.atPosition){var u=o.atPosition(n,s);if(u)return a=u,!1}else if(o.isAtPosition(n,s))return a=o,!1}),a},r.atPosition=function(n,s){if(this.isAtPosition(n,s))return this._findChildAtPosition(n,s)||this},r._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},r.each=function(n){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var s=this.lastEach;if(this.indexes[s]=0,!!this.length){for(var a,o;this.indexes[s]<this.length&&(a=this.indexes[s],o=n(this.at(a),a),o!==!1);)this.indexes[s]+=1;if(delete this.indexes[s],o===!1)return!1}},r.walk=function(n){return this.each(function(s,a){var o=n(s,a);if(o!==!1&&s.length&&(o=s.walk(n)),o===!1)return!1})},r.walkAttributes=function(n){var s=this;return this.walk(function(a){if(a.type===tn.ATTRIBUTE)return n.call(s,a)})},r.walkClasses=function(n){var s=this;return this.walk(function(a){if(a.type===tn.CLASS)return n.call(s,a)})},r.walkCombinators=function(n){var s=this;return this.walk(function(a){if(a.type===tn.COMBINATOR)return n.call(s,a)})},r.walkComments=function(n){var s=this;return this.walk(function(a){if(a.type===tn.COMMENT)return n.call(s,a)})},r.walkIds=function(n){var s=this;return this.walk(function(a){if(a.type===tn.ID)return n.call(s,a)})},r.walkNesting=function(n){var s=this;return this.walk(function(a){if(a.type===tn.NESTING)return n.call(s,a)})},r.walkPseudos=function(n){var s=this;return this.walk(function(a){if(a.type===tn.PSEUDO)return n.call(s,a)})},r.walkTags=function(n){var s=this;return this.walk(function(a){if(a.type===tn.TAG)return n.call(s,a)})},r.walkUniversals=function(n){var s=this;return this.walk(function(a){if(a.type===tn.UNIVERSAL)return n.call(s,a)})},r.split=function(n){var s=this,a=[];return this.reduce(function(o,u,l){var f=n.call(s,u);return a.push(u),f?(o.push(a),a=[]):l===s.length-1&&o.push(a),o},[])},r.map=function(n){return this.nodes.map(n)},r.reduce=function(n,s){return this.nodes.reduce(n,s)},r.every=function(n){return this.nodes.every(n)},r.some=function(n){return this.nodes.some(n)},r.filter=function(n){return this.nodes.filter(n)},r.sort=function(n){return this.nodes.sort(n)},r.toString=function(){return this.map(String).join("")},V9(e,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),e})(M9.default);mu.default=U9;eT.exports=mu.default});var h_=T((gu,rT)=>{"use strict";y();gu.__esModule=!0;gu.default=void 0;var H9=W9(If()),G9=Bt();function W9(t){return t&&t.__esModule?t:{default:t}}function tT(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function z9(t,e,r){return e&&tT(t.prototype,e),r&&tT(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function J9(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,p_(t,e)}function p_(t,e){return p_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},p_(t,e)}var K9=(function(t){J9(e,t);function e(i){var n;return n=t.call(this,i)||this,n.type=G9.ROOT,n}var r=e.prototype;return r.toString=function(){var n=this.reduce(function(s,a){return s.push(String(a)),s},[]).join(",");return this.trailingComma?n+",":n},r.error=function(n,s){return this._error?this._error(n,s):new Error(n)},z9(e,[{key:"errorGenerator",set:function(n){this._error=n}}]),e})(H9.default);gu.default=K9;rT.exports=gu.default});var m_=T((yu,iT)=>{"use strict";y();yu.__esModule=!0;yu.default=void 0;var Q9=X9(If()),Y9=Bt();function X9(t){return t&&t.__esModule?t:{default:t}}function Z9(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,d_(t,e)}function d_(t,e){return d_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},d_(t,e)}var eB=(function(t){Z9(e,t);function e(r){var i;return i=t.call(this,r)||this,i.type=Y9.SELECTOR,i}return e})(Q9.default);yu.default=eB;iT.exports=yu.default});var Af=T((Mae,nT)=>{"use strict";y();var tB={},rB=tB.hasOwnProperty,iB=function(e,r){if(!e)return r;var i={};for(var n in r)i[n]=rB.call(e,n)?e[n]:r[n];return i},nB=/[ -,\.\/:-@\[-\^`\{-~]/,sB=/[ -,\.\/:-@\[\]\^`\{-~]/,aB=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,g_=function t(e,r){r=iB(r,t.options),r.quotes!="single"&&r.quotes!="double"&&(r.quotes="single");for(var i=r.quotes=="double"?'"':"'",n=r.isIdentifier,s=e.charAt(0),a="",o=0,u=e.length;o<u;){var l=e.charAt(o++),f=l.charCodeAt(),h=void 0;if(f<32||f>126){if(f>=55296&&f<=56319&&o<u){var p=e.charCodeAt(o++);(p&64512)==56320?f=((f&1023)<<10)+(p&1023)+65536:o--}h="\\"+f.toString(16).toUpperCase()+" "}else r.escapeEverything?nB.test(l)?h="\\"+l:h="\\"+f.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(l)?h="\\"+f.toString(16).toUpperCase()+" ":l=="\\"||!n&&(l=='"'&&i==l||l=="'"&&i==l)||n&&sB.test(l)?h="\\"+l:h=l;a+=h}return n&&(/^-[-\d]/.test(a)?a="\\-"+a.slice(1):/\d/.test(s)&&(a="\\3"+s+" "+a.slice(1))),a=a.replace(aB,function(m,v,S){return v&&v.length%2?m:(v||"")+S}),!n&&r.wrap?i+a+i:a};g_.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};g_.version="3.0.0";nT.exports=g_});var __=T((_u,oT)=>{"use strict";y();_u.__esModule=!0;_u.default=void 0;var oB=aT(Af()),uB=hu(),cB=aT(en()),lB=Bt();function aT(t){return t&&t.__esModule?t:{default:t}}function sT(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function fB(t,e,r){return e&&sT(t.prototype,e),r&&sT(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function pB(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,y_(t,e)}function y_(t,e){return y_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},y_(t,e)}var hB=(function(t){pB(e,t);function e(i){var n;return n=t.call(this,i)||this,n.type=lB.CLASS,n._constructed=!0,n}var r=e.prototype;return r.valueToString=function(){return"."+t.prototype.valueToString.call(this)},fB(e,[{key:"value",get:function(){return this._value},set:function(n){if(this._constructed){var s=(0,oB.default)(n,{isIdentifier:!0});s!==n?((0,uB.ensureObject)(this,"raws"),this.raws.value=s):this.raws&&delete this.raws.value}this._value=n}}]),e})(cB.default);_u.default=hB;oT.exports=_u.default});var b_=T((vu,uT)=>{"use strict";y();vu.__esModule=!0;vu.default=void 0;var dB=gB(en()),mB=Bt();function gB(t){return t&&t.__esModule?t:{default:t}}function yB(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,v_(t,e)}function v_(t,e){return v_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},v_(t,e)}var _B=(function(t){yB(e,t);function e(r){var i;return i=t.call(this,r)||this,i.type=mB.COMMENT,i}return e})(dB.default);vu.default=_B;uT.exports=vu.default});var w_=T((bu,cT)=>{"use strict";y();bu.__esModule=!0;bu.default=void 0;var vB=SB(en()),bB=Bt();function SB(t){return t&&t.__esModule?t:{default:t}}function wB(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,S_(t,e)}function S_(t,e){return S_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},S_(t,e)}var xB=(function(t){wB(e,t);function e(i){var n;return n=t.call(this,i)||this,n.type=bB.ID,n}var r=e.prototype;return r.valueToString=function(){return"#"+t.prototype.valueToString.call(this)},e})(vB.default);bu.default=xB;cT.exports=bu.default});var Tf=T((Su,pT)=>{"use strict";y();Su.__esModule=!0;Su.default=void 0;var kB=fT(Af()),IB=hu(),AB=fT(en());function fT(t){return t&&t.__esModule?t:{default:t}}function lT(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function TB(t,e,r){return e&&lT(t.prototype,e),r&&lT(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function EB(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,x_(t,e)}function x_(t,e){return x_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},x_(t,e)}var OB=(function(t){EB(e,t);function e(){return t.apply(this,arguments)||this}var r=e.prototype;return r.qualifiedName=function(n){return this.namespace?this.namespaceString+"|"+n:n},r.valueToString=function(){return this.qualifiedName(t.prototype.valueToString.call(this))},TB(e,[{key:"namespace",get:function(){return this._namespace},set:function(n){if(n===!0||n==="*"||n==="&"){this._namespace=n,this.raws&&delete this.raws.namespace;return}var s=(0,kB.default)(n,{isIdentifier:!0});this._namespace=n,s!==n?((0,IB.ensureObject)(this,"raws"),this.raws.namespace=s):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(n){this.namespace=n}},{key:"namespaceString",get:function(){if(this.namespace){var n=this.stringifyProperty("namespace");return n===!0?"":n}else return""}}]),e})(AB.default);Su.default=OB;pT.exports=Su.default});var I_=T((wu,hT)=>{"use strict";y();wu.__esModule=!0;wu.default=void 0;var NB=PB(Tf()),LB=Bt();function PB(t){return t&&t.__esModule?t:{default:t}}function qB(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,k_(t,e)}function k_(t,e){return k_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},k_(t,e)}var CB=(function(t){qB(e,t);function e(r){var i;return i=t.call(this,r)||this,i.type=LB.TAG,i}return e})(NB.default);wu.default=CB;hT.exports=wu.default});var T_=T((xu,dT)=>{"use strict";y();xu.__esModule=!0;xu.default=void 0;var RB=DB(en()),MB=Bt();function DB(t){return t&&t.__esModule?t:{default:t}}function FB(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,A_(t,e)}function A_(t,e){return A_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},A_(t,e)}var jB=(function(t){FB(e,t);function e(r){var i;return i=t.call(this,r)||this,i.type=MB.STRING,i}return e})(RB.default);xu.default=jB;dT.exports=xu.default});var O_=T((ku,mT)=>{"use strict";y();ku.__esModule=!0;ku.default=void 0;var BB=$B(If()),VB=Bt();function $B(t){return t&&t.__esModule?t:{default:t}}function UB(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,E_(t,e)}function E_(t,e){return E_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},E_(t,e)}var HB=(function(t){UB(e,t);function e(i){var n;return n=t.call(this,i)||this,n.type=VB.PSEUDO,n}var r=e.prototype;return r.toString=function(){var n=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),n,this.rawSpaceAfter].join("")},e})(BB.default);ku.default=HB;mT.exports=ku.default});var R_=T(Tu=>{"use strict";y();Tu.__esModule=!0;Tu.default=void 0;Tu.unescapeValue=C_;var Iu=q_(Af()),GB=q_(l_()),WB=q_(Tf()),zB=Bt(),N_;function q_(t){return t&&t.__esModule?t:{default:t}}function gT(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function JB(t,e,r){return e&&gT(t.prototype,e),r&&gT(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function KB(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,P_(t,e)}function P_(t,e){return P_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},P_(t,e)}var Au=d4(),QB=/^('|")([^]*)\1$/,YB=Au(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),XB=Au(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),ZB=Au(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function C_(t){var e=!1,r=null,i=t,n=i.match(QB);return n&&(r=n[1],i=n[2]),i=(0,GB.default)(i),i!==t&&(e=!0),{deprecatedUsage:e,unescaped:i,quoteMark:r}}function e8(t){if(t.quoteMark!==void 0||t.value===void 0)return t;ZB();var e=C_(t.value),r=e.quoteMark,i=e.unescaped;return t.raws||(t.raws={}),t.raws.value===void 0&&(t.raws.value=t.value),t.value=i,t.quoteMark=r,t}var Ef=(function(t){KB(e,t);function e(i){var n;return i===void 0&&(i={}),n=t.call(this,e8(i))||this,n.type=zB.ATTRIBUTE,n.raws=n.raws||{},Object.defineProperty(n.raws,"unquoted",{get:Au(function(){return n.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:Au(function(){return n.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),n._constructed=!0,n}var r=e.prototype;return r.getQuotedValue=function(n){n===void 0&&(n={});var s=this._determineQuoteMark(n),a=L_[s],o=(0,Iu.default)(this._value,a);return o},r._determineQuoteMark=function(n){return n.smart?this.smartQuoteMark(n):this.preferredQuoteMark(n)},r.setValue=function(n,s){s===void 0&&(s={}),this._value=n,this._quoteMark=this._determineQuoteMark(s),this._syncRawValue()},r.smartQuoteMark=function(n){var s=this.value,a=s.replace(/[^']/g,"").length,o=s.replace(/[^"]/g,"").length;if(a+o===0){var u=(0,Iu.default)(s,{isIdentifier:!0});if(u===s)return e.NO_QUOTE;var l=this.preferredQuoteMark(n);if(l===e.NO_QUOTE){var f=this.quoteMark||n.quoteMark||e.DOUBLE_QUOTE,h=L_[f],p=(0,Iu.default)(s,h);if(p.length<u.length)return f}return l}else return o===a?this.preferredQuoteMark(n):o<a?e.DOUBLE_QUOTE:e.SINGLE_QUOTE},r.preferredQuoteMark=function(n){var s=n.preferCurrentQuoteMark?this.quoteMark:n.quoteMark;return s===void 0&&(s=n.preferCurrentQuoteMark?n.quoteMark:this.quoteMark),s===void 0&&(s=e.DOUBLE_QUOTE),s},r._syncRawValue=function(){var n=(0,Iu.default)(this._value,L_[this.quoteMark]);n===this._value?this.raws&&delete this.raws.value:this.raws.value=n},r._handleEscapes=function(n,s){if(this._constructed){var a=(0,Iu.default)(s,{isIdentifier:!0});a!==s?this.raws[n]=a:delete this.raws[n]}},r._spacesFor=function(n){var s={before:"",after:""},a=this.spaces[n]||{},o=this.raws.spaces&&this.raws.spaces[n]||{};return Object.assign(s,a,o)},r._stringFor=function(n,s,a){s===void 0&&(s=n),a===void 0&&(a=yT);var o=this._spacesFor(s);return a(this.stringifyProperty(n),o)},r.offsetOf=function(n){var s=1,a=this._spacesFor("attribute");if(s+=a.before.length,n==="namespace"||n==="ns")return this.namespace?s:-1;if(n==="attributeNS"||(s+=this.namespaceString.length,this.namespace&&(s+=1),n==="attribute"))return s;s+=this.stringifyProperty("attribute").length,s+=a.after.length;var o=this._spacesFor("operator");s+=o.before.length;var u=this.stringifyProperty("operator");if(n==="operator")return u?s:-1;s+=u.length,s+=o.after.length;var l=this._spacesFor("value");s+=l.before.length;var f=this.stringifyProperty("value");if(n==="value")return f?s:-1;s+=f.length,s+=l.after.length;var h=this._spacesFor("insensitive");return s+=h.before.length,n==="insensitive"&&this.insensitive?s:-1},r.toString=function(){var n=this,s=[this.rawSpaceBefore,"["];return s.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(s.push(this._stringFor("operator")),s.push(this._stringFor("value")),s.push(this._stringFor("insensitiveFlag","insensitive",function(a,o){return a.length>0&&!n.quoted&&o.before.length===0&&!(n.spaces.value&&n.spaces.value.after)&&(o.before=" "),yT(a,o)}))),s.push("]"),s.push(this.rawSpaceAfter),s.join("")},JB(e,[{key:"quoted",get:function(){var n=this.quoteMark;return n==="'"||n==='"'},set:function(n){XB()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(n){if(!this._constructed){this._quoteMark=n;return}this._quoteMark!==n&&(this._quoteMark=n,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(n){if(this._constructed){var s=C_(n),a=s.deprecatedUsage,o=s.unescaped,u=s.quoteMark;if(a&&YB(),o===this._value&&u===this._quoteMark)return;this._value=o,this._quoteMark=u,this._syncRawValue()}else this._value=n}},{key:"insensitive",get:function(){return this._insensitive},set:function(n){n||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")&&(this.raws.insensitiveFlag=void 0)),this._insensitive=n}},{key:"attribute",get:function(){return this._attribute},set:function(n){this._handleEscapes("attribute",n),this._attribute=n}}]),e})(WB.default);Tu.default=Ef;Ef.NO_QUOTE=null;Ef.SINGLE_QUOTE="'";Ef.DOUBLE_QUOTE='"';var L_=(N_={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},N_[null]={isIdentifier:!0},N_);function yT(t,e){return""+e.before+t+e.after}});var D_=T((Eu,_T)=>{"use strict";y();Eu.__esModule=!0;Eu.default=void 0;var t8=i8(Tf()),r8=Bt();function i8(t){return t&&t.__esModule?t:{default:t}}function n8(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,M_(t,e)}function M_(t,e){return M_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},M_(t,e)}var s8=(function(t){n8(e,t);function e(r){var i;return i=t.call(this,r)||this,i.type=r8.UNIVERSAL,i.value="*",i}return e})(t8.default);Eu.default=s8;_T.exports=Eu.default});var j_=T((Ou,vT)=>{"use strict";y();Ou.__esModule=!0;Ou.default=void 0;var a8=u8(en()),o8=Bt();function u8(t){return t&&t.__esModule?t:{default:t}}function c8(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,F_(t,e)}function F_(t,e){return F_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},F_(t,e)}var l8=(function(t){c8(e,t);function e(r){var i;return i=t.call(this,r)||this,i.type=o8.COMBINATOR,i}return e})(a8.default);Ou.default=l8;vT.exports=Ou.default});var V_=T((Nu,bT)=>{"use strict";y();Nu.__esModule=!0;Nu.default=void 0;var f8=h8(en()),p8=Bt();function h8(t){return t&&t.__esModule?t:{default:t}}function d8(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,B_(t,e)}function B_(t,e){return B_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},B_(t,e)}var m8=(function(t){d8(e,t);function e(r){var i;return i=t.call(this,r)||this,i.type=p8.NESTING,i.value="&",i}return e})(f8.default);Nu.default=m8;bT.exports=Nu.default});var wT=T((Of,ST)=>{"use strict";y();Of.__esModule=!0;Of.default=g8;function g8(t){return t.sort(function(e,r){return e-r})}ST.exports=Of.default});var $_=T(re=>{"use strict";y();re.__esModule=!0;re.word=re.tilde=re.tab=re.str=re.space=re.slash=re.singleQuote=re.semicolon=re.plus=re.pipe=re.openSquare=re.openParenthesis=re.newline=re.greaterThan=re.feed=re.equals=re.doubleQuote=re.dollar=re.cr=re.comment=re.comma=re.combinator=re.colon=re.closeSquare=re.closeParenthesis=re.caret=re.bang=re.backslash=re.at=re.asterisk=re.ampersand=void 0;var y8=38;re.ampersand=y8;var _8=42;re.asterisk=_8;var v8=64;re.at=v8;var b8=44;re.comma=b8;var S8=58;re.colon=S8;var w8=59;re.semicolon=w8;var x8=40;re.openParenthesis=x8;var k8=41;re.closeParenthesis=k8;var I8=91;re.openSquare=I8;var A8=93;re.closeSquare=A8;var T8=36;re.dollar=T8;var E8=126;re.tilde=E8;var O8=94;re.caret=O8;var N8=43;re.plus=N8;var L8=61;re.equals=L8;var P8=124;re.pipe=P8;var q8=62;re.greaterThan=q8;var C8=32;re.space=C8;var xT=39;re.singleQuote=xT;var R8=34;re.doubleQuote=R8;var M8=47;re.slash=M8;var D8=33;re.bang=D8;var F8=92;re.backslash=F8;var j8=13;re.cr=j8;var B8=12;re.feed=B8;var V8=10;re.newline=V8;var $8=9;re.tab=$8;var U8=xT;re.str=U8;var H8=-1;re.comment=H8;var G8=-2;re.word=G8;var W8=-3;re.combinator=W8});var AT=T(Lu=>{"use strict";y();Lu.__esModule=!0;Lu.FIELDS=void 0;Lu.default=Z8;var X=z8($_()),Na,Re;function IT(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,r=new WeakMap;return(IT=function(n){return n?r:e})(t)}function z8(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var r=IT(e);if(r&&r.has(t))return r.get(t);var i={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var a=n?Object.getOwnPropertyDescriptor(t,s):null;a&&(a.get||a.set)?Object.defineProperty(i,s,a):i[s]=t[s]}return i.default=t,r&&r.set(t,i),i}var J8=(Na={},Na[X.tab]=!0,Na[X.newline]=!0,Na[X.cr]=!0,Na[X.feed]=!0,Na),K8=(Re={},Re[X.space]=!0,Re[X.tab]=!0,Re[X.newline]=!0,Re[X.cr]=!0,Re[X.feed]=!0,Re[X.ampersand]=!0,Re[X.asterisk]=!0,Re[X.bang]=!0,Re[X.comma]=!0,Re[X.colon]=!0,Re[X.semicolon]=!0,Re[X.openParenthesis]=!0,Re[X.closeParenthesis]=!0,Re[X.openSquare]=!0,Re[X.closeSquare]=!0,Re[X.singleQuote]=!0,Re[X.doubleQuote]=!0,Re[X.plus]=!0,Re[X.pipe]=!0,Re[X.tilde]=!0,Re[X.greaterThan]=!0,Re[X.equals]=!0,Re[X.dollar]=!0,Re[X.caret]=!0,Re[X.slash]=!0,Re),U_={},kT="0123456789abcdefABCDEF";for(Nf=0;Nf<kT.length;Nf++)U_[kT.charCodeAt(Nf)]=!0;var Nf;function Q8(t,e){var r=e,i;do{if(i=t.charCodeAt(r),K8[i])return r-1;i===X.backslash?r=Y8(t,r)+1:r++}while(r<t.length);return r-1}function Y8(t,e){var r=e,i=t.charCodeAt(r+1);if(!J8[i])if(U_[i]){var n=0;do r++,n++,i=t.charCodeAt(r+1);while(U_[i]&&n<6);n<6&&i===X.space&&r++}else r++;return r}var X8={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};Lu.FIELDS=X8;function Z8(t){var e=[],r=t.css.valueOf(),i=r,n=i.length,s=-1,a=1,o=0,u=0,l,f,h,p,m,v,S,b,g,k,w,_,A;function E(O,L){if(t.safe)r+=L,g=r.length-1;else throw t.error("Unclosed "+O,a,o-s,o)}for(;o<n;){switch(l=r.charCodeAt(o),l===X.newline&&(s=o,a+=1),l){case X.space:case X.tab:case X.newline:case X.cr:case X.feed:g=o;do g+=1,l=r.charCodeAt(g),l===X.newline&&(s=g,a+=1);while(l===X.space||l===X.newline||l===X.tab||l===X.cr||l===X.feed);A=X.space,p=a,h=g-s-1,u=g;break;case X.plus:case X.greaterThan:case X.tilde:case X.pipe:g=o;do g+=1,l=r.charCodeAt(g);while(l===X.plus||l===X.greaterThan||l===X.tilde||l===X.pipe);A=X.combinator,p=a,h=o-s,u=g;break;case X.asterisk:case X.ampersand:case X.bang:case X.comma:case X.equals:case X.dollar:case X.caret:case X.openSquare:case X.closeSquare:case X.colon:case X.semicolon:case X.openParenthesis:case X.closeParenthesis:g=o,A=l,p=a,h=o-s,u=g+1;break;case X.singleQuote:case X.doubleQuote:_=l===X.singleQuote?"'":'"',g=o;do for(m=!1,g=r.indexOf(_,g+1),g===-1&&E("quote",_),v=g;r.charCodeAt(v-1)===X.backslash;)v-=1,m=!m;while(m);A=X.str,p=a,h=o-s,u=g+1;break;default:l===X.slash&&r.charCodeAt(o+1)===X.asterisk?(g=r.indexOf("*/",o+2)+1,g===0&&E("comment","*/"),f=r.slice(o,g+1),b=f.split(`
1178
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function B9(t,e){if(t){if(typeof t=="string")return YA(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return YA(t,e)}}function YA(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}function XA(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function V9(t,e,r){return e&&XA(t.prototype,e),r&&XA(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function $9(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,f_(t,e)}function f_(t,e){return f_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},f_(t,e)}var U9=(function(t){$9(e,t);function e(i){var n;return n=t.call(this,i)||this,n.nodes||(n.nodes=[]),n}var r=e.prototype;return r.append=function(n){return n.parent=this,this.nodes.push(n),this},r.prepend=function(n){n.parent=this,this.nodes.unshift(n);for(var s in this.indexes)this.indexes[s]++;return this},r.at=function(n){return this.nodes[n]},r.index=function(n){return typeof n=="number"?n:this.nodes.indexOf(n)},r.removeChild=function(n){n=this.index(n),this.at(n).parent=void 0,this.nodes.splice(n,1);var s;for(var a in this.indexes)s=this.indexes[a],s>=n&&(this.indexes[a]=s-1);return this},r.removeAll=function(){for(var n=j9(this.nodes),s;!(s=n()).done;){var a=s.value;a.parent=void 0}return this.nodes=[],this},r.empty=function(){return this.removeAll()},r.insertAfter=function(n,s){var a;s.parent=this;for(var o=this.index(n),u=[],l=2;l<arguments.length;l++)u.push(arguments[l]);(a=this.nodes).splice.apply(a,[o+1,0,s].concat(u)),s.parent=this;var f;for(var h in this.indexes)f=this.indexes[h],o<f&&(this.indexes[h]=f+arguments.length-1);return this},r.insertBefore=function(n,s){var a;s.parent=this;for(var o=this.index(n),u=[],l=2;l<arguments.length;l++)u.push(arguments[l]);(a=this.nodes).splice.apply(a,[o,0,s].concat(u)),s.parent=this;var f;for(var h in this.indexes)f=this.indexes[h],f>=o&&(this.indexes[h]=f+arguments.length-1);return this},r._findChildAtPosition=function(n,s){var a=void 0;return this.each(function(o){if(o.atPosition){var u=o.atPosition(n,s);if(u)return a=u,!1}else if(o.isAtPosition(n,s))return a=o,!1}),a},r.atPosition=function(n,s){if(this.isAtPosition(n,s))return this._findChildAtPosition(n,s)||this},r._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},r.each=function(n){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var s=this.lastEach;if(this.indexes[s]=0,!!this.length){for(var a,o;this.indexes[s]<this.length&&(a=this.indexes[s],o=n(this.at(a),a),o!==!1);)this.indexes[s]+=1;if(delete this.indexes[s],o===!1)return!1}},r.walk=function(n){return this.each(function(s,a){var o=n(s,a);if(o!==!1&&s.length&&(o=s.walk(n)),o===!1)return!1})},r.walkAttributes=function(n){var s=this;return this.walk(function(a){if(a.type===tn.ATTRIBUTE)return n.call(s,a)})},r.walkClasses=function(n){var s=this;return this.walk(function(a){if(a.type===tn.CLASS)return n.call(s,a)})},r.walkCombinators=function(n){var s=this;return this.walk(function(a){if(a.type===tn.COMBINATOR)return n.call(s,a)})},r.walkComments=function(n){var s=this;return this.walk(function(a){if(a.type===tn.COMMENT)return n.call(s,a)})},r.walkIds=function(n){var s=this;return this.walk(function(a){if(a.type===tn.ID)return n.call(s,a)})},r.walkNesting=function(n){var s=this;return this.walk(function(a){if(a.type===tn.NESTING)return n.call(s,a)})},r.walkPseudos=function(n){var s=this;return this.walk(function(a){if(a.type===tn.PSEUDO)return n.call(s,a)})},r.walkTags=function(n){var s=this;return this.walk(function(a){if(a.type===tn.TAG)return n.call(s,a)})},r.walkUniversals=function(n){var s=this;return this.walk(function(a){if(a.type===tn.UNIVERSAL)return n.call(s,a)})},r.split=function(n){var s=this,a=[];return this.reduce(function(o,u,l){var f=n.call(s,u);return a.push(u),f?(o.push(a),a=[]):l===s.length-1&&o.push(a),o},[])},r.map=function(n){return this.nodes.map(n)},r.reduce=function(n,s){return this.nodes.reduce(n,s)},r.every=function(n){return this.nodes.every(n)},r.some=function(n){return this.nodes.some(n)},r.filter=function(n){return this.nodes.filter(n)},r.sort=function(n){return this.nodes.sort(n)},r.toString=function(){return this.map(String).join("")},V9(e,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),e})(M9.default);mu.default=U9;eT.exports=mu.default});var h_=T((gu,rT)=>{"use strict";y();gu.__esModule=!0;gu.default=void 0;var H9=W9(If()),G9=Bt();function W9(t){return t&&t.__esModule?t:{default:t}}function tT(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function z9(t,e,r){return e&&tT(t.prototype,e),r&&tT(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function J9(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,p_(t,e)}function p_(t,e){return p_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},p_(t,e)}var K9=(function(t){J9(e,t);function e(i){var n;return n=t.call(this,i)||this,n.type=G9.ROOT,n}var r=e.prototype;return r.toString=function(){var n=this.reduce(function(s,a){return s.push(String(a)),s},[]).join(",");return this.trailingComma?n+",":n},r.error=function(n,s){return this._error?this._error(n,s):new Error(n)},z9(e,[{key:"errorGenerator",set:function(n){this._error=n}}]),e})(H9.default);gu.default=K9;rT.exports=gu.default});var m_=T((yu,iT)=>{"use strict";y();yu.__esModule=!0;yu.default=void 0;var Q9=X9(If()),Y9=Bt();function X9(t){return t&&t.__esModule?t:{default:t}}function Z9(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,d_(t,e)}function d_(t,e){return d_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},d_(t,e)}var eB=(function(t){Z9(e,t);function e(r){var i;return i=t.call(this,r)||this,i.type=Y9.SELECTOR,i}return e})(Q9.default);yu.default=eB;iT.exports=yu.default});var Af=T((Mae,nT)=>{"use strict";y();var tB={},rB=tB.hasOwnProperty,iB=function(e,r){if(!e)return r;var i={};for(var n in r)i[n]=rB.call(e,n)?e[n]:r[n];return i},nB=/[ -,\.\/:-@\[-\^`\{-~]/,sB=/[ -,\.\/:-@\[\]\^`\{-~]/,aB=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,g_=function t(e,r){r=iB(r,t.options),r.quotes!="single"&&r.quotes!="double"&&(r.quotes="single");for(var i=r.quotes=="double"?'"':"'",n=r.isIdentifier,s=e.charAt(0),a="",o=0,u=e.length;o<u;){var l=e.charAt(o++),f=l.charCodeAt(),h=void 0;if(f<32||f>126){if(f>=55296&&f<=56319&&o<u){var p=e.charCodeAt(o++);(p&64512)==56320?f=((f&1023)<<10)+(p&1023)+65536:o--}h="\\"+f.toString(16).toUpperCase()+" "}else r.escapeEverything?nB.test(l)?h="\\"+l:h="\\"+f.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(l)?h="\\"+f.toString(16).toUpperCase()+" ":l=="\\"||!n&&(l=='"'&&i==l||l=="'"&&i==l)||n&&sB.test(l)?h="\\"+l:h=l;a+=h}return n&&(/^-[-\d]/.test(a)?a="\\-"+a.slice(1):/\d/.test(s)&&(a="\\3"+s+" "+a.slice(1))),a=a.replace(aB,function(m,v,S){return v&&v.length%2?m:(v||"")+S}),!n&&r.wrap?i+a+i:a};g_.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};g_.version="3.0.0";nT.exports=g_});var __=T((_u,oT)=>{"use strict";y();_u.__esModule=!0;_u.default=void 0;var oB=aT(Af()),uB=hu(),cB=aT(en()),lB=Bt();function aT(t){return t&&t.__esModule?t:{default:t}}function sT(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function fB(t,e,r){return e&&sT(t.prototype,e),r&&sT(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function pB(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,y_(t,e)}function y_(t,e){return y_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},y_(t,e)}var hB=(function(t){pB(e,t);function e(i){var n;return n=t.call(this,i)||this,n.type=lB.CLASS,n._constructed=!0,n}var r=e.prototype;return r.valueToString=function(){return"."+t.prototype.valueToString.call(this)},fB(e,[{key:"value",get:function(){return this._value},set:function(n){if(this._constructed){var s=(0,oB.default)(n,{isIdentifier:!0});s!==n?((0,uB.ensureObject)(this,"raws"),this.raws.value=s):this.raws&&delete this.raws.value}this._value=n}}]),e})(cB.default);_u.default=hB;oT.exports=_u.default});var b_=T((vu,uT)=>{"use strict";y();vu.__esModule=!0;vu.default=void 0;var dB=gB(en()),mB=Bt();function gB(t){return t&&t.__esModule?t:{default:t}}function yB(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,v_(t,e)}function v_(t,e){return v_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},v_(t,e)}var _B=(function(t){yB(e,t);function e(r){var i;return i=t.call(this,r)||this,i.type=mB.COMMENT,i}return e})(dB.default);vu.default=_B;uT.exports=vu.default});var w_=T((bu,cT)=>{"use strict";y();bu.__esModule=!0;bu.default=void 0;var vB=SB(en()),bB=Bt();function SB(t){return t&&t.__esModule?t:{default:t}}function wB(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,S_(t,e)}function S_(t,e){return S_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},S_(t,e)}var xB=(function(t){wB(e,t);function e(i){var n;return n=t.call(this,i)||this,n.type=bB.ID,n}var r=e.prototype;return r.valueToString=function(){return"#"+t.prototype.valueToString.call(this)},e})(vB.default);bu.default=xB;cT.exports=bu.default});var Tf=T((Su,pT)=>{"use strict";y();Su.__esModule=!0;Su.default=void 0;var kB=fT(Af()),IB=hu(),AB=fT(en());function fT(t){return t&&t.__esModule?t:{default:t}}function lT(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function TB(t,e,r){return e&&lT(t.prototype,e),r&&lT(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function EB(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,x_(t,e)}function x_(t,e){return x_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},x_(t,e)}var OB=(function(t){EB(e,t);function e(){return t.apply(this,arguments)||this}var r=e.prototype;return r.qualifiedName=function(n){return this.namespace?this.namespaceString+"|"+n:n},r.valueToString=function(){return this.qualifiedName(t.prototype.valueToString.call(this))},TB(e,[{key:"namespace",get:function(){return this._namespace},set:function(n){if(n===!0||n==="*"||n==="&"){this._namespace=n,this.raws&&delete this.raws.namespace;return}var s=(0,kB.default)(n,{isIdentifier:!0});this._namespace=n,s!==n?((0,IB.ensureObject)(this,"raws"),this.raws.namespace=s):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(n){this.namespace=n}},{key:"namespaceString",get:function(){if(this.namespace){var n=this.stringifyProperty("namespace");return n===!0?"":n}else return""}}]),e})(AB.default);Su.default=OB;pT.exports=Su.default});var I_=T((wu,hT)=>{"use strict";y();wu.__esModule=!0;wu.default=void 0;var NB=PB(Tf()),LB=Bt();function PB(t){return t&&t.__esModule?t:{default:t}}function qB(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,k_(t,e)}function k_(t,e){return k_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},k_(t,e)}var CB=(function(t){qB(e,t);function e(r){var i;return i=t.call(this,r)||this,i.type=LB.TAG,i}return e})(NB.default);wu.default=CB;hT.exports=wu.default});var T_=T((xu,dT)=>{"use strict";y();xu.__esModule=!0;xu.default=void 0;var RB=DB(en()),MB=Bt();function DB(t){return t&&t.__esModule?t:{default:t}}function FB(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,A_(t,e)}function A_(t,e){return A_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},A_(t,e)}var jB=(function(t){FB(e,t);function e(r){var i;return i=t.call(this,r)||this,i.type=MB.STRING,i}return e})(RB.default);xu.default=jB;dT.exports=xu.default});var O_=T((ku,mT)=>{"use strict";y();ku.__esModule=!0;ku.default=void 0;var BB=$B(If()),VB=Bt();function $B(t){return t&&t.__esModule?t:{default:t}}function UB(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,E_(t,e)}function E_(t,e){return E_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},E_(t,e)}var HB=(function(t){UB(e,t);function e(i){var n;return n=t.call(this,i)||this,n.type=VB.PSEUDO,n}var r=e.prototype;return r.toString=function(){var n=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),n,this.rawSpaceAfter].join("")},e})(BB.default);ku.default=HB;mT.exports=ku.default});var R_=T(Tu=>{"use strict";y();Tu.__esModule=!0;Tu.default=void 0;Tu.unescapeValue=C_;var Iu=q_(Af()),GB=q_(l_()),WB=q_(Tf()),zB=Bt(),N_;function q_(t){return t&&t.__esModule?t:{default:t}}function gT(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function JB(t,e,r){return e&&gT(t.prototype,e),r&&gT(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function KB(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,P_(t,e)}function P_(t,e){return P_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},P_(t,e)}var Au=h4(),QB=/^('|")([^]*)\1$/,YB=Au(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),XB=Au(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),ZB=Au(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function C_(t){var e=!1,r=null,i=t,n=i.match(QB);return n&&(r=n[1],i=n[2]),i=(0,GB.default)(i),i!==t&&(e=!0),{deprecatedUsage:e,unescaped:i,quoteMark:r}}function e8(t){if(t.quoteMark!==void 0||t.value===void 0)return t;ZB();var e=C_(t.value),r=e.quoteMark,i=e.unescaped;return t.raws||(t.raws={}),t.raws.value===void 0&&(t.raws.value=t.value),t.value=i,t.quoteMark=r,t}var Ef=(function(t){KB(e,t);function e(i){var n;return i===void 0&&(i={}),n=t.call(this,e8(i))||this,n.type=zB.ATTRIBUTE,n.raws=n.raws||{},Object.defineProperty(n.raws,"unquoted",{get:Au(function(){return n.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:Au(function(){return n.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),n._constructed=!0,n}var r=e.prototype;return r.getQuotedValue=function(n){n===void 0&&(n={});var s=this._determineQuoteMark(n),a=L_[s],o=(0,Iu.default)(this._value,a);return o},r._determineQuoteMark=function(n){return n.smart?this.smartQuoteMark(n):this.preferredQuoteMark(n)},r.setValue=function(n,s){s===void 0&&(s={}),this._value=n,this._quoteMark=this._determineQuoteMark(s),this._syncRawValue()},r.smartQuoteMark=function(n){var s=this.value,a=s.replace(/[^']/g,"").length,o=s.replace(/[^"]/g,"").length;if(a+o===0){var u=(0,Iu.default)(s,{isIdentifier:!0});if(u===s)return e.NO_QUOTE;var l=this.preferredQuoteMark(n);if(l===e.NO_QUOTE){var f=this.quoteMark||n.quoteMark||e.DOUBLE_QUOTE,h=L_[f],p=(0,Iu.default)(s,h);if(p.length<u.length)return f}return l}else return o===a?this.preferredQuoteMark(n):o<a?e.DOUBLE_QUOTE:e.SINGLE_QUOTE},r.preferredQuoteMark=function(n){var s=n.preferCurrentQuoteMark?this.quoteMark:n.quoteMark;return s===void 0&&(s=n.preferCurrentQuoteMark?n.quoteMark:this.quoteMark),s===void 0&&(s=e.DOUBLE_QUOTE),s},r._syncRawValue=function(){var n=(0,Iu.default)(this._value,L_[this.quoteMark]);n===this._value?this.raws&&delete this.raws.value:this.raws.value=n},r._handleEscapes=function(n,s){if(this._constructed){var a=(0,Iu.default)(s,{isIdentifier:!0});a!==s?this.raws[n]=a:delete this.raws[n]}},r._spacesFor=function(n){var s={before:"",after:""},a=this.spaces[n]||{},o=this.raws.spaces&&this.raws.spaces[n]||{};return Object.assign(s,a,o)},r._stringFor=function(n,s,a){s===void 0&&(s=n),a===void 0&&(a=yT);var o=this._spacesFor(s);return a(this.stringifyProperty(n),o)},r.offsetOf=function(n){var s=1,a=this._spacesFor("attribute");if(s+=a.before.length,n==="namespace"||n==="ns")return this.namespace?s:-1;if(n==="attributeNS"||(s+=this.namespaceString.length,this.namespace&&(s+=1),n==="attribute"))return s;s+=this.stringifyProperty("attribute").length,s+=a.after.length;var o=this._spacesFor("operator");s+=o.before.length;var u=this.stringifyProperty("operator");if(n==="operator")return u?s:-1;s+=u.length,s+=o.after.length;var l=this._spacesFor("value");s+=l.before.length;var f=this.stringifyProperty("value");if(n==="value")return f?s:-1;s+=f.length,s+=l.after.length;var h=this._spacesFor("insensitive");return s+=h.before.length,n==="insensitive"&&this.insensitive?s:-1},r.toString=function(){var n=this,s=[this.rawSpaceBefore,"["];return s.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(s.push(this._stringFor("operator")),s.push(this._stringFor("value")),s.push(this._stringFor("insensitiveFlag","insensitive",function(a,o){return a.length>0&&!n.quoted&&o.before.length===0&&!(n.spaces.value&&n.spaces.value.after)&&(o.before=" "),yT(a,o)}))),s.push("]"),s.push(this.rawSpaceAfter),s.join("")},JB(e,[{key:"quoted",get:function(){var n=this.quoteMark;return n==="'"||n==='"'},set:function(n){XB()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(n){if(!this._constructed){this._quoteMark=n;return}this._quoteMark!==n&&(this._quoteMark=n,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(n){if(this._constructed){var s=C_(n),a=s.deprecatedUsage,o=s.unescaped,u=s.quoteMark;if(a&&YB(),o===this._value&&u===this._quoteMark)return;this._value=o,this._quoteMark=u,this._syncRawValue()}else this._value=n}},{key:"insensitive",get:function(){return this._insensitive},set:function(n){n||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")&&(this.raws.insensitiveFlag=void 0)),this._insensitive=n}},{key:"attribute",get:function(){return this._attribute},set:function(n){this._handleEscapes("attribute",n),this._attribute=n}}]),e})(WB.default);Tu.default=Ef;Ef.NO_QUOTE=null;Ef.SINGLE_QUOTE="'";Ef.DOUBLE_QUOTE='"';var L_=(N_={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},N_[null]={isIdentifier:!0},N_);function yT(t,e){return""+e.before+t+e.after}});var D_=T((Eu,_T)=>{"use strict";y();Eu.__esModule=!0;Eu.default=void 0;var t8=i8(Tf()),r8=Bt();function i8(t){return t&&t.__esModule?t:{default:t}}function n8(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,M_(t,e)}function M_(t,e){return M_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},M_(t,e)}var s8=(function(t){n8(e,t);function e(r){var i;return i=t.call(this,r)||this,i.type=r8.UNIVERSAL,i.value="*",i}return e})(t8.default);Eu.default=s8;_T.exports=Eu.default});var j_=T((Ou,vT)=>{"use strict";y();Ou.__esModule=!0;Ou.default=void 0;var a8=u8(en()),o8=Bt();function u8(t){return t&&t.__esModule?t:{default:t}}function c8(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,F_(t,e)}function F_(t,e){return F_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},F_(t,e)}var l8=(function(t){c8(e,t);function e(r){var i;return i=t.call(this,r)||this,i.type=o8.COMBINATOR,i}return e})(a8.default);Ou.default=l8;vT.exports=Ou.default});var V_=T((Nu,bT)=>{"use strict";y();Nu.__esModule=!0;Nu.default=void 0;var f8=h8(en()),p8=Bt();function h8(t){return t&&t.__esModule?t:{default:t}}function d8(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,B_(t,e)}function B_(t,e){return B_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},B_(t,e)}var m8=(function(t){d8(e,t);function e(r){var i;return i=t.call(this,r)||this,i.type=p8.NESTING,i.value="&",i}return e})(f8.default);Nu.default=m8;bT.exports=Nu.default});var wT=T((Of,ST)=>{"use strict";y();Of.__esModule=!0;Of.default=g8;function g8(t){return t.sort(function(e,r){return e-r})}ST.exports=Of.default});var $_=T(re=>{"use strict";y();re.__esModule=!0;re.word=re.tilde=re.tab=re.str=re.space=re.slash=re.singleQuote=re.semicolon=re.plus=re.pipe=re.openSquare=re.openParenthesis=re.newline=re.greaterThan=re.feed=re.equals=re.doubleQuote=re.dollar=re.cr=re.comment=re.comma=re.combinator=re.colon=re.closeSquare=re.closeParenthesis=re.caret=re.bang=re.backslash=re.at=re.asterisk=re.ampersand=void 0;var y8=38;re.ampersand=y8;var _8=42;re.asterisk=_8;var v8=64;re.at=v8;var b8=44;re.comma=b8;var S8=58;re.colon=S8;var w8=59;re.semicolon=w8;var x8=40;re.openParenthesis=x8;var k8=41;re.closeParenthesis=k8;var I8=91;re.openSquare=I8;var A8=93;re.closeSquare=A8;var T8=36;re.dollar=T8;var E8=126;re.tilde=E8;var O8=94;re.caret=O8;var N8=43;re.plus=N8;var L8=61;re.equals=L8;var P8=124;re.pipe=P8;var q8=62;re.greaterThan=q8;var C8=32;re.space=C8;var xT=39;re.singleQuote=xT;var R8=34;re.doubleQuote=R8;var M8=47;re.slash=M8;var D8=33;re.bang=D8;var F8=92;re.backslash=F8;var j8=13;re.cr=j8;var B8=12;re.feed=B8;var V8=10;re.newline=V8;var $8=9;re.tab=$8;var U8=xT;re.str=U8;var H8=-1;re.comment=H8;var G8=-2;re.word=G8;var W8=-3;re.combinator=W8});var AT=T(Lu=>{"use strict";y();Lu.__esModule=!0;Lu.FIELDS=void 0;Lu.default=Z8;var X=z8($_()),Na,Re;function IT(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,r=new WeakMap;return(IT=function(n){return n?r:e})(t)}function z8(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var r=IT(e);if(r&&r.has(t))return r.get(t);var i={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var a=n?Object.getOwnPropertyDescriptor(t,s):null;a&&(a.get||a.set)?Object.defineProperty(i,s,a):i[s]=t[s]}return i.default=t,r&&r.set(t,i),i}var J8=(Na={},Na[X.tab]=!0,Na[X.newline]=!0,Na[X.cr]=!0,Na[X.feed]=!0,Na),K8=(Re={},Re[X.space]=!0,Re[X.tab]=!0,Re[X.newline]=!0,Re[X.cr]=!0,Re[X.feed]=!0,Re[X.ampersand]=!0,Re[X.asterisk]=!0,Re[X.bang]=!0,Re[X.comma]=!0,Re[X.colon]=!0,Re[X.semicolon]=!0,Re[X.openParenthesis]=!0,Re[X.closeParenthesis]=!0,Re[X.openSquare]=!0,Re[X.closeSquare]=!0,Re[X.singleQuote]=!0,Re[X.doubleQuote]=!0,Re[X.plus]=!0,Re[X.pipe]=!0,Re[X.tilde]=!0,Re[X.greaterThan]=!0,Re[X.equals]=!0,Re[X.dollar]=!0,Re[X.caret]=!0,Re[X.slash]=!0,Re),U_={},kT="0123456789abcdefABCDEF";for(Nf=0;Nf<kT.length;Nf++)U_[kT.charCodeAt(Nf)]=!0;var Nf;function Q8(t,e){var r=e,i;do{if(i=t.charCodeAt(r),K8[i])return r-1;i===X.backslash?r=Y8(t,r)+1:r++}while(r<t.length);return r-1}function Y8(t,e){var r=e,i=t.charCodeAt(r+1);if(!J8[i])if(U_[i]){var n=0;do r++,n++,i=t.charCodeAt(r+1);while(U_[i]&&n<6);n<6&&i===X.space&&r++}else r++;return r}var X8={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};Lu.FIELDS=X8;function Z8(t){var e=[],r=t.css.valueOf(),i=r,n=i.length,s=-1,a=1,o=0,u=0,l,f,h,p,m,v,S,b,g,k,w,_,A;function E(O,L){if(t.safe)r+=L,g=r.length-1;else throw t.error("Unclosed "+O,a,o-s,o)}for(;o<n;){switch(l=r.charCodeAt(o),l===X.newline&&(s=o,a+=1),l){case X.space:case X.tab:case X.newline:case X.cr:case X.feed:g=o;do g+=1,l=r.charCodeAt(g),l===X.newline&&(s=g,a+=1);while(l===X.space||l===X.newline||l===X.tab||l===X.cr||l===X.feed);A=X.space,p=a,h=g-s-1,u=g;break;case X.plus:case X.greaterThan:case X.tilde:case X.pipe:g=o;do g+=1,l=r.charCodeAt(g);while(l===X.plus||l===X.greaterThan||l===X.tilde||l===X.pipe);A=X.combinator,p=a,h=o-s,u=g;break;case X.asterisk:case X.ampersand:case X.bang:case X.comma:case X.equals:case X.dollar:case X.caret:case X.openSquare:case X.closeSquare:case X.colon:case X.semicolon:case X.openParenthesis:case X.closeParenthesis:g=o,A=l,p=a,h=o-s,u=g+1;break;case X.singleQuote:case X.doubleQuote:_=l===X.singleQuote?"'":'"',g=o;do for(m=!1,g=r.indexOf(_,g+1),g===-1&&E("quote",_),v=g;r.charCodeAt(v-1)===X.backslash;)v-=1,m=!m;while(m);A=X.str,p=a,h=o-s,u=g+1;break;default:l===X.slash&&r.charCodeAt(o+1)===X.asterisk?(g=r.indexOf("*/",o+2)+1,g===0&&E("comment","*/"),f=r.slice(o,g+1),b=f.split(`
1179
1179
  `),S=b.length-1,S>0?(k=a+S,w=g-b[S].length):(k=a,w=s),A=X.comment,a=k,p=k,h=g-w):l===X.slash?(g=o,A=l,p=a,h=o-s,u=g+1):(g=Q8(r,o),A=X.word,p=a,h=g-s),u=g+1;break}e.push([A,a,o-s,p,h,o,u]),w&&(s=w,w=null),o=u}return e}});var CT=T((Pu,qT)=>{"use strict";y();Pu.__esModule=!0;Pu.default=void 0;var eV=Kr(h_()),H_=Kr(m_()),tV=Kr(__()),TT=Kr(b_()),rV=Kr(w_()),iV=Kr(I_()),G_=Kr(T_()),nV=Kr(O_()),ET=Lf(R_()),sV=Kr(D_()),W_=Kr(j_()),aV=Kr(V_()),oV=Kr(wT()),G=Lf(AT()),ee=Lf($_()),uV=Lf(Bt()),He=hu(),ws,z_;function PT(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,r=new WeakMap;return(PT=function(n){return n?r:e})(t)}function Lf(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var r=PT(e);if(r&&r.has(t))return r.get(t);var i={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var a=n?Object.getOwnPropertyDescriptor(t,s):null;a&&(a.get||a.set)?Object.defineProperty(i,s,a):i[s]=t[s]}return i.default=t,r&&r.set(t,i),i}function Kr(t){return t&&t.__esModule?t:{default:t}}function OT(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function cV(t,e,r){return e&&OT(t.prototype,e),r&&OT(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var Q_=(ws={},ws[ee.space]=!0,ws[ee.cr]=!0,ws[ee.feed]=!0,ws[ee.newline]=!0,ws[ee.tab]=!0,ws),lV=Object.assign({},Q_,(z_={},z_[ee.comment]=!0,z_));function NT(t){return{line:t[G.FIELDS.START_LINE],column:t[G.FIELDS.START_COL]}}function LT(t){return{line:t[G.FIELDS.END_LINE],column:t[G.FIELDS.END_COL]}}function xs(t,e,r,i){return{start:{line:t,column:e},end:{line:r,column:i}}}function La(t){return xs(t[G.FIELDS.START_LINE],t[G.FIELDS.START_COL],t[G.FIELDS.END_LINE],t[G.FIELDS.END_COL])}function J_(t,e){if(t)return xs(t[G.FIELDS.START_LINE],t[G.FIELDS.START_COL],e[G.FIELDS.END_LINE],e[G.FIELDS.END_COL])}function Pa(t,e){var r=t[e];if(typeof r=="string")return r.indexOf("\\")!==-1&&((0,He.ensureObject)(t,"raws"),t[e]=(0,He.unesc)(r),t.raws[e]===void 0&&(t.raws[e]=r)),t}function K_(t,e){for(var r=-1,i=[];(r=t.indexOf(e,r+1))!==-1;)i.push(r);return i}function fV(){var t=Array.prototype.concat.apply([],arguments);return t.filter(function(e,r){return r===t.indexOf(e)})}var pV=(function(){function t(r,i){i===void 0&&(i={}),this.rule=r,this.options=Object.assign({lossy:!1,safe:!1},i),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,G.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var n=J_(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new eV.default({source:n}),this.root.errorGenerator=this._errorGenerator();var s=new H_.default({source:{start:{line:1,column:1}},sourceIndex:0});this.root.append(s),this.current=s,this.loop()}var e=t.prototype;return e._errorGenerator=function(){var i=this;return function(n,s){return typeof i.rule=="string"?new Error(n):i.rule.error(n,s)}},e.attribute=function(){var i=[],n=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[G.FIELDS.TYPE]!==ee.closeSquare;)i.push(this.currToken),this.position++;if(this.currToken[G.FIELDS.TYPE]!==ee.closeSquare)return this.expected("closing square bracket",this.currToken[G.FIELDS.START_POS]);var s=i.length,a={source:xs(n[1],n[2],this.currToken[3],this.currToken[4]),sourceIndex:n[G.FIELDS.START_POS]};if(s===1&&!~[ee.word].indexOf(i[0][G.FIELDS.TYPE]))return this.expected("attribute",i[0][G.FIELDS.START_POS]);for(var o=0,u="",l="",f=null,h=!1;o<s;){var p=i[o],m=this.content(p),v=i[o+1];switch(p[G.FIELDS.TYPE]){case ee.space:if(h=!0,this.options.lossy)break;if(f){(0,He.ensureObject)(a,"spaces",f);var S=a.spaces[f].after||"";a.spaces[f].after=S+m;var b=(0,He.getProp)(a,"raws","spaces",f,"after")||null;b&&(a.raws.spaces[f].after=b+m)}else u=u+m,l=l+m;break;case ee.asterisk:if(v[G.FIELDS.TYPE]===ee.equals)a.operator=m,f="operator";else if((!a.namespace||f==="namespace"&&!h)&&v){u&&((0,He.ensureObject)(a,"spaces","attribute"),a.spaces.attribute.before=u,u=""),l&&((0,He.ensureObject)(a,"raws","spaces","attribute"),a.raws.spaces.attribute.before=u,l=""),a.namespace=(a.namespace||"")+m;var g=(0,He.getProp)(a,"raws","namespace")||null;g&&(a.raws.namespace+=m),f="namespace"}h=!1;break;case ee.dollar:if(f==="value"){var k=(0,He.getProp)(a,"raws","value");a.value+="$",k&&(a.raws.value=k+"$");break}case ee.caret:v[G.FIELDS.TYPE]===ee.equals&&(a.operator=m,f="operator"),h=!1;break;case ee.combinator:if(m==="~"&&v[G.FIELDS.TYPE]===ee.equals&&(a.operator=m,f="operator"),m!=="|"){h=!1;break}v[G.FIELDS.TYPE]===ee.equals?(a.operator=m,f="operator"):!a.namespace&&!a.attribute&&(a.namespace=!0),h=!1;break;case ee.word:if(v&&this.content(v)==="|"&&i[o+2]&&i[o+2][G.FIELDS.TYPE]!==ee.equals&&!a.operator&&!a.namespace)a.namespace=m,f="namespace";else if(!a.attribute||f==="attribute"&&!h){u&&((0,He.ensureObject)(a,"spaces","attribute"),a.spaces.attribute.before=u,u=""),l&&((0,He.ensureObject)(a,"raws","spaces","attribute"),a.raws.spaces.attribute.before=l,l=""),a.attribute=(a.attribute||"")+m;var w=(0,He.getProp)(a,"raws","attribute")||null;w&&(a.raws.attribute+=m),f="attribute"}else if(!a.value&&a.value!==""||f==="value"&&!(h||a.quoteMark)){var _=(0,He.unesc)(m),A=(0,He.getProp)(a,"raws","value")||"",E=a.value||"";a.value=E+_,a.quoteMark=null,(_!==m||A)&&((0,He.ensureObject)(a,"raws"),a.raws.value=(A||E)+m),f="value"}else{var O=m==="i"||m==="I";(a.value||a.value==="")&&(a.quoteMark||h)?(a.insensitive=O,(!O||m==="I")&&((0,He.ensureObject)(a,"raws"),a.raws.insensitiveFlag=m),f="insensitive",u&&((0,He.ensureObject)(a,"spaces","insensitive"),a.spaces.insensitive.before=u,u=""),l&&((0,He.ensureObject)(a,"raws","spaces","insensitive"),a.raws.spaces.insensitive.before=l,l="")):(a.value||a.value==="")&&(f="value",a.value+=m,a.raws.value&&(a.raws.value+=m))}h=!1;break;case ee.str:if(!a.attribute||!a.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:p[G.FIELDS.START_POS]});var L=(0,ET.unescapeValue)(m),B=L.unescaped,R=L.quoteMark;a.value=B,a.quoteMark=R,f="value",(0,He.ensureObject)(a,"raws"),a.raws.value=m,h=!1;break;case ee.equals:if(!a.attribute)return this.expected("attribute",p[G.FIELDS.START_POS],m);if(a.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:p[G.FIELDS.START_POS]});a.operator=a.operator?a.operator+m:m,f="operator",h=!1;break;case ee.comment:if(f)if(h||v&&v[G.FIELDS.TYPE]===ee.space||f==="insensitive"){var q=(0,He.getProp)(a,"spaces",f,"after")||"",P=(0,He.getProp)(a,"raws","spaces",f,"after")||q;(0,He.ensureObject)(a,"raws","spaces",f),a.raws.spaces[f].after=P+m}else{var $=a[f]||"",V=(0,He.getProp)(a,"raws",f)||$;(0,He.ensureObject)(a,"raws"),a.raws[f]=V+m}else l=l+m;break;default:return this.error('Unexpected "'+m+'" found.',{index:p[G.FIELDS.START_POS]})}o++}Pa(a,"attribute"),Pa(a,"namespace"),this.newNode(new ET.default(a)),this.position++},e.parseWhitespaceEquivalentTokens=function(i){i<0&&(i=this.tokens.length);var n=this.position,s=[],a="",o=void 0;do if(Q_[this.currToken[G.FIELDS.TYPE]])this.options.lossy||(a+=this.content());else if(this.currToken[G.FIELDS.TYPE]===ee.comment){var u={};a&&(u.before=a,a=""),o=new TT.default({value:this.content(),source:La(this.currToken),sourceIndex:this.currToken[G.FIELDS.START_POS],spaces:u}),s.push(o)}while(++this.position<i);if(a){if(o)o.spaces.after=a;else if(!this.options.lossy){var l=this.tokens[n],f=this.tokens[this.position-1];s.push(new G_.default({value:"",source:xs(l[G.FIELDS.START_LINE],l[G.FIELDS.START_COL],f[G.FIELDS.END_LINE],f[G.FIELDS.END_COL]),sourceIndex:l[G.FIELDS.START_POS],spaces:{before:a,after:""}}))}}return s},e.convertWhitespaceNodesToSpace=function(i,n){var s=this;n===void 0&&(n=!1);var a="",o="";i.forEach(function(l){var f=s.lossySpace(l.spaces.before,n),h=s.lossySpace(l.rawSpaceBefore,n);a+=f+s.lossySpace(l.spaces.after,n&&f.length===0),o+=f+l.value+s.lossySpace(l.rawSpaceAfter,n&&h.length===0)}),o===a&&(o=void 0);var u={space:a,rawSpace:o};return u},e.isNamedCombinator=function(i){return i===void 0&&(i=this.position),this.tokens[i+0]&&this.tokens[i+0][G.FIELDS.TYPE]===ee.slash&&this.tokens[i+1]&&this.tokens[i+1][G.FIELDS.TYPE]===ee.word&&this.tokens[i+2]&&this.tokens[i+2][G.FIELDS.TYPE]===ee.slash},e.namedCombinator=function(){if(this.isNamedCombinator()){var i=this.content(this.tokens[this.position+1]),n=(0,He.unesc)(i).toLowerCase(),s={};n!==i&&(s.value="/"+i+"/");var a=new W_.default({value:"/"+n+"/",source:xs(this.currToken[G.FIELDS.START_LINE],this.currToken[G.FIELDS.START_COL],this.tokens[this.position+2][G.FIELDS.END_LINE],this.tokens[this.position+2][G.FIELDS.END_COL]),sourceIndex:this.currToken[G.FIELDS.START_POS],raws:s});return this.position=this.position+3,a}else this.unexpected()},e.combinator=function(){var i=this;if(this.content()==="|")return this.namespace();var n=this.locateNextMeaningfulToken(this.position);if(n<0||this.tokens[n][G.FIELDS.TYPE]===ee.comma||this.tokens[n][G.FIELDS.TYPE]===ee.closeParenthesis){var s=this.parseWhitespaceEquivalentTokens(n);if(s.length>0){var a=this.current.last;if(a){var o=this.convertWhitespaceNodesToSpace(s),u=o.space,l=o.rawSpace;l!==void 0&&(a.rawSpaceAfter+=l),a.spaces.after+=u}else s.forEach(function(A){return i.newNode(A)})}return}var f=this.currToken,h=void 0;n>this.position&&(h=this.parseWhitespaceEquivalentTokens(n));var p;if(this.isNamedCombinator()?p=this.namedCombinator():this.currToken[G.FIELDS.TYPE]===ee.combinator?(p=new W_.default({value:this.content(),source:La(this.currToken),sourceIndex:this.currToken[G.FIELDS.START_POS]}),this.position++):Q_[this.currToken[G.FIELDS.TYPE]]||h||this.unexpected(),p){if(h){var m=this.convertWhitespaceNodesToSpace(h),v=m.space,S=m.rawSpace;p.spaces.before=v,p.rawSpaceBefore=S}}else{var b=this.convertWhitespaceNodesToSpace(h,!0),g=b.space,k=b.rawSpace;k||(k=g);var w={},_={spaces:{}};g.endsWith(" ")&&k.endsWith(" ")?(w.before=g.slice(0,g.length-1),_.spaces.before=k.slice(0,k.length-1)):g[0]===" "&&k[0]===" "?(w.after=g.slice(1),_.spaces.after=k.slice(1)):_.value=k,p=new W_.default({value:" ",source:J_(f,this.tokens[this.position-1]),sourceIndex:f[G.FIELDS.START_POS],spaces:w,raws:_})}return this.currToken&&this.currToken[G.FIELDS.TYPE]===ee.space&&(p.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(p)},e.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var i=new H_.default({source:{start:NT(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][G.FIELDS.START_POS]});this.current.parent.append(i),this.current=i,this.position++},e.comment=function(){var i=this.currToken;this.newNode(new TT.default({value:this.content(),source:La(i),sourceIndex:i[G.FIELDS.START_POS]})),this.position++},e.error=function(i,n){throw this.root.error(i,n)},e.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[G.FIELDS.START_POS]})},e.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[G.FIELDS.START_POS])},e.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[G.FIELDS.START_POS])},e.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[G.FIELDS.START_POS])},e.unexpectedPipe=function(){return this.error("Unexpected '|'.",this.currToken[G.FIELDS.START_POS])},e.namespace=function(){var i=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[G.FIELDS.TYPE]===ee.word)return this.position++,this.word(i);if(this.nextToken[G.FIELDS.TYPE]===ee.asterisk)return this.position++,this.universal(i);this.unexpectedPipe()},e.nesting=function(){if(this.nextToken){var i=this.content(this.nextToken);if(i==="|"){this.position++;return}}var n=this.currToken;this.newNode(new aV.default({value:this.content(),source:La(n),sourceIndex:n[G.FIELDS.START_POS]})),this.position++},e.parentheses=function(){var i=this.current.last,n=1;if(this.position++,i&&i.type===uV.PSEUDO){var s=new H_.default({source:{start:NT(this.tokens[this.position])},sourceIndex:this.tokens[this.position][G.FIELDS.START_POS]}),a=this.current;for(i.append(s),this.current=s;this.position<this.tokens.length&&n;)this.currToken[G.FIELDS.TYPE]===ee.openParenthesis&&n++,this.currToken[G.FIELDS.TYPE]===ee.closeParenthesis&&n--,n?this.parse():(this.current.source.end=LT(this.currToken),this.current.parent.source.end=LT(this.currToken),this.position++);this.current=a}else{for(var o=this.currToken,u="(",l;this.position<this.tokens.length&&n;)this.currToken[G.FIELDS.TYPE]===ee.openParenthesis&&n++,this.currToken[G.FIELDS.TYPE]===ee.closeParenthesis&&n--,l=this.currToken,u+=this.parseParenthesisToken(this.currToken),this.position++;i?i.appendToPropertyAndEscape("value",u,u):this.newNode(new G_.default({value:u,source:xs(o[G.FIELDS.START_LINE],o[G.FIELDS.START_COL],l[G.FIELDS.END_LINE],l[G.FIELDS.END_COL]),sourceIndex:o[G.FIELDS.START_POS]}))}if(n)return this.expected("closing parenthesis",this.currToken[G.FIELDS.START_POS])},e.pseudo=function(){for(var i=this,n="",s=this.currToken;this.currToken&&this.currToken[G.FIELDS.TYPE]===ee.colon;)n+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[G.FIELDS.TYPE]===ee.word)this.splitWord(!1,function(a,o){n+=a,i.newNode(new nV.default({value:n,source:J_(s,i.currToken),sourceIndex:s[G.FIELDS.START_POS]})),o>1&&i.nextToken&&i.nextToken[G.FIELDS.TYPE]===ee.openParenthesis&&i.error("Misplaced parenthesis.",{index:i.nextToken[G.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[G.FIELDS.START_POS])},e.space=function(){var i=this.content();this.position===0||this.prevToken[G.FIELDS.TYPE]===ee.comma||this.prevToken[G.FIELDS.TYPE]===ee.openParenthesis||this.current.nodes.every(function(n){return n.type==="comment"})?(this.spaces=this.optionalSpace(i),this.position++):this.position===this.tokens.length-1||this.nextToken[G.FIELDS.TYPE]===ee.comma||this.nextToken[G.FIELDS.TYPE]===ee.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(i),this.position++):this.combinator()},e.string=function(){var i=this.currToken;this.newNode(new G_.default({value:this.content(),source:La(i),sourceIndex:i[G.FIELDS.START_POS]})),this.position++},e.universal=function(i){var n=this.nextToken;if(n&&this.content(n)==="|")return this.position++,this.namespace();var s=this.currToken;this.newNode(new sV.default({value:this.content(),source:La(s),sourceIndex:s[G.FIELDS.START_POS]}),i),this.position++},e.splitWord=function(i,n){for(var s=this,a=this.nextToken,o=this.content();a&&~[ee.dollar,ee.caret,ee.equals,ee.word].indexOf(a[G.FIELDS.TYPE]);){this.position++;var u=this.content();if(o+=u,u.lastIndexOf("\\")===u.length-1){var l=this.nextToken;l&&l[G.FIELDS.TYPE]===ee.space&&(o+=this.requiredSpace(this.content(l)),this.position++)}a=this.nextToken}var f=K_(o,".").filter(function(v){var S=o[v-1]==="\\",b=/^\d+\.\d+%$/.test(o);return!S&&!b}),h=K_(o,"#").filter(function(v){return o[v-1]!=="\\"}),p=K_(o,"#{");p.length&&(h=h.filter(function(v){return!~p.indexOf(v)}));var m=(0,oV.default)(fV([0].concat(f,h)));m.forEach(function(v,S){var b=m[S+1]||o.length,g=o.slice(v,b);if(S===0&&n)return n.call(s,g,m.length);var k,w=s.currToken,_=w[G.FIELDS.START_POS]+m[S],A=xs(w[1],w[2]+v,w[3],w[2]+(b-1));if(~f.indexOf(v)){var E={value:g.slice(1),source:A,sourceIndex:_};k=new tV.default(Pa(E,"value"))}else if(~h.indexOf(v)){var O={value:g.slice(1),source:A,sourceIndex:_};k=new rV.default(Pa(O,"value"))}else{var L={value:g,source:A,sourceIndex:_};Pa(L,"value"),k=new iV.default(L)}s.newNode(k,i),i=null}),this.position++},e.word=function(i){var n=this.nextToken;return n&&this.content(n)==="|"?(this.position++,this.namespace()):this.splitWord(i)},e.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},e.parse=function(i){switch(this.currToken[G.FIELDS.TYPE]){case ee.space:this.space();break;case ee.comment:this.comment();break;case ee.openParenthesis:this.parentheses();break;case ee.closeParenthesis:i&&this.missingParenthesis();break;case ee.openSquare:this.attribute();break;case ee.dollar:case ee.caret:case ee.equals:case ee.word:this.word();break;case ee.colon:this.pseudo();break;case ee.comma:this.comma();break;case ee.asterisk:this.universal();break;case ee.ampersand:this.nesting();break;case ee.slash:case ee.combinator:this.combinator();break;case ee.str:this.string();break;case ee.closeSquare:this.missingSquareBracket();case ee.semicolon:this.missingBackslash();default:this.unexpected()}},e.expected=function(i,n,s){if(Array.isArray(i)){var a=i.pop();i=i.join(", ")+" or "+a}var o=/^[aeiou]/.test(i[0])?"an":"a";return s?this.error("Expected "+o+" "+i+', found "'+s+'" instead.',{index:n}):this.error("Expected "+o+" "+i+".",{index:n})},e.requiredSpace=function(i){return this.options.lossy?" ":i},e.optionalSpace=function(i){return this.options.lossy?"":i},e.lossySpace=function(i,n){return this.options.lossy?n?" ":"":i},e.parseParenthesisToken=function(i){var n=this.content(i);return i[G.FIELDS.TYPE]===ee.space?this.requiredSpace(n):n},e.newNode=function(i,n){return n&&(/^ +$/.test(n)&&(this.options.lossy||(this.spaces=(this.spaces||"")+n),n=!0),i.namespace=n,Pa(i,"namespace")),this.spaces&&(i.spaces.before=this.spaces,this.spaces=""),this.current.append(i)},e.content=function(i){return i===void 0&&(i=this.currToken),this.css.slice(i[G.FIELDS.START_POS],i[G.FIELDS.END_POS])},e.locateNextMeaningfulToken=function(i){i===void 0&&(i=this.position+1);for(var n=i;n<this.tokens.length;)if(lV[this.tokens[n][G.FIELDS.TYPE]]){n++;continue}else return n;return-1},cV(t,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),t})();Pu.default=pV;qT.exports=Pu.default});var MT=T((qu,RT)=>{"use strict";y();qu.__esModule=!0;qu.default=void 0;var hV=dV(CT());function dV(t){return t&&t.__esModule?t:{default:t}}var mV=(function(){function t(r,i){this.func=r||function(){},this.funcRes=null,this.options=i}var e=t.prototype;return e._shouldUpdateSelector=function(i,n){n===void 0&&(n={});var s=Object.assign({},this.options,n);return s.updateSelector===!1?!1:typeof i!="string"},e._isLossy=function(i){i===void 0&&(i={});var n=Object.assign({},this.options,i);return n.lossless===!1},e._root=function(i,n){n===void 0&&(n={});var s=new hV.default(i,this._parseOptions(n));return s.root},e._parseOptions=function(i){return{lossy:this._isLossy(i)}},e._run=function(i,n){var s=this;return n===void 0&&(n={}),new Promise(function(a,o){try{var u=s._root(i,n);Promise.resolve(s.func(u)).then(function(l){var f=void 0;return s._shouldUpdateSelector(i,n)&&(f=u.toString(),i.selector=f),{transform:l,root:u,string:f}}).then(a,o)}catch(l){o(l);return}})},e._runSync=function(i,n){n===void 0&&(n={});var s=this._root(i,n),a=this.func(s);if(a&&typeof a.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var o=void 0;return n.updateSelector&&typeof i!="string"&&(o=s.toString(),i.selector=o),{transform:a,root:s,string:o}},e.ast=function(i,n){return this._run(i,n).then(function(s){return s.root})},e.astSync=function(i,n){return this._runSync(i,n).root},e.transform=function(i,n){return this._run(i,n).then(function(s){return s.transform})},e.transformSync=function(i,n){return this._runSync(i,n).transform},e.process=function(i,n){return this._run(i,n).then(function(s){return s.string||s.root.toString()})},e.processSync=function(i,n){var s=this._runSync(i,n);return s.string||s.root.toString()},t})();qu.default=mV;RT.exports=qu.default});var DT=T(Fe=>{"use strict";y();Fe.__esModule=!0;Fe.universal=Fe.tag=Fe.string=Fe.selector=Fe.root=Fe.pseudo=Fe.nesting=Fe.id=Fe.comment=Fe.combinator=Fe.className=Fe.attribute=void 0;var gV=Qr(R_()),yV=Qr(__()),_V=Qr(j_()),vV=Qr(b_()),bV=Qr(w_()),SV=Qr(V_()),wV=Qr(O_()),xV=Qr(h_()),kV=Qr(m_()),IV=Qr(T_()),AV=Qr(I_()),TV=Qr(D_());function Qr(t){return t&&t.__esModule?t:{default:t}}var EV=function(e){return new gV.default(e)};Fe.attribute=EV;var OV=function(e){return new yV.default(e)};Fe.className=OV;var NV=function(e){return new _V.default(e)};Fe.combinator=NV;var LV=function(e){return new vV.default(e)};Fe.comment=LV;var PV=function(e){return new bV.default(e)};Fe.id=PV;var qV=function(e){return new SV.default(e)};Fe.nesting=qV;var CV=function(e){return new wV.default(e)};Fe.pseudo=CV;var RV=function(e){return new xV.default(e)};Fe.root=RV;var MV=function(e){return new kV.default(e)};Fe.selector=MV;var DV=function(e){return new IV.default(e)};Fe.string=DV;var FV=function(e){return new AV.default(e)};Fe.tag=FV;var jV=function(e){return new TV.default(e)};Fe.universal=jV});var VT=T(Ee=>{"use strict";y();Ee.__esModule=!0;Ee.isComment=Ee.isCombinator=Ee.isClassName=Ee.isAttribute=void 0;Ee.isContainer=YV;Ee.isIdentifier=void 0;Ee.isNamespace=XV;Ee.isNesting=void 0;Ee.isNode=Y_;Ee.isPseudo=void 0;Ee.isPseudoClass=QV;Ee.isPseudoElement=BT;Ee.isUniversal=Ee.isTag=Ee.isString=Ee.isSelector=Ee.isRoot=void 0;var Ge=Bt(),wr,BV=(wr={},wr[Ge.ATTRIBUTE]=!0,wr[Ge.CLASS]=!0,wr[Ge.COMBINATOR]=!0,wr[Ge.COMMENT]=!0,wr[Ge.ID]=!0,wr[Ge.NESTING]=!0,wr[Ge.PSEUDO]=!0,wr[Ge.ROOT]=!0,wr[Ge.SELECTOR]=!0,wr[Ge.STRING]=!0,wr[Ge.TAG]=!0,wr[Ge.UNIVERSAL]=!0,wr);function Y_(t){return typeof t=="object"&&BV[t.type]}function Yr(t,e){return Y_(e)&&e.type===t}var FT=Yr.bind(null,Ge.ATTRIBUTE);Ee.isAttribute=FT;var VV=Yr.bind(null,Ge.CLASS);Ee.isClassName=VV;var $V=Yr.bind(null,Ge.COMBINATOR);Ee.isCombinator=$V;var UV=Yr.bind(null,Ge.COMMENT);Ee.isComment=UV;var HV=Yr.bind(null,Ge.ID);Ee.isIdentifier=HV;var GV=Yr.bind(null,Ge.NESTING);Ee.isNesting=GV;var X_=Yr.bind(null,Ge.PSEUDO);Ee.isPseudo=X_;var WV=Yr.bind(null,Ge.ROOT);Ee.isRoot=WV;var zV=Yr.bind(null,Ge.SELECTOR);Ee.isSelector=zV;var JV=Yr.bind(null,Ge.STRING);Ee.isString=JV;var jT=Yr.bind(null,Ge.TAG);Ee.isTag=jT;var KV=Yr.bind(null,Ge.UNIVERSAL);Ee.isUniversal=KV;function BT(t){return X_(t)&&t.value&&(t.value.startsWith("::")||t.value.toLowerCase()===":before"||t.value.toLowerCase()===":after"||t.value.toLowerCase()===":first-letter"||t.value.toLowerCase()===":first-line")}function QV(t){return X_(t)&&!BT(t)}function YV(t){return!!(Y_(t)&&t.walk)}function XV(t){return FT(t)||jT(t)}});var $T=T(mi=>{"use strict";y();mi.__esModule=!0;var Z_=Bt();Object.keys(Z_).forEach(function(t){t==="default"||t==="__esModule"||t in mi&&mi[t]===Z_[t]||(mi[t]=Z_[t])});var ev=DT();Object.keys(ev).forEach(function(t){t==="default"||t==="__esModule"||t in mi&&mi[t]===ev[t]||(mi[t]=ev[t])});var tv=VT();Object.keys(tv).forEach(function(t){t==="default"||t==="__esModule"||t in mi&&mi[t]===tv[t]||(mi[t]=tv[t])})});var GT=T((Cu,HT)=>{"use strict";y();Cu.__esModule=!0;Cu.default=void 0;var ZV=r$(MT()),e$=t$($T());function UT(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,r=new WeakMap;return(UT=function(n){return n?r:e})(t)}function t$(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var r=UT(e);if(r&&r.has(t))return r.get(t);var i={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var a=n?Object.getOwnPropertyDescriptor(t,s):null;a&&(a.get||a.set)?Object.defineProperty(i,s,a):i[s]=t[s]}return i.default=t,r&&r.set(t,i),i}function r$(t){return t&&t.__esModule?t:{default:t}}var rv=function(e){return new ZV.default(e)};Object.assign(rv,e$);delete rv.__esModule;var i$=rv;Cu.default=i$;HT.exports=Cu.default});var je=T(xr=>{"use strict";y();Object.defineProperty(xr,"__esModule",{value:!0});xr.isNodeOfType=ks;xr.isLiquidBranch=n$;xr.isHtmlTag=s$;xr.isAttr=a$;xr.isHtmlAttribute=o$;xr.isValuedHtmlAttribute=u$;xr.valueIncludes=c$;xr.hasAttributeValueOf=l$;xr.isLiquidString=f$;xr.isLoopScopedVariable=p$;xr.isLoopLiquidTag=WT;xr.isWithinRawTagThatDoesNotParseItsContents=m$;var er=ge();function ks(t,e){return e?.type===t}function n$(t){return ks(er.NodeTypes.LiquidBranch,t)}function s$(t,e){return t.name.length===1&&t.name[0].type===er.NodeTypes.TextNode&&t.name[0].value===e&&!!t.blockEndPosition}function a$(t,e){return t.name.length===1&&ks(er.NodeTypes.TextNode,t.name[0])&&t.name[0].value===e}function o$(t){return[er.NodeTypes.AttrUnquoted,er.NodeTypes.AttrDoubleQuoted,er.NodeTypes.AttrSingleQuoted,er.NodeTypes.AttrEmpty].some(e=>ks(e,t))}function u$(t){return[er.NodeTypes.AttrUnquoted,er.NodeTypes.AttrDoubleQuoted,er.NodeTypes.AttrSingleQuoted].some(e=>ks(e,t))}function c$(t,e){let r=new RegExp(`(^|\\s)${e}(\\s|$)`,"g");return t.value.filter(i=>ks(er.NodeTypes.TextNode,i)).some(i=>r.test(i.value))}function l$(t,e){return t.value.length===1&&ks(er.NodeTypes.TextNode,t.value[0])&&t.value[0].value===e}function f$(t){return t.type===er.NodeTypes.String}function p$(t,e){return e.some(r=>r.type===er.NodeTypes.LiquidTag&&WT(r)&&typeof r.markup!="string"&&r.markup.variableName===t)}function WT(t){return er.LoopNamedTags.includes(t.name)}var h$=["raw","stylesheet","javascript","schema"];function d$(t){return t.type===er.NodeTypes.LiquidRawTag&&h$.includes(t.name)}function m$(t){return t.some(d$)}});var kn=T(qa=>{"use strict";y();Object.defineProperty(qa,"__esModule",{value:!0});qa.visit=y$;qa.forEachChildNodes=qf;qa.findCurrentNode=_$;qa.findJSONNode=S$;var Pf=ge();function g$(t){return t!==null&&typeof t=="object"&&typeof t.type=="string"}function y$(t,e){let r=[],i=[{node:t,lineage:[]}],n=(s,a)=>i.push({node:s,lineage:a});for(;i.length>0;){let{node:s,lineage:a}=i.pop(),o=e[s.type],u=o?o(s,a):void 0;Array.isArray(u)?r.push(...u):u!==void 0&&r.push(u),qf(s,a.concat(s),n)}return r}function qf(t,e,r){for(let i of Object.values(t))if(Array.isArray(i))for(let n=i.length-1;n>=0;n--)r(i[n],e);else g$(i)&&r(i,e)}function _$(t,e){let r,i=t,n=[];for(;i!==r;)r=i,qf(i,n.concat(i),(s,a)=>{(b$(s)||v$(s,e)&&zT(s)<=zT(i))&&(i=s,n=a)});return[i,n]}function v$(t,e){switch(t.type){case Pf.NodeTypes.String:case Pf.NodeTypes.VariableLookup:case Pf.NodeTypes.LogicalExpression:case Pf.NodeTypes.Comparison:return t.position.start<=e&&e<=t.position.end;default:return t.position.start<e&&e<=t.position.end}}function zT(t){return t.position.end-t.position.start}function b$(t){return"blockEndPosition"in t?t.blockEndPosition?.end===-1:"children"in t?t.children.length>0:!1}function S$(t,e){let r,i=t,n=[],s=e;for(;i!==r;)r=i,qf(i,n.concat(i),(a,o)=>{a.loc.start.offset<=s&&s<a.loc.end.offset&&(i=a,n=o)});return[i,n]}});var Cf=T(Oi=>{"use strict";y();var JT=Oi&&Oi.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Oi,"__esModule",{value:!0});Oi.extractCSSClassNames=iv;Oi.extractCSSClassesFromLiquidAST=QT;Oi.extractCSSClassesFromLiquidUri=I$;Oi.extractCSSClassesFromAssetUri=A$;Oi.collectUsedClasses=Ru;Oi.collectUsedClassesFromSvg=E$;var Ca=ge(),w$=JT(BA()),x$=JT(GT()),k$=je(),KT=kn();function iv(t){let e=new Set;return(0,w$.default)(t).walkRules(i=>{try{(0,x$.default)().astSync(i.selector).walk(s=>{s.type==="class"&&e.add(s.value)})}catch{}}),e}function QT(t){let e=new Set,r=(0,KT.visit)(t,{LiquidRawTag(i){if(i.name==="stylesheet")return i.body.value}});for(let i of r)for(let n of iv(i))e.add(n);return e}async function I$(t,e){let r=new Set;try{let i=await e.readFile(t);if(!/\{%-?\s*stylesheet/.test(i))return r;let n=(0,Ca.toLiquidHtmlAST)(i);if(n instanceof Error)return r;for(let s of QT(n))r.add(s)}catch{}return r}async function A$(t,e){try{let r=await e.readFile(t);return iv(r)}catch{return new Set}}function T$(t){return t.name.length===1&&t.name[0].type===Ca.NodeTypes.TextNode&&t.name[0].value.toLowerCase()==="class"}function Ru(t,e){for(let r of t){if(!(0,k$.isValuedHtmlAttribute)(r)||!T$(r))continue;let i=r.value;for(let n=0;n<i.length;n++){let s=i[n];if(s.type!==Ca.NodeTypes.TextNode)continue;let a=s,o=a.value,u=a.position.start,l=n>0&&i[n-1].type!==Ca.NodeTypes.TextNode,f=n<i.length-1&&i[n+1].type!==Ca.NodeTypes.TextNode,h=[],p=/\S+/g,m;for(;(m=p.exec(o))!==null;)h.push({className:m[0],startIndex:u+m.index,endIndex:u+m.index+m[0].length});h.length!==0&&(l&&!/^\s/.test(o)&&h.shift(),f&&!/\s$/.test(o)&&h.pop(),e.push(...h))}}}function E$(t,e,r,i){Ru(t,i);try{let n=(0,Ca.toLiquidHtmlAST)(e);if(n instanceof Error)return;let s=[],a={HtmlElement(o){Ru(o.attributes,s)},HtmlVoidElement(o){Ru(o.attributes,s)},HtmlSelfClosingElement(o){Ru(o.attributes,s)}};(0,KT.visit)(n,a);for(let o of s)i.push({className:o.className,startIndex:o.startIndex+r,endIndex:o.endIndex+r})}catch{}}});var Du=T((Mu,nv)=>{y();(function(t,e){if(typeof Mu=="object"&&typeof nv=="object")nv.exports=e();else if(typeof define=="function"&&define.amd)define([],e);else{var r=e();for(var i in r)(typeof Mu=="object"?Mu:t)[i]=r[i]}})(Mu,(()=>(()=>{"use strict";var t={975:n=>{function s(u){if(typeof u!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(u))}function a(u,l){for(var f,h="",p=0,m=-1,v=0,S=0;S<=u.length;++S){if(S<u.length)f=u.charCodeAt(S);else{if(f===47)break;f=47}if(f===47){if(!(m===S-1||v===1))if(m!==S-1&&v===2){if(h.length<2||p!==2||h.charCodeAt(h.length-1)!==46||h.charCodeAt(h.length-2)!==46){if(h.length>2){var b=h.lastIndexOf("/");if(b!==h.length-1){b===-1?(h="",p=0):p=(h=h.slice(0,b)).length-1-h.lastIndexOf("/"),m=S,v=0;continue}}else if(h.length===2||h.length===1){h="",p=0,m=S,v=0;continue}}l&&(h.length>0?h+="/..":h="..",p=2)}else h.length>0?h+="/"+u.slice(m+1,S):h=u.slice(m+1,S),p=S-m-1;m=S,v=0}else f===46&&v!==-1?++v:v=-1}return h}var o={resolve:function(){for(var u,l="",f=!1,h=arguments.length-1;h>=-1&&!f;h--){var p;h>=0?p=arguments[h]:(u===void 0&&(u=process.cwd()),p=u),s(p),p.length!==0&&(l=p+"/"+l,f=p.charCodeAt(0)===47)}return l=a(l,!f),f?l.length>0?"/"+l:"/":l.length>0?l:"."},normalize:function(u){if(s(u),u.length===0)return".";var l=u.charCodeAt(0)===47,f=u.charCodeAt(u.length-1)===47;return(u=a(u,!l)).length!==0||l||(u="."),u.length>0&&f&&(u+="/"),l?"/"+u:u},isAbsolute:function(u){return s(u),u.length>0&&u.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var u,l=0;l<arguments.length;++l){var f=arguments[l];s(f),f.length>0&&(u===void 0?u=f:u+="/"+f)}return u===void 0?".":o.normalize(u)},relative:function(u,l){if(s(u),s(l),u===l||(u=o.resolve(u))===(l=o.resolve(l)))return"";for(var f=1;f<u.length&&u.charCodeAt(f)===47;++f);for(var h=u.length,p=h-f,m=1;m<l.length&&l.charCodeAt(m)===47;++m);for(var v=l.length-m,S=p<v?p:v,b=-1,g=0;g<=S;++g){if(g===S){if(v>S){if(l.charCodeAt(m+g)===47)return l.slice(m+g+1);if(g===0)return l.slice(m+g)}else p>S&&(u.charCodeAt(f+g)===47?b=g:g===0&&(b=0));break}var k=u.charCodeAt(f+g);if(k!==l.charCodeAt(m+g))break;k===47&&(b=g)}var w="";for(g=f+b+1;g<=h;++g)g!==h&&u.charCodeAt(g)!==47||(w.length===0?w+="..":w+="/..");return w.length>0?w+l.slice(m+b):(m+=b,l.charCodeAt(m)===47&&++m,l.slice(m))},_makeLong:function(u){return u},dirname:function(u){if(s(u),u.length===0)return".";for(var l=u.charCodeAt(0),f=l===47,h=-1,p=!0,m=u.length-1;m>=1;--m)if((l=u.charCodeAt(m))===47){if(!p){h=m;break}}else p=!1;return h===-1?f?"/":".":f&&h===1?"//":u.slice(0,h)},basename:function(u,l){if(l!==void 0&&typeof l!="string")throw new TypeError('"ext" argument must be a string');s(u);var f,h=0,p=-1,m=!0;if(l!==void 0&&l.length>0&&l.length<=u.length){if(l.length===u.length&&l===u)return"";var v=l.length-1,S=-1;for(f=u.length-1;f>=0;--f){var b=u.charCodeAt(f);if(b===47){if(!m){h=f+1;break}}else S===-1&&(m=!1,S=f+1),v>=0&&(b===l.charCodeAt(v)?--v==-1&&(p=f):(v=-1,p=S))}return h===p?p=S:p===-1&&(p=u.length),u.slice(h,p)}for(f=u.length-1;f>=0;--f)if(u.charCodeAt(f)===47){if(!m){h=f+1;break}}else p===-1&&(m=!1,p=f+1);return p===-1?"":u.slice(h,p)},extname:function(u){s(u);for(var l=-1,f=0,h=-1,p=!0,m=0,v=u.length-1;v>=0;--v){var S=u.charCodeAt(v);if(S!==47)h===-1&&(p=!1,h=v+1),S===46?l===-1?l=v:m!==1&&(m=1):l!==-1&&(m=-1);else if(!p){f=v+1;break}}return l===-1||h===-1||m===0||m===1&&l===h-1&&l===f+1?"":u.slice(l,h)},format:function(u){if(u===null||typeof u!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof u);return(function(l,f){var h=f.dir||f.root,p=f.base||(f.name||"")+(f.ext||"");return h?h===f.root?h+p:h+"/"+p:p})(0,u)},parse:function(u){s(u);var l={root:"",dir:"",base:"",ext:"",name:""};if(u.length===0)return l;var f,h=u.charCodeAt(0),p=h===47;p?(l.root="/",f=1):f=0;for(var m=-1,v=0,S=-1,b=!0,g=u.length-1,k=0;g>=f;--g)if((h=u.charCodeAt(g))!==47)S===-1&&(b=!1,S=g+1),h===46?m===-1?m=g:k!==1&&(k=1):m!==-1&&(k=-1);else if(!b){v=g+1;break}return m===-1||S===-1||k===0||k===1&&m===S-1&&m===v+1?S!==-1&&(l.base=l.name=v===0&&p?u.slice(1,S):u.slice(v,S)):(v===0&&p?(l.name=u.slice(1,m),l.base=u.slice(1,S)):(l.name=u.slice(v,m),l.base=u.slice(v,S)),l.ext=u.slice(m,S)),v>0?l.dir=u.slice(0,v-1):p&&(l.dir="/"),l},sep:"/",delimiter:":",win32:null,posix:null};o.posix=o,n.exports=o},70:(n,s)=>{if(Object.defineProperty(s,"__esModule",{value:!0}),s.isWindows=void 0,typeof process=="object")s.isWindows=process.platform==="win32";else if(typeof navigator=="object"){let a=navigator.userAgent;s.isWindows=a.indexOf("Windows")>=0}},231:(n,s,a)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.uriToFsPath=s.URI=void 0;let o=a(70),u=/^\w[\w\d+.-]*$/,l=/^\//,f=/^\/\//;function h(R,q){if(!R.scheme&&q)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${R.authority}", path: "${R.path}", query: "${R.query}", fragment: "${R.fragment}"}`);if(R.scheme&&!u.test(R.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(R.path){if(R.authority){if(!l.test(R.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(f.test(R.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}let p="",m="/",v=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class S{static isUri(q){return q instanceof S||!!q&&typeof q.authority=="string"&&typeof q.fragment=="string"&&typeof q.path=="string"&&typeof q.query=="string"&&typeof q.scheme=="string"&&typeof q.fsPath=="string"&&typeof q.with=="function"&&typeof q.toString=="function"}scheme;authority;path;query;fragment;constructor(q,P,$,V,C,F=!1){typeof q=="object"?(this.scheme=q.scheme||p,this.authority=q.authority||p,this.path=q.path||p,this.query=q.query||p,this.fragment=q.fragment||p):(this.scheme=(function(U,W){return U||W?U:"file"})(q,F),this.authority=P||p,this.path=(function(U,W){switch(U){case"https":case"http":case"file":W?W[0]!==m&&(W=m+W):W=m}return W})(this.scheme,$||p),this.query=V||p,this.fragment=C||p,h(this,F))}get fsPath(){return A(this,!1)}with(q){if(!q)return this;let{scheme:P,authority:$,path:V,query:C,fragment:F}=q;return P===void 0?P=this.scheme:P===null&&(P=p),$===void 0?$=this.authority:$===null&&($=p),V===void 0?V=this.path:V===null&&(V=p),C===void 0?C=this.query:C===null&&(C=p),F===void 0?F=this.fragment:F===null&&(F=p),P===this.scheme&&$===this.authority&&V===this.path&&C===this.query&&F===this.fragment?this:new g(P,$,V,C,F)}static parse(q,P=!1){let $=v.exec(q);return $?new g($[2]||p,B($[4]||p),B($[5]||p),B($[7]||p),B($[9]||p),P):new g(p,p,p,p,p)}static file(q){let P=p;if(o.isWindows&&(q=q.replace(/\\/g,m)),q[0]===m&&q[1]===m){let $=q.indexOf(m,2);$===-1?(P=q.substring(2),q=m):(P=q.substring(2,$),q=q.substring($)||m)}return new g("file",P,q,p,p)}static from(q){let P=new g(q.scheme,q.authority,q.path,q.query,q.fragment);return h(P,!0),P}toString(q=!1){return E(this,q)}toJSON(){return this}static revive(q){if(q){if(q instanceof S)return q;{let P=new g(q);return P._formatted=q.external,P._fsPath=q._sep===b?q.fsPath:null,P}}return q}}s.URI=S;let b=o.isWindows?1:void 0;class g extends S{_formatted=null;_fsPath=null;get fsPath(){return this._fsPath||(this._fsPath=A(this,!1)),this._fsPath}toString(q=!1){return q?E(this,!0):(this._formatted||(this._formatted=E(this,!1)),this._formatted)}toJSON(){let q={$mid:1};return this._fsPath&&(q.fsPath=this._fsPath,q._sep=b),this._formatted&&(q.external=this._formatted),this.path&&(q.path=this.path),this.scheme&&(q.scheme=this.scheme),this.authority&&(q.authority=this.authority),this.query&&(q.query=this.query),this.fragment&&(q.fragment=this.fragment),q}}let k={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function w(R,q,P){let $,V=-1;for(let C=0;C<R.length;C++){let F=R.charCodeAt(C);if(F>=97&&F<=122||F>=65&&F<=90||F>=48&&F<=57||F===45||F===46||F===95||F===126||q&&F===47||P&&F===91||P&&F===93||P&&F===58)V!==-1&&($+=encodeURIComponent(R.substring(V,C)),V=-1),$!==void 0&&($+=R.charAt(C));else{$===void 0&&($=R.substr(0,C));let U=k[F];U!==void 0?(V!==-1&&($+=encodeURIComponent(R.substring(V,C)),V=-1),$+=U):V===-1&&(V=C)}}return V!==-1&&($+=encodeURIComponent(R.substring(V))),$!==void 0?$:R}function _(R){let q;for(let P=0;P<R.length;P++){let $=R.charCodeAt(P);$===35||$===63?(q===void 0&&(q=R.substr(0,P)),q+=k[$]):q!==void 0&&(q+=R[P])}return q!==void 0?q:R}function A(R,q){let P;return P=R.authority&&R.path.length>1&&R.scheme==="file"?`//${R.authority}${R.path}`:R.path.charCodeAt(0)===47&&(R.path.charCodeAt(1)>=65&&R.path.charCodeAt(1)<=90||R.path.charCodeAt(1)>=97&&R.path.charCodeAt(1)<=122)&&R.path.charCodeAt(2)===58?q?R.path.substr(1):R.path[1].toLowerCase()+R.path.substr(2):R.path,o.isWindows&&(P=P.replace(/\//g,"\\")),P}function E(R,q){let P=q?_:w,$="",{scheme:V,authority:C,path:F,query:U,fragment:W}=R;if(V&&($+=V,$+=":"),(C||V==="file")&&($+=m,$+=m),C){let Q=C.indexOf("@");if(Q!==-1){let K=C.substr(0,Q);C=C.substr(Q+1),Q=K.lastIndexOf(":"),Q===-1?$+=P(K,!1,!1):($+=P(K.substr(0,Q),!1,!1),$+=":",$+=P(K.substr(Q+1),!1,!0)),$+="@"}C=C.toLowerCase(),Q=C.lastIndexOf(":"),Q===-1?$+=P(C,!1,!0):($+=P(C.substr(0,Q),!1,!0),$+=C.substr(Q))}if(F){if(F.length>=3&&F.charCodeAt(0)===47&&F.charCodeAt(2)===58){let Q=F.charCodeAt(1);Q>=65&&Q<=90&&(F=`/${String.fromCharCode(Q+32)}:${F.substr(3)}`)}else if(F.length>=2&&F.charCodeAt(1)===58){let Q=F.charCodeAt(0);Q>=65&&Q<=90&&(F=`${String.fromCharCode(Q+32)}:${F.substr(2)}`)}$+=P(F,!0,!1)}return U&&($+="?",$+=P(U,!1,!1)),W&&($+="#",$+=q?W:w(W,!1,!1)),$}function O(R){try{return decodeURIComponent(R)}catch{return R.length>3?R.substr(0,3)+O(R.substr(3)):R}}s.uriToFsPath=A;let L=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function B(R){return R.match(L)?R.replace(L,(q=>O(q))):R}},552:function(n,s,a){var o=this&&this.__createBinding||(Object.create?function(v,S,b,g){g===void 0&&(g=b);var k=Object.getOwnPropertyDescriptor(S,b);k&&!("get"in k?!S.__esModule:k.writable||k.configurable)||(k={enumerable:!0,get:function(){return S[b]}}),Object.defineProperty(v,g,k)}:function(v,S,b,g){g===void 0&&(g=b),v[g]=S[b]}),u=this&&this.__setModuleDefault||(Object.create?function(v,S){Object.defineProperty(v,"default",{enumerable:!0,value:S})}:function(v,S){v.default=S}),l=this&&this.__importStar||function(v){if(v&&v.__esModule)return v;var S={};if(v!=null)for(var b in v)b!=="default"&&Object.prototype.hasOwnProperty.call(v,b)&&o(S,v,b);return u(S,v),S};Object.defineProperty(s,"__esModule",{value:!0}),s.Utils=void 0;let f=l(a(975)),h=f.posix||f,p="/";var m;(function(v){v.joinPath=function(S,...b){return S.with({path:h.join(S.path,...b)})},v.resolvePath=function(S,...b){let g=S.path,k=!1;g[0]!==p&&(g=p+g,k=!0);let w=h.resolve(g,...b);return k&&w[0]===p&&!S.authority&&(w=w.substring(1)),S.with({path:w})},v.dirname=function(S){if(S.path.length===0||S.path===p)return S;let b=h.dirname(S.path);return b.length===1&&b.charCodeAt(0)===46&&(b=""),S.with({path:b})},v.basename=function(S){return h.basename(S.path)},v.extname=function(S){return h.extname(S.path)}})(m||(s.Utils=m={}))}},e={};function r(n){var s=e[n];if(s!==void 0)return s.exports;var a=e[n]={exports:{}};return t[n].call(a.exports,a,a.exports,r),a.exports}var i={};return(()=>{var n=i;Object.defineProperty(n,"__esModule",{value:!0}),n.Utils=n.URI=void 0;let s=r(231);Object.defineProperty(n,"URI",{enumerable:!0,get:function(){return s.URI}});let a=r(552);Object.defineProperty(n,"Utils",{enumerable:!0,get:function(){return a.Utils}})})(),i})()))});var Is=T(Pr=>{"use strict";y();Object.defineProperty(Pr,"__esModule",{value:!0});Pr.Utils=Pr.URI=void 0;Pr.relative=O$;Pr.join=N$;Pr.resolve=L$;Pr.normalize=Fu;Pr.dirname=P$;Pr.basename=q$;Pr.fsPath=C$;var In=Du();Object.defineProperty(Pr,"URI",{enumerable:!0,get:function(){return In.URI}});Object.defineProperty(Pr,"Utils",{enumerable:!0,get:function(){return In.Utils}});function O$(t,e){return Fu(t).replace(e,"").replace(/\\\\/g,"/").replace(/^\/+/,"")}function N$(t,...e){return Fu(In.Utils.joinPath(Ra(t),...e))}function L$(t,e){return Fu(In.Utils.resolvePath(Ra(t),e))}function Fu(t){return Ra(t).toString(!0).replace(/\\/g,"/")}function P$(t){return Fu(In.Utils.dirname(Ra(t)))}function q$(t,e){let r=In.Utils.basename(Ra(t));return e?r.replace(new RegExp(`${e.replace(/\./g,"\\.")}$`),""):r}function C$(t){return Ra(t).fsPath}function Ra(t){return In.URI.isUri(t)?t:In.URI.parse(t)}});var sv=T(Xr=>{"use strict";y();Object.defineProperty(Xr,"__esModule",{value:!0});Xr.location=Xr.JSONCParseErrors=void 0;Xr.toJSONNode=D$;var R$=Ce(),M$=(xi(),Zm(ca)),Rf=class extends Error{errors;constructor(e,r){super(e),this.errors=r}};Xr.JSONCParseErrors=Rf;function D$(t){let e=[],r=(0,M$.parseTree)(t,e,{allowTrailingComma:!0,disallowComments:!1});if(e.length||r===void 0)throw new Rf("Failed to parse JSONC",e);return Mf(r)}function Mf(t){switch(t.type){case"object":return F$(t);case"property":return B$(t);case"array":return j$(t);case"boolean":case"null":case"number":case"string":return $$(t);default:(0,R$.assertNever)(t.type)}}function F$(t){return{type:"Object",children:(t.children??[]).map(Mf),loc:(0,Xr.location)(t.offset,t.offset+t.length)}}function j$(t){return{type:"Array",children:t.children.map(Mf),loc:(0,Xr.location)(t.offset,t.offset+t.length)}}function B$(t){return{type:"Property",key:V$(t.children[0]),value:Mf(t.children[1]),loc:(0,Xr.location)(t.offset,t.offset+t.length)}}function V$(t){return{type:"Identifier",value:t.value,raw:JSON.stringify(t.value),loc:(0,Xr.location)(t.offset,t.offset+t.length)}}function $$(t){return{type:"Literal",value:t.value,raw:JSON.stringify(t.value),loc:(0,Xr.location)(t.offset,t.offset+t.length)}}var U$=(t,e)=>({start:YT(t),end:YT(e)});Xr.location=U$;var YT=t=>({offset:t})});var ZT=T(XT=>{"use strict";y();Object.defineProperty(XT,"__esModule",{value:!0})});var eE=T(Df=>{"use strict";y();Object.defineProperty(Df,"__esModule",{value:!0});Df.SchemaProp=void 0;var av=class t{options;constructor(e){this.options=e}static string(e){return new t({type:"string",defaultValue:e})}static number(e){return new t({type:"number",defaultValue:e})}static boolean(e){return new t({type:"boolean",defaultValue:e})}static object(e,r){return new t({type:"object",defaultValue:r,properties:e})}static array(e,r){return new t({type:"array",defaultValue:r,itemType:e})}optional(){return this.options.optional=!0,this}defaultValue(){return this.options.defaultValue}};Df.SchemaProp=av});var rE=T(tE=>{"use strict";y();Object.defineProperty(tE,"__esModule",{value:!0})});var nE=T(iE=>{"use strict";y();Object.defineProperty(iE,"__esModule",{value:!0})});var sE=T(Ff=>{"use strict";y();Object.defineProperty(Ff,"__esModule",{value:!0});Ff.Setting=void 0;var H$=nE();Object.defineProperty(Ff,"Setting",{enumerable:!0,get:function(){return H$.Setting}})});var oE=T(rn=>{"use strict";y();var G$=rn&&rn.__createBinding||(Object.create?(function(t,e,r,i){i===void 0&&(i=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,i,n)}):(function(t,e,r,i){i===void 0&&(i=r),t[i]=e[r]})),W$=rn&&rn.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&G$(e,t,r)};Object.defineProperty(rn,"__esModule",{value:!0});rn.ThemeSchemaType=void 0;W$(sE(),rn);var aE;(function(t){t.AppBlock="app-block",t.Block="block",t.Section="section"})(aE||(rn.ThemeSchemaType=aE={}))});var Y=T(Oe=>{"use strict";y();var z$=Oe&&Oe.__createBinding||(Object.create?(function(t,e,r,i){i===void 0&&(i=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,i,n)}):(function(t,e,r,i){i===void 0&&(i=r),t[i]=e[r]})),jf=Oe&&Oe.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&z$(e,t,r)};Object.defineProperty(Oe,"__esModule",{value:!0});Oe.ConfigTarget=Oe.Severity=Oe.LiquidHtmlNodeTypes=Oe.SourceCodeType=Oe.Modes=Oe.isLiteralNode=Oe.isValueNode=Oe.isPropertyNode=Oe.isArrayNode=Oe.isObjectNode=void 0;var J$=ge();Object.defineProperty(Oe,"LiquidHtmlNodeTypes",{enumerable:!0,get:function(){return J$.NodeTypes}});jf(ZT(),Oe);jf(eE(),Oe);jf(rE(),Oe);jf(oE(),Oe);var K$=t=>t?.type==="Object";Oe.isObjectNode=K$;var Q$=t=>t?.type==="Array";Oe.isArrayNode=Q$;var Y$=t=>t?.type==="Property";Oe.isPropertyNode=Y$;var X$=t=>t?.type==="Value";Oe.isValueNode=X$;var Z$=t=>t?.type==="Literal";Oe.isLiteralNode=Z$;Oe.Modes=["theme","app"];var uE;(function(t){t.JSON="JSON",t.LiquidHtml="LiquidHtml"})(uE||(Oe.SourceCodeType=uE={}));var cE;(function(t){t[t.ERROR=0]="ERROR",t[t.WARNING=1]="WARNING",t[t.INFO=2]="INFO"})(cE||(Oe.Severity=cE={}));var lE;(function(t){t.All="all",t.Recommended="recommended",t.ThemeAppExtension="theme-app-extension"})(lE||(Oe.ConfigTarget=lE={}))});var Bf=T(gi=>{"use strict";y();var eU=gi&&gi.__createBinding||(Object.create?(function(t,e,r,i){i===void 0&&(i=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,i,n)}):(function(t,e,r,i){i===void 0&&(i=r),t[i]=e[r]})),tU=gi&&gi.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),rU=gi&&gi.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var i=[];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(i[i.length]=n);return i},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var i=t(e),n=0;n<i.length;n++)i[n]!=="default"&&eU(r,e,i[n]);return tU(r,e),r}})();Object.defineProperty(gi,"__esModule",{value:!0});gi.toLiquidHTMLAST=dE;gi.toJSONAST=mE;gi.toSourceCode=sU;var iU=ge(),nU=sv(),fE=rU(Is()),pE=Y(),hE=pl();function dE(t){try{return(0,iU.toLiquidHtmlAST)(t)}catch(e){return(0,hE.asError)(e)}}function mE(t){try{return(0,nU.toJSONNode)(t)}catch(e){return(0,hE.asError)(e)}}function sU(t,e,r){return t.endsWith(".liquid")?{uri:fE.normalize(t),source:e,type:pE.SourceCodeType.LiquidHtml,ast:dE(e),version:r}:{uri:fE.normalize(t),source:e,type:pE.SourceCodeType.JSON,ast:mE(e),version:r}}});var xt=T(wt=>{"use strict";y();var aU=wt&&wt.__createBinding||(Object.create?(function(t,e,r,i){i===void 0&&(i=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,i,n)}):(function(t,e,r,i){i===void 0&&(i=r),t[i]=e[r]})),oU=wt&&wt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),uU=wt&&wt.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var i=[];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(i[i.length]=n);return i},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var i=t(e),n=0;n<i.length;n++)i[n]!=="default"&&aU(r,e,i[n]);return oU(r,e),r}})();Object.defineProperty(wt,"__esModule",{value:!0});wt.toSchema=cU;wt.isBlock=Vf;wt.isSection=uv;wt.isSnippet=lU;wt.isBlockSchema=fU;wt.isSectionSchema=pU;wt.toBlockSchema=bE;wt.toSectionSchema=SE;wt.toAppBlockSchema=wE;wt.getSchema=hU;wt.getSchemaFromJSON=dU;var ov=ge(),gE=ze(),As=uU(Is()),yE=Bf(),Ma=Y(),_E=kn();async function cU(t,e,r,i,n=!0){if(r.type===Ma.SourceCodeType.LiquidHtml)switch(!0){case(t==="app"&&Vf(e)):return wE(e,r.ast,n);case(t==="theme"&&Vf(e)):return bE(e,r.ast,i,n);case(t==="theme"&&uv(e)):return SE(e,r.ast,i,n);default:return}}function Vf(t){return As.dirname(t).endsWith("blocks")}function uv(t){return As.dirname(t).endsWith("sections")}function lU(t){return As.dirname(t).endsWith("snippets")}function fU(t){return t?.type===Ma.ThemeSchemaType.Block}function pU(t){return t?.type===Ma.ThemeSchemaType.Section}async function vE(t,e,r,i){return i?e instanceof Error||await i(t,e.body.value)?r:new Error("Invalid schema"):new Error("No JSON validator provided")}async function bE(t,e,r,i){let n=As.basename(t,".liquid"),s=cv(e),a=xE(e),o=lv(s,i),u=fv(s);return{type:Ma.ThemeSchemaType.Block,validSchema:await vE(t,s,o,r),offset:s instanceof Error?0:s.blockStartPosition.end,name:n,parsed:o,ast:u,value:s instanceof Error?"":s.body.value,staticBlockDefs:a}}async function SE(t,e,r,i){let n=As.basename(t,".liquid"),s=cv(e),a=xE(e),o=lv(s,i),u=fv(s);return{type:Ma.ThemeSchemaType.Section,validSchema:await vE(t,s,o,r),offset:s instanceof Error?0:s.blockStartPosition.end,name:n,parsed:o,ast:u,value:s instanceof Error?"":s.body.value,staticBlockDefs:a}}async function wE(t,e,r){let i=As.basename(t,".liquid"),n=cv(e),s=lv(n,r),a=fv(n);return{type:Ma.ThemeSchemaType.AppBlock,offset:n instanceof Error?0:n.blockStartPosition.end,name:i,parsed:s,ast:a,value:n instanceof Error?"":n.body.value}}function cv(t){return t instanceof Error?t:(0,_E.visit)(t,{LiquidRawTag(e){if(e.name==="schema")return e}})[0]??new Error("No schema tag found")}function xE(t){return t instanceof Error?[]:(0,_E.visit)(t,{LiquidTag(e){if(e.name!==ov.NamedTags.content_for||typeof e.markup=="string")return;let r=e.markup;if(r.contentForType.value!=="block")return;let i=r.args.find(s=>s.name==="type"),n=r.args.find(s=>s.name==="id");if(!(!i||!n)&&i.value.type===ov.NodeTypes.String&&n.value.type===ov.NodeTypes.String)return{type:i.value.value,id:n.value.value}}})}function hU(t){let e=As.basename(t.file.uri,".liquid");switch(!0){case Vf(t.file.uri):return t.getBlockSchema?.(e);case uv(t.file.uri):return t.getSectionSchema?.(e);default:return}}async function dU(t){let e=t.file.source,r=(0,gE.parseJSON)(e),i=(0,yE.toJSONAST)(e);return{parsed:r,ast:i}}function lv(t,e){return t instanceof Error?t:(0,gE.parseJSON)(t.body.value,void 0,e)}function fv(t){return t instanceof Error?t:(0,yE.toJSONAST)(t.body.value)}});var $f=T(ju=>{"use strict";y();Object.defineProperty(ju,"__esModule",{value:!0});ju.getAncestorUris=mU;ju.getAllSnippetDescendantUris=gU;ju.getRenderedSnippetUris=yU;var kE=xt();async function mU(t,e){let r=[],i=new Set,n=[t];for(;n.length>0;){let s=n.shift();if(i.has(s))continue;i.add(s);let a=await e(s);for(let o of a)o.type==="direct"&&!i.has(o.source.uri)&&(r.push(o.source.uri),n.push(o.source.uri))}return r}async function gU(t,e){let r=[],i=new Set,n=[...t];for(;n.length>0;){let s=n.shift();if(i.has(s))continue;i.add(s),r.push(s);let a=await e(s);for(let o of a)o.type==="direct"&&(0,kE.isSnippet)(o.target.uri)&&!i.has(o.target.uri)&&n.push(o.target.uri)}return r}async function yU(t,e){return(await e(t)).filter(i=>i.type==="direct"&&(0,kE.isSnippet)(i.target.uri)).map(i=>i.target.uri)}});var Ce=T(tr=>{"use strict";y();var _U=tr&&tr.__createBinding||(Object.create?(function(t,e,r,i){i===void 0&&(i=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,i,n)}):(function(t,e,r,i){i===void 0&&(i=r),t[i]=e[r]})),Ni=tr&&tr.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&_U(e,t,r)};Object.defineProperty(tr,"__esModule",{value:!0});Ni(tg(),tr);Ni(Aw(),tr);Ni(Lw(),tr);Ni(pl(),tr);Ni(sg(),tr);Ni(og(),tr);Ni(cg(),tr);Ni(Yw(),tr);Ni(Cf(),tr);Ni($f(),tr)});var hv=T(Uf=>{"use strict";y();Object.defineProperty(Uf,"__esModule",{value:!0});Uf.AugmentedThemeDocset=void 0;var Bu=Ce(),IE=t=>({name:t}),vU=[["camelcase","camelize"],["handle","handleize"],["t","translate"]],bU=t=>([e,r])=>{let i=t.find(n=>n.name===r);return i?{...i,name:e}:IE(e)},SU=["_online_store_editor_live_setting","addresses_url","app_block_path?","app_block_path_for","app_extension_path?","app_snippet_path?","cancel_customer_order_link","debug","delete_customer_address_link","dev_shop?","distance_from","edit_customer_address_link","encode_url_component","excerpt","format_code","global_block_type?","h","handle_from","installments_pricing","link_to_theme","login_button","login_url","logout_url","pad_spaces","paragraphize","recover_password_link","recover_url","register_url","registration_uuid_from","root_account_url","sentence","theme_url","unit","weight"],wU=["locale","direction","skip_to_content_link","checkout_html_classes","checkout_stylesheets","checkout_scripts","content_for_logo","breadcrumb","order_summary_toggle","content_for_order_summary","alternative_payment_methods","content_for_footer","tracking_code"],AE=(t,e,r)=>({name:t,...e&&{access:e},...r&&{return_type:r}}),xU=["customer_address","product_variant"],kU=wU.map(t=>AE(t,{global:!1,parents:[],template:[]},[{type:"string",name:""}])),IU=t=>({name:t}),AU=["elsif","ifchanged","when","schema"],pv=class{themeDocset;constructor(e){this.themeDocset=e}isAugmented=!0;filters=(0,Bu.memo)(async()=>{let e=await this.themeDocset.filters();return[...e,...vU.map(bU(e)),...SU.map(IE)]});objects=(0,Bu.memo)(async()=>[...await this.themeDocset.objects(),...xU.map(e=>AE(e)),...kU]);liquidDrops=(0,Bu.memo)(async()=>(await this.themeDocset.objects()).filter(e=>e.access?e.deprecated?!1:!e.access.global||e.access.global&&e.access.parents.length>0:!0));tags=(0,Bu.memo)(async()=>[...await this.themeDocset.tags(),...AU.map(IU)]);systemTranslations=(0,Bu.memo)(async()=>this.themeDocset.systemTranslations())};Uf.AugmentedThemeDocset=pv});function Ts(t,e){if(t===e)return!0;if(t==null||e===null||e===void 0||typeof t!=typeof e||typeof t!="object"||Array.isArray(t)!==Array.isArray(e))return!1;let r,i;if(Array.isArray(t)){if(t.length!==e.length)return!1;for(r=0;r<t.length;r++)if(!Ts(t[r],e[r]))return!1}else{let n=[];for(i in t)n.push(i);n.sort();let s=[];for(i in e)s.push(i);if(s.sort(),!Ts(n,s))return!1;for(r=0;r<n.length;r++)if(!Ts(t[n[r]],e[n[r]]))return!1}return!0}function Vt(t){return typeof t=="number"}function qr(t){return typeof t<"u"}function Zr(t){return typeof t=="boolean"}function Hf(t){return typeof t=="string"}function Li(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}var Vu=Ae(()=>{y()});function TU(t,e){if(t.length<e.length)return!1;for(let r=0;r<e.length;r++)if(t[r]!==e[r])return!1;return!0}function An(t,e){let r=t.length-e.length;return r>0?t.lastIndexOf(e)===r:r===0?t===e:!1}function Es(t){let e="";TU(t,"(?i)")&&(t=t.substring(4),e="i");try{return new RegExp(t,e+"u")}catch{try{return new RegExp(t,e)}catch{return}}}function dv(t){let e=0;for(let r=0;r<t.length;r++){e++;let i=t.charCodeAt(r);55296<=i&&i<=56319&&r++}return e}var $u=Ae(()=>{y()});var Gf,mv,EE,Wf,Me,oe,nn,OE,Uu,zf,Jf,Tn,Kf,gv,$t,NE,LE,Cr,En,rr,yv,Da,PE,Hu,_v,vv,bv,Gu,qE,Qf,Sv,CE,Pi,Os,Ut,Ke,Yf,RE,ME,DE,Fa,Xf,ja,Zf,FE,jE,ep,tp,Rr,BE,rp,VE,ip,np,sp,ap,op,$E,UE,up,Ns,HE,GE,WE,zE,JE,KE,QE,wv,xv,YE,XE,ZE,eO,tO,rO,iO,nO,sO,kv,D,Iv=Ae(()=>{"use strict";y();(function(t){function e(r){return typeof r=="string"}t.is=e})(Gf||(Gf={}));(function(t){function e(r){return typeof r=="string"}t.is=e})(mv||(mv={}));(function(t){t.MIN_VALUE=-2147483648,t.MAX_VALUE=2147483647;function e(r){return typeof r=="number"&&t.MIN_VALUE<=r&&r<=t.MAX_VALUE}t.is=e})(EE||(EE={}));(function(t){t.MIN_VALUE=0,t.MAX_VALUE=2147483647;function e(r){return typeof r=="number"&&t.MIN_VALUE<=r&&r<=t.MAX_VALUE}t.is=e})(Wf||(Wf={}));(function(t){function e(i,n){return i===Number.MAX_VALUE&&(i=Wf.MAX_VALUE),n===Number.MAX_VALUE&&(n=Wf.MAX_VALUE),{line:i,character:n}}t.create=e;function r(i){let n=i;return D.objectLiteral(n)&&D.uinteger(n.line)&&D.uinteger(n.character)}t.is=r})(Me||(Me={}));(function(t){function e(i,n,s,a){if(D.uinteger(i)&&D.uinteger(n)&&D.uinteger(s)&&D.uinteger(a))return{start:Me.create(i,n),end:Me.create(s,a)};if(Me.is(i)&&Me.is(n))return{start:i,end:n};throw new Error(`Range#create called with invalid arguments[${i}, ${n}, ${s}, ${a}]`)}t.create=e;function r(i){let n=i;return D.objectLiteral(n)&&Me.is(n.start)&&Me.is(n.end)}t.is=r})(oe||(oe={}));(function(t){function e(i,n){return{uri:i,range:n}}t.create=e;function r(i){let n=i;return D.objectLiteral(n)&&oe.is(n.range)&&(D.string(n.uri)||D.undefined(n.uri))}t.is=r})(nn||(nn={}));(function(t){function e(i,n,s,a){return{targetUri:i,targetRange:n,targetSelectionRange:s,originSelectionRange:a}}t.create=e;function r(i){let n=i;return D.objectLiteral(n)&&oe.is(n.targetRange)&&D.string(n.targetUri)&&oe.is(n.targetSelectionRange)&&(oe.is(n.originSelectionRange)||D.undefined(n.originSelectionRange))}t.is=r})(OE||(OE={}));(function(t){function e(i,n,s,a){return{red:i,green:n,blue:s,alpha:a}}t.create=e;function r(i){let n=i;return D.objectLiteral(n)&&D.numberRange(n.red,0,1)&&D.numberRange(n.green,0,1)&&D.numberRange(n.blue,0,1)&&D.numberRange(n.alpha,0,1)}t.is=r})(Uu||(Uu={}));(function(t){function e(i,n){return{range:i,color:n}}t.create=e;function r(i){let n=i;return D.objectLiteral(n)&&oe.is(n.range)&&Uu.is(n.color)}t.is=r})(zf||(zf={}));(function(t){function e(i,n,s){return{label:i,textEdit:n,additionalTextEdits:s}}t.create=e;function r(i){let n=i;return D.objectLiteral(n)&&D.string(n.label)&&(D.undefined(n.textEdit)||rr.is(n))&&(D.undefined(n.additionalTextEdits)||D.typedArray(n.additionalTextEdits,rr.is))}t.is=r})(Jf||(Jf={}));(function(t){t.Comment="comment",t.Imports="imports",t.Region="region"})(Tn||(Tn={}));(function(t){function e(i,n,s,a,o,u){let l={startLine:i,endLine:n};return D.defined(s)&&(l.startCharacter=s),D.defined(a)&&(l.endCharacter=a),D.defined(o)&&(l.kind=o),D.defined(u)&&(l.collapsedText=u),l}t.create=e;function r(i){let n=i;return D.objectLiteral(n)&&D.uinteger(n.startLine)&&D.uinteger(n.startLine)&&(D.undefined(n.startCharacter)||D.uinteger(n.startCharacter))&&(D.undefined(n.endCharacter)||D.uinteger(n.endCharacter))&&(D.undefined(n.kind)||D.string(n.kind))}t.is=r})(Kf||(Kf={}));(function(t){function e(i,n){return{location:i,message:n}}t.create=e;function r(i){let n=i;return D.defined(n)&&nn.is(n.location)&&D.string(n.message)}t.is=r})(gv||(gv={}));(function(t){t.Error=1,t.Warning=2,t.Information=3,t.Hint=4})($t||($t={}));(function(t){t.Unnecessary=1,t.Deprecated=2})(NE||(NE={}));(function(t){function e(r){let i=r;return D.objectLiteral(i)&&D.string(i.href)}t.is=e})(LE||(LE={}));(function(t){function e(i,n,s,a,o,u){let l={range:i,message:n};return D.defined(s)&&(l.severity=s),D.defined(a)&&(l.code=a),D.defined(o)&&(l.source=o),D.defined(u)&&(l.relatedInformation=u),l}t.create=e;function r(i){var n;let s=i;return D.defined(s)&&oe.is(s.range)&&D.string(s.message)&&(D.number(s.severity)||D.undefined(s.severity))&&(D.integer(s.code)||D.string(s.code)||D.undefined(s.code))&&(D.undefined(s.codeDescription)||D.string((n=s.codeDescription)===null||n===void 0?void 0:n.href))&&(D.string(s.source)||D.undefined(s.source))&&(D.undefined(s.relatedInformation)||D.typedArray(s.relatedInformation,gv.is))}t.is=r})(Cr||(Cr={}));(function(t){function e(i,n,...s){let a={title:i,command:n};return D.defined(s)&&s.length>0&&(a.arguments=s),a}t.create=e;function r(i){let n=i;return D.defined(n)&&D.string(n.title)&&D.string(n.command)}t.is=r})(En||(En={}));(function(t){function e(s,a){return{range:s,newText:a}}t.replace=e;function r(s,a){return{range:{start:s,end:s},newText:a}}t.insert=r;function i(s){return{range:s,newText:""}}t.del=i;function n(s){let a=s;return D.objectLiteral(a)&&D.string(a.newText)&&oe.is(a.range)}t.is=n})(rr||(rr={}));(function(t){function e(i,n,s){let a={label:i};return n!==void 0&&(a.needsConfirmation=n),s!==void 0&&(a.description=s),a}t.create=e;function r(i){let n=i;return D.objectLiteral(n)&&D.string(n.label)&&(D.boolean(n.needsConfirmation)||n.needsConfirmation===void 0)&&(D.string(n.description)||n.description===void 0)}t.is=r})(yv||(yv={}));(function(t){function e(r){let i=r;return D.string(i)}t.is=e})(Da||(Da={}));(function(t){function e(s,a,o){return{range:s,newText:a,annotationId:o}}t.replace=e;function r(s,a,o){return{range:{start:s,end:s},newText:a,annotationId:o}}t.insert=r;function i(s,a){return{range:s,newText:"",annotationId:a}}t.del=i;function n(s){let a=s;return rr.is(a)&&(yv.is(a.annotationId)||Da.is(a.annotationId))}t.is=n})(PE||(PE={}));(function(t){function e(i,n){return{textDocument:i,edits:n}}t.create=e;function r(i){let n=i;return D.defined(n)&&Sv.is(n.textDocument)&&Array.isArray(n.edits)}t.is=r})(Hu||(Hu={}));(function(t){function e(i,n,s){let a={kind:"create",uri:i};return n!==void 0&&(n.overwrite!==void 0||n.ignoreIfExists!==void 0)&&(a.options=n),s!==void 0&&(a.annotationId=s),a}t.create=e;function r(i){let n=i;return n&&n.kind==="create"&&D.string(n.uri)&&(n.options===void 0||(n.options.overwrite===void 0||D.boolean(n.options.overwrite))&&(n.options.ignoreIfExists===void 0||D.boolean(n.options.ignoreIfExists)))&&(n.annotationId===void 0||Da.is(n.annotationId))}t.is=r})(_v||(_v={}));(function(t){function e(i,n,s,a){let o={kind:"rename",oldUri:i,newUri:n};return s!==void 0&&(s.overwrite!==void 0||s.ignoreIfExists!==void 0)&&(o.options=s),a!==void 0&&(o.annotationId=a),o}t.create=e;function r(i){let n=i;return n&&n.kind==="rename"&&D.string(n.oldUri)&&D.string(n.newUri)&&(n.options===void 0||(n.options.overwrite===void 0||D.boolean(n.options.overwrite))&&(n.options.ignoreIfExists===void 0||D.boolean(n.options.ignoreIfExists)))&&(n.annotationId===void 0||Da.is(n.annotationId))}t.is=r})(vv||(vv={}));(function(t){function e(i,n,s){let a={kind:"delete",uri:i};return n!==void 0&&(n.recursive!==void 0||n.ignoreIfNotExists!==void 0)&&(a.options=n),s!==void 0&&(a.annotationId=s),a}t.create=e;function r(i){let n=i;return n&&n.kind==="delete"&&D.string(n.uri)&&(n.options===void 0||(n.options.recursive===void 0||D.boolean(n.options.recursive))&&(n.options.ignoreIfNotExists===void 0||D.boolean(n.options.ignoreIfNotExists)))&&(n.annotationId===void 0||Da.is(n.annotationId))}t.is=r})(bv||(bv={}));(function(t){function e(r){let i=r;return i&&(i.changes!==void 0||i.documentChanges!==void 0)&&(i.documentChanges===void 0||i.documentChanges.every(n=>D.string(n.kind)?_v.is(n)||vv.is(n)||bv.is(n):Hu.is(n)))}t.is=e})(Gu||(Gu={}));(function(t){function e(i){return{uri:i}}t.create=e;function r(i){let n=i;return D.defined(n)&&D.string(n.uri)}t.is=r})(qE||(qE={}));(function(t){function e(i,n){return{uri:i,version:n}}t.create=e;function r(i){let n=i;return D.defined(n)&&D.string(n.uri)&&D.integer(n.version)}t.is=r})(Qf||(Qf={}));(function(t){function e(i,n){return{uri:i,version:n}}t.create=e;function r(i){let n=i;return D.defined(n)&&D.string(n.uri)&&(n.version===null||D.integer(n.version))}t.is=r})(Sv||(Sv={}));(function(t){function e(i,n,s,a){return{uri:i,languageId:n,version:s,text:a}}t.create=e;function r(i){let n=i;return D.defined(n)&&D.string(n.uri)&&D.string(n.languageId)&&D.integer(n.version)&&D.string(n.text)}t.is=r})(CE||(CE={}));(function(t){t.PlainText="plaintext",t.Markdown="markdown";function e(r){let i=r;return i===t.PlainText||i===t.Markdown}t.is=e})(Pi||(Pi={}));(function(t){function e(r){let i=r;return D.objectLiteral(r)&&Pi.is(i.kind)&&D.string(i.value)}t.is=e})(Os||(Os={}));(function(t){t.Text=1,t.Method=2,t.Function=3,t.Constructor=4,t.Field=5,t.Variable=6,t.Class=7,t.Interface=8,t.Module=9,t.Property=10,t.Unit=11,t.Value=12,t.Enum=13,t.Keyword=14,t.Snippet=15,t.Color=16,t.File=17,t.Reference=18,t.Folder=19,t.EnumMember=20,t.Constant=21,t.Struct=22,t.Event=23,t.Operator=24,t.TypeParameter=25})(Ut||(Ut={}));(function(t){t.PlainText=1,t.Snippet=2})(Ke||(Ke={}));(function(t){t.Deprecated=1})(Yf||(Yf={}));(function(t){function e(i,n,s){return{newText:i,insert:n,replace:s}}t.create=e;function r(i){let n=i;return n&&D.string(n.newText)&&oe.is(n.insert)&&oe.is(n.replace)}t.is=r})(RE||(RE={}));(function(t){t.asIs=1,t.adjustIndentation=2})(ME||(ME={}));(function(t){function e(r){let i=r;return i&&(D.string(i.detail)||i.detail===void 0)&&(D.string(i.description)||i.description===void 0)}t.is=e})(DE||(DE={}));(function(t){function e(r){return{label:r}}t.create=e})(Fa||(Fa={}));(function(t){function e(r,i){return{items:r||[],isIncomplete:!!i}}t.create=e})(Xf||(Xf={}));(function(t){function e(i){return i.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}t.fromPlainText=e;function r(i){let n=i;return D.string(n)||D.objectLiteral(n)&&D.string(n.language)&&D.string(n.value)}t.is=r})(ja||(ja={}));(function(t){function e(r){let i=r;return!!i&&D.objectLiteral(i)&&(Os.is(i.contents)||ja.is(i.contents)||D.typedArray(i.contents,ja.is))&&(r.range===void 0||oe.is(r.range))}t.is=e})(Zf||(Zf={}));(function(t){function e(r,i){return i?{label:r,documentation:i}:{label:r}}t.create=e})(FE||(FE={}));(function(t){function e(r,i,...n){let s={label:r};return D.defined(i)&&(s.documentation=i),D.defined(n)?s.parameters=n:s.parameters=[],s}t.create=e})(jE||(jE={}));(function(t){t.Text=1,t.Read=2,t.Write=3})(ep||(ep={}));(function(t){function e(r,i){let n={range:r};return D.number(i)&&(n.kind=i),n}t.create=e})(tp||(tp={}));(function(t){t.File=1,t.Module=2,t.Namespace=3,t.Package=4,t.Class=5,t.Method=6,t.Property=7,t.Field=8,t.Constructor=9,t.Enum=10,t.Interface=11,t.Function=12,t.Variable=13,t.Constant=14,t.String=15,t.Number=16,t.Boolean=17,t.Array=18,t.Object=19,t.Key=20,t.Null=21,t.EnumMember=22,t.Struct=23,t.Event=24,t.Operator=25,t.TypeParameter=26})(Rr||(Rr={}));(function(t){t.Deprecated=1})(BE||(BE={}));(function(t){function e(r,i,n,s,a){let o={name:r,kind:i,location:{uri:s,range:n}};return a&&(o.containerName=a),o}t.create=e})(rp||(rp={}));(function(t){function e(r,i,n,s){return s!==void 0?{name:r,kind:i,location:{uri:n,range:s}}:{name:r,kind:i,location:{uri:n}}}t.create=e})(VE||(VE={}));(function(t){function e(i,n,s,a,o,u){let l={name:i,detail:n,kind:s,range:a,selectionRange:o};return u!==void 0&&(l.children=u),l}t.create=e;function r(i){let n=i;return n&&D.string(n.name)&&D.number(n.kind)&&oe.is(n.range)&&oe.is(n.selectionRange)&&(n.detail===void 0||D.string(n.detail))&&(n.deprecated===void 0||D.boolean(n.deprecated))&&(n.children===void 0||Array.isArray(n.children))&&(n.tags===void 0||Array.isArray(n.tags))}t.is=r})(ip||(ip={}));(function(t){t.Empty="",t.QuickFix="quickfix",t.Refactor="refactor",t.RefactorExtract="refactor.extract",t.RefactorInline="refactor.inline",t.RefactorRewrite="refactor.rewrite",t.Source="source",t.SourceOrganizeImports="source.organizeImports",t.SourceFixAll="source.fixAll"})(np||(np={}));(function(t){t.Invoked=1,t.Automatic=2})(sp||(sp={}));(function(t){function e(i,n,s){let a={diagnostics:i};return n!=null&&(a.only=n),s!=null&&(a.triggerKind=s),a}t.create=e;function r(i){let n=i;return D.defined(n)&&D.typedArray(n.diagnostics,Cr.is)&&(n.only===void 0||D.typedArray(n.only,D.string))&&(n.triggerKind===void 0||n.triggerKind===sp.Invoked||n.triggerKind===sp.Automatic)}t.is=r})(ap||(ap={}));(function(t){function e(i,n,s){let a={title:i},o=!0;return typeof n=="string"?(o=!1,a.kind=n):En.is(n)?a.command=n:a.edit=n,o&&s!==void 0&&(a.kind=s),a}t.create=e;function r(i){let n=i;return n&&D.string(n.title)&&(n.diagnostics===void 0||D.typedArray(n.diagnostics,Cr.is))&&(n.kind===void 0||D.string(n.kind))&&(n.edit!==void 0||n.command!==void 0)&&(n.command===void 0||En.is(n.command))&&(n.isPreferred===void 0||D.boolean(n.isPreferred))&&(n.edit===void 0||Gu.is(n.edit))}t.is=r})(op||(op={}));(function(t){function e(i,n){let s={range:i};return D.defined(n)&&(s.data=n),s}t.create=e;function r(i){let n=i;return D.defined(n)&&oe.is(n.range)&&(D.undefined(n.command)||En.is(n.command))}t.is=r})($E||($E={}));(function(t){function e(i,n){return{tabSize:i,insertSpaces:n}}t.create=e;function r(i){let n=i;return D.defined(n)&&D.uinteger(n.tabSize)&&D.boolean(n.insertSpaces)}t.is=r})(UE||(UE={}));(function(t){function e(i,n,s){return{range:i,target:n,data:s}}t.create=e;function r(i){let n=i;return D.defined(n)&&oe.is(n.range)&&(D.undefined(n.target)||D.string(n.target))}t.is=r})(up||(up={}));(function(t){function e(i,n){return{range:i,parent:n}}t.create=e;function r(i){let n=i;return D.objectLiteral(n)&&oe.is(n.range)&&(n.parent===void 0||t.is(n.parent))}t.is=r})(Ns||(Ns={}));(function(t){t.namespace="namespace",t.type="type",t.class="class",t.enum="enum",t.interface="interface",t.struct="struct",t.typeParameter="typeParameter",t.parameter="parameter",t.variable="variable",t.property="property",t.enumMember="enumMember",t.event="event",t.function="function",t.method="method",t.macro="macro",t.keyword="keyword",t.modifier="modifier",t.comment="comment",t.string="string",t.number="number",t.regexp="regexp",t.operator="operator",t.decorator="decorator"})(HE||(HE={}));(function(t){t.declaration="declaration",t.definition="definition",t.readonly="readonly",t.static="static",t.deprecated="deprecated",t.abstract="abstract",t.async="async",t.modification="modification",t.documentation="documentation",t.defaultLibrary="defaultLibrary"})(GE||(GE={}));(function(t){function e(r){let i=r;return D.objectLiteral(i)&&(i.resultId===void 0||typeof i.resultId=="string")&&Array.isArray(i.data)&&(i.data.length===0||typeof i.data[0]=="number")}t.is=e})(WE||(WE={}));(function(t){function e(i,n){return{range:i,text:n}}t.create=e;function r(i){let n=i;return n!=null&&oe.is(n.range)&&D.string(n.text)}t.is=r})(zE||(zE={}));(function(t){function e(i,n,s){return{range:i,variableName:n,caseSensitiveLookup:s}}t.create=e;function r(i){let n=i;return n!=null&&oe.is(n.range)&&D.boolean(n.caseSensitiveLookup)&&(D.string(n.variableName)||n.variableName===void 0)}t.is=r})(JE||(JE={}));(function(t){function e(i,n){return{range:i,expression:n}}t.create=e;function r(i){let n=i;return n!=null&&oe.is(n.range)&&(D.string(n.expression)||n.expression===void 0)}t.is=r})(KE||(KE={}));(function(t){function e(i,n){return{frameId:i,stoppedLocation:n}}t.create=e;function r(i){let n=i;return D.defined(n)&&oe.is(i.stoppedLocation)}t.is=r})(QE||(QE={}));(function(t){t.Type=1,t.Parameter=2;function e(r){return r===1||r===2}t.is=e})(wv||(wv={}));(function(t){function e(i){return{value:i}}t.create=e;function r(i){let n=i;return D.objectLiteral(n)&&(n.tooltip===void 0||D.string(n.tooltip)||Os.is(n.tooltip))&&(n.location===void 0||nn.is(n.location))&&(n.command===void 0||En.is(n.command))}t.is=r})(xv||(xv={}));(function(t){function e(i,n,s){let a={position:i,label:n};return s!==void 0&&(a.kind=s),a}t.create=e;function r(i){let n=i;return D.objectLiteral(n)&&Me.is(n.position)&&(D.string(n.label)||D.typedArray(n.label,xv.is))&&(n.kind===void 0||wv.is(n.kind))&&n.textEdits===void 0||D.typedArray(n.textEdits,rr.is)&&(n.tooltip===void 0||D.string(n.tooltip)||Os.is(n.tooltip))&&(n.paddingLeft===void 0||D.boolean(n.paddingLeft))&&(n.paddingRight===void 0||D.boolean(n.paddingRight))}t.is=r})(YE||(YE={}));(function(t){function e(r){return{kind:"snippet",value:r}}t.createSnippet=e})(XE||(XE={}));(function(t){function e(r,i,n,s){return{insertText:r,filterText:i,range:n,command:s}}t.create=e})(ZE||(ZE={}));(function(t){function e(r){return{items:r}}t.create=e})(eO||(eO={}));(function(t){t.Invoked=0,t.Automatic=1})(tO||(tO={}));(function(t){function e(r,i){return{range:r,text:i}}t.create=e})(rO||(rO={}));(function(t){function e(r,i){return{triggerKind:r,selectedCompletionInfo:i}}t.create=e})(iO||(iO={}));(function(t){function e(r){let i=r;return D.objectLiteral(i)&&mv.is(i.uri)&&D.string(i.name)}t.is=e})(nO||(nO={}));(function(t){function e(s,a,o,u){return new kv(s,a,o,u)}t.create=e;function r(s){let a=s;return!!(D.defined(a)&&D.string(a.uri)&&(D.undefined(a.languageId)||D.string(a.languageId))&&D.uinteger(a.lineCount)&&D.func(a.getText)&&D.func(a.positionAt)&&D.func(a.offsetAt))}t.is=r;function i(s,a){let o=s.getText(),u=n(a,(f,h)=>{let p=f.range.start.line-h.range.start.line;return p===0?f.range.start.character-h.range.start.character:p}),l=o.length;for(let f=u.length-1;f>=0;f--){let h=u[f],p=s.offsetAt(h.range.start),m=s.offsetAt(h.range.end);if(m<=l)o=o.substring(0,p)+h.newText+o.substring(m,o.length);else throw new Error("Overlapping edit");l=p}return o}t.applyEdits=i;function n(s,a){if(s.length<=1)return s;let o=s.length/2|0,u=s.slice(0,o),l=s.slice(o);n(u,a),n(l,a);let f=0,h=0,p=0;for(;f<u.length&&h<l.length;)a(u[f],l[h])<=0?s[p++]=u[f++]:s[p++]=l[h++];for(;f<u.length;)s[p++]=u[f++];for(;h<l.length;)s[p++]=l[h++];return s}})(sO||(sO={}));kv=class{constructor(e,r,i,n){this._uri=e,this._languageId=r,this._version=i,this._content=n,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let r=this.offsetAt(e.start),i=this.offsetAt(e.end);return this._content.substring(r,i)}return this._content}update(e,r){this._content=e.text,this._version=r,this._lineOffsets=void 0}getLineOffsets(){if(this._lineOffsets===void 0){let e=[],r=this._content,i=!0;for(let n=0;n<r.length;n++){i&&(e.push(n),i=!1);let s=r.charAt(n);i=s==="\r"||s===`
1180
1180
  `,s==="\r"&&n+1<r.length&&r.charAt(n+1)===`
1181
1181
  `&&n++}i&&r.length>0&&e.push(r.length),this._lineOffsets=e}return this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let r=this.getLineOffsets(),i=0,n=r.length;if(n===0)return Me.create(0,e);for(;i<n;){let a=Math.floor((i+n)/2);r[a]>e?n=a:i=a+1}let s=i-1;return Me.create(s,e-r[s])}offsetAt(e){let r=this.getLineOffsets();if(e.line>=r.length)return this._content.length;if(e.line<0)return 0;let i=r[e.line],n=e.line+1<r.length?r[e.line+1]:this._content.length;return Math.max(Math.min(i+e.character,n),i)}get lineCount(){return this.getLineOffsets().length}};(function(t){let e=Object.prototype.toString;function r(m){return typeof m<"u"}t.defined=r;function i(m){return typeof m>"u"}t.undefined=i;function n(m){return m===!0||m===!1}t.boolean=n;function s(m){return e.call(m)==="[object String]"}t.string=s;function a(m){return e.call(m)==="[object Number]"}t.number=a;function o(m,v,S){return e.call(m)==="[object Number]"&&v<=m&&m<=S}t.numberRange=o;function u(m){return e.call(m)==="[object Number]"&&-2147483648<=m&&m<=2147483647}t.integer=u;function l(m){return e.call(m)==="[object Number]"&&0<=m&&m<=2147483647}t.uinteger=l;function f(m){return e.call(m)==="[object Function]"}t.func=f;function h(m){return m!==null&&typeof m=="object"}t.objectLiteral=h;function p(m,v){return Array.isArray(m)&&m.every(v)}t.typedArray=p})(D||(D={}))});var OU={};Xm(OU,{TextDocument:()=>kr});function Av(t,e){if(t.length<=1)return t;let r=t.length/2|0,i=t.slice(0,r),n=t.slice(r);Av(i,e),Av(n,e);let s=0,a=0,o=0;for(;s<i.length&&a<n.length;)e(i[s],n[a])<=0?t[o++]=i[s++]:t[o++]=n[a++];for(;s<i.length;)t[o++]=i[s++];for(;a<n.length;)t[o++]=n[a++];return t}function aO(t,e,r=0){let i=e?[r]:[];for(let n=0;n<t.length;n++){let s=t.charCodeAt(n);oO(s)&&(s===13&&n+1<t.length&&t.charCodeAt(n+1)===10&&n++,i.push(r+n+1))}return i}function oO(t){return t===13||t===10}function uO(t){let e=t.start,r=t.end;return e.line>r.line||e.line===r.line&&e.character>r.character?{start:r,end:e}:t}function EU(t){let e=uO(t.range);return e!==t.range?{newText:t.newText,range:e}:t}var cp,kr,cO=Ae(()=>{"use strict";y();cp=class t{constructor(e,r,i,n){this._uri=e,this._languageId=r,this._version=i,this._content=n,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let r=this.offsetAt(e.start),i=this.offsetAt(e.end);return this._content.substring(r,i)}return this._content}update(e,r){for(let i of e)if(t.isIncremental(i)){let n=uO(i.range),s=this.offsetAt(n.start),a=this.offsetAt(n.end);this._content=this._content.substring(0,s)+i.text+this._content.substring(a,this._content.length);let o=Math.max(n.start.line,0),u=Math.max(n.end.line,0),l=this._lineOffsets,f=aO(i.text,!1,s);if(u-o===f.length)for(let p=0,m=f.length;p<m;p++)l[p+o+1]=f[p];else f.length<1e4?l.splice(o+1,u-o,...f):this._lineOffsets=l=l.slice(0,o+1).concat(f,l.slice(u+1));let h=i.text.length-(a-s);if(h!==0)for(let p=o+1+f.length,m=l.length;p<m;p++)l[p]=l[p]+h}else if(t.isFull(i))this._content=i.text,this._lineOffsets=void 0;else throw new Error("Unknown change event received");this._version=r}getLineOffsets(){return this._lineOffsets===void 0&&(this._lineOffsets=aO(this._content,!0)),this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let r=this.getLineOffsets(),i=0,n=r.length;if(n===0)return{line:0,character:e};for(;i<n;){let a=Math.floor((i+n)/2);r[a]>e?n=a:i=a+1}let s=i-1;return e=this.ensureBeforeEOL(e,r[s]),{line:s,character:e-r[s]}}offsetAt(e){let r=this.getLineOffsets();if(e.line>=r.length)return this._content.length;if(e.line<0)return 0;let i=r[e.line];if(e.character<=0)return i;let n=e.line+1<r.length?r[e.line+1]:this._content.length,s=Math.min(i+e.character,n);return this.ensureBeforeEOL(s,i)}ensureBeforeEOL(e,r){for(;e>r&&oO(this._content.charCodeAt(e-1));)e--;return e}get lineCount(){return this.getLineOffsets().length}static isIncremental(e){let r=e;return r!=null&&typeof r.text=="string"&&r.range!==void 0&&(r.rangeLength===void 0||typeof r.rangeLength=="number")}static isFull(e){let r=e;return r!=null&&typeof r.text=="string"&&r.range===void 0&&r.rangeLength===void 0}};(function(t){function e(n,s,a,o){return new cp(n,s,a,o)}t.create=e;function r(n,s,a){if(n instanceof cp)return n.update(s,a),n;throw new Error("TextDocument.update: document must be created by TextDocument.create")}t.update=r;function i(n,s){let a=n.getText(),o=Av(s.map(EU),(f,h)=>{let p=f.range.start.line-h.range.start.line;return p===0?f.range.start.character-h.range.start.character:p}),u=0,l=[];for(let f of o){let h=n.offsetAt(f.range.start);if(h<u)throw new Error("Overlapping edit");h>u&&l.push(a.substring(u,h)),f.newText.length&&l.push(f.newText),u=n.offsetAt(f.range.end)}return l.push(a.substr(u)),l.join("")}t.applyEdits=i})(kr||(kr={}))});function NU(t){return t>=ce.SchemaResolveError}var ce,cr,Tv,Mr=Ae(()=>{y();Iv();cO();(function(t){t[t.Undefined=0]="Undefined",t[t.EnumValueMismatch=1]="EnumValueMismatch",t[t.Deprecated=2]="Deprecated",t[t.UnexpectedEndOfComment=257]="UnexpectedEndOfComment",t[t.UnexpectedEndOfString=258]="UnexpectedEndOfString",t[t.UnexpectedEndOfNumber=259]="UnexpectedEndOfNumber",t[t.InvalidUnicode=260]="InvalidUnicode",t[t.InvalidEscapeCharacter=261]="InvalidEscapeCharacter",t[t.InvalidCharacter=262]="InvalidCharacter",t[t.PropertyExpected=513]="PropertyExpected",t[t.CommaExpected=514]="CommaExpected",t[t.ColonExpected=515]="ColonExpected",t[t.ValueExpected=516]="ValueExpected",t[t.CommaOrCloseBacketExpected=517]="CommaOrCloseBacketExpected",t[t.CommaOrCloseBraceExpected=518]="CommaOrCloseBraceExpected",t[t.TrailingComma=519]="TrailingComma",t[t.DuplicateKey=520]="DuplicateKey",t[t.CommentNotPermitted=521]="CommentNotPermitted",t[t.PropertyKeysMustBeDoublequoted=528]="PropertyKeysMustBeDoublequoted",t[t.SchemaUnsupportedFeature=769]="SchemaUnsupportedFeature",t[t.SchemaResolveError=65536]="SchemaResolveError"})(ce||(ce={}));(function(t){t[t.v3=3]="v3",t[t.v4=4]="v4",t[t.v6=6]="v6",t[t.v7=7]="v7",t[t.v2019_09=19]="v2019_09",t[t.v2020_12=20]="v2020_12"})(cr||(cr={}));(function(t){t.LATEST={textDocument:{completion:{completionItem:{documentationFormat:[Pi.Markdown,Pi.PlainText],commitCharactersSupport:!0,labelDetailsSupport:!0}}}}})(Tv||(Tv={}))});var lO,Ba,tue,Ev=Ae(()=>{y();(()=>{"use strict";var t={975:q=>{function P(C){if(typeof C!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(C))}function $(C,F){for(var U,W="",Q=0,K=-1,pe=0,ye=0;ye<=C.length;++ye){if(ye<C.length)U=C.charCodeAt(ye);else{if(U===47)break;U=47}if(U===47){if(!(K===ye-1||pe===1))if(K!==ye-1&&pe===2){if(W.length<2||Q!==2||W.charCodeAt(W.length-1)!==46||W.charCodeAt(W.length-2)!==46){if(W.length>2){var nt=W.lastIndexOf("/");if(nt!==W.length-1){nt===-1?(W="",Q=0):Q=(W=W.slice(0,nt)).length-1-W.lastIndexOf("/"),K=ye,pe=0;continue}}else if(W.length===2||W.length===1){W="",Q=0,K=ye,pe=0;continue}}F&&(W.length>0?W+="/..":W="..",Q=2)}else W.length>0?W+="/"+C.slice(K+1,ye):W=C.slice(K+1,ye),Q=ye-K-1;K=ye,pe=0}else U===46&&pe!==-1?++pe:pe=-1}return W}var V={resolve:function(){for(var C,F="",U=!1,W=arguments.length-1;W>=-1&&!U;W--){var Q;W>=0?Q=arguments[W]:(C===void 0&&(C=process.cwd()),Q=C),P(Q),Q.length!==0&&(F=Q+"/"+F,U=Q.charCodeAt(0)===47)}return F=$(F,!U),U?F.length>0?"/"+F:"/":F.length>0?F:"."},normalize:function(C){if(P(C),C.length===0)return".";var F=C.charCodeAt(0)===47,U=C.charCodeAt(C.length-1)===47;return(C=$(C,!F)).length!==0||F||(C="."),C.length>0&&U&&(C+="/"),F?"/"+C:C},isAbsolute:function(C){return P(C),C.length>0&&C.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var C,F=0;F<arguments.length;++F){var U=arguments[F];P(U),U.length>0&&(C===void 0?C=U:C+="/"+U)}return C===void 0?".":V.normalize(C)},relative:function(C,F){if(P(C),P(F),C===F||(C=V.resolve(C))===(F=V.resolve(F)))return"";for(var U=1;U<C.length&&C.charCodeAt(U)===47;++U);for(var W=C.length,Q=W-U,K=1;K<F.length&&F.charCodeAt(K)===47;++K);for(var pe=F.length-K,ye=Q<pe?Q:pe,nt=-1,qe=0;qe<=ye;++qe){if(qe===ye){if(pe>ye){if(F.charCodeAt(K+qe)===47)return F.slice(K+qe+1);if(qe===0)return F.slice(K+qe)}else Q>ye&&(C.charCodeAt(U+qe)===47?nt=qe:qe===0&&(nt=0));break}var Si=C.charCodeAt(U+qe);if(Si!==F.charCodeAt(K+qe))break;Si===47&&(nt=qe)}var Xn="";for(qe=U+nt+1;qe<=W;++qe)qe!==W&&C.charCodeAt(qe)!==47||(Xn.length===0?Xn+="..":Xn+="/..");return Xn.length>0?Xn+F.slice(K+nt):(K+=nt,F.charCodeAt(K)===47&&++K,F.slice(K))},_makeLong:function(C){return C},dirname:function(C){if(P(C),C.length===0)return".";for(var F=C.charCodeAt(0),U=F===47,W=-1,Q=!0,K=C.length-1;K>=1;--K)if((F=C.charCodeAt(K))===47){if(!Q){W=K;break}}else Q=!1;return W===-1?U?"/":".":U&&W===1?"//":C.slice(0,W)},basename:function(C,F){if(F!==void 0&&typeof F!="string")throw new TypeError('"ext" argument must be a string');P(C);var U,W=0,Q=-1,K=!0;if(F!==void 0&&F.length>0&&F.length<=C.length){if(F.length===C.length&&F===C)return"";var pe=F.length-1,ye=-1;for(U=C.length-1;U>=0;--U){var nt=C.charCodeAt(U);if(nt===47){if(!K){W=U+1;break}}else ye===-1&&(K=!1,ye=U+1),pe>=0&&(nt===F.charCodeAt(pe)?--pe==-1&&(Q=U):(pe=-1,Q=ye))}return W===Q?Q=ye:Q===-1&&(Q=C.length),C.slice(W,Q)}for(U=C.length-1;U>=0;--U)if(C.charCodeAt(U)===47){if(!K){W=U+1;break}}else Q===-1&&(K=!1,Q=U+1);return Q===-1?"":C.slice(W,Q)},extname:function(C){P(C);for(var F=-1,U=0,W=-1,Q=!0,K=0,pe=C.length-1;pe>=0;--pe){var ye=C.charCodeAt(pe);if(ye!==47)W===-1&&(Q=!1,W=pe+1),ye===46?F===-1?F=pe:K!==1&&(K=1):F!==-1&&(K=-1);else if(!Q){U=pe+1;break}}return F===-1||W===-1||K===0||K===1&&F===W-1&&F===U+1?"":C.slice(F,W)},format:function(C){if(C===null||typeof C!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof C);return(function(F,U){var W=U.dir||U.root,Q=U.base||(U.name||"")+(U.ext||"");return W?W===U.root?W+Q:W+"/"+Q:Q})(0,C)},parse:function(C){P(C);var F={root:"",dir:"",base:"",ext:"",name:""};if(C.length===0)return F;var U,W=C.charCodeAt(0),Q=W===47;Q?(F.root="/",U=1):U=0;for(var K=-1,pe=0,ye=-1,nt=!0,qe=C.length-1,Si=0;qe>=U;--qe)if((W=C.charCodeAt(qe))!==47)ye===-1&&(nt=!1,ye=qe+1),W===46?K===-1?K=qe:Si!==1&&(Si=1):K!==-1&&(Si=-1);else if(!nt){pe=qe+1;break}return K===-1||ye===-1||Si===0||Si===1&&K===ye-1&&K===pe+1?ye!==-1&&(F.base=F.name=pe===0&&Q?C.slice(1,ye):C.slice(pe,ye)):(pe===0&&Q?(F.name=C.slice(1,K),F.base=C.slice(1,ye)):(F.name=C.slice(pe,K),F.base=C.slice(pe,ye)),F.ext=C.slice(K,ye)),pe>0?F.dir=C.slice(0,pe-1):Q&&(F.dir="/"),F},sep:"/",delimiter:":",win32:null,posix:null};V.posix=V,q.exports=V}},e={};function r(q){var P=e[q];if(P!==void 0)return P.exports;var $=e[q]={exports:{}};return t[q]($,$.exports,r),$.exports}r.d=(q,P)=>{for(var $ in P)r.o(P,$)&&!r.o(q,$)&&Object.defineProperty(q,$,{enumerable:!0,get:P[$]})},r.o=(q,P)=>Object.prototype.hasOwnProperty.call(q,P),r.r=q=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(q,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(q,"__esModule",{value:!0})};var i={};let n;r.r(i),r.d(i,{URI:()=>p,Utils:()=>R}),typeof process=="object"?n=process.platform==="win32":typeof navigator=="object"&&(n=navigator.userAgent.indexOf("Windows")>=0);let s=/^\w[\w\d+.-]*$/,a=/^\//,o=/^\/\//;function u(q,P){if(!q.scheme&&P)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${q.authority}", path: "${q.path}", query: "${q.query}", fragment: "${q.fragment}"}`);if(q.scheme&&!s.test(q.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(q.path){if(q.authority){if(!a.test(q.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(o.test(q.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}let l="",f="/",h=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class p{static isUri(P){return P instanceof p||!!P&&typeof P.authority=="string"&&typeof P.fragment=="string"&&typeof P.path=="string"&&typeof P.query=="string"&&typeof P.scheme=="string"&&typeof P.fsPath=="string"&&typeof P.with=="function"&&typeof P.toString=="function"}scheme;authority;path;query;fragment;constructor(P,$,V,C,F,U=!1){typeof P=="object"?(this.scheme=P.scheme||l,this.authority=P.authority||l,this.path=P.path||l,this.query=P.query||l,this.fragment=P.fragment||l):(this.scheme=(function(W,Q){return W||Q?W:"file"})(P,U),this.authority=$||l,this.path=(function(W,Q){switch(W){case"https":case"http":case"file":Q?Q[0]!==f&&(Q=f+Q):Q=f}return Q})(this.scheme,V||l),this.query=C||l,this.fragment=F||l,u(this,U))}get fsPath(){return k(this,!1)}with(P){if(!P)return this;let{scheme:$,authority:V,path:C,query:F,fragment:U}=P;return $===void 0?$=this.scheme:$===null&&($=l),V===void 0?V=this.authority:V===null&&(V=l),C===void 0?C=this.path:C===null&&(C=l),F===void 0?F=this.query:F===null&&(F=l),U===void 0?U=this.fragment:U===null&&(U=l),$===this.scheme&&V===this.authority&&C===this.path&&F===this.query&&U===this.fragment?this:new v($,V,C,F,U)}static parse(P,$=!1){let V=h.exec(P);return V?new v(V[2]||l,E(V[4]||l),E(V[5]||l),E(V[7]||l),E(V[9]||l),$):new v(l,l,l,l,l)}static file(P){let $=l;if(n&&(P=P.replace(/\\/g,f)),P[0]===f&&P[1]===f){let V=P.indexOf(f,2);V===-1?($=P.substring(2),P=f):($=P.substring(2,V),P=P.substring(V)||f)}return new v("file",$,P,l,l)}static from(P){let $=new v(P.scheme,P.authority,P.path,P.query,P.fragment);return u($,!0),$}toString(P=!1){return w(this,P)}toJSON(){return this}static revive(P){if(P){if(P instanceof p)return P;{let $=new v(P);return $._formatted=P.external,$._fsPath=P._sep===m?P.fsPath:null,$}}return P}}let m=n?1:void 0;class v extends p{_formatted=null;_fsPath=null;get fsPath(){return this._fsPath||(this._fsPath=k(this,!1)),this._fsPath}toString(P=!1){return P?w(this,!0):(this._formatted||(this._formatted=w(this,!1)),this._formatted)}toJSON(){let P={$mid:1};return this._fsPath&&(P.fsPath=this._fsPath,P._sep=m),this._formatted&&(P.external=this._formatted),this.path&&(P.path=this.path),this.scheme&&(P.scheme=this.scheme),this.authority&&(P.authority=this.authority),this.query&&(P.query=this.query),this.fragment&&(P.fragment=this.fragment),P}}let S={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function b(q,P,$){let V,C=-1;for(let F=0;F<q.length;F++){let U=q.charCodeAt(F);if(U>=97&&U<=122||U>=65&&U<=90||U>=48&&U<=57||U===45||U===46||U===95||U===126||P&&U===47||$&&U===91||$&&U===93||$&&U===58)C!==-1&&(V+=encodeURIComponent(q.substring(C,F)),C=-1),V!==void 0&&(V+=q.charAt(F));else{V===void 0&&(V=q.substr(0,F));let W=S[U];W!==void 0?(C!==-1&&(V+=encodeURIComponent(q.substring(C,F)),C=-1),V+=W):C===-1&&(C=F)}}return C!==-1&&(V+=encodeURIComponent(q.substring(C))),V!==void 0?V:q}function g(q){let P;for(let $=0;$<q.length;$++){let V=q.charCodeAt($);V===35||V===63?(P===void 0&&(P=q.substr(0,$)),P+=S[V]):P!==void 0&&(P+=q[$])}return P!==void 0?P:q}function k(q,P){let $;return $=q.authority&&q.path.length>1&&q.scheme==="file"?`//${q.authority}${q.path}`:q.path.charCodeAt(0)===47&&(q.path.charCodeAt(1)>=65&&q.path.charCodeAt(1)<=90||q.path.charCodeAt(1)>=97&&q.path.charCodeAt(1)<=122)&&q.path.charCodeAt(2)===58?P?q.path.substr(1):q.path[1].toLowerCase()+q.path.substr(2):q.path,n&&($=$.replace(/\//g,"\\")),$}function w(q,P){let $=P?g:b,V="",{scheme:C,authority:F,path:U,query:W,fragment:Q}=q;if(C&&(V+=C,V+=":"),(F||C==="file")&&(V+=f,V+=f),F){let K=F.indexOf("@");if(K!==-1){let pe=F.substr(0,K);F=F.substr(K+1),K=pe.lastIndexOf(":"),K===-1?V+=$(pe,!1,!1):(V+=$(pe.substr(0,K),!1,!1),V+=":",V+=$(pe.substr(K+1),!1,!0)),V+="@"}F=F.toLowerCase(),K=F.lastIndexOf(":"),K===-1?V+=$(F,!1,!0):(V+=$(F.substr(0,K),!1,!0),V+=F.substr(K))}if(U){if(U.length>=3&&U.charCodeAt(0)===47&&U.charCodeAt(2)===58){let K=U.charCodeAt(1);K>=65&&K<=90&&(U=`/${String.fromCharCode(K+32)}:${U.substr(3)}`)}else if(U.length>=2&&U.charCodeAt(1)===58){let K=U.charCodeAt(0);K>=65&&K<=90&&(U=`${String.fromCharCode(K+32)}:${U.substr(2)}`)}V+=$(U,!0,!1)}return W&&(V+="?",V+=$(W,!1,!1)),Q&&(V+="#",V+=P?Q:b(Q,!1,!1)),V}function _(q){try{return decodeURIComponent(q)}catch{return q.length>3?q.substr(0,3)+_(q.substr(3)):q}}let A=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function E(q){return q.match(A)?q.replace(A,(P=>_(P))):q}var O=r(975);let L=O.posix||O,B="/";var R;(function(q){q.joinPath=function(P,...$){return P.with({path:L.join(P.path,...$)})},q.resolvePath=function(P,...$){let V=P.path,C=!1;V[0]!==B&&(V=B+V,C=!0);let F=L.resolve(V,...$);return C&&F[0]===B&&!P.authority&&(F=F.substring(1)),P.with({path:F})},q.dirname=function(P){if(P.path.length===0||P.path===B)return P;let $=L.dirname(P.path);return $.length===1&&$.charCodeAt(0)===46&&($=""),P.with({path:$})},q.basename=function(P){return L.basename(P.path)},q.extname=function(P){return L.extname(P.path)}})(R||(R={})),lO=i})();({URI:Ba,Utils:tue}=lO)});var Ls=T((nue,dO)=>{"use strict";y();var Ov=Object.defineProperty,LU=Object.getOwnPropertyDescriptor,PU=Object.getOwnPropertyNames,qU=Object.prototype.hasOwnProperty,CU=(t,e)=>{for(var r in e)Ov(t,r,{get:e[r],enumerable:!0})},RU=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of PU(e))!qU.call(t,n)&&n!==r&&Ov(t,n,{get:()=>e[n],enumerable:!(i=LU(e,n))||i.enumerable});return t},MU=t=>RU(Ov({},"__esModule",{value:!0}),t),pO={};CU(pO,{config:()=>VU,t:()=>hO});dO.exports=MU(pO);var DU=ae("fs"),FU=ae("fs/promises");async function jU(t){if(t.protocol==="file:")return await(0,FU.readFile)(t,"utf8");if(t.protocol==="http:"||t.protocol==="https:"){let e=await fetch(t.toString(),{headers:{"Accept-Encoding":"gzip, deflate",Accept:"application/json"},redirect:"follow"});if(!e.ok){let i=`Unexpected ${e.status} response while trying to read ${t}`;try{i+=`: ${await e.text()}`}catch{}throw new Error(i)}return await e.text()}throw new Error("Unsupported protocol")}function BU(t){return(0,DU.readFileSync)(t,"utf8")}var Wu;function VU(t){if("contents"in t){typeof t.contents=="string"?Wu=JSON.parse(t.contents):Wu=t.contents;return}if("fsPath"in t){let e=BU(t.fsPath),r=JSON.parse(e);Wu=fO(r)?r.contents.bundle:r;return}if(t.uri){let e=t.uri;return typeof t.uri=="string"&&(e=new URL(t.uri)),new Promise((r,i)=>{jU(e).then(n=>{try{let s=JSON.parse(n);Wu=fO(s)?s.contents.bundle:s,r()}catch(s){i(s)}}).catch(n=>{i(n)})})}}function hO(...t){let e=t[0],r,i,n;if(typeof e=="string")r=e,i=e,t.splice(0,1),n=!t||typeof t[0]!="object"?t:t[0];else if(e instanceof Array){let a=t.slice(1);if(e.length!==a.length+1)throw new Error("expected a string as the first argument to l10n.t");let o=e[0];for(let u=1;u<e.length;u++)o+=`{${u-1}}`+e[u];return hO(o,...a)}else i=e.message,r=i,e.comment&&e.comment.length>0&&(r+=`/${Array.isArray(e.comment)?e.comment.join(""):e.comment}`),n=e.args??{};let s=Wu?.[r];return s?typeof s=="string"?lp(s,n):s.comment?lp(s.message,n):lp(i,n):lp(i,n)}var $U=/{([^}]+)}/g;function lp(t,e){return Object.keys(e).length===0?t:t.replace($U,(r,i)=>e[i]??r)}function fO(t){return typeof t?.contents?.bundle=="object"&&typeof t?.version=="string"}});function Ht(t){return Zr(t)?t?{}:{not:{}}:t}function an(t){t.startsWith(gO)&&(t=HU+t.substring(gO.length));try{return Ba.parse(t).toString(!0)}catch{return t}}function Mv(t){return GU[an(t)]??void 0}function _O(t,e=[],r=[]){return new hp(t,e,r)}function qi(t){return wg(t)}function Ju(t){return Sg(t)}function Dv(t,e,r=!1){return e>=t.offset&&e<t.offset+t.length||r&&e===t.offset+t.length}function yO(t,e=cr.v2020_12){let r=t.$schema;return r?Mv(r)??e:e}function Lt(t,e,r,i,n){if(!t||!i.include(t))return;if(t.type==="property")return Lt(t.valueNode,e,r,i,n);let s=t;switch(a(),s.type){case"object":h(s);break;case"array":f(s);break;case"string":l(s);break;case"number":u(s);break}i.add({node:s,schema:e});function a(){function p(w){return s.type===w||w==="integer"&&s.type==="number"&&s.isInteger}if(Array.isArray(e.type)?e.type.some(p)||r.problems.push({location:{offset:s.offset,length:s.length},message:e.errorMessage||Z.t("Incorrect type. Expected one of {0}.",e.type.join(", "))}):e.type&&(p(e.type)||r.problems.push({location:{offset:s.offset,length:s.length},message:e.errorMessage||Z.t('Incorrect type. Expected "{0}".',e.type)})),Array.isArray(e.allOf))for(let w of e.allOf){let _=new Pt,A=i.newSub();Lt(s,Ht(w),_,A,n),r.merge(_),i.merge(A)}let m=Ht(e.not);if(m){let w=new Pt,_=i.newSub();Lt(s,m,w,_,n),w.hasProblems()||r.problems.push({location:{offset:s.offset,length:s.length},message:e.errorMessage||Z.t("Matches a schema that is not allowed.")});for(let A of _.schemas)A.inverted=!A.inverted,i.add(A)}let v=(w,_)=>{let A=[],E=o(w)??w,O;for(let L of E){let B=Ht(L),R=new Pt,q=i.newSub();if(Lt(s,B,R,q,n),R.hasProblems()||A.push(B),!O)O={schema:B,validationResult:R,matchingSchemas:q};else if(!_&&!R.hasProblems()&&!O.validationResult.hasProblems())O.matchingSchemas.merge(q),O.validationResult.propertiesMatches+=R.propertiesMatches,O.validationResult.propertiesValueMatches+=R.propertiesValueMatches,O.validationResult.mergeProcessedProperties(R);else{let P=R.compare(O.validationResult);P>0?O={schema:B,validationResult:R,matchingSchemas:q}:P===0&&(O.matchingSchemas.merge(q),O.validationResult.mergeEnumValues(R))}}return A.length>1&&_&&r.problems.push({location:{offset:s.offset,length:1},message:Z.t("Matches multiple schemas when only one must validate.")}),O&&(O.validationResult.updateEnumMismatchProblemMessages(),r.merge(O.validationResult),i.merge(O.matchingSchemas)),A.length};Array.isArray(e.anyOf)&&v(e.anyOf,!1),Array.isArray(e.oneOf)&&v(e.oneOf,!0);let S=w=>{let _=new Pt,A=i.newSub();Lt(s,Ht(w),_,A,n),r.merge(_),i.merge(A)},b=(w,_,A)=>{let E=Ht(w),O=new Pt,L=i.newSub();Lt(s,E,O,L,n),i.merge(L),r.mergeProcessedProperties(O),O.hasProblems()?A&&S(A):_&&S(_)},g=Ht(e.if);if(g&&b(g,Ht(e.then),Ht(e.else)),Array.isArray(e.enum)){let w=qi(s),_=!1;for(let A of e.enum)if(Ts(w,A)){_=!0;break}r.enumValues=e.enum,r.enumValueMatch=_,_||r.problems.push({location:{offset:s.offset,length:s.length},code:ce.EnumValueMismatch,message:e.errorMessage||Z.t("Value is not accepted. Valid values: {0}.",e.enum.map(A=>JSON.stringify(A)).join(", "))})}if(qr(e.const)){let w=qi(s);Ts(w,e.const)?r.enumValueMatch=!0:(r.problems.push({location:{offset:s.offset,length:s.length},code:ce.EnumValueMismatch,message:e.errorMessage||Z.t("Value must be {0}.",JSON.stringify(e.const))}),r.enumValueMatch=!1),r.enumValues=[e.const]}let k=e.deprecationMessage;if(k||e.deprecated){k=k||Z.t("Value is deprecated");let w=s.parent?.type==="property"?s.parent:s;r.problems.push({location:{offset:w.offset,length:w.length},severity:$t.Warning,message:k,code:ce.Deprecated})}}function o(p){if(p.length<2)return;let m=S=>{let b=new Map;for(let g=0;g<p.length;g++){let k=S(Ht(p[g]),g);if(!k)return;k.forEach(([w,_])=>{if(_.const!==void 0){b.has(w)||b.set(w,new Map);let A=b.get(w);A.has(_.const)||A.set(_.const,[]),A.get(_.const).push(g)}})}return b},v=(S,b)=>{for(let[g,k]of S){let w=new Set;if(k.forEach(_=>_.forEach(A=>w.add(A))),w.size===p.length){let _=b(g),A=k.get(_);if(A?.length)return A.map(E=>p[E]);break}}};if(s.type==="object"&&s.properties?.length){let S=m(b=>b.properties?Object.entries(b.properties).map(([g,k])=>[g,Ht(k)]):void 0);if(S)return v(S,b=>{let g=s.properties.find(k=>k.keyNode.value===b);return g?.valueNode?.type==="string"?g.valueNode.value:void 0})}else if(s.type==="array"&&s.items?.length){let S=m(b=>{let g=b.prefixItems||(Array.isArray(b.items)?b.items:void 0);return g?g.map((k,w)=>[w,Ht(k)]):void 0});if(S)return v(S,b=>{let g=s.items[b];return g?.type==="string"?g.value:void 0})}}function u(p){let m=p.value;function v(A){let E=/^(-?\d+)(?:\.(\d+))?(?:e([-+]\d+))?$/.exec(A.toString());return E&&{value:Number(E[1]+(E[2]||"")),multiplier:(E[2]?.length||0)-(parseInt(E[3])||0)}}if(Vt(e.multipleOf)){let A=-1;if(Number.isInteger(e.multipleOf))A=m%e.multipleOf;else{let E=v(e.multipleOf),O=v(m);if(E&&O){let L=10**Math.abs(O.multiplier-E.multiplier);O.multiplier<E.multiplier?O.value*=L:E.value*=L,A=O.value%E.value}}A!==0&&r.problems.push({location:{offset:p.offset,length:p.length},message:Z.t("Value is not divisible by {0}.",e.multipleOf)})}function S(A,E){if(Vt(E))return E;if(Zr(E)&&E)return A}function b(A,E){if(!Zr(E)||!E)return A}let g=S(e.minimum,e.exclusiveMinimum);Vt(g)&&m<=g&&r.problems.push({location:{offset:p.offset,length:p.length},message:Z.t("Value is below the exclusive minimum of {0}.",g)});let k=S(e.maximum,e.exclusiveMaximum);Vt(k)&&m>=k&&r.problems.push({location:{offset:p.offset,length:p.length},message:Z.t("Value is above the exclusive maximum of {0}.",k)});let w=b(e.minimum,e.exclusiveMinimum);Vt(w)&&m<w&&r.problems.push({location:{offset:p.offset,length:p.length},message:Z.t("Value is below the minimum of {0}.",w)});let _=b(e.maximum,e.exclusiveMaximum);Vt(_)&&m>_&&r.problems.push({location:{offset:p.offset,length:p.length},message:Z.t("Value is above the maximum of {0}.",_)})}function l(p){if(Vt(e.minLength)&&dv(p.value)<e.minLength&&r.problems.push({location:{offset:p.offset,length:p.length},message:Z.t("String is shorter than the minimum length of {0}.",e.minLength)}),Vt(e.maxLength)&&dv(p.value)>e.maxLength&&r.problems.push({location:{offset:p.offset,length:p.length},message:Z.t("String is longer than the maximum length of {0}.",e.maxLength)}),Hf(e.pattern)){let m=Es(e.pattern);m&&!m.test(p.value)&&r.problems.push({location:{offset:p.offset,length:p.length},message:e.patternErrorMessage||e.errorMessage||Z.t('String does not match the pattern of "{0}".',e.pattern)})}if(e.format)switch(e.format){case"uri":case"uri-reference":{let v;if(!p.value)v=Z.t("URI expected.");else{let S=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/.exec(p.value);S?!S[2]&&e.format==="uri"&&(v=Z.t("URI with a scheme is expected.")):v=Z.t("URI is expected.")}v&&r.problems.push({location:{offset:p.offset,length:p.length},message:e.patternErrorMessage||e.errorMessage||Z.t("String is not a URI: {0}",v)})}break;case"color-hex":case"date-time":case"date":case"time":case"email":case"hostname":case"ipv4":case"ipv6":let m=UU[e.format];(!p.value||!m.pattern.exec(p.value))&&r.problems.push({location:{offset:p.offset,length:p.length},message:e.patternErrorMessage||e.errorMessage||m.errorMessage});default:}}function f(p){let m,v;n.schemaDraft>=cr.v2020_12?(m=e.prefixItems,v=Array.isArray(e.items)?void 0:e.items):(m=Array.isArray(e.items)?e.items:void 0,v=Array.isArray(e.items)?e.additionalItems:e.items);let S=0;if(m!==void 0){let k=Math.min(m.length,p.items.length);for(;S<k;S++){let w=m[S],_=Ht(w),A=new Pt,E=p.items[S];E&&(Lt(E,_,A,i,n),r.mergePropertyMatch(A)),r.processedProperties.add(String(S))}}if(v!==void 0&&S<p.items.length)if(typeof v=="boolean")for(v===!1&&r.problems.push({location:{offset:p.offset,length:p.length},message:Z.t("Array has too many items according to schema. Expected {0} or fewer.",S)});S<p.items.length;S++)r.processedProperties.add(String(S)),r.propertiesValueMatches++;else for(;S<p.items.length;S++){let k=new Pt;Lt(p.items[S],v,k,i,n),r.mergePropertyMatch(k),r.processedProperties.add(String(S))}let b=Ht(e.contains);if(b){let k=0;for(let w=0;w<p.items.length;w++){let _=p.items[w],A=new Pt;Lt(_,b,A,Va.instance,n),A.hasProblems()||(k++,n.schemaDraft>=cr.v2020_12&&r.processedProperties.add(String(w)))}k===0&&!Vt(e.minContains)&&r.problems.push({location:{offset:p.offset,length:p.length},message:e.errorMessage||Z.t("Array does not contain required item.")}),Vt(e.minContains)&&k<e.minContains&&r.problems.push({location:{offset:p.offset,length:p.length},message:e.errorMessage||Z.t("Array has too few items that match the contains contraint. Expected {0} or more.",e.minContains)}),Vt(e.maxContains)&&k>e.maxContains&&r.problems.push({location:{offset:p.offset,length:p.length},message:e.errorMessage||Z.t("Array has too many items that match the contains contraint. Expected {0} or less.",e.maxContains)})}let g=e.unevaluatedItems;if(g!==void 0)for(let k=0;k<p.items.length;k++){if(!r.processedProperties.has(String(k)))if(g===!1)r.problems.push({location:{offset:p.offset,length:p.length},message:Z.t("Item does not match any validation rule from the array.")});else{let w=new Pt;Lt(p.items[k],e.unevaluatedItems,w,i,n),r.mergePropertyMatch(w)}r.processedProperties.add(String(k)),r.propertiesValueMatches++}if(Vt(e.minItems)&&p.items.length<e.minItems&&r.problems.push({location:{offset:p.offset,length:p.length},message:Z.t("Array has too few items. Expected {0} or more.",e.minItems)}),Vt(e.maxItems)&&p.items.length>e.maxItems&&r.problems.push({location:{offset:p.offset,length:p.length},message:Z.t("Array has too many items. Expected {0} or fewer.",e.maxItems)}),e.uniqueItems===!0){let w=function(){for(let _=0;_<k.length-1;_++){let A=k[_];for(let E=_+1;E<k.length;E++)if(Ts(A,k[E]))return!0}return!1},k=qi(p);w()&&r.problems.push({location:{offset:p.offset,length:p.length},message:Z.t("Array has duplicate items.")})}}function h(p){let m=Object.create(null),v=new Set;for(let _ of p.properties){let A=_.keyNode.value;m[A]=_.valueNode,v.add(A)}if(Array.isArray(e.required)){for(let _ of e.required)if(!m[_]){let A=p.parent&&p.parent.type==="property"&&p.parent.keyNode,E=A?{offset:A.offset,length:A.length}:{offset:p.offset,length:1};r.problems.push({location:E,message:Z.t('Missing property "{0}".',_)})}}let S=_=>{v.delete(_),r.processedProperties.add(_)};if(e.properties)for(let _ of Object.keys(e.properties)){S(_);let A=e.properties[_],E=m[_];if(E)if(Zr(A))if(A)r.propertiesMatches++,r.propertiesValueMatches++;else{let O=E.parent;r.problems.push({location:{offset:O.keyNode.offset,length:O.keyNode.length},message:e.errorMessage||Z.t("Property {0} is not allowed.",_)})}else{let O=new Pt;Lt(E,A,O,i,n),r.mergePropertyMatch(O)}}if(e.patternProperties)for(let _ of Object.keys(e.patternProperties)){let A=Es(_);if(A){let E=[];for(let O of v)if(A.test(O)){E.push(O);let L=m[O];if(L){let B=e.patternProperties[_];if(Zr(B))if(B)r.propertiesMatches++,r.propertiesValueMatches++;else{let R=L.parent;r.problems.push({location:{offset:R.keyNode.offset,length:R.keyNode.length},message:e.errorMessage||Z.t("Property {0} is not allowed.",O)})}else{let R=new Pt;Lt(L,B,R,i,n),r.mergePropertyMatch(R)}}}E.forEach(S)}}let b=e.additionalProperties;if(b!==void 0)for(let _ of v){S(_);let A=m[_];if(A){if(b===!1){let E=A.parent;r.problems.push({location:{offset:E.keyNode.offset,length:E.keyNode.length},message:e.errorMessage||Z.t("Property {0} is not allowed.",_)})}else if(b!==!0){let E=new Pt;Lt(A,b,E,i,n),r.mergePropertyMatch(E)}}}let g=e.unevaluatedProperties;if(g!==void 0){let _=[];for(let A of v)if(!r.processedProperties.has(A)){_.push(A);let E=m[A];if(E){if(g===!1){let O=E.parent;r.problems.push({location:{offset:O.keyNode.offset,length:O.keyNode.length},message:e.errorMessage||Z.t("Property {0} is not allowed.",A)})}else if(g!==!0){let O=new Pt;Lt(E,g,O,i,n),r.mergePropertyMatch(O)}}}_.forEach(S)}if(Vt(e.maxProperties)&&p.properties.length>e.maxProperties&&r.problems.push({location:{offset:p.offset,length:p.length},message:Z.t("Object has more properties than limit of {0}.",e.maxProperties)}),Vt(e.minProperties)&&p.properties.length<e.minProperties&&r.problems.push({location:{offset:p.offset,length:p.length},message:Z.t("Object has fewer properties than the required number of {0}",e.minProperties)}),e.dependentRequired)for(let _ in e.dependentRequired){let A=m[_],E=e.dependentRequired[_];A&&Array.isArray(E)&&w(_,E)}if(e.dependentSchemas)for(let _ in e.dependentSchemas){let A=m[_],E=e.dependentSchemas[_];A&&Li(E)&&w(_,E)}if(e.dependencies)for(let _ in e.dependencies)m[_]&&w(_,e.dependencies[_]);let k=Ht(e.propertyNames);if(k)for(let _ of p.properties){let A=_.keyNode;A&&Lt(A,k,r,i,n)}function w(_,A){if(Array.isArray(A))for(let E of A)m[E]?r.propertiesValueMatches++:r.problems.push({location:{offset:p.offset,length:p.length},message:Z.t("Object is missing property {0} required by property {1}.",E,_)});else{let E=Ht(A);if(E){let O=new Pt;Lt(p,E,O,i,n),r.mergePropertyMatch(O)}}}}}function vO(t,e){let r=[],i=-1,n=t.getText(),s=Nr(n,!1),a=e&&e.collectComments?[]:void 0;function o(){for(;;){let O=s.scan();switch(h(),O){case 12:case 13:Array.isArray(a)&&a.push(oe.create(t.positionAt(s.getTokenOffset()),t.positionAt(s.getTokenOffset()+s.getTokenLength())));break;case 15:case 14:break;default:return O}}}function u(O){return s.getToken()===O?(o(),!0):!1}function l(O,L,B,R,q=$t.Error){if(r.length===0||B!==i){let P=oe.create(t.positionAt(B),t.positionAt(R));r.push(Cr.create(P,O,q,L,t.languageId)),i=B}}function f(O,L,B=void 0,R=[],q=[]){let P=s.getTokenOffset(),$=s.getTokenOffset()+s.getTokenLength();if(P===$&&P>0){for(P--;P>0&&/\s/.test(n.charAt(P));)P--;$=P+1}if(l(O,L,P,$),B&&p(B,!1),R.length+q.length>0){let V=s.getToken();for(;V!==17;){if(R.indexOf(V)!==-1){o();break}else if(q.indexOf(V)!==-1)break;V=o()}}return B}function h(){switch(s.getTokenError()){case 4:return f(Z.t("Invalid unicode sequence in string."),ce.InvalidUnicode),!0;case 5:return f(Z.t("Invalid escape character in string."),ce.InvalidEscapeCharacter),!0;case 3:return f(Z.t("Unexpected end of number."),ce.UnexpectedEndOfNumber),!0;case 1:return f(Z.t("Unexpected end of comment."),ce.UnexpectedEndOfComment),!0;case 2:return f(Z.t("Unexpected end of string."),ce.UnexpectedEndOfString),!0;case 6:return f(Z.t("Invalid characters in string. Control characters must be escaped."),ce.InvalidCharacter),!0}return!1}function p(O,L){return O.length=s.getTokenOffset()+s.getTokenLength()-O.offset,L&&o(),O}function m(O){if(s.getToken()!==3)return;let L=new Lv(O,s.getTokenOffset());o();let B=0,R=!1;for(;s.getToken()!==4&&s.getToken()!==17;){if(s.getToken()===5){R||f(Z.t("Value expected"),ce.ValueExpected);let P=s.getTokenOffset();if(o(),s.getToken()===4){R&&l(Z.t("Trailing comma"),ce.TrailingComma,P,P+1);continue}}else R&&f(Z.t("Expected comma"),ce.CommaExpected);let q=_(L);q?L.items.push(q):f(Z.t("Value expected"),ce.ValueExpected,void 0,[],[4,5]),R=!0}return s.getToken()!==4?f(Z.t("Expected comma or closing bracket"),ce.CommaOrCloseBacketExpected,L):p(L,!0)}let v=new zu(void 0,0,0);function S(O,L){let B=new qv(O,s.getTokenOffset(),v),R=g(B);if(!R)if(s.getToken()===16){f(Z.t("Property keys must be doublequoted"),ce.PropertyKeysMustBeDoublequoted);let P=new zu(B,s.getTokenOffset(),s.getTokenLength());P.value=s.getTokenValue(),R=P,o()}else return;if(B.keyNode=R,R.value!=="//"){let P=L[R.value];P?(l(Z.t("Duplicate object key"),ce.DuplicateKey,B.keyNode.offset,B.keyNode.offset+B.keyNode.length,$t.Warning),Li(P)&&l(Z.t("Duplicate object key"),ce.DuplicateKey,P.keyNode.offset,P.keyNode.offset+P.keyNode.length,$t.Warning),L[R.value]=!0):L[R.value]=B}if(s.getToken()===6)B.colonOffset=s.getTokenOffset(),o();else if(f(Z.t("Colon expected"),ce.ColonExpected),s.getToken()===10&&t.positionAt(R.offset+R.length).line<t.positionAt(s.getTokenOffset()).line)return B.length=R.length,B;let q=_(B);return q?(B.valueNode=q,B.length=q.offset+q.length-B.offset,B):f(Z.t("Value expected"),ce.ValueExpected,B,[],[2,5])}function b(O){if(s.getToken()!==1)return;let L=new Cv(O,s.getTokenOffset()),B=Object.create(null);o();let R=!1;for(;s.getToken()!==2&&s.getToken()!==17;){if(s.getToken()===5){R||f(Z.t("Property expected"),ce.PropertyExpected);let P=s.getTokenOffset();if(o(),s.getToken()===2){R&&l(Z.t("Trailing comma"),ce.TrailingComma,P,P+1);continue}}else R&&f(Z.t("Expected comma"),ce.CommaExpected);let q=S(L,B);q?L.properties.push(q):f(Z.t("Property expected"),ce.PropertyExpected,void 0,[],[2,5]),R=!0}return s.getToken()!==2?f(Z.t("Expected comma or closing brace"),ce.CommaOrCloseBraceExpected,L):p(L,!0)}function g(O){if(s.getToken()!==10)return;let L=new zu(O,s.getTokenOffset());return L.value=s.getTokenValue(),p(L,!0)}function k(O){if(s.getToken()!==11)return;let L=new Pv(O,s.getTokenOffset());if(s.getTokenError()===0){let B=s.getTokenValue();try{let R=JSON.parse(B);if(!Vt(R))return f(Z.t("Invalid number format."),ce.Undefined,L);L.value=R}catch{return f(Z.t("Invalid number format."),ce.Undefined,L)}L.isInteger=B.indexOf(".")===-1}return p(L,!0)}function w(O){let L;switch(s.getToken()){case 7:return p(new Nv(O,s.getTokenOffset()),!0);case 8:return p(new fp(O,!0,s.getTokenOffset()),!0);case 9:return p(new fp(O,!1,s.getTokenOffset()),!0);default:return}}function _(O){return m(O)||b(O)||g(O)||k(O)||w(O)}let A;return o()!==17&&(A=_(A),A?s.getToken()!==17&&f(Z.t("End of file expected."),ce.Undefined):f(Z.t("Expected a JSON object, array or literal."),ce.Undefined)),new hp(A,r,a)}var Z,UU,sn,Nv,fp,Lv,Pv,zu,qv,Cv,mO,gO,HU,GU,pp,Rv,Va,Pt,hp,$a=Ae(()=>{y();xi();Vu();$u();Mr();Ev();Z=ia(Ls()),UU={"color-hex":{errorMessage:Z.t("Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA."),pattern:/^#([0-9A-Fa-f]{3,4}|([0-9A-Fa-f]{2}){3,4})$/},"date-time":{errorMessage:Z.t("String is not a RFC3339 date-time."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},date:{errorMessage:Z.t("String is not a RFC3339 date."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$/i},time:{errorMessage:Z.t("String is not a RFC3339 time."),pattern:/^([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},email:{errorMessage:Z.t("String is not an e-mail address."),pattern:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}))$/},hostname:{errorMessage:Z.t("String is not a hostname."),pattern:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i},ipv4:{errorMessage:Z.t("String is not an IPv4 address."),pattern:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/},ipv6:{errorMessage:Z.t("String is not an IPv6 address."),pattern:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i}},sn=class{constructor(e,r,i=0){this.offset=r,this.length=i,this.parent=e}get children(){return[]}toString(){return"type: "+this.type+" ("+this.offset+"/"+this.length+")"+(this.parent?" parent: {"+this.parent.toString()+"}":"")}},Nv=class extends sn{constructor(e,r){super(e,r),this.type="null",this.value=null}},fp=class extends sn{constructor(e,r,i){super(e,i),this.type="boolean",this.value=r}},Lv=class extends sn{constructor(e,r){super(e,r),this.type="array",this.items=[]}get children(){return this.items}},Pv=class extends sn{constructor(e,r){super(e,r),this.type="number",this.isInteger=!0,this.value=Number.NaN}},zu=class extends sn{constructor(e,r,i){super(e,r,i),this.type="string",this.value=""}},qv=class extends sn{constructor(e,r,i){super(e,r),this.type="property",this.colonOffset=-1,this.keyNode=i}get children(){return this.valueNode?[this.keyNode,this.valueNode]:[this.keyNode]}},Cv=class extends sn{constructor(e,r){super(e,r),this.type="object",this.properties=[]}get children(){return this.properties}};(function(t){t[t.Key=0]="Key",t[t.Enum=1]="Enum"})(mO||(mO={}));gO="http://json-schema.org/",HU="https://json-schema.org/";GU={"https://json-schema.org/draft-03/schema":cr.v3,"https://json-schema.org/draft-04/schema":cr.v4,"https://json-schema.org/draft-06/schema":cr.v6,"https://json-schema.org/draft-07/schema":cr.v7,"https://json-schema.org/draft/2019-09/schema":cr.v2019_09,"https://json-schema.org/draft/2020-12/schema":cr.v2020_12},pp=class{constructor(e){this.schemaDraft=e}},Rv=class t{constructor(e=-1,r){this.focusOffset=e,this.exclude=r,this.schemas=[]}add(e){this.schemas.push(e)}merge(e){Array.prototype.push.apply(this.schemas,e.schemas)}include(e){return(this.focusOffset===-1||Dv(e,this.focusOffset))&&e!==this.exclude}newSub(){return new t(-1,this.exclude)}},Va=class{constructor(){}get schemas(){return[]}add(e){}merge(e){}include(e){return!0}newSub(){return this}};Va.instance=new Va;Pt=class{constructor(){this.problems=[],this.propertiesMatches=0,this.processedProperties=new Set,this.propertiesValueMatches=0,this.primaryValueMatches=0,this.enumValueMatch=!1,this.enumValues=void 0}hasProblems(){return!!this.problems.length}merge(e){this.problems=this.problems.concat(e.problems),this.propertiesMatches+=e.propertiesMatches,this.propertiesValueMatches+=e.propertiesValueMatches,this.mergeProcessedProperties(e)}mergeEnumValues(e){!this.enumValueMatch&&!e.enumValueMatch&&this.enumValues&&e.enumValues&&(this.enumValues=this.enumValues.concat(e.enumValues))}updateEnumMismatchProblemMessages(){if(!this.enumValueMatch&&this.enumValues)for(let e of this.problems)e.code===ce.EnumValueMismatch&&(e.message=Z.t("Value is not accepted. Valid values: {0}.",this.enumValues.map(r=>JSON.stringify(r)).join(", ")))}mergePropertyMatch(e){this.problems=this.problems.concat(e.problems),this.propertiesMatches++,(e.enumValueMatch||!e.hasProblems()&&e.propertiesMatches)&&this.propertiesValueMatches++,e.enumValueMatch&&e.enumValues&&e.enumValues.length===1&&this.primaryValueMatches++}mergeProcessedProperties(e){e.processedProperties.forEach(r=>this.processedProperties.add(r))}compare(e){let r=this.hasProblems();return r!==e.hasProblems()?r?-1:1:this.enumValueMatch!==e.enumValueMatch?e.enumValueMatch?-1:1:this.primaryValueMatches!==e.primaryValueMatches?this.primaryValueMatches-e.primaryValueMatches:this.propertiesValueMatches!==e.propertiesValueMatches?this.propertiesValueMatches-e.propertiesValueMatches:this.propertiesMatches-e.propertiesMatches}};hp=class{constructor(e,r=[],i=[]){this.root=e,this.syntaxErrors=r,this.comments=i}getNodeFromOffset(e,r=!1){if(this.root)return bg(this.root,e,r)}visit(e){if(this.root){let r=i=>{let n=e(i),s=i.children;if(Array.isArray(s))for(let a=0;a<s.length&&n;a++)n=r(s[a]);return n};r(this.root)}}validate(e,r,i=$t.Warning,n){if(this.root&&r){let s=new Pt;return Lt(this.root,r,s,Va.instance,new pp(n??yO(r))),s.problems.map(a=>{let o=oe.create(e.positionAt(a.location.offset),e.positionAt(a.location.offset+a.location.length));return Cr.create(o,a.message,a.severity??i,a.code)})}}getMatchingSchemas(e,r=-1,i){if(this.root&&e){let n=new Rv(r,i),s=yO(e),a=new pp(s);return Lt(this.root,e,new Pt,n,a),n.schemas}return[]}}});function dp(t,e,r){if(t!==null&&typeof t=="object"){let i=e+" ";if(Array.isArray(t)){if(t.length===0)return"[]";let n=`[
@@ -1215,10 +1215,10 @@ ${s instanceof Error?s.message:s}`);continue}return r}function B2(){return Dd.de
1215
1215
  ${t} from
1216
1216
  ${r}`)))}async function JQ(t,e){let r=Dd.default.resolve(B2(),Dd.default.basename(t));return lc.default.readFile(r,"utf8").then((0,Ar.tap)(()=>e(`Loaded fallback schema
1217
1217
  ${t} from
1218
- ${r}`)))}});var $2=T(si=>{"use strict";y();Object.defineProperty(si,"__esModule",{value:!0});si.root=si.downloadThemeLiquidDocs=si.downloadResource=si.Resources=si.ThemeLiquidDocsManager=void 0;var KQ=V2();Object.defineProperty(si,"ThemeLiquidDocsManager",{enumerable:!0,get:function(){return KQ.ThemeLiquidDocsManager}});var Fd=A0();Object.defineProperty(si,"Resources",{enumerable:!0,get:function(){return Fd.Resources}});Object.defineProperty(si,"downloadResource",{enumerable:!0,get:function(){return Fd.downloadResource}});Object.defineProperty(si,"downloadThemeLiquidDocs",{enumerable:!0,get:function(){return Fd.downloadThemeLiquidDocs}});Object.defineProperty(si,"root",{enumerable:!0,get:function(){return Fd.root}})});var U2=T(E0=>{y();var $s=ae("path"),Mn=process.platform==="win32",Rn=ae("fs"),QQ=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function YQ(){var t;if(QQ){var e=new Error;t=r}else t=i;return t;function r(n){n&&(e.message=n.message,n=e,i(n))}function i(n){if(n){if(process.throwDeprecation)throw n;if(!process.noDeprecation){var s="fs: missing callback "+(n.stack||n.message);process.traceDeprecation?console.trace(s):console.error(s)}}}}function XQ(t){return typeof t=="function"?t:YQ()}var fde=$s.normalize;Mn?fn=/(.*?)(?:[\/\\]+|$)/g:fn=/(.*?)(?:[\/]+|$)/g;var fn;Mn?fc=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/:fc=/^[\/]*/;var fc;E0.realpathSync=function(e,r){if(e=$s.resolve(e),r&&Object.prototype.hasOwnProperty.call(r,e))return r[e];var i=e,n={},s={},a,o,u,l;f();function f(){var b=fc.exec(e);a=b[0].length,o=b[0],u=b[0],l="",Mn&&!s[u]&&(Rn.lstatSync(u),s[u]=!0)}for(;a<e.length;){fn.lastIndex=a;var h=fn.exec(e);if(l=o,o+=h[0],u=l+h[1],a=fn.lastIndex,!(s[u]||r&&r[u]===u)){var p;if(r&&Object.prototype.hasOwnProperty.call(r,u))p=r[u];else{var m=Rn.lstatSync(u);if(!m.isSymbolicLink()){s[u]=!0,r&&(r[u]=u);continue}var v=null;if(!Mn){var S=m.dev.toString(32)+":"+m.ino.toString(32);n.hasOwnProperty(S)&&(v=n[S])}v===null&&(Rn.statSync(u),v=Rn.readlinkSync(u)),p=$s.resolve(l,v),r&&(r[u]=p),Mn||(n[S]=v)}e=$s.resolve(p,e.slice(a)),f()}}return r&&(r[i]=e),e};E0.realpath=function(e,r,i){if(typeof i!="function"&&(i=XQ(r),r=null),e=$s.resolve(e),r&&Object.prototype.hasOwnProperty.call(r,e))return process.nextTick(i.bind(null,null,r[e]));var n=e,s={},a={},o,u,l,f;h();function h(){var b=fc.exec(e);o=b[0].length,u=b[0],l=b[0],f="",Mn&&!a[l]?Rn.lstat(l,function(g){if(g)return i(g);a[l]=!0,p()}):process.nextTick(p)}function p(){if(o>=e.length)return r&&(r[n]=e),i(null,e);fn.lastIndex=o;var b=fn.exec(e);return f=u,u+=b[0],l=f+b[1],o=fn.lastIndex,a[l]||r&&r[l]===l?process.nextTick(p):r&&Object.prototype.hasOwnProperty.call(r,l)?S(r[l]):Rn.lstat(l,m)}function m(b,g){if(b)return i(b);if(!g.isSymbolicLink())return a[l]=!0,r&&(r[l]=l),process.nextTick(p);if(!Mn){var k=g.dev.toString(32)+":"+g.ino.toString(32);if(s.hasOwnProperty(k))return v(null,s[k],l)}Rn.stat(l,function(w){if(w)return i(w);Rn.readlink(l,function(_,A){Mn||(s[k]=A),v(_,A)})})}function v(b,g,k){if(b)return i(b);var w=$s.resolve(f,g);r&&(r[k]=w),S(w)}function S(b){e=$s.resolve(b,e.slice(o)),h()}}});var P0=T((dde,z2)=>{y();z2.exports=Dn;Dn.realpath=Dn;Dn.sync=L0;Dn.realpathSync=L0;Dn.monkeypatch=eY;Dn.unmonkeypatch=tY;var uo=ae("fs"),O0=uo.realpath,N0=uo.realpathSync,ZQ=process.version,H2=/^v[0-5]\./.test(ZQ),G2=U2();function W2(t){return t&&t.syscall==="realpath"&&(t.code==="ELOOP"||t.code==="ENOMEM"||t.code==="ENAMETOOLONG")}function Dn(t,e,r){if(H2)return O0(t,e,r);typeof e=="function"&&(r=e,e=null),O0(t,e,function(i,n){W2(i)?G2.realpath(t,e,r):r(i,n)})}function L0(t,e){if(H2)return N0(t,e);try{return N0(t,e)}catch(r){if(W2(r))return G2.realpathSync(t,e);throw r}}function eY(){uo.realpath=Dn,uo.realpathSync=L0}function tY(){uo.realpath=O0,uo.realpathSync=N0}});var K2=T((gde,J2)=>{y();var rY=typeof process=="object"&&process&&process.platform==="win32";J2.exports=rY?{sep:"\\"}:{sep:"/"}});var Bd=T((vde,D0)=>{y();var Vr=D0.exports=(t,e,r={})=>(jd(e),!r.nocomment&&e.charAt(0)==="#"?!1:new co(e,r).match(t));D0.exports=Vr;var R0=K2();Vr.sep=R0.sep;var dr=Symbol("globstar **");Vr.GLOBSTAR=dr;var iY=p4(),Q2={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},M0="[^/]",q0=M0+"*?",nY="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",sY="(?:(?!(?:\\/|^)\\.).)*?",Z2=t=>t.split("").reduce((e,r)=>(e[r]=!0,e),{}),Y2=Z2("().*{}+?[]^$\\!"),aY=Z2("[.("),X2=/\/+/;Vr.filter=(t,e={})=>(r,i,n)=>Vr(r,t,e);var Fn=(t,e={})=>{let r={};return Object.keys(t).forEach(i=>r[i]=t[i]),Object.keys(e).forEach(i=>r[i]=e[i]),r};Vr.defaults=t=>{if(!t||typeof t!="object"||!Object.keys(t).length)return Vr;let e=Vr,r=(i,n,s)=>e(i,n,Fn(t,s));return r.Minimatch=class extends e.Minimatch{constructor(n,s){super(n,Fn(t,s))}},r.Minimatch.defaults=i=>e.defaults(Fn(t,i)).Minimatch,r.filter=(i,n)=>e.filter(i,Fn(t,n)),r.defaults=i=>e.defaults(Fn(t,i)),r.makeRe=(i,n)=>e.makeRe(i,Fn(t,n)),r.braceExpand=(i,n)=>e.braceExpand(i,Fn(t,n)),r.match=(i,n,s)=>e.match(i,n,Fn(t,s)),r};Vr.braceExpand=(t,e)=>eR(t,e);var eR=(t,e={})=>(jd(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:iY(t)),oY=1024*64,jd=t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>oY)throw new TypeError("pattern is too long")},C0=Symbol("subparse");Vr.makeRe=(t,e)=>new co(t,e||{}).makeRe();Vr.match=(t,e,r={})=>{let i=new co(e,r);return t=t.filter(n=>i.match(n)),i.options.nonull&&!t.length&&t.push(e),t};var uY=t=>t.replace(/\\(.)/g,"$1"),cY=t=>t.replace(/\\([^-\]])/g,"$1"),lY=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),fY=t=>t.replace(/[[\]\\]/g,"\\$&"),co=class{constructor(e,r){jd(e),r||(r={}),this.options=r,this.maxGlobstarRecursion=r.maxGlobstarRecursion!==void 0?r.maxGlobstarRecursion:200,this.set=[],this.pattern=e,this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!r.partial,this.make()}debug(){}make(){let e=this.pattern,r=this.options;if(!r.nocomment&&e.charAt(0)==="#"){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate();let i=this.globSet=this.braceExpand();r.debug&&(this.debug=(...n)=>console.error(...n)),this.debug(this.pattern,i),i=this.globParts=i.map(n=>n.split(X2)),this.debug(this.pattern,i),i=i.map((n,s,a)=>n.map(this.parse,this)),this.debug(this.pattern,i),i=i.filter(n=>n.indexOf(!1)===-1),this.debug(this.pattern,i),this.set=i}parseNegate(){if(this.options.nonegate)return;let e=this.pattern,r=!1,i=0;for(let n=0;n<e.length&&e.charAt(n)==="!";n++)r=!r,i++;i&&(this.pattern=e.slice(i)),this.negate=r}matchOne(e,r,i){return r.indexOf(dr)!==-1?this._matchGlobstar(e,r,i,0,0):this._matchOne(e,r,i,0,0)}_matchGlobstar(e,r,i,n,s){let a=-1;for(let k=s;k<r.length;k++)if(r[k]===dr){a=k;break}let o=-1;for(let k=r.length-1;k>=0;k--)if(r[k]===dr){o=k;break}let u=r.slice(s,a),l=i?r.slice(a+1):r.slice(a+1,o),f=i?[]:r.slice(o+1);if(u.length){let k=e.slice(n,n+u.length);if(!this._matchOne(k,u,i,0,0))return!1;n+=u.length}let h=0;if(f.length){if(f.length+n>e.length)return!1;let k=e.length-f.length;if(this._matchOne(e,f,i,k,0))h=f.length;else{if(e[e.length-1]!==""||n+f.length===e.length||!this._matchOne(e,f,i,k-1,0))return!1;h=f.length+1}}if(!l.length){let k=!!h;for(let w=n;w<e.length-h;w++){let _=String(e[w]);if(k=!0,_==="."||_===".."||!this.options.dot&&_.charAt(0)===".")return!1}return i||k}let p=[[[],0]],m=p[0],v=0,S=[0];for(let k of l)k===dr?(S.push(v),m=[[],0],p.push(m)):(m[0].push(k),v++);let b=p.length-1,g=e.length-h;for(let k of p)k[1]=g-(S[b--]+k[0].length);return!!this._matchGlobStarBodySections(e,p,n,0,i,0,!!h)}_matchGlobStarBodySections(e,r,i,n,s,a,o){let u=r[n];if(!u){for(let h=i;h<e.length;h++){o=!0;let p=e[h];if(p==="."||p===".."||!this.options.dot&&p.charAt(0)===".")return!1}return o}let[l,f]=u;for(;i<=f;){if(this._matchOne(e.slice(0,i+l.length),l,s,i,0)&&a<this.maxGlobstarRecursion){let m=this._matchGlobStarBodySections(e,r,i+l.length,n+1,s,a+1,o);if(m!==!1)return m}let p=e[i];if(p==="."||p===".."||!this.options.dot&&p.charAt(0)===".")return!1;i++}return s||null}_matchOne(e,r,i,n,s){let a,o,u,l;for(a=n,o=s,u=e.length,l=r.length;a<u&&o<l;a++,o++){this.debug("matchOne loop");let f=r[o],h=e[a];if(this.debug(r,f,h),f===!1||f===dr)return!1;let p;if(typeof f=="string"?(p=h===f,this.debug("string match",f,h,p)):(p=h.match(f),this.debug("pattern match",f,h,p)),!p)return!1}if(a===u&&o===l)return!0;if(a===u)return i;if(o===l)return a===u-1&&e[a]==="";throw new Error("wtf?")}braceExpand(){return eR(this.pattern,this.options)}parse(e,r){jd(e);let i=this.options;if(e==="**")if(i.noglobstar)e="*";else return dr;if(e==="")return"";let n="",s=!1,a=!1,o=[],u=[],l,f=!1,h=-1,p=-1,m,v,S,b=e.charAt(0)===".",g=i.dot||b,k=()=>b?"":g?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",w=O=>O.charAt(0)==="."?"":i.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",_=()=>{if(l){switch(l){case"*":n+=q0,s=!0;break;case"?":n+=M0,s=!0;break;default:n+="\\"+l;break}this.debug("clearStateChar %j %j",l,n),l=!1}};for(let O=0,L;O<e.length&&(L=e.charAt(O));O++){if(this.debug("%s %s %s %j",e,O,n,L),a){if(L==="/")return!1;Y2[L]&&(n+="\\"),n+=L,a=!1;continue}switch(L){case"/":return!1;case"\\":if(f&&e.charAt(O+1)==="-"){n+=L;continue}_(),a=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",e,O,n,L),f){this.debug(" in class"),L==="!"&&O===p+1&&(L="^"),n+=L;continue}if(L==="*"&&l==="*")continue;this.debug("call clearStateChar %j",l),_(),l=L,i.noext&&_();continue;case"(":{if(f){n+="(";continue}if(!l){n+="\\(";continue}let B={type:l,start:O-1,reStart:n.length,open:Q2[l].open,close:Q2[l].close};this.debug(this.pattern," ",B),o.push(B),n+=B.open,B.start===0&&B.type!=="!"&&(b=!0,n+=w(e.slice(O+1))),this.debug("plType %j %j",l,n),l=!1;continue}case")":{let B=o[o.length-1];if(f||!B){n+="\\)";continue}o.pop(),_(),s=!0,v=B,n+=v.close,v.type==="!"&&u.push(Object.assign(v,{reEnd:n.length}));continue}case"|":{let B=o[o.length-1];if(f||!B){n+="\\|";continue}_(),n+="|",B.start===0&&B.type!=="!"&&(b=!0,n+=w(e.slice(O+1)));continue}case"[":if(_(),f){n+="\\"+L;continue}f=!0,p=O,h=n.length,n+=L;continue;case"]":if(O===p+1||!f){n+="\\"+L;continue}m=e.substring(p+1,O);try{RegExp("["+fY(cY(m))+"]"),n+=L}catch{n=n.substring(0,h)+"(?:$.)"}s=!0,f=!1;continue;default:_(),Y2[L]&&!(L==="^"&&f)&&(n+="\\"),n+=L;break}}for(f&&(m=e.slice(p+1),S=this.parse(m,C0),n=n.substring(0,h)+"\\["+S[0],s=s||S[1]),v=o.pop();v;v=o.pop()){let O;O=n.slice(v.reStart+v.open.length),this.debug("setting tail",n,v),O=O.replace(/((?:\\{2}){0,64})(\\?)\|/g,(B,R,q)=>(q||(q="\\"),R+R+q+"|")),this.debug(`tail=%j
1218
+ ${r}`)))}});var $2=T(si=>{"use strict";y();Object.defineProperty(si,"__esModule",{value:!0});si.root=si.downloadThemeLiquidDocs=si.downloadResource=si.Resources=si.ThemeLiquidDocsManager=void 0;var KQ=V2();Object.defineProperty(si,"ThemeLiquidDocsManager",{enumerable:!0,get:function(){return KQ.ThemeLiquidDocsManager}});var Fd=A0();Object.defineProperty(si,"Resources",{enumerable:!0,get:function(){return Fd.Resources}});Object.defineProperty(si,"downloadResource",{enumerable:!0,get:function(){return Fd.downloadResource}});Object.defineProperty(si,"downloadThemeLiquidDocs",{enumerable:!0,get:function(){return Fd.downloadThemeLiquidDocs}});Object.defineProperty(si,"root",{enumerable:!0,get:function(){return Fd.root}})});var U2=T(E0=>{y();var $s=ae("path"),Mn=process.platform==="win32",Rn=ae("fs"),QQ=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function YQ(){var t;if(QQ){var e=new Error;t=r}else t=i;return t;function r(n){n&&(e.message=n.message,n=e,i(n))}function i(n){if(n){if(process.throwDeprecation)throw n;if(!process.noDeprecation){var s="fs: missing callback "+(n.stack||n.message);process.traceDeprecation?console.trace(s):console.error(s)}}}}function XQ(t){return typeof t=="function"?t:YQ()}var fde=$s.normalize;Mn?fn=/(.*?)(?:[\/\\]+|$)/g:fn=/(.*?)(?:[\/]+|$)/g;var fn;Mn?fc=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/:fc=/^[\/]*/;var fc;E0.realpathSync=function(e,r){if(e=$s.resolve(e),r&&Object.prototype.hasOwnProperty.call(r,e))return r[e];var i=e,n={},s={},a,o,u,l;f();function f(){var b=fc.exec(e);a=b[0].length,o=b[0],u=b[0],l="",Mn&&!s[u]&&(Rn.lstatSync(u),s[u]=!0)}for(;a<e.length;){fn.lastIndex=a;var h=fn.exec(e);if(l=o,o+=h[0],u=l+h[1],a=fn.lastIndex,!(s[u]||r&&r[u]===u)){var p;if(r&&Object.prototype.hasOwnProperty.call(r,u))p=r[u];else{var m=Rn.lstatSync(u);if(!m.isSymbolicLink()){s[u]=!0,r&&(r[u]=u);continue}var v=null;if(!Mn){var S=m.dev.toString(32)+":"+m.ino.toString(32);n.hasOwnProperty(S)&&(v=n[S])}v===null&&(Rn.statSync(u),v=Rn.readlinkSync(u)),p=$s.resolve(l,v),r&&(r[u]=p),Mn||(n[S]=v)}e=$s.resolve(p,e.slice(a)),f()}}return r&&(r[i]=e),e};E0.realpath=function(e,r,i){if(typeof i!="function"&&(i=XQ(r),r=null),e=$s.resolve(e),r&&Object.prototype.hasOwnProperty.call(r,e))return process.nextTick(i.bind(null,null,r[e]));var n=e,s={},a={},o,u,l,f;h();function h(){var b=fc.exec(e);o=b[0].length,u=b[0],l=b[0],f="",Mn&&!a[l]?Rn.lstat(l,function(g){if(g)return i(g);a[l]=!0,p()}):process.nextTick(p)}function p(){if(o>=e.length)return r&&(r[n]=e),i(null,e);fn.lastIndex=o;var b=fn.exec(e);return f=u,u+=b[0],l=f+b[1],o=fn.lastIndex,a[l]||r&&r[l]===l?process.nextTick(p):r&&Object.prototype.hasOwnProperty.call(r,l)?S(r[l]):Rn.lstat(l,m)}function m(b,g){if(b)return i(b);if(!g.isSymbolicLink())return a[l]=!0,r&&(r[l]=l),process.nextTick(p);if(!Mn){var k=g.dev.toString(32)+":"+g.ino.toString(32);if(s.hasOwnProperty(k))return v(null,s[k],l)}Rn.stat(l,function(w){if(w)return i(w);Rn.readlink(l,function(_,A){Mn||(s[k]=A),v(_,A)})})}function v(b,g,k){if(b)return i(b);var w=$s.resolve(f,g);r&&(r[k]=w),S(w)}function S(b){e=$s.resolve(b,e.slice(o)),h()}}});var P0=T((dde,z2)=>{y();z2.exports=Dn;Dn.realpath=Dn;Dn.sync=L0;Dn.realpathSync=L0;Dn.monkeypatch=eY;Dn.unmonkeypatch=tY;var uo=ae("fs"),O0=uo.realpath,N0=uo.realpathSync,ZQ=process.version,H2=/^v[0-5]\./.test(ZQ),G2=U2();function W2(t){return t&&t.syscall==="realpath"&&(t.code==="ELOOP"||t.code==="ENOMEM"||t.code==="ENAMETOOLONG")}function Dn(t,e,r){if(H2)return O0(t,e,r);typeof e=="function"&&(r=e,e=null),O0(t,e,function(i,n){W2(i)?G2.realpath(t,e,r):r(i,n)})}function L0(t,e){if(H2)return N0(t,e);try{return N0(t,e)}catch(r){if(W2(r))return G2.realpathSync(t,e);throw r}}function eY(){uo.realpath=Dn,uo.realpathSync=L0}function tY(){uo.realpath=O0,uo.realpathSync=N0}});var K2=T((gde,J2)=>{y();var rY=typeof process=="object"&&process&&process.platform==="win32";J2.exports=rY?{sep:"\\"}:{sep:"/"}});var Bd=T((vde,D0)=>{y();var Vr=D0.exports=(t,e,r={})=>(jd(e),!r.nocomment&&e.charAt(0)==="#"?!1:new co(e,r).match(t));D0.exports=Vr;var R0=K2();Vr.sep=R0.sep;var dr=Symbol("globstar **");Vr.GLOBSTAR=dr;var iY=d4(),Q2={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},M0="[^/]",q0=M0+"*?",nY="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",sY="(?:(?!(?:\\/|^)\\.).)*?",Z2=t=>t.split("").reduce((e,r)=>(e[r]=!0,e),{}),Y2=Z2("().*{}+?[]^$\\!"),aY=Z2("[.("),X2=/\/+/;Vr.filter=(t,e={})=>(r,i,n)=>Vr(r,t,e);var Fn=(t,e={})=>{let r={};return Object.keys(t).forEach(i=>r[i]=t[i]),Object.keys(e).forEach(i=>r[i]=e[i]),r};Vr.defaults=t=>{if(!t||typeof t!="object"||!Object.keys(t).length)return Vr;let e=Vr,r=(i,n,s)=>e(i,n,Fn(t,s));return r.Minimatch=class extends e.Minimatch{constructor(n,s){super(n,Fn(t,s))}},r.Minimatch.defaults=i=>e.defaults(Fn(t,i)).Minimatch,r.filter=(i,n)=>e.filter(i,Fn(t,n)),r.defaults=i=>e.defaults(Fn(t,i)),r.makeRe=(i,n)=>e.makeRe(i,Fn(t,n)),r.braceExpand=(i,n)=>e.braceExpand(i,Fn(t,n)),r.match=(i,n,s)=>e.match(i,n,Fn(t,s)),r};Vr.braceExpand=(t,e)=>eR(t,e);var eR=(t,e={})=>(jd(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:iY(t)),oY=1024*64,jd=t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>oY)throw new TypeError("pattern is too long")},C0=Symbol("subparse");Vr.makeRe=(t,e)=>new co(t,e||{}).makeRe();Vr.match=(t,e,r={})=>{let i=new co(e,r);return t=t.filter(n=>i.match(n)),i.options.nonull&&!t.length&&t.push(e),t};var uY=t=>t.replace(/\\(.)/g,"$1"),cY=t=>t.replace(/\\([^-\]])/g,"$1"),lY=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),fY=t=>t.replace(/[[\]\\]/g,"\\$&"),co=class{constructor(e,r){jd(e),r||(r={}),this.options=r,this.maxGlobstarRecursion=r.maxGlobstarRecursion!==void 0?r.maxGlobstarRecursion:200,this.set=[],this.pattern=e,this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!r.partial,this.make()}debug(){}make(){let e=this.pattern,r=this.options;if(!r.nocomment&&e.charAt(0)==="#"){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate();let i=this.globSet=this.braceExpand();r.debug&&(this.debug=(...n)=>console.error(...n)),this.debug(this.pattern,i),i=this.globParts=i.map(n=>n.split(X2)),this.debug(this.pattern,i),i=i.map((n,s,a)=>n.map(this.parse,this)),this.debug(this.pattern,i),i=i.filter(n=>n.indexOf(!1)===-1),this.debug(this.pattern,i),this.set=i}parseNegate(){if(this.options.nonegate)return;let e=this.pattern,r=!1,i=0;for(let n=0;n<e.length&&e.charAt(n)==="!";n++)r=!r,i++;i&&(this.pattern=e.slice(i)),this.negate=r}matchOne(e,r,i){return r.indexOf(dr)!==-1?this._matchGlobstar(e,r,i,0,0):this._matchOne(e,r,i,0,0)}_matchGlobstar(e,r,i,n,s){let a=-1;for(let k=s;k<r.length;k++)if(r[k]===dr){a=k;break}let o=-1;for(let k=r.length-1;k>=0;k--)if(r[k]===dr){o=k;break}let u=r.slice(s,a),l=i?r.slice(a+1):r.slice(a+1,o),f=i?[]:r.slice(o+1);if(u.length){let k=e.slice(n,n+u.length);if(!this._matchOne(k,u,i,0,0))return!1;n+=u.length}let h=0;if(f.length){if(f.length+n>e.length)return!1;let k=e.length-f.length;if(this._matchOne(e,f,i,k,0))h=f.length;else{if(e[e.length-1]!==""||n+f.length===e.length||!this._matchOne(e,f,i,k-1,0))return!1;h=f.length+1}}if(!l.length){let k=!!h;for(let w=n;w<e.length-h;w++){let _=String(e[w]);if(k=!0,_==="."||_===".."||!this.options.dot&&_.charAt(0)===".")return!1}return i||k}let p=[[[],0]],m=p[0],v=0,S=[0];for(let k of l)k===dr?(S.push(v),m=[[],0],p.push(m)):(m[0].push(k),v++);let b=p.length-1,g=e.length-h;for(let k of p)k[1]=g-(S[b--]+k[0].length);return!!this._matchGlobStarBodySections(e,p,n,0,i,0,!!h)}_matchGlobStarBodySections(e,r,i,n,s,a,o){let u=r[n];if(!u){for(let h=i;h<e.length;h++){o=!0;let p=e[h];if(p==="."||p===".."||!this.options.dot&&p.charAt(0)===".")return!1}return o}let[l,f]=u;for(;i<=f;){if(this._matchOne(e.slice(0,i+l.length),l,s,i,0)&&a<this.maxGlobstarRecursion){let m=this._matchGlobStarBodySections(e,r,i+l.length,n+1,s,a+1,o);if(m!==!1)return m}let p=e[i];if(p==="."||p===".."||!this.options.dot&&p.charAt(0)===".")return!1;i++}return s||null}_matchOne(e,r,i,n,s){let a,o,u,l;for(a=n,o=s,u=e.length,l=r.length;a<u&&o<l;a++,o++){this.debug("matchOne loop");let f=r[o],h=e[a];if(this.debug(r,f,h),f===!1||f===dr)return!1;let p;if(typeof f=="string"?(p=h===f,this.debug("string match",f,h,p)):(p=h.match(f),this.debug("pattern match",f,h,p)),!p)return!1}if(a===u&&o===l)return!0;if(a===u)return i;if(o===l)return a===u-1&&e[a]==="";throw new Error("wtf?")}braceExpand(){return eR(this.pattern,this.options)}parse(e,r){jd(e);let i=this.options;if(e==="**")if(i.noglobstar)e="*";else return dr;if(e==="")return"";let n="",s=!1,a=!1,o=[],u=[],l,f=!1,h=-1,p=-1,m,v,S,b=e.charAt(0)===".",g=i.dot||b,k=()=>b?"":g?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",w=O=>O.charAt(0)==="."?"":i.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",_=()=>{if(l){switch(l){case"*":n+=q0,s=!0;break;case"?":n+=M0,s=!0;break;default:n+="\\"+l;break}this.debug("clearStateChar %j %j",l,n),l=!1}};for(let O=0,L;O<e.length&&(L=e.charAt(O));O++){if(this.debug("%s %s %s %j",e,O,n,L),a){if(L==="/")return!1;Y2[L]&&(n+="\\"),n+=L,a=!1;continue}switch(L){case"/":return!1;case"\\":if(f&&e.charAt(O+1)==="-"){n+=L;continue}_(),a=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",e,O,n,L),f){this.debug(" in class"),L==="!"&&O===p+1&&(L="^"),n+=L;continue}if(L==="*"&&l==="*")continue;this.debug("call clearStateChar %j",l),_(),l=L,i.noext&&_();continue;case"(":{if(f){n+="(";continue}if(!l){n+="\\(";continue}let B={type:l,start:O-1,reStart:n.length,open:Q2[l].open,close:Q2[l].close};this.debug(this.pattern," ",B),o.push(B),n+=B.open,B.start===0&&B.type!=="!"&&(b=!0,n+=w(e.slice(O+1))),this.debug("plType %j %j",l,n),l=!1;continue}case")":{let B=o[o.length-1];if(f||!B){n+="\\)";continue}o.pop(),_(),s=!0,v=B,n+=v.close,v.type==="!"&&u.push(Object.assign(v,{reEnd:n.length}));continue}case"|":{let B=o[o.length-1];if(f||!B){n+="\\|";continue}_(),n+="|",B.start===0&&B.type!=="!"&&(b=!0,n+=w(e.slice(O+1)));continue}case"[":if(_(),f){n+="\\"+L;continue}f=!0,p=O,h=n.length,n+=L;continue;case"]":if(O===p+1||!f){n+="\\"+L;continue}m=e.substring(p+1,O);try{RegExp("["+fY(cY(m))+"]"),n+=L}catch{n=n.substring(0,h)+"(?:$.)"}s=!0,f=!1;continue;default:_(),Y2[L]&&!(L==="^"&&f)&&(n+="\\"),n+=L;break}}for(f&&(m=e.slice(p+1),S=this.parse(m,C0),n=n.substring(0,h)+"\\["+S[0],s=s||S[1]),v=o.pop();v;v=o.pop()){let O;O=n.slice(v.reStart+v.open.length),this.debug("setting tail",n,v),O=O.replace(/((?:\\{2}){0,64})(\\?)\|/g,(B,R,q)=>(q||(q="\\"),R+R+q+"|")),this.debug(`tail=%j
1219
1219
  %s`,O,O,v,n);let L=v.type==="*"?q0:v.type==="?"?M0:"\\"+v.type;s=!0,n=n.slice(0,v.reStart)+L+"\\("+O}_(),a&&(n+="\\\\");let A=aY[n.charAt(0)];for(let O=u.length-1;O>-1;O--){let L=u[O],B=n.slice(0,L.reStart),R=n.slice(L.reStart,L.reEnd-8),q=n.slice(L.reEnd),P=n.slice(L.reEnd-8,L.reEnd)+q,$=B.split(")").length,V=B.split("(").length-$,C=q;for(let U=0;U<V;U++)C=C.replace(/\)[+*?]?/,"");q=C;let F=q===""&&r!==C0?"(?:$|\\/)":"";n=B+R+q+F+P}if(n!==""&&s&&(n="(?=.)"+n),A&&(n=k()+n),r===C0)return[n,s];if(i.nocase&&!s&&(s=e.toUpperCase()!==e.toLowerCase()),!s)return uY(e);let E=i.nocase?"i":"";try{return Object.assign(new RegExp("^"+n+"$",E),{_glob:e,_src:n})}catch{return new RegExp("$.")}}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let e=this.set;if(!e.length)return this.regexp=!1,this.regexp;let r=this.options,i=r.noglobstar?q0:r.dot?nY:sY,n=r.nocase?"i":"",s=e.map(a=>(a=a.map(o=>typeof o=="string"?lY(o):o===dr?dr:o._src).reduce((o,u)=>(o[o.length-1]===dr&&u===dr||o.push(u),o),[]),a.forEach((o,u)=>{o!==dr||a[u-1]===dr||(u===0?a.length>1?a[u+1]="(?:\\/|"+i+"\\/)?"+a[u+1]:a[u]=i:u===a.length-1?a[u-1]+="(?:\\/|"+i+")?":(a[u-1]+="(?:\\/|\\/"+i+"\\/)"+a[u+1],a[u+1]=dr))}),a.filter(o=>o!==dr).join("/"))).join("|");s="^(?:"+s+")$",this.negate&&(s="^(?!"+s+").*$");try{this.regexp=new RegExp(s,n)}catch{this.regexp=!1}return this.regexp}match(e,r=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;let i=this.options;R0.sep!=="/"&&(e=e.split(R0.sep).join("/")),e=e.split(X2),this.debug(this.pattern,"split",e);let n=this.set;this.debug(this.pattern,"set",n);let s;for(let a=e.length-1;a>=0&&(s=e[a],!s);a--);for(let a=0;a<n.length;a++){let o=n[a],u=e;if(i.matchBase&&o.length===1&&(u=[s]),this.matchOne(u,o,r))return i.flipNegate?!0:!this.negate}return i.flipNegate?!1:this.negate}static defaults(e){return Vr.defaults(e).Minimatch}};Vr.Minimatch=co});var j0=T(jn=>{y();jn.setopts=yY;jn.ownProp=tR;jn.makeAbs=pc;jn.finish=_Y;jn.mark=vY;jn.isIgnored=iR;jn.childrenIgnored=bY;function tR(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var pY=ae("fs"),Us=ae("path"),hY=Bd(),rR=ae("path").isAbsolute,F0=hY.Minimatch;function dY(t,e){return t.localeCompare(e,"en")}function mY(t,e){t.ignore=e.ignore||[],Array.isArray(t.ignore)||(t.ignore=[t.ignore]),t.ignore.length&&(t.ignore=t.ignore.map(gY))}function gY(t){var e=null;if(t.slice(-3)==="/**"){var r=t.replace(/(\/\*\*)+$/,"");e=new F0(r,{dot:!0})}return{matcher:new F0(t,{dot:!0}),gmatcher:e}}function yY(t,e,r){if(r||(r={}),r.matchBase&&e.indexOf("/")===-1){if(r.noglobstar)throw new Error("base matching requires globstar");e="**/"+e}t.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r.allowWindowsEscape===!1,t.windowsPathsNoEscape&&(e=e.replace(/\\/g,"/")),t.silent=!!r.silent,t.pattern=e,t.strict=r.strict!==!1,t.realpath=!!r.realpath,t.realpathCache=r.realpathCache||Object.create(null),t.follow=!!r.follow,t.dot=!!r.dot,t.mark=!!r.mark,t.nodir=!!r.nodir,t.nodir&&(t.mark=!0),t.sync=!!r.sync,t.nounique=!!r.nounique,t.nonull=!!r.nonull,t.nosort=!!r.nosort,t.nocase=!!r.nocase,t.stat=!!r.stat,t.noprocess=!!r.noprocess,t.absolute=!!r.absolute,t.fs=r.fs||pY,t.maxLength=r.maxLength||1/0,t.cache=r.cache||Object.create(null),t.statCache=r.statCache||Object.create(null),t.symlinks=r.symlinks||Object.create(null),mY(t,r),t.changedCwd=!1;var i=process.cwd();tR(r,"cwd")?(t.cwd=Us.resolve(r.cwd),t.changedCwd=t.cwd!==i):t.cwd=Us.resolve(i),t.root=r.root||Us.resolve(t.cwd,"/"),t.root=Us.resolve(t.root),t.cwdAbs=rR(t.cwd)?t.cwd:pc(t,t.cwd),t.nomount=!!r.nomount,process.platform==="win32"&&(t.root=t.root.replace(/\\/g,"/"),t.cwd=t.cwd.replace(/\\/g,"/"),t.cwdAbs=t.cwdAbs.replace(/\\/g,"/")),r.nonegate=!0,r.nocomment=!0,t.minimatch=new F0(e,r),t.options=t.minimatch.options}function _Y(t){for(var e=t.nounique,r=e?[]:Object.create(null),i=0,n=t.matches.length;i<n;i++){var s=t.matches[i];if(!s||Object.keys(s).length===0){if(t.nonull){var a=t.minimatch.globSet[i];e?r.push(a):r[a]=!0}}else{var o=Object.keys(s);e?r.push.apply(r,o):o.forEach(function(u){r[u]=!0})}}if(e||(r=Object.keys(r)),t.nosort||(r=r.sort(dY)),t.mark){for(var i=0;i<r.length;i++)r[i]=t._mark(r[i]);t.nodir&&(r=r.filter(function(u){var l=!/\/$/.test(u),f=t.cache[u]||t.cache[pc(t,u)];return l&&f&&(l=f!=="DIR"&&!Array.isArray(f)),l}))}t.ignore.length&&(r=r.filter(function(u){return!iR(t,u)})),t.found=r}function vY(t,e){var r=pc(t,e),i=t.cache[r],n=e;if(i){var s=i==="DIR"||Array.isArray(i),a=e.slice(-1)==="/";if(s&&!a?n+="/":!s&&a&&(n=n.slice(0,-1)),n!==e){var o=pc(t,n);t.statCache[o]=t.statCache[r],t.cache[o]=t.cache[r]}}return n}function pc(t,e){var r=e;return e.charAt(0)==="/"?r=Us.join(t.root,e):rR(e)||e===""?r=e:t.changedCwd?r=Us.resolve(t.cwd,e):r=Us.resolve(e),process.platform==="win32"&&(r=r.replace(/\\/g,"/")),r}function iR(t,e){return t.ignore.length?t.ignore.some(function(r){return r.matcher.match(e)||!!(r.gmatcher&&r.gmatcher.match(e))}):!1}function bY(t,e){return t.ignore.length?t.ignore.some(function(r){return!!(r.gmatcher&&r.gmatcher.match(e))}):!1}});var uR=T((Ade,oR)=>{y();oR.exports=aR;aR.GlobSync=kt;var SY=P0(),nR=Bd(),xde=nR.Minimatch,kde=$d().Glob,Ide=ae("util"),B0=ae("path"),sR=ae("assert"),Vd=ae("path").isAbsolute,Hs=j0(),wY=Hs.setopts,V0=Hs.ownProp,xY=Hs.childrenIgnored,kY=Hs.isIgnored;function aR(t,e){if(typeof e=="function"||arguments.length===3)throw new TypeError(`callback provided to sync glob
1220
1220
  See: https://github.com/isaacs/node-glob/issues/167`);return new kt(t,e).found}function kt(t,e){if(!t)throw new Error("must provide pattern");if(typeof e=="function"||arguments.length===3)throw new TypeError(`callback provided to sync glob
1221
- See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof kt))return new kt(t,e);if(wY(this,t,e),this.noprocess)return this;var r=this.minimatch.set.length;this.matches=new Array(r);for(var i=0;i<r;i++)this._process(this.minimatch.set[i],i,!1);this._finish()}kt.prototype._finish=function(){if(sR.ok(this instanceof kt),this.realpath){var t=this;this.matches.forEach(function(e,r){var i=t.matches[r]=Object.create(null);for(var n in e)try{n=t._makeAbs(n);var s=SY.realpathSync(n,t.realpathCache);i[s]=!0}catch(a){if(a.syscall==="stat")i[t._makeAbs(n)]=!0;else throw a}})}Hs.finish(this)};kt.prototype._process=function(t,e,r){sR.ok(this instanceof kt);for(var i=0;typeof t[i]=="string";)i++;var n;switch(i){case t.length:this._processSimple(t.join("/"),e);return;case 0:n=null;break;default:n=t.slice(0,i).join("/");break}var s=t.slice(i),a;n===null?a=".":((Vd(n)||Vd(t.map(function(l){return typeof l=="string"?l:"[*]"}).join("/")))&&(!n||!Vd(n))&&(n="/"+n),a=n);var o=this._makeAbs(a);if(!xY(this,a)){var u=s[0]===nR.GLOBSTAR;u?this._processGlobStar(n,a,o,s,e,r):this._processReaddir(n,a,o,s,e,r)}};kt.prototype._processReaddir=function(t,e,r,i,n,s){var a=this._readdir(r,s);if(a){for(var o=i[0],u=!!this.minimatch.negate,l=o._glob,f=this.dot||l.charAt(0)===".",h=[],p=0;p<a.length;p++){var m=a[p];if(m.charAt(0)!=="."||f){var v;u&&!t?v=!m.match(o):v=m.match(o),v&&h.push(m)}}var S=h.length;if(S!==0){if(i.length===1&&!this.mark&&!this.stat){this.matches[n]||(this.matches[n]=Object.create(null));for(var p=0;p<S;p++){var m=h[p];t&&(t.slice(-1)!=="/"?m=t+"/"+m:m=t+m),m.charAt(0)==="/"&&!this.nomount&&(m=B0.join(this.root,m)),this._emitMatch(n,m)}return}i.shift();for(var p=0;p<S;p++){var m=h[p],b;t?b=[t,m]:b=[m],this._process(b.concat(i),n,s)}}}};kt.prototype._emitMatch=function(t,e){if(!kY(this,e)){var r=this._makeAbs(e);if(this.mark&&(e=this._mark(e)),this.absolute&&(e=r),!this.matches[t][e]){if(this.nodir){var i=this.cache[r];if(i==="DIR"||Array.isArray(i))return}this.matches[t][e]=!0,this.stat&&this._stat(e)}}};kt.prototype._readdirInGlobStar=function(t){if(this.follow)return this._readdir(t,!1);var e,r,i;try{r=this.fs.lstatSync(t)}catch(s){if(s.code==="ENOENT")return null}var n=r&&r.isSymbolicLink();return this.symlinks[t]=n,!n&&r&&!r.isDirectory()?this.cache[t]="FILE":e=this._readdir(t,!1),e};kt.prototype._readdir=function(t,e){var r;if(e&&!V0(this.symlinks,t))return this._readdirInGlobStar(t);if(V0(this.cache,t)){var i=this.cache[t];if(!i||i==="FILE")return null;if(Array.isArray(i))return i}try{return this._readdirEntries(t,this.fs.readdirSync(t))}catch(n){return this._readdirError(t,n),null}};kt.prototype._readdirEntries=function(t,e){if(!this.mark&&!this.stat)for(var r=0;r<e.length;r++){var i=e[r];t==="/"?i=t+i:i=t+"/"+i,this.cache[i]=!0}return this.cache[t]=e,e};kt.prototype._readdirError=function(t,e){switch(e.code){case"ENOTSUP":case"ENOTDIR":var r=this._makeAbs(t);if(this.cache[r]="FILE",r===this.cwdAbs){var i=new Error(e.code+" invalid cwd "+this.cwd);throw i.path=this.cwd,i.code=e.code,i}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(t)]=!1;break;default:if(this.cache[this._makeAbs(t)]=!1,this.strict)throw e;this.silent||console.error("glob error",e);break}};kt.prototype._processGlobStar=function(t,e,r,i,n,s){var a=this._readdir(r,s);if(a){var o=i.slice(1),u=t?[t]:[],l=u.concat(o);this._process(l,n,!1);var f=a.length,h=this.symlinks[r];if(!(h&&s))for(var p=0;p<f;p++){var m=a[p];if(!(m.charAt(0)==="."&&!this.dot)){var v=u.concat(a[p],o);this._process(v,n,!0);var S=u.concat(a[p],i);this._process(S,n,!0)}}}};kt.prototype._processSimple=function(t,e){var r=this._stat(t);if(this.matches[e]||(this.matches[e]=Object.create(null)),!!r){if(t&&Vd(t)&&!this.nomount){var i=/[\/\\]$/.test(t);t.charAt(0)==="/"?t=B0.join(this.root,t):(t=B0.resolve(this.root,t),i&&(t+="/"))}process.platform==="win32"&&(t=t.replace(/\\/g,"/")),this._emitMatch(e,t)}};kt.prototype._stat=function(t){var e=this._makeAbs(t),r=t.slice(-1)==="/";if(t.length>this.maxLength)return!1;if(!this.stat&&V0(this.cache,e)){var a=this.cache[e];if(Array.isArray(a)&&(a="DIR"),!r||a==="DIR")return a;if(r&&a==="FILE")return!1}var i,n=this.statCache[e];if(!n){var s;try{s=this.fs.lstatSync(e)}catch(o){if(o&&(o.code==="ENOENT"||o.code==="ENOTDIR"))return this.statCache[e]=!1,!1}if(s&&s.isSymbolicLink())try{n=this.fs.statSync(e)}catch{n=s}else n=s}this.statCache[e]=n;var a=!0;return n&&(a=n.isDirectory()?"DIR":"FILE"),this.cache[e]=this.cache[e]||a,r&&a==="FILE"?!1:a};kt.prototype._mark=function(t){return Hs.mark(this,t)};kt.prototype._makeAbs=function(t){return Hs.makeAbs(this,t)}});var lR=T((Ede,cR)=>{y();var IY=h4(),hc=Object.create(null),AY=xw();cR.exports=IY(TY);function TY(t,e){return hc[t]?(hc[t].push(e),null):(hc[t]=[e],EY(t))}function EY(t){return AY(function e(){var r=hc[t],i=r.length,n=OY(arguments);try{for(var s=0;s<i;s++)r[s].apply(null,n)}finally{r.length>i?(r.splice(0,i),process.nextTick(function(){e.apply(null,n)})):delete hc[t]}})}function OY(t){for(var e=t.length,r=[],i=0;i<e;i++)r[i]=t[i];return r}});var $d=T((Pde,pR)=>{y();pR.exports=Gs;var NY=P0(),fR=Bd(),Nde=fR.Minimatch,LY=m4(),PY=ae("events").EventEmitter,$0=ae("path"),U0=ae("assert"),dc=ae("path").isAbsolute,G0=uR(),Ws=j0(),qY=Ws.setopts,H0=Ws.ownProp,W0=lR(),Lde=ae("util"),CY=Ws.childrenIgnored,RY=Ws.isIgnored,MY=xw();function Gs(t,e,r){if(typeof e=="function"&&(r=e,e={}),e||(e={}),e.sync){if(r)throw new TypeError("callback provided to sync glob");return G0(t,e)}return new Ne(t,e,r)}Gs.sync=G0;var DY=Gs.GlobSync=G0.GlobSync;Gs.glob=Gs;function FY(t,e){if(e===null||typeof e!="object")return t;for(var r=Object.keys(e),i=r.length;i--;)t[r[i]]=e[r[i]];return t}Gs.hasMagic=function(t,e){var r=FY({},e);r.noprocess=!0;var i=new Ne(t,r),n=i.minimatch.set;if(!t)return!1;if(n.length>1)return!0;for(var s=0;s<n[0].length;s++)if(typeof n[0][s]!="string")return!0;return!1};Gs.Glob=Ne;LY(Ne,PY);function Ne(t,e,r){if(typeof e=="function"&&(r=e,e=null),e&&e.sync){if(r)throw new TypeError("callback provided to sync glob");return new DY(t,e)}if(!(this instanceof Ne))return new Ne(t,e,r);qY(this,t,e),this._didRealPath=!1;var i=this.minimatch.set.length;this.matches=new Array(i),typeof r=="function"&&(r=MY(r),this.on("error",r),this.on("end",function(u){r(null,u)}));var n=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(i===0)return o();for(var s=!0,a=0;a<i;a++)this._process(this.minimatch.set[a],a,!1,o);s=!1;function o(){--n._processing,n._processing<=0&&(s?process.nextTick(function(){n._finish()}):n._finish())}}Ne.prototype._finish=function(){if(U0(this instanceof Ne),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();Ws.finish(this),this.emit("end",this.found)}};Ne.prototype._realpath=function(){if(this._didRealpath)return;this._didRealpath=!0;var t=this.matches.length;if(t===0)return this._finish();for(var e=this,r=0;r<this.matches.length;r++)this._realpathSet(r,i);function i(){--t===0&&e._finish()}};Ne.prototype._realpathSet=function(t,e){var r=this.matches[t];if(!r)return e();var i=Object.keys(r),n=this,s=i.length;if(s===0)return e();var a=this.matches[t]=Object.create(null);i.forEach(function(o,u){o=n._makeAbs(o),NY.realpath(o,n.realpathCache,function(l,f){l?l.syscall==="stat"?a[o]=!0:n.emit("error",l):a[f]=!0,--s===0&&(n.matches[t]=a,e())})})};Ne.prototype._mark=function(t){return Ws.mark(this,t)};Ne.prototype._makeAbs=function(t){return Ws.makeAbs(this,t)};Ne.prototype.abort=function(){this.aborted=!0,this.emit("abort")};Ne.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))};Ne.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var t=this._emitQueue.slice(0);this._emitQueue.length=0;for(var e=0;e<t.length;e++){var r=t[e];this._emitMatch(r[0],r[1])}}if(this._processQueue.length){var i=this._processQueue.slice(0);this._processQueue.length=0;for(var e=0;e<i.length;e++){var n=i[e];this._processing--,this._process(n[0],n[1],n[2],n[3])}}}};Ne.prototype._process=function(t,e,r,i){if(U0(this instanceof Ne),U0(typeof i=="function"),!this.aborted){if(this._processing++,this.paused){this._processQueue.push([t,e,r,i]);return}for(var n=0;typeof t[n]=="string";)n++;var s;switch(n){case t.length:this._processSimple(t.join("/"),e,i);return;case 0:s=null;break;default:s=t.slice(0,n).join("/");break}var a=t.slice(n),o;s===null?o=".":((dc(s)||dc(t.map(function(f){return typeof f=="string"?f:"[*]"}).join("/")))&&(!s||!dc(s))&&(s="/"+s),o=s);var u=this._makeAbs(o);if(CY(this,o))return i();var l=a[0]===fR.GLOBSTAR;l?this._processGlobStar(s,o,u,a,e,r,i):this._processReaddir(s,o,u,a,e,r,i)}};Ne.prototype._processReaddir=function(t,e,r,i,n,s,a){var o=this;this._readdir(r,s,function(u,l){return o._processReaddir2(t,e,r,i,n,s,l,a)})};Ne.prototype._processReaddir2=function(t,e,r,i,n,s,a,o){if(!a)return o();for(var u=i[0],l=!!this.minimatch.negate,f=u._glob,h=this.dot||f.charAt(0)===".",p=[],m=0;m<a.length;m++){var v=a[m];if(v.charAt(0)!=="."||h){var S;l&&!t?S=!v.match(u):S=v.match(u),S&&p.push(v)}}var b=p.length;if(b===0)return o();if(i.length===1&&!this.mark&&!this.stat){this.matches[n]||(this.matches[n]=Object.create(null));for(var m=0;m<b;m++){var v=p[m];t&&(t!=="/"?v=t+"/"+v:v=t+v),v.charAt(0)==="/"&&!this.nomount&&(v=$0.join(this.root,v)),this._emitMatch(n,v)}return o()}i.shift();for(var m=0;m<b;m++){var v=p[m],g;t&&(t!=="/"?v=t+"/"+v:v=t+v),this._process([v].concat(i),n,s,o)}o()};Ne.prototype._emitMatch=function(t,e){if(!this.aborted&&!RY(this,e)){if(this.paused){this._emitQueue.push([t,e]);return}var r=dc(e)?e:this._makeAbs(e);if(this.mark&&(e=this._mark(e)),this.absolute&&(e=r),!this.matches[t][e]){if(this.nodir){var i=this.cache[r];if(i==="DIR"||Array.isArray(i))return}this.matches[t][e]=!0;var n=this.statCache[r];n&&this.emit("stat",e,n),this.emit("match",e)}}};Ne.prototype._readdirInGlobStar=function(t,e){if(this.aborted)return;if(this.follow)return this._readdir(t,!1,e);var r="lstat\0"+t,i=this,n=W0(r,s);n&&i.fs.lstat(t,n);function s(a,o){if(a&&a.code==="ENOENT")return e();var u=o&&o.isSymbolicLink();i.symlinks[t]=u,!u&&o&&!o.isDirectory()?(i.cache[t]="FILE",e()):i._readdir(t,!1,e)}};Ne.prototype._readdir=function(t,e,r){if(!this.aborted&&(r=W0("readdir\0"+t+"\0"+e,r),!!r)){if(e&&!H0(this.symlinks,t))return this._readdirInGlobStar(t,r);if(H0(this.cache,t)){var i=this.cache[t];if(!i||i==="FILE")return r();if(Array.isArray(i))return r(null,i)}var n=this;n.fs.readdir(t,jY(this,t,r))}};function jY(t,e,r){return function(i,n){i?t._readdirError(e,i,r):t._readdirEntries(e,n,r)}}Ne.prototype._readdirEntries=function(t,e,r){if(!this.aborted){if(!this.mark&&!this.stat)for(var i=0;i<e.length;i++){var n=e[i];t==="/"?n=t+n:n=t+"/"+n,this.cache[n]=!0}return this.cache[t]=e,r(null,e)}};Ne.prototype._readdirError=function(t,e,r){if(!this.aborted){switch(e.code){case"ENOTSUP":case"ENOTDIR":var i=this._makeAbs(t);if(this.cache[i]="FILE",i===this.cwdAbs){var n=new Error(e.code+" invalid cwd "+this.cwd);n.path=this.cwd,n.code=e.code,this.emit("error",n),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(t)]=!1;break;default:this.cache[this._makeAbs(t)]=!1,this.strict&&(this.emit("error",e),this.abort()),this.silent||console.error("glob error",e);break}return r()}};Ne.prototype._processGlobStar=function(t,e,r,i,n,s,a){var o=this;this._readdir(r,s,function(u,l){o._processGlobStar2(t,e,r,i,n,s,l,a)})};Ne.prototype._processGlobStar2=function(t,e,r,i,n,s,a,o){if(!a)return o();var u=i.slice(1),l=t?[t]:[],f=l.concat(u);this._process(f,n,!1,o);var h=this.symlinks[r],p=a.length;if(h&&s)return o();for(var m=0;m<p;m++){var v=a[m];if(!(v.charAt(0)==="."&&!this.dot)){var S=l.concat(a[m],u);this._process(S,n,!0,o);var b=l.concat(a[m],i);this._process(b,n,!0,o)}}o()};Ne.prototype._processSimple=function(t,e,r){var i=this;this._stat(t,function(n,s){i._processSimple2(t,e,n,s,r)})};Ne.prototype._processSimple2=function(t,e,r,i,n){if(this.matches[e]||(this.matches[e]=Object.create(null)),!i)return n();if(t&&dc(t)&&!this.nomount){var s=/[\/\\]$/.test(t);t.charAt(0)==="/"?t=$0.join(this.root,t):(t=$0.resolve(this.root,t),s&&(t+="/"))}process.platform==="win32"&&(t=t.replace(/\\/g,"/")),this._emitMatch(e,t),n()};Ne.prototype._stat=function(t,e){var r=this._makeAbs(t),i=t.slice(-1)==="/";if(t.length>this.maxLength)return e();if(!this.stat&&H0(this.cache,r)){var n=this.cache[r];if(Array.isArray(n)&&(n="DIR"),!i||n==="DIR")return e(null,n);if(i&&n==="FILE")return e()}var s,a=this.statCache[r];if(a!==void 0){if(a===!1)return e(null,a);var o=a.isDirectory()?"DIR":"FILE";return i&&o==="FILE"?e():e(null,o,a)}var u=this,l=W0("stat\0"+r,f);l&&u.fs.lstat(r,l);function f(h,p){if(p&&p.isSymbolicLink())return u.fs.stat(r,function(m,v){m?u._stat2(t,r,null,p,e):u._stat2(t,r,m,v,e)});u._stat2(t,r,h,p,e)}};Ne.prototype._stat2=function(t,e,r,i,n){if(r&&(r.code==="ENOENT"||r.code==="ENOTDIR"))return this.statCache[e]=!1,n();var s=t.slice(-1)==="/";if(this.statCache[e]=i,e.slice(-1)==="/"&&i&&!i.isDirectory())return n(null,!1,i);var a=!0;return i&&(a=i.isDirectory()?"DIR":"FILE"),this.cache[e]=this.cache[e]||a,s&&a==="FILE"?n():n(null,a,i)}});var hR=T(lo=>{"use strict";y();Object.defineProperty(lo,"__esModule",{value:!0});lo.saveToDiskFixApplicator=void 0;lo.autofix=$Y;var BY=ae("fs/promises"),z0=hr(),VY=async(t,e)=>{let r=(0,z0.applyFixToString)(t.source,e);await(0,BY.writeFile)(z0.path.fsPath(t.uri),r,"utf8")};lo.saveToDiskFixApplicator=VY;async function $Y(t,e){await(0,z0.autofix)(t,e,lo.saveToDiskFixApplicator)}});var J0=T(mc=>{"use strict";y();var UY=mc&&mc.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(mc,"__esModule",{value:!0});mc.fileExists=GY;var HY=UY(ae("node:fs/promises"));async function GY(t){try{return await HY.default.stat(t),!0}catch{return!1}}});var mR=T(fo=>{"use strict";y();var dR=fo&&fo.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(fo,"__esModule",{value:!0});fo.thisNodeModuleRoot=void 0;var Fde=dR(ae("node:path")),WY=dR(ae("node:os")),zY=()=>WY.default.tmpdir();fo.thisNodeModuleRoot=zY});var _R=T(po=>{"use strict";y();var JY=po&&po.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(po,"__esModule",{value:!0});po.loadThirdPartyChecks=XY;po.findThirdPartyChecks=ZY;var KY=JY($d()),QY=ae("node:util"),YY=(0,QY.promisify)(KY.default);function XY(t=[]){let e=new Set;for(let r of t)try{let n=ae(r).checks;if(!Array.isArray(n))throw new Error(`Expected the 'checks' export to be an array and got ${typeof n}`);for(let s of n)eX(s)?e.add(s):console.error(`Expected ${s} to be a CheckDefinition, but it looks like it isn't`)}catch(i){console.error(`Error loading ${r}, ignoring it.
1221
+ See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof kt))return new kt(t,e);if(wY(this,t,e),this.noprocess)return this;var r=this.minimatch.set.length;this.matches=new Array(r);for(var i=0;i<r;i++)this._process(this.minimatch.set[i],i,!1);this._finish()}kt.prototype._finish=function(){if(sR.ok(this instanceof kt),this.realpath){var t=this;this.matches.forEach(function(e,r){var i=t.matches[r]=Object.create(null);for(var n in e)try{n=t._makeAbs(n);var s=SY.realpathSync(n,t.realpathCache);i[s]=!0}catch(a){if(a.syscall==="stat")i[t._makeAbs(n)]=!0;else throw a}})}Hs.finish(this)};kt.prototype._process=function(t,e,r){sR.ok(this instanceof kt);for(var i=0;typeof t[i]=="string";)i++;var n;switch(i){case t.length:this._processSimple(t.join("/"),e);return;case 0:n=null;break;default:n=t.slice(0,i).join("/");break}var s=t.slice(i),a;n===null?a=".":((Vd(n)||Vd(t.map(function(l){return typeof l=="string"?l:"[*]"}).join("/")))&&(!n||!Vd(n))&&(n="/"+n),a=n);var o=this._makeAbs(a);if(!xY(this,a)){var u=s[0]===nR.GLOBSTAR;u?this._processGlobStar(n,a,o,s,e,r):this._processReaddir(n,a,o,s,e,r)}};kt.prototype._processReaddir=function(t,e,r,i,n,s){var a=this._readdir(r,s);if(a){for(var o=i[0],u=!!this.minimatch.negate,l=o._glob,f=this.dot||l.charAt(0)===".",h=[],p=0;p<a.length;p++){var m=a[p];if(m.charAt(0)!=="."||f){var v;u&&!t?v=!m.match(o):v=m.match(o),v&&h.push(m)}}var S=h.length;if(S!==0){if(i.length===1&&!this.mark&&!this.stat){this.matches[n]||(this.matches[n]=Object.create(null));for(var p=0;p<S;p++){var m=h[p];t&&(t.slice(-1)!=="/"?m=t+"/"+m:m=t+m),m.charAt(0)==="/"&&!this.nomount&&(m=B0.join(this.root,m)),this._emitMatch(n,m)}return}i.shift();for(var p=0;p<S;p++){var m=h[p],b;t?b=[t,m]:b=[m],this._process(b.concat(i),n,s)}}}};kt.prototype._emitMatch=function(t,e){if(!kY(this,e)){var r=this._makeAbs(e);if(this.mark&&(e=this._mark(e)),this.absolute&&(e=r),!this.matches[t][e]){if(this.nodir){var i=this.cache[r];if(i==="DIR"||Array.isArray(i))return}this.matches[t][e]=!0,this.stat&&this._stat(e)}}};kt.prototype._readdirInGlobStar=function(t){if(this.follow)return this._readdir(t,!1);var e,r,i;try{r=this.fs.lstatSync(t)}catch(s){if(s.code==="ENOENT")return null}var n=r&&r.isSymbolicLink();return this.symlinks[t]=n,!n&&r&&!r.isDirectory()?this.cache[t]="FILE":e=this._readdir(t,!1),e};kt.prototype._readdir=function(t,e){var r;if(e&&!V0(this.symlinks,t))return this._readdirInGlobStar(t);if(V0(this.cache,t)){var i=this.cache[t];if(!i||i==="FILE")return null;if(Array.isArray(i))return i}try{return this._readdirEntries(t,this.fs.readdirSync(t))}catch(n){return this._readdirError(t,n),null}};kt.prototype._readdirEntries=function(t,e){if(!this.mark&&!this.stat)for(var r=0;r<e.length;r++){var i=e[r];t==="/"?i=t+i:i=t+"/"+i,this.cache[i]=!0}return this.cache[t]=e,e};kt.prototype._readdirError=function(t,e){switch(e.code){case"ENOTSUP":case"ENOTDIR":var r=this._makeAbs(t);if(this.cache[r]="FILE",r===this.cwdAbs){var i=new Error(e.code+" invalid cwd "+this.cwd);throw i.path=this.cwd,i.code=e.code,i}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(t)]=!1;break;default:if(this.cache[this._makeAbs(t)]=!1,this.strict)throw e;this.silent||console.error("glob error",e);break}};kt.prototype._processGlobStar=function(t,e,r,i,n,s){var a=this._readdir(r,s);if(a){var o=i.slice(1),u=t?[t]:[],l=u.concat(o);this._process(l,n,!1);var f=a.length,h=this.symlinks[r];if(!(h&&s))for(var p=0;p<f;p++){var m=a[p];if(!(m.charAt(0)==="."&&!this.dot)){var v=u.concat(a[p],o);this._process(v,n,!0);var S=u.concat(a[p],i);this._process(S,n,!0)}}}};kt.prototype._processSimple=function(t,e){var r=this._stat(t);if(this.matches[e]||(this.matches[e]=Object.create(null)),!!r){if(t&&Vd(t)&&!this.nomount){var i=/[\/\\]$/.test(t);t.charAt(0)==="/"?t=B0.join(this.root,t):(t=B0.resolve(this.root,t),i&&(t+="/"))}process.platform==="win32"&&(t=t.replace(/\\/g,"/")),this._emitMatch(e,t)}};kt.prototype._stat=function(t){var e=this._makeAbs(t),r=t.slice(-1)==="/";if(t.length>this.maxLength)return!1;if(!this.stat&&V0(this.cache,e)){var a=this.cache[e];if(Array.isArray(a)&&(a="DIR"),!r||a==="DIR")return a;if(r&&a==="FILE")return!1}var i,n=this.statCache[e];if(!n){var s;try{s=this.fs.lstatSync(e)}catch(o){if(o&&(o.code==="ENOENT"||o.code==="ENOTDIR"))return this.statCache[e]=!1,!1}if(s&&s.isSymbolicLink())try{n=this.fs.statSync(e)}catch{n=s}else n=s}this.statCache[e]=n;var a=!0;return n&&(a=n.isDirectory()?"DIR":"FILE"),this.cache[e]=this.cache[e]||a,r&&a==="FILE"?!1:a};kt.prototype._mark=function(t){return Hs.mark(this,t)};kt.prototype._makeAbs=function(t){return Hs.makeAbs(this,t)}});var lR=T((Ede,cR)=>{y();var IY=p4(),hc=Object.create(null),AY=xw();cR.exports=IY(TY);function TY(t,e){return hc[t]?(hc[t].push(e),null):(hc[t]=[e],EY(t))}function EY(t){return AY(function e(){var r=hc[t],i=r.length,n=OY(arguments);try{for(var s=0;s<i;s++)r[s].apply(null,n)}finally{r.length>i?(r.splice(0,i),process.nextTick(function(){e.apply(null,n)})):delete hc[t]}})}function OY(t){for(var e=t.length,r=[],i=0;i<e;i++)r[i]=t[i];return r}});var $d=T((Pde,pR)=>{y();pR.exports=Gs;var NY=P0(),fR=Bd(),Nde=fR.Minimatch,LY=m4(),PY=ae("events").EventEmitter,$0=ae("path"),U0=ae("assert"),dc=ae("path").isAbsolute,G0=uR(),Ws=j0(),qY=Ws.setopts,H0=Ws.ownProp,W0=lR(),Lde=ae("util"),CY=Ws.childrenIgnored,RY=Ws.isIgnored,MY=xw();function Gs(t,e,r){if(typeof e=="function"&&(r=e,e={}),e||(e={}),e.sync){if(r)throw new TypeError("callback provided to sync glob");return G0(t,e)}return new Ne(t,e,r)}Gs.sync=G0;var DY=Gs.GlobSync=G0.GlobSync;Gs.glob=Gs;function FY(t,e){if(e===null||typeof e!="object")return t;for(var r=Object.keys(e),i=r.length;i--;)t[r[i]]=e[r[i]];return t}Gs.hasMagic=function(t,e){var r=FY({},e);r.noprocess=!0;var i=new Ne(t,r),n=i.minimatch.set;if(!t)return!1;if(n.length>1)return!0;for(var s=0;s<n[0].length;s++)if(typeof n[0][s]!="string")return!0;return!1};Gs.Glob=Ne;LY(Ne,PY);function Ne(t,e,r){if(typeof e=="function"&&(r=e,e=null),e&&e.sync){if(r)throw new TypeError("callback provided to sync glob");return new DY(t,e)}if(!(this instanceof Ne))return new Ne(t,e,r);qY(this,t,e),this._didRealPath=!1;var i=this.minimatch.set.length;this.matches=new Array(i),typeof r=="function"&&(r=MY(r),this.on("error",r),this.on("end",function(u){r(null,u)}));var n=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(i===0)return o();for(var s=!0,a=0;a<i;a++)this._process(this.minimatch.set[a],a,!1,o);s=!1;function o(){--n._processing,n._processing<=0&&(s?process.nextTick(function(){n._finish()}):n._finish())}}Ne.prototype._finish=function(){if(U0(this instanceof Ne),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();Ws.finish(this),this.emit("end",this.found)}};Ne.prototype._realpath=function(){if(this._didRealpath)return;this._didRealpath=!0;var t=this.matches.length;if(t===0)return this._finish();for(var e=this,r=0;r<this.matches.length;r++)this._realpathSet(r,i);function i(){--t===0&&e._finish()}};Ne.prototype._realpathSet=function(t,e){var r=this.matches[t];if(!r)return e();var i=Object.keys(r),n=this,s=i.length;if(s===0)return e();var a=this.matches[t]=Object.create(null);i.forEach(function(o,u){o=n._makeAbs(o),NY.realpath(o,n.realpathCache,function(l,f){l?l.syscall==="stat"?a[o]=!0:n.emit("error",l):a[f]=!0,--s===0&&(n.matches[t]=a,e())})})};Ne.prototype._mark=function(t){return Ws.mark(this,t)};Ne.prototype._makeAbs=function(t){return Ws.makeAbs(this,t)};Ne.prototype.abort=function(){this.aborted=!0,this.emit("abort")};Ne.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))};Ne.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var t=this._emitQueue.slice(0);this._emitQueue.length=0;for(var e=0;e<t.length;e++){var r=t[e];this._emitMatch(r[0],r[1])}}if(this._processQueue.length){var i=this._processQueue.slice(0);this._processQueue.length=0;for(var e=0;e<i.length;e++){var n=i[e];this._processing--,this._process(n[0],n[1],n[2],n[3])}}}};Ne.prototype._process=function(t,e,r,i){if(U0(this instanceof Ne),U0(typeof i=="function"),!this.aborted){if(this._processing++,this.paused){this._processQueue.push([t,e,r,i]);return}for(var n=0;typeof t[n]=="string";)n++;var s;switch(n){case t.length:this._processSimple(t.join("/"),e,i);return;case 0:s=null;break;default:s=t.slice(0,n).join("/");break}var a=t.slice(n),o;s===null?o=".":((dc(s)||dc(t.map(function(f){return typeof f=="string"?f:"[*]"}).join("/")))&&(!s||!dc(s))&&(s="/"+s),o=s);var u=this._makeAbs(o);if(CY(this,o))return i();var l=a[0]===fR.GLOBSTAR;l?this._processGlobStar(s,o,u,a,e,r,i):this._processReaddir(s,o,u,a,e,r,i)}};Ne.prototype._processReaddir=function(t,e,r,i,n,s,a){var o=this;this._readdir(r,s,function(u,l){return o._processReaddir2(t,e,r,i,n,s,l,a)})};Ne.prototype._processReaddir2=function(t,e,r,i,n,s,a,o){if(!a)return o();for(var u=i[0],l=!!this.minimatch.negate,f=u._glob,h=this.dot||f.charAt(0)===".",p=[],m=0;m<a.length;m++){var v=a[m];if(v.charAt(0)!=="."||h){var S;l&&!t?S=!v.match(u):S=v.match(u),S&&p.push(v)}}var b=p.length;if(b===0)return o();if(i.length===1&&!this.mark&&!this.stat){this.matches[n]||(this.matches[n]=Object.create(null));for(var m=0;m<b;m++){var v=p[m];t&&(t!=="/"?v=t+"/"+v:v=t+v),v.charAt(0)==="/"&&!this.nomount&&(v=$0.join(this.root,v)),this._emitMatch(n,v)}return o()}i.shift();for(var m=0;m<b;m++){var v=p[m],g;t&&(t!=="/"?v=t+"/"+v:v=t+v),this._process([v].concat(i),n,s,o)}o()};Ne.prototype._emitMatch=function(t,e){if(!this.aborted&&!RY(this,e)){if(this.paused){this._emitQueue.push([t,e]);return}var r=dc(e)?e:this._makeAbs(e);if(this.mark&&(e=this._mark(e)),this.absolute&&(e=r),!this.matches[t][e]){if(this.nodir){var i=this.cache[r];if(i==="DIR"||Array.isArray(i))return}this.matches[t][e]=!0;var n=this.statCache[r];n&&this.emit("stat",e,n),this.emit("match",e)}}};Ne.prototype._readdirInGlobStar=function(t,e){if(this.aborted)return;if(this.follow)return this._readdir(t,!1,e);var r="lstat\0"+t,i=this,n=W0(r,s);n&&i.fs.lstat(t,n);function s(a,o){if(a&&a.code==="ENOENT")return e();var u=o&&o.isSymbolicLink();i.symlinks[t]=u,!u&&o&&!o.isDirectory()?(i.cache[t]="FILE",e()):i._readdir(t,!1,e)}};Ne.prototype._readdir=function(t,e,r){if(!this.aborted&&(r=W0("readdir\0"+t+"\0"+e,r),!!r)){if(e&&!H0(this.symlinks,t))return this._readdirInGlobStar(t,r);if(H0(this.cache,t)){var i=this.cache[t];if(!i||i==="FILE")return r();if(Array.isArray(i))return r(null,i)}var n=this;n.fs.readdir(t,jY(this,t,r))}};function jY(t,e,r){return function(i,n){i?t._readdirError(e,i,r):t._readdirEntries(e,n,r)}}Ne.prototype._readdirEntries=function(t,e,r){if(!this.aborted){if(!this.mark&&!this.stat)for(var i=0;i<e.length;i++){var n=e[i];t==="/"?n=t+n:n=t+"/"+n,this.cache[n]=!0}return this.cache[t]=e,r(null,e)}};Ne.prototype._readdirError=function(t,e,r){if(!this.aborted){switch(e.code){case"ENOTSUP":case"ENOTDIR":var i=this._makeAbs(t);if(this.cache[i]="FILE",i===this.cwdAbs){var n=new Error(e.code+" invalid cwd "+this.cwd);n.path=this.cwd,n.code=e.code,this.emit("error",n),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(t)]=!1;break;default:this.cache[this._makeAbs(t)]=!1,this.strict&&(this.emit("error",e),this.abort()),this.silent||console.error("glob error",e);break}return r()}};Ne.prototype._processGlobStar=function(t,e,r,i,n,s,a){var o=this;this._readdir(r,s,function(u,l){o._processGlobStar2(t,e,r,i,n,s,l,a)})};Ne.prototype._processGlobStar2=function(t,e,r,i,n,s,a,o){if(!a)return o();var u=i.slice(1),l=t?[t]:[],f=l.concat(u);this._process(f,n,!1,o);var h=this.symlinks[r],p=a.length;if(h&&s)return o();for(var m=0;m<p;m++){var v=a[m];if(!(v.charAt(0)==="."&&!this.dot)){var S=l.concat(a[m],u);this._process(S,n,!0,o);var b=l.concat(a[m],i);this._process(b,n,!0,o)}}o()};Ne.prototype._processSimple=function(t,e,r){var i=this;this._stat(t,function(n,s){i._processSimple2(t,e,n,s,r)})};Ne.prototype._processSimple2=function(t,e,r,i,n){if(this.matches[e]||(this.matches[e]=Object.create(null)),!i)return n();if(t&&dc(t)&&!this.nomount){var s=/[\/\\]$/.test(t);t.charAt(0)==="/"?t=$0.join(this.root,t):(t=$0.resolve(this.root,t),s&&(t+="/"))}process.platform==="win32"&&(t=t.replace(/\\/g,"/")),this._emitMatch(e,t),n()};Ne.prototype._stat=function(t,e){var r=this._makeAbs(t),i=t.slice(-1)==="/";if(t.length>this.maxLength)return e();if(!this.stat&&H0(this.cache,r)){var n=this.cache[r];if(Array.isArray(n)&&(n="DIR"),!i||n==="DIR")return e(null,n);if(i&&n==="FILE")return e()}var s,a=this.statCache[r];if(a!==void 0){if(a===!1)return e(null,a);var o=a.isDirectory()?"DIR":"FILE";return i&&o==="FILE"?e():e(null,o,a)}var u=this,l=W0("stat\0"+r,f);l&&u.fs.lstat(r,l);function f(h,p){if(p&&p.isSymbolicLink())return u.fs.stat(r,function(m,v){m?u._stat2(t,r,null,p,e):u._stat2(t,r,m,v,e)});u._stat2(t,r,h,p,e)}};Ne.prototype._stat2=function(t,e,r,i,n){if(r&&(r.code==="ENOENT"||r.code==="ENOTDIR"))return this.statCache[e]=!1,n();var s=t.slice(-1)==="/";if(this.statCache[e]=i,e.slice(-1)==="/"&&i&&!i.isDirectory())return n(null,!1,i);var a=!0;return i&&(a=i.isDirectory()?"DIR":"FILE"),this.cache[e]=this.cache[e]||a,s&&a==="FILE"?n():n(null,a,i)}});var hR=T(lo=>{"use strict";y();Object.defineProperty(lo,"__esModule",{value:!0});lo.saveToDiskFixApplicator=void 0;lo.autofix=$Y;var BY=ae("fs/promises"),z0=hr(),VY=async(t,e)=>{let r=(0,z0.applyFixToString)(t.source,e);await(0,BY.writeFile)(z0.path.fsPath(t.uri),r,"utf8")};lo.saveToDiskFixApplicator=VY;async function $Y(t,e){await(0,z0.autofix)(t,e,lo.saveToDiskFixApplicator)}});var J0=T(mc=>{"use strict";y();var UY=mc&&mc.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(mc,"__esModule",{value:!0});mc.fileExists=GY;var HY=UY(ae("node:fs/promises"));async function GY(t){try{return await HY.default.stat(t),!0}catch{return!1}}});var mR=T(fo=>{"use strict";y();var dR=fo&&fo.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(fo,"__esModule",{value:!0});fo.thisNodeModuleRoot=void 0;var Fde=dR(ae("node:path")),WY=dR(ae("node:os")),zY=()=>WY.default.tmpdir();fo.thisNodeModuleRoot=zY});var _R=T(po=>{"use strict";y();var JY=po&&po.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(po,"__esModule",{value:!0});po.loadThirdPartyChecks=XY;po.findThirdPartyChecks=ZY;var KY=JY($d()),QY=ae("node:util"),YY=(0,QY.promisify)(KY.default);function XY(t=[]){let e=new Set;for(let r of t)try{let n=ae(r).checks;if(!Array.isArray(n))throw new Error(`Expected the 'checks' export to be an array and got ${typeof n}`);for(let s of n)eX(s)?e.add(s):console.error(`Expected ${s} to be a CheckDefinition, but it looks like it isn't`)}catch(i){console.error(`Error loading ${r}, ignoring it.
1222
1222
  ${i}`)}return[...e]}async function ZY(t){let e=[gR(t.replace(/\\/g,"/"),"/node_modules/theme-check-*/"),gR(t.replace(/\\/g,"/"),"/node_modules/@*/theme-check-*/")];return(await Promise.all(e.map(i=>YY(i)))).flat().filter(i=>!/\@shopify\/theme-check-(node|common|browser|docs-updater)/.test(i)&&!/theme-check-vscode/.test(i))}function gR(...t){return t.flatMap(e=>e.replace(/\\/g,"/").replace(/\/+$/,"")).join("/")}function yR(t){return t!==null&&typeof t=="object"}function eX(t){return yR(t)&&"meta"in t&&"create"in t&&yR(t.meta)&&"code"in t.meta}});var bR=T(yc=>{"use strict";y();var tX=yc&&yc.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(yc,"__esModule",{value:!0});yc.loadConfigDescription=sX;var Q0=hr(),gc=tX(ae("node:path")),vR=J0(),rX=mR(),K0=_R(),iX=Du(),nX=t=>t.flat();async function sX(t,e){let r=await pX(e),i=await Promise.all([(0,K0.findThirdPartyChecks)((0,rX.thisNodeModuleRoot)()),(0,K0.findThirdPartyChecks)(r)]).then(nX),n=(0,K0.loadThirdPartyChecks)([...t.require,...i]),s=Q0.allChecks.concat(n).filter(oX(t)),a=iX.URI.file(e);return{settings:cX(t.checkSettings,s),context:t.context??"theme",checks:s,ignore:t.ignore,rootUri:aX(a,t.root)}}function aX(t,e){if(e===void 0)return Q0.path.normalize(t);if(gc.default.isAbsolute(e))throw new Error('the "root" property can only be relative');return Q0.path.resolve(t,e)}var oX=t=>e=>{let r=t.checkSettings[e.meta.code]??uX(t,e);return r?r.enabled:!1};function uX(t,e){if(!e.meta.aliases)return;let r=e.meta.aliases.find(i=>t.checkSettings[i]);if(r)return t.checkSettings[r]}function cX(t,e){return Object.fromEntries(Object.entries(t).map(([r,i])=>[lX(r,e),i]))}function lX(t,e){return e.find(i=>i.meta.code===t||i.meta.aliases?.find(n=>n===t))?.meta.code}async function fX(t){if(gc.default.dirname(t)===t)return!0;let[e,r]=await Promise.all([(0,vR.fileExists)(gc.default.join(t,"node_modules")),(0,vR.fileExists)(gc.default.join(t,".git"))]);return e||r}async function pX(t){let e=t;for(;!await fX(e);)e=gc.default.dirname(e);return e}});var xe=T(zt=>{"use strict";y();var Y0=Symbol.for("yaml.alias"),SR=Symbol.for("yaml.document"),Ud=Symbol.for("yaml.map"),wR=Symbol.for("yaml.pair"),X0=Symbol.for("yaml.scalar"),Hd=Symbol.for("yaml.seq"),pn=Symbol.for("yaml.node.type"),hX=t=>!!t&&typeof t=="object"&&t[pn]===Y0,dX=t=>!!t&&typeof t=="object"&&t[pn]===SR,mX=t=>!!t&&typeof t=="object"&&t[pn]===Ud,gX=t=>!!t&&typeof t=="object"&&t[pn]===wR,xR=t=>!!t&&typeof t=="object"&&t[pn]===X0,yX=t=>!!t&&typeof t=="object"&&t[pn]===Hd;function kR(t){if(t&&typeof t=="object")switch(t[pn]){case Ud:case Hd:return!0}return!1}function _X(t){if(t&&typeof t=="object")switch(t[pn]){case Y0:case Ud:case X0:case Hd:return!0}return!1}var vX=t=>(xR(t)||kR(t))&&!!t.anchor;zt.ALIAS=Y0;zt.DOC=SR;zt.MAP=Ud;zt.NODE_TYPE=pn;zt.PAIR=wR;zt.SCALAR=X0;zt.SEQ=Hd;zt.hasAnchor=vX;zt.isAlias=hX;zt.isCollection=kR;zt.isDocument=dX;zt.isMap=mX;zt.isNode=_X;zt.isPair=gX;zt.isScalar=xR;zt.isSeq=yX});var _c=T(Z0=>{"use strict";y();var It=xe(),Tr=Symbol("break visit"),IR=Symbol("skip children"),Bi=Symbol("remove node");function Gd(t,e){let r=AR(e);It.isDocument(t)?ho(null,t.contents,r,Object.freeze([t]))===Bi&&(t.contents=null):ho(null,t,r,Object.freeze([]))}Gd.BREAK=Tr;Gd.SKIP=IR;Gd.REMOVE=Bi;function ho(t,e,r,i){let n=TR(t,e,r,i);if(It.isNode(n)||It.isPair(n))return ER(t,i,n),ho(t,n,r,i);if(typeof n!="symbol"){if(It.isCollection(e)){i=Object.freeze(i.concat(e));for(let s=0;s<e.items.length;++s){let a=ho(s,e.items[s],r,i);if(typeof a=="number")s=a-1;else{if(a===Tr)return Tr;a===Bi&&(e.items.splice(s,1),s-=1)}}}else if(It.isPair(e)){i=Object.freeze(i.concat(e));let s=ho("key",e.key,r,i);if(s===Tr)return Tr;s===Bi&&(e.key=null);let a=ho("value",e.value,r,i);if(a===Tr)return Tr;a===Bi&&(e.value=null)}}return n}async function Wd(t,e){let r=AR(e);It.isDocument(t)?await mo(null,t.contents,r,Object.freeze([t]))===Bi&&(t.contents=null):await mo(null,t,r,Object.freeze([]))}Wd.BREAK=Tr;Wd.SKIP=IR;Wd.REMOVE=Bi;async function mo(t,e,r,i){let n=await TR(t,e,r,i);if(It.isNode(n)||It.isPair(n))return ER(t,i,n),mo(t,n,r,i);if(typeof n!="symbol"){if(It.isCollection(e)){i=Object.freeze(i.concat(e));for(let s=0;s<e.items.length;++s){let a=await mo(s,e.items[s],r,i);if(typeof a=="number")s=a-1;else{if(a===Tr)return Tr;a===Bi&&(e.items.splice(s,1),s-=1)}}}else if(It.isPair(e)){i=Object.freeze(i.concat(e));let s=await mo("key",e.key,r,i);if(s===Tr)return Tr;s===Bi&&(e.key=null);let a=await mo("value",e.value,r,i);if(a===Tr)return Tr;a===Bi&&(e.value=null)}}return n}function AR(t){return typeof t=="object"&&(t.Collection||t.Node||t.Value)?Object.assign({Alias:t.Node,Map:t.Node,Scalar:t.Node,Seq:t.Node},t.Value&&{Map:t.Value,Scalar:t.Value,Seq:t.Value},t.Collection&&{Map:t.Collection,Seq:t.Collection},t):t}function TR(t,e,r,i){if(typeof r=="function")return r(t,e,i);if(It.isMap(e))return r.Map?.(t,e,i);if(It.isSeq(e))return r.Seq?.(t,e,i);if(It.isPair(e))return r.Pair?.(t,e,i);if(It.isScalar(e))return r.Scalar?.(t,e,i);if(It.isAlias(e))return r.Alias?.(t,e,i)}function ER(t,e,r){let i=e[e.length-1];if(It.isCollection(i))i.items[t]=r;else if(It.isPair(i))t==="key"?i.key=r:i.value=r;else if(It.isDocument(i))i.contents=r;else{let n=It.isAlias(i)?"alias":"scalar";throw new Error(`Cannot replace node with ${n} parent`)}}Z0.visit=Gd;Z0.visitAsync=Wd});var eS=T(NR=>{"use strict";y();var OR=xe(),bX=_c(),SX={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},wX=t=>t.replace(/[!,[\]{}]/g,e=>SX[e]),vc=class t{constructor(e,r){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},t.defaultYaml,e),this.tags=Object.assign({},t.defaultTags,r)}clone(){let e=new t(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){let e=new t(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:t.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},t.defaultTags);break}return e}add(e,r){this.atNextDocument&&(this.yaml={explicit:t.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},t.defaultTags),this.atNextDocument=!1);let i=e.trim().split(/[ \t]+/),n=i.shift();switch(n){case"%TAG":{if(i.length!==2&&(r(0,"%TAG directive should contain exactly two parts"),i.length<2))return!1;let[s,a]=i;return this.tags[s]=a,!0}case"%YAML":{if(this.yaml.explicit=!0,i.length!==1)return r(0,"%YAML directive should contain exactly one part"),!1;let[s]=i;if(s==="1.1"||s==="1.2")return this.yaml.version=s,!0;{let a=/^\d+\.\d+$/.test(s);return r(6,`Unsupported YAML version ${s}`,a),!1}}default:return r(0,`Unknown directive ${n}`,!0),!1}}tagName(e,r){if(e==="!")return"!";if(e[0]!=="!")return r(`Not a valid tag: ${e}`),null;if(e[1]==="<"){let a=e.slice(2,-1);return a==="!"||a==="!!"?(r(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(e[e.length-1]!==">"&&r("Verbatim tags must end with a >"),a)}let[,i,n]=e.match(/^(.*!)([^!]*)$/s);n||r(`The ${e} tag has no suffix`);let s=this.tags[i];if(s)try{return s+decodeURIComponent(n)}catch(a){return r(String(a)),null}return i==="!"?e:(r(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[r,i]of Object.entries(this.tags))if(e.startsWith(i))return r+wX(e.substring(i.length));return e[0]==="!"?e:`!<${e}>`}toString(e){let r=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],i=Object.entries(this.tags),n;if(e&&i.length>0&&OR.isNode(e.contents)){let s={};bX.visit(e.contents,(a,o)=>{OR.isNode(o)&&o.tag&&(s[o.tag]=!0)}),n=Object.keys(s)}else n=[];for(let[s,a]of i)s==="!!"&&a==="tag:yaml.org,2002:"||(!e||n.some(o=>o.startsWith(a)))&&r.push(`%TAG ${s} ${a}`);return r.join(`
1223
1223
  `)}};vc.defaultYaml={explicit:!1,version:"1.2"};vc.defaultTags={"!!":"tag:yaml.org,2002:"};NR.Directives=vc});var zd=T(bc=>{"use strict";y();var LR=xe(),xX=_c();function kX(t){if(/[\x00-\x19\s,[\]{}]/.test(t)){let r=`Anchor must not contain whitespace or control characters: ${JSON.stringify(t)}`;throw new Error(r)}return!0}function PR(t){let e=new Set;return xX.visit(t,{Value(r,i){i.anchor&&e.add(i.anchor)}}),e}function qR(t,e){for(let r=1;;++r){let i=`${t}${r}`;if(!e.has(i))return i}}function IX(t,e){let r=[],i=new Map,n=null;return{onAnchor:s=>{r.push(s),n??(n=PR(t));let a=qR(e,n);return n.add(a),a},setAnchors:()=>{for(let s of r){let a=i.get(s);if(typeof a=="object"&&a.anchor&&(LR.isScalar(a.node)||LR.isCollection(a.node)))a.node.anchor=a.anchor;else{let o=new Error("Failed to resolve repeated object (this should not happen)");throw o.source=s,o}}},sourceObjects:i}}bc.anchorIsValid=kX;bc.anchorNames=PR;bc.createNodeAnchors=IX;bc.findNewAnchor=qR});var tS=T(CR=>{"use strict";y();function Sc(t,e,r,i){if(i&&typeof i=="object")if(Array.isArray(i))for(let n=0,s=i.length;n<s;++n){let a=i[n],o=Sc(t,i,String(n),a);o===void 0?delete i[n]:o!==a&&(i[n]=o)}else if(i instanceof Map)for(let n of Array.from(i.keys())){let s=i.get(n),a=Sc(t,i,n,s);a===void 0?i.delete(n):a!==s&&i.set(n,a)}else if(i instanceof Set)for(let n of Array.from(i)){let s=Sc(t,i,n,n);s===void 0?i.delete(n):s!==n&&(i.delete(n),i.add(s))}else for(let[n,s]of Object.entries(i)){let a=Sc(t,i,n,s);a===void 0?delete i[n]:a!==s&&(i[n]=a)}return t.call(e,r,i)}CR.applyReviver=Sc});var Bn=T(MR=>{"use strict";y();var AX=xe();function RR(t,e,r){if(Array.isArray(t))return t.map((i,n)=>RR(i,String(n),r));if(t&&typeof t.toJSON=="function"){if(!r||!AX.hasAnchor(t))return t.toJSON(e,r);let i={aliasCount:0,count:1,res:void 0};r.anchors.set(t,i),r.onCreate=s=>{i.res=s,delete r.onCreate};let n=t.toJSON(e,r);return r.onCreate&&r.onCreate(n),n}return typeof t=="bigint"&&!r?.keep?Number(t):t}MR.toJS=RR});var Jd=T(FR=>{"use strict";y();var TX=tS(),DR=xe(),EX=Bn(),rS=class{constructor(e){Object.defineProperty(this,DR.NODE_TYPE,{value:e})}clone(){let e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:r,maxAliasCount:i,onAnchor:n,reviver:s}={}){if(!DR.isDocument(e))throw new TypeError("A document argument is required");let a={anchors:new Map,doc:e,keep:!0,mapAsMap:r===!0,mapKeyWarned:!1,maxAliasCount:typeof i=="number"?i:100},o=EX.toJS(this,"",a);if(typeof n=="function")for(let{count:u,res:l}of a.anchors.values())n(l,u);return typeof s=="function"?TX.applyReviver(s,{"":o},"",o):o}};FR.NodeBase=rS});var wc=T(jR=>{"use strict";y();var OX=zd(),NX=_c(),go=xe(),LX=Jd(),PX=Bn(),iS=class extends LX.NodeBase{constructor(e){super(go.ALIAS),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e,r){if(r?.maxAliasCount===0)throw new ReferenceError("Alias resolution is disabled");let i;r?.aliasResolveCache?i=r.aliasResolveCache:(i=[],NX.visit(e,{Node:(s,a)=>{(go.isAlias(a)||go.hasAnchor(a))&&i.push(a)}}),r&&(r.aliasResolveCache=i));let n;for(let s of i){if(s===this)break;s.anchor===this.source&&(n=s)}return n}toJSON(e,r){if(!r)return{source:this.source};let{anchors:i,doc:n,maxAliasCount:s}=r,a=this.resolve(n,r);if(!a){let u=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(u)}let o=i.get(a);if(o||(PX.toJS(a,null,r),o=i.get(a)),o?.res===void 0){let u="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(u)}if(s>=0&&(o.count+=1,o.aliasCount===0&&(o.aliasCount=Kd(n,a,i)),o.count*o.aliasCount>s)){let u="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(u)}return o.res}toString(e,r,i){let n=`*${this.source}`;if(e){if(OX.anchorIsValid(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){let s=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(s)}if(e.implicitKey)return`${n} `}return n}};function Kd(t,e,r){if(go.isAlias(e)){let i=e.resolve(t),n=r&&i&&r.get(i);return n?n.count*n.aliasCount:0}else if(go.isCollection(e)){let i=0;for(let n of e.items){let s=Kd(t,n,r);s>i&&(i=s)}return i}else if(go.isPair(e)){let i=Kd(t,e.key,r),n=Kd(t,e.value,r);return Math.max(i,n)}return 1}jR.Alias=iS});var dt=T(nS=>{"use strict";y();var qX=xe(),CX=Jd(),RX=Bn(),MX=t=>!t||typeof t!="function"&&typeof t!="object",Vn=class extends CX.NodeBase{constructor(e){super(qX.SCALAR),this.value=e}toJSON(e,r){return r?.keep?this.value:RX.toJS(this.value,e,r)}toString(){return String(this.value)}};Vn.BLOCK_FOLDED="BLOCK_FOLDED";Vn.BLOCK_LITERAL="BLOCK_LITERAL";Vn.PLAIN="PLAIN";Vn.QUOTE_DOUBLE="QUOTE_DOUBLE";Vn.QUOTE_SINGLE="QUOTE_SINGLE";nS.Scalar=Vn;nS.isScalarValue=MX});var xc=T(VR=>{"use strict";y();var DX=wc(),zs=xe(),BR=dt(),FX="tag:yaml.org,2002:";function jX(t,e,r){if(e){let i=r.filter(s=>s.tag===e),n=i.find(s=>!s.format)??i[0];if(!n)throw new Error(`Tag ${e} not found`);return n}return r.find(i=>i.identify?.(t)&&!i.format)}function BX(t,e,r){if(zs.isDocument(t)&&(t=t.contents),zs.isNode(t))return t;if(zs.isPair(t)){let h=r.schema[zs.MAP].createNode?.(r.schema,null,r);return h.items.push(t),h}(t instanceof String||t instanceof Number||t instanceof Boolean||typeof BigInt<"u"&&t instanceof BigInt)&&(t=t.valueOf());let{aliasDuplicateObjects:i,onAnchor:n,onTagObj:s,schema:a,sourceObjects:o}=r,u;if(i&&t&&typeof t=="object"){if(u=o.get(t),u)return u.anchor??(u.anchor=n(t)),new DX.Alias(u.anchor);u={anchor:null,node:null},o.set(t,u)}e?.startsWith("!!")&&(e=FX+e.slice(2));let l=jX(t,e,a.tags);if(!l){if(t&&typeof t.toJSON=="function"&&(t=t.toJSON()),!t||typeof t!="object"){let h=new BR.Scalar(t);return u&&(u.node=h),h}l=t instanceof Map?a[zs.MAP]:Symbol.iterator in Object(t)?a[zs.SEQ]:a[zs.MAP]}s&&(s(l),delete r.onTagObj);let f=l?.createNode?l.createNode(r.schema,t,r):typeof l?.nodeClass?.from=="function"?l.nodeClass.from(r.schema,t,r):new BR.Scalar(t);return e?f.tag=e:l.default||(f.tag=l.tag),u&&(u.node=f),f}VR.createNode=BX});var Yd=T(Qd=>{"use strict";y();var VX=xc(),Vi=xe(),$X=Jd();function sS(t,e,r){let i=r;for(let n=e.length-1;n>=0;--n){let s=e[n];if(typeof s=="number"&&Number.isInteger(s)&&s>=0){let a=[];a[s]=i,i=a}else i=new Map([[s,i]])}return VX.createNode(i,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:t,sourceObjects:new Map})}var $R=t=>t==null||typeof t=="object"&&!!t[Symbol.iterator]().next().done,aS=class extends $X.NodeBase{constructor(e,r){super(e),Object.defineProperty(this,"schema",{value:r,configurable:!0,enumerable:!1,writable:!0})}clone(e){let r=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(r.schema=e),r.items=r.items.map(i=>Vi.isNode(i)||Vi.isPair(i)?i.clone(e):i),this.range&&(r.range=this.range.slice()),r}addIn(e,r){if($R(e))this.add(r);else{let[i,...n]=e,s=this.get(i,!0);if(Vi.isCollection(s))s.addIn(n,r);else if(s===void 0&&this.schema)this.set(i,sS(this.schema,n,r));else throw new Error(`Expected YAML collection at ${i}. Remaining path: ${n}`)}}deleteIn(e){let[r,...i]=e;if(i.length===0)return this.delete(r);let n=this.get(r,!0);if(Vi.isCollection(n))return n.deleteIn(i);throw new Error(`Expected YAML collection at ${r}. Remaining path: ${i}`)}getIn(e,r){let[i,...n]=e,s=this.get(i,!0);return n.length===0?!r&&Vi.isScalar(s)?s.value:s:Vi.isCollection(s)?s.getIn(n,r):void 0}hasAllNullValues(e){return this.items.every(r=>{if(!Vi.isPair(r))return!1;let i=r.value;return i==null||e&&Vi.isScalar(i)&&i.value==null&&!i.commentBefore&&!i.comment&&!i.tag})}hasIn(e){let[r,...i]=e;if(i.length===0)return this.has(r);let n=this.get(r,!0);return Vi.isCollection(n)?n.hasIn(i):!1}setIn(e,r){let[i,...n]=e;if(n.length===0)this.set(i,r);else{let s=this.get(i,!0);if(Vi.isCollection(s))s.setIn(n,r);else if(s===void 0&&this.schema)this.set(i,sS(this.schema,n,r));else throw new Error(`Expected YAML collection at ${i}. Remaining path: ${n}`)}}};Qd.Collection=aS;Qd.collectionFromPath=sS;Qd.isEmptyPath=$R});var kc=T(Xd=>{"use strict";y();var UX=t=>t.replace(/^(?!$)(?: $)?/gm,"#");function oS(t,e){return/^\n+$/.test(t)?t.substring(1):e?t.replace(/^(?! *$)/gm,e):t}var HX=(t,e,r)=>t.endsWith(`
1224
1224
  `)?oS(r,e):r.includes(`