@templatical/editor 0.51.1 → 0.52.0

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 (361) hide show
  1. package/THIRD_PARTY_NOTICES.md +208 -0
  2. package/dist/{AiAltTextPopover-BZQ95GXL.js → AiAltTextPopover-Cm11CsKH.js} +7 -8
  3. package/dist/{AiAltTextReview-DoBEudnE.js → AiAltTextReview-DE8t8Rud.js} +8 -9
  4. package/dist/{AiChatPanel-Bs6sES3b.js → AiChatPanel-7ftS7d40.js} +18 -20
  5. package/dist/{AiPanels-CfN7A-ZA.js → AiPanels-CxGp6klr.js} +5 -7
  6. package/dist/{AiRewriteMenu-C3ZfDDYy.js → AiRewriteMenu-DNI-5CUj.js} +21 -22
  7. package/dist/{BlockIssueBadge-CKwZ1Vgn.js → BlockIssueBadge-6Ri2FfX-.js} +6 -7
  8. package/dist/{BlockPreviewCanvas-BXNLLLYi.js → BlockPreviewCanvas-Df9iz7sK.js} +10 -11
  9. package/dist/{CloudHeaderExtras-CsJMEiyN.js → CloudHeaderExtras-CsgyNNV1.js} +3 -4
  10. package/dist/{CloudPanels-B4F5m7vy.js → CloudPanels-BDV4XQ_l.js} +8 -9
  11. package/dist/{CollaborationNotices-CNuDp7Y2.js → CollaborationNotices-JQ3vQoqO.js} +4 -5
  12. package/dist/{CollaboratorBar-BtHPiuHq.js → CollaboratorBar-EeqqWcX6.js} +4 -5
  13. package/dist/{CommentsPanel-CyCM-BvT.js → CommentsPanel-BuftXc0U.js} +3 -5
  14. package/dist/{CommentsSidebar-Ca3DyFOX.js → CommentsSidebar-Co3x4uH0.js} +16 -17
  15. package/dist/{CountdownBlock-DR4Xm2-T.js → CountdownBlock-BT3ZTH1F.js} +5 -6
  16. package/dist/{CountdownToolbar-CEIMPojJ.js → CountdownToolbar-CrL4WKy9.js} +8 -9
  17. package/dist/{IssuesPanel-C8nMUccy.js → IssuesPanel-BHFQ3wrP.js} +12 -13
  18. package/dist/{LoadingTrack-B0RKQWq3.js → LoadingTrack-DZA5AoP9.js} +3 -4
  19. package/dist/{LogicTagInsertButton-CqfU52CO.js → LogicTagInsertButton-CSD9cfJB.js} +23 -30
  20. package/dist/{MediaEditModal-DHtkZ4OU.js → MediaEditModal-DQl5w44r.js} +7 -10
  21. package/dist/{MediaPanels-CGcOB2pR.js → MediaPanels-BFWYuJot.js} +3 -5
  22. package/dist/{MergeTagInput-YnEkorTZ.js → MergeTagInput-DE7kWwXx.js} +5 -6
  23. package/dist/{MergeTagModeToggle-Dhb1DAcQ.js → MergeTagModeToggle-DvD0ne7N.js} +7 -8
  24. package/dist/{MergeTagTextarea-e4lnwtqZ.js → MergeTagTextarea-DVPQkiYY.js} +3 -4
  25. package/dist/{ParagraphEditor-B6NK0ytw.js → ParagraphEditor-D-nqs82g.js} +55 -58
  26. package/dist/{RestoreVersionDialog-Bq_IGOLJ.js → RestoreVersionDialog-DqUPsLB9.js} +7 -8
  27. package/dist/{RichTextEditorContent-AOM6fylS.js → RichTextEditorContent-Xq9D0Zs3.js} +9 -10
  28. package/dist/{SaveBlockDialog-C8GngfQx.js → SaveBlockDialog-DAPv70p4.js} +13 -14
  29. package/dist/{SavedBlocksBrowserModal-wnkvxpm_.js → SavedBlocksBrowserModal-SRtN5h9q.js} +17 -18
  30. package/dist/{SavedBlocksPanels-C2s3q0pJ.js → SavedBlocksPanels-ChbL9v9x.js} +3 -5
  31. package/dist/{SavedBlocksPickBar-BjcTiV87.js → SavedBlocksPickBar-hRaiLNdu.js} +6 -7
  32. package/dist/{TemplateSettings-BVBWpiDU.js → TemplateSettings-D0XcH32O.js} +14 -15
  33. package/dist/{TestEmailModal-SyhO9bn3.js → TestEmailModal-Cb5t0yB2.js} +16 -18
  34. package/dist/{TestEmailPanel-BDd2Rtav.js → TestEmailPanel-COJQa2A9.js} +3 -5
  35. package/dist/{TitleEditor-pxD53y_l.js → TitleEditor-BYk_9SpQ.js} +14 -15
  36. package/dist/{ToggleSwitch-D51U9cmR.js → ToggleSwitch-poGWbduy.js} +2 -3
  37. package/dist/{Toolbar-CZSPZYbj.js → Toolbar-Dku_pZni.js} +134 -142
  38. package/dist/{TplModal-DCzBzicE.js → TplModal-9IndEYk5.js} +6 -7
  39. package/dist/{VersionHistoryMenu-BQeWPT85.js → VersionHistoryMenu-BG5qayvg.js} +12 -13
  40. package/dist/{VersionHistoryPanels-BBm7YbRQ.js → VersionHistoryPanels-hPg7Q5-f.js} +3 -5
  41. package/dist/{VersionPreviewBanner-DUGF0tUJ.js → VersionPreviewBanner-CSs7zum_.js} +5 -6
  42. package/dist/{WrapperBlock-BO619LAb.js → WrapperBlock-DwjK_IdJ.js} +6 -7
  43. package/dist/{_plugin-vue_export-helper-B3ysoDQm.js → _plugin-vue_export-helper-Djzt4Yr7.js} +1 -2
  44. package/dist/{aiErrors-D5UOoYOt.js → aiErrors-C3QEMB0x.js} +3 -5
  45. package/dist/{aiImageContext-BH4Ss1h3.js → aiImageContext-BQ5mQ6B5.js} +2 -3
  46. package/dist/{aiRewritePreview-DLGM05Ge.js → aiRewritePreview-DlMyx6Si.js} +1 -2
  47. package/dist/{blockTypeIcons-NzaYvAI4.js → blockTypeIcons-yt7SLzub.js} +3 -4
  48. package/dist/bundle-stats.json +6 -6
  49. package/dist/{ca-C7mTzW1r.js → ca-CD-Kt1qz.js} +1 -2
  50. package/dist/{ca-CYQH3J0b.js → ca-Cc6eL0ZS.js} +1 -2
  51. package/dist/cdn/chunks/{AiAltTextPopover-CQu0Q_ZX.js → AiAltTextPopover-DjMoJCgU.js} +7 -8
  52. package/dist/cdn/chunks/{AiAltTextPopover-CQu0Q_ZX.js.map → AiAltTextPopover-DjMoJCgU.js.map} +1 -1
  53. package/dist/cdn/chunks/{AiAltTextReview-CI2HbWfn.js → AiAltTextReview-BafAtBoA.js} +8 -9
  54. package/dist/cdn/chunks/{AiAltTextReview-CI2HbWfn.js.map → AiAltTextReview-BafAtBoA.js.map} +1 -1
  55. package/dist/cdn/chunks/{AiChatPanel-BYqn1bKu.js → AiChatPanel-DXeZgc7D.js} +15 -17
  56. package/dist/cdn/chunks/{AiChatPanel-BYqn1bKu.js.map → AiChatPanel-DXeZgc7D.js.map} +1 -1
  57. package/dist/cdn/chunks/{AiPanels-CIFKQv8Y.js → AiPanels-B4uAVRoO.js} +5 -7
  58. package/dist/cdn/chunks/{AiPanels-CIFKQv8Y.js.map → AiPanels-B4uAVRoO.js.map} +1 -1
  59. package/dist/cdn/chunks/{AiRewriteMenu-Bhh71zcc.js → AiRewriteMenu-4F6vwhJ5.js} +21 -22
  60. package/dist/cdn/chunks/AiRewriteMenu-4F6vwhJ5.js.map +1 -0
  61. package/dist/cdn/chunks/{BlockIssueBadge-DAn2vsMJ.js → BlockIssueBadge-DIJDqqcY.js} +6 -7
  62. package/dist/cdn/chunks/{BlockIssueBadge-DAn2vsMJ.js.map → BlockIssueBadge-DIJDqqcY.js.map} +1 -1
  63. package/dist/cdn/chunks/{BlockPreviewCanvas-D0--EQkP.js → BlockPreviewCanvas-Ny1X_mee.js} +9 -10
  64. package/dist/cdn/chunks/{BlockPreviewCanvas-D0--EQkP.js.map → BlockPreviewCanvas-Ny1X_mee.js.map} +1 -1
  65. package/dist/cdn/chunks/{CloudHeaderExtras-DaUU8P8R.js → CloudHeaderExtras-DtMORiLS.js} +4 -5
  66. package/dist/cdn/chunks/{CloudHeaderExtras-DaUU8P8R.js.map → CloudHeaderExtras-DtMORiLS.js.map} +1 -1
  67. package/dist/cdn/chunks/{CloudPanels-C3jsxo_f.js → CloudPanels-BkmLc2Fl.js} +7 -8
  68. package/dist/cdn/chunks/{CloudPanels-C3jsxo_f.js.map → CloudPanels-BkmLc2Fl.js.map} +1 -1
  69. package/dist/cdn/chunks/{CollaborationNotices-DjRI8gvs.js → CollaborationNotices-Hf8r08Sw.js} +5 -6
  70. package/dist/cdn/chunks/{CollaborationNotices-DjRI8gvs.js.map → CollaborationNotices-Hf8r08Sw.js.map} +1 -1
  71. package/dist/cdn/chunks/{CollaboratorBar-Dfzm6A9A.js → CollaboratorBar-II8eYtKu.js} +6 -7
  72. package/dist/cdn/chunks/{CollaboratorBar-Dfzm6A9A.js.map → CollaboratorBar-II8eYtKu.js.map} +1 -1
  73. package/dist/cdn/chunks/{CommentsPanel-CSO79OeX.js → CommentsPanel-CAiwilM2.js} +4 -6
  74. package/dist/cdn/chunks/{CommentsPanel-CSO79OeX.js.map → CommentsPanel-CAiwilM2.js.map} +1 -1
  75. package/dist/cdn/chunks/{CommentsSidebar-CCvplq1Z.js → CommentsSidebar-Dj8sDiLN.js} +18 -19
  76. package/dist/cdn/chunks/{CommentsSidebar-CCvplq1Z.js.map → CommentsSidebar-Dj8sDiLN.js.map} +1 -1
  77. package/dist/cdn/chunks/{CountdownBlock-C6USdwk3.js → CountdownBlock-Dyr5P0IP.js} +6 -7
  78. package/dist/cdn/chunks/{CountdownBlock-C6USdwk3.js.map → CountdownBlock-Dyr5P0IP.js.map} +1 -1
  79. package/dist/cdn/chunks/{CountdownToolbar-Cjud2Tos.js → CountdownToolbar-CguFJdqn.js} +9 -10
  80. package/dist/cdn/chunks/{CountdownToolbar-Cjud2Tos.js.map → CountdownToolbar-CguFJdqn.js.map} +1 -1
  81. package/dist/cdn/chunks/{IssuesPanel-BaWHPDxZ.js → IssuesPanel-pr7_nuLI.js} +9 -10
  82. package/dist/cdn/chunks/{IssuesPanel-BaWHPDxZ.js.map → IssuesPanel-pr7_nuLI.js.map} +1 -1
  83. package/dist/cdn/chunks/LoadingTrack-DfJ_C33G.js +11 -0
  84. package/dist/cdn/chunks/{LoadingTrack-BIcL4NiY.js.map → LoadingTrack-DfJ_C33G.js.map} +1 -1
  85. package/dist/cdn/chunks/{LogicTagInsertButton-CsL2JDOG.js → LogicTagInsertButton-B_ldj3TO.js} +18 -25
  86. package/dist/cdn/chunks/{LogicTagInsertButton-CsL2JDOG.js.map → LogicTagInsertButton-B_ldj3TO.js.map} +1 -1
  87. package/dist/cdn/chunks/{MediaEditModal-BuHCiyMu.js → MediaEditModal-CGfzcHwP.js} +7 -10
  88. package/dist/cdn/chunks/{MediaEditModal-BuHCiyMu.js.map → MediaEditModal-CGfzcHwP.js.map} +1 -1
  89. package/dist/cdn/chunks/{MediaPanels-DAgUf_T1.js → MediaPanels-D0BdxdqP.js} +4 -6
  90. package/dist/cdn/chunks/{MediaPanels-DAgUf_T1.js.map → MediaPanels-D0BdxdqP.js.map} +1 -1
  91. package/dist/cdn/chunks/{MergeTagInput-C8U-7LxL.js → MergeTagInput-CFu9VXPS.js} +6 -7
  92. package/dist/cdn/chunks/{MergeTagInput-C8U-7LxL.js.map → MergeTagInput-CFu9VXPS.js.map} +1 -1
  93. package/dist/cdn/chunks/{MergeTagModeToggle-Mm-p0A52.js → MergeTagModeToggle-BFpK5dxg.js} +7 -8
  94. package/dist/cdn/chunks/{MergeTagModeToggle-Mm-p0A52.js.map → MergeTagModeToggle-BFpK5dxg.js.map} +1 -1
  95. package/dist/cdn/chunks/{MergeTagTextarea-DuLScsWM.js → MergeTagTextarea-Zo0mYWbf.js} +4 -5
  96. package/dist/cdn/chunks/{MergeTagTextarea-DuLScsWM.js.map → MergeTagTextarea-Zo0mYWbf.js.map} +1 -1
  97. package/dist/cdn/chunks/{ParagraphEditor-CqSj6Ayz.js → ParagraphEditor-DsPLVAgm.js} +35 -38
  98. package/dist/cdn/chunks/{ParagraphEditor-CqSj6Ayz.js.map → ParagraphEditor-DsPLVAgm.js.map} +1 -1
  99. package/dist/cdn/chunks/{RestoreVersionDialog-CdA5osuA.js → RestoreVersionDialog-B866zFP0.js} +9 -10
  100. package/dist/cdn/chunks/{RestoreVersionDialog-CdA5osuA.js.map → RestoreVersionDialog-B866zFP0.js.map} +1 -1
  101. package/dist/cdn/chunks/{RichTextEditorContent-Q1d2xqBT.js → RichTextEditorContent-DaY63kye.js} +9 -10
  102. package/dist/cdn/chunks/{RichTextEditorContent-Q1d2xqBT.js.map → RichTextEditorContent-DaY63kye.js.map} +1 -1
  103. package/dist/cdn/chunks/{SaveBlockDialog-CijargAy.js → SaveBlockDialog-B7nftAAS.js} +11 -12
  104. package/dist/cdn/chunks/{SaveBlockDialog-CijargAy.js.map → SaveBlockDialog-B7nftAAS.js.map} +1 -1
  105. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DtOz_X5S.js → SavedBlocksBrowserModal-B9XCjDfm.js} +13 -14
  106. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DtOz_X5S.js.map → SavedBlocksBrowserModal-B9XCjDfm.js.map} +1 -1
  107. package/dist/cdn/chunks/{SavedBlocksPanels-BowyED5h.js → SavedBlocksPanels-C3nK90pz.js} +4 -6
  108. package/dist/cdn/chunks/{SavedBlocksPanels-BowyED5h.js.map → SavedBlocksPanels-C3nK90pz.js.map} +1 -1
  109. package/dist/cdn/chunks/{SavedBlocksPickBar-BPRaJBv3.js → SavedBlocksPickBar-B166Mek9.js} +7 -8
  110. package/dist/cdn/chunks/{SavedBlocksPickBar-BPRaJBv3.js.map → SavedBlocksPickBar-B166Mek9.js.map} +1 -1
  111. package/dist/cdn/chunks/{TemplateSettings-ByZeBO34.js → TemplateSettings-jWpmuWDR.js} +13 -14
  112. package/dist/cdn/chunks/{TemplateSettings-ByZeBO34.js.map → TemplateSettings-jWpmuWDR.js.map} +1 -1
  113. package/dist/cdn/chunks/{TestEmailModal-BUVTj3Ic.js → TestEmailModal-DcwKhFnI.js} +15 -17
  114. package/dist/cdn/chunks/{TestEmailModal-BUVTj3Ic.js.map → TestEmailModal-DcwKhFnI.js.map} +1 -1
  115. package/dist/cdn/chunks/{TestEmailPanel-BxutYoWg.js → TestEmailPanel-BDBAvAfI.js} +4 -6
  116. package/dist/cdn/chunks/{TestEmailPanel-BxutYoWg.js.map → TestEmailPanel-BDBAvAfI.js.map} +1 -1
  117. package/dist/cdn/chunks/{TitleEditor-Ccv6uoTz.js → TitleEditor-R2lQw6WA.js} +15 -16
  118. package/dist/cdn/chunks/{TitleEditor-Ccv6uoTz.js.map → TitleEditor-R2lQw6WA.js.map} +1 -1
  119. package/dist/cdn/chunks/{ToggleSwitch-Ctdmj621.js → ToggleSwitch-BDMugNES.js} +3 -4
  120. package/dist/cdn/chunks/{ToggleSwitch-Ctdmj621.js.map → ToggleSwitch-BDMugNES.js.map} +1 -1
  121. package/dist/cdn/chunks/{Toolbar-DoprRgTn.js → Toolbar-CnvfW72e.js} +156 -164
  122. package/dist/cdn/chunks/{Toolbar-DoprRgTn.js.map → Toolbar-CnvfW72e.js.map} +1 -1
  123. package/dist/cdn/chunks/{TplModal-BXQzmsJX.js → TplModal-BDyeS69p.js} +6 -7
  124. package/dist/cdn/chunks/{TplModal-BXQzmsJX.js.map → TplModal-BDyeS69p.js.map} +1 -1
  125. package/dist/cdn/chunks/{VersionHistoryMenu-BF2fNCvq.js → VersionHistoryMenu-CmpgUI4Q.js} +13 -14
  126. package/dist/cdn/chunks/{VersionHistoryMenu-BF2fNCvq.js.map → VersionHistoryMenu-CmpgUI4Q.js.map} +1 -1
  127. package/dist/cdn/chunks/{VersionHistoryPanels-Dal0Uk69.js → VersionHistoryPanels-DB_FZyyg.js} +4 -6
  128. package/dist/cdn/chunks/{VersionHistoryPanels-Dal0Uk69.js.map → VersionHistoryPanels-DB_FZyyg.js.map} +1 -1
  129. package/dist/cdn/chunks/{VersionPreviewBanner-BaGcn-b1.js → VersionPreviewBanner-CZ--HOoa.js} +6 -7
  130. package/dist/cdn/chunks/{VersionPreviewBanner-BaGcn-b1.js.map → VersionPreviewBanner-CZ--HOoa.js.map} +1 -1
  131. package/dist/cdn/chunks/{WrapperBlock-DkQJtLz0.js → WrapperBlock-D3obNGab.js} +7 -8
  132. package/dist/cdn/chunks/{WrapperBlock-DkQJtLz0.js.map → WrapperBlock-D3obNGab.js.map} +1 -1
  133. package/dist/cdn/chunks/{_plugin-vue_export-helper-B3ysoDQm.js → _plugin-vue_export-helper-Djzt4Yr7.js} +1 -2
  134. package/dist/cdn/chunks/{aiErrors-D5UOoYOt.js → aiErrors-C3QEMB0x.js} +4 -6
  135. package/dist/cdn/chunks/{aiErrors-D5UOoYOt.js.map → aiErrors-C3QEMB0x.js.map} +1 -1
  136. package/dist/cdn/chunks/{aiImageContext-BH4Ss1h3.js → aiImageContext-BQ5mQ6B5.js} +3 -4
  137. package/dist/cdn/chunks/{aiImageContext-BH4Ss1h3.js.map → aiImageContext-BQ5mQ6B5.js.map} +1 -1
  138. package/dist/cdn/chunks/{aiRewritePreview-DLGM05Ge.js → aiRewritePreview-DlMyx6Si.js} +2 -3
  139. package/dist/cdn/chunks/{aiRewritePreview-DLGM05Ge.js.map → aiRewritePreview-DlMyx6Si.js.map} +1 -1
  140. package/dist/cdn/chunks/{blockTypeIcons-ikZAmd6U.js → blockTypeIcons-DFf7AyqI.js} +3 -4
  141. package/dist/cdn/chunks/{blockTypeIcons-ikZAmd6U.js.map → blockTypeIcons-DFf7AyqI.js.map} +1 -1
  142. package/dist/cdn/chunks/{ca-C7mTzW1r.js → ca-CD-Kt1qz.js} +2 -3
  143. package/dist/cdn/chunks/{ca-C7mTzW1r.js.map → ca-CD-Kt1qz.js.map} +1 -1
  144. package/dist/cdn/chunks/{ca-CYQH3J0b.js → ca-Cc6eL0ZS.js} +2 -3
  145. package/dist/cdn/chunks/{ca-CYQH3J0b.js.map → ca-Cc6eL0ZS.js.map} +1 -1
  146. package/dist/cdn/chunks/{createCloudRuntime-DpBWhrv3.js → createCloudRuntime-D6niZ2Rc.js} +27 -46
  147. package/dist/cdn/chunks/{createCloudRuntime-DpBWhrv3.js.map → createCloudRuntime-D6niZ2Rc.js.map} +1 -1
  148. package/dist/cdn/chunks/{de-DBOTcDj2.js → de-6M4JoHoD.js} +2 -3
  149. package/dist/cdn/chunks/{de-DBOTcDj2.js.map → de-6M4JoHoD.js.map} +1 -1
  150. package/dist/cdn/chunks/{de-DNuYQTmS.js → de-CeFJ6wbM.js} +2 -3
  151. package/dist/cdn/chunks/{de-DNuYQTmS.js.map → de-CeFJ6wbM.js.map} +1 -1
  152. package/dist/cdn/chunks/{de-JvCTMJPy.js → de-DtrXVcuY.js} +2 -3
  153. package/dist/cdn/chunks/{de-JvCTMJPy.js.map → de-DtrXVcuY.js.map} +1 -1
  154. package/dist/cdn/chunks/{dist-Bo8Thh8v.js → dist-C2epoAwW.js} +3 -4
  155. package/dist/cdn/chunks/{dist-Bo8Thh8v.js.map → dist-C2epoAwW.js.map} +1 -1
  156. package/dist/cdn/chunks/{dist-S-rLGqax.js → dist-CONcGNwy.js} +4 -5
  157. package/dist/cdn/chunks/{dist-S-rLGqax.js.map → dist-CONcGNwy.js.map} +1 -1
  158. package/dist/cdn/chunks/dompurify-JVtr5-B1.js +872 -0
  159. package/dist/cdn/chunks/dompurify-JVtr5-B1.js.map +1 -0
  160. package/dist/cdn/chunks/{draggable-DZ0gwUJ6.js → draggable-B8hTTYFO.js} +19 -22
  161. package/dist/cdn/chunks/{draggable-DZ0gwUJ6.js.map → draggable-B8hTTYFO.js.map} +1 -1
  162. package/dist/cdn/chunks/{editor-modal-CI6EfeMd.js → editor-modal-cvYkpbHD.js} +66 -81
  163. package/dist/cdn/chunks/{editor-modal-CI6EfeMd.js.map → editor-modal-cvYkpbHD.js.map} +1 -1
  164. package/dist/cdn/chunks/{emojiData-6m0DBh7O.js → emojiData-CBNuCfum.js} +2 -3
  165. package/dist/cdn/chunks/{emojiData-6m0DBh7O.js.map → emojiData-CBNuCfum.js.map} +1 -1
  166. package/dist/cdn/chunks/en-CKAXAo3Z.js +1 -0
  167. package/dist/cdn/chunks/{en-CW71OK66.js → en-D14i5nFh.js} +2 -3
  168. package/dist/cdn/chunks/{en-CW71OK66.js.map → en-D14i5nFh.js.map} +1 -1
  169. package/dist/cdn/chunks/{en-CDhWRrF_.js → en-FzUuJ8HW.js} +2 -3
  170. package/dist/cdn/chunks/{en-CDhWRrF_.js.map → en-FzUuJ8HW.js.map} +1 -1
  171. package/dist/cdn/chunks/{es-CAv-Vldw.js → es-Dw_h7Oll.js} +2 -3
  172. package/dist/cdn/chunks/{es-CAv-Vldw.js.map → es-Dw_h7Oll.js.map} +1 -1
  173. package/dist/cdn/chunks/{es-DdK7zQfi.js → es-zDacbMhs.js} +2 -3
  174. package/dist/cdn/chunks/{es-DdK7zQfi.js.map → es-zDacbMhs.js.map} +1 -1
  175. package/dist/cdn/chunks/{extensions-taJTZlLK.js → extensions-ClDhn88e.js} +12 -17
  176. package/dist/cdn/chunks/{extensions-taJTZlLK.js.map → extensions-ClDhn88e.js.map} +1 -1
  177. package/dist/cdn/chunks/{formatAbsoluteDateTime-DMmop3C-.js → formatAbsoluteDateTime-Ck2_zXra.js} +2 -3
  178. package/dist/cdn/chunks/{formatAbsoluteDateTime-DMmop3C-.js.map → formatAbsoluteDateTime-Ck2_zXra.js.map} +1 -1
  179. package/dist/cdn/chunks/{formatRelativeTime-CtUU-QZ8.js → formatRelativeTime-BTD8Ktt-.js} +1 -2
  180. package/dist/cdn/chunks/{formatRelativeTime-CtUU-QZ8.js.map → formatRelativeTime-BTD8Ktt-.js.map} +1 -1
  181. package/dist/cdn/chunks/{fr-DVPtxpR6.js → fr-BJaeKu_8.js} +2 -3
  182. package/dist/cdn/chunks/{fr-DVPtxpR6.js.map → fr-BJaeKu_8.js.map} +1 -1
  183. package/dist/cdn/chunks/{fr-Dz5Bgb7-.js → fr-CSgYtjOd.js} +2 -3
  184. package/dist/cdn/chunks/{fr-Dz5Bgb7-.js.map → fr-CSgYtjOd.js.map} +1 -1
  185. package/dist/cdn/chunks/{htmlparser-CDRsn-gn.js → htmlparser-hu3YnNQU.js} +6 -11
  186. package/dist/cdn/chunks/{htmlparser-CDRsn-gn.js.map → htmlparser-hu3YnNQU.js.map} +1 -1
  187. package/dist/cdn/chunks/{icons-DNX6StSs.js → icons-HCBP93Ch.js} +50 -55
  188. package/dist/cdn/chunks/{icons-DNX6StSs.js.map → icons-HCBP93Ch.js.map} +1 -1
  189. package/dist/cdn/chunks/{ja-Di-zJiT8.js → ja-B7H3ID8O.js} +2 -3
  190. package/dist/cdn/chunks/{ja-Di-zJiT8.js.map → ja-B7H3ID8O.js.map} +1 -1
  191. package/dist/cdn/chunks/{ja-dcWzjStz.js → ja-Cu2HdYaK.js} +2 -3
  192. package/dist/cdn/chunks/{ja-dcWzjStz.js.map → ja-Cu2HdYaK.js.map} +1 -1
  193. package/dist/cdn/chunks/{keys-BTpmg2Tt.js → keys-BF9gazbd.js} +3 -4
  194. package/dist/cdn/chunks/{keys-BTpmg2Tt.js.map → keys-BF9gazbd.js.map} +1 -1
  195. package/dist/cdn/chunks/{liquid.browser-Bbt17cVz.js → liquid.browser-DkLBNrft.js} +705 -687
  196. package/dist/cdn/chunks/liquid.browser-DkLBNrft.js.map +1 -0
  197. package/dist/cdn/chunks/{logger-Tj0RPskW.js → logger-CqQTfJGx.js} +2 -3
  198. package/dist/cdn/chunks/{logger-Tj0RPskW.js.map → logger-CqQTfJGx.js.map} +1 -1
  199. package/dist/cdn/chunks/{nl-CvVuHYFL.js → nl-176ySmc5.js} +2 -3
  200. package/dist/cdn/chunks/{nl-CvVuHYFL.js.map → nl-176ySmc5.js.map} +1 -1
  201. package/dist/cdn/chunks/{nl-LZNqQgE4.js → nl-1Ai2NykB.js} +2 -3
  202. package/dist/cdn/chunks/{nl-LZNqQgE4.js.map → nl-1Ai2NykB.js.map} +1 -1
  203. package/dist/cdn/chunks/{normalizeMergeTagMarkup-DyePIGqu.js → normalizeMergeTagMarkup-DpHCSESZ.js} +3 -4
  204. package/dist/cdn/chunks/{normalizeMergeTagMarkup-DyePIGqu.js.map → normalizeMergeTagMarkup-DpHCSESZ.js.map} +1 -1
  205. package/dist/cdn/chunks/{preRenderCustomBlocks-Dc-QLntG.js → preRenderCustomBlocks-D-dsBq5t.js} +6 -7
  206. package/dist/cdn/chunks/{preRenderCustomBlocks-Dc-QLntG.js.map → preRenderCustomBlocks-D-dsBq5t.js.map} +1 -1
  207. package/dist/cdn/chunks/{pt-BR-CHM-ZKvE.js → pt-BR-Bp92Fc6J.js} +2 -3
  208. package/dist/cdn/chunks/{pt-BR-CHM-ZKvE.js.map → pt-BR-Bp92Fc6J.js.map} +1 -1
  209. package/dist/cdn/chunks/{pt-BR-D6P_mNwA.js → pt-BR-CIbp__Z7.js} +2 -3
  210. package/dist/cdn/chunks/{pt-BR-D6P_mNwA.js.map → pt-BR-CIbp__Z7.js.map} +1 -1
  211. package/dist/cdn/chunks/{pt-BR-ZhO4vgyq.js → pt-BR-dDlTwX18.js} +2 -3
  212. package/dist/cdn/chunks/{pt-BR-ZhO4vgyq.js.map → pt-BR-dDlTwX18.js.map} +1 -1
  213. package/dist/cdn/chunks/{pusher-Cs4GGEtd.js → pusher-x9rNqzon.js} +3 -4
  214. package/dist/cdn/chunks/{pusher-Cs4GGEtd.js.map → pusher-x9rNqzon.js.map} +1 -1
  215. package/dist/cdn/chunks/{readableTextColor-f8Kykfnh.js → readableTextColor-BfZUGnVj.js} +2 -3
  216. package/dist/cdn/chunks/{readableTextColor-f8Kykfnh.js.map → readableTextColor-BfZUGnVj.js.map} +1 -1
  217. package/dist/cdn/chunks/{rolldown-runtime-Y_bBpyJl.js → rolldown-runtime-QGRDbDUS.js} +1 -2
  218. package/dist/cdn/chunks/sanitizeHtml-B2h15u0_.js +72 -0
  219. package/dist/cdn/chunks/sanitizeHtml-B2h15u0_.js.map +1 -0
  220. package/dist/cdn/chunks/{socialIcons-BBvsTwCV.js → socialIcons-rJoqO1TJ.js} +167 -191
  221. package/dist/cdn/chunks/{socialIcons-BBvsTwCV.js.map → socialIcons-rJoqO1TJ.js.map} +1 -1
  222. package/dist/cdn/chunks/{src-Bs_yxk3h.js → src-BKpAis_q.js} +502 -537
  223. package/dist/cdn/chunks/src-BKpAis_q.js.map +1 -0
  224. package/dist/cdn/chunks/{src-BNFnxfrA.js → src-C9DTvn1H.js} +207 -171
  225. package/dist/cdn/chunks/src-C9DTvn1H.js.map +1 -0
  226. package/dist/cdn/chunks/src-CUH_EI7k.js +647 -0
  227. package/dist/cdn/chunks/src-CUH_EI7k.js.map +1 -0
  228. package/dist/cdn/chunks/{styleConstants-v1dNKgJf.js → styleConstants-B8xVRiwX.js} +2 -3
  229. package/dist/cdn/chunks/{styleConstants-v1dNKgJf.js.map → styleConstants-B8xVRiwX.js.map} +1 -1
  230. package/dist/cdn/chunks/{templateSettingsFields-YCFVBVYh.js → templateSettingsFields-cjlP-jdw.js} +2 -3
  231. package/dist/cdn/chunks/{templateSettingsFields-YCFVBVYh.js.map → templateSettingsFields-cjlP-jdw.js.map} +1 -1
  232. package/dist/cdn/chunks/{tiptap-CtVrAViq.js → tiptap-ChSZybTi.js} +3364 -3240
  233. package/dist/cdn/chunks/tiptap-ChSZybTi.js.map +1 -0
  234. package/dist/cdn/chunks/{useCloudI18n-AVXhzbhQ.js → useCloudI18n-RJXyVnIf.js} +4 -5
  235. package/dist/cdn/chunks/{useCloudI18n-AVXhzbhQ.js.map → useCloudI18n-RJXyVnIf.js.map} +1 -1
  236. package/dist/cdn/chunks/{useEditorCore-CCVFi1YZ.js → useEditorCore-CjaEV_01.js} +534 -586
  237. package/dist/cdn/chunks/useEditorCore-CjaEV_01.js.map +1 -0
  238. package/dist/cdn/chunks/useEditorRoot-BT3c9CXj.js +9 -0
  239. package/dist/cdn/chunks/{useEditorRoot-CR5GjJD6.js.map → useEditorRoot-BT3c9CXj.js.map} +1 -1
  240. package/dist/cdn/chunks/{useI18n-CbVubQhM.js → useI18n-11iqzC6m.js} +4 -5
  241. package/dist/cdn/chunks/{useI18n-CbVubQhM.js.map → useI18n-11iqzC6m.js.map} +1 -1
  242. package/dist/cdn/chunks/{useLogicTag-B49Nc53Y.js → useLogicTag-vy5KGg5D.js} +5 -6
  243. package/dist/cdn/chunks/{useLogicTag-B49Nc53Y.js.map → useLogicTag-vy5KGg5D.js.map} +1 -1
  244. package/dist/cdn/chunks/{useMergeTag-B0KryMj8.js → useMergeTag-BFBBjnwh.js} +5 -6
  245. package/dist/cdn/chunks/{useMergeTag-B0KryMj8.js.map → useMergeTag-BFBBjnwh.js.map} +1 -1
  246. package/dist/cdn/chunks/{usePopoverPosition-C829ps5i.js → usePopoverPosition-AnVIwiVv.js} +7 -11
  247. package/dist/cdn/chunks/{usePopoverPosition-C829ps5i.js.map → usePopoverPosition-AnVIwiVv.js.map} +1 -1
  248. package/dist/cdn/chunks/{useScrollToBlock-CAwvulog.js → useScrollToBlock-C0dawxGr.js} +5 -7
  249. package/dist/cdn/chunks/{useScrollToBlock-CAwvulog.js.map → useScrollToBlock-C0dawxGr.js.map} +1 -1
  250. package/dist/cdn/chunks/{withCurrentFont-DFPXeVfG.js → withCurrentFont-C3CquBQN.js} +3 -4
  251. package/dist/cdn/chunks/{withCurrentFont-DFPXeVfG.js.map → withCurrentFont-C3CquBQN.js.map} +1 -1
  252. package/dist/cdn/editor.js +221 -242
  253. package/dist/cdn/editor.js.map +1 -1
  254. package/dist/{check-yYsp5Xpk.js → check-N3x4z_rH.js} +1 -2
  255. package/dist/{chevron-down-DTmD06_j.js → chevron-down-gXu9qNwO.js} +1 -2
  256. package/dist/{chevron-right-BSeYZOxc.js → chevron-right-rL0ayGk5.js} +1 -2
  257. package/dist/{chevron-up-BOApwrxi.js → chevron-up-0ugh8HnW.js} +1 -2
  258. package/dist/{circle-alert-BMszY8im.js → circle-alert-B9Ls75B5.js} +1 -2
  259. package/dist/{clock-HADxnl6-.js → clock-BqHBaCLm.js} +1 -2
  260. package/dist/{createCloudRuntime-DVQI_ReU.js → createCloudRuntime-B5VIdnwz.js} +11 -17
  261. package/dist/{createLucideIcon-0lYYH3EW.js → createLucideIcon-BV7Gwz_Z.js} +6 -11
  262. package/dist/{de-DBOTcDj2.js → de-6M4JoHoD.js} +1 -2
  263. package/dist/{de-DNuYQTmS.js → de-CeFJ6wbM.js} +1 -2
  264. package/dist/{de-JvCTMJPy.js → de-DtrXVcuY.js} +1 -2
  265. package/dist/{dist-DI4_YSnG.js → dist-BA-jTQgw.js} +3 -4
  266. package/dist/{dist-BC-ZEYLd.js → dist-BF5zEHop.js} +2 -3
  267. package/dist/{dist-CyBwSiAa.js → dist-BS5uKktL.js} +2 -3
  268. package/dist/{dist-C7EtxNCb.js → dist-CEdyyDn7.js} +2 -3
  269. package/dist/{dist-Cr7RPxI9.js → dist-CWSG7Kj0.js} +478 -461
  270. package/dist/{dist-DXyGqIDE.js → dist-Cy8I5scI.js} +2 -3
  271. package/dist/{dist-DtOF3bDW.js → dist-CzrLYq2s.js} +398 -344
  272. package/dist/{dist-DVNjPKsH.js → dist-D6fZec6r.js} +3 -4
  273. package/dist/{dist-C_dV9QAx.js → dist-DDN7yR-w.js} +7 -7
  274. package/dist/{dist-CuLwJF7H.js → dist-Dd5MU2Ev.js} +23 -14
  275. package/dist/dist-DyFArF_G.js +4 -0
  276. package/dist/{dist-DBxgrOeo.js → dist-V7W1UhVr.js} +1882 -1792
  277. package/dist/{dist-DPcf6XZ8.js → dist-p3wymUDt.js} +2 -3
  278. package/dist/dist-pA3ooG6N.js +4 -0
  279. package/dist/{dist-3HpYixwF.js → dist-txQLT2sF.js} +173 -161
  280. package/dist/{editor-modal-Bzhl-PgI.js → editor-modal-Du9VI9q4.js} +203 -218
  281. package/dist/{emojiData-6m0DBh7O.js → emojiData-CBNuCfum.js} +1 -2
  282. package/dist/en-CyEE7FPY.js +1 -0
  283. package/dist/{en-CW71OK66.js → en-D14i5nFh.js} +1 -2
  284. package/dist/{en-CDhWRrF_.js → en-FzUuJ8HW.js} +1 -2
  285. package/dist/{es-CAv-Vldw.js → es-Dw_h7Oll.js} +1 -2
  286. package/dist/{es-DdK7zQfi.js → es-zDacbMhs.js} +1 -2
  287. package/dist/{extensions-CdyweA50.js → extensions-FRYhx7qa.js} +59 -68
  288. package/dist/{eye-DWkSvYpj.js → eye-BKj9Tfnc.js} +1 -2
  289. package/dist/{formatAbsoluteDateTime-DMmop3C-.js → formatAbsoluteDateTime-Ck2_zXra.js} +1 -2
  290. package/dist/{formatRelativeTime-CtUU-QZ8.js → formatRelativeTime-BTD8Ktt-.js} +0 -1
  291. package/dist/{fr-DVPtxpR6.js → fr-BJaeKu_8.js} +1 -2
  292. package/dist/{fr-Dz5Bgb7-.js → fr-CSgYtjOd.js} +1 -2
  293. package/dist/{image-DesWjcZ4.js → image-DNdvdTla.js} +1 -2
  294. package/dist/index.d.ts +6 -6
  295. package/dist/{info-ClWJGoZy.js → info-Bx-kBkbH.js} +1 -2
  296. package/dist/{ja-Di-zJiT8.js → ja-B7H3ID8O.js} +1 -2
  297. package/dist/{ja-dcWzjStz.js → ja-Cu2HdYaK.js} +1 -2
  298. package/dist/{keys-Zd9KWRD1.js → keys-DBjrQkYH.js} +2 -3
  299. package/dist/{link-BqRicFTA.js → link-D8-rYdIQ.js} +1 -2
  300. package/dist/{liquid.browser-Ct2-EezB.js → liquid.browser-D1RxawkY.js} +704 -686
  301. package/dist/{list-bojQr9bn.js → list-BneisA27.js} +1 -2
  302. package/dist/{loader-circle-B2B8LbUu.js → loader-circle-DBEXphyx.js} +1 -2
  303. package/dist/{logger-k9Nbj3Cp.js → logger-BOu7oEtk.js} +1 -2
  304. package/dist/{message-circle-BEuiNsyZ.js → message-circle-Bg4xInCM.js} +1 -2
  305. package/dist/{nl-CvVuHYFL.js → nl-176ySmc5.js} +1 -2
  306. package/dist/{nl-LZNqQgE4.js → nl-1Ai2NykB.js} +1 -2
  307. package/dist/{normalizeMergeTagMarkup-P6SUBuPv.js → normalizeMergeTagMarkup-IH8COHzd.js} +30 -31
  308. package/dist/{package-DCROB4aM.js → package-B40Vkfsp.js} +1 -2
  309. package/dist/{pencil-CEotCKbf.js → pencil-CYdAHTds.js} +1 -2
  310. package/dist/{preRenderCustomBlocks-D8rr61_z.js → preRenderCustomBlocks-AbZArwkR.js} +4 -5
  311. package/dist/{pt-BR-CHM-ZKvE.js → pt-BR-Bp92Fc6J.js} +1 -2
  312. package/dist/{pt-BR-D6P_mNwA.js → pt-BR-CIbp__Z7.js} +1 -2
  313. package/dist/{pt-BR-ZhO4vgyq.js → pt-BR-dDlTwX18.js} +1 -2
  314. package/dist/{readableTextColor-f8Kykfnh.js → readableTextColor-BfZUGnVj.js} +1 -2
  315. package/dist/{refresh-cw-C6M2mHNC.js → refresh-cw-Bb1FWrU0.js} +1 -2
  316. package/dist/{rolldown-runtime-Dy4uBu1J.js → rolldown-runtime-CGnMp29N.js} +1 -2
  317. package/dist/{runtime-dom.esm-bundler-B8WCZWUm.js → runtime-dom.esm-bundler-CLGymEyk.js} +7 -8
  318. package/dist/sanitizeHtml-CnOA1efV.js +942 -0
  319. package/dist/{search-Cy99zPYf.js → search-BZEo08gi.js} +1 -2
  320. package/dist/{send-BDLJFsf3.js → send-DHtrnXQs.js} +1 -2
  321. package/dist/{smartphone-CVvQaNA4.js → smartphone-dlN3vpA3.js} +1 -2
  322. package/dist/{socialIcons-Dd-jRiVe.js → socialIcons-B_d52_eS.js} +256 -267
  323. package/dist/{sparkles-Ce0Qz0ox.js → sparkles-NOttoDnJ.js} +1 -2
  324. package/dist/{square-BWlolnXe.js → square-B1CJgdt2.js} +1 -2
  325. package/dist/{styleConstants-v1dNKgJf.js → styleConstants-B8xVRiwX.js} +1 -2
  326. package/dist/{templateSettingsFields-YCFVBVYh.js → templateSettingsFields-cjlP-jdw.js} +1 -2
  327. package/dist/templatical-editor.js +245 -265
  328. package/dist/{text-align-start-D1V5gPTy.js → text-align-start-zpoXmb-Z.js} +1 -2
  329. package/dist/{trash-CZfiUFmw.js → trash-CGbk4Sgt.js} +1 -2
  330. package/dist/{triangle-alert-CFDzyFC7.js → triangle-alert-CKLMyGVp.js} +1 -2
  331. package/dist/{upload-BJfvdIrD.js → upload-DQoackAn.js} +1 -2
  332. package/dist/{useCloudI18n-Dcjua65H.js → useCloudI18n-DcLtxOQZ.js} +3 -4
  333. package/dist/{useEditorCore-BTLeAVlM.js → useEditorCore-DG9UvWUm.js} +931 -984
  334. package/dist/useEditorRoot-BKr6nNkC.js +7 -0
  335. package/dist/{useI18n-BdoY7xDE.js → useI18n-CeTm777E.js} +3 -4
  336. package/dist/{useLogicTag-DKLZ1T9H.js → useLogicTag-DFDYJeMN.js} +4 -5
  337. package/dist/{useMergeTag-Bhdx7AKk.js → useMergeTag-B46vACAG.js} +4 -5
  338. package/dist/{usePopoverPosition-BZea45XK.js → usePopoverPosition-C42kD7zt.js} +6 -10
  339. package/dist/{useScrollToBlock-FmNMALM_.js → useScrollToBlock-C-NzvjeO.js} +4 -6
  340. package/dist/{vue.runtime.esm-bundler-DgFJ6GPG.js → vue.runtime.esm-bundler-CrlI8j5R.js} +14 -18
  341. package/dist/{withCurrentFont-BATJHNve.js → withCurrentFont-v_a4Oso8.js} +2 -3
  342. package/dist/{x-CZ0Js0hA.js → x-zcrnmcmU.js} +1 -2
  343. package/package.json +24 -22
  344. package/dist/cdn/chunks/AiRewriteMenu-Bhh71zcc.js.map +0 -1
  345. package/dist/cdn/chunks/LoadingTrack-BIcL4NiY.js +0 -12
  346. package/dist/cdn/chunks/en-ifvu6oPv.js +0 -1
  347. package/dist/cdn/chunks/liquid.browser-Bbt17cVz.js.map +0 -1
  348. package/dist/cdn/chunks/sanitizeRichTextHtml-DeISfLFr.js +0 -62
  349. package/dist/cdn/chunks/sanitizeRichTextHtml-DeISfLFr.js.map +0 -1
  350. package/dist/cdn/chunks/src-BNFnxfrA.js.map +0 -1
  351. package/dist/cdn/chunks/src-Bs_yxk3h.js.map +0 -1
  352. package/dist/cdn/chunks/src-YGkzYyu0.js +0 -649
  353. package/dist/cdn/chunks/src-YGkzYyu0.js.map +0 -1
  354. package/dist/cdn/chunks/tiptap-CtVrAViq.js.map +0 -1
  355. package/dist/cdn/chunks/useEditorCore-CCVFi1YZ.js.map +0 -1
  356. package/dist/cdn/chunks/useEditorRoot-CR5GjJD6.js +0 -10
  357. package/dist/dist-BPFcLKTw.js +0 -5
  358. package/dist/dist-D7Yj7E-F.js +0 -5
  359. package/dist/en-DwV15ltA.js +0 -1
  360. package/dist/sanitizeRichTextHtml-DeISfLFr.js +0 -60
  361. package/dist/useEditorRoot-DUy67lJu.js +0 -8
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/liquidjs@10.30.0/node_modules/liquidjs/dist/liquid.browser.mjs
1
+ // ../../node_modules/.pnpm/liquidjs@10.30.0/node_modules/liquidjs/dist/liquid.browser.mjs
2
2
  var e = class {
3
3
  constructor(e, t, n, r, i) {
4
4
  this.kind = e, this.input = t, this.begin = n, this.end = r, this.file = i;
@@ -36,7 +36,7 @@ function u(e, t, n) {
36
36
  if (t < 0 && (t = e.length + t), !n || i.call(e, t)) return e[t];
37
37
  }
38
38
  function d(e) {
39
- return e = p(e), g(e) ? e : a(e) && e.length > 0 ? [e] : ie(e) ? Array.from(e) : _(e) ? Object.keys(e).map((t) => [t, e[t]]) : [];
39
+ return e = p(e), g(e) ? e : a(e) && e.length > 0 ? [e] : ie(e) ? Array.from(e) : se(e) ? Object.keys(e).map((t) => [t, e[t]]) : [];
40
40
  }
41
41
  function f(e) {
42
42
  return e = p(e), h(e) ? [] : g(e) ? e : [e];
@@ -66,7 +66,7 @@ function re(e) {
66
66
  return e && m(e.length);
67
67
  }
68
68
  function ie(e) {
69
- return _(e) && Symbol.iterator in e;
69
+ return se(e) && Symbol.iterator in e;
70
70
  }
71
71
  function ae(e, t) {
72
72
  e ||= {};
@@ -76,59 +76,59 @@ function ae(e, t) {
76
76
  function oe(e) {
77
77
  return e[e.length - 1];
78
78
  }
79
- function _(e) {
79
+ function se(e) {
80
80
  let t = typeof e;
81
81
  return e !== null && (t === "object" || t === "function");
82
82
  }
83
- function se(e, t, n = 1) {
83
+ function ce(e, t, n = 1) {
84
84
  let r = [];
85
85
  for (let i = e; i < t; i += n) r.push(i);
86
86
  return r;
87
87
  }
88
- function v(e, t, n = " ") {
89
- return le(e, t, n, (e, t) => t + e);
88
+ function _(e, t, n = " ") {
89
+ return ue(e, t, n, (e, t) => t + e);
90
90
  }
91
- function ce(e, t, n = " ") {
92
- return le(e, t, n, (e, t) => e + t);
91
+ function le(e, t, n = " ") {
92
+ return ue(e, t, n, (e, t) => e + t);
93
93
  }
94
- function le(e, t, n, r) {
94
+ function ue(e, t, n, r) {
95
95
  e = String(e);
96
96
  let i = t - e.length;
97
97
  return i <= 0 ? e : r(e, n.repeat(i));
98
98
  }
99
- function ue(e) {
99
+ function de(e) {
100
100
  return e;
101
101
  }
102
- function de(e) {
102
+ function fe(e) {
103
103
  return [...e].some((e) => e >= "a" && e <= "z") ? e.toUpperCase() : e.toLowerCase();
104
104
  }
105
- function fe(e, t) {
105
+ function pe(e, t) {
106
106
  return e.length > t ? e.slice(0, t - 3) + "..." : e;
107
107
  }
108
- function pe(e, t) {
108
+ function me(e, t) {
109
109
  return h(e) && h(t) ? 0 : h(e) ? 1 : h(t) || e < t ? -1 : +(e > t);
110
110
  }
111
- function me(e, t) {
111
+ function he(e, t) {
112
112
  return h(e) && h(t) ? 0 : h(e) ? 1 : h(t) || (e = r.call(e), t = r.call(t), e < t) ? -1 : +(e > t);
113
113
  }
114
- function he(e) {
114
+ function ge(e) {
115
115
  return function(...t) {
116
116
  return e.call(this, ...t.map(p));
117
117
  };
118
118
  }
119
- function y(e) {
119
+ function v(e) {
120
120
  return function(...t) {
121
121
  return e.call(this, ...t.map(ee));
122
122
  };
123
123
  }
124
- function* b(e) {
124
+ function* _e(e) {
125
125
  let t = /* @__PURE__ */ new Set();
126
126
  for (let n of e) {
127
127
  let e = JSON.stringify(n);
128
128
  t.has(e) || (t.add(e), yield n);
129
129
  }
130
130
  }
131
- var ge = "__liquidClass__", x = class extends Error {
131
+ var ve = "__liquidClass__", y = class extends Error {
132
132
  constructor(e, t) {
133
133
  super(typeof e == "string" ? e : e.message), this.context = "", typeof e != "string" && Object.defineProperty(this, "originalError", {
134
134
  value: e,
@@ -136,36 +136,36 @@ var ge = "__liquidClass__", x = class extends Error {
136
136
  }), Object.defineProperty(this, "token", {
137
137
  value: t,
138
138
  enumerable: !1
139
- }), Object.defineProperty(this, ge, {
139
+ }), Object.defineProperty(this, ve, {
140
140
  value: "LiquidError",
141
141
  enumerable: !1
142
142
  });
143
143
  }
144
144
  update() {
145
145
  Object.defineProperty(this, "context", {
146
- value: we(this.token),
146
+ value: Ee(this.token),
147
147
  enumerable: !1
148
- }), this.message = Te(this.message, this.token), this.stack = this.message + "\n" + this.context + "\n" + this.stack, this.originalError && (this.stack += "\nFrom " + this.originalError.stack);
148
+ }), this.message = De(this.message, this.token), this.stack = this.message + "\n" + this.context + "\n" + this.stack, this.originalError && (this.stack += "\nFrom " + this.originalError.stack);
149
149
  }
150
150
  static is(e) {
151
- return e?.[ge] === "LiquidError";
151
+ return e?.[ve] === "LiquidError";
152
152
  }
153
- }, _e = class extends x {
153
+ }, ye = class extends y {
154
154
  constructor(e, t) {
155
155
  super(e, t), this.name = "TokenizationError", super.update();
156
156
  }
157
- }, ve = class extends x {
157
+ }, be = class extends y {
158
158
  constructor(e, t) {
159
159
  super(e, t), this.name = "ParseError", this.message = e.message, super.update();
160
160
  }
161
- }, ye = class extends x {
161
+ }, xe = class extends y {
162
162
  constructor(e, t) {
163
163
  super(e, t.token), this.name = "RenderError", this.message = e.message, super.update();
164
164
  }
165
165
  static is(e) {
166
166
  return e.name === "RenderError";
167
167
  }
168
- }, be = class extends x {
168
+ }, Se = class extends y {
169
169
  constructor(e) {
170
170
  super(e[0], e[0].token), this.errors = e, this.name = "LiquidErrors";
171
171
  let t = e.length > 1 ? "s" : "";
@@ -174,32 +174,32 @@ var ge = "__liquidClass__", x = class extends Error {
174
174
  static is(e) {
175
175
  return e.name === "LiquidErrors";
176
176
  }
177
- }, xe = class extends x {
177
+ }, Ce = class extends y {
178
178
  constructor(e, t) {
179
179
  super(e, t), this.name = "UndefinedVariableError", this.message = e.message, super.update();
180
180
  }
181
- }, Se = class extends Error {
181
+ }, we = class extends Error {
182
182
  constructor(e) {
183
183
  super(`undefined variable: ${e}`), this.name = "InternalUndefinedVariableError", this.variableName = e;
184
184
  }
185
- }, Ce = class extends Error {
185
+ }, Te = class extends Error {
186
186
  constructor(e) {
187
187
  super(e), this.name = "AssertionError", this.message = e + "";
188
188
  }
189
189
  };
190
- function we(e) {
190
+ function Ee(e) {
191
191
  let [t, n] = e.getPosition(), r = e.input.split("\n"), i = Math.max(t - 2, 1), a = Math.min(t + 3, r.length);
192
- return se(i, a + 1).map((e) => {
193
- let i = `${e === t ? ">> " : " "}${v(String(e), String(a).length)}| `, o = e === t ? "\n" + v("^", n + i.length) : "";
192
+ return ce(i, a + 1).map((e) => {
193
+ let i = `${e === t ? ">> " : " "}${_(String(e), String(a).length)}| `, o = e === t ? "\n" + _("^", n + i.length) : "";
194
194
  return i += r[e - 1], i += o, i;
195
195
  }).join("\n");
196
196
  }
197
- function Te(e, t) {
197
+ function De(e, t) {
198
198
  t.file && (e += `, file:${t.file}`);
199
199
  let [n, r] = t.getPosition();
200
200
  return e += `, line:${n}, col:${r}`, e;
201
201
  }
202
- var S = [
202
+ var b = [
203
203
  0,
204
204
  0,
205
205
  0,
@@ -328,17 +328,17 @@ var S = [
328
328
  0,
329
329
  0,
330
330
  0
331
- ], Ee = 1, C = 4, De = 8, Oe = 16, ke = 32, Ae = 64, je = 128;
332
- function Me(e) {
331
+ ], Oe = 1, x = 4, ke = 8, Ae = 16, je = 32, Me = 64, Ne = 128;
332
+ function S(e) {
333
333
  let t = e.charCodeAt(0);
334
- return t >= 128 ? !S[t] : !!(S[t] & Ee);
334
+ return t >= 128 ? !b[t] : !!(b[t] & Oe);
335
335
  }
336
- S[160] = S[5760] = S[6158] = S[8192] = S[8193] = S[8194] = S[8195] = S[8196] = S[8197] = S[8198] = S[8199] = S[8200] = S[8201] = S[8202] = S[8232] = S[8233] = S[8239] = S[8287] = S[12288] = C, S[8220] = S[8221] = je;
337
- function w(e, t) {
338
- if (!e) throw new Ce(typeof t == "function" ? t() : t || `expect ${e} to be true`);
336
+ b[160] = b[5760] = b[6158] = b[8192] = b[8193] = b[8194] = b[8195] = b[8196] = b[8197] = b[8198] = b[8199] = b[8200] = b[8201] = b[8202] = b[8232] = b[8233] = b[8239] = b[8287] = b[12288] = x, b[8220] = b[8221] = Ne;
337
+ function C(e, t) {
338
+ if (!e) throw new Te(typeof t == "function" ? t() : t || `expect ${e} to be true`);
339
339
  }
340
- function Ne(e, t = `unexpected ${JSON.stringify(e)}`) {
341
- w(!e, t);
340
+ function w(e, t = `unexpected ${JSON.stringify(e)}`) {
341
+ C(!e, t);
342
342
  }
343
343
  var Pe = class extends t {
344
344
  *equals(e) {
@@ -361,7 +361,7 @@ var Pe = class extends t {
361
361
  }
362
362
  }, Fe = class e extends t {
363
363
  *equals(t) {
364
- return t instanceof e ? !1 : (t = yield p(t), a(t) || g(t) ? t.length === 0 : _(t) ? Object.keys(t).length === 0 : !1);
364
+ return t instanceof e ? !1 : (t = yield p(t), a(t) || g(t) ? t.length === 0 : se(t) ? Object.keys(t).length === 0 : !1);
365
365
  }
366
366
  gt() {
367
367
  return !1;
@@ -462,7 +462,7 @@ function Ge(e) {
462
462
  let e = n;
463
463
  for (let n = 0; n < t.length; n++) {
464
464
  let r = t[n];
465
- e[r] = e[r] || {}, n === t.length - 1 && Me(t[n]) && (e[r].needBoundary = !0), e = e[r];
465
+ e[r] = e[r] || {}, n === t.length - 1 && S(t[n]) && (e[r].needBoundary = !0), e = e[r];
466
466
  }
467
467
  e.data = r, e.end = !0;
468
468
  }
@@ -600,7 +600,7 @@ var et = {
600
600
  }, tt = /* @__PURE__ */ new Set("aAbBceklpP");
601
601
  function nt(e, t) {
602
602
  let n = Math.abs(e.getTimezoneOffset()), r = Math.floor(n / 60), i = n % 60;
603
- return (e.getTimezoneOffset() > 0 ? "-" : "+") + v(r, 2, "0") + (t.flags[":"] ? ":" : "") + v(i, 2, "0");
603
+ return (e.getTimezoneOffset() > 0 ? "-" : "+") + _(r, 2, "0") + (t.flags[":"] ? ":" : "") + _(i, 2, "0");
604
604
  }
605
605
  var rt = {
606
606
  a: (e) => e.getShortWeekdayName(),
@@ -621,8 +621,8 @@ var rt = {
621
621
  M: (e) => e.getMinutes(),
622
622
  N: (e, t) => {
623
623
  var n;
624
- let r = Number(t.width) || 9, i = v(String(e.getMilliseconds()), 3, "0").slice(0, r);
625
- return (n = t.memoryLimit) == null || n.use(r - i.length), ce(i, r, "0");
624
+ let r = Number(t.width) || 9, i = _(String(e.getMilliseconds()), 3, "0").slice(0, r);
625
+ return (n = t.memoryLimit) == null || n.use(r - i.length), le(i, r, "0");
626
626
  },
627
627
  p: (e) => e.getHours() < 12 ? "AM" : "PM",
628
628
  P: (e) => e.getHours() < 12 ? "am" : "pm",
@@ -660,7 +660,7 @@ function at(e, t, n) {
660
660
  modifier: o,
661
661
  memoryLimit: n
662
662
  })), d = tt.has(s) ? " " : "0", f = Number(a) || et[s] || 0;
663
- return l["^"] ? u = u.toUpperCase() : l["#"] && (u = de(u)), l._ ? d = " " : l[0] && (d = "0"), l["-"] && (f = 0), n?.use(Number(f) - u.length), v(u, f, d);
663
+ return l["^"] ? u = u.toUpperCase() : l["#"] && (u = fe(u)), l._ ? d = " " : l[0] && (d = "0"), l["-"] && (f = 0), n?.use(Number(f) - u.length), _(u, f, d);
664
664
  }
665
665
  function ot() {
666
666
  return typeof Intl < "u" ? Intl.DateTimeFormat : void 0;
@@ -774,17 +774,17 @@ var st = 6e4, ct = /([zZ]|([+-])(\d{2}):?(\d{2}))$/, lt = [
774
774
  this.base = 0, this.message = `${e} limit exceeded`, this.limit = t;
775
775
  }
776
776
  use(e) {
777
- +e > 0 && (w(this.base + +e <= this.limit, this.message), this.base += +e);
777
+ +e > 0 && (C(this.base + +e <= this.limit, this.message), this.base += +e);
778
778
  }
779
779
  check(e) {
780
- +e > 0 && w(+e <= this.limit, this.message);
780
+ +e > 0 && C(+e <= this.limit, this.message);
781
781
  }
782
782
  }, mt = class extends e {
783
783
  constructor(e, [t, n], r, i, a, o, s, c) {
784
784
  super(e, r, i, a, c), this.trimLeft = !1, this.trimRight = !1;
785
785
  let l = r[t] === "-", u = r[n - 1] === "-", d = l ? t + 1 : t, f = u ? n - 1 : n;
786
- for (; d < f && S[r.charCodeAt(d)] & C;) d++;
787
- for (; f > d && S[r.charCodeAt(f - 1)] & C;) f--;
786
+ for (; d < f && b[r.charCodeAt(d)] & x;) d++;
787
+ for (; f > d && b[r.charCodeAt(f - 1)] & x;) f--;
788
788
  this.contentRange = [d, f], this.trimLeft = l || o, this.trimRight = u || s;
789
789
  }
790
790
  get content() {
@@ -793,31 +793,31 @@ var st = 6e4, ct = /([zZ]|([+-])(\d{2}):?(\d{2}))$/, lt = [
793
793
  }, ht = class extends mt {
794
794
  constructor(e, t, n, r, i) {
795
795
  let { trimTagLeft: a, trimTagRight: o, tagDelimiterLeft: s, tagDelimiterRight: c } = r, [l, u] = [t + s.length, n - c.length];
796
- super(q.Tag, [l, u], e, t, n, a, o, i), this.tokenizer = new L(e, r.operators, i, this.contentRange, r.groupedExpressions), this.name = this.tokenizer.readTagName(), this.tokenizer.assert(this.name, "illegal tag syntax, tag name expected"), this.tokenizer.skipBlank(), this.args = this.tokenizer.input.slice(this.tokenizer.p, this.contentRange[1]);
796
+ super(K.Tag, [l, u], e, t, n, a, o, i), this.tokenizer = new I(e, r.operators, i, this.contentRange, r.groupedExpressions), this.name = this.tokenizer.readTagName(), this.tokenizer.assert(this.name, "illegal tag syntax, tag name expected"), this.tokenizer.skipBlank(), this.args = this.tokenizer.input.slice(this.tokenizer.p, this.contentRange[1]);
797
797
  }
798
798
  }, gt = class extends mt {
799
799
  constructor(e, t, n, r, i) {
800
800
  let { trimOutputLeft: a, trimOutputRight: o, outputDelimiterLeft: s, outputDelimiterRight: c } = r, l = [t + s.length, n - c.length];
801
- super(q.Output, l, e, t, n, a, o, i);
801
+ super(K.Output, l, e, t, n, a, o, i);
802
802
  }
803
803
  }, _t = class extends e {
804
804
  constructor(e, t, n, r) {
805
- super(q.HTML, e, t, n, r), this.input = e, this.begin = t, this.end = n, this.file = r, this.trimLeft = 0, this.trimRight = 0;
805
+ super(K.HTML, e, t, n, r), this.input = e, this.begin = t, this.end = n, this.file = r, this.trimLeft = 0, this.trimRight = 0;
806
806
  }
807
807
  getContent() {
808
808
  return this.input.slice(this.begin + this.trimLeft, this.end - this.trimRight);
809
809
  }
810
810
  }, vt = class extends e {
811
811
  constructor(e, t, n, r) {
812
- super(q.Number, e, t, n, r), this.input = e, this.begin = t, this.end = n, this.file = r, this.content = Number(this.getText());
812
+ super(K.Number, e, t, n, r), this.input = e, this.begin = t, this.end = n, this.file = r, this.content = Number(this.getText());
813
813
  }
814
814
  }, yt = class extends e {
815
815
  constructor(e, t, n, r) {
816
- super(q.Word, e, t, n, r), this.input = e, this.begin = t, this.end = n, this.file = r, this.content = this.getText();
816
+ super(K.Word, e, t, n, r), this.input = e, this.begin = t, this.end = n, this.file = r, this.content = this.getText();
817
817
  }
818
818
  }, bt = class extends e {
819
819
  constructor(e, t, n, r) {
820
- super(q.Literal, e, t, n, r), this.input = e, this.begin = t, this.end = n, this.file = r, this.literal = this.getText(), this.content = Ue[this.literal];
820
+ super(K.Literal, e, t, n, r), this.input = e, this.begin = t, this.end = n, this.file = r, this.literal = this.getText(), this.content = Ue[this.literal];
821
821
  }
822
822
  }, xt = {
823
823
  "==": 2,
@@ -843,22 +843,22 @@ var st = 6e4, ct = /([zZ]|([+-])(\d{2}):?(\d{2}))$/, lt = [
843
843
  or: 0
844
844
  }, Ct = class extends e {
845
845
  constructor(e, t, n, r) {
846
- super(q.Operator, e, t, n, r), this.input = e, this.begin = t, this.end = n, this.file = r, this.operator = this.getText();
846
+ super(K.Operator, e, t, n, r), this.input = e, this.begin = t, this.end = n, this.file = r, this.operator = this.getText();
847
847
  }
848
848
  getPrecedence() {
849
849
  return this.operator in xt ? xt[this.operator] : 1;
850
850
  }
851
851
  }, wt = class extends e {
852
852
  constructor(e, t, n, r, i, a) {
853
- super(q.PropertyAccess, n, r, i, a), this.variable = e, this.props = t;
853
+ super(K.PropertyAccess, n, r, i, a), this.variable = e, this.props = t;
854
854
  }
855
855
  }, Tt = class extends e {
856
856
  constructor(e, t, n, r, i, a) {
857
- super(q.Filter, n, r, i, a), this.name = e, this.args = t;
857
+ super(K.Filter, n, r, i, a), this.name = e, this.args = t;
858
858
  }
859
859
  }, Et = class extends e {
860
860
  constructor(e, t, n, r, i, a) {
861
- super(q.Hash, e, t, n, a), this.input = e, this.begin = t, this.end = n, this.name = r, this.value = i, this.file = a;
861
+ super(K.Hash, e, t, n, a), this.input = e, this.begin = t, this.end = n, this.name = r, this.value = i, this.file = a;
862
862
  }
863
863
  }, Dt = /[\da-fA-F]/, Ot = /[0-7]/, kt = {
864
864
  b: "\b",
@@ -890,22 +890,22 @@ function jt(e) {
890
890
  }
891
891
  var Mt = class extends e {
892
892
  constructor(e, t, n, r) {
893
- super(q.Quoted, e, t, n, r), this.input = e, this.begin = t, this.end = n, this.file = r, this.content = jt(this.getText());
893
+ super(K.Quoted, e, t, n, r), this.input = e, this.begin = t, this.end = n, this.file = r, this.content = jt(this.getText());
894
894
  }
895
895
  }, Nt = class extends e {
896
896
  constructor(e, t, n, r, i, a) {
897
- super(q.Range, e, t, n, a), this.input = e, this.begin = t, this.end = n, this.lhs = r, this.rhs = i, this.file = a;
897
+ super(K.Range, e, t, n, a), this.input = e, this.begin = t, this.end = n, this.lhs = r, this.rhs = i, this.file = a;
898
898
  }
899
899
  }, Pt = class extends mt {
900
900
  constructor(e, t, n, r, i) {
901
- super(q.Tag, [t, n], e, t, n, !1, !1, i), this.tokenizer = new L(e, r.operators, i, this.contentRange, r.groupedExpressions), this.name = this.tokenizer.readTagName(), this.tokenizer.assert(this.name, "illegal liquid tag syntax"), this.tokenizer.skipBlank();
901
+ super(K.Tag, [t, n], e, t, n, !1, !1, i), this.tokenizer = new I(e, r.operators, i, this.contentRange, r.groupedExpressions), this.name = this.tokenizer.readTagName(), this.tokenizer.assert(this.name, "illegal liquid tag syntax"), this.tokenizer.skipBlank();
902
902
  }
903
903
  get args() {
904
904
  return this.tokenizer.input.slice(this.tokenizer.p, this.contentRange[1]);
905
905
  }
906
906
  }, Ft = class extends e {
907
907
  constructor(e, t, n, r, i, a) {
908
- super(q.FilteredValue, n, r, i, a), this.initial = e, this.filters = t, this.input = n, this.begin = r, this.end = i, this.file = a;
908
+ super(K.FilteredValue, n, r, i, a), this.initial = e, this.filters = t, this.input = n, this.begin = r, this.end = i, this.file = a;
909
909
  }
910
910
  }, It = { now: () => Date.now() };
911
911
  function Lt() {
@@ -925,12 +925,12 @@ var Rt = class {
925
925
  let e = yield i.render(t, n);
926
926
  if (e && n.write(e), t.breakCalled || t.continueCalled) break;
927
927
  } catch (e) {
928
- let n = x.is(e) ? e : new ye(e, i);
928
+ let n = y.is(e) ? e : new xe(e, i);
929
929
  if (t.opts.catchAllErrors) r.push(n);
930
930
  else throw n;
931
931
  }
932
932
  }
933
- if (r.length) throw new be(r);
933
+ if (r.length) throw new Se(r);
934
934
  return n.buffer;
935
935
  }
936
936
  };
@@ -939,7 +939,7 @@ function zt(e) {
939
939
  }
940
940
  var Bt = class {
941
941
  constructor(e, t, n) {
942
- this.token = e, this.name = e.name, this.handler = o(t) ? t : o(t?.handler) ? t.handler : ue, this.raw = !o(t) && !!t?.raw, this.args = e.args, this.liquid = n;
942
+ this.token = e, this.name = e.name, this.handler = o(t) ? t : o(t?.handler) ? t.handler : de, this.raw = !o(t) && !!t?.raw, this.args = e.args, this.liquid = n;
943
943
  }
944
944
  *render(e, t) {
945
945
  let n = [];
@@ -955,9 +955,9 @@ var Bt = class {
955
955
  this.postfix = [...qt(e)];
956
956
  }
957
957
  *evaluate(e, t) {
958
- w(e, "unable to evaluate: context not defined");
958
+ C(e, "unable to evaluate: context not defined");
959
959
  let n = [];
960
- for (let r of this.postfix) if (Kn(r)) {
960
+ for (let r of this.postfix) if (qn(r)) {
961
961
  let t = n.pop(), i;
962
962
  if (St[r.operator] === 1) i = yield e.opts.operators[r.operator](t, e);
963
963
  else {
@@ -975,17 +975,17 @@ var Bt = class {
975
975
  function* j(e, t, n = !1) {
976
976
  if (e) {
977
977
  if ("content" in e) return e.content;
978
- if (Zn(e)) return yield Wt(e, t, n);
979
- if ($n(e)) return yield Kt(e, t);
980
- if (er(e)) return yield Ht(e, t, n);
978
+ if (J(e)) return yield Wt(e, t, n);
979
+ if (er(e)) return yield Kt(e, t);
980
+ if (tr(e)) return yield Ht(e, t, n);
981
981
  }
982
982
  }
983
983
  function* Ht(e, t, n) {
984
- w(t.liquid, "FilteredValueToken evaluation requires liquid instance in context"), n ||= t.opts.lenientIf && e.filters.length > 0 && e.filters[0].name === "default";
984
+ C(t.liquid, "FilteredValueToken evaluation requires liquid instance in context"), n ||= t.opts.lenientIf && e.filters.length > 0 && e.filters[0].name === "default";
985
985
  let r = yield e.initial.evaluate(t, n);
986
986
  for (let n of e.filters) {
987
987
  let e = t.liquid.filters[n.name];
988
- w(e || !t.liquid.options.strictFilters, () => `undefined filter: ${n.name}`), r = yield new Bt(n, e, t.liquid).render(r, t);
988
+ C(e || !t.liquid.options.strictFilters, () => `undefined filter: ${n.name}`), r = yield new Bt(n, e, t.liquid).render(r, t);
989
989
  }
990
990
  return r;
991
991
  }
@@ -1003,7 +1003,7 @@ function* Wt(e, t, n) {
1003
1003
  return yield t._get(r);
1004
1004
  } catch (t) {
1005
1005
  if (n && t.name === "InternalUndefinedVariableError") return null;
1006
- throw new xe(t, e);
1006
+ throw new Ce(t, e);
1007
1007
  }
1008
1008
  }
1009
1009
  function Gt(e) {
@@ -1011,28 +1011,28 @@ function Gt(e) {
1011
1011
  }
1012
1012
  function* Kt(e, t) {
1013
1013
  let n = yield Ut(e.lhs, t), r = yield Ut(e.rhs, t);
1014
- return t.memoryLimit.use(r - n + 1), se(+n, +r + 1);
1014
+ return t.memoryLimit.use(r - n + 1), ce(+n, +r + 1);
1015
1015
  }
1016
1016
  function* qt(e) {
1017
1017
  let t = [];
1018
- for (let n of e) if (Kn(n)) {
1018
+ for (let n of e) if (qn(n)) {
1019
1019
  for (; t.length && t[t.length - 1].getPrecedence() > n.getPrecedence();) yield t.pop();
1020
1020
  t.push(n);
1021
1021
  } else yield n;
1022
1022
  for (; t.length;) yield t.pop();
1023
1023
  }
1024
1024
  function M(e, t) {
1025
- return !Jt(e, t);
1025
+ return !N(e, t);
1026
1026
  }
1027
- function Jt(e, t) {
1027
+ function N(e, t) {
1028
1028
  return e = p(e), t.opts.jsTruthy ? !e : e === !1 || e == null;
1029
1029
  }
1030
- var Yt = {
1030
+ var Jt = {
1031
1031
  "==": function* (e, t) {
1032
- return yield N(e, t);
1032
+ return yield P(e, t);
1033
1033
  },
1034
1034
  "!=": function* (e, t) {
1035
- return !(yield N(e, t));
1035
+ return !(yield P(e, t));
1036
1036
  },
1037
1037
  ">": function* (e, t) {
1038
1038
  return T(e) ? yield e.gt(t) : T(t) ? yield t.lt(e) : (yield p(e)) > (yield p(t));
@@ -1047,10 +1047,10 @@ var Yt = {
1047
1047
  return T(e) ? yield e.leq(t) : T(t) ? yield t.geq(e) : (yield p(e)) <= (yield p(t));
1048
1048
  },
1049
1049
  contains: function* (e, t) {
1050
- return e = yield p(e), g(e) ? yield Zt(e, t) : o(e?.indexOf) ? e.indexOf(yield p(t)) > -1 : !1;
1050
+ return e = yield p(e), g(e) ? yield Xt(e, t) : o(e?.indexOf) ? e.indexOf(yield p(t)) > -1 : !1;
1051
1051
  },
1052
1052
  not: function* (e, t) {
1053
- return Jt(yield p(e), t);
1053
+ return N(yield p(e), t);
1054
1054
  },
1055
1055
  and: function* (e, t, n) {
1056
1056
  return M(yield p(e), n) && M(yield p(t), n);
@@ -1059,30 +1059,30 @@ var Yt = {
1059
1059
  return M(yield p(e), n) || M(yield p(t), n);
1060
1060
  }
1061
1061
  };
1062
- function* N(e, t) {
1063
- return T(e) ? yield e.equals(t) : T(t) ? yield t.equals(e) : (e = yield p(e), t = yield p(t), g(e) ? g(t) && (yield Xt(e, t)) : e === t);
1062
+ function* P(e, t) {
1063
+ return T(e) ? yield e.equals(t) : T(t) ? yield t.equals(e) : (e = yield p(e), t = yield p(t), g(e) ? g(t) && (yield Yt(e, t)) : e === t);
1064
1064
  }
1065
- function* Xt(e, t) {
1065
+ function* Yt(e, t) {
1066
1066
  if (e.length !== t.length) return !1;
1067
- for (let n = 0; n < e.length; n++) if (!(yield N(e[n], t[n]))) return !1;
1067
+ for (let n = 0; n < e.length; n++) if (!(yield P(e[n], t[n]))) return !1;
1068
1068
  return !0;
1069
1069
  }
1070
- function* Zt(e, t) {
1071
- for (let n of e) if (yield N(n, t)) return !0;
1070
+ function* Xt(e, t) {
1071
+ for (let n of e) if (yield P(n, t)) return !0;
1072
1072
  return !1;
1073
1073
  }
1074
- var Qt = class {
1074
+ var Zt = class {
1075
1075
  constructor(e, t, n, r) {
1076
1076
  this.key = e, this.value = t, this.next = n, this.prev = r;
1077
1077
  }
1078
- }, $t = class {
1078
+ }, Qt = class {
1079
1079
  constructor(e, t = 0) {
1080
- this.limit = e, this.size = t, this.cache = {}, this.head = new Qt("HEAD", null, null, null), this.tail = new Qt("TAIL", null, null, null), this.head.next = this.tail, this.tail.prev = this.head;
1080
+ this.limit = e, this.size = t, this.cache = {}, this.head = new Zt("HEAD", null, null, null), this.tail = new Zt("TAIL", null, null, null), this.head.next = this.tail, this.tail.prev = this.head;
1081
1081
  }
1082
1082
  write(e, t) {
1083
1083
  if (this.cache[e]) this.cache[e].value = t;
1084
1084
  else {
1085
- let n = new Qt(e, t, this.head.next, this.head);
1085
+ let n = new Zt(e, t, this.head.next, this.head);
1086
1086
  this.head.next.prev = n, this.head.next = n, this.cache[e] = n, this.size++, this.ensureLimit();
1087
1087
  }
1088
1088
  }
@@ -1102,7 +1102,7 @@ var Qt = class {
1102
1102
  this.size > this.limit && this.remove(this.tail.prev.key);
1103
1103
  }
1104
1104
  };
1105
- function en(e, t) {
1105
+ function $t(e, t) {
1106
1106
  let n = document.createElement("base");
1107
1107
  n.href = e;
1108
1108
  let r = document.getElementsByTagName("head")[0];
@@ -1112,13 +1112,13 @@ function en(e, t) {
1112
1112
  let a = i.href;
1113
1113
  return r.removeChild(n), a;
1114
1114
  }
1115
- function tn(e, t, n) {
1116
- return e.length && oe(e) !== "/" && (e += "/"), en(e, t).replace(/^(\w+:\/\/[^/]+)(\/[^?]+)/, (e, t, r) => {
1115
+ function en(e, t, n) {
1116
+ return e.length && oe(e) !== "/" && (e += "/"), $t(e, t).replace(/^(\w+:\/\/[^/]+)(\/[^?]+)/, (e, t, r) => {
1117
1117
  let i = r.split("/").pop();
1118
1118
  return /\.\w+$/.test(i) ? e : t + r + n;
1119
1119
  });
1120
1120
  }
1121
- function nn(e) {
1121
+ function tn(e) {
1122
1122
  return D(this, void 0, void 0, function* () {
1123
1123
  return new Promise((t, n) => {
1124
1124
  let r = new XMLHttpRequest();
@@ -1130,87 +1130,87 @@ function nn(e) {
1130
1130
  });
1131
1131
  });
1132
1132
  }
1133
- function rn(e) {
1133
+ function nn(e) {
1134
1134
  let t = new XMLHttpRequest();
1135
1135
  if (t.open("GET", e, !1), t.send(), t.status < 200 || t.status >= 300) throw Error(t.statusText);
1136
1136
  return t.responseText;
1137
1137
  }
1138
- function an(e) {
1138
+ function rn(e) {
1139
1139
  return D(this, void 0, void 0, function* () {
1140
1140
  return !0;
1141
1141
  });
1142
1142
  }
1143
- function on(e) {
1143
+ function an(e) {
1144
1144
  return !0;
1145
1145
  }
1146
- function sn(e) {
1147
- return en(e, ".");
1146
+ function on(e) {
1147
+ return $t(e, ".");
1148
1148
  }
1149
- var cn = /*#__PURE__*/ Object.freeze({
1149
+ var sn = /*#__PURE__*/ Object.freeze({
1150
1150
  __proto__: null,
1151
- resolve: tn,
1152
- readFile: nn,
1153
- readFileSync: rn,
1154
- exists: an,
1155
- existsSync: on,
1156
- dirname: sn,
1151
+ resolve: en,
1152
+ readFile: tn,
1153
+ readFileSync: nn,
1154
+ exists: rn,
1155
+ existsSync: an,
1156
+ dirname: on,
1157
1157
  sep: "/"
1158
1158
  });
1159
- function ln(e, t) {
1159
+ function cn(e, t) {
1160
1160
  typeof t == "string" ? e.use(t.length) : t === null || typeof t == "number" || typeof t == "boolean" ? e.use(JSON.stringify(t).length) : Array.isArray(t) ? e.use(t.length + 1) : typeof t == "object" && e.use(2);
1161
1161
  }
1162
- function un(e, t, ...n) {
1163
- return e = p(e), g(e) || a(e) ? e.length ? e : t : e === !1 && new Map(n).get("allow_false") ? !1 : Jt(e, this.context) ? t : e;
1162
+ function ln(e, t, ...n) {
1163
+ return e = p(e), g(e) || a(e) ? e.length ? e : t : e === !1 && new Map(n).get("allow_false") ? !1 : N(e, this.context) ? t : e;
1164
1164
  }
1165
- function dn(e, t = 0) {
1165
+ function un(e, t = 0) {
1166
1166
  let n = this.context.memoryLimit;
1167
- return JSON.stringify(e, (e, t) => (ln(n, t), t), t);
1167
+ return JSON.stringify(e, (e, t) => (cn(n, t), t), t);
1168
1168
  }
1169
- function fn(e, t = 0) {
1169
+ function dn(e, t = 0) {
1170
1170
  let n = this.context.memoryLimit, r = [];
1171
1171
  return JSON.stringify(e, function(e, t) {
1172
- if (typeof t != "object" || !t) return ln(n, t), t;
1172
+ if (typeof t != "object" || !t) return cn(n, t), t;
1173
1173
  for (; r.length > 0 && r[r.length - 1] !== this;) r.pop();
1174
- return r.includes(t) ? (n.use(10), "[Circular]") : (r.push(t), ln(n, t), t);
1174
+ return r.includes(t) ? (n.use(10), "[Circular]") : (r.push(t), cn(n, t), t);
1175
1175
  }, t);
1176
1176
  }
1177
- function pn(e) {
1177
+ function fn(e) {
1178
1178
  return Number(e);
1179
1179
  }
1180
- var mn = {
1181
- default: un,
1180
+ var pn = {
1181
+ default: ln,
1182
1182
  raw: {
1183
1183
  raw: !0,
1184
- handler: ue
1184
+ handler: de
1185
1185
  },
1186
- jsonify: dn,
1187
- to_integer: pn,
1188
- json: dn,
1189
- inspect: fn
1190
- }, hn = {
1186
+ jsonify: un,
1187
+ to_integer: fn,
1188
+ json: un,
1189
+ inspect: dn
1190
+ }, mn = {
1191
1191
  "&": "&amp;",
1192
1192
  "<": "&lt;",
1193
1193
  ">": "&gt;",
1194
1194
  "\"": "&#34;",
1195
1195
  "'": "&#39;"
1196
- }, gn = {
1196
+ }, hn = {
1197
1197
  "&amp;": "&",
1198
1198
  "&lt;": "<",
1199
1199
  "&gt;": ">",
1200
1200
  "&#34;": "\"",
1201
1201
  "&#39;": "'"
1202
1202
  };
1203
- function P(e) {
1204
- return e = l(e), this.context.memoryLimit.use(e.length), e.replace(/&|<|>|"|'/g, (e) => hn[e]);
1203
+ function gn(e) {
1204
+ return e = l(e), this.context.memoryLimit.use(e.length), e.replace(/&|<|>|"|'/g, (e) => mn[e]);
1205
1205
  }
1206
1206
  function _n(e) {
1207
- return P.call(this, e);
1207
+ return gn.call(this, e);
1208
1208
  }
1209
1209
  function vn(e) {
1210
- return e = l(e), this.context.memoryLimit.use(e.length), e.replace(/&(amp|lt|gt|#34|#39);/g, (e) => gn[e]);
1210
+ return e = l(e), this.context.memoryLimit.use(e.length), e.replace(/&(amp|lt|gt|#34|#39);/g, (e) => hn[e]);
1211
1211
  }
1212
1212
  function yn(e) {
1213
- return P.call(this, vn.call(this, e));
1213
+ return gn.call(this, vn.call(this, e));
1214
1214
  }
1215
1215
  function bn(e) {
1216
1216
  let t = l(e);
@@ -1244,7 +1244,7 @@ function xn(e) {
1244
1244
  }
1245
1245
  var Sn = /*#__PURE__*/ Object.freeze({
1246
1246
  __proto__: null,
1247
- escape: P,
1247
+ escape: gn,
1248
1248
  xml_escape: _n,
1249
1249
  escape_once: yn,
1250
1250
  newline_to_br: bn,
@@ -1291,7 +1291,7 @@ var Sn = /*#__PURE__*/ Object.freeze({
1291
1291
  keyValueSeparator: ":",
1292
1292
  cache: void 0,
1293
1293
  extname: "",
1294
- fs: cn,
1294
+ fs: sn,
1295
1295
  dynamicPartials: !0,
1296
1296
  jsTruthy: !1,
1297
1297
  dateFormat: "%A, %B %-e, %Y at %-l:%M %P %z",
@@ -1312,7 +1312,7 @@ var Sn = /*#__PURE__*/ Object.freeze({
1312
1312
  lenientIf: !1,
1313
1313
  globals: {},
1314
1314
  keepOutputType: !1,
1315
- operators: Yt,
1315
+ operators: Jt,
1316
1316
  groupedExpressions: !1,
1317
1317
  memoryLimit: Infinity,
1318
1318
  parseLimit: Infinity,
@@ -1321,36 +1321,36 @@ var Sn = /*#__PURE__*/ Object.freeze({
1321
1321
  function wn(e) {
1322
1322
  if (e.hasOwnProperty("root") && (e.hasOwnProperty("partials") || (e.partials = e.root), e.hasOwnProperty("layouts") || (e.layouts = e.root)), e.hasOwnProperty("cache")) {
1323
1323
  let t;
1324
- t = typeof e.cache == "number" ? e.cache > 0 ? new $t(e.cache) : void 0 : typeof e.cache == "object" ? e.cache : e.cache ? new $t(1024) : void 0, e.cache = t;
1324
+ t = typeof e.cache == "number" ? e.cache > 0 ? new Qt(e.cache) : void 0 : typeof e.cache == "object" ? e.cache : e.cache ? new Qt(1024) : void 0, e.cache = t;
1325
1325
  }
1326
- return e = Object.assign(Object.assign(Object.assign({}, F), e.jekyllInclude ? { dynamicPartials: !1 } : {}), e), (!e.fs.dirname || !e.fs.sep) && e.relativeReference && (console.warn("[LiquidJS] `fs.dirname` and `fs.sep` are required for relativeReference, set relativeReference to `false` to suppress this warning"), e.relativeReference = !1), e.root = I(e.root), e.partials = I(e.partials), e.layouts = I(e.layouts), e.outputEscape = e.outputEscape && Tn(e.outputEscape), e.locale || (e.locale = ot()?.().resolvedOptions().locale ?? "en-US"), e.templates && (e.fs = new Cn(e.templates), e.relativeReference = !0, e.root = e.partials = e.layouts = "."), e;
1326
+ return e = Object.assign(Object.assign(Object.assign({}, F), e.jekyllInclude ? { dynamicPartials: !1 } : {}), e), e.fs.dirname && e.fs.sep || !e.relativeReference || (console.warn("[LiquidJS] `fs.dirname` and `fs.sep` are required for relativeReference, set relativeReference to `false` to suppress this warning"), e.relativeReference = !1), e.root = En(e.root), e.partials = En(e.partials), e.layouts = En(e.layouts), e.outputEscape = e.outputEscape && Tn(e.outputEscape), e.locale || (e.locale = ot()?.().resolvedOptions().locale ?? "en-US"), e.templates && (e.fs = new Cn(e.templates), e.relativeReference = !0, e.root = e.partials = e.layouts = "."), e;
1327
1327
  }
1328
1328
  function Tn(e) {
1329
- return e === "escape" ? P : e === "json" ? mn.json : (w(o(e), "`outputEscape` need to be of type string or function"), e);
1329
+ return e === "escape" ? gn : e === "json" ? pn.json : (C(o(e), "`outputEscape` need to be of type string or function"), e);
1330
1330
  }
1331
- function I(e) {
1331
+ function En(e) {
1332
1332
  let t = [];
1333
1333
  return g(e) && (t = e), a(e) && (t = [e]), t;
1334
1334
  }
1335
- function En(e, t) {
1335
+ function Dn(e, t) {
1336
1336
  let n = !1;
1337
1337
  for (let r = 0; r < e.length; r++) {
1338
1338
  let i = e[r];
1339
- Gn(i) && (!n && i.trimLeft && Dn(e[r - 1], t.greedy), J(i) && (i.name === "raw" ? n = !0 : i.name === "endraw" && (n = !1)), !n && i.trimRight && On(e[r + 1], t.greedy));
1339
+ Kn(i) && (!n && i.trimLeft && On(e[r - 1], t.greedy), q(i) && (i.name === "raw" ? n = !0 : i.name === "endraw" && (n = !1)), !n && i.trimRight && kn(e[r + 1], t.greedy));
1340
1340
  }
1341
1341
  }
1342
- function Dn(e, t) {
1343
- if (!e || !qn(e)) return;
1344
- let n = t ? C : Oe;
1345
- for (; S[e.input.charCodeAt(e.end - 1 - e.trimRight)] & n;) e.trimRight++;
1346
- }
1347
1342
  function On(e, t) {
1348
- if (!e || !qn(e)) return;
1349
- let n = t ? C : Oe;
1350
- for (; S[e.input.charCodeAt(e.begin + e.trimLeft)] & n;) e.trimLeft++;
1343
+ if (!e || !Jn(e)) return;
1344
+ let n = t ? x : Ae;
1345
+ for (; b[e.input.charCodeAt(e.end - 1 - e.trimRight)] & n;) e.trimRight++;
1346
+ }
1347
+ function kn(e, t) {
1348
+ if (!e || !Jn(e)) return;
1349
+ let n = t ? x : Ae;
1350
+ for (; b[e.input.charCodeAt(e.begin + e.trimLeft)] & n;) e.trimLeft++;
1351
1351
  e.input.charAt(e.begin + e.trimLeft) === "\n" && e.trimLeft++;
1352
1352
  }
1353
- var L = class {
1353
+ var I = class {
1354
1354
  constructor(e, t = F.operators, n, r, i = !1) {
1355
1355
  this.input = e, this.file = n, this.rawBeginAt = -1, this.p = r ? r[0] : 0, this.N = r ? r[1] : e.length, this.opTrie = Ge(t), this.literalTrie = Ge(Ue), this.groupedExpressions = i;
1356
1356
  }
@@ -1377,7 +1377,7 @@ var L = class {
1377
1377
  matchTrie(e) {
1378
1378
  let t = e, n = this.p, r;
1379
1379
  for (; t[this.input[n]] && n < this.N;) t = t[this.input[n++]], t.end && (r = t);
1380
- return !r || r.needBoundary && Me(this.peek(n - this.p)) ? -1 : n;
1380
+ return !r || r.needBoundary && S(this.peek(n - this.p)) ? -1 : n;
1381
1381
  }
1382
1382
  readFilteredValue() {
1383
1383
  let e = this.p, t = this.readExpression();
@@ -1419,7 +1419,7 @@ var L = class {
1419
1419
  let n = this.readTopLevelToken(e);
1420
1420
  t.push(n);
1421
1421
  }
1422
- return En(t, e), t;
1422
+ return Dn(t, e), t;
1423
1423
  }
1424
1424
  readTopLevelToken(e) {
1425
1425
  let { tagDelimiterLeft: t, outputDelimiterLeft: n } = e;
@@ -1437,7 +1437,7 @@ var L = class {
1437
1437
  return i.name === "raw" && (this.rawBeginAt = r), i;
1438
1438
  }
1439
1439
  readToDelimiter(e, t = !1) {
1440
- for (this.skipBlank(); this.p < this.N;) if (t && this.peekType() & De) this.readQuoted();
1440
+ for (this.skipBlank(); this.p < this.N;) if (t && this.peekType() & ke) this.readQuoted();
1441
1441
  else if (++this.p, this.rmatch(e)) return this.p;
1442
1442
  return -1;
1443
1443
  }
@@ -1475,13 +1475,13 @@ var L = class {
1475
1475
  return new Pt(this.input, t, n, e, this.file);
1476
1476
  }
1477
1477
  error(e, t = this.p) {
1478
- return new _e(e, new yt(this.input, t, this.N, this.file));
1478
+ return new ye(e, new yt(this.input, t, this.N, this.file));
1479
1479
  }
1480
1480
  assert(e, t, n) {
1481
1481
  if (!e) throw this.error(typeof t == "function" ? t() : t, n);
1482
1482
  }
1483
1483
  snapshot(e = this.p) {
1484
- return JSON.stringify(fe(this.input.slice(e, this.N), 32));
1484
+ return JSON.stringify(pe(this.input.slice(e, this.N), 32));
1485
1485
  }
1486
1486
  readWord() {
1487
1487
  return this.readIdentifier();
@@ -1489,7 +1489,7 @@ var L = class {
1489
1489
  readIdentifier() {
1490
1490
  this.skipBlank();
1491
1491
  let e = this.p;
1492
- for (; !this.end() && Me(this.peek());) ++this.p;
1492
+ for (; !this.end() && S(this.peek());) ++this.p;
1493
1493
  return new yt(this.input, e, this.p, this.file);
1494
1494
  }
1495
1495
  readNonEmptyIdentifier() {
@@ -1570,12 +1570,12 @@ var L = class {
1570
1570
  readNumber() {
1571
1571
  this.skipBlank();
1572
1572
  let e = !1, t = !1, n = 0;
1573
- for (this.peekType() & Ae && n++; this.p + n <= this.N;) if (this.peekType(n) & ke) t = !0, n++;
1573
+ for (this.peekType() & Me && n++; this.p + n <= this.N;) if (this.peekType(n) & je) t = !0, n++;
1574
1574
  else if (this.peek(n) === "." && this.peek(n + 1) !== ".") {
1575
1575
  if (e || !t) return;
1576
1576
  e = !0, n++;
1577
1577
  } else break;
1578
- if (t && !Me(this.peek(n))) {
1578
+ if (t && !S(this.peek(n))) {
1579
1579
  let e = new vt(this.input, this.p, this.p + n, this.file);
1580
1580
  return this.advance(n), e;
1581
1581
  }
@@ -1613,7 +1613,7 @@ var L = class {
1613
1613
  readQuoted() {
1614
1614
  this.skipBlank();
1615
1615
  let e = this.p;
1616
- if (!(this.peekType() & De)) return;
1616
+ if (!(this.peekType() & ke)) return;
1617
1617
  ++this.p;
1618
1618
  let t = !1;
1619
1619
  for (; this.p < this.N && (++this.p, this.input[this.p - 1] !== this.input[e] || t);) t ? t = !1 : this.input[this.p - 1] === "\\" && (t = !0);
@@ -1639,15 +1639,15 @@ var L = class {
1639
1639
  return !0;
1640
1640
  }
1641
1641
  peekType(e = 0) {
1642
- return this.p + e >= this.N ? 0 : S[this.input.charCodeAt(this.p + e)];
1642
+ return this.p + e >= this.N ? 0 : b[this.input.charCodeAt(this.p + e)];
1643
1643
  }
1644
1644
  peek(e = 0) {
1645
1645
  return this.p + e >= this.N ? "" : this.input[this.p + e];
1646
1646
  }
1647
1647
  skipBlank() {
1648
- for (; this.peekType() & C;) ++this.p;
1648
+ for (; this.peekType() & x;) ++this.p;
1649
1649
  }
1650
- }, kn = class {
1650
+ }, An = class {
1651
1651
  constructor(e, t) {
1652
1652
  this.handlers = {}, this.stopRequested = !1, this.tokens = e, this.parseToken = t;
1653
1653
  }
@@ -1662,7 +1662,7 @@ var L = class {
1662
1662
  this.trigger("start");
1663
1663
  let e;
1664
1664
  for (; !this.stopRequested && (e = this.tokens.shift());) {
1665
- if (this.trigger("token", e) || J(e) && this.trigger(`tag:${e.name}`, e)) continue;
1665
+ if (this.trigger("token", e) || q(e) && this.trigger(`tag:${e.name}`, e)) continue;
1666
1666
  let t = this.parseToken(e, this.tokens);
1667
1667
  this.trigger("template", t);
1668
1668
  }
@@ -1671,18 +1671,18 @@ var L = class {
1671
1671
  stop() {
1672
1672
  return this.stopRequested = !0, this;
1673
1673
  }
1674
- }, An = class {
1674
+ }, jn = class {
1675
1675
  constructor(e) {
1676
1676
  this.token = e;
1677
1677
  }
1678
- }, R = class extends An {
1678
+ }, L = class extends jn {
1679
1679
  constructor(e, t, n) {
1680
1680
  super(e), this.name = e.name, this.liquid = n, this.tokenizer = e.tokenizer;
1681
1681
  }
1682
- }, z = class {
1682
+ }, R = class {
1683
1683
  constructor(e, t) {
1684
1684
  this.hash = {};
1685
- let n = e instanceof L ? e : new L(e, {});
1685
+ let n = e instanceof I ? e : new I(e, {});
1686
1686
  for (let e of n.readHashes(t)) this.hash[e.name.content] = e.value;
1687
1687
  }
1688
1688
  *render(e) {
@@ -1691,21 +1691,21 @@ var L = class {
1691
1691
  return t;
1692
1692
  }
1693
1693
  };
1694
- function jn(e) {
1695
- return class extends R {
1694
+ function Mn(e) {
1695
+ return class extends L {
1696
1696
  constructor(t, n, r) {
1697
1697
  super(t, n, r), o(e.parse) && e.parse.call(this, t, n);
1698
1698
  }
1699
1699
  *render(t, n) {
1700
- let r = yield new z(this.token.args, t.opts.keyValueSeparator).render(t);
1700
+ let r = yield new R(this.token.args, t.opts.keyValueSeparator).render(t);
1701
1701
  return yield e.render.call(this, t, n, r);
1702
1702
  }
1703
1703
  };
1704
1704
  }
1705
- var B = class {
1705
+ var z = class {
1706
1706
  constructor(e, t) {
1707
1707
  this.filters = [];
1708
- let n = typeof e == "string" ? new L(e, t.options.operators, void 0, void 0, t.options.groupedExpressions).readFilteredValue() : e;
1708
+ let n = typeof e == "string" ? new I(e, t.options.operators, void 0, void 0, t.options.groupedExpressions).readFilteredValue() : e;
1709
1709
  this.initial = n.initial, this.filters = n.filters.map((e) => new Bt(e, this.getFilter(t, e.name), t));
1710
1710
  }
1711
1711
  *value(e, t) {
@@ -1716,13 +1716,13 @@ var B = class {
1716
1716
  }
1717
1717
  getFilter(e, t) {
1718
1718
  let n = e.filters[t];
1719
- return w(n || !e.options.strictFilters, () => `undefined filter: ${t}`), n;
1719
+ return C(n || !e.options.strictFilters, () => `undefined filter: ${t}`), n;
1720
1720
  }
1721
- }, Mn = class extends An {
1721
+ }, Nn = class extends jn {
1722
1722
  constructor(e, t) {
1723
1723
  super(e);
1724
- let n = new L(e.input, t.options.operators, e.file, e.contentRange, t.options.groupedExpressions);
1725
- this.value = new B(n.readFilteredValue(), t);
1724
+ let n = new I(e.input, t.options.operators, e.file, e.contentRange, t.options.groupedExpressions);
1725
+ this.value = new z(n.readFilteredValue(), t);
1726
1726
  let r = this.value.filters, i = t.options.outputEscape;
1727
1727
  if (!r[r.length - 1]?.raw && i) {
1728
1728
  let e = new Tt(toString.call(i), [], "", 0, 0);
@@ -1736,19 +1736,19 @@ var B = class {
1736
1736
  *arguments() {
1737
1737
  yield this.value;
1738
1738
  }
1739
- }, Nn = class extends An {
1739
+ }, Pn = class extends jn {
1740
1740
  constructor(e) {
1741
1741
  super(e), this.str = e.getContent();
1742
1742
  }
1743
1743
  *render(e, t) {
1744
1744
  t.write(this.str);
1745
1745
  }
1746
- }, V = class e {
1746
+ }, B = class e {
1747
1747
  constructor(e, t) {
1748
1748
  this.segments = e, this.location = t;
1749
1749
  }
1750
1750
  toString() {
1751
- return Un(this.segments, !0);
1751
+ return Wn(this.segments, !0);
1752
1752
  }
1753
1753
  toArray() {
1754
1754
  function* t(...n) {
@@ -1756,16 +1756,16 @@ var B = class {
1756
1756
  }
1757
1757
  return Array.from(t(...this.segments));
1758
1758
  }
1759
- }, Pn = class {
1759
+ }, Fn = class {
1760
1760
  constructor() {
1761
1761
  this.map = /* @__PURE__ */ new Map();
1762
1762
  }
1763
1763
  get(e) {
1764
- let t = Un([e.segments[0]]);
1764
+ let t = Wn([e.segments[0]]);
1765
1765
  return this.map.has(t) || this.map.set(t, []), this.map.get(t);
1766
1766
  }
1767
1767
  has(e) {
1768
- return this.map.has(Un([e.segments[0]]));
1768
+ return this.map.has(Wn([e.segments[0]]));
1769
1769
  }
1770
1770
  push(e) {
1771
1771
  this.get(e).push(e);
@@ -1773,9 +1773,9 @@ var B = class {
1773
1773
  asObject() {
1774
1774
  return Object.fromEntries(this.map);
1775
1775
  }
1776
- }, Fn = { partials: !0 };
1777
- function* In(e, t, n) {
1778
- let r = new Pn(), i = new Pn(), o = new Pn(), s = new Ln(/* @__PURE__ */ new Set()), c = /* @__PURE__ */ new Set();
1776
+ }, In = { partials: !0 };
1777
+ function* Ln(e, t, n) {
1778
+ let r = new Fn(), i = new Fn(), o = new Fn(), s = new Rn(/* @__PURE__ */ new Set()), c = /* @__PURE__ */ new Set();
1779
1779
  function l(e, t) {
1780
1780
  r.push(e);
1781
1781
  let n = t.alias(e);
@@ -1786,14 +1786,14 @@ function* In(e, t, n) {
1786
1786
  let n = e.segments[0];
1787
1787
  a(n) && !t.has(n) && i.push(e);
1788
1788
  }
1789
- for (let n of e.segments) n instanceof V && l(n, t);
1789
+ for (let n of e.segments) n instanceof B && l(n, t);
1790
1790
  }
1791
1791
  function* u(e, r) {
1792
- if (e.arguments) for (let t of e.arguments()) for (let e of Rn(t)) l(e, r);
1792
+ if (e.arguments) for (let t of e.arguments()) for (let e of zn(t)) l(e, r);
1793
1793
  if (e.localScope) for (let t of e.localScope()) {
1794
1794
  r.add(t.content), r.deleteAlias(t.content);
1795
1795
  let [e, n] = t.getPosition();
1796
- o.push(new V([t.content], {
1796
+ o.push(new B([t.content], {
1797
1797
  row: e,
1798
1798
  col: n,
1799
1799
  file: t.file
@@ -1807,12 +1807,12 @@ function* In(e, t, n) {
1807
1807
  return;
1808
1808
  }
1809
1809
  if (c.has(i.name)) return;
1810
- let o = /* @__PURE__ */ new Set(), s = i.isolated ? new Ln(o) : r.push(o);
1810
+ let o = /* @__PURE__ */ new Set(), s = i.isolated ? new Rn(o) : r.push(o);
1811
1811
  for (let e of i.scope) if (a(e)) o.add(e);
1812
1812
  else {
1813
1813
  let [t, n] = e;
1814
1814
  o.add(t);
1815
- let r = Array.from(Rn(n));
1815
+ let r = Array.from(zn(n));
1816
1816
  r.length && s.setAlias(t, r[0].segments);
1817
1817
  }
1818
1818
  for (let r of yield e.children(t, n)) yield u(r, s), c.add(i.name);
@@ -1831,13 +1831,13 @@ function* In(e, t, n) {
1831
1831
  locals: o.asObject()
1832
1832
  };
1833
1833
  }
1834
- function H(e, t = {}) {
1835
- return O(In(e, Object.assign(Object.assign({}, Fn), t).partials, !1));
1834
+ function V(e, t = {}) {
1835
+ return O(Ln(e, Object.assign(Object.assign({}, In), t).partials, !1));
1836
1836
  }
1837
- function U(e, t = {}) {
1838
- return k(In(e, Object.assign(Object.assign({}, Fn), t).partials, !0));
1837
+ function H(e, t = {}) {
1838
+ return k(Ln(e, Object.assign(Object.assign({}, In), t).partials, !0));
1839
1839
  }
1840
- var Ln = class {
1840
+ var Rn = class {
1841
1841
  constructor(e) {
1842
1842
  this.stack = [{
1843
1843
  names: e,
@@ -1864,7 +1864,7 @@ var Ln = class {
1864
1864
  let t = e.segments[0];
1865
1865
  if (!a(t)) return;
1866
1866
  let n = this.getAlias(t);
1867
- if (n !== void 0) return new V([...n, ...e.segments.slice(1)], e.location);
1867
+ if (n !== void 0) return new B([...n, ...e.segments.slice(1)], e.location);
1868
1868
  }
1869
1869
  setAlias(e, t) {
1870
1870
  this.stack[this.stack.length - 1].aliases.set(e, t);
@@ -1879,49 +1879,49 @@ var Ln = class {
1879
1879
  }
1880
1880
  }
1881
1881
  };
1882
- function* Rn(e) {
1883
- Y(e) ? yield* W(e) : e instanceof B && (yield* zn(e));
1884
- }
1885
1882
  function* zn(e) {
1886
- for (let t of e.initial.postfix) Y(t) && (yield* W(t));
1887
- for (let t of e.filters) for (let e of t.args) zt(e) && e[1] ? yield* W(e[1]) : Y(e) && (yield* W(e));
1888
- }
1889
- function* W(e) {
1890
- $n(e) ? (yield* W(e.lhs), yield* W(e.rhs)) : er(e) ? yield* Bn(e) : Zn(e) && (yield Vn(e));
1883
+ Y(e) ? yield* U(e) : e instanceof z && (yield* Bn(e));
1891
1884
  }
1892
1885
  function* Bn(e) {
1893
- if (er(e)) {
1894
- for (let t of e.initial.postfix) Y(t) && (yield* W(t));
1895
- for (let t of e.filters) for (let e of t.args) zt(e) && e[1] ? yield* W(e[1]) : Y(e) && (yield* W(e));
1886
+ for (let t of e.initial.postfix) Y(t) && (yield* U(t));
1887
+ for (let t of e.filters) for (let e of t.args) zt(e) && e[1] ? yield* U(e[1]) : Y(e) && (yield* U(e));
1888
+ }
1889
+ function* U(e) {
1890
+ er(e) ? (yield* U(e.lhs), yield* U(e.rhs)) : tr(e) ? yield* Vn(e) : J(e) && (yield Hn(e));
1891
+ }
1892
+ function* Vn(e) {
1893
+ if (tr(e)) {
1894
+ for (let t of e.initial.postfix) Y(t) && (yield* U(t));
1895
+ for (let t of e.filters) for (let e of t.args) zt(e) && e[1] ? yield* U(e[1]) : Y(e) && (yield* U(e));
1896
1896
  }
1897
1897
  }
1898
- function Vn(e) {
1898
+ function Hn(e) {
1899
1899
  let t = [], n = e.file, r = e.props[0];
1900
- n ||= r.file, Yn(r) || Xn(r) || Qn(r) ? t.push(r.content) : Zn(r) && t.push(...Vn(r).segments);
1901
- for (let r of e.props.slice(1)) n ||= r.file, Yn(r) || Xn(r) || Qn(r) ? t.push(r.content) : Zn(r) && t.push(Vn(r));
1900
+ n ||= r.file, Xn(r) || Qn(r) || $n(r) ? t.push(r.content) : J(r) && t.push(...Hn(r).segments);
1901
+ for (let r of e.props.slice(1)) n ||= r.file, Xn(r) || Qn(r) || $n(r) ? t.push(r.content) : J(r) && t.push(Hn(r));
1902
1902
  let [i, a] = e.getPosition();
1903
- return new V(t, {
1903
+ return new B(t, {
1904
1904
  row: i,
1905
1905
  col: a,
1906
1906
  file: n
1907
1907
  });
1908
1908
  }
1909
- var Hn = /^[\u0080-\uFFFFa-zA-Z_][\u0080-\uFFFFa-zA-Z0-9_-]*$/;
1910
- function Un(e, t = !1) {
1909
+ var Un = /^[\u0080-\uFFFFa-zA-Z_][\u0080-\uFFFFa-zA-Z0-9_-]*$/;
1910
+ function Wn(e, t = !1) {
1911
1911
  let n = [], r = e[0];
1912
- a(r) && (!t || r.match(Hn) ? n.push(`${r}`) : n.push(`['${r}']`));
1913
- for (let t of e.slice(1)) t instanceof V ? n.push(`[${Un(t.segments)}]`) : a(t) ? t.match(Hn) ? n.push(`.${t}`) : n.push(`['${t}']`) : n.push(`[${t}]`);
1912
+ a(r) && (!t || r.match(Un) ? n.push(`${r}`) : n.push(`['${r}']`));
1913
+ for (let t of e.slice(1)) t instanceof B ? n.push(`[${Wn(t.segments)}]`) : a(t) ? t.match(Un) ? n.push(`.${t}`) : n.push(`['${t}']`) : n.push(`[${t}]`);
1914
1914
  return n.join("");
1915
1915
  }
1916
- var G;
1916
+ var W;
1917
1917
  (function(e) {
1918
1918
  e.Partials = "partials", e.Layouts = "layouts", e.Root = "root";
1919
- })(G ||= {});
1920
- var Wn = class {
1919
+ })(W ||= {});
1920
+ var Gn = class {
1921
1921
  constructor(e) {
1922
1922
  if (this.options = e, e.relativeReference) {
1923
1923
  let t = e.fs.sep;
1924
- w(t, "`fs.sep` is required for relative reference");
1924
+ C(t, "`fs.sep` is required for relative reference");
1925
1925
  let n = [
1926
1926
  "." + t,
1927
1927
  ".." + t,
@@ -1960,21 +1960,21 @@ var Wn = class {
1960
1960
  }
1961
1961
  dirname(e) {
1962
1962
  let t = this.options.fs;
1963
- return w(t.dirname, "`fs.dirname` is required for relative reference"), t.dirname(e);
1963
+ return C(t.dirname, "`fs.dirname` is required for relative reference"), t.dirname(e);
1964
1964
  }
1965
1965
  lookupError(e, t) {
1966
1966
  let n = /* @__PURE__ */ Error("ENOENT");
1967
1967
  return n.message = `ENOENT: Failed to lookup "${e}" in "${t}"`, n.code = "ENOENT", n;
1968
1968
  }
1969
- }, K = class {
1969
+ }, G = class {
1970
1970
  constructor(e) {
1971
- this.liquid = e, this.cache = this.liquid.options.cache, this.fs = this.liquid.options.fs, this.parseFile = this.cache ? this._parseFileCached : this._parseFile, this.loader = new Wn(this.liquid.options), this.parseLimit = new pt("parse length", e.options.parseLimit), this.readFile = Ke(this.fs.readFile?.bind(this.fs) || (() => D(this, void 0, void 0, function* () {
1971
+ this.liquid = e, this.cache = this.liquid.options.cache, this.fs = this.liquid.options.fs, this.parseFile = this.cache ? this._parseFileCached : this._parseFile, this.loader = new Gn(this.liquid.options), this.parseLimit = new pt("parse length", e.options.parseLimit), this.readFile = Ke(this.fs.readFile?.bind(this.fs) || (() => D(this, void 0, void 0, function* () {
1972
1972
  throw Error("readFile not implemented");
1973
1973
  })), this.fs.readFileSync?.bind(this.fs));
1974
1974
  }
1975
1975
  parse(e, t) {
1976
1976
  e = String(e), this.parseLimit.use(e.length);
1977
- let n = new L(e, this.liquid.options.operators, t, void 0, this.liquid.options.groupedExpressions).readTopLevelTokens(this.liquid.options);
1977
+ let n = new I(e, this.liquid.options.operators, t, void 0, this.liquid.options.groupedExpressions).readTopLevelTokens(this.liquid.options);
1978
1978
  return this.parseTokens(n);
1979
1979
  }
1980
1980
  parseTokens(e) {
@@ -1985,24 +1985,24 @@ var Wn = class {
1985
1985
  if (this.liquid.options.catchAllErrors) r.push(e);
1986
1986
  else throw e;
1987
1987
  }
1988
- if (r.length) throw new be(r);
1988
+ if (r.length) throw new Se(r);
1989
1989
  return n;
1990
1990
  }
1991
1991
  parseToken(e, t) {
1992
1992
  try {
1993
- if (J(e)) {
1993
+ if (q(e)) {
1994
1994
  let n = this.liquid.tags[e.name];
1995
- return w(n, `tag "${e.name}" not found`), new n(e, t, this.liquid, this);
1995
+ return C(n, `tag "${e.name}" not found`), new n(e, t, this.liquid, this);
1996
1996
  }
1997
- return Jn(e) ? new Mn(e, this.liquid) : new Nn(e);
1997
+ return Yn(e) ? new Nn(e, this.liquid) : new Pn(e);
1998
1998
  } catch (t) {
1999
- throw x.is(t) ? t : new ve(t, e);
1999
+ throw y.is(t) ? t : new be(t, e);
2000
2000
  }
2001
2001
  }
2002
2002
  parseStream(e) {
2003
- return new kn(e, (e, t) => this.parseToken(e, t));
2003
+ return new An(e, (e, t) => this.parseToken(e, t));
2004
2004
  }
2005
- *_parseFileCached(e, t, n = G.Root, r) {
2005
+ *_parseFileCached(e, t, n = W.Root, r) {
2006
2006
  let i = this.cache, a = this.loader.shouldLoadRelative(e) ? r + "," + e : n + ":" + e, o = yield i.read(a);
2007
2007
  if (o) return o;
2008
2008
  let s = this._parseFile(e, t, n, r), c = t ? yield s : O(s);
@@ -2013,46 +2013,49 @@ var Wn = class {
2013
2013
  throw i.remove(a), e;
2014
2014
  }
2015
2015
  }
2016
- *_parseFile(e, t, n = G.Root, r) {
2016
+ *_parseFile(e, t, n = W.Root, r) {
2017
2017
  let i = yield this.loader.lookup(e, n, t, r);
2018
2018
  return this.parse(yield this.readFile(!!t, i), i);
2019
2019
  }
2020
- }, q;
2020
+ }, K;
2021
2021
  (function(e) {
2022
2022
  e[e.Number = 1] = "Number", e[e.Literal = 2] = "Literal", e[e.Tag = 4] = "Tag", e[e.Output = 8] = "Output", e[e.HTML = 16] = "HTML", e[e.Filter = 32] = "Filter", e[e.Hash = 64] = "Hash", e[e.PropertyAccess = 128] = "PropertyAccess", e[e.Word = 256] = "Word", e[e.Range = 512] = "Range", e[e.Quoted = 1024] = "Quoted", e[e.Operator = 2048] = "Operator", e[e.FilteredValue = 4096] = "FilteredValue", e[e.GroupedExpression = 8192] = "GroupedExpression", e[e.Delimited = 12] = "Delimited";
2023
- })(q ||= {});
2024
- function Gn(e) {
2025
- return !!(X(e) & q.Delimited);
2026
- }
2023
+ })(K ||= {});
2027
2024
  function Kn(e) {
2028
- return X(e) === q.Operator;
2025
+ return !!(X(e) & K.Delimited);
2029
2026
  }
2030
2027
  function qn(e) {
2031
- return X(e) === q.HTML;
2028
+ return X(e) === K.Operator;
2032
2029
  }
2033
2030
  function Jn(e) {
2034
- return X(e) === q.Output;
2035
- }
2036
- function J(e) {
2037
- return X(e) === q.Tag;
2031
+ return X(e) === K.HTML;
2038
2032
  }
2039
2033
  function Yn(e) {
2040
- return X(e) === q.Quoted;
2034
+ return X(e) === K.Output;
2035
+ }
2036
+ function q(e) {
2037
+ return X(e) === K.Tag;
2041
2038
  }
2042
2039
  function Xn(e) {
2043
- return X(e) === q.Number;
2040
+ return X(e) === K.Quoted;
2044
2041
  }
2045
2042
  function Zn(e) {
2046
- return X(e) === q.PropertyAccess;
2043
+ return X(e) === K.Literal;
2047
2044
  }
2048
2045
  function Qn(e) {
2049
- return X(e) === q.Word;
2046
+ return X(e) === K.Number;
2047
+ }
2048
+ function J(e) {
2049
+ return X(e) === K.PropertyAccess;
2050
2050
  }
2051
2051
  function $n(e) {
2052
- return X(e) === q.Range;
2052
+ return X(e) === K.Word;
2053
2053
  }
2054
2054
  function er(e) {
2055
- return X(e) === q.FilteredValue;
2055
+ return X(e) === K.Range;
2056
+ }
2057
+ function tr(e) {
2058
+ return X(e) === K.FilteredValue;
2056
2059
  }
2057
2060
  function Y(e) {
2058
2061
  return (X(e) & 5763) > 0;
@@ -2060,13 +2063,29 @@ function Y(e) {
2060
2063
  function X(e) {
2061
2064
  return e ? e.kind : -1;
2062
2065
  }
2066
+ var nr = /*#__PURE__*/ Object.freeze({
2067
+ __proto__: null,
2068
+ isDelimitedToken: Kn,
2069
+ isOperatorToken: qn,
2070
+ isHTMLToken: Jn,
2071
+ isOutputToken: Yn,
2072
+ isTagToken: q,
2073
+ isQuotedToken: Xn,
2074
+ isLiteralToken: Zn,
2075
+ isNumberToken: Qn,
2076
+ isPropertyAccessToken: J,
2077
+ isWordToken: $n,
2078
+ isRangeToken: er,
2079
+ isFilteredValueToken: tr,
2080
+ isValueToken: Y
2081
+ });
2063
2082
  function Z(e) {
2064
2083
  let t = Object.create(null);
2065
2084
  return e && Object.assign(t, e), t;
2066
2085
  }
2067
2086
  var Q = class e {
2068
2087
  constructor(e = {}, t = F, n = {}, { memoryLimit: r, renderLimit: i, liquid: a } = {}) {
2069
- this.scopes = [Z()], this.registers = {}, this.breakCalled = !1, this.continueCalled = !1, this.sync = !!n.sync, this.opts = t, this.globals = n.globals ?? t.globals, this.environments = _(e) ? e : Object(e), this.strictVariables = n.strictVariables ?? this.opts.strictVariables, this.ownPropertyOnly = n.ownPropertyOnly ?? t.ownPropertyOnly, this.memoryLimit = r ?? new pt("memory alloc", n.memoryLimit ?? t.memoryLimit), this.renderLimit = i ?? new pt("template render", Lt().now() + (n.renderLimit ?? t.renderLimit)), this.liquid = a;
2088
+ this.scopes = [Z()], this.registers = {}, this.breakCalled = !1, this.continueCalled = !1, this.sync = !!n.sync, this.opts = t, this.globals = n.globals ?? t.globals, this.environments = se(e) ? e : Object(e), this.strictVariables = n.strictVariables ?? this.opts.strictVariables, this.ownPropertyOnly = n.ownPropertyOnly ?? t.ownPropertyOnly, this.memoryLimit = r ?? new pt("memory alloc", n.memoryLimit ?? t.memoryLimit), this.renderLimit = i ?? new pt("template render", Lt().now() + (n.renderLimit ?? t.renderLimit)), this.liquid = a;
2070
2089
  }
2071
2090
  getRegister(e, t = void 0) {
2072
2091
  return this.registers[e] = this.registers[e] || t;
@@ -2102,7 +2121,7 @@ var Q = class e {
2102
2121
  }
2103
2122
  *_getFromScope(e, t, n = this.strictVariables) {
2104
2123
  a(t) && (t = t.split("."));
2105
- for (let r = 0; r < t.length; r++) if (e = yield this.readProperty(e, t[r]), n && ne(e)) throw new Se(t.slice(0, r + 1).join("."));
2124
+ for (let r = 0; r < t.length; r++) if (e = yield this.readProperty(e, t[r]), n && ne(e)) throw new we(t.slice(0, r + 1).join("."));
2106
2125
  return e;
2107
2126
  }
2108
2127
  push(e) {
@@ -2136,20 +2155,20 @@ var Q = class e {
2136
2155
  readProperty(e, n) {
2137
2156
  if (e = te(e), n = p(n), h(e)) return e;
2138
2157
  if (g(e) && m(n)) return u(e, n, this.ownPropertyOnly);
2139
- let r = tr(e, n, this.ownPropertyOnly);
2140
- return r === void 0 && e instanceof t ? e.liquidMethodMissing(n, this) : o(r) ? r.call(e) : n === "size" ? ir(e) : n === "first" ? nr(e, this.ownPropertyOnly) : n === "last" ? rr(e, this.ownPropertyOnly) : r;
2158
+ let r = rr(e, n, this.ownPropertyOnly);
2159
+ return r === void 0 && e instanceof t ? e.liquidMethodMissing(n, this) : o(r) ? r.call(e) : n === "size" ? or(e) : n === "first" ? ir(e, this.ownPropertyOnly) : n === "last" ? ar(e, this.ownPropertyOnly) : r;
2141
2160
  }
2142
2161
  };
2143
- function tr(e, n, r) {
2162
+ function rr(e, n, r) {
2144
2163
  if (!r || i.call(e, n) || e instanceof t) return e[n];
2145
2164
  }
2146
- function nr(e, t) {
2147
- return g(e) ? u(e, 0, t) : tr(e, "first", t);
2165
+ function ir(e, t) {
2166
+ return g(e) ? u(e, 0, t) : rr(e, "first", t);
2148
2167
  }
2149
- function rr(e, t) {
2150
- return g(e) ? u(e, -1, t) : tr(e, "last", t);
2168
+ function ar(e, t) {
2169
+ return g(e) ? u(e, -1, t) : rr(e, "last", t);
2151
2170
  }
2152
- function ir(e) {
2171
+ function or(e) {
2153
2172
  if (i.call(e, "size") || e.size !== void 0) return e.size;
2154
2173
  if (g(e) || a(e)) return e.length;
2155
2174
  if (typeof e == "object") return Object.keys(e).length;
@@ -2158,80 +2177,80 @@ var $;
2158
2177
  (function(e) {
2159
2178
  e[e.OUTPUT = 0] = "OUTPUT", e[e.STORE = 1] = "STORE";
2160
2179
  })($ ||= {});
2161
- var ar = y(Math.abs), or = y(Math.max), sr = y(Math.min), cr = y(Math.ceil), lr = y((e, t, n = !1) => n ? Math.floor(e / t) : e / t), ur = y(Math.floor), dr = y((e, t) => e - t), fr = y((e, t) => e + t), pr = y((e, t) => (e % t + t) % t), mr = y((e, t) => e * t);
2162
- function hr(e, t = 0) {
2180
+ var sr = v(Math.abs), cr = v(Math.max), lr = v(Math.min), ur = v(Math.ceil), dr = v((e, t, n = !1) => n ? Math.floor(e / t) : e / t), fr = v(Math.floor), pr = v((e, t) => e - t), mr = v((e, t) => e + t), hr = v((e, t) => (e % t + t) % t), gr = v((e, t) => e * t);
2181
+ function _r(e, t = 0) {
2163
2182
  e = ee(e), t = ee(t);
2164
2183
  let n = 10 ** t, r = e * n * (1 + 2 ** -52);
2165
2184
  return Math.round(r) / n;
2166
2185
  }
2167
- var gr = /*#__PURE__*/ Object.freeze({
2186
+ var vr = /*#__PURE__*/ Object.freeze({
2168
2187
  __proto__: null,
2169
- abs: ar,
2170
- at_least: or,
2171
- at_most: sr,
2172
- ceil: cr,
2173
- divided_by: lr,
2174
- floor: ur,
2175
- minus: dr,
2176
- plus: fr,
2177
- modulo: pr,
2178
- times: mr,
2179
- round: hr
2180
- }), _r = (e) => decodeURIComponent(l(e).replace(/\+/g, " ")), vr = (e) => encodeURIComponent(l(e)).replace(/%20/g, "+"), yr = (e) => encodeURIComponent(l(e)).replace(/%20/g, "+").replace(/[!'()*]/g, (e) => "%" + e.charCodeAt(0).toString(16).toUpperCase()), br = (e) => encodeURI(l(e)).replace(/%5B/g, "[").replace(/%5D/g, "]"), xr = /[^\p{M}\p{L}\p{Nd}]+/gu, Sr = {
2188
+ abs: sr,
2189
+ at_least: cr,
2190
+ at_most: lr,
2191
+ ceil: ur,
2192
+ divided_by: dr,
2193
+ floor: fr,
2194
+ minus: pr,
2195
+ plus: mr,
2196
+ modulo: hr,
2197
+ times: gr,
2198
+ round: _r
2199
+ }), yr = (e) => decodeURIComponent(l(e).replace(/\+/g, " ")), br = (e) => encodeURIComponent(l(e)).replace(/%20/g, "+"), xr = (e) => encodeURIComponent(l(e)).replace(/%20/g, "+").replace(/[!'()*]/g, (e) => "%" + e.charCodeAt(0).toString(16).toUpperCase()), Sr = (e) => encodeURI(l(e)).replace(/%5B/g, "[").replace(/%5D/g, "]"), Cr = /[^\p{M}\p{L}\p{Nd}]+/gu, wr = {
2181
2200
  raw: /\s+/g,
2182
- default: xr,
2201
+ default: Cr,
2183
2202
  pretty: /[^\p{M}\p{L}\p{Nd}._~!$&'()+,;=@]+/gu,
2184
2203
  ascii: /[^A-Za-z0-9]+/g,
2185
- latin: xr,
2204
+ latin: Cr,
2186
2205
  none: null
2187
2206
  };
2188
- function Cr(e, t = "default", n = !1) {
2207
+ function Tr(e, t = "default", n = !1) {
2189
2208
  e = l(e);
2190
- let r = Sr[t];
2191
- return r && (t === "latin" && (e = wr(e)), e = e.replace(r, "-").replace(/^-|-$/g, "")), n ? e : e.toLowerCase();
2209
+ let r = wr[t];
2210
+ return r && (t === "latin" && (e = Er(e)), e = e.replace(r, "-").replace(/^-|-$/g, "")), n ? e : e.toLowerCase();
2192
2211
  }
2193
- function wr(e) {
2212
+ function Er(e) {
2194
2213
  return e.replace(/[àáâãäå]/g, "a").replace(/[æ]/g, "ae").replace(/[ç]/g, "c").replace(/[èéêë]/g, "e").replace(/[ìíîï]/g, "i").replace(/[ð]/g, "d").replace(/[ñ]/g, "n").replace(/[òóôõöø]/g, "o").replace(/[ùúûü]/g, "u").replace(/[ýÿ]/g, "y").replace(/[ß]/g, "ss").replace(/[œ]/g, "oe").replace(/[þ]/g, "th").replace(/[ẞ]/g, "SS").replace(/[Œ]/g, "OE").replace(/[Þ]/g, "TH");
2195
2214
  }
2196
- var Tr = /*#__PURE__*/ Object.freeze({
2215
+ var Dr = /*#__PURE__*/ Object.freeze({
2197
2216
  __proto__: null,
2198
- url_decode: _r,
2199
- url_encode: vr,
2200
- cgi_escape: yr,
2201
- uri_escape: br,
2202
- slugify: Cr
2203
- }), Er = he(function(e, t) {
2217
+ url_decode: yr,
2218
+ url_encode: br,
2219
+ cgi_escape: xr,
2220
+ uri_escape: Sr,
2221
+ slugify: Tr
2222
+ }), Or = ge(function(e, t) {
2204
2223
  let n = f(e), r = h(t) ? " " : l(t), i = r.length * Math.max(n.length - 1, 0);
2205
2224
  for (let e = 0; e < n.length; e++) i += String(n[e]).length;
2206
2225
  return this.context.memoryLimit.use(i), Array.prototype.join.call(n, r);
2207
- }), Dr = he(function(e) {
2226
+ }), kr = ge(function(e) {
2208
2227
  return re(e) ? u(e, -1, this.context.ownPropertyOnly) : "";
2209
- }), Or = he(function(e) {
2228
+ }), Ar = ge(function(e) {
2210
2229
  return re(e) ? u(e, 0, this.context.ownPropertyOnly) : "";
2211
- }), kr = he(function(e) {
2230
+ }), jr = ge(function(e) {
2212
2231
  let t = f(e);
2213
2232
  return this.context.memoryLimit.use(t.length), [...t].reverse();
2214
2233
  });
2215
- function* Ar(e, t, n) {
2234
+ function* Mr(e, t, n) {
2216
2235
  let r = [], i = f(e);
2217
2236
  this.context.memoryLimit.use(i.length);
2218
2237
  for (let e of i) r.push([e, t ? yield this.context._getFromScope(e, l(t).split("."), !1) : e]);
2219
2238
  return r.sort((e, t) => n(e[1], t[1])).map((e) => e[0]);
2220
2239
  }
2221
- function* jr(e, t) {
2222
- return yield* Ar.call(this, e, t, pe);
2240
+ function* Nr(e, t) {
2241
+ return yield* Mr.call(this, e, t, me);
2223
2242
  }
2224
- function* Mr(e, t) {
2225
- return yield* Ar.call(this, e, t, me);
2226
- }
2227
- var Nr = (e) => e && e.length || 0;
2228
2243
  function* Pr(e, t) {
2244
+ return yield* Mr.call(this, e, t, he);
2245
+ }
2246
+ var Fr = (e) => e && e.length || 0;
2247
+ function* Ir(e, t) {
2229
2248
  let n = [], r = f(e);
2230
2249
  this.context.memoryLimit.use(r.length);
2231
2250
  for (let e of r) n.push(yield this.context._getFromScope(e, l(t), !1));
2232
2251
  return n;
2233
2252
  }
2234
- function* Fr(e, t) {
2253
+ function* Lr(e, t) {
2235
2254
  let n = 0, r = f(e);
2236
2255
  for (let e of r) {
2237
2256
  let r = Number(t ? yield this.context._getFromScope(e, l(t), !1) : e);
@@ -2239,52 +2258,52 @@ function* Fr(e, t) {
2239
2258
  }
2240
2259
  return n;
2241
2260
  }
2242
- function Ir(e) {
2261
+ function Rr(e) {
2243
2262
  let t = f(e);
2244
2263
  return this.context.memoryLimit.use(t.length), Array.prototype.filter.call(t, (e) => !h(p(e)));
2245
2264
  }
2246
- function Lr(e, t = []) {
2265
+ function zr(e, t = []) {
2247
2266
  let n = f(e), r = f(t);
2248
2267
  return this.context.memoryLimit.use(n.length + r.length), Array.prototype.concat.call(n, r);
2249
2268
  }
2250
- function Rr(e, t) {
2251
- return Lr.call(this, e, [t]);
2269
+ function Br(e, t) {
2270
+ return zr.call(this, e, [t]);
2252
2271
  }
2253
- function zr(e, t) {
2272
+ function Vr(e, t) {
2254
2273
  let n = f(e);
2255
2274
  this.context.memoryLimit.use(n.length);
2256
2275
  let r = [...n];
2257
2276
  return r.unshift(t), r;
2258
2277
  }
2259
- function Br(e) {
2278
+ function Hr(e) {
2260
2279
  let t = f(e);
2261
2280
  this.context.memoryLimit.use(t.length);
2262
2281
  let n = [...t];
2263
2282
  return n.pop(), n;
2264
2283
  }
2265
- function Vr(e) {
2284
+ function Ur(e) {
2266
2285
  let t = f(e);
2267
2286
  this.context.memoryLimit.use(t.length);
2268
2287
  let n = [...t];
2269
2288
  return n.shift(), n;
2270
2289
  }
2271
- function Hr(e, t, n = 1) {
2290
+ function Wr(e, t, n = 1) {
2272
2291
  return e = p(e), h(e) ? [] : (g(e) || (e = l(e)), t = t < 0 ? e.length + t : t, t < 0 || n < 0 ? g(e) ? [] : "" : (this.context.memoryLimit.use(n), g(e) ? Array.prototype.slice.call(e, t, t + n) : String.prototype.slice.call(e, t, t + n)));
2273
2292
  }
2274
- function* Ur(e, t) {
2275
- return this.context.opts.jekyllWhere ? Fe.is(t) ? yield N(e, t) : g(e) ? yield Zt(e, t) : yield N(e, t) : t === void 0 ? M(e, this.context) : yield N(e, t);
2293
+ function* Gr(e, t) {
2294
+ return this.context.opts.jekyllWhere ? Fe.is(t) ? yield P(e, t) : g(e) ? yield Xt(e, t) : yield P(e, t) : t === void 0 ? M(e, this.context) : yield P(e, t);
2276
2295
  }
2277
- function* Wr(e, t, n, r) {
2296
+ function* Kr(e, t, n, r) {
2278
2297
  t = f(t), this.context.memoryLimit.use(t.length);
2279
- let i = new L(l(n)).readScopeValue(), a = [];
2298
+ let i = new I(l(n)).readScopeValue(), a = [];
2280
2299
  for (let n of t) {
2281
2300
  let t = yield j(i, this.context.spawn(n));
2282
- (yield Ur.call(this, t, r)) === e && a.push(n);
2301
+ (yield Gr.call(this, t, r)) === e && a.push(n);
2283
2302
  }
2284
2303
  return a;
2285
2304
  }
2286
- function* Gr(e, t, n, r) {
2287
- let i = [], a = new B(l(r), this.liquid), o = f(t);
2305
+ function* qr(e, t, n, r) {
2306
+ let i = [], a = new z(l(r), this.liquid), o = f(t);
2288
2307
  this.context.memoryLimit.use(o.length);
2289
2308
  for (let t of o) {
2290
2309
  this.context.push({ [n]: t });
@@ -2293,22 +2312,22 @@ function* Gr(e, t, n, r) {
2293
2312
  }
2294
2313
  return i;
2295
2314
  }
2296
- function* Kr(e, t, n) {
2297
- return yield* Wr.call(this, !0, e, t, n);
2298
- }
2299
- function* qr(e, t, n) {
2300
- return yield* Wr.call(this, !1, e, t, n);
2301
- }
2302
2315
  function* Jr(e, t, n) {
2303
- return yield* Gr.call(this, !0, e, t, n);
2316
+ return yield* Kr.call(this, !0, e, t, n);
2304
2317
  }
2305
2318
  function* Yr(e, t, n) {
2306
- return yield* Gr.call(this, !1, e, t, n);
2319
+ return yield* Kr.call(this, !1, e, t, n);
2320
+ }
2321
+ function* Xr(e, t, n) {
2322
+ return yield* qr.call(this, !0, e, t, n);
2307
2323
  }
2308
- function* Xr(e, t) {
2324
+ function* Zr(e, t, n) {
2325
+ return yield* qr.call(this, !1, e, t, n);
2326
+ }
2327
+ function* Qr(e, t) {
2309
2328
  let n = /* @__PURE__ */ new Map();
2310
2329
  e = d(e);
2311
- let r = new L(l(t)).readScopeValue();
2330
+ let r = new I(l(t)).readScopeValue();
2312
2331
  this.context.memoryLimit.use(e.length);
2313
2332
  for (let t of e) {
2314
2333
  let e = yield j(r, this.context.spawn(t));
@@ -2319,8 +2338,8 @@ function* Xr(e, t) {
2319
2338
  items: t
2320
2339
  }));
2321
2340
  }
2322
- function* Zr(e, t, n) {
2323
- let r = /* @__PURE__ */ new Map(), i = new B(l(n), this.liquid);
2341
+ function* $r(e, t, n) {
2342
+ let r = /* @__PURE__ */ new Map(), i = new z(l(n), this.liquid);
2324
2343
  e = d(e), this.context.memoryLimit.use(e.length);
2325
2344
  for (let n of e) {
2326
2345
  this.context.push({ [t]: n });
@@ -2332,105 +2351,105 @@ function* Zr(e, t, n) {
2332
2351
  items: t
2333
2352
  }));
2334
2353
  }
2335
- function* Qr(e, t, n) {
2336
- let r = new L(l(t)).readScopeValue(), i = f(e);
2354
+ function* ei(e, t, n) {
2355
+ let r = new I(l(t)).readScopeValue(), i = f(e);
2337
2356
  for (let e = 0; e < i.length; e++) {
2338
2357
  let t = yield j(r, this.context.spawn(i[e]));
2339
- if (yield Ur.call(this, t, n)) return [e, i[e]];
2358
+ if (yield Gr.call(this, t, n)) return [e, i[e]];
2340
2359
  }
2341
2360
  }
2342
- function* $r(e, t, n) {
2343
- let r = new B(l(n), this.liquid), i = f(e);
2361
+ function* ti(e, t, n) {
2362
+ let r = new z(l(n), this.liquid), i = f(e);
2344
2363
  for (let e = 0; e < i.length; e++) {
2345
2364
  this.context.push({ [t]: i[e] });
2346
2365
  let n = yield r.value(this.context);
2347
2366
  if (this.context.pop(), n) return [e, i[e]];
2348
2367
  }
2349
2368
  }
2350
- function* ei(e, t, n) {
2351
- return !!(yield* Qr.call(this, e, t, n));
2369
+ function* ni(e, t, n) {
2370
+ return !!(yield* ei.call(this, e, t, n));
2352
2371
  }
2353
- function* ti(e, t, n) {
2354
- return !!(yield* $r.call(this, e, t, n));
2372
+ function* ri(e, t, n) {
2373
+ return !!(yield* ti.call(this, e, t, n));
2355
2374
  }
2356
- function* ni(e, t, n) {
2357
- let r = yield* Qr.call(this, e, t, n);
2375
+ function* ii(e, t, n) {
2376
+ let r = yield* ei.call(this, e, t, n);
2358
2377
  return r ? r[0] : void 0;
2359
2378
  }
2360
- function* ri(e, t, n) {
2361
- let r = yield* $r.call(this, e, t, n);
2379
+ function* ai(e, t, n) {
2380
+ let r = yield* ti.call(this, e, t, n);
2362
2381
  return r ? r[0] : void 0;
2363
2382
  }
2364
- function* ii(e, t, n) {
2365
- let r = yield* Qr.call(this, e, t, n);
2383
+ function* oi(e, t, n) {
2384
+ let r = yield* ei.call(this, e, t, n);
2366
2385
  return r ? r[1] : void 0;
2367
2386
  }
2368
- function* ai(e, t, n) {
2369
- let r = yield* $r.call(this, e, t, n);
2387
+ function* si(e, t, n) {
2388
+ let r = yield* ti.call(this, e, t, n);
2370
2389
  return r ? r[1] : void 0;
2371
2390
  }
2372
- function oi(e) {
2391
+ function ci(e) {
2373
2392
  return e = f(e), this.context.memoryLimit.use(e.length), [...new Set(e)];
2374
2393
  }
2375
- function si(e, t = 1) {
2394
+ function li(e, t = 1) {
2376
2395
  if (e = p(e), h(e)) return [];
2377
2396
  g(e) || (e = l(e)), this.context.memoryLimit.use(e.length);
2378
2397
  let n = [...e].sort(() => Math.random() - .5);
2379
2398
  return t === 1 ? n[0] : n.slice(0, t);
2380
2399
  }
2381
- var ci = /*#__PURE__*/ Object.freeze({
2400
+ var ui = /*#__PURE__*/ Object.freeze({
2382
2401
  __proto__: null,
2383
- join: Er,
2384
- last: Dr,
2385
- first: Or,
2386
- reverse: kr,
2387
- sort: jr,
2388
- sort_natural: Mr,
2389
- size: Nr,
2390
- map: Pr,
2391
- sum: Fr,
2392
- compact: Ir,
2393
- concat: Lr,
2394
- push: Rr,
2395
- unshift: zr,
2396
- pop: Br,
2397
- shift: Vr,
2398
- slice: Hr,
2399
- where: Kr,
2400
- reject: qr,
2401
- where_exp: Jr,
2402
- reject_exp: Yr,
2403
- group_by: Xr,
2404
- group_by_exp: Zr,
2405
- has: ei,
2406
- has_exp: ti,
2407
- find_index: ni,
2408
- find_index_exp: ri,
2409
- find: ii,
2410
- find_exp: ai,
2411
- uniq: oi,
2412
- sample: si
2402
+ join: Or,
2403
+ last: kr,
2404
+ first: Ar,
2405
+ reverse: jr,
2406
+ sort: Nr,
2407
+ sort_natural: Pr,
2408
+ size: Fr,
2409
+ map: Ir,
2410
+ sum: Lr,
2411
+ compact: Rr,
2412
+ concat: zr,
2413
+ push: Br,
2414
+ unshift: Vr,
2415
+ pop: Hr,
2416
+ shift: Ur,
2417
+ slice: Wr,
2418
+ where: Jr,
2419
+ reject: Yr,
2420
+ where_exp: Xr,
2421
+ reject_exp: Zr,
2422
+ group_by: Qr,
2423
+ group_by_exp: $r,
2424
+ has: ni,
2425
+ has_exp: ri,
2426
+ find_index: ii,
2427
+ find_index_exp: ai,
2428
+ find: oi,
2429
+ find_exp: si,
2430
+ uniq: ci,
2431
+ sample: li
2413
2432
  });
2414
- function li(e, t, n) {
2433
+ function di(e, t, n) {
2415
2434
  let r = (e?.length ?? 0) + (n?.length ?? 0);
2416
2435
  this.context.memoryLimit.use(r);
2417
- let i = hi(e, this.context.opts, n);
2436
+ let i = _i(e, this.context.opts, n);
2418
2437
  return i ? (t = p(t), t = h(t) ? this.context.opts.dateFormat : l(t), this.context.memoryLimit.use(t.length), it(i, t, this.context.memoryLimit)) : e;
2419
2438
  }
2420
- function ui(e) {
2421
- return li.call(this, e, "%Y-%m-%dT%H:%M:%S%:z");
2439
+ function fi(e) {
2440
+ return di.call(this, e, "%Y-%m-%dT%H:%M:%S%:z");
2422
2441
  }
2423
- function di(e) {
2424
- return li.call(this, e, "%a, %d %b %Y %H:%M:%S %z");
2442
+ function pi(e) {
2443
+ return di.call(this, e, "%a, %d %b %Y %H:%M:%S %z");
2425
2444
  }
2426
- function fi(e, t, n) {
2427
- return mi.call(this, e, "%b", t, n);
2445
+ function mi(e, t, n) {
2446
+ return gi.call(this, e, "%b", t, n);
2428
2447
  }
2429
- function pi(e, t, n) {
2430
- return mi.call(this, e, "%B", t, n);
2448
+ function hi(e, t, n) {
2449
+ return gi.call(this, e, "%B", t, n);
2431
2450
  }
2432
- function mi(e, t, n, r) {
2433
- let i = hi(e, this.context.opts);
2451
+ function gi(e, t, n, r) {
2452
+ let i = _i(e, this.context.opts);
2434
2453
  if (!i) return e;
2435
2454
  let a = this.context.memoryLimit;
2436
2455
  if (n === "ordinal") {
@@ -2439,29 +2458,29 @@ function mi(e, t, n, r) {
2439
2458
  }
2440
2459
  return it(i, `%d ${t} %Y`, a);
2441
2460
  }
2442
- function hi(e, t, n) {
2461
+ function _i(e, t, n) {
2443
2462
  let r, i = n ?? t.timezoneOffset, o = t.locale;
2444
2463
  if (e = p(e), !h(e)) return r = e === "now" || e === "today" ? new A(Date.now(), o, i) : m(e) ? new A(e * 1e3, o, i) : a(e) ? /^\d+$/.test(e) ? new A(e * 1e3, o, i) : t.preserveTimezones && n === void 0 ? A.createDateFixedToTimezone(e, o) : new A(e, o, i) : new A(e, o, i), r.valid() ? r : void 0;
2445
2464
  }
2446
- var gi = /*#__PURE__*/ Object.freeze({
2465
+ var vi = /*#__PURE__*/ Object.freeze({
2447
2466
  __proto__: null,
2448
- date: li,
2449
- date_to_xmlschema: ui,
2450
- date_to_rfc822: di,
2451
- date_to_string: fi,
2452
- date_to_long_string: pi
2453
- }), _i = /[\u4E00-\u9FFF\uF900-\uFAFF\u3400-\u4DBF\u3040-\u309F\u30A0-\u30FF\uAC00-\uD7AF]/gu, vi = /[^\u4E00-\u9FFF\uF900-\uFAFF\u3400-\u4DBF\u3040-\u309F\u30A0-\u30FF\uAC00-\uD7AF\s]+/gu;
2454
- function yi(e, t) {
2455
- w(arguments.length === 2, "append expect 2 arguments");
2467
+ date: di,
2468
+ date_to_xmlschema: fi,
2469
+ date_to_rfc822: pi,
2470
+ date_to_string: mi,
2471
+ date_to_long_string: hi
2472
+ }), yi = /[\u4E00-\u9FFF\uF900-\uFAFF\u3400-\u4DBF\u3040-\u309F\u30A0-\u30FF\uAC00-\uD7AF]/gu, bi = /[^\u4E00-\u9FFF\uF900-\uFAFF\u3400-\u4DBF\u3040-\u309F\u30A0-\u30FF\uAC00-\uD7AF\s]+/gu;
2473
+ function xi(e, t) {
2474
+ C(arguments.length === 2, "append expect 2 arguments");
2456
2475
  let n = l(e), r = l(t);
2457
2476
  return this.context.memoryLimit.use(n.length + r.length), n + r;
2458
2477
  }
2459
- function bi(e, t) {
2460
- w(arguments.length === 2, "prepend expect 2 arguments");
2478
+ function Si(e, t) {
2479
+ C(arguments.length === 2, "prepend expect 2 arguments");
2461
2480
  let n = l(e), r = l(t);
2462
2481
  return this.context.memoryLimit.use(n.length + r.length), r + n;
2463
2482
  }
2464
- function xi(e, t) {
2483
+ function Ci(e, t) {
2465
2484
  let n = 0;
2466
2485
  for (let r of e) {
2467
2486
  if (!t.has(r)) break;
@@ -2469,7 +2488,7 @@ function xi(e, t) {
2469
2488
  }
2470
2489
  return n;
2471
2490
  }
2472
- function Si(e, t, n = 0) {
2491
+ function wi(e, t, n = 0) {
2473
2492
  let r = e.length;
2474
2493
  for (; r > n;) {
2475
2494
  let i = r - n >= 2 && e.codePointAt(r - 2) > 65535 ? 2 : 1;
@@ -2478,84 +2497,84 @@ function Si(e, t, n = 0) {
2478
2497
  }
2479
2498
  return r;
2480
2499
  }
2481
- function Ci(e, t) {
2500
+ function Ti(e, t) {
2482
2501
  let n = l(e);
2483
- return this.context.memoryLimit.use(n.length), t ? (t = l(t), this.context.memoryLimit.use(t.length), n.slice(xi(n, new Set(t)))) : n.trimStart();
2502
+ return this.context.memoryLimit.use(n.length), t ? (t = l(t), this.context.memoryLimit.use(t.length), n.slice(Ci(n, new Set(t)))) : n.trimStart();
2484
2503
  }
2485
- function wi(e) {
2504
+ function Ei(e) {
2486
2505
  let t = l(e);
2487
2506
  return this.context.memoryLimit.use(t.length), t.toLowerCase();
2488
2507
  }
2489
- function Ti(e) {
2508
+ function Di(e) {
2490
2509
  let t = l(e);
2491
2510
  return this.context.memoryLimit.use(t.length), l(t).toUpperCase();
2492
2511
  }
2493
- function Ei(e, t) {
2512
+ function Oi(e, t) {
2494
2513
  let n = l(e);
2495
2514
  return t = l(t), this.context.memoryLimit.use(n.length + t.length), n.split(t).join("");
2496
2515
  }
2497
- function Di(e, t) {
2516
+ function ki(e, t) {
2498
2517
  let n = l(e);
2499
2518
  return t = l(t), this.context.memoryLimit.use(n.length + t.length), n.replace(t, "");
2500
2519
  }
2501
- function Oi(e, t) {
2520
+ function Ai(e, t) {
2502
2521
  let n = l(e), r = l(t);
2503
2522
  this.context.memoryLimit.use(n.length + r.length);
2504
2523
  let i = n.lastIndexOf(r);
2505
2524
  return i === -1 ? n : n.substring(0, i) + n.substring(i + r.length);
2506
2525
  }
2507
- function ki(e, t) {
2508
- return e = l(e), this.context.memoryLimit.use(e.length), t ? (t = l(t), this.context.memoryLimit.use(t.length), e.slice(0, Si(e, new Set(t)))) : e.trimEnd();
2526
+ function ji(e, t) {
2527
+ return e = l(e), this.context.memoryLimit.use(e.length), t ? (t = l(t), this.context.memoryLimit.use(t.length), e.slice(0, wi(e, new Set(t)))) : e.trimEnd();
2509
2528
  }
2510
- function Ai(e, t) {
2529
+ function Mi(e, t) {
2511
2530
  let n = l(e);
2512
2531
  this.context.memoryLimit.use(n.length);
2513
2532
  let r = n.split(l(t));
2514
2533
  for (; r.length && r[r.length - 1] === "";) r.pop();
2515
2534
  return r;
2516
2535
  }
2517
- function ji(e, t) {
2536
+ function Ni(e, t) {
2518
2537
  let n = l(e);
2519
2538
  if (this.context.memoryLimit.use(n.length), t) {
2520
2539
  let e = new Set(l(t));
2521
2540
  this.context.memoryLimit.use(e.size);
2522
- let r = xi(n, e);
2523
- return n.slice(r, Si(n, e, r));
2541
+ let r = Ci(n, e);
2542
+ return n.slice(r, wi(n, e, r));
2524
2543
  }
2525
2544
  return n.trim();
2526
2545
  }
2527
- function Mi(e) {
2546
+ function Pi(e) {
2528
2547
  let t = l(e);
2529
2548
  return this.context.memoryLimit.use(t.length), t.replace(/\r?\n/gm, "");
2530
2549
  }
2531
- function Ni(e) {
2550
+ function Fi(e) {
2532
2551
  let t = l(e);
2533
2552
  return this.context.memoryLimit.use(t.length), t.replace(/\s+/g, " ").trim();
2534
2553
  }
2535
- function Pi(e) {
2554
+ function Ii(e) {
2536
2555
  return e = l(e), this.context.memoryLimit.use(e.length), e.charAt(0).toUpperCase() + e.slice(1).toLowerCase();
2537
2556
  }
2538
- function Fi(e, t, n) {
2557
+ function Li(e, t, n) {
2539
2558
  let r = l(e);
2540
2559
  t = l(t), n = l(n);
2541
2560
  let i = r.split(t), a = r.length + (i.length - 1) * (n.length - t.length);
2542
2561
  return this.context.memoryLimit.use(a), i.join(n);
2543
2562
  }
2544
- function Ii(e, t, n) {
2563
+ function Ri(e, t, n) {
2545
2564
  let r = l(e);
2546
2565
  return t = l(t), n = l(n), this.context.memoryLimit.use(r.length + t.length + n.length), r.replace(t, () => n);
2547
2566
  }
2548
- function Li(e, t, n) {
2567
+ function zi(e, t, n) {
2549
2568
  let r = l(e), i = l(t), a = l(n);
2550
2569
  this.context.memoryLimit.use(r.length + i.length + a.length);
2551
2570
  let o = r.lastIndexOf(i);
2552
2571
  return o === -1 ? r : r.substring(0, o) + a + r.substring(o + i.length);
2553
2572
  }
2554
- function Ri(e, t = 50, n = "...") {
2573
+ function Bi(e, t = 50, n = "...") {
2555
2574
  let r = l(e);
2556
2575
  return n = l(n), this.context.memoryLimit.use(r.length + n.length), r.length <= t ? e : r.substring(0, t - n.length) + n;
2557
2576
  }
2558
- function zi(e, t = 15, n = "...") {
2577
+ function Vi(e, t = 15, n = "...") {
2559
2578
  let r = l(e);
2560
2579
  n = l(n), this.context.memoryLimit.use(r.length + n.length);
2561
2580
  let i = r.trimStart().split(/\s+/);
@@ -2563,20 +2582,20 @@ function zi(e, t = 15, n = "...") {
2563
2582
  let a = i.slice(0, t).join(" ");
2564
2583
  return i.length >= t && (a += n), a;
2565
2584
  }
2566
- function Bi(e) {
2585
+ function Hi(e) {
2567
2586
  let t = l(e);
2568
2587
  return this.context.memoryLimit.use(t.length), t.replace(/\s+/g, " ");
2569
2588
  }
2570
- function Vi(e, t) {
2589
+ function Ui(e, t) {
2571
2590
  let n = l(e);
2572
2591
  if (this.context.memoryLimit.use(n.length), e = n.trim(), !e) return 0;
2573
2592
  switch (t) {
2574
- case "cjk": return (e.match(_i) || []).length + (e.match(vi) || []).length;
2575
- case "auto": return _i.test(e) ? e.match(_i).length + (e.match(vi) || []).length : e.split(/\s+/).length;
2593
+ case "cjk": return (e.match(yi) || []).length + (e.match(bi) || []).length;
2594
+ case "auto": return yi.test(e) ? e.match(yi).length + (e.match(bi) || []).length : e.split(/\s+/).length;
2576
2595
  default: return e.split(/\s+/).length;
2577
2596
  }
2578
2597
  }
2579
- function Hi(e, t = "and") {
2598
+ function Wi(e, t = "and") {
2580
2599
  t = l(t);
2581
2600
  let n = t.length + e.length * 2;
2582
2601
  for (let t = 0; t < e.length; t++) n += l(e[t]).length;
@@ -2587,88 +2606,88 @@ function Hi(e, t = "and") {
2587
2606
  default: return `${e.slice(0, -1).join(", ")}, ${t} ${e[e.length - 1]}`;
2588
2607
  }
2589
2608
  }
2590
- var Ui = /*#__PURE__*/ Object.freeze({
2609
+ var Gi = /*#__PURE__*/ Object.freeze({
2591
2610
  __proto__: null,
2592
- append: yi,
2593
- prepend: bi,
2594
- lstrip: Ci,
2595
- downcase: wi,
2596
- upcase: Ti,
2597
- remove: Ei,
2598
- remove_first: Di,
2599
- remove_last: Oi,
2600
- rstrip: ki,
2601
- split: Ai,
2602
- strip: ji,
2603
- strip_newlines: Mi,
2604
- squish: Ni,
2605
- capitalize: Pi,
2606
- replace: Fi,
2607
- replace_first: Ii,
2608
- replace_last: Li,
2609
- truncate: Ri,
2610
- truncatewords: zi,
2611
- normalize_whitespace: Bi,
2612
- number_of_words: Vi,
2613
- array_to_sentence_string: Hi
2611
+ append: xi,
2612
+ prepend: Si,
2613
+ lstrip: Ti,
2614
+ downcase: Ei,
2615
+ upcase: Di,
2616
+ remove: Oi,
2617
+ remove_first: ki,
2618
+ remove_last: Ai,
2619
+ rstrip: ji,
2620
+ split: Mi,
2621
+ strip: Ni,
2622
+ strip_newlines: Pi,
2623
+ squish: Fi,
2624
+ capitalize: Ii,
2625
+ replace: Li,
2626
+ replace_first: Ri,
2627
+ replace_last: zi,
2628
+ truncate: Bi,
2629
+ truncatewords: Vi,
2630
+ normalize_whitespace: Hi,
2631
+ number_of_words: Ui,
2632
+ array_to_sentence_string: Wi
2614
2633
  });
2615
- function Wi(e) {
2634
+ function Ki(e) {
2616
2635
  let t = new TextEncoder().encode(e), n = "";
2617
2636
  for (let e = 0; e < t.length; e += 32768) n += String.fromCharCode(...t.subarray(e, e + 32768));
2618
2637
  return btoa(n);
2619
2638
  }
2620
- function Gi(e) {
2639
+ function qi(e) {
2621
2640
  return new TextDecoder().decode(Uint8Array.from(atob(e), (e) => e.charCodeAt(0)));
2622
2641
  }
2623
- function Ki(e) {
2642
+ function Ji(e) {
2624
2643
  if (typeof Buffer < "u" && Buffer.isBuffer(e)) return this.context.memoryLimit.use(e.byteLength), e.toString("base64");
2625
2644
  let t = l(e);
2626
- return this.context.memoryLimit.use(t.length), Wi(t);
2645
+ return this.context.memoryLimit.use(t.length), Ki(t);
2627
2646
  }
2628
- function qi(e) {
2647
+ function Yi(e) {
2629
2648
  let t = l(e);
2630
- return this.context.memoryLimit.use(t.length), Gi(t);
2649
+ return this.context.memoryLimit.use(t.length), qi(t);
2631
2650
  }
2632
- var Ji = /*#__PURE__*/ Object.freeze({
2651
+ var Xi = /*#__PURE__*/ Object.freeze({
2633
2652
  __proto__: null,
2634
- base64_encode: Ki,
2635
- base64_decode: qi
2653
+ base64_encode: Ji,
2654
+ base64_decode: Yi
2636
2655
  });
2637
- function Yi(e) {
2656
+ function Zi(e) {
2638
2657
  let t = new Uint8Array(e), n = "";
2639
2658
  for (let e = 0; e < t.length; e++) n += t[e].toString(16).padStart(2, "0");
2640
2659
  return n;
2641
2660
  }
2642
- function Xi(e) {
2661
+ function Qi(e) {
2643
2662
  return D(this, void 0, void 0, function* () {
2644
2663
  let t = new TextEncoder().encode(e);
2645
- return Yi(yield crypto.subtle.digest("SHA-256", t));
2664
+ return Zi(yield crypto.subtle.digest("SHA-256", t));
2646
2665
  });
2647
2666
  }
2648
- function Zi(e, t) {
2667
+ function $i(e, t) {
2649
2668
  return D(this, void 0, void 0, function* () {
2650
2669
  let n = new TextEncoder(), r = yield crypto.subtle.importKey("raw", n.encode(t), {
2651
2670
  name: "HMAC",
2652
2671
  hash: "SHA-256"
2653
2672
  }, !1, ["sign"]);
2654
- return Yi(yield crypto.subtle.sign("HMAC", r, n.encode(e)));
2673
+ return Zi(yield crypto.subtle.sign("HMAC", r, n.encode(e)));
2655
2674
  });
2656
2675
  }
2657
- function Qi(e) {
2676
+ function ea(e) {
2658
2677
  let t = l(e);
2659
- return this.context.memoryLimit.use(t.length), Xi(t);
2678
+ return this.context.memoryLimit.use(t.length), Qi(t);
2660
2679
  }
2661
- function $i(e, t) {
2680
+ function ta(e, t) {
2662
2681
  let n = l(e), r = l(t);
2663
- return this.context.memoryLimit.use(n.length + r.length), Zi(n, r);
2682
+ return this.context.memoryLimit.use(n.length + r.length), $i(n, r);
2664
2683
  }
2665
- var ea = /*#__PURE__*/ Object.freeze({
2684
+ var na = /*#__PURE__*/ Object.freeze({
2666
2685
  __proto__: null,
2667
- sha256: Qi,
2668
- hmac_sha256: $i
2669
- }), ta = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Sn), gr), Tr), ci), gi), Ui), Ji), ea), mn), na = class extends R {
2686
+ sha256: ea,
2687
+ hmac_sha256: ta
2688
+ }), ra = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Sn), vr), Dr), ui), vi), Gi), Xi), na), pn), ia = class extends L {
2670
2689
  constructor(e, t, n) {
2671
- super(e, t, n), this.identifier = this.tokenizer.readIdentifier(), this.key = this.identifier.content, this.tokenizer.assert(this.key, "expected variable name"), this.tokenizer.skipBlank(), this.tokenizer.assert(this.tokenizer.peek() === "=", "expected \"=\""), this.tokenizer.advance(), this.value = new B(this.tokenizer.readFilteredValue(), this.liquid);
2690
+ super(e, t, n), this.identifier = this.tokenizer.readIdentifier(), this.key = this.identifier.content, this.tokenizer.assert(this.key, "expected variable name"), this.tokenizer.skipBlank(), this.tokenizer.assert(this.tokenizer.peek() === "=", "expected \"=\""), this.tokenizer.advance(), this.value = new z(this.tokenizer.readFilteredValue(), this.liquid);
2672
2691
  }
2673
2692
  *render(e) {
2674
2693
  e.bottom()[this.key] = yield this.value.value(e, this.liquid.options.lenientIf);
@@ -2679,20 +2698,20 @@ var ea = /*#__PURE__*/ Object.freeze({
2679
2698
  *localScope() {
2680
2699
  yield this.identifier;
2681
2700
  }
2682
- }, ra = [
2701
+ }, aa = [
2683
2702
  "offset",
2684
2703
  "limit",
2685
2704
  "reversed"
2686
- ], ia = class extends R {
2705
+ ], oa = class extends L {
2687
2706
  constructor(e, t, n, r) {
2688
2707
  super(e, t, n);
2689
2708
  let i = this.tokenizer.readIdentifier(), a = this.tokenizer.readIdentifier(), o = this.tokenizer.readValue();
2690
2709
  if (!i.size() || a.content !== "in" || !o) throw Error(`illegal tag: ${e.getText()}`);
2691
- this.variable = i.content, this.collection = o, this.hash = new z(this.tokenizer, n.options.keyValueSeparator), this.templates = [], this.elseTemplates = [];
2710
+ this.variable = i.content, this.collection = o, this.hash = new R(this.tokenizer, n.options.keyValueSeparator), this.templates = [], this.elseTemplates = [];
2692
2711
  let s, c = r.parseStream(t).on("start", () => s = this.templates).on("tag:else", (e) => {
2693
- Ne(e.args), s = this.elseTemplates;
2712
+ w(e.args), s = this.elseTemplates;
2694
2713
  }).on("tag:endfor", (e) => {
2695
- Ne(e.args), c.stop();
2714
+ w(e.args), c.stop();
2696
2715
  }).on("template", (e) => s.push(e)).on("end", () => {
2697
2716
  throw Error(`tag ${e.getText()} not closed`);
2698
2717
  });
@@ -2707,7 +2726,7 @@ var ea = /*#__PURE__*/ Object.freeze({
2707
2726
  let i = "continue-" + this.variable + "-" + this.collection.getText();
2708
2727
  e.push(Z({ continue: e.getRegister(i, {}) }));
2709
2728
  let a = yield this.hash.render(e);
2710
- e.pop(), r = (this.liquid.options.orderedFilterParameters ? Object.keys(a).filter((e) => ra.includes(e)) : ra.filter((e) => a[e] !== void 0)).reduce((e, t) => t === "offset" ? oa(e, a.offset) : t === "limit" ? sa(e, a.limit) : aa(e), r), e.setRegister(i, (a.offset || 0) + r.length);
2729
+ e.pop(), r = (this.liquid.options.orderedFilterParameters ? Object.keys(a).filter((e) => aa.includes(e)) : aa.filter((e) => a[e] !== void 0)).reduce((e, t) => t === "offset" ? ca(e, a.offset) : t === "limit" ? la(e, a.limit) : sa(e), r), e.setRegister(i, (a.offset || 0) + r.length);
2711
2730
  let o = Z({ forloop: new Le(r.length, this.collection.getText(), this.variable) });
2712
2731
  e.push(o);
2713
2732
  for (let i of r) {
@@ -2728,20 +2747,20 @@ var ea = /*#__PURE__*/ Object.freeze({
2728
2747
  return [this.variable, "forloop"];
2729
2748
  }
2730
2749
  };
2731
- function aa(e) {
2750
+ function sa(e) {
2732
2751
  return [...e].reverse();
2733
2752
  }
2734
- function oa(e, t) {
2753
+ function ca(e, t) {
2735
2754
  return e.slice(t);
2736
2755
  }
2737
- function sa(e, t) {
2756
+ function la(e, t) {
2738
2757
  return e.slice(0, t);
2739
2758
  }
2740
- var ca = class extends R {
2759
+ var ua = class extends L {
2741
2760
  constructor(e, t, n, r) {
2742
2761
  for (super(e, t, n), this.templates = [], this.identifier = this.readVariable(), this.variable = this.identifier.content; t.length;) {
2743
2762
  let e = t.shift();
2744
- if (J(e) && e.name === "endcapture") return;
2763
+ if (q(e) && e.name === "endcapture") return;
2745
2764
  this.templates.push(r.parseToken(e, t));
2746
2765
  }
2747
2766
  throw Error(`tag ${e.getText()} not closed`);
@@ -2761,9 +2780,9 @@ var ca = class extends R {
2761
2780
  *localScope() {
2762
2781
  yield this.identifier;
2763
2782
  }
2764
- }, la = class extends R {
2783
+ }, da = class extends L {
2765
2784
  constructor(e, t, n, r) {
2766
- super(e, t, n), this.branches = [], this.elseTemplates = [], this.value = new B(this.tokenizer.readFilteredValue(), this.liquid), this.elseTemplates = [];
2785
+ super(e, t, n), this.branches = [], this.elseTemplates = [], this.value = new z(this.tokenizer.readFilteredValue(), this.liquid), this.elseTemplates = [];
2767
2786
  let i = [], a = 0, o = r.parseStream(t).on("tag:when", (e) => {
2768
2787
  if (a > 0) return;
2769
2788
  i = [];
@@ -2784,7 +2803,7 @@ var ca = class extends R {
2784
2803
  }
2785
2804
  *render(e, t) {
2786
2805
  let n = this.liquid.renderer, r = yield p(yield this.value.value(e, e.opts.lenientIf)), i = !1;
2787
- for (let a of this.branches) for (let o of a.values) if (yield N(r, yield j(o, e, e.opts.lenientIf))) {
2806
+ for (let a of this.branches) for (let o of a.values) if (yield P(r, yield j(o, e, e.opts.lenientIf))) {
2788
2807
  yield n.renderTemplates(a.templates, e, t), i = !0;
2789
2808
  break;
2790
2809
  }
@@ -2797,20 +2816,20 @@ var ca = class extends R {
2797
2816
  let e = this.branches.flatMap((e) => e.templates);
2798
2817
  return this.elseTemplates && e.push(...this.elseTemplates), e;
2799
2818
  }
2800
- }, ua = class extends R {
2819
+ }, fa = class extends L {
2801
2820
  constructor(e, t, n) {
2802
2821
  for (super(e, t, n); t.length;) {
2803
2822
  let e = t.shift();
2804
- if (J(e) && e.name === "endcomment") return;
2823
+ if (q(e) && e.name === "endcomment") return;
2805
2824
  }
2806
2825
  throw Error(`tag ${e.getText()} not closed`);
2807
2826
  }
2808
2827
  render() {}
2809
- }, da = class extends R {
2828
+ }, pa = class extends L {
2810
2829
  constructor(e, t, n, r) {
2811
2830
  super(e, t, n);
2812
2831
  let i = this.tokenizer;
2813
- for (this.file = fa(i, this.liquid, r), this.currentFile = e.file; !i.end();) {
2832
+ for (this.file = ma(i, this.liquid, r), this.currentFile = e.file; !i.end();) {
2814
2833
  i.skipBlank();
2815
2834
  let e = i.p, t = i.readIdentifier();
2816
2835
  if ((t.content === "with" || t.content === "for") && (i.skipBlank(), i.peek() !== ":")) {
@@ -2829,11 +2848,11 @@ var ca = class extends R {
2829
2848
  i.p = e;
2830
2849
  break;
2831
2850
  }
2832
- this.hash = new z(i, n.options.keyValueSeparator);
2851
+ this.hash = new R(i, n.options.keyValueSeparator);
2833
2852
  }
2834
2853
  *render(e, t) {
2835
- let { liquid: n, hash: r } = this, i = yield ma(this.file, e, n);
2836
- w(i, () => `illegal file path "${i}"`);
2854
+ let { liquid: n, hash: r } = this, i = yield ga(this.file, e, n);
2855
+ C(i, () => `illegal file path "${i}"`);
2837
2856
  let a = e.spawn(), o = a.bottom();
2838
2857
  if (E(o, yield r.render(e)), this.with) {
2839
2858
  let { value: t, alias: n } = this.with;
@@ -2885,31 +2904,31 @@ var ca = class extends R {
2885
2904
  }
2886
2905
  }
2887
2906
  };
2888
- function fa(e, t, n) {
2907
+ function ma(e, t, n) {
2889
2908
  if (t.options.dynamicPartials) {
2890
2909
  let t = e.readValue();
2891
- return e.assert(t, "illegal file path"), t.getText() === "none" ? void 0 : Yn(t) ? pa(n.parse(Gt(t))) : t;
2910
+ return e.assert(t, "illegal file path"), t.getText() === "none" ? void 0 : Xn(t) ? ha(n.parse(Gt(t))) : t;
2892
2911
  }
2893
- let r = [...e.readFileNameTemplate(t.options)], i = pa(n.parseTokens(r));
2912
+ let r = [...e.readFileNameTemplate(t.options)], i = ha(n.parseTokens(r));
2894
2913
  return i === "none" ? void 0 : i;
2895
2914
  }
2896
- function pa(e) {
2897
- return e.length === 1 && qn(e[0].token) ? e[0].token.getContent() : e;
2915
+ function ha(e) {
2916
+ return e.length === 1 && Jn(e[0].token) ? e[0].token.getContent() : e;
2898
2917
  }
2899
- function* ma(e, t, n) {
2918
+ function* ga(e, t, n) {
2900
2919
  return typeof e == "string" ? e : Array.isArray(e) ? n.renderer.renderTemplates(e, t) : yield j(e, t);
2901
2920
  }
2902
- var ha = class extends R {
2921
+ var _a = class extends L {
2903
2922
  constructor(e, t, n, r) {
2904
2923
  super(e, t, n);
2905
2924
  let { tokenizer: i } = e;
2906
- this.file = fa(i, this.liquid, r), this.currentFile = e.file;
2925
+ this.file = ma(i, this.liquid, r), this.currentFile = e.file;
2907
2926
  let a = i.p;
2908
- i.readIdentifier().content === "with" ? (i.skipBlank(), i.peek() === ":" ? i.p = a : this.withVar = i.readValue()) : i.p = a, this.hash = new z(i, n.options.jekyllInclude || n.options.keyValueSeparator);
2927
+ i.readIdentifier().content === "with" ? (i.skipBlank(), i.peek() === ":" ? i.p = a : this.withVar = i.readValue()) : i.p = a, this.hash = new R(i, n.options.jekyllInclude || n.options.keyValueSeparator);
2909
2928
  }
2910
2929
  *render(e, t) {
2911
- let { liquid: n, hash: r, withVar: i } = this, { renderer: a } = n, o = yield ma(this.file, e, n);
2912
- w(o, () => `illegal file path "${o}"`);
2930
+ let { liquid: n, hash: r, withVar: i } = this, { renderer: a } = n, o = yield ga(this.file, e, n);
2931
+ C(o, () => `illegal file path "${o}"`);
2913
2932
  let s = e.saveRegister("blocks", "blockMode");
2914
2933
  e.setRegister("blocks", {}), e.setRegister("blockMode", $.OUTPUT);
2915
2934
  let c = Z(yield r.render(e));
@@ -2933,7 +2952,7 @@ var ha = class extends R {
2933
2952
  *arguments() {
2934
2953
  yield* Object.values(this.hash.hash).filter(Y), Y(this.file) && (yield this.file), Y(this.withVar) && (yield this.withVar);
2935
2954
  }
2936
- }, ga = class extends R {
2955
+ }, va = class extends L {
2937
2956
  constructor(e, t, n) {
2938
2957
  super(e, t, n), this.identifier = this.tokenizer.readIdentifier(), this.variable = this.identifier.content;
2939
2958
  }
@@ -2944,7 +2963,7 @@ var ha = class extends R {
2944
2963
  *localScope() {
2945
2964
  yield this.identifier;
2946
2965
  }
2947
- }, _a = class extends R {
2966
+ }, ya = class extends L {
2948
2967
  constructor(e, t, n) {
2949
2968
  super(e, t, n), this.candidates = [];
2950
2969
  let r = this.tokenizer.readValue();
@@ -2963,22 +2982,22 @@ var ha = class extends R {
2963
2982
  *arguments() {
2964
2983
  yield* this.candidates, this.group && (yield this.group);
2965
2984
  }
2966
- }, va = class extends R {
2985
+ }, ba = class extends L {
2967
2986
  constructor(e, t, n, r) {
2968
2987
  super(e, t, n), this.branches = [];
2969
2988
  let i = [];
2970
2989
  r.parseStream(t).on("start", () => this.branches.push({
2971
- value: new B(e.tokenizer.readFilteredValue(), this.liquid),
2990
+ value: new z(e.tokenizer.readFilteredValue(), this.liquid),
2972
2991
  templates: i = []
2973
2992
  })).on("tag:elsif", (e) => {
2974
- w(!this.elseTemplates, "unexpected elsif after else"), this.branches.push({
2975
- value: new B(e.tokenizer.readFilteredValue(), this.liquid),
2993
+ C(!this.elseTemplates, "unexpected elsif after else"), this.branches.push({
2994
+ value: new z(e.tokenizer.readFilteredValue(), this.liquid),
2976
2995
  templates: i = []
2977
2996
  });
2978
2997
  }).on("tag:else", (e) => {
2979
- Ne(e.args), w(!this.elseTemplates, "duplicated else"), i = this.elseTemplates = [];
2998
+ w(e.args), C(!this.elseTemplates, "duplicated else"), i = this.elseTemplates = [];
2980
2999
  }).on("tag:endif", function(e) {
2981
- Ne(e.args), this.stop();
3000
+ w(e.args), this.stop();
2982
3001
  }).on("template", (e) => i.push(e)).on("end", () => {
2983
3002
  throw Error(`tag ${e.getText()} not closed`);
2984
3003
  }).start();
@@ -2998,7 +3017,7 @@ var ha = class extends R {
2998
3017
  arguments() {
2999
3018
  return this.branches.map((e) => e.value);
3000
3019
  }
3001
- }, ya = class extends R {
3020
+ }, xa = class extends L {
3002
3021
  constructor(e, t, n) {
3003
3022
  super(e, t, n), this.identifier = this.tokenizer.readIdentifier(), this.variable = this.identifier.content;
3004
3023
  }
@@ -3011,9 +3030,9 @@ var ha = class extends R {
3011
3030
  *localScope() {
3012
3031
  yield this.identifier;
3013
3032
  }
3014
- }, ba = class extends R {
3033
+ }, Sa = class extends L {
3015
3034
  constructor(e, t, n, r) {
3016
- super(e, t, n), this.file = fa(this.tokenizer, this.liquid, r), this.currentFile = e.file, this.args = new z(this.tokenizer, n.options.keyValueSeparator), this.templates = r.parseTokens(t);
3035
+ super(e, t, n), this.file = ma(this.tokenizer, this.liquid, r), this.currentFile = e.file, this.args = new R(this.tokenizer, n.options.keyValueSeparator), this.templates = r.parseTokens(t);
3017
3036
  }
3018
3037
  *render(e, t) {
3019
3038
  let { liquid: n, args: r, file: i } = this, { renderer: a } = n;
@@ -3021,8 +3040,8 @@ var ha = class extends R {
3021
3040
  e.setRegister("blockMode", $.OUTPUT), yield a.renderTemplates(this.templates, e, t);
3022
3041
  return;
3023
3042
  }
3024
- let o = yield ma(this.file, e, n);
3025
- w(o, () => `illegal file path "${o}"`);
3043
+ let o = yield ga(this.file, e, n);
3044
+ C(o, () => `illegal file path "${o}"`);
3026
3045
  let s = yield n._parseLayoutFile(o, e.sync, this.currentFile);
3027
3046
  e.setRegister("blockMode", $.STORE);
3028
3047
  let c = yield a.renderTemplates(this.templates, e), l = e.getRegister("blocks", {});
@@ -3043,13 +3062,13 @@ var ha = class extends R {
3043
3062
  scope: Object.keys(this.args.hash)
3044
3063
  };
3045
3064
  }
3046
- }, xa = class extends R {
3065
+ }, Ca = class extends L {
3047
3066
  constructor(e, t, n, r) {
3048
3067
  super(e, t, n), this.templates = [];
3049
3068
  let i = /\w+/.exec(e.args);
3050
3069
  for (this.block = i ? i[0] : ""; t.length;) {
3051
3070
  let e = t.shift();
3052
- if (J(e) && e.name === "endblock") return;
3071
+ if (q(e) && e.name === "endblock") return;
3053
3072
  let n = r.parseToken(e, t);
3054
3073
  this.templates.push(n);
3055
3074
  }
@@ -3073,11 +3092,11 @@ var ha = class extends R {
3073
3092
  blockScope() {
3074
3093
  return ["block"];
3075
3094
  }
3076
- }, Sa = class extends R {
3095
+ }, wa = class extends L {
3077
3096
  constructor(e, t, n) {
3078
3097
  for (super(e, t, n), this.tokens = []; t.length;) {
3079
3098
  let e = t.shift();
3080
- if (J(e) && e.name === "endraw") return;
3099
+ if (q(e) && e.name === "endraw") return;
3081
3100
  this.tokens.push(e);
3082
3101
  }
3083
3102
  throw Error(`tag ${e.getText()} not closed`);
@@ -3085,7 +3104,7 @@ var ha = class extends R {
3085
3104
  render() {
3086
3105
  return this.tokens.map((e) => e.getText()).join("");
3087
3106
  }
3088
- }, Ca = class extends Le {
3107
+ }, Ta = class extends Le {
3089
3108
  constructor(e, t, n, r) {
3090
3109
  super(e, n, r), this.length = e, this.cols = t;
3091
3110
  }
@@ -3104,141 +3123,141 @@ var ha = class extends R {
3104
3123
  col_last() {
3105
3124
  return this.col() === this.cols;
3106
3125
  }
3107
- }, wa = {
3108
- assign: na,
3109
- for: ia,
3110
- capture: ca,
3111
- case: la,
3112
- comment: ua,
3113
- include: ha,
3114
- render: da,
3115
- decrement: ga,
3116
- increment: ya,
3117
- cycle: _a,
3118
- if: va,
3119
- layout: ba,
3120
- block: xa,
3121
- raw: Sa,
3122
- tablerow: class extends R {
3123
- constructor(e, t, n, r) {
3124
- super(e, t, n);
3125
- let i = this.tokenizer.readIdentifier();
3126
- this.tokenizer.skipBlank();
3127
- let a = this.tokenizer.readIdentifier(), o = this.tokenizer.readValue();
3128
- if (a.content !== "in" || !o) throw Error(`illegal tag: ${e.getText()}`);
3129
- this.variable = i.content, this.collection = o, this.args = new z(this.tokenizer, n.options.keyValueSeparator), this.templates = [];
3130
- let s, c = r.parseStream(t).on("start", () => s = this.templates).on("tag:endtablerow", () => c.stop()).on("template", (e) => s.push(e)).on("end", () => {
3131
- throw Error(`tag ${e.getText()} not closed`);
3132
- });
3133
- c.start();
3134
- }
3135
- *render(e, t) {
3136
- let n = d(yield j(this.collection, e)), r = yield this.args.render(e), i = r.offset || 0;
3137
- n = n.slice(i, i + (r.limit === void 0 ? n.length : r.limit));
3138
- let a = r.cols || n.length, o = this.liquid.renderer, s = new Ca(n.length, a, this.collection.getText(), this.variable), c = Z({ tablerowloop: s });
3139
- e.push(c);
3140
- for (let r = 0; r < n.length; r++, s.next()) c[this.variable] = n[r], s.col0() === 0 && (s.row() !== 1 && t.write("</tr>"), t.write(`<tr class="row${s.row()}">`)), t.write(`<td class="col${s.col()}">`), yield o.renderTemplates(this.templates, e, t), t.write("</td>");
3141
- n.length && t.write("</tr>"), e.pop();
3142
- }
3143
- *children() {
3144
- return this.templates;
3145
- }
3146
- *arguments() {
3147
- yield this.collection;
3148
- for (let e of Object.values(this.args.hash)) Y(e) && (yield e);
3149
- }
3150
- blockScope() {
3151
- return [this.variable, "tablerowloop"];
3152
- }
3153
- },
3154
- unless: class extends R {
3155
- constructor(e, t, n, r) {
3156
- super(e, t, n), this.branches = [], this.elseTemplates = [];
3157
- let i = [], a = 0;
3158
- r.parseStream(t).on("start", () => this.branches.push({
3159
- value: new B(e.tokenizer.readFilteredValue(), this.liquid),
3160
- test: Jt,
3126
+ }, Ea = class extends L {
3127
+ constructor(e, t, n, r) {
3128
+ super(e, t, n);
3129
+ let i = this.tokenizer.readIdentifier();
3130
+ this.tokenizer.skipBlank();
3131
+ let a = this.tokenizer.readIdentifier(), o = this.tokenizer.readValue();
3132
+ if (a.content !== "in" || !o) throw Error(`illegal tag: ${e.getText()}`);
3133
+ this.variable = i.content, this.collection = o, this.args = new R(this.tokenizer, n.options.keyValueSeparator), this.templates = [];
3134
+ let s, c = r.parseStream(t).on("start", () => s = this.templates).on("tag:endtablerow", () => c.stop()).on("template", (e) => s.push(e)).on("end", () => {
3135
+ throw Error(`tag ${e.getText()} not closed`);
3136
+ });
3137
+ c.start();
3138
+ }
3139
+ *render(e, t) {
3140
+ let n = d(yield j(this.collection, e)), r = yield this.args.render(e), i = r.offset || 0;
3141
+ n = n.slice(i, i + (r.limit === void 0 ? n.length : r.limit));
3142
+ let a = r.cols || n.length, o = this.liquid.renderer, s = new Ta(n.length, a, this.collection.getText(), this.variable), c = Z({ tablerowloop: s });
3143
+ e.push(c);
3144
+ for (let r = 0; r < n.length; r++, s.next()) c[this.variable] = n[r], s.col0() === 0 && (s.row() !== 1 && t.write("</tr>"), t.write(`<tr class="row${s.row()}">`)), t.write(`<td class="col${s.col()}">`), yield o.renderTemplates(this.templates, e, t), t.write("</td>");
3145
+ n.length && t.write("</tr>"), e.pop();
3146
+ }
3147
+ *children() {
3148
+ return this.templates;
3149
+ }
3150
+ *arguments() {
3151
+ yield this.collection;
3152
+ for (let e of Object.values(this.args.hash)) Y(e) && (yield e);
3153
+ }
3154
+ blockScope() {
3155
+ return [this.variable, "tablerowloop"];
3156
+ }
3157
+ }, Da = class extends L {
3158
+ constructor(e, t, n, r) {
3159
+ super(e, t, n), this.branches = [], this.elseTemplates = [];
3160
+ let i = [], a = 0;
3161
+ r.parseStream(t).on("start", () => this.branches.push({
3162
+ value: new z(e.tokenizer.readFilteredValue(), this.liquid),
3163
+ test: N,
3164
+ templates: i = []
3165
+ })).on("tag:elsif", (e) => {
3166
+ a > 0 ? i = [] : this.branches.push({
3167
+ value: new z(e.tokenizer.readFilteredValue(), this.liquid),
3168
+ test: M,
3161
3169
  templates: i = []
3162
- })).on("tag:elsif", (e) => {
3163
- a > 0 ? i = [] : this.branches.push({
3164
- value: new B(e.tokenizer.readFilteredValue(), this.liquid),
3165
- test: M,
3166
- templates: i = []
3167
- });
3168
- }).on("tag:else", () => {
3169
- a++, i = this.elseTemplates;
3170
- }).on("tag:endunless", function() {
3171
- this.stop();
3172
- }).on("template", (e) => {
3173
- (i !== this.elseTemplates || a === 1) && i.push(e);
3174
- }).on("end", () => {
3175
- throw Error(`tag ${e.getText()} not closed`);
3176
- }).start();
3177
- }
3178
- *render(e, t) {
3179
- let n = this.liquid.renderer;
3180
- for (let { value: r, test: i, templates: a } of this.branches) if (i(yield p(yield r.value(e, e.opts.lenientIf)), e)) {
3181
- yield n.renderTemplates(a, e, t);
3182
- return;
3183
- }
3184
- yield n.renderTemplates(this.elseTemplates, e, t);
3185
- }
3186
- *children() {
3187
- let e = this.branches.flatMap((e) => e.templates);
3188
- return this.elseTemplates && e.push(...this.elseTemplates), e;
3189
- }
3190
- arguments() {
3191
- return this.branches.map((e) => e.value);
3192
- }
3193
- },
3194
- break: class extends R {
3195
- render(e, t) {
3196
- e.breakCalled = !0;
3197
- }
3198
- },
3199
- continue: class extends R {
3200
- render(e, t) {
3201
- e.continueCalled = !0;
3202
- }
3203
- },
3204
- echo: class extends R {
3205
- constructor(e, t, n) {
3206
- super(e, t, n), this.tokenizer.skipBlank(), this.tokenizer.end() || (this.value = new B(this.tokenizer.readFilteredValue(), this.liquid));
3207
- }
3208
- *render(e, t) {
3209
- if (!this.value) return;
3210
- let n = yield p(yield this.value.value(e, !1));
3211
- t.write(n);
3212
- }
3213
- *arguments() {
3214
- this.value && (yield this.value);
3215
- }
3216
- },
3217
- liquid: class extends R {
3218
- constructor(e, t, n, r) {
3219
- super(e, t, n);
3220
- let i = this.tokenizer.readLiquidTagTokens(this.liquid.options);
3221
- this.templates = r.parseTokens(i);
3222
- }
3223
- *render(e, t) {
3224
- yield this.liquid.renderer.renderTemplates(this.templates, e, t);
3225
- }
3226
- *children() {
3227
- return this.templates;
3228
- }
3229
- },
3230
- "#": class extends R {
3231
- constructor(e, t, n) {
3232
- if (super(e, t, n), e.args.search(/\n\s*[^#\s]/g) !== -1) throw Error("every line of an inline comment must start with a '#' character");
3170
+ });
3171
+ }).on("tag:else", () => {
3172
+ a++, i = this.elseTemplates;
3173
+ }).on("tag:endunless", function() {
3174
+ this.stop();
3175
+ }).on("template", (e) => {
3176
+ (i !== this.elseTemplates || a === 1) && i.push(e);
3177
+ }).on("end", () => {
3178
+ throw Error(`tag ${e.getText()} not closed`);
3179
+ }).start();
3180
+ }
3181
+ *render(e, t) {
3182
+ let n = this.liquid.renderer;
3183
+ for (let { value: r, test: i, templates: a } of this.branches) if (i(yield p(yield r.value(e, e.opts.lenientIf)), e)) {
3184
+ yield n.renderTemplates(a, e, t);
3185
+ return;
3233
3186
  }
3234
- render() {}
3187
+ yield n.renderTemplates(this.elseTemplates, e, t);
3188
+ }
3189
+ *children() {
3190
+ let e = this.branches.flatMap((e) => e.templates);
3191
+ return this.elseTemplates && e.push(...this.elseTemplates), e;
3192
+ }
3193
+ arguments() {
3194
+ return this.branches.map((e) => e.value);
3195
+ }
3196
+ }, Oa = class extends L {
3197
+ render(e, t) {
3198
+ e.breakCalled = !0;
3235
3199
  }
3236
- }, Ta = class e {
3200
+ }, ka = class extends L {
3201
+ render(e, t) {
3202
+ e.continueCalled = !0;
3203
+ }
3204
+ }, Aa = class extends L {
3205
+ constructor(e, t, n) {
3206
+ super(e, t, n), this.tokenizer.skipBlank(), this.tokenizer.end() || (this.value = new z(this.tokenizer.readFilteredValue(), this.liquid));
3207
+ }
3208
+ *render(e, t) {
3209
+ if (!this.value) return;
3210
+ let n = yield p(yield this.value.value(e, !1));
3211
+ t.write(n);
3212
+ }
3213
+ *arguments() {
3214
+ this.value && (yield this.value);
3215
+ }
3216
+ }, ja = class extends L {
3217
+ constructor(e, t, n, r) {
3218
+ super(e, t, n);
3219
+ let i = this.tokenizer.readLiquidTagTokens(this.liquid.options);
3220
+ this.templates = r.parseTokens(i);
3221
+ }
3222
+ *render(e, t) {
3223
+ yield this.liquid.renderer.renderTemplates(this.templates, e, t);
3224
+ }
3225
+ *children() {
3226
+ return this.templates;
3227
+ }
3228
+ }, Ma = class extends L {
3229
+ constructor(e, t, n) {
3230
+ if (super(e, t, n), e.args.search(/\n\s*[^#\s]/g) !== -1) throw Error("every line of an inline comment must start with a '#' character");
3231
+ }
3232
+ render() {}
3233
+ }, Na = {
3234
+ assign: ia,
3235
+ for: oa,
3236
+ capture: ua,
3237
+ case: da,
3238
+ comment: fa,
3239
+ include: _a,
3240
+ render: pa,
3241
+ decrement: va,
3242
+ increment: xa,
3243
+ cycle: ya,
3244
+ if: ba,
3245
+ layout: Sa,
3246
+ block: Ca,
3247
+ raw: wa,
3248
+ tablerow: Ea,
3249
+ unless: Da,
3250
+ break: Oa,
3251
+ continue: ka,
3252
+ echo: Aa,
3253
+ liquid: ja,
3254
+ "#": Ma
3255
+ }, Pa = class e {
3237
3256
  constructor(e = {}) {
3238
- this.renderer = new Rt(), this.filters = Object.create(null), this.tags = Object.create(null), this.options = wn(e), this.parser = new K(this), ae(wa, (e, t) => this.registerTag(t, e)), ae(ta, (e, t) => this.registerFilter(t, e));
3257
+ this.renderer = new Rt(), this.filters = Object.create(null), this.tags = Object.create(null), this.options = wn(e), this.parser = new G(this), ae(Na, (e, t) => this.registerTag(t, e)), ae(ra, (e, t) => this.registerFilter(t, e));
3239
3258
  }
3240
3259
  parse(e, t) {
3241
- return new K(this).parse(e, t);
3260
+ return new G(this).parse(e, t);
3242
3261
  }
3243
3262
  _render(e, t, n) {
3244
3263
  let r = t instanceof Q ? t : new Q(t, this.options, n, { liquid: this });
@@ -3269,21 +3288,21 @@ var ha = class extends R {
3269
3288
  return k(this._parseAndRender(e, t, Object.assign(Object.assign({}, n), { sync: !0 })));
3270
3289
  }
3271
3290
  _parsePartialFile(e, t, n) {
3272
- return new K(this).parseFile(e, t, G.Partials, n);
3291
+ return new G(this).parseFile(e, t, W.Partials, n);
3273
3292
  }
3274
3293
  _parseLayoutFile(e, t, n) {
3275
- return new K(this).parseFile(e, t, G.Layouts, n);
3294
+ return new G(this).parseFile(e, t, W.Layouts, n);
3276
3295
  }
3277
3296
  _parseFile(e, t, n, r) {
3278
- return new K(this).parseFile(e, t, n, r);
3297
+ return new G(this).parseFile(e, t, n, r);
3279
3298
  }
3280
3299
  parseFile(e, t) {
3281
3300
  return D(this, void 0, void 0, function* () {
3282
- return O(new K(this).parseFile(e, !1, t));
3301
+ return O(new G(this).parseFile(e, !1, t));
3283
3302
  });
3284
3303
  }
3285
3304
  parseFileSync(e, t) {
3286
- return k(new K(this).parseFile(e, !0, t));
3305
+ return k(new G(this).parseFile(e, !0, t));
3287
3306
  }
3288
3307
  *_renderFile(e, t, n) {
3289
3308
  let r = yield this._parseFile(e, n.sync, n.lookupType);
@@ -3304,7 +3323,7 @@ var ha = class extends R {
3304
3323
  });
3305
3324
  }
3306
3325
  _evalValue(e, t) {
3307
- let n = new B(e, this), r = t instanceof Q ? t : new Q(t, this.options, {}, { liquid: this });
3326
+ let n = new z(e, this), r = t instanceof Q ? t : new Q(t, this.options, {}, { liquid: this });
3308
3327
  return n.value(r);
3309
3328
  }
3310
3329
  evalValue(e, t) {
@@ -3322,7 +3341,7 @@ var ha = class extends R {
3322
3341
  delete this.filters[e];
3323
3342
  }
3324
3343
  registerTag(e, t) {
3325
- this.tags[e] = o(t) ? t : jn(t);
3344
+ this.tags[e] = o(t) ? t : Mn(t);
3326
3345
  }
3327
3346
  plugin(t) {
3328
3347
  return t.call(this, e);
@@ -3332,7 +3351,7 @@ var ha = class extends R {
3332
3351
  return function(n, r, i) {
3333
3352
  if (t) {
3334
3353
  t = !1;
3335
- let n = I(this.root);
3354
+ let n = En(this.root);
3336
3355
  e.options.root.unshift(...n), e.options.layouts.unshift(...n), e.options.partials.unshift(...n);
3337
3356
  }
3338
3357
  e.renderFile(n, r).then((e) => i(null, e), i);
@@ -3340,83 +3359,82 @@ var ha = class extends R {
3340
3359
  }
3341
3360
  analyze(e, t = {}) {
3342
3361
  return D(this, void 0, void 0, function* () {
3343
- return H(e, t);
3362
+ return V(e, t);
3344
3363
  });
3345
3364
  }
3346
3365
  analyzeSync(e, t = {}) {
3347
- return U(e, t);
3366
+ return H(e, t);
3348
3367
  }
3349
3368
  parseAndAnalyze(e, t, n = {}) {
3350
3369
  return D(this, void 0, void 0, function* () {
3351
- return H(this.parse(e, t), n);
3370
+ return V(this.parse(e, t), n);
3352
3371
  });
3353
3372
  }
3354
3373
  parseAndAnalyzeSync(e, t, n = {}) {
3355
- return U(this.parse(e, t), n);
3374
+ return H(this.parse(e, t), n);
3356
3375
  }
3357
3376
  variables(e, t = {}) {
3358
3377
  return D(this, void 0, void 0, function* () {
3359
- let n = yield H(a(e) ? this.parse(e) : e, t);
3378
+ let n = yield V(a(e) ? this.parse(e) : e, t);
3360
3379
  return Object.keys(n.variables);
3361
3380
  });
3362
3381
  }
3363
3382
  variablesSync(e, t = {}) {
3364
- let n = U(a(e) ? this.parse(e) : e, t);
3383
+ let n = H(a(e) ? this.parse(e) : e, t);
3365
3384
  return Object.keys(n.variables);
3366
3385
  }
3367
3386
  fullVariables(e, t = {}) {
3368
3387
  return D(this, void 0, void 0, function* () {
3369
- let n = yield H(a(e) ? this.parse(e) : e, t);
3388
+ let n = yield V(a(e) ? this.parse(e) : e, t);
3370
3389
  return Array.from(new Set(Object.values(n.variables).flatMap((e) => e.map((e) => String(e)))));
3371
3390
  });
3372
3391
  }
3373
3392
  fullVariablesSync(e, t = {}) {
3374
- let n = U(a(e) ? this.parse(e) : e, t);
3393
+ let n = H(a(e) ? this.parse(e) : e, t);
3375
3394
  return Array.from(new Set(Object.values(n.variables).flatMap((e) => e.map((e) => String(e)))));
3376
3395
  }
3377
3396
  variableSegments(e, t = {}) {
3378
3397
  return D(this, void 0, void 0, function* () {
3379
- let n = yield H(a(e) ? this.parse(e) : e, t);
3380
- return Array.from(b(Object.values(n.variables).flatMap((e) => e.map((e) => e.toArray()))));
3398
+ let n = yield V(a(e) ? this.parse(e) : e, t);
3399
+ return Array.from(_e(Object.values(n.variables).flatMap((e) => e.map((e) => e.toArray()))));
3381
3400
  });
3382
3401
  }
3383
3402
  variableSegmentsSync(e, t = {}) {
3384
- let n = U(a(e) ? this.parse(e) : e, t);
3385
- return Array.from(b(Object.values(n.variables).flatMap((e) => e.map((e) => e.toArray()))));
3403
+ let n = H(a(e) ? this.parse(e) : e, t);
3404
+ return Array.from(_e(Object.values(n.variables).flatMap((e) => e.map((e) => e.toArray()))));
3386
3405
  }
3387
3406
  globalVariables(e, t = {}) {
3388
3407
  return D(this, void 0, void 0, function* () {
3389
- let n = yield H(a(e) ? this.parse(e) : e, t);
3408
+ let n = yield V(a(e) ? this.parse(e) : e, t);
3390
3409
  return Object.keys(n.globals);
3391
3410
  });
3392
3411
  }
3393
3412
  globalVariablesSync(e, t = {}) {
3394
- let n = U(a(e) ? this.parse(e) : e, t);
3413
+ let n = H(a(e) ? this.parse(e) : e, t);
3395
3414
  return Object.keys(n.globals);
3396
3415
  }
3397
3416
  globalFullVariables(e, t = {}) {
3398
3417
  return D(this, void 0, void 0, function* () {
3399
- let n = yield H(a(e) ? this.parse(e) : e, t);
3418
+ let n = yield V(a(e) ? this.parse(e) : e, t);
3400
3419
  return Array.from(new Set(Object.values(n.globals).flatMap((e) => e.map((e) => String(e)))));
3401
3420
  });
3402
3421
  }
3403
3422
  globalFullVariablesSync(e, t = {}) {
3404
- let n = U(a(e) ? this.parse(e) : e, t);
3423
+ let n = H(a(e) ? this.parse(e) : e, t);
3405
3424
  return Array.from(new Set(Object.values(n.globals).flatMap((e) => e.map((e) => String(e)))));
3406
3425
  }
3407
3426
  globalVariableSegments(e, t = {}) {
3408
3427
  return D(this, void 0, void 0, function* () {
3409
- let n = yield H(a(e) ? this.parse(e) : e, t);
3410
- return Array.from(b(Object.values(n.globals).flatMap((e) => e.map((e) => e.toArray()))));
3428
+ let n = yield V(a(e) ? this.parse(e) : e, t);
3429
+ return Array.from(_e(Object.values(n.globals).flatMap((e) => e.map((e) => e.toArray()))));
3411
3430
  });
3412
3431
  }
3413
3432
  globalVariableSegmentsSync(e, t = {}) {
3414
- let n = U(a(e) ? this.parse(e) : e, t);
3415
- return Array.from(b(Object.values(n.globals).flatMap((e) => e.map((e) => e.toArray()))));
3433
+ let n = H(a(e) ? this.parse(e) : e, t);
3434
+ return Array.from(_e(Object.values(n.globals).flatMap((e) => e.map((e) => e.toArray()))));
3416
3435
  }
3417
- };
3436
+ }, Fa = "[VI]{version}[/VI]";
3418
3437
  /* istanbul ignore file */
3419
- //#endregion
3420
- export { Ta as Liquid };
3438
+ export { Te as AssertionError, ia as AssignTag, Ca as BlockTag, Oa as BreakTag, ua as CaptureTag, da as CaseTag, fa as CommentTag, Q as Context, ka as ContinueTag, ya as CycleTag, va as DecrementTag, t as Drop, Aa as EchoTag, Vt as Expression, Bt as Filter, oa as ForTag, R as Hash, ba as IfTag, _a as IncludeTag, xa as IncrementTag, Ma as InlineCommentTag, Sa as LayoutTag, Pa as Liquid, y as LiquidError, ja as LiquidTag, W as LookupType, Nn as Output, be as ParseError, An as ParseStream, G as Parser, wa as RawTag, xe as RenderError, pa as RenderTag, Ea as TablerowTag, L as Tag, ht as TagToken, e as Token, K as TokenKind, ye as TokenizationError, I as Tokenizer, nr as TypeGuards, Ce as UndefinedVariableError, Da as UnlessTag, z as Value, B as Variable, V as analyze, H as analyzeSync, C as assert, Ge as createTrie, Jt as defaultOperators, F as defaultOptions, Gt as evalQuotedToken, j as evalToken, Ut as evalTokenValue, ra as filters, N as isFalsy, M as isTruthy, Na as tags, O as toPromise, p as toValue, k as toValueSync, Fa as version };
3421
3439
 
3422
- //# sourceMappingURL=liquid.browser-Bbt17cVz.js.map
3440
+ //# sourceMappingURL=liquid.browser-DkLBNrft.js.map