@aiao/code-editor 0.0.8 → 0.0.9

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 (27) hide show
  1. package/dist/{index-qH2lMs0G.js → index-4oLq9F9B.js} +4 -4
  2. package/dist/{index-CpRVx97-.js → index-9NH8hlZ-.js} +2 -2
  3. package/dist/{index-DEB5VK0f.js → index-BFXNCCbG.js} +23 -22
  4. package/dist/{index-D0BZOY-S.js → index-BLHYcXXK.js} +4 -4
  5. package/dist/{index-Bg1KDWyt.js → index-BQU3Rb2C.js} +3 -3
  6. package/dist/{index-CrbQBmWq.js → index-Bg18ePld.js} +2 -2
  7. package/dist/{index-D0svJS59.js → index-Bp5lqnbN.js} +3 -3
  8. package/dist/{index-srIksFxX.js → index-Bqzq8A1N.js} +2 -2
  9. package/dist/{index-Dy-OpkyQ.js → index-Bx-s4g99.js} +2 -2
  10. package/dist/{index-C71CZfUx.js → index-BxX25QmV.js} +19 -18
  11. package/dist/{index-Ds4AioqO.js → index-CFCzgc33.js} +3 -3
  12. package/dist/{index-D93XVMi1.js → index-CL7JTU9M.js} +3 -3
  13. package/dist/{index-DIaXGPFp.js → index-CZGsg2Zk.js} +73 -64
  14. package/dist/{index-ZJkjD9tT.js → index-CipmEceX.js} +4 -4
  15. package/dist/{index-BuVm7ZG6.js → index-Cv4vvpa2.js} +1 -1
  16. package/dist/index-D4hhdPbZ.js +6153 -0
  17. package/dist/{index-CqvQj6d-.js → index-DhNQ8g9I.js} +3 -3
  18. package/dist/{index-BNuasEBW.js → index-Djp53tAP.js} +2 -2
  19. package/dist/{index-CQ6JWNwi.js → index-KlsAFhIj.js} +3 -3
  20. package/dist/{index-BMiCCEB1.js → index-OntZqtu6.js} +2 -2
  21. package/dist/{index-CzovO10m.js → index-PGnZjMCR.js} +3 -3
  22. package/dist/{index-BvS1cnHq.js → index-TyYoYgss.js} +3 -3
  23. package/dist/{index-Dp8osI_J.js → index-oMSPmlXA.js} +2 -2
  24. package/dist/{index-C44L0DmY.js → index-rQC6Gbk0.js} +2 -2
  25. package/dist/index.js +11 -11
  26. package/package.json +4 -1
  27. package/dist/index-Dyi9rNIT.js +0 -391
@@ -1,7 +1,7 @@
1
- import { L as be, E as $, C as he } from "./index-BuVm7ZG6.js";
2
- import { p as Te, s as Pe, t as b, E as xe, a as Ve, L as ye, b as K, e as we, i as ve, f as Xe, g as $e } from "./index-DIaXGPFp.js";
3
- import { cssLanguage as J, css as _e } from "./index-Dp8osI_J.js";
4
- import { typescriptLanguage as qe, jsxLanguage as Ce, tsxLanguage as ke, javascriptLanguage as M, javascript as Qe } from "./index-D0svJS59.js";
1
+ import { L as be, E as $, C as he } from "./index-Cv4vvpa2.js";
2
+ import { p as Te, s as Pe, t as b, E as xe, a as Ve, L as ye, b as K, e as we, i as ve, f as Xe, g as $e } from "./index-CZGsg2Zk.js";
3
+ import { cssLanguage as J, css as _e } from "./index-oMSPmlXA.js";
4
+ import { typescriptLanguage as qe, jsxLanguage as Ce, tsxLanguage as ke, javascriptLanguage as M, javascript as Qe } from "./index-Bp5lqnbN.js";
5
5
  const Ae = 55, Ye = 1, Me = 56, Re = 2, Ee = 57, Ze = 3, z = 4, Be = 5, R = 6, ee = 7, te = 8, ae = 9, le = 10, ze = 11, De = 12, We = 13, _ = 58, Ne = 14, Ge = 15, D = 59, re = 21, Ie = 23, ne = 24, je = 25, A = 27, se = 28, Ue = 29, Le = 32, Fe = 35, He = 37, Ke = 38, Je = 0, et = 1, tt = {
6
6
  area: !0,
7
7
  base: !0,
@@ -1,5 +1,5 @@
1
- import { L as W, E as i, C as B } from "./index-BuVm7ZG6.js";
2
- import { s as U, t as n, a as C, L as b, p as E, i as u, f as M, h as v, d as N } from "./index-DIaXGPFp.js";
1
+ import { L as W, E as i, C as B } from "./index-Cv4vvpa2.js";
2
+ import { s as U, t as n, a as C, L as b, p as E, i as u, f as M, h as v, d as N } from "./index-CZGsg2Zk.js";
3
3
  const c = 63, D = 64, j = 1, A = 2, y = 3, H = 4, Z = 5, F = 6, I = 7, z = 65, K = 66, J = 8, OO = 9, eO = 10, aO = 11, rO = 12, V = 13, tO = 19, nO = 20, oO = 29, PO = 33, QO = 34, sO = 47, lO = 0, T = 1, g = 2, d = 3, m = 4;
4
4
  class s {
5
5
  constructor(e, a, r) {
@@ -1,6 +1,7 @@
1
- import { E as u, L as x, e as p, a as h, p as y, b as X, s as b, i as Z, f as j, t as n, h as G } from "./index-DIaXGPFp.js";
2
- import { html as W } from "./index-qH2lMs0G.js";
3
- import { L as V, E as c } from "./index-BuVm7ZG6.js";
1
+ import { L as u, e as x, a as p, p as h, b as y, s as X, i as b, f as Z, t as n, h as j } from "./index-CZGsg2Zk.js";
2
+ import { html as G } from "./index-4oLq9F9B.js";
3
+ import { L as W, E as c } from "./index-Cv4vvpa2.js";
4
+ import { E as V } from "./index-D4hhdPbZ.js";
4
5
  const S = 1, w = 2, k = 3, _ = 180, R = 4, z = 181, v = 5, E = 182, U = 6;
5
6
  function D(O) {
6
7
  return O >= 65 && O <= 90 || O >= 97 && O <= 122;
@@ -48,7 +49,7 @@ const F = /* @__PURE__ */ new c((O) => {
48
49
  }
49
50
  O.pos > a && O.acceptToken(_);
50
51
  });
51
- function g(O, a, e) {
52
+ function f(O, a, e) {
52
53
  return new c((r) => {
53
54
  let $ = r.pos;
54
55
  for (; ; ) {
@@ -81,13 +82,13 @@ function g(O, a, e) {
81
82
  r.pos > $ && r.acceptToken(a);
82
83
  });
83
84
  }
84
- const C = /* @__PURE__ */ g("endcomment", E, v), N = /* @__PURE__ */ g("endraw", z, R), Y = /* @__PURE__ */ new c((O) => {
85
+ const C = /* @__PURE__ */ f("endcomment", E, v), N = /* @__PURE__ */ f("endraw", z, R), Y = /* @__PURE__ */ new c((O) => {
85
86
  if (O.next == 35) {
86
87
  for (O.advance(); !(O.next == 10 || O.next < 0 || (O.next == 37 || O.next == 125) && O.peek(1) == 125); )
87
88
  O.advance();
88
89
  O.acceptToken(U);
89
90
  }
90
- }), I = { __proto__: null, contains: 34, or: 38, and: 38, true: 52, false: 52, empty: 54, forloop: 56, tablerowloop: 58, continue: 60, in: 130, with: 196, for: 198, as: 200, if: 236, endif: 240, unless: 246, endunless: 250, elsif: 254, else: 258, case: 264, endcase: 268, when: 272, endfor: 280, tablerow: 286, endtablerow: 290, break: 294, cycle: 300, echo: 304, render: 308, include: 312, assign: 316, capture: 322, endcapture: 326, increment: 330, decrement: 334 }, L = { __proto__: null, if: 86, endif: 90, elsif: 94, else: 98, unless: 104, endunless: 108, case: 114, endcase: 118, when: 122, for: 128, endfor: 138, tablerow: 144, endtablerow: 148, break: 152, continue: 156, cycle: 160, comment: 166, endcomment: 172, raw: 178, endraw: 184, echo: 188, render: 192, include: 204, assign: 208, capture: 214, endcapture: 218, increment: 222, decrement: 226, liquid: 230 }, A = /* @__PURE__ */ V.deserialize({
91
+ }), I = { __proto__: null, contains: 34, or: 38, and: 38, true: 52, false: 52, empty: 54, forloop: 56, tablerowloop: 58, continue: 60, in: 130, with: 196, for: 198, as: 200, if: 236, endif: 240, unless: 246, endunless: 250, elsif: 254, else: 258, case: 264, endcase: 268, when: 272, endfor: 280, tablerow: 286, endtablerow: 290, break: 294, cycle: 300, echo: 304, render: 308, include: 312, assign: 316, capture: 322, endcapture: 326, increment: 330, decrement: 334 }, L = { __proto__: null, if: 86, endif: 90, elsif: 94, else: 98, unless: 104, endunless: 108, case: 114, endcase: 118, when: 122, for: 128, endfor: 138, tablerow: 144, endtablerow: 148, break: 152, continue: 156, cycle: 160, comment: 166, endcomment: 172, raw: 178, endraw: 184, echo: 188, render: 192, include: 204, assign: 208, capture: 214, endcapture: 218, increment: 222, decrement: 226, liquid: 230 }, A = /* @__PURE__ */ W.deserialize({
91
92
  version: 14,
92
93
  states: "HOQYOPOOOOOP'#F{'#F{OeOaO'#CdOsQhO'#CfO!bQxO'#DSO#{OPO'#DVO$ZOPO'#D`O$iOPO'#DeO$wOPO'#DlO%VOPO'#DtO%eOSO'#EP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y#Vqy#jqy#oqy#sqy#uqy#xqy#|qy$Tqy$Xqy$[qy$^qy$`qy$bqy$dqy$gqy$kqy$mqy#lqy#qqy#zqy$Qqy$Vqy$iqy~Ou#Tqx#Tq#U#Tq#V#Tqn#Tq#j#Tq#o#Tq#s#Tq#u#Tq#x#Tq#|#Tq$T#Tq$X#Tq$[#Tq$^#Tq$`#Tq$b#Tq$d#Tq$g#Tq$k#Tq$m#Tq#l#Tq#q#Tq#z#Tq$Q#Tq$V#Tq$i#Tq~P-aO%R&zOn$Oy#V$Oy#j$Oy#o$Oy#s$Oy#u$Oy#x$Oy#|$Oy$Q$Oy$T$Oy$X$Oy$[$Oy$^$Oy$`$Oy$b$Oy$d$Oy$g$Oy$k$Oy$m$Oy~O%R&zOn$Sy#V$Sy#j$Sy#o$Sy#s$Sy#u$Sy#x$Sy#|$Sy$T$Sy$V$Sy$X$Sy$[$Sy$^$Sy$`$Sy$b$Sy$d$Sy$g$Sy$k$Sy$m$Sy~Ou$tOn$Zyx$Zy#V$Zy#j$Zy#o$Zy#s$Zy#u$Zy#x$Zy#|$Zy$T$Zy$X$Zy$[$Zy$^$Zy$`$Zy$b$Zy$d$Zy$g$Zy$k$Zy$m$Zy#l$Zy#q$Zy#z$Zy$Q$Zy$V$Zy$i$Zy~Ox!di%R!din!di#V!di#j!di#o!di#s!di#u!di#x!di#|!di$Q!di$T!di$X!di$[!di$^!di$`!di$b!di$d!di$g!di$k!di$m!di$V!di~P-aO",
@@ -113,7 +114,7 @@ function l(O, a) {
113
114
  const q = /* @__PURE__ */ l("abs append at_least at_most capitalize ceil compact concat date default divided_by downcase escape escape_once first floor join last lstrip map minus modulo newline_to_br plus prepend remove remove_first replace replace_first reverse round rstrip size slice sort sort_natural split strip strip_html strip_newlines sum times truncate truncatewords uniq upcase url_decode url_encode where", "function"), m = /* @__PURE__ */ l("cycle comment endcomment raw endraw echo increment decrement liquid if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue assign capture endcapture render include", "keyword"), T = /* @__PURE__ */ l("empty forloop tablerowloop in with as", "keyword"), B = /* @__PURE__ */ l("first index index0 last length rindex", "property"), H = /* @__PURE__ */ l("col col0 col_first col_last first index index0 last length rindex rindex0 row", "property");
114
115
  function M(O) {
115
116
  var a;
116
- let { state: e, pos: r } = O, $ = X(e).resolveInner(r, -1).enterUnfinishedNodesBefore(r), i = ((a = $.childBefore(r)) === null || a === void 0 ? void 0 : a.name) || $.name;
117
+ let { state: e, pos: r } = O, $ = y(e).resolveInner(r, -1).enterUnfinishedNodesBefore(r), i = ((a = $.childBefore(r)) === null || a === void 0 ? void 0 : a.name) || $.name;
117
118
  if ($.name == "FilterName")
118
119
  return { type: "filter", node: $ };
119
120
  if (O.explicit && i == "|")
@@ -165,9 +166,9 @@ function K(O = {}) {
165
166
  return t.type == "filter" ? s = a : t.type == "tag" ? s = e : t.type == "expression" ? s = r : s = J(i.state, t.target, i, $), s.length ? { options: s, from: o, validFor: /^[\w\u00c0-\uffff]*$/ } : null;
166
167
  };
167
168
  }
168
- const OO = /* @__PURE__ */ u.inputHandler.of((O, a, e, r) => r != "%" || a != e || O.state.doc.sliceString(a - 1, e + 1) != "{}" ? !1 : (O.dispatch(O.state.changeByRange(($) => ({
169
+ const OO = /* @__PURE__ */ V.inputHandler.of((O, a, e, r) => r != "%" || a != e || O.state.doc.sliceString(a - 1, e + 1) != "{}" ? !1 : (O.dispatch(O.state.changeByRange(($) => ({
169
170
  changes: { from: $.from, to: $.to, insert: "%%" },
170
- range: p.cursor($.from + 1)
171
+ range: x.cursor($.from + 1)
171
172
  })), {
172
173
  scrollIntoView: !0,
173
174
  userEvent: "input.type"
@@ -178,11 +179,11 @@ function d(O) {
178
179
  return a.lineIndent(a.node.from) + (e ? 0 : a.unit);
179
180
  };
180
181
  }
181
- const $O = /* @__PURE__ */ h.define({
182
+ const $O = /* @__PURE__ */ p.define({
182
183
  name: "liquid",
183
184
  parser: /* @__PURE__ */ A.configure({
184
185
  props: [
185
- /* @__PURE__ */ b({
186
+ /* @__PURE__ */ X({
186
187
  "cycle comment endcomment raw endraw echo increment decrement liquid in with as": n.keyword,
187
188
  "empty forloop tablerowloop": n.atom,
188
189
  "if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue": n.controlKeyword,
@@ -207,13 +208,13 @@ const $O = /* @__PURE__ */ h.define({
207
208
  ".": n.derefOperator,
208
209
  ", .. : |": n.punctuation
209
210
  }),
210
- /* @__PURE__ */ Z.add({
211
- Tag: /* @__PURE__ */ G({ closing: "%}" }),
211
+ /* @__PURE__ */ b.add({
212
+ Tag: /* @__PURE__ */ j({ closing: "%}" }),
212
213
  "UnlessDirective ForDirective TablerowDirective CaptureDirective": /* @__PURE__ */ d(/^\s*(\{%-?\s*)?end\w/),
213
214
  IfDirective: /* @__PURE__ */ d(/^\s*(\{%-?\s*)?(endif|else|elsif)\b/),
214
215
  CaseDirective: /* @__PURE__ */ d(/^\s*(\{%-?\s*)?(endcase|when)\b/)
215
216
  }),
216
- /* @__PURE__ */ j.add({
217
+ /* @__PURE__ */ Z.add({
217
218
  "UnlessDirective ForDirective TablerowDirective CaptureDirective IfDirective CaseDirective RawDirective Comment"(O) {
218
219
  let a = O.firstChild, e = O.lastChild;
219
220
  return !a || a.name != "Tag" ? null : { from: a.to, to: e.name == "EndTag" ? e.from : O.to };
@@ -225,19 +226,19 @@ const $O = /* @__PURE__ */ h.define({
225
226
  commentTokens: { line: "#" },
226
227
  indentOnInput: /^\s*{%-?\s*(?:end|elsif|else|when|)$/
227
228
  }
228
- }), P = /* @__PURE__ */ W();
229
- function f(O) {
229
+ }), P = /* @__PURE__ */ G();
230
+ function g(O) {
230
231
  return $O.configure({
231
- wrap: y((a) => a.type.isTop ? {
232
+ wrap: h((a) => a.type.isTop ? {
232
233
  parser: O.parser,
233
234
  overlay: (e) => e.name == "Text" || e.name == "RawText"
234
235
  } : null)
235
236
  }, "liquid");
236
237
  }
237
- const aO = /* @__PURE__ */ f(P.language);
238
- function nO(O = {}) {
239
- let a = O.base || P, e = a.language == P.language ? aO : f(a.language);
240
- return new x(e, [
238
+ const aO = /* @__PURE__ */ g(P.language);
239
+ function QO(O = {}) {
240
+ let a = O.base || P, e = a.language == P.language ? aO : g(a.language);
241
+ return new u(e, [
241
242
  a.support,
242
243
  e.data.of({ autocomplete: K(O) }),
243
244
  a.language.data.of({ closeBrackets: { brackets: ["{"] } }),
@@ -246,7 +247,7 @@ function nO(O = {}) {
246
247
  }
247
248
  export {
248
249
  OO as closePercentBrace,
249
- nO as liquid,
250
+ QO as liquid,
250
251
  K as liquidCompletionSource,
251
252
  aO as liquidLanguage
252
253
  };
@@ -1,7 +1,7 @@
1
- import { a as g, L as P, p as l, s as q, t as r } from "./index-DIaXGPFp.js";
2
- import { html as c } from "./index-qH2lMs0G.js";
3
- import { javascriptLanguage as i } from "./index-D0svJS59.js";
4
- import { L as R, E as p } from "./index-BuVm7ZG6.js";
1
+ import { a as g, L as P, p as l, s as q, t as r } from "./index-CZGsg2Zk.js";
2
+ import { html as c } from "./index-4oLq9F9B.js";
3
+ import { javascriptLanguage as i } from "./index-Bp5lqnbN.js";
4
+ import { L as R, E as p } from "./index-Cv4vvpa2.js";
5
5
  const b = 1, $ = 33, m = 34, v = 35, x = 36, W = /* @__PURE__ */ new p((O) => {
6
6
  let t = O.pos;
7
7
  for (; ; ) {
@@ -1,6 +1,6 @@
1
- import { L as s, E as R, a as Y, C as x } from "./index-BuVm7ZG6.js";
2
- import { s as w, t as O, a as d, L as k, i as h, f, c as l, h as u, B as y, d as g, b as j, N as U, I as G } from "./index-DIaXGPFp.js";
3
- import { s as X, i as b, c as Z } from "./index-Dyi9rNIT.js";
1
+ import { L as s, E as R, a as Y, C as x } from "./index-Cv4vvpa2.js";
2
+ import { s as w, t as O, a as d, L as k, i as h, f, c as l, h as u, B as y, d as g, b as j, N as U, I as G } from "./index-CZGsg2Zk.js";
3
+ import { s as X, i as b, c as Z } from "./index-D4hhdPbZ.js";
4
4
  const _ = 177, q = 179, E = 184, v = 12, C = 13, D = 17, z = 20, F = 25, B = 53, N = 95, I = 142, L = 144, A = 145, J = 148, M = 10, H = 13, K = 32, OO = 9, $ = 47, QO = 41, eO = 125, aO = new R((Q, e) => {
5
5
  for (let n = 0, a = Q.next; (e.context && (a < 0 || a == M || a == H || a == $ && Q.peek(n + 1) == $) || a == QO || a == eO) && Q.acceptToken(_), !(a != K && a != OO); )
6
6
  a = Q.peek(++n);
@@ -1,5 +1,5 @@
1
- import { L as o, E as a } from "./index-BuVm7ZG6.js";
2
- import { s as Z, t as Q, a as _, L as q, i as l, f as w, c as r, d as V } from "./index-DIaXGPFp.js";
1
+ import { L as o, E as a } from "./index-Cv4vvpa2.js";
2
+ import { s as Z, t as Q, a as _, L as q, i as l, f as w, c as r, d as V } from "./index-CZGsg2Zk.js";
3
3
  const R = 1, g = 2, b = 3, y = 4, T = 5, s = 98, c = 101, v = 102, t = 114, p = 69, X = 48, W = 46, d = 43, f = 45, Y = 35, z = 34, x = 124, U = 60, h = 62;
4
4
  function n(O) {
5
5
  return O >= 48 && O <= 57;
@@ -1,6 +1,6 @@
1
- import { L as M, E as X, a as w, C as E } from "./index-BuVm7ZG6.js";
2
- import { s as A, t as i, E as C, a as I, L as J, b as f, e as D, i as N, f as K, c as x, h as B, B as F, d as H, O as h, u as OO, N as aO, I as QO } from "./index-DIaXGPFp.js";
3
- import { s as Z, i as iO, c as eO } from "./index-Dyi9rNIT.js";
1
+ import { L as M, E as X, a as w, C as E } from "./index-Cv4vvpa2.js";
2
+ import { s as A, t as i, E as C, a as I, L as J, b as f, e as D, i as N, f as K, c as x, h as B, B as F, d as H, a0 as h, u as OO, N as aO, I as QO } from "./index-CZGsg2Zk.js";
3
+ import { s as Z, i as iO, c as eO } from "./index-D4hhdPbZ.js";
4
4
  const rO = 316, $O = 317, b = 1, tO = 2, lO = 3, nO = 4, ZO = 318, oO = 320, sO = 321, PO = 5, pO = 6, cO = 0, d = [
5
5
  9,
6
6
  10,
@@ -1,5 +1,5 @@
1
- import { a as O, L as r, i as b, f as s, s as a, h as t, d as P, t as e } from "./index-DIaXGPFp.js";
2
- import { L as n } from "./index-BuVm7ZG6.js";
1
+ import { a as O, L as r, i as b, f as s, s as a, h as t, d as P, t as e } from "./index-CZGsg2Zk.js";
2
+ import { L as n } from "./index-Cv4vvpa2.js";
3
3
  const S = { __proto__: null, anyref: 34, dataref: 34, eqref: 34, externref: 34, i31ref: 34, funcref: 34, i8: 34, i16: 34, i32: 34, i64: 34, f32: 34, f64: 34 }, i = /* @__PURE__ */ n.deserialize({
4
4
  version: 14,
5
5
  states: "!^Q]QPOOOqQPO'#CbOOQO'#Cd'#CdOOQO'#Cl'#ClOOQO'#Ch'#ChQ]QPOOOOQO,58|,58|OxQPO,58|OOQO-E6f-E6fOOQO1G.h1G.h",
@@ -1,5 +1,5 @@
1
- import { L as s } from "./index-BuVm7ZG6.js";
2
- import { s as n, t as r, a as o, L as P, i as Q, f as i, c as a, d as c } from "./index-DIaXGPFp.js";
1
+ import { L as s } from "./index-Cv4vvpa2.js";
2
+ import { s as n, t as r, a as o, L as P, i as Q, f as i, c as a, d as c } from "./index-CZGsg2Zk.js";
3
3
  const g = n({
4
4
  String: r.string,
5
5
  Number: r.number,
@@ -1,6 +1,7 @@
1
- import { E as d, L as g, e as v, a as m, p as u, b as x, s as b, i as G, f as Z, t as a, h as R } from "./index-DIaXGPFp.js";
2
- import { html as h } from "./index-qH2lMs0G.js";
3
- import { L as k, E as f, a as w } from "./index-BuVm7ZG6.js";
1
+ import { L as d, e as g, a as v, p as m, b as u, s as x, i as b, f as G, t as a, h as Z } from "./index-CZGsg2Zk.js";
2
+ import { html as R } from "./index-4oLq9F9B.js";
3
+ import { L as h, E as f, a as k } from "./index-Cv4vvpa2.js";
4
+ import { E as w } from "./index-D4hhdPbZ.js";
4
5
  const X = 1, T = 2, y = 3, U = 155, z = 4, j = 156;
5
6
  function Y(O) {
6
7
  return O >= 65 && O <= 90 || O >= 97 && O <= 122;
@@ -85,7 +86,7 @@ function _(O, i, t) {
85
86
  r.pos > e && r.acceptToken(i);
86
87
  });
87
88
  }
88
- const W = /* @__PURE__ */ _("endraw", j, z), V = { __proto__: null, in: 38, is: 40, and: 46, or: 48, not: 52, if: 78, else: 80, true: 98, false: 98, self: 100, super: 102, loop: 104, recursive: 136, scoped: 160, required: 162, as: 256, import: 260, ignore: 268, missing: 270, with: 272, without: 274, context: 276 }, q = { __proto__: null, if: 112, elif: 118, else: 122, endif: 126, for: 132, endfor: 140, raw: 146, endraw: 152, block: 158, endblock: 166, macro: 172, endmacro: 182, call: 188, endcall: 192, filter: 198, endfilter: 202, set: 208, endset: 212, trans: 218, pluralize: 222, endtrans: 226, with: 232, endwith: 236, autoescape: 242, endautoescape: 246, import: 254, from: 258, include: 266 }, F = /* @__PURE__ */ k.deserialize({
89
+ const W = /* @__PURE__ */ _("endraw", j, z), V = { __proto__: null, in: 38, is: 40, and: 46, or: 48, not: 52, if: 78, else: 80, true: 98, false: 98, self: 100, super: 102, loop: 104, recursive: 136, scoped: 160, required: 162, as: 256, import: 260, ignore: 268, missing: 270, with: 272, without: 274, context: 276 }, q = { __proto__: null, if: 112, elif: 118, else: 122, endif: 126, for: 132, endfor: 140, raw: 146, endraw: 152, block: 158, endblock: 166, macro: 172, endmacro: 182, call: 188, endcall: 192, filter: 198, endfilter: 202, set: 208, endset: 212, trans: 218, pluralize: 222, endtrans: 226, with: 232, endwith: 236, autoescape: 242, endautoescape: 246, import: 254, from: 258, include: 266 }, F = /* @__PURE__ */ h.deserialize({
89
90
  version: 14,
90
91
  states: "!*dQVOPOOOOOP'#F`'#F`OeOTO'#CbOvQSO'#CdO!kOPO'#DcO!yOPO'#DnO#XOQO'#DuO#^OPO'#D{O#lOPO'#ESO#zOPO'#E[O$YOPO'#EaO$hOPO'#EfO$vOPO'#EkO%UOPO'#ErO%dOPO'#EwOOOP'#F|'#F|O%rQWO'#E|O&sO#tO'#F]OOOP'#Fq'#FqOOOP'#F_'#F_QVOPOOOOOP-E9^-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 new k("b~RPstU~XP#q#r[~aO$Q~~", 17, 173)],
104
105
  topRules: { Template: [0, 5] },
105
106
  specialized: [{ term: 161, get: (O) => V[O] || -1 }, { term: 55, get: (O) => q[O] || -1 }],
106
107
  tokenPrec: 3602
@@ -111,7 +112,7 @@ function S(O, i) {
111
112
  const N = /* @__PURE__ */ S("abs attr batch capitalize center default dictsort escape filesizeformat first float forceescape format groupby indent int items join last length list lower map max min pprint random reject rejectattr replace reverse round safe select selectattr slice sort string striptags sum title tojson trim truncate unique upper urlencode urlize wordcount wordwrap xmlattr", "function"), C = /* @__PURE__ */ S("boolean callable defined divisibleby eq escaped even filter float ge gt in integer iterable le lower lt mapping ne none number odd sameas sequence string test undefined upper range lipsum dict joiner namespace", "function"), D = /* @__PURE__ */ S("loop super self true false varargs kwargs caller name arguments catch_kwargs catch_varargs caller", "keyword"), l = /* @__PURE__ */ C.concat(D), $ = /* @__PURE__ */ S("raw endraw filter endfilter trans pluralize endtrans with endwith autoescape endautoescape if elif else endif for endfor call endcall block endblock set endset macro endmacro import include break continue debug do extends", "keyword");
112
113
  function A(O) {
113
114
  var i;
114
- let { state: t, pos: r } = O, e = x(t).resolveInner(r, -1).enterUnfinishedNodesBefore(r), P = ((i = e.childBefore(r)) === null || i === void 0 ? void 0 : i.name) || e.name;
115
+ let { state: t, pos: r } = O, e = u(t).resolveInner(r, -1).enterUnfinishedNodesBefore(r), P = ((i = e.childBefore(r)) === null || i === void 0 ? void 0 : i.name) || e.name;
115
116
  if (e.name == "FilterName")
116
117
  return { type: "filter", node: e };
117
118
  if (O.explicit && (P == "FilterOp" || P == "filter"))
@@ -161,9 +162,9 @@ function I(O = {}) {
161
162
  return Q.type == "filter" ? n = N : Q.type == "tag" ? n = i : Q.type == "expr" ? n = t : n = r ? L(e.state, Q.target, e, r) : [], n.length ? { options: n, from: o, validFor: /^[\w\u00c0-\uffff]*$/ } : null;
162
163
  };
163
164
  }
164
- const H = /* @__PURE__ */ d.inputHandler.of((O, i, t, r) => r != "%" || i != t || O.state.doc.sliceString(i - 1, t + 1) != "{}" ? !1 : (O.dispatch(O.state.changeByRange((e) => ({
165
+ const H = /* @__PURE__ */ w.inputHandler.of((O, i, t, r) => r != "%" || i != t || O.state.doc.sliceString(i - 1, t + 1) != "{}" ? !1 : (O.dispatch(O.state.changeByRange((e) => ({
165
166
  changes: { from: e.from, to: e.to, insert: "%%" },
166
- range: v.cursor(e.from + 1)
167
+ range: g.cursor(e.from + 1)
167
168
  })), {
168
169
  scrollIntoView: !0,
169
170
  userEvent: "input.type"
@@ -174,11 +175,11 @@ function p(O) {
174
175
  return i.lineIndent(i.node.from) + (t ? 0 : i.unit);
175
176
  };
176
177
  }
177
- const B = /* @__PURE__ */ m.define({
178
+ const B = /* @__PURE__ */ v.define({
178
179
  name: "jinja",
179
180
  parser: /* @__PURE__ */ F.configure({
180
181
  props: [
181
- /* @__PURE__ */ b({
182
+ /* @__PURE__ */ x({
182
183
  "TagName raw endraw filter endfilter as trans pluralize endtrans with endwith autoescape endautoescape": a.keyword,
183
184
  "required scoped recursive with without context ignore missing": a.modifier,
184
185
  self: a.self,
@@ -204,12 +205,12 @@ const B = /* @__PURE__ */ m.define({
204
205
  ".": a.derefOperator,
205
206
  ": , .": a.punctuation
206
207
  }),
207
- /* @__PURE__ */ G.add({
208
- Tag: /* @__PURE__ */ R({ closing: "%}" }),
208
+ /* @__PURE__ */ b.add({
209
+ Tag: /* @__PURE__ */ Z({ closing: "%}" }),
209
210
  "IfStatement ForStatement": /* @__PURE__ */ p(/^\s*(\{%-?\s*)?(endif|endfor|else|elif)\b/),
210
211
  Statement: /* @__PURE__ */ p(/^\s*(\{%-?\s*)?end\w/)
211
212
  }),
212
- /* @__PURE__ */ Z.add({
213
+ /* @__PURE__ */ G.add({
213
214
  "Statement Comment"(O) {
214
215
  let i = O.firstChild, t = O.lastChild;
215
216
  return !i || i.name != "Tag" && i.name != "{#" ? null : { from: i.to, to: t.name == "EndTag" || t.name == "#}" ? t.from : O.to };
@@ -220,19 +221,19 @@ const B = /* @__PURE__ */ m.define({
220
221
  languageData: {
221
222
  indentOnInput: /^\s*{%-?\s*(?:end|elif|else)$/
222
223
  }
223
- }), s = /* @__PURE__ */ h();
224
+ }), s = /* @__PURE__ */ R();
224
225
  function c(O) {
225
226
  return B.configure({
226
- wrap: u((i) => i.type.isTop ? {
227
+ wrap: m((i) => i.type.isTop ? {
227
228
  parser: O.parser,
228
229
  overlay: (t) => t.name == "Text" || t.name == "RawText"
229
230
  } : null)
230
231
  }, "jinja");
231
232
  }
232
233
  const J = /* @__PURE__ */ c(s.language);
233
- function eO(O = {}) {
234
+ function iO(O = {}) {
234
235
  let i = O.base || s, t = i.language == s.language ? J : c(i.language);
235
- return new g(t, [
236
+ return new d(t, [
236
237
  i.support,
237
238
  t.data.of({ autocomplete: I(O) }),
238
239
  i.language.data.of({ closeBrackets: { brackets: ["{"] } }),
@@ -241,7 +242,7 @@ function eO(O = {}) {
241
242
  }
242
243
  export {
243
244
  H as closePercentBrace,
244
- eO as jinja,
245
+ iO as jinja,
245
246
  I as jinjaCompletionSource,
246
247
  J as jinjaLanguage
247
248
  };
@@ -1,6 +1,6 @@
1
- import { P as st, j as Q, k as v, T as it, l as Ee, s as Ie, p as ot, t as m, m as H, E as at, n as lt, L as fe, o as ht, q as ft, r as ut, u as dt, b as X, e as P, v as z, w as pt, f as Me, i as ct, x as mt, y as gt, z as ue, A as kt } from "./index-DIaXGPFp.js";
2
- import { C as Lt } from "./index-Dyi9rNIT.js";
3
- import { html as bt, htmlCompletionSource as wt } from "./index-qH2lMs0G.js";
1
+ import { P as st, j as Q, k as v, T as it, l as Ee, s as Ie, p as ot, t as m, m as H, E as at, n as lt, L as fe, o as ht, q as ft, r as ut, u as dt, b as X, e as P, v as z, w as pt, f as Me, i as ct, x as mt, y as gt, z as ue, A as kt } from "./index-CZGsg2Zk.js";
2
+ import { C as Lt } from "./index-D4hhdPbZ.js";
3
+ import { html as bt, htmlCompletionSource as wt } from "./index-4oLq9F9B.js";
4
4
  class U {
5
5
  static create(e, r, n, s, i) {
6
6
  let o = s + (s << 8) + e + (r << 4) | 0;
@@ -1,6 +1,6 @@
1
- import { a as t, L as i, i as n, f as $, c as y, d as P, s as X, t as O } from "./index-DIaXGPFp.js";
2
- import { defineCSSCompletionSource as m } from "./index-Dp8osI_J.js";
3
- import { L as c, E as S } from "./index-BuVm7ZG6.js";
1
+ import { a as t, L as i, i as n, f as $, c as y, d as P, s as X, t as O } from "./index-CZGsg2Zk.js";
2
+ import { defineCSSCompletionSource as m } from "./index-oMSPmlXA.js";
3
+ import { L as c, E as S } from "./index-Cv4vvpa2.js";
4
4
  const f = 110, l = 1, s = 2, r = [
5
5
  9,
6
6
  10,