halo-pc 1.0.39 → 1.0.41

Sign up to get free protection for your applications and to get access to all the features.
Files changed (150) hide show
  1. package/dist/{Article-DZlstqWL.js → Article-BMW_FzdK.js} +23 -21
  2. package/dist/{ArticleFooter-BkduiKh8.js → ArticleFooter-7iPkMQaX.js} +1 -1
  3. package/dist/{Autocomplete-bc-9LfGa.js → Autocomplete-B6Mwp9rT.js} +1 -1
  4. package/dist/{Autocomplete-DMKnFezN.js → Autocomplete-C-El55Lz.js} +1 -1
  5. package/dist/{Autocomplete-0Yf6lJQ7.js → Autocomplete-PZTjEBIx.js} +1 -1
  6. package/dist/{CSharp-q8eOBm4y.js → CSharp-BQUrQwua.js} +1 -1
  7. package/dist/{Calender-CseGNCuW.js → Calender-CJXR7uhM.js} +1 -1
  8. package/dist/{Callback-D_dFJlfv.js → Callback-CyDW9WU2.js} +1 -1
  9. package/dist/{Cascader-BG5ev35M.js → Cascader-CFc_8QSm.js} +1 -1
  10. package/dist/{Cascader-Dzeoz7ss.js → Cascader-DMQjalNv.js} +2 -2
  11. package/dist/{Checkbox-dw8RNAGt.js → Checkbox-aU8e779g.js} +1 -1
  12. package/dist/{Checkbox-CsCA6iQb.js → Checkbox-pV01os-T.js} +1 -1
  13. package/dist/Code-C0Kxulod.js +4 -0
  14. package/dist/{Code-C5QfTMNw.js → Code-C4pIa8BE.js} +2 -2
  15. package/dist/{Code-BRe68AIa.js → Code-CCJx9RSm.js} +2 -2
  16. package/dist/{Code-BE8YLGaE.js → Code-kDBbVC1W.js} +10 -8
  17. package/dist/{Code.vue_vue_type_style_index_0_lang-D2hJ7lYF.js → Code.vue_vue_type_style_index_0_lang-36NN7tgP.js} +12 -10
  18. package/dist/{Column-C-NHhT2v.js → Column-BebDf5Z9.js} +9 -9
  19. package/dist/{Comment-kTmfTlbF.js → Comment-BgfD9WtL.js} +5 -3
  20. package/dist/{Compare-DVWaiCUC.js → Compare-BZucuvFP.js} +1 -1
  21. package/dist/{Compare-DlyQBCat.js → Compare-D-Byn_Gq.js} +1 -1
  22. package/dist/{Copy-DQFJy3uX.js → Copy-DW4jSNQi.js} +1 -1
  23. package/dist/Custom-DIF-RYi3.js +55 -0
  24. package/dist/{DataExport-Um1wXyRe.js → DataExport-CyQy2xjO.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-2YoqwEmA.js → DataExport.vue_vue_type_script_setup_true_lang-C4n6xWcP.js} +1 -1
  26. package/dist/{DataImport-CPMLup4P.js → DataImport-BVF83UsQ.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-DsCp0vWo.js → DataImport.vue_vue_type_script_setup_true_lang-BZhFLOqB.js} +1 -1
  28. package/dist/{Date-Cj9lCW_Y.js → Date-CqpFvbYZ.js} +1 -1
  29. package/dist/{Date-BhZ8ltgp.js → Date-g1XKWU4b.js} +1 -1
  30. package/dist/{DateRange-Bw_Oyawz.js → DateRange-B2afkdbT.js} +1 -1
  31. package/dist/{DateTime-BU6JaBPk.js → DateTime-D_x_wBZR.js} +1 -1
  32. package/dist/{DateTime-Cv-SRE88.js → DateTime-Zi3vtH77.js} +1 -1
  33. package/dist/{DateTimeRange-B4Ah6LQY.js → DateTimeRange-BFWM_U7H.js} +1 -1
  34. package/dist/{Daterange-CSZe4XGO.js → Daterange-tXA0b0Ak.js} +1 -1
  35. package/dist/{Decimal-DSDuwW9Z.js → Decimal-DKQ38XS_.js} +1 -1
  36. package/dist/{Delete-CjPgg-5G.js → Delete-BOkBpAGN.js} +1 -1
  37. package/dist/{Detail-gj--ICe8.js → Detail-SWgERqKG.js} +1 -1
  38. package/dist/{Dictionary-Ck_02mWa.js → Dictionary-Xsj_Qorw.js} +2 -2
  39. package/dist/{Email-BSQbDvh1.js → Email-DILPnLkb.js} +1 -1
  40. package/dist/{File-FW4usX43.js → File-BDUTK7hV.js} +12 -10
  41. package/dist/{Image-DiAw_6jM.js → Image-Yx3ZHHJK.js} +1 -1
  42. package/dist/{Index-hgTZyQps.js → Index-BTa4YIN9.js} +1 -1
  43. package/dist/Index-BWukqxQl.js +4 -0
  44. package/dist/Index-BahY1OIJ.js +4 -0
  45. package/dist/Index-C9ffFYsl.js +4 -0
  46. package/dist/{Index-MUgqP8jJ.js → Index-CiQQmYeA.js} +1 -1
  47. package/dist/Index-DG7Hovsx.js +4 -0
  48. package/dist/{Index-BibWDRoP.js → Index-DeYqTT9Q.js} +1 -1
  49. package/dist/{Index-Dq5Vp-ts.js → Index-WVLyjyqt.js} +2 -2
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-CiBvC9Cu.js → Index.vue_vue_type_script_setup_true_lang-42C0EEto.js} +21 -21
  51. package/dist/Index.vue_vue_type_script_setup_true_lang-DWMiv0dC.js +86 -0
  52. package/dist/{Install-Cpp3BDCS.js → Install-DW5uDsXF.js} +1 -1
  53. package/dist/{Int-DcQsipaO.js → Int-BM4sbZvh.js} +1 -1
  54. package/dist/{Int-Ck1SvK7R.js → Int-BrFE_Hmm.js} +1 -1
  55. package/dist/List-DWjTqrJR.js +72 -0
  56. package/dist/{Maintaince-l-Tdveur.js → Maintaince-DF3nu9Jd.js} +2 -2
  57. package/dist/{Markdown-BEUz4VZ7.js → Markdown-BC8l7O_U.js} +1 -1
  58. package/dist/{Month-DmUiyF1G.js → Month-DRa9o-WC.js} +1 -1
  59. package/dist/{Month-DJGGGrZr.js → Month-QG6OiiLU.js} +1 -1
  60. package/dist/{Month-DkafiRHq.js → Month-Y0kLXgV7.js} +1 -1
  61. package/dist/{Normal-ACcTHsXb.js → Normal-CSy3DFPH.js} +13 -11
  62. package/dist/Paging-BYccIXmC.js +95 -0
  63. package/dist/{PagingHeader-DDkmqv98.js → PagingHeader-U-oJ1TQE.js} +4 -2
  64. package/dist/{PagingRow-B4Nfa2Vk.js → PagingRow-BmokRXX3.js} +1 -1
  65. package/dist/{Racebar-LfnPLNOY.js → Racebar-BvFHNGb8.js} +24 -22
  66. package/dist/{Radio-DcEZI4m7.js → Radio-CjfXrTOE.js} +1 -1
  67. package/dist/{Register-B4x_zgyH.js → Register-BG-3_Q2E.js} +6 -6
  68. package/dist/{RichText-B1Iogpgr.js → RichText-C88f59ao.js} +2 -2
  69. package/dist/{SearchForm-DU5QLTbe.js → SearchForm-C0zqD7UP.js} +1 -1
  70. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-BHZrYG6_.js → SearchForm.vue_vue_type_style_index_0_lang-Bv1_VqSl.js} +8 -8
  71. package/dist/SearchHeader-e2LOidgU.js +4 -0
  72. package/dist/SearchHeader.vue_vue_type_style_index_0_lang-DebuWiG6.js +60 -0
  73. package/dist/{Select-DrDDVJtz.js → Select-CfIvGDPS.js} +1 -1
  74. package/dist/{Select-CMxubJIV.js → Select-CvP_zGxM.js} +1 -1
  75. package/dist/{Select-C3gUeHmu.js → Select-Cz6MPDCC.js} +1 -1
  76. package/dist/Single-p-8OfzhQ.js +318 -0
  77. package/dist/{Statistic-SvjQ7uGI.js → Statistic-BIKfbZCI.js} +29 -27
  78. package/dist/{Statistic-CTxHNeof.js → Statistic-Dxa-CZ8G.js} +10 -8
  79. package/dist/{Stock-XZkBSQw1.js → Stock-B7RP-SuF.js} +1 -1
  80. package/dist/{Stock-C2b9p3-N.js → Stock-BhOP8J0c.js} +8 -6
  81. package/dist/{Stock.vue_vue_type_style_index_0_lang-DwxyyM7p.js → Stock.vue_vue_type_style_index_0_lang-Dpw8BlLu.js} +4 -2
  82. package/dist/{Switch-PJT-5dDt.js → Switch-BcDhe4_E.js} +1 -1
  83. package/dist/{Table-Dy1H2IHN.js → Table-Cy7FarYr.js} +128 -121
  84. package/dist/{Table-CkoZ8OjZ.js → Table-DK-TaejU.js} +6 -4
  85. package/dist/{Text-Bt5jL_KV.js → Text-B580p9od.js} +1 -1
  86. package/dist/Text-D89aQLxL.js +4 -0
  87. package/dist/{Text-CytgR_l_.js → Text-YNB0It4-.js} +1 -1
  88. package/dist/{Text.vue_vue_type_style_index_0_lang-CgxtY5ch.js → Text.vue_vue_type_style_index_0_lang-Dokzd_qM.js} +2 -2
  89. package/dist/{TextLink-DINdFWzs.js → TextLink-CI-AIgdm.js} +1 -1
  90. package/dist/{Textarea-DakZXfN6.js → Textarea-86C9lCtg.js} +1 -1
  91. package/dist/{Time-Bn1Av2wo.js → Time-BgArfSc6.js} +1 -1
  92. package/dist/{Timeline-B32cUvwI.js → Timeline-O_jWjdxT.js} +17 -15
  93. package/dist/{Tree-BItAXuSC.js → Tree-BfFRW-xZ.js} +6 -4
  94. package/dist/{Tree-BGfHm4k_.js → Tree-DayADkaC.js} +21 -19
  95. package/dist/{TreeNode-DmiM_a2n.js → TreeNode-BZp8w6M5.js} +1 -1
  96. package/dist/{Update-DSTmaeT8.js → Update-Bcdz87R4.js} +1 -1
  97. package/dist/{UpdateChild-BgBJJwT3.js → UpdateChild-YzPMnj_r.js} +1 -1
  98. package/dist/{Upload-DMqlcxCt.js → Upload-DU5VOqXj.js} +1 -1
  99. package/dist/{Upload-DpQu3z1T.js → Upload-Dj5nSsug.js} +2 -2
  100. package/dist/{Year-Cv92J5pF.js → Year-B3E0kOiA.js} +1 -1
  101. package/dist/{Year-DckBNPK_.js → Year-CcbzIuwy.js} +1 -1
  102. package/dist/assets/{liquidjs-C2HVw1Ra.js → liquidjs-BfOWWjtJ.js} +119 -113
  103. package/dist/{main-KNkwb0pq.js → main-DxH9UW19.js} +3580 -3372
  104. package/dist/main.js +155 -152
  105. package/dist/style.css +1 -1
  106. package/esm/coms/commons/Table.vue.d.ts +1 -1
  107. package/esm/coms/drivers/@types/CrudProps.d.ts +2 -2
  108. package/esm/coms/drivers/Index.vue.d.ts +2 -2
  109. package/esm/coms/globals/Menu.vue.d.ts +1 -1
  110. package/esm/coms/globals/MenuItem.vue.d.ts +1 -1
  111. package/esm/coms/headers/@types/HeaderProps.d.ts +1 -1
  112. package/esm/coms/headers/Index.vue.d.ts +1 -1
  113. package/esm/coms/layouts/Index.vue.d.ts +3 -3
  114. package/esm/coms/layouts/Side.vue.d.ts +2 -2
  115. package/esm/coms/layouts/Top.vue.d.ts +1 -1
  116. package/esm/coms/lists/Racebar.vue.d.ts +1 -1
  117. package/esm/coms/lists/Statistic.vue.d.ts +1 -1
  118. package/esm/coms/lists/Tree.vue.d.ts +3 -3
  119. package/esm/coms/pages/@types/SchemaProps.d.ts +2 -1
  120. package/esm/coms/pages/Column.vue.d.ts +1 -1
  121. package/esm/coms/pages/Custom.vue.d.ts +6 -6
  122. package/esm/coms/pages/List.vue.d.ts +5 -3
  123. package/esm/coms/pages/Paging.vue.d.ts +5 -3
  124. package/esm/coms/pages/Single.vue.d.ts +3 -3
  125. package/esm/coms/pagings/@types/SearchHeaderProps.d.ts +9 -0
  126. package/esm/coms/pagings/@types/index.d.ts +2 -2
  127. package/esm/coms/pagings/Article.vue.d.ts +2 -2
  128. package/esm/coms/pagings/Index.vue.d.ts +4 -2
  129. package/esm/coms/pagings/SearchForm.vue.d.ts +1 -1
  130. package/esm/coms/pagings/SearchHeader.vue.d.ts +19 -0
  131. package/esm/coms/pagings/Table.vue.d.ts +4 -2
  132. package/esm/coms/partials/@types/PagingHeaderProps.d.ts +2 -1
  133. package/esm/coms/singles/Index.vue.d.ts +1 -1
  134. package/esm/coms/singles/Normal.vue.d.ts +1 -1
  135. package/esm/coms/singles/Table.vue.d.ts +1 -1
  136. package/esm/coms/singles/Tree.vue.d.ts +1 -1
  137. package/package.json +6 -6
  138. package/dist/Code-_XoN6vQE.js +0 -4
  139. package/dist/Custom-D5HoD0nQ.js +0 -59
  140. package/dist/Index-B_5hshjJ.js +0 -4
  141. package/dist/Index-BtlD6ocN.js +0 -4
  142. package/dist/Index-C3f38zw0.js +0 -4
  143. package/dist/Index-CB_TnEaw.js +0 -4
  144. package/dist/Index.vue_vue_type_script_setup_true_lang-BzPCaYCg.js +0 -82
  145. package/dist/List-hWB41wF_.js +0 -72
  146. package/dist/Paging-Vfz2RDBo.js +0 -93
  147. package/dist/SearchFooter-CmM8qnxP.js +0 -4
  148. package/dist/SearchFooter.vue_vue_type_style_index_0_lang-fRS96yRX.js +0 -55
  149. package/dist/Single-De-YyuVk.js +0 -318
  150. package/dist/Text-vHouxGHU.js +0 -4
@@ -20,27 +20,27 @@ class V {
20
20
  liquidMethodMissing(e) {
21
21
  }
22
22
  }
23
- const ft = Object.prototype.toString, be = String.prototype.toLowerCase, ce = Object.hasOwnProperty;
23
+ const pt = Object.prototype.toString, be = String.prototype.toLowerCase, ce = Object.hasOwnProperty;
24
24
  function _(t) {
25
25
  return typeof t == "string";
26
26
  }
27
27
  function w(t) {
28
28
  return typeof t == "function";
29
29
  }
30
- function pt(t) {
30
+ function gt(t) {
31
31
  return t && w(t.then);
32
32
  }
33
33
  function X(t) {
34
34
  return t && w(t.next) && w(t.throw) && w(t.return);
35
35
  }
36
- function gt(t) {
36
+ function mt(t) {
37
37
  return t.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&");
38
38
  }
39
39
  function c(t) {
40
40
  return t = d(t), _(t) ? t : v(t) ? "" : k(t) ? t.map((e) => c(e)).join("") : String(t);
41
41
  }
42
42
  function ue(t) {
43
- return t = d(t), k(t) ? t : _(t) && t.length > 0 ? [t] : yt(t) ? Array.from(t) : te(t) ? Object.keys(t).map((e) => [e, t[e]]) : [];
43
+ return t = d(t), k(t) ? t : _(t) && t.length > 0 ? [t] : wt(t) ? Array.from(t) : te(t) ? Object.keys(t).map((e) => [e, t[e]]) : [];
44
44
  }
45
45
  function T(t) {
46
46
  return t = d(t), v(t) ? [] : k(t) ? t : [t];
@@ -60,13 +60,13 @@ function He(t) {
60
60
  function v(t) {
61
61
  return t == null;
62
62
  }
63
- function mt(t) {
63
+ function yt(t) {
64
64
  return t === void 0;
65
65
  }
66
66
  function k(t) {
67
- return ft.call(t) === "[object Array]";
67
+ return pt.call(t) === "[object Array]";
68
68
  }
69
- function yt(t) {
69
+ function wt(t) {
70
70
  return te(t) && Symbol.iterator in t;
71
71
  }
72
72
  function _e(t, e) {
@@ -92,7 +92,7 @@ function Ye(t, e, s = 1) {
92
92
  function J(t, e, s = " ") {
93
93
  return Je(t, e, s, (r, i) => i + r);
94
94
  }
95
- function wt(t, e, s = " ") {
95
+ function Tt(t, e, s = " ") {
96
96
  return Je(t, e, s, (r, i) => r + i);
97
97
  }
98
98
  function Je(t, e, s, r) {
@@ -105,10 +105,10 @@ function Je(t, e, s, r) {
105
105
  function Qe(t) {
106
106
  return t;
107
107
  }
108
- function Tt(t) {
108
+ function kt(t) {
109
109
  return [...t].some((s) => s >= "a" && s <= "z") ? t.toUpperCase() : t.toLowerCase();
110
110
  }
111
- function kt(t, e) {
111
+ function bt(t, e) {
112
112
  return t.length > e ? t.slice(0, e - 3) + "..." : t;
113
113
  }
114
114
  function ve(t, e) {
@@ -128,7 +128,7 @@ class B extends Error {
128
128
  super(typeof e == "string" ? e : e.message), this.context = "", typeof e != "string" && Object.defineProperty(this, "originalError", { value: e, enumerable: !1 }), Object.defineProperty(this, "token", { value: s, enumerable: !1 }), Object.defineProperty(this, Le, { value: "LiquidError", enumerable: !1 });
129
129
  }
130
130
  update() {
131
- Object.defineProperty(this, "context", { value: St(this.token), enumerable: !1 }), this.message = Ot(this.message, this.token), this.stack = this.message + `
131
+ Object.defineProperty(this, "context", { value: Ot(this.token), enumerable: !1 }), this.message = Rt(this.message, this.token), this.stack = this.message + `
132
132
  ` + this.context + `
133
133
  ` + this.stack, this.originalError && (this.stack += `
134
134
  From ` + this.originalError.stack);
@@ -137,17 +137,17 @@ From ` + this.originalError.stack);
137
137
  return (e == null ? void 0 : e[Le]) === "LiquidError";
138
138
  }
139
139
  }
140
- class bt extends B {
140
+ class xt extends B {
141
141
  constructor(e, s) {
142
142
  super(e, s), this.name = "TokenizationError", super.update();
143
143
  }
144
144
  }
145
- class xt extends B {
145
+ class _t extends B {
146
146
  constructor(e, s) {
147
147
  super(e, s), this.name = "ParseError", this.message = e.message, super.update();
148
148
  }
149
149
  }
150
- class _t extends B {
150
+ class vt extends B {
151
151
  constructor(e, s) {
152
152
  super(e, s.token), this.name = "RenderError", this.message = e.message, super.update();
153
153
  }
@@ -165,22 +165,22 @@ class Ze extends B {
165
165
  return e.name === "LiquidErrors";
166
166
  }
167
167
  }
168
- class vt extends B {
168
+ class Lt extends B {
169
169
  constructor(e, s) {
170
170
  super(e, s), this.name = "UndefinedVariableError", this.message = e.message, super.update();
171
171
  }
172
172
  }
173
- class Lt extends Error {
173
+ class Ft extends Error {
174
174
  constructor(e) {
175
175
  super(`undefined variable: ${e}`), this.name = "InternalUndefinedVariableError", this.variableName = e;
176
176
  }
177
177
  }
178
- class Ft extends Error {
178
+ class St extends Error {
179
179
  constructor(e) {
180
180
  super(e), this.name = "AssertionError", this.message = e + "";
181
181
  }
182
182
  }
183
- function St(t) {
183
+ function Ot(t) {
184
184
  const [e, s] = t.getPosition(), r = t.input.split(`
185
185
  `), i = Math.max(e - 2, 1), n = Math.min(e + 3, r.length);
186
186
  return Ye(i, n + 1).map((a) => {
@@ -192,28 +192,28 @@ function St(t) {
192
192
  }).join(`
193
193
  `);
194
194
  }
195
- function Ot(t, e) {
195
+ function Rt(t, e) {
196
196
  e.file && (t += `, file:${e.file}`);
197
197
  const [s, r] = e.getPosition();
198
198
  return t += `, line:${s}, col:${r}`, t;
199
199
  }
200
- const f = [0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 4, 4, 4, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 2, 8, 0, 0, 0, 0, 8, 0, 0, 0, 64, 0, 65, 0, 0, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 0, 0, 2, 2, 2, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0], Rt = 1, H = 4, Fe = 8, Ge = 16, Et = 32, zt = 64, Nt = 128;
200
+ const f = [0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 4, 4, 4, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 2, 8, 0, 0, 0, 0, 8, 0, 0, 0, 64, 0, 65, 0, 0, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 0, 0, 2, 2, 2, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0], Et = 1, H = 4, Fe = 8, Ge = 16, zt = 32, Nt = 64, Dt = 128;
201
201
  function Q(t) {
202
202
  const e = t.charCodeAt(0);
203
- return e >= 128 ? !f[e] : !!(f[e] & Rt);
203
+ return e >= 128 ? !f[e] : !!(f[e] & Et);
204
204
  }
205
205
  f[160] = f[5760] = f[6158] = f[8192] = f[8193] = f[8194] = f[8195] = f[8196] = f[8197] = f[8198] = f[8199] = f[8200] = f[8201] = f[8202] = f[8232] = f[8233] = f[8239] = f[8287] = f[12288] = H;
206
- f[8220] = f[8221] = Nt;
206
+ f[8220] = f[8221] = Dt;
207
207
  function b(t, e) {
208
208
  if (!t) {
209
209
  const s = typeof e == "function" ? e() : e || `expect ${t} to be true`;
210
- throw new Ft(s);
210
+ throw new St(s);
211
211
  }
212
212
  }
213
213
  function K(t, e = `unexpected ${JSON.stringify(t)}`) {
214
214
  b(!t, e);
215
215
  }
216
- class Dt extends V {
216
+ class qt extends V {
217
217
  equals(e) {
218
218
  return v(d(e));
219
219
  }
@@ -253,7 +253,7 @@ class se extends V {
253
253
  return "";
254
254
  }
255
255
  }
256
- class qt extends se {
256
+ class Mt extends se {
257
257
  equals(e) {
258
258
  return e === !1 || v(d(e)) ? !0 : _(e) ? /^\s*$/.test(e) : super.equals(e);
259
259
  }
@@ -302,13 +302,13 @@ class Se extends V {
302
302
  function E(t) {
303
303
  return t && w(t.equals) && w(t.gt) && w(t.geq) && w(t.lt) && w(t.leq);
304
304
  }
305
- const Oe = new Dt(), Xe = {
305
+ const Oe = new qt(), Xe = {
306
306
  true: !0,
307
307
  false: !1,
308
308
  nil: Oe,
309
309
  null: Oe,
310
310
  empty: new se(),
311
- blank: new qt()
311
+ blank: new Mt()
312
312
  };
313
313
  function Re(t) {
314
314
  const e = {};
@@ -367,7 +367,7 @@ function N(t) {
367
367
  const i = t[r](e);
368
368
  s = i.done, e = i.value, r = "next";
369
369
  try {
370
- X(e) && (e = N(e)), pt(e) && (e = yield e);
370
+ X(e) && (e = N(e)), gt(e) && (e = yield e);
371
371
  } catch (n) {
372
372
  r = "throw", e = n;
373
373
  }
@@ -390,25 +390,25 @@ function D(t) {
390
390
  } while (!s);
391
391
  return e;
392
392
  }
393
- const Mt = /%([-_0^#:]+)?(\d+)?([EO])?(.)/;
394
- function It(t) {
395
- return [31, $t(t) ? 29 : 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
393
+ const It = /%([-_0^#:]+)?(\d+)?([EO])?(.)/;
394
+ function $t(t) {
395
+ return [31, Pt(t) ? 29 : 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
396
396
  }
397
397
  function Ke(t) {
398
398
  let e = 0;
399
399
  for (let s = 0; s < t.getMonth(); ++s)
400
- e += It(t)[s];
400
+ e += $t(t)[s];
401
401
  return e + t.getDate();
402
402
  }
403
403
  function Ee(t, e) {
404
404
  const s = Ke(t) + (e - t.getDay()), i = 7 - new Date(t.getFullYear(), 0, 1).getDay() + e;
405
405
  return String(Math.floor((s - i) / 7) + 1);
406
406
  }
407
- function $t(t) {
407
+ function Pt(t) {
408
408
  const e = t.getFullYear();
409
409
  return !!(!(e & 3) && (e % 100 || e % 400 === 0 && e));
410
410
  }
411
- function Pt(t) {
411
+ function Ct(t) {
412
412
  const e = t.getDate();
413
413
  if ([11, 12, 13].includes(e))
414
414
  return "th";
@@ -423,10 +423,10 @@ function Pt(t) {
423
423
  return "th";
424
424
  }
425
425
  }
426
- function Ct(t) {
426
+ function At(t) {
427
427
  return parseInt(t.getFullYear().toString().substring(0, 2), 10);
428
428
  }
429
- const At = {
429
+ const Vt = {
430
430
  d: 2,
431
431
  e: 2,
432
432
  H: 2,
@@ -440,7 +440,7 @@ const At = {
440
440
  S: 2,
441
441
  U: 2,
442
442
  W: 2
443
- }, Vt = new Set("aAbBceklpP");
443
+ }, Bt = new Set("aAbBceklpP");
444
444
  function ze(t, e) {
445
445
  const s = Math.abs(t.getTimezoneOffset()), r = Math.floor(s / 60), i = s % 60;
446
446
  return (t.getTimezoneOffset() > 0 ? "-" : "+") + J(r, 2, "0") + (e.flags[":"] ? ":" : "") + J(i, 2, "0");
@@ -451,7 +451,7 @@ const le = {
451
451
  b: (t) => t.getShortMonthName(),
452
452
  B: (t) => t.getLongMonthName(),
453
453
  c: (t) => t.toLocaleString(),
454
- C: (t) => Ct(t),
454
+ C: (t) => At(t),
455
455
  d: (t) => t.getDate(),
456
456
  e: (t) => t.getDate(),
457
457
  H: (t) => t.getHours(),
@@ -464,11 +464,11 @@ const le = {
464
464
  M: (t) => t.getMinutes(),
465
465
  N: (t, e) => {
466
466
  const s = Number(e.width) || 9, r = String(t.getMilliseconds()).slice(0, s);
467
- return wt(r, s, "0");
467
+ return Tt(r, s, "0");
468
468
  },
469
469
  p: (t) => t.getHours() < 12 ? "AM" : "PM",
470
470
  P: (t) => t.getHours() < 12 ? "am" : "pm",
471
- q: (t) => Pt(t),
471
+ q: (t) => Ct(t),
472
472
  s: (t) => Math.round(t.getTime() / 1e3),
473
473
  S: (t) => t.getSeconds(),
474
474
  u: (t) => t.getDay() || 7,
@@ -489,24 +489,24 @@ const le = {
489
489
  le.h = le.b;
490
490
  function Z(t, e) {
491
491
  let s = "", r = e, i;
492
- for (; i = Mt.exec(r); )
493
- s += r.slice(0, i.index), r = r.slice(i.index + i[0].length), s += Bt(t, i);
492
+ for (; i = It.exec(r); )
493
+ s += r.slice(0, i.index), r = r.slice(i.index + i[0].length), s += jt(t, i);
494
494
  return s + r;
495
495
  }
496
- function Bt(t, e) {
496
+ function jt(t, e) {
497
497
  const [s, r = "", i, n, o] = e, a = le[o];
498
498
  if (!a)
499
499
  return s;
500
500
  const l = {};
501
501
  for (const S of r)
502
502
  l[S] = !0;
503
- let h = String(a(t, { flags: l, width: i, modifier: n })), u = Vt.has(o) ? " " : "0", p = i || At[o] || 0;
504
- return l["^"] ? h = h.toUpperCase() : l["#"] && (h = Tt(h)), l._ ? u = " " : l[0] && (u = "0"), l["-"] && (p = 0), J(h, p, u);
503
+ let h = String(a(t, { flags: l, width: i, modifier: n })), u = Bt.has(o) ? " " : "0", p = i || Vt[o] || 0;
504
+ return l["^"] ? h = h.toUpperCase() : l["#"] && (h = kt(h)), l._ ? u = " " : l[0] && (u = "0"), l["-"] && (p = 0), J(h, p, u);
505
505
  }
506
506
  function et() {
507
507
  return typeof Intl < "u" ? Intl.DateTimeFormat : void 0;
508
508
  }
509
- const jt = 6e4, Ut = /([zZ]|([+-])(\d{2}):(\d{2}))$/, tt = [
509
+ const Ut = 6e4, Ht = /([zZ]|([+-])(\d{2}):(\d{2}))$/, tt = [
510
510
  "January",
511
511
  "February",
512
512
  "March",
@@ -519,7 +519,7 @@ const jt = 6e4, Ut = /([zZ]|([+-])(\d{2}):(\d{2}))$/, tt = [
519
519
  "October",
520
520
  "November",
521
521
  "December"
522
- ], Ht = tt.map((t) => t.slice(0, 3)), st = [
522
+ ], Wt = tt.map((t) => t.slice(0, 3)), st = [
523
523
  "Sunday",
524
524
  "Monday",
525
525
  "Tuesday",
@@ -527,11 +527,11 @@ const jt = 6e4, Ut = /([zZ]|([+-])(\d{2}):(\d{2}))$/, tt = [
527
527
  "Thursday",
528
528
  "Friday",
529
529
  "Saturday"
530
- ], Wt = st.map((t) => t.slice(0, 3));
530
+ ], Yt = st.map((t) => t.slice(0, 3));
531
531
  class R {
532
532
  constructor(e, s, r) {
533
533
  this.locale = s, this.DateTimeFormat = et(), this.date = new Date(e), this.timezoneFixed = r !== void 0, r === void 0 && (r = this.date.getTimezoneOffset()), this.timezoneOffset = _(r) ? R.getTimezoneOffset(r, this.date) : r, this.timezoneName = _(r) ? r : "";
534
- const i = (this.date.getTimezoneOffset() - this.timezoneOffset) * jt, n = this.date.getTime() + i;
534
+ const i = (this.date.getTimezoneOffset() - this.timezoneOffset) * Ut, n = this.date.getTime() + i;
535
535
  this.displayDate = new Date(n);
536
536
  }
537
537
  getTime() {
@@ -585,7 +585,7 @@ class R {
585
585
  }
586
586
  getShortMonthName() {
587
587
  var e;
588
- return (e = this.format({ month: "short" })) !== null && e !== void 0 ? e : Ht[this.getMonth()];
588
+ return (e = this.format({ month: "short" })) !== null && e !== void 0 ? e : Wt[this.getMonth()];
589
589
  }
590
590
  getLongWeekdayName() {
591
591
  var e;
@@ -593,7 +593,7 @@ class R {
593
593
  }
594
594
  getShortWeekdayName() {
595
595
  var e;
596
- return (e = this.format({ weekday: "short" })) !== null && e !== void 0 ? e : Wt[this.displayDate.getDay()];
596
+ return (e = this.format({ weekday: "short" })) !== null && e !== void 0 ? e : Yt[this.displayDate.getDay()];
597
597
  }
598
598
  valid() {
599
599
  return !isNaN(this.getTime());
@@ -615,7 +615,7 @@ class R {
615
615
  * Given that a template is expected to be parsed fewer times than rendered.
616
616
  */
617
617
  static createDateFixedToTimezone(e, s) {
618
- const r = e.match(Ut);
618
+ const r = e.match(Ht);
619
619
  if (r && r[1] === "Z")
620
620
  return new R(+new Date(e), s, 0);
621
621
  if (r && r[2] && r[3] && r[4]) {
@@ -664,7 +664,7 @@ class Ne extends ge {
664
664
  return this.tokenizer.input.slice(this.tokenizer.p, this.contentRange[1]);
665
665
  }
666
666
  }
667
- class Yt extends ge {
667
+ class Jt extends ge {
668
668
  constructor(e, s, r, i, n) {
669
669
  const { trimOutputLeft: o, trimOutputRight: a, outputDelimiterLeft: l, outputDelimiterRight: h } = i, u = [s + l.length, r - h.length];
670
670
  super(g.Output, u, e, s, r, o, a, n);
@@ -678,7 +678,7 @@ class De extends F {
678
678
  return this.input.slice(this.begin + this.trimLeft, this.end - this.trimRight);
679
679
  }
680
680
  }
681
- class Jt extends F {
681
+ class Qt extends F {
682
682
  constructor(e, s, r, i) {
683
683
  super(g.Number, e, s, r, i), this.input = e, this.begin = s, this.end = r, this.file = i, this.content = Number(this.getText());
684
684
  }
@@ -688,7 +688,7 @@ class ne extends F {
688
688
  super(g.Word, e, s, r, i), this.input = e, this.begin = s, this.end = r, this.file = i, this.content = this.getText();
689
689
  }
690
690
  }
691
- class Qt extends F {
691
+ class Zt extends F {
692
692
  constructor(e, s, r, i) {
693
693
  super(g.Literal, e, s, r, i), this.input = e, this.begin = s, this.end = r, this.file = i, this.literal = this.getText(), this.content = Xe[this.literal];
694
694
  }
@@ -704,7 +704,7 @@ const qe = {
704
704
  not: 1,
705
705
  and: 0,
706
706
  or: 0
707
- }, Zt = {
707
+ }, Gt = {
708
708
  "==": 0,
709
709
  "!=": 0,
710
710
  ">": 0,
@@ -717,7 +717,7 @@ const qe = {
717
717
  or: 0
718
718
  /* OperatorType.Binary */
719
719
  };
720
- class Gt extends F {
720
+ class Xt extends F {
721
721
  constructor(e, s, r, i) {
722
722
  super(g.Operator, e, s, r, i), this.input = e, this.begin = s, this.end = r, this.file = i, this.operator = this.getText();
723
723
  }
@@ -731,7 +731,7 @@ class Me extends F {
731
731
  super(g.PropertyAccess, r, i, n, o), this.variable = e, this.props = s;
732
732
  }
733
733
  }
734
- class Xt extends F {
734
+ class rt extends F {
735
735
  constructor(e, s, r, i, n, o) {
736
736
  super(g.Filter, r, i, n, o), this.name = e, this.args = s;
737
737
  }
@@ -802,7 +802,7 @@ class ns extends F {
802
802
  const os = {
803
803
  now: () => Date.now()
804
804
  };
805
- function rt() {
805
+ function it() {
806
806
  return typeof global == "object" && global.performance || typeof window == "object" && window.performance || os;
807
807
  }
808
808
  class as {
@@ -835,13 +835,13 @@ class cs {
835
835
  r || (r = s.opts.keepOutputType ? new hs() : new as());
836
836
  const i = [];
837
837
  for (const n of e) {
838
- s.renderLimit.check(rt().now());
838
+ s.renderLimit.check(it().now());
839
839
  try {
840
840
  const o = yield n.render(s, r);
841
841
  if (o && r.write(o), r.break || r.continue)
842
842
  break;
843
843
  } catch (o) {
844
- const a = B.is(o) ? o : new _t(o, n);
844
+ const a = B.is(o) ? o : new vt(o, n);
845
845
  if (s.opts.catchAllErrors)
846
846
  i.push(a);
847
847
  else
@@ -861,10 +861,10 @@ class us {
861
861
  b(e, "unable to evaluate: context not defined");
862
862
  const r = [];
863
863
  for (const i of this.postfix)
864
- if (lt(i)) {
864
+ if (ht(i)) {
865
865
  const n = r.pop();
866
866
  let o;
867
- if (Zt[i.operator] === 1)
867
+ if (Gt[i.operator] === 1)
868
868
  o = yield e.opts.operators[i.operator](n, e);
869
869
  else {
870
870
  const a = r.pop();
@@ -902,10 +902,10 @@ function* ds(t, e, s) {
902
902
  } catch (i) {
903
903
  if (s && i.name === "InternalUndefinedVariableError")
904
904
  return null;
905
- throw new vt(i, t);
905
+ throw new Lt(i, t);
906
906
  }
907
907
  }
908
- function it(t) {
908
+ function nt(t) {
909
909
  return t.content;
910
910
  }
911
911
  function* fs(t, e) {
@@ -915,7 +915,7 @@ function* fs(t, e) {
915
915
  function* ps(t) {
916
916
  const e = [];
917
917
  for (const s of t)
918
- if (lt(s)) {
918
+ if (ht(s)) {
919
919
  for (; e.length && e[e.length - 1].getPrecedence() > s.getPrecedence(); )
920
920
  yield e.pop();
921
921
  e.push(s);
@@ -982,7 +982,7 @@ class Ce {
982
982
  this.size > this.limit && this.remove(this.tail.prev.key);
983
983
  }
984
984
  }
985
- function nt(t, e) {
985
+ function ot(t, e) {
986
986
  const s = document.createElement("base");
987
987
  s.href = t;
988
988
  const r = document.getElementsByTagName("head")[0];
@@ -993,7 +993,7 @@ function nt(t, e) {
993
993
  return r.removeChild(s), n;
994
994
  }
995
995
  function ys(t, e, s) {
996
- return t.length && We(t) !== "/" && (t += "/"), nt(t, e).replace(/^(\w+:\/\/[^/]+)(\/[^?]+)/, (i, n, o) => {
996
+ return t.length && We(t) !== "/" && (t += "/"), ot(t, e).replace(/^(\w+:\/\/[^/]+)(\/[^?]+)/, (i, n, o) => {
997
997
  const a = o.split("/").pop();
998
998
  return /\.\w+$/.test(a) ? i : n + o + s;
999
999
  });
@@ -1025,7 +1025,7 @@ function bs(t) {
1025
1025
  return !0;
1026
1026
  }
1027
1027
  function xs(t) {
1028
- return nt(t, ".");
1028
+ return ot(t, ".");
1029
1029
  }
1030
1030
  const _s = "/";
1031
1031
  var vs = /* @__PURE__ */ Object.freeze({
@@ -1061,7 +1061,7 @@ const Os = {
1061
1061
  raw: !0,
1062
1062
  handler: Qe
1063
1063
  };
1064
- var ot = {
1064
+ var at = {
1065
1065
  default: Ls,
1066
1066
  raw: Os,
1067
1067
  jsonify: Ae,
@@ -1191,7 +1191,7 @@ function Ps(t) {
1191
1191
  return t = Object.assign(Object.assign(Object.assign({}, U), t.jekyllInclude ? { dynamicPartials: !1 } : {}), t), (!t.fs.dirname || !t.fs.sep) && t.relativeReference && (console.warn("[LiquidJS] `fs.dirname` and `fs.sep` are required for relativeReference, set relativeReference to `false` to suppress this warning"), t.relativeReference = !1), t.root = G(t.root), t.partials = G(t.partials), t.layouts = G(t.layouts), t.outputEscape = t.outputEscape && Cs(t.outputEscape), t.locale || (t.locale = (s = (e = et()) === null || e === void 0 ? void 0 : e().resolvedOptions().locale) !== null && s !== void 0 ? s : "en-US"), t.templates && (t.fs = new $s(t.templates), t.relativeReference = !0, t.root = t.partials = t.layouts = "."), t;
1192
1192
  }
1193
1193
  function Cs(t) {
1194
- return t === "escape" ? ie : t === "json" ? ot.json : (b(w(t), "`outputEscape` need to be of type string or function"), t);
1194
+ return t === "escape" ? ie : t === "json" ? at.json : (b(w(t), "`outputEscape` need to be of type string or function"), t);
1195
1195
  }
1196
1196
  function G(t) {
1197
1197
  let e = [];
@@ -1246,7 +1246,7 @@ class z {
1246
1246
  this.skipBlank();
1247
1247
  const e = this.matchTrie(this.opTrie);
1248
1248
  if (e !== -1)
1249
- return new Gt(this.input, this.p, this.p = e, this.file);
1249
+ return new Xt(this.input, this.p, this.p = e, this.file);
1250
1250
  }
1251
1251
  matchTrie(e) {
1252
1252
  let s = e, r = this.p, i;
@@ -1272,19 +1272,19 @@ class z {
1272
1272
  readFilter() {
1273
1273
  if (this.skipBlank(), this.end())
1274
1274
  return null;
1275
- this.assert(this.peek() === "|", 'expected "|" before filter'), this.p++;
1276
- const e = this.p, s = this.readIdentifier();
1277
- if (!s.size())
1275
+ this.assert(this.read() === "|", 'expected "|" before filter');
1276
+ const e = this.readIdentifier();
1277
+ if (!e.size())
1278
1278
  return this.assert(this.end(), "expected filter name"), null;
1279
- const r = [];
1279
+ const s = [];
1280
1280
  if (this.skipBlank(), this.peek() === ":")
1281
1281
  do {
1282
1282
  ++this.p;
1283
- const i = this.readFilterArg();
1284
- i && r.push(i), this.skipBlank(), this.assert(this.end() || this.peek() === "," || this.peek() === "|", () => `unexpected character ${this.snapshot()}`);
1283
+ const r = this.readFilterArg();
1284
+ r && s.push(r), this.skipBlank(), this.assert(this.end() || this.peek() === "," || this.peek() === "|", () => `unexpected character ${this.snapshot()}`);
1285
1285
  } while (this.peek() === ",");
1286
1286
  else if (!(this.peek() === "|" || this.end())) throw this.error('expected ":" after filter name');
1287
- return new Xt(s.getText(), r, this.input, e, this.p, this.file);
1287
+ return new rt(e.getText(), s, this.input, e.begin, this.p, this.file);
1288
1288
  }
1289
1289
  readFilterArg() {
1290
1290
  const e = this.readValue();
@@ -1336,7 +1336,7 @@ class z {
1336
1336
  const { file: s, input: r } = this, { outputDelimiterRight: i } = e, n = this.p;
1337
1337
  if (this.readToDelimiter(i, !0) === -1)
1338
1338
  throw this.error(`output ${this.snapshot(n)} not closed`, n);
1339
- return new Yt(r, n, this.p, e, s);
1339
+ return new Jt(r, n, this.p, e, s);
1340
1340
  }
1341
1341
  readEndrawOrRawContent(e) {
1342
1342
  const { tagDelimiterLeft: s, tagDelimiterRight: r } = e, i = this.p;
@@ -1376,14 +1376,14 @@ class z {
1376
1376
  return new is(this.input, s, r, e, this.file);
1377
1377
  }
1378
1378
  error(e, s = this.p) {
1379
- return new bt(e, new ne(this.input, s, this.N, this.file));
1379
+ return new xt(e, new ne(this.input, s, this.N, this.file));
1380
1380
  }
1381
1381
  assert(e, s, r) {
1382
1382
  if (!e)
1383
1383
  throw this.error(typeof s == "function" ? s() : s, r);
1384
1384
  }
1385
1385
  snapshot(e = this.p) {
1386
- return JSON.stringify(kt(this.input.slice(e, this.N), 32));
1386
+ return JSON.stringify(bt(this.input.slice(e, this.N), 32));
1387
1387
  }
1388
1388
  /**
1389
1389
  * @deprecated use #readIdentifier instead
@@ -1433,6 +1433,9 @@ class z {
1433
1433
  end() {
1434
1434
  return this.p >= this.N;
1435
1435
  }
1436
+ read() {
1437
+ return this.input[this.p++];
1438
+ }
1436
1439
  readTo(e) {
1437
1440
  for (; this.p < this.N; )
1438
1441
  if (++this.p, this.rmatch(e))
@@ -1481,8 +1484,8 @@ class z {
1481
1484
  readNumber() {
1482
1485
  this.skipBlank();
1483
1486
  let e = !1, s = !1, r = 0;
1484
- for (this.peekType() & zt && r++; this.p + r <= this.N; )
1485
- if (this.peekType(r) & Et)
1487
+ for (this.peekType() & Nt && r++; this.p + r <= this.N; )
1488
+ if (this.peekType(r) & zt)
1486
1489
  s = !0, r++;
1487
1490
  else if (this.peek(r) === "." && this.peek(r + 1) !== ".") {
1488
1491
  if (e || !s)
@@ -1491,7 +1494,7 @@ class z {
1491
1494
  } else
1492
1495
  break;
1493
1496
  if (s && !Q(this.peek(r))) {
1494
- const i = new Jt(this.input, this.p, this.p + r, this.file);
1497
+ const i = new Qt(this.input, this.p, this.p + r, this.file);
1495
1498
  return this.advance(r), i;
1496
1499
  }
1497
1500
  }
@@ -1500,7 +1503,7 @@ class z {
1500
1503
  const e = this.matchTrie(this.literalTrie);
1501
1504
  if (e === -1)
1502
1505
  return;
1503
- const s = new Qt(this.input, this.p, e, this.file);
1506
+ const s = new Zt(this.input, this.p, e, this.file);
1504
1507
  return this.p = e, s;
1505
1508
  }
1506
1509
  readRange() {
@@ -1621,15 +1624,15 @@ function Us(t) {
1621
1624
  function Hs(t) {
1622
1625
  return k(t);
1623
1626
  }
1624
- class at {
1625
- constructor(e, s, r, i) {
1626
- this.name = e, this.handler = w(s) ? s : w(s == null ? void 0 : s.handler) ? s.handler : Qe, this.raw = !w(s) && !!(s != null && s.raw), this.args = r, this.liquid = i;
1627
+ class lt {
1628
+ constructor(e, s, r) {
1629
+ this.token = e, this.name = e.name, this.handler = w(s) ? s : w(s == null ? void 0 : s.handler) ? s.handler : Qe, this.raw = !w(s) && !!(s != null && s.raw), this.args = e.args, this.liquid = r;
1627
1630
  }
1628
1631
  *render(e, s) {
1629
1632
  const r = [];
1630
1633
  for (const i of this.args)
1631
1634
  Hs(i) ? r.push([i[0], yield y(i[1], s)]) : r.push(yield y(i, s));
1632
- return yield this.handler.apply({ context: s, liquid: this.liquid }, [e, ...r]);
1635
+ return yield this.handler.apply({ context: s, token: this.token, liquid: this.liquid }, [e, ...r]);
1633
1636
  }
1634
1637
  }
1635
1638
  class L {
@@ -1639,7 +1642,7 @@ class L {
1639
1642
  constructor(e, s) {
1640
1643
  this.filters = [];
1641
1644
  const r = typeof e == "string" ? new z(e, s.options.operators).readFilteredValue() : e;
1642
- this.initial = r.initial, this.filters = r.filters.map(({ name: i, args: n }) => new at(i, this.getFilter(s, i), n, s));
1645
+ this.initial = r.initial, this.filters = r.filters.map((i) => new lt(i, this.getFilter(s, i.name), s));
1643
1646
  }
1644
1647
  *value(e, s) {
1645
1648
  s = s || e.opts.lenientIf && this.filters.length > 0 && this.filters[0].name === "default";
@@ -1660,7 +1663,10 @@ class Ws extends me {
1660
1663
  const i = new z(e.input, s.options.operators, e.file, e.contentRange);
1661
1664
  this.value = new L(i.readFilteredValue(), s);
1662
1665
  const n = this.value.filters, o = s.options.outputEscape;
1663
- !(!((r = n[n.length - 1]) === null || r === void 0) && r.raw) && o && n.push(new at(toString.call(o), o, [], s));
1666
+ if (!(!((r = n[n.length - 1]) === null || r === void 0) && r.raw) && o) {
1667
+ const a = new rt(toString.call(o), [], "", 0, 0);
1668
+ n.push(new lt(a, o, s));
1669
+ }
1664
1670
  }
1665
1671
  *render(e, s) {
1666
1672
  const r = yield this.value.value(e, !1);
@@ -1684,7 +1690,7 @@ class Js {
1684
1690
  if (this.options = e, e.relativeReference) {
1685
1691
  const s = e.fs.sep;
1686
1692
  b(s, "`fs.sep` is required for relative reference");
1687
- const r = new RegExp(["." + s, ".." + s, "./", "../"].map((i) => gt(i)).join("|"));
1693
+ const r = new RegExp(["." + s, ".." + s, "./", "../"].map((i) => mt(i)).join("|"));
1688
1694
  this.shouldLoadRelative = (i) => r.test(i);
1689
1695
  } else
1690
1696
  this.shouldLoadRelative = (s) => !1;
@@ -1758,7 +1764,7 @@ class M {
1758
1764
  }
1759
1765
  return Zs(e) ? new Ws(e, this.liquid) : new Ys(e);
1760
1766
  } catch (r) {
1761
- throw B.is(r) ? r : new xt(r, e);
1767
+ throw B.is(r) ? r : new _t(r, e);
1762
1768
  }
1763
1769
  }
1764
1770
  parseStream(e) {
@@ -1788,7 +1794,7 @@ var g;
1788
1794
  function Qs(t) {
1789
1795
  return !!(q(t) & g.Delimited);
1790
1796
  }
1791
- function lt(t) {
1797
+ function ht(t) {
1792
1798
  return q(t) === g.Operator;
1793
1799
  }
1794
1800
  function ye(t) {
@@ -1815,7 +1821,7 @@ function q(t) {
1815
1821
  class I {
1816
1822
  constructor(e = {}, s = U, r = {}, { memoryLimit: i, renderLimit: n } = {}) {
1817
1823
  var o, a, l, h, u;
1818
- this.scopes = [{}], this.registers = {}, this.sync = !!r.sync, this.opts = s, this.globals = (o = r.globals) !== null && o !== void 0 ? o : s.globals, this.environments = te(e) ? e : Object(e), this.strictVariables = (a = r.strictVariables) !== null && a !== void 0 ? a : this.opts.strictVariables, this.ownPropertyOnly = (l = r.ownPropertyOnly) !== null && l !== void 0 ? l : s.ownPropertyOnly, this.memoryLimit = i ?? new he("memory alloc", (h = r.memoryLimit) !== null && h !== void 0 ? h : s.memoryLimit), this.renderLimit = n ?? new he("template render", rt().now() + ((u = r.renderLimit) !== null && u !== void 0 ? u : s.renderLimit));
1824
+ this.scopes = [{}], this.registers = {}, this.sync = !!r.sync, this.opts = s, this.globals = (o = r.globals) !== null && o !== void 0 ? o : s.globals, this.environments = te(e) ? e : Object(e), this.strictVariables = (a = r.strictVariables) !== null && a !== void 0 ? a : this.opts.strictVariables, this.ownPropertyOnly = (l = r.ownPropertyOnly) !== null && l !== void 0 ? l : s.ownPropertyOnly, this.memoryLimit = i ?? new he("memory alloc", (h = r.memoryLimit) !== null && h !== void 0 ? h : s.memoryLimit), this.renderLimit = n ?? new he("template render", it().now() + ((u = r.renderLimit) !== null && u !== void 0 ? u : s.renderLimit));
1819
1825
  }
1820
1826
  getRegister(e) {
1821
1827
  return this.registers[e] = this.registers[e] || {};
@@ -1854,8 +1860,8 @@ class I {
1854
1860
  *_getFromScope(e, s, r = this.strictVariables) {
1855
1861
  _(s) && (s = s.split("."));
1856
1862
  for (let i = 0; i < s.length; i++)
1857
- if (e = yield er(e, s[i], this.ownPropertyOnly), r && mt(e))
1858
- throw new Lt(s.slice(0, i + 1).join("."));
1863
+ if (e = yield er(e, s[i], this.ownPropertyOnly), r && yt(e))
1864
+ throw new Ft(s.slice(0, i + 1).join("."));
1859
1865
  return e;
1860
1866
  }
1861
1867
  push(e) {
@@ -2008,12 +2014,12 @@ function qr(t) {
2008
2014
  const e = T(t);
2009
2015
  return this.context.memoryLimit.use(e.length), e.filter((s) => !v(d(s)));
2010
2016
  }
2011
- function ht(t, e = []) {
2017
+ function ct(t, e = []) {
2012
2018
  const s = T(t), r = T(e);
2013
2019
  return this.context.memoryLimit.use(s.length + r.length), s.concat(r);
2014
2020
  }
2015
2021
  function Mr(t, e) {
2016
- return ht.call(this, t, [e]);
2022
+ return ct.call(this, t, [e]);
2017
2023
  }
2018
2024
  function Ir(t, e) {
2019
2025
  const s = T(t);
@@ -2105,7 +2111,7 @@ var Jr = /* @__PURE__ */ Object.freeze({
2105
2111
  map: Nr,
2106
2112
  sum: Dr,
2107
2113
  compact: qr,
2108
- concat: ht,
2114
+ concat: ct,
2109
2115
  push: Mr,
2110
2116
  unshift: Ir,
2111
2117
  pop: $r,
@@ -2124,7 +2130,7 @@ function we(t, e, s) {
2124
2130
  var r, i, n;
2125
2131
  const o = ((r = t == null ? void 0 : t.length) !== null && r !== void 0 ? r : 0) + ((i = e == null ? void 0 : e.length) !== null && i !== void 0 ? i : 0) + ((n = s == null ? void 0 : s.length) !== null && n !== void 0 ? n : 0);
2126
2132
  this.context.memoryLimit.use(o);
2127
- const a = ut(t, this.context.opts, s);
2133
+ const a = dt(t, this.context.opts, s);
2128
2134
  return a ? (e = d(e), e = v(e) ? this.context.opts.dateFormat : c(e), Z(a, e)) : t;
2129
2135
  }
2130
2136
  function Qr(t) {
@@ -2134,13 +2140,13 @@ function Zr(t) {
2134
2140
  return we.call(this, t, "%a, %d %b %Y %H:%M:%S %z");
2135
2141
  }
2136
2142
  function Gr(t, e, s) {
2137
- return ct.call(this, t, "%b", e, s);
2143
+ return ut.call(this, t, "%b", e, s);
2138
2144
  }
2139
2145
  function Xr(t, e, s) {
2140
- return ct.call(this, t, "%B", e, s);
2146
+ return ut.call(this, t, "%B", e, s);
2141
2147
  }
2142
- function ct(t, e, s, r) {
2143
- const i = ut(t, this.context.opts);
2148
+ function ut(t, e, s, r) {
2149
+ const i = dt(t, this.context.opts);
2144
2150
  if (!i)
2145
2151
  return t;
2146
2152
  if (s === "ordinal") {
@@ -2149,7 +2155,7 @@ function ct(t, e, s, r) {
2149
2155
  }
2150
2156
  return Z(i, `%d ${e} %Y`);
2151
2157
  }
2152
- function ut(t, e, s) {
2158
+ function dt(t, e, s) {
2153
2159
  let r;
2154
2160
  const i = s ?? e.timezoneOffset, n = e.locale;
2155
2161
  return t = d(t), t === "now" || t === "today" ? r = new R(Date.now(), n, i) : de(t) ? r = new R(t * 1e3, n, i) : _(t) ? /^\d+$/.test(t) ? r = new R(+t * 1e3, n, i) : e.preserveTimezones && s === void 0 ? r = R.createDateFixedToTimezone(t, n) : r = new R(t, n, i) : r = new R(t, n, i), r.valid() ? r : void 0;
@@ -2303,7 +2309,7 @@ var bi = /* @__PURE__ */ Object.freeze({
2303
2309
  number_of_words: Ti,
2304
2310
  array_to_sentence_string: ki
2305
2311
  });
2306
- const xi = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Is), mr), vr), Jr), Kr), bi), ot);
2312
+ const xi = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Is), mr), vr), Jr), Kr), bi), at);
2307
2313
  class _i extends m {
2308
2314
  constructor(e, s, r) {
2309
2315
  super(e, s, r), this.key = this.tokenizer.readIdentifier().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 L(this.tokenizer.readFilteredValue(), this.liquid);
@@ -2382,7 +2388,7 @@ class Oi extends m {
2382
2388
  return e;
2383
2389
  const s = this.tokenizer.readQuoted();
2384
2390
  if (s)
2385
- return it(s);
2391
+ return nt(s);
2386
2392
  throw this.tokenizer.error("invalid capture name");
2387
2393
  }
2388
2394
  }
@@ -2485,7 +2491,7 @@ function Te(t, e, s) {
2485
2491
  if (t.assert(n, "illegal file path"), n.getText() === "none")
2486
2492
  return;
2487
2493
  if (Gs(n)) {
2488
- const o = s.parse(it(n));
2494
+ const o = s.parse(nt(n));
2489
2495
  return Ue(o);
2490
2496
  }
2491
2497
  return n;
@@ -2792,7 +2798,7 @@ const Ji = {
2792
2798
  liquid: Wi,
2793
2799
  "#": Yi
2794
2800
  };
2795
- class dt {
2801
+ class ft {
2796
2802
  constructor(e = {}) {
2797
2803
  this.renderer = new cs(), this.filters = {}, this.tags = {}, this.options = Ps(e), this.parser = new M(this), _e(Ji, (s, r) => this.registerTag(r, s)), _e(xi, (s, r) => this.registerFilter(r, s));
2798
2804
  }
@@ -2881,7 +2887,7 @@ class dt {
2881
2887
  this.tags[e] = w(s) ? s : Us(s);
2882
2888
  }
2883
2889
  plugin(e) {
2884
- return e.call(this, dt);
2890
+ return e.call(this, ft);
2885
2891
  }
2886
2892
  express() {
2887
2893
  const e = this;
@@ -2897,5 +2903,5 @@ class dt {
2897
2903
  }
2898
2904
  }
2899
2905
  export {
2900
- dt as L
2906
+ ft as L
2901
2907
  };