@polyglot-sql/sdk 0.4.1 → 0.4.2

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.
@@ -1,5 +1,4 @@
1
- (()=>{if(typeof globalThis.process<"u"&&globalThis.process.versions?.node){const _f=globalThis.fetch;globalThis.fetch=async function(u,...a){if(typeof u==="string"&&u.startsWith("file:")||u instanceof URL&&u.protocol==="file:"){const{readFileSync:r}=await import("node:fs");const{fileURLToPath:p}=await import("node:url");const b=r(p(typeof u==="string"?u:u.href));return new Response(b,{headers:{"Content-Type":"application/wasm"}})}return _f(u,...a)}}})();
2
- const cI = new URL("../polyglot_sql_wasm_bg.wasm",import.meta.url).href, LI = async (g = {}, A) => {
1
+ const cI = new URL("../polyglot_sql.wasm",import.meta.url).href, LI = async (g = {}, A) => {
3
2
  let C;
4
3
  if (A.startsWith("data:")) {
5
4
  const Q = A.replace(/^data:.*?base64,/, "");
@@ -28,7 +27,7 @@ const cI = new URL("../polyglot_sql_wasm_bg.wasm",import.meta.url).href, LI = as
28
27
  class CA {
29
28
  __destroy_into_raw() {
30
29
  const A = this.__wbg_ptr;
31
- return this.__wbg_ptr = 0, xA.unregister(this), A;
30
+ return this.__wbg_ptr = 0, ZA.unregister(this), A;
32
31
  }
33
32
  free() {
34
33
  const A = this.__destroy_into_raw();
@@ -46,7 +45,7 @@ class CA {
46
45
  */
47
46
  constructor() {
48
47
  const A = I.wasmassignmentarray_new();
49
- return this.__wbg_ptr = A >>> 0, xA.register(this, this.__wbg_ptr, this), this;
48
+ return this.__wbg_ptr = A >>> 0, ZA.register(this, this.__wbg_ptr, this), this;
50
49
  }
51
50
  /**
52
51
  * Add a column = value assignment.
@@ -83,7 +82,7 @@ class m {
83
82
  I.wasmcasebuilder_build_expr(B, this.__wbg_ptr);
84
83
  var A = M().getInt32(B + 0, !0), C = M().getInt32(B + 4, !0), Q = M().getInt32(B + 8, !0);
85
84
  if (Q)
86
- throw U(C);
85
+ throw J(C);
87
86
  return G.__wrap(A);
88
87
  } finally {
89
88
  I.__wbindgen_add_to_stack_pointer(16);
@@ -115,7 +114,7 @@ class m {
115
114
  I.wasmcasebuilder_to_sql(y, this.__wbg_ptr, h, R);
116
115
  var B = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0), i = M().getInt32(y + 12, !0), k = B, K = E;
117
116
  if (i)
118
- throw k = 0, K = 0, U(D);
117
+ throw k = 0, K = 0, J(D);
119
118
  return C = k, Q = K, L(k, K);
120
119
  } finally {
121
120
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
@@ -134,7 +133,7 @@ Symbol.dispose && (m.prototype[Symbol.dispose] = m.prototype.free);
134
133
  class MA {
135
134
  __destroy_into_raw() {
136
135
  const A = this.__wbg_ptr;
137
- return this.__wbg_ptr = 0, ZA.unregister(this), A;
136
+ return this.__wbg_ptr = 0, xA.unregister(this), A;
138
137
  }
139
138
  free() {
140
139
  const A = this.__destroy_into_raw();
@@ -150,8 +149,8 @@ class MA {
150
149
  I.wasmdeletebuilder_build(B, this.__wbg_ptr);
151
150
  var A = M().getInt32(B + 0, !0), C = M().getInt32(B + 4, !0), Q = M().getInt32(B + 8, !0);
152
151
  if (Q)
153
- throw U(C);
154
- return U(A);
152
+ throw J(C);
153
+ return J(A);
155
154
  } finally {
156
155
  I.__wbindgen_add_to_stack_pointer(16);
157
156
  }
@@ -162,7 +161,7 @@ class MA {
162
161
  */
163
162
  constructor(A) {
164
163
  const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), Q = N, B = I.wasmdeletebuilder_new(C, Q);
165
- return this.__wbg_ptr = B >>> 0, ZA.register(this, this.__wbg_ptr, this), this;
164
+ return this.__wbg_ptr = B >>> 0, xA.register(this, this.__wbg_ptr, this), this;
166
165
  }
167
166
  /**
168
167
  * Generate SQL string for the given dialect.
@@ -176,7 +175,7 @@ class MA {
176
175
  I.wasmdeletebuilder_to_sql(y, this.__wbg_ptr, h, R);
177
176
  var B = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0), i = M().getInt32(y + 12, !0), k = B, K = E;
178
177
  if (i)
179
- throw k = 0, K = 0, U(D);
178
+ throw k = 0, K = 0, J(D);
180
179
  return C = k, Q = K, L(k, K);
181
180
  } finally {
182
181
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
@@ -326,7 +325,7 @@ class G {
326
325
  * @returns {WasmExpr}
327
326
  */
328
327
  in_list(A) {
329
- H(A, O);
328
+ H(A, T);
330
329
  const C = I.wasmexpr_in_list(this.__wbg_ptr, A.__wbg_ptr);
331
330
  return G.__wrap(C);
332
331
  }
@@ -410,7 +409,7 @@ class G {
410
409
  * @returns {WasmExpr}
411
410
  */
412
411
  not_in(A) {
413
- H(A, O);
412
+ H(A, T);
414
413
  const C = I.wasmexpr_not_in(this.__wbg_ptr, A.__wbg_ptr);
415
414
  return G.__wrap(C);
416
415
  }
@@ -454,8 +453,8 @@ class G {
454
453
  I.wasmexpr_to_json(B, this.__wbg_ptr);
455
454
  var A = M().getInt32(B + 0, !0), C = M().getInt32(B + 4, !0), Q = M().getInt32(B + 8, !0);
456
455
  if (Q)
457
- throw U(C);
458
- return U(A);
456
+ throw J(C);
457
+ return J(A);
459
458
  } finally {
460
459
  I.__wbindgen_add_to_stack_pointer(16);
461
460
  }
@@ -472,7 +471,7 @@ class G {
472
471
  I.wasmexpr_to_sql(y, this.__wbg_ptr, h, R);
473
472
  var B = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0), i = M().getInt32(y + 12, !0), k = B, K = E;
474
473
  if (i)
475
- throw k = 0, K = 0, U(D);
474
+ throw k = 0, K = 0, J(D);
476
475
  return C = k, Q = K, L(k, K);
477
476
  } finally {
478
477
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
@@ -490,7 +489,7 @@ class G {
490
489
  }
491
490
  }
492
491
  Symbol.dispose && (G.prototype[Symbol.dispose] = G.prototype.free);
493
- class O {
492
+ class T {
494
493
  __destroy_into_raw() {
495
494
  const A = this.__wbg_ptr;
496
495
  return this.__wbg_ptr = 0, WA.unregister(this), A;
@@ -557,7 +556,7 @@ class O {
557
556
  I.wasmexprarray_push_str(this.__wbg_ptr, C, Q);
558
557
  }
559
558
  }
560
- Symbol.dispose && (O.prototype[Symbol.dispose] = O.prototype.free);
559
+ Symbol.dispose && (T.prototype[Symbol.dispose] = T.prototype.free);
561
560
  class iA {
562
561
  __destroy_into_raw() {
563
562
  const A = this.__wbg_ptr;
@@ -577,8 +576,8 @@ class iA {
577
576
  I.wasminsertbuilder_build(B, this.__wbg_ptr);
578
577
  var A = M().getInt32(B + 0, !0), C = M().getInt32(B + 4, !0), Q = M().getInt32(B + 8, !0);
579
578
  if (Q)
580
- throw U(C);
581
- return U(A);
579
+ throw J(C);
580
+ return J(A);
582
581
  } finally {
583
582
  I.__wbindgen_add_to_stack_pointer(16);
584
583
  }
@@ -588,7 +587,7 @@ class iA {
588
587
  * @param {string[]} cols
589
588
  */
590
589
  columns(A) {
591
- const C = UA(A, I.__wbindgen_export), Q = N;
590
+ const C = JA(A, I.__wbindgen_export), Q = N;
592
591
  I.wasminsertbuilder_columns(this.__wbg_ptr, C, Q);
593
592
  }
594
593
  /**
@@ -606,10 +605,10 @@ class iA {
606
605
  query(A) {
607
606
  try {
608
607
  const B = I.__wbindgen_add_to_stack_pointer(-16);
609
- H(A, d), I.wasminsertbuilder_query(B, this.__wbg_ptr, A.__wbg_ptr);
608
+ H(A, t), I.wasminsertbuilder_query(B, this.__wbg_ptr, A.__wbg_ptr);
610
609
  var C = M().getInt32(B + 0, !0), Q = M().getInt32(B + 4, !0);
611
610
  if (Q)
612
- throw U(C);
611
+ throw J(C);
613
612
  } finally {
614
613
  I.__wbindgen_add_to_stack_pointer(16);
615
614
  }
@@ -626,7 +625,7 @@ class iA {
626
625
  I.wasminsertbuilder_to_sql(y, this.__wbg_ptr, h, R);
627
626
  var B = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0), i = M().getInt32(y + 12, !0), k = B, K = E;
628
627
  if (i)
629
- throw k = 0, K = 0, U(D);
628
+ throw k = 0, K = 0, J(D);
630
629
  return C = k, Q = K, L(k, K);
631
630
  } finally {
632
631
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
@@ -637,14 +636,14 @@ class iA {
637
636
  * @param {WasmExprArray} vals
638
637
  */
639
638
  values(A) {
640
- H(A, O), I.wasminsertbuilder_values(this.__wbg_ptr, A.__wbg_ptr);
639
+ H(A, T), I.wasminsertbuilder_values(this.__wbg_ptr, A.__wbg_ptr);
641
640
  }
642
641
  }
643
642
  Symbol.dispose && (iA.prototype[Symbol.dispose] = iA.prototype.free);
644
643
  class NA {
645
644
  __destroy_into_raw() {
646
645
  const A = this.__wbg_ptr;
647
- return this.__wbg_ptr = 0, rA.unregister(this), A;
646
+ return this.__wbg_ptr = 0, lA.unregister(this), A;
648
647
  }
649
648
  free() {
650
649
  const A = this.__destroy_into_raw();
@@ -660,8 +659,8 @@ class NA {
660
659
  I.wasmmergebuilder_build(B, this.__wbg_ptr);
661
660
  var A = M().getInt32(B + 0, !0), C = M().getInt32(B + 4, !0), Q = M().getInt32(B + 8, !0);
662
661
  if (Q)
663
- throw U(C);
664
- return U(A);
662
+ throw J(C);
663
+ return J(A);
665
664
  } finally {
666
665
  I.__wbindgen_add_to_stack_pointer(16);
667
666
  }
@@ -672,7 +671,7 @@ class NA {
672
671
  */
673
672
  constructor(A) {
674
673
  const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), Q = N, B = I.wasmmergebuilder_new(C, Q);
675
- return this.__wbg_ptr = B >>> 0, rA.register(this, this.__wbg_ptr, this), this;
674
+ return this.__wbg_ptr = B >>> 0, lA.register(this, this.__wbg_ptr, this), this;
676
675
  }
677
676
  /**
678
677
  * Generate SQL string for the given dialect.
@@ -686,7 +685,7 @@ class NA {
686
685
  I.wasmmergebuilder_to_sql(y, this.__wbg_ptr, h, R);
687
686
  var B = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0), i = M().getInt32(y + 12, !0), k = B, K = E;
688
687
  if (i)
689
- throw k = 0, K = 0, U(D);
688
+ throw k = 0, K = 0, J(D);
690
689
  return C = k, Q = K, L(k, K);
691
690
  } finally {
692
691
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
@@ -720,15 +719,15 @@ class NA {
720
719
  * @param {WasmExprArray} values
721
720
  */
722
721
  when_not_matched_insert(A, C) {
723
- const Q = UA(A, I.__wbindgen_export), B = N;
724
- H(C, O), I.wasmmergebuilder_when_not_matched_insert(this.__wbg_ptr, Q, B, C.__wbg_ptr);
722
+ const Q = JA(A, I.__wbindgen_export), B = N;
723
+ H(C, T), I.wasmmergebuilder_when_not_matched_insert(this.__wbg_ptr, Q, B, C.__wbg_ptr);
725
724
  }
726
725
  }
727
726
  Symbol.dispose && (NA.prototype[Symbol.dispose] = NA.prototype.free);
728
- class d {
727
+ class t {
729
728
  __destroy_into_raw() {
730
729
  const A = this.__wbg_ptr;
731
- return this.__wbg_ptr = 0, lA.unregister(this), A;
730
+ return this.__wbg_ptr = 0, rA.unregister(this), A;
732
731
  }
733
732
  free() {
734
733
  const A = this.__destroy_into_raw();
@@ -744,8 +743,8 @@ class d {
744
743
  I.wasmselectbuilder_build(B, this.__wbg_ptr);
745
744
  var A = M().getInt32(B + 0, !0), C = M().getInt32(B + 4, !0), Q = M().getInt32(B + 8, !0);
746
745
  if (Q)
747
- throw U(C);
748
- return U(A);
746
+ throw J(C);
747
+ return J(A);
749
748
  } finally {
750
749
  I.__wbindgen_add_to_stack_pointer(16);
751
750
  }
@@ -769,8 +768,8 @@ class d {
769
768
  I.wasmselectbuilder_ctas(E, this.__wbg_ptr, D, i);
770
769
  var C = M().getInt32(E + 0, !0), Q = M().getInt32(E + 4, !0), B = M().getInt32(E + 8, !0);
771
770
  if (B)
772
- throw U(Q);
773
- return U(C);
771
+ throw J(Q);
772
+ return J(C);
774
773
  } finally {
775
774
  I.__wbindgen_add_to_stack_pointer(16);
776
775
  }
@@ -784,11 +783,11 @@ class d {
784
783
  ctas_sql(A, C) {
785
784
  let Q, B;
786
785
  try {
787
- const h = I.__wbindgen_add_to_stack_pointer(-16), R = o(A, I.__wbindgen_export, I.__wbindgen_export2), q = N, P = o(C, I.__wbindgen_export, I.__wbindgen_export2), l = N;
788
- I.wasmselectbuilder_ctas_sql(h, this.__wbg_ptr, R, q, P, l);
786
+ const h = I.__wbindgen_add_to_stack_pointer(-16), R = o(A, I.__wbindgen_export, I.__wbindgen_export2), q = N, P = o(C, I.__wbindgen_export, I.__wbindgen_export2), r = N;
787
+ I.wasmselectbuilder_ctas_sql(h, this.__wbg_ptr, R, q, P, r);
789
788
  var E = M().getInt32(h + 0, !0), D = M().getInt32(h + 4, !0), i = M().getInt32(h + 8, !0), k = M().getInt32(h + 12, !0), K = E, y = D;
790
789
  if (k)
791
- throw K = 0, y = 0, U(i);
790
+ throw K = 0, y = 0, J(i);
792
791
  return Q = K, B = y, L(K, y);
793
792
  } finally {
794
793
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, B, 1);
@@ -808,11 +807,11 @@ class d {
808
807
  except_(A) {
809
808
  try {
810
809
  const E = I.__wbindgen_add_to_stack_pointer(-16);
811
- H(A, d), I.wasmselectbuilder_except_(E, this.__wbg_ptr, A.__wbg_ptr);
810
+ H(A, t), I.wasmselectbuilder_except_(E, this.__wbg_ptr, A.__wbg_ptr);
812
811
  var C = M().getInt32(E + 0, !0), Q = M().getInt32(E + 4, !0), B = M().getInt32(E + 8, !0);
813
812
  if (B)
814
- throw U(Q);
815
- return Z.__wrap(C);
813
+ throw J(Q);
814
+ return x.__wrap(C);
816
815
  } finally {
817
816
  I.__wbindgen_add_to_stack_pointer(16);
818
817
  }
@@ -843,7 +842,7 @@ class d {
843
842
  * @param {WasmExprArray} cols
844
843
  */
845
844
  group_by_cols(A) {
846
- H(A, O), I.wasmselectbuilder_group_by_cols(this.__wbg_ptr, A.__wbg_ptr);
845
+ H(A, T), I.wasmselectbuilder_group_by_cols(this.__wbg_ptr, A.__wbg_ptr);
847
846
  }
848
847
  /**
849
848
  * Set the HAVING clause.
@@ -868,11 +867,11 @@ class d {
868
867
  intersect(A) {
869
868
  try {
870
869
  const E = I.__wbindgen_add_to_stack_pointer(-16);
871
- H(A, d), I.wasmselectbuilder_intersect(E, this.__wbg_ptr, A.__wbg_ptr);
870
+ H(A, t), I.wasmselectbuilder_intersect(E, this.__wbg_ptr, A.__wbg_ptr);
872
871
  var C = M().getInt32(E + 0, !0), Q = M().getInt32(E + 4, !0), B = M().getInt32(E + 8, !0);
873
872
  if (B)
874
- throw U(Q);
875
- return Z.__wrap(C);
873
+ throw J(Q);
874
+ return x.__wrap(C);
876
875
  } finally {
877
876
  I.__wbindgen_add_to_stack_pointer(16);
878
877
  }
@@ -894,7 +893,7 @@ class d {
894
893
  */
895
894
  lateral_view(A, C, Q) {
896
895
  H(A, G);
897
- const B = o(C, I.__wbindgen_export, I.__wbindgen_export2), E = N, D = UA(Q, I.__wbindgen_export), i = N;
896
+ const B = o(C, I.__wbindgen_export, I.__wbindgen_export2), E = N, D = JA(Q, I.__wbindgen_export), i = N;
898
897
  I.wasmselectbuilder_lateral_view(this.__wbg_ptr, A.__wbg_ptr, B, E, D, i);
899
898
  }
900
899
  /**
@@ -918,7 +917,7 @@ class d {
918
917
  */
919
918
  constructor() {
920
919
  const A = I.wasmselectbuilder_new();
921
- return this.__wbg_ptr = A >>> 0, lA.register(this, this.__wbg_ptr, this), this;
920
+ return this.__wbg_ptr = A >>> 0, rA.register(this, this.__wbg_ptr, this), this;
922
921
  }
923
922
  /**
924
923
  * Set the OFFSET clause.
@@ -932,7 +931,7 @@ class d {
932
931
  * @param {WasmExprArray} exprs
933
932
  */
934
933
  order_by_exprs(A) {
935
- H(A, O), I.wasmselectbuilder_order_by_exprs(this.__wbg_ptr, A.__wbg_ptr);
934
+ H(A, T), I.wasmselectbuilder_order_by_exprs(this.__wbg_ptr, A.__wbg_ptr);
936
935
  }
937
936
  /**
938
937
  * Set the QUALIFY clause.
@@ -970,7 +969,7 @@ class d {
970
969
  * @param {WasmExprArray} exprs
971
970
  */
972
971
  select_exprs(A) {
973
- H(A, O), I.wasmselectbuilder_select_exprs(this.__wbg_ptr, A.__wbg_ptr);
972
+ H(A, T), I.wasmselectbuilder_select_exprs(this.__wbg_ptr, A.__wbg_ptr);
974
973
  }
975
974
  /**
976
975
  * Add a star (*) to the SELECT list.
@@ -983,7 +982,7 @@ class d {
983
982
  * @param {WasmExprArray} exprs
984
983
  */
985
984
  sort_by_exprs(A) {
986
- H(A, O), I.wasmselectbuilder_sort_by_exprs(this.__wbg_ptr, A.__wbg_ptr);
985
+ H(A, T), I.wasmselectbuilder_sort_by_exprs(this.__wbg_ptr, A.__wbg_ptr);
987
986
  }
988
987
  /**
989
988
  * Generate SQL string for the given dialect.
@@ -997,7 +996,7 @@ class d {
997
996
  I.wasmselectbuilder_to_sql(y, this.__wbg_ptr, h, R);
998
997
  var B = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0), i = M().getInt32(y + 12, !0), k = B, K = E;
999
998
  if (i)
1000
- throw k = 0, K = 0, U(D);
999
+ throw k = 0, K = 0, J(D);
1001
1000
  return C = k, Q = K, L(k, K);
1002
1001
  } finally {
1003
1002
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
@@ -1011,11 +1010,11 @@ class d {
1011
1010
  union(A) {
1012
1011
  try {
1013
1012
  const E = I.__wbindgen_add_to_stack_pointer(-16);
1014
- H(A, d), I.wasmselectbuilder_union(E, this.__wbg_ptr, A.__wbg_ptr);
1013
+ H(A, t), I.wasmselectbuilder_union(E, this.__wbg_ptr, A.__wbg_ptr);
1015
1014
  var C = M().getInt32(E + 0, !0), Q = M().getInt32(E + 4, !0), B = M().getInt32(E + 8, !0);
1016
1015
  if (B)
1017
- throw U(Q);
1018
- return Z.__wrap(C);
1016
+ throw J(Q);
1017
+ return x.__wrap(C);
1019
1018
  } finally {
1020
1019
  I.__wbindgen_add_to_stack_pointer(16);
1021
1020
  }
@@ -1028,11 +1027,11 @@ class d {
1028
1027
  union_all(A) {
1029
1028
  try {
1030
1029
  const E = I.__wbindgen_add_to_stack_pointer(-16);
1031
- H(A, d), I.wasmselectbuilder_union_all(E, this.__wbg_ptr, A.__wbg_ptr);
1030
+ H(A, t), I.wasmselectbuilder_union_all(E, this.__wbg_ptr, A.__wbg_ptr);
1032
1031
  var C = M().getInt32(E + 0, !0), Q = M().getInt32(E + 4, !0), B = M().getInt32(E + 8, !0);
1033
1032
  if (B)
1034
- throw U(Q);
1035
- return Z.__wrap(C);
1033
+ throw J(Q);
1034
+ return x.__wrap(C);
1036
1035
  } finally {
1037
1036
  I.__wbindgen_add_to_stack_pointer(16);
1038
1037
  }
@@ -1063,17 +1062,17 @@ class d {
1063
1062
  H(C, QA), I.wasmselectbuilder_window(E, this.__wbg_ptr, D, i, C.__wbg_ptr);
1064
1063
  var Q = M().getInt32(E + 0, !0), B = M().getInt32(E + 4, !0);
1065
1064
  if (B)
1066
- throw U(Q);
1065
+ throw J(Q);
1067
1066
  } finally {
1068
1067
  I.__wbindgen_add_to_stack_pointer(16);
1069
1068
  }
1070
1069
  }
1071
1070
  }
1072
- Symbol.dispose && (d.prototype[Symbol.dispose] = d.prototype.free);
1073
- class Z {
1071
+ Symbol.dispose && (t.prototype[Symbol.dispose] = t.prototype.free);
1072
+ class x {
1074
1073
  static __wrap(A) {
1075
1074
  A = A >>> 0;
1076
- const C = Object.create(Z.prototype);
1075
+ const C = Object.create(x.prototype);
1077
1076
  return C.__wbg_ptr = A, nA.register(C, C.__wbg_ptr, C), C;
1078
1077
  }
1079
1078
  __destroy_into_raw() {
@@ -1094,8 +1093,8 @@ class Z {
1094
1093
  I.wasmsetopbuilder_build(B, this.__wbg_ptr);
1095
1094
  var A = M().getInt32(B + 0, !0), C = M().getInt32(B + 4, !0), Q = M().getInt32(B + 8, !0);
1096
1095
  if (Q)
1097
- throw U(C);
1098
- return U(A);
1096
+ throw J(C);
1097
+ return J(A);
1099
1098
  } finally {
1100
1099
  I.__wbindgen_add_to_stack_pointer(16);
1101
1100
  }
@@ -1119,7 +1118,7 @@ class Z {
1119
1118
  * @param {WasmExprArray} exprs
1120
1119
  */
1121
1120
  order_by_exprs(A) {
1122
- H(A, O), I.wasmsetopbuilder_order_by_exprs(this.__wbg_ptr, A.__wbg_ptr);
1121
+ H(A, T), I.wasmsetopbuilder_order_by_exprs(this.__wbg_ptr, A.__wbg_ptr);
1123
1122
  }
1124
1123
  /**
1125
1124
  * Generate SQL string for the given dialect.
@@ -1133,14 +1132,14 @@ class Z {
1133
1132
  I.wasmsetopbuilder_to_sql(y, this.__wbg_ptr, h, R);
1134
1133
  var B = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0), i = M().getInt32(y + 12, !0), k = B, K = E;
1135
1134
  if (i)
1136
- throw k = 0, K = 0, U(D);
1135
+ throw k = 0, K = 0, J(D);
1137
1136
  return C = k, Q = K, L(k, K);
1138
1137
  } finally {
1139
1138
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
1140
1139
  }
1141
1140
  }
1142
1141
  }
1143
- Symbol.dispose && (Z.prototype[Symbol.dispose] = Z.prototype.free);
1142
+ Symbol.dispose && (x.prototype[Symbol.dispose] = x.prototype.free);
1144
1143
  class oA {
1145
1144
  __destroy_into_raw() {
1146
1145
  const A = this.__wbg_ptr;
@@ -1160,8 +1159,8 @@ class oA {
1160
1159
  I.wasmupdatebuilder_build(B, this.__wbg_ptr);
1161
1160
  var A = M().getInt32(B + 0, !0), C = M().getInt32(B + 4, !0), Q = M().getInt32(B + 8, !0);
1162
1161
  if (Q)
1163
- throw U(C);
1164
- return U(A);
1162
+ throw J(C);
1163
+ return J(A);
1165
1164
  } finally {
1166
1165
  I.__wbindgen_add_to_stack_pointer(16);
1167
1166
  }
@@ -1203,7 +1202,7 @@ class oA {
1203
1202
  I.wasmupdatebuilder_to_sql(y, this.__wbg_ptr, h, R);
1204
1203
  var B = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0), i = M().getInt32(y + 12, !0), k = B, K = E;
1205
1204
  if (i)
1206
- throw k = 0, K = 0, U(D);
1205
+ throw k = 0, K = 0, J(D);
1207
1206
  return C = k, Q = K, L(k, K);
1208
1207
  } finally {
1209
1208
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
@@ -1239,14 +1238,14 @@ class QA {
1239
1238
  * @param {WasmExprArray} exprs
1240
1239
  */
1241
1240
  order_by(A) {
1242
- H(A, O), I.wasmwindowdefbuilder_order_by(this.__wbg_ptr, A.__wbg_ptr);
1241
+ H(A, T), I.wasmwindowdefbuilder_order_by(this.__wbg_ptr, A.__wbg_ptr);
1243
1242
  }
1244
1243
  /**
1245
1244
  * Set the PARTITION BY expressions.
1246
1245
  * @param {WasmExprArray} exprs
1247
1246
  */
1248
1247
  partition_by(A) {
1249
- H(A, O), I.wasmwindowdefbuilder_partition_by(this.__wbg_ptr, A.__wbg_ptr);
1248
+ H(A, T), I.wasmwindowdefbuilder_partition_by(this.__wbg_ptr, A.__wbg_ptr);
1250
1249
  }
1251
1250
  }
1252
1251
  Symbol.dispose && (QA.prototype[Symbol.dispose] = QA.prototype.free);
@@ -1261,9 +1260,9 @@ function FI(g, A, C) {
1261
1260
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, B, 1);
1262
1261
  }
1263
1262
  }
1264
- function UI(g, A, C) {
1263
+ function JI(g, A, C) {
1265
1264
  const Q = o(g, I.__wbindgen_export, I.__wbindgen_export2), B = N, E = o(A, I.__wbindgen_export, I.__wbindgen_export2), D = N, i = o(C, I.__wbindgen_export, I.__wbindgen_export2), k = N, K = I.annotate_types_value(Q, B, E, D, i, k);
1266
- return U(K);
1265
+ return J(K);
1267
1266
  }
1268
1267
  function vA(g, A, C) {
1269
1268
  let Q, B;
@@ -1455,15 +1454,15 @@ function og(g, A) {
1455
1454
  function kg(g, A, C, Q, B, E) {
1456
1455
  let D, i;
1457
1456
  try {
1458
- const y = I.__wbindgen_add_to_stack_pointer(-16), h = o(g, I.__wbindgen_export, I.__wbindgen_export2), R = N, q = o(A, I.__wbindgen_export, I.__wbindgen_export2), P = N, l = o(C, I.__wbindgen_export, I.__wbindgen_export2), v = N;
1459
- I.diff_sql(y, h, R, q, P, l, v, Q, B, E);
1457
+ const y = I.__wbindgen_add_to_stack_pointer(-16), h = o(g, I.__wbindgen_export, I.__wbindgen_export2), R = N, q = o(A, I.__wbindgen_export, I.__wbindgen_export2), P = N, r = o(C, I.__wbindgen_export, I.__wbindgen_export2), v = N;
1458
+ I.diff_sql(y, h, R, q, P, r, v, Q, B, E);
1460
1459
  var k = M().getInt32(y + 0, !0), K = M().getInt32(y + 4, !0);
1461
1460
  return D = k, i = K, L(k, K);
1462
1461
  } finally {
1463
1462
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(D, i, 1);
1464
1463
  }
1465
1464
  }
1466
- function JI(g, A) {
1465
+ function UI(g, A) {
1467
1466
  let C, Q;
1468
1467
  try {
1469
1468
  const D = I.__wbindgen_add_to_stack_pointer(-16), i = o(g, I.__wbindgen_export, I.__wbindgen_export2), k = N, K = o(A, I.__wbindgen_export, I.__wbindgen_export2), y = N;
@@ -1476,7 +1475,7 @@ function JI(g, A) {
1476
1475
  }
1477
1476
  function RI(g, A) {
1478
1477
  const C = o(g, I.__wbindgen_export, I.__wbindgen_export2), Q = N, B = o(A, I.__wbindgen_export, I.__wbindgen_export2), E = N, D = I.format_sql_value(C, Q, B, E);
1479
- return U(D);
1478
+ return J(D);
1480
1479
  }
1481
1480
  function sI(g, A, C) {
1482
1481
  let Q, B;
@@ -1491,7 +1490,7 @@ function sI(g, A, C) {
1491
1490
  }
1492
1491
  function aI(g, A, C) {
1493
1492
  const Q = o(g, I.__wbindgen_export, I.__wbindgen_export2), B = N, E = o(A, I.__wbindgen_export, I.__wbindgen_export2), D = N, i = I.format_sql_with_options_value(Q, B, E, D, s(C));
1494
- return U(i);
1493
+ return J(i);
1495
1494
  }
1496
1495
  function qI(g, A) {
1497
1496
  let C, Q;
@@ -1506,9 +1505,9 @@ function qI(g, A) {
1506
1505
  }
1507
1506
  function pI(g, A) {
1508
1507
  const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), Q = N, B = I.generate_value(s(g), C, Q);
1509
- return U(B);
1508
+ return J(B);
1510
1509
  }
1511
- function OI() {
1510
+ function TI() {
1512
1511
  let g, A;
1513
1512
  try {
1514
1513
  const B = I.__wbindgen_add_to_stack_pointer(-16);
@@ -1519,9 +1518,9 @@ function OI() {
1519
1518
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(g, A, 1);
1520
1519
  }
1521
1520
  }
1522
- function TI() {
1521
+ function OI() {
1523
1522
  const g = I.get_dialects_value();
1524
- return U(g);
1523
+ return J(g);
1525
1524
  }
1526
1525
  function yg(g, A, C, Q) {
1527
1526
  let B, E;
@@ -1537,8 +1536,8 @@ function yg(g, A, C, Q) {
1537
1536
  function Kg(g, A, C, Q, B) {
1538
1537
  let E, D;
1539
1538
  try {
1540
- const K = I.__wbindgen_add_to_stack_pointer(-16), y = o(g, I.__wbindgen_export, I.__wbindgen_export2), h = N, R = o(A, I.__wbindgen_export, I.__wbindgen_export2), q = N, P = o(C, I.__wbindgen_export, I.__wbindgen_export2), l = N, v = o(Q, I.__wbindgen_export, I.__wbindgen_export2), SI = N;
1541
- I.lineage_sql_with_schema(K, y, h, R, q, P, l, v, SI, B);
1539
+ const K = I.__wbindgen_add_to_stack_pointer(-16), y = o(g, I.__wbindgen_export, I.__wbindgen_export2), h = N, R = o(A, I.__wbindgen_export, I.__wbindgen_export2), q = N, P = o(C, I.__wbindgen_export, I.__wbindgen_export2), r = N, v = o(Q, I.__wbindgen_export, I.__wbindgen_export2), SI = N;
1540
+ I.lineage_sql_with_schema(K, y, h, R, q, P, r, v, SI, B);
1542
1541
  var i = M().getInt32(K + 0, !0), k = M().getInt32(K + 4, !0);
1543
1542
  return E = i, D = k, L(i, k);
1544
1543
  } finally {
@@ -1589,9 +1588,9 @@ function PI(g, A) {
1589
1588
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
1590
1589
  }
1591
1590
  }
1592
- function dI(g, A) {
1591
+ function tI(g, A) {
1593
1592
  const C = o(g, I.__wbindgen_export, I.__wbindgen_export2), Q = N, B = o(A, I.__wbindgen_export, I.__wbindgen_export2), E = N, D = I.parse_value(C, Q, B, E);
1594
- return U(D);
1593
+ return J(D);
1595
1594
  }
1596
1595
  function hg(g, A) {
1597
1596
  let C, Q;
@@ -1615,7 +1614,7 @@ function Sg(g, A, C) {
1615
1614
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, B, 1);
1616
1615
  }
1617
1616
  }
1618
- function tI(g, A) {
1617
+ function dI(g, A) {
1619
1618
  let C, Q;
1620
1619
  try {
1621
1620
  const D = I.__wbindgen_add_to_stack_pointer(-16), i = o(g, I.__wbindgen_export, I.__wbindgen_export2), k = N, K = o(A, I.__wbindgen_export, I.__wbindgen_export2), y = N;
@@ -1628,9 +1627,9 @@ function tI(g, A) {
1628
1627
  }
1629
1628
  function jI(g, A) {
1630
1629
  const C = o(g, I.__wbindgen_export, I.__wbindgen_export2), Q = N, B = o(A, I.__wbindgen_export, I.__wbindgen_export2), E = N, D = I.tokenize_value(C, Q, B, E);
1631
- return U(D);
1630
+ return J(D);
1632
1631
  }
1633
- function zI(g, A, C) {
1632
+ function fI(g, A, C) {
1634
1633
  let Q, B;
1635
1634
  try {
1636
1635
  const i = I.__wbindgen_add_to_stack_pointer(-16), k = o(g, I.__wbindgen_export, I.__wbindgen_export2), K = N, y = o(A, I.__wbindgen_export, I.__wbindgen_export2), h = N, R = o(C, I.__wbindgen_export, I.__wbindgen_export2), q = N;
@@ -1641,11 +1640,11 @@ function zI(g, A, C) {
1641
1640
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, B, 1);
1642
1641
  }
1643
1642
  }
1644
- function fI(g, A, C) {
1643
+ function zI(g, A, C) {
1645
1644
  const Q = o(g, I.__wbindgen_export, I.__wbindgen_export2), B = N, E = o(A, I.__wbindgen_export, I.__wbindgen_export2), D = N, i = o(C, I.__wbindgen_export, I.__wbindgen_export2), k = N, K = I.transpile_value(Q, B, E, D, i, k);
1646
- return U(K);
1645
+ return J(K);
1647
1646
  }
1648
- function xI(g, A) {
1647
+ function ZI(g, A) {
1649
1648
  let C, Q;
1650
1649
  try {
1651
1650
  const D = I.__wbindgen_add_to_stack_pointer(-16), i = o(g, I.__wbindgen_export, I.__wbindgen_export2), k = N, K = o(A, I.__wbindgen_export, I.__wbindgen_export2), y = N;
@@ -1656,7 +1655,7 @@ function xI(g, A) {
1656
1655
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
1657
1656
  }
1658
1657
  }
1659
- function ZI(g, A, C) {
1658
+ function xI(g, A, C) {
1660
1659
  let Q, B;
1661
1660
  try {
1662
1661
  const i = I.__wbindgen_add_to_stack_pointer(-16), k = o(g, I.__wbindgen_export, I.__wbindgen_export2), K = N, y = o(A, I.__wbindgen_export, I.__wbindgen_export2), h = N, R = o(C, I.__wbindgen_export, I.__wbindgen_export2), q = N;
@@ -1670,8 +1669,8 @@ function ZI(g, A, C) {
1670
1669
  function cg(g, A, C, Q) {
1671
1670
  let B, E;
1672
1671
  try {
1673
- const k = I.__wbindgen_add_to_stack_pointer(-16), K = o(g, I.__wbindgen_export, I.__wbindgen_export2), y = N, h = o(A, I.__wbindgen_export, I.__wbindgen_export2), R = N, q = o(C, I.__wbindgen_export, I.__wbindgen_export2), P = N, l = o(Q, I.__wbindgen_export, I.__wbindgen_export2), v = N;
1674
- I.validate_with_schema(k, K, y, h, R, q, P, l, v);
1672
+ const k = I.__wbindgen_add_to_stack_pointer(-16), K = o(g, I.__wbindgen_export, I.__wbindgen_export2), y = N, h = o(A, I.__wbindgen_export, I.__wbindgen_export2), R = N, q = o(C, I.__wbindgen_export, I.__wbindgen_export2), P = N, r = o(Q, I.__wbindgen_export, I.__wbindgen_export2), v = N;
1673
+ I.validate_with_schema(k, K, y, h, R, q, P, r, v);
1675
1674
  var D = M().getInt32(k + 0, !0), i = M().getInt32(k + 4, !0);
1676
1675
  return B = D, E = i, L(D, i);
1677
1676
  } finally {
@@ -1699,11 +1698,11 @@ function Fg(g, A) {
1699
1698
  const C = I.wasm_and(g.__wbg_ptr, A.__wbg_ptr);
1700
1699
  return G.__wrap(C);
1701
1700
  }
1702
- function Ug(g) {
1701
+ function Jg(g) {
1703
1702
  const A = I.wasm_boolean(g);
1704
1703
  return G.__wrap(A);
1705
1704
  }
1706
- function Jg(g) {
1705
+ function Ug(g) {
1707
1706
  H(g, G);
1708
1707
  const A = I.wasm_case_of(g.__wbg_ptr);
1709
1708
  return m.__wrap(A);
@@ -1730,7 +1729,7 @@ function ag(g, A) {
1730
1729
  }
1731
1730
  function qg(g, A) {
1732
1731
  const C = o(g, I.__wbindgen_export, I.__wbindgen_export2), Q = N;
1733
- H(A, O);
1732
+ H(A, T);
1734
1733
  const B = I.wasm_func(C, Q, A.__wbg_ptr);
1735
1734
  return G.__wrap(B);
1736
1735
  }
@@ -1747,12 +1746,12 @@ function yA() {
1747
1746
  const g = I.wasm_null();
1748
1747
  return G.__wrap(g);
1749
1748
  }
1750
- function Og(g, A) {
1749
+ function Tg(g, A) {
1751
1750
  H(g, G), H(A, G);
1752
1751
  const C = I.wasm_or(g.__wbg_ptr, A.__wbg_ptr);
1753
1752
  return G.__wrap(C);
1754
1753
  }
1755
- function Tg(g) {
1754
+ function Og(g) {
1756
1755
  const A = o(g, I.__wbindgen_export, I.__wbindgen_export2), C = N, Q = I.wasm_sql_expr(A, C);
1757
1756
  return G.__wrap(Q);
1758
1757
  }
@@ -1760,21 +1759,21 @@ function Pg() {
1760
1759
  const g = I.wasm_star();
1761
1760
  return G.__wrap(g);
1762
1761
  }
1763
- function dg(g, A) {
1762
+ function tg(g, A) {
1764
1763
  try {
1765
1764
  const E = I.__wbindgen_add_to_stack_pointer(-16);
1766
- H(g, d);
1765
+ H(g, t);
1767
1766
  const D = o(A, I.__wbindgen_export, I.__wbindgen_export2), i = N;
1768
1767
  I.wasm_subquery(E, g.__wbg_ptr, D, i);
1769
1768
  var C = M().getInt32(E + 0, !0), Q = M().getInt32(E + 4, !0), B = M().getInt32(E + 8, !0);
1770
1769
  if (B)
1771
- throw U(Q);
1770
+ throw J(Q);
1772
1771
  return G.__wrap(C);
1773
1772
  } finally {
1774
1773
  I.__wbindgen_add_to_stack_pointer(16);
1775
1774
  }
1776
1775
  }
1777
- function tg(g) {
1776
+ function dg(g) {
1778
1777
  const A = o(g, I.__wbindgen_export, I.__wbindgen_export2), C = N, Q = I.wasm_table(A, C);
1779
1778
  return G.__wrap(Q);
1780
1779
  }
@@ -1785,11 +1784,11 @@ function WI(g, A) {
1785
1784
  function eI(g) {
1786
1785
  return Number(c(g));
1787
1786
  }
1788
- function rI(g, A) {
1787
+ function lI(g, A) {
1789
1788
  const C = String(c(A)), Q = o(C, I.__wbindgen_export, I.__wbindgen_export2), B = N;
1790
1789
  M().setInt32(g + 4, B, !0), M().setInt32(g + 0, Q, !0);
1791
1790
  }
1792
- function lI(g, A) {
1791
+ function rI(g, A) {
1793
1792
  const C = c(A), Q = typeof C == "bigint" ? C : void 0;
1794
1793
  M().setBigInt64(g + 8, b(Q) ? BigInt(0) : Q, !0), M().setInt32(g + 0, !b(Q), !0);
1795
1794
  }
@@ -1931,11 +1930,11 @@ function LC(g) {
1931
1930
  function FC(g) {
1932
1931
  return c(g).length;
1933
1932
  }
1934
- function UC() {
1933
+ function JC() {
1935
1934
  const g = new Object();
1936
1935
  return s(g);
1937
1936
  }
1938
- function JC() {
1937
+ function UC() {
1939
1938
  const g = new Array();
1940
1939
  return s(g);
1941
1940
  }
@@ -1960,20 +1959,20 @@ function pC(g) {
1960
1959
  const A = c(g).next;
1961
1960
  return s(A);
1962
1961
  }
1963
- function OC(g, A, C) {
1964
- Uint8Array.prototype.set.call(rC(g, A), c(C));
1965
- }
1966
1962
  function TC(g, A, C) {
1963
+ Uint8Array.prototype.set.call(lC(g, A), c(C));
1964
+ }
1965
+ function OC(g, A, C) {
1967
1966
  const Q = c(g).set(c(A), c(C));
1968
1967
  return s(Q);
1969
1968
  }
1970
1969
  function PC(g, A, C) {
1971
- c(g)[U(A)] = U(C);
1970
+ c(g)[J(A)] = J(C);
1972
1971
  }
1973
- function dC(g, A, C) {
1974
- c(g)[A >>> 0] = U(C);
1972
+ function tC(g, A, C) {
1973
+ c(g)[A >>> 0] = J(C);
1975
1974
  }
1976
- function tC(g, A) {
1975
+ function dC(g, A) {
1977
1976
  const C = c(A).stack, Q = o(C, I.__wbindgen_export, I.__wbindgen_export2), B = N;
1978
1977
  M().setInt32(g + 4, B, !0), M().setInt32(g + 0, Q, !0);
1979
1978
  }
@@ -1981,17 +1980,17 @@ function jC(g) {
1981
1980
  const A = c(g).value;
1982
1981
  return s(A);
1983
1982
  }
1984
- function zC(g) {
1983
+ function fC(g) {
1985
1984
  return s(g);
1986
1985
  }
1987
- function fC(g) {
1986
+ function zC(g) {
1988
1987
  return s(g);
1989
1988
  }
1990
- function xC(g, A) {
1989
+ function ZC(g, A) {
1991
1990
  const C = L(g, A);
1992
1991
  return s(C);
1993
1992
  }
1994
- function ZC(g) {
1993
+ function xC(g) {
1995
1994
  const A = BigInt.asUintN(64, g);
1996
1995
  return s(A);
1997
1996
  }
@@ -2000,13 +1999,13 @@ function VC(g) {
2000
1999
  return s(A);
2001
2000
  }
2002
2001
  function WC(g) {
2003
- U(g);
2002
+ J(g);
2004
2003
  }
2005
- const xA = typeof FinalizationRegistry > "u" ? { register: () => {
2004
+ const ZA = typeof FinalizationRegistry > "u" ? { register: () => {
2006
2005
  }, unregister: () => {
2007
2006
  } } : new FinalizationRegistry((g) => I.__wbg_wasmassignmentarray_free(g >>> 0, 1)), hA = typeof FinalizationRegistry > "u" ? { register: () => {
2008
2007
  }, unregister: () => {
2009
- } } : new FinalizationRegistry((g) => I.__wbg_wasmcasebuilder_free(g >>> 0, 1)), ZA = typeof FinalizationRegistry > "u" ? { register: () => {
2008
+ } } : new FinalizationRegistry((g) => I.__wbg_wasmcasebuilder_free(g >>> 0, 1)), xA = typeof FinalizationRegistry > "u" ? { register: () => {
2010
2009
  }, unregister: () => {
2011
2010
  } } : new FinalizationRegistry((g) => I.__wbg_wasmdeletebuilder_free(g >>> 0, 1)), VA = typeof FinalizationRegistry > "u" ? { register: () => {
2012
2011
  }, unregister: () => {
@@ -2014,9 +2013,9 @@ const xA = typeof FinalizationRegistry > "u" ? { register: () => {
2014
2013
  }, unregister: () => {
2015
2014
  } } : new FinalizationRegistry((g) => I.__wbg_wasmexprarray_free(g >>> 0, 1)), eA = typeof FinalizationRegistry > "u" ? { register: () => {
2016
2015
  }, unregister: () => {
2017
- } } : new FinalizationRegistry((g) => I.__wbg_wasminsertbuilder_free(g >>> 0, 1)), rA = typeof FinalizationRegistry > "u" ? { register: () => {
2016
+ } } : new FinalizationRegistry((g) => I.__wbg_wasminsertbuilder_free(g >>> 0, 1)), lA = typeof FinalizationRegistry > "u" ? { register: () => {
2018
2017
  }, unregister: () => {
2019
- } } : new FinalizationRegistry((g) => I.__wbg_wasmmergebuilder_free(g >>> 0, 1)), lA = typeof FinalizationRegistry > "u" ? { register: () => {
2018
+ } } : new FinalizationRegistry((g) => I.__wbg_wasmmergebuilder_free(g >>> 0, 1)), rA = typeof FinalizationRegistry > "u" ? { register: () => {
2020
2019
  }, unregister: () => {
2021
2020
  } } : new FinalizationRegistry((g) => I.__wbg_wasmselectbuilder_free(g >>> 0, 1)), nA = typeof FinalizationRegistry > "u" ? { register: () => {
2022
2021
  }, unregister: () => {
@@ -2026,9 +2025,9 @@ const xA = typeof FinalizationRegistry > "u" ? { register: () => {
2026
2025
  }, unregister: () => {
2027
2026
  } } : new FinalizationRegistry((g) => I.__wbg_wasmwindowdefbuilder_free(g >>> 0, 1));
2028
2027
  function s(g) {
2029
- AA === x.length && x.push(x.length + 1);
2028
+ AA === Z.length && Z.push(Z.length + 1);
2030
2029
  const A = AA;
2031
- return AA = x[A], x[A] = g, A;
2030
+ return AA = Z[A], Z[A] = g, A;
2032
2031
  }
2033
2032
  function H(g, A) {
2034
2033
  if (!(g instanceof A))
@@ -2072,9 +2071,9 @@ function cA(g) {
2072
2071
  ${g.stack}` : Q;
2073
2072
  }
2074
2073
  function eC(g) {
2075
- g < 132 || (x[g] = AA, AA = g);
2074
+ g < 132 || (Z[g] = AA, AA = g);
2076
2075
  }
2077
- function rC(g, A) {
2076
+ function lC(g, A) {
2078
2077
  return g = g >>> 0, $().subarray(g / 1, g / 1 + A);
2079
2078
  }
2080
2079
  let u = null;
@@ -2089,7 +2088,7 @@ function $() {
2089
2088
  return (EA === null || EA.byteLength === 0) && (EA = new Uint8Array(I.memory.buffer)), EA;
2090
2089
  }
2091
2090
  function c(g) {
2092
- return x[g];
2091
+ return Z[g];
2093
2092
  }
2094
2093
  function KA(g, A) {
2095
2094
  try {
@@ -2098,13 +2097,13 @@ function KA(g, A) {
2098
2097
  I.__wbindgen_export3(s(C));
2099
2098
  }
2100
2099
  }
2101
- let x = new Array(128).fill(void 0);
2102
- x.push(void 0, null, !0, !1);
2103
- let AA = x.length;
2100
+ let Z = new Array(128).fill(void 0);
2101
+ Z.push(void 0, null, !0, !1);
2102
+ let AA = Z.length;
2104
2103
  function b(g) {
2105
2104
  return g == null;
2106
2105
  }
2107
- function UA(g, A) {
2106
+ function JA(g, A) {
2108
2107
  const C = A(g.length * 4, 4) >>> 0, Q = M();
2109
2108
  for (let B = 0; B < g.length; B++)
2110
2109
  Q.setUint32(C + 4 * B, s(g[B]), !0);
@@ -2130,16 +2129,16 @@ function o(g, A, C) {
2130
2129
  }
2131
2130
  return N = D, B;
2132
2131
  }
2133
- function U(g) {
2132
+ function J(g) {
2134
2133
  const A = c(g);
2135
2134
  return eC(g), A;
2136
2135
  }
2137
2136
  let DA = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 });
2138
2137
  DA.decode();
2139
- const lC = 2146435072;
2138
+ const rC = 2146435072;
2140
2139
  let SA = 0;
2141
2140
  function nC(g, A) {
2142
- return SA += A, SA >= lC && (DA = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 }), DA.decode(), SA = A), DA.decode($().subarray(g, g + A));
2141
+ return SA += A, SA >= rC && (DA = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 }), DA.decode(), SA = A), DA.decode($().subarray(g, g + A));
2143
2142
  }
2144
2143
  const gA = new TextEncoder();
2145
2144
  "encodeInto" in gA || (gA.encodeInto = function(g, A) {
@@ -2158,28 +2157,28 @@ const w = await LI({ "./polyglot_sql_wasm_bg.js": {
2158
2157
  __wbindgen_object_drop_ref: WC,
2159
2158
  __wbindgen_object_clone_ref: VC,
2160
2159
  __wbg_new_8a6f238a6ece86ea: RC,
2161
- __wbg_stack_0ed75d68575b0f3c: tC,
2160
+ __wbg_stack_0ed75d68575b0f3c: dC,
2162
2161
  __wbg_error_7534b8e9a36f1ab4: iC,
2163
2162
  __wbg_get_with_ref_key_1dc361bd10053bfe: yC,
2164
2163
  __wbg_set_3f1d0b984ed272ed: PC,
2165
- __wbg_String_8f0eb39a4a4c2f66: rI,
2164
+ __wbg_String_8f0eb39a4a4c2f66: lI,
2166
2165
  __wbg_new_dd2b680c8bf6ae29: aC,
2167
2166
  __wbg_length_32ed9a279acd054c: cC,
2168
- __wbg_prototypesetcall_bdcdcc5842e4d77d: OC,
2167
+ __wbg_prototypesetcall_bdcdcc5842e4d77d: TC,
2169
2168
  __wbg_done_57b39ecd9addfe81: wC,
2170
2169
  __wbg_value_0546255b415e96c1: jC,
2171
2170
  __wbg_instanceof_Map_53af74335dec57f4: GC,
2172
2171
  __wbg_instanceof_Uint8Array_9b9075935c74707c: YC,
2173
2172
  __wbg_instanceof_ArrayBuffer_c367199e2fa2aa04: KC,
2174
2173
  __wbg_new_dca287b076112a51: sC,
2175
- __wbg_set_1eb0999cf5d27fc8: TC,
2174
+ __wbg_set_1eb0999cf5d27fc8: OC,
2176
2175
  __wbg_get_9b94d73e6221f75c: oC,
2177
- __wbg_new_3eb36ae241fe6f44: JC,
2178
- __wbg_set_f43e577aea94465b: dC,
2176
+ __wbg_new_3eb36ae241fe6f44: UC,
2177
+ __wbg_set_f43e577aea94465b: tC,
2179
2178
  __wbg_length_35a7bace40f36eac: LC,
2180
2179
  __wbg_isArray_d314bb98fcf08331: HC,
2181
2180
  __wbg_isSafeInteger_bfbc7332a9768d2a: hC,
2182
- __wbg_new_361308b2356cecd0: UC,
2181
+ __wbg_new_361308b2356cecd0: JC,
2183
2182
  __wbg_entries_58c7934c745daac7: MC,
2184
2183
  __wbg_iterator_6ff6560ca1568e55: SC,
2185
2184
  __wbg_get_b3ed3ad4be2bc8ac: kC,
@@ -2204,13 +2203,13 @@ const w = await LI({ "./polyglot_sql_wasm_bg.js": {
2204
2203
  __wbg___wbindgen_is_function_0095a73b8b156f76: vI,
2205
2204
  __wbg___wbindgen_is_undefined_9e4d92534c42d778: AC,
2206
2205
  __wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811: IC,
2207
- __wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2: lI,
2206
+ __wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2: rI,
2208
2207
  __wbg___wbindgen_debug_string_0bc8482c6e3508ae: mI,
2209
- __wbindgen_cast_0000000000000001: zC,
2210
- __wbindgen_cast_0000000000000002: fC,
2211
- __wbindgen_cast_0000000000000003: xC,
2212
- __wbindgen_cast_0000000000000004: ZC
2213
- } }, cI), uC = w.memory, bC = w.__wbg_wasmassignmentarray_free, vC = w.__wbg_wasmcasebuilder_free, XC = w.__wbg_wasmdeletebuilder_free, _C = w.__wbg_wasmexpr_free, $C = w.__wbg_wasmexprarray_free, AQ = w.__wbg_wasminsertbuilder_free, gQ = w.__wbg_wasmmergebuilder_free, IQ = w.__wbg_wasmselectbuilder_free, CQ = w.__wbg_wasmsetopbuilder_free, QQ = w.__wbg_wasmupdatebuilder_free, BQ = w.__wbg_wasmwindowdefbuilder_free, EQ = w.annotate_types, DQ = w.annotate_types_value, wQ = w.ast_add_where, MQ = w.ast_get_aggregate_functions, iQ = w.ast_get_column_names, NQ = w.ast_get_functions, oQ = w.ast_get_literals, kQ = w.ast_get_subqueries, yQ = w.ast_get_table_names, KQ = w.ast_get_window_functions, GQ = w.ast_node_count, YQ = w.ast_qualify_columns, HQ = w.ast_qualify_tables, hQ = w.ast_remove_where, SQ = w.ast_rename_columns, cQ = w.ast_rename_tables, LQ = w.ast_rename_tables_with_options, FQ = w.ast_set_distinct, UQ = w.ast_set_limit, JQ = w.diff_sql, RQ = w.format_sql, sQ = w.format_sql_value, aQ = w.format_sql_with_options, qQ = w.format_sql_with_options_value, pQ = w.generate, OQ = w.generate_value, TQ = w.get_dialects, PQ = w.get_dialects_value, dQ = w.lineage_sql, tQ = w.lineage_sql_with_schema, jQ = w.openlineage_column_lineage, zQ = w.openlineage_job_event, fQ = w.openlineage_run_event, xQ = w.parse, ZQ = w.parse_value, VQ = w.plan, WQ = w.source_tables, eQ = w.tokenize, rQ = w.tokenize_value, lQ = w.transpile, nQ = w.transpile_value, mQ = w.validate, uQ = w.validate_with_options, bQ = w.validate_with_schema, vQ = w.version, XQ = w.wasm_alias, _Q = w.wasm_and, $Q = w.wasm_boolean, AB = w.wasm_case_of, gB = w.wasm_cast, IB = w.wasm_col, CB = w.wasm_count_distinct, QB = w.wasm_extract, BB = w.wasm_func, EB = w.wasm_lit, DB = w.wasm_not, wB = w.wasm_null, MB = w.wasm_or, iB = w.wasm_sql_expr, NB = w.wasm_star, oB = w.wasm_subquery, kB = w.wasm_table, yB = w.wasmassignmentarray_len, KB = w.wasmassignmentarray_new, GB = w.wasmassignmentarray_push, YB = w.wasmcasebuilder_build_expr, HB = w.wasmcasebuilder_else_, hB = w.wasmcasebuilder_new, SB = w.wasmcasebuilder_to_sql, cB = w.wasmcasebuilder_when, LB = w.wasmdeletebuilder_build, FB = w.wasmdeletebuilder_new, UB = w.wasmdeletebuilder_to_sql, JB = w.wasmdeletebuilder_where_expr, RB = w.wasmexpr_add, sB = w.wasmexpr_alias, aB = w.wasmexpr_and, qB = w.wasmexpr_asc, pB = w.wasmexpr_between, OB = w.wasmexpr_cast, TB = w.wasmexpr_desc, PB = w.wasmexpr_div, dB = w.wasmexpr_eq, tB = w.wasmexpr_gt, jB = w.wasmexpr_gte, zB = w.wasmexpr_ilike, fB = w.wasmexpr_in_list, xB = w.wasmexpr_is_not_null, ZB = w.wasmexpr_is_null, VB = w.wasmexpr_like, WB = w.wasmexpr_lt, eB = w.wasmexpr_lte, rB = w.wasmexpr_mul, lB = w.wasmexpr_neq, nB = w.wasmexpr_not, mB = w.wasmexpr_not_in, uB = w.wasmexpr_or, bB = w.wasmexpr_rlike, vB = w.wasmexpr_sub, XB = w.wasmexpr_to_json, _B = w.wasmexpr_to_sql, $B = w.wasmexpr_xor, AE = w.wasmexprarray_len, gE = w.wasmexprarray_push, IE = w.wasmexprarray_push_col, CE = w.wasmexprarray_push_float, QE = w.wasmexprarray_push_int, BE = w.wasmexprarray_push_star, EE = w.wasmexprarray_push_str, DE = w.wasminsertbuilder_build, wE = w.wasminsertbuilder_columns, ME = w.wasminsertbuilder_new, iE = w.wasminsertbuilder_query, NE = w.wasminsertbuilder_to_sql, oE = w.wasminsertbuilder_values, kE = w.wasmmergebuilder_build, yE = w.wasmmergebuilder_new, KE = w.wasmmergebuilder_to_sql, GE = w.wasmmergebuilder_using, YE = w.wasmmergebuilder_when_matched_delete, HE = w.wasmmergebuilder_when_matched_update, hE = w.wasmmergebuilder_when_not_matched_insert, SE = w.wasmselectbuilder_build, cE = w.wasmselectbuilder_cross_join, LE = w.wasmselectbuilder_ctas, FE = w.wasmselectbuilder_ctas_sql, UE = w.wasmselectbuilder_distinct, JE = w.wasmselectbuilder_except_, RE = w.wasmselectbuilder_for_update, sE = w.wasmselectbuilder_from, aE = w.wasmselectbuilder_from_expr, qE = w.wasmselectbuilder_group_by_cols, pE = w.wasmselectbuilder_having, OE = w.wasmselectbuilder_hint, TE = w.wasmselectbuilder_intersect, PE = w.wasmselectbuilder_join, dE = w.wasmselectbuilder_lateral_view, tE = w.wasmselectbuilder_left_join, jE = w.wasmselectbuilder_limit, zE = w.wasmselectbuilder_new, fE = w.wasmselectbuilder_offset, xE = w.wasmselectbuilder_order_by_exprs, ZE = w.wasmselectbuilder_qualify, VE = w.wasmselectbuilder_right_join, WE = w.wasmselectbuilder_select_col, eE = w.wasmselectbuilder_select_expr, rE = w.wasmselectbuilder_select_exprs, lE = w.wasmselectbuilder_select_star, nE = w.wasmselectbuilder_sort_by_exprs, mE = w.wasmselectbuilder_to_sql, uE = w.wasmselectbuilder_union, bE = w.wasmselectbuilder_union_all, vE = w.wasmselectbuilder_where_expr, XE = w.wasmselectbuilder_where_sql, _E = w.wasmselectbuilder_window, $E = w.wasmsetopbuilder_build, AD = w.wasmsetopbuilder_limit, gD = w.wasmsetopbuilder_offset, ID = w.wasmsetopbuilder_order_by_exprs, CD = w.wasmsetopbuilder_to_sql, QD = w.wasmupdatebuilder_build, BD = w.wasmupdatebuilder_from, ED = w.wasmupdatebuilder_new, DD = w.wasmupdatebuilder_set, wD = w.wasmupdatebuilder_to_sql, MD = w.wasmupdatebuilder_where_expr, iD = w.wasmwindowdefbuilder_new, ND = w.wasmwindowdefbuilder_order_by, oD = w.wasmwindowdefbuilder_partition_by, kD = w.wasmexprarray_new, yD = w.__wbindgen_export, KD = w.__wbindgen_export2, GD = w.__wbindgen_export3, YD = w.__wbindgen_export4, HD = w.__wbindgen_add_to_stack_pointer, hD = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2208
+ __wbindgen_cast_0000000000000001: fC,
2209
+ __wbindgen_cast_0000000000000002: zC,
2210
+ __wbindgen_cast_0000000000000003: ZC,
2211
+ __wbindgen_cast_0000000000000004: xC
2212
+ } }, cI), uC = w.memory, bC = w.__wbg_wasmassignmentarray_free, vC = w.__wbg_wasmcasebuilder_free, XC = w.__wbg_wasmdeletebuilder_free, _C = w.__wbg_wasmexpr_free, $C = w.__wbg_wasmexprarray_free, AQ = w.__wbg_wasminsertbuilder_free, gQ = w.__wbg_wasmmergebuilder_free, IQ = w.__wbg_wasmselectbuilder_free, CQ = w.__wbg_wasmsetopbuilder_free, QQ = w.__wbg_wasmupdatebuilder_free, BQ = w.__wbg_wasmwindowdefbuilder_free, EQ = w.annotate_types, DQ = w.annotate_types_value, wQ = w.ast_add_where, MQ = w.ast_get_aggregate_functions, iQ = w.ast_get_column_names, NQ = w.ast_get_functions, oQ = w.ast_get_literals, kQ = w.ast_get_subqueries, yQ = w.ast_get_table_names, KQ = w.ast_get_window_functions, GQ = w.ast_node_count, YQ = w.ast_qualify_columns, HQ = w.ast_qualify_tables, hQ = w.ast_remove_where, SQ = w.ast_rename_columns, cQ = w.ast_rename_tables, LQ = w.ast_rename_tables_with_options, FQ = w.ast_set_distinct, JQ = w.ast_set_limit, UQ = w.diff_sql, RQ = w.format_sql, sQ = w.format_sql_value, aQ = w.format_sql_with_options, qQ = w.format_sql_with_options_value, pQ = w.generate, TQ = w.generate_value, OQ = w.get_dialects, PQ = w.get_dialects_value, tQ = w.lineage_sql, dQ = w.lineage_sql_with_schema, jQ = w.openlineage_column_lineage, fQ = w.openlineage_job_event, zQ = w.openlineage_run_event, ZQ = w.parse, xQ = w.parse_value, VQ = w.plan, WQ = w.source_tables, eQ = w.tokenize, lQ = w.tokenize_value, rQ = w.transpile, nQ = w.transpile_value, mQ = w.validate, uQ = w.validate_with_options, bQ = w.validate_with_schema, vQ = w.version, XQ = w.wasm_alias, _Q = w.wasm_and, $Q = w.wasm_boolean, AB = w.wasm_case_of, gB = w.wasm_cast, IB = w.wasm_col, CB = w.wasm_count_distinct, QB = w.wasm_extract, BB = w.wasm_func, EB = w.wasm_lit, DB = w.wasm_not, wB = w.wasm_null, MB = w.wasm_or, iB = w.wasm_sql_expr, NB = w.wasm_star, oB = w.wasm_subquery, kB = w.wasm_table, yB = w.wasmassignmentarray_len, KB = w.wasmassignmentarray_new, GB = w.wasmassignmentarray_push, YB = w.wasmcasebuilder_build_expr, HB = w.wasmcasebuilder_else_, hB = w.wasmcasebuilder_new, SB = w.wasmcasebuilder_to_sql, cB = w.wasmcasebuilder_when, LB = w.wasmdeletebuilder_build, FB = w.wasmdeletebuilder_new, JB = w.wasmdeletebuilder_to_sql, UB = w.wasmdeletebuilder_where_expr, RB = w.wasmexpr_add, sB = w.wasmexpr_alias, aB = w.wasmexpr_and, qB = w.wasmexpr_asc, pB = w.wasmexpr_between, TB = w.wasmexpr_cast, OB = w.wasmexpr_desc, PB = w.wasmexpr_div, tB = w.wasmexpr_eq, dB = w.wasmexpr_gt, jB = w.wasmexpr_gte, fB = w.wasmexpr_ilike, zB = w.wasmexpr_in_list, ZB = w.wasmexpr_is_not_null, xB = w.wasmexpr_is_null, VB = w.wasmexpr_like, WB = w.wasmexpr_lt, eB = w.wasmexpr_lte, lB = w.wasmexpr_mul, rB = w.wasmexpr_neq, nB = w.wasmexpr_not, mB = w.wasmexpr_not_in, uB = w.wasmexpr_or, bB = w.wasmexpr_rlike, vB = w.wasmexpr_sub, XB = w.wasmexpr_to_json, _B = w.wasmexpr_to_sql, $B = w.wasmexpr_xor, AE = w.wasmexprarray_len, gE = w.wasmexprarray_push, IE = w.wasmexprarray_push_col, CE = w.wasmexprarray_push_float, QE = w.wasmexprarray_push_int, BE = w.wasmexprarray_push_star, EE = w.wasmexprarray_push_str, DE = w.wasminsertbuilder_build, wE = w.wasminsertbuilder_columns, ME = w.wasminsertbuilder_new, iE = w.wasminsertbuilder_query, NE = w.wasminsertbuilder_to_sql, oE = w.wasminsertbuilder_values, kE = w.wasmmergebuilder_build, yE = w.wasmmergebuilder_new, KE = w.wasmmergebuilder_to_sql, GE = w.wasmmergebuilder_using, YE = w.wasmmergebuilder_when_matched_delete, HE = w.wasmmergebuilder_when_matched_update, hE = w.wasmmergebuilder_when_not_matched_insert, SE = w.wasmselectbuilder_build, cE = w.wasmselectbuilder_cross_join, LE = w.wasmselectbuilder_ctas, FE = w.wasmselectbuilder_ctas_sql, JE = w.wasmselectbuilder_distinct, UE = w.wasmselectbuilder_except_, RE = w.wasmselectbuilder_for_update, sE = w.wasmselectbuilder_from, aE = w.wasmselectbuilder_from_expr, qE = w.wasmselectbuilder_group_by_cols, pE = w.wasmselectbuilder_having, TE = w.wasmselectbuilder_hint, OE = w.wasmselectbuilder_intersect, PE = w.wasmselectbuilder_join, tE = w.wasmselectbuilder_lateral_view, dE = w.wasmselectbuilder_left_join, jE = w.wasmselectbuilder_limit, fE = w.wasmselectbuilder_new, zE = w.wasmselectbuilder_offset, ZE = w.wasmselectbuilder_order_by_exprs, xE = w.wasmselectbuilder_qualify, VE = w.wasmselectbuilder_right_join, WE = w.wasmselectbuilder_select_col, eE = w.wasmselectbuilder_select_expr, lE = w.wasmselectbuilder_select_exprs, rE = w.wasmselectbuilder_select_star, nE = w.wasmselectbuilder_sort_by_exprs, mE = w.wasmselectbuilder_to_sql, uE = w.wasmselectbuilder_union, bE = w.wasmselectbuilder_union_all, vE = w.wasmselectbuilder_where_expr, XE = w.wasmselectbuilder_where_sql, _E = w.wasmselectbuilder_window, $E = w.wasmsetopbuilder_build, AD = w.wasmsetopbuilder_limit, gD = w.wasmsetopbuilder_offset, ID = w.wasmsetopbuilder_order_by_exprs, CD = w.wasmsetopbuilder_to_sql, QD = w.wasmupdatebuilder_build, BD = w.wasmupdatebuilder_from, ED = w.wasmupdatebuilder_new, DD = w.wasmupdatebuilder_set, wD = w.wasmupdatebuilder_to_sql, MD = w.wasmupdatebuilder_where_expr, iD = w.wasmwindowdefbuilder_new, ND = w.wasmwindowdefbuilder_order_by, oD = w.wasmwindowdefbuilder_partition_by, kD = w.wasmexprarray_new, yD = w.__wbindgen_export, KD = w.__wbindgen_export2, GD = w.__wbindgen_export3, YD = w.__wbindgen_export4, HD = w.__wbindgen_add_to_stack_pointer, hD = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2214
2213
  __proto__: null,
2215
2214
  __wbg_wasmassignmentarray_free: bC,
2216
2215
  __wbg_wasmcasebuilder_free: vC,
@@ -2246,29 +2245,29 @@ const w = await LI({ "./polyglot_sql_wasm_bg.js": {
2246
2245
  ast_rename_tables: cQ,
2247
2246
  ast_rename_tables_with_options: LQ,
2248
2247
  ast_set_distinct: FQ,
2249
- ast_set_limit: UQ,
2250
- diff_sql: JQ,
2248
+ ast_set_limit: JQ,
2249
+ diff_sql: UQ,
2251
2250
  format_sql: RQ,
2252
2251
  format_sql_value: sQ,
2253
2252
  format_sql_with_options: aQ,
2254
2253
  format_sql_with_options_value: qQ,
2255
2254
  generate: pQ,
2256
- generate_value: OQ,
2257
- get_dialects: TQ,
2255
+ generate_value: TQ,
2256
+ get_dialects: OQ,
2258
2257
  get_dialects_value: PQ,
2259
- lineage_sql: dQ,
2260
- lineage_sql_with_schema: tQ,
2258
+ lineage_sql: tQ,
2259
+ lineage_sql_with_schema: dQ,
2261
2260
  memory: uC,
2262
2261
  openlineage_column_lineage: jQ,
2263
- openlineage_job_event: zQ,
2264
- openlineage_run_event: fQ,
2265
- parse: xQ,
2266
- parse_value: ZQ,
2262
+ openlineage_job_event: fQ,
2263
+ openlineage_run_event: zQ,
2264
+ parse: ZQ,
2265
+ parse_value: xQ,
2267
2266
  plan: VQ,
2268
2267
  source_tables: WQ,
2269
2268
  tokenize: eQ,
2270
- tokenize_value: rQ,
2271
- transpile: lQ,
2269
+ tokenize_value: lQ,
2270
+ transpile: rQ,
2272
2271
  transpile_value: nQ,
2273
2272
  validate: mQ,
2274
2273
  validate_with_options: uQ,
@@ -2301,28 +2300,28 @@ const w = await LI({ "./polyglot_sql_wasm_bg.js": {
2301
2300
  wasmcasebuilder_when: cB,
2302
2301
  wasmdeletebuilder_build: LB,
2303
2302
  wasmdeletebuilder_new: FB,
2304
- wasmdeletebuilder_to_sql: UB,
2305
- wasmdeletebuilder_where_expr: JB,
2303
+ wasmdeletebuilder_to_sql: JB,
2304
+ wasmdeletebuilder_where_expr: UB,
2306
2305
  wasmexpr_add: RB,
2307
2306
  wasmexpr_alias: sB,
2308
2307
  wasmexpr_and: aB,
2309
2308
  wasmexpr_asc: qB,
2310
2309
  wasmexpr_between: pB,
2311
- wasmexpr_cast: OB,
2312
- wasmexpr_desc: TB,
2310
+ wasmexpr_cast: TB,
2311
+ wasmexpr_desc: OB,
2313
2312
  wasmexpr_div: PB,
2314
- wasmexpr_eq: dB,
2315
- wasmexpr_gt: tB,
2313
+ wasmexpr_eq: tB,
2314
+ wasmexpr_gt: dB,
2316
2315
  wasmexpr_gte: jB,
2317
- wasmexpr_ilike: zB,
2318
- wasmexpr_in_list: fB,
2319
- wasmexpr_is_not_null: xB,
2320
- wasmexpr_is_null: ZB,
2316
+ wasmexpr_ilike: fB,
2317
+ wasmexpr_in_list: zB,
2318
+ wasmexpr_is_not_null: ZB,
2319
+ wasmexpr_is_null: xB,
2321
2320
  wasmexpr_like: VB,
2322
2321
  wasmexpr_lt: WB,
2323
2322
  wasmexpr_lte: eB,
2324
- wasmexpr_mul: rB,
2325
- wasmexpr_neq: lB,
2323
+ wasmexpr_mul: lB,
2324
+ wasmexpr_neq: rB,
2326
2325
  wasmexpr_not: nB,
2327
2326
  wasmexpr_not_in: mB,
2328
2327
  wasmexpr_or: uB,
@@ -2356,28 +2355,28 @@ const w = await LI({ "./polyglot_sql_wasm_bg.js": {
2356
2355
  wasmselectbuilder_cross_join: cE,
2357
2356
  wasmselectbuilder_ctas: LE,
2358
2357
  wasmselectbuilder_ctas_sql: FE,
2359
- wasmselectbuilder_distinct: UE,
2360
- wasmselectbuilder_except_: JE,
2358
+ wasmselectbuilder_distinct: JE,
2359
+ wasmselectbuilder_except_: UE,
2361
2360
  wasmselectbuilder_for_update: RE,
2362
2361
  wasmselectbuilder_from: sE,
2363
2362
  wasmselectbuilder_from_expr: aE,
2364
2363
  wasmselectbuilder_group_by_cols: qE,
2365
2364
  wasmselectbuilder_having: pE,
2366
- wasmselectbuilder_hint: OE,
2367
- wasmselectbuilder_intersect: TE,
2365
+ wasmselectbuilder_hint: TE,
2366
+ wasmselectbuilder_intersect: OE,
2368
2367
  wasmselectbuilder_join: PE,
2369
- wasmselectbuilder_lateral_view: dE,
2370
- wasmselectbuilder_left_join: tE,
2368
+ wasmselectbuilder_lateral_view: tE,
2369
+ wasmselectbuilder_left_join: dE,
2371
2370
  wasmselectbuilder_limit: jE,
2372
- wasmselectbuilder_new: zE,
2373
- wasmselectbuilder_offset: fE,
2374
- wasmselectbuilder_order_by_exprs: xE,
2375
- wasmselectbuilder_qualify: ZE,
2371
+ wasmselectbuilder_new: fE,
2372
+ wasmselectbuilder_offset: zE,
2373
+ wasmselectbuilder_order_by_exprs: ZE,
2374
+ wasmselectbuilder_qualify: xE,
2376
2375
  wasmselectbuilder_right_join: VE,
2377
2376
  wasmselectbuilder_select_col: WE,
2378
2377
  wasmselectbuilder_select_expr: eE,
2379
- wasmselectbuilder_select_exprs: rE,
2380
- wasmselectbuilder_select_star: lE,
2378
+ wasmselectbuilder_select_exprs: lE,
2379
+ wasmselectbuilder_select_star: rE,
2381
2380
  wasmselectbuilder_sort_by_exprs: nE,
2382
2381
  wasmselectbuilder_to_sql: mE,
2383
2382
  wasmselectbuilder_union: uE,
@@ -2407,15 +2406,15 @@ const jg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2407
2406
  WasmCaseBuilder: m,
2408
2407
  WasmDeleteBuilder: MA,
2409
2408
  WasmExpr: G,
2410
- WasmExprArray: O,
2409
+ WasmExprArray: T,
2411
2410
  WasmInsertBuilder: iA,
2412
2411
  WasmMergeBuilder: NA,
2413
- WasmSelectBuilder: d,
2414
- WasmSetOpBuilder: Z,
2412
+ WasmSelectBuilder: t,
2413
+ WasmSetOpBuilder: x,
2415
2414
  WasmUpdateBuilder: oA,
2416
2415
  WasmWindowDefBuilder: QA,
2417
2416
  annotate_types: FI,
2418
- annotate_types_value: UI,
2417
+ annotate_types_value: JI,
2419
2418
  ast_add_where: vA,
2420
2419
  ast_get_aggregate_functions: XA,
2421
2420
  ast_get_column_names: _A,
@@ -2434,35 +2433,35 @@ const jg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2434
2433
  ast_set_distinct: Ng,
2435
2434
  ast_set_limit: og,
2436
2435
  diff_sql: kg,
2437
- format_sql: JI,
2436
+ format_sql: UI,
2438
2437
  format_sql_value: RI,
2439
2438
  format_sql_with_options: sI,
2440
2439
  format_sql_with_options_value: aI,
2441
2440
  generate: qI,
2442
2441
  generate_value: pI,
2443
- get_dialects: OI,
2444
- get_dialects_value: TI,
2442
+ get_dialects: TI,
2443
+ get_dialects_value: OI,
2445
2444
  lineage_sql: yg,
2446
2445
  lineage_sql_with_schema: Kg,
2447
2446
  openlineage_column_lineage: Gg,
2448
2447
  openlineage_job_event: Yg,
2449
2448
  openlineage_run_event: Hg,
2450
2449
  parse: PI,
2451
- parse_value: dI,
2450
+ parse_value: tI,
2452
2451
  plan: hg,
2453
2452
  source_tables: Sg,
2454
- tokenize: tI,
2453
+ tokenize: dI,
2455
2454
  tokenize_value: jI,
2456
- transpile: zI,
2457
- transpile_value: fI,
2458
- validate: xI,
2459
- validate_with_options: ZI,
2455
+ transpile: fI,
2456
+ transpile_value: zI,
2457
+ validate: ZI,
2458
+ validate_with_options: xI,
2460
2459
  validate_with_schema: cg,
2461
2460
  version: VI,
2462
2461
  wasm_alias: Lg,
2463
2462
  wasm_and: Fg,
2464
- wasm_boolean: Ug,
2465
- wasm_case_of: Jg,
2463
+ wasm_boolean: Jg,
2464
+ wasm_case_of: Ug,
2466
2465
  wasm_cast: Rg,
2467
2466
  wasm_col: FA,
2468
2467
  wasm_count_distinct: sg,
@@ -2471,16 +2470,16 @@ const jg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2471
2470
  wasm_lit: kA,
2472
2471
  wasm_not: pg,
2473
2472
  wasm_null: yA,
2474
- wasm_or: Og,
2475
- wasm_sql_expr: Tg,
2473
+ wasm_or: Tg,
2474
+ wasm_sql_expr: Og,
2476
2475
  wasm_star: Pg,
2477
- wasm_subquery: dg,
2478
- wasm_table: tg
2476
+ wasm_subquery: tg,
2477
+ wasm_table: dg
2479
2478
  }, Symbol.toStringTag, { value: "Module" }));
2480
2479
  function p(g) {
2481
2480
  return Object.keys(g)[0];
2482
2481
  }
2483
- function T(g) {
2482
+ function O(g) {
2484
2483
  const A = Object.keys(g)[0];
2485
2484
  return g[A];
2486
2485
  }
@@ -2492,11 +2491,11 @@ function V(g) {
2492
2491
  const C = g[A[0]];
2493
2492
  return C === null || typeof C == "object" && !Array.isArray(C);
2494
2493
  }
2495
- function z(g, A) {
2494
+ function f(g, A) {
2496
2495
  return { [g]: A };
2497
2496
  }
2498
- function zg(g) {
2499
- const A = T(g);
2497
+ function fg(g) {
2498
+ const A = O(g);
2500
2499
  if (A && typeof A == "object" && "inferred_type" in A) {
2501
2500
  const C = A.inferred_type;
2502
2501
  if (C != null)
@@ -2506,8 +2505,8 @@ function zg(g) {
2506
2505
  function Y(g) {
2507
2506
  return (A) => g in A;
2508
2507
  }
2509
- const fg = Y("select"), SD = Y("insert"), cD = Y("update"), LD = Y("delete"), FD = Y("union"), UD = Y("intersect"), JD = Y("except"), RD = Y("subquery"), sD = Y("identifier"), xg = Y("column"), aD = Y("table"), qD = Y("star"), Zg = Y("literal"), pD = Y("boolean"), OD = Y("null"), TD = Y("and"), PD = Y("or"), dD = Y("not"), tD = Y("eq"), jD = Y("neq"), zD = Y("lt"), fD = Y("lte"), xD = Y("gt"), ZD = Y("gte"), VD = Y("like"), WD = Y("i_like"), eD = Y("add"), rD = Y("sub"), lD = Y("mul"), nD = Y("div"), mD = Y("mod"), uD = Y("concat"), bD = Y("in"), vD = Y("between"), XD = Y("is_null"), _D = Y("exists"), Vg = Y("function"), $D = Y("aggregate_function"), Aw = Y("window_function"), gw = Y("count"), Iw = Y("sum"), Cw = Y("avg"), Qw = Y("min"), Bw = Y("max"), Ew = Y("coalesce"), Dw = Y("null_if"), ww = Y("cast"), Mw = Y("try_cast"), iw = Y("safe_cast"), Nw = Y("case"), ow = Y("from"), kw = Y("join"), yw = Y("where"), Kw = Y("group_by"), Gw = Y("having"), Yw = Y("order_by"), Hw = Y("limit"), hw = Y("offset"), Sw = Y("with"), cw = Y("cte"), Lw = Y("alias"), Fw = Y("paren"), Uw = Y("ordered"), Jw = Y("create_table"), Rw = Y("drop_table"), sw = Y("alter_table"), aw = Y("create_index"), qw = Y("drop_index"), pw = Y("create_view"), Ow = Y("drop_view");
2510
- function Tw(g) {
2508
+ const zg = Y("select"), SD = Y("insert"), cD = Y("update"), LD = Y("delete"), FD = Y("union"), JD = Y("intersect"), UD = Y("except"), RD = Y("subquery"), sD = Y("identifier"), Zg = Y("column"), aD = Y("table"), qD = Y("star"), xg = Y("literal"), pD = Y("boolean"), TD = Y("null"), OD = Y("and"), PD = Y("or"), tD = Y("not"), dD = Y("eq"), jD = Y("neq"), fD = Y("lt"), zD = Y("lte"), ZD = Y("gt"), xD = Y("gte"), VD = Y("like"), WD = Y("i_like"), eD = Y("add"), lD = Y("sub"), rD = Y("mul"), nD = Y("div"), mD = Y("mod"), uD = Y("concat"), bD = Y("in"), vD = Y("between"), XD = Y("is_null"), _D = Y("exists"), Vg = Y("function"), $D = Y("aggregate_function"), Aw = Y("window_function"), gw = Y("count"), Iw = Y("sum"), Cw = Y("avg"), Qw = Y("min"), Bw = Y("max"), Ew = Y("coalesce"), Dw = Y("null_if"), ww = Y("cast"), Mw = Y("try_cast"), iw = Y("safe_cast"), Nw = Y("case"), ow = Y("from"), kw = Y("join"), yw = Y("where"), Kw = Y("group_by"), Gw = Y("having"), Yw = Y("order_by"), Hw = Y("limit"), hw = Y("offset"), Sw = Y("with"), cw = Y("cte"), Lw = Y("alias"), Fw = Y("paren"), Jw = Y("ordered"), Uw = Y("create_table"), Rw = Y("drop_table"), sw = Y("alter_table"), aw = Y("create_index"), qw = Y("drop_index"), pw = Y("create_view"), Tw = Y("drop_view");
2509
+ function Ow(g) {
2511
2510
  const A = p(g);
2512
2511
  return A === "select" || A === "insert" || A === "update" || A === "delete";
2513
2512
  }
@@ -2515,11 +2514,11 @@ function Pw(g) {
2515
2514
  const A = p(g);
2516
2515
  return A === "union" || A === "intersect" || A === "except";
2517
2516
  }
2518
- function dw(g) {
2517
+ function tw(g) {
2519
2518
  const A = p(g);
2520
2519
  return A === "eq" || A === "neq" || A === "lt" || A === "lte" || A === "gt" || A === "gte" || A === "like" || A === "i_like";
2521
2520
  }
2522
- function tw(g) {
2521
+ function dw(g) {
2523
2522
  const A = p(g);
2524
2523
  return A === "add" || A === "sub" || A === "mul" || A === "div" || A === "mod";
2525
2524
  }
@@ -2527,11 +2526,11 @@ function jw(g) {
2527
2526
  const A = p(g);
2528
2527
  return A === "and" || A === "or" || A === "not";
2529
2528
  }
2530
- function zw(g) {
2529
+ function fw(g) {
2531
2530
  const A = p(g);
2532
2531
  return A === "create_table" || A === "drop_table" || A === "alter_table" || A === "create_index" || A === "drop_index" || A === "create_view" || A === "drop_view" || A === "create_schema" || A === "drop_schema" || A === "create_database" || A === "drop_database" || A === "create_function" || A === "drop_function" || A === "create_procedure" || A === "drop_procedure" || A === "create_sequence" || A === "drop_sequence" || A === "alter_sequence" || A === "create_trigger" || A === "drop_trigger" || A === "create_type" || A === "drop_type";
2533
2532
  }
2534
- function f(g) {
2533
+ function z(g) {
2535
2534
  return JSON.stringify(g);
2536
2535
  }
2537
2536
  function e(g) {
@@ -2572,17 +2571,17 @@ function wA(g, A, C, Q, B) {
2572
2571
  return E;
2573
2572
  h !== void 0 && (E = h);
2574
2573
  }
2575
- const k = p(E), K = T(E);
2574
+ const k = p(E), K = O(E);
2576
2575
  let y;
2577
2576
  if (K == null)
2578
- y = z(k, K);
2577
+ y = f(k, K);
2579
2578
  else {
2580
2579
  const h = { ...K };
2581
2580
  for (const [R, q] of Object.entries(h)) {
2582
2581
  const P = Wg(q, A, E);
2583
2582
  P !== q && (h[R] = P);
2584
2583
  }
2585
- y = z(k, h);
2584
+ y = f(k, h);
2586
2585
  }
2587
2586
  if (A.leave) {
2588
2587
  const h = A.leave(y, C, Q, B);
@@ -2602,70 +2601,70 @@ function eg(g, A, C) {
2602
2601
  }
2603
2602
  });
2604
2603
  }
2605
- function fw(g, A, C) {
2604
+ function zw(g, A, C) {
2606
2605
  return eg(
2607
2606
  g,
2608
2607
  (Q) => p(Q) === A,
2609
2608
  typeof C == "function" ? (Q) => C(Q) : C
2610
2609
  );
2611
2610
  }
2612
- function rg(g, A) {
2611
+ function lg(g, A) {
2613
2612
  return e(
2614
- wg(f(g), JSON.stringify(A))
2613
+ wg(z(g), JSON.stringify(A))
2615
2614
  ) ?? g;
2616
2615
  }
2617
- function xw(g, A, C) {
2616
+ function Zw(g, A, C) {
2618
2617
  return e(
2619
2618
  C ? ig(
2620
- f(g),
2619
+ z(g),
2621
2620
  JSON.stringify(A),
2622
2621
  JSON.stringify(C)
2623
- ) : Mg(f(g), JSON.stringify(A))
2622
+ ) : Mg(z(g), JSON.stringify(A))
2624
2623
  ) ?? g;
2625
2624
  }
2626
- function Zw(g, A) {
2625
+ function xw(g, A) {
2627
2626
  return e(
2628
- Bg(f(g), A)
2627
+ Bg(z(g), A)
2629
2628
  ) ?? g;
2630
2629
  }
2631
2630
  function Vw(g, A = {}) {
2632
2631
  return e(
2633
- Eg(f(g), JSON.stringify(A))
2632
+ Eg(z(g), JSON.stringify(A))
2634
2633
  ) ?? g;
2635
2634
  }
2636
2635
  function Ww(g, A, C = "and") {
2637
2636
  return e(
2638
- vA(f(g), f(A), C === "or")
2637
+ vA(z(g), z(A), C === "or")
2639
2638
  ) ?? g;
2640
2639
  }
2641
2640
  function ew(g) {
2642
- return e(Dg(f(g))) ?? g;
2641
+ return e(Dg(z(g))) ?? g;
2643
2642
  }
2644
- function rw(g, ...A) {
2643
+ function lw(g, ...A) {
2645
2644
  if (p(g) !== "select")
2646
2645
  return g;
2647
- const C = T(g);
2648
- return z("select", {
2646
+ const C = O(g);
2647
+ return f("select", {
2649
2648
  ...C,
2650
2649
  expressions: [...C.expressions, ...A]
2651
2650
  });
2652
2651
  }
2653
- function lw(g, A) {
2652
+ function rw(g, A) {
2654
2653
  if (p(g) !== "select")
2655
2654
  return g;
2656
- const C = T(g);
2657
- return z("select", {
2655
+ const C = O(g);
2656
+ return f("select", {
2658
2657
  ...C,
2659
2658
  expressions: C.expressions.filter((Q) => !A(Q))
2660
2659
  });
2661
2660
  }
2662
2661
  function nw(g, A) {
2663
2662
  if (typeof A == "number")
2664
- return e(og(f(g), A)) ?? g;
2663
+ return e(og(z(g), A)) ?? g;
2665
2664
  if (p(g) !== "select")
2666
2665
  return g;
2667
- const C = T(g);
2668
- return z("select", {
2666
+ const C = O(g);
2667
+ return f("select", {
2669
2668
  ...C,
2670
2669
  limit: { this: A }
2671
2670
  });
@@ -2673,8 +2672,8 @@ function nw(g, A) {
2673
2672
  function mw(g, A) {
2674
2673
  if (p(g) !== "select")
2675
2674
  return g;
2676
- const C = T(g), Q = typeof A == "number" ? z("literal", { literal_type: "number", value: String(A) }) : A;
2677
- return z("select", {
2675
+ const C = O(g), Q = typeof A == "number" ? f("literal", { literal_type: "number", value: String(A) }) : A;
2676
+ return f("select", {
2678
2677
  ...C,
2679
2678
  offset: { this: Q }
2680
2679
  });
@@ -2682,20 +2681,20 @@ function mw(g, A) {
2682
2681
  function uw(g) {
2683
2682
  if (p(g) !== "select")
2684
2683
  return g;
2685
- const A = T(g);
2686
- return z("select", {
2684
+ const A = O(g);
2685
+ return f("select", {
2687
2686
  ...A,
2688
2687
  limit: null,
2689
2688
  offset: null
2690
2689
  });
2691
2690
  }
2692
2691
  function bw(g, A = !0) {
2693
- return e(Ng(f(g), A)) ?? g;
2692
+ return e(Ng(z(g), A)) ?? g;
2694
2693
  }
2695
2694
  function vw(g) {
2696
2695
  return GA(g, {});
2697
2696
  }
2698
- function lg(g, A, C) {
2697
+ function rg(g, A, C) {
2699
2698
  if (g == null) return g;
2700
2699
  if (Array.isArray(g))
2701
2700
  return g.length > 0 && V(g[0]) ? g.filter((Q) => !A(Q, C)).map((Q) => LA(Q, A)) : g;
@@ -2705,7 +2704,7 @@ function lg(g, A, C) {
2705
2704
  const B = { ...g };
2706
2705
  let E = !1;
2707
2706
  for (const [D, i] of Object.entries(B)) {
2708
- const k = lg(i, A, C);
2707
+ const k = rg(i, A, C);
2709
2708
  k !== i && (B[D] = k, E = !0);
2710
2709
  }
2711
2710
  return E ? B : g;
@@ -2713,14 +2712,14 @@ function lg(g, A, C) {
2713
2712
  return g;
2714
2713
  }
2715
2714
  function LA(g, A) {
2716
- const C = p(g), B = { ...T(g) };
2715
+ const C = p(g), B = { ...O(g) };
2717
2716
  for (const [E, D] of Object.entries(B)) {
2718
- const i = lg(D, A, g);
2717
+ const i = rg(D, A, g);
2719
2718
  i !== D && (B[E] = i);
2720
2719
  }
2721
- return z(C, B);
2720
+ return f(C, B);
2722
2721
  }
2723
- function r(g) {
2722
+ function l(g) {
2724
2723
  return JSON.stringify(g);
2725
2724
  }
2726
2725
  function ng(g, A, C) {
@@ -2744,7 +2743,7 @@ function ng(g, A, C) {
2744
2743
  }
2745
2744
  }
2746
2745
  function mg(g) {
2747
- const A = [], C = T(g);
2746
+ const A = [], C = O(g);
2748
2747
  if (!C || typeof C != "object") return A;
2749
2748
  for (const [Q, B] of Object.entries(C))
2750
2749
  ng(B, Q, A);
@@ -2804,31 +2803,31 @@ function gM(g) {
2804
2803
  return BA(g, "identifier");
2805
2804
  }
2806
2805
  function IM(g) {
2807
- const A = JSON.parse($A(r(g)));
2806
+ const A = JSON.parse($A(l(g)));
2808
2807
  return A.success ? JSON.parse(A.ast) : [];
2809
2808
  }
2810
2809
  function IA(g) {
2811
- const A = JSON.parse(XA(r(g)));
2810
+ const A = JSON.parse(XA(l(g)));
2812
2811
  return A.success ? JSON.parse(A.ast) : [];
2813
2812
  }
2814
2813
  function vg(g) {
2815
- const A = JSON.parse(Cg(r(g)));
2814
+ const A = JSON.parse(Cg(l(g)));
2816
2815
  return A.success ? JSON.parse(A.ast) : [];
2817
2816
  }
2818
2817
  function Xg(g) {
2819
- const A = JSON.parse(gg(r(g)));
2818
+ const A = JSON.parse(gg(l(g)));
2820
2819
  return A.success ? JSON.parse(A.ast) : [];
2821
2820
  }
2822
2821
  function CM(g) {
2823
- const A = JSON.parse(Ag(r(g)));
2822
+ const A = JSON.parse(Ag(l(g)));
2824
2823
  return A.success ? JSON.parse(A.ast) : [];
2825
2824
  }
2826
2825
  function QM(g) {
2827
- const A = JSON.parse(_A(r(g)));
2826
+ const A = JSON.parse(_A(l(g)));
2828
2827
  return A.success ? A.result : [];
2829
2828
  }
2830
2829
  function BM(g) {
2831
- const A = JSON.parse(Ig(r(g)));
2830
+ const A = JSON.parse(Ig(l(g)));
2832
2831
  return A.success ? A.result : [];
2833
2832
  }
2834
2833
  function _g(g) {
@@ -2852,7 +2851,7 @@ function wM(g) {
2852
2851
  }), A;
2853
2852
  }
2854
2853
  function MM(g) {
2855
- const A = JSON.parse(Qg(r(g)));
2854
+ const A = JSON.parse(Qg(l(g)));
2856
2855
  return A.success ? A.result : 0;
2857
2856
  }
2858
2857
  function iM(g, A) {
@@ -2898,7 +2897,7 @@ function oM(g, A) {
2898
2897
  }
2899
2898
  const kM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2900
2899
  __proto__: null,
2901
- addSelectColumns: rw,
2900
+ addSelectColumns: lw,
2902
2901
  addWhere: Ww,
2903
2902
  clone: vw,
2904
2903
  countNodes: $w,
@@ -2912,11 +2911,11 @@ const kM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2912
2911
  getColumnNames: QM,
2913
2912
  getColumns: bg,
2914
2913
  getDepth: wM,
2915
- getExprData: T,
2914
+ getExprData: O,
2916
2915
  getExprType: p,
2917
2916
  getFunctions: IM,
2918
2917
  getIdentifiers: gM,
2919
- getInferredType: zg,
2918
+ getInferredType: fg,
2920
2919
  getLiterals: CM,
2921
2920
  getNodeDepth: oM,
2922
2921
  getParent: iM,
@@ -2931,70 +2930,70 @@ const kM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2931
2930
  isAggregateFunction: $D,
2932
2931
  isAlias: Lw,
2933
2932
  isAlterTable: sw,
2934
- isAnd: TD,
2935
- isArithmetic: tw,
2933
+ isAnd: OD,
2934
+ isArithmetic: dw,
2936
2935
  isAvg: Cw,
2937
2936
  isBetween: vD,
2938
2937
  isBoolean: pD,
2939
2938
  isCase: Nw,
2940
2939
  isCast: ww,
2941
2940
  isCoalesce: Ew,
2942
- isColumn: xg,
2943
- isComparison: dw,
2941
+ isColumn: Zg,
2942
+ isComparison: tw,
2944
2943
  isConcat: uD,
2945
2944
  isCount: gw,
2946
2945
  isCreateIndex: aw,
2947
- isCreateTable: Jw,
2946
+ isCreateTable: Uw,
2948
2947
  isCreateView: pw,
2949
2948
  isCte: cw,
2950
- isDDL: zw,
2949
+ isDDL: fw,
2951
2950
  isDelete: LD,
2952
2951
  isDiv: nD,
2953
2952
  isDropIndex: qw,
2954
2953
  isDropTable: Rw,
2955
- isDropView: Ow,
2956
- isEq: tD,
2957
- isExcept: JD,
2954
+ isDropView: Tw,
2955
+ isEq: dD,
2956
+ isExcept: UD,
2958
2957
  isExists: _D,
2959
2958
  isExpressionValue: V,
2960
2959
  isFrom: ow,
2961
2960
  isFunction: Vg,
2962
2961
  isGroupBy: Kw,
2963
- isGt: xD,
2964
- isGte: ZD,
2962
+ isGt: ZD,
2963
+ isGte: xD,
2965
2964
  isHaving: Gw,
2966
2965
  isILike: WD,
2967
2966
  isIdentifier: sD,
2968
2967
  isIn: bD,
2969
2968
  isInsert: SD,
2970
- isIntersect: UD,
2969
+ isIntersect: JD,
2971
2970
  isIsNull: XD,
2972
2971
  isJoin: kw,
2973
2972
  isLike: VD,
2974
2973
  isLimit: Hw,
2975
- isLiteral: Zg,
2974
+ isLiteral: xg,
2976
2975
  isLogical: jw,
2977
- isLt: zD,
2978
- isLte: fD,
2976
+ isLt: fD,
2977
+ isLte: zD,
2979
2978
  isMax: Bw,
2980
2979
  isMin: Qw,
2981
2980
  isMod: mD,
2982
- isMul: lD,
2981
+ isMul: rD,
2983
2982
  isNeq: jD,
2984
- isNot: dD,
2983
+ isNot: tD,
2985
2984
  isNullIf: Dw,
2986
- isNullLiteral: OD,
2985
+ isNullLiteral: TD,
2987
2986
  isOffset: hw,
2988
2987
  isOr: PD,
2989
2988
  isOrderBy: Yw,
2990
- isOrdered: Uw,
2989
+ isOrdered: Jw,
2991
2990
  isParen: Fw,
2992
- isQuery: Tw,
2991
+ isQuery: Ow,
2993
2992
  isSafeCast: iw,
2994
- isSelect: fg,
2993
+ isSelect: zg,
2995
2994
  isSetOperation: Pw,
2996
2995
  isStar: qD,
2997
- isSub: rD,
2996
+ isSub: lD,
2998
2997
  isSubquery: RD,
2999
2998
  isSum: Iw,
3000
2999
  isTable: aD,
@@ -3004,17 +3003,17 @@ const kM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3004
3003
  isWhere: yw,
3005
3004
  isWindowFunction: Aw,
3006
3005
  isWith: Sw,
3007
- makeExpr: z,
3006
+ makeExpr: f,
3008
3007
  nodeCount: MM,
3009
- qualifyColumns: Zw,
3008
+ qualifyColumns: xw,
3010
3009
  qualifyTables: Vw,
3011
3010
  remove: LA,
3012
3011
  removeLimitOffset: uw,
3013
- removeSelectColumns: lw,
3012
+ removeSelectColumns: rw,
3014
3013
  removeWhere: ew,
3015
- renameColumns: rg,
3016
- renameTables: xw,
3017
- replaceByType: fw,
3014
+ renameColumns: lg,
3015
+ renameTables: Zw,
3016
+ replaceByType: zw,
3018
3017
  replaceNodes: eg,
3019
3018
  setDistinct: bw,
3020
3019
  setLimit: nw,
@@ -3026,8 +3025,8 @@ const kM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3026
3025
  function F(g) {
3027
3026
  return g instanceof S ? g._w : typeof g == "string" ? FA(g) : typeof g == "number" || typeof g == "boolean" || g === null ? kA(g) : yA();
3028
3027
  }
3029
- function t(g) {
3030
- const A = new O();
3028
+ function d(g) {
3029
+ const A = new T();
3031
3030
  for (const C of g)
3032
3031
  C instanceof S ? A.push(C._w) : typeof C == "string" ? A.push_col(C) : typeof C == "number" ? Number.isInteger(C) ? A.push_int(C) : A.push_float(C) : typeof C == "boolean" || C === null ? A.push(kA(C)) : A.push(yA());
3033
3032
  return A;
@@ -3105,10 +3104,10 @@ class S {
3105
3104
  return new S(this._w.between(F(A), F(C)));
3106
3105
  }
3107
3106
  inList(...A) {
3108
- return new S(this._w.in_list(t(A)));
3107
+ return new S(this._w.in_list(d(A)));
3109
3108
  }
3110
3109
  notIn(...A) {
3111
- return new S(this._w.not_in(t(A)));
3110
+ return new S(this._w.not_in(d(A)));
3112
3111
  }
3113
3112
  // -- Transform --
3114
3113
  alias(A) {
@@ -3148,11 +3147,11 @@ class yM {
3148
3147
  }
3149
3148
  /** Set the PARTITION BY expressions. */
3150
3149
  partitionBy(...A) {
3151
- return this._w.partition_by(t(A)), this;
3150
+ return this._w.partition_by(d(A)), this;
3152
3151
  }
3153
3152
  /** Set the ORDER BY expressions. */
3154
3153
  orderBy(...A) {
3155
- return this._w.order_by(t(A)), this;
3154
+ return this._w.order_by(d(A)), this;
3156
3155
  }
3157
3156
  /** Free the underlying WASM handle. */
3158
3157
  free() {
@@ -3171,20 +3170,20 @@ function $g() {
3171
3170
  function YM() {
3172
3171
  return new S(yA());
3173
3172
  }
3174
- function JA(g) {
3175
- return new S(Ug(g));
3173
+ function UA(g) {
3174
+ return new S(Jg(g));
3176
3175
  }
3177
3176
  function HM(g) {
3178
- return new S(tg(g));
3177
+ return new S(dg(g));
3179
3178
  }
3180
3179
  function AI(g) {
3181
- return new S(Tg(g));
3180
+ return new S(Og(g));
3182
3181
  }
3183
3182
  function hM(g) {
3184
3183
  return AI(g);
3185
3184
  }
3186
- function J(g, ...A) {
3187
- return new S(qg(g, t(A)));
3185
+ function U(g, ...A) {
3186
+ return new S(qg(g, d(A)));
3188
3187
  }
3189
3188
  function SM(g) {
3190
3189
  return new S(pg(F(g)));
@@ -3196,10 +3195,10 @@ function LM(g, A) {
3196
3195
  return new S(Lg(F(g), A));
3197
3196
  }
3198
3197
  function FM(g, A) {
3199
- return new S(dg(g._w, A));
3198
+ return new S(tg(g._w, A));
3200
3199
  }
3201
- function UM(...g) {
3202
- if (g.length === 0) return JA(!0);
3200
+ function JM(...g) {
3201
+ if (g.length === 0) return UA(!0);
3203
3202
  if (g.length === 1)
3204
3203
  return g[0] instanceof S ? g[0] : new S(F(g[0]));
3205
3204
  let A = F(g[0]);
@@ -3207,134 +3206,134 @@ function UM(...g) {
3207
3206
  A = Fg(A, F(g[C]));
3208
3207
  return new S(A);
3209
3208
  }
3210
- function JM(...g) {
3211
- if (g.length === 0) return JA(!1);
3209
+ function UM(...g) {
3210
+ if (g.length === 0) return UA(!1);
3212
3211
  if (g.length === 1)
3213
3212
  return g[0] instanceof S ? g[0] : new S(F(g[0]));
3214
3213
  let A = F(g[0]);
3215
3214
  for (let C = 1; C < g.length; C++)
3216
- A = Og(A, F(g[C]));
3215
+ A = Tg(A, F(g[C]));
3217
3216
  return new S(A);
3218
3217
  }
3219
3218
  function RM(g) {
3220
- return g !== void 0 ? J("COUNT", g) : J("COUNT", $g());
3219
+ return g !== void 0 ? U("COUNT", g) : U("COUNT", $g());
3221
3220
  }
3222
3221
  function sM(g) {
3223
3222
  return new S(sg(F(g)));
3224
3223
  }
3225
3224
  function aM(g) {
3226
- return J("SUM", g);
3225
+ return U("SUM", g);
3227
3226
  }
3228
3227
  function qM(g) {
3229
- return J("AVG", g);
3228
+ return U("AVG", g);
3230
3229
  }
3231
3230
  function pM(g) {
3232
- return J("MIN", g);
3233
- }
3234
- function OM(g) {
3235
- return J("MAX", g);
3231
+ return U("MIN", g);
3236
3232
  }
3237
3233
  function TM(g) {
3238
- return J("UPPER", g);
3234
+ return U("MAX", g);
3239
3235
  }
3240
- function PM(g) {
3241
- return J("LOWER", g);
3236
+ function OM(g) {
3237
+ return U("UPPER", g);
3242
3238
  }
3243
- function dM(g) {
3244
- return J("LENGTH", g);
3239
+ function PM(g) {
3240
+ return U("LOWER", g);
3245
3241
  }
3246
3242
  function tM(g) {
3247
- return J("TRIM", g);
3243
+ return U("LENGTH", g);
3248
3244
  }
3249
- function jM(g) {
3250
- return J("LTRIM", g);
3245
+ function dM(g) {
3246
+ return U("TRIM", g);
3251
3247
  }
3252
- function zM(g) {
3253
- return J("RTRIM", g);
3248
+ function jM(g) {
3249
+ return U("LTRIM", g);
3254
3250
  }
3255
3251
  function fM(g) {
3256
- return J("REVERSE", g);
3252
+ return U("RTRIM", g);
3257
3253
  }
3258
- function xM(g) {
3259
- return J("INITCAP", g);
3254
+ function zM(g) {
3255
+ return U("REVERSE", g);
3260
3256
  }
3261
- function ZM(g, A, C) {
3262
- return C !== void 0 ? J("SUBSTRING", g, A, C) : J("SUBSTRING", g, A);
3257
+ function ZM(g) {
3258
+ return U("INITCAP", g);
3259
+ }
3260
+ function xM(g, A, C) {
3261
+ return C !== void 0 ? U("SUBSTRING", g, A, C) : U("SUBSTRING", g, A);
3263
3262
  }
3264
3263
  function VM(g, A, C) {
3265
- return J("REPLACE", g, A, C);
3264
+ return U("REPLACE", g, A, C);
3266
3265
  }
3267
3266
  function WM(g, ...A) {
3268
- return J("CONCAT_WS", g, ...A);
3267
+ return U("CONCAT_WS", g, ...A);
3269
3268
  }
3270
3269
  function eM(...g) {
3271
- return J("COALESCE", ...g);
3272
- }
3273
- function rM(g, A) {
3274
- return J("NULLIF", g, A);
3270
+ return U("COALESCE", ...g);
3275
3271
  }
3276
3272
  function lM(g, A) {
3277
- return J("IFNULL", g, A);
3273
+ return U("NULLIF", g, A);
3274
+ }
3275
+ function rM(g, A) {
3276
+ return U("IFNULL", g, A);
3278
3277
  }
3279
3278
  function nM(g) {
3280
- return J("ABS", g);
3279
+ return U("ABS", g);
3281
3280
  }
3282
3281
  function mM(g, A) {
3283
- return A !== void 0 ? J("ROUND", g, A) : J("ROUND", g);
3282
+ return A !== void 0 ? U("ROUND", g, A) : U("ROUND", g);
3284
3283
  }
3285
3284
  function uM(g) {
3286
- return J("FLOOR", g);
3285
+ return U("FLOOR", g);
3287
3286
  }
3288
3287
  function bM(g) {
3289
- return J("CEIL", g);
3288
+ return U("CEIL", g);
3290
3289
  }
3291
3290
  function vM(g, A) {
3292
- return J("POWER", g, A);
3291
+ return U("POWER", g, A);
3293
3292
  }
3294
3293
  function XM(g) {
3295
- return J("SQRT", g);
3294
+ return U("SQRT", g);
3296
3295
  }
3297
3296
  function _M(g) {
3298
- return J("LN", g);
3297
+ return U("LN", g);
3299
3298
  }
3300
3299
  function $M(g) {
3301
- return J("EXP", g);
3300
+ return U("EXP", g);
3302
3301
  }
3303
3302
  function Ai(g) {
3304
- return J("SIGN", g);
3303
+ return U("SIGN", g);
3305
3304
  }
3306
3305
  function gi(...g) {
3307
- return J("GREATEST", ...g);
3306
+ return U("GREATEST", ...g);
3308
3307
  }
3309
3308
  function Ii(...g) {
3310
- return J("LEAST", ...g);
3309
+ return U("LEAST", ...g);
3311
3310
  }
3312
3311
  function Ci() {
3313
- return J("CURRENT_DATE");
3312
+ return U("CURRENT_DATE");
3314
3313
  }
3315
3314
  function Qi() {
3316
- return J("CURRENT_TIME");
3315
+ return U("CURRENT_TIME");
3317
3316
  }
3318
3317
  function Bi() {
3319
- return J("CURRENT_TIMESTAMP");
3318
+ return U("CURRENT_TIMESTAMP");
3320
3319
  }
3321
3320
  function Ei(g, A) {
3322
3321
  return new S(ag(g, F(A)));
3323
3322
  }
3324
3323
  function Di() {
3325
- return J("ROW_NUMBER");
3324
+ return U("ROW_NUMBER");
3326
3325
  }
3327
3326
  function wi() {
3328
- return J("RANK");
3327
+ return U("RANK");
3329
3328
  }
3330
3329
  function Mi() {
3331
- return J("DENSE_RANK");
3330
+ return U("DENSE_RANK");
3332
3331
  }
3333
3332
  class gI {
3334
3333
  /** @internal */
3335
3334
  _w;
3336
3335
  constructor() {
3337
- this._w = new d();
3336
+ this._w = new t();
3338
3337
  }
3339
3338
  /** Add columns to the SELECT list. Accepts Expr, strings (→ col), or '*'. */
3340
3339
  select(...A) {
@@ -3368,7 +3367,7 @@ class gI {
3368
3367
  }
3369
3368
  /** Set the GROUP BY clause. */
3370
3369
  groupBy(...A) {
3371
- return this._w.group_by_cols(t(A)), this;
3370
+ return this._w.group_by_cols(d(A)), this;
3372
3371
  }
3373
3372
  /** Set the HAVING clause. */
3374
3373
  having(A) {
@@ -3376,7 +3375,7 @@ class gI {
3376
3375
  }
3377
3376
  /** Set the ORDER BY clause. */
3378
3377
  orderBy(...A) {
3379
- return this._w.order_by_exprs(t(A)), this;
3378
+ return this._w.order_by_exprs(d(A)), this;
3380
3379
  }
3381
3380
  /** Set the LIMIT. */
3382
3381
  limit(A) {
@@ -3396,7 +3395,7 @@ class gI {
3396
3395
  }
3397
3396
  /** Set the SORT BY clause (Hive/Spark — sorts within each partition). */
3398
3397
  sortBy(...A) {
3399
- return this._w.sort_by_exprs(t(A)), this;
3398
+ return this._w.sort_by_exprs(d(A)), this;
3400
3399
  }
3401
3400
  /** Add a named WINDOW clause definition. */
3402
3401
  window(A, C) {
@@ -3473,7 +3472,7 @@ class II {
3473
3472
  }
3474
3473
  /** Append a row of values. Call multiple times for multiple rows. */
3475
3474
  values(...A) {
3476
- return this._w.values(t(A)), this;
3475
+ return this._w.values(d(A)), this;
3477
3476
  }
3478
3477
  /** Set the source query for INSERT ... SELECT. */
3479
3478
  query(A) {
@@ -3584,7 +3583,7 @@ class DI {
3584
3583
  }
3585
3584
  /** Add a WHEN NOT MATCHED THEN INSERT clause. */
3586
3585
  whenNotMatchedInsert(A, C) {
3587
- return this._w.when_not_matched_insert(A, t(C)), this;
3586
+ return this._w.when_not_matched_insert(A, d(C)), this;
3588
3587
  }
3589
3588
  /** Generate SQL string. Defaults to generic dialect. */
3590
3589
  toSql(A = "generic") {
@@ -3630,7 +3629,7 @@ function Ki() {
3630
3629
  return new RA(new m());
3631
3630
  }
3632
3631
  function Gi(g) {
3633
- return new RA(Jg(F(g)));
3632
+ return new RA(Ug(F(g)));
3634
3633
  }
3635
3634
  class _ {
3636
3635
  /** @internal */
@@ -3641,7 +3640,7 @@ class _ {
3641
3640
  }
3642
3641
  /** Set the ORDER BY clause. */
3643
3642
  orderBy(...A) {
3644
- return this._w.order_by_exprs(t(A)), this;
3643
+ return this._w.order_by_exprs(d(A)), this;
3645
3644
  }
3646
3645
  /** Set the LIMIT. */
3647
3646
  limit(A) {
@@ -3683,7 +3682,7 @@ function ci(g, A) {
3683
3682
  function Li(g, A) {
3684
3683
  const C = [], Q = BA(g, "star");
3685
3684
  if (Q.length > 0) {
3686
- const D = T(Q[0])?.span;
3685
+ const D = O(Q[0])?.span;
3687
3686
  C.push({
3688
3687
  message: "SELECT * is discouraged; specify columns explicitly for better performance and maintainability",
3689
3688
  severity: "warning",
@@ -3694,7 +3693,7 @@ function Li(g, A) {
3694
3693
  end: D?.end
3695
3694
  });
3696
3695
  }
3697
- const B = T(g);
3696
+ const B = O(g);
3698
3697
  if (_g(g) && !B.group_by) {
3699
3698
  const E = IA(g), D = B.expressions || [];
3700
3699
  if (D.some((k) => {
@@ -3704,7 +3703,7 @@ function Li(g, A) {
3704
3703
  const k = D.find((y) => {
3705
3704
  const h = p(y);
3706
3705
  return h === "column" || h === "identifier" ? IA(y).length === 0 : !1;
3707
- }), K = k ? T(k)?.span : void 0;
3706
+ }), K = k ? O(k)?.span : void 0;
3708
3707
  C.push({
3709
3708
  message: "Mixing aggregate functions with non-aggregated columns without GROUP BY may cause errors in strict SQL mode",
3710
3709
  severity: "warning",
@@ -3721,7 +3720,7 @@ function Li(g, A) {
3721
3720
  severity: "warning",
3722
3721
  code: "W003"
3723
3722
  }), B.limit && !B.order_by) {
3724
- const E = B.limit, D = E ? T(E)?.span : void 0;
3723
+ const E = B.limit, D = E ? O(E)?.span : void 0;
3725
3724
  C.push({
3726
3725
  message: "LIMIT without ORDER BY produces non-deterministic results",
3727
3726
  severity: "warning",
@@ -3750,7 +3749,7 @@ function Fi(g) {
3750
3749
  };
3751
3750
  }
3752
3751
  }
3753
- function Ui(g, A, C = "generic", Q = {}) {
3752
+ function Ji(g, A, C = "generic", Q = {}) {
3754
3753
  const B = Q.strict ?? A.strict ?? !0, E = {
3755
3754
  check_types: Q.checkTypes ?? !1,
3756
3755
  check_references: Q.checkReferences ?? !1,
@@ -3765,7 +3764,7 @@ function Ui(g, A, C = "generic", Q = {}) {
3765
3764
  );
3766
3765
  return Fi(D);
3767
3766
  }
3768
- const Ji = {
3767
+ const Ui = {
3769
3768
  Error: "error",
3770
3769
  Warning: "warning"
3771
3770
  }, X = jg;
@@ -3898,7 +3897,7 @@ function pA(g, A, C) {
3898
3897
  return qA("transpile", Q);
3899
3898
  }
3900
3899
  }
3901
- function OA(g, A = "generic") {
3900
+ function TA(g, A = "generic") {
3902
3901
  try {
3903
3902
  if (typeof a.parse_value == "function")
3904
3903
  return W(a.parse_value(g, A));
@@ -3908,7 +3907,7 @@ function OA(g, A = "generic") {
3908
3907
  return si("parse", C);
3909
3908
  }
3910
3909
  }
3911
- function TA(g, A = "generic") {
3910
+ function OA(g, A = "generic") {
3912
3911
  try {
3913
3912
  return typeof a.tokenize_value == "function" ? W(
3914
3913
  a.tokenize_value(g, A)
@@ -3933,10 +3932,10 @@ function PA(g, A = "generic") {
3933
3932
  return qA("generate", C);
3934
3933
  }
3935
3934
  }
3936
- function dA(g, A = "generic") {
3937
- return tA(g, A, {});
3935
+ function tA(g, A = "generic") {
3936
+ return dA(g, A, {});
3938
3937
  }
3939
- function tA(g, A = "generic", C = {}) {
3938
+ function dA(g, A = "generic", C = {}) {
3940
3939
  try {
3941
3940
  return typeof a.format_sql_with_options_value == "function" ? W(
3942
3941
  a.format_sql_with_options_value(g, A, C)
@@ -3952,10 +3951,10 @@ function tA(g, A = "generic", C = {}) {
3952
3951
  function jA() {
3953
3952
  return typeof a.get_dialects_value == "function" ? W(a.get_dialects_value()) : JSON.parse(a.get_dialects());
3954
3953
  }
3955
- function zA() {
3954
+ function fA() {
3956
3955
  return a.version();
3957
3956
  }
3958
- function fA(g, A = "generic", C) {
3957
+ function zA(g, A = "generic", C) {
3959
3958
  try {
3960
3959
  const Q = C ? JSON.stringify(C) : "";
3961
3960
  return typeof a.annotate_types_value == "function" ? W(
@@ -3998,13 +3997,13 @@ class n {
3998
3997
  * Parse SQL into an AST.
3999
3998
  */
4000
3999
  parse(A, C = "generic") {
4001
- return OA(A, C);
4000
+ return TA(A, C);
4002
4001
  }
4003
4002
  /**
4004
4003
  * Tokenize SQL into a token stream.
4005
4004
  */
4006
4005
  tokenize(A, C = "generic") {
4007
- return TA(A, C);
4006
+ return OA(A, C);
4008
4007
  }
4009
4008
  /**
4010
4009
  * Generate SQL from an AST.
@@ -4016,13 +4015,13 @@ class n {
4016
4015
  * Format SQL.
4017
4016
  */
4018
4017
  format(A, C = "generic") {
4019
- return dA(A, C);
4018
+ return tA(A, C);
4020
4019
  }
4021
4020
  /**
4022
4021
  * Format SQL with explicit guard limits.
4023
4022
  */
4024
4023
  formatWithOptions(A, C = "generic", Q = {}) {
4025
- return tA(A, C, Q);
4024
+ return dA(A, C, Q);
4026
4025
  }
4027
4026
  /**
4028
4027
  * Get supported dialects in this build.
@@ -4035,26 +4034,26 @@ class n {
4035
4034
  * Get library version.
4036
4035
  */
4037
4036
  getVersion() {
4038
- return zA();
4037
+ return fA();
4039
4038
  }
4040
4039
  /**
4041
4040
  * Parse SQL and annotate the AST with inferred type information.
4042
4041
  */
4043
4042
  annotateTypes(A, C = "generic", Q) {
4044
- return fA(A, C, Q);
4043
+ return zA(A, C, Q);
4045
4044
  }
4046
4045
  }
4047
4046
  const ai = {
4048
4047
  init: HI,
4049
4048
  isInitialized: hI,
4050
4049
  transpile: pA,
4051
- parse: OA,
4052
- tokenize: TA,
4050
+ parse: TA,
4051
+ tokenize: OA,
4053
4052
  generate: PA,
4054
- format: dA,
4055
- annotateTypes: fA,
4053
+ format: tA,
4054
+ annotateTypes: zA,
4056
4055
  getDialects: jA,
4057
- getVersion: zA,
4056
+ getVersion: fA,
4058
4057
  lineage: wI,
4059
4058
  lineageWithSchema: MI,
4060
4059
  getSourceTables: iI,
@@ -4079,15 +4078,15 @@ const ai = {
4079
4078
  SelectBuilder: gI,
4080
4079
  SetOpBuilder: _,
4081
4080
  UpdateBuilder: QI,
4082
- ValidationSeverity: Ji,
4081
+ ValidationSeverity: Ui,
4083
4082
  WindowDefBuilder: yM,
4084
4083
  abs: nM,
4085
4084
  alias: LM,
4086
- and: UM,
4087
- annotateTypes: fA,
4085
+ and: JM,
4086
+ annotateTypes: zA,
4088
4087
  ast: kM,
4089
4088
  avg: qM,
4090
- boolean: JA,
4089
+ boolean: UA,
4091
4090
  caseOf: Gi,
4092
4091
  caseWhen: Ki,
4093
4092
  cast: cM,
@@ -4112,55 +4111,55 @@ const ai = {
4112
4111
  extract: Ei,
4113
4112
  findAll: YA,
4114
4113
  floor: uM,
4115
- format: dA,
4116
- formatWithOptions: tA,
4117
- func: J,
4114
+ format: tA,
4115
+ formatWithOptions: dA,
4116
+ func: U,
4118
4117
  generate: PA,
4119
4118
  getColumns: bg,
4120
4119
  getDialects: jA,
4121
- getInferredType: zg,
4120
+ getInferredType: fg,
4122
4121
  getSourceTables: iI,
4123
- getVersion: zA,
4122
+ getVersion: fA,
4124
4123
  greatest: gi,
4125
4124
  hasChanges: KI,
4126
- ifNull: lM,
4125
+ ifNull: rM,
4127
4126
  init: HI,
4128
- initcap: xM,
4127
+ initcap: ZM,
4129
4128
  insert: Ni,
4130
4129
  insertInto: CI,
4131
4130
  intersect: hi,
4132
- isColumn: xg,
4131
+ isColumn: Zg,
4133
4132
  isFunction: Vg,
4134
4133
  isInitialized: hI,
4135
- isLiteral: Zg,
4136
- isSelect: fg,
4134
+ isLiteral: xg,
4135
+ isSelect: zg,
4137
4136
  least: Ii,
4138
- length: dM,
4137
+ length: tM,
4139
4138
  lineage: wI,
4140
4139
  lineageWithSchema: MI,
4141
4140
  lit: GM,
4142
4141
  ln: _M,
4143
4142
  lower: PM,
4144
4143
  ltrim: jM,
4145
- max: OM,
4144
+ max: TM,
4146
4145
  mergeInto: yi,
4147
4146
  min: pM,
4148
4147
  not: SM,
4149
- nullIf: rM,
4148
+ nullIf: lM,
4150
4149
  openLineageColumnLineage: NI,
4151
4150
  openLineageJobEvent: oI,
4152
4151
  openLineageRunEvent: kI,
4153
- or: JM,
4154
- parse: OA,
4152
+ or: UM,
4153
+ parse: TA,
4155
4154
  plan: YI,
4156
4155
  power: vM,
4157
4156
  rank: wi,
4158
- renameColumns: rg,
4157
+ renameColumns: lg,
4159
4158
  replace: VM,
4160
- reverse: fM,
4159
+ reverse: zM,
4161
4160
  round: mM,
4162
4161
  rowNumber: Di,
4163
- rtrim: zM,
4162
+ rtrim: fM,
4164
4163
  select: ii,
4165
4164
  sign: Ai,
4166
4165
  sqlExpr: AI,
@@ -4168,19 +4167,19 @@ const ai = {
4168
4167
  sqrt: XM,
4169
4168
  star: $g,
4170
4169
  subquery: FM,
4171
- substring: ZM,
4170
+ substring: xM,
4172
4171
  sum: aM,
4173
4172
  table: HM,
4174
- tokenize: TA,
4173
+ tokenize: OA,
4175
4174
  transform: GA,
4176
4175
  transpile: pA,
4177
- trim: tM,
4176
+ trim: dM,
4178
4177
  union: Yi,
4179
4178
  unionAll: Hi,
4180
4179
  update: oi,
4181
- upper: TM,
4180
+ upper: OM,
4182
4181
  validate: Ri,
4183
- validateWithSchema: Ui,
4182
+ validateWithSchema: Ji,
4184
4183
  walk: j
4185
4184
  }, Symbol.toStringTag, { value: "Module" }));
4186
4185
  export {
@@ -4194,14 +4193,14 @@ export {
4194
4193
  gI as SelectBuilder,
4195
4194
  _ as SetOpBuilder,
4196
4195
  QI as UpdateBuilder,
4197
- Ji as ValidationSeverity,
4196
+ Ui as ValidationSeverity,
4198
4197
  nM as abs,
4199
4198
  LM as alias,
4200
- UM as and,
4201
- fA as annotateTypes,
4199
+ JM as and,
4200
+ zA as annotateTypes,
4202
4201
  kM as ast,
4203
4202
  qM as avg,
4204
- JA as boolean,
4203
+ UA as boolean,
4205
4204
  Gi as caseOf,
4206
4205
  Ki as caseWhen,
4207
4206
  cM as cast,
@@ -4224,64 +4223,64 @@ export {
4224
4223
  Ei as extract,
4225
4224
  YA as findAll,
4226
4225
  uM as floor,
4227
- dA as format,
4228
- tA as formatWithOptions,
4229
- J as func,
4226
+ tA as format,
4227
+ dA as formatWithOptions,
4228
+ U as func,
4230
4229
  PA as generate,
4231
4230
  bg as getColumns,
4232
4231
  jA as getDialects,
4233
- zg as getInferredType,
4234
- zA as getVersion,
4232
+ fg as getInferredType,
4233
+ fA as getVersion,
4235
4234
  gi as greatest,
4236
- lM as ifNull,
4235
+ rM as ifNull,
4237
4236
  HI as init,
4238
- xM as initcap,
4237
+ ZM as initcap,
4239
4238
  Ni as insert,
4240
4239
  CI as insertInto,
4241
4240
  hi as intersect,
4242
- xg as isColumn,
4241
+ Zg as isColumn,
4243
4242
  Vg as isFunction,
4244
4243
  hI as isInitialized,
4245
- Zg as isLiteral,
4246
- fg as isSelect,
4244
+ xg as isLiteral,
4245
+ zg as isSelect,
4247
4246
  Ii as least,
4248
- dM as length,
4247
+ tM as length,
4249
4248
  GM as lit,
4250
4249
  _M as ln,
4251
4250
  PM as lower,
4252
4251
  jM as ltrim,
4253
- OM as max,
4252
+ TM as max,
4254
4253
  yi as mergeInto,
4255
4254
  pM as min,
4256
4255
  SM as not,
4257
- rM as nullIf,
4258
- JM as or,
4259
- OA as parse,
4256
+ lM as nullIf,
4257
+ UM as or,
4258
+ TA as parse,
4260
4259
  vM as power,
4261
4260
  wi as rank,
4262
- rg as renameColumns,
4261
+ lg as renameColumns,
4263
4262
  VM as replace,
4264
- fM as reverse,
4263
+ zM as reverse,
4265
4264
  mM as round,
4266
4265
  Di as rowNumber,
4267
- zM as rtrim,
4266
+ fM as rtrim,
4268
4267
  ii as select,
4269
4268
  Ai as sign,
4270
4269
  AI as sqlExpr,
4271
4270
  YM as sqlNull,
4272
4271
  XM as sqrt,
4273
4272
  $g as star,
4274
- ZM as substring,
4273
+ xM as substring,
4275
4274
  aM as sum,
4276
4275
  HM as table,
4277
4276
  GA as transform,
4278
4277
  pA as transpile,
4279
- tM as trim,
4278
+ dM as trim,
4280
4279
  Yi as union,
4281
4280
  Hi as unionAll,
4282
4281
  oi as update,
4283
- TM as upper,
4282
+ OM as upper,
4284
4283
  Ri as validate,
4285
- Ui as validateWithSchema,
4284
+ Ji as validateWithSchema,
4286
4285
  j as walk
4287
4286
  };